From 13830fe52e45aa9ff89cc218139ed3dbf701799b Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 5 Nov 2015 21:26:05 +0100 Subject: [PATCH] + fixes #0002329: remove the 2 now obsolete Pivy versions distributed with FreeCAD source code --- CMakeLists.txt | 7 - src/3rdParty/CMakeLists.txt | 31 - src/3rdParty/Pivy-0.5/AUTHORS | 3 - src/3rdParty/Pivy-0.5/CMakeLists.txt | 51 - src/3rdParty/Pivy-0.5/LICENSE | 13 - src/3rdParty/Pivy-0.5/README | 25 - src/3rdParty/Pivy-0.5/__init__.py | 31 - src/3rdParty/Pivy-0.5/coin.py | 57312 --- src/3rdParty/Pivy-0.5/coin_header_includes.h | 674 - src/3rdParty/Pivy-0.5/coin_wrap.cpp | 419615 ---------------- src/3rdParty/Pivy-0.5/gui/__init__.py | 29 - src/3rdParty/Pivy-0.5/gui/soqt.py | 2583 - src/3rdParty/Pivy-0.5/sogui.py | 207 - src/3rdParty/Pivy-0.5/soqt.py | 2583 - src/3rdParty/Pivy-0.5/soqt_wrap.cpp | 39728 -- src/3rdParty/Pivy/AUTHORS | 2 - src/3rdParty/Pivy/CMakeLists.txt | 52 - src/3rdParty/Pivy/CoinBinding.sln | 29 - src/3rdParty/Pivy/LICENSE | 13 - src/3rdParty/Pivy/README | 25 - src/3rdParty/Pivy/__init__.py | 1 - src/3rdParty/Pivy/coin.py | 48237 -- src/3rdParty/Pivy/coin_header_includes.h | 662 - src/3rdParty/Pivy/coin_wrap.cpp | 335644 ------------ src/3rdParty/Pivy/gui/__init__.py | 29 - src/3rdParty/Pivy/gui/soqt.py | 2581 - src/3rdParty/Pivy/sogui.py | 108 - src/3rdParty/Pivy/soqt_wrap.cpp | 37262 -- src/Doc/CMakeLists.txt | 7 +- 29 files changed, 1 insertion(+), 947543 deletions(-) delete mode 100644 src/3rdParty/Pivy-0.5/AUTHORS delete mode 100644 src/3rdParty/Pivy-0.5/CMakeLists.txt delete mode 100644 src/3rdParty/Pivy-0.5/LICENSE delete mode 100644 src/3rdParty/Pivy-0.5/README delete mode 100644 src/3rdParty/Pivy-0.5/__init__.py delete mode 100644 src/3rdParty/Pivy-0.5/coin.py delete mode 100644 src/3rdParty/Pivy-0.5/coin_header_includes.h delete mode 100644 src/3rdParty/Pivy-0.5/coin_wrap.cpp delete mode 100644 src/3rdParty/Pivy-0.5/gui/__init__.py delete mode 100644 src/3rdParty/Pivy-0.5/gui/soqt.py delete mode 100644 src/3rdParty/Pivy-0.5/sogui.py delete mode 100644 src/3rdParty/Pivy-0.5/soqt.py delete mode 100644 src/3rdParty/Pivy-0.5/soqt_wrap.cpp delete mode 100644 src/3rdParty/Pivy/AUTHORS delete mode 100644 src/3rdParty/Pivy/CMakeLists.txt delete mode 100644 src/3rdParty/Pivy/CoinBinding.sln delete mode 100644 src/3rdParty/Pivy/LICENSE delete mode 100644 src/3rdParty/Pivy/README delete mode 100644 src/3rdParty/Pivy/__init__.py delete mode 100644 src/3rdParty/Pivy/coin.py delete mode 100644 src/3rdParty/Pivy/coin_header_includes.h delete mode 100644 src/3rdParty/Pivy/coin_wrap.cpp delete mode 100644 src/3rdParty/Pivy/gui/__init__.py delete mode 100644 src/3rdParty/Pivy/gui/soqt.py delete mode 100644 src/3rdParty/Pivy/sogui.py delete mode 100644 src/3rdParty/Pivy/soqt_wrap.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b97873934..b8dfbba91a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,6 @@ endif(MSVC) OPTION(BUILD_GUI "Build FreeCAD Gui. Otherwise you have only the command line and the Python import module." ON) OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is build." OFF) OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF) -OPTION(FREECAD_USE_EXTERNAL_PIVY "Use system installed python-pivy instead of the bundled." ON) OPTION(FREECAD_USE_EXTERNAL_SMESH "Use system installed smesh instead of the bundled." OFF) OPTION(FREECAD_USE_EXTERNAL_KDL "Use system installed orocos-kdl instead of the bundled." OFF) OPTION(FREECAD_USE_FREETYPE "Builds the features using FreeType libs" ON) @@ -200,7 +199,6 @@ endif(NOT MSVC) # if this is set override some options if (FREECAD_BUILD_DEBIAN) set(FREECAD_USE_EXTERNAL_ZIPIOS ON) - set(FREECAD_USE_EXTERNAL_PIVY ON) # A Debian package for SMESH doesn't exist #set(FREECAD_USE_EXTERNAL_SMESH ON) endif (FREECAD_BUILD_DEBIAN) @@ -381,7 +379,6 @@ if(FREECAD_LIBPACK_USE) set(FREECAD_LIBPACK_VERSION "9.x" CACHE STRING "Displays if the libpack has been found" FORCE) include(cMake/UseLibPack9x.cmake) set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/tools/swigwin-2.0.11/swig.exe CACHE STRING "Swig" FORCE) - set(FREECAD_USE_EXTERNAL_PIVY ON CACHE BOOL "Switch off local pivy" FORCE) set(FREECAD_LIBPACK_PYSIDEUIC_REL "${FREECAD_LIBPACK_DIR}/pyside-tools/Lib/site-packages") file(GLOB FREECAD_LIBPACK_PIVY_COIN "${FREECAD_LIBPACK_DIR}/pivy/*.*") file(GLOB FREECAD_LIBPACK_SHIBOKEN "${FREECAD_LIBPACK_DIR}/shiboken-1.2.1/lib/site-packages/*.pyd") @@ -971,10 +968,6 @@ if(FREECAD_MAINTAINERS_BUILD AND NOT WIN32) "tar.gz" "~$" ) - #set(CPACK_SOURCE_IGNORE_FILES - # ${CPACK_SOURCE_IGNORE_FILES} - # "/Pivy-0.5/" - #) set(CPACK_SOURCE_STRIP_FILES "") include(CPack) diff --git a/src/3rdParty/CMakeLists.txt b/src/3rdParty/CMakeLists.txt index f57595a4cb..2a6265b4c0 100644 --- a/src/3rdParty/CMakeLists.txt +++ b/src/3rdParty/CMakeLists.txt @@ -3,39 +3,8 @@ if(BUILD_CAM) add_subdirectory(ANN) endif(BUILD_CAM) -if(BUILD_GUI AND NOT FREECAD_USE_EXTERNAL_PIVY) - if(FREECAD_LIBPACK_CHECKFILE6X) - add_subdirectory(Pivy) - elseif(FREECAD_LIBPACK_CHECKFILE7X) - add_subdirectory(Pivy-0.5) -#elseif(BUILD_GUI AND FREECAD_LIBPACK_CHECKCUSTOM) -# find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR}) -# if (COIN_VERSION3) -# add_subdirectory(Pivy-0.5) -# else (COIN_VERSION3) -# add_subdirectory(Pivy) -# endif(COIN_VERSION3) -#endif(BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE6X) -#if (MINGW) -# add_subdirectory(Pivy) -#endif(MINGW) -# applies for Unix, MinGW and Windows with custom LibPack - else(FREECAD_LIBPACK_CHECKFILE6X) - find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR}) - if (COIN_VERSION3) - if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy-0.5) - add_subdirectory(Pivy-0.5) - endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy-0.5) - else (COIN_VERSION3) - if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy) - add_subdirectory(Pivy) - endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Pivy) - endif(COIN_VERSION3) - endif (FREECAD_LIBPACK_CHECKFILE6X) -endif(BUILD_GUI AND NOT FREECAD_USE_EXTERNAL_PIVY) # Build SalomeMesh for all Platforms since heavily patched if (BUILD_SMESH AND NOT FREECAD_USE_EXTERNAL_SMESH) add_subdirectory(salomesmesh) endif() - diff --git a/src/3rdParty/Pivy-0.5/AUTHORS b/src/3rdParty/Pivy-0.5/AUTHORS deleted file mode 100644 index 11e077a8ba..0000000000 --- a/src/3rdParty/Pivy-0.5/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -Tamer Fahmy -John Kenneth Grytten -Gerhard Reitmayr diff --git a/src/3rdParty/Pivy-0.5/CMakeLists.txt b/src/3rdParty/Pivy-0.5/CMakeLists.txt deleted file mode 100644 index b580b10de7..0000000000 --- a/src/3rdParty/Pivy-0.5/CMakeLists.txt +++ /dev/null @@ -1,51 +0,0 @@ -add_definitions(-DCOIN_DLL) - -include_directories( - ../include - ${COIN3D_INCLUDE_DIR} - ${PYTHON_INCLUDE_PATH} - ${QT_INCLUDE_DIR} -) - -########################### CoinPy ########################### - -if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") -endif(MSVC) - -set(CoinPy_SRCS - coin_wrap.cpp - coin_header_includes.h -) - -if(MSVC) - set(CoinPy_LIBS - debug MSVCRTD.LIB - debug MSVCPRTD.LIB - optimized MSVCRT.LIB - optimized MSVCPRT.LIB - Rpcrt4.lib - debug ${COIN3D_LIBRARY_DEBUG} - optimized ${COIN3D_LIBRARY_RELEASE} - ${PYTHON_LIBRARY}) -else(MSVC) - set(CoinPy_LIBS - ${COIN3D_LIBRARY} - ${PYTHON_LIBRARY}) -endif(MSVC) - -add_library(coin SHARED ${CoinPy_SRCS}) - -target_link_libraries(coin ${CoinPy_LIBS}) - -SET_BIN_DIR(coin _coin /bin/pivy) -SET_PYTHON_PREFIX_SUFFIX(coin) - -fc_copy_sources(coin "${CMAKE_BINARY_DIR}/bin/pivy" - __init__.py - coin.py - sogui.py -) - -install(TARGETS coin DESTINATION bin/pivy) -install(FILES __init__.py coin.py sogui.py DESTINATION bin/pivy) diff --git a/src/3rdParty/Pivy-0.5/LICENSE b/src/3rdParty/Pivy-0.5/LICENSE deleted file mode 100644 index 6b31b4be13..0000000000 --- a/src/3rdParty/Pivy-0.5/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2002-2007 Systems in Motion - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/src/3rdParty/Pivy-0.5/README b/src/3rdParty/Pivy-0.5/README deleted file mode 100644 index 2e858b0edc..0000000000 --- a/src/3rdParty/Pivy-0.5/README +++ /dev/null @@ -1,25 +0,0 @@ -General build instructions: ---------------------------- - -Pivy uses distutils[0]. To build Pivy, run - - $ python setup.py build - $ python setup.py install - -Reporting bugs: --------------- - -Please submit bug reports, feature requests, etc. to the Pivy -issue tracker[1]. - -Contact: --------- - -If you have any questions regarding Pivy or simply want to discuss -with other Pivy users, you can do so at the general coin-discuss -mailinglist[2]. - - -[0] http://www.python.org/sigs/distutils-sig/ -[1] http://issue.coin3d.org/pivy/ -[2] https://www.coin3d.org/mailman/listinfo/coin-discuss/ diff --git a/src/3rdParty/Pivy-0.5/__init__.py b/src/3rdParty/Pivy-0.5/__init__.py deleted file mode 100644 index b3251ff712..0000000000 --- a/src/3rdParty/Pivy-0.5/__init__.py +++ /dev/null @@ -1,31 +0,0 @@ -### -# Copyright (c) 2002-2008 Kongsberg SIM -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - - -__all__ = ['coin'] - -# set dynamic link flags for global to allow Coin to use dynamic loading -try: - import sys, dl - sys.setdlopenflags(dl.RTLD_GLOBAL | sys.getdlopenflags()) -except Exception, e: - None - -# initialize the Coin system -from coin import SoDB, SoNodeKit, SoInteraction -SoDB.init() -SoNodeKit.init() -SoInteraction.init() diff --git a/src/3rdParty/Pivy-0.5/coin.py b/src/3rdParty/Pivy-0.5/coin.py deleted file mode 100644 index f19ad820e6..0000000000 --- a/src/3rdParty/Pivy-0.5/coin.py +++ /dev/null @@ -1,57312 +0,0 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.36 -# -# Don't modify this file, modify the SWIG interface instead. - -""" -Pivy is a Coin binding for Python. Coin is a high-level 3D graphics -library with a C++ Application Programming Interface. Coin uses -scene-graph data structures to render real-time graphics suitable for -mostly all kinds of scientific and engineering visualization -applications. -""" - -import _coin -import new -new_instancemethod = new.instancemethod -try: - _swig_property = property -except NameError: - pass # Python < 2.2 doesn't have 'property'. -def _swig_setattr_nondynamic(self,class_type,name,value,static=1): - if (name == "thisown"): return self.this.own(value) - if (name == "this"): - if type(value).__name__ == 'PySwigObject': - self.__dict__[name] = value - return - method = class_type.__swig_setmethods__.get(name,None) - if method: return method(self,value) - if (not static) or hasattr(self,name): - self.__dict__[name] = value - else: - raise AttributeError("You cannot add attributes to %s" % self) - -def _swig_setattr(self,class_type,name,value): - return _swig_setattr_nondynamic(self,class_type,name,value,0) - -def _swig_getattr(self,class_type,name): - if (name == "thisown"): return self.this.own() - method = class_type.__swig_getmethods__.get(name,None) - if method: return method(self) - raise AttributeError,name - -def _swig_repr(self): - try: strthis = "proxy of " + self.this.__repr__() - except: strthis = "" - return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) - -import types -try: - _object = types.ObjectType - _newclass = 1 -except AttributeError: - class _object : pass - _newclass = 0 -del types - - -def _swig_setattr_nondynamic_method(set): - def set_attr(self,name,value): - if (name == "thisown"): return self.this.own(value) - if hasattr(self,name) or (name == "this"): - set(self,name,value) - else: - raise AttributeError("You cannot add attributes to %s" % self) - return set_attr - - -class charp(object): - """Proxy of C++ charp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> charp""" - this = _coin.new_charp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_charp - __del__ = lambda self : None; - def assign(*args): - """assign(self, char value)""" - return _coin.charp_assign(*args) - - def value(*args): - """value(self) -> char""" - return _coin.charp_value(*args) - - def cast(*args): - """cast(self) -> char""" - return _coin.charp_cast(*args) - - def frompointer(*args): - """frompointer(char t) -> charp""" - return _coin.charp_frompointer(*args) - - frompointer = staticmethod(frompointer) -charp_swigregister = _coin.charp_swigregister -charp_swigregister(charp) -cast = _coin.cast - -def charp_frompointer(*args): - """charp_frompointer(char t) -> charp""" - return _coin.charp_frompointer(*args) - -class intp(object): - """Proxy of C++ intp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> intp""" - this = _coin.new_intp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_intp - __del__ = lambda self : None; - def assign(*args): - """assign(self, int value)""" - return _coin.intp_assign(*args) - - def value(*args): - """value(self) -> int""" - return _coin.intp_value(*args) - - def cast(*args): - """cast(self) -> int""" - return _coin.intp_cast(*args) - - def frompointer(*args): - """frompointer(int t) -> intp""" - return _coin.intp_frompointer(*args) - - frompointer = staticmethod(frompointer) -intp_swigregister = _coin.intp_swigregister -intp_swigregister(intp) - -def intp_frompointer(*args): - """intp_frompointer(int t) -> intp""" - return _coin.intp_frompointer(*args) - -class longp(object): - """Proxy of C++ longp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> longp""" - this = _coin.new_longp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_longp - __del__ = lambda self : None; - def assign(*args): - """assign(self, long value)""" - return _coin.longp_assign(*args) - - def value(*args): - """value(self) -> long""" - return _coin.longp_value(*args) - - def cast(*args): - """cast(self) -> long""" - return _coin.longp_cast(*args) - - def frompointer(*args): - """frompointer(long t) -> longp""" - return _coin.longp_frompointer(*args) - - frompointer = staticmethod(frompointer) -longp_swigregister = _coin.longp_swigregister -longp_swigregister(longp) - -def longp_frompointer(*args): - """longp_frompointer(long t) -> longp""" - return _coin.longp_frompointer(*args) - -class floatp(object): - """Proxy of C++ floatp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> floatp""" - this = _coin.new_floatp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_floatp - __del__ = lambda self : None; - def assign(*args): - """assign(self, float value)""" - return _coin.floatp_assign(*args) - - def value(*args): - """value(self) -> float""" - return _coin.floatp_value(*args) - - def cast(*args): - """cast(self) -> float""" - return _coin.floatp_cast(*args) - - def frompointer(*args): - """frompointer(float t) -> floatp""" - return _coin.floatp_frompointer(*args) - - frompointer = staticmethod(frompointer) -floatp_swigregister = _coin.floatp_swigregister -floatp_swigregister(floatp) - -def floatp_frompointer(*args): - """floatp_frompointer(float t) -> floatp""" - return _coin.floatp_frompointer(*args) - -class doublep(object): - """Proxy of C++ doublep class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> doublep""" - this = _coin.new_doublep(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_doublep - __del__ = lambda self : None; - def assign(*args): - """assign(self, double value)""" - return _coin.doublep_assign(*args) - - def value(*args): - """value(self) -> double""" - return _coin.doublep_value(*args) - - def cast(*args): - """cast(self) -> double""" - return _coin.doublep_cast(*args) - - def frompointer(*args): - """frompointer(double t) -> doublep""" - return _coin.doublep_frompointer(*args) - - frompointer = staticmethod(frompointer) -doublep_swigregister = _coin.doublep_swigregister -doublep_swigregister(doublep) - -def doublep_frompointer(*args): - """doublep_frompointer(double t) -> doublep""" - return _coin.doublep_frompointer(*args) - -FALSE = _coin.FALSE -TRUE = _coin.TRUE -HAVE_INTTYPES_H = _coin.HAVE_INTTYPES_H -HAVE_STDINT_H = _coin.HAVE_STDINT_H -HAVE_SYS_TYPES_H = _coin.HAVE_SYS_TYPES_H -HAVE_STDDEF_H = _coin.HAVE_STDDEF_H -HAVE_INT8_T = _coin.HAVE_INT8_T -HAVE_UINT8_T = _coin.HAVE_UINT8_T -HAVE_INT16_T = _coin.HAVE_INT16_T -HAVE_UINT16_T = _coin.HAVE_UINT16_T -HAVE_INT32_T = _coin.HAVE_INT32_T -HAVE_UINT32_T = _coin.HAVE_UINT32_T -HAVE_INT64_T = _coin.HAVE_INT64_T -HAVE_UINT64_T = _coin.HAVE_UINT64_T -HAVE_INTPTR_T = _coin.HAVE_INTPTR_T -HAVE_UINTPTR_T = _coin.HAVE_UINTPTR_T -M_E = _coin.M_E -M_LOG2E = _coin.M_LOG2E -M_LOG10E = _coin.M_LOG10E -M_LN2 = _coin.M_LN2 -M_LN10 = _coin.M_LN10 -M_PI = _coin.M_PI -M_TWOPI = _coin.M_TWOPI -M_PI_2 = _coin.M_PI_2 -M_PI_4 = _coin.M_PI_4 -M_3PI_4 = _coin.M_3PI_4 -M_SQRTPI = _coin.M_SQRTPI -M_1_PI = _coin.M_1_PI -M_2_PI = _coin.M_2_PI -M_2_SQRTPI = _coin.M_2_SQRTPI -M_SQRT2 = _coin.M_SQRT2 -M_SQRT1_2 = _coin.M_SQRT1_2 -M_LN2LO = _coin.M_LN2LO -M_LN2HI = _coin.M_LN2HI -M_SQRT3 = _coin.M_SQRT3 -M_IVLN10 = _coin.M_IVLN10 -M_LOG2_E = _coin.M_LOG2_E -M_INVLN2 = _coin.M_INVLN2 -COIN_MAJOR_VERSION = _coin.COIN_MAJOR_VERSION -COIN_MINOR_VERSION = _coin.COIN_MINOR_VERSION -COIN_MICRO_VERSION = _coin.COIN_MICRO_VERSION -COIN_VERSION = _coin.COIN_VERSION -HAVE_HASH_QUOTING = _coin.HAVE_HASH_QUOTING -SUN_CC_4_0_SOTYPE_INIT_BUG = _coin.SUN_CC_4_0_SOTYPE_INIT_BUG -class SbDict(object): - """Proxy of C++ SbDict class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int entries=251) -> SbDict - __init__(self) -> SbDict - __init__(self, SbDict from) -> SbDict - """ - this = _coin.new_SbDict(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDict - __del__ = lambda self : None; - def applyToAll(*args): - """ - applyToAll(self, rtn) - applyToAll(self, rtn, void data) - """ - return _coin.SbDict_applyToAll(*args) - - def clear(*args): - """clear(self)""" - return _coin.SbDict_clear(*args) - - def enter(*args): - """enter(self, Key key, void value) -> SbBool""" - return _coin.SbDict_enter(*args) - - def find(*args): - """find(self, Key key, void value) -> SbBool""" - return _coin.SbDict_find(*args) - - def makePList(*args): - """makePList(self, SbPList keys, SbPList values)""" - return _coin.SbDict_makePList(*args) - - def remove(*args): - """remove(self, Key key) -> SbBool""" - return _coin.SbDict_remove(*args) - - def setHashingFunction(*args): - """setHashingFunction(self, func)""" - return _coin.SbDict_setHashingFunction(*args) - -SbDict_swigregister = _coin.SbDict_swigregister -SbDict_swigregister(SbDict) - -class SoType(object): - """Proxy of C++ SoType class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def fromName(*args): - """fromName(SbName name) -> SoType""" - return _coin.SoType_fromName(*args) - - fromName = staticmethod(fromName) - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoType_getName(*args) - - def getParent(*args): - """getParent(self) -> SoType""" - return _coin.SoType_getParent(*args) - - def isDerivedFrom(*args): - """isDerivedFrom(self, SoType type) -> SbBool""" - return _coin.SoType_isDerivedFrom(*args) - - def getAllDerivedFrom(*args): - """getAllDerivedFrom(SoType type, SoTypeList list) -> int""" - return _coin.SoType_getAllDerivedFrom(*args) - - getAllDerivedFrom = staticmethod(getAllDerivedFrom) - def canCreateInstance(*args): - """canCreateInstance(self) -> SbBool""" - return _coin.SoType_canCreateInstance(*args) - - def getData(*args): - """getData(self) -> uint16_t""" - return _coin.SoType_getData(*args) - - def getKey(*args): - """getKey(self) -> int16_t""" - return _coin.SoType_getKey(*args) - - def __eq__(*args): - """__eq__(self, SoType type) -> SbBool""" - return _coin.SoType___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoType type) -> SbBool""" - return _coin.SoType___ne__(*args) - - def __lt__(*args): - """__lt__(self, SoType type) -> SbBool""" - return _coin.SoType___lt__(*args) - - def __le__(*args): - """__le__(self, SoType type) -> SbBool""" - return _coin.SoType___le__(*args) - - def __ge__(*args): - """__ge__(self, SoType type) -> SbBool""" - return _coin.SoType___ge__(*args) - - def __gt__(*args): - """__gt__(self, SoType type) -> SbBool""" - return _coin.SoType___gt__(*args) - - def removeType(*args): - """removeType(SbName name) -> SbBool""" - return _coin.SoType_removeType(*args) - - removeType = staticmethod(removeType) - def init(*args): - """init()""" - return _coin.SoType_init(*args) - - init = staticmethod(init) - def fromKey(*args): - """fromKey(uint16_t key) -> SoType""" - return _coin.SoType_fromKey(*args) - - fromKey = staticmethod(fromKey) - def badType(*args): - """badType() -> SoType""" - return _coin.SoType_badType(*args) - - badType = staticmethod(badType) - def isBad(*args): - """isBad(self) -> SbBool""" - return _coin.SoType_isBad(*args) - - def makeInternal(*args): - """makeInternal(self)""" - return _coin.SoType_makeInternal(*args) - - def isInternal(*args): - """isInternal(self) -> SbBool""" - return _coin.SoType_isInternal(*args) - - def getNumTypes(*args): - """getNumTypes() -> int""" - return _coin.SoType_getNumTypes(*args) - - getNumTypes = staticmethod(getNumTypes) - def getInstantiationMethod(*args): - """getInstantiationMethod(self) -> instantiationMethod""" - return _coin.SoType_getInstantiationMethod(*args) - - def createInstance(*args): - """createInstance(self) -> PyObject""" - return _coin.SoType_createInstance(*args) - - def __init__(self, *args): - """__init__(self) -> SoType""" - this = _coin.new_SoType(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoType - __del__ = lambda self : None; -SoType_swigregister = _coin.SoType_swigregister -SoType_swigregister(SoType) - -def SoType_fromName(*args): - """SoType_fromName(SbName name) -> SoType""" - return _coin.SoType_fromName(*args) - -def SoType_getAllDerivedFrom(*args): - """SoType_getAllDerivedFrom(SoType type, SoTypeList list) -> int""" - return _coin.SoType_getAllDerivedFrom(*args) - -def SoType_removeType(*args): - """SoType_removeType(SbName name) -> SbBool""" - return _coin.SoType_removeType(*args) - -def SoType_init(*args): - """SoType_init()""" - return _coin.SoType_init(*args) - -def SoType_fromKey(*args): - """SoType_fromKey(uint16_t key) -> SoType""" - return _coin.SoType_fromKey(*args) - -def SoType_badType(*args): - """SoType_badType() -> SoType""" - return _coin.SoType_badType(*args) - -def SoType_getNumTypes(*args): - """SoType_getNumTypes() -> int""" - return _coin.SoType_getNumTypes(*args) - -class SbPList(object): - """Proxy of C++ SbPList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int sizehint=) -> SbPList - __init__(self) -> SbPList - __init__(self, SbPList l) -> SbPList - """ - this = _coin.new_SbPList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbPList - __del__ = lambda self : None; - def copy(*args): - """copy(self, SbPList l)""" - return _coin.SbPList_copy(*args) - - def fit(*args): - """fit(self)""" - return _coin.SbPList_fit(*args) - - def append(*args): - """append(self, void item)""" - return _coin.SbPList_append(*args) - - def find(*args): - """find(self, void item) -> int""" - return _coin.SbPList_find(*args) - - def insert(*args): - """insert(self, void item, int insertbefore)""" - return _coin.SbPList_insert(*args) - - def removeItem(*args): - """removeItem(self, void item)""" - return _coin.SbPList_removeItem(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SbPList_remove(*args) - - def removeFast(*args): - """removeFast(self, int index)""" - return _coin.SbPList_removeFast(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbPList_getLength(*args) - - def truncate(*args): - """ - truncate(self, int length, int fit=0) - truncate(self, int length) - """ - return _coin.SbPList_truncate(*args) - - def getArrayPtr(*args): - """ - getArrayPtr(self, int start=0) - getArrayPtr(self) -> void - """ - return _coin.SbPList_getArrayPtr(*args) - - def __eq__(*args): - """__eq__(self, SbPList l) -> int""" - return _coin.SbPList___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbPList l) -> int""" - return _coin.SbPList___ne__(*args) - - def get(*args): - """get(self, int index) -> void""" - return _coin.SbPList_get(*args) - - def set(*args): - """set(self, int index, void item)""" - return _coin.SbPList_set(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> void""" - return _coin.SbPList___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, void val)""" - return _coin.SbPList___setitem__(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self[i] - -SbPList_swigregister = _coin.SbPList_swigregister -SbPList_swigregister(SbPList) - -class SbIntList(SbPList): - """Proxy of C++ SbIntList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbIntList - __init__(self, int sizehint) -> SbIntList - """ - this = _coin.new_SbIntList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, int item)""" - return _coin.SbIntList_append(*args) - - def find(*args): - """find(self, int item) -> int""" - return _coin.SbIntList_find(*args) - - def insert(*args): - """insert(self, int item, int addbefore)""" - return _coin.SbIntList_insert(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int value)""" - return _coin.SbIntList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> int""" - return _coin.SbIntList___getitem__(*args) - - def get(*args): - """get(self, int i) -> int""" - return _coin.SbIntList_get(*args) - - __swig_destroy__ = _coin.delete_SbIntList - __del__ = lambda self : None; -SbIntList_swigregister = _coin.SbIntList_swigregister -SbIntList_swigregister(SbIntList) - -class SbString(object): - """Proxy of C++ SbString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - """ - __init__(self) -> SbString - __init__(self, char s) -> SbString - __init__(self, char s, int start, int end) -> SbString - __init__(self, SbString s) -> SbString - __init__(self, int digits) -> SbString - """ - this = _coin.new_SbString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbString - __del__ = lambda self : None; - def hash(*args): - """ - hash() -> uint32_t - hash(char s) -> uint32_t - """ - return _coin.SbString_hash(*args) - - hash = staticmethod(hash) - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbString_getLength(*args) - - def makeEmpty(*args): - """ - makeEmpty(self, SbBool freeold=1) - makeEmpty(self) - """ - return _coin.SbString_makeEmpty(*args) - - def getString(*args): - """getString(self) -> char""" - return _coin.SbString_getString(*args) - - def getSubString(*args): - """ - getSubString(self, int startidx, int endidx=-1) -> SbString - getSubString(self, int startidx) -> SbString - """ - return _coin.SbString_getSubString(*args) - - def deleteSubString(*args): - """ - deleteSubString(self, int startidx, int endidx=-1) - deleteSubString(self, int startidx) - """ - return _coin.SbString_deleteSubString(*args) - - def addIntString(*args): - """addIntString(self, int value)""" - return _coin.SbString_addIntString(*args) - - def __iadd__(*args): - """ - __iadd__(self, char s) -> SbString - __iadd__(self, SbString s) -> SbString - __iadd__(self, char c) -> SbString - """ - return _coin.SbString___iadd__(*args) - - def compareSubString(*args): - """ - compareSubString(self, char text, int offset=0) -> int - compareSubString(self, char text) -> int - """ - return _coin.SbString_compareSubString(*args) - - def sprintf(*args): - """sprintf(self, char formatstr, v(...) ?) -> SbString""" - return _coin.SbString_sprintf(*args) - - def apply(*args): - """apply(self, char func)""" - return _coin.SbString_apply(*args) - - def find(*args): - """find(self, SbString s) -> int""" - return _coin.SbString_find(*args) - - def findAll(*args): - """findAll(self, SbString s, SbIntList found) -> SbBool""" - return _coin.SbString_findAll(*args) - - def lower(*args): - """lower(self) -> SbString""" - return _coin.SbString_lower(*args) - - def upper(*args): - """upper(self) -> SbString""" - return _coin.SbString_upper(*args) - - def __eq__(*args): - """ - __eq__(self, SbString u) -> int - __eq__(self, char u) -> int - """ - return _coin.SbString___eq__(*args) - - def __nq__(*args): - """ - __nq__(self, SbString u) -> int - __nq__(self, char u) -> int - """ - return _coin.SbString___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> char""" - return _coin.SbString___getitem__(*args) - - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): - """__repr__(self, void ?) -> char""" - return _coin.SbString___repr__(*args) - -SbString_swigregister = _coin.SbString_swigregister -SbString_swigregister(SbString) - -def SbString_hash(*args): - """ - hash() -> uint32_t - SbString_hash(char s) -> uint32_t - """ - return _coin.SbString_hash(*args) - -class SbName(object): - """Proxy of C++ SbName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - """ - __init__(self) -> SbName - __init__(self, char namestring) -> SbName - __init__(self, SbString str) -> SbName - __init__(self, SbName name) -> SbName - """ - this = _coin.new_SbName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbName - __del__ = lambda self : None; - def getString(*args): - """getString(self) -> char""" - return _coin.SbName_getString(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbName_getLength(*args) - - def isIdentStartChar(*args): - """isIdentStartChar(char c) -> SbBool""" - return _coin.SbName_isIdentStartChar(*args) - - isIdentStartChar = staticmethod(isIdentStartChar) - def isIdentChar(*args): - """isIdentChar(char c) -> SbBool""" - return _coin.SbName_isIdentChar(*args) - - isIdentChar = staticmethod(isIdentChar) - def isBaseNameStartChar(*args): - """isBaseNameStartChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameStartChar(*args) - - isBaseNameStartChar = staticmethod(isBaseNameStartChar) - def isBaseNameChar(*args): - """isBaseNameChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameChar(*args) - - isBaseNameChar = staticmethod(isBaseNameChar) - def empty(*args): - """empty() -> SbName""" - return _coin.SbName_empty(*args) - - empty = staticmethod(empty) - def __eq__(*args): - """ - __eq__(self, SbName u) -> int - __eq__(self, char u) -> int - __eq__(self, SbString u) -> int - """ - return _coin.SbName___eq__(*args) - - def __nq__(*args): - """ - __nq__(self, SbName u) -> int - __nq__(self, char u) -> int - __nq__(self, SbString u) -> int - """ - return _coin.SbName___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> char""" - return _coin.SbName___getitem__(*args) - - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): - """__repr__(self, void ?) -> char""" - return _coin.SbName___repr__(*args) - -SbName_swigregister = _coin.SbName_swigregister -SbName_swigregister(SbName) - -def SbName_isIdentStartChar(*args): - """SbName_isIdentStartChar(char c) -> SbBool""" - return _coin.SbName_isIdentStartChar(*args) - -def SbName_isIdentChar(*args): - """SbName_isIdentChar(char c) -> SbBool""" - return _coin.SbName_isIdentChar(*args) - -def SbName_isBaseNameStartChar(*args): - """SbName_isBaseNameStartChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameStartChar(*args) - -def SbName_isBaseNameChar(*args): - """SbName_isBaseNameChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameChar(*args) - -def SbName_empty(*args): - """SbName_empty() -> SbName""" - return _coin.SbName_empty(*args) - -class SoError(object): - """Proxy of C++ SoError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoError""" - this = _coin.new_SoError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoError - __del__ = lambda self : None; - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB func, void data)""" - return _coin.SoError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getDebugString(*args): - """getDebugString(self) -> SbString""" - return _coin.SoError_getDebugString(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoError_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoError_isOfType(*args) - - def post(*args): - """post(char format, v(...) ?)""" - return _coin.SoError_post(*args) - - post = staticmethod(post) - def getString(*args): - """ - getString(SoNode node) -> SbString - getString(SoPath path) -> SbString - getString(SoEngine engine) -> SbString - """ - return _coin.SoError_getString(*args) - - getString = staticmethod(getString) - def initClass(*args): - """initClass()""" - return _coin.SoError_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoError_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoError_swigregister = _coin.SoError_swigregister -SoError_swigregister(SoError) - -def SoError_setHandlerCallback(*args): - """SoError_setHandlerCallback(SoErrorCB func, void data)""" - return _coin.SoError_setHandlerCallback(*args) - -def SoError_getHandlerCallback(*args): - """SoError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoError_getHandlerCallback(*args) - -def SoError_getHandlerData(*args): - """SoError_getHandlerData() -> void""" - return _coin.SoError_getHandlerData(*args) - -def SoError_getClassTypeId(*args): - """SoError_getClassTypeId() -> SoType""" - return _coin.SoError_getClassTypeId(*args) - -def SoError_post(*args): - """SoError_post(char format, v(...) ?)""" - return _coin.SoError_post(*args) - -def SoError_getString(*args): - """ - getString(SoNode node) -> SbString - getString(SoPath path) -> SbString - SoError_getString(SoEngine engine) -> SbString - """ - return _coin.SoError_getString(*args) - -def SoError_initClass(*args): - """SoError_initClass()""" - return _coin.SoError_initClass(*args) - -def SoError_initClasses(*args): - """SoError_initClasses()""" - return _coin.SoError_initClasses(*args) - -class SoDebugError(SoError): - """Proxy of C++ SoDebugError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ERROR = _coin.SoDebugError_ERROR - WARNING = _coin.SoDebugError_WARNING - INFO = _coin.SoDebugError_INFO - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoDebugError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoDebugError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoDebugError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDebugError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDebugError_getTypeId(*args) - - def getSeverity(*args): - """getSeverity(self) -> Severity""" - return _coin.SoDebugError_getSeverity(*args) - - def post(*args): - """post(char source, char format, v(...) ?)""" - return _coin.SoDebugError_post(*args) - - post = staticmethod(post) - def postWarning(*args): - """postWarning(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postWarning(*args) - - postWarning = staticmethod(postWarning) - def postInfo(*args): - """postInfo(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postInfo(*args) - - postInfo = staticmethod(postInfo) - def initClass(*args): - """initClass()""" - return _coin.SoDebugError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDebugError""" - this = _coin.new_SoDebugError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDebugError - __del__ = lambda self : None; -SoDebugError_swigregister = _coin.SoDebugError_swigregister -SoDebugError_swigregister(SoDebugError) - -def SoDebugError_setHandlerCallback(*args): - """SoDebugError_setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoDebugError_setHandlerCallback(*args) - -def SoDebugError_getHandlerCallback(*args): - """SoDebugError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoDebugError_getHandlerCallback(*args) - -def SoDebugError_getHandlerData(*args): - """SoDebugError_getHandlerData() -> void""" - return _coin.SoDebugError_getHandlerData(*args) - -def SoDebugError_getClassTypeId(*args): - """SoDebugError_getClassTypeId() -> SoType""" - return _coin.SoDebugError_getClassTypeId(*args) - -def SoDebugError_post(*args): - """SoDebugError_post(char source, char format, v(...) ?)""" - return _coin.SoDebugError_post(*args) - -def SoDebugError_postWarning(*args): - """SoDebugError_postWarning(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postWarning(*args) - -def SoDebugError_postInfo(*args): - """SoDebugError_postInfo(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postInfo(*args) - -def SoDebugError_initClass(*args): - """SoDebugError_initClass()""" - return _coin.SoDebugError_initClass(*args) - -class SbVec2s(object): - """Proxy of C++ SbVec2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2s - __init__(self, short v) -> SbVec2s - __init__(self, short x, short y) -> SbVec2s - __init__(self, SbVec2us v) -> SbVec2s - __init__(self, SbVec2b v) -> SbVec2s - __init__(self, SbVec2i32 v) -> SbVec2s - __init__(self, SbVec2f v) -> SbVec2s - __init__(self, SbVec2d v) -> SbVec2s - """ - this = _coin.new_SbVec2s(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, short v) -> SbVec2s - setValue(self, short x, short y) -> SbVec2s - setValue(self, SbVec2us v) -> SbVec2s - setValue(self, SbVec2b v) -> SbVec2s - setValue(self, SbVec2i32 v) -> SbVec2s - setValue(self, SbVec2f v) -> SbVec2s - setValue(self, SbVec2d v) -> SbVec2s - """ - return _coin.SbVec2s_setValue(*args) - - def getValue(*args): - """getValue(self, short x, short y)""" - return _coin.SbVec2s_getValue(*args) - - def dot(*args): - """dot(self, SbVec2s v) -> int32_t""" - return _coin.SbVec2s_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2s_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec2s - __imul__(self, double d) -> SbVec2s - """ - return _coin.SbVec2s___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec2s - __idiv__(self, double d) -> SbVec2s - """ - return _coin.SbVec2s___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2s v) -> SbVec2s""" - return _coin.SbVec2s___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2s v) -> SbVec2s""" - return _coin.SbVec2s___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2s""" - return _coin.SbVec2s___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2s_output(*args) - - def __add__(*args): - """__add__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2s u) -> int""" - return _coin.SbVec2s___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2s u) -> int""" - return _coin.SbVec2s___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SbVec2s___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SbVec2s___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2s - __del__ = lambda self : None; -SbVec2s_swigregister = _coin.SbVec2s_swigregister -SbVec2s_swigregister(SbVec2s) - -class SbTime(object): - """Proxy of C++ SbTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbTime - __init__(self, double sec) -> SbTime - __init__(self, int32_t sec, long usec) -> SbTime - __init__(self, timeval tv) -> SbTime - """ - this = _coin.new_SbTime(*args) - try: self.this.append(this) - except: self.this = this - def getTimeOfDay(*args): - """getTimeOfDay() -> SbTime""" - return _coin.SbTime_getTimeOfDay(*args) - - getTimeOfDay = staticmethod(getTimeOfDay) - def setToTimeOfDay(*args): - """setToTimeOfDay(self)""" - return _coin.SbTime_setToTimeOfDay(*args) - - def zero(*args): - """zero() -> SbTime""" - return _coin.SbTime_zero(*args) - - zero = staticmethod(zero) - def max(*args): - """max() -> SbTime""" - return _coin.SbTime_max(*args) - - max = staticmethod(max) - def maxTime(*args): - """maxTime() -> SbTime""" - return _coin.SbTime_maxTime(*args) - - maxTime = staticmethod(maxTime) - def sleep(*args): - """sleep(int msec)""" - return _coin.SbTime_sleep(*args) - - sleep = staticmethod(sleep) - def setValue(*args): - """ - setValue(self, double sec) - setValue(self, int32_t sec, long usec) - setValue(self, timeval tv) - """ - return _coin.SbTime_setValue(*args) - - def setMsecValue(*args): - """setMsecValue(self, unsigned long msec)""" - return _coin.SbTime_setMsecValue(*args) - - def getValue(*args): - """ - getValue(self) -> double - getValue(self, time_t sec, long usec) - getValue(self, timeval tv) - """ - return _coin.SbTime_getValue(*args) - - def getMsecValue(*args): - """getMsecValue(self) -> unsigned long""" - return _coin.SbTime_getMsecValue(*args) - - def format(*args): - """ - format(self, char fmt="%S.%i") -> SbString - format(self) -> SbString - """ - return _coin.SbTime_format(*args) - - def formatDate(*args): - """ - formatDate(self, char fmt=None) -> SbString - formatDate(self) -> SbString - """ - return _coin.SbTime_formatDate(*args) - - def parsedate(*args): - """parsedate(self, char date) -> SbBool""" - return _coin.SbTime_parsedate(*args) - - def __iadd__(*args): - """__iadd__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbTime""" - return _coin.SbTime___neg__(*args) - - def __imul__(*args): - """__imul__(self, double s) -> SbTime""" - return _coin.SbTime___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double s) -> SbTime""" - return _coin.SbTime___idiv__(*args) - - def __mod__(*args): - """__mod__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___mod__(*args) - - def __eq__(*args): - """__eq__(self, SbTime tm) -> int""" - return _coin.SbTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbTime tm) -> int""" - return _coin.SbTime___ne__(*args) - - def __lt__(*args): - """__lt__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___lt__(*args) - - def __gt__(*args): - """__gt__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___gt__(*args) - - def __le__(*args): - """__le__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___le__(*args) - - def __ge__(*args): - """__ge__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___ge__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbTime_output(*args) - - def __add__(*args): - """__add__(self, SbTime u) -> SbTime""" - return _coin.SbTime___add__(*args) - - def __sub__(*args): - """__sub__(self, SbTime u) -> SbTime""" - return _coin.SbTime___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbTime""" - return _coin.SbTime___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbTime""" - return _coin.SbTime___rmul__(*args) - - def __div__(*args): - """ - __div__(self, SbTime tm) -> double - __div__(self, double d) -> SbTime - """ - return _coin.SbTime___div__(*args) - - __swig_destroy__ = _coin.delete_SbTime - __del__ = lambda self : None; -SbTime_swigregister = _coin.SbTime_swigregister -SbTime_swigregister(SbTime) - -def SbTime_getTimeOfDay(*args): - """SbTime_getTimeOfDay() -> SbTime""" - return _coin.SbTime_getTimeOfDay(*args) - -def SbTime_zero(*args): - """SbTime_zero() -> SbTime""" - return _coin.SbTime_zero(*args) - -def SbTime_max(*args): - """SbTime_max() -> SbTime""" - return _coin.SbTime_max(*args) - -def SbTime_maxTime(*args): - """SbTime_maxTime() -> SbTime""" - return _coin.SbTime_maxTime(*args) - -def SbTime_sleep(*args): - """SbTime_sleep(int msec)""" - return _coin.SbTime_sleep(*args) - -class SoEvent(object): - """Proxy of C++ SoEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoEvent""" - this = _coin.new_SoEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEvent - __del__ = lambda self : None; - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoEvent_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEvent_getTypeId(*args) - - def setTime(*args): - """setTime(self, SbTime t)""" - return _coin.SoEvent_setTime(*args) - - def getTime(*args): - """getTime(self) -> SbTime""" - return _coin.SoEvent_getTime(*args) - - def setPosition(*args): - """setPosition(self, SbVec2s p)""" - return _coin.SoEvent_setPosition(*args) - - def getPosition(*args): - """ - getPosition(self) -> SbVec2s - getPosition(self, SbViewportRegion vpRgn) -> SbVec2s - """ - return _coin.SoEvent_getPosition(*args) - - def getNormalizedPosition(*args): - """getNormalizedPosition(self, SbViewportRegion vpRgn) -> SbVec2f""" - return _coin.SoEvent_getNormalizedPosition(*args) - - def setShiftDown(*args): - """setShiftDown(self, SbBool isDown)""" - return _coin.SoEvent_setShiftDown(*args) - - def wasShiftDown(*args): - """wasShiftDown(self) -> SbBool""" - return _coin.SoEvent_wasShiftDown(*args) - - def setCtrlDown(*args): - """setCtrlDown(self, SbBool isDown)""" - return _coin.SoEvent_setCtrlDown(*args) - - def wasCtrlDown(*args): - """wasCtrlDown(self) -> SbBool""" - return _coin.SoEvent_wasCtrlDown(*args) - - def setAltDown(*args): - """setAltDown(self, SbBool isDown)""" - return _coin.SoEvent_setAltDown(*args) - - def wasAltDown(*args): - """wasAltDown(self) -> SbBool""" - return _coin.SoEvent_wasAltDown(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoEvent_swigregister = _coin.SoEvent_swigregister -SoEvent_swigregister(SoEvent) - -def SoEvent_getClassTypeId(*args): - """SoEvent_getClassTypeId() -> SoType""" - return _coin.SoEvent_getClassTypeId(*args) - -def SoEvent_initClass(*args): - """SoEvent_initClass()""" - return _coin.SoEvent_initClass(*args) - -class SoNotRec(object): - """Proxy of C++ SoNotRec class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - CONTAINER = _coin.SoNotRec_CONTAINER - PARENT = _coin.SoNotRec_PARENT - SENSOR = _coin.SoNotRec_SENSOR - FIELD = _coin.SoNotRec_FIELD - ENGINE = _coin.SoNotRec_ENGINE - def __init__(self, *args): - """__init__(self, SoBase notifbase) -> SoNotRec""" - this = _coin.new_SoNotRec(*args) - try: self.this.append(this) - except: self.this = this - def setType(*args): - """setType(self, Type type)""" - return _coin.SoNotRec_setType(*args) - - def getBase(*args): - """getBase(self) -> SoBase""" - return _coin.SoNotRec_getBase(*args) - - def getType(*args): - """getType(self) -> Type""" - return _coin.SoNotRec_getType(*args) - - def getPrevious(*args): - """getPrevious(self) -> SoNotRec""" - return _coin.SoNotRec_getPrevious(*args) - - def setPrevious(*args): - """setPrevious(self, SoNotRec prev)""" - return _coin.SoNotRec_setPrevious(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoNotRec_output(*args) - - __swig_destroy__ = _coin.delete_SoNotRec - __del__ = lambda self : None; -SoNotRec_swigregister = _coin.SoNotRec_swigregister -SoNotRec_swigregister(SoNotRec) - -class SoNotList(object): - """Proxy of C++ SoNotList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoNotList - __init__(self, SoNotList nl) -> SoNotList - """ - this = _coin.new_SoNotList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """ - append(self, SoNotRec rec) - append(self, SoNotRec rec, SoField field) - append(self, SoNotRec rec, SoEngineOutput engineout) - """ - return _coin.SoNotList_append(*args) - - def setLastType(*args): - """setLastType(self, Type type)""" - return _coin.SoNotList_setLastType(*args) - - def getFirstRec(*args): - """getFirstRec(self) -> SoNotRec""" - return _coin.SoNotList_getFirstRec(*args) - - def getLastRec(*args): - """getLastRec(self) -> SoNotRec""" - return _coin.SoNotList_getLastRec(*args) - - def getFirstRecAtNode(*args): - """getFirstRecAtNode(self) -> SoNotRec""" - return _coin.SoNotList_getFirstRecAtNode(*args) - - def getLastField(*args): - """getLastField(self) -> SoField""" - return _coin.SoNotList_getLastField(*args) - - def getLastEngineOutput(*args): - """getLastEngineOutput(self) -> SoEngineOutput""" - return _coin.SoNotList_getLastEngineOutput(*args) - - def getTimeStamp(*args): - """getTimeStamp(self) -> uint32_t""" - return _coin.SoNotList_getTimeStamp(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoNotList_output(*args) - - __swig_destroy__ = _coin.delete_SoNotList - __del__ = lambda self : None; -SoNotList_swigregister = _coin.SoNotList_swigregister -SoNotList_swigregister(SoNotList) - -class SoField(object): - """Proxy of C++ SoField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoField - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoField_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoField_initClasses(*args) - - initClasses = staticmethod(initClasses) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoField_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def setIgnored(*args): - """setIgnored(self, SbBool ignore)""" - return _coin.SoField_setIgnored(*args) - - def isIgnored(*args): - """isIgnored(self) -> SbBool""" - return _coin.SoField_isIgnored(*args) - - def setDefault(*args): - """setDefault(self, SbBool defaultVal)""" - return _coin.SoField_setDefault(*args) - - def isDefault(*args): - """isDefault(self) -> SbBool""" - return _coin.SoField_isDefault(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoField_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoField_isOfType(*args) - - def enableConnection(*args): - """enableConnection(self, SbBool flag)""" - return _coin.SoField_enableConnection(*args) - - def isConnectionEnabled(*args): - """isConnectionEnabled(self) -> SbBool""" - return _coin.SoField_isConnectionEnabled(*args) - - def isConnectedFromEngine(*args): - """isConnectedFromEngine(self) -> SbBool""" - return _coin.SoField_isConnectedFromEngine(*args) - - def getConnectedEngine(*args): - """getConnectedEngine(self, SoEngineOutput master) -> SbBool""" - return _coin.SoField_getConnectedEngine(*args) - - def connectFrom(*args): - """ - connectFrom(self, SoEngineOutput master, SbBool notnotify=0, SbBool append=0) -> SbBool - connectFrom(self, SoEngineOutput master, SbBool notnotify=0) -> SbBool - connectFrom(self, SoEngineOutput master) -> SbBool - connectFrom(self, SoField master, SbBool notnotify=0, SbBool append=0) -> SbBool - connectFrom(self, SoField master, SbBool notnotify=0) -> SbBool - connectFrom(self, SoField master) -> SbBool - """ - return _coin.SoField_connectFrom(*args) - - def appendConnection(*args): - """ - appendConnection(self, SoEngineOutput master, SbBool notnotify=0) -> SbBool - appendConnection(self, SoEngineOutput master) -> SbBool - appendConnection(self, SoField master, SbBool notnotify=0) -> SbBool - appendConnection(self, SoField master) -> SbBool - """ - return _coin.SoField_appendConnection(*args) - - def isConnectedFromField(*args): - """isConnectedFromField(self) -> SbBool""" - return _coin.SoField_isConnectedFromField(*args) - - def getConnectedField(*args): - """getConnectedField(self, SoField master) -> SbBool""" - return _coin.SoField_getConnectedField(*args) - - def getNumConnections(*args): - """getNumConnections(self) -> int""" - return _coin.SoField_getNumConnections(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList slavelist) -> int""" - return _coin.SoField_getForwardConnections(*args) - - def getConnections(*args): - """getConnections(self, SoFieldList masterlist) -> int""" - return _coin.SoField_getConnections(*args) - - def disconnect(*args): - """ - disconnect(self, SoEngineOutput engineoutput) - disconnect(self, SoField field) - disconnect(self) - """ - return _coin.SoField_disconnect(*args) - - def isConnected(*args): - """isConnected(self) -> SbBool""" - return _coin.SoField_isConnected(*args) - - def setContainer(*args): - """setContainer(self, SoFieldContainer cont)""" - return _coin.SoField_setContainer(*args) - - def getContainer(*args): - """getContainer(self) -> SoFieldContainer""" - return _coin.SoField_getContainer(*args) - - def set(*args): - """set(self, char valuestring) -> SbBool""" - return _coin.SoField_set(*args) - - def shouldWrite(*args): - """shouldWrite(self) -> SbBool""" - return _coin.SoField_shouldWrite(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoField_touch(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoField_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList nlist)""" - return _coin.SoField_notify(*args) - - def enableNotify(*args): - """enableNotify(self, SbBool on) -> SbBool""" - return _coin.SoField_enableNotify(*args) - - def isNotifyEnabled(*args): - """isNotifyEnabled(self) -> SbBool""" - return _coin.SoField_isNotifyEnabled(*args) - - def addAuditor(*args): - """addAuditor(self, void f, Type type)""" - return _coin.SoField_addAuditor(*args) - - def removeAuditor(*args): - """removeAuditor(self, void f, Type type)""" - return _coin.SoField_removeAuditor(*args) - - def __eq__(*args): - """__eq__(self, SoField f) -> int""" - return _coin.SoField___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoField f) -> int""" - return _coin.SoField___ne__(*args) - - def connectionStatusChanged(*args): - """connectionStatusChanged(self, int numconnections)""" - return _coin.SoField_connectionStatusChanged(*args) - - def isReadOnly(*args): - """isReadOnly(self) -> SbBool""" - return _coin.SoField_isReadOnly(*args) - - def isSame(*args): - """isSame(self, SoField f) -> SbBool""" - return _coin.SoField_isSame(*args) - - def copyFrom(*args): - """copyFrom(self, SoField f)""" - return _coin.SoField_copyFrom(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoField_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoField_referencesCopy(*args) - - def copyConnection(*args): - """copyConnection(self, SoField fromfield)""" - return _coin.SoField_copyConnection(*args) - - def read(*args): - """read(self, SoInput input, SbName name) -> SbBool""" - return _coin.SoField_read(*args) - - def write(*args): - """write(self, SoOutput out, SbName name)""" - return _coin.SoField_write(*args) - - def countWriteRefs(*args): - """countWriteRefs(self, SoOutput out)""" - return _coin.SoField_countWriteRefs(*args) - - NORMAL_FIELD = _coin.SoField_NORMAL_FIELD - EVENTIN_FIELD = _coin.SoField_EVENTIN_FIELD - EVENTOUT_FIELD = _coin.SoField_EVENTOUT_FIELD - EXPOSED_FIELD = _coin.SoField_EXPOSED_FIELD - def setFieldType(*args): - """setFieldType(self, int type)""" - return _coin.SoField_setFieldType(*args) - - def getFieldType(*args): - """getFieldType(self) -> int""" - return _coin.SoField_getFieldType(*args) - - def getDirty(*args): - """getDirty(self) -> SbBool""" - return _coin.SoField_getDirty(*args) - - def setDirty(*args): - """setDirty(self, SbBool dirty)""" - return _coin.SoField_setDirty(*args) - - def evaluate(*args): - """evaluate(self)""" - return _coin.SoField_evaluate(*args) - - def get(*args): - """get(self) -> SbString""" - return _coin.SoField_get(*args) - -SoField_swigregister = _coin.SoField_swigregister -SoField_swigregister(SoField) - -def SoField_initClass(*args): - """SoField_initClass()""" - return _coin.SoField_initClass(*args) - -def SoField_initClasses(*args): - """SoField_initClasses()""" - return _coin.SoField_initClasses(*args) - -def SoField_cleanupClass(*args): - """SoField_cleanupClass()""" - return _coin.SoField_cleanupClass(*args) - -def SoField_getClassTypeId(*args): - """SoField_getClassTypeId() -> SoType""" - return _coin.SoField_getClassTypeId(*args) - -class SoSField(SoField): - """Proxy of C++ SoSField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoSField - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoSField_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def atexit_cleanup(*args): - """atexit_cleanup()""" - return _coin.SoSField_atexit_cleanup(*args) - - atexit_cleanup = staticmethod(atexit_cleanup) -SoSField_swigregister = _coin.SoSField_swigregister -SoSField_swigregister(SoSField) - -def SoSField_initClass(*args): - """SoSField_initClass()""" - return _coin.SoSField_initClass(*args) - -def SoSField_getClassTypeId(*args): - """SoSField_getClassTypeId() -> SoType""" - return _coin.SoSField_getClassTypeId(*args) - -def SoSField_atexit_cleanup(*args): - """SoSField_atexit_cleanup()""" - return _coin.SoSField_atexit_cleanup(*args) - -class SoMField(SoField): - """Proxy of C++ SoMField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoMField - __del__ = lambda self : None; - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def atexit_cleanup(*args): - """atexit_cleanup()""" - return _coin.SoMField_atexit_cleanup(*args) - - atexit_cleanup = staticmethod(atexit_cleanup) - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoMField_getNum(*args) - - def setNum(*args): - """setNum(self, int num)""" - return _coin.SoMField_setNum(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMField_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMField_insertSpace(*args) - - def set1(*args): - """set1(self, int index, char valuestring) -> SbBool""" - return _coin.SoMField_set1(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMField_initClass(*args) - - initClass = staticmethod(initClass) - def enableDeleteValues(*args): - """enableDeleteValues(self)""" - return _coin.SoMField_enableDeleteValues(*args) - - def isDeleteValuesEnabled(*args): - """isDeleteValuesEnabled(self) -> SbBool""" - return _coin.SoMField_isDeleteValuesEnabled(*args) - - def __iter__(self): - i = 0 - while i < self.getNum(): - yield self[i] - i += 1 - - def __len__(*args): - """__len__(self, void ?) -> int""" - return _coin.SoMField___len__(*args) - - def get1(*args): - """get1(self, int index) -> SbString""" - return _coin.SoMField_get1(*args) - -SoMField_swigregister = _coin.SoMField_swigregister -SoMField_swigregister(SoMField) - -def SoMField_getClassTypeId(*args): - """SoMField_getClassTypeId() -> SoType""" - return _coin.SoMField_getClassTypeId(*args) - -def SoMField_atexit_cleanup(*args): - """SoMField_atexit_cleanup()""" - return _coin.SoMField_atexit_cleanup(*args) - -def SoMField_initClass(*args): - """SoMField_initClass()""" - return _coin.SoMField_initClass(*args) - -class SoAuditorList(object): - """Proxy of C++ SoAuditorList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoAuditorList""" - this = _coin.new_SoAuditorList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoAuditorList - __del__ = lambda self : None; - def append(*args): - """append(self, void auditor, Type type)""" - return _coin.SoAuditorList_append(*args) - - def set(*args): - """set(self, int index, void auditor, Type type)""" - return _coin.SoAuditorList_set(*args) - - def getObject(*args): - """getObject(self, int index) -> void""" - return _coin.SoAuditorList_getObject(*args) - - def getType(*args): - """getType(self, int index) -> Type""" - return _coin.SoAuditorList_getType(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoAuditorList_getLength(*args) - - def find(*args): - """find(self, void auditor, Type type) -> int""" - return _coin.SoAuditorList_find(*args) - - def remove(*args): - """ - remove(self, int index) - remove(self, void auditor, Type type) - """ - return _coin.SoAuditorList_remove(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoAuditorList_notify(*args) - -SoAuditorList_swigregister = _coin.SoAuditorList_swigregister -SoAuditorList_swigregister(SoAuditorList) - -class SoBase(object): - """Proxy of C++ SoBase class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoBase_initClass(*args) - - initClass = staticmethod(initClass) - def ref(*args): - """ref(self)""" - return _coin.SoBase_ref(*args) - - def unref(*args): - """unref(self)""" - return _coin.SoBase_unref(*args) - - def unrefNoDelete(*args): - """unrefNoDelete(self)""" - return _coin.SoBase_unrefNoDelete(*args) - - def getRefCount(*args): - """getRefCount(self) -> int32_t""" - return _coin.SoBase_getRefCount(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoBase_touch(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBase_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoBase_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBase_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoBase_getName(*args) - - def setName(*args): - """setName(self, SbName newname)""" - return _coin.SoBase_setName(*args) - - def addName(*args): - """addName(SoBase base, char name)""" - return _coin.SoBase_addName(*args) - - addName = staticmethod(addName) - def removeName(*args): - """removeName(SoBase base, char name)""" - return _coin.SoBase_removeName(*args) - - removeName = staticmethod(removeName) - def startNotify(*args): - """startNotify(self)""" - return _coin.SoBase_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoBase_notify(*args) - - def addAuditor(*args): - """addAuditor(self, void auditor, Type type)""" - return _coin.SoBase_addAuditor(*args) - - def removeAuditor(*args): - """removeAuditor(self, void auditor, Type type)""" - return _coin.SoBase_removeAuditor(*args) - - def getAuditors(*args): - """getAuditors(self) -> SoAuditorList""" - return _coin.SoBase_getAuditors(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoBase_addWriteReference(*args) - - def shouldWrite(*args): - """shouldWrite(self) -> SbBool""" - return _coin.SoBase_shouldWrite(*args) - - def incrementCurrentWriteCounter(*args): - """incrementCurrentWriteCounter()""" - return _coin.SoBase_incrementCurrentWriteCounter(*args) - - incrementCurrentWriteCounter = staticmethod(incrementCurrentWriteCounter) - def decrementCurrentWriteCounter(*args): - """decrementCurrentWriteCounter()""" - return _coin.SoBase_decrementCurrentWriteCounter(*args) - - decrementCurrentWriteCounter = staticmethod(decrementCurrentWriteCounter) - def getNamedBase(*args): - """getNamedBase(SbName name, SoType type) -> SoBase""" - return _coin.SoBase_getNamedBase(*args) - - getNamedBase = staticmethod(getNamedBase) - def getNamedBases(*args): - """getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int""" - return _coin.SoBase_getNamedBases(*args) - - getNamedBases = staticmethod(getNamedBases) - def read(*args): - """read(SoInput input, SoBase base, SoType expectedtype) -> SbBool""" - return _coin.SoBase_read(*args) - - read = staticmethod(read) - def setInstancePrefix(*args): - """setInstancePrefix(SbString c)""" - return _coin.SoBase_setInstancePrefix(*args) - - setInstancePrefix = staticmethod(setInstancePrefix) - def setTraceRefs(*args): - """setTraceRefs(SbBool trace)""" - return _coin.SoBase_setTraceRefs(*args) - - setTraceRefs = staticmethod(setTraceRefs) - def getTraceRefs(*args): - """getTraceRefs() -> SbBool""" - return _coin.SoBase_getTraceRefs(*args) - - getTraceRefs = staticmethod(getTraceRefs) - def connectRoute(*args): - """ - connectRoute(SoInput input, SbName fromnodename, SbName fromfieldname, - SbName tonodename, SbName tofieldname) -> SbBool - """ - return _coin.SoBase_connectRoute(*args) - - connectRoute = staticmethod(connectRoute) - def assertAlive(*args): - """assertAlive(self)""" - return _coin.SoBase_assertAlive(*args) - - def readRoute(*args): - """readRoute(SoInput input) -> SbBool""" - return _coin.SoBase_readRoute(*args) - - readRoute = staticmethod(readRoute) - __swig_destroy__ = _coin.delete_SoBase - __del__ = lambda self : None; - def __eq__(self,other): - return other and (self.this == other.this) or False - def __ne__(self,other): - return other and (self.this != other.this) or True - def __nonzero__(self): - return True - -SoBase_swigregister = _coin.SoBase_swigregister -SoBase_swigregister(SoBase) - -def SoBase_initClass(*args): - """SoBase_initClass()""" - return _coin.SoBase_initClass(*args) - -def SoBase_getClassTypeId(*args): - """SoBase_getClassTypeId() -> SoType""" - return _coin.SoBase_getClassTypeId(*args) - -def SoBase_addName(*args): - """SoBase_addName(SoBase base, char name)""" - return _coin.SoBase_addName(*args) - -def SoBase_removeName(*args): - """SoBase_removeName(SoBase base, char name)""" - return _coin.SoBase_removeName(*args) - -def SoBase_incrementCurrentWriteCounter(*args): - """SoBase_incrementCurrentWriteCounter()""" - return _coin.SoBase_incrementCurrentWriteCounter(*args) - -def SoBase_decrementCurrentWriteCounter(*args): - """SoBase_decrementCurrentWriteCounter()""" - return _coin.SoBase_decrementCurrentWriteCounter(*args) - -def SoBase_getNamedBase(*args): - """SoBase_getNamedBase(SbName name, SoType type) -> SoBase""" - return _coin.SoBase_getNamedBase(*args) - -def SoBase_getNamedBases(*args): - """SoBase_getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int""" - return _coin.SoBase_getNamedBases(*args) - -def SoBase_read(*args): - """SoBase_read(SoInput input, SoBase base, SoType expectedtype) -> SbBool""" - return _coin.SoBase_read(*args) - -def SoBase_setInstancePrefix(*args): - """SoBase_setInstancePrefix(SbString c)""" - return _coin.SoBase_setInstancePrefix(*args) - -def SoBase_setTraceRefs(*args): - """SoBase_setTraceRefs(SbBool trace)""" - return _coin.SoBase_setTraceRefs(*args) - -def SoBase_getTraceRefs(*args): - """SoBase_getTraceRefs() -> SbBool""" - return _coin.SoBase_getTraceRefs(*args) - -def SoBase_connectRoute(*args): - """ - SoBase_connectRoute(SoInput input, SbName fromnodename, SbName fromfieldname, - SbName tonodename, SbName tofieldname) -> SbBool - """ - return _coin.SoBase_connectRoute(*args) - -def SoBase_readRoute(*args): - """SoBase_readRoute(SoInput input) -> SbBool""" - return _coin.SoBase_readRoute(*args) - - -def intrusive_ptr_add_ref(*args): - """intrusive_ptr_add_ref(SoBase obj)""" - return _coin.intrusive_ptr_add_ref(*args) - -def intrusive_ptr_release(*args): - """intrusive_ptr_release(SoBase obj)""" - return _coin.intrusive_ptr_release(*args) -class SoBaseList(SbPList): - """Proxy of C++ SoBaseList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoBaseList - __init__(self, int size) -> SoBaseList - __init__(self, SoBaseList l) -> SoBaseList - """ - this = _coin.new_SoBaseList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBaseList - __del__ = lambda self : None; - def append(*args): - """append(self, SoBase ptr)""" - return _coin.SoBaseList_append(*args) - - def insert(*args): - """insert(self, SoBase ptr, int addbefore)""" - return _coin.SoBaseList_insert(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SoBaseList_remove(*args) - - def removeItem(*args): - """removeItem(self, SoBase item)""" - return _coin.SoBaseList_removeItem(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoBaseList_truncate(*args) - - def copy(*args): - """copy(self, SoBaseList l)""" - return _coin.SoBaseList_copy(*args) - - def set(*args): - """set(self, int i, SoBase ptr)""" - return _coin.SoBaseList_set(*args) - - def addReferences(*args): - """addReferences(self, SbBool flag)""" - return _coin.SoBaseList_addReferences(*args) - - def isReferencing(*args): - """isReferencing(self) -> SbBool""" - return _coin.SoBaseList_isReferencing(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoBase value)""" - return _coin.SoBaseList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoBase""" - return _coin.SoBaseList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoBase""" - return _coin.SoBaseList_get(*args) - -SoBaseList_swigregister = _coin.SoBaseList_swigregister -SoBaseList_swigregister(SoBaseList) - -class SoNodeList(SoBaseList): - """Proxy of C++ SoNodeList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoNodeList - __init__(self, int size) -> SoNodeList - __init__(self, SoNodeList nl) -> SoNodeList - """ - this = _coin.new_SoNodeList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeList - __del__ = lambda self : None; - def append(*args): - """append(self, SoNode ptr)""" - return _coin.SoNodeList_append(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoNode value)""" - return _coin.SoNodeList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoNode""" - return _coin.SoNodeList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoNode""" - return _coin.SoNodeList_get(*args) - -SoNodeList_swigregister = _coin.SoNodeList_swigregister -SoNodeList_swigregister(SoNodeList) - -class SoDetailList(SbPList): - """Proxy of C++ SoDetailList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoDetailList - __init__(self, int sizehint) -> SoDetailList - __init__(self, SoDetailList l) -> SoDetailList - """ - this = _coin.new_SoDetailList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDetailList - __del__ = lambda self : None; - def append(*args): - """append(self, SoDetail detail)""" - return _coin.SoDetailList_append(*args) - - def insert(*args): - """insert(self, SoDetail detail, int insertbefore)""" - return _coin.SoDetailList_insert(*args) - - def truncate(*args): - """ - truncate(self, int length, int fit=0) - truncate(self, int length) - """ - return _coin.SoDetailList_truncate(*args) - - def copy(*args): - """copy(self, SoDetailList l)""" - return _coin.SoDetailList_copy(*args) - - def set(*args): - """set(self, int index, SoDetail item)""" - return _coin.SoDetailList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoDetail value)""" - return _coin.SoDetailList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoDetail""" - return _coin.SoDetailList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoDetail""" - return _coin.SoDetailList_get(*args) - -SoDetailList_swigregister = _coin.SoDetailList_swigregister -SoDetailList_swigregister(SoDetailList) - -class SoTypeList(SbPList): - """Proxy of C++ SoTypeList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoTypeList - __init__(self, int sizehint) -> SoTypeList - __init__(self, SoTypeList l) -> SoTypeList - """ - this = _coin.new_SoTypeList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoType type)""" - return _coin.SoTypeList_append(*args) - - def find(*args): - """find(self, SoType type) -> int""" - return _coin.SoTypeList_find(*args) - - def insert(*args): - """insert(self, SoType type, int insertbefore)""" - return _coin.SoTypeList_insert(*args) - - def set(*args): - """set(self, int index, SoType item)""" - return _coin.SoTypeList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoType value)""" - return _coin.SoTypeList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoType""" - return _coin.SoTypeList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoType""" - return _coin.SoTypeList_get(*args) - - __swig_destroy__ = _coin.delete_SoTypeList - __del__ = lambda self : None; -SoTypeList_swigregister = _coin.SoTypeList_swigregister -SoTypeList_swigregister(SoTypeList) - -class SoEnabledElementsList(object): - """Proxy of C++ SoEnabledElementsList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoEnabledElementsList parentlist) -> SoEnabledElementsList""" - this = _coin.new_SoEnabledElementsList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEnabledElementsList - __del__ = lambda self : None; - def getElements(*args): - """getElements(self) -> SoTypeList""" - return _coin.SoEnabledElementsList_getElements(*args) - - def enable(*args): - """enable(self, SoType elementtype, int stackindex)""" - return _coin.SoEnabledElementsList_enable(*args) - - def merge(*args): - """merge(self, SoEnabledElementsList eel)""" - return _coin.SoEnabledElementsList_merge(*args) - - def getCounter(*args): - """getCounter() -> int""" - return _coin.SoEnabledElementsList_getCounter(*args) - - getCounter = staticmethod(getCounter) -SoEnabledElementsList_swigregister = _coin.SoEnabledElementsList_swigregister -SoEnabledElementsList_swigregister(SoEnabledElementsList) - -def SoEnabledElementsList_getCounter(*args): - """SoEnabledElementsList_getCounter() -> int""" - return _coin.SoEnabledElementsList_getCounter(*args) - -class SoEngineOutputList(SbPList): - """Proxy of C++ SoEngineOutputList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineOutputList - __init__(self, int sizehint) -> SoEngineOutputList - __init__(self, SoEngineOutputList l) -> SoEngineOutputList - """ - this = _coin.new_SoEngineOutputList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoEngineOutput output)""" - return _coin.SoEngineOutputList_append(*args) - - def insert(*args): - """insert(self, SoEngineOutput output, int insertbefore)""" - return _coin.SoEngineOutputList_insert(*args) - - def set(*args): - """set(self, int idx, SoEngineOutput item)""" - return _coin.SoEngineOutputList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngineOutput value)""" - return _coin.SoEngineOutputList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngineOutput""" - return _coin.SoEngineOutputList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoEngineOutput""" - return _coin.SoEngineOutputList_get(*args) - - __swig_destroy__ = _coin.delete_SoEngineOutputList - __del__ = lambda self : None; -SoEngineOutputList_swigregister = _coin.SoEngineOutputList_swigregister -SoEngineOutputList_swigregister(SoEngineOutputList) - -class SoEngineList(SoBaseList): - """Proxy of C++ SoEngineList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineList - __init__(self, int size) -> SoEngineList - __init__(self, SoEngineList el) -> SoEngineList - """ - this = _coin.new_SoEngineList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineList - __del__ = lambda self : None; - def append(*args): - """append(self, SoEngine ptr)""" - return _coin.SoEngineList_append(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngine value)""" - return _coin.SoEngineList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngine""" - return _coin.SoEngineList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoEngine""" - return _coin.SoEngineList_get(*args) - -SoEngineList_swigregister = _coin.SoEngineList_swigregister -SoEngineList_swigregister(SoEngineList) - -class SoFieldList(SbPList): - """Proxy of C++ SoFieldList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoFieldList - __init__(self, int sizehint) -> SoFieldList - __init__(self, SoFieldList l) -> SoFieldList - """ - this = _coin.new_SoFieldList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoField field)""" - return _coin.SoFieldList_append(*args) - - def insert(*args): - """insert(self, SoField field, int insertbefore)""" - return _coin.SoFieldList_insert(*args) - - def set(*args): - """set(self, int idx, SoField field)""" - return _coin.SoFieldList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoField value)""" - return _coin.SoFieldList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoField""" - return _coin.SoFieldList___getitem__(*args) - - def get(*args): - """ - get(self, int idx) -> SoField - get(self, int i) -> SoField - """ - return _coin.SoFieldList_get(*args) - - __swig_destroy__ = _coin.delete_SoFieldList - __del__ = lambda self : None; -SoFieldList_swigregister = _coin.SoFieldList_swigregister -SoFieldList_swigregister(SoFieldList) - -class SoPathList(SoBaseList): - """Proxy of C++ SoPathList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPathList - __init__(self, int size) -> SoPathList - __init__(self, SoPathList pl) -> SoPathList - """ - this = _coin.new_SoPathList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPathList - __del__ = lambda self : None; - def append(*args): - """append(self, SoPath path)""" - return _coin.SoPathList_append(*args) - - def findPath(*args): - """findPath(self, SoPath path) -> int""" - return _coin.SoPathList_findPath(*args) - - def sort(*args): - """sort(self)""" - return _coin.SoPathList_sort(*args) - - def uniquify(*args): - """uniquify(self)""" - return _coin.SoPathList_uniquify(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPath value)""" - return _coin.SoPathList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPath""" - return _coin.SoPathList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoPath""" - return _coin.SoPathList_get(*args) - -SoPathList_swigregister = _coin.SoPathList_swigregister -SoPathList_swigregister(SoPathList) - -class SoPickedPointList(SbPList): - """Proxy of C++ SoPickedPointList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPickedPointList - __init__(self, int sizehint) -> SoPickedPointList - __init__(self, SoPickedPointList l) -> SoPickedPointList - """ - this = _coin.new_SoPickedPointList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPickedPointList - __del__ = lambda self : None; - def append(*args): - """append(self, SoPickedPoint pp)""" - return _coin.SoPickedPointList_append(*args) - - def insert(*args): - """insert(self, SoPickedPoint pp, int insertbefore)""" - return _coin.SoPickedPointList_insert(*args) - - def truncate(*args): - """ - truncate(self, int start, int fit=0) - truncate(self, int start) - """ - return _coin.SoPickedPointList_truncate(*args) - - def set(*args): - """set(self, int idx, SoPickedPoint pp)""" - return _coin.SoPickedPointList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPickedPoint value)""" - return _coin.SoPickedPointList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPickedPoint""" - return _coin.SoPickedPointList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoPickedPoint""" - return _coin.SoPickedPointList_get(*args) - -SoPickedPointList_swigregister = _coin.SoPickedPointList_swigregister -SoPickedPointList_swigregister(SoPickedPointList) - -class SoPath(SoBase): - """Proxy of C++ SoPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoPath_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self, int approxlength=4) -> SoPath - __init__(self) -> SoPath - __init__(self, SoNode head) -> SoPath - __init__(self, SoPath rhs) -> SoPath - """ - this = _coin.new_SoPath(*args) - try: self.this.append(this) - except: self.this = this - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPath_getTypeId(*args) - - def setHead(*args): - """setHead(self, SoNode head)""" - return _coin.SoPath_setHead(*args) - - def getHead(*args): - """getHead(self) -> SoNode""" - return _coin.SoPath_getHead(*args) - - def append(*args): - """ - append(self, int childindex) - append(self, SoNode node) - append(self, SoPath frompath) - """ - return _coin.SoPath_append(*args) - - def push(*args): - """push(self, int childindex)""" - return _coin.SoPath_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoPath_pop(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoPath_getTail(*args) - - def getNode(*args): - """getNode(self, int index) -> SoNode""" - return _coin.SoPath_getNode(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int index) -> SoNode""" - return _coin.SoPath_getNodeFromTail(*args) - - def getIndex(*args): - """getIndex(self, int index) -> int""" - return _coin.SoPath_getIndex(*args) - - def getIndexFromTail(*args): - """getIndexFromTail(self, int index) -> int""" - return _coin.SoPath_getIndexFromTail(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoPath_getLength(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoPath_truncate(*args) - - def findFork(*args): - """findFork(self, SoPath path) -> int""" - return _coin.SoPath_findFork(*args) - - def findNode(*args): - """findNode(self, SoNode node) -> int""" - return _coin.SoPath_findNode(*args) - - def containsNode(*args): - """containsNode(self, SoNode node) -> SbBool""" - return _coin.SoPath_containsNode(*args) - - def containsPath(*args): - """containsPath(self, SoPath path) -> SbBool""" - return _coin.SoPath_containsPath(*args) - - def copy(*args): - """ - copy(self, int startfromnodeindex=0, int numnodes=0) -> SoPath - copy(self, int startfromnodeindex=0) -> SoPath - copy(self) -> SoPath - """ - return _coin.SoPath_copy(*args) - - def getByName(*args): - """ - getByName(SbName name) -> SoPath - getByName(SbName name, SoPathList l) -> int - """ - return _coin.SoPath_getByName(*args) - - getByName = staticmethod(getByName) - def insertIndex(*args): - """insertIndex(self, SoNode parent, int newindex)""" - return _coin.SoPath_insertIndex(*args) - - def removeIndex(*args): - """removeIndex(self, SoNode parent, int oldindex)""" - return _coin.SoPath_removeIndex(*args) - - def replaceIndex(*args): - """replaceIndex(self, SoNode parent, int index, SoNode newchild)""" - return _coin.SoPath_replaceIndex(*args) - - def isRelevantNotification(*args): - """isRelevantNotification(self, SoNotList l) -> SbBool""" - return _coin.SoPath_isRelevantNotification(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoPath_write(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self.getNode(i) - - def index(self): - for i in range(self.getLength()): - yield self.getIndex(i) - - def __eq__(*args): - """__eq__(self, SoPath u) -> int""" - return _coin.SoPath___eq__(*args) - - def __nq__(*args): - """__nq__(self, SoPath u) -> int""" - return _coin.SoPath___nq__(*args) - -SoPath_swigregister = _coin.SoPath_swigregister -SoPath_swigregister(SoPath) - -def SoPath_initClass(*args): - """SoPath_initClass()""" - return _coin.SoPath_initClass(*args) - -def SoPath_getClassTypeId(*args): - """SoPath_getClassTypeId() -> SoType""" - return _coin.SoPath_getClassTypeId(*args) - -def SoPath_getByName(*args): - """ - getByName(SbName name) -> SoPath - SoPath_getByName(SbName name, SoPathList l) -> int - """ - return _coin.SoPath_getByName(*args) - -class SoLightPath(object): - """Proxy of C++ SoLightPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoNode node, int approxlength) -> SoLightPath - __init__(self, int approxlength) -> SoLightPath - """ - this = _coin.new_SoLightPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLightPath - __del__ = lambda self : None; - def setHead(*args): - """setHead(self, SoNode node)""" - return _coin.SoLightPath_setHead(*args) - - def append(*args): - """append(self, int childindex)""" - return _coin.SoLightPath_append(*args) - - def push(*args): - """push(self, int childindex)""" - return _coin.SoLightPath_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoLightPath_pop(*args) - - def setTail(*args): - """setTail(self, int childindex)""" - return _coin.SoLightPath_setTail(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoLightPath_getTail(*args) - - def getHead(*args): - """getHead(self) -> SoNode""" - return _coin.SoLightPath_getHead(*args) - - def getNode(*args): - """getNode(self, int index) -> SoNode""" - return _coin.SoLightPath_getNode(*args) - - def getIndex(*args): - """getIndex(self, int index) -> int""" - return _coin.SoLightPath_getIndex(*args) - - def getFullLength(*args): - """getFullLength(self) -> int""" - return _coin.SoLightPath_getFullLength(*args) - - def truncate(*args): - """truncate(self, int startindex)""" - return _coin.SoLightPath_truncate(*args) - - def makeTempPath(*args): - """makeTempPath(self, SoTempPath path)""" - return _coin.SoLightPath_makeTempPath(*args) - -SoLightPath_swigregister = _coin.SoLightPath_swigregister -SoLightPath_swigregister(SoLightPath) - -class SoFullPath(SoPath): - """Proxy of C++ SoFullPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def pop(*args): - """pop(self)""" - return _coin.SoFullPath_pop(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoFullPath_getTail(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int index) -> SoNode""" - return _coin.SoFullPath_getNodeFromTail(*args) - - def getIndexFromTail(*args): - """getIndexFromTail(self, int index) -> int""" - return _coin.SoFullPath_getIndexFromTail(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoFullPath_getLength(*args) - -SoFullPath_swigregister = _coin.SoFullPath_swigregister -SoFullPath_swigregister(SoFullPath) - -class SoTempPath(SoFullPath): - """Proxy of C++ SoTempPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, int approxlength) -> SoTempPath""" - this = _coin.new_SoTempPath(*args) - try: self.this.append(this) - except: self.this = this - def simpleAppend(*args): - """simpleAppend(self, SoNode node, int index)""" - return _coin.SoTempPath_simpleAppend(*args) - - def replaceTail(*args): - """replaceTail(self, SoNode node, int index)""" - return _coin.SoTempPath_replaceTail(*args) - -SoTempPath_swigregister = _coin.SoTempPath_swigregister -SoTempPath_swigregister(SoTempPath) - -class SoActionMethodList(SbPList): - """Proxy of C++ SoActionMethodList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoActionMethodList parentlist) -> SoActionMethodList""" - this = _coin.new_SoActionMethodList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoActionMethodList - __del__ = lambda self : None; - def addMethod(*args): - """addMethod(self, SoType node, SoActionMethod method)""" - return _coin.SoActionMethodList_addMethod(*args) - - def setUp(*args): - """setUp(self)""" - return _coin.SoActionMethodList_setUp(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoActionMethod value)""" - return _coin.SoActionMethodList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoActionMethod""" - return _coin.SoActionMethodList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoActionMethod""" - return _coin.SoActionMethodList_get(*args) - -SoActionMethodList_swigregister = _coin.SoActionMethodList_swigregister -SoActionMethodList_swigregister(SoActionMethodList) - -class SoAction(object): - """Proxy of C++ SoAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoAction_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoAction_initClasses(*args) - - initClasses = staticmethod(initClasses) - NODE = _coin.SoAction_NODE - PATH = _coin.SoAction_PATH - PATH_LIST = _coin.SoAction_PATH_LIST - NO_PATH = _coin.SoAction_NO_PATH - IN_PATH = _coin.SoAction_IN_PATH - BELOW_PATH = _coin.SoAction_BELOW_PATH - OFF_PATH = _coin.SoAction_OFF_PATH - __swig_destroy__ = _coin.delete_SoAction - __del__ = lambda self : None; - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAction_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoAction_isOfType(*args) - - def apply(*args): - """ - apply(self, SoNode root) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - apply(self, SoAction beingApplied) - """ - return _coin.SoAction_apply(*args) - - def invalidateState(*args): - """invalidateState(self)""" - return _coin.SoAction_invalidateState(*args) - - def nullAction(*args): - """nullAction(SoAction action, SoNode node)""" - return _coin.SoAction_nullAction(*args) - - nullAction = staticmethod(nullAction) - def getWhatAppliedTo(*args): - """getWhatAppliedTo(self) -> AppliedCode""" - return _coin.SoAction_getWhatAppliedTo(*args) - - def getNodeAppliedTo(*args): - """getNodeAppliedTo(self) -> SoNode""" - return _coin.SoAction_getNodeAppliedTo(*args) - - def getPathAppliedTo(*args): - """getPathAppliedTo(self) -> SoPath""" - return _coin.SoAction_getPathAppliedTo(*args) - - def getPathListAppliedTo(*args): - """getPathListAppliedTo(self) -> SoPathList""" - return _coin.SoAction_getPathListAppliedTo(*args) - - def getOriginalPathListAppliedTo(*args): - """getOriginalPathListAppliedTo(self) -> SoPathList""" - return _coin.SoAction_getOriginalPathListAppliedTo(*args) - - def isLastPathListAppliedTo(*args): - """isLastPathListAppliedTo(self) -> SbBool""" - return _coin.SoAction_isLastPathListAppliedTo(*args) - - def getPathCode(*args): - """getPathCode(self, int numindices, int indices) -> PathCode""" - return _coin.SoAction_getPathCode(*args) - - def traverse(*args): - """traverse(self, SoNode node)""" - return _coin.SoAction_traverse(*args) - - def hasTerminated(*args): - """hasTerminated(self) -> SbBool""" - return _coin.SoAction_hasTerminated(*args) - - def getCurPath(*args): - """getCurPath(self) -> SoPath""" - return _coin.SoAction_getCurPath(*args) - - def getState(*args): - """getState(self) -> SoState""" - return _coin.SoAction_getState(*args) - - def getCurPathCode(*args): - """getCurPathCode(self) -> PathCode""" - return _coin.SoAction_getCurPathCode(*args) - - def getCurPathTail(*args): - """getCurPathTail(self) -> SoNode""" - return _coin.SoAction_getCurPathTail(*args) - - def usePathCode(*args): - """usePathCode(self, int numindices, int indices)""" - return _coin.SoAction_usePathCode(*args) - - def pushCurPath(*args): - """ - pushCurPath(self, int childindex, SoNode node=None) - pushCurPath(self, int childindex) - pushCurPath(self) - """ - return _coin.SoAction_pushCurPath(*args) - - def popPushCurPath(*args): - """ - popPushCurPath(self, int childindex, SoNode node=None) - popPushCurPath(self, int childindex) - """ - return _coin.SoAction_popPushCurPath(*args) - - def popCurPath(*args): - """ - popCurPath(self, PathCode prevpathcode) - popCurPath(self) - """ - return _coin.SoAction_popCurPath(*args) - - def switchToPathTraversal(*args): - """switchToPathTraversal(self, SoPath path)""" - return _coin.SoAction_switchToPathTraversal(*args) - - def switchToNodeTraversal(*args): - """switchToNodeTraversal(self, SoNode node)""" - return _coin.SoAction_switchToNodeTraversal(*args) - -SoAction_swigregister = _coin.SoAction_swigregister -SoAction_swigregister(SoAction) - -def SoAction_initClass(*args): - """SoAction_initClass()""" - return _coin.SoAction_initClass(*args) - -def SoAction_initClasses(*args): - """SoAction_initClasses()""" - return _coin.SoAction_initClasses(*args) - -def SoAction_getClassTypeId(*args): - """SoAction_getClassTypeId() -> SoType""" - return _coin.SoAction_getClassTypeId(*args) - -def SoAction_nullAction(*args): - """SoAction_nullAction(SoAction action, SoNode node)""" - return _coin.SoAction_nullAction(*args) - -class SoState(object): - """Proxy of C++ SoState class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoAction action, SoTypeList enabledelements) -> SoState""" - this = _coin.new_SoState(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoState - __del__ = lambda self : None; - def getAction(*args): - """getAction(self) -> SoAction""" - return _coin.SoState_getAction(*args) - - def getElement(*args): - """getElement(self, int stackindex) -> SoElement""" - return _coin.SoState_getElement(*args) - - def getConstElement(*args): - """getConstElement(self, int stackindex) -> SoElement""" - return _coin.SoState_getConstElement(*args) - - def push(*args): - """push(self)""" - return _coin.SoState_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoState_pop(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoState_output(*args) - - def isElementEnabled(*args): - """isElementEnabled(self, int stackindex) -> SbBool""" - return _coin.SoState_isElementEnabled(*args) - - def getDepth(*args): - """getDepth(self) -> int""" - return _coin.SoState_getDepth(*args) - - def setCacheOpen(*args): - """setCacheOpen(self, SbBool flag)""" - return _coin.SoState_setCacheOpen(*args) - - def isCacheOpen(*args): - """isCacheOpen(self) -> SbBool""" - return _coin.SoState_isCacheOpen(*args) - - def getElementNoPush(*args): - """getElementNoPush(self, int stackindex) -> SoElement""" - return _coin.SoState_getElementNoPush(*args) - -SoState_swigregister = _coin.SoState_swigregister -SoState_swigregister(SoState) - -class SoElement(object): - """Proxy of C++ SoElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoElement_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoElement_getTypeId(*args) - - def getStackIndex(*args): - """getStackIndex(self) -> int""" - return _coin.SoElement_getStackIndex(*args) - - def init(*args): - """init(self, SoState state)""" - return _coin.SoElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoElement_copyMatchInfo(*args) - - def initElements(*args): - """initElements()""" - return _coin.SoElement_initElements(*args) - - initElements = staticmethod(initElements) - def getNumStackIndices(*args): - """getNumStackIndices() -> int""" - return _coin.SoElement_getNumStackIndices(*args) - - getNumStackIndices = staticmethod(getNumStackIndices) - def getIdFromStackIndex(*args): - """getIdFromStackIndex(int stackIndex) -> SoType""" - return _coin.SoElement_getIdFromStackIndex(*args) - - getIdFromStackIndex = staticmethod(getIdFromStackIndex) - def setDepth(*args): - """setDepth(self, int depth)""" - return _coin.SoElement_setDepth(*args) - - def getDepth(*args): - """getDepth(self) -> int""" - return _coin.SoElement_getDepth(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoElement_output(*args) - - __swig_destroy__ = _coin.delete_SoElement - __del__ = lambda self : None; -SoElement_swigregister = _coin.SoElement_swigregister -SoElement_swigregister(SoElement) - -def SoElement_initClass(*args): - """SoElement_initClass()""" - return _coin.SoElement_initClass(*args) - -def SoElement_getClassTypeId(*args): - """SoElement_getClassTypeId() -> SoType""" - return _coin.SoElement_getClassTypeId(*args) - -def SoElement_getClassStackIndex(*args): - """SoElement_getClassStackIndex() -> int""" - return _coin.SoElement_getClassStackIndex(*args) - -def SoElement_initElements(*args): - """SoElement_initElements()""" - return _coin.SoElement_initElements(*args) - -def SoElement_getNumStackIndices(*args): - """SoElement_getNumStackIndices() -> int""" - return _coin.SoElement_getNumStackIndices(*args) - -def SoElement_getIdFromStackIndex(*args): - """SoElement_getIdFromStackIndex(int stackIndex) -> SoType""" - return _coin.SoElement_getIdFromStackIndex(*args) - -class SoInt32Element(SoElement): - """Proxy of C++ SoInt32Element class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInt32Element_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoInt32Element_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoInt32Element_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoInt32Element_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoInt32Element_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoInt32Element_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoInt32Element_output(*args) - - def set(*args): - """ - set(int index, SoState state, SoNode node, int32_t value) - set(int index, SoState state, int32_t value) - """ - return _coin.SoInt32Element_set(*args) - - set = staticmethod(set) - def get(*args): - """get(int index, SoState state) -> int32_t""" - return _coin.SoInt32Element_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoInt32Element_setElt(*args) - -SoInt32Element_swigregister = _coin.SoInt32Element_swigregister -SoInt32Element_swigregister(SoInt32Element) - -def SoInt32Element_getClassTypeId(*args): - """SoInt32Element_getClassTypeId() -> SoType""" - return _coin.SoInt32Element_getClassTypeId(*args) - -def SoInt32Element_getClassStackIndex(*args): - """SoInt32Element_getClassStackIndex() -> int""" - return _coin.SoInt32Element_getClassStackIndex(*args) - -def SoInt32Element_initClass(*args): - """SoInt32Element_initClass()""" - return _coin.SoInt32Element_initClass(*args) - -def SoInt32Element_set(*args): - """ - set(int index, SoState state, SoNode node, int32_t value) - SoInt32Element_set(int index, SoState state, int32_t value) - """ - return _coin.SoInt32Element_set(*args) - -def SoInt32Element_get(*args): - """SoInt32Element_get(int index, SoState state) -> int32_t""" - return _coin.SoInt32Element_get(*args) - -class SoDecimationTypeElement(SoInt32Element): - """Proxy of C++ SoDecimationTypeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecimationTypeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDecimationTypeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecimationTypeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDecimationTypeElement_initClass(*args) - - initClass = staticmethod(initClass) - AUTOMATIC = _coin.SoDecimationTypeElement_AUTOMATIC - HIGHEST = _coin.SoDecimationTypeElement_HIGHEST - LOWEST = _coin.SoDecimationTypeElement_LOWEST - PERCENTAGE = _coin.SoDecimationTypeElement_PERCENTAGE - def init(*args): - """init(self, SoState state)""" - return _coin.SoDecimationTypeElement_init(*args) - - def set(*args): - """ - set(SoState state, Type type) - set(SoState state, SoNode node, Type type) - """ - return _coin.SoDecimationTypeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Type""" - return _coin.SoDecimationTypeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Type""" - return _coin.SoDecimationTypeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDecimationTypeElement_swigregister = _coin.SoDecimationTypeElement_swigregister -SoDecimationTypeElement_swigregister(SoDecimationTypeElement) - -def SoDecimationTypeElement_getClassTypeId(*args): - """SoDecimationTypeElement_getClassTypeId() -> SoType""" - return _coin.SoDecimationTypeElement_getClassTypeId(*args) - -def SoDecimationTypeElement_getClassStackIndex(*args): - """SoDecimationTypeElement_getClassStackIndex() -> int""" - return _coin.SoDecimationTypeElement_getClassStackIndex(*args) - -def SoDecimationTypeElement_createInstance(*args): - """SoDecimationTypeElement_createInstance() -> void""" - return _coin.SoDecimationTypeElement_createInstance(*args) - -def SoDecimationTypeElement_initClass(*args): - """SoDecimationTypeElement_initClass()""" - return _coin.SoDecimationTypeElement_initClass(*args) - -def SoDecimationTypeElement_set(*args): - """ - set(SoState state, Type type) - SoDecimationTypeElement_set(SoState state, SoNode node, Type type) - """ - return _coin.SoDecimationTypeElement_set(*args) - -def SoDecimationTypeElement_get(*args): - """SoDecimationTypeElement_get(SoState state) -> Type""" - return _coin.SoDecimationTypeElement_get(*args) - -def SoDecimationTypeElement_getDefault(*args): - """SoDecimationTypeElement_getDefault() -> Type""" - return _coin.SoDecimationTypeElement_getDefault(*args) - -class SoFieldData(object): - """Proxy of C++ SoFieldData class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoFieldData - __init__(self, SoFieldData fd) -> SoFieldData - __init__(self, SoFieldData fd) -> SoFieldData - __init__(self, int numfields) -> SoFieldData - """ - this = _coin.new_SoFieldData(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoFieldData - __del__ = lambda self : None; - def addField(*args): - """addField(self, SoFieldContainer base, char name, SoField field)""" - return _coin.SoFieldData_addField(*args) - - def overlay(*args): - """overlay(self, SoFieldContainer to, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFieldData_overlay(*args) - - def getNumFields(*args): - """getNumFields(self) -> int""" - return _coin.SoFieldData_getNumFields(*args) - - def getFieldName(*args): - """getFieldName(self, int index) -> SbName""" - return _coin.SoFieldData_getFieldName(*args) - - def getField(*args): - """getField(self, SoFieldContainer object, int index) -> SoField""" - return _coin.SoFieldData_getField(*args) - - def getIndex(*args): - """getIndex(self, SoFieldContainer fc, SoField field) -> int""" - return _coin.SoFieldData_getIndex(*args) - - def addEnumValue(*args): - """addEnumValue(self, char enumname, char valuename, int value)""" - return _coin.SoFieldData_addEnumValue(*args) - - def getEnumData(*args): - """getEnumData(self, char enumname, int num, int values, SbName names)""" - return _coin.SoFieldData_getEnumData(*args) - - def read(*args): - """ - read(self, SoInput input, SoFieldContainer object, SbBool erroronunknownfield, - SbBool notbuiltin) -> SbBool - read(self, SoInput input, SoFieldContainer object, SbName fieldname, - SbBool foundname) -> SbBool - """ - return _coin.SoFieldData_read(*args) - - def write(*args): - """write(self, SoOutput out, SoFieldContainer object)""" - return _coin.SoFieldData_write(*args) - - def copy(*args): - """copy(self, SoFieldData src)""" - return _coin.SoFieldData_copy(*args) - - def isSame(*args): - """isSame(self, SoFieldContainer c1, SoFieldContainer c2) -> SbBool""" - return _coin.SoFieldData_isSame(*args) - - def readFieldDescriptions(*args): - """ - readFieldDescriptions(self, SoInput input, SoFieldContainer object, int numdescriptionsexpected, - SbBool readfieldvalues=1) -> SbBool - readFieldDescriptions(self, SoInput input, SoFieldContainer object, int numdescriptionsexpected) -> SbBool - """ - return _coin.SoFieldData_readFieldDescriptions(*args) - - def writeFieldDescriptions(*args): - """writeFieldDescriptions(self, SoOutput out, SoFieldContainer object)""" - return _coin.SoFieldData_writeFieldDescriptions(*args) - -SoFieldData_swigregister = _coin.SoFieldData_swigregister -SoFieldData_swigregister(SoFieldData) - -class SoFieldContainer(SoBase): - """Proxy of C++ SoFieldContainer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoFieldContainer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFieldContainer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoFieldContainer_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def setToDefaults(*args): - """setToDefaults(self)""" - return _coin.SoFieldContainer_setToDefaults(*args) - - def hasDefaultValues(*args): - """hasDefaultValues(self) -> SbBool""" - return _coin.SoFieldContainer_hasDefaultValues(*args) - - def fieldsAreEqual(*args): - """fieldsAreEqual(self, SoFieldContainer container) -> SbBool""" - return _coin.SoFieldContainer_fieldsAreEqual(*args) - - def copyFieldValues(*args): - """ - copyFieldValues(self, SoFieldContainer container, SbBool copyconnections=0) - copyFieldValues(self, SoFieldContainer container) - """ - return _coin.SoFieldContainer_copyFieldValues(*args) - - def getFields(*args): - """getFields(self, SoFieldList l) -> int""" - return _coin.SoFieldContainer_getFields(*args) - - def getAllFields(*args): - """getAllFields(self, SoFieldList l) -> int""" - return _coin.SoFieldContainer_getAllFields(*args) - - def getField(*args): - """getField(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getField(*args) - - def getEventIn(*args): - """getEventIn(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getEventIn(*args) - - def getEventOut(*args): - """getEventOut(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getEventOut(*args) - - def enableNotify(*args): - """enableNotify(self, SbBool flag) -> SbBool""" - return _coin.SoFieldContainer_enableNotify(*args) - - def isNotifyEnabled(*args): - """isNotifyEnabled(self) -> SbBool""" - return _coin.SoFieldContainer_isNotifyEnabled(*args) - - def set(*args): - """ - set(self, char fielddata) -> SbBool - set(self, char fielddata, SoInput input) -> SbBool - """ - return _coin.SoFieldContainer_set(*args) - - def get(*args): - """ - get(self, SbString fielddata) - get(self, SbString fielddata, SoOutput out) - """ - return _coin.SoFieldContainer_get(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoFieldContainer_notify(*args) - - def validateNewFieldValue(*args): - """validateNewFieldValue(self, SoField field, void newval) -> SbBool""" - return _coin.SoFieldContainer_validateNewFieldValue(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoFieldContainer_addWriteReference(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoFieldContainer_writeInstance(*args) - - def getIsBuiltIn(*args): - """getIsBuiltIn(self) -> SbBool""" - return _coin.SoFieldContainer_getIsBuiltIn(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoFieldContainer_getFieldData(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFieldContainer_copyContents(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoFieldContainer_copyThroughConnection(*args) - - def initCopyDict(*args): - """initCopyDict()""" - return _coin.SoFieldContainer_initCopyDict(*args) - - initCopyDict = staticmethod(initCopyDict) - def addCopy(*args): - """addCopy(SoFieldContainer orig, SoFieldContainer copy)""" - return _coin.SoFieldContainer_addCopy(*args) - - addCopy = staticmethod(addCopy) - def checkCopy(*args): - """checkCopy(SoFieldContainer orig) -> SoFieldContainer""" - return _coin.SoFieldContainer_checkCopy(*args) - - checkCopy = staticmethod(checkCopy) - def findCopy(*args): - """findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer""" - return _coin.SoFieldContainer_findCopy(*args) - - findCopy = staticmethod(findCopy) - def copyDone(*args): - """copyDone()""" - return _coin.SoFieldContainer_copyDone(*args) - - copyDone = staticmethod(copyDone) - def getFieldsMemorySize(*args): - """getFieldsMemorySize(self, size_t managed, size_t unmanaged)""" - return _coin.SoFieldContainer_getFieldsMemorySize(*args) - - def setUserData(*args): - """setUserData(self, void userdata)""" - return _coin.SoFieldContainer_setUserData(*args) - - def getUserData(*args): - """getUserData(self) -> void""" - return _coin.SoFieldContainer_getUserData(*args) - - def getFieldName(*args): - """ - getFieldName(self, SoField field, SbName name) -> SbBool - getFieldName(self, SoField field) -> PyObject - """ - return _coin.SoFieldContainer_getFieldName(*args) - - def __getattr__(self, name): - try: - return SoBase.__getattribute__(self, name) - except AttributeError, e: - field = self.getField(name) - if field is None: - raise e - return field - - def __setattr__(self, name, value): - # I don't understand why we need this, but otherwise it does not work :/ - if name == 'this': - return SoBase.__setattr__(self, name, value) - field = self.getField(name) - if field is None: - return SoBase.__setattr__(self, name, value) - field.setValue(value) - return field - -SoFieldContainer_swigregister = _coin.SoFieldContainer_swigregister -SoFieldContainer_swigregister(SoFieldContainer) - -def SoFieldContainer_initClass(*args): - """SoFieldContainer_initClass()""" - return _coin.SoFieldContainer_initClass(*args) - -def SoFieldContainer_getClassTypeId(*args): - """SoFieldContainer_getClassTypeId() -> SoType""" - return _coin.SoFieldContainer_getClassTypeId(*args) - -def SoFieldContainer_cleanupClass(*args): - """SoFieldContainer_cleanupClass()""" - return _coin.SoFieldContainer_cleanupClass(*args) - -def SoFieldContainer_initCopyDict(*args): - """SoFieldContainer_initCopyDict()""" - return _coin.SoFieldContainer_initCopyDict(*args) - -def SoFieldContainer_addCopy(*args): - """SoFieldContainer_addCopy(SoFieldContainer orig, SoFieldContainer copy)""" - return _coin.SoFieldContainer_addCopy(*args) - -def SoFieldContainer_checkCopy(*args): - """SoFieldContainer_checkCopy(SoFieldContainer orig) -> SoFieldContainer""" - return _coin.SoFieldContainer_checkCopy(*args) - -def SoFieldContainer_findCopy(*args): - """SoFieldContainer_findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer""" - return _coin.SoFieldContainer_findCopy(*args) - -def SoFieldContainer_copyDone(*args): - """SoFieldContainer_copyDone()""" - return _coin.SoFieldContainer_copyDone(*args) - -class SoNode(SoFieldContainer): - """Proxy of C++ SoNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - FIRST_INSTANCE = _coin.SoNode_FIRST_INSTANCE - PROTO_INSTANCE = _coin.SoNode_PROTO_INSTANCE - OTHER_INSTANCE = _coin.SoNode_OTHER_INSTANCE - def setOverride(*args): - """setOverride(self, SbBool state)""" - return _coin.SoNode_setOverride(*args) - - def isOverride(*args): - """isOverride(self) -> SbBool""" - return _coin.SoNode_isOverride(*args) - - INVENTOR = _coin.SoNode_INVENTOR - VRML1 = _coin.SoNode_VRML1 - VRML2 = _coin.SoNode_VRML2 - INVENTOR_1 = _coin.SoNode_INVENTOR_1 - INVENTOR_2_0 = _coin.SoNode_INVENTOR_2_0 - INVENTOR_2_1 = _coin.SoNode_INVENTOR_2_1 - INVENTOR_2_5 = _coin.SoNode_INVENTOR_2_5 - INVENTOR_2_6 = _coin.SoNode_INVENTOR_2_6 - COIN_1_0 = _coin.SoNode_COIN_1_0 - COIN_2_0 = _coin.SoNode_COIN_2_0 - EXTENSION = _coin.SoNode_EXTENSION - COIN_2_2 = _coin.SoNode_COIN_2_2 - COIN_2_3 = _coin.SoNode_COIN_2_3 - COIN_2_4 = _coin.SoNode_COIN_2_4 - INVENTOR_5_0 = _coin.SoNode_INVENTOR_5_0 - COIN_2_5 = _coin.SoNode_COIN_2_5 - COIN_3_0 = _coin.SoNode_COIN_3_0 - INVENTOR_6_0 = _coin.SoNode_INVENTOR_6_0 - def getCompatibilityTypes(*args): - """getCompatibilityTypes(SoType nodetype) -> uint32_t""" - return _coin.SoNode_getCompatibilityTypes(*args) - - getCompatibilityTypes = staticmethod(getCompatibilityTypes) - def setNodeType(*args): - """setNodeType(self, NodeType type)""" - return _coin.SoNode_setNodeType(*args) - - def getNodeType(*args): - """getNodeType(self) -> NodeType""" - return _coin.SoNode_getNodeType(*args) - - def copy(*args): - """ - copy(self, SbBool copyconnections=0) -> SoNode - copy(self) -> SoNode - """ - return _coin.SoNode_copy(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoNode_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNode_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderOffPath(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNode_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNode_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoNode_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoNode_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNode_pick(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNode_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoNode_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoNode_write(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoNode_audioRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNode_getPrimitiveCount(*args) - - def grabEventsSetup(*args): - """grabEventsSetup(self)""" - return _coin.SoNode_grabEventsSetup(*args) - - def grabEventsCleanup(*args): - """grabEventsCleanup(self)""" - return _coin.SoNode_grabEventsCleanup(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoNode_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoNode_notify(*args) - - def getNodeId(*args): - """getNodeId(self) -> uint32_t""" - return _coin.SoNode_getNodeId(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoNode_getChildren(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoNode_writeInstance(*args) - - def addToCopyDict(*args): - """addToCopyDict(self) -> SoNode""" - return _coin.SoNode_addToCopyDict(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoNode_copyContents(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoNode_copyThroughConnection(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getByName(*args): - """ - getByName(SbName name) -> SoNode - getByName(SbName name, SoNodeList l) -> int - """ - return _coin.SoNode_getByName(*args) - - getByName = staticmethod(getByName) - def initClass(*args): - """initClass()""" - return _coin.SoNode_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoNode_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getNextNodeId(*args): - """getNextNodeId() -> uint32_t""" - return _coin.SoNode_getNextNodeId(*args) - - getNextNodeId = staticmethod(getNextNodeId) - def getActionMethodIndex(*args): - """getActionMethodIndex(SoType type) -> int""" - return _coin.SoNode_getActionMethodIndex(*args) - - getActionMethodIndex = staticmethod(getActionMethodIndex) - def getBoundingBoxS(*args): - """getBoundingBoxS(SoAction action, SoNode node)""" - return _coin.SoNode_getBoundingBoxS(*args) - - getBoundingBoxS = staticmethod(getBoundingBoxS) - def GLRenderS(*args): - """GLRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_GLRenderS(*args) - - GLRenderS = staticmethod(GLRenderS) - def callbackS(*args): - """callbackS(SoAction action, SoNode node)""" - return _coin.SoNode_callbackS(*args) - - callbackS = staticmethod(callbackS) - def getMatrixS(*args): - """getMatrixS(SoAction action, SoNode node)""" - return _coin.SoNode_getMatrixS(*args) - - getMatrixS = staticmethod(getMatrixS) - def handleEventS(*args): - """handleEventS(SoAction action, SoNode node)""" - return _coin.SoNode_handleEventS(*args) - - handleEventS = staticmethod(handleEventS) - def pickS(*args): - """pickS(SoAction action, SoNode node)""" - return _coin.SoNode_pickS(*args) - - pickS = staticmethod(pickS) - def rayPickS(*args): - """rayPickS(SoAction action, SoNode node)""" - return _coin.SoNode_rayPickS(*args) - - rayPickS = staticmethod(rayPickS) - def searchS(*args): - """searchS(SoAction action, SoNode node)""" - return _coin.SoNode_searchS(*args) - - searchS = staticmethod(searchS) - def writeS(*args): - """writeS(SoAction action, SoNode node)""" - return _coin.SoNode_writeS(*args) - - writeS = staticmethod(writeS) - def audioRenderS(*args): - """audioRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_audioRenderS(*args) - - audioRenderS = staticmethod(audioRenderS) - def getPrimitiveCountS(*args): - """getPrimitiveCountS(SoAction action, SoNode node)""" - return _coin.SoNode_getPrimitiveCountS(*args) - - getPrimitiveCountS = staticmethod(getPrimitiveCountS) -SoNode_swigregister = _coin.SoNode_swigregister -SoNode_swigregister(SoNode) - -def SoNode_getCompatibilityTypes(*args): - """SoNode_getCompatibilityTypes(SoType nodetype) -> uint32_t""" - return _coin.SoNode_getCompatibilityTypes(*args) - -def SoNode_getClassTypeId(*args): - """SoNode_getClassTypeId() -> SoType""" - return _coin.SoNode_getClassTypeId(*args) - -def SoNode_getByName(*args): - """ - getByName(SbName name) -> SoNode - SoNode_getByName(SbName name, SoNodeList l) -> int - """ - return _coin.SoNode_getByName(*args) - -def SoNode_initClass(*args): - """SoNode_initClass()""" - return _coin.SoNode_initClass(*args) - -def SoNode_initClasses(*args): - """SoNode_initClasses()""" - return _coin.SoNode_initClasses(*args) - -def SoNode_getNextNodeId(*args): - """SoNode_getNextNodeId() -> uint32_t""" - return _coin.SoNode_getNextNodeId(*args) - -def SoNode_getActionMethodIndex(*args): - """SoNode_getActionMethodIndex(SoType type) -> int""" - return _coin.SoNode_getActionMethodIndex(*args) - -def SoNode_getBoundingBoxS(*args): - """SoNode_getBoundingBoxS(SoAction action, SoNode node)""" - return _coin.SoNode_getBoundingBoxS(*args) - -def SoNode_GLRenderS(*args): - """SoNode_GLRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_GLRenderS(*args) - -def SoNode_callbackS(*args): - """SoNode_callbackS(SoAction action, SoNode node)""" - return _coin.SoNode_callbackS(*args) - -def SoNode_getMatrixS(*args): - """SoNode_getMatrixS(SoAction action, SoNode node)""" - return _coin.SoNode_getMatrixS(*args) - -def SoNode_handleEventS(*args): - """SoNode_handleEventS(SoAction action, SoNode node)""" - return _coin.SoNode_handleEventS(*args) - -def SoNode_pickS(*args): - """SoNode_pickS(SoAction action, SoNode node)""" - return _coin.SoNode_pickS(*args) - -def SoNode_rayPickS(*args): - """SoNode_rayPickS(SoAction action, SoNode node)""" - return _coin.SoNode_rayPickS(*args) - -def SoNode_searchS(*args): - """SoNode_searchS(SoAction action, SoNode node)""" - return _coin.SoNode_searchS(*args) - -def SoNode_writeS(*args): - """SoNode_writeS(SoAction action, SoNode node)""" - return _coin.SoNode_writeS(*args) - -def SoNode_audioRenderS(*args): - """SoNode_audioRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_audioRenderS(*args) - -def SoNode_getPrimitiveCountS(*args): - """SoNode_getPrimitiveCountS(SoAction action, SoNode node)""" - return _coin.SoNode_getPrimitiveCountS(*args) - -class SoSensorManager(object): - """Proxy of C++ SoSensorManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSensorManager""" - this = _coin.new_SoSensorManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSensorManager - __del__ = lambda self : None; - def insertDelaySensor(*args): - """insertDelaySensor(self, SoDelayQueueSensor s)""" - return _coin.SoSensorManager_insertDelaySensor(*args) - - def insertTimerSensor(*args): - """insertTimerSensor(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_insertTimerSensor(*args) - - def removeDelaySensor(*args): - """removeDelaySensor(self, SoDelayQueueSensor s)""" - return _coin.SoSensorManager_removeDelaySensor(*args) - - def removeTimerSensor(*args): - """removeTimerSensor(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_removeTimerSensor(*args) - - def rescheduleTimer(*args): - """rescheduleTimer(self, SoTimerSensor s)""" - return _coin.SoSensorManager_rescheduleTimer(*args) - - def removeRescheduledTimer(*args): - """removeRescheduledTimer(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_removeRescheduledTimer(*args) - - def processDelayQueue(*args): - """processDelayQueue(self, SbBool isidle)""" - return _coin.SoSensorManager_processDelayQueue(*args) - - def processImmediateQueue(*args): - """processImmediateQueue(self)""" - return _coin.SoSensorManager_processImmediateQueue(*args) - - def processTimerQueue(*args): - """processTimerQueue(self)""" - return _coin.SoSensorManager_processTimerQueue(*args) - - def isDelaySensorPending(*args): - """isDelaySensorPending(self) -> SbBool""" - return _coin.SoSensorManager_isDelaySensorPending(*args) - - def setDelaySensorTimeout(*args): - """setDelaySensorTimeout(self, SbTime t)""" - return _coin.SoSensorManager_setDelaySensorTimeout(*args) - - def getDelaySensorTimeout(*args): - """getDelaySensorTimeout(self) -> SbTime""" - return _coin.SoSensorManager_getDelaySensorTimeout(*args) - - def doSelect(*args): - """ - doSelect(self, int nfds, void readfds, void writefds, void exceptfds, - timeval userTimeOut) -> int - """ - return _coin.SoSensorManager_doSelect(*args) - - def setChangedCallback(*args): - """ - setChangedCallback(self, void sensorQueueChangedCB, void data) - setChangedCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoSensorManager_setChangedCallback(*args) - - def isTimerSensorPending(*args): - """ - isTimerSensorPending(self, SbTime tm) -> SbBool - isTimerSensorPending(self) -> PyObject - """ - return _coin.SoSensorManager_isTimerSensorPending(*args) - -SoSensorManager_swigregister = _coin.SoSensorManager_swigregister -SoSensorManager_swigregister(SoSensorManager) - -class SoDB(object): - """Proxy of C++ SoDB class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoDB_init(*args) - - init = staticmethod(init) - def finish(*args): - """finish()""" - return _coin.SoDB_finish(*args) - - finish = staticmethod(finish) - def cleanup(*args): - """cleanup()""" - return _coin.SoDB_cleanup(*args) - - cleanup = staticmethod(cleanup) - def getVersion(*args): - """getVersion() -> char""" - return _coin.SoDB_getVersion(*args) - - getVersion = staticmethod(getVersion) - def read(*args): - """ - read(SoInput input, SoPath path) -> SbBool - read(SoInput input, SoBase base) -> SbBool - read(SoInput input, SoNode rootnode) -> SbBool - """ - return _coin.SoDB_read(*args) - - read = staticmethod(read) - def readAll(*args): - """readAll(SoInput input) -> SoSeparator""" - return _coin.SoDB_readAll(*args) - - readAll = staticmethod(readAll) - def readAllVRML(*args): - """readAllVRML(SoInput input) -> SoVRMLGroup""" - return _coin.SoDB_readAllVRML(*args) - - readAllVRML = staticmethod(readAllVRML) - def isValidHeader(*args): - """isValidHeader(char teststring) -> SbBool""" - return _coin.SoDB_isValidHeader(*args) - - isValidHeader = staticmethod(isValidHeader) - def registerHeader(*args): - """ - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata=None) -> SbBool - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool - """ - return _coin.SoDB_registerHeader(*args) - - registerHeader = staticmethod(registerHeader) - def getHeaderData(*args): - """ - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata, SbBool substringok=0) -> SbBool - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata) -> SbBool - """ - return _coin.SoDB_getHeaderData(*args) - - getHeaderData = staticmethod(getHeaderData) - def getNumHeaders(*args): - """getNumHeaders() -> int""" - return _coin.SoDB_getNumHeaders(*args) - - getNumHeaders = staticmethod(getNumHeaders) - def getHeaderString(*args): - """getHeaderString(int i) -> SbString""" - return _coin.SoDB_getHeaderString(*args) - - getHeaderString = staticmethod(getHeaderString) - def createGlobalField(*args): - """createGlobalField(SbName name, SoType type) -> SoField""" - return _coin.SoDB_createGlobalField(*args) - - createGlobalField = staticmethod(createGlobalField) - def getGlobalField(*args): - """getGlobalField(SbName name) -> SoField""" - return _coin.SoDB_getGlobalField(*args) - - getGlobalField = staticmethod(getGlobalField) - def renameGlobalField(*args): - """renameGlobalField(SbName from, SbName to)""" - return _coin.SoDB_renameGlobalField(*args) - - renameGlobalField = staticmethod(renameGlobalField) - def setRealTimeInterval(*args): - """setRealTimeInterval(SbTime interval)""" - return _coin.SoDB_setRealTimeInterval(*args) - - setRealTimeInterval = staticmethod(setRealTimeInterval) - def getRealTimeInterval(*args): - """getRealTimeInterval() -> SbTime""" - return _coin.SoDB_getRealTimeInterval(*args) - - getRealTimeInterval = staticmethod(getRealTimeInterval) - def enableRealTimeSensor(*args): - """enableRealTimeSensor(SbBool on)""" - return _coin.SoDB_enableRealTimeSensor(*args) - - enableRealTimeSensor = staticmethod(enableRealTimeSensor) - def getSensorManager(*args): - """getSensorManager() -> SoSensorManager""" - return _coin.SoDB_getSensorManager(*args) - - getSensorManager = staticmethod(getSensorManager) - def setDelaySensorTimeout(*args): - """setDelaySensorTimeout(SbTime t)""" - return _coin.SoDB_setDelaySensorTimeout(*args) - - setDelaySensorTimeout = staticmethod(setDelaySensorTimeout) - def getDelaySensorTimeout(*args): - """getDelaySensorTimeout() -> SbTime""" - return _coin.SoDB_getDelaySensorTimeout(*args) - - getDelaySensorTimeout = staticmethod(getDelaySensorTimeout) - def doSelect(*args): - """ - doSelect(int nfds, void readfds, void writefds, void exceptfds, - timeval usertimeout) -> int - """ - return _coin.SoDB_doSelect(*args) - - doSelect = staticmethod(doSelect) - def addConverter(*args): - """addConverter(SoType from, SoType to, SoType converter)""" - return _coin.SoDB_addConverter(*args) - - addConverter = staticmethod(addConverter) - def getConverter(*args): - """getConverter(SoType from, SoType to) -> SoType""" - return _coin.SoDB_getConverter(*args) - - getConverter = staticmethod(getConverter) - def isInitialized(*args): - """isInitialized() -> SbBool""" - return _coin.SoDB_isInitialized(*args) - - isInitialized = staticmethod(isInitialized) - def startNotify(*args): - """startNotify()""" - return _coin.SoDB_startNotify(*args) - - startNotify = staticmethod(startNotify) - def isNotifying(*args): - """isNotifying() -> SbBool""" - return _coin.SoDB_isNotifying(*args) - - isNotifying = staticmethod(isNotifying) - def endNotify(*args): - """endNotify()""" - return _coin.SoDB_endNotify(*args) - - endNotify = staticmethod(endNotify) - def addProgressCallback(*args): - """addProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_addProgressCallback(*args) - - addProgressCallback = staticmethod(addProgressCallback) - def removeProgressCallback(*args): - """removeProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_removeProgressCallback(*args) - - removeProgressCallback = staticmethod(removeProgressCallback) - def isMultiThread(*args): - """isMultiThread() -> SbBool""" - return _coin.SoDB_isMultiThread(*args) - - isMultiThread = staticmethod(isMultiThread) - def readlock(*args): - """readlock()""" - return _coin.SoDB_readlock(*args) - - readlock = staticmethod(readlock) - def readunlock(*args): - """readunlock()""" - return _coin.SoDB_readunlock(*args) - - readunlock = staticmethod(readunlock) - def writelock(*args): - """writelock()""" - return _coin.SoDB_writelock(*args) - - writelock = staticmethod(writelock) - def writeunlock(*args): - """writeunlock()""" - return _coin.SoDB_writeunlock(*args) - - writeunlock = staticmethod(writeunlock) - def createRoute(*args): - """createRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_createRoute(*args) - - createRoute = staticmethod(createRoute) - def removeRoute(*args): - """removeRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_removeRoute(*args) - - removeRoute = staticmethod(removeRoute) - def __init__(self, *args): - """__init__(self) -> SoDB""" - this = _coin.new_SoDB(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDB - __del__ = lambda self : None; -SoDB_swigregister = _coin.SoDB_swigregister -SoDB_swigregister(SoDB) - -def SoDB_init(*args): - """SoDB_init()""" - return _coin.SoDB_init(*args) - -def SoDB_finish(*args): - """SoDB_finish()""" - return _coin.SoDB_finish(*args) - -def SoDB_cleanup(*args): - """SoDB_cleanup()""" - return _coin.SoDB_cleanup(*args) - -def SoDB_getVersion(*args): - """SoDB_getVersion() -> char""" - return _coin.SoDB_getVersion(*args) - -def SoDB_read(*args): - """ - read(SoInput input, SoPath path) -> SbBool - read(SoInput input, SoBase base) -> SbBool - SoDB_read(SoInput input, SoNode rootnode) -> SbBool - """ - return _coin.SoDB_read(*args) - -def SoDB_readAll(*args): - """SoDB_readAll(SoInput input) -> SoSeparator""" - return _coin.SoDB_readAll(*args) - -def SoDB_readAllVRML(*args): - """SoDB_readAllVRML(SoInput input) -> SoVRMLGroup""" - return _coin.SoDB_readAllVRML(*args) - -def SoDB_isValidHeader(*args): - """SoDB_isValidHeader(char teststring) -> SbBool""" - return _coin.SoDB_isValidHeader(*args) - -def SoDB_registerHeader(*args): - """ - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata=None) -> SbBool - SoDB_registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool - """ - return _coin.SoDB_registerHeader(*args) - -def SoDB_getHeaderData(*args): - """ - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata, SbBool substringok=0) -> SbBool - SoDB_getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata) -> SbBool - """ - return _coin.SoDB_getHeaderData(*args) - -def SoDB_getNumHeaders(*args): - """SoDB_getNumHeaders() -> int""" - return _coin.SoDB_getNumHeaders(*args) - -def SoDB_getHeaderString(*args): - """SoDB_getHeaderString(int i) -> SbString""" - return _coin.SoDB_getHeaderString(*args) - -def SoDB_createGlobalField(*args): - """SoDB_createGlobalField(SbName name, SoType type) -> SoField""" - return _coin.SoDB_createGlobalField(*args) - -def SoDB_getGlobalField(*args): - """SoDB_getGlobalField(SbName name) -> SoField""" - return _coin.SoDB_getGlobalField(*args) - -def SoDB_renameGlobalField(*args): - """SoDB_renameGlobalField(SbName from, SbName to)""" - return _coin.SoDB_renameGlobalField(*args) - -def SoDB_setRealTimeInterval(*args): - """SoDB_setRealTimeInterval(SbTime interval)""" - return _coin.SoDB_setRealTimeInterval(*args) - -def SoDB_getRealTimeInterval(*args): - """SoDB_getRealTimeInterval() -> SbTime""" - return _coin.SoDB_getRealTimeInterval(*args) - -def SoDB_enableRealTimeSensor(*args): - """SoDB_enableRealTimeSensor(SbBool on)""" - return _coin.SoDB_enableRealTimeSensor(*args) - -def SoDB_getSensorManager(*args): - """SoDB_getSensorManager() -> SoSensorManager""" - return _coin.SoDB_getSensorManager(*args) - -def SoDB_setDelaySensorTimeout(*args): - """SoDB_setDelaySensorTimeout(SbTime t)""" - return _coin.SoDB_setDelaySensorTimeout(*args) - -def SoDB_getDelaySensorTimeout(*args): - """SoDB_getDelaySensorTimeout() -> SbTime""" - return _coin.SoDB_getDelaySensorTimeout(*args) - -def SoDB_doSelect(*args): - """ - SoDB_doSelect(int nfds, void readfds, void writefds, void exceptfds, - timeval usertimeout) -> int - """ - return _coin.SoDB_doSelect(*args) - -def SoDB_addConverter(*args): - """SoDB_addConverter(SoType from, SoType to, SoType converter)""" - return _coin.SoDB_addConverter(*args) - -def SoDB_getConverter(*args): - """SoDB_getConverter(SoType from, SoType to) -> SoType""" - return _coin.SoDB_getConverter(*args) - -def SoDB_isInitialized(*args): - """SoDB_isInitialized() -> SbBool""" - return _coin.SoDB_isInitialized(*args) - -def SoDB_startNotify(*args): - """SoDB_startNotify()""" - return _coin.SoDB_startNotify(*args) - -def SoDB_isNotifying(*args): - """SoDB_isNotifying() -> SbBool""" - return _coin.SoDB_isNotifying(*args) - -def SoDB_endNotify(*args): - """SoDB_endNotify()""" - return _coin.SoDB_endNotify(*args) - -def SoDB_addProgressCallback(*args): - """SoDB_addProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_addProgressCallback(*args) - -def SoDB_removeProgressCallback(*args): - """SoDB_removeProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_removeProgressCallback(*args) - -def SoDB_isMultiThread(*args): - """SoDB_isMultiThread() -> SbBool""" - return _coin.SoDB_isMultiThread(*args) - -def SoDB_readlock(*args): - """SoDB_readlock()""" - return _coin.SoDB_readlock(*args) - -def SoDB_readunlock(*args): - """SoDB_readunlock()""" - return _coin.SoDB_readunlock(*args) - -def SoDB_writelock(*args): - """SoDB_writelock()""" - return _coin.SoDB_writelock(*args) - -def SoDB_writeunlock(*args): - """SoDB_writeunlock()""" - return _coin.SoDB_writeunlock(*args) - -def SoDB_createRoute(*args): - """SoDB_createRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_createRoute(*args) - -def SoDB_removeRoute(*args): - """SoDB_removeRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_removeRoute(*args) - -class SoInput(object): - """Proxy of C++ SoInput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoInput - __init__(self, SoInput dictIn) -> SoInput - """ - this = _coin.new_SoInput(*args) - try: self.this.append(this) - except: self.this = this - def findProto(*args): - """findProto(self, SbName name) -> SoProto""" - return _coin.SoInput_findProto(*args) - - def addProto(*args): - """addProto(self, SoProto proto)""" - return _coin.SoInput_addProto(*args) - - def pushProto(*args): - """pushProto(self, SoProto proto)""" - return _coin.SoInput_pushProto(*args) - - def getCurrentProto(*args): - """getCurrentProto(self) -> SoProto""" - return _coin.SoInput_getCurrentProto(*args) - - def popProto(*args): - """popProto(self)""" - return _coin.SoInput_popProto(*args) - - def addRoute(*args): - """addRoute(self, SbName fromnode, SbName fromfield, SbName tonode, SbName tofield)""" - return _coin.SoInput_addRoute(*args) - - def checkISReference(*args): - """checkISReference(self, SoFieldContainer container, SbName fieldname, SbBool readok) -> SbBool""" - return _coin.SoInput_checkISReference(*args) - - __swig_destroy__ = _coin.delete_SoInput - __del__ = lambda self : None; - def setFilePointer(*args): - """setFilePointer(self, FILE newFP)""" - return _coin.SoInput_setFilePointer(*args) - - def openFile(*args): - """ - openFile(self, char fileName, SbBool okIfNotFound=0) -> SbBool - openFile(self, char fileName) -> SbBool - """ - return _coin.SoInput_openFile(*args) - - def pushFile(*args): - """pushFile(self, char fileName) -> SbBool""" - return _coin.SoInput_pushFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoInput_closeFile(*args) - - def isValidFile(*args): - """isValidFile(self) -> SbBool""" - return _coin.SoInput_isValidFile(*args) - - def isValidBuffer(*args): - """isValidBuffer(self) -> SbBool""" - return _coin.SoInput_isValidBuffer(*args) - - def getCurFile(*args): - """getCurFile(self) -> FILE""" - return _coin.SoInput_getCurFile(*args) - - def getCurFileName(*args): - """getCurFileName(self) -> char""" - return _coin.SoInput_getCurFileName(*args) - - def setBuffer(*args): - """setBuffer(self, void bufpointer)""" - return _coin.SoInput_setBuffer(*args) - - def setStringArray(*args): - """setStringArray(self, char strings)""" - return _coin.SoInput_setStringArray(*args) - - def getNumBytesRead(*args): - """getNumBytesRead(self) -> size_t""" - return _coin.SoInput_getNumBytesRead(*args) - - def getHeader(*args): - """getHeader(self) -> SbString""" - return _coin.SoInput_getHeader(*args) - - def getIVVersion(*args): - """getIVVersion(self) -> float""" - return _coin.SoInput_getIVVersion(*args) - - def isBinary(*args): - """isBinary(self) -> SbBool""" - return _coin.SoInput_isBinary(*args) - - def get(*args): - """get(self, char c) -> SbBool""" - return _coin.SoInput_get(*args) - - def getASCIIBuffer(*args): - """getASCIIBuffer(self, char c) -> SbBool""" - return _coin.SoInput_getASCIIBuffer(*args) - - def getASCIIFile(*args): - """getASCIIFile(self, char c) -> SbBool""" - return _coin.SoInput_getASCIIFile(*args) - - def readHex(*args): - """readHex(self, uint32_t l) -> SbBool""" - return _coin.SoInput_readHex(*args) - - def read(*args): - """ - read(self, char c) -> SbBool - read(self, char c, SbBool skip) -> SbBool - read(self, SbString s) -> SbBool - read(self, SbName n, SbBool validIdent=0) -> SbBool - read(self, SbName n) -> SbBool - read(self, int i) -> SbBool - read(self, unsigned int i) -> SbBool - read(self, short s) -> SbBool - read(self, unsigned short s) -> SbBool - read(self, float f) -> SbBool - read(self, double d) -> SbBool - """ - return _coin.SoInput_read(*args) - - def readByte(*args): - """ - readByte(self, int8_t b) -> SbBool - readByte(self, uint8_t b) -> SbBool - """ - return _coin.SoInput_readByte(*args) - - def readBinaryArray(*args): - """ - readBinaryArray(self, unsigned char c, int length) -> SbBool - readBinaryArray(self, int32_t l, int length) -> SbBool - readBinaryArray(self, float f, int length) -> SbBool - readBinaryArray(self, double d, int length) -> SbBool - """ - return _coin.SoInput_readBinaryArray(*args) - - def eof(*args): - """eof(self) -> SbBool""" - return _coin.SoInput_eof(*args) - - def isFileVRML1(*args): - """isFileVRML1(self) -> SbBool""" - return _coin.SoInput_isFileVRML1(*args) - - def isFileVRML2(*args): - """isFileVRML2(self) -> SbBool""" - return _coin.SoInput_isFileVRML2(*args) - - def resetFilePointer(*args): - """resetFilePointer(self, FILE fptr)""" - return _coin.SoInput_resetFilePointer(*args) - - def getLocationString(*args): - """getLocationString(self, SbString string)""" - return _coin.SoInput_getLocationString(*args) - - def putBack(*args): - """ - putBack(self, char c) - putBack(self, char str) - """ - return _coin.SoInput_putBack(*args) - - def addReference(*args): - """ - addReference(self, SbName name, SoBase base, SbBool addToGlobalDict=1) - addReference(self, SbName name, SoBase base) - """ - return _coin.SoInput_addReference(*args) - - def removeReference(*args): - """removeReference(self, SbName name)""" - return _coin.SoInput_removeReference(*args) - - def findReference(*args): - """findReference(self, SbName name) -> SoBase""" - return _coin.SoInput_findReference(*args) - - def addDirectoryFirst(*args): - """addDirectoryFirst(char dirName)""" - return _coin.SoInput_addDirectoryFirst(*args) - - addDirectoryFirst = staticmethod(addDirectoryFirst) - def addDirectoryLast(*args): - """addDirectoryLast(char dirName)""" - return _coin.SoInput_addDirectoryLast(*args) - - addDirectoryLast = staticmethod(addDirectoryLast) - def addEnvDirectoriesFirst(*args): - """ - addEnvDirectoriesFirst(char envVarName, char separator=":\t ") - addEnvDirectoriesFirst(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesFirst(*args) - - addEnvDirectoriesFirst = staticmethod(addEnvDirectoriesFirst) - def addEnvDirectoriesLast(*args): - """ - addEnvDirectoriesLast(char envVarName, char separator=":\t ") - addEnvDirectoriesLast(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesLast(*args) - - addEnvDirectoriesLast = staticmethod(addEnvDirectoriesLast) - def removeDirectory(*args): - """removeDirectory(char dirName)""" - return _coin.SoInput_removeDirectory(*args) - - removeDirectory = staticmethod(removeDirectory) - def clearDirectories(*args): - """clearDirectories()""" - return _coin.SoInput_clearDirectories(*args) - - clearDirectories = staticmethod(clearDirectories) - def getDirectories(*args): - """getDirectories() -> SbStringList""" - return _coin.SoInput_getDirectories(*args) - - getDirectories = staticmethod(getDirectories) - def init(*args): - """init()""" - return _coin.SoInput_init(*args) - - init = staticmethod(init) - def getPathname(*args): - """ - getPathname(char filename) -> SbString - getPathname(SbString s) -> SbString - """ - return _coin.SoInput_getPathname(*args) - - getPathname = staticmethod(getPathname) - def getBasename(*args): - """ - getBasename(char filename) -> SbString - getBasename(SbString s) -> SbString - """ - return _coin.SoInput_getBasename(*args) - - getBasename = staticmethod(getBasename) - def searchForFile(*args): - """searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString""" - return _coin.SoInput_searchForFile(*args) - - searchForFile = staticmethod(searchForFile) -SoInput_swigregister = _coin.SoInput_swigregister -SoInput_swigregister(SoInput) - -def SoInput_addDirectoryFirst(*args): - """SoInput_addDirectoryFirst(char dirName)""" - return _coin.SoInput_addDirectoryFirst(*args) - -def SoInput_addDirectoryLast(*args): - """SoInput_addDirectoryLast(char dirName)""" - return _coin.SoInput_addDirectoryLast(*args) - -def SoInput_addEnvDirectoriesFirst(*args): - """ - addEnvDirectoriesFirst(char envVarName, char separator=":\t ") - SoInput_addEnvDirectoriesFirst(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesFirst(*args) - -def SoInput_addEnvDirectoriesLast(*args): - """ - addEnvDirectoriesLast(char envVarName, char separator=":\t ") - SoInput_addEnvDirectoriesLast(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesLast(*args) - -def SoInput_removeDirectory(*args): - """SoInput_removeDirectory(char dirName)""" - return _coin.SoInput_removeDirectory(*args) - -def SoInput_clearDirectories(*args): - """SoInput_clearDirectories()""" - return _coin.SoInput_clearDirectories(*args) - -def SoInput_getDirectories(*args): - """SoInput_getDirectories() -> SbStringList""" - return _coin.SoInput_getDirectories(*args) - -def SoInput_init(*args): - """SoInput_init()""" - return _coin.SoInput_init(*args) - -def SoInput_getPathname(*args): - """ - getPathname(char filename) -> SbString - SoInput_getPathname(SbString s) -> SbString - """ - return _coin.SoInput_getPathname(*args) - -def SoInput_getBasename(*args): - """ - getBasename(char filename) -> SbString - SoInput_getBasename(SbString s) -> SbString - """ - return _coin.SoInput_getBasename(*args) - -def SoInput_searchForFile(*args): - """SoInput_searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString""" - return _coin.SoInput_searchForFile(*args) - -class SoOutput(object): - """Proxy of C++ SoOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - COUNT_REFS = _coin.SoOutput_COUNT_REFS - WRITE = _coin.SoOutput_WRITE - ADDRESSES = _coin.SoOutput_ADDRESSES - REF_COUNTS = _coin.SoOutput_REF_COUNTS - def __init__(self, *args): - """ - __init__(self) -> SoOutput - __init__(self, SoOutput dictOut) -> SoOutput - """ - this = _coin.new_SoOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoOutput - __del__ = lambda self : None; - def setFilePointer(*args): - """setFilePointer(self, FILE newFP)""" - return _coin.SoOutput_setFilePointer(*args) - - def getFilePointer(*args): - """getFilePointer(self) -> FILE""" - return _coin.SoOutput_getFilePointer(*args) - - def openFile(*args): - """openFile(self, char fileName) -> SbBool""" - return _coin.SoOutput_openFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoOutput_closeFile(*args) - - def setCompression(*args): - """ - setCompression(self, SbName compmethod, float level=0.5) -> SbBool - setCompression(self, SbName compmethod) -> SbBool - """ - return _coin.SoOutput_setCompression(*args) - - def getAvailableCompressionMethods(*args): - """getAvailableCompressionMethods(unsigned int num) -> SbName""" - return _coin.SoOutput_getAvailableCompressionMethods(*args) - - getAvailableCompressionMethods = staticmethod(getAvailableCompressionMethods) - def setBuffer(*args): - """ - setBuffer(self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc, - int32_t offset=0) - setBuffer(self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc) - """ - return _coin.SoOutput_setBuffer(*args) - - def getBuffer(*args): - """getBuffer(self, void bufPointer, size_t nBytes) -> SbBool""" - return _coin.SoOutput_getBuffer(*args) - - def getBufferSize(*args): - """getBufferSize(self) -> size_t""" - return _coin.SoOutput_getBufferSize(*args) - - def resetBuffer(*args): - """resetBuffer(self)""" - return _coin.SoOutput_resetBuffer(*args) - - def setBinary(*args): - """setBinary(self, SbBool flag)""" - return _coin.SoOutput_setBinary(*args) - - def isBinary(*args): - """isBinary(self) -> SbBool""" - return _coin.SoOutput_isBinary(*args) - - def setHeaderString(*args): - """setHeaderString(self, SbString str)""" - return _coin.SoOutput_setHeaderString(*args) - - def resetHeaderString(*args): - """resetHeaderString(self)""" - return _coin.SoOutput_resetHeaderString(*args) - - def setFloatPrecision(*args): - """setFloatPrecision(self, int precision)""" - return _coin.SoOutput_setFloatPrecision(*args) - - def setStage(*args): - """setStage(self, Stage stage)""" - return _coin.SoOutput_setStage(*args) - - def getStage(*args): - """getStage(self) -> Stage""" - return _coin.SoOutput_getStage(*args) - - def incrementIndent(*args): - """ - incrementIndent(self, int levels=1) - incrementIndent(self) - """ - return _coin.SoOutput_incrementIndent(*args) - - def decrementIndent(*args): - """ - decrementIndent(self, int levels=1) - decrementIndent(self) - """ - return _coin.SoOutput_decrementIndent(*args) - - def write(*args): - """ - write(self, char c) - write(self, char s) - write(self, SbString s) - write(self, SbName n) - write(self, int i) - write(self, unsigned int i) - write(self, short s) - write(self, unsigned short s) - write(self, float f) - write(self, double d) - """ - return _coin.SoOutput_write(*args) - - def writeBinaryArray(*args): - """ - writeBinaryArray(self, unsigned char c, int length) - writeBinaryArray(self, int32_t l, int length) - writeBinaryArray(self, float f, int length) - writeBinaryArray(self, double d, int length) - """ - return _coin.SoOutput_writeBinaryArray(*args) - - def indent(*args): - """indent(self)""" - return _coin.SoOutput_indent(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoOutput_reset(*args) - - def setCompact(*args): - """setCompact(self, SbBool flag)""" - return _coin.SoOutput_setCompact(*args) - - def isCompact(*args): - """isCompact(self) -> SbBool""" - return _coin.SoOutput_isCompact(*args) - - def setAnnotation(*args): - """setAnnotation(self, uint32_t bits)""" - return _coin.SoOutput_setAnnotation(*args) - - def getAnnotation(*args): - """getAnnotation(self) -> uint32_t""" - return _coin.SoOutput_getAnnotation(*args) - - def getDefaultASCIIHeader(*args): - """getDefaultASCIIHeader() -> SbString""" - return _coin.SoOutput_getDefaultASCIIHeader(*args) - - getDefaultASCIIHeader = staticmethod(getDefaultASCIIHeader) - def getDefaultBinaryHeader(*args): - """getDefaultBinaryHeader() -> SbString""" - return _coin.SoOutput_getDefaultBinaryHeader(*args) - - getDefaultBinaryHeader = staticmethod(getDefaultBinaryHeader) - def addReference(*args): - """addReference(self, SoBase base) -> int""" - return _coin.SoOutput_addReference(*args) - - def findReference(*args): - """findReference(self, SoBase base) -> int""" - return _coin.SoOutput_findReference(*args) - - def setReference(*args): - """setReference(self, SoBase base, int refid)""" - return _coin.SoOutput_setReference(*args) - - def addDEFNode(*args): - """addDEFNode(self, SbName name)""" - return _coin.SoOutput_addDEFNode(*args) - - def lookupDEFNode(*args): - """lookupDEFNode(self, SbName name) -> SbBool""" - return _coin.SoOutput_lookupDEFNode(*args) - - def removeDEFNode(*args): - """removeDEFNode(self, SbName name)""" - return _coin.SoOutput_removeDEFNode(*args) - - def pushProto(*args): - """pushProto(self, SoProto proto)""" - return _coin.SoOutput_pushProto(*args) - - def getCurrentProto(*args): - """getCurrentProto(self) -> SoProto""" - return _coin.SoOutput_getCurrentProto(*args) - - def popProto(*args): - """popProto(self)""" - return _coin.SoOutput_popProto(*args) - - def addRoute(*args): - """ - addRoute(self, SoFieldContainer from, SbName fromfield, SoFieldContainer to, - SbName tofield) - """ - return _coin.SoOutput_addRoute(*args) - - def resolveRoutes(*args): - """resolveRoutes(self)""" - return _coin.SoOutput_resolveRoutes(*args) - -SoOutput_swigregister = _coin.SoOutput_swigregister -SoOutput_swigregister(SoOutput) - -def SoOutput_getAvailableCompressionMethods(*args): - """SoOutput_getAvailableCompressionMethods(unsigned int num) -> SbName""" - return _coin.SoOutput_getAvailableCompressionMethods(*args) - -def SoOutput_getDefaultASCIIHeader(*args): - """SoOutput_getDefaultASCIIHeader() -> SbString""" - return _coin.SoOutput_getDefaultASCIIHeader(*args) - -def SoOutput_getDefaultBinaryHeader(*args): - """SoOutput_getDefaultBinaryHeader() -> SbString""" - return _coin.SoOutput_getDefaultBinaryHeader(*args) - -class SoSFEnum(SoSField): - """Proxy of C++ SoSFEnum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFEnum""" - this = _coin.new_SoSFEnum(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFEnum - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFEnum_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFEnum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFEnum_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFEnum_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFEnum_isSame(*args) - - def getValue(*args): - """getValue(self) -> int""" - return _coin.SoSFEnum_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFEnum field) -> int""" - return _coin.SoSFEnum___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFEnum field) -> int""" - return _coin.SoSFEnum___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFEnum_initClass(*args) - - initClass = staticmethod(initClass) - def setEnums(*args): - """setEnums(self, int num, int vals, SbName names)""" - return _coin.SoSFEnum_setEnums(*args) - - def getNumEnums(*args): - """getNumEnums(self) -> int""" - return _coin.SoSFEnum_getNumEnums(*args) - - def getEnum(*args): - """getEnum(self, int idx, SbName name) -> int""" - return _coin.SoSFEnum_getEnum(*args) - - def setValue(*args): - """ - setValue(self, int newvalue) - setValue(self, SbName name) - setValue(self, SoSFEnum other) - """ - return _coin.SoSFEnum_setValue(*args) - -SoSFEnum_swigregister = _coin.SoSFEnum_swigregister -SoSFEnum_swigregister(SoSFEnum) - -def SoSFEnum_createInstance(*args): - """SoSFEnum_createInstance() -> void""" - return _coin.SoSFEnum_createInstance(*args) - -def SoSFEnum_getClassTypeId(*args): - """SoSFEnum_getClassTypeId() -> SoType""" - return _coin.SoSFEnum_getClassTypeId(*args) - -def SoSFEnum_initClass(*args): - """SoSFEnum_initClass()""" - return _coin.SoSFEnum_initClass(*args) - -class SoSFFloat(SoSField): - """Proxy of C++ SoSFFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFFloat""" - this = _coin.new_SoSFFloat(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFFloat - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFFloat_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFFloat_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFFloat_isSame(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SoSFFloat_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFFloat field) -> int""" - return _coin.SoSFFloat___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFFloat field) -> int""" - return _coin.SoSFFloat___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFFloat_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, float newvalue) - setValue(self, SoSFFloat other) - """ - return _coin.SoSFFloat_setValue(*args) - -SoSFFloat_swigregister = _coin.SoSFFloat_swigregister -SoSFFloat_swigregister(SoSFFloat) - -def SoSFFloat_createInstance(*args): - """SoSFFloat_createInstance() -> void""" - return _coin.SoSFFloat_createInstance(*args) - -def SoSFFloat_getClassTypeId(*args): - """SoSFFloat_getClassTypeId() -> SoType""" - return _coin.SoSFFloat_getClassTypeId(*args) - -def SoSFFloat_initClass(*args): - """SoSFFloat_initClass()""" - return _coin.SoSFFloat_initClass(*args) - -class SoComplexityTypeElement(SoInt32Element): - """Proxy of C++ SoComplexityTypeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexityTypeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoComplexityTypeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComplexityTypeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoComplexityTypeElement_initClass(*args) - - initClass = staticmethod(initClass) - OBJECT_SPACE = _coin.SoComplexityTypeElement_OBJECT_SPACE - SCREEN_SPACE = _coin.SoComplexityTypeElement_SCREEN_SPACE - BOUNDING_BOX = _coin.SoComplexityTypeElement_BOUNDING_BOX - def init(*args): - """init(self, SoState state)""" - return _coin.SoComplexityTypeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Type type) - set(SoState state, Type type) - """ - return _coin.SoComplexityTypeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Type""" - return _coin.SoComplexityTypeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Type""" - return _coin.SoComplexityTypeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoComplexityTypeElement_swigregister = _coin.SoComplexityTypeElement_swigregister -SoComplexityTypeElement_swigregister(SoComplexityTypeElement) - -def SoComplexityTypeElement_getClassTypeId(*args): - """SoComplexityTypeElement_getClassTypeId() -> SoType""" - return _coin.SoComplexityTypeElement_getClassTypeId(*args) - -def SoComplexityTypeElement_getClassStackIndex(*args): - """SoComplexityTypeElement_getClassStackIndex() -> int""" - return _coin.SoComplexityTypeElement_getClassStackIndex(*args) - -def SoComplexityTypeElement_createInstance(*args): - """SoComplexityTypeElement_createInstance() -> void""" - return _coin.SoComplexityTypeElement_createInstance(*args) - -def SoComplexityTypeElement_initClass(*args): - """SoComplexityTypeElement_initClass()""" - return _coin.SoComplexityTypeElement_initClass(*args) - -def SoComplexityTypeElement_set(*args): - """ - set(SoState state, SoNode node, Type type) - SoComplexityTypeElement_set(SoState state, Type type) - """ - return _coin.SoComplexityTypeElement_set(*args) - -def SoComplexityTypeElement_get(*args): - """SoComplexityTypeElement_get(SoState state) -> Type""" - return _coin.SoComplexityTypeElement_get(*args) - -def SoComplexityTypeElement_getDefault(*args): - """SoComplexityTypeElement_getDefault() -> Type""" - return _coin.SoComplexityTypeElement_getDefault(*args) - -class SoComplexity(SoNode): - """Proxy of C++ SoComplexity class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexity_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComplexity_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoComplexity_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoComplexity""" - this = _coin.new_SoComplexity(*args) - try: self.this.append(this) - except: self.this = this - OBJECT_SPACE = _coin.SoComplexity_OBJECT_SPACE - SCREEN_SPACE = _coin.SoComplexity_SCREEN_SPACE - BOUNDING_BOX = _coin.SoComplexity_BOUNDING_BOX - type = _swig_property(_coin.SoComplexity_type_get, _coin.SoComplexity_type_set) - value = _swig_property(_coin.SoComplexity_value_get, _coin.SoComplexity_value_set) - textureQuality = _swig_property(_coin.SoComplexity_textureQuality_get, _coin.SoComplexity_textureQuality_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoComplexity_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoComplexity_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoComplexity_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoComplexity_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoComplexity_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoComplexity_getPrimitiveCount(*args) - -SoComplexity_swigregister = _coin.SoComplexity_swigregister -SoComplexity_swigregister(SoComplexity) - -def SoComplexity_getClassTypeId(*args): - """SoComplexity_getClassTypeId() -> SoType""" - return _coin.SoComplexity_getClassTypeId(*args) - -def SoComplexity_initClass(*args): - """SoComplexity_initClass()""" - return _coin.SoComplexity_initClass(*args) - -class SoDrawStyleElement(SoInt32Element): - """Proxy of C++ SoDrawStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDrawStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDrawStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDrawStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDrawStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - FILLED = _coin.SoDrawStyleElement_FILLED - LINES = _coin.SoDrawStyleElement_LINES - POINTS = _coin.SoDrawStyleElement_POINTS - INVISIBLE = _coin.SoDrawStyleElement_INVISIBLE - def init(*args): - """init(self, SoState state)""" - return _coin.SoDrawStyleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Style style) - set(SoState state, Style style) - """ - return _coin.SoDrawStyleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Style""" - return _coin.SoDrawStyleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Style""" - return _coin.SoDrawStyleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDrawStyleElement_swigregister = _coin.SoDrawStyleElement_swigregister -SoDrawStyleElement_swigregister(SoDrawStyleElement) - -def SoDrawStyleElement_getClassTypeId(*args): - """SoDrawStyleElement_getClassTypeId() -> SoType""" - return _coin.SoDrawStyleElement_getClassTypeId(*args) - -def SoDrawStyleElement_getClassStackIndex(*args): - """SoDrawStyleElement_getClassStackIndex() -> int""" - return _coin.SoDrawStyleElement_getClassStackIndex(*args) - -def SoDrawStyleElement_createInstance(*args): - """SoDrawStyleElement_createInstance() -> void""" - return _coin.SoDrawStyleElement_createInstance(*args) - -def SoDrawStyleElement_initClass(*args): - """SoDrawStyleElement_initClass()""" - return _coin.SoDrawStyleElement_initClass(*args) - -def SoDrawStyleElement_set(*args): - """ - set(SoState state, SoNode node, Style style) - SoDrawStyleElement_set(SoState state, Style style) - """ - return _coin.SoDrawStyleElement_set(*args) - -def SoDrawStyleElement_get(*args): - """SoDrawStyleElement_get(SoState state) -> Style""" - return _coin.SoDrawStyleElement_get(*args) - -def SoDrawStyleElement_getDefault(*args): - """SoDrawStyleElement_getDefault() -> Style""" - return _coin.SoDrawStyleElement_getDefault(*args) - -class SoSFUShort(SoSField): - """Proxy of C++ SoSFUShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFUShort""" - this = _coin.new_SoSFUShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFUShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFUShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFUShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFUShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFUShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFUShort_isSame(*args) - - def getValue(*args): - """getValue(self) -> unsigned short""" - return _coin.SoSFUShort_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFUShort field) -> int""" - return _coin.SoSFUShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFUShort field) -> int""" - return _coin.SoSFUShort___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFUShort_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, unsigned short newvalue) - setValue(self, SoSFUShort other) - """ - return _coin.SoSFUShort_setValue(*args) - -SoSFUShort_swigregister = _coin.SoSFUShort_swigregister -SoSFUShort_swigregister(SoSFUShort) - -def SoSFUShort_createInstance(*args): - """SoSFUShort_createInstance() -> void""" - return _coin.SoSFUShort_createInstance(*args) - -def SoSFUShort_getClassTypeId(*args): - """SoSFUShort_getClassTypeId() -> SoType""" - return _coin.SoSFUShort_getClassTypeId(*args) - -def SoSFUShort_initClass(*args): - """SoSFUShort_initClass()""" - return _coin.SoSFUShort_initClass(*args) - -class SoSFInt32(SoSField): - """Proxy of C++ SoSFInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFInt32""" - this = _coin.new_SoSFInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFInt32_isSame(*args) - - def getValue(*args): - """getValue(self) -> int32_t""" - return _coin.SoSFInt32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFInt32 field) -> int""" - return _coin.SoSFInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFInt32 field) -> int""" - return _coin.SoSFInt32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFInt32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, int32_t newvalue) - setValue(self, SoSFInt32 other) - """ - return _coin.SoSFInt32_setValue(*args) - -SoSFInt32_swigregister = _coin.SoSFInt32_swigregister -SoSFInt32_swigregister(SoSFInt32) - -def SoSFInt32_createInstance(*args): - """SoSFInt32_createInstance() -> void""" - return _coin.SoSFInt32_createInstance(*args) - -def SoSFInt32_getClassTypeId(*args): - """SoSFInt32_getClassTypeId() -> SoType""" - return _coin.SoSFInt32_getClassTypeId(*args) - -def SoSFInt32_initClass(*args): - """SoSFInt32_initClass()""" - return _coin.SoSFInt32_initClass(*args) - -class SoDrawStyle(SoNode): - """Proxy of C++ SoDrawStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDrawStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDrawStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDrawStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDrawStyle""" - this = _coin.new_SoDrawStyle(*args) - try: self.this.append(this) - except: self.this = this - FILLED = _coin.SoDrawStyle_FILLED - LINES = _coin.SoDrawStyle_LINES - POINTS = _coin.SoDrawStyle_POINTS - INVISIBLE = _coin.SoDrawStyle_INVISIBLE - style = _swig_property(_coin.SoDrawStyle_style_get, _coin.SoDrawStyle_style_set) - pointSize = _swig_property(_coin.SoDrawStyle_pointSize_get, _coin.SoDrawStyle_pointSize_set) - lineWidth = _swig_property(_coin.SoDrawStyle_lineWidth_get, _coin.SoDrawStyle_lineWidth_set) - linePattern = _swig_property(_coin.SoDrawStyle_linePattern_get, _coin.SoDrawStyle_linePattern_set) - linePatternScaleFactor = _swig_property(_coin.SoDrawStyle_linePatternScaleFactor_get, _coin.SoDrawStyle_linePatternScaleFactor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoDrawStyle_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDrawStyle_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDrawStyle_callback(*args) - -SoDrawStyle_swigregister = _coin.SoDrawStyle_swigregister -SoDrawStyle_swigregister(SoDrawStyle) - -def SoDrawStyle_getClassTypeId(*args): - """SoDrawStyle_getClassTypeId() -> SoType""" - return _coin.SoDrawStyle_getClassTypeId(*args) - -def SoDrawStyle_initClass(*args): - """SoDrawStyle_initClass()""" - return _coin.SoDrawStyle_initClass(*args) - -class SbVec3f(object): - """Proxy of C++ SbVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3f - __init__(self, float v) -> SbVec3f - __init__(self, float x, float y, float z) -> SbVec3f - __init__(self, SbVec3d v) -> SbVec3f - __init__(self, SbVec3b v) -> SbVec3f - __init__(self, SbVec3s v) -> SbVec3f - __init__(self, SbVec3i32 v) -> SbVec3f - __init__(self, SbPlane p0, SbPlane p1, SbPlane p2) -> SbVec3f - """ - this = _coin.new_SbVec3f(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, float v) -> SbVec3f - setValue(self, float x, float y, float z) -> SbVec3f - setValue(self, SbVec3f barycentric, SbVec3f v0, SbVec3f v1, SbVec3f v2) -> SbVec3f - setValue(self, SbVec3d v) -> SbVec3f - setValue(self, SbVec3b v) -> SbVec3f - setValue(self, SbVec3s v) -> SbVec3f - setValue(self, SbVec3i32 v) -> SbVec3f - """ - return _coin.SbVec3f_setValue(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbVec3f_getValue(*args) - - def equals(*args): - """equals(self, SbVec3f v, float tolerance) -> SbBool""" - return _coin.SbVec3f_equals(*args) - - def cross(*args): - """cross(self, SbVec3f v) -> SbVec3f""" - return _coin.SbVec3f_cross(*args) - - def dot(*args): - """dot(self, SbVec3f v) -> float""" - return _coin.SbVec3f_dot(*args) - - def getClosestAxis(*args): - """getClosestAxis(self) -> SbVec3f""" - return _coin.SbVec3f_getClosestAxis(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec3f_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> float""" - return _coin.SbVec3f_sqrLength(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec3f_normalize(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3f_negate(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3f v) -> SbVec3f""" - return _coin.SbVec3f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3f v) -> SbVec3f""" - return _coin.SbVec3f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3f""" - return _coin.SbVec3f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3f_output(*args) - - def __add__(*args): - """__add__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, float d) -> SbVec3f - __mul__(self, SbMatrix m) -> SbVec3f - """ - return _coin.SbVec3f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3f u) -> int""" - return _coin.SbVec3f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3f u) -> int""" - return _coin.SbVec3f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec3f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec3f___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3f - __del__ = lambda self : None; -SbVec3f_swigregister = _coin.SbVec3f_swigregister -SbVec3f_swigregister(SbVec3f) - -class SbColor(SbVec3f): - """Proxy of C++ SbColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbColor - __init__(self, SbVec3f v) -> SbColor - __init__(self, float rgb) -> SbColor - __init__(self, float r, float g, float b) -> SbColor - """ - this = _coin.new_SbColor(*args) - try: self.this.append(this) - except: self.this = this - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) -> SbColor - setHSVValue(self, float hsv) -> SbColor - """ - return _coin.SbColor_setHSVValue(*args) - - def getHSVValue(*args): - """getHSVValue(self, float h, float s, float v)""" - return _coin.SbColor_getHSVValue(*args) - - def setPackedValue(*args): - """setPackedValue(self, uint32_t rgba, float transparency) -> SbColor""" - return _coin.SbColor_setPackedValue(*args) - - def getPackedValue(*args): - """ - getPackedValue(self, float transparency=0.0) -> uint32_t - getPackedValue(self) -> uint32_t - """ - return _coin.SbColor_getPackedValue(*args) - - def __add__(*args): - """__add__(self, SbColor u) -> SbColor""" - return _coin.SbColor___add__(*args) - - def __sub__(*args): - """__sub__(self, SbColor u) -> SbColor""" - return _coin.SbColor___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbColor""" - return _coin.SbColor___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbColor""" - return _coin.SbColor___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbColor""" - return _coin.SbColor___div__(*args) - - def __eq__(*args): - """__eq__(self, SbColor u) -> int""" - return _coin.SbColor___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbColor u) -> int""" - return _coin.SbColor___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbColor___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbColor___setitem__(*args) - - __swig_destroy__ = _coin.delete_SbColor - __del__ = lambda self : None; -SbColor_swigregister = _coin.SbColor_swigregister -SbColor_swigregister(SbColor) - -SO_LAZY_SHINY_THRESHOLD = _coin.SO_LAZY_SHINY_THRESHOLD -class SoLazyElement(SoElement): - """Proxy of C++ SoLazyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLazyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLazyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLazyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLazyElement_initClass(*args) - - initClass = staticmethod(initClass) - LIGHT_MODEL_CASE = _coin.SoLazyElement_LIGHT_MODEL_CASE - COLOR_MATERIAL_CASE = _coin.SoLazyElement_COLOR_MATERIAL_CASE - DIFFUSE_CASE = _coin.SoLazyElement_DIFFUSE_CASE - AMBIENT_CASE = _coin.SoLazyElement_AMBIENT_CASE - EMISSIVE_CASE = _coin.SoLazyElement_EMISSIVE_CASE - SPECULAR_CASE = _coin.SoLazyElement_SPECULAR_CASE - SHININESS_CASE = _coin.SoLazyElement_SHININESS_CASE - BLENDING_CASE = _coin.SoLazyElement_BLENDING_CASE - TRANSPARENCY_CASE = _coin.SoLazyElement_TRANSPARENCY_CASE - VERTEXORDERING_CASE = _coin.SoLazyElement_VERTEXORDERING_CASE - TWOSIDE_CASE = _coin.SoLazyElement_TWOSIDE_CASE - CULLING_CASE = _coin.SoLazyElement_CULLING_CASE - SHADE_MODEL_CASE = _coin.SoLazyElement_SHADE_MODEL_CASE - GLIMAGE_CASE = _coin.SoLazyElement_GLIMAGE_CASE - ALPHATEST_CASE = _coin.SoLazyElement_ALPHATEST_CASE - LAZYCASES_LAST = _coin.SoLazyElement_LAZYCASES_LAST - LIGHT_MODEL_MASK = _coin.SoLazyElement_LIGHT_MODEL_MASK - COLOR_MATERIAL_MASK = _coin.SoLazyElement_COLOR_MATERIAL_MASK - DIFFUSE_MASK = _coin.SoLazyElement_DIFFUSE_MASK - AMBIENT_MASK = _coin.SoLazyElement_AMBIENT_MASK - EMISSIVE_MASK = _coin.SoLazyElement_EMISSIVE_MASK - SPECULAR_MASK = _coin.SoLazyElement_SPECULAR_MASK - SHININESS_MASK = _coin.SoLazyElement_SHININESS_MASK - TRANSPARENCY_MASK = _coin.SoLazyElement_TRANSPARENCY_MASK - BLENDING_MASK = _coin.SoLazyElement_BLENDING_MASK - VERTEXORDERING_MASK = _coin.SoLazyElement_VERTEXORDERING_MASK - TWOSIDE_MASK = _coin.SoLazyElement_TWOSIDE_MASK - CULLING_MASK = _coin.SoLazyElement_CULLING_MASK - SHADE_MODEL_MASK = _coin.SoLazyElement_SHADE_MODEL_MASK - GLIMAGE_MASK = _coin.SoLazyElement_GLIMAGE_MASK - ALPHATEST_MASK = _coin.SoLazyElement_ALPHATEST_MASK - ALL_MASK = _coin.SoLazyElement_ALL_MASK - OTHER_COLOR_MASK = _coin.SoLazyElement_OTHER_COLOR_MASK - ALL_COLOR_MASK = _coin.SoLazyElement_ALL_COLOR_MASK - NO_COLOR_MASK = _coin.SoLazyElement_NO_COLOR_MASK - ALL_BUT_DIFFUSE_MASK = _coin.SoLazyElement_ALL_BUT_DIFFUSE_MASK - DIFFUSE_ONLY_MASK = _coin.SoLazyElement_DIFFUSE_ONLY_MASK - BASE_COLOR = _coin.SoLazyElement_BASE_COLOR - PHONG = _coin.SoLazyElement_PHONG - CW = _coin.SoLazyElement_CW - CCW = _coin.SoLazyElement_CCW - def init(*args): - """init(self, SoState state)""" - return _coin.SoLazyElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLazyElement_push(*args) - - def matches(*args): - """matches(self, SoElement ?) -> SbBool""" - return _coin.SoLazyElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLazyElement_copyMatchInfo(*args) - - def setToDefault(*args): - """setToDefault(SoState state)""" - return _coin.SoLazyElement_setToDefault(*args) - - setToDefault = staticmethod(setToDefault) - def setDiffuse(*args): - """ - setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setDiffuse(*args) - - setDiffuse = staticmethod(setDiffuse) - def setTransparency(*args): - """ - setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setTransparency(*args) - - setTransparency = staticmethod(setTransparency) - def setColorIndices(*args): - """setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoLazyElement_setColorIndices(*args) - - setColorIndices = staticmethod(setColorIndices) - def setAmbient(*args): - """setAmbient(SoState state, SbColor color)""" - return _coin.SoLazyElement_setAmbient(*args) - - setAmbient = staticmethod(setAmbient) - def setEmissive(*args): - """setEmissive(SoState state, SbColor color)""" - return _coin.SoLazyElement_setEmissive(*args) - - setEmissive = staticmethod(setEmissive) - def setSpecular(*args): - """setSpecular(SoState state, SbColor color)""" - return _coin.SoLazyElement_setSpecular(*args) - - setSpecular = staticmethod(setSpecular) - def setShininess(*args): - """setShininess(SoState state, float value)""" - return _coin.SoLazyElement_setShininess(*args) - - setShininess = staticmethod(setShininess) - def setColorMaterial(*args): - """setColorMaterial(SoState state, SbBool value)""" - return _coin.SoLazyElement_setColorMaterial(*args) - - setColorMaterial = staticmethod(setColorMaterial) - def enableBlending(*args): - """enableBlending(SoState state, int sfactor, int dfactor)""" - return _coin.SoLazyElement_enableBlending(*args) - - enableBlending = staticmethod(enableBlending) - def enableSeparateBlending(*args): - """ - enableSeparateBlending(SoState state, int sfactor, int dfactor, int alpha_sfactor, - int alpha_dfactor) - """ - return _coin.SoLazyElement_enableSeparateBlending(*args) - - enableSeparateBlending = staticmethod(enableSeparateBlending) - def disableBlending(*args): - """disableBlending(SoState state)""" - return _coin.SoLazyElement_disableBlending(*args) - - disableBlending = staticmethod(disableBlending) - def setLightModel(*args): - """setLightModel(SoState state, int32_t model)""" - return _coin.SoLazyElement_setLightModel(*args) - - setLightModel = staticmethod(setLightModel) - def setVertexOrdering(*args): - """setVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoLazyElement_setVertexOrdering(*args) - - setVertexOrdering = staticmethod(setVertexOrdering) - def setBackfaceCulling(*args): - """setBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setBackfaceCulling(*args) - - setBackfaceCulling = staticmethod(setBackfaceCulling) - def setTwosideLighting(*args): - """setTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setTwosideLighting(*args) - - setTwosideLighting = staticmethod(setTwosideLighting) - def setShadeModel(*args): - """setShadeModel(SoState state, SbBool flatshading)""" - return _coin.SoLazyElement_setShadeModel(*args) - - setShadeModel = staticmethod(setShadeModel) - def setGLImageId(*args): - """setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoLazyElement_setGLImageId(*args) - - setGLImageId = staticmethod(setGLImageId) - def setAlphaTest(*args): - """setAlphaTest(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setAlphaTest(*args) - - setAlphaTest = staticmethod(setAlphaTest) - def getDiffuse(*args): - """getDiffuse(SoState state, int index) -> SbColor""" - return _coin.SoLazyElement_getDiffuse(*args) - - getDiffuse = staticmethod(getDiffuse) - def getTransparency(*args): - """getTransparency(SoState ?, int index) -> float""" - return _coin.SoLazyElement_getTransparency(*args) - - getTransparency = staticmethod(getTransparency) - def getPackedColors(*args): - """getPackedColors(SoState ?) -> uint32_t""" - return _coin.SoLazyElement_getPackedColors(*args) - - getPackedColors = staticmethod(getPackedColors) - def getColorIndices(*args): - """getColorIndices(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getColorIndices(*args) - - getColorIndices = staticmethod(getColorIndices) - def getColorIndex(*args): - """getColorIndex(SoState ?, int num) -> int32_t""" - return _coin.SoLazyElement_getColorIndex(*args) - - getColorIndex = staticmethod(getColorIndex) - def getAmbient(*args): - """getAmbient(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getAmbient(*args) - - getAmbient = staticmethod(getAmbient) - def getEmissive(*args): - """getEmissive(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getEmissive(*args) - - getEmissive = staticmethod(getEmissive) - def getSpecular(*args): - """getSpecular(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getSpecular(*args) - - getSpecular = staticmethod(getSpecular) - def getShininess(*args): - """getShininess(SoState ?) -> float""" - return _coin.SoLazyElement_getShininess(*args) - - getShininess = staticmethod(getShininess) - def getColorMaterial(*args): - """getColorMaterial(SoState ?) -> SbBool""" - return _coin.SoLazyElement_getColorMaterial(*args) - - getColorMaterial = staticmethod(getColorMaterial) - def getBlending(*args): - """getBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getBlending(*args) - - getBlending = staticmethod(getBlending) - def getAlphaBlending(*args): - """getAlphaBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getAlphaBlending(*args) - - getAlphaBlending = staticmethod(getAlphaBlending) - def getLightModel(*args): - """getLightModel(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getLightModel(*args) - - getLightModel = staticmethod(getLightModel) - def getAlphaTest(*args): - """getAlphaTest(SoState state) -> SbBool""" - return _coin.SoLazyElement_getAlphaTest(*args) - - getAlphaTest = staticmethod(getAlphaTest) - def getNumDiffuse(*args): - """getNumDiffuse(self) -> int32_t""" - return _coin.SoLazyElement_getNumDiffuse(*args) - - def getNumTransparencies(*args): - """getNumTransparencies(self) -> int32_t""" - return _coin.SoLazyElement_getNumTransparencies(*args) - - def getNumColorIndices(*args): - """getNumColorIndices(self) -> int32_t""" - return _coin.SoLazyElement_getNumColorIndices(*args) - - def isPacked(*args): - """isPacked(self) -> SbBool""" - return _coin.SoLazyElement_isPacked(*args) - - def isTransparent(*args): - """isTransparent(self) -> SbBool""" - return _coin.SoLazyElement_isTransparent(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getDefaultAmbientIntensity(*args): - """getDefaultAmbientIntensity() -> float""" - return _coin.SoLazyElement_getDefaultAmbientIntensity(*args) - - getDefaultAmbientIntensity = staticmethod(getDefaultAmbientIntensity) - def getDefaultDiffuse(*args): - """getDefaultDiffuse() -> SbColor""" - return _coin.SoLazyElement_getDefaultDiffuse(*args) - - getDefaultDiffuse = staticmethod(getDefaultDiffuse) - def getDefaultAmbient(*args): - """getDefaultAmbient() -> SbColor""" - return _coin.SoLazyElement_getDefaultAmbient(*args) - - getDefaultAmbient = staticmethod(getDefaultAmbient) - def getDefaultSpecular(*args): - """getDefaultSpecular() -> SbColor""" - return _coin.SoLazyElement_getDefaultSpecular(*args) - - getDefaultSpecular = staticmethod(getDefaultSpecular) - def getDefaultEmissive(*args): - """getDefaultEmissive() -> SbColor""" - return _coin.SoLazyElement_getDefaultEmissive(*args) - - getDefaultEmissive = staticmethod(getDefaultEmissive) - def getDefaultShininess(*args): - """getDefaultShininess() -> float""" - return _coin.SoLazyElement_getDefaultShininess(*args) - - getDefaultShininess = staticmethod(getDefaultShininess) - def getDefaultPacked(*args): - """getDefaultPacked() -> uint32_t""" - return _coin.SoLazyElement_getDefaultPacked(*args) - - getDefaultPacked = staticmethod(getDefaultPacked) - def getDefaultTransparency(*args): - """getDefaultTransparency() -> float""" - return _coin.SoLazyElement_getDefaultTransparency(*args) - - getDefaultTransparency = staticmethod(getDefaultTransparency) - def getDefaultLightModel(*args): - """getDefaultLightModel() -> int32_t""" - return _coin.SoLazyElement_getDefaultLightModel(*args) - - getDefaultLightModel = staticmethod(getDefaultLightModel) - def getDefaultColorIndex(*args): - """getDefaultColorIndex() -> int32_t""" - return _coin.SoLazyElement_getDefaultColorIndex(*args) - - getDefaultColorIndex = staticmethod(getDefaultColorIndex) - def setMaterials(*args): - """ - setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, - SbColor diffuse, int numdiffuse, - float transp, int numtransp, SbColor ambient, - SbColor emissive, SbColor specular, float shininess, - SbBool istransparent) - """ - return _coin.SoLazyElement_setMaterials(*args) - - setMaterials = staticmethod(setMaterials) - def getWInstance(*args): - """getWInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getWInstance(*args) - - getWInstance = staticmethod(getWInstance) - def getPackedPointer(*args): - """getPackedPointer(self) -> uint32_t""" - return _coin.SoLazyElement_getPackedPointer(*args) - - def getDiffusePointer(*args): - """getDiffusePointer(self) -> SbColor""" - return _coin.SoLazyElement_getDiffusePointer(*args) - - def getColorIndexPointer(*args): - """getColorIndexPointer(self) -> int32_t""" - return _coin.SoLazyElement_getColorIndexPointer(*args) - - def getTransparencyPointer(*args): - """getTransparencyPointer(self) -> float""" - return _coin.SoLazyElement_getTransparencyPointer(*args) - - def setTransparencyType(*args): - """setTransparencyType(SoState state, int32_t type)""" - return _coin.SoLazyElement_setTransparencyType(*args) - - setTransparencyType = staticmethod(setTransparencyType) -SoLazyElement_swigregister = _coin.SoLazyElement_swigregister -SoLazyElement_swigregister(SoLazyElement) - -def SoLazyElement_getClassTypeId(*args): - """SoLazyElement_getClassTypeId() -> SoType""" - return _coin.SoLazyElement_getClassTypeId(*args) - -def SoLazyElement_getClassStackIndex(*args): - """SoLazyElement_getClassStackIndex() -> int""" - return _coin.SoLazyElement_getClassStackIndex(*args) - -def SoLazyElement_createInstance(*args): - """SoLazyElement_createInstance() -> void""" - return _coin.SoLazyElement_createInstance(*args) - -def SoLazyElement_initClass(*args): - """SoLazyElement_initClass()""" - return _coin.SoLazyElement_initClass(*args) - -def SoLazyElement_setToDefault(*args): - """SoLazyElement_setToDefault(SoState state)""" - return _coin.SoLazyElement_setToDefault(*args) - -def SoLazyElement_setDiffuse(*args): - """ - SoLazyElement_setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setDiffuse(*args) - -def SoLazyElement_setTransparency(*args): - """ - SoLazyElement_setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setTransparency(*args) - -def SoLazyElement_setColorIndices(*args): - """SoLazyElement_setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoLazyElement_setColorIndices(*args) - -def SoLazyElement_setAmbient(*args): - """SoLazyElement_setAmbient(SoState state, SbColor color)""" - return _coin.SoLazyElement_setAmbient(*args) - -def SoLazyElement_setEmissive(*args): - """SoLazyElement_setEmissive(SoState state, SbColor color)""" - return _coin.SoLazyElement_setEmissive(*args) - -def SoLazyElement_setSpecular(*args): - """SoLazyElement_setSpecular(SoState state, SbColor color)""" - return _coin.SoLazyElement_setSpecular(*args) - -def SoLazyElement_setShininess(*args): - """SoLazyElement_setShininess(SoState state, float value)""" - return _coin.SoLazyElement_setShininess(*args) - -def SoLazyElement_setColorMaterial(*args): - """SoLazyElement_setColorMaterial(SoState state, SbBool value)""" - return _coin.SoLazyElement_setColorMaterial(*args) - -def SoLazyElement_enableBlending(*args): - """SoLazyElement_enableBlending(SoState state, int sfactor, int dfactor)""" - return _coin.SoLazyElement_enableBlending(*args) - -def SoLazyElement_enableSeparateBlending(*args): - """ - SoLazyElement_enableSeparateBlending(SoState state, int sfactor, int dfactor, int alpha_sfactor, - int alpha_dfactor) - """ - return _coin.SoLazyElement_enableSeparateBlending(*args) - -def SoLazyElement_disableBlending(*args): - """SoLazyElement_disableBlending(SoState state)""" - return _coin.SoLazyElement_disableBlending(*args) - -def SoLazyElement_setLightModel(*args): - """SoLazyElement_setLightModel(SoState state, int32_t model)""" - return _coin.SoLazyElement_setLightModel(*args) - -def SoLazyElement_setVertexOrdering(*args): - """SoLazyElement_setVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoLazyElement_setVertexOrdering(*args) - -def SoLazyElement_setBackfaceCulling(*args): - """SoLazyElement_setBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setBackfaceCulling(*args) - -def SoLazyElement_setTwosideLighting(*args): - """SoLazyElement_setTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setTwosideLighting(*args) - -def SoLazyElement_setShadeModel(*args): - """SoLazyElement_setShadeModel(SoState state, SbBool flatshading)""" - return _coin.SoLazyElement_setShadeModel(*args) - -def SoLazyElement_setGLImageId(*args): - """SoLazyElement_setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoLazyElement_setGLImageId(*args) - -def SoLazyElement_setAlphaTest(*args): - """SoLazyElement_setAlphaTest(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setAlphaTest(*args) - -def SoLazyElement_getDiffuse(*args): - """SoLazyElement_getDiffuse(SoState state, int index) -> SbColor""" - return _coin.SoLazyElement_getDiffuse(*args) - -def SoLazyElement_getTransparency(*args): - """SoLazyElement_getTransparency(SoState ?, int index) -> float""" - return _coin.SoLazyElement_getTransparency(*args) - -def SoLazyElement_getPackedColors(*args): - """SoLazyElement_getPackedColors(SoState ?) -> uint32_t""" - return _coin.SoLazyElement_getPackedColors(*args) - -def SoLazyElement_getColorIndices(*args): - """SoLazyElement_getColorIndices(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getColorIndices(*args) - -def SoLazyElement_getColorIndex(*args): - """SoLazyElement_getColorIndex(SoState ?, int num) -> int32_t""" - return _coin.SoLazyElement_getColorIndex(*args) - -def SoLazyElement_getAmbient(*args): - """SoLazyElement_getAmbient(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getAmbient(*args) - -def SoLazyElement_getEmissive(*args): - """SoLazyElement_getEmissive(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getEmissive(*args) - -def SoLazyElement_getSpecular(*args): - """SoLazyElement_getSpecular(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getSpecular(*args) - -def SoLazyElement_getShininess(*args): - """SoLazyElement_getShininess(SoState ?) -> float""" - return _coin.SoLazyElement_getShininess(*args) - -def SoLazyElement_getColorMaterial(*args): - """SoLazyElement_getColorMaterial(SoState ?) -> SbBool""" - return _coin.SoLazyElement_getColorMaterial(*args) - -def SoLazyElement_getBlending(*args): - """SoLazyElement_getBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getBlending(*args) - -def SoLazyElement_getAlphaBlending(*args): - """SoLazyElement_getAlphaBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getAlphaBlending(*args) - -def SoLazyElement_getLightModel(*args): - """SoLazyElement_getLightModel(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getLightModel(*args) - -def SoLazyElement_getAlphaTest(*args): - """SoLazyElement_getAlphaTest(SoState state) -> SbBool""" - return _coin.SoLazyElement_getAlphaTest(*args) - -def SoLazyElement_getInstance(*args): - """SoLazyElement_getInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getInstance(*args) - -def SoLazyElement_getDefaultAmbientIntensity(*args): - """SoLazyElement_getDefaultAmbientIntensity() -> float""" - return _coin.SoLazyElement_getDefaultAmbientIntensity(*args) - -def SoLazyElement_getDefaultDiffuse(*args): - """SoLazyElement_getDefaultDiffuse() -> SbColor""" - return _coin.SoLazyElement_getDefaultDiffuse(*args) - -def SoLazyElement_getDefaultAmbient(*args): - """SoLazyElement_getDefaultAmbient() -> SbColor""" - return _coin.SoLazyElement_getDefaultAmbient(*args) - -def SoLazyElement_getDefaultSpecular(*args): - """SoLazyElement_getDefaultSpecular() -> SbColor""" - return _coin.SoLazyElement_getDefaultSpecular(*args) - -def SoLazyElement_getDefaultEmissive(*args): - """SoLazyElement_getDefaultEmissive() -> SbColor""" - return _coin.SoLazyElement_getDefaultEmissive(*args) - -def SoLazyElement_getDefaultShininess(*args): - """SoLazyElement_getDefaultShininess() -> float""" - return _coin.SoLazyElement_getDefaultShininess(*args) - -def SoLazyElement_getDefaultPacked(*args): - """SoLazyElement_getDefaultPacked() -> uint32_t""" - return _coin.SoLazyElement_getDefaultPacked(*args) - -def SoLazyElement_getDefaultTransparency(*args): - """SoLazyElement_getDefaultTransparency() -> float""" - return _coin.SoLazyElement_getDefaultTransparency(*args) - -def SoLazyElement_getDefaultLightModel(*args): - """SoLazyElement_getDefaultLightModel() -> int32_t""" - return _coin.SoLazyElement_getDefaultLightModel(*args) - -def SoLazyElement_getDefaultColorIndex(*args): - """SoLazyElement_getDefaultColorIndex() -> int32_t""" - return _coin.SoLazyElement_getDefaultColorIndex(*args) - -def SoLazyElement_setMaterials(*args): - """ - SoLazyElement_setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, - SbColor diffuse, int numdiffuse, - float transp, int numtransp, SbColor ambient, - SbColor emissive, SbColor specular, float shininess, - SbBool istransparent) - """ - return _coin.SoLazyElement_setMaterials(*args) - -def SoLazyElement_getWInstance(*args): - """SoLazyElement_getWInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getWInstance(*args) - -def SoLazyElement_setTransparencyType(*args): - """SoLazyElement_setTransparencyType(SoState state, int32_t type)""" - return _coin.SoLazyElement_setTransparencyType(*args) - -class SoColorPacker(object): - """Proxy of C++ SoColorPacker class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoColorPacker""" - this = _coin.new_SoColorPacker(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoColorPacker - __del__ = lambda self : None; - def getPackedColors(*args): - """getPackedColors(self) -> uint32_t""" - return _coin.SoColorPacker_getPackedColors(*args) - - def diffuseMatch(*args): - """diffuseMatch(self, uint32_t nodeid) -> SbBool""" - return _coin.SoColorPacker_diffuseMatch(*args) - - def transpMatch(*args): - """transpMatch(self, uint32_t nodeid) -> SbBool""" - return _coin.SoColorPacker_transpMatch(*args) - - def setNodeIds(*args): - """setNodeIds(self, uint32_t diffuse, uint32_t transp)""" - return _coin.SoColorPacker_setNodeIds(*args) - - def getSize(*args): - """getSize(self) -> int32_t""" - return _coin.SoColorPacker_getSize(*args) - - def reallocate(*args): - """reallocate(self, int32_t size)""" - return _coin.SoColorPacker_reallocate(*args) - - def getDiffuseId(*args): - """getDiffuseId(self) -> uint32_t""" - return _coin.SoColorPacker_getDiffuseId(*args) - - def getTranspId(*args): - """getTranspId(self) -> uint32_t""" - return _coin.SoColorPacker_getTranspId(*args) - -SoColorPacker_swigregister = _coin.SoColorPacker_swigregister -SoColorPacker_swigregister(SoColorPacker) - -class SoLightModel(SoNode): - """Proxy of C++ SoLightModel class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightModel_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLightModel_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLightModel_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLightModel""" - this = _coin.new_SoLightModel(*args) - try: self.this.append(this) - except: self.this = this - BASE_COLOR = _coin.SoLightModel_BASE_COLOR - PHONG = _coin.SoLightModel_PHONG - model = _swig_property(_coin.SoLightModel_model_get, _coin.SoLightModel_model_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLightModel_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLightModel_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLightModel_callback(*args) - -SoLightModel_swigregister = _coin.SoLightModel_swigregister -SoLightModel_swigregister(SoLightModel) - -def SoLightModel_getClassTypeId(*args): - """SoLightModel_getClassTypeId() -> SoType""" - return _coin.SoLightModel_getClassTypeId(*args) - -def SoLightModel_initClass(*args): - """SoLightModel_initClass()""" - return _coin.SoLightModel_initClass(*args) - -class SoMaterialBindingElement(SoInt32Element): - """Proxy of C++ SoMaterialBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterialBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMaterialBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMaterialBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMaterialBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - OVERALL = _coin.SoMaterialBindingElement_OVERALL - PER_PART = _coin.SoMaterialBindingElement_PER_PART - PER_PART_INDEXED = _coin.SoMaterialBindingElement_PER_PART_INDEXED - PER_FACE = _coin.SoMaterialBindingElement_PER_FACE - PER_FACE_INDEXED = _coin.SoMaterialBindingElement_PER_FACE_INDEXED - PER_VERTEX = _coin.SoMaterialBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoMaterialBindingElement_PER_VERTEX_INDEXED - DEFAULT = _coin.SoMaterialBindingElement_DEFAULT - NONE = _coin.SoMaterialBindingElement_NONE - def init(*args): - """init(self, SoState state)""" - return _coin.SoMaterialBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoMaterialBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoMaterialBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoMaterialBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoMaterialBindingElement_swigregister = _coin.SoMaterialBindingElement_swigregister -SoMaterialBindingElement_swigregister(SoMaterialBindingElement) - -def SoMaterialBindingElement_getClassTypeId(*args): - """SoMaterialBindingElement_getClassTypeId() -> SoType""" - return _coin.SoMaterialBindingElement_getClassTypeId(*args) - -def SoMaterialBindingElement_getClassStackIndex(*args): - """SoMaterialBindingElement_getClassStackIndex() -> int""" - return _coin.SoMaterialBindingElement_getClassStackIndex(*args) - -def SoMaterialBindingElement_createInstance(*args): - """SoMaterialBindingElement_createInstance() -> void""" - return _coin.SoMaterialBindingElement_createInstance(*args) - -def SoMaterialBindingElement_initClass(*args): - """SoMaterialBindingElement_initClass()""" - return _coin.SoMaterialBindingElement_initClass(*args) - -def SoMaterialBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoMaterialBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoMaterialBindingElement_set(*args) - -def SoMaterialBindingElement_get(*args): - """SoMaterialBindingElement_get(SoState state) -> Binding""" - return _coin.SoMaterialBindingElement_get(*args) - -def SoMaterialBindingElement_getDefault(*args): - """SoMaterialBindingElement_getDefault() -> Binding""" - return _coin.SoMaterialBindingElement_getDefault(*args) - -class SoMaterialBinding(SoNode): - """Proxy of C++ SoMaterialBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterialBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMaterialBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMaterialBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMaterialBinding""" - this = _coin.new_SoMaterialBinding(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoMaterialBinding_OVERALL - PER_PART = _coin.SoMaterialBinding_PER_PART - PER_PART_INDEXED = _coin.SoMaterialBinding_PER_PART_INDEXED - PER_FACE = _coin.SoMaterialBinding_PER_FACE - PER_FACE_INDEXED = _coin.SoMaterialBinding_PER_FACE_INDEXED - PER_VERTEX = _coin.SoMaterialBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoMaterialBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoMaterialBinding_DEFAULT - NONE = _coin.SoMaterialBinding_NONE - value = _swig_property(_coin.SoMaterialBinding_value_get, _coin.SoMaterialBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMaterialBinding_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMaterialBinding_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMaterialBinding_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMaterialBinding_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMaterialBinding_getPrimitiveCount(*args) - -SoMaterialBinding_swigregister = _coin.SoMaterialBinding_swigregister -SoMaterialBinding_swigregister(SoMaterialBinding) - -def SoMaterialBinding_getClassTypeId(*args): - """SoMaterialBinding_getClassTypeId() -> SoType""" - return _coin.SoMaterialBinding_getClassTypeId(*args) - -def SoMaterialBinding_initClass(*args): - """SoMaterialBinding_initClass()""" - return _coin.SoMaterialBinding_initClass(*args) - -class SoNormalBindingElement(SoInt32Element): - """Proxy of C++ SoNormalBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoNormalBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoNormalBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoNormalBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - OVERALL = _coin.SoNormalBindingElement_OVERALL - PER_PART = _coin.SoNormalBindingElement_PER_PART - PER_PART_INDEXED = _coin.SoNormalBindingElement_PER_PART_INDEXED - PER_FACE = _coin.SoNormalBindingElement_PER_FACE - PER_FACE_INDEXED = _coin.SoNormalBindingElement_PER_FACE_INDEXED - PER_VERTEX = _coin.SoNormalBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoNormalBindingElement_PER_VERTEX_INDEXED - DEFAULT = _coin.SoNormalBindingElement_DEFAULT - NONE = _coin.SoNormalBindingElement_NONE - def init(*args): - """init(self, SoState state)""" - return _coin.SoNormalBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoNormalBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoNormalBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoNormalBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoNormalBindingElement_swigregister = _coin.SoNormalBindingElement_swigregister -SoNormalBindingElement_swigregister(SoNormalBindingElement) - -def SoNormalBindingElement_getClassTypeId(*args): - """SoNormalBindingElement_getClassTypeId() -> SoType""" - return _coin.SoNormalBindingElement_getClassTypeId(*args) - -def SoNormalBindingElement_getClassStackIndex(*args): - """SoNormalBindingElement_getClassStackIndex() -> int""" - return _coin.SoNormalBindingElement_getClassStackIndex(*args) - -def SoNormalBindingElement_createInstance(*args): - """SoNormalBindingElement_createInstance() -> void""" - return _coin.SoNormalBindingElement_createInstance(*args) - -def SoNormalBindingElement_initClass(*args): - """SoNormalBindingElement_initClass()""" - return _coin.SoNormalBindingElement_initClass(*args) - -def SoNormalBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoNormalBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoNormalBindingElement_set(*args) - -def SoNormalBindingElement_get(*args): - """SoNormalBindingElement_get(SoState state) -> Binding""" - return _coin.SoNormalBindingElement_get(*args) - -def SoNormalBindingElement_getDefault(*args): - """SoNormalBindingElement_getDefault() -> Binding""" - return _coin.SoNormalBindingElement_getDefault(*args) - -class SoNormalBinding(SoNode): - """Proxy of C++ SoNormalBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNormalBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNormalBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNormalBinding""" - this = _coin.new_SoNormalBinding(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoNormalBinding_OVERALL - PER_PART = _coin.SoNormalBinding_PER_PART - PER_PART_INDEXED = _coin.SoNormalBinding_PER_PART_INDEXED - PER_FACE = _coin.SoNormalBinding_PER_FACE - PER_FACE_INDEXED = _coin.SoNormalBinding_PER_FACE_INDEXED - PER_VERTEX = _coin.SoNormalBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoNormalBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoNormalBinding_DEFAULT - NONE = _coin.SoNormalBinding_NONE - value = _swig_property(_coin.SoNormalBinding_value_get, _coin.SoNormalBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNormalBinding_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNormalBinding_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNormalBinding_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNormalBinding_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNormalBinding_getPrimitiveCount(*args) - -SoNormalBinding_swigregister = _coin.SoNormalBinding_swigregister -SoNormalBinding_swigregister(SoNormalBinding) - -def SoNormalBinding_getClassTypeId(*args): - """SoNormalBinding_getClassTypeId() -> SoType""" - return _coin.SoNormalBinding_getClassTypeId(*args) - -def SoNormalBinding_initClass(*args): - """SoNormalBinding_initClass()""" - return _coin.SoNormalBinding_initClass(*args) - -class SoPickStyleElement(SoInt32Element): - """Proxy of C++ SoPickStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPickStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPickStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPickStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - SHAPE = _coin.SoPickStyleElement_SHAPE - BOUNDING_BOX = _coin.SoPickStyleElement_BOUNDING_BOX - UNPICKABLE = _coin.SoPickStyleElement_UNPICKABLE - SHAPE_ON_TOP = _coin.SoPickStyleElement_SHAPE_ON_TOP - BOUNDING_BOX_ON_TOP = _coin.SoPickStyleElement_BOUNDING_BOX_ON_TOP - SHAPE_FRONTFACES = _coin.SoPickStyleElement_SHAPE_FRONTFACES - def init(*args): - """init(self, SoState state)""" - return _coin.SoPickStyleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t style) - set(SoState state, Style style) - """ - return _coin.SoPickStyleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Style""" - return _coin.SoPickStyleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Style""" - return _coin.SoPickStyleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPickStyleElement_swigregister = _coin.SoPickStyleElement_swigregister -SoPickStyleElement_swigregister(SoPickStyleElement) - -def SoPickStyleElement_getClassTypeId(*args): - """SoPickStyleElement_getClassTypeId() -> SoType""" - return _coin.SoPickStyleElement_getClassTypeId(*args) - -def SoPickStyleElement_getClassStackIndex(*args): - """SoPickStyleElement_getClassStackIndex() -> int""" - return _coin.SoPickStyleElement_getClassStackIndex(*args) - -def SoPickStyleElement_createInstance(*args): - """SoPickStyleElement_createInstance() -> void""" - return _coin.SoPickStyleElement_createInstance(*args) - -def SoPickStyleElement_initClass(*args): - """SoPickStyleElement_initClass()""" - return _coin.SoPickStyleElement_initClass(*args) - -def SoPickStyleElement_set(*args): - """ - set(SoState state, SoNode node, int32_t style) - SoPickStyleElement_set(SoState state, Style style) - """ - return _coin.SoPickStyleElement_set(*args) - -def SoPickStyleElement_get(*args): - """SoPickStyleElement_get(SoState state) -> Style""" - return _coin.SoPickStyleElement_get(*args) - -def SoPickStyleElement_getDefault(*args): - """SoPickStyleElement_getDefault() -> Style""" - return _coin.SoPickStyleElement_getDefault(*args) - -class SoPickStyle(SoNode): - """Proxy of C++ SoPickStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPickStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPickStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPickStyle""" - this = _coin.new_SoPickStyle(*args) - try: self.this.append(this) - except: self.this = this - SHAPE = _coin.SoPickStyle_SHAPE - BOUNDING_BOX = _coin.SoPickStyle_BOUNDING_BOX - UNPICKABLE = _coin.SoPickStyle_UNPICKABLE - SHAPE_ON_TOP = _coin.SoPickStyle_SHAPE_ON_TOP - BOUNDING_BOX_ON_TOP = _coin.SoPickStyle_BOUNDING_BOX_ON_TOP - SHAPE_FRONTFACES = _coin.SoPickStyle_SHAPE_FRONTFACES - style = _swig_property(_coin.SoPickStyle_style_get, _coin.SoPickStyle_style_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPickStyle_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPickStyle_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPickStyle_pick(*args) - -SoPickStyle_swigregister = _coin.SoPickStyle_swigregister -SoPickStyle_swigregister(SoPickStyle) - -def SoPickStyle_getClassTypeId(*args): - """SoPickStyle_getClassTypeId() -> SoType""" - return _coin.SoPickStyle_getClassTypeId(*args) - -def SoPickStyle_initClass(*args): - """SoPickStyle_initClass()""" - return _coin.SoPickStyle_initClass(*args) - -class SoShapeHintsElement(SoElement): - """Proxy of C++ SoShapeHintsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeHintsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShapeHintsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShapeHintsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShapeHintsElement_initClass(*args) - - initClass = staticmethod(initClass) - UNKNOWN_ORDERING = _coin.SoShapeHintsElement_UNKNOWN_ORDERING - CLOCKWISE = _coin.SoShapeHintsElement_CLOCKWISE - COUNTERCLOCKWISE = _coin.SoShapeHintsElement_COUNTERCLOCKWISE - ORDERING_AS_IS = _coin.SoShapeHintsElement_ORDERING_AS_IS - UNKNOWN_SHAPE_TYPE = _coin.SoShapeHintsElement_UNKNOWN_SHAPE_TYPE - SOLID = _coin.SoShapeHintsElement_SOLID - SHAPE_TYPE_AS_IS = _coin.SoShapeHintsElement_SHAPE_TYPE_AS_IS - UNKNOWN_FACE_TYPE = _coin.SoShapeHintsElement_UNKNOWN_FACE_TYPE - CONVEX = _coin.SoShapeHintsElement_CONVEX - FACE_TYPE_AS_IS = _coin.SoShapeHintsElement_FACE_TYPE_AS_IS - def init(*args): - """init(self, SoState state)""" - return _coin.SoShapeHintsElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoShapeHintsElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoShapeHintsElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoShapeHintsElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoShapeHintsElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, SoNode node, VertexOrdering vertexOrdering, - ShapeType shapeType, FaceType faceType) - set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_get(*args) - - get = staticmethod(get) - def getVertexOrdering(*args): - """getVertexOrdering(SoState state) -> VertexOrdering""" - return _coin.SoShapeHintsElement_getVertexOrdering(*args) - - getVertexOrdering = staticmethod(getVertexOrdering) - def getShapeType(*args): - """getShapeType(SoState state) -> ShapeType""" - return _coin.SoShapeHintsElement_getShapeType(*args) - - getShapeType = staticmethod(getShapeType) - def getFaceType(*args): - """getFaceType(SoState state) -> FaceType""" - return _coin.SoShapeHintsElement_getFaceType(*args) - - getFaceType = staticmethod(getFaceType) - def getDefaultVertexOrdering(*args): - """getDefaultVertexOrdering() -> VertexOrdering""" - return _coin.SoShapeHintsElement_getDefaultVertexOrdering(*args) - - getDefaultVertexOrdering = staticmethod(getDefaultVertexOrdering) - def getDefaultShapeType(*args): - """getDefaultShapeType() -> ShapeType""" - return _coin.SoShapeHintsElement_getDefaultShapeType(*args) - - getDefaultShapeType = staticmethod(getDefaultShapeType) - def getDefaultFaceType(*args): - """getDefaultFaceType() -> FaceType""" - return _coin.SoShapeHintsElement_getDefaultFaceType(*args) - - getDefaultFaceType = staticmethod(getDefaultFaceType) - def output(*args): - """output(self, FILE file)""" - return _coin.SoShapeHintsElement_output(*args) - -SoShapeHintsElement_swigregister = _coin.SoShapeHintsElement_swigregister -SoShapeHintsElement_swigregister(SoShapeHintsElement) - -def SoShapeHintsElement_getClassTypeId(*args): - """SoShapeHintsElement_getClassTypeId() -> SoType""" - return _coin.SoShapeHintsElement_getClassTypeId(*args) - -def SoShapeHintsElement_getClassStackIndex(*args): - """SoShapeHintsElement_getClassStackIndex() -> int""" - return _coin.SoShapeHintsElement_getClassStackIndex(*args) - -def SoShapeHintsElement_createInstance(*args): - """SoShapeHintsElement_createInstance() -> void""" - return _coin.SoShapeHintsElement_createInstance(*args) - -def SoShapeHintsElement_initClass(*args): - """SoShapeHintsElement_initClass()""" - return _coin.SoShapeHintsElement_initClass(*args) - -def SoShapeHintsElement_set(*args): - """ - set(SoState state, SoNode node, VertexOrdering vertexOrdering, - ShapeType shapeType, FaceType faceType) - SoShapeHintsElement_set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_set(*args) - -def SoShapeHintsElement_get(*args): - """ - SoShapeHintsElement_get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_get(*args) - -def SoShapeHintsElement_getVertexOrdering(*args): - """SoShapeHintsElement_getVertexOrdering(SoState state) -> VertexOrdering""" - return _coin.SoShapeHintsElement_getVertexOrdering(*args) - -def SoShapeHintsElement_getShapeType(*args): - """SoShapeHintsElement_getShapeType(SoState state) -> ShapeType""" - return _coin.SoShapeHintsElement_getShapeType(*args) - -def SoShapeHintsElement_getFaceType(*args): - """SoShapeHintsElement_getFaceType(SoState state) -> FaceType""" - return _coin.SoShapeHintsElement_getFaceType(*args) - -def SoShapeHintsElement_getDefaultVertexOrdering(*args): - """SoShapeHintsElement_getDefaultVertexOrdering() -> VertexOrdering""" - return _coin.SoShapeHintsElement_getDefaultVertexOrdering(*args) - -def SoShapeHintsElement_getDefaultShapeType(*args): - """SoShapeHintsElement_getDefaultShapeType() -> ShapeType""" - return _coin.SoShapeHintsElement_getDefaultShapeType(*args) - -def SoShapeHintsElement_getDefaultFaceType(*args): - """SoShapeHintsElement_getDefaultFaceType() -> FaceType""" - return _coin.SoShapeHintsElement_getDefaultFaceType(*args) - -class SoSFBool(SoSField): - """Proxy of C++ SoSFBool class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBool""" - this = _coin.new_SoSFBool(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBool - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBool_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBool_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBool_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBool_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBool_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbBool""" - return _coin.SoSFBool_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFBool field) -> int""" - return _coin.SoSFBool___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBool field) -> int""" - return _coin.SoSFBool___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBool_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBool newvalue) - setValue(self, SoSFBool other) - """ - return _coin.SoSFBool_setValue(*args) - -SoSFBool_swigregister = _coin.SoSFBool_swigregister -SoSFBool_swigregister(SoSFBool) - -def SoSFBool_createInstance(*args): - """SoSFBool_createInstance() -> void""" - return _coin.SoSFBool_createInstance(*args) - -def SoSFBool_getClassTypeId(*args): - """SoSFBool_getClassTypeId() -> SoType""" - return _coin.SoSFBool_getClassTypeId(*args) - -def SoSFBool_initClass(*args): - """SoSFBool_initClass()""" - return _coin.SoSFBool_initClass(*args) - -class SoShapeHints(SoNode): - """Proxy of C++ SoShapeHints class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeHints_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShapeHints_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShapeHints_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoShapeHints""" - this = _coin.new_SoShapeHints(*args) - try: self.this.append(this) - except: self.this = this - UNKNOWN_ORDERING = _coin.SoShapeHints_UNKNOWN_ORDERING - CLOCKWISE = _coin.SoShapeHints_CLOCKWISE - COUNTERCLOCKWISE = _coin.SoShapeHints_COUNTERCLOCKWISE - UNKNOWN_SHAPE_TYPE = _coin.SoShapeHints_UNKNOWN_SHAPE_TYPE - SOLID = _coin.SoShapeHints_SOLID - UNKNOWN_FACE_TYPE = _coin.SoShapeHints_UNKNOWN_FACE_TYPE - CONVEX = _coin.SoShapeHints_CONVEX - NO_WINDING_TYPE = _coin.SoShapeHints_NO_WINDING_TYPE - vertexOrdering = _swig_property(_coin.SoShapeHints_vertexOrdering_get, _coin.SoShapeHints_vertexOrdering_set) - shapeType = _swig_property(_coin.SoShapeHints_shapeType_get, _coin.SoShapeHints_shapeType_set) - faceType = _swig_property(_coin.SoShapeHints_faceType_get, _coin.SoShapeHints_faceType_set) - windingType = _swig_property(_coin.SoShapeHints_windingType_get, _coin.SoShapeHints_windingType_set) - useVBO = _swig_property(_coin.SoShapeHints_useVBO_get, _coin.SoShapeHints_useVBO_set) - creaseAngle = _swig_property(_coin.SoShapeHints_creaseAngle_get, _coin.SoShapeHints_creaseAngle_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoShapeHints_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShapeHints_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoShapeHints_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoShapeHints_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoShapeHints_pick(*args) - -SoShapeHints_swigregister = _coin.SoShapeHints_swigregister -SoShapeHints_swigregister(SoShapeHints) - -def SoShapeHints_getClassTypeId(*args): - """SoShapeHints_getClassTypeId() -> SoType""" - return _coin.SoShapeHints_getClassTypeId(*args) - -def SoShapeHints_initClass(*args): - """SoShapeHints_initClass()""" - return _coin.SoShapeHints_initClass(*args) - -class SoTexture(SoNode): - """Proxy of C++ SoTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture_initClass(*args) - - initClass = staticmethod(initClass) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoTexture_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture_callback(*args) - -SoTexture_swigregister = _coin.SoTexture_swigregister -SoTexture_swigregister(SoTexture) - -def SoTexture_getClassTypeId(*args): - """SoTexture_getClassTypeId() -> SoType""" - return _coin.SoTexture_getClassTypeId(*args) - -def SoTexture_initClass(*args): - """SoTexture_initClass()""" - return _coin.SoTexture_initClass(*args) - -def SoTexture_cleanupClass(*args): - """SoTexture_cleanupClass()""" - return _coin.SoTexture_cleanupClass(*args) - -class SoSFImage(SoSField): - """Proxy of C++ SoSFImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFImage""" - this = _coin.new_SoSFImage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFImage - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFImage_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFImage_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFImage_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFImage_isSame(*args) - - COPY = _coin.SoSFImage_COPY - NO_COPY = _coin.SoSFImage_NO_COPY - NO_COPY_AND_DELETE = _coin.SoSFImage_NO_COPY_AND_DELETE - NO_COPY_AND_FREE = _coin.SoSFImage_NO_COPY_AND_FREE - def initClass(*args): - """initClass()""" - return _coin.SoSFImage_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """ - getValue(self, SbVec2s size) -> unsigned char - getValue(self) -> SbImage - """ - return _coin.SoSFImage_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFImage field) -> int""" - return _coin.SoSFImage___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFImage field) -> int""" - return _coin.SoSFImage___ne__(*args) - - def startEditing(*args): - """startEditing(self, SbVec2s size) -> unsigned char""" - return _coin.SoSFImage_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoSFImage_finishEditing(*args) - - def setSubValue(*args): - """setSubValue(self, SbVec2s dims, SbVec2s offset, unsigned char pixels)""" - return _coin.SoSFImage_setSubValue(*args) - - def setSubValues(*args): - """setSubValues(self, SbVec2s dims, SbVec2s offsets, int num, unsigned char pixelblocks)""" - return _coin.SoSFImage_setSubValues(*args) - - def getSubTexture(*args): - """getSubTexture(self, int idx, SbVec2s dims, SbVec2s offset) -> unsigned char""" - return _coin.SoSFImage_getSubTexture(*args) - - def hasSubTextures(*args): - """hasSubTextures(self, int numsubtextures) -> SbBool""" - return _coin.SoSFImage_hasSubTextures(*args) - - def setNeverWrite(*args): - """setNeverWrite(self, SbBool flag)""" - return _coin.SoSFImage_setNeverWrite(*args) - - def isNeverWrite(*args): - """isNeverWrite(self) -> SbBool""" - return _coin.SoSFImage_isNeverWrite(*args) - - def hasTransparency(*args): - """hasTransparency(self) -> SbBool""" - return _coin.SoSFImage_hasTransparency(*args) - - def setValue(*args): - """ - setValue(self, SbVec2s size, int nc, unsigned char pixels, CopyPolicy copypolicy=COPY) - setValue(self, SbVec2s size, int nc, unsigned char pixels) - setValue(self, SbVec2s size, int nc, PyObject pixels) - setValue(self, SoSFImage other) - """ - return _coin.SoSFImage_setValue(*args) - -SoSFImage_swigregister = _coin.SoSFImage_swigregister -SoSFImage_swigregister(SoSFImage) - -def SoSFImage_createInstance(*args): - """SoSFImage_createInstance() -> void""" - return _coin.SoSFImage_createInstance(*args) - -def SoSFImage_getClassTypeId(*args): - """SoSFImage_getClassTypeId() -> SoType""" - return _coin.SoSFImage_getClassTypeId(*args) - -def SoSFImage_initClass(*args): - """SoSFImage_initClass()""" - return _coin.SoSFImage_initClass(*args) - -class SoSFString(SoSField): - """Proxy of C++ SoSFString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFString""" - this = _coin.new_SoSFString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFString - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFString_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFString_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFString_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFString_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFString_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbString""" - return _coin.SoSFString_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFString field) -> int""" - return _coin.SoSFString___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFString field) -> int""" - return _coin.SoSFString___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFString_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbString newvalue) - setValue(self, char str) - setValue(self, SoSFString other) - """ - return _coin.SoSFString_setValue(*args) - -SoSFString_swigregister = _coin.SoSFString_swigregister -SoSFString_swigregister(SoSFString) - -def SoSFString_createInstance(*args): - """SoSFString_createInstance() -> void""" - return _coin.SoSFString_createInstance(*args) - -def SoSFString_getClassTypeId(*args): - """SoSFString_getClassTypeId() -> SoType""" - return _coin.SoSFString_getClassTypeId(*args) - -def SoSFString_initClass(*args): - """SoSFString_initClass()""" - return _coin.SoSFString_initClass(*args) - -class SoSFColor(SoSField): - """Proxy of C++ SoSFColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFColor""" - this = _coin.new_SoSFColor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFColor - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFColor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFColor_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFColor_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFColor_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbColor""" - return _coin.SoSFColor_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFColor field) -> int""" - return _coin.SoSFColor___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFColor field) -> int""" - return _coin.SoSFColor___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFColor_initClass(*args) - - initClass = staticmethod(initClass) - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) - setHSVValue(self, float hsv) - """ - return _coin.SoSFColor_setHSVValue(*args) - - def setValue(*args): - """ - setValue(self, SbColor newvalue) - setValue(self, SbVec3f vec) - setValue(self, float red, float green, float blue) - setValue(self, float rgb) - setValue(self, SoSFColor other) - """ - return _coin.SoSFColor_setValue(*args) - -SoSFColor_swigregister = _coin.SoSFColor_swigregister -SoSFColor_swigregister(SoSFColor) - -def SoSFColor_createInstance(*args): - """SoSFColor_createInstance() -> void""" - return _coin.SoSFColor_createInstance(*args) - -def SoSFColor_getClassTypeId(*args): - """SoSFColor_getClassTypeId() -> SoType""" - return _coin.SoSFColor_getClassTypeId(*args) - -def SoSFColor_initClass(*args): - """SoSFColor_initClass()""" - return _coin.SoSFColor_initClass(*args) - -class SoReplacedElement(SoElement): - """Proxy of C++ SoReplacedElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoReplacedElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoReplacedElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoReplacedElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoReplacedElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoReplacedElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoReplacedElement_copyMatchInfo(*args) - - def getNodeId(*args): - """getNodeId(self) -> uint32_t""" - return _coin.SoReplacedElement_getNodeId(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoReplacedElement_output(*args) - -SoReplacedElement_swigregister = _coin.SoReplacedElement_swigregister -SoReplacedElement_swigregister(SoReplacedElement) - -def SoReplacedElement_getClassTypeId(*args): - """SoReplacedElement_getClassTypeId() -> SoType""" - return _coin.SoReplacedElement_getClassTypeId(*args) - -def SoReplacedElement_getClassStackIndex(*args): - """SoReplacedElement_getClassStackIndex() -> int""" - return _coin.SoReplacedElement_getClassStackIndex(*args) - -def SoReplacedElement_initClass(*args): - """SoReplacedElement_initClass()""" - return _coin.SoReplacedElement_initClass(*args) - -class SbVec3s(object): - """Proxy of C++ SbVec3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3s - __init__(self, short v) -> SbVec3s - __init__(self, short x, short y, short z) -> SbVec3s - __init__(self, SbVec3us v) -> SbVec3s - __init__(self, SbVec3b v) -> SbVec3s - __init__(self, SbVec3i32 v) -> SbVec3s - __init__(self, SbVec3f v) -> SbVec3s - __init__(self, SbVec3d v) -> SbVec3s - """ - this = _coin.new_SbVec3s(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, short v) -> SbVec3s - setValue(self, short x, short y, short z) -> SbVec3s - setValue(self, SbVec3us v) -> SbVec3s - setValue(self, SbVec3b v) -> SbVec3s - setValue(self, SbVec3i32 v) -> SbVec3s - setValue(self, SbVec3f v) -> SbVec3s - setValue(self, SbVec3d v) -> SbVec3s - """ - return _coin.SbVec3s_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> short - getValue(self, short x, short y, short z) - """ - return _coin.SbVec3s_getValue(*args) - - def dot(*args): - """dot(self, SbVec3s v) -> int32_t""" - return _coin.SbVec3s_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3s_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec3s - __imul__(self, double d) -> SbVec3s - """ - return _coin.SbVec3s___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec3s - __idiv__(self, double d) -> SbVec3s - """ - return _coin.SbVec3s___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3s v) -> SbVec3s""" - return _coin.SbVec3s___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3s v) -> SbVec3s""" - return _coin.SbVec3s___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3s""" - return _coin.SbVec3s___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3s_output(*args) - - def __add__(*args): - """__add__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3s u) -> int""" - return _coin.SbVec3s___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3s u) -> int""" - return _coin.SbVec3s___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SbVec3s___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SbVec3s___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3s - __del__ = lambda self : None; -SbVec3s_swigregister = _coin.SbVec3s_swigregister -SbVec3s_swigregister(SbVec3s) - -class SoTextureImageElement(SoReplacedElement): - """Proxy of C++ SoTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - BLEND = _coin.SoTextureImageElement_BLEND - MODULATE = _coin.SoTextureImageElement_MODULATE - DECAL = _coin.SoTextureImageElement_DECAL - REPLACE = _coin.SoTextureImageElement_REPLACE - CLAMP = _coin.SoTextureImageElement_CLAMP - REPEAT = _coin.SoTextureImageElement_REPEAT - CLAMP_TO_BORDER = _coin.SoTextureImageElement_CLAMP_TO_BORDER - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureImageElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node)""" - return _coin.SoTextureImageElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def set(*args): - """ - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int wrapR, int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - get(SoState state, SbVec2s size, int numComponents, int wrapS, - int wrapT, int model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, int wrapS, - int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char - """ - return _coin.SoTextureImageElement_get(*args) - - get = staticmethod(get) - def getBlendColor(*args): - """getBlendColor(SoState state) -> SbColor""" - return _coin.SoTextureImageElement_getBlendColor(*args) - - getBlendColor = staticmethod(getBlendColor) - def getImage(*args): - """ - getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char - getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getImage(*args) - - getImage = staticmethod(getImage) - def getModel(*args): - """getModel(SoState state) -> Model""" - return _coin.SoTextureImageElement_getModel(*args) - - getModel = staticmethod(getModel) - def getWrapS(*args): - """getWrapS(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapS(*args) - - getWrapS = staticmethod(getWrapS) - def getWrapT(*args): - """getWrapT(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapT(*args) - - getWrapT = staticmethod(getWrapT) - def getWrapR(*args): - """getWrapR(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapR(*args) - - getWrapR = staticmethod(getWrapR) - def containsTransparency(*args): - """containsTransparency(SoState state) -> SbBool""" - return _coin.SoTextureImageElement_containsTransparency(*args) - - containsTransparency = staticmethod(containsTransparency) - def getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureImageElement_swigregister = _coin.SoTextureImageElement_swigregister -SoTextureImageElement_swigregister(SoTextureImageElement) - -def SoTextureImageElement_getClassTypeId(*args): - """SoTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoTextureImageElement_getClassTypeId(*args) - -def SoTextureImageElement_getClassStackIndex(*args): - """SoTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoTextureImageElement_getClassStackIndex(*args) - -def SoTextureImageElement_createInstance(*args): - """SoTextureImageElement_createInstance() -> void""" - return _coin.SoTextureImageElement_createInstance(*args) - -def SoTextureImageElement_initClass(*args): - """SoTextureImageElement_initClass()""" - return _coin.SoTextureImageElement_initClass(*args) - -def SoTextureImageElement_setDefault(*args): - """SoTextureImageElement_setDefault(SoState state, SoNode node)""" - return _coin.SoTextureImageElement_setDefault(*args) - -def SoTextureImageElement_set(*args): - """ - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int wrapR, int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - SoTextureImageElement_set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoTextureImageElement_set(*args) - -def SoTextureImageElement_get(*args): - """ - get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - get(SoState state, SbVec2s size, int numComponents, int wrapS, - int wrapT, int model, SbColor blendColor) -> unsigned char - SoTextureImageElement_get(SoState state, SbVec3s size, int numComponents, int wrapS, - int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char - """ - return _coin.SoTextureImageElement_get(*args) - -def SoTextureImageElement_getBlendColor(*args): - """SoTextureImageElement_getBlendColor(SoState state) -> SbColor""" - return _coin.SoTextureImageElement_getBlendColor(*args) - -def SoTextureImageElement_getImage(*args): - """ - getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char - SoTextureImageElement_getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getImage(*args) - -def SoTextureImageElement_getModel(*args): - """SoTextureImageElement_getModel(SoState state) -> Model""" - return _coin.SoTextureImageElement_getModel(*args) - -def SoTextureImageElement_getWrapS(*args): - """SoTextureImageElement_getWrapS(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapS(*args) - -def SoTextureImageElement_getWrapT(*args): - """SoTextureImageElement_getWrapT(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapT(*args) - -def SoTextureImageElement_getWrapR(*args): - """SoTextureImageElement_getWrapR(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapR(*args) - -def SoTextureImageElement_containsTransparency(*args): - """SoTextureImageElement_containsTransparency(SoState state) -> SbBool""" - return _coin.SoTextureImageElement_containsTransparency(*args) - -def SoTextureImageElement_getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - SoTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getDefault(*args) - -class SoTexture2(SoTexture): - """Proxy of C++ SoTexture2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture2""" - this = _coin.new_SoTexture2(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoTexture2_MODULATE - DECAL = _coin.SoTexture2_DECAL - BLEND = _coin.SoTexture2_BLEND - REPLACE = _coin.SoTexture2_REPLACE - REPEAT = _coin.SoTexture2_REPEAT - CLAMP = _coin.SoTexture2_CLAMP - filename = _swig_property(_coin.SoTexture2_filename_get, _coin.SoTexture2_filename_set) - image = _swig_property(_coin.SoTexture2_image_get, _coin.SoTexture2_image_set) - wrapS = _swig_property(_coin.SoTexture2_wrapS_get, _coin.SoTexture2_wrapS_set) - wrapT = _swig_property(_coin.SoTexture2_wrapT_get, _coin.SoTexture2_wrapT_set) - model = _swig_property(_coin.SoTexture2_model_get, _coin.SoTexture2_model_set) - blendColor = _swig_property(_coin.SoTexture2_blendColor_get, _coin.SoTexture2_blendColor_set) - enableCompressedTexture = _swig_property(_coin.SoTexture2_enableCompressedTexture_get, _coin.SoTexture2_enableCompressedTexture_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture2_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoTexture2_rayPick(*args) - - def readImage(*args): - """readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTexture2_readImage(*args) - - readImage = staticmethod(readImage) -SoTexture2_swigregister = _coin.SoTexture2_swigregister -SoTexture2_swigregister(SoTexture2) - -def SoTexture2_getClassTypeId(*args): - """SoTexture2_getClassTypeId() -> SoType""" - return _coin.SoTexture2_getClassTypeId(*args) - -def SoTexture2_initClass(*args): - """SoTexture2_initClass()""" - return _coin.SoTexture2_initClass(*args) - -def SoTexture2_readImage(*args): - """SoTexture2_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTexture2_readImage(*args) - -class SoTextureCoordinateBindingElement(SoInt32Element): - """Proxy of C++ SoTextureCoordinateBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCoordinateBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - PER_VERTEX = _coin.SoTextureCoordinateBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoTextureCoordinateBindingElement_PER_VERTEX_INDEXED - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCoordinateBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoTextureCoordinateBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoTextureCoordinateBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoTextureCoordinateBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureCoordinateBindingElement_swigregister = _coin.SoTextureCoordinateBindingElement_swigregister -SoTextureCoordinateBindingElement_swigregister(SoTextureCoordinateBindingElement) - -def SoTextureCoordinateBindingElement_getClassTypeId(*args): - """SoTextureCoordinateBindingElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBindingElement_getClassTypeId(*args) - -def SoTextureCoordinateBindingElement_getClassStackIndex(*args): - """SoTextureCoordinateBindingElement_getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateBindingElement_getClassStackIndex(*args) - -def SoTextureCoordinateBindingElement_createInstance(*args): - """SoTextureCoordinateBindingElement_createInstance() -> void""" - return _coin.SoTextureCoordinateBindingElement_createInstance(*args) - -def SoTextureCoordinateBindingElement_initClass(*args): - """SoTextureCoordinateBindingElement_initClass()""" - return _coin.SoTextureCoordinateBindingElement_initClass(*args) - -def SoTextureCoordinateBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoTextureCoordinateBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoTextureCoordinateBindingElement_set(*args) - -def SoTextureCoordinateBindingElement_get(*args): - """SoTextureCoordinateBindingElement_get(SoState state) -> Binding""" - return _coin.SoTextureCoordinateBindingElement_get(*args) - -def SoTextureCoordinateBindingElement_getDefault(*args): - """SoTextureCoordinateBindingElement_getDefault() -> Binding""" - return _coin.SoTextureCoordinateBindingElement_getDefault(*args) - -class SoTextureCoordinateBinding(SoNode): - """Proxy of C++ SoTextureCoordinateBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateBinding""" - this = _coin.new_SoTextureCoordinateBinding(*args) - try: self.this.append(this) - except: self.this = this - PER_VERTEX = _coin.SoTextureCoordinateBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoTextureCoordinateBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoTextureCoordinateBinding_DEFAULT - value = _swig_property(_coin.SoTextureCoordinateBinding_value_get, _coin.SoTextureCoordinateBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateBinding_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateBinding_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateBinding_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateBinding_pick(*args) - -SoTextureCoordinateBinding_swigregister = _coin.SoTextureCoordinateBinding_swigregister -SoTextureCoordinateBinding_swigregister(SoTextureCoordinateBinding) - -def SoTextureCoordinateBinding_getClassTypeId(*args): - """SoTextureCoordinateBinding_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBinding_getClassTypeId(*args) - -def SoTextureCoordinateBinding_initClass(*args): - """SoTextureCoordinateBinding_initClass()""" - return _coin.SoTextureCoordinateBinding_initClass(*args) - -class SoTransformation(SoNode): - """Proxy of C++ SoTransformation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformation_initClass(*args) - - initClass = staticmethod(initClass) -SoTransformation_swigregister = _coin.SoTransformation_swigregister -SoTransformation_swigregister(SoTransformation) - -def SoTransformation_getClassTypeId(*args): - """SoTransformation_getClassTypeId() -> SoType""" - return _coin.SoTransformation_getClassTypeId(*args) - -def SoTransformation_initClass(*args): - """SoTransformation_initClass()""" - return _coin.SoTransformation_initClass(*args) - -class SoUnits(SoTransformation): - """Proxy of C++ SoUnits class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoUnits_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoUnits_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoUnits_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoUnits""" - this = _coin.new_SoUnits(*args) - try: self.this.append(this) - except: self.this = this - METERS = _coin.SoUnits_METERS - CENTIMETERS = _coin.SoUnits_CENTIMETERS - MILLIMETERS = _coin.SoUnits_MILLIMETERS - MICROMETERS = _coin.SoUnits_MICROMETERS - MICRONS = _coin.SoUnits_MICRONS - NANOMETERS = _coin.SoUnits_NANOMETERS - ANGSTROMS = _coin.SoUnits_ANGSTROMS - KILOMETERS = _coin.SoUnits_KILOMETERS - FEET = _coin.SoUnits_FEET - INCHES = _coin.SoUnits_INCHES - POINTS = _coin.SoUnits_POINTS - YARDS = _coin.SoUnits_YARDS - MILES = _coin.SoUnits_MILES - NAUTICAL_MILES = _coin.SoUnits_NAUTICAL_MILES - units = _swig_property(_coin.SoUnits_units_get, _coin.SoUnits_units_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoUnits_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoUnits_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoUnits_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoUnits_getMatrix(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoUnits_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoUnits_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoUnits_getPrimitiveCount(*args) - -SoUnits_swigregister = _coin.SoUnits_swigregister -SoUnits_swigregister(SoUnits) - -def SoUnits_getClassTypeId(*args): - """SoUnits_getClassTypeId() -> SoType""" - return _coin.SoUnits_getClassTypeId(*args) - -def SoUnits_initClass(*args): - """SoUnits_initClass()""" - return _coin.SoUnits_initClass(*args) - -class SoCallbackAction(SoAction): - """Proxy of C++ SoCallbackAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCallbackAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCallbackAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoCallbackAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoCallbackAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoCallbackAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoCallbackAction - __init__(self, SbViewportRegion vp) -> SoCallbackAction - """ - this = _coin.new_SoCallbackAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCallbackAction - __del__ = lambda self : None; - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion vp)""" - return _coin.SoCallbackAction_setViewportRegion(*args) - - CONTINUE = _coin.SoCallbackAction_CONTINUE - ABORT = _coin.SoCallbackAction_ABORT - PRUNE = _coin.SoCallbackAction_PRUNE - def getDecimationType(*args): - """getDecimationType(self) -> Type""" - return _coin.SoCallbackAction_getDecimationType(*args) - - def getDecimationPercentage(*args): - """getDecimationPercentage(self) -> float""" - return _coin.SoCallbackAction_getDecimationPercentage(*args) - - def getComplexity(*args): - """getComplexity(self) -> float""" - return _coin.SoCallbackAction_getComplexity(*args) - - def getComplexityType(*args): - """getComplexityType(self) -> Type""" - return _coin.SoCallbackAction_getComplexityType(*args) - - def getNumCoordinates(*args): - """getNumCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumCoordinates(*args) - - def getCoordinate3(*args): - """getCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getCoordinate3(*args) - - def getCoordinate4(*args): - """getCoordinate4(self, int index) -> SbVec4f""" - return _coin.SoCallbackAction_getCoordinate4(*args) - - def getDrawStyle(*args): - """getDrawStyle(self) -> Style""" - return _coin.SoCallbackAction_getDrawStyle(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> unsigned short""" - return _coin.SoCallbackAction_getLinePattern(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoCallbackAction_getLineWidth(*args) - - def getPointSize(*args): - """getPointSize(self) -> float""" - return _coin.SoCallbackAction_getPointSize(*args) - - def getFontName(*args): - """getFontName(self) -> SbName""" - return _coin.SoCallbackAction_getFontName(*args) - - def getFontSize(*args): - """getFontSize(self) -> float""" - return _coin.SoCallbackAction_getFontSize(*args) - - def getLightModel(*args): - """getLightModel(self) -> Model""" - return _coin.SoCallbackAction_getLightModel(*args) - - def getLightAttenuation(*args): - """getLightAttenuation(self) -> SbVec3f""" - return _coin.SoCallbackAction_getLightAttenuation(*args) - - def getMaterialBinding(*args): - """getMaterialBinding(self) -> Binding""" - return _coin.SoCallbackAction_getMaterialBinding(*args) - - def getNumNormals(*args): - """getNumNormals(self) -> uint32_t""" - return _coin.SoCallbackAction_getNumNormals(*args) - - def getNormal(*args): - """getNormal(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getNormal(*args) - - def getNormalBinding(*args): - """getNormalBinding(self) -> Binding""" - return _coin.SoCallbackAction_getNormalBinding(*args) - - def getNumProfileCoordinates(*args): - """getNumProfileCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumProfileCoordinates(*args) - - def getProfileCoordinate2(*args): - """getProfileCoordinate2(self, int index) -> SbVec2f""" - return _coin.SoCallbackAction_getProfileCoordinate2(*args) - - def getProfileCoordinate3(*args): - """getProfileCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getProfileCoordinate3(*args) - - def getProfile(*args): - """getProfile(self) -> SoNodeList""" - return _coin.SoCallbackAction_getProfile(*args) - - def getVertexOrdering(*args): - """getVertexOrdering(self) -> VertexOrdering""" - return _coin.SoCallbackAction_getVertexOrdering(*args) - - def getShapeType(*args): - """getShapeType(self) -> ShapeType""" - return _coin.SoCallbackAction_getShapeType(*args) - - def getFaceType(*args): - """getFaceType(self) -> FaceType""" - return _coin.SoCallbackAction_getFaceType(*args) - - def getCreaseAngle(*args): - """getCreaseAngle(self) -> float""" - return _coin.SoCallbackAction_getCreaseAngle(*args) - - def getNumTextureCoordinates(*args): - """getNumTextureCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumTextureCoordinates(*args) - - def getTextureCoordinate2(*args): - """getTextureCoordinate2(self, int index) -> SbVec2f""" - return _coin.SoCallbackAction_getTextureCoordinate2(*args) - - def getTextureCoordinate3(*args): - """getTextureCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getTextureCoordinate3(*args) - - def getTextureCoordinate4(*args): - """getTextureCoordinate4(self, int index) -> SbVec4f""" - return _coin.SoCallbackAction_getTextureCoordinate4(*args) - - def getTextureCoordinateBinding(*args): - """getTextureCoordinateBinding(self) -> Binding""" - return _coin.SoCallbackAction_getTextureCoordinateBinding(*args) - - def getTextureBlendColor(*args): - """getTextureBlendColor(self) -> SbColor""" - return _coin.SoCallbackAction_getTextureBlendColor(*args) - - def getTextureImage(*args): - """ - getTextureImage(self, SbVec2s size, int numcomps) -> unsigned char - getTextureImage(self, SbVec3s size, int numcomps) -> unsigned char - """ - return _coin.SoCallbackAction_getTextureImage(*args) - - def getTextureMatrix(*args): - """getTextureMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getTextureMatrix(*args) - - def getTextureModel(*args): - """getTextureModel(self) -> Model""" - return _coin.SoCallbackAction_getTextureModel(*args) - - def getTextureWrapS(*args): - """getTextureWrapS(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapS(*args) - - def getTextureWrapT(*args): - """getTextureWrapT(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapT(*args) - - def getTextureWrapR(*args): - """getTextureWrapR(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapR(*args) - - def getModelMatrix(*args): - """getModelMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getModelMatrix(*args) - - def getUnits(*args): - """getUnits(self) -> Units""" - return _coin.SoCallbackAction_getUnits(*args) - - def getFocalDistance(*args): - """getFocalDistance(self) -> float""" - return _coin.SoCallbackAction_getFocalDistance(*args) - - def getProjectionMatrix(*args): - """getProjectionMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getProjectionMatrix(*args) - - def getViewingMatrix(*args): - """getViewingMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getViewingMatrix(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoCallbackAction_getViewVolume(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoCallbackAction_getViewportRegion(*args) - - def getPickStyle(*args): - """getPickStyle(self) -> Style""" - return _coin.SoCallbackAction_getPickStyle(*args) - - def getSwitch(*args): - """getSwitch(self) -> int32_t""" - return _coin.SoCallbackAction_getSwitch(*args) - - def getCurrentResponse(*args): - """getCurrentResponse(self) -> Response""" - return _coin.SoCallbackAction_getCurrentResponse(*args) - - def invokePreCallbacks(*args): - """invokePreCallbacks(self, SoNode node)""" - return _coin.SoCallbackAction_invokePreCallbacks(*args) - - def invokePostCallbacks(*args): - """invokePostCallbacks(self, SoNode node)""" - return _coin.SoCallbackAction_invokePostCallbacks(*args) - - def invokeTriangleCallbacks(*args): - """ - invokeTriangleCallbacks(self, SoShape shape, SoPrimitiveVertex v1, SoPrimitiveVertex v2, - SoPrimitiveVertex v3) - """ - return _coin.SoCallbackAction_invokeTriangleCallbacks(*args) - - def invokeLineSegmentCallbacks(*args): - """invokeLineSegmentCallbacks(self, SoShape shape, SoPrimitiveVertex v1, SoPrimitiveVertex v2)""" - return _coin.SoCallbackAction_invokeLineSegmentCallbacks(*args) - - def invokePointCallbacks(*args): - """invokePointCallbacks(self, SoShape shape, SoPrimitiveVertex v)""" - return _coin.SoCallbackAction_invokePointCallbacks(*args) - - def shouldGeneratePrimitives(*args): - """shouldGeneratePrimitives(self, SoShape shape) -> SbBool""" - return _coin.SoCallbackAction_shouldGeneratePrimitives(*args) - - def getCurPathTail(*args): - """getCurPathTail(self) -> SoNode""" - return _coin.SoCallbackAction_getCurPathTail(*args) - - def setCurrentNode(*args): - """setCurrentNode(self, SoNode node)""" - return _coin.SoCallbackAction_setCurrentNode(*args) - - def setCallbackAll(*args): - """setCallbackAll(self, SbBool callbackall)""" - return _coin.SoCallbackAction_setCallbackAll(*args) - - def isCallbackAll(*args): - """isCallbackAll(self) -> SbBool""" - return _coin.SoCallbackAction_isCallbackAll(*args) - - def getMaterial(*args): - """ - getMaterial(self, int index=0) -> PyObject - getMaterial(self) -> PyObject - """ - return _coin.SoCallbackAction_getMaterial(*args) - - def addPreCallback(*args): - """ - addPreCallback(self, SoType type, SoCallbackActionCB cb, void userdata) - addPreCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPreCallback(*args) - - def addPostCallback(*args): - """ - addPostCallback(self, SoType type, SoCallbackActionCB cb, void userdata) - addPostCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPostCallback(*args) - - def addPreTailCallback(*args): - """ - addPreTailCallback(self, SoCallbackActionCB cb, void userdata) - addPreTailCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPreTailCallback(*args) - - def addPostTailCallback(*args): - """ - addPostTailCallback(self, SoCallbackActionCB cb, void userdata) - addPostTailCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPostTailCallback(*args) - - def addTriangleCallback(*args): - """ - addTriangleCallback(self, SoType type, SoTriangleCB cb, void userdata) - addTriangleCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addTriangleCallback(*args) - - def addLineSegmentCallback(*args): - """ - addLineSegmentCallback(self, SoType type, SoLineSegmentCB cb, void userdata) - addLineSegmentCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addLineSegmentCallback(*args) - - def addPointCallback(*args): - """ - addPointCallback(self, SoType type, SoPointCB cb, void userdata) - addPointCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPointCallback(*args) - -SoCallbackAction_swigregister = _coin.SoCallbackAction_swigregister -SoCallbackAction_swigregister(SoCallbackAction) - -def SoCallbackAction_getClassTypeId(*args): - """SoCallbackAction_getClassTypeId() -> SoType""" - return _coin.SoCallbackAction_getClassTypeId(*args) - -def SoCallbackAction_addMethod(*args): - """SoCallbackAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoCallbackAction_addMethod(*args) - -def SoCallbackAction_enableElement(*args): - """SoCallbackAction_enableElement(SoType type, int stackindex)""" - return _coin.SoCallbackAction_enableElement(*args) - -def SoCallbackAction_initClass(*args): - """SoCallbackAction_initClass()""" - return _coin.SoCallbackAction_initClass(*args) - -class SbVec2f(object): - """Proxy of C++ SbVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2f - __init__(self, float v) -> SbVec2f - __init__(self, float x, float y) -> SbVec2f - __init__(self, SbVec2d v) -> SbVec2f - __init__(self, SbVec2b v) -> SbVec2f - __init__(self, SbVec2s v) -> SbVec2f - __init__(self, SbVec2i32 v) -> SbVec2f - """ - this = _coin.new_SbVec2f(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, float v) -> SbVec2f - setValue(self, float x, float y) -> SbVec2f - setValue(self, SbVec2d v) -> SbVec2f - setValue(self, SbVec2b v) -> SbVec2f - setValue(self, SbVec2s v) -> SbVec2f - setValue(self, SbVec2i32 v) -> SbVec2f - """ - return _coin.SbVec2f_setValue(*args) - - def getValue(*args): - """getValue(self, float x, float y)""" - return _coin.SbVec2f_getValue(*args) - - def dot(*args): - """dot(self, SbVec2f v) -> float""" - return _coin.SbVec2f_dot(*args) - - def equals(*args): - """equals(self, SbVec2f v, float tolerance) -> SbBool""" - return _coin.SbVec2f_equals(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec2f_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> float""" - return _coin.SbVec2f_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2f_negate(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec2f_normalize(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2f v) -> SbVec2f""" - return _coin.SbVec2f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2f v) -> SbVec2f""" - return _coin.SbVec2f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2f""" - return _coin.SbVec2f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2f_output(*args) - - def __add__(*args): - """__add__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2f u) -> int""" - return _coin.SbVec2f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2f u) -> int""" - return _coin.SbVec2f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec2f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec2f___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2f - __del__ = lambda self : None; -SbVec2f_swigregister = _coin.SbVec2f_swigregister -SbVec2f_swigregister(SbVec2f) - -class SbViewportRegion(object): - """Proxy of C++ SbViewportRegion class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbViewportRegion - __init__(self, short width, short height) -> SbViewportRegion - __init__(self, SbVec2s winSize) -> SbViewportRegion - __init__(self, SbViewportRegion vpReg) -> SbViewportRegion - """ - this = _coin.new_SbViewportRegion(*args) - try: self.this.append(this) - except: self.this = this - def setWindowSize(*args): - """ - setWindowSize(self, short width, short height) - setWindowSize(self, SbVec2s winSize) - """ - return _coin.SbViewportRegion_setWindowSize(*args) - - def setViewport(*args): - """ - setViewport(self, float left, float bottom, float width, float height) - setViewport(self, SbVec2f origin, SbVec2f size) - """ - return _coin.SbViewportRegion_setViewport(*args) - - def setViewportPixels(*args): - """ - setViewportPixels(self, short left, short bottom, short width, short height) - setViewportPixels(self, SbVec2s origin, SbVec2s size) - """ - return _coin.SbViewportRegion_setViewportPixels(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _coin.SbViewportRegion_getWindowSize(*args) - - def getViewportOrigin(*args): - """getViewportOrigin(self) -> SbVec2f""" - return _coin.SbViewportRegion_getViewportOrigin(*args) - - def getViewportOriginPixels(*args): - """getViewportOriginPixels(self) -> SbVec2s""" - return _coin.SbViewportRegion_getViewportOriginPixels(*args) - - def getViewportSize(*args): - """getViewportSize(self) -> SbVec2f""" - return _coin.SbViewportRegion_getViewportSize(*args) - - def getViewportSizePixels(*args): - """getViewportSizePixels(self) -> SbVec2s""" - return _coin.SbViewportRegion_getViewportSizePixels(*args) - - def getViewportAspectRatio(*args): - """getViewportAspectRatio(self) -> float""" - return _coin.SbViewportRegion_getViewportAspectRatio(*args) - - def scaleWidth(*args): - """scaleWidth(self, float ratio)""" - return _coin.SbViewportRegion_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, float ratio)""" - return _coin.SbViewportRegion_scaleHeight(*args) - - def setPixelsPerInch(*args): - """setPixelsPerInch(self, float ppi)""" - return _coin.SbViewportRegion_setPixelsPerInch(*args) - - def getPixelsPerInch(*args): - """getPixelsPerInch(self) -> float""" - return _coin.SbViewportRegion_getPixelsPerInch(*args) - - def getPixelsPerPoint(*args): - """getPixelsPerPoint(self) -> float""" - return _coin.SbViewportRegion_getPixelsPerPoint(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbViewportRegion_output(*args) - - def __eq__(*args): - """__eq__(self, SbViewportRegion u) -> int""" - return _coin.SbViewportRegion___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbViewportRegion u) -> int""" - return _coin.SbViewportRegion___ne__(*args) - - __swig_destroy__ = _coin.delete_SbViewportRegion - __del__ = lambda self : None; -SbViewportRegion_swigregister = _coin.SbViewportRegion_swigregister -SbViewportRegion_swigregister(SbViewportRegion) - -class SoGLRenderAction(SoAction): - """Proxy of C++ SoGLRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGLRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGLRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoGLRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoGLRenderAction""" - this = _coin.new_SoGLRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGLRenderAction - __del__ = lambda self : None; - SCREEN_DOOR = _coin.SoGLRenderAction_SCREEN_DOOR - ADD = _coin.SoGLRenderAction_ADD - DELAYED_ADD = _coin.SoGLRenderAction_DELAYED_ADD - SORTED_OBJECT_ADD = _coin.SoGLRenderAction_SORTED_OBJECT_ADD - BLEND = _coin.SoGLRenderAction_BLEND - DELAYED_BLEND = _coin.SoGLRenderAction_DELAYED_BLEND - SORTED_OBJECT_BLEND = _coin.SoGLRenderAction_SORTED_OBJECT_BLEND - SORTED_OBJECT_SORTED_TRIANGLE_ADD = _coin.SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_ADD - SORTED_OBJECT_SORTED_TRIANGLE_BLEND = _coin.SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_BLEND - NONE = _coin.SoGLRenderAction_NONE - SORTED_LAYERS_BLEND = _coin.SoGLRenderAction_SORTED_LAYERS_BLEND - ONE_PASS = _coin.SoGLRenderAction_ONE_PASS - NONSOLID_SEPARATE_BACKFACE_PASS = _coin.SoGLRenderAction_NONSOLID_SEPARATE_BACKFACE_PASS - CONTINUE = _coin.SoGLRenderAction_CONTINUE - ABORT = _coin.SoGLRenderAction_ABORT - PRUNE = _coin.SoGLRenderAction_PRUNE - DELAY = _coin.SoGLRenderAction_DELAY - BBOX_CENTER = _coin.SoGLRenderAction_BBOX_CENTER - BBOX_CLOSEST_CORNER = _coin.SoGLRenderAction_BBOX_CLOSEST_CORNER - BBOX_FARTHEST_CORNER = _coin.SoGLRenderAction_BBOX_FARTHEST_CORNER - CUSTOM_CALLBACK = _coin.SoGLRenderAction_CUSTOM_CALLBACK - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoGLRenderAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGLRenderAction_getViewportRegion(*args) - - def setUpdateArea(*args): - """setUpdateArea(self, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLRenderAction_setUpdateArea(*args) - - def getUpdateArea(*args): - """getUpdateArea(self, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLRenderAction_getUpdateArea(*args) - - def getAbortCallback(*args): - """getAbortCallback(self, SoGLRenderAbortCB func_out, void userdata_out)""" - return _coin.SoGLRenderAction_getAbortCallback(*args) - - def setTransparencyType(*args): - """setTransparencyType(self, TransparencyType type)""" - return _coin.SoGLRenderAction_setTransparencyType(*args) - - def getTransparencyType(*args): - """getTransparencyType(self) -> TransparencyType""" - return _coin.SoGLRenderAction_getTransparencyType(*args) - - def setTransparentDelayedObjectRenderType(*args): - """setTransparentDelayedObjectRenderType(self, TransparentDelayedObjectRenderType type)""" - return _coin.SoGLRenderAction_setTransparentDelayedObjectRenderType(*args) - - def getTransparentDelayedObjectRenderType(*args): - """getTransparentDelayedObjectRenderType(self) -> TransparentDelayedObjectRenderType""" - return _coin.SoGLRenderAction_getTransparentDelayedObjectRenderType(*args) - - def setSmoothing(*args): - """setSmoothing(self, SbBool smooth)""" - return _coin.SoGLRenderAction_setSmoothing(*args) - - def isSmoothing(*args): - """isSmoothing(self) -> SbBool""" - return _coin.SoGLRenderAction_isSmoothing(*args) - - def setNumPasses(*args): - """setNumPasses(self, int num)""" - return _coin.SoGLRenderAction_setNumPasses(*args) - - def getNumPasses(*args): - """getNumPasses(self) -> int""" - return _coin.SoGLRenderAction_getNumPasses(*args) - - def setPassUpdate(*args): - """setPassUpdate(self, SbBool flag)""" - return _coin.SoGLRenderAction_setPassUpdate(*args) - - def isPassUpdate(*args): - """isPassUpdate(self) -> SbBool""" - return _coin.SoGLRenderAction_isPassUpdate(*args) - - def setCacheContext(*args): - """setCacheContext(self, uint32_t context)""" - return _coin.SoGLRenderAction_setCacheContext(*args) - - def getCacheContext(*args): - """getCacheContext(self) -> uint32_t""" - return _coin.SoGLRenderAction_getCacheContext(*args) - - def addDelayedPath(*args): - """addDelayedPath(self, SoPath path)""" - return _coin.SoGLRenderAction_addDelayedPath(*args) - - def isRenderingDelayedPaths(*args): - """isRenderingDelayedPaths(self) -> SbBool""" - return _coin.SoGLRenderAction_isRenderingDelayedPaths(*args) - - def handleTransparency(*args): - """ - handleTransparency(self, SbBool istransparent=0) -> SbBool - handleTransparency(self) -> SbBool - """ - return _coin.SoGLRenderAction_handleTransparency(*args) - - def setCurPass(*args): - """setCurPass(self, int passnum, int numpasses)""" - return _coin.SoGLRenderAction_setCurPass(*args) - - def getCurPass(*args): - """getCurPass(self) -> int""" - return _coin.SoGLRenderAction_getCurPass(*args) - - def abortNow(*args): - """abortNow(self) -> SbBool""" - return _coin.SoGLRenderAction_abortNow(*args) - - def setRenderingIsRemote(*args): - """setRenderingIsRemote(self, SbBool isremote)""" - return _coin.SoGLRenderAction_setRenderingIsRemote(*args) - - def getRenderingIsRemote(*args): - """getRenderingIsRemote(self) -> SbBool""" - return _coin.SoGLRenderAction_getRenderingIsRemote(*args) - - def invalidateState(*args): - """invalidateState(self)""" - return _coin.SoGLRenderAction_invalidateState(*args) - - def setSortedLayersNumPasses(*args): - """setSortedLayersNumPasses(self, int num)""" - return _coin.SoGLRenderAction_setSortedLayersNumPasses(*args) - - def getSortedLayersNumPasses(*args): - """getSortedLayersNumPasses(self) -> int""" - return _coin.SoGLRenderAction_getSortedLayersNumPasses(*args) - - def setSortedObjectOrderStrategy(*args): - """ - setSortedObjectOrderStrategy(self, SortedObjectOrderStrategy strategy, SoGLSortedObjectOrderCB cb=None, - void closure=None) - setSortedObjectOrderStrategy(self, SortedObjectOrderStrategy strategy, SoGLSortedObjectOrderCB cb=None) - setSortedObjectOrderStrategy(self, SortedObjectOrderStrategy strategy) - """ - return _coin.SoGLRenderAction_setSortedObjectOrderStrategy(*args) - - def setDelayedObjDepthWrite(*args): - """setDelayedObjDepthWrite(self, SbBool write)""" - return _coin.SoGLRenderAction_setDelayedObjDepthWrite(*args) - - def getDelayedObjDepthWrite(*args): - """getDelayedObjDepthWrite(self) -> SbBool""" - return _coin.SoGLRenderAction_getDelayedObjDepthWrite(*args) - - def isRenderingTranspPaths(*args): - """isRenderingTranspPaths(self) -> SbBool""" - return _coin.SoGLRenderAction_isRenderingTranspPaths(*args) - - def isRenderingTranspBackfaces(*args): - """isRenderingTranspBackfaces(self) -> SbBool""" - return _coin.SoGLRenderAction_isRenderingTranspBackfaces(*args) - - def setPassCallback(*args): - """ - setPassCallback(self, SoGLRenderPassCB func, void userdata) - setPassCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_setPassCallback(*args) - - def setAbortCallback(*args): - """ - setAbortCallback(self, SoGLRenderAbortCB func, void userdata) - setAbortCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_setAbortCallback(*args) - - def addPreRenderCallback(*args): - """ - addPreRenderCallback(self, SoGLPreRenderCB func, void userdata) - addPreRenderCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_addPreRenderCallback(*args) - - def removePreRenderCallback(*args): - """ - removePreRenderCallback(self, SoGLPreRenderCB func, void userdata) - removePreRenderCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_removePreRenderCallback(*args) - -SoGLRenderAction_swigregister = _coin.SoGLRenderAction_swigregister -SoGLRenderAction_swigregister(SoGLRenderAction) - -def SoGLRenderAction_getClassTypeId(*args): - """SoGLRenderAction_getClassTypeId() -> SoType""" - return _coin.SoGLRenderAction_getClassTypeId(*args) - -def SoGLRenderAction_addMethod(*args): - """SoGLRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGLRenderAction_addMethod(*args) - -def SoGLRenderAction_enableElement(*args): - """SoGLRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGLRenderAction_enableElement(*args) - -def SoGLRenderAction_initClass(*args): - """SoGLRenderAction_initClass()""" - return _coin.SoGLRenderAction_initClass(*args) - -class SoBoxHighlightRenderAction(SoGLRenderAction): - """Proxy of C++ SoBoxHighlightRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBoxHighlightRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBoxHighlightRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoBoxHighlightRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoBoxHighlightRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoBoxHighlightRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoBoxHighlightRenderAction - __init__(self, SbViewportRegion viewportregion) -> SoBoxHighlightRenderAction - """ - this = _coin.new_SoBoxHighlightRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBoxHighlightRenderAction - __del__ = lambda self : None; - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoBoxHighlightRenderAction_apply(*args) - - def setVisible(*args): - """setVisible(self, SbBool visible)""" - return _coin.SoBoxHighlightRenderAction_setVisible(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _coin.SoBoxHighlightRenderAction_isVisible(*args) - - def setColor(*args): - """setColor(self, SbColor color)""" - return _coin.SoBoxHighlightRenderAction_setColor(*args) - - def getColor(*args): - """getColor(self) -> SbColor""" - return _coin.SoBoxHighlightRenderAction_getColor(*args) - - def setLinePattern(*args): - """setLinePattern(self, unsigned short pattern)""" - return _coin.SoBoxHighlightRenderAction_setLinePattern(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> unsigned short""" - return _coin.SoBoxHighlightRenderAction_getLinePattern(*args) - - def setLineWidth(*args): - """setLineWidth(self, float width)""" - return _coin.SoBoxHighlightRenderAction_setLineWidth(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoBoxHighlightRenderAction_getLineWidth(*args) - -SoBoxHighlightRenderAction_swigregister = _coin.SoBoxHighlightRenderAction_swigregister -SoBoxHighlightRenderAction_swigregister(SoBoxHighlightRenderAction) - -def SoBoxHighlightRenderAction_getClassTypeId(*args): - """SoBoxHighlightRenderAction_getClassTypeId() -> SoType""" - return _coin.SoBoxHighlightRenderAction_getClassTypeId(*args) - -def SoBoxHighlightRenderAction_addMethod(*args): - """SoBoxHighlightRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoBoxHighlightRenderAction_addMethod(*args) - -def SoBoxHighlightRenderAction_enableElement(*args): - """SoBoxHighlightRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoBoxHighlightRenderAction_enableElement(*args) - -def SoBoxHighlightRenderAction_initClass(*args): - """SoBoxHighlightRenderAction_initClass()""" - return _coin.SoBoxHighlightRenderAction_initClass(*args) - -class SoLineHighlightRenderAction(SoGLRenderAction): - """Proxy of C++ SoLineHighlightRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineHighlightRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineHighlightRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoLineHighlightRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoLineHighlightRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoLineHighlightRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoLineHighlightRenderAction - __init__(self, SbViewportRegion viewportregion) -> SoLineHighlightRenderAction - """ - this = _coin.new_SoLineHighlightRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLineHighlightRenderAction - __del__ = lambda self : None; - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoLineHighlightRenderAction_apply(*args) - - def setVisible(*args): - """setVisible(self, SbBool visible)""" - return _coin.SoLineHighlightRenderAction_setVisible(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _coin.SoLineHighlightRenderAction_isVisible(*args) - - def setColor(*args): - """setColor(self, SbColor color)""" - return _coin.SoLineHighlightRenderAction_setColor(*args) - - def getColor(*args): - """getColor(self) -> SbColor""" - return _coin.SoLineHighlightRenderAction_getColor(*args) - - def setLinePattern(*args): - """setLinePattern(self, uint16_t pattern)""" - return _coin.SoLineHighlightRenderAction_setLinePattern(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> uint16_t""" - return _coin.SoLineHighlightRenderAction_getLinePattern(*args) - - def setLineWidth(*args): - """setLineWidth(self, float width)""" - return _coin.SoLineHighlightRenderAction_setLineWidth(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoLineHighlightRenderAction_getLineWidth(*args) - -SoLineHighlightRenderAction_swigregister = _coin.SoLineHighlightRenderAction_swigregister -SoLineHighlightRenderAction_swigregister(SoLineHighlightRenderAction) - -def SoLineHighlightRenderAction_getClassTypeId(*args): - """SoLineHighlightRenderAction_getClassTypeId() -> SoType""" - return _coin.SoLineHighlightRenderAction_getClassTypeId(*args) - -def SoLineHighlightRenderAction_addMethod(*args): - """SoLineHighlightRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoLineHighlightRenderAction_addMethod(*args) - -def SoLineHighlightRenderAction_enableElement(*args): - """SoLineHighlightRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoLineHighlightRenderAction_enableElement(*args) - -def SoLineHighlightRenderAction_initClass(*args): - """SoLineHighlightRenderAction_initClass()""" - return _coin.SoLineHighlightRenderAction_initClass(*args) - -class SbBox3f(object): - """Proxy of C++ SbBox3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3f - __init__(self, float xmin, float ymin, float zmin, float xmax, float ymax, - float zmax) -> SbBox3f - __init__(self, SbVec3f minpoint, SbVec3f maxpoint) -> SbBox3f - __init__(self, SbBox3d box) -> SbBox3f - __init__(self, SbBox3s box) -> SbBox3f - __init__(self, SbBox3i32 box) -> SbBox3f - """ - this = _coin.new_SbBox3f(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, float xmin, float ymin, float zmin, float xmax, float ymax, - float zmax) -> SbBox3f - setBounds(self, SbVec3f minpoint, SbVec3f maxpoint) -> SbBox3f - setBounds(self, SbBox3d box) -> SbBox3f - setBounds(self, SbBox3s box) -> SbBox3f - setBounds(self, SbBox3i32 box) -> SbBox3f - """ - return _coin.SbBox3f_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, float xmin, float ymin, float zmin, float xmax, float ymax, - float zmax) - getBounds(self, SbVec3f minpoint, SbVec3f maxpoint) - """ - return _coin.SbBox3f_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec3f - getMin(self) -> SbVec3f - """ - return _coin.SbBox3f_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec3f - getMax(self) -> SbVec3f - """ - return _coin.SbBox3f_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3f pt) - extendBy(self, SbBox3f box) - """ - return _coin.SbBox3f_extendBy(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbBox3f_transform(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3f_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox3f_isEmpty(*args) - - def hasVolume(*args): - """hasVolume(self) -> SbBool""" - return _coin.SbBox3f_hasVolume(*args) - - def getVolume(*args): - """getVolume(self) -> float""" - return _coin.SbBox3f_getVolume(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f pt) -> SbBool - intersect(self, SbBox3f box) -> SbBool - """ - return _coin.SbBox3f_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f point) -> SbVec3f""" - return _coin.SbBox3f_getClosestPoint(*args) - - def outside(*args): - """outside(self, SbMatrix mvp, int cullbits) -> SbBool""" - return _coin.SbBox3f_outside(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbBox3f_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, float originX, float originY, float originZ)""" - return _coin.SbBox3f_getOrigin(*args) - - def getSize(*args): - """ - getSize(self, float sizeX, float sizeY, float sizeZ) - getSize(self) -> SbVec3f - """ - return _coin.SbBox3f_getSize(*args) - - def getSpan(*args): - """getSpan(self, SbVec3f dir, float dmin, float dmax)""" - return _coin.SbBox3f_getSpan(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbBox3f_output(*args) - - def __eq__(*args): - """__eq__(self, SbBox3f u) -> int""" - return _coin.SbBox3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox3f u) -> int""" - return _coin.SbBox3f___ne__(*args) - - __swig_destroy__ = _coin.delete_SbBox3f - __del__ = lambda self : None; -SbBox3f_swigregister = _coin.SbBox3f_swigregister -SbBox3f_swigregister(SbBox3f) - -class SbMatrix(object): - """Proxy of C++ SbMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbMatrix - __init__(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) -> SbMatrix - __init__(self, SbMat matrix) -> SbMatrix - __init__(self, SbMat matrix) -> SbMatrix - """ - this = _coin.new_SbMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbMatrix - __del__ = lambda self : None; - def setValue(*args): - """ - setValue(self, SbMat m) - setValue(self, SbDPMatrix m) - """ - return _coin.SbMatrix_setValue(*args) - - def makeIdentity(*args): - """makeIdentity(self)""" - return _coin.SbMatrix_makeIdentity(*args) - - def setRotate(*args): - """setRotate(self, SbRotation q)""" - return _coin.SbMatrix_setRotate(*args) - - def inverse(*args): - """inverse(self) -> SbMatrix""" - return _coin.SbMatrix_inverse(*args) - - def det3(*args): - """ - det3(self, int r1, int r2, int r3, int c1, int c2, int c3) -> float - det3(self) -> float - """ - return _coin.SbMatrix_det3(*args) - - def det4(*args): - """det4(self) -> float""" - return _coin.SbMatrix_det4(*args) - - def equals(*args): - """equals(self, SbMatrix m, float tolerance) -> SbBool""" - return _coin.SbMatrix_equals(*args) - - def __imul__(*args): - """__imul__(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix___imul__(*args) - - def getValue(*args): - """ - getValue(self) -> SbMat - getValue(self, SbMat m) - """ - return _coin.SbMatrix_getValue(*args) - - def identity(*args): - """identity() -> SbMatrix""" - return _coin.SbMatrix_identity(*args) - - identity = staticmethod(identity) - def setScale(*args): - """ - setScale(self, float s) - setScale(self, SbVec3f s) - """ - return _coin.SbMatrix_setScale(*args) - - def setTranslate(*args): - """setTranslate(self, SbVec3f t)""" - return _coin.SbMatrix_setTranslate(*args) - - def setTransform(*args): - """ - setTransform(self, SbVec3f t, SbRotation r, SbVec3f s) - setTransform(self, SbVec3f t, SbRotation r, SbVec3f s, SbRotation so) - setTransform(self, SbVec3f translation, SbRotation rotation, SbVec3f scaleFactor, - SbRotation scaleOrientation, SbVec3f center) - """ - return _coin.SbMatrix_setTransform(*args) - - def factor(*args): - """factor(self, SbMatrix r, SbVec3f s, SbMatrix u, SbVec3f t, SbMatrix proj) -> SbBool""" - return _coin.SbMatrix_factor(*args) - - def LUDecomposition(*args): - """LUDecomposition(self, int index, float d) -> SbBool""" - return _coin.SbMatrix_LUDecomposition(*args) - - def LUBackSubstitution(*args): - """LUBackSubstitution(self, int index, float b)""" - return _coin.SbMatrix_LUBackSubstitution(*args) - - def transpose(*args): - """transpose(self) -> SbMatrix""" - return _coin.SbMatrix_transpose(*args) - - def multRight(*args): - """multRight(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix_multRight(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix_multLeft(*args) - - def multMatrixVec(*args): - """multMatrixVec(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbMatrix_multMatrixVec(*args) - - def multDirMatrix(*args): - """multDirMatrix(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbMatrix_multDirMatrix(*args) - - def multLineMatrix(*args): - """multLineMatrix(self, SbLine src, SbLine dst)""" - return _coin.SbMatrix_multLineMatrix(*args) - - def multVecMatrix(*args): - """ - multVecMatrix(self, SbVec3f src, SbVec3f dst) - multVecMatrix(self, SbVec4f src, SbVec4f dst) - """ - return _coin.SbMatrix_multVecMatrix(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbMatrix_output(*args) - - def getTransform(*args): - """ - getTransform(self, SbVec3f t, SbRotation r, SbVec3f s, SbRotation so) - getTransform(self) -> PyObject - getTransform(self, SbVec3f center) -> PyObject - """ - return _coin.SbMatrix_getTransform(*args) - - def __mul__(*args): - """ - __mul__(self, SbMatrix u) -> SbMatrix - __mul__(self, SbVec3f u) -> SbVec3f - """ - return _coin.SbMatrix___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbMatrix___rmul__(*args) - - def __eq__(*args): - """__eq__(self, SbMatrix u) -> int""" - return _coin.SbMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbMatrix u) -> int""" - return _coin.SbMatrix___ne__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbMatrix___getitem__(*args) - -SbMatrix_swigregister = _coin.SbMatrix_swigregister -SbMatrix_swigregister(SbMatrix) - -def SbMatrix_identity(*args): - """SbMatrix_identity() -> SbMatrix""" - return _coin.SbMatrix_identity(*args) - -class SbXfBox3f(SbBox3f): - """Proxy of C++ SbXfBox3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbXfBox3f - __init__(self, SbVec3f boxmin, SbVec3f boxmax) -> SbXfBox3f - __init__(self, SbBox3f box) -> SbXfBox3f - """ - this = _coin.new_SbXfBox3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbXfBox3f - __del__ = lambda self : None; - def setTransform(*args): - """setTransform(self, SbMatrix m)""" - return _coin.SbXfBox3f_setTransform(*args) - - def getTransform(*args): - """getTransform(self) -> SbMatrix""" - return _coin.SbXfBox3f_getTransform(*args) - - def getInverse(*args): - """getInverse(self) -> SbMatrix""" - return _coin.SbXfBox3f_getInverse(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbXfBox3f_getCenter(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3f pt) - extendBy(self, SbBox3f bb) - extendBy(self, SbXfBox3f bb) - """ - return _coin.SbXfBox3f_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f pt) -> SbBool - intersect(self, SbBox3f bb) -> SbBool - intersect(self, SbXfBox3f bb) -> SbBool - """ - return _coin.SbXfBox3f_intersect(*args) - - def getSpan(*args): - """getSpan(self, SbVec3f direction, float dMin, float dMax)""" - return _coin.SbXfBox3f_getSpan(*args) - - def project(*args): - """project(self) -> SbBox3f""" - return _coin.SbXfBox3f_project(*args) - - def transform(*args): - """transform(self, SbMatrix m)""" - return _coin.SbXfBox3f_transform(*args) - - def getVolume(*args): - """getVolume(self) -> float""" - return _coin.SbXfBox3f_getVolume(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbXfBox3f_output(*args) - - def __eq__(*args): - """__eq__(self, SbXfBox3f u) -> int""" - return _coin.SbXfBox3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbXfBox3f u) -> int""" - return _coin.SbXfBox3f___ne__(*args) - -SbXfBox3f_swigregister = _coin.SbXfBox3f_swigregister -SbXfBox3f_swigregister(SbXfBox3f) - -class SoGetBoundingBoxAction(SoAction): - """Proxy of C++ SoGetBoundingBoxAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetBoundingBoxAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetBoundingBoxAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetBoundingBoxAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetBoundingBoxAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoGetBoundingBoxAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SbViewportRegion vp) -> SoGetBoundingBoxAction""" - this = _coin.new_SoGetBoundingBoxAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetBoundingBoxAction - __del__ = lambda self : None; - TRANSFORM = _coin.SoGetBoundingBoxAction_TRANSFORM - BBOX = _coin.SoGetBoundingBoxAction_BBOX - ALL = _coin.SoGetBoundingBoxAction_ALL - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoGetBoundingBoxAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGetBoundingBoxAction_getViewportRegion(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox3f""" - return _coin.SoGetBoundingBoxAction_getBoundingBox(*args) - - def getXfBoundingBox(*args): - """getXfBoundingBox(self) -> SbXfBox3f""" - return _coin.SoGetBoundingBoxAction_getXfBoundingBox(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SoGetBoundingBoxAction_getCenter(*args) - - def setInCameraSpace(*args): - """setInCameraSpace(self, SbBool flag)""" - return _coin.SoGetBoundingBoxAction_setInCameraSpace(*args) - - def isInCameraSpace(*args): - """isInCameraSpace(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isInCameraSpace(*args) - - def setResetPath(*args): - """ - setResetPath(self, SoPath path, SbBool resetbefore=1, ResetType what=ALL) - setResetPath(self, SoPath path, SbBool resetbefore=1) - setResetPath(self, SoPath path) - """ - return _coin.SoGetBoundingBoxAction_setResetPath(*args) - - def getResetPath(*args): - """getResetPath(self) -> SoPath""" - return _coin.SoGetBoundingBoxAction_getResetPath(*args) - - def isResetPath(*args): - """isResetPath(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isResetPath(*args) - - def isResetBefore(*args): - """isResetBefore(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isResetBefore(*args) - - def getWhatReset(*args): - """getWhatReset(self) -> ResetType""" - return _coin.SoGetBoundingBoxAction_getWhatReset(*args) - - def checkResetBefore(*args): - """checkResetBefore(self)""" - return _coin.SoGetBoundingBoxAction_checkResetBefore(*args) - - def checkResetAfter(*args): - """checkResetAfter(self)""" - return _coin.SoGetBoundingBoxAction_checkResetAfter(*args) - - def extendBy(*args): - """ - extendBy(self, SbBox3f box) - extendBy(self, SbXfBox3f box) - """ - return _coin.SoGetBoundingBoxAction_extendBy(*args) - - def setCenter(*args): - """setCenter(self, SbVec3f center, SbBool transformcenter)""" - return _coin.SoGetBoundingBoxAction_setCenter(*args) - - def isCenterSet(*args): - """isCenterSet(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isCenterSet(*args) - - def resetCenter(*args): - """resetCenter(self)""" - return _coin.SoGetBoundingBoxAction_resetCenter(*args) - -SoGetBoundingBoxAction_swigregister = _coin.SoGetBoundingBoxAction_swigregister -SoGetBoundingBoxAction_swigregister(SoGetBoundingBoxAction) - -def SoGetBoundingBoxAction_getClassTypeId(*args): - """SoGetBoundingBoxAction_getClassTypeId() -> SoType""" - return _coin.SoGetBoundingBoxAction_getClassTypeId(*args) - -def SoGetBoundingBoxAction_addMethod(*args): - """SoGetBoundingBoxAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetBoundingBoxAction_addMethod(*args) - -def SoGetBoundingBoxAction_enableElement(*args): - """SoGetBoundingBoxAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetBoundingBoxAction_enableElement(*args) - -def SoGetBoundingBoxAction_initClass(*args): - """SoGetBoundingBoxAction_initClass()""" - return _coin.SoGetBoundingBoxAction_initClass(*args) - -class SbVec4f(object): - """Proxy of C++ SbVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4f - __init__(self, float v) -> SbVec4f - __init__(self, float x, float y, float z, float w) -> SbVec4f - __init__(self, SbVec4d v) -> SbVec4f - __init__(self, SbVec4b v) -> SbVec4f - __init__(self, SbVec4s v) -> SbVec4f - __init__(self, SbVec4i32 v) -> SbVec4f - """ - this = _coin.new_SbVec4f(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, float v) -> SbVec4f - setValue(self, float x, float y, float z, float w) -> SbVec4f - setValue(self, SbVec4d v) -> SbVec4f - setValue(self, SbVec4b v) -> SbVec4f - setValue(self, SbVec4s v) -> SbVec4f - setValue(self, SbVec4i32 v) -> SbVec4f - """ - return _coin.SbVec4f_setValue(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbVec4f_getValue(*args) - - def equals(*args): - """equals(self, SbVec4f v, float tolerance) -> SbBool""" - return _coin.SbVec4f_equals(*args) - - def dot(*args): - """dot(self, SbVec4f v) -> float""" - return _coin.SbVec4f_dot(*args) - - def getReal(*args): - """getReal(self, SbVec3f v)""" - return _coin.SbVec4f_getReal(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec4f_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> float""" - return _coin.SbVec4f_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4f_negate(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec4f_normalize(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4f v) -> SbVec4f""" - return _coin.SbVec4f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4f v) -> SbVec4f""" - return _coin.SbVec4f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4f""" - return _coin.SbVec4f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec4f_output(*args) - - def __add__(*args): - """__add__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, float d) -> SbVec4f - __mul__(self, SbMatrix m) -> SbVec4f - """ - return _coin.SbVec4f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec4f u) -> int""" - return _coin.SbVec4f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec4f u) -> int""" - return _coin.SbVec4f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec4f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec4f___setitem__(*args) - - def __iter__(self): - for i in range(4): - yield self[i] - - def __len__(self): - return 4 - - __swig_destroy__ = _coin.delete_SbVec4f - __del__ = lambda self : None; -SbVec4f_swigregister = _coin.SbVec4f_swigregister -SbVec4f_swigregister(SbVec4f) - -class SbRotation(object): - """Proxy of C++ SbRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbRotation - __init__(self, SbVec3f axis, float radians) -> SbRotation - __init__(self, float q) -> SbRotation - __init__(self, float q0, float q1, float q2, float q3) -> SbRotation - __init__(self, SbMatrix m) -> SbRotation - __init__(self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation - """ - this = _coin.new_SbRotation(*args) - try: self.this.append(this) - except: self.this = this - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbRotation_getValue(*args) - - def getAxisAngle(*args): - """getAxisAngle(self, SbVec3f axis, float radians)""" - return _coin.SbRotation_getAxisAngle(*args) - - def getMatrix(*args): - """getMatrix(self, SbMatrix matrix)""" - return _coin.SbRotation_getMatrix(*args) - - def invert(*args): - """invert(self) -> SbRotation""" - return _coin.SbRotation_invert(*args) - - def inverse(*args): - """inverse(self) -> SbRotation""" - return _coin.SbRotation_inverse(*args) - - def setValue(*args): - """ - setValue(self, float q0, float q1, float q2, float q3) -> SbRotation - setValue(self, float q) -> SbRotation - setValue(self, SbMatrix m) -> SbRotation - setValue(self, SbVec3f axis, float radians) -> SbRotation - setValue(self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation - """ - return _coin.SbRotation_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, SbRotation q) -> SbRotation - __imul__(self, float s) -> SbRotation - """ - return _coin.SbRotation___imul__(*args) - - def equals(*args): - """equals(self, SbRotation r, float tolerance) -> SbBool""" - return _coin.SbRotation_equals(*args) - - def multVec(*args): - """multVec(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbRotation_multVec(*args) - - def scaleAngle(*args): - """scaleAngle(self, float scaleFactor)""" - return _coin.SbRotation_scaleAngle(*args) - - def slerp(*args): - """slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation""" - return _coin.SbRotation_slerp(*args) - - slerp = staticmethod(slerp) - def identity(*args): - """identity() -> SbRotation""" - return _coin.SbRotation_identity(*args) - - identity = staticmethod(identity) - def output(*args): - """output(self, FILE fp)""" - return _coin.SbRotation_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbRotation u) -> SbRotation - __mul__(self, double d) -> SbRotation - __mul__(self, SbVec3f v) -> SbVec3f - """ - return _coin.SbRotation___mul__(*args) - - def __eq__(*args): - """__eq__(self, SbRotation u) -> int""" - return _coin.SbRotation___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbRotation u) -> int""" - return _coin.SbRotation___nq__(*args) - - __swig_destroy__ = _coin.delete_SbRotation - __del__ = lambda self : None; -SbRotation_swigregister = _coin.SbRotation_swigregister -SbRotation_swigregister(SbRotation) - -def SbRotation_slerp(*args): - """SbRotation_slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation""" - return _coin.SbRotation_slerp(*args) - -def SbRotation_identity(*args): - """SbRotation_identity() -> SbRotation""" - return _coin.SbRotation_identity(*args) - -class SoGetMatrixAction(SoAction): - """Proxy of C++ SoGetMatrixAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetMatrixAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetMatrixAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetMatrixAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetMatrixAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoGetMatrixAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SbViewportRegion region) -> SoGetMatrixAction""" - this = _coin.new_SoGetMatrixAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetMatrixAction - __del__ = lambda self : None; - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion region)""" - return _coin.SoGetMatrixAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGetMatrixAction_getViewportRegion(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getMatrix(*args) - - def getInverse(*args): - """getInverse(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getInverse(*args) - - def getTextureMatrix(*args): - """getTextureMatrix(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getTextureMatrix(*args) - - def getTextureInverse(*args): - """getTextureInverse(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getTextureInverse(*args) - -SoGetMatrixAction_swigregister = _coin.SoGetMatrixAction_swigregister -SoGetMatrixAction_swigregister(SoGetMatrixAction) - -def SoGetMatrixAction_getClassTypeId(*args): - """SoGetMatrixAction_getClassTypeId() -> SoType""" - return _coin.SoGetMatrixAction_getClassTypeId(*args) - -def SoGetMatrixAction_addMethod(*args): - """SoGetMatrixAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetMatrixAction_addMethod(*args) - -def SoGetMatrixAction_enableElement(*args): - """SoGetMatrixAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetMatrixAction_enableElement(*args) - -def SoGetMatrixAction_initClass(*args): - """SoGetMatrixAction_initClass()""" - return _coin.SoGetMatrixAction_initClass(*args) - -class SoGetPrimitiveCountAction(SoAction): - """Proxy of C++ SoGetPrimitiveCountAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetPrimitiveCountAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetPrimitiveCountAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetPrimitiveCountAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetPrimitiveCountAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoGetPrimitiveCountAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoGetPrimitiveCountAction""" - this = _coin.new_SoGetPrimitiveCountAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetPrimitiveCountAction - __del__ = lambda self : None; - def getTriangleCount(*args): - """getTriangleCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getTriangleCount(*args) - - def getLineCount(*args): - """getLineCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getLineCount(*args) - - def getPointCount(*args): - """getPointCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getPointCount(*args) - - def getTextCount(*args): - """getTextCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getTextCount(*args) - - def getImageCount(*args): - """getImageCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getImageCount(*args) - - def containsNoPrimitives(*args): - """containsNoPrimitives(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_containsNoPrimitives(*args) - - def containsNonTriangleShapes(*args): - """containsNonTriangleShapes(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_containsNonTriangleShapes(*args) - - def is3DTextCountedAsTriangles(*args): - """is3DTextCountedAsTriangles(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(*args) - - def setCount3DTextAsTriangles(*args): - """setCount3DTextAsTriangles(self, SbBool flag)""" - return _coin.SoGetPrimitiveCountAction_setCount3DTextAsTriangles(*args) - - def canApproximateCount(*args): - """canApproximateCount(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_canApproximateCount(*args) - - def setCanApproximate(*args): - """setCanApproximate(self, SbBool flag)""" - return _coin.SoGetPrimitiveCountAction_setCanApproximate(*args) - - def setDecimationValue(*args): - """ - setDecimationValue(self, Type type, float percentage=1.0) - setDecimationValue(self, Type type) - """ - return _coin.SoGetPrimitiveCountAction_setDecimationValue(*args) - - def getDecimationType(*args): - """getDecimationType(self) -> Type""" - return _coin.SoGetPrimitiveCountAction_getDecimationType(*args) - - def getDecimationPercentage(*args): - """getDecimationPercentage(self) -> float""" - return _coin.SoGetPrimitiveCountAction_getDecimationPercentage(*args) - - def addNumTriangles(*args): - """addNumTriangles(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumTriangles(*args) - - def addNumLines(*args): - """addNumLines(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumLines(*args) - - def addNumPoints(*args): - """addNumPoints(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumPoints(*args) - - def addNumText(*args): - """addNumText(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumText(*args) - - def addNumImage(*args): - """addNumImage(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumImage(*args) - - def incNumTriangles(*args): - """incNumTriangles(self)""" - return _coin.SoGetPrimitiveCountAction_incNumTriangles(*args) - - def incNumLines(*args): - """incNumLines(self)""" - return _coin.SoGetPrimitiveCountAction_incNumLines(*args) - - def incNumPoints(*args): - """incNumPoints(self)""" - return _coin.SoGetPrimitiveCountAction_incNumPoints(*args) - - def incNumText(*args): - """incNumText(self)""" - return _coin.SoGetPrimitiveCountAction_incNumText(*args) - - def incNumImage(*args): - """incNumImage(self)""" - return _coin.SoGetPrimitiveCountAction_incNumImage(*args) - -SoGetPrimitiveCountAction_swigregister = _coin.SoGetPrimitiveCountAction_swigregister -SoGetPrimitiveCountAction_swigregister(SoGetPrimitiveCountAction) - -def SoGetPrimitiveCountAction_getClassTypeId(*args): - """SoGetPrimitiveCountAction_getClassTypeId() -> SoType""" - return _coin.SoGetPrimitiveCountAction_getClassTypeId(*args) - -def SoGetPrimitiveCountAction_addMethod(*args): - """SoGetPrimitiveCountAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetPrimitiveCountAction_addMethod(*args) - -def SoGetPrimitiveCountAction_enableElement(*args): - """SoGetPrimitiveCountAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetPrimitiveCountAction_enableElement(*args) - -def SoGetPrimitiveCountAction_initClass(*args): - """SoGetPrimitiveCountAction_initClass()""" - return _coin.SoGetPrimitiveCountAction_initClass(*args) - -class SoHandleEventAction(SoAction): - """Proxy of C++ SoHandleEventAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleEventAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleEventAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoHandleEventAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoHandleEventAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoHandleEventAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoHandleEventAction""" - this = _coin.new_SoHandleEventAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoHandleEventAction - __del__ = lambda self : None; - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoHandleEventAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoHandleEventAction_getViewportRegion(*args) - - def setEvent(*args): - """setEvent(self, SoEvent ev)""" - return _coin.SoHandleEventAction_setEvent(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoHandleEventAction_getEvent(*args) - - def setHandled(*args): - """setHandled(self)""" - return _coin.SoHandleEventAction_setHandled(*args) - - def isHandled(*args): - """isHandled(self) -> SbBool""" - return _coin.SoHandleEventAction_isHandled(*args) - - def setGrabber(*args): - """setGrabber(self, SoNode node)""" - return _coin.SoHandleEventAction_setGrabber(*args) - - def releaseGrabber(*args): - """releaseGrabber(self)""" - return _coin.SoHandleEventAction_releaseGrabber(*args) - - def getGrabber(*args): - """getGrabber(self) -> SoNode""" - return _coin.SoHandleEventAction_getGrabber(*args) - - def setPickRoot(*args): - """setPickRoot(self, SoNode node)""" - return _coin.SoHandleEventAction_setPickRoot(*args) - - def getPickRoot(*args): - """getPickRoot(self) -> SoNode""" - return _coin.SoHandleEventAction_getPickRoot(*args) - - def setPickRadius(*args): - """setPickRadius(self, float radiusinpixels)""" - return _coin.SoHandleEventAction_setPickRadius(*args) - - def getPickedPoint(*args): - """getPickedPoint(self) -> SoPickedPoint""" - return _coin.SoHandleEventAction_getPickedPoint(*args) - - def getPickedPointList(*args): - """getPickedPointList(self) -> SoPickedPointList""" - return _coin.SoHandleEventAction_getPickedPointList(*args) - -SoHandleEventAction_swigregister = _coin.SoHandleEventAction_swigregister -SoHandleEventAction_swigregister(SoHandleEventAction) - -def SoHandleEventAction_getClassTypeId(*args): - """SoHandleEventAction_getClassTypeId() -> SoType""" - return _coin.SoHandleEventAction_getClassTypeId(*args) - -def SoHandleEventAction_addMethod(*args): - """SoHandleEventAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoHandleEventAction_addMethod(*args) - -def SoHandleEventAction_enableElement(*args): - """SoHandleEventAction_enableElement(SoType type, int stackindex)""" - return _coin.SoHandleEventAction_enableElement(*args) - -def SoHandleEventAction_initClass(*args): - """SoHandleEventAction_initClass()""" - return _coin.SoHandleEventAction_initClass(*args) - -class SoPickAction(SoAction): - """Proxy of C++ SoPickAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPickAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoPickAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoPickAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoPickAction_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoPickAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoPickAction_getViewportRegion(*args) - - def enableCulling(*args): - """enableCulling(self, SbBool flag)""" - return _coin.SoPickAction_enableCulling(*args) - - def isCullingEnabled(*args): - """isCullingEnabled(self) -> SbBool""" - return _coin.SoPickAction_isCullingEnabled(*args) - -SoPickAction_swigregister = _coin.SoPickAction_swigregister -SoPickAction_swigregister(SoPickAction) - -def SoPickAction_getClassTypeId(*args): - """SoPickAction_getClassTypeId() -> SoType""" - return _coin.SoPickAction_getClassTypeId(*args) - -def SoPickAction_addMethod(*args): - """SoPickAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoPickAction_addMethod(*args) - -def SoPickAction_enableElement(*args): - """SoPickAction_enableElement(SoType type, int stackindex)""" - return _coin.SoPickAction_enableElement(*args) - -def SoPickAction_initClass(*args): - """SoPickAction_initClass()""" - return _coin.SoPickAction_initClass(*args) - -class SoRayPickAction(SoPickAction): - """Proxy of C++ SoRayPickAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRayPickAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRayPickAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoRayPickAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoRayPickAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoRayPickAction""" - this = _coin.new_SoRayPickAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoRayPickAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoRayPickAction_initClass(*args) - - initClass = staticmethod(initClass) - def setPoint(*args): - """setPoint(self, SbVec2s viewportPoint)""" - return _coin.SoRayPickAction_setPoint(*args) - - def setNormalizedPoint(*args): - """setNormalizedPoint(self, SbVec2f normpoint)""" - return _coin.SoRayPickAction_setNormalizedPoint(*args) - - def setRadius(*args): - """setRadius(self, float radiusinpixels)""" - return _coin.SoRayPickAction_setRadius(*args) - - def setRay(*args): - """ - setRay(self, SbVec3f start, SbVec3f direction, float neardistance=-1.0, - float fardistance=-1.0) - setRay(self, SbVec3f start, SbVec3f direction, float neardistance=-1.0) - setRay(self, SbVec3f start, SbVec3f direction) - """ - return _coin.SoRayPickAction_setRay(*args) - - def setPickAll(*args): - """setPickAll(self, SbBool flag)""" - return _coin.SoRayPickAction_setPickAll(*args) - - def isPickAll(*args): - """isPickAll(self) -> SbBool""" - return _coin.SoRayPickAction_isPickAll(*args) - - def getPickedPointList(*args): - """getPickedPointList(self) -> SoPickedPointList""" - return _coin.SoRayPickAction_getPickedPointList(*args) - - def getPickedPoint(*args): - """ - getPickedPoint(self, int index=0) -> SoPickedPoint - getPickedPoint(self) -> SoPickedPoint - """ - return _coin.SoRayPickAction_getPickedPoint(*args) - - def computeWorldSpaceRay(*args): - """computeWorldSpaceRay(self)""" - return _coin.SoRayPickAction_computeWorldSpaceRay(*args) - - def hasWorldSpaceRay(*args): - """hasWorldSpaceRay(self) -> SbBool""" - return _coin.SoRayPickAction_hasWorldSpaceRay(*args) - - def setObjectSpace(*args): - """ - setObjectSpace(self) - setObjectSpace(self, SbMatrix matrix) - """ - return _coin.SoRayPickAction_setObjectSpace(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f intersection, - SbVec3f barycentric, SbBool front) -> SbBool - intersect(self, SbVec3f v0, SbVec3f v1, SbVec3f intersection) -> SbBool - intersect(self, SbVec3f point) -> SbBool - intersect(self, SbBox3f box, SbBool usefullviewvolume=1) -> SbBool - intersect(self, SbBox3f box) -> SbBool - intersect(self, SbBox3f box, SbVec3f intersection, SbBool usefullviewvolume=1) -> SbBool - intersect(self, SbBox3f box, SbVec3f intersection) -> SbBool - """ - return _coin.SoRayPickAction_intersect(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoRayPickAction_getViewVolume(*args) - - def getLine(*args): - """getLine(self) -> SbLine""" - return _coin.SoRayPickAction_getLine(*args) - - def isBetweenPlanes(*args): - """isBetweenPlanes(self, SbVec3f intersection) -> SbBool""" - return _coin.SoRayPickAction_isBetweenPlanes(*args) - - def addIntersection(*args): - """ - addIntersection(self, SbVec3f objectspacepoint, SbBool frontpick=1) -> SoPickedPoint - addIntersection(self, SbVec3f objectspacepoint) -> SoPickedPoint - """ - return _coin.SoRayPickAction_addIntersection(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoRayPickAction_reset(*args) - -SoRayPickAction_swigregister = _coin.SoRayPickAction_swigregister -SoRayPickAction_swigregister(SoRayPickAction) - -def SoRayPickAction_getClassTypeId(*args): - """SoRayPickAction_getClassTypeId() -> SoType""" - return _coin.SoRayPickAction_getClassTypeId(*args) - -def SoRayPickAction_addMethod(*args): - """SoRayPickAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoRayPickAction_addMethod(*args) - -def SoRayPickAction_enableElement(*args): - """SoRayPickAction_enableElement(SoType type, int stackindex)""" - return _coin.SoRayPickAction_enableElement(*args) - -def SoRayPickAction_initClass(*args): - """SoRayPickAction_initClass()""" - return _coin.SoRayPickAction_initClass(*args) - -class SoSearchAction(SoAction): - """Proxy of C++ SoSearchAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSearchAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSearchAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSearchAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoSearchAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoSearchAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSearchAction""" - this = _coin.new_SoSearchAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSearchAction - __del__ = lambda self : None; - NODE = _coin.SoSearchAction_NODE - TYPE = _coin.SoSearchAction_TYPE - NAME = _coin.SoSearchAction_NAME - FIRST = _coin.SoSearchAction_FIRST - LAST = _coin.SoSearchAction_LAST - ALL = _coin.SoSearchAction_ALL - def setNode(*args): - """setNode(self, SoNode node)""" - return _coin.SoSearchAction_setNode(*args) - - def getNode(*args): - """getNode(self) -> SoNode""" - return _coin.SoSearchAction_getNode(*args) - - def setType(*args): - """ - setType(self, SoType type, SbBool chkderived=1) - setType(self, SoType type) - """ - return _coin.SoSearchAction_setType(*args) - - def getType(*args): - """getType(self, SbBool chkderived) -> SoType""" - return _coin.SoSearchAction_getType(*args) - - def setName(*args): - """setName(self, SbName name)""" - return _coin.SoSearchAction_setName(*args) - - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoSearchAction_getName(*args) - - def setFind(*args): - """setFind(self, int what)""" - return _coin.SoSearchAction_setFind(*args) - - def getFind(*args): - """getFind(self) -> int""" - return _coin.SoSearchAction_getFind(*args) - - def setInterest(*args): - """setInterest(self, Interest interest)""" - return _coin.SoSearchAction_setInterest(*args) - - def getInterest(*args): - """getInterest(self) -> Interest""" - return _coin.SoSearchAction_getInterest(*args) - - def setSearchingAll(*args): - """setSearchingAll(self, SbBool searchall)""" - return _coin.SoSearchAction_setSearchingAll(*args) - - def isSearchingAll(*args): - """isSearchingAll(self) -> SbBool""" - return _coin.SoSearchAction_isSearchingAll(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoSearchAction_getPath(*args) - - def getPaths(*args): - """getPaths(self) -> SoPathList""" - return _coin.SoSearchAction_getPaths(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoSearchAction_reset(*args) - - def setFound(*args): - """setFound(self)""" - return _coin.SoSearchAction_setFound(*args) - - def isFound(*args): - """isFound(self) -> SbBool""" - return _coin.SoSearchAction_isFound(*args) - - def addPath(*args): - """addPath(self, SoPath path)""" - return _coin.SoSearchAction_addPath(*args) - - duringSearchAll = _swig_property(_coin.SoSearchAction_duringSearchAll_get, _coin.SoSearchAction_duringSearchAll_set) -SoSearchAction_swigregister = _coin.SoSearchAction_swigregister -SoSearchAction_swigregister(SoSearchAction) - -def SoSearchAction_getClassTypeId(*args): - """SoSearchAction_getClassTypeId() -> SoType""" - return _coin.SoSearchAction_getClassTypeId(*args) - -def SoSearchAction_addMethod(*args): - """SoSearchAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSearchAction_addMethod(*args) - -def SoSearchAction_enableElement(*args): - """SoSearchAction_enableElement(SoType type, int stackindex)""" - return _coin.SoSearchAction_enableElement(*args) - -def SoSearchAction_initClass(*args): - """SoSearchAction_initClass()""" - return _coin.SoSearchAction_initClass(*args) -cvar = _coin.cvar - -class SoSimplifyAction(SoAction): - """Proxy of C++ SoSimplifyAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSimplifyAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSimplifyAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSimplifyAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoSimplifyAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoSimplifyAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSimplifyAction""" - this = _coin.new_SoSimplifyAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSimplifyAction - __del__ = lambda self : None; - def apply(*args): - """ - apply(self, SoNode root) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoSimplifyAction_apply(*args) - -SoSimplifyAction_swigregister = _coin.SoSimplifyAction_swigregister -SoSimplifyAction_swigregister(SoSimplifyAction) - -def SoSimplifyAction_getClassTypeId(*args): - """SoSimplifyAction_getClassTypeId() -> SoType""" - return _coin.SoSimplifyAction_getClassTypeId(*args) - -def SoSimplifyAction_addMethod(*args): - """SoSimplifyAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSimplifyAction_addMethod(*args) - -def SoSimplifyAction_enableElement(*args): - """SoSimplifyAction_enableElement(SoType type, int stackindex)""" - return _coin.SoSimplifyAction_enableElement(*args) - -def SoSimplifyAction_initClass(*args): - """SoSimplifyAction_initClass()""" - return _coin.SoSimplifyAction_initClass(*args) - -class SoReorganizeAction(SoSimplifyAction): - """Proxy of C++ SoReorganizeAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoReorganizeAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoReorganizeAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoReorganizeAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoReorganizeAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoReorganizeAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self, SoSimplifier simplifier=None) -> SoReorganizeAction - __init__(self) -> SoReorganizeAction - """ - this = _coin.new_SoReorganizeAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoReorganizeAction - __del__ = lambda self : None; - def getSimplifiedSceneGraph(*args): - """getSimplifiedSceneGraph(self) -> SoSeparator""" - return _coin.SoReorganizeAction_getSimplifiedSceneGraph(*args) - - def generateNormals(*args): - """generateNormals(self, SbBool onoff)""" - return _coin.SoReorganizeAction_generateNormals(*args) - - def areNormalGenerated(*args): - """areNormalGenerated(self) -> SbBool""" - return _coin.SoReorganizeAction_areNormalGenerated(*args) - - def generateTriangleStrips(*args): - """generateTriangleStrips(self, SbBool onoff)""" - return _coin.SoReorganizeAction_generateTriangleStrips(*args) - - def areTriangleStripGenerated(*args): - """areTriangleStripGenerated(self) -> SbBool""" - return _coin.SoReorganizeAction_areTriangleStripGenerated(*args) - - def generateTexCoords(*args): - """generateTexCoords(self, SbBool onoff)""" - return _coin.SoReorganizeAction_generateTexCoords(*args) - - def areTexCoordsGenerated(*args): - """areTexCoordsGenerated(self) -> SbBool""" - return _coin.SoReorganizeAction_areTexCoordsGenerated(*args) - - def generateVPNodes(*args): - """generateVPNodes(self, SbBool onoff)""" - return _coin.SoReorganizeAction_generateVPNodes(*args) - - def areVPNodesGenerated(*args): - """areVPNodesGenerated(self) -> SbBool""" - return _coin.SoReorganizeAction_areVPNodesGenerated(*args) - - def matchIndexArrays(*args): - """matchIndexArrays(self, SbBool onoff)""" - return _coin.SoReorganizeAction_matchIndexArrays(*args) - - def areIndexArraysMatched(*args): - """areIndexArraysMatched(self) -> SbBool""" - return _coin.SoReorganizeAction_areIndexArraysMatched(*args) - - def getSimplifier(*args): - """getSimplifier(self) -> SoSimplifier""" - return _coin.SoReorganizeAction_getSimplifier(*args) - - def apply(*args): - """ - apply(self, SoNode root) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoReorganizeAction_apply(*args) - - def startReport(*args): - """startReport(char msg)""" - return _coin.SoReorganizeAction_startReport(*args) - - startReport = staticmethod(startReport) - def finishReport(*args): - """finishReport()""" - return _coin.SoReorganizeAction_finishReport(*args) - - finishReport = staticmethod(finishReport) -SoReorganizeAction_swigregister = _coin.SoReorganizeAction_swigregister -SoReorganizeAction_swigregister(SoReorganizeAction) - -def SoReorganizeAction_getClassTypeId(*args): - """SoReorganizeAction_getClassTypeId() -> SoType""" - return _coin.SoReorganizeAction_getClassTypeId(*args) - -def SoReorganizeAction_addMethod(*args): - """SoReorganizeAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoReorganizeAction_addMethod(*args) - -def SoReorganizeAction_enableElement(*args): - """SoReorganizeAction_enableElement(SoType type, int stackindex)""" - return _coin.SoReorganizeAction_enableElement(*args) - -def SoReorganizeAction_initClass(*args): - """SoReorganizeAction_initClass()""" - return _coin.SoReorganizeAction_initClass(*args) - -def SoReorganizeAction_startReport(*args): - """SoReorganizeAction_startReport(char msg)""" - return _coin.SoReorganizeAction_startReport(*args) - -def SoReorganizeAction_finishReport(*args): - """SoReorganizeAction_finishReport()""" - return _coin.SoReorganizeAction_finishReport(*args) - -class SoWriteAction(SoAction): - """Proxy of C++ SoWriteAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWriteAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWriteAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoWriteAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoWriteAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """ - __init__(self) -> SoWriteAction - __init__(self, SoOutput out) -> SoWriteAction - """ - this = _coin.new_SoWriteAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoWriteAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoWriteAction_initClass(*args) - - initClass = staticmethod(initClass) - def getOutput(*args): - """getOutput(self) -> SoOutput""" - return _coin.SoWriteAction_getOutput(*args) - - def continueToApply(*args): - """ - continueToApply(self, SoNode node) - continueToApply(self, SoPath path) - """ - return _coin.SoWriteAction_continueToApply(*args) - -SoWriteAction_swigregister = _coin.SoWriteAction_swigregister -SoWriteAction_swigregister(SoWriteAction) - -def SoWriteAction_getClassTypeId(*args): - """SoWriteAction_getClassTypeId() -> SoType""" - return _coin.SoWriteAction_getClassTypeId(*args) - -def SoWriteAction_addMethod(*args): - """SoWriteAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoWriteAction_addMethod(*args) - -def SoWriteAction_enableElement(*args): - """SoWriteAction_enableElement(SoType type, int stackindex)""" - return _coin.SoWriteAction_enableElement(*args) - -def SoWriteAction_initClass(*args): - """SoWriteAction_initClass()""" - return _coin.SoWriteAction_initClass(*args) - -class SoAudioRenderAction(SoAction): - """Proxy of C++ SoAudioRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAudioRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAudioRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoAudioRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoAudioRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoAudioRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAudioRenderAction""" - this = _coin.new_SoAudioRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoAudioRenderAction - __del__ = lambda self : None; - def callDoAction(*args): - """callDoAction(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callDoAction(*args) - - callDoAction = staticmethod(callDoAction) - def callAudioRender(*args): - """callAudioRender(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callAudioRender(*args) - - callAudioRender = staticmethod(callAudioRender) -SoAudioRenderAction_swigregister = _coin.SoAudioRenderAction_swigregister -SoAudioRenderAction_swigregister(SoAudioRenderAction) - -def SoAudioRenderAction_getClassTypeId(*args): - """SoAudioRenderAction_getClassTypeId() -> SoType""" - return _coin.SoAudioRenderAction_getClassTypeId(*args) - -def SoAudioRenderAction_addMethod(*args): - """SoAudioRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoAudioRenderAction_addMethod(*args) - -def SoAudioRenderAction_enableElement(*args): - """SoAudioRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoAudioRenderAction_enableElement(*args) - -def SoAudioRenderAction_initClass(*args): - """SoAudioRenderAction_initClass()""" - return _coin.SoAudioRenderAction_initClass(*args) - -def SoAudioRenderAction_callDoAction(*args): - """SoAudioRenderAction_callDoAction(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callDoAction(*args) - -def SoAudioRenderAction_callAudioRender(*args): - """SoAudioRenderAction_callAudioRender(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callAudioRender(*args) - -class SoIntersectingPrimitive(object): - """Proxy of C++ SoIntersectingPrimitive class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - path = _swig_property(_coin.SoIntersectingPrimitive_path_get, _coin.SoIntersectingPrimitive_path_set) - SEGMENT = _coin.SoIntersectingPrimitive_SEGMENT - LINE_SEGMENT = _coin.SoIntersectingPrimitive_LINE_SEGMENT - TRIANGLE = _coin.SoIntersectingPrimitive_TRIANGLE - type = _swig_property(_coin.SoIntersectingPrimitive_type_get, _coin.SoIntersectingPrimitive_type_set) - vertex = _swig_property(_coin.SoIntersectingPrimitive_vertex_get, _coin.SoIntersectingPrimitive_vertex_set) - xf_vertex = _swig_property(_coin.SoIntersectingPrimitive_xf_vertex_get, _coin.SoIntersectingPrimitive_xf_vertex_set) - def __init__(self, *args): - """__init__(self) -> SoIntersectingPrimitive""" - this = _coin.new_SoIntersectingPrimitive(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoIntersectingPrimitive - __del__ = lambda self : None; -SoIntersectingPrimitive_swigregister = _coin.SoIntersectingPrimitive_swigregister -SoIntersectingPrimitive_swigregister(SoIntersectingPrimitive) - -class SoIntersectionDetectionAction(SoAction): - """Proxy of C++ SoIntersectionDetectionAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIntersectionDetectionAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIntersectionDetectionAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoIntersectionDetectionAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoIntersectionDetectionAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoIntersectionDetectionAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIntersectionDetectionAction""" - this = _coin.new_SoIntersectionDetectionAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoIntersectionDetectionAction - __del__ = lambda self : None; - NEXT_PRIMITIVE = _coin.SoIntersectionDetectionAction_NEXT_PRIMITIVE - NEXT_SHAPE = _coin.SoIntersectionDetectionAction_NEXT_SHAPE - ABORT = _coin.SoIntersectionDetectionAction_ABORT - def setIntersectionDetectionEpsilon(*args): - """setIntersectionDetectionEpsilon(self, float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(*args) - - def getIntersectionDetectionEpsilon(*args): - """getIntersectionDetectionEpsilon(self) -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(*args) - - def setIntersectionEpsilon(*args): - """setIntersectionEpsilon(float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionEpsilon(*args) - - setIntersectionEpsilon = staticmethod(setIntersectionEpsilon) - def getIntersectionEpsilon(*args): - """getIntersectionEpsilon() -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionEpsilon(*args) - - getIntersectionEpsilon = staticmethod(getIntersectionEpsilon) - def setTypeEnabled(*args): - """setTypeEnabled(self, SoType type, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setTypeEnabled(*args) - - def isTypeEnabled(*args): - """ - isTypeEnabled(self, SoType type, SbBool checkgroups=0) -> SbBool - isTypeEnabled(self, SoType type) -> SbBool - """ - return _coin.SoIntersectionDetectionAction_isTypeEnabled(*args) - - def setManipsEnabled(*args): - """setManipsEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setManipsEnabled(*args) - - def isManipsEnabled(*args): - """isManipsEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isManipsEnabled(*args) - - def setDraggersEnabled(*args): - """setDraggersEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setDraggersEnabled(*args) - - def isDraggersEnabled(*args): - """isDraggersEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isDraggersEnabled(*args) - - def setShapeInternalsEnabled(*args): - """setShapeInternalsEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setShapeInternalsEnabled(*args) - - def isShapeInternalsEnabled(*args): - """isShapeInternalsEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isShapeInternalsEnabled(*args) - - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList paths, SbBool obeysRules=0) - apply(self, SoPathList paths) - """ - return _coin.SoIntersectionDetectionAction_apply(*args) - - def addVisitationCallback(*args): - """ - addVisitationCallback(self, SoType type, SoIntersectionVisitationCB cb, void closure) - addVisitationCallback(self, SoType type, PyObject pyfunc, PyObject closure) - """ - return _coin.SoIntersectionDetectionAction_addVisitationCallback(*args) - - def removeVisitationCallback(*args): - """ - removeVisitationCallback(self, SoType type, SoIntersectionVisitationCB cb, void closure) - removeVisitationCallback(self, SoType type, PyObject pyfunc, PyObject closure) - """ - return _coin.SoIntersectionDetectionAction_removeVisitationCallback(*args) - - def setFilterCallback(*args): - """ - setFilterCallback(self, SoIntersectionFilterCB cb, void closure=None) - setFilterCallback(self, SoIntersectionFilterCB cb) - setFilterCallback(self, PyObject pyfunc, PyObject closure=None) - setFilterCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_setFilterCallback(*args) - - def addIntersectionCallback(*args): - """ - addIntersectionCallback(self, SoIntersectionCB cb, void closure=None) - addIntersectionCallback(self, SoIntersectionCB cb) - addIntersectionCallback(self, PyObject pyfunc, PyObject closure=None) - addIntersectionCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_addIntersectionCallback(*args) - - def removeIntersectionCallback(*args): - """ - removeIntersectionCallback(self, SoIntersectionCB cb, void closure=None) - removeIntersectionCallback(self, SoIntersectionCB cb) - removeIntersectionCallback(self, PyObject pyfunc, PyObject closure=None) - removeIntersectionCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_removeIntersectionCallback(*args) - -SoIntersectionDetectionAction_swigregister = _coin.SoIntersectionDetectionAction_swigregister -SoIntersectionDetectionAction_swigregister(SoIntersectionDetectionAction) - -def SoIntersectionDetectionAction_getClassTypeId(*args): - """SoIntersectionDetectionAction_getClassTypeId() -> SoType""" - return _coin.SoIntersectionDetectionAction_getClassTypeId(*args) - -def SoIntersectionDetectionAction_addMethod(*args): - """SoIntersectionDetectionAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoIntersectionDetectionAction_addMethod(*args) - -def SoIntersectionDetectionAction_enableElement(*args): - """SoIntersectionDetectionAction_enableElement(SoType type, int stackindex)""" - return _coin.SoIntersectionDetectionAction_enableElement(*args) - -def SoIntersectionDetectionAction_initClass(*args): - """SoIntersectionDetectionAction_initClass()""" - return _coin.SoIntersectionDetectionAction_initClass(*args) - -def SoIntersectionDetectionAction_setIntersectionEpsilon(*args): - """SoIntersectionDetectionAction_setIntersectionEpsilon(float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionEpsilon(*args) - -def SoIntersectionDetectionAction_getIntersectionEpsilon(*args): - """SoIntersectionDetectionAction_getIntersectionEpsilon() -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionEpsilon(*args) - -class SoToVRMLAction(SoAction): - """Proxy of C++ SoToVRMLAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoToVRMLAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoToVRMLAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRMLAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoToVRMLAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoToVRMLAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoToVRMLAction""" - this = _coin.new_SoToVRMLAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoToVRMLAction - __del__ = lambda self : None; - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoToVRMLAction_apply(*args) - - def getVRMLSceneGraph(*args): - """getVRMLSceneGraph(self) -> SoNode""" - return _coin.SoToVRMLAction_getVRMLSceneGraph(*args) - - def expandSoFile(*args): - """expandSoFile(self, SbBool flag)""" - return _coin.SoToVRMLAction_expandSoFile(*args) - - def areSoFileExpanded(*args): - """areSoFileExpanded(self) -> SbBool""" - return _coin.SoToVRMLAction_areSoFileExpanded(*args) - - def setUrlName(*args): - """setUrlName(self, SbString name)""" - return _coin.SoToVRMLAction_setUrlName(*args) - - def getUrlName(*args): - """getUrlName(self) -> SbString""" - return _coin.SoToVRMLAction_getUrlName(*args) - - def writeTexCoords(*args): - """writeTexCoords(self, SbBool flag)""" - return _coin.SoToVRMLAction_writeTexCoords(*args) - - def areTexCoordWritten(*args): - """areTexCoordWritten(self) -> SbBool""" - return _coin.SoToVRMLAction_areTexCoordWritten(*args) - - def expandTexture2Node(*args): - """expandTexture2Node(self, SbBool flag)""" - return _coin.SoToVRMLAction_expandTexture2Node(*args) - - def areTexture2NodeExpanded(*args): - """areTexture2NodeExpanded(self) -> SbBool""" - return _coin.SoToVRMLAction_areTexture2NodeExpanded(*args) - - def keepUnknownNodes(*args): - """keepUnknownNodes(self, SbBool flag)""" - return _coin.SoToVRMLAction_keepUnknownNodes(*args) - - def areUnknownNodeKept(*args): - """areUnknownNodeKept(self) -> SbBool""" - return _coin.SoToVRMLAction_areUnknownNodeKept(*args) - - def convertInlineNodes(*args): - """convertInlineNodes(self, SbBool flag)""" - return _coin.SoToVRMLAction_convertInlineNodes(*args) - - def doConvertInlineNodes(*args): - """doConvertInlineNodes(self) -> SbBool""" - return _coin.SoToVRMLAction_doConvertInlineNodes(*args) - - def conditionalConversion(*args): - """conditionalConversion(self, SbBool flag)""" - return _coin.SoToVRMLAction_conditionalConversion(*args) - - def doConditionalConversion(*args): - """doConditionalConversion(self) -> SbBool""" - return _coin.SoToVRMLAction_doConditionalConversion(*args) - - def setVerbosity(*args): - """setVerbosity(self, SbBool flag)""" - return _coin.SoToVRMLAction_setVerbosity(*args) - - def isVerbose(*args): - """isVerbose(self) -> SbBool""" - return _coin.SoToVRMLAction_isVerbose(*args) - -SoToVRMLAction_swigregister = _coin.SoToVRMLAction_swigregister -SoToVRMLAction_swigregister(SoToVRMLAction) - -def SoToVRMLAction_getClassTypeId(*args): - """SoToVRMLAction_getClassTypeId() -> SoType""" - return _coin.SoToVRMLAction_getClassTypeId(*args) - -def SoToVRMLAction_addMethod(*args): - """SoToVRMLAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRMLAction_addMethod(*args) - -def SoToVRMLAction_enableElement(*args): - """SoToVRMLAction_enableElement(SoType type, int stackindex)""" - return _coin.SoToVRMLAction_enableElement(*args) - -def SoToVRMLAction_initClass(*args): - """SoToVRMLAction_initClass()""" - return _coin.SoToVRMLAction_initClass(*args) - -class SoToVRML2Action(SoToVRMLAction): - """Proxy of C++ SoToVRML2Action class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoToVRML2Action_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoToVRML2Action_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRML2Action_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoToVRML2Action_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoToVRML2Action_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoToVRML2Action""" - this = _coin.new_SoToVRML2Action(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoToVRML2Action - __del__ = lambda self : None; - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoToVRML2Action_apply(*args) - - def getVRML2SceneGraph(*args): - """getVRML2SceneGraph(self) -> SoVRMLGroup""" - return _coin.SoToVRML2Action_getVRML2SceneGraph(*args) - - def reuseAppearanceNodes(*args): - """reuseAppearanceNodes(self, SbBool appearance)""" - return _coin.SoToVRML2Action_reuseAppearanceNodes(*args) - - def doReuseAppearanceNodes(*args): - """doReuseAppearanceNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReuseAppearanceNodes(*args) - - def reusePropertyNodes(*args): - """reusePropertyNodes(self, SbBool property)""" - return _coin.SoToVRML2Action_reusePropertyNodes(*args) - - def doReusePropertyNodes(*args): - """doReusePropertyNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReusePropertyNodes(*args) - - def reuseGeometryNodes(*args): - """reuseGeometryNodes(self, SbBool geometry)""" - return _coin.SoToVRML2Action_reuseGeometryNodes(*args) - - def doReuseGeometryNodes(*args): - """doReuseGeometryNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReuseGeometryNodes(*args) - -SoToVRML2Action_swigregister = _coin.SoToVRML2Action_swigregister -SoToVRML2Action_swigregister(SoToVRML2Action) - -def SoToVRML2Action_getClassTypeId(*args): - """SoToVRML2Action_getClassTypeId() -> SoType""" - return _coin.SoToVRML2Action_getClassTypeId(*args) - -def SoToVRML2Action_addMethod(*args): - """SoToVRML2Action_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRML2Action_addMethod(*args) - -def SoToVRML2Action_enableElement(*args): - """SoToVRML2Action_enableElement(SoType type, int stackindex)""" - return _coin.SoToVRML2Action_enableElement(*args) - -def SoToVRML2Action_initClass(*args): - """SoToVRML2Action_initClass()""" - return _coin.SoToVRML2Action_initClass(*args) - -class SoHardCopy(object): - """Proxy of C++ SoHardCopy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoHardCopy_init(*args) - - init = staticmethod(init) - def getProductName(*args): - """getProductName() -> char""" - return _coin.SoHardCopy_getProductName(*args) - - getProductName = staticmethod(getProductName) - def getVersion(*args): - """getVersion() -> char""" - return _coin.SoHardCopy_getVersion(*args) - - getVersion = staticmethod(getVersion) - def __init__(self, *args): - """__init__(self) -> SoHardCopy""" - this = _coin.new_SoHardCopy(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoHardCopy - __del__ = lambda self : None; -SoHardCopy_swigregister = _coin.SoHardCopy_swigregister -SoHardCopy_swigregister(SoHardCopy) - -def SoHardCopy_init(*args): - """SoHardCopy_init()""" - return _coin.SoHardCopy_init(*args) - -def SoHardCopy_getProductName(*args): - """SoHardCopy_getProductName() -> char""" - return _coin.SoHardCopy_getProductName(*args) - -def SoHardCopy_getVersion(*args): - """SoHardCopy_getVersion() -> char""" - return _coin.SoHardCopy_getVersion(*args) - -class SoVectorOutput(object): - """Proxy of C++ SoVectorOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoVectorOutput""" - this = _coin.new_SoVectorOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoVectorOutput - __del__ = lambda self : None; - def openFile(*args): - """openFile(self, char filename) -> SbBool""" - return _coin.SoVectorOutput_openFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoVectorOutput_closeFile(*args) - - def getFilePointer(*args): - """getFilePointer(self) -> FILE""" - return _coin.SoVectorOutput_getFilePointer(*args) - -SoVectorOutput_swigregister = _coin.SoVectorOutput_swigregister -SoVectorOutput_swigregister(SoVectorOutput) - -class SoPSVectorOutput(SoVectorOutput): - """Proxy of C++ SoPSVectorOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoPSVectorOutput""" - this = _coin.new_SoPSVectorOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPSVectorOutput - __del__ = lambda self : None; - def setColored(*args): - """ - setColored(self, SbBool flag=1) - setColored(self) - """ - return _coin.SoPSVectorOutput_setColored(*args) - - def getColored(*args): - """getColored(self) -> SbBool""" - return _coin.SoPSVectorOutput_getColored(*args) - -SoPSVectorOutput_swigregister = _coin.SoPSVectorOutput_swigregister -SoPSVectorOutput_swigregister(SoPSVectorOutput) - -class SoVectorizeAction(SoCallbackAction): - """Proxy of C++ SoVectorizeAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVectorizeAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVectorizeAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizeAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizeAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - __swig_destroy__ = _coin.delete_SoVectorizeAction - __del__ = lambda self : None; - def getOutput(*args): - """getOutput(self) -> SoVectorOutput""" - return _coin.SoVectorizeAction_getOutput(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVectorizeAction_initClass(*args) - - initClass = staticmethod(initClass) - INCH = _coin.SoVectorizeAction_INCH - MM = _coin.SoVectorizeAction_MM - METER = _coin.SoVectorizeAction_METER - PORTRAIT = _coin.SoVectorizeAction_PORTRAIT - LANDSCAPE = _coin.SoVectorizeAction_LANDSCAPE - A0 = _coin.SoVectorizeAction_A0 - A1 = _coin.SoVectorizeAction_A1 - A2 = _coin.SoVectorizeAction_A2 - A3 = _coin.SoVectorizeAction_A3 - A4 = _coin.SoVectorizeAction_A4 - A5 = _coin.SoVectorizeAction_A5 - A6 = _coin.SoVectorizeAction_A6 - A7 = _coin.SoVectorizeAction_A7 - A8 = _coin.SoVectorizeAction_A8 - A9 = _coin.SoVectorizeAction_A9 - A10 = _coin.SoVectorizeAction_A10 - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoVectorizeAction_apply(*args) - - def beginStandardPage(*args): - """ - beginStandardPage(self, PageSize pagesize, float border=10.0) - beginStandardPage(self, PageSize pagesize) - """ - return _coin.SoVectorizeAction_beginStandardPage(*args) - - def beginPage(*args): - """ - beginPage(self, SbVec2f startpagepos, SbVec2f pagesize, DimensionUnit u=MM) - beginPage(self, SbVec2f startpagepos, SbVec2f pagesize) - """ - return _coin.SoVectorizeAction_beginPage(*args) - - def endPage(*args): - """endPage(self)""" - return _coin.SoVectorizeAction_endPage(*args) - - def calibrate(*args): - """calibrate(self, SbViewportRegion vp)""" - return _coin.SoVectorizeAction_calibrate(*args) - - def beginViewport(*args): - """ - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f), - DimensionUnit u=MM) - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f)) - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f)) - beginViewport(self) - """ - return _coin.SoVectorizeAction_beginViewport(*args) - - def endViewport(*args): - """endViewport(self)""" - return _coin.SoVectorizeAction_endViewport(*args) - - def setOrientation(*args): - """setOrientation(self, Orientation o)""" - return _coin.SoVectorizeAction_setOrientation(*args) - - def getOrientation(*args): - """getOrientation(self) -> Orientation""" - return _coin.SoVectorizeAction_getOrientation(*args) - - def setBackgroundColor(*args): - """ - setBackgroundColor(self, SbBool bg, SbColor col=SbColor(0.0f, 0.0f, 0.0f)) - setBackgroundColor(self, SbBool bg) - """ - return _coin.SoVectorizeAction_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self, SbColor col) -> SbBool""" - return _coin.SoVectorizeAction_getBackgroundColor(*args) - - def setNominalWidth(*args): - """ - setNominalWidth(self, float w, DimensionUnit u=MM) - setNominalWidth(self, float w) - """ - return _coin.SoVectorizeAction_setNominalWidth(*args) - - def getNominalWidth(*args): - """ - getNominalWidth(self, DimensionUnit u=MM) -> float - getNominalWidth(self) -> float - """ - return _coin.SoVectorizeAction_getNominalWidth(*args) - - def setPixelImageSize(*args): - """ - setPixelImageSize(self, float w, DimensionUnit u=MM) - setPixelImageSize(self, float w) - """ - return _coin.SoVectorizeAction_setPixelImageSize(*args) - - def getPixelImageSize(*args): - """ - getPixelImageSize(self, DimensionUnit u=MM) -> float - getPixelImageSize(self) -> float - """ - return _coin.SoVectorizeAction_getPixelImageSize(*args) - - CIRCLE = _coin.SoVectorizeAction_CIRCLE - SQUARE = _coin.SoVectorizeAction_SQUARE - def setPointStyle(*args): - """setPointStyle(self, PointStyle style)""" - return _coin.SoVectorizeAction_setPointStyle(*args) - - def getPointStyle(*args): - """getPointStyle(self) -> PointStyle""" - return _coin.SoVectorizeAction_getPointStyle(*args) - - def getPageStartpos(*args): - """getPageStartpos(self) -> SbVec2f""" - return _coin.SoVectorizeAction_getPageStartpos(*args) - - def getPageSize(*args): - """getPageSize(self) -> SbVec2f""" - return _coin.SoVectorizeAction_getPageSize(*args) - - REVERSE_ONLY_BLACK_AND_WHITE = _coin.SoVectorizeAction_REVERSE_ONLY_BLACK_AND_WHITE - AS_IS = _coin.SoVectorizeAction_AS_IS - REVERSE = _coin.SoVectorizeAction_REVERSE - NO_JOIN = _coin.SoVectorizeAction_NO_JOIN - MITERED_JOIN = _coin.SoVectorizeAction_MITERED_JOIN - MITERED_BEVELED_JOIN = _coin.SoVectorizeAction_MITERED_BEVELED_JOIN - BEVELED_JOIN = _coin.SoVectorizeAction_BEVELED_JOIN - TRIANGULAR_JOIN = _coin.SoVectorizeAction_TRIANGULAR_JOIN - ROUNDED_JOIN = _coin.SoVectorizeAction_ROUNDED_JOIN - BUTT_END = _coin.SoVectorizeAction_BUTT_END - SQUARE_END = _coin.SoVectorizeAction_SQUARE_END - TRIANGULAR_END = _coin.SoVectorizeAction_TRIANGULAR_END - ROUND_END = _coin.SoVectorizeAction_ROUND_END - NO_HLHSR = _coin.SoVectorizeAction_NO_HLHSR - HLHSR_SIMPLE_PAINTER = _coin.SoVectorizeAction_HLHSR_SIMPLE_PAINTER - HLHSR_PAINTER = _coin.SoVectorizeAction_HLHSR_PAINTER - HLHSR_PAINTER_SURFACE_REMOVAL = _coin.SoVectorizeAction_HLHSR_PAINTER_SURFACE_REMOVAL - HIDDEN_LINES_REMOVAL = _coin.SoVectorizeAction_HIDDEN_LINES_REMOVAL - def setDrawingDimensions(*args): - """ - setDrawingDimensions(self, SbVec2f d, DimensionUnit u=MM) - setDrawingDimensions(self, SbVec2f d) - setDrawingDimensions(self, float w, float h, DimensionUnit u=MM) - setDrawingDimensions(self, float w, float h) - """ - return _coin.SoVectorizeAction_setDrawingDimensions(*args) - - def getDrawingDimensions(*args): - """ - getDrawingDimensions(self, DimensionUnit u=MM) -> SbVec2f - getDrawingDimensions(self) -> SbVec2f - """ - return _coin.SoVectorizeAction_getDrawingDimensions(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f p, DimensionUnit u=MM) - setStartPosition(self, SbVec2f p) - setStartPosition(self, float x, float y, DimensionUnit u=MM) - setStartPosition(self, float x, float y) - """ - return _coin.SoVectorizeAction_setStartPosition(*args) - - def getStartPosition(*args): - """ - getStartPosition(self, DimensionUnit u=MM) -> SbVec2f - getStartPosition(self) -> SbVec2f - """ - return _coin.SoVectorizeAction_getStartPosition(*args) - - def setColorTranslationMethod(*args): - """setColorTranslationMethod(self, ColorTranslationMethod method)""" - return _coin.SoVectorizeAction_setColorTranslationMethod(*args) - - def getColorTranslationMethod(*args): - """getColorTranslationMethod(self) -> ColorTranslationMethod""" - return _coin.SoVectorizeAction_getColorTranslationMethod(*args) - - def setLineEndStyle(*args): - """setLineEndStyle(self, EndLineStyle style)""" - return _coin.SoVectorizeAction_setLineEndStyle(*args) - - def getLineEndStyle(*args): - """getLineEndStyle(self) -> EndLineStyle""" - return _coin.SoVectorizeAction_getLineEndStyle(*args) - - def setLineJoinsStyle(*args): - """setLineJoinsStyle(self, JoinLineStyle style)""" - return _coin.SoVectorizeAction_setLineJoinsStyle(*args) - - def getLineJoinsStyle(*args): - """getLineJoinsStyle(self) -> JoinLineStyle""" - return _coin.SoVectorizeAction_getLineJoinsStyle(*args) - - def setHLHSRMode(*args): - """setHLHSRMode(self, HLHSRMode mode)""" - return _coin.SoVectorizeAction_setHLHSRMode(*args) - - def getHLHSRMode(*args): - """getHLHSRMode(self) -> HLHSRMode""" - return _coin.SoVectorizeAction_getHLHSRMode(*args) - - def setBorder(*args): - """ - setBorder(self, float width) - setBorder(self, float width, SbColor color) - """ - return _coin.SoVectorizeAction_setBorder(*args) - - def setMiterLimit(*args): - """setMiterLimit(self, float limit)""" - return _coin.SoVectorizeAction_setMiterLimit(*args) - - def getMiterLimit(*args): - """getMiterLimit(self) -> float""" - return _coin.SoVectorizeAction_getMiterLimit(*args) - - def setPenDescription(*args): - """ - setPenDescription(self, int num_pens, SbColor colors=0, float widths=0, DimensionUnit u=MM) - setPenDescription(self, int num_pens, SbColor colors=0, float widths=0) - setPenDescription(self, int num_pens, SbColor colors=0) - setPenDescription(self, int num_pens) - """ - return _coin.SoVectorizeAction_setPenDescription(*args) - - def getPenDescription(*args): - """ - getPenDescription(self, SbColor colors, float widths, DimensionUnit u=MM) - getPenDescription(self, SbColor colors, float widths) - """ - return _coin.SoVectorizeAction_getPenDescription(*args) - - def getPenNum(*args): - """getPenNum(self) -> int""" - return _coin.SoVectorizeAction_getPenNum(*args) - - def setColorPriority(*args): - """setColorPriority(self, SbBool priority)""" - return _coin.SoVectorizeAction_setColorPriority(*args) - - def getColorPriority(*args): - """getColorPriority(self) -> SbBool""" - return _coin.SoVectorizeAction_getColorPriority(*args) - - def enableLighting(*args): - """enableLighting(self, SbBool flag)""" - return _coin.SoVectorizeAction_enableLighting(*args) - - def isLightingEnabled(*args): - """isLightingEnabled(self) -> SbBool""" - return _coin.SoVectorizeAction_isLightingEnabled(*args) - -SoVectorizeAction_swigregister = _coin.SoVectorizeAction_swigregister -SoVectorizeAction_swigregister(SoVectorizeAction) - -def SoVectorizeAction_getClassTypeId(*args): - """SoVectorizeAction_getClassTypeId() -> SoType""" - return _coin.SoVectorizeAction_getClassTypeId(*args) - -def SoVectorizeAction_addMethod(*args): - """SoVectorizeAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizeAction_addMethod(*args) - -def SoVectorizeAction_enableElement(*args): - """SoVectorizeAction_enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizeAction_enableElement(*args) - -def SoVectorizeAction_initClass(*args): - """SoVectorizeAction_initClass()""" - return _coin.SoVectorizeAction_initClass(*args) - -class SoShape(SoNode): - """Proxy of C++ SoShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShape_initClass(*args) - - initClass = staticmethod(initClass) - TRIANGLE_STRIP = _coin.SoShape_TRIANGLE_STRIP - TRIANGLE_FAN = _coin.SoShape_TRIANGLE_FAN - TRIANGLES = _coin.SoShape_TRIANGLES - POLYGON = _coin.SoShape_POLYGON - QUADS = _coin.SoShape_QUADS - QUAD_STRIP = _coin.SoShape_QUAD_STRIP - POINTS = _coin.SoShape_POINTS - LINES = _coin.SoShape_LINES - LINE_STRIP = _coin.SoShape_LINE_STRIP - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoShape_affectsState(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoShape_notify(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoShape_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShape_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoShape_rayPick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoShape_callback(*args) - - def computeBBox(*args): - """computeBBox(self, SoAction action, SbBox3f box, SbVec3f center)""" - return _coin.SoShape_computeBBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoShape_getPrimitiveCount(*args) - - def getScreenSize(*args): - """getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)""" - return _coin.SoShape_getScreenSize(*args) - - getScreenSize = staticmethod(getScreenSize) - def getDecimatedComplexity(*args): - """getDecimatedComplexity(SoState state, float complexity) -> float""" - return _coin.SoShape_getDecimatedComplexity(*args) - - getDecimatedComplexity = staticmethod(getDecimatedComplexity) - def getBoundingBoxCache(*args): - """getBoundingBoxCache(self) -> SoBoundingBoxCache""" - return _coin.SoShape_getBoundingBoxCache(*args) - -SoShape_swigregister = _coin.SoShape_swigregister -SoShape_swigregister(SoShape) - -def SoShape_getClassTypeId(*args): - """SoShape_getClassTypeId() -> SoType""" - return _coin.SoShape_getClassTypeId(*args) - -def SoShape_initClass(*args): - """SoShape_initClass()""" - return _coin.SoShape_initClass(*args) - -def SoShape_getScreenSize(*args): - """SoShape_getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)""" - return _coin.SoShape_getScreenSize(*args) - -def SoShape_getDecimatedComplexity(*args): - """SoShape_getDecimatedComplexity(SoState state, float complexity) -> float""" - return _coin.SoShape_getDecimatedComplexity(*args) - -class SoImage(SoShape): - """Proxy of C++ SoImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoImage_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoImage_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoImage""" - this = _coin.new_SoImage(*args) - try: self.this.append(this) - except: self.this = this - BOTTOM = _coin.SoImage_BOTTOM - HALF = _coin.SoImage_HALF - TOP = _coin.SoImage_TOP - LEFT = _coin.SoImage_LEFT - CENTER = _coin.SoImage_CENTER - RIGHT = _coin.SoImage_RIGHT - width = _swig_property(_coin.SoImage_width_get, _coin.SoImage_width_set) - height = _swig_property(_coin.SoImage_height_get, _coin.SoImage_height_set) - vertAlignment = _swig_property(_coin.SoImage_vertAlignment_get, _coin.SoImage_vertAlignment_set) - horAlignment = _swig_property(_coin.SoImage_horAlignment_get, _coin.SoImage_horAlignment_set) - image = _swig_property(_coin.SoImage_image_get, _coin.SoImage_image_set) - filename = _swig_property(_coin.SoImage_filename_get, _coin.SoImage_filename_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoImage_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoImage_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoImage_getPrimitiveCount(*args) - -SoImage_swigregister = _coin.SoImage_swigregister -SoImage_swigregister(SoImage) - -def SoImage_getClassTypeId(*args): - """SoImage_getClassTypeId() -> SoType""" - return _coin.SoImage_getClassTypeId(*args) - -def SoImage_initClass(*args): - """SoImage_initClass()""" - return _coin.SoImage_initClass(*args) - -class SoVectorizePSAction(SoVectorizeAction): - """Proxy of C++ SoVectorizePSAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVectorizePSAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVectorizePSAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizePSAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizePSAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoVectorizePSAction""" - this = _coin.new_SoVectorizePSAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoVectorizePSAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoVectorizePSAction_initClass(*args) - - initClass = staticmethod(initClass) - def setDefault2DFont(*args): - """setDefault2DFont(self, SbString fontname)""" - return _coin.SoVectorizePSAction_setDefault2DFont(*args) - - def getDefault2DFont(*args): - """getDefault2DFont(self) -> SbString""" - return _coin.SoVectorizePSAction_getDefault2DFont(*args) - - def setGouraudThreshold(*args): - """setGouraudThreshold(self, double eps)""" - return _coin.SoVectorizePSAction_setGouraudThreshold(*args) - - def getOutput(*args): - """getOutput(self) -> SoPSVectorOutput""" - return _coin.SoVectorizePSAction_getOutput(*args) - - def getPSOutput(*args): - """getPSOutput(self) -> SoPSVectorOutput""" - return _coin.SoVectorizePSAction_getPSOutput(*args) - -SoVectorizePSAction_swigregister = _coin.SoVectorizePSAction_swigregister -SoVectorizePSAction_swigregister(SoVectorizePSAction) - -def SoVectorizePSAction_getClassTypeId(*args): - """SoVectorizePSAction_getClassTypeId() -> SoType""" - return _coin.SoVectorizePSAction_getClassTypeId(*args) - -def SoVectorizePSAction_addMethod(*args): - """SoVectorizePSAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizePSAction_addMethod(*args) - -def SoVectorizePSAction_enableElement(*args): - """SoVectorizePSAction_enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizePSAction_enableElement(*args) - -def SoVectorizePSAction_initClass(*args): - """SoVectorizePSAction_initClass()""" - return _coin.SoVectorizePSAction_initClass(*args) - -class SoBundle(object): - """Proxy of C++ SoBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr -SoBundle_swigregister = _coin.SoBundle_swigregister -SoBundle_swigregister(SoBundle) - -class SoMaterialBundle(SoBundle): - """Proxy of C++ SoMaterialBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoAction action) -> SoMaterialBundle""" - this = _coin.new_SoMaterialBundle(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMaterialBundle - __del__ = lambda self : None; - def setUpMultiple(*args): - """setUpMultiple(self)""" - return _coin.SoMaterialBundle_setUpMultiple(*args) - - def sendFirst(*args): - """sendFirst(self)""" - return _coin.SoMaterialBundle_sendFirst(*args) - - def forceSend(*args): - """forceSend(self, int index)""" - return _coin.SoMaterialBundle_forceSend(*args) - - def isColorOnly(*args): - """isColorOnly(self) -> SbBool""" - return _coin.SoMaterialBundle_isColorOnly(*args) - - def send(*args): - """send(self, int index, SbBool betweenbeginend)""" - return _coin.SoMaterialBundle_send(*args) - -SoMaterialBundle_swigregister = _coin.SoMaterialBundle_swigregister -SoMaterialBundle_swigregister(SoMaterialBundle) - -class SbBSPTree(object): - """Proxy of C++ SbBSPTree class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int maxnodepts=64, int initsize=4) -> SbBSPTree - __init__(self, int maxnodepts=64) -> SbBSPTree - __init__(self) -> SbBSPTree - """ - this = _coin.new_SbBSPTree(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBSPTree - __del__ = lambda self : None; - def numPoints(*args): - """numPoints(self) -> int""" - return _coin.SbBSPTree_numPoints(*args) - - def getPoint(*args): - """ - getPoint(self, int idx) -> SbVec3f - getPoint(self, int idx, SbVec3f pt) - """ - return _coin.SbBSPTree_getPoint(*args) - - def getUserData(*args): - """getUserData(self, int idx) -> void""" - return _coin.SbBSPTree_getUserData(*args) - - def setUserData(*args): - """setUserData(self, int idx, void data)""" - return _coin.SbBSPTree_setUserData(*args) - - def addPoint(*args): - """ - addPoint(self, SbVec3f pt, void userdata=None) -> int - addPoint(self, SbVec3f pt) -> int - """ - return _coin.SbBSPTree_addPoint(*args) - - def removePoint(*args): - """ - removePoint(self, SbVec3f pt) -> int - removePoint(self, int idx) - """ - return _coin.SbBSPTree_removePoint(*args) - - def findPoint(*args): - """findPoint(self, SbVec3f pos) -> int""" - return _coin.SbBSPTree_findPoint(*args) - - def clear(*args): - """ - clear(self, int initsize=4) - clear(self) - """ - return _coin.SbBSPTree_clear(*args) - - def getBBox(*args): - """getBBox(self) -> SbBox3f""" - return _coin.SbBSPTree_getBBox(*args) - - def getPointsArrayPtr(*args): - """getPointsArrayPtr(self) -> SbVec3f""" - return _coin.SbBSPTree_getPointsArrayPtr(*args) - - def findPoints(*args): - """ - findPoints(self, SbSphere sphere, SbIntList array) - findPoints(self, SbSphere sphere, SbList<(int)> array) - """ - return _coin.SbBSPTree_findPoints(*args) - - def findClosest(*args): - """ - findClosest(self, SbVec3f pos) -> int - findClosest(self, SbSphere sphere, SbIntList array) -> int - findClosest(self, SbSphere sphere, SbList<(int)> array) -> int - """ - return _coin.SbBSPTree_findClosest(*args) - -SbBSPTree_swigregister = _coin.SbBSPTree_swigregister -SbBSPTree_swigregister(SbBSPTree) - -class SoNormalGenerator(object): - """Proxy of C++ SoNormalGenerator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool ccw, int approxVertices=64) -> SoNormalGenerator - __init__(self, SbBool ccw) -> SoNormalGenerator - """ - this = _coin.new_SoNormalGenerator(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNormalGenerator - __del__ = lambda self : None; - def reset(*args): - """reset(self, SbBool ccw)""" - return _coin.SoNormalGenerator_reset(*args) - - def beginPolygon(*args): - """beginPolygon(self)""" - return _coin.SoNormalGenerator_beginPolygon(*args) - - def polygonVertex(*args): - """polygonVertex(self, SbVec3f v)""" - return _coin.SoNormalGenerator_polygonVertex(*args) - - def endPolygon(*args): - """endPolygon(self)""" - return _coin.SoNormalGenerator_endPolygon(*args) - - def triangle(*args): - """triangle(self, SbVec3f v0, SbVec3f v1, SbVec3f v2)""" - return _coin.SoNormalGenerator_triangle(*args) - - def quad(*args): - """quad(self, SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f v3)""" - return _coin.SoNormalGenerator_quad(*args) - - def generate(*args): - """ - generate(self, float creaseAngle, int32_t striplens=None, int numstrips=0) - generate(self, float creaseAngle, int32_t striplens=None) - generate(self, float creaseAngle) - """ - return _coin.SoNormalGenerator_generate(*args) - - def generatePerStrip(*args): - """generatePerStrip(self, int32_t striplens, int numstrips)""" - return _coin.SoNormalGenerator_generatePerStrip(*args) - - def generatePerFace(*args): - """generatePerFace(self)""" - return _coin.SoNormalGenerator_generatePerFace(*args) - - def generateOverall(*args): - """generateOverall(self)""" - return _coin.SoNormalGenerator_generateOverall(*args) - - def getNumNormals(*args): - """getNumNormals(self) -> int""" - return _coin.SoNormalGenerator_getNumNormals(*args) - - def setNumNormals(*args): - """setNumNormals(self, int num)""" - return _coin.SoNormalGenerator_setNumNormals(*args) - - def getNormals(*args): - """getNormals(self) -> SbVec3f""" - return _coin.SoNormalGenerator_getNormals(*args) - - def getNormal(*args): - """getNormal(self, int32_t i) -> SbVec3f""" - return _coin.SoNormalGenerator_getNormal(*args) - - def setNormal(*args): - """setNormal(self, int32_t index, SbVec3f normal)""" - return _coin.SoNormalGenerator_setNormal(*args) - -SoNormalGenerator_swigregister = _coin.SoNormalGenerator_swigregister -SoNormalGenerator_swigregister(SoNormalGenerator) - -class SoNormalElement(SoReplacedElement): - """Proxy of C++ SoNormalElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoNormalElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoNormalElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoNormalElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoNormalElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, - SbBool normalsAreUnitLength=0) - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals) - """ - return _coin.SoNormalElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoNormalElement""" - return _coin.SoNormalElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoNormalElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbVec3f""" - return _coin.SoNormalElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbVec3f""" - return _coin.SoNormalElement_getArrayPtr(*args) - - def areNormalsUnitLength(*args): - """areNormalsUnitLength(self) -> SbBool""" - return _coin.SoNormalElement_areNormalsUnitLength(*args) - -SoNormalElement_swigregister = _coin.SoNormalElement_swigregister -SoNormalElement_swigregister(SoNormalElement) - -def SoNormalElement_getClassTypeId(*args): - """SoNormalElement_getClassTypeId() -> SoType""" - return _coin.SoNormalElement_getClassTypeId(*args) - -def SoNormalElement_getClassStackIndex(*args): - """SoNormalElement_getClassStackIndex() -> int""" - return _coin.SoNormalElement_getClassStackIndex(*args) - -def SoNormalElement_createInstance(*args): - """SoNormalElement_createInstance() -> void""" - return _coin.SoNormalElement_createInstance(*args) - -def SoNormalElement_initClass(*args): - """SoNormalElement_initClass()""" - return _coin.SoNormalElement_initClass(*args) - -def SoNormalElement_set(*args): - """ - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, - SbBool normalsAreUnitLength=0) - SoNormalElement_set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals) - """ - return _coin.SoNormalElement_set(*args) - -def SoNormalElement_getInstance(*args): - """SoNormalElement_getInstance(SoState state) -> SoNormalElement""" - return _coin.SoNormalElement_getInstance(*args) - -class SoGLNormalElement(SoNormalElement): - """Proxy of C++ SoGLNormalElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLNormalElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLNormalElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLNormalElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLNormalElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLNormalElement_init(*args) - - def send(*args): - """send(self, int index)""" - return _coin.SoGLNormalElement_send(*args) - -SoGLNormalElement_swigregister = _coin.SoGLNormalElement_swigregister -SoGLNormalElement_swigregister(SoGLNormalElement) - -def SoGLNormalElement_getClassTypeId(*args): - """SoGLNormalElement_getClassTypeId() -> SoType""" - return _coin.SoGLNormalElement_getClassTypeId(*args) - -def SoGLNormalElement_getClassStackIndex(*args): - """SoGLNormalElement_getClassStackIndex() -> int""" - return _coin.SoGLNormalElement_getClassStackIndex(*args) - -def SoGLNormalElement_createInstance(*args): - """SoGLNormalElement_createInstance() -> void""" - return _coin.SoGLNormalElement_createInstance(*args) - -def SoGLNormalElement_initClass(*args): - """SoGLNormalElement_initClass()""" - return _coin.SoGLNormalElement_initClass(*args) - -class SoNormalBundle(SoBundle): - """Proxy of C++ SoNormalBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - generator = _swig_property(_coin.SoNormalBundle_generator_get, _coin.SoNormalBundle_generator_set) -SoNormalBundle_swigregister = _coin.SoNormalBundle_swigregister -SoNormalBundle_swigregister(SoNormalBundle) - -class SoTextureCoordinateElement(SoReplacedElement): - """Proxy of C++ SoTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - NONE = _coin.SoTextureCoordinateElement_NONE - TEXGEN = _coin.SoTextureCoordinateElement_TEXGEN - EXPLICIT = _coin.SoTextureCoordinateElement_EXPLICIT - FUNCTION = _coin.SoTextureCoordinateElement_FUNCTION - DEFAULT = _coin.SoTextureCoordinateElement_DEFAULT - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCoordinateElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node)""" - return _coin.SoTextureCoordinateElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def setFunction(*args): - """ - setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoTextureCoordinateElement_setFunction(*args) - - setFunction = staticmethod(setFunction) - def set2(*args): - """set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoTextureCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoTextureCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoTextureCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getType(*args): - """ - getType(self, SoState state) -> CoordType - getType(self) -> CoordType - """ - return _coin.SoTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoTextureCoordinateElement""" - return _coin.SoTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def get(*args): - """get(self, SbVec3f point, SbVec3f normal) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_get(*args) - - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoTextureCoordinateElement_getNum(*args) - - def is2D(*args): - """is2D(self) -> SbBool""" - return _coin.SoTextureCoordinateElement_is2D(*args) - - def getDimension(*args): - """getDimension(self) -> int32_t""" - return _coin.SoTextureCoordinateElement_getDimension(*args) - - def get2(*args): - """get2(self, int index) -> SbVec2f""" - return _coin.SoTextureCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoTextureCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int index) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_get4(*args) - - def getArrayPtr2(*args): - """getArrayPtr2(self) -> SbVec2f""" - return _coin.SoTextureCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoTextureCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_getArrayPtr4(*args) - -SoTextureCoordinateElement_swigregister = _coin.SoTextureCoordinateElement_swigregister -SoTextureCoordinateElement_swigregister(SoTextureCoordinateElement) - -def SoTextureCoordinateElement_getClassTypeId(*args): - """SoTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateElement_getClassTypeId(*args) - -def SoTextureCoordinateElement_getClassStackIndex(*args): - """SoTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateElement_getClassStackIndex(*args) - -def SoTextureCoordinateElement_createInstance(*args): - """SoTextureCoordinateElement_createInstance() -> void""" - return _coin.SoTextureCoordinateElement_createInstance(*args) - -def SoTextureCoordinateElement_initClass(*args): - """SoTextureCoordinateElement_initClass()""" - return _coin.SoTextureCoordinateElement_initClass(*args) - -def SoTextureCoordinateElement_setDefault(*args): - """SoTextureCoordinateElement_setDefault(SoState state, SoNode node)""" - return _coin.SoTextureCoordinateElement_setDefault(*args) - -def SoTextureCoordinateElement_setFunction(*args): - """ - SoTextureCoordinateElement_setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoTextureCoordinateElement_setFunction(*args) - -def SoTextureCoordinateElement_set2(*args): - """SoTextureCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoTextureCoordinateElement_set2(*args) - -def SoTextureCoordinateElement_set3(*args): - """SoTextureCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoTextureCoordinateElement_set3(*args) - -def SoTextureCoordinateElement_set4(*args): - """SoTextureCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoTextureCoordinateElement_set4(*args) - -def SoTextureCoordinateElement_getInstance(*args): - """SoTextureCoordinateElement_getInstance(SoState state) -> SoTextureCoordinateElement""" - return _coin.SoTextureCoordinateElement_getInstance(*args) - -class SoGLTextureCoordinateElement(SoTextureCoordinateElement): - """Proxy of C++ SoGLTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureCoordinateElement_pop(*args) - - def setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLTextureCoordinateElement_setTexGen(*args) - - setTexGen = staticmethod(setTexGen) - def getType(*args): - """getType(self) -> CoordType""" - return _coin.SoGLTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoGLTextureCoordinateElement""" - return _coin.SoGLTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """ - send(self, int index) - send(self, int index, SbVec3f c, SbVec3f n) - """ - return _coin.SoGLTextureCoordinateElement_send(*args) - - def initMulti(*args): - """initMulti(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_initMulti(*args) - -SoGLTextureCoordinateElement_swigregister = _coin.SoGLTextureCoordinateElement_swigregister -SoGLTextureCoordinateElement_swigregister(SoGLTextureCoordinateElement) - -def SoGLTextureCoordinateElement_getClassTypeId(*args): - """SoGLTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureCoordinateElement_getClassTypeId(*args) - -def SoGLTextureCoordinateElement_getClassStackIndex(*args): - """SoGLTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureCoordinateElement_getClassStackIndex(*args) - -def SoGLTextureCoordinateElement_createInstance(*args): - """SoGLTextureCoordinateElement_createInstance() -> void""" - return _coin.SoGLTextureCoordinateElement_createInstance(*args) - -def SoGLTextureCoordinateElement_initClass(*args): - """SoGLTextureCoordinateElement_initClass()""" - return _coin.SoGLTextureCoordinateElement_initClass(*args) - -def SoGLTextureCoordinateElement_setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - SoGLTextureCoordinateElement_setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLTextureCoordinateElement_setTexGen(*args) - -def SoGLTextureCoordinateElement_getInstance(*args): - """SoGLTextureCoordinateElement_getInstance(SoState state) -> SoGLTextureCoordinateElement""" - return _coin.SoGLTextureCoordinateElement_getInstance(*args) - -class SoTextureCoordinateBundle(SoBundle): - """Proxy of C++ SoTextureCoordinateBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoAction action, SbBool forRendering, SbBool setUpDefault=1) -> SoTextureCoordinateBundle - __init__(self, SoAction action, SbBool forRendering) -> SoTextureCoordinateBundle - """ - this = _coin.new_SoTextureCoordinateBundle(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextureCoordinateBundle - __del__ = lambda self : None; - def needCoordinates(*args): - """needCoordinates(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_needCoordinates(*args) - - def isFunction(*args): - """isFunction(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_isFunction(*args) - - def get(*args): - """ - get(self, int index) -> SbVec4f - get(self, SbVec3f point, SbVec3f normal) -> SbVec4f - """ - return _coin.SoTextureCoordinateBundle_get(*args) - - def send(*args): - """ - send(self, int index) - send(self, int index, SbVec3f point, SbVec3f normal) - """ - return _coin.SoTextureCoordinateBundle_send(*args) - - def needIndices(*args): - """needIndices(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_needIndices(*args) - -SoTextureCoordinateBundle_swigregister = _coin.SoTextureCoordinateBundle_swigregister -SoTextureCoordinateBundle_swigregister(SoTextureCoordinateBundle) - -class SoCache(object): - """Proxy of C++ SoCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoCache""" - this = _coin.new_SoCache(*args) - try: self.this.append(this) - except: self.this = this - def ref(*args): - """ref(self)""" - return _coin.SoCache_ref(*args) - - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoCache_unref(*args) - - def addElement(*args): - """addElement(self, SoElement elem)""" - return _coin.SoCache_addElement(*args) - - def addCacheDependency(*args): - """addCacheDependency(self, SoState state, SoCache cache)""" - return _coin.SoCache_addCacheDependency(*args) - - def isValid(*args): - """isValid(self, SoState state) -> SbBool""" - return _coin.SoCache_isValid(*args) - - def getInvalidElement(*args): - """getInvalidElement(self, SoState state) -> SoElement""" - return _coin.SoCache_getInvalidElement(*args) - - def invalidate(*args): - """invalidate(self)""" - return _coin.SoCache_invalidate(*args) - -SoCache_swigregister = _coin.SoCache_swigregister -SoCache_swigregister(SoCache) - -class SoBoundingBoxCache(SoCache): - """Proxy of C++ SoBoundingBoxCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoBoundingBoxCache""" - this = _coin.new_SoBoundingBoxCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBoundingBoxCache - __del__ = lambda self : None; - def set(*args): - """set(self, SbXfBox3f boundingbox, SbBool centerset, SbVec3f centerpoint)""" - return _coin.SoBoundingBoxCache_set(*args) - - def getBox(*args): - """getBox(self) -> SbXfBox3f""" - return _coin.SoBoundingBoxCache_getBox(*args) - - def getProjectedBox(*args): - """getProjectedBox(self) -> SbBox3f""" - return _coin.SoBoundingBoxCache_getProjectedBox(*args) - - def isCenterSet(*args): - """isCenterSet(self) -> SbBool""" - return _coin.SoBoundingBoxCache_isCenterSet(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SoBoundingBoxCache_getCenter(*args) - - def setHasLinesOrPoints(*args): - """setHasLinesOrPoints(SoState state)""" - return _coin.SoBoundingBoxCache_setHasLinesOrPoints(*args) - - setHasLinesOrPoints = staticmethod(setHasLinesOrPoints) - def hasLinesOrPoints(*args): - """hasLinesOrPoints(self) -> SbBool""" - return _coin.SoBoundingBoxCache_hasLinesOrPoints(*args) - -SoBoundingBoxCache_swigregister = _coin.SoBoundingBoxCache_swigregister -SoBoundingBoxCache_swigregister(SoBoundingBoxCache) - -def SoBoundingBoxCache_setHasLinesOrPoints(*args): - """SoBoundingBoxCache_setHasLinesOrPoints(SoState state)""" - return _coin.SoBoundingBoxCache_setHasLinesOrPoints(*args) - -class SoConvexDataCache(SoCache): - """Proxy of C++ SoConvexDataCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoConvexDataCache""" - this = _coin.new_SoConvexDataCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoConvexDataCache - __del__ = lambda self : None; - NONE = _coin.SoConvexDataCache_NONE - PER_FACE = _coin.SoConvexDataCache_PER_FACE - PER_FACE_INDEXED = _coin.SoConvexDataCache_PER_FACE_INDEXED - PER_VERTEX = _coin.SoConvexDataCache_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoConvexDataCache_PER_VERTEX_INDEXED - def generate(*args): - """ - generate(self, SoCoordinateElement coords, SbMatrix matrix, int32_t coordindices, - int numcoordindices, int32_t matindices, - int32_t normindices, int32_t texindices, - Binding matbinding, Binding normbinding, - Binding texbinding) - """ - return _coin.SoConvexDataCache_generate(*args) - - def getCoordIndices(*args): - """getCoordIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getCoordIndices(*args) - - def getNumCoordIndices(*args): - """getNumCoordIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumCoordIndices(*args) - - def getMaterialIndices(*args): - """getMaterialIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getMaterialIndices(*args) - - def getNumMaterialIndices(*args): - """getNumMaterialIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumMaterialIndices(*args) - - def getNormalIndices(*args): - """getNormalIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getNormalIndices(*args) - - def getNumNormalIndices(*args): - """getNumNormalIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumNormalIndices(*args) - - def getTexIndices(*args): - """getTexIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getTexIndices(*args) - - def getNumTexIndices(*args): - """getNumTexIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumTexIndices(*args) - -SoConvexDataCache_swigregister = _coin.SoConvexDataCache_swigregister -SoConvexDataCache_swigregister(SoConvexDataCache) - -class SoGLCacheList(object): - """Proxy of C++ SoGLCacheList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr -SoGLCacheList_swigregister = _coin.SoGLCacheList_swigregister -SoGLCacheList_swigregister(SoGLCacheList) - -class SoGLLazyElement(SoLazyElement): - """Proxy of C++ SoGLLazyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLazyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLazyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLazyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLazyElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLazyElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLazyElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoGLLazyElement_pop(*args) - - def sendAllMaterial(*args): - """sendAllMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendAllMaterial(*args) - - sendAllMaterial = staticmethod(sendAllMaterial) - def sendNoMaterial(*args): - """sendNoMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendNoMaterial(*args) - - sendNoMaterial = staticmethod(sendNoMaterial) - def sendOnlyDiffuseColor(*args): - """sendOnlyDiffuseColor(SoState state)""" - return _coin.SoGLLazyElement_sendOnlyDiffuseColor(*args) - - sendOnlyDiffuseColor = staticmethod(sendOnlyDiffuseColor) - def sendLightModel(*args): - """sendLightModel(SoState state, int32_t model)""" - return _coin.SoGLLazyElement_sendLightModel(*args) - - sendLightModel = staticmethod(sendLightModel) - def sendPackedDiffuse(*args): - """sendPackedDiffuse(SoState state, uint32_t diffuse)""" - return _coin.SoGLLazyElement_sendPackedDiffuse(*args) - - sendPackedDiffuse = staticmethod(sendPackedDiffuse) - def sendFlatshading(*args): - """sendFlatshading(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendFlatshading(*args) - - sendFlatshading = staticmethod(sendFlatshading) - def sendVertexOrdering(*args): - """sendVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_sendVertexOrdering(*args) - - sendVertexOrdering = staticmethod(sendVertexOrdering) - def sendTwosideLighting(*args): - """sendTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendTwosideLighting(*args) - - sendTwosideLighting = staticmethod(sendTwosideLighting) - def sendBackfaceCulling(*args): - """sendBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendBackfaceCulling(*args) - - sendBackfaceCulling = staticmethod(sendBackfaceCulling) - def sendDiffuseByIndex(*args): - """sendDiffuseByIndex(self, int index)""" - return _coin.SoGLLazyElement_sendDiffuseByIndex(*args) - - def isColorIndex(*args): - """isColorIndex(SoState state) -> SbBool""" - return _coin.SoGLLazyElement_isColorIndex(*args) - - isColorIndex = staticmethod(isColorIndex) - def getInstance(*args): - """getInstance(SoState state) -> SoGLLazyElement""" - return _coin.SoGLLazyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """send(self, SoState state, uint32_t mask)""" - return _coin.SoGLLazyElement_send(*args) - - def sendVPPacked(*args): - """sendVPPacked(self, SoState state, unsigned char pcolor)""" - return _coin.SoGLLazyElement_sendVPPacked(*args) - - def reset(*args): - """reset(self, SoState state, uint32_t bitmask)""" - return _coin.SoGLLazyElement_reset(*args) - - def setDiffuseElt(*args): - """setDiffuseElt(self, SoNode ?, int32_t numcolors, SbColor colors, SoColorPacker packer)""" - return _coin.SoGLLazyElement_setDiffuseElt(*args) - - def setPackedElt(*args): - """setPackedElt(self, SoNode node, int32_t numcolors, uint32_t colors, SbBool packedtransparency)""" - return _coin.SoGLLazyElement_setPackedElt(*args) - - def setColorIndexElt(*args): - """setColorIndexElt(self, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLLazyElement_setColorIndexElt(*args) - - def setTranspElt(*args): - """setTranspElt(self, SoNode node, int32_t numtransp, float transp, SoColorPacker packer)""" - return _coin.SoGLLazyElement_setTranspElt(*args) - - def setTranspTypeElt(*args): - """setTranspTypeElt(self, int32_t type)""" - return _coin.SoGLLazyElement_setTranspTypeElt(*args) - - def setAmbientElt(*args): - """setAmbientElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setAmbientElt(*args) - - def setEmissiveElt(*args): - """setEmissiveElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setEmissiveElt(*args) - - def setSpecularElt(*args): - """setSpecularElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setSpecularElt(*args) - - def setShininessElt(*args): - """setShininessElt(self, float value)""" - return _coin.SoGLLazyElement_setShininessElt(*args) - - def setColorMaterialElt(*args): - """setColorMaterialElt(self, SbBool value)""" - return _coin.SoGLLazyElement_setColorMaterialElt(*args) - - def enableBlendingElt(*args): - """enableBlendingElt(self, int sfactor, int dfactor, int alpha_sfactor, int alpha_dfactor)""" - return _coin.SoGLLazyElement_enableBlendingElt(*args) - - def disableBlendingElt(*args): - """disableBlendingElt(self)""" - return _coin.SoGLLazyElement_disableBlendingElt(*args) - - def setLightModelElt(*args): - """setLightModelElt(self, SoState state, int32_t model)""" - return _coin.SoGLLazyElement_setLightModelElt(*args) - - def setMaterialElt(*args): - """ - setMaterialElt(self, SoNode node, uint32_t bitmask, SoColorPacker packer, - SbColor diffuse, int numdiffuse, float transp, - int numtransp, SbColor ambient, SbColor emissive, - SbColor specular, float shininess, SbBool istransparent) - """ - return _coin.SoGLLazyElement_setMaterialElt(*args) - - def setVertexOrderingElt(*args): - """setVertexOrderingElt(self, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_setVertexOrderingElt(*args) - - def setBackfaceCullingElt(*args): - """setBackfaceCullingElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setBackfaceCullingElt(*args) - - def setTwosideLightingElt(*args): - """setTwosideLightingElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setTwosideLightingElt(*args) - - def setShadeModelElt(*args): - """setShadeModelElt(self, SbBool flatshading)""" - return _coin.SoGLLazyElement_setShadeModelElt(*args) - - def setGLImageIdElt(*args): - """setGLImageIdElt(self, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoGLLazyElement_setGLImageIdElt(*args) - - def setAlphaTestElt(*args): - """setAlphaTestElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setAlphaTestElt(*args) - - def beginCaching(*args): - """beginCaching(SoState state, GLState prestate, GLState poststate)""" - return _coin.SoGLLazyElement_beginCaching(*args) - - beginCaching = staticmethod(beginCaching) - def endCaching(*args): - """endCaching(SoState state)""" - return _coin.SoGLLazyElement_endCaching(*args) - - endCaching = staticmethod(endCaching) - def preCacheCall(*args): - """preCacheCall(SoState state, GLState prestate) -> SbBool""" - return _coin.SoGLLazyElement_preCacheCall(*args) - - preCacheCall = staticmethod(preCacheCall) - def postCacheCall(*args): - """postCacheCall(SoState state, GLState poststate)""" - return _coin.SoGLLazyElement_postCacheCall(*args) - - postCacheCall = staticmethod(postCacheCall) - def mergeCacheInfo(*args): - """mergeCacheInfo(SoState state, GLState childprestate, GLState childpoststate)""" - return _coin.SoGLLazyElement_mergeCacheInfo(*args) - - mergeCacheInfo = staticmethod(mergeCacheInfo) - def updateColorVBO(*args): - """updateColorVBO(self, SoVBO vbo)""" - return _coin.SoGLLazyElement_updateColorVBO(*args) - -SoGLLazyElement_swigregister = _coin.SoGLLazyElement_swigregister -SoGLLazyElement_swigregister(SoGLLazyElement) - -def SoGLLazyElement_getClassTypeId(*args): - """SoGLLazyElement_getClassTypeId() -> SoType""" - return _coin.SoGLLazyElement_getClassTypeId(*args) - -def SoGLLazyElement_getClassStackIndex(*args): - """SoGLLazyElement_getClassStackIndex() -> int""" - return _coin.SoGLLazyElement_getClassStackIndex(*args) - -def SoGLLazyElement_createInstance(*args): - """SoGLLazyElement_createInstance() -> void""" - return _coin.SoGLLazyElement_createInstance(*args) - -def SoGLLazyElement_initClass(*args): - """SoGLLazyElement_initClass()""" - return _coin.SoGLLazyElement_initClass(*args) - -def SoGLLazyElement_sendAllMaterial(*args): - """SoGLLazyElement_sendAllMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendAllMaterial(*args) - -def SoGLLazyElement_sendNoMaterial(*args): - """SoGLLazyElement_sendNoMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendNoMaterial(*args) - -def SoGLLazyElement_sendOnlyDiffuseColor(*args): - """SoGLLazyElement_sendOnlyDiffuseColor(SoState state)""" - return _coin.SoGLLazyElement_sendOnlyDiffuseColor(*args) - -def SoGLLazyElement_sendLightModel(*args): - """SoGLLazyElement_sendLightModel(SoState state, int32_t model)""" - return _coin.SoGLLazyElement_sendLightModel(*args) - -def SoGLLazyElement_sendPackedDiffuse(*args): - """SoGLLazyElement_sendPackedDiffuse(SoState state, uint32_t diffuse)""" - return _coin.SoGLLazyElement_sendPackedDiffuse(*args) - -def SoGLLazyElement_sendFlatshading(*args): - """SoGLLazyElement_sendFlatshading(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendFlatshading(*args) - -def SoGLLazyElement_sendVertexOrdering(*args): - """SoGLLazyElement_sendVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_sendVertexOrdering(*args) - -def SoGLLazyElement_sendTwosideLighting(*args): - """SoGLLazyElement_sendTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendTwosideLighting(*args) - -def SoGLLazyElement_sendBackfaceCulling(*args): - """SoGLLazyElement_sendBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendBackfaceCulling(*args) - -def SoGLLazyElement_isColorIndex(*args): - """SoGLLazyElement_isColorIndex(SoState state) -> SbBool""" - return _coin.SoGLLazyElement_isColorIndex(*args) - -def SoGLLazyElement_getInstance(*args): - """SoGLLazyElement_getInstance(SoState state) -> SoGLLazyElement""" - return _coin.SoGLLazyElement_getInstance(*args) - -def SoGLLazyElement_beginCaching(*args): - """SoGLLazyElement_beginCaching(SoState state, GLState prestate, GLState poststate)""" - return _coin.SoGLLazyElement_beginCaching(*args) - -def SoGLLazyElement_endCaching(*args): - """SoGLLazyElement_endCaching(SoState state)""" - return _coin.SoGLLazyElement_endCaching(*args) - -def SoGLLazyElement_preCacheCall(*args): - """SoGLLazyElement_preCacheCall(SoState state, GLState prestate) -> SbBool""" - return _coin.SoGLLazyElement_preCacheCall(*args) - -def SoGLLazyElement_postCacheCall(*args): - """SoGLLazyElement_postCacheCall(SoState state, GLState poststate)""" - return _coin.SoGLLazyElement_postCacheCall(*args) - -def SoGLLazyElement_mergeCacheInfo(*args): - """SoGLLazyElement_mergeCacheInfo(SoState state, GLState childprestate, GLState childpoststate)""" - return _coin.SoGLLazyElement_mergeCacheInfo(*args) - -class SoGLLazyElement_GLState(object): - """Proxy of C++ SoGLLazyElement_GLState class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - cachebitmask = _swig_property(_coin.SoGLLazyElement_GLState_cachebitmask_get, _coin.SoGLLazyElement_GLState_cachebitmask_set) - diffuse = _swig_property(_coin.SoGLLazyElement_GLState_diffuse_get, _coin.SoGLLazyElement_GLState_diffuse_set) - ambient = _swig_property(_coin.SoGLLazyElement_GLState_ambient_get, _coin.SoGLLazyElement_GLState_ambient_set) - emissive = _swig_property(_coin.SoGLLazyElement_GLState_emissive_get, _coin.SoGLLazyElement_GLState_emissive_set) - specular = _swig_property(_coin.SoGLLazyElement_GLState_specular_get, _coin.SoGLLazyElement_GLState_specular_set) - shininess = _swig_property(_coin.SoGLLazyElement_GLState_shininess_get, _coin.SoGLLazyElement_GLState_shininess_set) - lightmodel = _swig_property(_coin.SoGLLazyElement_GLState_lightmodel_get, _coin.SoGLLazyElement_GLState_lightmodel_set) - blending = _swig_property(_coin.SoGLLazyElement_GLState_blending_get, _coin.SoGLLazyElement_GLState_blending_set) - blend_sfactor = _swig_property(_coin.SoGLLazyElement_GLState_blend_sfactor_get, _coin.SoGLLazyElement_GLState_blend_sfactor_set) - blend_dfactor = _swig_property(_coin.SoGLLazyElement_GLState_blend_dfactor_get, _coin.SoGLLazyElement_GLState_blend_dfactor_set) - alpha_blend_sfactor = _swig_property(_coin.SoGLLazyElement_GLState_alpha_blend_sfactor_get, _coin.SoGLLazyElement_GLState_alpha_blend_sfactor_set) - alpha_blend_dfactor = _swig_property(_coin.SoGLLazyElement_GLState_alpha_blend_dfactor_get, _coin.SoGLLazyElement_GLState_alpha_blend_dfactor_set) - stipplenum = _swig_property(_coin.SoGLLazyElement_GLState_stipplenum_get, _coin.SoGLLazyElement_GLState_stipplenum_set) - vertexordering = _swig_property(_coin.SoGLLazyElement_GLState_vertexordering_get, _coin.SoGLLazyElement_GLState_vertexordering_set) - culling = _swig_property(_coin.SoGLLazyElement_GLState_culling_get, _coin.SoGLLazyElement_GLState_culling_set) - twoside = _swig_property(_coin.SoGLLazyElement_GLState_twoside_get, _coin.SoGLLazyElement_GLState_twoside_set) - flatshading = _swig_property(_coin.SoGLLazyElement_GLState_flatshading_get, _coin.SoGLLazyElement_GLState_flatshading_set) - glimageid = _swig_property(_coin.SoGLLazyElement_GLState_glimageid_get, _coin.SoGLLazyElement_GLState_glimageid_set) - alphatest = _swig_property(_coin.SoGLLazyElement_GLState_alphatest_get, _coin.SoGLLazyElement_GLState_alphatest_set) - diffusenodeid = _swig_property(_coin.SoGLLazyElement_GLState_diffusenodeid_get, _coin.SoGLLazyElement_GLState_diffusenodeid_set) - transpnodeid = _swig_property(_coin.SoGLLazyElement_GLState_transpnodeid_get, _coin.SoGLLazyElement_GLState_transpnodeid_set) - reserved = _swig_property(_coin.SoGLLazyElement_GLState_reserved_get, _coin.SoGLLazyElement_GLState_reserved_set) - def __init__(self, *args): - """__init__(self) -> SoGLLazyElement_GLState""" - this = _coin.new_SoGLLazyElement_GLState(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGLLazyElement_GLState - __del__ = lambda self : None; -SoGLLazyElement_GLState_swigregister = _coin.SoGLLazyElement_GLState_swigregister -SoGLLazyElement_GLState_swigregister(SoGLLazyElement_GLState) - -class SoGLRenderCache(SoCache): - """Proxy of C++ SoGLRenderCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoGLRenderCache - __del__ = lambda self : None; - def isValid(*args): - """isValid(self, SoState state) -> SbBool""" - return _coin.SoGLRenderCache_isValid(*args) - - def addNestedCache(*args): - """addNestedCache(self, SoGLDisplayList child)""" - return _coin.SoGLRenderCache_addNestedCache(*args) - -SoGLRenderCache_swigregister = _coin.SoGLRenderCache_swigregister -SoGLRenderCache_swigregister(SoGLRenderCache) - -class SoNormalCache(SoCache): - """Proxy of C++ SoNormalCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoNormalCache""" - this = _coin.new_SoNormalCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNormalCache - __del__ = lambda self : None; - def set(*args): - """ - set(self, int num, SbVec3f normals) - set(self, SoNormalGenerator generator) - """ - return _coin.SoNormalCache_set(*args) - - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoNormalCache_getNum(*args) - - def getNormals(*args): - """getNormals(self) -> SbVec3f""" - return _coin.SoNormalCache_getNormals(*args) - - def getNumIndices(*args): - """getNumIndices(self) -> int""" - return _coin.SoNormalCache_getNumIndices(*args) - - def getIndices(*args): - """getIndices(self) -> int32_t""" - return _coin.SoNormalCache_getIndices(*args) - - def generatePerVertex(*args): - """ - generatePerVertex(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoordindices, float crease_angle, - SbVec3f facenormals=None, int numfacenormals=-1, - SbBool ccw=1, SbBool tristrip=0) - generatePerVertex(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoordindices, float crease_angle, - SbVec3f facenormals=None, int numfacenormals=-1, - SbBool ccw=1) - generatePerVertex(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoordindices, float crease_angle, - SbVec3f facenormals=None, int numfacenormals=-1) - generatePerVertex(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoordindices, float crease_angle, - SbVec3f facenormals=None) - generatePerVertex(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoordindices, float crease_angle) - """ - return _coin.SoNormalCache_generatePerVertex(*args) - - def generatePerFace(*args): - """ - generatePerFace(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoorindices, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerFace(*args) - - def generatePerFaceStrip(*args): - """ - generatePerFaceStrip(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoorindices, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerFaceStrip(*args) - - def generatePerStrip(*args): - """ - generatePerStrip(self, SbVec3f coords, unsigned int numcoords, int32_t coordindices, - int numcoorindices, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerStrip(*args) - - def generatePerVertexQuad(*args): - """ - generatePerVertexQuad(self, SbVec3f coords, unsigned int numcoords, int vPerRow, - int vPerColumn, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerVertexQuad(*args) - - def generatePerFaceQuad(*args): - """ - generatePerFaceQuad(self, SbVec3f coords, unsigned int numcoords, int vPerRow, - int vPerColumn, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerFaceQuad(*args) - - def generatePerRowQuad(*args): - """ - generatePerRowQuad(self, SbVec3f coords, unsigned int numcoords, int vPerRow, - int vPerColumn, SbBool ccw) - """ - return _coin.SoNormalCache_generatePerRowQuad(*args) - -SoNormalCache_swigregister = _coin.SoNormalCache_swigregister -SoNormalCache_swigregister(SoNormalCache) - -class SoTextureCoordinateCache(SoCache): - """Proxy of C++ SoTextureCoordinateCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoTextureCoordinateCache""" - this = _coin.new_SoTextureCoordinateCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextureCoordinateCache - __del__ = lambda self : None; - def generate(*args): - """generate(self, SbBox3f bbox, SbVec3f vertices, int numvertices)""" - return _coin.SoTextureCoordinateCache_generate(*args) - - def get(*args): - """get(self) -> SbVec2f""" - return _coin.SoTextureCoordinateCache_get(*args) - - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoTextureCoordinateCache_getNum(*args) - -SoTextureCoordinateCache_swigregister = _coin.SoTextureCoordinateCache_swigregister -SoTextureCoordinateCache_swigregister(SoTextureCoordinateCache) - -class SoDetail(object): - """Proxy of C++ SoDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoDetail_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoDetail_initClasses(*args) - - initClasses = staticmethod(initClasses) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoDetail_copy(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDetail_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoDetail_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) -SoDetail_swigregister = _coin.SoDetail_swigregister -SoDetail_swigregister(SoDetail) - -def SoDetail_initClass(*args): - """SoDetail_initClass()""" - return _coin.SoDetail_initClass(*args) - -def SoDetail_initClasses(*args): - """SoDetail_initClasses()""" - return _coin.SoDetail_initClasses(*args) - -def SoDetail_getClassTypeId(*args): - """SoDetail_getClassTypeId() -> SoType""" - return _coin.SoDetail_getClassTypeId(*args) - -class SoConeDetail(SoDetail): - """Proxy of C++ SoConeDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoConeDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoConeDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoConeDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoConeDetail""" - this = _coin.new_SoConeDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoConeDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoConeDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoConeDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoConeDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoConeDetail_getPart(*args) - -SoConeDetail_swigregister = _coin.SoConeDetail_swigregister -SoConeDetail_swigregister(SoConeDetail) - -def SoConeDetail_getClassTypeId(*args): - """SoConeDetail_getClassTypeId() -> SoType""" - return _coin.SoConeDetail_getClassTypeId(*args) - -def SoConeDetail_cleanupClass(*args): - """SoConeDetail_cleanupClass()""" - return _coin.SoConeDetail_cleanupClass(*args) - -def SoConeDetail_initClass(*args): - """SoConeDetail_initClass()""" - return _coin.SoConeDetail_initClass(*args) - -class SoCubeDetail(SoDetail): - """Proxy of C++ SoCubeDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCubeDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCubeDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoCubeDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoCubeDetail""" - this = _coin.new_SoCubeDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCubeDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoCubeDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoCubeDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoCubeDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoCubeDetail_getPart(*args) - -SoCubeDetail_swigregister = _coin.SoCubeDetail_swigregister -SoCubeDetail_swigregister(SoCubeDetail) - -def SoCubeDetail_getClassTypeId(*args): - """SoCubeDetail_getClassTypeId() -> SoType""" - return _coin.SoCubeDetail_getClassTypeId(*args) - -def SoCubeDetail_cleanupClass(*args): - """SoCubeDetail_cleanupClass()""" - return _coin.SoCubeDetail_cleanupClass(*args) - -def SoCubeDetail_initClass(*args): - """SoCubeDetail_initClass()""" - return _coin.SoCubeDetail_initClass(*args) - -class SoCylinderDetail(SoDetail): - """Proxy of C++ SoCylinderDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCylinderDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCylinderDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoCylinderDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoCylinderDetail""" - this = _coin.new_SoCylinderDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCylinderDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoCylinderDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoCylinderDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoCylinderDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoCylinderDetail_getPart(*args) - -SoCylinderDetail_swigregister = _coin.SoCylinderDetail_swigregister -SoCylinderDetail_swigregister(SoCylinderDetail) - -def SoCylinderDetail_getClassTypeId(*args): - """SoCylinderDetail_getClassTypeId() -> SoType""" - return _coin.SoCylinderDetail_getClassTypeId(*args) - -def SoCylinderDetail_cleanupClass(*args): - """SoCylinderDetail_cleanupClass()""" - return _coin.SoCylinderDetail_cleanupClass(*args) - -def SoCylinderDetail_initClass(*args): - """SoCylinderDetail_initClass()""" - return _coin.SoCylinderDetail_initClass(*args) - -class SoPointDetail(SoDetail): - """Proxy of C++ SoPointDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoPointDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoPointDetail""" - this = _coin.new_SoPointDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPointDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoPointDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoPointDetail_copy(*args) - - def getCoordinateIndex(*args): - """getCoordinateIndex(self) -> int""" - return _coin.SoPointDetail_getCoordinateIndex(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPointDetail_getMaterialIndex(*args) - - def getNormalIndex(*args): - """getNormalIndex(self) -> int""" - return _coin.SoPointDetail_getNormalIndex(*args) - - def getTextureCoordIndex(*args): - """getTextureCoordIndex(self) -> int""" - return _coin.SoPointDetail_getTextureCoordIndex(*args) - - def setCoordinateIndex(*args): - """setCoordinateIndex(self, int idx)""" - return _coin.SoPointDetail_setCoordinateIndex(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int idx)""" - return _coin.SoPointDetail_setMaterialIndex(*args) - - def setNormalIndex(*args): - """setNormalIndex(self, int idx)""" - return _coin.SoPointDetail_setNormalIndex(*args) - - def setTextureCoordIndex(*args): - """setTextureCoordIndex(self, int idx)""" - return _coin.SoPointDetail_setTextureCoordIndex(*args) - -SoPointDetail_swigregister = _coin.SoPointDetail_swigregister -SoPointDetail_swigregister(SoPointDetail) - -def SoPointDetail_getClassTypeId(*args): - """SoPointDetail_getClassTypeId() -> SoType""" - return _coin.SoPointDetail_getClassTypeId(*args) - -def SoPointDetail_cleanupClass(*args): - """SoPointDetail_cleanupClass()""" - return _coin.SoPointDetail_cleanupClass(*args) - -def SoPointDetail_initClass(*args): - """SoPointDetail_initClass()""" - return _coin.SoPointDetail_initClass(*args) - -class SoFaceDetail(SoDetail): - """Proxy of C++ SoFaceDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFaceDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFaceDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoFaceDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoFaceDetail""" - this = _coin.new_SoFaceDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoFaceDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoFaceDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoFaceDetail_copy(*args) - - def getNumPoints(*args): - """getNumPoints(self) -> int""" - return _coin.SoFaceDetail_getNumPoints(*args) - - def getPoint(*args): - """getPoint(self, int idx) -> SoPointDetail""" - return _coin.SoFaceDetail_getPoint(*args) - - def getPoints(*args): - """getPoints(self) -> SoPointDetail""" - return _coin.SoFaceDetail_getPoints(*args) - - def getFaceIndex(*args): - """getFaceIndex(self) -> int""" - return _coin.SoFaceDetail_getFaceIndex(*args) - - def getPartIndex(*args): - """getPartIndex(self) -> int""" - return _coin.SoFaceDetail_getPartIndex(*args) - - def setNumPoints(*args): - """setNumPoints(self, int num)""" - return _coin.SoFaceDetail_setNumPoints(*args) - - def setPoint(*args): - """setPoint(self, int idx, SoPointDetail detail)""" - return _coin.SoFaceDetail_setPoint(*args) - - def setFaceIndex(*args): - """setFaceIndex(self, int idx)""" - return _coin.SoFaceDetail_setFaceIndex(*args) - - def setPartIndex(*args): - """setPartIndex(self, int idx)""" - return _coin.SoFaceDetail_setPartIndex(*args) - - def incFaceIndex(*args): - """incFaceIndex(self)""" - return _coin.SoFaceDetail_incFaceIndex(*args) - - def incPartIndex(*args): - """incPartIndex(self)""" - return _coin.SoFaceDetail_incPartIndex(*args) - -SoFaceDetail_swigregister = _coin.SoFaceDetail_swigregister -SoFaceDetail_swigregister(SoFaceDetail) - -def SoFaceDetail_getClassTypeId(*args): - """SoFaceDetail_getClassTypeId() -> SoType""" - return _coin.SoFaceDetail_getClassTypeId(*args) - -def SoFaceDetail_cleanupClass(*args): - """SoFaceDetail_cleanupClass()""" - return _coin.SoFaceDetail_cleanupClass(*args) - -def SoFaceDetail_initClass(*args): - """SoFaceDetail_initClass()""" - return _coin.SoFaceDetail_initClass(*args) - -class SoLineDetail(SoDetail): - """Proxy of C++ SoLineDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoLineDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoLineDetail""" - this = _coin.new_SoLineDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLineDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoLineDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoLineDetail_copy(*args) - - def getPoint0(*args): - """getPoint0(self) -> SoPointDetail""" - return _coin.SoLineDetail_getPoint0(*args) - - def getPoint1(*args): - """getPoint1(self) -> SoPointDetail""" - return _coin.SoLineDetail_getPoint1(*args) - - def getLineIndex(*args): - """getLineIndex(self) -> int""" - return _coin.SoLineDetail_getLineIndex(*args) - - def getPartIndex(*args): - """getPartIndex(self) -> int""" - return _coin.SoLineDetail_getPartIndex(*args) - - def setPoint0(*args): - """setPoint0(self, SoPointDetail detail)""" - return _coin.SoLineDetail_setPoint0(*args) - - def setPoint1(*args): - """setPoint1(self, SoPointDetail detail)""" - return _coin.SoLineDetail_setPoint1(*args) - - def setLineIndex(*args): - """setLineIndex(self, int idx)""" - return _coin.SoLineDetail_setLineIndex(*args) - - def setPartIndex(*args): - """setPartIndex(self, int idx)""" - return _coin.SoLineDetail_setPartIndex(*args) - - def incLineIndex(*args): - """incLineIndex(self)""" - return _coin.SoLineDetail_incLineIndex(*args) - - def incPartIndex(*args): - """incPartIndex(self)""" - return _coin.SoLineDetail_incPartIndex(*args) - -SoLineDetail_swigregister = _coin.SoLineDetail_swigregister -SoLineDetail_swigregister(SoLineDetail) - -def SoLineDetail_getClassTypeId(*args): - """SoLineDetail_getClassTypeId() -> SoType""" - return _coin.SoLineDetail_getClassTypeId(*args) - -def SoLineDetail_cleanupClass(*args): - """SoLineDetail_cleanupClass()""" - return _coin.SoLineDetail_cleanupClass(*args) - -def SoLineDetail_initClass(*args): - """SoLineDetail_initClass()""" - return _coin.SoLineDetail_initClass(*args) - -class SoNodeKitDetail(SoDetail): - """Proxy of C++ SoNodeKitDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNodeKitDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeKitDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoNodeKitDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoNodeKitDetail""" - this = _coin.new_SoNodeKitDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeKitDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoNodeKitDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoNodeKitDetail_copy(*args) - - def setNodeKit(*args): - """setNodeKit(self, SoBaseKit kit)""" - return _coin.SoNodeKitDetail_setNodeKit(*args) - - def getNodeKit(*args): - """getNodeKit(self) -> SoBaseKit""" - return _coin.SoNodeKitDetail_getNodeKit(*args) - - def setPart(*args): - """setPart(self, SoNode part)""" - return _coin.SoNodeKitDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> SoNode""" - return _coin.SoNodeKitDetail_getPart(*args) - - def setPartName(*args): - """setPartName(self, SbName name)""" - return _coin.SoNodeKitDetail_setPartName(*args) - - def getPartName(*args): - """getPartName(self) -> SbName""" - return _coin.SoNodeKitDetail_getPartName(*args) - -SoNodeKitDetail_swigregister = _coin.SoNodeKitDetail_swigregister -SoNodeKitDetail_swigregister(SoNodeKitDetail) - -def SoNodeKitDetail_getClassTypeId(*args): - """SoNodeKitDetail_getClassTypeId() -> SoType""" - return _coin.SoNodeKitDetail_getClassTypeId(*args) - -def SoNodeKitDetail_cleanupClass(*args): - """SoNodeKitDetail_cleanupClass()""" - return _coin.SoNodeKitDetail_cleanupClass(*args) - -def SoNodeKitDetail_initClass(*args): - """SoNodeKitDetail_initClass()""" - return _coin.SoNodeKitDetail_initClass(*args) - -class SoTextDetail(SoDetail): - """Proxy of C++ SoTextDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def cleanupClass(*args): - """cleanupClass()""" - return _coin.SoTextDetail_cleanupClass(*args) - - cleanupClass = staticmethod(cleanupClass) - def __init__(self, *args): - """__init__(self) -> SoTextDetail""" - this = _coin.new_SoTextDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoTextDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoTextDetail_copy(*args) - - def getStringIndex(*args): - """getStringIndex(self) -> int""" - return _coin.SoTextDetail_getStringIndex(*args) - - def getCharacterIndex(*args): - """getCharacterIndex(self) -> int""" - return _coin.SoTextDetail_getCharacterIndex(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoTextDetail_getPart(*args) - - def setStringIndex(*args): - """setStringIndex(self, int idx)""" - return _coin.SoTextDetail_setStringIndex(*args) - - def setCharacterIndex(*args): - """setCharacterIndex(self, int idx)""" - return _coin.SoTextDetail_setCharacterIndex(*args) - - def setPart(*args): - """setPart(self, int idx)""" - return _coin.SoTextDetail_setPart(*args) - -SoTextDetail_swigregister = _coin.SoTextDetail_swigregister -SoTextDetail_swigregister(SoTextDetail) - -def SoTextDetail_getClassTypeId(*args): - """SoTextDetail_getClassTypeId() -> SoType""" - return _coin.SoTextDetail_getClassTypeId(*args) - -def SoTextDetail_cleanupClass(*args): - """SoTextDetail_cleanupClass()""" - return _coin.SoTextDetail_cleanupClass(*args) - -def SoTextDetail_initClass(*args): - """SoTextDetail_initClass()""" - return _coin.SoTextDetail_initClass(*args) - -class SoSFNode(SoSField): - """Proxy of C++ SoSFNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFNode""" - this = _coin.new_SoSFNode(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFNode - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFNode_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFNode_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFNode_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFNode_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoNode""" - return _coin.SoSFNode_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFNode field) -> int""" - return _coin.SoSFNode___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFNode field) -> int""" - return _coin.SoSFNode___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFNode_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFNode_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFNode_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoNode newvalue) - setValue(self, SoSFNode other) - """ - return _coin.SoSFNode_setValue(*args) - -SoSFNode_swigregister = _coin.SoSFNode_swigregister -SoSFNode_swigregister(SoSFNode) - -def SoSFNode_createInstance(*args): - """SoSFNode_createInstance() -> void""" - return _coin.SoSFNode_createInstance(*args) - -def SoSFNode_getClassTypeId(*args): - """SoSFNode_getClassTypeId() -> SoType""" - return _coin.SoSFNode_getClassTypeId(*args) - -def SoSFNode_initClass(*args): - """SoSFNode_initClass()""" - return _coin.SoSFNode_initClass(*args) - -SO_CATALOG_NAME_NOT_FOUND = _coin.SO_CATALOG_NAME_NOT_FOUND -class SoNodekitCatalog(object): - """Proxy of C++ SoNodekitCatalog class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoNodekitCatalog_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNodekitCatalog""" - this = _coin.new_SoNodekitCatalog(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodekitCatalog - __del__ = lambda self : None; - def getNumEntries(*args): - """getNumEntries(self) -> int""" - return _coin.SoNodekitCatalog_getNumEntries(*args) - - def getPartNumber(*args): - """getPartNumber(self, SbName name) -> int""" - return _coin.SoNodekitCatalog_getPartNumber(*args) - - def getName(*args): - """getName(self, int part) -> SbName""" - return _coin.SoNodekitCatalog_getName(*args) - - def getType(*args): - """ - getType(self, int part) -> SoType - getType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getType(*args) - - def getDefaultType(*args): - """ - getDefaultType(self, int part) -> SoType - getDefaultType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getDefaultType(*args) - - def isNullByDefault(*args): - """ - isNullByDefault(self, int part) -> SbBool - isNullByDefault(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isNullByDefault(*args) - - def isLeaf(*args): - """ - isLeaf(self, int part) -> SbBool - isLeaf(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isLeaf(*args) - - def getParentName(*args): - """ - getParentName(self, int part) -> SbName - getParentName(self, SbName name) -> SbName - """ - return _coin.SoNodekitCatalog_getParentName(*args) - - def getParentPartNumber(*args): - """ - getParentPartNumber(self, int part) -> int - getParentPartNumber(self, SbName name) -> int - """ - return _coin.SoNodekitCatalog_getParentPartNumber(*args) - - def getRightSiblingName(*args): - """ - getRightSiblingName(self, int part) -> SbName - getRightSiblingName(self, SbName name) -> SbName - """ - return _coin.SoNodekitCatalog_getRightSiblingName(*args) - - def getRightSiblingPartNumber(*args): - """ - getRightSiblingPartNumber(self, int part) -> int - getRightSiblingPartNumber(self, SbName name) -> int - """ - return _coin.SoNodekitCatalog_getRightSiblingPartNumber(*args) - - def isList(*args): - """ - isList(self, int part) -> SbBool - isList(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isList(*args) - - def getListContainerType(*args): - """ - getListContainerType(self, int part) -> SoType - getListContainerType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getListContainerType(*args) - - def getListItemTypes(*args): - """ - getListItemTypes(self, int part) -> SoTypeList - getListItemTypes(self, SbName name) -> SoTypeList - """ - return _coin.SoNodekitCatalog_getListItemTypes(*args) - - def isPublic(*args): - """ - isPublic(self, int part) -> SbBool - isPublic(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isPublic(*args) - - def clone(*args): - """clone(self, SoType type) -> SoNodekitCatalog""" - return _coin.SoNodekitCatalog_clone(*args) - - def addEntry(*args): - """ - addEntry(self, SbName name, SoType type, SoType defaulttype, SbBool isdefaultnull, - SbName parent, SbName rightsibling, - SbBool islist, SoType listcontainertype, - SoType listitemtype, SbBool ispublic) -> SbBool - """ - return _coin.SoNodekitCatalog_addEntry(*args) - - def addListItemType(*args): - """ - addListItemType(self, int part, SoType type) - addListItemType(self, SbName name, SoType type) - """ - return _coin.SoNodekitCatalog_addListItemType(*args) - - def narrowTypes(*args): - """narrowTypes(self, SbName name, SoType newtype, SoType newdefaulttype)""" - return _coin.SoNodekitCatalog_narrowTypes(*args) - - def setNullByDefault(*args): - """setNullByDefault(self, SbName name, SbBool nullbydefault)""" - return _coin.SoNodekitCatalog_setNullByDefault(*args) - - def recursiveSearch(*args): - """recursiveSearch(self, int part, SbName name, SoTypeList checked) -> SbBool""" - return _coin.SoNodekitCatalog_recursiveSearch(*args) - - def printCheck(*args): - """printCheck(self)""" - return _coin.SoNodekitCatalog_printCheck(*args) - -SoNodekitCatalog_swigregister = _coin.SoNodekitCatalog_swigregister -SoNodekitCatalog_swigregister(SoNodekitCatalog) - -def SoNodekitCatalog_initClass(*args): - """SoNodekitCatalog_initClass()""" - return _coin.SoNodekitCatalog_initClass(*args) - -class SoSFName(SoSField): - """Proxy of C++ SoSFName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFName""" - this = _coin.new_SoSFName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFName - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFName_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFName_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFName_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFName_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFName_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbName""" - return _coin.SoSFName_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFName field) -> int""" - return _coin.SoSFName___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFName field) -> int""" - return _coin.SoSFName___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFName_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbName newvalue) - setValue(self, char name) - setValue(self, SoSFName other) - """ - return _coin.SoSFName_setValue(*args) - -SoSFName_swigregister = _coin.SoSFName_swigregister -SoSFName_swigregister(SoSFName) - -def SoSFName_createInstance(*args): - """SoSFName_createInstance() -> void""" - return _coin.SoSFName_createInstance(*args) - -def SoSFName_getClassTypeId(*args): - """SoSFName_getClassTypeId() -> SoType""" - return _coin.SoSFName_getClassTypeId(*args) - -def SoSFName_initClass(*args): - """SoSFName_initClass()""" - return _coin.SoSFName_initClass(*args) - -class SoMFName(SoMField): - """Proxy of C++ SoMFName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFName""" - this = _coin.new_SoMFName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFName - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFName_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFName_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFName_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFName_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFName_isSame(*args) - - def find(*args): - """ - find(self, SbName value, SbBool addifnotfound=0) -> int - find(self, SbName value) -> int - """ - return _coin.SoMFName_find(*args) - - def set1Value(*args): - """set1Value(self, int idx, SbName value)""" - return _coin.SoMFName_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFName field) -> SbBool""" - return _coin.SoMFName___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFName field) -> SbBool""" - return _coin.SoMFName___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbName""" - return _coin.SoMFName_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFName_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFName_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFName_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFName_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFName_setValues,args) - - - def __getitem__(*args): - """__getitem__(self, int i) -> SbName""" - return _coin.SoMFName___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbName value)""" - return _coin.SoMFName___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbName value) - setValue(self, char str) - setValue(self, SoMFName other) - """ - return _coin.SoMFName_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbName - getValues(self, int len) -> SbName - """ - return _coin.SoMFName_getValues(*args) - -SoMFName_swigregister = _coin.SoMFName_swigregister -SoMFName_swigregister(SoMFName) - -def SoMFName_createInstance(*args): - """SoMFName_createInstance() -> void""" - return _coin.SoMFName_createInstance(*args) - -def SoMFName_getClassTypeId(*args): - """SoMFName_getClassTypeId() -> SoType""" - return _coin.SoMFName_getClassTypeId(*args) - -def SoMFName_initClass(*args): - """SoMFName_initClass()""" - return _coin.SoMFName_initClass(*args) - -class SoNodeKitListPart(SoNode): - """Proxy of C++ SoNodeKitListPart class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeKitListPart_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNodeKitListPart_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNodeKitListPart_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNodeKitListPart""" - this = _coin.new_SoNodeKitListPart(*args) - try: self.this.append(this) - except: self.this = this - def getContainerType(*args): - """getContainerType(self) -> SoType""" - return _coin.SoNodeKitListPart_getContainerType(*args) - - def setContainerType(*args): - """setContainerType(self, SoType newContainerType)""" - return _coin.SoNodeKitListPart_setContainerType(*args) - - def getChildTypes(*args): - """getChildTypes(self) -> SoTypeList""" - return _coin.SoNodeKitListPart_getChildTypes(*args) - - def addChildType(*args): - """addChildType(self, SoType typeToAdd)""" - return _coin.SoNodeKitListPart_addChildType(*args) - - def isTypePermitted(*args): - """isTypePermitted(self, SoType typeToCheck) -> SbBool""" - return _coin.SoNodeKitListPart_isTypePermitted(*args) - - def isChildPermitted(*args): - """isChildPermitted(self, SoNode child) -> SbBool""" - return _coin.SoNodeKitListPart_isChildPermitted(*args) - - def containerSet(*args): - """containerSet(self, char fieldDataString)""" - return _coin.SoNodeKitListPart_containerSet(*args) - - def lockTypes(*args): - """lockTypes(self)""" - return _coin.SoNodeKitListPart_lockTypes(*args) - - def isTypeLocked(*args): - """isTypeLocked(self) -> SbBool""" - return _coin.SoNodeKitListPart_isTypeLocked(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoNodeKitListPart_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int childIndex)""" - return _coin.SoNodeKitListPart_insertChild(*args) - - def getChild(*args): - """getChild(self, int index) -> SoNode""" - return _coin.SoNodeKitListPart_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoNodeKitListPart_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoNodeKitListPart_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int index) - removeChild(self, SoNode child) - """ - return _coin.SoNodeKitListPart_removeChild(*args) - - def replaceChild(*args): - """ - replaceChild(self, int index, SoNode newChild) - replaceChild(self, SoNode oldChild, SoNode newChild) - """ - return _coin.SoNodeKitListPart_replaceChild(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoNodeKitListPart_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNodeKitListPart_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNodeKitListPart_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNodeKitListPart_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNodeKitListPart_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoNodeKitListPart_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoNodeKitListPart_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNodeKitListPart_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoNodeKitListPart_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNodeKitListPart_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoNodeKitListPart_getChildren(*args) - -SoNodeKitListPart_swigregister = _coin.SoNodeKitListPart_swigregister -SoNodeKitListPart_swigregister(SoNodeKitListPart) - -def SoNodeKitListPart_getClassTypeId(*args): - """SoNodeKitListPart_getClassTypeId() -> SoType""" - return _coin.SoNodeKitListPart_getClassTypeId(*args) - -def SoNodeKitListPart_initClass(*args): - """SoNodeKitListPart_initClass()""" - return _coin.SoNodeKitListPart_initClass(*args) - -class SoNodeKitPath(SoPath): - """Proxy of C++ SoNodeKitPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoNodeKitPath_getLength(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoNodeKitPath_getTail(*args) - - def getNode(*args): - """getNode(self, int idx) -> SoNode""" - return _coin.SoNodeKitPath_getNode(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int idx) -> SoNode""" - return _coin.SoNodeKitPath_getNodeFromTail(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoNodeKitPath_truncate(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoNodeKitPath_pop(*args) - - def append(*args): - """ - append(self, SoBaseKit childKit) - append(self, SoNodeKitPath fromPath) - """ - return _coin.SoNodeKitPath_append(*args) - - def containsNode(*args): - """containsNode(self, SoBaseKit node) -> SbBool""" - return _coin.SoNodeKitPath_containsNode(*args) - - def findFork(*args): - """findFork(self, SoNodeKitPath path) -> int""" - return _coin.SoNodeKitPath_findFork(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self.getNode(i) - - def index(self): - for i in range(self.getLength()): - yield self.getIndex(i) - - def __eq__(*args): - """__eq__(self, SoNodeKitPath u) -> int""" - return _coin.SoNodeKitPath___eq__(*args) - - def __nq__(*args): - """__nq__(self, SoNodeKitPath u) -> int""" - return _coin.SoNodeKitPath___nq__(*args) - -SoNodeKitPath_swigregister = _coin.SoNodeKitPath_swigregister -SoNodeKitPath_swigregister(SoNodeKitPath) - -class SoChildList(SoNodeList): - """Proxy of C++ SoChildList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoNode parent) -> SoChildList - __init__(self, SoNode parent, int size) -> SoChildList - __init__(self, SoNode parent, SoChildList cl) -> SoChildList - """ - this = _coin.new_SoChildList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoChildList - __del__ = lambda self : None; - def append(*args): - """append(self, SoNode node)""" - return _coin.SoChildList_append(*args) - - def insert(*args): - """insert(self, SoNode ptr, int addbefore)""" - return _coin.SoChildList_insert(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SoChildList_remove(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoChildList_truncate(*args) - - def copy(*args): - """copy(self, SoChildList cl)""" - return _coin.SoChildList_copy(*args) - - def set(*args): - """set(self, int index, SoNode node)""" - return _coin.SoChildList_set(*args) - - def traverseInPath(*args): - """traverseInPath(self, SoAction action, int numindices, int indices)""" - return _coin.SoChildList_traverseInPath(*args) - - def traverse(*args): - """ - traverse(self, SoAction action) - traverse(self, SoAction action, int index) - traverse(self, SoAction action, SoNode node) - traverse(self, SoAction action, int first, int last) - """ - return _coin.SoChildList_traverse(*args) - - def addPathAuditor(*args): - """addPathAuditor(self, SoPath path)""" - return _coin.SoChildList_addPathAuditor(*args) - - def removePathAuditor(*args): - """removePathAuditor(self, SoPath path)""" - return _coin.SoChildList_removePathAuditor(*args) - -SoChildList_swigregister = _coin.SoChildList_swigregister -SoChildList_swigregister(SoChildList) - -class SoBaseKit(SoNode): - """Proxy of C++ SoBaseKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBaseKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBaseKit_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBaseKit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBaseKit""" - this = _coin.new_SoBaseKit(*args) - try: self.this.append(this) - except: self.this = this - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoBaseKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoBaseKit_getNodekitCatalog(*args) - - def getPart(*args): - """getPart(self, SbName partname, SbBool makeifneeded) -> SoNode""" - return _coin.SoBaseKit_getPart(*args) - - def getPartString(*args): - """getPartString(self, SoBase part) -> SbString""" - return _coin.SoBaseKit_getPartString(*args) - - def createPathToPart(*args): - """ - createPathToPart(self, SbName partname, SbBool makeifneeded, SoPath pathtoextend=None) -> SoNodeKitPath - createPathToPart(self, SbName partname, SbBool makeifneeded) -> SoNodeKitPath - """ - return _coin.SoBaseKit_createPathToPart(*args) - - def setPart(*args): - """setPart(self, SbName partname, SoNode from) -> SbBool""" - return _coin.SoBaseKit_setPart(*args) - - def set(*args): - """ - set(self, char namevaluepairliststring) -> SbBool - set(self, char partnamestring, char parameterstring) -> SbBool - """ - return _coin.SoBaseKit_set(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBaseKit_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBaseKit_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBaseKit_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoBaseKit_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoBaseKit_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoBaseKit_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoBaseKit_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoBaseKit_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoBaseKit_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoBaseKit_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoBaseKit_getChildren(*args) - - def printDiagram(*args): - """printDiagram(self)""" - return _coin.SoBaseKit_printDiagram(*args) - - def printSubDiagram(*args): - """printSubDiagram(self, SbName rootname, int level)""" - return _coin.SoBaseKit_printSubDiagram(*args) - - def printTable(*args): - """printTable(self)""" - return _coin.SoBaseKit_printTable(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoBaseKit_addWriteReference(*args) - - def forceChildDrivenWriteRefs(*args): - """forceChildDrivenWriteRefs(self, SoOutput out) -> SbBool""" - return _coin.SoBaseKit_forceChildDrivenWriteRefs(*args) - - def isSearchingChildren(*args): - """isSearchingChildren() -> SbBool""" - return _coin.SoBaseKit_isSearchingChildren(*args) - - isSearchingChildren = staticmethod(isSearchingChildren) - def setSearchingChildren(*args): - """setSearchingChildren(SbBool newval)""" - return _coin.SoBaseKit_setSearchingChildren(*args) - - setSearchingChildren = staticmethod(setSearchingChildren) - def __getattr__(self,name): - c = _coin.SoBaseKit_getNodekitCatalog(self) - if c.getPartNumber(name) >= 0: - part = self.getPart(name,1) - return part - return SoNode.__getattr__(self, name) - - def __setattr__(self,name,value): - if name == 'this': - return SoNode.__setattr__(self,name,value) - c = _coin.SoBaseKit_getNodekitCatalog(self) - if c.getPartNumber(name) >= 0: - return self.setPart(name, value) - return SoNode.__setattr__(self,name,value) - -SoBaseKit_swigregister = _coin.SoBaseKit_swigregister -SoBaseKit_swigregister(SoBaseKit) - -def SoBaseKit_getClassTypeId(*args): - """SoBaseKit_getClassTypeId() -> SoType""" - return _coin.SoBaseKit_getClassTypeId(*args) - -def SoBaseKit_initClass(*args): - """SoBaseKit_initClass()""" - return _coin.SoBaseKit_initClass(*args) - -def SoBaseKit_getClassNodekitCatalog(*args): - """SoBaseKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoBaseKit_getClassNodekitCatalog(*args) - -def SoBaseKit_isSearchingChildren(*args): - """SoBaseKit_isSearchingChildren() -> SbBool""" - return _coin.SoBaseKit_isSearchingChildren(*args) - -def SoBaseKit_setSearchingChildren(*args): - """SoBaseKit_setSearchingChildren(SbBool newval)""" - return _coin.SoBaseKit_setSearchingChildren(*args) - -class SoSensor(object): - """Proxy of C++ SoSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoSensor - __del__ = lambda self : None; - def setFunction(*args): - """setFunction(self, SoSensorCB callbackfunction)""" - return _coin.SoSensor_setFunction(*args) - - def getFunction(*args): - """getFunction(self) -> SoSensorCBPtr""" - return _coin.SoSensor_getFunction(*args) - - def setData(*args): - """setData(self, void callbackdata)""" - return _coin.SoSensor_setData(*args) - - def getData(*args): - """getData(self) -> void""" - return _coin.SoSensor_getData(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoSensor_isScheduled(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoSensor_trigger(*args) - - def isBefore(*args): - """isBefore(self, SoSensor s) -> SbBool""" - return _coin.SoSensor_isBefore(*args) - - def setNextInQueue(*args): - """setNextInQueue(self, SoSensor next)""" - return _coin.SoSensor_setNextInQueue(*args) - - def getNextInQueue(*args): - """getNextInQueue(self) -> SoSensor""" - return _coin.SoSensor_getNextInQueue(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoSensor_swigregister = _coin.SoSensor_swigregister -SoSensor_swigregister(SoSensor) - -def SoSensor_initClass(*args): - """SoSensor_initClass()""" - return _coin.SoSensor_initClass(*args) - -class SoDelayQueueSensor(SoSensor): - """Proxy of C++ SoDelayQueueSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoDelayQueueSensor *")) - newobj = apply(_coin.new_SoDelayQueueSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoDelayQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoDelayQueueSensor - __del__ = lambda self : None; - def setPriority(*args): - """setPriority(self, uint32_t pri)""" - return _coin.SoDelayQueueSensor_setPriority(*args) - - def getPriority(*args): - """getPriority(self) -> uint32_t""" - return _coin.SoDelayQueueSensor_getPriority(*args) - - def getDefaultPriority(*args): - """getDefaultPriority() -> uint32_t""" - return _coin.SoDelayQueueSensor_getDefaultPriority(*args) - - getDefaultPriority = staticmethod(getDefaultPriority) - def schedule(*args): - """schedule(self)""" - return _coin.SoDelayQueueSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoDelayQueueSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoDelayQueueSensor_isScheduled(*args) - - def isIdleOnly(*args): - """isIdleOnly(self) -> SbBool""" - return _coin.SoDelayQueueSensor_isIdleOnly(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoDelayQueueSensor_trigger(*args) - -SoDelayQueueSensor_swigregister = _coin.SoDelayQueueSensor_swigregister -SoDelayQueueSensor_swigregister(SoDelayQueueSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoDelayQueueSensor *")) - newobj = apply(_coin.new_SoDelayQueueSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoDelayQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -def SoDelayQueueSensor_getDefaultPriority(*args): - """SoDelayQueueSensor_getDefaultPriority() -> uint32_t""" - return _coin.SoDelayQueueSensor_getDefaultPriority(*args) - -class SoDataSensor(SoDelayQueueSensor): - """Proxy of C++ SoDataSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoDataSensor - __del__ = lambda self : None; - def setDeleteCallback(*args): - """ - setDeleteCallback(self, SoSensorCB function, void data=None) - setDeleteCallback(self, SoSensorCB function) - """ - return _coin.SoDataSensor_setDeleteCallback(*args) - - def getTriggerNode(*args): - """getTriggerNode(self) -> SoNode""" - return _coin.SoDataSensor_getTriggerNode(*args) - - def getTriggerField(*args): - """getTriggerField(self) -> SoField""" - return _coin.SoDataSensor_getTriggerField(*args) - - def getTriggerPath(*args): - """getTriggerPath(self) -> SoPath""" - return _coin.SoDataSensor_getTriggerPath(*args) - - def setTriggerPathFlag(*args): - """setTriggerPathFlag(self, SbBool flag)""" - return _coin.SoDataSensor_setTriggerPathFlag(*args) - - def getTriggerPathFlag(*args): - """getTriggerPathFlag(self) -> SbBool""" - return _coin.SoDataSensor_getTriggerPathFlag(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoDataSensor_trigger(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoDataSensor_notify(*args) - - def dyingReference(*args): - """dyingReference(self)""" - return _coin.SoDataSensor_dyingReference(*args) - -SoDataSensor_swigregister = _coin.SoDataSensor_swigregister -SoDataSensor_swigregister(SoDataSensor) - -class SoFieldSensor(SoDataSensor): - """Proxy of C++ SoFieldSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoFieldSensor *")) - newobj = apply(_coin.new_SoFieldSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoFieldSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoFieldSensor - __del__ = lambda self : None; - def attach(*args): - """attach(self, SoField field)""" - return _coin.SoFieldSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoFieldSensor_detach(*args) - - def getAttachedField(*args): - """getAttachedField(self) -> SoField""" - return _coin.SoFieldSensor_getAttachedField(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoFieldSensor_trigger(*args) - -SoFieldSensor_swigregister = _coin.SoFieldSensor_swigregister -SoFieldSensor_swigregister(SoFieldSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoFieldSensor *")) - newobj = apply(_coin.new_SoFieldSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoFieldSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoInteractionKit(SoBaseKit): - """Proxy of C++ SoInteractionKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInteractionKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInteractionKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getNodekitCatalog(*args) - - renderCaching = _swig_property(_coin.SoInteractionKit_renderCaching_get, _coin.SoInteractionKit_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoInteractionKit_boundingBoxCaching_get, _coin.SoInteractionKit_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoInteractionKit_renderCulling_get, _coin.SoInteractionKit_renderCulling_set) - pickCulling = _swig_property(_coin.SoInteractionKit_pickCulling_get, _coin.SoInteractionKit_pickCulling_set) - def __init__(self, *args): - """__init__(self) -> SoInteractionKit""" - this = _coin.new_SoInteractionKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInteractionKit_initClass(*args) - - initClass = staticmethod(initClass) - OFF = _coin.SoInteractionKit_OFF - ON = _coin.SoInteractionKit_ON - AUTO = _coin.SoInteractionKit_AUTO - def setPartAsPath(*args): - """setPartAsPath(self, SbName partname, SoPath path) -> SbBool""" - return _coin.SoInteractionKit_setPartAsPath(*args) - - def setPartAsDefault(*args): - """ - setPartAsDefault(self, SbName partname, SoNode node, SbBool onlyifdefault=1) -> SbBool - setPartAsDefault(self, SbName partname, SoNode node) -> SbBool - setPartAsDefault(self, SbName partname, SbName nodename, SbBool onlyifdefault=1) -> SbBool - setPartAsDefault(self, SbName partname, SbName nodename) -> SbBool - """ - return _coin.SoInteractionKit_setPartAsDefault(*args) - - def isPathSurrogateInMySubgraph(*args): - """ - isPathSurrogateInMySubgraph(self, SoPath path, SoPath pathToOwner, SbName surrogatename, - SoPath surrogatepath, SbBool fillargs=1) -> SbBool - isPathSurrogateInMySubgraph(self, SoPath path, SoPath pathToOwner, SbName surrogatename, - SoPath surrogatepath) -> SbBool - isPathSurrogateInMySubgraph(self, SoPath path) -> SbBool - """ - return _coin.SoInteractionKit_isPathSurrogateInMySubgraph(*args) - - def setSwitchValue(*args): - """setSwitchValue(SoNode node, int newVal)""" - return _coin.SoInteractionKit_setSwitchValue(*args) - - setSwitchValue = staticmethod(setSwitchValue) - def setPart(*args): - """setPart(self, SbName partname, SoNode from) -> SbBool""" - return _coin.SoInteractionKit_setPart(*args) - -SoInteractionKit_swigregister = _coin.SoInteractionKit_swigregister -SoInteractionKit_swigregister(SoInteractionKit) - -def SoInteractionKit_getClassTypeId(*args): - """SoInteractionKit_getClassTypeId() -> SoType""" - return _coin.SoInteractionKit_getClassTypeId(*args) - -def SoInteractionKit_getClassNodekitCatalog(*args): - """SoInteractionKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getClassNodekitCatalog(*args) - -def SoInteractionKit_initClass(*args): - """SoInteractionKit_initClass()""" - return _coin.SoInteractionKit_initClass(*args) - -def SoInteractionKit_setSwitchValue(*args): - """SoInteractionKit_setSwitchValue(SoNode node, int newVal)""" - return _coin.SoInteractionKit_setSwitchValue(*args) - -class SoCallbackList(object): - """Proxy of C++ SoCallbackList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoCallbackList""" - this = _coin.new_SoCallbackList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCallbackList - __del__ = lambda self : None; - def addCallback(*args): - """ - addCallback(self, SoCallbackListCB f, void userData=None) - addCallback(self, SoCallbackListCB f) - """ - return _coin.SoCallbackList_addCallback(*args) - - def removeCallback(*args): - """ - removeCallback(self, SoCallbackListCB f, void userdata=None) - removeCallback(self, SoCallbackListCB f) - """ - return _coin.SoCallbackList_removeCallback(*args) - - def clearCallbacks(*args): - """clearCallbacks(self)""" - return _coin.SoCallbackList_clearCallbacks(*args) - - def getNumCallbacks(*args): - """getNumCallbacks(self) -> int""" - return _coin.SoCallbackList_getNumCallbacks(*args) - - def invokeCallbacks(*args): - """invokeCallbacks(self, void callbackdata)""" - return _coin.SoCallbackList_invokeCallbacks(*args) - -SoCallbackList_swigregister = _coin.SoCallbackList_swigregister -SoCallbackList_swigregister(SoCallbackList) - -class SbVec3d(object): - """Proxy of C++ SbVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3d - __init__(self, double v) -> SbVec3d - __init__(self, double x, double y, double z) -> SbVec3d - __init__(self, SbVec3f v) -> SbVec3d - __init__(self, SbVec3b v) -> SbVec3d - __init__(self, SbVec3s v) -> SbVec3d - __init__(self, SbVec3i32 v) -> SbVec3d - __init__(self, SbDPPlane p0, SbDPPlane p1, SbDPPlane p2) -> SbVec3d - """ - this = _coin.new_SbVec3d(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, double v) -> SbVec3d - setValue(self, double x, double y, double z) -> SbVec3d - setValue(self, SbVec3d barycentric, SbVec3d v0, SbVec3d v1, SbVec3d v2) -> SbVec3d - setValue(self, SbVec3f v) -> SbVec3d - setValue(self, SbVec3b v) -> SbVec3d - setValue(self, SbVec3s v) -> SbVec3d - setValue(self, SbVec3i32 v) -> SbVec3d - """ - return _coin.SbVec3d_setValue(*args) - - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbVec3d_getValue(*args) - - def cross(*args): - """cross(self, SbVec3d v) -> SbVec3d""" - return _coin.SbVec3d_cross(*args) - - def dot(*args): - """dot(self, SbVec3d v) -> double""" - return _coin.SbVec3d_dot(*args) - - def equals(*args): - """equals(self, SbVec3d v, double tolerance) -> SbBool""" - return _coin.SbVec3d_equals(*args) - - def getClosestAxis(*args): - """getClosestAxis(self) -> SbVec3d""" - return _coin.SbVec3d_getClosestAxis(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec3d_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> double""" - return _coin.SbVec3d_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3d_negate(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec3d_normalize(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3d v) -> SbVec3d""" - return _coin.SbVec3d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3d v) -> SbVec3d""" - return _coin.SbVec3d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3d""" - return _coin.SbVec3d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3d_output(*args) - - def __add__(*args): - """__add__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, double d) -> SbVec3d - __mul__(self, SbDPMatrix m) -> SbVec3d - """ - return _coin.SbVec3d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3d u) -> int""" - return _coin.SbVec3d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3d u) -> int""" - return _coin.SbVec3d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec3d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec3d___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3d - __del__ = lambda self : None; -SbVec3d_swigregister = _coin.SbVec3d_swigregister -SbVec3d_swigregister(SbVec3d) - -class SbDPViewVolume(object): - """Proxy of C++ SbDPViewVolume class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ORTHOGRAPHIC = _coin.SbDPViewVolume_ORTHOGRAPHIC - PERSPECTIVE = _coin.SbDPViewVolume_PERSPECTIVE - def __init__(self, *args): - """__init__(self) -> SbDPViewVolume""" - this = _coin.new_SbDPViewVolume(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDPViewVolume - __del__ = lambda self : None; - def getMatrices(*args): - """getMatrices(self, SbDPMatrix affine, SbDPMatrix proj)""" - return _coin.SbDPViewVolume_getMatrices(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbDPMatrix""" - return _coin.SbDPViewVolume_getMatrix(*args) - - def getCameraSpaceMatrix(*args): - """getCameraSpaceMatrix(self) -> SbDPMatrix""" - return _coin.SbDPViewVolume_getCameraSpaceMatrix(*args) - - def projectPointToLine(*args): - """ - projectPointToLine(self, SbVec2d pt, SbDPLine line) - projectPointToLine(self, SbVec2d pt, SbVec3d line0, SbVec3d line1) - """ - return _coin.SbDPViewVolume_projectPointToLine(*args) - - def projectToScreen(*args): - """projectToScreen(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPViewVolume_projectToScreen(*args) - - def getPlane(*args): - """getPlane(self, double distFromEye) -> SbPlane""" - return _coin.SbDPViewVolume_getPlane(*args) - - def getSightPoint(*args): - """getSightPoint(self, double distFromEye) -> SbVec3d""" - return _coin.SbDPViewVolume_getSightPoint(*args) - - def getPlanePoint(*args): - """getPlanePoint(self, double distFromEye, SbVec2d normPoint) -> SbVec3d""" - return _coin.SbDPViewVolume_getPlanePoint(*args) - - def getAlignRotation(*args): - """ - getAlignRotation(self, SbBool rightAngleOnly=0) -> SbDPRotation - getAlignRotation(self) -> SbDPRotation - """ - return _coin.SbDPViewVolume_getAlignRotation(*args) - - def getWorldToScreenScale(*args): - """getWorldToScreenScale(self, SbVec3d worldCenter, double normRadius) -> double""" - return _coin.SbDPViewVolume_getWorldToScreenScale(*args) - - def projectBox(*args): - """projectBox(self, SbBox3f box) -> SbVec2d""" - return _coin.SbDPViewVolume_projectBox(*args) - - def narrow(*args): - """ - narrow(self, double left, double bottom, double right, double top) -> SbDPViewVolume - narrow(self, SbBox3f box) -> SbDPViewVolume - """ - return _coin.SbDPViewVolume_narrow(*args) - - def ortho(*args): - """ - ortho(self, double left, double right, double bottom, double top, - double nearval, double farval) - """ - return _coin.SbDPViewVolume_ortho(*args) - - def perspective(*args): - """perspective(self, double fovy, double aspect, double nearval, double farval)""" - return _coin.SbDPViewVolume_perspective(*args) - - def frustum(*args): - """ - frustum(self, double left, double right, double bottom, double top, - double nearval, double farval) - """ - return _coin.SbDPViewVolume_frustum(*args) - - def rotateCamera(*args): - """rotateCamera(self, SbDPRotation q)""" - return _coin.SbDPViewVolume_rotateCamera(*args) - - def translateCamera(*args): - """translateCamera(self, SbVec3d v)""" - return _coin.SbDPViewVolume_translateCamera(*args) - - def zVector(*args): - """zVector(self) -> SbVec3d""" - return _coin.SbDPViewVolume_zVector(*args) - - def zNarrow(*args): - """zNarrow(self, double nearval, double farval) -> SbDPViewVolume""" - return _coin.SbDPViewVolume_zNarrow(*args) - - def scale(*args): - """scale(self, double factor)""" - return _coin.SbDPViewVolume_scale(*args) - - def scaleWidth(*args): - """scaleWidth(self, double ratio)""" - return _coin.SbDPViewVolume_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, double ratio)""" - return _coin.SbDPViewVolume_scaleHeight(*args) - - def getProjectionType(*args): - """getProjectionType(self) -> ProjectionType""" - return _coin.SbDPViewVolume_getProjectionType(*args) - - def getProjectionPoint(*args): - """getProjectionPoint(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getProjectionPoint(*args) - - def getProjectionDirection(*args): - """getProjectionDirection(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getProjectionDirection(*args) - - def getNearDist(*args): - """getNearDist(self) -> double""" - return _coin.SbDPViewVolume_getNearDist(*args) - - def getWidth(*args): - """getWidth(self) -> double""" - return _coin.SbDPViewVolume_getWidth(*args) - - def getHeight(*args): - """getHeight(self) -> double""" - return _coin.SbDPViewVolume_getHeight(*args) - - def getDepth(*args): - """getDepth(self) -> double""" - return _coin.SbDPViewVolume_getDepth(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPViewVolume_output(*args) - - def getViewVolumePlanes(*args): - """getViewVolumePlanes(self, SbPlane planes)""" - return _coin.SbDPViewVolume_getViewVolumePlanes(*args) - - def transform(*args): - """transform(self, SbDPMatrix matrix)""" - return _coin.SbDPViewVolume_transform(*args) - - def getViewUp(*args): - """getViewUp(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getViewUp(*args) - - def copyValues(*args): - """copyValues(self, SbViewVolume vv)""" - return _coin.SbDPViewVolume_copyValues(*args) - -SbDPViewVolume_swigregister = _coin.SbDPViewVolume_swigregister -SbDPViewVolume_swigregister(SbDPViewVolume) - -class SbViewVolume(object): - """Proxy of C++ SbViewVolume class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ORTHOGRAPHIC = _coin.SbViewVolume_ORTHOGRAPHIC - PERSPECTIVE = _coin.SbViewVolume_PERSPECTIVE - def __init__(self, *args): - """__init__(self) -> SbViewVolume""" - this = _coin.new_SbViewVolume(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbViewVolume - __del__ = lambda self : None; - def getMatrices(*args): - """getMatrices(self, SbMatrix affine, SbMatrix proj)""" - return _coin.SbViewVolume_getMatrices(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbMatrix""" - return _coin.SbViewVolume_getMatrix(*args) - - def getCameraSpaceMatrix(*args): - """getCameraSpaceMatrix(self) -> SbMatrix""" - return _coin.SbViewVolume_getCameraSpaceMatrix(*args) - - def getPlane(*args): - """getPlane(self, float distFromEye) -> SbPlane""" - return _coin.SbViewVolume_getPlane(*args) - - def getSightPoint(*args): - """getSightPoint(self, float distFromEye) -> SbVec3f""" - return _coin.SbViewVolume_getSightPoint(*args) - - def getPlanePoint(*args): - """getPlanePoint(self, float distFromEye, SbVec2f normPoint) -> SbVec3f""" - return _coin.SbViewVolume_getPlanePoint(*args) - - def getAlignRotation(*args): - """ - getAlignRotation(self, SbBool rightAngleOnly=0) -> SbRotation - getAlignRotation(self) -> SbRotation - """ - return _coin.SbViewVolume_getAlignRotation(*args) - - def getWorldToScreenScale(*args): - """getWorldToScreenScale(self, SbVec3f worldCenter, float normRadius) -> float""" - return _coin.SbViewVolume_getWorldToScreenScale(*args) - - def projectBox(*args): - """projectBox(self, SbBox3f box) -> SbVec2f""" - return _coin.SbViewVolume_projectBox(*args) - - def narrow(*args): - """ - narrow(self, float left, float bottom, float right, float top) -> SbViewVolume - narrow(self, SbBox3f box) -> SbViewVolume - """ - return _coin.SbViewVolume_narrow(*args) - - def ortho(*args): - """ - ortho(self, float left, float right, float bottom, float top, float nearval, - float farval) - """ - return _coin.SbViewVolume_ortho(*args) - - def perspective(*args): - """perspective(self, float fovy, float aspect, float nearval, float farval)""" - return _coin.SbViewVolume_perspective(*args) - - def frustum(*args): - """ - frustum(self, float left, float right, float bottom, float top, float nearval, - float farval) - """ - return _coin.SbViewVolume_frustum(*args) - - def rotateCamera(*args): - """rotateCamera(self, SbRotation q)""" - return _coin.SbViewVolume_rotateCamera(*args) - - def translateCamera(*args): - """translateCamera(self, SbVec3f v)""" - return _coin.SbViewVolume_translateCamera(*args) - - def zVector(*args): - """zVector(self) -> SbVec3f""" - return _coin.SbViewVolume_zVector(*args) - - def zNarrow(*args): - """zNarrow(self, float nearval, float farval) -> SbViewVolume""" - return _coin.SbViewVolume_zNarrow(*args) - - def scale(*args): - """scale(self, float factor)""" - return _coin.SbViewVolume_scale(*args) - - def scaleWidth(*args): - """scaleWidth(self, float ratio)""" - return _coin.SbViewVolume_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, float ratio)""" - return _coin.SbViewVolume_scaleHeight(*args) - - def getProjectionType(*args): - """getProjectionType(self) -> ProjectionType""" - return _coin.SbViewVolume_getProjectionType(*args) - - def getProjectionPoint(*args): - """getProjectionPoint(self) -> SbVec3f""" - return _coin.SbViewVolume_getProjectionPoint(*args) - - def getProjectionDirection(*args): - """getProjectionDirection(self) -> SbVec3f""" - return _coin.SbViewVolume_getProjectionDirection(*args) - - def getNearDist(*args): - """getNearDist(self) -> float""" - return _coin.SbViewVolume_getNearDist(*args) - - def getWidth(*args): - """getWidth(self) -> float""" - return _coin.SbViewVolume_getWidth(*args) - - def getHeight(*args): - """getHeight(self) -> float""" - return _coin.SbViewVolume_getHeight(*args) - - def getDepth(*args): - """getDepth(self) -> float""" - return _coin.SbViewVolume_getDepth(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbViewVolume_output(*args) - - def getViewVolumePlanes(*args): - """getViewVolumePlanes(self, SbPlane planes)""" - return _coin.SbViewVolume_getViewVolumePlanes(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbViewVolume_transform(*args) - - def getViewUp(*args): - """getViewUp(self) -> SbVec3f""" - return _coin.SbViewVolume_getViewUp(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f p) -> SbBool - intersect(self, SbVec3f p0, SbVec3f p1, SbVec3f closestpoint) -> SbBool - intersect(self, SbBox3f box) -> SbBool - """ - return _coin.SbViewVolume_intersect(*args) - - def outsideTest(*args): - """outsideTest(self, SbPlane p, SbVec3f bmin, SbVec3f bmax) -> SbBool""" - return _coin.SbViewVolume_outsideTest(*args) - - def getDPViewVolume(*args): - """getDPViewVolume(self) -> SbDPViewVolume""" - return _coin.SbViewVolume_getDPViewVolume(*args) - - type = _swig_property(_coin.SbViewVolume_type_get, _coin.SbViewVolume_type_set) - projPoint = _swig_property(_coin.SbViewVolume_projPoint_get, _coin.SbViewVolume_projPoint_set) - projDir = _swig_property(_coin.SbViewVolume_projDir_get, _coin.SbViewVolume_projDir_set) - nearDist = _swig_property(_coin.SbViewVolume_nearDist_get, _coin.SbViewVolume_nearDist_set) - nearToFar = _swig_property(_coin.SbViewVolume_nearToFar_get, _coin.SbViewVolume_nearToFar_set) - llf = _swig_property(_coin.SbViewVolume_llf_get, _coin.SbViewVolume_llf_set) - lrf = _swig_property(_coin.SbViewVolume_lrf_get, _coin.SbViewVolume_lrf_set) - ulf = _swig_property(_coin.SbViewVolume_ulf_get, _coin.SbViewVolume_ulf_set) - def projectPointToLine(*args): - """projectPointToLine(SbVec3f) -> (SbVec3f, SbVec3f)""" - return _coin.SbViewVolume_projectPointToLine(*args) - - def projectToScreen(*args): - """projectToScreen(SbVec3f) -> SbVec3f""" - return _coin.SbViewVolume_projectToScreen(*args) - -SbViewVolume_swigregister = _coin.SbViewVolume_swigregister -SbViewVolume_swigregister(SbViewVolume) - -class SoSFVec3f(SoSField): - """Proxy of C++ SoSFVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3f""" - this = _coin.new_SoSFVec3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3f""" - return _coin.SoSFVec3f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3f field) -> int""" - return _coin.SoSFVec3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3f field) -> int""" - return _coin.SoSFVec3f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3f newvalue) - setValue(self, float x, float y, float z) - setValue(self, float xyz) - setValue(self, SoSFVec3f other) - """ - return _coin.SoSFVec3f_setValue(*args) - -SoSFVec3f_swigregister = _coin.SoSFVec3f_swigregister -SoSFVec3f_swigregister(SoSFVec3f) - -def SoSFVec3f_createInstance(*args): - """SoSFVec3f_createInstance() -> void""" - return _coin.SoSFVec3f_createInstance(*args) - -def SoSFVec3f_getClassTypeId(*args): - """SoSFVec3f_getClassTypeId() -> SoType""" - return _coin.SoSFVec3f_getClassTypeId(*args) - -def SoSFVec3f_initClass(*args): - """SoSFVec3f_initClass()""" - return _coin.SoSFVec3f_initClass(*args) - -class SoScale(SoTransformation): - """Proxy of C++ SoScale class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale""" - this = _coin.new_SoScale(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale_scaleFactor_get, _coin.SoScale_scaleFactor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoScale_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoScale_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoScale_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoScale_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoScale_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoScale_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoScale_getPrimitiveCount(*args) - -SoScale_swigregister = _coin.SoScale_swigregister -SoScale_swigregister(SoScale) - -def SoScale_getClassTypeId(*args): - """SoScale_getClassTypeId() -> SoType""" - return _coin.SoScale_getClassTypeId(*args) - -def SoScale_initClass(*args): - """SoScale_initClass()""" - return _coin.SoScale_initClass(*args) - -class SoDragger(SoInteractionKit): - """Proxy of C++ SoDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDragger_getNodekitCatalog(*args) - - isActive = _swig_property(_coin.SoDragger_isActive_get, _coin.SoDragger_isActive_set) - FRONT = _coin.SoDragger_FRONT - BACK = _coin.SoDragger_BACK - USE_PICK = _coin.SoDragger_USE_PICK - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDragger_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDragger_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoDragger_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoDragger_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoDragger_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoDragger_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoDragger_getPrimitiveCount(*args) - - def setProjectorEpsilon(*args): - """setProjectorEpsilon(self, float epsilon)""" - return _coin.SoDragger_setProjectorEpsilon(*args) - - def getProjectorEpsilon(*args): - """getProjectorEpsilon(self) -> float""" - return _coin.SoDragger_getProjectorEpsilon(*args) - - def setMinGesture(*args): - """setMinGesture(self, int pixels)""" - return _coin.SoDragger_setMinGesture(*args) - - def getMinGesture(*args): - """getMinGesture(self) -> int""" - return _coin.SoDragger_getMinGesture(*args) - - def enableValueChangedCallbacks(*args): - """enableValueChangedCallbacks(self, SbBool newval) -> SbBool""" - return _coin.SoDragger_enableValueChangedCallbacks(*args) - - def getMotionMatrix(*args): - """getMotionMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getMotionMatrix(*args) - - def registerChildDragger(*args): - """registerChildDragger(self, SoDragger child)""" - return _coin.SoDragger_registerChildDragger(*args) - - def unregisterChildDragger(*args): - """unregisterChildDragger(self, SoDragger child)""" - return _coin.SoDragger_unregisterChildDragger(*args) - - def registerChildDraggerMovingIndependently(*args): - """registerChildDraggerMovingIndependently(self, SoDragger child)""" - return _coin.SoDragger_registerChildDraggerMovingIndependently(*args) - - def unregisterChildDraggerMovingIndependently(*args): - """unregisterChildDraggerMovingIndependently(self, SoDragger child)""" - return _coin.SoDragger_unregisterChildDraggerMovingIndependently(*args) - - def getLocalToWorldMatrix(*args): - """getLocalToWorldMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getLocalToWorldMatrix(*args) - - def getWorldToLocalMatrix(*args): - """getWorldToLocalMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getWorldToLocalMatrix(*args) - - def getLocalStartingPoint(*args): - """getLocalStartingPoint(self) -> SbVec3f""" - return _coin.SoDragger_getLocalStartingPoint(*args) - - def getWorldStartingPoint(*args): - """getWorldStartingPoint(self) -> SbVec3f""" - return _coin.SoDragger_getWorldStartingPoint(*args) - - def getPartToLocalMatrix(*args): - """getPartToLocalMatrix(self, SbName partname, SbMatrix parttolocalmatrix, SbMatrix localtopartmatrix)""" - return _coin.SoDragger_getPartToLocalMatrix(*args) - - def transformMatrixLocalToWorld(*args): - """transformMatrixLocalToWorld(self, SbMatrix frommatrix, SbMatrix tomatrix)""" - return _coin.SoDragger_transformMatrixLocalToWorld(*args) - - def transformMatrixWorldToLocal(*args): - """transformMatrixWorldToLocal(self, SbMatrix frommatrix, SbMatrix tomatrix)""" - return _coin.SoDragger_transformMatrixWorldToLocal(*args) - - def transformMatrixToLocalSpace(*args): - """transformMatrixToLocalSpace(self, SbMatrix frommatrix, SbMatrix tomatrix, SbName fromspacepartname)""" - return _coin.SoDragger_transformMatrixToLocalSpace(*args) - - def setMotionMatrix(*args): - """setMotionMatrix(self, SbMatrix newmatrix)""" - return _coin.SoDragger_setMotionMatrix(*args) - - def valueChanged(*args): - """valueChanged(self)""" - return _coin.SoDragger_valueChanged(*args) - - def getStartMotionMatrix(*args): - """getStartMotionMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getStartMotionMatrix(*args) - - def saveStartParameters(*args): - """saveStartParameters(self)""" - return _coin.SoDragger_saveStartParameters(*args) - - def getPickPath(*args): - """getPickPath(self) -> SoPath""" - return _coin.SoDragger_getPickPath(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoDragger_getEvent(*args) - - def createPathToThis(*args): - """createPathToThis(self) -> SoPath""" - return _coin.SoDragger_createPathToThis(*args) - - def getSurrogatePartPickedOwner(*args): - """getSurrogatePartPickedOwner(self) -> SoPath""" - return _coin.SoDragger_getSurrogatePartPickedOwner(*args) - - def getSurrogatePartPickedName(*args): - """getSurrogatePartPickedName(self) -> SbName""" - return _coin.SoDragger_getSurrogatePartPickedName(*args) - - def getSurrogatePartPickedPath(*args): - """getSurrogatePartPickedPath(self) -> SoPath""" - return _coin.SoDragger_getSurrogatePartPickedPath(*args) - - def setStartingPoint(*args): - """ - setStartingPoint(self, SoPickedPoint newpoint) - setStartingPoint(self, SbVec3f newpoint) - """ - return _coin.SoDragger_setStartingPoint(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoDragger_getViewVolume(*args) - - def setViewVolume(*args): - """setViewVolume(self, SbViewVolume vol)""" - return _coin.SoDragger_setViewVolume(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoDragger_getViewportRegion(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion reg)""" - return _coin.SoDragger_setViewportRegion(*args) - - def getHandleEventAction(*args): - """getHandleEventAction(self) -> SoHandleEventAction""" - return _coin.SoDragger_getHandleEventAction(*args) - - def setHandleEventAction(*args): - """setHandleEventAction(self, SoHandleEventAction newAction)""" - return _coin.SoDragger_setHandleEventAction(*args) - - def setTempPathToThis(*args): - """setTempPathToThis(self, SoPath somethingclose)""" - return _coin.SoDragger_setTempPathToThis(*args) - - def grabEventsSetup(*args): - """grabEventsSetup(self)""" - return _coin.SoDragger_grabEventsSetup(*args) - - def grabEventsCleanup(*args): - """grabEventsCleanup(self)""" - return _coin.SoDragger_grabEventsCleanup(*args) - - def workFieldsIntoTransform(*args): - """workFieldsIntoTransform(self, SbMatrix mtx)""" - return _coin.SoDragger_workFieldsIntoTransform(*args) - - def setFrontOnProjector(*args): - """setFrontOnProjector(self, ProjectorFrontSetting newval)""" - return _coin.SoDragger_setFrontOnProjector(*args) - - def getFrontOnProjector(*args): - """getFrontOnProjector(self) -> ProjectorFrontSetting""" - return _coin.SoDragger_getFrontOnProjector(*args) - - def setMinScale(*args): - """setMinScale(float newminscale)""" - return _coin.SoDragger_setMinScale(*args) - - setMinScale = staticmethod(setMinScale) - def getMinScale(*args): - """getMinScale() -> float""" - return _coin.SoDragger_getMinScale(*args) - - getMinScale = staticmethod(getMinScale) - def workValuesIntoTransform(*args): - """ - workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, - SbVec3f scalefactorptr, SbRotation scaleorientationptr, - SbVec3f centerptr) - """ - return _coin.SoDragger_workValuesIntoTransform(*args) - - workValuesIntoTransform = staticmethod(workValuesIntoTransform) - def getTransformFast(*args): - """ - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation, - SbVec3f center) - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation) - """ - return _coin.SoDragger_getTransformFast(*args) - - getTransformFast = staticmethod(getTransformFast) - def appendTranslation(*args): - """ - appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix - appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix - """ - return _coin.SoDragger_appendTranslation(*args) - - appendTranslation = staticmethod(appendTranslation) - def appendScale(*args): - """ - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix - """ - return _coin.SoDragger_appendScale(*args) - - appendScale = staticmethod(appendScale) - def appendRotation(*args): - """ - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix - """ - return _coin.SoDragger_appendRotation(*args) - - appendRotation = staticmethod(appendRotation) - def initClass(*args): - """initClass()""" - return _coin.SoDragger_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoDragger_initClasses(*args) - - initClasses = staticmethod(initClasses) - def addStartCallback(*args): - """ - addStartCallback(self, SoDraggerCB func, void data=None) - addStartCallback(self, SoDraggerCB func) - addStartCallback(self, PyObject pyfunc, PyObject data=None) - addStartCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addStartCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoDraggerCB func, void data=None) - removeStartCallback(self, SoDraggerCB func) - removeStartCallback(self, PyObject pyfunc, PyObject data=None) - removeStartCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeStartCallback(*args) - - def addMotionCallback(*args): - """ - addMotionCallback(self, SoDraggerCB func, void data=None) - addMotionCallback(self, SoDraggerCB func) - addMotionCallback(self, PyObject pyfunc, PyObject data=None) - addMotionCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addMotionCallback(*args) - - def removeMotionCallback(*args): - """ - removeMotionCallback(self, SoDraggerCB func, void data=None) - removeMotionCallback(self, SoDraggerCB func) - removeMotionCallback(self, PyObject pyfunc, PyObject data=None) - removeMotionCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeMotionCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoDraggerCB func, void data=None) - addFinishCallback(self, SoDraggerCB func) - addFinishCallback(self, PyObject pyfunc, PyObject data=None) - addFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addFinishCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoDraggerCB func, void data=None) - removeFinishCallback(self, SoDraggerCB func) - removeFinishCallback(self, PyObject pyfunc, PyObject data=None) - removeFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeFinishCallback(*args) - - def addValueChangedCallback(*args): - """ - addValueChangedCallback(self, SoDraggerCB func, void data=None) - addValueChangedCallback(self, SoDraggerCB func) - addValueChangedCallback(self, PyObject pyfunc, PyObject data=None) - addValueChangedCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addValueChangedCallback(*args) - - def removeValueChangedCallback(*args): - """ - removeValueChangedCallback(self, SoDraggerCB func, void data=None) - removeValueChangedCallback(self, SoDraggerCB func) - removeValueChangedCallback(self, PyObject pyfunc, PyObject data=None) - removeValueChangedCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeValueChangedCallback(*args) - - def addOtherEventCallback(*args): - """ - addOtherEventCallback(self, SoDraggerCB func, void data=None) - addOtherEventCallback(self, SoDraggerCB func) - addOtherEventCallback(self, PyObject pyfunc, PyObject data=None) - addOtherEventCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addOtherEventCallback(*args) - - def removeOtherEventCallback(*args): - """ - removeOtherEventCallback(self, SoDraggerCB func, void data=None) - removeOtherEventCallback(self, SoDraggerCB func) - removeOtherEventCallback(self, PyObject pyfunc, PyObject data=None) - removeOtherEventCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeOtherEventCallback(*args) - -SoDragger_swigregister = _coin.SoDragger_swigregister -SoDragger_swigregister(SoDragger) - -def SoDragger_getClassTypeId(*args): - """SoDragger_getClassTypeId() -> SoType""" - return _coin.SoDragger_getClassTypeId(*args) - -def SoDragger_getClassNodekitCatalog(*args): - """SoDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragger_getClassNodekitCatalog(*args) - -def SoDragger_setMinScale(*args): - """SoDragger_setMinScale(float newminscale)""" - return _coin.SoDragger_setMinScale(*args) - -def SoDragger_getMinScale(*args): - """SoDragger_getMinScale() -> float""" - return _coin.SoDragger_getMinScale(*args) - -def SoDragger_workValuesIntoTransform(*args): - """ - SoDragger_workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, - SbVec3f scalefactorptr, SbRotation scaleorientationptr, - SbVec3f centerptr) - """ - return _coin.SoDragger_workValuesIntoTransform(*args) - -def SoDragger_getTransformFast(*args): - """ - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation, - SbVec3f center) - SoDragger_getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation) - """ - return _coin.SoDragger_getTransformFast(*args) - -def SoDragger_appendTranslation(*args): - """ - appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix - """ - return _coin.SoDragger_appendTranslation(*args) - -def SoDragger_appendScale(*args): - """ - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix - """ - return _coin.SoDragger_appendScale(*args) - -def SoDragger_appendRotation(*args): - """ - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix - """ - return _coin.SoDragger_appendRotation(*args) - -def SoDragger_initClass(*args): - """SoDragger_initClass()""" - return _coin.SoDragger_initClass(*args) - -def SoDragger_initClasses(*args): - """SoDragger_initClasses()""" - return _coin.SoDragger_initClasses(*args) - -class SoSFRotation(SoSField): - """Proxy of C++ SoSFRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFRotation""" - this = _coin.new_SoSFRotation(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFRotation - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFRotation_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFRotation_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFRotation_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFRotation field) -> int""" - return _coin.SoSFRotation___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFRotation field) -> int""" - return _coin.SoSFRotation___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFRotation_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """ - getValue(self) -> SbRotation - getValue(self, SbVec3f axis, float angle) - """ - return _coin.SoSFRotation_getValue(*args) - - def setValue(*args): - """ - setValue(self, SbRotation newvalue) - setValue(self, float q0, float q1, float q2, float q3) - setValue(self, float q) - setValue(self, SbVec3f axis, float angle) - setValue(self, SoSFRotation other) - """ - return _coin.SoSFRotation_setValue(*args) - -SoSFRotation_swigregister = _coin.SoSFRotation_swigregister -SoSFRotation_swigregister(SoSFRotation) - -def SoSFRotation_createInstance(*args): - """SoSFRotation_createInstance() -> void""" - return _coin.SoSFRotation_createInstance(*args) - -def SoSFRotation_getClassTypeId(*args): - """SoSFRotation_getClassTypeId() -> SoType""" - return _coin.SoSFRotation_getClassTypeId(*args) - -def SoSFRotation_initClass(*args): - """SoSFRotation_initClass()""" - return _coin.SoSFRotation_initClass(*args) - -class SoCenterballDragger(SoDragger): - """Proxy of C++ SoCenterballDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCenterballDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCenterballDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCenterballDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCenterballDragger""" - this = _coin.new_SoCenterballDragger(*args) - try: self.this.append(this) - except: self.this = this - def saveStartParameters(*args): - """saveStartParameters(self)""" - return _coin.SoCenterballDragger_saveStartParameters(*args) - - rotation = _swig_property(_coin.SoCenterballDragger_rotation_get, _coin.SoCenterballDragger_rotation_set) - center = _swig_property(_coin.SoCenterballDragger_center_get, _coin.SoCenterballDragger_center_set) -SoCenterballDragger_swigregister = _coin.SoCenterballDragger_swigregister -SoCenterballDragger_swigregister(SoCenterballDragger) - -def SoCenterballDragger_getClassTypeId(*args): - """SoCenterballDragger_getClassTypeId() -> SoType""" - return _coin.SoCenterballDragger_getClassTypeId(*args) - -def SoCenterballDragger_getClassNodekitCatalog(*args): - """SoCenterballDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getClassNodekitCatalog(*args) - -def SoCenterballDragger_initClass(*args): - """SoCenterballDragger_initClass()""" - return _coin.SoCenterballDragger_initClass(*args) - -class SoDirectionalLightDragger(SoDragger): - """Proxy of C++ SoDirectionalLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLightDragger""" - this = _coin.new_SoDirectionalLightDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoDirectionalLightDragger_rotation_get, _coin.SoDirectionalLightDragger_rotation_set) - translation = _swig_property(_coin.SoDirectionalLightDragger_translation_get, _coin.SoDirectionalLightDragger_translation_set) -SoDirectionalLightDragger_swigregister = _coin.SoDirectionalLightDragger_swigregister -SoDirectionalLightDragger_swigregister(SoDirectionalLightDragger) - -def SoDirectionalLightDragger_getClassTypeId(*args): - """SoDirectionalLightDragger_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightDragger_getClassTypeId(*args) - -def SoDirectionalLightDragger_getClassNodekitCatalog(*args): - """SoDirectionalLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getClassNodekitCatalog(*args) - -def SoDirectionalLightDragger_initClass(*args): - """SoDirectionalLightDragger_initClass()""" - return _coin.SoDirectionalLightDragger_initClass(*args) - -class SoDragPointDragger(SoDragger): - """Proxy of C++ SoDragPointDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDragPointDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDragPointDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDragPointDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDragPointDragger""" - this = _coin.new_SoDragPointDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoDragPointDragger_translation_get, _coin.SoDragPointDragger_translation_set) - def setJumpLimit(*args): - """setJumpLimit(self, float limit)""" - return _coin.SoDragPointDragger_setJumpLimit(*args) - - def getJumpLimit(*args): - """getJumpLimit(self) -> float""" - return _coin.SoDragPointDragger_getJumpLimit(*args) - - def showNextDraggerSet(*args): - """showNextDraggerSet(self)""" - return _coin.SoDragPointDragger_showNextDraggerSet(*args) - -SoDragPointDragger_swigregister = _coin.SoDragPointDragger_swigregister -SoDragPointDragger_swigregister(SoDragPointDragger) - -def SoDragPointDragger_getClassTypeId(*args): - """SoDragPointDragger_getClassTypeId() -> SoType""" - return _coin.SoDragPointDragger_getClassTypeId(*args) - -def SoDragPointDragger_getClassNodekitCatalog(*args): - """SoDragPointDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getClassNodekitCatalog(*args) - -def SoDragPointDragger_initClass(*args): - """SoDragPointDragger_initClass()""" - return _coin.SoDragPointDragger_initClass(*args) - -class SoHandleBoxDragger(SoDragger): - """Proxy of C++ SoHandleBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoHandleBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoHandleBoxDragger""" - this = _coin.new_SoHandleBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoHandleBoxDragger_scaleFactor_get, _coin.SoHandleBoxDragger_scaleFactor_set) - translation = _swig_property(_coin.SoHandleBoxDragger_translation_get, _coin.SoHandleBoxDragger_translation_set) -SoHandleBoxDragger_swigregister = _coin.SoHandleBoxDragger_swigregister -SoHandleBoxDragger_swigregister(SoHandleBoxDragger) - -def SoHandleBoxDragger_getClassTypeId(*args): - """SoHandleBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoHandleBoxDragger_getClassTypeId(*args) - -def SoHandleBoxDragger_getClassNodekitCatalog(*args): - """SoHandleBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getClassNodekitCatalog(*args) - -def SoHandleBoxDragger_initClass(*args): - """SoHandleBoxDragger_initClass()""" - return _coin.SoHandleBoxDragger_initClass(*args) - -class SoJackDragger(SoDragger): - """Proxy of C++ SoJackDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoJackDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoJackDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoJackDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoJackDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoJackDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoJackDragger""" - this = _coin.new_SoJackDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoJackDragger_rotation_get, _coin.SoJackDragger_rotation_set) - translation = _swig_property(_coin.SoJackDragger_translation_get, _coin.SoJackDragger_translation_set) - scaleFactor = _swig_property(_coin.SoJackDragger_scaleFactor_get, _coin.SoJackDragger_scaleFactor_set) -SoJackDragger_swigregister = _coin.SoJackDragger_swigregister -SoJackDragger_swigregister(SoJackDragger) - -def SoJackDragger_getClassTypeId(*args): - """SoJackDragger_getClassTypeId() -> SoType""" - return _coin.SoJackDragger_getClassTypeId(*args) - -def SoJackDragger_getClassNodekitCatalog(*args): - """SoJackDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoJackDragger_getClassNodekitCatalog(*args) - -def SoJackDragger_initClass(*args): - """SoJackDragger_initClass()""" - return _coin.SoJackDragger_initClass(*args) - -class SoPointLightDragger(SoDragger): - """Proxy of C++ SoPointLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLightDragger""" - this = _coin.new_SoPointLightDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoPointLightDragger_translation_get, _coin.SoPointLightDragger_translation_set) -SoPointLightDragger_swigregister = _coin.SoPointLightDragger_swigregister -SoPointLightDragger_swigregister(SoPointLightDragger) - -def SoPointLightDragger_getClassTypeId(*args): - """SoPointLightDragger_getClassTypeId() -> SoType""" - return _coin.SoPointLightDragger_getClassTypeId(*args) - -def SoPointLightDragger_getClassNodekitCatalog(*args): - """SoPointLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getClassNodekitCatalog(*args) - -def SoPointLightDragger_initClass(*args): - """SoPointLightDragger_initClass()""" - return _coin.SoPointLightDragger_initClass(*args) - -class SoRotateCylindricalDragger(SoDragger): - """Proxy of C++ SoRotateCylindricalDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateCylindricalDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateCylindricalDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateCylindricalDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateCylindricalDragger""" - this = _coin.new_SoRotateCylindricalDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateCylindricalDragger_rotation_get, _coin.SoRotateCylindricalDragger_rotation_set) - def setProjector(*args): - """setProjector(self, SbCylinderProjector p)""" - return _coin.SoRotateCylindricalDragger_setProjector(*args) - - def getProjector(*args): - """getProjector(self) -> SbCylinderProjector""" - return _coin.SoRotateCylindricalDragger_getProjector(*args) - -SoRotateCylindricalDragger_swigregister = _coin.SoRotateCylindricalDragger_swigregister -SoRotateCylindricalDragger_swigregister(SoRotateCylindricalDragger) - -def SoRotateCylindricalDragger_getClassTypeId(*args): - """SoRotateCylindricalDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateCylindricalDragger_getClassTypeId(*args) - -def SoRotateCylindricalDragger_getClassNodekitCatalog(*args): - """SoRotateCylindricalDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getClassNodekitCatalog(*args) - -def SoRotateCylindricalDragger_initClass(*args): - """SoRotateCylindricalDragger_initClass()""" - return _coin.SoRotateCylindricalDragger_initClass(*args) - -class SoRotateDiscDragger(SoDragger): - """Proxy of C++ SoRotateDiscDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateDiscDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateDiscDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateDiscDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateDiscDragger""" - this = _coin.new_SoRotateDiscDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateDiscDragger_rotation_get, _coin.SoRotateDiscDragger_rotation_set) -SoRotateDiscDragger_swigregister = _coin.SoRotateDiscDragger_swigregister -SoRotateDiscDragger_swigregister(SoRotateDiscDragger) - -def SoRotateDiscDragger_getClassTypeId(*args): - """SoRotateDiscDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateDiscDragger_getClassTypeId(*args) - -def SoRotateDiscDragger_getClassNodekitCatalog(*args): - """SoRotateDiscDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getClassNodekitCatalog(*args) - -def SoRotateDiscDragger_initClass(*args): - """SoRotateDiscDragger_initClass()""" - return _coin.SoRotateDiscDragger_initClass(*args) - -class SoRotateSphericalDragger(SoDragger): - """Proxy of C++ SoRotateSphericalDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateSphericalDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateSphericalDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateSphericalDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateSphericalDragger""" - this = _coin.new_SoRotateSphericalDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateSphericalDragger_rotation_get, _coin.SoRotateSphericalDragger_rotation_set) - def setProjector(*args): - """setProjector(self, SbSphereProjector p)""" - return _coin.SoRotateSphericalDragger_setProjector(*args) - - def getProjector(*args): - """getProjector(self) -> SbSphereProjector""" - return _coin.SoRotateSphericalDragger_getProjector(*args) - -SoRotateSphericalDragger_swigregister = _coin.SoRotateSphericalDragger_swigregister -SoRotateSphericalDragger_swigregister(SoRotateSphericalDragger) - -def SoRotateSphericalDragger_getClassTypeId(*args): - """SoRotateSphericalDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateSphericalDragger_getClassTypeId(*args) - -def SoRotateSphericalDragger_getClassNodekitCatalog(*args): - """SoRotateSphericalDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getClassNodekitCatalog(*args) - -def SoRotateSphericalDragger_initClass(*args): - """SoRotateSphericalDragger_initClass()""" - return _coin.SoRotateSphericalDragger_initClass(*args) - -class SoScale1Dragger(SoDragger): - """Proxy of C++ SoScale1Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale1Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale1Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale1Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale1Dragger""" - this = _coin.new_SoScale1Dragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale1Dragger_scaleFactor_get, _coin.SoScale1Dragger_scaleFactor_set) -SoScale1Dragger_swigregister = _coin.SoScale1Dragger_swigregister -SoScale1Dragger_swigregister(SoScale1Dragger) - -def SoScale1Dragger_getClassTypeId(*args): - """SoScale1Dragger_getClassTypeId() -> SoType""" - return _coin.SoScale1Dragger_getClassTypeId(*args) - -def SoScale1Dragger_getClassNodekitCatalog(*args): - """SoScale1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getClassNodekitCatalog(*args) - -def SoScale1Dragger_initClass(*args): - """SoScale1Dragger_initClass()""" - return _coin.SoScale1Dragger_initClass(*args) - -class SoScale2Dragger(SoDragger): - """Proxy of C++ SoScale2Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale2Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale2Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale2Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale2Dragger""" - this = _coin.new_SoScale2Dragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale2Dragger_scaleFactor_get, _coin.SoScale2Dragger_scaleFactor_set) -SoScale2Dragger_swigregister = _coin.SoScale2Dragger_swigregister -SoScale2Dragger_swigregister(SoScale2Dragger) - -def SoScale2Dragger_getClassTypeId(*args): - """SoScale2Dragger_getClassTypeId() -> SoType""" - return _coin.SoScale2Dragger_getClassTypeId(*args) - -def SoScale2Dragger_getClassNodekitCatalog(*args): - """SoScale2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getClassNodekitCatalog(*args) - -def SoScale2Dragger_initClass(*args): - """SoScale2Dragger_initClass()""" - return _coin.SoScale2Dragger_initClass(*args) - -class SoScale2UniformDragger(SoDragger): - """Proxy of C++ SoScale2UniformDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale2UniformDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale2UniformDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale2UniformDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale2UniformDragger""" - this = _coin.new_SoScale2UniformDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale2UniformDragger_scaleFactor_get, _coin.SoScale2UniformDragger_scaleFactor_set) -SoScale2UniformDragger_swigregister = _coin.SoScale2UniformDragger_swigregister -SoScale2UniformDragger_swigregister(SoScale2UniformDragger) - -def SoScale2UniformDragger_getClassTypeId(*args): - """SoScale2UniformDragger_getClassTypeId() -> SoType""" - return _coin.SoScale2UniformDragger_getClassTypeId(*args) - -def SoScale2UniformDragger_getClassNodekitCatalog(*args): - """SoScale2UniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getClassNodekitCatalog(*args) - -def SoScale2UniformDragger_initClass(*args): - """SoScale2UniformDragger_initClass()""" - return _coin.SoScale2UniformDragger_initClass(*args) - -class SoScaleUniformDragger(SoDragger): - """Proxy of C++ SoScaleUniformDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScaleUniformDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScaleUniformDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScaleUniformDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScaleUniformDragger""" - this = _coin.new_SoScaleUniformDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScaleUniformDragger_scaleFactor_get, _coin.SoScaleUniformDragger_scaleFactor_set) -SoScaleUniformDragger_swigregister = _coin.SoScaleUniformDragger_swigregister -SoScaleUniformDragger_swigregister(SoScaleUniformDragger) - -def SoScaleUniformDragger_getClassTypeId(*args): - """SoScaleUniformDragger_getClassTypeId() -> SoType""" - return _coin.SoScaleUniformDragger_getClassTypeId(*args) - -def SoScaleUniformDragger_getClassNodekitCatalog(*args): - """SoScaleUniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getClassNodekitCatalog(*args) - -def SoScaleUniformDragger_initClass(*args): - """SoScaleUniformDragger_initClass()""" - return _coin.SoScaleUniformDragger_initClass(*args) - -class SoSpotLightDragger(SoDragger): - """Proxy of C++ SoSpotLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLightDragger""" - this = _coin.new_SoSpotLightDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoSpotLightDragger_rotation_get, _coin.SoSpotLightDragger_rotation_set) - translation = _swig_property(_coin.SoSpotLightDragger_translation_get, _coin.SoSpotLightDragger_translation_set) - angle = _swig_property(_coin.SoSpotLightDragger_angle_get, _coin.SoSpotLightDragger_angle_set) -SoSpotLightDragger_swigregister = _coin.SoSpotLightDragger_swigregister -SoSpotLightDragger_swigregister(SoSpotLightDragger) - -def SoSpotLightDragger_getClassTypeId(*args): - """SoSpotLightDragger_getClassTypeId() -> SoType""" - return _coin.SoSpotLightDragger_getClassTypeId(*args) - -def SoSpotLightDragger_getClassNodekitCatalog(*args): - """SoSpotLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getClassNodekitCatalog(*args) - -def SoSpotLightDragger_initClass(*args): - """SoSpotLightDragger_initClass()""" - return _coin.SoSpotLightDragger_initClass(*args) - -class SoTabBoxDragger(SoDragger): - """Proxy of C++ SoTabBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabBoxDragger""" - this = _coin.new_SoTabBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTabBoxDragger_translation_get, _coin.SoTabBoxDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTabBoxDragger_scaleFactor_get, _coin.SoTabBoxDragger_scaleFactor_set) - def adjustScaleTabSize(*args): - """adjustScaleTabSize(self)""" - return _coin.SoTabBoxDragger_adjustScaleTabSize(*args) - -SoTabBoxDragger_swigregister = _coin.SoTabBoxDragger_swigregister -SoTabBoxDragger_swigregister(SoTabBoxDragger) - -def SoTabBoxDragger_getClassTypeId(*args): - """SoTabBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoTabBoxDragger_getClassTypeId(*args) - -def SoTabBoxDragger_getClassNodekitCatalog(*args): - """SoTabBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getClassNodekitCatalog(*args) - -def SoTabBoxDragger_initClass(*args): - """SoTabBoxDragger_initClass()""" - return _coin.SoTabBoxDragger_initClass(*args) - -class SoTabPlaneDragger(SoDragger): - """Proxy of C++ SoTabPlaneDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabPlaneDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabPlaneDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabPlaneDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabPlaneDragger""" - this = _coin.new_SoTabPlaneDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTabPlaneDragger_translation_get, _coin.SoTabPlaneDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTabPlaneDragger_scaleFactor_get, _coin.SoTabPlaneDragger_scaleFactor_set) - def adjustScaleTabSize(*args): - """adjustScaleTabSize(self)""" - return _coin.SoTabPlaneDragger_adjustScaleTabSize(*args) - -SoTabPlaneDragger_swigregister = _coin.SoTabPlaneDragger_swigregister -SoTabPlaneDragger_swigregister(SoTabPlaneDragger) - -def SoTabPlaneDragger_getClassTypeId(*args): - """SoTabPlaneDragger_getClassTypeId() -> SoType""" - return _coin.SoTabPlaneDragger_getClassTypeId(*args) - -def SoTabPlaneDragger_getClassNodekitCatalog(*args): - """SoTabPlaneDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getClassNodekitCatalog(*args) - -def SoTabPlaneDragger_initClass(*args): - """SoTabPlaneDragger_initClass()""" - return _coin.SoTabPlaneDragger_initClass(*args) - -class SoTrackballDragger(SoDragger): - """Proxy of C++ SoTrackballDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTrackballDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTrackballDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTrackballDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTrackballDragger""" - this = _coin.new_SoTrackballDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTrackballDragger_rotation_get, _coin.SoTrackballDragger_rotation_set) - scaleFactor = _swig_property(_coin.SoTrackballDragger_scaleFactor_get, _coin.SoTrackballDragger_scaleFactor_set) - def isAnimationEnabled(*args): - """isAnimationEnabled(self) -> SbBool""" - return _coin.SoTrackballDragger_isAnimationEnabled(*args) - - def setAnimationEnabled(*args): - """setAnimationEnabled(self, SbBool newval)""" - return _coin.SoTrackballDragger_setAnimationEnabled(*args) - -SoTrackballDragger_swigregister = _coin.SoTrackballDragger_swigregister -SoTrackballDragger_swigregister(SoTrackballDragger) - -def SoTrackballDragger_getClassTypeId(*args): - """SoTrackballDragger_getClassTypeId() -> SoType""" - return _coin.SoTrackballDragger_getClassTypeId(*args) - -def SoTrackballDragger_getClassNodekitCatalog(*args): - """SoTrackballDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getClassNodekitCatalog(*args) - -def SoTrackballDragger_initClass(*args): - """SoTrackballDragger_initClass()""" - return _coin.SoTrackballDragger_initClass(*args) - -class SoTransformBoxDragger(SoDragger): - """Proxy of C++ SoTransformBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformBoxDragger""" - this = _coin.new_SoTransformBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTransformBoxDragger_rotation_get, _coin.SoTransformBoxDragger_rotation_set) - translation = _swig_property(_coin.SoTransformBoxDragger_translation_get, _coin.SoTransformBoxDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTransformBoxDragger_scaleFactor_get, _coin.SoTransformBoxDragger_scaleFactor_set) -SoTransformBoxDragger_swigregister = _coin.SoTransformBoxDragger_swigregister -SoTransformBoxDragger_swigregister(SoTransformBoxDragger) - -def SoTransformBoxDragger_getClassTypeId(*args): - """SoTransformBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoTransformBoxDragger_getClassTypeId(*args) - -def SoTransformBoxDragger_getClassNodekitCatalog(*args): - """SoTransformBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getClassNodekitCatalog(*args) - -def SoTransformBoxDragger_initClass(*args): - """SoTransformBoxDragger_initClass()""" - return _coin.SoTransformBoxDragger_initClass(*args) - -class SoTransformerDragger(SoDragger): - """Proxy of C++ SoTransformerDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformerDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformerDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformerDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformerDragger""" - this = _coin.new_SoTransformerDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTransformerDragger_rotation_get, _coin.SoTransformerDragger_rotation_set) - translation = _swig_property(_coin.SoTransformerDragger_translation_get, _coin.SoTransformerDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTransformerDragger_scaleFactor_get, _coin.SoTransformerDragger_scaleFactor_set) - minDiscRotDot = _swig_property(_coin.SoTransformerDragger_minDiscRotDot_get, _coin.SoTransformerDragger_minDiscRotDot_set) - INACTIVE = _coin.SoTransformerDragger_INACTIVE - RIT_X_ROTATE = _coin.SoTransformerDragger_RIT_X_ROTATE - TOP_Y_ROTATE = _coin.SoTransformerDragger_TOP_Y_ROTATE - FNT_Z_ROTATE = _coin.SoTransformerDragger_FNT_Z_ROTATE - LFT_X_ROTATE = _coin.SoTransformerDragger_LFT_X_ROTATE - BOT_Y_ROTATE = _coin.SoTransformerDragger_BOT_Y_ROTATE - BAK_Z_ROTATE = _coin.SoTransformerDragger_BAK_Z_ROTATE - PX_PY_PZ_3D_SCALE = _coin.SoTransformerDragger_PX_PY_PZ_3D_SCALE - PX_PY_NZ_3D_SCALE = _coin.SoTransformerDragger_PX_PY_NZ_3D_SCALE - PX_NY_PZ_3D_SCALE = _coin.SoTransformerDragger_PX_NY_PZ_3D_SCALE - PX_NY_NZ_3D_SCALE = _coin.SoTransformerDragger_PX_NY_NZ_3D_SCALE - NX_PY_PZ_3D_SCALE = _coin.SoTransformerDragger_NX_PY_PZ_3D_SCALE - NX_PY_NZ_3D_SCALE = _coin.SoTransformerDragger_NX_PY_NZ_3D_SCALE - NX_NY_PZ_3D_SCALE = _coin.SoTransformerDragger_NX_NY_PZ_3D_SCALE - NX_NY_NZ_3D_SCALE = _coin.SoTransformerDragger_NX_NY_NZ_3D_SCALE - RIT_TRANSLATE = _coin.SoTransformerDragger_RIT_TRANSLATE - TOP_TRANSLATE = _coin.SoTransformerDragger_TOP_TRANSLATE - FNT_TRANSLATE = _coin.SoTransformerDragger_FNT_TRANSLATE - LFT_TRANSLATE = _coin.SoTransformerDragger_LFT_TRANSLATE - BOT_TRANSLATE = _coin.SoTransformerDragger_BOT_TRANSLATE - BAK_TRANSLATE = _coin.SoTransformerDragger_BAK_TRANSLATE - def getCurrentState(*args): - """getCurrentState(self) -> State""" - return _coin.SoTransformerDragger_getCurrentState(*args) - - def unsquishKnobs(*args): - """unsquishKnobs(self)""" - return _coin.SoTransformerDragger_unsquishKnobs(*args) - - def isLocateHighlighting(*args): - """isLocateHighlighting(self) -> SbBool""" - return _coin.SoTransformerDragger_isLocateHighlighting(*args) - - def setLocateHighlighting(*args): - """setLocateHighlighting(self, SbBool onoff)""" - return _coin.SoTransformerDragger_setLocateHighlighting(*args) - - def setColinearThreshold(*args): - """setColinearThreshold(int newval)""" - return _coin.SoTransformerDragger_setColinearThreshold(*args) - - setColinearThreshold = staticmethod(setColinearThreshold) - def getColinearThreshold(*args): - """getColinearThreshold() -> int""" - return _coin.SoTransformerDragger_getColinearThreshold(*args) - - getColinearThreshold = staticmethod(getColinearThreshold) - def getBoxPointInWorldSpace(*args): - """getBoxPointInWorldSpace(self, SbVec3f pointonunitbox) -> SbVec3f""" - return _coin.SoTransformerDragger_getBoxPointInWorldSpace(*args) - - def getBoxDirInWorldSpace(*args): - """getBoxDirInWorldSpace(self, SbVec3f dironunitbox) -> SbVec3f""" - return _coin.SoTransformerDragger_getBoxDirInWorldSpace(*args) - - def getWorldPointInBoxSpace(*args): - """getWorldPointInBoxSpace(self, SbVec3f pointinworldspace) -> SbVec3f""" - return _coin.SoTransformerDragger_getWorldPointInBoxSpace(*args) - - def getWorldPointInPixelSpace(*args): - """getWorldPointInPixelSpace(self, SbVec3f thepoint) -> SbVec2f""" - return _coin.SoTransformerDragger_getWorldPointInPixelSpace(*args) - - def getInteractiveCenterInBoxSpace(*args): - """getInteractiveCenterInBoxSpace(self) -> SbVec3f""" - return _coin.SoTransformerDragger_getInteractiveCenterInBoxSpace(*args) - -SoTransformerDragger_swigregister = _coin.SoTransformerDragger_swigregister -SoTransformerDragger_swigregister(SoTransformerDragger) - -def SoTransformerDragger_getClassTypeId(*args): - """SoTransformerDragger_getClassTypeId() -> SoType""" - return _coin.SoTransformerDragger_getClassTypeId(*args) - -def SoTransformerDragger_getClassNodekitCatalog(*args): - """SoTransformerDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getClassNodekitCatalog(*args) - -def SoTransformerDragger_initClass(*args): - """SoTransformerDragger_initClass()""" - return _coin.SoTransformerDragger_initClass(*args) - -def SoTransformerDragger_setColinearThreshold(*args): - """SoTransformerDragger_setColinearThreshold(int newval)""" - return _coin.SoTransformerDragger_setColinearThreshold(*args) - -def SoTransformerDragger_getColinearThreshold(*args): - """SoTransformerDragger_getColinearThreshold() -> int""" - return _coin.SoTransformerDragger_getColinearThreshold(*args) - -class SoTranslate1Dragger(SoDragger): - """Proxy of C++ SoTranslate1Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslate1Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslate1Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslate1Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslate1Dragger""" - this = _coin.new_SoTranslate1Dragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslate1Dragger_translation_get, _coin.SoTranslate1Dragger_translation_set) - minTranslation = _swig_property(_coin.SoTranslate1Dragger_minTranslation_get, _coin.SoTranslate1Dragger_minTranslation_set) - maxTranslation = _swig_property(_coin.SoTranslate1Dragger_maxTranslation_get, _coin.SoTranslate1Dragger_maxTranslation_set) -SoTranslate1Dragger_swigregister = _coin.SoTranslate1Dragger_swigregister -SoTranslate1Dragger_swigregister(SoTranslate1Dragger) - -def SoTranslate1Dragger_getClassTypeId(*args): - """SoTranslate1Dragger_getClassTypeId() -> SoType""" - return _coin.SoTranslate1Dragger_getClassTypeId(*args) - -def SoTranslate1Dragger_getClassNodekitCatalog(*args): - """SoTranslate1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getClassNodekitCatalog(*args) - -def SoTranslate1Dragger_initClass(*args): - """SoTranslate1Dragger_initClass()""" - return _coin.SoTranslate1Dragger_initClass(*args) - -class SoSFVec2f(SoSField): - """Proxy of C++ SoSFVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2f""" - this = _coin.new_SoSFVec2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2f""" - return _coin.SoSFVec2f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2f field) -> int""" - return _coin.SoSFVec2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2f field) -> int""" - return _coin.SoSFVec2f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2f newvalue) - setValue(self, float x, float y) - setValue(self, float xy) - setValue(self, SoSFVec2f other) - """ - return _coin.SoSFVec2f_setValue(*args) - -SoSFVec2f_swigregister = _coin.SoSFVec2f_swigregister -SoSFVec2f_swigregister(SoSFVec2f) - -def SoSFVec2f_createInstance(*args): - """SoSFVec2f_createInstance() -> void""" - return _coin.SoSFVec2f_createInstance(*args) - -def SoSFVec2f_getClassTypeId(*args): - """SoSFVec2f_getClassTypeId() -> SoType""" - return _coin.SoSFVec2f_getClassTypeId(*args) - -def SoSFVec2f_initClass(*args): - """SoSFVec2f_initClass()""" - return _coin.SoSFVec2f_initClass(*args) - -class SoTranslate2Dragger(SoDragger): - """Proxy of C++ SoTranslate2Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslate2Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslate2Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslate2Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslate2Dragger""" - this = _coin.new_SoTranslate2Dragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslate2Dragger_translation_get, _coin.SoTranslate2Dragger_translation_set) - minTranslation = _swig_property(_coin.SoTranslate2Dragger_minTranslation_get, _coin.SoTranslate2Dragger_minTranslation_set) - maxTranslation = _swig_property(_coin.SoTranslate2Dragger_maxTranslation_get, _coin.SoTranslate2Dragger_maxTranslation_set) -SoTranslate2Dragger_swigregister = _coin.SoTranslate2Dragger_swigregister -SoTranslate2Dragger_swigregister(SoTranslate2Dragger) - -def SoTranslate2Dragger_getClassTypeId(*args): - """SoTranslate2Dragger_getClassTypeId() -> SoType""" - return _coin.SoTranslate2Dragger_getClassTypeId(*args) - -def SoTranslate2Dragger_getClassNodekitCatalog(*args): - """SoTranslate2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getClassNodekitCatalog(*args) - -def SoTranslate2Dragger_initClass(*args): - """SoTranslate2Dragger_initClass()""" - return _coin.SoTranslate2Dragger_initClass(*args) - -class SoAccumulatedElement(SoElement): - """Proxy of C++ SoAccumulatedElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAccumulatedElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAccumulatedElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoAccumulatedElement_initClass(*args) - - initClass = staticmethod(initClass) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoAccumulatedElement_matches(*args) - -SoAccumulatedElement_swigregister = _coin.SoAccumulatedElement_swigregister -SoAccumulatedElement_swigregister(SoAccumulatedElement) - -def SoAccumulatedElement_getClassTypeId(*args): - """SoAccumulatedElement_getClassTypeId() -> SoType""" - return _coin.SoAccumulatedElement_getClassTypeId(*args) - -def SoAccumulatedElement_getClassStackIndex(*args): - """SoAccumulatedElement_getClassStackIndex() -> int""" - return _coin.SoAccumulatedElement_getClassStackIndex(*args) - -def SoAccumulatedElement_initClass(*args): - """SoAccumulatedElement_initClass()""" - return _coin.SoAccumulatedElement_initClass(*args) - -class SoAmbientColorElement(SoReplacedElement): - """Proxy of C++ SoAmbientColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAmbientColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAmbientColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAmbientColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAmbientColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoAmbientColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoAmbientColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoAmbientColorElement""" - return _coin.SoAmbientColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoAmbientColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoAmbientColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoAmbientColorElement_getArrayPtr(*args) - -SoAmbientColorElement_swigregister = _coin.SoAmbientColorElement_swigregister -SoAmbientColorElement_swigregister(SoAmbientColorElement) - -def SoAmbientColorElement_getClassTypeId(*args): - """SoAmbientColorElement_getClassTypeId() -> SoType""" - return _coin.SoAmbientColorElement_getClassTypeId(*args) - -def SoAmbientColorElement_getClassStackIndex(*args): - """SoAmbientColorElement_getClassStackIndex() -> int""" - return _coin.SoAmbientColorElement_getClassStackIndex(*args) - -def SoAmbientColorElement_createInstance(*args): - """SoAmbientColorElement_createInstance() -> void""" - return _coin.SoAmbientColorElement_createInstance(*args) - -def SoAmbientColorElement_initClass(*args): - """SoAmbientColorElement_initClass()""" - return _coin.SoAmbientColorElement_initClass(*args) - -def SoAmbientColorElement_set(*args): - """SoAmbientColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoAmbientColorElement_set(*args) - -def SoAmbientColorElement_getInstance(*args): - """SoAmbientColorElement_getInstance(SoState state) -> SoAmbientColorElement""" - return _coin.SoAmbientColorElement_getInstance(*args) - -class SoAnnoText3CharOrientElement(SoInt32Element): - """Proxy of C++ SoAnnoText3CharOrientElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3CharOrientElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3CharOrientElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3CharOrientElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3CharOrientElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3CharOrientElement_init(*args) - - def set(*args): - """set(SoState state, SbBool isOriented)""" - return _coin.SoAnnoText3CharOrientElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoAnnoText3CharOrientElement_swigregister = _coin.SoAnnoText3CharOrientElement_swigregister -SoAnnoText3CharOrientElement_swigregister(SoAnnoText3CharOrientElement) - -def SoAnnoText3CharOrientElement_getClassTypeId(*args): - """SoAnnoText3CharOrientElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3CharOrientElement_getClassTypeId(*args) - -def SoAnnoText3CharOrientElement_getClassStackIndex(*args): - """SoAnnoText3CharOrientElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3CharOrientElement_getClassStackIndex(*args) - -def SoAnnoText3CharOrientElement_createInstance(*args): - """SoAnnoText3CharOrientElement_createInstance() -> void""" - return _coin.SoAnnoText3CharOrientElement_createInstance(*args) - -def SoAnnoText3CharOrientElement_initClass(*args): - """SoAnnoText3CharOrientElement_initClass()""" - return _coin.SoAnnoText3CharOrientElement_initClass(*args) - -def SoAnnoText3CharOrientElement_set(*args): - """SoAnnoText3CharOrientElement_set(SoState state, SbBool isOriented)""" - return _coin.SoAnnoText3CharOrientElement_set(*args) - -def SoAnnoText3CharOrientElement_get(*args): - """SoAnnoText3CharOrientElement_get(SoState state) -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_get(*args) - -def SoAnnoText3CharOrientElement_getDefault(*args): - """SoAnnoText3CharOrientElement_getDefault() -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_getDefault(*args) - -class SoAnnoText3FontSizeHintElement(SoInt32Element): - """Proxy of C++ SoAnnoText3FontSizeHintElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3FontSizeHintElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3FontSizeHintElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3FontSizeHintElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3FontSizeHintElement_initClass(*args) - - initClass = staticmethod(initClass) - ANNOTATION = _coin.SoAnnoText3FontSizeHintElement_ANNOTATION - FIT_TEXT_VECTOR = _coin.SoAnnoText3FontSizeHintElement_FIT_TEXT_VECTOR - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3FontSizeHintElement_init(*args) - - def get(*args): - """get(SoState state) -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def set(*args): - """ - set(SoState state, FontSizeHint hint) - set(SoState state, SoNode node, FontSizeHint hint) - """ - return _coin.SoAnnoText3FontSizeHintElement_set(*args) - - set = staticmethod(set) -SoAnnoText3FontSizeHintElement_swigregister = _coin.SoAnnoText3FontSizeHintElement_swigregister -SoAnnoText3FontSizeHintElement_swigregister(SoAnnoText3FontSizeHintElement) - -def SoAnnoText3FontSizeHintElement_getClassTypeId(*args): - """SoAnnoText3FontSizeHintElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3FontSizeHintElement_getClassTypeId(*args) - -def SoAnnoText3FontSizeHintElement_getClassStackIndex(*args): - """SoAnnoText3FontSizeHintElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3FontSizeHintElement_getClassStackIndex(*args) - -def SoAnnoText3FontSizeHintElement_createInstance(*args): - """SoAnnoText3FontSizeHintElement_createInstance() -> void""" - return _coin.SoAnnoText3FontSizeHintElement_createInstance(*args) - -def SoAnnoText3FontSizeHintElement_initClass(*args): - """SoAnnoText3FontSizeHintElement_initClass()""" - return _coin.SoAnnoText3FontSizeHintElement_initClass(*args) - -def SoAnnoText3FontSizeHintElement_get(*args): - """SoAnnoText3FontSizeHintElement_get(SoState state) -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_get(*args) - -def SoAnnoText3FontSizeHintElement_getDefault(*args): - """SoAnnoText3FontSizeHintElement_getDefault() -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_getDefault(*args) - -def SoAnnoText3FontSizeHintElement_set(*args): - """ - set(SoState state, FontSizeHint hint) - SoAnnoText3FontSizeHintElement_set(SoState state, SoNode node, FontSizeHint hint) - """ - return _coin.SoAnnoText3FontSizeHintElement_set(*args) - -class SoAnnoText3RenderPrintElement(SoInt32Element): - """Proxy of C++ SoAnnoText3RenderPrintElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3RenderPrintElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3RenderPrintElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3RenderPrintElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3RenderPrintElement_initClass(*args) - - initClass = staticmethod(initClass) - RENDER3D_PRINT_VECTOR = _coin.SoAnnoText3RenderPrintElement_RENDER3D_PRINT_VECTOR - RENDER3D_PRINT_RASTER = _coin.SoAnnoText3RenderPrintElement_RENDER3D_PRINT_RASTER - RENDER2D_PRINT_RASTER = _coin.SoAnnoText3RenderPrintElement_RENDER2D_PRINT_RASTER - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3RenderPrintElement_init(*args) - - def get(*args): - """get(SoState state) -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def set(*args): - """ - set(SoState state, RenderPrintType hint) - set(SoState state, SoNode node, RenderPrintType type) - """ - return _coin.SoAnnoText3RenderPrintElement_set(*args) - - set = staticmethod(set) -SoAnnoText3RenderPrintElement_swigregister = _coin.SoAnnoText3RenderPrintElement_swigregister -SoAnnoText3RenderPrintElement_swigregister(SoAnnoText3RenderPrintElement) - -def SoAnnoText3RenderPrintElement_getClassTypeId(*args): - """SoAnnoText3RenderPrintElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3RenderPrintElement_getClassTypeId(*args) - -def SoAnnoText3RenderPrintElement_getClassStackIndex(*args): - """SoAnnoText3RenderPrintElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3RenderPrintElement_getClassStackIndex(*args) - -def SoAnnoText3RenderPrintElement_createInstance(*args): - """SoAnnoText3RenderPrintElement_createInstance() -> void""" - return _coin.SoAnnoText3RenderPrintElement_createInstance(*args) - -def SoAnnoText3RenderPrintElement_initClass(*args): - """SoAnnoText3RenderPrintElement_initClass()""" - return _coin.SoAnnoText3RenderPrintElement_initClass(*args) - -def SoAnnoText3RenderPrintElement_get(*args): - """SoAnnoText3RenderPrintElement_get(SoState state) -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_get(*args) - -def SoAnnoText3RenderPrintElement_getDefault(*args): - """SoAnnoText3RenderPrintElement_getDefault() -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_getDefault(*args) - -def SoAnnoText3RenderPrintElement_set(*args): - """ - set(SoState state, RenderPrintType hint) - SoAnnoText3RenderPrintElement_set(SoState state, SoNode node, RenderPrintType type) - """ - return _coin.SoAnnoText3RenderPrintElement_set(*args) - -class SoModelMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoModelMatrixElement_push(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoModelMatrixElement_matches(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoModelMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_set(*args) - - set = staticmethod(set) - def setCullMatrix(*args): - """setCullMatrix(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_setCullMatrix(*args) - - setCullMatrix = staticmethod(setCullMatrix) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoModelMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoModelMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoModelMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def pushMatrix(*args): - """pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) - def getCombinedCullMatrix(*args): - """getCombinedCullMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_getCombinedCullMatrix(*args) - - getCombinedCullMatrix = staticmethod(getCombinedCullMatrix) - def get(*args): - """ - get(SoState state) -> SbMatrix - get(SoState state, SbBool isIdentity) -> SbMatrix - """ - return _coin.SoModelMatrixElement_get(*args) - - get = staticmethod(get) - def getModelMatrix(*args): - """getModelMatrix(self) -> SbMatrix""" - return _coin.SoModelMatrixElement_getModelMatrix(*args) - -SoModelMatrixElement_swigregister = _coin.SoModelMatrixElement_swigregister -SoModelMatrixElement_swigregister(SoModelMatrixElement) - -def SoModelMatrixElement_getClassTypeId(*args): - """SoModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoModelMatrixElement_getClassTypeId(*args) - -def SoModelMatrixElement_getClassStackIndex(*args): - """SoModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoModelMatrixElement_getClassStackIndex(*args) - -def SoModelMatrixElement_createInstance(*args): - """SoModelMatrixElement_createInstance() -> void""" - return _coin.SoModelMatrixElement_createInstance(*args) - -def SoModelMatrixElement_initClass(*args): - """SoModelMatrixElement_initClass()""" - return _coin.SoModelMatrixElement_initClass(*args) - -def SoModelMatrixElement_makeIdentity(*args): - """SoModelMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoModelMatrixElement_makeIdentity(*args) - -def SoModelMatrixElement_set(*args): - """SoModelMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_set(*args) - -def SoModelMatrixElement_setCullMatrix(*args): - """SoModelMatrixElement_setCullMatrix(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_setCullMatrix(*args) - -def SoModelMatrixElement_mult(*args): - """SoModelMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_mult(*args) - -def SoModelMatrixElement_translateBy(*args): - """SoModelMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoModelMatrixElement_translateBy(*args) - -def SoModelMatrixElement_rotateBy(*args): - """SoModelMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoModelMatrixElement_rotateBy(*args) - -def SoModelMatrixElement_scaleBy(*args): - """SoModelMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoModelMatrixElement_scaleBy(*args) - -def SoModelMatrixElement_pushMatrix(*args): - """SoModelMatrixElement_pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_pushMatrix(*args) - -def SoModelMatrixElement_popMatrix(*args): - """SoModelMatrixElement_popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_popMatrix(*args) - -def SoModelMatrixElement_getCombinedCullMatrix(*args): - """SoModelMatrixElement_getCombinedCullMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_getCombinedCullMatrix(*args) - -def SoModelMatrixElement_get(*args): - """ - get(SoState state) -> SbMatrix - SoModelMatrixElement_get(SoState state, SbBool isIdentity) -> SbMatrix - """ - return _coin.SoModelMatrixElement_get(*args) - -class SoBBoxModelMatrixElement(SoModelMatrixElement): - """Proxy of C++ SoBBoxModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBBoxModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBBoxModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBBoxModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBBoxModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBBoxModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoBBoxModelMatrixElement_push(*args) - - def reset(*args): - """reset(SoState state, SoNode node)""" - return _coin.SoBBoxModelMatrixElement_reset(*args) - - reset = staticmethod(reset) - def pushMatrix(*args): - """pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) -SoBBoxModelMatrixElement_swigregister = _coin.SoBBoxModelMatrixElement_swigregister -SoBBoxModelMatrixElement_swigregister(SoBBoxModelMatrixElement) - -def SoBBoxModelMatrixElement_getClassTypeId(*args): - """SoBBoxModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoBBoxModelMatrixElement_getClassTypeId(*args) - -def SoBBoxModelMatrixElement_getClassStackIndex(*args): - """SoBBoxModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoBBoxModelMatrixElement_getClassStackIndex(*args) - -def SoBBoxModelMatrixElement_createInstance(*args): - """SoBBoxModelMatrixElement_createInstance() -> void""" - return _coin.SoBBoxModelMatrixElement_createInstance(*args) - -def SoBBoxModelMatrixElement_initClass(*args): - """SoBBoxModelMatrixElement_initClass()""" - return _coin.SoBBoxModelMatrixElement_initClass(*args) - -def SoBBoxModelMatrixElement_reset(*args): - """SoBBoxModelMatrixElement_reset(SoState state, SoNode node)""" - return _coin.SoBBoxModelMatrixElement_reset(*args) - -def SoBBoxModelMatrixElement_pushMatrix(*args): - """SoBBoxModelMatrixElement_pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_pushMatrix(*args) - -def SoBBoxModelMatrixElement_popMatrix(*args): - """SoBBoxModelMatrixElement_popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_popMatrix(*args) - -class SoBumpMapCoordinateElement(SoReplacedElement): - """Proxy of C++ SoBumpMapCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapCoordinateElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)""" - return _coin.SoBumpMapCoordinateElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoBumpMapCoordinateElement""" - return _coin.SoBumpMapCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoBumpMapCoordinateElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbVec2f""" - return _coin.SoBumpMapCoordinateElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbVec2f""" - return _coin.SoBumpMapCoordinateElement_getArrayPtr(*args) - -SoBumpMapCoordinateElement_swigregister = _coin.SoBumpMapCoordinateElement_swigregister -SoBumpMapCoordinateElement_swigregister(SoBumpMapCoordinateElement) - -def SoBumpMapCoordinateElement_getClassTypeId(*args): - """SoBumpMapCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinateElement_getClassTypeId(*args) - -def SoBumpMapCoordinateElement_getClassStackIndex(*args): - """SoBumpMapCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapCoordinateElement_getClassStackIndex(*args) - -def SoBumpMapCoordinateElement_createInstance(*args): - """SoBumpMapCoordinateElement_createInstance() -> void""" - return _coin.SoBumpMapCoordinateElement_createInstance(*args) - -def SoBumpMapCoordinateElement_initClass(*args): - """SoBumpMapCoordinateElement_initClass()""" - return _coin.SoBumpMapCoordinateElement_initClass(*args) - -def SoBumpMapCoordinateElement_set(*args): - """SoBumpMapCoordinateElement_set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)""" - return _coin.SoBumpMapCoordinateElement_set(*args) - -def SoBumpMapCoordinateElement_getInstance(*args): - """SoBumpMapCoordinateElement_getInstance(SoState state) -> SoBumpMapCoordinateElement""" - return _coin.SoBumpMapCoordinateElement_getInstance(*args) - -class SoBumpMapElement(SoReplacedElement): - """Proxy of C++ SoBumpMapElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SoGLImage image)""" - return _coin.SoBumpMapElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SoGLImage""" - return _coin.SoBumpMapElement_get(*args) - - get = staticmethod(get) -SoBumpMapElement_swigregister = _coin.SoBumpMapElement_swigregister -SoBumpMapElement_swigregister(SoBumpMapElement) - -def SoBumpMapElement_getClassTypeId(*args): - """SoBumpMapElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapElement_getClassTypeId(*args) - -def SoBumpMapElement_getClassStackIndex(*args): - """SoBumpMapElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapElement_getClassStackIndex(*args) - -def SoBumpMapElement_createInstance(*args): - """SoBumpMapElement_createInstance() -> void""" - return _coin.SoBumpMapElement_createInstance(*args) - -def SoBumpMapElement_initClass(*args): - """SoBumpMapElement_initClass()""" - return _coin.SoBumpMapElement_initClass(*args) - -def SoBumpMapElement_set(*args): - """SoBumpMapElement_set(SoState state, SoNode node, SoGLImage image)""" - return _coin.SoBumpMapElement_set(*args) - -def SoBumpMapElement_get(*args): - """SoBumpMapElement_get(SoState state) -> SoGLImage""" - return _coin.SoBumpMapElement_get(*args) - -class SoBumpMapMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoBumpMapMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoBumpMapMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoBumpMapMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoBumpMapMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoBumpMapMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoBumpMapMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoBumpMapMatrixElement_get(*args) - - get = staticmethod(get) -SoBumpMapMatrixElement_swigregister = _coin.SoBumpMapMatrixElement_swigregister -SoBumpMapMatrixElement_swigregister(SoBumpMapMatrixElement) - -def SoBumpMapMatrixElement_getClassTypeId(*args): - """SoBumpMapMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapMatrixElement_getClassTypeId(*args) - -def SoBumpMapMatrixElement_getClassStackIndex(*args): - """SoBumpMapMatrixElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapMatrixElement_getClassStackIndex(*args) - -def SoBumpMapMatrixElement_createInstance(*args): - """SoBumpMapMatrixElement_createInstance() -> void""" - return _coin.SoBumpMapMatrixElement_createInstance(*args) - -def SoBumpMapMatrixElement_initClass(*args): - """SoBumpMapMatrixElement_initClass()""" - return _coin.SoBumpMapMatrixElement_initClass(*args) - -def SoBumpMapMatrixElement_makeIdentity(*args): - """SoBumpMapMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoBumpMapMatrixElement_makeIdentity(*args) - -def SoBumpMapMatrixElement_set(*args): - """SoBumpMapMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_set(*args) - -def SoBumpMapMatrixElement_mult(*args): - """SoBumpMapMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_mult(*args) - -def SoBumpMapMatrixElement_translateBy(*args): - """SoBumpMapMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoBumpMapMatrixElement_translateBy(*args) - -def SoBumpMapMatrixElement_rotateBy(*args): - """SoBumpMapMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoBumpMapMatrixElement_rotateBy(*args) - -def SoBumpMapMatrixElement_scaleBy(*args): - """SoBumpMapMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoBumpMapMatrixElement_scaleBy(*args) - -def SoBumpMapMatrixElement_get(*args): - """SoBumpMapMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoBumpMapMatrixElement_get(*args) - -class SoCacheElement(SoElement): - """Proxy of C++ SoCacheElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCacheElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCacheElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCacheElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCacheElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCacheElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoCacheElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoCacheElement_pop(*args) - - def set(*args): - """set(SoState state, SoCache cache)""" - return _coin.SoCacheElement_set(*args) - - set = staticmethod(set) - def getCache(*args): - """getCache(self) -> SoCache""" - return _coin.SoCacheElement_getCache(*args) - - def anyOpen(*args): - """anyOpen(SoState state) -> SbBool""" - return _coin.SoCacheElement_anyOpen(*args) - - anyOpen = staticmethod(anyOpen) - def invalidate(*args): - """invalidate(SoState state)""" - return _coin.SoCacheElement_invalidate(*args) - - invalidate = staticmethod(invalidate) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoCacheElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoCacheElement_copyMatchInfo(*args) - - def getNextCacheElement(*args): - """getNextCacheElement(self) -> SoCacheElement""" - return _coin.SoCacheElement_getNextCacheElement(*args) - - def addElement(*args): - """addElement(SoState state, SoElement element)""" - return _coin.SoCacheElement_addElement(*args) - - addElement = staticmethod(addElement) - def addCacheDependency(*args): - """addCacheDependency(SoState state, SoCache cache)""" - return _coin.SoCacheElement_addCacheDependency(*args) - - addCacheDependency = staticmethod(addCacheDependency) - def setInvalid(*args): - """setInvalid(SbBool newvalue) -> SbBool""" - return _coin.SoCacheElement_setInvalid(*args) - - setInvalid = staticmethod(setInvalid) - def getCurrentCache(*args): - """getCurrentCache(SoState state) -> SoCache""" - return _coin.SoCacheElement_getCurrentCache(*args) - - getCurrentCache = staticmethod(getCurrentCache) -SoCacheElement_swigregister = _coin.SoCacheElement_swigregister -SoCacheElement_swigregister(SoCacheElement) - -def SoCacheElement_getClassTypeId(*args): - """SoCacheElement_getClassTypeId() -> SoType""" - return _coin.SoCacheElement_getClassTypeId(*args) - -def SoCacheElement_getClassStackIndex(*args): - """SoCacheElement_getClassStackIndex() -> int""" - return _coin.SoCacheElement_getClassStackIndex(*args) - -def SoCacheElement_createInstance(*args): - """SoCacheElement_createInstance() -> void""" - return _coin.SoCacheElement_createInstance(*args) - -def SoCacheElement_initClass(*args): - """SoCacheElement_initClass()""" - return _coin.SoCacheElement_initClass(*args) - -def SoCacheElement_set(*args): - """SoCacheElement_set(SoState state, SoCache cache)""" - return _coin.SoCacheElement_set(*args) - -def SoCacheElement_anyOpen(*args): - """SoCacheElement_anyOpen(SoState state) -> SbBool""" - return _coin.SoCacheElement_anyOpen(*args) - -def SoCacheElement_invalidate(*args): - """SoCacheElement_invalidate(SoState state)""" - return _coin.SoCacheElement_invalidate(*args) - -def SoCacheElement_addElement(*args): - """SoCacheElement_addElement(SoState state, SoElement element)""" - return _coin.SoCacheElement_addElement(*args) - -def SoCacheElement_addCacheDependency(*args): - """SoCacheElement_addCacheDependency(SoState state, SoCache cache)""" - return _coin.SoCacheElement_addCacheDependency(*args) - -def SoCacheElement_setInvalid(*args): - """SoCacheElement_setInvalid(SbBool newvalue) -> SbBool""" - return _coin.SoCacheElement_setInvalid(*args) - -def SoCacheElement_getCurrentCache(*args): - """SoCacheElement_getCurrentCache(SoState state) -> SoCache""" - return _coin.SoCacheElement_getCurrentCache(*args) - -class SbPlane(object): - """Proxy of C++ SbPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbPlane - __init__(self, SbVec3f normal, float D) -> SbPlane - __init__(self, SbVec3f p0, SbVec3f p1, SbVec3f p2) -> SbPlane - __init__(self, SbVec3f normal, SbVec3f point) -> SbPlane - """ - this = _coin.new_SbPlane(*args) - try: self.this.append(this) - except: self.this = this - def offset(*args): - """offset(self, float d)""" - return _coin.SbPlane_offset(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbPlane_transform(*args) - - def isInHalfSpace(*args): - """isInHalfSpace(self, SbVec3f point) -> SbBool""" - return _coin.SbPlane_isInHalfSpace(*args) - - def getDistance(*args): - """getDistance(self, SbVec3f point) -> float""" - return _coin.SbPlane_getDistance(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SbPlane_getNormal(*args) - - def getDistanceFromOrigin(*args): - """getDistanceFromOrigin(self) -> float""" - return _coin.SbPlane_getDistanceFromOrigin(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbPlane_output(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbPlane pl, SbLine line) -> SbBool - """ - return _coin.SbPlane_intersect(*args) - - def __eq__(*args): - """__eq__(self, SbPlane u) -> int""" - return _coin.SbPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbPlane u) -> int""" - return _coin.SbPlane___ne__(*args) - - __swig_destroy__ = _coin.delete_SbPlane - __del__ = lambda self : None; -SbPlane_swigregister = _coin.SbPlane_swigregister -SbPlane_swigregister(SbPlane) - -class SoClipPlaneElement(SoAccumulatedElement): - """Proxy of C++ SoClipPlaneElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlaneElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoClipPlaneElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoClipPlaneElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoClipPlaneElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoClipPlaneElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoClipPlaneElement_push(*args) - - def add(*args): - """add(SoState state, SoNode node, SbPlane plane)""" - return _coin.SoClipPlaneElement_add(*args) - - add = staticmethod(add) - def getInstance(*args): - """getInstance(SoState state) -> SoClipPlaneElement""" - return _coin.SoClipPlaneElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoClipPlaneElement_getNum(*args) - - def get(*args): - """ - get(self, int index, SbBool inworldspace=1) -> SbPlane - get(self, int index) -> SbPlane - """ - return _coin.SoClipPlaneElement_get(*args) - -SoClipPlaneElement_swigregister = _coin.SoClipPlaneElement_swigregister -SoClipPlaneElement_swigregister(SoClipPlaneElement) - -def SoClipPlaneElement_getClassTypeId(*args): - """SoClipPlaneElement_getClassTypeId() -> SoType""" - return _coin.SoClipPlaneElement_getClassTypeId(*args) - -def SoClipPlaneElement_getClassStackIndex(*args): - """SoClipPlaneElement_getClassStackIndex() -> int""" - return _coin.SoClipPlaneElement_getClassStackIndex(*args) - -def SoClipPlaneElement_createInstance(*args): - """SoClipPlaneElement_createInstance() -> void""" - return _coin.SoClipPlaneElement_createInstance(*args) - -def SoClipPlaneElement_initClass(*args): - """SoClipPlaneElement_initClass()""" - return _coin.SoClipPlaneElement_initClass(*args) - -def SoClipPlaneElement_add(*args): - """SoClipPlaneElement_add(SoState state, SoNode node, SbPlane plane)""" - return _coin.SoClipPlaneElement_add(*args) - -def SoClipPlaneElement_getInstance(*args): - """SoClipPlaneElement_getInstance(SoState state) -> SoClipPlaneElement""" - return _coin.SoClipPlaneElement_getInstance(*args) - -class SoFloatElement(SoElement): - """Proxy of C++ SoFloatElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFloatElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFloatElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoFloatElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFloatElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoFloatElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoFloatElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoFloatElement_output(*args) - - def set(*args): - """ - set(int stackIndex, SoState state, SoNode node, float value) - set(int stackIndex, SoState state, float value) - """ - return _coin.SoFloatElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(int stackIndex, SoState state) -> float""" - return _coin.SoFloatElement_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, float value)""" - return _coin.SoFloatElement_setElt(*args) - -SoFloatElement_swigregister = _coin.SoFloatElement_swigregister -SoFloatElement_swigregister(SoFloatElement) - -def SoFloatElement_getClassTypeId(*args): - """SoFloatElement_getClassTypeId() -> SoType""" - return _coin.SoFloatElement_getClassTypeId(*args) - -def SoFloatElement_getClassStackIndex(*args): - """SoFloatElement_getClassStackIndex() -> int""" - return _coin.SoFloatElement_getClassStackIndex(*args) - -def SoFloatElement_initClass(*args): - """SoFloatElement_initClass()""" - return _coin.SoFloatElement_initClass(*args) - -def SoFloatElement_set(*args): - """ - set(int stackIndex, SoState state, SoNode node, float value) - SoFloatElement_set(int stackIndex, SoState state, float value) - """ - return _coin.SoFloatElement_set(*args) - -def SoFloatElement_get(*args): - """SoFloatElement_get(int stackIndex, SoState state) -> float""" - return _coin.SoFloatElement_get(*args) - -class SoComplexityElement(SoFloatElement): - """Proxy of C++ SoComplexityElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexityElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoComplexityElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComplexityElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoComplexityElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoComplexityElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoComplexityElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoComplexityElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoComplexityElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoComplexityElement_swigregister = _coin.SoComplexityElement_swigregister -SoComplexityElement_swigregister(SoComplexityElement) - -def SoComplexityElement_getClassTypeId(*args): - """SoComplexityElement_getClassTypeId() -> SoType""" - return _coin.SoComplexityElement_getClassTypeId(*args) - -def SoComplexityElement_getClassStackIndex(*args): - """SoComplexityElement_getClassStackIndex() -> int""" - return _coin.SoComplexityElement_getClassStackIndex(*args) - -def SoComplexityElement_createInstance(*args): - """SoComplexityElement_createInstance() -> void""" - return _coin.SoComplexityElement_createInstance(*args) - -def SoComplexityElement_initClass(*args): - """SoComplexityElement_initClass()""" - return _coin.SoComplexityElement_initClass(*args) - -def SoComplexityElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoComplexityElement_set(SoState state, float complexity) - """ - return _coin.SoComplexityElement_set(*args) - -def SoComplexityElement_get(*args): - """SoComplexityElement_get(SoState state) -> float""" - return _coin.SoComplexityElement_get(*args) - -def SoComplexityElement_getDefault(*args): - """SoComplexityElement_getDefault() -> float""" - return _coin.SoComplexityElement_getDefault(*args) - -class SoCoordinateElement(SoReplacedElement): - """Proxy of C++ SoCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCoordinateElement_init(*args) - - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getInstance(*args): - """getInstance(SoState state) -> SoCoordinateElement""" - return _coin.SoCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoCoordinateElement_getNum(*args) - - def is3D(*args): - """is3D(self) -> SbBool""" - return _coin.SoCoordinateElement_is3D(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int index) -> SbVec4f""" - return _coin.SoCoordinateElement_get4(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self) -> SbVec4f""" - return _coin.SoCoordinateElement_getArrayPtr4(*args) - - def getDefault3(*args): - """getDefault3() -> SbVec3f""" - return _coin.SoCoordinateElement_getDefault3(*args) - - getDefault3 = staticmethod(getDefault3) - def getDefault4(*args): - """getDefault4() -> SbVec4f""" - return _coin.SoCoordinateElement_getDefault4(*args) - - getDefault4 = staticmethod(getDefault4) - def output(*args): - """output(self, FILE file)""" - return _coin.SoCoordinateElement_output(*args) - -SoCoordinateElement_swigregister = _coin.SoCoordinateElement_swigregister -SoCoordinateElement_swigregister(SoCoordinateElement) - -def SoCoordinateElement_getClassTypeId(*args): - """SoCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoCoordinateElement_getClassTypeId(*args) - -def SoCoordinateElement_getClassStackIndex(*args): - """SoCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoCoordinateElement_getClassStackIndex(*args) - -def SoCoordinateElement_createInstance(*args): - """SoCoordinateElement_createInstance() -> void""" - return _coin.SoCoordinateElement_createInstance(*args) - -def SoCoordinateElement_initClass(*args): - """SoCoordinateElement_initClass()""" - return _coin.SoCoordinateElement_initClass(*args) - -def SoCoordinateElement_set3(*args): - """SoCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoCoordinateElement_set3(*args) - -def SoCoordinateElement_set4(*args): - """SoCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoCoordinateElement_set4(*args) - -def SoCoordinateElement_getInstance(*args): - """SoCoordinateElement_getInstance(SoState state) -> SoCoordinateElement""" - return _coin.SoCoordinateElement_getInstance(*args) - -def SoCoordinateElement_getDefault3(*args): - """SoCoordinateElement_getDefault3() -> SbVec3f""" - return _coin.SoCoordinateElement_getDefault3(*args) - -def SoCoordinateElement_getDefault4(*args): - """SoCoordinateElement_getDefault4() -> SbVec4f""" - return _coin.SoCoordinateElement_getDefault4(*args) - -class SoCreaseAngleElement(SoFloatElement): - """Proxy of C++ SoCreaseAngleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCreaseAngleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCreaseAngleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCreaseAngleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCreaseAngleElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCreaseAngleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoCreaseAngleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state) -> float - get(SoState state, SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """ - getDefault() -> float - getDefault(SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoCreaseAngleElement_swigregister = _coin.SoCreaseAngleElement_swigregister -SoCreaseAngleElement_swigregister(SoCreaseAngleElement) - -def SoCreaseAngleElement_getClassTypeId(*args): - """SoCreaseAngleElement_getClassTypeId() -> SoType""" - return _coin.SoCreaseAngleElement_getClassTypeId(*args) - -def SoCreaseAngleElement_getClassStackIndex(*args): - """SoCreaseAngleElement_getClassStackIndex() -> int""" - return _coin.SoCreaseAngleElement_getClassStackIndex(*args) - -def SoCreaseAngleElement_createInstance(*args): - """SoCreaseAngleElement_createInstance() -> void""" - return _coin.SoCreaseAngleElement_createInstance(*args) - -def SoCreaseAngleElement_initClass(*args): - """SoCreaseAngleElement_initClass()""" - return _coin.SoCreaseAngleElement_initClass(*args) - -def SoCreaseAngleElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoCreaseAngleElement_set(SoState state, float complexity) - """ - return _coin.SoCreaseAngleElement_set(*args) - -def SoCreaseAngleElement_get(*args): - """ - get(SoState state) -> float - SoCreaseAngleElement_get(SoState state, SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_get(*args) - -def SoCreaseAngleElement_getDefault(*args): - """ - getDefault() -> float - SoCreaseAngleElement_getDefault(SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_getDefault(*args) - -class SoCullElement(SoElement): - """Proxy of C++ SoCullElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCullElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCullElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCullElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCullElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCullElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoCullElement_push(*args) - - def setViewVolume(*args): - """setViewVolume(SoState state, SbViewVolume vv)""" - return _coin.SoCullElement_setViewVolume(*args) - - setViewVolume = staticmethod(setViewVolume) - def addPlane(*args): - """addPlane(SoState state, SbPlane newplane)""" - return _coin.SoCullElement_addPlane(*args) - - addPlane = staticmethod(addPlane) - def cullBox(*args): - """ - cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - cullBox(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullBox(*args) - - cullBox = staticmethod(cullBox) - def cullTest(*args): - """ - cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - cullTest(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullTest(*args) - - cullTest = staticmethod(cullTest) - def completelyInside(*args): - """completelyInside(SoState state) -> SbBool""" - return _coin.SoCullElement_completelyInside(*args) - - completelyInside = staticmethod(completelyInside) - def matches(*args): - """matches(self, SoElement elt) -> SbBool""" - return _coin.SoCullElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoCullElement_copyMatchInfo(*args) - -SoCullElement_swigregister = _coin.SoCullElement_swigregister -SoCullElement_swigregister(SoCullElement) - -def SoCullElement_getClassTypeId(*args): - """SoCullElement_getClassTypeId() -> SoType""" - return _coin.SoCullElement_getClassTypeId(*args) - -def SoCullElement_getClassStackIndex(*args): - """SoCullElement_getClassStackIndex() -> int""" - return _coin.SoCullElement_getClassStackIndex(*args) - -def SoCullElement_createInstance(*args): - """SoCullElement_createInstance() -> void""" - return _coin.SoCullElement_createInstance(*args) - -def SoCullElement_initClass(*args): - """SoCullElement_initClass()""" - return _coin.SoCullElement_initClass(*args) - -def SoCullElement_setViewVolume(*args): - """SoCullElement_setViewVolume(SoState state, SbViewVolume vv)""" - return _coin.SoCullElement_setViewVolume(*args) - -def SoCullElement_addPlane(*args): - """SoCullElement_addPlane(SoState state, SbPlane newplane)""" - return _coin.SoCullElement_addPlane(*args) - -def SoCullElement_cullBox(*args): - """ - cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - SoCullElement_cullBox(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullBox(*args) - -def SoCullElement_cullTest(*args): - """ - cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - SoCullElement_cullTest(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullTest(*args) - -def SoCullElement_completelyInside(*args): - """SoCullElement_completelyInside(SoState state) -> SbBool""" - return _coin.SoCullElement_completelyInside(*args) - -class SoDecimationPercentageElement(SoFloatElement): - """Proxy of C++ SoDecimationPercentageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecimationPercentageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDecimationPercentageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecimationPercentageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDecimationPercentageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoDecimationPercentageElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoDecimationPercentageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoDecimationPercentageElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoDecimationPercentageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDecimationPercentageElement_swigregister = _coin.SoDecimationPercentageElement_swigregister -SoDecimationPercentageElement_swigregister(SoDecimationPercentageElement) - -def SoDecimationPercentageElement_getClassTypeId(*args): - """SoDecimationPercentageElement_getClassTypeId() -> SoType""" - return _coin.SoDecimationPercentageElement_getClassTypeId(*args) - -def SoDecimationPercentageElement_getClassStackIndex(*args): - """SoDecimationPercentageElement_getClassStackIndex() -> int""" - return _coin.SoDecimationPercentageElement_getClassStackIndex(*args) - -def SoDecimationPercentageElement_createInstance(*args): - """SoDecimationPercentageElement_createInstance() -> void""" - return _coin.SoDecimationPercentageElement_createInstance(*args) - -def SoDecimationPercentageElement_initClass(*args): - """SoDecimationPercentageElement_initClass()""" - return _coin.SoDecimationPercentageElement_initClass(*args) - -def SoDecimationPercentageElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoDecimationPercentageElement_set(SoState state, float complexity) - """ - return _coin.SoDecimationPercentageElement_set(*args) - -def SoDecimationPercentageElement_get(*args): - """SoDecimationPercentageElement_get(SoState state) -> float""" - return _coin.SoDecimationPercentageElement_get(*args) - -def SoDecimationPercentageElement_getDefault(*args): - """SoDecimationPercentageElement_getDefault() -> float""" - return _coin.SoDecimationPercentageElement_getDefault(*args) - -class SoDiffuseColorElement(SoReplacedElement): - """Proxy of C++ SoDiffuseColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDiffuseColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDiffuseColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDiffuseColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDiffuseColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoDiffuseColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoDiffuseColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoDiffuseColorElement""" - return _coin.SoDiffuseColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoDiffuseColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoDiffuseColorElement_get(*args) - - def isPacked(*args): - """isPacked(self) -> SbBool""" - return _coin.SoDiffuseColorElement_isPacked(*args) - - def hasPackedTransparency(*args): - """hasPackedTransparency(self) -> SbBool""" - return _coin.SoDiffuseColorElement_hasPackedTransparency(*args) - - def getColorArrayPtr(*args): - """getColorArrayPtr(self) -> SbColor""" - return _coin.SoDiffuseColorElement_getColorArrayPtr(*args) - - def getPackedArrayPtr(*args): - """getPackedArrayPtr(self) -> uint32_t""" - return _coin.SoDiffuseColorElement_getPackedArrayPtr(*args) - -SoDiffuseColorElement_swigregister = _coin.SoDiffuseColorElement_swigregister -SoDiffuseColorElement_swigregister(SoDiffuseColorElement) - -def SoDiffuseColorElement_getClassTypeId(*args): - """SoDiffuseColorElement_getClassTypeId() -> SoType""" - return _coin.SoDiffuseColorElement_getClassTypeId(*args) - -def SoDiffuseColorElement_getClassStackIndex(*args): - """SoDiffuseColorElement_getClassStackIndex() -> int""" - return _coin.SoDiffuseColorElement_getClassStackIndex(*args) - -def SoDiffuseColorElement_createInstance(*args): - """SoDiffuseColorElement_createInstance() -> void""" - return _coin.SoDiffuseColorElement_createInstance(*args) - -def SoDiffuseColorElement_initClass(*args): - """SoDiffuseColorElement_initClass()""" - return _coin.SoDiffuseColorElement_initClass(*args) - -def SoDiffuseColorElement_set(*args): - """SoDiffuseColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoDiffuseColorElement_set(*args) - -def SoDiffuseColorElement_getInstance(*args): - """SoDiffuseColorElement_getInstance(SoState state) -> SoDiffuseColorElement""" - return _coin.SoDiffuseColorElement_getInstance(*args) - -class SoGLClipPlaneElement(SoClipPlaneElement): - """Proxy of C++ SoGLClipPlaneElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLClipPlaneElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLClipPlaneElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLClipPlaneElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLClipPlaneElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLClipPlaneElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLClipPlaneElement_pop(*args) - - def getMaxGLPlanes(*args): - """getMaxGLPlanes() -> int""" - return _coin.SoGLClipPlaneElement_getMaxGLPlanes(*args) - - getMaxGLPlanes = staticmethod(getMaxGLPlanes) -SoGLClipPlaneElement_swigregister = _coin.SoGLClipPlaneElement_swigregister -SoGLClipPlaneElement_swigregister(SoGLClipPlaneElement) - -def SoGLClipPlaneElement_getClassTypeId(*args): - """SoGLClipPlaneElement_getClassTypeId() -> SoType""" - return _coin.SoGLClipPlaneElement_getClassTypeId(*args) - -def SoGLClipPlaneElement_getClassStackIndex(*args): - """SoGLClipPlaneElement_getClassStackIndex() -> int""" - return _coin.SoGLClipPlaneElement_getClassStackIndex(*args) - -def SoGLClipPlaneElement_createInstance(*args): - """SoGLClipPlaneElement_createInstance() -> void""" - return _coin.SoGLClipPlaneElement_createInstance(*args) - -def SoGLClipPlaneElement_initClass(*args): - """SoGLClipPlaneElement_initClass()""" - return _coin.SoGLClipPlaneElement_initClass(*args) - -def SoGLClipPlaneElement_getMaxGLPlanes(*args): - """SoGLClipPlaneElement_getMaxGLPlanes() -> int""" - return _coin.SoGLClipPlaneElement_getMaxGLPlanes(*args) - -class SoLightElement(SoAccumulatedElement): - """Proxy of C++ SoLightElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLightElement_push(*args) - - def add(*args): - """add(SoState state, SoLight light, SbMatrix matrix)""" - return _coin.SoLightElement_add(*args) - - add = staticmethod(add) - def getLights(*args): - """getLights(SoState state) -> SoNodeList""" - return _coin.SoLightElement_getLights(*args) - - getLights = staticmethod(getLights) - def getMatrix(*args): - """getMatrix(SoState state, int index) -> SbMatrix""" - return _coin.SoLightElement_getMatrix(*args) - - getMatrix = staticmethod(getMatrix) -SoLightElement_swigregister = _coin.SoLightElement_swigregister -SoLightElement_swigregister(SoLightElement) - -def SoLightElement_getClassTypeId(*args): - """SoLightElement_getClassTypeId() -> SoType""" - return _coin.SoLightElement_getClassTypeId(*args) - -def SoLightElement_getClassStackIndex(*args): - """SoLightElement_getClassStackIndex() -> int""" - return _coin.SoLightElement_getClassStackIndex(*args) - -def SoLightElement_createInstance(*args): - """SoLightElement_createInstance() -> void""" - return _coin.SoLightElement_createInstance(*args) - -def SoLightElement_initClass(*args): - """SoLightElement_initClass()""" - return _coin.SoLightElement_initClass(*args) - -def SoLightElement_add(*args): - """SoLightElement_add(SoState state, SoLight light, SbMatrix matrix)""" - return _coin.SoLightElement_add(*args) - -def SoLightElement_getLights(*args): - """SoLightElement_getLights(SoState state) -> SoNodeList""" - return _coin.SoLightElement_getLights(*args) - -def SoLightElement_getMatrix(*args): - """SoLightElement_getMatrix(SoState state, int index) -> SbMatrix""" - return _coin.SoLightElement_getMatrix(*args) - -class SoGLModelMatrixElement(SoModelMatrixElement): - """Proxy of C++ SoGLModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLModelMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLModelMatrixElement_pop(*args) - -SoGLModelMatrixElement_swigregister = _coin.SoGLModelMatrixElement_swigregister -SoGLModelMatrixElement_swigregister(SoGLModelMatrixElement) - -def SoGLModelMatrixElement_getClassTypeId(*args): - """SoGLModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLModelMatrixElement_getClassTypeId(*args) - -def SoGLModelMatrixElement_getClassStackIndex(*args): - """SoGLModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLModelMatrixElement_getClassStackIndex(*args) - -def SoGLModelMatrixElement_createInstance(*args): - """SoGLModelMatrixElement_createInstance() -> void""" - return _coin.SoGLModelMatrixElement_createInstance(*args) - -def SoGLModelMatrixElement_initClass(*args): - """SoGLModelMatrixElement_initClass()""" - return _coin.SoGLModelMatrixElement_initClass(*args) - -class SoProfileElement(SoAccumulatedElement): - """Proxy of C++ SoProfileElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProfileElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProfileElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProfileElement_initClass(*args) - - initClass = staticmethod(initClass) - START_FIRST = _coin.SoProfileElement_START_FIRST - START_NEW = _coin.SoProfileElement_START_NEW - ADD_TO_CURRENT = _coin.SoProfileElement_ADD_TO_CURRENT - def init(*args): - """init(self, SoState state)""" - return _coin.SoProfileElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoProfileElement_push(*args) - - def add(*args): - """add(SoState state, SoProfile profile)""" - return _coin.SoProfileElement_add(*args) - - add = staticmethod(add) - def get(*args): - """get(SoState state) -> SoNodeList""" - return _coin.SoProfileElement_get(*args) - - get = staticmethod(get) -SoProfileElement_swigregister = _coin.SoProfileElement_swigregister -SoProfileElement_swigregister(SoProfileElement) - -def SoProfileElement_getClassTypeId(*args): - """SoProfileElement_getClassTypeId() -> SoType""" - return _coin.SoProfileElement_getClassTypeId(*args) - -def SoProfileElement_getClassStackIndex(*args): - """SoProfileElement_getClassStackIndex() -> int""" - return _coin.SoProfileElement_getClassStackIndex(*args) - -def SoProfileElement_createInstance(*args): - """SoProfileElement_createInstance() -> void""" - return _coin.SoProfileElement_createInstance(*args) - -def SoProfileElement_initClass(*args): - """SoProfileElement_initClass()""" - return _coin.SoProfileElement_initClass(*args) - -def SoProfileElement_add(*args): - """SoProfileElement_add(SoState state, SoProfile profile)""" - return _coin.SoProfileElement_add(*args) - -def SoProfileElement_get(*args): - """SoProfileElement_get(SoState state) -> SoNodeList""" - return _coin.SoProfileElement_get(*args) - -class SoTextureMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoTextureMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoTextureMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoTextureMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoTextureMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoTextureMatrixElement_get(*args) - - get = staticmethod(get) - def emptyMatrix(*args): - """emptyMatrix(SoState state)""" - return _coin.SoTextureMatrixElement_emptyMatrix(*args) - - emptyMatrix = staticmethod(emptyMatrix) -SoTextureMatrixElement_swigregister = _coin.SoTextureMatrixElement_swigregister -SoTextureMatrixElement_swigregister(SoTextureMatrixElement) - -def SoTextureMatrixElement_getClassTypeId(*args): - """SoTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixElement_getClassTypeId(*args) - -def SoTextureMatrixElement_getClassStackIndex(*args): - """SoTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoTextureMatrixElement_getClassStackIndex(*args) - -def SoTextureMatrixElement_createInstance(*args): - """SoTextureMatrixElement_createInstance() -> void""" - return _coin.SoTextureMatrixElement_createInstance(*args) - -def SoTextureMatrixElement_initClass(*args): - """SoTextureMatrixElement_initClass()""" - return _coin.SoTextureMatrixElement_initClass(*args) - -def SoTextureMatrixElement_makeIdentity(*args): - """SoTextureMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoTextureMatrixElement_makeIdentity(*args) - -def SoTextureMatrixElement_set(*args): - """SoTextureMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_set(*args) - -def SoTextureMatrixElement_mult(*args): - """SoTextureMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_mult(*args) - -def SoTextureMatrixElement_translateBy(*args): - """SoTextureMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoTextureMatrixElement_translateBy(*args) - -def SoTextureMatrixElement_rotateBy(*args): - """SoTextureMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoTextureMatrixElement_rotateBy(*args) - -def SoTextureMatrixElement_scaleBy(*args): - """SoTextureMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoTextureMatrixElement_scaleBy(*args) - -def SoTextureMatrixElement_get(*args): - """SoTextureMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoTextureMatrixElement_get(*args) - -def SoTextureMatrixElement_emptyMatrix(*args): - """SoTextureMatrixElement_emptyMatrix(SoState state)""" - return _coin.SoTextureMatrixElement_emptyMatrix(*args) - -class SoGLTextureMatrixElement(SoTextureMatrixElement): - """Proxy of C++ SoGLTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureMatrixElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureMatrixElement_pop(*args) - - def setEltIdentity(*args): - """setEltIdentity()""" - return _coin.SoGLTextureMatrixElement_setEltIdentity(*args) - - setEltIdentity = staticmethod(setEltIdentity) - def setElt(*args): - """setElt(self, SbMatrix matrix)""" - return _coin.SoGLTextureMatrixElement_setElt(*args) - - def makeEltIdentity(*args): - """makeEltIdentity(self)""" - return _coin.SoGLTextureMatrixElement_makeEltIdentity(*args) - - def multElt(*args): - """multElt(self, SbMatrix matrix)""" - return _coin.SoGLTextureMatrixElement_multElt(*args) - - def translateEltBy(*args): - """translateEltBy(self, SbVec3f translation)""" - return _coin.SoGLTextureMatrixElement_translateEltBy(*args) - - def rotateEltBy(*args): - """rotateEltBy(self, SbRotation translation)""" - return _coin.SoGLTextureMatrixElement_rotateEltBy(*args) - - def scaleEltBy(*args): - """scaleEltBy(self, SbVec3f scaleFactor)""" - return _coin.SoGLTextureMatrixElement_scaleEltBy(*args) - -SoGLTextureMatrixElement_swigregister = _coin.SoGLTextureMatrixElement_swigregister -SoGLTextureMatrixElement_swigregister(SoGLTextureMatrixElement) - -def SoGLTextureMatrixElement_getClassTypeId(*args): - """SoGLTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureMatrixElement_getClassTypeId(*args) - -def SoGLTextureMatrixElement_getClassStackIndex(*args): - """SoGLTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureMatrixElement_getClassStackIndex(*args) - -def SoGLTextureMatrixElement_createInstance(*args): - """SoGLTextureMatrixElement_createInstance() -> void""" - return _coin.SoGLTextureMatrixElement_createInstance(*args) - -def SoGLTextureMatrixElement_initClass(*args): - """SoGLTextureMatrixElement_initClass()""" - return _coin.SoGLTextureMatrixElement_initClass(*args) - -def SoGLTextureMatrixElement_setEltIdentity(*args): - """SoGLTextureMatrixElement_setEltIdentity()""" - return _coin.SoGLTextureMatrixElement_setEltIdentity(*args) - -class SoGLDrawStyleElement(SoDrawStyleElement): - """Proxy of C++ SoGLDrawStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLDrawStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLDrawStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLDrawStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLDrawStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLDrawStyleElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLDrawStyleElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLDrawStyleElement_pop(*args) - -SoGLDrawStyleElement_swigregister = _coin.SoGLDrawStyleElement_swigregister -SoGLDrawStyleElement_swigregister(SoGLDrawStyleElement) - -def SoGLDrawStyleElement_getClassTypeId(*args): - """SoGLDrawStyleElement_getClassTypeId() -> SoType""" - return _coin.SoGLDrawStyleElement_getClassTypeId(*args) - -def SoGLDrawStyleElement_getClassStackIndex(*args): - """SoGLDrawStyleElement_getClassStackIndex() -> int""" - return _coin.SoGLDrawStyleElement_getClassStackIndex(*args) - -def SoGLDrawStyleElement_createInstance(*args): - """SoGLDrawStyleElement_createInstance() -> void""" - return _coin.SoGLDrawStyleElement_createInstance(*args) - -def SoGLDrawStyleElement_initClass(*args): - """SoGLDrawStyleElement_initClass()""" - return _coin.SoGLDrawStyleElement_initClass(*args) - -class SoGLLightIdElement(SoInt32Element): - """Proxy of C++ SoGLLightIdElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLightIdElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLightIdElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLightIdElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLightIdElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLightIdElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLightIdElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLightIdElement_pop(*args) - - def increment(*args): - """ - increment(SoState state, SoNode node) -> int32_t - increment(SoState state) -> int32_t - """ - return _coin.SoGLLightIdElement_increment(*args) - - increment = staticmethod(increment) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoGLLightIdElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoGLLightIdElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def getMaxGLSources(*args): - """getMaxGLSources() -> int32_t""" - return _coin.SoGLLightIdElement_getMaxGLSources(*args) - - getMaxGLSources = staticmethod(getMaxGLSources) -SoGLLightIdElement_swigregister = _coin.SoGLLightIdElement_swigregister -SoGLLightIdElement_swigregister(SoGLLightIdElement) - -def SoGLLightIdElement_getClassTypeId(*args): - """SoGLLightIdElement_getClassTypeId() -> SoType""" - return _coin.SoGLLightIdElement_getClassTypeId(*args) - -def SoGLLightIdElement_getClassStackIndex(*args): - """SoGLLightIdElement_getClassStackIndex() -> int""" - return _coin.SoGLLightIdElement_getClassStackIndex(*args) - -def SoGLLightIdElement_createInstance(*args): - """SoGLLightIdElement_createInstance() -> void""" - return _coin.SoGLLightIdElement_createInstance(*args) - -def SoGLLightIdElement_initClass(*args): - """SoGLLightIdElement_initClass()""" - return _coin.SoGLLightIdElement_initClass(*args) - -def SoGLLightIdElement_increment(*args): - """ - increment(SoState state, SoNode node) -> int32_t - SoGLLightIdElement_increment(SoState state) -> int32_t - """ - return _coin.SoGLLightIdElement_increment(*args) - -def SoGLLightIdElement_get(*args): - """SoGLLightIdElement_get(SoState state) -> int32_t""" - return _coin.SoGLLightIdElement_get(*args) - -def SoGLLightIdElement_getDefault(*args): - """SoGLLightIdElement_getDefault() -> int32_t""" - return _coin.SoGLLightIdElement_getDefault(*args) - -def SoGLLightIdElement_getMaxGLSources(*args): - """SoGLLightIdElement_getMaxGLSources() -> int32_t""" - return _coin.SoGLLightIdElement_getMaxGLSources(*args) - -class SoTextureEnabledElement(SoInt32Element): - """Proxy of C++ SoTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureEnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTextureEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTextureEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoTextureEnabledElement_setElt(*args) - -SoTextureEnabledElement_swigregister = _coin.SoTextureEnabledElement_swigregister -SoTextureEnabledElement_swigregister(SoTextureEnabledElement) - -def SoTextureEnabledElement_getClassTypeId(*args): - """SoTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTextureEnabledElement_getClassTypeId(*args) - -def SoTextureEnabledElement_getClassStackIndex(*args): - """SoTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoTextureEnabledElement_getClassStackIndex(*args) - -def SoTextureEnabledElement_createInstance(*args): - """SoTextureEnabledElement_createInstance() -> void""" - return _coin.SoTextureEnabledElement_createInstance(*args) - -def SoTextureEnabledElement_initClass(*args): - """SoTextureEnabledElement_initClass()""" - return _coin.SoTextureEnabledElement_initClass(*args) - -def SoTextureEnabledElement_set(*args): - """SoTextureEnabledElement_set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTextureEnabledElement_set(*args) - -def SoTextureEnabledElement_get(*args): - """SoTextureEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTextureEnabledElement_get(*args) - -def SoTextureEnabledElement_getDefault(*args): - """SoTextureEnabledElement_getDefault() -> SbBool""" - return _coin.SoTextureEnabledElement_getDefault(*args) - -class SoGLTextureEnabledElement(SoTextureEnabledElement): - """Proxy of C++ SoGLTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - DISABLED = _coin.SoGLTextureEnabledElement_DISABLED - TEXTURE2D = _coin.SoGLTextureEnabledElement_TEXTURE2D - RECTANGLE = _coin.SoGLTextureEnabledElement_RECTANGLE - CUBEMAP = _coin.SoGLTextureEnabledElement_CUBEMAP - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureEnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoGLTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoGLTextureEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoGLTextureEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoGLTextureEnabledElement_setElt(*args) - - def enableRectangle(*args): - """enableRectangle(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableRectangle(*args) - - enableRectangle = staticmethod(enableRectangle) - def enableCubeMap(*args): - """enableCubeMap(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableCubeMap(*args) - - enableCubeMap = staticmethod(enableCubeMap) - def getMode(*args): - """getMode(SoState state) -> Mode""" - return _coin.SoGLTextureEnabledElement_getMode(*args) - - getMode = staticmethod(getMode) -SoGLTextureEnabledElement_swigregister = _coin.SoGLTextureEnabledElement_swigregister -SoGLTextureEnabledElement_swigregister(SoGLTextureEnabledElement) - -def SoGLTextureEnabledElement_getClassTypeId(*args): - """SoGLTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureEnabledElement_getClassTypeId(*args) - -def SoGLTextureEnabledElement_getClassStackIndex(*args): - """SoGLTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureEnabledElement_getClassStackIndex(*args) - -def SoGLTextureEnabledElement_createInstance(*args): - """SoGLTextureEnabledElement_createInstance() -> void""" - return _coin.SoGLTextureEnabledElement_createInstance(*args) - -def SoGLTextureEnabledElement_initClass(*args): - """SoGLTextureEnabledElement_initClass()""" - return _coin.SoGLTextureEnabledElement_initClass(*args) - -def SoGLTextureEnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoGLTextureEnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoGLTextureEnabledElement_set(*args) - -def SoGLTextureEnabledElement_get(*args): - """SoGLTextureEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoGLTextureEnabledElement_get(*args) - -def SoGLTextureEnabledElement_getDefault(*args): - """SoGLTextureEnabledElement_getDefault() -> SbBool""" - return _coin.SoGLTextureEnabledElement_getDefault(*args) - -def SoGLTextureEnabledElement_enableRectangle(*args): - """SoGLTextureEnabledElement_enableRectangle(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableRectangle(*args) - -def SoGLTextureEnabledElement_enableCubeMap(*args): - """SoGLTextureEnabledElement_enableCubeMap(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableCubeMap(*args) - -def SoGLTextureEnabledElement_getMode(*args): - """SoGLTextureEnabledElement_getMode(SoState state) -> Mode""" - return _coin.SoGLTextureEnabledElement_getMode(*args) - -class SoTexture3EnabledElement(SoInt32Element): - """Proxy of C++ SoTexture3EnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3EnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTexture3EnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTexture3EnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTexture3EnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTexture3EnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTexture3EnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTexture3EnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTexture3EnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoTexture3EnabledElement_setElt(*args) - -SoTexture3EnabledElement_swigregister = _coin.SoTexture3EnabledElement_swigregister -SoTexture3EnabledElement_swigregister(SoTexture3EnabledElement) - -def SoTexture3EnabledElement_getClassTypeId(*args): - """SoTexture3EnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTexture3EnabledElement_getClassTypeId(*args) - -def SoTexture3EnabledElement_getClassStackIndex(*args): - """SoTexture3EnabledElement_getClassStackIndex() -> int""" - return _coin.SoTexture3EnabledElement_getClassStackIndex(*args) - -def SoTexture3EnabledElement_createInstance(*args): - """SoTexture3EnabledElement_createInstance() -> void""" - return _coin.SoTexture3EnabledElement_createInstance(*args) - -def SoTexture3EnabledElement_initClass(*args): - """SoTexture3EnabledElement_initClass()""" - return _coin.SoTexture3EnabledElement_initClass(*args) - -def SoTexture3EnabledElement_set(*args): - """SoTexture3EnabledElement_set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTexture3EnabledElement_set(*args) - -def SoTexture3EnabledElement_get(*args): - """SoTexture3EnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTexture3EnabledElement_get(*args) - -def SoTexture3EnabledElement_getDefault(*args): - """SoTexture3EnabledElement_getDefault() -> SbBool""" - return _coin.SoTexture3EnabledElement_getDefault(*args) - -class SoGLTexture3EnabledElement(SoTexture3EnabledElement): - """Proxy of C++ SoGLTexture3EnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTexture3EnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTexture3EnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTexture3EnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTexture3EnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTexture3EnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTexture3EnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTexture3EnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoGLTexture3EnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoGLTexture3EnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoGLTexture3EnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoGLTexture3EnabledElement_setElt(*args) - -SoGLTexture3EnabledElement_swigregister = _coin.SoGLTexture3EnabledElement_swigregister -SoGLTexture3EnabledElement_swigregister(SoGLTexture3EnabledElement) - -def SoGLTexture3EnabledElement_getClassTypeId(*args): - """SoGLTexture3EnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLTexture3EnabledElement_getClassTypeId(*args) - -def SoGLTexture3EnabledElement_getClassStackIndex(*args): - """SoGLTexture3EnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLTexture3EnabledElement_getClassStackIndex(*args) - -def SoGLTexture3EnabledElement_createInstance(*args): - """SoGLTexture3EnabledElement_createInstance() -> void""" - return _coin.SoGLTexture3EnabledElement_createInstance(*args) - -def SoGLTexture3EnabledElement_initClass(*args): - """SoGLTexture3EnabledElement_initClass()""" - return _coin.SoGLTexture3EnabledElement_initClass(*args) - -def SoGLTexture3EnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoGLTexture3EnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoGLTexture3EnabledElement_set(*args) - -def SoGLTexture3EnabledElement_get(*args): - """SoGLTexture3EnabledElement_get(SoState state) -> SbBool""" - return _coin.SoGLTexture3EnabledElement_get(*args) - -def SoGLTexture3EnabledElement_getDefault(*args): - """SoGLTexture3EnabledElement_getDefault() -> SbBool""" - return _coin.SoGLTexture3EnabledElement_getDefault(*args) - -class SoLinePatternElement(SoInt32Element): - """Proxy of C++ SoLinePatternElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLinePatternElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLinePatternElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLinePatternElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLinePatternElement_initClass(*args) - - initClass = staticmethod(initClass) - CONTINUOUS = _coin.SoLinePatternElement_CONTINUOUS - def init(*args): - """init(self, SoState state)""" - return _coin.SoLinePatternElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t pattern) - set(SoState state, int32_t pattern) - """ - return _coin.SoLinePatternElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoLinePatternElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoLinePatternElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoLinePatternElement_swigregister = _coin.SoLinePatternElement_swigregister -SoLinePatternElement_swigregister(SoLinePatternElement) - -def SoLinePatternElement_getClassTypeId(*args): - """SoLinePatternElement_getClassTypeId() -> SoType""" - return _coin.SoLinePatternElement_getClassTypeId(*args) - -def SoLinePatternElement_getClassStackIndex(*args): - """SoLinePatternElement_getClassStackIndex() -> int""" - return _coin.SoLinePatternElement_getClassStackIndex(*args) - -def SoLinePatternElement_createInstance(*args): - """SoLinePatternElement_createInstance() -> void""" - return _coin.SoLinePatternElement_createInstance(*args) - -def SoLinePatternElement_initClass(*args): - """SoLinePatternElement_initClass()""" - return _coin.SoLinePatternElement_initClass(*args) - -def SoLinePatternElement_set(*args): - """ - set(SoState state, SoNode node, int32_t pattern) - SoLinePatternElement_set(SoState state, int32_t pattern) - """ - return _coin.SoLinePatternElement_set(*args) - -def SoLinePatternElement_get(*args): - """SoLinePatternElement_get(SoState state) -> int32_t""" - return _coin.SoLinePatternElement_get(*args) - -def SoLinePatternElement_getDefault(*args): - """SoLinePatternElement_getDefault() -> int32_t""" - return _coin.SoLinePatternElement_getDefault(*args) - -class SoGLLinePatternElement(SoLinePatternElement): - """Proxy of C++ SoGLLinePatternElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLinePatternElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLinePatternElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLinePatternElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLinePatternElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLinePatternElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLinePatternElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLinePatternElement_pop(*args) - -SoGLLinePatternElement_swigregister = _coin.SoGLLinePatternElement_swigregister -SoGLLinePatternElement_swigregister(SoGLLinePatternElement) - -def SoGLLinePatternElement_getClassTypeId(*args): - """SoGLLinePatternElement_getClassTypeId() -> SoType""" - return _coin.SoGLLinePatternElement_getClassTypeId(*args) - -def SoGLLinePatternElement_getClassStackIndex(*args): - """SoGLLinePatternElement_getClassStackIndex() -> int""" - return _coin.SoGLLinePatternElement_getClassStackIndex(*args) - -def SoGLLinePatternElement_createInstance(*args): - """SoGLLinePatternElement_createInstance() -> void""" - return _coin.SoGLLinePatternElement_createInstance(*args) - -def SoGLLinePatternElement_initClass(*args): - """SoGLLinePatternElement_initClass()""" - return _coin.SoGLLinePatternElement_initClass(*args) - -class SoSwitchElement(SoInt32Element): - """Proxy of C++ SoSwitchElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSwitchElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSwitchElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSwitchElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSwitchElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSwitchElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t index) - set(SoState state, int32_t index) - """ - return _coin.SoSwitchElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoSwitchElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoSwitchElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoSwitchElement_swigregister = _coin.SoSwitchElement_swigregister -SoSwitchElement_swigregister(SoSwitchElement) - -def SoSwitchElement_getClassTypeId(*args): - """SoSwitchElement_getClassTypeId() -> SoType""" - return _coin.SoSwitchElement_getClassTypeId(*args) - -def SoSwitchElement_getClassStackIndex(*args): - """SoSwitchElement_getClassStackIndex() -> int""" - return _coin.SoSwitchElement_getClassStackIndex(*args) - -def SoSwitchElement_createInstance(*args): - """SoSwitchElement_createInstance() -> void""" - return _coin.SoSwitchElement_createInstance(*args) - -def SoSwitchElement_initClass(*args): - """SoSwitchElement_initClass()""" - return _coin.SoSwitchElement_initClass(*args) - -def SoSwitchElement_set(*args): - """ - set(SoState state, SoNode node, int32_t index) - SoSwitchElement_set(SoState state, int32_t index) - """ - return _coin.SoSwitchElement_set(*args) - -def SoSwitchElement_get(*args): - """SoSwitchElement_get(SoState state) -> int32_t""" - return _coin.SoSwitchElement_get(*args) - -def SoSwitchElement_getDefault(*args): - """SoSwitchElement_getDefault() -> int32_t""" - return _coin.SoSwitchElement_getDefault(*args) - -class SoTextOutlineEnabledElement(SoInt32Element): - """Proxy of C++ SoTextOutlineEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextOutlineEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextOutlineEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextOutlineEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextOutlineEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextOutlineEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextOutlineEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoTextOutlineEnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoTextOutlineEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTextOutlineEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTextOutlineEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextOutlineEnabledElement_swigregister = _coin.SoTextOutlineEnabledElement_swigregister -SoTextOutlineEnabledElement_swigregister(SoTextOutlineEnabledElement) - -def SoTextOutlineEnabledElement_getClassTypeId(*args): - """SoTextOutlineEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTextOutlineEnabledElement_getClassTypeId(*args) - -def SoTextOutlineEnabledElement_getClassStackIndex(*args): - """SoTextOutlineEnabledElement_getClassStackIndex() -> int""" - return _coin.SoTextOutlineEnabledElement_getClassStackIndex(*args) - -def SoTextOutlineEnabledElement_createInstance(*args): - """SoTextOutlineEnabledElement_createInstance() -> void""" - return _coin.SoTextOutlineEnabledElement_createInstance(*args) - -def SoTextOutlineEnabledElement_initClass(*args): - """SoTextOutlineEnabledElement_initClass()""" - return _coin.SoTextOutlineEnabledElement_initClass(*args) - -def SoTextOutlineEnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoTextOutlineEnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoTextOutlineEnabledElement_set(*args) - -def SoTextOutlineEnabledElement_get(*args): - """SoTextOutlineEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTextOutlineEnabledElement_get(*args) - -def SoTextOutlineEnabledElement_getDefault(*args): - """SoTextOutlineEnabledElement_getDefault() -> SbBool""" - return _coin.SoTextOutlineEnabledElement_getDefault(*args) - -class SoUnitsElement(SoInt32Element): - """Proxy of C++ SoUnitsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoUnitsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoUnitsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoUnitsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoUnitsElement_initClass(*args) - - initClass = staticmethod(initClass) - METERS = _coin.SoUnitsElement_METERS - CENTIMETERS = _coin.SoUnitsElement_CENTIMETERS - MILLIMETERS = _coin.SoUnitsElement_MILLIMETERS - MICROMETERS = _coin.SoUnitsElement_MICROMETERS - MICRONS = _coin.SoUnitsElement_MICRONS - NANOMETERS = _coin.SoUnitsElement_NANOMETERS - ANGSTROMS = _coin.SoUnitsElement_ANGSTROMS - KILOMETERS = _coin.SoUnitsElement_KILOMETERS - FEET = _coin.SoUnitsElement_FEET - INCHES = _coin.SoUnitsElement_INCHES - POINTS = _coin.SoUnitsElement_POINTS - YARDS = _coin.SoUnitsElement_YARDS - MILES = _coin.SoUnitsElement_MILES - NAUTICAL_MILES = _coin.SoUnitsElement_NAUTICAL_MILES - def init(*args): - """init(self, SoState state)""" - return _coin.SoUnitsElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Units units) - set(SoState state, Units units) - """ - return _coin.SoUnitsElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Units""" - return _coin.SoUnitsElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Units""" - return _coin.SoUnitsElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoUnitsElement_swigregister = _coin.SoUnitsElement_swigregister -SoUnitsElement_swigregister(SoUnitsElement) - -def SoUnitsElement_getClassTypeId(*args): - """SoUnitsElement_getClassTypeId() -> SoType""" - return _coin.SoUnitsElement_getClassTypeId(*args) - -def SoUnitsElement_getClassStackIndex(*args): - """SoUnitsElement_getClassStackIndex() -> int""" - return _coin.SoUnitsElement_getClassStackIndex(*args) - -def SoUnitsElement_createInstance(*args): - """SoUnitsElement_createInstance() -> void""" - return _coin.SoUnitsElement_createInstance(*args) - -def SoUnitsElement_initClass(*args): - """SoUnitsElement_initClass()""" - return _coin.SoUnitsElement_initClass(*args) - -def SoUnitsElement_set(*args): - """ - set(SoState state, SoNode node, Units units) - SoUnitsElement_set(SoState state, Units units) - """ - return _coin.SoUnitsElement_set(*args) - -def SoUnitsElement_get(*args): - """SoUnitsElement_get(SoState state) -> Units""" - return _coin.SoUnitsElement_get(*args) - -def SoUnitsElement_getDefault(*args): - """SoUnitsElement_getDefault() -> Units""" - return _coin.SoUnitsElement_getDefault(*args) - -class SoFocalDistanceElement(SoFloatElement): - """Proxy of C++ SoFocalDistanceElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFocalDistanceElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFocalDistanceElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFocalDistanceElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFocalDistanceElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFocalDistanceElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float distance) - set(SoState state, float distance) - """ - return _coin.SoFocalDistanceElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoFocalDistanceElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoFocalDistanceElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoFocalDistanceElement_swigregister = _coin.SoFocalDistanceElement_swigregister -SoFocalDistanceElement_swigregister(SoFocalDistanceElement) - -def SoFocalDistanceElement_getClassTypeId(*args): - """SoFocalDistanceElement_getClassTypeId() -> SoType""" - return _coin.SoFocalDistanceElement_getClassTypeId(*args) - -def SoFocalDistanceElement_getClassStackIndex(*args): - """SoFocalDistanceElement_getClassStackIndex() -> int""" - return _coin.SoFocalDistanceElement_getClassStackIndex(*args) - -def SoFocalDistanceElement_createInstance(*args): - """SoFocalDistanceElement_createInstance() -> void""" - return _coin.SoFocalDistanceElement_createInstance(*args) - -def SoFocalDistanceElement_initClass(*args): - """SoFocalDistanceElement_initClass()""" - return _coin.SoFocalDistanceElement_initClass(*args) - -def SoFocalDistanceElement_set(*args): - """ - set(SoState state, SoNode node, float distance) - SoFocalDistanceElement_set(SoState state, float distance) - """ - return _coin.SoFocalDistanceElement_set(*args) - -def SoFocalDistanceElement_get(*args): - """SoFocalDistanceElement_get(SoState state) -> float""" - return _coin.SoFocalDistanceElement_get(*args) - -def SoFocalDistanceElement_getDefault(*args): - """SoFocalDistanceElement_getDefault() -> float""" - return _coin.SoFocalDistanceElement_getDefault(*args) - -class SoFontSizeElement(SoFloatElement): - """Proxy of C++ SoFontSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFontSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFontSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFontSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFontSizeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float fontSize) - set(SoState state, float fontSize) - """ - return _coin.SoFontSizeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoFontSizeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoFontSizeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoFontSizeElement_swigregister = _coin.SoFontSizeElement_swigregister -SoFontSizeElement_swigregister(SoFontSizeElement) - -def SoFontSizeElement_getClassTypeId(*args): - """SoFontSizeElement_getClassTypeId() -> SoType""" - return _coin.SoFontSizeElement_getClassTypeId(*args) - -def SoFontSizeElement_getClassStackIndex(*args): - """SoFontSizeElement_getClassStackIndex() -> int""" - return _coin.SoFontSizeElement_getClassStackIndex(*args) - -def SoFontSizeElement_createInstance(*args): - """SoFontSizeElement_createInstance() -> void""" - return _coin.SoFontSizeElement_createInstance(*args) - -def SoFontSizeElement_initClass(*args): - """SoFontSizeElement_initClass()""" - return _coin.SoFontSizeElement_initClass(*args) - -def SoFontSizeElement_set(*args): - """ - set(SoState state, SoNode node, float fontSize) - SoFontSizeElement_set(SoState state, float fontSize) - """ - return _coin.SoFontSizeElement_set(*args) - -def SoFontSizeElement_get(*args): - """SoFontSizeElement_get(SoState state) -> float""" - return _coin.SoFontSizeElement_get(*args) - -def SoFontSizeElement_getDefault(*args): - """SoFontSizeElement_getDefault() -> float""" - return _coin.SoFontSizeElement_getDefault(*args) - -class SoLineWidthElement(SoFloatElement): - """Proxy of C++ SoLineWidthElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineWidthElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLineWidthElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLineWidthElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLineWidthElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLineWidthElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float lineWidth) - set(SoState state, float lineWidth) - """ - return _coin.SoLineWidthElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoLineWidthElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoLineWidthElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoLineWidthElement_swigregister = _coin.SoLineWidthElement_swigregister -SoLineWidthElement_swigregister(SoLineWidthElement) - -def SoLineWidthElement_getClassTypeId(*args): - """SoLineWidthElement_getClassTypeId() -> SoType""" - return _coin.SoLineWidthElement_getClassTypeId(*args) - -def SoLineWidthElement_getClassStackIndex(*args): - """SoLineWidthElement_getClassStackIndex() -> int""" - return _coin.SoLineWidthElement_getClassStackIndex(*args) - -def SoLineWidthElement_createInstance(*args): - """SoLineWidthElement_createInstance() -> void""" - return _coin.SoLineWidthElement_createInstance(*args) - -def SoLineWidthElement_initClass(*args): - """SoLineWidthElement_initClass()""" - return _coin.SoLineWidthElement_initClass(*args) - -def SoLineWidthElement_set(*args): - """ - set(SoState state, SoNode node, float lineWidth) - SoLineWidthElement_set(SoState state, float lineWidth) - """ - return _coin.SoLineWidthElement_set(*args) - -def SoLineWidthElement_get(*args): - """SoLineWidthElement_get(SoState state) -> float""" - return _coin.SoLineWidthElement_get(*args) - -def SoLineWidthElement_getDefault(*args): - """SoLineWidthElement_getDefault() -> float""" - return _coin.SoLineWidthElement_getDefault(*args) - -class SoGLLineWidthElement(SoLineWidthElement): - """Proxy of C++ SoGLLineWidthElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLineWidthElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLineWidthElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLineWidthElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLineWidthElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLineWidthElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLineWidthElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLineWidthElement_pop(*args) - -SoGLLineWidthElement_swigregister = _coin.SoGLLineWidthElement_swigregister -SoGLLineWidthElement_swigregister(SoGLLineWidthElement) - -def SoGLLineWidthElement_getClassTypeId(*args): - """SoGLLineWidthElement_getClassTypeId() -> SoType""" - return _coin.SoGLLineWidthElement_getClassTypeId(*args) - -def SoGLLineWidthElement_getClassStackIndex(*args): - """SoGLLineWidthElement_getClassStackIndex() -> int""" - return _coin.SoGLLineWidthElement_getClassStackIndex(*args) - -def SoGLLineWidthElement_createInstance(*args): - """SoGLLineWidthElement_createInstance() -> void""" - return _coin.SoGLLineWidthElement_createInstance(*args) - -def SoGLLineWidthElement_initClass(*args): - """SoGLLineWidthElement_initClass()""" - return _coin.SoGLLineWidthElement_initClass(*args) - -class SoPointSizeElement(SoFloatElement): - """Proxy of C++ SoPointSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPointSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPointSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPointSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoPointSizeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float pointSize) - set(SoState state, float pointSize) - """ - return _coin.SoPointSizeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoPointSizeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoPointSizeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPointSizeElement_swigregister = _coin.SoPointSizeElement_swigregister -SoPointSizeElement_swigregister(SoPointSizeElement) - -def SoPointSizeElement_getClassTypeId(*args): - """SoPointSizeElement_getClassTypeId() -> SoType""" - return _coin.SoPointSizeElement_getClassTypeId(*args) - -def SoPointSizeElement_getClassStackIndex(*args): - """SoPointSizeElement_getClassStackIndex() -> int""" - return _coin.SoPointSizeElement_getClassStackIndex(*args) - -def SoPointSizeElement_createInstance(*args): - """SoPointSizeElement_createInstance() -> void""" - return _coin.SoPointSizeElement_createInstance(*args) - -def SoPointSizeElement_initClass(*args): - """SoPointSizeElement_initClass()""" - return _coin.SoPointSizeElement_initClass(*args) - -def SoPointSizeElement_set(*args): - """ - set(SoState state, SoNode node, float pointSize) - SoPointSizeElement_set(SoState state, float pointSize) - """ - return _coin.SoPointSizeElement_set(*args) - -def SoPointSizeElement_get(*args): - """SoPointSizeElement_get(SoState state) -> float""" - return _coin.SoPointSizeElement_get(*args) - -def SoPointSizeElement_getDefault(*args): - """SoPointSizeElement_getDefault() -> float""" - return _coin.SoPointSizeElement_getDefault(*args) - -class SoGLPointSizeElement(SoPointSizeElement): - """Proxy of C++ SoGLPointSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLPointSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLPointSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLPointSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLPointSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLPointSizeElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLPointSizeElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLPointSizeElement_pop(*args) - -SoGLPointSizeElement_swigregister = _coin.SoGLPointSizeElement_swigregister -SoGLPointSizeElement_swigregister(SoGLPointSizeElement) - -def SoGLPointSizeElement_getClassTypeId(*args): - """SoGLPointSizeElement_getClassTypeId() -> SoType""" - return _coin.SoGLPointSizeElement_getClassTypeId(*args) - -def SoGLPointSizeElement_getClassStackIndex(*args): - """SoGLPointSizeElement_getClassStackIndex() -> int""" - return _coin.SoGLPointSizeElement_getClassStackIndex(*args) - -def SoGLPointSizeElement_createInstance(*args): - """SoGLPointSizeElement_createInstance() -> void""" - return _coin.SoGLPointSizeElement_createInstance(*args) - -def SoGLPointSizeElement_initClass(*args): - """SoGLPointSizeElement_initClass()""" - return _coin.SoGLPointSizeElement_initClass(*args) - -class SoTextureQualityElement(SoFloatElement): - """Proxy of C++ SoTextureQualityElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureQualityElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureQualityElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureQualityElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureQualityElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureQualityElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float quality) - set(SoState state, float quality) - """ - return _coin.SoTextureQualityElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoTextureQualityElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoTextureQualityElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureQualityElement_swigregister = _coin.SoTextureQualityElement_swigregister -SoTextureQualityElement_swigregister(SoTextureQualityElement) - -def SoTextureQualityElement_getClassTypeId(*args): - """SoTextureQualityElement_getClassTypeId() -> SoType""" - return _coin.SoTextureQualityElement_getClassTypeId(*args) - -def SoTextureQualityElement_getClassStackIndex(*args): - """SoTextureQualityElement_getClassStackIndex() -> int""" - return _coin.SoTextureQualityElement_getClassStackIndex(*args) - -def SoTextureQualityElement_createInstance(*args): - """SoTextureQualityElement_createInstance() -> void""" - return _coin.SoTextureQualityElement_createInstance(*args) - -def SoTextureQualityElement_initClass(*args): - """SoTextureQualityElement_initClass()""" - return _coin.SoTextureQualityElement_initClass(*args) - -def SoTextureQualityElement_set(*args): - """ - set(SoState state, SoNode node, float quality) - SoTextureQualityElement_set(SoState state, float quality) - """ - return _coin.SoTextureQualityElement_set(*args) - -def SoTextureQualityElement_get(*args): - """SoTextureQualityElement_get(SoState state) -> float""" - return _coin.SoTextureQualityElement_get(*args) - -def SoTextureQualityElement_getDefault(*args): - """SoTextureQualityElement_getDefault() -> float""" - return _coin.SoTextureQualityElement_getDefault(*args) - -class SoTextureOverrideElement(SoElement): - """Proxy of C++ SoTextureOverrideElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureOverrideElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureOverrideElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureOverrideElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureOverrideElement_initClass(*args) - - initClass = staticmethod(initClass) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoTextureOverrideElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoTextureOverrideElement_copyMatchInfo(*args) - - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureOverrideElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureOverrideElement_push(*args) - - def getQualityOverride(*args): - """getQualityOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getQualityOverride(*args) - - getQualityOverride = staticmethod(getQualityOverride) - def getImageOverride(*args): - """getImageOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getImageOverride(*args) - - getImageOverride = staticmethod(getImageOverride) - def getBumpMapOverride(*args): - """getBumpMapOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getBumpMapOverride(*args) - - getBumpMapOverride = staticmethod(getBumpMapOverride) - def setQualityOverride(*args): - """setQualityOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setQualityOverride(*args) - - setQualityOverride = staticmethod(setQualityOverride) - def setImageOverride(*args): - """setImageOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setImageOverride(*args) - - setImageOverride = staticmethod(setImageOverride) - def setBumpMapOverride(*args): - """setBumpMapOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setBumpMapOverride(*args) - - setBumpMapOverride = staticmethod(setBumpMapOverride) - def output(*args): - """output(self, FILE fp)""" - return _coin.SoTextureOverrideElement_output(*args) - -SoTextureOverrideElement_swigregister = _coin.SoTextureOverrideElement_swigregister -SoTextureOverrideElement_swigregister(SoTextureOverrideElement) - -def SoTextureOverrideElement_getClassTypeId(*args): - """SoTextureOverrideElement_getClassTypeId() -> SoType""" - return _coin.SoTextureOverrideElement_getClassTypeId(*args) - -def SoTextureOverrideElement_getClassStackIndex(*args): - """SoTextureOverrideElement_getClassStackIndex() -> int""" - return _coin.SoTextureOverrideElement_getClassStackIndex(*args) - -def SoTextureOverrideElement_createInstance(*args): - """SoTextureOverrideElement_createInstance() -> void""" - return _coin.SoTextureOverrideElement_createInstance(*args) - -def SoTextureOverrideElement_initClass(*args): - """SoTextureOverrideElement_initClass()""" - return _coin.SoTextureOverrideElement_initClass(*args) - -def SoTextureOverrideElement_getQualityOverride(*args): - """SoTextureOverrideElement_getQualityOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getQualityOverride(*args) - -def SoTextureOverrideElement_getImageOverride(*args): - """SoTextureOverrideElement_getImageOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getImageOverride(*args) - -def SoTextureOverrideElement_getBumpMapOverride(*args): - """SoTextureOverrideElement_getBumpMapOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getBumpMapOverride(*args) - -def SoTextureOverrideElement_setQualityOverride(*args): - """SoTextureOverrideElement_setQualityOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setQualityOverride(*args) - -def SoTextureOverrideElement_setImageOverride(*args): - """SoTextureOverrideElement_setImageOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setImageOverride(*args) - -def SoTextureOverrideElement_setBumpMapOverride(*args): - """SoTextureOverrideElement_setBumpMapOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setBumpMapOverride(*args) - -class SoGLRenderPassElement(SoElement): - """Proxy of C++ SoGLRenderPassElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLRenderPassElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLRenderPassElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLRenderPassElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLRenderPassElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLRenderPassElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoGLRenderPassElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLRenderPassElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, int passNumber)""" - return _coin.SoGLRenderPassElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoGLRenderPassElement_get(*args) - - get = staticmethod(get) -SoGLRenderPassElement_swigregister = _coin.SoGLRenderPassElement_swigregister -SoGLRenderPassElement_swigregister(SoGLRenderPassElement) - -def SoGLRenderPassElement_getClassTypeId(*args): - """SoGLRenderPassElement_getClassTypeId() -> SoType""" - return _coin.SoGLRenderPassElement_getClassTypeId(*args) - -def SoGLRenderPassElement_getClassStackIndex(*args): - """SoGLRenderPassElement_getClassStackIndex() -> int""" - return _coin.SoGLRenderPassElement_getClassStackIndex(*args) - -def SoGLRenderPassElement_createInstance(*args): - """SoGLRenderPassElement_createInstance() -> void""" - return _coin.SoGLRenderPassElement_createInstance(*args) - -def SoGLRenderPassElement_initClass(*args): - """SoGLRenderPassElement_initClass()""" - return _coin.SoGLRenderPassElement_initClass(*args) - -def SoGLRenderPassElement_set(*args): - """SoGLRenderPassElement_set(SoState state, int passNumber)""" - return _coin.SoGLRenderPassElement_set(*args) - -def SoGLRenderPassElement_get(*args): - """SoGLRenderPassElement_get(SoState state) -> int""" - return _coin.SoGLRenderPassElement_get(*args) - -class SoGLUpdateAreaElement(SoElement): - """Proxy of C++ SoGLUpdateAreaElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLUpdateAreaElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLUpdateAreaElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLUpdateAreaElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLUpdateAreaElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLUpdateAreaElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLUpdateAreaElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLUpdateAreaElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoGLUpdateAreaElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLUpdateAreaElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLUpdateAreaElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool""" - return _coin.SoGLUpdateAreaElement_get(*args) - - get = staticmethod(get) - def getDefaultOrigin(*args): - """getDefaultOrigin() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultOrigin(*args) - - getDefaultOrigin = staticmethod(getDefaultOrigin) - def getDefaultSize(*args): - """getDefaultSize() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultSize(*args) - - getDefaultSize = staticmethod(getDefaultSize) -SoGLUpdateAreaElement_swigregister = _coin.SoGLUpdateAreaElement_swigregister -SoGLUpdateAreaElement_swigregister(SoGLUpdateAreaElement) - -def SoGLUpdateAreaElement_getClassTypeId(*args): - """SoGLUpdateAreaElement_getClassTypeId() -> SoType""" - return _coin.SoGLUpdateAreaElement_getClassTypeId(*args) - -def SoGLUpdateAreaElement_getClassStackIndex(*args): - """SoGLUpdateAreaElement_getClassStackIndex() -> int""" - return _coin.SoGLUpdateAreaElement_getClassStackIndex(*args) - -def SoGLUpdateAreaElement_createInstance(*args): - """SoGLUpdateAreaElement_createInstance() -> void""" - return _coin.SoGLUpdateAreaElement_createInstance(*args) - -def SoGLUpdateAreaElement_initClass(*args): - """SoGLUpdateAreaElement_initClass()""" - return _coin.SoGLUpdateAreaElement_initClass(*args) - -def SoGLUpdateAreaElement_set(*args): - """SoGLUpdateAreaElement_set(SoState state, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLUpdateAreaElement_set(*args) - -def SoGLUpdateAreaElement_get(*args): - """SoGLUpdateAreaElement_get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool""" - return _coin.SoGLUpdateAreaElement_get(*args) - -def SoGLUpdateAreaElement_getDefaultOrigin(*args): - """SoGLUpdateAreaElement_getDefaultOrigin() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultOrigin(*args) - -def SoGLUpdateAreaElement_getDefaultSize(*args): - """SoGLUpdateAreaElement_getDefaultSize() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultSize(*args) - -class SoLocalBBoxMatrixElement(SoElement): - """Proxy of C++ SoLocalBBoxMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocalBBoxMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLocalBBoxMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLocalBBoxMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLocalBBoxMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLocalBBoxMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLocalBBoxMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SbVec3f translation)""" - return _coin.SoLocalBBoxMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SbRotation rotation)""" - return _coin.SoLocalBBoxMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SbVec3f scaleFactor)""" - return _coin.SoLocalBBoxMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def pushMatrix(*args): - """pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) - def resetAll(*args): - """resetAll(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_resetAll(*args) - - resetAll = staticmethod(resetAll) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_get(*args) - - get = staticmethod(get) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoLocalBBoxMatrixElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLocalBBoxMatrixElement_copyMatchInfo(*args) - -SoLocalBBoxMatrixElement_swigregister = _coin.SoLocalBBoxMatrixElement_swigregister -SoLocalBBoxMatrixElement_swigregister(SoLocalBBoxMatrixElement) - -def SoLocalBBoxMatrixElement_getClassTypeId(*args): - """SoLocalBBoxMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoLocalBBoxMatrixElement_getClassTypeId(*args) - -def SoLocalBBoxMatrixElement_getClassStackIndex(*args): - """SoLocalBBoxMatrixElement_getClassStackIndex() -> int""" - return _coin.SoLocalBBoxMatrixElement_getClassStackIndex(*args) - -def SoLocalBBoxMatrixElement_createInstance(*args): - """SoLocalBBoxMatrixElement_createInstance() -> void""" - return _coin.SoLocalBBoxMatrixElement_createInstance(*args) - -def SoLocalBBoxMatrixElement_initClass(*args): - """SoLocalBBoxMatrixElement_initClass()""" - return _coin.SoLocalBBoxMatrixElement_initClass(*args) - -def SoLocalBBoxMatrixElement_makeIdentity(*args): - """SoLocalBBoxMatrixElement_makeIdentity(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_makeIdentity(*args) - -def SoLocalBBoxMatrixElement_set(*args): - """SoLocalBBoxMatrixElement_set(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_set(*args) - -def SoLocalBBoxMatrixElement_mult(*args): - """SoLocalBBoxMatrixElement_mult(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_mult(*args) - -def SoLocalBBoxMatrixElement_translateBy(*args): - """SoLocalBBoxMatrixElement_translateBy(SoState state, SbVec3f translation)""" - return _coin.SoLocalBBoxMatrixElement_translateBy(*args) - -def SoLocalBBoxMatrixElement_rotateBy(*args): - """SoLocalBBoxMatrixElement_rotateBy(SoState state, SbRotation rotation)""" - return _coin.SoLocalBBoxMatrixElement_rotateBy(*args) - -def SoLocalBBoxMatrixElement_scaleBy(*args): - """SoLocalBBoxMatrixElement_scaleBy(SoState state, SbVec3f scaleFactor)""" - return _coin.SoLocalBBoxMatrixElement_scaleBy(*args) - -def SoLocalBBoxMatrixElement_pushMatrix(*args): - """SoLocalBBoxMatrixElement_pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_pushMatrix(*args) - -def SoLocalBBoxMatrixElement_popMatrix(*args): - """SoLocalBBoxMatrixElement_popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_popMatrix(*args) - -def SoLocalBBoxMatrixElement_resetAll(*args): - """SoLocalBBoxMatrixElement_resetAll(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_resetAll(*args) - -def SoLocalBBoxMatrixElement_get(*args): - """SoLocalBBoxMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_get(*args) - -class SoOverrideElement(SoElement): - """Proxy of C++ SoOverrideElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOverrideElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoOverrideElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOverrideElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOverrideElement_initClass(*args) - - initClass = staticmethod(initClass) - AMBIENT_COLOR = _coin.SoOverrideElement_AMBIENT_COLOR - COLOR_INDEX = _coin.SoOverrideElement_COLOR_INDEX - COMPLEXITY = _coin.SoOverrideElement_COMPLEXITY - COMPLEXITY_TYPE = _coin.SoOverrideElement_COMPLEXITY_TYPE - CREASE_ANGLE = _coin.SoOverrideElement_CREASE_ANGLE - DIFFUSE_COLOR = _coin.SoOverrideElement_DIFFUSE_COLOR - DRAW_STYLE = _coin.SoOverrideElement_DRAW_STYLE - EMISSIVE_COLOR = _coin.SoOverrideElement_EMISSIVE_COLOR - FONT_NAME = _coin.SoOverrideElement_FONT_NAME - FONT_SIZE = _coin.SoOverrideElement_FONT_SIZE - LIGHT_MODEL = _coin.SoOverrideElement_LIGHT_MODEL - LINE_PATTERN = _coin.SoOverrideElement_LINE_PATTERN - LINE_WIDTH = _coin.SoOverrideElement_LINE_WIDTH - MATERIAL_BINDING = _coin.SoOverrideElement_MATERIAL_BINDING - POINT_SIZE = _coin.SoOverrideElement_POINT_SIZE - PICK_STYLE = _coin.SoOverrideElement_PICK_STYLE - SHAPE_HINTS = _coin.SoOverrideElement_SHAPE_HINTS - SHININESS = _coin.SoOverrideElement_SHININESS - SPECULAR_COLOR = _coin.SoOverrideElement_SPECULAR_COLOR - POLYGON_OFFSET = _coin.SoOverrideElement_POLYGON_OFFSET - TRANSPARENCY = _coin.SoOverrideElement_TRANSPARENCY - TRANSPARENCY_TYPE = _coin.SoOverrideElement_TRANSPARENCY_TYPE - NORMAL_VECTOR = _coin.SoOverrideElement_NORMAL_VECTOR - NORMAL_BINDING = _coin.SoOverrideElement_NORMAL_BINDING - def init(*args): - """init(self, SoState state)""" - return _coin.SoOverrideElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoOverrideElement_push(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoOverrideElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoOverrideElement_copyMatchInfo(*args) - - def getFlags(*args): - """getFlags(SoState state) -> uint32_t""" - return _coin.SoOverrideElement_getFlags(*args) - - getFlags = staticmethod(getFlags) - def getAmbientColorOverride(*args): - """getAmbientColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getAmbientColorOverride(*args) - - getAmbientColorOverride = staticmethod(getAmbientColorOverride) - def getColorIndexOverride(*args): - """getColorIndexOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getColorIndexOverride(*args) - - getColorIndexOverride = staticmethod(getColorIndexOverride) - def getComplexityOverride(*args): - """getComplexityOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityOverride(*args) - - getComplexityOverride = staticmethod(getComplexityOverride) - def getComplexityTypeOverride(*args): - """getComplexityTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityTypeOverride(*args) - - getComplexityTypeOverride = staticmethod(getComplexityTypeOverride) - def getCreaseAngleOverride(*args): - """getCreaseAngleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getCreaseAngleOverride(*args) - - getCreaseAngleOverride = staticmethod(getCreaseAngleOverride) - def getDiffuseColorOverride(*args): - """getDiffuseColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDiffuseColorOverride(*args) - - getDiffuseColorOverride = staticmethod(getDiffuseColorOverride) - def getDrawStyleOverride(*args): - """getDrawStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDrawStyleOverride(*args) - - getDrawStyleOverride = staticmethod(getDrawStyleOverride) - def getEmissiveColorOverride(*args): - """getEmissiveColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getEmissiveColorOverride(*args) - - getEmissiveColorOverride = staticmethod(getEmissiveColorOverride) - def getFontNameOverride(*args): - """getFontNameOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontNameOverride(*args) - - getFontNameOverride = staticmethod(getFontNameOverride) - def getFontSizeOverride(*args): - """getFontSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontSizeOverride(*args) - - getFontSizeOverride = staticmethod(getFontSizeOverride) - def getLightModelOverride(*args): - """getLightModelOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLightModelOverride(*args) - - getLightModelOverride = staticmethod(getLightModelOverride) - def getLinePatternOverride(*args): - """getLinePatternOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLinePatternOverride(*args) - - getLinePatternOverride = staticmethod(getLinePatternOverride) - def getLineWidthOverride(*args): - """getLineWidthOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLineWidthOverride(*args) - - getLineWidthOverride = staticmethod(getLineWidthOverride) - def getMaterialBindingOverride(*args): - """getMaterialBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getMaterialBindingOverride(*args) - - getMaterialBindingOverride = staticmethod(getMaterialBindingOverride) - def getPickStyleOverride(*args): - """getPickStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPickStyleOverride(*args) - - getPickStyleOverride = staticmethod(getPickStyleOverride) - def getPointSizeOverride(*args): - """getPointSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPointSizeOverride(*args) - - getPointSizeOverride = staticmethod(getPointSizeOverride) - def getPolygonOffsetOverride(*args): - """getPolygonOffsetOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPolygonOffsetOverride(*args) - - getPolygonOffsetOverride = staticmethod(getPolygonOffsetOverride) - def getShapeHintsOverride(*args): - """getShapeHintsOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShapeHintsOverride(*args) - - getShapeHintsOverride = staticmethod(getShapeHintsOverride) - def getShininessOverride(*args): - """getShininessOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShininessOverride(*args) - - getShininessOverride = staticmethod(getShininessOverride) - def getSpecularColorOverride(*args): - """getSpecularColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getSpecularColorOverride(*args) - - getSpecularColorOverride = staticmethod(getSpecularColorOverride) - def getTransparencyOverride(*args): - """getTransparencyOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyOverride(*args) - - getTransparencyOverride = staticmethod(getTransparencyOverride) - def getTransparencyTypeOverride(*args): - """getTransparencyTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyTypeOverride(*args) - - getTransparencyTypeOverride = staticmethod(getTransparencyTypeOverride) - def getNormalVectorOverride(*args): - """getNormalVectorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalVectorOverride(*args) - - getNormalVectorOverride = staticmethod(getNormalVectorOverride) - def getNormalBindingOverride(*args): - """getNormalBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalBindingOverride(*args) - - getNormalBindingOverride = staticmethod(getNormalBindingOverride) - def setAmbientColorOverride(*args): - """setAmbientColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setAmbientColorOverride(*args) - - setAmbientColorOverride = staticmethod(setAmbientColorOverride) - def setColorIndexOverride(*args): - """setColorIndexOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setColorIndexOverride(*args) - - setColorIndexOverride = staticmethod(setColorIndexOverride) - def setComplexityOverride(*args): - """setComplexityOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityOverride(*args) - - setComplexityOverride = staticmethod(setComplexityOverride) - def setComplexityTypeOverride(*args): - """setComplexityTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityTypeOverride(*args) - - setComplexityTypeOverride = staticmethod(setComplexityTypeOverride) - def setCreaseAngleOverride(*args): - """setCreaseAngleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setCreaseAngleOverride(*args) - - setCreaseAngleOverride = staticmethod(setCreaseAngleOverride) - def setDiffuseColorOverride(*args): - """setDiffuseColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDiffuseColorOverride(*args) - - setDiffuseColorOverride = staticmethod(setDiffuseColorOverride) - def setDrawStyleOverride(*args): - """setDrawStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDrawStyleOverride(*args) - - setDrawStyleOverride = staticmethod(setDrawStyleOverride) - def setEmissiveColorOverride(*args): - """setEmissiveColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setEmissiveColorOverride(*args) - - setEmissiveColorOverride = staticmethod(setEmissiveColorOverride) - def setFontNameOverride(*args): - """setFontNameOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontNameOverride(*args) - - setFontNameOverride = staticmethod(setFontNameOverride) - def setFontSizeOverride(*args): - """setFontSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontSizeOverride(*args) - - setFontSizeOverride = staticmethod(setFontSizeOverride) - def setLightModelOverride(*args): - """setLightModelOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLightModelOverride(*args) - - setLightModelOverride = staticmethod(setLightModelOverride) - def setLinePatternOverride(*args): - """setLinePatternOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLinePatternOverride(*args) - - setLinePatternOverride = staticmethod(setLinePatternOverride) - def setLineWidthOverride(*args): - """setLineWidthOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLineWidthOverride(*args) - - setLineWidthOverride = staticmethod(setLineWidthOverride) - def setMaterialBindingOverride(*args): - """setMaterialBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setMaterialBindingOverride(*args) - - setMaterialBindingOverride = staticmethod(setMaterialBindingOverride) - def setPickStyleOverride(*args): - """setPickStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPickStyleOverride(*args) - - setPickStyleOverride = staticmethod(setPickStyleOverride) - def setPointSizeOverride(*args): - """setPointSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPointSizeOverride(*args) - - setPointSizeOverride = staticmethod(setPointSizeOverride) - def setPolygonOffsetOverride(*args): - """setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPolygonOffsetOverride(*args) - - setPolygonOffsetOverride = staticmethod(setPolygonOffsetOverride) - def setShapeHintsOverride(*args): - """setShapeHintsOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShapeHintsOverride(*args) - - setShapeHintsOverride = staticmethod(setShapeHintsOverride) - def setShininessOverride(*args): - """setShininessOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShininessOverride(*args) - - setShininessOverride = staticmethod(setShininessOverride) - def setSpecularColorOverride(*args): - """setSpecularColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setSpecularColorOverride(*args) - - setSpecularColorOverride = staticmethod(setSpecularColorOverride) - def setTransparencyOverride(*args): - """setTransparencyOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyOverride(*args) - - setTransparencyOverride = staticmethod(setTransparencyOverride) - def setTransparencyTypeOverride(*args): - """setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyTypeOverride(*args) - - setTransparencyTypeOverride = staticmethod(setTransparencyTypeOverride) - def setNormalVectorOverride(*args): - """setNormalVectorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalVectorOverride(*args) - - setNormalVectorOverride = staticmethod(setNormalVectorOverride) - def setNormalBindingOverride(*args): - """setNormalBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalBindingOverride(*args) - - setNormalBindingOverride = staticmethod(setNormalBindingOverride) - def output(*args): - """output(self, FILE file)""" - return _coin.SoOverrideElement_output(*args) - -SoOverrideElement_swigregister = _coin.SoOverrideElement_swigregister -SoOverrideElement_swigregister(SoOverrideElement) - -def SoOverrideElement_getClassTypeId(*args): - """SoOverrideElement_getClassTypeId() -> SoType""" - return _coin.SoOverrideElement_getClassTypeId(*args) - -def SoOverrideElement_getClassStackIndex(*args): - """SoOverrideElement_getClassStackIndex() -> int""" - return _coin.SoOverrideElement_getClassStackIndex(*args) - -def SoOverrideElement_createInstance(*args): - """SoOverrideElement_createInstance() -> void""" - return _coin.SoOverrideElement_createInstance(*args) - -def SoOverrideElement_initClass(*args): - """SoOverrideElement_initClass()""" - return _coin.SoOverrideElement_initClass(*args) - -def SoOverrideElement_getFlags(*args): - """SoOverrideElement_getFlags(SoState state) -> uint32_t""" - return _coin.SoOverrideElement_getFlags(*args) - -def SoOverrideElement_getAmbientColorOverride(*args): - """SoOverrideElement_getAmbientColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getAmbientColorOverride(*args) - -def SoOverrideElement_getColorIndexOverride(*args): - """SoOverrideElement_getColorIndexOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getColorIndexOverride(*args) - -def SoOverrideElement_getComplexityOverride(*args): - """SoOverrideElement_getComplexityOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityOverride(*args) - -def SoOverrideElement_getComplexityTypeOverride(*args): - """SoOverrideElement_getComplexityTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityTypeOverride(*args) - -def SoOverrideElement_getCreaseAngleOverride(*args): - """SoOverrideElement_getCreaseAngleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getCreaseAngleOverride(*args) - -def SoOverrideElement_getDiffuseColorOverride(*args): - """SoOverrideElement_getDiffuseColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDiffuseColorOverride(*args) - -def SoOverrideElement_getDrawStyleOverride(*args): - """SoOverrideElement_getDrawStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDrawStyleOverride(*args) - -def SoOverrideElement_getEmissiveColorOverride(*args): - """SoOverrideElement_getEmissiveColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getEmissiveColorOverride(*args) - -def SoOverrideElement_getFontNameOverride(*args): - """SoOverrideElement_getFontNameOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontNameOverride(*args) - -def SoOverrideElement_getFontSizeOverride(*args): - """SoOverrideElement_getFontSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontSizeOverride(*args) - -def SoOverrideElement_getLightModelOverride(*args): - """SoOverrideElement_getLightModelOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLightModelOverride(*args) - -def SoOverrideElement_getLinePatternOverride(*args): - """SoOverrideElement_getLinePatternOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLinePatternOverride(*args) - -def SoOverrideElement_getLineWidthOverride(*args): - """SoOverrideElement_getLineWidthOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLineWidthOverride(*args) - -def SoOverrideElement_getMaterialBindingOverride(*args): - """SoOverrideElement_getMaterialBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getMaterialBindingOverride(*args) - -def SoOverrideElement_getPickStyleOverride(*args): - """SoOverrideElement_getPickStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPickStyleOverride(*args) - -def SoOverrideElement_getPointSizeOverride(*args): - """SoOverrideElement_getPointSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPointSizeOverride(*args) - -def SoOverrideElement_getPolygonOffsetOverride(*args): - """SoOverrideElement_getPolygonOffsetOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPolygonOffsetOverride(*args) - -def SoOverrideElement_getShapeHintsOverride(*args): - """SoOverrideElement_getShapeHintsOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShapeHintsOverride(*args) - -def SoOverrideElement_getShininessOverride(*args): - """SoOverrideElement_getShininessOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShininessOverride(*args) - -def SoOverrideElement_getSpecularColorOverride(*args): - """SoOverrideElement_getSpecularColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getSpecularColorOverride(*args) - -def SoOverrideElement_getTransparencyOverride(*args): - """SoOverrideElement_getTransparencyOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyOverride(*args) - -def SoOverrideElement_getTransparencyTypeOverride(*args): - """SoOverrideElement_getTransparencyTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyTypeOverride(*args) - -def SoOverrideElement_getNormalVectorOverride(*args): - """SoOverrideElement_getNormalVectorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalVectorOverride(*args) - -def SoOverrideElement_getNormalBindingOverride(*args): - """SoOverrideElement_getNormalBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalBindingOverride(*args) - -def SoOverrideElement_setAmbientColorOverride(*args): - """SoOverrideElement_setAmbientColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setAmbientColorOverride(*args) - -def SoOverrideElement_setColorIndexOverride(*args): - """SoOverrideElement_setColorIndexOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setColorIndexOverride(*args) - -def SoOverrideElement_setComplexityOverride(*args): - """SoOverrideElement_setComplexityOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityOverride(*args) - -def SoOverrideElement_setComplexityTypeOverride(*args): - """SoOverrideElement_setComplexityTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityTypeOverride(*args) - -def SoOverrideElement_setCreaseAngleOverride(*args): - """SoOverrideElement_setCreaseAngleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setCreaseAngleOverride(*args) - -def SoOverrideElement_setDiffuseColorOverride(*args): - """SoOverrideElement_setDiffuseColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDiffuseColorOverride(*args) - -def SoOverrideElement_setDrawStyleOverride(*args): - """SoOverrideElement_setDrawStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDrawStyleOverride(*args) - -def SoOverrideElement_setEmissiveColorOverride(*args): - """SoOverrideElement_setEmissiveColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setEmissiveColorOverride(*args) - -def SoOverrideElement_setFontNameOverride(*args): - """SoOverrideElement_setFontNameOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontNameOverride(*args) - -def SoOverrideElement_setFontSizeOverride(*args): - """SoOverrideElement_setFontSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontSizeOverride(*args) - -def SoOverrideElement_setLightModelOverride(*args): - """SoOverrideElement_setLightModelOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLightModelOverride(*args) - -def SoOverrideElement_setLinePatternOverride(*args): - """SoOverrideElement_setLinePatternOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLinePatternOverride(*args) - -def SoOverrideElement_setLineWidthOverride(*args): - """SoOverrideElement_setLineWidthOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLineWidthOverride(*args) - -def SoOverrideElement_setMaterialBindingOverride(*args): - """SoOverrideElement_setMaterialBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setMaterialBindingOverride(*args) - -def SoOverrideElement_setPickStyleOverride(*args): - """SoOverrideElement_setPickStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPickStyleOverride(*args) - -def SoOverrideElement_setPointSizeOverride(*args): - """SoOverrideElement_setPointSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPointSizeOverride(*args) - -def SoOverrideElement_setPolygonOffsetOverride(*args): - """SoOverrideElement_setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPolygonOffsetOverride(*args) - -def SoOverrideElement_setShapeHintsOverride(*args): - """SoOverrideElement_setShapeHintsOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShapeHintsOverride(*args) - -def SoOverrideElement_setShininessOverride(*args): - """SoOverrideElement_setShininessOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShininessOverride(*args) - -def SoOverrideElement_setSpecularColorOverride(*args): - """SoOverrideElement_setSpecularColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setSpecularColorOverride(*args) - -def SoOverrideElement_setTransparencyOverride(*args): - """SoOverrideElement_setTransparencyOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyOverride(*args) - -def SoOverrideElement_setTransparencyTypeOverride(*args): - """SoOverrideElement_setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyTypeOverride(*args) - -def SoOverrideElement_setNormalVectorOverride(*args): - """SoOverrideElement_setNormalVectorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalVectorOverride(*args) - -def SoOverrideElement_setNormalBindingOverride(*args): - """SoOverrideElement_setNormalBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalBindingOverride(*args) - -class SoPickRayElement(SoElement): - """Proxy of C++ SoPickRayElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickRayElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPickRayElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPickRayElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPickRayElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoPickRayElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoPickRayElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoPickRayElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbViewVolume volume)""" - return _coin.SoPickRayElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewVolume""" - return _coin.SoPickRayElement_get(*args) - - get = staticmethod(get) -SoPickRayElement_swigregister = _coin.SoPickRayElement_swigregister -SoPickRayElement_swigregister(SoPickRayElement) - -def SoPickRayElement_getClassTypeId(*args): - """SoPickRayElement_getClassTypeId() -> SoType""" - return _coin.SoPickRayElement_getClassTypeId(*args) - -def SoPickRayElement_getClassStackIndex(*args): - """SoPickRayElement_getClassStackIndex() -> int""" - return _coin.SoPickRayElement_getClassStackIndex(*args) - -def SoPickRayElement_createInstance(*args): - """SoPickRayElement_createInstance() -> void""" - return _coin.SoPickRayElement_createInstance(*args) - -def SoPickRayElement_initClass(*args): - """SoPickRayElement_initClass()""" - return _coin.SoPickRayElement_initClass(*args) - -def SoPickRayElement_set(*args): - """SoPickRayElement_set(SoState state, SbViewVolume volume)""" - return _coin.SoPickRayElement_set(*args) - -def SoPickRayElement_get(*args): - """SoPickRayElement_get(SoState state) -> SbViewVolume""" - return _coin.SoPickRayElement_get(*args) - -class SoGLCoordinateElement(SoCoordinateElement): - """Proxy of C++ SoGLCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def getPtr3(*args): - """getPtr3(self) -> SbVec3f""" - return _coin.SoGLCoordinateElement_getPtr3(*args) - - def getPtr4(*args): - """getPtr4(self) -> SbVec4f""" - return _coin.SoGLCoordinateElement_getPtr4(*args) - - def send(*args): - """send(self, int index)""" - return _coin.SoGLCoordinateElement_send(*args) - -SoGLCoordinateElement_swigregister = _coin.SoGLCoordinateElement_swigregister -SoGLCoordinateElement_swigregister(SoGLCoordinateElement) - -def SoGLCoordinateElement_getClassTypeId(*args): - """SoGLCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLCoordinateElement_getClassTypeId(*args) - -def SoGLCoordinateElement_getClassStackIndex(*args): - """SoGLCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLCoordinateElement_getClassStackIndex(*args) - -def SoGLCoordinateElement_createInstance(*args): - """SoGLCoordinateElement_createInstance() -> void""" - return _coin.SoGLCoordinateElement_createInstance(*args) - -def SoGLCoordinateElement_initClass(*args): - """SoGLCoordinateElement_initClass()""" - return _coin.SoGLCoordinateElement_initClass(*args) - -class SoEnvironmentElement(SoReplacedElement): - """Proxy of C++ SoEnvironmentElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEnvironmentElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoEnvironmentElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoEnvironmentElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoEnvironmentElement_initClass(*args) - - initClass = staticmethod(initClass) - NONE = _coin.SoEnvironmentElement_NONE - HAZE = _coin.SoEnvironmentElement_HAZE - FOG = _coin.SoEnvironmentElement_FOG - SMOKE = _coin.SoEnvironmentElement_SMOKE - def init(*args): - """init(self, SoState state)""" - return _coin.SoEnvironmentElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, - float fogStart=0.0) - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility) - """ - return _coin.SoEnvironmentElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, float ambientIntensity, SbColor ambientColor, - SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, float fogStart) - """ - return _coin.SoEnvironmentElement_get(*args) - - get = staticmethod(get) - def getAmbientIntensity(*args): - """getAmbientIntensity(SoState state) -> float""" - return _coin.SoEnvironmentElement_getAmbientIntensity(*args) - - getAmbientIntensity = staticmethod(getAmbientIntensity) - def getFogVisibility(*args): - """getFogVisibility(SoState state) -> float""" - return _coin.SoEnvironmentElement_getFogVisibility(*args) - - getFogVisibility = staticmethod(getFogVisibility) - def getLightAttenuation(*args): - """getLightAttenuation(SoState state) -> SbVec3f""" - return _coin.SoEnvironmentElement_getLightAttenuation(*args) - - getLightAttenuation = staticmethod(getLightAttenuation) - def getAmbientColor(*args): - """getAmbientColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getAmbientColor(*args) - - getAmbientColor = staticmethod(getAmbientColor) - def getFogColor(*args): - """getFogColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getFogColor(*args) - - getFogColor = staticmethod(getFogColor) - def getFogType(*args): - """getFogType(SoState state) -> int32_t""" - return _coin.SoEnvironmentElement_getFogType(*args) - - getFogType = staticmethod(getFogType) - def getDefault(*args): - """ - getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, - int32_t fogType, SbColor fogColor, - float fogVisibility, float fogNear) - """ - return _coin.SoEnvironmentElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def output(*args): - """output(self, FILE file)""" - return _coin.SoEnvironmentElement_output(*args) - -SoEnvironmentElement_swigregister = _coin.SoEnvironmentElement_swigregister -SoEnvironmentElement_swigregister(SoEnvironmentElement) - -def SoEnvironmentElement_getClassTypeId(*args): - """SoEnvironmentElement_getClassTypeId() -> SoType""" - return _coin.SoEnvironmentElement_getClassTypeId(*args) - -def SoEnvironmentElement_getClassStackIndex(*args): - """SoEnvironmentElement_getClassStackIndex() -> int""" - return _coin.SoEnvironmentElement_getClassStackIndex(*args) - -def SoEnvironmentElement_createInstance(*args): - """SoEnvironmentElement_createInstance() -> void""" - return _coin.SoEnvironmentElement_createInstance(*args) - -def SoEnvironmentElement_initClass(*args): - """SoEnvironmentElement_initClass()""" - return _coin.SoEnvironmentElement_initClass(*args) - -def SoEnvironmentElement_set(*args): - """ - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, - float fogStart=0.0) - SoEnvironmentElement_set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility) - """ - return _coin.SoEnvironmentElement_set(*args) - -def SoEnvironmentElement_get(*args): - """ - SoEnvironmentElement_get(SoState state, float ambientIntensity, SbColor ambientColor, - SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, float fogStart) - """ - return _coin.SoEnvironmentElement_get(*args) - -def SoEnvironmentElement_getAmbientIntensity(*args): - """SoEnvironmentElement_getAmbientIntensity(SoState state) -> float""" - return _coin.SoEnvironmentElement_getAmbientIntensity(*args) - -def SoEnvironmentElement_getFogVisibility(*args): - """SoEnvironmentElement_getFogVisibility(SoState state) -> float""" - return _coin.SoEnvironmentElement_getFogVisibility(*args) - -def SoEnvironmentElement_getLightAttenuation(*args): - """SoEnvironmentElement_getLightAttenuation(SoState state) -> SbVec3f""" - return _coin.SoEnvironmentElement_getLightAttenuation(*args) - -def SoEnvironmentElement_getAmbientColor(*args): - """SoEnvironmentElement_getAmbientColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getAmbientColor(*args) - -def SoEnvironmentElement_getFogColor(*args): - """SoEnvironmentElement_getFogColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getFogColor(*args) - -def SoEnvironmentElement_getFogType(*args): - """SoEnvironmentElement_getFogType(SoState state) -> int32_t""" - return _coin.SoEnvironmentElement_getFogType(*args) - -def SoEnvironmentElement_getDefault(*args): - """ - SoEnvironmentElement_getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, - int32_t fogType, SbColor fogColor, - float fogVisibility, float fogNear) - """ - return _coin.SoEnvironmentElement_getDefault(*args) - -class SoGLEnvironmentElement(SoEnvironmentElement): - """Proxy of C++ SoGLEnvironmentElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLEnvironmentElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLEnvironmentElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLEnvironmentElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLEnvironmentElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLEnvironmentElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLEnvironmentElement_pop(*args) - -SoGLEnvironmentElement_swigregister = _coin.SoGLEnvironmentElement_swigregister -SoGLEnvironmentElement_swigregister(SoGLEnvironmentElement) - -def SoGLEnvironmentElement_getClassTypeId(*args): - """SoGLEnvironmentElement_getClassTypeId() -> SoType""" - return _coin.SoGLEnvironmentElement_getClassTypeId(*args) - -def SoGLEnvironmentElement_getClassStackIndex(*args): - """SoGLEnvironmentElement_getClassStackIndex() -> int""" - return _coin.SoGLEnvironmentElement_getClassStackIndex(*args) - -def SoGLEnvironmentElement_createInstance(*args): - """SoGLEnvironmentElement_createInstance() -> void""" - return _coin.SoGLEnvironmentElement_createInstance(*args) - -def SoGLEnvironmentElement_initClass(*args): - """SoGLEnvironmentElement_initClass()""" - return _coin.SoGLEnvironmentElement_initClass(*args) - -class SoFontNameElement(SoReplacedElement): - """Proxy of C++ SoFontNameElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontNameElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFontNameElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFontNameElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFontNameElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFontNameElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbName fontName)""" - return _coin.SoFontNameElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbName""" - return _coin.SoFontNameElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbName""" - return _coin.SoFontNameElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoFontNameElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoFontNameElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoFontNameElement_output(*args) - -SoFontNameElement_swigregister = _coin.SoFontNameElement_swigregister -SoFontNameElement_swigregister(SoFontNameElement) - -def SoFontNameElement_getClassTypeId(*args): - """SoFontNameElement_getClassTypeId() -> SoType""" - return _coin.SoFontNameElement_getClassTypeId(*args) - -def SoFontNameElement_getClassStackIndex(*args): - """SoFontNameElement_getClassStackIndex() -> int""" - return _coin.SoFontNameElement_getClassStackIndex(*args) - -def SoFontNameElement_createInstance(*args): - """SoFontNameElement_createInstance() -> void""" - return _coin.SoFontNameElement_createInstance(*args) - -def SoFontNameElement_initClass(*args): - """SoFontNameElement_initClass()""" - return _coin.SoFontNameElement_initClass(*args) - -def SoFontNameElement_set(*args): - """SoFontNameElement_set(SoState state, SoNode node, SbName fontName)""" - return _coin.SoFontNameElement_set(*args) - -def SoFontNameElement_get(*args): - """SoFontNameElement_get(SoState state) -> SbName""" - return _coin.SoFontNameElement_get(*args) - -def SoFontNameElement_getDefault(*args): - """SoFontNameElement_getDefault() -> SbName""" - return _coin.SoFontNameElement_getDefault(*args) - -class SoLightAttenuationElement(SoReplacedElement): - """Proxy of C++ SoLightAttenuationElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightAttenuationElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightAttenuationElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightAttenuationElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightAttenuationElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightAttenuationElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbVec3f lightAttenuation)""" - return _coin.SoLightAttenuationElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbVec3f""" - return _coin.SoLightAttenuationElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbVec3f""" - return _coin.SoLightAttenuationElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoLightAttenuationElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLightAttenuationElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoLightAttenuationElement_output(*args) - -SoLightAttenuationElement_swigregister = _coin.SoLightAttenuationElement_swigregister -SoLightAttenuationElement_swigregister(SoLightAttenuationElement) - -def SoLightAttenuationElement_getClassTypeId(*args): - """SoLightAttenuationElement_getClassTypeId() -> SoType""" - return _coin.SoLightAttenuationElement_getClassTypeId(*args) - -def SoLightAttenuationElement_getClassStackIndex(*args): - """SoLightAttenuationElement_getClassStackIndex() -> int""" - return _coin.SoLightAttenuationElement_getClassStackIndex(*args) - -def SoLightAttenuationElement_createInstance(*args): - """SoLightAttenuationElement_createInstance() -> void""" - return _coin.SoLightAttenuationElement_createInstance(*args) - -def SoLightAttenuationElement_initClass(*args): - """SoLightAttenuationElement_initClass()""" - return _coin.SoLightAttenuationElement_initClass(*args) - -def SoLightAttenuationElement_set(*args): - """SoLightAttenuationElement_set(SoState state, SoNode node, SbVec3f lightAttenuation)""" - return _coin.SoLightAttenuationElement_set(*args) - -def SoLightAttenuationElement_get(*args): - """SoLightAttenuationElement_get(SoState state) -> SbVec3f""" - return _coin.SoLightAttenuationElement_get(*args) - -def SoLightAttenuationElement_getDefault(*args): - """SoLightAttenuationElement_getDefault() -> SbVec3f""" - return _coin.SoLightAttenuationElement_getDefault(*args) - -class SoPolygonOffsetElement(SoReplacedElement): - """Proxy of C++ SoPolygonOffsetElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPolygonOffsetElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPolygonOffsetElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPolygonOffsetElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPolygonOffsetElement_initClass(*args) - - initClass = staticmethod(initClass) - FILLED = _coin.SoPolygonOffsetElement_FILLED - LINES = _coin.SoPolygonOffsetElement_LINES - POINTS = _coin.SoPolygonOffsetElement_POINTS - def init(*args): - """init(self, SoState state)""" - return _coin.SoPolygonOffsetElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float factor, float units, - Style styles, SbBool on) - """ - return _coin.SoPolygonOffsetElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, float factor, float units, Style styles, - SbBool on) - """ - return _coin.SoPolygonOffsetElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault(float factor, float units, Style styles, SbBool on)""" - return _coin.SoPolygonOffsetElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPolygonOffsetElement_swigregister = _coin.SoPolygonOffsetElement_swigregister -SoPolygonOffsetElement_swigregister(SoPolygonOffsetElement) - -def SoPolygonOffsetElement_getClassTypeId(*args): - """SoPolygonOffsetElement_getClassTypeId() -> SoType""" - return _coin.SoPolygonOffsetElement_getClassTypeId(*args) - -def SoPolygonOffsetElement_getClassStackIndex(*args): - """SoPolygonOffsetElement_getClassStackIndex() -> int""" - return _coin.SoPolygonOffsetElement_getClassStackIndex(*args) - -def SoPolygonOffsetElement_createInstance(*args): - """SoPolygonOffsetElement_createInstance() -> void""" - return _coin.SoPolygonOffsetElement_createInstance(*args) - -def SoPolygonOffsetElement_initClass(*args): - """SoPolygonOffsetElement_initClass()""" - return _coin.SoPolygonOffsetElement_initClass(*args) - -def SoPolygonOffsetElement_set(*args): - """ - SoPolygonOffsetElement_set(SoState state, SoNode node, float factor, float units, - Style styles, SbBool on) - """ - return _coin.SoPolygonOffsetElement_set(*args) - -def SoPolygonOffsetElement_get(*args): - """ - SoPolygonOffsetElement_get(SoState state, float factor, float units, Style styles, - SbBool on) - """ - return _coin.SoPolygonOffsetElement_get(*args) - -def SoPolygonOffsetElement_getDefault(*args): - """SoPolygonOffsetElement_getDefault(float factor, float units, Style styles, SbBool on)""" - return _coin.SoPolygonOffsetElement_getDefault(*args) - -class SoGLPolygonOffsetElement(SoPolygonOffsetElement): - """Proxy of C++ SoGLPolygonOffsetElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLPolygonOffsetElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLPolygonOffsetElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLPolygonOffsetElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLPolygonOffsetElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLPolygonOffsetElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLPolygonOffsetElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLPolygonOffsetElement_pop(*args) - -SoGLPolygonOffsetElement_swigregister = _coin.SoGLPolygonOffsetElement_swigregister -SoGLPolygonOffsetElement_swigregister(SoGLPolygonOffsetElement) - -def SoGLPolygonOffsetElement_getClassTypeId(*args): - """SoGLPolygonOffsetElement_getClassTypeId() -> SoType""" - return _coin.SoGLPolygonOffsetElement_getClassTypeId(*args) - -def SoGLPolygonOffsetElement_getClassStackIndex(*args): - """SoGLPolygonOffsetElement_getClassStackIndex() -> int""" - return _coin.SoGLPolygonOffsetElement_getClassStackIndex(*args) - -def SoGLPolygonOffsetElement_createInstance(*args): - """SoGLPolygonOffsetElement_createInstance() -> void""" - return _coin.SoGLPolygonOffsetElement_createInstance(*args) - -def SoGLPolygonOffsetElement_initClass(*args): - """SoGLPolygonOffsetElement_initClass()""" - return _coin.SoGLPolygonOffsetElement_initClass(*args) - -class SoProjectionMatrixElement(SoReplacedElement): - """Proxy of C++ SoProjectionMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProjectionMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProjectionMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProjectionMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProjectionMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoProjectionMatrixElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoProjectionMatrixElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoProjectionMatrixElement_get(*args) - - get = staticmethod(get) -SoProjectionMatrixElement_swigregister = _coin.SoProjectionMatrixElement_swigregister -SoProjectionMatrixElement_swigregister(SoProjectionMatrixElement) - -def SoProjectionMatrixElement_getClassTypeId(*args): - """SoProjectionMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoProjectionMatrixElement_getClassTypeId(*args) - -def SoProjectionMatrixElement_getClassStackIndex(*args): - """SoProjectionMatrixElement_getClassStackIndex() -> int""" - return _coin.SoProjectionMatrixElement_getClassStackIndex(*args) - -def SoProjectionMatrixElement_createInstance(*args): - """SoProjectionMatrixElement_createInstance() -> void""" - return _coin.SoProjectionMatrixElement_createInstance(*args) - -def SoProjectionMatrixElement_initClass(*args): - """SoProjectionMatrixElement_initClass()""" - return _coin.SoProjectionMatrixElement_initClass(*args) - -def SoProjectionMatrixElement_set(*args): - """SoProjectionMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoProjectionMatrixElement_set(*args) - -def SoProjectionMatrixElement_get(*args): - """SoProjectionMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoProjectionMatrixElement_get(*args) - -class SoGLProjectionMatrixElement(SoProjectionMatrixElement): - """Proxy of C++ SoGLProjectionMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLProjectionMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLProjectionMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLProjectionMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLProjectionMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLProjectionMatrixElement_pop(*args) - -SoGLProjectionMatrixElement_swigregister = _coin.SoGLProjectionMatrixElement_swigregister -SoGLProjectionMatrixElement_swigregister(SoGLProjectionMatrixElement) - -def SoGLProjectionMatrixElement_getClassTypeId(*args): - """SoGLProjectionMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLProjectionMatrixElement_getClassTypeId(*args) - -def SoGLProjectionMatrixElement_getClassStackIndex(*args): - """SoGLProjectionMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLProjectionMatrixElement_getClassStackIndex(*args) - -def SoGLProjectionMatrixElement_createInstance(*args): - """SoGLProjectionMatrixElement_createInstance() -> void""" - return _coin.SoGLProjectionMatrixElement_createInstance(*args) - -def SoGLProjectionMatrixElement_initClass(*args): - """SoGLProjectionMatrixElement_initClass()""" - return _coin.SoGLProjectionMatrixElement_initClass(*args) - -class SoProfileCoordinateElement(SoReplacedElement): - """Proxy of C++ SoProfileCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProfileCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProfileCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoProfileCoordinateElement_init(*args) - - def set2(*args): - """set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoProfileCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoProfileCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def getInstance(*args): - """getInstance(SoState state) -> SoProfileCoordinateElement""" - return _coin.SoProfileCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoProfileCoordinateElement_getNum(*args) - - def get2(*args): - """get2(self, int index) -> SbVec2f""" - return _coin.SoProfileCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoProfileCoordinateElement_get3(*args) - - def is2D(*args): - """is2D(self) -> SbBool""" - return _coin.SoProfileCoordinateElement_is2D(*args) - - def getDefault2(*args): - """getDefault2() -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getDefault2(*args) - - getDefault2 = staticmethod(getDefault2) - def getDefault3(*args): - """getDefault3() -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getDefault3(*args) - - getDefault3 = staticmethod(getDefault3) - def getArrayPtr2(*args): - """getArrayPtr2(self) -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getArrayPtr3(*args) - -SoProfileCoordinateElement_swigregister = _coin.SoProfileCoordinateElement_swigregister -SoProfileCoordinateElement_swigregister(SoProfileCoordinateElement) - -def SoProfileCoordinateElement_getClassTypeId(*args): - """SoProfileCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinateElement_getClassTypeId(*args) - -def SoProfileCoordinateElement_getClassStackIndex(*args): - """SoProfileCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoProfileCoordinateElement_getClassStackIndex(*args) - -def SoProfileCoordinateElement_createInstance(*args): - """SoProfileCoordinateElement_createInstance() -> void""" - return _coin.SoProfileCoordinateElement_createInstance(*args) - -def SoProfileCoordinateElement_initClass(*args): - """SoProfileCoordinateElement_initClass()""" - return _coin.SoProfileCoordinateElement_initClass(*args) - -def SoProfileCoordinateElement_set2(*args): - """SoProfileCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoProfileCoordinateElement_set2(*args) - -def SoProfileCoordinateElement_set3(*args): - """SoProfileCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoProfileCoordinateElement_set3(*args) - -def SoProfileCoordinateElement_getInstance(*args): - """SoProfileCoordinateElement_getInstance(SoState state) -> SoProfileCoordinateElement""" - return _coin.SoProfileCoordinateElement_getInstance(*args) - -def SoProfileCoordinateElement_getDefault2(*args): - """SoProfileCoordinateElement_getDefault2() -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getDefault2(*args) - -def SoProfileCoordinateElement_getDefault3(*args): - """SoProfileCoordinateElement_getDefault3() -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getDefault3(*args) - -class SoGLTextureImageElement(SoTextureImageElement): - """Proxy of C++ SoGLTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureImageElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureImageElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureImageElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SoGLImage image, Model model, - SbColor blendColor) - """ - return _coin.SoGLTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLTextureImageElement_get(*args) - - get = staticmethod(get) - def getMaxGLTextureSize(*args): - """getMaxGLTextureSize() -> int32_t""" - return _coin.SoGLTextureImageElement_getMaxGLTextureSize(*args) - - getMaxGLTextureSize = staticmethod(getMaxGLTextureSize) - def isTextureSizeLegal(*args): - """isTextureSizeLegal(self, int xsize, int ysize, int zsize, int bytespertexel) -> SbBool""" - return _coin.SoGLTextureImageElement_isTextureSizeLegal(*args) - - def hasTransparency(*args): - """hasTransparency(SoState state) -> SbBool""" - return _coin.SoGLTextureImageElement_hasTransparency(*args) - - hasTransparency = staticmethod(hasTransparency) -SoGLTextureImageElement_swigregister = _coin.SoGLTextureImageElement_swigregister -SoGLTextureImageElement_swigregister(SoGLTextureImageElement) - -def SoGLTextureImageElement_getClassTypeId(*args): - """SoGLTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureImageElement_getClassTypeId(*args) - -def SoGLTextureImageElement_getClassStackIndex(*args): - """SoGLTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureImageElement_getClassStackIndex(*args) - -def SoGLTextureImageElement_createInstance(*args): - """SoGLTextureImageElement_createInstance() -> void""" - return _coin.SoGLTextureImageElement_createInstance(*args) - -def SoGLTextureImageElement_initClass(*args): - """SoGLTextureImageElement_initClass()""" - return _coin.SoGLTextureImageElement_initClass(*args) - -def SoGLTextureImageElement_set(*args): - """ - SoGLTextureImageElement_set(SoState state, SoNode node, SoGLImage image, Model model, - SbColor blendColor) - """ - return _coin.SoGLTextureImageElement_set(*args) - -def SoGLTextureImageElement_get(*args): - """SoGLTextureImageElement_get(SoState state, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLTextureImageElement_get(*args) - -def SoGLTextureImageElement_getMaxGLTextureSize(*args): - """SoGLTextureImageElement_getMaxGLTextureSize() -> int32_t""" - return _coin.SoGLTextureImageElement_getMaxGLTextureSize(*args) - -def SoGLTextureImageElement_hasTransparency(*args): - """SoGLTextureImageElement_hasTransparency(SoState state) -> SbBool""" - return _coin.SoGLTextureImageElement_hasTransparency(*args) - -class SoViewingMatrixElement(SoReplacedElement): - """Proxy of C++ SoViewingMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewingMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewingMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewingMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewingMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewingMatrixElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbMatrix ViewingMatrix)""" - return _coin.SoViewingMatrixElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoViewingMatrixElement_get(*args) - - get = staticmethod(get) -SoViewingMatrixElement_swigregister = _coin.SoViewingMatrixElement_swigregister -SoViewingMatrixElement_swigregister(SoViewingMatrixElement) - -def SoViewingMatrixElement_getClassTypeId(*args): - """SoViewingMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoViewingMatrixElement_getClassTypeId(*args) - -def SoViewingMatrixElement_getClassStackIndex(*args): - """SoViewingMatrixElement_getClassStackIndex() -> int""" - return _coin.SoViewingMatrixElement_getClassStackIndex(*args) - -def SoViewingMatrixElement_createInstance(*args): - """SoViewingMatrixElement_createInstance() -> void""" - return _coin.SoViewingMatrixElement_createInstance(*args) - -def SoViewingMatrixElement_initClass(*args): - """SoViewingMatrixElement_initClass()""" - return _coin.SoViewingMatrixElement_initClass(*args) - -def SoViewingMatrixElement_set(*args): - """SoViewingMatrixElement_set(SoState state, SoNode node, SbMatrix ViewingMatrix)""" - return _coin.SoViewingMatrixElement_set(*args) - -def SoViewingMatrixElement_get(*args): - """SoViewingMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoViewingMatrixElement_get(*args) - -class SoGLViewingMatrixElement(SoViewingMatrixElement): - """Proxy of C++ SoGLViewingMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLViewingMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLViewingMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLViewingMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLViewingMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLViewingMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLViewingMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLViewingMatrixElement_pop(*args) - - def getNodeId(*args): - """getNodeId(SoState state) -> uint32_t""" - return _coin.SoGLViewingMatrixElement_getNodeId(*args) - - getNodeId = staticmethod(getNodeId) - def getResetMatrix(*args): - """getResetMatrix(SoState state) -> SbMatrix""" - return _coin.SoGLViewingMatrixElement_getResetMatrix(*args) - - getResetMatrix = staticmethod(getResetMatrix) -SoGLViewingMatrixElement_swigregister = _coin.SoGLViewingMatrixElement_swigregister -SoGLViewingMatrixElement_swigregister(SoGLViewingMatrixElement) - -def SoGLViewingMatrixElement_getClassTypeId(*args): - """SoGLViewingMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLViewingMatrixElement_getClassTypeId(*args) - -def SoGLViewingMatrixElement_getClassStackIndex(*args): - """SoGLViewingMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLViewingMatrixElement_getClassStackIndex(*args) - -def SoGLViewingMatrixElement_createInstance(*args): - """SoGLViewingMatrixElement_createInstance() -> void""" - return _coin.SoGLViewingMatrixElement_createInstance(*args) - -def SoGLViewingMatrixElement_initClass(*args): - """SoGLViewingMatrixElement_initClass()""" - return _coin.SoGLViewingMatrixElement_initClass(*args) - -def SoGLViewingMatrixElement_getNodeId(*args): - """SoGLViewingMatrixElement_getNodeId(SoState state) -> uint32_t""" - return _coin.SoGLViewingMatrixElement_getNodeId(*args) - -def SoGLViewingMatrixElement_getResetMatrix(*args): - """SoGLViewingMatrixElement_getResetMatrix(SoState state) -> SbMatrix""" - return _coin.SoGLViewingMatrixElement_getResetMatrix(*args) - -class SoViewVolumeElement(SoReplacedElement): - """Proxy of C++ SoViewVolumeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewVolumeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewVolumeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewVolumeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewVolumeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewVolumeElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbViewVolume viewVolume)""" - return _coin.SoViewVolumeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewVolume""" - return _coin.SoViewVolumeElement_get(*args) - - get = staticmethod(get) -SoViewVolumeElement_swigregister = _coin.SoViewVolumeElement_swigregister -SoViewVolumeElement_swigregister(SoViewVolumeElement) - -def SoViewVolumeElement_getClassTypeId(*args): - """SoViewVolumeElement_getClassTypeId() -> SoType""" - return _coin.SoViewVolumeElement_getClassTypeId(*args) - -def SoViewVolumeElement_getClassStackIndex(*args): - """SoViewVolumeElement_getClassStackIndex() -> int""" - return _coin.SoViewVolumeElement_getClassStackIndex(*args) - -def SoViewVolumeElement_createInstance(*args): - """SoViewVolumeElement_createInstance() -> void""" - return _coin.SoViewVolumeElement_createInstance(*args) - -def SoViewVolumeElement_initClass(*args): - """SoViewVolumeElement_initClass()""" - return _coin.SoViewVolumeElement_initClass(*args) - -def SoViewVolumeElement_set(*args): - """SoViewVolumeElement_set(SoState state, SoNode node, SbViewVolume viewVolume)""" - return _coin.SoViewVolumeElement_set(*args) - -def SoViewVolumeElement_get(*args): - """SoViewVolumeElement_get(SoState state) -> SbViewVolume""" - return _coin.SoViewVolumeElement_get(*args) - -class SoGLShapeHintsElement(SoShapeHintsElement): - """Proxy of C++ SoGLShapeHintsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLShapeHintsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLShapeHintsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLShapeHintsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLShapeHintsElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLShapeHintsElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLShapeHintsElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLShapeHintsElement_pop(*args) - - def forceSend(*args): - """ - forceSend(SoState state, SbBool twoside) - forceSend(SoState state, SbBool ccw, SbBool cull) - forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside) - """ - return _coin.SoGLShapeHintsElement_forceSend(*args) - - forceSend = staticmethod(forceSend) -SoGLShapeHintsElement_swigregister = _coin.SoGLShapeHintsElement_swigregister -SoGLShapeHintsElement_swigregister(SoGLShapeHintsElement) - -def SoGLShapeHintsElement_getClassTypeId(*args): - """SoGLShapeHintsElement_getClassTypeId() -> SoType""" - return _coin.SoGLShapeHintsElement_getClassTypeId(*args) - -def SoGLShapeHintsElement_getClassStackIndex(*args): - """SoGLShapeHintsElement_getClassStackIndex() -> int""" - return _coin.SoGLShapeHintsElement_getClassStackIndex(*args) - -def SoGLShapeHintsElement_createInstance(*args): - """SoGLShapeHintsElement_createInstance() -> void""" - return _coin.SoGLShapeHintsElement_createInstance(*args) - -def SoGLShapeHintsElement_initClass(*args): - """SoGLShapeHintsElement_initClass()""" - return _coin.SoGLShapeHintsElement_initClass(*args) - -def SoGLShapeHintsElement_forceSend(*args): - """ - forceSend(SoState state, SbBool twoside) - forceSend(SoState state, SbBool ccw, SbBool cull) - SoGLShapeHintsElement_forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside) - """ - return _coin.SoGLShapeHintsElement_forceSend(*args) - -class SoShapeStyleElement(SoElement): - """Proxy of C++ SoShapeStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShapeStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShapeStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShapeStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - LIGHTING = _coin.SoShapeStyleElement_LIGHTING - TEXENABLED = _coin.SoShapeStyleElement_TEXENABLED - TEXFUNC = _coin.SoShapeStyleElement_TEXFUNC - BBOXCMPLX = _coin.SoShapeStyleElement_BBOXCMPLX - INVISIBLE = _coin.SoShapeStyleElement_INVISIBLE - ABORTCB = _coin.SoShapeStyleElement_ABORTCB - OVERRIDE = _coin.SoShapeStyleElement_OVERRIDE - TEX3ENABLED = _coin.SoShapeStyleElement_TEX3ENABLED - BIGIMAGE = _coin.SoShapeStyleElement_BIGIMAGE - BUMPMAP = _coin.SoShapeStyleElement_BUMPMAP - VERTEXARRAY = _coin.SoShapeStyleElement_VERTEXARRAY - TRANSP_TEXTURE = _coin.SoShapeStyleElement_TRANSP_TEXTURE - TRANSP_MATERIAL = _coin.SoShapeStyleElement_TRANSP_MATERIAL - TRANSP_SORTED_TRIANGLES = _coin.SoShapeStyleElement_TRANSP_SORTED_TRIANGLES - SHADOWMAP = _coin.SoShapeStyleElement_SHADOWMAP - SHADOWS = _coin.SoShapeStyleElement_SHADOWS - def init(*args): - """init(self, SoState state)""" - return _coin.SoShapeStyleElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoShapeStyleElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoShapeStyleElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoShapeStyleElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoShapeStyleElement_copyMatchInfo(*args) - - def get(*args): - """get(SoState state) -> SoShapeStyleElement""" - return _coin.SoShapeStyleElement_get(*args) - - get = staticmethod(get) - def getFlags(*args): - """getFlags(self) -> unsigned int""" - return _coin.SoShapeStyleElement_getFlags(*args) - - def mightNotRender(*args): - """mightNotRender(self) -> SbBool""" - return _coin.SoShapeStyleElement_mightNotRender(*args) - - def needNormals(*args): - """needNormals(self) -> SbBool""" - return _coin.SoShapeStyleElement_needNormals(*args) - - def needTexCoords(*args): - """needTexCoords(self) -> SbBool""" - return _coin.SoShapeStyleElement_needTexCoords(*args) - - def getRenderCaseMask(*args): - """getRenderCaseMask(self) -> int""" - return _coin.SoShapeStyleElement_getRenderCaseMask(*args) - - def setDrawStyle(*args): - """setDrawStyle(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setDrawStyle(*args) - - setDrawStyle = staticmethod(setDrawStyle) - def setComplexityType(*args): - """setComplexityType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setComplexityType(*args) - - setComplexityType = staticmethod(setComplexityType) - def setTransparencyType(*args): - """setTransparencyType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setTransparencyType(*args) - - setTransparencyType = staticmethod(setTransparencyType) - def setTextureEnabled(*args): - """setTextureEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureEnabled(*args) - - setTextureEnabled = staticmethod(setTextureEnabled) - def setTexture3Enabled(*args): - """setTexture3Enabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTexture3Enabled(*args) - - setTexture3Enabled = staticmethod(setTexture3Enabled) - def setTextureFunction(*args): - """setTextureFunction(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureFunction(*args) - - setTextureFunction = staticmethod(setTextureFunction) - def setLightModel(*args): - """setLightModel(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setLightModel(*args) - - setLightModel = staticmethod(setLightModel) - def setOverrides(*args): - """setOverrides(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setOverrides(*args) - - setOverrides = staticmethod(setOverrides) - def isScreenDoor(*args): - """isScreenDoor(SoState state) -> SbBool""" - return _coin.SoShapeStyleElement_isScreenDoor(*args) - - isScreenDoor = staticmethod(isScreenDoor) - def getTransparencyType(*args): - """getTransparencyType(SoState state) -> int""" - return _coin.SoShapeStyleElement_getTransparencyType(*args) - - getTransparencyType = staticmethod(getTransparencyType) - def isTextureFunction(*args): - """isTextureFunction(self) -> SbBool""" - return _coin.SoShapeStyleElement_isTextureFunction(*args) - - def setBumpmapEnabled(*args): - """setBumpmapEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBumpmapEnabled(*args) - - setBumpmapEnabled = staticmethod(setBumpmapEnabled) - def setBigImageEnabled(*args): - """setBigImageEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBigImageEnabled(*args) - - setBigImageEnabled = staticmethod(setBigImageEnabled) - def setVertexArrayRendering(*args): - """setVertexArrayRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setVertexArrayRendering(*args) - - setVertexArrayRendering = staticmethod(setVertexArrayRendering) - def setTransparentMaterial(*args): - """setTransparentMaterial(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentMaterial(*args) - - setTransparentMaterial = staticmethod(setTransparentMaterial) - def setTransparentTexture(*args): - """setTransparentTexture(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentTexture(*args) - - setTransparentTexture = staticmethod(setTransparentTexture) - def setShadowMapRendering(*args): - """setShadowMapRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setShadowMapRendering(*args) - - setShadowMapRendering = staticmethod(setShadowMapRendering) - def setShadowsRendering(*args): - """setShadowsRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setShadowsRendering(*args) - - setShadowsRendering = staticmethod(setShadowsRendering) -SoShapeStyleElement_swigregister = _coin.SoShapeStyleElement_swigregister -SoShapeStyleElement_swigregister(SoShapeStyleElement) - -def SoShapeStyleElement_getClassTypeId(*args): - """SoShapeStyleElement_getClassTypeId() -> SoType""" - return _coin.SoShapeStyleElement_getClassTypeId(*args) - -def SoShapeStyleElement_getClassStackIndex(*args): - """SoShapeStyleElement_getClassStackIndex() -> int""" - return _coin.SoShapeStyleElement_getClassStackIndex(*args) - -def SoShapeStyleElement_createInstance(*args): - """SoShapeStyleElement_createInstance() -> void""" - return _coin.SoShapeStyleElement_createInstance(*args) - -def SoShapeStyleElement_initClass(*args): - """SoShapeStyleElement_initClass()""" - return _coin.SoShapeStyleElement_initClass(*args) - -def SoShapeStyleElement_get(*args): - """SoShapeStyleElement_get(SoState state) -> SoShapeStyleElement""" - return _coin.SoShapeStyleElement_get(*args) - -def SoShapeStyleElement_setDrawStyle(*args): - """SoShapeStyleElement_setDrawStyle(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setDrawStyle(*args) - -def SoShapeStyleElement_setComplexityType(*args): - """SoShapeStyleElement_setComplexityType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setComplexityType(*args) - -def SoShapeStyleElement_setTransparencyType(*args): - """SoShapeStyleElement_setTransparencyType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setTransparencyType(*args) - -def SoShapeStyleElement_setTextureEnabled(*args): - """SoShapeStyleElement_setTextureEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureEnabled(*args) - -def SoShapeStyleElement_setTexture3Enabled(*args): - """SoShapeStyleElement_setTexture3Enabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTexture3Enabled(*args) - -def SoShapeStyleElement_setTextureFunction(*args): - """SoShapeStyleElement_setTextureFunction(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureFunction(*args) - -def SoShapeStyleElement_setLightModel(*args): - """SoShapeStyleElement_setLightModel(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setLightModel(*args) - -def SoShapeStyleElement_setOverrides(*args): - """SoShapeStyleElement_setOverrides(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setOverrides(*args) - -def SoShapeStyleElement_isScreenDoor(*args): - """SoShapeStyleElement_isScreenDoor(SoState state) -> SbBool""" - return _coin.SoShapeStyleElement_isScreenDoor(*args) - -def SoShapeStyleElement_getTransparencyType(*args): - """SoShapeStyleElement_getTransparencyType(SoState state) -> int""" - return _coin.SoShapeStyleElement_getTransparencyType(*args) - -def SoShapeStyleElement_setBumpmapEnabled(*args): - """SoShapeStyleElement_setBumpmapEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBumpmapEnabled(*args) - -def SoShapeStyleElement_setBigImageEnabled(*args): - """SoShapeStyleElement_setBigImageEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBigImageEnabled(*args) - -def SoShapeStyleElement_setVertexArrayRendering(*args): - """SoShapeStyleElement_setVertexArrayRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setVertexArrayRendering(*args) - -def SoShapeStyleElement_setTransparentMaterial(*args): - """SoShapeStyleElement_setTransparentMaterial(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentMaterial(*args) - -def SoShapeStyleElement_setTransparentTexture(*args): - """SoShapeStyleElement_setTransparentTexture(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentTexture(*args) - -def SoShapeStyleElement_setShadowMapRendering(*args): - """SoShapeStyleElement_setShadowMapRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setShadowMapRendering(*args) - -def SoShapeStyleElement_setShadowsRendering(*args): - """SoShapeStyleElement_setShadowsRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setShadowsRendering(*args) - -class SoViewportRegionElement(SoElement): - """Proxy of C++ SoViewportRegionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewportRegionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewportRegionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewportRegionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewportRegionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewportRegionElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoViewportRegionElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoViewportRegionElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbViewportRegion viewportRegion)""" - return _coin.SoViewportRegionElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewportRegion""" - return _coin.SoViewportRegionElement_get(*args) - - get = staticmethod(get) - def output(*args): - """output(self, FILE file)""" - return _coin.SoViewportRegionElement_output(*args) - -SoViewportRegionElement_swigregister = _coin.SoViewportRegionElement_swigregister -SoViewportRegionElement_swigregister(SoViewportRegionElement) - -def SoViewportRegionElement_getClassTypeId(*args): - """SoViewportRegionElement_getClassTypeId() -> SoType""" - return _coin.SoViewportRegionElement_getClassTypeId(*args) - -def SoViewportRegionElement_getClassStackIndex(*args): - """SoViewportRegionElement_getClassStackIndex() -> int""" - return _coin.SoViewportRegionElement_getClassStackIndex(*args) - -def SoViewportRegionElement_createInstance(*args): - """SoViewportRegionElement_createInstance() -> void""" - return _coin.SoViewportRegionElement_createInstance(*args) - -def SoViewportRegionElement_initClass(*args): - """SoViewportRegionElement_initClass()""" - return _coin.SoViewportRegionElement_initClass(*args) - -def SoViewportRegionElement_set(*args): - """SoViewportRegionElement_set(SoState state, SbViewportRegion viewportRegion)""" - return _coin.SoViewportRegionElement_set(*args) - -def SoViewportRegionElement_get(*args): - """SoViewportRegionElement_get(SoState state) -> SbViewportRegion""" - return _coin.SoViewportRegionElement_get(*args) - -class SoGLViewportRegionElement(SoViewportRegionElement): - """Proxy of C++ SoGLViewportRegionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLViewportRegionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLViewportRegionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLViewportRegionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLViewportRegionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLViewportRegionElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLViewportRegionElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLViewportRegionElement_pop(*args) - -SoGLViewportRegionElement_swigregister = _coin.SoGLViewportRegionElement_swigregister -SoGLViewportRegionElement_swigregister(SoGLViewportRegionElement) - -def SoGLViewportRegionElement_getClassTypeId(*args): - """SoGLViewportRegionElement_getClassTypeId() -> SoType""" - return _coin.SoGLViewportRegionElement_getClassTypeId(*args) - -def SoGLViewportRegionElement_getClassStackIndex(*args): - """SoGLViewportRegionElement_getClassStackIndex() -> int""" - return _coin.SoGLViewportRegionElement_getClassStackIndex(*args) - -def SoGLViewportRegionElement_createInstance(*args): - """SoGLViewportRegionElement_createInstance() -> void""" - return _coin.SoGLViewportRegionElement_createInstance(*args) - -def SoGLViewportRegionElement_initClass(*args): - """SoGLViewportRegionElement_initClass()""" - return _coin.SoGLViewportRegionElement_initClass(*args) - -class SoWindowElement(SoElement): - """Proxy of C++ SoWindowElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWindowElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoWindowElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoWindowElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoWindowElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoWindowElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoWindowElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoWindowElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoWindowElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoWindowElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_get(*args) - - get = staticmethod(get) -SoWindowElement_swigregister = _coin.SoWindowElement_swigregister -SoWindowElement_swigregister(SoWindowElement) - -def SoWindowElement_getClassTypeId(*args): - """SoWindowElement_getClassTypeId() -> SoType""" - return _coin.SoWindowElement_getClassTypeId(*args) - -def SoWindowElement_getClassStackIndex(*args): - """SoWindowElement_getClassStackIndex() -> int""" - return _coin.SoWindowElement_getClassStackIndex(*args) - -def SoWindowElement_createInstance(*args): - """SoWindowElement_createInstance() -> void""" - return _coin.SoWindowElement_createInstance(*args) - -def SoWindowElement_initClass(*args): - """SoWindowElement_initClass()""" - return _coin.SoWindowElement_initClass(*args) - -def SoWindowElement_set(*args): - """ - SoWindowElement_set(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_set(*args) - -def SoWindowElement_get(*args): - """ - SoWindowElement_get(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_get(*args) - -class SoGLCacheContextElement(SoElement): - """Proxy of C++ SoGLCacheContextElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLCacheContextElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLCacheContextElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLCacheContextElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLCacheContextElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLCacheContextElement_init(*args) - - def matches(*args): - """matches(self, SoElement elt) -> SbBool""" - return _coin.SoGLCacheContextElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLCacheContextElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, int context, SbBool twopasstransparency, - SbBool remoterendering) - """ - return _coin.SoGLCacheContextElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoGLCacheContextElement_get(*args) - - get = staticmethod(get) - def getExtID(*args): - """getExtID(char str) -> int""" - return _coin.SoGLCacheContextElement_getExtID(*args) - - getExtID = staticmethod(getExtID) - def getOpenGLVersion(*args): - """getOpenGLVersion(SoState state, int major, int minor)""" - return _coin.SoGLCacheContextElement_getOpenGLVersion(*args) - - getOpenGLVersion = staticmethod(getOpenGLVersion) - def extSupported(*args): - """extSupported(SoState state, int extid) -> SbBool""" - return _coin.SoGLCacheContextElement_extSupported(*args) - - extSupported = staticmethod(extSupported) - def areMipMapsFast(*args): - """areMipMapsFast(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_areMipMapsFast(*args) - - areMipMapsFast = staticmethod(areMipMapsFast) - DO_AUTO_CACHE = _coin.SoGLCacheContextElement_DO_AUTO_CACHE - DONT_AUTO_CACHE = _coin.SoGLCacheContextElement_DONT_AUTO_CACHE - def shouldAutoCache(*args): - """shouldAutoCache(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_shouldAutoCache(*args) - - shouldAutoCache = staticmethod(shouldAutoCache) - def setAutoCacheBits(*args): - """setAutoCacheBits(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_setAutoCacheBits(*args) - - setAutoCacheBits = staticmethod(setAutoCacheBits) - def resetAutoCacheBits(*args): - """resetAutoCacheBits(SoState state) -> int""" - return _coin.SoGLCacheContextElement_resetAutoCacheBits(*args) - - resetAutoCacheBits = staticmethod(resetAutoCacheBits) - def getIsRemoteRendering(*args): - """getIsRemoteRendering(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_getIsRemoteRendering(*args) - - getIsRemoteRendering = staticmethod(getIsRemoteRendering) - def getUniqueCacheContext(*args): - """getUniqueCacheContext() -> uint32_t""" - return _coin.SoGLCacheContextElement_getUniqueCacheContext(*args) - - getUniqueCacheContext = staticmethod(getUniqueCacheContext) - def scheduleDeleteCallback(*args): - """scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)""" - return _coin.SoGLCacheContextElement_scheduleDeleteCallback(*args) - - scheduleDeleteCallback = staticmethod(scheduleDeleteCallback) - def incNumShapes(*args): - """incNumShapes(SoState state)""" - return _coin.SoGLCacheContextElement_incNumShapes(*args) - - incNumShapes = staticmethod(incNumShapes) - def getNumShapes(*args): - """getNumShapes(SoState state) -> int""" - return _coin.SoGLCacheContextElement_getNumShapes(*args) - - getNumShapes = staticmethod(getNumShapes) - def incNumSeparators(*args): - """incNumSeparators(SoState state)""" - return _coin.SoGLCacheContextElement_incNumSeparators(*args) - - incNumSeparators = staticmethod(incNumSeparators) - def getNumSeparators(*args): - """getNumSeparators(SoState state) -> int""" - return _coin.SoGLCacheContextElement_getNumSeparators(*args) - - getNumSeparators = staticmethod(getNumSeparators) -SoGLCacheContextElement_swigregister = _coin.SoGLCacheContextElement_swigregister -SoGLCacheContextElement_swigregister(SoGLCacheContextElement) - -def SoGLCacheContextElement_getClassTypeId(*args): - """SoGLCacheContextElement_getClassTypeId() -> SoType""" - return _coin.SoGLCacheContextElement_getClassTypeId(*args) - -def SoGLCacheContextElement_getClassStackIndex(*args): - """SoGLCacheContextElement_getClassStackIndex() -> int""" - return _coin.SoGLCacheContextElement_getClassStackIndex(*args) - -def SoGLCacheContextElement_createInstance(*args): - """SoGLCacheContextElement_createInstance() -> void""" - return _coin.SoGLCacheContextElement_createInstance(*args) - -def SoGLCacheContextElement_initClass(*args): - """SoGLCacheContextElement_initClass()""" - return _coin.SoGLCacheContextElement_initClass(*args) - -def SoGLCacheContextElement_set(*args): - """ - SoGLCacheContextElement_set(SoState state, int context, SbBool twopasstransparency, - SbBool remoterendering) - """ - return _coin.SoGLCacheContextElement_set(*args) - -def SoGLCacheContextElement_get(*args): - """SoGLCacheContextElement_get(SoState state) -> int""" - return _coin.SoGLCacheContextElement_get(*args) - -def SoGLCacheContextElement_getExtID(*args): - """SoGLCacheContextElement_getExtID(char str) -> int""" - return _coin.SoGLCacheContextElement_getExtID(*args) - -def SoGLCacheContextElement_getOpenGLVersion(*args): - """SoGLCacheContextElement_getOpenGLVersion(SoState state, int major, int minor)""" - return _coin.SoGLCacheContextElement_getOpenGLVersion(*args) - -def SoGLCacheContextElement_extSupported(*args): - """SoGLCacheContextElement_extSupported(SoState state, int extid) -> SbBool""" - return _coin.SoGLCacheContextElement_extSupported(*args) - -def SoGLCacheContextElement_areMipMapsFast(*args): - """SoGLCacheContextElement_areMipMapsFast(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_areMipMapsFast(*args) - -def SoGLCacheContextElement_shouldAutoCache(*args): - """SoGLCacheContextElement_shouldAutoCache(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_shouldAutoCache(*args) - -def SoGLCacheContextElement_setAutoCacheBits(*args): - """SoGLCacheContextElement_setAutoCacheBits(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_setAutoCacheBits(*args) - -def SoGLCacheContextElement_resetAutoCacheBits(*args): - """SoGLCacheContextElement_resetAutoCacheBits(SoState state) -> int""" - return _coin.SoGLCacheContextElement_resetAutoCacheBits(*args) - -def SoGLCacheContextElement_getIsRemoteRendering(*args): - """SoGLCacheContextElement_getIsRemoteRendering(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_getIsRemoteRendering(*args) - -def SoGLCacheContextElement_getUniqueCacheContext(*args): - """SoGLCacheContextElement_getUniqueCacheContext() -> uint32_t""" - return _coin.SoGLCacheContextElement_getUniqueCacheContext(*args) - -def SoGLCacheContextElement_scheduleDeleteCallback(*args): - """SoGLCacheContextElement_scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)""" - return _coin.SoGLCacheContextElement_scheduleDeleteCallback(*args) - -def SoGLCacheContextElement_incNumShapes(*args): - """SoGLCacheContextElement_incNumShapes(SoState state)""" - return _coin.SoGLCacheContextElement_incNumShapes(*args) - -def SoGLCacheContextElement_getNumShapes(*args): - """SoGLCacheContextElement_getNumShapes(SoState state) -> int""" - return _coin.SoGLCacheContextElement_getNumShapes(*args) - -def SoGLCacheContextElement_incNumSeparators(*args): - """SoGLCacheContextElement_incNumSeparators(SoState state)""" - return _coin.SoGLCacheContextElement_incNumSeparators(*args) - -def SoGLCacheContextElement_getNumSeparators(*args): - """SoGLCacheContextElement_getNumSeparators(SoState state) -> int""" - return _coin.SoGLCacheContextElement_getNumSeparators(*args) - -class SoGLDisplayList(object): - """Proxy of C++ SoGLDisplayList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - DISPLAY_LIST = _coin.SoGLDisplayList_DISPLAY_LIST - TEXTURE_OBJECT = _coin.SoGLDisplayList_TEXTURE_OBJECT - def __init__(self, *args): - """ - __init__(self, SoState state, Type type, int allocnum=1, SbBool mipmaptexobj=0) -> SoGLDisplayList - __init__(self, SoState state, Type type, int allocnum=1) -> SoGLDisplayList - __init__(self, SoState state, Type type) -> SoGLDisplayList - """ - this = _coin.new_SoGLDisplayList(*args) - try: self.this.append(this) - except: self.this = this - def ref(*args): - """ref(self)""" - return _coin.SoGLDisplayList_ref(*args) - - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLDisplayList_unref(*args) - - def open(*args): - """ - open(self, SoState state, int index=0) - open(self, SoState state) - """ - return _coin.SoGLDisplayList_open(*args) - - def close(*args): - """close(self, SoState state)""" - return _coin.SoGLDisplayList_close(*args) - - def call(*args): - """ - call(self, SoState state, int index=0) - call(self, SoState state) - """ - return _coin.SoGLDisplayList_call(*args) - - def addDependency(*args): - """addDependency(self, SoState state)""" - return _coin.SoGLDisplayList_addDependency(*args) - - def isMipMapTextureObject(*args): - """isMipMapTextureObject(self) -> SbBool""" - return _coin.SoGLDisplayList_isMipMapTextureObject(*args) - - def getType(*args): - """getType(self) -> Type""" - return _coin.SoGLDisplayList_getType(*args) - - def getNumAllocated(*args): - """getNumAllocated(self) -> int""" - return _coin.SoGLDisplayList_getNumAllocated(*args) - - def getFirstIndex(*args): - """getFirstIndex(self) -> unsigned int""" - return _coin.SoGLDisplayList_getFirstIndex(*args) - - def getContext(*args): - """getContext(self) -> int""" - return _coin.SoGLDisplayList_getContext(*args) - - def setTextureTarget(*args): - """setTextureTarget(self, int target)""" - return _coin.SoGLDisplayList_setTextureTarget(*args) - - def getTextureTarget(*args): - """getTextureTarget(self) -> int""" - return _coin.SoGLDisplayList_getTextureTarget(*args) - -SoGLDisplayList_swigregister = _coin.SoGLDisplayList_swigregister -SoGLDisplayList_swigregister(SoGLDisplayList) - -class SoGLColorIndexElement(SoReplacedElement): - """Proxy of C++ SoGLColorIndexElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLColorIndexElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLColorIndexElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLColorIndexElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLColorIndexElement_initClass(*args) - - initClass = staticmethod(initClass) - def isColorIndexMode(*args): - """isColorIndexMode(SoState state) -> SbBool""" - return _coin.SoGLColorIndexElement_isColorIndexMode(*args) - - isColorIndexMode = staticmethod(isColorIndexMode) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLColorIndexElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLColorIndexElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoGLColorIndexElement""" - return _coin.SoGLColorIndexElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoGLColorIndexElement_getNum(*args) - - def get(*args): - """get(self, int index) -> int32_t""" - return _coin.SoGLColorIndexElement_get(*args) - - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoGLColorIndexElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoGLColorIndexElement_swigregister = _coin.SoGLColorIndexElement_swigregister -SoGLColorIndexElement_swigregister(SoGLColorIndexElement) - -def SoGLColorIndexElement_getClassTypeId(*args): - """SoGLColorIndexElement_getClassTypeId() -> SoType""" - return _coin.SoGLColorIndexElement_getClassTypeId(*args) - -def SoGLColorIndexElement_getClassStackIndex(*args): - """SoGLColorIndexElement_getClassStackIndex() -> int""" - return _coin.SoGLColorIndexElement_getClassStackIndex(*args) - -def SoGLColorIndexElement_createInstance(*args): - """SoGLColorIndexElement_createInstance() -> void""" - return _coin.SoGLColorIndexElement_createInstance(*args) - -def SoGLColorIndexElement_initClass(*args): - """SoGLColorIndexElement_initClass()""" - return _coin.SoGLColorIndexElement_initClass(*args) - -def SoGLColorIndexElement_isColorIndexMode(*args): - """SoGLColorIndexElement_isColorIndexMode(SoState state) -> SbBool""" - return _coin.SoGLColorIndexElement_isColorIndexMode(*args) - -def SoGLColorIndexElement_set(*args): - """SoGLColorIndexElement_set(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLColorIndexElement_set(*args) - -def SoGLColorIndexElement_getInstance(*args): - """SoGLColorIndexElement_getInstance(SoState state) -> SoGLColorIndexElement""" - return _coin.SoGLColorIndexElement_getInstance(*args) - -def SoGLColorIndexElement_getDefault(*args): - """SoGLColorIndexElement_getDefault() -> int32_t""" - return _coin.SoGLColorIndexElement_getDefault(*args) - -class SoListenerPositionElement(SoReplacedElement): - """Proxy of C++ SoListenerPositionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerPositionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerPositionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerPositionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerPositionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerPositionElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)""" - return _coin.SoListenerPositionElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbVec3f""" - return _coin.SoListenerPositionElement_get(*args) - - get = staticmethod(get) - def isSetByListener(*args): - """isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerPositionElement_isSetByListener(*args) - - isSetByListener = staticmethod(isSetByListener) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerPositionElement_output(*args) - -SoListenerPositionElement_swigregister = _coin.SoListenerPositionElement_swigregister -SoListenerPositionElement_swigregister(SoListenerPositionElement) - -def SoListenerPositionElement_getClassTypeId(*args): - """SoListenerPositionElement_getClassTypeId() -> SoType""" - return _coin.SoListenerPositionElement_getClassTypeId(*args) - -def SoListenerPositionElement_getClassStackIndex(*args): - """SoListenerPositionElement_getClassStackIndex() -> int""" - return _coin.SoListenerPositionElement_getClassStackIndex(*args) - -def SoListenerPositionElement_createInstance(*args): - """SoListenerPositionElement_createInstance() -> void""" - return _coin.SoListenerPositionElement_createInstance(*args) - -def SoListenerPositionElement_initClass(*args): - """SoListenerPositionElement_initClass()""" - return _coin.SoListenerPositionElement_initClass(*args) - -def SoListenerPositionElement_set(*args): - """SoListenerPositionElement_set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)""" - return _coin.SoListenerPositionElement_set(*args) - -def SoListenerPositionElement_get(*args): - """SoListenerPositionElement_get(SoState state) -> SbVec3f""" - return _coin.SoListenerPositionElement_get(*args) - -def SoListenerPositionElement_isSetByListener(*args): - """SoListenerPositionElement_isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerPositionElement_isSetByListener(*args) - -class SoListenerOrientationElement(SoReplacedElement): - """Proxy of C++ SoListenerOrientationElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerOrientationElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerOrientationElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerOrientationElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerOrientationElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerOrientationElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbRotation orientation, - SbBool setbylistener) - """ - return _coin.SoListenerOrientationElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbRotation""" - return _coin.SoListenerOrientationElement_get(*args) - - get = staticmethod(get) - def isSetByListener(*args): - """isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerOrientationElement_isSetByListener(*args) - - isSetByListener = staticmethod(isSetByListener) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerOrientationElement_output(*args) - -SoListenerOrientationElement_swigregister = _coin.SoListenerOrientationElement_swigregister -SoListenerOrientationElement_swigregister(SoListenerOrientationElement) - -def SoListenerOrientationElement_getClassTypeId(*args): - """SoListenerOrientationElement_getClassTypeId() -> SoType""" - return _coin.SoListenerOrientationElement_getClassTypeId(*args) - -def SoListenerOrientationElement_getClassStackIndex(*args): - """SoListenerOrientationElement_getClassStackIndex() -> int""" - return _coin.SoListenerOrientationElement_getClassStackIndex(*args) - -def SoListenerOrientationElement_createInstance(*args): - """SoListenerOrientationElement_createInstance() -> void""" - return _coin.SoListenerOrientationElement_createInstance(*args) - -def SoListenerOrientationElement_initClass(*args): - """SoListenerOrientationElement_initClass()""" - return _coin.SoListenerOrientationElement_initClass(*args) - -def SoListenerOrientationElement_set(*args): - """ - SoListenerOrientationElement_set(SoState state, SoNode node, SbRotation orientation, - SbBool setbylistener) - """ - return _coin.SoListenerOrientationElement_set(*args) - -def SoListenerOrientationElement_get(*args): - """SoListenerOrientationElement_get(SoState state) -> SbRotation""" - return _coin.SoListenerOrientationElement_get(*args) - -def SoListenerOrientationElement_isSetByListener(*args): - """SoListenerOrientationElement_isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerOrientationElement_isSetByListener(*args) - -class SoListenerDopplerElement(SoReplacedElement): - """Proxy of C++ SoListenerDopplerElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerDopplerElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerDopplerElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerDopplerElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerDopplerElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerDopplerElement_init(*args) - - def setDopplerVelocity(*args): - """setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)""" - return _coin.SoListenerDopplerElement_setDopplerVelocity(*args) - - setDopplerVelocity = staticmethod(setDopplerVelocity) - def setDopplerFactor(*args): - """setDopplerFactor(SoState state, SoNode node, float factor)""" - return _coin.SoListenerDopplerElement_setDopplerFactor(*args) - - setDopplerFactor = staticmethod(setDopplerFactor) - def getDopplerVelocity(*args): - """getDopplerVelocity(SoState state) -> SbVec3f""" - return _coin.SoListenerDopplerElement_getDopplerVelocity(*args) - - getDopplerVelocity = staticmethod(getDopplerVelocity) - def getDopplerFactor(*args): - """getDopplerFactor(SoState state) -> float""" - return _coin.SoListenerDopplerElement_getDopplerFactor(*args) - - getDopplerFactor = staticmethod(getDopplerFactor) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerDopplerElement_output(*args) - -SoListenerDopplerElement_swigregister = _coin.SoListenerDopplerElement_swigregister -SoListenerDopplerElement_swigregister(SoListenerDopplerElement) - -def SoListenerDopplerElement_getClassTypeId(*args): - """SoListenerDopplerElement_getClassTypeId() -> SoType""" - return _coin.SoListenerDopplerElement_getClassTypeId(*args) - -def SoListenerDopplerElement_getClassStackIndex(*args): - """SoListenerDopplerElement_getClassStackIndex() -> int""" - return _coin.SoListenerDopplerElement_getClassStackIndex(*args) - -def SoListenerDopplerElement_createInstance(*args): - """SoListenerDopplerElement_createInstance() -> void""" - return _coin.SoListenerDopplerElement_createInstance(*args) - -def SoListenerDopplerElement_initClass(*args): - """SoListenerDopplerElement_initClass()""" - return _coin.SoListenerDopplerElement_initClass(*args) - -def SoListenerDopplerElement_setDopplerVelocity(*args): - """SoListenerDopplerElement_setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)""" - return _coin.SoListenerDopplerElement_setDopplerVelocity(*args) - -def SoListenerDopplerElement_setDopplerFactor(*args): - """SoListenerDopplerElement_setDopplerFactor(SoState state, SoNode node, float factor)""" - return _coin.SoListenerDopplerElement_setDopplerFactor(*args) - -def SoListenerDopplerElement_getDopplerVelocity(*args): - """SoListenerDopplerElement_getDopplerVelocity(SoState state) -> SbVec3f""" - return _coin.SoListenerDopplerElement_getDopplerVelocity(*args) - -def SoListenerDopplerElement_getDopplerFactor(*args): - """SoListenerDopplerElement_getDopplerFactor(SoState state) -> float""" - return _coin.SoListenerDopplerElement_getDopplerFactor(*args) - -class SoListenerGainElement(SoFloatElement): - """Proxy of C++ SoListenerGainElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerGainElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerGainElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerGainElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerGainElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerGainElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float gain) - set(SoState state, float gain) - """ - return _coin.SoListenerGainElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoListenerGainElement_get(*args) - - get = staticmethod(get) -SoListenerGainElement_swigregister = _coin.SoListenerGainElement_swigregister -SoListenerGainElement_swigregister(SoListenerGainElement) - -def SoListenerGainElement_getClassTypeId(*args): - """SoListenerGainElement_getClassTypeId() -> SoType""" - return _coin.SoListenerGainElement_getClassTypeId(*args) - -def SoListenerGainElement_getClassStackIndex(*args): - """SoListenerGainElement_getClassStackIndex() -> int""" - return _coin.SoListenerGainElement_getClassStackIndex(*args) - -def SoListenerGainElement_createInstance(*args): - """SoListenerGainElement_createInstance() -> void""" - return _coin.SoListenerGainElement_createInstance(*args) - -def SoListenerGainElement_initClass(*args): - """SoListenerGainElement_initClass()""" - return _coin.SoListenerGainElement_initClass(*args) - -def SoListenerGainElement_set(*args): - """ - set(SoState state, SoNode node, float gain) - SoListenerGainElement_set(SoState state, float gain) - """ - return _coin.SoListenerGainElement_set(*args) - -def SoListenerGainElement_get(*args): - """SoListenerGainElement_get(SoState state) -> float""" - return _coin.SoListenerGainElement_get(*args) - -class SoSoundElement(SoReplacedElement): - """Proxy of C++ SoSoundElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSoundElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSoundElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSoundElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSoundElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSoundElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool scenegraphhassoundnode, - SbBool soundnodeisplaying, SbBool ispartofactivescenegraph) - """ - return _coin.SoSoundElement_set(*args) - - set = staticmethod(set) - def setSceneGraphHasSoundNode(*args): - """setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSceneGraphHasSoundNode(*args) - - setSceneGraphHasSoundNode = staticmethod(setSceneGraphHasSoundNode) - def sceneGraphHasSoundNode(*args): - """sceneGraphHasSoundNode(SoState state) -> SbBool""" - return _coin.SoSoundElement_sceneGraphHasSoundNode(*args) - - sceneGraphHasSoundNode = staticmethod(sceneGraphHasSoundNode) - def setSoundNodeIsPlaying(*args): - """setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSoundNodeIsPlaying(*args) - - setSoundNodeIsPlaying = staticmethod(setSoundNodeIsPlaying) - def soundNodeIsPlaying(*args): - """soundNodeIsPlaying(SoState state) -> SbBool""" - return _coin.SoSoundElement_soundNodeIsPlaying(*args) - - soundNodeIsPlaying = staticmethod(soundNodeIsPlaying) - def setIsPartOfActiveSceneGraph(*args): - """setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setIsPartOfActiveSceneGraph(*args) - - setIsPartOfActiveSceneGraph = staticmethod(setIsPartOfActiveSceneGraph) - def isPartOfActiveSceneGraph(*args): - """isPartOfActiveSceneGraph(SoState state) -> SbBool""" - return _coin.SoSoundElement_isPartOfActiveSceneGraph(*args) - - isPartOfActiveSceneGraph = staticmethod(isPartOfActiveSceneGraph) - def push(*args): - """push(self, SoState state)""" - return _coin.SoSoundElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoSoundElement_pop(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoSoundElement_output(*args) - -SoSoundElement_swigregister = _coin.SoSoundElement_swigregister -SoSoundElement_swigregister(SoSoundElement) - -def SoSoundElement_getClassTypeId(*args): - """SoSoundElement_getClassTypeId() -> SoType""" - return _coin.SoSoundElement_getClassTypeId(*args) - -def SoSoundElement_getClassStackIndex(*args): - """SoSoundElement_getClassStackIndex() -> int""" - return _coin.SoSoundElement_getClassStackIndex(*args) - -def SoSoundElement_createInstance(*args): - """SoSoundElement_createInstance() -> void""" - return _coin.SoSoundElement_createInstance(*args) - -def SoSoundElement_initClass(*args): - """SoSoundElement_initClass()""" - return _coin.SoSoundElement_initClass(*args) - -def SoSoundElement_set(*args): - """ - SoSoundElement_set(SoState state, SoNode node, SbBool scenegraphhassoundnode, - SbBool soundnodeisplaying, SbBool ispartofactivescenegraph) - """ - return _coin.SoSoundElement_set(*args) - -def SoSoundElement_setSceneGraphHasSoundNode(*args): - """SoSoundElement_setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSceneGraphHasSoundNode(*args) - -def SoSoundElement_sceneGraphHasSoundNode(*args): - """SoSoundElement_sceneGraphHasSoundNode(SoState state) -> SbBool""" - return _coin.SoSoundElement_sceneGraphHasSoundNode(*args) - -def SoSoundElement_setSoundNodeIsPlaying(*args): - """SoSoundElement_setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSoundNodeIsPlaying(*args) - -def SoSoundElement_soundNodeIsPlaying(*args): - """SoSoundElement_soundNodeIsPlaying(SoState state) -> SbBool""" - return _coin.SoSoundElement_soundNodeIsPlaying(*args) - -def SoSoundElement_setIsPartOfActiveSceneGraph(*args): - """SoSoundElement_setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setIsPartOfActiveSceneGraph(*args) - -def SoSoundElement_isPartOfActiveSceneGraph(*args): - """SoSoundElement_isPartOfActiveSceneGraph(SoState state) -> SbBool""" - return _coin.SoSoundElement_isPartOfActiveSceneGraph(*args) - -class SoGLVBOElement(SoElement): - """Proxy of C++ SoGLVBOElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLVBOElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLVBOElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLVBOElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLVBOElement_initClass(*args) - - initClass = staticmethod(initClass) - def shouldCreateVBO(*args): - """shouldCreateVBO(SoState state, int numdata) -> SbBool""" - return _coin.SoGLVBOElement_shouldCreateVBO(*args) - - shouldCreateVBO = staticmethod(shouldCreateVBO) - def setVertexVBO(*args): - """setVertexVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setVertexVBO(*args) - - setVertexVBO = staticmethod(setVertexVBO) - def setNormalVBO(*args): - """setNormalVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setNormalVBO(*args) - - setNormalVBO = staticmethod(setNormalVBO) - def setColorVBO(*args): - """setColorVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setColorVBO(*args) - - setColorVBO = staticmethod(setColorVBO) - def setTexCoordVBO(*args): - """setTexCoordVBO(SoState state, int unit, SoVBO vbo)""" - return _coin.SoGLVBOElement_setTexCoordVBO(*args) - - setTexCoordVBO = staticmethod(setTexCoordVBO) - def getInstance(*args): - """getInstance(SoState state) -> SoGLVBOElement""" - return _coin.SoGLVBOElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLVBOElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLVBOElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoGLVBOElement_pop(*args) - - def matches(*args): - """matches(self, SoElement elt) -> SbBool""" - return _coin.SoGLVBOElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLVBOElement_copyMatchInfo(*args) - - def getVertexVBO(*args): - """getVertexVBO(self) -> SoVBO""" - return _coin.SoGLVBOElement_getVertexVBO(*args) - - def getNormalVBO(*args): - """getNormalVBO(self) -> SoVBO""" - return _coin.SoGLVBOElement_getNormalVBO(*args) - - def getColorVBO(*args): - """getColorVBO(self) -> SoVBO""" - return _coin.SoGLVBOElement_getColorVBO(*args) - - def getNumTexCoordVBO(*args): - """getNumTexCoordVBO(self) -> int""" - return _coin.SoGLVBOElement_getNumTexCoordVBO(*args) - - def getTexCoordVBO(*args): - """getTexCoordVBO(self, int idx) -> SoVBO""" - return _coin.SoGLVBOElement_getTexCoordVBO(*args) - -SoGLVBOElement_swigregister = _coin.SoGLVBOElement_swigregister -SoGLVBOElement_swigregister(SoGLVBOElement) - -def SoGLVBOElement_getClassTypeId(*args): - """SoGLVBOElement_getClassTypeId() -> SoType""" - return _coin.SoGLVBOElement_getClassTypeId(*args) - -def SoGLVBOElement_getClassStackIndex(*args): - """SoGLVBOElement_getClassStackIndex() -> int""" - return _coin.SoGLVBOElement_getClassStackIndex(*args) - -def SoGLVBOElement_createInstance(*args): - """SoGLVBOElement_createInstance() -> void""" - return _coin.SoGLVBOElement_createInstance(*args) - -def SoGLVBOElement_initClass(*args): - """SoGLVBOElement_initClass()""" - return _coin.SoGLVBOElement_initClass(*args) - -def SoGLVBOElement_shouldCreateVBO(*args): - """SoGLVBOElement_shouldCreateVBO(SoState state, int numdata) -> SbBool""" - return _coin.SoGLVBOElement_shouldCreateVBO(*args) - -def SoGLVBOElement_setVertexVBO(*args): - """SoGLVBOElement_setVertexVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setVertexVBO(*args) - -def SoGLVBOElement_setNormalVBO(*args): - """SoGLVBOElement_setNormalVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setNormalVBO(*args) - -def SoGLVBOElement_setColorVBO(*args): - """SoGLVBOElement_setColorVBO(SoState state, SoVBO vbo)""" - return _coin.SoGLVBOElement_setColorVBO(*args) - -def SoGLVBOElement_setTexCoordVBO(*args): - """SoGLVBOElement_setTexCoordVBO(SoState state, int unit, SoVBO vbo)""" - return _coin.SoGLVBOElement_setTexCoordVBO(*args) - -def SoGLVBOElement_getInstance(*args): - """SoGLVBOElement_getInstance(SoState state) -> SoGLVBOElement""" - return _coin.SoGLVBOElement_getInstance(*args) - -class SoDepthBufferElement(SoElement): - """Proxy of C++ SoDepthBufferElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDepthBufferElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDepthBufferElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDepthBufferElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDepthBufferElement_initClass(*args) - - initClass = staticmethod(initClass) - NEVER = _coin.SoDepthBufferElement_NEVER - ALWAYS = _coin.SoDepthBufferElement_ALWAYS - LESS = _coin.SoDepthBufferElement_LESS - LEQUAL = _coin.SoDepthBufferElement_LEQUAL - EQUAL = _coin.SoDepthBufferElement_EQUAL - GEQUAL = _coin.SoDepthBufferElement_GEQUAL - GREATER = _coin.SoDepthBufferElement_GREATER - NOTEQUAL = _coin.SoDepthBufferElement_NOTEQUAL - def set(*args): - """ - set(SoState state, SbBool test, SbBool write, DepthWriteFunction function, - SbVec2f range) - """ - return _coin.SoDepthBufferElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, SbBool test_out, SbBool write_out, DepthWriteFunction function_out, - SbVec2f range_out) - """ - return _coin.SoDepthBufferElement_get(*args) - - get = staticmethod(get) - def getTestEnable(*args): - """getTestEnable(SoState state) -> SbBool""" - return _coin.SoDepthBufferElement_getTestEnable(*args) - - getTestEnable = staticmethod(getTestEnable) - def getWriteEnable(*args): - """getWriteEnable(SoState state) -> SbBool""" - return _coin.SoDepthBufferElement_getWriteEnable(*args) - - getWriteEnable = staticmethod(getWriteEnable) - def getFunction(*args): - """getFunction(SoState state) -> DepthWriteFunction""" - return _coin.SoDepthBufferElement_getFunction(*args) - - getFunction = staticmethod(getFunction) - def getRange(*args): - """getRange(SoState state) -> SbVec2f""" - return _coin.SoDepthBufferElement_getRange(*args) - - getRange = staticmethod(getRange) - def init(*args): - """init(self, SoState state)""" - return _coin.SoDepthBufferElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoDepthBufferElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoDepthBufferElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoDepthBufferElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoDepthBufferElement_copyMatchInfo(*args) - -SoDepthBufferElement_swigregister = _coin.SoDepthBufferElement_swigregister -SoDepthBufferElement_swigregister(SoDepthBufferElement) - -def SoDepthBufferElement_getClassTypeId(*args): - """SoDepthBufferElement_getClassTypeId() -> SoType""" - return _coin.SoDepthBufferElement_getClassTypeId(*args) - -def SoDepthBufferElement_getClassStackIndex(*args): - """SoDepthBufferElement_getClassStackIndex() -> int""" - return _coin.SoDepthBufferElement_getClassStackIndex(*args) - -def SoDepthBufferElement_createInstance(*args): - """SoDepthBufferElement_createInstance() -> void""" - return _coin.SoDepthBufferElement_createInstance(*args) - -def SoDepthBufferElement_initClass(*args): - """SoDepthBufferElement_initClass()""" - return _coin.SoDepthBufferElement_initClass(*args) - -def SoDepthBufferElement_set(*args): - """ - SoDepthBufferElement_set(SoState state, SbBool test, SbBool write, DepthWriteFunction function, - SbVec2f range) - """ - return _coin.SoDepthBufferElement_set(*args) - -def SoDepthBufferElement_get(*args): - """ - SoDepthBufferElement_get(SoState state, SbBool test_out, SbBool write_out, DepthWriteFunction function_out, - SbVec2f range_out) - """ - return _coin.SoDepthBufferElement_get(*args) - -def SoDepthBufferElement_getTestEnable(*args): - """SoDepthBufferElement_getTestEnable(SoState state) -> SbBool""" - return _coin.SoDepthBufferElement_getTestEnable(*args) - -def SoDepthBufferElement_getWriteEnable(*args): - """SoDepthBufferElement_getWriteEnable(SoState state) -> SbBool""" - return _coin.SoDepthBufferElement_getWriteEnable(*args) - -def SoDepthBufferElement_getFunction(*args): - """SoDepthBufferElement_getFunction(SoState state) -> DepthWriteFunction""" - return _coin.SoDepthBufferElement_getFunction(*args) - -def SoDepthBufferElement_getRange(*args): - """SoDepthBufferElement_getRange(SoState state) -> SbVec2f""" - return _coin.SoDepthBufferElement_getRange(*args) - -class SoGLDepthBufferElement(SoDepthBufferElement): - """Proxy of C++ SoGLDepthBufferElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLDepthBufferElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLDepthBufferElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLDepthBufferElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLDepthBufferElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLDepthBufferElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLDepthBufferElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLDepthBufferElement_pop(*args) - -SoGLDepthBufferElement_swigregister = _coin.SoGLDepthBufferElement_swigregister -SoGLDepthBufferElement_swigregister(SoGLDepthBufferElement) - -def SoGLDepthBufferElement_getClassTypeId(*args): - """SoGLDepthBufferElement_getClassTypeId() -> SoType""" - return _coin.SoGLDepthBufferElement_getClassTypeId(*args) - -def SoGLDepthBufferElement_getClassStackIndex(*args): - """SoGLDepthBufferElement_getClassStackIndex() -> int""" - return _coin.SoGLDepthBufferElement_getClassStackIndex(*args) - -def SoGLDepthBufferElement_createInstance(*args): - """SoGLDepthBufferElement_createInstance() -> void""" - return _coin.SoGLDepthBufferElement_createInstance(*args) - -def SoGLDepthBufferElement_initClass(*args): - """SoGLDepthBufferElement_initClass()""" - return _coin.SoGLDepthBufferElement_initClass(*args) - -class SoVertexAttributeElement(SoAccumulatedElement): - """Proxy of C++ SoVertexAttributeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoVertexAttributeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVertexAttributeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVertexAttributeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoVertexAttributeElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoVertexAttributeElement_push(*args) - - def add(*args): - """add(SoState state, SoVertexAttributeData attribdata)""" - return _coin.SoVertexAttributeElement_add(*args) - - add = staticmethod(add) - def getInstance(*args): - """getInstance(SoState state) -> SoVertexAttributeElement""" - return _coin.SoVertexAttributeElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNumAttributes(*args): - """getNumAttributes(self) -> unsigned int""" - return _coin.SoVertexAttributeElement_getNumAttributes(*args) - - def applyToAttributes(*args): - """applyToAttributes(self, AttributeApplyFunc func, void closure)""" - return _coin.SoVertexAttributeElement_applyToAttributes(*args) - -SoVertexAttributeElement_swigregister = _coin.SoVertexAttributeElement_swigregister -SoVertexAttributeElement_swigregister(SoVertexAttributeElement) - -def SoVertexAttributeElement_getClassTypeId(*args): - """SoVertexAttributeElement_getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeElement_getClassTypeId(*args) - -def SoVertexAttributeElement_getClassStackIndex(*args): - """SoVertexAttributeElement_getClassStackIndex() -> int""" - return _coin.SoVertexAttributeElement_getClassStackIndex(*args) - -def SoVertexAttributeElement_createInstance(*args): - """SoVertexAttributeElement_createInstance() -> void""" - return _coin.SoVertexAttributeElement_createInstance(*args) - -def SoVertexAttributeElement_initClass(*args): - """SoVertexAttributeElement_initClass()""" - return _coin.SoVertexAttributeElement_initClass(*args) - -def SoVertexAttributeElement_add(*args): - """SoVertexAttributeElement_add(SoState state, SoVertexAttributeData attribdata)""" - return _coin.SoVertexAttributeElement_add(*args) - -def SoVertexAttributeElement_getInstance(*args): - """SoVertexAttributeElement_getInstance(SoState state) -> SoVertexAttributeElement""" - return _coin.SoVertexAttributeElement_getInstance(*args) - -class SoGLVertexAttributeElement(SoVertexAttributeElement): - """Proxy of C++ SoGLVertexAttributeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLVertexAttributeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLVertexAttributeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLVertexAttributeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLVertexAttributeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLVertexAttributeElement_init(*args) - - def enableVBO(*args): - """enableVBO(self, SoGLRenderAction action)""" - return _coin.SoGLVertexAttributeElement_enableVBO(*args) - - def disableVBO(*args): - """disableVBO(self, SoGLRenderAction action)""" - return _coin.SoGLVertexAttributeElement_disableVBO(*args) - - def send(*args): - """send(self, int index)""" - return _coin.SoGLVertexAttributeElement_send(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoGLVertexAttributeElement""" - return _coin.SoGLVertexAttributeElement_getInstance(*args) - - getInstance = staticmethod(getInstance) -SoGLVertexAttributeElement_swigregister = _coin.SoGLVertexAttributeElement_swigregister -SoGLVertexAttributeElement_swigregister(SoGLVertexAttributeElement) - -def SoGLVertexAttributeElement_getClassTypeId(*args): - """SoGLVertexAttributeElement_getClassTypeId() -> SoType""" - return _coin.SoGLVertexAttributeElement_getClassTypeId(*args) - -def SoGLVertexAttributeElement_getClassStackIndex(*args): - """SoGLVertexAttributeElement_getClassStackIndex() -> int""" - return _coin.SoGLVertexAttributeElement_getClassStackIndex(*args) - -def SoGLVertexAttributeElement_createInstance(*args): - """SoGLVertexAttributeElement_createInstance() -> void""" - return _coin.SoGLVertexAttributeElement_createInstance(*args) - -def SoGLVertexAttributeElement_initClass(*args): - """SoGLVertexAttributeElement_initClass()""" - return _coin.SoGLVertexAttributeElement_initClass(*args) - -def SoGLVertexAttributeElement_getInstance(*args): - """SoGLVertexAttributeElement_getInstance(SoState state) -> SoGLVertexAttributeElement""" - return _coin.SoGLVertexAttributeElement_getInstance(*args) - -class SoVertexAttributeBindingElement(SoInt32Element): - """Proxy of C++ SoVertexAttributeBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoVertexAttributeBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVertexAttributeBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVertexAttributeBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - OVERALL = _coin.SoVertexAttributeBindingElement_OVERALL - PER_VERTEX = _coin.SoVertexAttributeBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVertexAttributeBindingElement_PER_VERTEX_INDEXED - DEFAULT = _coin.SoVertexAttributeBindingElement_DEFAULT - def init(*args): - """init(self, SoState state)""" - return _coin.SoVertexAttributeBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoVertexAttributeBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoVertexAttributeBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoVertexAttributeBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoVertexAttributeBindingElement_swigregister = _coin.SoVertexAttributeBindingElement_swigregister -SoVertexAttributeBindingElement_swigregister(SoVertexAttributeBindingElement) - -def SoVertexAttributeBindingElement_getClassTypeId(*args): - """SoVertexAttributeBindingElement_getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeBindingElement_getClassTypeId(*args) - -def SoVertexAttributeBindingElement_getClassStackIndex(*args): - """SoVertexAttributeBindingElement_getClassStackIndex() -> int""" - return _coin.SoVertexAttributeBindingElement_getClassStackIndex(*args) - -def SoVertexAttributeBindingElement_createInstance(*args): - """SoVertexAttributeBindingElement_createInstance() -> void""" - return _coin.SoVertexAttributeBindingElement_createInstance(*args) - -def SoVertexAttributeBindingElement_initClass(*args): - """SoVertexAttributeBindingElement_initClass()""" - return _coin.SoVertexAttributeBindingElement_initClass(*args) - -def SoVertexAttributeBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoVertexAttributeBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoVertexAttributeBindingElement_set(*args) - -def SoVertexAttributeBindingElement_get(*args): - """SoVertexAttributeBindingElement_get(SoState state) -> Binding""" - return _coin.SoVertexAttributeBindingElement_get(*args) - -def SoVertexAttributeBindingElement_getDefault(*args): - """SoVertexAttributeBindingElement_getDefault() -> Binding""" - return _coin.SoVertexAttributeBindingElement_getDefault(*args) - -class SoSpecularColorElement(SoReplacedElement): - """Proxy of C++ SoSpecularColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpecularColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSpecularColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSpecularColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSpecularColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSpecularColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numColors, SbColor colors)""" - return _coin.SoSpecularColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoSpecularColorElement""" - return _coin.SoSpecularColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoSpecularColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoSpecularColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoSpecularColorElement_getArrayPtr(*args) - -SoSpecularColorElement_swigregister = _coin.SoSpecularColorElement_swigregister -SoSpecularColorElement_swigregister(SoSpecularColorElement) - -def SoSpecularColorElement_getClassTypeId(*args): - """SoSpecularColorElement_getClassTypeId() -> SoType""" - return _coin.SoSpecularColorElement_getClassTypeId(*args) - -def SoSpecularColorElement_getClassStackIndex(*args): - """SoSpecularColorElement_getClassStackIndex() -> int""" - return _coin.SoSpecularColorElement_getClassStackIndex(*args) - -def SoSpecularColorElement_createInstance(*args): - """SoSpecularColorElement_createInstance() -> void""" - return _coin.SoSpecularColorElement_createInstance(*args) - -def SoSpecularColorElement_initClass(*args): - """SoSpecularColorElement_initClass()""" - return _coin.SoSpecularColorElement_initClass(*args) - -def SoSpecularColorElement_set(*args): - """SoSpecularColorElement_set(SoState state, SoNode node, int32_t numColors, SbColor colors)""" - return _coin.SoSpecularColorElement_set(*args) - -def SoSpecularColorElement_getInstance(*args): - """SoSpecularColorElement_getInstance(SoState state) -> SoSpecularColorElement""" - return _coin.SoSpecularColorElement_getInstance(*args) - -class SoEmissiveColorElement(SoReplacedElement): - """Proxy of C++ SoEmissiveColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEmissiveColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoEmissiveColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoEmissiveColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoEmissiveColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoEmissiveColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoEmissiveColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoEmissiveColorElement""" - return _coin.SoEmissiveColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoEmissiveColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoEmissiveColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoEmissiveColorElement_getArrayPtr(*args) - -SoEmissiveColorElement_swigregister = _coin.SoEmissiveColorElement_swigregister -SoEmissiveColorElement_swigregister(SoEmissiveColorElement) - -def SoEmissiveColorElement_getClassTypeId(*args): - """SoEmissiveColorElement_getClassTypeId() -> SoType""" - return _coin.SoEmissiveColorElement_getClassTypeId(*args) - -def SoEmissiveColorElement_getClassStackIndex(*args): - """SoEmissiveColorElement_getClassStackIndex() -> int""" - return _coin.SoEmissiveColorElement_getClassStackIndex(*args) - -def SoEmissiveColorElement_createInstance(*args): - """SoEmissiveColorElement_createInstance() -> void""" - return _coin.SoEmissiveColorElement_createInstance(*args) - -def SoEmissiveColorElement_initClass(*args): - """SoEmissiveColorElement_initClass()""" - return _coin.SoEmissiveColorElement_initClass(*args) - -def SoEmissiveColorElement_set(*args): - """SoEmissiveColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoEmissiveColorElement_set(*args) - -def SoEmissiveColorElement_getInstance(*args): - """SoEmissiveColorElement_getInstance(SoState state) -> SoEmissiveColorElement""" - return _coin.SoEmissiveColorElement_getInstance(*args) - -class SoShininessElement(SoReplacedElement): - """Proxy of C++ SoShininessElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShininessElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShininessElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShininessElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShininessElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoShininessElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoShininessElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoShininessElement""" - return _coin.SoShininessElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoShininessElement_getNum(*args) - - def get(*args): - """get(self, int index) -> float""" - return _coin.SoShininessElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> float""" - return _coin.SoShininessElement_getArrayPtr(*args) - -SoShininessElement_swigregister = _coin.SoShininessElement_swigregister -SoShininessElement_swigregister(SoShininessElement) - -def SoShininessElement_getClassTypeId(*args): - """SoShininessElement_getClassTypeId() -> SoType""" - return _coin.SoShininessElement_getClassTypeId(*args) - -def SoShininessElement_getClassStackIndex(*args): - """SoShininessElement_getClassStackIndex() -> int""" - return _coin.SoShininessElement_getClassStackIndex(*args) - -def SoShininessElement_createInstance(*args): - """SoShininessElement_createInstance() -> void""" - return _coin.SoShininessElement_createInstance(*args) - -def SoShininessElement_initClass(*args): - """SoShininessElement_initClass()""" - return _coin.SoShininessElement_initClass(*args) - -def SoShininessElement_set(*args): - """SoShininessElement_set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoShininessElement_set(*args) - -def SoShininessElement_getInstance(*args): - """SoShininessElement_getInstance(SoState state) -> SoShininessElement""" - return _coin.SoShininessElement_getInstance(*args) - -class SoTransparencyElement(SoReplacedElement): - """Proxy of C++ SoTransparencyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransparencyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTransparencyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTransparencyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTransparencyElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTransparencyElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoTransparencyElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoTransparencyElement""" - return _coin.SoTransparencyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoTransparencyElement_getNum(*args) - - def get(*args): - """get(self, int index) -> float""" - return _coin.SoTransparencyElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> float""" - return _coin.SoTransparencyElement_getArrayPtr(*args) - -SoTransparencyElement_swigregister = _coin.SoTransparencyElement_swigregister -SoTransparencyElement_swigregister(SoTransparencyElement) - -def SoTransparencyElement_getClassTypeId(*args): - """SoTransparencyElement_getClassTypeId() -> SoType""" - return _coin.SoTransparencyElement_getClassTypeId(*args) - -def SoTransparencyElement_getClassStackIndex(*args): - """SoTransparencyElement_getClassStackIndex() -> int""" - return _coin.SoTransparencyElement_getClassStackIndex(*args) - -def SoTransparencyElement_createInstance(*args): - """SoTransparencyElement_createInstance() -> void""" - return _coin.SoTransparencyElement_createInstance(*args) - -def SoTransparencyElement_initClass(*args): - """SoTransparencyElement_initClass()""" - return _coin.SoTransparencyElement_initClass(*args) - -def SoTransparencyElement_set(*args): - """SoTransparencyElement_set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoTransparencyElement_set(*args) - -def SoTransparencyElement_getInstance(*args): - """SoTransparencyElement_getInstance(SoState state) -> SoTransparencyElement""" - return _coin.SoTransparencyElement_getInstance(*args) - -class SoLightModelElement(SoInt32Element): - """Proxy of C++ SoLightModelElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightModelElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightModelElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightModelElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightModelElement_initClass(*args) - - initClass = staticmethod(initClass) - BASE_COLOR = _coin.SoLightModelElement_BASE_COLOR - PHONG = _coin.SoLightModelElement_PHONG - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightModelElement_init(*args) - - def set(*args): - """ - set(SoState state, Model model) - set(SoState state, SoNode node, Model model) - """ - return _coin.SoLightModelElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Model""" - return _coin.SoLightModelElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Model""" - return _coin.SoLightModelElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def getInstance(*args): - """getInstance(SoState state) -> SoLightModelElement""" - return _coin.SoLightModelElement_getInstance(*args) - - getInstance = staticmethod(getInstance) -SoLightModelElement_swigregister = _coin.SoLightModelElement_swigregister -SoLightModelElement_swigregister(SoLightModelElement) - -def SoLightModelElement_getClassTypeId(*args): - """SoLightModelElement_getClassTypeId() -> SoType""" - return _coin.SoLightModelElement_getClassTypeId(*args) - -def SoLightModelElement_getClassStackIndex(*args): - """SoLightModelElement_getClassStackIndex() -> int""" - return _coin.SoLightModelElement_getClassStackIndex(*args) - -def SoLightModelElement_createInstance(*args): - """SoLightModelElement_createInstance() -> void""" - return _coin.SoLightModelElement_createInstance(*args) - -def SoLightModelElement_initClass(*args): - """SoLightModelElement_initClass()""" - return _coin.SoLightModelElement_initClass(*args) - -def SoLightModelElement_set(*args): - """ - set(SoState state, Model model) - SoLightModelElement_set(SoState state, SoNode node, Model model) - """ - return _coin.SoLightModelElement_set(*args) - -def SoLightModelElement_get(*args): - """SoLightModelElement_get(SoState state) -> Model""" - return _coin.SoLightModelElement_get(*args) - -def SoLightModelElement_getDefault(*args): - """SoLightModelElement_getDefault() -> Model""" - return _coin.SoLightModelElement_getDefault(*args) - -def SoLightModelElement_getInstance(*args): - """SoLightModelElement_getInstance(SoState state) -> SoLightModelElement""" - return _coin.SoLightModelElement_getInstance(*args) - -class SoMultiTextureCoordinateElement(SoElement): - """Proxy of C++ SoMultiTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureCoordinateElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureCoordinateElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def setFunction(*args): - """ - setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoMultiTextureCoordinateElement_setFunction(*args) - - setFunction = staticmethod(setFunction) - def set2(*args): - """ - set2(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec2f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """ - set3(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec3f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """ - set4(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec4f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getType(*args): - """ - getType(self, SoState state, int unit) -> CoordType - getType(self, int unit) -> CoordType - """ - return _coin.SoMultiTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoMultiTextureCoordinateElement""" - return _coin.SoMultiTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def get(*args): - """get(self, int unit, SbVec3f point, SbVec3f normal) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_get(*args) - - def getNum(*args): - """getNum(self, int unit) -> int32_t""" - return _coin.SoMultiTextureCoordinateElement_getNum(*args) - - def is2D(*args): - """is2D(self, int unit) -> SbBool""" - return _coin.SoMultiTextureCoordinateElement_is2D(*args) - - def getDimension(*args): - """getDimension(self, int unit) -> int32_t""" - return _coin.SoMultiTextureCoordinateElement_getDimension(*args) - - def get2(*args): - """get2(self, int unit, int index) -> SbVec2f""" - return _coin.SoMultiTextureCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int unit, int index) -> SbVec3f""" - return _coin.SoMultiTextureCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int unit, int index) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_get4(*args) - - def getArrayPtr2(*args): - """getArrayPtr2(self, int unit) -> SbVec2f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self, int unit) -> SbVec3f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self, int unit) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr4(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureCoordinateElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureCoordinateElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureCoordinateElement_copyMatchInfo(*args) - -SoMultiTextureCoordinateElement_swigregister = _coin.SoMultiTextureCoordinateElement_swigregister -SoMultiTextureCoordinateElement_swigregister(SoMultiTextureCoordinateElement) - -def SoMultiTextureCoordinateElement_getClassTypeId(*args): - """SoMultiTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureCoordinateElement_getClassTypeId(*args) - -def SoMultiTextureCoordinateElement_getClassStackIndex(*args): - """SoMultiTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureCoordinateElement_getClassStackIndex(*args) - -def SoMultiTextureCoordinateElement_createInstance(*args): - """SoMultiTextureCoordinateElement_createInstance() -> void""" - return _coin.SoMultiTextureCoordinateElement_createInstance(*args) - -def SoMultiTextureCoordinateElement_initClass(*args): - """SoMultiTextureCoordinateElement_initClass()""" - return _coin.SoMultiTextureCoordinateElement_initClass(*args) - -def SoMultiTextureCoordinateElement_setDefault(*args): - """SoMultiTextureCoordinateElement_setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureCoordinateElement_setDefault(*args) - -def SoMultiTextureCoordinateElement_setFunction(*args): - """ - SoMultiTextureCoordinateElement_setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoMultiTextureCoordinateElement_setFunction(*args) - -def SoMultiTextureCoordinateElement_set2(*args): - """ - SoMultiTextureCoordinateElement_set2(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec2f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set2(*args) - -def SoMultiTextureCoordinateElement_set3(*args): - """ - SoMultiTextureCoordinateElement_set3(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec3f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set3(*args) - -def SoMultiTextureCoordinateElement_set4(*args): - """ - SoMultiTextureCoordinateElement_set4(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec4f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set4(*args) - -def SoMultiTextureCoordinateElement_getInstance(*args): - """SoMultiTextureCoordinateElement_getInstance(SoState state) -> SoMultiTextureCoordinateElement""" - return _coin.SoMultiTextureCoordinateElement_getInstance(*args) - -class SoGLMultiTextureCoordinateElement(SoMultiTextureCoordinateElement): - """Proxy of C++ SoGLMultiTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureCoordinateElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureCoordinateElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureCoordinateElement_pop(*args) - - def setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLMultiTextureCoordinateElement_setTexGen(*args) - - setTexGen = staticmethod(setTexGen) - def getType(*args): - """getType(self, int unit) -> CoordType""" - return _coin.SoGLMultiTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoGLMultiTextureCoordinateElement""" - return _coin.SoGLMultiTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """ - send(self, int unit, int index) - send(self, int unit, int index, SbVec3f c, SbVec3f n) - """ - return _coin.SoGLMultiTextureCoordinateElement_send(*args) - - def initRender(*args): - """initRender(self, SbBool enabled, int maxenabled)""" - return _coin.SoGLMultiTextureCoordinateElement_initRender(*args) - -SoGLMultiTextureCoordinateElement_swigregister = _coin.SoGLMultiTextureCoordinateElement_swigregister -SoGLMultiTextureCoordinateElement_swigregister(SoGLMultiTextureCoordinateElement) - -def SoGLMultiTextureCoordinateElement_getClassTypeId(*args): - """SoGLMultiTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureCoordinateElement_getClassTypeId(*args) - -def SoGLMultiTextureCoordinateElement_getClassStackIndex(*args): - """SoGLMultiTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureCoordinateElement_getClassStackIndex(*args) - -def SoGLMultiTextureCoordinateElement_createInstance(*args): - """SoGLMultiTextureCoordinateElement_createInstance() -> void""" - return _coin.SoGLMultiTextureCoordinateElement_createInstance(*args) - -def SoGLMultiTextureCoordinateElement_initClass(*args): - """SoGLMultiTextureCoordinateElement_initClass()""" - return _coin.SoGLMultiTextureCoordinateElement_initClass(*args) - -def SoGLMultiTextureCoordinateElement_setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - SoGLMultiTextureCoordinateElement_setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLMultiTextureCoordinateElement_setTexGen(*args) - -def SoGLMultiTextureCoordinateElement_getInstance(*args): - """SoGLMultiTextureCoordinateElement_getInstance(SoState state) -> SoGLMultiTextureCoordinateElement""" - return _coin.SoGLMultiTextureCoordinateElement_getInstance(*args) - -class SoMultiTextureEnabledElement(SoElement): - """Proxy of C++ SoMultiTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - DISABLED = _coin.SoMultiTextureEnabledElement_DISABLED - TEXTURE2D = _coin.SoMultiTextureEnabledElement_TEXTURE2D - RECTANGLE = _coin.SoMultiTextureEnabledElement_RECTANGLE - CUBEMAP = _coin.SoMultiTextureEnabledElement_CUBEMAP - TEXTURE3D = _coin.SoMultiTextureEnabledElement_TEXTURE3D - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureEnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int unit, SbBool enabled)""" - return _coin.SoMultiTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, int unit) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, int unit, int mode)""" - return _coin.SoMultiTextureEnabledElement_setElt(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureEnabledElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureEnabledElement_copyMatchInfo(*args) - - def getEnabledUnits(*args): - """getEnabledUnits(SoState state, int lastenabled) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_getEnabledUnits(*args) - - getEnabledUnits = staticmethod(getEnabledUnits) - def getActiveUnits(*args): - """getActiveUnits(SoState state, int lastenabled) -> Mode""" - return _coin.SoMultiTextureEnabledElement_getActiveUnits(*args) - - getActiveUnits = staticmethod(getActiveUnits) - def enableRectangle(*args): - """enableRectangle(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureEnabledElement_enableRectangle(*args) - - enableRectangle = staticmethod(enableRectangle) - def enableCubeMap(*args): - """enableCubeMap(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureEnabledElement_enableCubeMap(*args) - - enableCubeMap = staticmethod(enableCubeMap) - def getMode(*args): - """getMode(SoState state, int unit) -> Mode""" - return _coin.SoMultiTextureEnabledElement_getMode(*args) - - getMode = staticmethod(getMode) - def disableAll(*args): - """disableAll(SoState state)""" - return _coin.SoMultiTextureEnabledElement_disableAll(*args) - - disableAll = staticmethod(disableAll) -SoMultiTextureEnabledElement_swigregister = _coin.SoMultiTextureEnabledElement_swigregister -SoMultiTextureEnabledElement_swigregister(SoMultiTextureEnabledElement) - -def SoMultiTextureEnabledElement_getClassTypeId(*args): - """SoMultiTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureEnabledElement_getClassTypeId(*args) - -def SoMultiTextureEnabledElement_getClassStackIndex(*args): - """SoMultiTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureEnabledElement_getClassStackIndex(*args) - -def SoMultiTextureEnabledElement_createInstance(*args): - """SoMultiTextureEnabledElement_createInstance() -> void""" - return _coin.SoMultiTextureEnabledElement_createInstance(*args) - -def SoMultiTextureEnabledElement_initClass(*args): - """SoMultiTextureEnabledElement_initClass()""" - return _coin.SoMultiTextureEnabledElement_initClass(*args) - -def SoMultiTextureEnabledElement_set(*args): - """SoMultiTextureEnabledElement_set(SoState state, SoNode node, int unit, SbBool enabled)""" - return _coin.SoMultiTextureEnabledElement_set(*args) - -def SoMultiTextureEnabledElement_get(*args): - """SoMultiTextureEnabledElement_get(SoState state, int unit) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_get(*args) - -def SoMultiTextureEnabledElement_getEnabledUnits(*args): - """SoMultiTextureEnabledElement_getEnabledUnits(SoState state, int lastenabled) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_getEnabledUnits(*args) - -def SoMultiTextureEnabledElement_getActiveUnits(*args): - """SoMultiTextureEnabledElement_getActiveUnits(SoState state, int lastenabled) -> Mode""" - return _coin.SoMultiTextureEnabledElement_getActiveUnits(*args) - -def SoMultiTextureEnabledElement_enableRectangle(*args): - """SoMultiTextureEnabledElement_enableRectangle(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureEnabledElement_enableRectangle(*args) - -def SoMultiTextureEnabledElement_enableCubeMap(*args): - """SoMultiTextureEnabledElement_enableCubeMap(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureEnabledElement_enableCubeMap(*args) - -def SoMultiTextureEnabledElement_getMode(*args): - """SoMultiTextureEnabledElement_getMode(SoState state, int unit) -> Mode""" - return _coin.SoMultiTextureEnabledElement_getMode(*args) - -def SoMultiTextureEnabledElement_disableAll(*args): - """SoMultiTextureEnabledElement_disableAll(SoState state)""" - return _coin.SoMultiTextureEnabledElement_disableAll(*args) - -class SoGLMultiTextureEnabledElement(SoMultiTextureEnabledElement): - """Proxy of C++ SoGLMultiTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureEnabledElement_pop(*args) - - def setElt(*args): - """setElt(self, int unit, int mode)""" - return _coin.SoGLMultiTextureEnabledElement_setElt(*args) - -SoGLMultiTextureEnabledElement_swigregister = _coin.SoGLMultiTextureEnabledElement_swigregister -SoGLMultiTextureEnabledElement_swigregister(SoGLMultiTextureEnabledElement) - -def SoGLMultiTextureEnabledElement_getClassTypeId(*args): - """SoGLMultiTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureEnabledElement_getClassTypeId(*args) - -def SoGLMultiTextureEnabledElement_getClassStackIndex(*args): - """SoGLMultiTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureEnabledElement_getClassStackIndex(*args) - -def SoGLMultiTextureEnabledElement_createInstance(*args): - """SoGLMultiTextureEnabledElement_createInstance() -> void""" - return _coin.SoGLMultiTextureEnabledElement_createInstance(*args) - -def SoGLMultiTextureEnabledElement_initClass(*args): - """SoGLMultiTextureEnabledElement_initClass()""" - return _coin.SoGLMultiTextureEnabledElement_initClass(*args) - -class SoMultiTextureImageElement(SoElement): - """Proxy of C++ SoMultiTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureImageElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureImageElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def set(*args): - """ - set(SoState state, SoNode node, int unit, SbVec2s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) - set(SoState state, SoNode node, int unit, SbVec3s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, int unit, SbVec2s size, int numComponents, - Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, int unit, SbVec3s size, int numComponents, - Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_get(*args) - - get = staticmethod(get) - def getImage(*args): - """ - getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char - getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getImage(*args) - - getImage = staticmethod(getImage) - def getBlendColor(*args): - """getBlendColor(SoState state, int unit) -> SbColor""" - return _coin.SoMultiTextureImageElement_getBlendColor(*args) - - getBlendColor = staticmethod(getBlendColor) - def getModel(*args): - """getModel(SoState state, int unit) -> Model""" - return _coin.SoMultiTextureImageElement_getModel(*args) - - getModel = staticmethod(getModel) - def getWrapS(*args): - """getWrapS(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapS(*args) - - getWrapS = staticmethod(getWrapS) - def getWrapT(*args): - """getWrapT(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapT(*args) - - getWrapT = staticmethod(getWrapT) - def getWrapR(*args): - """getWrapR(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapR(*args) - - getWrapR = staticmethod(getWrapR) - def containsTransparency(*args): - """containsTransparency(SoState state) -> SbBool""" - return _coin.SoMultiTextureImageElement_containsTransparency(*args) - - containsTransparency = staticmethod(containsTransparency) - def getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureImageElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureImageElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureImageElement_copyMatchInfo(*args) - - def setElt(*args): - """ - setElt(self, int unit, uint32_t nodeid, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - setElt(self, int unit, uint32_t nodeid, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_setElt(*args) - - def hasTransparency(*args): - """hasTransparency(self, int unit) -> SbBool""" - return _coin.SoMultiTextureImageElement_hasTransparency(*args) - -SoMultiTextureImageElement_swigregister = _coin.SoMultiTextureImageElement_swigregister -SoMultiTextureImageElement_swigregister(SoMultiTextureImageElement) - -def SoMultiTextureImageElement_getClassTypeId(*args): - """SoMultiTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureImageElement_getClassTypeId(*args) - -def SoMultiTextureImageElement_getClassStackIndex(*args): - """SoMultiTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureImageElement_getClassStackIndex(*args) - -def SoMultiTextureImageElement_createInstance(*args): - """SoMultiTextureImageElement_createInstance() -> void""" - return _coin.SoMultiTextureImageElement_createInstance(*args) - -def SoMultiTextureImageElement_initClass(*args): - """SoMultiTextureImageElement_initClass()""" - return _coin.SoMultiTextureImageElement_initClass(*args) - -def SoMultiTextureImageElement_setDefault(*args): - """SoMultiTextureImageElement_setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureImageElement_setDefault(*args) - -def SoMultiTextureImageElement_set(*args): - """ - set(SoState state, SoNode node, int unit, SbVec2s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) - SoMultiTextureImageElement_set(SoState state, SoNode node, int unit, SbVec3s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_set(*args) - -def SoMultiTextureImageElement_get(*args): - """ - get(SoState state, int unit, SbVec2s size, int numComponents, - Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - SoMultiTextureImageElement_get(SoState state, int unit, SbVec3s size, int numComponents, - Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_get(*args) - -def SoMultiTextureImageElement_getImage(*args): - """ - getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char - SoMultiTextureImageElement_getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getImage(*args) - -def SoMultiTextureImageElement_getBlendColor(*args): - """SoMultiTextureImageElement_getBlendColor(SoState state, int unit) -> SbColor""" - return _coin.SoMultiTextureImageElement_getBlendColor(*args) - -def SoMultiTextureImageElement_getModel(*args): - """SoMultiTextureImageElement_getModel(SoState state, int unit) -> Model""" - return _coin.SoMultiTextureImageElement_getModel(*args) - -def SoMultiTextureImageElement_getWrapS(*args): - """SoMultiTextureImageElement_getWrapS(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapS(*args) - -def SoMultiTextureImageElement_getWrapT(*args): - """SoMultiTextureImageElement_getWrapT(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapT(*args) - -def SoMultiTextureImageElement_getWrapR(*args): - """SoMultiTextureImageElement_getWrapR(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapR(*args) - -def SoMultiTextureImageElement_containsTransparency(*args): - """SoMultiTextureImageElement_containsTransparency(SoState state) -> SbBool""" - return _coin.SoMultiTextureImageElement_containsTransparency(*args) - -def SoMultiTextureImageElement_getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - SoMultiTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getDefault(*args) - -class SoGLMultiTextureImageElement(SoMultiTextureImageElement): - """Proxy of C++ SoGLMultiTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureImageElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureImageElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureImageElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int unit, SoGLImage image, - Model model, SbColor blendColor) - """ - return _coin.SoGLMultiTextureImageElement_set(*args) - - set = staticmethod(set) - def restore(*args): - """restore(SoState state, int unit)""" - return _coin.SoGLMultiTextureImageElement_restore(*args) - - restore = staticmethod(restore) - def get(*args): - """get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLMultiTextureImageElement_get(*args) - - get = staticmethod(get) - def hasTransparency(*args): - """hasTransparency(SoState state) -> SbBool""" - return _coin.SoGLMultiTextureImageElement_hasTransparency(*args) - - hasTransparency = staticmethod(hasTransparency) -SoGLMultiTextureImageElement_swigregister = _coin.SoGLMultiTextureImageElement_swigregister -SoGLMultiTextureImageElement_swigregister(SoGLMultiTextureImageElement) - -def SoGLMultiTextureImageElement_getClassTypeId(*args): - """SoGLMultiTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureImageElement_getClassTypeId(*args) - -def SoGLMultiTextureImageElement_getClassStackIndex(*args): - """SoGLMultiTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureImageElement_getClassStackIndex(*args) - -def SoGLMultiTextureImageElement_createInstance(*args): - """SoGLMultiTextureImageElement_createInstance() -> void""" - return _coin.SoGLMultiTextureImageElement_createInstance(*args) - -def SoGLMultiTextureImageElement_initClass(*args): - """SoGLMultiTextureImageElement_initClass()""" - return _coin.SoGLMultiTextureImageElement_initClass(*args) - -def SoGLMultiTextureImageElement_set(*args): - """ - SoGLMultiTextureImageElement_set(SoState state, SoNode node, int unit, SoGLImage image, - Model model, SbColor blendColor) - """ - return _coin.SoGLMultiTextureImageElement_set(*args) - -def SoGLMultiTextureImageElement_restore(*args): - """SoGLMultiTextureImageElement_restore(SoState state, int unit)""" - return _coin.SoGLMultiTextureImageElement_restore(*args) - -def SoGLMultiTextureImageElement_get(*args): - """SoGLMultiTextureImageElement_get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLMultiTextureImageElement_get(*args) - -def SoGLMultiTextureImageElement_hasTransparency(*args): - """SoGLMultiTextureImageElement_hasTransparency(SoState state) -> SbBool""" - return _coin.SoGLMultiTextureImageElement_hasTransparency(*args) - -class SoMultiTextureMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoMultiTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureMatrixElement_push(*args) - - def set(*args): - """set(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_mult(*args) - - mult = staticmethod(mult) - def get(*args): - """get(SoState state, int unit) -> SbMatrix""" - return _coin.SoMultiTextureMatrixElement_get(*args) - - get = staticmethod(get) -SoMultiTextureMatrixElement_swigregister = _coin.SoMultiTextureMatrixElement_swigregister -SoMultiTextureMatrixElement_swigregister(SoMultiTextureMatrixElement) - -def SoMultiTextureMatrixElement_getClassTypeId(*args): - """SoMultiTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureMatrixElement_getClassTypeId(*args) - -def SoMultiTextureMatrixElement_getClassStackIndex(*args): - """SoMultiTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureMatrixElement_getClassStackIndex(*args) - -def SoMultiTextureMatrixElement_createInstance(*args): - """SoMultiTextureMatrixElement_createInstance() -> void""" - return _coin.SoMultiTextureMatrixElement_createInstance(*args) - -def SoMultiTextureMatrixElement_initClass(*args): - """SoMultiTextureMatrixElement_initClass()""" - return _coin.SoMultiTextureMatrixElement_initClass(*args) - -def SoMultiTextureMatrixElement_set(*args): - """SoMultiTextureMatrixElement_set(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_set(*args) - -def SoMultiTextureMatrixElement_mult(*args): - """SoMultiTextureMatrixElement_mult(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_mult(*args) - -def SoMultiTextureMatrixElement_get(*args): - """SoMultiTextureMatrixElement_get(SoState state, int unit) -> SbMatrix""" - return _coin.SoMultiTextureMatrixElement_get(*args) - -class SoGLMultiTextureMatrixElement(SoMultiTextureMatrixElement): - """Proxy of C++ SoGLMultiTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureMatrixElement_pop(*args) - - def multElt(*args): - """multElt(self, int unit, SbMatrix matrix)""" - return _coin.SoGLMultiTextureMatrixElement_multElt(*args) - - def setElt(*args): - """setElt(self, int unit, SbMatrix matrix)""" - return _coin.SoGLMultiTextureMatrixElement_setElt(*args) - -SoGLMultiTextureMatrixElement_swigregister = _coin.SoGLMultiTextureMatrixElement_swigregister -SoGLMultiTextureMatrixElement_swigregister(SoGLMultiTextureMatrixElement) - -def SoGLMultiTextureMatrixElement_getClassTypeId(*args): - """SoGLMultiTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureMatrixElement_getClassTypeId(*args) - -def SoGLMultiTextureMatrixElement_getClassStackIndex(*args): - """SoGLMultiTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureMatrixElement_getClassStackIndex(*args) - -def SoGLMultiTextureMatrixElement_createInstance(*args): - """SoGLMultiTextureMatrixElement_createInstance() -> void""" - return _coin.SoGLMultiTextureMatrixElement_createInstance(*args) - -def SoGLMultiTextureMatrixElement_initClass(*args): - """SoGLMultiTextureMatrixElement_initClass()""" - return _coin.SoGLMultiTextureMatrixElement_initClass(*args) - -class SbColor4f(SbVec4f): - """Proxy of C++ SbColor4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbColor4f - __init__(self, SbColor rgb, float alpha) -> SbColor4f - __init__(self, SbVec4f v) -> SbColor4f - __init__(self, float rgba) -> SbColor4f - __init__(self, float r, float g, float b, float a=1.0) -> SbColor4f - __init__(self, float r, float g, float b) -> SbColor4f - """ - this = _coin.new_SbColor4f(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, float r, float g, float b, float a=1.0) - setValue(self, float r, float g, float b) - setValue(self, float col) - """ - return _coin.SbColor4f_setValue(*args) - - def getValue(*args): - """getValue(self, float r, float g, float b, float a)""" - return _coin.SbColor4f_getValue(*args) - - def setRGB(*args): - """setRGB(self, SbColor col) -> SbColor4f""" - return _coin.SbColor4f_setRGB(*args) - - def getRGB(*args): - """getRGB(self, SbColor color)""" - return _coin.SbColor4f_getRGB(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v, float a=1.0) -> SbColor4f - setHSVValue(self, float h, float s, float v) -> SbColor4f - setHSVValue(self, float hsv, float alpha=1.0) -> SbColor4f - setHSVValue(self, float hsv) -> SbColor4f - """ - return _coin.SbColor4f_setHSVValue(*args) - - def getHSVValue(*args): - """getHSVValue(self, float h, float s, float v)""" - return _coin.SbColor4f_getHSVValue(*args) - - def setPackedValue(*args): - """setPackedValue(self, uint32_t rgba) -> SbColor4f""" - return _coin.SbColor4f_setPackedValue(*args) - - def getPackedValue(*args): - """getPackedValue(self) -> uint32_t""" - return _coin.SbColor4f_getPackedValue(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbColor4f c) -> SbColor4f""" - return _coin.SbColor4f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbColor4f c) -> SbColor4f""" - return _coin.SbColor4f___isub__(*args) - - def __add__(*args): - """__add__(self, SbColor4f u) -> SbColor4f""" - return _coin.SbColor4f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbColor4f u) -> SbColor4f""" - return _coin.SbColor4f___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbColor4f u) -> int""" - return _coin.SbColor4f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbColor4f u) -> int""" - return _coin.SbColor4f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbColor4f___getitem__(*args) - - __swig_destroy__ = _coin.delete_SbColor4f - __del__ = lambda self : None; -SbColor4f_swigregister = _coin.SbColor4f_swigregister -SbColor4f_swigregister(SbColor4f) - -class SoTextureCombineElement(SoElement): - """Proxy of C++ SoTextureCombineElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCombineElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCombineElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCombineElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCombineElement_initClass(*args) - - initClass = staticmethod(initClass) - PRIMARY_COLOR = _coin.SoTextureCombineElement_PRIMARY_COLOR - TEXTURE = _coin.SoTextureCombineElement_TEXTURE - CONSTANT = _coin.SoTextureCombineElement_CONSTANT - PREVIOUS = _coin.SoTextureCombineElement_PREVIOUS - SRC_COLOR = _coin.SoTextureCombineElement_SRC_COLOR - ONE_MINUS_SRC_COLOR = _coin.SoTextureCombineElement_ONE_MINUS_SRC_COLOR - SRC_ALPHA = _coin.SoTextureCombineElement_SRC_ALPHA - ONE_MINUS_SRC_ALPHA = _coin.SoTextureCombineElement_ONE_MINUS_SRC_ALPHA - REPLACE = _coin.SoTextureCombineElement_REPLACE - MODULATE = _coin.SoTextureCombineElement_MODULATE - ADD = _coin.SoTextureCombineElement_ADD - ADD_SIGNED = _coin.SoTextureCombineElement_ADD_SIGNED - SUBTRACT = _coin.SoTextureCombineElement_SUBTRACT - INTERPOLATE = _coin.SoTextureCombineElement_INTERPOLATE - DOT3_RGB = _coin.SoTextureCombineElement_DOT3_RGB - DOT3_RGBA = _coin.SoTextureCombineElement_DOT3_RGBA - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCombineElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int unit, Operation rgboperation, - Operation alphaoperation, Source rgbsource, - Source alphasource, Operand rgboperand, - Operand alphaoperand, SbColor4f constantcolor, - float rgbscale, float alphascale) - """ - return _coin.SoTextureCombineElement_set(*args) - - set = staticmethod(set) - def isDefault(*args): - """isDefault(SoState state, int unit) -> SbBool""" - return _coin.SoTextureCombineElement_isDefault(*args) - - isDefault = staticmethod(isDefault) - def get(*args): - """ - get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, - Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_get(*args) - - get = staticmethod(get) - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureCombineElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoTextureCombineElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoTextureCombineElement_copyMatchInfo(*args) - - def setElt(*args): - """ - setElt(self, int unit, uint32_t nodeid, Operation rgboperation, - Operation alphaoperation, Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_setElt(*args) - - def apply(*args): - """apply(SoState state, int unit)""" - return _coin.SoTextureCombineElement_apply(*args) - - apply = staticmethod(apply) -SoTextureCombineElement_swigregister = _coin.SoTextureCombineElement_swigregister -SoTextureCombineElement_swigregister(SoTextureCombineElement) - -def SoTextureCombineElement_getClassTypeId(*args): - """SoTextureCombineElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCombineElement_getClassTypeId(*args) - -def SoTextureCombineElement_getClassStackIndex(*args): - """SoTextureCombineElement_getClassStackIndex() -> int""" - return _coin.SoTextureCombineElement_getClassStackIndex(*args) - -def SoTextureCombineElement_createInstance(*args): - """SoTextureCombineElement_createInstance() -> void""" - return _coin.SoTextureCombineElement_createInstance(*args) - -def SoTextureCombineElement_initClass(*args): - """SoTextureCombineElement_initClass()""" - return _coin.SoTextureCombineElement_initClass(*args) - -def SoTextureCombineElement_set(*args): - """ - SoTextureCombineElement_set(SoState state, SoNode node, int unit, Operation rgboperation, - Operation alphaoperation, Source rgbsource, - Source alphasource, Operand rgboperand, - Operand alphaoperand, SbColor4f constantcolor, - float rgbscale, float alphascale) - """ - return _coin.SoTextureCombineElement_set(*args) - -def SoTextureCombineElement_isDefault(*args): - """SoTextureCombineElement_isDefault(SoState state, int unit) -> SbBool""" - return _coin.SoTextureCombineElement_isDefault(*args) - -def SoTextureCombineElement_get(*args): - """ - SoTextureCombineElement_get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, - Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_get(*args) - -def SoTextureCombineElement_apply(*args): - """SoTextureCombineElement_apply(SoState state, int unit)""" - return _coin.SoTextureCombineElement_apply(*args) - -class SoTextureUnitElement(SoInt32Element): - """Proxy of C++ SoTextureUnitElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureUnitElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureUnitElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureUnitElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureUnitElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureUnitElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int units)""" - return _coin.SoTextureUnitElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoTextureUnitElement_get(*args) - - get = staticmethod(get) -SoTextureUnitElement_swigregister = _coin.SoTextureUnitElement_swigregister -SoTextureUnitElement_swigregister(SoTextureUnitElement) - -def SoTextureUnitElement_getClassTypeId(*args): - """SoTextureUnitElement_getClassTypeId() -> SoType""" - return _coin.SoTextureUnitElement_getClassTypeId(*args) - -def SoTextureUnitElement_getClassStackIndex(*args): - """SoTextureUnitElement_getClassStackIndex() -> int""" - return _coin.SoTextureUnitElement_getClassStackIndex(*args) - -def SoTextureUnitElement_createInstance(*args): - """SoTextureUnitElement_createInstance() -> void""" - return _coin.SoTextureUnitElement_createInstance(*args) - -def SoTextureUnitElement_initClass(*args): - """SoTextureUnitElement_initClass()""" - return _coin.SoTextureUnitElement_initClass(*args) - -def SoTextureUnitElement_set(*args): - """SoTextureUnitElement_set(SoState state, SoNode node, int units)""" - return _coin.SoTextureUnitElement_set(*args) - -def SoTextureUnitElement_get(*args): - """SoTextureUnitElement_get(SoState state) -> int""" - return _coin.SoTextureUnitElement_get(*args) - -class SoEngine(SoFieldContainer): - """Proxy of C++ SoEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoEngine_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoEngine_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def evaluateWrapper(*args): - """evaluateWrapper(self)""" - return _coin.SoEngine_evaluateWrapper(*args) - - def getOutputs(*args): - """getOutputs(self, SoEngineOutputList l) -> int""" - return _coin.SoEngine_getOutputs(*args) - - def getOutput(*args): - """getOutput(self, SbName outputname) -> SoEngineOutput""" - return _coin.SoEngine_getOutput(*args) - - def getOutputName(*args): - """getOutputName(self, SoEngineOutput output, SbName outputname) -> SbBool""" - return _coin.SoEngine_getOutputName(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoEngine_getOutputData(*args) - - def getByName(*args): - """ - getByName(SbName name) -> SoEngine - getByName(SbName name, SoEngineList el) -> int - """ - return _coin.SoEngine_getByName(*args) - - getByName = staticmethod(getByName) - def isNotifying(*args): - """isNotifying(self) -> SbBool""" - return _coin.SoEngine_isNotifying(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoEngine_notify(*args) - - def copy(*args): - """copy(self) -> SoEngine""" - return _coin.SoEngine_copy(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoEngine_copyThroughConnection(*args) - - def shouldCopy(*args): - """shouldCopy(self) -> SbBool""" - return _coin.SoEngine_shouldCopy(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoEngine_writeInstance(*args) - - def __getattr__(self, name): - try: - return SoFieldContainer.__getattr__(self, name) - except AttributeError, e: - out = self.getOutput(SbName(name)) - if out is None: - raise e - return out - - def __setattr__(self,name,value): - if name == 'this': - return SoFieldContainer.__setattr__(self, name, value) - out = self.getOutput(SbName(name)) - if out is None: - return SoFieldContainer.__setattr__(self, name, value) - raise AttributeError('Cannot set output %s on engine %s' %(name,self.__class__.__name__)) - - -SoEngine_swigregister = _coin.SoEngine_swigregister -SoEngine_swigregister(SoEngine) - -def SoEngine_initClass(*args): - """SoEngine_initClass()""" - return _coin.SoEngine_initClass(*args) - -def SoEngine_initClasses(*args): - """SoEngine_initClasses()""" - return _coin.SoEngine_initClasses(*args) - -def SoEngine_getClassTypeId(*args): - """SoEngine_getClassTypeId() -> SoType""" - return _coin.SoEngine_getClassTypeId(*args) - -def SoEngine_getByName(*args): - """ - getByName(SbName name) -> SoEngine - SoEngine_getByName(SbName name, SoEngineList el) -> int - """ - return _coin.SoEngine_getByName(*args) - -class SoEngineOutput(object): - """Proxy of C++ SoEngineOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoEngineOutput""" - this = _coin.new_SoEngineOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineOutput - __del__ = lambda self : None; - def getConnectionType(*args): - """getConnectionType(self) -> SoType""" - return _coin.SoEngineOutput_getConnectionType(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList fl) -> int""" - return _coin.SoEngineOutput_getForwardConnections(*args) - - def enable(*args): - """enable(self, SbBool flag)""" - return _coin.SoEngineOutput_enable(*args) - - def isEnabled(*args): - """isEnabled(self) -> SbBool""" - return _coin.SoEngineOutput_isEnabled(*args) - - def getContainer(*args): - """getContainer(self) -> SoEngine""" - return _coin.SoEngineOutput_getContainer(*args) - - def getNodeContainer(*args): - """getNodeContainer(self) -> SoNodeEngine""" - return _coin.SoEngineOutput_getNodeContainer(*args) - - def isNodeEngineOutput(*args): - """isNodeEngineOutput(self) -> SbBool""" - return _coin.SoEngineOutput_isNodeEngineOutput(*args) - - def setContainer(*args): - """setContainer(self, SoEngine engine)""" - return _coin.SoEngineOutput_setContainer(*args) - - def setNodeContainer(*args): - """setNodeContainer(self, SoNodeEngine nodeengine)""" - return _coin.SoEngineOutput_setNodeContainer(*args) - - def addConnection(*args): - """addConnection(self, SoField f)""" - return _coin.SoEngineOutput_addConnection(*args) - - def removeConnection(*args): - """removeConnection(self, SoField f)""" - return _coin.SoEngineOutput_removeConnection(*args) - - def getNumConnections(*args): - """getNumConnections(self) -> int""" - return _coin.SoEngineOutput_getNumConnections(*args) - - def prepareToWrite(*args): - """prepareToWrite(self)""" - return _coin.SoEngineOutput_prepareToWrite(*args) - - def doneWriting(*args): - """doneWriting(self)""" - return _coin.SoEngineOutput_doneWriting(*args) - - def touchSlaves(*args): - """touchSlaves(self, SoNotList nl, SbBool donotify)""" - return _coin.SoEngineOutput_touchSlaves(*args) - - def getFieldContainer(*args): - """getFieldContainer(self) -> SoFieldContainer""" - return _coin.SoEngineOutput_getFieldContainer(*args) - -SoEngineOutput_swigregister = _coin.SoEngineOutput_swigregister -SoEngineOutput_swigregister(SoEngineOutput) - -class SoEngineOutputData(object): - """Proxy of C++ SoEngineOutputData class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineOutputData - __init__(self, SoEngineOutputData data) -> SoEngineOutputData - __init__(self, int approxnum) -> SoEngineOutputData - """ - this = _coin.new_SoEngineOutputData(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineOutputData - __del__ = lambda self : None; - def addOutput(*args): - """ - addOutput(self, SoEngine base, char name, SoEngineOutput output, SoType type) - addOutput(self, SoNodeEngine base, char name, SoEngineOutput output, - SoType type) - """ - return _coin.SoEngineOutputData_addOutput(*args) - - def getNumOutputs(*args): - """getNumOutputs(self) -> int""" - return _coin.SoEngineOutputData_getNumOutputs(*args) - - def getOutputName(*args): - """getOutputName(self, int index) -> SbName""" - return _coin.SoEngineOutputData_getOutputName(*args) - - def getOutput(*args): - """ - getOutput(self, SoEngine engine, int index) -> SoEngineOutput - getOutput(self, SoNodeEngine engine, int index) -> SoEngineOutput - """ - return _coin.SoEngineOutputData_getOutput(*args) - - def getIndex(*args): - """ - getIndex(self, SoEngine engine, SoEngineOutput output) -> int - getIndex(self, SoNodeEngine engine, SoEngineOutput output) -> int - """ - return _coin.SoEngineOutputData_getIndex(*args) - - def getType(*args): - """getType(self, int index) -> SoType""" - return _coin.SoEngineOutputData_getType(*args) - - def readDescriptions(*args): - """readDescriptions(self, SoInput input, SoEngine engine) -> SbBool""" - return _coin.SoEngineOutputData_readDescriptions(*args) - - def writeDescriptions(*args): - """writeDescriptions(self, SoOutput out, SoEngine engine)""" - return _coin.SoEngineOutputData_writeDescriptions(*args) - -SoEngineOutputData_swigregister = _coin.SoEngineOutputData_swigregister -SoEngineOutputData_swigregister(SoEngineOutputData) - -class SoMFBool(SoMField): - """Proxy of C++ SoMFBool class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFBool""" - this = _coin.new_SoMFBool(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFBool - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFBool_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFBool_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFBool_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFBool_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFBool_isSame(*args) - - def find(*args): - """ - find(self, SbBool value, SbBool addifnotfound=0) -> int - find(self, SbBool value) -> int - """ - return _coin.SoMFBool_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFBool): - val = args[1].getValues() - return _coin.SoMFBool_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFBool_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFBool): - val = args[2].getValues() - return _coin.SoMFBool_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFBool_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFBool_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbBool value)""" - return _coin.SoMFBool_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFBool field) -> SbBool""" - return _coin.SoMFBool___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFBool field) -> SbBool""" - return _coin.SoMFBool___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbBool""" - return _coin.SoMFBool_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFBool_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbBool userdata) - setValuesPointer(self, int num, SbBool userdata) - """ - return _coin.SoMFBool_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFBool_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBool value) - setValue(self, SoMFBool other) - """ - return _coin.SoMFBool_setValue(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbBool""" - return _coin.SoMFBool___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbBool value)""" - return _coin.SoMFBool___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbBool - getValues(self, int len) -> SbBool - """ - return _coin.SoMFBool_getValues(*args) - -SoMFBool_swigregister = _coin.SoMFBool_swigregister -SoMFBool_swigregister(SoMFBool) - -def SoMFBool_createInstance(*args): - """SoMFBool_createInstance() -> void""" - return _coin.SoMFBool_createInstance(*args) - -def SoMFBool_getClassTypeId(*args): - """SoMFBool_getClassTypeId() -> SoType""" - return _coin.SoMFBool_getClassTypeId(*args) - -def SoMFBool_initClass(*args): - """SoMFBool_initClass()""" - return _coin.SoMFBool_initClass(*args) - -class SoMFEnum(SoMField): - """Proxy of C++ SoMFEnum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFEnum""" - this = _coin.new_SoMFEnum(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFEnum - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFEnum_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFEnum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFEnum_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFEnum_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFEnum_isSame(*args) - - def find(*args): - """ - find(self, int value, SbBool addifnotfound=0) -> int - find(self, int value) -> int - """ - return _coin.SoMFEnum_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFEnum): - val = args[1].getValues() - return _coin.SoMFEnum_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFEnum_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFEnum): - val = args[2].getValues() - return _coin.SoMFEnum_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFEnum_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFEnum_setValues(*args) - - - def __eq__(*args): - """__eq__(self, SoMFEnum field) -> SbBool""" - return _coin.SoMFEnum___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFEnum field) -> SbBool""" - return _coin.SoMFEnum___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> int""" - return _coin.SoMFEnum_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFEnum_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFEnum_initClass(*args) - - initClass = staticmethod(initClass) - def set1Value(*args): - """ - set1Value(self, int idx, int value) - set1Value(self, int idx, SbName name) - """ - return _coin.SoMFEnum_set1Value(*args) - - def setEnums(*args): - """setEnums(self, int num, int values, SbName names)""" - return _coin.SoMFEnum_setEnums(*args) - - def getNumEnums(*args): - """getNumEnums(self) -> int""" - return _coin.SoMFEnum_getNumEnums(*args) - - def getEnum(*args): - """getEnum(self, int idx, SbName name) -> int""" - return _coin.SoMFEnum_getEnum(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> int""" - return _coin.SoMFEnum___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int value)""" - return _coin.SoMFEnum___setitem__(*args) - - def setValue(*args): - """ - setValue(self, int value) - setValue(self, SbName name) - setValue(self, SoMFEnum other) - """ - return _coin.SoMFEnum_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> int - getValues(self, int len) -> int - """ - return _coin.SoMFEnum_getValues(*args) - -SoMFEnum_swigregister = _coin.SoMFEnum_swigregister -SoMFEnum_swigregister(SoMFEnum) - -def SoMFEnum_createInstance(*args): - """SoMFEnum_createInstance() -> void""" - return _coin.SoMFEnum_createInstance(*args) - -def SoMFEnum_getClassTypeId(*args): - """SoMFEnum_getClassTypeId() -> SoType""" - return _coin.SoMFEnum_getClassTypeId(*args) - -def SoMFEnum_initClass(*args): - """SoMFEnum_initClass()""" - return _coin.SoMFEnum_initClass(*args) - -class SoBoolOperation(SoEngine): - """Proxy of C++ SoBoolOperation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBoolOperation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBoolOperation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoBoolOperation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoBoolOperation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBoolOperation_createInstance(*args) - - createInstance = staticmethod(createInstance) - CLEAR = _coin.SoBoolOperation_CLEAR - SET = _coin.SoBoolOperation_SET - A = _coin.SoBoolOperation_A - NOT_A = _coin.SoBoolOperation_NOT_A - B = _coin.SoBoolOperation_B - NOT_B = _coin.SoBoolOperation_NOT_B - A_OR_B = _coin.SoBoolOperation_A_OR_B - NOT_A_OR_B = _coin.SoBoolOperation_NOT_A_OR_B - A_OR_NOT_B = _coin.SoBoolOperation_A_OR_NOT_B - NOT_A_OR_NOT_B = _coin.SoBoolOperation_NOT_A_OR_NOT_B - A_AND_B = _coin.SoBoolOperation_A_AND_B - NOT_A_AND_B = _coin.SoBoolOperation_NOT_A_AND_B - A_AND_NOT_B = _coin.SoBoolOperation_A_AND_NOT_B - NOT_A_AND_NOT_B = _coin.SoBoolOperation_NOT_A_AND_NOT_B - A_EQUALS_B = _coin.SoBoolOperation_A_EQUALS_B - A_NOT_EQUALS_B = _coin.SoBoolOperation_A_NOT_EQUALS_B - a = _swig_property(_coin.SoBoolOperation_a_get, _coin.SoBoolOperation_a_set) - b = _swig_property(_coin.SoBoolOperation_b_get, _coin.SoBoolOperation_b_set) - operation = _swig_property(_coin.SoBoolOperation_operation_get, _coin.SoBoolOperation_operation_set) - output = _swig_property(_coin.SoBoolOperation_output_get, _coin.SoBoolOperation_output_set) - inverse = _swig_property(_coin.SoBoolOperation_inverse_get, _coin.SoBoolOperation_inverse_set) - def __init__(self, *args): - """__init__(self) -> SoBoolOperation""" - this = _coin.new_SoBoolOperation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoBoolOperation_initClass(*args) - - initClass = staticmethod(initClass) -SoBoolOperation_swigregister = _coin.SoBoolOperation_swigregister -SoBoolOperation_swigregister(SoBoolOperation) - -def SoBoolOperation_getClassTypeId(*args): - """SoBoolOperation_getClassTypeId() -> SoType""" - return _coin.SoBoolOperation_getClassTypeId(*args) - -def SoBoolOperation_createInstance(*args): - """SoBoolOperation_createInstance() -> void""" - return _coin.SoBoolOperation_createInstance(*args) - -def SoBoolOperation_initClass(*args): - """SoBoolOperation_initClass()""" - return _coin.SoBoolOperation_initClass(*args) - -class SoMFFloat(SoMField): - """Proxy of C++ SoMFFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFFloat""" - this = _coin.new_SoMFFloat(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFFloat - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFFloat_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFFloat_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFFloat_isSame(*args) - - def find(*args): - """ - find(self, float value, SbBool addifnotfound=0) -> int - find(self, float value) -> int - """ - return _coin.SoMFFloat_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFFloat): - val = args[1].getValues() - return _coin.SoMFFloat_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFFloat_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFFloat): - val = args[2].getValues() - return _coin.SoMFFloat_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFFloat_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFFloat_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, float value)""" - return _coin.SoMFFloat_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFFloat field) -> SbBool""" - return _coin.SoMFFloat___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFFloat field) -> SbBool""" - return _coin.SoMFFloat___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> float""" - return _coin.SoMFFloat_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFFloat_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFFloat_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFFloat_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SoMFFloat___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SoMFFloat___setitem__(*args) - - def setValue(*args): - """ - setValue(self, float value) - setValue(self, SoMFFloat other) - """ - return _coin.SoMFFloat_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> float - getValues(self, int len) -> float - """ - return _coin.SoMFFloat_getValues(*args) - -SoMFFloat_swigregister = _coin.SoMFFloat_swigregister -SoMFFloat_swigregister(SoMFFloat) - -def SoMFFloat_createInstance(*args): - """SoMFFloat_createInstance() -> void""" - return _coin.SoMFFloat_createInstance(*args) - -def SoMFFloat_getClassTypeId(*args): - """SoMFFloat_getClassTypeId() -> SoType""" - return _coin.SoMFFloat_getClassTypeId(*args) - -def SoMFFloat_initClass(*args): - """SoMFFloat_initClass()""" - return _coin.SoMFFloat_initClass(*args) - -class SoMFVec3f(SoMField): - """Proxy of C++ SoMFVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3f""" - this = _coin.new_SoMFVec3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3f_isSame(*args) - - def find(*args): - """ - find(self, SbVec3f value, SbBool addifnotfound=0) -> int - find(self, SbVec3f value) -> int - """ - return _coin.SoMFVec3f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3f field) -> SbBool""" - return _coin.SoMFVec3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3f field) -> SbBool""" - return _coin.SoMFVec3f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3f""" - return _coin.SoMFVec3f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec3f userdata) - setValuesPointer(self, int num, SbVec3f userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFVec3f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec3f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec3f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec3f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3f value) - set1Value(self, int idx, float x, float y, float z) - set1Value(self, int idx, float xyz) - """ - return _coin.SoMFVec3f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3f""" - return _coin.SoMFVec3f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3f value)""" - return _coin.SoMFVec3f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec3f value) - setValue(self, float x, float y, float z) - setValue(self, float xyz) - setValue(self, SoMFVec3f other) - """ - return _coin.SoMFVec3f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec3f - getValues(self, int len) -> SbVec3f - """ - return _coin.SoMFVec3f_getValues(*args) - -SoMFVec3f_swigregister = _coin.SoMFVec3f_swigregister -SoMFVec3f_swigregister(SoMFVec3f) - -def SoMFVec3f_createInstance(*args): - """SoMFVec3f_createInstance() -> void""" - return _coin.SoMFVec3f_createInstance(*args) - -def SoMFVec3f_getClassTypeId(*args): - """SoMFVec3f_getClassTypeId() -> SoType""" - return _coin.SoMFVec3f_getClassTypeId(*args) - -def SoMFVec3f_initClass(*args): - """SoMFVec3f_initClass()""" - return _coin.SoMFVec3f_initClass(*args) - -class SoMFString(SoMField): - """Proxy of C++ SoMFString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFString""" - this = _coin.new_SoMFString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFString - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFString_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFString_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFString_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFString_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFString_isSame(*args) - - def find(*args): - """ - find(self, SbString value, SbBool addifnotfound=0) -> int - find(self, SbString value) -> int - """ - return _coin.SoMFString_find(*args) - - def set1Value(*args): - """set1Value(self, int idx, SbString value)""" - return _coin.SoMFString_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFString field) -> SbBool""" - return _coin.SoMFString___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFString field) -> SbBool""" - return _coin.SoMFString___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbString""" - return _coin.SoMFString_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFString_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFString_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFString_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFString_setValues(args[0], args[1], len(args[2]), args[2]) - return _coin.SoMFString_setValues(*args) - - - def deleteText(*args): - """deleteText(self, int fromline, int fromchar, int toline, int tochar)""" - return _coin.SoMFString_deleteText(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbString""" - return _coin.SoMFString___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbString value)""" - return _coin.SoMFString___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbString value) - setValue(self, char string) - setValue(self, SoMFString other) - """ - return _coin.SoMFString_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbString - getValues(self, int len) -> SbString - """ - return _coin.SoMFString_getValues(*args) - -SoMFString_swigregister = _coin.SoMFString_swigregister -SoMFString_swigregister(SoMFString) - -def SoMFString_createInstance(*args): - """SoMFString_createInstance() -> void""" - return _coin.SoMFString_createInstance(*args) - -def SoMFString_getClassTypeId(*args): - """SoMFString_getClassTypeId() -> SoType""" - return _coin.SoMFString_getClassTypeId(*args) - -def SoMFString_initClass(*args): - """SoMFString_initClass()""" - return _coin.SoMFString_initClass(*args) - -class SoCalculator(SoEngine): - """Proxy of C++ SoCalculator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCalculator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCalculator_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoCalculator_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoCalculator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCalculator_createInstance(*args) - - createInstance = staticmethod(createInstance) - a = _swig_property(_coin.SoCalculator_a_get, _coin.SoCalculator_a_set) - b = _swig_property(_coin.SoCalculator_b_get, _coin.SoCalculator_b_set) - c = _swig_property(_coin.SoCalculator_c_get, _coin.SoCalculator_c_set) - d = _swig_property(_coin.SoCalculator_d_get, _coin.SoCalculator_d_set) - e = _swig_property(_coin.SoCalculator_e_get, _coin.SoCalculator_e_set) - f = _swig_property(_coin.SoCalculator_f_get, _coin.SoCalculator_f_set) - g = _swig_property(_coin.SoCalculator_g_get, _coin.SoCalculator_g_set) - h = _swig_property(_coin.SoCalculator_h_get, _coin.SoCalculator_h_set) - A = _swig_property(_coin.SoCalculator_A_get, _coin.SoCalculator_A_set) - B = _swig_property(_coin.SoCalculator_B_get, _coin.SoCalculator_B_set) - C = _swig_property(_coin.SoCalculator_C_get, _coin.SoCalculator_C_set) - D = _swig_property(_coin.SoCalculator_D_get, _coin.SoCalculator_D_set) - E = _swig_property(_coin.SoCalculator_E_get, _coin.SoCalculator_E_set) - F = _swig_property(_coin.SoCalculator_F_get, _coin.SoCalculator_F_set) - G = _swig_property(_coin.SoCalculator_G_get, _coin.SoCalculator_G_set) - H = _swig_property(_coin.SoCalculator_H_get, _coin.SoCalculator_H_set) - expression = _swig_property(_coin.SoCalculator_expression_get, _coin.SoCalculator_expression_set) - oa = _swig_property(_coin.SoCalculator_oa_get, _coin.SoCalculator_oa_set) - ob = _swig_property(_coin.SoCalculator_ob_get, _coin.SoCalculator_ob_set) - oc = _swig_property(_coin.SoCalculator_oc_get, _coin.SoCalculator_oc_set) - od = _swig_property(_coin.SoCalculator_od_get, _coin.SoCalculator_od_set) - oA = _swig_property(_coin.SoCalculator_oA_get, _coin.SoCalculator_oA_set) - oB = _swig_property(_coin.SoCalculator_oB_get, _coin.SoCalculator_oB_set) - oC = _swig_property(_coin.SoCalculator_oC_get, _coin.SoCalculator_oC_set) - oD = _swig_property(_coin.SoCalculator_oD_get, _coin.SoCalculator_oD_set) - def __init__(self, *args): - """__init__(self) -> SoCalculator""" - this = _coin.new_SoCalculator(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoCalculator_initClass(*args) - - initClass = staticmethod(initClass) -SoCalculator_swigregister = _coin.SoCalculator_swigregister -SoCalculator_swigregister(SoCalculator) - -def SoCalculator_getClassTypeId(*args): - """SoCalculator_getClassTypeId() -> SoType""" - return _coin.SoCalculator_getClassTypeId(*args) - -def SoCalculator_createInstance(*args): - """SoCalculator_createInstance() -> void""" - return _coin.SoCalculator_createInstance(*args) - -def SoCalculator_initClass(*args): - """SoCalculator_initClass()""" - return _coin.SoCalculator_initClass(*args) - -class SoMFVec2f(SoMField): - """Proxy of C++ SoMFVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2f""" - this = _coin.new_SoMFVec2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2f_isSame(*args) - - def find(*args): - """ - find(self, SbVec2f value, SbBool addifnotfound=0) -> int - find(self, SbVec2f value) -> int - """ - return _coin.SoMFVec2f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2f field) -> SbBool""" - return _coin.SoMFVec2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2f field) -> SbBool""" - return _coin.SoMFVec2f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2f""" - return _coin.SoMFVec2f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2f userdata) - setValuesPointer(self, int num, SbVec2f userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFVec2f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec2f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec2f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec2f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2f value) - set1Value(self, int idx, float x, float y) - set1Value(self, int idx, float xy) - """ - return _coin.SoMFVec2f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec2f""" - return _coin.SoMFVec2f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec2f value)""" - return _coin.SoMFVec2f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec2f value) - setValue(self, float x, float y) - setValue(self, float xy) - setValue(self, SoMFVec2f other) - """ - return _coin.SoMFVec2f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec2f - getValues(self, int len) -> SbVec2f - """ - return _coin.SoMFVec2f_getValues(*args) - -SoMFVec2f_swigregister = _coin.SoMFVec2f_swigregister -SoMFVec2f_swigregister(SoMFVec2f) - -def SoMFVec2f_createInstance(*args): - """SoMFVec2f_createInstance() -> void""" - return _coin.SoMFVec2f_createInstance(*args) - -def SoMFVec2f_getClassTypeId(*args): - """SoMFVec2f_getClassTypeId() -> SoType""" - return _coin.SoMFVec2f_getClassTypeId(*args) - -def SoMFVec2f_initClass(*args): - """SoMFVec2f_initClass()""" - return _coin.SoMFVec2f_initClass(*args) - -class SoComposeVec2f(SoEngine): - """Proxy of C++ SoComposeVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec2f""" - this = _coin.new_SoComposeVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec2f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec2f_x_get, _coin.SoComposeVec2f_x_set) - y = _swig_property(_coin.SoComposeVec2f_y_get, _coin.SoComposeVec2f_y_set) - vector = _swig_property(_coin.SoComposeVec2f_vector_get, _coin.SoComposeVec2f_vector_set) -SoComposeVec2f_swigregister = _coin.SoComposeVec2f_swigregister -SoComposeVec2f_swigregister(SoComposeVec2f) - -def SoComposeVec2f_getClassTypeId(*args): - """SoComposeVec2f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec2f_getClassTypeId(*args) - -def SoComposeVec2f_createInstance(*args): - """SoComposeVec2f_createInstance() -> void""" - return _coin.SoComposeVec2f_createInstance(*args) - -def SoComposeVec2f_initClass(*args): - """SoComposeVec2f_initClass()""" - return _coin.SoComposeVec2f_initClass(*args) - -class SoComposeVec3f(SoEngine): - """Proxy of C++ SoComposeVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec3f""" - this = _coin.new_SoComposeVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec3f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec3f_x_get, _coin.SoComposeVec3f_x_set) - y = _swig_property(_coin.SoComposeVec3f_y_get, _coin.SoComposeVec3f_y_set) - z = _swig_property(_coin.SoComposeVec3f_z_get, _coin.SoComposeVec3f_z_set) - vector = _swig_property(_coin.SoComposeVec3f_vector_get, _coin.SoComposeVec3f_vector_set) -SoComposeVec3f_swigregister = _coin.SoComposeVec3f_swigregister -SoComposeVec3f_swigregister(SoComposeVec3f) - -def SoComposeVec3f_getClassTypeId(*args): - """SoComposeVec3f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec3f_getClassTypeId(*args) - -def SoComposeVec3f_createInstance(*args): - """SoComposeVec3f_createInstance() -> void""" - return _coin.SoComposeVec3f_createInstance(*args) - -def SoComposeVec3f_initClass(*args): - """SoComposeVec3f_initClass()""" - return _coin.SoComposeVec3f_initClass(*args) - -class SoMFVec4f(SoMField): - """Proxy of C++ SoMFVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4f""" - this = _coin.new_SoMFVec4f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4f_isSame(*args) - - def find(*args): - """ - find(self, SbVec4f value, SbBool addifnotfound=0) -> int - find(self, SbVec4f value) -> int - """ - return _coin.SoMFVec4f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4f field) -> SbBool""" - return _coin.SoMFVec4f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4f field) -> SbBool""" - return _coin.SoMFVec4f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4f""" - return _coin.SoMFVec4f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4f userdata) - setValuesPointer(self, int num, SbVec4f userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFVec4f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec4f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec4f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec4f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4f value) - set1Value(self, int idx, float x, float y, float z, float w) - set1Value(self, int idx, float xyzw) - """ - return _coin.SoMFVec4f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec4f""" - return _coin.SoMFVec4f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec4f value)""" - return _coin.SoMFVec4f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec4f value) - setValue(self, float x, float y, float z, float w) - setValue(self, float xyzw) - setValue(self, SoMFVec4f other) - """ - return _coin.SoMFVec4f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec4f - getValues(self, int len) -> SbVec4f - """ - return _coin.SoMFVec4f_getValues(*args) - -SoMFVec4f_swigregister = _coin.SoMFVec4f_swigregister -SoMFVec4f_swigregister(SoMFVec4f) - -def SoMFVec4f_createInstance(*args): - """SoMFVec4f_createInstance() -> void""" - return _coin.SoMFVec4f_createInstance(*args) - -def SoMFVec4f_getClassTypeId(*args): - """SoMFVec4f_getClassTypeId() -> SoType""" - return _coin.SoMFVec4f_getClassTypeId(*args) - -def SoMFVec4f_initClass(*args): - """SoMFVec4f_initClass()""" - return _coin.SoMFVec4f_initClass(*args) - -class SoComposeVec4f(SoEngine): - """Proxy of C++ SoComposeVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec4f""" - this = _coin.new_SoComposeVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec4f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec4f_x_get, _coin.SoComposeVec4f_x_set) - y = _swig_property(_coin.SoComposeVec4f_y_get, _coin.SoComposeVec4f_y_set) - z = _swig_property(_coin.SoComposeVec4f_z_get, _coin.SoComposeVec4f_z_set) - w = _swig_property(_coin.SoComposeVec4f_w_get, _coin.SoComposeVec4f_w_set) - vector = _swig_property(_coin.SoComposeVec4f_vector_get, _coin.SoComposeVec4f_vector_set) -SoComposeVec4f_swigregister = _coin.SoComposeVec4f_swigregister -SoComposeVec4f_swigregister(SoComposeVec4f) - -def SoComposeVec4f_getClassTypeId(*args): - """SoComposeVec4f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec4f_getClassTypeId(*args) - -def SoComposeVec4f_createInstance(*args): - """SoComposeVec4f_createInstance() -> void""" - return _coin.SoComposeVec4f_createInstance(*args) - -def SoComposeVec4f_initClass(*args): - """SoComposeVec4f_initClass()""" - return _coin.SoComposeVec4f_initClass(*args) - -class SoDecomposeVec2f(SoEngine): - """Proxy of C++ SoDecomposeVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec2f""" - this = _coin.new_SoDecomposeVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec2f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec2f_vector_get, _coin.SoDecomposeVec2f_vector_set) - x = _swig_property(_coin.SoDecomposeVec2f_x_get, _coin.SoDecomposeVec2f_x_set) - y = _swig_property(_coin.SoDecomposeVec2f_y_get, _coin.SoDecomposeVec2f_y_set) -SoDecomposeVec2f_swigregister = _coin.SoDecomposeVec2f_swigregister -SoDecomposeVec2f_swigregister(SoDecomposeVec2f) - -def SoDecomposeVec2f_getClassTypeId(*args): - """SoDecomposeVec2f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec2f_getClassTypeId(*args) - -def SoDecomposeVec2f_createInstance(*args): - """SoDecomposeVec2f_createInstance() -> void""" - return _coin.SoDecomposeVec2f_createInstance(*args) - -def SoDecomposeVec2f_initClass(*args): - """SoDecomposeVec2f_initClass()""" - return _coin.SoDecomposeVec2f_initClass(*args) - -class SoDecomposeVec3f(SoEngine): - """Proxy of C++ SoDecomposeVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec3f""" - this = _coin.new_SoDecomposeVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec3f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec3f_vector_get, _coin.SoDecomposeVec3f_vector_set) - x = _swig_property(_coin.SoDecomposeVec3f_x_get, _coin.SoDecomposeVec3f_x_set) - y = _swig_property(_coin.SoDecomposeVec3f_y_get, _coin.SoDecomposeVec3f_y_set) - z = _swig_property(_coin.SoDecomposeVec3f_z_get, _coin.SoDecomposeVec3f_z_set) -SoDecomposeVec3f_swigregister = _coin.SoDecomposeVec3f_swigregister -SoDecomposeVec3f_swigregister(SoDecomposeVec3f) - -def SoDecomposeVec3f_getClassTypeId(*args): - """SoDecomposeVec3f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec3f_getClassTypeId(*args) - -def SoDecomposeVec3f_createInstance(*args): - """SoDecomposeVec3f_createInstance() -> void""" - return _coin.SoDecomposeVec3f_createInstance(*args) - -def SoDecomposeVec3f_initClass(*args): - """SoDecomposeVec3f_initClass()""" - return _coin.SoDecomposeVec3f_initClass(*args) - -class SoDecomposeVec4f(SoEngine): - """Proxy of C++ SoDecomposeVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec4f""" - this = _coin.new_SoDecomposeVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec4f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec4f_vector_get, _coin.SoDecomposeVec4f_vector_set) - x = _swig_property(_coin.SoDecomposeVec4f_x_get, _coin.SoDecomposeVec4f_x_set) - y = _swig_property(_coin.SoDecomposeVec4f_y_get, _coin.SoDecomposeVec4f_y_set) - z = _swig_property(_coin.SoDecomposeVec4f_z_get, _coin.SoDecomposeVec4f_z_set) - w = _swig_property(_coin.SoDecomposeVec4f_w_get, _coin.SoDecomposeVec4f_w_set) -SoDecomposeVec4f_swigregister = _coin.SoDecomposeVec4f_swigregister -SoDecomposeVec4f_swigregister(SoDecomposeVec4f) - -def SoDecomposeVec4f_getClassTypeId(*args): - """SoDecomposeVec4f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec4f_getClassTypeId(*args) - -def SoDecomposeVec4f_createInstance(*args): - """SoDecomposeVec4f_createInstance() -> void""" - return _coin.SoDecomposeVec4f_createInstance(*args) - -def SoDecomposeVec4f_initClass(*args): - """SoDecomposeVec4f_initClass()""" - return _coin.SoDecomposeVec4f_initClass(*args) - -class SoComposeRotation(SoEngine): - """Proxy of C++ SoComposeRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeRotation""" - this = _coin.new_SoComposeRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeRotation_initClass(*args) - - initClass = staticmethod(initClass) - axis = _swig_property(_coin.SoComposeRotation_axis_get, _coin.SoComposeRotation_axis_set) - angle = _swig_property(_coin.SoComposeRotation_angle_get, _coin.SoComposeRotation_angle_set) - rotation = _swig_property(_coin.SoComposeRotation_rotation_get, _coin.SoComposeRotation_rotation_set) -SoComposeRotation_swigregister = _coin.SoComposeRotation_swigregister -SoComposeRotation_swigregister(SoComposeRotation) - -def SoComposeRotation_getClassTypeId(*args): - """SoComposeRotation_getClassTypeId() -> SoType""" - return _coin.SoComposeRotation_getClassTypeId(*args) - -def SoComposeRotation_createInstance(*args): - """SoComposeRotation_createInstance() -> void""" - return _coin.SoComposeRotation_createInstance(*args) - -def SoComposeRotation_initClass(*args): - """SoComposeRotation_initClass()""" - return _coin.SoComposeRotation_initClass(*args) - -class SoMFRotation(SoMField): - """Proxy of C++ SoMFRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFRotation""" - this = _coin.new_SoMFRotation(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFRotation - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFRotation_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFRotation_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFRotation_isSame(*args) - - def find(*args): - """ - find(self, SbRotation value, SbBool addifnotfound=0) -> int - find(self, SbRotation value) -> int - """ - return _coin.SoMFRotation_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFRotation field) -> SbBool""" - return _coin.SoMFRotation___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFRotation field) -> SbBool""" - return _coin.SoMFRotation___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbRotation""" - return _coin.SoMFRotation_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFRotation_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFRotation_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFRotation_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFRotation_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFRotation_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbRotation value) - set1Value(self, int idx, float q0, float q1, float q2, float q3) - set1Value(self, int idx, float q) - set1Value(self, int idx, SbVec3f axis, float angle) - """ - return _coin.SoMFRotation_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbRotation""" - return _coin.SoMFRotation___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbRotation value)""" - return _coin.SoMFRotation___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbRotation - getValues(self, int len) -> SbRotation - """ - return _coin.SoMFRotation_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbRotation value) - setValue(self, float q0, float q1, float q2, float q3) - setValue(self, float q) - setValue(self, SbVec3f axis, float angle) - setValue(self, SoMFRotation other) - """ - return _coin.SoMFRotation_setValue(*args) - -SoMFRotation_swigregister = _coin.SoMFRotation_swigregister -SoMFRotation_swigregister(SoMFRotation) - -def SoMFRotation_createInstance(*args): - """SoMFRotation_createInstance() -> void""" - return _coin.SoMFRotation_createInstance(*args) - -def SoMFRotation_getClassTypeId(*args): - """SoMFRotation_getClassTypeId() -> SoType""" - return _coin.SoMFRotation_getClassTypeId(*args) - -def SoMFRotation_initClass(*args): - """SoMFRotation_initClass()""" - return _coin.SoMFRotation_initClass(*args) - -class SoDecomposeRotation(SoEngine): - """Proxy of C++ SoDecomposeRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeRotation""" - this = _coin.new_SoDecomposeRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeRotation_initClass(*args) - - initClass = staticmethod(initClass) - rotation = _swig_property(_coin.SoDecomposeRotation_rotation_get, _coin.SoDecomposeRotation_rotation_set) - axis = _swig_property(_coin.SoDecomposeRotation_axis_get, _coin.SoDecomposeRotation_axis_set) - angle = _swig_property(_coin.SoDecomposeRotation_angle_get, _coin.SoDecomposeRotation_angle_set) -SoDecomposeRotation_swigregister = _coin.SoDecomposeRotation_swigregister -SoDecomposeRotation_swigregister(SoDecomposeRotation) - -def SoDecomposeRotation_getClassTypeId(*args): - """SoDecomposeRotation_getClassTypeId() -> SoType""" - return _coin.SoDecomposeRotation_getClassTypeId(*args) - -def SoDecomposeRotation_createInstance(*args): - """SoDecomposeRotation_createInstance() -> void""" - return _coin.SoDecomposeRotation_createInstance(*args) - -def SoDecomposeRotation_initClass(*args): - """SoDecomposeRotation_initClass()""" - return _coin.SoDecomposeRotation_initClass(*args) - -class SoComposeMatrix(SoEngine): - """Proxy of C++ SoComposeMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeMatrix_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeMatrix_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeMatrix_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeMatrix""" - this = _coin.new_SoComposeMatrix(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeMatrix_initClass(*args) - - initClass = staticmethod(initClass) - translation = _swig_property(_coin.SoComposeMatrix_translation_get, _coin.SoComposeMatrix_translation_set) - rotation = _swig_property(_coin.SoComposeMatrix_rotation_get, _coin.SoComposeMatrix_rotation_set) - scaleFactor = _swig_property(_coin.SoComposeMatrix_scaleFactor_get, _coin.SoComposeMatrix_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoComposeMatrix_scaleOrientation_get, _coin.SoComposeMatrix_scaleOrientation_set) - center = _swig_property(_coin.SoComposeMatrix_center_get, _coin.SoComposeMatrix_center_set) - matrix = _swig_property(_coin.SoComposeMatrix_matrix_get, _coin.SoComposeMatrix_matrix_set) -SoComposeMatrix_swigregister = _coin.SoComposeMatrix_swigregister -SoComposeMatrix_swigregister(SoComposeMatrix) - -def SoComposeMatrix_getClassTypeId(*args): - """SoComposeMatrix_getClassTypeId() -> SoType""" - return _coin.SoComposeMatrix_getClassTypeId(*args) - -def SoComposeMatrix_createInstance(*args): - """SoComposeMatrix_createInstance() -> void""" - return _coin.SoComposeMatrix_createInstance(*args) - -def SoComposeMatrix_initClass(*args): - """SoComposeMatrix_initClass()""" - return _coin.SoComposeMatrix_initClass(*args) - -class SoMFMatrix(SoMField): - """Proxy of C++ SoMFMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFMatrix""" - this = _coin.new_SoMFMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFMatrix - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFMatrix_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFMatrix_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFMatrix_isSame(*args) - - def find(*args): - """ - find(self, SbMatrix value, SbBool addifnotfound=0) -> int - find(self, SbMatrix value) -> int - """ - return _coin.SoMFMatrix_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFMatrix_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFMatrix_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFMatrix_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbMatrix value)""" - return _coin.SoMFMatrix_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFMatrix field) -> SbBool""" - return _coin.SoMFMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFMatrix field) -> SbBool""" - return _coin.SoMFMatrix___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbMatrix""" - return _coin.SoMFMatrix_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFMatrix_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFMatrix_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbMatrix""" - return _coin.SoMFMatrix___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbMatrix value)""" - return _coin.SoMFMatrix___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbMatrix - getValues(self, int len) -> SbMatrix - """ - return _coin.SoMFMatrix_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbMatrix value) - setValue(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) - setValue(self, SoMFMatrix other) - """ - return _coin.SoMFMatrix_setValue(*args) - -SoMFMatrix_swigregister = _coin.SoMFMatrix_swigregister -SoMFMatrix_swigregister(SoMFMatrix) - -def SoMFMatrix_createInstance(*args): - """SoMFMatrix_createInstance() -> void""" - return _coin.SoMFMatrix_createInstance(*args) - -def SoMFMatrix_getClassTypeId(*args): - """SoMFMatrix_getClassTypeId() -> SoType""" - return _coin.SoMFMatrix_getClassTypeId(*args) - -def SoMFMatrix_initClass(*args): - """SoMFMatrix_initClass()""" - return _coin.SoMFMatrix_initClass(*args) - -class SoDecomposeMatrix(SoEngine): - """Proxy of C++ SoDecomposeMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeMatrix_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeMatrix_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeMatrix_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeMatrix""" - this = _coin.new_SoDecomposeMatrix(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeMatrix_initClass(*args) - - initClass = staticmethod(initClass) - matrix = _swig_property(_coin.SoDecomposeMatrix_matrix_get, _coin.SoDecomposeMatrix_matrix_set) - center = _swig_property(_coin.SoDecomposeMatrix_center_get, _coin.SoDecomposeMatrix_center_set) - translation = _swig_property(_coin.SoDecomposeMatrix_translation_get, _coin.SoDecomposeMatrix_translation_set) - rotation = _swig_property(_coin.SoDecomposeMatrix_rotation_get, _coin.SoDecomposeMatrix_rotation_set) - scaleFactor = _swig_property(_coin.SoDecomposeMatrix_scaleFactor_get, _coin.SoDecomposeMatrix_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoDecomposeMatrix_scaleOrientation_get, _coin.SoDecomposeMatrix_scaleOrientation_set) -SoDecomposeMatrix_swigregister = _coin.SoDecomposeMatrix_swigregister -SoDecomposeMatrix_swigregister(SoDecomposeMatrix) - -def SoDecomposeMatrix_getClassTypeId(*args): - """SoDecomposeMatrix_getClassTypeId() -> SoType""" - return _coin.SoDecomposeMatrix_getClassTypeId(*args) - -def SoDecomposeMatrix_createInstance(*args): - """SoDecomposeMatrix_createInstance() -> void""" - return _coin.SoDecomposeMatrix_createInstance(*args) - -def SoDecomposeMatrix_initClass(*args): - """SoDecomposeMatrix_initClass()""" - return _coin.SoDecomposeMatrix_initClass(*args) - -class SoComposeRotationFromTo(SoEngine): - """Proxy of C++ SoComposeRotationFromTo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeRotationFromTo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeRotationFromTo_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeRotationFromTo_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeRotationFromTo_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeRotationFromTo_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeRotationFromTo""" - this = _coin.new_SoComposeRotationFromTo(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeRotationFromTo_initClass(*args) - - initClass = staticmethod(initClass) - srcFrom = _swig_property(_coin.SoComposeRotationFromTo_srcFrom_get, _coin.SoComposeRotationFromTo_srcFrom_set) - destTo = _swig_property(_coin.SoComposeRotationFromTo_destTo_get, _coin.SoComposeRotationFromTo_destTo_set) - rotation = _swig_property(_coin.SoComposeRotationFromTo_rotation_get, _coin.SoComposeRotationFromTo_rotation_set) -SoComposeRotationFromTo_swigregister = _coin.SoComposeRotationFromTo_swigregister -SoComposeRotationFromTo_swigregister(SoComposeRotationFromTo) - -def SoComposeRotationFromTo_getClassTypeId(*args): - """SoComposeRotationFromTo_getClassTypeId() -> SoType""" - return _coin.SoComposeRotationFromTo_getClassTypeId(*args) - -def SoComposeRotationFromTo_createInstance(*args): - """SoComposeRotationFromTo_createInstance() -> void""" - return _coin.SoComposeRotationFromTo_createInstance(*args) - -def SoComposeRotationFromTo_initClass(*args): - """SoComposeRotationFromTo_initClass()""" - return _coin.SoComposeRotationFromTo_initClass(*args) - -class SoSFPath(SoSField): - """Proxy of C++ SoSFPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFPath""" - this = _coin.new_SoSFPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFPath - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFPath_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFPath_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFPath_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFPath_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoPath""" - return _coin.SoSFPath_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFPath field) -> int""" - return _coin.SoSFPath___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFPath field) -> int""" - return _coin.SoSFPath___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFPath_initClass(*args) - - initClass = staticmethod(initClass) - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoSFPath_notify(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFPath_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFPath_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoPath newvalue) - setValue(self, SoSFPath other) - """ - return _coin.SoSFPath_setValue(*args) - -SoSFPath_swigregister = _coin.SoSFPath_swigregister -SoSFPath_swigregister(SoSFPath) - -def SoSFPath_createInstance(*args): - """SoSFPath_createInstance() -> void""" - return _coin.SoSFPath_createInstance(*args) - -def SoSFPath_getClassTypeId(*args): - """SoSFPath_getClassTypeId() -> SoType""" - return _coin.SoSFPath_getClassTypeId(*args) - -def SoSFPath_initClass(*args): - """SoSFPath_initClass()""" - return _coin.SoSFPath_initClass(*args) - -class SoComputeBoundingBox(SoEngine): - """Proxy of C++ SoComputeBoundingBox class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComputeBoundingBox_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComputeBoundingBox_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComputeBoundingBox_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComputeBoundingBox_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComputeBoundingBox_createInstance(*args) - - createInstance = staticmethod(createInstance) - node = _swig_property(_coin.SoComputeBoundingBox_node_get, _coin.SoComputeBoundingBox_node_set) - path = _swig_property(_coin.SoComputeBoundingBox_path_get, _coin.SoComputeBoundingBox_path_set) - min = _swig_property(_coin.SoComputeBoundingBox_min_get, _coin.SoComputeBoundingBox_min_set) - max = _swig_property(_coin.SoComputeBoundingBox_max_get, _coin.SoComputeBoundingBox_max_set) - boxCenter = _swig_property(_coin.SoComputeBoundingBox_boxCenter_get, _coin.SoComputeBoundingBox_boxCenter_set) - objectCenter = _swig_property(_coin.SoComputeBoundingBox_objectCenter_get, _coin.SoComputeBoundingBox_objectCenter_set) - def __init__(self, *args): - """__init__(self) -> SoComputeBoundingBox""" - this = _coin.new_SoComputeBoundingBox(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComputeBoundingBox_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion vpr)""" - return _coin.SoComputeBoundingBox_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoComputeBoundingBox_getViewportRegion(*args) - -SoComputeBoundingBox_swigregister = _coin.SoComputeBoundingBox_swigregister -SoComputeBoundingBox_swigregister(SoComputeBoundingBox) - -def SoComputeBoundingBox_getClassTypeId(*args): - """SoComputeBoundingBox_getClassTypeId() -> SoType""" - return _coin.SoComputeBoundingBox_getClassTypeId(*args) - -def SoComputeBoundingBox_createInstance(*args): - """SoComputeBoundingBox_createInstance() -> void""" - return _coin.SoComputeBoundingBox_createInstance(*args) - -def SoComputeBoundingBox_initClass(*args): - """SoComputeBoundingBox_initClass()""" - return _coin.SoComputeBoundingBox_initClass(*args) - -class SoConcatenate(SoEngine): - """Proxy of C++ SoConcatenate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoConcatenate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoConcatenate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoConcatenate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoConcatenate_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoConcatenate_createInstance(*args) - - createInstance = staticmethod(createInstance) - NUMINPUTS = _coin.SoConcatenate_NUMINPUTS - def initClass(*args): - """initClass()""" - return _coin.SoConcatenate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoType inputType) -> SoConcatenate""" - this = _coin.new_SoConcatenate(*args) - try: self.this.append(this) - except: self.this = this - input = _swig_property(_coin.SoConcatenate_input_get, _coin.SoConcatenate_input_set) - output = _swig_property(_coin.SoConcatenate_output_get, _coin.SoConcatenate_output_set) -SoConcatenate_swigregister = _coin.SoConcatenate_swigregister -SoConcatenate_swigregister(SoConcatenate) - -def SoConcatenate_getClassTypeId(*args): - """SoConcatenate_getClassTypeId() -> SoType""" - return _coin.SoConcatenate_getClassTypeId(*args) - -def SoConcatenate_createInstance(*args): - """SoConcatenate_createInstance() -> void""" - return _coin.SoConcatenate_createInstance(*args) - -def SoConcatenate_initClass(*args): - """SoConcatenate_initClass()""" - return _coin.SoConcatenate_initClass(*args) - -class SoSFTrigger(SoSField): - """Proxy of C++ SoSFTrigger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFTrigger""" - this = _coin.new_SoSFTrigger(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFTrigger - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFTrigger_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFTrigger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFTrigger_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFTrigger_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFTrigger_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFTrigger_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """getValue(self)""" - return _coin.SoSFTrigger_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFTrigger trigger) -> int""" - return _coin.SoSFTrigger___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFTrigger trigger) -> int""" - return _coin.SoSFTrigger___ne__(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoSFTrigger_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoSFTrigger_notify(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoSFTrigger_touch(*args) - - def setValue(*args): - """ - setValue(self) - setValue(self, SoSFTrigger other) - """ - return _coin.SoSFTrigger_setValue(*args) - -SoSFTrigger_swigregister = _coin.SoSFTrigger_swigregister -SoSFTrigger_swigregister(SoSFTrigger) - -def SoSFTrigger_createInstance(*args): - """SoSFTrigger_createInstance() -> void""" - return _coin.SoSFTrigger_createInstance(*args) - -def SoSFTrigger_getClassTypeId(*args): - """SoSFTrigger_getClassTypeId() -> SoType""" - return _coin.SoSFTrigger_getClassTypeId(*args) - -def SoSFTrigger_initClass(*args): - """SoSFTrigger_initClass()""" - return _coin.SoSFTrigger_initClass(*args) - -class SoSFShort(SoSField): - """Proxy of C++ SoSFShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFShort""" - this = _coin.new_SoSFShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFShort_isSame(*args) - - def getValue(*args): - """getValue(self) -> short""" - return _coin.SoSFShort_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFShort field) -> int""" - return _coin.SoSFShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFShort field) -> int""" - return _coin.SoSFShort___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFShort_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, short newvalue) - setValue(self, SoSFShort other) - """ - return _coin.SoSFShort_setValue(*args) - -SoSFShort_swigregister = _coin.SoSFShort_swigregister -SoSFShort_swigregister(SoSFShort) - -def SoSFShort_createInstance(*args): - """SoSFShort_createInstance() -> void""" - return _coin.SoSFShort_createInstance(*args) - -def SoSFShort_getClassTypeId(*args): - """SoSFShort_getClassTypeId() -> SoType""" - return _coin.SoSFShort_getClassTypeId(*args) - -def SoSFShort_initClass(*args): - """SoSFShort_initClass()""" - return _coin.SoSFShort_initClass(*args) - -class SoCounter(SoEngine): - """Proxy of C++ SoCounter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCounter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCounter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoCounter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoCounter_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCounter_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCounter_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCounter""" - this = _coin.new_SoCounter(*args) - try: self.this.append(this) - except: self.this = this - min = _swig_property(_coin.SoCounter_min_get, _coin.SoCounter_min_set) - max = _swig_property(_coin.SoCounter_max_get, _coin.SoCounter_max_set) - step = _swig_property(_coin.SoCounter_step_get, _coin.SoCounter_step_set) - trigger = _swig_property(_coin.SoCounter_trigger_get, _coin.SoCounter_trigger_set) - reset = _swig_property(_coin.SoCounter_reset_get, _coin.SoCounter_reset_set) - output = _swig_property(_coin.SoCounter_output_get, _coin.SoCounter_output_set) - syncOut = _swig_property(_coin.SoCounter_syncOut_get, _coin.SoCounter_syncOut_set) -SoCounter_swigregister = _coin.SoCounter_swigregister -SoCounter_swigregister(SoCounter) - -def SoCounter_getClassTypeId(*args): - """SoCounter_getClassTypeId() -> SoType""" - return _coin.SoCounter_getClassTypeId(*args) - -def SoCounter_createInstance(*args): - """SoCounter_createInstance() -> void""" - return _coin.SoCounter_createInstance(*args) - -def SoCounter_initClass(*args): - """SoCounter_initClass()""" - return _coin.SoCounter_initClass(*args) - -class SoSFTime(SoSField): - """Proxy of C++ SoSFTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFTime""" - this = _coin.new_SoSFTime(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFTime - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFTime_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFTime_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFTime_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbTime""" - return _coin.SoSFTime_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFTime field) -> int""" - return _coin.SoSFTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFTime field) -> int""" - return _coin.SoSFTime___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFTime_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbTime newvalue) - setValue(self, SbTime other) - setValue(self, SoSFTime other) - """ - return _coin.SoSFTime_setValue(*args) - -SoSFTime_swigregister = _coin.SoSFTime_swigregister -SoSFTime_swigregister(SoSFTime) - -def SoSFTime_createInstance(*args): - """SoSFTime_createInstance() -> void""" - return _coin.SoSFTime_createInstance(*args) - -def SoSFTime_getClassTypeId(*args): - """SoSFTime_getClassTypeId() -> SoType""" - return _coin.SoSFTime_getClassTypeId(*args) - -def SoSFTime_initClass(*args): - """SoSFTime_initClass()""" - return _coin.SoSFTime_initClass(*args) - -class SoElapsedTime(SoEngine): - """Proxy of C++ SoElapsedTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoElapsedTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoElapsedTime_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoElapsedTime_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoElapsedTime_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoElapsedTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoElapsedTime_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoElapsedTime""" - this = _coin.new_SoElapsedTime(*args) - try: self.this.append(this) - except: self.this = this - timeIn = _swig_property(_coin.SoElapsedTime_timeIn_get, _coin.SoElapsedTime_timeIn_set) - speed = _swig_property(_coin.SoElapsedTime_speed_get, _coin.SoElapsedTime_speed_set) - on = _swig_property(_coin.SoElapsedTime_on_get, _coin.SoElapsedTime_on_set) - pause = _swig_property(_coin.SoElapsedTime_pause_get, _coin.SoElapsedTime_pause_set) - reset = _swig_property(_coin.SoElapsedTime_reset_get, _coin.SoElapsedTime_reset_set) - timeOut = _swig_property(_coin.SoElapsedTime_timeOut_get, _coin.SoElapsedTime_timeOut_set) -SoElapsedTime_swigregister = _coin.SoElapsedTime_swigregister -SoElapsedTime_swigregister(SoElapsedTime) - -def SoElapsedTime_getClassTypeId(*args): - """SoElapsedTime_getClassTypeId() -> SoType""" - return _coin.SoElapsedTime_getClassTypeId(*args) - -def SoElapsedTime_createInstance(*args): - """SoElapsedTime_createInstance() -> void""" - return _coin.SoElapsedTime_createInstance(*args) - -def SoElapsedTime_initClass(*args): - """SoElapsedTime_initClass()""" - return _coin.SoElapsedTime_initClass(*args) - -class SoFieldConverter(SoEngine): - """Proxy of C++ SoFieldConverter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFieldConverter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFieldConverter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoFieldConverter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoFieldConverter_getOutputData(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFieldConverter_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoFieldConverter_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getInput(*args): - """getInput(self, SoType type) -> SoField""" - return _coin.SoFieldConverter_getInput(*args) - - def getOutput(*args): - """getOutput(self, SoType type) -> SoEngineOutput""" - return _coin.SoFieldConverter_getOutput(*args) - - def getConnectedInput(*args): - """getConnectedInput(self) -> SoField""" - return _coin.SoFieldConverter_getConnectedInput(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList l) -> int""" - return _coin.SoFieldConverter_getForwardConnections(*args) - -SoFieldConverter_swigregister = _coin.SoFieldConverter_swigregister -SoFieldConverter_swigregister(SoFieldConverter) - -def SoFieldConverter_getClassTypeId(*args): - """SoFieldConverter_getClassTypeId() -> SoType""" - return _coin.SoFieldConverter_getClassTypeId(*args) - -def SoFieldConverter_initClass(*args): - """SoFieldConverter_initClass()""" - return _coin.SoFieldConverter_initClass(*args) - -def SoFieldConverter_initClasses(*args): - """SoFieldConverter_initClasses()""" - return _coin.SoFieldConverter_initClasses(*args) - -class SoGate(SoEngine): - """Proxy of C++ SoGate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoGate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoGate_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGate_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoType type) -> SoGate""" - this = _coin.new_SoGate(*args) - try: self.this.append(this) - except: self.this = this - enable = _swig_property(_coin.SoGate_enable_get, _coin.SoGate_enable_set) - trigger = _swig_property(_coin.SoGate_trigger_get, _coin.SoGate_trigger_set) - input = _swig_property(_coin.SoGate_input_get, _coin.SoGate_input_set) - output = _swig_property(_coin.SoGate_output_get, _coin.SoGate_output_set) -SoGate_swigregister = _coin.SoGate_swigregister -SoGate_swigregister(SoGate) - -def SoGate_getClassTypeId(*args): - """SoGate_getClassTypeId() -> SoType""" - return _coin.SoGate_getClassTypeId(*args) - -def SoGate_createInstance(*args): - """SoGate_createInstance() -> void""" - return _coin.SoGate_createInstance(*args) - -def SoGate_initClass(*args): - """SoGate_initClass()""" - return _coin.SoGate_initClass(*args) - -class SoInterpolate(SoEngine): - """Proxy of C++ SoInterpolate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolate_getOutputData(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoInterpolate_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoInterpolate_initClasses(*args) - - initClasses = staticmethod(initClasses) - alpha = _swig_property(_coin.SoInterpolate_alpha_get, _coin.SoInterpolate_alpha_set) - output = _swig_property(_coin.SoInterpolate_output_get, _coin.SoInterpolate_output_set) -SoInterpolate_swigregister = _coin.SoInterpolate_swigregister -SoInterpolate_swigregister(SoInterpolate) - -def SoInterpolate_getClassTypeId(*args): - """SoInterpolate_getClassTypeId() -> SoType""" - return _coin.SoInterpolate_getClassTypeId(*args) - -def SoInterpolate_initClass(*args): - """SoInterpolate_initClass()""" - return _coin.SoInterpolate_initClass(*args) - -def SoInterpolate_initClasses(*args): - """SoInterpolate_initClasses()""" - return _coin.SoInterpolate_initClasses(*args) - -class SoInterpolateFloat(SoInterpolate): - """Proxy of C++ SoInterpolateFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateFloat_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateFloat_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateFloat_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateFloat""" - this = _coin.new_SoInterpolateFloat(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateFloat_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateFloat_input0_get, _coin.SoInterpolateFloat_input0_set) - input1 = _swig_property(_coin.SoInterpolateFloat_input1_get, _coin.SoInterpolateFloat_input1_set) -SoInterpolateFloat_swigregister = _coin.SoInterpolateFloat_swigregister -SoInterpolateFloat_swigregister(SoInterpolateFloat) - -def SoInterpolateFloat_getClassTypeId(*args): - """SoInterpolateFloat_getClassTypeId() -> SoType""" - return _coin.SoInterpolateFloat_getClassTypeId(*args) - -def SoInterpolateFloat_createInstance(*args): - """SoInterpolateFloat_createInstance() -> void""" - return _coin.SoInterpolateFloat_createInstance(*args) - -def SoInterpolateFloat_initClass(*args): - """SoInterpolateFloat_initClass()""" - return _coin.SoInterpolateFloat_initClass(*args) - -class SoInterpolateVec2f(SoInterpolate): - """Proxy of C++ SoInterpolateVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec2f""" - this = _coin.new_SoInterpolateVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec2f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec2f_input0_get, _coin.SoInterpolateVec2f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec2f_input1_get, _coin.SoInterpolateVec2f_input1_set) -SoInterpolateVec2f_swigregister = _coin.SoInterpolateVec2f_swigregister -SoInterpolateVec2f_swigregister(SoInterpolateVec2f) - -def SoInterpolateVec2f_getClassTypeId(*args): - """SoInterpolateVec2f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec2f_getClassTypeId(*args) - -def SoInterpolateVec2f_createInstance(*args): - """SoInterpolateVec2f_createInstance() -> void""" - return _coin.SoInterpolateVec2f_createInstance(*args) - -def SoInterpolateVec2f_initClass(*args): - """SoInterpolateVec2f_initClass()""" - return _coin.SoInterpolateVec2f_initClass(*args) - -class SoInterpolateVec3f(SoInterpolate): - """Proxy of C++ SoInterpolateVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec3f""" - this = _coin.new_SoInterpolateVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec3f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec3f_input0_get, _coin.SoInterpolateVec3f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec3f_input1_get, _coin.SoInterpolateVec3f_input1_set) -SoInterpolateVec3f_swigregister = _coin.SoInterpolateVec3f_swigregister -SoInterpolateVec3f_swigregister(SoInterpolateVec3f) - -def SoInterpolateVec3f_getClassTypeId(*args): - """SoInterpolateVec3f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec3f_getClassTypeId(*args) - -def SoInterpolateVec3f_createInstance(*args): - """SoInterpolateVec3f_createInstance() -> void""" - return _coin.SoInterpolateVec3f_createInstance(*args) - -def SoInterpolateVec3f_initClass(*args): - """SoInterpolateVec3f_initClass()""" - return _coin.SoInterpolateVec3f_initClass(*args) - -class SoInterpolateVec4f(SoInterpolate): - """Proxy of C++ SoInterpolateVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec4f""" - this = _coin.new_SoInterpolateVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec4f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec4f_input0_get, _coin.SoInterpolateVec4f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec4f_input1_get, _coin.SoInterpolateVec4f_input1_set) -SoInterpolateVec4f_swigregister = _coin.SoInterpolateVec4f_swigregister -SoInterpolateVec4f_swigregister(SoInterpolateVec4f) - -def SoInterpolateVec4f_getClassTypeId(*args): - """SoInterpolateVec4f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec4f_getClassTypeId(*args) - -def SoInterpolateVec4f_createInstance(*args): - """SoInterpolateVec4f_createInstance() -> void""" - return _coin.SoInterpolateVec4f_createInstance(*args) - -def SoInterpolateVec4f_initClass(*args): - """SoInterpolateVec4f_initClass()""" - return _coin.SoInterpolateVec4f_initClass(*args) - -class SoInterpolateRotation(SoInterpolate): - """Proxy of C++ SoInterpolateRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateRotation""" - this = _coin.new_SoInterpolateRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateRotation_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateRotation_input0_get, _coin.SoInterpolateRotation_input0_set) - input1 = _swig_property(_coin.SoInterpolateRotation_input1_get, _coin.SoInterpolateRotation_input1_set) -SoInterpolateRotation_swigregister = _coin.SoInterpolateRotation_swigregister -SoInterpolateRotation_swigregister(SoInterpolateRotation) - -def SoInterpolateRotation_getClassTypeId(*args): - """SoInterpolateRotation_getClassTypeId() -> SoType""" - return _coin.SoInterpolateRotation_getClassTypeId(*args) - -def SoInterpolateRotation_createInstance(*args): - """SoInterpolateRotation_createInstance() -> void""" - return _coin.SoInterpolateRotation_createInstance(*args) - -def SoInterpolateRotation_initClass(*args): - """SoInterpolateRotation_initClass()""" - return _coin.SoInterpolateRotation_initClass(*args) - -class SoOnOff(SoEngine): - """Proxy of C++ SoOnOff class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOnOff_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOnOff_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoOnOff_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoOnOff_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOnOff_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOnOff_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOnOff""" - this = _coin.new_SoOnOff(*args) - try: self.this.append(this) - except: self.this = this - on = _swig_property(_coin.SoOnOff_on_get, _coin.SoOnOff_on_set) - off = _swig_property(_coin.SoOnOff_off_get, _coin.SoOnOff_off_set) - toggle = _swig_property(_coin.SoOnOff_toggle_get, _coin.SoOnOff_toggle_set) - isOn = _swig_property(_coin.SoOnOff_isOn_get, _coin.SoOnOff_isOn_set) - isOff = _swig_property(_coin.SoOnOff_isOff_get, _coin.SoOnOff_isOff_set) -SoOnOff_swigregister = _coin.SoOnOff_swigregister -SoOnOff_swigregister(SoOnOff) - -def SoOnOff_getClassTypeId(*args): - """SoOnOff_getClassTypeId() -> SoType""" - return _coin.SoOnOff_getClassTypeId(*args) - -def SoOnOff_createInstance(*args): - """SoOnOff_createInstance() -> void""" - return _coin.SoOnOff_createInstance(*args) - -def SoOnOff_initClass(*args): - """SoOnOff_initClass()""" - return _coin.SoOnOff_initClass(*args) - -class SoSFBitMask(SoSFEnum): - """Proxy of C++ SoSFBitMask class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBitMask""" - this = _coin.new_SoSFBitMask(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBitMask - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBitMask_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBitMask_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBitMask_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBitMask_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBitMask_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBitMask_initClass(*args) - - initClass = staticmethod(initClass) -SoSFBitMask_swigregister = _coin.SoSFBitMask_swigregister -SoSFBitMask_swigregister(SoSFBitMask) - -def SoSFBitMask_createInstance(*args): - """SoSFBitMask_createInstance() -> void""" - return _coin.SoSFBitMask_createInstance(*args) - -def SoSFBitMask_getClassTypeId(*args): - """SoSFBitMask_getClassTypeId() -> SoType""" - return _coin.SoSFBitMask_getClassTypeId(*args) - -def SoSFBitMask_initClass(*args): - """SoSFBitMask_initClass()""" - return _coin.SoSFBitMask_initClass(*args) - -class SoOneShot(SoEngine): - """Proxy of C++ SoOneShot class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOneShot_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOneShot_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoOneShot_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoOneShot_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOneShot_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOneShot_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOneShot""" - this = _coin.new_SoOneShot(*args) - try: self.this.append(this) - except: self.this = this - RETRIGGERABLE = _coin.SoOneShot_RETRIGGERABLE - HOLD_FINAL = _coin.SoOneShot_HOLD_FINAL - timeIn = _swig_property(_coin.SoOneShot_timeIn_get, _coin.SoOneShot_timeIn_set) - duration = _swig_property(_coin.SoOneShot_duration_get, _coin.SoOneShot_duration_set) - trigger = _swig_property(_coin.SoOneShot_trigger_get, _coin.SoOneShot_trigger_set) - flags = _swig_property(_coin.SoOneShot_flags_get, _coin.SoOneShot_flags_set) - disable = _swig_property(_coin.SoOneShot_disable_get, _coin.SoOneShot_disable_set) - timeOut = _swig_property(_coin.SoOneShot_timeOut_get, _coin.SoOneShot_timeOut_set) - isActive = _swig_property(_coin.SoOneShot_isActive_get, _coin.SoOneShot_isActive_set) - ramp = _swig_property(_coin.SoOneShot_ramp_get, _coin.SoOneShot_ramp_set) -SoOneShot_swigregister = _coin.SoOneShot_swigregister -SoOneShot_swigregister(SoOneShot) - -def SoOneShot_getClassTypeId(*args): - """SoOneShot_getClassTypeId() -> SoType""" - return _coin.SoOneShot_getClassTypeId(*args) - -def SoOneShot_createInstance(*args): - """SoOneShot_createInstance() -> void""" - return _coin.SoOneShot_createInstance(*args) - -def SoOneShot_initClass(*args): - """SoOneShot_initClass()""" - return _coin.SoOneShot_initClass(*args) - -class SoSelectOne(SoEngine): - """Proxy of C++ SoSelectOne class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSelectOne_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSelectOne_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoSelectOne_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoSelectOne_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSelectOne_createInstance(*args) - - createInstance = staticmethod(createInstance) - index = _swig_property(_coin.SoSelectOne_index_get, _coin.SoSelectOne_index_set) - input = _swig_property(_coin.SoSelectOne_input_get, _coin.SoSelectOne_input_set) - output = _swig_property(_coin.SoSelectOne_output_get, _coin.SoSelectOne_output_set) - def __init__(self, *args): - """__init__(self, SoType inputtype) -> SoSelectOne""" - this = _coin.new_SoSelectOne(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoSelectOne_initClass(*args) - - initClass = staticmethod(initClass) -SoSelectOne_swigregister = _coin.SoSelectOne_swigregister -SoSelectOne_swigregister(SoSelectOne) - -def SoSelectOne_getClassTypeId(*args): - """SoSelectOne_getClassTypeId() -> SoType""" - return _coin.SoSelectOne_getClassTypeId(*args) - -def SoSelectOne_createInstance(*args): - """SoSelectOne_createInstance() -> void""" - return _coin.SoSelectOne_createInstance(*args) - -def SoSelectOne_initClass(*args): - """SoSelectOne_initClass()""" - return _coin.SoSelectOne_initClass(*args) - -class SoTimeCounter(SoEngine): - """Proxy of C++ SoTimeCounter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTimeCounter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTimeCounter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTimeCounter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTimeCounter_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTimeCounter_createInstance(*args) - - createInstance = staticmethod(createInstance) - timeIn = _swig_property(_coin.SoTimeCounter_timeIn_get, _coin.SoTimeCounter_timeIn_set) - min = _swig_property(_coin.SoTimeCounter_min_get, _coin.SoTimeCounter_min_set) - max = _swig_property(_coin.SoTimeCounter_max_get, _coin.SoTimeCounter_max_set) - step = _swig_property(_coin.SoTimeCounter_step_get, _coin.SoTimeCounter_step_set) - on = _swig_property(_coin.SoTimeCounter_on_get, _coin.SoTimeCounter_on_set) - frequency = _swig_property(_coin.SoTimeCounter_frequency_get, _coin.SoTimeCounter_frequency_set) - duty = _swig_property(_coin.SoTimeCounter_duty_get, _coin.SoTimeCounter_duty_set) - reset = _swig_property(_coin.SoTimeCounter_reset_get, _coin.SoTimeCounter_reset_set) - syncIn = _swig_property(_coin.SoTimeCounter_syncIn_get, _coin.SoTimeCounter_syncIn_set) - output = _swig_property(_coin.SoTimeCounter_output_get, _coin.SoTimeCounter_output_set) - syncOut = _swig_property(_coin.SoTimeCounter_syncOut_get, _coin.SoTimeCounter_syncOut_set) - def __init__(self, *args): - """__init__(self) -> SoTimeCounter""" - this = _coin.new_SoTimeCounter(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoTimeCounter_initClass(*args) - - initClass = staticmethod(initClass) -SoTimeCounter_swigregister = _coin.SoTimeCounter_swigregister -SoTimeCounter_swigregister(SoTimeCounter) - -def SoTimeCounter_getClassTypeId(*args): - """SoTimeCounter_getClassTypeId() -> SoType""" - return _coin.SoTimeCounter_getClassTypeId(*args) - -def SoTimeCounter_createInstance(*args): - """SoTimeCounter_createInstance() -> void""" - return _coin.SoTimeCounter_createInstance(*args) - -def SoTimeCounter_initClass(*args): - """SoTimeCounter_initClass()""" - return _coin.SoTimeCounter_initClass(*args) - -class SoTransformVec3f(SoEngine): - """Proxy of C++ SoTransformVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTransformVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTransformVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTransformVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTransformVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformVec3f""" - this = _coin.new_SoTransformVec3f(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoTransformVec3f_vector_get, _coin.SoTransformVec3f_vector_set) - matrix = _swig_property(_coin.SoTransformVec3f_matrix_get, _coin.SoTransformVec3f_matrix_set) - point = _swig_property(_coin.SoTransformVec3f_point_get, _coin.SoTransformVec3f_point_set) - direction = _swig_property(_coin.SoTransformVec3f_direction_get, _coin.SoTransformVec3f_direction_set) - normalDirection = _swig_property(_coin.SoTransformVec3f_normalDirection_get, _coin.SoTransformVec3f_normalDirection_set) -SoTransformVec3f_swigregister = _coin.SoTransformVec3f_swigregister -SoTransformVec3f_swigregister(SoTransformVec3f) - -def SoTransformVec3f_getClassTypeId(*args): - """SoTransformVec3f_getClassTypeId() -> SoType""" - return _coin.SoTransformVec3f_getClassTypeId(*args) - -def SoTransformVec3f_createInstance(*args): - """SoTransformVec3f_createInstance() -> void""" - return _coin.SoTransformVec3f_createInstance(*args) - -def SoTransformVec3f_initClass(*args): - """SoTransformVec3f_initClass()""" - return _coin.SoTransformVec3f_initClass(*args) - -class SoTriggerAny(SoEngine): - """Proxy of C++ SoTriggerAny class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTriggerAny_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTriggerAny_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTriggerAny_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTriggerAny_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTriggerAny_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTriggerAny_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTriggerAny""" - this = _coin.new_SoTriggerAny(*args) - try: self.this.append(this) - except: self.this = this - input0 = _swig_property(_coin.SoTriggerAny_input0_get, _coin.SoTriggerAny_input0_set) - input1 = _swig_property(_coin.SoTriggerAny_input1_get, _coin.SoTriggerAny_input1_set) - input2 = _swig_property(_coin.SoTriggerAny_input2_get, _coin.SoTriggerAny_input2_set) - input3 = _swig_property(_coin.SoTriggerAny_input3_get, _coin.SoTriggerAny_input3_set) - input4 = _swig_property(_coin.SoTriggerAny_input4_get, _coin.SoTriggerAny_input4_set) - input5 = _swig_property(_coin.SoTriggerAny_input5_get, _coin.SoTriggerAny_input5_set) - input6 = _swig_property(_coin.SoTriggerAny_input6_get, _coin.SoTriggerAny_input6_set) - input7 = _swig_property(_coin.SoTriggerAny_input7_get, _coin.SoTriggerAny_input7_set) - input8 = _swig_property(_coin.SoTriggerAny_input8_get, _coin.SoTriggerAny_input8_set) - input9 = _swig_property(_coin.SoTriggerAny_input9_get, _coin.SoTriggerAny_input9_set) - output = _swig_property(_coin.SoTriggerAny_output_get, _coin.SoTriggerAny_output_set) -SoTriggerAny_swigregister = _coin.SoTriggerAny_swigregister -SoTriggerAny_swigregister(SoTriggerAny) - -def SoTriggerAny_getClassTypeId(*args): - """SoTriggerAny_getClassTypeId() -> SoType""" - return _coin.SoTriggerAny_getClassTypeId(*args) - -def SoTriggerAny_createInstance(*args): - """SoTriggerAny_createInstance() -> void""" - return _coin.SoTriggerAny_createInstance(*args) - -def SoTriggerAny_initClass(*args): - """SoTriggerAny_initClass()""" - return _coin.SoTriggerAny_initClass(*args) - -class SoTexture2Convert(SoEngine): - """Proxy of C++ SoTexture2Convert class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture2Convert_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture2Convert_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTexture2Convert_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTexture2Convert_getOutputData(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture2Convert_initClass(*args) - - initClass = staticmethod(initClass) - sourceImage = _swig_property(_coin.SoTexture2Convert_sourceImage_get, _coin.SoTexture2Convert_sourceImage_set) - image = _swig_property(_coin.SoTexture2Convert_image_get, _coin.SoTexture2Convert_image_set) - __swig_destroy__ = _coin.delete_SoTexture2Convert - __del__ = lambda self : None; -SoTexture2Convert_swigregister = _coin.SoTexture2Convert_swigregister -SoTexture2Convert_swigregister(SoTexture2Convert) - -def SoTexture2Convert_getClassTypeId(*args): - """SoTexture2Convert_getClassTypeId() -> SoType""" - return _coin.SoTexture2Convert_getClassTypeId(*args) - -def SoTexture2Convert_initClass(*args): - """SoTexture2Convert_initClass()""" - return _coin.SoTexture2Convert_initClass(*args) - -class SoHeightMapToNormalMap(SoTexture2Convert): - """Proxy of C++ SoHeightMapToNormalMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHeightMapToNormalMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHeightMapToNormalMap_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoHeightMapToNormalMap_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoHeightMapToNormalMap_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoHeightMapToNormalMap_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoHeightMapToNormalMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoHeightMapToNormalMap""" - this = _coin.new_SoHeightMapToNormalMap(*args) - try: self.this.append(this) - except: self.this = this - INT8 = _coin.SoHeightMapToNormalMap_INT8 - format = _swig_property(_coin.SoHeightMapToNormalMap_format_get, _coin.SoHeightMapToNormalMap_format_set) - def convert(*args): - """convert(unsigned char srcptr, SbVec2s size, int nc, SbImage dst_out)""" - return _coin.SoHeightMapToNormalMap_convert(*args) - - convert = staticmethod(convert) - __swig_destroy__ = _coin.delete_SoHeightMapToNormalMap - __del__ = lambda self : None; -SoHeightMapToNormalMap_swigregister = _coin.SoHeightMapToNormalMap_swigregister -SoHeightMapToNormalMap_swigregister(SoHeightMapToNormalMap) - -def SoHeightMapToNormalMap_getClassTypeId(*args): - """SoHeightMapToNormalMap_getClassTypeId() -> SoType""" - return _coin.SoHeightMapToNormalMap_getClassTypeId(*args) - -def SoHeightMapToNormalMap_createInstance(*args): - """SoHeightMapToNormalMap_createInstance() -> void""" - return _coin.SoHeightMapToNormalMap_createInstance(*args) - -def SoHeightMapToNormalMap_initClass(*args): - """SoHeightMapToNormalMap_initClass()""" - return _coin.SoHeightMapToNormalMap_initClass(*args) - -def SoHeightMapToNormalMap_convert(*args): - """SoHeightMapToNormalMap_convert(unsigned char srcptr, SbVec2s size, int nc, SbImage dst_out)""" - return _coin.SoHeightMapToNormalMap_convert(*args) - -class SoNodeEngine(SoNode): - """Proxy of C++ SoNodeEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoNodeEngine_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def evaluateWrapper(*args): - """evaluateWrapper(self)""" - return _coin.SoNodeEngine_evaluateWrapper(*args) - - def getOutputs(*args): - """getOutputs(self, SoEngineOutputList l) -> int""" - return _coin.SoNodeEngine_getOutputs(*args) - - def getOutput(*args): - """getOutput(self, SbName outputname) -> SoEngineOutput""" - return _coin.SoNodeEngine_getOutput(*args) - - def getOutputName(*args): - """getOutputName(self, SoEngineOutput output, SbName outputname) -> SbBool""" - return _coin.SoNodeEngine_getOutputName(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoNodeEngine_getOutputData(*args) - - def isNotifying(*args): - """isNotifying(self) -> SbBool""" - return _coin.SoNodeEngine_isNotifying(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoNodeEngine_notify(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoNodeEngine_writeInstance(*args) - -SoNodeEngine_swigregister = _coin.SoNodeEngine_swigregister -SoNodeEngine_swigregister(SoNodeEngine) - -def SoNodeEngine_initClass(*args): - """SoNodeEngine_initClass()""" - return _coin.SoNodeEngine_initClass(*args) - -def SoNodeEngine_getClassTypeId(*args): - """SoNodeEngine_getClassTypeId() -> SoType""" - return _coin.SoNodeEngine_getClassTypeId(*args) - -class SoMemoryError(SoError): - """Proxy of C++ SoMemoryError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB callback, void data)""" - return _coin.SoMemoryError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoMemoryError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoMemoryError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMemoryError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMemoryError_getTypeId(*args) - - def post(*args): - """post(char whatWasAllocated)""" - return _coin.SoMemoryError_post(*args) - - post = staticmethod(post) - def initClass(*args): - """initClass()""" - return _coin.SoMemoryError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMemoryError""" - this = _coin.new_SoMemoryError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMemoryError - __del__ = lambda self : None; -SoMemoryError_swigregister = _coin.SoMemoryError_swigregister -SoMemoryError_swigregister(SoMemoryError) - -def SoMemoryError_setHandlerCallback(*args): - """SoMemoryError_setHandlerCallback(SoErrorCB callback, void data)""" - return _coin.SoMemoryError_setHandlerCallback(*args) - -def SoMemoryError_getHandlerCallback(*args): - """SoMemoryError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoMemoryError_getHandlerCallback(*args) - -def SoMemoryError_getHandlerData(*args): - """SoMemoryError_getHandlerData() -> void""" - return _coin.SoMemoryError_getHandlerData(*args) - -def SoMemoryError_getClassTypeId(*args): - """SoMemoryError_getClassTypeId() -> SoType""" - return _coin.SoMemoryError_getClassTypeId(*args) - -def SoMemoryError_post(*args): - """SoMemoryError_post(char whatWasAllocated)""" - return _coin.SoMemoryError_post(*args) - -def SoMemoryError_initClass(*args): - """SoMemoryError_initClass()""" - return _coin.SoMemoryError_initClass(*args) - -class SoReadError(SoError): - """Proxy of C++ SoReadError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoReadError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoReadError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoReadError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoReadError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoReadError_getTypeId(*args) - - def post(*args): - """post(SoInput input, char format, v(...) ?)""" - return _coin.SoReadError_post(*args) - - post = staticmethod(post) - def initClass(*args): - """initClass()""" - return _coin.SoReadError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoReadError""" - this = _coin.new_SoReadError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoReadError - __del__ = lambda self : None; -SoReadError_swigregister = _coin.SoReadError_swigregister -SoReadError_swigregister(SoReadError) - -def SoReadError_setHandlerCallback(*args): - """SoReadError_setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoReadError_setHandlerCallback(*args) - -def SoReadError_getHandlerCallback(*args): - """SoReadError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoReadError_getHandlerCallback(*args) - -def SoReadError_getHandlerData(*args): - """SoReadError_getHandlerData() -> void""" - return _coin.SoReadError_getHandlerData(*args) - -def SoReadError_getClassTypeId(*args): - """SoReadError_getClassTypeId() -> SoType""" - return _coin.SoReadError_getClassTypeId(*args) - -def SoReadError_post(*args): - """SoReadError_post(SoInput input, char format, v(...) ?)""" - return _coin.SoReadError_post(*args) - -def SoReadError_initClass(*args): - """SoReadError_initClass()""" - return _coin.SoReadError_initClass(*args) - -class SoButtonEvent(SoEvent): - """Proxy of C++ SoButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoButtonEvent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoButtonEvent""" - this = _coin.new_SoButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoButtonEvent - __del__ = lambda self : None; - UP = _coin.SoButtonEvent_UP - DOWN = _coin.SoButtonEvent_DOWN - UNKNOWN = _coin.SoButtonEvent_UNKNOWN - def setState(*args): - """setState(self, State state)""" - return _coin.SoButtonEvent_setState(*args) - - def getState(*args): - """getState(self) -> State""" - return _coin.SoButtonEvent_getState(*args) - - def enumToString(*args): - """enumToString(State enumval, SbString stringrep) -> SbBool""" - return _coin.SoButtonEvent_enumToString(*args) - - enumToString = staticmethod(enumToString) -SoButtonEvent_swigregister = _coin.SoButtonEvent_swigregister -SoButtonEvent_swigregister(SoButtonEvent) - -def SoButtonEvent_getClassTypeId(*args): - """SoButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoButtonEvent_getClassTypeId(*args) - -def SoButtonEvent_initClass(*args): - """SoButtonEvent_initClass()""" - return _coin.SoButtonEvent_initClass(*args) - -def SoButtonEvent_enumToString(*args): - """SoButtonEvent_enumToString(State enumval, SbString stringrep) -> SbBool""" - return _coin.SoButtonEvent_enumToString(*args) - -class SoLocation2Event(SoEvent): - """Proxy of C++ SoLocation2Event class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocation2Event_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLocation2Event_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLocation2Event_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLocation2Event""" - this = _coin.new_SoLocation2Event(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLocation2Event - __del__ = lambda self : None; -SoLocation2Event_swigregister = _coin.SoLocation2Event_swigregister -SoLocation2Event_swigregister(SoLocation2Event) - -def SoLocation2Event_getClassTypeId(*args): - """SoLocation2Event_getClassTypeId() -> SoType""" - return _coin.SoLocation2Event_getClassTypeId(*args) - -def SoLocation2Event_initClass(*args): - """SoLocation2Event_initClass()""" - return _coin.SoLocation2Event_initClass(*args) - -class SoMotion3Event(SoEvent): - """Proxy of C++ SoMotion3Event class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMotion3Event_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMotion3Event_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMotion3Event_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMotion3Event""" - this = _coin.new_SoMotion3Event(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMotion3Event - __del__ = lambda self : None; - def setTranslation(*args): - """setTranslation(self, SbVec3f t)""" - return _coin.SoMotion3Event_setTranslation(*args) - - def getTranslation(*args): - """getTranslation(self) -> SbVec3f""" - return _coin.SoMotion3Event_getTranslation(*args) - - def setRotation(*args): - """setRotation(self, SbRotation r)""" - return _coin.SoMotion3Event_setRotation(*args) - - def getRotation(*args): - """getRotation(self) -> SbRotation""" - return _coin.SoMotion3Event_getRotation(*args) - -SoMotion3Event_swigregister = _coin.SoMotion3Event_swigregister -SoMotion3Event_swigregister(SoMotion3Event) - -def SoMotion3Event_getClassTypeId(*args): - """SoMotion3Event_getClassTypeId() -> SoType""" - return _coin.SoMotion3Event_getClassTypeId(*args) - -def SoMotion3Event_initClass(*args): - """SoMotion3Event_initClass()""" - return _coin.SoMotion3Event_initClass(*args) - -class SoKeyboardEvent(SoButtonEvent): - """Proxy of C++ SoKeyboardEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoKeyboardEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoKeyboardEvent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoKeyboardEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoKeyboardEvent""" - this = _coin.new_SoKeyboardEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoKeyboardEvent - __del__ = lambda self : None; - ANY = _coin.SoKeyboardEvent_ANY - UNDEFINED = _coin.SoKeyboardEvent_UNDEFINED - LEFT_SHIFT = _coin.SoKeyboardEvent_LEFT_SHIFT - RIGHT_SHIFT = _coin.SoKeyboardEvent_RIGHT_SHIFT - LEFT_CONTROL = _coin.SoKeyboardEvent_LEFT_CONTROL - RIGHT_CONTROL = _coin.SoKeyboardEvent_RIGHT_CONTROL - LEFT_ALT = _coin.SoKeyboardEvent_LEFT_ALT - RIGHT_ALT = _coin.SoKeyboardEvent_RIGHT_ALT - NUMBER_0 = _coin.SoKeyboardEvent_NUMBER_0 - NUMBER_1 = _coin.SoKeyboardEvent_NUMBER_1 - NUMBER_2 = _coin.SoKeyboardEvent_NUMBER_2 - NUMBER_3 = _coin.SoKeyboardEvent_NUMBER_3 - NUMBER_4 = _coin.SoKeyboardEvent_NUMBER_4 - NUMBER_5 = _coin.SoKeyboardEvent_NUMBER_5 - NUMBER_6 = _coin.SoKeyboardEvent_NUMBER_6 - NUMBER_7 = _coin.SoKeyboardEvent_NUMBER_7 - NUMBER_8 = _coin.SoKeyboardEvent_NUMBER_8 - NUMBER_9 = _coin.SoKeyboardEvent_NUMBER_9 - A = _coin.SoKeyboardEvent_A - B = _coin.SoKeyboardEvent_B - C = _coin.SoKeyboardEvent_C - D = _coin.SoKeyboardEvent_D - E = _coin.SoKeyboardEvent_E - F = _coin.SoKeyboardEvent_F - G = _coin.SoKeyboardEvent_G - H = _coin.SoKeyboardEvent_H - I = _coin.SoKeyboardEvent_I - J = _coin.SoKeyboardEvent_J - K = _coin.SoKeyboardEvent_K - L = _coin.SoKeyboardEvent_L - M = _coin.SoKeyboardEvent_M - N = _coin.SoKeyboardEvent_N - O = _coin.SoKeyboardEvent_O - P = _coin.SoKeyboardEvent_P - Q = _coin.SoKeyboardEvent_Q - R = _coin.SoKeyboardEvent_R - S = _coin.SoKeyboardEvent_S - T = _coin.SoKeyboardEvent_T - U = _coin.SoKeyboardEvent_U - V = _coin.SoKeyboardEvent_V - W = _coin.SoKeyboardEvent_W - X = _coin.SoKeyboardEvent_X - Y = _coin.SoKeyboardEvent_Y - Z = _coin.SoKeyboardEvent_Z - HOME = _coin.SoKeyboardEvent_HOME - LEFT_ARROW = _coin.SoKeyboardEvent_LEFT_ARROW - UP_ARROW = _coin.SoKeyboardEvent_UP_ARROW - RIGHT_ARROW = _coin.SoKeyboardEvent_RIGHT_ARROW - DOWN_ARROW = _coin.SoKeyboardEvent_DOWN_ARROW - PAGE_UP = _coin.SoKeyboardEvent_PAGE_UP - PAGE_DOWN = _coin.SoKeyboardEvent_PAGE_DOWN - END = _coin.SoKeyboardEvent_END - PRIOR = _coin.SoKeyboardEvent_PRIOR - NEXT = _coin.SoKeyboardEvent_NEXT - PAD_ENTER = _coin.SoKeyboardEvent_PAD_ENTER - PAD_F1 = _coin.SoKeyboardEvent_PAD_F1 - PAD_F2 = _coin.SoKeyboardEvent_PAD_F2 - PAD_F3 = _coin.SoKeyboardEvent_PAD_F3 - PAD_F4 = _coin.SoKeyboardEvent_PAD_F4 - PAD_0 = _coin.SoKeyboardEvent_PAD_0 - PAD_1 = _coin.SoKeyboardEvent_PAD_1 - PAD_2 = _coin.SoKeyboardEvent_PAD_2 - PAD_3 = _coin.SoKeyboardEvent_PAD_3 - PAD_4 = _coin.SoKeyboardEvent_PAD_4 - PAD_5 = _coin.SoKeyboardEvent_PAD_5 - PAD_6 = _coin.SoKeyboardEvent_PAD_6 - PAD_7 = _coin.SoKeyboardEvent_PAD_7 - PAD_8 = _coin.SoKeyboardEvent_PAD_8 - PAD_9 = _coin.SoKeyboardEvent_PAD_9 - PAD_ADD = _coin.SoKeyboardEvent_PAD_ADD - PAD_SUBTRACT = _coin.SoKeyboardEvent_PAD_SUBTRACT - PAD_MULTIPLY = _coin.SoKeyboardEvent_PAD_MULTIPLY - PAD_DIVIDE = _coin.SoKeyboardEvent_PAD_DIVIDE - PAD_SPACE = _coin.SoKeyboardEvent_PAD_SPACE - PAD_TAB = _coin.SoKeyboardEvent_PAD_TAB - PAD_INSERT = _coin.SoKeyboardEvent_PAD_INSERT - PAD_DELETE = _coin.SoKeyboardEvent_PAD_DELETE - PAD_PERIOD = _coin.SoKeyboardEvent_PAD_PERIOD - F1 = _coin.SoKeyboardEvent_F1 - F2 = _coin.SoKeyboardEvent_F2 - F3 = _coin.SoKeyboardEvent_F3 - F4 = _coin.SoKeyboardEvent_F4 - F5 = _coin.SoKeyboardEvent_F5 - F6 = _coin.SoKeyboardEvent_F6 - F7 = _coin.SoKeyboardEvent_F7 - F8 = _coin.SoKeyboardEvent_F8 - F9 = _coin.SoKeyboardEvent_F9 - F10 = _coin.SoKeyboardEvent_F10 - F11 = _coin.SoKeyboardEvent_F11 - F12 = _coin.SoKeyboardEvent_F12 - BACKSPACE = _coin.SoKeyboardEvent_BACKSPACE - TAB = _coin.SoKeyboardEvent_TAB - RETURN = _coin.SoKeyboardEvent_RETURN - ENTER = _coin.SoKeyboardEvent_ENTER - PAUSE = _coin.SoKeyboardEvent_PAUSE - SCROLL_LOCK = _coin.SoKeyboardEvent_SCROLL_LOCK - ESCAPE = _coin.SoKeyboardEvent_ESCAPE - DELETE = _coin.SoKeyboardEvent_DELETE - KEY_DELETE = _coin.SoKeyboardEvent_KEY_DELETE - PRINT = _coin.SoKeyboardEvent_PRINT - INSERT = _coin.SoKeyboardEvent_INSERT - NUM_LOCK = _coin.SoKeyboardEvent_NUM_LOCK - CAPS_LOCK = _coin.SoKeyboardEvent_CAPS_LOCK - SHIFT_LOCK = _coin.SoKeyboardEvent_SHIFT_LOCK - SPACE = _coin.SoKeyboardEvent_SPACE - APOSTROPHE = _coin.SoKeyboardEvent_APOSTROPHE - COMMA = _coin.SoKeyboardEvent_COMMA - MINUS = _coin.SoKeyboardEvent_MINUS - PERIOD = _coin.SoKeyboardEvent_PERIOD - SLASH = _coin.SoKeyboardEvent_SLASH - SEMICOLON = _coin.SoKeyboardEvent_SEMICOLON - EQUAL = _coin.SoKeyboardEvent_EQUAL - BRACKETLEFT = _coin.SoKeyboardEvent_BRACKETLEFT - BACKSLASH = _coin.SoKeyboardEvent_BACKSLASH - BRACKETRIGHT = _coin.SoKeyboardEvent_BRACKETRIGHT - GRAVE = _coin.SoKeyboardEvent_GRAVE - def setKey(*args): - """setKey(self, Key key)""" - return _coin.SoKeyboardEvent_setKey(*args) - - def getKey(*args): - """getKey(self) -> Key""" - return _coin.SoKeyboardEvent_getKey(*args) - - def setPrintableCharacter(*args): - """setPrintableCharacter(self, char c)""" - return _coin.SoKeyboardEvent_setPrintableCharacter(*args) - - def getPrintableCharacter(*args): - """getPrintableCharacter(self) -> char""" - return _coin.SoKeyboardEvent_getPrintableCharacter(*args) - - def isKeyPressEvent(*args): - """isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyPressEvent(*args) - - isKeyPressEvent = staticmethod(isKeyPressEvent) - def isKeyReleaseEvent(*args): - """isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyReleaseEvent(*args) - - isKeyReleaseEvent = staticmethod(isKeyReleaseEvent) - def enumToString(*args): - """enumToString(Key enumval, SbString stringrep) -> SbBool""" - return _coin.SoKeyboardEvent_enumToString(*args) - - enumToString = staticmethod(enumToString) -SoKeyboardEvent_swigregister = _coin.SoKeyboardEvent_swigregister -SoKeyboardEvent_swigregister(SoKeyboardEvent) - -def SoKeyboardEvent_getClassTypeId(*args): - """SoKeyboardEvent_getClassTypeId() -> SoType""" - return _coin.SoKeyboardEvent_getClassTypeId(*args) - -def SoKeyboardEvent_initClass(*args): - """SoKeyboardEvent_initClass()""" - return _coin.SoKeyboardEvent_initClass(*args) - -def SoKeyboardEvent_isKeyPressEvent(*args): - """SoKeyboardEvent_isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyPressEvent(*args) - -def SoKeyboardEvent_isKeyReleaseEvent(*args): - """SoKeyboardEvent_isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyReleaseEvent(*args) - -def SoKeyboardEvent_enumToString(*args): - """SoKeyboardEvent_enumToString(Key enumval, SbString stringrep) -> SbBool""" - return _coin.SoKeyboardEvent_enumToString(*args) - -class SoMouseButtonEvent(SoButtonEvent): - """Proxy of C++ SoMouseButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMouseButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMouseButtonEvent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMouseButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMouseButtonEvent""" - this = _coin.new_SoMouseButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMouseButtonEvent - __del__ = lambda self : None; - ANY = _coin.SoMouseButtonEvent_ANY - BUTTON1 = _coin.SoMouseButtonEvent_BUTTON1 - BUTTON2 = _coin.SoMouseButtonEvent_BUTTON2 - BUTTON3 = _coin.SoMouseButtonEvent_BUTTON3 - BUTTON4 = _coin.SoMouseButtonEvent_BUTTON4 - BUTTON5 = _coin.SoMouseButtonEvent_BUTTON5 - def setButton(*args): - """setButton(self, Button button)""" - return _coin.SoMouseButtonEvent_setButton(*args) - - def getButton(*args): - """getButton(self) -> Button""" - return _coin.SoMouseButtonEvent_getButton(*args) - - def isButtonPressEvent(*args): - """isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonPressEvent(*args) - - isButtonPressEvent = staticmethod(isButtonPressEvent) - def isButtonReleaseEvent(*args): - """isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonReleaseEvent(*args) - - isButtonReleaseEvent = staticmethod(isButtonReleaseEvent) - def enumToString(*args): - """enumToString(Button enumval, SbString stringrep) -> SbBool""" - return _coin.SoMouseButtonEvent_enumToString(*args) - - enumToString = staticmethod(enumToString) -SoMouseButtonEvent_swigregister = _coin.SoMouseButtonEvent_swigregister -SoMouseButtonEvent_swigregister(SoMouseButtonEvent) - -def SoMouseButtonEvent_getClassTypeId(*args): - """SoMouseButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoMouseButtonEvent_getClassTypeId(*args) - -def SoMouseButtonEvent_initClass(*args): - """SoMouseButtonEvent_initClass()""" - return _coin.SoMouseButtonEvent_initClass(*args) - -def SoMouseButtonEvent_isButtonPressEvent(*args): - """SoMouseButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonPressEvent(*args) - -def SoMouseButtonEvent_isButtonReleaseEvent(*args): - """SoMouseButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonReleaseEvent(*args) - -def SoMouseButtonEvent_enumToString(*args): - """SoMouseButtonEvent_enumToString(Button enumval, SbString stringrep) -> SbBool""" - return _coin.SoMouseButtonEvent_enumToString(*args) - -class SoSpaceballButtonEvent(SoButtonEvent): - """Proxy of C++ SoSpaceballButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpaceballButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpaceballButtonEvent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpaceballButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpaceballButtonEvent""" - this = _coin.new_SoSpaceballButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSpaceballButtonEvent - __del__ = lambda self : None; - ANY = _coin.SoSpaceballButtonEvent_ANY - BUTTON1 = _coin.SoSpaceballButtonEvent_BUTTON1 - BUTTON2 = _coin.SoSpaceballButtonEvent_BUTTON2 - BUTTON3 = _coin.SoSpaceballButtonEvent_BUTTON3 - BUTTON4 = _coin.SoSpaceballButtonEvent_BUTTON4 - BUTTON5 = _coin.SoSpaceballButtonEvent_BUTTON5 - BUTTON6 = _coin.SoSpaceballButtonEvent_BUTTON6 - BUTTON7 = _coin.SoSpaceballButtonEvent_BUTTON7 - BUTTON8 = _coin.SoSpaceballButtonEvent_BUTTON8 - PICK = _coin.SoSpaceballButtonEvent_PICK - def setButton(*args): - """setButton(self, Button button)""" - return _coin.SoSpaceballButtonEvent_setButton(*args) - - def getButton(*args): - """getButton(self) -> Button""" - return _coin.SoSpaceballButtonEvent_getButton(*args) - - def isButtonPressEvent(*args): - """isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonPressEvent(*args) - - isButtonPressEvent = staticmethod(isButtonPressEvent) - def isButtonReleaseEvent(*args): - """isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonReleaseEvent(*args) - - isButtonReleaseEvent = staticmethod(isButtonReleaseEvent) - def enumToString(*args): - """enumToString(Button enumval, SbString stringrep) -> SbBool""" - return _coin.SoSpaceballButtonEvent_enumToString(*args) - - enumToString = staticmethod(enumToString) -SoSpaceballButtonEvent_swigregister = _coin.SoSpaceballButtonEvent_swigregister -SoSpaceballButtonEvent_swigregister(SoSpaceballButtonEvent) - -def SoSpaceballButtonEvent_getClassTypeId(*args): - """SoSpaceballButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoSpaceballButtonEvent_getClassTypeId(*args) - -def SoSpaceballButtonEvent_initClass(*args): - """SoSpaceballButtonEvent_initClass()""" - return _coin.SoSpaceballButtonEvent_initClass(*args) - -def SoSpaceballButtonEvent_isButtonPressEvent(*args): - """SoSpaceballButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonPressEvent(*args) - -def SoSpaceballButtonEvent_isButtonReleaseEvent(*args): - """SoSpaceballButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonReleaseEvent(*args) - -def SoSpaceballButtonEvent_enumToString(*args): - """SoSpaceballButtonEvent_enumToString(Button enumval, SbString stringrep) -> SbBool""" - return _coin.SoSpaceballButtonEvent_enumToString(*args) - -class SbBox2s(object): - """Proxy of C++ SbBox2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2s - __init__(self, short xmin, short ymin, short xmax, short ymax) -> SbBox2s - __init__(self, SbVec2s minpoint, SbVec2s maxpoint) -> SbBox2s - __init__(self, SbBox2i32 box) -> SbBox2s - __init__(self, SbBox2f box) -> SbBox2s - __init__(self, SbBox2d box) -> SbBox2s - """ - this = _coin.new_SbBox2s(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, short xmin, short ymin, short xmax, short ymax) -> SbBox2s - setBounds(self, SbVec2s minpoint, SbVec2s maxpoint) -> SbBox2s - setBounds(self, SbBox2i32 box) -> SbBox2s - setBounds(self, SbBox2f box) -> SbBox2s - setBounds(self, SbBox2d box) -> SbBox2s - """ - return _coin.SbBox2s_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, short xmin, short ymin, short xmax, short ymax) - getBounds(self, SbVec2s minpoint, SbVec2s maxpoint) - """ - return _coin.SbBox2s_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec2s - getMin(self) -> SbVec2s - """ - return _coin.SbBox2s_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec2s - getMax(self) -> SbVec2s - """ - return _coin.SbBox2s_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2s point) - extendBy(self, SbBox2s box) - """ - return _coin.SbBox2s_extendBy(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2s_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2s_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2s_hasArea(*args) - - def intersect(*args): - """ - intersect(self, SbVec2s point) -> SbBool - intersect(self, SbBox2s box) -> SbBool - """ - return _coin.SbBox2s_intersect(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2f""" - return _coin.SbBox2s_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, short originX, short originY)""" - return _coin.SbBox2s_getOrigin(*args) - - def getSize(*args): - """getSize(self, short sizeX, short sizeY)""" - return _coin.SbBox2s_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> float""" - return _coin.SbBox2s_getAspectRatio(*args) - - def __eq__(*args): - """__eq__(self, SbBox2s u) -> int""" - return _coin.SbBox2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2s u) -> int""" - return _coin.SbBox2s___ne__(*args) - - __swig_destroy__ = _coin.delete_SbBox2s - __del__ = lambda self : None; -SbBox2s_swigregister = _coin.SbBox2s_swigregister -SbBox2s_swigregister(SbBox2s) - -class SoSFBox2s(SoSField): - """Proxy of C++ SoSFBox2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox2s""" - this = _coin.new_SoSFBox2s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox2s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox2s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox2s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox2s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox2s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox2s_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox2s field) -> int""" - return _coin.SoSFBox2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox2s field) -> int""" - return _coin.SoSFBox2s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox2s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox2s newvalue) - setValue(self, short xmin, short ymin, short xmax, short ymax) - setValue(self, SbVec2s minvec, SbVec2s maxvec) - """ - return _coin.SoSFBox2s_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox2s - getValue(self, SbBox2s box) - """ - return _coin.SoSFBox2s_getValue(*args) - -SoSFBox2s_swigregister = _coin.SoSFBox2s_swigregister -SoSFBox2s_swigregister(SoSFBox2s) - -def SoSFBox2s_createInstance(*args): - """SoSFBox2s_createInstance() -> void""" - return _coin.SoSFBox2s_createInstance(*args) - -def SoSFBox2s_getClassTypeId(*args): - """SoSFBox2s_getClassTypeId() -> SoType""" - return _coin.SoSFBox2s_getClassTypeId(*args) - -def SoSFBox2s_initClass(*args): - """SoSFBox2s_initClass()""" - return _coin.SoSFBox2s_initClass(*args) - -class SbVec2i32(object): - """Proxy of C++ SbVec2i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2i32 - __init__(self, int32_t v) -> SbVec2i32 - __init__(self, int32_t x, int32_t y) -> SbVec2i32 - __init__(self, SbVec2ui32 v) -> SbVec2i32 - __init__(self, SbVec2b v) -> SbVec2i32 - __init__(self, SbVec2s v) -> SbVec2i32 - __init__(self, SbVec2f v) -> SbVec2i32 - __init__(self, SbVec2d v) -> SbVec2i32 - """ - this = _coin.new_SbVec2i32(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int32_t v) -> SbVec2i32 - setValue(self, int32_t x, int32_t y) -> SbVec2i32 - setValue(self, SbVec2ui32 v) -> SbVec2i32 - setValue(self, SbVec2b v) -> SbVec2i32 - setValue(self, SbVec2s v) -> SbVec2i32 - setValue(self, SbVec2f v) -> SbVec2i32 - setValue(self, SbVec2d v) -> SbVec2i32 - """ - return _coin.SbVec2i32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int32_t - getValue(self, int32_t x, int32_t y) - """ - return _coin.SbVec2i32_getValue(*args) - - def dot(*args): - """dot(self, SbVec2i32 v) -> int32_t""" - return _coin.SbVec2i32_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2i32_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec2i32 - __imul__(self, double d) -> SbVec2i32 - """ - return _coin.SbVec2i32___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec2i32 - __idiv__(self, double d) -> SbVec2i32 - """ - return _coin.SbVec2i32___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2i32 v) -> SbVec2i32""" - return _coin.SbVec2i32___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2i32 v) -> SbVec2i32""" - return _coin.SbVec2i32___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2i32""" - return _coin.SbVec2i32___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2i32_output(*args) - - __swig_destroy__ = _coin.delete_SbVec2i32 - __del__ = lambda self : None; -SbVec2i32_swigregister = _coin.SbVec2i32_swigregister -SbVec2i32_swigregister(SbVec2i32) - -class SbBox2i32(object): - """Proxy of C++ SbBox2i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2i32 - __init__(self, int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax) -> SbBox2i32 - __init__(self, SbVec2i32 minpoint, SbVec2i32 maxpoint) -> SbBox2i32 - __init__(self, SbBox2s box) -> SbBox2i32 - __init__(self, SbBox2f box) -> SbBox2i32 - __init__(self, SbBox2d box) -> SbBox2i32 - """ - this = _coin.new_SbBox2i32(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax) -> SbBox2i32 - setBounds(self, SbVec2i32 minpoint, SbVec2i32 maxpoint) -> SbBox2i32 - setBounds(self, SbBox2s box) -> SbBox2i32 - setBounds(self, SbBox2f box) -> SbBox2i32 - setBounds(self, SbBox2d box) -> SbBox2i32 - """ - return _coin.SbBox2i32_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax) - getBounds(self, SbVec2i32 minpoint, SbVec2i32 maxpoint) - """ - return _coin.SbBox2i32_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec2i32 - getMin(self) -> SbVec2i32 - """ - return _coin.SbBox2i32_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec2i32 - getMax(self) -> SbVec2i32 - """ - return _coin.SbBox2i32_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2i32 point) - extendBy(self, SbBox2i32 box) - """ - return _coin.SbBox2i32_extendBy(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2i32_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2i32_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2i32_hasArea(*args) - - def intersect(*args): - """ - intersect(self, SbVec2i32 point) -> SbBool - intersect(self, SbBox2i32 box) -> SbBool - """ - return _coin.SbBox2i32_intersect(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2f""" - return _coin.SbBox2i32_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, int32_t originX, int32_t originY)""" - return _coin.SbBox2i32_getOrigin(*args) - - def getSize(*args): - """getSize(self, int32_t sizeX, int32_t sizeY)""" - return _coin.SbBox2i32_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> float""" - return _coin.SbBox2i32_getAspectRatio(*args) - - __swig_destroy__ = _coin.delete_SbBox2i32 - __del__ = lambda self : None; -SbBox2i32_swigregister = _coin.SbBox2i32_swigregister -SbBox2i32_swigregister(SbBox2i32) - -class SoSFBox2i32(SoSField): - """Proxy of C++ SoSFBox2i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox2i32""" - this = _coin.new_SoSFBox2i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox2i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox2i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox2i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox2i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox2i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox2i32_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox2i32 field) -> int""" - return _coin.SoSFBox2i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox2i32 field) -> int""" - return _coin.SoSFBox2i32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox2i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox2i32 newvalue) - setValue(self, int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax) - setValue(self, SbVec2i32 minvec, SbVec2i32 maxvec) - """ - return _coin.SoSFBox2i32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox2i32 - getValue(self, SbBox2i32 box) - """ - return _coin.SoSFBox2i32_getValue(*args) - -SoSFBox2i32_swigregister = _coin.SoSFBox2i32_swigregister -SoSFBox2i32_swigregister(SoSFBox2i32) - -def SoSFBox2i32_createInstance(*args): - """SoSFBox2i32_createInstance() -> void""" - return _coin.SoSFBox2i32_createInstance(*args) - -def SoSFBox2i32_getClassTypeId(*args): - """SoSFBox2i32_getClassTypeId() -> SoType""" - return _coin.SoSFBox2i32_getClassTypeId(*args) - -def SoSFBox2i32_initClass(*args): - """SoSFBox2i32_initClass()""" - return _coin.SoSFBox2i32_initClass(*args) - -class SbBox2f(object): - """Proxy of C++ SbBox2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2f - __init__(self, float xmin, float ymin, float xmax, float ymax) -> SbBox2f - __init__(self, SbVec2f minpoint, SbVec2f maxpoint) -> SbBox2f - __init__(self, SbBox2d box) -> SbBox2f - __init__(self, SbBox2s box) -> SbBox2f - __init__(self, SbBox2i32 box) -> SbBox2f - """ - this = _coin.new_SbBox2f(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, float xmin, float ymin, float xmax, float ymax) -> SbBox2f - setBounds(self, SbVec2f minpoint, SbVec2f maxpoint) -> SbBox2f - setBounds(self, SbBox2d box) -> SbBox2f - setBounds(self, SbBox2s box) -> SbBox2f - setBounds(self, SbBox2i32 box) -> SbBox2f - """ - return _coin.SbBox2f_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, float xmin, float ymin, float xmax, float ymax) - getBounds(self, SbVec2f minpoint, SbVec2f maxpoint) - """ - return _coin.SbBox2f_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec2f - getMin(self) -> SbVec2f - """ - return _coin.SbBox2f_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec2f - getMax(self) -> SbVec2f - """ - return _coin.SbBox2f_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2f point) - extendBy(self, SbBox2f box) - """ - return _coin.SbBox2f_extendBy(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2f_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2f_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2f_hasArea(*args) - - def intersect(*args): - """ - intersect(self, SbVec2f point) -> SbBool - intersect(self, SbBox2f box) -> SbBool - """ - return _coin.SbBox2f_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec2f point) -> SbVec2f""" - return _coin.SbBox2f_getClosestPoint(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2f""" - return _coin.SbBox2f_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, float originX, float originY)""" - return _coin.SbBox2f_getOrigin(*args) - - def getSize(*args): - """getSize(self, float sizeX, float sizeY)""" - return _coin.SbBox2f_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> float""" - return _coin.SbBox2f_getAspectRatio(*args) - - def __eq__(*args): - """__eq__(self, SbBox2f u) -> int""" - return _coin.SbBox2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2f u) -> int""" - return _coin.SbBox2f___ne__(*args) - - __swig_destroy__ = _coin.delete_SbBox2f - __del__ = lambda self : None; -SbBox2f_swigregister = _coin.SbBox2f_swigregister -SbBox2f_swigregister(SbBox2f) - -class SoSFBox2f(SoSField): - """Proxy of C++ SoSFBox2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox2f""" - this = _coin.new_SoSFBox2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox2f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox2f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox2f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox2f_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox2f field) -> int""" - return _coin.SoSFBox2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox2f field) -> int""" - return _coin.SoSFBox2f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox2f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox2f newvalue) - setValue(self, float xmin, float ymin, float xmax, float ymax) - setValue(self, SbVec2f minvec, SbVec2f maxvec) - """ - return _coin.SoSFBox2f_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox2f - getValue(self, SbBox2f box) - """ - return _coin.SoSFBox2f_getValue(*args) - -SoSFBox2f_swigregister = _coin.SoSFBox2f_swigregister -SoSFBox2f_swigregister(SoSFBox2f) - -def SoSFBox2f_createInstance(*args): - """SoSFBox2f_createInstance() -> void""" - return _coin.SoSFBox2f_createInstance(*args) - -def SoSFBox2f_getClassTypeId(*args): - """SoSFBox2f_getClassTypeId() -> SoType""" - return _coin.SoSFBox2f_getClassTypeId(*args) - -def SoSFBox2f_initClass(*args): - """SoSFBox2f_initClass()""" - return _coin.SoSFBox2f_initClass(*args) - -class SbVec2d(object): - """Proxy of C++ SbVec2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2d - __init__(self, double v) -> SbVec2d - __init__(self, double x, double y) -> SbVec2d - __init__(self, SbVec2f v) -> SbVec2d - __init__(self, SbVec2b v) -> SbVec2d - __init__(self, SbVec2s v) -> SbVec2d - __init__(self, SbVec2i32 v) -> SbVec2d - """ - this = _coin.new_SbVec2d(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, double v) -> SbVec2d - setValue(self, double x, double y) -> SbVec2d - setValue(self, SbVec2f v) -> SbVec2d - setValue(self, SbVec2b v) -> SbVec2d - setValue(self, SbVec2s v) -> SbVec2d - setValue(self, SbVec2i32 v) -> SbVec2d - """ - return _coin.SbVec2d_setValue(*args) - - def getValue(*args): - """getValue(self, double x, double y)""" - return _coin.SbVec2d_getValue(*args) - - def equals(*args): - """equals(self, SbVec2d v, double tolerance) -> SbBool""" - return _coin.SbVec2d_equals(*args) - - def dot(*args): - """dot(self, SbVec2d v) -> double""" - return _coin.SbVec2d_dot(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec2d_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> double""" - return _coin.SbVec2d_sqrLength(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec2d_normalize(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2d_negate(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec2d""" - return _coin.SbVec2d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec2d""" - return _coin.SbVec2d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2d v) -> SbVec2d""" - return _coin.SbVec2d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2d v) -> SbVec2d""" - return _coin.SbVec2d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2d""" - return _coin.SbVec2d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2d_output(*args) - - def __add__(*args): - """__add__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2d u) -> int""" - return _coin.SbVec2d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2d u) -> int""" - return _coin.SbVec2d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec2d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec2d___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2d - __del__ = lambda self : None; -SbVec2d_swigregister = _coin.SbVec2d_swigregister -SbVec2d_swigregister(SbVec2d) - -class SbBox2d(object): - """Proxy of C++ SbBox2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2d - __init__(self, double xmin, double ymin, double xmax, double ymax) -> SbBox2d - __init__(self, SbVec2d minpoint, SbVec2d maxpoint) -> SbBox2d - __init__(self, SbBox2f box) -> SbBox2d - __init__(self, SbBox2s box) -> SbBox2d - __init__(self, SbBox2i32 box) -> SbBox2d - """ - this = _coin.new_SbBox2d(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, double xmin, double ymin, double xmax, double ymax) -> SbBox2d - setBounds(self, SbVec2d minpoint, SbVec2d maxpoint) -> SbBox2d - setBounds(self, SbBox2f box) -> SbBox2d - setBounds(self, SbBox2s box) -> SbBox2d - setBounds(self, SbBox2i32 box) -> SbBox2d - """ - return _coin.SbBox2d_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, double xmin, double ymin, double xmax, double ymax) - getBounds(self, SbVec2d minpoint, SbVec2d maxpoint) - """ - return _coin.SbBox2d_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec2d - getMin(self) -> SbVec2d - """ - return _coin.SbBox2d_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec2d - getMax(self) -> SbVec2d - """ - return _coin.SbBox2d_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2d point) - extendBy(self, SbBox2d box) - """ - return _coin.SbBox2d_extendBy(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2d_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2d_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2d_hasArea(*args) - - def intersect(*args): - """ - intersect(self, SbVec2d point) -> SbBool - intersect(self, SbBox2d box) -> SbBool - """ - return _coin.SbBox2d_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec2d p) -> SbVec2d""" - return _coin.SbBox2d_getClosestPoint(*args) - - def findIntersection(*args): - """findIntersection(self, SbVec2d a, SbVec2d b, SbVec2d ia, SbVec2d ib) -> SbBool""" - return _coin.SbBox2d_findIntersection(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2d""" - return _coin.SbBox2d_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, double originX, double originY)""" - return _coin.SbBox2d_getOrigin(*args) - - def getSize(*args): - """getSize(self, double sizeX, double sizeY)""" - return _coin.SbBox2d_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> double""" - return _coin.SbBox2d_getAspectRatio(*args) - - def __eq__(*args): - """__eq__(self, SbBox2d u) -> int""" - return _coin.SbBox2d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2d u) -> int""" - return _coin.SbBox2d___ne__(*args) - - def setValue(*args): - """setValue(self, SbBox2d u) -> SbBox2d""" - return _coin.SbBox2d_setValue(*args) - - __swig_destroy__ = _coin.delete_SbBox2d - __del__ = lambda self : None; -SbBox2d_swigregister = _coin.SbBox2d_swigregister -SbBox2d_swigregister(SbBox2d) - -class SoSFBox2d(SoSField): - """Proxy of C++ SoSFBox2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox2d""" - this = _coin.new_SoSFBox2d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox2d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox2d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox2d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox2d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox2d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox2d_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox2d field) -> int""" - return _coin.SoSFBox2d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox2d field) -> int""" - return _coin.SoSFBox2d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox2d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox2d newvalue) - setValue(self, double xmin, double ymin, double xmax, double ymax) - setValue(self, SbVec2d minvec, SbVec2d maxvec) - """ - return _coin.SoSFBox2d_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox2d - getValue(self, SbBox2d box) - """ - return _coin.SoSFBox2d_getValue(*args) - -SoSFBox2d_swigregister = _coin.SoSFBox2d_swigregister -SoSFBox2d_swigregister(SoSFBox2d) - -def SoSFBox2d_createInstance(*args): - """SoSFBox2d_createInstance() -> void""" - return _coin.SoSFBox2d_createInstance(*args) - -def SoSFBox2d_getClassTypeId(*args): - """SoSFBox2d_getClassTypeId() -> SoType""" - return _coin.SoSFBox2d_getClassTypeId(*args) - -def SoSFBox2d_initClass(*args): - """SoSFBox2d_initClass()""" - return _coin.SoSFBox2d_initClass(*args) - -class SbBox3s(object): - """Proxy of C++ SbBox3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3s - __init__(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) -> SbBox3s - __init__(self, SbVec3s minpoint, SbVec3s maxpoint) -> SbBox3s - __init__(self, SbBox3i32 box) -> SbBox3s - __init__(self, SbBox3f box) -> SbBox3s - __init__(self, SbBox3d box) -> SbBox3s - """ - this = _coin.new_SbBox3s(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) -> SbBox3s - setBounds(self, SbVec3s minpoint, SbVec3s maxpoint) -> SbBox3s - setBounds(self, SbBox3i32 box) -> SbBox3s - setBounds(self, SbBox3f box) -> SbBox3s - setBounds(self, SbBox3d box) -> SbBox3s - """ - return _coin.SbBox3s_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) - getBounds(self, SbVec3s minpoint, SbVec3s maxpoint) - """ - return _coin.SbBox3s_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec3s - getMin(self) -> SbVec3s - """ - return _coin.SbBox3s_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec3s - getMax(self) -> SbVec3s - """ - return _coin.SbBox3s_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3s pt) - extendBy(self, SbBox3s box) - """ - return _coin.SbBox3s_extendBy(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3s_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox3s_isEmpty(*args) - - def hasVolume(*args): - """hasVolume(self) -> SbBool""" - return _coin.SbBox3s_hasVolume(*args) - - def getVolume(*args): - """getVolume(self) -> int""" - return _coin.SbBox3s_getVolume(*args) - - def intersect(*args): - """ - intersect(self, SbVec3s pt) -> SbBool - intersect(self, SbBox3s box) -> SbBool - """ - return _coin.SbBox3s_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f pt) -> SbVec3f""" - return _coin.SbBox3s_getClosestPoint(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbBox3s_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, short originX, short originY, short originZ)""" - return _coin.SbBox3s_getOrigin(*args) - - def getSize(*args): - """getSize(self, short sizeX, short sizeY, short sizeZ)""" - return _coin.SbBox3s_getSize(*args) - - def __eq__(*args): - """__eq__(self, SbBox3s u) -> int""" - return _coin.SbBox3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox3s u) -> int""" - return _coin.SbBox3s___ne__(*args) - - __swig_destroy__ = _coin.delete_SbBox3s - __del__ = lambda self : None; -SbBox3s_swigregister = _coin.SbBox3s_swigregister -SbBox3s_swigregister(SbBox3s) - -class SoSFBox3s(SoSField): - """Proxy of C++ SoSFBox3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox3s""" - this = _coin.new_SoSFBox3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox3s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox3s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox3s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox3s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox3s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox3s_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox3s field) -> int""" - return _coin.SoSFBox3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox3s field) -> int""" - return _coin.SoSFBox3s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox3s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox3s newvalue) - setValue(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) - setValue(self, SbVec3s minvec, SbVec3s maxvec) - """ - return _coin.SoSFBox3s_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox3s - getValue(self, SbBox3s box) - """ - return _coin.SoSFBox3s_getValue(*args) - -SoSFBox3s_swigregister = _coin.SoSFBox3s_swigregister -SoSFBox3s_swigregister(SoSFBox3s) - -def SoSFBox3s_createInstance(*args): - """SoSFBox3s_createInstance() -> void""" - return _coin.SoSFBox3s_createInstance(*args) - -def SoSFBox3s_getClassTypeId(*args): - """SoSFBox3s_getClassTypeId() -> SoType""" - return _coin.SoSFBox3s_getClassTypeId(*args) - -def SoSFBox3s_initClass(*args): - """SoSFBox3s_initClass()""" - return _coin.SoSFBox3s_initClass(*args) - -class SbVec3i32(object): - """Proxy of C++ SbVec3i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3i32 - __init__(self, int32_t v) -> SbVec3i32 - __init__(self, int32_t x, int32_t y, int32_t z) -> SbVec3i32 - __init__(self, SbVec3ui32 v) -> SbVec3i32 - __init__(self, SbVec3b v) -> SbVec3i32 - __init__(self, SbVec3s v) -> SbVec3i32 - __init__(self, SbVec3f v) -> SbVec3i32 - __init__(self, SbVec3d v) -> SbVec3i32 - """ - this = _coin.new_SbVec3i32(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int32_t v) -> SbVec3i32 - setValue(self, int32_t x, int32_t y, int32_t z) -> SbVec3i32 - setValue(self, SbVec3ui32 v) -> SbVec3i32 - setValue(self, SbVec3b v) -> SbVec3i32 - setValue(self, SbVec3s v) -> SbVec3i32 - setValue(self, SbVec3f v) -> SbVec3i32 - setValue(self, SbVec3d v) -> SbVec3i32 - """ - return _coin.SbVec3i32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int32_t - getValue(self, int32_t x, int32_t y, int32_t z) - """ - return _coin.SbVec3i32_getValue(*args) - - def dot(*args): - """dot(self, SbVec3i32 v) -> int32_t""" - return _coin.SbVec3i32_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3i32_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec3i32 - __imul__(self, double d) -> SbVec3i32 - """ - return _coin.SbVec3i32___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec3i32 - __idiv__(self, double d) -> SbVec3i32 - """ - return _coin.SbVec3i32___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3i32 v) -> SbVec3i32""" - return _coin.SbVec3i32___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3i32 v) -> SbVec3i32""" - return _coin.SbVec3i32___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3i32""" - return _coin.SbVec3i32___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec3i32 - __del__ = lambda self : None; -SbVec3i32_swigregister = _coin.SbVec3i32_swigregister -SbVec3i32_swigregister(SbVec3i32) - -class SbBox3i32(object): - """Proxy of C++ SbBox3i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3i32 - __init__(self, int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, - int32_t ymax, int32_t zmax) -> SbBox3i32 - __init__(self, SbVec3i32 minpoint, SbVec3i32 maxpoint) -> SbBox3i32 - __init__(self, SbBox3s box) -> SbBox3i32 - __init__(self, SbBox3f box) -> SbBox3i32 - __init__(self, SbBox3d box) -> SbBox3i32 - """ - this = _coin.new_SbBox3i32(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, - int32_t ymax, int32_t zmax) -> SbBox3i32 - setBounds(self, SbVec3i32 minpoint, SbVec3i32 maxpoint) -> SbBox3i32 - setBounds(self, SbBox3s box) -> SbBox3i32 - setBounds(self, SbBox3f box) -> SbBox3i32 - setBounds(self, SbBox3d box) -> SbBox3i32 - """ - return _coin.SbBox3i32_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, - int32_t ymax, int32_t zmax) - getBounds(self, SbVec3i32 minpoint, SbVec3i32 maxpoint) - """ - return _coin.SbBox3i32_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec3i32 - getMin(self) -> SbVec3i32 - """ - return _coin.SbBox3i32_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec3i32 - getMax(self) -> SbVec3i32 - """ - return _coin.SbBox3i32_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3i32 pt) - extendBy(self, SbBox3i32 bb) - extendBy(self, SbVec3f pt) - """ - return _coin.SbBox3i32_extendBy(*args) - - def transform(*args): - """transform(self, SbMatrix m)""" - return _coin.SbBox3i32_transform(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3i32_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox3i32_isEmpty(*args) - - def hasVolume(*args): - """hasVolume(self) -> SbBool""" - return _coin.SbBox3i32_hasVolume(*args) - - def getVolume(*args): - """getVolume(self) -> float""" - return _coin.SbBox3i32_getVolume(*args) - - def intersect(*args): - """ - intersect(self, SbVec3i32 pt) -> SbBool - intersect(self, SbBox3i32 bb) -> SbBool - intersect(self, SbVec3f pt) -> SbBool - """ - return _coin.SbBox3i32_intersect(*args) - - def outside(*args): - """outside(self, SbMatrix MVP, int cullBits) -> SbBool""" - return _coin.SbBox3i32_outside(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f pt) -> SbVec3f""" - return _coin.SbBox3i32_getClosestPoint(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbBox3i32_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, int32_t originX, int32_t originY, int32_t originZ)""" - return _coin.SbBox3i32_getOrigin(*args) - - def getSize(*args): - """getSize(self, int32_t sizeX, int32_t sizeY, int32_t sizeZ)""" - return _coin.SbBox3i32_getSize(*args) - - def getSpan(*args): - """getSpan(self, SbVec3f direction, float dmin, float dmax)""" - return _coin.SbBox3i32_getSpan(*args) - - __swig_destroy__ = _coin.delete_SbBox3i32 - __del__ = lambda self : None; -SbBox3i32_swigregister = _coin.SbBox3i32_swigregister -SbBox3i32_swigregister(SbBox3i32) - -class SoSFBox3i32(SoSField): - """Proxy of C++ SoSFBox3i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox3i32""" - this = _coin.new_SoSFBox3i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox3i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox3i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox3i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox3i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox3i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox3i32_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox3i32 field) -> int""" - return _coin.SoSFBox3i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox3i32 field) -> int""" - return _coin.SoSFBox3i32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox3i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox3i32 newvalue) - setValue(self, int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, - int32_t ymax, int32_t zmax) - setValue(self, SbVec3i32 minvec, SbVec3i32 maxvec) - """ - return _coin.SoSFBox3i32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox3i32 - getValue(self, SbBox3i32 box) - """ - return _coin.SoSFBox3i32_getValue(*args) - -SoSFBox3i32_swigregister = _coin.SoSFBox3i32_swigregister -SoSFBox3i32_swigregister(SoSFBox3i32) - -def SoSFBox3i32_createInstance(*args): - """SoSFBox3i32_createInstance() -> void""" - return _coin.SoSFBox3i32_createInstance(*args) - -def SoSFBox3i32_getClassTypeId(*args): - """SoSFBox3i32_getClassTypeId() -> SoType""" - return _coin.SoSFBox3i32_getClassTypeId(*args) - -def SoSFBox3i32_initClass(*args): - """SoSFBox3i32_initClass()""" - return _coin.SoSFBox3i32_initClass(*args) - -class SoSFBox3f(SoSField): - """Proxy of C++ SoSFBox3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox3f""" - this = _coin.new_SoSFBox3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox3f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox3f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox3f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox3f_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox3f field) -> int""" - return _coin.SoSFBox3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox3f field) -> int""" - return _coin.SoSFBox3f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox3f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox3f newvalue) - setValue(self, float xmin, float ymin, float zmin, float xmax, float ymax, - float zmax) - setValue(self, SbVec3f minvec, SbVec3f maxvec) - """ - return _coin.SoSFBox3f_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox3f - getValue(self, SbBox3f box) - """ - return _coin.SoSFBox3f_getValue(*args) - -SoSFBox3f_swigregister = _coin.SoSFBox3f_swigregister -SoSFBox3f_swigregister(SoSFBox3f) - -def SoSFBox3f_createInstance(*args): - """SoSFBox3f_createInstance() -> void""" - return _coin.SoSFBox3f_createInstance(*args) - -def SoSFBox3f_getClassTypeId(*args): - """SoSFBox3f_getClassTypeId() -> SoType""" - return _coin.SoSFBox3f_getClassTypeId(*args) - -def SoSFBox3f_initClass(*args): - """SoSFBox3f_initClass()""" - return _coin.SoSFBox3f_initClass(*args) - -class SbBox3d(object): - """Proxy of C++ SbBox3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3d - __init__(self, double xmin, double ymin, double zmin, double xmax, - double ymax, double zmax) -> SbBox3d - __init__(self, SbVec3d minpoint, SbVec3d maxpoint) -> SbBox3d - __init__(self, SbBox3f box) -> SbBox3d - __init__(self, SbBox3s box) -> SbBox3d - __init__(self, SbBox3i32 box) -> SbBox3d - """ - this = _coin.new_SbBox3d(*args) - try: self.this.append(this) - except: self.this = this - def setBounds(*args): - """ - setBounds(self, double xmin, double ymin, double zmin, double xmax, - double ymax, double zmax) -> SbBox3d - setBounds(self, SbVec3d minpoint, SbVec3d maxpoint) -> SbBox3d - setBounds(self, SbBox3f box) -> SbBox3d - setBounds(self, SbBox3s box) -> SbBox3d - setBounds(self, SbBox3i32 box) -> SbBox3d - """ - return _coin.SbBox3d_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, double xmin, double ymin, double zmin, double xmax, - double ymax, double zmax) - getBounds(self, SbVec3d minpoint, SbVec3d maxpoint) - """ - return _coin.SbBox3d_getBounds(*args) - - def getMin(*args): - """ - getMin(self) -> SbVec3d - getMin(self) -> SbVec3d - """ - return _coin.SbBox3d_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec3d - getMax(self) -> SbVec3d - """ - return _coin.SbBox3d_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3d pt) - extendBy(self, SbBox3d box) - """ - return _coin.SbBox3d_extendBy(*args) - - def transform(*args): - """transform(self, SbDPMatrix matrix)""" - return _coin.SbBox3d_transform(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3d_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox3d_isEmpty(*args) - - def hasVolume(*args): - """hasVolume(self) -> SbBool""" - return _coin.SbBox3d_hasVolume(*args) - - def getVolume(*args): - """getVolume(self) -> double""" - return _coin.SbBox3d_getVolume(*args) - - def intersect(*args): - """ - intersect(self, SbVec3d point) -> SbBool - intersect(self, SbBox3d box) -> SbBool - """ - return _coin.SbBox3d_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3d point) -> SbVec3d""" - return _coin.SbBox3d_getClosestPoint(*args) - - def outside(*args): - """outside(self, SbDPMatrix mvp, int cullbits) -> SbBool""" - return _coin.SbBox3d_outside(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3d""" - return _coin.SbBox3d_getCenter(*args) - - def getOrigin(*args): - """getOrigin(self, double origoX, double origoY, double origoZ)""" - return _coin.SbBox3d_getOrigin(*args) - - def getSize(*args): - """ - getSize(self, double sizeX, double sizeY, double sizeZ) - getSize(self) -> SbVec3d - """ - return _coin.SbBox3d_getSize(*args) - - def getSpan(*args): - """getSpan(self, SbVec3d dir, double dmin, double dmax)""" - return _coin.SbBox3d_getSpan(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbBox3d_output(*args) - - __swig_destroy__ = _coin.delete_SbBox3d - __del__ = lambda self : None; -SbBox3d_swigregister = _coin.SbBox3d_swigregister -SbBox3d_swigregister(SbBox3d) - -class SoSFBox3d(SoSField): - """Proxy of C++ SoSFBox3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox3d""" - this = _coin.new_SoSFBox3d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox3d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox3d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox3d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox3d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox3d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox3d_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox3d field) -> int""" - return _coin.SoSFBox3d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox3d field) -> int""" - return _coin.SoSFBox3d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox3d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox3d newvalue) - setValue(self, double xmin, double ymin, double zmin, double xmax, - double ymax, double zmax) - setValue(self, SbVec3d minvec, SbVec3d maxvec) - """ - return _coin.SoSFBox3d_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox3d - getValue(self, SbBox3d box) - """ - return _coin.SoSFBox3d_getValue(*args) - -SoSFBox3d_swigregister = _coin.SoSFBox3d_swigregister -SoSFBox3d_swigregister(SoSFBox3d) - -def SoSFBox3d_createInstance(*args): - """SoSFBox3d_createInstance() -> void""" - return _coin.SoSFBox3d_createInstance(*args) - -def SoSFBox3d_getClassTypeId(*args): - """SoSFBox3d_getClassTypeId() -> SoType""" - return _coin.SoSFBox3d_getClassTypeId(*args) - -def SoSFBox3d_initClass(*args): - """SoSFBox3d_initClass()""" - return _coin.SoSFBox3d_initClass(*args) - -class SoSFColorRGBA(SoSField): - """Proxy of C++ SoSFColorRGBA class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFColorRGBA""" - this = _coin.new_SoSFColorRGBA(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFColorRGBA - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFColorRGBA_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFColorRGBA_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFColorRGBA_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFColorRGBA_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFColorRGBA_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbColor4f""" - return _coin.SoSFColorRGBA_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFColorRGBA field) -> int""" - return _coin.SoSFColorRGBA___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFColorRGBA field) -> int""" - return _coin.SoSFColorRGBA___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFColorRGBA_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbColor4f newvalue) - setValue(self, SbVec4f vec) - setValue(self, float red, float green, float blue, float alpha) - setValue(self, float rgba) - """ - return _coin.SoSFColorRGBA_setValue(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v, float a) - setHSVValue(self, float hsva) - """ - return _coin.SoSFColorRGBA_setHSVValue(*args) - -SoSFColorRGBA_swigregister = _coin.SoSFColorRGBA_swigregister -SoSFColorRGBA_swigregister(SoSFColorRGBA) - -def SoSFColorRGBA_createInstance(*args): - """SoSFColorRGBA_createInstance() -> void""" - return _coin.SoSFColorRGBA_createInstance(*args) - -def SoSFColorRGBA_getClassTypeId(*args): - """SoSFColorRGBA_getClassTypeId() -> SoType""" - return _coin.SoSFColorRGBA_getClassTypeId(*args) - -def SoSFColorRGBA_initClass(*args): - """SoSFColorRGBA_initClass()""" - return _coin.SoSFColorRGBA_initClass(*args) - -class SoSFDouble(SoSField): - """Proxy of C++ SoSFDouble class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFDouble""" - this = _coin.new_SoSFDouble(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFDouble - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFDouble_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFDouble_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFDouble_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFDouble_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFDouble_isSame(*args) - - def getValue(*args): - """getValue(self) -> double""" - return _coin.SoSFDouble_getValue(*args) - - def setValue(*args): - """setValue(self, double newvalue)""" - return _coin.SoSFDouble_setValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFDouble field) -> int""" - return _coin.SoSFDouble___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFDouble field) -> int""" - return _coin.SoSFDouble___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFDouble_initClass(*args) - - initClass = staticmethod(initClass) -SoSFDouble_swigregister = _coin.SoSFDouble_swigregister -SoSFDouble_swigregister(SoSFDouble) - -def SoSFDouble_createInstance(*args): - """SoSFDouble_createInstance() -> void""" - return _coin.SoSFDouble_createInstance(*args) - -def SoSFDouble_getClassTypeId(*args): - """SoSFDouble_getClassTypeId() -> SoType""" - return _coin.SoSFDouble_getClassTypeId(*args) - -def SoSFDouble_initClass(*args): - """SoSFDouble_initClass()""" - return _coin.SoSFDouble_initClass(*args) - -class SoSFEngine(SoSField): - """Proxy of C++ SoSFEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFEngine""" - this = _coin.new_SoSFEngine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFEngine - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFEngine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFEngine_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFEngine_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFEngine_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoEngine""" - return _coin.SoSFEngine_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFEngine field) -> int""" - return _coin.SoSFEngine___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFEngine field) -> int""" - return _coin.SoSFEngine___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFEngine_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFEngine_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFEngine_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoEngine newvalue) - setValue(self, SoSFEngine other) - """ - return _coin.SoSFEngine_setValue(*args) - -SoSFEngine_swigregister = _coin.SoSFEngine_swigregister -SoSFEngine_swigregister(SoSFEngine) - -def SoSFEngine_createInstance(*args): - """SoSFEngine_createInstance() -> void""" - return _coin.SoSFEngine_createInstance(*args) - -def SoSFEngine_getClassTypeId(*args): - """SoSFEngine_getClassTypeId() -> SoType""" - return _coin.SoSFEngine_getClassTypeId(*args) - -def SoSFEngine_initClass(*args): - """SoSFEngine_initClass()""" - return _coin.SoSFEngine_initClass(*args) - -class SoSFImage3(SoSField): - """Proxy of C++ SoSFImage3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFImage3""" - this = _coin.new_SoSFImage3(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFImage3 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFImage3_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFImage3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFImage3_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFImage3_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFImage3_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFImage3_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """getValue(self, SbVec3s size) -> unsigned char""" - return _coin.SoSFImage3_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFImage3 field) -> int""" - return _coin.SoSFImage3___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFImage3 field) -> int""" - return _coin.SoSFImage3___ne__(*args) - - def startEditing(*args): - """startEditing(self, SbVec3s size) -> unsigned char""" - return _coin.SoSFImage3_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoSFImage3_finishEditing(*args) - - def setValue(*args): - """ - setValue(self, SbVec3s size, int nc, unsigned char bytes) - setValue(self, SbVec3s size, int nc, PyObject pixels) - setValue(self, SoSFImage3 other) - """ - return _coin.SoSFImage3_setValue(*args) - -SoSFImage3_swigregister = _coin.SoSFImage3_swigregister -SoSFImage3_swigregister(SoSFImage3) - -def SoSFImage3_createInstance(*args): - """SoSFImage3_createInstance() -> void""" - return _coin.SoSFImage3_createInstance(*args) - -def SoSFImage3_getClassTypeId(*args): - """SoSFImage3_getClassTypeId() -> SoType""" - return _coin.SoSFImage3_getClassTypeId(*args) - -def SoSFImage3_initClass(*args): - """SoSFImage3_initClass()""" - return _coin.SoSFImage3_initClass(*args) - -class SoSFMatrix(SoSField): - """Proxy of C++ SoSFMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFMatrix""" - this = _coin.new_SoSFMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFMatrix - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFMatrix_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFMatrix_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFMatrix_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbMatrix""" - return _coin.SoSFMatrix_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFMatrix field) -> int""" - return _coin.SoSFMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFMatrix field) -> int""" - return _coin.SoSFMatrix___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFMatrix_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbMatrix newvalue) - setValue(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) - setValue(self, SoSFMatrix other) - """ - return _coin.SoSFMatrix_setValue(*args) - -SoSFMatrix_swigregister = _coin.SoSFMatrix_swigregister -SoSFMatrix_swigregister(SoSFMatrix) - -def SoSFMatrix_createInstance(*args): - """SoSFMatrix_createInstance() -> void""" - return _coin.SoSFMatrix_createInstance(*args) - -def SoSFMatrix_getClassTypeId(*args): - """SoSFMatrix_getClassTypeId() -> SoType""" - return _coin.SoSFMatrix_getClassTypeId(*args) - -def SoSFMatrix_initClass(*args): - """SoSFMatrix_initClass()""" - return _coin.SoSFMatrix_initClass(*args) - -class SoSFPlane(SoSField): - """Proxy of C++ SoSFPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFPlane""" - this = _coin.new_SoSFPlane(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFPlane - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFPlane_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFPlane_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFPlane_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFPlane_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbPlane""" - return _coin.SoSFPlane_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFPlane field) -> int""" - return _coin.SoSFPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFPlane field) -> int""" - return _coin.SoSFPlane___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFPlane_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbPlane newvalue) - setValue(self, SoSFPlane other) - """ - return _coin.SoSFPlane_setValue(*args) - -SoSFPlane_swigregister = _coin.SoSFPlane_swigregister -SoSFPlane_swigregister(SoSFPlane) - -def SoSFPlane_createInstance(*args): - """SoSFPlane_createInstance() -> void""" - return _coin.SoSFPlane_createInstance(*args) - -def SoSFPlane_getClassTypeId(*args): - """SoSFPlane_getClassTypeId() -> SoType""" - return _coin.SoSFPlane_getClassTypeId(*args) - -def SoSFPlane_initClass(*args): - """SoSFPlane_initClass()""" - return _coin.SoSFPlane_initClass(*args) - -class SoSFUInt32(SoSField): - """Proxy of C++ SoSFUInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFUInt32""" - this = _coin.new_SoSFUInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFUInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFUInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFUInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFUInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFUInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFUInt32_isSame(*args) - - def getValue(*args): - """getValue(self) -> uint32_t""" - return _coin.SoSFUInt32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFUInt32 field) -> int""" - return _coin.SoSFUInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFUInt32 field) -> int""" - return _coin.SoSFUInt32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFUInt32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, uint32_t newvalue) - setValue(self, SoSFUInt32 other) - """ - return _coin.SoSFUInt32_setValue(*args) - -SoSFUInt32_swigregister = _coin.SoSFUInt32_swigregister -SoSFUInt32_swigregister(SoSFUInt32) - -def SoSFUInt32_createInstance(*args): - """SoSFUInt32_createInstance() -> void""" - return _coin.SoSFUInt32_createInstance(*args) - -def SoSFUInt32_getClassTypeId(*args): - """SoSFUInt32_getClassTypeId() -> SoType""" - return _coin.SoSFUInt32_getClassTypeId(*args) - -def SoSFUInt32_initClass(*args): - """SoSFUInt32_initClass()""" - return _coin.SoSFUInt32_initClass(*args) - -class SbVec2b(object): - """Proxy of C++ SbVec2b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2b - __init__(self, int8_t v) -> SbVec2b - __init__(self, int8_t x, int8_t y) -> SbVec2b - __init__(self, SbVec2ub v) -> SbVec2b - __init__(self, SbVec2s v) -> SbVec2b - __init__(self, SbVec2i32 v) -> SbVec2b - __init__(self, SbVec2f v) -> SbVec2b - __init__(self, SbVec2d v) -> SbVec2b - """ - this = _coin.new_SbVec2b(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int8_t v) -> SbVec2b - setValue(self, int8_t x, int8_t y) -> SbVec2b - setValue(self, SbVec2ub v) -> SbVec2b - setValue(self, SbVec2s v) -> SbVec2b - setValue(self, SbVec2i32 v) -> SbVec2b - setValue(self, SbVec2f v) -> SbVec2b - setValue(self, SbVec2d v) -> SbVec2b - """ - return _coin.SbVec2b_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int8_t - getValue(self, int8_t x, int8_t y) - """ - return _coin.SbVec2b_getValue(*args) - - def dot(*args): - """dot(self, SbVec2b v) -> int32_t""" - return _coin.SbVec2b_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2b_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec2b - __imul__(self, double d) -> SbVec2b - """ - return _coin.SbVec2b___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec2b - __idiv__(self, double d) -> SbVec2b - """ - return _coin.SbVec2b___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2b v) -> SbVec2b""" - return _coin.SbVec2b___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2b v) -> SbVec2b""" - return _coin.SbVec2b___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2b""" - return _coin.SbVec2b___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec2b - __del__ = lambda self : None; -SbVec2b_swigregister = _coin.SbVec2b_swigregister -SbVec2b_swigregister(SbVec2b) - -class SoSFVec2b(SoSField): - """Proxy of C++ SoSFVec2b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2b""" - this = _coin.new_SoSFVec2b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2b_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2b""" - return _coin.SoSFVec2b_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2b field) -> int""" - return _coin.SoSFVec2b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2b field) -> int""" - return _coin.SoSFVec2b___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2b_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2b newvalue) - setValue(self, int8_t x, int8_t y) - setValue(self, int8_t xy) - """ - return _coin.SoSFVec2b_setValue(*args) - -SoSFVec2b_swigregister = _coin.SoSFVec2b_swigregister -SoSFVec2b_swigregister(SoSFVec2b) - -def SoSFVec2b_createInstance(*args): - """SoSFVec2b_createInstance() -> void""" - return _coin.SoSFVec2b_createInstance(*args) - -def SoSFVec2b_getClassTypeId(*args): - """SoSFVec2b_getClassTypeId() -> SoType""" - return _coin.SoSFVec2b_getClassTypeId(*args) - -def SoSFVec2b_initClass(*args): - """SoSFVec2b_initClass()""" - return _coin.SoSFVec2b_initClass(*args) - -class SoSFVec2s(SoSField): - """Proxy of C++ SoSFVec2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2s""" - this = _coin.new_SoSFVec2s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2s_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2s""" - return _coin.SoSFVec2s_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2s field) -> int""" - return _coin.SoSFVec2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2s field) -> int""" - return _coin.SoSFVec2s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2s newvalue) - setValue(self, short x, short y) - setValue(self, short xy) - """ - return _coin.SoSFVec2s_setValue(*args) - -SoSFVec2s_swigregister = _coin.SoSFVec2s_swigregister -SoSFVec2s_swigregister(SoSFVec2s) - -def SoSFVec2s_createInstance(*args): - """SoSFVec2s_createInstance() -> void""" - return _coin.SoSFVec2s_createInstance(*args) - -def SoSFVec2s_getClassTypeId(*args): - """SoSFVec2s_getClassTypeId() -> SoType""" - return _coin.SoSFVec2s_getClassTypeId(*args) - -def SoSFVec2s_initClass(*args): - """SoSFVec2s_initClass()""" - return _coin.SoSFVec2s_initClass(*args) - -class SoSFVec2i32(SoSField): - """Proxy of C++ SoSFVec2i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2i32""" - this = _coin.new_SoSFVec2i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2i32_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2i32""" - return _coin.SoSFVec2i32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2i32 field) -> int""" - return _coin.SoSFVec2i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2i32 field) -> int""" - return _coin.SoSFVec2i32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2i32 newvalue) - setValue(self, int32_t x, int32_t y) - setValue(self, int32_t xy) - """ - return _coin.SoSFVec2i32_setValue(*args) - -SoSFVec2i32_swigregister = _coin.SoSFVec2i32_swigregister -SoSFVec2i32_swigregister(SoSFVec2i32) - -def SoSFVec2i32_createInstance(*args): - """SoSFVec2i32_createInstance() -> void""" - return _coin.SoSFVec2i32_createInstance(*args) - -def SoSFVec2i32_getClassTypeId(*args): - """SoSFVec2i32_getClassTypeId() -> SoType""" - return _coin.SoSFVec2i32_getClassTypeId(*args) - -def SoSFVec2i32_initClass(*args): - """SoSFVec2i32_initClass()""" - return _coin.SoSFVec2i32_initClass(*args) - -class SoSFVec2d(SoSField): - """Proxy of C++ SoSFVec2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2d""" - this = _coin.new_SoSFVec2d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2d_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2d""" - return _coin.SoSFVec2d_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2d field) -> int""" - return _coin.SoSFVec2d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2d field) -> int""" - return _coin.SoSFVec2d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2d newvalue) - setValue(self, double x, double y) - setValue(self, double xy) - """ - return _coin.SoSFVec2d_setValue(*args) - -SoSFVec2d_swigregister = _coin.SoSFVec2d_swigregister -SoSFVec2d_swigregister(SoSFVec2d) - -def SoSFVec2d_createInstance(*args): - """SoSFVec2d_createInstance() -> void""" - return _coin.SoSFVec2d_createInstance(*args) - -def SoSFVec2d_getClassTypeId(*args): - """SoSFVec2d_getClassTypeId() -> SoType""" - return _coin.SoSFVec2d_getClassTypeId(*args) - -def SoSFVec2d_initClass(*args): - """SoSFVec2d_initClass()""" - return _coin.SoSFVec2d_initClass(*args) - -class SbVec3b(object): - """Proxy of C++ SbVec3b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3b - __init__(self, int8_t v) -> SbVec3b - __init__(self, int8_t x, int8_t y, int8_t z) -> SbVec3b - __init__(self, SbVec3ub v) -> SbVec3b - __init__(self, SbVec3s v) -> SbVec3b - __init__(self, SbVec3i32 v) -> SbVec3b - __init__(self, SbVec3f v) -> SbVec3b - __init__(self, SbVec3d v) -> SbVec3b - """ - this = _coin.new_SbVec3b(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int8_t v) -> SbVec3b - setValue(self, int8_t x, int8_t y, int8_t z) -> SbVec3b - setValue(self, SbVec3ub v) -> SbVec3b - setValue(self, SbVec3s v) -> SbVec3b - setValue(self, SbVec3i32 v) -> SbVec3b - setValue(self, SbVec3f v) -> SbVec3b - setValue(self, SbVec3d v) -> SbVec3b - """ - return _coin.SbVec3b_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int8_t - getValue(self, int8_t x, int8_t y, int8_t z) - """ - return _coin.SbVec3b_getValue(*args) - - def dot(*args): - """dot(self, SbVec3b v) -> int32_t""" - return _coin.SbVec3b_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3b_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec3b - __imul__(self, double d) -> SbVec3b - """ - return _coin.SbVec3b___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec3b - __idiv__(self, double d) -> SbVec3b - """ - return _coin.SbVec3b___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3b v) -> SbVec3b""" - return _coin.SbVec3b___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3b v) -> SbVec3b""" - return _coin.SbVec3b___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3b""" - return _coin.SbVec3b___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec3b - __del__ = lambda self : None; -SbVec3b_swigregister = _coin.SbVec3b_swigregister -SbVec3b_swigregister(SbVec3b) - -class SoSFVec3b(SoSField): - """Proxy of C++ SoSFVec3b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3b""" - this = _coin.new_SoSFVec3b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3b_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3b""" - return _coin.SoSFVec3b_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3b field) -> int""" - return _coin.SoSFVec3b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3b field) -> int""" - return _coin.SoSFVec3b___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3b_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3b newvalue) - setValue(self, int8_t x, int8_t y, int8_t z) - setValue(self, int8_t xyz) - """ - return _coin.SoSFVec3b_setValue(*args) - -SoSFVec3b_swigregister = _coin.SoSFVec3b_swigregister -SoSFVec3b_swigregister(SoSFVec3b) - -def SoSFVec3b_createInstance(*args): - """SoSFVec3b_createInstance() -> void""" - return _coin.SoSFVec3b_createInstance(*args) - -def SoSFVec3b_getClassTypeId(*args): - """SoSFVec3b_getClassTypeId() -> SoType""" - return _coin.SoSFVec3b_getClassTypeId(*args) - -def SoSFVec3b_initClass(*args): - """SoSFVec3b_initClass()""" - return _coin.SoSFVec3b_initClass(*args) - -class SoSFVec3s(SoSField): - """Proxy of C++ SoSFVec3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3s""" - this = _coin.new_SoSFVec3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3s_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3s""" - return _coin.SoSFVec3s_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3s field) -> int""" - return _coin.SoSFVec3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3s field) -> int""" - return _coin.SoSFVec3s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3s newvalue) - setValue(self, short x, short y, short z) - setValue(self, short xyz) - """ - return _coin.SoSFVec3s_setValue(*args) - -SoSFVec3s_swigregister = _coin.SoSFVec3s_swigregister -SoSFVec3s_swigregister(SoSFVec3s) - -def SoSFVec3s_createInstance(*args): - """SoSFVec3s_createInstance() -> void""" - return _coin.SoSFVec3s_createInstance(*args) - -def SoSFVec3s_getClassTypeId(*args): - """SoSFVec3s_getClassTypeId() -> SoType""" - return _coin.SoSFVec3s_getClassTypeId(*args) - -def SoSFVec3s_initClass(*args): - """SoSFVec3s_initClass()""" - return _coin.SoSFVec3s_initClass(*args) - -class SoSFVec3i32(SoSField): - """Proxy of C++ SoSFVec3i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3i32""" - this = _coin.new_SoSFVec3i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3i32_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3i32""" - return _coin.SoSFVec3i32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3i32 field) -> int""" - return _coin.SoSFVec3i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3i32 field) -> int""" - return _coin.SoSFVec3i32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3i32 newvalue) - setValue(self, int32_t x, int32_t y, int32_t z) - setValue(self, int32_t xyz) - """ - return _coin.SoSFVec3i32_setValue(*args) - -SoSFVec3i32_swigregister = _coin.SoSFVec3i32_swigregister -SoSFVec3i32_swigregister(SoSFVec3i32) - -def SoSFVec3i32_createInstance(*args): - """SoSFVec3i32_createInstance() -> void""" - return _coin.SoSFVec3i32_createInstance(*args) - -def SoSFVec3i32_getClassTypeId(*args): - """SoSFVec3i32_getClassTypeId() -> SoType""" - return _coin.SoSFVec3i32_getClassTypeId(*args) - -def SoSFVec3i32_initClass(*args): - """SoSFVec3i32_initClass()""" - return _coin.SoSFVec3i32_initClass(*args) - -class SoSFVec3d(SoSField): - """Proxy of C++ SoSFVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3d""" - this = _coin.new_SoSFVec3d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3d_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3d""" - return _coin.SoSFVec3d_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3d field) -> int""" - return _coin.SoSFVec3d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3d field) -> int""" - return _coin.SoSFVec3d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3d newvalue) - setValue(self, double x, double y, double z) - setValue(self, double xyz) - """ - return _coin.SoSFVec3d_setValue(*args) - -SoSFVec3d_swigregister = _coin.SoSFVec3d_swigregister -SoSFVec3d_swigregister(SoSFVec3d) - -def SoSFVec3d_createInstance(*args): - """SoSFVec3d_createInstance() -> void""" - return _coin.SoSFVec3d_createInstance(*args) - -def SoSFVec3d_getClassTypeId(*args): - """SoSFVec3d_getClassTypeId() -> SoType""" - return _coin.SoSFVec3d_getClassTypeId(*args) - -def SoSFVec3d_initClass(*args): - """SoSFVec3d_initClass()""" - return _coin.SoSFVec3d_initClass(*args) - -class SbVec4b(object): - """Proxy of C++ SbVec4b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4b - __init__(self, int8_t v) -> SbVec4b - __init__(self, int8_t x, int8_t y, int8_t z, int8_t w) -> SbVec4b - __init__(self, SbVec4ub v) -> SbVec4b - __init__(self, SbVec4s v) -> SbVec4b - __init__(self, SbVec4i32 v) -> SbVec4b - __init__(self, SbVec4f v) -> SbVec4b - __init__(self, SbVec4d v) -> SbVec4b - """ - this = _coin.new_SbVec4b(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int8_t v) -> SbVec4b - setValue(self, int8_t x, int8_t y, int8_t z, int8_t w) -> SbVec4b - setValue(self, SbVec4ub v) -> SbVec4b - setValue(self, SbVec4s v) -> SbVec4b - setValue(self, SbVec4i32 v) -> SbVec4b - setValue(self, SbVec4f v) -> SbVec4b - setValue(self, SbVec4d v) -> SbVec4b - """ - return _coin.SbVec4b_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int8_t - getValue(self, int8_t x, int8_t y, int8_t z, int8_t w) - """ - return _coin.SbVec4b_getValue(*args) - - def dot(*args): - """dot(self, SbVec4b v) -> int32_t""" - return _coin.SbVec4b_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4b_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4b - __imul__(self, double d) -> SbVec4b - """ - return _coin.SbVec4b___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4b - __idiv__(self, double d) -> SbVec4b - """ - return _coin.SbVec4b___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4b v) -> SbVec4b""" - return _coin.SbVec4b___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4b v) -> SbVec4b""" - return _coin.SbVec4b___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4b""" - return _coin.SbVec4b___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4b - __del__ = lambda self : None; -SbVec4b_swigregister = _coin.SbVec4b_swigregister -SbVec4b_swigregister(SbVec4b) - -class SoSFVec4b(SoSField): - """Proxy of C++ SoSFVec4b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4b""" - this = _coin.new_SoSFVec4b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4b_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4b""" - return _coin.SoSFVec4b_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4b field) -> int""" - return _coin.SoSFVec4b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4b field) -> int""" - return _coin.SoSFVec4b___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4b_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4b newvalue) - setValue(self, int8_t x, int8_t y, int8_t z, int8_t w) - setValue(self, int8_t xyzw) - """ - return _coin.SoSFVec4b_setValue(*args) - -SoSFVec4b_swigregister = _coin.SoSFVec4b_swigregister -SoSFVec4b_swigregister(SoSFVec4b) - -def SoSFVec4b_createInstance(*args): - """SoSFVec4b_createInstance() -> void""" - return _coin.SoSFVec4b_createInstance(*args) - -def SoSFVec4b_getClassTypeId(*args): - """SoSFVec4b_getClassTypeId() -> SoType""" - return _coin.SoSFVec4b_getClassTypeId(*args) - -def SoSFVec4b_initClass(*args): - """SoSFVec4b_initClass()""" - return _coin.SoSFVec4b_initClass(*args) - -class SbVec4ub(object): - """Proxy of C++ SbVec4ub class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4ub - __init__(self, uint8_t v) -> SbVec4ub - __init__(self, uint8_t x, uint8_t y, uint8_t z, uint8_t w) -> SbVec4ub - __init__(self, SbVec4b v) -> SbVec4ub - __init__(self, SbVec4us v) -> SbVec4ub - __init__(self, SbVec4ui32 v) -> SbVec4ub - """ - this = _coin.new_SbVec4ub(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, uint8_t v) -> SbVec4ub - setValue(self, uint8_t x, uint8_t y, uint8_t z, uint8_t w) -> SbVec4ub - setValue(self, SbVec4b v) -> SbVec4ub - setValue(self, SbVec4us v) -> SbVec4ub - setValue(self, SbVec4ui32 v) -> SbVec4ub - """ - return _coin.SbVec4ub_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> uint8_t - getValue(self, uint8_t x, uint8_t y, uint8_t z, uint8_t w) - """ - return _coin.SbVec4ub_getValue(*args) - - def dot(*args): - """dot(self, SbVec4ub v) -> int32_t""" - return _coin.SbVec4ub_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4ub_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4ub - __imul__(self, double d) -> SbVec4ub - """ - return _coin.SbVec4ub___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4ub - __idiv__(self, double d) -> SbVec4ub - """ - return _coin.SbVec4ub___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4ub v) -> SbVec4ub""" - return _coin.SbVec4ub___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4ub v) -> SbVec4ub""" - return _coin.SbVec4ub___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4ub""" - return _coin.SbVec4ub___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4ub - __del__ = lambda self : None; -SbVec4ub_swigregister = _coin.SbVec4ub_swigregister -SbVec4ub_swigregister(SbVec4ub) - -class SoSFVec4ub(SoSField): - """Proxy of C++ SoSFVec4ub class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4ub""" - this = _coin.new_SoSFVec4ub(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4ub - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4ub_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4ub_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4ub_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4ub_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4ub_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4ub""" - return _coin.SoSFVec4ub_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4ub field) -> int""" - return _coin.SoSFVec4ub___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4ub field) -> int""" - return _coin.SoSFVec4ub___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4ub_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4ub newvalue) - setValue(self, uint8_t x, uint8_t y, uint8_t z, uint8_t w) - setValue(self, uint8_t xyzw) - """ - return _coin.SoSFVec4ub_setValue(*args) - -SoSFVec4ub_swigregister = _coin.SoSFVec4ub_swigregister -SoSFVec4ub_swigregister(SoSFVec4ub) - -def SoSFVec4ub_createInstance(*args): - """SoSFVec4ub_createInstance() -> void""" - return _coin.SoSFVec4ub_createInstance(*args) - -def SoSFVec4ub_getClassTypeId(*args): - """SoSFVec4ub_getClassTypeId() -> SoType""" - return _coin.SoSFVec4ub_getClassTypeId(*args) - -def SoSFVec4ub_initClass(*args): - """SoSFVec4ub_initClass()""" - return _coin.SoSFVec4ub_initClass(*args) - -class SbVec4s(object): - """Proxy of C++ SbVec4s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4s - __init__(self, short v) -> SbVec4s - __init__(self, short x, short y, short z, short w) -> SbVec4s - __init__(self, SbVec4us v) -> SbVec4s - __init__(self, SbVec4b v) -> SbVec4s - __init__(self, SbVec4i32 v) -> SbVec4s - __init__(self, SbVec4f v) -> SbVec4s - __init__(self, SbVec4d v) -> SbVec4s - """ - this = _coin.new_SbVec4s(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, short v) -> SbVec4s - setValue(self, short x, short y, short z, short w) -> SbVec4s - setValue(self, SbVec4s v) -> SbVec4s - setValue(self, SbVec4us v) -> SbVec4s - setValue(self, SbVec4b v) -> SbVec4s - setValue(self, SbVec4i32 v) -> SbVec4s - setValue(self, SbVec4f v) -> SbVec4s - setValue(self, SbVec4d v) -> SbVec4s - """ - return _coin.SbVec4s_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> short - getValue(self, short x, short y, short z, short w) - """ - return _coin.SbVec4s_getValue(*args) - - def dot(*args): - """dot(self, SbVec4s v) -> int32_t""" - return _coin.SbVec4s_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4s_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4s - __imul__(self, double d) -> SbVec4s - """ - return _coin.SbVec4s___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4s - __idiv__(self, double d) -> SbVec4s - """ - return _coin.SbVec4s___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4s v) -> SbVec4s""" - return _coin.SbVec4s___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4s v) -> SbVec4s""" - return _coin.SbVec4s___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4s""" - return _coin.SbVec4s___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4s - __del__ = lambda self : None; -SbVec4s_swigregister = _coin.SbVec4s_swigregister -SbVec4s_swigregister(SbVec4s) - -class SoSFVec4s(SoSField): - """Proxy of C++ SoSFVec4s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4s""" - this = _coin.new_SoSFVec4s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4s_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4s""" - return _coin.SoSFVec4s_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4s field) -> int""" - return _coin.SoSFVec4s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4s field) -> int""" - return _coin.SoSFVec4s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4s newvalue) - setValue(self, short x, short y, short z, short w) - setValue(self, short xyzw) - """ - return _coin.SoSFVec4s_setValue(*args) - -SoSFVec4s_swigregister = _coin.SoSFVec4s_swigregister -SoSFVec4s_swigregister(SoSFVec4s) - -def SoSFVec4s_createInstance(*args): - """SoSFVec4s_createInstance() -> void""" - return _coin.SoSFVec4s_createInstance(*args) - -def SoSFVec4s_getClassTypeId(*args): - """SoSFVec4s_getClassTypeId() -> SoType""" - return _coin.SoSFVec4s_getClassTypeId(*args) - -def SoSFVec4s_initClass(*args): - """SoSFVec4s_initClass()""" - return _coin.SoSFVec4s_initClass(*args) - -class SbVec4us(object): - """Proxy of C++ SbVec4us class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4us - __init__(self, unsigned short v) -> SbVec4us - __init__(self, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) -> SbVec4us - __init__(self, SbVec4s v) -> SbVec4us - __init__(self, SbVec4ub v) -> SbVec4us - __init__(self, SbVec4ui32 v) -> SbVec4us - """ - this = _coin.new_SbVec4us(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, unsigned short v) -> SbVec4us - setValue(self, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) -> SbVec4us - setValue(self, SbVec4s v) -> SbVec4us - setValue(self, SbVec4ub v) -> SbVec4us - setValue(self, SbVec4ui32 v) -> SbVec4us - """ - return _coin.SbVec4us_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> unsigned short - getValue(self, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) - """ - return _coin.SbVec4us_getValue(*args) - - def dot(*args): - """dot(self, SbVec4us v) -> int32_t""" - return _coin.SbVec4us_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4us_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4us - __imul__(self, double d) -> SbVec4us - """ - return _coin.SbVec4us___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4us - __idiv__(self, double d) -> SbVec4us - """ - return _coin.SbVec4us___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4us v) -> SbVec4us""" - return _coin.SbVec4us___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4us v) -> SbVec4us""" - return _coin.SbVec4us___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4us""" - return _coin.SbVec4us___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4us - __del__ = lambda self : None; -SbVec4us_swigregister = _coin.SbVec4us_swigregister -SbVec4us_swigregister(SbVec4us) - -class SoSFVec4us(SoSField): - """Proxy of C++ SoSFVec4us class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4us""" - this = _coin.new_SoSFVec4us(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4us - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4us_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4us_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4us_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4us_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4us_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4us""" - return _coin.SoSFVec4us_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4us field) -> int""" - return _coin.SoSFVec4us___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4us field) -> int""" - return _coin.SoSFVec4us___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4us_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4us newvalue) - setValue(self, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) - setValue(self, unsigned short xyzw) - """ - return _coin.SoSFVec4us_setValue(*args) - -SoSFVec4us_swigregister = _coin.SoSFVec4us_swigregister -SoSFVec4us_swigregister(SoSFVec4us) - -def SoSFVec4us_createInstance(*args): - """SoSFVec4us_createInstance() -> void""" - return _coin.SoSFVec4us_createInstance(*args) - -def SoSFVec4us_getClassTypeId(*args): - """SoSFVec4us_getClassTypeId() -> SoType""" - return _coin.SoSFVec4us_getClassTypeId(*args) - -def SoSFVec4us_initClass(*args): - """SoSFVec4us_initClass()""" - return _coin.SoSFVec4us_initClass(*args) - -class SbVec4i32(object): - """Proxy of C++ SbVec4i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4i32 - __init__(self, int32_t v) -> SbVec4i32 - __init__(self, int32_t x, int32_t y, int32_t z, int32_t w) -> SbVec4i32 - __init__(self, SbVec4ui32 v) -> SbVec4i32 - __init__(self, SbVec4b v) -> SbVec4i32 - __init__(self, SbVec4s v) -> SbVec4i32 - __init__(self, SbVec4f v) -> SbVec4i32 - __init__(self, SbVec4d v) -> SbVec4i32 - """ - this = _coin.new_SbVec4i32(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, int32_t v) -> SbVec4i32 - setValue(self, int32_t x, int32_t y, int32_t z, int32_t w) -> SbVec4i32 - setValue(self, SbVec4ui32 v) -> SbVec4i32 - setValue(self, SbVec4b v) -> SbVec4i32 - setValue(self, SbVec4s v) -> SbVec4i32 - setValue(self, SbVec4f v) -> SbVec4i32 - setValue(self, SbVec4d v) -> SbVec4i32 - """ - return _coin.SbVec4i32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> int32_t - getValue(self, int32_t x, int32_t y, int32_t z, int32_t w) - """ - return _coin.SbVec4i32_getValue(*args) - - def dot(*args): - """dot(self, SbVec4i32 v) -> int32_t""" - return _coin.SbVec4i32_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4i32_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4i32 - __imul__(self, double d) -> SbVec4i32 - """ - return _coin.SbVec4i32___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4i32 - __idiv__(self, double d) -> SbVec4i32 - """ - return _coin.SbVec4i32___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4i32 v) -> SbVec4i32""" - return _coin.SbVec4i32___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4i32 v) -> SbVec4i32""" - return _coin.SbVec4i32___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4i32""" - return _coin.SbVec4i32___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4i32 - __del__ = lambda self : None; -SbVec4i32_swigregister = _coin.SbVec4i32_swigregister -SbVec4i32_swigregister(SbVec4i32) - -class SoSFVec4i32(SoSField): - """Proxy of C++ SoSFVec4i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4i32""" - this = _coin.new_SoSFVec4i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4i32_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4i32""" - return _coin.SoSFVec4i32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4i32 field) -> int""" - return _coin.SoSFVec4i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4i32 field) -> int""" - return _coin.SoSFVec4i32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4i32 newvalue) - setValue(self, int32_t x, int32_t y, int32_t z, int32_t w) - setValue(self, int32_t xyzw) - """ - return _coin.SoSFVec4i32_setValue(*args) - -SoSFVec4i32_swigregister = _coin.SoSFVec4i32_swigregister -SoSFVec4i32_swigregister(SoSFVec4i32) - -def SoSFVec4i32_createInstance(*args): - """SoSFVec4i32_createInstance() -> void""" - return _coin.SoSFVec4i32_createInstance(*args) - -def SoSFVec4i32_getClassTypeId(*args): - """SoSFVec4i32_getClassTypeId() -> SoType""" - return _coin.SoSFVec4i32_getClassTypeId(*args) - -def SoSFVec4i32_initClass(*args): - """SoSFVec4i32_initClass()""" - return _coin.SoSFVec4i32_initClass(*args) - -class SbVec4ui32(object): - """Proxy of C++ SbVec4ui32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4ui32 - __init__(self, uint32_t v) -> SbVec4ui32 - __init__(self, uint32_t x, uint32_t y, uint32_t z, uint32_t w) -> SbVec4ui32 - __init__(self, SbVec4i32 v) -> SbVec4ui32 - __init__(self, SbVec4ub v) -> SbVec4ui32 - __init__(self, SbVec4us v) -> SbVec4ui32 - """ - this = _coin.new_SbVec4ui32(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, uint32_t v) -> SbVec4ui32 - setValue(self, uint32_t x, uint32_t y, uint32_t z, uint32_t w) -> SbVec4ui32 - setValue(self, SbVec4i32 v) -> SbVec4ui32 - setValue(self, SbVec4ub v) -> SbVec4ui32 - setValue(self, SbVec4us v) -> SbVec4ui32 - """ - return _coin.SbVec4ui32_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> uint32_t - getValue(self, uint32_t x, uint32_t y, uint32_t z, uint32_t w) - """ - return _coin.SbVec4ui32_getValue(*args) - - def dot(*args): - """dot(self, SbVec4ui32 v) -> int32_t""" - return _coin.SbVec4ui32_dot(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4ui32_negate(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec4ui32 - __imul__(self, double d) -> SbVec4ui32 - """ - return _coin.SbVec4ui32___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec4ui32 - __idiv__(self, double d) -> SbVec4ui32 - """ - return _coin.SbVec4ui32___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4ui32 v) -> SbVec4ui32""" - return _coin.SbVec4ui32___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4ui32 v) -> SbVec4ui32""" - return _coin.SbVec4ui32___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4ui32""" - return _coin.SbVec4ui32___neg__(*args) - - __swig_destroy__ = _coin.delete_SbVec4ui32 - __del__ = lambda self : None; -SbVec4ui32_swigregister = _coin.SbVec4ui32_swigregister -SbVec4ui32_swigregister(SbVec4ui32) - -class SoSFVec4ui32(SoSField): - """Proxy of C++ SoSFVec4ui32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4ui32""" - this = _coin.new_SoSFVec4ui32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4ui32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4ui32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4ui32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4ui32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4ui32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4ui32_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4ui32""" - return _coin.SoSFVec4ui32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4ui32 field) -> int""" - return _coin.SoSFVec4ui32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4ui32 field) -> int""" - return _coin.SoSFVec4ui32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4ui32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4ui32 newvalue) - setValue(self, uint32_t x, uint32_t y, uint32_t z, uint32_t w) - setValue(self, uint32_t xyzw) - """ - return _coin.SoSFVec4ui32_setValue(*args) - -SoSFVec4ui32_swigregister = _coin.SoSFVec4ui32_swigregister -SoSFVec4ui32_swigregister(SoSFVec4ui32) - -def SoSFVec4ui32_createInstance(*args): - """SoSFVec4ui32_createInstance() -> void""" - return _coin.SoSFVec4ui32_createInstance(*args) - -def SoSFVec4ui32_getClassTypeId(*args): - """SoSFVec4ui32_getClassTypeId() -> SoType""" - return _coin.SoSFVec4ui32_getClassTypeId(*args) - -def SoSFVec4ui32_initClass(*args): - """SoSFVec4ui32_initClass()""" - return _coin.SoSFVec4ui32_initClass(*args) - -class SoSFVec4f(SoSField): - """Proxy of C++ SoSFVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4f""" - this = _coin.new_SoSFVec4f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4f""" - return _coin.SoSFVec4f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4f field) -> int""" - return _coin.SoSFVec4f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4f field) -> int""" - return _coin.SoSFVec4f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4f newvalue) - setValue(self, float x, float y, float z, float w) - setValue(self, float xyzw) - setValue(self, SoSFVec4f other) - """ - return _coin.SoSFVec4f_setValue(*args) - -SoSFVec4f_swigregister = _coin.SoSFVec4f_swigregister -SoSFVec4f_swigregister(SoSFVec4f) - -def SoSFVec4f_createInstance(*args): - """SoSFVec4f_createInstance() -> void""" - return _coin.SoSFVec4f_createInstance(*args) - -def SoSFVec4f_getClassTypeId(*args): - """SoSFVec4f_getClassTypeId() -> SoType""" - return _coin.SoSFVec4f_getClassTypeId(*args) - -def SoSFVec4f_initClass(*args): - """SoSFVec4f_initClass()""" - return _coin.SoSFVec4f_initClass(*args) - -class SbVec4d(object): - """Proxy of C++ SbVec4d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4d - __init__(self, double v) -> SbVec4d - __init__(self, double x, double y, double z, double w) -> SbVec4d - __init__(self, SbVec4f v) -> SbVec4d - __init__(self, SbVec4b v) -> SbVec4d - __init__(self, SbVec4s v) -> SbVec4d - __init__(self, SbVec4i32 v) -> SbVec4d - """ - this = _coin.new_SbVec4d(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, double v) -> SbVec4d - setValue(self, double x, double y, double z, double w) -> SbVec4d - setValue(self, SbVec4f v) -> SbVec4d - setValue(self, SbVec4b v) -> SbVec4d - setValue(self, SbVec4s v) -> SbVec4d - setValue(self, SbVec4i32 v) -> SbVec4d - """ - return _coin.SbVec4d_setValue(*args) - - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbVec4d_getValue(*args) - - def dot(*args): - """dot(self, SbVec4d v) -> double""" - return _coin.SbVec4d_dot(*args) - - def equals(*args): - """equals(self, SbVec4d v, double tolerance) -> SbBool""" - return _coin.SbVec4d_equals(*args) - - def getReal(*args): - """getReal(self, SbVec3d v)""" - return _coin.SbVec4d_getReal(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec4d_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> double""" - return _coin.SbVec4d_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4d_negate(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec4d_normalize(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4d v) -> SbVec4d""" - return _coin.SbVec4d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4d v) -> SbVec4d""" - return _coin.SbVec4d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4d""" - return _coin.SbVec4d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec4d_output(*args) - - def __add__(*args): - """__add__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, double d) -> SbVec4d - __mul__(self, SbDPMatrix m) -> SbVec4d - """ - return _coin.SbVec4d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec4d u) -> int""" - return _coin.SbVec4d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec4d u) -> int""" - return _coin.SbVec4d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec4d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec4d___setitem__(*args) - - def __iter__(self): - for i in range(4): - yield self[i] - - def __len__(self): - return 4 - - __swig_destroy__ = _coin.delete_SbVec4d - __del__ = lambda self : None; -SbVec4d_swigregister = _coin.SbVec4d_swigregister -SbVec4d_swigregister(SbVec4d) - -class SoSFVec4d(SoSField): - """Proxy of C++ SoSFVec4d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4d""" - this = _coin.new_SoSFVec4d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4d_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4d""" - return _coin.SoSFVec4d_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4d field) -> int""" - return _coin.SoSFVec4d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4d field) -> int""" - return _coin.SoSFVec4d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4d newvalue) - setValue(self, double x, double y, double z, double w) - setValue(self, double xyzw) - """ - return _coin.SoSFVec4d_setValue(*args) - -SoSFVec4d_swigregister = _coin.SoSFVec4d_swigregister -SoSFVec4d_swigregister(SoSFVec4d) - -def SoSFVec4d_createInstance(*args): - """SoSFVec4d_createInstance() -> void""" - return _coin.SoSFVec4d_createInstance(*args) - -def SoSFVec4d_getClassTypeId(*args): - """SoSFVec4d_getClassTypeId() -> SoType""" - return _coin.SoSFVec4d_getClassTypeId(*args) - -def SoSFVec4d_initClass(*args): - """SoSFVec4d_initClass()""" - return _coin.SoSFVec4d_initClass(*args) - -class SoMFColor(SoMField): - """Proxy of C++ SoMFColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFColor""" - this = _coin.new_SoMFColor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFColor - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFColor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFColor_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFColor_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFColor_isSame(*args) - - def find(*args): - """ - find(self, SbColor value, SbBool addifnotfound=0) -> int - find(self, SbColor value) -> int - """ - return _coin.SoMFColor_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFColor field) -> SbBool""" - return _coin.SoMFColor___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFColor field) -> SbBool""" - return _coin.SoMFColor___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbColor""" - return _coin.SoMFColor_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFColor_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, SbColor userdata) - setValuesPointer(self, int num, SbColor userdata) - """ - return _coin.SoMFColor_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFColor_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFColor_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFColor_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFColor_setValues,args) - - - def setHSVValues(*args): - """setHSVValues(self, int start, int num, float hsv)""" - return _coin.SoMFColor_setHSVValues(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) - setHSVValue(self, float hsv) - """ - return _coin.SoMFColor_setHSVValue(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbColor value) - set1Value(self, int idx, SbVec3f vec) - set1Value(self, int idx, float r, float g, float b) - set1Value(self, int idx, float rgb) - """ - return _coin.SoMFColor_set1Value(*args) - - def set1HSVValue(*args): - """ - set1HSVValue(self, int idx, float h, float s, float v) - set1HSVValue(self, int idx, float hsv) - """ - return _coin.SoMFColor_set1HSVValue(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbColor""" - return _coin.SoMFColor___getitem__(*args) - - def __setitem__(*args): - """ - __setitem__(self, int i, SbColor value) - __setitem__(self, int i, float rgb) - """ - return _coin.SoMFColor___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbColor value) - setValue(self, SbVec3f vec) - setValue(self, float r, float g, float b) - setValue(self, float rgb) - setValue(self, SoMFColor other) - """ - return _coin.SoMFColor_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbColor - getValues(self, int len) -> SbColor - """ - return _coin.SoMFColor_getValues(*args) - -SoMFColor_swigregister = _coin.SoMFColor_swigregister -SoMFColor_swigregister(SoMFColor) - -def SoMFColor_createInstance(*args): - """SoMFColor_createInstance() -> void""" - return _coin.SoMFColor_createInstance(*args) - -def SoMFColor_getClassTypeId(*args): - """SoMFColor_getClassTypeId() -> SoType""" - return _coin.SoMFColor_getClassTypeId(*args) - -def SoMFColor_initClass(*args): - """SoMFColor_initClass()""" - return _coin.SoMFColor_initClass(*args) - -class SoMFColorRGBA(SoMField): - """Proxy of C++ SoMFColorRGBA class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFColorRGBA""" - this = _coin.new_SoMFColorRGBA(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFColorRGBA - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFColorRGBA_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFColorRGBA_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFColorRGBA_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFColorRGBA_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFColorRGBA_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbColor4f""" - return _coin.SoMFColorRGBA_getValues(*args) - - def find(*args): - """ - find(self, SbColor4f value, SbBool addifnotfound=0) -> int - find(self, SbColor4f value) -> int - """ - return _coin.SoMFColorRGBA_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFColorRGBA field) -> SbBool""" - return _coin.SoMFColorRGBA___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFColorRGBA field) -> SbBool""" - return _coin.SoMFColorRGBA___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbColor4f""" - return _coin.SoMFColorRGBA_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFColorRGBA_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, SbColor4f userdata) - setValuesPointer(self, int num, SbColor4f userdata) - """ - return _coin.SoMFColorRGBA_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFColorRGBA_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbColor4f newvals) - setValues(self, int start, int num, float rgba) - """ - return _coin.SoMFColorRGBA_setValues(*args) - - def setHSVValues(*args): - """setHSVValues(self, int start, int num, float hsv)""" - return _coin.SoMFColorRGBA_setHSVValues(*args) - - def setValue(*args): - """ - setValue(self, SbColor4f value) - setValue(self, SbVec4f vec) - setValue(self, float r, float g, float b, float a) - setValue(self, float rgba) - """ - return _coin.SoMFColorRGBA_setValue(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v, float a) - setHSVValue(self, float hsva) - """ - return _coin.SoMFColorRGBA_setHSVValue(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbColor4f value) - set1Value(self, int idx, SbVec4f vec) - set1Value(self, int idx, float r, float g, float b, float a) - set1Value(self, int idx, float rgba) - """ - return _coin.SoMFColorRGBA_set1Value(*args) - - def set1HSVValue(*args): - """ - set1HSVValue(self, int idx, float h, float s, float v, float a) - set1HSVValue(self, int idx, float hsva) - """ - return _coin.SoMFColorRGBA_set1HSVValue(*args) - -SoMFColorRGBA_swigregister = _coin.SoMFColorRGBA_swigregister -SoMFColorRGBA_swigregister(SoMFColorRGBA) - -def SoMFColorRGBA_createInstance(*args): - """SoMFColorRGBA_createInstance() -> void""" - return _coin.SoMFColorRGBA_createInstance(*args) - -def SoMFColorRGBA_getClassTypeId(*args): - """SoMFColorRGBA_getClassTypeId() -> SoType""" - return _coin.SoMFColorRGBA_getClassTypeId(*args) - -def SoMFColorRGBA_initClass(*args): - """SoMFColorRGBA_initClass()""" - return _coin.SoMFColorRGBA_initClass(*args) - -class SoMFDouble(SoMField): - """Proxy of C++ SoMFDouble class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFDouble""" - this = _coin.new_SoMFDouble(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFDouble - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFDouble_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFDouble_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFDouble_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFDouble_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFDouble_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> double""" - return _coin.SoMFDouble_getValues(*args) - - def find(*args): - """ - find(self, double value, SbBool addifnotfound=0) -> int - find(self, double value) -> int - """ - return _coin.SoMFDouble_find(*args) - - def setValues(*args): - """setValues(self, int start, int num, double newvals)""" - return _coin.SoMFDouble_setValues(*args) - - def set1Value(*args): - """set1Value(self, int idx, double value)""" - return _coin.SoMFDouble_set1Value(*args) - - def setValue(*args): - """setValue(self, double value)""" - return _coin.SoMFDouble_setValue(*args) - - def __eq__(*args): - """__eq__(self, SoMFDouble field) -> SbBool""" - return _coin.SoMFDouble___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFDouble field) -> SbBool""" - return _coin.SoMFDouble___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> double""" - return _coin.SoMFDouble_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFDouble_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, double userdata) - setValuesPointer(self, int num, double userdata) - """ - return _coin.SoMFDouble_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFDouble_initClass(*args) - - initClass = staticmethod(initClass) -SoMFDouble_swigregister = _coin.SoMFDouble_swigregister -SoMFDouble_swigregister(SoMFDouble) - -def SoMFDouble_createInstance(*args): - """SoMFDouble_createInstance() -> void""" - return _coin.SoMFDouble_createInstance(*args) - -def SoMFDouble_getClassTypeId(*args): - """SoMFDouble_getClassTypeId() -> SoType""" - return _coin.SoMFDouble_getClassTypeId(*args) - -def SoMFDouble_initClass(*args): - """SoMFDouble_initClass()""" - return _coin.SoMFDouble_initClass(*args) - -class SoMFEngine(SoMField): - """Proxy of C++ SoMFEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFEngine""" - this = _coin.new_SoMFEngine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFEngine - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFEngine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFEngine_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFEngine_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFEngine_isSame(*args) - - def find(*args): - """ - find(self, SoEngine value, SbBool addifnotfound=0) -> int - find(self, SoEngine value) -> int - """ - return _coin.SoMFEngine_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFEngine_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFEngine_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFEngine_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoEngine value)""" - return _coin.SoMFEngine_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFEngine field) -> SbBool""" - return _coin.SoMFEngine___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFEngine field) -> SbBool""" - return _coin.SoMFEngine___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoEngine""" - return _coin.SoMFEngine_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFEngine_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFEngine_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFEngine_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFEngine_referencesCopy(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFEngine_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFEngine_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngine""" - return _coin.SoMFEngine___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngine value)""" - return _coin.SoMFEngine___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoEngine value) - setValue(self, SoMFEngine other) - """ - return _coin.SoMFEngine_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoEngine - getValues(self, int len) -> SoEngine - """ - return _coin.SoMFEngine_getValues(*args) - -SoMFEngine_swigregister = _coin.SoMFEngine_swigregister -SoMFEngine_swigregister(SoMFEngine) - -def SoMFEngine_createInstance(*args): - """SoMFEngine_createInstance() -> void""" - return _coin.SoMFEngine_createInstance(*args) - -def SoMFEngine_getClassTypeId(*args): - """SoMFEngine_getClassTypeId() -> SoType""" - return _coin.SoMFEngine_getClassTypeId(*args) - -def SoMFEngine_initClass(*args): - """SoMFEngine_initClass()""" - return _coin.SoMFEngine_initClass(*args) - -class SoMFBitMask(SoMFEnum): - """Proxy of C++ SoMFBitMask class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFBitMask""" - this = _coin.new_SoMFBitMask(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFBitMask - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFBitMask_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFBitMask_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFBitMask_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFBitMask_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFBitMask_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFBitMask_initClass(*args) - - initClass = staticmethod(initClass) -SoMFBitMask_swigregister = _coin.SoMFBitMask_swigregister -SoMFBitMask_swigregister(SoMFBitMask) - -def SoMFBitMask_createInstance(*args): - """SoMFBitMask_createInstance() -> void""" - return _coin.SoMFBitMask_createInstance(*args) - -def SoMFBitMask_getClassTypeId(*args): - """SoMFBitMask_getClassTypeId() -> SoType""" - return _coin.SoMFBitMask_getClassTypeId(*args) - -def SoMFBitMask_initClass(*args): - """SoMFBitMask_initClass()""" - return _coin.SoMFBitMask_initClass(*args) - -class SoMFInt32(SoMField): - """Proxy of C++ SoMFInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFInt32""" - this = _coin.new_SoMFInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFInt32_isSame(*args) - - def find(*args): - """ - find(self, int32_t value, SbBool addifnotfound=0) -> int - find(self, int32_t value) -> int - """ - return _coin.SoMFInt32_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFInt32): - val = args[1].getValues() - return _coin.SoMFInt32_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFInt32_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFInt32): - val = args[2].getValues() - return _coin.SoMFInt32_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFInt32_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFInt32_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, int32_t value)""" - return _coin.SoMFInt32_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFInt32 field) -> SbBool""" - return _coin.SoMFInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFInt32 field) -> SbBool""" - return _coin.SoMFInt32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> int32_t""" - return _coin.SoMFInt32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFInt32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, int32_t userdata) - setValuesPointer(self, int num, int32_t userdata) - """ - return _coin.SoMFInt32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFInt32_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> int32_t""" - return _coin.SoMFInt32___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int32_t value)""" - return _coin.SoMFInt32___setitem__(*args) - - def setValue(*args): - """ - setValue(self, int32_t value) - setValue(self, SoMFInt32 other) - """ - return _coin.SoMFInt32_setValue(*args) - - def getValues(*args): - """ - getValues(self, int32_t len, int32_t i=0) -> int32_t - getValues(self, int32_t len) -> int32_t - """ - return _coin.SoMFInt32_getValues(*args) - -SoMFInt32_swigregister = _coin.SoMFInt32_swigregister -SoMFInt32_swigregister(SoMFInt32) - -def SoMFInt32_createInstance(*args): - """SoMFInt32_createInstance() -> void""" - return _coin.SoMFInt32_createInstance(*args) - -def SoMFInt32_getClassTypeId(*args): - """SoMFInt32_getClassTypeId() -> SoType""" - return _coin.SoMFInt32_getClassTypeId(*args) - -def SoMFInt32_initClass(*args): - """SoMFInt32_initClass()""" - return _coin.SoMFInt32_initClass(*args) - -class SoMFNode(SoMField): - """Proxy of C++ SoMFNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFNode""" - this = _coin.new_SoMFNode(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFNode - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFNode_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFNode_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFNode_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFNode_isSame(*args) - - def find(*args): - """ - find(self, SoNode value, SbBool addifnotfound=0) -> int - find(self, SoNode value) -> int - """ - return _coin.SoMFNode_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFNode_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFNode_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFNode_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoNode value)""" - return _coin.SoMFNode_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFNode field) -> SbBool""" - return _coin.SoMFNode___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFNode field) -> SbBool""" - return _coin.SoMFNode___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoNode""" - return _coin.SoMFNode_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFNode_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFNode_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFNode_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFNode_referencesCopy(*args) - - def addNode(*args): - """addNode(self, SoNode node)""" - return _coin.SoMFNode_addNode(*args) - - def insertNode(*args): - """insertNode(self, SoNode node, int idx)""" - return _coin.SoMFNode_insertNode(*args) - - def getNode(*args): - """getNode(self, int idx) -> SoNode""" - return _coin.SoMFNode_getNode(*args) - - def findNode(*args): - """findNode(self, SoNode node) -> int""" - return _coin.SoMFNode_findNode(*args) - - def getNumNodes(*args): - """getNumNodes(self) -> int""" - return _coin.SoMFNode_getNumNodes(*args) - - def removeNode(*args): - """ - removeNode(self, int index) - removeNode(self, SoNode node) - """ - return _coin.SoMFNode_removeNode(*args) - - def removeAllNodes(*args): - """removeAllNodes(self)""" - return _coin.SoMFNode_removeAllNodes(*args) - - def replaceNode(*args): - """ - replaceNode(self, int idx, SoNode newnode) - replaceNode(self, SoNode oldnode, SoNode newnode) - """ - return _coin.SoMFNode_replaceNode(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFNode_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFNode_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoNode""" - return _coin.SoMFNode___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoNode value)""" - return _coin.SoMFNode___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoNode value) - setValue(self, SoMFNode other) - """ - return _coin.SoMFNode_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoNode - getValues(self, int len) -> SoNode - """ - return _coin.SoMFNode_getValues(*args) - -SoMFNode_swigregister = _coin.SoMFNode_swigregister -SoMFNode_swigregister(SoMFNode) - -def SoMFNode_createInstance(*args): - """SoMFNode_createInstance() -> void""" - return _coin.SoMFNode_createInstance(*args) - -def SoMFNode_getClassTypeId(*args): - """SoMFNode_getClassTypeId() -> SoType""" - return _coin.SoMFNode_getClassTypeId(*args) - -def SoMFNode_initClass(*args): - """SoMFNode_initClass()""" - return _coin.SoMFNode_initClass(*args) - -class SoMFPath(SoMField): - """Proxy of C++ SoMFPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFPath""" - this = _coin.new_SoMFPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFPath - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFPath_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFPath_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFPath_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFPath_isSame(*args) - - def find(*args): - """ - find(self, SoPath value, SbBool addifnotfound=0) -> int - find(self, SoPath value) -> int - """ - return _coin.SoMFPath_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFPath_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFPath_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFPath_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoPath value)""" - return _coin.SoMFPath_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFPath field) -> SbBool""" - return _coin.SoMFPath___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFPath field) -> SbBool""" - return _coin.SoMFPath___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoPath""" - return _coin.SoMFPath_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFPath_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFPath_initClass(*args) - - initClass = staticmethod(initClass) - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoMFPath_notify(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFPath_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFPath_referencesCopy(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFPath_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFPath_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPath""" - return _coin.SoMFPath___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPath value)""" - return _coin.SoMFPath___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoPath value) - setValue(self, SoMFPath other) - """ - return _coin.SoMFPath_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoPath - getValues(self, int len) -> SoPath - """ - return _coin.SoMFPath_getValues(*args) - -SoMFPath_swigregister = _coin.SoMFPath_swigregister -SoMFPath_swigregister(SoMFPath) - -def SoMFPath_createInstance(*args): - """SoMFPath_createInstance() -> void""" - return _coin.SoMFPath_createInstance(*args) - -def SoMFPath_getClassTypeId(*args): - """SoMFPath_getClassTypeId() -> SoType""" - return _coin.SoMFPath_getClassTypeId(*args) - -def SoMFPath_initClass(*args): - """SoMFPath_initClass()""" - return _coin.SoMFPath_initClass(*args) - -class SoMFPlane(SoMField): - """Proxy of C++ SoMFPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFPlane""" - this = _coin.new_SoMFPlane(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFPlane - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFPlane_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFPlane_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFPlane_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFPlane_isSame(*args) - - def find(*args): - """ - find(self, SbPlane value, SbBool addifnotfound=0) -> int - find(self, SbPlane value) -> int - """ - return _coin.SoMFPlane_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFPlane_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFPlane_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFPlane_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbPlane value)""" - return _coin.SoMFPlane_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFPlane field) -> SbBool""" - return _coin.SoMFPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFPlane field) -> SbBool""" - return _coin.SoMFPlane___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbPlane""" - return _coin.SoMFPlane_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFPlane_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFPlane_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbPlane""" - return _coin.SoMFPlane___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbPlane value)""" - return _coin.SoMFPlane___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbPlane - getValues(self, int len) -> SbPlane - """ - return _coin.SoMFPlane_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbPlane value) - setValue(self, SoMFPlane other) - """ - return _coin.SoMFPlane_setValue(*args) - -SoMFPlane_swigregister = _coin.SoMFPlane_swigregister -SoMFPlane_swigregister(SoMFPlane) - -def SoMFPlane_createInstance(*args): - """SoMFPlane_createInstance() -> void""" - return _coin.SoMFPlane_createInstance(*args) - -def SoMFPlane_getClassTypeId(*args): - """SoMFPlane_getClassTypeId() -> SoType""" - return _coin.SoMFPlane_getClassTypeId(*args) - -def SoMFPlane_initClass(*args): - """SoMFPlane_initClass()""" - return _coin.SoMFPlane_initClass(*args) - -class SoMFShort(SoMField): - """Proxy of C++ SoMFShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFShort""" - this = _coin.new_SoMFShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFShort_isSame(*args) - - def find(*args): - """ - find(self, short value, SbBool addifnotfound=0) -> int - find(self, short value) -> int - """ - return _coin.SoMFShort_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFShort_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFShort_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFShort_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, short value)""" - return _coin.SoMFShort_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFShort field) -> SbBool""" - return _coin.SoMFShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFShort field) -> SbBool""" - return _coin.SoMFShort___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> short""" - return _coin.SoMFShort_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFShort_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, short userdata) - setValuesPointer(self, int num, short userdata) - """ - return _coin.SoMFShort_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFShort_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SoMFShort___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SoMFShort___setitem__(*args) - - def setValue(*args): - """ - setValue(self, short value) - setValue(self, SoMFShort other) - """ - return _coin.SoMFShort_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> short - getValues(self, int len) -> short - """ - return _coin.SoMFShort_getValues(*args) - -SoMFShort_swigregister = _coin.SoMFShort_swigregister -SoMFShort_swigregister(SoMFShort) - -def SoMFShort_createInstance(*args): - """SoMFShort_createInstance() -> void""" - return _coin.SoMFShort_createInstance(*args) - -def SoMFShort_getClassTypeId(*args): - """SoMFShort_getClassTypeId() -> SoType""" - return _coin.SoMFShort_getClassTypeId(*args) - -def SoMFShort_initClass(*args): - """SoMFShort_initClass()""" - return _coin.SoMFShort_initClass(*args) - -class SoMFTime(SoMField): - """Proxy of C++ SoMFTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFTime""" - this = _coin.new_SoMFTime(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFTime - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFTime_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFTime_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFTime_isSame(*args) - - def find(*args): - """ - find(self, SbTime value, SbBool addifnotfound=0) -> int - find(self, SbTime value) -> int - """ - return _coin.SoMFTime_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFTime_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFTime_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFTime_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbTime value)""" - return _coin.SoMFTime_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFTime field) -> SbBool""" - return _coin.SoMFTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFTime field) -> SbBool""" - return _coin.SoMFTime___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbTime""" - return _coin.SoMFTime_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFTime_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFTime_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbTime""" - return _coin.SoMFTime___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbTime value)""" - return _coin.SoMFTime___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbTime - getValues(self, int len) -> SbTime - """ - return _coin.SoMFTime_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbTime value) - setValue(self, SoMFTime other) - """ - return _coin.SoMFTime_setValue(*args) - -SoMFTime_swigregister = _coin.SoMFTime_swigregister -SoMFTime_swigregister(SoMFTime) - -def SoMFTime_createInstance(*args): - """SoMFTime_createInstance() -> void""" - return _coin.SoMFTime_createInstance(*args) - -def SoMFTime_getClassTypeId(*args): - """SoMFTime_getClassTypeId() -> SoType""" - return _coin.SoMFTime_getClassTypeId(*args) - -def SoMFTime_initClass(*args): - """SoMFTime_initClass()""" - return _coin.SoMFTime_initClass(*args) - -class SoMFUInt32(SoMField): - """Proxy of C++ SoMFUInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFUInt32""" - this = _coin.new_SoMFUInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFUInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFUInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFUInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFUInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFUInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFUInt32_isSame(*args) - - def find(*args): - """ - find(self, uint32_t value, SbBool addifnotfound=0) -> int - find(self, uint32_t value) -> int - """ - return _coin.SoMFUInt32_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFUInt32): - val = args[1].getValues() - return _coin.SoMFUInt32_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFUInt32_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFUInt32): - val = args[2].getValues() - return _coin.SoMFUInt32_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFUInt32_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFUInt32_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, uint32_t value)""" - return _coin.SoMFUInt32_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFUInt32 field) -> SbBool""" - return _coin.SoMFUInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFUInt32 field) -> SbBool""" - return _coin.SoMFUInt32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> uint32_t""" - return _coin.SoMFUInt32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFUInt32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, uint32_t userdata) - setValuesPointer(self, int num, uint32_t userdata) - """ - return _coin.SoMFUInt32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFUInt32_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> uint32_t""" - return _coin.SoMFUInt32___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, uint32_t value)""" - return _coin.SoMFUInt32___setitem__(*args) - - def setValue(*args): - """ - setValue(self, uint32_t value) - setValue(self, SoMFUInt32 other) - """ - return _coin.SoMFUInt32_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> uint32_t - getValues(self, int len) -> uint32_t - """ - return _coin.SoMFUInt32_getValues(*args) - -SoMFUInt32_swigregister = _coin.SoMFUInt32_swigregister -SoMFUInt32_swigregister(SoMFUInt32) - -def SoMFUInt32_createInstance(*args): - """SoMFUInt32_createInstance() -> void""" - return _coin.SoMFUInt32_createInstance(*args) - -def SoMFUInt32_getClassTypeId(*args): - """SoMFUInt32_getClassTypeId() -> SoType""" - return _coin.SoMFUInt32_getClassTypeId(*args) - -def SoMFUInt32_initClass(*args): - """SoMFUInt32_initClass()""" - return _coin.SoMFUInt32_initClass(*args) - -class SoMFUShort(SoMField): - """Proxy of C++ SoMFUShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFUShort""" - this = _coin.new_SoMFUShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFUShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFUShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFUShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFUShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFUShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFUShort_isSame(*args) - - def find(*args): - """ - find(self, unsigned short value, SbBool addifnotfound=0) -> int - find(self, unsigned short value) -> int - """ - return _coin.SoMFUShort_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFUShort_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFUShort_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFUShort_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, unsigned short value)""" - return _coin.SoMFUShort_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFUShort field) -> SbBool""" - return _coin.SoMFUShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFUShort field) -> SbBool""" - return _coin.SoMFUShort___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> unsigned short""" - return _coin.SoMFUShort_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFUShort_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, unsigned short userdata) - setValuesPointer(self, int num, unsigned short userdata) - """ - return _coin.SoMFUShort_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFUShort_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SoMFUShort___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SoMFUShort___setitem__(*args) - - def setValue(*args): - """ - setValue(self, unsigned short value) - setValue(self, SoMFUShort other) - """ - return _coin.SoMFUShort_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> unsigned short - getValues(self, int len) -> unsigned short - """ - return _coin.SoMFUShort_getValues(*args) - -SoMFUShort_swigregister = _coin.SoMFUShort_swigregister -SoMFUShort_swigregister(SoMFUShort) - -def SoMFUShort_createInstance(*args): - """SoMFUShort_createInstance() -> void""" - return _coin.SoMFUShort_createInstance(*args) - -def SoMFUShort_getClassTypeId(*args): - """SoMFUShort_getClassTypeId() -> SoType""" - return _coin.SoMFUShort_getClassTypeId(*args) - -def SoMFUShort_initClass(*args): - """SoMFUShort_initClass()""" - return _coin.SoMFUShort_initClass(*args) - -class SoMFVec2b(SoMField): - """Proxy of C++ SoMFVec2b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2b""" - this = _coin.new_SoMFVec2b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2b_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec2b""" - return _coin.SoMFVec2b_getValues(*args) - - def find(*args): - """ - find(self, SbVec2b value, SbBool addifnotfound=0) -> int - find(self, SbVec2b value) -> int - """ - return _coin.SoMFVec2b_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2b field) -> SbBool""" - return _coin.SoMFVec2b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2b field) -> SbBool""" - return _coin.SoMFVec2b___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2b""" - return _coin.SoMFVec2b_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2b_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2b userdata) - setValuesPointer(self, int num, SbVec2b userdata) - setValuesPointer(self, int num, int8_t userdata) - setValuesPointer(self, int num, int8_t userdata) - """ - return _coin.SoMFVec2b_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2b_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec2b newvals) - setValues(self, int start, int num, int8_t xy) - """ - return _coin.SoMFVec2b_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2b value) - set1Value(self, int idx, int8_t x, int8_t y) - set1Value(self, int idx, int8_t xy) - """ - return _coin.SoMFVec2b_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec2b value) - setValue(self, int8_t x, int8_t y) - setValue(self, int8_t xy) - """ - return _coin.SoMFVec2b_setValue(*args) - -SoMFVec2b_swigregister = _coin.SoMFVec2b_swigregister -SoMFVec2b_swigregister(SoMFVec2b) - -def SoMFVec2b_createInstance(*args): - """SoMFVec2b_createInstance() -> void""" - return _coin.SoMFVec2b_createInstance(*args) - -def SoMFVec2b_getClassTypeId(*args): - """SoMFVec2b_getClassTypeId() -> SoType""" - return _coin.SoMFVec2b_getClassTypeId(*args) - -def SoMFVec2b_initClass(*args): - """SoMFVec2b_initClass()""" - return _coin.SoMFVec2b_initClass(*args) - -class SoMFVec2s(SoMField): - """Proxy of C++ SoMFVec2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2s""" - this = _coin.new_SoMFVec2s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2s_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec2s""" - return _coin.SoMFVec2s_getValues(*args) - - def find(*args): - """ - find(self, SbVec2s value, SbBool addifnotfound=0) -> int - find(self, SbVec2s value) -> int - """ - return _coin.SoMFVec2s_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2s field) -> SbBool""" - return _coin.SoMFVec2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2s field) -> SbBool""" - return _coin.SoMFVec2s___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2s""" - return _coin.SoMFVec2s_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2s_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2s userdata) - setValuesPointer(self, int num, SbVec2s userdata) - setValuesPointer(self, int num, short userdata) - setValuesPointer(self, int num, short userdata) - """ - return _coin.SoMFVec2s_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2s_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec2s newvals) - setValues(self, int start, int num, short xy) - """ - return _coin.SoMFVec2s_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2s value) - set1Value(self, int idx, short x, short y) - set1Value(self, int idx, short xy) - """ - return _coin.SoMFVec2s_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec2s value) - setValue(self, short x, short y) - setValue(self, short xy) - """ - return _coin.SoMFVec2s_setValue(*args) - -SoMFVec2s_swigregister = _coin.SoMFVec2s_swigregister -SoMFVec2s_swigregister(SoMFVec2s) - -def SoMFVec2s_createInstance(*args): - """SoMFVec2s_createInstance() -> void""" - return _coin.SoMFVec2s_createInstance(*args) - -def SoMFVec2s_getClassTypeId(*args): - """SoMFVec2s_getClassTypeId() -> SoType""" - return _coin.SoMFVec2s_getClassTypeId(*args) - -def SoMFVec2s_initClass(*args): - """SoMFVec2s_initClass()""" - return _coin.SoMFVec2s_initClass(*args) - -class SoMFVec2i32(SoMField): - """Proxy of C++ SoMFVec2i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2i32""" - this = _coin.new_SoMFVec2i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2i32_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec2i32""" - return _coin.SoMFVec2i32_getValues(*args) - - def find(*args): - """ - find(self, SbVec2i32 value, SbBool addifnotfound=0) -> int - find(self, SbVec2i32 value) -> int - """ - return _coin.SoMFVec2i32_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2i32 field) -> SbBool""" - return _coin.SoMFVec2i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2i32 field) -> SbBool""" - return _coin.SoMFVec2i32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2i32""" - return _coin.SoMFVec2i32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2i32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2i32 userdata) - setValuesPointer(self, int num, SbVec2i32 userdata) - setValuesPointer(self, int num, int32_t userdata) - setValuesPointer(self, int num, int32_t userdata) - """ - return _coin.SoMFVec2i32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec2i32 newvals) - setValues(self, int start, int num, int32_t xy) - """ - return _coin.SoMFVec2i32_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2i32 value) - set1Value(self, int idx, int32_t x, int32_t y) - set1Value(self, int idx, int32_t xy) - """ - return _coin.SoMFVec2i32_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec2i32 value) - setValue(self, int32_t x, int32_t y) - setValue(self, int32_t xy) - """ - return _coin.SoMFVec2i32_setValue(*args) - -SoMFVec2i32_swigregister = _coin.SoMFVec2i32_swigregister -SoMFVec2i32_swigregister(SoMFVec2i32) - -def SoMFVec2i32_createInstance(*args): - """SoMFVec2i32_createInstance() -> void""" - return _coin.SoMFVec2i32_createInstance(*args) - -def SoMFVec2i32_getClassTypeId(*args): - """SoMFVec2i32_getClassTypeId() -> SoType""" - return _coin.SoMFVec2i32_getClassTypeId(*args) - -def SoMFVec2i32_initClass(*args): - """SoMFVec2i32_initClass()""" - return _coin.SoMFVec2i32_initClass(*args) - -class SoMFVec2d(SoMField): - """Proxy of C++ SoMFVec2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2d""" - this = _coin.new_SoMFVec2d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2d_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec2d""" - return _coin.SoMFVec2d_getValues(*args) - - def find(*args): - """ - find(self, SbVec2d value, SbBool addifnotfound=0) -> int - find(self, SbVec2d value) -> int - """ - return _coin.SoMFVec2d_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2d field) -> SbBool""" - return _coin.SoMFVec2d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2d field) -> SbBool""" - return _coin.SoMFVec2d___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2d""" - return _coin.SoMFVec2d_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2d_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2d userdata) - setValuesPointer(self, int num, SbVec2d userdata) - setValuesPointer(self, int num, double userdata) - setValuesPointer(self, int num, double userdata) - """ - return _coin.SoMFVec2d_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2d_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec2d newvals) - setValues(self, int start, int num, double xy) - """ - return _coin.SoMFVec2d_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2d value) - set1Value(self, int idx, double x, double y) - set1Value(self, int idx, double xy) - """ - return _coin.SoMFVec2d_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec2d value) - setValue(self, double x, double y) - setValue(self, double xy) - """ - return _coin.SoMFVec2d_setValue(*args) - -SoMFVec2d_swigregister = _coin.SoMFVec2d_swigregister -SoMFVec2d_swigregister(SoMFVec2d) - -def SoMFVec2d_createInstance(*args): - """SoMFVec2d_createInstance() -> void""" - return _coin.SoMFVec2d_createInstance(*args) - -def SoMFVec2d_getClassTypeId(*args): - """SoMFVec2d_getClassTypeId() -> SoType""" - return _coin.SoMFVec2d_getClassTypeId(*args) - -def SoMFVec2d_initClass(*args): - """SoMFVec2d_initClass()""" - return _coin.SoMFVec2d_initClass(*args) - -class SoMFVec3b(SoMField): - """Proxy of C++ SoMFVec3b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3b""" - this = _coin.new_SoMFVec3b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3b_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec3b""" - return _coin.SoMFVec3b_getValues(*args) - - def find(*args): - """ - find(self, SbVec3b value, SbBool addifnotfound=0) -> int - find(self, SbVec3b value) -> int - """ - return _coin.SoMFVec3b_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3b field) -> SbBool""" - return _coin.SoMFVec3b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3b field) -> SbBool""" - return _coin.SoMFVec3b___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3b""" - return _coin.SoMFVec3b_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3b_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec3b userdata) - setValuesPointer(self, int num, SbVec3b userdata) - setValuesPointer(self, int num, int8_t userdata) - setValuesPointer(self, int num, int8_t userdata) - """ - return _coin.SoMFVec3b_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3b_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec3b newvals) - setValues(self, int start, int num, int8_t xyz) - """ - return _coin.SoMFVec3b_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3b value) - set1Value(self, int idx, int8_t x, int8_t y, int8_t z) - set1Value(self, int idx, int8_t xyz) - """ - return _coin.SoMFVec3b_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec3b value) - setValue(self, int8_t x, int8_t y, int8_t z) - setValue(self, int8_t xyz) - """ - return _coin.SoMFVec3b_setValue(*args) - -SoMFVec3b_swigregister = _coin.SoMFVec3b_swigregister -SoMFVec3b_swigregister(SoMFVec3b) - -def SoMFVec3b_createInstance(*args): - """SoMFVec3b_createInstance() -> void""" - return _coin.SoMFVec3b_createInstance(*args) - -def SoMFVec3b_getClassTypeId(*args): - """SoMFVec3b_getClassTypeId() -> SoType""" - return _coin.SoMFVec3b_getClassTypeId(*args) - -def SoMFVec3b_initClass(*args): - """SoMFVec3b_initClass()""" - return _coin.SoMFVec3b_initClass(*args) - -class SoMFVec3s(SoMField): - """Proxy of C++ SoMFVec3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3s""" - this = _coin.new_SoMFVec3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3s_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec3s""" - return _coin.SoMFVec3s_getValues(*args) - - def find(*args): - """ - find(self, SbVec3s value, SbBool addifnotfound=0) -> int - find(self, SbVec3s value) -> int - """ - return _coin.SoMFVec3s_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3s field) -> SbBool""" - return _coin.SoMFVec3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3s field) -> SbBool""" - return _coin.SoMFVec3s___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3s""" - return _coin.SoMFVec3s_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3s_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec3s userdata) - setValuesPointer(self, int num, SbVec3s userdata) - setValuesPointer(self, int num, short userdata) - setValuesPointer(self, int num, short userdata) - """ - return _coin.SoMFVec3s_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3s_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec3s newvals) - setValues(self, int start, int num, short xyz) - """ - return _coin.SoMFVec3s_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3s value) - set1Value(self, int idx, short x, short y, short z) - set1Value(self, int idx, short xyz) - """ - return _coin.SoMFVec3s_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec3s value) - setValue(self, short x, short y, short z) - setValue(self, short xyz) - """ - return _coin.SoMFVec3s_setValue(*args) - -SoMFVec3s_swigregister = _coin.SoMFVec3s_swigregister -SoMFVec3s_swigregister(SoMFVec3s) - -def SoMFVec3s_createInstance(*args): - """SoMFVec3s_createInstance() -> void""" - return _coin.SoMFVec3s_createInstance(*args) - -def SoMFVec3s_getClassTypeId(*args): - """SoMFVec3s_getClassTypeId() -> SoType""" - return _coin.SoMFVec3s_getClassTypeId(*args) - -def SoMFVec3s_initClass(*args): - """SoMFVec3s_initClass()""" - return _coin.SoMFVec3s_initClass(*args) - -class SoMFVec3i32(SoMField): - """Proxy of C++ SoMFVec3i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3i32""" - this = _coin.new_SoMFVec3i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3i32_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec3i32""" - return _coin.SoMFVec3i32_getValues(*args) - - def find(*args): - """ - find(self, SbVec3i32 value, SbBool addifnotfound=0) -> int - find(self, SbVec3i32 value) -> int - """ - return _coin.SoMFVec3i32_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3i32 field) -> SbBool""" - return _coin.SoMFVec3i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3i32 field) -> SbBool""" - return _coin.SoMFVec3i32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3i32""" - return _coin.SoMFVec3i32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3i32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec3i32 userdata) - setValuesPointer(self, int num, SbVec3i32 userdata) - setValuesPointer(self, int num, int32_t userdata) - setValuesPointer(self, int num, int32_t userdata) - """ - return _coin.SoMFVec3i32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec3i32 newvals) - setValues(self, int start, int num, int32_t xyz) - """ - return _coin.SoMFVec3i32_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3i32 value) - set1Value(self, int idx, int32_t x, int32_t y, int32_t z) - set1Value(self, int idx, int32_t xyz) - """ - return _coin.SoMFVec3i32_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec3i32 value) - setValue(self, int32_t x, int32_t y, int32_t z) - setValue(self, int32_t xyz) - """ - return _coin.SoMFVec3i32_setValue(*args) - -SoMFVec3i32_swigregister = _coin.SoMFVec3i32_swigregister -SoMFVec3i32_swigregister(SoMFVec3i32) - -def SoMFVec3i32_createInstance(*args): - """SoMFVec3i32_createInstance() -> void""" - return _coin.SoMFVec3i32_createInstance(*args) - -def SoMFVec3i32_getClassTypeId(*args): - """SoMFVec3i32_getClassTypeId() -> SoType""" - return _coin.SoMFVec3i32_getClassTypeId(*args) - -def SoMFVec3i32_initClass(*args): - """SoMFVec3i32_initClass()""" - return _coin.SoMFVec3i32_initClass(*args) - -class SoMFVec3d(SoMField): - """Proxy of C++ SoMFVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3d""" - this = _coin.new_SoMFVec3d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3d_isSame(*args) - - def find(*args): - """ - find(self, SbVec3d value, SbBool addifnotfound=0) -> int - find(self, SbVec3d value) -> int - """ - return _coin.SoMFVec3d_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3d field) -> SbBool""" - return _coin.SoMFVec3d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3d field) -> SbBool""" - return _coin.SoMFVec3d___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3d""" - return _coin.SoMFVec3d_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3d_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec3d userdata) - setValuesPointer(self, int num, SbVec3d userdata) - setValuesPointer(self, int num, double userdata) - setValuesPointer(self, int num, double userdata) - """ - return _coin.SoMFVec3d_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3d_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec3d_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec3d_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec3d_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3d value) - set1Value(self, int idx, double x, double y, double z) - set1Value(self, int idx, double xyz) - """ - return _coin.SoMFVec3d_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3d""" - return _coin.SoMFVec3d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3d value)""" - return _coin.SoMFVec3d___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec3d value) - setValue(self, double x, double y, double z) - setValue(self, double xyz) - setValue(self, SoMFVec3d other) - """ - return _coin.SoMFVec3d_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec3d - getValues(self, int len) -> SbVec3d - """ - return _coin.SoMFVec3d_getValues(*args) - -SoMFVec3d_swigregister = _coin.SoMFVec3d_swigregister -SoMFVec3d_swigregister(SoMFVec3d) - -def SoMFVec3d_createInstance(*args): - """SoMFVec3d_createInstance() -> void""" - return _coin.SoMFVec3d_createInstance(*args) - -def SoMFVec3d_getClassTypeId(*args): - """SoMFVec3d_getClassTypeId() -> SoType""" - return _coin.SoMFVec3d_getClassTypeId(*args) - -def SoMFVec3d_initClass(*args): - """SoMFVec3d_initClass()""" - return _coin.SoMFVec3d_initClass(*args) - -class SoMFVec4b(SoMField): - """Proxy of C++ SoMFVec4b class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4b""" - this = _coin.new_SoMFVec4b(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4b - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4b_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4b_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4b_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4b_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4b_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4b""" - return _coin.SoMFVec4b_getValues(*args) - - def find(*args): - """ - find(self, SbVec4b value, SbBool addifnotfound=0) -> int - find(self, SbVec4b value) -> int - """ - return _coin.SoMFVec4b_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4b field) -> SbBool""" - return _coin.SoMFVec4b___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4b field) -> SbBool""" - return _coin.SoMFVec4b___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4b""" - return _coin.SoMFVec4b_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4b_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4b userdata) - setValuesPointer(self, int num, SbVec4b userdata) - setValuesPointer(self, int num, int8_t userdata) - setValuesPointer(self, int num, int8_t userdata) - """ - return _coin.SoMFVec4b_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4b_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4b newvals) - setValues(self, int start, int num, int8_t xyzw) - """ - return _coin.SoMFVec4b_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4b value) - set1Value(self, int idx, int8_t x, int8_t y, int8_t z, int8_t w) - set1Value(self, int idx, int8_t xyzw) - """ - return _coin.SoMFVec4b_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4b value) - setValue(self, int8_t x, int8_t y, int8_t z, int8_t w) - setValue(self, int8_t xyzw) - """ - return _coin.SoMFVec4b_setValue(*args) - -SoMFVec4b_swigregister = _coin.SoMFVec4b_swigregister -SoMFVec4b_swigregister(SoMFVec4b) - -def SoMFVec4b_createInstance(*args): - """SoMFVec4b_createInstance() -> void""" - return _coin.SoMFVec4b_createInstance(*args) - -def SoMFVec4b_getClassTypeId(*args): - """SoMFVec4b_getClassTypeId() -> SoType""" - return _coin.SoMFVec4b_getClassTypeId(*args) - -def SoMFVec4b_initClass(*args): - """SoMFVec4b_initClass()""" - return _coin.SoMFVec4b_initClass(*args) - -class SoMFVec4ub(SoMField): - """Proxy of C++ SoMFVec4ub class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4ub""" - this = _coin.new_SoMFVec4ub(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4ub - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4ub_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4ub_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4ub_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4ub_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4ub_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4ub""" - return _coin.SoMFVec4ub_getValues(*args) - - def find(*args): - """ - find(self, SbVec4ub value, SbBool addifnotfound=0) -> int - find(self, SbVec4ub value) -> int - """ - return _coin.SoMFVec4ub_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4ub field) -> SbBool""" - return _coin.SoMFVec4ub___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4ub field) -> SbBool""" - return _coin.SoMFVec4ub___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4ub""" - return _coin.SoMFVec4ub_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4ub_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4ub userdata) - setValuesPointer(self, int num, SbVec4ub userdata) - setValuesPointer(self, int num, uint8_t userdata) - setValuesPointer(self, int num, uint8_t userdata) - """ - return _coin.SoMFVec4ub_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4ub_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4ub newvals) - setValues(self, int start, int num, uint8_t xyzw) - """ - return _coin.SoMFVec4ub_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4ub value) - set1Value(self, int idx, uint8_t x, uint8_t y, uint8_t z, uint8_t w) - set1Value(self, int idx, uint8_t xyzw) - """ - return _coin.SoMFVec4ub_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4ub value) - setValue(self, uint8_t x, uint8_t y, uint8_t z, uint8_t w) - setValue(self, uint8_t xyzw) - """ - return _coin.SoMFVec4ub_setValue(*args) - -SoMFVec4ub_swigregister = _coin.SoMFVec4ub_swigregister -SoMFVec4ub_swigregister(SoMFVec4ub) - -def SoMFVec4ub_createInstance(*args): - """SoMFVec4ub_createInstance() -> void""" - return _coin.SoMFVec4ub_createInstance(*args) - -def SoMFVec4ub_getClassTypeId(*args): - """SoMFVec4ub_getClassTypeId() -> SoType""" - return _coin.SoMFVec4ub_getClassTypeId(*args) - -def SoMFVec4ub_initClass(*args): - """SoMFVec4ub_initClass()""" - return _coin.SoMFVec4ub_initClass(*args) - -class SoMFVec4s(SoMField): - """Proxy of C++ SoMFVec4s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4s""" - this = _coin.new_SoMFVec4s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4s_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4s""" - return _coin.SoMFVec4s_getValues(*args) - - def find(*args): - """ - find(self, SbVec4s value, SbBool addifnotfound=0) -> int - find(self, SbVec4s value) -> int - """ - return _coin.SoMFVec4s_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4s field) -> SbBool""" - return _coin.SoMFVec4s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4s field) -> SbBool""" - return _coin.SoMFVec4s___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4s""" - return _coin.SoMFVec4s_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4s_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4s userdata) - setValuesPointer(self, int num, SbVec4s userdata) - setValuesPointer(self, int num, short userdata) - setValuesPointer(self, int num, short userdata) - """ - return _coin.SoMFVec4s_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4s_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4s newvals) - setValues(self, int start, int num, short xyzw) - """ - return _coin.SoMFVec4s_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4s value) - set1Value(self, int idx, short x, short y, short z, short w) - set1Value(self, int idx, short xyzw) - """ - return _coin.SoMFVec4s_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4s value) - setValue(self, short x, short y, short z, short w) - setValue(self, short xyzw) - """ - return _coin.SoMFVec4s_setValue(*args) - -SoMFVec4s_swigregister = _coin.SoMFVec4s_swigregister -SoMFVec4s_swigregister(SoMFVec4s) - -def SoMFVec4s_createInstance(*args): - """SoMFVec4s_createInstance() -> void""" - return _coin.SoMFVec4s_createInstance(*args) - -def SoMFVec4s_getClassTypeId(*args): - """SoMFVec4s_getClassTypeId() -> SoType""" - return _coin.SoMFVec4s_getClassTypeId(*args) - -def SoMFVec4s_initClass(*args): - """SoMFVec4s_initClass()""" - return _coin.SoMFVec4s_initClass(*args) - -class SoMFVec4us(SoMField): - """Proxy of C++ SoMFVec4us class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4us""" - this = _coin.new_SoMFVec4us(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4us - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4us_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4us_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4us_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4us_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4us_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4us""" - return _coin.SoMFVec4us_getValues(*args) - - def find(*args): - """ - find(self, SbVec4us value, SbBool addifnotfound=0) -> int - find(self, SbVec4us value) -> int - """ - return _coin.SoMFVec4us_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4us field) -> SbBool""" - return _coin.SoMFVec4us___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4us field) -> SbBool""" - return _coin.SoMFVec4us___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4us""" - return _coin.SoMFVec4us_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4us_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4us userdata) - setValuesPointer(self, int num, SbVec4us userdata) - setValuesPointer(self, int num, unsigned short userdata) - setValuesPointer(self, int num, unsigned short userdata) - """ - return _coin.SoMFVec4us_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4us_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4us newvals) - setValues(self, int start, int num, unsigned short xyzw) - """ - return _coin.SoMFVec4us_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4us value) - set1Value(self, int idx, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) - set1Value(self, int idx, unsigned short xyzw) - """ - return _coin.SoMFVec4us_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4us value) - setValue(self, unsigned short x, unsigned short y, unsigned short z, - unsigned short w) - setValue(self, unsigned short xyzw) - """ - return _coin.SoMFVec4us_setValue(*args) - -SoMFVec4us_swigregister = _coin.SoMFVec4us_swigregister -SoMFVec4us_swigregister(SoMFVec4us) - -def SoMFVec4us_createInstance(*args): - """SoMFVec4us_createInstance() -> void""" - return _coin.SoMFVec4us_createInstance(*args) - -def SoMFVec4us_getClassTypeId(*args): - """SoMFVec4us_getClassTypeId() -> SoType""" - return _coin.SoMFVec4us_getClassTypeId(*args) - -def SoMFVec4us_initClass(*args): - """SoMFVec4us_initClass()""" - return _coin.SoMFVec4us_initClass(*args) - -class SoMFVec4i32(SoMField): - """Proxy of C++ SoMFVec4i32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4i32""" - this = _coin.new_SoMFVec4i32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4i32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4i32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4i32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4i32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4i32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4i32_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4i32""" - return _coin.SoMFVec4i32_getValues(*args) - - def find(*args): - """ - find(self, SbVec4i32 value, SbBool addifnotfound=0) -> int - find(self, SbVec4i32 value) -> int - """ - return _coin.SoMFVec4i32_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4i32 field) -> SbBool""" - return _coin.SoMFVec4i32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4i32 field) -> SbBool""" - return _coin.SoMFVec4i32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4i32""" - return _coin.SoMFVec4i32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4i32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4i32 userdata) - setValuesPointer(self, int num, SbVec4i32 userdata) - setValuesPointer(self, int num, int32_t userdata) - setValuesPointer(self, int num, int32_t userdata) - """ - return _coin.SoMFVec4i32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4i32_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4i32 newvals) - setValues(self, int start, int num, int32_t xyzw) - """ - return _coin.SoMFVec4i32_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4i32 value) - set1Value(self, int idx, int32_t x, int32_t y, int32_t z, int32_t w) - set1Value(self, int idx, int32_t xyzw) - """ - return _coin.SoMFVec4i32_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4i32 value) - setValue(self, int32_t x, int32_t y, int32_t z, int32_t w) - setValue(self, int32_t xyzw) - """ - return _coin.SoMFVec4i32_setValue(*args) - -SoMFVec4i32_swigregister = _coin.SoMFVec4i32_swigregister -SoMFVec4i32_swigregister(SoMFVec4i32) - -def SoMFVec4i32_createInstance(*args): - """SoMFVec4i32_createInstance() -> void""" - return _coin.SoMFVec4i32_createInstance(*args) - -def SoMFVec4i32_getClassTypeId(*args): - """SoMFVec4i32_getClassTypeId() -> SoType""" - return _coin.SoMFVec4i32_getClassTypeId(*args) - -def SoMFVec4i32_initClass(*args): - """SoMFVec4i32_initClass()""" - return _coin.SoMFVec4i32_initClass(*args) - -class SoMFVec4ui32(SoMField): - """Proxy of C++ SoMFVec4ui32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4ui32""" - this = _coin.new_SoMFVec4ui32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4ui32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4ui32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4ui32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4ui32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4ui32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4ui32_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4ui32""" - return _coin.SoMFVec4ui32_getValues(*args) - - def find(*args): - """ - find(self, SbVec4ui32 value, SbBool addifnotfound=0) -> int - find(self, SbVec4ui32 value) -> int - """ - return _coin.SoMFVec4ui32_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4ui32 field) -> SbBool""" - return _coin.SoMFVec4ui32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4ui32 field) -> SbBool""" - return _coin.SoMFVec4ui32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4ui32""" - return _coin.SoMFVec4ui32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4ui32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4ui32 userdata) - setValuesPointer(self, int num, SbVec4ui32 userdata) - setValuesPointer(self, int num, uint32_t userdata) - setValuesPointer(self, int num, uint32_t userdata) - """ - return _coin.SoMFVec4ui32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4ui32_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4ui32 newvals) - setValues(self, int start, int num, uint32_t xyzw) - """ - return _coin.SoMFVec4ui32_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4ui32 value) - set1Value(self, int idx, uint32_t x, uint32_t y, uint32_t z, uint32_t w) - set1Value(self, int idx, uint32_t xyzw) - """ - return _coin.SoMFVec4ui32_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4ui32 value) - setValue(self, uint32_t x, uint32_t y, uint32_t z, uint32_t w) - setValue(self, uint32_t xyzw) - """ - return _coin.SoMFVec4ui32_setValue(*args) - -SoMFVec4ui32_swigregister = _coin.SoMFVec4ui32_swigregister -SoMFVec4ui32_swigregister(SoMFVec4ui32) - -def SoMFVec4ui32_createInstance(*args): - """SoMFVec4ui32_createInstance() -> void""" - return _coin.SoMFVec4ui32_createInstance(*args) - -def SoMFVec4ui32_getClassTypeId(*args): - """SoMFVec4ui32_getClassTypeId() -> SoType""" - return _coin.SoMFVec4ui32_getClassTypeId(*args) - -def SoMFVec4ui32_initClass(*args): - """SoMFVec4ui32_initClass()""" - return _coin.SoMFVec4ui32_initClass(*args) - -class SoMFVec4d(SoMField): - """Proxy of C++ SoMFVec4d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4d""" - this = _coin.new_SoMFVec4d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4d_isSame(*args) - - def getValues(*args): - """getValues(self, int start) -> SbVec4d""" - return _coin.SoMFVec4d_getValues(*args) - - def find(*args): - """ - find(self, SbVec4d value, SbBool addifnotfound=0) -> int - find(self, SbVec4d value) -> int - """ - return _coin.SoMFVec4d_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4d field) -> SbBool""" - return _coin.SoMFVec4d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4d field) -> SbBool""" - return _coin.SoMFVec4d___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4d""" - return _coin.SoMFVec4d_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4d_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec4d userdata) - setValuesPointer(self, int num, SbVec4d userdata) - setValuesPointer(self, int num, double userdata) - setValuesPointer(self, int num, double userdata) - """ - return _coin.SoMFVec4d_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4d_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - """ - setValues(self, int start, int num, SbVec4d newvals) - setValues(self, int start, int num, double xyzw) - """ - return _coin.SoMFVec4d_setValues(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4d value) - set1Value(self, int idx, double x, double y, double z, double w) - set1Value(self, int idx, double xyzw) - """ - return _coin.SoMFVec4d_set1Value(*args) - - def setValue(*args): - """ - setValue(self, SbVec4d value) - setValue(self, double x, double y, double z, double w) - setValue(self, double xyzw) - """ - return _coin.SoMFVec4d_setValue(*args) - -SoMFVec4d_swigregister = _coin.SoMFVec4d_swigregister -SoMFVec4d_swigregister(SoMFVec4d) - -def SoMFVec4d_createInstance(*args): - """SoMFVec4d_createInstance() -> void""" - return _coin.SoMFVec4d_createInstance(*args) - -def SoMFVec4d_getClassTypeId(*args): - """SoMFVec4d_getClassTypeId() -> SoType""" - return _coin.SoMFVec4d_getClassTypeId(*args) - -def SoMFVec4d_initClass(*args): - """SoMFVec4d_initClass()""" - return _coin.SoMFVec4d_initClass(*args) - -class SbStringList(SbPList): - """Proxy of C++ SbStringList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbStringList - __init__(self, int sizehint) -> SbStringList - """ - this = _coin.new_SbStringList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SbString string)""" - return _coin.SbStringList_append(*args) - - def find(*args): - """find(self, SbString string) -> int""" - return _coin.SbStringList_find(*args) - - def insert(*args): - """insert(self, SbString string, int insertbefore)""" - return _coin.SbStringList_insert(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbString""" - return _coin.SbStringList_getArrayPtr(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbString value)""" - return _coin.SbStringList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbString""" - return _coin.SbStringList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SbString""" - return _coin.SbStringList_get(*args) - - __swig_destroy__ = _coin.delete_SbStringList - __del__ = lambda self : None; -SbStringList_swigregister = _coin.SbStringList_swigregister -SbStringList_swigregister(SbStringList) - -class SbVec3fList(SbPList): - """Proxy of C++ SbVec3fList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbVec3fList""" - this = _coin.new_SbVec3fList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbVec3fList - __del__ = lambda self : None; - def append(*args): - """append(self, SbVec3f item)""" - return _coin.SbVec3fList_append(*args) - - def insert(*args): - """insert(self, SbVec3f item, int insertbefore)""" - return _coin.SbVec3fList_insert(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3f value)""" - return _coin.SbVec3fList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3f""" - return _coin.SbVec3fList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SbVec3f""" - return _coin.SbVec3fList_get(*args) - -SbVec3fList_swigregister = _coin.SbVec3fList_swigregister -SbVec3fList_swigregister(SbVec3fList) - -class SoLockManager(object): - """Proxy of C++ SoLockManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def SetUnlockString(*args): - """SetUnlockString(char unlockstr)""" - return _coin.SoLockManager_SetUnlockString(*args) - - SetUnlockString = staticmethod(SetUnlockString) - def GetUnlockString(*args): - """GetUnlockString() -> char""" - return _coin.SoLockManager_GetUnlockString(*args) - - GetUnlockString = staticmethod(GetUnlockString) - def __init__(self, *args): - """__init__(self) -> SoLockManager""" - this = _coin.new_SoLockManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLockManager - __del__ = lambda self : None; -SoLockManager_swigregister = _coin.SoLockManager_swigregister -SoLockManager_swigregister(SoLockManager) - -def SoLockManager_SetUnlockString(*args): - """SoLockManager_SetUnlockString(char unlockstr)""" - return _coin.SoLockManager_SetUnlockString(*args) - -def SoLockManager_GetUnlockString(*args): - """SoLockManager_GetUnlockString() -> char""" - return _coin.SoLockManager_GetUnlockString(*args) - -class SoTransform(SoTransformation): - """Proxy of C++ SoTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransform""" - this = _coin.new_SoTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTransform_translation_get, _coin.SoTransform_translation_set) - rotation = _swig_property(_coin.SoTransform_rotation_get, _coin.SoTransform_rotation_set) - scaleFactor = _swig_property(_coin.SoTransform_scaleFactor_get, _coin.SoTransform_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoTransform_scaleOrientation_get, _coin.SoTransform_scaleOrientation_set) - center = _swig_property(_coin.SoTransform_center_get, _coin.SoTransform_center_set) - def pointAt(*args): - """pointAt(self, SbVec3f frompoint, SbVec3f topoint)""" - return _coin.SoTransform_pointAt(*args) - - def getScaleSpaceMatrix(*args): - """getScaleSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getScaleSpaceMatrix(*args) - - def getRotationSpaceMatrix(*args): - """getRotationSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getRotationSpaceMatrix(*args) - - def getTranslationSpaceMatrix(*args): - """getTranslationSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getTranslationSpaceMatrix(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix mat)""" - return _coin.SoTransform_multLeft(*args) - - def multRight(*args): - """multRight(self, SbMatrix mat)""" - return _coin.SoTransform_multRight(*args) - - def combineLeft(*args): - """combineLeft(self, SoTransformation nodeonright)""" - return _coin.SoTransform_combineLeft(*args) - - def combineRight(*args): - """combineRight(self, SoTransformation nodeonleft)""" - return _coin.SoTransform_combineRight(*args) - - def setMatrix(*args): - """setMatrix(self, SbMatrix mat)""" - return _coin.SoTransform_setMatrix(*args) - - def recenter(*args): - """recenter(self, SbVec3f newcenter)""" - return _coin.SoTransform_recenter(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransform_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransform_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransform_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTransform_getPrimitiveCount(*args) - -SoTransform_swigregister = _coin.SoTransform_swigregister -SoTransform_swigregister(SoTransform) - -def SoTransform_getClassTypeId(*args): - """SoTransform_getClassTypeId() -> SoType""" - return _coin.SoTransform_getClassTypeId(*args) - -def SoTransform_initClass(*args): - """SoTransform_initClass()""" - return _coin.SoTransform_initClass(*args) - -class SoTransformManip(SoTransform): - """Proxy of C++ SoTransformManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformManip""" - this = _coin.new_SoTransformManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoTransformManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoTransformManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoTransform newone) -> SbBool""" - return _coin.SoTransformManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransformManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransformManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransformManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransformManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransformManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoTransformManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransformManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoTransformManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoTransformManip_getChildren(*args) - -SoTransformManip_swigregister = _coin.SoTransformManip_swigregister -SoTransformManip_swigregister(SoTransformManip) - -def SoTransformManip_getClassTypeId(*args): - """SoTransformManip_getClassTypeId() -> SoType""" - return _coin.SoTransformManip_getClassTypeId(*args) - -def SoTransformManip_initClass(*args): - """SoTransformManip_initClass()""" - return _coin.SoTransformManip_initClass(*args) - -class SoCenterballManip(SoTransformManip): - """Proxy of C++ SoCenterballManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCenterballManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCenterballManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCenterballManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCenterballManip""" - this = _coin.new_SoCenterballManip(*args) - try: self.this.append(this) - except: self.this = this -SoCenterballManip_swigregister = _coin.SoCenterballManip_swigregister -SoCenterballManip_swigregister(SoCenterballManip) - -def SoCenterballManip_getClassTypeId(*args): - """SoCenterballManip_getClassTypeId() -> SoType""" - return _coin.SoCenterballManip_getClassTypeId(*args) - -def SoCenterballManip_initClass(*args): - """SoCenterballManip_initClass()""" - return _coin.SoCenterballManip_initClass(*args) - -class SoClipPlane(SoNode): - """Proxy of C++ SoClipPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoClipPlane_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoClipPlane_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoClipPlane""" - this = _coin.new_SoClipPlane(*args) - try: self.this.append(this) - except: self.this = this - plane = _swig_property(_coin.SoClipPlane_plane_get, _coin.SoClipPlane_plane_set) - on = _swig_property(_coin.SoClipPlane_on_get, _coin.SoClipPlane_on_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoClipPlane_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoClipPlane_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoClipPlane_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoClipPlane_pick(*args) - -SoClipPlane_swigregister = _coin.SoClipPlane_swigregister -SoClipPlane_swigregister(SoClipPlane) - -def SoClipPlane_getClassTypeId(*args): - """SoClipPlane_getClassTypeId() -> SoType""" - return _coin.SoClipPlane_getClassTypeId(*args) - -def SoClipPlane_initClass(*args): - """SoClipPlane_initClass()""" - return _coin.SoClipPlane_initClass(*args) - -class SoClipPlaneManip(SoClipPlane): - """Proxy of C++ SoClipPlaneManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlaneManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoClipPlaneManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoClipPlaneManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoClipPlaneManip""" - this = _coin.new_SoClipPlaneManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoClipPlaneManip_getDragger(*args) - - def setValue(*args): - """setValue(self, SbBox3f box, SbVec3f planenormal, float draggerscalefactor)""" - return _coin.SoClipPlaneManip_setValue(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoClipPlaneManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoClipPlane newone) -> SbBool""" - return _coin.SoClipPlaneManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoClipPlaneManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoClipPlaneManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoClipPlaneManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoClipPlaneManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoClipPlaneManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoClipPlaneManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoClipPlaneManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoClipPlaneManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoClipPlaneManip_getChildren(*args) - - draggerPosition = _swig_property(_coin.SoClipPlaneManip_draggerPosition_get, _coin.SoClipPlaneManip_draggerPosition_set) -SoClipPlaneManip_swigregister = _coin.SoClipPlaneManip_swigregister -SoClipPlaneManip_swigregister(SoClipPlaneManip) - -def SoClipPlaneManip_getClassTypeId(*args): - """SoClipPlaneManip_getClassTypeId() -> SoType""" - return _coin.SoClipPlaneManip_getClassTypeId(*args) - -def SoClipPlaneManip_initClass(*args): - """SoClipPlaneManip_initClass()""" - return _coin.SoClipPlaneManip_initClass(*args) - -class SoLight(SoNode): - """Proxy of C++ SoLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLight_initClass(*args) - - initClass = staticmethod(initClass) - on = _swig_property(_coin.SoLight_on_get, _coin.SoLight_on_set) - intensity = _swig_property(_coin.SoLight_intensity_get, _coin.SoLight_intensity_set) - color = _swig_property(_coin.SoLight_color_get, _coin.SoLight_color_set) - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLight_callback(*args) - -SoLight_swigregister = _coin.SoLight_swigregister -SoLight_swigregister(SoLight) - -def SoLight_getClassTypeId(*args): - """SoLight_getClassTypeId() -> SoType""" - return _coin.SoLight_getClassTypeId(*args) - -def SoLight_initClass(*args): - """SoLight_initClass()""" - return _coin.SoLight_initClass(*args) - -class SoDirectionalLight(SoLight): - """Proxy of C++ SoDirectionalLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLight""" - this = _coin.new_SoDirectionalLight(*args) - try: self.this.append(this) - except: self.this = this - direction = _swig_property(_coin.SoDirectionalLight_direction_get, _coin.SoDirectionalLight_direction_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDirectionalLight_GLRender(*args) - -SoDirectionalLight_swigregister = _coin.SoDirectionalLight_swigregister -SoDirectionalLight_swigregister(SoDirectionalLight) - -def SoDirectionalLight_getClassTypeId(*args): - """SoDirectionalLight_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLight_getClassTypeId(*args) - -def SoDirectionalLight_initClass(*args): - """SoDirectionalLight_initClass()""" - return _coin.SoDirectionalLight_initClass(*args) - -class SoDirectionalLightManip(SoDirectionalLight): - """Proxy of C++ SoDirectionalLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLightManip""" - this = _coin.new_SoDirectionalLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoDirectionalLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath path) -> SbBool""" - return _coin.SoDirectionalLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath path, SoDirectionalLight newone) -> SbBool""" - return _coin.SoDirectionalLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoDirectionalLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDirectionalLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDirectionalLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoDirectionalLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoDirectionalLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoDirectionalLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoDirectionalLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoDirectionalLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoDirectionalLightManip_getChildren(*args) - -SoDirectionalLightManip_swigregister = _coin.SoDirectionalLightManip_swigregister -SoDirectionalLightManip_swigregister(SoDirectionalLightManip) - -def SoDirectionalLightManip_getClassTypeId(*args): - """SoDirectionalLightManip_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightManip_getClassTypeId(*args) - -def SoDirectionalLightManip_initClass(*args): - """SoDirectionalLightManip_initClass()""" - return _coin.SoDirectionalLightManip_initClass(*args) - -class SoHandleBoxManip(SoTransformManip): - """Proxy of C++ SoHandleBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoHandleBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoHandleBoxManip""" - this = _coin.new_SoHandleBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoHandleBoxManip_swigregister = _coin.SoHandleBoxManip_swigregister -SoHandleBoxManip_swigregister(SoHandleBoxManip) - -def SoHandleBoxManip_getClassTypeId(*args): - """SoHandleBoxManip_getClassTypeId() -> SoType""" - return _coin.SoHandleBoxManip_getClassTypeId(*args) - -def SoHandleBoxManip_initClass(*args): - """SoHandleBoxManip_initClass()""" - return _coin.SoHandleBoxManip_initClass(*args) - -class SoJackManip(SoTransformManip): - """Proxy of C++ SoJackManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoJackManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoJackManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoJackManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoJackManip""" - this = _coin.new_SoJackManip(*args) - try: self.this.append(this) - except: self.this = this -SoJackManip_swigregister = _coin.SoJackManip_swigregister -SoJackManip_swigregister(SoJackManip) - -def SoJackManip_getClassTypeId(*args): - """SoJackManip_getClassTypeId() -> SoType""" - return _coin.SoJackManip_getClassTypeId(*args) - -def SoJackManip_initClass(*args): - """SoJackManip_initClass()""" - return _coin.SoJackManip_initClass(*args) - -class SoPointLight(SoLight): - """Proxy of C++ SoPointLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLight""" - this = _coin.new_SoPointLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoPointLight_location_get, _coin.SoPointLight_location_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointLight_GLRender(*args) - -SoPointLight_swigregister = _coin.SoPointLight_swigregister -SoPointLight_swigregister(SoPointLight) - -def SoPointLight_getClassTypeId(*args): - """SoPointLight_getClassTypeId() -> SoType""" - return _coin.SoPointLight_getClassTypeId(*args) - -def SoPointLight_initClass(*args): - """SoPointLight_initClass()""" - return _coin.SoPointLight_initClass(*args) - -class SoPointLightManip(SoPointLight): - """Proxy of C++ SoPointLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLightManip""" - this = _coin.new_SoPointLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoPointLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath path) -> SbBool""" - return _coin.SoPointLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath path, SoPointLight newone) -> SbBool""" - return _coin.SoPointLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPointLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPointLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPointLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoPointLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoPointLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPointLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoPointLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoPointLightManip_getChildren(*args) - -SoPointLightManip_swigregister = _coin.SoPointLightManip_swigregister -SoPointLightManip_swigregister(SoPointLightManip) - -def SoPointLightManip_getClassTypeId(*args): - """SoPointLightManip_getClassTypeId() -> SoType""" - return _coin.SoPointLightManip_getClassTypeId(*args) - -def SoPointLightManip_initClass(*args): - """SoPointLightManip_initClass()""" - return _coin.SoPointLightManip_initClass(*args) - -class SoSpotLight(SoLight): - """Proxy of C++ SoSpotLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLight""" - this = _coin.new_SoSpotLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoSpotLight_location_get, _coin.SoSpotLight_location_set) - direction = _swig_property(_coin.SoSpotLight_direction_get, _coin.SoSpotLight_direction_set) - dropOffRate = _swig_property(_coin.SoSpotLight_dropOffRate_get, _coin.SoSpotLight_dropOffRate_set) - cutOffAngle = _swig_property(_coin.SoSpotLight_cutOffAngle_get, _coin.SoSpotLight_cutOffAngle_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSpotLight_GLRender(*args) - -SoSpotLight_swigregister = _coin.SoSpotLight_swigregister -SoSpotLight_swigregister(SoSpotLight) - -def SoSpotLight_getClassTypeId(*args): - """SoSpotLight_getClassTypeId() -> SoType""" - return _coin.SoSpotLight_getClassTypeId(*args) - -def SoSpotLight_initClass(*args): - """SoSpotLight_initClass()""" - return _coin.SoSpotLight_initClass(*args) - -class SoSpotLightManip(SoSpotLight): - """Proxy of C++ SoSpotLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLightManip""" - this = _coin.new_SoSpotLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoSpotLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoSpotLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoSpotLight newone) -> SbBool""" - return _coin.SoSpotLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSpotLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSpotLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSpotLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSpotLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSpotLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSpotLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoSpotLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSpotLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoSpotLightManip_getChildren(*args) - -SoSpotLightManip_swigregister = _coin.SoSpotLightManip_swigregister -SoSpotLightManip_swigregister(SoSpotLightManip) - -def SoSpotLightManip_getClassTypeId(*args): - """SoSpotLightManip_getClassTypeId() -> SoType""" - return _coin.SoSpotLightManip_getClassTypeId(*args) - -def SoSpotLightManip_initClass(*args): - """SoSpotLightManip_initClass()""" - return _coin.SoSpotLightManip_initClass(*args) - -class SoTabBoxManip(SoTransformManip): - """Proxy of C++ SoTabBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabBoxManip""" - this = _coin.new_SoTabBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoTabBoxManip_swigregister = _coin.SoTabBoxManip_swigregister -SoTabBoxManip_swigregister(SoTabBoxManip) - -def SoTabBoxManip_getClassTypeId(*args): - """SoTabBoxManip_getClassTypeId() -> SoType""" - return _coin.SoTabBoxManip_getClassTypeId(*args) - -def SoTabBoxManip_initClass(*args): - """SoTabBoxManip_initClass()""" - return _coin.SoTabBoxManip_initClass(*args) - -class SoTrackballManip(SoTransformManip): - """Proxy of C++ SoTrackballManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTrackballManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTrackballManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTrackballManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTrackballManip""" - this = _coin.new_SoTrackballManip(*args) - try: self.this.append(this) - except: self.this = this -SoTrackballManip_swigregister = _coin.SoTrackballManip_swigregister -SoTrackballManip_swigregister(SoTrackballManip) - -def SoTrackballManip_getClassTypeId(*args): - """SoTrackballManip_getClassTypeId() -> SoType""" - return _coin.SoTrackballManip_getClassTypeId(*args) - -def SoTrackballManip_initClass(*args): - """SoTrackballManip_initClass()""" - return _coin.SoTrackballManip_initClass(*args) - -class SoTransformBoxManip(SoTransformManip): - """Proxy of C++ SoTransformBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformBoxManip""" - this = _coin.new_SoTransformBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoTransformBoxManip_swigregister = _coin.SoTransformBoxManip_swigregister -SoTransformBoxManip_swigregister(SoTransformBoxManip) - -def SoTransformBoxManip_getClassTypeId(*args): - """SoTransformBoxManip_getClassTypeId() -> SoType""" - return _coin.SoTransformBoxManip_getClassTypeId(*args) - -def SoTransformBoxManip_initClass(*args): - """SoTransformBoxManip_initClass()""" - return _coin.SoTransformBoxManip_initClass(*args) - -class SoTransformerManip(SoTransformManip): - """Proxy of C++ SoTransformerManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformerManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformerManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformerManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformerManip""" - this = _coin.new_SoTransformerManip(*args) - try: self.this.append(this) - except: self.this = this - def isLocateHighlighting(*args): - """isLocateHighlighting(self) -> SbBool""" - return _coin.SoTransformerManip_isLocateHighlighting(*args) - - def setLocateHighlighting(*args): - """setLocateHighlighting(self, SbBool onoff)""" - return _coin.SoTransformerManip_setLocateHighlighting(*args) - - def unsquishKnobs(*args): - """unsquishKnobs(self)""" - return _coin.SoTransformerManip_unsquishKnobs(*args) - -SoTransformerManip_swigregister = _coin.SoTransformerManip_swigregister -SoTransformerManip_swigregister(SoTransformerManip) - -def SoTransformerManip_getClassTypeId(*args): - """SoTransformerManip_getClassTypeId() -> SoType""" - return _coin.SoTransformerManip_getClassTypeId(*args) - -def SoTransformerManip_initClass(*args): - """SoTransformerManip_initClass()""" - return _coin.SoTransformerManip_initClass(*args) - -class SoAudioDevice(object): - """Proxy of C++ SoAudioDevice class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def instance(*args): - """instance() -> SoAudioDevice""" - return _coin.SoAudioDevice_instance(*args) - - instance = staticmethod(instance) - def init(*args): - """init(self, SbString devicetype, SbString devicename) -> SbBool""" - return _coin.SoAudioDevice_init(*args) - - def enable(*args): - """enable(self) -> SbBool""" - return _coin.SoAudioDevice_enable(*args) - - def disable(*args): - """disable(self)""" - return _coin.SoAudioDevice_disable(*args) - - def isEnabled(*args): - """isEnabled(self) -> SbBool""" - return _coin.SoAudioDevice_isEnabled(*args) - - def haveSound(*args): - """haveSound(self) -> SbBool""" - return _coin.SoAudioDevice_haveSound(*args) - - def setGain(*args): - """setGain(self, float gain)""" - return _coin.SoAudioDevice_setGain(*args) - - def mute(*args): - """ - mute(self, SbBool mute=1) - mute(self) - """ - return _coin.SoAudioDevice_mute(*args) - -SoAudioDevice_swigregister = _coin.SoAudioDevice_swigregister -SoAudioDevice_swigregister(SoAudioDevice) - -def SoAudioDevice_instance(*args): - """SoAudioDevice_instance() -> SoAudioDevice""" - return _coin.SoAudioDevice_instance(*args) - -class SoByteStream(object): - """Proxy of C++ SoByteStream class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoByteStream""" - this = _coin.new_SoByteStream(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoByteStream - __del__ = lambda self : None; - def convert(*args): - """ - convert(self, SoNode node, SbBool binary=1) - convert(self, SoNode node) - convert(self, SoPath path, SbBool binary=1) - convert(self, SoPath path) - convert(self, SoPathList pl, SbBool binary=1) - convert(self, SoPathList pl) - """ - return _coin.SoByteStream_convert(*args) - - def getData(*args): - """getData(self) -> void""" - return _coin.SoByteStream_getData(*args) - - def getNumBytes(*args): - """getNumBytes(self) -> uint32_t""" - return _coin.SoByteStream_getNumBytes(*args) - - def unconvert(*args): - """ - unconvert(SoByteStream stream) -> SoPathList - unconvert(void data, uint32_t bytesinstream) -> SoPathList - """ - return _coin.SoByteStream_unconvert(*args) - - unconvert = staticmethod(unconvert) - def copy(*args): - """copy(self, void d, size_t len)""" - return _coin.SoByteStream_copy(*args) - - def isRawData(*args): - """isRawData(self) -> SbBool""" - return _coin.SoByteStream_isRawData(*args) - -SoByteStream_swigregister = _coin.SoByteStream_swigregister -SoByteStream_swigregister(SoByteStream) - -def SoByteStream_unconvert(*args): - """ - unconvert(SoByteStream stream) -> SoPathList - SoByteStream_unconvert(void data, uint32_t bytesinstream) -> SoPathList - """ - return _coin.SoByteStream_unconvert(*args) - -class SoContextHandler(object): - """Proxy of C++ SoContextHandler class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def destructingContext(*args): - """destructingContext(uint32_t contextid)""" - return _coin.SoContextHandler_destructingContext(*args) - - destructingContext = staticmethod(destructingContext) - def addContextDestructionCallback(*args): - """addContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_addContextDestructionCallback(*args) - - addContextDestructionCallback = staticmethod(addContextDestructionCallback) - def removeContextDestructionCallback(*args): - """removeContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_removeContextDestructionCallback(*args) - - removeContextDestructionCallback = staticmethod(removeContextDestructionCallback) - def __init__(self, *args): - """__init__(self) -> SoContextHandler""" - this = _coin.new_SoContextHandler(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoContextHandler - __del__ = lambda self : None; -SoContextHandler_swigregister = _coin.SoContextHandler_swigregister -SoContextHandler_swigregister(SoContextHandler) - -def SoContextHandler_destructingContext(*args): - """SoContextHandler_destructingContext(uint32_t contextid)""" - return _coin.SoContextHandler_destructingContext(*args) - -def SoContextHandler_addContextDestructionCallback(*args): - """SoContextHandler_addContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_addContextDestructionCallback(*args) - -def SoContextHandler_removeContextDestructionCallback(*args): - """SoContextHandler_removeContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_removeContextDestructionCallback(*args) - -class SoGLImage(object): - """Proxy of C++ SoGLImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoGLImage""" - this = _coin.new_SoGLImage(*args) - try: self.this.append(this) - except: self.this = this - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLImage_unref(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLImage_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoGLImage_isOfType(*args) - - REPEAT = _coin.SoGLImage_REPEAT - CLAMP = _coin.SoGLImage_CLAMP - CLAMP_TO_EDGE = _coin.SoGLImage_CLAMP_TO_EDGE - CLAMP_TO_BORDER = _coin.SoGLImage_CLAMP_TO_BORDER - IMAGE = _coin.SoGLImage_IMAGE - SUBIMAGE = _coin.SoGLImage_SUBIMAGE - MIPMAP = _coin.SoGLImage_MIPMAP - def setGLDisplayList(*args): - """ - setGLDisplayList(self, SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT, - Wrap wrapt=REPEAT, float quality=0.5) - setGLDisplayList(self, SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT, - Wrap wrapt=REPEAT) - setGLDisplayList(self, SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT) - setGLDisplayList(self, SoGLDisplayList dl, SoState state) - """ - return _coin.SoGLImage_setGLDisplayList(*args) - - def setPBuffer(*args): - """ - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT) - setPBuffer(self, SoState state, void context) - """ - return _coin.SoGLImage_setPBuffer(*args) - - def setData(*args): - """ - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, - int border=0, SoState createinstate=None) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, - int border=0) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5, int border=0, - SoState createinstate=None) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5, int border=0) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, SbImage image, Wrap wraps=REPEAT) - setData(self, SbImage image) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr) - """ - return _coin.SoGLImage_setData(*args) - - SCALE_DOWN = _coin.SoGLImage_SCALE_DOWN - NO_MIPMAP = _coin.SoGLImage_NO_MIPMAP - LINEAR_MAG_FILTER = _coin.SoGLImage_LINEAR_MAG_FILTER - LINEAR_MIN_FILTER = _coin.SoGLImage_LINEAR_MIN_FILTER - LINEAR_MIPMAP_FILTER = _coin.SoGLImage_LINEAR_MIPMAP_FILTER - FORCE_TRANSPARENCY_TRUE = _coin.SoGLImage_FORCE_TRANSPARENCY_TRUE - FORCE_TRANSPARENCY_FALSE = _coin.SoGLImage_FORCE_TRANSPARENCY_FALSE - FORCE_ALPHA_TEST_TRUE = _coin.SoGLImage_FORCE_ALPHA_TEST_TRUE - FORCE_ALPHA_TEST_FALSE = _coin.SoGLImage_FORCE_ALPHA_TEST_FALSE - INVINCIBLE = _coin.SoGLImage_INVINCIBLE - RECTANGLE = _coin.SoGLImage_RECTANGLE - COMPRESSED = _coin.SoGLImage_COMPRESSED - USE_QUALITY_VALUE = _coin.SoGLImage_USE_QUALITY_VALUE - def setFlags(*args): - """setFlags(self, uint32_t flags)""" - return _coin.SoGLImage_setFlags(*args) - - def getFlags(*args): - """getFlags(self) -> uint32_t""" - return _coin.SoGLImage_getFlags(*args) - - def getImage(*args): - """getImage(self) -> SbImage""" - return _coin.SoGLImage_getImage(*args) - - def getGLDisplayList(*args): - """getGLDisplayList(self, SoState state) -> SoGLDisplayList""" - return _coin.SoGLImage_getGLDisplayList(*args) - - def hasTransparency(*args): - """hasTransparency(self) -> SbBool""" - return _coin.SoGLImage_hasTransparency(*args) - - def useAlphaTest(*args): - """useAlphaTest(self) -> SbBool""" - return _coin.SoGLImage_useAlphaTest(*args) - - def getWrapS(*args): - """getWrapS(self) -> Wrap""" - return _coin.SoGLImage_getWrapS(*args) - - def getWrapT(*args): - """getWrapT(self) -> Wrap""" - return _coin.SoGLImage_getWrapT(*args) - - def getWrapR(*args): - """getWrapR(self) -> Wrap""" - return _coin.SoGLImage_getWrapR(*args) - - def getQuality(*args): - """getQuality(self) -> float""" - return _coin.SoGLImage_getQuality(*args) - - def getGLImageId(*args): - """getGLImageId(self) -> uint32_t""" - return _coin.SoGLImage_getGLImageId(*args) - - def beginFrame(*args): - """beginFrame(SoState state)""" - return _coin.SoGLImage_beginFrame(*args) - - beginFrame = staticmethod(beginFrame) - def tagImage(*args): - """tagImage(SoState state, SoGLImage image)""" - return _coin.SoGLImage_tagImage(*args) - - tagImage = staticmethod(tagImage) - def endFrame(*args): - """endFrame(SoState state)""" - return _coin.SoGLImage_endFrame(*args) - - endFrame = staticmethod(endFrame) - def setDisplayListMaxAge(*args): - """setDisplayListMaxAge(uint32_t maxage)""" - return _coin.SoGLImage_setDisplayListMaxAge(*args) - - setDisplayListMaxAge = staticmethod(setDisplayListMaxAge) - def freeAllImages(*args): - """ - freeAllImages(SoState state=None) - freeAllImages() - """ - return _coin.SoGLImage_freeAllImages(*args) - - freeAllImages = staticmethod(freeAllImages) - def setEndFrameCallback(*args): - """setEndFrameCallback(self, void cb, void closure)""" - return _coin.SoGLImage_setEndFrameCallback(*args) - - def getNumFramesSinceUsed(*args): - """getNumFramesSinceUsed(self) -> int""" - return _coin.SoGLImage_getNumFramesSinceUsed(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGLImage_initClass(*args) - - initClass = staticmethod(initClass) - def setResizeCallback(*args): - """setResizeCallback(SoGLImageResizeCB f, void closure)""" - return _coin.SoGLImage_setResizeCallback(*args) - - setResizeCallback = staticmethod(setResizeCallback) -SoGLImage_swigregister = _coin.SoGLImage_swigregister -SoGLImage_swigregister(SoGLImage) - -def SoGLImage_getClassTypeId(*args): - """SoGLImage_getClassTypeId() -> SoType""" - return _coin.SoGLImage_getClassTypeId(*args) - -def SoGLImage_beginFrame(*args): - """SoGLImage_beginFrame(SoState state)""" - return _coin.SoGLImage_beginFrame(*args) - -def SoGLImage_tagImage(*args): - """SoGLImage_tagImage(SoState state, SoGLImage image)""" - return _coin.SoGLImage_tagImage(*args) - -def SoGLImage_endFrame(*args): - """SoGLImage_endFrame(SoState state)""" - return _coin.SoGLImage_endFrame(*args) - -def SoGLImage_setDisplayListMaxAge(*args): - """SoGLImage_setDisplayListMaxAge(uint32_t maxage)""" - return _coin.SoGLImage_setDisplayListMaxAge(*args) - -def SoGLImage_freeAllImages(*args): - """ - freeAllImages(SoState state=None) - SoGLImage_freeAllImages() - """ - return _coin.SoGLImage_freeAllImages(*args) - -def SoGLImage_initClass(*args): - """SoGLImage_initClass()""" - return _coin.SoGLImage_initClass(*args) - -def SoGLImage_setResizeCallback(*args): - """SoGLImage_setResizeCallback(SoGLImageResizeCB f, void closure)""" - return _coin.SoGLImage_setResizeCallback(*args) - -class SoGLBigImage(SoGLImage): - """Proxy of C++ SoGLBigImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoGLBigImage""" - this = _coin.new_SoGLBigImage(*args) - try: self.this.append(this) - except: self.this = this - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLBigImage_unref(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLBigImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLBigImage_getTypeId(*args) - - def setData(*args): - """ - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, SbImage image, Wrap wraps=REPEAT) - setData(self, SbImage image) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr) - """ - return _coin.SoGLBigImage_setData(*args) - - def initSubImages(*args): - """initSubImages(self, SbVec2s subimagesize) -> int""" - return _coin.SoGLBigImage_initSubImages(*args) - - def handleSubImage(*args): - """handleSubImage(self, int idx, SbVec2f start, SbVec2f end, SbVec2f tcmul)""" - return _coin.SoGLBigImage_handleSubImage(*args) - - def applySubImage(*args): - """applySubImage(self, SoState state, int idx, float quality, SbVec2s projsize)""" - return _coin.SoGLBigImage_applySubImage(*args) - - def exceededChangeLimit(*args): - """exceededChangeLimit(self) -> SbBool""" - return _coin.SoGLBigImage_exceededChangeLimit(*args) - - def setChangeLimit(*args): - """setChangeLimit(int limit) -> int""" - return _coin.SoGLBigImage_setChangeLimit(*args) - - setChangeLimit = staticmethod(setChangeLimit) - def getGLDisplayList(*args): - """getGLDisplayList(self, SoState state) -> SoGLDisplayList""" - return _coin.SoGLBigImage_getGLDisplayList(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGLBigImage_initClass(*args) - - initClass = staticmethod(initClass) -SoGLBigImage_swigregister = _coin.SoGLBigImage_swigregister -SoGLBigImage_swigregister(SoGLBigImage) - -def SoGLBigImage_getClassTypeId(*args): - """SoGLBigImage_getClassTypeId() -> SoType""" - return _coin.SoGLBigImage_getClassTypeId(*args) - -def SoGLBigImage_setChangeLimit(*args): - """SoGLBigImage_setChangeLimit(int limit) -> int""" - return _coin.SoGLBigImage_setChangeLimit(*args) - -def SoGLBigImage_initClass(*args): - """SoGLBigImage_initClass()""" - return _coin.SoGLBigImage_initClass(*args) - -class SoGlyph(object): - """Proxy of C++ SoGlyph class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - FONT2D = _coin.SoGlyph_FONT2D - FONT3D = _coin.SoGlyph_FONT3D - def unref(*args): - """unref(self)""" - return _coin.SoGlyph_unref(*args) - - def getCoords(*args): - """getCoords(self) -> SbVec2f""" - return _coin.SoGlyph_getCoords(*args) - - def getFaceIndices(*args): - """getFaceIndices(self) -> int""" - return _coin.SoGlyph_getFaceIndices(*args) - - def getEdgeIndices(*args): - """getEdgeIndices(self) -> int""" - return _coin.SoGlyph_getEdgeIndices(*args) - - def getNextCWEdge(*args): - """getNextCWEdge(self, int edgeidx) -> int""" - return _coin.SoGlyph_getNextCWEdge(*args) - - def getNextCCWEdge(*args): - """getNextCCWEdge(self, int edgeidx) -> int""" - return _coin.SoGlyph_getNextCCWEdge(*args) - - def getWidth(*args): - """getWidth(self) -> float""" - return _coin.SoGlyph_getWidth(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox2f""" - return _coin.SoGlyph_getBoundingBox(*args) - - def getGlyph(*args): - """ - getGlyph(char character, SbName font) -> SoGlyph - getGlyph(SoState state, unsigned int character, SbVec2s size, - float angle) -> SoGlyph - """ - return _coin.SoGlyph_getGlyph(*args) - - getGlyph = staticmethod(getGlyph) - def getAdvance(*args): - """getAdvance(self) -> SbVec2s""" - return _coin.SoGlyph_getAdvance(*args) - - def getKerning(*args): - """getKerning(self, SoGlyph rightglyph) -> SbVec2s""" - return _coin.SoGlyph_getKerning(*args) - - def getBitmap(*args): - """getBitmap(self, SbVec2s size, SbVec2s pos, SbBool antialiased) -> unsigned char""" - return _coin.SoGlyph_getBitmap(*args) - -SoGlyph_swigregister = _coin.SoGlyph_swigregister -SoGlyph_swigregister(SoGlyph) - -def SoGlyph_getGlyph(*args): - """ - getGlyph(char character, SbName font) -> SoGlyph - SoGlyph_getGlyph(SoState state, unsigned int character, SbVec2s size, - float angle) -> SoGlyph - """ - return _coin.SoGlyph_getGlyph(*args) - -class SoProto(SoNode): - """Proxy of C++ SoProto class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool externproto=0) -> SoProto - __init__(self) -> SoProto - """ - this = _coin.new_SoProto(*args) - try: self.this.append(this) - except: self.this = this - def setFetchExternProtoCallback(*args): - """setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)""" - return _coin.SoProto_setFetchExternProtoCallback(*args) - - setFetchExternProtoCallback = staticmethod(setFetchExternProtoCallback) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProto_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProto_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def findProto(*args): - """findProto(SbName name) -> SoProto""" - return _coin.SoProto_findProto(*args) - - findProto = staticmethod(findProto) - def initClass(*args): - """initClass()""" - return _coin.SoProto_initClass(*args) - - initClass = staticmethod(initClass) - def createProtoInstance(*args): - """createProtoInstance(self) -> SoProtoInstance""" - return _coin.SoProto_createProtoInstance(*args) - - def addISReference(*args): - """addISReference(self, SoNode container, SbName fieldname, SbName interfacename)""" - return _coin.SoProto_addISReference(*args) - - def findISReference(*args): - """findISReference(self, SoFieldContainer container, SbName fieldname) -> SbName""" - return _coin.SoProto_findISReference(*args) - - def addReference(*args): - """addReference(self, SbName name, SoBase base)""" - return _coin.SoProto_addReference(*args) - - def removeReference(*args): - """removeReference(self, SbName name)""" - return _coin.SoProto_removeReference(*args) - - def findReference(*args): - """findReference(self, SbName name) -> SoBase""" - return _coin.SoProto_findReference(*args) - - def addRoute(*args): - """addRoute(self, SbName fromnode, SbName fromfield, SbName tonode, SbName tofield)""" - return _coin.SoProto_addRoute(*args) - - def getProtoName(*args): - """getProtoName(self) -> SbName""" - return _coin.SoProto_getProtoName(*args) - - def readInstance(*args): - """readInstance(self, SoInput input, unsigned short flags) -> SbBool""" - return _coin.SoProto_readInstance(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoProto_write(*args) - -SoProto_swigregister = _coin.SoProto_swigregister -SoProto_swigregister(SoProto) - -def SoProto_setFetchExternProtoCallback(*args): - """SoProto_setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)""" - return _coin.SoProto_setFetchExternProtoCallback(*args) - -def SoProto_getClassTypeId(*args): - """SoProto_getClassTypeId() -> SoType""" - return _coin.SoProto_getClassTypeId(*args) - -def SoProto_findProto(*args): - """SoProto_findProto(SbName name) -> SoProto""" - return _coin.SoProto_findProto(*args) - -def SoProto_initClass(*args): - """SoProto_initClass()""" - return _coin.SoProto_initClass(*args) - -class SoProtoInstance(SoNode): - """Proxy of C++ SoProtoInstance class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProtoInstance_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProtoInstance_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProtoInstance_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoProto proto, SoFieldData deffielddata) -> SoProtoInstance""" - this = _coin.new_SoProtoInstance(*args) - try: self.this.append(this) - except: self.this = this - def findProtoInstance(*args): - """findProtoInstance(SoNode rootnode) -> SoProtoInstance""" - return _coin.SoProtoInstance_findProtoInstance(*args) - - findProtoInstance = staticmethod(findProtoInstance) - def setRootNode(*args): - """setRootNode(self, SoNode root)""" - return _coin.SoProtoInstance_setRootNode(*args) - - def getRootNode(*args): - """getRootNode(self) -> SoNode""" - return _coin.SoProtoInstance_getRootNode(*args) - - def getProtoDefinition(*args): - """getProtoDefinition(self) -> SoProto""" - return _coin.SoProtoInstance_getProtoDefinition(*args) - - def getProtoName(*args): - """getProtoName(self) -> SbName""" - return _coin.SoProtoInstance_getProtoName(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoProtoInstance_write(*args) - -SoProtoInstance_swigregister = _coin.SoProtoInstance_swigregister -SoProtoInstance_swigregister(SoProtoInstance) - -def SoProtoInstance_getClassTypeId(*args): - """SoProtoInstance_getClassTypeId() -> SoType""" - return _coin.SoProtoInstance_getClassTypeId(*args) - -def SoProtoInstance_initClass(*args): - """SoProtoInstance_initClass()""" - return _coin.SoProtoInstance_initClass(*args) - -def SoProtoInstance_findProtoInstance(*args): - """SoProtoInstance_findProtoInstance(SoNode rootnode) -> SoProtoInstance""" - return _coin.SoProtoInstance_findProtoInstance(*args) - -class SoTranReceiver(object): - """Proxy of C++ SoTranReceiver class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoGroup root) -> SoTranReceiver""" - this = _coin.new_SoTranReceiver(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTranReceiver - __del__ = lambda self : None; - def interpret(*args): - """interpret(self, SoInput input) -> SbBool""" - return _coin.SoTranReceiver_interpret(*args) - -SoTranReceiver_swigregister = _coin.SoTranReceiver_swigregister -SoTranReceiver_swigregister(SoTranReceiver) - -class SoTranSender(object): - """Proxy of C++ SoTranSender class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoOutput output) -> SoTranSender""" - this = _coin.new_SoTranSender(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTranSender - __del__ = lambda self : None; - def getOutput(*args): - """getOutput(self) -> SoOutput""" - return _coin.SoTranSender_getOutput(*args) - - def insert(*args): - """ - insert(self, SoNode node) - insert(self, SoNode node, SoNode parent, int n) - """ - return _coin.SoTranSender_insert(*args) - - def remove(*args): - """remove(self, SoNode parent, int n)""" - return _coin.SoTranSender_remove(*args) - - def replace(*args): - """replace(self, SoNode parent, int n, SoNode newnode)""" - return _coin.SoTranSender_replace(*args) - - def modify(*args): - """modify(self, SoNode node)""" - return _coin.SoTranSender_modify(*args) - - def prepareToSend(*args): - """prepareToSend(self)""" - return _coin.SoTranSender_prepareToSend(*args) - -SoTranSender_swigregister = _coin.SoTranSender_swigregister -SoTranSender_swigregister(SoTranSender) - -class SoAppearanceKit(SoBaseKit): - """Proxy of C++ SoAppearanceKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAppearanceKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAppearanceKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoAppearanceKit""" - this = _coin.new_SoAppearanceKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoAppearanceKit_initClass(*args) - - initClass = staticmethod(initClass) -SoAppearanceKit_swigregister = _coin.SoAppearanceKit_swigregister -SoAppearanceKit_swigregister(SoAppearanceKit) - -def SoAppearanceKit_getClassTypeId(*args): - """SoAppearanceKit_getClassTypeId() -> SoType""" - return _coin.SoAppearanceKit_getClassTypeId(*args) - -def SoAppearanceKit_getClassNodekitCatalog(*args): - """SoAppearanceKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getClassNodekitCatalog(*args) - -def SoAppearanceKit_initClass(*args): - """SoAppearanceKit_initClass()""" - return _coin.SoAppearanceKit_initClass(*args) - -class SoCameraKit(SoBaseKit): - """Proxy of C++ SoCameraKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCameraKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCameraKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCameraKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoCameraKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoCameraKit""" - this = _coin.new_SoCameraKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoCameraKit_initClass(*args) - - initClass = staticmethod(initClass) -SoCameraKit_swigregister = _coin.SoCameraKit_swigregister -SoCameraKit_swigregister(SoCameraKit) - -def SoCameraKit_getClassTypeId(*args): - """SoCameraKit_getClassTypeId() -> SoType""" - return _coin.SoCameraKit_getClassTypeId(*args) - -def SoCameraKit_getClassNodekitCatalog(*args): - """SoCameraKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCameraKit_getClassNodekitCatalog(*args) - -def SoCameraKit_initClass(*args): - """SoCameraKit_initClass()""" - return _coin.SoCameraKit_initClass(*args) - -class SoLightKit(SoBaseKit): - """Proxy of C++ SoLightKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLightKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoLightKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoLightKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoLightKit""" - this = _coin.new_SoLightKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoLightKit_initClass(*args) - - initClass = staticmethod(initClass) -SoLightKit_swigregister = _coin.SoLightKit_swigregister -SoLightKit_swigregister(SoLightKit) - -def SoLightKit_getClassTypeId(*args): - """SoLightKit_getClassTypeId() -> SoType""" - return _coin.SoLightKit_getClassTypeId(*args) - -def SoLightKit_getClassNodekitCatalog(*args): - """SoLightKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoLightKit_getClassNodekitCatalog(*args) - -def SoLightKit_initClass(*args): - """SoLightKit_initClass()""" - return _coin.SoLightKit_initClass(*args) - -class SoNodeKit(object): - """Proxy of C++ SoNodeKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoNodeKit_init(*args) - - init = staticmethod(init) - def __init__(self, *args): - """__init__(self) -> SoNodeKit""" - this = _coin.new_SoNodeKit(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeKit - __del__ = lambda self : None; -SoNodeKit_swigregister = _coin.SoNodeKit_swigregister -SoNodeKit_swigregister(SoNodeKit) - -def SoNodeKit_init(*args): - """SoNodeKit_init()""" - return _coin.SoNodeKit_init(*args) - -class SoSceneKit(SoBaseKit): - """Proxy of C++ SoSceneKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSceneKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSceneKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSceneKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSceneKit_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSceneKit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSceneKit""" - this = _coin.new_SoSceneKit(*args) - try: self.this.append(this) - except: self.this = this - def getCameraNumber(*args): - """getCameraNumber(self) -> int""" - return _coin.SoSceneKit_getCameraNumber(*args) - - def setCameraNumber(*args): - """setCameraNumber(self, int camNum)""" - return _coin.SoSceneKit_setCameraNumber(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSceneKit_affectsState(*args) - -SoSceneKit_swigregister = _coin.SoSceneKit_swigregister -SoSceneKit_swigregister(SoSceneKit) - -def SoSceneKit_getClassTypeId(*args): - """SoSceneKit_getClassTypeId() -> SoType""" - return _coin.SoSceneKit_getClassTypeId(*args) - -def SoSceneKit_getClassNodekitCatalog(*args): - """SoSceneKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSceneKit_getClassNodekitCatalog(*args) - -def SoSceneKit_initClass(*args): - """SoSceneKit_initClass()""" - return _coin.SoSceneKit_initClass(*args) - -class SoSeparatorKit(SoBaseKit): - """Proxy of C++ SoSeparatorKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSeparatorKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSeparatorKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoSeparatorKit""" - this = _coin.new_SoSeparatorKit(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoSeparatorKit_OFF - ON = _coin.SoSeparatorKit_ON - AUTO = _coin.SoSeparatorKit_AUTO - renderCaching = _swig_property(_coin.SoSeparatorKit_renderCaching_get, _coin.SoSeparatorKit_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoSeparatorKit_boundingBoxCaching_get, _coin.SoSeparatorKit_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoSeparatorKit_renderCulling_get, _coin.SoSeparatorKit_renderCulling_set) - pickCulling = _swig_property(_coin.SoSeparatorKit_pickCulling_get, _coin.SoSeparatorKit_pickCulling_set) - def initClass(*args): - """initClass()""" - return _coin.SoSeparatorKit_initClass(*args) - - initClass = staticmethod(initClass) -SoSeparatorKit_swigregister = _coin.SoSeparatorKit_swigregister -SoSeparatorKit_swigregister(SoSeparatorKit) - -def SoSeparatorKit_getClassTypeId(*args): - """SoSeparatorKit_getClassTypeId() -> SoType""" - return _coin.SoSeparatorKit_getClassTypeId(*args) - -def SoSeparatorKit_getClassNodekitCatalog(*args): - """SoSeparatorKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getClassNodekitCatalog(*args) - -def SoSeparatorKit_initClass(*args): - """SoSeparatorKit_initClass()""" - return _coin.SoSeparatorKit_initClass(*args) - -class SoShapeKit(SoSeparatorKit): - """Proxy of C++ SoShapeKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShapeKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoShapeKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoShapeKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoShapeKit""" - this = _coin.new_SoShapeKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShapeKit_initClass(*args) - - initClass = staticmethod(initClass) -SoShapeKit_swigregister = _coin.SoShapeKit_swigregister -SoShapeKit_swigregister(SoShapeKit) - -def SoShapeKit_getClassTypeId(*args): - """SoShapeKit_getClassTypeId() -> SoType""" - return _coin.SoShapeKit_getClassTypeId(*args) - -def SoShapeKit_getClassNodekitCatalog(*args): - """SoShapeKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoShapeKit_getClassNodekitCatalog(*args) - -def SoShapeKit_initClass(*args): - """SoShapeKit_initClass()""" - return _coin.SoShapeKit_initClass(*args) - -class SoWrapperKit(SoSeparatorKit): - """Proxy of C++ SoWrapperKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWrapperKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWrapperKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoWrapperKit""" - this = _coin.new_SoWrapperKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoWrapperKit_initClass(*args) - - initClass = staticmethod(initClass) -SoWrapperKit_swigregister = _coin.SoWrapperKit_swigregister -SoWrapperKit_swigregister(SoWrapperKit) - -def SoWrapperKit_getClassTypeId(*args): - """SoWrapperKit_getClassTypeId() -> SoType""" - return _coin.SoWrapperKit_getClassTypeId(*args) - -def SoWrapperKit_getClassNodekitCatalog(*args): - """SoWrapperKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getClassNodekitCatalog(*args) - -def SoWrapperKit_initClass(*args): - """SoWrapperKit_initClass()""" - return _coin.SoWrapperKit_initClass(*args) - -class SoGroup(SoNode): - """Proxy of C++ SoGroup class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGroup_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGroup_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGroup_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoGroup - __init__(self, int nchildren) -> SoGroup - """ - this = _coin.new_SoGroup(*args) - try: self.this.append(this) - except: self.this = this - def addChild(*args): - """addChild(self, SoNode node)""" - return _coin.SoGroup_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int newchildindex)""" - return _coin.SoGroup_insertChild(*args) - - def getChild(*args): - """getChild(self, int index) -> SoNode""" - return _coin.SoGroup_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode node) -> int""" - return _coin.SoGroup_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoGroup_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int childindex) - removeChild(self, SoNode child) - """ - return _coin.SoGroup_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoGroup_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int index, SoNode newchild) - replaceChild(self, SoNode oldchild, SoNode newchild) - """ - return _coin.SoGroup_replaceChild(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoGroup_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoGroup_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoGroup_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoGroup_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoGroup_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoGroup_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoGroup_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoGroup_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoGroup_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoGroup_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoGroup_audioRender(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoGroup_getChildren(*args) - - def __iter__(self): - i = 0 - while i < self.getNumChildren(): - yield self.getChild(i) - i += 1 - - def __len__(*args): - """__len__(self, void ?) -> int""" - return _coin.SoGroup___len__(*args) - - def __contains__(*args): - """__contains__(self, SoNode node) -> int""" - return _coin.SoGroup___contains__(*args) - - def __getitem__(*args): - """__getitem__(self, int index) -> SoNode""" - return _coin.SoGroup___getitem__(*args) - -SoGroup_swigregister = _coin.SoGroup_swigregister -SoGroup_swigregister(SoGroup) - -def SoGroup_getClassTypeId(*args): - """SoGroup_getClassTypeId() -> SoType""" - return _coin.SoGroup_getClassTypeId(*args) - -def SoGroup_initClass(*args): - """SoGroup_initClass()""" - return _coin.SoGroup_initClass(*args) - -class SoSeparator(SoGroup): - """Proxy of C++ SoSeparator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSeparator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSeparator_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSeparator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoSeparator - __init__(self, int nchildren) -> SoSeparator - """ - this = _coin.new_SoSeparator(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoSeparator_OFF - ON = _coin.SoSeparator_ON - AUTO = _coin.SoSeparator_AUTO - renderCaching = _swig_property(_coin.SoSeparator_renderCaching_get, _coin.SoSeparator_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoSeparator_boundingBoxCaching_get, _coin.SoSeparator_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoSeparator_renderCulling_get, _coin.SoSeparator_renderCulling_set) - pickCulling = _swig_property(_coin.SoSeparator_pickCulling_get, _coin.SoSeparator_pickCulling_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSeparator_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderOffPath(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSeparator_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSeparator_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSeparator_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSeparator_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSeparator_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSeparator_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSeparator_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoSeparator_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoSeparator_notify(*args) - - def setNumRenderCaches(*args): - """setNumRenderCaches(int howmany)""" - return _coin.SoSeparator_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoSeparator_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSeparator_affectsState(*args) - -SoSeparator_swigregister = _coin.SoSeparator_swigregister -SoSeparator_swigregister(SoSeparator) - -def SoSeparator_getClassTypeId(*args): - """SoSeparator_getClassTypeId() -> SoType""" - return _coin.SoSeparator_getClassTypeId(*args) - -def SoSeparator_initClass(*args): - """SoSeparator_initClass()""" - return _coin.SoSeparator_initClass(*args) - -def SoSeparator_setNumRenderCaches(*args): - """SoSeparator_setNumRenderCaches(int howmany)""" - return _coin.SoSeparator_setNumRenderCaches(*args) - -def SoSeparator_getNumRenderCaches(*args): - """SoSeparator_getNumRenderCaches() -> int""" - return _coin.SoSeparator_getNumRenderCaches(*args) - -class SoAnnotation(SoSeparator): - """Proxy of C++ SoAnnotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAnnotation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAnnotation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAnnotation""" - this = _coin.new_SoAnnotation(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderOffPath(*args) - -SoAnnotation_swigregister = _coin.SoAnnotation_swigregister -SoAnnotation_swigregister(SoAnnotation) - -def SoAnnotation_getClassTypeId(*args): - """SoAnnotation_getClassTypeId() -> SoType""" - return _coin.SoAnnotation_getClassTypeId(*args) - -def SoAnnotation_initClass(*args): - """SoAnnotation_initClass()""" - return _coin.SoAnnotation_initClass(*args) - -class SoAntiSquish(SoTransformation): - """Proxy of C++ SoAntiSquish class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAntiSquish_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAntiSquish_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAntiSquish_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAntiSquish""" - this = _coin.new_SoAntiSquish(*args) - try: self.this.append(this) - except: self.this = this - X = _coin.SoAntiSquish_X - Y = _coin.SoAntiSquish_Y - Z = _coin.SoAntiSquish_Z - AVERAGE_DIMENSION = _coin.SoAntiSquish_AVERAGE_DIMENSION - BIGGEST_DIMENSION = _coin.SoAntiSquish_BIGGEST_DIMENSION - SMALLEST_DIMENSION = _coin.SoAntiSquish_SMALLEST_DIMENSION - LONGEST_DIAGONAL = _coin.SoAntiSquish_LONGEST_DIAGONAL - sizing = _swig_property(_coin.SoAntiSquish_sizing_get, _coin.SoAntiSquish_sizing_set) - recalcAlways = _swig_property(_coin.SoAntiSquish_recalcAlways_get, _coin.SoAntiSquish_recalcAlways_set) - def recalc(*args): - """recalc(self)""" - return _coin.SoAntiSquish_recalc(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoAntiSquish_doAction(*args) - -SoAntiSquish_swigregister = _coin.SoAntiSquish_swigregister -SoAntiSquish_swigregister(SoAntiSquish) - -def SoAntiSquish_getClassTypeId(*args): - """SoAntiSquish_getClassTypeId() -> SoType""" - return _coin.SoAntiSquish_getClassTypeId(*args) - -def SoAntiSquish_initClass(*args): - """SoAntiSquish_initClass()""" - return _coin.SoAntiSquish_initClass(*args) - -class SoArray(SoGroup): - """Proxy of C++ SoArray class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoArray_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoArray_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoArray_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoArray""" - this = _coin.new_SoArray(*args) - try: self.this.append(this) - except: self.this = this - FIRST = _coin.SoArray_FIRST - CENTER = _coin.SoArray_CENTER - LAST = _coin.SoArray_LAST - origin = _swig_property(_coin.SoArray_origin_get, _coin.SoArray_origin_set) - numElements1 = _swig_property(_coin.SoArray_numElements1_get, _coin.SoArray_numElements1_set) - numElements2 = _swig_property(_coin.SoArray_numElements2_get, _coin.SoArray_numElements2_set) - numElements3 = _swig_property(_coin.SoArray_numElements3_get, _coin.SoArray_numElements3_set) - separation1 = _swig_property(_coin.SoArray_separation1_get, _coin.SoArray_separation1_set) - separation2 = _swig_property(_coin.SoArray_separation2_get, _coin.SoArray_separation2_set) - separation3 = _swig_property(_coin.SoArray_separation3_get, _coin.SoArray_separation3_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoArray_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoArray_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoArray_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoArray_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoArray_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoArray_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoArray_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoArray_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoArray_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoArray_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoArray_audioRender(*args) - -SoArray_swigregister = _coin.SoArray_swigregister -SoArray_swigregister(SoArray) - -def SoArray_getClassTypeId(*args): - """SoArray_getClassTypeId() -> SoType""" - return _coin.SoArray_getClassTypeId(*args) - -def SoArray_initClass(*args): - """SoArray_initClass()""" - return _coin.SoArray_initClass(*args) - -class SoAsciiText(SoShape): - """Proxy of C++ SoAsciiText class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAsciiText_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAsciiText_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAsciiText_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAsciiText""" - this = _coin.new_SoAsciiText(*args) - try: self.this.append(this) - except: self.this = this - LEFT = _coin.SoAsciiText_LEFT - RIGHT = _coin.SoAsciiText_RIGHT - CENTER = _coin.SoAsciiText_CENTER - string = _swig_property(_coin.SoAsciiText_string_get, _coin.SoAsciiText_string_set) - spacing = _swig_property(_coin.SoAsciiText_spacing_get, _coin.SoAsciiText_spacing_set) - justification = _swig_property(_coin.SoAsciiText_justification_get, _coin.SoAsciiText_justification_set) - width = _swig_property(_coin.SoAsciiText_width_get, _coin.SoAsciiText_width_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoAsciiText_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoAsciiText_getPrimitiveCount(*args) - -SoAsciiText_swigregister = _coin.SoAsciiText_swigregister -SoAsciiText_swigregister(SoAsciiText) - -def SoAsciiText_getClassTypeId(*args): - """SoAsciiText_getClassTypeId() -> SoType""" - return _coin.SoAsciiText_getClassTypeId(*args) - -def SoAsciiText_initClass(*args): - """SoAsciiText_initClass()""" - return _coin.SoAsciiText_initClass(*args) - -class SoBaseColor(SoNode): - """Proxy of C++ SoBaseColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBaseColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBaseColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBaseColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBaseColor""" - this = _coin.new_SoBaseColor(*args) - try: self.this.append(this) - except: self.this = this - rgb = _swig_property(_coin.SoBaseColor_rgb_get, _coin.SoBaseColor_rgb_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBaseColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBaseColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBaseColor_callback(*args) - -SoBaseColor_swigregister = _coin.SoBaseColor_swigregister -SoBaseColor_swigregister(SoBaseColor) - -def SoBaseColor_getClassTypeId(*args): - """SoBaseColor_getClassTypeId() -> SoType""" - return _coin.SoBaseColor_getClassTypeId(*args) - -def SoBaseColor_initClass(*args): - """SoBaseColor_initClass()""" - return _coin.SoBaseColor_initClass(*args) - -SO_SWITCH_NONE = _coin.SO_SWITCH_NONE -SO_SWITCH_INHERIT = _coin.SO_SWITCH_INHERIT -SO_SWITCH_ALL = _coin.SO_SWITCH_ALL -class SoSwitch(SoGroup): - """Proxy of C++ SoSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoSwitch - __init__(self, int numchildren) -> SoSwitch - """ - this = _coin.new_SoSwitch(*args) - try: self.this.append(this) - except: self.this = this - whichChild = _swig_property(_coin.SoSwitch_whichChild_get, _coin.SoSwitch_whichChild_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSwitch_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSwitch_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSwitch_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSwitch_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoSwitch_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSwitch_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoSwitch_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoSwitch_notify(*args) - -SoSwitch_swigregister = _coin.SoSwitch_swigregister -SoSwitch_swigregister(SoSwitch) - -def SoSwitch_getClassTypeId(*args): - """SoSwitch_getClassTypeId() -> SoType""" - return _coin.SoSwitch_getClassTypeId(*args) - -def SoSwitch_initClass(*args): - """SoSwitch_initClass()""" - return _coin.SoSwitch_initClass(*args) - -class SoBlinker(SoSwitch): - """Proxy of C++ SoBlinker class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBlinker_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBlinker_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBlinker_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBlinker""" - this = _coin.new_SoBlinker(*args) - try: self.this.append(this) - except: self.this = this - speed = _swig_property(_coin.SoBlinker_speed_get, _coin.SoBlinker_speed_set) - on = _swig_property(_coin.SoBlinker_on_get, _coin.SoBlinker_on_set) - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoBlinker_getBoundingBox(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoBlinker_write(*args) - -SoBlinker_swigregister = _coin.SoBlinker_swigregister -SoBlinker_swigregister(SoBlinker) - -def SoBlinker_getClassTypeId(*args): - """SoBlinker_getClassTypeId() -> SoType""" - return _coin.SoBlinker_getClassTypeId(*args) - -def SoBlinker_initClass(*args): - """SoBlinker_initClass()""" - return _coin.SoBlinker_initClass(*args) - -class SoBumpMapCoordinate(SoNode): - """Proxy of C++ SoBumpMapCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMapCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMapCoordinate""" - this = _coin.new_SoBumpMapCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoBumpMapCoordinate_point_get, _coin.SoBumpMapCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMapCoordinate_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMapCoordinate_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMapCoordinate_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoBumpMapCoordinate_pick(*args) - -SoBumpMapCoordinate_swigregister = _coin.SoBumpMapCoordinate_swigregister -SoBumpMapCoordinate_swigregister(SoBumpMapCoordinate) - -def SoBumpMapCoordinate_getClassTypeId(*args): - """SoBumpMapCoordinate_getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinate_getClassTypeId(*args) - -def SoBumpMapCoordinate_initClass(*args): - """SoBumpMapCoordinate_initClass()""" - return _coin.SoBumpMapCoordinate_initClass(*args) - -class SoBumpMap(SoNode): - """Proxy of C++ SoBumpMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMap""" - this = _coin.new_SoBumpMap(*args) - try: self.this.append(this) - except: self.this = this - REPEAT = _coin.SoBumpMap_REPEAT - CLAMP = _coin.SoBumpMap_CLAMP - filename = _swig_property(_coin.SoBumpMap_filename_get, _coin.SoBumpMap_filename_set) - image = _swig_property(_coin.SoBumpMap_image_get, _coin.SoBumpMap_image_set) - wrapS = _swig_property(_coin.SoBumpMap_wrapS_get, _coin.SoBumpMap_wrapS_set) - wrapT = _swig_property(_coin.SoBumpMap_wrapT_get, _coin.SoBumpMap_wrapT_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMap_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMap_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoBumpMap_rayPick(*args) - -SoBumpMap_swigregister = _coin.SoBumpMap_swigregister -SoBumpMap_swigregister(SoBumpMap) - -def SoBumpMap_getClassTypeId(*args): - """SoBumpMap_getClassTypeId() -> SoType""" - return _coin.SoBumpMap_getClassTypeId(*args) - -def SoBumpMap_initClass(*args): - """SoBumpMap_initClass()""" - return _coin.SoBumpMap_initClass(*args) - -class SoBumpMapTransform(SoNode): - """Proxy of C++ SoBumpMapTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMapTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMapTransform""" - this = _coin.new_SoBumpMapTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoBumpMapTransform_translation_get, _coin.SoBumpMapTransform_translation_set) - rotation = _swig_property(_coin.SoBumpMapTransform_rotation_get, _coin.SoBumpMapTransform_rotation_set) - scaleFactor = _swig_property(_coin.SoBumpMapTransform_scaleFactor_get, _coin.SoBumpMapTransform_scaleFactor_set) - center = _swig_property(_coin.SoBumpMapTransform_center_get, _coin.SoBumpMapTransform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMapTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMapTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMapTransform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoBumpMapTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoBumpMapTransform_pick(*args) - -SoBumpMapTransform_swigregister = _coin.SoBumpMapTransform_swigregister -SoBumpMapTransform_swigregister(SoBumpMapTransform) - -def SoBumpMapTransform_getClassTypeId(*args): - """SoBumpMapTransform_getClassTypeId() -> SoType""" - return _coin.SoBumpMapTransform_getClassTypeId(*args) - -def SoBumpMapTransform_initClass(*args): - """SoBumpMapTransform_initClass()""" - return _coin.SoBumpMapTransform_initClass(*args) - -class SoCallback(SoNode): - """Proxy of C++ SoCallback class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCallback_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCallback_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCallback_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCallback""" - this = _coin.new_SoCallback(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCallback_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCallback_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCallback_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCallback_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoCallback_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoCallback_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCallback_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoCallback_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoCallback_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCallback_getPrimitiveCount(*args) - - def setCallback(*args): - """ - setCallback(self, SoCallbackCB function, void userdata=None) - setCallback(self, SoCallbackCB function) - setCallback(self, PyObject pyfunc, PyObject userdata=None) - setCallback(self, PyObject pyfunc) - """ - return _coin.SoCallback_setCallback(*args) - -SoCallback_swigregister = _coin.SoCallback_swigregister -SoCallback_swigregister(SoCallback) - -def SoCallback_getClassTypeId(*args): - """SoCallback_getClassTypeId() -> SoType""" - return _coin.SoCallback_getClassTypeId(*args) - -def SoCallback_initClass(*args): - """SoCallback_initClass()""" - return _coin.SoCallback_initClass(*args) - -SO_ASPECT_SQUARE = _coin.SO_ASPECT_SQUARE -SO_ASPECT_VIDEO = _coin.SO_ASPECT_VIDEO -SO_ASPECT_35mm_ACADEMY = _coin.SO_ASPECT_35mm_ACADEMY -SO_ASPECT_16mm = _coin.SO_ASPECT_16mm -SO_ASPECT_35mm_FULL = _coin.SO_ASPECT_35mm_FULL -SO_ASPECT_70mm = _coin.SO_ASPECT_70mm -SO_ASPECT_CINEMASCOPE = _coin.SO_ASPECT_CINEMASCOPE -SO_ASPECT_HDTV = _coin.SO_ASPECT_HDTV -SO_ASPECT_PANAVISION = _coin.SO_ASPECT_PANAVISION -SO_ASPECT_35mm = _coin.SO_ASPECT_35mm -SO_ASPECT_VISTAVISION = _coin.SO_ASPECT_VISTAVISION -class SoCamera(SoNode): - """Proxy of C++ SoCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCamera_initClass(*args) - - initClass = staticmethod(initClass) - CROP_VIEWPORT_FILL_FRAME = _coin.SoCamera_CROP_VIEWPORT_FILL_FRAME - CROP_VIEWPORT_LINE_FRAME = _coin.SoCamera_CROP_VIEWPORT_LINE_FRAME - CROP_VIEWPORT_NO_FRAME = _coin.SoCamera_CROP_VIEWPORT_NO_FRAME - ADJUST_CAMERA = _coin.SoCamera_ADJUST_CAMERA - LEAVE_ALONE = _coin.SoCamera_LEAVE_ALONE - viewportMapping = _swig_property(_coin.SoCamera_viewportMapping_get, _coin.SoCamera_viewportMapping_set) - position = _swig_property(_coin.SoCamera_position_get, _coin.SoCamera_position_set) - orientation = _swig_property(_coin.SoCamera_orientation_get, _coin.SoCamera_orientation_set) - aspectRatio = _swig_property(_coin.SoCamera_aspectRatio_get, _coin.SoCamera_aspectRatio_set) - nearDistance = _swig_property(_coin.SoCamera_nearDistance_get, _coin.SoCamera_nearDistance_set) - farDistance = _swig_property(_coin.SoCamera_farDistance_get, _coin.SoCamera_farDistance_set) - focalDistance = _swig_property(_coin.SoCamera_focalDistance_get, _coin.SoCamera_focalDistance_set) - def pointAt(*args): - """ - pointAt(self, SbVec3f targetpoint) - pointAt(self, SbVec3f targetpoint, SbVec3f upvector) - """ - return _coin.SoCamera_pointAt(*args) - - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoCamera_getViewVolume(*args) - - def viewAll(*args): - """ - viewAll(self, SoNode sceneroot, SbViewportRegion vpregion, float slack=1.0) - viewAll(self, SoNode sceneroot, SbViewportRegion vpregion) - viewAll(self, SoPath path, SbViewportRegion vpregion, float slack=1.0) - viewAll(self, SoPath path, SbViewportRegion vpregion) - """ - return _coin.SoCamera_viewAll(*args) - - def getViewportBounds(*args): - """getViewportBounds(self, SbViewportRegion region) -> SbViewportRegion""" - return _coin.SoCamera_getViewportBounds(*args) - - MONOSCOPIC = _coin.SoCamera_MONOSCOPIC - LEFT_VIEW = _coin.SoCamera_LEFT_VIEW - RIGHT_VIEW = _coin.SoCamera_RIGHT_VIEW - def setStereoMode(*args): - """setStereoMode(self, StereoMode mode)""" - return _coin.SoCamera_setStereoMode(*args) - - def getStereoMode(*args): - """getStereoMode(self) -> StereoMode""" - return _coin.SoCamera_getStereoMode(*args) - - def setStereoAdjustment(*args): - """setStereoAdjustment(self, float adjustment)""" - return _coin.SoCamera_setStereoAdjustment(*args) - - def getStereoAdjustment(*args): - """getStereoAdjustment(self) -> float""" - return _coin.SoCamera_getStereoAdjustment(*args) - - def setBalanceAdjustment(*args): - """setBalanceAdjustment(self, float adjustment)""" - return _coin.SoCamera_setBalanceAdjustment(*args) - - def getBalanceAdjustment(*args): - """getBalanceAdjustment(self) -> float""" - return _coin.SoCamera_getBalanceAdjustment(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCamera_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCamera_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCamera_GLRender(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoCamera_audioRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCamera_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoCamera_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCamera_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCamera_getPrimitiveCount(*args) - -SoCamera_swigregister = _coin.SoCamera_swigregister -SoCamera_swigregister(SoCamera) - -def SoCamera_getClassTypeId(*args): - """SoCamera_getClassTypeId() -> SoType""" - return _coin.SoCamera_getClassTypeId(*args) - -def SoCamera_initClass(*args): - """SoCamera_initClass()""" - return _coin.SoCamera_initClass(*args) - -class SoColorIndex(SoNode): - """Proxy of C++ SoColorIndex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoColorIndex_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoColorIndex_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoColorIndex_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoColorIndex""" - this = _coin.new_SoColorIndex(*args) - try: self.this.append(this) - except: self.this = this - index = _swig_property(_coin.SoColorIndex_index_get, _coin.SoColorIndex_index_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoColorIndex_GLRender(*args) - -SoColorIndex_swigregister = _coin.SoColorIndex_swigregister -SoColorIndex_swigregister(SoColorIndex) - -def SoColorIndex_getClassTypeId(*args): - """SoColorIndex_getClassTypeId() -> SoType""" - return _coin.SoColorIndex_getClassTypeId(*args) - -def SoColorIndex_initClass(*args): - """SoColorIndex_initClass()""" - return _coin.SoColorIndex_initClass(*args) - -class SoCone(SoShape): - """Proxy of C++ SoCone class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCone_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCone_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCone_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCone""" - this = _coin.new_SoCone(*args) - try: self.this.append(this) - except: self.this = this - SIDES = _coin.SoCone_SIDES - BOTTOM = _coin.SoCone_BOTTOM - ALL = _coin.SoCone_ALL - parts = _swig_property(_coin.SoCone_parts_get, _coin.SoCone_parts_set) - bottomRadius = _swig_property(_coin.SoCone_bottomRadius_get, _coin.SoCone_bottomRadius_set) - height = _swig_property(_coin.SoCone_height_get, _coin.SoCone_height_set) - def addPart(*args): - """addPart(self, Part part)""" - return _coin.SoCone_addPart(*args) - - def removePart(*args): - """removePart(self, Part part)""" - return _coin.SoCone_removePart(*args) - - def hasPart(*args): - """hasPart(self, Part part) -> SbBool""" - return _coin.SoCone_hasPart(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCone_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCone_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCone_getPrimitiveCount(*args) - -SoCone_swigregister = _coin.SoCone_swigregister -SoCone_swigregister(SoCone) - -def SoCone_getClassTypeId(*args): - """SoCone_getClassTypeId() -> SoType""" - return _coin.SoCone_getClassTypeId(*args) - -def SoCone_initClass(*args): - """SoCone_initClass()""" - return _coin.SoCone_initClass(*args) - -class SoCoordinate3(SoNode): - """Proxy of C++ SoCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCoordinate3""" - this = _coin.new_SoCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoCoordinate3_point_get, _coin.SoCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCoordinate3_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCoordinate3_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCoordinate3_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCoordinate3_getPrimitiveCount(*args) - -SoCoordinate3_swigregister = _coin.SoCoordinate3_swigregister -SoCoordinate3_swigregister(SoCoordinate3) - -def SoCoordinate3_getClassTypeId(*args): - """SoCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoCoordinate3_getClassTypeId(*args) - -def SoCoordinate3_initClass(*args): - """SoCoordinate3_initClass()""" - return _coin.SoCoordinate3_initClass(*args) - -class SoCoordinate4(SoNode): - """Proxy of C++ SoCoordinate4 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinate4_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCoordinate4_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCoordinate4_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCoordinate4""" - this = _coin.new_SoCoordinate4(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoCoordinate4_point_get, _coin.SoCoordinate4_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCoordinate4_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCoordinate4_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCoordinate4_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCoordinate4_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCoordinate4_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCoordinate4_getPrimitiveCount(*args) - -SoCoordinate4_swigregister = _coin.SoCoordinate4_swigregister -SoCoordinate4_swigregister(SoCoordinate4) - -def SoCoordinate4_getClassTypeId(*args): - """SoCoordinate4_getClassTypeId() -> SoType""" - return _coin.SoCoordinate4_getClassTypeId(*args) - -def SoCoordinate4_initClass(*args): - """SoCoordinate4_initClass()""" - return _coin.SoCoordinate4_initClass(*args) - -class SoCube(SoShape): - """Proxy of C++ SoCube class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCube_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCube_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCube_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCube""" - this = _coin.new_SoCube(*args) - try: self.this.append(this) - except: self.this = this - width = _swig_property(_coin.SoCube_width_get, _coin.SoCube_width_set) - height = _swig_property(_coin.SoCube_height_get, _coin.SoCube_height_set) - depth = _swig_property(_coin.SoCube_depth_get, _coin.SoCube_depth_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCube_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCube_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCube_getPrimitiveCount(*args) - -SoCube_swigregister = _coin.SoCube_swigregister -SoCube_swigregister(SoCube) - -def SoCube_getClassTypeId(*args): - """SoCube_getClassTypeId() -> SoType""" - return _coin.SoCube_getClassTypeId(*args) - -def SoCube_initClass(*args): - """SoCube_initClass()""" - return _coin.SoCube_initClass(*args) - -class SoCylinder(SoShape): - """Proxy of C++ SoCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCylinder""" - this = _coin.new_SoCylinder(*args) - try: self.this.append(this) - except: self.this = this - SIDES = _coin.SoCylinder_SIDES - TOP = _coin.SoCylinder_TOP - BOTTOM = _coin.SoCylinder_BOTTOM - ALL = _coin.SoCylinder_ALL - radius = _swig_property(_coin.SoCylinder_radius_get, _coin.SoCylinder_radius_set) - height = _swig_property(_coin.SoCylinder_height_get, _coin.SoCylinder_height_set) - parts = _swig_property(_coin.SoCylinder_parts_get, _coin.SoCylinder_parts_set) - def addPart(*args): - """addPart(self, Part part)""" - return _coin.SoCylinder_addPart(*args) - - def removePart(*args): - """removePart(self, Part part)""" - return _coin.SoCylinder_removePart(*args) - - def hasPart(*args): - """hasPart(self, Part part) -> SbBool""" - return _coin.SoCylinder_hasPart(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCylinder_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCylinder_getPrimitiveCount(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCylinder_GLRender(*args) - -SoCylinder_swigregister = _coin.SoCylinder_swigregister -SoCylinder_swigregister(SoCylinder) - -def SoCylinder_getClassTypeId(*args): - """SoCylinder_getClassTypeId() -> SoType""" - return _coin.SoCylinder_getClassTypeId(*args) - -def SoCylinder_initClass(*args): - """SoCylinder_initClass()""" - return _coin.SoCylinder_initClass(*args) - -class SoEnvironment(SoNode): - """Proxy of C++ SoEnvironment class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEnvironment_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEnvironment_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEnvironment_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoEnvironment""" - this = _coin.new_SoEnvironment(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoEnvironment_NONE - HAZE = _coin.SoEnvironment_HAZE - FOG = _coin.SoEnvironment_FOG - SMOKE = _coin.SoEnvironment_SMOKE - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoEnvironment_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoEnvironment_callback(*args) - - ambientIntensity = _swig_property(_coin.SoEnvironment_ambientIntensity_get, _coin.SoEnvironment_ambientIntensity_set) - ambientColor = _swig_property(_coin.SoEnvironment_ambientColor_get, _coin.SoEnvironment_ambientColor_set) - attenuation = _swig_property(_coin.SoEnvironment_attenuation_get, _coin.SoEnvironment_attenuation_set) - fogType = _swig_property(_coin.SoEnvironment_fogType_get, _coin.SoEnvironment_fogType_set) - fogColor = _swig_property(_coin.SoEnvironment_fogColor_get, _coin.SoEnvironment_fogColor_set) - fogVisibility = _swig_property(_coin.SoEnvironment_fogVisibility_get, _coin.SoEnvironment_fogVisibility_set) -SoEnvironment_swigregister = _coin.SoEnvironment_swigregister -SoEnvironment_swigregister(SoEnvironment) - -def SoEnvironment_getClassTypeId(*args): - """SoEnvironment_getClassTypeId() -> SoType""" - return _coin.SoEnvironment_getClassTypeId(*args) - -def SoEnvironment_initClass(*args): - """SoEnvironment_initClass()""" - return _coin.SoEnvironment_initClass(*args) - -class SoEventCallback(SoNode): - """Proxy of C++ SoEventCallback class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEventCallback_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEventCallback_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEventCallback_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoEventCallback""" - this = _coin.new_SoEventCallback(*args) - try: self.this.append(this) - except: self.this = this - def setPath(*args): - """setPath(self, SoPath path)""" - return _coin.SoEventCallback_setPath(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoEventCallback_getPath(*args) - - def getAction(*args): - """getAction(self) -> SoHandleEventAction""" - return _coin.SoEventCallback_getAction(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoEventCallback_getEvent(*args) - - def getPickedPoint(*args): - """getPickedPoint(self) -> SoPickedPoint""" - return _coin.SoEventCallback_getPickedPoint(*args) - - def setHandled(*args): - """setHandled(self)""" - return _coin.SoEventCallback_setHandled(*args) - - def isHandled(*args): - """isHandled(self) -> SbBool""" - return _coin.SoEventCallback_isHandled(*args) - - def grabEvents(*args): - """grabEvents(self)""" - return _coin.SoEventCallback_grabEvents(*args) - - def releaseEvents(*args): - """releaseEvents(self)""" - return _coin.SoEventCallback_releaseEvents(*args) - - def addEventCallback(*args): - """ - addEventCallback(self, SoType eventtype, SoEventCallbackCB f, void userdata=None) - addEventCallback(self, SoType eventtype, SoEventCallbackCB f) - addEventCallback(self, SoType eventtype, PyObject pyfunc, PyObject userdata=None) - addEventCallback(self, SoType eventtype, PyObject pyfunc) - """ - return _coin.SoEventCallback_addEventCallback(*args) - - def removeEventCallback(*args): - """ - removeEventCallback(self, SoType eventtype, SoEventCallbackCB f, void userdata=None) - removeEventCallback(self, SoType eventtype, SoEventCallbackCB f) - removeEventCallback(self, SoType eventtype, PyObject pyfunc, PyObject userdata=None) - removeEventCallback(self, SoType eventtype, PyObject pyfunc) - """ - return _coin.SoEventCallback_removeEventCallback(*args) - -SoEventCallback_swigregister = _coin.SoEventCallback_swigregister -SoEventCallback_swigregister(SoEventCallback) - -def SoEventCallback_getClassTypeId(*args): - """SoEventCallback_getClassTypeId() -> SoType""" - return _coin.SoEventCallback_getClassTypeId(*args) - -def SoEventCallback_initClass(*args): - """SoEventCallback_initClass()""" - return _coin.SoEventCallback_initClass(*args) - -class SoSelection(SoSeparator): - """Proxy of C++ SoSelection class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSelection_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSelection_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSelection_initClass(*args) - - initClass = staticmethod(initClass) - SINGLE = _coin.SoSelection_SINGLE - TOGGLE = _coin.SoSelection_TOGGLE - SHIFT = _coin.SoSelection_SHIFT - policy = _swig_property(_coin.SoSelection_policy_get, _coin.SoSelection_policy_set) - def __init__(self, *args): - """ - __init__(self) -> SoSelection - __init__(self, int nChildren) -> SoSelection - """ - this = _coin.new_SoSelection(*args) - try: self.this.append(this) - except: self.this = this - def select(*args): - """ - select(self, SoPath path) - select(self, SoNode node) - """ - return _coin.SoSelection_select(*args) - - def deselect(*args): - """ - deselect(self, SoPath path) - deselect(self, int which) - deselect(self, SoNode node) - """ - return _coin.SoSelection_deselect(*args) - - def toggle(*args): - """ - toggle(self, SoPath path) - toggle(self, SoNode node) - """ - return _coin.SoSelection_toggle(*args) - - def isSelected(*args): - """ - isSelected(self, SoPath path) -> SbBool - isSelected(self, SoNode node) -> SbBool - """ - return _coin.SoSelection_isSelected(*args) - - def deselectAll(*args): - """deselectAll(self)""" - return _coin.SoSelection_deselectAll(*args) - - def getNumSelected(*args): - """getNumSelected(self) -> int""" - return _coin.SoSelection_getNumSelected(*args) - - def getList(*args): - """getList(self) -> SoPathList""" - return _coin.SoSelection_getList(*args) - - def getPath(*args): - """getPath(self, int index) -> SoPath""" - return _coin.SoSelection_getPath(*args) - - def setPickMatching(*args): - """setPickMatching(self, SbBool pickMatching)""" - return _coin.SoSelection_setPickMatching(*args) - - def isPickMatching(*args): - """isPickMatching(self) -> SbBool""" - return _coin.SoSelection_isPickMatching(*args) - - def getPickMatching(*args): - """getPickMatching(self) -> SbBool""" - return _coin.SoSelection_getPickMatching(*args) - - def addSelectionCallback(*args): - """ - addSelectionCallback(self, SoSelectionPathCB f, void userData=None) - addSelectionCallback(self, SoSelectionPathCB f) - addSelectionCallback(self, PyObject pyfunc, PyObject userdata=None) - addSelectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addSelectionCallback(*args) - - def removeSelectionCallback(*args): - """ - removeSelectionCallback(self, SoSelectionPathCB f, void userData=None) - removeSelectionCallback(self, SoSelectionPathCB f) - removeSelectionCallback(self, PyObject pyfunc, PyObject userdata=None) - removeSelectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeSelectionCallback(*args) - - def addDeselectionCallback(*args): - """ - addDeselectionCallback(self, SoSelectionPathCB f, void userData=None) - addDeselectionCallback(self, SoSelectionPathCB f) - addDeselectionCallback(self, PyObject pyfunc, PyObject userdata=None) - addDeselectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addDeselectionCallback(*args) - - def removeDeselectionCallback(*args): - """ - removeDeselectionCallback(self, SoSelectionPathCB f, void userData=None) - removeDeselectionCallback(self, SoSelectionPathCB f) - removeDeselectionCallback(self, PyObject pyfunc, PyObject userdata=None) - removeDeselectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeDeselectionCallback(*args) - - def addStartCallback(*args): - """ - addStartCallback(self, SoSelectionClassCB f, void userData=None) - addStartCallback(self, SoSelectionClassCB f) - addStartCallback(self, PyObject pyfunc, PyObject userdata=None) - addStartCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addStartCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoSelectionClassCB f, void userData=None) - removeStartCallback(self, SoSelectionClassCB f) - removeStartCallback(self, PyObject pyfunc, PyObject userdata=None) - removeStartCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeStartCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoSelectionClassCB f, void userData=None) - addFinishCallback(self, SoSelectionClassCB f) - addFinishCallback(self, PyObject pyfunc, PyObject userdata=None) - addFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addFinishCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoSelectionClassCB f, void userData=None) - removeFinishCallback(self, SoSelectionClassCB f) - removeFinishCallback(self, PyObject pyfunc, PyObject userdata=None) - removeFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeFinishCallback(*args) - - def setPickFilterCallback(*args): - """ - setPickFilterCallback(self, SoSelectionPickCB f, void userData=None, SbBool callOnlyIfSelectable=1) - setPickFilterCallback(self, SoSelectionPickCB f, void userData=None) - setPickFilterCallback(self, SoSelectionPickCB f) - setPickFilterCallback(self, PyObject pyfunc, PyObject userdata=None, int callOnlyIfSelectable=1) - setPickFilterCallback(self, PyObject pyfunc, PyObject userdata=None) - setPickFilterCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_setPickFilterCallback(*args) - - def addChangeCallback(*args): - """ - addChangeCallback(self, SoSelectionClassCB f, void userData=None) - addChangeCallback(self, SoSelectionClassCB f) - addChangeCallback(self, PyObject pyfunc, PyObject userdata=None) - addChangeCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addChangeCallback(*args) - - def removeChangeCallback(*args): - """ - removeChangeCallback(self, SoSelectionClassCB f, void userData=None) - removeChangeCallback(self, SoSelectionClassCB f) - removeChangeCallback(self, PyObject pyfunc, PyObject userdata=None) - removeChangeCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeChangeCallback(*args) - -SoSelection_swigregister = _coin.SoSelection_swigregister -SoSelection_swigregister(SoSelection) - -def SoSelection_getClassTypeId(*args): - """SoSelection_getClassTypeId() -> SoType""" - return _coin.SoSelection_getClassTypeId(*args) - -def SoSelection_initClass(*args): - """SoSelection_initClass()""" - return _coin.SoSelection_initClass(*args) - -class SoExtSelection(SoSelection): - """Proxy of C++ SoExtSelection class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoExtSelection_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoExtSelection_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoExtSelection_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoExtSelection""" - this = _coin.new_SoExtSelection(*args) - try: self.this.append(this) - except: self.this = this - NOLASSO = _coin.SoExtSelection_NOLASSO - LASSO = _coin.SoExtSelection_LASSO - RECTANGLE = _coin.SoExtSelection_RECTANGLE - FULL_BBOX = _coin.SoExtSelection_FULL_BBOX - PART_BBOX = _coin.SoExtSelection_PART_BBOX - FULL = _coin.SoExtSelection_FULL - PART = _coin.SoExtSelection_PART - ALL_SHAPES = _coin.SoExtSelection_ALL_SHAPES - VISIBLE_SHAPES = _coin.SoExtSelection_VISIBLE_SHAPES - lassoType = _swig_property(_coin.SoExtSelection_lassoType_get, _coin.SoExtSelection_lassoType_set) - lassoPolicy = _swig_property(_coin.SoExtSelection_lassoPolicy_get, _coin.SoExtSelection_lassoPolicy_set) - lassoMode = _swig_property(_coin.SoExtSelection_lassoMode_get, _coin.SoExtSelection_lassoMode_set) - def useOverlay(*args): - """ - useOverlay(self, SbBool overlay=1) - useOverlay(self) - """ - return _coin.SoExtSelection_useOverlay(*args) - - def isUsingOverlay(*args): - """isUsingOverlay(self) -> SbBool""" - return _coin.SoExtSelection_isUsingOverlay(*args) - - def getOverlaySceneGraph(*args): - """getOverlaySceneGraph(self) -> SoSeparator""" - return _coin.SoExtSelection_getOverlaySceneGraph(*args) - - def setOverlayLassoColorIndex(*args): - """setOverlayLassoColorIndex(self, int index)""" - return _coin.SoExtSelection_setOverlayLassoColorIndex(*args) - - def getOverlayLassoColorIndex(*args): - """getOverlayLassoColorIndex(self) -> int""" - return _coin.SoExtSelection_getOverlayLassoColorIndex(*args) - - def setLassoColor(*args): - """setLassoColor(self, SbColor color)""" - return _coin.SoExtSelection_setLassoColor(*args) - - def getLassoColor(*args): - """getLassoColor(self) -> SbColor""" - return _coin.SoExtSelection_getLassoColor(*args) - - def setLassoWidth(*args): - """setLassoWidth(self, float width)""" - return _coin.SoExtSelection_setLassoWidth(*args) - - def getLassoWidth(*args): - """getLassoWidth(self) -> float""" - return _coin.SoExtSelection_getLassoWidth(*args) - - def setOverlayLassoPattern(*args): - """setOverlayLassoPattern(self, unsigned short pattern)""" - return _coin.SoExtSelection_setOverlayLassoPattern(*args) - - def getOverlayLassoPattern(*args): - """getOverlayLassoPattern(self) -> unsigned short""" - return _coin.SoExtSelection_getOverlayLassoPattern(*args) - - def animateOverlayLasso(*args): - """ - animateOverlayLasso(self, SbBool animate=1) - animateOverlayLasso(self) - """ - return _coin.SoExtSelection_animateOverlayLasso(*args) - - def isOverlayLassoAnimated(*args): - """isOverlayLassoAnimated(self) -> SbBool""" - return _coin.SoExtSelection_isOverlayLassoAnimated(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoExtSelection_handleEvent(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoExtSelection_GLRenderBelowPath(*args) - - def select(*args): - """ - select(self, SoNode root, int numcoords, SbVec2f lasso, SbViewportRegion vp, - SbBool shiftpolicy) - select(self, SoNode root, int numcoords, SbVec3f lasso, SbViewportRegion vp, - SbBool shiftkeypolicy) - """ - return _coin.SoExtSelection_select(*args) - - def getLassoCoordsDC(*args): - """getLassoCoordsDC(self, int numCoords) -> SbVec2s""" - return _coin.SoExtSelection_getLassoCoordsDC(*args) - - def getLassoCoordsWC(*args): - """getLassoCoordsWC(self, int numCoords) -> SbVec3f""" - return _coin.SoExtSelection_getLassoCoordsWC(*args) - - def getSelectionPathList(*args): - """getSelectionPathList(self) -> SoPathList""" - return _coin.SoExtSelection_getSelectionPathList(*args) - - def setLassoFilterCallback(*args): - """ - setLassoFilterCallback(self, SoLassoSelectionFilterCB f, void userdata=None, SbBool callonlyifselectable=1) - setLassoFilterCallback(self, SoLassoSelectionFilterCB f, void userdata=None) - setLassoFilterCallback(self, SoLassoSelectionFilterCB f) - """ - return _coin.SoExtSelection_setLassoFilterCallback(*args) - - def setTriangleFilterCallback(*args): - """ - setTriangleFilterCallback(self, SoExtSelectionTriangleCB func, void userdata=None) - setTriangleFilterCallback(self, SoExtSelectionTriangleCB func) - """ - return _coin.SoExtSelection_setTriangleFilterCallback(*args) - - def setLineSegmentFilterCallback(*args): - """ - setLineSegmentFilterCallback(self, SoExtSelectionLineSegmentCB func, void userdata=None) - setLineSegmentFilterCallback(self, SoExtSelectionLineSegmentCB func) - """ - return _coin.SoExtSelection_setLineSegmentFilterCallback(*args) - - def setPointFilterCallback(*args): - """ - setPointFilterCallback(self, SoExtSelectionPointCB func, void userdata=None) - setPointFilterCallback(self, SoExtSelectionPointCB func) - """ - return _coin.SoExtSelection_setPointFilterCallback(*args) - - def wasShiftDown(*args): - """wasShiftDown(self) -> SbBool""" - return _coin.SoExtSelection_wasShiftDown(*args) - -SoExtSelection_swigregister = _coin.SoExtSelection_swigregister -SoExtSelection_swigregister(SoExtSelection) - -def SoExtSelection_getClassTypeId(*args): - """SoExtSelection_getClassTypeId() -> SoType""" - return _coin.SoExtSelection_getClassTypeId(*args) - -def SoExtSelection_initClass(*args): - """SoExtSelection_initClass()""" - return _coin.SoExtSelection_initClass(*args) - -class SoVertexProperty(SoNode): - """Proxy of C++ SoVertexProperty class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexProperty_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexProperty_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexProperty_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVertexProperty""" - this = _coin.new_SoVertexProperty(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoVertexProperty_OVERALL - PER_PART = _coin.SoVertexProperty_PER_PART - PER_PART_INDEXED = _coin.SoVertexProperty_PER_PART_INDEXED - PER_FACE = _coin.SoVertexProperty_PER_FACE - PER_FACE_INDEXED = _coin.SoVertexProperty_PER_FACE_INDEXED - PER_VERTEX = _coin.SoVertexProperty_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVertexProperty_PER_VERTEX_INDEXED - vertex = _swig_property(_coin.SoVertexProperty_vertex_get, _coin.SoVertexProperty_vertex_set) - texCoord = _swig_property(_coin.SoVertexProperty_texCoord_get, _coin.SoVertexProperty_texCoord_set) - texCoord3 = _swig_property(_coin.SoVertexProperty_texCoord3_get, _coin.SoVertexProperty_texCoord3_set) - normal = _swig_property(_coin.SoVertexProperty_normal_get, _coin.SoVertexProperty_normal_set) - normalBinding = _swig_property(_coin.SoVertexProperty_normalBinding_get, _coin.SoVertexProperty_normalBinding_set) - orderedRGBA = _swig_property(_coin.SoVertexProperty_orderedRGBA_get, _coin.SoVertexProperty_orderedRGBA_set) - materialBinding = _swig_property(_coin.SoVertexProperty_materialBinding_get, _coin.SoVertexProperty_materialBinding_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVertexProperty_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVertexProperty_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVertexProperty_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVertexProperty_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVertexProperty_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVertexProperty_getPrimitiveCount(*args) - -SoVertexProperty_swigregister = _coin.SoVertexProperty_swigregister -SoVertexProperty_swigregister(SoVertexProperty) - -def SoVertexProperty_getClassTypeId(*args): - """SoVertexProperty_getClassTypeId() -> SoType""" - return _coin.SoVertexProperty_getClassTypeId(*args) - -def SoVertexProperty_initClass(*args): - """SoVertexProperty_initClass()""" - return _coin.SoVertexProperty_initClass(*args) - -class SoVertexShape(SoShape): - """Proxy of C++ SoVertexShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexShape_initClass(*args) - - initClass = staticmethod(initClass) - vertexProperty = _swig_property(_coin.SoVertexShape_vertexProperty_get, _coin.SoVertexShape_vertexProperty_set) - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoVertexShape_notify(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState state, SoNormalBundle bundle) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache cache) -> SbBool - """ - return _coin.SoVertexShape_generateDefaultNormals(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVertexShape_write(*args) - -SoVertexShape_swigregister = _coin.SoVertexShape_swigregister -SoVertexShape_swigregister(SoVertexShape) - -def SoVertexShape_getClassTypeId(*args): - """SoVertexShape_getClassTypeId() -> SoType""" - return _coin.SoVertexShape_getClassTypeId(*args) - -def SoVertexShape_initClass(*args): - """SoVertexShape_initClass()""" - return _coin.SoVertexShape_initClass(*args) - -class SoNonIndexedShape(SoVertexShape): - """Proxy of C++ SoNonIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNonIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNonIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNonIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - startIndex = _swig_property(_coin.SoNonIndexedShape_startIndex_get, _coin.SoNonIndexedShape_startIndex_set) -SoNonIndexedShape_swigregister = _coin.SoNonIndexedShape_swigregister -SoNonIndexedShape_swigregister(SoNonIndexedShape) - -def SoNonIndexedShape_getClassTypeId(*args): - """SoNonIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoNonIndexedShape_getClassTypeId(*args) - -def SoNonIndexedShape_initClass(*args): - """SoNonIndexedShape_initClass()""" - return _coin.SoNonIndexedShape_initClass(*args) - -class SoFaceSet(SoNonIndexedShape): - """Proxy of C++ SoFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFaceSet""" - this = _coin.new_SoFaceSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoFaceSet_numVertices_get, _coin.SoFaceSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFaceSet_GLRender(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoFaceSet_generateDefaultNormals(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFaceSet_getPrimitiveCount(*args) - -SoFaceSet_swigregister = _coin.SoFaceSet_swigregister -SoFaceSet_swigregister(SoFaceSet) - -def SoFaceSet_getClassTypeId(*args): - """SoFaceSet_getClassTypeId() -> SoType""" - return _coin.SoFaceSet_getClassTypeId(*args) - -def SoFaceSet_initClass(*args): - """SoFaceSet_initClass()""" - return _coin.SoFaceSet_initClass(*args) - -class SoFile(SoNode): - """Proxy of C++ SoFile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFile""" - this = _coin.new_SoFile(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoFile_name_get, _coin.SoFile_name_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFile_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFile_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFile_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFile_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoFile_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoFile_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFile_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFile_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoFile_audioRender(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoFile_search(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoFile_copyChildren(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoFile_getChildren(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFile_copyContents(*args) - - def getFullName(*args): - """getFullName(self) -> SbString""" - return _coin.SoFile_getFullName(*args) - - def setSearchOK(*args): - """setSearchOK(SbBool dosearch)""" - return _coin.SoFile_setSearchOK(*args) - - setSearchOK = staticmethod(setSearchOK) - def getSearchOK(*args): - """getSearchOK() -> SbBool""" - return _coin.SoFile_getSearchOK(*args) - - getSearchOK = staticmethod(getSearchOK) -SoFile_swigregister = _coin.SoFile_swigregister -SoFile_swigregister(SoFile) - -def SoFile_getClassTypeId(*args): - """SoFile_getClassTypeId() -> SoType""" - return _coin.SoFile_getClassTypeId(*args) - -def SoFile_initClass(*args): - """SoFile_initClass()""" - return _coin.SoFile_initClass(*args) - -def SoFile_setSearchOK(*args): - """SoFile_setSearchOK(SbBool dosearch)""" - return _coin.SoFile_setSearchOK(*args) - -def SoFile_getSearchOK(*args): - """SoFile_getSearchOK() -> SbBool""" - return _coin.SoFile_getSearchOK(*args) - -class SoFont(SoNode): - """Proxy of C++ SoFont class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFont_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFont_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFont_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFont""" - this = _coin.new_SoFont(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoFont_name_get, _coin.SoFont_name_set) - size = _swig_property(_coin.SoFont_size_get, _coin.SoFont_size_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFont_doAction(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFont_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFont_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFont_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFont_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFont_getPrimitiveCount(*args) - -SoFont_swigregister = _coin.SoFont_swigregister -SoFont_swigregister(SoFont) - -def SoFont_getClassTypeId(*args): - """SoFont_getClassTypeId() -> SoType""" - return _coin.SoFont_getClassTypeId(*args) - -def SoFont_initClass(*args): - """SoFont_initClass()""" - return _coin.SoFont_initClass(*args) - -class SoFontStyle(SoFont): - """Proxy of C++ SoFontStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFontStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFontStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFontStyle""" - this = _coin.new_SoFontStyle(*args) - try: self.this.append(this) - except: self.this = this - SERIF = _coin.SoFontStyle_SERIF - SANS = _coin.SoFontStyle_SANS - TYPEWRITER = _coin.SoFontStyle_TYPEWRITER - NONE = _coin.SoFontStyle_NONE - BOLD = _coin.SoFontStyle_BOLD - ITALIC = _coin.SoFontStyle_ITALIC - family = _swig_property(_coin.SoFontStyle_family_get, _coin.SoFontStyle_family_set) - style = _swig_property(_coin.SoFontStyle_style_get, _coin.SoFontStyle_style_set) - def getFontName(*args): - """getFontName(self) -> SbString""" - return _coin.SoFontStyle_getFontName(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFontStyle_doAction(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFontStyle_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFontStyle_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFontStyle_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFontStyle_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFontStyle_getPrimitiveCount(*args) - -SoFontStyle_swigregister = _coin.SoFontStyle_swigregister -SoFontStyle_swigregister(SoFontStyle) - -def SoFontStyle_getClassTypeId(*args): - """SoFontStyle_getClassTypeId() -> SoType""" - return _coin.SoFontStyle_getClassTypeId(*args) - -def SoFontStyle_initClass(*args): - """SoFontStyle_initClass()""" - return _coin.SoFontStyle_initClass(*args) - -class SoIndexedShape(SoVertexShape): - """Proxy of C++ SoIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoIndexedShape_coordIndex_get, _coin.SoIndexedShape_coordIndex_set) - materialIndex = _swig_property(_coin.SoIndexedShape_materialIndex_get, _coin.SoIndexedShape_materialIndex_set) - normalIndex = _swig_property(_coin.SoIndexedShape_normalIndex_get, _coin.SoIndexedShape_normalIndex_set) - textureCoordIndex = _swig_property(_coin.SoIndexedShape_textureCoordIndex_get, _coin.SoIndexedShape_textureCoordIndex_set) -SoIndexedShape_swigregister = _coin.SoIndexedShape_swigregister -SoIndexedShape_swigregister(SoIndexedShape) - -def SoIndexedShape_getClassTypeId(*args): - """SoIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoIndexedShape_getClassTypeId(*args) - -def SoIndexedShape_initClass(*args): - """SoIndexedShape_initClass()""" - return _coin.SoIndexedShape_initClass(*args) - -SO_END_FACE_INDEX = _coin.SO_END_FACE_INDEX -class SoIndexedFaceSet(SoIndexedShape): - """Proxy of C++ SoIndexedFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedFaceSet""" - this = _coin.new_SoIndexedFaceSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedFaceSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedFaceSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState state, SoNormalBundle bundle) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache cache) -> SbBool - """ - return _coin.SoIndexedFaceSet_generateDefaultNormals(*args) - -SoIndexedFaceSet_swigregister = _coin.SoIndexedFaceSet_swigregister -SoIndexedFaceSet_swigregister(SoIndexedFaceSet) - -def SoIndexedFaceSet_getClassTypeId(*args): - """SoIndexedFaceSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedFaceSet_getClassTypeId(*args) - -def SoIndexedFaceSet_initClass(*args): - """SoIndexedFaceSet_initClass()""" - return _coin.SoIndexedFaceSet_initClass(*args) - -SO_END_LINE_INDEX = _coin.SO_END_LINE_INDEX -class SoIndexedLineSet(SoIndexedShape): - """Proxy of C++ SoIndexedLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedLineSet""" - this = _coin.new_SoIndexedLineSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedLineSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoIndexedLineSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedLineSet_getPrimitiveCount(*args) - -SoIndexedLineSet_swigregister = _coin.SoIndexedLineSet_swigregister -SoIndexedLineSet_swigregister(SoIndexedLineSet) - -def SoIndexedLineSet_getClassTypeId(*args): - """SoIndexedLineSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedLineSet_getClassTypeId(*args) - -def SoIndexedLineSet_initClass(*args): - """SoIndexedLineSet_initClass()""" - return _coin.SoIndexedLineSet_initClass(*args) - -class SoIndexedNurbsCurve(SoShape): - """Proxy of C++ SoIndexedNurbsCurve class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsCurve_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedNurbsCurve_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedNurbsCurve_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedNurbsCurve""" - this = _coin.new_SoIndexedNurbsCurve(*args) - try: self.this.append(this) - except: self.this = this - numControlPoints = _swig_property(_coin.SoIndexedNurbsCurve_numControlPoints_get, _coin.SoIndexedNurbsCurve_numControlPoints_set) - coordIndex = _swig_property(_coin.SoIndexedNurbsCurve_coordIndex_get, _coin.SoIndexedNurbsCurve_coordIndex_set) - knotVector = _swig_property(_coin.SoIndexedNurbsCurve_knotVector_get, _coin.SoIndexedNurbsCurve_knotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedNurbsCurve_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoIndexedNurbsCurve_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedNurbsCurve_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoIndexedNurbsCurve_getBoundingBox(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoIndexedNurbsCurve_sendPrimitive(*args) - -SoIndexedNurbsCurve_swigregister = _coin.SoIndexedNurbsCurve_swigregister -SoIndexedNurbsCurve_swigregister(SoIndexedNurbsCurve) - -def SoIndexedNurbsCurve_getClassTypeId(*args): - """SoIndexedNurbsCurve_getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsCurve_getClassTypeId(*args) - -def SoIndexedNurbsCurve_initClass(*args): - """SoIndexedNurbsCurve_initClass()""" - return _coin.SoIndexedNurbsCurve_initClass(*args) - -class SoIndexedNurbsSurface(SoShape): - """Proxy of C++ SoIndexedNurbsSurface class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsSurface_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedNurbsSurface_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedNurbsSurface_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedNurbsSurface""" - this = _coin.new_SoIndexedNurbsSurface(*args) - try: self.this.append(this) - except: self.this = this - numUControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numUControlPoints_get, _coin.SoIndexedNurbsSurface_numUControlPoints_set) - numVControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numVControlPoints_get, _coin.SoIndexedNurbsSurface_numVControlPoints_set) - coordIndex = _swig_property(_coin.SoIndexedNurbsSurface_coordIndex_get, _coin.SoIndexedNurbsSurface_coordIndex_set) - uKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_uKnotVector_get, _coin.SoIndexedNurbsSurface_uKnotVector_set) - vKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_vKnotVector_get, _coin.SoIndexedNurbsSurface_vKnotVector_set) - numSControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numSControlPoints_get, _coin.SoIndexedNurbsSurface_numSControlPoints_set) - numTControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numTControlPoints_get, _coin.SoIndexedNurbsSurface_numTControlPoints_set) - textureCoordIndex = _swig_property(_coin.SoIndexedNurbsSurface_textureCoordIndex_get, _coin.SoIndexedNurbsSurface_textureCoordIndex_set) - sKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_sKnotVector_get, _coin.SoIndexedNurbsSurface_sKnotVector_set) - tKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_tKnotVector_get, _coin.SoIndexedNurbsSurface_tKnotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedNurbsSurface_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoIndexedNurbsSurface_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedNurbsSurface_getPrimitiveCount(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoIndexedNurbsSurface_sendPrimitive(*args) - -SoIndexedNurbsSurface_swigregister = _coin.SoIndexedNurbsSurface_swigregister -SoIndexedNurbsSurface_swigregister(SoIndexedNurbsSurface) - -def SoIndexedNurbsSurface_getClassTypeId(*args): - """SoIndexedNurbsSurface_getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsSurface_getClassTypeId(*args) - -def SoIndexedNurbsSurface_initClass(*args): - """SoIndexedNurbsSurface_initClass()""" - return _coin.SoIndexedNurbsSurface_initClass(*args) - -SO_END_STRIP_INDEX = _coin.SO_END_STRIP_INDEX -class SoIndexedTriangleStripSet(SoIndexedShape): - """Proxy of C++ SoIndexedTriangleStripSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedTriangleStripSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedTriangleStripSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedTriangleStripSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedTriangleStripSet""" - this = _coin.new_SoIndexedTriangleStripSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedTriangleStripSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedTriangleStripSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoIndexedTriangleStripSet_generateDefaultNormals(*args) - -SoIndexedTriangleStripSet_swigregister = _coin.SoIndexedTriangleStripSet_swigregister -SoIndexedTriangleStripSet_swigregister(SoIndexedTriangleStripSet) - -def SoIndexedTriangleStripSet_getClassTypeId(*args): - """SoIndexedTriangleStripSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedTriangleStripSet_getClassTypeId(*args) - -def SoIndexedTriangleStripSet_initClass(*args): - """SoIndexedTriangleStripSet_initClass()""" - return _coin.SoIndexedTriangleStripSet_initClass(*args) - -class SoInfo(SoNode): - """Proxy of C++ SoInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoInfo""" - this = _coin.new_SoInfo(*args) - try: self.this.append(this) - except: self.this = this - string = _swig_property(_coin.SoInfo_string_get, _coin.SoInfo_string_set) -SoInfo_swigregister = _coin.SoInfo_swigregister -SoInfo_swigregister(SoInfo) - -def SoInfo_getClassTypeId(*args): - """SoInfo_getClassTypeId() -> SoType""" - return _coin.SoInfo_getClassTypeId(*args) - -def SoInfo_initClass(*args): - """SoInfo_initClass()""" - return _coin.SoInfo_initClass(*args) - -class SoLabel(SoNode): - """Proxy of C++ SoLabel class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLabel_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLabel_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLabel_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLabel""" - this = _coin.new_SoLabel(*args) - try: self.this.append(this) - except: self.this = this - label = _swig_property(_coin.SoLabel_label_get, _coin.SoLabel_label_set) -SoLabel_swigregister = _coin.SoLabel_swigregister -SoLabel_swigregister(SoLabel) - -def SoLabel_getClassTypeId(*args): - """SoLabel_getClassTypeId() -> SoType""" - return _coin.SoLabel_getClassTypeId(*args) - -def SoLabel_initClass(*args): - """SoLabel_initClass()""" - return _coin.SoLabel_initClass(*args) - -class SoLevelOfDetail(SoGroup): - """Proxy of C++ SoLevelOfDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLevelOfDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLevelOfDetail_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLevelOfDetail_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoLevelOfDetail - __init__(self, int numchildren) -> SoLevelOfDetail - """ - this = _coin.new_SoLevelOfDetail(*args) - try: self.this.append(this) - except: self.this = this - screenArea = _swig_property(_coin.SoLevelOfDetail_screenArea_get, _coin.SoLevelOfDetail_screenArea_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLevelOfDetail_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLevelOfDetail_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLevelOfDetail_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoLevelOfDetail_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLevelOfDetail_getBoundingBox(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoLevelOfDetail_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoLevelOfDetail_notify(*args) - -SoLevelOfDetail_swigregister = _coin.SoLevelOfDetail_swigregister -SoLevelOfDetail_swigregister(SoLevelOfDetail) - -def SoLevelOfDetail_getClassTypeId(*args): - """SoLevelOfDetail_getClassTypeId() -> SoType""" - return _coin.SoLevelOfDetail_getClassTypeId(*args) - -def SoLevelOfDetail_initClass(*args): - """SoLevelOfDetail_initClass()""" - return _coin.SoLevelOfDetail_initClass(*args) - -class SoProfile(SoNode): - """Proxy of C++ SoProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfile_initClass(*args) - - initClass = staticmethod(initClass) - START_FIRST = _coin.SoProfile_START_FIRST - START_NEW = _coin.SoProfile_START_NEW - ADD_TO_CURRENT = _coin.SoProfile_ADD_TO_CURRENT - index = _swig_property(_coin.SoProfile_index_get, _coin.SoProfile_index_set) - linkage = _swig_property(_coin.SoProfile_linkage_get, _coin.SoProfile_linkage_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfile_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfile_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfile_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoProfile_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfile_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfile_getPrimitiveCount(*args) - - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoProfile_getVertices(*args) - -SoProfile_swigregister = _coin.SoProfile_swigregister -SoProfile_swigregister(SoProfile) - -def SoProfile_getClassTypeId(*args): - """SoProfile_getClassTypeId() -> SoType""" - return _coin.SoProfile_getClassTypeId(*args) - -def SoProfile_initClass(*args): - """SoProfile_initClass()""" - return _coin.SoProfile_initClass(*args) - -class SoLinearProfile(SoProfile): - """Proxy of C++ SoLinearProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLinearProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLinearProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLinearProfile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLinearProfile""" - this = _coin.new_SoLinearProfile(*args) - try: self.this.append(this) - except: self.this = this - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoLinearProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoLinearProfile_getVertices(*args) - -SoLinearProfile_swigregister = _coin.SoLinearProfile_swigregister -SoLinearProfile_swigregister(SoLinearProfile) - -def SoLinearProfile_getClassTypeId(*args): - """SoLinearProfile_getClassTypeId() -> SoType""" - return _coin.SoLinearProfile_getClassTypeId(*args) - -def SoLinearProfile_initClass(*args): - """SoLinearProfile_initClass()""" - return _coin.SoLinearProfile_initClass(*args) - -class SoLineSet(SoNonIndexedShape): - """Proxy of C++ SoLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLineSet""" - this = _coin.new_SoLineSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoLineSet_numVertices_get, _coin.SoLineSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLineSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLineSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoLineSet_getPrimitiveCount(*args) - -SoLineSet_swigregister = _coin.SoLineSet_swigregister -SoLineSet_swigregister(SoLineSet) - -def SoLineSet_getClassTypeId(*args): - """SoLineSet_getClassTypeId() -> SoType""" - return _coin.SoLineSet_getClassTypeId(*args) - -def SoLineSet_initClass(*args): - """SoLineSet_initClass()""" - return _coin.SoLineSet_initClass(*args) - -class SoListener(SoNode): - """Proxy of C++ SoListener class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListener_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoListener_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoListener_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoListener""" - this = _coin.new_SoListener(*args) - try: self.this.append(this) - except: self.this = this - position = _swig_property(_coin.SoListener_position_get, _coin.SoListener_position_set) - orientation = _swig_property(_coin.SoListener_orientation_get, _coin.SoListener_orientation_set) - gain = _swig_property(_coin.SoListener_gain_get, _coin.SoListener_gain_set) - dopplerVelocity = _swig_property(_coin.SoListener_dopplerVelocity_get, _coin.SoListener_dopplerVelocity_set) - dopplerFactor = _swig_property(_coin.SoListener_dopplerFactor_get, _coin.SoListener_dopplerFactor_set) -SoListener_swigregister = _coin.SoListener_swigregister -SoListener_swigregister(SoListener) - -def SoListener_getClassTypeId(*args): - """SoListener_getClassTypeId() -> SoType""" - return _coin.SoListener_getClassTypeId(*args) - -def SoListener_initClass(*args): - """SoListener_initClass()""" - return _coin.SoListener_initClass(*args) - -class SoLocateHighlight(SoSeparator): - """Proxy of C++ SoLocateHighlight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocateHighlight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLocateHighlight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLocateHighlight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLocateHighlight""" - this = _coin.new_SoLocateHighlight(*args) - try: self.this.append(this) - except: self.this = this - AUTO = _coin.SoLocateHighlight_AUTO - ON = _coin.SoLocateHighlight_ON - OFF = _coin.SoLocateHighlight_OFF - EMISSIVE = _coin.SoLocateHighlight_EMISSIVE - EMISSIVE_DIFFUSE = _coin.SoLocateHighlight_EMISSIVE_DIFFUSE - color = _swig_property(_coin.SoLocateHighlight_color_get, _coin.SoLocateHighlight_color_set) - style = _swig_property(_coin.SoLocateHighlight_style_get, _coin.SoLocateHighlight_style_set) - mode = _swig_property(_coin.SoLocateHighlight_mode_get, _coin.SoLocateHighlight_mode_set) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoLocateHighlight_handleEvent(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoLocateHighlight_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoLocateHighlight_GLRenderInPath(*args) - - def turnOffCurrentHighlight(*args): - """turnOffCurrentHighlight(SoGLRenderAction action)""" - return _coin.SoLocateHighlight_turnOffCurrentHighlight(*args) - - turnOffCurrentHighlight = staticmethod(turnOffCurrentHighlight) -SoLocateHighlight_swigregister = _coin.SoLocateHighlight_swigregister -SoLocateHighlight_swigregister(SoLocateHighlight) - -def SoLocateHighlight_getClassTypeId(*args): - """SoLocateHighlight_getClassTypeId() -> SoType""" - return _coin.SoLocateHighlight_getClassTypeId(*args) - -def SoLocateHighlight_initClass(*args): - """SoLocateHighlight_initClass()""" - return _coin.SoLocateHighlight_initClass(*args) - -def SoLocateHighlight_turnOffCurrentHighlight(*args): - """SoLocateHighlight_turnOffCurrentHighlight(SoGLRenderAction action)""" - return _coin.SoLocateHighlight_turnOffCurrentHighlight(*args) - -class SoLOD(SoGroup): - """Proxy of C++ SoLOD class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLOD_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLOD_getTypeId(*args) - - def __init__(self, *args): - """ - __init__(self) -> SoLOD - __init__(self, int numchildren) -> SoLOD - """ - this = _coin.new_SoLOD(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoLOD_initClass(*args) - - initClass = staticmethod(initClass) - range = _swig_property(_coin.SoLOD_range_get, _coin.SoLOD_range_set) - center = _swig_property(_coin.SoLOD_center_get, _coin.SoLOD_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLOD_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLOD_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderOffPath(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoLOD_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLOD_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoLOD_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoLOD_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoLOD_notify(*args) - -SoLOD_swigregister = _coin.SoLOD_swigregister -SoLOD_swigregister(SoLOD) - -def SoLOD_getClassTypeId(*args): - """SoLOD_getClassTypeId() -> SoType""" - return _coin.SoLOD_getClassTypeId(*args) - -def SoLOD_initClass(*args): - """SoLOD_initClass()""" - return _coin.SoLOD_initClass(*args) - -class SoPointSet(SoNonIndexedShape): - """Proxy of C++ SoPointSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointSet""" - this = _coin.new_SoPointSet(*args) - try: self.this.append(this) - except: self.this = this - numPoints = _swig_property(_coin.SoPointSet_numPoints_get, _coin.SoPointSet_numPoints_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPointSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoPointSet_getPrimitiveCount(*args) - -SoPointSet_swigregister = _coin.SoPointSet_swigregister -SoPointSet_swigregister(SoPointSet) - -def SoPointSet_getClassTypeId(*args): - """SoPointSet_getClassTypeId() -> SoType""" - return _coin.SoPointSet_getClassTypeId(*args) - -def SoPointSet_initClass(*args): - """SoPointSet_initClass()""" - return _coin.SoPointSet_initClass(*args) - -class SoMarkerSet(SoPointSet): - """Proxy of C++ SoMarkerSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMarkerSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMarkerSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMarkerSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMarkerSet""" - this = _coin.new_SoMarkerSet(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoMarkerSet_NONE - CROSS_5_5 = _coin.SoMarkerSet_CROSS_5_5 - PLUS_5_5 = _coin.SoMarkerSet_PLUS_5_5 - MINUS_5_5 = _coin.SoMarkerSet_MINUS_5_5 - SLASH_5_5 = _coin.SoMarkerSet_SLASH_5_5 - BACKSLASH_5_5 = _coin.SoMarkerSet_BACKSLASH_5_5 - BAR_5_5 = _coin.SoMarkerSet_BAR_5_5 - STAR_5_5 = _coin.SoMarkerSet_STAR_5_5 - Y_5_5 = _coin.SoMarkerSet_Y_5_5 - LIGHTNING_5_5 = _coin.SoMarkerSet_LIGHTNING_5_5 - WELL_5_5 = _coin.SoMarkerSet_WELL_5_5 - CIRCLE_LINE_5_5 = _coin.SoMarkerSet_CIRCLE_LINE_5_5 - SQUARE_LINE_5_5 = _coin.SoMarkerSet_SQUARE_LINE_5_5 - DIAMOND_LINE_5_5 = _coin.SoMarkerSet_DIAMOND_LINE_5_5 - TRIANGLE_LINE_5_5 = _coin.SoMarkerSet_TRIANGLE_LINE_5_5 - RHOMBUS_LINE_5_5 = _coin.SoMarkerSet_RHOMBUS_LINE_5_5 - HOURGLASS_LINE_5_5 = _coin.SoMarkerSet_HOURGLASS_LINE_5_5 - SATELLITE_LINE_5_5 = _coin.SoMarkerSet_SATELLITE_LINE_5_5 - PINE_TREE_LINE_5_5 = _coin.SoMarkerSet_PINE_TREE_LINE_5_5 - CAUTION_LINE_5_5 = _coin.SoMarkerSet_CAUTION_LINE_5_5 - SHIP_LINE_5_5 = _coin.SoMarkerSet_SHIP_LINE_5_5 - CIRCLE_FILLED_5_5 = _coin.SoMarkerSet_CIRCLE_FILLED_5_5 - SQUARE_FILLED_5_5 = _coin.SoMarkerSet_SQUARE_FILLED_5_5 - DIAMOND_FILLED_5_5 = _coin.SoMarkerSet_DIAMOND_FILLED_5_5 - TRIANGLE_FILLED_5_5 = _coin.SoMarkerSet_TRIANGLE_FILLED_5_5 - RHOMBUS_FILLED_5_5 = _coin.SoMarkerSet_RHOMBUS_FILLED_5_5 - HOURGLASS_FILLED_5_5 = _coin.SoMarkerSet_HOURGLASS_FILLED_5_5 - SATELLITE_FILLED_5_5 = _coin.SoMarkerSet_SATELLITE_FILLED_5_5 - PINE_TREE_FILLED_5_5 = _coin.SoMarkerSet_PINE_TREE_FILLED_5_5 - CAUTION_FILLED_5_5 = _coin.SoMarkerSet_CAUTION_FILLED_5_5 - SHIP_FILLED_5_5 = _coin.SoMarkerSet_SHIP_FILLED_5_5 - CROSS_7_7 = _coin.SoMarkerSet_CROSS_7_7 - PLUS_7_7 = _coin.SoMarkerSet_PLUS_7_7 - MINUS_7_7 = _coin.SoMarkerSet_MINUS_7_7 - SLASH_7_7 = _coin.SoMarkerSet_SLASH_7_7 - BACKSLASH_7_7 = _coin.SoMarkerSet_BACKSLASH_7_7 - BAR_7_7 = _coin.SoMarkerSet_BAR_7_7 - STAR_7_7 = _coin.SoMarkerSet_STAR_7_7 - Y_7_7 = _coin.SoMarkerSet_Y_7_7 - LIGHTNING_7_7 = _coin.SoMarkerSet_LIGHTNING_7_7 - WELL_7_7 = _coin.SoMarkerSet_WELL_7_7 - CIRCLE_LINE_7_7 = _coin.SoMarkerSet_CIRCLE_LINE_7_7 - SQUARE_LINE_7_7 = _coin.SoMarkerSet_SQUARE_LINE_7_7 - DIAMOND_LINE_7_7 = _coin.SoMarkerSet_DIAMOND_LINE_7_7 - TRIANGLE_LINE_7_7 = _coin.SoMarkerSet_TRIANGLE_LINE_7_7 - RHOMBUS_LINE_7_7 = _coin.SoMarkerSet_RHOMBUS_LINE_7_7 - HOURGLASS_LINE_7_7 = _coin.SoMarkerSet_HOURGLASS_LINE_7_7 - SATELLITE_LINE_7_7 = _coin.SoMarkerSet_SATELLITE_LINE_7_7 - PINE_TREE_LINE_7_7 = _coin.SoMarkerSet_PINE_TREE_LINE_7_7 - CAUTION_LINE_7_7 = _coin.SoMarkerSet_CAUTION_LINE_7_7 - SHIP_LINE_7_7 = _coin.SoMarkerSet_SHIP_LINE_7_7 - CIRCLE_FILLED_7_7 = _coin.SoMarkerSet_CIRCLE_FILLED_7_7 - SQUARE_FILLED_7_7 = _coin.SoMarkerSet_SQUARE_FILLED_7_7 - DIAMOND_FILLED_7_7 = _coin.SoMarkerSet_DIAMOND_FILLED_7_7 - TRIANGLE_FILLED_7_7 = _coin.SoMarkerSet_TRIANGLE_FILLED_7_7 - RHOMBUS_FILLED_7_7 = _coin.SoMarkerSet_RHOMBUS_FILLED_7_7 - HOURGLASS_FILLED_7_7 = _coin.SoMarkerSet_HOURGLASS_FILLED_7_7 - SATELLITE_FILLED_7_7 = _coin.SoMarkerSet_SATELLITE_FILLED_7_7 - PINE_TREE_FILLED_7_7 = _coin.SoMarkerSet_PINE_TREE_FILLED_7_7 - CAUTION_FILLED_7_7 = _coin.SoMarkerSet_CAUTION_FILLED_7_7 - SHIP_FILLED_7_7 = _coin.SoMarkerSet_SHIP_FILLED_7_7 - CROSS_9_9 = _coin.SoMarkerSet_CROSS_9_9 - PLUS_9_9 = _coin.SoMarkerSet_PLUS_9_9 - MINUS_9_9 = _coin.SoMarkerSet_MINUS_9_9 - SLASH_9_9 = _coin.SoMarkerSet_SLASH_9_9 - BACKSLASH_9_9 = _coin.SoMarkerSet_BACKSLASH_9_9 - BAR_9_9 = _coin.SoMarkerSet_BAR_9_9 - STAR_9_9 = _coin.SoMarkerSet_STAR_9_9 - Y_9_9 = _coin.SoMarkerSet_Y_9_9 - LIGHTNING_9_9 = _coin.SoMarkerSet_LIGHTNING_9_9 - WELL_9_9 = _coin.SoMarkerSet_WELL_9_9 - CIRCLE_LINE_9_9 = _coin.SoMarkerSet_CIRCLE_LINE_9_9 - SQUARE_LINE_9_9 = _coin.SoMarkerSet_SQUARE_LINE_9_9 - DIAMOND_LINE_9_9 = _coin.SoMarkerSet_DIAMOND_LINE_9_9 - TRIANGLE_LINE_9_9 = _coin.SoMarkerSet_TRIANGLE_LINE_9_9 - RHOMBUS_LINE_9_9 = _coin.SoMarkerSet_RHOMBUS_LINE_9_9 - HOURGLASS_LINE_9_9 = _coin.SoMarkerSet_HOURGLASS_LINE_9_9 - SATELLITE_LINE_9_9 = _coin.SoMarkerSet_SATELLITE_LINE_9_9 - PINE_TREE_LINE_9_9 = _coin.SoMarkerSet_PINE_TREE_LINE_9_9 - CAUTION_LINE_9_9 = _coin.SoMarkerSet_CAUTION_LINE_9_9 - SHIP_LINE_9_9 = _coin.SoMarkerSet_SHIP_LINE_9_9 - CIRCLE_FILLED_9_9 = _coin.SoMarkerSet_CIRCLE_FILLED_9_9 - SQUARE_FILLED_9_9 = _coin.SoMarkerSet_SQUARE_FILLED_9_9 - DIAMOND_FILLED_9_9 = _coin.SoMarkerSet_DIAMOND_FILLED_9_9 - TRIANGLE_FILLED_9_9 = _coin.SoMarkerSet_TRIANGLE_FILLED_9_9 - RHOMBUS_FILLED_9_9 = _coin.SoMarkerSet_RHOMBUS_FILLED_9_9 - HOURGLASS_FILLED_9_9 = _coin.SoMarkerSet_HOURGLASS_FILLED_9_9 - SATELLITE_FILLED_9_9 = _coin.SoMarkerSet_SATELLITE_FILLED_9_9 - PINE_TREE_FILLED_9_9 = _coin.SoMarkerSet_PINE_TREE_FILLED_9_9 - CAUTION_FILLED_9_9 = _coin.SoMarkerSet_CAUTION_FILLED_9_9 - SHIP_FILLED_9_9 = _coin.SoMarkerSet_SHIP_FILLED_9_9 - NUM_MARKERS = _coin.SoMarkerSet_NUM_MARKERS - markerIndex = _swig_property(_coin.SoMarkerSet_markerIndex_get, _coin.SoMarkerSet_markerIndex_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMarkerSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMarkerSet_getPrimitiveCount(*args) - - def getNumDefinedMarkers(*args): - """getNumDefinedMarkers() -> int""" - return _coin.SoMarkerSet_getNumDefinedMarkers(*args) - - getNumDefinedMarkers = staticmethod(getNumDefinedMarkers) - def addMarker(*args): - """ - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, - SbBool isUpToDown=1) - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1) - addMarker(int idx, SbVec2s size, unsigned char bytes) - """ - return _coin.SoMarkerSet_addMarker(*args) - - addMarker = staticmethod(addMarker) - def getMarker(*args): - """getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool""" - return _coin.SoMarkerSet_getMarker(*args) - - getMarker = staticmethod(getMarker) - def removeMarker(*args): - """removeMarker(int idx) -> SbBool""" - return _coin.SoMarkerSet_removeMarker(*args) - - removeMarker = staticmethod(removeMarker) - def isMarkerBitSet(*args): - """isMarkerBitSet(int idx, int bitNumber) -> SbBool""" - return _coin.SoMarkerSet_isMarkerBitSet(*args) - - isMarkerBitSet = staticmethod(isMarkerBitSet) -SoMarkerSet_swigregister = _coin.SoMarkerSet_swigregister -SoMarkerSet_swigregister(SoMarkerSet) - -def SoMarkerSet_getClassTypeId(*args): - """SoMarkerSet_getClassTypeId() -> SoType""" - return _coin.SoMarkerSet_getClassTypeId(*args) - -def SoMarkerSet_initClass(*args): - """SoMarkerSet_initClass()""" - return _coin.SoMarkerSet_initClass(*args) - -def SoMarkerSet_getNumDefinedMarkers(*args): - """SoMarkerSet_getNumDefinedMarkers() -> int""" - return _coin.SoMarkerSet_getNumDefinedMarkers(*args) - -def SoMarkerSet_addMarker(*args): - """ - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, - SbBool isUpToDown=1) - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1) - SoMarkerSet_addMarker(int idx, SbVec2s size, unsigned char bytes) - """ - return _coin.SoMarkerSet_addMarker(*args) - -def SoMarkerSet_getMarker(*args): - """SoMarkerSet_getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool""" - return _coin.SoMarkerSet_getMarker(*args) - -def SoMarkerSet_removeMarker(*args): - """SoMarkerSet_removeMarker(int idx) -> SbBool""" - return _coin.SoMarkerSet_removeMarker(*args) - -def SoMarkerSet_isMarkerBitSet(*args): - """SoMarkerSet_isMarkerBitSet(int idx, int bitNumber) -> SbBool""" - return _coin.SoMarkerSet_isMarkerBitSet(*args) - -class SoMaterial(SoNode): - """Proxy of C++ SoMaterial class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterial_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMaterial_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMaterial_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMaterial""" - this = _coin.new_SoMaterial(*args) - try: self.this.append(this) - except: self.this = this - ambientColor = _swig_property(_coin.SoMaterial_ambientColor_get, _coin.SoMaterial_ambientColor_set) - diffuseColor = _swig_property(_coin.SoMaterial_diffuseColor_get, _coin.SoMaterial_diffuseColor_set) - specularColor = _swig_property(_coin.SoMaterial_specularColor_get, _coin.SoMaterial_specularColor_set) - emissiveColor = _swig_property(_coin.SoMaterial_emissiveColor_get, _coin.SoMaterial_emissiveColor_set) - shininess = _swig_property(_coin.SoMaterial_shininess_get, _coin.SoMaterial_shininess_set) - transparency = _swig_property(_coin.SoMaterial_transparency_get, _coin.SoMaterial_transparency_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMaterial_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMaterial_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMaterial_callback(*args) - -SoMaterial_swigregister = _coin.SoMaterial_swigregister -SoMaterial_swigregister(SoMaterial) - -def SoMaterial_getClassTypeId(*args): - """SoMaterial_getClassTypeId() -> SoType""" - return _coin.SoMaterial_getClassTypeId(*args) - -def SoMaterial_initClass(*args): - """SoMaterial_initClass()""" - return _coin.SoMaterial_initClass(*args) - -class SoMatrixTransform(SoTransformation): - """Proxy of C++ SoMatrixTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMatrixTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMatrixTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMatrixTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMatrixTransform""" - this = _coin.new_SoMatrixTransform(*args) - try: self.this.append(this) - except: self.this = this - matrix = _swig_property(_coin.SoMatrixTransform_matrix_get, _coin.SoMatrixTransform_matrix_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMatrixTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMatrixTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMatrixTransform_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoMatrixTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoMatrixTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMatrixTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMatrixTransform_getPrimitiveCount(*args) - -SoMatrixTransform_swigregister = _coin.SoMatrixTransform_swigregister -SoMatrixTransform_swigregister(SoMatrixTransform) - -def SoMatrixTransform_getClassTypeId(*args): - """SoMatrixTransform_getClassTypeId() -> SoType""" - return _coin.SoMatrixTransform_getClassTypeId(*args) - -def SoMatrixTransform_initClass(*args): - """SoMatrixTransform_initClass()""" - return _coin.SoMatrixTransform_initClass(*args) - -class SoMultipleCopy(SoGroup): - """Proxy of C++ SoMultipleCopy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultipleCopy_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMultipleCopy_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMultipleCopy_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMultipleCopy""" - this = _coin.new_SoMultipleCopy(*args) - try: self.this.append(this) - except: self.this = this - matrix = _swig_property(_coin.SoMultipleCopy_matrix_get, _coin.SoMultipleCopy_matrix_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoMultipleCopy_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMultipleCopy_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMultipleCopy_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMultipleCopy_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMultipleCopy_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoMultipleCopy_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoMultipleCopy_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoMultipleCopy_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoMultipleCopy_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMultipleCopy_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoMultipleCopy_audioRender(*args) - -SoMultipleCopy_swigregister = _coin.SoMultipleCopy_swigregister -SoMultipleCopy_swigregister(SoMultipleCopy) - -def SoMultipleCopy_getClassTypeId(*args): - """SoMultipleCopy_getClassTypeId() -> SoType""" - return _coin.SoMultipleCopy_getClassTypeId(*args) - -def SoMultipleCopy_initClass(*args): - """SoMultipleCopy_initClass()""" - return _coin.SoMultipleCopy_initClass(*args) - -class SoPerspectiveCamera(SoCamera): - """Proxy of C++ SoPerspectiveCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPerspectiveCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPerspectiveCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPerspectiveCamera_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPerspectiveCamera""" - this = _coin.new_SoPerspectiveCamera(*args) - try: self.this.append(this) - except: self.this = this - heightAngle = _swig_property(_coin.SoPerspectiveCamera_heightAngle_get, _coin.SoPerspectiveCamera_heightAngle_set) - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoPerspectiveCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoPerspectiveCamera_getViewVolume(*args) - -SoPerspectiveCamera_swigregister = _coin.SoPerspectiveCamera_swigregister -SoPerspectiveCamera_swigregister(SoPerspectiveCamera) - -def SoPerspectiveCamera_getClassTypeId(*args): - """SoPerspectiveCamera_getClassTypeId() -> SoType""" - return _coin.SoPerspectiveCamera_getClassTypeId(*args) - -def SoPerspectiveCamera_initClass(*args): - """SoPerspectiveCamera_initClass()""" - return _coin.SoPerspectiveCamera_initClass(*args) - -class SoOrthographicCamera(SoCamera): - """Proxy of C++ SoOrthographicCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOrthographicCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOrthographicCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoOrthographicCamera_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOrthographicCamera""" - this = _coin.new_SoOrthographicCamera(*args) - try: self.this.append(this) - except: self.this = this - height = _swig_property(_coin.SoOrthographicCamera_height_get, _coin.SoOrthographicCamera_height_set) - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoOrthographicCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoOrthographicCamera_getViewVolume(*args) - -SoOrthographicCamera_swigregister = _coin.SoOrthographicCamera_swigregister -SoOrthographicCamera_swigregister(SoOrthographicCamera) - -def SoOrthographicCamera_getClassTypeId(*args): - """SoOrthographicCamera_getClassTypeId() -> SoType""" - return _coin.SoOrthographicCamera_getClassTypeId(*args) - -def SoOrthographicCamera_initClass(*args): - """SoOrthographicCamera_initClass()""" - return _coin.SoOrthographicCamera_initClass(*args) - -class SoFrustumCamera(SoCamera): - """Proxy of C++ SoFrustumCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFrustumCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFrustumCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFrustumCamera_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFrustumCamera""" - this = _coin.new_SoFrustumCamera(*args) - try: self.this.append(this) - except: self.this = this - left = _swig_property(_coin.SoFrustumCamera_left_get, _coin.SoFrustumCamera_left_set) - right = _swig_property(_coin.SoFrustumCamera_right_get, _coin.SoFrustumCamera_right_set) - top = _swig_property(_coin.SoFrustumCamera_top_get, _coin.SoFrustumCamera_top_set) - bottom = _swig_property(_coin.SoFrustumCamera_bottom_get, _coin.SoFrustumCamera_bottom_set) - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoFrustumCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoFrustumCamera_getViewVolume(*args) - -SoFrustumCamera_swigregister = _coin.SoFrustumCamera_swigregister -SoFrustumCamera_swigregister(SoFrustumCamera) - -def SoFrustumCamera_getClassTypeId(*args): - """SoFrustumCamera_getClassTypeId() -> SoType""" - return _coin.SoFrustumCamera_getClassTypeId(*args) - -def SoFrustumCamera_initClass(*args): - """SoFrustumCamera_initClass()""" - return _coin.SoFrustumCamera_initClass(*args) - -class SoQuadMesh(SoNonIndexedShape): - """Proxy of C++ SoQuadMesh class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoQuadMesh_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoQuadMesh_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoQuadMesh_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoQuadMesh""" - this = _coin.new_SoQuadMesh(*args) - try: self.this.append(this) - except: self.this = this - verticesPerColumn = _swig_property(_coin.SoQuadMesh_verticesPerColumn_get, _coin.SoQuadMesh_verticesPerColumn_set) - verticesPerRow = _swig_property(_coin.SoQuadMesh_verticesPerRow_get, _coin.SoQuadMesh_verticesPerRow_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoQuadMesh_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoQuadMesh_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoQuadMesh_generateDefaultNormals(*args) - -SoQuadMesh_swigregister = _coin.SoQuadMesh_swigregister -SoQuadMesh_swigregister(SoQuadMesh) - -def SoQuadMesh_getClassTypeId(*args): - """SoQuadMesh_getClassTypeId() -> SoType""" - return _coin.SoQuadMesh_getClassTypeId(*args) - -def SoQuadMesh_initClass(*args): - """SoQuadMesh_initClass()""" - return _coin.SoQuadMesh_initClass(*args) - -class SoTriangleStripSet(SoNonIndexedShape): - """Proxy of C++ SoTriangleStripSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTriangleStripSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTriangleStripSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTriangleStripSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTriangleStripSet""" - this = _coin.new_SoTriangleStripSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoTriangleStripSet_numVertices_get, _coin.SoTriangleStripSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTriangleStripSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTriangleStripSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoTriangleStripSet_generateDefaultNormals(*args) - -SoTriangleStripSet_swigregister = _coin.SoTriangleStripSet_swigregister -SoTriangleStripSet_swigregister(SoTriangleStripSet) - -def SoTriangleStripSet_getClassTypeId(*args): - """SoTriangleStripSet_getClassTypeId() -> SoType""" - return _coin.SoTriangleStripSet_getClassTypeId(*args) - -def SoTriangleStripSet_initClass(*args): - """SoTriangleStripSet_initClass()""" - return _coin.SoTriangleStripSet_initClass(*args) - -class SoIndexedPointSet(SoIndexedShape): - """Proxy of C++ SoIndexedPointSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedPointSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedPointSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedPointSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedPointSet""" - this = _coin.new_SoIndexedPointSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedPointSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoIndexedPointSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedPointSet_getPrimitiveCount(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoIndexedPointSet_notify(*args) - -SoIndexedPointSet_swigregister = _coin.SoIndexedPointSet_swigregister -SoIndexedPointSet_swigregister(SoIndexedPointSet) - -def SoIndexedPointSet_getClassTypeId(*args): - """SoIndexedPointSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedPointSet_getClassTypeId(*args) - -def SoIndexedPointSet_initClass(*args): - """SoIndexedPointSet_initClass()""" - return _coin.SoIndexedPointSet_initClass(*args) - -class SoIndexedMarkerSet(SoIndexedPointSet): - """Proxy of C++ SoIndexedMarkerSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedMarkerSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedMarkerSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedMarkerSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedMarkerSet""" - this = _coin.new_SoIndexedMarkerSet(*args) - try: self.this.append(this) - except: self.this = this - markerIndex = _swig_property(_coin.SoIndexedMarkerSet_markerIndex_get, _coin.SoIndexedMarkerSet_markerIndex_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedMarkerSet_GLRender(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoIndexedMarkerSet_notify(*args) - -SoIndexedMarkerSet_swigregister = _coin.SoIndexedMarkerSet_swigregister -SoIndexedMarkerSet_swigregister(SoIndexedMarkerSet) - -def SoIndexedMarkerSet_getClassTypeId(*args): - """SoIndexedMarkerSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedMarkerSet_getClassTypeId(*args) - -def SoIndexedMarkerSet_initClass(*args): - """SoIndexedMarkerSet_initClass()""" - return _coin.SoIndexedMarkerSet_initClass(*args) - -class SoNurbsCurve(SoShape): - """Proxy of C++ SoNurbsCurve class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsCurve_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsCurve_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsCurve_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsCurve""" - this = _coin.new_SoNurbsCurve(*args) - try: self.this.append(this) - except: self.this = this - numControlPoints = _swig_property(_coin.SoNurbsCurve_numControlPoints_get, _coin.SoNurbsCurve_numControlPoints_set) - knotVector = _swig_property(_coin.SoNurbsCurve_knotVector_get, _coin.SoNurbsCurve_knotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNurbsCurve_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNurbsCurve_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNurbsCurve_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNurbsCurve_getBoundingBox(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoNurbsCurve_sendPrimitive(*args) - -SoNurbsCurve_swigregister = _coin.SoNurbsCurve_swigregister -SoNurbsCurve_swigregister(SoNurbsCurve) - -def SoNurbsCurve_getClassTypeId(*args): - """SoNurbsCurve_getClassTypeId() -> SoType""" - return _coin.SoNurbsCurve_getClassTypeId(*args) - -def SoNurbsCurve_initClass(*args): - """SoNurbsCurve_initClass()""" - return _coin.SoNurbsCurve_initClass(*args) - -class SoNurbsSurface(SoShape): - """Proxy of C++ SoNurbsSurface class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsSurface_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsSurface_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsSurface_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsSurface""" - this = _coin.new_SoNurbsSurface(*args) - try: self.this.append(this) - except: self.this = this - numUControlPoints = _swig_property(_coin.SoNurbsSurface_numUControlPoints_get, _coin.SoNurbsSurface_numUControlPoints_set) - numVControlPoints = _swig_property(_coin.SoNurbsSurface_numVControlPoints_get, _coin.SoNurbsSurface_numVControlPoints_set) - numSControlPoints = _swig_property(_coin.SoNurbsSurface_numSControlPoints_get, _coin.SoNurbsSurface_numSControlPoints_set) - numTControlPoints = _swig_property(_coin.SoNurbsSurface_numTControlPoints_get, _coin.SoNurbsSurface_numTControlPoints_set) - uKnotVector = _swig_property(_coin.SoNurbsSurface_uKnotVector_get, _coin.SoNurbsSurface_uKnotVector_set) - vKnotVector = _swig_property(_coin.SoNurbsSurface_vKnotVector_get, _coin.SoNurbsSurface_vKnotVector_set) - sKnotVector = _swig_property(_coin.SoNurbsSurface_sKnotVector_get, _coin.SoNurbsSurface_sKnotVector_set) - tKnotVector = _swig_property(_coin.SoNurbsSurface_tKnotVector_get, _coin.SoNurbsSurface_tKnotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNurbsSurface_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNurbsSurface_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNurbsSurface_getPrimitiveCount(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoNurbsSurface_sendPrimitive(*args) - -SoNurbsSurface_swigregister = _coin.SoNurbsSurface_swigregister -SoNurbsSurface_swigregister(SoNurbsSurface) - -def SoNurbsSurface_getClassTypeId(*args): - """SoNurbsSurface_getClassTypeId() -> SoType""" - return _coin.SoNurbsSurface_getClassTypeId(*args) - -def SoNurbsSurface_initClass(*args): - """SoNurbsSurface_initClass()""" - return _coin.SoNurbsSurface_initClass(*args) - -class SoSphere(SoShape): - """Proxy of C++ SoSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSphere""" - this = _coin.new_SoSphere(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoSphere_radius_get, _coin.SoSphere_radius_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSphere_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSphere_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSphere_getPrimitiveCount(*args) - -SoSphere_swigregister = _coin.SoSphere_swigregister -SoSphere_swigregister(SoSphere) - -def SoSphere_getClassTypeId(*args): - """SoSphere_getClassTypeId() -> SoType""" - return _coin.SoSphere_getClassTypeId(*args) - -def SoSphere_initClass(*args): - """SoSphere_initClass()""" - return _coin.SoSphere_initClass(*args) - -class SoText2(SoShape): - """Proxy of C++ SoText2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoText2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoText2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoText2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoText2""" - this = _coin.new_SoText2(*args) - try: self.this.append(this) - except: self.this = this - LEFT = _coin.SoText2_LEFT - RIGHT = _coin.SoText2_RIGHT - CENTER = _coin.SoText2_CENTER - string = _swig_property(_coin.SoText2_string_get, _coin.SoText2_string_set) - spacing = _swig_property(_coin.SoText2_spacing_get, _coin.SoText2_spacing_set) - justification = _swig_property(_coin.SoText2_justification_get, _coin.SoText2_justification_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoText2_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoText2_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoText2_getPrimitiveCount(*args) - -SoText2_swigregister = _coin.SoText2_swigregister -SoText2_swigregister(SoText2) - -def SoText2_getClassTypeId(*args): - """SoText2_getClassTypeId() -> SoType""" - return _coin.SoText2_getClassTypeId(*args) - -def SoText2_initClass(*args): - """SoText2_initClass()""" - return _coin.SoText2_initClass(*args) - -class SoText3(SoShape): - """Proxy of C++ SoText3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoText3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoText3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoText3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoText3""" - this = _coin.new_SoText3(*args) - try: self.this.append(this) - except: self.this = this - FRONT = _coin.SoText3_FRONT - SIDES = _coin.SoText3_SIDES - BACK = _coin.SoText3_BACK - ALL = _coin.SoText3_ALL - LEFT = _coin.SoText3_LEFT - RIGHT = _coin.SoText3_RIGHT - CENTER = _coin.SoText3_CENTER - string = _swig_property(_coin.SoText3_string_get, _coin.SoText3_string_set) - spacing = _swig_property(_coin.SoText3_spacing_get, _coin.SoText3_spacing_set) - justification = _swig_property(_coin.SoText3_justification_get, _coin.SoText3_justification_set) - parts = _swig_property(_coin.SoText3_parts_get, _coin.SoText3_parts_set) - def getCharacterBounds(*args): - """getCharacterBounds(self, SoState state, int stringindex, int charindex) -> SbBox3f""" - return _coin.SoText3_getCharacterBounds(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoText3_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoText3_getPrimitiveCount(*args) - -SoText3_swigregister = _coin.SoText3_swigregister -SoText3_swigregister(SoText3) - -def SoText3_getClassTypeId(*args): - """SoText3_getClassTypeId() -> SoType""" - return _coin.SoText3_getClassTypeId(*args) - -def SoText3_initClass(*args): - """SoText3_initClass()""" - return _coin.SoText3_initClass(*args) - -class SoWWWAnchor(SoLocateHighlight): - """Proxy of C++ SoWWWAnchor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWWWAnchor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWWWAnchor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoWWWAnchor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoWWWAnchor""" - this = _coin.new_SoWWWAnchor(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoWWWAnchor_NONE - POINT = _coin.SoWWWAnchor_POINT - name = _swig_property(_coin.SoWWWAnchor_name_get, _coin.SoWWWAnchor_name_set) - description = _swig_property(_coin.SoWWWAnchor_description_get, _coin.SoWWWAnchor_description_set) - map = _swig_property(_coin.SoWWWAnchor_map_get, _coin.SoWWWAnchor_map_set) - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoWWWAnchor_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoWWWAnchor_getFullURLName(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoWWWAnchor_handleEvent(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setHighlightURLCallBack(*args): - """setHighlightURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setHighlightURLCallBack(*args) - - setHighlightURLCallBack = staticmethod(setHighlightURLCallBack) -SoWWWAnchor_swigregister = _coin.SoWWWAnchor_swigregister -SoWWWAnchor_swigregister(SoWWWAnchor) - -def SoWWWAnchor_getClassTypeId(*args): - """SoWWWAnchor_getClassTypeId() -> SoType""" - return _coin.SoWWWAnchor_getClassTypeId(*args) - -def SoWWWAnchor_initClass(*args): - """SoWWWAnchor_initClass()""" - return _coin.SoWWWAnchor_initClass(*args) - -def SoWWWAnchor_setFetchURLCallBack(*args): - """SoWWWAnchor_setFetchURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setFetchURLCallBack(*args) - -def SoWWWAnchor_setHighlightURLCallBack(*args): - """SoWWWAnchor_setHighlightURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setHighlightURLCallBack(*args) - -class SoPathSwitch(SoGroup): - """Proxy of C++ SoPathSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPathSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPathSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPathSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoPathSwitch - __init__(self, int numchildren) -> SoPathSwitch - """ - this = _coin.new_SoPathSwitch(*args) - try: self.this.append(this) - except: self.this = this - path = _swig_property(_coin.SoPathSwitch_path_get, _coin.SoPathSwitch_path_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPathSwitch_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPathSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPathSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPathSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoPathSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoPathSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoPathSwitch_search(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPathSwitch_callback(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoPathSwitch_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoPathSwitch_audioRender(*args) - -SoPathSwitch_swigregister = _coin.SoPathSwitch_swigregister -SoPathSwitch_swigregister(SoPathSwitch) - -def SoPathSwitch_getClassTypeId(*args): - """SoPathSwitch_getClassTypeId() -> SoType""" - return _coin.SoPathSwitch_getClassTypeId(*args) - -def SoPathSwitch_initClass(*args): - """SoPathSwitch_initClass()""" - return _coin.SoPathSwitch_initClass(*args) - -class SoTransformSeparator(SoGroup): - """Proxy of C++ SoTransformSeparator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformSeparator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformSeparator_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformSeparator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoTransformSeparator - __init__(self, int nChildren) -> SoTransformSeparator - """ - this = _coin.new_SoTransformSeparator(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransformSeparator_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransformSeparator_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransformSeparator_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransformSeparator_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransformSeparator_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransformSeparator_getMatrix(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTransformSeparator_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoTransformSeparator_audioRender(*args) - -SoTransformSeparator_swigregister = _coin.SoTransformSeparator_swigregister -SoTransformSeparator_swigregister(SoTransformSeparator) - -def SoTransformSeparator_getClassTypeId(*args): - """SoTransformSeparator_getClassTypeId() -> SoType""" - return _coin.SoTransformSeparator_getClassTypeId(*args) - -def SoTransformSeparator_initClass(*args): - """SoTransformSeparator_initClass()""" - return _coin.SoTransformSeparator_initClass(*args) - -class SoRotation(SoTransformation): - """Proxy of C++ SoRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotation""" - this = _coin.new_SoRotation(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotation_rotation_get, _coin.SoRotation_rotation_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoRotation_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoRotation_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoRotation_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoRotation_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoRotation_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoRotation_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoRotation_getPrimitiveCount(*args) - -SoRotation_swigregister = _coin.SoRotation_swigregister -SoRotation_swigregister(SoRotation) - -def SoRotation_getClassTypeId(*args): - """SoRotation_getClassTypeId() -> SoType""" - return _coin.SoRotation_getClassTypeId(*args) - -def SoRotation_initClass(*args): - """SoRotation_initClass()""" - return _coin.SoRotation_initClass(*args) - -class SoPendulum(SoRotation): - """Proxy of C++ SoPendulum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPendulum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPendulum_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPendulum_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPendulum""" - this = _coin.new_SoPendulum(*args) - try: self.this.append(this) - except: self.this = this - rotation0 = _swig_property(_coin.SoPendulum_rotation0_get, _coin.SoPendulum_rotation0_set) - rotation1 = _swig_property(_coin.SoPendulum_rotation1_get, _coin.SoPendulum_rotation1_set) - speed = _swig_property(_coin.SoPendulum_speed_get, _coin.SoPendulum_speed_set) - on = _swig_property(_coin.SoPendulum_on_get, _coin.SoPendulum_on_set) - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoPendulum_write(*args) - -SoPendulum_swigregister = _coin.SoPendulum_swigregister -SoPendulum_swigregister(SoPendulum) - -def SoPendulum_getClassTypeId(*args): - """SoPendulum_getClassTypeId() -> SoType""" - return _coin.SoPendulum_getClassTypeId(*args) - -def SoPendulum_initClass(*args): - """SoPendulum_initClass()""" - return _coin.SoPendulum_initClass(*args) - -class SoRotor(SoRotation): - """Proxy of C++ SoRotor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotor""" - this = _coin.new_SoRotor(*args) - try: self.this.append(this) - except: self.this = this - speed = _swig_property(_coin.SoRotor_speed_get, _coin.SoRotor_speed_set) - on = _swig_property(_coin.SoRotor_on_get, _coin.SoRotor_on_set) -SoRotor_swigregister = _coin.SoRotor_swigregister -SoRotor_swigregister(SoRotor) - -def SoRotor_getClassTypeId(*args): - """SoRotor_getClassTypeId() -> SoType""" - return _coin.SoRotor_getClassTypeId(*args) - -def SoRotor_initClass(*args): - """SoRotor_initClass()""" - return _coin.SoRotor_initClass(*args) - -class SoResetTransform(SoTransformation): - """Proxy of C++ SoResetTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoResetTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoResetTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoResetTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoResetTransform""" - this = _coin.new_SoResetTransform(*args) - try: self.this.append(this) - except: self.this = this - TRANSFORM = _coin.SoResetTransform_TRANSFORM - BBOX = _coin.SoResetTransform_BBOX - whatToReset = _swig_property(_coin.SoResetTransform_whatToReset_get, _coin.SoResetTransform_whatToReset_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoResetTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoResetTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoResetTransform_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoResetTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoResetTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoResetTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoResetTransform_getPrimitiveCount(*args) - -SoResetTransform_swigregister = _coin.SoResetTransform_swigregister -SoResetTransform_swigregister(SoResetTransform) - -def SoResetTransform_getClassTypeId(*args): - """SoResetTransform_getClassTypeId() -> SoType""" - return _coin.SoResetTransform_getClassTypeId(*args) - -def SoResetTransform_initClass(*args): - """SoResetTransform_initClass()""" - return _coin.SoResetTransform_initClass(*args) - -class SoRotationXYZ(SoTransformation): - """Proxy of C++ SoRotationXYZ class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotationXYZ_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotationXYZ_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotationXYZ_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotationXYZ""" - this = _coin.new_SoRotationXYZ(*args) - try: self.this.append(this) - except: self.this = this - X = _coin.SoRotationXYZ_X - Y = _coin.SoRotationXYZ_Y - Z = _coin.SoRotationXYZ_Z - axis = _swig_property(_coin.SoRotationXYZ_axis_get, _coin.SoRotationXYZ_axis_set) - angle = _swig_property(_coin.SoRotationXYZ_angle_get, _coin.SoRotationXYZ_angle_set) - def getRotation(*args): - """getRotation(self) -> SbRotation""" - return _coin.SoRotationXYZ_getRotation(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoRotationXYZ_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoRotationXYZ_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoRotationXYZ_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoRotationXYZ_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoRotationXYZ_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoRotationXYZ_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoRotationXYZ_getPrimitiveCount(*args) - -SoRotationXYZ_swigregister = _coin.SoRotationXYZ_swigregister -SoRotationXYZ_swigregister(SoRotationXYZ) - -def SoRotationXYZ_getClassTypeId(*args): - """SoRotationXYZ_getClassTypeId() -> SoType""" - return _coin.SoRotationXYZ_getClassTypeId(*args) - -def SoRotationXYZ_initClass(*args): - """SoRotationXYZ_initClass()""" - return _coin.SoRotationXYZ_initClass(*args) - -class SoTranslation(SoTransformation): - """Proxy of C++ SoTranslation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslation""" - this = _coin.new_SoTranslation(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslation_translation_get, _coin.SoTranslation_translation_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTranslation_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTranslation_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTranslation_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTranslation_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTranslation_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTranslation_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTranslation_getPrimitiveCount(*args) - -SoTranslation_swigregister = _coin.SoTranslation_swigregister -SoTranslation_swigregister(SoTranslation) - -def SoTranslation_getClassTypeId(*args): - """SoTranslation_getClassTypeId() -> SoType""" - return _coin.SoTranslation_getClassTypeId(*args) - -def SoTranslation_initClass(*args): - """SoTranslation_initClass()""" - return _coin.SoTranslation_initClass(*args) - -class SoShuttle(SoTranslation): - """Proxy of C++ SoShuttle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShuttle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShuttle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShuttle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoShuttle""" - this = _coin.new_SoShuttle(*args) - try: self.this.append(this) - except: self.this = this - translation0 = _swig_property(_coin.SoShuttle_translation0_get, _coin.SoShuttle_translation0_set) - translation1 = _swig_property(_coin.SoShuttle_translation1_get, _coin.SoShuttle_translation1_set) - speed = _swig_property(_coin.SoShuttle_speed_get, _coin.SoShuttle_speed_set) - on = _swig_property(_coin.SoShuttle_on_get, _coin.SoShuttle_on_set) - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoShuttle_write(*args) - -SoShuttle_swigregister = _coin.SoShuttle_swigregister -SoShuttle_swigregister(SoShuttle) - -def SoShuttle_getClassTypeId(*args): - """SoShuttle_getClassTypeId() -> SoType""" - return _coin.SoShuttle_getClassTypeId(*args) - -def SoShuttle_initClass(*args): - """SoShuttle_initClass()""" - return _coin.SoShuttle_initClass(*args) - -class SoSurroundScale(SoTransformation): - """Proxy of C++ SoSurroundScale class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSurroundScale_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSurroundScale_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSurroundScale_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSurroundScale""" - this = _coin.new_SoSurroundScale(*args) - try: self.this.append(this) - except: self.this = this - numNodesUpToContainer = _swig_property(_coin.SoSurroundScale_numNodesUpToContainer_get, _coin.SoSurroundScale_numNodesUpToContainer_set) - numNodesUpToReset = _swig_property(_coin.SoSurroundScale_numNodesUpToReset_get, _coin.SoSurroundScale_numNodesUpToReset_set) - def invalidate(*args): - """invalidate(self)""" - return _coin.SoSurroundScale_invalidate(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSurroundScale_doAction(*args) - - def setDoingTranslations(*args): - """setDoingTranslations(self, SbBool val)""" - return _coin.SoSurroundScale_setDoingTranslations(*args) - - def isDoingTranslations(*args): - """isDoingTranslations(self) -> SbBool""" - return _coin.SoSurroundScale_isDoingTranslations(*args) - -SoSurroundScale_swigregister = _coin.SoSurroundScale_swigregister -SoSurroundScale_swigregister(SoSurroundScale) - -def SoSurroundScale_getClassTypeId(*args): - """SoSurroundScale_getClassTypeId() -> SoType""" - return _coin.SoSurroundScale_getClassTypeId(*args) - -def SoSurroundScale_initClass(*args): - """SoSurroundScale_initClass()""" - return _coin.SoSurroundScale_initClass(*args) - -class SoNurbsProfile(SoProfile): - """Proxy of C++ SoNurbsProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsProfile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsProfile""" - this = _coin.new_SoNurbsProfile(*args) - try: self.this.append(this) - except: self.this = this - knotVector = _swig_property(_coin.SoNurbsProfile_knotVector_get, _coin.SoNurbsProfile_knotVector_set) - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoNurbsProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoNurbsProfile_getVertices(*args) - -SoNurbsProfile_swigregister = _coin.SoNurbsProfile_swigregister -SoNurbsProfile_swigregister(SoNurbsProfile) - -def SoNurbsProfile_getClassTypeId(*args): - """SoNurbsProfile_getClassTypeId() -> SoType""" - return _coin.SoNurbsProfile_getClassTypeId(*args) - -def SoNurbsProfile_initClass(*args): - """SoNurbsProfile_initClass()""" - return _coin.SoNurbsProfile_initClass(*args) - -class SoVertexAttribute(SoNode): - """Proxy of C++ SoVertexAttribute class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoVertexAttribute""" - this = _coin.new_SoVertexAttribute(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoVertexAttribute_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexAttribute_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexAttribute_getTypeId(*args) - - name = _swig_property(_coin.SoVertexAttribute_name_get, _coin.SoVertexAttribute_name_set) - typeName = _swig_property(_coin.SoVertexAttribute_typeName_get, _coin.SoVertexAttribute_typeName_set) - def getValuesField(*args): - """getValuesField(self) -> SoMField""" - return _coin.SoVertexAttribute_getValuesField(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVertexAttribute_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVertexAttribute_GLRender(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVertexAttribute_write(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoVertexAttribute_copyContents(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoVertexAttribute_notify(*args) - -SoVertexAttribute_swigregister = _coin.SoVertexAttribute_swigregister -SoVertexAttribute_swigregister(SoVertexAttribute) - -def SoVertexAttribute_initClass(*args): - """SoVertexAttribute_initClass()""" - return _coin.SoVertexAttribute_initClass(*args) - -def SoVertexAttribute_getClassTypeId(*args): - """SoVertexAttribute_getClassTypeId() -> SoType""" - return _coin.SoVertexAttribute_getClassTypeId(*args) - -class SoVertexAttributeBinding(SoNode): - """Proxy of C++ SoVertexAttributeBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexAttributeBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexAttributeBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVertexAttributeBinding""" - this = _coin.new_SoVertexAttributeBinding(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoVertexAttributeBinding_OVERALL - PER_VERTEX = _coin.SoVertexAttributeBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVertexAttributeBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoVertexAttributeBinding_DEFAULT - value = _swig_property(_coin.SoVertexAttributeBinding_value_get, _coin.SoVertexAttributeBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVertexAttributeBinding_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVertexAttributeBinding_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVertexAttributeBinding_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVertexAttributeBinding_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVertexAttributeBinding_getPrimitiveCount(*args) - -SoVertexAttributeBinding_swigregister = _coin.SoVertexAttributeBinding_swigregister -SoVertexAttributeBinding_swigregister(SoVertexAttributeBinding) - -def SoVertexAttributeBinding_getClassTypeId(*args): - """SoVertexAttributeBinding_getClassTypeId() -> SoType""" - return _coin.SoVertexAttributeBinding_getClassTypeId(*args) - -def SoVertexAttributeBinding_initClass(*args): - """SoVertexAttributeBinding_initClass()""" - return _coin.SoVertexAttributeBinding_initClass(*args) - -class SoNormal(SoNode): - """Proxy of C++ SoNormal class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormal_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNormal_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNormal_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNormal""" - this = _coin.new_SoNormal(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoNormal_vector_get, _coin.SoNormal_vector_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNormal_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNormal_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNormal_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNormal_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNormal_getPrimitiveCount(*args) - -SoNormal_swigregister = _coin.SoNormal_swigregister -SoNormal_swigregister(SoNormal) - -def SoNormal_getClassTypeId(*args): - """SoNormal_getClassTypeId() -> SoType""" - return _coin.SoNormal_getClassTypeId(*args) - -def SoNormal_initClass(*args): - """SoNormal_initClass()""" - return _coin.SoNormal_initClass(*args) - -class SoPackedColor(SoNode): - """Proxy of C++ SoPackedColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPackedColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPackedColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPackedColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPackedColor""" - this = _coin.new_SoPackedColor(*args) - try: self.this.append(this) - except: self.this = this - orderedRGBA = _swig_property(_coin.SoPackedColor_orderedRGBA_get, _coin.SoPackedColor_orderedRGBA_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPackedColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPackedColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPackedColor_callback(*args) - - def isTransparent(*args): - """isTransparent(self) -> SbBool""" - return _coin.SoPackedColor_isTransparent(*args) - -SoPackedColor_swigregister = _coin.SoPackedColor_swigregister -SoPackedColor_swigregister(SoPackedColor) - -def SoPackedColor_getClassTypeId(*args): - """SoPackedColor_getClassTypeId() -> SoType""" - return _coin.SoPackedColor_getClassTypeId(*args) - -def SoPackedColor_initClass(*args): - """SoPackedColor_initClass()""" - return _coin.SoPackedColor_initClass(*args) - -class SoPolygonOffset(SoNode): - """Proxy of C++ SoPolygonOffset class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPolygonOffset_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPolygonOffset_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPolygonOffset_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPolygonOffset""" - this = _coin.new_SoPolygonOffset(*args) - try: self.this.append(this) - except: self.this = this - FILLED = _coin.SoPolygonOffset_FILLED - LINES = _coin.SoPolygonOffset_LINES - POINTS = _coin.SoPolygonOffset_POINTS - factor = _swig_property(_coin.SoPolygonOffset_factor_get, _coin.SoPolygonOffset_factor_set) - units = _swig_property(_coin.SoPolygonOffset_units_get, _coin.SoPolygonOffset_units_set) - styles = _swig_property(_coin.SoPolygonOffset_styles_get, _coin.SoPolygonOffset_styles_set) - on = _swig_property(_coin.SoPolygonOffset_on_get, _coin.SoPolygonOffset_on_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPolygonOffset_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPolygonOffset_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPolygonOffset_GLRender(*args) - -SoPolygonOffset_swigregister = _coin.SoPolygonOffset_swigregister -SoPolygonOffset_swigregister(SoPolygonOffset) - -def SoPolygonOffset_getClassTypeId(*args): - """SoPolygonOffset_getClassTypeId() -> SoType""" - return _coin.SoPolygonOffset_getClassTypeId(*args) - -def SoPolygonOffset_initClass(*args): - """SoPolygonOffset_initClass()""" - return _coin.SoPolygonOffset_initClass(*args) - -class SoProfileCoordinate2(SoNode): - """Proxy of C++ SoProfileCoordinate2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfileCoordinate2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinate2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoProfileCoordinate2""" - this = _coin.new_SoProfileCoordinate2(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoProfileCoordinate2_point_get, _coin.SoProfileCoordinate2_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfileCoordinate2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfileCoordinate2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfileCoordinate2_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfileCoordinate2_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoProfileCoordinate2_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfileCoordinate2_getPrimitiveCount(*args) - -SoProfileCoordinate2_swigregister = _coin.SoProfileCoordinate2_swigregister -SoProfileCoordinate2_swigregister(SoProfileCoordinate2) - -def SoProfileCoordinate2_getClassTypeId(*args): - """SoProfileCoordinate2_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate2_getClassTypeId(*args) - -def SoProfileCoordinate2_initClass(*args): - """SoProfileCoordinate2_initClass()""" - return _coin.SoProfileCoordinate2_initClass(*args) - -class SoProfileCoordinate3(SoNode): - """Proxy of C++ SoProfileCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfileCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoProfileCoordinate3""" - this = _coin.new_SoProfileCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoProfileCoordinate3_point_get, _coin.SoProfileCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfileCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfileCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfileCoordinate3_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfileCoordinate3_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoProfileCoordinate3_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfileCoordinate3_getPrimitiveCount(*args) - -SoProfileCoordinate3_swigregister = _coin.SoProfileCoordinate3_swigregister -SoProfileCoordinate3_swigregister(SoProfileCoordinate3) - -def SoProfileCoordinate3_getClassTypeId(*args): - """SoProfileCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate3_getClassTypeId(*args) - -def SoProfileCoordinate3_initClass(*args): - """SoProfileCoordinate3_initClass()""" - return _coin.SoProfileCoordinate3_initClass(*args) - -class SoTexture3(SoTexture): - """Proxy of C++ SoTexture3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture3""" - this = _coin.new_SoTexture3(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoTexture3_MODULATE - DECAL = _coin.SoTexture3_DECAL - BLEND = _coin.SoTexture3_BLEND - REPEAT = _coin.SoTexture3_REPEAT - CLAMP = _coin.SoTexture3_CLAMP - filenames = _swig_property(_coin.SoTexture3_filenames_get, _coin.SoTexture3_filenames_set) - images = _swig_property(_coin.SoTexture3_images_get, _coin.SoTexture3_images_set) - wrapR = _swig_property(_coin.SoTexture3_wrapR_get, _coin.SoTexture3_wrapR_set) - wrapS = _swig_property(_coin.SoTexture3_wrapS_get, _coin.SoTexture3_wrapS_set) - wrapT = _swig_property(_coin.SoTexture3_wrapT_get, _coin.SoTexture3_wrapT_set) - model = _swig_property(_coin.SoTexture3_model_get, _coin.SoTexture3_model_set) - blendColor = _swig_property(_coin.SoTexture3_blendColor_get, _coin.SoTexture3_blendColor_set) - enableCompressedTexture = _swig_property(_coin.SoTexture3_enableCompressedTexture_get, _coin.SoTexture3_enableCompressedTexture_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture3_callback(*args) - -SoTexture3_swigregister = _coin.SoTexture3_swigregister -SoTexture3_swigregister(SoTexture3) - -def SoTexture3_getClassTypeId(*args): - """SoTexture3_getClassTypeId() -> SoType""" - return _coin.SoTexture3_getClassTypeId(*args) - -def SoTexture3_initClass(*args): - """SoTexture3_initClass()""" - return _coin.SoTexture3_initClass(*args) - -class SoTexture2Transform(SoNode): - """Proxy of C++ SoTexture2Transform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture2Transform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture2Transform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture2Transform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture2Transform""" - this = _coin.new_SoTexture2Transform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTexture2Transform_translation_get, _coin.SoTexture2Transform_translation_set) - rotation = _swig_property(_coin.SoTexture2Transform_rotation_get, _coin.SoTexture2Transform_rotation_set) - scaleFactor = _swig_property(_coin.SoTexture2Transform_scaleFactor_get, _coin.SoTexture2Transform_scaleFactor_set) - center = _swig_property(_coin.SoTexture2Transform_center_get, _coin.SoTexture2Transform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture2Transform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture2Transform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture2Transform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTexture2Transform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTexture2Transform_pick(*args) - -SoTexture2Transform_swigregister = _coin.SoTexture2Transform_swigregister -SoTexture2Transform_swigregister(SoTexture2Transform) - -def SoTexture2Transform_getClassTypeId(*args): - """SoTexture2Transform_getClassTypeId() -> SoType""" - return _coin.SoTexture2Transform_getClassTypeId(*args) - -def SoTexture2Transform_initClass(*args): - """SoTexture2Transform_initClass()""" - return _coin.SoTexture2Transform_initClass(*args) - -class SoTexture3Transform(SoNode): - """Proxy of C++ SoTexture3Transform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3Transform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture3Transform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture3Transform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture3Transform""" - this = _coin.new_SoTexture3Transform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTexture3Transform_translation_get, _coin.SoTexture3Transform_translation_set) - rotation = _swig_property(_coin.SoTexture3Transform_rotation_get, _coin.SoTexture3Transform_rotation_set) - scaleFactor = _swig_property(_coin.SoTexture3Transform_scaleFactor_get, _coin.SoTexture3Transform_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoTexture3Transform_scaleOrientation_get, _coin.SoTexture3Transform_scaleOrientation_set) - center = _swig_property(_coin.SoTexture3Transform_center_get, _coin.SoTexture3Transform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture3Transform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture3Transform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture3Transform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTexture3Transform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTexture3Transform_pick(*args) - -SoTexture3Transform_swigregister = _coin.SoTexture3Transform_swigregister -SoTexture3Transform_swigregister(SoTexture3Transform) - -def SoTexture3Transform_getClassTypeId(*args): - """SoTexture3Transform_getClassTypeId() -> SoType""" - return _coin.SoTexture3Transform_getClassTypeId(*args) - -def SoTexture3Transform_initClass(*args): - """SoTexture3Transform_initClass()""" - return _coin.SoTexture3Transform_initClass(*args) - -class SoTextureCoordinate2(SoNode): - """Proxy of C++ SoTextureCoordinate2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinate2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinate2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinate2""" - this = _coin.new_SoTextureCoordinate2(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoTextureCoordinate2_point_get, _coin.SoTextureCoordinate2_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinate2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinate2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinate2_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinate2_pick(*args) - -SoTextureCoordinate2_swigregister = _coin.SoTextureCoordinate2_swigregister -SoTextureCoordinate2_swigregister(SoTextureCoordinate2) - -def SoTextureCoordinate2_getClassTypeId(*args): - """SoTextureCoordinate2_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate2_getClassTypeId(*args) - -def SoTextureCoordinate2_initClass(*args): - """SoTextureCoordinate2_initClass()""" - return _coin.SoTextureCoordinate2_initClass(*args) - -class SoTextureCoordinate3(SoNode): - """Proxy of C++ SoTextureCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinate3""" - this = _coin.new_SoTextureCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoTextureCoordinate3_point_get, _coin.SoTextureCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinate3_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinate3_pick(*args) - -SoTextureCoordinate3_swigregister = _coin.SoTextureCoordinate3_swigregister -SoTextureCoordinate3_swigregister(SoTextureCoordinate3) - -def SoTextureCoordinate3_getClassTypeId(*args): - """SoTextureCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate3_getClassTypeId(*args) - -def SoTextureCoordinate3_initClass(*args): - """SoTextureCoordinate3_initClass()""" - return _coin.SoTextureCoordinate3_initClass(*args) - -class SoTextureCoordinateFunction(SoNode): - """Proxy of C++ SoTextureCoordinateFunction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateFunction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateFunction_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateFunction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateFunction""" - this = _coin.new_SoTextureCoordinateFunction(*args) - try: self.this.append(this) - except: self.this = this -SoTextureCoordinateFunction_swigregister = _coin.SoTextureCoordinateFunction_swigregister -SoTextureCoordinateFunction_swigregister(SoTextureCoordinateFunction) - -def SoTextureCoordinateFunction_getClassTypeId(*args): - """SoTextureCoordinateFunction_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateFunction_getClassTypeId(*args) - -def SoTextureCoordinateFunction_initClass(*args): - """SoTextureCoordinateFunction_initClass()""" - return _coin.SoTextureCoordinateFunction_initClass(*args) - -class SoTextureCoordinateDefault(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateDefault class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateDefault_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateDefault_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateDefault_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateDefault""" - this = _coin.new_SoTextureCoordinateDefault(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateDefault_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateDefault_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateDefault_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateDefault_pick(*args) - -SoTextureCoordinateDefault_swigregister = _coin.SoTextureCoordinateDefault_swigregister -SoTextureCoordinateDefault_swigregister(SoTextureCoordinateDefault) - -def SoTextureCoordinateDefault_getClassTypeId(*args): - """SoTextureCoordinateDefault_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateDefault_getClassTypeId(*args) - -def SoTextureCoordinateDefault_initClass(*args): - """SoTextureCoordinateDefault_initClass()""" - return _coin.SoTextureCoordinateDefault_initClass(*args) - -class SoTextureCoordinateEnvironment(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateEnvironment class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateEnvironment_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateEnvironment""" - this = _coin.new_SoTextureCoordinateEnvironment(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateEnvironment_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateEnvironment_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateEnvironment_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateEnvironment_callback(*args) - -SoTextureCoordinateEnvironment_swigregister = _coin.SoTextureCoordinateEnvironment_swigregister -SoTextureCoordinateEnvironment_swigregister(SoTextureCoordinateEnvironment) - -def SoTextureCoordinateEnvironment_getClassTypeId(*args): - """SoTextureCoordinateEnvironment_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getClassTypeId(*args) - -def SoTextureCoordinateEnvironment_initClass(*args): - """SoTextureCoordinateEnvironment_initClass()""" - return _coin.SoTextureCoordinateEnvironment_initClass(*args) - -class SoTextureCoordinatePlane(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinatePlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinatePlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinatePlane_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinatePlane_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinatePlane""" - this = _coin.new_SoTextureCoordinatePlane(*args) - try: self.this.append(this) - except: self.this = this - directionS = _swig_property(_coin.SoTextureCoordinatePlane_directionS_get, _coin.SoTextureCoordinatePlane_directionS_set) - directionT = _swig_property(_coin.SoTextureCoordinatePlane_directionT_get, _coin.SoTextureCoordinatePlane_directionT_set) - directionR = _swig_property(_coin.SoTextureCoordinatePlane_directionR_get, _coin.SoTextureCoordinatePlane_directionR_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinatePlane_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinatePlane_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinatePlane_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinatePlane_callback(*args) - -SoTextureCoordinatePlane_swigregister = _coin.SoTextureCoordinatePlane_swigregister -SoTextureCoordinatePlane_swigregister(SoTextureCoordinatePlane) - -def SoTextureCoordinatePlane_getClassTypeId(*args): - """SoTextureCoordinatePlane_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinatePlane_getClassTypeId(*args) - -def SoTextureCoordinatePlane_initClass(*args): - """SoTextureCoordinatePlane_initClass()""" - return _coin.SoTextureCoordinatePlane_initClass(*args) - -class SoTextureMatrixTransform(SoNode): - """Proxy of C++ SoTextureMatrixTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureMatrixTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureMatrixTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureMatrixTransform""" - this = _coin.new_SoTextureMatrixTransform(*args) - try: self.this.append(this) - except: self.this = this - matrix = _swig_property(_coin.SoTextureMatrixTransform_matrix_get, _coin.SoTextureMatrixTransform_matrix_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureMatrixTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureMatrixTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureMatrixTransform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTextureMatrixTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureMatrixTransform_pick(*args) - -SoTextureMatrixTransform_swigregister = _coin.SoTextureMatrixTransform_swigregister -SoTextureMatrixTransform_swigregister(SoTextureMatrixTransform) - -def SoTextureMatrixTransform_getClassTypeId(*args): - """SoTextureMatrixTransform_getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixTransform_getClassTypeId(*args) - -def SoTextureMatrixTransform_initClass(*args): - """SoTextureMatrixTransform_initClass()""" - return _coin.SoTextureMatrixTransform_initClass(*args) - -class SoWWWInline(SoNode): - """Proxy of C++ SoWWWInline class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWWWInline_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWWWInline_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoWWWInline_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoWWWInline""" - this = _coin.new_SoWWWInline(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoWWWInline_name_get, _coin.SoWWWInline_name_set) - bboxCenter = _swig_property(_coin.SoWWWInline_bboxCenter_get, _coin.SoWWWInline_bboxCenter_set) - bboxSize = _swig_property(_coin.SoWWWInline_bboxSize_get, _coin.SoWWWInline_bboxSize_set) - alternateRep = _swig_property(_coin.SoWWWInline_alternateRep_get, _coin.SoWWWInline_alternateRep_set) - NEVER = _coin.SoWWWInline_NEVER - UNTIL_LOADED = _coin.SoWWWInline_UNTIL_LOADED - ALWAYS = _coin.SoWWWInline_ALWAYS - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoWWWInline_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoWWWInline_getFullURLName(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoWWWInline_copyChildren(*args) - - def requestURLData(*args): - """requestURLData(self)""" - return _coin.SoWWWInline_requestURLData(*args) - - def isURLDataRequested(*args): - """isURLDataRequested(self) -> SbBool""" - return _coin.SoWWWInline_isURLDataRequested(*args) - - def isURLDataHere(*args): - """isURLDataHere(self) -> SbBool""" - return _coin.SoWWWInline_isURLDataHere(*args) - - def cancelURLDataRequest(*args): - """cancelURLDataRequest(self)""" - return _coin.SoWWWInline_cancelURLDataRequest(*args) - - def setChildData(*args): - """setChildData(self, SoNode urldata)""" - return _coin.SoWWWInline_setChildData(*args) - - def getChildData(*args): - """getChildData(self) -> SoNode""" - return _coin.SoWWWInline_getChildData(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoWWWInline_getChildren(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)""" - return _coin.SoWWWInline_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setBoundingBoxVisibility(*args): - """setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoWWWInline_setBoundingBoxVisibility(*args) - - setBoundingBoxVisibility = staticmethod(setBoundingBoxVisibility) - def getBoundingBoxVisibility(*args): - """getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoWWWInline_getBoundingBoxVisibility(*args) - - getBoundingBoxVisibility = staticmethod(getBoundingBoxVisibility) - def setBoundingBoxColor(*args): - """setBoundingBoxColor(SbColor c)""" - return _coin.SoWWWInline_setBoundingBoxColor(*args) - - setBoundingBoxColor = staticmethod(setBoundingBoxColor) - def getBoundingBoxColor(*args): - """getBoundingBoxColor() -> SbColor""" - return _coin.SoWWWInline_getBoundingBoxColor(*args) - - getBoundingBoxColor = staticmethod(getBoundingBoxColor) - def setReadAsSoFile(*args): - """setReadAsSoFile(SbBool onoff)""" - return _coin.SoWWWInline_setReadAsSoFile(*args) - - setReadAsSoFile = staticmethod(setReadAsSoFile) - def getReadAsSoFile(*args): - """getReadAsSoFile() -> SbBool""" - return _coin.SoWWWInline_getReadAsSoFile(*args) - - getReadAsSoFile = staticmethod(getReadAsSoFile) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoWWWInline_doAction(*args) - - def doActionOnKidsOrBox(*args): - """doActionOnKidsOrBox(self, SoAction action)""" - return _coin.SoWWWInline_doActionOnKidsOrBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoWWWInline_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoWWWInline_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoWWWInline_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoWWWInline_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoWWWInline_handleEvent(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoWWWInline_search(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoWWWInline_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoWWWInline_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoWWWInline_audioRender(*args) - -SoWWWInline_swigregister = _coin.SoWWWInline_swigregister -SoWWWInline_swigregister(SoWWWInline) - -def SoWWWInline_getClassTypeId(*args): - """SoWWWInline_getClassTypeId() -> SoType""" - return _coin.SoWWWInline_getClassTypeId(*args) - -def SoWWWInline_initClass(*args): - """SoWWWInline_initClass()""" - return _coin.SoWWWInline_initClass(*args) - -def SoWWWInline_setFetchURLCallBack(*args): - """SoWWWInline_setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)""" - return _coin.SoWWWInline_setFetchURLCallBack(*args) - -def SoWWWInline_setBoundingBoxVisibility(*args): - """SoWWWInline_setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoWWWInline_setBoundingBoxVisibility(*args) - -def SoWWWInline_getBoundingBoxVisibility(*args): - """SoWWWInline_getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoWWWInline_getBoundingBoxVisibility(*args) - -def SoWWWInline_setBoundingBoxColor(*args): - """SoWWWInline_setBoundingBoxColor(SbColor c)""" - return _coin.SoWWWInline_setBoundingBoxColor(*args) - -def SoWWWInline_getBoundingBoxColor(*args): - """SoWWWInline_getBoundingBoxColor() -> SbColor""" - return _coin.SoWWWInline_getBoundingBoxColor(*args) - -def SoWWWInline_setReadAsSoFile(*args): - """SoWWWInline_setReadAsSoFile(SbBool onoff)""" - return _coin.SoWWWInline_setReadAsSoFile(*args) - -def SoWWWInline_getReadAsSoFile(*args): - """SoWWWInline_getReadAsSoFile() -> SbBool""" - return _coin.SoWWWInline_getReadAsSoFile(*args) - -class SoTransparencyType(SoNode): - """Proxy of C++ SoTransparencyType class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransparencyType_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransparencyType_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransparencyType_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransparencyType""" - this = _coin.new_SoTransparencyType(*args) - try: self.this.append(this) - except: self.this = this - SCREEN_DOOR = _coin.SoTransparencyType_SCREEN_DOOR - ADD = _coin.SoTransparencyType_ADD - DELAYED_ADD = _coin.SoTransparencyType_DELAYED_ADD - SORTED_OBJECT_ADD = _coin.SoTransparencyType_SORTED_OBJECT_ADD - BLEND = _coin.SoTransparencyType_BLEND - DELAYED_BLEND = _coin.SoTransparencyType_DELAYED_BLEND - SORTED_OBJECT_BLEND = _coin.SoTransparencyType_SORTED_OBJECT_BLEND - SORTED_OBJECT_SORTED_TRIANGLE_ADD = _coin.SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_ADD - SORTED_OBJECT_SORTED_TRIANGLE_BLEND = _coin.SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_BLEND - NONE = _coin.SoTransparencyType_NONE - value = _swig_property(_coin.SoTransparencyType_value_get, _coin.SoTransparencyType_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransparencyType_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransparencyType_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransparencyType_callback(*args) - -SoTransparencyType_swigregister = _coin.SoTransparencyType_swigregister -SoTransparencyType_swigregister(SoTransparencyType) - -def SoTransparencyType_getClassTypeId(*args): - """SoTransparencyType_getClassTypeId() -> SoType""" - return _coin.SoTransparencyType_getClassTypeId(*args) - -def SoTransparencyType_initClass(*args): - """SoTransparencyType_initClass()""" - return _coin.SoTransparencyType_initClass(*args) - -class SoTextureCoordinateCube(SoNode): - """Proxy of C++ SoTextureCoordinateCube class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCube_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateCube_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateCube_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateCube""" - this = _coin.new_SoTextureCoordinateCube(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateCube_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateCube_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateCube_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateCube_pick(*args) - -SoTextureCoordinateCube_swigregister = _coin.SoTextureCoordinateCube_swigregister -SoTextureCoordinateCube_swigregister(SoTextureCoordinateCube) - -def SoTextureCoordinateCube_getClassTypeId(*args): - """SoTextureCoordinateCube_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCube_getClassTypeId(*args) - -def SoTextureCoordinateCube_initClass(*args): - """SoTextureCoordinateCube_initClass()""" - return _coin.SoTextureCoordinateCube_initClass(*args) - -class SoTextureCoordinateSphere(SoNode): - """Proxy of C++ SoTextureCoordinateSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateSphere""" - this = _coin.new_SoTextureCoordinateSphere(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateSphere_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateSphere_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateSphere_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateSphere_pick(*args) - -SoTextureCoordinateSphere_swigregister = _coin.SoTextureCoordinateSphere_swigregister -SoTextureCoordinateSphere_swigregister(SoTextureCoordinateSphere) - -def SoTextureCoordinateSphere_getClassTypeId(*args): - """SoTextureCoordinateSphere_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateSphere_getClassTypeId(*args) - -def SoTextureCoordinateSphere_initClass(*args): - """SoTextureCoordinateSphere_initClass()""" - return _coin.SoTextureCoordinateSphere_initClass(*args) - -class SoTextureCoordinateCylinder(SoNode): - """Proxy of C++ SoTextureCoordinateCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateCylinder""" - this = _coin.new_SoTextureCoordinateCylinder(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateCylinder_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateCylinder_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateCylinder_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateCylinder_pick(*args) - -SoTextureCoordinateCylinder_swigregister = _coin.SoTextureCoordinateCylinder_swigregister -SoTextureCoordinateCylinder_swigregister(SoTextureCoordinateCylinder) - -def SoTextureCoordinateCylinder_getClassTypeId(*args): - """SoTextureCoordinateCylinder_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCylinder_getClassTypeId(*args) - -def SoTextureCoordinateCylinder_initClass(*args): - """SoTextureCoordinateCylinder_initClass()""" - return _coin.SoTextureCoordinateCylinder_initClass(*args) - -class SoTextureCubeMap(SoTexture): - """Proxy of C++ SoTextureCubeMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCubeMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCubeMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCubeMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCubeMap""" - this = _coin.new_SoTextureCubeMap(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoTextureCubeMap_MODULATE - DECAL = _coin.SoTextureCubeMap_DECAL - BLEND = _coin.SoTextureCubeMap_BLEND - REPLACE = _coin.SoTextureCubeMap_REPLACE - REPEAT = _coin.SoTextureCubeMap_REPEAT - CLAMP = _coin.SoTextureCubeMap_CLAMP - filenames = _swig_property(_coin.SoTextureCubeMap_filenames_get, _coin.SoTextureCubeMap_filenames_set) - imagePosX = _swig_property(_coin.SoTextureCubeMap_imagePosX_get, _coin.SoTextureCubeMap_imagePosX_set) - imageNegX = _swig_property(_coin.SoTextureCubeMap_imageNegX_get, _coin.SoTextureCubeMap_imageNegX_set) - imagePosY = _swig_property(_coin.SoTextureCubeMap_imagePosY_get, _coin.SoTextureCubeMap_imagePosY_set) - imageNegY = _swig_property(_coin.SoTextureCubeMap_imageNegY_get, _coin.SoTextureCubeMap_imageNegY_set) - imagePosZ = _swig_property(_coin.SoTextureCubeMap_imagePosZ_get, _coin.SoTextureCubeMap_imagePosZ_set) - imageNegZ = _swig_property(_coin.SoTextureCubeMap_imageNegZ_get, _coin.SoTextureCubeMap_imageNegZ_set) - wrapS = _swig_property(_coin.SoTextureCubeMap_wrapS_get, _coin.SoTextureCubeMap_wrapS_set) - wrapT = _swig_property(_coin.SoTextureCubeMap_wrapT_get, _coin.SoTextureCubeMap_wrapT_set) - model = _swig_property(_coin.SoTextureCubeMap_model_get, _coin.SoTextureCubeMap_model_set) - blendColor = _swig_property(_coin.SoTextureCubeMap_blendColor_get, _coin.SoTextureCubeMap_blendColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCubeMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCubeMap_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCubeMap_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoTextureCubeMap_rayPick(*args) - - def readImage(*args): - """readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTextureCubeMap_readImage(*args) - - readImage = staticmethod(readImage) -SoTextureCubeMap_swigregister = _coin.SoTextureCubeMap_swigregister -SoTextureCubeMap_swigregister(SoTextureCubeMap) - -def SoTextureCubeMap_getClassTypeId(*args): - """SoTextureCubeMap_getClassTypeId() -> SoType""" - return _coin.SoTextureCubeMap_getClassTypeId(*args) - -def SoTextureCubeMap_initClass(*args): - """SoTextureCubeMap_initClass()""" - return _coin.SoTextureCubeMap_initClass(*args) - -def SoTextureCubeMap_readImage(*args): - """SoTextureCubeMap_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTextureCubeMap_readImage(*args) - -class SoShaderObject(SoNode): - """Proxy of C++ SoShaderObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderObject_getTypeId(*args) - - ARB_PROGRAM = _coin.SoShaderObject_ARB_PROGRAM - CG_PROGRAM = _coin.SoShaderObject_CG_PROGRAM - GLSL_PROGRAM = _coin.SoShaderObject_GLSL_PROGRAM - FILENAME = _coin.SoShaderObject_FILENAME - isActive = _swig_property(_coin.SoShaderObject_isActive_get, _coin.SoShaderObject_isActive_set) - sourceType = _swig_property(_coin.SoShaderObject_sourceType_get, _coin.SoShaderObject_sourceType_set) - sourceProgram = _swig_property(_coin.SoShaderObject_sourceProgram_get, _coin.SoShaderObject_sourceProgram_set) - parameter = _swig_property(_coin.SoShaderObject_parameter_get, _coin.SoShaderObject_parameter_set) - def initClass(*args): - """initClass()""" - return _coin.SoShaderObject_initClass(*args) - - initClass = staticmethod(initClass) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShaderObject_GLRender(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoShaderObject_search(*args) - - def updateParameters(*args): - """updateParameters(self, SoState state)""" - return _coin.SoShaderObject_updateParameters(*args) - - def getSourceType(*args): - """getSourceType(self) -> SourceType""" - return _coin.SoShaderObject_getSourceType(*args) - - def getSourceProgram(*args): - """getSourceProgram(self) -> SbString""" - return _coin.SoShaderObject_getSourceProgram(*args) - -SoShaderObject_swigregister = _coin.SoShaderObject_swigregister -SoShaderObject_swigregister(SoShaderObject) - -def SoShaderObject_getClassTypeId(*args): - """SoShaderObject_getClassTypeId() -> SoType""" - return _coin.SoShaderObject_getClassTypeId(*args) - -def SoShaderObject_initClass(*args): - """SoShaderObject_initClass()""" - return _coin.SoShaderObject_initClass(*args) - -class SoShaderParameter(SoNode): - """Proxy of C++ SoShaderParameter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter_getTypeId(*args) - - name = _swig_property(_coin.SoShaderParameter_name_get, _coin.SoShaderParameter_name_set) - identifier = _swig_property(_coin.SoShaderParameter_identifier_get, _coin.SoShaderParameter_identifier_set) - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter_initClass(*args) - - initClass = staticmethod(initClass) -SoShaderParameter_swigregister = _coin.SoShaderParameter_swigregister -SoShaderParameter_swigregister(SoShaderParameter) - -def SoShaderParameter_getClassTypeId(*args): - """SoShaderParameter_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter_getClassTypeId(*args) - -def SoShaderParameter_initClass(*args): - """SoShaderParameter_initClass()""" - return _coin.SoShaderParameter_initClass(*args) - -class SoUniformShaderParameter(SoShaderParameter): - """Proxy of C++ SoUniformShaderParameter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoUniformShaderParameter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoUniformShaderParameter_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoUniformShaderParameter_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoUniformShaderParameter_updateParameter(*args) - -SoUniformShaderParameter_swigregister = _coin.SoUniformShaderParameter_swigregister -SoUniformShaderParameter_swigregister(SoUniformShaderParameter) - -def SoUniformShaderParameter_getClassTypeId(*args): - """SoUniformShaderParameter_getClassTypeId() -> SoType""" - return _coin.SoUniformShaderParameter_getClassTypeId(*args) - -def SoUniformShaderParameter_initClass(*args): - """SoUniformShaderParameter_initClass()""" - return _coin.SoUniformShaderParameter_initClass(*args) - -class SoShaderParameter1f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter1f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter1f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter1f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter1f_value_get, _coin.SoShaderParameter1f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter1f""" - this = _coin.new_SoShaderParameter1f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter1f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter1f_updateParameter(*args) - -SoShaderParameter1f_swigregister = _coin.SoShaderParameter1f_swigregister -SoShaderParameter1f_swigregister(SoShaderParameter1f) - -def SoShaderParameter1f_getClassTypeId(*args): - """SoShaderParameter1f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter1f_getClassTypeId(*args) - -def SoShaderParameter1f_initClass(*args): - """SoShaderParameter1f_initClass()""" - return _coin.SoShaderParameter1f_initClass(*args) - -class SoShaderParameter1i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter1i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter1i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter1i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter1i_value_get, _coin.SoShaderParameter1i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter1i""" - this = _coin.new_SoShaderParameter1i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter1i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter1i_updateParameter(*args) - -SoShaderParameter1i_swigregister = _coin.SoShaderParameter1i_swigregister -SoShaderParameter1i_swigregister(SoShaderParameter1i) - -def SoShaderParameter1i_getClassTypeId(*args): - """SoShaderParameter1i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter1i_getClassTypeId(*args) - -def SoShaderParameter1i_initClass(*args): - """SoShaderParameter1i_initClass()""" - return _coin.SoShaderParameter1i_initClass(*args) - -class SoShaderParameter2f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter2f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter2f_value_get, _coin.SoShaderParameter2f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter2f""" - this = _coin.new_SoShaderParameter2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter2f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter2f_updateParameter(*args) - -SoShaderParameter2f_swigregister = _coin.SoShaderParameter2f_swigregister -SoShaderParameter2f_swigregister(SoShaderParameter2f) - -def SoShaderParameter2f_getClassTypeId(*args): - """SoShaderParameter2f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter2f_getClassTypeId(*args) - -def SoShaderParameter2f_initClass(*args): - """SoShaderParameter2f_initClass()""" - return _coin.SoShaderParameter2f_initClass(*args) - -class SoShaderParameter2i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter2i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter2i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter2i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter2i_value_get, _coin.SoShaderParameter2i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter2i""" - this = _coin.new_SoShaderParameter2i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter2i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter2i_updateParameter(*args) - -SoShaderParameter2i_swigregister = _coin.SoShaderParameter2i_swigregister -SoShaderParameter2i_swigregister(SoShaderParameter2i) - -def SoShaderParameter2i_getClassTypeId(*args): - """SoShaderParameter2i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter2i_getClassTypeId(*args) - -def SoShaderParameter2i_initClass(*args): - """SoShaderParameter2i_initClass()""" - return _coin.SoShaderParameter2i_initClass(*args) - -class SoShaderParameter3f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter3f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter3f_value_get, _coin.SoShaderParameter3f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter3f""" - this = _coin.new_SoShaderParameter3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter3f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter3f_updateParameter(*args) - -SoShaderParameter3f_swigregister = _coin.SoShaderParameter3f_swigregister -SoShaderParameter3f_swigregister(SoShaderParameter3f) - -def SoShaderParameter3f_getClassTypeId(*args): - """SoShaderParameter3f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter3f_getClassTypeId(*args) - -def SoShaderParameter3f_initClass(*args): - """SoShaderParameter3f_initClass()""" - return _coin.SoShaderParameter3f_initClass(*args) - -class SoShaderParameter3i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter3i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter3i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter3i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter3i_value_get, _coin.SoShaderParameter3i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter3i""" - this = _coin.new_SoShaderParameter3i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter3i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter3i_updateParameter(*args) - -SoShaderParameter3i_swigregister = _coin.SoShaderParameter3i_swigregister -SoShaderParameter3i_swigregister(SoShaderParameter3i) - -def SoShaderParameter3i_getClassTypeId(*args): - """SoShaderParameter3i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter3i_getClassTypeId(*args) - -def SoShaderParameter3i_initClass(*args): - """SoShaderParameter3i_initClass()""" - return _coin.SoShaderParameter3i_initClass(*args) - -class SoShaderParameter4f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter4f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter4f_value_get, _coin.SoShaderParameter4f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter4f""" - this = _coin.new_SoShaderParameter4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter4f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter4f_updateParameter(*args) - -SoShaderParameter4f_swigregister = _coin.SoShaderParameter4f_swigregister -SoShaderParameter4f_swigregister(SoShaderParameter4f) - -def SoShaderParameter4f_getClassTypeId(*args): - """SoShaderParameter4f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter4f_getClassTypeId(*args) - -def SoShaderParameter4f_initClass(*args): - """SoShaderParameter4f_initClass()""" - return _coin.SoShaderParameter4f_initClass(*args) - -class SoShaderParameter4i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameter4i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameter4i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameter4i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameter4i_value_get, _coin.SoShaderParameter4i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameter4i""" - this = _coin.new_SoShaderParameter4i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameter4i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameter4i_updateParameter(*args) - -SoShaderParameter4i_swigregister = _coin.SoShaderParameter4i_swigregister -SoShaderParameter4i_swigregister(SoShaderParameter4i) - -def SoShaderParameter4i_getClassTypeId(*args): - """SoShaderParameter4i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameter4i_getClassTypeId(*args) - -def SoShaderParameter4i_initClass(*args): - """SoShaderParameter4i_initClass()""" - return _coin.SoShaderParameter4i_initClass(*args) - -class SoShaderParameterArray1f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray1f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray1f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray1f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray1f_value_get, _coin.SoShaderParameterArray1f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray1f""" - this = _coin.new_SoShaderParameterArray1f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray1f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray1f_updateParameter(*args) - -SoShaderParameterArray1f_swigregister = _coin.SoShaderParameterArray1f_swigregister -SoShaderParameterArray1f_swigregister(SoShaderParameterArray1f) - -def SoShaderParameterArray1f_getClassTypeId(*args): - """SoShaderParameterArray1f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray1f_getClassTypeId(*args) - -def SoShaderParameterArray1f_initClass(*args): - """SoShaderParameterArray1f_initClass()""" - return _coin.SoShaderParameterArray1f_initClass(*args) - -class SoShaderParameterArray1i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray1i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray1i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray1i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray1i_value_get, _coin.SoShaderParameterArray1i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray1i""" - this = _coin.new_SoShaderParameterArray1i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray1i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray1i_updateParameter(*args) - -SoShaderParameterArray1i_swigregister = _coin.SoShaderParameterArray1i_swigregister -SoShaderParameterArray1i_swigregister(SoShaderParameterArray1i) - -def SoShaderParameterArray1i_getClassTypeId(*args): - """SoShaderParameterArray1i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray1i_getClassTypeId(*args) - -def SoShaderParameterArray1i_initClass(*args): - """SoShaderParameterArray1i_initClass()""" - return _coin.SoShaderParameterArray1i_initClass(*args) - -class SoShaderParameterArray2f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray2f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray2f_value_get, _coin.SoShaderParameterArray2f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray2f""" - this = _coin.new_SoShaderParameterArray2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray2f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray2f_updateParameter(*args) - -SoShaderParameterArray2f_swigregister = _coin.SoShaderParameterArray2f_swigregister -SoShaderParameterArray2f_swigregister(SoShaderParameterArray2f) - -def SoShaderParameterArray2f_getClassTypeId(*args): - """SoShaderParameterArray2f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray2f_getClassTypeId(*args) - -def SoShaderParameterArray2f_initClass(*args): - """SoShaderParameterArray2f_initClass()""" - return _coin.SoShaderParameterArray2f_initClass(*args) - -class SoShaderParameterArray2i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray2i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray2i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray2i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray2i_value_get, _coin.SoShaderParameterArray2i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray2i""" - this = _coin.new_SoShaderParameterArray2i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray2i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray2i_updateParameter(*args) - -SoShaderParameterArray2i_swigregister = _coin.SoShaderParameterArray2i_swigregister -SoShaderParameterArray2i_swigregister(SoShaderParameterArray2i) - -def SoShaderParameterArray2i_getClassTypeId(*args): - """SoShaderParameterArray2i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray2i_getClassTypeId(*args) - -def SoShaderParameterArray2i_initClass(*args): - """SoShaderParameterArray2i_initClass()""" - return _coin.SoShaderParameterArray2i_initClass(*args) - -class SoShaderParameterArray3f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray3f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray3f_value_get, _coin.SoShaderParameterArray3f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray3f""" - this = _coin.new_SoShaderParameterArray3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray3f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray3f_updateParameter(*args) - -SoShaderParameterArray3f_swigregister = _coin.SoShaderParameterArray3f_swigregister -SoShaderParameterArray3f_swigregister(SoShaderParameterArray3f) - -def SoShaderParameterArray3f_getClassTypeId(*args): - """SoShaderParameterArray3f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray3f_getClassTypeId(*args) - -def SoShaderParameterArray3f_initClass(*args): - """SoShaderParameterArray3f_initClass()""" - return _coin.SoShaderParameterArray3f_initClass(*args) - -class SoShaderParameterArray3i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray3i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray3i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray3i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray3i_value_get, _coin.SoShaderParameterArray3i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray3i""" - this = _coin.new_SoShaderParameterArray3i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray3i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray3i_updateParameter(*args) - -SoShaderParameterArray3i_swigregister = _coin.SoShaderParameterArray3i_swigregister -SoShaderParameterArray3i_swigregister(SoShaderParameterArray3i) - -def SoShaderParameterArray3i_getClassTypeId(*args): - """SoShaderParameterArray3i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray3i_getClassTypeId(*args) - -def SoShaderParameterArray3i_initClass(*args): - """SoShaderParameterArray3i_initClass()""" - return _coin.SoShaderParameterArray3i_initClass(*args) - -class SoShaderParameterArray4f(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray4f_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray4f_value_get, _coin.SoShaderParameterArray4f_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray4f""" - this = _coin.new_SoShaderParameterArray4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray4f_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray4f_updateParameter(*args) - -SoShaderParameterArray4f_swigregister = _coin.SoShaderParameterArray4f_swigregister -SoShaderParameterArray4f_swigregister(SoShaderParameterArray4f) - -def SoShaderParameterArray4f_getClassTypeId(*args): - """SoShaderParameterArray4f_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray4f_getClassTypeId(*args) - -def SoShaderParameterArray4f_initClass(*args): - """SoShaderParameterArray4f_initClass()""" - return _coin.SoShaderParameterArray4f_initClass(*args) - -class SoShaderParameterArray4i(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterArray4i class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray4i_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterArray4i_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterArray4i_value_get, _coin.SoShaderParameterArray4i_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterArray4i""" - this = _coin.new_SoShaderParameterArray4i(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterArray4i_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterArray4i_updateParameter(*args) - -SoShaderParameterArray4i_swigregister = _coin.SoShaderParameterArray4i_swigregister -SoShaderParameterArray4i_swigregister(SoShaderParameterArray4i) - -def SoShaderParameterArray4i_getClassTypeId(*args): - """SoShaderParameterArray4i_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterArray4i_getClassTypeId(*args) - -def SoShaderParameterArray4i_initClass(*args): - """SoShaderParameterArray4i_initClass()""" - return _coin.SoShaderParameterArray4i_initClass(*args) - -class SoShaderParameterMatrix(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterMatrix_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterMatrix_value_get, _coin.SoShaderParameterMatrix_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterMatrix""" - this = _coin.new_SoShaderParameterMatrix(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterMatrix_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterMatrix_updateParameter(*args) - -SoShaderParameterMatrix_swigregister = _coin.SoShaderParameterMatrix_swigregister -SoShaderParameterMatrix_swigregister(SoShaderParameterMatrix) - -def SoShaderParameterMatrix_getClassTypeId(*args): - """SoShaderParameterMatrix_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterMatrix_getClassTypeId(*args) - -def SoShaderParameterMatrix_initClass(*args): - """SoShaderParameterMatrix_initClass()""" - return _coin.SoShaderParameterMatrix_initClass(*args) - -class SoShaderParameterMatrixArray(SoUniformShaderParameter): - """Proxy of C++ SoShaderParameterMatrixArray class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderParameterMatrixArray_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderParameterMatrixArray_getTypeId(*args) - - value = _swig_property(_coin.SoShaderParameterMatrixArray_value_get, _coin.SoShaderParameterMatrixArray_value_set) - def __init__(self, *args): - """__init__(self) -> SoShaderParameterMatrixArray""" - this = _coin.new_SoShaderParameterMatrixArray(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShaderParameterMatrixArray_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderParameterMatrixArray_updateParameter(*args) - -SoShaderParameterMatrixArray_swigregister = _coin.SoShaderParameterMatrixArray_swigregister -SoShaderParameterMatrixArray_swigregister(SoShaderParameterMatrixArray) - -def SoShaderParameterMatrixArray_getClassTypeId(*args): - """SoShaderParameterMatrixArray_getClassTypeId() -> SoType""" - return _coin.SoShaderParameterMatrixArray_getClassTypeId(*args) - -def SoShaderParameterMatrixArray_initClass(*args): - """SoShaderParameterMatrixArray_initClass()""" - return _coin.SoShaderParameterMatrixArray_initClass(*args) - -class SoShaderStateMatrixParameter(SoUniformShaderParameter): - """Proxy of C++ SoShaderStateMatrixParameter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderStateMatrixParameter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderStateMatrixParameter_getTypeId(*args) - - MODELVIEW = _coin.SoShaderStateMatrixParameter_MODELVIEW - PROJECTION = _coin.SoShaderStateMatrixParameter_PROJECTION - TEXTURE = _coin.SoShaderStateMatrixParameter_TEXTURE - MODELVIEW_PROJECTION = _coin.SoShaderStateMatrixParameter_MODELVIEW_PROJECTION - IDENTITY = _coin.SoShaderStateMatrixParameter_IDENTITY - TRANSPOSE = _coin.SoShaderStateMatrixParameter_TRANSPOSE - INVERSE = _coin.SoShaderStateMatrixParameter_INVERSE - INVERSE_TRANSPOSE = _coin.SoShaderStateMatrixParameter_INVERSE_TRANSPOSE - matrixType = _swig_property(_coin.SoShaderStateMatrixParameter_matrixType_get, _coin.SoShaderStateMatrixParameter_matrixType_set) - matrixTransform = _swig_property(_coin.SoShaderStateMatrixParameter_matrixTransform_get, _coin.SoShaderStateMatrixParameter_matrixTransform_set) - def __init__(self, *args): - """__init__(self) -> SoShaderStateMatrixParameter""" - this = _coin.new_SoShaderStateMatrixParameter(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoShaderStateMatrixParameter - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoShaderStateMatrixParameter_initClass(*args) - - initClass = staticmethod(initClass) - def updateParameter(*args): - """updateParameter(self, SoGLShaderObject shaderObject)""" - return _coin.SoShaderStateMatrixParameter_updateParameter(*args) - -SoShaderStateMatrixParameter_swigregister = _coin.SoShaderStateMatrixParameter_swigregister -SoShaderStateMatrixParameter_swigregister(SoShaderStateMatrixParameter) - -def SoShaderStateMatrixParameter_getClassTypeId(*args): - """SoShaderStateMatrixParameter_getClassTypeId() -> SoType""" - return _coin.SoShaderStateMatrixParameter_getClassTypeId(*args) - -def SoShaderStateMatrixParameter_initClass(*args): - """SoShaderStateMatrixParameter_initClass()""" - return _coin.SoShaderStateMatrixParameter_initClass(*args) - -class SoShaderProgram(SoNode): - """Proxy of C++ SoShaderProgram class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShaderProgram_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShaderProgram_getTypeId(*args) - - shaderObject = _swig_property(_coin.SoShaderProgram_shaderObject_get, _coin.SoShaderProgram_shaderObject_set) - def __init__(self, *args): - """__init__(self) -> SoShaderProgram""" - this = _coin.new_SoShaderProgram(*args) - try: self.this.append(this) - except: self.this = this - def setEnableCallback(*args): - """setEnableCallback(self, SoShaderProgramEnableCB cb, void closure)""" - return _coin.SoShaderProgram_setEnableCallback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShaderProgram_GLRender(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoShaderProgram_search(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShaderProgram_initClass(*args) - - initClass = staticmethod(initClass) -SoShaderProgram_swigregister = _coin.SoShaderProgram_swigregister -SoShaderProgram_swigregister(SoShaderProgram) - -def SoShaderProgram_getClassTypeId(*args): - """SoShaderProgram_getClassTypeId() -> SoType""" - return _coin.SoShaderProgram_getClassTypeId(*args) - -def SoShaderProgram_initClass(*args): - """SoShaderProgram_initClass()""" - return _coin.SoShaderProgram_initClass(*args) - -class SoFragmentShader(SoShaderObject): - """Proxy of C++ SoFragmentShader class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFragmentShader_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFragmentShader_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFragmentShader_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFragmentShader""" - this = _coin.new_SoFragmentShader(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoFragmentShader - __del__ = lambda self : None; - def isSupported(*args): - """isSupported(SourceType sourceType) -> SbBool""" - return _coin.SoFragmentShader_isSupported(*args) - - isSupported = staticmethod(isSupported) -SoFragmentShader_swigregister = _coin.SoFragmentShader_swigregister -SoFragmentShader_swigregister(SoFragmentShader) - -def SoFragmentShader_getClassTypeId(*args): - """SoFragmentShader_getClassTypeId() -> SoType""" - return _coin.SoFragmentShader_getClassTypeId(*args) - -def SoFragmentShader_initClass(*args): - """SoFragmentShader_initClass()""" - return _coin.SoFragmentShader_initClass(*args) - -def SoFragmentShader_isSupported(*args): - """SoFragmentShader_isSupported(SourceType sourceType) -> SbBool""" - return _coin.SoFragmentShader_isSupported(*args) - -class SoVertexShader(SoShaderObject): - """Proxy of C++ SoVertexShader class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexShader_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexShader_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexShader_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVertexShader""" - this = _coin.new_SoVertexShader(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoVertexShader - __del__ = lambda self : None; - def isSupported(*args): - """isSupported(SourceType sourceType) -> SbBool""" - return _coin.SoVertexShader_isSupported(*args) - - isSupported = staticmethod(isSupported) -SoVertexShader_swigregister = _coin.SoVertexShader_swigregister -SoVertexShader_swigregister(SoVertexShader) - -def SoVertexShader_getClassTypeId(*args): - """SoVertexShader_getClassTypeId() -> SoType""" - return _coin.SoVertexShader_getClassTypeId(*args) - -def SoVertexShader_initClass(*args): - """SoVertexShader_initClass()""" - return _coin.SoVertexShader_initClass(*args) - -def SoVertexShader_isSupported(*args): - """SoVertexShader_isSupported(SourceType sourceType) -> SbBool""" - return _coin.SoVertexShader_isSupported(*args) - -class SoTextureCoordinateNormalMap(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateNormalMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateNormalMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateNormalMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateNormalMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateNormalMap""" - this = _coin.new_SoTextureCoordinateNormalMap(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateNormalMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateNormalMap_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateNormalMap_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateNormalMap_callback(*args) - -SoTextureCoordinateNormalMap_swigregister = _coin.SoTextureCoordinateNormalMap_swigregister -SoTextureCoordinateNormalMap_swigregister(SoTextureCoordinateNormalMap) - -def SoTextureCoordinateNormalMap_getClassTypeId(*args): - """SoTextureCoordinateNormalMap_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateNormalMap_getClassTypeId(*args) - -def SoTextureCoordinateNormalMap_initClass(*args): - """SoTextureCoordinateNormalMap_initClass()""" - return _coin.SoTextureCoordinateNormalMap_initClass(*args) - -class SoTextureCoordinateReflectionMap(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateReflectionMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateReflectionMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateReflectionMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateReflectionMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateReflectionMap""" - this = _coin.new_SoTextureCoordinateReflectionMap(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateReflectionMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateReflectionMap_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateReflectionMap_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateReflectionMap_callback(*args) - -SoTextureCoordinateReflectionMap_swigregister = _coin.SoTextureCoordinateReflectionMap_swigregister -SoTextureCoordinateReflectionMap_swigregister(SoTextureCoordinateReflectionMap) - -def SoTextureCoordinateReflectionMap_getClassTypeId(*args): - """SoTextureCoordinateReflectionMap_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateReflectionMap_getClassTypeId(*args) - -def SoTextureCoordinateReflectionMap_initClass(*args): - """SoTextureCoordinateReflectionMap_initClass()""" - return _coin.SoTextureCoordinateReflectionMap_initClass(*args) - -class SoTextureCoordinateObject(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateObject_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateObject_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateObject""" - this = _coin.new_SoTextureCoordinateObject(*args) - try: self.this.append(this) - except: self.this = this - factorS = _swig_property(_coin.SoTextureCoordinateObject_factorS_get, _coin.SoTextureCoordinateObject_factorS_set) - factorT = _swig_property(_coin.SoTextureCoordinateObject_factorT_get, _coin.SoTextureCoordinateObject_factorT_set) - factorR = _swig_property(_coin.SoTextureCoordinateObject_factorR_get, _coin.SoTextureCoordinateObject_factorR_set) - factorQ = _swig_property(_coin.SoTextureCoordinateObject_factorQ_get, _coin.SoTextureCoordinateObject_factorQ_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateObject_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateObject_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateObject_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateObject_callback(*args) - -SoTextureCoordinateObject_swigregister = _coin.SoTextureCoordinateObject_swigregister -SoTextureCoordinateObject_swigregister(SoTextureCoordinateObject) - -def SoTextureCoordinateObject_getClassTypeId(*args): - """SoTextureCoordinateObject_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateObject_getClassTypeId(*args) - -def SoTextureCoordinateObject_initClass(*args): - """SoTextureCoordinateObject_initClass()""" - return _coin.SoTextureCoordinateObject_initClass(*args) - -class SoTextureScalePolicy(SoNode): - """Proxy of C++ SoTextureScalePolicy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureScalePolicy_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureScalePolicy_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureScalePolicy_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureScalePolicy""" - this = _coin.new_SoTextureScalePolicy(*args) - try: self.this.append(this) - except: self.this = this - USE_TEXTURE_QUALITY = _coin.SoTextureScalePolicy_USE_TEXTURE_QUALITY - SCALE_DOWN = _coin.SoTextureScalePolicy_SCALE_DOWN - SCALE_UP = _coin.SoTextureScalePolicy_SCALE_UP - FRACTURE = _coin.SoTextureScalePolicy_FRACTURE - policy = _swig_property(_coin.SoTextureScalePolicy_policy_get, _coin.SoTextureScalePolicy_policy_set) - quality = _swig_property(_coin.SoTextureScalePolicy_quality_get, _coin.SoTextureScalePolicy_quality_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureScalePolicy_GLRender(*args) - -SoTextureScalePolicy_swigregister = _coin.SoTextureScalePolicy_swigregister -SoTextureScalePolicy_swigregister(SoTextureScalePolicy) - -def SoTextureScalePolicy_getClassTypeId(*args): - """SoTextureScalePolicy_getClassTypeId() -> SoType""" - return _coin.SoTextureScalePolicy_getClassTypeId(*args) - -def SoTextureScalePolicy_initClass(*args): - """SoTextureScalePolicy_initClass()""" - return _coin.SoTextureScalePolicy_initClass(*args) - -class SoTextureUnit(SoNode): - """Proxy of C++ SoTextureUnit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureUnit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureUnit_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureUnit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureUnit""" - this = _coin.new_SoTextureUnit(*args) - try: self.this.append(this) - except: self.this = this - BUMP_MAPPING = _coin.SoTextureUnit_BUMP_MAPPING - IMAGE_MAPPING = _coin.SoTextureUnit_IMAGE_MAPPING - unit = _swig_property(_coin.SoTextureUnit_unit_get, _coin.SoTextureUnit_unit_set) - mappingMethod = _swig_property(_coin.SoTextureUnit_mappingMethod_get, _coin.SoTextureUnit_mappingMethod_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureUnit_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureUnit_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureUnit_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureUnit_pick(*args) - - def getMaxTextureUnit(*args): - """getMaxTextureUnit() -> uint32_t""" - return _coin.SoTextureUnit_getMaxTextureUnit(*args) - - getMaxTextureUnit = staticmethod(getMaxTextureUnit) -SoTextureUnit_swigregister = _coin.SoTextureUnit_swigregister -SoTextureUnit_swigregister(SoTextureUnit) - -def SoTextureUnit_getClassTypeId(*args): - """SoTextureUnit_getClassTypeId() -> SoType""" - return _coin.SoTextureUnit_getClassTypeId(*args) - -def SoTextureUnit_initClass(*args): - """SoTextureUnit_initClass()""" - return _coin.SoTextureUnit_initClass(*args) - -def SoTextureUnit_getMaxTextureUnit(*args): - """SoTextureUnit_getMaxTextureUnit() -> uint32_t""" - return _coin.SoTextureUnit_getMaxTextureUnit(*args) - -class SoTextureCombine(SoNode): - """Proxy of C++ SoTextureCombine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCombine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCombine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCombine_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCombine""" - this = _coin.new_SoTextureCombine(*args) - try: self.this.append(this) - except: self.this = this - PRIMARY_COLOR = _coin.SoTextureCombine_PRIMARY_COLOR - TEXTURE = _coin.SoTextureCombine_TEXTURE - CONSTANT = _coin.SoTextureCombine_CONSTANT - PREVIOUS = _coin.SoTextureCombine_PREVIOUS - SRC_COLOR = _coin.SoTextureCombine_SRC_COLOR - ONE_MINUS_SRC_COLOR = _coin.SoTextureCombine_ONE_MINUS_SRC_COLOR - SRC_ALPHA = _coin.SoTextureCombine_SRC_ALPHA - ONE_MINUS_SRC_ALPHA = _coin.SoTextureCombine_ONE_MINUS_SRC_ALPHA - REPLACE = _coin.SoTextureCombine_REPLACE - MODULATE = _coin.SoTextureCombine_MODULATE - ADD = _coin.SoTextureCombine_ADD - ADD_SIGNED = _coin.SoTextureCombine_ADD_SIGNED - SUBTRACT = _coin.SoTextureCombine_SUBTRACT - INTERPOLATE = _coin.SoTextureCombine_INTERPOLATE - DOT3_RGB = _coin.SoTextureCombine_DOT3_RGB - DOT3_RGBA = _coin.SoTextureCombine_DOT3_RGBA - rgbSource = _swig_property(_coin.SoTextureCombine_rgbSource_get, _coin.SoTextureCombine_rgbSource_set) - alphaSource = _swig_property(_coin.SoTextureCombine_alphaSource_get, _coin.SoTextureCombine_alphaSource_set) - rgbOperand = _swig_property(_coin.SoTextureCombine_rgbOperand_get, _coin.SoTextureCombine_rgbOperand_set) - alphaOperand = _swig_property(_coin.SoTextureCombine_alphaOperand_get, _coin.SoTextureCombine_alphaOperand_set) - rgbOperation = _swig_property(_coin.SoTextureCombine_rgbOperation_get, _coin.SoTextureCombine_rgbOperation_set) - alphaOperation = _swig_property(_coin.SoTextureCombine_alphaOperation_get, _coin.SoTextureCombine_alphaOperation_set) - rgbScale = _swig_property(_coin.SoTextureCombine_rgbScale_get, _coin.SoTextureCombine_rgbScale_set) - alphaScale = _swig_property(_coin.SoTextureCombine_alphaScale_get, _coin.SoTextureCombine_alphaScale_set) - constantColor = _swig_property(_coin.SoTextureCombine_constantColor_get, _coin.SoTextureCombine_constantColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCombine_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCombine_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCombine_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCombine_pick(*args) - -SoTextureCombine_swigregister = _coin.SoTextureCombine_swigregister -SoTextureCombine_swigregister(SoTextureCombine) - -def SoTextureCombine_getClassTypeId(*args): - """SoTextureCombine_getClassTypeId() -> SoType""" - return _coin.SoTextureCombine_getClassTypeId(*args) - -def SoTextureCombine_initClass(*args): - """SoTextureCombine_initClass()""" - return _coin.SoTextureCombine_initClass(*args) - -class SoSceneTexture2(SoNode): - """Proxy of C++ SoSceneTexture2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSceneTexture2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSceneTexture2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSceneTexture2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSceneTexture2""" - this = _coin.new_SoSceneTexture2(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoSceneTexture2_MODULATE - DECAL = _coin.SoSceneTexture2_DECAL - BLEND = _coin.SoSceneTexture2_BLEND - REPLACE = _coin.SoSceneTexture2_REPLACE - REPEAT = _coin.SoSceneTexture2_REPEAT - CLAMP = _coin.SoSceneTexture2_CLAMP - CLAMP_TO_BORDER = _coin.SoSceneTexture2_CLAMP_TO_BORDER - NONE = _coin.SoSceneTexture2_NONE - ALPHA_BLEND = _coin.SoSceneTexture2_ALPHA_BLEND - ALPHA_TEST = _coin.SoSceneTexture2_ALPHA_TEST - DEPTH = _coin.SoSceneTexture2_DEPTH - RGBA8 = _coin.SoSceneTexture2_RGBA8 - RGBA32F = _coin.SoSceneTexture2_RGBA32F - RGB32F = _coin.SoSceneTexture2_RGB32F - RGBA16F = _coin.SoSceneTexture2_RGBA16F - RGB16F = _coin.SoSceneTexture2_RGB16F - R3_G3_B2 = _coin.SoSceneTexture2_R3_G3_B2 - RGB = _coin.SoSceneTexture2_RGB - RGB4 = _coin.SoSceneTexture2_RGB4 - RGB5 = _coin.SoSceneTexture2_RGB5 - RGB8 = _coin.SoSceneTexture2_RGB8 - RGB10 = _coin.SoSceneTexture2_RGB10 - RGB12 = _coin.SoSceneTexture2_RGB12 - RGB16 = _coin.SoSceneTexture2_RGB16 - RGBA = _coin.SoSceneTexture2_RGBA - RGBA2 = _coin.SoSceneTexture2_RGBA2 - RGBA4 = _coin.SoSceneTexture2_RGBA4 - RGB5_A1 = _coin.SoSceneTexture2_RGB5_A1 - RGB10_A2 = _coin.SoSceneTexture2_RGB10_A2 - RGBA12 = _coin.SoSceneTexture2_RGBA12 - RGBA16 = _coin.SoSceneTexture2_RGBA16 - wrapS = _swig_property(_coin.SoSceneTexture2_wrapS_get, _coin.SoSceneTexture2_wrapS_set) - wrapT = _swig_property(_coin.SoSceneTexture2_wrapT_get, _coin.SoSceneTexture2_wrapT_set) - model = _swig_property(_coin.SoSceneTexture2_model_get, _coin.SoSceneTexture2_model_set) - blendColor = _swig_property(_coin.SoSceneTexture2_blendColor_get, _coin.SoSceneTexture2_blendColor_set) - backgroundColor = _swig_property(_coin.SoSceneTexture2_backgroundColor_get, _coin.SoSceneTexture2_backgroundColor_set) - size = _swig_property(_coin.SoSceneTexture2_size_get, _coin.SoSceneTexture2_size_set) - scene = _swig_property(_coin.SoSceneTexture2_scene_get, _coin.SoSceneTexture2_scene_set) - sceneTransparencyType = _swig_property(_coin.SoSceneTexture2_sceneTransparencyType_get, _coin.SoSceneTexture2_sceneTransparencyType_set) - transparencyFunction = _swig_property(_coin.SoSceneTexture2_transparencyFunction_get, _coin.SoSceneTexture2_transparencyFunction_set) - type = _swig_property(_coin.SoSceneTexture2_type_get, _coin.SoSceneTexture2_type_set) - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoSceneTexture2_notify(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoSceneTexture2_write(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSceneTexture2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSceneTexture2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSceneTexture2_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSceneTexture2_rayPick(*args) - -SoSceneTexture2_swigregister = _coin.SoSceneTexture2_swigregister -SoSceneTexture2_swigregister(SoSceneTexture2) - -def SoSceneTexture2_getClassTypeId(*args): - """SoSceneTexture2_getClassTypeId() -> SoType""" - return _coin.SoSceneTexture2_getClassTypeId(*args) - -def SoSceneTexture2_initClass(*args): - """SoSceneTexture2_initClass()""" - return _coin.SoSceneTexture2_initClass(*args) - -class SoSceneTextureCubeMap(SoNode): - """Proxy of C++ SoSceneTextureCubeMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSceneTextureCubeMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSceneTextureCubeMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSceneTextureCubeMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSceneTextureCubeMap""" - this = _coin.new_SoSceneTextureCubeMap(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoSceneTextureCubeMap_MODULATE - DECAL = _coin.SoSceneTextureCubeMap_DECAL - BLEND = _coin.SoSceneTextureCubeMap_BLEND - REPLACE = _coin.SoSceneTextureCubeMap_REPLACE - REPEAT = _coin.SoSceneTextureCubeMap_REPEAT - CLAMP = _coin.SoSceneTextureCubeMap_CLAMP - NONE = _coin.SoSceneTextureCubeMap_NONE - ALPHA_BLEND = _coin.SoSceneTextureCubeMap_ALPHA_BLEND - ALPHA_TEST = _coin.SoSceneTextureCubeMap_ALPHA_TEST - size = _swig_property(_coin.SoSceneTextureCubeMap_size_get, _coin.SoSceneTextureCubeMap_size_set) - scene = _swig_property(_coin.SoSceneTextureCubeMap_scene_get, _coin.SoSceneTextureCubeMap_scene_set) - wrapS = _swig_property(_coin.SoSceneTextureCubeMap_wrapS_get, _coin.SoSceneTextureCubeMap_wrapS_set) - wrapT = _swig_property(_coin.SoSceneTextureCubeMap_wrapT_get, _coin.SoSceneTextureCubeMap_wrapT_set) - wrapR = _swig_property(_coin.SoSceneTextureCubeMap_wrapR_get, _coin.SoSceneTextureCubeMap_wrapR_set) - model = _swig_property(_coin.SoSceneTextureCubeMap_model_get, _coin.SoSceneTextureCubeMap_model_set) - backgroundColor = _swig_property(_coin.SoSceneTextureCubeMap_backgroundColor_get, _coin.SoSceneTextureCubeMap_backgroundColor_set) - transparencyFunction = _swig_property(_coin.SoSceneTextureCubeMap_transparencyFunction_get, _coin.SoSceneTextureCubeMap_transparencyFunction_set) - blendColor = _swig_property(_coin.SoSceneTextureCubeMap_blendColor_get, _coin.SoSceneTextureCubeMap_blendColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSceneTextureCubeMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSceneTextureCubeMap_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSceneTextureCubeMap_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSceneTextureCubeMap_rayPick(*args) - -SoSceneTextureCubeMap_swigregister = _coin.SoSceneTextureCubeMap_swigregister -SoSceneTextureCubeMap_swigregister(SoSceneTextureCubeMap) - -def SoSceneTextureCubeMap_getClassTypeId(*args): - """SoSceneTextureCubeMap_getClassTypeId() -> SoType""" - return _coin.SoSceneTextureCubeMap_getClassTypeId(*args) - -def SoSceneTextureCubeMap_initClass(*args): - """SoSceneTextureCubeMap_initClass()""" - return _coin.SoSceneTextureCubeMap_initClass(*args) - -class SoCacheHintElement(SoElement): - """Proxy of C++ SoCacheHintElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCacheHintElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCacheHintElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCacheHintElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCacheHintElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCacheHintElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoCacheHintElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoCacheHintElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoCacheHintElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoCacheHintElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SoNode node, float memvalue, float gfxvalue)""" - return _coin.SoCacheHintElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, float memvalue, float gfxvalue)""" - return _coin.SoCacheHintElement_get(*args) - - get = staticmethod(get) -SoCacheHintElement_swigregister = _coin.SoCacheHintElement_swigregister -SoCacheHintElement_swigregister(SoCacheHintElement) - -def SoCacheHintElement_getClassTypeId(*args): - """SoCacheHintElement_getClassTypeId() -> SoType""" - return _coin.SoCacheHintElement_getClassTypeId(*args) - -def SoCacheHintElement_getClassStackIndex(*args): - """SoCacheHintElement_getClassStackIndex() -> int""" - return _coin.SoCacheHintElement_getClassStackIndex(*args) - -def SoCacheHintElement_createInstance(*args): - """SoCacheHintElement_createInstance() -> void""" - return _coin.SoCacheHintElement_createInstance(*args) - -def SoCacheHintElement_initClass(*args): - """SoCacheHintElement_initClass()""" - return _coin.SoCacheHintElement_initClass(*args) - -def SoCacheHintElement_set(*args): - """SoCacheHintElement_set(SoState state, SoNode node, float memvalue, float gfxvalue)""" - return _coin.SoCacheHintElement_set(*args) - -def SoCacheHintElement_get(*args): - """SoCacheHintElement_get(SoState state, float memvalue, float gfxvalue)""" - return _coin.SoCacheHintElement_get(*args) - -class SoCacheHint(SoNode): - """Proxy of C++ SoCacheHint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCacheHint_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCacheHint_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCacheHint_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCacheHint""" - this = _coin.new_SoCacheHint(*args) - try: self.this.append(this) - except: self.this = this - memValue = _swig_property(_coin.SoCacheHint_memValue_get, _coin.SoCacheHint_memValue_set) - gfxValue = _swig_property(_coin.SoCacheHint_gfxValue_get, _coin.SoCacheHint_gfxValue_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCacheHint_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCacheHint_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCacheHint_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCacheHint_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCacheHint_pick(*args) - -SoCacheHint_swigregister = _coin.SoCacheHint_swigregister -SoCacheHint_swigregister(SoCacheHint) - -def SoCacheHint_getClassTypeId(*args): - """SoCacheHint_getClassTypeId() -> SoType""" - return _coin.SoCacheHint_getClassTypeId(*args) - -def SoCacheHint_initClass(*args): - """SoCacheHint_initClass()""" - return _coin.SoCacheHint_initClass(*args) - -class SoDepthBuffer(SoNode): - """Proxy of C++ SoDepthBuffer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDepthBuffer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDepthBuffer_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDepthBuffer_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDepthBuffer""" - this = _coin.new_SoDepthBuffer(*args) - try: self.this.append(this) - except: self.this = this - NEVER = _coin.SoDepthBuffer_NEVER - ALWAYS = _coin.SoDepthBuffer_ALWAYS - LESS = _coin.SoDepthBuffer_LESS - LEQUAL = _coin.SoDepthBuffer_LEQUAL - EQUAL = _coin.SoDepthBuffer_EQUAL - GEQUAL = _coin.SoDepthBuffer_GEQUAL - GREATER = _coin.SoDepthBuffer_GREATER - NOTEQUAL = _coin.SoDepthBuffer_NOTEQUAL - test = _swig_property(_coin.SoDepthBuffer_test_get, _coin.SoDepthBuffer_test_set) - write = _swig_property(_coin.SoDepthBuffer_write_get, _coin.SoDepthBuffer_write_set) - function = _swig_property(_coin.SoDepthBuffer_function_get, _coin.SoDepthBuffer_function_set) - range = _swig_property(_coin.SoDepthBuffer_range_get, _coin.SoDepthBuffer_range_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDepthBuffer_GLRender(*args) - -SoDepthBuffer_swigregister = _coin.SoDepthBuffer_swigregister -SoDepthBuffer_swigregister(SoDepthBuffer) - -def SoDepthBuffer_getClassTypeId(*args): - """SoDepthBuffer_getClassTypeId() -> SoType""" - return _coin.SoDepthBuffer_getClassTypeId(*args) - -def SoDepthBuffer_initClass(*args): - """SoDepthBuffer_initClass()""" - return _coin.SoDepthBuffer_initClass(*args) - -class SbLine(object): - """Proxy of C++ SbLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbLine - __init__(self, SbVec3f origin, SbVec3f point) -> SbLine - """ - this = _coin.new_SbLine(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3f origin, SbVec3f point)""" - return _coin.SbLine_setValue(*args) - - def getClosestPoints(*args): - """getClosestPoints(self, SbLine line2, SbVec3f ptOnThis, SbVec3f ptOnLine2) -> SbBool""" - return _coin.SbLine_getClosestPoints(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f point) -> SbVec3f""" - return _coin.SbLine_getClosestPoint(*args) - - def getPosition(*args): - """getPosition(self) -> SbVec3f""" - return _coin.SbLine_getPosition(*args) - - def getDirection(*args): - """getDirection(self) -> SbVec3f""" - return _coin.SbLine_getDirection(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbLine_output(*args) - - __swig_destroy__ = _coin.delete_SbLine - __del__ = lambda self : None; -SbLine_swigregister = _coin.SbLine_swigregister -SbLine_swigregister(SbLine) - -class SbProjector(object): - """Proxy of C++ SbProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbProjector_project(*args) - - def setViewVolume(*args): - """setViewVolume(self, SbViewVolume vol)""" - return _coin.SbProjector_setViewVolume(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SbProjector_getViewVolume(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbProjector_setWorkingSpace(*args) - - def getWorkingSpace(*args): - """getWorkingSpace(self) -> SbMatrix""" - return _coin.SbProjector_getWorkingSpace(*args) - - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbProjector_copy(*args) - - def tryProject(*args): - """tryProject(self, SbVec2f point, float epsilon, SbVec3f result) -> SbBool""" - return _coin.SbProjector_tryProject(*args) - -SbProjector_swigregister = _coin.SbProjector_swigregister -SbProjector_swigregister(SbProjector) - -class SbCylinder(object): - """Proxy of C++ SbCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbCylinder - __init__(self, SbLine a, float r) -> SbCylinder - """ - this = _coin.new_SbCylinder(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbLine a, float r)""" - return _coin.SbCylinder_setValue(*args) - - def setAxis(*args): - """setAxis(self, SbLine a)""" - return _coin.SbCylinder_setAxis(*args) - - def setRadius(*args): - """setRadius(self, float r)""" - return _coin.SbCylinder_setRadius(*args) - - def getAxis(*args): - """getAxis(self) -> SbLine""" - return _coin.SbCylinder_getAxis(*args) - - def getRadius(*args): - """getRadius(self) -> float""" - return _coin.SbCylinder_getRadius(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool - """ - return _coin.SbCylinder_intersect(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbCylinder_output(*args) - - __swig_destroy__ = _coin.delete_SbCylinder - __del__ = lambda self : None; -SbCylinder_swigregister = _coin.SbCylinder_swigregister -SbCylinder_swigregister(SbCylinder) - -class SbCylinderProjector(SbProjector): - """Proxy of C++ SbCylinderProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderProjector_project(*args) - - def projectAndGetRotation(*args): - """projectAndGetRotation(self, SbVec2f point, SbRotation rot) -> SbVec3f""" - return _coin.SbCylinderProjector_projectAndGetRotation(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderProjector_getRotation(*args) - - def setCylinder(*args): - """setCylinder(self, SbCylinder cyl)""" - return _coin.SbCylinderProjector_setCylinder(*args) - - def getCylinder(*args): - """getCylinder(self) -> SbCylinder""" - return _coin.SbCylinderProjector_getCylinder(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbCylinderProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbCylinderProjector_isOrientToEye(*args) - - def setFront(*args): - """setFront(self, SbBool infront)""" - return _coin.SbCylinderProjector_setFront(*args) - - def isFront(*args): - """isFront(self) -> SbBool""" - return _coin.SbCylinderProjector_isFront(*args) - - def isPointInFront(*args): - """isPointInFront(self, SbVec3f point) -> SbBool""" - return _coin.SbCylinderProjector_isPointInFront(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbCylinderProjector_setWorkingSpace(*args) - - __swig_destroy__ = _coin.delete_SbCylinderProjector - __del__ = lambda self : None; -SbCylinderProjector_swigregister = _coin.SbCylinderProjector_swigregister -SbCylinderProjector_swigregister(SbCylinderProjector) - -class SbCylinderSectionProjector(SbCylinderProjector): - """Proxy of C++ SbCylinderSectionProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderSectionProjector - __init__(self, float edgetol=0.9) -> SbCylinderSectionProjector - __init__(self) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl, float edgetol=0.9) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl) -> SbCylinderSectionProjector - """ - this = _coin.new_SbCylinderSectionProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderSectionProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderSectionProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderSectionProjector_getRotation(*args) - - def setTolerance(*args): - """setTolerance(self, float edgetol)""" - return _coin.SbCylinderSectionProjector_setTolerance(*args) - - def getTolerance(*args): - """getTolerance(self) -> float""" - return _coin.SbCylinderSectionProjector_getTolerance(*args) - - def isWithinTolerance(*args): - """isWithinTolerance(self, SbVec3f point) -> SbBool""" - return _coin.SbCylinderSectionProjector_isWithinTolerance(*args) - - __swig_destroy__ = _coin.delete_SbCylinderSectionProjector - __del__ = lambda self : None; -SbCylinderSectionProjector_swigregister = _coin.SbCylinderSectionProjector_swigregister -SbCylinderSectionProjector_swigregister(SbCylinderSectionProjector) - -class SbCylinderPlaneProjector(SbCylinderSectionProjector): - """Proxy of C++ SbCylinderPlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderPlaneProjector - __init__(self, float edgetol=0.9) -> SbCylinderPlaneProjector - __init__(self) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl, float edgetol=0.9) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl) -> SbCylinderPlaneProjector - """ - this = _coin.new_SbCylinderPlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderPlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderPlaneProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderPlaneProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbCylinderPlaneProjector - __del__ = lambda self : None; -SbCylinderPlaneProjector_swigregister = _coin.SbCylinderPlaneProjector_swigregister -SbCylinderPlaneProjector_swigregister(SbCylinderPlaneProjector) - -class SbCylinderSheetProjector(SbCylinderProjector): - """Proxy of C++ SbCylinderSheetProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orienttoeye=1) -> SbCylinderSheetProjector - __init__(self) -> SbCylinderSheetProjector - __init__(self, SbCylinder cyl, SbBool orienttoeye=1) -> SbCylinderSheetProjector - __init__(self, SbCylinder cyl) -> SbCylinderSheetProjector - """ - this = _coin.new_SbCylinderSheetProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderSheetProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderSheetProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderSheetProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbCylinderSheetProjector - __del__ = lambda self : None; -SbCylinderSheetProjector_swigregister = _coin.SbCylinderSheetProjector_swigregister -SbCylinderSheetProjector_swigregister(SbCylinderSheetProjector) - -class SbLineProjector(SbProjector): - """Proxy of C++ SbLineProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbLineProjector""" - this = _coin.new_SbLineProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbLineProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbLineProjector_project(*args) - - def tryProject(*args): - """tryProject(self, SbVec2f point, float epsilon, SbVec3f result) -> SbBool""" - return _coin.SbLineProjector_tryProject(*args) - - def setLine(*args): - """setLine(self, SbLine line)""" - return _coin.SbLineProjector_setLine(*args) - - def getLine(*args): - """getLine(self) -> SbLine""" - return _coin.SbLineProjector_getLine(*args) - - def getVector(*args): - """ - getVector(self, SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f - getVector(self, SbVec2f viewpos) -> SbVec3f - """ - return _coin.SbLineProjector_getVector(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f viewpos) - setStartPosition(self, SbVec3f point) - """ - return _coin.SbLineProjector_setStartPosition(*args) - - __swig_destroy__ = _coin.delete_SbLineProjector - __del__ = lambda self : None; -SbLineProjector_swigregister = _coin.SbLineProjector_swigregister -SbLineProjector_swigregister(SbLineProjector) - -class SbPlaneProjector(SbProjector): - """Proxy of C++ SbPlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orient=0) -> SbPlaneProjector - __init__(self) -> SbPlaneProjector - __init__(self, SbPlane plane, SbBool orient=0) -> SbPlaneProjector - __init__(self, SbPlane plane) -> SbPlaneProjector - """ - this = _coin.new_SbPlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbPlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbPlaneProjector_project(*args) - - def tryProject(*args): - """tryProject(self, SbVec2f point, float epsilon, SbVec3f result) -> SbBool""" - return _coin.SbPlaneProjector_tryProject(*args) - - def setPlane(*args): - """setPlane(self, SbPlane plane)""" - return _coin.SbPlaneProjector_setPlane(*args) - - def getPlane(*args): - """getPlane(self) -> SbPlane""" - return _coin.SbPlaneProjector_getPlane(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbPlaneProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbPlaneProjector_isOrientToEye(*args) - - def getVector(*args): - """ - getVector(self, SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f - getVector(self, SbVec2f viewpos) -> SbVec3f - """ - return _coin.SbPlaneProjector_getVector(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f viewpos) - setStartPosition(self, SbVec3f point) - """ - return _coin.SbPlaneProjector_setStartPosition(*args) - - __swig_destroy__ = _coin.delete_SbPlaneProjector - __del__ = lambda self : None; -SbPlaneProjector_swigregister = _coin.SbPlaneProjector_swigregister -SbPlaneProjector_swigregister(SbPlaneProjector) - -class SbSphere(object): - """Proxy of C++ SbSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbSphere - __init__(self, SbVec3f center, float radius) -> SbSphere - """ - this = _coin.new_SbSphere(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3f center, float radius)""" - return _coin.SbSphere_setValue(*args) - - def setCenter(*args): - """setCenter(self, SbVec3f center)""" - return _coin.SbSphere_setCenter(*args) - - def setRadius(*args): - """setRadius(self, float radius)""" - return _coin.SbSphere_setRadius(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbSphere_getCenter(*args) - - def getRadius(*args): - """getRadius(self) -> float""" - return _coin.SbSphere_getRadius(*args) - - def circumscribe(*args): - """circumscribe(self, SbBox3f box)""" - return _coin.SbSphere_circumscribe(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool - """ - return _coin.SbSphere_intersect(*args) - - def pointInside(*args): - """pointInside(self, SbVec3f p) -> SbBool""" - return _coin.SbSphere_pointInside(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbSphere_output(*args) - - __swig_destroy__ = _coin.delete_SbSphere - __del__ = lambda self : None; -SbSphere_swigregister = _coin.SbSphere_swigregister -SbSphere_swigregister(SbSphere) - -class SbSphereProjector(SbProjector): - """Proxy of C++ SbSphereProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def projectAndGetRotation(*args): - """projectAndGetRotation(self, SbVec2f point, SbRotation rot) -> SbVec3f""" - return _coin.SbSphereProjector_projectAndGetRotation(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereProjector_getRotation(*args) - - def setSphere(*args): - """setSphere(self, SbSphere sph)""" - return _coin.SbSphereProjector_setSphere(*args) - - def getSphere(*args): - """getSphere(self) -> SbSphere""" - return _coin.SbSphereProjector_getSphere(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbSphereProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbSphereProjector_isOrientToEye(*args) - - def setFront(*args): - """setFront(self, SbBool infront)""" - return _coin.SbSphereProjector_setFront(*args) - - def isFront(*args): - """isFront(self) -> SbBool""" - return _coin.SbSphereProjector_isFront(*args) - - def isPointInFront(*args): - """isPointInFront(self, SbVec3f point) -> SbBool""" - return _coin.SbSphereProjector_isPointInFront(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbSphereProjector_setWorkingSpace(*args) - - __swig_destroy__ = _coin.delete_SbSphereProjector - __del__ = lambda self : None; -SbSphereProjector_swigregister = _coin.SbSphereProjector_swigregister -SbSphereProjector_swigregister(SbSphereProjector) - -class SbSphereSheetProjector(SbSphereProjector): - """Proxy of C++ SbSphereSheetProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orienttoeye=1) -> SbSphereSheetProjector - __init__(self) -> SbSphereSheetProjector - __init__(self, SbSphere sph, SbBool orienttoeye=1) -> SbSphereSheetProjector - __init__(self, SbSphere sph) -> SbSphereSheetProjector - """ - this = _coin.new_SbSphereSheetProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSphereSheetProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSphereSheetProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereSheetProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbSphereSheetProjector - __del__ = lambda self : None; -SbSphereSheetProjector_swigregister = _coin.SbSphereSheetProjector_swigregister -SbSphereSheetProjector_swigregister(SbSphereSheetProjector) - -class SbSphereSectionProjector(SbSphereProjector): - """Proxy of C++ SbSphereSectionProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbSphereSectionProjector - __init__(self, float edgetol=0.9) -> SbSphereSectionProjector - __init__(self) -> SbSphereSectionProjector - __init__(self, SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1) -> SbSphereSectionProjector - __init__(self, SbSphere sph, float edgetol=0.9) -> SbSphereSectionProjector - __init__(self, SbSphere sph) -> SbSphereSectionProjector - """ - this = _coin.new_SbSphereSectionProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSphereSectionProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSphereSectionProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereSectionProjector_getRotation(*args) - - def setTolerance(*args): - """setTolerance(self, float edgetol)""" - return _coin.SbSphereSectionProjector_setTolerance(*args) - - def getTolerance(*args): - """getTolerance(self) -> float""" - return _coin.SbSphereSectionProjector_getTolerance(*args) - - def setRadialFactor(*args): - """ - setRadialFactor(self, float rad=0.0) - setRadialFactor(self) - """ - return _coin.SbSphereSectionProjector_setRadialFactor(*args) - - def getRadialFactor(*args): - """getRadialFactor(self) -> float""" - return _coin.SbSphereSectionProjector_getRadialFactor(*args) - - def isWithinTolerance(*args): - """isWithinTolerance(self, SbVec3f point) -> SbBool""" - return _coin.SbSphereSectionProjector_isWithinTolerance(*args) - - __swig_destroy__ = _coin.delete_SbSphereSectionProjector - __del__ = lambda self : None; -SbSphereSectionProjector_swigregister = _coin.SbSphereSectionProjector_swigregister -SbSphereSectionProjector_swigregister(SbSphereSectionProjector) - -class SbSpherePlaneProjector(SbSphereSectionProjector): - """Proxy of C++ SbSpherePlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbSpherePlaneProjector - __init__(self, float edgetol=0.9) -> SbSpherePlaneProjector - __init__(self) -> SbSpherePlaneProjector - __init__(self, SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1) -> SbSpherePlaneProjector - __init__(self, SbSphere sph, float edgetol=0.9) -> SbSpherePlaneProjector - __init__(self, SbSphere sph) -> SbSpherePlaneProjector - """ - this = _coin.new_SbSpherePlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSpherePlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSpherePlaneProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSpherePlaneProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbSpherePlaneProjector - __del__ = lambda self : None; -SbSpherePlaneProjector_swigregister = _coin.SbSpherePlaneProjector_swigregister -SbSpherePlaneProjector_swigregister(SbSpherePlaneProjector) - -class SbClip(object): - """Proxy of C++ SbClip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbClipCallback callback=None, void userdata=None) -> SbClip - __init__(self, SbClipCallback callback=None) -> SbClip - __init__(self) -> SbClip - """ - this = _coin.new_SbClip(*args) - try: self.this.append(this) - except: self.this = this - def addVertex(*args): - """ - addVertex(self, SbVec3f v, void vdata=None) - addVertex(self, SbVec3f v) - """ - return _coin.SbClip_addVertex(*args) - - def reset(*args): - """reset(self)""" - return _coin.SbClip_reset(*args) - - def clip(*args): - """clip(self, SbPlane plane)""" - return _coin.SbClip_clip(*args) - - def getNumVertices(*args): - """getNumVertices(self) -> int""" - return _coin.SbClip_getNumVertices(*args) - - def getVertex(*args): - """ - getVertex(self, int idx, SbVec3f v, void vdata=None) - getVertex(self, int idx, SbVec3f v) - """ - return _coin.SbClip_getVertex(*args) - - def getVertexData(*args): - """getVertexData(self, int idx) -> void""" - return _coin.SbClip_getVertexData(*args) - - __swig_destroy__ = _coin.delete_SbClip - __del__ = lambda self : None; -SbClip_swigregister = _coin.SbClip_swigregister -SbClip_swigregister(SbClip) - -class SbDPRotation(object): - """Proxy of C++ SbDPRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPRotation - __init__(self, SbVec3d axis, double radians) -> SbDPRotation - __init__(self, double q) -> SbDPRotation - __init__(self, double q0, double q1, double q2, double q3) -> SbDPRotation - __init__(self, SbDPMatrix m) -> SbDPRotation - __init__(self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation - """ - this = _coin.new_SbDPRotation(*args) - try: self.this.append(this) - except: self.this = this - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbDPRotation_getValue(*args) - - def getAxisAngle(*args): - """getAxisAngle(self, SbVec3d axis, double radians)""" - return _coin.SbDPRotation_getAxisAngle(*args) - - def getMatrix(*args): - """getMatrix(self, SbDPMatrix matrix)""" - return _coin.SbDPRotation_getMatrix(*args) - - def invert(*args): - """invert(self) -> SbDPRotation""" - return _coin.SbDPRotation_invert(*args) - - def inverse(*args): - """inverse(self) -> SbDPRotation""" - return _coin.SbDPRotation_inverse(*args) - - def setValue(*args): - """ - setValue(self, double q0, double q1, double q2, double q3) -> SbDPRotation - setValue(self, double q) -> SbDPRotation - setValue(self, SbDPMatrix m) -> SbDPRotation - setValue(self, SbVec3d axis, double radians) -> SbDPRotation - setValue(self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation - """ - return _coin.SbDPRotation_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, SbDPRotation q) -> SbDPRotation - __imul__(self, double s) -> SbDPRotation - """ - return _coin.SbDPRotation___imul__(*args) - - def equals(*args): - """equals(self, SbDPRotation r, double tolerance) -> SbBool""" - return _coin.SbDPRotation_equals(*args) - - def multVec(*args): - """multVec(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPRotation_multVec(*args) - - def scaleAngle(*args): - """scaleAngle(self, double scaleFactor)""" - return _coin.SbDPRotation_scaleAngle(*args) - - def slerp(*args): - """slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation""" - return _coin.SbDPRotation_slerp(*args) - - slerp = staticmethod(slerp) - def identity(*args): - """identity() -> SbDPRotation""" - return _coin.SbDPRotation_identity(*args) - - identity = staticmethod(identity) - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPRotation_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbDPRotation u) -> SbDPRotation - __mul__(self, double d) -> SbDPRotation - __mul__(self, SbVec3d v) -> SbVec3d - """ - return _coin.SbDPRotation___mul__(*args) - - def __eq__(*args): - """__eq__(self, SbDPRotation u) -> int""" - return _coin.SbDPRotation___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbDPRotation u) -> int""" - return _coin.SbDPRotation___nq__(*args) - - __swig_destroy__ = _coin.delete_SbDPRotation - __del__ = lambda self : None; -SbDPRotation_swigregister = _coin.SbDPRotation_swigregister -SbDPRotation_swigregister(SbDPRotation) - -def SbDPRotation_slerp(*args): - """SbDPRotation_slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation""" - return _coin.SbDPRotation_slerp(*args) - -def SbDPRotation_identity(*args): - """SbDPRotation_identity() -> SbDPRotation""" - return _coin.SbDPRotation_identity(*args) - -class SbDPMatrix(object): - """Proxy of C++ SbDPMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPMatrix - __init__(self, double a11, double a12, double a13, double a14, double a21, - double a22, double a23, double a24, - double a31, double a32, double a33, double a34, - double a41, double a42, double a43, double a44) -> SbDPMatrix - __init__(self, SbDPMat matrix) -> SbDPMatrix - __init__(self, SbDPMat matrix) -> SbDPMatrix - __init__(self, SbMatrix matrix) -> SbDPMatrix - """ - this = _coin.new_SbDPMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDPMatrix - __del__ = lambda self : None; - def setValue(*args): - """setValue(self, SbDPMat m)""" - return _coin.SbDPMatrix_setValue(*args) - - def makeIdentity(*args): - """makeIdentity(self)""" - return _coin.SbDPMatrix_makeIdentity(*args) - - def setRotate(*args): - """setRotate(self, SbDPRotation q)""" - return _coin.SbDPMatrix_setRotate(*args) - - def inverse(*args): - """inverse(self) -> SbDPMatrix""" - return _coin.SbDPMatrix_inverse(*args) - - def det3(*args): - """ - det3(self, int r1, int r2, int r3, int c1, int c2, int c3) -> double - det3(self) -> double - """ - return _coin.SbDPMatrix_det3(*args) - - def det4(*args): - """det4(self) -> double""" - return _coin.SbDPMatrix_det4(*args) - - def equals(*args): - """equals(self, SbDPMatrix m, double tolerance) -> SbBool""" - return _coin.SbDPMatrix_equals(*args) - - def __imul__(*args): - """__imul__(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix___imul__(*args) - - def getValue(*args): - """ - getValue(self) -> SbDPMat - getValue(self, SbDPMat m) - """ - return _coin.SbDPMatrix_getValue(*args) - - def identity(*args): - """identity() -> SbDPMatrix""" - return _coin.SbDPMatrix_identity(*args) - - identity = staticmethod(identity) - def setScale(*args): - """ - setScale(self, double s) - setScale(self, SbVec3d s) - """ - return _coin.SbDPMatrix_setScale(*args) - - def setTranslate(*args): - """setTranslate(self, SbVec3d t)""" - return _coin.SbDPMatrix_setTranslate(*args) - - def setTransform(*args): - """ - setTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s) - setTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so) - setTransform(self, SbVec3d translation, SbDPRotation rotation, SbVec3d scaleFactor, - SbDPRotation scaleOrientation, - SbVec3d center) - """ - return _coin.SbDPMatrix_setTransform(*args) - - def getTransform(*args): - """ - getTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so) - getTransform(self, SbVec3d translation, SbDPRotation rotation, SbVec3d scaleFactor, - SbDPRotation scaleOrientation, - SbVec3d center) - """ - return _coin.SbDPMatrix_getTransform(*args) - - def factor(*args): - """factor(self, SbDPMatrix r, SbVec3d s, SbDPMatrix u, SbVec3d t, SbDPMatrix proj) -> SbBool""" - return _coin.SbDPMatrix_factor(*args) - - def LUDecomposition(*args): - """LUDecomposition(self, int index, double d) -> SbBool""" - return _coin.SbDPMatrix_LUDecomposition(*args) - - def LUBackSubstitution(*args): - """LUBackSubstitution(self, int index, double b)""" - return _coin.SbDPMatrix_LUBackSubstitution(*args) - - def transpose(*args): - """transpose(self) -> SbDPMatrix""" - return _coin.SbDPMatrix_transpose(*args) - - def multRight(*args): - """multRight(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix_multRight(*args) - - def multLeft(*args): - """multLeft(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix_multLeft(*args) - - def multMatrixVec(*args): - """multMatrixVec(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPMatrix_multMatrixVec(*args) - - def multDirMatrix(*args): - """multDirMatrix(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPMatrix_multDirMatrix(*args) - - def multLineMatrix(*args): - """multLineMatrix(self, SbDPLine src, SbDPLine dst)""" - return _coin.SbDPMatrix_multLineMatrix(*args) - - def multVecMatrix(*args): - """ - multVecMatrix(self, SbVec3d src, SbVec3d dst) - multVecMatrix(self, SbVec4d src, SbVec4d dst) - """ - return _coin.SbDPMatrix_multVecMatrix(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPMatrix_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbDPMatrix u) -> SbDPMatrix - __mul__(self, SbVec3d u) -> SbVec3d - """ - return _coin.SbDPMatrix___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbDPMatrix___rmul__(*args) - - def __eq__(*args): - """__eq__(self, SbDPMatrix u) -> int""" - return _coin.SbDPMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbDPMatrix u) -> int""" - return _coin.SbDPMatrix___ne__(*args) - -SbDPMatrix_swigregister = _coin.SbDPMatrix_swigregister -SbDPMatrix_swigregister(SbDPMatrix) - -def SbDPMatrix_identity(*args): - """SbDPMatrix_identity() -> SbDPMatrix""" - return _coin.SbDPMatrix_identity(*args) - -class SbDPLine(object): - """Proxy of C++ SbDPLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPLine - __init__(self, SbVec3d p0, SbVec3d p1) -> SbDPLine - """ - this = _coin.new_SbDPLine(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3d p0, SbVec3d p1)""" - return _coin.SbDPLine_setValue(*args) - - def getClosestPoints(*args): - """getClosestPoints(self, SbDPLine line2, SbVec3d ptOnThis, SbVec3d ptOnLine2) -> SbBool""" - return _coin.SbDPLine_getClosestPoints(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3d point) -> SbVec3d""" - return _coin.SbDPLine_getClosestPoint(*args) - - def getPosition(*args): - """getPosition(self) -> SbVec3d""" - return _coin.SbDPLine_getPosition(*args) - - def getDirection(*args): - """getDirection(self) -> SbVec3d""" - return _coin.SbDPLine_getDirection(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbDPLine_output(*args) - - __swig_destroy__ = _coin.delete_SbDPLine - __del__ = lambda self : None; -SbDPLine_swigregister = _coin.SbDPLine_swigregister -SbDPLine_swigregister(SbDPLine) - -class SbDPPlane(object): - """Proxy of C++ SbDPPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPPlane - __init__(self, SbVec3d normal, double D) -> SbDPPlane - __init__(self, SbVec3d p0, SbVec3d p1, SbVec3d p2) -> SbDPPlane - __init__(self, SbVec3d normal, SbVec3d point) -> SbDPPlane - """ - this = _coin.new_SbDPPlane(*args) - try: self.this.append(this) - except: self.this = this - def offset(*args): - """offset(self, double d)""" - return _coin.SbDPPlane_offset(*args) - - def transform(*args): - """transform(self, SbDPMatrix matrix)""" - return _coin.SbDPPlane_transform(*args) - - def isInHalfSpace(*args): - """isInHalfSpace(self, SbVec3d point) -> SbBool""" - return _coin.SbDPPlane_isInHalfSpace(*args) - - def getDistance(*args): - """getDistance(self, SbVec3d point) -> double""" - return _coin.SbDPPlane_getDistance(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3d""" - return _coin.SbDPPlane_getNormal(*args) - - def getDistanceFromOrigin(*args): - """getDistanceFromOrigin(self) -> double""" - return _coin.SbDPPlane_getDistanceFromOrigin(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbDPPlane_output(*args) - - def intersect(*args): - """ - intersect(self, SbDPLine l, SbVec3d intersection) -> SbBool - intersect(self, SbDPPlane pl, SbDPLine line) -> SbBool - """ - return _coin.SbDPPlane_intersect(*args) - - def __eq__(*args): - """__eq__(self, SbDPPlane u) -> int""" - return _coin.SbDPPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbDPPlane u) -> int""" - return _coin.SbDPPlane___ne__(*args) - - __swig_destroy__ = _coin.delete_SbDPPlane - __del__ = lambda self : None; -SbDPPlane_swigregister = _coin.SbDPPlane_swigregister -SbDPPlane_swigregister(SbDPPlane) - -class SbHeapFuncs(object): - """Proxy of C++ SbHeapFuncs class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - eval_func = _swig_property(_coin.SbHeapFuncs_eval_func_get, _coin.SbHeapFuncs_eval_func_set) - get_index_func = _swig_property(_coin.SbHeapFuncs_get_index_func_get, _coin.SbHeapFuncs_get_index_func_set) - set_index_func = _swig_property(_coin.SbHeapFuncs_set_index_func_get, _coin.SbHeapFuncs_set_index_func_set) - def __init__(self, *args): - """__init__(self) -> SbHeapFuncs""" - this = _coin.new_SbHeapFuncs(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbHeapFuncs - __del__ = lambda self : None; -SbHeapFuncs_swigregister = _coin.SbHeapFuncs_swigregister -SbHeapFuncs_swigregister(SbHeapFuncs) - -class SbHeap(object): - """Proxy of C++ SbHeap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbHeapFuncs SbHeapFuncs, int initsize=1024) -> SbHeap - __init__(self, SbHeapFuncs SbHeapFuncs) -> SbHeap - """ - this = _coin.new_SbHeap(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbHeap - __del__ = lambda self : None; - def emptyHeap(*args): - """emptyHeap(self)""" - return _coin.SbHeap_emptyHeap(*args) - - def size(*args): - """size(self) -> int""" - return _coin.SbHeap_size(*args) - - def add(*args): - """add(self, void obj) -> int""" - return _coin.SbHeap_add(*args) - - def remove(*args): - """ - remove(self, int pos) - remove(self, void obj) - """ - return _coin.SbHeap_remove(*args) - - def extractMin(*args): - """extractMin(self) -> void""" - return _coin.SbHeap_extractMin(*args) - - def getMin(*args): - """getMin(self) -> void""" - return _coin.SbHeap_getMin(*args) - - def newWeight(*args): - """ - newWeight(self, void obj, int hpos=-1) - newWeight(self, void obj) - """ - return _coin.SbHeap_newWeight(*args) - - def buildHeap(*args): - """ - buildHeap(self, SbBool progresscb=None, void data=None) -> SbBool - buildHeap(self, SbBool progresscb=None) -> SbBool - buildHeap(self) -> SbBool - """ - return _coin.SbHeap_buildHeap(*args) - - def traverseHeap(*args): - """traverseHeap(self, SbBool func, void userdata) -> SbBool""" - return _coin.SbHeap_traverseHeap(*args) - -SbHeap_swigregister = _coin.SbHeap_swigregister -SbHeap_swigregister(SbHeap) - -class SbImage(object): - """Proxy of C++ SbImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbImage - __init__(self, unsigned char bytes) -> SbImage - __init__(self, unsigned char bytes) -> SbImage - """ - this = _coin.new_SbImage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbImage - __del__ = lambda self : None; - def setValue(*args): - """ - setValue(self, SbVec2s size) - setValue(self, SbVec3s size) - """ - return _coin.SbImage_setValue(*args) - - def setValuePtr(*args): - """ - setValuePtr(self, SbVec2s size) - setValuePtr(self, SbVec3s size) - """ - return _coin.SbImage_setValuePtr(*args) - - def getSize(*args): - """getSize(self) -> SbVec3s""" - return _coin.SbImage_getSize(*args) - - def readFile(*args): - """ - readFile(self, SbString filename, SbString searchdirectories=None, - int numdirectories=0) -> SbBool - readFile(self, SbString filename, SbString searchdirectories=None) -> SbBool - readFile(self, SbString filename) -> SbBool - """ - return _coin.SbImage_readFile(*args) - - def __eq__(*args): - """__eq__(self, SbImage image) -> int""" - return _coin.SbImage___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbImage image) -> int""" - return _coin.SbImage___ne__(*args) - - def addReadImageCB(*args): - """addReadImageCB(SbImageReadImageCB cb, void closure)""" - return _coin.SbImage_addReadImageCB(*args) - - addReadImageCB = staticmethod(addReadImageCB) - def removeReadImageCB(*args): - """removeReadImageCB(SbImageReadImageCB cb, void closure)""" - return _coin.SbImage_removeReadImageCB(*args) - - removeReadImageCB = staticmethod(removeReadImageCB) - def searchForFile(*args): - """searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString""" - return _coin.SbImage_searchForFile(*args) - - searchForFile = staticmethod(searchForFile) - def hasData(*args): - """hasData(self) -> SbBool""" - return _coin.SbImage_hasData(*args) - - def readLock(*args): - """readLock(self)""" - return _coin.SbImage_readLock(*args) - - def readUnlock(*args): - """readUnlock(self)""" - return _coin.SbImage_readUnlock(*args) - - def scheduleReadFile(*args): - """ - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename, - SbString searchdirectories=None, int numdirectories=0) -> SbBool - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename, - SbString searchdirectories=None) -> SbBool - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename) -> SbBool - """ - return _coin.SbImage_scheduleReadFile(*args) - - def getValue(*args): - """ - getValue(self, SbVec2s size, int bytesperpixel) -> unsigned char - getValue(self, SbVec3s size, int bytesperpixel) -> unsigned char - getValue(self) -> PyObject - """ - return _coin.SbImage_getValue(*args) - -SbImage_swigregister = _coin.SbImage_swigregister -SbImage_swigregister(SbImage) - -def SbImage_addReadImageCB(*args): - """SbImage_addReadImageCB(SbImageReadImageCB cb, void closure)""" - return _coin.SbImage_addReadImageCB(*args) - -def SbImage_removeReadImageCB(*args): - """SbImage_removeReadImageCB(SbImageReadImageCB cb, void closure)""" - return _coin.SbImage_removeReadImageCB(*args) - -def SbImage_searchForFile(*args): - """SbImage_searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString""" - return _coin.SbImage_searchForFile(*args) - -class SbOctTreeFuncs(object): - """Proxy of C++ SbOctTreeFuncs class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ptinsidefunc = _swig_property(_coin.SbOctTreeFuncs_ptinsidefunc_get, _coin.SbOctTreeFuncs_ptinsidefunc_set) - insideboxfunc = _swig_property(_coin.SbOctTreeFuncs_insideboxfunc_get, _coin.SbOctTreeFuncs_insideboxfunc_set) - insidespherefunc = _swig_property(_coin.SbOctTreeFuncs_insidespherefunc_get, _coin.SbOctTreeFuncs_insidespherefunc_set) - insideplanesfunc = _swig_property(_coin.SbOctTreeFuncs_insideplanesfunc_get, _coin.SbOctTreeFuncs_insideplanesfunc_set) - def __init__(self, *args): - """__init__(self) -> SbOctTreeFuncs""" - this = _coin.new_SbOctTreeFuncs(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbOctTreeFuncs - __del__ = lambda self : None; -SbOctTreeFuncs_swigregister = _coin.SbOctTreeFuncs_swigregister -SbOctTreeFuncs_swigregister(SbOctTreeFuncs) - -class SbOctTree(object): - """Proxy of C++ SbOctTree class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBox3f bbox, SbOctTreeFuncs itemfuncs, int maxitemspernode=64) -> SbOctTree - __init__(self, SbBox3f bbox, SbOctTreeFuncs itemfuncs) -> SbOctTree - """ - this = _coin.new_SbOctTree(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbOctTree - __del__ = lambda self : None; - def addItem(*args): - """addItem(self, void item)""" - return _coin.SbOctTree_addItem(*args) - - def removeItem(*args): - """removeItem(self, void item)""" - return _coin.SbOctTree_removeItem(*args) - - def findItems(*args): - """ - findItems(self, SbVec3f pos, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbVec3f pos, SbList<(p.void)> destarray) - findItems(self, SbBox3f box, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbBox3f box, SbList<(p.void)> destarray) - findItems(self, SbSphere sphere, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbSphere sphere, SbList<(p.void)> destarray) - findItems(self, SbPlane planes, int numplanes, SbList<(p.void)> destarray, - SbBool removeduplicates=1) - findItems(self, SbPlane planes, int numplanes, SbList<(p.void)> destarray) - """ - return _coin.SbOctTree_findItems(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox3f""" - return _coin.SbOctTree_getBoundingBox(*args) - - def clear(*args): - """clear(self)""" - return _coin.SbOctTree_clear(*args) - - def debugTree(*args): - """debugTree(self, FILE fp)""" - return _coin.SbOctTree_debugTree(*args) - -SbOctTree_swigregister = _coin.SbOctTree_swigregister -SbOctTree_swigregister(SbOctTree) - -class SbTesselator(object): - """Proxy of C++ SbTesselator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbTesselatorCB func=None, void data=None) -> SbTesselator - __init__(self, SbTesselatorCB func=None) -> SbTesselator - __init__(self) -> SbTesselator - """ - this = _coin.new_SbTesselator(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbTesselator - __del__ = lambda self : None; - def beginPolygon(*args): - """ - beginPolygon(self, SbBool keepVertices=0, SbVec3f normal=SbVec3f(0.0f, 0.0f, 0.0f)) - beginPolygon(self, SbBool keepVertices=0) - beginPolygon(self) - """ - return _coin.SbTesselator_beginPolygon(*args) - - def addVertex(*args): - """addVertex(self, SbVec3f v, void data)""" - return _coin.SbTesselator_addVertex(*args) - - def endPolygon(*args): - """endPolygon(self)""" - return _coin.SbTesselator_endPolygon(*args) - - def setCallback(*args): - """setCallback(self, SbTesselatorCB func, void data)""" - return _coin.SbTesselator_setCallback(*args) - -SbTesselator_swigregister = _coin.SbTesselator_swigregister -SbTesselator_swigregister(SbTesselator) - -class SoTimerQueueSensor(SoSensor): - """Proxy of C++ SoTimerQueueSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerQueueSensor *")) - newobj = apply(_coin.new_SoTimerQueueSensor_scb_v, args) - else: - self.this = apply(_coin.new_SoTimerQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoTimerQueueSensor - __del__ = lambda self : None; - def getTriggerTime(*args): - """getTriggerTime(self) -> SbTime""" - return _coin.SoTimerQueueSensor_getTriggerTime(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoTimerQueueSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoTimerQueueSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoTimerQueueSensor_isScheduled(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoTimerQueueSensor_trigger(*args) - -SoTimerQueueSensor_swigregister = _coin.SoTimerQueueSensor_swigregister -SoTimerQueueSensor_swigregister(SoTimerQueueSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerQueueSensor *")) - newobj = apply(_coin.new_SoTimerQueueSensor_scb_v, args) - else: - self.this = apply(_coin.new_SoTimerQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoAlarmSensor(SoTimerQueueSensor): - """Proxy of C++ SoAlarmSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoAlarmSensor *")) - newobj = apply(_coin.new_SoAlarmSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoAlarmSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoAlarmSensor - __del__ = lambda self : None; - def setTime(*args): - """setTime(self, SbTime abstime)""" - return _coin.SoAlarmSensor_setTime(*args) - - def setTimeFromNow(*args): - """setTimeFromNow(self, SbTime reltime)""" - return _coin.SoAlarmSensor_setTimeFromNow(*args) - - def getTime(*args): - """getTime(self) -> SbTime""" - return _coin.SoAlarmSensor_getTime(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoAlarmSensor_schedule(*args) - -SoAlarmSensor_swigregister = _coin.SoAlarmSensor_swigregister -SoAlarmSensor_swigregister(SoAlarmSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoAlarmSensor *")) - newobj = apply(_coin.new_SoAlarmSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoAlarmSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoIdleSensor(SoDelayQueueSensor): - """Proxy of C++ SoIdleSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoIdleSensor *")) - newobj = apply(_coin.new_SoIdleSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoIdleSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoIdleSensor - __del__ = lambda self : None; -SoIdleSensor_swigregister = _coin.SoIdleSensor_swigregister -SoIdleSensor_swigregister(SoIdleSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoIdleSensor *")) - newobj = apply(_coin.new_SoIdleSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoIdleSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoNodeSensor(SoDataSensor): - """Proxy of C++ SoNodeSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoNodeSensor *")) - newobj = apply(_coin.new_SoNodeSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoNodeSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoNodeSensor - __del__ = lambda self : None; - def attach(*args): - """attach(self, SoNode node)""" - return _coin.SoNodeSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoNodeSensor_detach(*args) - - def getAttachedNode(*args): - """getAttachedNode(self) -> SoNode""" - return _coin.SoNodeSensor_getAttachedNode(*args) - -SoNodeSensor_swigregister = _coin.SoNodeSensor_swigregister -SoNodeSensor_swigregister(SoNodeSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoNodeSensor *")) - newobj = apply(_coin.new_SoNodeSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoNodeSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoOneShotSensor(SoDelayQueueSensor): - """Proxy of C++ SoOneShotSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoOneShotSensor *")) - newobj = apply(_coin.new_SoOneShotSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoOneShotSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoOneShotSensor - __del__ = lambda self : None; -SoOneShotSensor_swigregister = _coin.SoOneShotSensor_swigregister -SoOneShotSensor_swigregister(SoOneShotSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoOneShotSensor *")) - newobj = apply(_coin.new_SoOneShotSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoOneShotSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoPathSensor(SoDataSensor): - """Proxy of C++ SoPathSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoPathSensor *")) - newobj = apply(_coin.new_SoPathSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoPathSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoPathSensor - __del__ = lambda self : None; - PATH = _coin.SoPathSensor_PATH - NODES = _coin.SoPathSensor_NODES - PATH_AND_NODES = _coin.SoPathSensor_PATH_AND_NODES - def setTriggerFilter(*args): - """setTriggerFilter(self, TriggerFilter type)""" - return _coin.SoPathSensor_setTriggerFilter(*args) - - def getTriggerFilter(*args): - """getTriggerFilter(self) -> TriggerFilter""" - return _coin.SoPathSensor_getTriggerFilter(*args) - - def attach(*args): - """attach(self, SoPath path)""" - return _coin.SoPathSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoPathSensor_detach(*args) - - def getAttachedPath(*args): - """getAttachedPath(self) -> SoPath""" - return _coin.SoPathSensor_getAttachedPath(*args) - -SoPathSensor_swigregister = _coin.SoPathSensor_swigregister -SoPathSensor_swigregister(SoPathSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoPathSensor *")) - newobj = apply(_coin.new_SoPathSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoPathSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoTimerSensor(SoTimerQueueSensor): - """Proxy of C++ SoTimerSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerSensor *")) - newobj = apply(_coin.new_SoTimerSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoTimerSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoTimerSensor - __del__ = lambda self : None; - def setBaseTime(*args): - """setBaseTime(self, SbTime base)""" - return _coin.SoTimerSensor_setBaseTime(*args) - - def getBaseTime(*args): - """getBaseTime(self) -> SbTime""" - return _coin.SoTimerSensor_getBaseTime(*args) - - def setInterval(*args): - """setInterval(self, SbTime interval)""" - return _coin.SoTimerSensor_setInterval(*args) - - def getInterval(*args): - """getInterval(self) -> SbTime""" - return _coin.SoTimerSensor_getInterval(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoTimerSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoTimerSensor_unschedule(*args) - - def reschedule(*args): - """reschedule(self, SbTime schedtime)""" - return _coin.SoTimerSensor_reschedule(*args) - -SoTimerSensor_swigregister = _coin.SoTimerSensor_swigregister -SoTimerSensor_swigregister(SoTimerSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerSensor *")) - newobj = apply(_coin.new_SoTimerSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoTimerSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoInteraction(object): - """Proxy of C++ SoInteraction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoInteraction_init(*args) - - init = staticmethod(init) - def __init__(self, *args): - """__init__(self) -> SoInteraction""" - this = _coin.new_SoInteraction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoInteraction - __del__ = lambda self : None; -SoInteraction_swigregister = _coin.SoInteraction_swigregister -SoInteraction_swigregister(SoInteraction) - -def SoInteraction_init(*args): - """SoInteraction_init()""" - return _coin.SoInteraction_init(*args) - -class SoOffscreenRenderer(object): - """Proxy of C++ SoOffscreenRenderer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - LUMINANCE = _coin.SoOffscreenRenderer_LUMINANCE - LUMINANCE_TRANSPARENCY = _coin.SoOffscreenRenderer_LUMINANCE_TRANSPARENCY - RGB = _coin.SoOffscreenRenderer_RGB - RGB_TRANSPARENCY = _coin.SoOffscreenRenderer_RGB_TRANSPARENCY - def __init__(self, *args): - """ - __init__(self, SbViewportRegion viewportregion) -> SoOffscreenRenderer - __init__(self, SoGLRenderAction action) -> SoOffscreenRenderer - """ - this = _coin.new_SoOffscreenRenderer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoOffscreenRenderer - __del__ = lambda self : None; - def getScreenPixelsPerInch(*args): - """getScreenPixelsPerInch() -> float""" - return _coin.SoOffscreenRenderer_getScreenPixelsPerInch(*args) - - getScreenPixelsPerInch = staticmethod(getScreenPixelsPerInch) - def getMaximumResolution(*args): - """getMaximumResolution() -> SbVec2s""" - return _coin.SoOffscreenRenderer_getMaximumResolution(*args) - - getMaximumResolution = staticmethod(getMaximumResolution) - def setComponents(*args): - """setComponents(self, Components components)""" - return _coin.SoOffscreenRenderer_setComponents(*args) - - def getComponents(*args): - """getComponents(self) -> Components""" - return _coin.SoOffscreenRenderer_getComponents(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion region)""" - return _coin.SoOffscreenRenderer_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoOffscreenRenderer_getViewportRegion(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _coin.SoOffscreenRenderer_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _coin.SoOffscreenRenderer_getBackgroundColor(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _coin.SoOffscreenRenderer_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _coin.SoOffscreenRenderer_getGLRenderAction(*args) - - def render(*args): - """ - render(self, SoNode scene) -> SbBool - render(self, SoPath scene) -> SbBool - """ - return _coin.SoOffscreenRenderer_render(*args) - - def getDC(*args): - """getDC(self) -> void""" - return _coin.SoOffscreenRenderer_getDC(*args) - - def writeToRGB(*args): - """ - writeToRGB(self, FILE fp) -> SbBool - writeToRGB(self, char filename) -> SbBool - """ - return _coin.SoOffscreenRenderer_writeToRGB(*args) - - def writeToPostScript(*args): - """ - writeToPostScript(self, FILE fp) -> SbBool - writeToPostScript(self, FILE fp, SbVec2f printsize) -> SbBool - writeToPostScript(self, char filename) -> SbBool - writeToPostScript(self, char filename, SbVec2f printsize) -> SbBool - """ - return _coin.SoOffscreenRenderer_writeToPostScript(*args) - - def isWriteSupported(*args): - """isWriteSupported(self, SbName filetypeextension) -> SbBool""" - return _coin.SoOffscreenRenderer_isWriteSupported(*args) - - def getNumWriteFiletypes(*args): - """getNumWriteFiletypes(self) -> int""" - return _coin.SoOffscreenRenderer_getNumWriteFiletypes(*args) - - def writeToFile(*args): - """writeToFile(self, SbString filename, SbName filetypeextension) -> SbBool""" - return _coin.SoOffscreenRenderer_writeToFile(*args) - - def setPbufferEnable(*args): - """setPbufferEnable(self, SbBool enable)""" - return _coin.SoOffscreenRenderer_setPbufferEnable(*args) - - def getPbufferEnable(*args): - """getPbufferEnable(self) -> SbBool""" - return _coin.SoOffscreenRenderer_getPbufferEnable(*args) - - def getWriteFiletypeInfo(*args): - """ - getWriteFiletypeInfo(self, int idx, SbPList extlist, SbString fullname, SbString description) - getWriteFiletypeInfo(self, int idx, SbList<(SbName)> extlist, SbString fullname, - SbString description) - """ - return _coin.SoOffscreenRenderer_getWriteFiletypeInfo(*args) - - def getBuffer(*args): - """ - getBuffer(self) -> unsigned char - getBuffer(self) -> PyObject - """ - return _coin.SoOffscreenRenderer_getBuffer(*args) - -SoOffscreenRenderer_swigregister = _coin.SoOffscreenRenderer_swigregister -SoOffscreenRenderer_swigregister(SoOffscreenRenderer) - -def SoOffscreenRenderer_getScreenPixelsPerInch(*args): - """SoOffscreenRenderer_getScreenPixelsPerInch() -> float""" - return _coin.SoOffscreenRenderer_getScreenPixelsPerInch(*args) - -def SoOffscreenRenderer_getMaximumResolution(*args): - """SoOffscreenRenderer_getMaximumResolution() -> SbVec2s""" - return _coin.SoOffscreenRenderer_getMaximumResolution(*args) - -class SoPickedPoint(object): - """Proxy of C++ SoPickedPoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoPickedPoint pp) -> SoPickedPoint - __init__(self, SoPath path, SoState state, SbVec3f objSpacePoint) -> SoPickedPoint - """ - this = _coin.new_SoPickedPoint(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPickedPoint - __del__ = lambda self : None; - def copy(*args): - """copy(self) -> SoPickedPoint""" - return _coin.SoPickedPoint_copy(*args) - - def getPoint(*args): - """getPoint(self) -> SbVec3f""" - return _coin.SoPickedPoint_getPoint(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SoPickedPoint_getNormal(*args) - - def getTextureCoords(*args): - """getTextureCoords(self) -> SbVec4f""" - return _coin.SoPickedPoint_getTextureCoords(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPickedPoint_getMaterialIndex(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoPickedPoint_getPath(*args) - - def isOnGeometry(*args): - """isOnGeometry(self) -> SbBool""" - return _coin.SoPickedPoint_isOnGeometry(*args) - - def getDetail(*args): - """ - getDetail(self, SoNode node=None) -> SoDetail - getDetail(self) -> SoDetail - """ - return _coin.SoPickedPoint_getDetail(*args) - - def getObjectToWorld(*args): - """ - getObjectToWorld(self, SoNode node=None) -> SbMatrix - getObjectToWorld(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getObjectToWorld(*args) - - def getWorldToObject(*args): - """ - getWorldToObject(self, SoNode node=None) -> SbMatrix - getWorldToObject(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getWorldToObject(*args) - - def getObjectToImage(*args): - """ - getObjectToImage(self, SoNode node=None) -> SbMatrix - getObjectToImage(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getObjectToImage(*args) - - def getImageToObject(*args): - """ - getImageToObject(self, SoNode node=None) -> SbMatrix - getImageToObject(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getImageToObject(*args) - - def getObjectPoint(*args): - """ - getObjectPoint(self, SoNode node=None) -> SbVec3f - getObjectPoint(self) -> SbVec3f - """ - return _coin.SoPickedPoint_getObjectPoint(*args) - - def getObjectNormal(*args): - """ - getObjectNormal(self, SoNode node=None) -> SbVec3f - getObjectNormal(self) -> SbVec3f - """ - return _coin.SoPickedPoint_getObjectNormal(*args) - - def getObjectTextureCoords(*args): - """ - getObjectTextureCoords(self, SoNode node=None) -> SbVec4f - getObjectTextureCoords(self) -> SbVec4f - """ - return _coin.SoPickedPoint_getObjectTextureCoords(*args) - - def setObjectNormal(*args): - """setObjectNormal(self, SbVec3f normal)""" - return _coin.SoPickedPoint_setObjectNormal(*args) - - def setObjectTextureCoords(*args): - """setObjectTextureCoords(self, SbVec4f texCoords)""" - return _coin.SoPickedPoint_setObjectTextureCoords(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int index)""" - return _coin.SoPickedPoint_setMaterialIndex(*args) - - def setDetail(*args): - """setDetail(self, SoDetail detail, SoNode node)""" - return _coin.SoPickedPoint_setDetail(*args) - -SoPickedPoint_swigregister = _coin.SoPickedPoint_swigregister -SoPickedPoint_swigregister(SoPickedPoint) - -class SoPrimitiveVertex(object): - """Proxy of C++ SoPrimitiveVertex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPrimitiveVertex - __init__(self, SoPrimitiveVertex pv) -> SoPrimitiveVertex - """ - this = _coin.new_SoPrimitiveVertex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPrimitiveVertex - __del__ = lambda self : None; - def getPoint(*args): - """getPoint(self) -> SbVec3f""" - return _coin.SoPrimitiveVertex_getPoint(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SoPrimitiveVertex_getNormal(*args) - - def getTextureCoords(*args): - """getTextureCoords(self) -> SbVec4f""" - return _coin.SoPrimitiveVertex_getTextureCoords(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPrimitiveVertex_getMaterialIndex(*args) - - def getPackedColor(*args): - """getPackedColor(self) -> uint32_t""" - return _coin.SoPrimitiveVertex_getPackedColor(*args) - - def getDetail(*args): - """getDetail(self) -> SoDetail""" - return _coin.SoPrimitiveVertex_getDetail(*args) - - def setPoint(*args): - """ - setPoint(self, SbVec3f pt) - setPoint(self, float x, float y, float z) - """ - return _coin.SoPrimitiveVertex_setPoint(*args) - - def setNormal(*args): - """ - setNormal(self, SbVec3f n) - setNormal(self, float nx, float ny, float nz) - """ - return _coin.SoPrimitiveVertex_setNormal(*args) - - def setTextureCoords(*args): - """ - setTextureCoords(self, SbVec2f tex) - setTextureCoords(self, float tx, float ty) - setTextureCoords(self, SbVec3f tex) - setTextureCoords(self, float tx, float ty, float tz) - setTextureCoords(self, SbVec4f tex) - setTextureCoords(self, float tx, float ty, float tz, float tw) - """ - return _coin.SoPrimitiveVertex_setTextureCoords(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int index)""" - return _coin.SoPrimitiveVertex_setMaterialIndex(*args) - - def setPackedColor(*args): - """setPackedColor(self, uint32_t rgba)""" - return _coin.SoPrimitiveVertex_setPackedColor(*args) - - def setDetail(*args): - """setDetail(self, SoDetail d)""" - return _coin.SoPrimitiveVertex_setDetail(*args) - -SoPrimitiveVertex_swigregister = _coin.SoPrimitiveVertex_swigregister -SoPrimitiveVertex_swigregister(SoPrimitiveVertex) - -class SoSceneManager(object): - """Proxy of C++ SoSceneManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSceneManager""" - this = _coin.new_SoSceneManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSceneManager - __del__ = lambda self : None; - def render(*args): - """ - render(self, SbBool clearwindow=1, SbBool clearzbuffer=1) - render(self, SbBool clearwindow=1) - render(self) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, - SbBool clearzbuffer=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1) - render(self, SoGLRenderAction action) - """ - return _coin.SoSceneManager_render(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _coin.SoSceneManager_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _coin.SoSceneManager_getCamera(*args) - - def processEvent(*args): - """processEvent(self, SoEvent event) -> SbBool""" - return _coin.SoSceneManager_processEvent(*args) - - def reinitialize(*args): - """reinitialize(self)""" - return _coin.SoSceneManager_reinitialize(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _coin.SoSceneManager_scheduleRedraw(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode sceneroot)""" - return _coin.SoSceneManager_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _coin.SoSceneManager_getSceneGraph(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s newsize)""" - return _coin.SoSceneManager_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _coin.SoSceneManager_getWindowSize(*args) - - def setSize(*args): - """setSize(self, SbVec2s newsize)""" - return _coin.SoSceneManager_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _coin.SoSceneManager_getSize(*args) - - def setOrigin(*args): - """setOrigin(self, SbVec2s newOrigin)""" - return _coin.SoSceneManager_setOrigin(*args) - - def getOrigin(*args): - """getOrigin(self) -> SbVec2s""" - return _coin.SoSceneManager_getOrigin(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _coin.SoSceneManager_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoSceneManager_getViewportRegion(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _coin.SoSceneManager_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _coin.SoSceneManager_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int index)""" - return _coin.SoSceneManager_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _coin.SoSceneManager_getBackgroundIndex(*args) - - def setRGBMode(*args): - """setRGBMode(self, SbBool onOrOff)""" - return _coin.SoSceneManager_setRGBMode(*args) - - def isRGBMode(*args): - """isRGBMode(self) -> SbBool""" - return _coin.SoSceneManager_isRGBMode(*args) - - def activate(*args): - """activate(self)""" - return _coin.SoSceneManager_activate(*args) - - def deactivate(*args): - """deactivate(self)""" - return _coin.SoSceneManager_deactivate(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _coin.SoSceneManager_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _coin.SoSceneManager_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _coin.SoSceneManager_getRedrawPriority(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoSceneManager_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoSceneManager_getAntialiasing(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _coin.SoSceneManager_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _coin.SoSceneManager_getGLRenderAction(*args) - - def setAudioRenderAction(*args): - """setAudioRenderAction(self, SoAudioRenderAction action)""" - return _coin.SoSceneManager_setAudioRenderAction(*args) - - def getAudioRenderAction(*args): - """getAudioRenderAction(self) -> SoAudioRenderAction""" - return _coin.SoSceneManager_getAudioRenderAction(*args) - - def setHandleEventAction(*args): - """setHandleEventAction(self, SoHandleEventAction hea)""" - return _coin.SoSceneManager_setHandleEventAction(*args) - - def getHandleEventAction(*args): - """getHandleEventAction(self) -> SoHandleEventAction""" - return _coin.SoSceneManager_getHandleEventAction(*args) - - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoSceneManager_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def enableRealTimeUpdate(*args): - """enableRealTimeUpdate(SbBool flag)""" - return _coin.SoSceneManager_enableRealTimeUpdate(*args) - - enableRealTimeUpdate = staticmethod(enableRealTimeUpdate) - def isRealTimeUpdateEnabled(*args): - """isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoSceneManager_isRealTimeUpdateEnabled(*args) - - isRealTimeUpdateEnabled = staticmethod(isRealTimeUpdateEnabled) - def setRenderCallback(*args): - """ - setRenderCallback(self, SoSceneManagerRenderCB f, void userData=None) - setRenderCallback(self, SoSceneManagerRenderCB f) - setRenderCallback(self, PyObject pyfunc, PyObject userData=None) - setRenderCallback(self, PyObject pyfunc) - """ - return _coin.SoSceneManager_setRenderCallback(*args) - -SoSceneManager_swigregister = _coin.SoSceneManager_swigregister -SoSceneManager_swigregister(SoSceneManager) - -def SoSceneManager_getDefaultRedrawPriority(*args): - """SoSceneManager_getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoSceneManager_getDefaultRedrawPriority(*args) - -def SoSceneManager_enableRealTimeUpdate(*args): - """SoSceneManager_enableRealTimeUpdate(SbBool flag)""" - return _coin.SoSceneManager_enableRealTimeUpdate(*args) - -def SoSceneManager_isRealTimeUpdateEnabled(*args): - """SoSceneManager_isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoSceneManager_isRealTimeUpdateEnabled(*args) - -GL_GLEXT_PROTOTYPES = _coin.GL_GLEXT_PROTOTYPES -GL_CLAMP_TO_EDGE = _coin.GL_CLAMP_TO_EDGE -GL_CLAMP_TO_BORDER = _coin.GL_CLAMP_TO_BORDER -GL_REPLACE = _coin.GL_REPLACE -GL_MAX_3D_TEXTURE_SIZE = _coin.GL_MAX_3D_TEXTURE_SIZE -GL_PACK_IMAGE_HEIGHT = _coin.GL_PACK_IMAGE_HEIGHT -GL_PACK_SKIP_IMAGES = _coin.GL_PACK_SKIP_IMAGES -GL_PROXY_TEXTURE_2D = _coin.GL_PROXY_TEXTURE_2D -GL_PROXY_TEXTURE_3D = _coin.GL_PROXY_TEXTURE_3D -GL_TEXTURE_3D = _coin.GL_TEXTURE_3D -GL_TEXTURE_DEPTH = _coin.GL_TEXTURE_DEPTH -GL_TEXTURE_WRAP_R = _coin.GL_TEXTURE_WRAP_R -GL_UNPACK_IMAGE_HEIGHT = _coin.GL_UNPACK_IMAGE_HEIGHT -GL_UNPACK_SKIP_IMAGES = _coin.GL_UNPACK_SKIP_IMAGES -GL_COLOR_TABLE_WIDTH = _coin.GL_COLOR_TABLE_WIDTH -GL_TEXTURE0 = _coin.GL_TEXTURE0 -GL_TEXTURE1 = _coin.GL_TEXTURE1 -GL_TEXTURE2 = _coin.GL_TEXTURE2 -GL_TEXTURE3 = _coin.GL_TEXTURE3 -GL_TEXTURE4 = _coin.GL_TEXTURE4 -GL_TEXTURE5 = _coin.GL_TEXTURE5 -GL_TEXTURE6 = _coin.GL_TEXTURE6 -GL_TEXTURE7 = _coin.GL_TEXTURE7 -GL_TEXTURE8 = _coin.GL_TEXTURE8 -GL_TEXTURE9 = _coin.GL_TEXTURE9 -GL_TEXTURE10 = _coin.GL_TEXTURE10 -GL_TEXTURE11 = _coin.GL_TEXTURE11 -GL_TEXTURE12 = _coin.GL_TEXTURE12 -GL_TEXTURE13 = _coin.GL_TEXTURE13 -GL_TEXTURE14 = _coin.GL_TEXTURE14 -GL_TEXTURE15 = _coin.GL_TEXTURE15 -GL_MAX_TEXTURE_UNITS = _coin.GL_MAX_TEXTURE_UNITS -GL_ACTIVE_TEXTURE = _coin.GL_ACTIVE_TEXTURE -GL_CLIENT_ACTIVE_TEXTURE = _coin.GL_CLIENT_ACTIVE_TEXTURE -GL_POLYGON_OFFSET_EXT = _coin.GL_POLYGON_OFFSET_EXT -GL_COLOR_TABLE = _coin.GL_COLOR_TABLE -GL_COLOR_INDEX1_EXT = _coin.GL_COLOR_INDEX1_EXT -GL_COLOR_INDEX2_EXT = _coin.GL_COLOR_INDEX2_EXT -GL_COLOR_INDEX4_EXT = _coin.GL_COLOR_INDEX4_EXT -GL_COLOR_INDEX8_EXT = _coin.GL_COLOR_INDEX8_EXT -GL_COLOR_INDEX12_EXT = _coin.GL_COLOR_INDEX12_EXT -GL_COLOR_INDEX16_EXT = _coin.GL_COLOR_INDEX16_EXT -GL_COLOR_TABLE_FORMAT_EXT = _coin.GL_COLOR_TABLE_FORMAT_EXT -GL_COLOR_TABLE_RED_SIZE_EXT = _coin.GL_COLOR_TABLE_RED_SIZE_EXT -GL_COLOR_TABLE_GREEN_SIZE_EXT = _coin.GL_COLOR_TABLE_GREEN_SIZE_EXT -GL_COLOR_TABLE_BLUE_SIZE_EXT = _coin.GL_COLOR_TABLE_BLUE_SIZE_EXT -GL_COLOR_TABLE_ALPHA_SIZE_EXT = _coin.GL_COLOR_TABLE_ALPHA_SIZE_EXT -GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = _coin.GL_COLOR_TABLE_LUMINANCE_SIZE_EXT -GL_COLOR_TABLE_INTENSITY_SIZE_EXT = _coin.GL_COLOR_TABLE_INTENSITY_SIZE_EXT -GL_TEXTURE_INDEX_SIZE_EXT = _coin.GL_TEXTURE_INDEX_SIZE_EXT -GL_COMPRESSED_ALPHA_ARB = _coin.GL_COMPRESSED_ALPHA_ARB -GL_COMPRESSED_LUMINANCE_ARB = _coin.GL_COMPRESSED_LUMINANCE_ARB -GL_COMPRESSED_LUMINANCE_ALPHA_ARB = _coin.GL_COMPRESSED_LUMINANCE_ALPHA_ARB -GL_COMPRESSED_INTENSITY_ARB = _coin.GL_COMPRESSED_INTENSITY_ARB -GL_COMPRESSED_RGB_ARB = _coin.GL_COMPRESSED_RGB_ARB -GL_COMPRESSED_RGBA_ARB = _coin.GL_COMPRESSED_RGBA_ARB -GL_TEXTURE_COMPRESSION_HINT_ARB = _coin.GL_TEXTURE_COMPRESSION_HINT_ARB -GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = _coin.GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB -GL_TEXTURE_COMPRESSED_ARB = _coin.GL_TEXTURE_COMPRESSED_ARB -GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = _coin.GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB -GL_COMPRESSED_TEXTURE_FORMATS_ARB = _coin.GL_COMPRESSED_TEXTURE_FORMATS_ARB -GL_DEPTH_COMPONENT16 = _coin.GL_DEPTH_COMPONENT16 -GL_DEPTH_COMPONENT24 = _coin.GL_DEPTH_COMPONENT24 -GL_DEPTH_COMPONENT32 = _coin.GL_DEPTH_COMPONENT32 -GL_TEXTURE_DEPTH_SIZE = _coin.GL_TEXTURE_DEPTH_SIZE -GL_DEPTH_TEXTURE_MODE = _coin.GL_DEPTH_TEXTURE_MODE -GL_R3_G3_B2 = _coin.GL_R3_G3_B2 -GL_RGB4 = _coin.GL_RGB4 -GL_RGB5 = _coin.GL_RGB5 -GL_RGB8 = _coin.GL_RGB8 -GL_RGB10 = _coin.GL_RGB10 -GL_RGB12 = _coin.GL_RGB12 -GL_RGB16 = _coin.GL_RGB16 -GL_RGBA2 = _coin.GL_RGBA2 -GL_RGBA4 = _coin.GL_RGBA4 -GL_RGB5_A1 = _coin.GL_RGB5_A1 -GL_RGBA8 = _coin.GL_RGBA8 -GL_RGB10_A2 = _coin.GL_RGB10_A2 -GL_RGBA12 = _coin.GL_RGBA12 -GL_RGBA16 = _coin.GL_RGBA16 -GL_RGBA32F_ARB = _coin.GL_RGBA32F_ARB -GL_RGB32F_ARB = _coin.GL_RGB32F_ARB -GL_ALPHA32F_ARB = _coin.GL_ALPHA32F_ARB -GL_INTENSITY32F_ARB = _coin.GL_INTENSITY32F_ARB -GL_LUMINANCE32F_ARB = _coin.GL_LUMINANCE32F_ARB -GL_LUMINANCE_ALPHA32F_ARB = _coin.GL_LUMINANCE_ALPHA32F_ARB -GL_RGBA16F_ARB = _coin.GL_RGBA16F_ARB -GL_RGB16F_ARB = _coin.GL_RGB16F_ARB -GL_ALPHA16F_ARB = _coin.GL_ALPHA16F_ARB -GL_INTENSITY16F_ARB = _coin.GL_INTENSITY16F_ARB -GL_LUMINANCE16F_ARB = _coin.GL_LUMINANCE16F_ARB -GL_LUMINANCE_ALPHA16F_ARB = _coin.GL_LUMINANCE_ALPHA16F_ARB -GL_RGBA16_EXT = _coin.GL_RGBA16_EXT -GL_TEXTURE_COMPARE_MODE = _coin.GL_TEXTURE_COMPARE_MODE -GL_TEXTURE_COMPARE_FUNC = _coin.GL_TEXTURE_COMPARE_FUNC -GL_COMPARE_R_TO_TEXTURE = _coin.GL_COMPARE_R_TO_TEXTURE -GL_MIN = _coin.GL_MIN -GL_MAX = _coin.GL_MAX -GL_FUNC_ADD = _coin.GL_FUNC_ADD -GL_FUNC_SUBTRACT = _coin.GL_FUNC_SUBTRACT -GL_FUNC_REVERSE_SUBTRACT = _coin.GL_FUNC_REVERSE_SUBTRACT -GL_VERTEX_ARRAY = _coin.GL_VERTEX_ARRAY -GL_NORMAL_ARRAY = _coin.GL_NORMAL_ARRAY -GL_COLOR_ARRAY = _coin.GL_COLOR_ARRAY -GL_INDEX_ARRAY = _coin.GL_INDEX_ARRAY -GL_TEXTURE_COORD_ARRAY = _coin.GL_TEXTURE_COORD_ARRAY -GL_V3F = _coin.GL_V3F -GL_C4UB_V3F = _coin.GL_C4UB_V3F -GL_C3F_V3F = _coin.GL_C3F_V3F -GL_N3F_V3F = _coin.GL_N3F_V3F -GL_C4F_N3F_V3F = _coin.GL_C4F_N3F_V3F -GL_T2F_V3F = _coin.GL_T2F_V3F -GL_T2F_C4UB_V3F = _coin.GL_T2F_C4UB_V3F -GL_T2F_C3F_V3F = _coin.GL_T2F_C3F_V3F -GL_T2F_N3F_V3F = _coin.GL_T2F_N3F_V3F -GL_T2F_C4F_N3F_V3F = _coin.GL_T2F_C4F_N3F_V3F -GL_VERTEX_ARRAY_RANGE_NV = _coin.GL_VERTEX_ARRAY_RANGE_NV -GL_VERTEX_ARRAY_RANGE_LENGTH_NV = _coin.GL_VERTEX_ARRAY_RANGE_LENGTH_NV -GL_VERTEX_ARRAY_RANGE_VALID_NV = _coin.GL_VERTEX_ARRAY_RANGE_VALID_NV -GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = _coin.GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV -GL_VERTEX_ARRAY_RANGE_POINTER_NV = _coin.GL_VERTEX_ARRAY_RANGE_POINTER_NV -GL_ARRAY_BUFFER = _coin.GL_ARRAY_BUFFER -GL_ELEMENT_ARRAY_BUFFER = _coin.GL_ELEMENT_ARRAY_BUFFER -GL_READ_ONLY = _coin.GL_READ_ONLY -GL_WRITE_ONLY = _coin.GL_WRITE_ONLY -GL_READ_WRITE = _coin.GL_READ_WRITE -GL_BUFFER_ACCESS = _coin.GL_BUFFER_ACCESS -GL_BUFFER_MAPPED = _coin.GL_BUFFER_MAPPED -GL_BUFFER_MAP_POINTER = _coin.GL_BUFFER_MAP_POINTER -GL_STREAM_DRAW = _coin.GL_STREAM_DRAW -GL_STREAM_READ = _coin.GL_STREAM_READ -GL_STREAM_COPY = _coin.GL_STREAM_COPY -GL_STATIC_DRAW = _coin.GL_STATIC_DRAW -GL_STATIC_READ = _coin.GL_STATIC_READ -GL_STATIC_COPY = _coin.GL_STATIC_COPY -GL_DYNAMIC_DRAW = _coin.GL_DYNAMIC_DRAW -GL_DYNAMIC_READ = _coin.GL_DYNAMIC_READ -GL_DYNAMIC_COPY = _coin.GL_DYNAMIC_COPY -GL_REGISTER_COMBINERS_NV = _coin.GL_REGISTER_COMBINERS_NV -GL_COMBINER0_NV = _coin.GL_COMBINER0_NV -GL_COMBINER1_NV = _coin.GL_COMBINER1_NV -GL_COMBINER2_NV = _coin.GL_COMBINER2_NV -GL_COMBINER3_NV = _coin.GL_COMBINER3_NV -GL_COMBINER4_NV = _coin.GL_COMBINER4_NV -GL_COMBINER5_NV = _coin.GL_COMBINER5_NV -GL_COMBINER6_NV = _coin.GL_COMBINER6_NV -GL_COMBINER7_NV = _coin.GL_COMBINER7_NV -GL_VARIABLE_A_NV = _coin.GL_VARIABLE_A_NV -GL_VARIABLE_B_NV = _coin.GL_VARIABLE_B_NV -GL_VARIABLE_C_NV = _coin.GL_VARIABLE_C_NV -GL_VARIABLE_D_NV = _coin.GL_VARIABLE_D_NV -GL_VARIABLE_E_NV = _coin.GL_VARIABLE_E_NV -GL_VARIABLE_F_NV = _coin.GL_VARIABLE_F_NV -GL_VARIABLE_G_NV = _coin.GL_VARIABLE_G_NV -GL_CONSTANT_COLOR0_NV = _coin.GL_CONSTANT_COLOR0_NV -GL_CONSTANT_COLOR1_NV = _coin.GL_CONSTANT_COLOR1_NV -GL_PRIMARY_COLOR_NV = _coin.GL_PRIMARY_COLOR_NV -GL_SECONDARY_COLOR_NV = _coin.GL_SECONDARY_COLOR_NV -GL_SPARE0_NV = _coin.GL_SPARE0_NV -GL_SPARE1_NV = _coin.GL_SPARE1_NV -GL_UNSIGNED_IDENTITY_NV = _coin.GL_UNSIGNED_IDENTITY_NV -GL_UNSIGNED_INVERT_NV = _coin.GL_UNSIGNED_INVERT_NV -GL_EXPAND_NORMAL_NV = _coin.GL_EXPAND_NORMAL_NV -GL_EXPAND_NEGATE_NV = _coin.GL_EXPAND_NEGATE_NV -GL_HALF_BIAS_NORMAL_NV = _coin.GL_HALF_BIAS_NORMAL_NV -GL_HALF_BIAS_NEGATE_NV = _coin.GL_HALF_BIAS_NEGATE_NV -GL_SIGNED_IDENTITY_NV = _coin.GL_SIGNED_IDENTITY_NV -GL_SIGNED_NEGATE_NV = _coin.GL_SIGNED_NEGATE_NV -GL_E_TIMES_F_NV = _coin.GL_E_TIMES_F_NV -GL_SPARE0_PLUS_SECONDARY_COLOR_NV = _coin.GL_SPARE0_PLUS_SECONDARY_COLOR_NV -GL_SCALE_BY_TWO_NV = _coin.GL_SCALE_BY_TWO_NV -GL_SCALE_BY_FOUR_NV = _coin.GL_SCALE_BY_FOUR_NV -GL_SCALE_BY_ONE_HALF_NV = _coin.GL_SCALE_BY_ONE_HALF_NV -GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = _coin.GL_BIAS_BY_NEGATIVE_ONE_HALF_NV -GL_DISCARD_NV = _coin.GL_DISCARD_NV -GL_COMBINER_INPUT_NV = _coin.GL_COMBINER_INPUT_NV -GL_COMBINER_MAPPING_NV = _coin.GL_COMBINER_MAPPING_NV -GL_COMBINER_COMPONENT_USAGE_NV = _coin.GL_COMBINER_COMPONENT_USAGE_NV -GL_COMBINER_AB_DOT_PRODUCT_NV = _coin.GL_COMBINER_AB_DOT_PRODUCT_NV -GL_COMBINER_CD_DOT_PRODUCT_NV = _coin.GL_COMBINER_CD_DOT_PRODUCT_NV -GL_COMBINER_MUX_SUM_NV = _coin.GL_COMBINER_MUX_SUM_NV -GL_COMBINER_SCALE_NV = _coin.GL_COMBINER_SCALE_NV -GL_COMBINER_BIAS_NV = _coin.GL_COMBINER_BIAS_NV -GL_COMBINER_AB_OUTPUT_NV = _coin.GL_COMBINER_AB_OUTPUT_NV -GL_COMBINER_CD_OUTPUT_NV = _coin.GL_COMBINER_CD_OUTPUT_NV -GL_COMBINER_SUM_OUTPUT_NV = _coin.GL_COMBINER_SUM_OUTPUT_NV -GL_MAX_GENERAL_COMBINERS_NV = _coin.GL_MAX_GENERAL_COMBINERS_NV -GL_NUM_GENERAL_COMBINERS_NV = _coin.GL_NUM_GENERAL_COMBINERS_NV -GL_COLOR_SUM_CLAMP_NV = _coin.GL_COLOR_SUM_CLAMP_NV -GL_TEXTURE_RECTANGLE_NV = _coin.GL_TEXTURE_RECTANGLE_NV -GL_TEXTURE_BINDING_RECTANGLE_NV = _coin.GL_TEXTURE_BINDING_RECTANGLE_NV -GL_PROXY_TEXTURE_RECTANGLE_NV = _coin.GL_PROXY_TEXTURE_RECTANGLE_NV -GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = _coin.GL_MAX_RECTANGLE_TEXTURE_SIZE_NV -GL_TEXTURE_RECTANGLE_EXT = _coin.GL_TEXTURE_RECTANGLE_EXT -GL_TEXTURE_BINDING_RECTANGLE_EXT = _coin.GL_TEXTURE_BINDING_RECTANGLE_EXT -GL_PROXY_TEXTURE_RECTANGLE_EXT = _coin.GL_PROXY_TEXTURE_RECTANGLE_EXT -GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT = _coin.GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT -GL_OFFSET_TEXTURE_RECTANGLE_NV = _coin.GL_OFFSET_TEXTURE_RECTANGLE_NV -GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = _coin.GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV -GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = _coin.GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV -GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = _coin.GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV -GL_UNSIGNED_INT_S8_S8_8_8_NV = _coin.GL_UNSIGNED_INT_S8_S8_8_8_NV -GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = _coin.GL_UNSIGNED_INT_8_8_S8_S8_REV_NV -GL_DSDT_MAG_INTENSITY_NV = _coin.GL_DSDT_MAG_INTENSITY_NV -GL_SHADER_CONSISTENT_NV = _coin.GL_SHADER_CONSISTENT_NV -GL_TEXTURE_SHADER_NV = _coin.GL_TEXTURE_SHADER_NV -GL_SHADER_OPERATION_NV = _coin.GL_SHADER_OPERATION_NV -GL_CULL_MODES_NV = _coin.GL_CULL_MODES_NV -GL_OFFSET_TEXTURE_MATRIX_NV = _coin.GL_OFFSET_TEXTURE_MATRIX_NV -GL_OFFSET_TEXTURE_SCALE_NV = _coin.GL_OFFSET_TEXTURE_SCALE_NV -GL_OFFSET_TEXTURE_BIAS_NV = _coin.GL_OFFSET_TEXTURE_BIAS_NV -GL_OFFSET_TEXTURE_2D_MATRIX_NV = _coin.GL_OFFSET_TEXTURE_2D_MATRIX_NV -GL_OFFSET_TEXTURE_2D_SCALE_NV = _coin.GL_OFFSET_TEXTURE_2D_SCALE_NV -GL_OFFSET_TEXTURE_2D_BIAS_NV = _coin.GL_OFFSET_TEXTURE_2D_BIAS_NV -GL_PREVIOUS_TEXTURE_INPUT_NV = _coin.GL_PREVIOUS_TEXTURE_INPUT_NV -GL_CONST_EYE_NV = _coin.GL_CONST_EYE_NV -GL_PASS_THROUGH_NV = _coin.GL_PASS_THROUGH_NV -GL_CULL_FRAGMENT_NV = _coin.GL_CULL_FRAGMENT_NV -GL_OFFSET_TEXTURE_2D_NV = _coin.GL_OFFSET_TEXTURE_2D_NV -GL_DEPENDENT_AR_TEXTURE_2D_NV = _coin.GL_DEPENDENT_AR_TEXTURE_2D_NV -GL_DEPENDENT_GB_TEXTURE_2D_NV = _coin.GL_DEPENDENT_GB_TEXTURE_2D_NV -GL_DOT_PRODUCT_NV = _coin.GL_DOT_PRODUCT_NV -GL_DOT_PRODUCT_DEPTH_REPLACE_NV = _coin.GL_DOT_PRODUCT_DEPTH_REPLACE_NV -GL_DOT_PRODUCT_TEXTURE_2D_NV = _coin.GL_DOT_PRODUCT_TEXTURE_2D_NV -GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV -GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV -GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV -GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV -GL_HILO_NV = _coin.GL_HILO_NV -GL_DSDT_NV = _coin.GL_DSDT_NV -GL_DSDT_MAG_NV = _coin.GL_DSDT_MAG_NV -GL_DSDT_MAG_VIB_NV = _coin.GL_DSDT_MAG_VIB_NV -GL_HILO16_NV = _coin.GL_HILO16_NV -GL_SIGNED_HILO_NV = _coin.GL_SIGNED_HILO_NV -GL_SIGNED_HILO16_NV = _coin.GL_SIGNED_HILO16_NV -GL_SIGNED_RGBA_NV = _coin.GL_SIGNED_RGBA_NV -GL_SIGNED_RGBA8_NV = _coin.GL_SIGNED_RGBA8_NV -GL_SIGNED_RGB_NV = _coin.GL_SIGNED_RGB_NV -GL_SIGNED_RGB8_NV = _coin.GL_SIGNED_RGB8_NV -GL_SIGNED_LUMINANCE_NV = _coin.GL_SIGNED_LUMINANCE_NV -GL_SIGNED_LUMINANCE8_NV = _coin.GL_SIGNED_LUMINANCE8_NV -GL_SIGNED_LUMINANCE_ALPHA_NV = _coin.GL_SIGNED_LUMINANCE_ALPHA_NV -GL_SIGNED_LUMINANCE8_ALPHA8_NV = _coin.GL_SIGNED_LUMINANCE8_ALPHA8_NV -GL_SIGNED_ALPHA_NV = _coin.GL_SIGNED_ALPHA_NV -GL_SIGNED_ALPHA8_NV = _coin.GL_SIGNED_ALPHA8_NV -GL_SIGNED_INTENSITY_NV = _coin.GL_SIGNED_INTENSITY_NV -GL_SIGNED_INTENSITY8_NV = _coin.GL_SIGNED_INTENSITY8_NV -GL_DSDT8_NV = _coin.GL_DSDT8_NV -GL_DSDT8_MAG8_NV = _coin.GL_DSDT8_MAG8_NV -GL_DSDT8_MAG8_INTENSITY8_NV = _coin.GL_DSDT8_MAG8_INTENSITY8_NV -GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = _coin.GL_SIGNED_RGB_UNSIGNED_ALPHA_NV -GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = _coin.GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV -GL_HI_SCALE_NV = _coin.GL_HI_SCALE_NV -GL_LO_SCALE_NV = _coin.GL_LO_SCALE_NV -GL_DS_SCALE_NV = _coin.GL_DS_SCALE_NV -GL_DT_SCALE_NV = _coin.GL_DT_SCALE_NV -GL_MAGNITUDE_SCALE_NV = _coin.GL_MAGNITUDE_SCALE_NV -GL_VIBRANCE_SCALE_NV = _coin.GL_VIBRANCE_SCALE_NV -GL_HI_BIAS_NV = _coin.GL_HI_BIAS_NV -GL_LO_BIAS_NV = _coin.GL_LO_BIAS_NV -GL_DS_BIAS_NV = _coin.GL_DS_BIAS_NV -GL_DT_BIAS_NV = _coin.GL_DT_BIAS_NV -GL_MAGNITUDE_BIAS_NV = _coin.GL_MAGNITUDE_BIAS_NV -GL_VIBRANCE_BIAS_NV = _coin.GL_VIBRANCE_BIAS_NV -GL_TEXTURE_BORDER_VALUES_NV = _coin.GL_TEXTURE_BORDER_VALUES_NV -GL_TEXTURE_HI_SIZE_NV = _coin.GL_TEXTURE_HI_SIZE_NV -GL_TEXTURE_LO_SIZE_NV = _coin.GL_TEXTURE_LO_SIZE_NV -GL_TEXTURE_DS_SIZE_NV = _coin.GL_TEXTURE_DS_SIZE_NV -GL_TEXTURE_DT_SIZE_NV = _coin.GL_TEXTURE_DT_SIZE_NV -GL_TEXTURE_MAG_SIZE_NV = _coin.GL_TEXTURE_MAG_SIZE_NV -GL_NORMAL_MAP = _coin.GL_NORMAL_MAP -GL_REFLECTION_MAP = _coin.GL_REFLECTION_MAP -GL_TEXTURE_CUBE_MAP = _coin.GL_TEXTURE_CUBE_MAP -GL_TEXTURE_BINDING_CUBE_MAP = _coin.GL_TEXTURE_BINDING_CUBE_MAP -GL_TEXTURE_CUBE_MAP_POSITIVE_X = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_X -GL_TEXTURE_CUBE_MAP_NEGATIVE_X = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_X -GL_TEXTURE_CUBE_MAP_POSITIVE_Y = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_Y -GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -GL_TEXTURE_CUBE_MAP_POSITIVE_Z = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_Z -GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -GL_MAX_CUBE_MAP_TEXTURE_SIZE = _coin.GL_MAX_CUBE_MAP_TEXTURE_SIZE -GL_COMBINE = _coin.GL_COMBINE -GL_COMBINE_RGB = _coin.GL_COMBINE_RGB -GL_COMBINE_ALPHA = _coin.GL_COMBINE_ALPHA -GL_RGB_SCALE = _coin.GL_RGB_SCALE -GL_ADD_SIGNED = _coin.GL_ADD_SIGNED -GL_INTERPOLATE = _coin.GL_INTERPOLATE -GL_CONSTANT = _coin.GL_CONSTANT -GL_PRIMARY_COLOR = _coin.GL_PRIMARY_COLOR -GL_PREVIOUS = _coin.GL_PREVIOUS -GL_SOURCE0_RGB = _coin.GL_SOURCE0_RGB -GL_SOURCE1_RGB = _coin.GL_SOURCE1_RGB -GL_SOURCE2_RGB = _coin.GL_SOURCE2_RGB -GL_SOURCE0_ALPHA = _coin.GL_SOURCE0_ALPHA -GL_SOURCE1_ALPHA = _coin.GL_SOURCE1_ALPHA -GL_SOURCE2_ALPHA = _coin.GL_SOURCE2_ALPHA -GL_OPERAND0_RGB = _coin.GL_OPERAND0_RGB -GL_OPERAND1_RGB = _coin.GL_OPERAND1_RGB -GL_OPERAND2_RGB = _coin.GL_OPERAND2_RGB -GL_OPERAND0_ALPHA = _coin.GL_OPERAND0_ALPHA -GL_OPERAND1_ALPHA = _coin.GL_OPERAND1_ALPHA -GL_OPERAND2_ALPHA = _coin.GL_OPERAND2_ALPHA -GL_SUBTRACT = _coin.GL_SUBTRACT -GL_DOT3_RGB = _coin.GL_DOT3_RGB -GL_DOT3_RGBA = _coin.GL_DOT3_RGBA -GL_GENERATE_MIPMAP_SGIS = _coin.GL_GENERATE_MIPMAP_SGIS -GL_GENERATE_MIPMAP_HINT_SGIS = _coin.GL_GENERATE_MIPMAP_HINT_SGIS -GL_FRAGMENT_PROGRAM_ARB = _coin.GL_FRAGMENT_PROGRAM_ARB -GL_PROGRAM_FORMAT_ASCII_ARB = _coin.GL_PROGRAM_FORMAT_ASCII_ARB -GL_PROGRAM_LENGTH_ARB = _coin.GL_PROGRAM_LENGTH_ARB -GL_PROGRAM_FORMAT_ARB = _coin.GL_PROGRAM_FORMAT_ARB -GL_PROGRAM_BINDING_ARB = _coin.GL_PROGRAM_BINDING_ARB -GL_PROGRAM_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB -GL_PROGRAM_TEMPORARIES_ARB = _coin.GL_PROGRAM_TEMPORARIES_ARB -GL_MAX_PROGRAM_TEMPORARIES_ARB = _coin.GL_MAX_PROGRAM_TEMPORARIES_ARB -GL_PROGRAM_NATIVE_TEMPORARIES_ARB = _coin.GL_PROGRAM_NATIVE_TEMPORARIES_ARB -GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB -GL_PROGRAM_PARAMETERS_ARB = _coin.GL_PROGRAM_PARAMETERS_ARB -GL_MAX_PROGRAM_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_PARAMETERS_ARB -GL_PROGRAM_NATIVE_PARAMETERS_ARB = _coin.GL_PROGRAM_NATIVE_PARAMETERS_ARB -GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB -GL_PROGRAM_ATTRIBS_ARB = _coin.GL_PROGRAM_ATTRIBS_ARB -GL_MAX_PROGRAM_ATTRIBS_ARB = _coin.GL_MAX_PROGRAM_ATTRIBS_ARB -GL_PROGRAM_NATIVE_ATTRIBS_ARB = _coin.GL_PROGRAM_NATIVE_ATTRIBS_ARB -GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB -GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB -GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_ENV_PARAMETERS_ARB -GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = _coin.GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB -GL_PROGRAM_ALU_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_ALU_INSTRUCTIONS_ARB -GL_PROGRAM_TEX_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_TEX_INSTRUCTIONS_ARB -GL_PROGRAM_TEX_INDIRECTIONS_ARB = _coin.GL_PROGRAM_TEX_INDIRECTIONS_ARB -GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = _coin.GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB -GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = _coin.GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB -GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB -GL_PROGRAM_STRING_ARB = _coin.GL_PROGRAM_STRING_ARB -GL_PROGRAM_ERROR_POSITION_ARB = _coin.GL_PROGRAM_ERROR_POSITION_ARB -GL_CURRENT_MATRIX_ARB = _coin.GL_CURRENT_MATRIX_ARB -GL_TRANSPOSE_CURRENT_MATRIX_ARB = _coin.GL_TRANSPOSE_CURRENT_MATRIX_ARB -GL_CURRENT_MATRIX_STACK_DEPTH_ARB = _coin.GL_CURRENT_MATRIX_STACK_DEPTH_ARB -GL_MAX_PROGRAM_MATRICES_ARB = _coin.GL_MAX_PROGRAM_MATRICES_ARB -GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = _coin.GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB -GL_MAX_TEXTURE_COORDS_ARB = _coin.GL_MAX_TEXTURE_COORDS_ARB -GL_MAX_TEXTURE_IMAGE_UNITS_ARB = _coin.GL_MAX_TEXTURE_IMAGE_UNITS_ARB -GL_PROGRAM_ERROR_STRING_ARB = _coin.GL_PROGRAM_ERROR_STRING_ARB -GL_MATRIX0_ARB = _coin.GL_MATRIX0_ARB -GL_MATRIX1_ARB = _coin.GL_MATRIX1_ARB -GL_MATRIX2_ARB = _coin.GL_MATRIX2_ARB -GL_MATRIX3_ARB = _coin.GL_MATRIX3_ARB -GL_MATRIX4_ARB = _coin.GL_MATRIX4_ARB -GL_MATRIX5_ARB = _coin.GL_MATRIX5_ARB -GL_MATRIX6_ARB = _coin.GL_MATRIX6_ARB -GL_MATRIX7_ARB = _coin.GL_MATRIX7_ARB -GL_MATRIX8_ARB = _coin.GL_MATRIX8_ARB -GL_MATRIX9_ARB = _coin.GL_MATRIX9_ARB -GL_MATRIX10_ARB = _coin.GL_MATRIX10_ARB -GL_MATRIX11_ARB = _coin.GL_MATRIX11_ARB -GL_MATRIX12_ARB = _coin.GL_MATRIX12_ARB -GL_MATRIX13_ARB = _coin.GL_MATRIX13_ARB -GL_MATRIX14_ARB = _coin.GL_MATRIX14_ARB -GL_MATRIX15_ARB = _coin.GL_MATRIX15_ARB -GL_MATRIX16_ARB = _coin.GL_MATRIX16_ARB -GL_MATRIX17_ARB = _coin.GL_MATRIX17_ARB -GL_MATRIX18_ARB = _coin.GL_MATRIX18_ARB -GL_MATRIX19_ARB = _coin.GL_MATRIX19_ARB -GL_MATRIX20_ARB = _coin.GL_MATRIX20_ARB -GL_MATRIX21_ARB = _coin.GL_MATRIX21_ARB -GL_MATRIX22_ARB = _coin.GL_MATRIX22_ARB -GL_MATRIX23_ARB = _coin.GL_MATRIX23_ARB -GL_MATRIX24_ARB = _coin.GL_MATRIX24_ARB -GL_MATRIX25_ARB = _coin.GL_MATRIX25_ARB -GL_MATRIX26_ARB = _coin.GL_MATRIX26_ARB -GL_MATRIX27_ARB = _coin.GL_MATRIX27_ARB -GL_MATRIX28_ARB = _coin.GL_MATRIX28_ARB -GL_MATRIX29_ARB = _coin.GL_MATRIX29_ARB -GL_MATRIX30_ARB = _coin.GL_MATRIX30_ARB -GL_MATRIX31_ARB = _coin.GL_MATRIX31_ARB -GL_VERTEX_PROGRAM_ARB = _coin.GL_VERTEX_PROGRAM_ARB -GL_VERTEX_PROGRAM_POINT_SIZE_ARB = _coin.GL_VERTEX_PROGRAM_POINT_SIZE_ARB -GL_VERTEX_PROGRAM_TWO_SIDE_ARB = _coin.GL_VERTEX_PROGRAM_TWO_SIDE_ARB -GL_COLOR_SUM_ARB = _coin.GL_COLOR_SUM_ARB -GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB -GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB -GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB -GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB -GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB -GL_CURRENT_VERTEX_ATTRIB_ARB = _coin.GL_CURRENT_VERTEX_ATTRIB_ARB -GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB -GL_PROGRAM_ADDRESS_REGISTERS_ARB = _coin.GL_PROGRAM_ADDRESS_REGISTERS_ARB -GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = _coin.GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB -GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = _coin.GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB -GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB -GL_MAX_VERTEX_ATTRIBS_ARB = _coin.GL_MAX_VERTEX_ATTRIBS_ARB -GL_VERTEX_SHADER_ARB = _coin.GL_VERTEX_SHADER_ARB -GL_FRAGMENT_SHADER_ARB = _coin.GL_FRAGMENT_SHADER_ARB -GL_OBJECT_ACTIVE_UNIFORMS_ARB = _coin.GL_OBJECT_ACTIVE_UNIFORMS_ARB -GL_GEOMETRY_SHADER_EXT = _coin.GL_GEOMETRY_SHADER_EXT -GL_GEOMETRY_VERTICES_OUT_EXT = _coin.GL_GEOMETRY_VERTICES_OUT_EXT -GL_GEOMETRY_INPUT_TYPE_EXT = _coin.GL_GEOMETRY_INPUT_TYPE_EXT -GL_GEOMETRY_OUTPUT_TYPE_EXT = _coin.GL_GEOMETRY_OUTPUT_TYPE_EXT -GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT = _coin.GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT -GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = _coin.GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT -GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = _coin.GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT -GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT = _coin.GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT -GL_MAX_VERTEX_VARYING_COMPONENTS_EXT = _coin.GL_MAX_VERTEX_VARYING_COMPONENTS_EXT -GL_MAX_VARYING_COMPONENTS_EXT = _coin.GL_MAX_VARYING_COMPONENTS_EXT -GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = _coin.GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT -GL_INT_VEC2_ARB = _coin.GL_INT_VEC2_ARB -GL_INT_VEC3_ARB = _coin.GL_INT_VEC3_ARB -GL_INT_VEC4_ARB = _coin.GL_INT_VEC4_ARB -GL_FLOAT_VEC2_ARB = _coin.GL_FLOAT_VEC2_ARB -GL_FLOAT_VEC3_ARB = _coin.GL_FLOAT_VEC3_ARB -GL_FLOAT_VEC4_ARB = _coin.GL_FLOAT_VEC4_ARB -GL_FLOAT_MAT2_ARB = _coin.GL_FLOAT_MAT2_ARB -GL_FLOAT_MAT3_ARB = _coin.GL_FLOAT_MAT3_ARB -GL_FLOAT_MAT4_ARB = _coin.GL_FLOAT_MAT4_ARB -GL_SAMPLER_1D_ARB = _coin.GL_SAMPLER_1D_ARB -GL_SAMPLER_2D_ARB = _coin.GL_SAMPLER_2D_ARB -GL_SAMPLER_3D_ARB = _coin.GL_SAMPLER_3D_ARB -GL_SAMPLER_CUBE_ARB = _coin.GL_SAMPLER_CUBE_ARB -GL_SAMPLER_1D_SHADOW_ARB = _coin.GL_SAMPLER_1D_SHADOW_ARB -GL_SAMPLER_2D_SHADOW_ARB = _coin.GL_SAMPLER_2D_SHADOW_ARB -GL_SAMPLER_2D_RECT_ARB = _coin.GL_SAMPLER_2D_RECT_ARB -GL_SAMPLER_2D_RECT_SHADOW_ARB = _coin.GL_SAMPLER_2D_RECT_SHADOW_ARB -GL_OBJECT_COMPILE_STATUS_ARB = _coin.GL_OBJECT_COMPILE_STATUS_ARB -GL_OBJECT_INFO_LOG_LENGTH_ARB = _coin.GL_OBJECT_INFO_LOG_LENGTH_ARB -GL_OBJECT_LINK_STATUS_ARB = _coin.GL_OBJECT_LINK_STATUS_ARB -GL_TEXTURE_MAX_ANISOTROPY_EXT = _coin.GL_TEXTURE_MAX_ANISOTROPY_EXT -GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = _coin.GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT -GL_SAMPLES_PASSED = _coin.GL_SAMPLES_PASSED -GL_QUERY_COUNTER_BITS = _coin.GL_QUERY_COUNTER_BITS -GL_CURRENT_QUERY = _coin.GL_CURRENT_QUERY -GL_QUERY_RESULT = _coin.GL_QUERY_RESULT -GL_QUERY_RESULT_AVAILABLE = _coin.GL_QUERY_RESULT_AVAILABLE -GL_CLIENT_PIXEL_STORE_BIT = _coin.GL_CLIENT_PIXEL_STORE_BIT -GL_CLIENT_VERTEX_ARRAY_BIT = _coin.GL_CLIENT_VERTEX_ARRAY_BIT -GL_CLIENT_ALL_ATTRIB_BITS = _coin.GL_CLIENT_ALL_ATTRIB_BITS -GL_ALL_CLIENT_ATTRIB_BITS = _coin.GL_ALL_CLIENT_ATTRIB_BITS -GL_INVALID_FRAMEBUFFER_OPERATION_EXT = _coin.GL_INVALID_FRAMEBUFFER_OPERATION_EXT -GL_MAX_RENDERBUFFER_SIZE_EXT = _coin.GL_MAX_RENDERBUFFER_SIZE_EXT -GL_FRAMEBUFFER_BINDING_EXT = _coin.GL_FRAMEBUFFER_BINDING_EXT -GL_RENDERBUFFER_BINDING_EXT = _coin.GL_RENDERBUFFER_BINDING_EXT -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -GL_FRAMEBUFFER_COMPLETE_EXT = _coin.GL_FRAMEBUFFER_COMPLETE_EXT -GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT -GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT -GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT -GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT -GL_FRAMEBUFFER_UNSUPPORTED_EXT = _coin.GL_FRAMEBUFFER_UNSUPPORTED_EXT -GL_MAX_COLOR_ATTACHMENTS_EXT = _coin.GL_MAX_COLOR_ATTACHMENTS_EXT -GL_COLOR_ATTACHMENT0_EXT = _coin.GL_COLOR_ATTACHMENT0_EXT -GL_COLOR_ATTACHMENT1_EXT = _coin.GL_COLOR_ATTACHMENT1_EXT -GL_COLOR_ATTACHMENT2_EXT = _coin.GL_COLOR_ATTACHMENT2_EXT -GL_COLOR_ATTACHMENT3_EXT = _coin.GL_COLOR_ATTACHMENT3_EXT -GL_COLOR_ATTACHMENT4_EXT = _coin.GL_COLOR_ATTACHMENT4_EXT -GL_COLOR_ATTACHMENT5_EXT = _coin.GL_COLOR_ATTACHMENT5_EXT -GL_COLOR_ATTACHMENT6_EXT = _coin.GL_COLOR_ATTACHMENT6_EXT -GL_COLOR_ATTACHMENT7_EXT = _coin.GL_COLOR_ATTACHMENT7_EXT -GL_COLOR_ATTACHMENT8_EXT = _coin.GL_COLOR_ATTACHMENT8_EXT -GL_COLOR_ATTACHMENT9_EXT = _coin.GL_COLOR_ATTACHMENT9_EXT -GL_COLOR_ATTACHMENT10_EXT = _coin.GL_COLOR_ATTACHMENT10_EXT -GL_COLOR_ATTACHMENT11_EXT = _coin.GL_COLOR_ATTACHMENT11_EXT -GL_COLOR_ATTACHMENT12_EXT = _coin.GL_COLOR_ATTACHMENT12_EXT -GL_COLOR_ATTACHMENT13_EXT = _coin.GL_COLOR_ATTACHMENT13_EXT -GL_COLOR_ATTACHMENT14_EXT = _coin.GL_COLOR_ATTACHMENT14_EXT -GL_COLOR_ATTACHMENT15_EXT = _coin.GL_COLOR_ATTACHMENT15_EXT -GL_DEPTH_ATTACHMENT_EXT = _coin.GL_DEPTH_ATTACHMENT_EXT -GL_STENCIL_ATTACHMENT_EXT = _coin.GL_STENCIL_ATTACHMENT_EXT -GL_FRAMEBUFFER_EXT = _coin.GL_FRAMEBUFFER_EXT -GL_RENDERBUFFER_EXT = _coin.GL_RENDERBUFFER_EXT -GL_RENDERBUFFER_WIDTH_EXT = _coin.GL_RENDERBUFFER_WIDTH_EXT -GL_RENDERBUFFER_HEIGHT_EXT = _coin.GL_RENDERBUFFER_HEIGHT_EXT -GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = _coin.GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -GL_STENCIL_INDEX1_EXT = _coin.GL_STENCIL_INDEX1_EXT -GL_STENCIL_INDEX4_EXT = _coin.GL_STENCIL_INDEX4_EXT -GL_STENCIL_INDEX8_EXT = _coin.GL_STENCIL_INDEX8_EXT -GL_STENCIL_INDEX16_EXT = _coin.GL_STENCIL_INDEX16_EXT -GL_RENDERBUFFER_RED_SIZE_EXT = _coin.GL_RENDERBUFFER_RED_SIZE_EXT -GL_RENDERBUFFER_GREEN_SIZE_EXT = _coin.GL_RENDERBUFFER_GREEN_SIZE_EXT -GL_RENDERBUFFER_BLUE_SIZE_EXT = _coin.GL_RENDERBUFFER_BLUE_SIZE_EXT -GL_RENDERBUFFER_ALPHA_SIZE_EXT = _coin.GL_RENDERBUFFER_ALPHA_SIZE_EXT -GL_RENDERBUFFER_DEPTH_SIZE_EXT = _coin.GL_RENDERBUFFER_DEPTH_SIZE_EXT -GL_RENDERBUFFER_STENCIL_SIZE_EXT = _coin.GL_RENDERBUFFER_STENCIL_SIZE_EXT -GL_INVALID_FRAMEBUFFER_OPERATION = _coin.GL_INVALID_FRAMEBUFFER_OPERATION -GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = _coin.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING -GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = _coin.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE -GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE -GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE -GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE -GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE -GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE -GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = _coin.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE -GL_DEPTH_STENCIL = _coin.GL_DEPTH_STENCIL -GL_UNSIGNED_INT_24_ = _coin.GL_UNSIGNED_INT_24_ -GL_DEPTH24_STENCIL8 = _coin.GL_DEPTH24_STENCIL8 -GL_TEXTURE_STENCIL_SIZE = _coin.GL_TEXTURE_STENCIL_SIZE -GL_SRGB = _coin.GL_SRGB -GL_UNSIGNED_NORMALIZED = _coin.GL_UNSIGNED_NORMALIZED -GL_FRAMEBUFFER_DEFAULT = _coin.GL_FRAMEBUFFER_DEFAULT -GL_FRAMEBUFFER_UNDEFINED = _coin.GL_FRAMEBUFFER_UNDEFINED -GL_DEPTH_STENCIL_ATTACHMENT = _coin.GL_DEPTH_STENCIL_ATTACHMENT -GL_INDEX = _coin.GL_INDEX -GL_MAX_RENDERBUFFER_SIZE = _coin.GL_MAX_RENDERBUFFER_SIZE -GL_FRAMEBUFFER_BINDING = _coin.GL_FRAMEBUFFER_BINDING -GL_DRAW_FRAMEBUFFER_BINDING = _coin.GL_DRAW_FRAMEBUFFER_BINDING -GL_RENDERBUFFER_BINDING = _coin.GL_RENDERBUFFER_BINDING -GL_READ_FRAMEBUFFER = _coin.GL_READ_FRAMEBUFFER -GL_DRAW_FRAMEBUFFER = _coin.GL_DRAW_FRAMEBUFFER -GL_READ_FRAMEBUFFER_BINDING = _coin.GL_READ_FRAMEBUFFER_BINDING -GL_RENDERBUFFER_SAMPLES = _coin.GL_RENDERBUFFER_SAMPLES -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET -GL_FRAMEBUFFER_COMPLETE = _coin.GL_FRAMEBUFFER_COMPLETE -GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = _coin.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT -GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = _coin.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT -GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT -GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = _coin.GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER -GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = _coin.GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER -GL_FRAMEBUFFER_UNSUPPORTED = _coin.GL_FRAMEBUFFER_UNSUPPORTED -GL_MAX_COLOR_ATTACHMENTS = _coin.GL_MAX_COLOR_ATTACHMENTS -GL_COLOR_ATTACHMENT0 = _coin.GL_COLOR_ATTACHMENT0 -GL_COLOR_ATTACHMENT1 = _coin.GL_COLOR_ATTACHMENT1 -GL_COLOR_ATTACHMENT2 = _coin.GL_COLOR_ATTACHMENT2 -GL_COLOR_ATTACHMENT3 = _coin.GL_COLOR_ATTACHMENT3 -GL_COLOR_ATTACHMENT4 = _coin.GL_COLOR_ATTACHMENT4 -GL_COLOR_ATTACHMENT5 = _coin.GL_COLOR_ATTACHMENT5 -GL_COLOR_ATTACHMENT6 = _coin.GL_COLOR_ATTACHMENT6 -GL_COLOR_ATTACHMENT7 = _coin.GL_COLOR_ATTACHMENT7 -GL_COLOR_ATTACHMENT8 = _coin.GL_COLOR_ATTACHMENT8 -GL_COLOR_ATTACHMENT9 = _coin.GL_COLOR_ATTACHMENT9 -GL_COLOR_ATTACHMENT10 = _coin.GL_COLOR_ATTACHMENT10 -GL_COLOR_ATTACHMENT11 = _coin.GL_COLOR_ATTACHMENT11 -GL_COLOR_ATTACHMENT12 = _coin.GL_COLOR_ATTACHMENT12 -GL_COLOR_ATTACHMENT13 = _coin.GL_COLOR_ATTACHMENT13 -GL_COLOR_ATTACHMENT14 = _coin.GL_COLOR_ATTACHMENT14 -GL_COLOR_ATTACHMENT15 = _coin.GL_COLOR_ATTACHMENT15 -GL_DEPTH_ATTACHMENT = _coin.GL_DEPTH_ATTACHMENT -GL_STENCIL_ATTACHMENT = _coin.GL_STENCIL_ATTACHMENT -GL_FRAMEBUFFER = _coin.GL_FRAMEBUFFER -GL_RENDERBUFFER = _coin.GL_RENDERBUFFER -GL_RENDERBUFFER_WIDTH = _coin.GL_RENDERBUFFER_WIDTH -GL_RENDERBUFFER_HEIGHT = _coin.GL_RENDERBUFFER_HEIGHT -GL_RENDERBUFFER_INTERNAL_FORMAT = _coin.GL_RENDERBUFFER_INTERNAL_FORMAT -GL_STENCIL_INDEX1 = _coin.GL_STENCIL_INDEX1 -GL_STENCIL_INDEX4 = _coin.GL_STENCIL_INDEX4 -GL_STENCIL_INDEX8 = _coin.GL_STENCIL_INDEX8 -GL_STENCIL_INDEX16 = _coin.GL_STENCIL_INDEX16 -GL_RENDERBUFFER_RED_SIZE = _coin.GL_RENDERBUFFER_RED_SIZE -GL_RENDERBUFFER_GREEN_SIZE = _coin.GL_RENDERBUFFER_GREEN_SIZE -GL_RENDERBUFFER_BLUE_SIZE = _coin.GL_RENDERBUFFER_BLUE_SIZE -GL_RENDERBUFFER_ALPHA_SIZE = _coin.GL_RENDERBUFFER_ALPHA_SIZE -GL_RENDERBUFFER_DEPTH_SIZE = _coin.GL_RENDERBUFFER_DEPTH_SIZE -GL_RENDERBUFFER_STENCIL_SIZE = _coin.GL_RENDERBUFFER_STENCIL_SIZE -GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = _coin.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE -GL_MAX_SAMPLES = _coin.GL_MAX_SAMPLES -GLX_PBUFFER_WIDTH = _coin.GLX_PBUFFER_WIDTH -GLX_PBUFFER_HEIGHT = _coin.GLX_PBUFFER_HEIGHT -GLX_DRAWABLE_TYPE = _coin.GLX_DRAWABLE_TYPE -GLX_RENDER_TYPE = _coin.GLX_RENDER_TYPE -GLX_RGBA_TYPE = _coin.GLX_RGBA_TYPE -GLX_RGBA_BIT = _coin.GLX_RGBA_BIT -GLX_PBUFFER_BIT = _coin.GLX_PBUFFER_BIT -GLX_MAX_PBUFFER_WIDTH = _coin.GLX_MAX_PBUFFER_WIDTH -GLX_MAX_PBUFFER_HEIGHT = _coin.GLX_MAX_PBUFFER_HEIGHT -GLX_MAX_PBUFFER_PIXELS = _coin.GLX_MAX_PBUFFER_PIXELS -GLU_VERSION = _coin.GLU_VERSION -GLU_EXTENSIONS = _coin.GLU_EXTENSIONS -GLU_OUTLINE_POLYGON = _coin.GLU_OUTLINE_POLYGON -GLU_OUTLINE_PATCH = _coin.GLU_OUTLINE_PATCH -GLU_NURBS_ERROR = _coin.GLU_NURBS_ERROR -GLU_ERROR = _coin.GLU_ERROR -GLU_NURBS_BEGIN = _coin.GLU_NURBS_BEGIN -GLU_NURBS_VERTEX = _coin.GLU_NURBS_VERTEX -GLU_NURBS_NORMAL = _coin.GLU_NURBS_NORMAL -GLU_NURBS_COLOR = _coin.GLU_NURBS_COLOR -GLU_NURBS_TEXTURE_COORD = _coin.GLU_NURBS_TEXTURE_COORD -GLU_NURBS_END = _coin.GLU_NURBS_END -GLU_NURBS_BEGIN_DATA = _coin.GLU_NURBS_BEGIN_DATA -GLU_NURBS_VERTEX_DATA = _coin.GLU_NURBS_VERTEX_DATA -GLU_NURBS_NORMAL_DATA = _coin.GLU_NURBS_NORMAL_DATA -GLU_NURBS_COLOR_DATA = _coin.GLU_NURBS_COLOR_DATA -GLU_NURBS_TEXTURE_COORD_DATA = _coin.GLU_NURBS_TEXTURE_COORD_DATA -GLU_NURBS_END_DATA = _coin.GLU_NURBS_END_DATA -GLU_AUTO_LOAD_MATRIX = _coin.GLU_AUTO_LOAD_MATRIX -GLU_CULLING = _coin.GLU_CULLING -GLU_SAMPLING_TOLERANCE = _coin.GLU_SAMPLING_TOLERANCE -GLU_DISPLAY_MODE = _coin.GLU_DISPLAY_MODE -GLU_PARAMETRIC_TOLERANCE = _coin.GLU_PARAMETRIC_TOLERANCE -GLU_SAMPLING_METHOD = _coin.GLU_SAMPLING_METHOD -GLU_U_STEP = _coin.GLU_U_STEP -GLU_V_STEP = _coin.GLU_V_STEP -GLU_NURBS_MODE = _coin.GLU_NURBS_MODE -GLU_NURBS_TESSELLATOR = _coin.GLU_NURBS_TESSELLATOR -GLU_NURBS_RENDERER = _coin.GLU_NURBS_RENDERER -GLU_OBJECT_PARAMETRIC_ERROR = _coin.GLU_OBJECT_PARAMETRIC_ERROR -GLU_OBJECT_PATH_LENGTH = _coin.GLU_OBJECT_PATH_LENGTH -GLU_PATH_LENGTH = _coin.GLU_PATH_LENGTH -GLU_PARAMETRIC_ERROR = _coin.GLU_PARAMETRIC_ERROR -GLU_DOMAIN_DISTANCE = _coin.GLU_DOMAIN_DISTANCE -GLU_MAP1_TRIM_2 = _coin.GLU_MAP1_TRIM_2 -GLU_MAP1_TRIM_3 = _coin.GLU_MAP1_TRIM_3 -GLU_POINT = _coin.GLU_POINT -GLU_LINE = _coin.GLU_LINE -GLU_FILL = _coin.GLU_FILL -GLU_SILHOUETTE = _coin.GLU_SILHOUETTE -GLU_TESS_BEGIN = _coin.GLU_TESS_BEGIN -GLU_TESS_VERTEX = _coin.GLU_TESS_VERTEX -GLU_TESS_END = _coin.GLU_TESS_END -GLU_TESS_ERROR = _coin.GLU_TESS_ERROR -GLU_TESS_COMBINE = _coin.GLU_TESS_COMBINE -GLU_TESS_BEGIN_DATA = _coin.GLU_TESS_BEGIN_DATA -GLU_TESS_VERTEX_DATA = _coin.GLU_TESS_VERTEX_DATA -GLU_TESS_END_DATA = _coin.GLU_TESS_END_DATA -GLU_TESS_ERROR_DATA = _coin.GLU_TESS_ERROR_DATA -GLU_TESS_MISSING_BEGIN_POLYGON = _coin.GLU_TESS_MISSING_BEGIN_POLYGON -GLU_TESS_MISSING_BEGIN_CONTOUR = _coin.GLU_TESS_MISSING_BEGIN_CONTOUR -GLU_TESS_MISSING_END_POLYGON = _coin.GLU_TESS_MISSING_END_POLYGON -GLU_TESS_MISSING_END_CONTOUR = _coin.GLU_TESS_MISSING_END_CONTOUR -GLU_TESS_NEED_COMBINE_CALLBACK = _coin.GLU_TESS_NEED_COMBINE_CALLBACK -WGL_COLOR_BITS_ARB = _coin.WGL_COLOR_BITS_ARB -WGL_ALPHA_BITS_ARB = _coin.WGL_ALPHA_BITS_ARB -WGL_DEPTH_BITS_ARB = _coin.WGL_DEPTH_BITS_ARB -WGL_STENCIL_BITS_ARB = _coin.WGL_STENCIL_BITS_ARB -WGL_DRAW_TO_PBUFFER_ARB = _coin.WGL_DRAW_TO_PBUFFER_ARB -WGL_PBUFFER_WIDTH_ARB = _coin.WGL_PBUFFER_WIDTH_ARB -WGL_PBUFFER_HEIGHT_ARB = _coin.WGL_PBUFFER_HEIGHT_ARB -WGL_BIND_TO_TEXTURE_RGB_ARB = _coin.WGL_BIND_TO_TEXTURE_RGB_ARB -WGL_BIND_TO_TEXTURE_RGBA_ARB = _coin.WGL_BIND_TO_TEXTURE_RGBA_ARB -WGL_TEXTURE_FORMAT_ARB = _coin.WGL_TEXTURE_FORMAT_ARB -WGL_TEXTURE_TARGET_ARB = _coin.WGL_TEXTURE_TARGET_ARB -WGL_MIPMAP_TEXTURE_ARB = _coin.WGL_MIPMAP_TEXTURE_ARB -WGL_TEXTURE_RGB_ARB = _coin.WGL_TEXTURE_RGB_ARB -WGL_TEXTURE_RGBA_ARB = _coin.WGL_TEXTURE_RGBA_ARB -WGL_NO_TEXTURE_ARB = _coin.WGL_NO_TEXTURE_ARB -WGL_TEXTURE_CUBE_MAP_ARB = _coin.WGL_TEXTURE_CUBE_MAP_ARB -WGL_TEXTURE_1D_ARB = _coin.WGL_TEXTURE_1D_ARB -WGL_TEXTURE_2D_ARB = _coin.WGL_TEXTURE_2D_ARB -WGL_MIPMAP_LEVEL_ARB = _coin.WGL_MIPMAP_LEVEL_ARB -WGL_FRONT_LEFT_ARB = _coin.WGL_FRONT_LEFT_ARB -WGL_FRONT_RIGHT_ARB = _coin.WGL_FRONT_RIGHT_ARB -WGL_BACK_LEFT_ARB = _coin.WGL_BACK_LEFT_ARB -WGL_BACK_RIGHT_ARB = _coin.WGL_BACK_RIGHT_ARB -WGL_MAX_PBUFFER_PIXELS_ARB = _coin.WGL_MAX_PBUFFER_PIXELS_ARB -WGL_MAX_PBUFFER_WIDTH_ARB = _coin.WGL_MAX_PBUFFER_WIDTH_ARB -WGL_MAX_PBUFFER_HEIGHT_ARB = _coin.WGL_MAX_PBUFFER_HEIGHT_ARB -class SbBarrier(object): - """Proxy of C++ SbBarrier class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, unsigned int count) -> SbBarrier""" - this = _coin.new_SbBarrier(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBarrier - __del__ = lambda self : None; - def enter(*args): - """enter(self) -> int""" - return _coin.SbBarrier_enter(*args) - -SbBarrier_swigregister = _coin.SbBarrier_swigregister -SbBarrier_swigregister(SbBarrier) - -class SbMutex(object): - """Proxy of C++ SbMutex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbMutex""" - this = _coin.new_SbMutex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbMutex - __del__ = lambda self : None; - def lock(*args): - """lock(self) -> int""" - return _coin.SbMutex_lock(*args) - - def tryLock(*args): - """tryLock(self) -> SbBool""" - return _coin.SbMutex_tryLock(*args) - - def unlock(*args): - """unlock(self) -> int""" - return _coin.SbMutex_unlock(*args) - -SbMutex_swigregister = _coin.SbMutex_swigregister -SbMutex_swigregister(SbMutex) - -class SbThreadMutex(object): - """Proxy of C++ SbThreadMutex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbThreadMutex""" - this = _coin.new_SbThreadMutex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbThreadMutex - __del__ = lambda self : None; - def lock(*args): - """lock(self) -> int""" - return _coin.SbThreadMutex_lock(*args) - - def tryLock(*args): - """tryLock(self) -> SbBool""" - return _coin.SbThreadMutex_tryLock(*args) - - def unlock(*args): - """unlock(self) -> int""" - return _coin.SbThreadMutex_unlock(*args) - -SbThreadMutex_swigregister = _coin.SbThreadMutex_swigregister -SbThreadMutex_swigregister(SbThreadMutex) - -class SbThreadAutoLock(object): - """Proxy of C++ SbThreadAutoLock class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbMutex mutexptr) -> SbThreadAutoLock - __init__(self, SbThreadMutex mutexptr) -> SbThreadAutoLock - """ - this = _coin.new_SbThreadAutoLock(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbThreadAutoLock - __del__ = lambda self : None; -SbThreadAutoLock_swigregister = _coin.SbThreadAutoLock_swigregister -SbThreadAutoLock_swigregister(SbThreadAutoLock) - -class SbCondVar(object): - """Proxy of C++ SbCondVar class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbCondVar""" - this = _coin.new_SbCondVar(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbCondVar - __del__ = lambda self : None; - def wait(*args): - """wait(self, SbMutex mutex) -> SbBool""" - return _coin.SbCondVar_wait(*args) - - def timedWait(*args): - """timedWait(self, SbMutex mutex, SbTime period) -> SbBool""" - return _coin.SbCondVar_timedWait(*args) - - def wakeOne(*args): - """wakeOne(self)""" - return _coin.SbCondVar_wakeOne(*args) - - def wakeAll(*args): - """wakeAll(self)""" - return _coin.SbCondVar_wakeAll(*args) - -SbCondVar_swigregister = _coin.SbCondVar_swigregister -SbCondVar_swigregister(SbCondVar) - -class SbFifo(object): - """Proxy of C++ SbFifo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbFifo""" - this = _coin.new_SbFifo(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbFifo - __del__ = lambda self : None; - def assign(*args): - """assign(self, void ptr, uint32_t type)""" - return _coin.SbFifo_assign(*args) - - def retrieve(*args): - """retrieve(self, void ptr, uint32_t type)""" - return _coin.SbFifo_retrieve(*args) - - def tryRetrieve(*args): - """tryRetrieve(self, void ptr, uint32_t type) -> SbBool""" - return _coin.SbFifo_tryRetrieve(*args) - - def size(*args): - """size(self) -> unsigned int""" - return _coin.SbFifo_size(*args) - - def lock(*args): - """lock(self)""" - return _coin.SbFifo_lock(*args) - - def unlock(*args): - """unlock(self)""" - return _coin.SbFifo_unlock(*args) - - def peek(*args): - """peek(self, void item, uint32_t type) -> SbBool""" - return _coin.SbFifo_peek(*args) - - def contains(*args): - """contains(self, void item) -> SbBool""" - return _coin.SbFifo_contains(*args) - - def reclaim(*args): - """reclaim(self, void item) -> SbBool""" - return _coin.SbFifo_reclaim(*args) - -SbFifo_swigregister = _coin.SbFifo_swigregister -SbFifo_swigregister(SbFifo) - -class SbRWMutex(object): - """Proxy of C++ SbRWMutex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - READ_PRECEDENCE = _coin.SbRWMutex_READ_PRECEDENCE - WRITE_PRECEDENCE = _coin.SbRWMutex_WRITE_PRECEDENCE - def __init__(self, *args): - """__init__(self, Precedence policy) -> SbRWMutex""" - this = _coin.new_SbRWMutex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbRWMutex - __del__ = lambda self : None; - def writeLock(*args): - """writeLock(self) -> int""" - return _coin.SbRWMutex_writeLock(*args) - - def tryWriteLock(*args): - """tryWriteLock(self) -> SbBool""" - return _coin.SbRWMutex_tryWriteLock(*args) - - def writeUnlock(*args): - """writeUnlock(self) -> int""" - return _coin.SbRWMutex_writeUnlock(*args) - - def readLock(*args): - """readLock(self) -> int""" - return _coin.SbRWMutex_readLock(*args) - - def tryReadLock(*args): - """tryReadLock(self) -> int""" - return _coin.SbRWMutex_tryReadLock(*args) - - def readUnlock(*args): - """readUnlock(self) -> int""" - return _coin.SbRWMutex_readUnlock(*args) - -SbRWMutex_swigregister = _coin.SbRWMutex_swigregister -SbRWMutex_swigregister(SbRWMutex) - -class SbStorage(object): - """Proxy of C++ SbStorage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, unsigned int size) -> SbStorage - __init__(self, unsigned int size, cc_storage_f constr, cc_storage_f destr) -> SbStorage - """ - this = _coin.new_SbStorage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbStorage - __del__ = lambda self : None; - def get(*args): - """get(self) -> void""" - return _coin.SbStorage_get(*args) - - def applyToAll(*args): - """applyToAll(self, SbStorageApplyFunc func, void closure)""" - return _coin.SbStorage_applyToAll(*args) - -SbStorage_swigregister = _coin.SbStorage_swigregister -SbStorage_swigregister(SbStorage) - -class SbThread(object): - """Proxy of C++ SbThread class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def create(*args): - """create(void func, void closure) -> SbThread""" - return _coin.SbThread_create(*args) - - create = staticmethod(create) - def destroy(*args): - """destroy(SbThread thread)""" - return _coin.SbThread_destroy(*args) - - destroy = staticmethod(destroy) - def join(*args): - """ - join(void retval=0L) -> SbBool - join() -> SbBool - join(SbThread thread, void retval=0L) -> SbBool - join(SbThread thread) -> SbBool - """ - return _coin.SbThread_join(*args) - - join = staticmethod(join) -SbThread_swigregister = _coin.SbThread_swigregister -SbThread_swigregister(SbThread) - -def SbThread_create(*args): - """SbThread_create(void func, void closure) -> SbThread""" - return _coin.SbThread_create(*args) - -def SbThread_destroy(*args): - """SbThread_destroy(SbThread thread)""" - return _coin.SbThread_destroy(*args) - -def SbThread_join(*args): - """ - join(void retval=0L) -> SbBool - join() -> SbBool - join(SbThread thread, void retval=0L) -> SbBool - SbThread_join(SbThread thread) -> SbBool - """ - return _coin.SbThread_join(*args) - -class SoVRMLParent(SoGroup): - """Proxy of C++ SoVRMLParent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLParent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLParent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLParent_initClass(*args) - - initClass = staticmethod(initClass) - children = _swig_property(_coin.SoVRMLParent_children_get, _coin.SoVRMLParent_children_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLParent_affectsState(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLParent_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLParent_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLParent_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLParent_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLParent_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLParent_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLParent_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode child) - replaceChild(self, SoNode old, SoNode child) - """ - return _coin.SoVRMLParent_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLParent_getChildren(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLParent_doAction(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLParent_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLParent_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLParent_getPrimitiveCount(*args) - - def updateChildList(*args): - """ - updateChildList(SoNode nodes, int numnodes, SoChildList cl) - updateChildList(SoNode nodewithsfnode, SoChildList cl) - """ - return _coin.SoVRMLParent_updateChildList(*args) - - updateChildList = staticmethod(updateChildList) -SoVRMLParent_swigregister = _coin.SoVRMLParent_swigregister -SoVRMLParent_swigregister(SoVRMLParent) - -def SoVRMLParent_getClassTypeId(*args): - """SoVRMLParent_getClassTypeId() -> SoType""" - return _coin.SoVRMLParent_getClassTypeId(*args) - -def SoVRMLParent_initClass(*args): - """SoVRMLParent_initClass()""" - return _coin.SoVRMLParent_initClass(*args) - -def SoVRMLParent_updateChildList(*args): - """ - updateChildList(SoNode nodes, int numnodes, SoChildList cl) - SoVRMLParent_updateChildList(SoNode nodewithsfnode, SoChildList cl) - """ - return _coin.SoVRMLParent_updateChildList(*args) - -class SoVRMLAnchor(SoVRMLParent): - """Proxy of C++ SoVRMLAnchor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAnchor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAnchor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAnchor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAnchor""" - this = _coin.new_SoVRMLAnchor(*args) - try: self.this.append(this) - except: self.this = this - url = _swig_property(_coin.SoVRMLAnchor_url_get, _coin.SoVRMLAnchor_url_set) - description = _swig_property(_coin.SoVRMLAnchor_description_get, _coin.SoVRMLAnchor_description_set) - parameter = _swig_property(_coin.SoVRMLAnchor_parameter_get, _coin.SoVRMLAnchor_parameter_set) - bboxCenter = _swig_property(_coin.SoVRMLAnchor_bboxCenter_get, _coin.SoVRMLAnchor_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLAnchor_bboxSize_get, _coin.SoVRMLAnchor_bboxSize_set) - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)""" - return _coin.SoVRMLAnchor_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLAnchor_handleEvent(*args) - -SoVRMLAnchor_swigregister = _coin.SoVRMLAnchor_swigregister -SoVRMLAnchor_swigregister(SoVRMLAnchor) - -def SoVRMLAnchor_getClassTypeId(*args): - """SoVRMLAnchor_getClassTypeId() -> SoType""" - return _coin.SoVRMLAnchor_getClassTypeId(*args) - -def SoVRMLAnchor_initClass(*args): - """SoVRMLAnchor_initClass()""" - return _coin.SoVRMLAnchor_initClass(*args) - -def SoVRMLAnchor_setFetchURLCallBack(*args): - """SoVRMLAnchor_setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)""" - return _coin.SoVRMLAnchor_setFetchURLCallBack(*args) - -class SoVRMLAppearance(SoNode): - """Proxy of C++ SoVRMLAppearance class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAppearance_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAppearance_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAppearance_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAppearance""" - this = _coin.new_SoVRMLAppearance(*args) - try: self.this.append(this) - except: self.this = this - material = _swig_property(_coin.SoVRMLAppearance_material_get, _coin.SoVRMLAppearance_material_set) - texture = _swig_property(_coin.SoVRMLAppearance_texture_get, _coin.SoVRMLAppearance_texture_set) - textureTransform = _swig_property(_coin.SoVRMLAppearance_textureTransform_get, _coin.SoVRMLAppearance_textureTransform_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLAppearance_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLAppearance_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLAppearance_GLRender(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLAppearance_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLAppearance_getChildren(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLAppearance_notify(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLAppearance_copyContents(*args) - -SoVRMLAppearance_swigregister = _coin.SoVRMLAppearance_swigregister -SoVRMLAppearance_swigregister(SoVRMLAppearance) - -def SoVRMLAppearance_getClassTypeId(*args): - """SoVRMLAppearance_getClassTypeId() -> SoType""" - return _coin.SoVRMLAppearance_getClassTypeId(*args) - -def SoVRMLAppearance_initClass(*args): - """SoVRMLAppearance_initClass()""" - return _coin.SoVRMLAppearance_initClass(*args) - -class SoVRMLAudioClip(SoNode): - """Proxy of C++ SoVRMLAudioClip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAudioClip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAudioClip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAudioClip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAudioClip""" - this = _coin.new_SoVRMLAudioClip(*args) - try: self.this.append(this) - except: self.this = this - description = _swig_property(_coin.SoVRMLAudioClip_description_get, _coin.SoVRMLAudioClip_description_set) - loop = _swig_property(_coin.SoVRMLAudioClip_loop_get, _coin.SoVRMLAudioClip_loop_set) - pitch = _swig_property(_coin.SoVRMLAudioClip_pitch_get, _coin.SoVRMLAudioClip_pitch_set) - startTime = _swig_property(_coin.SoVRMLAudioClip_startTime_get, _coin.SoVRMLAudioClip_startTime_set) - stopTime = _swig_property(_coin.SoVRMLAudioClip_stopTime_get, _coin.SoVRMLAudioClip_stopTime_set) - url = _swig_property(_coin.SoVRMLAudioClip_url_get, _coin.SoVRMLAudioClip_url_set) - def setSubdirectories(*args): - """setSubdirectories(SbList<(SbString)> subdirectories)""" - return _coin.SoVRMLAudioClip_setSubdirectories(*args) - - setSubdirectories = staticmethod(setSubdirectories) - def getSubdirectories(*args): - """getSubdirectories() -> SbStringList""" - return _coin.SoVRMLAudioClip_getSubdirectories(*args) - - getSubdirectories = staticmethod(getSubdirectories) - def setDefaultPauseBetweenTracks(*args): - """setDefaultPauseBetweenTracks(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args) - - setDefaultPauseBetweenTracks = staticmethod(setDefaultPauseBetweenTracks) - def getDefaultPauseBetweenTracks(*args): - """getDefaultPauseBetweenTracks() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args) - - getDefaultPauseBetweenTracks = staticmethod(getDefaultPauseBetweenTracks) - def setDefaultIntroPause(*args): - """setDefaultIntroPause(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultIntroPause(*args) - - setDefaultIntroPause = staticmethod(setDefaultIntroPause) - def getDefaultIntroPause(*args): - """getDefaultIntroPause() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultIntroPause(*args) - - getDefaultIntroPause = staticmethod(getDefaultIntroPause) - def setDefaultSampleRate(*args): - """setDefaultSampleRate(int samplerate)""" - return _coin.SoVRMLAudioClip_setDefaultSampleRate(*args) - - setDefaultSampleRate = staticmethod(setDefaultSampleRate) - def getDefaultSampleRate(*args): - """getDefaultSampleRate() -> int""" - return _coin.SoVRMLAudioClip_getDefaultSampleRate(*args) - - getDefaultSampleRate = staticmethod(getDefaultSampleRate) - def setDefaultTimerInterval(*args): - """setDefaultTimerInterval(SbTime interval)""" - return _coin.SoVRMLAudioClip_setDefaultTimerInterval(*args) - - setDefaultTimerInterval = staticmethod(setDefaultTimerInterval) - def getDefaultTimerInterval(*args): - """getDefaultTimerInterval() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultTimerInterval(*args) - - getDefaultTimerInterval = staticmethod(getDefaultTimerInterval) - def getSampleRate(*args): - """getSampleRate(self) -> int""" - return _coin.SoVRMLAudioClip_getSampleRate(*args) - - def open(*args): - """open(self, SbStringList url) -> void""" - return _coin.SoVRMLAudioClip_open(*args) - - def read(*args): - """read(self, void datasource, void buffer, int numframes, int channels) -> size_t""" - return _coin.SoVRMLAudioClip_read(*args) - - def seek(*args): - """seek(self, void datasource, long offset, int whence) -> int""" - return _coin.SoVRMLAudioClip_seek(*args) - - def tell(*args): - """tell(self, void datasource) -> long""" - return _coin.SoVRMLAudioClip_tell(*args) - - def close(*args): - """close(self, void datasource) -> int""" - return _coin.SoVRMLAudioClip_close(*args) - - def setCallbacks(*args): - """ - setCallbacks(self, open_func opencb, read_func readcb, seek_func seekcb, - tell_func tellcb, close_func closecb, void userdataptr) - """ - return _coin.SoVRMLAudioClip_setCallbacks(*args) - -SoVRMLAudioClip_swigregister = _coin.SoVRMLAudioClip_swigregister -SoVRMLAudioClip_swigregister(SoVRMLAudioClip) - -def SoVRMLAudioClip_getClassTypeId(*args): - """SoVRMLAudioClip_getClassTypeId() -> SoType""" - return _coin.SoVRMLAudioClip_getClassTypeId(*args) - -def SoVRMLAudioClip_initClass(*args): - """SoVRMLAudioClip_initClass()""" - return _coin.SoVRMLAudioClip_initClass(*args) - -def SoVRMLAudioClip_setSubdirectories(*args): - """SoVRMLAudioClip_setSubdirectories(SbList<(SbString)> subdirectories)""" - return _coin.SoVRMLAudioClip_setSubdirectories(*args) - -def SoVRMLAudioClip_getSubdirectories(*args): - """SoVRMLAudioClip_getSubdirectories() -> SbStringList""" - return _coin.SoVRMLAudioClip_getSubdirectories(*args) - -def SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args): - """SoVRMLAudioClip_setDefaultPauseBetweenTracks(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args) - -def SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args): - """SoVRMLAudioClip_getDefaultPauseBetweenTracks() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args) - -def SoVRMLAudioClip_setDefaultIntroPause(*args): - """SoVRMLAudioClip_setDefaultIntroPause(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultIntroPause(*args) - -def SoVRMLAudioClip_getDefaultIntroPause(*args): - """SoVRMLAudioClip_getDefaultIntroPause() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultIntroPause(*args) - -def SoVRMLAudioClip_setDefaultSampleRate(*args): - """SoVRMLAudioClip_setDefaultSampleRate(int samplerate)""" - return _coin.SoVRMLAudioClip_setDefaultSampleRate(*args) - -def SoVRMLAudioClip_getDefaultSampleRate(*args): - """SoVRMLAudioClip_getDefaultSampleRate() -> int""" - return _coin.SoVRMLAudioClip_getDefaultSampleRate(*args) - -def SoVRMLAudioClip_setDefaultTimerInterval(*args): - """SoVRMLAudioClip_setDefaultTimerInterval(SbTime interval)""" - return _coin.SoVRMLAudioClip_setDefaultTimerInterval(*args) - -def SoVRMLAudioClip_getDefaultTimerInterval(*args): - """SoVRMLAudioClip_getDefaultTimerInterval() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultTimerInterval(*args) - -class SoVRMLBackground(SoNode): - """Proxy of C++ SoVRMLBackground class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBackground_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBackground_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBackground_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLBackground""" - this = _coin.new_SoVRMLBackground(*args) - try: self.this.append(this) - except: self.this = this - groundColor = _swig_property(_coin.SoVRMLBackground_groundColor_get, _coin.SoVRMLBackground_groundColor_set) - groundAngle = _swig_property(_coin.SoVRMLBackground_groundAngle_get, _coin.SoVRMLBackground_groundAngle_set) - skyColor = _swig_property(_coin.SoVRMLBackground_skyColor_get, _coin.SoVRMLBackground_skyColor_set) - skyAngle = _swig_property(_coin.SoVRMLBackground_skyAngle_get, _coin.SoVRMLBackground_skyAngle_set) - backUrl = _swig_property(_coin.SoVRMLBackground_backUrl_get, _coin.SoVRMLBackground_backUrl_set) - bottomUrl = _swig_property(_coin.SoVRMLBackground_bottomUrl_get, _coin.SoVRMLBackground_bottomUrl_set) - frontUrl = _swig_property(_coin.SoVRMLBackground_frontUrl_get, _coin.SoVRMLBackground_frontUrl_set) - leftUrl = _swig_property(_coin.SoVRMLBackground_leftUrl_get, _coin.SoVRMLBackground_leftUrl_set) - rightUrl = _swig_property(_coin.SoVRMLBackground_rightUrl_get, _coin.SoVRMLBackground_rightUrl_set) - topUrl = _swig_property(_coin.SoVRMLBackground_topUrl_get, _coin.SoVRMLBackground_topUrl_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBackground_GLRender(*args) - -SoVRMLBackground_swigregister = _coin.SoVRMLBackground_swigregister -SoVRMLBackground_swigregister(SoVRMLBackground) - -def SoVRMLBackground_getClassTypeId(*args): - """SoVRMLBackground_getClassTypeId() -> SoType""" - return _coin.SoVRMLBackground_getClassTypeId(*args) - -def SoVRMLBackground_initClass(*args): - """SoVRMLBackground_initClass()""" - return _coin.SoVRMLBackground_initClass(*args) - -class SoVRMLBillboard(SoVRMLParent): - """Proxy of C++ SoVRMLBillboard class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBillboard_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBillboard_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBillboard_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLBillboard - __init__(self, int numchildren) -> SoVRMLBillboard - """ - this = _coin.new_SoVRMLBillboard(*args) - try: self.this.append(this) - except: self.this = this - axisOfRotation = _swig_property(_coin.SoVRMLBillboard_axisOfRotation_get, _coin.SoVRMLBillboard_axisOfRotation_set) - bboxCenter = _swig_property(_coin.SoVRMLBillboard_bboxCenter_get, _coin.SoVRMLBillboard_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLBillboard_bboxSize_get, _coin.SoVRMLBillboard_bboxSize_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLBillboard_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLBillboard_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLBillboard_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLBillboard_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLBillboard_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLBillboard_search(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderOffPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLBillboard_notify(*args) - -SoVRMLBillboard_swigregister = _coin.SoVRMLBillboard_swigregister -SoVRMLBillboard_swigregister(SoVRMLBillboard) - -def SoVRMLBillboard_getClassTypeId(*args): - """SoVRMLBillboard_getClassTypeId() -> SoType""" - return _coin.SoVRMLBillboard_getClassTypeId(*args) - -def SoVRMLBillboard_initClass(*args): - """SoVRMLBillboard_initClass()""" - return _coin.SoVRMLBillboard_initClass(*args) - -class SoVRMLGeometry(SoShape): - """Proxy of C++ SoVRMLGeometry class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLGeometry_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLGeometry_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLGeometry_initClass(*args) - - initClass = staticmethod(initClass) - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLGeometry_search(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLGeometry_copyContents(*args) - -SoVRMLGeometry_swigregister = _coin.SoVRMLGeometry_swigregister -SoVRMLGeometry_swigregister(SoVRMLGeometry) - -def SoVRMLGeometry_getClassTypeId(*args): - """SoVRMLGeometry_getClassTypeId() -> SoType""" - return _coin.SoVRMLGeometry_getClassTypeId(*args) - -def SoVRMLGeometry_initClass(*args): - """SoVRMLGeometry_initClass()""" - return _coin.SoVRMLGeometry_initClass(*args) - -class SoVRMLBox(SoVRMLGeometry): - """Proxy of C++ SoVRMLBox class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBox_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBox_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBox_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLBox""" - this = _coin.new_SoVRMLBox(*args) - try: self.this.append(this) - except: self.this = this - size = _swig_property(_coin.SoVRMLBox_size_get, _coin.SoVRMLBox_size_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBox_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLBox_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLBox_getPrimitiveCount(*args) - -SoVRMLBox_swigregister = _coin.SoVRMLBox_swigregister -SoVRMLBox_swigregister(SoVRMLBox) - -def SoVRMLBox_getClassTypeId(*args): - """SoVRMLBox_getClassTypeId() -> SoType""" - return _coin.SoVRMLBox_getClassTypeId(*args) - -def SoVRMLBox_initClass(*args): - """SoVRMLBox_initClass()""" - return _coin.SoVRMLBox_initClass(*args) - -class SoVRMLGroup(SoVRMLParent): - """Proxy of C++ SoVRMLGroup class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLGroup_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLGroup_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLGroup_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLGroup - __init__(self, int numChildren) -> SoVRMLGroup - """ - this = _coin.new_SoVRMLGroup(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoVRMLGroup_OFF - ON = _coin.SoVRMLGroup_ON - AUTO = _coin.SoVRMLGroup_AUTO - renderCaching = _swig_property(_coin.SoVRMLGroup_renderCaching_get, _coin.SoVRMLGroup_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoVRMLGroup_boundingBoxCaching_get, _coin.SoVRMLGroup_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoVRMLGroup_renderCulling_get, _coin.SoVRMLGroup_renderCulling_set) - pickCulling = _swig_property(_coin.SoVRMLGroup_pickCulling_get, _coin.SoVRMLGroup_pickCulling_set) - bboxCenter = _swig_property(_coin.SoVRMLGroup_bboxCenter_get, _coin.SoVRMLGroup_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLGroup_bboxSize_get, _coin.SoVRMLGroup_bboxSize_set) - def setNumRenderCaches(*args): - """setNumRenderCaches(int num)""" - return _coin.SoVRMLGroup_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoVRMLGroup_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLGroup_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLGroup_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLGroup_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLGroup_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLGroup_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLGroup_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLGroup_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLGroup_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLGroup_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderOffPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLGroup_notify(*args) - -SoVRMLGroup_swigregister = _coin.SoVRMLGroup_swigregister -SoVRMLGroup_swigregister(SoVRMLGroup) - -def SoVRMLGroup_getClassTypeId(*args): - """SoVRMLGroup_getClassTypeId() -> SoType""" - return _coin.SoVRMLGroup_getClassTypeId(*args) - -def SoVRMLGroup_initClass(*args): - """SoVRMLGroup_initClass()""" - return _coin.SoVRMLGroup_initClass(*args) - -def SoVRMLGroup_setNumRenderCaches(*args): - """SoVRMLGroup_setNumRenderCaches(int num)""" - return _coin.SoVRMLGroup_setNumRenderCaches(*args) - -def SoVRMLGroup_getNumRenderCaches(*args): - """SoVRMLGroup_getNumRenderCaches() -> int""" - return _coin.SoVRMLGroup_getNumRenderCaches(*args) - -class SoVRMLCollision(SoVRMLGroup): - """Proxy of C++ SoVRMLCollision class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCollision_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCollision_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCollision_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLCollision - __init__(self, int numchildren) -> SoVRMLCollision - """ - this = _coin.new_SoVRMLCollision(*args) - try: self.this.append(this) - except: self.this = this - collide = _swig_property(_coin.SoVRMLCollision_collide_get, _coin.SoVRMLCollision_collide_set) - proxy = _swig_property(_coin.SoVRMLCollision_proxy_get, _coin.SoVRMLCollision_proxy_set) - collideTime = _swig_property(_coin.SoVRMLCollision_collideTime_get, _coin.SoVRMLCollision_collideTime_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCollision_GLRender(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLCollision_notify(*args) - -SoVRMLCollision_swigregister = _coin.SoVRMLCollision_swigregister -SoVRMLCollision_swigregister(SoVRMLCollision) - -def SoVRMLCollision_getClassTypeId(*args): - """SoVRMLCollision_getClassTypeId() -> SoType""" - return _coin.SoVRMLCollision_getClassTypeId(*args) - -def SoVRMLCollision_initClass(*args): - """SoVRMLCollision_initClass()""" - return _coin.SoVRMLCollision_initClass(*args) - -class SoVRMLColor(SoNode): - """Proxy of C++ SoVRMLColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLColor""" - this = _coin.new_SoVRMLColor(*args) - try: self.this.append(this) - except: self.this = this - color = _swig_property(_coin.SoVRMLColor_color_get, _coin.SoVRMLColor_color_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLColor_callback(*args) - -SoVRMLColor_swigregister = _coin.SoVRMLColor_swigregister -SoVRMLColor_swigregister(SoVRMLColor) - -def SoVRMLColor_getClassTypeId(*args): - """SoVRMLColor_getClassTypeId() -> SoType""" - return _coin.SoVRMLColor_getClassTypeId(*args) - -def SoVRMLColor_initClass(*args): - """SoVRMLColor_initClass()""" - return _coin.SoVRMLColor_initClass(*args) - -class SoVRMLInterpolator(SoNodeEngine): - """Proxy of C++ SoVRMLInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLInterpolator_getOutputData(*args) - - key = _swig_property(_coin.SoVRMLInterpolator_key_get, _coin.SoVRMLInterpolator_key_set) - set_fraction = _swig_property(_coin.SoVRMLInterpolator_set_fraction_get, _coin.SoVRMLInterpolator_set_fraction_set) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLInterpolator_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLInterpolator_swigregister = _coin.SoVRMLInterpolator_swigregister -SoVRMLInterpolator_swigregister(SoVRMLInterpolator) - -def SoVRMLInterpolator_getClassTypeId(*args): - """SoVRMLInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLInterpolator_getClassTypeId(*args) - -def SoVRMLInterpolator_initClass(*args): - """SoVRMLInterpolator_initClass()""" - return _coin.SoVRMLInterpolator_initClass(*args) - -class SoVRMLColorInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLColorInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLColorInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLColorInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLColorInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLColorInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLColorInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLColorInterpolator""" - this = _coin.new_SoVRMLColorInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLColorInterpolator_keyValue_get, _coin.SoVRMLColorInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLColorInterpolator_value_changed_get, _coin.SoVRMLColorInterpolator_value_changed_set) -SoVRMLColorInterpolator_swigregister = _coin.SoVRMLColorInterpolator_swigregister -SoVRMLColorInterpolator_swigregister(SoVRMLColorInterpolator) - -def SoVRMLColorInterpolator_getClassTypeId(*args): - """SoVRMLColorInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLColorInterpolator_getClassTypeId(*args) - -def SoVRMLColorInterpolator_createInstance(*args): - """SoVRMLColorInterpolator_createInstance() -> void""" - return _coin.SoVRMLColorInterpolator_createInstance(*args) - -def SoVRMLColorInterpolator_initClass(*args): - """SoVRMLColorInterpolator_initClass()""" - return _coin.SoVRMLColorInterpolator_initClass(*args) - -class SoVRMLCone(SoVRMLGeometry): - """Proxy of C++ SoVRMLCone class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCone_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCone_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCone_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCone""" - this = _coin.new_SoVRMLCone(*args) - try: self.this.append(this) - except: self.this = this - bottomRadius = _swig_property(_coin.SoVRMLCone_bottomRadius_get, _coin.SoVRMLCone_bottomRadius_set) - height = _swig_property(_coin.SoVRMLCone_height_get, _coin.SoVRMLCone_height_set) - side = _swig_property(_coin.SoVRMLCone_side_get, _coin.SoVRMLCone_side_set) - bottom = _swig_property(_coin.SoVRMLCone_bottom_get, _coin.SoVRMLCone_bottom_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCone_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLCone_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLCone_getPrimitiveCount(*args) - -SoVRMLCone_swigregister = _coin.SoVRMLCone_swigregister -SoVRMLCone_swigregister(SoVRMLCone) - -def SoVRMLCone_getClassTypeId(*args): - """SoVRMLCone_getClassTypeId() -> SoType""" - return _coin.SoVRMLCone_getClassTypeId(*args) - -def SoVRMLCone_initClass(*args): - """SoVRMLCone_initClass()""" - return _coin.SoVRMLCone_initClass(*args) - -class SoVRMLCoordinate(SoNode): - """Proxy of C++ SoVRMLCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCoordinate""" - this = _coin.new_SoVRMLCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoVRMLCoordinate_point_get, _coin.SoVRMLCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLCoordinate_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCoordinate_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLCoordinate_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLCoordinate_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLCoordinate_pick(*args) - -SoVRMLCoordinate_swigregister = _coin.SoVRMLCoordinate_swigregister -SoVRMLCoordinate_swigregister(SoVRMLCoordinate) - -def SoVRMLCoordinate_getClassTypeId(*args): - """SoVRMLCoordinate_getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinate_getClassTypeId(*args) - -def SoVRMLCoordinate_initClass(*args): - """SoVRMLCoordinate_initClass()""" - return _coin.SoVRMLCoordinate_initClass(*args) - -class SoVRMLCoordinateInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLCoordinateInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLCoordinateInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLCoordinateInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCoordinateInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCoordinateInterpolator""" - this = _coin.new_SoVRMLCoordinateInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLCoordinateInterpolator_keyValue_get, _coin.SoVRMLCoordinateInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLCoordinateInterpolator_value_changed_get, _coin.SoVRMLCoordinateInterpolator_value_changed_set) -SoVRMLCoordinateInterpolator_swigregister = _coin.SoVRMLCoordinateInterpolator_swigregister -SoVRMLCoordinateInterpolator_swigregister(SoVRMLCoordinateInterpolator) - -def SoVRMLCoordinateInterpolator_getClassTypeId(*args): - """SoVRMLCoordinateInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getClassTypeId(*args) - -def SoVRMLCoordinateInterpolator_createInstance(*args): - """SoVRMLCoordinateInterpolator_createInstance() -> void""" - return _coin.SoVRMLCoordinateInterpolator_createInstance(*args) - -def SoVRMLCoordinateInterpolator_initClass(*args): - """SoVRMLCoordinateInterpolator_initClass()""" - return _coin.SoVRMLCoordinateInterpolator_initClass(*args) - -class SoVRMLCylinder(SoVRMLGeometry): - """Proxy of C++ SoVRMLCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCylinder""" - this = _coin.new_SoVRMLCylinder(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoVRMLCylinder_radius_get, _coin.SoVRMLCylinder_radius_set) - height = _swig_property(_coin.SoVRMLCylinder_height_get, _coin.SoVRMLCylinder_height_set) - side = _swig_property(_coin.SoVRMLCylinder_side_get, _coin.SoVRMLCylinder_side_set) - top = _swig_property(_coin.SoVRMLCylinder_top_get, _coin.SoVRMLCylinder_top_set) - bottom = _swig_property(_coin.SoVRMLCylinder_bottom_get, _coin.SoVRMLCylinder_bottom_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCylinder_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLCylinder_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLCylinder_getPrimitiveCount(*args) - -SoVRMLCylinder_swigregister = _coin.SoVRMLCylinder_swigregister -SoVRMLCylinder_swigregister(SoVRMLCylinder) - -def SoVRMLCylinder_getClassTypeId(*args): - """SoVRMLCylinder_getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinder_getClassTypeId(*args) - -def SoVRMLCylinder_initClass(*args): - """SoVRMLCylinder_initClass()""" - return _coin.SoVRMLCylinder_initClass(*args) - -class SoVRMLSensor(SoNode): - """Proxy of C++ SoVRMLSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSensor_getTypeId(*args) - - isActive = _swig_property(_coin.SoVRMLSensor_isActive_get, _coin.SoVRMLSensor_isActive_set) - enabled = _swig_property(_coin.SoVRMLSensor_enabled_get, _coin.SoVRMLSensor_enabled_set) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLSensor_swigregister = _coin.SoVRMLSensor_swigregister -SoVRMLSensor_swigregister(SoVRMLSensor) - -def SoVRMLSensor_getClassTypeId(*args): - """SoVRMLSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLSensor_getClassTypeId(*args) - -def SoVRMLSensor_initClass(*args): - """SoVRMLSensor_initClass()""" - return _coin.SoVRMLSensor_initClass(*args) - -class SoVRMLDragSensor(SoVRMLSensor): - """Proxy of C++ SoVRMLDragSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLDragSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLDragSensor_getTypeId(*args) - - trackPoint_changed = _swig_property(_coin.SoVRMLDragSensor_trackPoint_changed_get, _coin.SoVRMLDragSensor_trackPoint_changed_set) - autoOffset = _swig_property(_coin.SoVRMLDragSensor_autoOffset_get, _coin.SoVRMLDragSensor_autoOffset_set) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLDragSensor_handleEvent(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLDragSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLDragSensor_swigregister = _coin.SoVRMLDragSensor_swigregister -SoVRMLDragSensor_swigregister(SoVRMLDragSensor) - -def SoVRMLDragSensor_getClassTypeId(*args): - """SoVRMLDragSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLDragSensor_getClassTypeId(*args) - -def SoVRMLDragSensor_initClass(*args): - """SoVRMLDragSensor_initClass()""" - return _coin.SoVRMLDragSensor_initClass(*args) - -class SoVRMLCylinderSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLCylinderSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinderSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCylinderSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCylinderSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCylinderSensor""" - this = _coin.new_SoVRMLCylinderSensor(*args) - try: self.this.append(this) - except: self.this = this - diskAngle = _swig_property(_coin.SoVRMLCylinderSensor_diskAngle_get, _coin.SoVRMLCylinderSensor_diskAngle_set) - maxAngle = _swig_property(_coin.SoVRMLCylinderSensor_maxAngle_get, _coin.SoVRMLCylinderSensor_maxAngle_set) - minAngle = _swig_property(_coin.SoVRMLCylinderSensor_minAngle_get, _coin.SoVRMLCylinderSensor_minAngle_set) - offset = _swig_property(_coin.SoVRMLCylinderSensor_offset_get, _coin.SoVRMLCylinderSensor_offset_set) - rotation_changed = _swig_property(_coin.SoVRMLCylinderSensor_rotation_changed_get, _coin.SoVRMLCylinderSensor_rotation_changed_set) -SoVRMLCylinderSensor_swigregister = _coin.SoVRMLCylinderSensor_swigregister -SoVRMLCylinderSensor_swigregister(SoVRMLCylinderSensor) - -def SoVRMLCylinderSensor_getClassTypeId(*args): - """SoVRMLCylinderSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinderSensor_getClassTypeId(*args) - -def SoVRMLCylinderSensor_initClass(*args): - """SoVRMLCylinderSensor_initClass()""" - return _coin.SoVRMLCylinderSensor_initClass(*args) - -class SoVRMLLight(SoNode): - """Proxy of C++ SoVRMLLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLLight_initClass(*args) - - initClass = staticmethod(initClass) - on = _swig_property(_coin.SoVRMLLight_on_get, _coin.SoVRMLLight_on_set) - intensity = _swig_property(_coin.SoVRMLLight_intensity_get, _coin.SoVRMLLight_intensity_set) - color = _swig_property(_coin.SoVRMLLight_color_get, _coin.SoVRMLLight_color_set) - ambientIntensity = _swig_property(_coin.SoVRMLLight_ambientIntensity_get, _coin.SoVRMLLight_ambientIntensity_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLLight_GLRender(*args) - -SoVRMLLight_swigregister = _coin.SoVRMLLight_swigregister -SoVRMLLight_swigregister(SoVRMLLight) - -def SoVRMLLight_getClassTypeId(*args): - """SoVRMLLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLLight_getClassTypeId(*args) - -def SoVRMLLight_initClass(*args): - """SoVRMLLight_initClass()""" - return _coin.SoVRMLLight_initClass(*args) - -class SoVRMLDirectionalLight(SoVRMLLight): - """Proxy of C++ SoVRMLDirectionalLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLDirectionalLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLDirectionalLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLDirectionalLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLDirectionalLight""" - this = _coin.new_SoVRMLDirectionalLight(*args) - try: self.this.append(this) - except: self.this = this - direction = _swig_property(_coin.SoVRMLDirectionalLight_direction_get, _coin.SoVRMLDirectionalLight_direction_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLDirectionalLight_GLRender(*args) - -SoVRMLDirectionalLight_swigregister = _coin.SoVRMLDirectionalLight_swigregister -SoVRMLDirectionalLight_swigregister(SoVRMLDirectionalLight) - -def SoVRMLDirectionalLight_getClassTypeId(*args): - """SoVRMLDirectionalLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLDirectionalLight_getClassTypeId(*args) - -def SoVRMLDirectionalLight_initClass(*args): - """SoVRMLDirectionalLight_initClass()""" - return _coin.SoVRMLDirectionalLight_initClass(*args) - -class SoVRMLElevationGrid(SoVRMLGeometry): - """Proxy of C++ SoVRMLElevationGrid class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLElevationGrid_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLElevationGrid_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLElevationGrid_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLElevationGrid""" - this = _coin.new_SoVRMLElevationGrid(*args) - try: self.this.append(this) - except: self.this = this - ccw = _swig_property(_coin.SoVRMLElevationGrid_ccw_get, _coin.SoVRMLElevationGrid_ccw_set) - solid = _swig_property(_coin.SoVRMLElevationGrid_solid_get, _coin.SoVRMLElevationGrid_solid_set) - creaseAngle = _swig_property(_coin.SoVRMLElevationGrid_creaseAngle_get, _coin.SoVRMLElevationGrid_creaseAngle_set) - zDimension = _swig_property(_coin.SoVRMLElevationGrid_zDimension_get, _coin.SoVRMLElevationGrid_zDimension_set) - xDimension = _swig_property(_coin.SoVRMLElevationGrid_xDimension_get, _coin.SoVRMLElevationGrid_xDimension_set) - zSpacing = _swig_property(_coin.SoVRMLElevationGrid_zSpacing_get, _coin.SoVRMLElevationGrid_zSpacing_set) - xSpacing = _swig_property(_coin.SoVRMLElevationGrid_xSpacing_get, _coin.SoVRMLElevationGrid_xSpacing_set) - height = _swig_property(_coin.SoVRMLElevationGrid_height_get, _coin.SoVRMLElevationGrid_height_set) - texCoord = _swig_property(_coin.SoVRMLElevationGrid_texCoord_get, _coin.SoVRMLElevationGrid_texCoord_set) - normal = _swig_property(_coin.SoVRMLElevationGrid_normal_get, _coin.SoVRMLElevationGrid_normal_set) - color = _swig_property(_coin.SoVRMLElevationGrid_color_get, _coin.SoVRMLElevationGrid_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLElevationGrid_colorPerVertex_get, _coin.SoVRMLElevationGrid_colorPerVertex_set) - normalPerVertex = _swig_property(_coin.SoVRMLElevationGrid_normalPerVertex_get, _coin.SoVRMLElevationGrid_normalPerVertex_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLElevationGrid_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLElevationGrid_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLElevationGrid_getPrimitiveCount(*args) - -SoVRMLElevationGrid_swigregister = _coin.SoVRMLElevationGrid_swigregister -SoVRMLElevationGrid_swigregister(SoVRMLElevationGrid) - -def SoVRMLElevationGrid_getClassTypeId(*args): - """SoVRMLElevationGrid_getClassTypeId() -> SoType""" - return _coin.SoVRMLElevationGrid_getClassTypeId(*args) - -def SoVRMLElevationGrid_initClass(*args): - """SoVRMLElevationGrid_initClass()""" - return _coin.SoVRMLElevationGrid_initClass(*args) - -class SoVRMLExtrusion(SoVRMLGeometry): - """Proxy of C++ SoVRMLExtrusion class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLExtrusion_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLExtrusion_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLExtrusion_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLExtrusion""" - this = _coin.new_SoVRMLExtrusion(*args) - try: self.this.append(this) - except: self.this = this - beginCap = _swig_property(_coin.SoVRMLExtrusion_beginCap_get, _coin.SoVRMLExtrusion_beginCap_set) - ccw = _swig_property(_coin.SoVRMLExtrusion_ccw_get, _coin.SoVRMLExtrusion_ccw_set) - convex = _swig_property(_coin.SoVRMLExtrusion_convex_get, _coin.SoVRMLExtrusion_convex_set) - creaseAngle = _swig_property(_coin.SoVRMLExtrusion_creaseAngle_get, _coin.SoVRMLExtrusion_creaseAngle_set) - crossSection = _swig_property(_coin.SoVRMLExtrusion_crossSection_get, _coin.SoVRMLExtrusion_crossSection_set) - endCap = _swig_property(_coin.SoVRMLExtrusion_endCap_get, _coin.SoVRMLExtrusion_endCap_set) - orientation = _swig_property(_coin.SoVRMLExtrusion_orientation_get, _coin.SoVRMLExtrusion_orientation_set) - scale = _swig_property(_coin.SoVRMLExtrusion_scale_get, _coin.SoVRMLExtrusion_scale_set) - solid = _swig_property(_coin.SoVRMLExtrusion_solid_get, _coin.SoVRMLExtrusion_solid_set) - spine = _swig_property(_coin.SoVRMLExtrusion_spine_get, _coin.SoVRMLExtrusion_spine_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLExtrusion_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLExtrusion_getPrimitiveCount(*args) - - def computeBBox(*args): - """computeBBox(self, SoAction action, SbBox3f bbox, SbVec3f center)""" - return _coin.SoVRMLExtrusion_computeBBox(*args) - -SoVRMLExtrusion_swigregister = _coin.SoVRMLExtrusion_swigregister -SoVRMLExtrusion_swigregister(SoVRMLExtrusion) - -def SoVRMLExtrusion_getClassTypeId(*args): - """SoVRMLExtrusion_getClassTypeId() -> SoType""" - return _coin.SoVRMLExtrusion_getClassTypeId(*args) - -def SoVRMLExtrusion_initClass(*args): - """SoVRMLExtrusion_initClass()""" - return _coin.SoVRMLExtrusion_initClass(*args) - -class SoVRMLFog(SoNode): - """Proxy of C++ SoVRMLFog class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLFog_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLFog_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLFog_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLFog""" - this = _coin.new_SoVRMLFog(*args) - try: self.this.append(this) - except: self.this = this - fogType = _swig_property(_coin.SoVRMLFog_fogType_get, _coin.SoVRMLFog_fogType_set) - visibilityRange = _swig_property(_coin.SoVRMLFog_visibilityRange_get, _coin.SoVRMLFog_visibilityRange_set) - color = _swig_property(_coin.SoVRMLFog_color_get, _coin.SoVRMLFog_color_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLFog_GLRender(*args) - -SoVRMLFog_swigregister = _coin.SoVRMLFog_swigregister -SoVRMLFog_swigregister(SoVRMLFog) - -def SoVRMLFog_getClassTypeId(*args): - """SoVRMLFog_getClassTypeId() -> SoType""" - return _coin.SoVRMLFog_getClassTypeId(*args) - -def SoVRMLFog_initClass(*args): - """SoVRMLFog_initClass()""" - return _coin.SoVRMLFog_initClass(*args) - -class SoVRMLFontStyle(SoNode): - """Proxy of C++ SoVRMLFontStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLFontStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLFontStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLFontStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLFontStyle""" - this = _coin.new_SoVRMLFontStyle(*args) - try: self.this.append(this) - except: self.this = this - SERIF = _coin.SoVRMLFontStyle_SERIF - SANS = _coin.SoVRMLFontStyle_SANS - TYPEWRITER = _coin.SoVRMLFontStyle_TYPEWRITER - PLAIN = _coin.SoVRMLFontStyle_PLAIN - BOLD = _coin.SoVRMLFontStyle_BOLD - ITALIC = _coin.SoVRMLFontStyle_ITALIC - BOLDITALIC = _coin.SoVRMLFontStyle_BOLDITALIC - size = _swig_property(_coin.SoVRMLFontStyle_size_get, _coin.SoVRMLFontStyle_size_set) - family = _swig_property(_coin.SoVRMLFontStyle_family_get, _coin.SoVRMLFontStyle_family_set) - style = _swig_property(_coin.SoVRMLFontStyle_style_get, _coin.SoVRMLFontStyle_style_set) - horizontal = _swig_property(_coin.SoVRMLFontStyle_horizontal_get, _coin.SoVRMLFontStyle_horizontal_set) - leftToRight = _swig_property(_coin.SoVRMLFontStyle_leftToRight_get, _coin.SoVRMLFontStyle_leftToRight_set) - topToBottom = _swig_property(_coin.SoVRMLFontStyle_topToBottom_get, _coin.SoVRMLFontStyle_topToBottom_set) - language = _swig_property(_coin.SoVRMLFontStyle_language_get, _coin.SoVRMLFontStyle_language_set) - justify = _swig_property(_coin.SoVRMLFontStyle_justify_get, _coin.SoVRMLFontStyle_justify_set) - spacing = _swig_property(_coin.SoVRMLFontStyle_spacing_get, _coin.SoVRMLFontStyle_spacing_set) - def getFontName(*args): - """getFontName(self) -> SbString""" - return _coin.SoVRMLFontStyle_getFontName(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLFontStyle_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLFontStyle_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLFontStyle_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLFontStyle_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLFontStyle_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLFontStyle_getPrimitiveCount(*args) - -SoVRMLFontStyle_swigregister = _coin.SoVRMLFontStyle_swigregister -SoVRMLFontStyle_swigregister(SoVRMLFontStyle) - -def SoVRMLFontStyle_getClassTypeId(*args): - """SoVRMLFontStyle_getClassTypeId() -> SoType""" - return _coin.SoVRMLFontStyle_getClassTypeId(*args) - -def SoVRMLFontStyle_initClass(*args): - """SoVRMLFontStyle_initClass()""" - return _coin.SoVRMLFontStyle_initClass(*args) - - -def so_vrml_init(*args): - """so_vrml_init()""" - return _coin.so_vrml_init(*args) -class SoVRMLTexture(SoNode): - """Proxy of C++ SoVRMLTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTexture_initClass(*args) - - initClass = staticmethod(initClass) - repeatS = _swig_property(_coin.SoVRMLTexture_repeatS_get, _coin.SoVRMLTexture_repeatS_set) - repeatT = _swig_property(_coin.SoVRMLTexture_repeatT_get, _coin.SoVRMLTexture_repeatT_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTexture_GLRender(*args) - -SoVRMLTexture_swigregister = _coin.SoVRMLTexture_swigregister -SoVRMLTexture_swigregister(SoVRMLTexture) - -def SoVRMLTexture_getClassTypeId(*args): - """SoVRMLTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLTexture_getClassTypeId(*args) - -def SoVRMLTexture_initClass(*args): - """SoVRMLTexture_initClass()""" - return _coin.SoVRMLTexture_initClass(*args) - -class SoVRMLImageTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLImageTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLImageTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLImageTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLImageTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLImageTexture""" - this = _coin.new_SoVRMLImageTexture(*args) - try: self.this.append(this) - except: self.this = this - url = _swig_property(_coin.SoVRMLImageTexture_url_get, _coin.SoVRMLImageTexture_url_set) - def setDelayFetchURL(*args): - """setDelayFetchURL(SbBool onoff)""" - return _coin.SoVRMLImageTexture_setDelayFetchURL(*args) - - setDelayFetchURL = staticmethod(setDelayFetchURL) - def setPrequalifyFileCallBack(*args): - """setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)""" - return _coin.SoVRMLImageTexture_setPrequalifyFileCallBack(*args) - - setPrequalifyFileCallBack = staticmethod(setPrequalifyFileCallBack) - def allowPrequalifyFile(*args): - """allowPrequalifyFile(self, SbBool enable)""" - return _coin.SoVRMLImageTexture_allowPrequalifyFile(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLImageTexture_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLImageTexture_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLImageTexture_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLImageTexture_rayPick(*args) - - def setImage(*args): - """setImage(self, SbImage image)""" - return _coin.SoVRMLImageTexture_setImage(*args) - - def getImage(*args): - """getImage(self) -> SbImage""" - return _coin.SoVRMLImageTexture_getImage(*args) - - def setImageDataMaxAge(*args): - """setImageDataMaxAge(uint32_t maxage)""" - return _coin.SoVRMLImageTexture_setImageDataMaxAge(*args) - - setImageDataMaxAge = staticmethod(setImageDataMaxAge) -SoVRMLImageTexture_swigregister = _coin.SoVRMLImageTexture_swigregister -SoVRMLImageTexture_swigregister(SoVRMLImageTexture) - -def SoVRMLImageTexture_getClassTypeId(*args): - """SoVRMLImageTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLImageTexture_getClassTypeId(*args) - -def SoVRMLImageTexture_initClass(*args): - """SoVRMLImageTexture_initClass()""" - return _coin.SoVRMLImageTexture_initClass(*args) - -def SoVRMLImageTexture_setDelayFetchURL(*args): - """SoVRMLImageTexture_setDelayFetchURL(SbBool onoff)""" - return _coin.SoVRMLImageTexture_setDelayFetchURL(*args) - -def SoVRMLImageTexture_setPrequalifyFileCallBack(*args): - """SoVRMLImageTexture_setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)""" - return _coin.SoVRMLImageTexture_setPrequalifyFileCallBack(*args) - -def SoVRMLImageTexture_setImageDataMaxAge(*args): - """SoVRMLImageTexture_setImageDataMaxAge(uint32_t maxage)""" - return _coin.SoVRMLImageTexture_setImageDataMaxAge(*args) - -class SoVRMLVertexShape(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexShape_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexShape_coord_get, _coin.SoVRMLVertexShape_coord_set) - texCoord = _swig_property(_coin.SoVRMLVertexShape_texCoord_get, _coin.SoVRMLVertexShape_texCoord_set) - normal = _swig_property(_coin.SoVRMLVertexShape_normal_get, _coin.SoVRMLVertexShape_normal_set) - color = _swig_property(_coin.SoVRMLVertexShape_color_get, _coin.SoVRMLVertexShape_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLVertexShape_colorPerVertex_get, _coin.SoVRMLVertexShape_colorPerVertex_set) - normalPerVertex = _swig_property(_coin.SoVRMLVertexShape_normalPerVertex_get, _coin.SoVRMLVertexShape_normalPerVertex_set) - OVERALL = _coin.SoVRMLVertexShape_OVERALL - PER_PART = _coin.SoVRMLVertexShape_PER_PART - PER_PART_INDEXED = _coin.SoVRMLVertexShape_PER_PART_INDEXED - PER_FACE = _coin.SoVRMLVertexShape_PER_FACE - PER_FACE_INDEXED = _coin.SoVRMLVertexShape_PER_FACE_INDEXED - PER_VERTEX = _coin.SoVRMLVertexShape_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVRMLVertexShape_PER_VERTEX_INDEXED - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState s, SoNormalBundle nb) -> SbBool - generateDefaultNormals(self, SoState s, SoNormalCache nc) -> SbBool - """ - return _coin.SoVRMLVertexShape_generateDefaultNormals(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexShape_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexShape_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexShape_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexShape_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexShape_pick(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexShape_notify(*args) - -SoVRMLVertexShape_swigregister = _coin.SoVRMLVertexShape_swigregister -SoVRMLVertexShape_swigregister(SoVRMLVertexShape) - -def SoVRMLVertexShape_getClassTypeId(*args): - """SoVRMLVertexShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexShape_getClassTypeId(*args) - -def SoVRMLVertexShape_initClass(*args): - """SoVRMLVertexShape_initClass()""" - return _coin.SoVRMLVertexShape_initClass(*args) - -class SoVRMLIndexedShape(SoVRMLVertexShape): - """Proxy of C++ SoVRMLIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoVRMLIndexedShape_coordIndex_get, _coin.SoVRMLIndexedShape_coordIndex_set) - colorIndex = _swig_property(_coin.SoVRMLIndexedShape_colorIndex_get, _coin.SoVRMLIndexedShape_colorIndex_set) - normalIndex = _swig_property(_coin.SoVRMLIndexedShape_normalIndex_get, _coin.SoVRMLIndexedShape_normalIndex_set) - texCoordIndex = _swig_property(_coin.SoVRMLIndexedShape_texCoordIndex_get, _coin.SoVRMLIndexedShape_texCoordIndex_set) -SoVRMLIndexedShape_swigregister = _coin.SoVRMLIndexedShape_swigregister -SoVRMLIndexedShape_swigregister(SoVRMLIndexedShape) - -def SoVRMLIndexedShape_getClassTypeId(*args): - """SoVRMLIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedShape_getClassTypeId(*args) - -def SoVRMLIndexedShape_initClass(*args): - """SoVRMLIndexedShape_initClass()""" - return _coin.SoVRMLIndexedShape_initClass(*args) - -class SoVRMLIndexedFaceSet(SoVRMLIndexedShape): - """Proxy of C++ SoVRMLIndexedFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLIndexedFaceSet""" - this = _coin.new_SoVRMLIndexedFaceSet(*args) - try: self.this.append(this) - except: self.this = this - ccw = _swig_property(_coin.SoVRMLIndexedFaceSet_ccw_get, _coin.SoVRMLIndexedFaceSet_ccw_set) - solid = _swig_property(_coin.SoVRMLIndexedFaceSet_solid_get, _coin.SoVRMLIndexedFaceSet_solid_set) - convex = _swig_property(_coin.SoVRMLIndexedFaceSet_convex_get, _coin.SoVRMLIndexedFaceSet_convex_set) - creaseAngle = _swig_property(_coin.SoVRMLIndexedFaceSet_creaseAngle_get, _coin.SoVRMLIndexedFaceSet_creaseAngle_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLIndexedFaceSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLIndexedFaceSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState s, SoNormalBundle nb) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache nc) -> SbBool - """ - return _coin.SoVRMLIndexedFaceSet_generateDefaultNormals(*args) - -SoVRMLIndexedFaceSet_swigregister = _coin.SoVRMLIndexedFaceSet_swigregister -SoVRMLIndexedFaceSet_swigregister(SoVRMLIndexedFaceSet) - -def SoVRMLIndexedFaceSet_getClassTypeId(*args): - """SoVRMLIndexedFaceSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getClassTypeId(*args) - -def SoVRMLIndexedFaceSet_initClass(*args): - """SoVRMLIndexedFaceSet_initClass()""" - return _coin.SoVRMLIndexedFaceSet_initClass(*args) - -class SoVRMLVertexLine(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexLine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexLine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexLine_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexLine_coord_get, _coin.SoVRMLVertexLine_coord_set) - color = _swig_property(_coin.SoVRMLVertexLine_color_get, _coin.SoVRMLVertexLine_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLVertexLine_colorPerVertex_get, _coin.SoVRMLVertexLine_colorPerVertex_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexLine_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexLine_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexLine_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexLine_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexLine_pick(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexLine_notify(*args) - -SoVRMLVertexLine_swigregister = _coin.SoVRMLVertexLine_swigregister -SoVRMLVertexLine_swigregister(SoVRMLVertexLine) - -def SoVRMLVertexLine_getClassTypeId(*args): - """SoVRMLVertexLine_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexLine_getClassTypeId(*args) - -def SoVRMLVertexLine_initClass(*args): - """SoVRMLVertexLine_initClass()""" - return _coin.SoVRMLVertexLine_initClass(*args) - -class SoVRMLIndexedLine(SoVRMLVertexLine): - """Proxy of C++ SoVRMLIndexedLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedLine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedLine_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoVRMLIndexedLine_coordIndex_get, _coin.SoVRMLIndexedLine_coordIndex_set) - colorIndex = _swig_property(_coin.SoVRMLIndexedLine_colorIndex_get, _coin.SoVRMLIndexedLine_colorIndex_set) -SoVRMLIndexedLine_swigregister = _coin.SoVRMLIndexedLine_swigregister -SoVRMLIndexedLine_swigregister(SoVRMLIndexedLine) - -def SoVRMLIndexedLine_getClassTypeId(*args): - """SoVRMLIndexedLine_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLine_getClassTypeId(*args) - -def SoVRMLIndexedLine_initClass(*args): - """SoVRMLIndexedLine_initClass()""" - return _coin.SoVRMLIndexedLine_initClass(*args) - -class SoVRMLIndexedLineSet(SoVRMLIndexedLine): - """Proxy of C++ SoVRMLIndexedLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLIndexedLineSet""" - this = _coin.new_SoVRMLIndexedLineSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLIndexedLineSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLIndexedLineSet_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLIndexedLineSet_getBoundingBox(*args) - -SoVRMLIndexedLineSet_swigregister = _coin.SoVRMLIndexedLineSet_swigregister -SoVRMLIndexedLineSet_swigregister(SoVRMLIndexedLineSet) - -def SoVRMLIndexedLineSet_getClassTypeId(*args): - """SoVRMLIndexedLineSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLineSet_getClassTypeId(*args) - -def SoVRMLIndexedLineSet_initClass(*args): - """SoVRMLIndexedLineSet_initClass()""" - return _coin.SoVRMLIndexedLineSet_initClass(*args) - -class SoVRMLInline(SoNode): - """Proxy of C++ SoVRMLInline class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLInline_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLInline_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLInline_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLInline""" - this = _coin.new_SoVRMLInline(*args) - try: self.this.append(this) - except: self.this = this - NEVER = _coin.SoVRMLInline_NEVER - UNTIL_LOADED = _coin.SoVRMLInline_UNTIL_LOADED - ALWAYS = _coin.SoVRMLInline_ALWAYS - bboxCenter = _swig_property(_coin.SoVRMLInline_bboxCenter_get, _coin.SoVRMLInline_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLInline_bboxSize_get, _coin.SoVRMLInline_bboxSize_set) - url = _swig_property(_coin.SoVRMLInline_url_get, _coin.SoVRMLInline_url_set) - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoVRMLInline_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoVRMLInline_getFullURLName(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoVRMLInline_copyChildren(*args) - - def requestURLData(*args): - """requestURLData(self)""" - return _coin.SoVRMLInline_requestURLData(*args) - - def isURLDataRequested(*args): - """isURLDataRequested(self) -> SbBool""" - return _coin.SoVRMLInline_isURLDataRequested(*args) - - def isURLDataHere(*args): - """isURLDataHere(self) -> SbBool""" - return _coin.SoVRMLInline_isURLDataHere(*args) - - def cancelURLDataRequest(*args): - """cancelURLDataRequest(self)""" - return _coin.SoVRMLInline_cancelURLDataRequest(*args) - - def setChildData(*args): - """setChildData(self, SoNode urlData)""" - return _coin.SoVRMLInline_setChildData(*args) - - def getChildData(*args): - """getChildData(self) -> SoNode""" - return _coin.SoVRMLInline_getChildData(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)""" - return _coin.SoVRMLInline_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setBoundingBoxVisibility(*args): - """setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoVRMLInline_setBoundingBoxVisibility(*args) - - setBoundingBoxVisibility = staticmethod(setBoundingBoxVisibility) - def getBoundingBoxVisibility(*args): - """getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoVRMLInline_getBoundingBoxVisibility(*args) - - getBoundingBoxVisibility = staticmethod(getBoundingBoxVisibility) - def setBoundingBoxColor(*args): - """setBoundingBoxColor(SbColor color)""" - return _coin.SoVRMLInline_setBoundingBoxColor(*args) - - setBoundingBoxColor = staticmethod(setBoundingBoxColor) - def getBoundingBoxColor(*args): - """getBoundingBoxColor() -> SbColor""" - return _coin.SoVRMLInline_getBoundingBoxColor(*args) - - getBoundingBoxColor = staticmethod(getBoundingBoxColor) - def setReadAsSoFile(*args): - """setReadAsSoFile(SbBool enable)""" - return _coin.SoVRMLInline_setReadAsSoFile(*args) - - setReadAsSoFile = staticmethod(setReadAsSoFile) - def getReadAsSoFile(*args): - """getReadAsSoFile() -> SbBool""" - return _coin.SoVRMLInline_getReadAsSoFile(*args) - - getReadAsSoFile = staticmethod(getReadAsSoFile) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLInline_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLInline_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLInline_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLInline_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLInline_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLInline_handleEvent(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLInline_search(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLInline_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLInline_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLInline_getChildren(*args) - -SoVRMLInline_swigregister = _coin.SoVRMLInline_swigregister -SoVRMLInline_swigregister(SoVRMLInline) - -def SoVRMLInline_getClassTypeId(*args): - """SoVRMLInline_getClassTypeId() -> SoType""" - return _coin.SoVRMLInline_getClassTypeId(*args) - -def SoVRMLInline_initClass(*args): - """SoVRMLInline_initClass()""" - return _coin.SoVRMLInline_initClass(*args) - -def SoVRMLInline_setFetchURLCallBack(*args): - """SoVRMLInline_setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)""" - return _coin.SoVRMLInline_setFetchURLCallBack(*args) - -def SoVRMLInline_setBoundingBoxVisibility(*args): - """SoVRMLInline_setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoVRMLInline_setBoundingBoxVisibility(*args) - -def SoVRMLInline_getBoundingBoxVisibility(*args): - """SoVRMLInline_getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoVRMLInline_getBoundingBoxVisibility(*args) - -def SoVRMLInline_setBoundingBoxColor(*args): - """SoVRMLInline_setBoundingBoxColor(SbColor color)""" - return _coin.SoVRMLInline_setBoundingBoxColor(*args) - -def SoVRMLInline_getBoundingBoxColor(*args): - """SoVRMLInline_getBoundingBoxColor() -> SbColor""" - return _coin.SoVRMLInline_getBoundingBoxColor(*args) - -def SoVRMLInline_setReadAsSoFile(*args): - """SoVRMLInline_setReadAsSoFile(SbBool enable)""" - return _coin.SoVRMLInline_setReadAsSoFile(*args) - -def SoVRMLInline_getReadAsSoFile(*args): - """SoVRMLInline_getReadAsSoFile() -> SbBool""" - return _coin.SoVRMLInline_getReadAsSoFile(*args) - -class SoVRMLLOD(SoGroup): - """Proxy of C++ SoVRMLLOD class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLLOD_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLLOD_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLLOD_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLLOD - __init__(self, int levels) -> SoVRMLLOD - """ - this = _coin.new_SoVRMLLOD(*args) - try: self.this.append(this) - except: self.this = this - range = _swig_property(_coin.SoVRMLLOD_range_get, _coin.SoVRMLLOD_range_set) - center = _swig_property(_coin.SoVRMLLOD_center_get, _coin.SoVRMLLOD_center_set) - level = _swig_property(_coin.SoVRMLLOD_level_get, _coin.SoVRMLLOD_level_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLLOD_affectsState(*args) - - def addLevel(*args): - """addLevel(self, SoNode level)""" - return _coin.SoVRMLLOD_addLevel(*args) - - def insertLevel(*args): - """insertLevel(self, SoNode level, int idx)""" - return _coin.SoVRMLLOD_insertLevel(*args) - - def getLevel(*args): - """getLevel(self, int idx) -> SoNode""" - return _coin.SoVRMLLOD_getLevel(*args) - - def findLevel(*args): - """findLevel(self, SoNode level) -> int""" - return _coin.SoVRMLLOD_findLevel(*args) - - def getNumLevels(*args): - """getNumLevels(self) -> int""" - return _coin.SoVRMLLOD_getNumLevels(*args) - - def removeLevel(*args): - """ - removeLevel(self, int idx) - removeLevel(self, SoNode level) - """ - return _coin.SoVRMLLOD_removeLevel(*args) - - def removeAllLevels(*args): - """removeAllLevels(self)""" - return _coin.SoVRMLLOD_removeAllLevels(*args) - - def replaceLevel(*args): - """ - replaceLevel(self, int idx, SoNode level) - replaceLevel(self, SoNode old, SoNode level) - """ - return _coin.SoVRMLLOD_replaceLevel(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLLOD_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLLOD_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLLOD_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLLOD_getBoundingBox(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLLOD_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLLOD_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLLOD_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLLOD_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderOffPath(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLLOD_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLLOD_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLLOD_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLLOD_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLLOD_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLLOD_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLLOD_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode child) - replaceChild(self, SoNode old, SoNode child) - """ - return _coin.SoVRMLLOD_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLLOD_getChildren(*args) - -SoVRMLLOD_swigregister = _coin.SoVRMLLOD_swigregister -SoVRMLLOD_swigregister(SoVRMLLOD) - -def SoVRMLLOD_getClassTypeId(*args): - """SoVRMLLOD_getClassTypeId() -> SoType""" - return _coin.SoVRMLLOD_getClassTypeId(*args) - -def SoVRMLLOD_initClass(*args): - """SoVRMLLOD_initClass()""" - return _coin.SoVRMLLOD_initClass(*args) - -class SoVRMLMaterial(SoNode): - """Proxy of C++ SoVRMLMaterial class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLMaterial_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLMaterial_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLMaterial_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLMaterial""" - this = _coin.new_SoVRMLMaterial(*args) - try: self.this.append(this) - except: self.this = this - diffuseColor = _swig_property(_coin.SoVRMLMaterial_diffuseColor_get, _coin.SoVRMLMaterial_diffuseColor_set) - ambientIntensity = _swig_property(_coin.SoVRMLMaterial_ambientIntensity_get, _coin.SoVRMLMaterial_ambientIntensity_set) - specularColor = _swig_property(_coin.SoVRMLMaterial_specularColor_get, _coin.SoVRMLMaterial_specularColor_set) - emissiveColor = _swig_property(_coin.SoVRMLMaterial_emissiveColor_get, _coin.SoVRMLMaterial_emissiveColor_set) - shininess = _swig_property(_coin.SoVRMLMaterial_shininess_get, _coin.SoVRMLMaterial_shininess_set) - transparency = _swig_property(_coin.SoVRMLMaterial_transparency_get, _coin.SoVRMLMaterial_transparency_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLMaterial_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLMaterial_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLMaterial_callback(*args) - -SoVRMLMaterial_swigregister = _coin.SoVRMLMaterial_swigregister -SoVRMLMaterial_swigregister(SoVRMLMaterial) - -def SoVRMLMaterial_getClassTypeId(*args): - """SoVRMLMaterial_getClassTypeId() -> SoType""" - return _coin.SoVRMLMaterial_getClassTypeId(*args) - -def SoVRMLMaterial_initClass(*args): - """SoVRMLMaterial_initClass()""" - return _coin.SoVRMLMaterial_initClass(*args) - -class SoVRMLMovieTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLMovieTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLMovieTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLMovieTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLMovieTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLMovieTexture""" - this = _coin.new_SoVRMLMovieTexture(*args) - try: self.this.append(this) - except: self.this = this - loop = _swig_property(_coin.SoVRMLMovieTexture_loop_get, _coin.SoVRMLMovieTexture_loop_set) - speed = _swig_property(_coin.SoVRMLMovieTexture_speed_get, _coin.SoVRMLMovieTexture_speed_set) - startTime = _swig_property(_coin.SoVRMLMovieTexture_startTime_get, _coin.SoVRMLMovieTexture_startTime_set) - stopTime = _swig_property(_coin.SoVRMLMovieTexture_stopTime_get, _coin.SoVRMLMovieTexture_stopTime_set) - pauseTime = _swig_property(_coin.SoVRMLMovieTexture_pauseTime_get, _coin.SoVRMLMovieTexture_pauseTime_set) - resumeTime = _swig_property(_coin.SoVRMLMovieTexture_resumeTime_get, _coin.SoVRMLMovieTexture_resumeTime_set) - url = _swig_property(_coin.SoVRMLMovieTexture_url_get, _coin.SoVRMLMovieTexture_url_set) - duration_changed = _swig_property(_coin.SoVRMLMovieTexture_duration_changed_get, _coin.SoVRMLMovieTexture_duration_changed_set) - isActive = _swig_property(_coin.SoVRMLMovieTexture_isActive_get, _coin.SoVRMLMovieTexture_isActive_set) - alpha = _swig_property(_coin.SoVRMLMovieTexture_alpha_get, _coin.SoVRMLMovieTexture_alpha_set) - model = _swig_property(_coin.SoVRMLMovieTexture_model_get, _coin.SoVRMLMovieTexture_model_set) - blendColor = _swig_property(_coin.SoVRMLMovieTexture_blendColor_get, _coin.SoVRMLMovieTexture_blendColor_set) - scaleTexCoord = _swig_property(_coin.SoVRMLMovieTexture_scaleTexCoord_get, _coin.SoVRMLMovieTexture_scaleTexCoord_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLMovieTexture_GLRender(*args) - -SoVRMLMovieTexture_swigregister = _coin.SoVRMLMovieTexture_swigregister -SoVRMLMovieTexture_swigregister(SoVRMLMovieTexture) - -def SoVRMLMovieTexture_getClassTypeId(*args): - """SoVRMLMovieTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLMovieTexture_getClassTypeId(*args) - -def SoVRMLMovieTexture_initClass(*args): - """SoVRMLMovieTexture_initClass()""" - return _coin.SoVRMLMovieTexture_initClass(*args) - -class SoVRMLNavigationInfo(SoNode): - """Proxy of C++ SoVRMLNavigationInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNavigationInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNavigationInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNavigationInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNavigationInfo""" - this = _coin.new_SoVRMLNavigationInfo(*args) - try: self.this.append(this) - except: self.this = this - type = _swig_property(_coin.SoVRMLNavigationInfo_type_get, _coin.SoVRMLNavigationInfo_type_set) - speed = _swig_property(_coin.SoVRMLNavigationInfo_speed_get, _coin.SoVRMLNavigationInfo_speed_set) - avatarSize = _swig_property(_coin.SoVRMLNavigationInfo_avatarSize_get, _coin.SoVRMLNavigationInfo_avatarSize_set) - visibilityLimit = _swig_property(_coin.SoVRMLNavigationInfo_visibilityLimit_get, _coin.SoVRMLNavigationInfo_visibilityLimit_set) - headlight = _swig_property(_coin.SoVRMLNavigationInfo_headlight_get, _coin.SoVRMLNavigationInfo_headlight_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLNavigationInfo_GLRender(*args) - -SoVRMLNavigationInfo_swigregister = _coin.SoVRMLNavigationInfo_swigregister -SoVRMLNavigationInfo_swigregister(SoVRMLNavigationInfo) - -def SoVRMLNavigationInfo_getClassTypeId(*args): - """SoVRMLNavigationInfo_getClassTypeId() -> SoType""" - return _coin.SoVRMLNavigationInfo_getClassTypeId(*args) - -def SoVRMLNavigationInfo_initClass(*args): - """SoVRMLNavigationInfo_initClass()""" - return _coin.SoVRMLNavigationInfo_initClass(*args) - -class SoVRMLNormal(SoNode): - """Proxy of C++ SoVRMLNormal class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNormal_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNormal_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNormal_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNormal""" - this = _coin.new_SoVRMLNormal(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoVRMLNormal_vector_get, _coin.SoVRMLNormal_vector_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLNormal_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLNormal_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLNormal_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLNormal_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLNormal_getPrimitiveCount(*args) - -SoVRMLNormal_swigregister = _coin.SoVRMLNormal_swigregister -SoVRMLNormal_swigregister(SoVRMLNormal) - -def SoVRMLNormal_getClassTypeId(*args): - """SoVRMLNormal_getClassTypeId() -> SoType""" - return _coin.SoVRMLNormal_getClassTypeId(*args) - -def SoVRMLNormal_initClass(*args): - """SoVRMLNormal_initClass()""" - return _coin.SoVRMLNormal_initClass(*args) - -class SoVRMLNormalInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLNormalInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNormalInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNormalInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLNormalInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLNormalInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNormalInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNormalInterpolator""" - this = _coin.new_SoVRMLNormalInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLNormalInterpolator_keyValue_get, _coin.SoVRMLNormalInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLNormalInterpolator_value_changed_get, _coin.SoVRMLNormalInterpolator_value_changed_set) -SoVRMLNormalInterpolator_swigregister = _coin.SoVRMLNormalInterpolator_swigregister -SoVRMLNormalInterpolator_swigregister(SoVRMLNormalInterpolator) - -def SoVRMLNormalInterpolator_getClassTypeId(*args): - """SoVRMLNormalInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLNormalInterpolator_getClassTypeId(*args) - -def SoVRMLNormalInterpolator_createInstance(*args): - """SoVRMLNormalInterpolator_createInstance() -> void""" - return _coin.SoVRMLNormalInterpolator_createInstance(*args) - -def SoVRMLNormalInterpolator_initClass(*args): - """SoVRMLNormalInterpolator_initClass()""" - return _coin.SoVRMLNormalInterpolator_initClass(*args) - -class SoVRMLOrientationInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLOrientationInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLOrientationInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLOrientationInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLOrientationInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLOrientationInterpolator""" - this = _coin.new_SoVRMLOrientationInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLOrientationInterpolator_keyValue_get, _coin.SoVRMLOrientationInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLOrientationInterpolator_value_changed_get, _coin.SoVRMLOrientationInterpolator_value_changed_set) -SoVRMLOrientationInterpolator_swigregister = _coin.SoVRMLOrientationInterpolator_swigregister -SoVRMLOrientationInterpolator_swigregister(SoVRMLOrientationInterpolator) - -def SoVRMLOrientationInterpolator_getClassTypeId(*args): - """SoVRMLOrientationInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getClassTypeId(*args) - -def SoVRMLOrientationInterpolator_createInstance(*args): - """SoVRMLOrientationInterpolator_createInstance() -> void""" - return _coin.SoVRMLOrientationInterpolator_createInstance(*args) - -def SoVRMLOrientationInterpolator_initClass(*args): - """SoVRMLOrientationInterpolator_initClass()""" - return _coin.SoVRMLOrientationInterpolator_initClass(*args) - -class SoVRMLPixelTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLPixelTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPixelTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPixelTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPixelTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPixelTexture""" - this = _coin.new_SoVRMLPixelTexture(*args) - try: self.this.append(this) - except: self.this = this - image = _swig_property(_coin.SoVRMLPixelTexture_image_get, _coin.SoVRMLPixelTexture_image_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLPixelTexture_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPixelTexture_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLPixelTexture_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLPixelTexture_rayPick(*args) - -SoVRMLPixelTexture_swigregister = _coin.SoVRMLPixelTexture_swigregister -SoVRMLPixelTexture_swigregister(SoVRMLPixelTexture) - -def SoVRMLPixelTexture_getClassTypeId(*args): - """SoVRMLPixelTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLPixelTexture_getClassTypeId(*args) - -def SoVRMLPixelTexture_initClass(*args): - """SoVRMLPixelTexture_initClass()""" - return _coin.SoVRMLPixelTexture_initClass(*args) - -class SoVRMLPlaneSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLPlaneSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPlaneSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPlaneSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPlaneSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPlaneSensor""" - this = _coin.new_SoVRMLPlaneSensor(*args) - try: self.this.append(this) - except: self.this = this - minPosition = _swig_property(_coin.SoVRMLPlaneSensor_minPosition_get, _coin.SoVRMLPlaneSensor_minPosition_set) - maxPosition = _swig_property(_coin.SoVRMLPlaneSensor_maxPosition_get, _coin.SoVRMLPlaneSensor_maxPosition_set) - offset = _swig_property(_coin.SoVRMLPlaneSensor_offset_get, _coin.SoVRMLPlaneSensor_offset_set) - translation_changed = _swig_property(_coin.SoVRMLPlaneSensor_translation_changed_get, _coin.SoVRMLPlaneSensor_translation_changed_set) -SoVRMLPlaneSensor_swigregister = _coin.SoVRMLPlaneSensor_swigregister -SoVRMLPlaneSensor_swigregister(SoVRMLPlaneSensor) - -def SoVRMLPlaneSensor_getClassTypeId(*args): - """SoVRMLPlaneSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLPlaneSensor_getClassTypeId(*args) - -def SoVRMLPlaneSensor_initClass(*args): - """SoVRMLPlaneSensor_initClass()""" - return _coin.SoVRMLPlaneSensor_initClass(*args) - -class SoVRMLPointLight(SoVRMLLight): - """Proxy of C++ SoVRMLPointLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPointLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPointLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPointLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPointLight""" - this = _coin.new_SoVRMLPointLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoVRMLPointLight_location_get, _coin.SoVRMLPointLight_location_set) - radius = _swig_property(_coin.SoVRMLPointLight_radius_get, _coin.SoVRMLPointLight_radius_set) - attenuation = _swig_property(_coin.SoVRMLPointLight_attenuation_get, _coin.SoVRMLPointLight_attenuation_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPointLight_GLRender(*args) - -SoVRMLPointLight_swigregister = _coin.SoVRMLPointLight_swigregister -SoVRMLPointLight_swigregister(SoVRMLPointLight) - -def SoVRMLPointLight_getClassTypeId(*args): - """SoVRMLPointLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLPointLight_getClassTypeId(*args) - -def SoVRMLPointLight_initClass(*args): - """SoVRMLPointLight_initClass()""" - return _coin.SoVRMLPointLight_initClass(*args) - -class SoVRMLVertexPoint(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexPoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexPoint_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexPoint_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexPoint_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexPoint_coord_get, _coin.SoVRMLVertexPoint_coord_set) - color = _swig_property(_coin.SoVRMLVertexPoint_color_get, _coin.SoVRMLVertexPoint_color_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexPoint_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexPoint_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexPoint_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexPoint_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexPoint_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLVertexPoint_getPrimitiveCount(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexPoint_notify(*args) - -SoVRMLVertexPoint_swigregister = _coin.SoVRMLVertexPoint_swigregister -SoVRMLVertexPoint_swigregister(SoVRMLVertexPoint) - -def SoVRMLVertexPoint_getClassTypeId(*args): - """SoVRMLVertexPoint_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexPoint_getClassTypeId(*args) - -def SoVRMLVertexPoint_initClass(*args): - """SoVRMLVertexPoint_initClass()""" - return _coin.SoVRMLVertexPoint_initClass(*args) - -class SoVRMLPointSet(SoVRMLVertexPoint): - """Proxy of C++ SoVRMLPointSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPointSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPointSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPointSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPointSet""" - this = _coin.new_SoVRMLPointSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPointSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLPointSet_getBoundingBox(*args) - -SoVRMLPointSet_swigregister = _coin.SoVRMLPointSet_swigregister -SoVRMLPointSet_swigregister(SoVRMLPointSet) - -def SoVRMLPointSet_getClassTypeId(*args): - """SoVRMLPointSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLPointSet_getClassTypeId(*args) - -def SoVRMLPointSet_initClass(*args): - """SoVRMLPointSet_initClass()""" - return _coin.SoVRMLPointSet_initClass(*args) - -class SoVRMLPositionInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLPositionInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPositionInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPositionInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLPositionInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLPositionInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPositionInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPositionInterpolator""" - this = _coin.new_SoVRMLPositionInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLPositionInterpolator_keyValue_get, _coin.SoVRMLPositionInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLPositionInterpolator_value_changed_get, _coin.SoVRMLPositionInterpolator_value_changed_set) -SoVRMLPositionInterpolator_swigregister = _coin.SoVRMLPositionInterpolator_swigregister -SoVRMLPositionInterpolator_swigregister(SoVRMLPositionInterpolator) - -def SoVRMLPositionInterpolator_getClassTypeId(*args): - """SoVRMLPositionInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLPositionInterpolator_getClassTypeId(*args) - -def SoVRMLPositionInterpolator_createInstance(*args): - """SoVRMLPositionInterpolator_createInstance() -> void""" - return _coin.SoVRMLPositionInterpolator_createInstance(*args) - -def SoVRMLPositionInterpolator_initClass(*args): - """SoVRMLPositionInterpolator_initClass()""" - return _coin.SoVRMLPositionInterpolator_initClass(*args) - -class SoVRMLProximitySensor(SoNode): - """Proxy of C++ SoVRMLProximitySensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLProximitySensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLProximitySensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLProximitySensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLProximitySensor""" - this = _coin.new_SoVRMLProximitySensor(*args) - try: self.this.append(this) - except: self.this = this - center = _swig_property(_coin.SoVRMLProximitySensor_center_get, _coin.SoVRMLProximitySensor_center_set) - size = _swig_property(_coin.SoVRMLProximitySensor_size_get, _coin.SoVRMLProximitySensor_size_set) - enabled = _swig_property(_coin.SoVRMLProximitySensor_enabled_get, _coin.SoVRMLProximitySensor_enabled_set) - isActive = _swig_property(_coin.SoVRMLProximitySensor_isActive_get, _coin.SoVRMLProximitySensor_isActive_set) - position_changed = _swig_property(_coin.SoVRMLProximitySensor_position_changed_get, _coin.SoVRMLProximitySensor_position_changed_set) - orientation_changed = _swig_property(_coin.SoVRMLProximitySensor_orientation_changed_get, _coin.SoVRMLProximitySensor_orientation_changed_set) - enterTime = _swig_property(_coin.SoVRMLProximitySensor_enterTime_get, _coin.SoVRMLProximitySensor_enterTime_set) - exitTime = _swig_property(_coin.SoVRMLProximitySensor_exitTime_get, _coin.SoVRMLProximitySensor_exitTime_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLProximitySensor_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLProximitySensor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLProximitySensor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLProximitySensor_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLProximitySensor_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLProximitySensor_getBoundingBox(*args) - -SoVRMLProximitySensor_swigregister = _coin.SoVRMLProximitySensor_swigregister -SoVRMLProximitySensor_swigregister(SoVRMLProximitySensor) - -def SoVRMLProximitySensor_getClassTypeId(*args): - """SoVRMLProximitySensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLProximitySensor_getClassTypeId(*args) - -def SoVRMLProximitySensor_initClass(*args): - """SoVRMLProximitySensor_initClass()""" - return _coin.SoVRMLProximitySensor_initClass(*args) - -class SoVRMLScalarInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLScalarInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLScalarInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLScalarInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLScalarInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLScalarInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLScalarInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLScalarInterpolator""" - this = _coin.new_SoVRMLScalarInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLScalarInterpolator_keyValue_get, _coin.SoVRMLScalarInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLScalarInterpolator_value_changed_get, _coin.SoVRMLScalarInterpolator_value_changed_set) -SoVRMLScalarInterpolator_swigregister = _coin.SoVRMLScalarInterpolator_swigregister -SoVRMLScalarInterpolator_swigregister(SoVRMLScalarInterpolator) - -def SoVRMLScalarInterpolator_getClassTypeId(*args): - """SoVRMLScalarInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLScalarInterpolator_getClassTypeId(*args) - -def SoVRMLScalarInterpolator_createInstance(*args): - """SoVRMLScalarInterpolator_createInstance() -> void""" - return _coin.SoVRMLScalarInterpolator_createInstance(*args) - -def SoVRMLScalarInterpolator_initClass(*args): - """SoVRMLScalarInterpolator_initClass()""" - return _coin.SoVRMLScalarInterpolator_initClass(*args) - -class SoVRMLScript(SoNode): - """Proxy of C++ SoVRMLScript class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoVRMLScript_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLScript""" - this = _coin.new_SoVRMLScript(*args) - try: self.this.append(this) - except: self.this = this - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLScript_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLScript_getTypeId(*args) - - url = _swig_property(_coin.SoVRMLScript_url_get, _coin.SoVRMLScript_url_set) - directOutput = _swig_property(_coin.SoVRMLScript_directOutput_get, _coin.SoVRMLScript_directOutput_set) - mustEvaluate = _swig_property(_coin.SoVRMLScript_mustEvaluate_get, _coin.SoVRMLScript_mustEvaluate_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLScript_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLScript_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLScript_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLScript_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLScript_pick(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLScript_handleEvent(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLScript_write(*args) - - def setScriptEvaluateCB(*args): - """setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)""" - return _coin.SoVRMLScript_setScriptEvaluateCB(*args) - - setScriptEvaluateCB = staticmethod(setScriptEvaluateCB) -SoVRMLScript_swigregister = _coin.SoVRMLScript_swigregister -SoVRMLScript_swigregister(SoVRMLScript) - -def SoVRMLScript_initClass(*args): - """SoVRMLScript_initClass()""" - return _coin.SoVRMLScript_initClass(*args) - -def SoVRMLScript_getClassTypeId(*args): - """SoVRMLScript_getClassTypeId() -> SoType""" - return _coin.SoVRMLScript_getClassTypeId(*args) - -def SoVRMLScript_setScriptEvaluateCB(*args): - """SoVRMLScript_setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)""" - return _coin.SoVRMLScript_setScriptEvaluateCB(*args) - -class SoVRMLShape(SoNode): - """Proxy of C++ SoVRMLShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLShape_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLShape""" - this = _coin.new_SoVRMLShape(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoVRMLShape_OFF - ON = _coin.SoVRMLShape_ON - AUTO = _coin.SoVRMLShape_AUTO - appearance = _swig_property(_coin.SoVRMLShape_appearance_get, _coin.SoVRMLShape_appearance_set) - geometry = _swig_property(_coin.SoVRMLShape_geometry_get, _coin.SoVRMLShape_geometry_set) - renderCaching = _swig_property(_coin.SoVRMLShape_renderCaching_get, _coin.SoVRMLShape_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoVRMLShape_boundingBoxCaching_get, _coin.SoVRMLShape_boundingBoxCaching_set) - def setNumRenderCaches(*args): - """setNumRenderCaches(int num)""" - return _coin.SoVRMLShape_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoVRMLShape_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLShape_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLShape_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLShape_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLShape_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLShape_getBoundingBox(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLShape_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLShape_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLShape_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLShape_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLShape_getChildren(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLShape_notify(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLShape_copyContents(*args) - -SoVRMLShape_swigregister = _coin.SoVRMLShape_swigregister -SoVRMLShape_swigregister(SoVRMLShape) - -def SoVRMLShape_getClassTypeId(*args): - """SoVRMLShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLShape_getClassTypeId(*args) - -def SoVRMLShape_initClass(*args): - """SoVRMLShape_initClass()""" - return _coin.SoVRMLShape_initClass(*args) - -def SoVRMLShape_setNumRenderCaches(*args): - """SoVRMLShape_setNumRenderCaches(int num)""" - return _coin.SoVRMLShape_setNumRenderCaches(*args) - -def SoVRMLShape_getNumRenderCaches(*args): - """SoVRMLShape_getNumRenderCaches() -> int""" - return _coin.SoVRMLShape_getNumRenderCaches(*args) - -class SoVRMLSound(SoNode): - """Proxy of C++ SoVRMLSound class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSound_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSound_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSound_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSound""" - this = _coin.new_SoVRMLSound(*args) - try: self.this.append(this) - except: self.this = this - source = _swig_property(_coin.SoVRMLSound_source_get, _coin.SoVRMLSound_source_set) - intensity = _swig_property(_coin.SoVRMLSound_intensity_get, _coin.SoVRMLSound_intensity_set) - priority = _swig_property(_coin.SoVRMLSound_priority_get, _coin.SoVRMLSound_priority_set) - location = _swig_property(_coin.SoVRMLSound_location_get, _coin.SoVRMLSound_location_set) - direction = _swig_property(_coin.SoVRMLSound_direction_get, _coin.SoVRMLSound_direction_set) - minFront = _swig_property(_coin.SoVRMLSound_minFront_get, _coin.SoVRMLSound_minFront_set) - maxFront = _swig_property(_coin.SoVRMLSound_maxFront_get, _coin.SoVRMLSound_maxFront_set) - minBack = _swig_property(_coin.SoVRMLSound_minBack_get, _coin.SoVRMLSound_minBack_set) - maxBack = _swig_property(_coin.SoVRMLSound_maxBack_get, _coin.SoVRMLSound_maxBack_set) - spatialize = _swig_property(_coin.SoVRMLSound_spatialize_get, _coin.SoVRMLSound_spatialize_set) - dopplerFactor = _swig_property(_coin.SoVRMLSound_dopplerFactor_get, _coin.SoVRMLSound_dopplerFactor_set) - dopplerVelocity = _swig_property(_coin.SoVRMLSound_dopplerVelocity_get, _coin.SoVRMLSound_dopplerVelocity_set) - def setDopplerVelocity(*args): - """setDopplerVelocity(self, float velocity)""" - return _coin.SoVRMLSound_setDopplerVelocity(*args) - - def getDopplerVelocity(*args): - """getDopplerVelocity(self) -> float""" - return _coin.SoVRMLSound_getDopplerVelocity(*args) - - def setDopplerFactor(*args): - """setDopplerFactor(self, float factor)""" - return _coin.SoVRMLSound_setDopplerFactor(*args) - - def getDopplerFactor(*args): - """getDopplerFactor(self) -> float""" - return _coin.SoVRMLSound_getDopplerFactor(*args) - - def startPlaying(*args): - """startPlaying(self, SoPath path, void userdataptr)""" - return _coin.SoVRMLSound_startPlaying(*args) - - def stopPlaying(*args): - """stopPlaying(self, SoPath path, void userdataptr)""" - return _coin.SoVRMLSound_stopPlaying(*args) - - def setDefaultBufferingProperties(*args): - """setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setDefaultBufferingProperties(*args) - - setDefaultBufferingProperties = staticmethod(setDefaultBufferingProperties) - def setBufferingProperties(*args): - """setBufferingProperties(self, int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setBufferingProperties(*args) - - def getBufferingProperties(*args): - """getBufferingProperties(self, int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_getBufferingProperties(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLSound_audioRender(*args) - -SoVRMLSound_swigregister = _coin.SoVRMLSound_swigregister -SoVRMLSound_swigregister(SoVRMLSound) - -def SoVRMLSound_getClassTypeId(*args): - """SoVRMLSound_getClassTypeId() -> SoType""" - return _coin.SoVRMLSound_getClassTypeId(*args) - -def SoVRMLSound_initClass(*args): - """SoVRMLSound_initClass()""" - return _coin.SoVRMLSound_initClass(*args) - -def SoVRMLSound_setDefaultBufferingProperties(*args): - """SoVRMLSound_setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setDefaultBufferingProperties(*args) - -class SoVRMLSphere(SoVRMLGeometry): - """Proxy of C++ SoVRMLSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSphere""" - this = _coin.new_SoVRMLSphere(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoVRMLSphere_radius_get, _coin.SoVRMLSphere_radius_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSphere_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLSphere_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLSphere_getPrimitiveCount(*args) - -SoVRMLSphere_swigregister = _coin.SoVRMLSphere_swigregister -SoVRMLSphere_swigregister(SoVRMLSphere) - -def SoVRMLSphere_getClassTypeId(*args): - """SoVRMLSphere_getClassTypeId() -> SoType""" - return _coin.SoVRMLSphere_getClassTypeId(*args) - -def SoVRMLSphere_initClass(*args): - """SoVRMLSphere_initClass()""" - return _coin.SoVRMLSphere_initClass(*args) - -class SoVRMLSphereSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLSphereSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSphereSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSphereSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSphereSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSphereSensor""" - this = _coin.new_SoVRMLSphereSensor(*args) - try: self.this.append(this) - except: self.this = this - offset = _swig_property(_coin.SoVRMLSphereSensor_offset_get, _coin.SoVRMLSphereSensor_offset_set) - rotation_changed = _swig_property(_coin.SoVRMLSphereSensor_rotation_changed_get, _coin.SoVRMLSphereSensor_rotation_changed_set) -SoVRMLSphereSensor_swigregister = _coin.SoVRMLSphereSensor_swigregister -SoVRMLSphereSensor_swigregister(SoVRMLSphereSensor) - -def SoVRMLSphereSensor_getClassTypeId(*args): - """SoVRMLSphereSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLSphereSensor_getClassTypeId(*args) - -def SoVRMLSphereSensor_initClass(*args): - """SoVRMLSphereSensor_initClass()""" - return _coin.SoVRMLSphereSensor_initClass(*args) - -class SoVRMLSpotLight(SoVRMLLight): - """Proxy of C++ SoVRMLSpotLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSpotLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSpotLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSpotLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSpotLight""" - this = _coin.new_SoVRMLSpotLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoVRMLSpotLight_location_get, _coin.SoVRMLSpotLight_location_set) - direction = _swig_property(_coin.SoVRMLSpotLight_direction_get, _coin.SoVRMLSpotLight_direction_set) - beamWidth = _swig_property(_coin.SoVRMLSpotLight_beamWidth_get, _coin.SoVRMLSpotLight_beamWidth_set) - cutOffAngle = _swig_property(_coin.SoVRMLSpotLight_cutOffAngle_get, _coin.SoVRMLSpotLight_cutOffAngle_set) - radius = _swig_property(_coin.SoVRMLSpotLight_radius_get, _coin.SoVRMLSpotLight_radius_set) - attenuation = _swig_property(_coin.SoVRMLSpotLight_attenuation_get, _coin.SoVRMLSpotLight_attenuation_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSpotLight_GLRender(*args) - -SoVRMLSpotLight_swigregister = _coin.SoVRMLSpotLight_swigregister -SoVRMLSpotLight_swigregister(SoVRMLSpotLight) - -def SoVRMLSpotLight_getClassTypeId(*args): - """SoVRMLSpotLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLSpotLight_getClassTypeId(*args) - -def SoVRMLSpotLight_initClass(*args): - """SoVRMLSpotLight_initClass()""" - return _coin.SoVRMLSpotLight_initClass(*args) - -class SoVRMLSwitch(SoGroup): - """Proxy of C++ SoVRMLSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLSwitch - __init__(self, int choices) -> SoVRMLSwitch - """ - this = _coin.new_SoVRMLSwitch(*args) - try: self.this.append(this) - except: self.this = this - choice = _swig_property(_coin.SoVRMLSwitch_choice_get, _coin.SoVRMLSwitch_choice_set) - whichChoice = _swig_property(_coin.SoVRMLSwitch_whichChoice_get, _coin.SoVRMLSwitch_whichChoice_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLSwitch_affectsState(*args) - - def addChoice(*args): - """addChoice(self, SoNode choice)""" - return _coin.SoVRMLSwitch_addChoice(*args) - - def insertChoice(*args): - """insertChoice(self, SoNode choice, int idx)""" - return _coin.SoVRMLSwitch_insertChoice(*args) - - def getChoice(*args): - """getChoice(self, int idx) -> SoNode""" - return _coin.SoVRMLSwitch_getChoice(*args) - - def findChoice(*args): - """findChoice(self, SoNode choice) -> int""" - return _coin.SoVRMLSwitch_findChoice(*args) - - def getNumChoices(*args): - """getNumChoices(self) -> int""" - return _coin.SoVRMLSwitch_getNumChoices(*args) - - def removeChoice(*args): - """ - removeChoice(self, int idx) - removeChoice(self, SoNode node) - """ - return _coin.SoVRMLSwitch_removeChoice(*args) - - def removeAllChoices(*args): - """removeAllChoices(self)""" - return _coin.SoVRMLSwitch_removeAllChoices(*args) - - def replaceChoice(*args): - """ - replaceChoice(self, int idx, SoNode choice) - replaceChoice(self, SoNode old, SoNode choice) - """ - return _coin.SoVRMLSwitch_replaceChoice(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLSwitch_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLSwitch_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLSwitch_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLSwitch_write(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLSwitch_audioRender(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLSwitch_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLSwitch_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLSwitch_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLSwitch_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLSwitch_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLSwitch_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLSwitch_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode node) - replaceChild(self, SoNode old, SoNode node) - """ - return _coin.SoVRMLSwitch_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLSwitch_getChildren(*args) - -SoVRMLSwitch_swigregister = _coin.SoVRMLSwitch_swigregister -SoVRMLSwitch_swigregister(SoVRMLSwitch) - -def SoVRMLSwitch_getClassTypeId(*args): - """SoVRMLSwitch_getClassTypeId() -> SoType""" - return _coin.SoVRMLSwitch_getClassTypeId(*args) - -def SoVRMLSwitch_initClass(*args): - """SoVRMLSwitch_initClass()""" - return _coin.SoVRMLSwitch_initClass(*args) - -class SoVRMLText(SoVRMLGeometry): - """Proxy of C++ SoVRMLText class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLText_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLText_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLText_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLText""" - this = _coin.new_SoVRMLText(*args) - try: self.this.append(this) - except: self.this = this - string = _swig_property(_coin.SoVRMLText_string_get, _coin.SoVRMLText_string_set) - fontStyle = _swig_property(_coin.SoVRMLText_fontStyle_get, _coin.SoVRMLText_fontStyle_set) - maxExtent = _swig_property(_coin.SoVRMLText_maxExtent_get, _coin.SoVRMLText_maxExtent_set) - length = _swig_property(_coin.SoVRMLText_length_get, _coin.SoVRMLText_length_set) - BEGIN = _coin.SoVRMLText_BEGIN - END = _coin.SoVRMLText_END - MIDDLE = _coin.SoVRMLText_MIDDLE - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLText_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLText_getPrimitiveCount(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLText_notify(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLText_getChildren(*args) - -SoVRMLText_swigregister = _coin.SoVRMLText_swigregister -SoVRMLText_swigregister(SoVRMLText) - -def SoVRMLText_getClassTypeId(*args): - """SoVRMLText_getClassTypeId() -> SoType""" - return _coin.SoVRMLText_getClassTypeId(*args) - -def SoVRMLText_initClass(*args): - """SoVRMLText_initClass()""" - return _coin.SoVRMLText_initClass(*args) - -class SoVRMLTextureCoordinate(SoNode): - """Proxy of C++ SoVRMLTextureCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTextureCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTextureCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTextureCoordinate""" - this = _coin.new_SoVRMLTextureCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoVRMLTextureCoordinate_point_get, _coin.SoVRMLTextureCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTextureCoordinate_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTextureCoordinate_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTextureCoordinate_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLTextureCoordinate_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLTextureCoordinate_getPrimitiveCount(*args) - -SoVRMLTextureCoordinate_swigregister = _coin.SoVRMLTextureCoordinate_swigregister -SoVRMLTextureCoordinate_swigregister(SoVRMLTextureCoordinate) - -def SoVRMLTextureCoordinate_getClassTypeId(*args): - """SoVRMLTextureCoordinate_getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureCoordinate_getClassTypeId(*args) - -def SoVRMLTextureCoordinate_initClass(*args): - """SoVRMLTextureCoordinate_initClass()""" - return _coin.SoVRMLTextureCoordinate_initClass(*args) - -class SoVRMLTextureTransform(SoNode): - """Proxy of C++ SoVRMLTextureTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTextureTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTextureTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTextureTransform""" - this = _coin.new_SoVRMLTextureTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoVRMLTextureTransform_translation_get, _coin.SoVRMLTextureTransform_translation_set) - rotation = _swig_property(_coin.SoVRMLTextureTransform_rotation_get, _coin.SoVRMLTextureTransform_rotation_set) - scale = _swig_property(_coin.SoVRMLTextureTransform_scale_get, _coin.SoVRMLTextureTransform_scale_set) - center = _swig_property(_coin.SoVRMLTextureTransform_center_get, _coin.SoVRMLTextureTransform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTextureTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTextureTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTextureTransform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLTextureTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLTextureTransform_pick(*args) - -SoVRMLTextureTransform_swigregister = _coin.SoVRMLTextureTransform_swigregister -SoVRMLTextureTransform_swigregister(SoVRMLTextureTransform) - -def SoVRMLTextureTransform_getClassTypeId(*args): - """SoVRMLTextureTransform_getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureTransform_getClassTypeId(*args) - -def SoVRMLTextureTransform_initClass(*args): - """SoVRMLTextureTransform_initClass()""" - return _coin.SoVRMLTextureTransform_initClass(*args) - -class SoVRMLTimeSensor(SoNodeEngine): - """Proxy of C++ SoVRMLTimeSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTimeSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTimeSensor_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLTimeSensor_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLTimeSensor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTimeSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTimeSensor""" - this = _coin.new_SoVRMLTimeSensor(*args) - try: self.this.append(this) - except: self.this = this - cycleInterval = _swig_property(_coin.SoVRMLTimeSensor_cycleInterval_get, _coin.SoVRMLTimeSensor_cycleInterval_set) - enabled = _swig_property(_coin.SoVRMLTimeSensor_enabled_get, _coin.SoVRMLTimeSensor_enabled_set) - loop = _swig_property(_coin.SoVRMLTimeSensor_loop_get, _coin.SoVRMLTimeSensor_loop_set) - startTime = _swig_property(_coin.SoVRMLTimeSensor_startTime_get, _coin.SoVRMLTimeSensor_startTime_set) - stopTime = _swig_property(_coin.SoVRMLTimeSensor_stopTime_get, _coin.SoVRMLTimeSensor_stopTime_set) - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLTimeSensor_notify(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLTimeSensor_handleEvent(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLTimeSensor_write(*args) - - cycleTime = _swig_property(_coin.SoVRMLTimeSensor_cycleTime_get, _coin.SoVRMLTimeSensor_cycleTime_set) - fraction_changed = _swig_property(_coin.SoVRMLTimeSensor_fraction_changed_get, _coin.SoVRMLTimeSensor_fraction_changed_set) - isActive = _swig_property(_coin.SoVRMLTimeSensor_isActive_get, _coin.SoVRMLTimeSensor_isActive_set) - time = _swig_property(_coin.SoVRMLTimeSensor_time_get, _coin.SoVRMLTimeSensor_time_set) -SoVRMLTimeSensor_swigregister = _coin.SoVRMLTimeSensor_swigregister -SoVRMLTimeSensor_swigregister(SoVRMLTimeSensor) - -def SoVRMLTimeSensor_getClassTypeId(*args): - """SoVRMLTimeSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLTimeSensor_getClassTypeId(*args) - -def SoVRMLTimeSensor_createInstance(*args): - """SoVRMLTimeSensor_createInstance() -> void""" - return _coin.SoVRMLTimeSensor_createInstance(*args) - -def SoVRMLTimeSensor_initClass(*args): - """SoVRMLTimeSensor_initClass()""" - return _coin.SoVRMLTimeSensor_initClass(*args) - -class SoVRMLTouchSensor(SoNode): - """Proxy of C++ SoVRMLTouchSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTouchSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTouchSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTouchSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTouchSensor""" - this = _coin.new_SoVRMLTouchSensor(*args) - try: self.this.append(this) - except: self.this = this - enabled = _swig_property(_coin.SoVRMLTouchSensor_enabled_get, _coin.SoVRMLTouchSensor_enabled_set) - hitNormal_changed = _swig_property(_coin.SoVRMLTouchSensor_hitNormal_changed_get, _coin.SoVRMLTouchSensor_hitNormal_changed_set) - hitPoint_changed = _swig_property(_coin.SoVRMLTouchSensor_hitPoint_changed_get, _coin.SoVRMLTouchSensor_hitPoint_changed_set) - hitTexCoord_changed = _swig_property(_coin.SoVRMLTouchSensor_hitTexCoord_changed_get, _coin.SoVRMLTouchSensor_hitTexCoord_changed_set) - isActive = _swig_property(_coin.SoVRMLTouchSensor_isActive_get, _coin.SoVRMLTouchSensor_isActive_set) - isOver = _swig_property(_coin.SoVRMLTouchSensor_isOver_get, _coin.SoVRMLTouchSensor_isOver_set) - touchTime = _swig_property(_coin.SoVRMLTouchSensor_touchTime_get, _coin.SoVRMLTouchSensor_touchTime_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLTouchSensor_affectsState(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLTouchSensor_handleEvent(*args) - -SoVRMLTouchSensor_swigregister = _coin.SoVRMLTouchSensor_swigregister -SoVRMLTouchSensor_swigregister(SoVRMLTouchSensor) - -def SoVRMLTouchSensor_getClassTypeId(*args): - """SoVRMLTouchSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLTouchSensor_getClassTypeId(*args) - -def SoVRMLTouchSensor_initClass(*args): - """SoVRMLTouchSensor_initClass()""" - return _coin.SoVRMLTouchSensor_initClass(*args) - -class SoVRMLTransform(SoVRMLGroup): - """Proxy of C++ SoVRMLTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLTransform - __init__(self, int children) -> SoVRMLTransform - """ - this = _coin.new_SoVRMLTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoVRMLTransform_translation_get, _coin.SoVRMLTransform_translation_set) - rotation = _swig_property(_coin.SoVRMLTransform_rotation_get, _coin.SoVRMLTransform_rotation_set) - scale = _swig_property(_coin.SoVRMLTransform_scale_get, _coin.SoVRMLTransform_scale_set) - scaleOrientation = _swig_property(_coin.SoVRMLTransform_scaleOrientation_get, _coin.SoVRMLTransform_scaleOrientation_set) - center = _swig_property(_coin.SoVRMLTransform_center_get, _coin.SoVRMLTransform_center_set) - def pointAt(*args): - """pointAt(self, SbVec3f from, SbVec3f to)""" - return _coin.SoVRMLTransform_pointAt(*args) - - def getScaleSpaceMatrix(*args): - """getScaleSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getScaleSpaceMatrix(*args) - - def getRotationSpaceMatrix(*args): - """getRotationSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getRotationSpaceMatrix(*args) - - def getTranslationSpaceMatrix(*args): - """getTranslationSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getTranslationSpaceMatrix(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_multLeft(*args) - - def multRight(*args): - """multRight(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_multRight(*args) - - def combineLeft(*args): - """combineLeft(self, SoVRMLTransform leftnode)""" - return _coin.SoVRMLTransform_combineLeft(*args) - - def combineRight(*args): - """combineRight(self, SoVRMLTransform rightnode)""" - return _coin.SoVRMLTransform_combineRight(*args) - - def setMatrix(*args): - """setMatrix(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_setMatrix(*args) - - def recenter(*args): - """recenter(self, SbVec3f newcenter)""" - return _coin.SoVRMLTransform_recenter(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTransform_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLTransform_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLTransform_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLTransform_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLTransform_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLTransform_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLTransform_GLRenderInPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLTransform_notify(*args) - -SoVRMLTransform_swigregister = _coin.SoVRMLTransform_swigregister -SoVRMLTransform_swigregister(SoVRMLTransform) - -def SoVRMLTransform_getClassTypeId(*args): - """SoVRMLTransform_getClassTypeId() -> SoType""" - return _coin.SoVRMLTransform_getClassTypeId(*args) - -def SoVRMLTransform_initClass(*args): - """SoVRMLTransform_initClass()""" - return _coin.SoVRMLTransform_initClass(*args) - -class SoVRMLViewpoint(SoNode): - """Proxy of C++ SoVRMLViewpoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLViewpoint_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLViewpoint_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLViewpoint_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLViewpoint""" - this = _coin.new_SoVRMLViewpoint(*args) - try: self.this.append(this) - except: self.this = this - position = _swig_property(_coin.SoVRMLViewpoint_position_get, _coin.SoVRMLViewpoint_position_set) - orientation = _swig_property(_coin.SoVRMLViewpoint_orientation_get, _coin.SoVRMLViewpoint_orientation_set) - fieldOfView = _swig_property(_coin.SoVRMLViewpoint_fieldOfView_get, _coin.SoVRMLViewpoint_fieldOfView_set) - description = _swig_property(_coin.SoVRMLViewpoint_description_get, _coin.SoVRMLViewpoint_description_set) - jump = _swig_property(_coin.SoVRMLViewpoint_jump_get, _coin.SoVRMLViewpoint_jump_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLViewpoint_GLRender(*args) - -SoVRMLViewpoint_swigregister = _coin.SoVRMLViewpoint_swigregister -SoVRMLViewpoint_swigregister(SoVRMLViewpoint) - -def SoVRMLViewpoint_getClassTypeId(*args): - """SoVRMLViewpoint_getClassTypeId() -> SoType""" - return _coin.SoVRMLViewpoint_getClassTypeId(*args) - -def SoVRMLViewpoint_initClass(*args): - """SoVRMLViewpoint_initClass()""" - return _coin.SoVRMLViewpoint_initClass(*args) - -class SoVRMLVisibilitySensor(SoNode): - """Proxy of C++ SoVRMLVisibilitySensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVisibilitySensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVisibilitySensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVisibilitySensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLVisibilitySensor""" - this = _coin.new_SoVRMLVisibilitySensor(*args) - try: self.this.append(this) - except: self.this = this - center = _swig_property(_coin.SoVRMLVisibilitySensor_center_get, _coin.SoVRMLVisibilitySensor_center_set) - size = _swig_property(_coin.SoVRMLVisibilitySensor_size_get, _coin.SoVRMLVisibilitySensor_size_set) - enabled = _swig_property(_coin.SoVRMLVisibilitySensor_enabled_get, _coin.SoVRMLVisibilitySensor_enabled_set) - enterTime = _swig_property(_coin.SoVRMLVisibilitySensor_enterTime_get, _coin.SoVRMLVisibilitySensor_enterTime_set) - exitTime = _swig_property(_coin.SoVRMLVisibilitySensor_exitTime_get, _coin.SoVRMLVisibilitySensor_exitTime_set) - isActive = _swig_property(_coin.SoVRMLVisibilitySensor_isActive_get, _coin.SoVRMLVisibilitySensor_isActive_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVisibilitySensor_GLRender(*args) - -SoVRMLVisibilitySensor_swigregister = _coin.SoVRMLVisibilitySensor_swigregister -SoVRMLVisibilitySensor_swigregister(SoVRMLVisibilitySensor) - -def SoVRMLVisibilitySensor_getClassTypeId(*args): - """SoVRMLVisibilitySensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLVisibilitySensor_getClassTypeId(*args) - -def SoVRMLVisibilitySensor_initClass(*args): - """SoVRMLVisibilitySensor_initClass()""" - return _coin.SoVRMLVisibilitySensor_initClass(*args) - -class SoVRMLWorldInfo(SoNode): - """Proxy of C++ SoVRMLWorldInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLWorldInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLWorldInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLWorldInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLWorldInfo""" - this = _coin.new_SoVRMLWorldInfo(*args) - try: self.this.append(this) - except: self.this = this - title = _swig_property(_coin.SoVRMLWorldInfo_title_get, _coin.SoVRMLWorldInfo_title_set) - info = _swig_property(_coin.SoVRMLWorldInfo_info_get, _coin.SoVRMLWorldInfo_info_set) -SoVRMLWorldInfo_swigregister = _coin.SoVRMLWorldInfo_swigregister -SoVRMLWorldInfo_swigregister(SoVRMLWorldInfo) - -def SoVRMLWorldInfo_getClassTypeId(*args): - """SoVRMLWorldInfo_getClassTypeId() -> SoType""" - return _coin.SoVRMLWorldInfo_getClassTypeId(*args) - -def SoVRMLWorldInfo_initClass(*args): - """SoVRMLWorldInfo_initClass()""" - return _coin.SoVRMLWorldInfo_initClass(*args) - -class SoEventManager(object): - """Proxy of C++ SoEventManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoEventManager""" - this = _coin.new_SoEventManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEventManager - __del__ = lambda self : None; - NO_NAVIGATION = _coin.SoEventManager_NO_NAVIGATION - JUST_NAVIGATION = _coin.SoEventManager_JUST_NAVIGATION - MIXED_NAVIGATION = _coin.SoEventManager_MIXED_NAVIGATION - def setSceneGraph(*args): - """setSceneGraph(self, SoNode sceneroot)""" - return _coin.SoEventManager_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _coin.SoEventManager_getSceneGraph(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _coin.SoEventManager_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _coin.SoEventManager_getCamera(*args) - - def processEvent(*args): - """processEvent(self, SoEvent event) -> SbBool""" - return _coin.SoEventManager_processEvent(*args) - - def setNavigationState(*args): - """setNavigationState(self, NavigationState state)""" - return _coin.SoEventManager_setNavigationState(*args) - - def getNavigationState(*args): - """getNavigationState(self) -> NavigationState""" - return _coin.SoEventManager_getNavigationState(*args) - - def getNumSoScXMLStateMachines(*args): - """getNumSoScXMLStateMachines(self) -> int""" - return _coin.SoEventManager_getNumSoScXMLStateMachines(*args) - - def getSoScXMLStateMachine(*args): - """getSoScXMLStateMachine(self, int idx) -> SoScXMLStateMachine""" - return _coin.SoEventManager_getSoScXMLStateMachine(*args) - - def addSoScXMLStateMachine(*args): - """addSoScXMLStateMachine(self, SoScXMLStateMachine sm)""" - return _coin.SoEventManager_addSoScXMLStateMachine(*args) - - def removeSoScXMLStateMachine(*args): - """removeSoScXMLStateMachine(self, SoScXMLStateMachine sm)""" - return _coin.SoEventManager_removeSoScXMLStateMachine(*args) - - def setSize(*args): - """setSize(self, SbVec2s newsize)""" - return _coin.SoEventManager_setSize(*args) - - def setOrigin(*args): - """setOrigin(self, SbVec2s newOrigin)""" - return _coin.SoEventManager_setOrigin(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoEventManager_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoEventManager_getViewportRegion(*args) - - def setHandleEventAction(*args): - """setHandleEventAction(self, SoHandleEventAction hea)""" - return _coin.SoEventManager_setHandleEventAction(*args) - - def getHandleEventAction(*args): - """getHandleEventAction(self) -> SoHandleEventAction""" - return _coin.SoEventManager_getHandleEventAction(*args) - -SoEventManager_swigregister = _coin.SoEventManager_swigregister -SoEventManager_swigregister(SoEventManager) - -class SoRenderManager(object): - """Proxy of C++ SoRenderManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - AS_IS = _coin.SoRenderManager_AS_IS - WIREFRAME = _coin.SoRenderManager_WIREFRAME - POINTS = _coin.SoRenderManager_POINTS - WIREFRAME_OVERLAY = _coin.SoRenderManager_WIREFRAME_OVERLAY - HIDDEN_LINE = _coin.SoRenderManager_HIDDEN_LINE - BOUNDING_BOX = _coin.SoRenderManager_BOUNDING_BOX - MONO = _coin.SoRenderManager_MONO - ANAGLYPH = _coin.SoRenderManager_ANAGLYPH - SEPARATE_OUTPUT = _coin.SoRenderManager_SEPARATE_OUTPUT - QUAD_BUFFER = _coin.SoRenderManager_QUAD_BUFFER - INTERLEAVED_ROWS = _coin.SoRenderManager_INTERLEAVED_ROWS - INTERLEAVED_COLUMNS = _coin.SoRenderManager_INTERLEAVED_COLUMNS - BUFFER_SINGLE = _coin.SoRenderManager_BUFFER_SINGLE - BUFFER_DOUBLE = _coin.SoRenderManager_BUFFER_DOUBLE - NO_AUTO_CLIPPING = _coin.SoRenderManager_NO_AUTO_CLIPPING - FIXED_NEAR_PLANE = _coin.SoRenderManager_FIXED_NEAR_PLANE - VARIABLE_NEAR_PLANE = _coin.SoRenderManager_VARIABLE_NEAR_PLANE - def __init__(self, *args): - """__init__(self) -> SoRenderManager""" - this = _coin.new_SoRenderManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoRenderManager - __del__ = lambda self : None; - def render(*args): - """ - render(self, SbBool clearwindow=1, SbBool clearzbuffer=1) - render(self, SbBool clearwindow=1) - render(self) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, - SbBool clearzbuffer=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1) - render(self, SoGLRenderAction action) - """ - return _coin.SoRenderManager_render(*args) - - def addSuperimposition(*args): - """ - addSuperimposition(self, SoNode scene, uint32_t flags=Superimposition::AUTOREDRAW|Superimposition::ZBUFFERON|Superimposition::CLEARZBUFFER) -> Superimposition - addSuperimposition(self, SoNode scene) -> Superimposition - """ - return _coin.SoRenderManager_addSuperimposition(*args) - - def removeSuperimposition(*args): - """removeSuperimposition(self, Superimposition s)""" - return _coin.SoRenderManager_removeSuperimposition(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode sceneroot)""" - return _coin.SoRenderManager_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _coin.SoRenderManager_getSceneGraph(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _coin.SoRenderManager_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _coin.SoRenderManager_getCamera(*args) - - def setAutoClipping(*args): - """setAutoClipping(self, AutoClippingStrategy autoclipping)""" - return _coin.SoRenderManager_setAutoClipping(*args) - - def attachRootSensor(*args): - """attachRootSensor(self, SoNode sceneroot)""" - return _coin.SoRenderManager_attachRootSensor(*args) - - def attachClipSensor(*args): - """attachClipSensor(self, SoNode sceneroot)""" - return _coin.SoRenderManager_attachClipSensor(*args) - - def detachRootSensor(*args): - """detachRootSensor(self)""" - return _coin.SoRenderManager_detachRootSensor(*args) - - def detachClipSensor(*args): - """detachClipSensor(self)""" - return _coin.SoRenderManager_detachClipSensor(*args) - - def getAutoClipping(*args): - """getAutoClipping(self) -> AutoClippingStrategy""" - return _coin.SoRenderManager_getAutoClipping(*args) - - def setNearPlaneValue(*args): - """setNearPlaneValue(self, float value)""" - return _coin.SoRenderManager_setNearPlaneValue(*args) - - def getNearPlaneValue(*args): - """getNearPlaneValue(self) -> float""" - return _coin.SoRenderManager_getNearPlaneValue(*args) - - def setTexturesEnabled(*args): - """setTexturesEnabled(self, SbBool onoff)""" - return _coin.SoRenderManager_setTexturesEnabled(*args) - - def isTexturesEnabled(*args): - """isTexturesEnabled(self) -> SbBool""" - return _coin.SoRenderManager_isTexturesEnabled(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _coin.SoRenderManager_setDoubleBuffer(*args) - - def isDoubleBuffer(*args): - """isDoubleBuffer(self) -> SbBool""" - return _coin.SoRenderManager_isDoubleBuffer(*args) - - def setRenderMode(*args): - """setRenderMode(self, RenderMode mode)""" - return _coin.SoRenderManager_setRenderMode(*args) - - def getRenderMode(*args): - """getRenderMode(self) -> RenderMode""" - return _coin.SoRenderManager_getRenderMode(*args) - - def setStereoMode(*args): - """setStereoMode(self, StereoMode mode)""" - return _coin.SoRenderManager_setStereoMode(*args) - - def getStereoMode(*args): - """getStereoMode(self) -> StereoMode""" - return _coin.SoRenderManager_getStereoMode(*args) - - def setStereoOffset(*args): - """setStereoOffset(self, float offset)""" - return _coin.SoRenderManager_setStereoOffset(*args) - - def getStereoOffset(*args): - """getStereoOffset(self) -> float""" - return _coin.SoRenderManager_getStereoOffset(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _coin.SoRenderManager_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _coin.SoRenderManager_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _coin.SoRenderManager_getRedrawPriority(*args) - - def nodesensorCB(*args): - """nodesensorCB(void data, SoSensor ?)""" - return _coin.SoRenderManager_nodesensorCB(*args) - - nodesensorCB = staticmethod(nodesensorCB) - def prerendercb(*args): - """prerendercb(void userdata, SoGLRenderAction action)""" - return _coin.SoRenderManager_prerendercb(*args) - - prerendercb = staticmethod(prerendercb) - def reinitialize(*args): - """reinitialize(self)""" - return _coin.SoRenderManager_reinitialize(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _coin.SoRenderManager_scheduleRedraw(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s newsize)""" - return _coin.SoRenderManager_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _coin.SoRenderManager_getWindowSize(*args) - - def setSize(*args): - """setSize(self, SbVec2s newsize)""" - return _coin.SoRenderManager_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _coin.SoRenderManager_getSize(*args) - - def setOrigin(*args): - """setOrigin(self, SbVec2s newOrigin)""" - return _coin.SoRenderManager_setOrigin(*args) - - def getOrigin(*args): - """getOrigin(self) -> SbVec2s""" - return _coin.SoRenderManager_getOrigin(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _coin.SoRenderManager_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoRenderManager_getViewportRegion(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor4f color)""" - return _coin.SoRenderManager_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor4f""" - return _coin.SoRenderManager_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int index)""" - return _coin.SoRenderManager_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _coin.SoRenderManager_getBackgroundIndex(*args) - - def setRGBMode(*args): - """setRGBMode(self, SbBool onOrOff)""" - return _coin.SoRenderManager_setRGBMode(*args) - - def isRGBMode(*args): - """isRGBMode(self) -> SbBool""" - return _coin.SoRenderManager_isRGBMode(*args) - - def activate(*args): - """activate(self)""" - return _coin.SoRenderManager_activate(*args) - - def deactivate(*args): - """deactivate(self)""" - return _coin.SoRenderManager_deactivate(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoRenderManager_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoRenderManager_getAntialiasing(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _coin.SoRenderManager_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _coin.SoRenderManager_getGLRenderAction(*args) - - def setAudioRenderAction(*args): - """setAudioRenderAction(self, SoAudioRenderAction action)""" - return _coin.SoRenderManager_setAudioRenderAction(*args) - - def getAudioRenderAction(*args): - """getAudioRenderAction(self) -> SoAudioRenderAction""" - return _coin.SoRenderManager_getAudioRenderAction(*args) - - def enableRealTimeUpdate(*args): - """enableRealTimeUpdate(SbBool flag)""" - return _coin.SoRenderManager_enableRealTimeUpdate(*args) - - enableRealTimeUpdate = staticmethod(enableRealTimeUpdate) - def isRealTimeUpdateEnabled(*args): - """isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoRenderManager_isRealTimeUpdateEnabled(*args) - - isRealTimeUpdateEnabled = staticmethod(isRealTimeUpdateEnabled) - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoRenderManager_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def setRenderCallback(*args): - """ - setRenderCallback(self, SoRenderManagerRenderCB f, void userData=None) - setRenderCallback(self, SoRenderManagerRenderCB f) - setRenderCallback(self, PyObject pyfunc, PyObject userData=None) - setRenderCallback(self, PyObject pyfunc) - """ - return _coin.SoRenderManager_setRenderCallback(*args) - - def addPreRenderCallback(*args): - """ - addPreRenderCallback(self, SoRenderManagerRenderCB cb, void data) - addPreRenderCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoRenderManager_addPreRenderCallback(*args) - - def removePreRenderCallback(*args): - """ - removePreRenderCallback(self, SoRenderManagerRenderCB cb, void data) - removePreRenderCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoRenderManager_removePreRenderCallback(*args) - - def addPostRenderCallback(*args): - """ - addPostRenderCallback(self, SoRenderManagerRenderCB cb, void data) - addPostRenderCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoRenderManager_addPostRenderCallback(*args) - - def removePostRenderCallback(*args): - """ - removePostRenderCallback(self, SoRenderManagerRenderCB cb, void data) - removePostRenderCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoRenderManager_removePostRenderCallback(*args) - -SoRenderManager_swigregister = _coin.SoRenderManager_swigregister -SoRenderManager_swigregister(SoRenderManager) - -def SoRenderManager_nodesensorCB(*args): - """SoRenderManager_nodesensorCB(void data, SoSensor ?)""" - return _coin.SoRenderManager_nodesensorCB(*args) - -def SoRenderManager_prerendercb(*args): - """SoRenderManager_prerendercb(void userdata, SoGLRenderAction action)""" - return _coin.SoRenderManager_prerendercb(*args) - -def SoRenderManager_enableRealTimeUpdate(*args): - """SoRenderManager_enableRealTimeUpdate(SbBool flag)""" - return _coin.SoRenderManager_enableRealTimeUpdate(*args) - -def SoRenderManager_isRealTimeUpdateEnabled(*args): - """SoRenderManager_isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoRenderManager_isRealTimeUpdateEnabled(*args) - -def SoRenderManager_getDefaultRedrawPriority(*args): - """SoRenderManager_getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoRenderManager_getDefaultRedrawPriority(*args) - -class ScXMLObject(object): - """Proxy of C++ ScXMLObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.ScXMLObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.ScXMLObject_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.ScXMLObject_initClass(*args) - - initClass = staticmethod(initClass) - __swig_destroy__ = _coin.delete_ScXMLObject - __del__ = lambda self : None; - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.ScXMLObject_isOfType(*args) - - def setXMLAttribute(*args): - """setXMLAttribute(self, char attribute, char value)""" - return _coin.ScXMLObject_setXMLAttribute(*args) - - def getXMLAttribute(*args): - """getXMLAttribute(self, char attribute) -> char""" - return _coin.ScXMLObject_getXMLAttribute(*args) - - def handleXMLAttributes(*args): - """handleXMLAttributes(self) -> SbBool""" - return _coin.ScXMLObject_handleXMLAttributes(*args) - - def setContainer(*args): - """setContainer(self, ScXMLObject container)""" - return _coin.ScXMLObject_setContainer(*args) - - def getContainer(*args): - """getContainer(self) -> ScXMLObject""" - return _coin.ScXMLObject_getContainer(*args) - - def isContainedIn(*args): - """isContainedIn(self, ScXMLObject object) -> SbBool""" - return _coin.ScXMLObject_isContainedIn(*args) - -ScXMLObject_swigregister = _coin.ScXMLObject_swigregister -ScXMLObject_swigregister(ScXMLObject) - -def ScXMLObject_getClassTypeId(*args): - """ScXMLObject_getClassTypeId() -> SoType""" - return _coin.ScXMLObject_getClassTypeId(*args) - -def ScXMLObject_initClass(*args): - """ScXMLObject_initClass()""" - return _coin.ScXMLObject_initClass(*args) - -class ScXMLEvent(ScXMLObject): - """Proxy of C++ ScXMLEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.ScXMLEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.ScXMLEvent_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.ScXMLEvent_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.ScXMLEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> ScXMLEvent""" - this = _coin.new_ScXMLEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_ScXMLEvent - __del__ = lambda self : None; - def setIdentifier(*args): - """setIdentifier(self, SbName identifier)""" - return _coin.ScXMLEvent_setIdentifier(*args) - - def getIdentifier(*args): - """getIdentifier(self) -> SbName""" - return _coin.ScXMLEvent_getIdentifier(*args) - -ScXMLEvent_swigregister = _coin.ScXMLEvent_swigregister -ScXMLEvent_swigregister(ScXMLEvent) - -def ScXMLEvent_getClassTypeId(*args): - """ScXMLEvent_getClassTypeId() -> SoType""" - return _coin.ScXMLEvent_getClassTypeId(*args) - -def ScXMLEvent_createInstance(*args): - """ScXMLEvent_createInstance() -> void""" - return _coin.ScXMLEvent_createInstance(*args) - -def ScXMLEvent_initClass(*args): - """ScXMLEvent_initClass()""" - return _coin.ScXMLEvent_initClass(*args) - -SCXML_DEFAULT_NS = _coin.SCXML_DEFAULT_NS -SCXML_COIN_NS = _coin.SCXML_COIN_NS -class ScXML(object): - """Proxy of C++ ScXML class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClasses(*args): - """initClasses()""" - return _coin.ScXML_initClasses(*args) - - initClasses = staticmethod(initClasses) - def readFile(*args): - """readFile(char filename) -> ScXMLStateMachine""" - return _coin.ScXML_readFile(*args) - - readFile = staticmethod(readFile) - def readBuffer(*args): - """readBuffer(char bufferdata) -> ScXMLStateMachine""" - return _coin.ScXML_readBuffer(*args) - - readBuffer = staticmethod(readBuffer) - def __init__(self, *args): - """__init__(self) -> ScXML""" - this = _coin.new_ScXML(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_ScXML - __del__ = lambda self : None; -ScXML_swigregister = _coin.ScXML_swigregister -ScXML_swigregister(ScXML) - -def ScXML_initClasses(*args): - """ScXML_initClasses()""" - return _coin.ScXML_initClasses(*args) - -def ScXML_readFile(*args): - """ScXML_readFile(char filename) -> ScXMLStateMachine""" - return _coin.ScXML_readFile(*args) - -def ScXML_readBuffer(*args): - """ScXML_readBuffer(char bufferdata) -> ScXMLStateMachine""" - return _coin.ScXML_readBuffer(*args) - -class ScXMLInvoke(ScXMLObject): - """Proxy of C++ ScXMLInvoke class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.ScXMLInvoke_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.ScXMLInvoke_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.ScXMLInvoke_initClass(*args) - - initClass = staticmethod(initClass) - __swig_destroy__ = _coin.delete_ScXMLInvoke - __del__ = lambda self : None; - def setTargetTypeAttribute(*args): - """setTargetTypeAttribute(self, char id)""" - return _coin.ScXMLInvoke_setTargetTypeAttribute(*args) - - def getTargetTypeAttribute(*args): - """getTargetTypeAttribute(self) -> char""" - return _coin.ScXMLInvoke_getTargetTypeAttribute(*args) - - def setSrcAttribute(*args): - """setSrcAttribute(self, char id)""" - return _coin.ScXMLInvoke_setSrcAttribute(*args) - - def getSrcAttribute(*args): - """getSrcAttribute(self) -> char""" - return _coin.ScXMLInvoke_getSrcAttribute(*args) - - def setSrcExprAttribute(*args): - """setSrcExprAttribute(self, char id)""" - return _coin.ScXMLInvoke_setSrcExprAttribute(*args) - - def getSrcExprAttribute(*args): - """getSrcExprAttribute(self) -> char""" - return _coin.ScXMLInvoke_getSrcExprAttribute(*args) - - def handleXMLAttributes(*args): - """handleXMLAttributes(self) -> SbBool""" - return _coin.ScXMLInvoke_handleXMLAttributes(*args) - - def invoke(*args): - """invoke(self, ScXMLStateMachine statemachine)""" - return _coin.ScXMLInvoke_invoke(*args) - -ScXMLInvoke_swigregister = _coin.ScXMLInvoke_swigregister -ScXMLInvoke_swigregister(ScXMLInvoke) - -def ScXMLInvoke_getClassTypeId(*args): - """ScXMLInvoke_getClassTypeId() -> SoType""" - return _coin.ScXMLInvoke_getClassTypeId(*args) - -def ScXMLInvoke_initClass(*args): - """ScXMLInvoke_initClass()""" - return _coin.ScXMLInvoke_initClass(*args) - -class ScXMLStateMachine(ScXMLObject): - """Proxy of C++ ScXMLStateMachine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.ScXMLStateMachine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.ScXMLStateMachine_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.ScXMLStateMachine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.ScXMLStateMachine_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> ScXMLStateMachine""" - this = _coin.new_ScXMLStateMachine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_ScXMLStateMachine - __del__ = lambda self : None; - def setName(*args): - """setName(self, SbName name)""" - return _coin.ScXMLStateMachine_setName(*args) - - def getName(*args): - """getName(self) -> SbName""" - return _coin.ScXMLStateMachine_getName(*args) - - def setDescription(*args): - """setDescription(self, ScXMLDocument document)""" - return _coin.ScXMLStateMachine_setDescription(*args) - - def getDescription(*args): - """getDescription(self) -> ScXMLDocument""" - return _coin.ScXMLStateMachine_getDescription(*args) - - def initialize(*args): - """initialize(self)""" - return _coin.ScXMLStateMachine_initialize(*args) - - def queueEvent(*args): - """ - queueEvent(self, ScXMLEvent event, SbBool dealloc=0) - queueEvent(self, ScXMLEvent event) - queueEvent(self, SbName eventid) - """ - return _coin.ScXMLStateMachine_queueEvent(*args) - - def processEventQueue(*args): - """processEventQueue(self) -> SbBool""" - return _coin.ScXMLStateMachine_processEventQueue(*args) - - def isActive(*args): - """isActive(self) -> SbBool""" - return _coin.ScXMLStateMachine_isActive(*args) - - def isFinished(*args): - """isFinished(self) -> SbBool""" - return _coin.ScXMLStateMachine_isFinished(*args) - - def getCurrentEvent(*args): - """getCurrentEvent(self) -> ScXMLEvent""" - return _coin.ScXMLStateMachine_getCurrentEvent(*args) - - def getNumActiveStates(*args): - """getNumActiveStates(self) -> int""" - return _coin.ScXMLStateMachine_getNumActiveStates(*args) - - def getActiveState(*args): - """getActiveState(self, int idx) -> ScXMLObject""" - return _coin.ScXMLStateMachine_getActiveState(*args) - - def getState(*args): - """getState(self, char identifier) -> ScXMLObject""" - return _coin.ScXMLStateMachine_getState(*args) - - def addDeleteCallback(*args): - """ - addDeleteCallback(self, ScXMLStateMachineDeleteCB callback, void userdata) - addDeleteCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.ScXMLStateMachine_addDeleteCallback(*args) - - def removeDeleteCallback(*args): - """ - removeDeleteCallback(self, ScXMLStateMachineDeleteCB callback, void userdata) - removeDeleteCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.ScXMLStateMachine_removeDeleteCallback(*args) - - def addStateChangeCallback(*args): - """ - addStateChangeCallback(self, ScXMLStateChangeCB callback, void userdata) - addStateChangeCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.ScXMLStateMachine_addStateChangeCallback(*args) - - def removeStateChangeCallback(*args): - """ - removeStateChangeCallback(self, ScXMLStateChangeCB callback, void userdata) - removeStateChangeCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.ScXMLStateMachine_removeStateChangeCallback(*args) - -ScXMLStateMachine_swigregister = _coin.ScXMLStateMachine_swigregister -ScXMLStateMachine_swigregister(ScXMLStateMachine) - -def ScXMLStateMachine_getClassTypeId(*args): - """ScXMLStateMachine_getClassTypeId() -> SoType""" - return _coin.ScXMLStateMachine_getClassTypeId(*args) - -def ScXMLStateMachine_createInstance(*args): - """ScXMLStateMachine_createInstance() -> void""" - return _coin.ScXMLStateMachine_createInstance(*args) - -def ScXMLStateMachine_initClass(*args): - """ScXMLStateMachine_initClass()""" - return _coin.ScXMLStateMachine_initClass(*args) - -class SoScXMLEvent(ScXMLEvent): - """Proxy of C++ SoScXMLEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScXMLEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScXMLEvent_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoScXMLEvent_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoScXMLEvent_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScXMLEvent""" - this = _coin.new_SoScXMLEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoScXMLEvent - __del__ = lambda self : None; - def setSoEvent(*args): - """setSoEvent(self, SoEvent soevent)""" - return _coin.SoScXMLEvent_setSoEvent(*args) - - def getSoEvent(*args): - """getSoEvent(self) -> SoEvent""" - return _coin.SoScXMLEvent_getSoEvent(*args) - - def setUpIdentifier(*args): - """setUpIdentifier(self)""" - return _coin.SoScXMLEvent_setUpIdentifier(*args) - -SoScXMLEvent_swigregister = _coin.SoScXMLEvent_swigregister -SoScXMLEvent_swigregister(SoScXMLEvent) - -def SoScXMLEvent_getClassTypeId(*args): - """SoScXMLEvent_getClassTypeId() -> SoType""" - return _coin.SoScXMLEvent_getClassTypeId(*args) - -def SoScXMLEvent_createInstance(*args): - """SoScXMLEvent_createInstance() -> void""" - return _coin.SoScXMLEvent_createInstance(*args) - -def SoScXMLEvent_initClass(*args): - """SoScXMLEvent_initClass()""" - return _coin.SoScXMLEvent_initClass(*args) - -class SoScXMLStateMachine(ScXMLStateMachine): - """Proxy of C++ SoScXMLStateMachine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScXMLStateMachine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScXMLStateMachine_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoScXMLStateMachine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoScXMLStateMachine_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScXMLStateMachine""" - this = _coin.new_SoScXMLStateMachine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoScXMLStateMachine - __del__ = lambda self : None; - def setSceneGraphRoot(*args): - """setSceneGraphRoot(self, SoNode root)""" - return _coin.SoScXMLStateMachine_setSceneGraphRoot(*args) - - def getSceneGraphRoot(*args): - """getSceneGraphRoot(self) -> SoNode""" - return _coin.SoScXMLStateMachine_getSceneGraphRoot(*args) - - def setActiveCamera(*args): - """setActiveCamera(self, SoCamera camera)""" - return _coin.SoScXMLStateMachine_setActiveCamera(*args) - - def getActiveCamera(*args): - """getActiveCamera(self) -> SoCamera""" - return _coin.SoScXMLStateMachine_getActiveCamera(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion vp)""" - return _coin.SoScXMLStateMachine_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoScXMLStateMachine_getViewportRegion(*args) - - def preGLRender(*args): - """preGLRender(self)""" - return _coin.SoScXMLStateMachine_preGLRender(*args) - - def postGLRender(*args): - """postGLRender(self)""" - return _coin.SoScXMLStateMachine_postGLRender(*args) - - def processSoEvent(*args): - """processSoEvent(self, SoEvent event) -> SbBool""" - return _coin.SoScXMLStateMachine_processSoEvent(*args) - -SoScXMLStateMachine_swigregister = _coin.SoScXMLStateMachine_swigregister -SoScXMLStateMachine_swigregister(SoScXMLStateMachine) - -def SoScXMLStateMachine_getClassTypeId(*args): - """SoScXMLStateMachine_getClassTypeId() -> SoType""" - return _coin.SoScXMLStateMachine_getClassTypeId(*args) - -def SoScXMLStateMachine_createInstance(*args): - """SoScXMLStateMachine_createInstance() -> void""" - return _coin.SoScXMLStateMachine_createInstance(*args) - -def SoScXMLStateMachine_initClass(*args): - """SoScXMLStateMachine_initClass()""" - return _coin.SoScXMLStateMachine_initClass(*args) - -for x in locals().values(): - if isinstance(x, type) and issubclass(x, SoFieldContainer): - for name, thing in x.__dict__.items(): - if isinstance(thing, property): - delattr(x, name) - - - diff --git a/src/3rdParty/Pivy-0.5/coin_header_includes.h b/src/3rdParty/Pivy-0.5/coin_header_includes.h deleted file mode 100644 index af048fd42f..0000000000 --- a/src/3rdParty/Pivy-0.5/coin_header_includes.h +++ /dev/null @@ -1,674 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if COIN_MAJOR_VERSION > 2 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#endif diff --git a/src/3rdParty/Pivy-0.5/coin_wrap.cpp b/src/3rdParty/Pivy-0.5/coin_wrap.cpp deleted file mode 100644 index 6b16480572..0000000000 --- a/src/3rdParty/Pivy-0.5/coin_wrap.cpp +++ /dev/null @@ -1,419615 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.36 - * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. - * ----------------------------------------------------------------------------- */ - -#define SWIGPYTHON -#define SWIG_PYTHON_DIRECTOR_NO_VTABLE - -#ifdef __cplusplus -template class SwigValueWrapper { - T *tt; -public: - SwigValueWrapper() : tt(0) { } - SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { } - SwigValueWrapper(const T& t) : tt(new T(t)) { } - ~SwigValueWrapper() { delete tt; } - SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } - operator T&() const { return *tt; } - T *operator&() { return tt; } -private: - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); -}; - -template T SwigValueInit() { - return T(); -} -#endif - -/* ----------------------------------------------------------------------------- - * This section contains generic SWIG labels for method/variable - * declarations/attributes, and other compiler dependent labels. - * ----------------------------------------------------------------------------- */ - -/* template workaround for compilers that cannot correctly implement the C++ standard */ -#ifndef SWIGTEMPLATEDISAMBIGUATOR -# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) -# define SWIGTEMPLATEDISAMBIGUATOR template -# elif defined(__HP_aCC) -/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ -/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ -# define SWIGTEMPLATEDISAMBIGUATOR template -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif -#endif - -/* inline attribute */ -#ifndef SWIGINLINE -# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -# else -# define SWIGINLINE -# endif -#endif - -/* attribute recognised by some compilers to avoid 'unused' warnings */ -#ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -#endif - -#ifndef SWIG_MSC_UNSUPPRESS_4505 -# if defined(_MSC_VER) -# pragma warning(disable : 4505) /* unreferenced local function has been removed */ -# endif -#endif - -#ifndef SWIGUNUSEDPARM -# ifdef __cplusplus -# define SWIGUNUSEDPARM(p) -# else -# define SWIGUNUSEDPARM(p) p SWIGUNUSED -# endif -#endif - -/* internal SWIG method */ -#ifndef SWIGINTERN -# define SWIGINTERN static SWIGUNUSED -#endif - -/* internal inline SWIG method */ -#ifndef SWIGINTERNINLINE -# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE -#endif - -/* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY -# endif -#endif - -#ifndef SWIGEXPORT -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT -# else -# define SWIGEXPORT __declspec(dllexport) -# endif -# else -# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) -# define SWIGEXPORT __attribute__ ((visibility("default"))) -# else -# define SWIGEXPORT -# endif -# endif -#endif - -/* calling conventions for Windows */ -#ifndef SWIGSTDCALL -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# define SWIGSTDCALL __stdcall -# else -# define SWIGSTDCALL -# endif -#endif - -/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ -#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif - -/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ -#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) -# define _SCL_SECURE_NO_DEPRECATE -#endif - - - -/* Python.h has to appear first */ -#include - -/* ----------------------------------------------------------------------------- - * swigrun.swg - * - * This file contains generic CAPI SWIG runtime support for pointer - * type checking. - * ----------------------------------------------------------------------------- */ - -/* This should only be incremented when either the layout of swig_type_info changes, - or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "4" - -/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ -#ifdef SWIG_TYPE_TABLE -# define SWIG_QUOTE_STRING(x) #x -# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -# define SWIG_TYPE_TABLE_NAME -#endif - -/* - You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for - creating a static or dynamic library from the swig runtime code. - In 99.9% of the cases, swig just needs to declare them as 'static'. - - But only do this if is strictly necessary, ie, if you have problems - with your compiler or so. -*/ - -#ifndef SWIGRUNTIME -# define SWIGRUNTIME SWIGINTERN -#endif - -#ifndef SWIGRUNTIMEINLINE -# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE -#endif - -/* Generic buffer size */ -#ifndef SWIG_BUFFER_SIZE -# define SWIG_BUFFER_SIZE 1024 -#endif - -/* Flags for pointer conversions */ -#define SWIG_POINTER_DISOWN 0x1 -#define SWIG_CAST_NEW_MEMORY 0x2 - -/* Flags for new pointer objects */ -#define SWIG_POINTER_OWN 0x1 - - -/* - Flags/methods for returning states. - - The swig conversion methods, as ConvertPtr, return and integer - that tells if the conversion was successful or not. And if not, - an error code can be returned (see swigerrors.swg for the codes). - - Use the following macros/flags to set or process the returning - states. - - In old swig versions, you usually write code as: - - if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { - // success code - } else { - //fail code - } - - Now you can be more explicit as: - - int res = SWIG_ConvertPtr(obj,vptr,ty.flags); - if (SWIG_IsOK(res)) { - // success code - } else { - // fail code - } - - that seems to be the same, but now you can also do - - Type *ptr; - int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); - if (SWIG_IsOK(res)) { - // success code - if (SWIG_IsNewObj(res) { - ... - delete *ptr; - } else { - ... - } - } else { - // fail code - } - - I.e., now SWIG_ConvertPtr can return new objects and you can - identify the case and take care of the deallocation. Of course that - requires also to SWIG_ConvertPtr to return new result values, as - - int SWIG_ConvertPtr(obj, ptr,...) { - if () { - if () { - *ptr = ; - return SWIG_NEWOBJ; - } else { - *ptr = ; - return SWIG_OLDOBJ; - } - } else { - return SWIG_BADOBJ; - } - } - - Of course, returning the plain '0(success)/-1(fail)' still works, but you can be - more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the - swig errors code. - - Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this - - int food(double) - int fooi(int); - - and you call - - food(1) // cast rank '1' (1 -> 1.0) - fooi(1) // cast rank '0' - - just use the SWIG_AddCast()/SWIG_CheckState() - - - */ -#define SWIG_OK (0) -#define SWIG_ERROR (-1) -#define SWIG_IsOK(r) (r >= 0) -#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) - -/* The CastRankLimit says how many bits are used for the cast rank */ -#define SWIG_CASTRANKLIMIT (1 << 8) -/* The NewMask denotes the object was created (using new/malloc) */ -#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) -/* The TmpMask is for in/out typemaps that use temporal objects */ -#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) -/* Simple returning values */ -#define SWIG_BADOBJ (SWIG_ERROR) -#define SWIG_OLDOBJ (SWIG_OK) -#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) -#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ -#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) -#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) -#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) -#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) -#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) -#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) - - -/* Cast-Rank Mode */ -#if defined(SWIG_CASTRANK_MODE) -# ifndef SWIG_TypeRank -# define SWIG_TypeRank unsigned long -# endif -# ifndef SWIG_MAXCASTRANK /* Default cast allowed */ -# define SWIG_MAXCASTRANK (2) -# endif -# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) -# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) -SWIGINTERNINLINE int SWIG_AddCast(int r) { - return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; -} -SWIGINTERNINLINE int SWIG_CheckState(int r) { - return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; -} -#else /* no cast-rank mode */ -# define SWIG_AddCast -# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) -#endif - - - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef void *(*swig_converter_func)(void *, int *); -typedef struct swig_type_info *(*swig_dycast_func)(void **); - -/* Structure to store information on one type */ -typedef struct swig_type_info { - const char *name; /* mangled name of this type */ - const char *str; /* human readable name of this type */ - swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ - struct swig_cast_info *cast; /* linked list of types that can cast into this type */ - void *clientdata; /* language specific type data */ - int owndata; /* flag if the structure owns the clientdata */ -} swig_type_info; - -/* Structure to store a type and conversion function used for casting */ -typedef struct swig_cast_info { - swig_type_info *type; /* pointer to type that is equivalent to this type */ - swig_converter_func converter; /* function to cast the void pointers */ - struct swig_cast_info *next; /* pointer to next cast in linked list */ - struct swig_cast_info *prev; /* pointer to the previous cast */ -} swig_cast_info; - -/* Structure used to store module information - * Each module generates one structure like this, and the runtime collects - * all of these structures and stores them in a circularly linked list.*/ -typedef struct swig_module_info { - swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ - size_t size; /* Number of types in this module */ - struct swig_module_info *next; /* Pointer to next element in circularly linked list */ - swig_type_info **type_initial; /* Array of initially generated type structures */ - swig_cast_info **cast_initial; /* Array of initially generated casting structures */ - void *clientdata; /* Language specific module data */ -} swig_module_info; - -/* - Compare two type names skipping the space characters, therefore - "char*" == "char *" and "Class" == "Class", etc. - - Return 0 when the two name types are equivalent, as in - strncmp, but skipping ' '. -*/ -SWIGRUNTIME int -SWIG_TypeNameComp(const char *f1, const char *l1, - const char *f2, const char *l2) { - for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { - while ((*f1 == ' ') && (f1 != l1)) ++f1; - while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; - } - return (int)((l1 - f1) - (l2 - f2)); -} - -/* - Check type equivalence in a name list like ||... - Return 0 if not equal, 1 if equal -*/ -SWIGRUNTIME int -SWIG_TypeEquiv(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - -/* - Check type equivalence in a name list like ||... - Return 0 if equal, -1 if nb < tb, 1 if nb > tb -*/ -SWIGRUNTIME int -SWIG_TypeCompare(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - - -/* think of this as a c++ template<> or a scheme macro */ -#define SWIG_TypeCheck_Template(comparison, ty) \ - if (ty) { \ - swig_cast_info *iter = ty->cast; \ - while (iter) { \ - if (comparison) { \ - if (iter == ty->cast) return iter; \ - /* Move iter to the top of the linked list */ \ - iter->prev->next = iter->next; \ - if (iter->next) \ - iter->next->prev = iter->prev; \ - iter->next = ty->cast; \ - iter->prev = 0; \ - if (ty->cast) ty->cast->prev = iter; \ - ty->cast = iter; \ - return iter; \ - } \ - iter = iter->next; \ - } \ - } \ - return 0 - -/* - Check the typename -*/ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheck(const char *c, swig_type_info *ty) { - SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); -} - -/* Same as previous function, except strcmp is replaced with a pointer comparison */ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { - SWIG_TypeCheck_Template(iter->type == from, into); -} - -/* - Cast a pointer up an inheritance hierarchy -*/ -SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { - return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); -} - -/* - Dynamic pointer casting. Down an inheritance hierarchy -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { - swig_type_info *lastty = ty; - if (!ty || !ty->dcast) return ty; - while (ty && (ty->dcast)) { - ty = (*ty->dcast)(ptr); - if (ty) lastty = ty; - } - return lastty; -} - -/* - Return the name associated with this type -*/ -SWIGRUNTIMEINLINE const char * -SWIG_TypeName(const swig_type_info *ty) { - return ty->name; -} - -/* - Return the pretty name associated with this type, - that is an unmangled type name in a form presentable to the user. -*/ -SWIGRUNTIME const char * -SWIG_TypePrettyName(const swig_type_info *type) { - /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ - if (!type) return NULL; - if (type->str != NULL) { - const char *last_name = type->str; - const char *s; - for (s = type->str; *s; s++) - if (*s == '|') last_name = s+1; - return last_name; - } - else - return type->name; -} - -/* - Set the clientdata field for a type -*/ -SWIGRUNTIME void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - swig_cast_info *cast = ti->cast; - /* if (ti->clientdata == clientdata) return; */ - ti->clientdata = clientdata; - - while (cast) { - if (!cast->converter) { - swig_type_info *tc = cast->type; - if (!tc->clientdata) { - SWIG_TypeClientData(tc, clientdata); - } - } - cast = cast->next; - } -} -SWIGRUNTIME void -SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientData(ti, clientdata); - ti->owndata = 1; -} - -/* - Search for a swig_type_info structure only by mangled name - Search is a O(log #types) - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_MangledTypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - swig_module_info *iter = start; - do { - if (iter->size) { - register size_t l = 0; - register size_t r = iter->size - 1; - do { - /* since l+r >= 0, we can (>> 1) instead (/ 2) */ - register size_t i = (l + r) >> 1; - const char *iname = iter->types[i]->name; - if (iname) { - register int compare = strcmp(name, iname); - if (compare == 0) { - return iter->types[i]; - } else if (compare < 0) { - if (i) { - r = i - 1; - } else { - break; - } - } else if (compare > 0) { - l = i + 1; - } - } else { - break; /* should never happen */ - } - } while (l <= r); - } - iter = iter->next; - } while (iter != end); - return 0; -} - -/* - Search for a swig_type_info structure for either a mangled name or a human readable name. - It first searches the mangled names of the types, which is a O(log #types) - If a type is not found it then searches the human readable names, which is O(#types). - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - /* STEP 1: Search the name field using binary search */ - swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); - if (ret) { - return ret; - } else { - /* STEP 2: If the type hasn't been found, do a complete search - of the str field (the human readable name) */ - swig_module_info *iter = start; - do { - register size_t i = 0; - for (; i < iter->size; ++i) { - if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) - return iter->types[i]; - } - iter = iter->next; - } while (iter != end); - } - - /* neither found a match */ - return 0; -} - -/* - Pack binary data into a string -*/ -SWIGRUNTIME char * -SWIG_PackData(char *c, void *ptr, size_t sz) { - static const char hex[17] = "0123456789abcdef"; - register const unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register unsigned char uu = *u; - *(c++) = hex[(uu & 0xf0) >> 4]; - *(c++) = hex[uu & 0xf]; - } - return c; -} - -/* - Unpack binary data from a string -*/ -SWIGRUNTIME const char * -SWIG_UnpackData(const char *c, void *ptr, size_t sz) { - register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register char d = *(c++); - register unsigned char uu; - if ((d >= '0') && (d <= '9')) - uu = ((d - '0') << 4); - else if ((d >= 'a') && (d <= 'f')) - uu = ((d - ('a'-10)) << 4); - else - return (char *) 0; - d = *(c++); - if ((d >= '0') && (d <= '9')) - uu |= (d - '0'); - else if ((d >= 'a') && (d <= 'f')) - uu |= (d - ('a'-10)); - else - return (char *) 0; - *u = uu; - } - return c; -} - -/* - Pack 'void *' into a string buffer. -*/ -SWIGRUNTIME char * -SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { - char *r = buff; - if ((2*sizeof(void *) + 2) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,&ptr,sizeof(void *)); - if (strlen(name) + 1 > (bsz - (r - buff))) return 0; - strcpy(r,name); - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - *ptr = (void *) 0; - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sizeof(void *)); -} - -SWIGRUNTIME char * -SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { - char *r = buff; - size_t lname = (name ? strlen(name) : 0); - if ((2*sz + 2 + lname) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,ptr,sz); - if (lname) { - strncpy(r,name,lname+1); - } else { - *r = 0; - } - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - memset(ptr,0,sz); - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sz); -} - -#ifdef __cplusplus -} -#endif - -/* Errors in SWIG */ -#define SWIG_UnknownError -1 -#define SWIG_IOError -2 -#define SWIG_RuntimeError -3 -#define SWIG_IndexError -4 -#define SWIG_TypeError -5 -#define SWIG_DivisionByZero -6 -#define SWIG_OverflowError -7 -#define SWIG_SyntaxError -8 -#define SWIG_ValueError -9 -#define SWIG_SystemError -10 -#define SWIG_AttributeError -11 -#define SWIG_MemoryError -12 -#define SWIG_NullReferenceError -13 - - - - -/* Add PyOS_snprintf for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) -# define PyOS_snprintf _snprintf -# else -# define PyOS_snprintf snprintf -# endif -#endif - -/* A crude PyString_FromFormat implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 - -#ifndef SWIG_PYBUFFER_SIZE -# define SWIG_PYBUFFER_SIZE 1024 -#endif - -static PyObject * -PyString_FromFormat(const char *fmt, ...) { - va_list ap; - char buf[SWIG_PYBUFFER_SIZE * 2]; - int res; - va_start(ap, fmt); - res = vsnprintf(buf, sizeof(buf), fmt, ap); - va_end(ap); - return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); -} -#endif - -/* Add PyObject_Del for old Pythons */ -#if PY_VERSION_HEX < 0x01060000 -# define PyObject_Del(op) PyMem_DEL((op)) -#endif -#ifndef PyObject_DEL -# define PyObject_DEL PyObject_Del -#endif - -/* A crude PyExc_StopIteration exception for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# ifndef PyExc_StopIteration -# define PyExc_StopIteration PyExc_RuntimeError -# endif -# ifndef PyObject_GenericGetAttr -# define PyObject_GenericGetAttr 0 -# endif -#endif -/* Py_NotImplemented is defined in 2.1 and up. */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef Py_NotImplemented -# define Py_NotImplemented PyExc_RuntimeError -# endif -#endif - - -/* A crude PyString_AsStringAndSize implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef PyString_AsStringAndSize -# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} -# endif -#endif - -/* PySequence_Size for old Pythons */ -#if PY_VERSION_HEX < 0x02000000 -# ifndef PySequence_Size -# define PySequence_Size PySequence_Length -# endif -#endif - - -/* PyBool_FromLong for old Pythons */ -#if PY_VERSION_HEX < 0x02030000 -static -PyObject *PyBool_FromLong(long ok) -{ - PyObject *result = ok ? Py_True : Py_False; - Py_INCREF(result); - return result; -} -#endif - -/* Py_ssize_t for old Pythons */ -/* This code is as recommended by: */ -/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ -#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) -typedef int Py_ssize_t; -# define PY_SSIZE_T_MAX INT_MAX -# define PY_SSIZE_T_MIN INT_MIN -#endif - -/* ----------------------------------------------------------------------------- - * error manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIME PyObject* -SWIG_Python_ErrorType(int code) { - PyObject* type = 0; - switch(code) { - case SWIG_MemoryError: - type = PyExc_MemoryError; - break; - case SWIG_IOError: - type = PyExc_IOError; - break; - case SWIG_RuntimeError: - type = PyExc_RuntimeError; - break; - case SWIG_IndexError: - type = PyExc_IndexError; - break; - case SWIG_TypeError: - type = PyExc_TypeError; - break; - case SWIG_DivisionByZero: - type = PyExc_ZeroDivisionError; - break; - case SWIG_OverflowError: - type = PyExc_OverflowError; - break; - case SWIG_SyntaxError: - type = PyExc_SyntaxError; - break; - case SWIG_ValueError: - type = PyExc_ValueError; - break; - case SWIG_SystemError: - type = PyExc_SystemError; - break; - case SWIG_AttributeError: - type = PyExc_AttributeError; - break; - default: - type = PyExc_RuntimeError; - } - return type; -} - - -SWIGRUNTIME void -SWIG_Python_AddErrorMsg(const char* mesg) -{ - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - - if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - PyErr_Clear(); - Py_XINCREF(type); - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - Py_DECREF(old_str); - Py_DECREF(value); - } else { - PyErr_SetString(PyExc_RuntimeError, mesg); - } -} - - - -#if defined(SWIG_PYTHON_NO_THREADS) -# if defined(SWIG_PYTHON_THREADS) -# undef SWIG_PYTHON_THREADS -# endif -#endif -#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ -# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) -# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ -# define SWIG_PYTHON_USE_GIL -# endif -# endif -# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# ifndef SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() -# endif -# ifdef __cplusplus /* C++ code */ - class SWIG_Python_Thread_Block { - bool status; - PyGILState_STATE state; - public: - void end() { if (status) { PyGILState_Release(state); status = false;} } - SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} - ~SWIG_Python_Thread_Block() { end(); } - }; - class SWIG_Python_Thread_Allow { - bool status; - PyThreadState *save; - public: - void end() { if (status) { PyEval_RestoreThread(save); status = false; }} - SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} - ~SWIG_Python_Thread_Allow() { end(); } - }; -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block -# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow -# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() -# else /* C code */ -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() -# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() -# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) -# endif -# else /* Old thread way, not implemented, user must provide it */ -# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) -# define SWIG_PYTHON_INITIALIZE_THREADS -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_END_BLOCK) -# define SWIG_PYTHON_THREAD_END_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# endif -# if !defined(SWIG_PYTHON_THREAD_END_ALLOW) -# define SWIG_PYTHON_THREAD_END_ALLOW -# endif -# endif -#else /* No thread support */ -# define SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# define SWIG_PYTHON_THREAD_END_BLOCK -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# define SWIG_PYTHON_THREAD_END_ALLOW -#endif - -/* ----------------------------------------------------------------------------- - * Python API portion that goes into the runtime - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* ----------------------------------------------------------------------------- - * Constant declarations - * ----------------------------------------------------------------------------- */ - -/* Constant Types */ -#define SWIG_PY_POINTER 4 -#define SWIG_PY_BINARY 5 - -/* Constant information structure */ -typedef struct swig_const_info { - int type; - char *name; - long lvalue; - double dvalue; - void *pvalue; - swig_type_info **ptype; -} swig_const_info; - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. - * - * pyrun.swg - * - * This file contains the runtime support for Python modules - * and includes code for managing global variables and pointer - * type checking. - * - * ----------------------------------------------------------------------------- */ - -/* Common SWIG API */ - -/* for raw pointers */ -#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) -#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) -#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) -#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) -#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) -#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) -#define swig_owntype int - -/* for raw packed data */ -#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - -/* for class or struct pointers */ -#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) -#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) - -/* for C or C++ function pointers */ -#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) -#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) - -/* for C++ member pointers, ie, member methods */ -#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - - -/* Runtime API */ - -#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() -#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) -#define SWIG_NewClientData(obj) PySwigClientData_New(obj) - -#define SWIG_SetErrorObj SWIG_Python_SetErrorObj -#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg -#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) -#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) -#define SWIG_fail goto fail - - -/* Runtime API implementation */ - -/* Error manipulation */ - -SWIGINTERN void -SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetObject(errtype, obj); - Py_DECREF(obj); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -SWIGINTERN void -SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetString(errtype, (char *) msg); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) - -/* Set a constant value */ - -SWIGINTERN void -SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { - PyDict_SetItemString(d, (char*) name, obj); - Py_DECREF(obj); -} - -/* Append a value to the result obj */ - -SWIGINTERN PyObject* -SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { -#if !defined(SWIG_PYTHON_OUTPUT_TUPLE) - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyList_Check(result)) { - PyObject *o2 = result; - result = PyList_New(1); - PyList_SetItem(result, 0, o2); - } - PyList_Append(result,obj); - Py_DECREF(obj); - } - return result; -#else - PyObject* o2; - PyObject* o3; - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyTuple_Check(result)) { - o2 = result; - result = PyTuple_New(1); - PyTuple_SET_ITEM(result, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SET_ITEM(o3, 0, obj); - o2 = result; - result = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return result; -#endif -} - -/* Unpack the argument tuple */ - -SWIGINTERN int -SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) -{ - if (!args) { - if (!min && !max) { - return 1; - } else { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", - name, (min == max ? "" : "at least "), (int)min); - return 0; - } - } - if (!PyTuple_Check(args)) { - PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); - return 0; - } else { - register Py_ssize_t l = PyTuple_GET_SIZE(args); - if (l < min) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at least "), (int)min, (int)l); - return 0; - } else if (l > max) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at most "), (int)max, (int)l); - return 0; - } else { - register int i; - for (i = 0; i < l; ++i) { - objs[i] = PyTuple_GET_ITEM(args, i); - } - for (; l < max; ++l) { - objs[l] = 0; - } - return i + 1; - } - } -} - -/* A functor is a function object with one single object argument */ -#if PY_VERSION_HEX >= 0x02020000 -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); -#else -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); -#endif - -/* - Helper for static pointer initialization for both C and C++ code, for example - static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); -*/ -#ifdef __cplusplus -#define SWIG_STATIC_POINTER(var) var -#else -#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var -#endif - -/* ----------------------------------------------------------------------------- - * Pointer declarations - * ----------------------------------------------------------------------------- */ - -/* Flags for new pointer objects */ -#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) -#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) - -#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* How to access Py_None */ -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# ifndef SWIG_PYTHON_NO_BUILD_NONE -# ifndef SWIG_PYTHON_BUILD_NONE -# define SWIG_PYTHON_BUILD_NONE -# endif -# endif -#endif - -#ifdef SWIG_PYTHON_BUILD_NONE -# ifdef Py_None -# undef Py_None -# define Py_None SWIG_Py_None() -# endif -SWIGRUNTIMEINLINE PyObject * -_SWIG_Py_None(void) -{ - PyObject *none = Py_BuildValue((char*)""); - Py_DECREF(none); - return none; -} -SWIGRUNTIME PyObject * -SWIG_Py_None(void) -{ - static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); - return none; -} -#endif - -/* The python void return value */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Py_Void(void) -{ - PyObject *none = Py_None; - Py_INCREF(none); - return none; -} - -/* PySwigClientData */ - -typedef struct { - PyObject *klass; - PyObject *newraw; - PyObject *newargs; - PyObject *destroy; - int delargs; - int implicitconv; -} PySwigClientData; - -SWIGRUNTIMEINLINE int -SWIG_Python_CheckImplicit(swig_type_info *ty) -{ - PySwigClientData *data = (PySwigClientData *)ty->clientdata; - return data ? data->implicitconv : 0; -} - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_ExceptionType(swig_type_info *desc) { - PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; - PyObject *klass = data ? data->klass : 0; - return (klass ? klass : PyExc_RuntimeError); -} - - -SWIGRUNTIME PySwigClientData * -PySwigClientData_New(PyObject* obj) -{ - if (!obj) { - return 0; - } else { - PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); - /* the klass element */ - data->klass = obj; - Py_INCREF(data->klass); - /* the newraw method and newargs arguments used to create a new raw instance */ - if (PyClass_Check(obj)) { - data->newraw = 0; - data->newargs = obj; - Py_INCREF(obj); - } else { -#if (PY_VERSION_HEX < 0x02020000) - data->newraw = 0; -#else - data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); -#endif - if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); - } else { - data->newargs = obj; - } - Py_INCREF(data->newargs); - } - /* the destroy method, aka as the C++ delete method */ - data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); - if (PyErr_Occurred()) { - PyErr_Clear(); - data->destroy = 0; - } - if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); -#ifdef METH_O - data->delargs = !(flags & (METH_O)); -#else - data->delargs = 0; -#endif - } else { - data->delargs = 0; - } - data->implicitconv = 0; - return data; - } -} - -SWIGRUNTIME void -PySwigClientData_Del(PySwigClientData* data) -{ - Py_XDECREF(data->newraw); - Py_XDECREF(data->newargs); - Py_XDECREF(data->destroy); -} - -/* =============== PySwigObject =====================*/ - -typedef struct { - PyObject_HEAD - void *ptr; - swig_type_info *ty; - int own; - PyObject *next; -} PySwigObject; - -SWIGRUNTIME PyObject * -PySwigObject_long(PySwigObject *v) -{ - return PyLong_FromVoidPtr(v->ptr); -} - -SWIGRUNTIME PyObject * -PySwigObject_format(const char* fmt, PySwigObject *v) -{ - PyObject *res = NULL; - PyObject *args = PyTuple_New(1); - if (args) { - if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { - PyObject *ofmt = PyString_FromString(fmt); - if (ofmt) { - res = PyString_Format(ofmt,args); - Py_DECREF(ofmt); - } - Py_DECREF(args); - } - } - return res; -} - -SWIGRUNTIME PyObject * -PySwigObject_oct(PySwigObject *v) -{ - return PySwigObject_format("%o",v); -} - -SWIGRUNTIME PyObject * -PySwigObject_hex(PySwigObject *v) -{ - return PySwigObject_format("%x",v); -} - -SWIGRUNTIME PyObject * -#ifdef METH_NOARGS -PySwigObject_repr(PySwigObject *v) -#else -PySwigObject_repr(PySwigObject *v, PyObject *args) -#endif -{ - const char *name = SWIG_TypePrettyName(v->ty); - PyObject *hex = PySwigObject_hex(v); - PyObject *repr = PyString_FromFormat("", name, PyString_AsString(hex)); - Py_DECREF(hex); - if (v->next) { -#ifdef METH_NOARGS - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); -#else - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); -#endif - PyString_ConcatAndDel(&repr,nrep); - } - return repr; -} - -SWIGRUNTIME int -PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ -#ifdef METH_NOARGS - PyObject *repr = PySwigObject_repr(v); -#else - PyObject *repr = PySwigObject_repr(v, NULL); -#endif - if (repr) { - fputs(PyString_AsString(repr), fp); - Py_DECREF(repr); - return 0; - } else { - return 1; - } -} - -SWIGRUNTIME PyObject * -PySwigObject_str(PySwigObject *v) -{ - char result[SWIG_BUFFER_SIZE]; - return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? - PyString_FromString(result) : 0; -} - -SWIGRUNTIME int -PySwigObject_compare(PySwigObject *v, PySwigObject *w) -{ - void *i = v->ptr; - void *j = w->ptr; - return (i < j) ? -1 : ((i > j) ? 1 : 0); -} - -SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigObject_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own); - -SWIGRUNTIME void -PySwigObject_dealloc(PyObject *v) -{ - PySwigObject *sobj = (PySwigObject *) v; - PyObject *next = sobj->next; - if (sobj->own == SWIG_POINTER_OWN) { - swig_type_info *ty = sobj->ty; - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - PyObject *destroy = data ? data->destroy : 0; - if (destroy) { - /* destroy is always a VARARGS method */ - PyObject *res; - if (data->delargs) { - /* we need to create a temporal object to carry the destroy operation */ - PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); - } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); - } - Py_XDECREF(res); - } -#if !defined(SWIG_PYTHON_SILENT_MEMLEAK) - else { - const char *name = SWIG_TypePrettyName(ty); - printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); - } -#endif - } - Py_XDECREF(next); - PyObject_DEL(v); -} - -SWIGRUNTIME PyObject* -PySwigObject_append(PyObject* v, PyObject* next) -{ - PySwigObject *sobj = (PySwigObject *) v; -#ifndef METH_O - PyObject *tmp = 0; - if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; - next = tmp; -#endif - if (!PySwigObject_Check(next)) { - return NULL; - } - sobj->next = next; - Py_INCREF(next); - return SWIG_Py_Void(); -} - -SWIGRUNTIME PyObject* -#ifdef METH_NOARGS -PySwigObject_next(PyObject* v) -#else -PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *) v; - if (sobj->next) { - Py_INCREF(sobj->next); - return sobj->next; - } else { - return SWIG_Py_Void(); - } -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_disown(PyObject *v) -#else -PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = 0; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_acquire(PyObject *v) -#else -PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = SWIG_POINTER_OWN; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -PySwigObject_own(PyObject *v, PyObject *args) -{ - PyObject *val = 0; -#if (PY_VERSION_HEX < 0x02020000) - if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) -#else - if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) -#endif - { - return NULL; - } - else - { - PySwigObject *sobj = (PySwigObject *)v; - PyObject *obj = PyBool_FromLong(sobj->own); - if (val) { -#ifdef METH_NOARGS - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v); - } else { - PySwigObject_disown(v); - } -#else - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v,args); - } else { - PySwigObject_disown(v,args); - } -#endif - } - return obj; - } -} - -#ifdef METH_O -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#else -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#endif - -#if PY_VERSION_HEX < 0x02020000 -SWIGINTERN PyObject * -PySwigObject_getattr(PySwigObject *sobj,char *name) -{ - return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); -} -#endif - -SWIGRUNTIME PyTypeObject* -_PySwigObject_type(void) { - static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; - - static PyNumberMethods PySwigObject_as_number = { - (binaryfunc)0, /*nb_add*/ - (binaryfunc)0, /*nb_subtract*/ - (binaryfunc)0, /*nb_multiply*/ - (binaryfunc)0, /*nb_divide*/ - (binaryfunc)0, /*nb_remainder*/ - (binaryfunc)0, /*nb_divmod*/ - (ternaryfunc)0,/*nb_power*/ - (unaryfunc)0, /*nb_negative*/ - (unaryfunc)0, /*nb_positive*/ - (unaryfunc)0, /*nb_absolute*/ - (inquiry)0, /*nb_nonzero*/ - 0, /*nb_invert*/ - 0, /*nb_lshift*/ - 0, /*nb_rshift*/ - 0, /*nb_and*/ - 0, /*nb_xor*/ - 0, /*nb_or*/ - (coercion)0, /*nb_coerce*/ - (unaryfunc)PySwigObject_long, /*nb_int*/ - (unaryfunc)PySwigObject_long, /*nb_long*/ - (unaryfunc)0, /*nb_float*/ - (unaryfunc)PySwigObject_oct, /*nb_oct*/ - (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ -#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ -#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ - 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ -#endif - }; - - static PyTypeObject pyswigobject_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigObject", /* tp_name */ - sizeof(PySwigObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigObject_dealloc, /* tp_dealloc */ - (printfunc)PySwigObject_print, /* tp_print */ -#if PY_VERSION_HEX < 0x02020000 - (getattrfunc)PySwigObject_getattr, /* tp_getattr */ -#else - (getattrfunc)0, /* tp_getattr */ -#endif - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigObject_compare, /* tp_compare */ - (reprfunc)PySwigObject_repr, /* tp_repr */ - &PySwigObject_as_number, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigObject_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigobject_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - swigobject_methods, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigobject_type = tmp; - pyswigobject_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigobject_type; -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own) -{ - PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); - if (sobj) { - sobj->ptr = ptr; - sobj->ty = ty; - sobj->own = own; - sobj->next = 0; - } - return (PyObject *)sobj; -} - -/* ----------------------------------------------------------------------------- - * Implements a simple Swig Packed type, and use it instead of string - * ----------------------------------------------------------------------------- */ - -typedef struct { - PyObject_HEAD - void *pack; - swig_type_info *ty; - size_t size; -} PySwigPacked; - -SWIGRUNTIME int -PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ - char result[SWIG_BUFFER_SIZE]; - fputs("pack, v->size, 0, sizeof(result))) { - fputs("at ", fp); - fputs(result, fp); - } - fputs(v->ty->name,fp); - fputs(">", fp); - return 0; -} - -SWIGRUNTIME PyObject * -PySwigPacked_repr(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { - return PyString_FromFormat("", result, v->ty->name); - } else { - return PyString_FromFormat("", v->ty->name); - } -} - -SWIGRUNTIME PyObject * -PySwigPacked_str(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ - return PyString_FromFormat("%s%s", result, v->ty->name); - } else { - return PyString_FromString(v->ty->name); - } -} - -SWIGRUNTIME int -PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) -{ - size_t i = v->size; - size_t j = w->size; - int s = (i < j) ? -1 : ((i > j) ? 1 : 0); - return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); -} - -SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigPacked_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == _PySwigPacked_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); -} - -SWIGRUNTIME void -PySwigPacked_dealloc(PyObject *v) -{ - if (PySwigPacked_Check(v)) { - PySwigPacked *sobj = (PySwigPacked *) v; - free(sobj->pack); - } - PyObject_DEL(v); -} - -SWIGRUNTIME PyTypeObject* -_PySwigPacked_type(void) { - static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; - static PyTypeObject pyswigpacked_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigPacked", /* tp_name */ - sizeof(PySwigPacked), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigPacked_dealloc, /* tp_dealloc */ - (printfunc)PySwigPacked_print, /* tp_print */ - (getattrfunc)0, /* tp_getattr */ - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigPacked_compare, /* tp_compare */ - (reprfunc)PySwigPacked_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigPacked_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigpacked_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigpacked_type = tmp; - pyswigpacked_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigpacked_type; -} - -SWIGRUNTIME PyObject * -PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) -{ - PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); - if (sobj) { - void *pack = malloc(size); - if (pack) { - memcpy(pack, ptr, size); - sobj->pack = pack; - sobj->ty = ty; - sobj->size = size; - } else { - PyObject_DEL((PyObject *) sobj); - sobj = 0; - } - } - return (PyObject *) sobj; -} - -SWIGRUNTIME swig_type_info * -PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) -{ - if (PySwigPacked_Check(obj)) { - PySwigPacked *sobj = (PySwigPacked *)obj; - if (sobj->size != size) return 0; - memcpy(ptr, sobj->pack, size); - return sobj->ty; - } else { - return 0; - } -} - -/* ----------------------------------------------------------------------------- - * pointers/data manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIMEINLINE PyObject * -_SWIG_This(void) -{ - return PyString_FromString("this"); -} - -SWIGRUNTIME PyObject * -SWIG_This(void) -{ - static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); - return swig_this; -} - -/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ - -SWIGRUNTIME PySwigObject * -SWIG_Python_GetSwigThis(PyObject *pyobj) -{ - if (PySwigObject_Check(pyobj)) { - return (PySwigObject *) pyobj; - } else { - PyObject *obj = 0; -#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) - if (PyInstance_Check(pyobj)) { - obj = _PyInstance_Lookup(pyobj, SWIG_This()); - } else { - PyObject **dictptr = _PyObject_GetDictPtr(pyobj); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; - } else { -#ifdef PyWeakref_CheckProxy - if (PyWeakref_CheckProxy(pyobj)) { - PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); - return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; - } -#endif - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } - } - } -#else - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } -#endif - if (obj && !PySwigObject_Check(obj)) { - /* a PyObject is called 'this', try to get the 'real this' - PySwigObject from it */ - return SWIG_Python_GetSwigThis(obj); - } - return (PySwigObject *)obj; - } -} - -/* Acquire a pointer value */ - -SWIGRUNTIME int -SWIG_Python_AcquirePtr(PyObject *obj, int own) { - if (own == SWIG_POINTER_OWN) { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (sobj) { - int oldown = sobj->own; - sobj->own = own; - return oldown; - } - } - return 0; -} - -/* Convert a pointer value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { - if (!obj) return SWIG_ERROR; - if (obj == Py_None) { - if (ptr) *ptr = 0; - return SWIG_OK; - } else { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (own) - *own = 0; - while (sobj) { - void *vptr = sobj->ptr; - if (ty) { - swig_type_info *to = sobj->ty; - if (to == ty) { - /* no type cast needed */ - if (ptr) *ptr = vptr; - break; - } else { - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) { - sobj = (PySwigObject *)sobj->next; - } else { - if (ptr) { - int newmemory = 0; - *ptr = SWIG_TypeCast(tc,vptr,&newmemory); - if (newmemory == SWIG_CAST_NEW_MEMORY) { - assert(own); - if (own) - *own = *own | SWIG_CAST_NEW_MEMORY; - } - } - break; - } - } - } else { - if (ptr) *ptr = vptr; - break; - } - } - if (sobj) { - if (own) - *own = *own | sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; - } - return SWIG_OK; - } else { - int res = SWIG_ERROR; - if (flags & SWIG_POINTER_IMPLICIT_CONV) { - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - if (data && !data->implicitconv) { - PyObject *klass = data->klass; - if (klass) { - PyObject *impconv; - data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ - impconv = SWIG_Python_CallFunctor(klass, obj); - data->implicitconv = 0; - if (PyErr_Occurred()) { - PyErr_Clear(); - impconv = 0; - } - if (impconv) { - PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); - if (iobj) { - void *vptr; - res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); - if (SWIG_IsOK(res)) { - if (ptr) { - *ptr = vptr; - /* transfer the ownership to 'ptr' */ - iobj->own = 0; - res = SWIG_AddCast(res); - res = SWIG_AddNewMask(res); - } else { - res = SWIG_AddCast(res); - } - } - } - Py_DECREF(impconv); - } - } - } - } - return res; - } - } -} - -/* Convert a function ptr value */ - -SWIGRUNTIME int -SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { - if (!PyCFunction_Check(obj)) { - return SWIG_ConvertPtr(obj, ptr, ty, 0); - } else { - void *vptr = 0; - - /* here we get the method pointer for callbacks */ - const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); - const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; - if (desc) { - desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; - if (!desc) return SWIG_ERROR; - } - if (ty) { - swig_cast_info *tc = SWIG_TypeCheck(desc,ty); - if (tc) { - int newmemory = 0; - *ptr = SWIG_TypeCast(tc,vptr,&newmemory); - assert(!newmemory); /* newmemory handling not yet implemented */ - } else { - return SWIG_ERROR; - } - } else { - *ptr = vptr; - } - return SWIG_OK; - } -} - -/* Convert a packed value value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { - swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); - if (!to) return SWIG_ERROR; - if (ty) { - if (to != ty) { - /* check type cast? */ - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) return SWIG_ERROR; - } - } - return SWIG_OK; -} - -/* ----------------------------------------------------------------------------- - * Create a new pointer object - * ----------------------------------------------------------------------------- */ - -/* - Create a new instance object, whitout calling __init__, and set the - 'this' attribute. -*/ - -SWIGRUNTIME PyObject* -SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) -{ -#if (PY_VERSION_HEX >= 0x02020000) - PyObject *inst = 0; - PyObject *newraw = data->newraw; - if (newraw) { - inst = PyObject_Call(newraw, data->newargs, NULL); - if (inst) { -#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } - } -#else - PyObject *key = SWIG_This(); - PyObject_SetAttr(inst, key, swig_this); -#endif - } - } else { - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - } - return inst; -#else -#if (PY_VERSION_HEX >= 0x02010000) - PyObject *inst; - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - return (PyObject *) inst; -#else - PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); - if (inst == NULL) { - return NULL; - } - inst->in_class = (PyClassObject *)data->newargs; - Py_INCREF(inst->in_class); - inst->in_dict = PyDict_New(); - if (inst->in_dict == NULL) { - Py_DECREF(inst); - return NULL; - } -#ifdef Py_TPFLAGS_HAVE_WEAKREFS - inst->in_weakreflist = NULL; -#endif -#ifdef Py_TPFLAGS_GC - PyObject_GC_Init(inst); -#endif - PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); - return (PyObject *) inst; -#endif -#endif -} - -SWIGRUNTIME void -SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) -{ - PyObject *dict; -#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - PyDict_SetItem(dict, SWIG_This(), swig_this); - return; - } -#endif - dict = PyObject_GetAttrString(inst, (char*)"__dict__"); - PyDict_SetItem(dict, SWIG_This(), swig_this); - Py_DECREF(dict); -} - - -SWIGINTERN PyObject * -SWIG_Python_InitShadowInstance(PyObject *args) { - PyObject *obj[2]; - if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { - return NULL; - } else { - PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); - if (sthis) { - PySwigObject_append((PyObject*) sthis, obj[1]); - } else { - SWIG_Python_SetSwigThis(obj[0], obj[1]); - } - return SWIG_Py_Void(); - } -} - -/* Create a new pointer object */ - -SWIGRUNTIME PyObject * -SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { - if (!ptr) { - return SWIG_Py_Void(); - } else { - int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; - PyObject *robj = PySwigObject_New(ptr, type, own); - PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; - if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { - PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); - if (inst) { - Py_DECREF(robj); - robj = inst; - } - } - return robj; - } -} - -/* Create a new packed object */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { - return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); -} - -/* -----------------------------------------------------------------------------* - * Get type list - * -----------------------------------------------------------------------------*/ - -#ifdef SWIG_LINK_RUNTIME -void *SWIG_ReturnGlobalTypeList(void *); -#endif - -SWIGRUNTIME swig_module_info * -SWIG_Python_GetModule(void) { - static void *type_pointer = (void *)0; - /* first check if module already created */ - if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME - type_pointer = SWIG_ReturnGlobalTypeList((void *)0); -#else - type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif - } - return (swig_module_info *) type_pointer; -} - -#if PY_MAJOR_VERSION < 2 -/* PyModule_AddObject function was introduced in Python 2.0. The following function - is copied out of Python/modsupport.c in python version 2.3.4 */ -SWIGINTERN int -PyModule_AddObject(PyObject *m, char *name, PyObject *o) -{ - PyObject *dict; - if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs module as first arg"); - return SWIG_ERROR; - } - if (!o) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs non-NULL value"); - return SWIG_ERROR; - } - - dict = PyModule_GetDict(m); - if (dict == NULL) { - /* Internal error -- modules must have a dict! */ - PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", - PyModule_GetName(m)); - return SWIG_ERROR; - } - if (PyDict_SetItemString(dict, name, o)) - return SWIG_ERROR; - Py_DECREF(o); - return SWIG_OK; -} -#endif - -SWIGRUNTIME void -SWIG_Python_DestroyModule(void *vptr) -{ - swig_module_info *swig_module = (swig_module_info *) vptr; - swig_type_info **types = swig_module->types; - size_t i; - for (i =0; i < swig_module->size; ++i) { - swig_type_info *ty = types[i]; - if (ty->owndata) { - PySwigClientData *data = (PySwigClientData *) ty->clientdata; - if (data) PySwigClientData_Del(data); - } - } - Py_DECREF(SWIG_This()); -} - -SWIGRUNTIME void -SWIG_Python_SetModule(swig_module_info *swig_module) { - static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ - - PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - swig_empty_runtime_method_table); - PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); - if (pointer && module) { - PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); - } else { - Py_XDECREF(pointer); - } -} - -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - -SWIGRUNTIME swig_type_info * -SWIG_Python_TypeQuery(const char *type) -{ - PyObject *cache = SWIG_Python_TypeCache(); - PyObject *key = PyString_FromString(type); - PyObject *obj = PyDict_GetItem(cache, key); - swig_type_info *descriptor; - if (obj) { - descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); - } else { - swig_module_info *swig_module = SWIG_Python_GetModule(); - descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); - if (descriptor) { - obj = PyCObject_FromVoidPtr(descriptor, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } - } - Py_DECREF(key); - return descriptor; -} - -/* - For backward compatibility only -*/ -#define SWIG_POINTER_EXCEPTION 0 -#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) -#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) - -SWIGRUNTIME int -SWIG_Python_AddErrMesg(const char* mesg, int infront) -{ - if (PyErr_Occurred()) { - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - Py_XINCREF(type); - PyErr_Clear(); - if (infront) { - PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); - } else { - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - } - Py_DECREF(old_str); - } - return 1; - } else { - return 0; - } -} - -SWIGRUNTIME int -SWIG_Python_ArgFail(int argnum) -{ - if (PyErr_Occurred()) { - /* add information about failing argument */ - char mesg[256]; - PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); - return SWIG_Python_AddErrMesg(mesg, 1); - } else { - return 0; - } -} - -SWIGRUNTIMEINLINE const char * -PySwigObject_GetDesc(PyObject *self) -{ - PySwigObject *v = (PySwigObject *)self; - swig_type_info *ty = v ? v->ty : 0; - return ty ? ty->str : (char*)""; -} - -SWIGRUNTIME void -SWIG_Python_TypeError(const char *type, PyObject *obj) -{ - if (type) { -#if defined(SWIG_COBJECT_TYPES) - if (obj && PySwigObject_Check(obj)) { - const char *otype = (const char *) PySwigObject_GetDesc(obj); - if (otype) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", - type, otype); - return; - } - } else -#endif - { - const char *otype = (obj ? obj->ob_type->tp_name : 0); - if (otype) { - PyObject *str = PyObject_Str(obj); - const char *cstr = str ? PyString_AsString(str) : 0; - if (cstr) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", - type, otype, cstr); - } else { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", - type, otype); - } - Py_XDECREF(str); - return; - } - } - PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); - } else { - PyErr_Format(PyExc_TypeError, "unexpected type is received"); - } -} - - -/* Convert a pointer value, signal an exception on a type mismatch */ -SWIGRUNTIME void * -SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { - void *result; - if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { - PyErr_Clear(); - if (flags & SWIG_POINTER_EXCEPTION) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } - } - return result; -} - - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - - -#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) - -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -/* -------- TYPES TABLE (BEGIN) -------- */ - -#define SWIGTYPE_p_AttributeApplyFunc swig_types[0] -#define SWIGTYPE_p_ContextDestructionCB swig_types[1] -#define SWIGTYPE_p_FILE swig_types[2] -#define SWIGTYPE_p_Key swig_types[3] -#define SWIGTYPE_p_ProgressCallbackType swig_types[4] -#define SWIGTYPE_p_SbBSPTree swig_types[5] -#define SWIGTYPE_p_SbBarrier swig_types[6] -#define SWIGTYPE_p_SbBox2d swig_types[7] -#define SWIGTYPE_p_SbBox2f swig_types[8] -#define SWIGTYPE_p_SbBox2i32 swig_types[9] -#define SWIGTYPE_p_SbBox2s swig_types[10] -#define SWIGTYPE_p_SbBox3d swig_types[11] -#define SWIGTYPE_p_SbBox3f swig_types[12] -#define SWIGTYPE_p_SbBox3i32 swig_types[13] -#define SWIGTYPE_p_SbBox3s swig_types[14] -#define SWIGTYPE_p_SbClip swig_types[15] -#define SWIGTYPE_p_SbColor swig_types[16] -#define SWIGTYPE_p_SbColor4f swig_types[17] -#define SWIGTYPE_p_SbCondVar swig_types[18] -#define SWIGTYPE_p_SbCylinder swig_types[19] -#define SWIGTYPE_p_SbCylinderPlaneProjector swig_types[20] -#define SWIGTYPE_p_SbCylinderProjector swig_types[21] -#define SWIGTYPE_p_SbCylinderSectionProjector swig_types[22] -#define SWIGTYPE_p_SbCylinderSheetProjector swig_types[23] -#define SWIGTYPE_p_SbDPLine swig_types[24] -#define SWIGTYPE_p_SbDPMatrix swig_types[25] -#define SWIGTYPE_p_SbDPPlane swig_types[26] -#define SWIGTYPE_p_SbDPRotation swig_types[27] -#define SWIGTYPE_p_SbDPViewVolume swig_types[28] -#define SWIGTYPE_p_SbDict swig_types[29] -#define SWIGTYPE_p_SbDictApplyDataFunc swig_types[30] -#define SWIGTYPE_p_SbDictApplyFunc swig_types[31] -#define SWIGTYPE_p_SbDictHashingFunc swig_types[32] -#define SWIGTYPE_p_SbFifo swig_types[33] -#define SWIGTYPE_p_SbHeap swig_types[34] -#define SWIGTYPE_p_SbHeapFuncs swig_types[35] -#define SWIGTYPE_p_SbImage swig_types[36] -#define SWIGTYPE_p_SbIntList swig_types[37] -#define SWIGTYPE_p_SbLine swig_types[38] -#define SWIGTYPE_p_SbLineProjector swig_types[39] -#define SWIGTYPE_p_SbListT_SbName_t swig_types[40] -#define SWIGTYPE_p_SbListT_SbString_t swig_types[41] -#define SWIGTYPE_p_SbListT_int_t swig_types[42] -#define SWIGTYPE_p_SbListT_void_p_t swig_types[43] -#define SWIGTYPE_p_SbMatrix swig_types[44] -#define SWIGTYPE_p_SbMutex swig_types[45] -#define SWIGTYPE_p_SbName swig_types[46] -#define SWIGTYPE_p_SbOctTree swig_types[47] -#define SWIGTYPE_p_SbOctTreeFuncs swig_types[48] -#define SWIGTYPE_p_SbPList swig_types[49] -#define SWIGTYPE_p_SbPlane swig_types[50] -#define SWIGTYPE_p_SbPlaneProjector swig_types[51] -#define SWIGTYPE_p_SbProjector swig_types[52] -#define SWIGTYPE_p_SbRWMutex swig_types[53] -#define SWIGTYPE_p_SbRotation swig_types[54] -#define SWIGTYPE_p_SbSphere swig_types[55] -#define SWIGTYPE_p_SbSpherePlaneProjector swig_types[56] -#define SWIGTYPE_p_SbSphereProjector swig_types[57] -#define SWIGTYPE_p_SbSphereSectionProjector swig_types[58] -#define SWIGTYPE_p_SbSphereSheetProjector swig_types[59] -#define SWIGTYPE_p_SbStorage swig_types[60] -#define SWIGTYPE_p_SbString swig_types[61] -#define SWIGTYPE_p_SbStringList swig_types[62] -#define SWIGTYPE_p_SbTesselator swig_types[63] -#define SWIGTYPE_p_SbThread swig_types[64] -#define SWIGTYPE_p_SbThreadAutoLock swig_types[65] -#define SWIGTYPE_p_SbThreadMutex swig_types[66] -#define SWIGTYPE_p_SbTime swig_types[67] -#define SWIGTYPE_p_SbVec2b swig_types[68] -#define SWIGTYPE_p_SbVec2d swig_types[69] -#define SWIGTYPE_p_SbVec2f swig_types[70] -#define SWIGTYPE_p_SbVec2i32 swig_types[71] -#define SWIGTYPE_p_SbVec2s swig_types[72] -#define SWIGTYPE_p_SbVec2ub swig_types[73] -#define SWIGTYPE_p_SbVec2ui32 swig_types[74] -#define SWIGTYPE_p_SbVec2us swig_types[75] -#define SWIGTYPE_p_SbVec3b swig_types[76] -#define SWIGTYPE_p_SbVec3d swig_types[77] -#define SWIGTYPE_p_SbVec3f swig_types[78] -#define SWIGTYPE_p_SbVec3fList swig_types[79] -#define SWIGTYPE_p_SbVec3i32 swig_types[80] -#define SWIGTYPE_p_SbVec3s swig_types[81] -#define SWIGTYPE_p_SbVec3ub swig_types[82] -#define SWIGTYPE_p_SbVec3ui32 swig_types[83] -#define SWIGTYPE_p_SbVec3us swig_types[84] -#define SWIGTYPE_p_SbVec4b swig_types[85] -#define SWIGTYPE_p_SbVec4d swig_types[86] -#define SWIGTYPE_p_SbVec4f swig_types[87] -#define SWIGTYPE_p_SbVec4i32 swig_types[88] -#define SWIGTYPE_p_SbVec4s swig_types[89] -#define SWIGTYPE_p_SbVec4ub swig_types[90] -#define SWIGTYPE_p_SbVec4ui32 swig_types[91] -#define SWIGTYPE_p_SbVec4us swig_types[92] -#define SWIGTYPE_p_SbViewVolume swig_types[93] -#define SWIGTYPE_p_SbViewportRegion swig_types[94] -#define SWIGTYPE_p_SbXfBox3f swig_types[95] -#define SWIGTYPE_p_ScXML swig_types[96] -#define SWIGTYPE_p_ScXMLDocument swig_types[97] -#define SWIGTYPE_p_ScXMLEvent swig_types[98] -#define SWIGTYPE_p_ScXMLInvoke swig_types[99] -#define SWIGTYPE_p_ScXMLObject swig_types[100] -#define SWIGTYPE_p_ScXMLStateMachine swig_types[101] -#define SWIGTYPE_p_SoAccumulatedElement swig_types[102] -#define SWIGTYPE_p_SoAction swig_types[103] -#define SWIGTYPE_p_SoActionMethodList swig_types[104] -#define SWIGTYPE_p_SoAlarmSensor swig_types[105] -#define SWIGTYPE_p_SoAmbientColorElement swig_types[106] -#define SWIGTYPE_p_SoAnnoText3CharOrientElement swig_types[107] -#define SWIGTYPE_p_SoAnnoText3FontSizeHintElement swig_types[108] -#define SWIGTYPE_p_SoAnnoText3RenderPrintElement swig_types[109] -#define SWIGTYPE_p_SoAnnotation swig_types[110] -#define SWIGTYPE_p_SoAntiSquish swig_types[111] -#define SWIGTYPE_p_SoAppearanceKit swig_types[112] -#define SWIGTYPE_p_SoArray swig_types[113] -#define SWIGTYPE_p_SoAsciiText swig_types[114] -#define SWIGTYPE_p_SoAudioDevice swig_types[115] -#define SWIGTYPE_p_SoAudioRenderAction swig_types[116] -#define SWIGTYPE_p_SoAuditorList swig_types[117] -#define SWIGTYPE_p_SoBBoxModelMatrixElement swig_types[118] -#define SWIGTYPE_p_SoBase swig_types[119] -#define SWIGTYPE_p_SoBaseColor swig_types[120] -#define SWIGTYPE_p_SoBaseKit swig_types[121] -#define SWIGTYPE_p_SoBaseList swig_types[122] -#define SWIGTYPE_p_SoBlinker swig_types[123] -#define SWIGTYPE_p_SoBoolOperation swig_types[124] -#define SWIGTYPE_p_SoBoundingBoxCache swig_types[125] -#define SWIGTYPE_p_SoBoxHighlightRenderAction swig_types[126] -#define SWIGTYPE_p_SoBumpMap swig_types[127] -#define SWIGTYPE_p_SoBumpMapCoordinate swig_types[128] -#define SWIGTYPE_p_SoBumpMapCoordinateElement swig_types[129] -#define SWIGTYPE_p_SoBumpMapElement swig_types[130] -#define SWIGTYPE_p_SoBumpMapMatrixElement swig_types[131] -#define SWIGTYPE_p_SoBumpMapTransform swig_types[132] -#define SWIGTYPE_p_SoBundle swig_types[133] -#define SWIGTYPE_p_SoButtonEvent swig_types[134] -#define SWIGTYPE_p_SoByteStream swig_types[135] -#define SWIGTYPE_p_SoCache swig_types[136] -#define SWIGTYPE_p_SoCacheElement swig_types[137] -#define SWIGTYPE_p_SoCacheHint swig_types[138] -#define SWIGTYPE_p_SoCacheHintElement swig_types[139] -#define SWIGTYPE_p_SoCalculator swig_types[140] -#define SWIGTYPE_p_SoCallback swig_types[141] -#define SWIGTYPE_p_SoCallbackAction swig_types[142] -#define SWIGTYPE_p_SoCallbackActionCB swig_types[143] -#define SWIGTYPE_p_SoCallbackList swig_types[144] -#define SWIGTYPE_p_SoCamera swig_types[145] -#define SWIGTYPE_p_SoCameraKit swig_types[146] -#define SWIGTYPE_p_SoCenterballDragger swig_types[147] -#define SWIGTYPE_p_SoCenterballManip swig_types[148] -#define SWIGTYPE_p_SoChildList swig_types[149] -#define SWIGTYPE_p_SoClipPlane swig_types[150] -#define SWIGTYPE_p_SoClipPlaneElement swig_types[151] -#define SWIGTYPE_p_SoClipPlaneManip swig_types[152] -#define SWIGTYPE_p_SoColorIndex swig_types[153] -#define SWIGTYPE_p_SoColorPacker swig_types[154] -#define SWIGTYPE_p_SoComplexity swig_types[155] -#define SWIGTYPE_p_SoComplexityElement swig_types[156] -#define SWIGTYPE_p_SoComplexityTypeElement swig_types[157] -#define SWIGTYPE_p_SoComposeMatrix swig_types[158] -#define SWIGTYPE_p_SoComposeRotation swig_types[159] -#define SWIGTYPE_p_SoComposeRotationFromTo swig_types[160] -#define SWIGTYPE_p_SoComposeVec2f swig_types[161] -#define SWIGTYPE_p_SoComposeVec3f swig_types[162] -#define SWIGTYPE_p_SoComposeVec4f swig_types[163] -#define SWIGTYPE_p_SoComputeBoundingBox swig_types[164] -#define SWIGTYPE_p_SoConcatenate swig_types[165] -#define SWIGTYPE_p_SoCone swig_types[166] -#define SWIGTYPE_p_SoConeDetail swig_types[167] -#define SWIGTYPE_p_SoContextHandler swig_types[168] -#define SWIGTYPE_p_SoConvexDataCache swig_types[169] -#define SWIGTYPE_p_SoCoordinate3 swig_types[170] -#define SWIGTYPE_p_SoCoordinate4 swig_types[171] -#define SWIGTYPE_p_SoCoordinateElement swig_types[172] -#define SWIGTYPE_p_SoCounter swig_types[173] -#define SWIGTYPE_p_SoCreaseAngleElement swig_types[174] -#define SWIGTYPE_p_SoCube swig_types[175] -#define SWIGTYPE_p_SoCubeDetail swig_types[176] -#define SWIGTYPE_p_SoCullElement swig_types[177] -#define SWIGTYPE_p_SoCylinder swig_types[178] -#define SWIGTYPE_p_SoCylinderDetail swig_types[179] -#define SWIGTYPE_p_SoDB swig_types[180] -#define SWIGTYPE_p_SoDataSensor swig_types[181] -#define SWIGTYPE_p_SoDebugError swig_types[182] -#define SWIGTYPE_p_SoDecimationPercentageElement swig_types[183] -#define SWIGTYPE_p_SoDecimationTypeElement swig_types[184] -#define SWIGTYPE_p_SoDecomposeMatrix swig_types[185] -#define SWIGTYPE_p_SoDecomposeRotation swig_types[186] -#define SWIGTYPE_p_SoDecomposeVec2f swig_types[187] -#define SWIGTYPE_p_SoDecomposeVec3f swig_types[188] -#define SWIGTYPE_p_SoDecomposeVec4f swig_types[189] -#define SWIGTYPE_p_SoDelayQueueSensor swig_types[190] -#define SWIGTYPE_p_SoDepthBuffer swig_types[191] -#define SWIGTYPE_p_SoDepthBufferElement swig_types[192] -#define SWIGTYPE_p_SoDepthBufferElement__DepthWriteFunction swig_types[193] -#define SWIGTYPE_p_SoDetail swig_types[194] -#define SWIGTYPE_p_SoDetailList swig_types[195] -#define SWIGTYPE_p_SoDiffuseColorElement swig_types[196] -#define SWIGTYPE_p_SoDirectionalLight swig_types[197] -#define SWIGTYPE_p_SoDirectionalLightDragger swig_types[198] -#define SWIGTYPE_p_SoDirectionalLightManip swig_types[199] -#define SWIGTYPE_p_SoDragPointDragger swig_types[200] -#define SWIGTYPE_p_SoDragger swig_types[201] -#define SWIGTYPE_p_SoDrawStyle swig_types[202] -#define SWIGTYPE_p_SoDrawStyleElement swig_types[203] -#define SWIGTYPE_p_SoElapsedTime swig_types[204] -#define SWIGTYPE_p_SoElement swig_types[205] -#define SWIGTYPE_p_SoEmissiveColorElement swig_types[206] -#define SWIGTYPE_p_SoEnabledElementsList swig_types[207] -#define SWIGTYPE_p_SoEngine swig_types[208] -#define SWIGTYPE_p_SoEngineList swig_types[209] -#define SWIGTYPE_p_SoEngineOutput swig_types[210] -#define SWIGTYPE_p_SoEngineOutputData swig_types[211] -#define SWIGTYPE_p_SoEngineOutputList swig_types[212] -#define SWIGTYPE_p_SoEnvironment swig_types[213] -#define SWIGTYPE_p_SoEnvironmentElement swig_types[214] -#define SWIGTYPE_p_SoError swig_types[215] -#define SWIGTYPE_p_SoEvent swig_types[216] -#define SWIGTYPE_p_SoEventCallback swig_types[217] -#define SWIGTYPE_p_SoEventManager swig_types[218] -#define SWIGTYPE_p_SoExtSelection swig_types[219] -#define SWIGTYPE_p_SoFaceDetail swig_types[220] -#define SWIGTYPE_p_SoFaceSet swig_types[221] -#define SWIGTYPE_p_SoField swig_types[222] -#define SWIGTYPE_p_SoFieldContainer swig_types[223] -#define SWIGTYPE_p_SoFieldConverter swig_types[224] -#define SWIGTYPE_p_SoFieldData swig_types[225] -#define SWIGTYPE_p_SoFieldList swig_types[226] -#define SWIGTYPE_p_SoFieldSensor swig_types[227] -#define SWIGTYPE_p_SoFile swig_types[228] -#define SWIGTYPE_p_SoFloatElement swig_types[229] -#define SWIGTYPE_p_SoFocalDistanceElement swig_types[230] -#define SWIGTYPE_p_SoFont swig_types[231] -#define SWIGTYPE_p_SoFontNameElement swig_types[232] -#define SWIGTYPE_p_SoFontSizeElement swig_types[233] -#define SWIGTYPE_p_SoFontStyle swig_types[234] -#define SWIGTYPE_p_SoFragmentShader swig_types[235] -#define SWIGTYPE_p_SoFrustumCamera swig_types[236] -#define SWIGTYPE_p_SoFullPath swig_types[237] -#define SWIGTYPE_p_SoGLBigImage swig_types[238] -#define SWIGTYPE_p_SoGLCacheContextElement swig_types[239] -#define SWIGTYPE_p_SoGLCacheList swig_types[240] -#define SWIGTYPE_p_SoGLClipPlaneElement swig_types[241] -#define SWIGTYPE_p_SoGLColorIndexElement swig_types[242] -#define SWIGTYPE_p_SoGLCoordinateElement swig_types[243] -#define SWIGTYPE_p_SoGLDepthBufferElement swig_types[244] -#define SWIGTYPE_p_SoGLDisplayList swig_types[245] -#define SWIGTYPE_p_SoGLDrawStyleElement swig_types[246] -#define SWIGTYPE_p_SoGLEnvironmentElement swig_types[247] -#define SWIGTYPE_p_SoGLImage swig_types[248] -#define SWIGTYPE_p_SoGLImageResizeCB swig_types[249] -#define SWIGTYPE_p_SoGLLazyElement swig_types[250] -#define SWIGTYPE_p_SoGLLazyElement_GLState swig_types[251] -#define SWIGTYPE_p_SoGLLazyElement__GLState swig_types[252] -#define SWIGTYPE_p_SoGLLightIdElement swig_types[253] -#define SWIGTYPE_p_SoGLLinePatternElement swig_types[254] -#define SWIGTYPE_p_SoGLLineWidthElement swig_types[255] -#define SWIGTYPE_p_SoGLModelMatrixElement swig_types[256] -#define SWIGTYPE_p_SoGLMultiTextureCoordinateElement swig_types[257] -#define SWIGTYPE_p_SoGLMultiTextureEnabledElement swig_types[258] -#define SWIGTYPE_p_SoGLMultiTextureImageElement swig_types[259] -#define SWIGTYPE_p_SoGLMultiTextureMatrixElement swig_types[260] -#define SWIGTYPE_p_SoGLNormalElement swig_types[261] -#define SWIGTYPE_p_SoGLPointSizeElement swig_types[262] -#define SWIGTYPE_p_SoGLPolygonOffsetElement swig_types[263] -#define SWIGTYPE_p_SoGLProjectionMatrixElement swig_types[264] -#define SWIGTYPE_p_SoGLRenderAbortCB swig_types[265] -#define SWIGTYPE_p_SoGLRenderAction swig_types[266] -#define SWIGTYPE_p_SoGLRenderCache swig_types[267] -#define SWIGTYPE_p_SoGLRenderPassElement swig_types[268] -#define SWIGTYPE_p_SoGLShaderObject swig_types[269] -#define SWIGTYPE_p_SoGLShapeHintsElement swig_types[270] -#define SWIGTYPE_p_SoGLTexture3EnabledElement swig_types[271] -#define SWIGTYPE_p_SoGLTextureCoordinateElement swig_types[272] -#define SWIGTYPE_p_SoGLTextureEnabledElement swig_types[273] -#define SWIGTYPE_p_SoGLTextureImageElement swig_types[274] -#define SWIGTYPE_p_SoGLTextureMatrixElement swig_types[275] -#define SWIGTYPE_p_SoGLUpdateAreaElement swig_types[276] -#define SWIGTYPE_p_SoGLVBOElement swig_types[277] -#define SWIGTYPE_p_SoGLVertexAttributeElement swig_types[278] -#define SWIGTYPE_p_SoGLViewingMatrixElement swig_types[279] -#define SWIGTYPE_p_SoGLViewportRegionElement swig_types[280] -#define SWIGTYPE_p_SoGate swig_types[281] -#define SWIGTYPE_p_SoGetBoundingBoxAction swig_types[282] -#define SWIGTYPE_p_SoGetMatrixAction swig_types[283] -#define SWIGTYPE_p_SoGetPrimitiveCountAction swig_types[284] -#define SWIGTYPE_p_SoGlyph swig_types[285] -#define SWIGTYPE_p_SoGroup swig_types[286] -#define SWIGTYPE_p_SoHandleBoxDragger swig_types[287] -#define SWIGTYPE_p_SoHandleBoxManip swig_types[288] -#define SWIGTYPE_p_SoHandleEventAction swig_types[289] -#define SWIGTYPE_p_SoHardCopy swig_types[290] -#define SWIGTYPE_p_SoHeightMapToNormalMap swig_types[291] -#define SWIGTYPE_p_SoIdleSensor swig_types[292] -#define SWIGTYPE_p_SoImage swig_types[293] -#define SWIGTYPE_p_SoIndexedFaceSet swig_types[294] -#define SWIGTYPE_p_SoIndexedLineSet swig_types[295] -#define SWIGTYPE_p_SoIndexedMarkerSet swig_types[296] -#define SWIGTYPE_p_SoIndexedNurbsCurve swig_types[297] -#define SWIGTYPE_p_SoIndexedNurbsSurface swig_types[298] -#define SWIGTYPE_p_SoIndexedPointSet swig_types[299] -#define SWIGTYPE_p_SoIndexedShape swig_types[300] -#define SWIGTYPE_p_SoIndexedTriangleStripSet swig_types[301] -#define SWIGTYPE_p_SoInfo swig_types[302] -#define SWIGTYPE_p_SoInput swig_types[303] -#define SWIGTYPE_p_SoInt32Element swig_types[304] -#define SWIGTYPE_p_SoInteraction swig_types[305] -#define SWIGTYPE_p_SoInteractionKit swig_types[306] -#define SWIGTYPE_p_SoInterpolate swig_types[307] -#define SWIGTYPE_p_SoInterpolateFloat swig_types[308] -#define SWIGTYPE_p_SoInterpolateRotation swig_types[309] -#define SWIGTYPE_p_SoInterpolateVec2f swig_types[310] -#define SWIGTYPE_p_SoInterpolateVec3f swig_types[311] -#define SWIGTYPE_p_SoInterpolateVec4f swig_types[312] -#define SWIGTYPE_p_SoIntersectingPrimitive swig_types[313] -#define SWIGTYPE_p_SoIntersectionCB swig_types[314] -#define SWIGTYPE_p_SoIntersectionDetectionAction swig_types[315] -#define SWIGTYPE_p_SoIntersectionFilterCB swig_types[316] -#define SWIGTYPE_p_SoIntersectionVisitationCB swig_types[317] -#define SWIGTYPE_p_SoJackDragger swig_types[318] -#define SWIGTYPE_p_SoJackManip swig_types[319] -#define SWIGTYPE_p_SoKeyboardEvent swig_types[320] -#define SWIGTYPE_p_SoLOD swig_types[321] -#define SWIGTYPE_p_SoLabel swig_types[322] -#define SWIGTYPE_p_SoLazyElement swig_types[323] -#define SWIGTYPE_p_SoLevelOfDetail swig_types[324] -#define SWIGTYPE_p_SoLight swig_types[325] -#define SWIGTYPE_p_SoLightAttenuationElement swig_types[326] -#define SWIGTYPE_p_SoLightElement swig_types[327] -#define SWIGTYPE_p_SoLightKit swig_types[328] -#define SWIGTYPE_p_SoLightModel swig_types[329] -#define SWIGTYPE_p_SoLightModelElement swig_types[330] -#define SWIGTYPE_p_SoLightPath swig_types[331] -#define SWIGTYPE_p_SoLineDetail swig_types[332] -#define SWIGTYPE_p_SoLineHighlightRenderAction swig_types[333] -#define SWIGTYPE_p_SoLinePatternElement swig_types[334] -#define SWIGTYPE_p_SoLineSet swig_types[335] -#define SWIGTYPE_p_SoLineWidthElement swig_types[336] -#define SWIGTYPE_p_SoLinearProfile swig_types[337] -#define SWIGTYPE_p_SoListener swig_types[338] -#define SWIGTYPE_p_SoListenerDopplerElement swig_types[339] -#define SWIGTYPE_p_SoListenerGainElement swig_types[340] -#define SWIGTYPE_p_SoListenerOrientationElement swig_types[341] -#define SWIGTYPE_p_SoListenerPositionElement swig_types[342] -#define SWIGTYPE_p_SoLocalBBoxMatrixElement swig_types[343] -#define SWIGTYPE_p_SoLocateHighlight swig_types[344] -#define SWIGTYPE_p_SoLocation2Event swig_types[345] -#define SWIGTYPE_p_SoLockManager swig_types[346] -#define SWIGTYPE_p_SoMFBitMask swig_types[347] -#define SWIGTYPE_p_SoMFBool swig_types[348] -#define SWIGTYPE_p_SoMFColor swig_types[349] -#define SWIGTYPE_p_SoMFColorRGBA swig_types[350] -#define SWIGTYPE_p_SoMFDouble swig_types[351] -#define SWIGTYPE_p_SoMFEngine swig_types[352] -#define SWIGTYPE_p_SoMFEnum swig_types[353] -#define SWIGTYPE_p_SoMFFloat swig_types[354] -#define SWIGTYPE_p_SoMFInt32 swig_types[355] -#define SWIGTYPE_p_SoMFMatrix swig_types[356] -#define SWIGTYPE_p_SoMFName swig_types[357] -#define SWIGTYPE_p_SoMFNode swig_types[358] -#define SWIGTYPE_p_SoMFPath swig_types[359] -#define SWIGTYPE_p_SoMFPlane swig_types[360] -#define SWIGTYPE_p_SoMFRotation swig_types[361] -#define SWIGTYPE_p_SoMFShort swig_types[362] -#define SWIGTYPE_p_SoMFString swig_types[363] -#define SWIGTYPE_p_SoMFTime swig_types[364] -#define SWIGTYPE_p_SoMFUInt32 swig_types[365] -#define SWIGTYPE_p_SoMFUShort swig_types[366] -#define SWIGTYPE_p_SoMFVec2b swig_types[367] -#define SWIGTYPE_p_SoMFVec2d swig_types[368] -#define SWIGTYPE_p_SoMFVec2f swig_types[369] -#define SWIGTYPE_p_SoMFVec2i32 swig_types[370] -#define SWIGTYPE_p_SoMFVec2s swig_types[371] -#define SWIGTYPE_p_SoMFVec3b swig_types[372] -#define SWIGTYPE_p_SoMFVec3d swig_types[373] -#define SWIGTYPE_p_SoMFVec3f swig_types[374] -#define SWIGTYPE_p_SoMFVec3i32 swig_types[375] -#define SWIGTYPE_p_SoMFVec3s swig_types[376] -#define SWIGTYPE_p_SoMFVec4b swig_types[377] -#define SWIGTYPE_p_SoMFVec4d swig_types[378] -#define SWIGTYPE_p_SoMFVec4f swig_types[379] -#define SWIGTYPE_p_SoMFVec4i32 swig_types[380] -#define SWIGTYPE_p_SoMFVec4s swig_types[381] -#define SWIGTYPE_p_SoMFVec4ub swig_types[382] -#define SWIGTYPE_p_SoMFVec4ui32 swig_types[383] -#define SWIGTYPE_p_SoMFVec4us swig_types[384] -#define SWIGTYPE_p_SoMField swig_types[385] -#define SWIGTYPE_p_SoMarkerSet swig_types[386] -#define SWIGTYPE_p_SoMaterial swig_types[387] -#define SWIGTYPE_p_SoMaterialBinding swig_types[388] -#define SWIGTYPE_p_SoMaterialBindingElement swig_types[389] -#define SWIGTYPE_p_SoMaterialBundle swig_types[390] -#define SWIGTYPE_p_SoMatrixTransform swig_types[391] -#define SWIGTYPE_p_SoMemoryError swig_types[392] -#define SWIGTYPE_p_SoModelMatrixElement swig_types[393] -#define SWIGTYPE_p_SoMotion3Event swig_types[394] -#define SWIGTYPE_p_SoMouseButtonEvent swig_types[395] -#define SWIGTYPE_p_SoMultiTextureCoordinateElement swig_types[396] -#define SWIGTYPE_p_SoMultiTextureEnabledElement swig_types[397] -#define SWIGTYPE_p_SoMultiTextureEnabledElement__Mode swig_types[398] -#define SWIGTYPE_p_SoMultiTextureImageElement swig_types[399] -#define SWIGTYPE_p_SoMultiTextureMatrixElement swig_types[400] -#define SWIGTYPE_p_SoMultipleCopy swig_types[401] -#define SWIGTYPE_p_SoNode swig_types[402] -#define SWIGTYPE_p_SoNodeEngine swig_types[403] -#define SWIGTYPE_p_SoNodeKit swig_types[404] -#define SWIGTYPE_p_SoNodeKitDetail swig_types[405] -#define SWIGTYPE_p_SoNodeKitListPart swig_types[406] -#define SWIGTYPE_p_SoNodeKitPath swig_types[407] -#define SWIGTYPE_p_SoNodeList swig_types[408] -#define SWIGTYPE_p_SoNodeSensor swig_types[409] -#define SWIGTYPE_p_SoNodekitCatalog swig_types[410] -#define SWIGTYPE_p_SoNonIndexedShape swig_types[411] -#define SWIGTYPE_p_SoNormal swig_types[412] -#define SWIGTYPE_p_SoNormalBinding swig_types[413] -#define SWIGTYPE_p_SoNormalBindingElement swig_types[414] -#define SWIGTYPE_p_SoNormalBundle swig_types[415] -#define SWIGTYPE_p_SoNormalCache swig_types[416] -#define SWIGTYPE_p_SoNormalElement swig_types[417] -#define SWIGTYPE_p_SoNormalGenerator swig_types[418] -#define SWIGTYPE_p_SoNotList swig_types[419] -#define SWIGTYPE_p_SoNotRec swig_types[420] -#define SWIGTYPE_p_SoNurbsCurve swig_types[421] -#define SWIGTYPE_p_SoNurbsProfile swig_types[422] -#define SWIGTYPE_p_SoNurbsSurface swig_types[423] -#define SWIGTYPE_p_SoOffscreenRenderer swig_types[424] -#define SWIGTYPE_p_SoOnOff swig_types[425] -#define SWIGTYPE_p_SoOneShot swig_types[426] -#define SWIGTYPE_p_SoOneShotSensor swig_types[427] -#define SWIGTYPE_p_SoOrthographicCamera swig_types[428] -#define SWIGTYPE_p_SoOutput swig_types[429] -#define SWIGTYPE_p_SoOverrideElement swig_types[430] -#define SWIGTYPE_p_SoPSVectorOutput swig_types[431] -#define SWIGTYPE_p_SoPackedColor swig_types[432] -#define SWIGTYPE_p_SoPath swig_types[433] -#define SWIGTYPE_p_SoPathList swig_types[434] -#define SWIGTYPE_p_SoPathSensor swig_types[435] -#define SWIGTYPE_p_SoPathSwitch swig_types[436] -#define SWIGTYPE_p_SoPendulum swig_types[437] -#define SWIGTYPE_p_SoPerspectiveCamera swig_types[438] -#define SWIGTYPE_p_SoPickAction swig_types[439] -#define SWIGTYPE_p_SoPickRayElement swig_types[440] -#define SWIGTYPE_p_SoPickStyle swig_types[441] -#define SWIGTYPE_p_SoPickStyleElement swig_types[442] -#define SWIGTYPE_p_SoPickedPoint swig_types[443] -#define SWIGTYPE_p_SoPickedPointList swig_types[444] -#define SWIGTYPE_p_SoPointDetail swig_types[445] -#define SWIGTYPE_p_SoPointLight swig_types[446] -#define SWIGTYPE_p_SoPointLightDragger swig_types[447] -#define SWIGTYPE_p_SoPointLightManip swig_types[448] -#define SWIGTYPE_p_SoPointSet swig_types[449] -#define SWIGTYPE_p_SoPointSizeElement swig_types[450] -#define SWIGTYPE_p_SoPolygonOffset swig_types[451] -#define SWIGTYPE_p_SoPolygonOffsetElement swig_types[452] -#define SWIGTYPE_p_SoPolygonOffsetElement__Style swig_types[453] -#define SWIGTYPE_p_SoPrimitiveVertex swig_types[454] -#define SWIGTYPE_p_SoProfile swig_types[455] -#define SWIGTYPE_p_SoProfileCoordinate2 swig_types[456] -#define SWIGTYPE_p_SoProfileCoordinate3 swig_types[457] -#define SWIGTYPE_p_SoProfileCoordinateElement swig_types[458] -#define SWIGTYPE_p_SoProfileElement swig_types[459] -#define SWIGTYPE_p_SoProjectionMatrixElement swig_types[460] -#define SWIGTYPE_p_SoProto swig_types[461] -#define SWIGTYPE_p_SoProtoInstance swig_types[462] -#define SWIGTYPE_p_SoQuadMesh swig_types[463] -#define SWIGTYPE_p_SoRayPickAction swig_types[464] -#define SWIGTYPE_p_SoReadError swig_types[465] -#define SWIGTYPE_p_SoRenderManager swig_types[466] -#define SWIGTYPE_p_SoRenderManager__Superimposition swig_types[467] -#define SWIGTYPE_p_SoReorganizeAction swig_types[468] -#define SWIGTYPE_p_SoReplacedElement swig_types[469] -#define SWIGTYPE_p_SoResetTransform swig_types[470] -#define SWIGTYPE_p_SoRotateCylindricalDragger swig_types[471] -#define SWIGTYPE_p_SoRotateDiscDragger swig_types[472] -#define SWIGTYPE_p_SoRotateSphericalDragger swig_types[473] -#define SWIGTYPE_p_SoRotation swig_types[474] -#define SWIGTYPE_p_SoRotationXYZ swig_types[475] -#define SWIGTYPE_p_SoRotor swig_types[476] -#define SWIGTYPE_p_SoSFBitMask swig_types[477] -#define SWIGTYPE_p_SoSFBool swig_types[478] -#define SWIGTYPE_p_SoSFBox2d swig_types[479] -#define SWIGTYPE_p_SoSFBox2f swig_types[480] -#define SWIGTYPE_p_SoSFBox2i32 swig_types[481] -#define SWIGTYPE_p_SoSFBox2s swig_types[482] -#define SWIGTYPE_p_SoSFBox3d swig_types[483] -#define SWIGTYPE_p_SoSFBox3f swig_types[484] -#define SWIGTYPE_p_SoSFBox3i32 swig_types[485] -#define SWIGTYPE_p_SoSFBox3s swig_types[486] -#define SWIGTYPE_p_SoSFColor swig_types[487] -#define SWIGTYPE_p_SoSFColorRGBA swig_types[488] -#define SWIGTYPE_p_SoSFDouble swig_types[489] -#define SWIGTYPE_p_SoSFEngine swig_types[490] -#define SWIGTYPE_p_SoSFEnum swig_types[491] -#define SWIGTYPE_p_SoSFFloat swig_types[492] -#define SWIGTYPE_p_SoSFImage swig_types[493] -#define SWIGTYPE_p_SoSFImage3 swig_types[494] -#define SWIGTYPE_p_SoSFInt32 swig_types[495] -#define SWIGTYPE_p_SoSFMatrix swig_types[496] -#define SWIGTYPE_p_SoSFName swig_types[497] -#define SWIGTYPE_p_SoSFNode swig_types[498] -#define SWIGTYPE_p_SoSFPath swig_types[499] -#define SWIGTYPE_p_SoSFPlane swig_types[500] -#define SWIGTYPE_p_SoSFRotation swig_types[501] -#define SWIGTYPE_p_SoSFShort swig_types[502] -#define SWIGTYPE_p_SoSFString swig_types[503] -#define SWIGTYPE_p_SoSFTime swig_types[504] -#define SWIGTYPE_p_SoSFTrigger swig_types[505] -#define SWIGTYPE_p_SoSFUInt32 swig_types[506] -#define SWIGTYPE_p_SoSFUShort swig_types[507] -#define SWIGTYPE_p_SoSFVec2b swig_types[508] -#define SWIGTYPE_p_SoSFVec2d swig_types[509] -#define SWIGTYPE_p_SoSFVec2f swig_types[510] -#define SWIGTYPE_p_SoSFVec2i32 swig_types[511] -#define SWIGTYPE_p_SoSFVec2s swig_types[512] -#define SWIGTYPE_p_SoSFVec3b swig_types[513] -#define SWIGTYPE_p_SoSFVec3d swig_types[514] -#define SWIGTYPE_p_SoSFVec3f swig_types[515] -#define SWIGTYPE_p_SoSFVec3i32 swig_types[516] -#define SWIGTYPE_p_SoSFVec3s swig_types[517] -#define SWIGTYPE_p_SoSFVec4b swig_types[518] -#define SWIGTYPE_p_SoSFVec4d swig_types[519] -#define SWIGTYPE_p_SoSFVec4f swig_types[520] -#define SWIGTYPE_p_SoSFVec4i32 swig_types[521] -#define SWIGTYPE_p_SoSFVec4s swig_types[522] -#define SWIGTYPE_p_SoSFVec4ub swig_types[523] -#define SWIGTYPE_p_SoSFVec4ui32 swig_types[524] -#define SWIGTYPE_p_SoSFVec4us swig_types[525] -#define SWIGTYPE_p_SoSField swig_types[526] -#define SWIGTYPE_p_SoScXMLEvent swig_types[527] -#define SWIGTYPE_p_SoScXMLStateMachine swig_types[528] -#define SWIGTYPE_p_SoScale swig_types[529] -#define SWIGTYPE_p_SoScale1Dragger swig_types[530] -#define SWIGTYPE_p_SoScale2Dragger swig_types[531] -#define SWIGTYPE_p_SoScale2UniformDragger swig_types[532] -#define SWIGTYPE_p_SoScaleUniformDragger swig_types[533] -#define SWIGTYPE_p_SoSceneKit swig_types[534] -#define SWIGTYPE_p_SoSceneManager swig_types[535] -#define SWIGTYPE_p_SoSceneTexture2 swig_types[536] -#define SWIGTYPE_p_SoSceneTextureCubeMap swig_types[537] -#define SWIGTYPE_p_SoSearchAction swig_types[538] -#define SWIGTYPE_p_SoSelectOne swig_types[539] -#define SWIGTYPE_p_SoSelection swig_types[540] -#define SWIGTYPE_p_SoSensor swig_types[541] -#define SWIGTYPE_p_SoSensorManager swig_types[542] -#define SWIGTYPE_p_SoSeparator swig_types[543] -#define SWIGTYPE_p_SoSeparatorKit swig_types[544] -#define SWIGTYPE_p_SoShaderObject swig_types[545] -#define SWIGTYPE_p_SoShaderParameter swig_types[546] -#define SWIGTYPE_p_SoShaderParameter1f swig_types[547] -#define SWIGTYPE_p_SoShaderParameter1i swig_types[548] -#define SWIGTYPE_p_SoShaderParameter2f swig_types[549] -#define SWIGTYPE_p_SoShaderParameter2i swig_types[550] -#define SWIGTYPE_p_SoShaderParameter3f swig_types[551] -#define SWIGTYPE_p_SoShaderParameter3i swig_types[552] -#define SWIGTYPE_p_SoShaderParameter4f swig_types[553] -#define SWIGTYPE_p_SoShaderParameter4i swig_types[554] -#define SWIGTYPE_p_SoShaderParameterArray1f swig_types[555] -#define SWIGTYPE_p_SoShaderParameterArray1i swig_types[556] -#define SWIGTYPE_p_SoShaderParameterArray2f swig_types[557] -#define SWIGTYPE_p_SoShaderParameterArray2i swig_types[558] -#define SWIGTYPE_p_SoShaderParameterArray3f swig_types[559] -#define SWIGTYPE_p_SoShaderParameterArray3i swig_types[560] -#define SWIGTYPE_p_SoShaderParameterArray4f swig_types[561] -#define SWIGTYPE_p_SoShaderParameterArray4i swig_types[562] -#define SWIGTYPE_p_SoShaderParameterMatrix swig_types[563] -#define SWIGTYPE_p_SoShaderParameterMatrixArray swig_types[564] -#define SWIGTYPE_p_SoShaderProgram swig_types[565] -#define SWIGTYPE_p_SoShaderStateMatrixParameter swig_types[566] -#define SWIGTYPE_p_SoShape swig_types[567] -#define SWIGTYPE_p_SoShapeHints swig_types[568] -#define SWIGTYPE_p_SoShapeHintsElement swig_types[569] -#define SWIGTYPE_p_SoShapeHintsElement__FaceType swig_types[570] -#define SWIGTYPE_p_SoShapeHintsElement__ShapeType swig_types[571] -#define SWIGTYPE_p_SoShapeHintsElement__VertexOrdering swig_types[572] -#define SWIGTYPE_p_SoShapeKit swig_types[573] -#define SWIGTYPE_p_SoShapeStyleElement swig_types[574] -#define SWIGTYPE_p_SoShininessElement swig_types[575] -#define SWIGTYPE_p_SoShuttle swig_types[576] -#define SWIGTYPE_p_SoSimplifier swig_types[577] -#define SWIGTYPE_p_SoSimplifyAction swig_types[578] -#define SWIGTYPE_p_SoSoundElement swig_types[579] -#define SWIGTYPE_p_SoSpaceballButtonEvent swig_types[580] -#define SWIGTYPE_p_SoSpecularColorElement swig_types[581] -#define SWIGTYPE_p_SoSphere swig_types[582] -#define SWIGTYPE_p_SoSpotLight swig_types[583] -#define SWIGTYPE_p_SoSpotLightDragger swig_types[584] -#define SWIGTYPE_p_SoSpotLightManip swig_types[585] -#define SWIGTYPE_p_SoState swig_types[586] -#define SWIGTYPE_p_SoSurroundScale swig_types[587] -#define SWIGTYPE_p_SoSwitch swig_types[588] -#define SWIGTYPE_p_SoSwitchElement swig_types[589] -#define SWIGTYPE_p_SoTabBoxDragger swig_types[590] -#define SWIGTYPE_p_SoTabBoxManip swig_types[591] -#define SWIGTYPE_p_SoTabPlaneDragger swig_types[592] -#define SWIGTYPE_p_SoTempPath swig_types[593] -#define SWIGTYPE_p_SoText2 swig_types[594] -#define SWIGTYPE_p_SoText3 swig_types[595] -#define SWIGTYPE_p_SoTextDetail swig_types[596] -#define SWIGTYPE_p_SoTextOutlineEnabledElement swig_types[597] -#define SWIGTYPE_p_SoTexture swig_types[598] -#define SWIGTYPE_p_SoTexture2 swig_types[599] -#define SWIGTYPE_p_SoTexture2Convert swig_types[600] -#define SWIGTYPE_p_SoTexture2Transform swig_types[601] -#define SWIGTYPE_p_SoTexture3 swig_types[602] -#define SWIGTYPE_p_SoTexture3EnabledElement swig_types[603] -#define SWIGTYPE_p_SoTexture3Transform swig_types[604] -#define SWIGTYPE_p_SoTextureCombine swig_types[605] -#define SWIGTYPE_p_SoTextureCombineElement swig_types[606] -#define SWIGTYPE_p_SoTextureCombineElement__Operand swig_types[607] -#define SWIGTYPE_p_SoTextureCombineElement__Operation swig_types[608] -#define SWIGTYPE_p_SoTextureCombineElement__Source swig_types[609] -#define SWIGTYPE_p_SoTextureCoordinate2 swig_types[610] -#define SWIGTYPE_p_SoTextureCoordinate3 swig_types[611] -#define SWIGTYPE_p_SoTextureCoordinateBinding swig_types[612] -#define SWIGTYPE_p_SoTextureCoordinateBindingElement swig_types[613] -#define SWIGTYPE_p_SoTextureCoordinateBundle swig_types[614] -#define SWIGTYPE_p_SoTextureCoordinateCache swig_types[615] -#define SWIGTYPE_p_SoTextureCoordinateCube swig_types[616] -#define SWIGTYPE_p_SoTextureCoordinateCylinder swig_types[617] -#define SWIGTYPE_p_SoTextureCoordinateDefault swig_types[618] -#define SWIGTYPE_p_SoTextureCoordinateElement swig_types[619] -#define SWIGTYPE_p_SoTextureCoordinateEnvironment swig_types[620] -#define SWIGTYPE_p_SoTextureCoordinateFunction swig_types[621] -#define SWIGTYPE_p_SoTextureCoordinateNormalMap swig_types[622] -#define SWIGTYPE_p_SoTextureCoordinateObject swig_types[623] -#define SWIGTYPE_p_SoTextureCoordinatePlane swig_types[624] -#define SWIGTYPE_p_SoTextureCoordinateReflectionMap swig_types[625] -#define SWIGTYPE_p_SoTextureCoordinateSphere swig_types[626] -#define SWIGTYPE_p_SoTextureCubeMap swig_types[627] -#define SWIGTYPE_p_SoTextureEnabledElement swig_types[628] -#define SWIGTYPE_p_SoTextureImageElement swig_types[629] -#define SWIGTYPE_p_SoTextureImageElement__Model swig_types[630] -#define SWIGTYPE_p_SoTextureImageElement__Wrap swig_types[631] -#define SWIGTYPE_p_SoTextureMatrixElement swig_types[632] -#define SWIGTYPE_p_SoTextureMatrixTransform swig_types[633] -#define SWIGTYPE_p_SoTextureOverrideElement swig_types[634] -#define SWIGTYPE_p_SoTextureQualityElement swig_types[635] -#define SWIGTYPE_p_SoTextureScalePolicy swig_types[636] -#define SWIGTYPE_p_SoTextureUnit swig_types[637] -#define SWIGTYPE_p_SoTextureUnitElement swig_types[638] -#define SWIGTYPE_p_SoTimeCounter swig_types[639] -#define SWIGTYPE_p_SoTimerQueueSensor swig_types[640] -#define SWIGTYPE_p_SoTimerSensor swig_types[641] -#define SWIGTYPE_p_SoToVRML2Action swig_types[642] -#define SWIGTYPE_p_SoToVRMLAction swig_types[643] -#define SWIGTYPE_p_SoTrackballDragger swig_types[644] -#define SWIGTYPE_p_SoTrackballManip swig_types[645] -#define SWIGTYPE_p_SoTranReceiver swig_types[646] -#define SWIGTYPE_p_SoTranSender swig_types[647] -#define SWIGTYPE_p_SoTransform swig_types[648] -#define SWIGTYPE_p_SoTransformBoxDragger swig_types[649] -#define SWIGTYPE_p_SoTransformBoxManip swig_types[650] -#define SWIGTYPE_p_SoTransformManip swig_types[651] -#define SWIGTYPE_p_SoTransformSeparator swig_types[652] -#define SWIGTYPE_p_SoTransformVec3f swig_types[653] -#define SWIGTYPE_p_SoTransformation swig_types[654] -#define SWIGTYPE_p_SoTransformerDragger swig_types[655] -#define SWIGTYPE_p_SoTransformerManip swig_types[656] -#define SWIGTYPE_p_SoTranslate1Dragger swig_types[657] -#define SWIGTYPE_p_SoTranslate2Dragger swig_types[658] -#define SWIGTYPE_p_SoTranslation swig_types[659] -#define SWIGTYPE_p_SoTransparencyElement swig_types[660] -#define SWIGTYPE_p_SoTransparencyType swig_types[661] -#define SWIGTYPE_p_SoTriangleStripSet swig_types[662] -#define SWIGTYPE_p_SoTriggerAny swig_types[663] -#define SWIGTYPE_p_SoType swig_types[664] -#define SWIGTYPE_p_SoTypeList swig_types[665] -#define SWIGTYPE_p_SoUniformShaderParameter swig_types[666] -#define SWIGTYPE_p_SoUnits swig_types[667] -#define SWIGTYPE_p_SoUnitsElement swig_types[668] -#define SWIGTYPE_p_SoVBO swig_types[669] -#define SWIGTYPE_p_SoVRMLAnchor swig_types[670] -#define SWIGTYPE_p_SoVRMLAppearance swig_types[671] -#define SWIGTYPE_p_SoVRMLAudioClip swig_types[672] -#define SWIGTYPE_p_SoVRMLBackground swig_types[673] -#define SWIGTYPE_p_SoVRMLBillboard swig_types[674] -#define SWIGTYPE_p_SoVRMLBox swig_types[675] -#define SWIGTYPE_p_SoVRMLCollision swig_types[676] -#define SWIGTYPE_p_SoVRMLColor swig_types[677] -#define SWIGTYPE_p_SoVRMLColorInterpolator swig_types[678] -#define SWIGTYPE_p_SoVRMLCone swig_types[679] -#define SWIGTYPE_p_SoVRMLCoordinate swig_types[680] -#define SWIGTYPE_p_SoVRMLCoordinateInterpolator swig_types[681] -#define SWIGTYPE_p_SoVRMLCylinder swig_types[682] -#define SWIGTYPE_p_SoVRMLCylinderSensor swig_types[683] -#define SWIGTYPE_p_SoVRMLDirectionalLight swig_types[684] -#define SWIGTYPE_p_SoVRMLDragSensor swig_types[685] -#define SWIGTYPE_p_SoVRMLElevationGrid swig_types[686] -#define SWIGTYPE_p_SoVRMLExtrusion swig_types[687] -#define SWIGTYPE_p_SoVRMLFog swig_types[688] -#define SWIGTYPE_p_SoVRMLFontStyle swig_types[689] -#define SWIGTYPE_p_SoVRMLGeometry swig_types[690] -#define SWIGTYPE_p_SoVRMLGroup swig_types[691] -#define SWIGTYPE_p_SoVRMLImageTexture swig_types[692] -#define SWIGTYPE_p_SoVRMLIndexedFaceSet swig_types[693] -#define SWIGTYPE_p_SoVRMLIndexedLine swig_types[694] -#define SWIGTYPE_p_SoVRMLIndexedLineSet swig_types[695] -#define SWIGTYPE_p_SoVRMLIndexedShape swig_types[696] -#define SWIGTYPE_p_SoVRMLInline swig_types[697] -#define SWIGTYPE_p_SoVRMLInterpolator swig_types[698] -#define SWIGTYPE_p_SoVRMLLOD swig_types[699] -#define SWIGTYPE_p_SoVRMLLight swig_types[700] -#define SWIGTYPE_p_SoVRMLMaterial swig_types[701] -#define SWIGTYPE_p_SoVRMLMovieTexture swig_types[702] -#define SWIGTYPE_p_SoVRMLNavigationInfo swig_types[703] -#define SWIGTYPE_p_SoVRMLNormal swig_types[704] -#define SWIGTYPE_p_SoVRMLNormalInterpolator swig_types[705] -#define SWIGTYPE_p_SoVRMLOrientationInterpolator swig_types[706] -#define SWIGTYPE_p_SoVRMLParent swig_types[707] -#define SWIGTYPE_p_SoVRMLPixelTexture swig_types[708] -#define SWIGTYPE_p_SoVRMLPlaneSensor swig_types[709] -#define SWIGTYPE_p_SoVRMLPointLight swig_types[710] -#define SWIGTYPE_p_SoVRMLPointSet swig_types[711] -#define SWIGTYPE_p_SoVRMLPositionInterpolator swig_types[712] -#define SWIGTYPE_p_SoVRMLProximitySensor swig_types[713] -#define SWIGTYPE_p_SoVRMLScalarInterpolator swig_types[714] -#define SWIGTYPE_p_SoVRMLScript swig_types[715] -#define SWIGTYPE_p_SoVRMLSensor swig_types[716] -#define SWIGTYPE_p_SoVRMLShape swig_types[717] -#define SWIGTYPE_p_SoVRMLSound swig_types[718] -#define SWIGTYPE_p_SoVRMLSphere swig_types[719] -#define SWIGTYPE_p_SoVRMLSphereSensor swig_types[720] -#define SWIGTYPE_p_SoVRMLSpotLight swig_types[721] -#define SWIGTYPE_p_SoVRMLSwitch swig_types[722] -#define SWIGTYPE_p_SoVRMLText swig_types[723] -#define SWIGTYPE_p_SoVRMLTexture swig_types[724] -#define SWIGTYPE_p_SoVRMLTextureCoordinate swig_types[725] -#define SWIGTYPE_p_SoVRMLTextureTransform swig_types[726] -#define SWIGTYPE_p_SoVRMLTimeSensor swig_types[727] -#define SWIGTYPE_p_SoVRMLTouchSensor swig_types[728] -#define SWIGTYPE_p_SoVRMLTransform swig_types[729] -#define SWIGTYPE_p_SoVRMLVertexLine swig_types[730] -#define SWIGTYPE_p_SoVRMLVertexPoint swig_types[731] -#define SWIGTYPE_p_SoVRMLVertexShape swig_types[732] -#define SWIGTYPE_p_SoVRMLViewpoint swig_types[733] -#define SWIGTYPE_p_SoVRMLVisibilitySensor swig_types[734] -#define SWIGTYPE_p_SoVRMLWorldInfo swig_types[735] -#define SWIGTYPE_p_SoVectorOutput swig_types[736] -#define SWIGTYPE_p_SoVectorizeAction swig_types[737] -#define SWIGTYPE_p_SoVectorizePSAction swig_types[738] -#define SWIGTYPE_p_SoVertexAttribute swig_types[739] -#define SWIGTYPE_p_SoVertexAttributeBinding swig_types[740] -#define SWIGTYPE_p_SoVertexAttributeBindingElement swig_types[741] -#define SWIGTYPE_p_SoVertexAttributeData swig_types[742] -#define SWIGTYPE_p_SoVertexAttributeElement swig_types[743] -#define SWIGTYPE_p_SoVertexProperty swig_types[744] -#define SWIGTYPE_p_SoVertexShader swig_types[745] -#define SWIGTYPE_p_SoVertexShape swig_types[746] -#define SWIGTYPE_p_SoViewVolumeElement swig_types[747] -#define SWIGTYPE_p_SoViewingMatrixElement swig_types[748] -#define SWIGTYPE_p_SoViewportRegionElement swig_types[749] -#define SWIGTYPE_p_SoWWWAnchor swig_types[750] -#define SWIGTYPE_p_SoWWWInline swig_types[751] -#define SWIGTYPE_p_SoWindowElement swig_types[752] -#define SWIGTYPE_p_SoWrapperKit swig_types[753] -#define SWIGTYPE_p_SoWriteAction swig_types[754] -#define SWIGTYPE_p_a_2__double swig_types[755] -#define SWIGTYPE_p_a_2__doublep swig_types[756] -#define SWIGTYPE_p_a_2__int32_t swig_types[757] -#define SWIGTYPE_p_a_2__int8_t swig_types[758] -#define SWIGTYPE_p_a_2__short swig_types[759] -#define SWIGTYPE_p_a_3__int32_t swig_types[760] -#define SWIGTYPE_p_a_3__int8_t swig_types[761] -#define SWIGTYPE_p_a_3__short swig_types[762] -#define SWIGTYPE_p_a_4__a_4__double swig_types[763] -#define SWIGTYPE_p_a_4__a_4__doublep swig_types[764] -#define SWIGTYPE_p_a_4__a_4__float swig_types[765] -#define SWIGTYPE_p_a_4__a_4__floatp swig_types[766] -#define SWIGTYPE_p_a_4__double swig_types[767] -#define SWIGTYPE_p_a_4__doublep swig_types[768] -#define SWIGTYPE_p_a_4__float swig_types[769] -#define SWIGTYPE_p_a_4__floatp swig_types[770] -#define SWIGTYPE_p_a_4__int32_t swig_types[771] -#define SWIGTYPE_p_a_4__int8_t swig_types[772] -#define SWIGTYPE_p_a_4__short swig_types[773] -#define SWIGTYPE_p_a_4__uint32_t swig_types[774] -#define SWIGTYPE_p_a_4__uint8_t swig_types[775] -#define SWIGTYPE_p_a_4__unsigned_short swig_types[776] -#define SWIGTYPE_p_cc_glglue swig_types[777] -#define SWIGTYPE_p_cc_storage_f swig_types[778] -#define SWIGTYPE_p_char swig_types[779] -#define SWIGTYPE_p_charp swig_types[780] -#define SWIGTYPE_p_close_func swig_types[781] -#define SWIGTYPE_p_double swig_types[782] -#define SWIGTYPE_p_doublep swig_types[783] -#define SWIGTYPE_p_f_char__char swig_types[784] -#define SWIGTYPE_p_f_char__charp swig_types[785] -#define SWIGTYPE_p_f_float_p_void__int swig_types[786] -#define SWIGTYPE_p_f_float_p_void__intp swig_types[787] -#define SWIGTYPE_p_f_p_SoAction_p_SoNode__void swig_types[788] -#define SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto swig_types[789] -#define SWIGTYPE_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int swig_types[790] -#define SWIGTYPE_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp swig_types[791] -#define SWIGTYPE_p_f_p_q_const__SoError_p_void__void swig_types[792] -#define SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode swig_types[793] -#define SWIGTYPE_p_f_p_void__float swig_types[794] -#define SWIGTYPE_p_f_p_void__floatp swig_types[795] -#define SWIGTYPE_p_f_p_void__int swig_types[796] -#define SWIGTYPE_p_f_p_void__intp swig_types[797] -#define SWIGTYPE_p_f_p_void__p_void swig_types[798] -#define SWIGTYPE_p_f_p_void__void swig_types[799] -#define SWIGTYPE_p_f_p_void_int__void swig_types[800] -#define SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int swig_types[801] -#define SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp swig_types[802] -#define SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void swig_types[803] -#define SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void swig_types[804] -#define SWIGTYPE_p_f_p_void_p_SoAction__void swig_types[805] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response swig_types[806] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int swig_types[807] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp swig_types[808] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void swig_types[809] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[810] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[811] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[812] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[813] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[814] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[815] -#define SWIGTYPE_p_f_p_void_p_SoDragger__void swig_types[816] -#define SWIGTYPE_p_f_p_void_p_SoEventCallback__void swig_types[817] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float swig_types[818] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__floatp swig_types[819] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void swig_types[820] -#define SWIGTYPE_p_f_p_void_p_SoInput__void swig_types[821] -#define SWIGTYPE_p_f_p_void_p_SoPath__void swig_types[822] -#define SWIGTYPE_p_f_p_void_p_SoRenderManager__void swig_types[823] -#define SWIGTYPE_p_f_p_void_p_SoSceneManager__void swig_types[824] -#define SWIGTYPE_p_f_p_void_p_SoSelection__void swig_types[825] -#define SWIGTYPE_p_f_p_void_p_SoSensor__void swig_types[826] -#define SWIGTYPE_p_f_p_void_p_SoState_q_const__int__void swig_types[827] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__int swig_types[828] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__intp swig_types[829] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__long swig_types[830] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__longp swig_types[831] -#define SWIGTYPE_p_f_p_void_p_SoVRMLScript__void swig_types[832] -#define SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp swig_types[833] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response swig_types[834] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoFullPath swig_types[835] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath swig_types[836] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath swig_types[837] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoTempPath swig_types[838] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int swig_types[839] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp swig_types[840] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath swig_types[841] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath swig_types[842] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath swig_types[843] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath swig_types[844] -#define SWIGTYPE_p_f_p_void_p_void__int swig_types[845] -#define SWIGTYPE_p_f_p_void_p_void__intp swig_types[846] -#define SWIGTYPE_p_f_p_void_p_void__void swig_types[847] -#define SWIGTYPE_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t swig_types[848] -#define SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void swig_types[849] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f swig_types[850] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f swig_types[851] -#define SWIGTYPE_p_f_p_void_size_t__p_void swig_types[852] -#define SWIGTYPE_p_f_p_void_uint32_t__void swig_types[853] -#define SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int swig_types[854] -#define SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp swig_types[855] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int swig_types[856] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__intp swig_types[857] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int swig_types[858] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__intp swig_types[859] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int swig_types[860] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__intp swig_types[861] -#define SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int swig_types[862] -#define SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__intp swig_types[863] -#define SWIGTYPE_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void swig_types[864] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int swig_types[865] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__intp swig_types[866] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void swig_types[867] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int swig_types[868] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp swig_types[869] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void swig_types[870] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void swig_types[871] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void swig_types[872] -#define SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void swig_types[873] -#define SWIGTYPE_p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void swig_types[874] -#define SWIGTYPE_p_f_uint32_t_p_void__void swig_types[875] -#define SWIGTYPE_p_f_void__p_void swig_types[876] -#define SWIGTYPE_p_float swig_types[877] -#define SWIGTYPE_p_floatp swig_types[878] -#define SWIGTYPE_p_int swig_types[879] -#define SWIGTYPE_p_int16_t swig_types[880] -#define SWIGTYPE_p_int32_t swig_types[881] -#define SWIGTYPE_p_int8_t swig_types[882] -#define SWIGTYPE_p_intp swig_types[883] -#define SWIGTYPE_p_long swig_types[884] -#define SWIGTYPE_p_longp swig_types[885] -#define SWIGTYPE_p_open_func swig_types[886] -#define SWIGTYPE_p_p_SbName swig_types[887] -#define SWIGTYPE_p_p_SbString swig_types[888] -#define SWIGTYPE_p_p_SbVec2f swig_types[889] -#define SWIGTYPE_p_p_SoAnnotation swig_types[890] -#define SWIGTYPE_p_p_SoAntiSquish swig_types[891] -#define SWIGTYPE_p_p_SoAppearanceKit swig_types[892] -#define SWIGTYPE_p_p_SoArray swig_types[893] -#define SWIGTYPE_p_p_SoAsciiText swig_types[894] -#define SWIGTYPE_p_p_SoBase swig_types[895] -#define SWIGTYPE_p_p_SoBaseColor swig_types[896] -#define SWIGTYPE_p_p_SoBaseKit swig_types[897] -#define SWIGTYPE_p_p_SoBlinker swig_types[898] -#define SWIGTYPE_p_p_SoBoolOperation swig_types[899] -#define SWIGTYPE_p_p_SoBoxHighlightRenderAction swig_types[900] -#define SWIGTYPE_p_p_SoBumpMap swig_types[901] -#define SWIGTYPE_p_p_SoBumpMapCoordinate swig_types[902] -#define SWIGTYPE_p_p_SoBumpMapTransform swig_types[903] -#define SWIGTYPE_p_p_SoCacheHint swig_types[904] -#define SWIGTYPE_p_p_SoCalculator swig_types[905] -#define SWIGTYPE_p_p_SoCallback swig_types[906] -#define SWIGTYPE_p_p_SoCamera swig_types[907] -#define SWIGTYPE_p_p_SoCameraKit swig_types[908] -#define SWIGTYPE_p_p_SoCenterballDragger swig_types[909] -#define SWIGTYPE_p_p_SoCenterballManip swig_types[910] -#define SWIGTYPE_p_p_SoClipPlane swig_types[911] -#define SWIGTYPE_p_p_SoClipPlaneManip swig_types[912] -#define SWIGTYPE_p_p_SoColorIndex swig_types[913] -#define SWIGTYPE_p_p_SoComplexity swig_types[914] -#define SWIGTYPE_p_p_SoComposeMatrix swig_types[915] -#define SWIGTYPE_p_p_SoComposeRotation swig_types[916] -#define SWIGTYPE_p_p_SoComposeRotationFromTo swig_types[917] -#define SWIGTYPE_p_p_SoComposeVec2f swig_types[918] -#define SWIGTYPE_p_p_SoComposeVec3f swig_types[919] -#define SWIGTYPE_p_p_SoComposeVec4f swig_types[920] -#define SWIGTYPE_p_p_SoComputeBoundingBox swig_types[921] -#define SWIGTYPE_p_p_SoConcatenate swig_types[922] -#define SWIGTYPE_p_p_SoCone swig_types[923] -#define SWIGTYPE_p_p_SoCoordinate3 swig_types[924] -#define SWIGTYPE_p_p_SoCoordinate4 swig_types[925] -#define SWIGTYPE_p_p_SoCounter swig_types[926] -#define SWIGTYPE_p_p_SoCube swig_types[927] -#define SWIGTYPE_p_p_SoCylinder swig_types[928] -#define SWIGTYPE_p_p_SoDecomposeMatrix swig_types[929] -#define SWIGTYPE_p_p_SoDecomposeRotation swig_types[930] -#define SWIGTYPE_p_p_SoDecomposeVec2f swig_types[931] -#define SWIGTYPE_p_p_SoDecomposeVec3f swig_types[932] -#define SWIGTYPE_p_p_SoDecomposeVec4f swig_types[933] -#define SWIGTYPE_p_p_SoDepthBuffer swig_types[934] -#define SWIGTYPE_p_p_SoDirectionalLight swig_types[935] -#define SWIGTYPE_p_p_SoDirectionalLightDragger swig_types[936] -#define SWIGTYPE_p_p_SoDirectionalLightManip swig_types[937] -#define SWIGTYPE_p_p_SoDragPointDragger swig_types[938] -#define SWIGTYPE_p_p_SoDragger swig_types[939] -#define SWIGTYPE_p_p_SoDrawStyle swig_types[940] -#define SWIGTYPE_p_p_SoElapsedTime swig_types[941] -#define SWIGTYPE_p_p_SoEngine swig_types[942] -#define SWIGTYPE_p_p_SoEngineOutput swig_types[943] -#define SWIGTYPE_p_p_SoEnvironment swig_types[944] -#define SWIGTYPE_p_p_SoEventCallback swig_types[945] -#define SWIGTYPE_p_p_SoExtSelection swig_types[946] -#define SWIGTYPE_p_p_SoFaceSet swig_types[947] -#define SWIGTYPE_p_p_SoField swig_types[948] -#define SWIGTYPE_p_p_SoFieldContainer swig_types[949] -#define SWIGTYPE_p_p_SoFieldConverter swig_types[950] -#define SWIGTYPE_p_p_SoFile swig_types[951] -#define SWIGTYPE_p_p_SoFont swig_types[952] -#define SWIGTYPE_p_p_SoFontStyle swig_types[953] -#define SWIGTYPE_p_p_SoFragmentShader swig_types[954] -#define SWIGTYPE_p_p_SoFrustumCamera swig_types[955] -#define SWIGTYPE_p_p_SoFullPath swig_types[956] -#define SWIGTYPE_p_p_SoGLRenderAction swig_types[957] -#define SWIGTYPE_p_p_SoGate swig_types[958] -#define SWIGTYPE_p_p_SoGroup swig_types[959] -#define SWIGTYPE_p_p_SoHandleBoxDragger swig_types[960] -#define SWIGTYPE_p_p_SoHandleBoxManip swig_types[961] -#define SWIGTYPE_p_p_SoHeightMapToNormalMap swig_types[962] -#define SWIGTYPE_p_p_SoImage swig_types[963] -#define SWIGTYPE_p_p_SoIndexedFaceSet swig_types[964] -#define SWIGTYPE_p_p_SoIndexedLineSet swig_types[965] -#define SWIGTYPE_p_p_SoIndexedMarkerSet swig_types[966] -#define SWIGTYPE_p_p_SoIndexedNurbsCurve swig_types[967] -#define SWIGTYPE_p_p_SoIndexedNurbsSurface swig_types[968] -#define SWIGTYPE_p_p_SoIndexedPointSet swig_types[969] -#define SWIGTYPE_p_p_SoIndexedShape swig_types[970] -#define SWIGTYPE_p_p_SoIndexedTriangleStripSet swig_types[971] -#define SWIGTYPE_p_p_SoInfo swig_types[972] -#define SWIGTYPE_p_p_SoInteractionKit swig_types[973] -#define SWIGTYPE_p_p_SoInterpolate swig_types[974] -#define SWIGTYPE_p_p_SoInterpolateFloat swig_types[975] -#define SWIGTYPE_p_p_SoInterpolateRotation swig_types[976] -#define SWIGTYPE_p_p_SoInterpolateVec2f swig_types[977] -#define SWIGTYPE_p_p_SoInterpolateVec3f swig_types[978] -#define SWIGTYPE_p_p_SoInterpolateVec4f swig_types[979] -#define SWIGTYPE_p_p_SoJackDragger swig_types[980] -#define SWIGTYPE_p_p_SoJackManip swig_types[981] -#define SWIGTYPE_p_p_SoLOD swig_types[982] -#define SWIGTYPE_p_p_SoLabel swig_types[983] -#define SWIGTYPE_p_p_SoLevelOfDetail swig_types[984] -#define SWIGTYPE_p_p_SoLight swig_types[985] -#define SWIGTYPE_p_p_SoLightKit swig_types[986] -#define SWIGTYPE_p_p_SoLightModel swig_types[987] -#define SWIGTYPE_p_p_SoLineHighlightRenderAction swig_types[988] -#define SWIGTYPE_p_p_SoLineSet swig_types[989] -#define SWIGTYPE_p_p_SoLinearProfile swig_types[990] -#define SWIGTYPE_p_p_SoListener swig_types[991] -#define SWIGTYPE_p_p_SoLocateHighlight swig_types[992] -#define SWIGTYPE_p_p_SoMFBitMask swig_types[993] -#define SWIGTYPE_p_p_SoMFBool swig_types[994] -#define SWIGTYPE_p_p_SoMFColor swig_types[995] -#define SWIGTYPE_p_p_SoMFColorRGBA swig_types[996] -#define SWIGTYPE_p_p_SoMFDouble swig_types[997] -#define SWIGTYPE_p_p_SoMFEngine swig_types[998] -#define SWIGTYPE_p_p_SoMFEnum swig_types[999] -#define SWIGTYPE_p_p_SoMFFloat swig_types[1000] -#define SWIGTYPE_p_p_SoMFInt32 swig_types[1001] -#define SWIGTYPE_p_p_SoMFMatrix swig_types[1002] -#define SWIGTYPE_p_p_SoMFName swig_types[1003] -#define SWIGTYPE_p_p_SoMFNode swig_types[1004] -#define SWIGTYPE_p_p_SoMFPath swig_types[1005] -#define SWIGTYPE_p_p_SoMFPlane swig_types[1006] -#define SWIGTYPE_p_p_SoMFRotation swig_types[1007] -#define SWIGTYPE_p_p_SoMFShort swig_types[1008] -#define SWIGTYPE_p_p_SoMFString swig_types[1009] -#define SWIGTYPE_p_p_SoMFTime swig_types[1010] -#define SWIGTYPE_p_p_SoMFUInt32 swig_types[1011] -#define SWIGTYPE_p_p_SoMFUShort swig_types[1012] -#define SWIGTYPE_p_p_SoMFVec2b swig_types[1013] -#define SWIGTYPE_p_p_SoMFVec2d swig_types[1014] -#define SWIGTYPE_p_p_SoMFVec2f swig_types[1015] -#define SWIGTYPE_p_p_SoMFVec2i32 swig_types[1016] -#define SWIGTYPE_p_p_SoMFVec2s swig_types[1017] -#define SWIGTYPE_p_p_SoMFVec3b swig_types[1018] -#define SWIGTYPE_p_p_SoMFVec3d swig_types[1019] -#define SWIGTYPE_p_p_SoMFVec3f swig_types[1020] -#define SWIGTYPE_p_p_SoMFVec3i32 swig_types[1021] -#define SWIGTYPE_p_p_SoMFVec3s swig_types[1022] -#define SWIGTYPE_p_p_SoMFVec4b swig_types[1023] -#define SWIGTYPE_p_p_SoMFVec4d swig_types[1024] -#define SWIGTYPE_p_p_SoMFVec4f swig_types[1025] -#define SWIGTYPE_p_p_SoMFVec4i32 swig_types[1026] -#define SWIGTYPE_p_p_SoMFVec4s swig_types[1027] -#define SWIGTYPE_p_p_SoMFVec4ub swig_types[1028] -#define SWIGTYPE_p_p_SoMFVec4ui32 swig_types[1029] -#define SWIGTYPE_p_p_SoMFVec4us swig_types[1030] -#define SWIGTYPE_p_p_SoMField swig_types[1031] -#define SWIGTYPE_p_p_SoMarkerSet swig_types[1032] -#define SWIGTYPE_p_p_SoMaterial swig_types[1033] -#define SWIGTYPE_p_p_SoMaterialBinding swig_types[1034] -#define SWIGTYPE_p_p_SoMatrixTransform swig_types[1035] -#define SWIGTYPE_p_p_SoMultipleCopy swig_types[1036] -#define SWIGTYPE_p_p_SoNode swig_types[1037] -#define SWIGTYPE_p_p_SoNodeEngine swig_types[1038] -#define SWIGTYPE_p_p_SoNodeKitListPart swig_types[1039] -#define SWIGTYPE_p_p_SoNodeKitPath swig_types[1040] -#define SWIGTYPE_p_p_SoNonIndexedShape swig_types[1041] -#define SWIGTYPE_p_p_SoNormal swig_types[1042] -#define SWIGTYPE_p_p_SoNormalBinding swig_types[1043] -#define SWIGTYPE_p_p_SoNurbsCurve swig_types[1044] -#define SWIGTYPE_p_p_SoNurbsProfile swig_types[1045] -#define SWIGTYPE_p_p_SoNurbsSurface swig_types[1046] -#define SWIGTYPE_p_p_SoOnOff swig_types[1047] -#define SWIGTYPE_p_p_SoOneShot swig_types[1048] -#define SWIGTYPE_p_p_SoOrthographicCamera swig_types[1049] -#define SWIGTYPE_p_p_SoPackedColor swig_types[1050] -#define SWIGTYPE_p_p_SoPath swig_types[1051] -#define SWIGTYPE_p_p_SoPathSwitch swig_types[1052] -#define SWIGTYPE_p_p_SoPendulum swig_types[1053] -#define SWIGTYPE_p_p_SoPerspectiveCamera swig_types[1054] -#define SWIGTYPE_p_p_SoPickStyle swig_types[1055] -#define SWIGTYPE_p_p_SoPointLight swig_types[1056] -#define SWIGTYPE_p_p_SoPointLightDragger swig_types[1057] -#define SWIGTYPE_p_p_SoPointLightManip swig_types[1058] -#define SWIGTYPE_p_p_SoPointSet swig_types[1059] -#define SWIGTYPE_p_p_SoPolygonOffset swig_types[1060] -#define SWIGTYPE_p_p_SoProfile swig_types[1061] -#define SWIGTYPE_p_p_SoProfileCoordinate2 swig_types[1062] -#define SWIGTYPE_p_p_SoProfileCoordinate3 swig_types[1063] -#define SWIGTYPE_p_p_SoProto swig_types[1064] -#define SWIGTYPE_p_p_SoProtoInstance swig_types[1065] -#define SWIGTYPE_p_p_SoQuadMesh swig_types[1066] -#define SWIGTYPE_p_p_SoResetTransform swig_types[1067] -#define SWIGTYPE_p_p_SoRotateCylindricalDragger swig_types[1068] -#define SWIGTYPE_p_p_SoRotateDiscDragger swig_types[1069] -#define SWIGTYPE_p_p_SoRotateSphericalDragger swig_types[1070] -#define SWIGTYPE_p_p_SoRotation swig_types[1071] -#define SWIGTYPE_p_p_SoRotationXYZ swig_types[1072] -#define SWIGTYPE_p_p_SoRotor swig_types[1073] -#define SWIGTYPE_p_p_SoSFBitMask swig_types[1074] -#define SWIGTYPE_p_p_SoSFBool swig_types[1075] -#define SWIGTYPE_p_p_SoSFBox2d swig_types[1076] -#define SWIGTYPE_p_p_SoSFBox2f swig_types[1077] -#define SWIGTYPE_p_p_SoSFBox2i32 swig_types[1078] -#define SWIGTYPE_p_p_SoSFBox2s swig_types[1079] -#define SWIGTYPE_p_p_SoSFBox3d swig_types[1080] -#define SWIGTYPE_p_p_SoSFBox3f swig_types[1081] -#define SWIGTYPE_p_p_SoSFBox3i32 swig_types[1082] -#define SWIGTYPE_p_p_SoSFBox3s swig_types[1083] -#define SWIGTYPE_p_p_SoSFColor swig_types[1084] -#define SWIGTYPE_p_p_SoSFColorRGBA swig_types[1085] -#define SWIGTYPE_p_p_SoSFDouble swig_types[1086] -#define SWIGTYPE_p_p_SoSFEngine swig_types[1087] -#define SWIGTYPE_p_p_SoSFEnum swig_types[1088] -#define SWIGTYPE_p_p_SoSFFloat swig_types[1089] -#define SWIGTYPE_p_p_SoSFImage swig_types[1090] -#define SWIGTYPE_p_p_SoSFImage3 swig_types[1091] -#define SWIGTYPE_p_p_SoSFInt32 swig_types[1092] -#define SWIGTYPE_p_p_SoSFMatrix swig_types[1093] -#define SWIGTYPE_p_p_SoSFName swig_types[1094] -#define SWIGTYPE_p_p_SoSFNode swig_types[1095] -#define SWIGTYPE_p_p_SoSFPath swig_types[1096] -#define SWIGTYPE_p_p_SoSFPlane swig_types[1097] -#define SWIGTYPE_p_p_SoSFRotation swig_types[1098] -#define SWIGTYPE_p_p_SoSFShort swig_types[1099] -#define SWIGTYPE_p_p_SoSFString swig_types[1100] -#define SWIGTYPE_p_p_SoSFTime swig_types[1101] -#define SWIGTYPE_p_p_SoSFTrigger swig_types[1102] -#define SWIGTYPE_p_p_SoSFUInt32 swig_types[1103] -#define SWIGTYPE_p_p_SoSFUShort swig_types[1104] -#define SWIGTYPE_p_p_SoSFVec2b swig_types[1105] -#define SWIGTYPE_p_p_SoSFVec2d swig_types[1106] -#define SWIGTYPE_p_p_SoSFVec2f swig_types[1107] -#define SWIGTYPE_p_p_SoSFVec2i32 swig_types[1108] -#define SWIGTYPE_p_p_SoSFVec2s swig_types[1109] -#define SWIGTYPE_p_p_SoSFVec3b swig_types[1110] -#define SWIGTYPE_p_p_SoSFVec3d swig_types[1111] -#define SWIGTYPE_p_p_SoSFVec3f swig_types[1112] -#define SWIGTYPE_p_p_SoSFVec3i32 swig_types[1113] -#define SWIGTYPE_p_p_SoSFVec3s swig_types[1114] -#define SWIGTYPE_p_p_SoSFVec4b swig_types[1115] -#define SWIGTYPE_p_p_SoSFVec4d swig_types[1116] -#define SWIGTYPE_p_p_SoSFVec4f swig_types[1117] -#define SWIGTYPE_p_p_SoSFVec4i32 swig_types[1118] -#define SWIGTYPE_p_p_SoSFVec4s swig_types[1119] -#define SWIGTYPE_p_p_SoSFVec4ub swig_types[1120] -#define SWIGTYPE_p_p_SoSFVec4ui32 swig_types[1121] -#define SWIGTYPE_p_p_SoSFVec4us swig_types[1122] -#define SWIGTYPE_p_p_SoSField swig_types[1123] -#define SWIGTYPE_p_p_SoScale swig_types[1124] -#define SWIGTYPE_p_p_SoScale1Dragger swig_types[1125] -#define SWIGTYPE_p_p_SoScale2Dragger swig_types[1126] -#define SWIGTYPE_p_p_SoScale2UniformDragger swig_types[1127] -#define SWIGTYPE_p_p_SoScaleUniformDragger swig_types[1128] -#define SWIGTYPE_p_p_SoSceneKit swig_types[1129] -#define SWIGTYPE_p_p_SoSceneTexture2 swig_types[1130] -#define SWIGTYPE_p_p_SoSceneTextureCubeMap swig_types[1131] -#define SWIGTYPE_p_p_SoSelectOne swig_types[1132] -#define SWIGTYPE_p_p_SoSelection swig_types[1133] -#define SWIGTYPE_p_p_SoSeparator swig_types[1134] -#define SWIGTYPE_p_p_SoSeparatorKit swig_types[1135] -#define SWIGTYPE_p_p_SoShaderObject swig_types[1136] -#define SWIGTYPE_p_p_SoShaderParameter swig_types[1137] -#define SWIGTYPE_p_p_SoShaderParameter1f swig_types[1138] -#define SWIGTYPE_p_p_SoShaderParameter1i swig_types[1139] -#define SWIGTYPE_p_p_SoShaderParameter2f swig_types[1140] -#define SWIGTYPE_p_p_SoShaderParameter2i swig_types[1141] -#define SWIGTYPE_p_p_SoShaderParameter3f swig_types[1142] -#define SWIGTYPE_p_p_SoShaderParameter3i swig_types[1143] -#define SWIGTYPE_p_p_SoShaderParameter4f swig_types[1144] -#define SWIGTYPE_p_p_SoShaderParameter4i swig_types[1145] -#define SWIGTYPE_p_p_SoShaderParameterArray1f swig_types[1146] -#define SWIGTYPE_p_p_SoShaderParameterArray1i swig_types[1147] -#define SWIGTYPE_p_p_SoShaderParameterArray2f swig_types[1148] -#define SWIGTYPE_p_p_SoShaderParameterArray2i swig_types[1149] -#define SWIGTYPE_p_p_SoShaderParameterArray3f swig_types[1150] -#define SWIGTYPE_p_p_SoShaderParameterArray3i swig_types[1151] -#define SWIGTYPE_p_p_SoShaderParameterArray4f swig_types[1152] -#define SWIGTYPE_p_p_SoShaderParameterArray4i swig_types[1153] -#define SWIGTYPE_p_p_SoShaderParameterMatrix swig_types[1154] -#define SWIGTYPE_p_p_SoShaderParameterMatrixArray swig_types[1155] -#define SWIGTYPE_p_p_SoShaderProgram swig_types[1156] -#define SWIGTYPE_p_p_SoShaderStateMatrixParameter swig_types[1157] -#define SWIGTYPE_p_p_SoShape swig_types[1158] -#define SWIGTYPE_p_p_SoShapeHints swig_types[1159] -#define SWIGTYPE_p_p_SoShapeKit swig_types[1160] -#define SWIGTYPE_p_p_SoShuttle swig_types[1161] -#define SWIGTYPE_p_p_SoSphere swig_types[1162] -#define SWIGTYPE_p_p_SoSpotLight swig_types[1163] -#define SWIGTYPE_p_p_SoSpotLightDragger swig_types[1164] -#define SWIGTYPE_p_p_SoSpotLightManip swig_types[1165] -#define SWIGTYPE_p_p_SoSurroundScale swig_types[1166] -#define SWIGTYPE_p_p_SoSwitch swig_types[1167] -#define SWIGTYPE_p_p_SoTabBoxDragger swig_types[1168] -#define SWIGTYPE_p_p_SoTabBoxManip swig_types[1169] -#define SWIGTYPE_p_p_SoTabPlaneDragger swig_types[1170] -#define SWIGTYPE_p_p_SoTempPath swig_types[1171] -#define SWIGTYPE_p_p_SoText2 swig_types[1172] -#define SWIGTYPE_p_p_SoText3 swig_types[1173] -#define SWIGTYPE_p_p_SoTexture swig_types[1174] -#define SWIGTYPE_p_p_SoTexture2 swig_types[1175] -#define SWIGTYPE_p_p_SoTexture2Convert swig_types[1176] -#define SWIGTYPE_p_p_SoTexture2Transform swig_types[1177] -#define SWIGTYPE_p_p_SoTexture3 swig_types[1178] -#define SWIGTYPE_p_p_SoTexture3Transform swig_types[1179] -#define SWIGTYPE_p_p_SoTextureCombine swig_types[1180] -#define SWIGTYPE_p_p_SoTextureCoordinate2 swig_types[1181] -#define SWIGTYPE_p_p_SoTextureCoordinate3 swig_types[1182] -#define SWIGTYPE_p_p_SoTextureCoordinateBinding swig_types[1183] -#define SWIGTYPE_p_p_SoTextureCoordinateCube swig_types[1184] -#define SWIGTYPE_p_p_SoTextureCoordinateCylinder swig_types[1185] -#define SWIGTYPE_p_p_SoTextureCoordinateDefault swig_types[1186] -#define SWIGTYPE_p_p_SoTextureCoordinateEnvironment swig_types[1187] -#define SWIGTYPE_p_p_SoTextureCoordinateFunction swig_types[1188] -#define SWIGTYPE_p_p_SoTextureCoordinateNormalMap swig_types[1189] -#define SWIGTYPE_p_p_SoTextureCoordinateObject swig_types[1190] -#define SWIGTYPE_p_p_SoTextureCoordinatePlane swig_types[1191] -#define SWIGTYPE_p_p_SoTextureCoordinateReflectionMap swig_types[1192] -#define SWIGTYPE_p_p_SoTextureCoordinateSphere swig_types[1193] -#define SWIGTYPE_p_p_SoTextureCubeMap swig_types[1194] -#define SWIGTYPE_p_p_SoTextureMatrixTransform swig_types[1195] -#define SWIGTYPE_p_p_SoTextureScalePolicy swig_types[1196] -#define SWIGTYPE_p_p_SoTextureUnit swig_types[1197] -#define SWIGTYPE_p_p_SoTimeCounter swig_types[1198] -#define SWIGTYPE_p_p_SoTrackballDragger swig_types[1199] -#define SWIGTYPE_p_p_SoTrackballManip swig_types[1200] -#define SWIGTYPE_p_p_SoTransform swig_types[1201] -#define SWIGTYPE_p_p_SoTransformBoxDragger swig_types[1202] -#define SWIGTYPE_p_p_SoTransformBoxManip swig_types[1203] -#define SWIGTYPE_p_p_SoTransformManip swig_types[1204] -#define SWIGTYPE_p_p_SoTransformSeparator swig_types[1205] -#define SWIGTYPE_p_p_SoTransformVec3f swig_types[1206] -#define SWIGTYPE_p_p_SoTransformation swig_types[1207] -#define SWIGTYPE_p_p_SoTransformerDragger swig_types[1208] -#define SWIGTYPE_p_p_SoTransformerManip swig_types[1209] -#define SWIGTYPE_p_p_SoTranslate1Dragger swig_types[1210] -#define SWIGTYPE_p_p_SoTranslate2Dragger swig_types[1211] -#define SWIGTYPE_p_p_SoTranslation swig_types[1212] -#define SWIGTYPE_p_p_SoTransparencyType swig_types[1213] -#define SWIGTYPE_p_p_SoTriangleStripSet swig_types[1214] -#define SWIGTYPE_p_p_SoTriggerAny swig_types[1215] -#define SWIGTYPE_p_p_SoUniformShaderParameter swig_types[1216] -#define SWIGTYPE_p_p_SoUnits swig_types[1217] -#define SWIGTYPE_p_p_SoVRMLAnchor swig_types[1218] -#define SWIGTYPE_p_p_SoVRMLAppearance swig_types[1219] -#define SWIGTYPE_p_p_SoVRMLAudioClip swig_types[1220] -#define SWIGTYPE_p_p_SoVRMLBackground swig_types[1221] -#define SWIGTYPE_p_p_SoVRMLBillboard swig_types[1222] -#define SWIGTYPE_p_p_SoVRMLBox swig_types[1223] -#define SWIGTYPE_p_p_SoVRMLCollision swig_types[1224] -#define SWIGTYPE_p_p_SoVRMLColor swig_types[1225] -#define SWIGTYPE_p_p_SoVRMLColorInterpolator swig_types[1226] -#define SWIGTYPE_p_p_SoVRMLCone swig_types[1227] -#define SWIGTYPE_p_p_SoVRMLCoordinate swig_types[1228] -#define SWIGTYPE_p_p_SoVRMLCoordinateInterpolator swig_types[1229] -#define SWIGTYPE_p_p_SoVRMLCylinder swig_types[1230] -#define SWIGTYPE_p_p_SoVRMLCylinderSensor swig_types[1231] -#define SWIGTYPE_p_p_SoVRMLDirectionalLight swig_types[1232] -#define SWIGTYPE_p_p_SoVRMLDragSensor swig_types[1233] -#define SWIGTYPE_p_p_SoVRMLElevationGrid swig_types[1234] -#define SWIGTYPE_p_p_SoVRMLExtrusion swig_types[1235] -#define SWIGTYPE_p_p_SoVRMLFog swig_types[1236] -#define SWIGTYPE_p_p_SoVRMLFontStyle swig_types[1237] -#define SWIGTYPE_p_p_SoVRMLGeometry swig_types[1238] -#define SWIGTYPE_p_p_SoVRMLGroup swig_types[1239] -#define SWIGTYPE_p_p_SoVRMLImageTexture swig_types[1240] -#define SWIGTYPE_p_p_SoVRMLIndexedFaceSet swig_types[1241] -#define SWIGTYPE_p_p_SoVRMLIndexedLine swig_types[1242] -#define SWIGTYPE_p_p_SoVRMLIndexedLineSet swig_types[1243] -#define SWIGTYPE_p_p_SoVRMLIndexedShape swig_types[1244] -#define SWIGTYPE_p_p_SoVRMLInline swig_types[1245] -#define SWIGTYPE_p_p_SoVRMLInterpolator swig_types[1246] -#define SWIGTYPE_p_p_SoVRMLLOD swig_types[1247] -#define SWIGTYPE_p_p_SoVRMLLight swig_types[1248] -#define SWIGTYPE_p_p_SoVRMLMaterial swig_types[1249] -#define SWIGTYPE_p_p_SoVRMLMovieTexture swig_types[1250] -#define SWIGTYPE_p_p_SoVRMLNavigationInfo swig_types[1251] -#define SWIGTYPE_p_p_SoVRMLNormal swig_types[1252] -#define SWIGTYPE_p_p_SoVRMLNormalInterpolator swig_types[1253] -#define SWIGTYPE_p_p_SoVRMLOrientationInterpolator swig_types[1254] -#define SWIGTYPE_p_p_SoVRMLParent swig_types[1255] -#define SWIGTYPE_p_p_SoVRMLPixelTexture swig_types[1256] -#define SWIGTYPE_p_p_SoVRMLPlaneSensor swig_types[1257] -#define SWIGTYPE_p_p_SoVRMLPointLight swig_types[1258] -#define SWIGTYPE_p_p_SoVRMLPointSet swig_types[1259] -#define SWIGTYPE_p_p_SoVRMLPositionInterpolator swig_types[1260] -#define SWIGTYPE_p_p_SoVRMLProximitySensor swig_types[1261] -#define SWIGTYPE_p_p_SoVRMLScalarInterpolator swig_types[1262] -#define SWIGTYPE_p_p_SoVRMLScript swig_types[1263] -#define SWIGTYPE_p_p_SoVRMLSensor swig_types[1264] -#define SWIGTYPE_p_p_SoVRMLShape swig_types[1265] -#define SWIGTYPE_p_p_SoVRMLSound swig_types[1266] -#define SWIGTYPE_p_p_SoVRMLSphere swig_types[1267] -#define SWIGTYPE_p_p_SoVRMLSphereSensor swig_types[1268] -#define SWIGTYPE_p_p_SoVRMLSpotLight swig_types[1269] -#define SWIGTYPE_p_p_SoVRMLSwitch swig_types[1270] -#define SWIGTYPE_p_p_SoVRMLText swig_types[1271] -#define SWIGTYPE_p_p_SoVRMLTexture swig_types[1272] -#define SWIGTYPE_p_p_SoVRMLTextureCoordinate swig_types[1273] -#define SWIGTYPE_p_p_SoVRMLTextureTransform swig_types[1274] -#define SWIGTYPE_p_p_SoVRMLTimeSensor swig_types[1275] -#define SWIGTYPE_p_p_SoVRMLTouchSensor swig_types[1276] -#define SWIGTYPE_p_p_SoVRMLTransform swig_types[1277] -#define SWIGTYPE_p_p_SoVRMLVertexLine swig_types[1278] -#define SWIGTYPE_p_p_SoVRMLVertexPoint swig_types[1279] -#define SWIGTYPE_p_p_SoVRMLVertexShape swig_types[1280] -#define SWIGTYPE_p_p_SoVRMLViewpoint swig_types[1281] -#define SWIGTYPE_p_p_SoVRMLVisibilitySensor swig_types[1282] -#define SWIGTYPE_p_p_SoVRMLWorldInfo swig_types[1283] -#define SWIGTYPE_p_p_SoVertexAttribute swig_types[1284] -#define SWIGTYPE_p_p_SoVertexAttributeBinding swig_types[1285] -#define SWIGTYPE_p_p_SoVertexProperty swig_types[1286] -#define SWIGTYPE_p_p_SoVertexShader swig_types[1287] -#define SWIGTYPE_p_p_SoVertexShape swig_types[1288] -#define SWIGTYPE_p_p_SoWWWAnchor swig_types[1289] -#define SWIGTYPE_p_p_SoWWWInline swig_types[1290] -#define SWIGTYPE_p_p_SoWrapperKit swig_types[1291] -#define SWIGTYPE_p_p_char swig_types[1292] -#define SWIGTYPE_p_p_charp swig_types[1293] -#define SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void swig_types[1294] -#define SWIGTYPE_p_p_f_p_void__SoGLRenderAction__AbortCode swig_types[1295] -#define SWIGTYPE_p_p_f_p_void_p_SoInput__void swig_types[1296] -#define SWIGTYPE_p_p_float swig_types[1297] -#define SWIGTYPE_p_p_floatp swig_types[1298] -#define SWIGTYPE_p_p_int swig_types[1299] -#define SWIGTYPE_p_p_intp swig_types[1300] -#define SWIGTYPE_p_p_unsigned_char swig_types[1301] -#define SWIGTYPE_p_p_void swig_types[1302] -#define SWIGTYPE_p_read_func swig_types[1303] -#define SWIGTYPE_p_seek_func swig_types[1304] -#define SWIGTYPE_p_short swig_types[1305] -#define SWIGTYPE_p_size_t swig_types[1306] -#define SWIGTYPE_p_tell_func swig_types[1307] -#define SWIGTYPE_p_time_t swig_types[1308] -#define SWIGTYPE_p_timeval swig_types[1309] -#define SWIGTYPE_p_uint16_t swig_types[1310] -#define SWIGTYPE_p_uint32_t swig_types[1311] -#define SWIGTYPE_p_uint8_t swig_types[1312] -#define SWIGTYPE_p_uintptr_t swig_types[1313] -#define SWIGTYPE_p_unsigned_char swig_types[1314] -#define SWIGTYPE_p_unsigned_int swig_types[1315] -#define SWIGTYPE_p_unsigned_short swig_types[1316] -#define SWIGTYPE_p_void swig_types[1317] -static swig_type_info *swig_types[1319]; -static swig_module_info swig_module = {swig_types, 1318, 0, 0, 0, 0}; -#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) -#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) - -/* -------- TYPES TABLE (END) -------- */ - -#if (PY_VERSION_HEX <= 0x02000000) -# if !defined(SWIG_PYTHON_CLASSIC) -# error "This python version requires swig to be run with the '-classic' option" -# endif -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodern' option" -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodernargs' option" -#endif - -/*----------------------------------------------- - @(target):= _coin.so - ------------------------------------------------*/ -#define SWIG_init init_coin - -#define SWIG_name "_coin" - -#define SWIGVERSION 0x010336 -#define SWIG_VERSION SWIGVERSION - - -#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) -#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) - - -#include - - -namespace swig { - class PyObject_ptr { - protected: - PyObject *_obj; - - public: - PyObject_ptr() :_obj(0) - { - } - - PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) - { - Py_XINCREF(_obj); - } - - PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) - { - if (initial_ref) { - Py_XINCREF(_obj); - } - } - - PyObject_ptr & operator=(const PyObject_ptr& item) - { - Py_XINCREF(item._obj); - Py_XDECREF(_obj); - _obj = item._obj; - return *this; - } - - ~PyObject_ptr() - { - Py_XDECREF(_obj); - } - - operator PyObject *() const - { - return _obj; - } - - PyObject *operator->() const - { - return _obj; - } - }; -} - - -namespace swig { - struct PyObject_var : PyObject_ptr { - PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } - - PyObject_var & operator = (PyObject* obj) - { - Py_XDECREF(_obj); - _obj = obj; - return *this; - } - }; -} - - -#if defined(_WIN32) || defined(__WIN32__) -#include -#undef max -#undef ERROR -#undef DELETE -#endif - -#undef ANY - -#include "coin_header_includes.h" - -/* make GLState in SoGLLazyElement known to SWIG */ -typedef SoGLLazyElement::GLState GLState; - - -#include - -#if (PY_VERSION_HEX < 0x02050000) -/* Py_ssize_t needed for Python 2.5 compatibility, but isn't defined - * in earlier Python versions. */ -typedef int Py_ssize_t; -#endif - -/* a casting helper function */ -SWIGEXPORT PyObject * -cast(PyObject * self, PyObject * args) -{ - swig_type_info * swig_type = 0; - void * cast_obj = 0; - char * type_name, * ptr_type; - int type_len; - PyObject * obj = 0; - - if (!PyArg_ParseTuple(args, "Os#:cast", &obj, &type_name, &type_len)) { - SWIG_fail; - } - - /* - * add a pointer sign to the string coming from the interpreter - * e.g. "SoSeparator" becomes "SoSeparator *" - so that SWIG_TypeQuery() - * can do its job. - */ - if (!(ptr_type = (char*)malloc(type_len+3))) { SWIG_fail; } - - memset(ptr_type, 0, type_len+3); - strncpy(ptr_type, type_name, type_len); - strcat(ptr_type, " *"); - - if (!(swig_type = SWIG_TypeQuery(ptr_type))) { - /* the britney maneuver: "baby one more time" by prefixing 'So' */ - char * cast_name = (char*)malloc(type_len + 5); - memset(cast_name, 0, type_len + 5); - cast_name[0] = 'S'; cast_name[1] = 'o'; - strncpy(cast_name+2, ptr_type, type_len+2); - - if (!(swig_type = SWIG_TypeQuery(cast_name))) { - free(cast_name); free(ptr_type); - SWIG_fail; - } - - free(cast_name); - } - - free(ptr_type); - - SWIG_ConvertPtr(obj, (void**)&cast_obj, NULL, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) { SWIG_fail; } - - return SWIG_NewPointerObj((void*)cast_obj, swig_type, 0); - fail: - return NULL; -} - -/* autocasting helper function for SoBase */ -SWIGEXPORT PyObject * -autocast_base(SoBase * base) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (base && base->isOfType(SoFieldContainer::getClassTypeId())) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = base->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)base, SWIGTYPE_p_SoBase, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoPath */ -SWIGEXPORT PyObject * -autocast_path(SoPath * path) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (path) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = path->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)path, SWIGTYPE_p_SoPath, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoField */ -SWIGEXPORT PyObject * -autocast_field(SoField * field) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (field) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = field->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)field, SWIGTYPE_p_SoField, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoEvent */ -SWIGEXPORT PyObject * -autocast_event(SoEvent * event) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (event) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = event->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)event, SWIGTYPE_p_SoEvent, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - - -typedef char charp; - -SWIGINTERN charp *new_charp(){ - return (new char); - } -SWIGINTERN void delete_charp(charp *self){ - if (self) delete self; - } - -SWIGINTERN swig_type_info* -SWIG_pchar_descriptor(void) -{ - static int init = 0; - static swig_type_info* info = 0; - if (!init) { - info = SWIG_TypeQuery("_p_char"); - init = 1; - } - return info; -} - - -SWIGINTERN int -SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) -{ - if (PyString_Check(obj)) { - char *cstr; Py_ssize_t len; - PyString_AsStringAndSize(obj, &cstr, &len); - if (cptr) { - if (alloc) { - /* - In python the user should not be able to modify the inner - string representation. To warranty that, if you define - SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string - buffer is always returned. - - The default behavior is just to return the pointer value, - so, be careful. - */ -#if defined(SWIG_PYTHON_SAFE_CSTRINGS) - if (*alloc != SWIG_OLDOBJ) -#else - if (*alloc == SWIG_NEWOBJ) -#endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } - else { - *cptr = cstr; - *alloc = SWIG_OLDOBJ; - } - } else { - *cptr = PyString_AsString(obj); - } - } - if (psize) *psize = len + 1; - return SWIG_OK; - } else { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - if (pchar_descriptor) { - void* vptr = 0; - if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { - if (cptr) *cptr = (char *) vptr; - if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; - if (alloc) *alloc = SWIG_OLDOBJ; - return SWIG_OK; - } - } - } - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsCharArray(PyObject * obj, char *val, size_t size) -{ - char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; - int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); - if (SWIG_IsOK(res)) { - if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize; - if (csize <= size) { - if (val) { - if (csize) memcpy(val, cptr, csize*sizeof(char)); - if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); - } - if (alloc == SWIG_NEWOBJ) { - delete[] cptr; - res = SWIG_DelNewMask(res); - } - return res; - } - if (alloc == SWIG_NEWOBJ) delete[] cptr; - } - return SWIG_TypeError; -} - - -#include -#if !defined(SWIG_NO_LLONG_MAX) -# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) -# define LLONG_MAX __LONG_LONG_MAX__ -# define LLONG_MIN (-LLONG_MAX - 1LL) -# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) -# endif -#endif - - -SWIGINTERN int -SWIG_AsVal_double (PyObject *obj, double *val) -{ - int res = SWIG_TypeError; - if (PyFloat_Check(obj)) { - if (val) *val = PyFloat_AsDouble(obj); - return SWIG_OK; - } else if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - double v = PyLong_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - double d = PyFloat_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = d; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); - } else { - PyErr_Clear(); - } - } - } -#endif - return res; -} - - -#include - - -#include - - -SWIGINTERNINLINE int -SWIG_CanCastAsInteger(double *d, double min, double max) { - double x = *d; - if ((min <= x && x <= max)) { - double fx = floor(x); - double cx = ceil(x); - double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ - if ((errno == EDOM) || (errno == ERANGE)) { - errno = 0; - } else { - double summ, reps, diff; - if (rd < x) { - diff = x - rd; - } else if (rd > x) { - diff = rd - x; - } else { - return 1; - } - summ = rd + x; - reps = diff/summ; - if (reps < 8*DBL_EPSILON) { - *d = rd; - return 1; - } - } - } - return 0; -} - - -SWIGINTERN int -SWIG_AsVal_long (PyObject *obj, long* val) -{ - if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - long v = PyInt_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { - if (val) *val = (long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsVal_char (PyObject * obj, char *val) -{ - int res = SWIG_AsCharArray(obj, val, 1); - if (!SWIG_IsOK(res)) { - long v; - res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); - if (SWIG_IsOK(res)) { - if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { - if (val) *val = static_cast< char >(v); - } else { - res = SWIG_OverflowError; - } - } - } - return res; -} - -SWIGINTERN void charp_assign(charp *self,char value){ - *self = value; - } -SWIGINTERN char charp_value(charp *self){ - return *self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtrAndSize(const char* carray, size_t size) -{ - if (carray) { - if (size > INT_MAX) { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - return pchar_descriptor ? - SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void(); - } else { - return PyString_FromStringAndSize(carray, static_cast< int >(size)); - } - } else { - return SWIG_Py_Void(); - } -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_char (char c) -{ - return SWIG_FromCharPtrAndSize(&c,1); -} - -SWIGINTERN char *charp_cast(charp *self){ - return self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtr(const char *cptr) -{ - return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); -} - - - - -SWIGINTERN charp *charp_frompointer(char *t){ - return (charp *) t; - } - -typedef int intp; - -SWIGINTERN intp *new_intp(){ - return (new int); - } -SWIGINTERN void delete_intp(intp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_int (PyObject * obj, int *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < INT_MIN || v > INT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< int >(v); - } - } - return res; -} - -SWIGINTERN void intp_assign(intp *self,int value){ - *self = value; - } -SWIGINTERN int intp_value(intp *self){ - return *self; - } - - #define SWIG_From_long PyInt_FromLong - - -SWIGINTERNINLINE PyObject * -SWIG_From_int (int value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN int *intp_cast(intp *self){ - return self; - } -SWIGINTERN intp *intp_frompointer(int *t){ - return (intp *) t; - } - -typedef long longp; - -SWIGINTERN longp *new_longp(){ - return (new long); - } -SWIGINTERN void delete_longp(longp *self){ - if (self) delete self; - } -SWIGINTERN void longp_assign(longp *self,long value){ - *self = value; - } -SWIGINTERN long longp_value(longp *self){ - return *self; - } -SWIGINTERN long *longp_cast(longp *self){ - return self; - } -SWIGINTERN longp *longp_frompointer(long *t){ - return (longp *) t; - } - -typedef float floatp; - -SWIGINTERN floatp *new_floatp(){ - return (new float); - } -SWIGINTERN void delete_floatp(floatp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_float (PyObject * obj, float *val) -{ - double v; - int res = SWIG_AsVal_double (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < -FLT_MAX || v > FLT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< float >(v); - } - } - return res; -} - -SWIGINTERN void floatp_assign(floatp *self,float value){ - *self = value; - } -SWIGINTERN float floatp_value(floatp *self){ - return *self; - } - - #define SWIG_From_double PyFloat_FromDouble - - -SWIGINTERNINLINE PyObject * -SWIG_From_float (float value) -{ - return SWIG_From_double (value); -} - -SWIGINTERN float *floatp_cast(floatp *self){ - return self; - } -SWIGINTERN floatp *floatp_frompointer(float *t){ - return (floatp *) t; - } - -typedef double doublep; - -SWIGINTERN doublep *new_doublep(){ - return (new double); - } -SWIGINTERN void delete_doublep(doublep *self){ - if (self) delete self; - } -SWIGINTERN void doublep_assign(doublep *self,double value){ - *self = value; - } -SWIGINTERN double doublep_value(doublep *self){ - return *self; - } -SWIGINTERN double *doublep_cast(doublep *self){ - return self; - } -SWIGINTERN doublep *doublep_frompointer(double *t){ - return (doublep *) t; - } -SWIGINTERN PyObject *SoType_createInstance(SoType *self){ - if (self->isDerivedFrom(SoField::getClassTypeId())) { - return autocast_field((SoField*)self->createInstance()); - } else if (self->isDerivedFrom(SoPath::getClassTypeId())) { - return autocast_path((SoPath*)self->createInstance()); - } - return autocast_base((SoBase*)self->createInstance()); - } - -static void -convert_SbVec2s_array(PyObject *input, short temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 shorts"); - PyErr_Print(); - } -} - -SWIGINTERN void *SbPList___getitem__(SbPList *self,int i){ return self->get(i); } -SWIGINTERN void SbPList___setitem__(SbPList *self,int i,void *val){ self->set(i,val); } -SWIGINTERN void SbIntList___setitem__(SbIntList *self,int const i,int *value){ self->set(i,value); } -SWIGINTERN int &SbIntList___getitem__(SbIntList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SbIntList_get(SbIntList *self,int const i){ return (*self)[i]; } - -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) -{ - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_int (unsigned int value) -{ - return SWIG_From_unsigned_SS_long (value); -} - -SWIGINTERN int SbString___eq____SWIG_0(SbString *self,SbString const &u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_0(SbString *self,SbString const &u){ return *self != u; } -SWIGINTERN int SbString___eq____SWIG_1(SbString *self,char *u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_1(SbString *self,char *u){ return *self != u; } -SWIGINTERN char SbString___getitem__(SbString *self,int i){ return (*self)[i]; } -SWIGINTERN char const *SbString___repr__(SbString *self){ return self->getString(); } -SWIGINTERN int SbName___eq____SWIG_0(SbName *self,SbName const &u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_0(SbName *self,SbName const &u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_1(SbName *self,char *u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_1(SbName *self,char *u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_2(SbName *self,SbString const &u){ return *self == u.getString(); } -SWIGINTERN int SbName___nq____SWIG_2(SbName *self,SbString const &u){ return *self != u.getString(); } -SWIGINTERN char SbName___getitem__(SbName *self,int i){ return self->getString()[i]; } -SWIGINTERN char const *SbName___repr__(SbName *self){ return self->getString(); } - -SWIGINTERN int -SWIG_AsVal_short (PyObject * obj, short *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < SHRT_MIN || v > SHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< short >(v); - } - } - return res; -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_short (short value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN SbVec2s SbVec2s___add__(SbVec2s *self,SbVec2s const &u){ return *self + u; } -SWIGINTERN SbVec2s SbVec2s___sub__(SbVec2s *self,SbVec2s const &u){ return *self - u; } -SWIGINTERN SbVec2s SbVec2s___mul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___rmul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___div__(SbVec2s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec2s___eq__(SbVec2s *self,SbVec2s const &u){ return *self == u; } -SWIGINTERN int SbVec2s___nq__(SbVec2s *self,SbVec2s const &u){ return *self != u; } -SWIGINTERN short SbVec2s___getitem__(SbVec2s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2s___setitem__(SbVec2s *self,int i,short value){ (*self)[i] = value; } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) -{ - if (PyInt_Check(obj)) { - long v = PyInt_AsLong(obj); - if (v >= 0) { - if (val) *val = v; - return SWIG_OK; - } else { - return SWIG_OverflowError; - } - } else if (PyLong_Check(obj)) { - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { - if (val) *val = (unsigned long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - -SWIGINTERN SbTime SbTime___add__(SbTime *self,SbTime const &u){ return *self + u; } -SWIGINTERN SbTime SbTime___sub__(SbTime *self,SbTime const &u){ return *self - u; } -SWIGINTERN SbTime SbTime___mul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___rmul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___div____SWIG_1(SbTime *self,double const d){ return *self / d; } -SWIGINTERN SbString SoField_get(SoField *self){ - SbString valuestring; - self->get(valuestring); - return valuestring; - } -SWIGINTERN int SoMField___len__(SoMField *self){ return self->getNum(); } -SWIGINTERN SbString SoMField_get1(SoMField *self,int const index){ - SbString valuestring; - self->get1(index, valuestring); - return valuestring; - } -SWIGINTERN void delete_SoBase(SoBase *self){ self->unref(); } -SWIGINTERN void SoBaseList___setitem__(SoBaseList *self,int const i,SoBase *value){ self->set(i,value); } -SWIGINTERN SoBase *SoBaseList___getitem__(SoBaseList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoBase *SoBaseList_get(SoBaseList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoNodeList___setitem__(SoNodeList *self,int const i,SoNode *value){ self->set(i,value); } -SWIGINTERN SoNode *SoNodeList___getitem__(SoNodeList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoNode *SoNodeList_get(SoNodeList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoDetailList___setitem__(SoDetailList *self,int const i,SoDetail *value){ self->set(i,value); } -SWIGINTERN SoDetail *SoDetailList___getitem__(SoDetailList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoDetail *SoDetailList_get(SoDetailList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoTypeList___setitem__(SoTypeList *self,int const i,SoType value){ self->set(i,value); } -SWIGINTERN SoType SoTypeList___getitem__(SoTypeList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoType SoTypeList_get(SoTypeList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoEngineOutputList___setitem__(SoEngineOutputList *self,int const i,SoEngineOutput *value){ self->set(i,value); } -SWIGINTERN SoEngineOutput *SoEngineOutputList___getitem__(SoEngineOutputList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoEngineOutput *SoEngineOutputList_get(SoEngineOutputList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoEngineList___setitem__(SoEngineList *self,int const i,SoEngine *value){ self->set(i,value); } -SWIGINTERN SoEngine *SoEngineList___getitem__(SoEngineList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoEngine *SoEngineList_get(SoEngineList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoFieldList___setitem__(SoFieldList *self,int const i,SoField *value){ self->set(i,value); } -SWIGINTERN SoField *SoFieldList___getitem__(SoFieldList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoField *SoFieldList_get__SWIG_1(SoFieldList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoPathList___setitem__(SoPathList *self,int const i,SoPath *value){ self->set(i,value); } -SWIGINTERN SoPath *SoPathList___getitem__(SoPathList *self,int i){ return (*self)[i]; } -SWIGINTERN SoPath *SoPathList_get(SoPathList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoPickedPointList___setitem__(SoPickedPointList *self,int const i,SoPickedPoint *value){ self->set(i,value); } -SWIGINTERN SoPickedPoint *SoPickedPointList___getitem__(SoPickedPointList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoPickedPoint *SoPickedPointList_get(SoPickedPointList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SoPath___eq__(SoPath *self,SoPath const &u){ return *self == u; } -SWIGINTERN int SoPath___nq__(SoPath *self,SoPath const &u){ return *self != u; } -SWIGINTERN void SoActionMethodList___setitem__(SoActionMethodList *self,int const i,SoActionMethod *value){ self->set(i,value); } -SWIGINTERN SoActionMethod &SoActionMethodList___getitem__(SoActionMethodList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoActionMethod SoActionMethodList_get(SoActionMethodList *self,int const i){ return (*self)[i]; } - -static SoCallbackAction::Response -SoCallbackActionPythonCB(void * userdata, - SoCallbackAction * action, - const SoNode * node) { - PyObject *func, *arglist; - PyObject *result, *acCB, *pynode; - int iresult = 0; - - acCB = SWIG_NewPointerObj((void *)action, SWIGTYPE_p_SoCallbackAction, 0); - pynode = autocast_base((SoBase*)node); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, pynode); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); - - return (SoCallbackAction::Response)iresult; -} - -static void -SoTrianglePythonCB(void * userdata, SoCallbackAction * action, - const SoPrimitiveVertex * v1, - const SoPrimitiveVertex * v2, - const SoPrimitiveVertex * v3) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex1, *vertex2, *vertex3; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex1 = SWIG_NewPointerObj((void *) v1, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex2 = SWIG_NewPointerObj((void *) v2, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex3 = SWIG_NewPointerObj((void *) v3, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOOOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex1, vertex2, vertex3); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex1); - Py_DECREF(vertex2); - Py_DECREF(vertex3); - Py_XDECREF(result); -} - -static void -SoLineSegmentPythonCB(void * userdata, SoCallbackAction * action, - const SoPrimitiveVertex * v1, - const SoPrimitiveVertex * v2) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex1, *vertex2; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex1 = SWIG_NewPointerObj((void *) v1, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex2 = SWIG_NewPointerObj((void *) v2, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex1, vertex2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex1); - Py_DECREF(vertex2); - Py_XDECREF(result); -} - -static void -SoPointPythonCB(void * userdata, SoCallbackAction * action, const SoPrimitiveVertex * v) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex = SWIG_NewPointerObj((void *) v, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex); - Py_XDECREF(result); -} - -SWIGINTERN PyObject *SoFieldContainer_getFieldName__SWIG_1(SoFieldContainer *self,SoField *field){ - SbName name; - if (!self->getFieldName(field, name)) { - Py_INCREF(Py_None); - return Py_None; - } - return Py_BuildValue("s", name.getString()); - } - -static void -sensorQueueChangedPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(O)", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - Py_DECREF(arglist); - Py_XDECREF(result); -} - -SWIGINTERN void SoSensorManager_setChangedCallback__SWIG_1(SoSensorManager *self,PyObject *pyfunc,PyObject *data){ - self->setChangedCallback(sensorQueueChangedPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN PyObject *SoSensorManager_isTimerSensorPending__SWIG_1(SoSensorManager *self){ - SbTime tm; - if (!self->isTimerSensorPending(tm)) { - Py_INCREF(Py_None); - return Py_None; - } - SbTime * retTm = new SbTime(tm.getValue()); - return SWIG_NewPointerObj((void *)retTm, SWIGTYPE_p_SbTime, 1); - } - -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} - - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UINT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned int >(v); - } - } - return res; -} - - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > USHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned short >(v); - } - } - return res; -} - -SWIGINTERN void SoSFEnum_setValue__SWIG_2(SoSFEnum *self,SoSFEnum const *other){ *self = *other; } -SWIGINTERN void SoSFFloat_setValue__SWIG_1(SoSFFloat *self,SoSFFloat const *other){ *self = *other; } - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_short (unsigned short value) -{ - return SWIG_From_unsigned_SS_long (value); -} - -SWIGINTERN void SoSFUShort_setValue__SWIG_1(SoSFUShort *self,SoSFUShort const *other){ *self = *other; } -SWIGINTERN void SoSFInt32_setValue__SWIG_1(SoSFInt32 *self,SoSFInt32 const *other){ *self = *other; } - -static void -convert_SbVec3f_array(PyObject * input, float temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3f SbVec3f___add__(SbVec3f *self,SbVec3f const &u){ return *self + u; } -SWIGINTERN SbVec3f SbVec3f___sub__(SbVec3f *self,SbVec3f const &u){ return *self - u; } -SWIGINTERN SbVec3f SbVec3f___mul____SWIG_0(SbVec3f *self,float const d){ return *self * d; } -SWIGINTERN SbVec3f SbVec3f___mul____SWIG_1(SbVec3f *self,SbMatrix const &m){ SbVec3f res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec3f SbVec3f___rmul__(SbVec3f *self,float const d){ return *self * d; } -SWIGINTERN SbVec3f SbVec3f___div__(SbVec3f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec3f___eq__(SbVec3f *self,SbVec3f const &u){ return *self == u; } -SWIGINTERN int SbVec3f___nq__(SbVec3f *self,SbVec3f const &u){ return *self != u; } -SWIGINTERN float SbVec3f___getitem__(SbVec3f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3f___setitem__(SbVec3f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN SbColor SbColor___add__(SbColor *self,SbColor const &u){ return *self + u; } -SWIGINTERN SbColor SbColor___sub__(SbColor *self,SbColor const &u){ return *self - u; } -SWIGINTERN SbColor SbColor___mul__(SbColor *self,float const d){ return *self * d; } -SWIGINTERN SbColor SbColor___rmul__(SbColor *self,float const d){ return *self * d; } -SWIGINTERN SbColor SbColor___div__(SbColor *self,float const d){ return *self / d; } -SWIGINTERN int SbColor___eq__(SbColor *self,SbColor const &u){ return *self == u; } -SWIGINTERN int SbColor___nq__(SbColor *self,SbColor const &u){ return *self != u; } -SWIGINTERN float SbColor___getitem__(SbColor *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbColor___setitem__(SbColor *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN void SoSFBool_setValue__SWIG_1(SoSFBool *self,SoSFBool const *other){ *self = *other; } -SWIGINTERN void SoSFImage_setValue__SWIG_2(SoSFImage *self,SbVec2s const &size,int const nc,PyObject *pixels){ - Py_ssize_t len = size[0] * size[1] * nc; - unsigned char * image; - - PyString_AsStringAndSize(pixels, (char **)&image, &len); - self->setValue(size, nc, image); - } -SWIGINTERN void SoSFImage_setValue__SWIG_3(SoSFImage *self,SoSFImage const *other){ *self = *other; } -SWIGINTERN void SoSFString_setValue__SWIG_2(SoSFString *self,SoSFString const *other){ *self = *other; } -SWIGINTERN void SoSFColor_setValue__SWIG_4(SoSFColor *self,SoSFColor const *other){ *self = *other; } - -static void -convert_SbVec3s_array(PyObject * input, short temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - temp[2] = PyInt_AsLong(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 shorts"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3s SbVec3s___add__(SbVec3s *self,SbVec3s const &u){ return *self + u; } -SWIGINTERN SbVec3s SbVec3s___sub__(SbVec3s *self,SbVec3s const &u){ return *self - u; } -SWIGINTERN SbVec3s SbVec3s___mul__(SbVec3s *self,double const d){ return *self * d; } -SWIGINTERN SbVec3s SbVec3s___rmul__(SbVec3s *self,double const d){ return *self * d; } -SWIGINTERN SbVec3s SbVec3s___div__(SbVec3s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec3s___eq__(SbVec3s *self,SbVec3s const &u){ return *self == u; } -SWIGINTERN int SbVec3s___nq__(SbVec3s *self,SbVec3s const &u){ return *self != u; } -SWIGINTERN short SbVec3s___getitem__(SbVec3s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3s___setitem__(SbVec3s *self,int i,short value){ (*self)[i] = value; } -SWIGINTERN PyObject *SoCallbackAction_getMaterial__SWIG_0(SoCallbackAction *self,int const index=0){ - SbColor * ambient = new SbColor; - SbColor * diffuse = new SbColor; - SbColor * specular = new SbColor; - SbColor * emission = new SbColor; - float shininess, transparency; - - self->getMaterial(*ambient, *diffuse, *specular, *emission, shininess, transparency, index); - - return Py_BuildValue("(OOOOff)", - SWIG_NewPointerObj(ambient, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(diffuse, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(specular, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(emission, SWIGTYPE_p_SbColor, 1), - shininess, - transparency); - } -SWIGINTERN void SoCallbackAction_addPreCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPreCallback(type, SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPostCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPostCallback(type, SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPreTailCallback__SWIG_1(SoCallbackAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPreTailCallback(SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPostTailCallback__SWIG_1(SoCallbackAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPostTailCallback(SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addTriangleCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addTriangleCallback(type, SoTrianglePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addLineSegmentCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addLineSegmentCallback(type, SoLineSegmentPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPointCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPointCallback(type, SoPointPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoGLRenderPassPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("O", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_XDECREF(result); -} - -static SoGLRenderAction::AbortCode -SoGLRenderAbortPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - SoGLRenderAction::AbortCode res; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("O", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - res = (SoGLRenderAction::AbortCode)PyInt_AsLong(result); - - Py_DECREF(arglist); - Py_XDECREF(result); - - return res; -} - -static void -SoGLPreRenderPythonCB(void * userdata, class SoGLRenderAction * action) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoGLRenderAction, 1); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); -} - - -static void -convert_SbVec2f_array(PyObject *input, float temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec2f SbVec2f___add__(SbVec2f *self,SbVec2f const &u){ return *self + u; } -SWIGINTERN SbVec2f SbVec2f___sub__(SbVec2f *self,SbVec2f const &u){ return *self - u; } -SWIGINTERN SbVec2f SbVec2f___mul__(SbVec2f *self,float const d){ return *self * d; } -SWIGINTERN SbVec2f SbVec2f___rmul__(SbVec2f *self,float const d){ return *self * d; } -SWIGINTERN SbVec2f SbVec2f___div__(SbVec2f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec2f___eq__(SbVec2f *self,SbVec2f const &u){ return *self == u; } -SWIGINTERN int SbVec2f___nq__(SbVec2f *self,SbVec2f const &u){ return *self != u; } -SWIGINTERN float SbVec2f___getitem__(SbVec2f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2f___setitem__(SbVec2f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN int SbViewportRegion___eq__(SbViewportRegion *self,SbViewportRegion const &u){ return *self == u; } -SWIGINTERN int SbViewportRegion___ne__(SbViewportRegion *self,SbViewportRegion const &u){ return !(*self == u ); } -SWIGINTERN void SoGLRenderAction_setPassCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->setPassCallback(SoGLRenderPassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_setAbortCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->setAbortCallback(SoGLRenderAbortPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_addPreRenderCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPreRenderCallback(SoGLPreRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_removePreRenderCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->removePreRenderCallback(SoGLPreRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN int SbBox3f___eq__(SbBox3f *self,SbBox3f const &u){ return *self == u; } -SWIGINTERN int SbBox3f___ne__(SbBox3f *self,SbBox3f const &u){ return *self != u; } - -static void -convert_SbMat_array(PyObject * input, SbMat temp) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - (PySequence_Size(PySequence_GetItem(input, 0)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 1)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 2)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 3)) == 4)) { - int i,j; - for (i=0; i < 4; i++) { - for (j=0; j < 4; j++) { - PyObject * oij = PySequence_GetItem(PySequence_GetItem(input, i), j); - if (!PyNumber_Check(oij)) { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - return; - } - temp[i][j] = PyFloat_AsDouble(oij); - Py_DECREF(oij); - } - } - } else { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN PyObject *SbMatrix_getTransform__SWIG_1(SbMatrix *self){ - SbVec3f * t = new SbVec3f; - SbVec3f * s = new SbVec3f; - SbRotation * r = new SbRotation; - SbRotation * so = new SbRotation; - - self->getTransform(*t, *r, *s, *so); - - return Py_BuildValue("(OOOO)", - SWIG_NewPointerObj((void *)t, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)r, SWIGTYPE_p_SbRotation, 1), - SWIG_NewPointerObj((void *)s, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)so, SWIGTYPE_p_SbRotation, 1)); - } -SWIGINTERN PyObject *SbMatrix_getTransform__SWIG_2(SbMatrix *self,SbVec3f ¢er){ - SbVec3f * t = new SbVec3f; - SbVec3f * s = new SbVec3f; - SbRotation * r = new SbRotation; - SbRotation * so = new SbRotation; - - self->getTransform(*t, *r, *s, *so, center); - - return Py_BuildValue("(OOOO)", - SWIG_NewPointerObj((void *)t, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)r, SWIGTYPE_p_SbRotation, 1), - SWIG_NewPointerObj((void *)s, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)so, SWIGTYPE_p_SbRotation, 1)); - } -SWIGINTERN SbMatrix SbMatrix___mul____SWIG_0(SbMatrix *self,SbMatrix const &u){ return *self * u; } -SWIGINTERN SbVec3f SbMatrix___mul____SWIG_1(SbMatrix *self,SbVec3f const &u){ SbVec3f res; self->multMatrixVec(u, res); return res; } -SWIGINTERN SbVec3f SbMatrix___rmul__(SbMatrix *self,SbVec3f const &u){ SbVec3f res; self->multVecMatrix(u, res); return res; } -SWIGINTERN int SbMatrix___eq__(SbMatrix *self,SbMatrix const &u){ return *self == u; } -SWIGINTERN int SbMatrix___ne__(SbMatrix *self,SbMatrix const &u){ return *self != u; } -SWIGINTERN float const *SbMatrix___getitem__(SbMatrix *self,int i){ return (self->getValue())[i]; } -SWIGINTERN int SbXfBox3f___eq__(SbXfBox3f *self,SbXfBox3f const &u){ return *self == u; } -SWIGINTERN int SbXfBox3f___ne__(SbXfBox3f *self,SbXfBox3f const &u){ return *self != u; } - -static void -convert_SbVec4f_array(PyObject * input, float temp[4]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2)) && - PyNumber_Check(PySequence_GetItem(input, 3))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - temp[3] = PyFloat_AsDouble(PySequence_GetItem(input, 3)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec4f SbVec4f___add__(SbVec4f *self,SbVec4f const &u){ return *self + u; } -SWIGINTERN SbVec4f SbVec4f___sub__(SbVec4f *self,SbVec4f const &u){ return *self - u; } -SWIGINTERN SbVec4f SbVec4f___mul____SWIG_0(SbVec4f *self,float const d){ return *self * d; } -SWIGINTERN SbVec4f SbVec4f___mul____SWIG_1(SbVec4f *self,SbMatrix const &m){ SbVec4f res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec4f SbVec4f___rmul__(SbVec4f *self,float const d){ return *self * d; } -SWIGINTERN SbVec4f SbVec4f___div__(SbVec4f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec4f___eq__(SbVec4f *self,SbVec4f const &u){ return *self == u; } -SWIGINTERN int SbVec4f___nq__(SbVec4f *self,SbVec4f const &u){ return *self != u; } -SWIGINTERN float SbVec4f___getitem__(SbVec4f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec4f___setitem__(SbVec4f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN SbRotation SbRotation___mul____SWIG_0(SbRotation *self,SbRotation const &u){ return *self * u; } -SWIGINTERN SbRotation SbRotation___mul____SWIG_1(SbRotation *self,double const d){ SbRotation res(*self); return (res *= d); } -SWIGINTERN SbVec3f SbRotation___mul____SWIG_2(SbRotation *self,SbVec3f const &v){ SbVec3f res; self->multVec(v, res); return res; } -SWIGINTERN int SbRotation___eq__(SbRotation *self,SbRotation const &u){ return *self == u; } -SWIGINTERN int SbRotation___nq__(SbRotation *self,SbRotation const &u){ return *self != u; } - -static SoCallbackAction::Response -SoIntersectionVisitationPythonCB(void * closure, - const SoPath * where) -{ - PyObject *func, *arglist; - PyObject *result, *path; - int iresult = 0; - - path = SWIG_NewPointerObj((void *) where, SWIGTYPE_p_SoPath, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)closure, 1), path); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(path); - Py_XDECREF(result); - - return (SoCallbackAction::Response)iresult; -} - -static SbBool -SoIntersectionFilterPythonCB(void * closure, - const SoPath * p1, - const SoPath * p2) -{ - PyObject *func, *arglist; - PyObject *result, *path1, *path2; - int iresult = 0; - - path1 = SWIG_NewPointerObj((void *) p1, SWIGTYPE_p_SoPath, 0); - path2 = SWIG_NewPointerObj((void *) p2, SWIGTYPE_p_SoPath, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)closure, 1), path1, path2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(path1); - Py_DECREF(path2); - Py_XDECREF(result); - - return (SbBool)iresult; -} - -static SoIntersectionDetectionAction::Resp -SoIntersectionPythonCB(void * closure, - const SoIntersectingPrimitive * p1, - const SoIntersectingPrimitive * p2) -{ - PyObject *func, *arglist; - PyObject *result, *primitive1, *primitive2; - int iresult = 0; - - primitive1 = SWIG_NewPointerObj((void *) p1, SWIGTYPE_p_SoIntersectingPrimitive, 0); - primitive2 = SWIG_NewPointerObj((void *) p2, SWIGTYPE_p_SoIntersectingPrimitive, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)closure, 1), primitive1, primitive2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(primitive1); - Py_DECREF(primitive2); - Py_XDECREF(result); - - return (SoIntersectionDetectionAction::Resp)iresult; -} - -SWIGINTERN void SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(SoIntersectionDetectionAction *self,SoType type,PyObject *pyfunc,PyObject *closure){ - self->addVisitationCallback(type, SoIntersectionVisitationPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(SoIntersectionDetectionAction *self,SoType type,PyObject *pyfunc,PyObject *closure){ - self->removeVisitationCallback(type, SoIntersectionVisitationPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_setFilterCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->setFilterCallback(SoIntersectionFilterPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->addIntersectionCallback(SoIntersectionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->removeIntersectionCallback(SoIntersectionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } - -typedef struct { - uint32_t cachebitmask; - uint32_t diffuse; - SbColor ambient; - SbColor emissive; - SbColor specular; - float shininess; - int32_t lightmodel; - int32_t blending; - int32_t blend_sfactor; - int32_t blend_dfactor; - int32_t alpha_blend_sfactor; - int32_t alpha_blend_dfactor; - int32_t stipplenum; - int32_t vertexordering; - int32_t culling; - int32_t twoside; - int32_t flatshading; - int32_t glimageid; - int32_t alphatest; - uint32_t diffusenodeid; - uint32_t transpnodeid; - uint32_t reserved[4]; - } SoGLLazyElement_GLState; - - - -static void -SoDraggerPythonCB(void * data, SoDragger * dragger) -{ - PyObject *func, *arglist; - PyObject *result, *dragCB; - - dragCB = SWIG_NewPointerObj((void *) dragger, SWIGTYPE_p_SoDragger, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), dragCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(dragCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoSFNode_setValue__SWIG_1(SoSFNode *self,SoSFNode const *other){ *self = *other; } -SWIGINTERN void SoSFName_setValue__SWIG_2(SoSFName *self,SoSFName const *other){ *self = *other; } -SWIGINTERN SbName const &SoMFName___getitem__(SoMFName *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFName___setitem__(SoMFName *self,int i,SbName const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFName_setValue__SWIG_2(SoMFName *self,SoMFName const *other){ *self = *other; } -SWIGINTERN SbName const *SoMFName___getValuesHelper____SWIG_0(SoMFName *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN int SoNodeKitPath___eq__(SoNodeKitPath *self,SoNodeKitPath const &u){ return *self == u; } -SWIGINTERN int SoNodeKitPath___nq__(SoNodeKitPath *self,SoNodeKitPath const &u){ return !(*self == u); } - -static void -SoSensorPythonCB(void * data, SoSensor * sensor) -{ - swig_type_info * swig_type = 0; - char * sensor_cast_name = NULL; - PyObject * func, * arglist; - PyObject * result, * pysensor; - - /* the first item in the data sequence is the python callback - * function; the second item is the supplied data python object; the - * third item contains the sensor type that we should create */ - sensor_cast_name = PyString_AsString(PyTuple_GetItem((PyObject *)data, 2)); - if (!(swig_type = SWIG_TypeQuery(sensor_cast_name))) { - PyErr_SetString(PyExc_TypeError, "Sensor type query failed."); - return; - } - pysensor = SWIG_NewPointerObj((void *)sensor, swig_type, 0); - - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), pysensor); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(pysensor); - Py_XDECREF(result); -} - - -static void -convert_SbVec3d_array(PyObject *input, double temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 doubles"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3d SbVec3d___add__(SbVec3d *self,SbVec3d const &u){ return *self + u; } -SWIGINTERN SbVec3d SbVec3d___sub__(SbVec3d *self,SbVec3d const &u){ return *self - u; } -SWIGINTERN SbVec3d SbVec3d___mul____SWIG_0(SbVec3d *self,double const d){ return *self * d; } -SWIGINTERN SbVec3d SbVec3d___mul____SWIG_1(SbVec3d *self,SbDPMatrix const &m){ SbVec3d res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec3d SbVec3d___rmul__(SbVec3d *self,double const d){ return *self * d; } -SWIGINTERN SbVec3d SbVec3d___div__(SbVec3d *self,double const d){ return *self / d; } -SWIGINTERN int SbVec3d___eq__(SbVec3d *self,SbVec3d const &u){ return *self == u; } -SWIGINTERN int SbVec3d___nq__(SbVec3d *self,SbVec3d const &u){ return *self != u; } -SWIGINTERN double SbVec3d___getitem__(SbVec3d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3d___setitem__(SbVec3d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN PyObject *SbViewVolume_projectPointToLine(SbViewVolume *self,SbVec2f const &pt){ - SbVec3f * line0 = new SbVec3f; - SbVec3f * line1 = new SbVec3f; - - self->projectPointToLine(pt, *line0, *line1); - - return Py_BuildValue("(OO)", - SWIG_NewPointerObj((void *)line0, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)line1, SWIGTYPE_p_SbVec3f, 1)); - } -SWIGINTERN PyObject *SbViewVolume_projectToScreen(SbViewVolume *self,SbVec3f const &src){ - SbVec3f * dst = new SbVec3f; - - self->projectToScreen(src, *dst); - - return SWIG_NewPointerObj((void *)dst, SWIGTYPE_p_SbVec3f, 1); - } -SWIGINTERN void SoSFVec3f_setValue__SWIG_3(SoSFVec3f *self,SoSFVec3f const *other){ *self = *other; } -SWIGINTERN void SoDragger_addStartCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addStartCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeStartCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeStartCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addMotionCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addMotionCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeMotionCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeMotionCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addFinishCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addFinishCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeFinishCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeFinishCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addValueChangedCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addValueChangedCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeValueChangedCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeValueChangedCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addOtherEventCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addOtherEventCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeOtherEventCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeOtherEventCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoSFRotation_setValue__SWIG_4(SoSFRotation *self,SoSFRotation const *other){ *self = *other; } -SWIGINTERN void SoSFVec2f_setValue__SWIG_3(SoSFVec2f *self,SoSFVec2f const *other){ *self = *other; } -SWIGINTERN int SbPlane___eq__(SbPlane *self,SbPlane const &u){ return *self == u; } -SWIGINTERN int SbPlane___ne__(SbPlane *self,SbPlane const &u){ return *self != u; } -SWIGINTERN SbColor4f SbColor4f___add__(SbColor4f *self,SbColor4f const &u){ return *self + u; } -SWIGINTERN SbColor4f SbColor4f___sub__(SbColor4f *self,SbColor4f const &u){ return *self - u; } -SWIGINTERN SbColor4f SbColor4f___mul__(SbColor4f *self,float const d){ return *self * d; } -SWIGINTERN SbColor4f SbColor4f___rmul__(SbColor4f *self,float const d){ return *self * d; } -SWIGINTERN SbColor4f SbColor4f___div__(SbColor4f *self,float const d){ return *self / d; } -SWIGINTERN int SbColor4f___eq__(SbColor4f *self,SbColor4f const &u){ return *self == u; } -SWIGINTERN int SbColor4f___nq__(SbColor4f *self,SbColor4f const &u){ return *self != u; } -SWIGINTERN float SbColor4f___getitem__(SbColor4f *self,int i){ return (self->getValue())[i]; } - -static void -convert_SoMFBool_array(PyObject * input, int len, SbBool * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN SbBool const *SoMFBool___getValuesHelper____SWIG_0(SoMFBool *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFEnum_array(PyObject * input, int len, int * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFEnum_setValue__SWIG_2(SoMFEnum *self,SoMFEnum const *other){ *self = *other; } -SWIGINTERN int const *SoMFEnum___getValuesHelper____SWIG_0(SoMFEnum *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFFloat_array(PyObject * input, int len, float * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFFloat_setValue__SWIG_1(SoMFFloat *self,SoMFFloat const *other){ *self = *other; } -SWIGINTERN float const *SoMFFloat___getValuesHelper____SWIG_0(SoMFFloat *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec3f_array(PyObject * input, int len, float temp[][3]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec3f_setValue__SWIG_3(SoMFVec3f *self,SoMFVec3f const *other){ *self = *other; } -SWIGINTERN SbVec3f const *SoMFVec3f___getValuesHelper____SWIG_0(SoMFVec3f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbString const &SoMFString___getitem__(SoMFString *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFString___setitem__(SoMFString *self,int i,SbString const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFString_setValue__SWIG_2(SoMFString *self,SoMFString const *other){ *self = *other; } -SWIGINTERN SbString const *SoMFString___getValuesHelper____SWIG_0(SoMFString *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec2f_array(PyObject * input, int len, float temp[][2]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec2f_setValue__SWIG_3(SoMFVec2f *self,SoMFVec2f const *other){ *self = *other; } -SWIGINTERN SbVec2f const *SoMFVec2f___getValuesHelper____SWIG_0(SoMFVec2f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec4f_array(PyObject * input, int len, float temp[][4]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec4f_setValue__SWIG_3(SoMFVec4f *self,SoMFVec4f const *other){ *self = *other; } -SWIGINTERN SbVec4f const *SoMFVec4f___getValuesHelper____SWIG_0(SoMFVec4f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbRotation const &SoMFRotation___getitem__(SoMFRotation *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFRotation___setitem__(SoMFRotation *self,int i,SbRotation const &value){ self->set1Value(i, value); } -SWIGINTERN SbRotation const *SoMFRotation___getValuesHelper____SWIG_0(SoMFRotation *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFRotation_setValue__SWIG_4(SoMFRotation *self,SoMFRotation const *other){ *self = *other; } -SWIGINTERN SbMatrix const &SoMFMatrix___getitem__(SoMFMatrix *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFMatrix___setitem__(SoMFMatrix *self,int i,SbMatrix const &value){ self->set1Value(i, value); } -SWIGINTERN SbMatrix const *SoMFMatrix___getValuesHelper____SWIG_0(SoMFMatrix *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFMatrix_setValue__SWIG_2(SoMFMatrix *self,SoMFMatrix const *other){ *self = *other; } -SWIGINTERN void SoSFPath_setValue__SWIG_1(SoSFPath *self,SoSFPath const *other){ *self = *other; } -SWIGINTERN void SoSFTrigger_setValue__SWIG_1(SoSFTrigger *self,SoSFTrigger const *other){ *self = *other; } -SWIGINTERN void SoSFShort_setValue__SWIG_1(SoSFShort *self,SoSFShort const *other){ *self = *other; } -SWIGINTERN void SoSFTime_setValue__SWIG_1(SoSFTime *self,SbTime &other){ *self = other; } -SWIGINTERN void SoSFTime_setValue__SWIG_2(SoSFTime *self,SoSFTime const *other){ *self = *other; } -SWIGINTERN int SbBox2s___eq__(SbBox2s *self,SbBox2s const &u){ return *self == u; } -SWIGINTERN int SbBox2s___ne__(SbBox2s *self,SbBox2s const &u){ return *self != u; } -SWIGINTERN int SbBox2f___eq__(SbBox2f *self,SbBox2f const &u){ return *self == u; } -SWIGINTERN int SbBox2f___ne__(SbBox2f *self,SbBox2f const &u){ return *self != u; } - -static void -convert_SbVec2d_array(PyObject *input, double temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec2d SbVec2d___add__(SbVec2d *self,SbVec2d const &u){ return *self + u; } -SWIGINTERN SbVec2d SbVec2d___sub__(SbVec2d *self,SbVec2d const &u){ return *self - u; } -SWIGINTERN SbVec2d SbVec2d___mul__(SbVec2d *self,float const d){ return *self * d; } -SWIGINTERN SbVec2d SbVec2d___rmul__(SbVec2d *self,float const d){ return *self * d; } -SWIGINTERN SbVec2d SbVec2d___div__(SbVec2d *self,float const d){ return *self / d; } -SWIGINTERN int SbVec2d___eq__(SbVec2d *self,SbVec2d const &u){ return *self == u; } -SWIGINTERN int SbVec2d___nq__(SbVec2d *self,SbVec2d const &u){ return *self != u; } -SWIGINTERN double SbVec2d___getitem__(SbVec2d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2d___setitem__(SbVec2d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN int SbBox2d___eq__(SbBox2d *self,SbBox2d const &u){ return *self == u; } -SWIGINTERN int SbBox2d___ne__(SbBox2d *self,SbBox2d const &u){ return *self != u; } -SWIGINTERN SbBox2d &SbBox2d_setValue(SbBox2d *self,SbBox2d const &u){ - self->setBounds(u.getMin(), u.getMax()); - return *self; - } -SWIGINTERN int SbBox3s___eq__(SbBox3s *self,SbBox3s const &u){ return *self == u; } -SWIGINTERN int SbBox3s___ne__(SbBox3s *self,SbBox3s const &u){ return *self != u; } -SWIGINTERN void SoSFEngine_setValue__SWIG_1(SoSFEngine *self,SoSFEngine const *other){ *self = *other; } -SWIGINTERN void SoSFImage3_setValue__SWIG_1(SoSFImage3 *self,SbVec3s const &size,int const nc,PyObject *pixels){ - Py_ssize_t len = size[0] * size[1] * size[2] * nc; - unsigned char * image; - - PyString_AsStringAndSize(pixels, (char **)&image, &len); - self->setValue(size, nc, image); - } -SWIGINTERN void SoSFImage3_setValue__SWIG_2(SoSFImage3 *self,SoSFImage3 const *other){ *self = *other; } -SWIGINTERN void SoSFMatrix_setValue__SWIG_2(SoSFMatrix *self,SoSFMatrix const *other){ *self = *other; } -SWIGINTERN void SoSFPlane_setValue__SWIG_1(SoSFPlane *self,SoSFPlane const *other){ *self = *other; } -SWIGINTERN void SoSFUInt32_setValue__SWIG_1(SoSFUInt32 *self,SoSFUInt32 const *other){ *self = *other; } -SWIGINTERN void SoSFVec4f_setValue__SWIG_3(SoSFVec4f *self,SoSFVec4f const *other){ *self = *other; } - -static void -convert_SbVec4d_array(PyObject * input, double temp[4]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2)) && - PyNumber_Check(PySequence_GetItem(input, 3))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - temp[3] = PyFloat_AsDouble(PySequence_GetItem(input, 3)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec4d SbVec4d___add__(SbVec4d *self,SbVec4d const &u){ return *self + u; } -SWIGINTERN SbVec4d SbVec4d___sub__(SbVec4d *self,SbVec4d const &u){ return *self - u; } -SWIGINTERN SbVec4d SbVec4d___mul____SWIG_0(SbVec4d *self,double const d){ return *self * d; } -SWIGINTERN SbVec4d SbVec4d___mul____SWIG_1(SbVec4d *self,SbDPMatrix const &m){ SbVec4d res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec4d SbVec4d___rmul__(SbVec4d *self,double const d){ return *self * d; } -SWIGINTERN SbVec4d SbVec4d___div__(SbVec4d *self,double const d){ return *self / d; } -SWIGINTERN int SbVec4d___eq__(SbVec4d *self,SbVec4d const &u){ return *self == u; } -SWIGINTERN int SbVec4d___nq__(SbVec4d *self,SbVec4d const &u){ return *self != u; } -SWIGINTERN double SbVec4d___getitem__(SbVec4d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec4d___setitem__(SbVec4d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN SbColor const &SoMFColor___getitem__(SoMFColor *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFColor___setitem____SWIG_0(SoMFColor *self,int i,SbColor const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFColor___setitem____SWIG_1(SoMFColor *self,int i,float const rgb[3]){ self->set1Value(i, rgb); } -SWIGINTERN void SoMFColor_setValue__SWIG_4(SoMFColor *self,SoMFColor const *other){ *self = *other; } -SWIGINTERN SbColor const *SoMFColor___getValuesHelper____SWIG_0(SoMFColor *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoEngine const *SoMFEngine___getitem__(SoMFEngine *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFEngine___setitem__(SoMFEngine *self,int i,SoEngine *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFEngine_setValue__SWIG_1(SoMFEngine *self,SoMFEngine const *other){ *self = *other; } -SWIGINTERN SoEngine const **SoMFEngine___getValuesHelper____SWIG_0(SoMFEngine *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFInt32_array(PyObject * input, int len, int32_t * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFInt32_setValue__SWIG_1(SoMFInt32 *self,SoMFInt32 const *other){ *self = *other; } -SWIGINTERN int32_t const *SoMFInt32___getValuesHelper____SWIG_0(SoMFInt32 *self,int32_t &len,int32_t i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoNode const *SoMFNode___getitem__(SoMFNode *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFNode___setitem__(SoMFNode *self,int i,SoNode *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFNode_setValue__SWIG_1(SoMFNode *self,SoMFNode const *other){ *self = *other; } -SWIGINTERN SoNode const **SoMFNode___getValuesHelper____SWIG_0(SoMFNode *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoPath const *SoMFPath___getitem__(SoMFPath *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFPath___setitem__(SoMFPath *self,int i,SoPath *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFPath_setValue__SWIG_1(SoMFPath *self,SoMFPath const *other){ *self = *other; } -SWIGINTERN SoPath const **SoMFPath___getValuesHelper____SWIG_0(SoMFPath *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbPlane const &SoMFPlane___getitem__(SoMFPlane *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFPlane___setitem__(SoMFPlane *self,int i,SbPlane const &value){ self->set1Value(i, value); } -SWIGINTERN SbPlane const *SoMFPlane___getValuesHelper____SWIG_0(SoMFPlane *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFPlane_setValue__SWIG_1(SoMFPlane *self,SoMFPlane const *other){ *self = *other; } - -static void -convert_SoMFShort_array(PyObject * input, int len, short * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFShort_setValue__SWIG_1(SoMFShort *self,SoMFShort const *other){ *self = *other; } -SWIGINTERN short const *SoMFShort___getValuesHelper____SWIG_0(SoMFShort *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbTime const &SoMFTime___getitem__(SoMFTime *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFTime___setitem__(SoMFTime *self,int i,SbTime const &value){ self->set1Value(i, value); } -SWIGINTERN SbTime const *SoMFTime___getValuesHelper____SWIG_0(SoMFTime *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFTime_setValue__SWIG_1(SoMFTime *self,SoMFTime const *other){ *self = *other; } - -static void -convert_SoMFUInt32_array(PyObject * input, int len, uint32_t * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFUInt32_setValue__SWIG_1(SoMFUInt32 *self,SoMFUInt32 const *other){ *self = *other; } -SWIGINTERN uint32_t const *SoMFUInt32___getValuesHelper____SWIG_0(SoMFUInt32 *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFUShort_array(PyObject *input, int len, unsigned short *temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFUShort_setValue__SWIG_1(SoMFUShort *self,SoMFUShort const *other){ *self = *other; } -SWIGINTERN unsigned short const *SoMFUShort___getValuesHelper____SWIG_0(SoMFUShort *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec3d_array(PyObject * input, int len, double temp[][3]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec3d_setValue__SWIG_3(SoMFVec3d *self,SoMFVec3d const *other){ *self = *other; } -SWIGINTERN SbVec3d const *SoMFVec3d___getValuesHelper____SWIG_0(SoMFVec3d *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SbStringList___setitem__(SbStringList *self,int const i,SbString *value){ self->set(i,value); } -SWIGINTERN SbString *SbStringList___getitem__(SbStringList *self,int i){ return (*self)[i]; } -SWIGINTERN SbString *SbStringList_get(SbStringList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SbVec3fList___setitem__(SbVec3fList *self,int const i,SbVec3f *value){ self->set(i,value); } -SWIGINTERN SbVec3f *SbVec3fList___getitem__(SbVec3fList *self,int i){ return (*self)[i]; } -SWIGINTERN SbVec3f *SbVec3fList_get(SbVec3fList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SoGroup___len__(SoGroup *self){ return self->getNumChildren(); } -SWIGINTERN int SoGroup___contains__(SoGroup *self,SoNode const *node){ return (self->findChild(node) != -1); } -SWIGINTERN SoNode *SoGroup___getitem__(SoGroup *self,int index){ return self->getChild(index); } - -static void -SoPythonCallBack(void * userdata, SoAction * action) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoAction, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoCallback_setCallback__SWIG_2(SoCallback *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->setCallback(SoPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoEventPythonCallBack(void * userdata, SoEventCallback * node) -{ - PyObject *func, *arglist; - PyObject *result, *evCB; - - evCB = SWIG_NewPointerObj((void *) node, SWIGTYPE_p_SoEventCallback, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), evCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(evCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoEventCallback_addEventCallback__SWIG_2(SoEventCallback *self,SoType eventtype,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addEventCallback(eventtype, SoEventPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoEventCallback_removeEventCallback__SWIG_2(SoEventCallback *self,SoType eventtype,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeEventCallback(eventtype, SoEventPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoSelectionPathPythonCB(void * data, SoPath * path) -{ - PyObject *func, *arglist; - PyObject *result, *pathCB; - - pathCB = SWIG_NewPointerObj((void *) path, SWIGTYPE_p_SoPath, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), pathCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(pathCB); - Py_XDECREF(result); -} - -static void -SoSelectionClassPythonCB(void * data, SoSelection * sel) -{ - PyObject *func, *arglist; - PyObject *result, *selCB; - - selCB = SWIG_NewPointerObj((void *) sel, SWIGTYPE_p_SoSelection, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)data, 1), selCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(selCB); - Py_XDECREF(result); -} - -static SoPath * -SoSelectionPickPythonCB(void * data, const SoPickedPoint * pick) -{ - PyObject *func, *arglist; - PyObject *result, *pickCB; - SoPath *resultobj; - - pickCB = SWIG_NewPointerObj((void *) pick, SWIGTYPE_p_SoPickedPoint, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)data, 1), pickCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - SWIG_ConvertPtr(result, (void **) &resultobj, SWIGTYPE_p_SoPath, 1); - } - - Py_DECREF(arglist); - Py_DECREF(pickCB); - Py_XDECREF(result); - - return resultobj; -} - -SWIGINTERN void SoSelection_addSelectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addSelectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeSelectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeSelectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addDeselectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addDeselectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeDeselectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeDeselectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addStartCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addStartCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeStartCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeStartCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addFinishCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addFinishCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeFinishCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeFinishCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_setPickFilterCallback__SWIG_3(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL,int callOnlyIfSelectable=1){ - self->setPickFilterCallback(SoSelectionPickPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None), - callOnlyIfSelectable); - } -SWIGINTERN void SoSelection_addChangeCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addChangeCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeChangeCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeChangeCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN SbDPRotation SbDPRotation___mul____SWIG_0(SbDPRotation *self,SbDPRotation const &u){ return *self * u; } -SWIGINTERN SbDPRotation SbDPRotation___mul____SWIG_1(SbDPRotation *self,double const d){ SbDPRotation res(*self); return (res *= d); } -SWIGINTERN SbVec3d SbDPRotation___mul____SWIG_2(SbDPRotation *self,SbVec3d const &v){ SbVec3d res; self->multVec(v, res); return res; } -SWIGINTERN int SbDPRotation___eq__(SbDPRotation *self,SbDPRotation const &u){ return *self == u; } -SWIGINTERN int SbDPRotation___nq__(SbDPRotation *self,SbDPRotation const &u){ return *self != u; } - -static void -convert_SbDPMat_array(PyObject * input, SbDPMat temp) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - (PySequence_Size(PySequence_GetItem(input, 0)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 1)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 2)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 3)) == 4)) { - int i,j; - for (i=0; i < 4; i++) { - for (j=0; j < 4; j++) { - PyObject * oij = PySequence_GetItem(PySequence_GetItem(input, i), j); - if (!PyNumber_Check(oij)) { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - return; - } - temp[i][j] = PyFloat_AsDouble(oij); - Py_DECREF(oij); - } - } - } else { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbDPMatrix SbDPMatrix___mul____SWIG_0(SbDPMatrix *self,SbDPMatrix const &u){ return *self * u; } -SWIGINTERN SbVec3d SbDPMatrix___mul____SWIG_1(SbDPMatrix *self,SbVec3d const &u){ SbVec3d res; self->multMatrixVec(u, res); return res; } -SWIGINTERN SbVec3d SbDPMatrix___rmul__(SbDPMatrix *self,SbVec3d const &u){ SbVec3d res; self->multVecMatrix(u, res); return res; } -SWIGINTERN int SbDPMatrix___eq__(SbDPMatrix *self,SbDPMatrix const &u){ return *self == u; } -SWIGINTERN int SbDPMatrix___ne__(SbDPMatrix *self,SbDPMatrix const &u){ return *self != u; } -SWIGINTERN int SbDPPlane___eq__(SbDPPlane *self,SbDPPlane const &u){ return *self == u; } -SWIGINTERN int SbDPPlane___ne__(SbDPPlane *self,SbDPPlane const &u){ return *self != u; } -SWIGINTERN PyObject *SbImage_getValue__SWIG_2(SbImage *self){ - int nc; - SbVec3s size; - PyObject * result; - - const unsigned char * image = self->getValue(size, nc); - - /* check for 3D image */ - if (size[2] == 0) { - SbVec2s * vec2s = new SbVec2s(size[0], size[1]); - result = Py_BuildValue("(s#Oi)", - (const char*)image, - (*vec2s)[0] * (*vec2s)[1] * nc, - SWIG_NewPointerObj((void *)vec2s, SWIGTYPE_p_SbVec2s, 1), - nc); - } else { - SbVec3s * vec3s = new SbVec3s(size[0], size[1], size[2]); - result = Py_BuildValue("(s#Oi)", - (const char*)image, - (*vec3s)[0] * (*vec3s)[1] * (*vec3s)[2] * nc, - SWIG_NewPointerObj((void *)vec3s, SWIGTYPE_p_SbVec3s, 1), - nc); - } - - return result; - } -SWIGINTERN PyObject *SoOffscreenRenderer_getBuffer__SWIG_1(SoOffscreenRenderer *self){ - SbVec2s size = self->getViewportRegion().getWindowSize(); - - return PyString_FromStringAndSize((char *)self->getBuffer(), - size[0] * size[1] * self->getComponents()); - } - -static void -SoSceneManagerPythonCB(void * userdata, SoSceneManager * mgr) -{ - PyObject *func, *arglist; - PyObject *result, *mgrCB; - - mgrCB = SWIG_NewPointerObj((void *)mgr, SWIGTYPE_p_SoSceneManager, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)userdata, 1), mgrCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(mgrCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoSceneManager_setRenderCallback__SWIG_2(SoSceneManager *self,PyObject *pyfunc,PyObject *userData=NULL){ - self->setRenderCallback(SoSceneManagerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userData ? userData : Py_None)); - } - -static void -SoRenderManagerRenderPythonCB(void * userdata, class SoRenderManager * mgr) -{ - PyObject *func, *arglist; - PyObject *result, *mgrCB; - - mgrCB = SWIG_NewPointerObj((void *)mgr, SWIGTYPE_p_SoRenderManager, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)userdata, 1), mgrCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(mgrCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoRenderManager_setRenderCallback__SWIG_2(SoRenderManager *self,PyObject *pyfunc,PyObject *userData=NULL){ - self->setRenderCallback(SoRenderManagerRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userData ? userData : Py_None)); - } -SWIGINTERN void SoRenderManager_addPreRenderCallback__SWIG_1(SoRenderManager *self,PyObject *pyfunc,PyObject *data){ - self->addPreRenderCallback(SoRenderManagerRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoRenderManager_removePreRenderCallback__SWIG_1(SoRenderManager *self,PyObject *pyfunc,PyObject *data){ - self->removePreRenderCallback(SoRenderManagerRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoRenderManager_addPostRenderCallback__SWIG_1(SoRenderManager *self,PyObject *pyfunc,PyObject *data){ - self->addPostRenderCallback(SoRenderManagerRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoRenderManager_removePostRenderCallback__SWIG_1(SoRenderManager *self,PyObject *pyfunc,PyObject *data){ - self->removePostRenderCallback(SoRenderManagerRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } - -static void -ScXMLStateMachineDeletePythonCB(void * userdata, - ScXMLStateMachine * statemachine) -{ - PyObject *func, *arglist; - PyObject *result, *statemachineCB; - - statemachineCB = SWIG_NewPointerObj((void *)statemachine, SWIGTYPE_p_ScXMLStateMachine, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), statemachineCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(statemachineCB); - Py_XDECREF(result); -} - -static void -ScXMLStateChangePythonCB(void * userdata, - ScXMLStateMachine * statemachine, - const char * stateidentifier, - SbBool enterstate, - SbBool success) -{ - PyObject *func, *arglist; - PyObject *result, *statemachineCB; - - statemachineCB = SWIG_NewPointerObj((void *)statemachine, SWIGTYPE_p_ScXMLStateMachine, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOsii)", PyTuple_GetItem((PyObject *)userdata, 1), - statemachineCB, stateidentifier, - enterstate, success); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(statemachineCB); - Py_XDECREF(result); -} - -SWIGINTERN void ScXMLStateMachine_addDeleteCallback__SWIG_1(ScXMLStateMachine *self,PyObject *pyfunc,PyObject *userdata){ - self->addDeleteCallback(ScXMLStateMachineDeletePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void ScXMLStateMachine_removeDeleteCallback__SWIG_1(ScXMLStateMachine *self,PyObject *pyfunc,PyObject *userdata){ - self->removeDeleteCallback(ScXMLStateMachineDeletePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void ScXMLStateMachine_addStateChangeCallback__SWIG_1(ScXMLStateMachine *self,PyObject *pyfunc,PyObject *userdata){ - self->addStateChangeCallback(ScXMLStateChangePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void ScXMLStateMachine_removeStateChangeCallback__SWIG_1(ScXMLStateMachine *self,PyObject *pyfunc,PyObject *userdata){ - self->removeStateChangeCallback(ScXMLStateChangePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -#ifdef __cplusplus -extern "C" { -#endif -SWIGINTERN PyObject *_wrap_new_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_charp",0,0)) SWIG_fail; - result = (charp *)new_charp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_charp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_charp" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - delete_charp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_assign" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charp_assign" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - charp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"charp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_value" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char)charp_value(arg1); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_cast" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char *)charp_cast(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_frompointer" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (charp *)charp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *charp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_charp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_intp",0,0)) SWIG_fail; - result = (intp *)new_intp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_intp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intp" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - delete_intp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_assign" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intp_assign" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - intp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"intp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_value" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int)intp_value(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_cast" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int *)intp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_frompointer" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - result = (intp *)intp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *intp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_intp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_longp",0,0)) SWIG_fail; - result = (longp *)new_longp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_longp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_longp" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - delete_longp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_assign" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longp_assign" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - longp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - long result; - - if(!PyArg_UnpackTuple(args,(char *)"longp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_value" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long)longp_value(arg1); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - long *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_cast" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long *)longp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - long *arg1 = (long *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_long, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_frompointer" "', argument " "1"" of type '" "long *""'"); - } - arg1 = reinterpret_cast< long * >(argp1); - result = (longp *)longp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *longp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_longp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_floatp",0,0)) SWIG_fail; - result = (floatp *)new_floatp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_floatp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_floatp" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - delete_floatp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_assign" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatp_assign" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - floatp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_value" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float)floatp_value(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_cast" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float *)floatp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_frompointer" "', argument " "1"" of type '" "float *""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - result = (floatp *)floatp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *floatp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_floatp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_doublep",0,0)) SWIG_fail; - result = (doublep *)new_doublep(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_doublep",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doublep" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - delete_doublep(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_assign" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doublep_assign" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - doublep_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_value" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double)doublep_value(arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_cast" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double *)doublep_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_frompointer" "', argument " "1"" of type '" "double *""'"); - } - arg1 = reinterpret_cast< double * >(argp1); - result = (doublep *)doublep_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *doublep_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_doublep, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDict" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbDict *)new SbDict(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",0,0)) SWIG_fail; - result = (SbDict *)new SbDict(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDict, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - result = (SbDict *)new SbDict((SbDict const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDict__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDict__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDict__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDict'.\n" - " Possible C/C++ prototypes are:\n" - " SbDict(int const)\n" - " SbDict()\n" - " SbDict(SbDict const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDict" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictApplyFunc *arg2 = (SbDictApplyFunc *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictApplyFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "SbDictApplyFunc *""'"); - } - arg2 = reinterpret_cast< SbDictApplyFunc * >(argp2); - ((SbDict const *)arg1)->applyToAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictApplyDataFunc *arg2 = (SbDictApplyDataFunc *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictApplyDataFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "SbDictApplyDataFunc *""'"); - } - arg2 = reinterpret_cast< SbDictApplyDataFunc * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - ((SbDict const *)arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbDictApplyFunc, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbDictApplyDataFunc, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDict_applyToAll'.\n" - " Possible C/C++ prototypes are:\n" - " applyToAll(SbDict const *,SbDictApplyFunc *)\n" - " applyToAll(SbDict const *,SbDictApplyDataFunc *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_clear" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_enter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_enter" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_enter" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_enter" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_enter" "', argument " "3"" of type '" "void *const""'"); - } - result = (SbBool)(arg1)->enter(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_find" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_find" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - result = (SbBool)((SbDict const *)arg1)->find(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_makePList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbPList *arg2 = 0 ; - SbPList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_makePList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_makePList" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - (arg1)->makePList(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_remove" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_remove" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_remove" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)(arg1)->remove(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_setHashingFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictHashingFunc *arg2 = (SbDictHashingFunc *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_setHashingFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_setHashingFunction" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictHashingFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_setHashingFunction" "', argument " "2"" of type '" "SbDictHashingFunc *""'"); - } - arg2 = reinterpret_cast< SbDictHashingFunc * >(argp2); - (arg1)->setHashingFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDict_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDict, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoType_fromName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = SoType::fromName(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getName" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getParent" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getParent(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isDerivedFrom" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->isDerivedFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getAllDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoTypeList *arg2 = 0 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getAllDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (int)SoType::getAllDerivedFrom(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_canCreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_canCreateInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_canCreateInstance" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->canCreateInstance(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint16_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getData" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getData(); - resultobj = SWIG_NewPointerObj((new uint16_t(static_cast< const uint16_t& >(result))), SWIGTYPE_p_uint16_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int16_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getKey" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getKey(); - resultobj = SWIG_NewPointerObj((new int16_t(static_cast< const int16_t& >(result))), SWIGTYPE_p_int16_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___eq__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator ==(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ne__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator !=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___lt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___le__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ge__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___gt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_removeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_removeType",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbBool)SoType::removeType((SbName const &)*arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_init",0,0)) SWIG_fail; - SoType::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_fromKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint16_t arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromKey",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_uint16_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } else { - uint16_t * temp = reinterpret_cast< uint16_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = SoType::fromKey(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_badType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_badType",0,0)) SWIG_fail; - result = SoType::badType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isBad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isBad",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isBad" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isBad(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_makeInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_makeInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_makeInternal" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - (arg1)->makeInternal(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isInternal" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isInternal(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getNumTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getNumTypes",0,0)) SWIG_fail; - result = (int)SoType::getNumTypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getInstantiationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType::instantiationMethod result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getInstantiationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getInstantiationMethod" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SoType::instantiationMethod)((SoType const *)arg1)->getInstantiationMethod(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_createInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_createInstance" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (PyObject *)SoType_createInstance(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoType",0,0)) SWIG_fail; - result = (SoType *)new SoType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoType" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbPList *)new SbPList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",0,0)) SWIG_fail; - result = (SbPList *)new SbPList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (SbPList *)new SbPList((SbPList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPList__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPList__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPList'.\n" - " Possible C/C++ prototypes are:\n" - " SbPList(int const)\n" - " SbPList()\n" - " SbPList(SbPList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPList" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_copy" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - (arg1)->copy((SbPList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_fit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_fit" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - (arg1)->fit(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_append" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_append" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_find" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_find" "', argument " "2"" of type '" "void *""'"); - } - result = (int)((SbPList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_insert" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_insert" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeItem" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_removeItem" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_remove" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeFast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeFast" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_removeFast" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeFast(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getLength" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (int)((SbPList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_truncate'.\n" - " Possible C/C++ prototypes are:\n" - " truncate(SbPList *,int const,int const)\n" - " truncate(SbPList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_getArrayPtr" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void **)((SbPList const *)arg1)->getArrayPtr(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (void **)((SbPList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_getArrayPtr'.\n" - " Possible C/C++ prototypes are:\n" - " getArrayPtr(SbPList const *,int const)\n" - " getArrayPtr(SbPList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___eq__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator ==((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___ne__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator !=((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_get" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbPList const *)arg1)->get(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_set" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList_set" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___getitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)SbPList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___setitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList___setitem__" "', argument " "3"" of type '" "void *""'"); - } - SbPList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",0,0)) SWIG_fail; - result = (SbIntList *)new SbIntList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbIntList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbIntList *)new SbIntList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbIntList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbIntList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbIntList'.\n" - " Possible C/C++ prototypes are:\n" - " SbIntList()\n" - " SbIntList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_append" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_find" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_insert" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_insert" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbIntList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___setitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbIntList___setitem__" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SbIntList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___getitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int &_result_ref = SbIntList___getitem__(arg1,arg2); - result = (int *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_get" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SbIntList_get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbIntList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbIntList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbIntList" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbIntList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbIntList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",0,0)) SWIG_fail; - result = (SbString *)new SbString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbString *)new SbString((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int arg2 ; - int arg3 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)new SbString((char const *)arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbString *)new SbString((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbString *)new SbString(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbString__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbString__SWIG_3(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbString'.\n" - " Possible C/C++ prototypes are:\n" - " SbString()\n" - " SbString(char const *)\n" - " SbString(char const *,int,int)\n" - " SbString(SbString const &)\n" - " SbString(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->hash(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SbString::hash((char const *)arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_hash'.\n" - " Possible C/C++ prototypes are:\n" - " hash(SbString const *)\n" - " SbString::hash(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getLength" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (int)((SbString const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_makeEmpty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->makeEmpty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_makeEmpty'.\n" - " Possible C/C++ prototypes are:\n" - " makeEmpty(SbString *,SbBool)\n" - " makeEmpty(SbString *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)((SbString const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_getSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = ((SbString const *)arg1)->getSubString(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbString const *)arg1)->getSubString(arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_getSubString'.\n" - " Possible C/C++ prototypes are:\n" - " getSubString(SbString const *,int,int)\n" - " getSubString(SbString const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_deleteSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteSubString(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteSubString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_deleteSubString'.\n" - " Possible C/C++ prototypes are:\n" - " deleteSubString(SbString *,int,int)\n" - " deleteSubString(SbString *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_addIntString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_addIntString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_addIntString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_addIntString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addIntString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->operator +=((char const *)arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - SbString &_result_ref = (arg1)->operator +=((SbString const &)*arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - { - SbString &_result_ref = (arg1)->operator +=(arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString___iadd____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___iadd____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___iadd____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___iadd__'.\n" - " Possible C/C++ prototypes are:\n" - " operator +=(SbString *,char const *)\n" - " operator +=(SbString *,SbString const &)\n" - " operator +=(SbString *,char const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_compareSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_compareSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_compareSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_compareSubString'.\n" - " Possible C/C++ prototypes are:\n" - " compareSubString(SbString const *,char const *,int)\n" - " compareSubString(SbString const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_sprintf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_sprintf" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_sprintf" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->sprintf((char const *)arg2,arg3); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SbString_sprintf__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SbString_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char (*arg2)(char) = (char (*)(char)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_apply" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_char__char); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbString_apply" "', argument " "2"" of type '" "char (*)(char)""'"); - } - } - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_find" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)((SbString const *)arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_findAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbIntList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_findAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_findAll" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (SbBool)((SbString const *)arg1)->findAll((SbString const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_lower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_lower",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_lower" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->lower(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_upper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_upper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_upper" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->upper(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___eq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___nq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___eq____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___nq____SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___nq__'.\n" - " Possible C/C++ prototypes are:\n" - " __nq__(SbString *,SbString const &)\n" - " __nq__(SbString *,char *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___getitem__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbString___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___repr__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)SbString___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",0,0)) SWIG_fail; - result = (SbName *)new SbName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbName" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbName *)new SbName((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbName__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbName__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbName'.\n" - " Possible C/C++ prototypes are:\n" - " SbName()\n" - " SbName(char const *)\n" - " SbName(SbString const &)\n" - " SbName(SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbName" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getString" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)((SbName const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getLength" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (int)((SbName const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_empty",0,0)) SWIG_fail; - { - SbName const &_result_ref = SbName::empty(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_2(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbName___nq__'.\n" - " Possible C/C++ prototypes are:\n" - " __nq__(SbName *,SbName const &)\n" - " __nq__(SbName *,char *)\n" - " __nq__(SbName *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___getitem__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbName___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___repr__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)SbName___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoError",0,0)) SWIG_fail; - result = (SoError *)new SoError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoError" "', argument " "1"" of type '" "SoError *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoError_setHandlerCallback" "', argument " "2"" of type '" "void *const""'"); - } - SoError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getDebugString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getDebugString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getDebugString" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - SbString const &_result_ref = ((SoError const *)arg1)->getDebugString(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getClassTypeId",0,0)) SWIG_fail; - result = SoError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getTypeId" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - result = ((SoError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_isOfType" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoError const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - void *arg2 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_post",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoError::post((char const *)arg1,arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,1); - varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); - resultobj = _wrap_SoError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoNode const *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = SoError::getString((SoNode const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoPath const *const""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = SoError::getString((SoPath const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) (SoEngine *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoEngine const *const""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = SoError::getString((SoEngine const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_2(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoError_getString'.\n" - " Possible C/C++ prototypes are:\n" - " getString(SoNode const *const)\n" - " getString(SoPath const *const)\n" - " SoError::getString(SoEngine const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClass",0,0)) SWIG_fail; - SoError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClasses",0,0)) SWIG_fail; - SoError::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDebugError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDebugError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_setHandlerCallback" "', argument " "2"" of type '" "void *const""'"); - } - SoDebugError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoDebugError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoDebugError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getClassTypeId",0,0)) SWIG_fail; - result = SoDebugError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getTypeId" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = ((SoDebugError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getSeverity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDebugError::Severity result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getSeverity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getSeverity" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = (SoDebugError::Severity)((SoDebugError const *)arg1)->getSeverity(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_post",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_post" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::post((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postWarning",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postWarning" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postWarning" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postWarning((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postWarning__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postInfo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postInfo" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postInfo" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postInfo((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postInfo__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_initClass",0,0)) SWIG_fail; - SoDebugError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDebugError",0,0)) SWIG_fail; - result = (SoDebugError *)new SoDebugError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDebugError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDebugError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDebugError" "', argument " "1"" of type '" "SoDebugError *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDebugError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDebugError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",0,0)) SWIG_fail; - result = (SbVec2s *)new SbVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - short temp1[2] ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2s *)new SbVec2s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbVec2s *)new SbVec2s(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2us const &""'"); - } - arg1 = reinterpret_cast< SbVec2us * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_7(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2s'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2s()\n" - " SbVec2s(short const [2])\n" - " SbVec2s(short,short)\n" - " SbVec2s(SbVec2us const &)\n" - " SbVec2s(SbVec2b const &)\n" - " SbVec2s(SbVec2i32 const &)\n" - " SbVec2s(SbVec2f const &)\n" - " SbVec2s(SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - convert_SbVec2s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - { - SbVec2s &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2us const &""'"); - } - arg2 = reinterpret_cast< SbVec2us * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2us const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - arg2 = reinterpret_cast< SbVec2b * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2b const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2i32 const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2f const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2d const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2s *,short const [2])\n" - " setValue(SbVec2s *,short,short)\n" - " setValue(SbVec2s *,SbVec2us const &)\n" - " setValue(SbVec2s *,SbVec2b const &)\n" - " setValue(SbVec2s *,SbVec2i32 const &)\n" - " setValue(SbVec2s *,SbVec2f const &)\n" - " setValue(SbVec2s *,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_getValue" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ((SbVec2s const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_dot" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec2s const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_negate" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec2s *,int)\n" - " operator *=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec2s *,int)\n" - " operator /=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___iadd__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2s &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___isub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2s &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___neg__" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = ((SbVec2s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_output" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___add__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___add__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___sub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___sub__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___mul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___rmul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___div__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___eq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___eq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___nq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___nq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___getitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec2s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___setitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec2s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2s" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",0,0)) SWIG_fail; - result = (SbTime *)new SbTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - result = (SbTime *)new SbTime(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - long arg2 ; - int val1 ; - int ecode1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbTime" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - result = (SbTime *)new SbTime(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - timeval *arg1 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbTime" "', argument " "1"" of type '" "timeval const *const""'"); - } - arg1 = reinterpret_cast< timeval * >(argp1); - result = (SbTime *)new SbTime((timeval const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTime__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTime__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTime'.\n" - " Possible C/C++ prototypes are:\n" - " SbTime()\n" - " SbTime(double const)\n" - " SbTime(int32_t const,long const)\n" - " SbTime(timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getTimeOfDay",0,0)) SWIG_fail; - result = SbTime::getTimeOfDay(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setToTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setToTimeOfDay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setToTimeOfDay" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - (arg1)->setToTimeOfDay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_zero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_zero",0,0)) SWIG_fail; - result = SbTime::zero(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_max",0,0)) SWIG_fail; - result = SbTime::max(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_maxTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_maxTime",0,0)) SWIG_fail; - result = SbTime::maxTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_sleep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_sleep",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbTime_sleep" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SbTime::sleep(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - int32_t arg2 ; - long arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - long val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbTime_setValue" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "timeval const *const""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - (arg1)->setValue((timeval const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbTime *,double const)\n" - " setValue(SbTime *,int32_t const,long const)\n" - " setValue(SbTime *,timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setMsecValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setMsecValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setMsecValue" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - (arg1)->setMsecValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (double)((SbTime const *)arg1)->getValue(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - time_t *arg2 = 0 ; - long *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_time_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - arg2 = reinterpret_cast< time_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - arg3 = reinterpret_cast< long * >(argp3); - ((SbTime const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "timeval *""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - ((SbTime const *)arg1)->getValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_time_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbTime const *)\n" - " getValue(SbTime const *,time_t &,long &)\n" - " getValue(SbTime const *,timeval *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned long result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getMsecValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getMsecValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (unsigned long)((SbTime const *)arg1)->getMsecValue(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_format" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->format((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->format(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_format'.\n" - " Possible C/C++ prototypes are:\n" - " format(SbTime const *,char const *const)\n" - " format(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_formatDate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->formatDate((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->formatDate(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_formatDate'.\n" - " Possible C/C++ prototypes are:\n" - " formatDate(SbTime const *,char const *const)\n" - " formatDate(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_parsedate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_parsedate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_parsedate" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_parsedate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->parsedate((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___iadd__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator +=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___isub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator -=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___neg__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___imul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator *=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___idiv__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator /=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (double)((SbTime const *)arg1)->operator /((SbTime const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mod__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mod__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mod__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = ((SbTime const *)arg1)->operator %((SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___eq__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator ==((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ne__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator !=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___lt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___gt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___le__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ge__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_output" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbTime const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___add__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___add__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___sub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___sub__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___rmul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___div____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime___div____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbTime___div____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTime" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEvent",0,0)) SWIG_fail; - result = (SoEvent *)new SoEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEvent" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_isOfType" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoEvent const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTypeId" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setTime" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTime" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setPosition" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPosition((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - SbVec2s const &_result_ref = ((SoEvent const *)arg1)->getPosition(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEvent_getPosition'.\n" - " Possible C/C++ prototypes are:\n" - " getPosition(SoEvent const *)\n" - " getPosition(SoEvent const *,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getNormalizedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getNormalizedPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getNormalizedPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getNormalizedPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setShiftDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setShiftDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setShiftDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShiftDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasShiftDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setCtrlDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setCtrlDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setCtrlDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCtrlDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasCtrlDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasCtrlDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasCtrlDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setAltDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setAltDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setAltDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAltDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasAltDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasAltDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasAltDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_initClass",0,0)) SWIG_fail; - SoEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotRec" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SoNotRec *)new SoNotRec(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setType" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotRec_setType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getBase" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoBase *)((SoNotRec const *)arg1)->getBase(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getType" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec::Type)((SoNotRec const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getPrevious",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getPrevious" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec *)((SoNotRec const *)arg1)->getPrevious(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setPrevious",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setPrevious" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotRec_setPrevious" "', argument " "2"" of type '" "SoNotRec const *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->setPrevious((SoNotRec const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_output" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotRec const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotRec" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotRec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotRec, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",0,0)) SWIG_fail; - result = (SoNotList *)new SoNotList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotList" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotList *)new SoNotList((SoNotList const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNotList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNotList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNotList'.\n" - " Possible C/C++ prototypes are:\n" - " SoNotList()\n" - " SoNotList(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoField *arg3 = (SoField *) (SoField *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoField *const""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) (SoEngineOutput *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoEngineOutput *const""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_append'.\n" - " Possible C/C++ prototypes are:\n" - " append(SoNotList *,SoNotRec *const)\n" - " append(SoNotList *,SoNotRec *const,SoField *const)\n" - " append(SoNotList *,SoNotRec *const,SoEngineOutput *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_setLastType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_setLastType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_setLastType" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotList_setLastType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setLastType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getLastRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRecAtNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRecAtNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRecAtNode" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRecAtNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastField" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoField *)((SoNotList const *)arg1)->getLastField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastEngineOutput" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoEngineOutput *)((SoNotList const *)arg1)->getLastEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getTimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getTimeStamp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getTimeStamp" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = ((SoNotList const *)arg1)->getTimeStamp(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotList const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ((SoNotList const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_output'.\n" - " Possible C/C++ prototypes are:\n" - " print(SoNotList const *,FILE *const)\n" - " print(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotList" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoField" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClass",0,0)) SWIG_fail; - SoField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClasses",0,0)) SWIG_fail; - SoField::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_cleanupClass",0,0)) SWIG_fail; - SoField::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setIgnored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setIgnored" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setIgnored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setIgnored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isIgnored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isIgnored" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isIgnored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDefault" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDefault" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDefault(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isDefault",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isDefault" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getTypeId" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = ((SoField const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getClassTypeId",0,0)) SWIG_fail; - result = SoField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isOfType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoField const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableConnection" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectionEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectionEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectionEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectionEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromEngine(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedEngine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoEngineOutput, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - arg2 = reinterpret_cast< SoEngineOutput ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedEngine(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_connectFrom'.\n" - " Possible C/C++ prototypes are:\n" - " connectFrom(SoField *,SoEngineOutput *,SbBool,SbBool)\n" - " connectFrom(SoField *,SoEngineOutput *,SbBool)\n" - " connectFrom(SoField *,SoEngineOutput *)\n" - " connectFrom(SoField *,SoField *,SbBool,SbBool)\n" - " connectFrom(SoField *,SoField *,SbBool)\n" - " connectFrom(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_appendConnection'.\n" - " Possible C/C++ prototypes are:\n" - " appendConnection(SoField *,SoEngineOutput *,SbBool)\n" - " appendConnection(SoField *,SoEngineOutput *)\n" - " appendConnection(SoField *,SoField *,SbBool)\n" - " appendConnection(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromField(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoField, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - arg2 = reinterpret_cast< SoField ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedField(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getNumConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getForwardConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->disconnect(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_disconnect'.\n" - " Possible C/C++ prototypes are:\n" - " disconnect(SoField *,SoEngineOutput *)\n" - " disconnect(SoField *,SoField *)\n" - " disconnect(SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnected" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setContainer" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_setContainer" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getContainer" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SoFieldContainer *)((SoField const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_set" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_shouldWrite" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_touch" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_startNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_notify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isNotifyEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_addAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_addAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_removeAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_removeAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___eq__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator ==((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___ne__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator !=((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectionStatusChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectionStatusChanged",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectionStatusChanged" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_connectionStatusChanged" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->connectionStatusChanged(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isReadOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isReadOnly" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isReadOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isSame" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoField const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_fixCopy" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_referencesCopy" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyConnection" "', argument " "2"" of type '" "SoField const *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyConnection((SoField const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_read" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->read(arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_write" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ((SoField const *)arg1)->write(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_countWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_countWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_countWriteRefs" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_countWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ((SoField const *)arg1)->countWriteRefs(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setFieldType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setFieldType" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setFieldType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFieldType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getFieldType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getFieldType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getFieldType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getDirty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getDirty" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->getDirty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDirty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDirty" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDirty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDirty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_evaluate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_evaluate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_evaluate" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ((SoField const *)arg1)->evaluate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_get" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = SoField_get(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSField *arg1 = (SoSField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSField" "', argument " "1"" of type '" "SoSField *""'"); - } - arg1 = reinterpret_cast< SoSField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_initClass",0,0)) SWIG_fail; - SoSField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_getClassTypeId",0,0)) SWIG_fail; - result = SoSField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_atexit_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_atexit_cleanup",0,0)) SWIG_fail; - SoSField::atexit_cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoMField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMField" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getClassTypeId",0,0)) SWIG_fail; - result = SoMField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_atexit_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_atexit_cleanup",0,0)) SWIG_fail; - SoMField::atexit_cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_getNum" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)((SoMField const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_setNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_setNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_setNum" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_setNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNum(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMField_deleteValues'.\n" - " Possible C/C++ prototypes are:\n" - " deleteValues(SoMField *,int,int)\n" - " deleteValues(SoMField *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_insertSpace" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_set1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - char *arg3 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_set1",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_set1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_set1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMField_set1" "', argument " "3"" of type '" "char const *const""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set1(arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_initClass",0,0)) SWIG_fail; - SoMField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_enableDeleteValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_enableDeleteValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_enableDeleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - (arg1)->enableDeleteValues(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_isDeleteValuesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_isDeleteValuesEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_isDeleteValuesEnabled" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (SbBool)((SoMField const *)arg1)->isDeleteValuesEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField___len__" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)SoMField___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_get1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_get1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_get1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_get1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMField_get1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoAuditorList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAuditorList",0,0)) SWIG_fail; - result = (SoAuditorList *)new SoAuditorList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAuditorList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAuditorList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAuditorList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAuditorList" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_append" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_append" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_append" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *arg3 = (void *) (void *)0 ; - SoNotRec::Type arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_set" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAuditorList_set" "', argument " "3"" of type '" "void *const""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoAuditorList_set" "', argument " "4"" of type '" "SoNotRec::Type""'"); - } - arg4 = static_cast< SoNotRec::Type >(val4); - (arg1)->set(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getObject" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_getObject" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SoAuditorList const *)arg1)->getObject(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNotRec::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getType" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNotRec::Type)((SoAuditorList const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getLength" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - result = (int)((SoAuditorList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_find" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_find" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_find" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - result = (int)((SoAuditorList const *)arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_remove" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_remove",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_remove" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_remove" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_remove" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->remove(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAuditorList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAuditorList_remove__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAuditorList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAuditorList_remove__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAuditorList_remove'.\n" - " Possible C/C++ prototypes are:\n" - " remove(SoAuditorList *,int const)\n" - " remove(SoAuditorList *,void *const,SoNotRec::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_notify" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAuditorList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAuditorList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBase_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_initClass",0,0)) SWIG_fail; - SoBase::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_ref" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_unref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_unref" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_unrefNoDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_unrefNoDelete",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_unrefNoDelete" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->unrefNoDelete(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getRefCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getRefCount" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = ((SoBase const *)arg1)->getRefCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_touch" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getTypeId" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = ((SoBase const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_isOfType" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoBase const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getClassTypeId",0,0)) SWIG_fail; - result = SoBase::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getName" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = ((SoBase const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_setName" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setName((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addName" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addName" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoBase::addName(arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_removeName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_removeName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_removeName" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_removeName" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoBase::removeName(arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_startNotify" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_notify" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addAuditor" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addAuditor" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_removeAuditor" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_removeAuditor" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getAuditors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAuditorList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getAuditors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getAuditors" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - SoAuditorList const &_result_ref = ((SoBase const *)arg1)->getAuditors(); - result = (SoAuditorList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAuditorList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addWriteReference" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addWriteReference" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBase_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBase_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBase_addWriteReference'.\n" - " Possible C/C++ prototypes are:\n" - " addWriteReference(SoBase *,SoOutput *,SbBool)\n" - " addWriteReference(SoBase *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_shouldWrite" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SbBool)(arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_incrementCurrentWriteCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_incrementCurrentWriteCounter",0,0)) SWIG_fail; - SoBase::incrementCurrentWriteCounter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_decrementCurrentWriteCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_decrementCurrentWriteCounter",0,0)) SWIG_fail; - SoBase::decrementCurrentWriteCounter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getNamedBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoType arg2 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getNamedBase",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_getNamedBase" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBase" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoBase *)SoBase::getNamedBase((SbName const &)*arg1,arg2); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getNamedBases(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoBaseList *arg2 = 0 ; - SoType arg3 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getNamedBases",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoBaseList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_getNamedBases" "', argument " "2"" of type '" "SoBaseList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBases" "', argument " "2"" of type '" "SoBaseList &""'"); - } - arg2 = reinterpret_cast< SoBaseList * >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBase_getNamedBases" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBases" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (int)SoBase::getNamedBases((SbName const &)*arg1,*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoBase **arg2 = 0 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoBase, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - arg2 = reinterpret_cast< SoBase ** >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBase_read" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_read" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (SbBool)SoBase::read(arg1,*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setInstancePrefix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setInstancePrefix",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - SoBase::setInstancePrefix((SbString const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setTraceRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setTraceRefs",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoBase_setTraceRefs" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoBase::setTraceRefs(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getTraceRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getTraceRefs",0,0)) SWIG_fail; - result = (SbBool)SoBase::getTraceRefs(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_connectRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_connectRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_connectRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - result = (SbBool)SoBase::connectRoute(arg1,(SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_assertAlive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_assertAlive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_assertAlive" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->assertAlive(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_readRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_readRoute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_readRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)SoBase::readRoute(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBase" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - delete_SoBase(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBase, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_intrusive_ptr_add_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intrusive_ptr_add_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intrusive_ptr_add_ref" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - intrusive_ptr_add_ref(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intrusive_ptr_release(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intrusive_ptr_release",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intrusive_ptr_release" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - intrusive_ptr_release(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",0,0)) SWIG_fail; - result = (SoBaseList *)new SoBaseList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoBaseList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoBaseList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoBaseList *)new SoBaseList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBaseList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoBaseList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBaseList" "', argument " "1"" of type '" "SoBaseList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoBaseList" "', argument " "1"" of type '" "SoBaseList const &""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - result = (SoBaseList *)new SoBaseList((SoBaseList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoBaseList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoBaseList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoBaseList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoBaseList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoBaseList'.\n" - " Possible C/C++ prototypes are:\n" - " SoBaseList()\n" - " SoBaseList(int const)\n" - " SoBaseList(SoBaseList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBaseList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBaseList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBaseList" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_append" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_append" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_insert" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_insert" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_remove" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_removeItem" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_removeItem" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_truncate" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBaseList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_copy" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoBaseList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_copy" "', argument " "2"" of type '" "SoBaseList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBaseList_copy" "', argument " "2"" of type '" "SoBaseList const &""'"); - } - arg2 = reinterpret_cast< SoBaseList * >(argp2); - (arg1)->copy((SoBaseList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *arg3 = (SoBase *) (SoBase *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_set" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseList_set" "', argument " "3"" of type '" "SoBase *const""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_addReferences(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_addReferences",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_addReferences" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_addReferences" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->addReferences(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_isReferencing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_isReferencing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_isReferencing" "', argument " "1"" of type '" "SoBaseList const *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - result = (SbBool)((SoBaseList const *)arg1)->isReferencing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList___setitem__" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseList___setitem__" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - SoBaseList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList___getitem__" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoBase *)SoBaseList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_get" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoBase *)SoBaseList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBaseList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",0,0)) SWIG_fail; - result = (SoNodeList *)new SoNodeList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNodeList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoNodeList *)new SoNodeList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoNodeList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNodeList" "', argument " "1"" of type '" "SoNodeList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoNodeList" "', argument " "1"" of type '" "SoNodeList const &""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - result = (SoNodeList *)new SoNodeList((SoNodeList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNodeList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoNodeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNodeList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNodeList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNodeList'.\n" - " Possible C/C++ prototypes are:\n" - " SoNodeList()\n" - " SoNodeList(int const)\n" - " SoNodeList(SoNodeList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeList" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList_append" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeList_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList___setitem__" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeList___setitem__" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - SoNodeList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList___getitem__" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoNodeList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList_get" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoNodeList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",0,0)) SWIG_fail; - result = (SoDetailList *)new SoDetailList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoDetailList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoDetailList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoDetailList *)new SoDetailList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetailList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoDetailList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoDetailList" "', argument " "1"" of type '" "SoDetailList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoDetailList" "', argument " "1"" of type '" "SoDetailList const &""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - result = (SoDetailList *)new SoDetailList((SoDetailList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoDetailList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoDetailList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoDetailList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoDetailList'.\n" - " Possible C/C++ prototypes are:\n" - " SoDetailList()\n" - " SoDetailList(int const)\n" - " SoDetailList(SoDetailList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDetailList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDetailList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDetailList" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_append" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_append" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_insert" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_insert" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDetailList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_truncate" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDetailList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_truncate" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDetailList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDetailList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDetailList_truncate'.\n" - " Possible C/C++ prototypes are:\n" - " truncate(SoDetailList *,int const,int const)\n" - " truncate(SoDetailList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetailList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_copy" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoDetailList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_copy" "', argument " "2"" of type '" "SoDetailList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDetailList_copy" "', argument " "2"" of type '" "SoDetailList const &""'"); - } - arg2 = reinterpret_cast< SoDetailList * >(argp2); - (arg1)->copy((SoDetailList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *arg3 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_set" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDetailList_set" "', argument " "3"" of type '" "SoDetail *""'"); - } - arg3 = reinterpret_cast< SoDetail * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *arg3 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList___setitem__" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDetailList___setitem__" "', argument " "3"" of type '" "SoDetail *""'"); - } - arg3 = reinterpret_cast< SoDetail * >(argp3); - SoDetailList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList___getitem__" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoDetail *)SoDetailList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_get" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoDetail *)SoDetailList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDetailList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDetailList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",0,0)) SWIG_fail; - result = (SoTypeList *)new SoTypeList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTypeList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTypeList *)new SoTypeList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoTypeList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTypeList" "', argument " "1"" of type '" "SoTypeList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoTypeList" "', argument " "1"" of type '" "SoTypeList const &""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - result = (SoTypeList *)new SoTypeList((SoTypeList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoTypeList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoTypeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoTypeList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTypeList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTypeList'.\n" - " Possible C/C++ prototypes are:\n" - " SoTypeList()\n" - " SoTypeList(int const)\n" - " SoTypeList(SoTypeList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_append" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_append" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_append" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_find" "', argument " "1"" of type '" "SoTypeList const *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_find" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_find" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)((SoTypeList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_insert" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_insert" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_insert" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTypeList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_set" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTypeList_set" "', argument " "3"" of type '" "SoType const""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_set" "', argument " "3"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList___setitem__" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTypeList___setitem__" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList___setitem__" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoTypeList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList___getitem__" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoTypeList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_get" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoTypeList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTypeList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTypeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTypeList" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTypeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTypeList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEnabledElementsList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) (SoEnabledElementsList *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEnabledElementsList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEnabledElementsList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEnabledElementsList" "', argument " "1"" of type '" "SoEnabledElementsList *const""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - result = (SoEnabledElementsList *)new SoEnabledElementsList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEnabledElementsList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEnabledElementsList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEnabledElementsList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEnabledElementsList" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_getElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_getElements",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_getElements" "', argument " "1"" of type '" "SoEnabledElementsList const *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - { - SoTypeList const &_result_ref = ((SoEnabledElementsList const *)arg1)->getElements(); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - SoType arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_enable",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_enable" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnabledElementsList_enable" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnabledElementsList_enable" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnabledElementsList_enable" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->enable(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - SoEnabledElementsList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_merge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_merge" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEnabledElementsList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnabledElementsList_merge" "', argument " "2"" of type '" "SoEnabledElementsList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnabledElementsList_merge" "', argument " "2"" of type '" "SoEnabledElementsList const &""'"); - } - arg2 = reinterpret_cast< SoEnabledElementsList * >(argp2); - (arg1)->merge((SoEnabledElementsList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_getCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_getCounter",0,0)) SWIG_fail; - result = (int)SoEnabledElementsList::getCounter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnabledElementsList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnabledElementsList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",0,0)) SWIG_fail; - result = (SoEngineOutputList *)new SoEngineOutputList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineOutputList *)new SoEngineOutputList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoEngineOutputList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList const &""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - result = (SoEngineOutputList *)new SoEngineOutputList((SoEngineOutputList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineOutputList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoEngineOutputList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineOutputList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineOutputList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineOutputList'.\n" - " Possible C/C++ prototypes are:\n" - " SoEngineOutputList()\n" - " SoEngineOutputList(int const)\n" - " SoEngineOutputList(SoEngineOutputList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_append" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputList_append" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_insert" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputList_insert" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_set" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputList_set" "', argument " "3"" of type '" "SoEngineOutput *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList___setitem__" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputList___setitem__" "', argument " "3"" of type '" "SoEngineOutput *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - SoEngineOutputList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList___getitem__" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngineOutput *)SoEngineOutputList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_get" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngineOutput *)SoEngineOutputList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutputList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutputList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutputList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",0,0)) SWIG_fail; - result = (SoEngineList *)new SoEngineList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineList *)new SoEngineList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoEngineList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineList" "', argument " "1"" of type '" "SoEngineList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoEngineList" "', argument " "1"" of type '" "SoEngineList const &""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - result = (SoEngineList *)new SoEngineList((SoEngineList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoEngineList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineList'.\n" - " Possible C/C++ prototypes are:\n" - " SoEngineList()\n" - " SoEngineList(int const)\n" - " SoEngineList(SoEngineList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineList" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - SoEngine *arg2 = (SoEngine *) (SoEngine *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList_append" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineList_append" "', argument " "2"" of type '" "SoEngine *const""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList___setitem__" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineList___setitem__" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - SoEngineList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList___getitem__" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoEngineList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList_get" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoEngineList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",0,0)) SWIG_fail; - result = (SoFieldList *)new SoFieldList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoFieldList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoFieldList *)new SoFieldList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoFieldList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldList" "', argument " "1"" of type '" "SoFieldList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoFieldList" "', argument " "1"" of type '" "SoFieldList const &""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - result = (SoFieldList *)new SoFieldList((SoFieldList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoFieldList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoFieldList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoFieldList'.\n" - " Possible C/C++ prototypes are:\n" - " SoFieldList()\n" - " SoFieldList(int const)\n" - " SoFieldList(SoFieldList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_append" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldList_append" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - SoField *arg2 = (SoField *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_insert" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldList_insert" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *arg3 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_set" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldList_set" "', argument " "3"" of type '" "SoField *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_get" "', argument " "1"" of type '" "SoFieldList const *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)((SoFieldList const *)arg1)->get(arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *arg3 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList___setitem__" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldList___setitem__" "', argument " "3"" of type '" "SoField *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - SoFieldList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList___getitem__" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)SoFieldList___getitem__(arg1,arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_get" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)SoFieldList_get__SWIG_1(arg1,arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldList_get__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldList_get__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldList_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoFieldList const *,int const)\n" - " get(SoFieldList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldList" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",0,0)) SWIG_fail; - result = (SoPathList *)new SoPathList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPathList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPathList *)new SoPathList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPathList" "', argument " "1"" of type '" "SoPathList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPathList" "', argument " "1"" of type '" "SoPathList const &""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - result = (SoPathList *)new SoPathList((SoPathList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPathList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPathList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPathList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPathList'.\n" - " Possible C/C++ prototypes are:\n" - " SoPathList()\n" - " SoPathList(int const)\n" - " SoPathList(SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPathList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPathList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPathList" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_append" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathList_append" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_findPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - SoPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_findPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_findPath" "', argument " "1"" of type '" "SoPathList const *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathList_findPath" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPathList_findPath" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)((SoPathList const *)arg1)->findPath((SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_sort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_sort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_sort" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - (arg1)->sort(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_uniquify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_uniquify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_uniquify" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - (arg1)->uniquify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList___setitem__" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPathList___setitem__" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - SoPathList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList___getitem__" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoPathList___getitem__(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_get" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoPathList_get(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",0,0)) SWIG_fail; - result = (SoPickedPointList *)new SoPickedPointList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPickedPointList *)new SoPickedPointList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPickedPointList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList const &""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - result = (SoPickedPointList *)new SoPickedPointList((SoPickedPointList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPickedPointList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPointList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPickedPointList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPickedPointList'.\n" - " Possible C/C++ prototypes are:\n" - " SoPickedPointList()\n" - " SoPickedPointList(int const)\n" - " SoPickedPointList(SoPickedPointList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_append" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPointList_append" "', argument " "2"" of type '" "SoPickedPoint *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_insert" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPointList_insert" "', argument " "2"" of type '" "SoPickedPoint *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickedPointList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_truncate" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickedPointList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_truncate" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickedPointList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickedPointList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPointList_truncate'.\n" - " Possible C/C++ prototypes are:\n" - " truncate(SoPickedPointList *,int const,int const)\n" - " truncate(SoPickedPointList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *arg3 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_set" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPointList_set" "', argument " "3"" of type '" "SoPickedPoint *""'"); - } - arg3 = reinterpret_cast< SoPickedPoint * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *arg3 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList___setitem__" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPointList___setitem__" "', argument " "3"" of type '" "SoPickedPoint *""'"); - } - arg3 = reinterpret_cast< SoPickedPoint * >(argp3); - SoPickedPointList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList___getitem__" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)SoPickedPointList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_get" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)SoPickedPointList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickedPointList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickedPointList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_initClass",0,0)) SWIG_fail; - SoPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPath *)new SoPath(arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",0,0)) SWIG_fail; - result = (SoPath *)new SoPath(); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPath" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoPath *)new SoPath(arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPath" "', argument " "1"" of type '" "SoPath const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPath" "', argument " "1"" of type '" "SoPath const &""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoPath *)new SoPath((SoPath const &)*arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPath__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPath__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPath__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPath__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPath'.\n" - " Possible C/C++ prototypes are:\n" - " SoPath(int const)\n" - " SoPath()\n" - " SoPath(SoNode *const)\n" - " SoPath(SoPath const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getClassTypeId",0,0)) SWIG_fail; - result = SoPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getTypeId" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = ((SoPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_setHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_setHead",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_setHead" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_setHead" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setHead(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getHead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getHead" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoNode *)((SoPath const *)arg1)->getHead(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_append" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->append((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_append__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_append__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_append__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_append'.\n" - " Possible C/C++ prototypes are:\n" - " append(SoPath *,int const)\n" - " append(SoPath *,SoNode *const)\n" - " append(SoPath *,SoPath const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_push" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_push" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_pop" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoNode *)((SoPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getNodeFromTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getIndex" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoPath const *)arg1)->getIndex(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getIndexFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getIndexFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getIndexFromTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getIndexFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoPath const *)arg1)->getIndexFromTail(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getLength" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (int)((SoPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_truncate" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_findFork(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_findFork",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_findFork" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_findFork" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)((SoPath const *)arg1)->findFork((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_findNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_findNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_findNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_findNode" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoPath const *)arg1)->findNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_containsNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_containsNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_containsNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_containsNode" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoPath const *)arg1)->containsNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_containsPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_containsPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_containsPath" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_containsPath" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)((SoPath const *)arg1)->containsPath((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_copy" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_copy" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoPath *)((SoPath const *)arg1)->copy(arg2,arg3); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_copy" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)((SoPath const *)arg1)->copy(arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoPath *)((SoPath const *)arg1)->copy(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_copy__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_copy__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_copy__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_copy'.\n" - " Possible C/C++ prototypes are:\n" - " copy(SoPath const *,int const,int)\n" - " copy(SoPath const *,int const)\n" - " copy(SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = (SoPath *)SoPath::getByName(arg1); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - SoPathList *arg2 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_getByName" "', argument " "2"" of type '" "SoPathList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath_getByName" "', argument " "2"" of type '" "SoPathList &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - result = (int)SoPath::getByName(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoPath_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_getByName'.\n" - " Possible C/C++ prototypes are:\n" - " getByName(SbName const)\n" - " SoPath::getByName(SbName const,SoPathList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_insertIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_insertIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_insertIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_insertIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_insertIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertIndex(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_removeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_removeIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_removeIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_removeIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_removeIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->removeIndex(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_replaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoNode *arg4 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_replaceIndex",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_replaceIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_replaceIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_replaceIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPath_replaceIndex" "', argument " "4"" of type '" "SoNode *const""'"); - } - arg4 = reinterpret_cast< SoNode * >(argp4); - (arg1)->replaceIndex(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_isRelevantNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNotList *arg2 = (SoNotList *) (SoNotList *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_isRelevantNotification",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_isRelevantNotification" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_isRelevantNotification" "', argument " "2"" of type '" "SoNotList *const""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - result = (SbBool)((SoPath const *)arg1)->isRelevantNotification(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_write" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath___eq__" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath___eq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath___eq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)SoPath___eq__(arg1,(SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath___nq__" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath___nq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath___nq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)SoPath___nq__(arg1,(SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoLightPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoLightPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoLightPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoLightPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoLightPath *)new SoLightPath(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoLightPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLightPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLightPath *)new SoLightPath(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLightPath__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLightPath__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLightPath'.\n" - " Possible C/C++ prototypes are:\n" - " SoLightPath(SoNode *,int const)\n" - " SoLightPath(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLightPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLightPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLightPath" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_setHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_setHead",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_setHead" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightPath_setHead" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setHead(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_append" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_push" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_push" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_pop" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_setTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_setTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_setTail" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_setTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setTail(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getTail" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (SoNode *)((SoLightPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getHead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getHead" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (SoNode *)((SoLightPath const *)arg1)->getHead(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getNode" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoLightPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getIndex" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_getIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoLightPath const *)arg1)->getIndex(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getFullLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getFullLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getFullLength" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (int)((SoLightPath const *)arg1)->getFullLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_truncate" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_makeTempPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoTempPath *arg2 = (SoTempPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_makeTempPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_makeTempPath" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightPath_makeTempPath" "', argument " "2"" of type '" "SoTempPath *""'"); - } - arg2 = reinterpret_cast< SoTempPath * >(argp2); - ((SoLightPath const *)arg1)->makeTempPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFullPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_pop" "', argument " "1"" of type '" "SoFullPath *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - result = (SoNode *)((SoFullPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getNodeFromTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFullPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoFullPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getIndexFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getIndexFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getIndexFromTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFullPath_getIndexFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoFullPath const *)arg1)->getIndexFromTail(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getLength" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - result = (int)((SoFullPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFullPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFullPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTempPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoTempPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTempPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTempPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTempPath *)new SoTempPath(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTempPath, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTempPath_simpleAppend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTempPath *arg1 = (SoTempPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTempPath_simpleAppend",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTempPath_simpleAppend" "', argument " "1"" of type '" "SoTempPath *""'"); - } - arg1 = reinterpret_cast< SoTempPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTempPath_simpleAppend" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTempPath_simpleAppend" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->simpleAppend(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTempPath_replaceTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTempPath *arg1 = (SoTempPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTempPath_replaceTail",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTempPath_replaceTail" "', argument " "1"" of type '" "SoTempPath *""'"); - } - arg1 = reinterpret_cast< SoTempPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTempPath_replaceTail" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTempPath_replaceTail" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->replaceTail(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTempPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTempPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoActionMethodList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) (SoActionMethodList *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoActionMethodList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoActionMethodList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoActionMethodList" "', argument " "1"" of type '" "SoActionMethodList *const""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - result = (SoActionMethodList *)new SoActionMethodList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoActionMethodList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoActionMethodList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoActionMethodList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoActionMethodList" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - SoType arg2 ; - SoActionMethod arg3 = (SoActionMethod) (SoActionMethod)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_addMethod",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_addMethod" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoActionMethodList_addMethod" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoActionMethodList_addMethod" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoActionMethodList_addMethod" "', argument " "3"" of type '" "SoActionMethod const""'"); - } - } - (arg1)->addMethod(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_setUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_setUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_setUp" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - (arg1)->setUp(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - SoActionMethod *arg3 = (SoActionMethod *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList___setitem__" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoActionMethodList___setitem__" "', argument " "3"" of type '" "SoActionMethod *""'"); - } - arg3 = reinterpret_cast< SoActionMethod * >(argp3); - SoActionMethodList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoActionMethod *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList___getitem__" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoActionMethod &_result_ref = SoActionMethodList___getitem__(arg1,arg2); - result = (SoActionMethod *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoActionMethod result; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_get" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoActionMethod)SoActionMethodList_get(arg1,arg2); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoActionMethodList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoActionMethodList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_initClass",0,0)) SWIG_fail; - SoAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_initClasses",0,0)) SWIG_fail; - SoAction::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getClassTypeId",0,0)) SWIG_fail; - result = SoAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getTypeId" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = ((SoAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_isOfType" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoAction const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoAction *,SoNode *)\n" - " apply(SoAction *,SoPath *)\n" - " apply(SoAction *,SoPathList const &,SbBool)\n" - " apply(SoAction *,SoPathList const &)\n" - " apply(SoAction *,SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_invalidateState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_invalidateState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_invalidateState" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->invalidateState(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_nullAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_nullAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_nullAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_nullAction" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAction::nullAction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getWhatAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAction::AppliedCode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getWhatAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getWhatAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoAction::AppliedCode)((SoAction const *)arg1)->getWhatAppliedTo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getNodeAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getNodeAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getNodeAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoNode *)((SoAction const *)arg1)->getNodeAppliedTo(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPath *)((SoAction const *)arg1)->getPathAppliedTo(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPathList *)((SoAction const *)arg1)->getPathListAppliedTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getOriginalPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getOriginalPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getOriginalPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPathList *)((SoAction const *)arg1)->getOriginalPathListAppliedTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_isLastPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_isLastPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_isLastPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SbBool)((SoAction const *)arg1)->isLastPathListAppliedTo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int *arg2 = 0 ; - int **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoAction::PathCode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathCode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathCode" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_getPathCode" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_getPathCode" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_getPathCode" "', argument " "3"" of type '" "int const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_getPathCode" "', argument " "3"" of type '" "int const *&""'"); - } - arg3 = reinterpret_cast< int ** >(argp3); - result = (SoAction::PathCode)(arg1)->getPathCode(*arg2,(int const *&)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_traverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_traverse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_traverse" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_traverse" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->traverse(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_hasTerminated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_hasTerminated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_hasTerminated" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SbBool)((SoAction const *)arg1)->hasTerminated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPath *)(arg1)->getCurPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoState *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getState" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoState *)((SoAction const *)arg1)->getState(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoState, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAction::PathCode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPathCode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPathCode" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoAction::PathCode)((SoAction const *)arg1)->getCurPathCode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPathTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPathTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPathTail" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoNode *)(arg1)->getCurPathTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_usePathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int *arg2 = 0 ; - int **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_usePathCode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_usePathCode" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_usePathCode" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_usePathCode" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_usePathCode" "', argument " "3"" of type '" "int const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_usePathCode" "', argument " "3"" of type '" "int const *&""'"); - } - arg3 = reinterpret_cast< int ** >(argp3); - (arg1)->usePathCode(*arg2,(int const *&)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_pushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_pushCurPath" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->pushCurPath(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_pushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->pushCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction::PathCode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popCurPath" "', argument " "2"" of type '" "SoAction::PathCode""'"); - } - arg2 = static_cast< SoAction::PathCode >(val2); - (arg1)->popCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->pushCurPath(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_pushCurPath'.\n" - " Possible C/C++ prototypes are:\n" - " pushCurPath(SoAction *,int const,SoNode *)\n" - " pushCurPath(SoAction *,int const)\n" - " pushCurPath(SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popPushCurPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popPushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popPushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_popPushCurPath" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->popPushCurPath(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popPushCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popPushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popPushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->popPushCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_popPushCurPath__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_popPushCurPath__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_popPushCurPath'.\n" - " Possible C/C++ prototypes are:\n" - " popPushCurPath(SoAction *,int const,SoNode *)\n" - " popPushCurPath(SoAction *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->popCurPath(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_popCurPath__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_popCurPath__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_popCurPath'.\n" - " Possible C/C++ prototypes are:\n" - " popCurPath(SoAction *,SoAction::PathCode const)\n" - " popCurPath(SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_switchToPathTraversal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_switchToPathTraversal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_switchToPathTraversal" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_switchToPathTraversal" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->switchToPathTraversal(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_switchToNodeTraversal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_switchToNodeTraversal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_switchToNodeTraversal" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_switchToNodeTraversal" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->switchToNodeTraversal(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoTypeList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoState *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoState" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoState" "', argument " "2"" of type '" "SoTypeList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoState" "', argument " "2"" of type '" "SoTypeList const &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (SoState *)new SoState(arg1,(SoTypeList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoState, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoState" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getAction" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAction *)((SoState const *)arg1)->getAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getElement" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)(arg1)->getElement(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getConstElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getConstElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getConstElement" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getConstElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)((SoState const *)arg1)->getConstElement(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_push",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_push" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - (arg1)->push(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_pop" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_output" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoState const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_output" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ((SoState const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoState_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoState_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoState_output'.\n" - " Possible C/C++ prototypes are:\n" - " print(SoState const *,FILE *const)\n" - " print(SoState const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_isElementEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_isElementEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_isElementEnabled" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_isElementEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoState const *)arg1)->isElementEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getDepth" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)((SoState const *)arg1)->getDepth(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_setCacheOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_setCacheOpen",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_setCacheOpen" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_setCacheOpen" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCacheOpen(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_isCacheOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_isCacheOpen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_isCacheOpen" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)((SoState const *)arg1)->isCacheOpen(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getElementNoPush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getElementNoPush",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getElementNoPush" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getElementNoPush" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)((SoState const *)arg1)->getElementNoPush(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoState, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_initClass",0,0)) SWIG_fail; - SoElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getClassTypeId",0,0)) SWIG_fail; - result = SoElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getTypeId" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = ((SoElement const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getStackIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getStackIndex" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (int)((SoElement const *)arg1)->getStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_init" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_push" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_pop" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_matches" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_copyMatchInfo" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (SoElement *)((SoElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_initElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_initElements",0,0)) SWIG_fail; - SoElement::initElements(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getNumStackIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getNumStackIndices",0,0)) SWIG_fail; - result = (int)SoElement::getNumStackIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getIdFromStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getIdFromStackIndex",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoElement_getIdFromStackIndex" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = SoElement::getIdFromStackIndex(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_setDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_setDepth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_setDepth" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoElement_setDepth" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setDepth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getDepth" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (int)((SoElement const *)arg1)->getDepth(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_output" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_output" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - ((SoElement const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoElement_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoElement_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoElement_output'.\n" - " Possible C/C++ prototypes are:\n" - " print(SoElement const *,FILE *)\n" - " print(SoElement const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoElement",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoElement" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInt32Element_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_getClassTypeId",0,0)) SWIG_fail; - result = SoInt32Element::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoInt32Element::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_initClass",0,0)) SWIG_fail; - SoInt32Element::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_init" "', argument " "1"" of type '" "SoInt32Element *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_matches" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoInt32Element const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_copyMatchInfo" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - result = (SoElement *)((SoInt32Element const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_output" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoInt32Element const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - int32_t arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInt32Element_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInt32Element_set" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - SoInt32Element::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - int32_t arg3 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInt32Element_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoInt32Element::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInt32Element_set__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInt32Element_set__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInt32Element_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(int const,SoState *const,SoNode *const,int32_t const)\n" - " SoInt32Element::set(int const,SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_get",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_get" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_get" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = SoInt32Element::get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_setElt" "', argument " "1"" of type '" "SoInt32Element *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInt32Element_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInt32Element_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInt32Element, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDecimationTypeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDecimationTypeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecimationTypeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_initClass",0,0)) SWIG_fail; - SoDecimationTypeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationTypeElement *arg1 = (SoDecimationTypeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecimationTypeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_init" "', argument " "1"" of type '" "SoDecimationTypeElement *""'"); - } - arg1 = reinterpret_cast< SoDecimationTypeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationTypeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDecimationTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDecimationTypeElement_set" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - SoDecimationTypeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoDecimationTypeElement::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationTypeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDecimationTypeElement_set" "', argument " "3"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg3 = static_cast< SoDecimationTypeElement::Type >(val3); - SoDecimationTypeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationTypeElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationTypeElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDecimationTypeElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoDecimationTypeElement::Type const)\n" - " SoDecimationTypeElement::set(SoState *const,SoNode *const,SoDecimationTypeElement::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDecimationTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDecimationTypeElement::Type)SoDecimationTypeElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getDefault",0,0)) SWIG_fail; - result = (SoDecimationTypeElement::Type)SoDecimationTypeElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecimationTypeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecimationTypeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",0,0)) SWIG_fail; - result = (SoFieldData *)new SoFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoFieldData, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const &""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (SoFieldData *)new SoFieldData((SoFieldData const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (SoFieldData *)new SoFieldData((SoFieldData const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoFieldData *)new SoFieldData(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoFieldData__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldData__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldData__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoFieldData__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoFieldData'.\n" - " Possible C/C++ prototypes are:\n" - " SoFieldData()\n" - " SoFieldData(SoFieldData const &)\n" - " SoFieldData(SoFieldData const *)\n" - " SoFieldData(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldData" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_addField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - char *arg3 = (char *) 0 ; - SoField *arg4 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_addField",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_addField" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_addField" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_addField" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoFieldData_addField" "', argument " "4"" of type '" "SoField const *""'"); - } - arg4 = reinterpret_cast< SoField * >(argp4); - (arg1)->addField(arg2,(char const *)arg3,(SoField const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_overlay",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_overlay" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_overlay" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_overlay" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_overlay" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SoFieldData const *)arg1)->overlay(arg2,(SoFieldContainer const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getNumFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getNumFields",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getNumFields" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (int)((SoFieldData const *)arg1)->getNumFields(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getFieldName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getFieldName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getFieldName" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldData_getFieldName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoFieldData const *)arg1)->getFieldName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getField",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getField" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getField" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldData_getField" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoField *)((SoFieldData const *)arg1)->getField((SoFieldContainer const *)arg2,arg3); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoField *arg3 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getIndex" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getIndex" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_getIndex" "', argument " "3"" of type '" "SoField const *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - result = (int)((SoFieldData const *)arg1)->getIndex((SoFieldContainer const *)arg2,(SoField const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_addEnumValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_addEnumValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_addEnumValue" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_addEnumValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_addEnumValue" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_addEnumValue" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addEnumValue((char const *)arg2,(char const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getEnumData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - char *arg2 = (char *) 0 ; - int *arg3 = 0 ; - int **arg4 = 0 ; - SbName **arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getEnumData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getEnumData" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getEnumData" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_getEnumData" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoFieldData_getEnumData" "', argument " "4"" of type '" "int const *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "4"" of type '" "int const *&""'"); - } - arg4 = reinterpret_cast< int ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SbName, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_getEnumData" "', argument " "5"" of type '" "SbName const *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "5"" of type '" "SbName const *&""'"); - } - arg5 = reinterpret_cast< SbName ** >(argp5); - (arg1)->getEnumData((char const *)arg2,*arg3,(int const *&)*arg4,(SbName const *&)*arg5); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbBool arg4 ; - SbBool *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_read" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_read" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_read" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - result = (SbBool)((SoFieldData const *)arg1)->read(arg2,arg3,arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbName *arg4 = 0 ; - SbBool *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_read" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_read" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - result = (SbBool)((SoFieldData const *)arg1)->read(arg2,arg3,(SbName const &)*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldData_read__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldData_read__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldData_read'.\n" - " Possible C/C++ prototypes are:\n" - " read(SoFieldData const *,SoInput *,SoFieldContainer *,SbBool,SbBool &)\n" - " read(SoFieldData const *,SoInput *,SoFieldContainer *,SbName const &,SbBool &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_write" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_write" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ((SoFieldData const *)arg1)->write(arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldData *arg2 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_copy" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_copy" "', argument " "2"" of type '" "SoFieldData const *""'"); - } - arg2 = reinterpret_cast< SoFieldData * >(argp2); - (arg1)->copy((SoFieldData const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_isSame",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_isSame" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_isSame" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_isSame" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - result = (SbBool)((SoFieldData const *)arg1)->isSame((SoFieldContainer const *)arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_readFieldDescriptions",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - result = (SbBool)((SoFieldData const *)arg1)->readFieldDescriptions(arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_readFieldDescriptions",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (SbBool)((SoFieldData const *)arg1)->readFieldDescriptions(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldData_readFieldDescriptions__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldData_readFieldDescriptions__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldData_readFieldDescriptions'.\n" - " Possible C/C++ prototypes are:\n" - " readFieldDescriptions(SoFieldData const *,SoInput *,SoFieldContainer *,int,SbBool const)\n" - " readFieldDescriptions(SoFieldData const *,SoInput *,SoFieldContainer *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_writeFieldDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_writeFieldDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ((SoFieldData const *)arg1)->writeFieldDescriptions(arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldData, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFieldContainer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_initClass",0,0)) SWIG_fail; - SoFieldContainer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getClassTypeId",0,0)) SWIG_fail; - result = SoFieldContainer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_cleanupClass",0,0)) SWIG_fail; - SoFieldContainer::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_setToDefaults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_setToDefaults",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_setToDefaults" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - (arg1)->setToDefaults(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_hasDefaultValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_hasDefaultValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_hasDefaultValues" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->hasDefaultValues(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_fieldsAreEqual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_fieldsAreEqual",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_fieldsAreEqual" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_fieldsAreEqual" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - result = (SbBool)((SoFieldContainer const *)arg1)->fieldsAreEqual((SoFieldContainer const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyFieldValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyFieldValues((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyFieldValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->copyFieldValues((SoFieldContainer const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_copyFieldValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldContainer_copyFieldValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_copyFieldValues'.\n" - " Possible C/C++ prototypes are:\n" - " copyFieldValues(SoFieldContainer *,SoFieldContainer const *,SbBool)\n" - " copyFieldValues(SoFieldContainer *,SoFieldContainer const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_set" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_set" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_get" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->get(*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFields",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFields" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldContainer const *)arg1)->getFields(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getAllFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getAllFields",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getAllFields" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getAllFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getAllFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldContainer const *)arg1)->getAllFields(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getField" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getField((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getEventIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getEventIn",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getEventIn" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getEventIn((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getEventOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getEventOut",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getEventOut" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getEventOut((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) (SoField *)0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldName" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFieldName" "', argument " "2"" of type '" "SoField const *const""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoFieldContainer const *)arg1)->getFieldName((SoField const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_enableNotify" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldContainer_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_isNotifyEnabled" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - char *arg2 = (char *) 0 ; - SoInput *arg3 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_set" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_set" "', argument " "3"" of type '" "SoInput *""'"); - } - arg3 = reinterpret_cast< SoInput * >(argp3); - result = (SbBool)(arg1)->set((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoFieldContainer *,char const *const)\n" - " set(SoFieldContainer *,char const *,SoInput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbString *arg2 = 0 ; - SoOutput *arg3 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_get" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_get" "', argument " "3"" of type '" "SoOutput *""'"); - } - arg3 = reinterpret_cast< SoOutput * >(argp3); - (arg1)->get(*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoFieldContainer_get__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_get__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoFieldContainer *,SbString &)\n" - " get(SoFieldContainer *,SbString &,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_notify" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_validateNewFieldValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_validateNewFieldValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "3"" of type '" "void *""'"); - } - result = (SbBool)(arg1)->validateNewFieldValue(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addWriteReference" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addWriteReference" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldContainer_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_addWriteReference'.\n" - " Possible C/C++ prototypes are:\n" - " addWriteReference(SoFieldContainer *,SoOutput *,SbBool)\n" - " addWriteReference(SoFieldContainer *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_writeInstance" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getIsBuiltIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getIsBuiltIn",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getIsBuiltIn" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->getIsBuiltIn(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldData *)((SoFieldContainer const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyContents" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyThroughConnection" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldContainer *)((SoFieldContainer const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_initCopyDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_initCopyDict",0,0)) SWIG_fail; - SoFieldContainer::initCopyDict(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addCopy" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - SoFieldContainer::addCopy((SoFieldContainer const *)arg1,(SoFieldContainer const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_checkCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_checkCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_checkCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldContainer *)SoFieldContainer::checkCopy((SoFieldContainer const *)arg1); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_findCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_findCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_findCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldContainer_findCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoFieldContainer *)SoFieldContainer::findCopy((SoFieldContainer const *)arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyDone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyDone",0,0)) SWIG_fail; - SoFieldContainer::copyDone(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldsMemorySize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - size_t *arg2 = 0 ; - size_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldsMemorySize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldsMemorySize" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_size_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFieldsMemorySize" "', argument " "2"" of type '" "size_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getFieldsMemorySize" "', argument " "2"" of type '" "size_t &""'"); - } - arg2 = reinterpret_cast< size_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_getFieldsMemorySize" "', argument " "3"" of type '" "size_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getFieldsMemorySize" "', argument " "3"" of type '" "size_t &""'"); - } - arg3 = reinterpret_cast< size_t * >(argp3); - ((SoFieldContainer const *)arg1)->getFieldsMemorySize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_setUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_setUserData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_setUserData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_setUserData" "', argument " "2"" of type '" "void *""'"); - } - ((SoFieldContainer const *)arg1)->setUserData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getUserData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getUserData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (void *)((SoFieldContainer const *)arg1)->getUserData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldName" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFieldName" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (PyObject *)SoFieldContainer_getFieldName__SWIG_1(arg1,arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_getFieldName__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoFieldContainer_getFieldName__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_getFieldName'.\n" - " Possible C/C++ prototypes are:\n" - " getFieldName(SoFieldContainer const *,SoField const *const,SbName &)\n" - " getFieldName(SoFieldContainer *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoFieldContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldContainer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNode_setOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_setOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_setOverride" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_setOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOverride(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_isOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_isOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_isOverride" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SbBool)((SoNode const *)arg1)->isOverride(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getCompatibilityTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getCompatibilityTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getCompatibilityTypes" "', argument " "1"" of type '" "SoType const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getCompatibilityTypes" "', argument " "1"" of type '" "SoType const &""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = SoNode::getCompatibilityTypes((SoType const &)*arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_setNodeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNode::NodeType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_setNodeType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_setNodeType" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_setNodeType" "', argument " "2"" of type '" "SoNode::NodeType""'"); - } - arg2 = static_cast< SoNode::NodeType >(val2); - (arg1)->setNodeType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNodeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode::NodeType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNodeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getNodeType" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode::NodeType)((SoNode const *)arg1)->getNodeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copy" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_copy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoNode *)((SoNode const *)arg1)->copy(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copy" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode *)((SoNode const *)arg1)->copy(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNode_copy__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNode_copy__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNode_copy'.\n" - " Possible C/C++ prototypes are:\n" - " copy(SoNode const *,SbBool)\n" - " copy(SoNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_affectsState" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SbBool)((SoNode const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_doAction" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRender" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderBelowPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderInPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderOffPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_callback" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getBoundingBox" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getMatrix" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_handleEvent" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_pick" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_rayPick" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_search" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_write" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_audioRender" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getPrimitiveCount" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_grabEventsSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_grabEventsSetup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_grabEventsSetup" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->grabEventsSetup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_grabEventsCleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_grabEventsCleanup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_grabEventsCleanup" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->grabEventsCleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_startNotify" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_notify" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getNodeId" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = ((SoNode const *)arg1)->getNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getChildren" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoChildList *)((SoNode const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_writeInstance" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_addToCopyDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_addToCopyDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_addToCopyDict" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode *)((SoNode const *)arg1)->addToCopyDict(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copyContents" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNode_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copyThroughConnection" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoFieldContainer *)((SoNode const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getClassTypeId",0,0)) SWIG_fail; - result = SoNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoNode *)SoNode::getByName((SbName const &)*arg1); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoNodeList *arg2 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getByName" "', argument " "2"" of type '" "SoNodeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getByName" "', argument " "2"" of type '" "SoNodeList &""'"); - } - arg2 = reinterpret_cast< SoNodeList * >(argp2); - result = (int)SoNode::getByName((SbName const &)*arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNode_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNode_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNode_getByName'.\n" - " Possible C/C++ prototypes are:\n" - " getByName(SbName const &)\n" - " SoNode::getByName(SbName const &,SoNodeList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_initClass",0,0)) SWIG_fail; - SoNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_initClasses",0,0)) SWIG_fail; - SoNode::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNextNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNextNodeId",0,0)) SWIG_fail; - result = SoNode::getNextNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getActionMethodIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getActionMethodIndex",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getActionMethodIndex" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getActionMethodIndex" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (int)SoNode::getActionMethodIndex(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getBoundingBoxS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getBoundingBoxS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getBoundingBoxS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getBoundingBoxS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getBoundingBoxS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::GLRenderS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_callbackS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_callbackS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_callbackS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_callbackS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::callbackS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getMatrixS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getMatrixS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getMatrixS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getMatrixS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getMatrixS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_handleEventS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_handleEventS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_handleEventS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_handleEventS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::handleEventS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_pickS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_pickS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_pickS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_pickS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::pickS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_rayPickS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_rayPickS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_rayPickS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_rayPickS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::rayPickS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_searchS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_searchS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_searchS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_searchS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::searchS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_writeS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_writeS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_writeS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_writeS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::writeS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_audioRenderS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_audioRenderS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_audioRenderS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_audioRenderS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::audioRenderS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getPrimitiveCountS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getPrimitiveCountS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getPrimitiveCountS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getPrimitiveCountS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getPrimitiveCountS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSensorManager",0,0)) SWIG_fail; - result = (SoSensorManager *)new SoSensorManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensorManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSensorManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSensorManager" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_insertDelaySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoDelayQueueSensor *arg2 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_insertDelaySensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_insertDelaySensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_insertDelaySensor" "', argument " "2"" of type '" "SoDelayQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoDelayQueueSensor * >(argp2); - (arg1)->insertDelaySensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_insertTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_insertTimerSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_insertTimerSensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_insertTimerSensor" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->insertTimerSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeDelaySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoDelayQueueSensor *arg2 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeDelaySensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeDelaySensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeDelaySensor" "', argument " "2"" of type '" "SoDelayQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoDelayQueueSensor * >(argp2); - (arg1)->removeDelaySensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeTimerSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeTimerSensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeTimerSensor" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->removeTimerSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void (*arg2)(void *) = (void (*)(void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setChangedCallback" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSensorManager_setChangedCallback" "', argument " "2"" of type '" "void (*)(void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSensorManager_setChangedCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_rescheduleTimer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerSensor *arg2 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_rescheduleTimer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_rescheduleTimer" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_rescheduleTimer" "', argument " "2"" of type '" "SoTimerSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerSensor * >(argp2); - (arg1)->rescheduleTimer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeRescheduledTimer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeRescheduledTimer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeRescheduledTimer" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeRescheduledTimer" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->removeRescheduledTimer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processDelayQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processDelayQueue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processDelayQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSensorManager_processDelayQueue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->processDelayQueue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processImmediateQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processImmediateQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processImmediateQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - (arg1)->processImmediateQueue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processTimerQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processTimerQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processTimerQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - (arg1)->processTimerQueue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isDelaySensorPending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isDelaySensorPending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isDelaySensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - result = (SbBool)(arg1)->isDelaySensorPending(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isTimerSensorPending",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isTimerSensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->isTimerSensorPending(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setDelaySensorTimeout",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setDelaySensorTimeout" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setDelaySensorTimeout((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_getDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_getDelaySensorTimeout",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_getDelaySensorTimeout" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - SbTime const &_result_ref = (arg1)->getDelaySensorTimeout(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_doSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - void *arg5 = (void *) 0 ; - timeval *arg6 = (timeval *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - int res4 ; - int res5 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_doSelect",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_doSelect" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSensorManager_doSelect" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSensorManager_doSelect" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSensorManager_doSelect" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSensorManager_doSelect" "', argument " "5"" of type '" "void *""'"); - } - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoSensorManager_doSelect" "', argument " "6"" of type '" "timeval *""'"); - } - arg6 = reinterpret_cast< timeval * >(argp6); - result = (int)(arg1)->doSelect(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setChangedCallback" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSensorManager_setChangedCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSensorManager_setChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSensorManager_setChangedCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSensorManager_setChangedCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setChangedCallback(SoSensorManager *,void (*)(void *),void *)\n" - " setChangedCallback(SoSensorManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isTimerSensorPending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isTimerSensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - result = (PyObject *)SoSensorManager_isTimerSensorPending__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSensorManager_isTimerSensorPending__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSensorManager_isTimerSensorPending__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSensorManager_isTimerSensorPending'.\n" - " Possible C/C++ prototypes are:\n" - " isTimerSensorPending(SoSensorManager *,SbTime &)\n" - " isTimerSensorPending(SoSensorManager *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSensorManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSensorManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDB_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_init",0,0)) SWIG_fail; - SoDB::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_finish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_finish",0,0)) SWIG_fail; - SoDB::finish(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_cleanup",0,0)) SWIG_fail; - SoDB::cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getVersion",0,0)) SWIG_fail; - result = (char *)SoDB::getVersion(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoPath **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoPath *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoPath *&""'"); - } - arg2 = reinterpret_cast< SoPath ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoBase **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoBase, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - arg2 = reinterpret_cast< SoBase ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoNode **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoNode, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoNode *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoNode *&""'"); - } - arg2 = reinterpret_cast< SoNode ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_read'.\n" - " Possible C/C++ prototypes are:\n" - " read(SoInput *,SoPath *&)\n" - " read(SoInput *,SoBase *&)\n" - " SoDB::read(SoInput *,SoNode *&)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_readAll" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoSeparator *)SoDB::readAll(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readAllVRML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readAllVRML",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_readAllVRML" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoVRMLGroup *)SoDB::readAllVRML(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isValidHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isValidHeader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_isValidHeader" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbBool)SoDB::isValidHeader((char const *)arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool arg2 ; - float arg3 ; - SoDBHeaderCB *arg4 = (SoDBHeaderCB *) 0 ; - SoDBHeaderCB *arg5 = (SoDBHeaderCB *) 0 ; - void *arg6 = (void *) 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int res6 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_registerHeader",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDB_registerHeader" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDB_registerHeader" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "4"" of type '" "SoDBHeaderCB *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "5"" of type '" "SoDBHeaderCB *""'"); - } - } - res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_registerHeader" "', argument " "6"" of type '" "void *""'"); - } - result = (SbBool)SoDB::registerHeader((SbString const &)*arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool arg2 ; - float arg3 ; - SoDBHeaderCB *arg4 = (SoDBHeaderCB *) 0 ; - SoDBHeaderCB *arg5 = (SoDBHeaderCB *) 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_registerHeader",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDB_registerHeader" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDB_registerHeader" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "4"" of type '" "SoDBHeaderCB *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "5"" of type '" "SoDBHeaderCB *""'"); - } - } - result = (SbBool)SoDB::registerHeader((SbString const &)*arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_registerHeader__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[5], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_registerHeader__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_registerHeader'.\n" - " Possible C/C++ prototypes are:\n" - " registerHeader(SbString const &,SbBool,float,SoDBHeaderCB *,SoDBHeaderCB *,void *)\n" - " SoDB::registerHeader(SbString const &,SbBool,float,SoDBHeaderCB *,SoDBHeaderCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool *arg2 = 0 ; - float *arg3 = 0 ; - SoDBHeaderCB **arg4 = 0 ; - SoDBHeaderCB **arg5 = 0 ; - void **arg6 = 0 ; - SbBool arg7 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - arg4 = reinterpret_cast< SoDBHeaderCB ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - arg5 = reinterpret_cast< SoDBHeaderCB ** >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - arg6 = reinterpret_cast< void ** >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoDB_getHeaderData" "', argument " "7"" of type '" "SbBool""'"); - } - arg7 = static_cast< SbBool >(val7); - result = (SbBool)SoDB::getHeaderData((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5,*arg6,arg7); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool *arg2 = 0 ; - float *arg3 = 0 ; - SoDBHeaderCB **arg4 = 0 ; - SoDBHeaderCB **arg5 = 0 ; - void **arg6 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - arg4 = reinterpret_cast< SoDBHeaderCB ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - arg5 = reinterpret_cast< SoDBHeaderCB ** >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - arg6 = reinterpret_cast< void ** >(argp6); - result = (SbBool)SoDB::getHeaderData((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 6) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_getHeaderData__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDB_getHeaderData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_getHeaderData'.\n" - " Possible C/C++ prototypes are:\n" - " getHeaderData(SbString const &,SbBool &,float &,SoDBHeaderCB *&,SoDBHeaderCB *&,void *&,SbBool)\n" - " SoDB::getHeaderData(SbString const &,SbBool &,float &,SoDBHeaderCB *&,SoDBHeaderCB *&,void *&)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getNumHeaders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getNumHeaders",0,0)) SWIG_fail; - result = (int)SoDB::getNumHeaders(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_getHeaderString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = SoDB::getHeaderString(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_createGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoType arg2 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_createGlobalField",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_createGlobalField" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_createGlobalField" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoField *)SoDB::createGlobalField((SbName const &)*arg1,arg2); - { - resultobj = autocast_field(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getGlobalField",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoField *)SoDB::getGlobalField((SbName const &)*arg1); - { - resultobj = autocast_field(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_renameGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SbName *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_renameGlobalField",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - SoDB::renameGlobalField((SbName const &)*arg1,(SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_setRealTimeInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_setRealTimeInterval",1,1,&obj0)) SWIG_fail; - { - if (PyFloat_Check(obj0)) { - arg1 = new SbTime(PyFloat_AsDouble(obj0)); - } else { - SbTime * tmp = NULL; - arg1 = new SbTime; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg1 = *tmp; - } - } - SoDB::setRealTimeInterval((SbTime const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getRealTimeInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getRealTimeInterval",0,0)) SWIG_fail; - { - SbTime const &_result_ref = SoDB::getRealTimeInterval(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_enableRealTimeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_enableRealTimeSensor",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_enableRealTimeSensor" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoDB::enableRealTimeSensor(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getSensorManager",0,0)) SWIG_fail; - result = (SoSensorManager *)SoDB::getSensorManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensorManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_setDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_setDelaySensorTimeout",1,1,&obj0)) SWIG_fail; - { - if (PyFloat_Check(obj0)) { - arg1 = new SbTime(PyFloat_AsDouble(obj0)); - } else { - SbTime * tmp = NULL; - arg1 = new SbTime; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg1 = *tmp; - } - } - SoDB::setDelaySensorTimeout((SbTime const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getDelaySensorTimeout",0,0)) SWIG_fail; - { - SbTime const &_result_ref = SoDB::getDelaySensorTimeout(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_doSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - timeval *arg5 = (timeval *) 0 ; - int val1 ; - int ecode1 = 0 ; - int res2 ; - int res3 ; - int res4 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_doSelect",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_doSelect" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_doSelect" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_doSelect" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_doSelect" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_doSelect" "', argument " "5"" of type '" "timeval *""'"); - } - arg5 = reinterpret_cast< timeval * >(argp5); - result = (int)SoDB::doSelect(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_addConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoType arg2 ; - SoType arg3 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_addConverter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_addConverter" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_addConverter" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_addConverter" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoDB::addConverter(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoType arg2 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getConverter",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_getConverter" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getConverter" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getConverter" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getConverter" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = SoDB::getConverter(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isInitialized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isInitialized",0,0)) SWIG_fail; - result = (SbBool)SoDB::isInitialized(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_startNotify",0,0)) SWIG_fail; - SoDB::startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isNotifying",0,0)) SWIG_fail; - result = (SbBool)SoDB::isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_endNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_endNotify",0,0)) SWIG_fail; - SoDB::endNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_addProgressCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB::ProgressCallbackType *arg1 = (SoDB::ProgressCallbackType *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_addProgressCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_addProgressCallback" "', argument " "1"" of type '" "SoDB::ProgressCallbackType *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_addProgressCallback" "', argument " "2"" of type '" "void *""'"); - } - SoDB::addProgressCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_removeProgressCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB::ProgressCallbackType *arg1 = (SoDB::ProgressCallbackType *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_removeProgressCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_removeProgressCallback" "', argument " "1"" of type '" "SoDB::ProgressCallbackType *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_removeProgressCallback" "', argument " "2"" of type '" "void *""'"); - } - SoDB::removeProgressCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isMultiThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isMultiThread",0,0)) SWIG_fail; - result = (SbBool)SoDB::isMultiThread(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readlock",0,0)) SWIG_fail; - SoDB::readlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readunlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readunlock",0,0)) SWIG_fail; - SoDB::readunlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_writelock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_writelock",0,0)) SWIG_fail; - SoDB::writelock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_writeunlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_writeunlock",0,0)) SWIG_fail; - SoDB::writeunlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_createRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - char *arg2 = (char *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - char *arg4 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_createRoute",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_createRoute" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_createRoute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_createRoute" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_createRoute" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoDB::createRoute(arg1,(char const *)arg2,arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_removeRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - char *arg2 = (char *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - char *arg4 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_removeRoute",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_removeRoute" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_removeRoute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_removeRoute" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_removeRoute" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoDB::removeRoute(arg1,(char const *)arg2,arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDB",0,0)) SWIG_fail; - result = (SoDB *)new SoDB(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDB, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB *arg1 = (SoDB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDB",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDB, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDB" "', argument " "1"" of type '" "SoDB *""'"); - } - arg1 = reinterpret_cast< SoDB * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDB_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDB, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoInput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInput",0,0)) SWIG_fail; - result = (SoInput *)new SoInput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoInput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoInput" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoInput *)new SoInput(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoInput__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoInput__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoInput'.\n" - " Possible C/C++ prototypes are:\n" - " SoInput()\n" - " SoInput(SoInput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_findProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_findProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_findProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoProto *)(arg1)->findProto((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->addProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_pushProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_pushProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_pushProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_pushProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->pushProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurrentProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurrentProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurrentProto" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoProto *)((SoInput const *)arg1)->getCurrentProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_popProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_popProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_popProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - (arg1)->popProto(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute((SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_checkISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - SbBool *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_checkISReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_checkISReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_checkISReference" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoInput_checkISReference" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_checkISReference" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - result = (SbBool)(arg1)->checkISReference(arg2,(SbName const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoInput" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setFilePointer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->setFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_openFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_openFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_openFile" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->openFile((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_openFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_openFile__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_openFile__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_openFile'.\n" - " Possible C/C++ prototypes are:\n" - " openFile(SoInput *,char const *,SbBool)\n" - " openFile(SoInput *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_pushFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_pushFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_pushFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_pushFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->pushFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_closeFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isValidFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isValidFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isValidFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isValidFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isValidBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isValidBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isValidBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isValidBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - FILE *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurFile" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (FILE *)((SoInput const *)arg1)->getCurFile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurFileName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurFileName" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (char *)((SoInput const *)arg1)->getCurFileName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (!PyString_Check(obj1)) { - PyErr_SetString(PyExc_ValueError, "Expecting a string"); - return NULL; - } - arg2 = (void *) PyString_AsString(obj1); - arg3 = PyString_Size(obj1); - } - (arg1)->setBuffer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setStringArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char **arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setStringArray",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setStringArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_setStringArray" "', argument " "2"" of type '" "char const *[]""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - (arg1)->setStringArray((char const *(*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getNumBytesRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getNumBytesRead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getNumBytesRead" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = ((SoInput const *)arg1)->getNumBytesRead(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getHeader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getHeader" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (arg1)->getHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getIVVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getIVVersion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getIVVersion" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (float)(arg1)->getIVVersion(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isBinary",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isBinary" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isBinary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_get" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_get" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_get" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->get(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getASCIIBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getASCIIBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getASCIIBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_getASCIIBuffer" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_getASCIIBuffer" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->getASCIIBuffer(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getASCIIFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getASCIIFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getASCIIFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_getASCIIFile" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_getASCIIFile" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->getASCIIFile(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readHex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - uint32_t *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readHex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readHex" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readHex" "', argument " "2"" of type '" "uint32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_readHex" "', argument " "2"" of type '" "uint32_t &""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - result = (SbBool)(arg1)->readHex(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_read" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->read(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_read" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->read(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned int &""'"); - } - arg2 = reinterpret_cast< unsigned int * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - short *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned short *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned short &""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - float *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - double *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_7(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_8(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_9(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_10(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_read__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_read__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_read__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_read__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_read'.\n" - " Possible C/C++ prototypes are:\n" - " read(SoInput *,char &)\n" - " read(SoInput *,char &,SbBool)\n" - " read(SoInput *,SbString &)\n" - " read(SoInput *,SbName &,SbBool)\n" - " read(SoInput *,SbName &)\n" - " read(SoInput *,int &)\n" - " read(SoInput *,unsigned int &)\n" - " read(SoInput *,short &)\n" - " read(SoInput *,unsigned short &)\n" - " read(SoInput *,float &)\n" - " read(SoInput *,double &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readByte__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - int8_t *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readByte",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readByte" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readByte" "', argument " "2"" of type '" "int8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_readByte" "', argument " "2"" of type '" "int8_t &""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - result = (SbBool)(arg1)->readByte(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readByte__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - uint8_t *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readByte",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readByte" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readByte" "', argument " "2"" of type '" "uint8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_readByte" "', argument " "2"" of type '" "uint8_t &""'"); - } - arg2 = reinterpret_cast< uint8_t * >(argp2); - result = (SbBool)(arg1)->readByte(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readByte(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_readByte__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_readByte__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_readByte'.\n" - " Possible C/C++ prototypes are:\n" - " readByte(SoInput *,int8_t &)\n" - " readByte(SoInput *,uint8_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "unsigned char *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "int32_t *""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - float *arg2 = (float *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "float *""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - double *arg2 = (double *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "double *""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_readBinaryArray'.\n" - " Possible C/C++ prototypes are:\n" - " readBinaryArray(SoInput *,unsigned char *,int)\n" - " readBinaryArray(SoInput *,int32_t *,int)\n" - " readBinaryArray(SoInput *,float *,int)\n" - " readBinaryArray(SoInput *,double *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_eof(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_eof",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_eof" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)((SoInput const *)arg1)->eof(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isFileVRML1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isFileVRML1",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isFileVRML1" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isFileVRML1(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isFileVRML2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isFileVRML2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isFileVRML2" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isFileVRML2(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_resetFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_resetFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_resetFilePointer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->resetFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getLocationString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getLocationString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getLocationString" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - ((SoInput const *)arg1)->getLocationString(*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_putBack",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_putBack" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInput_putBack" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->putBack(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_putBack",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_putBack" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_putBack" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->putBack((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_putBack__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_putBack__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_putBack'.\n" - " Possible C/C++ prototypes are:\n" - " putBack(SoInput *,char const)\n" - " putBack(SoInput *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInput_addReference" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->addReference((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->addReference((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addReference__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_addReference__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addReference'.\n" - " Possible C/C++ prototypes are:\n" - " addReference(SoInput *,SbName const &,SoBase *,SbBool)\n" - " addReference(SoInput *,SbName const &,SoBase *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_removeReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_removeReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_removeReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->removeReference((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_findReference" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoBase *)((SoInput const *)arg1)->findReference((SbName const &)*arg2); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addDirectoryFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addDirectoryFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addDirectoryFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addDirectoryFirst((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addDirectoryLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addDirectoryLast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addDirectoryLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addDirectoryLast((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesFirst",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoInput::addEnvDirectoriesFirst((char const *)arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addEnvDirectoriesFirst((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesFirst__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesFirst__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addEnvDirectoriesFirst'.\n" - " Possible C/C++ prototypes are:\n" - " addEnvDirectoriesFirst(char const *,char const *)\n" - " SoInput::addEnvDirectoriesFirst(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesLast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoInput::addEnvDirectoriesLast((char const *)arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesLast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addEnvDirectoriesLast((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesLast__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesLast__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addEnvDirectoriesLast'.\n" - " Possible C/C++ prototypes are:\n" - " addEnvDirectoriesLast(char const *,char const *)\n" - " SoInput::addEnvDirectoriesLast(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_removeDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_removeDirectory",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_removeDirectory" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::removeDirectory((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_clearDirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_clearDirectories",0,0)) SWIG_fail; - SoInput::clearDirectories(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getDirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getDirectories",0,0)) SWIG_fail; - { - SbStringList const &_result_ref = SoInput::getDirectories(); - result = (SbStringList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_init",0,0)) SWIG_fail; - SoInput::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getPathname",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getPathname" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SoInput::getPathname((char const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getPathname",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = SoInput::getPathname((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_getPathname__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_getPathname__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_getPathname'.\n" - " Possible C/C++ prototypes are:\n" - " getPathname(char const *const)\n" - " SoInput::getPathname(SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getBasename",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getBasename" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SoInput::getBasename((char const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getBasename",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = SoInput::getBasename((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_getBasename__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_getBasename__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_getBasename'.\n" - " Possible C/C++ prototypes are:\n" - " getBasename(char const *const)\n" - " SoInput::getBasename(SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_searchForFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbStringList *arg2 = 0 ; - SbStringList *arg3 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_searchForFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_searchForFile" "', argument " "2"" of type '" "SbStringList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_searchForFile" "', argument " "2"" of type '" "SbStringList const &""'"); - } - arg2 = reinterpret_cast< SbStringList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_searchForFile" "', argument " "3"" of type '" "SbStringList const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_searchForFile" "', argument " "3"" of type '" "SbStringList const &""'"); - } - arg3 = reinterpret_cast< SbStringList * >(argp3); - result = SoInput::searchForFile((SbString const &)*arg1,(SbStringList const &)*arg2,(SbStringList const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoInput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOutput",0,0)) SWIG_fail; - result = (SoOutput *)new SoOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOutput" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoOutput *)new SoOutput(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoOutput__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOutput__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoOutput'.\n" - " Possible C/C++ prototypes are:\n" - " SoOutput()\n" - " SoOutput(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOutput" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setFilePointer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->setFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - FILE *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getFilePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getFilePointer" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (FILE *)((SoOutput const *)arg1)->getFilePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_openFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_openFile" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_openFile" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_closeFile" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompression",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompression" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setCompression" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)(arg1)->setCompression((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompression",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompression" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->setCompression((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_setCompression__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_setCompression__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_setCompression'.\n" - " Possible C/C++ prototypes are:\n" - " setCompression(SoOutput *,SbName const &,float const)\n" - " setCompression(SoOutput *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getAvailableCompressionMethods(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getAvailableCompressionMethods",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getAvailableCompressionMethods" "', argument " "1"" of type '" "unsigned int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getAvailableCompressionMethods" "', argument " "1"" of type '" "unsigned int &""'"); - } - arg1 = reinterpret_cast< unsigned int * >(argp1); - result = (SbName *)SoOutput::getAvailableCompressionMethods(*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - SoOutputReallocCB *arg4 = (SoOutputReallocCB *) 0 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBuffer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setBuffer" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setBuffer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_size_t__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoOutput_setBuffer" "', argument " "4"" of type '" "SoOutputReallocCB *""'"); - } - } - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoOutput_setBuffer" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->setBuffer(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - SoOutputReallocCB *arg4 = (SoOutputReallocCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBuffer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setBuffer" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setBuffer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_size_t__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoOutput_setBuffer" "', argument " "4"" of type '" "SoOutputReallocCB *""'"); - } - } - (arg1)->setBuffer(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_size_t(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_size_t__p_void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_setBuffer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_size_t(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_size_t__p_void); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_setBuffer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_setBuffer'.\n" - " Possible C/C++ prototypes are:\n" - " setBuffer(SoOutput *,void *,size_t,SoOutputReallocCB *,int32_t)\n" - " setBuffer(SoOutput *,void *,size_t,SoOutputReallocCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void **arg2 = 0 ; - size_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getBuffer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getBuffer" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_getBuffer" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getBuffer" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOutput_getBuffer" "', argument " "3"" of type '" "size_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getBuffer" "', argument " "3"" of type '" "size_t &""'"); - } - arg3 = reinterpret_cast< size_t * >(argp3); - result = (SbBool)((SoOutput const *)arg1)->getBuffer(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getBufferSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getBufferSize" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = ((SoOutput const *)arg1)->getBufferSize(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resetBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resetBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resetBuffer(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBinary",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBinary" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setBinary" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBinary(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_isBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_isBinary",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_isBinary" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SbBool)((SoOutput const *)arg1)->isBinary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setHeaderString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setHeaderString" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setHeaderString((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resetHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resetHeaderString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resetHeaderString" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resetHeaderString(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setFloatPrecision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setFloatPrecision",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setFloatPrecision" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setFloatPrecision" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFloatPrecision(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setStage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoOutput::Stage arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setStage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setStage" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setStage" "', argument " "2"" of type '" "SoOutput::Stage""'"); - } - arg2 = static_cast< SoOutput::Stage >(val2); - (arg1)->setStage(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getStage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOutput::Stage result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getStage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getStage" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoOutput::Stage)((SoOutput const *)arg1)->getStage(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_incrementIndent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_incrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_incrementIndent" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->incrementIndent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_incrementIndent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_incrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->incrementIndent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_incrementIndent__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_incrementIndent__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_incrementIndent'.\n" - " Possible C/C++ prototypes are:\n" - " incrementIndent(SoOutput *,int const)\n" - " incrementIndent(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_decrementIndent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_decrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_decrementIndent" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->decrementIndent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_decrementIndent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_decrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->decrementIndent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_decrementIndent__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_decrementIndent__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_decrementIndent'.\n" - " Possible C/C++ prototypes are:\n" - " decrementIndent(SoOutput *,int const)\n" - " decrementIndent(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->write((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->write((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->write((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_7(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_8(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_9(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_write__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_write__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_write__SWIG_3(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_write'.\n" - " Possible C/C++ prototypes are:\n" - " write(SoOutput *,char const)\n" - " write(SoOutput *,char const *)\n" - " write(SoOutput *,SbString const &)\n" - " write(SoOutput *,SbName const &)\n" - " write(SoOutput *,int const)\n" - " write(SoOutput *,unsigned int const)\n" - " write(SoOutput *,short const)\n" - " write(SoOutput *,unsigned short const)\n" - " write(SoOutput *,float const)\n" - " write(SoOutput *,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((unsigned char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int32_t *arg2 = (int32_t *) (int32_t *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "int32_t const *const""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((int32_t const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - float *arg2 = (float *) (float *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "float const *const""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((float const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - double *arg2 = (double *) (double *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "double const *const""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((double const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_writeBinaryArray'.\n" - " Possible C/C++ prototypes are:\n" - " writeBinaryArray(SoOutput *,unsigned char const *,int const)\n" - " writeBinaryArray(SoOutput *,int32_t const *const,int const)\n" - " writeBinaryArray(SoOutput *,float const *const,int const)\n" - " writeBinaryArray(SoOutput *,double const *const,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_indent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_indent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_indent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->indent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_reset" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompact",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompact" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setCompact" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCompact(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_isCompact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_isCompact",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_isCompact" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SbBool)((SoOutput const *)arg1)->isCompact(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setAnnotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setAnnotation" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setAnnotation" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setAnnotation(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getAnnotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getAnnotation" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (arg1)->getAnnotation(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getDefaultASCIIHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getDefaultASCIIHeader",0,0)) SWIG_fail; - result = SoOutput::getDefaultASCIIHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getDefaultBinaryHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getDefaultBinaryHeader",0,0)) SWIG_fail; - result = SoOutput::getDefaultBinaryHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addReference" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_addReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (int)(arg1)->addReference((SoBase const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_findReference" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_findReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (int)((SoOutput const *)arg1)->findReference((SoBase const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setReference" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setReference" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setReference((SoBase const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->addDEFNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_lookupDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_lookupDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_lookupDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - result = (SbBool)(arg1)->lookupDEFNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_removeDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_removeDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_removeDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->removeDEFNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_pushProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_pushProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_pushProto" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_pushProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->pushProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getCurrentProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getCurrentProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getCurrentProto" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoProto *)((SoOutput const *)arg1)->getCurrentProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_popProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_popProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_popProto" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->popProto(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - SoFieldContainer *arg4 = (SoFieldContainer *) 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addRoute" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_addRoute" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoOutput_addRoute" "', argument " "4"" of type '" "SoFieldContainer *""'"); - } - arg4 = reinterpret_cast< SoFieldContainer * >(argp4); - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute(arg2,(SbName const &)*arg3,arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resolveRoutes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resolveRoutes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resolveRoutes" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resolveRoutes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFEnum",0,0)) SWIG_fail; - result = (SoSFEnum *)new SoSFEnum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFEnum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFEnum" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFEnum::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getClassTypeId",0,0)) SWIG_fail; - result = SoSFEnum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getTypeId" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = ((SoSFEnum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_copyFrom" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_isSame" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFEnum const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getValue" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = (int)((SoSFEnum const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_setValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum___eq__" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum___eq__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum___eq__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - result = (int)((SoSFEnum const *)arg1)->operator ==((SoSFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum___ne__" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum___ne__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum___ne__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - result = (int)((SoSFEnum const *)arg1)->operator !=((SoSFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_initClass",0,0)) SWIG_fail; - SoSFEnum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - SbName *arg4 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setEnums",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setEnums" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_setEnums" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFEnum_setEnums" "', argument " "3"" of type '" "int const *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFEnum_setEnums" "', argument " "4"" of type '" "SbName const *""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setEnums(arg2,(int const *)arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getNumEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getNumEnums",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getNumEnums" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = (int)((SoSFEnum const *)arg1)->getNumEnums(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getEnum",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getEnum" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_getEnum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (int)((SoSFEnum const *)arg1)->getEnum(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_setValue" "', argument " "2"" of type '" "SoSFEnum const *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - SoSFEnum_setValue__SWIG_2(arg1,(SoSFEnum const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFEnum_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFEnum *,int)\n" - " setValue(SoSFEnum *,SbName const)\n" - " setValue(SoSFEnum *,SoSFEnum const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFEnum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFEnum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFFloat",0,0)) SWIG_fail; - result = (SoSFFloat *)new SoSFFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFFloat",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFFloat" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoSFFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_getTypeId" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - result = ((SoSFFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_copyFrom" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_isSame" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFFloat const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_getValue" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - result = (float)((SoSFFloat const *)arg1)->getValue(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_setValue" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFFloat_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat___eq__" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat___eq__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat___eq__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - result = (int)((SoSFFloat const *)arg1)->operator ==((SoSFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat___ne__" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat___ne__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat___ne__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - result = (int)((SoSFFloat const *)arg1)->operator !=((SoSFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_initClass",0,0)) SWIG_fail; - SoSFFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_setValue" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_setValue" "', argument " "2"" of type '" "SoSFFloat const *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - SoSFFloat_setValue__SWIG_1(arg1,(SoSFFloat const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFFloat_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFFloat_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFFloat_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFFloat *,float)\n" - " setValue(SoSFFloat *,SoSFFloat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexityTypeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoComplexityTypeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoComplexityTypeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_initClass",0,0)) SWIG_fail; - SoComplexityTypeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityTypeElement *arg1 = (SoComplexityTypeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexityTypeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_init" "', argument " "1"" of type '" "SoComplexityTypeElement *""'"); - } - arg1 = reinterpret_cast< SoComplexityTypeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityTypeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoComplexityTypeElement::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityTypeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoComplexityTypeElement_set" "', argument " "3"" of type '" "SoComplexityTypeElement::Type""'"); - } - arg3 = static_cast< SoComplexityTypeElement::Type >(val3); - SoComplexityTypeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoComplexityTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoComplexityTypeElement_set" "', argument " "2"" of type '" "SoComplexityTypeElement::Type""'"); - } - arg2 = static_cast< SoComplexityTypeElement::Type >(val2); - SoComplexityTypeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityTypeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityTypeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoComplexityTypeElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoComplexityTypeElement::Type const)\n" - " SoComplexityTypeElement::set(SoState *const,SoComplexityTypeElement::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoComplexityTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoComplexityTypeElement::Type)SoComplexityTypeElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getDefault",0,0)) SWIG_fail; - result = (SoComplexityTypeElement::Type)SoComplexityTypeElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexityTypeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexityTypeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexity_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexity::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getTypeId" "', argument " "1"" of type '" "SoComplexity const *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = ((SoComplexity const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_initClass",0,0)) SWIG_fail; - SoComplexity::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComplexity",0,0)) SWIG_fail; - result = (SoComplexity *)new SoComplexity(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComplexity, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_type_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_type_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->type = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_type_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFEnum *)& ((arg1)->type); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_value_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_value_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_value_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFFloat *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_textureQuality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_textureQuality_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_textureQuality_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_textureQuality_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->textureQuality = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_textureQuality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_textureQuality_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_textureQuality_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFFloat *)& ((arg1)->textureQuality); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_doAction" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_callback" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getBoundingBox" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_GLRender" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_pick" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getPrimitiveCount" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexity_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexity, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDrawStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDrawStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDrawStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_initClass",0,0)) SWIG_fail; - SoDrawStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyleElement *arg1 = (SoDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_init" "', argument " "1"" of type '" "SoDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoDrawStyleElement::Style arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDrawStyleElement_set" "', argument " "3"" of type '" "SoDrawStyleElement::Style""'"); - } - arg3 = static_cast< SoDrawStyleElement::Style >(val3); - SoDrawStyleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDrawStyleElement::Style arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDrawStyleElement_set" "', argument " "2"" of type '" "SoDrawStyleElement::Style""'"); - } - arg2 = static_cast< SoDrawStyleElement::Style >(val2); - SoDrawStyleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDrawStyleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDrawStyleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDrawStyleElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoDrawStyleElement::Style const)\n" - " SoDrawStyleElement::set(SoState *const,SoDrawStyleElement::Style const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDrawStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDrawStyleElement::Style)SoDrawStyleElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getDefault",0,0)) SWIG_fail; - result = (SoDrawStyleElement::Style)SoDrawStyleElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDrawStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDrawStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFUShort",0,0)) SWIG_fail; - result = (SoSFUShort *)new SoSFUShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFUShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFUShort" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFUShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getClassTypeId",0,0)) SWIG_fail; - result = SoSFUShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_getTypeId" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - result = ((SoSFUShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_copyFrom" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_isSame" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFUShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_getValue" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - result = (unsigned short)((SoSFUShort const *)arg1)->getValue(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_setValue" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFUShort_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort___eq__" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort___eq__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort___eq__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - result = (int)((SoSFUShort const *)arg1)->operator ==((SoSFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort___ne__" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort___ne__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort___ne__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - result = (int)((SoSFUShort const *)arg1)->operator !=((SoSFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_initClass",0,0)) SWIG_fail; - SoSFUShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_setValue" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_setValue" "', argument " "2"" of type '" "SoSFUShort const *""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - SoSFUShort_setValue__SWIG_1(arg1,(SoSFUShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFUShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFUShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFUShort_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFUShort *,unsigned short)\n" - " setValue(SoSFUShort *,SoSFUShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFUShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFUShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFInt32",0,0)) SWIG_fail; - result = (SoSFInt32 *)new SoSFInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFInt32" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_getTypeId" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - result = ((SoSFInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_copyFrom" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_isSame" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_getValue" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - result = ((SoSFInt32 const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_setValue" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFInt32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32___eq__" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32___eq__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32___eq__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - result = (int)((SoSFInt32 const *)arg1)->operator ==((SoSFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32___ne__" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32___ne__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32___ne__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - result = (int)((SoSFInt32 const *)arg1)->operator !=((SoSFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_initClass",0,0)) SWIG_fail; - SoSFInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_setValue" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_setValue" "', argument " "2"" of type '" "SoSFInt32 const *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - SoSFInt32_setValue__SWIG_1(arg1,(SoSFInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFInt32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFInt32 *,int32_t)\n" - " setValue(SoSFInt32 *,SoSFInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDrawStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoDrawStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_getTypeId" "', argument " "1"" of type '" "SoDrawStyle const *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = ((SoDrawStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_initClass",0,0)) SWIG_fail; - SoDrawStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDrawStyle",0,0)) SWIG_fail; - result = (SoDrawStyle *)new SoDrawStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDrawStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_style_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_style_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_pointSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_pointSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_pointSize_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_pointSize_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->pointSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_pointSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_pointSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_pointSize_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->pointSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_lineWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_lineWidth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_lineWidth_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_lineWidth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->lineWidth = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_lineWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_lineWidth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_lineWidth_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->lineWidth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePattern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFUShort *arg2 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePattern_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePattern_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_linePattern_set" "', argument " "2"" of type '" "SoSFUShort *""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - if (arg1) (arg1)->linePattern = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePattern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFUShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePattern_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePattern_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFUShort *)& ((arg1)->linePattern); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePatternScaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePatternScaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePatternScaleFactor_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_linePatternScaleFactor_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->linePatternScaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePatternScaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePatternScaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePatternScaleFactor_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFInt32 *)& ((arg1)->linePatternScaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_doAction" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_GLRender" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_callback" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDrawStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDrawStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",0,0)) SWIG_fail; - result = (SbVec3f *)new SbVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - float temp1[3] ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3f *)new SbVec3f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbVec3f *)new SbVec3f(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (SbVec3f *)new SbVec3f((SbVec3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = (SbVec3f *)new SbVec3f((SbVec3b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (SbVec3f *)new SbVec3f((SbVec3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = (SbVec3f *)new SbVec3f((SbVec3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - SbPlane *arg2 = 0 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec3f" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec3f" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - result = (SbVec3f *)new SbVec3f((SbPlane const &)*arg1,(SbPlane const &)*arg2,(SbPlane const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3f__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_7(self, args); - } - } - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3f__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3f'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec3f()\n" - " SbVec3f(float const [3])\n" - " SbVec3f(float,float,float)\n" - " SbVec3f(SbVec3d const &)\n" - " SbVec3f(SbVec3b const &)\n" - " SbVec3f(SbVec3s const &)\n" - " SbVec3f(SbVec3i32 const &)\n" - " SbVec3f(SbPlane const &,SbPlane const &,SbPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbVec3f &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec3f_setValue" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - arg2 = reinterpret_cast< SbVec3b * >(argp2); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3b const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3s const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3i32 const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec3f *,float const [3])\n" - " setValue(SbVec3f *,float,float,float)\n" - " setValue(SbVec3f *,SbVec3f const &,SbVec3f const &,SbVec3f const &,SbVec3f const &)\n" - " setValue(SbVec3f *,SbVec3d const &)\n" - " setValue(SbVec3f *,SbVec3b const &)\n" - " setValue(SbVec3f *,SbVec3s const &)\n" - " setValue(SbVec3f *,SbVec3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_getValue" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float *)((SbVec3f const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_equals" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_equals" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_equals" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec3f const *)arg1)->equals((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_cross(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_cross",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_cross" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_cross" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_cross" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbVec3f const *)arg1)->cross((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_dot" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_dot" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_dot" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (float)((SbVec3f const *)arg1)->dot((SbVec3f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_getClosestAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_getClosestAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_getClosestAxis" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = ((SbVec3f const *)arg1)->getClosestAxis(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_length" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)((SbVec3f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_sqrLength" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)((SbVec3f const *)arg1)->sqrLength(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_normalize" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_negate" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___imul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec3f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___idiv__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec3f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___iadd__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___iadd__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___iadd__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3f &_result_ref = (arg1)->operator +=((SbVec3f const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___isub__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___isub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___isub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3f &_result_ref = (arg1)->operator -=((SbVec3f const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___neg__" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = ((SbVec3f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_output" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___add__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___add__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___add__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbVec3f___add__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___sub__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___sub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___sub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbVec3f___sub__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___mul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___mul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbVec3f___mul____SWIG_1(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3f___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___rmul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___div__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___eq__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___eq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___eq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)SbVec3f___eq__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___nq__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___nq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___nq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)SbVec3f___nq__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___getitem__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec3f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___setitem__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec3f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3f" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",0,0)) SWIG_fail; - result = (SbColor *)new SbColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbColor *)new SbColor((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) (float *)0 ; - float temp1[3] ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbColor *)new SbColor((float const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbColor *)new SbColor(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbColor__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbColor__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbColor__SWIG_2(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbColor'.\n" - " Possible C/C++ prototypes are:\n" - " SbColor()\n" - " SbColor(SbVec3f const &)\n" - " SbColor(float const *const)\n" - " SbColor(float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setHSVValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbColor &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setHSVValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbColor &_result_ref = (arg1)->setHSVValue((float const (*))arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SbColor *,float,float,float)\n" - " setHSVValue(SbColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getHSVValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getHSVValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getHSVValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ((SbColor const *)arg1)->getHSVValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - uint32_t arg2 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setPackedValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setPackedValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_setPackedValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbColor_setPackedValue" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor_setPackedValue" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - { - SbColor &_result_ref = (arg1)->setPackedValue(arg2,*arg3); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getPackedValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getPackedValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_getPackedValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SbColor const *)arg1)->getPackedValue(arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getPackedValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getPackedValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - result = ((SbColor const *)arg1)->getPackedValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbColor_getPackedValue__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor_getPackedValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor_getPackedValue'.\n" - " Possible C/C++ prototypes are:\n" - " getPackedValue(SbColor const *,float const)\n" - " getPackedValue(SbColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___add__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___add__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___add__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = SbColor___add__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___sub__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___sub__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___sub__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = SbColor___sub__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___mul__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___rmul__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___div__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___eq__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___eq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___eq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)SbColor___eq__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___nq__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___nq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___nq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)SbColor___nq__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___getitem__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbColor___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___setitem__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbColor___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbColor" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLazyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLazyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLazyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLazyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_initClass",0,0)) SWIG_fail; - SoLazyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_init" "', argument " "1"" of type '" "SoLazyElement *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_push" "', argument " "1"" of type '" "SoLazyElement *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_matches" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLazyElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_copyMatchInfo" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SoElement *)((SoLazyElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setToDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setToDefault",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setToDefault" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLazyElement::setToDefault(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setDiffuse",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setDiffuse" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setDiffuse" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setDiffuse" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setDiffuse" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - SoLazyElement::setDiffuse(arg1,arg2,arg3,(SbColor const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - float *arg4 = (float *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTransparency",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setTransparency" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setTransparency" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setTransparency" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setTransparency" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - SoLazyElement::setTransparency(arg1,arg2,arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setColorIndices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setColorIndices" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setColorIndices" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setColorIndices" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setColorIndices" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - SoLazyElement::setColorIndices(arg1,arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setAmbient",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setAmbient" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setAmbient" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setAmbient(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setEmissive",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setEmissive" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setEmissive" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setEmissive(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setSpecular",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setSpecular" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setSpecular" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setSpecular(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setShininess",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setShininess" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setShininess" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoLazyElement::setShininess(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setColorMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setColorMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setColorMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setColorMaterial" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setColorMaterial(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_enableBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_enableBlending",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_enableBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_enableBlending" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_enableBlending" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoLazyElement::enableBlending(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_enableSeparateBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_enableSeparateBlending",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_enableSeparateBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_enableSeparateBlending" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_enableSeparateBlending" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoLazyElement_enableSeparateBlending" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoLazyElement_enableSeparateBlending" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - SoLazyElement::enableSeparateBlending(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_disableBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_disableBlending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_disableBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLazyElement::disableBlending(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLazyElement::setLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setVertexOrdering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setVertexOrdering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setVertexOrdering" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - SoLazyElement::setVertexOrdering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setBackfaceCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setBackfaceCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setBackfaceCulling" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setBackfaceCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setBackfaceCulling(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTwosideLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTwosideLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTwosideLighting" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setTwosideLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setTwosideLighting(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setShadeModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setShadeModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setShadeModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setShadeModel" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setShadeModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setGLImageId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setGLImageId",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setGLImageId" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setGLImageId" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setGLImageId" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoLazyElement::setGLImageId(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setAlphaTest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setAlphaTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setAlphaTest" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setAlphaTest(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDiffuse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getDiffuse" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoLazyElement::getDiffuse(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getTransparency" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SoLazyElement::getTransparency(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getPackedColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getPackedColors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getPackedColors" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (uint32_t *)SoLazyElement::getPackedColors(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndices" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t *)SoLazyElement::getColorIndices(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndex" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getColorIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoLazyElement::getColorIndex(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getAmbient",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getAmbient" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getAmbient(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getEmissive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getEmissive" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getEmissive(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getSpecular",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getSpecular" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getSpecular(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getShininess",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getShininess" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoLazyElement::getShininess(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoLazyElement::getColorMaterial(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getBlending",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_getBlending" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getBlending" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLazyElement_getBlending" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getBlending" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)SoLazyElement::getBlending(arg1,*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getAlphaBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getAlphaBlending",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getAlphaBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_getAlphaBlending" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getAlphaBlending" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLazyElement_getAlphaBlending" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getAlphaBlending" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)SoLazyElement::getAlphaBlending(arg1,*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getLightModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoLazyElement::getLightModel(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getAlphaTest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getAlphaTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoLazyElement::getAlphaTest(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumDiffuse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumDiffuse" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = ((SoLazyElement const *)arg1)->getNumDiffuse(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumTransparencies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumTransparencies",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumTransparencies" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = ((SoLazyElement const *)arg1)->getNumTransparencies(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumColorIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumColorIndices" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = ((SoLazyElement const *)arg1)->getNumColorIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_isPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_isPacked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_isPacked" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbBool)((SoLazyElement const *)arg1)->isPacked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_isTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_isTransparent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_isTransparent" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbBool)((SoLazyElement const *)arg1)->isTransparent(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLazyElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLazyElement *)SoLazyElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultAmbientIntensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultAmbientIntensity",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultAmbientIntensity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultDiffuse",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultDiffuse(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultAmbient",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultAmbient(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultSpecular",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultSpecular(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultEmissive",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultEmissive(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultShininess",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultShininess(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultPacked",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultPacked(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultTransparency",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultTransparency(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultLightModel",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultLightModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultColorIndex",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultColorIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setMaterials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - uint32_t arg3 ; - SoColorPacker *arg4 = (SoColorPacker *) 0 ; - SbColor *arg5 = (SbColor *) 0 ; - int arg6 ; - float *arg7 = (float *) 0 ; - int arg8 ; - SbColor *arg9 = 0 ; - SbColor *arg10 = 0 ; - SbColor *arg11 = 0 ; - float arg12 ; - SbBool arg13 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - float val12 ; - int ecode12 = 0 ; - int val13 ; - int ecode13 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setMaterials",13,13,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setMaterials" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setMaterials" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setMaterials" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setMaterials" "', argument " "4"" of type '" "SoColorPacker *""'"); - } - arg4 = reinterpret_cast< SoColorPacker * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setMaterials" "', argument " "5"" of type '" "SbColor const *""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoLazyElement_setMaterials" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoLazyElement_setMaterials" "', argument " "7"" of type '" "float const *""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoLazyElement_setMaterials" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoLazyElement_setMaterials" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoLazyElement_setMaterials" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoLazyElement_setMaterials" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoLazyElement_setMaterials" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_int(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoLazyElement_setMaterials" "', argument " "13"" of type '" "SbBool""'"); - } - arg13 = static_cast< SbBool >(val13); - SoLazyElement::setMaterials(arg1,arg2,arg3,arg4,(SbColor const *)arg5,arg6,(float const *)arg7,arg8,(SbColor const &)*arg9,(SbColor const &)*arg10,(SbColor const &)*arg11,arg12,arg13); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getWInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLazyElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getWInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getWInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLazyElement *)SoLazyElement::getWInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getPackedPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getPackedPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getPackedPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (uint32_t *)((SoLazyElement const *)arg1)->getPackedPointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDiffusePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDiffusePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getDiffusePointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbColor *)((SoLazyElement const *)arg1)->getDiffusePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndexPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndexPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndexPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (int32_t *)((SoLazyElement const *)arg1)->getColorIndexPointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getTransparencyPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getTransparencyPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getTransparencyPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (float *)((SoLazyElement const *)arg1)->getTransparencyPointer(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTransparencyType" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setTransparencyType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLazyElement::setTransparencyType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLazyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLazyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoColorPacker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoColorPacker",0,0)) SWIG_fail; - result = (SoColorPacker *)new SoColorPacker(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoColorPacker, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoColorPacker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoColorPacker",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoColorPacker" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getPackedColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getPackedColors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getPackedColors" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = (uint32_t *)((SoColorPacker const *)arg1)->getPackedColors(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_diffuseMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_diffuseMatch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_diffuseMatch" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_diffuseMatch" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SbBool)((SoColorPacker const *)arg1)->diffuseMatch(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_transpMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_transpMatch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_transpMatch" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_transpMatch" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SbBool)((SoColorPacker const *)arg1)->transpMatch(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_setNodeIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_setNodeIds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_setNodeIds" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_setNodeIds" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoColorPacker_setNodeIds" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->setNodeIds(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getSize" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = ((SoColorPacker const *)arg1)->getSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_reallocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_reallocate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_reallocate" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_reallocate" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->reallocate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getDiffuseId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getDiffuseId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getDiffuseId" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = ((SoColorPacker const *)arg1)->getDiffuseId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getTranspId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getTranspId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getTranspId" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = ((SoColorPacker const *)arg1)->getTranspId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoColorPacker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoColorPacker, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightModel_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_getClassTypeId",0,0)) SWIG_fail; - result = SoLightModel::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_getTypeId" "', argument " "1"" of type '" "SoLightModel const *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - result = ((SoLightModel const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_initClass",0,0)) SWIG_fail; - SoLightModel::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightModel",0,0)) SWIG_fail; - result = (SoLightModel *)new SoLightModel(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightModel, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_model_set" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_model_get" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_doAction" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_GLRender" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_callback" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightModel, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterialBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMaterialBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMaterialBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_initClass",0,0)) SWIG_fail; - SoMaterialBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBindingElement *arg1 = (SoMaterialBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_init" "', argument " "1"" of type '" "SoMaterialBindingElement *""'"); - } - arg1 = reinterpret_cast< SoMaterialBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoMaterialBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMaterialBindingElement_set" "', argument " "3"" of type '" "SoMaterialBindingElement::Binding""'"); - } - arg3 = static_cast< SoMaterialBindingElement::Binding >(val3); - SoMaterialBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoMaterialBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBindingElement_set" "', argument " "2"" of type '" "SoMaterialBindingElement::Binding""'"); - } - arg2 = static_cast< SoMaterialBindingElement::Binding >(val2); - SoMaterialBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMaterialBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMaterialBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMaterialBindingElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoMaterialBindingElement::Binding const)\n" - " SoMaterialBindingElement::set(SoState *const,SoMaterialBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMaterialBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoMaterialBindingElement::Binding)SoMaterialBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoMaterialBindingElement::Binding)SoMaterialBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterialBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_getTypeId" "', argument " "1"" of type '" "SoMaterialBinding const *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - result = ((SoMaterialBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_initClass",0,0)) SWIG_fail; - SoMaterialBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMaterialBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterialBinding",0,0)) SWIG_fail; - result = (SoMaterialBinding *)new SoMaterialBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterialBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_value_set" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_value_get" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_doAction" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_GLRender" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_callback" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_pick" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_getPrimitiveCount" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoNormalBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoNormalBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_initClass",0,0)) SWIG_fail; - SoNormalBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBindingElement *arg1 = (SoNormalBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_init" "', argument " "1"" of type '" "SoNormalBindingElement *""'"); - } - arg1 = reinterpret_cast< SoNormalBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoNormalBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalBindingElement_set" "', argument " "3"" of type '" "SoNormalBindingElement::Binding""'"); - } - arg3 = static_cast< SoNormalBindingElement::Binding >(val3); - SoNormalBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNormalBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalBindingElement_set" "', argument " "2"" of type '" "SoNormalBindingElement::Binding""'"); - } - arg2 = static_cast< SoNormalBindingElement::Binding >(val2); - SoNormalBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalBindingElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoNormalBindingElement::Binding const)\n" - " SoNormalBindingElement::set(SoState *const,SoNormalBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalBindingElement::Binding)SoNormalBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoNormalBindingElement::Binding)SoNormalBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_getTypeId" "', argument " "1"" of type '" "SoNormalBinding const *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - result = ((SoNormalBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_initClass",0,0)) SWIG_fail; - SoNormalBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalBinding",0,0)) SWIG_fail; - result = (SoNormalBinding *)new SoNormalBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_value_set" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_value_get" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_doAction" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_GLRender" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_callback" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_pick" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_getPrimitiveCount" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPickStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPickStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPickStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_initClass",0,0)) SWIG_fail; - SoPickStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyleElement *arg1 = (SoPickStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_init" "', argument " "1"" of type '" "SoPickStyleElement *""'"); - } - arg1 = reinterpret_cast< SoPickStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickStyleElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoPickStyleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoPickStyleElement::Style arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickStyleElement_set" "', argument " "2"" of type '" "SoPickStyleElement::Style""'"); - } - arg2 = static_cast< SoPickStyleElement::Style >(val2); - SoPickStyleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickStyleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickStyleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickStyleElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,int32_t const)\n" - " SoPickStyleElement::set(SoState *const,SoPickStyleElement::Style const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoPickStyleElement::Style)SoPickStyleElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getDefault",0,0)) SWIG_fail; - result = (SoPickStyleElement::Style)SoPickStyleElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoPickStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_getTypeId" "', argument " "1"" of type '" "SoPickStyle const *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - result = ((SoPickStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_initClass",0,0)) SWIG_fail; - SoPickStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickStyle",0,0)) SWIG_fail; - result = (SoPickStyle *)new SoPickStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_style_set" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_style_get" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_doAction" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_callback" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_pick" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeHintsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShapeHintsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShapeHintsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_initClass",0,0)) SWIG_fail; - SoShapeHintsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_init" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_push" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_pop" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeHintsElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_matches" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoShapeHintsElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_copyMatchInfo" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - result = (SoElement *)((SoShapeHintsElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoShapeHintsElement::VertexOrdering arg3 ; - SoShapeHintsElement::ShapeType arg4 ; - SoShapeHintsElement::FaceType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShapeHintsElement_set" "', argument " "3"" of type '" "SoShapeHintsElement::VertexOrdering""'"); - } - arg3 = static_cast< SoShapeHintsElement::VertexOrdering >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoShapeHintsElement_set" "', argument " "4"" of type '" "SoShapeHintsElement::ShapeType""'"); - } - arg4 = static_cast< SoShapeHintsElement::ShapeType >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoShapeHintsElement_set" "', argument " "5"" of type '" "SoShapeHintsElement::FaceType""'"); - } - arg5 = static_cast< SoShapeHintsElement::FaceType >(val5); - SoShapeHintsElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::VertexOrdering arg2 ; - SoShapeHintsElement::ShapeType arg3 ; - SoShapeHintsElement::FaceType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeHintsElement_set" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering""'"); - } - arg2 = static_cast< SoShapeHintsElement::VertexOrdering >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShapeHintsElement_set" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType""'"); - } - arg3 = static_cast< SoShapeHintsElement::ShapeType >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoShapeHintsElement_set" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType""'"); - } - arg4 = static_cast< SoShapeHintsElement::FaceType >(val4); - SoShapeHintsElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoShapeHintsElement_set__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoShapeHintsElement_set__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoShapeHintsElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoShapeHintsElement::VertexOrdering const,SoShapeHintsElement::ShapeType const,SoShapeHintsElement::FaceType const)\n" - " SoShapeHintsElement::set(SoState *const,SoShapeHintsElement::VertexOrdering const,SoShapeHintsElement::ShapeType const,SoShapeHintsElement::FaceType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::VertexOrdering *arg2 = 0 ; - SoShapeHintsElement::ShapeType *arg3 = 0 ; - SoShapeHintsElement::FaceType *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoShapeHintsElement__VertexOrdering, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_get" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering &""'"); - } - arg2 = reinterpret_cast< SoShapeHintsElement::VertexOrdering * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoShapeHintsElement__ShapeType, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeHintsElement_get" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType &""'"); - } - arg3 = reinterpret_cast< SoShapeHintsElement::ShapeType * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoShapeHintsElement__FaceType, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShapeHintsElement_get" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType &""'"); - } - arg4 = reinterpret_cast< SoShapeHintsElement::FaceType * >(argp4); - SoShapeHintsElement::get(arg1,*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHintsElement::VertexOrdering result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getVertexOrdering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getVertexOrdering" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::VertexOrdering)SoShapeHintsElement::getVertexOrdering(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHintsElement::ShapeType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getShapeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getShapeType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::ShapeType)SoShapeHintsElement::getShapeType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHintsElement::FaceType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getFaceType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getFaceType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::FaceType)SoShapeHintsElement::getFaceType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::VertexOrdering result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultVertexOrdering",0,0)) SWIG_fail; - result = (SoShapeHintsElement::VertexOrdering)SoShapeHintsElement::getDefaultVertexOrdering(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::ShapeType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultShapeType",0,0)) SWIG_fail; - result = (SoShapeHintsElement::ShapeType)SoShapeHintsElement::getDefaultShapeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::FaceType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultFaceType",0,0)) SWIG_fail; - result = (SoShapeHintsElement::FaceType)SoShapeHintsElement::getDefaultFaceType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_output" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoShapeHintsElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeHintsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeHintsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBool",0,0)) SWIG_fail; - result = (SoSFBool *)new SoSFBool(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBool",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBool" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBool::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBool::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_getTypeId" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - result = ((SoSFBool const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_copyFrom" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_isSame" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBool const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_getValue" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - result = (SbBool)((SoSFBool const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_setValue" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBool_setValue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool___eq__" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool___eq__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool___eq__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - result = (int)((SoSFBool const *)arg1)->operator ==((SoSFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool___ne__" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool___ne__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool___ne__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - result = (int)((SoSFBool const *)arg1)->operator !=((SoSFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_initClass",0,0)) SWIG_fail; - SoSFBool::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_setValue" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_setValue" "', argument " "2"" of type '" "SoSFBool const *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - SoSFBool_setValue__SWIG_1(arg1,(SoSFBool const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBool_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBool_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBool_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBool *,SbBool)\n" - " setValue(SoSFBool *,SoSFBool const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBool_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBool, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeHints_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeHints::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_getTypeId" "', argument " "1"" of type '" "SoShapeHints const *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = ((SoShapeHints const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_initClass",0,0)) SWIG_fail; - SoShapeHints::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShapeHints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShapeHints",0,0)) SWIG_fail; - result = (SoShapeHints *)new SoShapeHints(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeHints, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_vertexOrdering_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_vertexOrdering_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_vertexOrdering_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_vertexOrdering_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->vertexOrdering = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_vertexOrdering_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_vertexOrdering_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_vertexOrdering_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->vertexOrdering); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_shapeType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_shapeType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_shapeType_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_shapeType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->shapeType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_shapeType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_shapeType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_shapeType_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->shapeType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_faceType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_faceType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_faceType_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_faceType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->faceType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_faceType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_faceType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_faceType_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->faceType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_windingType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_windingType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_windingType_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_windingType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->windingType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_windingType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_windingType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_windingType_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->windingType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_useVBO_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_useVBO_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_useVBO_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_useVBO_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->useVBO = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_useVBO_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_useVBO_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_useVBO_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFBool *)& ((arg1)->useVBO); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_creaseAngle_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_creaseAngle_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_doAction" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_GLRender" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_callback" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_getBoundingBox" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_pick" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeHints_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeHints, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture *arg1 = (SoTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture_getTypeId" "', argument " "1"" of type '" "SoTexture const *""'"); - } - arg1 = reinterpret_cast< SoTexture * >(argp1); - result = ((SoTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_initClass",0,0)) SWIG_fail; - SoTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_cleanupClass",0,0)) SWIG_fail; - SoTexture::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture *arg1 = (SoTexture *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture_doAction" "', argument " "1"" of type '" "SoTexture *""'"); - } - arg1 = reinterpret_cast< SoTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture *arg1 = (SoTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture_GLRender" "', argument " "1"" of type '" "SoTexture *""'"); - } - arg1 = reinterpret_cast< SoTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture *arg1 = (SoTexture *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture_callback" "', argument " "1"" of type '" "SoTexture *""'"); - } - arg1 = reinterpret_cast< SoTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFImage",0,0)) SWIG_fail; - result = (SoSFImage *)new SoSFImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFImage" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFImage::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getClassTypeId",0,0)) SWIG_fail; - result = SoSFImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getTypeId" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = ((SoSFImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_copyFrom" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_isSame" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFImage const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_initClass",0,0)) SWIG_fail; - SoSFImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - unsigned char *result = 0 ; - - { - arg2 = new SbVec2s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getValue" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (unsigned char *)((SoSFImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec2s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getValue" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - { - SbImage const &_result_ref = ((SoSFImage const *)arg1)->getValue(); - result = (SbImage *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_getValue__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_getValue__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFImage_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFImage const *,SbVec2s &,int &)\n" - " getValue(SoSFImage const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - SoSFImage::CopyPolicy arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFImage_setValue" "', argument " "5"" of type '" "SoSFImage::CopyPolicy""'"); - } - arg5 = static_cast< SoSFImage::CopyPolicy >(val5); - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage___eq__" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage___eq__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage___eq__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - result = (int)((SoSFImage const *)arg1)->operator ==((SoSFImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage___ne__" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage___ne__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage___ne__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - result = (int)((SoSFImage const *)arg1)->operator !=((SoSFImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - unsigned char *result = 0 ; - - { - arg2 = new SbVec2s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_startEditing" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (unsigned char *)(arg1)->startEditing(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec2s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_finishEditing" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setSubValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setSubValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setSubValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setSubValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setSubValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_setSubValue" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setSubValue" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setSubValue" "', argument " "4"" of type '" "unsigned char *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setSubValue((SbVec2s const &)*arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setSubValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = (SbVec2s *) 0 ; - SbVec2s *arg3 = (SbVec2s *) 0 ; - int arg4 ; - unsigned char **arg5 = (unsigned char **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setSubValues",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setSubValues" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setSubValues" "', argument " "2"" of type '" "SbVec2s const *""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_setSubValues" "', argument " "3"" of type '" "SbVec2s const *""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFImage_setSubValues" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSFImage_setSubValues" "', argument " "5"" of type '" "unsigned char **""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - (arg1)->setSubValues((SbVec2s const *)arg2,(SbVec2s const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getSubTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - SbVec2s *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getSubTexture",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getSubTexture" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFImage_getSubTexture" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_getSubTexture" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_getSubTexture" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_getSubTexture" "', argument " "4"" of type '" "SbVec2s &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_getSubTexture" "', argument " "4"" of type '" "SbVec2s &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - result = (unsigned char *)((SoSFImage const *)arg1)->getSubTexture(arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_hasSubTextures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_hasSubTextures",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_hasSubTextures" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_hasSubTextures" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_hasSubTextures" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool)(arg1)->hasSubTextures(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setNeverWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setNeverWrite",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setNeverWrite" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFImage_setNeverWrite" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setNeverWrite(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_isNeverWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_isNeverWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_isNeverWrite" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (SbBool)((SoSFImage const *)arg1)->isNeverWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_hasTransparency" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (SbBool)((SoSFImage const *)arg1)->hasTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - arg4 = obj3; - SoSFImage_setValue__SWIG_2(arg1,(SbVec2s const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SoSFImage const *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - SoSFImage_setValue__SWIG_3(arg1,(SoSFImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFImage_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFImage *,SbVec2s const &,int const,unsigned char const *,SoSFImage::CopyPolicy)\n" - " setValue(SoSFImage *,SbVec2s const &,int const,unsigned char const *)\n" - " setValue(SoSFImage *,SbVec2s const &,int const,PyObject *)\n" - " setValue(SoSFImage *,SoSFImage const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFString",0,0)) SWIG_fail; - result = (SoSFString *)new SoSFString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFString" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFString::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getClassTypeId",0,0)) SWIG_fail; - result = SoSFString::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_getTypeId" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - result = ((SoSFString const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_copyFrom" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_isSame" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFString const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_getValue" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - { - SbString const &_result_ref = ((SoSFString const *)arg1)->getValue(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString___eq__" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString___eq__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString___eq__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - result = (int)((SoSFString const *)arg1)->operator ==((SoSFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString___ne__" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString___ne__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString___ne__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - result = (int)((SoSFString const *)arg1)->operator !=((SoSFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_initClass",0,0)) SWIG_fail; - SoSFString::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_setValue" "', argument " "2"" of type '" "SoSFString const *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - SoSFString_setValue__SWIG_2(arg1,(SoSFString const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFString_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFString_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFString_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFString_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFString *,SbString const &)\n" - " setValue(SoSFString *,char const *)\n" - " setValue(SoSFString *,SoSFString const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFColor",0,0)) SWIG_fail; - result = (SoSFColor *)new SoSFColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFColor" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFColor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getClassTypeId",0,0)) SWIG_fail; - result = SoSFColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_getTypeId" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - result = ((SoSFColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_copyFrom" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_isSame" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFColor const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_getValue" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - SbColor const &_result_ref = ((SoSFColor const *)arg1)->getValue(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setValue((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor___eq__" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor___eq__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor___eq__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - result = (int)((SoSFColor const *)arg1)->operator ==((SoSFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor___ne__" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor___ne__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor___ne__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - result = (int)((SoSFColor const *)arg1)->operator !=((SoSFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_initClass",0,0)) SWIG_fail; - SoSFColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColor_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColor_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setHSVValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setHSVValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setHSVValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColor_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SoSFColor *,float,float,float)\n" - " setHSVValue(SoSFColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SoSFColor const *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - SoSFColor_setValue__SWIG_4(arg1,(SoSFColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColor_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFColor *,SbColor const &)\n" - " setValue(SoSFColor *,SbVec3f const &)\n" - " setValue(SoSFColor *,float,float,float)\n" - " setValue(SoSFColor *,float const [3])\n" - " setValue(SoSFColor *,SoSFColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getClassTypeId",0,0)) SWIG_fail; - result = SoReplacedElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoReplacedElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_initClass",0,0)) SWIG_fail; - SoReplacedElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_init" "', argument " "1"" of type '" "SoReplacedElement *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReplacedElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_matches" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReplacedElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoReplacedElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_copyMatchInfo" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - result = (SoElement *)((SoReplacedElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_getNodeId" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - result = ((SoReplacedElement const *)arg1)->getNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_output" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoReplacedElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoReplacedElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoReplacedElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",0,0)) SWIG_fail; - result = (SbVec3s *)new SbVec3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - short temp1[3] ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3s *)new SbVec3s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - result = (SbVec3s *)new SbVec3s(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3us const &""'"); - } - arg1 = reinterpret_cast< SbVec3us * >(argp1); - result = (SbVec3s *)new SbVec3s((SbVec3us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = (SbVec3s *)new SbVec3s((SbVec3b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = (SbVec3s *)new SbVec3s((SbVec3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbVec3s *)new SbVec3s((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3s" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (SbVec3s *)new SbVec3s((SbVec3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3s__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3s__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3s__SWIG_7(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3s__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3s__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3s'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec3s()\n" - " SbVec3s(short const [3])\n" - " SbVec3s(short,short,short)\n" - " SbVec3s(SbVec3us const &)\n" - " SbVec3s(SbVec3b const &)\n" - " SbVec3s(SbVec3i32 const &)\n" - " SbVec3s(SbVec3f const &)\n" - " SbVec3s(SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - { - convert_SbVec3s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - { - SbVec3s &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3us const &""'"); - } - arg2 = reinterpret_cast< SbVec3us * >(argp2); - { - SbVec3s &_result_ref = (arg1)->setValue((SbVec3us const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - arg2 = reinterpret_cast< SbVec3b * >(argp2); - { - SbVec3s &_result_ref = (arg1)->setValue((SbVec3b const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3s &_result_ref = (arg1)->setValue((SbVec3i32 const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3s &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3s &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec3s *,short const [3])\n" - " setValue(SbVec3s *,short,short,short)\n" - " setValue(SbVec3s *,SbVec3us const &)\n" - " setValue(SbVec3s *,SbVec3b const &)\n" - " setValue(SbVec3s *,SbVec3i32 const &)\n" - " setValue(SbVec3s *,SbVec3f const &)\n" - " setValue(SbVec3s *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - short *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_getValue" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (short *)((SbVec3s const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - short temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_getValue" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ((SbVec3s const *)arg1)->getValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_getValue__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_getValue__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec3s const *)\n" - " getValue(SbVec3s const *,short &,short &,short &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_dot" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_dot" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_dot" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = ((SbVec3s const *)arg1)->dot((SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_negate" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___imul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___imul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec3s *,int)\n" - " operator *=(SbVec3s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___idiv__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___idiv__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec3s *,int)\n" - " operator /=(SbVec3s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___iadd__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___iadd__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___iadd__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3s &_result_ref = (arg1)->operator +=((SbVec3s const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___isub__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___isub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___isub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3s &_result_ref = (arg1)->operator -=((SbVec3s const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___neg__" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = ((SbVec3s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_output" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___add__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___add__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___add__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = SbVec3s___add__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___sub__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___sub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___sub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = SbVec3s___sub__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___mul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___rmul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___div__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___eq__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___eq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___eq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int)SbVec3s___eq__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___nq__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___nq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___nq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int)SbVec3s___nq__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___getitem__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec3s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___setitem__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec3s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3s" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_initClass",0,0)) SWIG_fail; - SoTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureImageElement *arg1 = (SoTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_init" "', argument " "1"" of type '" "SoTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureImageElement::setDefault(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - int arg6 ; - int arg7 ; - int arg8 ; - SbColor *arg9 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - SoTextureImageElement::set(arg1,arg2,(SbVec2s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,(SbColor const &)*arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - int arg6 ; - int arg7 ; - int arg8 ; - int arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoTextureImageElement::set(arg1,arg2,(SbVec3s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg6 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Model arg8 ; - SbColor *arg9 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg6 = static_cast< SoTextureImageElement::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Model""'"); - } - arg8 = static_cast< SoTextureImageElement::Model >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - SoTextureImageElement::set(arg1,arg2,(SbVec2s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,(SbColor const &)*arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg6 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg6 = static_cast< SoTextureImageElement::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoTextureImageElement::set(arg1,arg2,(SbVec3s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[11]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 10); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_2(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_3(self, args); - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SbVec2s const &,int const,unsigned char const *,int const,int const,int const,SbColor const &)\n" - " set(SoState *const,SoNode *const,SbVec3s const &,int const,unsigned char const *,int const,int const,int const,int const,SbColor const &)\n" - " set(SoState *const,SoNode *const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n" - " SoTextureImageElement::set(SoState *const,SoNode *const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - SoTextureImageElement::Wrap *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Model *arg6 = 0 ; - SbColor *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg4 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Model &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Model * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - SoTextureImageElement::Wrap *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Model *arg7 = 0 ; - SbColor *arg8 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg4 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Model * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - int *arg5 = 0 ; - int *arg6 = 0 ; - SbColor *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - arg6 = reinterpret_cast< int * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - int *arg5 = 0 ; - int *arg6 = 0 ; - int *arg7 = 0 ; - SbColor *arg8 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - arg6 = reinterpret_cast< int * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "int &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "int &""'"); - } - arg7 = reinterpret_cast< int * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[9]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 8); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_0(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_2(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_3(self, args); - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoState *const,SbVec2s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n" - " get(SoState *const,SbVec3s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n" - " get(SoState *const,SbVec2s &,int &,int &,int &,int &,SbColor &)\n" - " SoTextureImageElement::get(SoState *const,SbVec3s &,int &,int &,int &,int &,int &,SbColor &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getBlendColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getBlendColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoTextureImageElement::getBlendColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)SoTextureImageElement::getImage(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)SoTextureImageElement::getImage(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getImage__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getImage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_getImage'.\n" - " Possible C/C++ prototypes are:\n" - " getImage(SoState *const,SbVec2s &,int &)\n" - " SoTextureImageElement::getImage(SoState *const,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureImageElement::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Model)SoTextureImageElement::getModel(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapS" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapS(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapT" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapT(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapR" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapR(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_containsTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_containsTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_containsTransparency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureImageElement::containsTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_getDefault'.\n" - " Possible C/C++ prototypes are:\n" - " getDefault(SbVec2s &,int &)\n" - " SoTextureImageElement::getDefault(SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_getTypeId" "', argument " "1"" of type '" "SoTexture2 const *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = ((SoTexture2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_initClass",0,0)) SWIG_fail; - SoTexture2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture2",0,0)) SWIG_fail; - result = (SoTexture2 *)new SoTexture2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_filename_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_filename_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_image_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_image_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapS_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapS_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapT_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapT_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_model_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_model_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_blendColor_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_blendColor_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_enableCompressedTexture_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_enableCompressedTexture_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_enableCompressedTexture_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_enableCompressedTexture_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enableCompressedTexture = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_enableCompressedTexture_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_enableCompressedTexture_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_enableCompressedTexture_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFBool *)& ((arg1)->enableCompressedTexture); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_doAction" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_GLRender" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_callback" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_rayPick" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_readImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char **arg5 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_readImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_readImage" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTexture2_readImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTexture2_readImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTexture2_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - result = (SbBool)SoTexture2::readImage((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoTexture2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCoordinateBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCoordinateBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_initClass",0,0)) SWIG_fail; - SoTextureCoordinateBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBindingElement *arg1 = (SoTextureCoordinateBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_init" "', argument " "1"" of type '" "SoTextureCoordinateBindingElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTextureCoordinateBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "3"" of type '" "SoTextureCoordinateBindingElement::Binding""'"); - } - arg3 = static_cast< SoTextureCoordinateBindingElement::Binding >(val3); - SoTextureCoordinateBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "2"" of type '" "SoTextureCoordinateBindingElement::Binding""'"); - } - arg2 = static_cast< SoTextureCoordinateBindingElement::Binding >(val2); - SoTextureCoordinateBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBindingElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoTextureCoordinateBindingElement::Binding const)\n" - " SoTextureCoordinateBindingElement::set(SoState *const,SoTextureCoordinateBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateBindingElement::Binding)SoTextureCoordinateBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoTextureCoordinateBindingElement::Binding)SoTextureCoordinateBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateBinding const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - result = ((SoTextureCoordinateBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_initClass",0,0)) SWIG_fail; - SoTextureCoordinateBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBinding",0,0)) SWIG_fail; - result = (SoTextureCoordinateBinding *)new SoTextureCoordinateBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_value_set" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_value_get" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_doAction" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_callback" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_pick" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformation *arg1 = (SoTransformation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformation_getTypeId" "', argument " "1"" of type '" "SoTransformation const *""'"); - } - arg1 = reinterpret_cast< SoTransformation * >(argp1); - result = ((SoTransformation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_initClass",0,0)) SWIG_fail; - SoTransformation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoUnits_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getClassTypeId",0,0)) SWIG_fail; - result = SoUnits::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getTypeId" "', argument " "1"" of type '" "SoUnits const *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - result = ((SoUnits const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_initClass",0,0)) SWIG_fail; - SoUnits::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoUnits",0,0)) SWIG_fail; - result = (SoUnits *)new SoUnits(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoUnits, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_units_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_units_set" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_units_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->units = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_units_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_units_get" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - result = (SoSFEnum *)& ((arg1)->units); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_doAction" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_callback" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getBoundingBox" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getMatrix" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_GLRender" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_pick" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getPrimitiveCount" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoUnits_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoUnits, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTypeId" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getClassTypeId",0,0)) SWIG_fail; - result = SoCallbackAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoCallbackAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoCallbackAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_initClass",0,0)) SWIG_fail; - SoCallbackAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackAction",0,0)) SWIG_fail; - result = (SoCallbackAction *)new SoCallbackAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCallbackAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoCallbackAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoCallbackAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoCallbackAction *)new SoCallbackAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoCallbackAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoCallbackAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoCallbackAction'.\n" - " Possible C/C++ prototypes are:\n" - " SoCallbackAction()\n" - " SoCallbackAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCallbackAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCallbackAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCallbackAction" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_setViewportRegion" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoCallbackAction::SoCallbackActionCB *arg3 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPreCallback" "', argument " "3"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPreCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPreCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoCallbackAction::SoCallbackActionCB *arg3 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPostCallback" "', argument " "3"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPostCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPostCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoCallbackAction::SoCallbackActionCB *arg2 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "2"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPreTailCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoCallbackAction::SoCallbackActionCB *arg2 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "2"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPostTailCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoTriangleCB *arg3 = (SoTriangleCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addTriangleCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "3"" of type '" "SoTriangleCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addTriangleCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoLineSegmentCB *arg3 = (SoLineSegmentCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addLineSegmentCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "3"" of type '" "SoLineSegmentCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addLineSegmentCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoPointCB *arg3 = (SoPointCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPointCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPointCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPointCallback" "', argument " "3"" of type '" "SoPointCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPointCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPointCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDecimationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDecimationTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDecimationType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDecimationType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoDecimationTypeElement::Type)((SoCallbackAction const *)arg1)->getDecimationType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDecimationPercentage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDecimationPercentage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDecimationPercentage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getDecimationPercentage(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getComplexity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getComplexity" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getComplexity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getComplexityType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoComplexity::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getComplexityType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getComplexityType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoComplexity::Type)((SoCallbackAction const *)arg1)->getComplexityType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getNumCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCoordinate4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCoordinate4" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getCoordinate4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCallbackAction const *)arg1)->getCoordinate4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDrawStyle::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDrawStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDrawStyle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoDrawStyle::Style)((SoCallbackAction const *)arg1)->getDrawStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLinePattern" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (unsigned short)((SoCallbackAction const *)arg1)->getLinePattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLineWidth" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getPointSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getPointSize" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getPointSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFontName" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbName const &_result_ref = ((SoCallbackAction const *)arg1)->getFontName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFontSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFontSize" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getFontSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLightModel::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLightModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLightModel" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoLightModel::Model)((SoCallbackAction const *)arg1)->getLightModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLightAttenuation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLightAttenuation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLightAttenuation" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getLightAttenuation(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterialBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMaterialBinding::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterialBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterialBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoMaterialBinding::Binding)((SoCallbackAction const *)arg1)->getMaterialBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumNormals" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getNumNormals(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNormal" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getNormal" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getNormal(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNormalBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalBinding::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNormalBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNormalBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoNormalBinding::Binding)((SoCallbackAction const *)arg1)->getNormalBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumProfileCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumProfileCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumProfileCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getNumProfileCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfileCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfileCoordinate2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfileCoordinate2" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getProfileCoordinate2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoCallbackAction const *)arg1)->getProfileCoordinate2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfileCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfileCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfileCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getProfileCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getProfileCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfile" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SoNodeList const &_result_ref = ((SoCallbackAction const *)arg1)->getProfile(); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHints::VertexOrdering result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getVertexOrdering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getVertexOrdering" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::VertexOrdering)((SoCallbackAction const *)arg1)->getVertexOrdering(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHints::ShapeType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getShapeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getShapeType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::ShapeType)((SoCallbackAction const *)arg1)->getShapeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeHints::FaceType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFaceType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFaceType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::FaceType)((SoCallbackAction const *)arg1)->getFaceType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCreaseAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCreaseAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCreaseAngle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getCreaseAngle(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumTextureCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumTextureCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumTextureCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getNumTextureCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate2" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate4" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinateBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateBinding::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinateBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinateBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTextureCoordinateBinding::Binding)((SoCallbackAction const *)arg1)->getTextureCoordinateBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureBlendColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureBlendColor" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbColor const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureBlendColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureImage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SoCallbackAction const *)arg1)->getTextureImage(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureImage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SoCallbackAction const *)arg1)->getTextureImage(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getTextureImage__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getTextureImage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_getTextureImage'.\n" - " Possible C/C++ prototypes are:\n" - " getTextureImage(SoCallbackAction const *,SbVec2s &,int &)\n" - " getTextureImage(SoCallbackAction const *,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTexture2::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureModel" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Model)((SoCallbackAction const *)arg1)->getTextureModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTexture2::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapS" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapS(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTexture2::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapT" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapT(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTexture2::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapR" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapR(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getModelMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getModelMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getModelMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getModelMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoUnits::Units result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getUnits",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getUnits" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoUnits::Units)((SoCallbackAction const *)arg1)->getUnits(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFocalDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFocalDistance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFocalDistance" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getFocalDistance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProjectionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProjectionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProjectionMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getProjectionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewingMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewingMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewingMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getViewingMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewVolume" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbViewVolume const &_result_ref = ((SoCallbackAction const *)arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewportRegion" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoCallbackAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getPickStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickStyle::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getPickStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getPickStyle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoPickStyle::Style)((SoCallbackAction const *)arg1)->getPickStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getSwitch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getSwitch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getSwitch" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getSwitch(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCurrentResponse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCallbackAction::Response result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCurrentResponse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCurrentResponse" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoCallbackAction::Response)((SoCallbackAction const *)arg1)->getCurrentResponse(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePreCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePreCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePreCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePreCallbacks" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->invokePreCallbacks((SoNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePostCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePostCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePostCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePostCallbacks" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->invokePostCallbacks((SoNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokeTriangleCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg4 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg5 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokeTriangleCallbacks",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "4"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg4 = reinterpret_cast< SoPrimitiveVertex * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "5"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg5 = reinterpret_cast< SoPrimitiveVertex * >(argp5); - (arg1)->invokeTriangleCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3,(SoPrimitiveVertex const *)arg4,(SoPrimitiveVertex const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokeLineSegmentCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg4 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokeLineSegmentCallbacks",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "4"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg4 = reinterpret_cast< SoPrimitiveVertex * >(argp4); - (arg1)->invokeLineSegmentCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3,(SoPrimitiveVertex const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePointCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePointCallbacks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->invokePointCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_shouldGeneratePrimitives(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_shouldGeneratePrimitives",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_shouldGeneratePrimitives" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_shouldGeneratePrimitives" "', argument " "2"" of type '" "SoShape const *""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - result = (SbBool)((SoCallbackAction const *)arg1)->shouldGeneratePrimitives((SoShape const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCurPathTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCurPathTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCurPathTail" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoNode *)(arg1)->getCurPathTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_setCurrentNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_setCurrentNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_setCurrentNode" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_setCurrentNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setCurrentNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_setCallbackAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_setCallbackAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_setCallbackAll" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_setCallbackAll" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCallbackAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_isCallbackAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_isCallbackAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_isCallbackAll" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SbBool)((SoCallbackAction const *)arg1)->isCallbackAll(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterial" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getMaterial" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (PyObject *)SoCallbackAction_getMaterial__SWIG_0(arg1,arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterial" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (PyObject *)SoCallbackAction_getMaterial__SWIG_0(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getMaterial__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCallbackAction_getMaterial__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_getMaterial'.\n" - " Possible C/C++ prototypes are:\n" - " getMaterial(SoCallbackAction *,int const)\n" - " getMaterial(SoCallbackAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPreCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPreCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPreCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPreCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPreCallback(SoCallbackAction *,SoType const,SoCallbackAction::SoCallbackActionCB *,void *)\n" - " addPreCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPostCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPostCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPostCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPostCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPostCallback(SoCallbackAction *,SoType const,SoCallbackAction::SoCallbackActionCB *,void *)\n" - " addPostCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallbackAction_addPreTailCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPreTailCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPreTailCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPreTailCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPreTailCallback(SoCallbackAction *,SoCallbackAction::SoCallbackActionCB *,void *)\n" - " addPreTailCallback(SoCallbackAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallbackAction_addPostTailCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPostTailCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPostTailCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPostTailCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPostTailCallback(SoCallbackAction *,SoCallbackAction::SoCallbackActionCB *,void *)\n" - " addPostTailCallback(SoCallbackAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addTriangleCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addTriangleCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addTriangleCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addTriangleCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addTriangleCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addTriangleCallback(SoCallbackAction *,SoType const,SoTriangleCB *,void *)\n" - " addTriangleCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addLineSegmentCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addLineSegmentCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addLineSegmentCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addLineSegmentCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addLineSegmentCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addLineSegmentCallback(SoCallbackAction *,SoType const,SoLineSegmentCB *,void *)\n" - " addLineSegmentCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPointCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPointCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPointCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPointCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPointCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPointCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPointCallback(SoCallbackAction *,SoType const,SoPointCB *,void *)\n" - " addPointCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCallbackAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallbackAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",0,0)) SWIG_fail; - result = (SbVec2f *)new SbVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - float temp1[2] ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2f *)new SbVec2f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbVec2f *)new SbVec2f(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (SbVec2f *)new SbVec2f((SbVec2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (SbVec2f *)new SbVec2f((SbVec2b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = (SbVec2f *)new SbVec2f((SbVec2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2f" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (SbVec2f *)new SbVec2f((SbVec2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2f__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2f__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2f__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2f__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2f__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2f'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2f()\n" - " SbVec2f(float const [2])\n" - " SbVec2f(float,float)\n" - " SbVec2f(SbVec2d const &)\n" - " SbVec2f(SbVec2b const &)\n" - " SbVec2f(SbVec2s const &)\n" - " SbVec2f(SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbVec2f &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2f &_result_ref = (arg1)->setValue((SbVec2d const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - arg2 = reinterpret_cast< SbVec2b * >(argp2); - { - SbVec2f &_result_ref = (arg1)->setValue((SbVec2b const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2f &_result_ref = (arg1)->setValue((SbVec2s const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2f &_result_ref = (arg1)->setValue((SbVec2i32 const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2f *,float const [2])\n" - " setValue(SbVec2f *,float,float)\n" - " setValue(SbVec2f *,SbVec2d const &)\n" - " setValue(SbVec2f *,SbVec2b const &)\n" - " setValue(SbVec2f *,SbVec2s const &)\n" - " setValue(SbVec2f *,SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_getValue" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ((SbVec2f const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_dot" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_dot" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_dot" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (float)((SbVec2f const *)arg1)->dot((SbVec2f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_equals" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_equals" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_equals" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec2f const *)arg1)->equals((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_length" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (float)((SbVec2f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_sqrLength" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (float)((SbVec2f const *)arg1)->sqrLength(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_negate" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_normalize" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___imul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec2f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___idiv__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec2f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___iadd__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___iadd__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___iadd__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2f &_result_ref = (arg1)->operator +=((SbVec2f const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___isub__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___isub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___isub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2f &_result_ref = (arg1)->operator -=((SbVec2f const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___neg__" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = ((SbVec2f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_output" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___add__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___add__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___add__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = SbVec2f___add__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___sub__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___sub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___sub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = SbVec2f___sub__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___mul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___rmul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___div__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___eq__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___eq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___eq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)SbVec2f___eq__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___nq__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___nq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___nq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)SbVec2f___nq__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___getitem__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec2f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___setitem__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec2f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2f" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",0,0)) SWIG_fail; - result = (SbViewportRegion *)new SbViewportRegion(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbViewportRegion" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbViewportRegion *)new SbViewportRegion(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbVec2s""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SbViewportRegion *)new SbViewportRegion(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SbViewportRegion *)new SbViewportRegion((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbViewportRegion__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbViewportRegion'.\n" - " Possible C/C++ prototypes are:\n" - " SbViewportRegion()\n" - " SbViewportRegion(short,short)\n" - " SbViewportRegion(SbVec2s)\n" - " SbViewportRegion(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setWindowSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setWindowSize" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setWindowSize" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->setWindowSize(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setWindowSize" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setWindowSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setWindowSize__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setWindowSize__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setWindowSize'.\n" - " Possible C/C++ prototypes are:\n" - " setWindowSize(SbViewportRegion *,short,short)\n" - " setWindowSize(SbViewportRegion *,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewport",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewport" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewportRegion_setViewport" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewportRegion_setViewport" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setViewport(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2f arg2 ; - SbVec2f arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewport",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewport" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "SbVec2f""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "SbVec2f""'"); - } else { - SbVec2f * temp = reinterpret_cast< SbVec2f * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "SbVec2f""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "SbVec2f""'"); - } else { - SbVec2f * temp = reinterpret_cast< SbVec2f * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setViewport(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setViewport__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setViewport__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setViewport'.\n" - " Possible C/C++ prototypes are:\n" - " setViewport(SbViewportRegion *,float,float,float,float)\n" - " setViewport(SbViewportRegion *,SbVec2f,SbVec2f)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewportPixels",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setViewportPixels(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s arg2 ; - SbVec2s arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewportPixels",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "SbVec2s""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setViewportPixels(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setViewportPixels__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setViewportPixels__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setViewportPixels'.\n" - " Possible C/C++ prototypes are:\n" - " setViewportPixels(SbViewportRegion *,short,short,short,short)\n" - " setViewportPixels(SbViewportRegion *,SbVec2s,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getWindowSize" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getWindowSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportOrigin" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2f const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportOrigin(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportOriginPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportOriginPixels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportOriginPixels" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportOriginPixels(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportSize" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2f const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportSize(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportSizePixels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportSizePixels" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportSizePixels(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportAspectRatio" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getViewportAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_scaleWidth" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_scaleWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_scaleHeight" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setPixelsPerInch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setPixelsPerInch" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setPixelsPerInch" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPixelsPerInch(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getPixelsPerInch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getPixelsPerInch" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getPixelsPerInch(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getPixelsPerPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getPixelsPerPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getPixelsPerPoint" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getPixelsPerPoint(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_output" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbViewportRegion const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion___eq__" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion___eq__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion___eq__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = (int)SbViewportRegion___eq__(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion___ne__" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion___ne__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion___ne__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = (int)SbViewportRegion___ne__(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbViewportRegion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbViewportRegion, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getTypeId" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = ((SoGLRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGLRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGLRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_initClass",0,0)) SWIG_fail; - SoGLRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGLRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGLRenderAction *)new SoGLRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLRenderAction" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getViewportRegion" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGLRenderAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setUpdateArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setUpdateArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setUpdateArea((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getUpdateArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getUpdateArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ((SoGLRenderAction const *)arg1)->getUpdateArea(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SoGLRenderAbortCB *arg2 = (SoGLRenderAction::SoGLRenderAbortCB *) (SoGLRenderAction::SoGLRenderAbortCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setAbortCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "2"" of type '" "SoGLRenderAction::SoGLRenderAbortCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setAbortCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getAbortCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SoGLRenderAbortCB **arg2 = 0 ; - void **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getAbortCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getAbortCallback" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_f_p_void__SoGLRenderAction__AbortCode, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_getAbortCallback" "', argument " "2"" of type '" "SoGLRenderAction::SoGLRenderAbortCB *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getAbortCallback" "', argument " "2"" of type '" "SoGLRenderAction::SoGLRenderAbortCB *&""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction::SoGLRenderAbortCB ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_getAbortCallback" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getAbortCallback" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - ((SoGLRenderAction const *)arg1)->getAbortCallback(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::TransparencyType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setTransparencyType" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setTransparencyType" "', argument " "2"" of type '" "SoGLRenderAction::TransparencyType""'"); - } - arg2 = static_cast< SoGLRenderAction::TransparencyType >(val2); - (arg1)->setTransparencyType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction::TransparencyType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getTransparencyType" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SoGLRenderAction::TransparencyType)((SoGLRenderAction const *)arg1)->getTransparencyType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setTransparentDelayedObjectRenderType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::TransparentDelayedObjectRenderType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setTransparentDelayedObjectRenderType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setTransparentDelayedObjectRenderType" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setTransparentDelayedObjectRenderType" "', argument " "2"" of type '" "SoGLRenderAction::TransparentDelayedObjectRenderType""'"); - } - arg2 = static_cast< SoGLRenderAction::TransparentDelayedObjectRenderType >(val2); - (arg1)->setTransparentDelayedObjectRenderType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getTransparentDelayedObjectRenderType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction::TransparentDelayedObjectRenderType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getTransparentDelayedObjectRenderType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getTransparentDelayedObjectRenderType" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SoGLRenderAction::TransparentDelayedObjectRenderType)((SoGLRenderAction const *)arg1)->getTransparentDelayedObjectRenderType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSmoothing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSmoothing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSmoothing" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSmoothing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setSmoothing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isSmoothing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isSmoothing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isSmoothing" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isSmoothing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setNumPasses",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setNumPasses" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setNumPasses" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumPasses(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getNumPasses",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getNumPasses" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getNumPasses(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassUpdate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassUpdate" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setPassUpdate" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPassUpdate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isPassUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isPassUpdate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isPassUpdate" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isPassUpdate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderPassCB *arg2 = (SoGLRenderPassCB *) (SoGLRenderPassCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "2"" of type '" "SoGLRenderPassCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setPassCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setCacheContext",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setCacheContext" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setCacheContext" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setCacheContext(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getCacheContext",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getCacheContext" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = ((SoGLRenderAction const *)arg1)->getCacheContext(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addDelayedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addDelayedPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addDelayedPath" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_addDelayedPath" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addDelayedPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isRenderingDelayedPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isRenderingDelayedPaths",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isRenderingDelayedPaths" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isRenderingDelayedPaths(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_handleTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->handleTransparency(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_handleTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)(arg1)->handleTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_handleTransparency__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLRenderAction_handleTransparency__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_handleTransparency'.\n" - " Possible C/C++ prototypes are:\n" - " handleTransparency(SoGLRenderAction *,SbBool)\n" - " handleTransparency(SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setCurPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setCurPass",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setCurPass" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setCurPass" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLRenderAction_setCurPass" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setCurPass(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getCurPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getCurPass",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getCurPass" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getCurPass(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_abortNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_abortNow",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_abortNow" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)(arg1)->abortNow(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setRenderingIsRemote(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setRenderingIsRemote",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setRenderingIsRemote" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setRenderingIsRemote" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setRenderingIsRemote(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getRenderingIsRemote(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getRenderingIsRemote",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getRenderingIsRemote" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->getRenderingIsRemote(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_invalidateState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_invalidateState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_invalidateState" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - (arg1)->invalidateState(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLPreRenderCB *arg2 = (SoGLPreRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "2"" of type '" "SoGLPreRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLPreRenderCB *arg2 = (SoGLPreRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "2"" of type '" "SoGLPreRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removePreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedLayersNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSortedLayersNumPasses",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSortedLayersNumPasses" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSortedLayersNumPasses" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setSortedLayersNumPasses(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getSortedLayersNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getSortedLayersNumPasses",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getSortedLayersNumPasses" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getSortedLayersNumPasses(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SortedObjectOrderStrategy arg2 ; - SoGLSortedObjectOrderCB *arg3 = (SoGLSortedObjectOrderCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSortedObjectOrderStrategy",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "2"" of type '" "SoGLRenderAction::SortedObjectOrderStrategy""'"); - } - arg2 = static_cast< SoGLRenderAction::SortedObjectOrderStrategy >(val2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "3"" of type '" "SoGLSortedObjectOrderCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->setSortedObjectOrderStrategy(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SortedObjectOrderStrategy arg2 ; - SoGLSortedObjectOrderCB *arg3 = (SoGLSortedObjectOrderCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSortedObjectOrderStrategy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "2"" of type '" "SoGLRenderAction::SortedObjectOrderStrategy""'"); - } - arg2 = static_cast< SoGLRenderAction::SortedObjectOrderStrategy >(val2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "3"" of type '" "SoGLSortedObjectOrderCB *""'"); - } - } - (arg1)->setSortedObjectOrderStrategy(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SortedObjectOrderStrategy arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSortedObjectOrderStrategy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSortedObjectOrderStrategy" "', argument " "2"" of type '" "SoGLRenderAction::SortedObjectOrderStrategy""'"); - } - arg2 = static_cast< SoGLRenderAction::SortedObjectOrderStrategy >(val2); - (arg1)->setSortedObjectOrderStrategy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedObjectOrderStrategy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setSortedObjectOrderStrategy__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_setSortedObjectOrderStrategy'.\n" - " Possible C/C++ prototypes are:\n" - " setSortedObjectOrderStrategy(SoGLRenderAction *,SoGLRenderAction::SortedObjectOrderStrategy const,SoGLSortedObjectOrderCB *,void *)\n" - " setSortedObjectOrderStrategy(SoGLRenderAction *,SoGLRenderAction::SortedObjectOrderStrategy const,SoGLSortedObjectOrderCB *)\n" - " setSortedObjectOrderStrategy(SoGLRenderAction *,SoGLRenderAction::SortedObjectOrderStrategy const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setDelayedObjDepthWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setDelayedObjDepthWrite",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setDelayedObjDepthWrite" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setDelayedObjDepthWrite" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDelayedObjDepthWrite(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getDelayedObjDepthWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getDelayedObjDepthWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getDelayedObjDepthWrite" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->getDelayedObjDepthWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isRenderingTranspPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isRenderingTranspPaths",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isRenderingTranspPaths" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isRenderingTranspPaths(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isRenderingTranspBackfaces(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isRenderingTranspBackfaces",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isRenderingTranspBackfaces" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isRenderingTranspBackfaces(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_setPassCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setPassCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_setPassCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_setPassCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setPassCallback(SoGLRenderAction *,SoGLRenderPassCB *const,void *const)\n" - " setPassCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setAbortCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_setAbortCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setAbortCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_setAbortCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_setAbortCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setAbortCallback(SoGLRenderAction *,SoGLRenderAction::SoGLRenderAbortCB *const,void *const)\n" - " setAbortCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_addPreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_addPreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_addPreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_addPreRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPreRenderCallback(SoGLRenderAction *,SoGLPreRenderCB *,void *)\n" - " addPreRenderCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_removePreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_removePreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_removePreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_removePreRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removePreRenderCallback(SoGLRenderAction *,SoGLPreRenderCB *,void *)\n" - " removePreRenderCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getTypeId" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = ((SoBoxHighlightRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoBoxHighlightRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoBoxHighlightRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoBoxHighlightRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_initClass",0,0)) SWIG_fail; - SoBoxHighlightRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoxHighlightRenderAction",0,0)) SWIG_fail; - result = (SoBoxHighlightRenderAction *)new SoBoxHighlightRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBoxHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoxHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoBoxHighlightRenderAction *)new SoBoxHighlightRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoBoxHighlightRenderAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoBoxHighlightRenderAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoBoxHighlightRenderAction'.\n" - " Possible C/C++ prototypes are:\n" - " SoBoxHighlightRenderAction()\n" - " SoBoxHighlightRenderAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBoxHighlightRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBoxHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBoxHighlightRenderAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoBoxHighlightRenderAction *,SoNode *)\n" - " apply(SoBoxHighlightRenderAction *,SoPath *)\n" - " apply(SoBoxHighlightRenderAction *,SoPathList const &,SbBool)\n" - " apply(SoBoxHighlightRenderAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setVisible",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setVisible" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setVisible" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVisible(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_isVisible" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (SbBool)((SoBoxHighlightRenderAction const *)arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getColor" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - { - SbColor const &_result_ref = (arg1)->getColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setLinePattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setLinePattern" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setLinePattern" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setLinePattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getLinePattern" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (unsigned short)((SoBoxHighlightRenderAction const *)arg1)->getLinePattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setLineWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setLineWidth" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setLineWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLineWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getLineWidth" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (float)((SoBoxHighlightRenderAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoxHighlightRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getTypeId" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = ((SoLineHighlightRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoLineHighlightRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoLineHighlightRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoLineHighlightRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_initClass",0,0)) SWIG_fail; - SoLineHighlightRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineHighlightRenderAction",0,0)) SWIG_fail; - result = (SoLineHighlightRenderAction *)new SoLineHighlightRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLineHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoLineHighlightRenderAction *)new SoLineHighlightRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLineHighlightRenderAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoLineHighlightRenderAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLineHighlightRenderAction'.\n" - " Possible C/C++ prototypes are:\n" - " SoLineHighlightRenderAction()\n" - " SoLineHighlightRenderAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLineHighlightRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLineHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLineHighlightRenderAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoLineHighlightRenderAction *,SoNode *)\n" - " apply(SoLineHighlightRenderAction *,SoPath *)\n" - " apply(SoLineHighlightRenderAction *,SoPathList const &,SbBool)\n" - " apply(SoLineHighlightRenderAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setVisible",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setVisible" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_setVisible" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVisible(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_isVisible" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = (SbBool)((SoLineHighlightRenderAction const *)arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getColor" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - { - SbColor const &_result_ref = (arg1)->getColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - uint16_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setLinePattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setLinePattern" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint16_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_setLinePattern" "', argument " "2"" of type '" "uint16_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_setLinePattern" "', argument " "2"" of type '" "uint16_t""'"); - } else { - uint16_t * temp = reinterpret_cast< uint16_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setLinePattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint16_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getLinePattern" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = ((SoLineHighlightRenderAction const *)arg1)->getLinePattern(); - resultobj = SWIG_NewPointerObj((new uint16_t(static_cast< const uint16_t& >(result))), SWIGTYPE_p_uint16_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setLineWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setLineWidth" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_setLineWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLineWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getLineWidth" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = (float)((SoLineHighlightRenderAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineHighlightRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",0,0)) SWIG_fail; - result = (SbBox3f *)new SbBox3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3f" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3f" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - result = (SbBox3f *)new SbBox3f(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBox3f *)new SbBox3f((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (SbBox3f *)new SbBox3f((SbBox3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (SbBox3f *)new SbBox3f((SbBox3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (SbBox3f *)new SbBox3f((SbBox3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3f__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3f__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3f__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3f__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3f'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox3f()\n" - " SbBox3f(float,float,float,float,float,float)\n" - " SbBox3f(SbVec3f const &,SbVec3f const &)\n" - " SbBox3f(SbBox3d const &)\n" - " SbBox3f(SbBox3s const &)\n" - " SbBox3f(SbBox3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3f_setBounds" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3f_setBounds" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3f_setBounds" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3f_setBounds" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - { - SbBox3f &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbBox3f &_result_ref = (arg1)->setBounds((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - { - SbBox3f &_result_ref = (arg1)->setBounds((SbBox3d const &)*arg2); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - { - SbBox3f &_result_ref = (arg1)->setBounds((SbBox3s const &)*arg2); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - { - SbBox3f &_result_ref = (arg1)->setBounds((SbBox3i32 const &)*arg2); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox3f *,float,float,float,float,float,float)\n" - " setBounds(SbBox3f *,SbVec3f const &,SbVec3f const &)\n" - " setBounds(SbBox3f *,SbBox3d const &)\n" - " setBounds(SbBox3f *,SbBox3s const &)\n" - " setBounds(SbBox3f *,SbBox3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - float *arg6 = 0 ; - float *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getBounds" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - arg5 = reinterpret_cast< float * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3f_getBounds" "', argument " "6"" of type '" "float &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "6"" of type '" "float &""'"); - } - arg6 = reinterpret_cast< float * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3f_getBounds" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ((SbBox3f const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getBounds" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbBox3f const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox3f const *,float &,float &,float &,float &,float &,float &)\n" - " getBounds(SbBox3f const *,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMin" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f const &_result_ref = ((SbBox3f const *)arg1)->getMin(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMin" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f &_result_ref = (arg1)->getMin(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox3f const *)\n" - " getMin(SbBox3f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMax" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f const &_result_ref = ((SbBox3f const *)arg1)->getMax(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMax" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f &_result_ref = (arg1)->getMax(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox3f const *)\n" - " getMax(SbBox3f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_extendBy" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->extendBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_extendBy" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox3f *,SbVec3f const &)\n" - " extendBy(SbBox3f *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_transform" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_makeEmpty" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_isEmpty" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBool)((SbBox3f const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_hasVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_hasVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_hasVolume" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBool)((SbBox3f const *)arg1)->hasVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getVolume" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (float)((SbBox3f const *)arg1)->getVolume(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_intersect" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbBox3f const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_intersect" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbBox3f const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox3f const *,SbVec3f const &)\n" - " intersect(SbBox3f const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getClosestPoint" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbBox3f const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_outside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_outside",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_outside" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_outside" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_outside" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)((SbBox3f const *)arg1)->outside((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getCenter" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = ((SbBox3f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getOrigin" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getOrigin" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getSize" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getSize" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getSize" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getSize" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getSize(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getSize" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = ((SbBox3f const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getSize__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getSize__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getSize'.\n" - " Possible C/C++ prototypes are:\n" - " getSize(SbBox3f const *,float &,float &,float &)\n" - " getSize(SbBox3f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getSpan" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getSpan((SbVec3f const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_output" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbBox3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f___eq__" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f___eq__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f___eq__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (int)SbBox3f___eq__(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f___ne__" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f___ne__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f___ne__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (int)SbBox3f___ne__(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3f" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",0,0)) SWIG_fail; - result = (SbMatrix *)new SbMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",16,16,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbMatrix" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbMatrix" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbMatrix" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbMatrix" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbMatrix" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbMatrix" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SbMatrix" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SbMatrix" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SbMatrix" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_SbMatrix" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_SbMatrix" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SbMatrix" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SbMatrix" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SbMatrix" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SbMatrix" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "new_SbMatrix" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - result = (SbMatrix *)new SbMatrix(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMat *arg1 = 0 ; - SbMat temp1 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",1,1,&obj0)) SWIG_fail; - { - convert_SbMat_array(obj0, temp1); - arg1 = &temp1; - } - result = (SbMatrix *)new SbMatrix((SbMat const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMat *arg1 = (SbMat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_a_4__a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbMatrix" "', argument " "1"" of type '" "SbMat const *""'"); - } - arg1 = reinterpret_cast< SbMat * >(argp1); - result = (SbMatrix *)new SbMatrix((SbMat const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[17]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 16); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbMatrix__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_4__a_4__float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbMatrix__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbMatrix__SWIG_2(self, args); - } - } - if (argc == 16) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbMatrix__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbMatrix'.\n" - " Possible C/C++ prototypes are:\n" - " SbMatrix()\n" - " SbMatrix(float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n" - " SbMatrix(SbMat const &)\n" - " SbMatrix(SbMat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbMatrix" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setValue" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - convert_SbMat_array(obj1, temp2); - arg2 = &temp2; - } - (arg1)->setValue((SbMat const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setValue" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - (arg1)->setValue((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbMatrix_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbMatrix *,SbMat const &)\n" - " setValue(SbMatrix *,SbDPMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getValue" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - SbMat const &_result_ref = ((SbMatrix const *)arg1)->getValue(); - result = (SbMat *) &_result_ref; - } - { - resultobj = Py_BuildValue("([ffff][ffff][ffff][ffff])", - (double)(*result)[0][0], - (double)(*result)[0][1], - (double)(*result)[0][2], - (double)(*result)[0][3], - - (double)(*result)[1][0], - (double)(*result)[1][1], - (double)(*result)[1][2], - (double)(*result)[1][3], - - (double)(*result)[2][0], - (double)(*result)[2][1], - (double)(*result)[2][2], - (double)(*result)[2][3], - - (double)(*result)[3][0], - (double)(*result)[3][1], - (double)(*result)[3][2], - (double)(*result)[3][3]); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_makeIdentity" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - (arg1)->makeIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setRotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setRotate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setRotate" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setRotate" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setRotate" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setRotate((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_inverse" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = ((SbMatrix const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - int arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det3",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det3" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix_det3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbMatrix_det3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbMatrix_det3" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbMatrix_det3" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbMatrix_det3" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbMatrix_det3" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - result = (float)((SbMatrix const *)arg1)->det3(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det3" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (float)((SbMatrix const *)arg1)->det3(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_det3__SWIG_1(self, args); - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbMatrix_det3__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_det3'.\n" - " Possible C/C++ prototypes are:\n" - " det3(SbMatrix const *,int,int,int,int,int,int)\n" - " det3(SbMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det4" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (float)((SbMatrix const *)arg1)->det4(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_equals" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_equals" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_equals" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbMatrix_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbMatrix const *)arg1)->equals((SbMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___imul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___imul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___imul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->operator *=((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getValue" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - convert_SbMat_array(obj1, temp2); - arg2 = &temp2; - } - ((SbMatrix const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbMatrix_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbMatrix const *)\n" - " getValue(SbMatrix const *,SbMat &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_identity",0,0)) SWIG_fail; - result = SbMatrix::identity(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setScale" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setScale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setScale" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setScale((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setScale__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbMatrix_setScale__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_setScale'.\n" - " Possible C/C++ prototypes are:\n" - " setScale(SbMatrix *,float const)\n" - " setScale(SbMatrix *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTranslate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTranslate" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTranslate((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4,(SbRotation const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbMatrix_setTransform" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4,(SbRotation const &)*arg5,(SbVec3f const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_0(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_2(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_setTransform'.\n" - " Possible C/C++ prototypes are:\n" - " setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &)\n" - " setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &,SbRotation const &)\n" - " setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &,SbRotation const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_getTransform" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_getTransform" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_getTransform" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - ((SbMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_factor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - SbMatrix *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_factor",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_factor" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_factor" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_factor" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_factor" "', argument " "4"" of type '" "SbMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "4"" of type '" "SbMatrix &""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_factor" "', argument " "5"" of type '" "SbVec3f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "5"" of type '" "SbVec3f &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbMatrix_factor" "', argument " "6"" of type '" "SbMatrix &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "6"" of type '" "SbMatrix &""'"); - } - arg6 = reinterpret_cast< SbMatrix * >(argp6); - result = (SbBool)(arg1)->factor(*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_LUDecomposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int *arg2 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_LUDecomposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_LUDecomposition" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_LUDecomposition" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_LUDecomposition" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_LUDecomposition" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - result = (SbBool)(arg1)->LUDecomposition(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_LUBackSubstitution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int *arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_LUBackSubstitution",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "3"" of type '" "float [4]""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SbMatrix const *)arg1)->LUBackSubstitution(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_transpose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_transpose" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = ((SbMatrix const *)arg1)->transpose(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multRight" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->multRight((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multLeft" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->multLeft((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multMatrixVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multMatrixVec",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multMatrixVec" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multMatrixVec((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multVecMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multVecMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multVecMatrix((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multDirMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multDirMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multDirMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multDirMatrix((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multLineMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbLine *arg2 = 0 ; - SbLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multLineMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multLineMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multLineMatrix" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLineMatrix" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_multLineMatrix" "', argument " "3"" of type '" "SbLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLineMatrix" "', argument " "3"" of type '" "SbLine &""'"); - } - arg3 = reinterpret_cast< SbLine * >(argp3); - ((SbMatrix const *)arg1)->multLineMatrix((SbLine const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec4f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multVecMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multVecMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ((SbMatrix const *)arg1)->multVecMatrix((SbVec4f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec4f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_multVecMatrix__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_multVecMatrix__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_multVecMatrix'.\n" - " Possible C/C++ prototypes are:\n" - " multVecMatrix(SbMatrix const *,SbVec3f const &,SbVec3f &)\n" - " multVecMatrix(SbMatrix const *,SbVec4f const &,SbVec4f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_output" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbMatrix const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (PyObject *)SbMatrix_getTransform__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (PyObject *)SbMatrix_getTransform__SWIG_2(arg1,*arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_getTransform'.\n" - " Possible C/C++ prototypes are:\n" - " getTransform(SbMatrix const *,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &)\n" - " getTransform(SbMatrix *)\n" - " getTransform(SbMatrix *,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___mul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbMatrix___mul____SWIG_0(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___mul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbMatrix___mul____SWIG_1(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___rmul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___rmul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___rmul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbMatrix___rmul__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___eq__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___eq__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___eq__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)SbMatrix___eq__(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___ne__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___ne__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___ne__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)SbMatrix___ne__(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___getitem__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float *)SbMatrix___getitem__(arg1,arg2); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",0,0)) SWIG_fail; - result = (SbXfBox3f *)new SbXfBox3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbXfBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbXfBox3f *)new SbXfBox3f((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbXfBox3f *)new SbXfBox3f((SbBox3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbXfBox3f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbXfBox3f__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbXfBox3f__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbXfBox3f'.\n" - " Possible C/C++ prototypes are:\n" - " SbXfBox3f()\n" - " SbXfBox3f(SbVec3f const &,SbVec3f const &)\n" - " SbXfBox3f(SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbXfBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbXfBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbXfBox3f" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_setTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_setTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_setTransform" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_setTransform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_setTransform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setTransform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getTransform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getTransform" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - SbMatrix const &_result_ref = ((SbXfBox3f const *)arg1)->getTransform(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getInverse" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - SbMatrix const &_result_ref = ((SbXfBox3f const *)arg1)->getInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getCenter" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = ((SbXfBox3f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->extendBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - (arg1)->extendBy((SbXfBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbXfBox3f_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbXfBox3f *,SbVec3f const &)\n" - " extendBy(SbXfBox3f *,SbBox3f const &)\n" - " extendBy(SbXfBox3f *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbXfBox3f_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbXfBox3f const *,SbVec3f const &)\n" - " intersect(SbXfBox3f const *,SbBox3f const &)\n" - " intersect(SbXfBox3f const *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getSpan" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbXfBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbXfBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbXfBox3f const *)arg1)->getSpan((SbVec3f const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_project",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_project" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = ((SbXfBox3f const *)arg1)->project(); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_transform" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getVolume" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = (float)((SbXfBox3f const *)arg1)->getVolume(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_output" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbXfBox3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f___eq__" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f___eq__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f___eq__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (int)SbXfBox3f___eq__(arg1,(SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f___ne__" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f___ne__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f___ne__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (int)SbXfBox3f___ne__(arg1,(SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbXfBox3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbXfBox3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getTypeId" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = ((SoGetBoundingBoxAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetBoundingBoxAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetBoundingBoxAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetBoundingBoxAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_initClass",0,0)) SWIG_fail; - SoGetBoundingBoxAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetBoundingBoxAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGetBoundingBoxAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetBoundingBoxAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGetBoundingBoxAction *)new SoGetBoundingBoxAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetBoundingBoxAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetBoundingBoxAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getViewportRegion" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGetBoundingBoxAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getBoundingBox" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = ((SoGetBoundingBoxAction const *)arg1)->getBoundingBox(); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getXfBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getXfBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getXfBoundingBox" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbXfBox3f &_result_ref = (arg1)->getXfBoundingBox(); - result = (SbXfBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbVec3f const &_result_ref = ((SoGetBoundingBoxAction const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setInCameraSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setInCameraSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setInCameraSpace" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetBoundingBoxAction_setInCameraSpace" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setInCameraSpace(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isInCameraSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isInCameraSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isInCameraSpace" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isInCameraSpace(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - SoGetBoundingBoxAction::ResetType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "4"" of type '" "SoGetBoundingBoxAction::ResetType""'"); - } - arg4 = static_cast< SoGetBoundingBoxAction::ResetType >(val4); - (arg1)->setResetPath((SoPath const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setResetPath((SoPath const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setResetPath((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetBoundingBoxAction_setResetPath'.\n" - " Possible C/C++ prototypes are:\n" - " setResetPath(SoGetBoundingBoxAction *,SoPath const *,SbBool const,SoGetBoundingBoxAction::ResetType const)\n" - " setResetPath(SoGetBoundingBoxAction *,SoPath const *,SbBool const)\n" - " setResetPath(SoGetBoundingBoxAction *,SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getResetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getResetPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SoPath *)((SoGetBoundingBoxAction const *)arg1)->getResetPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isResetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isResetPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isResetPath(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isResetBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isResetBefore",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isResetBefore" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isResetBefore(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getWhatReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGetBoundingBoxAction::ResetType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getWhatReset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getWhatReset" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SoGetBoundingBoxAction::ResetType)((SoGetBoundingBoxAction const *)arg1)->getWhatReset(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_checkResetBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_checkResetBefore",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_checkResetBefore" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->checkResetBefore(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_checkResetAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_checkResetAfter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_checkResetAfter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->checkResetAfter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - (arg1)->extendBy((SbXfBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_extendBy__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_extendBy__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetBoundingBoxAction_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SoGetBoundingBoxAction *,SbBox3f const &)\n" - " extendBy(SoGetBoundingBoxAction *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setCenter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setCenter((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isCenterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isCenterSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isCenterSet" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isCenterSet(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_resetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_resetCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_resetCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->resetCenter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetBoundingBoxAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",0,0)) SWIG_fail; - result = (SbVec4f *)new SbVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec4f *)new SbVec4f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbVec4f *)new SbVec4f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (SbVec4f *)new SbVec4f((SbVec4d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (SbVec4f *)new SbVec4f((SbVec4b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (SbVec4f *)new SbVec4f((SbVec4s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4f" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (SbVec4f *)new SbVec4f((SbVec4i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4f__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4f__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4f__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec4f__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4f__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4f'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4f()\n" - " SbVec4f(float const [4])\n" - " SbVec4f(float,float,float,float)\n" - " SbVec4f(SbVec4d const &)\n" - " SbVec4f(SbVec4b const &)\n" - " SbVec4f(SbVec4s const &)\n" - " SbVec4f(SbVec4i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec4f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbVec4f &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4f &_result_ref = (arg1)->setValue((SbVec4d const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - arg2 = reinterpret_cast< SbVec4b * >(argp2); - { - SbVec4f &_result_ref = (arg1)->setValue((SbVec4b const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4f &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4f &_result_ref = (arg1)->setValue((SbVec4i32 const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4f *,float const [4])\n" - " setValue(SbVec4f *,float,float,float,float)\n" - " setValue(SbVec4f *,SbVec4d const &)\n" - " setValue(SbVec4f *,SbVec4b const &)\n" - " setValue(SbVec4f *,SbVec4s const &)\n" - " setValue(SbVec4f *,SbVec4i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_getValue" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float *)((SbVec4f const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_equals" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_equals" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_equals" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec4f const *)arg1)->equals((SbVec4f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_dot" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_dot" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_dot" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (float)((SbVec4f const *)arg1)->dot((SbVec4f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_getReal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_getReal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_getReal" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_getReal" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_getReal" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbVec4f const *)arg1)->getReal(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_length" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float)((SbVec4f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_sqrLength" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float)((SbVec4f const *)arg1)->sqrLength(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_negate" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_normalize" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___imul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec4f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___idiv__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec4f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___iadd__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___iadd__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___iadd__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4f &_result_ref = (arg1)->operator +=((SbVec4f const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___isub__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___isub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___isub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4f &_result_ref = (arg1)->operator -=((SbVec4f const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___neg__" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = ((SbVec4f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_output" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec4f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___add__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___add__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___add__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = SbVec4f___add__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___sub__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___sub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___sub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = SbVec4f___sub__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___mul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___mul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbVec4f___mul____SWIG_1(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4f___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___rmul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___div__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___eq__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___eq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___eq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)SbVec4f___eq__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___nq__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___nq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___nq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)SbVec4f___nq__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___getitem__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec4f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___setitem__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec4f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4f" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",0,0)) SWIG_fail; - result = (SbRotation *)new SbRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbRotation *)new SbRotation((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbRotation *)new SbRotation((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbRotation" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbRotation" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbRotation *)new SbRotation(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (SbRotation *)new SbRotation((SbMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbRotation *)new SbRotation((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbRotation__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbRotation__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbRotation__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbRotation__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbRotation__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbRotation__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbRotation'.\n" - " Possible C/C++ prototypes are:\n" - " SbRotation()\n" - " SbRotation(SbVec3f const &,float const)\n" - " SbRotation(float const [4])\n" - " SbRotation(float const,float const,float const,float const)\n" - " SbRotation(SbMatrix const &)\n" - " SbRotation(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getValue" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - result = (float *)((SbRotation const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbRotation &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3f(); - } - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getAxisAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getAxisAngle" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ((SbRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3f, 1); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getMatrix" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ((SbRotation const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_invert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_invert" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - SbRotation &_result_ref = (arg1)->invert(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_inverse" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - result = ((SbRotation const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - { - SbRotation &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbRotation &_result_ref = (arg1)->setValue((SbMatrix const &)*arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbRotation &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,arg3); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbRotation &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation_setValue__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbRotation_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbRotation *,float const,float const,float const,float const)\n" - " setValue(SbRotation *,float const [4])\n" - " setValue(SbRotation *,SbMatrix const &)\n" - " setValue(SbRotation *,SbVec3f const &,float const)\n" - " setValue(SbRotation *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___imul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - { - SbRotation &_result_ref = (arg1)->operator *=((SbRotation const &)*arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___imul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbRotation &_result_ref = (arg1)->operator *=(arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbRotation___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbRotation *,SbRotation const &)\n" - " operator *=(SbRotation *,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_equals" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_equals" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_equals" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbRotation const *)arg1)->equals((SbRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_multVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_multVec",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_multVec" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_multVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_multVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbRotation const *)arg1)->multVec((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_scaleAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_scaleAngle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_scaleAngle" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation_scaleAngle" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleAngle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_slerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = 0 ; - SbRotation *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_slerp",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_slerp" "', argument " "1"" of type '" "SbRotation const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_slerp" "', argument " "1"" of type '" "SbRotation const &""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_slerp" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_slerp" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_slerp" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = SbRotation::slerp((SbRotation const &)*arg1,(SbRotation const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_identity",0,0)) SWIG_fail; - result = SbRotation::identity(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_output" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbRotation const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = SbRotation___mul____SWIG_0(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbRotation___mul____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbRotation___mul____SWIG_2(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___mul____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___eq__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___eq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___eq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)SbRotation___eq__(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___nq__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___nq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___nq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)SbRotation___nq__(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbRotation" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTypeId" "', argument " "1"" of type '" "SoGetMatrixAction const *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - result = ((SoGetMatrixAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetMatrixAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetMatrixAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetMatrixAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetMatrixAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetMatrixAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_initClass",0,0)) SWIG_fail; - SoGetMatrixAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetMatrixAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGetMatrixAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetMatrixAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGetMatrixAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGetMatrixAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGetMatrixAction *)new SoGetMatrixAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetMatrixAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetMatrixAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetMatrixAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetMatrixAction" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getViewportRegion" "', argument " "1"" of type '" "SoGetMatrixAction const *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGetMatrixAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getMatrix" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getInverse" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTextureMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTextureMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTextureMatrix" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getTextureMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTextureInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTextureInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTextureInverse" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getTextureInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetMatrixAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetMatrixAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTypeId" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = ((SoGetPrimitiveCountAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetPrimitiveCountAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetPrimitiveCountAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetPrimitiveCountAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_initClass",0,0)) SWIG_fail; - SoGetPrimitiveCountAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetPrimitiveCountAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetPrimitiveCountAction",0,0)) SWIG_fail; - result = (SoGetPrimitiveCountAction *)new SoGetPrimitiveCountAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetPrimitiveCountAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetPrimitiveCountAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetPrimitiveCountAction" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTriangleCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTriangleCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getTriangleCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getLineCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getLineCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getLineCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getPointCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getPointCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getPointCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getPointCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTextCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTextCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTextCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getTextCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getImageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getImageCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getImageCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getImageCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_containsNoPrimitives(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_containsNoPrimitives",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_containsNoPrimitives" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->containsNoPrimitives(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_containsNonTriangleShapes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_containsNonTriangleShapes" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->containsNonTriangleShapes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_is3DTextCountedAsTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->is3DTextCountedAsTriangles(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setCount3DTextAsTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setCount3DTextAsTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setCount3DTextAsTriangles" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCount3DTextAsTriangles(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_canApproximateCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_canApproximateCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_canApproximateCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->canApproximateCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setCanApproximate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setCanApproximate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setCanApproximate" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setCanApproximate" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCanApproximate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoDecimationTypeElement::Type arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setDecimationValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setDecimationValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoDecimationTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setDecimationValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - (arg1)->setDecimationValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetPrimitiveCountAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetPrimitiveCountAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetPrimitiveCountAction_setDecimationValue'.\n" - " Possible C/C++ prototypes are:\n" - " setDecimationValue(SoGetPrimitiveCountAction *,SoDecimationTypeElement::Type,float)\n" - " setDecimationValue(SoGetPrimitiveCountAction *,SoDecimationTypeElement::Type)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getDecimationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDecimationTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getDecimationType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getDecimationType" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SoDecimationTypeElement::Type)(arg1)->getDecimationType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getDecimationPercentage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getDecimationPercentage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getDecimationPercentage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (float)(arg1)->getDecimationPercentage(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumTriangles",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumTriangles" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumTriangles(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumLines",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumLines" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumLines" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumLines(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumPoints",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumPoints" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumPoints" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumPoints(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumText",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumText" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumText" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumText(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumImage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumImage(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumTriangles",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumTriangles(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumLines",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumLines" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumLines(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumPoints" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumPoints(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumText",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumText" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumText(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumImage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumImage(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetPrimitiveCountAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getTypeId" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = ((SoHandleEventAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleEventAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoHandleEventAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoHandleEventAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoHandleEventAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoHandleEventAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_initClass",0,0)) SWIG_fail; - SoHandleEventAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoHandleEventAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoHandleEventAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoHandleEventAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoHandleEventAction *)new SoHandleEventAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoHandleEventAction" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getViewportRegion" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoHandleEventAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setEvent" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - (arg1)->setEvent((SoEvent const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getEvent" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoEvent *)((SoHandleEventAction const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setHandled" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - (arg1)->setHandled(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_isHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_isHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_isHandled" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SbBool)((SoHandleEventAction const *)arg1)->isHandled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setGrabber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setGrabber" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setGrabber" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setGrabber(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_releaseGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_releaseGrabber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_releaseGrabber" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - (arg1)->releaseGrabber(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getGrabber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getGrabber" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoNode *)((SoHandleEventAction const *)arg1)->getGrabber(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setPickRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setPickRoot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setPickRoot" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setPickRoot" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setPickRoot(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickRoot",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickRoot" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoNode *)((SoHandleEventAction const *)arg1)->getPickRoot(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setPickRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setPickRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setPickRadius" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoHandleEventAction_setPickRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPickRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickedPoint" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoPickedPoint *)(arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickedPointList" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - { - SoPickedPointList const &_result_ref = (arg1)->getPickedPointList(); - result = (SoPickedPointList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleEventAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleEventAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_getTypeId" "', argument " "1"" of type '" "SoPickAction const *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - result = ((SoPickAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getClassTypeId",0,0)) SWIG_fail; - result = SoPickAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoPickAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoPickAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoPickAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_initClass",0,0)) SWIG_fail; - SoPickAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_setViewportRegion" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_getViewportRegion" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - { - SbViewportRegion const &_result_ref = (arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_enableCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_enableCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_enableCulling" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickAction_enableCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableCulling(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_isCullingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_isCullingEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_isCullingEnabled" "', argument " "1"" of type '" "SoPickAction const *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - result = (SbBool)((SoPickAction const *)arg1)->isCullingEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getTypeId" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = ((SoRayPickAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getClassTypeId",0,0)) SWIG_fail; - result = SoRayPickAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRayPickAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoRayPickAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoRayPickAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRayPickAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoRayPickAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRayPickAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoRayPickAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoRayPickAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoRayPickAction *)new SoRayPickAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRayPickAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoRayPickAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoRayPickAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoRayPickAction" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_initClass",0,0)) SWIG_fail; - SoRayPickAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setPoint" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setPoint" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setPoint" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPoint((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setNormalizedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setNormalizedPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setNormalizedPoint((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRadius" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_setRay" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoRayPickAction_setRay" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_setRay" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_setRay'.\n" - " Possible C/C++ prototypes are:\n" - " setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &,float,float)\n" - " setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &,float)\n" - " setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setPickAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setPickAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setPickAll" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_setPickAll" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPickAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_isPickAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_isPickAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_isPickAll" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SbBool)((SoRayPickAction const *)arg1)->isPickAll(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPointList" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SoPickedPointList const &_result_ref = ((SoRayPickAction const *)arg1)->getPickedPointList(); - result = (SoPickedPointList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)((SoRayPickAction const *)arg1)->getPickedPoint(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SoPickedPoint *)((SoRayPickAction const *)arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_getPickedPoint__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_getPickedPoint__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_getPickedPoint'.\n" - " Possible C/C++ prototypes are:\n" - " getPickedPoint(SoRayPickAction const *,int const)\n" - " getPickedPoint(SoRayPickAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_computeWorldSpaceRay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_computeWorldSpaceRay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_computeWorldSpaceRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->computeWorldSpaceRay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_hasWorldSpaceRay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_hasWorldSpaceRay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_hasWorldSpaceRay" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SbBool)((SoRayPickAction const *)arg1)->hasWorldSpaceRay(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setObjectSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setObjectSpace" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->setObjectSpace(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setObjectSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setObjectSpace" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->setObjectSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setObjectSpace__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setObjectSpace__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_setObjectSpace'.\n" - " Possible C/C++ prototypes are:\n" - " setObjectSpace(SoRayPickAction *)\n" - " setObjectSpace(SoRayPickAction *,SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - SbBool *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoRayPickAction_intersect" "', argument " "5"" of type '" "SbVec3f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "5"" of type '" "SbVec3f &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoRayPickAction_intersect" "', argument " "6"" of type '" "SbVec3f &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "6"" of type '" "SbVec3f &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoRayPickAction_intersect" "', argument " "7"" of type '" "SbBool &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "7"" of type '" "SbBool &""'"); - } - arg7 = reinterpret_cast< SbBool * >(argp7); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_6(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_5(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_1(self, args); - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SoRayPickAction const *,SbVec3f const &,SbVec3f const &,SbVec3f const &,SbVec3f &,SbVec3f &,SbBool &)\n" - " intersect(SoRayPickAction const *,SbVec3f const &,SbVec3f const &,SbVec3f &)\n" - " intersect(SoRayPickAction const *,SbVec3f const &)\n" - " intersect(SoRayPickAction *,SbBox3f const &,SbBool const)\n" - " intersect(SoRayPickAction *,SbBox3f const &)\n" - " intersect(SoRayPickAction *,SbBox3f const &,SbVec3f &,SbBool const)\n" - " intersect(SoRayPickAction *,SbBox3f const &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getViewVolume" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SbViewVolume const &_result_ref = (arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getLine" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SbLine const &_result_ref = (arg1)->getLine(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_isBetweenPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_isBetweenPlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SoRayPickAction const *)arg1)->isBetweenPlanes((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addIntersection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_addIntersection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_addIntersection" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRayPickAction_addIntersection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoPickedPoint *)(arg1)->addIntersection((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addIntersection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_addIntersection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_addIntersection" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SoPickedPoint *)(arg1)->addIntersection((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addIntersection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_addIntersection__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_addIntersection__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_addIntersection'.\n" - " Possible C/C++ prototypes are:\n" - " addIntersection(SoRayPickAction *,SbVec3f const &,SbBool)\n" - " addIntersection(SoRayPickAction *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_reset" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRayPickAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRayPickAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSearchAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getTypeId" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = ((SoSearchAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getClassTypeId",0,0)) SWIG_fail; - result = SoSearchAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSearchAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoSearchAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoSearchAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_initClass",0,0)) SWIG_fail; - SoSearchAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSearchAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSearchAction",0,0)) SWIG_fail; - result = (SoSearchAction *)new SoSearchAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSearchAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSearchAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSearchAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSearchAction" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setNode" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getNode" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoNode *)((SoSearchAction const *)arg1)->getNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setType" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSearchAction_setType" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setType(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setType" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSearchAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSearchAction_setType__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSearchAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSearchAction_setType__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSearchAction_setType'.\n" - " Possible C/C++ prototypes are:\n" - " setType(SoSearchAction *,SoType const,SbBool const)\n" - " setType(SoSearchAction *,SoType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getType" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_getType" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_getType" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - result = ((SoSearchAction const *)arg1)->getType(*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setName" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setName(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getName" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = ((SoSearchAction const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setFind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setFind",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setFind" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setFind" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFind(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getFind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getFind",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getFind" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (int)((SoSearchAction const *)arg1)->getFind(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setInterest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoSearchAction::Interest arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setInterest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setInterest" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setInterest" "', argument " "2"" of type '" "SoSearchAction::Interest""'"); - } - arg2 = static_cast< SoSearchAction::Interest >(val2); - (arg1)->setInterest(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getInterest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSearchAction::Interest result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getInterest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getInterest" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoSearchAction::Interest)((SoSearchAction const *)arg1)->getInterest(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setSearchingAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setSearchingAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setSearchingAll" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setSearchingAll" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setSearchingAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_isSearchingAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_isSearchingAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_isSearchingAll" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SbBool)((SoSearchAction const *)arg1)->isSearchingAll(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getPath" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoPath *)((SoSearchAction const *)arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getPaths",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getPaths" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - SoPathList &_result_ref = (arg1)->getPaths(); - result = (SoPathList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_reset" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setFound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setFound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setFound" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - (arg1)->setFound(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_isFound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_isFound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_isFound" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SbBool)((SoSearchAction const *)arg1)->isFound(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_addPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_addPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_addPath" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_addPath" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN int Swig_var_SoSearchAction_duringSearchAll_set(PyObject *_val) { - { - int val; - int res = SWIG_AsVal_int(_val, &val); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in variable '""SoSearchAction::duringSearchAll""' of type '""SbBool""'"); - } - SoSearchAction::duringSearchAll = static_cast< SbBool >(val); - } - return 0; -fail: - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SoSearchAction_duringSearchAll_get(void) { - PyObject *pyobj = 0; - - pyobj = SWIG_From_int(static_cast< int >(SoSearchAction::duringSearchAll)); - return pyobj; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_duringSearchAll_get(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(args)) { - return Swig_var_SoSearchAction_duringSearchAll_get(); -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_duringSearchAll_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *value; - int res; - - if (!PyArg_ParseTuple(args,(char *)"O:set",&value)) return NULL; - res = Swig_var_SoSearchAction_duringSearchAll_set(value); - return !res ? SWIG_Py_Void() : NULL; -} - - -SWIGINTERN PyObject *SoSearchAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSearchAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_getTypeId" "', argument " "1"" of type '" "SoSimplifyAction const *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - result = ((SoSimplifyAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_getClassTypeId",0,0)) SWIG_fail; - result = SoSimplifyAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSimplifyAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSimplifyAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoSimplifyAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSimplifyAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSimplifyAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoSimplifyAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_initClass",0,0)) SWIG_fail; - SoSimplifyAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSimplifyAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSimplifyAction",0,0)) SWIG_fail; - result = (SoSimplifyAction *)new SoSimplifyAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSimplifyAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSimplifyAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSimplifyAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSimplifyAction" "', argument " "1"" of type '" "SoSimplifyAction *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_apply" "', argument " "1"" of type '" "SoSimplifyAction *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_apply" "', argument " "1"" of type '" "SoSimplifyAction *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_apply" "', argument " "1"" of type '" "SoSimplifyAction *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSimplifyAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifyAction *arg1 = (SoSimplifyAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSimplifyAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifyAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSimplifyAction_apply" "', argument " "1"" of type '" "SoSimplifyAction *""'"); - } - arg1 = reinterpret_cast< SoSimplifyAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSimplifyAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSimplifyAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSimplifyAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSimplifyAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSimplifyAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSimplifyAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSimplifyAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSimplifyAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSimplifyAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSimplifyAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSimplifyAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoSimplifyAction *,SoNode *)\n" - " apply(SoSimplifyAction *,SoPath *)\n" - " apply(SoSimplifyAction *,SoPathList const &,SbBool)\n" - " apply(SoSimplifyAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSimplifyAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSimplifyAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_getTypeId" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = ((SoReorganizeAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_getClassTypeId",0,0)) SWIG_fail; - result = SoReorganizeAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoReorganizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoReorganizeAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoReorganizeAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoReorganizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoReorganizeAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_initClass",0,0)) SWIG_fail; - SoReorganizeAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoReorganizeAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSimplifier *arg1 = (SoSimplifier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoReorganizeAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoReorganizeAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSimplifier, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoReorganizeAction" "', argument " "1"" of type '" "SoSimplifier *""'"); - } - arg1 = reinterpret_cast< SoSimplifier * >(argp1); - result = (SoReorganizeAction *)new SoReorganizeAction(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoReorganizeAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoReorganizeAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoReorganizeAction",0,0)) SWIG_fail; - result = (SoReorganizeAction *)new SoReorganizeAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoReorganizeAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoReorganizeAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoReorganizeAction__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSimplifier, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoReorganizeAction__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoReorganizeAction'.\n" - " Possible C/C++ prototypes are:\n" - " SoReorganizeAction(SoSimplifier *)\n" - " SoReorganizeAction()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoReorganizeAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoReorganizeAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoReorganizeAction" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_getSimplifiedSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_getSimplifiedSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_getSimplifiedSceneGraph" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SoSeparator *)((SoReorganizeAction const *)arg1)->getSimplifiedSceneGraph(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_generateNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_generateNormals",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_generateNormals" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_generateNormals" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->generateNormals(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_areNormalGenerated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_areNormalGenerated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_areNormalGenerated" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SbBool)((SoReorganizeAction const *)arg1)->areNormalGenerated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_generateTriangleStrips(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_generateTriangleStrips",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_generateTriangleStrips" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_generateTriangleStrips" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->generateTriangleStrips(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_areTriangleStripGenerated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_areTriangleStripGenerated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_areTriangleStripGenerated" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SbBool)((SoReorganizeAction const *)arg1)->areTriangleStripGenerated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_generateTexCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_generateTexCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_generateTexCoords" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_generateTexCoords" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->generateTexCoords(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_areTexCoordsGenerated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_areTexCoordsGenerated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_areTexCoordsGenerated" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SbBool)((SoReorganizeAction const *)arg1)->areTexCoordsGenerated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_generateVPNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_generateVPNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_generateVPNodes" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_generateVPNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->generateVPNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_areVPNodesGenerated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_areVPNodesGenerated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_areVPNodesGenerated" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SbBool)(arg1)->areVPNodesGenerated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_matchIndexArrays(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_matchIndexArrays",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_matchIndexArrays" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoReorganizeAction_matchIndexArrays" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->matchIndexArrays(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_areIndexArraysMatched(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_areIndexArraysMatched",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_areIndexArraysMatched" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SbBool)((SoReorganizeAction const *)arg1)->areIndexArraysMatched(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_getSimplifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSimplifier *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_getSimplifier",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_getSimplifier" "', argument " "1"" of type '" "SoReorganizeAction const *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - result = (SoSimplifier *)((SoReorganizeAction const *)arg1)->getSimplifier(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSimplifier, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_apply" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_apply" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_apply" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoReorganizeAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReorganizeAction *arg1 = (SoReorganizeAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReorganizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_apply" "', argument " "1"" of type '" "SoReorganizeAction *""'"); - } - arg1 = reinterpret_cast< SoReorganizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoReorganizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoReorganizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoReorganizeAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoReorganizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoReorganizeAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoReorganizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoReorganizeAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoReorganizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoReorganizeAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoReorganizeAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoReorganizeAction *,SoNode *)\n" - " apply(SoReorganizeAction *,SoPath *)\n" - " apply(SoReorganizeAction *,SoPathList const &,SbBool)\n" - " apply(SoReorganizeAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_startReport(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_startReport",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReorganizeAction_startReport" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoReorganizeAction::startReport((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReorganizeAction_finishReport(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReorganizeAction_finishReport",0,0)) SWIG_fail; - SoReorganizeAction::finishReport(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoReorganizeAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoReorganizeAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWriteAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_getTypeId" "', argument " "1"" of type '" "SoWriteAction const *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - result = ((SoWriteAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getClassTypeId",0,0)) SWIG_fail; - result = SoWriteAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWriteAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWriteAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoWriteAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWriteAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoWriteAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoWriteAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWriteAction",0,0)) SWIG_fail; - result = (SoWriteAction *)new SoWriteAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWriteAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoWriteAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWriteAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoWriteAction" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoWriteAction *)new SoWriteAction(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWriteAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoWriteAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoWriteAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoWriteAction'.\n" - " Possible C/C++ prototypes are:\n" - " SoWriteAction()\n" - " SoWriteAction(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoWriteAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoWriteAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoWriteAction" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_initClass",0,0)) SWIG_fail; - SoWriteAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_getOutput" "', argument " "1"" of type '" "SoWriteAction const *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - result = (SoOutput *)((SoWriteAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_continueToApply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_continueToApply" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWriteAction_continueToApply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->continueToApply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_continueToApply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_continueToApply" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWriteAction_continueToApply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->continueToApply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoWriteAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoWriteAction_continueToApply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoWriteAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoWriteAction_continueToApply__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoWriteAction_continueToApply'.\n" - " Possible C/C++ prototypes are:\n" - " continueToApply(SoWriteAction *,SoNode *)\n" - " continueToApply(SoWriteAction *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoWriteAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWriteAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *arg1 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_getTypeId" "', argument " "1"" of type '" "SoAudioRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoAudioRenderAction * >(argp1); - result = ((SoAudioRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoAudioRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAudioRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoAudioRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoAudioRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAudioRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoAudioRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_initClass",0,0)) SWIG_fail; - SoAudioRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAudioRenderAction",0,0)) SWIG_fail; - result = (SoAudioRenderAction *)new SoAudioRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *arg1 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAudioRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAudioRenderAction" "', argument " "1"" of type '" "SoAudioRenderAction *""'"); - } - arg1 = reinterpret_cast< SoAudioRenderAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_callDoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_callDoAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_callDoAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAudioRenderAction_callDoAction" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAudioRenderAction::callDoAction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_callAudioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_callAudioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_callAudioRender" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAudioRenderAction_callAudioRender" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAudioRenderAction::callAudioRender(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAudioRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAudioRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_path_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_path_set" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - if (arg1) (arg1)->path = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_path_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SoPath *) ((arg1)->path); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - enum SoIntersectingPrimitive::PrimitiveType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_type_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectingPrimitive_type_set" "', argument " "2"" of type '" "enum SoIntersectingPrimitive::PrimitiveType""'"); - } - arg2 = static_cast< enum SoIntersectingPrimitive::PrimitiveType >(val2); - if (arg1) (arg1)->type = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - enum SoIntersectingPrimitive::PrimitiveType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_type_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (enum SoIntersectingPrimitive::PrimitiveType) ((arg1)->type); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_vertex_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_vertex_set" "', argument " "2"" of type '" "SbVec3f [3]""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)3; ++ii) arg1->vertex[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""vertex""' of type '""SbVec3f [3]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_vertex_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SbVec3f *)(SbVec3f *) ((arg1)->vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_xf_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_xf_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_xf_vertex_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_xf_vertex_set" "', argument " "2"" of type '" "SbVec3f [3]""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)3; ++ii) arg1->xf_vertex[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""xf_vertex""' of type '""SbVec3f [3]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_xf_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_xf_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_xf_vertex_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SbVec3f *)(SbVec3f *) ((arg1)->xf_vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIntersectingPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIntersectingPrimitive",0,0)) SWIG_fail; - result = (SoIntersectingPrimitive *)new SoIntersectingPrimitive(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIntersectingPrimitive, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIntersectingPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIntersectingPrimitive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIntersectingPrimitive" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIntersectingPrimitive_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIntersectingPrimitive, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_getTypeId" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = ((SoIntersectionDetectionAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getClassTypeId",0,0)) SWIG_fail; - result = SoIntersectionDetectionAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoIntersectionDetectionAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoIntersectionDetectionAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_initClass",0,0)) SWIG_fail; - SoIntersectionDetectionAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIntersectionDetectionAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIntersectionDetectionAction",0,0)) SWIG_fail; - result = (SoIntersectionDetectionAction *)new SoIntersectionDetectionAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIntersectionDetectionAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIntersectionDetectionAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIntersectionDetectionAction" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setIntersectionDetectionEpsilon" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setIntersectionDetectionEpsilon" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setIntersectionDetectionEpsilon(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_getIntersectionDetectionEpsilon" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (float)((SoIntersectionDetectionAction const *)arg1)->getIntersectionDetectionEpsilon(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setIntersectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setIntersectionEpsilon",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoIntersectionDetectionAction_setIntersectionEpsilon" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - SoIntersectionDetectionAction::setIntersectionEpsilon(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getIntersectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getIntersectionEpsilon",0,0)) SWIG_fail; - result = (float)SoIntersectionDetectionAction::getIntersectionEpsilon(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setTypeEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setTypeEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setTypeEnabled(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isTypeEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isTypeEnabled(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isTypeEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isTypeEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_isTypeEnabled'.\n" - " Possible C/C++ prototypes are:\n" - " isTypeEnabled(SoIntersectionDetectionAction const *,SoType,SbBool)\n" - " isTypeEnabled(SoIntersectionDetectionAction const *,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setManipsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setManipsEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setManipsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setManipsEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setManipsEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isManipsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isManipsEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isManipsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isManipsEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setDraggersEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setDraggersEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setDraggersEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setDraggersEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDraggersEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isDraggersEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isDraggersEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isDraggersEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isDraggersEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setShapeInternalsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setShapeInternalsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setShapeInternalsEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShapeInternalsEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isShapeInternalsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isShapeInternalsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isShapeInternalsEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SoIntersectionDetectionAction::SoIntersectionVisitationCB *arg3 = (SoIntersectionDetectionAction::SoIntersectionVisitationCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "3"" of type '" "SoIntersectionDetectionAction::SoIntersectionVisitationCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addVisitationCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SoIntersectionDetectionAction::SoIntersectionVisitationCB *arg3 = (SoIntersectionDetectionAction::SoIntersectionVisitationCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "3"" of type '" "SoIntersectionDetectionAction::SoIntersectionVisitationCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->removeVisitationCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoIntersectionDetectionAction *,SoNode *)\n" - " apply(SoIntersectionDetectionAction *,SoPath *)\n" - " apply(SoIntersectionDetectionAction *,SoPathList const &,SbBool)\n" - " apply(SoIntersectionDetectionAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionFilterCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionFilterCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionFilterCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionFilterCB *""'"); - } - } - (arg1)->setFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addIntersectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - (arg1)->addIntersectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeIntersectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - (arg1)->removeIntersectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_addVisitationCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addVisitationCallback(SoIntersectionDetectionAction *,SoType,SoIntersectionDetectionAction::SoIntersectionVisitationCB *,void *)\n" - " addVisitationCallback(SoIntersectionDetectionAction *,SoType,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_removeVisitationCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeVisitationCallback(SoIntersectionDetectionAction *,SoType,SoIntersectionDetectionAction::SoIntersectionVisitationCB *,void *)\n" - " removeVisitationCallback(SoIntersectionDetectionAction *,SoType,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_setFilterCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_setFilterCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_setFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setFilterCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionFilterCB *,void *)\n" - " setFilterCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionFilterCB *)\n" - " setFilterCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n" - " setFilterCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_addIntersectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *,void *)\n" - " addIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *)\n" - " addIntersectionCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n" - " addIntersectionCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_removeIntersectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *,void *)\n" - " removeIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *)\n" - " removeIntersectionCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n" - " removeIntersectionCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoIntersectionDetectionAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getTypeId" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = ((SoToVRMLAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getClassTypeId",0,0)) SWIG_fail; - result = SoToVRMLAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoToVRMLAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoToVRMLAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoToVRMLAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_initClass",0,0)) SWIG_fail; - SoToVRMLAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoToVRMLAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoToVRMLAction",0,0)) SWIG_fail; - result = (SoToVRMLAction *)new SoToVRMLAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoToVRMLAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoToVRMLAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoToVRMLAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoToVRMLAction" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoToVRMLAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoToVRMLAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoToVRMLAction *,SoNode *)\n" - " apply(SoToVRMLAction *,SoPath *)\n" - " apply(SoToVRMLAction *,SoPathList const &,SbBool)\n" - " apply(SoToVRMLAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getVRMLSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getVRMLSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getVRMLSceneGraph" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SoNode *)((SoToVRMLAction const *)arg1)->getVRMLSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_expandSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_expandSoFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_expandSoFile" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_expandSoFile" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->expandSoFile(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areSoFileExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areSoFileExpanded",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areSoFileExpanded" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areSoFileExpanded(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_setUrlName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbString arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_setUrlName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_setUrlName" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_setUrlName" "', argument " "2"" of type '" "SbString const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_setUrlName" "', argument " "2"" of type '" "SbString const""'"); - } else { - SbString * temp = reinterpret_cast< SbString * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setUrlName(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getUrlName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getUrlName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getUrlName" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = ((SoToVRMLAction const *)arg1)->getUrlName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_writeTexCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_writeTexCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_writeTexCoords" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_writeTexCoords" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->writeTexCoords(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areTexCoordWritten(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areTexCoordWritten",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areTexCoordWritten" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areTexCoordWritten(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_expandTexture2Node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_expandTexture2Node",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_expandTexture2Node" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_expandTexture2Node" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->expandTexture2Node(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areTexture2NodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areTexture2NodeExpanded",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areTexture2NodeExpanded" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areTexture2NodeExpanded(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_keepUnknownNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_keepUnknownNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_keepUnknownNodes" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_keepUnknownNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->keepUnknownNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areUnknownNodeKept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areUnknownNodeKept",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areUnknownNodeKept" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areUnknownNodeKept(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_convertInlineNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_convertInlineNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_convertInlineNodes" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_convertInlineNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->convertInlineNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_doConvertInlineNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_doConvertInlineNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_doConvertInlineNodes" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->doConvertInlineNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_conditionalConversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_conditionalConversion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_conditionalConversion" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_conditionalConversion" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->conditionalConversion(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_doConditionalConversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_doConditionalConversion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_doConditionalConversion" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->doConditionalConversion(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_setVerbosity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_setVerbosity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_setVerbosity" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_setVerbosity" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVerbosity(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_isVerbose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_isVerbose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_isVerbose" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->isVerbose(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoToVRMLAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoToVRMLAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_getTypeId" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = ((SoToVRML2Action const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getClassTypeId",0,0)) SWIG_fail; - result = SoToVRML2Action::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoToVRML2Action_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoToVRML2Action::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoToVRML2Action::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_initClass",0,0)) SWIG_fail; - SoToVRML2Action::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoToVRML2Action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoToVRML2Action",0,0)) SWIG_fail; - result = (SoToVRML2Action *)new SoToVRML2Action(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoToVRML2Action, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoToVRML2Action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoToVRML2Action",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoToVRML2Action" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoToVRML2Action_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoToVRML2Action_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoToVRML2Action *,SoNode *)\n" - " apply(SoToVRML2Action *,SoPath *)\n" - " apply(SoToVRML2Action *,SoPathList const &,SbBool)\n" - " apply(SoToVRML2Action *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getVRML2SceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getVRML2SceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_getVRML2SceneGraph" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SoVRMLGroup *)((SoToVRML2Action const *)arg1)->getVRML2SceneGraph(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reuseAppearanceNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reuseAppearanceNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reuseAppearanceNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reuseAppearanceNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reuseAppearanceNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReuseAppearanceNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReuseAppearanceNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReuseAppearanceNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReuseAppearanceNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reusePropertyNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reusePropertyNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reusePropertyNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reusePropertyNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reusePropertyNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReusePropertyNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReusePropertyNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReusePropertyNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReusePropertyNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reuseGeometryNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reuseGeometryNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reuseGeometryNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reuseGeometryNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reuseGeometryNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReuseGeometryNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReuseGeometryNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReuseGeometryNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReuseGeometryNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoToVRML2Action_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoToVRML2Action, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHardCopy_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_init",0,0)) SWIG_fail; - SoHardCopy::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHardCopy_getProductName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_getProductName",0,0)) SWIG_fail; - result = (char *)SoHardCopy::getProductName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHardCopy_getVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_getVersion",0,0)) SWIG_fail; - result = (char *)SoHardCopy::getVersion(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHardCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHardCopy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHardCopy",0,0)) SWIG_fail; - result = (SoHardCopy *)new SoHardCopy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHardCopy, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoHardCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHardCopy *arg1 = (SoHardCopy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoHardCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHardCopy, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoHardCopy" "', argument " "1"" of type '" "SoHardCopy *""'"); - } - arg1 = reinterpret_cast< SoHardCopy * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHardCopy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHardCopy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVectorOutput",0,0)) SWIG_fail; - result = (SoVectorOutput *)new SoVectorOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorOutput" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_openFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_openFile" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorOutput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_closeFile" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_getFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - FILE *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_getFilePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_getFilePointer" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - result = (FILE *)(arg1)->getFilePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPSVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPSVectorOutput",0,0)) SWIG_fail; - result = (SoPSVectorOutput *)new SoPSVectorOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPSVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPSVectorOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPSVectorOutput" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_setColored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_setColored" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPSVectorOutput_setColored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_setColored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_setColored" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - (arg1)->setColored(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPSVectorOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPSVectorOutput_setColored__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPSVectorOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPSVectorOutput_setColored__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPSVectorOutput_setColored'.\n" - " Possible C/C++ prototypes are:\n" - " setColored(SoPSVectorOutput *,SbBool)\n" - " setColored(SoPSVectorOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_getColored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_getColored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_getColored" "', argument " "1"" of type '" "SoPSVectorOutput const *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - result = (SbBool)((SoPSVectorOutput const *)arg1)->getColored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPSVectorOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPSVectorOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getTypeId" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getClassTypeId",0,0)) SWIG_fail; - result = SoVectorizeAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVectorizeAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoVectorizeAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoVectorizeAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorizeAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorizeAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorizeAction" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getOutput" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorOutput *)((SoVectorizeAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_initClass",0,0)) SWIG_fail; - SoVectorizeAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_apply'.\n" - " Possible C/C++ prototypes are:\n" - " apply(SoVectorizeAction *,SoNode *)\n" - " apply(SoVectorizeAction *,SoPath *)\n" - " apply(SoVectorizeAction *,SoPathList const &,SbBool)\n" - " apply(SoVectorizeAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PageSize *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PageSize temp2 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginStandardPage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "2"" of type '" "SoVectorizeAction::PageSize const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PageSize >(val2); - arg2 = &temp2; - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->beginStandardPage((SoVectorizeAction::PageSize const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PageSize *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PageSize temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginStandardPage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "2"" of type '" "SoVectorizeAction::PageSize const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PageSize >(val2); - arg2 = &temp2; - } - (arg1)->beginStandardPage((SoVectorizeAction::PageSize const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginStandardPage__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginStandardPage__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginStandardPage'.\n" - " Possible C/C++ prototypes are:\n" - " beginStandardPage(SoVectorizeAction *,SoVectorizeAction::PageSize const &,float const)\n" - " beginStandardPage(SoVectorizeAction *,SoVectorizeAction::PageSize const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginPage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_beginPage" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->beginPage((SbVec2f const &)*arg2,(SbVec2f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginPage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->beginPage((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginPage__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginPage__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginPage'.\n" - " Possible C/C++ prototypes are:\n" - " beginPage(SoVectorizeAction *,SbVec2f const &,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n" - " beginPage(SoVectorizeAction *,SbVec2f const &,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_endPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_endPage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_endPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->endPage(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_calibrate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_calibrate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_calibrate" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_calibrate" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_calibrate" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->calibrate((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_beginViewport" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->beginViewport((SbVec2f const &)*arg2,(SbVec2f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->beginViewport((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->beginViewport((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->beginViewport(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginViewport'.\n" - " Possible C/C++ prototypes are:\n" - " beginViewport(SoVectorizeAction *,SbVec2f const &,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n" - " beginViewport(SoVectorizeAction *,SbVec2f const &,SbVec2f const &)\n" - " beginViewport(SoVectorizeAction *,SbVec2f const &)\n" - " beginViewport(SoVectorizeAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_endViewport(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_endViewport",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_endViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->endViewport(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::Orientation arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setOrientation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setOrientation" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setOrientation" "', argument " "2"" of type '" "SoVectorizeAction::Orientation""'"); - } - arg2 = static_cast< SoVectorizeAction::Orientation >(val2); - (arg1)->setOrientation(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::Orientation result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getOrientation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getOrientation" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::Orientation)((SoVectorizeAction const *)arg1)->getOrientation(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBackgroundColor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setBackgroundColor(arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBackgroundColor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setBackgroundColor__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setBackgroundColor__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setBackgroundColor'.\n" - " Possible C/C++ prototypes are:\n" - " setBackgroundColor(SoVectorizeAction *,SbBool,SbColor const &)\n" - " setBackgroundColor(SoVectorizeAction *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (SbBool)((SoVectorizeAction const *)arg1)->getBackgroundColor(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setNominalWidth",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setNominalWidth(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setNominalWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setNominalWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setNominalWidth__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setNominalWidth__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setNominalWidth'.\n" - " Possible C/C++ prototypes are:\n" - " setNominalWidth(SoVectorizeAction *,float,SoVectorizeAction::DimensionUnit)\n" - " setNominalWidth(SoVectorizeAction *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getNominalWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = (float)((SoVectorizeAction const *)arg1)->getNominalWidth(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getNominalWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getNominalWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getNominalWidth__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getNominalWidth__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getNominalWidth'.\n" - " Possible C/C++ prototypes are:\n" - " getNominalWidth(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n" - " getNominalWidth(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPixelImageSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setPixelImageSize(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPixelImageSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPixelImageSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPixelImageSize__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPixelImageSize__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setPixelImageSize'.\n" - " Possible C/C++ prototypes are:\n" - " setPixelImageSize(SoVectorizeAction *,float,SoVectorizeAction::DimensionUnit)\n" - " setPixelImageSize(SoVectorizeAction *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPixelImageSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = (float)((SoVectorizeAction const *)arg1)->getPixelImageSize(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPixelImageSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getPixelImageSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getPixelImageSize__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getPixelImageSize__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getPixelImageSize'.\n" - " Possible C/C++ prototypes are:\n" - " getPixelImageSize(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n" - " getPixelImageSize(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPointStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PointStyle *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PointStyle temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPointStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPointStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPointStyle" "', argument " "2"" of type '" "SoVectorizeAction::PointStyle const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PointStyle >(val2); - arg2 = &temp2; - } - (arg1)->setPointStyle((SoVectorizeAction::PointStyle const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPointStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::PointStyle result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPointStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPointStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::PointStyle)((SoVectorizeAction const *)arg1)->getPointStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPageStartpos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPageStartpos",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPageStartpos" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - { - SbVec2f const &_result_ref = ((SoVectorizeAction const *)arg1)->getPageStartpos(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPageSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - { - SbVec2f const &_result_ref = ((SoVectorizeAction const *)arg1)->getPageSize(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setDrawingDimensions((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setDrawingDimensions((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->setDrawingDimensions(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setDrawingDimensions(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setDrawingDimensions'.\n" - " Possible C/C++ prototypes are:\n" - " setDrawingDimensions(SoVectorizeAction *,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n" - " setDrawingDimensions(SoVectorizeAction *,SbVec2f const &)\n" - " setDrawingDimensions(SoVectorizeAction *,float,float,SoVectorizeAction::DimensionUnit)\n" - " setDrawingDimensions(SoVectorizeAction *,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getDrawingDimensions",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = ((SoVectorizeAction const *)arg1)->getDrawingDimensions(arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getDrawingDimensions",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getDrawingDimensions(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getDrawingDimensions__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getDrawingDimensions__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getDrawingDimensions'.\n" - " Possible C/C++ prototypes are:\n" - " getDrawingDimensions(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n" - " getDrawingDimensions(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setStartPosition((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->setStartPosition(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setStartPosition(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setStartPosition'.\n" - " Possible C/C++ prototypes are:\n" - " setStartPosition(SoVectorizeAction *,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n" - " setStartPosition(SoVectorizeAction *,SbVec2f const &)\n" - " setStartPosition(SoVectorizeAction *,float,float,SoVectorizeAction::DimensionUnit)\n" - " setStartPosition(SoVectorizeAction *,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = ((SoVectorizeAction const *)arg1)->getStartPosition(arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getStartPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getStartPosition(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getStartPosition__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getStartPosition__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getStartPosition'.\n" - " Possible C/C++ prototypes are:\n" - " getStartPosition(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n" - " getStartPosition(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setColorTranslationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::ColorTranslationMethod arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setColorTranslationMethod",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setColorTranslationMethod" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setColorTranslationMethod" "', argument " "2"" of type '" "SoVectorizeAction::ColorTranslationMethod""'"); - } - arg2 = static_cast< SoVectorizeAction::ColorTranslationMethod >(val2); - (arg1)->setColorTranslationMethod(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getColorTranslationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::ColorTranslationMethod result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getColorTranslationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getColorTranslationMethod" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::ColorTranslationMethod)((SoVectorizeAction const *)arg1)->getColorTranslationMethod(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setLineEndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::EndLineStyle arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setLineEndStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setLineEndStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setLineEndStyle" "', argument " "2"" of type '" "SoVectorizeAction::EndLineStyle""'"); - } - arg2 = static_cast< SoVectorizeAction::EndLineStyle >(val2); - (arg1)->setLineEndStyle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getLineEndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::EndLineStyle result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getLineEndStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getLineEndStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::EndLineStyle)((SoVectorizeAction const *)arg1)->getLineEndStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setLineJoinsStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::JoinLineStyle arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setLineJoinsStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setLineJoinsStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setLineJoinsStyle" "', argument " "2"" of type '" "SoVectorizeAction::JoinLineStyle""'"); - } - arg2 = static_cast< SoVectorizeAction::JoinLineStyle >(val2); - (arg1)->setLineJoinsStyle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getLineJoinsStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::JoinLineStyle result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getLineJoinsStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getLineJoinsStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::JoinLineStyle)((SoVectorizeAction const *)arg1)->getLineJoinsStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setHLHSRMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::HLHSRMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setHLHSRMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setHLHSRMode" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setHLHSRMode" "', argument " "2"" of type '" "SoVectorizeAction::HLHSRMode""'"); - } - arg2 = static_cast< SoVectorizeAction::HLHSRMode >(val2); - (arg1)->setHLHSRMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getHLHSRMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVectorizeAction::HLHSRMode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getHLHSRMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getHLHSRMode" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::HLHSRMode)((SoVectorizeAction const *)arg1)->getHLHSRMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBorder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBorder" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBorder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setBorder(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SbColor arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBorder",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBorder" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBorder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setBorder" "', argument " "3"" of type '" "SbColor""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setBorder" "', argument " "3"" of type '" "SbColor""'"); - } else { - SbColor * temp = reinterpret_cast< SbColor * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setBorder(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setBorder__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setBorder__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setBorder'.\n" - " Possible C/C++ prototypes are:\n" - " setBorder(SoVectorizeAction *,float)\n" - " setBorder(SoVectorizeAction *,float,SbColor)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setMiterLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setMiterLimit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setMiterLimit" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setMiterLimit" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setMiterLimit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getMiterLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getMiterLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getMiterLimit" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getMiterLimit(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - float *arg4 = (float *) 0 ; - SoVectorizeAction::DimensionUnit arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "5"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg5 = static_cast< SoVectorizeAction::DimensionUnit >(val5); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - float *arg4 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPenDescription(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setPenDescription'.\n" - " Possible C/C++ prototypes are:\n" - " setPenDescription(SoVectorizeAction *,int,SbColor const *,float const *,SoVectorizeAction::DimensionUnit)\n" - " setPenDescription(SoVectorizeAction *,int,SbColor const *,float const *)\n" - " setPenDescription(SoVectorizeAction *,int,SbColor const *)\n" - " setPenDescription(SoVectorizeAction *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - float *arg3 = (float *) 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenDescription",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "3"" of type '" "float *""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - ((SoVectorizeAction const *)arg1)->getPenDescription(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenDescription",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "3"" of type '" "float *""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SoVectorizeAction const *)arg1)->getPenDescription(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getPenDescription__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getPenDescription__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getPenDescription'.\n" - " Possible C/C++ prototypes are:\n" - " getPenDescription(SoVectorizeAction const *,SbColor *,float *,SoVectorizeAction::DimensionUnit)\n" - " getPenDescription(SoVectorizeAction const *,SbColor *,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenNum" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (int)((SoVectorizeAction const *)arg1)->getPenNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setColorPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setColorPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setColorPriority" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setColorPriority" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColorPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getColorPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getColorPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getColorPriority" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SbBool)((SoVectorizeAction const *)arg1)->getColorPriority(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_enableLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_enableLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_enableLighting" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_enableLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableLighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_isLightingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_isLightingEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_isLightingEnabled" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SbBool)((SoVectorizeAction const *)arg1)->isLightingEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorizeAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorizeAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getClassTypeId",0,0)) SWIG_fail; - result = SoShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getTypeId" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = ((SoShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_initClass",0,0)) SWIG_fail; - SoShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_affectsState" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = (SbBool)((SoShape const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_notify" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getBoundingBox" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_GLRender" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_rayPick" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_callback" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_computeBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SbBox3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_computeBBox",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_computeBBox" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_computeBBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbBox3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShape_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - arg3 = reinterpret_cast< SbBox3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShape_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->computeBBox(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getPrimitiveCount" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getScreenSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBox3f *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getScreenSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getScreenSize" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getScreenSize" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_getScreenSize" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShape_getScreenSize" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_getScreenSize" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - SoShape::getScreenSize(arg1,(SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getDecimatedComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getDecimatedComplexity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getDecimatedComplexity" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShape_getDecimatedComplexity" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (float)SoShape::getDecimatedComplexity(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBoundingBoxCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getBoundingBoxCache" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = (SoBoundingBoxCache *)((SoShape const *)arg1)->getBoundingBoxCache(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getClassTypeId",0,0)) SWIG_fail; - result = SoImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_getTypeId" "', argument " "1"" of type '" "SoImage const *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = ((SoImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_initClass",0,0)) SWIG_fail; - SoImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoImage",0,0)) SWIG_fail; - result = (SoImage *)new SoImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoImage, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_width_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_width_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->width = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_width_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFInt32 *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_height_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_height_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_height_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFInt32 *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_vertAlignment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_vertAlignment_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_vertAlignment_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_vertAlignment_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->vertAlignment = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_vertAlignment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_vertAlignment_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_vertAlignment_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFEnum *)& ((arg1)->vertAlignment); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_horAlignment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_horAlignment_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_horAlignment_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_horAlignment_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->horAlignment = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_horAlignment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_horAlignment_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_horAlignment_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFEnum *)& ((arg1)->horAlignment); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_image_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_image_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_filename_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_filename_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_GLRender" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_rayPick" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_getPrimitiveCount" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getTypeId" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = ((SoVectorizePSAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getClassTypeId",0,0)) SWIG_fail; - result = SoVectorizePSAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizePSAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVectorizePSAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoVectorizePSAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizePSAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizePSAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoVectorizePSAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVectorizePSAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVectorizePSAction",0,0)) SWIG_fail; - result = (SoVectorizePSAction *)new SoVectorizePSAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorizePSAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorizePSAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorizePSAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorizePSAction" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_initClass",0,0)) SWIG_fail; - SoVectorizePSAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_setDefault2DFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_setDefault2DFont",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_setDefault2DFont" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setDefault2DFont((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getDefault2DFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getDefault2DFont",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getDefault2DFont" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - { - SbString const &_result_ref = ((SoVectorizePSAction const *)arg1)->getDefault2DFont(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_setGouraudThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_setGouraudThreshold",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_setGouraudThreshold" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizePSAction_setGouraudThreshold" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setGouraudThreshold(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPSVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getOutput" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = (SoPSVectorOutput *)((SoVectorizePSAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getPSOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPSVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getPSOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getPSOutput" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = (SoPSVectorOutput *)((SoVectorizePSAction const *)arg1)->getPSOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorizePSAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorizePSAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *SoBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMaterialBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMaterialBundle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterialBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoMaterialBundle" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoMaterialBundle *)new SoMaterialBundle(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterialBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMaterialBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMaterialBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMaterialBundle" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_setUpMultiple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_setUpMultiple",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_setUpMultiple" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - (arg1)->setUpMultiple(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_sendFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_sendFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_sendFirst" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - (arg1)->sendFirst(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_forceSend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_forceSend",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_forceSend" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBundle_forceSend" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->forceSend(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_isColorOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_isColorOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_isColorOnly" "', argument " "1"" of type '" "SoMaterialBundle const *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - result = (SbBool)((SoMaterialBundle const *)arg1)->isColorOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_send" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMaterialBundle_send" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->send(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBSPTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBSPTree" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBSPTree" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBSPTree *)new SbBSPTree(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBSPTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBSPTree" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbBSPTree *)new SbBSPTree(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",0,0)) SWIG_fail; - result = (SbBSPTree *)new SbBSPTree(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBSPTree__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBSPTree__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBSPTree__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBSPTree'.\n" - " Possible C/C++ prototypes are:\n" - " SbBSPTree(int const,int const)\n" - " SbBSPTree(int const)\n" - " SbBSPTree()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBSPTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBSPTree",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBSPTree" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_numPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_numPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_numPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - result = (int)((SbBSPTree const *)arg1)->numPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbBSPTree const *)arg1)->getPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_getPoint" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_getPoint" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbBSPTree const *)arg1)->getPoint(arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_getPoint__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_getPoint__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_getPoint'.\n" - " Possible C/C++ prototypes are:\n" - " getPoint(SbBSPTree const *,int const)\n" - " getPoint(SbBSPTree const *,int const,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getUserData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getUserData" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getUserData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbBSPTree const *)arg1)->getUserData(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_setUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_setUserData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_setUserData" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_setUserData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_setUserData" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setUserData(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_addPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_addPoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_addPoint" "', argument " "3"" of type '" "void *const""'"); - } - result = (int)(arg1)->addPoint((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_addPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_addPoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->addPoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_addPoint__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_addPoint__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_addPoint'.\n" - " Possible C/C++ prototypes are:\n" - " addPoint(SbBSPTree *,SbVec3f const &,void *const)\n" - " addPoint(SbBSPTree *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_removePoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_removePoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->removePoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_removePoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_removePoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removePoint(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_removePoint__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_removePoint__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_removePoint'.\n" - " Possible C/C++ prototypes are:\n" - " removePoint(SbBSPTree *,SbVec3f const &)\n" - " removePoint(SbBSPTree *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)((SbBSPTree const *)arg1)->findPoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_clear",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_clear" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_clear" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->clear(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_clear" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_clear__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_clear__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_clear'.\n" - " Possible C/C++ prototypes are:\n" - " clear(SbBSPTree *,int const)\n" - " clear(SbBSPTree *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbIntList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoints",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - ((SbBSPTree const *)arg1)->findPoints((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbIntList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getBBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getBBox" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - { - SbBox3f const &_result_ref = ((SbBSPTree const *)arg1)->getBBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPointsArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPointsArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPointsArrayPtr" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - result = (SbVec3f *)((SbBSPTree const *)arg1)->getPointsArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList< int > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoints",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_int_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbList< int > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbList< int > &""'"); - } - arg3 = reinterpret_cast< SbList< int > * >(argp3); - ((SbBSPTree const *)arg1)->findPoints((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbIntList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findPoints__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_int_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findPoints__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_findPoints'.\n" - " Possible C/C++ prototypes are:\n" - " findPoints(SbBSPTree const *,SbSphere const &,SbIntList &)\n" - " findPoints(SbBSPTree const *,SbSphere const &,SbList< int > &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList< int > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_int_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbList< int > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbList< int > &""'"); - } - arg3 = reinterpret_cast< SbList< int > * >(argp3); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbIntList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_int_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_findClosest'.\n" - " Possible C/C++ prototypes are:\n" - " findClosest(SbBSPTree const *,SbVec3f const &)\n" - " findClosest(SbBSPTree const *,SbSphere const &,SbIntList &)\n" - " findClosest(SbBSPTree const *,SbSphere const &,SbList< int > &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbBSPTree_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBSPTree, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int arg2 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNormalGenerator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalGenerator",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNormalGenerator" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoNormalGenerator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNormalGenerator *)new SoNormalGenerator(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalGenerator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalGenerator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNormalGenerator" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SoNormalGenerator *)new SoNormalGenerator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNormalGenerator__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNormalGenerator__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNormalGenerator'.\n" - " Possible C/C++ prototypes are:\n" - " SoNormalGenerator(SbBool const,int const)\n" - " SoNormalGenerator(SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNormalGenerator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNormalGenerator",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNormalGenerator" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_reset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_reset" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_reset" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_beginPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_beginPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_beginPolygon" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->beginPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_polygonVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_polygonVertex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_polygonVertex" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_polygonVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_polygonVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->polygonVertex((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_endPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_endPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_endPolygon" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->endPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_triangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_triangle",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_triangle" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_triangle" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_triangle" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalGenerator_triangle" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->triangle((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_quad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_quad",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_quad" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_quad" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_quad" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalGenerator_quad" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoNormalGenerator_quad" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - (arg1)->quad((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_generate" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalGenerator_generate" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->generate(arg2,(int32_t const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_generate" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - (arg1)->generate(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->generate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalGenerator_generate'.\n" - " Possible C/C++ prototypes are:\n" - " generate(SoNormalGenerator *,float const,int32_t const *,int const)\n" - " generate(SoNormalGenerator *,float const,int32_t const *)\n" - " generate(SoNormalGenerator *,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generatePerStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generatePerStrip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "2"" of type '" "int32_t const *""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->generatePerStrip((int32_t const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generatePerFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generatePerFace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generatePerFace" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->generatePerFace(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generateOverall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generateOverall",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generateOverall" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->generateOverall(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNumNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNumNormals" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - result = (int)((SoNormalGenerator const *)arg1)->getNumNormals(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_setNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_setNumNormals",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_setNumNormals" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_setNumNormals" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumNormals(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNormals" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - result = (SbVec3f *)((SoNormalGenerator const *)arg1)->getNormals(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNormal" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_getNormal" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - { - SbVec3f const &_result_ref = ((SoNormalGenerator const *)arg1)->getNormal(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_setNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_setNormal",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_setNormal" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_setNormal" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_setNormal" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_setNormal" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setNormal(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalGenerator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalGenerator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoNormalElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoNormalElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_initClass",0,0)) SWIG_fail; - SoNormalElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_init" "', argument " "1"" of type '" "SoNormalElement *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalElement_set" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalElement_set" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoNormalElement::set(arg1,arg2,arg3,(SbVec3f const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalElement_set" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoNormalElement::set(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalElement_set__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalElement_set__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,int32_t const,SbVec3f const *const,SbBool const)\n" - " SoNormalElement::set(SoState *const,SoNode *const,int32_t const,SbVec3f const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalElement *)SoNormalElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getNum" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = ((SoNormalElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_get" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoNormalElement const *)arg1)->get(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getArrayPtr" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = (SbVec3f *)((SoNormalElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_areNormalsUnitLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_areNormalsUnitLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_areNormalsUnitLength" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = (SbBool)((SoNormalElement const *)arg1)->areNormalsUnitLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLNormalElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLNormalElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLNormalElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_initClass",0,0)) SWIG_fail; - SoGLNormalElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLNormalElement *arg1 = (SoGLNormalElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLNormalElement_init" "', argument " "1"" of type '" "SoGLNormalElement *""'"); - } - arg1 = reinterpret_cast< SoGLNormalElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLNormalElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLNormalElement *arg1 = (SoGLNormalElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLNormalElement_send" "', argument " "1"" of type '" "SoGLNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoGLNormalElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLNormalElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLNormalElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLNormalElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLNormalElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBundle_generator_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBundle *arg1 = (SoNormalBundle *) 0 ; - SoNormalGenerator *arg2 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBundle_generator_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBundle_generator_set" "', argument " "1"" of type '" "SoNormalBundle *""'"); - } - arg1 = reinterpret_cast< SoNormalBundle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBundle_generator_set" "', argument " "2"" of type '" "SoNormalGenerator *""'"); - } - arg2 = reinterpret_cast< SoNormalGenerator * >(argp2); - if (arg1) (arg1)->generator = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBundle_generator_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBundle *arg1 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalGenerator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBundle_generator_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBundle_generator_get" "', argument " "1"" of type '" "SoNormalBundle *""'"); - } - arg1 = reinterpret_cast< SoNormalBundle * >(argp1); - result = (SoNormalGenerator *) ((arg1)->generator); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_init" "', argument " "1"" of type '" "SoTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureCoordinateElement::setDefault(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTextureCoordinateFunctionCB *arg3 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg4 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_setFunction",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "3"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "4"" of type '" "void *const""'"); - } - SoTextureCoordinateElement::setFunction(arg1,arg2,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set2",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set2" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set2" "', argument " "4"" of type '" "SbVec2f const *const""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoTextureCoordinateElement::set2(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoTextureCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec4f *arg4 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set4",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set4" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set4" "', argument " "4"" of type '" "SbVec4f const *const""'"); - } - arg4 = reinterpret_cast< SbVec4f * >(argp4); - SoTextureCoordinateElement::set4(arg1,arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateElement::CoordType)SoTextureCoordinateElement::getType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SoTextureCoordinateElement::CoordType)((SoTextureCoordinateElement const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateElement_getType__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateElement_getType__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateElement_getType'.\n" - " Possible C/C++ prototypes are:\n" - " getType(SoState *const)\n" - " getType(SoTextureCoordinateElement const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateElement *)SoTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateElement_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbVec4f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getNum" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = ((SoTextureCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_is2D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_is2D" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbBool)((SoTextureCoordinateElement const *)arg1)->is2D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getDimension",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getDimension" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = ((SoTextureCoordinateElement const *)arg1)->getDimension(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get2" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get3" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get4" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec2f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec3f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec4f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_init" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_push" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg5 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg6 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - int res6 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "void *const""'"); - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg5 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[5], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureCoordinateElement_setTexGen'.\n" - " Possible C/C++ prototypes are:\n" - " setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const,void *const)\n" - " setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const)\n" - " setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const)\n" - " SoGLTextureCoordinateElement::setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - result = (SoTextureCoordinateElement::CoordType)((SoGLTextureCoordinateElement const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLTextureCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLTextureCoordinateElement *)SoGLTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLTextureCoordinateElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_send",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureCoordinateElement_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ((SoGLTextureCoordinateElement const *)arg1)->send(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureCoordinateElement_send__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_send__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureCoordinateElement_send'.\n" - " Possible C/C++ prototypes are:\n" - " send(SoGLTextureCoordinateElement const *,int const)\n" - " send(SoGLTextureCoordinateElement const *,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_initMulti(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_initMulti",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_initMulti" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_initMulti" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ((SoGLTextureCoordinateElement const *)arg1)->initMulti(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) (SoAction *)0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoTextureCoordinateBundle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBundle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoAction *const""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoTextureCoordinateBundle" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoTextureCoordinateBundle" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoTextureCoordinateBundle *)new SoTextureCoordinateBundle(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) (SoAction *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureCoordinateBundle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBundle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoAction *const""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoTextureCoordinateBundle" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoTextureCoordinateBundle *)new SoTextureCoordinateBundle(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTextureCoordinateBundle__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTextureCoordinateBundle__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTextureCoordinateBundle'.\n" - " Possible C/C++ prototypes are:\n" - " SoTextureCoordinateBundle(SoAction *const,SbBool const,SbBool const)\n" - " SoTextureCoordinateBundle(SoAction *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextureCoordinateBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextureCoordinateBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_needCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_needCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_needCoordinates" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->needCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_isFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_isFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_isFunction" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->isFunction(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_get" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = (arg1)->get(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_get" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateBundle_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbVec4f const &_result_ref = (arg1)->get((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBundle_get__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateBundle_get__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBundle_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoTextureCoordinateBundle *,int const)\n" - " get(SoTextureCoordinateBundle *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_send" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoTextureCoordinateBundle const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_send",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_send" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateBundle_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateBundle_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ((SoTextureCoordinateBundle const *)arg1)->send(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBundle_send__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateBundle_send__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBundle_send'.\n" - " Possible C/C++ prototypes are:\n" - " send(SoTextureCoordinateBundle const *,int const)\n" - " send(SoTextureCoordinateBundle const *,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_needIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_needIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_needIndices" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->needIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCache *)new SoCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_ref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_unref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_unref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCache_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCache_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCache_unref'.\n" - " Possible C/C++ prototypes are:\n" - " unref(SoCache *,SoState *)\n" - " unref(SoCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_addElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoElement *arg2 = (SoElement *) (SoElement *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_addElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_addElement" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_addElement" "', argument " "2"" of type '" "SoElement const *const""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - (arg1)->addElement((SoElement const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_addCacheDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoCache *arg3 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_addCacheDependency",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_addCacheDependency" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_addCacheDependency" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCache_addCacheDependency" "', argument " "3"" of type '" "SoCache *""'"); - } - arg3 = reinterpret_cast< SoCache * >(argp3); - (arg1)->addCacheDependency((SoState const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_isValid",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_isValid" "', argument " "1"" of type '" "SoCache const *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_isValid" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SbBool)((SoCache const *)arg1)->isValid((SoState const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_getInvalidElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_getInvalidElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_getInvalidElement" "', argument " "1"" of type '" "SoCache const *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_getInvalidElement" "', argument " "2"" of type '" "SoState const *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoElement *)((SoCache const *)arg1)->getInvalidElement((SoState const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_invalidate" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->invalidate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBoundingBoxCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBoundingBoxCache" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoBoundingBoxCache *)new SoBoundingBoxCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoundingBoxCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBoundingBoxCache" "', argument " "1"" of type '" "SoBoundingBoxCache *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbXfBox3f *arg2 = 0 ; - SbBool arg3 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_set" "', argument " "1"" of type '" "SoBoundingBoxCache *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoundingBoxCache_set" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoundingBoxCache_set" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBoundingBoxCache_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBoundingBoxCache_set" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoundingBoxCache_set" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->set((SbXfBox3f const &)*arg2,arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getBox" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbXfBox3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getBox(); - result = (SbXfBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getProjectedBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getProjectedBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getProjectedBox" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbBox3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getProjectedBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_isCenterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_isCenterSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_isCenterSet" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - result = (SbBool)((SoBoundingBoxCache const *)arg1)->isCenterSet(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getCenter" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbVec3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_setHasLinesOrPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_setHasLinesOrPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_setHasLinesOrPoints" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoBoundingBoxCache::setHasLinesOrPoints(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_hasLinesOrPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_hasLinesOrPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_hasLinesOrPoints" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - result = (SbBool)((SoBoundingBoxCache const *)arg1)->hasLinesOrPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoundingBoxCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoundingBoxCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoConvexDataCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoConvexDataCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConvexDataCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoConvexDataCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoConvexDataCache *)new SoConvexDataCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConvexDataCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoConvexDataCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoConvexDataCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoConvexDataCache" "', argument " "1"" of type '" "SoConvexDataCache *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - SoCoordinateElement *arg2 = (SoCoordinateElement *) (SoCoordinateElement *)0 ; - SbMatrix *arg3 = 0 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - int32_t *arg6 = (int32_t *) 0 ; - int32_t *arg7 = (int32_t *) 0 ; - int32_t *arg8 = (int32_t *) 0 ; - SoConvexDataCache::Binding arg9 ; - SoConvexDataCache::Binding arg10 ; - SoConvexDataCache::Binding arg11 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - int val11 ; - int ecode11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_generate",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_generate" "', argument " "1"" of type '" "SoConvexDataCache *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConvexDataCache_generate" "', argument " "2"" of type '" "SoCoordinateElement const *const""'"); - } - arg2 = reinterpret_cast< SoCoordinateElement * >(argp2); - res4 = SWIG_ConvertPtr(obj2, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoConvexDataCache_generate" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj3, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoConvexDataCache_generate" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoConvexDataCache_generate" "', argument " "6"" of type '" "int32_t const *""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj5, &argp7,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoConvexDataCache_generate" "', argument " "7"" of type '" "int32_t const *""'"); - } - arg7 = reinterpret_cast< int32_t * >(argp7); - res8 = SWIG_ConvertPtr(obj6, &argp8,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoConvexDataCache_generate" "', argument " "8"" of type '" "int32_t const *""'"); - } - arg8 = reinterpret_cast< int32_t * >(argp8); - ecode9 = SWIG_AsVal_int(obj7, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoConvexDataCache_generate" "', argument " "9"" of type '" "SoConvexDataCache::Binding""'"); - } - arg9 = static_cast< SoConvexDataCache::Binding >(val9); - ecode10 = SWIG_AsVal_int(obj8, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoConvexDataCache_generate" "', argument " "10"" of type '" "SoConvexDataCache::Binding""'"); - } - arg10 = static_cast< SoConvexDataCache::Binding >(val10); - ecode11 = SWIG_AsVal_int(obj9, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoConvexDataCache_generate" "', argument " "11"" of type '" "SoConvexDataCache::Binding""'"); - } - arg11 = static_cast< SoConvexDataCache::Binding >(val11); - (arg1)->generate((SoCoordinateElement const *)arg2,(SbMatrix const &)*arg3,(int32_t const *)arg4,arg5,(int32_t const *)arg6,(int32_t const *)arg7,(int32_t const *)arg8,arg9,arg10,arg11); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getCoordIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getCoordIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getCoordIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getCoordIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumCoordIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumCoordIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumCoordIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumCoordIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getMaterialIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getMaterialIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getMaterialIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getMaterialIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumMaterialIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumMaterialIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumMaterialIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumMaterialIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNormalIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNormalIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNormalIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getNormalIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumNormalIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumNormalIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumNormalIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumNormalIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getTexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getTexIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getTexIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getTexIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumTexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumTexIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumTexIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumTexIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConvexDataCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConvexDataCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *SoGLCacheList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCacheList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLazyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLazyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLazyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_initClass",0,0)) SWIG_fail; - SoGLLazyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_init" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_push" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_pop" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendAllMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendAllMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendAllMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendAllMaterial(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendNoMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendNoMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendNoMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendNoMaterial(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendOnlyDiffuseColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendOnlyDiffuseColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendOnlyDiffuseColor" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendOnlyDiffuseColor(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoGLLazyElement::sendLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendPackedDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendPackedDiffuse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendPackedDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendPackedDiffuse" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - SoGLLazyElement::sendPackedDiffuse(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendFlatshading(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendFlatshading",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendFlatshading" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendFlatshading" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendFlatshading(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendVertexOrdering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendVertexOrdering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendVertexOrdering" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - SoGLLazyElement::sendVertexOrdering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendTwosideLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendTwosideLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendTwosideLighting" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendTwosideLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendTwosideLighting(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendBackfaceCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendBackfaceCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendBackfaceCulling" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendBackfaceCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendBackfaceCulling(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendDiffuseByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendDiffuseByIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendDiffuseByIndex" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendDiffuseByIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLLazyElement const *)arg1)->sendDiffuseByIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_isColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_isColorIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_isColorIndex" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLLazyElement::isColorIndex(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLLazyElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_getInstance" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLLazyElement *)SoGLLazyElement::getInstance((SoState const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_send" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_send" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_send" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ((SoGLLazyElement const *)arg1)->send((SoState const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendVPPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendVPPacked",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - (arg1)->sendVPPacked(arg2,(unsigned char const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_reset",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_reset" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_reset" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_reset" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ((SoGLLazyElement const *)arg1)->reset(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setDiffuseElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setDiffuseElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - (arg1)->setDiffuseElt(arg2,arg3,(SbColor const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setPackedElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - uint32_t *arg4 = (uint32_t *) 0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setPackedElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "4"" of type '" "uint32_t const *""'"); - } - arg4 = reinterpret_cast< uint32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->setPackedElt(arg2,arg3,(uint32_t const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setColorIndexElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setColorIndexElt",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - (arg1)->setColorIndexElt(arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTranspElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - float *arg4 = (float *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTranspElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - (arg1)->setTranspElt(arg2,arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTranspTypeElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTranspTypeElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTranspTypeElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setTranspTypeElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setTranspTypeElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setAmbientElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setAmbientElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setAmbientElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setAmbientElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setAmbientElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setEmissiveElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setEmissiveElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setEmissiveElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setEmissiveElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setEmissiveElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setSpecularElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setSpecularElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setSpecularElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setSpecularElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setSpecularElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setShininessElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setShininessElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setShininessElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setShininessElt" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setShininessElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setColorMaterialElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setColorMaterialElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setColorMaterialElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setColorMaterialElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColorMaterialElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_enableBlendingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_enableBlendingElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - (arg1)->enableBlendingElt(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_disableBlendingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_disableBlendingElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_disableBlendingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - (arg1)->disableBlendingElt(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setLightModelElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setLightModelElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->setLightModelElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setMaterialElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - uint32_t arg3 ; - SoColorPacker *arg4 = (SoColorPacker *) 0 ; - SbColor *arg5 = (SbColor *) 0 ; - int arg6 ; - float *arg7 = (float *) 0 ; - int arg8 ; - SbColor *arg9 = 0 ; - SbColor *arg10 = 0 ; - SbColor *arg11 = 0 ; - float arg12 ; - SbBool arg13 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - float val12 ; - int ecode12 = 0 ; - int val13 ; - int ecode13 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setMaterialElt",13,13,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "4"" of type '" "SoColorPacker *""'"); - } - arg4 = reinterpret_cast< SoColorPacker * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "5"" of type '" "SbColor const *""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "7"" of type '" "float const *""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_int(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "13"" of type '" "SbBool""'"); - } - arg13 = static_cast< SbBool >(val13); - (arg1)->setMaterialElt(arg2,arg3,arg4,(SbColor const *)arg5,arg6,(float const *)arg7,arg8,(SbColor const &)*arg9,(SbColor const &)*arg10,(SbColor const &)*arg11,arg12,arg13); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setVertexOrderingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setVertexOrderingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setVertexOrderingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setVertexOrderingElt" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - (arg1)->setVertexOrderingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setBackfaceCullingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setBackfaceCullingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setBackfaceCullingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setBackfaceCullingElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBackfaceCullingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTwosideLightingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTwosideLightingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTwosideLightingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setTwosideLightingElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setTwosideLightingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setShadeModelElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setShadeModelElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setShadeModelElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setShadeModelElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShadeModelElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setGLImageIdElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setGLImageIdElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setGLImageIdElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setAlphaTestElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setAlphaTestElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setAlphaTestElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setAlphaTestElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAlphaTestElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_beginCaching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - SoGLLazyElement::GLState *arg3 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_beginCaching",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_beginCaching" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_beginCaching" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_beginCaching" "', argument " "3"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg3 = reinterpret_cast< SoGLLazyElement::GLState * >(argp3); - SoGLLazyElement::beginCaching(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_endCaching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_endCaching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_endCaching" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::endCaching(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_preCacheCall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_preCacheCall",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_preCacheCall" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_preCacheCall" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - result = (SbBool)SoGLLazyElement::preCacheCall(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_postCacheCall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_postCacheCall",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_postCacheCall" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_postCacheCall" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - SoGLLazyElement::postCacheCall(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_mergeCacheInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - SoGLLazyElement::GLState *arg3 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_mergeCacheInfo",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_mergeCacheInfo" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_mergeCacheInfo" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_mergeCacheInfo" "', argument " "3"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg3 = reinterpret_cast< SoGLLazyElement::GLState * >(argp3); - SoGLLazyElement::mergeCacheInfo(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_updateColorVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoVBO *arg2 = (SoVBO *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_updateColorVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_updateColorVBO" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVBO, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_updateColorVBO" "', argument " "2"" of type '" "SoVBO *""'"); - } - arg2 = reinterpret_cast< SoVBO * >(argp2); - (arg1)->updateColorVBO(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLazyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLazyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_cachebitmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_cachebitmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_cachebitmask_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_cachebitmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->cachebitmask = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_cachebitmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_cachebitmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_cachebitmask_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->cachebitmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffuse_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffuse_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffuse_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_diffuse_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->diffuse = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffuse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffuse_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffuse_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->diffuse); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_ambient_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_ambient_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_ambient_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_ambient_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->ambient = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_ambient_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_ambient_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_ambient_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->ambient); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_emissive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_emissive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_emissive_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_emissive_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->emissive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_emissive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_emissive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_emissive_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->emissive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_specular_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_specular_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_specular_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_specular_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->specular = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_specular_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_specular_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_specular_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->specular); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_shininess_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_shininess_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->shininess = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_shininess_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (float) ((arg1)->shininess); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_lightmodel_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_lightmodel_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_lightmodel_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_lightmodel_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->lightmodel = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_lightmodel_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_lightmodel_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_lightmodel_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->lightmodel); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blending_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blending_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blending_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blending_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blending = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blending_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blending_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blending_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->blending); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_sfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_sfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_sfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blend_sfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blend_sfactor = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_sfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_sfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_sfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->blend_sfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_dfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_dfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_dfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blend_dfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blend_dfactor = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_dfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_dfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_dfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->blend_dfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alpha_blend_sfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alpha_blend_sfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_alpha_blend_sfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->alpha_blend_sfactor = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alpha_blend_sfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alpha_blend_sfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->alpha_blend_sfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alpha_blend_dfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alpha_blend_dfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_alpha_blend_dfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->alpha_blend_dfactor = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alpha_blend_dfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alpha_blend_dfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->alpha_blend_dfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_stipplenum_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_stipplenum_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_stipplenum_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_stipplenum_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->stipplenum = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_stipplenum_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_stipplenum_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_stipplenum_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->stipplenum); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_vertexordering_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_vertexordering_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_vertexordering_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_vertexordering_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->vertexordering = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_vertexordering_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_vertexordering_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_vertexordering_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->vertexordering); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_culling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_culling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_culling_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_culling_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->culling = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_culling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_culling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_culling_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->culling); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_twoside_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_twoside_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_twoside_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_twoside_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->twoside = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_twoside_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_twoside_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_twoside_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->twoside); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_flatshading_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_flatshading_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_flatshading_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_flatshading_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->flatshading = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_flatshading_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_flatshading_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_flatshading_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->flatshading); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_glimageid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_glimageid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_glimageid_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_glimageid_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->glimageid = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_glimageid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_glimageid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_glimageid_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->glimageid); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alphatest_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alphatest_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alphatest_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_alphatest_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->alphatest = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alphatest_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alphatest_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alphatest_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->alphatest); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffusenodeid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffusenodeid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffusenodeid_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_diffusenodeid_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->diffusenodeid = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffusenodeid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffusenodeid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffusenodeid_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->diffusenodeid); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_transpnodeid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_transpnodeid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_transpnodeid_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_transpnodeid_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->transpnodeid = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_transpnodeid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_transpnodeid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_transpnodeid_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = ((arg1)->transpnodeid); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_reserved_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_reserved_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_reserved_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_reserved_set" "', argument " "2"" of type '" "uint32_t [4]""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)4; ++ii) arg1->reserved[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""reserved""' of type '""uint32_t [4]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_reserved_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_reserved_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_reserved_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (uint32_t *)(uint32_t *) ((arg1)->reserved); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLLazyElement_GLState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLLazyElement_GLState",0,0)) SWIG_fail; - result = (SoGLLazyElement_GLState *)new SoGLLazyElement_GLState(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGLLazyElement_GLState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLLazyElement_GLState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLLazyElement_GLState" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLazyElement_GLState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoGLRenderCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLRenderCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLRenderCache" "', argument " "1"" of type '" "SoGLRenderCache *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderCache_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderCache_isValid",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderCache_isValid" "', argument " "1"" of type '" "SoGLRenderCache const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderCache_isValid" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SbBool)((SoGLRenderCache const *)arg1)->isValid((SoState const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderCache_addNestedCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderCache_addNestedCache",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderCache_addNestedCache" "', argument " "1"" of type '" "SoGLRenderCache *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderCache_addNestedCache" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - (arg1)->addNestedCache(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNormalCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNormalCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNormalCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalCache *)new SoNormalCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNormalCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNormalCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNormalCache" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_set" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalCache_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_set" "', argument " "3"" of type '" "SbVec3f const *const""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set(arg2,(SbVec3f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SoNormalGenerator *arg2 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_set" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_set" "', argument " "2"" of type '" "SoNormalGenerator *""'"); - } - arg2 = reinterpret_cast< SoNormalGenerator * >(argp2); - (arg1)->set(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalCache_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoNormalCache *,int const,SbVec3f const *const)\n" - " set(SoNormalCache *,SoNormalGenerator *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNum" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int)((SoNormalCache const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNormals" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (SbVec3f *)((SoNormalCache const *)arg1)->getNormals(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNumIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNumIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNumIndices" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int)((SoNormalCache const *)arg1)->getNumIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getIndices" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int32_t *)((SoNormalCache const *)arg1)->getIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - float arg6 ; - SbVec3f *arg7 = (SbVec3f *) 0 ; - int arg8 ; - SbBool arg9 ; - SbBool arg10 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbVec3f const *""'"); - } - arg7 = reinterpret_cast< SbVec3f * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNormalCache_generatePerVertex" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoNormalCache_generatePerVertex" "', argument " "9"" of type '" "SbBool""'"); - } - arg9 = static_cast< SbBool >(val9); - ecode10 = SWIG_AsVal_int(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoNormalCache_generatePerVertex" "', argument " "10"" of type '" "SbBool""'"); - } - arg10 = static_cast< SbBool >(val10); - (arg1)->generatePerVertex((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6,(SbVec3f const *)arg7,arg8,arg9,arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - float arg6 ; - SbVec3f *arg7 = (SbVec3f *) 0 ; - int arg8 ; - SbBool arg9 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbVec3f const *""'"); - } - arg7 = reinterpret_cast< SbVec3f * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNormalCache_generatePerVertex" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoNormalCache_generatePerVertex" "', argument " "9"" of type '" "SbBool""'"); - } - arg9 = static_cast< SbBool >(val9); - (arg1)->generatePerVertex((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6,(SbVec3f const *)arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - float arg6 ; - SbVec3f *arg7 = (SbVec3f *) 0 ; - int arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbVec3f const *""'"); - } - arg7 = reinterpret_cast< SbVec3f * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNormalCache_generatePerVertex" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - (arg1)->generatePerVertex((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6,(SbVec3f const *)arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - float arg6 ; - SbVec3f *arg7 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbVec3f const *""'"); - } - arg7 = reinterpret_cast< SbVec3f * >(argp7); - (arg1)->generatePerVertex((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6,(SbVec3f const *)arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->generatePerVertex((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[11]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 10); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_4(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_3(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_2(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalCache_generatePerVertex'.\n" - " Possible C/C++ prototypes are:\n" - " generatePerVertex(SoNormalCache *,SbVec3f const *const,unsigned int const,int32_t const *,int const,float const,SbVec3f const *,int const,SbBool const,SbBool const)\n" - " generatePerVertex(SoNormalCache *,SbVec3f const *const,unsigned int const,int32_t const *,int const,float const,SbVec3f const *,int const,SbBool const)\n" - " generatePerVertex(SoNormalCache *,SbVec3f const *const,unsigned int const,int32_t const *,int const,float const,SbVec3f const *,int const)\n" - " generatePerVertex(SoNormalCache *,SbVec3f const *const,unsigned int const,int32_t const *,int const,float const,SbVec3f const *)\n" - " generatePerVertex(SoNormalCache *,SbVec3f const *const,unsigned int const,int32_t const *,int const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFace",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFace" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFace" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerFace" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerFace" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFace" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerFace" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerFace((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFaceStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFaceStrip",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerFaceStrip((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerStrip",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerStrip" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerStrip" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerStrip" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalCache_generatePerStrip" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerStrip" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerStrip" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerStrip((SbVec3f const *)arg2,arg3,(int32_t const *)arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertexQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int arg4 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertexQuad",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerVertexQuad((SbVec3f const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFaceQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int arg4 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFaceQuad",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerFaceQuad((SbVec3f const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerRowQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - unsigned int arg3 ; - int arg4 ; - int arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerRowQuad",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->generatePerRowQuad((SbVec3f const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTextureCoordinateCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateCache *)new SoTextureCoordinateCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextureCoordinateCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextureCoordinateCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextureCoordinateCache" "', argument " "1"" of type '" "SoTextureCoordinateCache *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_generate",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_generate" "', argument " "1"" of type '" "SoTextureCoordinateCache *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCache_generate" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateCache_generate" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateCache_generate" "', argument " "3"" of type '" "SbVec3f const *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCoordinateCache_generate" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->generate((SbBox3f const &)*arg2,(SbVec3f const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_get" "', argument " "1"" of type '" "SoTextureCoordinateCache const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - result = (SbVec2f *)((SoTextureCoordinateCache const *)arg1)->get(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_getNum" "', argument " "1"" of type '" "SoTextureCoordinateCache const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - result = (int)((SoTextureCoordinateCache const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDetail" "', argument " "1"" of type '" "SoDetail *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_initClass",0,0)) SWIG_fail; - SoDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_initClasses",0,0)) SWIG_fail; - SoDetail::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_copy" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - result = (SoDetail *)((SoDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_getTypeId" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - result = ((SoDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_isOfType" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetail_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDetail_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoDetail const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoConeDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_getTypeId" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = ((SoConeDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoConeDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_cleanupClass",0,0)) SWIG_fail; - SoConeDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoConeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConeDetail",0,0)) SWIG_fail; - result = (SoConeDetail *)new SoConeDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConeDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoConeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoConeDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoConeDetail" "', argument " "1"" of type '" "SoConeDetail *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_initClass",0,0)) SWIG_fail; - SoConeDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_copy" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = (SoDetail *)((SoConeDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_setPart" "', argument " "1"" of type '" "SoConeDetail *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoConeDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_getPart" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = (int)((SoConeDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConeDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConeDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_getTypeId" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = ((SoCubeDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoCubeDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_cleanupClass",0,0)) SWIG_fail; - SoCubeDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCubeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCubeDetail",0,0)) SWIG_fail; - result = (SoCubeDetail *)new SoCubeDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCubeDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCubeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCubeDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCubeDetail" "', argument " "1"" of type '" "SoCubeDetail *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_initClass",0,0)) SWIG_fail; - SoCubeDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_copy" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = (SoDetail *)((SoCubeDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_setPart" "', argument " "1"" of type '" "SoCubeDetail *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCubeDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_getPart" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = (int)((SoCubeDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCubeDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCubeDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_getTypeId" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = ((SoCylinderDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoCylinderDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_cleanupClass",0,0)) SWIG_fail; - SoCylinderDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCylinderDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCylinderDetail",0,0)) SWIG_fail; - result = (SoCylinderDetail *)new SoCylinderDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCylinderDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCylinderDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCylinderDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCylinderDetail" "', argument " "1"" of type '" "SoCylinderDetail *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_initClass",0,0)) SWIG_fail; - SoCylinderDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_copy" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = (SoDetail *)((SoCylinderDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_setPart" "', argument " "1"" of type '" "SoCylinderDetail *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinderDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_getPart" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = (int)((SoCylinderDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCylinderDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCylinderDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getTypeId" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = ((SoPointDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoPointDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_cleanupClass",0,0)) SWIG_fail; - SoPointDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointDetail",0,0)) SWIG_fail; - result = (SoPointDetail *)new SoPointDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPointDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPointDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPointDetail" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_initClass",0,0)) SWIG_fail; - SoPointDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_copy" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (SoDetail *)((SoPointDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getCoordinateIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getCoordinateIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getCoordinateIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getCoordinateIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getMaterialIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getNormalIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getNormalIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getNormalIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getNormalIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getTextureCoordIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getTextureCoordIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getTextureCoordIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getTextureCoordIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setCoordinateIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setCoordinateIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setCoordinateIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setCoordinateIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCoordinateIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setMaterialIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setNormalIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setNormalIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setNormalIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setNormalIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNormalIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setTextureCoordIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setTextureCoordIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setTextureCoordIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setTextureCoordIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setTextureCoordIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getTypeId" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = ((SoFaceDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoFaceDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_cleanupClass",0,0)) SWIG_fail; - SoFaceDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFaceDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFaceDetail",0,0)) SWIG_fail; - result = (SoFaceDetail *)new SoFaceDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFaceDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFaceDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFaceDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFaceDetail" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_initClass",0,0)) SWIG_fail; - SoFaceDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_copy" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (SoDetail *)((SoFaceDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getNumPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getNumPoints" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getNumPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPoint" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPointDetail *)((SoFaceDetail const *)arg1)->getPoint(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPoints" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (SoPointDetail *)(arg1)->getPoints(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getFaceIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getFaceIndex" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getFaceIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPartIndex" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getPartIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setNumPoints",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setNumPoints" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setNumPoints" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumPoints(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - SoPointDetail *arg3 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setPoint" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFaceDetail_setPoint" "', argument " "3"" of type '" "SoPointDetail const *const""'"); - } - arg3 = reinterpret_cast< SoPointDetail * >(argp3); - (arg1)->setPoint(arg2,(SoPointDetail const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setFaceIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setFaceIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setFaceIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFaceIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setPartIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setPartIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setPartIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPartIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_incFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_incFaceIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_incFaceIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - (arg1)->incFaceIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_incPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_incPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_incPartIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - (arg1)->incPartIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFaceDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFaceDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getTypeId" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = ((SoLineDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoLineDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_cleanupClass",0,0)) SWIG_fail; - SoLineDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineDetail",0,0)) SWIG_fail; - result = (SoLineDetail *)new SoLineDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLineDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLineDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLineDetail" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_initClass",0,0)) SWIG_fail; - SoLineDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_copy" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoDetail *)((SoLineDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPoint0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPoint0",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPoint0" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoPointDetail *)((SoLineDetail const *)arg1)->getPoint0(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPoint1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPoint1",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPoint1" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoPointDetail *)((SoLineDetail const *)arg1)->getPoint1(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getLineIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getLineIndex" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (int)((SoLineDetail const *)arg1)->getLineIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPartIndex" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (int)((SoLineDetail const *)arg1)->getPartIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPoint0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *arg2 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPoint0",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPoint0" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineDetail_setPoint0" "', argument " "2"" of type '" "SoPointDetail const *const""'"); - } - arg2 = reinterpret_cast< SoPointDetail * >(argp2); - (arg1)->setPoint0((SoPointDetail const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPoint1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *arg2 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPoint1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPoint1" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineDetail_setPoint1" "', argument " "2"" of type '" "SoPointDetail const *const""'"); - } - arg2 = reinterpret_cast< SoPointDetail * >(argp2); - (arg1)->setPoint1((SoPointDetail const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setLineIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setLineIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineDetail_setLineIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setLineIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPartIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPartIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineDetail_setPartIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPartIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_incLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_incLineIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_incLineIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - (arg1)->incLineIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_incPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_incPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_incPartIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - (arg1)->incPartIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getTypeId" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = ((SoNodeKitDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeKitDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_cleanupClass",0,0)) SWIG_fail; - SoNodeKitDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKitDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKitDetail",0,0)) SWIG_fail; - result = (SoNodeKitDetail *)new SoNodeKitDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeKitDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeKitDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeKitDetail" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_initClass",0,0)) SWIG_fail; - SoNodeKitDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_copy" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoDetail *)((SoNodeKitDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setNodeKit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setNodeKit" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitDetail_setNodeKit" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - (arg1)->setNodeKit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBaseKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getNodeKit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getNodeKit" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoBaseKit *)((SoNodeKitDetail const *)arg1)->getNodeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseKit, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setPart" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitDetail_setPart" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getPart" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoNode *)((SoNodeKitDetail const *)arg1)->getPart(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setPartName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setPartName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setPartName" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setPartName((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getPartName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getPartName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getPartName" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - { - SbName const &_result_ref = ((SoNodeKitDetail const *)arg1)->getPartName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getTypeId" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = ((SoTextDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoTextDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_cleanupClass",0,0)) SWIG_fail; - SoTextDetail::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextDetail",0,0)) SWIG_fail; - result = (SoTextDetail *)new SoTextDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextDetail" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_initClass",0,0)) SWIG_fail; - SoTextDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_copy" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (SoDetail *)((SoTextDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getStringIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getStringIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getStringIndex" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getStringIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getCharacterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getCharacterIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getCharacterIndex" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getCharacterIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getPart" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setStringIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setStringIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setStringIndex" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setStringIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setStringIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setCharacterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setCharacterIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setCharacterIndex" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setCharacterIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCharacterIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setPart" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFNode",0,0)) SWIG_fail; - result = (SoSFNode *)new SoSFNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFNode" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFNode::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getClassTypeId",0,0)) SWIG_fail; - result = SoSFNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_getTypeId" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = ((SoSFNode const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_copyFrom" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_isSame" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFNode const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_getValue" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = (SoNode *)((SoSFNode const *)arg1)->getValue(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_setValue" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_setValue" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode___eq__" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode___eq__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode___eq__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - result = (int)((SoSFNode const *)arg1)->operator ==((SoSFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode___ne__" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode___ne__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode___ne__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - result = (int)((SoSFNode const *)arg1)->operator !=((SoSFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_initClass",0,0)) SWIG_fail; - SoSFNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_fixCopy" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFNode_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_referencesCopy" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = (SbBool)((SoSFNode const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_setValue" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_setValue" "', argument " "2"" of type '" "SoSFNode const *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - SoSFNode_setValue__SWIG_1(arg1,(SoSFNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFNode_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFNode_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFNode_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFNode *,SoNode *)\n" - " setValue(SoSFNode *,SoSFNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_initClass",0,0)) SWIG_fail; - SoNodekitCatalog::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)new SoNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodekitCatalog" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getNumEntries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getNumEntries",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getNumEntries" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - result = (int)((SoNodekitCatalog const *)arg1)->getNumEntries(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getPartNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getType'.\n" - " Possible C/C++ prototypes are:\n" - " getType(SoNodekitCatalog const *,int)\n" - " getType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getDefaultType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getDefaultType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getDefaultType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getDefaultType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getDefaultType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getDefaultType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getDefaultType'.\n" - " Possible C/C++ prototypes are:\n" - " getDefaultType(SoNodekitCatalog const *,int)\n" - " getDefaultType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isNullByDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isNullByDefault(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isNullByDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isNullByDefault((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isNullByDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isNullByDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isNullByDefault'.\n" - " Possible C/C++ prototypes are:\n" - " isNullByDefault(SoNodekitCatalog const *,int)\n" - " isNullByDefault(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isLeaf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isLeaf(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isLeaf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isLeaf((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isLeaf__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isLeaf__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isLeaf'.\n" - " Possible C/C++ prototypes are:\n" - " isLeaf(SoNodekitCatalog const *,int)\n" - " isLeaf(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getParentName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getParentName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getParentName((SbName const &)*arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentName__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getParentName'.\n" - " Possible C/C++ prototypes are:\n" - " getParentName(SoNodekitCatalog const *,int)\n" - " getParentName(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoNodekitCatalog const *)arg1)->getParentPartNumber(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getParentPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentPartNumber__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentPartNumber__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getParentPartNumber'.\n" - " Possible C/C++ prototypes are:\n" - " getParentPartNumber(SoNodekitCatalog const *,int)\n" - " getParentPartNumber(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getRightSiblingName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getRightSiblingName((SbName const &)*arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingName__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getRightSiblingName'.\n" - " Possible C/C++ prototypes are:\n" - " getRightSiblingName(SoNodekitCatalog const *,int)\n" - " getRightSiblingName(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoNodekitCatalog const *)arg1)->getRightSiblingPartNumber(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getRightSiblingPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getRightSiblingPartNumber'.\n" - " Possible C/C++ prototypes are:\n" - " getRightSiblingPartNumber(SoNodekitCatalog const *,int)\n" - " getRightSiblingPartNumber(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isList" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isList(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isList" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isList((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isList__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isList__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isList'.\n" - " Possible C/C++ prototypes are:\n" - " isList(SoNodekitCatalog const *,int)\n" - " isList(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getListContainerType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getListContainerType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getListContainerType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getListContainerType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getListContainerType'.\n" - " Possible C/C++ prototypes are:\n" - " getListContainerType(SoNodekitCatalog const *,int)\n" - " getListContainerType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListItemTypes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoTypeList const &_result_ref = ((SoNodekitCatalog const *)arg1)->getListItemTypes(arg2); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListItemTypes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SoTypeList const &_result_ref = ((SoNodekitCatalog const *)arg1)->getListItemTypes((SbName const &)*arg2); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getListItemTypes__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getListItemTypes__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getListItemTypes'.\n" - " Possible C/C++ prototypes are:\n" - " getListItemTypes(SoNodekitCatalog const *,int)\n" - " getListItemTypes(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isPublic",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isPublic" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isPublic" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isPublic(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isPublic",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isPublic" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isPublic((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isPublic__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isPublic__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isPublic'.\n" - " Possible C/C++ prototypes are:\n" - " isPublic(SoNodekitCatalog const *,int)\n" - " isPublic(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_clone",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_clone" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodekitCatalog_clone" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_clone" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoNodekitCatalog *)((SoNodekitCatalog const *)arg1)->clone(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addEntry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - SoType arg4 ; - SbBool arg5 ; - SbName *arg6 = 0 ; - SbName *arg7 = 0 ; - SbBool arg8 ; - SoType arg9 ; - SoType arg10 ; - SbBool arg11 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 ; - int res9 = 0 ; - void *argp10 ; - int res10 = 0 ; - int val11 ; - int ecode11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addEntry",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addEntry" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addEntry" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_addEntry" "', argument " "4"" of type '" "SoType""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "4"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNodekitCatalog_addEntry" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - { - if (PyString_Check(obj5)) { - arg6 = new SbName(PyString_AsString(obj5)); - } else { - SbName * tmp = NULL; - arg6 = new SbName; - SWIG_ConvertPtr(obj5, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg6 = *tmp; - } - } - { - if (PyString_Check(obj6)) { - arg7 = new SbName(PyString_AsString(obj6)); - } else { - SbName * tmp = NULL; - arg7 = new SbName; - SWIG_ConvertPtr(obj6, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg7 = *tmp; - } - } - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNodekitCatalog_addEntry" "', argument " "8"" of type '" "SbBool""'"); - } - arg8 = static_cast< SbBool >(val8); - { - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoNodekitCatalog_addEntry" "', argument " "9"" of type '" "SoType""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "9"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp9); - arg9 = *temp; - if (SWIG_IsNewObj(res9)) delete temp; - } - } - { - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoNodekitCatalog_addEntry" "', argument " "10"" of type '" "SoType""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "10"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp10); - arg10 = *temp; - if (SWIG_IsNewObj(res10)) delete temp; - } - } - ecode11 = SWIG_AsVal_int(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoNodekitCatalog_addEntry" "', argument " "11"" of type '" "SbBool""'"); - } - arg11 = static_cast< SbBool >(val11); - result = (SbBool)(arg1)->addEntry((SbName const &)*arg2,arg3,arg4,arg5,(SbName const &)*arg6,(SbName const &)*arg7,arg8,arg9,arg10,arg11); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg6) { - delete arg6; - } - } - { - if (arg7) { - delete arg7; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg6) { - delete arg6; - } - } - { - if (arg7) { - delete arg7; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addListItemType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->addListItemType(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addListItemType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->addListItemType((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodekitCatalog_addListItemType__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodekitCatalog_addListItemType__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_addListItemType'.\n" - " Possible C/C++ prototypes are:\n" - " addListItemType(SoNodekitCatalog *,int,SoType)\n" - " addListItemType(SoNodekitCatalog *,SbName const &,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_narrowTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - SoType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_narrowTypes",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "4"" of type '" "SoType""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "4"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->narrowTypes((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_setNullByDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_setNullByDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_setNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNodekitCatalog_setNullByDefault" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setNullByDefault((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_recursiveSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - SoTypeList *arg4 = (SoTypeList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_recursiveSearch",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "4"" of type '" "SoTypeList *""'"); - } - arg4 = reinterpret_cast< SoTypeList * >(argp4); - result = (SbBool)((SoNodekitCatalog const *)arg1)->recursiveSearch(arg2,(SbName const &)*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_printCheck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_printCheck",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_printCheck" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ((SoNodekitCatalog const *)arg1)->printCheck(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodekitCatalog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodekitCatalog, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFName",0,0)) SWIG_fail; - result = (SoSFName *)new SoSFName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFName" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFName::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getClassTypeId",0,0)) SWIG_fail; - result = SoSFName::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_getTypeId" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - result = ((SoSFName const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_copyFrom" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_isSame" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFName const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_getValue" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - { - SbName const &_result_ref = ((SoSFName const *)arg1)->getValue(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName___eq__" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName___eq__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName___eq__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - result = (int)((SoSFName const *)arg1)->operator ==((SoSFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName___ne__" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName___ne__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName___ne__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - result = (int)((SoSFName const *)arg1)->operator !=((SoSFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_initClass",0,0)) SWIG_fail; - SoSFName::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_setValue" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_setValue" "', argument " "2"" of type '" "SoSFName const *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - SoSFName_setValue__SWIG_2(arg1,(SoSFName const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFName_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFName_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFName_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFName_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFName *,SbName const &)\n" - " setValue(SoSFName *,char const *const)\n" - " setValue(SoSFName *,SoSFName const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFName",0,0)) SWIG_fail; - result = (SoMFName *)new SoMFName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFName" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFName::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getClassTypeId",0,0)) SWIG_fail; - result = SoMFName::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getTypeId" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = ((SoMFName const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_copyFrom" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_isSame" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_find" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_find" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFName_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFName_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFName *,SbName const &,SbBool)\n" - " find(SoMFName *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - int arg3 ; - SbName *arg4 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFName_setValues" "', argument " "4"" of type '" "SbName const *""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setValues(arg2,arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_set1Value" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___eq__" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName___eq__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName___eq__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->operator ==((SoMFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___ne__" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName___ne__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName___ne__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->operator !=((SoMFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_startEditing" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = (SbName *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_finishEditing" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_initClass",0,0)) SWIG_fail; - SoMFName::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - int arg3 ; - char **arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (char **)malloc(len * sizeof(char *)); - for (int i = 0; i < len; i++) { - PyObject * item = PyObject_Str(PySequence_GetItem(obj3,i)); - arg4[i] = PyString_AsString(item); - Py_DECREF(item); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(char const *(*))arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFName_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFName *,int const,int const,SbName const *)\n" - " setValues(SoMFName *,int const,int const,char const *[])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___getitem__" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = SoMFName___getitem__(arg1,arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___setitem__" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - SoMFName___setitem__(arg1,arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_setValue" "', argument " "2"" of type '" "SoMFName const *""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - SoMFName_setValue__SWIG_2(arg1,(SoMFName const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFName_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFName *,SbName const &)\n" - " setValue(SoMFName *,char const *)\n" - " setValue(SoMFName *,SoMFName const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbName *)SoMFName___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = (SbName *)SoMFName___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFName_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFName *,int &,int)\n" - " __getValuesHelper__(SoMFName *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeKitListPart::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getTypeId" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = ((SoNodeKitListPart const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_initClass",0,0)) SWIG_fail; - SoNodeKitListPart::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKitListPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKitListPart",0,0)) SWIG_fail; - result = (SoNodeKitListPart *)new SoNodeKitListPart(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitListPart, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getContainerType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getContainerType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getContainerType" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = ((SoNodeKitListPart const *)arg1)->getContainerType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_setContainerType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_setContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_setContainerType" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_setContainerType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_setContainerType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setContainerType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChildTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChildTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChildTypes" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - SoTypeList const &_result_ref = ((SoNodeKitListPart const *)arg1)->getChildTypes(); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_addChildType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_addChildType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_addChildType" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_addChildType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_addChildType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->addChildType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isTypePermitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isTypePermitted",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoNodeKitListPart const *)arg1)->isTypePermitted(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isChildPermitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isChildPermitted",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isChildPermitted" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_isChildPermitted" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoNodeKitListPart const *)arg1)->isChildPermitted((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_containerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_containerSet",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_containerSet" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_containerSet" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->containerSet((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_lockTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_lockTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_lockTypes" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - (arg1)->lockTypes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isTypeLocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isTypeLocked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isTypeLocked" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SbBool)((SoNodeKitListPart const *)arg1)->isTypeLocked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_addChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_insertChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNodeKitListPart_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChild" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitListPart const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_findChild" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_findChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoNodeKitListPart const *)arg1)->findChild(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getNumChildren" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (int)((SoNodeKitListPart const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_removeChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_removeChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodeKitListPart_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitListPart_removeChild'.\n" - " Possible C/C++ prototypes are:\n" - " removeChild(SoNodeKitListPart *,int)\n" - " removeChild(SoNodeKitListPart *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitListPart_replaceChild'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChild(SoNodeKitListPart *,int,SoNode *)\n" - " replaceChild(SoNodeKitListPart *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_affectsState" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SbBool)((SoNodeKitListPart const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_doAction" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_callback" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_GLRender" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getBoundingBox" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getMatrix" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_handleEvent" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_pick" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_search" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getPrimitiveCount" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChildren" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SoChildList *)((SoNodeKitListPart const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitListPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitListPart, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getLength" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - result = (int)((SoNodeKitPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getTail" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getNode" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getNodeFromTail" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_truncate" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_pop" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_append" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_append" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_append" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_append" "', argument " "2"" of type '" "SoNodeKitPath const *""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - (arg1)->append((SoNodeKitPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitPath_append__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitPath_append__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitPath_append'.\n" - " Possible C/C++ prototypes are:\n" - " append(SoNodeKitPath *,SoBaseKit *)\n" - " append(SoNodeKitPath *,SoNodeKitPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_containsNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_containsNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_containsNode" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_containsNode" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - result = (SbBool)((SoNodeKitPath const *)arg1)->containsNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_findFork(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_findFork",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_findFork" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_findFork" "', argument " "2"" of type '" "SoNodeKitPath const *""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)((SoNodeKitPath const *)arg1)->findFork((SoNodeKitPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath___eq__" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeKitPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath___eq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitPath___eq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)SoNodeKitPath___eq__(arg1,(SoNodeKitPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath___nq__" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeKitPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath___nq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitPath___nq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)SoNodeKitPath___nq__(arg1,(SoNodeKitPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoChildList *)new SoChildList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoChildList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoChildList *)new SoChildList(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - SoChildList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoChildList" "', argument " "2"" of type '" "SoChildList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoChildList" "', argument " "2"" of type '" "SoChildList const &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - result = (SoChildList *)new SoChildList(arg1,(SoChildList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoChildList__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoChildList__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoChildList__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoChildList'.\n" - " Possible C/C++ prototypes are:\n" - " SoChildList(SoNode *const)\n" - " SoChildList(SoNode *const,int const)\n" - " SoChildList(SoNode *const,SoChildList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoChildList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoChildList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoChildList" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_append" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_insert" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_insert" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_remove" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_truncate" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoChildList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_copy" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_copy" "', argument " "2"" of type '" "SoChildList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoChildList_copy" "', argument " "2"" of type '" "SoChildList const &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - (arg1)->copy((SoChildList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_set" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoChildList_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverseInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - int *arg4 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverseInPath",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverseInPath" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverseInPath" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverseInPath" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoChildList_traverseInPath" "', argument " "4"" of type '" "int const *""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - (arg1)->traverseInPath(arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->traverse(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->traverse(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->traverse(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoChildList_traverse" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->traverse(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoChildList_traverse__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoChildList_traverse__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoChildList_traverse__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoChildList_traverse__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoChildList_traverse'.\n" - " Possible C/C++ prototypes are:\n" - " traverse(SoChildList *,SoAction *const)\n" - " traverse(SoChildList *,SoAction *const,int const)\n" - " traverse(SoChildList *,SoAction *const,SoNode *)\n" - " traverse(SoChildList *,SoAction *const,int const,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_addPathAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_addPathAuditor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_addPathAuditor" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_addPathAuditor" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addPathAuditor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_removePathAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_removePathAuditor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_removePathAuditor" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_removePathAuditor" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->removePathAuditor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoChildList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoChildList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBaseKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getClassTypeId",0,0)) SWIG_fail; - result = SoBaseKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getTypeId" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = ((SoBaseKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_initClass",0,0)) SWIG_fail; - SoBaseKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseKit",0,0)) SWIG_fail; - result = (SoBaseKit *)new SoBaseKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoBaseKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getNodekitCatalog" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = (SoNodekitCatalog *)((SoBaseKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_getPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoNode *)(arg1)->getPart((SbName const &)*arg2,arg3); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPartString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPartString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPartString" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getPartString" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (arg1)->getPartString((SoBase const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - SoPath *arg4 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoNodeKitPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_createPathToPart",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_createPathToPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_createPathToPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBaseKit_createPathToPart" "', argument " "4"" of type '" "SoPath const *""'"); - } - arg4 = reinterpret_cast< SoPath * >(argp4); - result = (SoNodeKitPath *)(arg1)->createPathToPart((SbName const &)*arg2,arg3,(SoPath const *)arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoNodeKitPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_createPathToPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_createPathToPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_createPathToPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoNodeKitPath *)(arg1)->createPathToPart((SbName const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBaseKit_createPathToPart__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_createPathToPart__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_createPathToPart'.\n" - " Possible C/C++ prototypes are:\n" - " createPathToPart(SoBaseKit *,SbName const &,SbBool,SoPath const *)\n" - " createPathToPart(SoBaseKit *,SbName const &,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_setPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_setPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseKit_setPart" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPart((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_set" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_set" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseKit_set" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set((char const *)arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoBaseKit *,char const *)\n" - " set(SoBaseKit *,char const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_doAction" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_callback" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_GLRender" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getBoundingBox" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getMatrix" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_handleEvent" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_rayPick" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_search" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_write" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPrimitiveCount" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getChildren" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = (SoChildList *)((SoBaseKit const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printDiagram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printDiagram",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printDiagram" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - (arg1)->printDiagram(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printSubDiagram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printSubDiagram",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printSubDiagram" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_printSubDiagram" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->printSubDiagram((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printTable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printTable" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - (arg1)->printTable(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_addWriteReference" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_addWriteReference" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBaseKit_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_addWriteReference'.\n" - " Possible C/C++ prototypes are:\n" - " addWriteReference(SoBaseKit *,SoOutput *,SbBool)\n" - " addWriteReference(SoBaseKit *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_forceChildDrivenWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_forceChildDrivenWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_forceChildDrivenWriteRefs" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_forceChildDrivenWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - result = (SbBool)(arg1)->forceChildDrivenWriteRefs(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_isSearchingChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_isSearchingChildren",0,0)) SWIG_fail; - result = (SbBool)SoBaseKit::isSearchingChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_setSearchingChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_setSearchingChildren",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoBaseKit_setSearchingChildren" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoBaseKit::setSearchingChildren(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBaseKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSensor" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setFunction" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSensor_setFunction" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - (arg1)->setFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSensorCBPtr result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getFunction" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SoSensorCBPtr)((SoSensor const *)arg1)->getFunction(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_SoSensor__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setData" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_setData" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->setData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getData" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (void *)((SoSensor const *)arg1)->getData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_schedule" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_unschedule" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_isScheduled" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SbBool)((SoSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_trigger" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_isBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensor *arg2 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_isBefore",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_isBefore" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_isBefore" "', argument " "2"" of type '" "SoSensor const *""'"); - } - arg2 = reinterpret_cast< SoSensor * >(argp2); - result = (SbBool)((SoSensor const *)arg1)->isBefore((SoSensor const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setNextInQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensor *arg2 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setNextInQueue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setNextInQueue" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_setNextInQueue" "', argument " "2"" of type '" "SoSensor *""'"); - } - arg2 = reinterpret_cast< SoSensor * >(argp2); - (arg1)->setNextInQueue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getNextInQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getNextInQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getNextInQueue" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SoSensor *)((SoSensor const *)arg1)->getNextInQueue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_initClass",0,0)) SWIG_fail; - SoSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoDelayQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDelayQueueSensor",0,0)) SWIG_fail; - result = (SoDelayQueueSensor *)new SoDelayQueueSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDelayQueueSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoDelayQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDelayQueueSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoDelayQueueSensor *)new SoDelayQueueSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDelayQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDelayQueueSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDelayQueueSensor" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_setPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_setPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_setPriority" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDelayQueueSensor_setPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_getPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_getPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_getPriority" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = ((SoDelayQueueSensor const *)arg1)->getPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_getDefaultPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_getDefaultPriority",0,0)) SWIG_fail; - result = SoDelayQueueSensor::getDefaultPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_schedule" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_unschedule" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_isScheduled" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = (SbBool)((SoDelayQueueSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_isIdleOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_isIdleOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_isIdleOnly" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = (SbBool)((SoDelayQueueSensor const *)arg1)->isIdleOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_trigger" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDelayQueueSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDelayQueueSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoDataSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDataSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDataSensor" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->setDeleteCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setDeleteCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - (arg1)->setDeleteCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDataSensor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSensor__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDataSensor_setDeleteCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDataSensor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSensor__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDataSensor_setDeleteCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDataSensor_setDeleteCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setDeleteCallback(SoDataSensor *,SoSensorCB *,void *)\n" - " setDeleteCallback(SoDataSensor *,SoSensorCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerNode" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoNode *)((SoDataSensor const *)arg1)->getTriggerNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerField" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoField *)((SoDataSensor const *)arg1)->getTriggerField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerPath" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoPath *)((SoDataSensor const *)arg1)->getTriggerPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setTriggerPathFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setTriggerPathFlag",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setTriggerPathFlag" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDataSensor_setTriggerPathFlag" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setTriggerPathFlag(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerPathFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerPathFlag",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerPathFlag" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SbBool)((SoDataSensor const *)arg1)->getTriggerPathFlag(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_trigger" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_notify" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDataSensor_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_dyingReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_dyingReference",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_dyingReference" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - (arg1)->dyingReference(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDataSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDataSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldSensor",0,0)) SWIG_fail; - result = (SoFieldSensor *)new SoFieldSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoFieldSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoFieldSensor *)new SoFieldSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldSensor" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_attach" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldSensor_attach" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_detach" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_getAttachedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_getAttachedField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_getAttachedField" "', argument " "1"" of type '" "SoFieldSensor const *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - result = (SoField *)((SoFieldSensor const *)arg1)->getAttachedField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_trigger" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getClassTypeId",0,0)) SWIG_fail; - result = SoInteractionKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_getTypeId" "', argument " "1"" of type '" "SoInteractionKit const *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = ((SoInteractionKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoInteractionKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_getNodekitCatalog" "', argument " "1"" of type '" "SoInteractionKit const *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoNodekitCatalog *)((SoInteractionKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCaching_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCaching_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_boundingBoxCaching_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_boundingBoxCaching_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCulling_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCulling_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_pickCulling_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_pickCulling_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInteractionKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInteractionKit",0,0)) SWIG_fail; - result = (SoInteractionKit *)new SoInteractionKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInteractionKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_initClass",0,0)) SWIG_fail; - SoInteractionKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsPath" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsPath" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - result = (SbBool)(arg1)->setPartAsPath((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,(SbName const &)*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInteractionKit_setPartAsDefault'.\n" - " Possible C/C++ prototypes are:\n" - " setPartAsDefault(SoInteractionKit *,SbName const &,SoNode *,SbBool)\n" - " setPartAsDefault(SoInteractionKit *,SbName const &,SoNode *)\n" - " setPartAsDefault(SoInteractionKit *,SbName const &,SbName const &,SbBool)\n" - " setPartAsDefault(SoInteractionKit *,SbName const &,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPath **arg3 = 0 ; - SbName *arg4 = 0 ; - SoPath **arg5 = 0 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - arg3 = reinterpret_cast< SoPath ** >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - arg5 = reinterpret_cast< SoPath ** >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2,*arg3,*arg4,*arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPath **arg3 = 0 ; - SbName *arg4 = 0 ; - SoPath **arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - arg3 = reinterpret_cast< SoPath ** >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - arg5 = reinterpret_cast< SoPath ** >(argp5); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInteractionKit_isPathSurrogateInMySubgraph'.\n" - " Possible C/C++ prototypes are:\n" - " isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *,SoPath *&,SbName &,SoPath *&,SbBool)\n" - " isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *,SoPath *&,SbName &,SoPath *&)\n" - " isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setSwitchValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setSwitchValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setSwitchValue" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInteractionKit_setSwitchValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoInteractionKit::setSwitchValue(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPart" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPart" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPart((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoInteractionKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInteractionKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoCallbackList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackList",0,0)) SWIG_fail; - result = (SoCallbackList *)new SoCallbackList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCallbackList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCallbackList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCallbackList" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_addCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_addCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_addCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackList_addCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_addCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_addCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_addCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - (arg1)->addCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_addCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_addCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackList_addCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addCallback(SoCallbackList *,SoCallbackListCB *,void *)\n" - " addCallback(SoCallbackList *,SoCallbackListCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_removeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_removeCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_removeCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackList_removeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_removeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_removeCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_removeCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - (arg1)->removeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_removeCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_removeCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackList_removeCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeCallback(SoCallbackList *,SoCallbackListCB *,void *)\n" - " removeCallback(SoCallbackList *,SoCallbackListCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_clearCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_clearCallbacks",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_clearCallbacks" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - (arg1)->clearCallbacks(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_getNumCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_getNumCallbacks",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_getNumCallbacks" "', argument " "1"" of type '" "SoCallbackList const *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - result = (int)((SoCallbackList const *)arg1)->getNumCallbacks(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_invokeCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_invokeCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_invokeCallbacks" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackList_invokeCallbacks" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->invokeCallbacks(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCallbackList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallbackList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",0,0)) SWIG_fail; - result = (SbVec3d *)new SbVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - double temp1[3] ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3d *)new SbVec3d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbVec3d *)new SbVec3d(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbVec3d *)new SbVec3d((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = (SbVec3d *)new SbVec3d((SbVec3b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (SbVec3d *)new SbVec3d((SbVec3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = (SbVec3d *)new SbVec3d((SbVec3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = 0 ; - SbDPPlane *arg2 = 0 ; - SbDPPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbDPPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbDPPlane const &""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec3d" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec3d" "', argument " "3"" of type '" "SbDPPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "3"" of type '" "SbDPPlane const &""'"); - } - arg3 = reinterpret_cast< SbDPPlane * >(argp3); - result = (SbVec3d *)new SbVec3d((SbDPPlane const &)*arg1,(SbDPPlane const &)*arg2,(SbDPPlane const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3d__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_7(self, args); - } - } - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3d__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3d'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec3d()\n" - " SbVec3d(double const [3])\n" - " SbVec3d(double,double,double)\n" - " SbVec3d(SbVec3f const &)\n" - " SbVec3d(SbVec3b const &)\n" - " SbVec3d(SbVec3s const &)\n" - " SbVec3d(SbVec3i32 const &)\n" - " SbVec3d(SbDPPlane const &,SbDPPlane const &,SbDPPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - { - convert_SbVec3d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - { - SbVec3d &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbVec3d *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec3d_setValue" "', argument " "5"" of type '" "SbVec3d const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "5"" of type '" "SbVec3d const &""'"); - } - arg5 = reinterpret_cast< SbVec3d * >(argp5); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3,(SbVec3d const &)*arg4,(SbVec3d const &)*arg5); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - arg2 = reinterpret_cast< SbVec3b * >(argp2); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3b const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3s const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3i32 const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec3d *,double const [3])\n" - " setValue(SbVec3d *,double,double,double)\n" - " setValue(SbVec3d *,SbVec3d const &,SbVec3d const &,SbVec3d const &,SbVec3d const &)\n" - " setValue(SbVec3d *,SbVec3f const &)\n" - " setValue(SbVec3d *,SbVec3b const &)\n" - " setValue(SbVec3d *,SbVec3s const &)\n" - " setValue(SbVec3d *,SbVec3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_getValue" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double *)((SbVec3d const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_cross(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_cross",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_cross" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_cross" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_cross" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = ((SbVec3d const *)arg1)->cross((SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_dot" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_dot" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_dot" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (double)((SbVec3d const *)arg1)->dot((SbVec3d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_equals" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_equals" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_equals" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec3d const *)arg1)->equals((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_getClosestAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_getClosestAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_getClosestAxis" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = ((SbVec3d const *)arg1)->getClosestAxis(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_length" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)((SbVec3d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_sqrLength" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)((SbVec3d const *)arg1)->sqrLength(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_negate" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_normalize" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___imul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___idiv__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___iadd__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___iadd__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___iadd__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3d &_result_ref = (arg1)->operator +=((SbVec3d const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___isub__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___isub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___isub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3d &_result_ref = (arg1)->operator -=((SbVec3d const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___neg__" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = ((SbVec3d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_output" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___add__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___add__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___add__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbVec3d___add__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___sub__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___sub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___sub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbVec3d___sub__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___mul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___mul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbVec3d___mul____SWIG_1(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3d___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___rmul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___div__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___eq__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___eq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___eq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)SbVec3d___eq__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___nq__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___nq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___nq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)SbVec3d___nq__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___getitem__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec3d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___setitem__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec3d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3d" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPViewVolume",0,0)) SWIG_fail; - result = (SbDPViewVolume *)new SbDPViewVolume(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPViewVolume" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getMatrices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getMatrices",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getMatrices" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getMatrices" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getMatrices" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_getMatrices" "', argument " "3"" of type '" "SbDPMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getMatrices" "', argument " "3"" of type '" "SbDPMatrix &""'"); - } - arg3 = reinterpret_cast< SbDPMatrix * >(argp3); - ((SbDPViewVolume const *)arg1)->getMatrices(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getMatrix" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getMatrix(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getCameraSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getCameraSpaceMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getCameraSpaceMatrix" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getCameraSpaceMatrix(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec2d *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectPointToLine",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - ((SbDPViewVolume const *)arg1)->projectPointToLine((SbVec2d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectPointToLine",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - ((SbDPViewVolume const *)arg1)->projectPointToLine((SbVec2d const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_projectPointToLine__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_projectPointToLine__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_projectPointToLine'.\n" - " Possible C/C++ prototypes are:\n" - " projectPointToLine(SbDPViewVolume const *,SbVec2d const &,SbDPLine &)\n" - " projectPointToLine(SbDPViewVolume const *,SbVec2d const &,SbVec3d &,SbVec3d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectToScreen",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectToScreen" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPViewVolume const *)arg1)->projectToScreen((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getPlane" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getPlane" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = ((SbDPViewVolume const *)arg1)->getPlane(arg2); - resultobj = SWIG_NewPointerObj((new SbPlane(static_cast< const SbPlane& >(result))), SWIGTYPE_p_SbPlane, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getSightPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getSightPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getSightPoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getSightPoint" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = ((SbDPViewVolume const *)arg1)->getSightPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getPlanePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getPlanePoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - result = ((SbDPViewVolume const *)arg1)->getPlanePoint(arg2,(SbVec2d const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getAlignRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = ((SbDPViewVolume const *)arg1)->getAlignRotation(arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getAlignRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getAlignRotation(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_getAlignRotation__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPViewVolume_getAlignRotation__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_getAlignRotation'.\n" - " Possible C/C++ prototypes are:\n" - " getAlignRotation(SbDPViewVolume const *,SbBool)\n" - " getAlignRotation(SbDPViewVolume const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getWorldToScreenScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getWorldToScreenScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (double)((SbDPViewVolume const *)arg1)->getWorldToScreenScale((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectBox" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbDPViewVolume const *)arg1)->projectBox((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbDPViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_narrow",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_narrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_narrow" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_narrow" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_narrow" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - result = ((SbDPViewVolume const *)arg1)->narrow(arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_narrow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_narrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbDPViewVolume const *)arg1)->narrow((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_narrow__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPViewVolume_narrow__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_narrow'.\n" - " Possible C/C++ prototypes are:\n" - " narrow(SbDPViewVolume const *,double,double,double,double)\n" - " narrow(SbDPViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_ortho(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_ortho",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_ortho" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_ortho" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_ortho" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_ortho" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_ortho" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPViewVolume_ortho" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPViewVolume_ortho" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - (arg1)->ortho(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_perspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_perspective",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_perspective" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_perspective" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_perspective" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_perspective" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_perspective" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->perspective(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_frustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_frustum",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_frustum" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_frustum" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_frustum" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_frustum" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_frustum" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPViewVolume_frustum" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPViewVolume_frustum" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - (arg1)->frustum(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_rotateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_rotateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_rotateCamera" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_rotateCamera" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_rotateCamera" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - (arg1)->rotateCamera((SbDPRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_translateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_translateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_translateCamera" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->translateCamera((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_zVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_zVector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_zVector" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->zVector(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_zNarrow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbDPViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_zNarrow",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_zNarrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_zNarrow" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_zNarrow" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = ((SbDPViewVolume const *)arg1)->zNarrow(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scale" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scale" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scaleWidth" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scaleWidth" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scaleHeight" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scaleHeight" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPViewVolume::ProjectionType result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionType" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (SbDPViewVolume::ProjectionType)((SbDPViewVolume const *)arg1)->getProjectionType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionPoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPViewVolume const *)arg1)->getProjectionPoint(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionDirection" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPViewVolume const *)arg1)->getProjectionDirection(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getNearDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getNearDist",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getNearDist" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getNearDist(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getWidth" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getWidth(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getHeight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getHeight" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getHeight(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getDepth" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getDepth(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_output" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPViewVolume const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getViewVolumePlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbPlane *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getViewVolumePlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getViewVolumePlanes" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getViewVolumePlanes" "', argument " "2"" of type '" "SbPlane [6]""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ((SbDPViewVolume const *)arg1)->getViewVolumePlanes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_transform" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - (arg1)->transform((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getViewUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getViewUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getViewUp" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getViewUp(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_copyValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_copyValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_copyValues" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_copyValues" "', argument " "2"" of type '" "SbViewVolume &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_copyValues" "', argument " "2"" of type '" "SbViewVolume &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->copyValues(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPViewVolume_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPViewVolume, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewVolume",0,0)) SWIG_fail; - result = (SbViewVolume *)new SbViewVolume(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbViewVolume" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getMatrices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getMatrices",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getMatrices" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getMatrices" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getMatrices" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_getMatrices" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getMatrices" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SbViewVolume const *)arg1)->getMatrices(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getMatrix" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getCameraSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getCameraSpaceMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getCameraSpaceMatrix" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getCameraSpaceMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getPlane" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getPlane" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SbViewVolume const *)arg1)->getPlane(arg2); - resultobj = SWIG_NewPointerObj((new SbPlane(static_cast< const SbPlane& >(result))), SWIGTYPE_p_SbPlane, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getSightPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getSightPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getSightPoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getSightPoint" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SbViewVolume const *)arg1)->getSightPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getPlanePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getPlanePoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getPlanePoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getPlanePoint" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = ((SbViewVolume const *)arg1)->getPlanePoint(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getAlignRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getAlignRotation" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = ((SbViewVolume const *)arg1)->getAlignRotation(arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getAlignRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getAlignRotation(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_getAlignRotation__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewVolume_getAlignRotation__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_getAlignRotation'.\n" - " Possible C/C++ prototypes are:\n" - " getAlignRotation(SbViewVolume const *,SbBool)\n" - " getAlignRotation(SbViewVolume const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getWorldToScreenScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getWorldToScreenScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (float)((SbViewVolume const *)arg1)->getWorldToScreenScale((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectBox" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbViewVolume const *)arg1)->projectBox((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_narrow",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_narrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_narrow" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_narrow" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_narrow" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - result = ((SbViewVolume const *)arg1)->narrow(arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_narrow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_narrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbViewVolume const *)arg1)->narrow((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_narrow__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewVolume_narrow__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_narrow'.\n" - " Possible C/C++ prototypes are:\n" - " narrow(SbViewVolume const *,float,float,float,float)\n" - " narrow(SbViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ortho(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ortho",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ortho" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_ortho" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_ortho" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_ortho" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_ortho" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbViewVolume_ortho" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbViewVolume_ortho" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->ortho(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_perspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_perspective",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_perspective" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_perspective" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_perspective" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_perspective" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_perspective" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->perspective(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_frustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_frustum",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_frustum" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_frustum" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_frustum" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_frustum" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_frustum" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbViewVolume_frustum" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbViewVolume_frustum" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->frustum(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_rotateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_rotateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_rotateCamera" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_rotateCamera" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_rotateCamera" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->rotateCamera((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_translateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_translateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_translateCamera" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->translateCamera((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_zVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_zVector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_zVector" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->zVector(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_zNarrow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_zNarrow",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_zNarrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_zNarrow" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_zNarrow" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = ((SbViewVolume const *)arg1)->zNarrow(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scale" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scale" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scaleWidth" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scaleWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scaleHeight" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume::ProjectionType result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionType" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbViewVolume::ProjectionType)((SbViewVolume const *)arg1)->getProjectionType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionPoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - SbVec3f const &_result_ref = ((SbViewVolume const *)arg1)->getProjectionPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionDirection" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - SbVec3f const &_result_ref = ((SbViewVolume const *)arg1)->getProjectionDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getNearDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getNearDist",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getNearDist" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getNearDist(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getWidth" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getHeight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getHeight" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getHeight(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getDepth" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getDepth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_output" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbViewVolume const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getViewVolumePlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbPlane *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getViewVolumePlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getViewVolumePlanes" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getViewVolumePlanes" "', argument " "2"" of type '" "SbPlane [6]""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ((SbViewVolume const *)arg1)->getViewVolumePlanes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_transform" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getViewUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getViewUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getViewUp" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getViewUp(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbViewVolume_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbViewVolume const *,SbVec3f const &)\n" - " intersect(SbViewVolume const *,SbVec3f const &,SbVec3f const &,SbVec3f &)\n" - " intersect(SbViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_outsideTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbPlane *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_outsideTest",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_outsideTest" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_outsideTest" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_outsideTest" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbViewVolume_outsideTest" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbViewVolume const *)arg1)->outsideTest((SbPlane const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getDPViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getDPViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getDPViewVolume" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - SbDPViewVolume const &_result_ref = ((SbViewVolume const *)arg1)->getDPViewVolume(); - result = (SbDPViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbViewVolume::ProjectionType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_type_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_type_set" "', argument " "2"" of type '" "SbViewVolume::ProjectionType""'"); - } - arg2 = static_cast< SbViewVolume::ProjectionType >(val2); - if (arg1) (arg1)->type = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume::ProjectionType result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_type_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbViewVolume::ProjectionType) ((arg1)->type); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projPoint_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projPoint_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projPoint_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projPoint_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->projPoint = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projPoint_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projPoint_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projPoint_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->projPoint); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projDir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projDir_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projDir_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projDir_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->projDir = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projDir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projDir_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projDir_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->projDir); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearDist_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearDist_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearDist_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_nearDist_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->nearDist = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearDist_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearDist_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearDist_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float) ((arg1)->nearDist); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearToFar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearToFar_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearToFar_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_nearToFar_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->nearToFar = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearToFar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearToFar_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearToFar_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float) ((arg1)->nearToFar); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_llf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_llf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_llf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_llf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->llf = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_llf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_llf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_llf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->llf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_lrf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_lrf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_lrf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_lrf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->lrf = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_lrf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_lrf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_lrf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->lrf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ulf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ulf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ulf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_ulf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->ulf = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ulf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ulf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ulf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->ulf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectPointToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectPointToLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (PyObject *)SbViewVolume_projectPointToLine(arg1,(SbVec2f const &)*arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectToScreen",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectToScreen" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (PyObject *)SbViewVolume_projectToScreen(arg1,(SbVec3f const &)*arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbViewVolume_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbViewVolume, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3f",0,0)) SWIG_fail; - result = (SoSFVec3f *)new SoSFVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3f" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_getTypeId" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - result = ((SoSFVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_copyFrom" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_isSame" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_getValue" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - { - SbVec3f const &_result_ref = ((SoSFVec3f const *)arg1)->getValue(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f___eq__" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f___eq__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f___eq__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - result = (int)((SoSFVec3f const *)arg1)->operator ==((SoSFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f___ne__" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f___ne__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f___ne__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - result = (int)((SoSFVec3f const *)arg1)->operator !=((SoSFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_initClass",0,0)) SWIG_fail; - SoSFVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SoSFVec3f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - SoSFVec3f_setValue__SWIG_3(arg1,(SoSFVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec3f *,SbVec3f const &)\n" - " setValue(SoSFVec3f *,float,float,float)\n" - " setValue(SoSFVec3f *,float const [3])\n" - " setValue(SoSFVec3f *,SoSFVec3f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getClassTypeId",0,0)) SWIG_fail; - result = SoScale::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getTypeId" "', argument " "1"" of type '" "SoScale const *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - result = ((SoScale const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_initClass",0,0)) SWIG_fail; - SoScale::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale",0,0)) SWIG_fail; - result = (SoScale *)new SoScale(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_scaleFactor_set" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_scaleFactor_get" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_doAction" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_callback" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_GLRender" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getBoundingBox" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getMatrix" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_pick" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getPrimitiveCount" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTypeId" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = ((SoDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_isActive_set" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_isActive_get" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_callback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_GLRender" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_rayPick" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_search" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_write" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPrimitiveCount" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setProjectorEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setProjectorEpsilon",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setProjectorEpsilon" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_setProjectorEpsilon" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setProjectorEpsilon(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getProjectorEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getProjectorEpsilon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getProjectorEpsilon" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (float)((SoDragger const *)arg1)->getProjectorEpsilon(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addMotionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addMotionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeMotionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeMotionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addValueChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addValueChangedCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeValueChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeValueChangedCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMinGesture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMinGesture",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setMinGesture" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_setMinGesture" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMinGesture(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMinGesture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMinGesture",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMinGesture" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (int)((SoDragger const *)arg1)->getMinGesture(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_enableValueChangedCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_enableValueChangedCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_enableValueChangedCallbacks" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_enableValueChangedCallbacks" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableValueChangedCallbacks(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMotionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbMatrix const &_result_ref = (arg1)->getMotionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addOtherEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addOtherEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeOtherEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeOtherEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_registerChildDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_registerChildDragger",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_registerChildDragger" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_registerChildDragger" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->registerChildDragger(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_unregisterChildDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_unregisterChildDragger",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_unregisterChildDragger" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_unregisterChildDragger" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->unregisterChildDragger(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_registerChildDraggerMovingIndependently(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_registerChildDraggerMovingIndependently",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_registerChildDraggerMovingIndependently" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_registerChildDraggerMovingIndependently" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->registerChildDraggerMovingIndependently(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_unregisterChildDraggerMovingIndependently(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_unregisterChildDraggerMovingIndependently",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_unregisterChildDraggerMovingIndependently" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_unregisterChildDraggerMovingIndependently" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->unregisterChildDraggerMovingIndependently(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getLocalToWorldMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getLocalToWorldMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getLocalToWorldMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getLocalToWorldMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getWorldToLocalMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getWorldToLocalMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getWorldToLocalMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getWorldToLocalMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getLocalStartingPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getLocalStartingPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getLocalStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getLocalStartingPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getWorldStartingPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getWorldStartingPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getWorldStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getWorldStartingPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPartToLocalMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbName *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - SbMatrix *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPartToLocalMatrix",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "4"" of type '" "SbMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "4"" of type '" "SbMatrix &""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - (arg1)->getPartToLocalMatrix((SbName const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixLocalToWorld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixLocalToWorld",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->transformMatrixLocalToWorld((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixWorldToLocal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixWorldToLocal",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->transformMatrixWorldToLocal((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixToLocalSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - SbName *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixToLocalSpace",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - (arg1)->transformMatrixToLocalSpace((SbMatrix const &)*arg2,*arg3,(SbName const &)*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMotionMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setMotionMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setMotionMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setMotionMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_valueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_valueChanged",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_valueChanged" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->valueChanged(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getStartMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getStartMotionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getStartMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbMatrix const &_result_ref = (arg1)->getStartMotionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_saveStartParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_saveStartParameters",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_saveStartParameters" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->saveStartParameters(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPickPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPickPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPickPath" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getPickPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getEvent" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoEvent *)((SoDragger const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_createPathToThis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_createPathToThis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_createPathToThis" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)(arg1)->createPathToThis(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedOwner",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedOwner" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getSurrogatePartPickedOwner(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedName" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbName const &_result_ref = ((SoDragger const *)arg1)->getSurrogatePartPickedName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedPath" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getSurrogatePartPickedPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setStartingPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SoPickedPoint const *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - (arg1)->setStartingPoint((SoPickedPoint const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setStartingPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartingPoint((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_setStartingPoint__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_setStartingPoint__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_setStartingPoint'.\n" - " Possible C/C++ prototypes are:\n" - " setStartingPoint(SoDragger *,SoPickedPoint const *)\n" - " setStartingPoint(SoDragger *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getViewVolume" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbViewVolume const &_result_ref = (arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setViewVolume" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->setViewVolume((SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getViewportRegion" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbViewportRegion const &_result_ref = (arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setViewportRegion" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoHandleEventAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getHandleEventAction" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoHandleEventAction *)((SoDragger const *)arg1)->getHandleEventAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setHandleEventAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setHandleEventAction" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setHandleEventAction" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->setHandleEventAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setTempPathToThis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setTempPathToThis",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setTempPathToThis" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setTempPathToThis" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setTempPathToThis((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_grabEventsSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_grabEventsSetup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_grabEventsSetup" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->grabEventsSetup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_grabEventsCleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_grabEventsCleanup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_grabEventsCleanup" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->grabEventsCleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_workFieldsIntoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_workFieldsIntoTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->workFieldsIntoTransform(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setFrontOnProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger::ProjectorFrontSetting arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setFrontOnProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setFrontOnProjector" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_setFrontOnProjector" "', argument " "2"" of type '" "SoDragger::ProjectorFrontSetting""'"); - } - arg2 = static_cast< SoDragger::ProjectorFrontSetting >(val2); - (arg1)->setFrontOnProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getFrontOnProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger::ProjectorFrontSetting result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getFrontOnProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getFrontOnProjector" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoDragger::ProjectorFrontSetting)((SoDragger const *)arg1)->getFrontOnProjector(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMinScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMinScale",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDragger_setMinScale" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - SoDragger::setMinScale(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMinScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMinScale",0,0)) SWIG_fail; - result = (float)SoDragger::getMinScale(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_workValuesIntoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - SbRotation *arg3 = (SbRotation *) 0 ; - SbVec3f *arg4 = (SbVec3f *) 0 ; - SbRotation *arg5 = (SbRotation *) 0 ; - SbVec3f *arg6 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_workValuesIntoTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_workValuesIntoTransform" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "3"" of type '" "SbRotation const *""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "4"" of type '" "SbVec3f const *""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "5"" of type '" "SbRotation const *""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "6"" of type '" "SbVec3f const *""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - SoDragger::workValuesIntoTransform(*arg1,(SbVec3f const *)arg2,(SbRotation const *)arg3,(SbVec3f const *)arg4,(SbRotation const *)arg5,(SbVec3f const *)arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTransformFast",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDragger_getTransformFast" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - SoDragger::getTransformFast(*arg1,*arg2,*arg3,*arg4,*arg5,(SbVec3f const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTransformFast",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - SoDragger::getTransformFast(*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_getTransformFast__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_getTransformFast__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_getTransformFast'.\n" - " Possible C/C++ prototypes are:\n" - " getTransformFast(SbMatrix &,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &,SbVec3f const &)\n" - " SoDragger::getTransformFast(SbMatrix &,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbMatrix *arg3 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendTranslation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendTranslation" "', argument " "3"" of type '" "SbMatrix const *""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - result = SoDragger::appendTranslation((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbMatrix const *)arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendTranslation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SoDragger::appendTranslation((SbMatrix const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendTranslation__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendTranslation__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendTranslation'.\n" - " Possible C/C++ prototypes are:\n" - " appendTranslation(SbMatrix const &,SbVec3f const &,SbMatrix const *)\n" - " SoDragger::appendTranslation(SbMatrix const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendScale",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_appendScale" "', argument " "4"" of type '" "SbMatrix const *""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - result = SoDragger::appendScale((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbMatrix const *)arg4); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = SoDragger::appendScale((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendScale__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendScale__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendScale'.\n" - " Possible C/C++ prototypes are:\n" - " appendScale(SbMatrix const &,SbVec3f const &,SbVec3f const &,SbMatrix const *)\n" - " SoDragger::appendScale(SbMatrix const &,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbRotation *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_appendRotation" "', argument " "4"" of type '" "SbMatrix const *""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - result = SoDragger::appendRotation((SbMatrix const &)*arg1,(SbRotation const &)*arg2,(SbVec3f const &)*arg3,(SbMatrix const *)arg4); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbRotation *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = SoDragger::appendRotation((SbMatrix const &)*arg1,(SbRotation const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendRotation__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendRotation__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendRotation'.\n" - " Possible C/C++ prototypes are:\n" - " appendRotation(SbMatrix const &,SbRotation const &,SbVec3f const &,SbMatrix const *)\n" - " SoDragger::appendRotation(SbMatrix const &,SbRotation const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_initClass",0,0)) SWIG_fail; - SoDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_initClasses",0,0)) SWIG_fail; - SoDragger::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addStartCallback(SoDragger *,SoDraggerCB *,void *)\n" - " addStartCallback(SoDragger *,SoDraggerCB *)\n" - " addStartCallback(SoDragger *,PyObject *,PyObject *)\n" - " addStartCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeStartCallback(SoDragger *,SoDraggerCB *,void *)\n" - " removeStartCallback(SoDragger *,SoDraggerCB *)\n" - " removeStartCallback(SoDragger *,PyObject *,PyObject *)\n" - " removeStartCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addMotionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addMotionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addMotionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addMotionCallback(SoDragger *,SoDraggerCB *,void *)\n" - " addMotionCallback(SoDragger *,SoDraggerCB *)\n" - " addMotionCallback(SoDragger *,PyObject *,PyObject *)\n" - " addMotionCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeMotionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeMotionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeMotionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeMotionCallback(SoDragger *,SoDraggerCB *,void *)\n" - " removeMotionCallback(SoDragger *,SoDraggerCB *)\n" - " removeMotionCallback(SoDragger *,PyObject *,PyObject *)\n" - " removeMotionCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addFinishCallback(SoDragger *,SoDraggerCB *,void *)\n" - " addFinishCallback(SoDragger *,SoDraggerCB *)\n" - " addFinishCallback(SoDragger *,PyObject *,PyObject *)\n" - " addFinishCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeFinishCallback(SoDragger *,SoDraggerCB *,void *)\n" - " removeFinishCallback(SoDragger *,SoDraggerCB *)\n" - " removeFinishCallback(SoDragger *,PyObject *,PyObject *)\n" - " removeFinishCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addValueChangedCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addValueChangedCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addValueChangedCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addValueChangedCallback(SoDragger *,SoDraggerCB *,void *)\n" - " addValueChangedCallback(SoDragger *,SoDraggerCB *)\n" - " addValueChangedCallback(SoDragger *,PyObject *,PyObject *)\n" - " addValueChangedCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeValueChangedCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeValueChangedCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeValueChangedCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeValueChangedCallback(SoDragger *,SoDraggerCB *,void *)\n" - " removeValueChangedCallback(SoDragger *,SoDraggerCB *)\n" - " removeValueChangedCallback(SoDragger *,PyObject *,PyObject *)\n" - " removeValueChangedCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addOtherEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addOtherEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addOtherEventCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addOtherEventCallback(SoDragger *,SoDraggerCB *,void *)\n" - " addOtherEventCallback(SoDragger *,SoDraggerCB *)\n" - " addOtherEventCallback(SoDragger *,PyObject *,PyObject *)\n" - " addOtherEventCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeOtherEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeOtherEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeOtherEventCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeOtherEventCallback(SoDragger *,SoDraggerCB *,void *)\n" - " removeOtherEventCallback(SoDragger *,SoDraggerCB *)\n" - " removeOtherEventCallback(SoDragger *,PyObject *,PyObject *)\n" - " removeOtherEventCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFRotation",0,0)) SWIG_fail; - result = (SoSFRotation *)new SoSFRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFRotation" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoSFRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getTypeId" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - result = ((SoSFRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_copyFrom" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_isSame" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFRotation const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getValue" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - { - SbRotation const &_result_ref = ((SoSFRotation const *)arg1)->getValue(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setValue((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation___eq__" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation___eq__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation___eq__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - result = (int)((SoSFRotation const *)arg1)->operator ==((SoSFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation___ne__" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation___ne__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation___ne__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - result = (int)((SoSFRotation const *)arg1)->operator !=((SoSFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_initClass",0,0)) SWIG_fail; - SoSFRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getValue" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFRotation_getValue" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_getValue" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SoSFRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFRotation_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFRotation const *)\n" - " getValue(SoSFRotation const *,SbVec3f &,float &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SoSFRotation const *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - SoSFRotation_setValue__SWIG_4(arg1,(SoSFRotation const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFRotation_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFRotation *,SbRotation const &)\n" - " setValue(SoSFRotation *,float const,float const,float const,float const)\n" - " setValue(SoSFRotation *,float const [4])\n" - " setValue(SoSFRotation *,SbVec3f const &,float const)\n" - " setValue(SoSFRotation *,SoSFRotation const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoCenterballDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_getTypeId" "', argument " "1"" of type '" "SoCenterballDragger const *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = ((SoCenterballDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoCenterballDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoCenterballDragger const *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoNodekitCatalog *)((SoCenterballDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_initClass",0,0)) SWIG_fail; - SoCenterballDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCenterballDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCenterballDragger",0,0)) SWIG_fail; - result = (SoCenterballDragger *)new SoCenterballDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCenterballDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_saveStartParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_saveStartParameters",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_saveStartParameters" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - (arg1)->saveStartParameters(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_rotation_set" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCenterballDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_rotation_get" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_center_set" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCenterballDragger_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_center_get" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCenterballDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCenterballDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_getTypeId" "', argument " "1"" of type '" "SoDirectionalLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = ((SoDirectionalLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDirectionalLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDirectionalLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDirectionalLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_initClass",0,0)) SWIG_fail; - SoDirectionalLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLightDragger",0,0)) SWIG_fail; - result = (SoDirectionalLightDragger *)new SoDirectionalLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_rotation_set" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_rotation_get" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_translation_set" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_translation_get" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDragPointDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getTypeId" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = ((SoDragPointDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDragPointDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDragPointDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_initClass",0,0)) SWIG_fail; - SoDragPointDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDragPointDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDragPointDragger",0,0)) SWIG_fail; - result = (SoDragPointDragger *)new SoDragPointDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragPointDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_translation_set" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragPointDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_translation_get" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_setJumpLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_setJumpLimit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_setJumpLimit" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragPointDragger_setJumpLimit" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setJumpLimit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getJumpLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getJumpLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getJumpLimit" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (float)((SoDragPointDragger const *)arg1)->getJumpLimit(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_showNextDraggerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_showNextDraggerSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_showNextDraggerSet" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - (arg1)->showNextDraggerSet(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDragPointDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDragPointDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_getTypeId" "', argument " "1"" of type '" "SoHandleBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = ((SoHandleBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoHandleBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoHandleBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoHandleBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_initClass",0,0)) SWIG_fail; - SoHandleBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleBoxDragger",0,0)) SWIG_fail; - result = (SoHandleBoxDragger *)new SoHandleBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_translation_set" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_translation_get" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoJackDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoJackDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_getTypeId" "', argument " "1"" of type '" "SoJackDragger const *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = ((SoJackDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoJackDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoJackDragger const *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoNodekitCatalog *)((SoJackDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_initClass",0,0)) SWIG_fail; - SoJackDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoJackDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoJackDragger",0,0)) SWIG_fail; - result = (SoJackDragger *)new SoJackDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoJackDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_rotation_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_rotation_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_translation_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_translation_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_scaleFactor_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_scaleFactor_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoJackDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoJackDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_getTypeId" "', argument " "1"" of type '" "SoPointLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = ((SoPointLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoPointLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoPointLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoPointLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_initClass",0,0)) SWIG_fail; - SoPointLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLightDragger",0,0)) SWIG_fail; - result = (SoPointLightDragger *)new SoPointLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_translation_set" "', argument " "1"" of type '" "SoPointLightDragger *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_translation_get" "', argument " "1"" of type '" "SoPointLightDragger *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateCylindricalDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getTypeId" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = ((SoRotateCylindricalDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateCylindricalDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateCylindricalDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_initClass",0,0)) SWIG_fail; - SoRotateCylindricalDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateCylindricalDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateCylindricalDragger",0,0)) SWIG_fail; - result = (SoRotateCylindricalDragger *)new SoRotateCylindricalDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateCylindricalDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_rotation_set" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateCylindricalDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_rotation_get" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_setProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SbCylinderProjector *arg2 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_setProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_setProjector" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateCylindricalDragger_setProjector" "', argument " "2"" of type '" "SbCylinderProjector *""'"); - } - arg2 = reinterpret_cast< SbCylinderProjector * >(argp2); - (arg1)->setProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getProjector" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SbCylinderProjector *)((SoRotateCylindricalDragger const *)arg1)->getProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateCylindricalDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateCylindricalDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateDiscDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_getTypeId" "', argument " "1"" of type '" "SoRotateDiscDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = ((SoRotateDiscDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateDiscDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateDiscDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateDiscDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_initClass",0,0)) SWIG_fail; - SoRotateDiscDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateDiscDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateDiscDragger",0,0)) SWIG_fail; - result = (SoRotateDiscDragger *)new SoRotateDiscDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateDiscDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_rotation_set" "', argument " "1"" of type '" "SoRotateDiscDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateDiscDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_rotation_get" "', argument " "1"" of type '" "SoRotateDiscDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateDiscDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateDiscDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateSphericalDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getTypeId" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = ((SoRotateSphericalDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateSphericalDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateSphericalDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_initClass",0,0)) SWIG_fail; - SoRotateSphericalDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateSphericalDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateSphericalDragger",0,0)) SWIG_fail; - result = (SoRotateSphericalDragger *)new SoRotateSphericalDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateSphericalDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_rotation_set" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateSphericalDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_rotation_get" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_setProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SbSphereProjector *arg2 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_setProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_setProjector" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateSphericalDragger_setProjector" "', argument " "2"" of type '" "SbSphereProjector *""'"); - } - arg2 = reinterpret_cast< SbSphereProjector * >(argp2); - (arg1)->setProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbSphereProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getProjector" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SbSphereProjector *)((SoRotateSphericalDragger const *)arg1)->getProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateSphericalDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateSphericalDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale1Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_getTypeId" "', argument " "1"" of type '" "SoScale1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = ((SoScale1Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale1Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale1Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_initClass",0,0)) SWIG_fail; - SoScale1Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale1Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale1Dragger",0,0)) SWIG_fail; - result = (SoScale1Dragger *)new SoScale1Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale1Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale1Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale1Dragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale1Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale1Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale1Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale2Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_getTypeId" "', argument " "1"" of type '" "SoScale2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = ((SoScale2Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale2Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale2Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_initClass",0,0)) SWIG_fail; - SoScale2Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale2Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale2Dragger",0,0)) SWIG_fail; - result = (SoScale2Dragger *)new SoScale2Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale2Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale2Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale2Dragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale2Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale2Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale2Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale2UniformDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_getTypeId" "', argument " "1"" of type '" "SoScale2UniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = ((SoScale2UniformDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale2UniformDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale2UniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale2UniformDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_initClass",0,0)) SWIG_fail; - SoScale2UniformDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale2UniformDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale2UniformDragger",0,0)) SWIG_fail; - result = (SoScale2UniformDragger *)new SoScale2UniformDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale2UniformDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale2UniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale2UniformDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale2UniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale2UniformDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale2UniformDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScaleUniformDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_getTypeId" "', argument " "1"" of type '" "SoScaleUniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = ((SoScaleUniformDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScaleUniformDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScaleUniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = (SoNodekitCatalog *)((SoScaleUniformDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_initClass",0,0)) SWIG_fail; - SoScaleUniformDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScaleUniformDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScaleUniformDragger",0,0)) SWIG_fail; - result = (SoScaleUniformDragger *)new SoScaleUniformDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScaleUniformDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_scaleFactor_set" "', argument " "1"" of type '" "SoScaleUniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScaleUniformDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_scaleFactor_get" "', argument " "1"" of type '" "SoScaleUniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScaleUniformDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScaleUniformDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_getTypeId" "', argument " "1"" of type '" "SoSpotLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = ((SoSpotLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSpotLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoSpotLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoSpotLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_initClass",0,0)) SWIG_fail; - SoSpotLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLightDragger",0,0)) SWIG_fail; - result = (SoSpotLightDragger *)new SoSpotLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_rotation_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_rotation_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_translation_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_translation_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_angle_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_angle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_angle_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTabBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_getTypeId" "', argument " "1"" of type '" "SoTabBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = ((SoTabBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTabBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTabBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTabBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_initClass",0,0)) SWIG_fail; - SoTabBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabBoxDragger",0,0)) SWIG_fail; - result = (SoTabBoxDragger *)new SoTabBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_translation_set" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_translation_get" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_adjustScaleTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_adjustScaleTabSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_adjustScaleTabSize" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - (arg1)->adjustScaleTabSize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTabPlaneDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_getTypeId" "', argument " "1"" of type '" "SoTabPlaneDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = ((SoTabPlaneDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTabPlaneDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTabPlaneDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTabPlaneDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_initClass",0,0)) SWIG_fail; - SoTabPlaneDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabPlaneDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabPlaneDragger",0,0)) SWIG_fail; - result = (SoTabPlaneDragger *)new SoTabPlaneDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabPlaneDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_translation_set" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabPlaneDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_translation_get" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabPlaneDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_adjustScaleTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_adjustScaleTabSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_adjustScaleTabSize" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - (arg1)->adjustScaleTabSize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabPlaneDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabPlaneDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTrackballDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_getTypeId" "', argument " "1"" of type '" "SoTrackballDragger const *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = ((SoTrackballDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTrackballDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTrackballDragger const *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTrackballDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_initClass",0,0)) SWIG_fail; - SoTrackballDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTrackballDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTrackballDragger",0,0)) SWIG_fail; - result = (SoTrackballDragger *)new SoTrackballDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTrackballDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_rotation_set" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTrackballDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_rotation_get" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTrackballDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_isAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_isAnimationEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_isAnimationEnabled" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SbBool)(arg1)->isAnimationEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_setAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_setAnimationEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_setAnimationEnabled" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTrackballDragger_setAnimationEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAnimationEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTrackballDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTrackballDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_getTypeId" "', argument " "1"" of type '" "SoTransformBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = ((SoTransformBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTransformBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTransformBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTransformBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_initClass",0,0)) SWIG_fail; - SoTransformBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformBoxDragger",0,0)) SWIG_fail; - result = (SoTransformBoxDragger *)new SoTransformBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_rotation_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_rotation_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_translation_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_translation_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformerDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getTypeId" "', argument " "1"" of type '" "SoTransformerDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = ((SoTransformerDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTransformerDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTransformerDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTransformerDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_initClass",0,0)) SWIG_fail; - SoTransformerDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformerDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformerDragger",0,0)) SWIG_fail; - result = (SoTransformerDragger *)new SoTransformerDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformerDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_rotation_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_rotation_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_translation_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_translation_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_minDiscRotDot_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_minDiscRotDot_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_minDiscRotDot_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_minDiscRotDot_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minDiscRotDot = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_minDiscRotDot_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_minDiscRotDot_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_minDiscRotDot_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->minDiscRotDot); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getCurrentState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTransformerDragger::State result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getCurrentState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getCurrentState" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoTransformerDragger::State)(arg1)->getCurrentState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_unsquishKnobs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_unsquishKnobs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_unsquishKnobs" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - (arg1)->unsquishKnobs(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_isLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_isLocateHighlighting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_isLocateHighlighting" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SbBool)(arg1)->isLocateHighlighting(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_setLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_setLocateHighlighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_setLocateHighlighting" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransformerDragger_setLocateHighlighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setLocateHighlighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_setColinearThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_setColinearThreshold",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoTransformerDragger_setColinearThreshold" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoTransformerDragger::setColinearThreshold(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getColinearThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getColinearThreshold",0,0)) SWIG_fail; - result = (int)SoTransformerDragger::getColinearThreshold(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getBoxPointInWorldSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getBoxPointInWorldSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getBoxPointInWorldSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getBoxDirInWorldSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getBoxDirInWorldSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getBoxDirInWorldSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getWorldPointInBoxSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getWorldPointInBoxSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getWorldPointInBoxSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getWorldPointInPixelSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getWorldPointInPixelSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getWorldPointInPixelSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getInteractiveCenterInBoxSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getInteractiveCenterInBoxSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (arg1)->getInteractiveCenterInBoxSpace(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformerDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformerDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslate1Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_getTypeId" "', argument " "1"" of type '" "SoTranslate1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = ((SoTranslate1Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTranslate1Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTranslate1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoTranslate1Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_initClass",0,0)) SWIG_fail; - SoTranslate1Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslate1Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslate1Dragger",0,0)) SWIG_fail; - result = (SoTranslate1Dragger *)new SoTranslate1Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslate1Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_translation_set" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate1Dragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_translation_get" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_minTranslation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_minTranslation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_minTranslation_set" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate1Dragger_minTranslation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minTranslation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_minTranslation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_minTranslation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_minTranslation_get" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->minTranslation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_maxTranslation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_maxTranslation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_maxTranslation_set" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate1Dragger_maxTranslation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxTranslation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_maxTranslation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_maxTranslation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_maxTranslation_get" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxTranslation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslate1Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslate1Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2f",0,0)) SWIG_fail; - result = (SoSFVec2f *)new SoSFVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2f" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_getTypeId" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - result = ((SoSFVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_copyFrom" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_isSame" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_getValue" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - { - SbVec2f const &_result_ref = ((SoSFVec2f const *)arg1)->getValue(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setValue((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f___eq__" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f___eq__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f___eq__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - result = (int)((SoSFVec2f const *)arg1)->operator ==((SoSFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f___ne__" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f___ne__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f___ne__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - result = (int)((SoSFVec2f const *)arg1)->operator !=((SoSFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_initClass",0,0)) SWIG_fail; - SoSFVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SoSFVec2f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - SoSFVec2f_setValue__SWIG_3(arg1,(SoSFVec2f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec2f *,SbVec2f const &)\n" - " setValue(SoSFVec2f *,float,float)\n" - " setValue(SoSFVec2f *,float const [2])\n" - " setValue(SoSFVec2f *,SoSFVec2f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslate2Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_getTypeId" "', argument " "1"" of type '" "SoTranslate2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = ((SoTranslate2Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTranslate2Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTranslate2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoTranslate2Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_initClass",0,0)) SWIG_fail; - SoTranslate2Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslate2Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslate2Dragger",0,0)) SWIG_fail; - result = (SoTranslate2Dragger *)new SoTranslate2Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslate2Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_translation_set" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate2Dragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_translation_get" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_minTranslation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_minTranslation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_minTranslation_set" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate2Dragger_minTranslation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->minTranslation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_minTranslation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_minTranslation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_minTranslation_get" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoSFVec2f *)& ((arg1)->minTranslation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_maxTranslation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_maxTranslation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_maxTranslation_set" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate2Dragger_maxTranslation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->maxTranslation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_maxTranslation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_maxTranslation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_maxTranslation_get" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoSFVec2f *)& ((arg1)->maxTranslation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslate2Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslate2Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAccumulatedElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAccumulatedElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_initClass",0,0)) SWIG_fail; - SoAccumulatedElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAccumulatedElement *arg1 = (SoAccumulatedElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAccumulatedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAccumulatedElement_matches" "', argument " "1"" of type '" "SoAccumulatedElement const *""'"); - } - arg1 = reinterpret_cast< SoAccumulatedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAccumulatedElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoAccumulatedElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAccumulatedElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAccumulatedElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAmbientColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAmbientColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAmbientColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_initClass",0,0)) SWIG_fail; - SoAmbientColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_init" "', argument " "1"" of type '" "SoAmbientColorElement *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAmbientColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAmbientColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAmbientColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoAmbientColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoAmbientColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAmbientColorElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAmbientColorElement *)SoAmbientColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getNum" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - result = ((SoAmbientColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_get" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAmbientColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoAmbientColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getArrayPtr" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - result = (SbColor *)((SoAmbientColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAmbientColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAmbientColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3CharOrientElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3CharOrientElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3CharOrientElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_initClass",0,0)) SWIG_fail; - SoAnnoText3CharOrientElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3CharOrientElement *arg1 = (SoAnnoText3CharOrientElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3CharOrientElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_init" "', argument " "1"" of type '" "SoAnnoText3CharOrientElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3CharOrientElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3CharOrientElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3CharOrientElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoAnnoText3CharOrientElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoAnnoText3CharOrientElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoAnnoText3CharOrientElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3CharOrientElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3CharOrientElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3FontSizeHintElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3FontSizeHintElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3FontSizeHintElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_initClass",0,0)) SWIG_fail; - SoAnnoText3FontSizeHintElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3FontSizeHintElement *arg1 = (SoAnnoText3FontSizeHintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3FontSizeHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_init" "', argument " "1"" of type '" "SoAnnoText3FontSizeHintElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3FontSizeHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3FontSizeHintElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "2"" of type '" "SoAnnoText3FontSizeHintElement::FontSizeHint""'"); - } - arg2 = static_cast< SoAnnoText3FontSizeHintElement::FontSizeHint >(val2); - SoAnnoText3FontSizeHintElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAnnoText3FontSizeHintElement::FontSizeHint)SoAnnoText3FontSizeHintElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3FontSizeHintElement::FontSizeHint result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getDefault",0,0)) SWIG_fail; - result = (SoAnnoText3FontSizeHintElement::FontSizeHint)SoAnnoText3FontSizeHintElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "3"" of type '" "SoAnnoText3FontSizeHintElement::FontSizeHint""'"); - } - arg3 = static_cast< SoAnnoText3FontSizeHintElement::FontSizeHint >(val3); - SoAnnoText3FontSizeHintElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3FontSizeHintElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3FontSizeHintElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAnnoText3FontSizeHintElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoAnnoText3FontSizeHintElement::FontSizeHint const)\n" - " SoAnnoText3FontSizeHintElement::set(SoState *const,SoNode *const,SoAnnoText3FontSizeHintElement::FontSizeHint const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3FontSizeHintElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3FontSizeHintElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3RenderPrintElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3RenderPrintElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3RenderPrintElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_initClass",0,0)) SWIG_fail; - SoAnnoText3RenderPrintElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3RenderPrintElement *arg1 = (SoAnnoText3RenderPrintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3RenderPrintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_init" "', argument " "1"" of type '" "SoAnnoText3RenderPrintElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3RenderPrintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3RenderPrintElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3RenderPrintElement::RenderPrintType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "2"" of type '" "SoAnnoText3RenderPrintElement::RenderPrintType""'"); - } - arg2 = static_cast< SoAnnoText3RenderPrintElement::RenderPrintType >(val2); - SoAnnoText3RenderPrintElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAnnoText3RenderPrintElement::RenderPrintType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAnnoText3RenderPrintElement::RenderPrintType)SoAnnoText3RenderPrintElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3RenderPrintElement::RenderPrintType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getDefault",0,0)) SWIG_fail; - result = (SoAnnoText3RenderPrintElement::RenderPrintType)SoAnnoText3RenderPrintElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoAnnoText3RenderPrintElement::RenderPrintType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "3"" of type '" "SoAnnoText3RenderPrintElement::RenderPrintType""'"); - } - arg3 = static_cast< SoAnnoText3RenderPrintElement::RenderPrintType >(val3); - SoAnnoText3RenderPrintElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3RenderPrintElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3RenderPrintElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAnnoText3RenderPrintElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoAnnoText3RenderPrintElement::RenderPrintType const)\n" - " SoAnnoText3RenderPrintElement::set(SoState *const,SoNode *const,SoAnnoText3RenderPrintElement::RenderPrintType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3RenderPrintElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3RenderPrintElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_initClass",0,0)) SWIG_fail; - SoModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_init" "', argument " "1"" of type '" "SoModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_push" "', argument " "1"" of type '" "SoModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_matches" "', argument " "1"" of type '" "SoModelMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoModelMatrixElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_setCullMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_setCullMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_setCullMatrix" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_setCullMatrix" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::setCullMatrix(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoModelMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoModelMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoModelMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_pushMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoModelMatrixElement::pushMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_popMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoModelMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getCombinedCullMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getCombinedCullMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_getCombinedCullMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoModelMatrixElement::getCombinedCullMatrix(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoModelMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - { - SbMatrix const &_result_ref = SoModelMatrixElement::get(arg1,*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoModelMatrixElement_get__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoModelMatrixElement_get__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoModelMatrixElement_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoState *const)\n" - " SoModelMatrixElement::get(SoState *const,SbBool &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getModelMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getModelMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_getModelMatrix" "', argument " "1"" of type '" "SoModelMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - { - SbMatrix const &_result_ref = ((SoModelMatrixElement const *)arg1)->getModelMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBBoxModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBBoxModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBBoxModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_initClass",0,0)) SWIG_fail; - SoBBoxModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBBoxModelMatrixElement *arg1 = (SoBBoxModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBBoxModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_init" "', argument " "1"" of type '" "SoBBoxModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBBoxModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBBoxModelMatrixElement *arg1 = (SoBBoxModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBBoxModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_push" "', argument " "1"" of type '" "SoBBoxModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBBoxModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_reset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_reset" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_reset" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBBoxModelMatrixElement::reset(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_pushMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoBBoxModelMatrixElement::pushMatrix(arg1,*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_popMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoBBoxModelMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBBoxModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBBoxModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_initClass",0,0)) SWIG_fail; - SoBumpMapCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_init" "', argument " "1"" of type '" "SoBumpMapCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "4"" of type '" "SbVec2f const *""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoBumpMapCoordinateElement::set(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBumpMapCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoBumpMapCoordinateElement *)SoBumpMapCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getNum" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - result = ((SoBumpMapCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_get" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBumpMapCoordinateElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoBumpMapCoordinateElement const *)arg1)->get(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getArrayPtr" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - result = (SbVec2f *)((SoBumpMapCoordinateElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_initClass",0,0)) SWIG_fail; - SoBumpMapElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapElement *arg1 = (SoBumpMapElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_init" "', argument " "1"" of type '" "SoBumpMapElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoGLImage *arg3 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapElement_set" "', argument " "3"" of type '" "SoGLImage *""'"); - } - arg3 = reinterpret_cast< SoGLImage * >(argp3); - SoBumpMapElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLImage *)SoBumpMapElement::get(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_initClass",0,0)) SWIG_fail; - SoBumpMapMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapMatrixElement *arg1 = (SoBumpMapMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_init" "', argument " "1"" of type '" "SoBumpMapMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapMatrixElement *arg1 = (SoBumpMapMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_push" "', argument " "1"" of type '" "SoBumpMapMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoBumpMapMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoBumpMapMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoBumpMapMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoBumpMapMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCacheElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCacheElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCacheElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCacheElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_initClass",0,0)) SWIG_fail; - SoCacheElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_init" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_push" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_pop" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCacheElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *arg2 = (SoCache *) (SoCache *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_set" "', argument " "2"" of type '" "SoCache *const""'"); - } - arg2 = reinterpret_cast< SoCache * >(argp2); - SoCacheElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getCache" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoCache *)((SoCacheElement const *)arg1)->getCache(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_anyOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_anyOpen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_anyOpen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoCacheElement::anyOpen(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_invalidate" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoCacheElement::invalidate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_matches" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoCacheElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_copyMatchInfo" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoElement *)((SoCacheElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getNextCacheElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCacheElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getNextCacheElement",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getNextCacheElement" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoCacheElement *)((SoCacheElement const *)arg1)->getNextCacheElement(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCacheElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_addElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoElement *arg2 = (SoElement *) (SoElement *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_addElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_addElement" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_addElement" "', argument " "2"" of type '" "SoElement const *const""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - SoCacheElement::addElement(arg1,(SoElement const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_addCacheDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *arg2 = (SoCache *) (SoCache *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_addCacheDependency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_addCacheDependency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_addCacheDependency" "', argument " "2"" of type '" "SoCache *const""'"); - } - arg2 = reinterpret_cast< SoCache * >(argp2); - SoCacheElement::addCacheDependency(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_setInvalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_setInvalid",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoCacheElement_setInvalid" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbBool)SoCacheElement::setInvalid(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getCurrentCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCache *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getCurrentCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getCurrentCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCache *)SoCacheElement::getCurrentCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCacheElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCacheElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",0,0)) SWIG_fail; - result = (SbPlane *)new SbPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbPlane" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPlane__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlane__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlane__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlane__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPlane'.\n" - " Possible C/C++ prototypes are:\n" - " SbPlane()\n" - " SbPlane(SbVec3f const &,float const)\n" - " SbPlane(SbVec3f const &,SbVec3f const &,SbVec3f const &)\n" - " SbPlane(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_offset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_offset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_offset" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPlane_offset" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->offset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_intersect" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbPlane const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_transform" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_isInHalfSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_isInHalfSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_isInHalfSpace" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbPlane const *)arg1)->isInHalfSpace((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getDistance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getDistance" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_getDistance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_getDistance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (float)((SbPlane const *)arg1)->getDistance((SbVec3f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getNormal" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - { - SbVec3f const &_result_ref = ((SbPlane const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getDistanceFromOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getDistanceFromOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getDistanceFromOrigin" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - result = (float)((SbPlane const *)arg1)->getDistanceFromOrigin(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_output" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbPlane const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - SbLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_intersect" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbLine &""'"); - } - arg3 = reinterpret_cast< SbLine * >(argp3); - result = (SbBool)((SbPlane const *)arg1)->intersect((SbPlane const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlane_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlane_intersect__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlane_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbPlane const *,SbLine const &,SbVec3f &)\n" - " intersect(SbPlane const *,SbPlane const &,SbLine &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane___eq__" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane___eq__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane___eq__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)SbPlane___eq__(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane___ne__" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane___ne__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane___ne__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)SbPlane___ne__(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPlane" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlaneElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoClipPlaneElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoClipPlaneElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_initClass",0,0)) SWIG_fail; - SoClipPlaneElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_init" "', argument " "1"" of type '" "SoClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_push" "', argument " "1"" of type '" "SoClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_add" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneElement_add" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneElement_add" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - SoClipPlaneElement::add(arg1,arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoClipPlaneElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoClipPlaneElement *)SoClipPlaneElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_getNum" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - result = (int)((SoClipPlaneElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_get" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoClipPlaneElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoClipPlaneElement_get" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - { - SbPlane const &_result_ref = ((SoClipPlaneElement const *)arg1)->get(arg2,arg3); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_get" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoClipPlaneElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbPlane const &_result_ref = ((SoClipPlaneElement const *)arg1)->get(arg2); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoClipPlaneElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoClipPlaneElement_get__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoClipPlaneElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoClipPlaneElement_get__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoClipPlaneElement_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoClipPlaneElement const *,int const,SbBool const)\n" - " get(SoClipPlaneElement const *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlaneElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlaneElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFloatElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFloatElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFloatElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_initClass",0,0)) SWIG_fail; - SoFloatElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_init" "', argument " "1"" of type '" "SoFloatElement *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_matches" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoFloatElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_copyMatchInfo" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - result = (SoElement *)((SoFloatElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_output" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoFloatElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - float arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFloatElement_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFloatElement_set" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - SoFloatElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - float arg3 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFloatElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFloatElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFloatElement_set__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFloatElement_set__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFloatElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(int const,SoState *const,SoNode *const,float const)\n" - " SoFloatElement::set(int const,SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_get",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_get" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_get" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (float)SoFloatElement::get(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_setElt" "', argument " "1"" of type '" "SoFloatElement *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFloatElement_setElt" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFloatElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFloatElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexityElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoComplexityElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoComplexityElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_initClass",0,0)) SWIG_fail; - SoComplexityElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityElement *arg1 = (SoComplexityElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexityElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_init" "', argument " "1"" of type '" "SoComplexityElement *""'"); - } - arg1 = reinterpret_cast< SoComplexityElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoComplexityElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoComplexityElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoComplexityElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoComplexityElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoComplexityElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoComplexityElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoComplexityElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getDefault",0,0)) SWIG_fail; - result = (float)SoComplexityElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexityElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexityElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_initClass",0,0)) SWIG_fail; - SoCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_init" "', argument " "1"" of type '" "SoCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec4f *arg4 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_set4",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCoordinateElement_set4" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCoordinateElement_set4" "', argument " "4"" of type '" "SbVec4f const *const""'"); - } - arg4 = reinterpret_cast< SbVec4f * >(argp4); - SoCoordinateElement::set4(arg1,arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCoordinateElement *)SoCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getNum" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = ((SoCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_is3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_is3D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_is3D" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbBool)((SoCoordinateElement const *)arg1)->is3D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_get3" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_get4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_get4" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCoordinateElement const *)arg1)->get4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbVec3f *)((SoCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getArrayPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbVec4f *)((SoCoordinateElement const *)arg1)->getArrayPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getDefault3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getDefault3",0,0)) SWIG_fail; - result = SoCoordinateElement::getDefault3(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getDefault4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getDefault4",0,0)) SWIG_fail; - result = SoCoordinateElement::getDefault4(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_output" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoCoordinateElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCreaseAngleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCreaseAngleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCreaseAngleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_initClass",0,0)) SWIG_fail; - SoCreaseAngleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCreaseAngleElement *arg1 = (SoCreaseAngleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCreaseAngleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_init" "', argument " "1"" of type '" "SoCreaseAngleElement *""'"); - } - arg1 = reinterpret_cast< SoCreaseAngleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCreaseAngleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCreaseAngleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCreaseAngleElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoCreaseAngleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCreaseAngleElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoCreaseAngleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoCreaseAngleElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoCreaseAngleElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCreaseAngleElement_get" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (float)SoCreaseAngleElement::get(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCreaseAngleElement_get__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_get__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoState *const)\n" - " SoCreaseAngleElement::get(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getDefault",0,0)) SWIG_fail; - result = (float)SoCreaseAngleElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getDefault",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoCreaseAngleElement_getDefault" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (float)SoCreaseAngleElement::getDefault(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoCreaseAngleElement_getDefault__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_getDefault__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_getDefault'.\n" - " Possible C/C++ prototypes are:\n" - " getDefault()\n" - " SoCreaseAngleElement::getDefault(SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCreaseAngleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCreaseAngleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCullElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCullElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCullElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCullElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_initClass",0,0)) SWIG_fail; - SoCullElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_init" "', argument " "1"" of type '" "SoCullElement *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_push" "', argument " "1"" of type '" "SoCullElement *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_setViewVolume" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - SoCullElement::setViewVolume(arg1,(SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_addPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_addPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_addPlane" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_addPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_addPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - SoCullElement::addPlane(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullBox",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullBox" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCullElement_cullBox" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoCullElement::cullBox(arg1,(SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullBox" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)SoCullElement::cullBox(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCullElement_cullBox__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCullElement_cullBox__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCullElement_cullBox'.\n" - " Possible C/C++ prototypes are:\n" - " cullBox(SoState *,SbBox3f const &,SbBool const)\n" - " SoCullElement::cullBox(SoState *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullTest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCullElement_cullTest" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoCullElement::cullTest(arg1,(SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullTest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)SoCullElement::cullTest(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCullElement_cullTest__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCullElement_cullTest__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCullElement_cullTest'.\n" - " Possible C/C++ prototypes are:\n" - " cullTest(SoState *,SbBox3f const &,SbBool const)\n" - " SoCullElement::cullTest(SoState *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_completelyInside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_completelyInside",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_completelyInside" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoCullElement::completelyInside(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_matches" "', argument " "1"" of type '" "SoCullElement const *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoCullElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_copyMatchInfo" "', argument " "1"" of type '" "SoCullElement const *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - result = (SoElement *)((SoCullElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCullElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCullElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDecimationPercentageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDecimationPercentageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecimationPercentageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_initClass",0,0)) SWIG_fail; - SoDecimationPercentageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationPercentageElement *arg1 = (SoDecimationPercentageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecimationPercentageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_init" "', argument " "1"" of type '" "SoDecimationPercentageElement *""'"); - } - arg1 = reinterpret_cast< SoDecimationPercentageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationPercentageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationPercentageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDecimationPercentageElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoDecimationPercentageElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDecimationPercentageElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoDecimationPercentageElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationPercentageElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationPercentageElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDecimationPercentageElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoDecimationPercentageElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoDecimationPercentageElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getDefault",0,0)) SWIG_fail; - result = (float)SoDecimationPercentageElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecimationPercentageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecimationPercentageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDiffuseColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDiffuseColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDiffuseColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_initClass",0,0)) SWIG_fail; - SoDiffuseColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_init" "', argument " "1"" of type '" "SoDiffuseColorElement *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDiffuseColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDiffuseColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDiffuseColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDiffuseColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoDiffuseColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDiffuseColorElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDiffuseColorElement *)SoDiffuseColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getNum" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = ((SoDiffuseColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_get" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDiffuseColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoDiffuseColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_isPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_isPacked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_isPacked" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbBool)((SoDiffuseColorElement const *)arg1)->isPacked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_hasPackedTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_hasPackedTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_hasPackedTransparency" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbBool)((SoDiffuseColorElement const *)arg1)->hasPackedTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getColorArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getColorArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getColorArrayPtr" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbColor *)((SoDiffuseColorElement const *)arg1)->getColorArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getPackedArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getPackedArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getPackedArrayPtr" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (uint32_t *)((SoDiffuseColorElement const *)arg1)->getPackedArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDiffuseColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDiffuseColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLClipPlaneElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLClipPlaneElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLClipPlaneElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_initClass",0,0)) SWIG_fail; - SoGLClipPlaneElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLClipPlaneElement *arg1 = (SoGLClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLClipPlaneElement_init" "', argument " "1"" of type '" "SoGLClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoGLClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLClipPlaneElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLClipPlaneElement *arg1 = (SoGLClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLClipPlaneElement_pop" "', argument " "1"" of type '" "SoGLClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoGLClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLClipPlaneElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLClipPlaneElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getMaxGLPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getMaxGLPlanes",0,0)) SWIG_fail; - result = (int)SoGLClipPlaneElement::getMaxGLPlanes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLClipPlaneElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLClipPlaneElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_initClass",0,0)) SWIG_fail; - SoLightElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightElement *arg1 = (SoLightElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_init" "', argument " "1"" of type '" "SoLightElement *""'"); - } - arg1 = reinterpret_cast< SoLightElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightElement *arg1 = (SoLightElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_push" "', argument " "1"" of type '" "SoLightElement *""'"); - } - arg1 = reinterpret_cast< SoLightElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoLight *arg2 = (SoLight *) (SoLight *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_add" "', argument " "2"" of type '" "SoLight *const""'"); - } - arg2 = reinterpret_cast< SoLight * >(argp2); - SoLightElement::add(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getLights",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_getLights" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SoNodeList const &_result_ref = SoLightElement::getLights(arg1); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_getMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightElement_getMatrix" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoLightElement::getMatrix(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_initClass",0,0)) SWIG_fail; - SoGLModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_init" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_push" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_pop" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLModelMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProfileElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProfileElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_initClass",0,0)) SWIG_fail; - SoProfileElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileElement *arg1 = (SoProfileElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_init" "', argument " "1"" of type '" "SoProfileElement *""'"); - } - arg1 = reinterpret_cast< SoProfileElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileElement *arg1 = (SoProfileElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_push" "', argument " "1"" of type '" "SoProfileElement *""'"); - } - arg1 = reinterpret_cast< SoProfileElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoProfile *arg2 = (SoProfile *) (SoProfile *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_add" "', argument " "2"" of type '" "SoProfile *const""'"); - } - arg2 = reinterpret_cast< SoProfile * >(argp2); - SoProfileElement::add(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SoNodeList const &_result_ref = SoProfileElement::get(arg1); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixElement *arg1 = (SoTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_init" "', argument " "1"" of type '" "SoTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixElement *arg1 = (SoTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_push" "', argument " "1"" of type '" "SoTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoTextureMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoTextureMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoTextureMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoTextureMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_emptyMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_emptyMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_emptyMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoTextureMatrixElement::emptyMatrix(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoGLTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_init" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_setEltIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_setEltIdentity",0,0)) SWIG_fail; - SoGLTextureMatrixElement::setEltIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_setElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_setElt" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->setElt((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_makeEltIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_makeEltIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_makeEltIdentity" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->makeEltIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_multElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_multElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_multElt" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->multElt((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_translateEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_translateEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->translateEltBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_rotateEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_rotateEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->rotateEltBy((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_scaleEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_scaleEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->scaleEltBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLDrawStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLDrawStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLDrawStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_initClass",0,0)) SWIG_fail; - SoGLDrawStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_init" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_push" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_pop" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLDrawStyleElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLDrawStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLDrawStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLightIdElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLightIdElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLightIdElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_initClass",0,0)) SWIG_fail; - SoGLLightIdElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_init" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_push" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_pop" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLightIdElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_increment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_increment" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_increment" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = SoGLLightIdElement::increment(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_increment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_increment" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoGLLightIdElement::increment(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLLightIdElement_increment__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLLightIdElement_increment__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLLightIdElement_increment'.\n" - " Possible C/C++ prototypes are:\n" - " increment(SoState *const,SoNode *const)\n" - " SoGLLightIdElement::increment(SoState *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoGLLightIdElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getDefault",0,0)) SWIG_fail; - result = SoGLLightIdElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getMaxGLSources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getMaxGLSources",0,0)) SWIG_fail; - result = SoGLLightIdElement::getMaxGLSources(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLightIdElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLightIdElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureEnabledElement *arg1 = (SoTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_init" "', argument " "1"" of type '" "SoTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTextureEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTextureEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureEnabledElement *arg1 = (SoTextureEnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureEnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoGLTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_init" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_push" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTextureEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLTextureEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureEnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLTextureEnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureEnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureEnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureEnabledElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SbBool const)\n" - " SoGLTextureEnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLTextureEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoGLTextureEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureEnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_enableRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_enableRectangle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_enableRectangle" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_enableRectangle" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoGLTextureEnabledElement::enableRectangle(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_enableCubeMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_enableCubeMap",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_enableCubeMap" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_enableCubeMap" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoGLTextureEnabledElement::enableCubeMap(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLTextureEnabledElement::Mode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_getMode" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLTextureEnabledElement::Mode)SoGLTextureEnabledElement::getMode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3EnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTexture3EnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTexture3EnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_initClass",0,0)) SWIG_fail; - SoTexture3EnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3EnabledElement *arg1 = (SoTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_init" "', argument " "1"" of type '" "SoTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3EnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3EnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTexture3EnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTexture3EnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTexture3EnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTexture3EnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3EnabledElement *arg1 = (SoTexture3EnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_setElt" "', argument " "1"" of type '" "SoTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTexture3EnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTexture3EnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3EnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3EnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTexture3EnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTexture3EnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTexture3EnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_initClass",0,0)) SWIG_fail; - SoGLTexture3EnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_init" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_push" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLTexture3EnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLTexture3EnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTexture3EnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTexture3EnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTexture3EnabledElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SbBool const)\n" - " SoGLTexture3EnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLTexture3EnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoGLTexture3EnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_setElt" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTexture3EnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTexture3EnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTexture3EnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLinePatternElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLinePatternElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLinePatternElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_initClass",0,0)) SWIG_fail; - SoLinePatternElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinePatternElement *arg1 = (SoLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_init" "', argument " "1"" of type '" "SoLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinePatternElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinePatternElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLinePatternElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoLinePatternElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLinePatternElement_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLinePatternElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLinePatternElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLinePatternElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLinePatternElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,int32_t const)\n" - " SoLinePatternElement::set(SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoLinePatternElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getDefault",0,0)) SWIG_fail; - result = SoLinePatternElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLinePatternElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLinePatternElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLinePatternElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLinePatternElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLinePatternElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_initClass",0,0)) SWIG_fail; - SoGLLinePatternElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_init" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_push" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_pop" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLinePatternElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLinePatternElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLinePatternElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSwitchElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSwitchElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSwitchElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_initClass",0,0)) SWIG_fail; - SoSwitchElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitchElement *arg1 = (SoSwitchElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitchElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_init" "', argument " "1"" of type '" "SoSwitchElement *""'"); - } - arg1 = reinterpret_cast< SoSwitchElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitchElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitchElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSwitchElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoSwitchElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSwitchElement_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoSwitchElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSwitchElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSwitchElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSwitchElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,int32_t const)\n" - " SoSwitchElement::set(SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoSwitchElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getDefault",0,0)) SWIG_fail; - result = SoSwitchElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSwitchElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSwitchElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextOutlineEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextOutlineEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextOutlineEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_initClass",0,0)) SWIG_fail; - SoTextOutlineEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_init" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_push" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTextOutlineEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextOutlineEnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextOutlineEnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextOutlineEnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextOutlineEnabledElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SbBool const)\n" - " SoTextOutlineEnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextOutlineEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTextOutlineEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextOutlineEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextOutlineEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoUnitsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoUnitsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoUnitsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_initClass",0,0)) SWIG_fail; - SoUnitsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnitsElement *arg1 = (SoUnitsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnitsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_init" "', argument " "1"" of type '" "SoUnitsElement *""'"); - } - arg1 = reinterpret_cast< SoUnitsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnitsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoUnitsElement::Units arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnitsElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoUnitsElement_set" "', argument " "3"" of type '" "SoUnitsElement::Units""'"); - } - arg3 = static_cast< SoUnitsElement::Units >(val3); - SoUnitsElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoUnitsElement::Units arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoUnitsElement_set" "', argument " "2"" of type '" "SoUnitsElement::Units""'"); - } - arg2 = static_cast< SoUnitsElement::Units >(val2); - SoUnitsElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoUnitsElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoUnitsElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoUnitsElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoUnitsElement::Units const)\n" - " SoUnitsElement::set(SoState *const,SoUnitsElement::Units const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoUnitsElement::Units result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoUnitsElement::Units)SoUnitsElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnitsElement::Units result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getDefault",0,0)) SWIG_fail; - result = (SoUnitsElement::Units)SoUnitsElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoUnitsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoUnitsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFocalDistanceElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFocalDistanceElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFocalDistanceElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_initClass",0,0)) SWIG_fail; - SoFocalDistanceElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFocalDistanceElement *arg1 = (SoFocalDistanceElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFocalDistanceElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_init" "', argument " "1"" of type '" "SoFocalDistanceElement *""'"); - } - arg1 = reinterpret_cast< SoFocalDistanceElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFocalDistanceElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFocalDistanceElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFocalDistanceElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFocalDistanceElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFocalDistanceElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoFocalDistanceElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFocalDistanceElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFocalDistanceElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFocalDistanceElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoFocalDistanceElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoFocalDistanceElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getDefault",0,0)) SWIG_fail; - result = (float)SoFocalDistanceElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFocalDistanceElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFocalDistanceElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFontSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFontSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFontSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_initClass",0,0)) SWIG_fail; - SoFontSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontSizeElement *arg1 = (SoFontSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_init" "', argument " "1"" of type '" "SoFontSizeElement *""'"); - } - arg1 = reinterpret_cast< SoFontSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontSizeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFontSizeElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFontSizeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFontSizeElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoFontSizeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFontSizeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFontSizeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFontSizeElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoFontSizeElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoFontSizeElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getDefault",0,0)) SWIG_fail; - result = (float)SoFontSizeElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLineWidthElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLineWidthElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLineWidthElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_initClass",0,0)) SWIG_fail; - SoLineWidthElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineWidthElement *arg1 = (SoLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_init" "', argument " "1"" of type '" "SoLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineWidthElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineWidthElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLineWidthElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoLineWidthElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineWidthElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoLineWidthElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineWidthElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineWidthElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLineWidthElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoLineWidthElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoLineWidthElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getDefault",0,0)) SWIG_fail; - result = (float)SoLineWidthElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineWidthElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineWidthElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLineWidthElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLineWidthElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLineWidthElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_initClass",0,0)) SWIG_fail; - SoGLLineWidthElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_init" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_push" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_pop" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLineWidthElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLineWidthElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLineWidthElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPointSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPointSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPointSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_initClass",0,0)) SWIG_fail; - SoPointSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSizeElement *arg1 = (SoPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_init" "', argument " "1"" of type '" "SoPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSizeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPointSizeElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoPointSizeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointSizeElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoPointSizeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPointSizeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPointSizeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPointSizeElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoPointSizeElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoPointSizeElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getDefault",0,0)) SWIG_fail; - result = (float)SoPointSizeElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLPointSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLPointSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLPointSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_initClass",0,0)) SWIG_fail; - SoGLPointSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_init" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_push" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_pop" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLPointSizeElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLPointSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLPointSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureQualityElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureQualityElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureQualityElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_initClass",0,0)) SWIG_fail; - SoTextureQualityElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureQualityElement *arg1 = (SoTextureQualityElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureQualityElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_init" "', argument " "1"" of type '" "SoTextureQualityElement *""'"); - } - arg1 = reinterpret_cast< SoTextureQualityElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureQualityElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureQualityElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureQualityElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoTextureQualityElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureQualityElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoTextureQualityElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureQualityElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureQualityElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureQualityElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoTextureQualityElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoTextureQualityElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getDefault",0,0)) SWIG_fail; - result = (float)SoTextureQualityElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureQualityElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureQualityElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureOverrideElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureOverrideElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureOverrideElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_initClass",0,0)) SWIG_fail; - SoTextureOverrideElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_matches" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoTextureOverrideElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_copyMatchInfo" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - result = (SoElement *)((SoTextureOverrideElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_init" "', argument " "1"" of type '" "SoTextureOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_push" "', argument " "1"" of type '" "SoTextureOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getQualityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getQualityOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getQualityOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getQualityOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getImageOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getImageOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getImageOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getImageOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getBumpMapOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getBumpMapOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getBumpMapOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getBumpMapOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setQualityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setQualityOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setQualityOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setQualityOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setQualityOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setImageOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setImageOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setImageOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setImageOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setImageOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setBumpMapOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setBumpMapOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setBumpMapOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setBumpMapOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setBumpMapOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_output" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoTextureOverrideElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureOverrideElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureOverrideElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLRenderPassElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLRenderPassElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLRenderPassElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_initClass",0,0)) SWIG_fail; - SoGLRenderPassElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_init" "', argument " "1"" of type '" "SoGLRenderPassElement *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderPassElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_matches" "', argument " "1"" of type '" "SoGLRenderPassElement const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderPassElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLRenderPassElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLRenderPassElement const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - result = (SoElement *)((SoGLRenderPassElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderPassElement_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLRenderPassElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLRenderPassElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderPassElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderPassElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLUpdateAreaElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLUpdateAreaElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_initClass",0,0)) SWIG_fail; - SoGLUpdateAreaElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_init" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_push" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_matches" "', argument " "1"" of type '" "SoGLUpdateAreaElement const *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLUpdateAreaElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLUpdateAreaElement const *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - result = (SoElement *)((SoGLUpdateAreaElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_set" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_set" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_set" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_set" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - SoGLUpdateAreaElement::set(arg1,(SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_get" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_get" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_get" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_get" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)SoGLUpdateAreaElement::get(arg1,*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getDefaultOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getDefaultOrigin",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getDefaultOrigin(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getDefaultSize",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getDefaultSize(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLUpdateAreaElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLUpdateAreaElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLocalBBoxMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLocalBBoxMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLocalBBoxMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_initClass",0,0)) SWIG_fail; - SoLocalBBoxMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_init" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_push" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::makeIdentity(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_set",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::set(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_mult",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::mult(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_translateBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - SoLocalBBoxMatrixElement::translateBy(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_rotateBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - SoLocalBBoxMatrixElement::rotateBy(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_scaleBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - SoLocalBBoxMatrixElement::scaleBy(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_pushMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoLocalBBoxMatrixElement::pushMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_popMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_resetAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_resetAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_resetAll" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::resetAll(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoLocalBBoxMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_matches" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLocalBBoxMatrixElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_copyMatchInfo" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - result = (SoElement *)((SoLocalBBoxMatrixElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocalBBoxMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocalBBoxMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getClassTypeId",0,0)) SWIG_fail; - result = SoOverrideElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoOverrideElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoOverrideElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_initClass",0,0)) SWIG_fail; - SoOverrideElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_init" "', argument " "1"" of type '" "SoOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_push" "', argument " "1"" of type '" "SoOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_matches" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoOverrideElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_copyMatchInfo" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - result = (SoElement *)((SoOverrideElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFlags" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoOverrideElement::getFlags(arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getAmbientColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getAmbientColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getAmbientColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getAmbientColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getColorIndexOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getColorIndexOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getColorIndexOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getColorIndexOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getComplexityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getComplexityOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getComplexityOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getComplexityOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getComplexityTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getComplexityTypeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getComplexityTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getComplexityTypeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getCreaseAngleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getCreaseAngleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getCreaseAngleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getCreaseAngleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getDiffuseColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getDiffuseColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getDiffuseColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getDiffuseColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getDrawStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getDrawStyleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getDrawStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getDrawStyleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getEmissiveColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getEmissiveColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getEmissiveColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getEmissiveColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFontNameOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFontNameOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFontNameOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getFontNameOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFontSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFontSizeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFontSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getFontSizeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLightModelOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLightModelOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLightModelOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLightModelOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLinePatternOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLinePatternOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLinePatternOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLinePatternOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLineWidthOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLineWidthOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLineWidthOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLineWidthOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getMaterialBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getMaterialBindingOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getMaterialBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getMaterialBindingOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPickStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPickStyleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPickStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPickStyleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPointSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPointSizeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPointSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPointSizeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPolygonOffsetOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPolygonOffsetOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPolygonOffsetOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPolygonOffsetOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getShapeHintsOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getShapeHintsOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getShapeHintsOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getShapeHintsOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getShininessOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getShininessOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getShininessOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getShininessOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getSpecularColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getSpecularColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getSpecularColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getSpecularColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getTransparencyOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getTransparencyOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getTransparencyOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getTransparencyOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getTransparencyTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getTransparencyTypeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getTransparencyTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getTransparencyTypeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getNormalVectorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getNormalVectorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getNormalVectorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getNormalVectorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getNormalBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getNormalBindingOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getNormalBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getNormalBindingOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setAmbientColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setAmbientColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setAmbientColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setColorIndexOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setColorIndexOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setColorIndexOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setComplexityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setComplexityOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setComplexityOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setComplexityTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setComplexityTypeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setComplexityTypeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setCreaseAngleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setCreaseAngleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setCreaseAngleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setDiffuseColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setDiffuseColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setDiffuseColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setDrawStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setDrawStyleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setDrawStyleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setEmissiveColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setEmissiveColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setEmissiveColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setFontNameOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setFontNameOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setFontNameOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setFontSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setFontSizeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setFontSizeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLightModelOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLightModelOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLightModelOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLinePatternOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLinePatternOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLinePatternOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLineWidthOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLineWidthOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLineWidthOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setMaterialBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setMaterialBindingOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setMaterialBindingOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPickStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPickStyleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPickStyleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPointSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPointSizeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPointSizeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPolygonOffsetOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPolygonOffsetOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPolygonOffsetOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setShapeHintsOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setShapeHintsOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setShapeHintsOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setShininessOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setShininessOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setShininessOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setSpecularColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setSpecularColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setSpecularColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setTransparencyOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setTransparencyOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setTransparencyOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setTransparencyTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setTransparencyTypeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setTransparencyTypeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setNormalVectorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setNormalVectorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setNormalVectorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setNormalBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setNormalBindingOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setNormalBindingOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_output" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoOverrideElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOverrideElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOverrideElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickRayElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPickRayElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPickRayElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPickRayElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_initClass",0,0)) SWIG_fail; - SoPickRayElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_init" "', argument " "1"" of type '" "SoPickRayElement *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_matches" "', argument " "1"" of type '" "SoPickRayElement const *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoPickRayElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_copyMatchInfo" "', argument " "1"" of type '" "SoPickRayElement const *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - result = (SoElement *)((SoPickRayElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_set" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickRayElement_set" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - SoPickRayElement::set(arg1,(SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewVolume const &_result_ref = SoPickRayElement::get(arg1); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickRayElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickRayElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_getPtr3" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - result = (SbVec3f *)((SoGLCoordinateElement const *)arg1)->getPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_getPtr4" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - result = (SbVec4f *)((SoGLCoordinateElement const *)arg1)->getPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_send" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLCoordinateElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getClassTypeId",0,0)) SWIG_fail; - result = SoEnvironmentElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoEnvironmentElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoEnvironmentElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_initClass",0,0)) SWIG_fail; - SoEnvironmentElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironmentElement *arg1 = (SoEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_init" "', argument " "1"" of type '" "SoEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - SbColor *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - int32_t arg6 ; - SbColor *arg7 = 0 ; - float arg8 ; - float arg9 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnvironmentElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoEnvironmentElement_set" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoEnvironmentElement_set" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoEnvironmentElement_set" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - SoEnvironmentElement::set(arg1,arg2,arg3,(SbColor const &)*arg4,(SbVec3f const &)*arg5,arg6,(SbColor const &)*arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - SbColor *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - int32_t arg6 ; - SbColor *arg7 = 0 ; - float arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - float val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_set",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnvironmentElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoEnvironmentElement_set" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoEnvironmentElement_set" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - SoEnvironmentElement::set(arg1,arg2,arg3,(SbColor const &)*arg4,(SbVec3f const &)*arg5,arg6,(SbColor const &)*arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[10]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 9); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEnvironmentElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEnvironmentElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEnvironmentElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const,SbColor const &,SbVec3f const &,int32_t const,SbColor const &,float const,float const)\n" - " SoEnvironmentElement::set(SoState *const,SoNode *const,float const,SbColor const &,SbVec3f const &,int32_t const,SbColor const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float *arg2 = 0 ; - SbColor *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - int32_t *arg5 = 0 ; - SbColor *arg6 = 0 ; - float *arg7 = 0 ; - float *arg8 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_get" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEnvironmentElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_get" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_get" "', argument " "5"" of type '" "int32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "5"" of type '" "int32_t &""'"); - } - arg5 = reinterpret_cast< int32_t * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoEnvironmentElement_get" "', argument " "6"" of type '" "SbColor &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "6"" of type '" "SbColor &""'"); - } - arg6 = reinterpret_cast< SbColor * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_get" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoEnvironmentElement_get" "', argument " "8"" of type '" "float &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "8"" of type '" "float &""'"); - } - arg8 = reinterpret_cast< float * >(argp8); - SoEnvironmentElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getAmbientIntensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getAmbientIntensity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getAmbientIntensity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoEnvironmentElement::getAmbientIntensity(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogVisibility",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogVisibility" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoEnvironmentElement::getFogVisibility(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getLightAttenuation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getLightAttenuation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getLightAttenuation" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoEnvironmentElement::getLightAttenuation(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getAmbientColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getAmbientColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getAmbientColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoEnvironmentElement::getAmbientColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoEnvironmentElement::getFogColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoEnvironmentElement::getFogType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = 0 ; - SbColor *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - int32_t *arg4 = 0 ; - SbColor *arg5 = 0 ; - float *arg6 = 0 ; - float *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getDefault",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_getDefault" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEnvironmentElement_getDefault" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_getDefault" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_getDefault" "', argument " "5"" of type '" "SbColor &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "5"" of type '" "SbColor &""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoEnvironmentElement_getDefault" "', argument " "6"" of type '" "float &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "6"" of type '" "float &""'"); - } - arg6 = reinterpret_cast< float * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_getDefault" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - SoEnvironmentElement::getDefault(*arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironmentElement *arg1 = (SoEnvironmentElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_output" "', argument " "1"" of type '" "SoEnvironmentElement const *""'"); - } - arg1 = reinterpret_cast< SoEnvironmentElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoEnvironmentElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnvironmentElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnvironmentElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLEnvironmentElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLEnvironmentElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLEnvironmentElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_initClass",0,0)) SWIG_fail; - SoGLEnvironmentElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLEnvironmentElement *arg1 = (SoGLEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLEnvironmentElement_init" "', argument " "1"" of type '" "SoGLEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoGLEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLEnvironmentElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLEnvironmentElement *arg1 = (SoGLEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLEnvironmentElement_pop" "', argument " "1"" of type '" "SoGLEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoGLEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLEnvironmentElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLEnvironmentElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLEnvironmentElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLEnvironmentElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFontNameElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFontNameElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFontNameElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_initClass",0,0)) SWIG_fail; - SoFontNameElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_init" "', argument " "1"" of type '" "SoFontNameElement *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbName arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = SbName(PyString_AsString(obj2)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj2, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg3 = *namePtr; - } - } - SoFontNameElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbName const &_result_ref = SoFontNameElement::get(arg1); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getDefault",0,0)) SWIG_fail; - result = SoFontNameElement::getDefault(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_matches" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoFontNameElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_copyMatchInfo" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - result = (SoElement *)((SoFontNameElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_output" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoFontNameElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontNameElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontNameElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightAttenuationElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightAttenuationElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightAttenuationElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_initClass",0,0)) SWIG_fail; - SoLightAttenuationElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_init" "', argument " "1"" of type '" "SoLightAttenuationElement *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLightAttenuationElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLightAttenuationElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoLightAttenuationElement::set(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoLightAttenuationElement::get(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getDefault",0,0)) SWIG_fail; - { - SbVec3f const &_result_ref = SoLightAttenuationElement::getDefault(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_matches" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLightAttenuationElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_copyMatchInfo" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - result = (SoElement *)((SoLightAttenuationElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_output" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoLightAttenuationElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightAttenuationElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightAttenuationElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPolygonOffsetElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPolygonOffsetElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPolygonOffsetElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_initClass",0,0)) SWIG_fail; - SoPolygonOffsetElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffsetElement *arg1 = (SoPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_init" "', argument " "1"" of type '" "SoPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - float arg3 ; - float arg4 ; - SoPolygonOffsetElement::Style arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_set",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPolygonOffsetElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPolygonOffsetElement_set" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoPolygonOffsetElement_set" "', argument " "5"" of type '" "SoPolygonOffsetElement::Style""'"); - } - arg5 = static_cast< SoPolygonOffsetElement::Style >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoPolygonOffsetElement_set" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - SoPolygonOffsetElement::set(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - SoPolygonOffsetElement::Style *arg4 = 0 ; - SbBool *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_get",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_get" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPolygonOffsetElement_get" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoPolygonOffsetElement__Style, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPolygonOffsetElement_get" "', argument " "4"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "4"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - arg4 = reinterpret_cast< SoPolygonOffsetElement::Style * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoPolygonOffsetElement_get" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - SoPolygonOffsetElement::get(arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = 0 ; - float *arg2 = 0 ; - SoPolygonOffsetElement::Style *arg3 = 0 ; - SbBool *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoPolygonOffsetElement__Style, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "3"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "3"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - arg3 = reinterpret_cast< SoPolygonOffsetElement::Style * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - SoPolygonOffsetElement::getDefault(*arg1,*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPolygonOffsetElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPolygonOffsetElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLPolygonOffsetElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLPolygonOffsetElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLPolygonOffsetElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_initClass",0,0)) SWIG_fail; - SoGLPolygonOffsetElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_init" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_push" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLPolygonOffsetElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLPolygonOffsetElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProjectionMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProjectionMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProjectionMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_initClass",0,0)) SWIG_fail; - SoProjectionMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProjectionMatrixElement *arg1 = (SoProjectionMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProjectionMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_init" "', argument " "1"" of type '" "SoProjectionMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoProjectionMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProjectionMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProjectionMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoProjectionMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoProjectionMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProjectionMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProjectionMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLProjectionMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLProjectionMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLProjectionMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_initClass",0,0)) SWIG_fail; - SoGLProjectionMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLProjectionMatrixElement *arg1 = (SoGLProjectionMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLProjectionMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "1"" of type '" "SoGLProjectionMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLProjectionMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLProjectionMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLProjectionMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProfileCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProfileCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_initClass",0,0)) SWIG_fail; - SoProfileCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_init" "', argument " "1"" of type '" "SoProfileCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_set2",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProfileCoordinateElement_set2" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfileCoordinateElement_set2" "', argument " "4"" of type '" "SbVec2f const *const""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoProfileCoordinateElement::set2(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProfileCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfileCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoProfileCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProfileCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoProfileCoordinateElement *)SoProfileCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getNum" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = ((SoProfileCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_get2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_get2" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoProfileCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoProfileCoordinateElement const *)arg1)->get2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_get3" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoProfileCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoProfileCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_is2D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_is2D" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbBool)((SoProfileCoordinateElement const *)arg1)->is2D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getDefault2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getDefault2",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getDefault2(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getDefault3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getDefault3",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getDefault3(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getArrayPtr2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbVec2f *)((SoProfileCoordinateElement const *)arg1)->getArrayPtr2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbVec3f *)((SoProfileCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_initClass",0,0)) SWIG_fail; - SoGLTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_init" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_push" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_pop" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoGLImage *arg3 = (SoGLImage *) 0 ; - SoTextureImageElement::Model arg4 ; - SbColor *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_set" "', argument " "3"" of type '" "SoGLImage *""'"); - } - arg3 = reinterpret_cast< SoGLImage * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLTextureImageElement_set" "', argument " "4"" of type '" "SoTextureImageElement::Model""'"); - } - arg4 = static_cast< SoTextureImageElement::Model >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLTextureImageElement_set" "', argument " "5"" of type '" "SbColor const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_set" "', argument " "5"" of type '" "SbColor const &""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - SoGLTextureImageElement::set(arg1,arg2,arg3,arg4,(SbColor const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoTextureImageElement::Model *arg2 = 0 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoGLImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_get" "', argument " "2"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_get" "', argument " "2"" of type '" "SoTextureImageElement::Model &""'"); - } - arg2 = reinterpret_cast< SoTextureImageElement::Model * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - result = (SoGLImage *)SoGLTextureImageElement::get(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getMaxGLTextureSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getMaxGLTextureSize",0,0)) SWIG_fail; - result = SoGLTextureImageElement::getMaxGLTextureSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_isTextureSizeLegal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_isTextureSizeLegal",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - result = (SbBool)(arg1)->isTextureSizeLegal(arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_hasTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLTextureImageElement::hasTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewingMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewingMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewingMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_initClass",0,0)) SWIG_fail; - SoViewingMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewingMatrixElement *arg1 = (SoViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_init" "', argument " "1"" of type '" "SoViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewingMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewingMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoViewingMatrixElement_set" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewingMatrixElement_set" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoViewingMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoViewingMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewingMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewingMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLViewingMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLViewingMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLViewingMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_initClass",0,0)) SWIG_fail; - SoGLViewingMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_init" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_push" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_getNodeId" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoGLViewingMatrixElement::getNodeId(arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getResetMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getResetMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_getResetMatrix" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoGLViewingMatrixElement::getResetMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLViewingMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLViewingMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewVolumeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewVolumeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewVolumeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_initClass",0,0)) SWIG_fail; - SoViewVolumeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewVolumeElement *arg1 = (SoViewVolumeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewVolumeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_init" "', argument " "1"" of type '" "SoViewVolumeElement *""'"); - } - arg1 = reinterpret_cast< SoViewVolumeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewVolumeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewVolume *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewVolumeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoViewVolumeElement_set" "', argument " "3"" of type '" "SbViewVolume const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewVolumeElement_set" "', argument " "3"" of type '" "SbViewVolume const &""'"); - } - arg3 = reinterpret_cast< SbViewVolume * >(argp3); - SoViewVolumeElement::set(arg1,arg2,(SbViewVolume const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewVolume const &_result_ref = SoViewVolumeElement::get(arg1); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewVolumeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewVolumeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLShapeHintsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLShapeHintsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLShapeHintsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_initClass",0,0)) SWIG_fail; - SoGLShapeHintsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_init" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_push" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_pop" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLShapeHintsElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLShapeHintsElement::forceSend(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLShapeHintsElement::forceSend(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoGLShapeHintsElement::forceSend(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLShapeHintsElement_forceSend'.\n" - " Possible C/C++ prototypes are:\n" - " forceSend(SoState *const,SbBool const)\n" - " forceSend(SoState *const,SbBool const,SbBool const)\n" - " SoGLShapeHintsElement::forceSend(SoState *const,SbBool const,SbBool const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoGLShapeHintsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLShapeHintsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShapeStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShapeStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_initClass",0,0)) SWIG_fail; - SoShapeStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_init" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_push" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_pop" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeStyleElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_matches" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoShapeStyleElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_copyMatchInfo" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SoElement *)((SoShapeStyleElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShapeStyleElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeStyleElement *)SoShapeStyleElement::get(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getFlags" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (unsigned int)((SoShapeStyleElement const *)arg1)->getFlags(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_mightNotRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_mightNotRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_mightNotRender" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->mightNotRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_needNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_needNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_needNormals" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->needNormals(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_needTexCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_needTexCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_needTexCoords" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->needTexCoords(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getRenderCaseMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getRenderCaseMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getRenderCaseMask" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (int)((SoShapeStyleElement const *)arg1)->getRenderCaseMask(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setDrawStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setDrawStyle" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setDrawStyle" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setDrawStyle(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setComplexityType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setComplexityType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setComplexityType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setComplexityType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setComplexityType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparencyType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparencyType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setTransparencyType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTextureEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTextureEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTextureEnabled" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTextureEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTextureEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTexture3Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTexture3Enabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTexture3Enabled" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTexture3Enabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTexture3Enabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTextureFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTextureFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTextureFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTextureFunction" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTextureFunction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setLightModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setOverrides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setOverrides",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setOverrides" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setOverrides" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setOverrides(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_isScreenDoor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_isScreenDoor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_isScreenDoor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoShapeStyleElement::isScreenDoor(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getTransparencyType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoShapeStyleElement::getTransparencyType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_isTextureFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_isTextureFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_isTextureFunction" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->isTextureFunction(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setBumpmapEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setBumpmapEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setBumpmapEnabled" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setBumpmapEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setBumpmapEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setBigImageEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setBigImageEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setBigImageEnabled" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setBigImageEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setBigImageEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setVertexArrayRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setVertexArrayRendering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setVertexArrayRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setVertexArrayRendering" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setVertexArrayRendering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparentMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparentMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparentMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparentMaterial" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTransparentMaterial(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparentTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparentTexture",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparentTexture" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparentTexture" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTransparentTexture(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setShadowMapRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setShadowMapRendering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setShadowMapRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setShadowMapRendering" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setShadowMapRendering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setShadowsRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setShadowsRendering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setShadowsRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setShadowsRendering" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setShadowsRendering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewportRegionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewportRegionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewportRegionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_initClass",0,0)) SWIG_fail; - SoViewportRegionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_init" "', argument " "1"" of type '" "SoViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_matches" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoViewportRegionElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_copyMatchInfo" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - result = (SoElement *)((SoViewportRegionElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_set" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewportRegionElement_set" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - SoViewportRegionElement::set(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewportRegion const &_result_ref = SoViewportRegionElement::get(arg1); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_output" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoViewportRegionElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewportRegionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewportRegionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLViewportRegionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLViewportRegionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLViewportRegionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_initClass",0,0)) SWIG_fail; - SoGLViewportRegionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_init" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_push" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_pop" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLViewportRegionElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLViewportRegionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLViewportRegionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWindowElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_getClassTypeId",0,0)) SWIG_fail; - result = SoWindowElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoWindowElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoWindowElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_initClass",0,0)) SWIG_fail; - SoWindowElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_init" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_push" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_pop" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_matches" "', argument " "1"" of type '" "SoWindowElement const *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoWindowElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_copyMatchInfo" "', argument " "1"" of type '" "SoWindowElement const *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - result = (SoElement *)((SoWindowElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - SoGLRenderAction *arg5 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int res3 ; - int res4 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_set" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_set" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoWindowElement_set" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoWindowElement_set" "', argument " "5"" of type '" "SoGLRenderAction *""'"); - } - arg5 = reinterpret_cast< SoGLRenderAction * >(argp5); - SoWindowElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void **arg2 = 0 ; - void **arg3 = 0 ; - void **arg4 = 0 ; - SoGLRenderAction **arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_get",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_get" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_get" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoWindowElement_get" "', argument " "4"" of type '" "void *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "4"" of type '" "void *&""'"); - } - arg4 = reinterpret_cast< void ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoGLRenderAction, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoWindowElement_get" "', argument " "5"" of type '" "SoGLRenderAction *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "5"" of type '" "SoGLRenderAction *&""'"); - } - arg5 = reinterpret_cast< SoGLRenderAction ** >(argp5); - SoWindowElement::get(arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWindowElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWindowElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLCacheContextElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLCacheContextElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLCacheContextElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_initClass",0,0)) SWIG_fail; - SoGLCacheContextElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_init" "', argument " "1"" of type '" "SoGLCacheContextElement *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_matches" "', argument " "1"" of type '" "SoGLCacheContextElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLCacheContextElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLCacheContextElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - result = (SoElement *)((SoGLCacheContextElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLCacheContextElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLCacheContextElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoGLCacheContextElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getExtID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getExtID",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getExtID" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (int)SoGLCacheContextElement::getExtID((char const *)arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getOpenGLVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getOpenGLVersion",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SoGLCacheContextElement::getOpenGLVersion(arg1,*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_extSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_extSupported",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_extSupported" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_extSupported" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoGLCacheContextElement::extSupported(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_areMipMapsFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_areMipMapsFast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_areMipMapsFast" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLCacheContextElement::areMipMapsFast(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_shouldAutoCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_shouldAutoCache",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_shouldAutoCache" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_shouldAutoCache" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLCacheContextElement::shouldAutoCache(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_setAutoCacheBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_setAutoCacheBits",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_setAutoCacheBits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_setAutoCacheBits" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLCacheContextElement::setAutoCacheBits(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_resetAutoCacheBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_resetAutoCacheBits",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_resetAutoCacheBits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::resetAutoCacheBits(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getIsRemoteRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getIsRemoteRendering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getIsRemoteRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLCacheContextElement::getIsRemoteRendering(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getUniqueCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getUniqueCacheContext",0,0)) SWIG_fail; - result = SoGLCacheContextElement::getUniqueCacheContext(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_scheduleDeleteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - SoScheduleDeleteCB *arg2 = (SoScheduleDeleteCB *) 0 ; - void *arg3 = (void *) 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_scheduleDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_uint32_t__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "2"" of type '" "SoScheduleDeleteCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "3"" of type '" "void *""'"); - } - SoGLCacheContextElement::scheduleDeleteCallback(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_incNumShapes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_incNumShapes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_incNumShapes" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLCacheContextElement::incNumShapes(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getNumShapes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getNumShapes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getNumShapes" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::getNumShapes(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_incNumSeparators(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_incNumSeparators",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_incNumSeparators" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLCacheContextElement::incNumSeparators(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getNumSeparators(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getNumSeparators",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getNumSeparators" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::getNumSeparators(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLCacheContextElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCacheContextElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - int arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoGLDisplayList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoGLDisplayList" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoGLDisplayList" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoGLDisplayList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoGLDisplayList" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoGLDisplayList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoGLDisplayList'.\n" - " Possible C/C++ prototypes are:\n" - " SoGLDisplayList(SoState *,SoGLDisplayList::Type,int,SbBool)\n" - " SoGLDisplayList(SoState *,SoGLDisplayList::Type,int)\n" - " SoGLDisplayList(SoState *,SoGLDisplayList::Type)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_ref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - (arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_unref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_unref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_unref'.\n" - " Possible C/C++ prototypes are:\n" - " unref(SoGLDisplayList *,SoState *)\n" - " unref(SoGLDisplayList *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_open",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_open" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_open" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLDisplayList_open" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->open(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_open",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_open" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_open" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->open(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_open__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLDisplayList_open__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_open'.\n" - " Possible C/C++ prototypes are:\n" - " open(SoGLDisplayList *,SoState *,int)\n" - " open(SoGLDisplayList *,SoState *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_close",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_close" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_close" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->close(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_call",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_call" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_call" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLDisplayList_call" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->call(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_call",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_call" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_call" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->call(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_call__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLDisplayList_call__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_call'.\n" - " Possible C/C++ prototypes are:\n" - " call(SoGLDisplayList *,SoState *,int)\n" - " call(SoGLDisplayList *,SoState *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_addDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_addDependency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_addDependency" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_addDependency" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->addDependency(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_isMipMapTextureObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_isMipMapTextureObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_isMipMapTextureObject" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (SbBool)((SoGLDisplayList const *)arg1)->isMipMapTextureObject(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLDisplayList::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getType" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (SoGLDisplayList::Type)((SoGLDisplayList const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getNumAllocated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getNumAllocated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getNumAllocated" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (int)((SoGLDisplayList const *)arg1)->getNumAllocated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getFirstIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getFirstIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getFirstIndex" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (unsigned int)((SoGLDisplayList const *)arg1)->getFirstIndex(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getContext",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getContext" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (int)((SoGLDisplayList const *)arg1)->getContext(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_setTextureTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_setTextureTarget",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_setTextureTarget" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLDisplayList_setTextureTarget" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setTextureTarget(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getTextureTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getTextureTarget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getTextureTarget" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (int)((SoGLDisplayList const *)arg1)->getTextureTarget(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLDisplayList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLDisplayList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLColorIndexElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLColorIndexElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLColorIndexElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_initClass",0,0)) SWIG_fail; - SoGLColorIndexElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_isColorIndexMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_isColorIndexMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_isColorIndexMode" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLColorIndexElement::isColorIndexMode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_init" "', argument " "1"" of type '" "SoGLColorIndexElement *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLColorIndexElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) (int32_t *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLColorIndexElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLColorIndexElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLColorIndexElement_set" "', argument " "4"" of type '" "int32_t const *const""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - SoGLColorIndexElement::set(arg1,arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLColorIndexElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLColorIndexElement *)SoGLColorIndexElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_getNum" "', argument " "1"" of type '" "SoGLColorIndexElement const *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - result = ((SoGLColorIndexElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_get" "', argument " "1"" of type '" "SoGLColorIndexElement const *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLColorIndexElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoGLColorIndexElement const *)arg1)->get(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getDefault",0,0)) SWIG_fail; - result = SoGLColorIndexElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLColorIndexElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLColorIndexElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerPositionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerPositionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerPositionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_initClass",0,0)) SWIG_fail; - SoListenerPositionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerPositionElement *arg1 = (SoListenerPositionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerPositionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_init" "', argument " "1"" of type '" "SoListenerPositionElement *""'"); - } - arg1 = reinterpret_cast< SoListenerPositionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerPositionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerPositionElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerPositionElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerPositionElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoListenerPositionElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoListenerPositionElement::set(arg1,arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoListenerPositionElement::get(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_isSetByListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_isSetByListener",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_isSetByListener" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoListenerPositionElement::isSetByListener(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerPositionElement *arg1 = (SoListenerPositionElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerPositionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_output" "', argument " "1"" of type '" "SoListenerPositionElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerPositionElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerPositionElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerPositionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerPositionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerOrientationElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerOrientationElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerOrientationElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_initClass",0,0)) SWIG_fail; - SoListenerOrientationElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerOrientationElement *arg1 = (SoListenerOrientationElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerOrientationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_init" "', argument " "1"" of type '" "SoListenerOrientationElement *""'"); - } - arg1 = reinterpret_cast< SoListenerOrientationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerOrientationElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerOrientationElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerOrientationElement_set" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerOrientationElement_set" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoListenerOrientationElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoListenerOrientationElement::set(arg1,arg2,(SbRotation const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbRotation const &_result_ref = SoListenerOrientationElement::get(arg1); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_isSetByListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_isSetByListener",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_isSetByListener" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoListenerOrientationElement::isSetByListener(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerOrientationElement *arg1 = (SoListenerOrientationElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerOrientationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_output" "', argument " "1"" of type '" "SoListenerOrientationElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerOrientationElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerOrientationElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerOrientationElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerOrientationElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerDopplerElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerDopplerElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerDopplerElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_initClass",0,0)) SWIG_fail; - SoListenerDopplerElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerDopplerElement *arg1 = (SoListenerDopplerElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerDopplerElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_init" "', argument " "1"" of type '" "SoListenerDopplerElement *""'"); - } - arg1 = reinterpret_cast< SoListenerDopplerElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_setDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_setDopplerVelocity",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoListenerDopplerElement::setDopplerVelocity(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_setDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_setDopplerFactor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoListenerDopplerElement::setDopplerFactor(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getDopplerVelocity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_getDopplerVelocity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoListenerDopplerElement::getDopplerVelocity(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getDopplerFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_getDopplerFactor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoListenerDopplerElement::getDopplerFactor(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerDopplerElement *arg1 = (SoListenerDopplerElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerDopplerElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_output" "', argument " "1"" of type '" "SoListenerDopplerElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerDopplerElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerDopplerElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerDopplerElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerDopplerElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerGainElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerGainElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerGainElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_initClass",0,0)) SWIG_fail; - SoListenerGainElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerGainElement *arg1 = (SoListenerGainElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerGainElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_init" "', argument " "1"" of type '" "SoListenerGainElement *""'"); - } - arg1 = reinterpret_cast< SoListenerGainElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerGainElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerGainElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoListenerGainElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoListenerGainElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoListenerGainElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoListenerGainElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoListenerGainElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoListenerGainElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoListenerGainElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,float const)\n" - " SoListenerGainElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoListenerGainElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerGainElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerGainElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSoundElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSoundElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSoundElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSoundElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_initClass",0,0)) SWIG_fail; - SoSoundElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_init" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSoundElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSoundElement_set" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoSoundElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setSceneGraphHasSoundNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setSceneGraphHasSoundNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setSceneGraphHasSoundNode(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_sceneGraphHasSoundNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_sceneGraphHasSoundNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_sceneGraphHasSoundNode" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::sceneGraphHasSoundNode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setSoundNodeIsPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setSoundNodeIsPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setSoundNodeIsPlaying(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_soundNodeIsPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_soundNodeIsPlaying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_soundNodeIsPlaying" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::soundNodeIsPlaying(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setIsPartOfActiveSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setIsPartOfActiveSceneGraph",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setIsPartOfActiveSceneGraph(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_isPartOfActiveSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_isPartOfActiveSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_isPartOfActiveSceneGraph" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::isPartOfActiveSceneGraph(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_push" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_pop" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSoundElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_output" "', argument " "1"" of type '" "SoSoundElement const *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoSoundElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSoundElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSoundElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLVBOElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLVBOElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLVBOElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_initClass",0,0)) SWIG_fail; - SoGLVBOElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_shouldCreateVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_shouldCreateVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_shouldCreateVBO" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLVBOElement_shouldCreateVBO" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoGLVBOElement::shouldCreateVBO(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_setVertexVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoVBO *arg2 = (SoVBO *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_setVertexVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_setVertexVBO" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVBO, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_setVertexVBO" "', argument " "2"" of type '" "SoVBO *""'"); - } - arg2 = reinterpret_cast< SoVBO * >(argp2); - SoGLVBOElement::setVertexVBO(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_setNormalVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoVBO *arg2 = (SoVBO *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_setNormalVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_setNormalVBO" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVBO, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_setNormalVBO" "', argument " "2"" of type '" "SoVBO *""'"); - } - arg2 = reinterpret_cast< SoVBO * >(argp2); - SoGLVBOElement::setNormalVBO(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_setColorVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoVBO *arg2 = (SoVBO *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_setColorVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_setColorVBO" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVBO, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_setColorVBO" "', argument " "2"" of type '" "SoVBO *""'"); - } - arg2 = reinterpret_cast< SoVBO * >(argp2); - SoGLVBOElement::setColorVBO(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_setTexCoordVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoVBO *arg3 = (SoVBO *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_setTexCoordVBO",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_setTexCoordVBO" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLVBOElement_setTexCoordVBO" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoVBO, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLVBOElement_setTexCoordVBO" "', argument " "3"" of type '" "SoVBO *""'"); - } - arg3 = reinterpret_cast< SoVBO * >(argp3); - SoGLVBOElement::setTexCoordVBO(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLVBOElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLVBOElement *)SoGLVBOElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_init" "', argument " "1"" of type '" "SoGLVBOElement *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_push" "', argument " "1"" of type '" "SoGLVBOElement *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_pop" "', argument " "1"" of type '" "SoGLVBOElement *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLVBOElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_matches" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVBOElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLVBOElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - result = (SoElement *)((SoGLVBOElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getVertexVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVBO *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getVertexVBO",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getVertexVBO" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - result = (SoVBO *)((SoGLVBOElement const *)arg1)->getVertexVBO(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVBO, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getNormalVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVBO *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getNormalVBO",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getNormalVBO" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - result = (SoVBO *)((SoGLVBOElement const *)arg1)->getNormalVBO(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVBO, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getColorVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVBO *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getColorVBO",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getColorVBO" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - result = (SoVBO *)((SoGLVBOElement const *)arg1)->getColorVBO(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVBO, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getNumTexCoordVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getNumTexCoordVBO",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getNumTexCoordVBO" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - result = (int)((SoGLVBOElement const *)arg1)->getNumTexCoordVBO(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVBOElement_getTexCoordVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVBOElement *arg1 = (SoGLVBOElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoVBO *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVBOElement_getTexCoordVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVBOElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVBOElement_getTexCoordVBO" "', argument " "1"" of type '" "SoGLVBOElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVBOElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLVBOElement_getTexCoordVBO" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoVBO *)((SoGLVBOElement const *)arg1)->getTexCoordVBO(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVBO, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLVBOElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLVBOElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDepthBufferElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDepthBufferElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDepthBufferElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_initClass",0,0)) SWIG_fail; - SoDepthBufferElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - SoDepthBufferElement::DepthWriteFunction arg4 ; - SbVec2f arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDepthBufferElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDepthBufferElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoDepthBufferElement_set" "', argument " "4"" of type '" "SoDepthBufferElement::DepthWriteFunction""'"); - } - arg4 = static_cast< SoDepthBufferElement::DepthWriteFunction >(val4); - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDepthBufferElement_set" "', argument " "5"" of type '" "SbVec2f""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDepthBufferElement_set" "', argument " "5"" of type '" "SbVec2f""'"); - } else { - SbVec2f * temp = reinterpret_cast< SbVec2f * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - SoDepthBufferElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool *arg2 = 0 ; - SbBool *arg3 = 0 ; - SoDepthBufferElement::DepthWriteFunction *arg4 = 0 ; - SbVec2f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_get",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBufferElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDepthBufferElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDepthBufferElement_get" "', argument " "3"" of type '" "SbBool &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDepthBufferElement_get" "', argument " "3"" of type '" "SbBool &""'"); - } - arg3 = reinterpret_cast< SbBool * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoDepthBufferElement__DepthWriteFunction, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDepthBufferElement_get" "', argument " "4"" of type '" "SoDepthBufferElement::DepthWriteFunction &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDepthBufferElement_get" "', argument " "4"" of type '" "SoDepthBufferElement::DepthWriteFunction &""'"); - } - arg4 = reinterpret_cast< SoDepthBufferElement::DepthWriteFunction * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDepthBufferElement_get" "', argument " "5"" of type '" "SbVec2f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDepthBufferElement_get" "', argument " "5"" of type '" "SbVec2f &""'"); - } - arg5 = reinterpret_cast< SbVec2f * >(argp5); - SoDepthBufferElement::get(arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getTestEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getTestEnable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_getTestEnable" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoDepthBufferElement::getTestEnable(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getWriteEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getWriteEnable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_getWriteEnable" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoDepthBufferElement::getWriteEnable(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDepthBufferElement::DepthWriteFunction result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_getFunction" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDepthBufferElement::DepthWriteFunction)SoDepthBufferElement::getFunction(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_getRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_getRange",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_getRange" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoDepthBufferElement::getRange(arg1); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBufferElement *arg1 = (SoDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_init" "', argument " "1"" of type '" "SoDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBufferElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBufferElement *arg1 = (SoDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_push" "', argument " "1"" of type '" "SoDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBufferElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBufferElement *arg1 = (SoDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_pop" "', argument " "1"" of type '" "SoDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBufferElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDepthBufferElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBufferElement *arg1 = (SoDepthBufferElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_matches" "', argument " "1"" of type '" "SoDepthBufferElement const *""'"); - } - arg1 = reinterpret_cast< SoDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBufferElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoDepthBufferElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBufferElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBufferElement *arg1 = (SoDepthBufferElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBufferElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBufferElement_copyMatchInfo" "', argument " "1"" of type '" "SoDepthBufferElement const *""'"); - } - arg1 = reinterpret_cast< SoDepthBufferElement * >(argp1); - result = (SoElement *)((SoDepthBufferElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDepthBufferElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDepthBufferElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLDepthBufferElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLDepthBufferElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLDepthBufferElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_initClass",0,0)) SWIG_fail; - SoGLDepthBufferElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDepthBufferElement *arg1 = (SoGLDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDepthBufferElement_init" "', argument " "1"" of type '" "SoGLDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoGLDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDepthBufferElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDepthBufferElement *arg1 = (SoGLDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDepthBufferElement_push" "', argument " "1"" of type '" "SoGLDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoGLDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDepthBufferElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDepthBufferElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDepthBufferElement *arg1 = (SoGLDepthBufferElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDepthBufferElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDepthBufferElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDepthBufferElement_pop" "', argument " "1"" of type '" "SoGLDepthBufferElement *""'"); - } - arg1 = reinterpret_cast< SoGLDepthBufferElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDepthBufferElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLDepthBufferElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLDepthBufferElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLDepthBufferElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexAttributeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoVertexAttributeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoVertexAttributeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_initClass",0,0)) SWIG_fail; - SoVertexAttributeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeElement *arg1 = (SoVertexAttributeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_init" "', argument " "1"" of type '" "SoVertexAttributeElement *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeElement *arg1 = (SoVertexAttributeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_push" "', argument " "1"" of type '" "SoVertexAttributeElement *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoVertexAttributeData *arg2 = (SoVertexAttributeData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVertexAttributeData, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeElement_add" "', argument " "2"" of type '" "SoVertexAttributeData *""'"); - } - arg2 = reinterpret_cast< SoVertexAttributeData * >(argp2); - SoVertexAttributeElement::add(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVertexAttributeElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoVertexAttributeElement *)SoVertexAttributeElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexAttributeElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_getNumAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeElement *arg1 = (SoVertexAttributeElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_getNumAttributes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_getNumAttributes" "', argument " "1"" of type '" "SoVertexAttributeElement const *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeElement * >(argp1); - result = (unsigned int)((SoVertexAttributeElement const *)arg1)->getNumAttributes(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeElement_applyToAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeElement *arg1 = (SoVertexAttributeElement *) 0 ; - SoVertexAttributeElement::AttributeApplyFunc *arg2 = (SoVertexAttributeElement::AttributeApplyFunc *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeElement_applyToAttributes",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeElement_applyToAttributes" "', argument " "1"" of type '" "SoVertexAttributeElement const *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeElement * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVertexAttributeElement_applyToAttributes" "', argument " "2"" of type '" "SoVertexAttributeElement::AttributeApplyFunc *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVertexAttributeElement_applyToAttributes" "', argument " "3"" of type '" "void *""'"); - } - ((SoVertexAttributeElement const *)arg1)->applyToAttributes(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexAttributeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexAttributeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLVertexAttributeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLVertexAttributeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLVertexAttributeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_initClass",0,0)) SWIG_fail; - SoGLVertexAttributeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVertexAttributeElement *arg1 = (SoGLVertexAttributeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVertexAttributeElement_init" "', argument " "1"" of type '" "SoGLVertexAttributeElement *""'"); - } - arg1 = reinterpret_cast< SoGLVertexAttributeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVertexAttributeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_enableVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVertexAttributeElement *arg1 = (SoGLVertexAttributeElement *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_enableVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVertexAttributeElement_enableVBO" "', argument " "1"" of type '" "SoGLVertexAttributeElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVertexAttributeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVertexAttributeElement_enableVBO" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ((SoGLVertexAttributeElement const *)arg1)->enableVBO(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_disableVBO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVertexAttributeElement *arg1 = (SoGLVertexAttributeElement *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_disableVBO",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVertexAttributeElement_disableVBO" "', argument " "1"" of type '" "SoGLVertexAttributeElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVertexAttributeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLVertexAttributeElement_disableVBO" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ((SoGLVertexAttributeElement const *)arg1)->disableVBO(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLVertexAttributeElement *arg1 = (SoGLVertexAttributeElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLVertexAttributeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVertexAttributeElement_send" "', argument " "1"" of type '" "SoGLVertexAttributeElement const *""'"); - } - arg1 = reinterpret_cast< SoGLVertexAttributeElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLVertexAttributeElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLVertexAttributeElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLVertexAttributeElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLVertexAttributeElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLVertexAttributeElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLVertexAttributeElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLVertexAttributeElement *)SoGLVertexAttributeElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLVertexAttributeElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLVertexAttributeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLVertexAttributeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexAttributeBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoVertexAttributeBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoVertexAttributeBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_initClass",0,0)) SWIG_fail; - SoVertexAttributeBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBindingElement *arg1 = (SoVertexAttributeBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBindingElement_init" "', argument " "1"" of type '" "SoVertexAttributeBindingElement *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoVertexAttributeBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVertexAttributeBindingElement_set" "', argument " "3"" of type '" "SoVertexAttributeBindingElement::Binding""'"); - } - arg3 = static_cast< SoVertexAttributeBindingElement::Binding >(val3); - SoVertexAttributeBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoVertexAttributeBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVertexAttributeBindingElement_set" "', argument " "2"" of type '" "SoVertexAttributeBindingElement::Binding""'"); - } - arg2 = static_cast< SoVertexAttributeBindingElement::Binding >(val2); - SoVertexAttributeBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVertexAttributeBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVertexAttributeBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVertexAttributeBindingElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,SoVertexAttributeBindingElement::Binding const)\n" - " SoVertexAttributeBindingElement::set(SoState *const,SoVertexAttributeBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoVertexAttributeBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoVertexAttributeBindingElement::Binding)SoVertexAttributeBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoVertexAttributeBindingElement::Binding)SoVertexAttributeBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexAttributeBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexAttributeBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSpecularColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSpecularColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSpecularColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_initClass",0,0)) SWIG_fail; - SoSpecularColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_init" "', argument " "1"" of type '" "SoSpecularColorElement *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpecularColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpecularColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSpecularColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSpecularColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoSpecularColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSpecularColorElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoSpecularColorElement *)SoSpecularColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getNum" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - result = ((SoSpecularColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_get" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpecularColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoSpecularColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getArrayPtr" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - result = (SbColor *)((SoSpecularColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpecularColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpecularColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoEmissiveColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoEmissiveColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoEmissiveColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_initClass",0,0)) SWIG_fail; - SoEmissiveColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_init" "', argument " "1"" of type '" "SoEmissiveColorElement *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEmissiveColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEmissiveColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEmissiveColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEmissiveColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoEmissiveColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEmissiveColorElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoEmissiveColorElement *)SoEmissiveColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getNum" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - result = ((SoEmissiveColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_get" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEmissiveColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoEmissiveColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getArrayPtr" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - result = (SbColor *)((SoEmissiveColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEmissiveColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEmissiveColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShininessElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShininessElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShininessElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShininessElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_initClass",0,0)) SWIG_fail; - SoShininessElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_init" "', argument " "1"" of type '" "SoShininessElement *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShininessElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - float *arg4 = (float *) (float *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShininessElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShininessElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShininessElement_set" "', argument " "4"" of type '" "float const *const""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - SoShininessElement::set(arg1,arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShininessElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShininessElement *)SoShininessElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShininessElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getNum" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - result = ((SoShininessElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_get" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShininessElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)((SoShininessElement const *)arg1)->get(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getArrayPtr" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - result = (float *)((SoShininessElement const *)arg1)->getArrayPtr(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShininessElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShininessElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTransparencyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTransparencyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTransparencyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_initClass",0,0)) SWIG_fail; - SoTransparencyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_init" "', argument " "1"" of type '" "SoTransparencyElement *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - float *arg4 = (float *) (float *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTransparencyElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTransparencyElement_set" "', argument " "4"" of type '" "float const *const""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - SoTransparencyElement::set(arg1,arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTransparencyElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTransparencyElement *)SoTransparencyElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getNum" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - result = ((SoTransparencyElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_get" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransparencyElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)((SoTransparencyElement const *)arg1)->get(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getArrayPtr" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - result = (float *)((SoTransparencyElement const *)arg1)->getArrayPtr(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransparencyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransparencyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightModelElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightModelElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightModelElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_initClass",0,0)) SWIG_fail; - SoLightModelElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModelElement *arg1 = (SoLightModelElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModelElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_init" "', argument " "1"" of type '" "SoLightModelElement *""'"); - } - arg1 = reinterpret_cast< SoLightModelElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModelElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoLightModelElement::Model arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightModelElement_set" "', argument " "2"" of type '" "SoLightModelElement::Model""'"); - } - arg2 = static_cast< SoLightModelElement::Model >(val2); - SoLightModelElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoLightModelElement::Model arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModelElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLightModelElement_set" "', argument " "3"" of type '" "SoLightModelElement::Model""'"); - } - arg3 = static_cast< SoLightModelElement::Model >(val3); - SoLightModelElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLightModelElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLightModelElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLightModelElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoLightModelElement::Model const)\n" - " SoLightModelElement::set(SoState *const,SoNode *const,SoLightModelElement::Model const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLightModelElement::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLightModelElement::Model)SoLightModelElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModelElement::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getDefault",0,0)) SWIG_fail; - result = (SoLightModelElement::Model)SoLightModelElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoLightModelElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLightModelElement *)SoLightModelElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightModelElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightModelElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightModelElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoMultiTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_init" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_setDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureCoordinateElement::setDefault(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTextureCoordinateFunctionCB *arg4 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg5 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_setFunction",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "4"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "5"" of type '" "void *const""'"); - } - SoMultiTextureCoordinateElement::setFunction(arg1,arg2,arg3,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec2f *arg5 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set2",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "5"" of type '" "SbVec2f const *const""'"); - } - arg5 = reinterpret_cast< SbVec2f * >(argp5); - SoMultiTextureCoordinateElement::set2(arg1,arg2,arg3,arg4,(SbVec2f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec3f *arg5 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set3",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "5"" of type '" "SbVec3f const *const""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - SoMultiTextureCoordinateElement::set3(arg1,arg2,arg3,arg4,(SbVec3f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec4f *arg5 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set4",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "5"" of type '" "SbVec4f const *const""'"); - } - arg5 = reinterpret_cast< SbVec4f * >(argp5); - SoMultiTextureCoordinateElement::set4(arg1,arg2,arg3,arg4,(SbVec4f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)SoMultiTextureCoordinateElement::getType(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)((SoMultiTextureCoordinateElement const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMultiTextureCoordinateElement_getType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMultiTextureCoordinateElement_getType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureCoordinateElement_getType'.\n" - " Possible C/C++ prototypes are:\n" - " getType(SoState *const,int const)\n" - " getType(SoMultiTextureCoordinateElement const *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMultiTextureCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoMultiTextureCoordinateElement *)SoMultiTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - { - SbVec4f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getNum" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoMultiTextureCoordinateElement const *)arg1)->getNum(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_is2D",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_is2D" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_is2D" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoMultiTextureCoordinateElement const *)arg1)->is2D(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getDimension",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getDimension" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getDimension" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoMultiTextureCoordinateElement const *)arg1)->getDimension(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get2",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec2f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get2(arg2,arg3); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get3",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec3f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get3(arg2,arg3); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get4",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec4f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get4(arg2,arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr2(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr3(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr4(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_push" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_matches" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureCoordinateElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - result = (SoElement *)((SoMultiTextureCoordinateElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_init" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_push" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg6 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg7 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - int res7 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res7 = SWIG_ConvertPtr(obj6,SWIG_as_voidptrptr(&arg7), 0, 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "7"" of type '" "void *const""'"); - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg6 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_3(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_2(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[5], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[5], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[6], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLMultiTextureCoordinateElement_setTexGen'.\n" - " Possible C/C++ prototypes are:\n" - " setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const,void *const)\n" - " setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const)\n" - " setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const)\n" - " SoGLMultiTextureCoordinateElement::setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureCoordinateElement::CoordType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)((SoGLMultiTextureCoordinateElement const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLMultiTextureCoordinateElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLMultiTextureCoordinateElement *)SoGLMultiTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ((SoGLMultiTextureCoordinateElement const *)arg1)->send(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_send",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ((SoGLMultiTextureCoordinateElement const *)arg1)->send(arg2,arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_send__SWIG_0(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_send__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLMultiTextureCoordinateElement_send'.\n" - " Possible C/C++ prototypes are:\n" - " send(SoGLMultiTextureCoordinateElement const *,int const,int const)\n" - " send(SoGLMultiTextureCoordinateElement const *,int const,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_initRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SbBool *arg2 = (SbBool *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_initRender",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "2"" of type '" "SbBool const *""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ((SoGLMultiTextureCoordinateElement const *)arg1)->initRender((SbBool const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoMultiTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_init" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoMultiTextureEnabledElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureEnabledElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMultiTextureEnabledElement::get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_setElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_push" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_matches" "', argument " "1"" of type '" "SoMultiTextureEnabledElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureEnabledElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureEnabledElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - result = (SoElement *)((SoMultiTextureEnabledElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getEnabledUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getEnabledUnits",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool *)SoMultiTextureEnabledElement::getEnabledUnits(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getActiveUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoMultiTextureEnabledElement::Mode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getActiveUnits",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_getActiveUnits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_getActiveUnits" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureEnabledElement_getActiveUnits" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SoMultiTextureEnabledElement::Mode *)SoMultiTextureEnabledElement::getActiveUnits(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMultiTextureEnabledElement__Mode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_enableRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_enableRectangle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_enableRectangle" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_enableRectangle" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_enableRectangle" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureEnabledElement::enableRectangle(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_enableCubeMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_enableCubeMap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_enableCubeMap" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_enableCubeMap" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_enableCubeMap" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureEnabledElement::enableCubeMap(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoMultiTextureEnabledElement::Mode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_getMode" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureEnabledElement_getMode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoMultiTextureEnabledElement::Mode)SoMultiTextureEnabledElement::getMode(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_disableAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_disableAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_disableAll" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoMultiTextureEnabledElement::disableAll(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_init" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_push" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_setElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_initClass",0,0)) SWIG_fail; - SoMultiTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_init" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureImageElement::setDefault(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbVec2s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_set" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_set" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoMultiTextureImageElement::set(arg1,arg2,arg3,(SbVec2s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbVec3s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Wrap arg9 ; - SoTextureImageElement::Model arg10 ; - SbColor *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_set",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - arg4 = reinterpret_cast< SbVec3s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_set" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_set" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg9 = static_cast< SoTextureImageElement::Wrap >(val9); - ecode10 = SWIG_AsVal_int(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SoTextureImageElement::Model""'"); - } - arg10 = static_cast< SoTextureImageElement::Model >(val10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoMultiTextureImageElement_set" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - SoMultiTextureImageElement::set(arg1,arg2,arg3,(SbVec3s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,arg10,(SbColor const &)*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[12]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 11); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 11) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_set'.\n" - " Possible C/C++ prototypes are:\n" - " set(SoState *const,SoNode *const,int const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n" - " SoMultiTextureImageElement::set(SoState *const,SoNode *const,int const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - int *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Model *arg7 = 0 ; - SbColor *arg8 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Model * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec3s *arg3 = 0 ; - int *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Wrap *arg7 = 0 ; - SoTextureImageElement::Model *arg8 = 0 ; - SbColor *arg9 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_get",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SoTextureImageElement::Model &""'"); - } - arg8 = reinterpret_cast< SoTextureImageElement::Model * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoMultiTextureImageElement_get" "', argument " "9"" of type '" "SbColor &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "9"" of type '" "SbColor &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - result = (unsigned char *)SoMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8,*arg9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[10]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 9); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_get__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_get__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_get'.\n" - " Possible C/C++ prototypes are:\n" - " get(SoState *const,int const,SbVec2s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n" - " SoMultiTextureImageElement::get(SoState *const,int const,SbVec3s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - int *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getImage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - result = (unsigned char *)SoMultiTextureImageElement::getImage(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec3s *arg3 = 0 ; - int *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getImage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - result = (unsigned char *)SoMultiTextureImageElement::getImage(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getImage__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getImage__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_getImage'.\n" - " Possible C/C++ prototypes are:\n" - " getImage(SoState *const,int const,SbVec2s &,int &)\n" - " SoMultiTextureImageElement::getImage(SoState *const,int const,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getBlendColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getBlendColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getBlendColor" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoMultiTextureImageElement::getBlendColor(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureImageElement::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getModel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Model)SoMultiTextureImageElement::getModel(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapS" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapS" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapS(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapT",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapT" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapT" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapT(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTextureImageElement::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapR",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapR" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapR" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapR(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_containsTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_containsTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_containsTransparency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoMultiTextureImageElement::containsTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoMultiTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoMultiTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_getDefault'.\n" - " Possible C/C++ prototypes are:\n" - " getDefault(SbVec2s &,int &)\n" - " SoMultiTextureImageElement::getDefault(SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_push" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_matches" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureImageElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - result = (SoElement *)((SoMultiTextureImageElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SbVec2s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setElt",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - (arg1)->setElt(arg2,arg3,(SbVec2s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SbVec3s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Wrap arg9 ; - SoTextureImageElement::Model arg10 ; - SbColor *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setElt",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - arg4 = reinterpret_cast< SbVec3s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "9"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg9 = static_cast< SoTextureImageElement::Wrap >(val9); - ecode10 = SWIG_AsVal_int(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SoTextureImageElement::Model""'"); - } - arg10 = static_cast< SoTextureImageElement::Model >(val10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - (arg1)->setElt(arg2,arg3,(SbVec3s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,arg10,(SbColor const &)*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[12]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 11); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureImageElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_setElt__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 11) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureImageElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_setElt__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_setElt'.\n" - " Possible C/C++ prototypes are:\n" - " setElt(SoMultiTextureImageElement *,int const,uint32_t const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n" - " setElt(SoMultiTextureImageElement *,int const,uint32_t const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_hasTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_hasTransparency" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_hasTransparency" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoMultiTextureImageElement const *)arg1)->hasTransparency(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_init" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_push" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoGLImage *arg4 = (SoGLImage *) 0 ; - SoTextureImageElement::Model arg5 ; - SbColor *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_set",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "4"" of type '" "SoGLImage *""'"); - } - arg4 = reinterpret_cast< SoGLImage * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "5"" of type '" "SoTextureImageElement::Model""'"); - } - arg5 = static_cast< SoTextureImageElement::Model >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "6"" of type '" "SbColor const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_set" "', argument " "6"" of type '" "SbColor const &""'"); - } - arg6 = reinterpret_cast< SbColor * >(argp6); - SoGLMultiTextureImageElement::set(arg1,arg2,arg3,arg4,arg5,(SbColor const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_restore",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_restore" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureImageElement_restore" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLMultiTextureImageElement::restore(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoTextureImageElement::Model *arg3 = 0 ; - SbColor *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoGLImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "3"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_get" "', argument " "3"" of type '" "SoTextureImageElement::Model &""'"); - } - arg3 = reinterpret_cast< SoTextureImageElement::Model * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "4"" of type '" "SbColor &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_get" "', argument " "4"" of type '" "SbColor &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - result = (SoGLImage *)SoGLMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_hasTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLMultiTextureImageElement::hasTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoMultiTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureMatrixElement *arg1 = (SoMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_init" "', argument " "1"" of type '" "SoMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureMatrixElement *arg1 = (SoMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_push" "', argument " "1"" of type '" "SoMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbMatrix *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - { - arg4 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureMatrixElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureMatrixElement::set(arg1,arg2,arg3,(SbMatrix const &)*arg4); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg4, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbMatrix *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - { - arg4 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_mult",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureMatrixElement::mult(arg1,arg2,arg3,(SbMatrix const &)*arg4); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg4, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureMatrixElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoMultiTextureMatrixElement::get(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_init" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_push" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_multElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_multElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_multElt" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureMatrixElement_multElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->multElt(arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_setElt" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureMatrixElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setElt(arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",0,0)) SWIG_fail; - result = (SbColor4f *)new SbColor4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbColor const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbColor const &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbColor4f *)new SbColor4f((SbColor const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbColor4f *)new SbColor4f((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) (float *)0 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbColor4f *)new SbColor4f((float const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbColor4f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbColor4f *)new SbColor4f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbColor4f *)new SbColor4f(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbColor4f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbColor4f__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_5(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_4(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbColor4f'.\n" - " Possible C/C++ prototypes are:\n" - " SbColor4f()\n" - " SbColor4f(SbColor const &,float const)\n" - " SbColor4f(SbVec4f const &)\n" - " SbColor4f(float const *const)\n" - " SbColor4f(float const,float const,float const,float const)\n" - " SbColor4f(float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbColor4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor4f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbColor4f *,float const,float const,float const,float const)\n" - " setValue(SbColor4f *,float const,float const,float const)\n" - " setValue(SbColor4f *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - float temp5 ; - int res5 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - arg5 = &temp5; - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - (arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res5)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5))); - } else { - int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setRGB" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f_setRGB" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f_setRGB" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - { - SbColor4f &_result_ref = (arg1)->setRGB((SbColor const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getRGB" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f_getRGB" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f_getRGB" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->getRGB(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbColor4f_setHSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbColor4f &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4,arg5); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbColor4f &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbColor4f &_result_ref = (arg1)->setHSVValue((float const (*))arg2,arg3); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbColor4f &_result_ref = (arg1)->setHSVValue((float const (*))arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor4f_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SbColor4f *,float,float,float,float)\n" - " setHSVValue(SbColor4f *,float,float,float)\n" - " setHSVValue(SbColor4f *,float const [3],float)\n" - " setHSVValue(SbColor4f *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getHSVValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getHSVValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getHSVValue" "', argument " "1"" of type '" "SbColor4f const *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ((SbColor4f const *)arg1)->getHSVValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setPackedValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setPackedValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setPackedValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - { - SbColor4f &_result_ref = (arg1)->setPackedValue(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getPackedValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getPackedValue" "', argument " "1"" of type '" "SbColor4f const *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - result = ((SbColor4f const *)arg1)->getPackedValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___imul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbColor4f &_result_ref = (arg1)->operator *=(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___idiv__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbColor4f &_result_ref = (arg1)->operator /=(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___iadd__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___iadd__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___iadd__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - { - SbColor4f &_result_ref = (arg1)->operator +=((SbColor4f const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___isub__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___isub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___isub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - { - SbColor4f &_result_ref = (arg1)->operator -=((SbColor4f const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___add__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___add__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___add__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = SbColor4f___add__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___sub__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___sub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___sub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = SbColor4f___sub__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___mul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___rmul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___div__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___eq__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___eq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___eq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = (int)SbColor4f___eq__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___nq__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___nq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___nq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = (int)SbColor4f___nq__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___getitem__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbColor4f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbColor4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbColor4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbColor4f" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbColor4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbColor4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCombineElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCombineElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCombineElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_initClass",0,0)) SWIG_fail; - SoTextureCombineElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_init" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTextureCombineElement::Operation arg4 ; - SoTextureCombineElement::Operation arg5 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg7 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg9 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg10 = 0 ; - float arg11 ; - float arg12 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_set",12,12,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCombineElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCombineElement_set" "', argument " "4"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg4 = static_cast< SoTextureCombineElement::Operation >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoTextureCombineElement_set" "', argument " "5"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg5 = static_cast< SoTextureCombineElement::Operation >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_set" "', argument " "6"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_set" "', argument " "7"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Source * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_set" "', argument " "8"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_set" "', argument " "9"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg9 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_set" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_set" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - arg10 = reinterpret_cast< SbColor4f * >(argp10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoTextureCombineElement_set" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoTextureCombineElement_set" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - SoTextureCombineElement::set(arg1,arg2,arg3,arg4,arg5,(enum SoTextureCombineElement::Source const *)arg6,(enum SoTextureCombineElement::Source const *)arg7,(enum SoTextureCombineElement::Operand const *)arg8,(enum SoTextureCombineElement::Operand const *)arg9,(SbColor4f const &)*arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_isDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_isDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_isDefault" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoTextureCombineElement::isDefault(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureCombineElement::Operation *arg3 = 0 ; - SoTextureCombineElement::Operation *arg4 = 0 ; - SoTextureCombineElement::Source *arg5 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg7 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg9 = 0 ; - float *arg10 = 0 ; - float *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_get",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoTextureCombineElement__Operation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCombineElement_get" "', argument " "3"" of type '" "SoTextureCombineElement::Operation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "3"" of type '" "SoTextureCombineElement::Operation &""'"); - } - arg3 = reinterpret_cast< SoTextureCombineElement::Operation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureCombineElement__Operation, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCombineElement_get" "', argument " "4"" of type '" "SoTextureCombineElement::Operation &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "4"" of type '" "SoTextureCombineElement::Operation &""'"); - } - arg4 = reinterpret_cast< SoTextureCombineElement::Operation * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureCombineElement_get" "', argument " "5"" of type '" "SoTextureCombineElement::Source *""'"); - } - arg5 = reinterpret_cast< SoTextureCombineElement::Source * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_get" "', argument " "6"" of type '" "SoTextureCombineElement::Source *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_get" "', argument " "7"" of type '" "SoTextureCombineElement::Operand *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_get" "', argument " "8"" of type '" "SoTextureCombineElement::Operand *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor4f, 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_get" "', argument " "9"" of type '" "SbColor4f &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "9"" of type '" "SbColor4f &""'"); - } - arg9 = reinterpret_cast< SbColor4f * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_get" "', argument " "10"" of type '" "float &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "10"" of type '" "float &""'"); - } - arg10 = reinterpret_cast< float * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoTextureCombineElement_get" "', argument " "11"" of type '" "float &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "11"" of type '" "float &""'"); - } - arg11 = reinterpret_cast< float * >(argp11); - SoTextureCombineElement::get(arg1,arg2,*arg3,*arg4,arg5,arg6,arg7,arg8,*arg9,*arg10,*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_push" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_matches" "', argument " "1"" of type '" "SoTextureCombineElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoTextureCombineElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_copyMatchInfo" "', argument " "1"" of type '" "SoTextureCombineElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - result = (SoElement *)((SoTextureCombineElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SoTextureCombineElement::Operation arg4 ; - SoTextureCombineElement::Operation arg5 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg7 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg9 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg10 = 0 ; - float arg11 ; - float arg12 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_setElt",12,12,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_setElt" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCombineElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCombineElement_setElt" "', argument " "4"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg4 = static_cast< SoTextureCombineElement::Operation >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoTextureCombineElement_setElt" "', argument " "5"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg5 = static_cast< SoTextureCombineElement::Operation >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_setElt" "', argument " "6"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_setElt" "', argument " "7"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Source * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_setElt" "', argument " "8"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_setElt" "', argument " "9"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg9 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_setElt" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_setElt" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - arg10 = reinterpret_cast< SbColor4f * >(argp10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoTextureCombineElement_setElt" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoTextureCombineElement_setElt" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - (arg1)->setElt(arg2,arg3,arg4,arg5,(SoTextureCombineElement::Source const *)arg6,(SoTextureCombineElement::Source const *)arg7,(SoTextureCombineElement::Operand const *)arg8,(SoTextureCombineElement::Operand const *)arg9,(SbColor4f const &)*arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_apply" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_apply" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoTextureCombineElement::apply(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCombineElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCombineElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureUnitElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureUnitElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureUnitElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_initClass",0,0)) SWIG_fail; - SoTextureUnitElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnitElement *arg1 = (SoTextureUnitElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnitElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_init" "', argument " "1"" of type '" "SoTextureUnitElement *""'"); - } - arg1 = reinterpret_cast< SoTextureUnitElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnitElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnitElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureUnitElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoTextureUnitElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoTextureUnitElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureUnitElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureUnitElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_initClass",0,0)) SWIG_fail; - SoEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_initClasses",0,0)) SWIG_fail; - SoEngine::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_evaluateWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_evaluateWrapper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_evaluateWrapper" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - (arg1)->evaluateWrapper(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngineOutputList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputs" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineOutputList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - arg2 = reinterpret_cast< SoEngineOutputList * >(argp2); - result = (int)((SoEngine const *)arg1)->getOutputs(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutput" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoEngineOutput *)((SoEngine const *)arg1)->getOutput((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputName" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getOutputName" "', argument " "2"" of type '" "SoEngineOutput const *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoEngine const *)arg1)->getOutputName((SoEngineOutput const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputData" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoEngineOutputData *)((SoEngine const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoEngine *)SoEngine::getByName((SbName const &)*arg1); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoEngineList *arg2 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getByName" "', argument " "2"" of type '" "SoEngineList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngine_getByName" "', argument " "2"" of type '" "SoEngineList &""'"); - } - arg2 = reinterpret_cast< SoEngineList * >(argp2); - result = (int)SoEngine::getByName((SbName const &)*arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoEngine_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngine_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngine_getByName'.\n" - " Possible C/C++ prototypes are:\n" - " getByName(SbName const &)\n" - " SoEngine::getByName(SbName const &,SoEngineList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_isNotifying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_isNotifying" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SbBool)((SoEngine const *)arg1)->isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_notify" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_copy" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoEngine *)((SoEngine const *)arg1)->copy(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_copyThroughConnection" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoFieldContainer *)((SoEngine const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_shouldCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_shouldCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_shouldCopy" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SbBool)((SoEngine const *)arg1)->shouldCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_writeInstance" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutput",0,0)) SWIG_fail; - result = (SoEngineOutput *)new SoEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutput" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getConnectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getConnectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getConnectionType" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = ((SoEngineOutput const *)arg1)->getConnectionType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getForwardConnections" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutput_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoEngineOutput const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_enable",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_enable" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutput_enable" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enable(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_isEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_isEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_isEnabled" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SbBool)((SoEngineOutput const *)arg1)->isEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getContainer" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoEngine *)((SoEngineOutput const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getNodeContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodeEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getNodeContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getNodeContainer" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoNodeEngine *)((SoEngineOutput const *)arg1)->getNodeContainer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_isNodeEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_isNodeEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_isNodeEngineOutput" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SbBool)((SoEngineOutput const *)arg1)->isNodeEngineOutput(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_setContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_setContainer" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_setNodeContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_setNodeContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_setNodeContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_setNodeContainer" "', argument " "2"" of type '" "SoNodeEngine *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - (arg1)->setNodeContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_addConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_addConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_addConnection" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_addConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->addConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_removeConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_removeConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_removeConnection" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_removeConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->removeConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getNumConnections" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (int)((SoEngineOutput const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_prepareToWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_prepareToWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_prepareToWrite" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ((SoEngineOutput const *)arg1)->prepareToWrite(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_doneWriting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_doneWriting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_doneWriting" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ((SoEngineOutput const *)arg1)->doneWriting(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_touchSlaves(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_touchSlaves",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_touchSlaves" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_touchSlaves" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutput_touchSlaves" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->touchSlaves(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getFieldContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getFieldContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getFieldContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoFieldContainer *)(arg1)->getFieldContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",0,0)) SWIG_fail; - result = (SoEngineOutputData *)new SoEngineOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineOutputData" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - result = (SoEngineOutputData *)new SoEngineOutputData((SoEngineOutputData const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineOutputData" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineOutputData *)new SoEngineOutputData(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineOutputData__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineOutputData__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineOutputData__SWIG_2(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineOutputData'.\n" - " Possible C/C++ prototypes are:\n" - " SoEngineOutputData()\n" - " SoEngineOutputData(SoEngineOutputData const *)\n" - " SoEngineOutputData(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutputData" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - char *arg3 = (char *) 0 ; - SoEngineOutput *arg4 = (SoEngineOutput *) 0 ; - SoType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_addOutput",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_addOutput" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_addOutput" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_addOutput" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEngineOutputData_addOutput" "', argument " "4"" of type '" "SoEngineOutput const *""'"); - } - arg4 = reinterpret_cast< SoEngineOutput * >(argp4); - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->addOutput((SoEngine const *)arg2,(char const *)arg3,(SoEngineOutput const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - char *arg3 = (char *) 0 ; - SoEngineOutput *arg4 = (SoEngineOutput *) 0 ; - SoType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_addOutput",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_addOutput" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_addOutput" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_addOutput" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEngineOutputData_addOutput" "', argument " "4"" of type '" "SoEngineOutput const *""'"); - } - arg4 = reinterpret_cast< SoEngineOutput * >(argp4); - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->addOutput((SoNodeEngine const *)arg2,(char const *)arg3,(SoEngineOutput const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_addOutput__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_addOutput__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_addOutput'.\n" - " Possible C/C++ prototypes are:\n" - " addOutput(SoEngineOutputData *,SoEngine const *,char const *,SoEngineOutput const *,SoType)\n" - " addOutput(SoEngineOutputData *,SoNodeEngine const *,char const *,SoEngineOutput const *,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getNumOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getNumOutputs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getNumOutputs" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - result = (int)((SoEngineOutputData const *)arg1)->getNumOutputs(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutputName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutputName" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputData_getOutputName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoEngineOutputData const *)arg1)->getOutputName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutput",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutput" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getOutput" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputData_getOutput" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngineOutput *)((SoEngineOutputData const *)arg1)->getOutput((SoEngine const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutput",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutput" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getOutput" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputData_getOutput" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngineOutput *)((SoEngineOutputData const *)arg1)->getOutput((SoNodeEngine const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEngineOutputData_getOutput__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEngineOutputData_getOutput__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_getOutput'.\n" - " Possible C/C++ prototypes are:\n" - " getOutput(SoEngineOutputData const *,SoEngine const *,int)\n" - " getOutput(SoEngineOutputData const *,SoNodeEngine const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getIndex" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getIndex" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_getIndex" "', argument " "3"" of type '" "SoEngineOutput const *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - result = (int)((SoEngineOutputData const *)arg1)->getIndex((SoEngine const *)arg2,(SoEngineOutput const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getIndex" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getIndex" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_getIndex" "', argument " "3"" of type '" "SoEngineOutput const *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - result = (int)((SoEngineOutputData const *)arg1)->getIndex((SoNodeEngine const *)arg2,(SoEngineOutput const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_getIndex__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_getIndex__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_getIndex'.\n" - " Possible C/C++ prototypes are:\n" - " getIndex(SoEngineOutputData const *,SoEngine const *,SoEngineOutput const *)\n" - " getIndex(SoEngineOutputData const *,SoNodeEngine const *,SoEngineOutput const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getType" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputData_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoType const &_result_ref = ((SoEngineOutputData const *)arg1)->getType(arg2); - result = (SoType *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_readDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_readDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - result = (SbBool)((SoEngineOutputData const *)arg1)->readDescriptions(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_writeDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_writeDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - ((SoEngineOutputData const *)arg1)->writeDescriptions(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutputData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutputData, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFBool",0,0)) SWIG_fail; - result = (SoMFBool *)new SoMFBool(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFBool",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFBool" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFBool::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getClassTypeId",0,0)) SWIG_fail; - result = SoMFBool::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getTypeId" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = ((SoMFBool const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_copyFrom" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_isSame" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_find" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_find" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_find" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_find" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFBool *,SbBool,SbBool)\n" - " find(SoMFBool *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - int arg3 ; - SbBool *arg4 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - SbBool *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbBool const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_set1Value" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_set1Value" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValue" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___eq__" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool___eq__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool___eq__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->operator ==((SoMFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___ne__" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool___ne__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool___ne__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->operator !=((SoMFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_startEditing" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = (SbBool *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_finishEditing" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool *arg3 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - SbBool *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValuesPointer" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(SbBool const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool *arg3 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - SbBool *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValuesPointer" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFBool *,int const,SbBool const *)\n" - " setValuesPointer(SoMFBool *,int const,SbBool *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_initClass",0,0)) SWIG_fail; - SoMFBool::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValue" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_setValue" "', argument " "2"" of type '" "SoMFBool const *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - SoMFBool_setValue__SWIG_1(arg1,(SoMFBool const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFBool *,SbBool)\n" - " setValue(SoMFBool *,SoMFBool const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___getitem__" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMFBool___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___setitem__" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool___setitem__" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoMFBool___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool *)SoMFBool___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbBool *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = (SbBool *)SoMFBool___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFBool *,int &,int)\n" - " __getValuesHelper__(SoMFBool *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFBool_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFBool, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFEnum",0,0)) SWIG_fail; - result = (SoMFEnum *)new SoMFEnum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFEnum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFEnum" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFEnum::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getClassTypeId",0,0)) SWIG_fail; - result = SoMFEnum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getTypeId" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = ((SoMFEnum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_copyFrom" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_isSame" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_find" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_find" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFEnum *,int,SbBool)\n" - " find(SoMFEnum *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - int *arg4 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int*)malloc(len*sizeof(int)); - convert_SoMFEnum_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_set1Value" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_set1Value" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___eq__" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum___eq__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum___eq__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->operator ==((SoMFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___ne__" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum___ne__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum___ne__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->operator !=((SoMFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_startEditing" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_finishEditing" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_initClass",0,0)) SWIG_fail; - SoMFEnum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbName arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_set1Value" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = SbName(PyString_AsString(obj2)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj2, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg3 = *namePtr; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFEnum_set1Value__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFEnum *,int const,int)\n" - " set1Value(SoMFEnum *,int const,SbName const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int *arg3 = (int *) (int *)0 ; - SbName *arg4 = (SbName *) (SbName *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setEnums",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setEnums" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setEnums" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEnum_setEnums" "', argument " "3"" of type '" "int const *const""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFEnum_setEnums" "', argument " "4"" of type '" "SbName const *const""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setEnums(arg2,(int const *)arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getNumEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getNumEnums",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getNumEnums" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int)((SoMFEnum const *)arg1)->getNumEnums(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getEnum",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getEnum" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_getEnum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (int)((SoMFEnum const *)arg1)->getEnum(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___getitem__" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SoMFEnum___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___setitem__" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum___setitem__" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMFEnum___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_setValue" "', argument " "2"" of type '" "SoMFEnum const *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - SoMFEnum_setValue__SWIG_2(arg1,(SoMFEnum const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFEnum *,int)\n" - " setValue(SoMFEnum *,SbName const)\n" - " setValue(SoMFEnum *,SoMFEnum const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int *)SoMFEnum___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int *)SoMFEnum___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEnum_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFEnum *,int &,int)\n" - " __getValuesHelper__(SoMFEnum *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFEnum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFEnum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getClassTypeId",0,0)) SWIG_fail; - result = SoBoolOperation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getTypeId" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = ((SoBoolOperation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getFieldData" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoFieldData *)((SoBoolOperation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getOutputData" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutputData *)((SoBoolOperation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_createInstance",0,0)) SWIG_fail; - result = (void *)SoBoolOperation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_a_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_a_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_a_set" "', argument " "2"" of type '" "SoMFBool *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - if (arg1) (arg1)->a = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_a_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_a_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFBool *)& ((arg1)->a); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_b_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_b_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_b_set" "', argument " "2"" of type '" "SoMFBool *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - if (arg1) (arg1)->b = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_b_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_b_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFBool *)& ((arg1)->b); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_operation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_operation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_operation_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_operation_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->operation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_operation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_operation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_operation_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFEnum *)& ((arg1)->operation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_output_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_output_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_inverse_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_inverse_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_inverse_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_inverse_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->inverse = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_inverse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_inverse_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_inverse_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->inverse); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoolOperation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoolOperation",0,0)) SWIG_fail; - result = (SoBoolOperation *)new SoBoolOperation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoolOperation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_initClass",0,0)) SWIG_fail; - SoBoolOperation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoolOperation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoolOperation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFFloat",0,0)) SWIG_fail; - result = (SoMFFloat *)new SoMFFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFFloat",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFFloat" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoMFFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getTypeId" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = ((SoMFFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_copyFrom" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_isSame" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_find" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_find" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_find" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_find" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFFloat *,float,SbBool)\n" - " find(SoMFFloat *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - int arg3 ; - float *arg4 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_set1Value" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValue" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___eq__" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat___eq__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat___eq__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->operator ==((SoMFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___ne__" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat___ne__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat___ne__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->operator !=((SoMFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_startEditing" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = (float *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_finishEditing" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValuesPointer" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValuesPointer" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFFloat *,int const,float const *)\n" - " setValuesPointer(SoMFFloat *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_initClass",0,0)) SWIG_fail; - SoMFFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___getitem__" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SoMFFloat___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___setitem__" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoMFFloat___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValue" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_setValue" "', argument " "2"" of type '" "SoMFFloat const *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - SoMFFloat_setValue__SWIG_1(arg1,(SoMFFloat const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFFloat *,float)\n" - " setValue(SoMFFloat *,SoMFFloat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - float *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (float *)SoMFFloat___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyFloat_FromDouble((double)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = (float *)SoMFFloat___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyFloat_FromDouble((double)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFFloat *,int &,int)\n" - " __getValuesHelper__(SoMFFloat *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3f",0,0)) SWIG_fail; - result = (SoMFVec3f *)new SoMFVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3f" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getTypeId" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = ((SoMFVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_copyFrom" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_isSame" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_find" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_find" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->find((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec3f *,SbVec3f const &,SbBool)\n" - " find(SoMFVec3f *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - int arg3 ; - SbVec3f *arg4 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec3f[len]; - for (int i = 0; i < len; i++) { - SbVec3f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec3f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___eq__" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f___eq__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___eq__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->operator ==((SoMFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___ne__" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f___ne__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___ne__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->operator !=((SoMFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_startEditing" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = (SbVec3f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_finishEditing" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "3"" of type '" "SbVec3f const *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "3"" of type '" "SbVec3f *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec3f *,int const,SbVec3f const *)\n" - " setValuesPointer(SoMFVec3f *,int const,SbVec3f *)\n" - " setValuesPointer(SoMFVec3f *,int const,float const *)\n" - " setValuesPointer(SoMFVec3f *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_initClass",0,0)) SWIG_fail; - SoMFVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3f, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec3f *,int const,int const,SbVec3f const *)\n" - " setValues(SoMFVec3f *,int,int,float const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3f_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec3f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec3f *,int const,SbVec3f const &)\n" - " set1Value(SoMFVec3f *,int,float,float,float)\n" - " set1Value(SoMFVec3f *,int,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___getitem__" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = SoMFVec3f___getitem__(arg1,arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___setitem__" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f___setitem__" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___setitem__" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoMFVec3f___setitem__(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SoMFVec3f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - SoMFVec3f_setValue__SWIG_3(arg1,(SoMFVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec3f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec3f *,SbVec3f const &)\n" - " setValue(SoMFVec3f *,float,float,float)\n" - " setValue(SoMFVec3f *,float const [3])\n" - " setValue(SoMFVec3f *,SoMFVec3f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec3f *)SoMFVec3f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3f * Vec3fPtr = new SbVec3f(result[i]); - PyObject * obj = SWIG_NewPointerObj(Vec3fPtr, SWIGTYPE_p_SbVec3f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = (SbVec3f *)SoMFVec3f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3f * Vec3fPtr = new SbVec3f(result[i]); - PyObject * obj = SWIG_NewPointerObj(Vec3fPtr, SWIGTYPE_p_SbVec3f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFVec3f *,int &,int)\n" - " __getValuesHelper__(SoMFVec3f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFString",0,0)) SWIG_fail; - result = (SoMFString *)new SoMFString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFString" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFString::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getClassTypeId",0,0)) SWIG_fail; - result = SoMFString::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getTypeId" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = ((SoMFString const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_copyFrom" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_isSame" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_find" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbString const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_find" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFString_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFString_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFString *,SbString const &,SbBool)\n" - " find(SoMFString *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - SbString *arg4 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFString_setValues" "', argument " "4"" of type '" "SbString const *""'"); - } - arg4 = reinterpret_cast< SbString * >(argp4); - (arg1)->setValues(arg2,arg3,(SbString const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - SbString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_set1Value" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbString const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___eq__" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString___eq__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString___eq__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->operator ==((SoMFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___ne__" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString___ne__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString___ne__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->operator !=((SoMFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_startEditing" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = (SbString *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_finishEditing" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_initClass",0,0)) SWIG_fail; - SoMFString::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - char **arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (char **)malloc(len * sizeof(char *)); - for (int i = 0; i < len; i++) { - PyObject * item = PyObject_Str(PySequence_GetItem(obj3,i)); - arg4[i] = PyString_AsString(item); - Py_DECREF(item); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(char const *(*))arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFString_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFString *,int const,int const,SbString const *)\n" - " setValues(SoMFString *,int const,int const,char const *[])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_deleteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_deleteText",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_deleteText" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_deleteText" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_deleteText" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFString_deleteText" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFString_deleteText" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - (arg1)->deleteText(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___getitem__" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbString const &_result_ref = SoMFString___getitem__(arg1,arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - SbString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___setitem__" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - SoMFString___setitem__(arg1,arg2,(SbString const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_setValue" "', argument " "2"" of type '" "SoMFString const *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - SoMFString_setValue__SWIG_2(arg1,(SoMFString const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFString_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFString *,SbString const &)\n" - " setValue(SoMFString *,char const *)\n" - " setValue(SoMFString *,SoMFString const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)SoMFString___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = (SbString *)SoMFString___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFString_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFString *,int &,int)\n" - " __getValuesHelper__(SoMFString *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCalculator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getClassTypeId",0,0)) SWIG_fail; - result = SoCalculator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getTypeId" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = ((SoCalculator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getFieldData" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoFieldData *)((SoCalculator const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getOutputData" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutputData *)((SoCalculator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_createInstance",0,0)) SWIG_fail; - result = (void *)SoCalculator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_a_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_a_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_a_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->a = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_a_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_a_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->a); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_b_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_b_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_b_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->b = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_b_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_b_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->b); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_c_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_c_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_c_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_c_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->c = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_c_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_c_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_c_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->c); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_d_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_d_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_d_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_d_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->d = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_d_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_d_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_d_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->d); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_e_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_e_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_e_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_e_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->e = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_e_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_e_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_e_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->e); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_f_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_f_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_f_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_f_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->f = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_f_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_f_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_f_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->f); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_g_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_g_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_g_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_g_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->g = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_g_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_g_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_g_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->g); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_h_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_h_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_h_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_h_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->h = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_h_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_h_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_h_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->h); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_A_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_A_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_A_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_A_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->A = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_A_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_A_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_A_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->A); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_B_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_B_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_B_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_B_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->B = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_B_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_B_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_B_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->B); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_C_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_C_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_C_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_C_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->C = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_C_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_C_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_C_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->C); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_D_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_D_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_D_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_D_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->D = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_D_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_D_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_D_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->D); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_E_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_E_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_E_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_E_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->E = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_E_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_E_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_E_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->E); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_F_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_F_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_F_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_F_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->F = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_F_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_F_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_F_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->F); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_G_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_G_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_G_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_G_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->G = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_G_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_G_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_G_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->G); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_H_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_H_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_H_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_H_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->H = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_H_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_H_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_H_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->H); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_expression_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_expression_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_expression_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_expression_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->expression = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_expression_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_expression_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_expression_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFString *)& ((arg1)->expression); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oa_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oa_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oa_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oa_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oa = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oa_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oa_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oa_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oa); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_ob_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_ob_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_ob_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_ob_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->ob = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_ob_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_ob_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_ob_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->ob); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oc_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oc_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oc = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oc_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oc); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_od_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_od_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_od_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_od_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->od = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_od_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_od_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_od_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->od); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oA_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oA_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oA = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oA_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oB_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oB_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oB_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oB_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oB = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oB_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oB_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oB_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oB); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oC_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oC_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oC_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oC_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oC = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oC_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oC_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oC_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oC); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oD_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oD_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oD_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oD_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oD = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oD_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oD_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oD_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oD); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCalculator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCalculator",0,0)) SWIG_fail; - result = (SoCalculator *)new SoCalculator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCalculator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_initClass",0,0)) SWIG_fail; - SoCalculator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCalculator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCalculator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2f",0,0)) SWIG_fail; - result = (SoMFVec2f *)new SoMFVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2f" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getTypeId" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = ((SoMFVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_copyFrom" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_isSame" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_find" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_find" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)(arg1)->find((SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec2f *,SbVec2f const &,SbBool)\n" - " find(SoMFVec2f *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - int arg3 ; - SbVec2f *arg4 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec2f[len]; - for (int i = 0; i < len; i++) { - SbVec2f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec2f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->set1Value(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setValue((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___eq__" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f___eq__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___eq__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->operator ==((SoMFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___ne__" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f___ne__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___ne__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->operator !=((SoMFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_startEditing" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = (SbVec2f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_finishEditing" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "3"" of type '" "SbVec2f const *""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "3"" of type '" "SbVec2f *""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec2f *,int const,SbVec2f const *)\n" - " setValuesPointer(SoMFVec2f *,int const,SbVec2f *)\n" - " setValuesPointer(SoMFVec2f *,int const,float const *)\n" - " setValuesPointer(SoMFVec2f *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_initClass",0,0)) SWIG_fail; - SoMFVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float (*)[2]) malloc(len*2*sizeof(float)); - convert_SoMFVec2f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - { - if(arg4) delete[] arg4; - } - return resultobj; -fail: - { - if(arg4) delete[] arg4; - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec2f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec2f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec2f, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec2f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec2f *,int const,int const,SbVec2f const *)\n" - " setValues(SoMFVec2f *,int,int,float const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec2f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec2f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec2f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec2f *,int const,SbVec2f const &)\n" - " set1Value(SoMFVec2f *,int,float,float)\n" - " set1Value(SoMFVec2f *,int,float const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___getitem__" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = SoMFVec2f___getitem__(arg1,arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___setitem__" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f___setitem__" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___setitem__" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - SoMFVec2f___setitem__(arg1,arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SoMFVec2f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - SoMFVec2f_setValue__SWIG_3(arg1,(SoMFVec2f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec2f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec2f *,SbVec2f const &)\n" - " setValue(SoMFVec2f *,float,float)\n" - " setValue(SoMFVec2f *,float const [2])\n" - " setValue(SoMFVec2f *,SoMFVec2f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec2f *)SoMFVec2f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec2f * Vec2fPtr = new SbVec2f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec2fPtr, SWIGTYPE_p_SbVec2f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = (SbVec2f *)SoMFVec2f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec2f * Vec2fPtr = new SbVec2f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec2fPtr, SWIGTYPE_p_SbVec2f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFVec2f *,int &,int)\n" - " __getValuesHelper__(SoMFVec2f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getTypeId" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = ((SoComposeVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getFieldData" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoFieldData *)((SoComposeVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getOutputData" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec2f",0,0)) SWIG_fail; - result = (SoComposeVec2f *)new SoComposeVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_initClass",0,0)) SWIG_fail; - SoComposeVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_x_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_x_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_y_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_y_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_vector_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_vector_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getTypeId" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = ((SoComposeVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getFieldData" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoFieldData *)((SoComposeVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getOutputData" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec3f",0,0)) SWIG_fail; - result = (SoComposeVec3f *)new SoComposeVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_initClass",0,0)) SWIG_fail; - SoComposeVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_x_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_x_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_y_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_y_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_z_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_z_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->z = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_z_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_vector_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_vector_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4f",0,0)) SWIG_fail; - result = (SoMFVec4f *)new SoMFVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4f" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getTypeId" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = ((SoMFVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_copyFrom" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_isSame" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_find" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_find" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)(arg1)->find((SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4f *,SbVec4f const &,SbBool)\n" - " find(SoMFVec4f *,SbVec4f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - int arg3 ; - SbVec4f *arg4 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec4f[len]; - for (int i = 0; i < len; i++) { - SbVec4f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec4f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->set1Value(arg2,(SbVec4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___eq__" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f___eq__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___eq__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->operator ==((SoMFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___ne__" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f___ne__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___ne__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->operator !=((SoMFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_startEditing" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = (SbVec4f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_finishEditing" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "3"" of type '" "SbVec4f const *""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "3"" of type '" "SbVec4f *""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4f *,int const,SbVec4f const *)\n" - " setValuesPointer(SoMFVec4f *,int const,SbVec4f *)\n" - " setValuesPointer(SoMFVec4f *,int const,float const *)\n" - " setValuesPointer(SoMFVec4f *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_initClass",0,0)) SWIG_fail; - SoMFVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float(*)[4])malloc(len*4*sizeof(float)); - convert_SoMFVec4f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } else { - PyObject * obj = PySequence_GetItem(argv[3],0); - void *ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec4f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec4f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = 0; - if (PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ) { - PyObject * obj = PySequence_GetItem(argv[3],0); - void *ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec4f, 0) == -1) { - _v = 1; - } - Py_DECREF(obj); - } - } - if (_v) { - return _wrap_SoMFVec4f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4f *,int const,int const,SbVec4f const *)\n" - " setValues(SoMFVec4f *,int,int,float const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4f_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4f_set1Value" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec4f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4f *,int const,SbVec4f const &)\n" - " set1Value(SoMFVec4f *,int,float,float,float,float)\n" - " set1Value(SoMFVec4f *,int,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___getitem__" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = SoMFVec4f___getitem__(arg1,arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___setitem__" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f___setitem__" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___setitem__" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - SoMFVec4f___setitem__(arg1,arg2,(SbVec4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SoMFVec4f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - SoMFVec4f_setValue__SWIG_3(arg1,(SoMFVec4f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4f *,SbVec4f const &)\n" - " setValue(SoMFVec4f *,float,float,float,float)\n" - " setValue(SoMFVec4f *,float const [4])\n" - " setValue(SoMFVec4f *,SoMFVec4f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec4f *)SoMFVec4f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec4f * Vec4fPtr = new SbVec4f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec4fPtr, SWIGTYPE_p_SbVec4f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = (SbVec4f *)SoMFVec4f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec4f * Vec4fPtr = new SbVec4f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec4fPtr, SWIGTYPE_p_SbVec4f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFVec4f *,int &,int)\n" - " __getValuesHelper__(SoMFVec4f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getTypeId" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = ((SoComposeVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getFieldData" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoFieldData *)((SoComposeVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getOutputData" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec4f",0,0)) SWIG_fail; - result = (SoComposeVec4f *)new SoComposeVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_initClass",0,0)) SWIG_fail; - SoComposeVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_x_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_x_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_y_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_y_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_z_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_z_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->z = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_z_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_w_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_w_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_w_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->w = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_w_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_w_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->w); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_vector_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_vector_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = ((SoDecomposeVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec2f",0,0)) SWIG_fail; - result = (SoDecomposeVec2f *)new SoDecomposeVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_initClass",0,0)) SWIG_fail; - SoDecomposeVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_vector_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_x_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_x_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_y_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_y_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = ((SoDecomposeVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec3f",0,0)) SWIG_fail; - result = (SoDecomposeVec3f *)new SoDecomposeVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_initClass",0,0)) SWIG_fail; - SoDecomposeVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_x_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_x_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_y_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_y_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_z_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_z_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->z = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_z_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = ((SoDecomposeVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec4f",0,0)) SWIG_fail; - result = (SoDecomposeVec4f *)new SoDecomposeVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_initClass",0,0)) SWIG_fail; - SoDecomposeVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_vector_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_x_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_x_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_y_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_y_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_z_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_z_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->z = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_z_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_w_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_w_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_w_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->w = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_w_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_w_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->w); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getTypeId" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = ((SoComposeRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getFieldData" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoFieldData *)((SoComposeRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getOutputData" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoEngineOutputData *)((SoComposeRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeRotation",0,0)) SWIG_fail; - result = (SoComposeRotation *)new SoComposeRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_initClass",0,0)) SWIG_fail; - SoComposeRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_axis_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_axis_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->axis = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_axis_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoMFVec3f *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_angle_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_angle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_angle_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoMFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_rotation_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_rotation_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFRotation",0,0)) SWIG_fail; - result = (SoMFRotation *)new SoMFRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFRotation" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoMFRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getTypeId" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = ((SoMFRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_copyFrom" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_isSame" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_find" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_find" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)(arg1)->find((SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFRotation *,SbRotation const &,SbBool)\n" - " find(SoMFRotation *,SbRotation const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - int arg3 ; - SbRotation *arg4 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbRotation[len]; - for (int i = 0; i < len; i++) { - SbRotation * RotationPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &RotationPtr, SWIGTYPE_p_SbRotation, 1); - if( RotationPtr != NULL ) - arg4[i] = *RotationPtr; - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbRotation const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - (arg1)->set1Value(arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setValue((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___eq__" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation___eq__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___eq__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->operator ==((SoMFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___ne__" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation___ne__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___ne__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->operator !=((SoMFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_startEditing" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = (SbRotation *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_finishEditing" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_initClass",0,0)) SWIG_fail; - SoMFRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFRotation_setValues" "', argument " "4"" of type '" "float const [][4]""'"); - } - arg4 = reinterpret_cast< float (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFRotation *,int const,int const,SbRotation const *)\n" - " setValues(SoMFRotation *,int const,int const,float const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFRotation_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFRotation_set1Value" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec4f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_3(self, args); - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFRotation *,int const,SbRotation const &)\n" - " set1Value(SoMFRotation *,int const,float const,float const,float const,float const)\n" - " set1Value(SoMFRotation *,int const,float const [4])\n" - " set1Value(SoMFRotation *,int const,SbVec3f const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___getitem__" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbRotation const &_result_ref = SoMFRotation___getitem__(arg1,arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___setitem__" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation___setitem__" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___setitem__" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoMFRotation___setitem__(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbRotation *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbRotation *)SoMFRotation___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbRotation * RotationPtr = new SbRotation( result[i] ); - PyObject * obj = SWIG_NewPointerObj(RotationPtr, SWIGTYPE_p_SbRotation, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = (SbRotation *)SoMFRotation___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbRotation * RotationPtr = new SbRotation( result[i] ); - PyObject * obj = SWIG_NewPointerObj(RotationPtr, SWIGTYPE_p_SbRotation, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFRotation *,int &,int)\n" - " __getValuesHelper__(SoMFRotation *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SoMFRotation const *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - SoMFRotation_setValue__SWIG_4(arg1,(SoMFRotation const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFRotation *,SbRotation const &)\n" - " setValue(SoMFRotation *,float const,float const,float const,float const)\n" - " setValue(SoMFRotation *,float const [4])\n" - " setValue(SoMFRotation *,SbVec3f const &,float const)\n" - " setValue(SoMFRotation *,SoMFRotation const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getTypeId" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = ((SoDecomposeRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getFieldData" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoFieldData *)((SoDecomposeRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getOutputData" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeRotation",0,0)) SWIG_fail; - result = (SoDecomposeRotation *)new SoDecomposeRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_initClass",0,0)) SWIG_fail; - SoDecomposeRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_rotation_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_rotation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_rotation_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_axis_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_axis_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->axis = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_axis_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_angle_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_angle_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->angle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_angle_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getTypeId" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = ((SoComposeMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getFieldData" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoFieldData *)((SoComposeMatrix const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getOutputData" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoEngineOutputData *)((SoComposeMatrix const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeMatrix",0,0)) SWIG_fail; - result = (SoComposeMatrix *)new SoComposeMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeMatrix, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_initClass",0,0)) SWIG_fail; - SoComposeMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_translation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_translation_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_translation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_rotation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_rotation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_rotation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleFactor_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_scaleFactor_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleFactor_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleOrientation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_scaleOrientation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleOrientation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_center_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_center_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_center_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_matrix_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_matrix_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_matrix_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFMatrix",0,0)) SWIG_fail; - result = (SoMFMatrix *)new SoMFMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFMatrix" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoMFMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getTypeId" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = ((SoMFMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_copyFrom" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_isSame" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_find" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_find" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)(arg1)->find((SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFMatrix *,SbMatrix const &,SbBool)\n" - " find(SoMFMatrix *,SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - int arg3 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbMatrix[len]; - for (int i = 0; i < len; i++) { - SbMatrix * matPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &matPtr, SWIGTYPE_p_SbMatrix, 1); - if (matPtr != NULL) { - arg4[i] = *matPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbMatrix const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_set1Value" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFMatrix_set1Value" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_set1Value" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->set1Value(arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setValue((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___eq__" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix___eq__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___eq__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->operator ==((SoMFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___ne__" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix___ne__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___ne__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->operator !=((SoMFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_startEditing" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = (SbMatrix *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_finishEditing" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_initClass",0,0)) SWIG_fail; - SoMFMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - float arg17 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - float val17 ; - int ecode17 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - PyObject * obj16 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",17,17,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFMatrix_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFMatrix_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFMatrix_setValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMFMatrix_setValue" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMFMatrix_setValue" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMFMatrix_setValue" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMFMatrix_setValue" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoMFMatrix_setValue" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoMFMatrix_setValue" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoMFMatrix_setValue" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "SoMFMatrix_setValue" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "SoMFMatrix_setValue" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "SoMFMatrix_setValue" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - ecode17 = SWIG_AsVal_float(obj16, &val17); - if (!SWIG_IsOK(ecode17)) { - SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "SoMFMatrix_setValue" "', argument " "17"" of type '" "float""'"); - } - arg17 = static_cast< float >(val17); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___getitem__" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoMFMatrix___getitem__(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___setitem__" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFMatrix___setitem__" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___setitem__" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoMFMatrix___setitem__(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbMatrix *)SoMFMatrix___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbMatrix * matPtr = new SbMatrix( result[i] ); - PyObject * obj = SWIG_NewPointerObj(matPtr, SWIGTYPE_p_SbMatrix, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = (SbMatrix *)SoMFMatrix___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbMatrix * matPtr = new SbMatrix( result[i] ); - PyObject * obj = SWIG_NewPointerObj(matPtr, SWIGTYPE_p_SbMatrix, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFMatrix *,int &,int)\n" - " __getValuesHelper__(SoMFMatrix *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SoMFMatrix const *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - SoMFMatrix_setValue__SWIG_2(arg1,(SoMFMatrix const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[18]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 17); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_2(self, args); - } - } - } - if (argc == 17) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[16], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFMatrix *,SbMatrix const &)\n" - " setValue(SoMFMatrix *,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n" - " setValue(SoMFMatrix *,SoMFMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getTypeId" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = ((SoDecomposeMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getFieldData" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoFieldData *)((SoDecomposeMatrix const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getOutputData" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeMatrix const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeMatrix",0,0)) SWIG_fail; - result = (SoDecomposeMatrix *)new SoDecomposeMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeMatrix, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_initClass",0,0)) SWIG_fail; - SoDecomposeMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_matrix_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_matrix_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_center_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_center_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_center_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_translation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_translation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_translation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_rotation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_rotation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleFactor_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_scaleFactor_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleFactor_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleOrientation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_scaleOrientation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleOrientation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeRotationFromTo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getTypeId" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = ((SoComposeRotationFromTo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getFieldData" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoFieldData *)((SoComposeRotationFromTo const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getOutputData" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoEngineOutputData *)((SoComposeRotationFromTo const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeRotationFromTo::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeRotationFromTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeRotationFromTo",0,0)) SWIG_fail; - result = (SoComposeRotationFromTo *)new SoComposeRotationFromTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeRotationFromTo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_initClass",0,0)) SWIG_fail; - SoComposeRotationFromTo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_srcFrom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_srcFrom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_srcFrom_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_srcFrom_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->from = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_srcFrom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_srcFrom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_srcFrom_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoMFVec3f *)& ((arg1)->from); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_destTo_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_destTo_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_destTo_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_destTo_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->to = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_destTo_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_destTo_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_destTo_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoMFVec3f *)& ((arg1)->to); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_rotation_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_rotation_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeRotationFromTo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeRotationFromTo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFPath",0,0)) SWIG_fail; - result = (SoSFPath *)new SoSFPath(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFPath" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFPath::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getClassTypeId",0,0)) SWIG_fail; - result = SoSFPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_getTypeId" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = ((SoSFPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_copyFrom" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_isSame" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFPath const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_getValue" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = (SoPath *)((SoSFPath const *)arg1)->getValue(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_setValue" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_setValue" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath___eq__" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath___eq__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath___eq__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - result = (int)((SoSFPath const *)arg1)->operator ==((SoSFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath___ne__" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath___ne__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath___ne__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - result = (int)((SoSFPath const *)arg1)->operator !=((SoSFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_initClass",0,0)) SWIG_fail; - SoSFPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_notify" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_fixCopy" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFPath_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_referencesCopy" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = (SbBool)((SoSFPath const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_setValue" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_setValue" "', argument " "2"" of type '" "SoSFPath const *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - SoSFPath_setValue__SWIG_1(arg1,(SoSFPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPath_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPath_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFPath_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFPath *,SoPath *)\n" - " setValue(SoSFPath *,SoSFPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getClassTypeId",0,0)) SWIG_fail; - result = SoComputeBoundingBox::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getTypeId" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = ((SoComputeBoundingBox const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getFieldData" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoFieldData *)((SoComputeBoundingBox const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getOutputData" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutputData *)((SoComputeBoundingBox const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_createInstance",0,0)) SWIG_fail; - result = (void *)SoComputeBoundingBox::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_node_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_node_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_node_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_node_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->node = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_node_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_node_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_node_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoSFNode *)& ((arg1)->node); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_path_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_path_set" "', argument " "2"" of type '" "SoSFPath *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - if (arg1) (arg1)->path = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_path_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoSFPath *)& ((arg1)->path); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_min_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_min_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->min = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_min_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_max_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_max_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->max = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_max_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_boxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_boxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_boxCenter_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_boxCenter_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->boxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_boxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_boxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_boxCenter_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->boxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_objectCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_objectCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_objectCenter_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_objectCenter_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->objectCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_objectCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_objectCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_objectCenter_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->objectCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComputeBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComputeBoundingBox",0,0)) SWIG_fail; - result = (SoComputeBoundingBox *)new SoComputeBoundingBox(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComputeBoundingBox, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_initClass",0,0)) SWIG_fail; - SoComputeBoundingBox::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getViewportRegion" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoComputeBoundingBox const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComputeBoundingBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComputeBoundingBox, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoConcatenate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getClassTypeId",0,0)) SWIG_fail; - result = SoConcatenate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getTypeId" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = ((SoConcatenate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getFieldData" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoFieldData *)((SoConcatenate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getOutputData" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoEngineOutputData *)((SoConcatenate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_createInstance",0,0)) SWIG_fail; - result = (void *)SoConcatenate::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_initClass",0,0)) SWIG_fail; - SoConcatenate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoConcatenate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoConcatenate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConcatenate",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoConcatenate" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoConcatenate" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoConcatenate *)new SoConcatenate(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConcatenate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoMField **arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_input_set" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConcatenate_input_set" "', argument " "2"" of type '" "SoMField *[SoConcatenate::NUMINPUTS]""'"); - } - arg2 = reinterpret_cast< SoMField ** >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)SoConcatenate::NUMINPUTS; ++ii) arg1->input[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""input""' of type '""SoMField *[SoConcatenate::NUMINPUTS]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMField **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_input_get" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoMField **)(SoMField **) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_output_set" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConcatenate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_output_get" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConcatenate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConcatenate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFTrigger",0,0)) SWIG_fail; - result = (SoSFTrigger *)new SoSFTrigger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFTrigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFTrigger" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFTrigger::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getClassTypeId",0,0)) SWIG_fail; - result = SoSFTrigger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_getTypeId" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - result = ((SoSFTrigger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_copyFrom" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_isSame" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFTrigger const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_initClass",0,0)) SWIG_fail; - SoSFTrigger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_setValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_setValue" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->setValue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_getValue" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - ((SoSFTrigger const *)arg1)->getValue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger___eq__" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTrigger, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger___eq__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger___eq__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - result = (int)((SoSFTrigger const *)arg1)->operator ==((SoSFTrigger const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger___ne__" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTrigger, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger___ne__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger___ne__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - result = (int)((SoSFTrigger const *)arg1)->operator !=((SoSFTrigger const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_startNotify" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_notify" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_touch" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_setValue" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_setValue" "', argument " "2"" of type '" "SoSFTrigger const *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - SoSFTrigger_setValue__SWIG_1(arg1,(SoSFTrigger const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTrigger_setValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTrigger_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFTrigger_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFTrigger *)\n" - " setValue(SoSFTrigger *,SoSFTrigger const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFTrigger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFTrigger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFShort",0,0)) SWIG_fail; - result = (SoSFShort *)new SoSFShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFShort" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getClassTypeId",0,0)) SWIG_fail; - result = SoSFShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_getTypeId" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - result = ((SoSFShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_copyFrom" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_isSame" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_getValue" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - result = (short)((SoSFShort const *)arg1)->getValue(); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_setValue" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFShort_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort___eq__" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort___eq__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort___eq__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - result = (int)((SoSFShort const *)arg1)->operator ==((SoSFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort___ne__" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort___ne__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort___ne__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - result = (int)((SoSFShort const *)arg1)->operator !=((SoSFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_initClass",0,0)) SWIG_fail; - SoSFShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_setValue" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_setValue" "', argument " "2"" of type '" "SoSFShort const *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - SoSFShort_setValue__SWIG_1(arg1,(SoSFShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFShort_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFShort *,short)\n" - " setValue(SoSFShort *,SoSFShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCounter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getClassTypeId",0,0)) SWIG_fail; - result = SoCounter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getTypeId" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = ((SoCounter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getFieldData" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoFieldData *)((SoCounter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getOutputData" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutputData *)((SoCounter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_createInstance",0,0)) SWIG_fail; - result = (void *)SoCounter::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_initClass",0,0)) SWIG_fail; - SoCounter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCounter",0,0)) SWIG_fail; - result = (SoCounter *)new SoCounter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCounter, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_min_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_min_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->min = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_min_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_max_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_max_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->max = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_max_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_step_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_step_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_step_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_step_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->step = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_step_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_step_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_step_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->step); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_trigger_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_trigger_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_reset_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_reset_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->reset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_reset_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_output_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_output_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_syncOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_syncOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_syncOut_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_syncOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->syncOut = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_syncOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_syncOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_syncOut_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->syncOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCounter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCounter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFTime",0,0)) SWIG_fail; - result = (SoSFTime *)new SoSFTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFTime" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getClassTypeId",0,0)) SWIG_fail; - result = SoSFTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_getTypeId" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - result = ((SoSFTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_copyFrom" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_isSame" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFTime const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_getValue" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - result = ((SoSFTime const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SbTime arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_setValue" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_setValue" "', argument " "2"" of type '" "SbTime""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime_setValue" "', argument " "2"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime___eq__" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime___eq__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime___eq__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - result = (int)((SoSFTime const *)arg1)->operator ==((SoSFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime___ne__" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime___ne__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime___ne__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - result = (int)((SoSFTime const *)arg1)->operator !=((SoSFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_initClass",0,0)) SWIG_fail; - SoSFTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_setValue" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - SoSFTime_setValue__SWIG_1(arg1,*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_setValue" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_setValue" "', argument " "2"" of type '" "SoSFTime const *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - SoSFTime_setValue__SWIG_2(arg1,(SoSFTime const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTime_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTime_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFTime_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFTime_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFTime *,SbTime)\n" - " setValue(SoSFTime *,SbTime &)\n" - " setValue(SoSFTime *,SoSFTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getClassTypeId",0,0)) SWIG_fail; - result = SoElapsedTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getTypeId" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = ((SoElapsedTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getFieldData" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoFieldData *)((SoElapsedTime const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getOutputData" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoEngineOutputData *)((SoElapsedTime const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoElapsedTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_initClass",0,0)) SWIG_fail; - SoElapsedTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoElapsedTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoElapsedTime",0,0)) SWIG_fail; - result = (SoElapsedTime *)new SoElapsedTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElapsedTime, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeIn_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeIn_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_speed_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_speed_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_on_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_on_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_pause_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_pause_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_pause_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_pause_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->pause = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_pause_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_pause_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_pause_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFBool *)& ((arg1)->pause); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_reset_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_reset_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->reset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_reset_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFTrigger *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeOut_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_timeOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->timeOut = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeOut_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoEngineOutput *)& ((arg1)->timeOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoElapsedTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoElapsedTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getClassTypeId",0,0)) SWIG_fail; - result = SoFieldConverter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getTypeId" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = ((SoFieldConverter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getFieldData" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoFieldData *)((SoFieldConverter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getOutputData" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoEngineOutputData *)((SoFieldConverter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_initClass",0,0)) SWIG_fail; - SoFieldConverter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_initClasses",0,0)) SWIG_fail; - SoFieldConverter::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getInput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getInput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getInput" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getInput" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoField *)(arg1)->getInput(arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getOutput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getOutput" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getOutput" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoEngineOutput *)(arg1)->getOutput(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getConnectedInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getConnectedInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getConnectedInput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoField *)(arg1)->getConnectedInput(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getForwardConnections" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldConverter const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldConverter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldConverter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getClassTypeId",0,0)) SWIG_fail; - result = SoGate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getTypeId" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = ((SoGate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getFieldData" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoFieldData *)((SoGate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getOutputData" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoEngineOutputData *)((SoGate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_createInstance",0,0)) SWIG_fail; - result = (void *)SoGate::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_initClass",0,0)) SWIG_fail; - SoGate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGate",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGate" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGate" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoGate *)new SoGate(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_enable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_enable_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_enable_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_enable_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enable = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_enable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_enable_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_enable_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoSFBool *)& ((arg1)->enable); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_trigger_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_trigger_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoMField *arg2 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_input_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_input_set" "', argument " "2"" of type '" "SoMField *""'"); - } - arg2 = reinterpret_cast< SoMField * >(argp2); - if (arg1) (arg1)->input = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_input_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoMField *) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_output_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_output_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getTypeId" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = ((SoInterpolate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getFieldData" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoFieldData *)((SoInterpolate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getOutputData" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoEngineOutputData *)((SoInterpolate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_initClass",0,0)) SWIG_fail; - SoInterpolate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_initClasses",0,0)) SWIG_fail; - SoInterpolate::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_alpha_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_alpha_set" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolate_alpha_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->alpha = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_alpha_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_alpha_get" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoSFFloat *)& ((arg1)->alpha); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_output_set" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_output_get" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getTypeId" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = ((SoInterpolateFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getFieldData" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoFieldData *)((SoInterpolateFloat const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getOutputData" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateFloat const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateFloat",0,0)) SWIG_fail; - result = (SoInterpolateFloat *)new SoInterpolateFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateFloat, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_initClass",0,0)) SWIG_fail; - SoInterpolateFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input0_set" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateFloat_input0_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input0_get" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoMFFloat *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input1_set" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateFloat_input1_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input1_get" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoMFFloat *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = ((SoInterpolateVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec2f",0,0)) SWIG_fail; - result = (SoInterpolateVec2f *)new SoInterpolateVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_initClass",0,0)) SWIG_fail; - SoInterpolateVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec2f_input0_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec2f_input1_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = ((SoInterpolateVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec3f",0,0)) SWIG_fail; - result = (SoInterpolateVec3f *)new SoInterpolateVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_initClass",0,0)) SWIG_fail; - SoInterpolateVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec3f_input0_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec3f_input1_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = ((SoInterpolateVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec4f",0,0)) SWIG_fail; - result = (SoInterpolateVec4f *)new SoInterpolateVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_initClass",0,0)) SWIG_fail; - SoInterpolateVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec4f_input0_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec4f_input1_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getTypeId" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = ((SoInterpolateRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getFieldData" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoFieldData *)((SoInterpolateRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getOutputData" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateRotation",0,0)) SWIG_fail; - result = (SoInterpolateRotation *)new SoInterpolateRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_initClass",0,0)) SWIG_fail; - SoInterpolateRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input0_set" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateRotation_input0_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input0_get" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input1_set" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateRotation_input1_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input1_get" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOnOff_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getClassTypeId",0,0)) SWIG_fail; - result = SoOnOff::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getTypeId" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = ((SoOnOff const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getFieldData" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoFieldData *)((SoOnOff const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getOutputData" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutputData *)((SoOnOff const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_createInstance",0,0)) SWIG_fail; - result = (void *)SoOnOff::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_initClass",0,0)) SWIG_fail; - SoOnOff::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOnOff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOnOff",0,0)) SWIG_fail; - result = (SoOnOff *)new SoOnOff(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOnOff, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_on_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_on_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_on_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_off_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_off_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_off_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_off_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->off = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_off_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_off_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_off_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->off); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_toggle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_toggle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_toggle_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_toggle_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->toggle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_toggle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_toggle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_toggle_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->toggle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOn_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_isOn_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isOn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOn_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isOn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOff_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOff_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOff_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_isOff_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isOff = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOff_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOff_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOff_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isOff); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOnOff_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOnOff, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBitMask",0,0)) SWIG_fail; - result = (SoSFBitMask *)new SoSFBitMask(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBitMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBitMask" "', argument " "1"" of type '" "SoSFBitMask *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBitMask::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBitMask::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_getTypeId" "', argument " "1"" of type '" "SoSFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - result = ((SoSFBitMask const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_copyFrom" "', argument " "1"" of type '" "SoSFBitMask *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_isSame" "', argument " "1"" of type '" "SoSFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBitMask const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_initClass",0,0)) SWIG_fail; - SoSFBitMask::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSFBitMask_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBitMask, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOneShot_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getClassTypeId",0,0)) SWIG_fail; - result = SoOneShot::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getTypeId" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = ((SoOneShot const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getFieldData" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoFieldData *)((SoOneShot const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getOutputData" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutputData *)((SoOneShot const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_createInstance",0,0)) SWIG_fail; - result = (void *)SoOneShot::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_initClass",0,0)) SWIG_fail; - SoOneShot::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOneShot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShot",0,0)) SWIG_fail; - result = (SoOneShot *)new SoOneShot(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShot, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeIn_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeIn_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_duration_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_duration_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_duration_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_duration_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->duration = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_duration_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_duration_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_duration_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTime *)& ((arg1)->duration); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_trigger_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_trigger_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_flags_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_flags_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_flags_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->flags = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_flags_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_flags_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFBitMask *)& ((arg1)->flags); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_disable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_disable_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_disable_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_disable_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->disable = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_disable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_disable_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_disable_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFBool *)& ((arg1)->disable); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeOut_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_timeOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->timeOut = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeOut_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->timeOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_isActive_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_isActive_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_isActive_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_ramp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_ramp_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_ramp_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_ramp_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->ramp = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_ramp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_ramp_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_ramp_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->ramp); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOneShot_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOneShot, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSelectOne_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getClassTypeId",0,0)) SWIG_fail; - result = SoSelectOne::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getTypeId" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = ((SoSelectOne const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getFieldData" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoFieldData *)((SoSelectOne const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getOutputData" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoEngineOutputData *)((SoSelectOne const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_createInstance",0,0)) SWIG_fail; - result = (void *)SoSelectOne::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_index_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_index_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_index_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoSFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoMField *arg2 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_input_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_input_set" "', argument " "2"" of type '" "SoMField *""'"); - } - arg2 = reinterpret_cast< SoMField * >(argp2); - if (arg1) (arg1)->input = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_input_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoMField *) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_output_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_output_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelectOne(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSelectOne *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelectOne",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoSelectOne" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoSelectOne" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoSelectOne *)new SoSelectOne(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelectOne, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_initClass",0,0)) SWIG_fail; - SoSelectOne::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSelectOne_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSelectOne, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getClassTypeId",0,0)) SWIG_fail; - result = SoTimeCounter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getTypeId" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = ((SoTimeCounter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getFieldData" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoFieldData *)((SoTimeCounter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getOutputData" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutputData *)((SoTimeCounter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_createInstance",0,0)) SWIG_fail; - result = (void *)SoTimeCounter::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_timeIn_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_timeIn_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_min_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_min_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->min = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_min_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_max_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_max_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->max = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_max_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_step_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_step_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_step_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_step_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->step = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_step_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_step_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_step_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->step); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_on_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_on_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_frequency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_frequency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_frequency_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_frequency_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->frequency = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_frequency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_frequency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_frequency_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFFloat *)& ((arg1)->frequency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_duty_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_duty_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_duty_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_duty_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->duty = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_duty_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_duty_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_duty_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoMFFloat *)& ((arg1)->duty); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_reset_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_reset_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->reset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_reset_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncIn_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_syncIn_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->syncIn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncIn_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFTrigger *)& ((arg1)->syncIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_output_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_output_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncOut_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_syncOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->syncOut = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncOut_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->syncOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimeCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimeCounter",0,0)) SWIG_fail; - result = (SoTimeCounter *)new SoTimeCounter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimeCounter, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_initClass",0,0)) SWIG_fail; - SoTimeCounter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTimeCounter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimeCounter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getTypeId" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = ((SoTransformVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getFieldData" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoFieldData *)((SoTransformVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getOutputData" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutputData *)((SoTransformVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoTransformVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_initClass",0,0)) SWIG_fail; - SoTransformVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformVec3f",0,0)) SWIG_fail; - result = (SoTransformVec3f *)new SoTransformVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_vector_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_vector_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_matrix_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_matrix_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_point_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_point_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_point_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_direction_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_direction_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_direction_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_normalDirection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_normalDirection_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_normalDirection_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_normalDirection_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->normalDirection = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_normalDirection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_normalDirection_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_normalDirection_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->normalDirection); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getClassTypeId",0,0)) SWIG_fail; - result = SoTriggerAny::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getTypeId" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = ((SoTriggerAny const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getFieldData" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoFieldData *)((SoTriggerAny const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getOutputData" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoEngineOutputData *)((SoTriggerAny const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_createInstance",0,0)) SWIG_fail; - result = (void *)SoTriggerAny::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_initClass",0,0)) SWIG_fail; - SoTriggerAny::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTriggerAny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTriggerAny",0,0)) SWIG_fail; - result = (SoTriggerAny *)new SoTriggerAny(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTriggerAny, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input0_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input0_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input0_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input1_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input1_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input1_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input2_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input2_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input2 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input2_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input3_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input3_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input3 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input3_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input4_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input4_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input4_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input4 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input4_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input4_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input5_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input5_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input5_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input5_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input5 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input5_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input5_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input5_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input6_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input6_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input6_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input6_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input6 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input6_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input6_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input6_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input7_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input7_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input7_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input7_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input7 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input7_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input7_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input7_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input8_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input8_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input8_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input8_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input8 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input8_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input8_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input8_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input9_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input9_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input9_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input9_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input9 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input9_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input9_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input9_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_output_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_output_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTriggerAny_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTriggerAny, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture2Convert::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_getTypeId" "', argument " "1"" of type '" "SoTexture2Convert const *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - result = ((SoTexture2Convert const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_getFieldData" "', argument " "1"" of type '" "SoTexture2Convert const *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - result = (SoFieldData *)((SoTexture2Convert const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_getOutputData" "', argument " "1"" of type '" "SoTexture2Convert const *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - result = (SoEngineOutputData *)((SoTexture2Convert const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_initClass",0,0)) SWIG_fail; - SoTexture2Convert::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_sourceImage_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_sourceImage_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_sourceImage_set" "', argument " "1"" of type '" "SoTexture2Convert *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Convert_sourceImage_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->sourceImage = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_sourceImage_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_sourceImage_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_sourceImage_get" "', argument " "1"" of type '" "SoTexture2Convert *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - result = (SoSFImage *)& ((arg1)->sourceImage); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_image_set" "', argument " "1"" of type '" "SoTexture2Convert *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Convert_image_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->image = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Convert_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Convert_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Convert_image_get" "', argument " "1"" of type '" "SoTexture2Convert *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - result = (SoEngineOutput *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTexture2Convert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Convert *arg1 = (SoTexture2Convert *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTexture2Convert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Convert, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTexture2Convert" "', argument " "1"" of type '" "SoTexture2Convert *""'"); - } - arg1 = reinterpret_cast< SoTexture2Convert * >(argp1); - arg1->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture2Convert_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture2Convert, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_getClassTypeId",0,0)) SWIG_fail; - result = SoHeightMapToNormalMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_getTypeId" "', argument " "1"" of type '" "SoHeightMapToNormalMap const *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - result = ((SoHeightMapToNormalMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_getFieldData" "', argument " "1"" of type '" "SoHeightMapToNormalMap const *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - result = (SoFieldData *)((SoHeightMapToNormalMap const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_getOutputData" "', argument " "1"" of type '" "SoHeightMapToNormalMap const *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - result = (SoEngineOutputData *)((SoHeightMapToNormalMap const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_createInstance",0,0)) SWIG_fail; - result = (void *)SoHeightMapToNormalMap::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_initClass",0,0)) SWIG_fail; - SoHeightMapToNormalMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHeightMapToNormalMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHeightMapToNormalMap",0,0)) SWIG_fail; - result = (SoHeightMapToNormalMap *)new SoHeightMapToNormalMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHeightMapToNormalMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_format_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_format_set" "', argument " "1"" of type '" "SoHeightMapToNormalMap *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHeightMapToNormalMap_format_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->format = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_format_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_format_get" "', argument " "1"" of type '" "SoHeightMapToNormalMap *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->format); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHeightMapToNormalMap_convert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned char *arg1 = (unsigned char *) 0 ; - SbVec2s arg2 ; - int arg3 ; - SbImage *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHeightMapToNormalMap_convert",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHeightMapToNormalMap_convert" "', argument " "1"" of type '" "unsigned char const *""'"); - } - arg1 = reinterpret_cast< unsigned char * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHeightMapToNormalMap_convert" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHeightMapToNormalMap_convert" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoHeightMapToNormalMap_convert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbImage, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoHeightMapToNormalMap_convert" "', argument " "4"" of type '" "SbImage &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHeightMapToNormalMap_convert" "', argument " "4"" of type '" "SbImage &""'"); - } - arg4 = reinterpret_cast< SbImage * >(argp4); - SoHeightMapToNormalMap::convert((unsigned char const *)arg1,arg2,arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoHeightMapToNormalMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHeightMapToNormalMap *arg1 = (SoHeightMapToNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoHeightMapToNormalMap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHeightMapToNormalMap, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoHeightMapToNormalMap" "', argument " "1"" of type '" "SoHeightMapToNormalMap *""'"); - } - arg1 = reinterpret_cast< SoHeightMapToNormalMap * >(argp1); - arg1->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHeightMapToNormalMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHeightMapToNormalMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_initClass",0,0)) SWIG_fail; - SoNodeEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_evaluateWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_evaluateWrapper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_evaluateWrapper" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - (arg1)->evaluateWrapper(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoEngineOutputList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputs" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineOutputList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - arg2 = reinterpret_cast< SoEngineOutputList * >(argp2); - result = (int)((SoNodeEngine const *)arg1)->getOutputs(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutput" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoEngineOutput *)((SoNodeEngine const *)arg1)->getOutput((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputName" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_getOutputName" "', argument " "2"" of type '" "SoEngineOutput const *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoNodeEngine const *)arg1)->getOutputName((SoEngineOutput const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputData" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - result = (SoEngineOutputData *)((SoNodeEngine const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_isNotifying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_isNotifying" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - result = (SbBool)((SoNodeEngine const *)arg1)->isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_notify" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_writeInstance" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMemoryError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoMemoryError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoMemoryError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoMemoryError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoMemoryError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getClassTypeId",0,0)) SWIG_fail; - result = SoMemoryError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *arg1 = (SoMemoryError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMemoryError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMemoryError_getTypeId" "', argument " "1"" of type '" "SoMemoryError const *""'"); - } - arg1 = reinterpret_cast< SoMemoryError * >(argp1); - result = ((SoMemoryError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_post(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_post",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMemoryError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoMemoryError::post((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_initClass",0,0)) SWIG_fail; - SoMemoryError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMemoryError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMemoryError",0,0)) SWIG_fail; - result = (SoMemoryError *)new SoMemoryError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMemoryError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMemoryError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *arg1 = (SoMemoryError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMemoryError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMemoryError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMemoryError" "', argument " "1"" of type '" "SoMemoryError *""'"); - } - arg1 = reinterpret_cast< SoMemoryError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMemoryError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMemoryError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoReadError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoReadError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoReadError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoReadError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoReadError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getClassTypeId",0,0)) SWIG_fail; - result = SoReadError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *arg1 = (SoReadError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReadError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReadError_getTypeId" "', argument " "1"" of type '" "SoReadError const *""'"); - } - arg1 = reinterpret_cast< SoReadError * >(argp1); - result = ((SoReadError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) (SoInput *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_post",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReadError_post" "', argument " "1"" of type '" "SoInput const *const""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReadError_post" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoReadError::post((SoInput const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoReadError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_initClass",0,0)) SWIG_fail; - SoReadError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoReadError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoReadError",0,0)) SWIG_fail; - result = (SoReadError *)new SoReadError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoReadError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoReadError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *arg1 = (SoReadError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoReadError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReadError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoReadError" "', argument " "1"" of type '" "SoReadError *""'"); - } - arg1 = reinterpret_cast< SoReadError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoReadError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoReadError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_getTypeId" "', argument " "1"" of type '" "SoButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - result = ((SoButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_initClass",0,0)) SWIG_fail; - SoButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoButtonEvent",0,0)) SWIG_fail; - result = (SoButtonEvent *)new SoButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoButtonEvent" "', argument " "1"" of type '" "SoButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_setState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - SoButtonEvent::State arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_setState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_setState" "', argument " "1"" of type '" "SoButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoButtonEvent_setState" "', argument " "2"" of type '" "SoButtonEvent::State""'"); - } - arg2 = static_cast< SoButtonEvent::State >(val2); - (arg1)->setState(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoButtonEvent::State result; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_getState" "', argument " "1"" of type '" "SoButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - result = (SoButtonEvent::State)((SoButtonEvent const *)arg1)->getState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_enumToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent::State arg1 ; - SbString *arg2 = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_enumToString",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoButtonEvent_enumToString" "', argument " "1"" of type '" "SoButtonEvent::State""'"); - } - arg1 = static_cast< SoButtonEvent::State >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)SoButtonEvent::enumToString(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocation2Event_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_getClassTypeId",0,0)) SWIG_fail; - result = SoLocation2Event::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocation2Event_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *arg1 = (SoLocation2Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocation2Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocation2Event_getTypeId" "', argument " "1"" of type '" "SoLocation2Event const *""'"); - } - arg1 = reinterpret_cast< SoLocation2Event * >(argp1); - result = ((SoLocation2Event const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocation2Event_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_initClass",0,0)) SWIG_fail; - SoLocation2Event::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLocation2Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLocation2Event",0,0)) SWIG_fail; - result = (SoLocation2Event *)new SoLocation2Event(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLocation2Event, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLocation2Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *arg1 = (SoLocation2Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLocation2Event",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocation2Event, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLocation2Event" "', argument " "1"" of type '" "SoLocation2Event *""'"); - } - arg1 = reinterpret_cast< SoLocation2Event * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocation2Event_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocation2Event, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getClassTypeId",0,0)) SWIG_fail; - result = SoMotion3Event::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getTypeId" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - result = ((SoMotion3Event const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_initClass",0,0)) SWIG_fail; - SoMotion3Event::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMotion3Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMotion3Event",0,0)) SWIG_fail; - result = (SoMotion3Event *)new SoMotion3Event(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMotion3Event, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMotion3Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMotion3Event",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMotion3Event" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_setTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_setTranslation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_setTranslation" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMotion3Event_setTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMotion3Event_setTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTranslation((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getTranslation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getTranslation" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - { - SbVec3f const &_result_ref = ((SoMotion3Event const *)arg1)->getTranslation(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_setRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_setRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_setRotation" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMotion3Event_setRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMotion3Event_setRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setRotation((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getRotation" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - { - SbRotation const &_result_ref = ((SoMotion3Event const *)arg1)->getRotation(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMotion3Event_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMotion3Event, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoKeyboardEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getTypeId" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = ((SoKeyboardEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_initClass",0,0)) SWIG_fail; - SoKeyboardEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoKeyboardEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoKeyboardEvent",0,0)) SWIG_fail; - result = (SoKeyboardEvent *)new SoKeyboardEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoKeyboardEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoKeyboardEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoKeyboardEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoKeyboardEvent" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_setKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_setKey",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_setKey" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_setKey" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - (arg1)->setKey(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoKeyboardEvent::Key result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getKey" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = (SoKeyboardEvent::Key)((SoKeyboardEvent const *)arg1)->getKey(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_setPrintableCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_setPrintableCharacter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_setPrintableCharacter" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_setPrintableCharacter" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->setPrintableCharacter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getPrintableCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getPrintableCharacter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getPrintableCharacter" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = (char)((SoKeyboardEvent const *)arg1)->getPrintableCharacter(); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_isKeyPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_isKeyPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_isKeyPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_isKeyPressEvent" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - result = (SbBool)SoKeyboardEvent::isKeyPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_isKeyReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_isKeyReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_isKeyReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_isKeyReleaseEvent" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - result = (SbBool)SoKeyboardEvent::isKeyReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_enumToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent::Key arg1 ; - SbString *arg2 = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_enumToString",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoKeyboardEvent_enumToString" "', argument " "1"" of type '" "SoKeyboardEvent::Key""'"); - } - arg1 = static_cast< SoKeyboardEvent::Key >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)SoKeyboardEvent::enumToString(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoKeyboardEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoKeyboardEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoMouseButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_getTypeId" "', argument " "1"" of type '" "SoMouseButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - result = ((SoMouseButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_initClass",0,0)) SWIG_fail; - SoMouseButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMouseButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMouseButtonEvent",0,0)) SWIG_fail; - result = (SoMouseButtonEvent *)new SoMouseButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMouseButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMouseButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMouseButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMouseButtonEvent" "', argument " "1"" of type '" "SoMouseButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_setButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_setButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_setButton" "', argument " "1"" of type '" "SoMouseButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_setButton" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - (arg1)->setButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMouseButtonEvent::Button result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_getButton" "', argument " "1"" of type '" "SoMouseButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - result = (SoMouseButtonEvent::Button)((SoMouseButtonEvent const *)arg1)->getButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_isButtonPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_isButtonPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_isButtonPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_isButtonPressEvent" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - result = (SbBool)SoMouseButtonEvent::isButtonPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_isButtonReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_isButtonReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_isButtonReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_isButtonReleaseEvent" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - result = (SbBool)SoMouseButtonEvent::isButtonReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_enumToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent::Button arg1 ; - SbString *arg2 = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_enumToString",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMouseButtonEvent_enumToString" "', argument " "1"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg1 = static_cast< SoMouseButtonEvent::Button >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)SoMouseButtonEvent::enumToString(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoMouseButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMouseButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoSpaceballButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_getTypeId" "', argument " "1"" of type '" "SoSpaceballButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - result = ((SoSpaceballButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_initClass",0,0)) SWIG_fail; - SoSpaceballButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpaceballButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpaceballButtonEvent",0,0)) SWIG_fail; - result = (SoSpaceballButtonEvent *)new SoSpaceballButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSpaceballButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSpaceballButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSpaceballButtonEvent" "', argument " "1"" of type '" "SoSpaceballButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_setButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_setButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_setButton" "', argument " "1"" of type '" "SoSpaceballButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_setButton" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - (arg1)->setButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSpaceballButtonEvent::Button result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_getButton" "', argument " "1"" of type '" "SoSpaceballButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - result = (SoSpaceballButtonEvent::Button)((SoSpaceballButtonEvent const *)arg1)->getButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_isButtonPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_isButtonPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_isButtonPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_isButtonPressEvent" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - result = (SbBool)SoSpaceballButtonEvent::isButtonPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_isButtonReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_isButtonReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_isButtonReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_isButtonReleaseEvent" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - result = (SbBool)SoSpaceballButtonEvent::isButtonReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_enumToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent::Button arg1 ; - SbString *arg2 = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_enumToString",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoSpaceballButtonEvent_enumToString" "', argument " "1"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg1 = static_cast< SoSpaceballButtonEvent::Button >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)SoSpaceballButtonEvent::enumToString(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoSpaceballButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",0,0)) SWIG_fail; - result = (SbBox2s *)new SbBox2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short arg4 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2s" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - result = (SbBox2s *)new SbBox2s(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2s" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (SbBox2s *)new SbBox2s((SbVec2s const &)*arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (SbBox2s *)new SbBox2s((SbBox2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBox2s *)new SbBox2s((SbBox2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBox2s *)new SbBox2s((SbBox2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2s__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2s__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2s__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2s'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox2s()\n" - " SbBox2s(short,short,short,short)\n" - " SbBox2s(SbVec2s const &,SbVec2s const &)\n" - " SbBox2s(SbBox2i32 const &)\n" - " SbBox2s(SbBox2f const &)\n" - " SbBox2s(SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2s_setBounds" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2s_setBounds" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - { - SbBox2s &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - { - SbBox2s &_result_ref = (arg1)->setBounds((SbVec2s const &)*arg2,(SbVec2s const &)*arg3); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - { - SbBox2s &_result_ref = (arg1)->setBounds((SbBox2i32 const &)*arg2); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - { - SbBox2s &_result_ref = (arg1)->setBounds((SbBox2f const &)*arg2); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - { - SbBox2s &_result_ref = (arg1)->setBounds((SbBox2d const &)*arg2); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox2s *,short,short,short,short)\n" - " setBounds(SbBox2s *,SbVec2s const &,SbVec2s const &)\n" - " setBounds(SbBox2s *,SbBox2i32 const &)\n" - " setBounds(SbBox2s *,SbBox2f const &)\n" - " setBounds(SbBox2s *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - short *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getBounds" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - arg5 = reinterpret_cast< short * >(argp5); - ((SbBox2s const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getBounds" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ((SbBox2s const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox2s const *,short &,short &,short &,short &)\n" - " getBounds(SbBox2s const *,SbVec2s &,SbVec2s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMin" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s const &_result_ref = ((SbBox2s const *)arg1)->getMin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMin" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s &_result_ref = (arg1)->getMin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox2s const *)\n" - " getMin(SbBox2s *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMax" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s const &_result_ref = ((SbBox2s const *)arg1)->getMax(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMax" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s &_result_ref = (arg1)->getMax(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox2s const *)\n" - " getMax(SbBox2s *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_extendBy" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->extendBy((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_extendBy" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - (arg1)->extendBy((SbBox2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox2s *,SbVec2s const &)\n" - " extendBy(SbBox2s *,SbBox2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_makeEmpty" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_isEmpty" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (SbBool)((SbBox2s const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_hasArea" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (SbBool)((SbBox2s const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_intersect" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (SbBool)((SbBox2s const *)arg1)->intersect((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_intersect" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (SbBool)((SbBox2s const *)arg1)->intersect((SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox2s const *,SbVec2s const &)\n" - " intersect(SbBox2s const *,SbBox2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getCenter" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = ((SbBox2s const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getOrigin" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - ((SbBox2s const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getSize" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getSize" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getSize" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getSize" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getSize" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - ((SbBox2s const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getAspectRatio" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (float)((SbBox2s const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s___eq__" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s___eq__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s___eq__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (int)SbBox2s___eq__(arg1,(SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s___ne__" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s___ne__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s___ne__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (int)SbBox2s___ne__(arg1,(SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2s" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox2s",0,0)) SWIG_fail; - result = (SoSFBox2s *)new SoSFBox2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox2s" "', argument " "1"" of type '" "SoSFBox2s *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox2s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox2s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_getTypeId" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - result = ((SoSFBox2s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_copyFrom" "', argument " "1"" of type '" "SoSFBox2s *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_isSame" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox2s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_getValue" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - { - SbBox2s const &_result_ref = ((SoSFBox2s const *)arg1)->getValue(); - result = (SbBox2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_setValue" "', argument " "1"" of type '" "SoSFBox2s *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s_setValue" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_setValue" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - (arg1)->setValue((SbBox2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SoSFBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s___eq__" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s___eq__" "', argument " "2"" of type '" "SoSFBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s___eq__" "', argument " "2"" of type '" "SoSFBox2s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2s * >(argp2); - result = (int)((SoSFBox2s const *)arg1)->operator ==((SoSFBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SoSFBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s___ne__" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s___ne__" "', argument " "2"" of type '" "SoSFBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s___ne__" "', argument " "2"" of type '" "SoSFBox2s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2s * >(argp2); - result = (int)((SoSFBox2s const *)arg1)->operator !=((SoSFBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_initClass",0,0)) SWIG_fail; - SoSFBox2s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_setValue" "', argument " "1"" of type '" "SoSFBox2s *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox2s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox2s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SbVec2s arg2 ; - SbVec2s arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_setValue" "', argument " "1"" of type '" "SoSFBox2s *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox2s_setValue" "', argument " "3"" of type '" "SbVec2s""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_setValue" "', argument " "3"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2s_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox2s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox2s *,SbBox2s const &)\n" - " setValue(SoSFBox2s *,short,short,short,short)\n" - " setValue(SoSFBox2s *,SbVec2s,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2s *arg1 = (SoSFBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2s_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2s_getValue" "', argument " "1"" of type '" "SoSFBox2s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2s_getValue" "', argument " "2"" of type '" "SbBox2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2s_getValue" "', argument " "2"" of type '" "SbBox2s &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - ((SoSFBox2s const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2s_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2s_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2s_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox2s const *)\n" - " getValue(SoSFBox2s const *,SbBox2s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",0,0)) SWIG_fail; - result = (SbVec2i32 *)new SbVec2i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "int32_t const [2]""'"); - } - arg1 = reinterpret_cast< int32_t * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((int32_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - int32_t arg2 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2i32" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - result = (SbVec2i32 *)new SbVec2i32(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2ui32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2ui32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2ui32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2ui32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2ui32 * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((SbVec2ui32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((SbVec2b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((SbVec2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((SbVec2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2i32" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (SbVec2i32 *)new SbVec2i32((SbVec2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2i32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2i32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2i32__SWIG_7(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2i32__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2i32'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2i32()\n" - " SbVec2i32(int32_t const [2])\n" - " SbVec2i32(int32_t,int32_t)\n" - " SbVec2i32(SbVec2ui32 const &)\n" - " SbVec2i32(SbVec2b const &)\n" - " SbVec2i32(SbVec2s const &)\n" - " SbVec2i32(SbVec2f const &)\n" - " SbVec2i32(SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "int32_t const [2]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((int32_t const (*))arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - { - SbVec2i32 &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2ui32 * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((SbVec2ui32 const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - arg2 = reinterpret_cast< SbVec2b * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((SbVec2b const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((SbVec2s const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((SbVec2f const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_setValue" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->setValue((SbVec2d const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_6(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2i32_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2i32 *,int32_t const [2])\n" - " setValue(SbVec2i32 *,int32_t,int32_t)\n" - " setValue(SbVec2i32 *,SbVec2ui32 const &)\n" - " setValue(SbVec2i32 *,SbVec2b const &)\n" - " setValue(SbVec2i32 *,SbVec2s const &)\n" - " setValue(SbVec2i32 *,SbVec2f const &)\n" - " setValue(SbVec2i32 *,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_getValue" "', argument " "1"" of type '" "SbVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (int32_t *)((SbVec2i32 const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_getValue" "', argument " "1"" of type '" "SbVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec2i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ((SbVec2i32 const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_getValue__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2i32_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2i32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec2i32 const *)\n" - " getValue(SbVec2i32 const *,int32_t &,int32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_dot" "', argument " "1"" of type '" "SbVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32_dot" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32_dot" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - result = ((SbVec2i32 const *)arg1)->dot((SbVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_negate" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___imul__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2i32___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___imul__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2i32___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2i32___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2i32___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2i32___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec2i32 *,int)\n" - " operator *=(SbVec2i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___idiv__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2i32___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___idiv__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2i32___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2i32___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2i32___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2i32___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec2i32 *,int)\n" - " operator /=(SbVec2i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___iadd__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32___iadd__" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32___iadd__" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->operator +=((SbVec2i32 const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___isub__" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2i32___isub__" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2i32___isub__" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2i32 &_result_ref = (arg1)->operator -=((SbVec2i32 const &)*arg2); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32___neg__" "', argument " "1"" of type '" "SbVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = ((SbVec2i32 const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2i32(static_cast< const SbVec2i32& >(result))), SWIGTYPE_p_SbVec2i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2i32_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2i32_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2i32_output" "', argument " "1"" of type '" "SbVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2i32 const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2i32" "', argument " "1"" of type '" "SbVec2i32 *""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",0,0)) SWIG_fail; - result = (SbBox2i32 *)new SbBox2i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2i32" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2i32" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2i32" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - result = (SbBox2i32 *)new SbBox2i32(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2i32" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2i32" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - result = (SbBox2i32 *)new SbBox2i32((SbVec2i32 const &)*arg1,(SbVec2i32 const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (SbBox2i32 *)new SbBox2i32((SbBox2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBox2i32 *)new SbBox2i32((SbBox2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2i32" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBox2i32 *)new SbBox2i32((SbBox2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2i32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2i32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2i32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2i32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2i32__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2i32__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2i32__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2i32'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox2i32()\n" - " SbBox2i32(int32_t,int32_t,int32_t,int32_t)\n" - " SbBox2i32(SbVec2i32 const &,SbVec2i32 const &)\n" - " SbBox2i32(SbBox2s const &)\n" - " SbBox2i32(SbBox2f const &)\n" - " SbBox2i32(SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_setBounds" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2i32_setBounds" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2i32_setBounds" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2i32_setBounds" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - { - SbBox2i32 &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - SbVec2i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_setBounds" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2i32_setBounds" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_setBounds" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - { - SbBox2i32 &_result_ref = (arg1)->setBounds((SbVec2i32 const &)*arg2,(SbVec2i32 const &)*arg3); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_setBounds" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - { - SbBox2i32 &_result_ref = (arg1)->setBounds((SbBox2s const &)*arg2); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_setBounds" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - { - SbBox2i32 &_result_ref = (arg1)->setBounds((SbBox2f const &)*arg2); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_setBounds" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - { - SbBox2i32 &_result_ref = (arg1)->setBounds((SbBox2d const &)*arg2); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2i32_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox2i32 *,int32_t,int32_t,int32_t,int32_t)\n" - " setBounds(SbBox2i32 *,SbVec2i32 const &,SbVec2i32 const &)\n" - " setBounds(SbBox2i32 *,SbBox2s const &)\n" - " setBounds(SbBox2i32 *,SbBox2f const &)\n" - " setBounds(SbBox2i32 *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t *arg4 = 0 ; - int32_t *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getBounds" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_getBounds" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2i32_getBounds" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2i32_getBounds" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2i32_getBounds" "', argument " "5"" of type '" "int32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "5"" of type '" "int32_t &""'"); - } - arg5 = reinterpret_cast< int32_t * >(argp5); - ((SbBox2i32 const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - SbVec2i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getBounds" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_getBounds" "', argument " "2"" of type '" "SbVec2i32 &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "2"" of type '" "SbVec2i32 &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2i32, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2i32_getBounds" "', argument " "3"" of type '" "SbVec2i32 &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getBounds" "', argument " "3"" of type '" "SbVec2i32 &""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - ((SbBox2i32 const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox2i32 const *,int32_t &,int32_t &,int32_t &,int32_t &)\n" - " getBounds(SbBox2i32 const *,SbVec2i32 &,SbVec2i32 &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getMin" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - { - SbVec2i32 const &_result_ref = ((SbBox2i32 const *)arg1)->getMin(); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getMin" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - { - SbVec2i32 &_result_ref = (arg1)->getMin(); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox2i32 const *)\n" - " getMin(SbBox2i32 *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getMax" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - { - SbVec2i32 const &_result_ref = ((SbBox2i32 const *)arg1)->getMax(); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getMax" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - { - SbVec2i32 &_result_ref = (arg1)->getMax(); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox2i32 const *)\n" - " getMax(SbBox2i32 *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_extendBy" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_extendBy" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_extendBy" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - (arg1)->extendBy((SbVec2i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_extendBy" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_extendBy" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_extendBy" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - (arg1)->extendBy((SbBox2i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox2i32 *,SbVec2i32 const &)\n" - " extendBy(SbBox2i32 *,SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_makeEmpty" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_isEmpty" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (SbBool)((SbBox2i32 const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_hasArea" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (SbBool)((SbBox2i32 const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_intersect" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_intersect" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_intersect" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - result = (SbBool)((SbBox2i32 const *)arg1)->intersect((SbVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_intersect" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_intersect" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_intersect" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - result = (SbBool)((SbBox2i32 const *)arg1)->intersect((SbBox2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2i32_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2i32_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox2i32 const *,SbVec2i32 const &)\n" - " intersect(SbBox2i32 const *,SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getCenter" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = ((SbBox2i32 const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getOrigin" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_getOrigin" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getOrigin" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2i32_getOrigin" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getOrigin" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ((SbBox2i32 const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getSize" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2i32_getSize" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getSize" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2i32_getSize" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2i32_getSize" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ((SbBox2i32 const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2i32_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2i32_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2i32_getAspectRatio" "', argument " "1"" of type '" "SbBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (float)((SbBox2i32 const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = (SbBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2i32" "', argument " "1"" of type '" "SbBox2i32 *""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox2i32",0,0)) SWIG_fail; - result = (SoSFBox2i32 *)new SoSFBox2i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox2i32" "', argument " "1"" of type '" "SoSFBox2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox2i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox2i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_getTypeId" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - result = ((SoSFBox2i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_copyFrom" "', argument " "1"" of type '" "SoSFBox2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_isSame" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox2i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_getValue" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - { - SbBox2i32 const &_result_ref = ((SoSFBox2i32 const *)arg1)->getValue(); - result = (SbBox2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_setValue" "', argument " "1"" of type '" "SoSFBox2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32_setValue" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_setValue" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - (arg1)->setValue((SbBox2i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SoSFBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32___eq__" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32___eq__" "', argument " "2"" of type '" "SoSFBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32___eq__" "', argument " "2"" of type '" "SoSFBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2i32 * >(argp2); - result = (int)((SoSFBox2i32 const *)arg1)->operator ==((SoSFBox2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SoSFBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32___ne__" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32___ne__" "', argument " "2"" of type '" "SoSFBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32___ne__" "', argument " "2"" of type '" "SoSFBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2i32 * >(argp2); - result = (int)((SoSFBox2i32 const *)arg1)->operator !=((SoSFBox2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_initClass",0,0)) SWIG_fail; - SoSFBox2i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_setValue" "', argument " "1"" of type '" "SoSFBox2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox2i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox2i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox2i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox2i32_setValue" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - SbVec2i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_setValue" "', argument " "1"" of type '" "SoSFBox2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox2i32_setValue" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_setValue" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - (arg1)->setValue((SbVec2i32 const &)*arg2,(SbVec2i32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2i32_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox2i32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox2i32 *,SbBox2i32 const &)\n" - " setValue(SoSFBox2i32 *,int32_t,int32_t,int32_t,int32_t)\n" - " setValue(SoSFBox2i32 *,SbVec2i32 const &,SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2i32 *arg1 = (SoSFBox2i32 *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2i32_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2i32_getValue" "', argument " "1"" of type '" "SoSFBox2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2i32_getValue" "', argument " "2"" of type '" "SbBox2i32 &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2i32_getValue" "', argument " "2"" of type '" "SbBox2i32 &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - ((SoSFBox2i32 const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2i32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2i32_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2i32_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2i32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox2i32 const *)\n" - " getValue(SoSFBox2i32 const *,SbBox2i32 &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox2i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox2i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",0,0)) SWIG_fail; - result = (SbBox2f *)new SbBox2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbBox2f *)new SbBox2f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2f" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (SbBox2f *)new SbBox2f((SbVec2f const &)*arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2d const &""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBox2f *)new SbBox2f((SbBox2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (SbBox2f *)new SbBox2f((SbBox2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (SbBox2f *)new SbBox2f((SbBox2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2f__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2f__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2f__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2f__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2f'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox2f()\n" - " SbBox2f(float,float,float,float)\n" - " SbBox2f(SbVec2f const &,SbVec2f const &)\n" - " SbBox2f(SbBox2d const &)\n" - " SbBox2f(SbBox2s const &)\n" - " SbBox2f(SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2f_setBounds" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2f_setBounds" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbBox2f &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - { - SbBox2f &_result_ref = (arg1)->setBounds((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - { - SbBox2f &_result_ref = (arg1)->setBounds((SbBox2d const &)*arg2); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - { - SbBox2f &_result_ref = (arg1)->setBounds((SbBox2s const &)*arg2); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - { - SbBox2f &_result_ref = (arg1)->setBounds((SbBox2i32 const &)*arg2); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox2f *,float,float,float,float)\n" - " setBounds(SbBox2f *,SbVec2f const &,SbVec2f const &)\n" - " setBounds(SbBox2f *,SbBox2d const &)\n" - " setBounds(SbBox2f *,SbBox2s const &)\n" - " setBounds(SbBox2f *,SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getBounds" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - arg5 = reinterpret_cast< float * >(argp5); - ((SbBox2f const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getBounds" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ((SbBox2f const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox2f const *,float &,float &,float &,float &)\n" - " getBounds(SbBox2f const *,SbVec2f &,SbVec2f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMin" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f const &_result_ref = ((SbBox2f const *)arg1)->getMin(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMin" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f &_result_ref = (arg1)->getMin(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox2f const *)\n" - " getMin(SbBox2f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMax" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f const &_result_ref = ((SbBox2f const *)arg1)->getMax(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMax" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f &_result_ref = (arg1)->getMax(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox2f const *)\n" - " getMax(SbBox2f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_extendBy" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->extendBy((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_extendBy" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - (arg1)->extendBy((SbBox2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox2f *,SbVec2f const &)\n" - " extendBy(SbBox2f *,SbBox2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_makeEmpty" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_isEmpty" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBool)((SbBox2f const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_hasArea" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBool)((SbBox2f const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_intersect" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (SbBool)((SbBox2f const *)arg1)->intersect((SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_intersect" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (SbBool)((SbBox2f const *)arg1)->intersect((SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox2f const *,SbVec2f const &)\n" - " intersect(SbBox2f const *,SbBox2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getClosestPoint" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getClosestPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getClosestPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = ((SbBox2f const *)arg1)->getClosestPoint((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getCenter" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = ((SbBox2f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getOrigin" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SbBox2f const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getSize" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getSize" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getSize" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getSize" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getSize" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SbBox2f const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getAspectRatio" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (float)((SbBox2f const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f___eq__" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f___eq__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f___eq__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (int)SbBox2f___eq__(arg1,(SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f___ne__" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f___ne__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f___ne__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (int)SbBox2f___ne__(arg1,(SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2f" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox2f",0,0)) SWIG_fail; - result = (SoSFBox2f *)new SoSFBox2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox2f" "', argument " "1"" of type '" "SoSFBox2f *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_getTypeId" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - result = ((SoSFBox2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_copyFrom" "', argument " "1"" of type '" "SoSFBox2f *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_isSame" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox2f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_getValue" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - { - SbBox2f const &_result_ref = ((SoSFBox2f const *)arg1)->getValue(); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_setValue" "', argument " "1"" of type '" "SoSFBox2f *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f_setValue" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_setValue" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - (arg1)->setValue((SbBox2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SoSFBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f___eq__" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f___eq__" "', argument " "2"" of type '" "SoSFBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f___eq__" "', argument " "2"" of type '" "SoSFBox2f const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2f * >(argp2); - result = (int)((SoSFBox2f const *)arg1)->operator ==((SoSFBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SoSFBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f___ne__" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f___ne__" "', argument " "2"" of type '" "SoSFBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f___ne__" "', argument " "2"" of type '" "SoSFBox2f const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2f * >(argp2); - result = (int)((SoSFBox2f const *)arg1)->operator !=((SoSFBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_initClass",0,0)) SWIG_fail; - SoSFBox2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_setValue" "', argument " "1"" of type '" "SoSFBox2f *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox2f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox2f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_setValue" "', argument " "1"" of type '" "SoSFBox2f *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox2f_setValue" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_setValue" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setValue((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2f_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox2f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox2f *,SbBox2f const &)\n" - " setValue(SoSFBox2f *,float,float,float,float)\n" - " setValue(SoSFBox2f *,SbVec2f const &,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2f *arg1 = (SoSFBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2f_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2f_getValue" "', argument " "1"" of type '" "SoSFBox2f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2f_getValue" "', argument " "2"" of type '" "SbBox2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2f_getValue" "', argument " "2"" of type '" "SbBox2f &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - ((SoSFBox2f const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2f_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2f_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2f_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2f_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox2f const *)\n" - " getValue(SoSFBox2f const *,SbBox2f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",0,0)) SWIG_fail; - result = (SbVec2d *)new SbVec2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - double temp1[2] ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2d *)new SbVec2d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbVec2d *)new SbVec2d(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (SbVec2d *)new SbVec2d((SbVec2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (SbVec2d *)new SbVec2d((SbVec2b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = (SbVec2d *)new SbVec2d((SbVec2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2d" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (SbVec2d *)new SbVec2d((SbVec2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2d__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2d__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2d__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2d__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2d__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2d'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2d()\n" - " SbVec2d(double const [2])\n" - " SbVec2d(double,double)\n" - " SbVec2d(SbVec2f const &)\n" - " SbVec2d(SbVec2b const &)\n" - " SbVec2d(SbVec2s const &)\n" - " SbVec2d(SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - { - convert_SbVec2d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - { - SbVec2d &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2d &_result_ref = (arg1)->setValue((SbVec2f const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - arg2 = reinterpret_cast< SbVec2b * >(argp2); - { - SbVec2d &_result_ref = (arg1)->setValue((SbVec2b const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2d &_result_ref = (arg1)->setValue((SbVec2s const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2d &_result_ref = (arg1)->setValue((SbVec2i32 const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2d *,double const [2])\n" - " setValue(SbVec2d *,double,double)\n" - " setValue(SbVec2d *,SbVec2f const &)\n" - " setValue(SbVec2d *,SbVec2b const &)\n" - " setValue(SbVec2d *,SbVec2s const &)\n" - " setValue(SbVec2d *,SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2 ; - int res2 = SWIG_TMPOBJ ; - double temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_getValue" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ((SbVec2d const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_equals" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_equals" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_equals" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec2d const *)arg1)->equals((SbVec2d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_dot" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_dot" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_dot" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (double)((SbVec2d const *)arg1)->dot((SbVec2d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_length" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (double)((SbVec2d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_sqrLength" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (double)((SbVec2d const *)arg1)->sqrLength(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_normalize" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_negate" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___imul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___idiv__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___iadd__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___iadd__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___iadd__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2d &_result_ref = (arg1)->operator +=((SbVec2d const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___isub__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___isub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___isub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2d &_result_ref = (arg1)->operator -=((SbVec2d const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___neg__" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = ((SbVec2d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_output" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___add__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___add__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___add__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = SbVec2d___add__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___sub__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___sub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___sub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = SbVec2d___sub__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___mul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___rmul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___div__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___eq__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___eq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___eq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (int)SbVec2d___eq__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___nq__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___nq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___nq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (int)SbVec2d___nq__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___getitem__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec2d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___setitem__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec2d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2d" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",0,0)) SWIG_fail; - result = (SbBox2d *)new SbBox2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2d" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbBox2d *)new SbBox2d(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2d" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (SbBox2d *)new SbBox2d((SbVec2d const &)*arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2f const &""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBox2d *)new SbBox2d((SbBox2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2s const &""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (SbBox2d *)new SbBox2d((SbBox2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbBox2i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox2i32 * >(argp1); - result = (SbBox2d *)new SbBox2d((SbBox2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2d__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2d__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2d__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2d__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2d'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox2d()\n" - " SbBox2d(double,double,double,double)\n" - " SbBox2d(SbVec2d const &,SbVec2d const &)\n" - " SbBox2d(SbBox2f const &)\n" - " SbBox2d(SbBox2s const &)\n" - " SbBox2d(SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2d_setBounds" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2d_setBounds" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - { - SbBox2d &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - { - SbBox2d &_result_ref = (arg1)->setBounds((SbVec2d const &)*arg2,(SbVec2d const &)*arg3); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - { - SbBox2d &_result_ref = (arg1)->setBounds((SbBox2f const &)*arg2); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - { - SbBox2d &_result_ref = (arg1)->setBounds((SbBox2s const &)*arg2); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbBox2i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox2i32 * >(argp2); - { - SbBox2d &_result_ref = (arg1)->setBounds((SbBox2i32 const &)*arg2); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox2d *,double,double,double,double)\n" - " setBounds(SbBox2d *,SbVec2d const &,SbVec2d const &)\n" - " setBounds(SbBox2d *,SbBox2f const &)\n" - " setBounds(SbBox2d *,SbBox2s const &)\n" - " setBounds(SbBox2d *,SbBox2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - double *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getBounds" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - arg5 = reinterpret_cast< double * >(argp5); - ((SbBox2d const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getBounds" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "SbVec2d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "SbVec2d &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "SbVec2d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "SbVec2d &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - ((SbBox2d const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox2d const *,double &,double &,double &,double &)\n" - " getBounds(SbBox2d const *,SbVec2d &,SbVec2d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMin" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d const &_result_ref = ((SbBox2d const *)arg1)->getMin(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMin" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d &_result_ref = (arg1)->getMin(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox2d const *)\n" - " getMin(SbBox2d *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMax" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d const &_result_ref = ((SbBox2d const *)arg1)->getMax(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMax" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d &_result_ref = (arg1)->getMax(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox2d const *)\n" - " getMax(SbBox2d *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_extendBy" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - (arg1)->extendBy((SbVec2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_extendBy" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - (arg1)->extendBy((SbBox2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox2d *,SbVec2d const &)\n" - " extendBy(SbBox2d *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_makeEmpty" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_isEmpty" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBool)((SbBox2d const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_hasArea" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBool)((SbBox2d const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_intersect" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (SbBool)((SbBox2d const *)arg1)->intersect((SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_intersect" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (SbBool)((SbBox2d const *)arg1)->intersect((SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox2d const *,SbVec2d const &)\n" - " intersect(SbBox2d const *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getClosestPoint" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getClosestPoint" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getClosestPoint" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = ((SbBox2d const *)arg1)->getClosestPoint((SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_findIntersection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - SbVec2d *arg4 = 0 ; - SbVec2d *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_findIntersection",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_findIntersection" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_findIntersection" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_findIntersection" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2d_findIntersection" "', argument " "4"" of type '" "SbVec2d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "4"" of type '" "SbVec2d &""'"); - } - arg4 = reinterpret_cast< SbVec2d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2d_findIntersection" "', argument " "5"" of type '" "SbVec2d &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "5"" of type '" "SbVec2d &""'"); - } - arg5 = reinterpret_cast< SbVec2d * >(argp5); - result = (SbBool)((SbBox2d const *)arg1)->findIntersection((SbVec2d const &)*arg2,(SbVec2d const &)*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getCenter" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = ((SbBox2d const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getOrigin" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbBox2d const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getSize" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getSize" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getSize" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getSize" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getSize" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbBox2d const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getAspectRatio" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (double)((SbBox2d const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d___eq__" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d___eq__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d___eq__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (int)SbBox2d___eq__(arg1,(SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d___ne__" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d___ne__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d___ne__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (int)SbBox2d___ne__(arg1,(SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setValue" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - { - SbBox2d &_result_ref = SbBox2d_setValue(arg1,(SbBox2d const &)*arg2); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2d" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox2d",0,0)) SWIG_fail; - result = (SoSFBox2d *)new SoSFBox2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox2d" "', argument " "1"" of type '" "SoSFBox2d *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox2d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox2d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_getTypeId" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - result = ((SoSFBox2d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_copyFrom" "', argument " "1"" of type '" "SoSFBox2d *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_isSame" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox2d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_getValue" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - { - SbBox2d const &_result_ref = ((SoSFBox2d const *)arg1)->getValue(); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_setValue" "', argument " "1"" of type '" "SoSFBox2d *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - (arg1)->setValue((SbBox2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SoSFBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d___eq__" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d___eq__" "', argument " "2"" of type '" "SoSFBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d___eq__" "', argument " "2"" of type '" "SoSFBox2d const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2d * >(argp2); - result = (int)((SoSFBox2d const *)arg1)->operator ==((SoSFBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SoSFBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d___ne__" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d___ne__" "', argument " "2"" of type '" "SoSFBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d___ne__" "', argument " "2"" of type '" "SoSFBox2d const &""'"); - } - arg2 = reinterpret_cast< SoSFBox2d * >(argp2); - result = (int)((SoSFBox2d const *)arg1)->operator !=((SoSFBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_initClass",0,0)) SWIG_fail; - SoSFBox2d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_setValue" "', argument " "1"" of type '" "SoSFBox2d *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox2d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox2d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox2d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox2d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_setValue" "', argument " "1"" of type '" "SoSFBox2d *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox2d_setValue" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_setValue" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - (arg1)->setValue((SbVec2d const &)*arg2,(SbVec2d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2d_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox2d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox2d *,SbBox2d const &)\n" - " setValue(SoSFBox2d *,double,double,double,double)\n" - " setValue(SoSFBox2d *,SbVec2d const &,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox2d *arg1 = (SoSFBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox2d_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox2d_getValue" "', argument " "1"" of type '" "SoSFBox2d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox2d_getValue" "', argument " "2"" of type '" "SbBox2d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox2d_getValue" "', argument " "2"" of type '" "SbBox2d &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - ((SoSFBox2d const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox2d_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2d_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox2d_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox2d_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox2d const *)\n" - " getValue(SoSFBox2d const *,SbBox2d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",0,0)) SWIG_fail; - result = (SbBox3s *)new SbBox3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3s" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3s" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3s" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - result = (SbBox3s *)new SbBox3s(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3s" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (SbBox3s *)new SbBox3s((SbVec3s const &)*arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (SbBox3s *)new SbBox3s((SbBox3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBox3s *)new SbBox3s((SbBox3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (SbBox3s *)new SbBox3s((SbBox3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3s__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3s__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3s__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3s'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox3s()\n" - " SbBox3s(short,short,short,short,short,short)\n" - " SbBox3s(SbVec3s const &,SbVec3s const &)\n" - " SbBox3s(SbBox3i32 const &)\n" - " SbBox3s(SbBox3f const &)\n" - " SbBox3s(SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - short arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - short val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3s_setBounds" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3s_setBounds" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3s_setBounds" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - ecode7 = SWIG_AsVal_short(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3s_setBounds" "', argument " "7"" of type '" "short""'"); - } - arg7 = static_cast< short >(val7); - { - SbBox3s &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - { - SbBox3s &_result_ref = (arg1)->setBounds((SbVec3s const &)*arg2,(SbVec3s const &)*arg3); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - { - SbBox3s &_result_ref = (arg1)->setBounds((SbBox3i32 const &)*arg2); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - { - SbBox3s &_result_ref = (arg1)->setBounds((SbBox3f const &)*arg2); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - { - SbBox3s &_result_ref = (arg1)->setBounds((SbBox3d const &)*arg2); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox3s *,short,short,short,short,short,short)\n" - " setBounds(SbBox3s *,SbVec3s const &,SbVec3s const &)\n" - " setBounds(SbBox3s *,SbBox3i32 const &)\n" - " setBounds(SbBox3s *,SbBox3f const &)\n" - " setBounds(SbBox3s *,SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - short *arg5 = 0 ; - short *arg6 = 0 ; - short *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getBounds" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - arg5 = reinterpret_cast< short * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3s_getBounds" "', argument " "6"" of type '" "short &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "6"" of type '" "short &""'"); - } - arg6 = reinterpret_cast< short * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3s_getBounds" "', argument " "7"" of type '" "short &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "7"" of type '" "short &""'"); - } - arg7 = reinterpret_cast< short * >(argp7); - ((SbBox3s const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getBounds" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ((SbBox3s const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox3s const *,short &,short &,short &,short &,short &,short &)\n" - " getBounds(SbBox3s const *,SbVec3s &,SbVec3s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMin" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s const &_result_ref = ((SbBox3s const *)arg1)->getMin(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMin" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s &_result_ref = (arg1)->getMin(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox3s const *)\n" - " getMin(SbBox3s *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMax" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s const &_result_ref = ((SbBox3s const *)arg1)->getMax(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMax" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s &_result_ref = (arg1)->getMax(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox3s const *)\n" - " getMax(SbBox3s *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_extendBy" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - (arg1)->extendBy((SbVec3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_extendBy" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - (arg1)->extendBy((SbBox3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox3s *,SbVec3s const &)\n" - " extendBy(SbBox3s *,SbBox3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_makeEmpty" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_isEmpty" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (SbBool)((SbBox3s const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_hasVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_hasVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_hasVolume" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (SbBool)((SbBox3s const *)arg1)->hasVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getVolume" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (int)((SbBox3s const *)arg1)->getVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_intersect" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (SbBool)((SbBox3s const *)arg1)->intersect((SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_intersect" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (SbBool)((SbBox3s const *)arg1)->intersect((SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox3s const *,SbVec3s const &)\n" - " intersect(SbBox3s const *,SbBox3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getClosestPoint" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbBox3s const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getCenter" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = ((SbBox3s const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getOrigin" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getOrigin" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - ((SbBox3s const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getSize" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getSize" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getSize" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getSize" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - ((SbBox3s const *)arg1)->getSize(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s___eq__" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s___eq__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s___eq__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (int)SbBox3s___eq__(arg1,(SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s___ne__" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s___ne__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s___ne__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (int)SbBox3s___ne__(arg1,(SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3s" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox3s",0,0)) SWIG_fail; - result = (SoSFBox3s *)new SoSFBox3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox3s" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox3s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox3s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getTypeId" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - result = ((SoSFBox3s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_copyFrom" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_isSame" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox3s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getValue" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - { - SbBox3s const &_result_ref = ((SoSFBox3s const *)arg1)->getValue(); - result = (SbBox3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - (arg1)->setValue((SbBox3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoSFBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s___eq__" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s___eq__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s___eq__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3s * >(argp2); - result = (int)((SoSFBox3s const *)arg1)->operator ==((SoSFBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoSFBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s___ne__" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s___ne__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s___ne__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3s * >(argp2); - result = (int)((SoSFBox3s const *)arg1)->operator !=((SoSFBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_initClass",0,0)) SWIG_fail; - SoSFBox3s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - short arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - short val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox3s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFBox3s_setValue" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - ecode7 = SWIG_AsVal_short(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFBox3s_setValue" "', argument " "7"" of type '" "short""'"); - } - arg7 = static_cast< short >(val7); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->setValue((SbVec3s const &)*arg2,(SbVec3s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox3s *,SbBox3s const &)\n" - " setValue(SoSFBox3s *,short,short,short,short,short,short)\n" - " setValue(SoSFBox3s *,SbVec3s const &,SbVec3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getValue" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_getValue" "', argument " "2"" of type '" "SbBox3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_getValue" "', argument " "2"" of type '" "SbBox3s &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - ((SoSFBox3s const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3s_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox3s const *)\n" - " getValue(SoSFBox3s const *,SbBox3s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",0,0)) SWIG_fail; - result = (SbVec3i32 *)new SbVec3i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "int32_t const [3]""'"); - } - arg1 = reinterpret_cast< int32_t * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((int32_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - int32_t arg2 ; - int32_t arg3 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3i32" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3i32" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - result = (SbVec3i32 *)new SbVec3i32(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3ui32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3ui32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3ui32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3ui32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3ui32 * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((SbVec3ui32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3b const &""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((SbVec3b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((SbVec3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3i32" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (SbVec3i32 *)new SbVec3i32((SbVec3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3i32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3i32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3i32__SWIG_7(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3i32__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3i32'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec3i32()\n" - " SbVec3i32(int32_t const [3])\n" - " SbVec3i32(int32_t,int32_t,int32_t)\n" - " SbVec3i32(SbVec3ui32 const &)\n" - " SbVec3i32(SbVec3b const &)\n" - " SbVec3i32(SbVec3s const &)\n" - " SbVec3i32(SbVec3f const &)\n" - " SbVec3i32(SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "int32_t const [3]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((int32_t const (*))arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - { - SbVec3i32 &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3ui32 * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((SbVec3ui32 const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3b const &""'"); - } - arg2 = reinterpret_cast< SbVec3b * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((SbVec3b const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((SbVec3s const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_setValue" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_6(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3i32_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec3i32 *,int32_t const [3])\n" - " setValue(SbVec3i32 *,int32_t,int32_t,int32_t)\n" - " setValue(SbVec3i32 *,SbVec3ui32 const &)\n" - " setValue(SbVec3i32 *,SbVec3b const &)\n" - " setValue(SbVec3i32 *,SbVec3s const &)\n" - " setValue(SbVec3i32 *,SbVec3f const &)\n" - " setValue(SbVec3i32 *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_getValue" "', argument " "1"" of type '" "SbVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = (int32_t *)((SbVec3i32 const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_getValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_getValue" "', argument " "1"" of type '" "SbVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3i32_getValue" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_getValue" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ((SbVec3i32 const *)arg1)->getValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_getValue__SWIG_0(self, args); - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3i32_getValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3i32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec3i32 const *)\n" - " getValue(SbVec3i32 const *,int32_t &,int32_t &,int32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_dot" "', argument " "1"" of type '" "SbVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32_dot" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32_dot" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - result = ((SbVec3i32 const *)arg1)->dot((SbVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32_negate" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___imul__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3i32___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___imul__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3i32___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3i32___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3i32___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3i32___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec3i32 *,int)\n" - " operator *=(SbVec3i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___idiv__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3i32___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___idiv__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3i32___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3i32___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3i32___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3i32___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec3i32 *,int)\n" - " operator /=(SbVec3i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___iadd__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32___iadd__" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32___iadd__" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->operator +=((SbVec3i32 const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___isub__" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3i32___isub__" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3i32___isub__" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3i32 &_result_ref = (arg1)->operator -=((SbVec3i32 const &)*arg2); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3i32___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3i32___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3i32___neg__" "', argument " "1"" of type '" "SbVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = ((SbVec3i32 const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3i32(static_cast< const SbVec3i32& >(result))), SWIGTYPE_p_SbVec3i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3i32" "', argument " "1"" of type '" "SbVec3i32 *""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",0,0)) SWIG_fail; - result = (SbBox3i32 *)new SbBox3i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - int32_t arg6 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3i32" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3i32" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3i32" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3i32" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3i32" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - result = (SbBox3i32 *)new SbBox3i32(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3i32" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3i32" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - result = (SbBox3i32 *)new SbBox3i32((SbVec3i32 const &)*arg1,(SbVec3i32 const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (SbBox3i32 *)new SbBox3i32((SbBox3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBox3i32 *)new SbBox3i32((SbBox3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3i32" "', argument " "1"" of type '" "SbBox3d const &""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (SbBox3i32 *)new SbBox3i32((SbBox3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3i32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3i32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3i32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3i32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3i32__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3i32__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3i32__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3i32'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox3i32()\n" - " SbBox3i32(int32_t,int32_t,int32_t,int32_t,int32_t,int32_t)\n" - " SbBox3i32(SbVec3i32 const &,SbVec3i32 const &)\n" - " SbBox3i32(SbBox3s const &)\n" - " SbBox3i32(SbBox3f const &)\n" - " SbBox3i32(SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - int32_t arg6 ; - int32_t arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_setBounds" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3i32_setBounds" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3i32_setBounds" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3i32_setBounds" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3i32_setBounds" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3i32_setBounds" "', argument " "7"" of type '" "int32_t""'"); - } - arg7 = static_cast< int32_t >(val7); - { - SbBox3i32 &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - SbVec3i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_setBounds" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_setBounds" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_setBounds" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - { - SbBox3i32 &_result_ref = (arg1)->setBounds((SbVec3i32 const &)*arg2,(SbVec3i32 const &)*arg3); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_setBounds" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - { - SbBox3i32 &_result_ref = (arg1)->setBounds((SbBox3s const &)*arg2); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_setBounds" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - { - SbBox3i32 &_result_ref = (arg1)->setBounds((SbBox3f const &)*arg2); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_setBounds" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_setBounds" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - { - SbBox3i32 &_result_ref = (arg1)->setBounds((SbBox3d const &)*arg2); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3i32_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox3i32 *,int32_t,int32_t,int32_t,int32_t,int32_t,int32_t)\n" - " setBounds(SbBox3i32 *,SbVec3i32 const &,SbVec3i32 const &)\n" - " setBounds(SbBox3i32 *,SbBox3s const &)\n" - " setBounds(SbBox3i32 *,SbBox3f const &)\n" - " setBounds(SbBox3i32 *,SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t *arg4 = 0 ; - int32_t *arg5 = 0 ; - int32_t *arg6 = 0 ; - int32_t *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getBounds" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getBounds" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_getBounds" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3i32_getBounds" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3i32_getBounds" "', argument " "5"" of type '" "int32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "5"" of type '" "int32_t &""'"); - } - arg5 = reinterpret_cast< int32_t * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3i32_getBounds" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3i32_getBounds" "', argument " "7"" of type '" "int32_t &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "7"" of type '" "int32_t &""'"); - } - arg7 = reinterpret_cast< int32_t * >(argp7); - ((SbBox3i32 const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - SbVec3i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getBounds" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getBounds" "', argument " "2"" of type '" "SbVec3i32 &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "2"" of type '" "SbVec3i32 &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3i32, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_getBounds" "', argument " "3"" of type '" "SbVec3i32 &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getBounds" "', argument " "3"" of type '" "SbVec3i32 &""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - ((SbBox3i32 const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox3i32 const *,int32_t &,int32_t &,int32_t &,int32_t &,int32_t &,int32_t &)\n" - " getBounds(SbBox3i32 const *,SbVec3i32 &,SbVec3i32 &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getMin" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - { - SbVec3i32 const &_result_ref = ((SbBox3i32 const *)arg1)->getMin(); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getMin" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - { - SbVec3i32 &_result_ref = (arg1)->getMin(); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox3i32 const *)\n" - " getMin(SbBox3i32 *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getMax" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - { - SbVec3i32 const &_result_ref = ((SbBox3i32 const *)arg1)->getMax(); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getMax" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - { - SbVec3i32 &_result_ref = (arg1)->getMax(); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox3i32 const *)\n" - " getMax(SbBox3i32 *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_extendBy" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - (arg1)->extendBy((SbVec3i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_extendBy" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - (arg1)->extendBy((SbBox3i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_extendBy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_extendBy" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->extendBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_extendBy__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_extendBy__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox3i32 *,SbVec3i32 const &)\n" - " extendBy(SbBox3i32 *,SbBox3i32 const &)\n" - " extendBy(SbBox3i32 *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_transform" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_makeEmpty" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_isEmpty" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (SbBool)((SbBox3i32 const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_hasVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_hasVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_hasVolume" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (SbBool)((SbBox3i32 const *)arg1)->hasVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getVolume" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (float)((SbBox3i32 const *)arg1)->getVolume(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_intersect" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - result = (SbBool)((SbBox3i32 const *)arg1)->intersect((SbVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_intersect" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - result = (SbBool)((SbBox3i32 const *)arg1)->intersect((SbBox3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_intersect" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbBox3i32 const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_intersect__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3i32_intersect__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3i32_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox3i32 const *,SbVec3i32 const &)\n" - " intersect(SbBox3i32 const *,SbBox3i32 const &)\n" - " intersect(SbBox3i32 const *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_outside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbMatrix *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_outside",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_outside" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_outside" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_outside" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)((SbBox3i32 const *)arg1)->outside((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getClosestPoint" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbBox3i32 const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getCenter" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = ((SbBox3i32 const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getOrigin" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getOrigin" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getOrigin" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_getOrigin" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getOrigin" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3i32_getOrigin" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getOrigin" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ((SbBox3i32 const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getSize" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getSize" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getSize" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_getSize" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getSize" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3i32_getSize" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ((SbBox3i32 const *)arg1)->getSize(*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3i32_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3i32_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3i32_getSpan" "', argument " "1"" of type '" "SbBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3i32_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3i32_getSpan" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getSpan" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3i32_getSpan" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3i32_getSpan" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3i32 const *)arg1)->getSpan((SbVec3f const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = (SbBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3i32" "', argument " "1"" of type '" "SbBox3i32 *""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox3i32",0,0)) SWIG_fail; - result = (SoSFBox3i32 *)new SoSFBox3i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox3i32" "', argument " "1"" of type '" "SoSFBox3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox3i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox3i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_getTypeId" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - result = ((SoSFBox3i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_copyFrom" "', argument " "1"" of type '" "SoSFBox3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_isSame" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox3i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_getValue" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - { - SbBox3i32 const &_result_ref = ((SoSFBox3i32 const *)arg1)->getValue(); - result = (SbBox3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_setValue" "', argument " "1"" of type '" "SoSFBox3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32_setValue" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_setValue" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - (arg1)->setValue((SbBox3i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SoSFBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32___eq__" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32___eq__" "', argument " "2"" of type '" "SoSFBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32___eq__" "', argument " "2"" of type '" "SoSFBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3i32 * >(argp2); - result = (int)((SoSFBox3i32 const *)arg1)->operator ==((SoSFBox3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SoSFBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32___ne__" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32___ne__" "', argument " "2"" of type '" "SoSFBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32___ne__" "', argument " "2"" of type '" "SoSFBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3i32 * >(argp2); - result = (int)((SoSFBox3i32 const *)arg1)->operator !=((SoSFBox3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_initClass",0,0)) SWIG_fail; - SoSFBox3i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - int32_t arg6 ; - int32_t arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_setValue",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_setValue" "', argument " "1"" of type '" "SoSFBox3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox3i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox3i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox3i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox3i32_setValue" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFBox3i32_setValue" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFBox3i32_setValue" "', argument " "7"" of type '" "int32_t""'"); - } - arg7 = static_cast< int32_t >(val7); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - SbVec3i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_setValue" "', argument " "1"" of type '" "SoSFBox3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox3i32_setValue" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_setValue" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - (arg1)->setValue((SbVec3i32 const &)*arg2,(SbVec3i32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3i32_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox3i32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox3i32 *,SbBox3i32 const &)\n" - " setValue(SoSFBox3i32 *,int32_t,int32_t,int32_t,int32_t,int32_t,int32_t)\n" - " setValue(SoSFBox3i32 *,SbVec3i32 const &,SbVec3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3i32 *arg1 = (SoSFBox3i32 *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3i32_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3i32_getValue" "', argument " "1"" of type '" "SoSFBox3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3i32_getValue" "', argument " "2"" of type '" "SbBox3i32 &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3i32_getValue" "', argument " "2"" of type '" "SbBox3i32 &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - ((SoSFBox3i32 const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3i32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3i32_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3i32_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3i32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox3i32 const *)\n" - " getValue(SoSFBox3i32 const *,SbBox3i32 &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox3i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox3i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox3f",0,0)) SWIG_fail; - result = (SoSFBox3f *)new SoSFBox3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox3f" "', argument " "1"" of type '" "SoSFBox3f *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_getTypeId" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - result = ((SoSFBox3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_copyFrom" "', argument " "1"" of type '" "SoSFBox3f *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_isSame" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox3f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_getValue" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - { - SbBox3f const &_result_ref = ((SoSFBox3f const *)arg1)->getValue(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_setValue" "', argument " "1"" of type '" "SoSFBox3f *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->setValue((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SoSFBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f___eq__" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f___eq__" "', argument " "2"" of type '" "SoSFBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f___eq__" "', argument " "2"" of type '" "SoSFBox3f const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3f * >(argp2); - result = (int)((SoSFBox3f const *)arg1)->operator ==((SoSFBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SoSFBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f___ne__" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f___ne__" "', argument " "2"" of type '" "SoSFBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f___ne__" "', argument " "2"" of type '" "SoSFBox3f const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3f * >(argp2); - result = (int)((SoSFBox3f const *)arg1)->operator !=((SoSFBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_initClass",0,0)) SWIG_fail; - SoSFBox3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_setValue",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_setValue" "', argument " "1"" of type '" "SoSFBox3f *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox3f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFBox3f_setValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFBox3f_setValue" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_setValue" "', argument " "1"" of type '" "SoSFBox3f *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3f_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox3f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox3f *,SbBox3f const &)\n" - " setValue(SoSFBox3f *,float,float,float,float,float,float)\n" - " setValue(SoSFBox3f *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3f *arg1 = (SoSFBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3f_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3f_getValue" "', argument " "1"" of type '" "SoSFBox3f const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3f_getValue" "', argument " "2"" of type '" "SbBox3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3f_getValue" "', argument " "2"" of type '" "SbBox3f &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ((SoSFBox3f const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3f_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3f_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3f_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3f_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox3f const *)\n" - " getValue(SoSFBox3f const *,SbBox3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",0,0)) SWIG_fail; - result = (SbBox3d *)new SbBox3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3d" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3d" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3d" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - result = (SbBox3d *)new SbBox3d(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3d" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3d" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbBox3d *)new SbBox3d((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBox3d *)new SbBox3d((SbBox3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3s const &""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - result = (SbBox3d *)new SbBox3d((SbBox3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3d" "', argument " "1"" of type '" "SbBox3i32 const &""'"); - } - arg1 = reinterpret_cast< SbBox3i32 * >(argp1); - result = (SbBox3d *)new SbBox3d((SbBox3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3d__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3d__SWIG_5(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3d__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3d__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3d'.\n" - " Possible C/C++ prototypes are:\n" - " SbBox3d()\n" - " SbBox3d(double,double,double,double,double,double)\n" - " SbBox3d(SbVec3d const &,SbVec3d const &)\n" - " SbBox3d(SbBox3f const &)\n" - " SbBox3d(SbBox3s const &)\n" - " SbBox3d(SbBox3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_setBounds" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3d_setBounds" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3d_setBounds" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3d_setBounds" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3d_setBounds" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3d_setBounds" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - { - SbBox3d &_result_ref = (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_setBounds" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_setBounds" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_setBounds" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - { - SbBox3d &_result_ref = (arg1)->setBounds((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_setBounds" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - { - SbBox3d &_result_ref = (arg1)->setBounds((SbBox3f const &)*arg2); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_setBounds" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - { - SbBox3d &_result_ref = (arg1)->setBounds((SbBox3s const &)*arg2); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbBox3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_setBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_setBounds" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_setBounds" "', argument " "2"" of type '" "SbBox3i32 const &""'"); - } - arg2 = reinterpret_cast< SbBox3i32 * >(argp2); - { - SbBox3d &_result_ref = (arg1)->setBounds((SbBox3i32 const &)*arg2); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_setBounds__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_setBounds__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_setBounds__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3d_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_setBounds'.\n" - " Possible C/C++ prototypes are:\n" - " setBounds(SbBox3d *,double,double,double,double,double,double)\n" - " setBounds(SbBox3d *,SbVec3d const &,SbVec3d const &)\n" - " setBounds(SbBox3d *,SbBox3f const &)\n" - " setBounds(SbBox3d *,SbBox3s const &)\n" - " setBounds(SbBox3d *,SbBox3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - double *arg5 = 0 ; - double *arg6 = 0 ; - double *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getBounds" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - arg5 = reinterpret_cast< double * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3d_getBounds" "', argument " "6"" of type '" "double &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "6"" of type '" "double &""'"); - } - arg6 = reinterpret_cast< double * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3d_getBounds" "', argument " "7"" of type '" "double &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "7"" of type '" "double &""'"); - } - arg7 = reinterpret_cast< double * >(argp7); - ((SbBox3d const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getBounds" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getBounds" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_getBounds" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getBounds" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbBox3d const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_getBounds'.\n" - " Possible C/C++ prototypes are:\n" - " getBounds(SbBox3d const *,double &,double &,double &,double &,double &,double &)\n" - " getBounds(SbBox3d const *,SbVec3d &,SbVec3d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getMin" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - { - SbVec3d const &_result_ref = ((SbBox3d const *)arg1)->getMin(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getMin" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - { - SbVec3d &_result_ref = (arg1)->getMin(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_getMin'.\n" - " Possible C/C++ prototypes are:\n" - " getMin(SbBox3d const *)\n" - " getMin(SbBox3d *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getMax" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - { - SbVec3d const &_result_ref = ((SbBox3d const *)arg1)->getMax(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getMax" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - { - SbVec3d &_result_ref = (arg1)->getMax(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_getMax'.\n" - " Possible C/C++ prototypes are:\n" - " getMax(SbBox3d const *)\n" - " getMax(SbBox3d *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_extendBy" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_extendBy" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_extendBy" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->extendBy((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_extendBy" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_extendBy" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_extendBy" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - (arg1)->extendBy((SbBox3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_extendBy'.\n" - " Possible C/C++ prototypes are:\n" - " extendBy(SbBox3d *,SbVec3d const &)\n" - " extendBy(SbBox3d *,SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_transform" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - (arg1)->transform((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_makeEmpty" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_isEmpty" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (SbBool)((SbBox3d const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_hasVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_hasVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_hasVolume" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (SbBool)((SbBox3d const *)arg1)->hasVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getVolume" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = (double)((SbBox3d const *)arg1)->getVolume(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_intersect" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_intersect" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_intersect" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbBool)((SbBox3d const *)arg1)->intersect((SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_intersect" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_intersect" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_intersect" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - result = (SbBool)((SbBox3d const *)arg1)->intersect((SbBox3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbBox3d const *,SbVec3d const &)\n" - " intersect(SbBox3d const *,SbBox3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getClosestPoint" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = ((SbBox3d const *)arg1)->getClosestPoint((SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_outside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbDPMatrix *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_outside",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_outside" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_outside" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_outside" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_outside" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_outside" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)((SbBox3d const *)arg1)->outside((SbDPMatrix const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getCenter" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = ((SbBox3d const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getOrigin" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3d_getOrigin" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getOrigin" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - ((SbBox3d const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getSize" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getSize" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSize" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_getSize" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSize" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3d_getSize" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSize" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - ((SbBox3d const *)arg1)->getSize(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getSize" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - result = ((SbBox3d const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getSize__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3d_getSize__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3d_getSize'.\n" - " Possible C/C++ prototypes are:\n" - " getSize(SbBox3d const *,double &,double &,double &)\n" - " getSize(SbBox3d const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_getSpan" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3d_getSpan" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSpan" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3d_getSpan" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSpan" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3d_getSpan" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3d_getSpan" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - ((SbBox3d const *)arg1)->getSpan((SbVec3d const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3d_output" "', argument " "1"" of type '" "SbBox3d const *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbBox3d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3d *arg1 = (SbBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3d" "', argument " "1"" of type '" "SbBox3d *""'"); - } - arg1 = reinterpret_cast< SbBox3d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox3d",0,0)) SWIG_fail; - result = (SoSFBox3d *)new SoSFBox3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox3d" "', argument " "1"" of type '" "SoSFBox3d *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox3d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox3d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_getTypeId" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - result = ((SoSFBox3d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_copyFrom" "', argument " "1"" of type '" "SoSFBox3d *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_isSame" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox3d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_getValue" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - { - SbBox3d const &_result_ref = ((SoSFBox3d const *)arg1)->getValue(); - result = (SbBox3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_setValue" "', argument " "1"" of type '" "SoSFBox3d *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d_setValue" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_setValue" "', argument " "2"" of type '" "SbBox3d const &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - (arg1)->setValue((SbBox3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SoSFBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d___eq__" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d___eq__" "', argument " "2"" of type '" "SoSFBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d___eq__" "', argument " "2"" of type '" "SoSFBox3d const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3d * >(argp2); - result = (int)((SoSFBox3d const *)arg1)->operator ==((SoSFBox3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SoSFBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d___ne__" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d___ne__" "', argument " "2"" of type '" "SoSFBox3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d___ne__" "', argument " "2"" of type '" "SoSFBox3d const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3d * >(argp2); - result = (int)((SoSFBox3d const *)arg1)->operator !=((SoSFBox3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_initClass",0,0)) SWIG_fail; - SoSFBox3d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_setValue",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_setValue" "', argument " "1"" of type '" "SoSFBox3d *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox3d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFBox3d_setValue" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFBox3d_setValue" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_setValue" "', argument " "1"" of type '" "SoSFBox3d *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3d_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox3d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFBox3d *,SbBox3d const &)\n" - " setValue(SoSFBox3d *,double,double,double,double,double,double)\n" - " setValue(SoSFBox3d *,SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3d *arg1 = (SoSFBox3d *) 0 ; - SbBox3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3d_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3d_getValue" "', argument " "1"" of type '" "SoSFBox3d const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3d_getValue" "', argument " "2"" of type '" "SbBox3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3d_getValue" "', argument " "2"" of type '" "SbBox3d &""'"); - } - arg2 = reinterpret_cast< SbBox3d * >(argp2); - ((SoSFBox3d const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3d_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3d_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3d_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3d_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SoSFBox3d const *)\n" - " getValue(SoSFBox3d const *,SbBox3d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFColorRGBA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFColorRGBA",0,0)) SWIG_fail; - result = (SoSFColorRGBA *)new SoSFColorRGBA(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColorRGBA, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFColorRGBA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFColorRGBA",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFColorRGBA" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFColorRGBA::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_getClassTypeId",0,0)) SWIG_fail; - result = SoSFColorRGBA::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_getTypeId" "', argument " "1"" of type '" "SoSFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - result = ((SoSFColorRGBA const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_copyFrom" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_isSame" "', argument " "1"" of type '" "SoSFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFColorRGBA const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_getValue" "', argument " "1"" of type '" "SoSFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - { - SbColor4f const &_result_ref = ((SoSFColorRGBA const *)arg1)->getValue(); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - (arg1)->setValue((SbColor4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SoSFColorRGBA *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA___eq__" "', argument " "1"" of type '" "SoSFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColorRGBA, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA___eq__" "', argument " "2"" of type '" "SoSFColorRGBA const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA___eq__" "', argument " "2"" of type '" "SoSFColorRGBA const &""'"); - } - arg2 = reinterpret_cast< SoSFColorRGBA * >(argp2); - result = (int)((SoSFColorRGBA const *)arg1)->operator ==((SoSFColorRGBA const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SoSFColorRGBA *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA___ne__" "', argument " "1"" of type '" "SoSFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColorRGBA, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA___ne__" "', argument " "2"" of type '" "SoSFColorRGBA const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA___ne__" "', argument " "2"" of type '" "SoSFColorRGBA const &""'"); - } - arg2 = reinterpret_cast< SoSFColorRGBA * >(argp2); - result = (int)((SoSFColorRGBA const *)arg1)->operator !=((SoSFColorRGBA const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_initClass",0,0)) SWIG_fail; - SoSFColorRGBA::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColorRGBA_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColorRGBA_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFColorRGBA_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_setValue" "', argument " "2"" of type '" "float const [4]""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColorRGBA_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColorRGBA_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColorRGBA_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColorRGBA_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColorRGBA_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFColorRGBA *,SbColor4f const &)\n" - " setValue(SoSFColorRGBA *,SbVec4f const &)\n" - " setValue(SoSFColorRGBA *,float,float,float,float)\n" - " setValue(SoSFColorRGBA *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setHSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setHSVValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColorRGBA *arg1 = (SoSFColorRGBA *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColorRGBA_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "1"" of type '" "SoSFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoSFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColorRGBA_setHSVValue" "', argument " "2"" of type '" "float const [4]""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColorRGBA_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColorRGBA_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColorRGBA_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColorRGBA_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SoSFColorRGBA *,float,float,float,float)\n" - " setHSVValue(SoSFColorRGBA *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFColorRGBA_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFColorRGBA, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFDouble",0,0)) SWIG_fail; - result = (SoSFDouble *)new SoSFDouble(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFDouble, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFDouble",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFDouble" "', argument " "1"" of type '" "SoSFDouble *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFDouble::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_getClassTypeId",0,0)) SWIG_fail; - result = SoSFDouble::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble_getTypeId" "', argument " "1"" of type '" "SoSFDouble const *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - result = ((SoSFDouble const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble_copyFrom" "', argument " "1"" of type '" "SoSFDouble *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFDouble_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFDouble_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble_isSame" "', argument " "1"" of type '" "SoSFDouble const *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFDouble_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFDouble_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFDouble const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble_getValue" "', argument " "1"" of type '" "SoSFDouble const *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - result = (double)((SoSFDouble const *)arg1)->getValue(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble_setValue" "', argument " "1"" of type '" "SoSFDouble *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFDouble_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - SoSFDouble *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble___eq__" "', argument " "1"" of type '" "SoSFDouble const *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFDouble, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFDouble___eq__" "', argument " "2"" of type '" "SoSFDouble const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFDouble___eq__" "', argument " "2"" of type '" "SoSFDouble const &""'"); - } - arg2 = reinterpret_cast< SoSFDouble * >(argp2); - result = (int)((SoSFDouble const *)arg1)->operator ==((SoSFDouble const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFDouble *arg1 = (SoSFDouble *) 0 ; - SoSFDouble *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFDouble___ne__" "', argument " "1"" of type '" "SoSFDouble const *""'"); - } - arg1 = reinterpret_cast< SoSFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFDouble, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFDouble___ne__" "', argument " "2"" of type '" "SoSFDouble const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFDouble___ne__" "', argument " "2"" of type '" "SoSFDouble const &""'"); - } - arg2 = reinterpret_cast< SoSFDouble * >(argp2); - result = (int)((SoSFDouble const *)arg1)->operator !=((SoSFDouble const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFDouble_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFDouble_initClass",0,0)) SWIG_fail; - SoSFDouble::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSFDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFDouble, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFEngine",0,0)) SWIG_fail; - result = (SoSFEngine *)new SoSFEngine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEngine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFEngine" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFEngine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoSFEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_getTypeId" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = ((SoSFEngine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_copyFrom" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_isSame" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFEngine const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_getValue" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = (SoEngine *)((SoSFEngine const *)arg1)->getValue(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_setValue" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_setValue" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine___eq__" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine___eq__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine___eq__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - result = (int)((SoSFEngine const *)arg1)->operator ==((SoSFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine___ne__" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine___ne__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine___ne__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - result = (int)((SoSFEngine const *)arg1)->operator !=((SoSFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_initClass",0,0)) SWIG_fail; - SoSFEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_fixCopy" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEngine_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_referencesCopy" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = (SbBool)((SoSFEngine const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_setValue" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_setValue" "', argument " "2"" of type '" "SoSFEngine const *""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - SoSFEngine_setValue__SWIG_1(arg1,(SoSFEngine const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEngine_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEngine_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFEngine_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFEngine *,SoEngine *)\n" - " setValue(SoSFEngine *,SoSFEngine const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFImage3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFImage3",0,0)) SWIG_fail; - result = (SoSFImage3 *)new SoSFImage3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage3, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFImage3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFImage3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFImage3" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFImage3::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getClassTypeId",0,0)) SWIG_fail; - result = SoSFImage3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_getTypeId" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = ((SoSFImage3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_copyFrom" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_isSame" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFImage3 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_initClass",0,0)) SWIG_fail; - SoSFImage3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - unsigned char *result = 0 ; - - { - arg2 = new SbVec3s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_getValue" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = (unsigned char *)((SoSFImage3 const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec3s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage3_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage3_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setValue((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3___eq__" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage3, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3___eq__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3___eq__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - result = (int)((SoSFImage3 const *)arg1)->operator ==((SoSFImage3 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3___ne__" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage3, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3___ne__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3___ne__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - result = (int)((SoSFImage3 const *)arg1)->operator !=((SoSFImage3 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - unsigned char *result = 0 ; - - { - arg2 = new SbVec3s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_startEditing" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = (unsigned char *)(arg1)->startEditing(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec3s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_finishEditing" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage3_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - arg4 = obj3; - SoSFImage3_setValue__SWIG_1(arg1,(SbVec3s const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SoSFImage3 const *""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - SoSFImage3_setValue__SWIG_2(arg1,(SoSFImage3 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFImage3_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFImage3 *,SbVec3s const &,int const,unsigned char const *)\n" - " setValue(SoSFImage3 *,SbVec3s const &,int const,PyObject *)\n" - " setValue(SoSFImage3 *,SoSFImage3 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFImage3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFImage3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFMatrix",0,0)) SWIG_fail; - result = (SoSFMatrix *)new SoSFMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFMatrix" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoSFMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_getTypeId" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - result = ((SoSFMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_copyFrom" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_isSame" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFMatrix const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_getValue" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - { - SbMatrix const &_result_ref = ((SoSFMatrix const *)arg1)->getValue(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setValue((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix___eq__" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix___eq__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix___eq__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - result = (int)((SoSFMatrix const *)arg1)->operator ==((SoSFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix___ne__" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix___ne__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix___ne__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - result = (int)((SoSFMatrix const *)arg1)->operator !=((SoSFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_initClass",0,0)) SWIG_fail; - SoSFMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - float arg17 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - float val17 ; - int ecode17 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - PyObject * obj16 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",17,17,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFMatrix_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFMatrix_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFMatrix_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFMatrix_setValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFMatrix_setValue" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoSFMatrix_setValue" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoSFMatrix_setValue" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoSFMatrix_setValue" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoSFMatrix_setValue" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoSFMatrix_setValue" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoSFMatrix_setValue" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "SoSFMatrix_setValue" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "SoSFMatrix_setValue" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "SoSFMatrix_setValue" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - ecode17 = SWIG_AsVal_float(obj16, &val17); - if (!SWIG_IsOK(ecode17)) { - SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "SoSFMatrix_setValue" "', argument " "17"" of type '" "float""'"); - } - arg17 = static_cast< float >(val17); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SoSFMatrix const *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - SoSFMatrix_setValue__SWIG_2(arg1,(SoSFMatrix const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[18]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 17); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_2(self, args); - } - } - } - if (argc == 17) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[16], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFMatrix_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFMatrix *,SbMatrix const &)\n" - " setValue(SoSFMatrix *,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n" - " setValue(SoSFMatrix *,SoSFMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFPlane",0,0)) SWIG_fail; - result = (SoSFPlane *)new SoSFPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFPlane" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFPlane::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoSFPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_getTypeId" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - result = ((SoSFPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_copyFrom" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_isSame" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFPlane const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_getValue" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - { - SbPlane const &_result_ref = ((SoSFPlane const *)arg1)->getValue(); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_setValue" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setValue((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane___eq__" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane___eq__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane___eq__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - result = (int)((SoSFPlane const *)arg1)->operator ==((SoSFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane___ne__" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane___ne__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane___ne__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - result = (int)((SoSFPlane const *)arg1)->operator !=((SoSFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_initClass",0,0)) SWIG_fail; - SoSFPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_setValue" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SoSFPlane const *""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - SoSFPlane_setValue__SWIG_1(arg1,(SoSFPlane const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPlane_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPlane_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFPlane_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFPlane *,SbPlane const &)\n" - " setValue(SoSFPlane *,SoSFPlane const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFUInt32",0,0)) SWIG_fail; - result = (SoSFUInt32 *)new SoSFUInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFUInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFUInt32" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFUInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFUInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_getTypeId" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - result = ((SoSFUInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_copyFrom" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_isSame" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFUInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_getValue" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - result = ((SoSFUInt32 const *)arg1)->getValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_setValue" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFUInt32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32___eq__" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32___eq__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32___eq__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - result = (int)((SoSFUInt32 const *)arg1)->operator ==((SoSFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32___ne__" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32___ne__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32___ne__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - result = (int)((SoSFUInt32 const *)arg1)->operator !=((SoSFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_initClass",0,0)) SWIG_fail; - SoSFUInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_setValue" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_setValue" "', argument " "2"" of type '" "SoSFUInt32 const *""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - SoSFUInt32_setValue__SWIG_1(arg1,(SoSFUInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFUInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFUInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFUInt32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFUInt32 *,uint32_t)\n" - " setValue(SoSFUInt32 *,SoSFUInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFUInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFUInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",0,0)) SWIG_fail; - result = (SbVec2b *)new SbVec2b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "int8_t const [2]""'"); - } - arg1 = reinterpret_cast< int8_t * >(argp1); - result = (SbVec2b *)new SbVec2b((int8_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t arg1 ; - int8_t arg2 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "int8_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec2b" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbVec2b *)new SbVec2b(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2ub *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2ub, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2ub const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2ub const &""'"); - } - arg1 = reinterpret_cast< SbVec2ub * >(argp1); - result = (SbVec2b *)new SbVec2b((SbVec2ub const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = (SbVec2b *)new SbVec2b((SbVec2s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (SbVec2b *)new SbVec2b((SbVec2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (SbVec2b *)new SbVec2b((SbVec2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2b" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (SbVec2b *)new SbVec2b((SbVec2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2b(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2b__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_7(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2b__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2b'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2b()\n" - " SbVec2b(int8_t const [2])\n" - " SbVec2b(int8_t,int8_t)\n" - " SbVec2b(SbVec2ub const &)\n" - " SbVec2b(SbVec2s const &)\n" - " SbVec2b(SbVec2i32 const &)\n" - " SbVec2b(SbVec2f const &)\n" - " SbVec2b(SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "int8_t const [2]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((int8_t const (*))arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - SbVec2b &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2ub const &""'"); - } - arg2 = reinterpret_cast< SbVec2ub * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((SbVec2ub const &)*arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((SbVec2s const &)*arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((SbVec2i32 const &)*arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((SbVec2f const &)*arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_setValue" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2b &_result_ref = (arg1)->setValue((SbVec2d const &)*arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_6(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2b *,int8_t const [2])\n" - " setValue(SbVec2b *,int8_t,int8_t)\n" - " setValue(SbVec2b *,SbVec2ub const &)\n" - " setValue(SbVec2b *,SbVec2s const &)\n" - " setValue(SbVec2b *,SbVec2i32 const &)\n" - " setValue(SbVec2b *,SbVec2f const &)\n" - " setValue(SbVec2b *,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int8_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_getValue" "', argument " "1"" of type '" "SbVec2b const *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (int8_t *)((SbVec2b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int8_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - int8_t *arg2 = 0 ; - int8_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_getValue" "', argument " "1"" of type '" "SbVec2b const *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec2b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - ((SbVec2b const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_getValue__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2b_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2b_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec2b const *)\n" - " getValue(SbVec2b const *,int8_t &,int8_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_dot" "', argument " "1"" of type '" "SbVec2b const *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b_dot" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b_dot" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec2b const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b_negate" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___imul__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2b___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___imul__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2b___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2b___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2b___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2b___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec2b *,int)\n" - " operator *=(SbVec2b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___idiv__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2b___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___idiv__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2b___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2b___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2b___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2b___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec2b *,int)\n" - " operator /=(SbVec2b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___iadd__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b___iadd__" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b___iadd__" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2b &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___isub__" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2b___isub__" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2b___isub__" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2b &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec2b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2b___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2b___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2b___neg__" "', argument " "1"" of type '" "SbVec2b const *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = ((SbVec2b const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2b(static_cast< const SbVec2b& >(result))), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2b" "', argument " "1"" of type '" "SbVec2b *""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2b",0,0)) SWIG_fail; - result = (SoSFVec2b *)new SoSFVec2b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2b" "', argument " "1"" of type '" "SoSFVec2b *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_getTypeId" "', argument " "1"" of type '" "SoSFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - result = ((SoSFVec2b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_copyFrom" "', argument " "1"" of type '" "SoSFVec2b *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_isSame" "', argument " "1"" of type '" "SoSFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_getValue" "', argument " "1"" of type '" "SoSFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - result = ((SoSFVec2b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbVec2b(static_cast< const SbVec2b& >(result))), SWIGTYPE_p_SbVec2b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_setValue" "', argument " "1"" of type '" "SoSFVec2b *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b_setValue" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b_setValue" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - SoSFVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b___eq__" "', argument " "1"" of type '" "SoSFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b___eq__" "', argument " "2"" of type '" "SoSFVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b___eq__" "', argument " "2"" of type '" "SoSFVec2b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2b * >(argp2); - result = (int)((SoSFVec2b const *)arg1)->operator ==((SoSFVec2b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - SoSFVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b___ne__" "', argument " "1"" of type '" "SoSFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b___ne__" "', argument " "2"" of type '" "SoSFVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b___ne__" "', argument " "2"" of type '" "SoSFVec2b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2b * >(argp2); - result = (int)((SoSFVec2b const *)arg1)->operator !=((SoSFVec2b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_initClass",0,0)) SWIG_fail; - SoSFVec2b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_setValue" "', argument " "1"" of type '" "SoSFVec2b *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2b *arg1 = (SoSFVec2b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2b_setValue" "', argument " "1"" of type '" "SoSFVec2b *""'"); - } - arg1 = reinterpret_cast< SoSFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2b_setValue" "', argument " "2"" of type '" "int8_t const [2]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2b_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec2b *,SbVec2b)\n" - " setValue(SoSFVec2b *,int8_t,int8_t)\n" - " setValue(SoSFVec2b *,int8_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2s",0,0)) SWIG_fail; - result = (SoSFVec2s *)new SoSFVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2s" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_getTypeId" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - result = ((SoSFVec2s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_copyFrom" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_isSame" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_getValue" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - result = ((SoSFVec2s const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoSFVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s___eq__" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s___eq__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s___eq__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - result = (int)((SoSFVec2s const *)arg1)->operator ==((SoSFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoSFVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s___ne__" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s___ne__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s___ne__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - result = (int)((SoSFVec2s const *)arg1)->operator !=((SoSFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_initClass",0,0)) SWIG_fail; - SoSFVec2s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "short const [2]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec2s *,SbVec2s)\n" - " setValue(SoSFVec2s *,short,short)\n" - " setValue(SoSFVec2s *,short const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2i32",0,0)) SWIG_fail; - result = (SoSFVec2i32 *)new SoSFVec2i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2i32" "', argument " "1"" of type '" "SoSFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_getTypeId" "', argument " "1"" of type '" "SoSFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - result = ((SoSFVec2i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_copyFrom" "', argument " "1"" of type '" "SoSFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_isSame" "', argument " "1"" of type '" "SoSFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_getValue" "', argument " "1"" of type '" "SoSFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - { - SbVec2i32 const &_result_ref = ((SoSFVec2i32 const *)arg1)->getValue(); - result = (SbVec2i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_setValue" "', argument " "1"" of type '" "SoSFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - (arg1)->setValue((SbVec2i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - SoSFVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32___eq__" "', argument " "1"" of type '" "SoSFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32___eq__" "', argument " "2"" of type '" "SoSFVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2i32___eq__" "', argument " "2"" of type '" "SoSFVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2i32 * >(argp2); - result = (int)((SoSFVec2i32 const *)arg1)->operator ==((SoSFVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - SoSFVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32___ne__" "', argument " "1"" of type '" "SoSFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32___ne__" "', argument " "2"" of type '" "SoSFVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2i32___ne__" "', argument " "2"" of type '" "SoSFVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2i32 * >(argp2); - result = (int)((SoSFVec2i32 const *)arg1)->operator !=((SoSFVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_initClass",0,0)) SWIG_fail; - SoSFVec2i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_setValue" "', argument " "1"" of type '" "SoSFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2i32 *arg1 = (SoSFVec2i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2i32_setValue" "', argument " "1"" of type '" "SoSFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2i32_setValue" "', argument " "2"" of type '" "int32_t const [2]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2i32_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec2i32 *,SbVec2i32 const &)\n" - " setValue(SoSFVec2i32 *,int32_t,int32_t)\n" - " setValue(SoSFVec2i32 *,int32_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2d",0,0)) SWIG_fail; - result = (SoSFVec2d *)new SoSFVec2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2d" "', argument " "1"" of type '" "SoSFVec2d *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_getTypeId" "', argument " "1"" of type '" "SoSFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - result = ((SoSFVec2d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_copyFrom" "', argument " "1"" of type '" "SoSFVec2d *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_isSame" "', argument " "1"" of type '" "SoSFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_getValue" "', argument " "1"" of type '" "SoSFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - { - SbVec2d const &_result_ref = ((SoSFVec2d const *)arg1)->getValue(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_setValue" "', argument " "1"" of type '" "SoSFVec2d *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - (arg1)->setValue((SbVec2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - SoSFVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d___eq__" "', argument " "1"" of type '" "SoSFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d___eq__" "', argument " "2"" of type '" "SoSFVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2d___eq__" "', argument " "2"" of type '" "SoSFVec2d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2d * >(argp2); - result = (int)((SoSFVec2d const *)arg1)->operator ==((SoSFVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - SoSFVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d___ne__" "', argument " "1"" of type '" "SoSFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d___ne__" "', argument " "2"" of type '" "SoSFVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2d___ne__" "', argument " "2"" of type '" "SoSFVec2d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2d * >(argp2); - result = (int)((SoSFVec2d const *)arg1)->operator !=((SoSFVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_initClass",0,0)) SWIG_fail; - SoSFVec2d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - double arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_setValue" "', argument " "1"" of type '" "SoSFVec2d *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2d *arg1 = (SoSFVec2d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2d_setValue" "', argument " "1"" of type '" "SoSFVec2d *""'"); - } - arg1 = reinterpret_cast< SoSFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2d_setValue" "', argument " "2"" of type '" "double const [2]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2d_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec2d *,SbVec2d const &)\n" - " setValue(SoSFVec2d *,double,double)\n" - " setValue(SoSFVec2d *,double const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",0,0)) SWIG_fail; - result = (SbVec3b *)new SbVec3b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "int8_t const [3]""'"); - } - arg1 = reinterpret_cast< int8_t * >(argp1); - result = (SbVec3b *)new SbVec3b((int8_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t arg1 ; - int8_t arg2 ; - int8_t arg3 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "int8_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec3b" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec3b" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (SbVec3b *)new SbVec3b(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3ub *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3ub, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3ub const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3ub const &""'"); - } - arg1 = reinterpret_cast< SbVec3ub * >(argp1); - result = (SbVec3b *)new SbVec3b((SbVec3ub const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (SbVec3b *)new SbVec3b((SbVec3s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec3i32 * >(argp1); - result = (SbVec3b *)new SbVec3b((SbVec3i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbVec3b *)new SbVec3b((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3b" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (SbVec3b *)new SbVec3b((SbVec3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3b(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3b__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_7(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3b__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3b'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec3b()\n" - " SbVec3b(int8_t const [3])\n" - " SbVec3b(int8_t,int8_t,int8_t)\n" - " SbVec3b(SbVec3ub const &)\n" - " SbVec3b(SbVec3s const &)\n" - " SbVec3b(SbVec3i32 const &)\n" - " SbVec3b(SbVec3f const &)\n" - " SbVec3b(SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "int8_t [3]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - SbVec3b &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3ub const &""'"); - } - arg2 = reinterpret_cast< SbVec3ub * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue((SbVec3ub const &)*arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue((SbVec3s const &)*arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue((SbVec3i32 const &)*arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_setValue" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3b &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_6(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec3b *,int8_t [3])\n" - " setValue(SbVec3b *,int8_t,int8_t,int8_t)\n" - " setValue(SbVec3b *,SbVec3ub const &)\n" - " setValue(SbVec3b *,SbVec3s const &)\n" - " setValue(SbVec3b *,SbVec3i32 const &)\n" - " setValue(SbVec3b *,SbVec3f const &)\n" - " setValue(SbVec3b *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int8_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_getValue" "', argument " "1"" of type '" "SbVec3b const *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = (int8_t *)((SbVec3b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int8_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - int8_t *arg2 = 0 ; - int8_t *arg3 = 0 ; - int8_t *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_getValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_getValue" "', argument " "1"" of type '" "SbVec3b const *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3b_getValue" "', argument " "4"" of type '" "int8_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_getValue" "', argument " "4"" of type '" "int8_t &""'"); - } - arg4 = reinterpret_cast< int8_t * >(argp4); - ((SbVec3b const *)arg1)->getValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_getValue__SWIG_0(self, args); - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3b_getValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3b_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec3b const *)\n" - " getValue(SbVec3b const *,int8_t &,int8_t &,int8_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_dot" "', argument " "1"" of type '" "SbVec3b const *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b_dot" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b_dot" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec3b const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b_negate" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___imul__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3b___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___imul__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3b___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3b___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3b___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3b___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec3b *,int)\n" - " operator *=(SbVec3b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___idiv__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3b___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___idiv__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3b___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3b___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3b___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3b___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec3b *,int)\n" - " operator /=(SbVec3b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___iadd__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b___iadd__" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b___iadd__" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec3b &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___isub__" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3b___isub__" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3b___isub__" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec3b &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec3b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3b___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3b___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3b___neg__" "', argument " "1"" of type '" "SbVec3b const *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - result = ((SbVec3b const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3b(static_cast< const SbVec3b& >(result))), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3b *arg1 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3b" "', argument " "1"" of type '" "SbVec3b *""'"); - } - arg1 = reinterpret_cast< SbVec3b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3b",0,0)) SWIG_fail; - result = (SoSFVec3b *)new SoSFVec3b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3b" "', argument " "1"" of type '" "SoSFVec3b *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_getTypeId" "', argument " "1"" of type '" "SoSFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - result = ((SoSFVec3b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_copyFrom" "', argument " "1"" of type '" "SoSFVec3b *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_isSame" "', argument " "1"" of type '" "SoSFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_getValue" "', argument " "1"" of type '" "SoSFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - result = ((SoSFVec3b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbVec3b(static_cast< const SbVec3b& >(result))), SWIGTYPE_p_SbVec3b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_setValue" "', argument " "1"" of type '" "SoSFVec3b *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b_setValue" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_setValue" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - SoSFVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b___eq__" "', argument " "1"" of type '" "SoSFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b___eq__" "', argument " "2"" of type '" "SoSFVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b___eq__" "', argument " "2"" of type '" "SoSFVec3b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3b * >(argp2); - result = (int)((SoSFVec3b const *)arg1)->operator ==((SoSFVec3b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - SoSFVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b___ne__" "', argument " "1"" of type '" "SoSFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b___ne__" "', argument " "2"" of type '" "SoSFVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b___ne__" "', argument " "2"" of type '" "SoSFVec3b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3b * >(argp2); - result = (int)((SoSFVec3b const *)arg1)->operator !=((SoSFVec3b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_initClass",0,0)) SWIG_fail; - SoSFVec3b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_setValue" "', argument " "1"" of type '" "SoSFVec3b *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3b *arg1 = (SoSFVec3b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3b_setValue" "', argument " "1"" of type '" "SoSFVec3b *""'"); - } - arg1 = reinterpret_cast< SoSFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3b_setValue" "', argument " "2"" of type '" "int8_t const [3]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3b_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec3b *,SbVec3b)\n" - " setValue(SoSFVec3b *,int8_t,int8_t,int8_t)\n" - " setValue(SoSFVec3b *,int8_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3s",0,0)) SWIG_fail; - result = (SoSFVec3s *)new SoSFVec3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3s" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_getTypeId" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - result = ((SoSFVec3s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_copyFrom" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_isSame" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_getValue" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - { - SbVec3s const &_result_ref = ((SoSFVec3s const *)arg1)->getValue(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - (arg1)->setValue((SbVec3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoSFVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s___eq__" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s___eq__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s___eq__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3s * >(argp2); - result = (int)((SoSFVec3s const *)arg1)->operator ==((SoSFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoSFVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s___ne__" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s___ne__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s___ne__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3s * >(argp2); - result = (int)((SoSFVec3s const *)arg1)->operator !=((SoSFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_initClass",0,0)) SWIG_fail; - SoSFVec3s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "short const [3]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec3s *,SbVec3s const &)\n" - " setValue(SoSFVec3s *,short,short,short)\n" - " setValue(SoSFVec3s *,short const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3i32",0,0)) SWIG_fail; - result = (SoSFVec3i32 *)new SoSFVec3i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3i32" "', argument " "1"" of type '" "SoSFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_getTypeId" "', argument " "1"" of type '" "SoSFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - result = ((SoSFVec3i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_copyFrom" "', argument " "1"" of type '" "SoSFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_isSame" "', argument " "1"" of type '" "SoSFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_getValue" "', argument " "1"" of type '" "SoSFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - { - SbVec3i32 const &_result_ref = ((SoSFVec3i32 const *)arg1)->getValue(); - result = (SbVec3i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_setValue" "', argument " "1"" of type '" "SoSFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - (arg1)->setValue((SbVec3i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - SoSFVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32___eq__" "', argument " "1"" of type '" "SoSFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32___eq__" "', argument " "2"" of type '" "SoSFVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3i32___eq__" "', argument " "2"" of type '" "SoSFVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3i32 * >(argp2); - result = (int)((SoSFVec3i32 const *)arg1)->operator ==((SoSFVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - SoSFVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32___ne__" "', argument " "1"" of type '" "SoSFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32___ne__" "', argument " "2"" of type '" "SoSFVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3i32___ne__" "', argument " "2"" of type '" "SoSFVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3i32 * >(argp2); - result = (int)((SoSFVec3i32 const *)arg1)->operator !=((SoSFVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_initClass",0,0)) SWIG_fail; - SoSFVec3i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_setValue" "', argument " "1"" of type '" "SoSFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3i32 *arg1 = (SoSFVec3i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3i32_setValue" "', argument " "1"" of type '" "SoSFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3i32_setValue" "', argument " "2"" of type '" "int32_t const [3]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3i32_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec3i32 *,SbVec3i32 const &)\n" - " setValue(SoSFVec3i32 *,int32_t,int32_t,int32_t)\n" - " setValue(SoSFVec3i32 *,int32_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3d",0,0)) SWIG_fail; - result = (SoSFVec3d *)new SoSFVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3d" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_getTypeId" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - result = ((SoSFVec3d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_copyFrom" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_isSame" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_getValue" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - { - SbVec3d const &_result_ref = ((SoSFVec3d const *)arg1)->getValue(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setValue((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoSFVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d___eq__" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d___eq__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d___eq__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3d * >(argp2); - result = (int)((SoSFVec3d const *)arg1)->operator ==((SoSFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoSFVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d___ne__" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d___ne__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d___ne__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3d * >(argp2); - result = (int)((SoSFVec3d const *)arg1)->operator !=((SoSFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_initClass",0,0)) SWIG_fail; - SoSFVec3d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "double const [3]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec3d *,SbVec3d const &)\n" - " setValue(SoSFVec3d *,double,double,double)\n" - " setValue(SoSFVec3d *,double const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",0,0)) SWIG_fail; - result = (SbVec4b *)new SbVec4b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "int8_t const [4]""'"); - } - arg1 = reinterpret_cast< int8_t * >(argp1); - result = (SbVec4b *)new SbVec4b((int8_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int8_t arg1 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "int8_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec4b" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec4b" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SbVec4b" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - result = (SbVec4b *)new SbVec4b(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - result = (SbVec4b *)new SbVec4b((SbVec4ub const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (SbVec4b *)new SbVec4b((SbVec4s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (SbVec4b *)new SbVec4b((SbVec4i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbVec4b *)new SbVec4b((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4b" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (SbVec4b *)new SbVec4b((SbVec4d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4b(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4b__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_7(self, args); - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4b__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4b'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4b()\n" - " SbVec4b(int8_t const [4])\n" - " SbVec4b(int8_t,int8_t,int8_t,int8_t)\n" - " SbVec4b(SbVec4ub const &)\n" - " SbVec4b(SbVec4s const &)\n" - " SbVec4b(SbVec4i32 const &)\n" - " SbVec4b(SbVec4f const &)\n" - " SbVec4b(SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "int8_t const [4]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((int8_t const (*))arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - int8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - { - SbVec4b &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - arg2 = reinterpret_cast< SbVec4ub * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((SbVec4ub const &)*arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((SbVec4i32 const &)*arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((SbVec4f const &)*arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_setValue" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4b &_result_ref = (arg1)->setValue((SbVec4d const &)*arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_6(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4b *,int8_t const [4])\n" - " setValue(SbVec4b *,int8_t,int8_t,int8_t,int8_t)\n" - " setValue(SbVec4b *,SbVec4ub const &)\n" - " setValue(SbVec4b *,SbVec4s const &)\n" - " setValue(SbVec4b *,SbVec4i32 const &)\n" - " setValue(SbVec4b *,SbVec4f const &)\n" - " setValue(SbVec4b *,SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int8_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_getValue" "', argument " "1"" of type '" "SbVec4b const *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (int8_t *)((SbVec4b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int8_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - int8_t *arg2 = 0 ; - int8_t *arg3 = 0 ; - int8_t *arg4 = 0 ; - int8_t *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_getValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_getValue" "', argument " "1"" of type '" "SbVec4b const *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_getValue" "', argument " "2"" of type '" "int8_t &""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_getValue" "', argument " "3"" of type '" "int8_t &""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4b_getValue" "', argument " "4"" of type '" "int8_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_getValue" "', argument " "4"" of type '" "int8_t &""'"); - } - arg4 = reinterpret_cast< int8_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4b_getValue" "', argument " "5"" of type '" "int8_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_getValue" "', argument " "5"" of type '" "int8_t &""'"); - } - arg5 = reinterpret_cast< int8_t * >(argp5); - ((SbVec4b const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_getValue__SWIG_0(self, args); - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4b_getValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4b_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4b const *)\n" - " getValue(SbVec4b const *,int8_t &,int8_t &,int8_t &,int8_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_dot" "', argument " "1"" of type '" "SbVec4b const *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b_dot" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b_dot" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec4b const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b_negate" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___imul__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4b___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___imul__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4b___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4b &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4b___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4b___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4b___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4b *,int)\n" - " operator *=(SbVec4b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___idiv__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4b___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___idiv__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4b___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4b &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4b___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4b___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4b___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4b *,int)\n" - " operator /=(SbVec4b *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___iadd__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b___iadd__" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b___iadd__" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec4b &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___isub__" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4b___isub__" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4b___isub__" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec4b &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec4b *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4b___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4b___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4b___neg__" "', argument " "1"" of type '" "SbVec4b const *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = ((SbVec4b const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4b(static_cast< const SbVec4b& >(result))), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4b" "', argument " "1"" of type '" "SbVec4b *""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4b",0,0)) SWIG_fail; - result = (SoSFVec4b *)new SoSFVec4b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4b" "', argument " "1"" of type '" "SoSFVec4b *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_getTypeId" "', argument " "1"" of type '" "SoSFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - result = ((SoSFVec4b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_copyFrom" "', argument " "1"" of type '" "SoSFVec4b *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_isSame" "', argument " "1"" of type '" "SoSFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_getValue" "', argument " "1"" of type '" "SoSFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - result = ((SoSFVec4b const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbVec4b(static_cast< const SbVec4b& >(result))), SWIGTYPE_p_SbVec4b, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_setValue" "', argument " "1"" of type '" "SoSFVec4b *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b_setValue" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_setValue" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - SoSFVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b___eq__" "', argument " "1"" of type '" "SoSFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b___eq__" "', argument " "2"" of type '" "SoSFVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b___eq__" "', argument " "2"" of type '" "SoSFVec4b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4b * >(argp2); - result = (int)((SoSFVec4b const *)arg1)->operator ==((SoSFVec4b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - SoSFVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b___ne__" "', argument " "1"" of type '" "SoSFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b___ne__" "', argument " "2"" of type '" "SoSFVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b___ne__" "', argument " "2"" of type '" "SoSFVec4b const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4b * >(argp2); - result = (int)((SoSFVec4b const *)arg1)->operator !=((SoSFVec4b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_initClass",0,0)) SWIG_fail; - SoSFVec4b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - int8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_setValue" "', argument " "1"" of type '" "SoSFVec4b *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSFVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4b *arg1 = (SoSFVec4b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4b_setValue" "', argument " "1"" of type '" "SoSFVec4b *""'"); - } - arg1 = reinterpret_cast< SoSFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4b_setValue" "', argument " "2"" of type '" "int8_t const [4]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4b_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4b *,SbVec4b)\n" - " setValue(SoSFVec4b *,int8_t,int8_t,int8_t,int8_t)\n" - " setValue(SoSFVec4b *,int8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",0,0)) SWIG_fail; - result = (SbVec4ub *)new SbVec4ub(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint8_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "uint8_t const [4]""'"); - } - arg1 = reinterpret_cast< uint8_t * >(argp1); - result = (SbVec4ub *)new SbVec4ub((uint8_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint8_t arg1 ; - uint8_t arg2 ; - uint8_t arg3 ; - uint8_t arg4 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "uint8_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec4ub" "', argument " "2"" of type '" "uint8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "2"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec4ub" "', argument " "3"" of type '" "uint8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "3"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SbVec4ub" "', argument " "4"" of type '" "uint8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "4"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - result = (SbVec4ub *)new SbVec4ub(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (SbVec4ub *)new SbVec4ub((SbVec4b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - result = (SbVec4ub *)new SbVec4ub((SbVec4us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ub" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - result = (SbVec4ub *)new SbVec4ub((SbVec4ui32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ub(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4ub__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ub__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ub__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ub__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ub__SWIG_5(self, args); - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ub__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4ub'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4ub()\n" - " SbVec4ub(uint8_t const [4])\n" - " SbVec4ub(uint8_t,uint8_t,uint8_t,uint8_t)\n" - " SbVec4ub(SbVec4b const &)\n" - " SbVec4ub(SbVec4us const &)\n" - " SbVec4ub(SbVec4ui32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - uint8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_setValue" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "uint8_t const [4]""'"); - } - arg2 = reinterpret_cast< uint8_t * >(argp2); - { - SbVec4ub &_result_ref = (arg1)->setValue((uint8_t const (*))arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - uint8_t arg2 ; - uint8_t arg3 ; - uint8_t arg4 ; - uint8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_setValue" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - { - SbVec4ub &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_setValue" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - arg2 = reinterpret_cast< SbVec4b * >(argp2); - { - SbVec4ub &_result_ref = (arg1)->setValue((SbVec4b const &)*arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_setValue" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - { - SbVec4ub &_result_ref = (arg1)->setValue((SbVec4us const &)*arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_setValue" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - { - SbVec4ub &_result_ref = (arg1)->setValue((SbVec4ui32 const &)*arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_setValue__SWIG_4(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ub_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4ub *,uint8_t const [4])\n" - " setValue(SbVec4ub *,uint8_t,uint8_t,uint8_t,uint8_t)\n" - " setValue(SbVec4ub *,SbVec4b const &)\n" - " setValue(SbVec4ub *,SbVec4us const &)\n" - " setValue(SbVec4ub *,SbVec4ui32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint8_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_getValue" "', argument " "1"" of type '" "SbVec4ub const *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - result = (uint8_t *)((SbVec4ub const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint8_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - uint8_t *arg2 = 0 ; - uint8_t *arg3 = 0 ; - uint8_t *arg4 = 0 ; - uint8_t *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_getValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_getValue" "', argument " "1"" of type '" "SbVec4ub const *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_getValue" "', argument " "2"" of type '" "uint8_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_getValue" "', argument " "2"" of type '" "uint8_t &""'"); - } - arg2 = reinterpret_cast< uint8_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4ub_getValue" "', argument " "3"" of type '" "uint8_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_getValue" "', argument " "3"" of type '" "uint8_t &""'"); - } - arg3 = reinterpret_cast< uint8_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4ub_getValue" "', argument " "4"" of type '" "uint8_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_getValue" "', argument " "4"" of type '" "uint8_t &""'"); - } - arg4 = reinterpret_cast< uint8_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint8_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4ub_getValue" "', argument " "5"" of type '" "uint8_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_getValue" "', argument " "5"" of type '" "uint8_t &""'"); - } - arg5 = reinterpret_cast< uint8_t * >(argp5); - ((SbVec4ub const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_getValue__SWIG_0(self, args); - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ub_getValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ub_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4ub const *)\n" - " getValue(SbVec4ub const *,uint8_t &,uint8_t &,uint8_t &,uint8_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_dot" "', argument " "1"" of type '" "SbVec4ub const *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub_dot" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub_dot" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec4ub const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub_negate" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___imul__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ub___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4ub &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___imul__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ub___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4ub &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ub___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ub___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ub___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4ub *,int)\n" - " operator *=(SbVec4ub *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___idiv__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ub___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4ub &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___idiv__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ub___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4ub &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ub___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ub___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ub___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4ub *,int)\n" - " operator /=(SbVec4ub *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___iadd__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub___iadd__" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub___iadd__" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec4ub &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___isub__" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ub___isub__" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ub___isub__" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec4ub &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec4ub *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ub___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ub___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ub___neg__" "', argument " "1"" of type '" "SbVec4ub const *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - result = ((SbVec4ub const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4ub(static_cast< const SbVec4ub& >(result))), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4ub(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4ub" "', argument " "1"" of type '" "SbVec4ub *""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4ub_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4ub, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4ub(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4ub",0,0)) SWIG_fail; - result = (SoSFVec4ub *)new SoSFVec4ub(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4ub(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4ub" "', argument " "1"" of type '" "SoSFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4ub::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4ub::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_getTypeId" "', argument " "1"" of type '" "SoSFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - result = ((SoSFVec4ub const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_copyFrom" "', argument " "1"" of type '" "SoSFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_isSame" "', argument " "1"" of type '" "SoSFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4ub const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_getValue" "', argument " "1"" of type '" "SoSFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - result = ((SoSFVec4ub const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbVec4ub(static_cast< const SbVec4ub& >(result))), SWIGTYPE_p_SbVec4ub, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_setValue" "', argument " "1"" of type '" "SoSFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - SoSFVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub___eq__" "', argument " "1"" of type '" "SoSFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub___eq__" "', argument " "2"" of type '" "SoSFVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub___eq__" "', argument " "2"" of type '" "SoSFVec4ub const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4ub * >(argp2); - result = (int)((SoSFVec4ub const *)arg1)->operator ==((SoSFVec4ub const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - SoSFVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub___ne__" "', argument " "1"" of type '" "SoSFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub___ne__" "', argument " "2"" of type '" "SoSFVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub___ne__" "', argument " "2"" of type '" "SoSFVec4ub const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4ub * >(argp2); - result = (int)((SoSFVec4ub const *)arg1)->operator !=((SoSFVec4ub const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_initClass",0,0)) SWIG_fail; - SoSFVec4ub::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - uint8_t arg2 ; - uint8_t arg3 ; - uint8_t arg4 ; - uint8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_setValue" "', argument " "1"" of type '" "SoSFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSFVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ub *arg1 = (SoSFVec4ub *) 0 ; - uint8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ub_setValue" "', argument " "1"" of type '" "SoSFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t const [4]""'"); - } - arg2 = reinterpret_cast< uint8_t * >(argp2); - (arg1)->setValue((uint8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ub_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4ub_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4ub_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4ub_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4ub_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4ub *,SbVec4ub)\n" - " setValue(SoSFVec4ub *,uint8_t,uint8_t,uint8_t,uint8_t)\n" - " setValue(SoSFVec4ub *,uint8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4ub_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4ub, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",0,0)) SWIG_fail; - result = (SbVec4s *)new SbVec4s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "short const [4]""'"); - } - arg1 = reinterpret_cast< short * >(argp1); - result = (SbVec4s *)new SbVec4s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short arg4 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4s" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - result = (SbVec4s *)new SbVec4s(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - result = (SbVec4s *)new SbVec4s((SbVec4us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (SbVec4s *)new SbVec4s((SbVec4b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (SbVec4s *)new SbVec4s((SbVec4i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbVec4s *)new SbVec4s((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4s" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (SbVec4s *)new SbVec4s((SbVec4d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4s__SWIG_7(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4s__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4s'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4s()\n" - " SbVec4s(short const [4])\n" - " SbVec4s(short,short,short,short)\n" - " SbVec4s(SbVec4us const &)\n" - " SbVec4s(SbVec4b const &)\n" - " SbVec4s(SbVec4i32 const &)\n" - " SbVec4s(SbVec4f const &)\n" - " SbVec4s(SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "short const [4]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - { - SbVec4s &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4us const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - arg2 = reinterpret_cast< SbVec4b * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4b const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4i32 const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4f const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_setValue" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4s &_result_ref = (arg1)->setValue((SbVec4d const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_7(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4s *,short const [4])\n" - " setValue(SbVec4s *,short,short,short,short)\n" - " setValue(SbVec4s *,SbVec4s const &)\n" - " setValue(SbVec4s *,SbVec4us const &)\n" - " setValue(SbVec4s *,SbVec4b const &)\n" - " setValue(SbVec4s *,SbVec4i32 const &)\n" - " setValue(SbVec4s *,SbVec4f const &)\n" - " setValue(SbVec4s *,SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - short *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_getValue" "', argument " "1"" of type '" "SbVec4s const *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (short *)((SbVec4s const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - short *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - short temp4 ; - int res4 = SWIG_TMPOBJ ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_getValue" "', argument " "1"" of type '" "SbVec4s const *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res5 = SWIG_ConvertPtr(obj1, &argp5, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4s_getValue" "', argument " "5"" of type '" "short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_getValue" "', argument " "5"" of type '" "short &""'"); - } - arg5 = reinterpret_cast< short * >(argp5); - ((SbVec4s const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4s_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4s_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4s const *)\n" - " getValue(SbVec4s const *,short &,short &,short &,short &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_dot" "', argument " "1"" of type '" "SbVec4s const *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s_dot" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s_dot" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - result = ((SbVec4s const *)arg1)->dot((SbVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s_negate" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___imul__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___imul__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4s___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4s *,int)\n" - " operator *=(SbVec4s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___idiv__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___idiv__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4s___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4s *,int)\n" - " operator /=(SbVec4s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___iadd__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s___iadd__" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s___iadd__" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4s &_result_ref = (arg1)->operator +=((SbVec4s const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___isub__" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4s___isub__" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4s___isub__" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4s &_result_ref = (arg1)->operator -=((SbVec4s const &)*arg2); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4s___neg__" "', argument " "1"" of type '" "SbVec4s const *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = ((SbVec4s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4s(static_cast< const SbVec4s& >(result))), SWIGTYPE_p_SbVec4s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4s" "', argument " "1"" of type '" "SbVec4s *""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4s",0,0)) SWIG_fail; - result = (SoSFVec4s *)new SoSFVec4s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4s" "', argument " "1"" of type '" "SoSFVec4s *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_getTypeId" "', argument " "1"" of type '" "SoSFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - result = ((SoSFVec4s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_copyFrom" "', argument " "1"" of type '" "SoSFVec4s *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_isSame" "', argument " "1"" of type '" "SoSFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_getValue" "', argument " "1"" of type '" "SoSFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - { - SbVec4s const &_result_ref = ((SoSFVec4s const *)arg1)->getValue(); - result = (SbVec4s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_setValue" "', argument " "1"" of type '" "SoSFVec4s *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - (arg1)->setValue((SbVec4s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - SoSFVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s___eq__" "', argument " "1"" of type '" "SoSFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s___eq__" "', argument " "2"" of type '" "SoSFVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4s___eq__" "', argument " "2"" of type '" "SoSFVec4s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4s * >(argp2); - result = (int)((SoSFVec4s const *)arg1)->operator ==((SoSFVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - SoSFVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s___ne__" "', argument " "1"" of type '" "SoSFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s___ne__" "', argument " "2"" of type '" "SoSFVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4s___ne__" "', argument " "2"" of type '" "SoSFVec4s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4s * >(argp2); - result = (int)((SoSFVec4s const *)arg1)->operator !=((SoSFVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_initClass",0,0)) SWIG_fail; - SoSFVec4s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_setValue" "', argument " "1"" of type '" "SoSFVec4s *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4s *arg1 = (SoSFVec4s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4s_setValue" "', argument " "1"" of type '" "SoSFVec4s *""'"); - } - arg1 = reinterpret_cast< SoSFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4s_setValue" "', argument " "2"" of type '" "short const [4]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4s *,SbVec4s const &)\n" - " setValue(SoSFVec4s *,short,short,short,short)\n" - " setValue(SoSFVec4s *,short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",0,0)) SWIG_fail; - result = (SbVec4us *)new SbVec4us(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned short *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4us" "', argument " "1"" of type '" "unsigned short const [4]""'"); - } - arg1 = reinterpret_cast< unsigned short * >(argp1); - result = (SbVec4us *)new SbVec4us((unsigned short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned short arg1 ; - unsigned short arg2 ; - unsigned short arg3 ; - unsigned short arg4 ; - unsigned short val1 ; - int ecode1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4us" "', argument " "1"" of type '" "unsigned short""'"); - } - arg1 = static_cast< unsigned short >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4us" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4us" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4us" "', argument " "4"" of type '" "unsigned short""'"); - } - arg4 = static_cast< unsigned short >(val4); - result = (SbVec4us *)new SbVec4us(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (SbVec4us *)new SbVec4us((SbVec4s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - result = (SbVec4us *)new SbVec4us((SbVec4ub const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4us" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - result = (SbVec4us *)new SbVec4us((SbVec4ui32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4us(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4us__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4us__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4us__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4us__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4us__SWIG_5(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4us__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4us'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4us()\n" - " SbVec4us(unsigned short const [4])\n" - " SbVec4us(unsigned short,unsigned short,unsigned short,unsigned short)\n" - " SbVec4us(SbVec4s const &)\n" - " SbVec4us(SbVec4ub const &)\n" - " SbVec4us(SbVec4ui32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - unsigned short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_setValue" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "unsigned short const [4]""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - { - SbVec4us &_result_ref = (arg1)->setValue((unsigned short const (*))arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - unsigned short arg2 ; - unsigned short arg3 ; - unsigned short arg4 ; - unsigned short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short val4 ; - int ecode4 = 0 ; - unsigned short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_setValue" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4us_setValue" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4us_setValue" "', argument " "4"" of type '" "unsigned short""'"); - } - arg4 = static_cast< unsigned short >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4us_setValue" "', argument " "5"" of type '" "unsigned short""'"); - } - arg5 = static_cast< unsigned short >(val5); - { - SbVec4us &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_setValue" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4us &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_setValue" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - arg2 = reinterpret_cast< SbVec4ub * >(argp2); - { - SbVec4us &_result_ref = (arg1)->setValue((SbVec4ub const &)*arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_setValue" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - { - SbVec4us &_result_ref = (arg1)->setValue((SbVec4ui32 const &)*arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_setValue__SWIG_4(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4us_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4us_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4us *,unsigned short const [4])\n" - " setValue(SbVec4us *,unsigned short,unsigned short,unsigned short,unsigned short)\n" - " setValue(SbVec4us *,SbVec4s const &)\n" - " setValue(SbVec4us *,SbVec4ub const &)\n" - " setValue(SbVec4us *,SbVec4ui32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_getValue" "', argument " "1"" of type '" "SbVec4us const *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - result = (unsigned short *)((SbVec4us const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - unsigned short *arg2 = 0 ; - unsigned short *arg3 = 0 ; - unsigned short *arg4 = 0 ; - unsigned short *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_getValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_getValue" "', argument " "1"" of type '" "SbVec4us const *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_getValue" "', argument " "2"" of type '" "unsigned short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_getValue" "', argument " "2"" of type '" "unsigned short &""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4us_getValue" "', argument " "3"" of type '" "unsigned short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_getValue" "', argument " "3"" of type '" "unsigned short &""'"); - } - arg3 = reinterpret_cast< unsigned short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4us_getValue" "', argument " "4"" of type '" "unsigned short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_getValue" "', argument " "4"" of type '" "unsigned short &""'"); - } - arg4 = reinterpret_cast< unsigned short * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4us_getValue" "', argument " "5"" of type '" "unsigned short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_getValue" "', argument " "5"" of type '" "unsigned short &""'"); - } - arg5 = reinterpret_cast< unsigned short * >(argp5); - ((SbVec4us const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_getValue__SWIG_0(self, args); - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4us_getValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4us_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4us const *)\n" - " getValue(SbVec4us const *,unsigned short &,unsigned short &,unsigned short &,unsigned short &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_dot" "', argument " "1"" of type '" "SbVec4us const *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us_dot" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us_dot" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - result = ((SbVec4us const *)arg1)->dot((SbVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us_negate" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___imul__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4us___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4us &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___imul__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4us___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4us &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4us___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4us___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4us___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4us *,int)\n" - " operator *=(SbVec4us *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___idiv__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4us___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4us &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___idiv__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4us___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4us &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4us___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4us___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4us___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4us *,int)\n" - " operator /=(SbVec4us *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___iadd__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us___iadd__" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us___iadd__" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - { - SbVec4us &_result_ref = (arg1)->operator +=((SbVec4us const &)*arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___isub__" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4us___isub__" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4us___isub__" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - { - SbVec4us &_result_ref = (arg1)->operator -=((SbVec4us const &)*arg2); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4us___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4us___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4us___neg__" "', argument " "1"" of type '" "SbVec4us const *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - result = ((SbVec4us const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4us(static_cast< const SbVec4us& >(result))), SWIGTYPE_p_SbVec4us, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4us(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4us" "', argument " "1"" of type '" "SbVec4us *""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4us_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4us, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4us(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4us",0,0)) SWIG_fail; - result = (SoSFVec4us *)new SoSFVec4us(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4us(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4us" "', argument " "1"" of type '" "SoSFVec4us *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4us::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4us::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_getTypeId" "', argument " "1"" of type '" "SoSFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - result = ((SoSFVec4us const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_copyFrom" "', argument " "1"" of type '" "SoSFVec4us *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4us_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_isSame" "', argument " "1"" of type '" "SoSFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4us_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4us const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_getValue" "', argument " "1"" of type '" "SoSFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - { - SbVec4us const &_result_ref = ((SoSFVec4us const *)arg1)->getValue(); - result = (SbVec4us *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_setValue" "', argument " "1"" of type '" "SoSFVec4us *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4us_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - (arg1)->setValue((SbVec4us const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - SoSFVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us___eq__" "', argument " "1"" of type '" "SoSFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us___eq__" "', argument " "2"" of type '" "SoSFVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4us___eq__" "', argument " "2"" of type '" "SoSFVec4us const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4us * >(argp2); - result = (int)((SoSFVec4us const *)arg1)->operator ==((SoSFVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - SoSFVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us___ne__" "', argument " "1"" of type '" "SoSFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us___ne__" "', argument " "2"" of type '" "SoSFVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4us___ne__" "', argument " "2"" of type '" "SoSFVec4us const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4us * >(argp2); - result = (int)((SoSFVec4us const *)arg1)->operator !=((SoSFVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_initClass",0,0)) SWIG_fail; - SoSFVec4us::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - unsigned short arg2 ; - unsigned short arg3 ; - unsigned short arg4 ; - unsigned short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short val4 ; - int ecode4 = 0 ; - unsigned short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_setValue" "', argument " "1"" of type '" "SoSFVec4us *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4us_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4us_setValue" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4us_setValue" "', argument " "4"" of type '" "unsigned short""'"); - } - arg4 = static_cast< unsigned short >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4us_setValue" "', argument " "5"" of type '" "unsigned short""'"); - } - arg5 = static_cast< unsigned short >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4us *arg1 = (SoSFVec4us *) 0 ; - unsigned short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4us_setValue" "', argument " "1"" of type '" "SoSFVec4us *""'"); - } - arg1 = reinterpret_cast< SoSFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4us_setValue" "', argument " "2"" of type '" "unsigned short const [4]""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - (arg1)->setValue((unsigned short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4us_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4us_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4us_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4us_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4us_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4us *,SbVec4us const &)\n" - " setValue(SoSFVec4us *,unsigned short,unsigned short,unsigned short,unsigned short)\n" - " setValue(SoSFVec4us *,unsigned short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4us_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4us, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",0,0)) SWIG_fail; - result = (SbVec4i32 *)new SbVec4i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "int32_t const [4]""'"); - } - arg1 = reinterpret_cast< int32_t * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((int32_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4i32" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4i32" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4i32" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - result = (SbVec4i32 *)new SbVec4i32(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4ui32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((SbVec4ui32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((SbVec4b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((SbVec4s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4i32" "', argument " "1"" of type '" "SbVec4d const &""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (SbVec4i32 *)new SbVec4i32((SbVec4d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4i32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4i32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4i32__SWIG_7(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4i32__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4i32'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4i32()\n" - " SbVec4i32(int32_t const [4])\n" - " SbVec4i32(int32_t,int32_t,int32_t,int32_t)\n" - " SbVec4i32(SbVec4ui32 const &)\n" - " SbVec4i32(SbVec4b const &)\n" - " SbVec4i32(SbVec4s const &)\n" - " SbVec4i32(SbVec4f const &)\n" - " SbVec4i32(SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "int32_t const [4]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((int32_t const (*))arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4i32_setValue" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - { - SbVec4i32 &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((SbVec4ui32 const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - arg2 = reinterpret_cast< SbVec4b * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((SbVec4b const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((SbVec4f const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_setValue" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->setValue((SbVec4d const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_6(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4i32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4i32 *,int32_t const [4])\n" - " setValue(SbVec4i32 *,int32_t,int32_t,int32_t,int32_t)\n" - " setValue(SbVec4i32 *,SbVec4ui32 const &)\n" - " setValue(SbVec4i32 *,SbVec4b const &)\n" - " setValue(SbVec4i32 *,SbVec4s const &)\n" - " setValue(SbVec4i32 *,SbVec4f const &)\n" - " setValue(SbVec4i32 *,SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_getValue" "', argument " "1"" of type '" "SbVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (int32_t *)((SbVec4i32 const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *arg3 = 0 ; - int32_t *arg4 = 0 ; - int32_t *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_getValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_getValue" "', argument " "1"" of type '" "SbVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_getValue" "', argument " "2"" of type '" "int32_t &""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_getValue" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4i32_getValue" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_getValue" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4i32_getValue" "', argument " "5"" of type '" "int32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_getValue" "', argument " "5"" of type '" "int32_t &""'"); - } - arg5 = reinterpret_cast< int32_t * >(argp5); - ((SbVec4i32 const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_getValue__SWIG_0(self, args); - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4i32_getValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4i32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4i32 const *)\n" - " getValue(SbVec4i32 const *,int32_t &,int32_t &,int32_t &,int32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_dot" "', argument " "1"" of type '" "SbVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32_dot" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32_dot" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - result = ((SbVec4i32 const *)arg1)->dot((SbVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32_negate" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___imul__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4i32___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___imul__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4i32___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4i32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4i32___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4i32___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4i32___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4i32 *,int)\n" - " operator *=(SbVec4i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___idiv__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4i32___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___idiv__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4i32___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4i32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4i32___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4i32___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4i32___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4i32 *,int)\n" - " operator /=(SbVec4i32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___iadd__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32___iadd__" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32___iadd__" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->operator +=((SbVec4i32 const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___isub__" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4i32___isub__" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4i32___isub__" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4i32 &_result_ref = (arg1)->operator -=((SbVec4i32 const &)*arg2); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4i32___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4i32___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4i32___neg__" "', argument " "1"" of type '" "SbVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = ((SbVec4i32 const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4i32(static_cast< const SbVec4i32& >(result))), SWIGTYPE_p_SbVec4i32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4i32" "', argument " "1"" of type '" "SbVec4i32 *""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4i32",0,0)) SWIG_fail; - result = (SoSFVec4i32 *)new SoSFVec4i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4i32" "', argument " "1"" of type '" "SoSFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_getTypeId" "', argument " "1"" of type '" "SoSFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - result = ((SoSFVec4i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_copyFrom" "', argument " "1"" of type '" "SoSFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_isSame" "', argument " "1"" of type '" "SoSFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_getValue" "', argument " "1"" of type '" "SoSFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - { - SbVec4i32 const &_result_ref = ((SoSFVec4i32 const *)arg1)->getValue(); - result = (SbVec4i32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_setValue" "', argument " "1"" of type '" "SoSFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4i32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - (arg1)->setValue((SbVec4i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - SoSFVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32___eq__" "', argument " "1"" of type '" "SoSFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32___eq__" "', argument " "2"" of type '" "SoSFVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4i32___eq__" "', argument " "2"" of type '" "SoSFVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4i32 * >(argp2); - result = (int)((SoSFVec4i32 const *)arg1)->operator ==((SoSFVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - SoSFVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32___ne__" "', argument " "1"" of type '" "SoSFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32___ne__" "', argument " "2"" of type '" "SoSFVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4i32___ne__" "', argument " "2"" of type '" "SoSFVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4i32 * >(argp2); - result = (int)((SoSFVec4i32 const *)arg1)->operator !=((SoSFVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_initClass",0,0)) SWIG_fail; - SoSFVec4i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_setValue" "', argument " "1"" of type '" "SoSFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4i32_setValue" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4i32 *arg1 = (SoSFVec4i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4i32_setValue" "', argument " "1"" of type '" "SoSFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4i32_setValue" "', argument " "2"" of type '" "int32_t const [4]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4i32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4i32 *,SbVec4i32 const &)\n" - " setValue(SoSFVec4i32 *,int32_t,int32_t,int32_t,int32_t)\n" - " setValue(SoSFVec4i32 *,int32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",0,0)) SWIG_fail; - result = (SbVec4ui32 *)new SbVec4ui32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t *arg1 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "uint32_t const [4]""'"); - } - arg1 = reinterpret_cast< uint32_t * >(argp1); - result = (SbVec4ui32 *)new SbVec4ui32((uint32_t const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - unsigned int val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4ui32" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4ui32" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4ui32" "', argument " "4"" of type '" "uint32_t""'"); - } - arg4 = static_cast< uint32_t >(val4); - result = (SbVec4ui32 *)new SbVec4ui32(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (SbVec4ui32 *)new SbVec4ui32((SbVec4i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ub *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4ub const &""'"); - } - arg1 = reinterpret_cast< SbVec4ub * >(argp1); - result = (SbVec4ui32 *)new SbVec4ui32((SbVec4ub const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4ui32" "', argument " "1"" of type '" "SbVec4us const &""'"); - } - arg1 = reinterpret_cast< SbVec4us * >(argp1); - result = (SbVec4ui32 *)new SbVec4ui32((SbVec4us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4ui32(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4ui32__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ui32__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ui32__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ui32__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4ui32__SWIG_5(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4ui32__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4ui32'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4ui32()\n" - " SbVec4ui32(uint32_t const [4])\n" - " SbVec4ui32(uint32_t,uint32_t,uint32_t,uint32_t)\n" - " SbVec4ui32(SbVec4i32 const &)\n" - " SbVec4ui32(SbVec4ub const &)\n" - " SbVec4ui32(SbVec4us const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - uint32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_setValue" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t const [4]""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->setValue((uint32_t const (*))arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_setValue" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4ui32_setValue" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4ui32_setValue" "', argument " "4"" of type '" "uint32_t""'"); - } - arg4 = static_cast< uint32_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4ui32_setValue" "', argument " "5"" of type '" "uint32_t""'"); - } - arg5 = static_cast< uint32_t >(val5); - { - SbVec4ui32 &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_setValue" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->setValue((SbVec4i32 const &)*arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_setValue" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ub const &""'"); - } - arg2 = reinterpret_cast< SbVec4ub * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->setValue((SbVec4ub const &)*arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_setValue" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->setValue((SbVec4us const &)*arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_setValue__SWIG_4(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ui32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ui32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4ui32 *,uint32_t const [4])\n" - " setValue(SbVec4ui32 *,uint32_t,uint32_t,uint32_t,uint32_t)\n" - " setValue(SbVec4ui32 *,SbVec4i32 const &)\n" - " setValue(SbVec4ui32 *,SbVec4ub const &)\n" - " setValue(SbVec4ui32 *,SbVec4us const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_getValue" "', argument " "1"" of type '" "SbVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - result = (uint32_t *)((SbVec4ui32 const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - uint32_t *arg2 = 0 ; - uint32_t *arg3 = 0 ; - uint32_t *arg4 = 0 ; - uint32_t *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_getValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_getValue" "', argument " "1"" of type '" "SbVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_getValue" "', argument " "2"" of type '" "uint32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_getValue" "', argument " "2"" of type '" "uint32_t &""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec4ui32_getValue" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_getValue" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec4ui32_getValue" "', argument " "4"" of type '" "uint32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_getValue" "', argument " "4"" of type '" "uint32_t &""'"); - } - arg4 = reinterpret_cast< uint32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec4ui32_getValue" "', argument " "5"" of type '" "uint32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_getValue" "', argument " "5"" of type '" "uint32_t &""'"); - } - arg5 = reinterpret_cast< uint32_t * >(argp5); - ((SbVec4ui32 const *)arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_getValue__SWIG_0(self, args); - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4ui32_getValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ui32_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbVec4ui32 const *)\n" - " getValue(SbVec4ui32 const *,uint32_t &,uint32_t &,uint32_t &,uint32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_dot" "', argument " "1"" of type '" "SbVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32_dot" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32_dot" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - result = ((SbVec4ui32 const *)arg1)->dot((SbVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32_negate" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___imul__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ui32___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4ui32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___imul__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ui32___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4ui32 &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ui32___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ui32___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ui32___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec4ui32 *,int)\n" - " operator *=(SbVec4ui32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___idiv__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ui32___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4ui32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___idiv__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4ui32___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4ui32 &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ui32___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4ui32___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4ui32___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec4ui32 *,int)\n" - " operator /=(SbVec4ui32 *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___iadd__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32___iadd__" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32___iadd__" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->operator +=((SbVec4ui32 const &)*arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___isub__" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4ui32___isub__" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4ui32___isub__" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - { - SbVec4ui32 &_result_ref = (arg1)->operator -=((SbVec4ui32 const &)*arg2); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4ui32___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4ui32___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4ui32___neg__" "', argument " "1"" of type '" "SbVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - result = ((SbVec4ui32 const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4ui32(static_cast< const SbVec4ui32& >(result))), SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4ui32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4ui32 *arg1 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4ui32" "', argument " "1"" of type '" "SbVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SbVec4ui32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4ui32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4ui32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4ui32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4ui32",0,0)) SWIG_fail; - result = (SoSFVec4ui32 *)new SoSFVec4ui32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4ui32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4ui32" "', argument " "1"" of type '" "SoSFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4ui32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4ui32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_getTypeId" "', argument " "1"" of type '" "SoSFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - result = ((SoSFVec4ui32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_copyFrom" "', argument " "1"" of type '" "SoSFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ui32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_isSame" "', argument " "1"" of type '" "SoSFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ui32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4ui32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_getValue" "', argument " "1"" of type '" "SoSFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - { - SbVec4ui32 const &_result_ref = ((SoSFVec4ui32 const *)arg1)->getValue(); - result = (SbVec4ui32 *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_setValue" "', argument " "1"" of type '" "SoSFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - (arg1)->setValue((SbVec4ui32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - SoSFVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32___eq__" "', argument " "1"" of type '" "SoSFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32___eq__" "', argument " "2"" of type '" "SoSFVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ui32___eq__" "', argument " "2"" of type '" "SoSFVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4ui32 * >(argp2); - result = (int)((SoSFVec4ui32 const *)arg1)->operator ==((SoSFVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - SoSFVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32___ne__" "', argument " "1"" of type '" "SoSFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32___ne__" "', argument " "2"" of type '" "SoSFVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4ui32___ne__" "', argument " "2"" of type '" "SoSFVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4ui32 * >(argp2); - result = (int)((SoSFVec4ui32 const *)arg1)->operator !=((SoSFVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_initClass",0,0)) SWIG_fail; - SoSFVec4ui32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_setValue" "', argument " "1"" of type '" "SoSFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4ui32_setValue" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4ui32_setValue" "', argument " "4"" of type '" "uint32_t""'"); - } - arg4 = static_cast< uint32_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4ui32_setValue" "', argument " "5"" of type '" "uint32_t""'"); - } - arg5 = static_cast< uint32_t >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4ui32 *arg1 = (SoSFVec4ui32 *) 0 ; - uint32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4ui32_setValue" "', argument " "1"" of type '" "SoSFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoSFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t const [4]""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - (arg1)->setValue((uint32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4ui32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4ui32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4ui32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4ui32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4ui32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4ui32 *,SbVec4ui32 const &)\n" - " setValue(SoSFVec4ui32 *,uint32_t,uint32_t,uint32_t,uint32_t)\n" - " setValue(SoSFVec4ui32 *,uint32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4ui32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4ui32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4f",0,0)) SWIG_fail; - result = (SoSFVec4f *)new SoSFVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4f" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_getTypeId" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - result = ((SoSFVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_copyFrom" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_isSame" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_getValue" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - { - SbVec4f const &_result_ref = ((SoSFVec4f const *)arg1)->getValue(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f___eq__" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f___eq__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f___eq__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - result = (int)((SoSFVec4f const *)arg1)->operator ==((SoSFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f___ne__" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f___ne__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f___ne__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - result = (int)((SoSFVec4f const *)arg1)->operator !=((SoSFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_initClass",0,0)) SWIG_fail; - SoSFVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SoSFVec4f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - SoSFVec4f_setValue__SWIG_3(arg1,(SoSFVec4f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4f_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4f *,SbVec4f const &)\n" - " setValue(SoSFVec4f *,float,float,float,float)\n" - " setValue(SoSFVec4f *,float const [4])\n" - " setValue(SoSFVec4f *,SoSFVec4f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",0,0)) SWIG_fail; - result = (SbVec4d *)new SbVec4d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - double temp1[4] ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec4d *)new SbVec4d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4d" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbVec4d *)new SbVec4d(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbVec4d *)new SbVec4d((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4b const &""'"); - } - arg1 = reinterpret_cast< SbVec4b * >(argp1); - result = (SbVec4d *)new SbVec4d((SbVec4b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4s *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4s const &""'"); - } - arg1 = reinterpret_cast< SbVec4s * >(argp1); - result = (SbVec4d *)new SbVec4d((SbVec4s const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec4d" "', argument " "1"" of type '" "SbVec4i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec4i32 * >(argp1); - result = (SbVec4d *)new SbVec4d((SbVec4i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4d__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4d__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec4d__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0 ; - } - if (_v) { - return _wrap_new_SbVec4d__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4d__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4d'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec4d()\n" - " SbVec4d(double const [4])\n" - " SbVec4d(double,double,double,double)\n" - " SbVec4d(SbVec4f const &)\n" - " SbVec4d(SbVec4b const &)\n" - " SbVec4d(SbVec4s const &)\n" - " SbVec4d(SbVec4i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - { - convert_SbVec4d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec4d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - { - SbVec4d &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4d &_result_ref = (arg1)->setValue((SbVec4f const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4b const &""'"); - } - arg2 = reinterpret_cast< SbVec4b * >(argp2); - { - SbVec4d &_result_ref = (arg1)->setValue((SbVec4b const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - { - SbVec4d &_result_ref = (arg1)->setValue((SbVec4s const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - { - SbVec4d &_result_ref = (arg1)->setValue((SbVec4i32 const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0 ; - } - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec4d *,double const [4])\n" - " setValue(SbVec4d *,double,double,double,double)\n" - " setValue(SbVec4d *,SbVec4f const &)\n" - " setValue(SbVec4d *,SbVec4b const &)\n" - " setValue(SbVec4d *,SbVec4s const &)\n" - " setValue(SbVec4d *,SbVec4i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_getValue" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double *)((SbVec4d const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_dot" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_dot" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_dot" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (double)((SbVec4d const *)arg1)->dot((SbVec4d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_equals" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_equals" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_equals" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec4d const *)arg1)->equals((SbVec4d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_getReal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_getReal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_getReal" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_getReal" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_getReal" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ((SbVec4d const *)arg1)->getReal(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_length" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double)((SbVec4d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_sqrLength" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double)((SbVec4d const *)arg1)->sqrLength(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_negate" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_normalize" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___imul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___idiv__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___iadd__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___iadd__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___iadd__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4d &_result_ref = (arg1)->operator +=((SbVec4d const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___isub__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___isub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___isub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4d &_result_ref = (arg1)->operator -=((SbVec4d const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___neg__" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = ((SbVec4d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_output" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec4d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___add__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___add__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___add__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = SbVec4d___add__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___sub__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___sub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___sub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = SbVec4d___sub__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___mul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___mul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbVec4d___mul____SWIG_1(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4d___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___rmul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___div__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___eq__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___eq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___eq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (int)SbVec4d___eq__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___nq__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___nq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___nq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (int)SbVec4d___nq__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___getitem__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec4d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___setitem__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec4d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4d" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4d",0,0)) SWIG_fail; - result = (SoSFVec4d *)new SoSFVec4d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4d" "', argument " "1"" of type '" "SoSFVec4d *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_getTypeId" "', argument " "1"" of type '" "SoSFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - result = ((SoSFVec4d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_copyFrom" "', argument " "1"" of type '" "SoSFVec4d *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_isSame" "', argument " "1"" of type '" "SoSFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_getValue" "', argument " "1"" of type '" "SoSFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - { - SbVec4d const &_result_ref = ((SoSFVec4d const *)arg1)->getValue(); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_setValue" "', argument " "1"" of type '" "SoSFVec4d *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4d_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - (arg1)->setValue((SbVec4d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - SoSFVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d___eq__" "', argument " "1"" of type '" "SoSFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d___eq__" "', argument " "2"" of type '" "SoSFVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4d___eq__" "', argument " "2"" of type '" "SoSFVec4d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4d * >(argp2); - result = (int)((SoSFVec4d const *)arg1)->operator ==((SoSFVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - SoSFVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d___ne__" "', argument " "1"" of type '" "SoSFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d___ne__" "', argument " "2"" of type '" "SoSFVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4d___ne__" "', argument " "2"" of type '" "SoSFVec4d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4d * >(argp2); - result = (int)((SoSFVec4d const *)arg1)->operator !=((SoSFVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_initClass",0,0)) SWIG_fail; - SoSFVec4d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_setValue" "', argument " "1"" of type '" "SoSFVec4d *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4d *arg1 = (SoSFVec4d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4d_setValue" "', argument " "1"" of type '" "SoSFVec4d *""'"); - } - arg1 = reinterpret_cast< SoSFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4d_setValue" "', argument " "2"" of type '" "double const [4]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoSFVec4d *,SbVec4d const &)\n" - " setValue(SoSFVec4d *,double,double,double,double)\n" - " setValue(SoSFVec4d *,double const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFColor",0,0)) SWIG_fail; - result = (SoMFColor *)new SoMFColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFColor" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFColor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getClassTypeId",0,0)) SWIG_fail; - result = SoMFColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getTypeId" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = ((SoMFColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_copyFrom" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_isSame" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_find" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbColor const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_find" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)(arg1)->find((SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFColor *,SbColor const &,SbBool)\n" - " find(SoMFColor *,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->set1Value(arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setValue((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___eq__" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor___eq__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___eq__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->operator ==((SoMFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___ne__" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor___ne__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___ne__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->operator !=((SoMFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_startEditing" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = (SbColor *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_finishEditing" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_setValuesPointer" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setValuesPointer(arg2,(SbColor const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_setValuesPointer" "', argument " "3"" of type '" "SbColor *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFColor *,int const,float const *)\n" - " setValuesPointer(SoMFColor *,int const,float *)\n" - " setValuesPointer(SoMFColor *,int const,SbColor const *)\n" - " setValuesPointer(SoMFColor *,int const,SbColor *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_initClass",0,0)) SWIG_fail; - SoMFColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - } else { - temp4 = NULL; - } - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setHSVValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setHSVValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - } else { - temp4 = NULL; - } - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setHSVValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setHSVValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SoMFColor *,float,float,float)\n" - " setHSVValue(SoMFColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColor_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFColor *,int const,SbColor const &)\n" - " set1Value(SoMFColor *,int,SbVec3f const &)\n" - " set1Value(SoMFColor *,int,float,float,float)\n" - " set1Value(SoMFColor *,int,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1HSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1HSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_set1HSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_set1HSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColor_set1HSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1HSVValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1HSVValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1HSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1HSVValue(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_set1HSVValue__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_set1HSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_set1HSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " set1HSVValue(SoMFColor *,int,float,float,float)\n" - " set1HSVValue(SoMFColor *,int,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___getitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoMFColor___getitem__(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___setitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor___setitem__" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___setitem__" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - SoMFColor___setitem____SWIG_0(arg1,arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___setitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - SoMFColor___setitem____SWIG_1(arg1,arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor___setitem____SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor___setitem____SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor___setitem__'.\n" - " Possible C/C++ prototypes are:\n" - " __setitem__(SoMFColor *,int,SbColor const &)\n" - " __setitem__(SoMFColor *,int,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SoMFColor const *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - SoMFColor_setValue__SWIG_4(arg1,(SoMFColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFColor *,SbColor const &)\n" - " setValue(SoMFColor *,SbVec3f const &)\n" - " setValue(SoMFColor *,float,float,float)\n" - " setValue(SoMFColor *,float const [3])\n" - " setValue(SoMFColor *,SoMFColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbColor *)SoMFColor___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, - SWIG_NewPointerObj((void*)(result+i), SWIGTYPE_p_SbColor, 0)); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = (SbColor *)SoMFColor___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, - SWIG_NewPointerObj((void*)(result+i), SWIGTYPE_p_SbColor, 0)); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFColor *,int &,int)\n" - " __getValuesHelper__(SoMFColor *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFColorRGBA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFColorRGBA",0,0)) SWIG_fail; - result = (SoMFColorRGBA *)new SoMFColorRGBA(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColorRGBA, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFColorRGBA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFColorRGBA",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFColorRGBA" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFColorRGBA::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_getClassTypeId",0,0)) SWIG_fail; - result = SoMFColorRGBA::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_getTypeId" "', argument " "1"" of type '" "SoMFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - result = ((SoMFColorRGBA const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_copyFrom" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_isSame" "', argument " "1"" of type '" "SoMFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFColorRGBA const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_getValues" "', argument " "1"" of type '" "SoMFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbColor4f *)((SoMFColorRGBA const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SbColor4f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_find" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_find" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_find" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbColor4f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_find" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_find" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_find" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = (int)(arg1)->find((SbColor4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColorRGBA_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFColorRGBA *,SbColor4f const &,SbBool)\n" - " find(SoMFColorRGBA *,SbColor4f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - int arg3 ; - SbColor4f *arg4 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValues" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFColorRGBA_setValues" "', argument " "4"" of type '" "SbColor4f const *""'"); - } - arg4 = reinterpret_cast< SbColor4f * >(argp4); - (arg1)->setValues(arg2,arg3,(SbColor4f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - SbColor4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1Value" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "SbColor4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "SbColor4f const &""'"); - } - arg3 = reinterpret_cast< SbColor4f * >(argp3); - (arg1)->set1Value(arg2,(SbColor4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - (arg1)->setValue((SbColor4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SoMFColorRGBA *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA___eq__" "', argument " "1"" of type '" "SoMFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColorRGBA, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA___eq__" "', argument " "2"" of type '" "SoMFColorRGBA const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA___eq__" "', argument " "2"" of type '" "SoMFColorRGBA const &""'"); - } - arg2 = reinterpret_cast< SoMFColorRGBA * >(argp2); - result = (SbBool)((SoMFColorRGBA const *)arg1)->operator ==((SoMFColorRGBA const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SoMFColorRGBA *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA___ne__" "', argument " "1"" of type '" "SoMFColorRGBA const *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColorRGBA, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA___ne__" "', argument " "2"" of type '" "SoMFColorRGBA const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA___ne__" "', argument " "2"" of type '" "SoMFColorRGBA const &""'"); - } - arg2 = reinterpret_cast< SoMFColorRGBA * >(argp2); - result = (SbBool)((SoMFColorRGBA const *)arg1)->operator !=((SoMFColorRGBA const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_startEditing" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - result = (SbColor4f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_finishEditing" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - SbColor4f *arg3 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "3"" of type '" "SbColor4f const *""'"); - } - arg3 = reinterpret_cast< SbColor4f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbColor4f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - SbColor4f *arg3 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_setValuesPointer" "', argument " "3"" of type '" "SbColor4f *""'"); - } - arg3 = reinterpret_cast< SbColor4f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFColorRGBA *,int const,float const *)\n" - " setValuesPointer(SoMFColorRGBA *,int const,float *)\n" - " setValuesPointer(SoMFColorRGBA *,int const,SbColor4f const *)\n" - " setValuesPointer(SoMFColorRGBA *,int const,SbColor4f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_initClass",0,0)) SWIG_fail; - SoMFColorRGBA::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValues" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFColorRGBA_setValues" "', argument " "4"" of type '" "float const [][4]""'"); - } - arg4 = reinterpret_cast< float (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFColorRGBA *,int const,int const,SbColor4f const *)\n" - " setValues(SoMFColorRGBA *,int,int,float const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setHSVValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setHSVValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setHSVValues" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setHSVValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_setHSVValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFColorRGBA_setHSVValues" "', argument " "4"" of type '" "float const [][4]""'"); - } - arg4 = reinterpret_cast< float (*)[4] >(argp4); - (arg1)->setHSVValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColorRGBA_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColorRGBA_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_setValue" "', argument " "2"" of type '" "float const [4]""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColorRGBA_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFColorRGBA *,SbColor4f const &)\n" - " setValue(SoMFColorRGBA *,SbVec4f const &)\n" - " setValue(SoMFColorRGBA *,float,float,float,float)\n" - " setValue(SoMFColorRGBA *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setHSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setHSVValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColorRGBA_setHSVValue" "', argument " "2"" of type '" "float const [4]""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColorRGBA_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_setHSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " setHSVValue(SoMFColorRGBA *,float,float,float,float)\n" - " setHSVValue(SoMFColorRGBA *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1Value" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->set1Value(arg2,(SbVec4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1Value" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColorRGBA_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColorRGBA_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFColorRGBA_set1Value" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1Value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1Value" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_set1Value" "', argument " "3"" of type '" "float const [4]""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_set1Value__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_set1Value__SWIG_3(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColorRGBA_set1Value__SWIG_2(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFColorRGBA *,int const,SbColor4f const &)\n" - " set1Value(SoMFColorRGBA *,int,SbVec4f const &)\n" - " set1Value(SoMFColorRGBA *,int,float,float,float,float)\n" - " set1Value(SoMFColorRGBA *,int,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1HSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1HSVValue",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1HSVValue(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1HSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColorRGBA *arg1 = (SoMFColorRGBA *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColorRGBA_set1HSVValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColorRGBA, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "1"" of type '" "SoMFColorRGBA *""'"); - } - arg1 = reinterpret_cast< SoMFColorRGBA * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColorRGBA_set1HSVValue" "', argument " "3"" of type '" "float const [4]""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->set1HSVValue(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColorRGBA_set1HSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColorRGBA_set1HSVValue__SWIG_1(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColorRGBA, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColorRGBA_set1HSVValue__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColorRGBA_set1HSVValue'.\n" - " Possible C/C++ prototypes are:\n" - " set1HSVValue(SoMFColorRGBA *,int,float,float,float,float)\n" - " set1HSVValue(SoMFColorRGBA *,int,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFColorRGBA_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFColorRGBA, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFDouble",0,0)) SWIG_fail; - result = (SoMFDouble *)new SoMFDouble(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFDouble, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFDouble",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFDouble" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFDouble::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_getClassTypeId",0,0)) SWIG_fail; - result = SoMFDouble::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_getTypeId" "', argument " "1"" of type '" "SoMFDouble const *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - result = ((SoMFDouble const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_copyFrom" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFDouble_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFDouble_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_isSame" "', argument " "1"" of type '" "SoMFDouble const *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFDouble_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFDouble_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFDouble const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_getValues" "', argument " "1"" of type '" "SoMFDouble const *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double *)((SoMFDouble const *)arg1)->getValues(arg2); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - double arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_find" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_find" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFDouble_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_find" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_find" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFDouble, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFDouble_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFDouble, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFDouble_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFDouble_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFDouble *,double,SbBool)\n" - " find(SoMFDouble *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - int arg2 ; - int arg3 ; - double *arg4 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_setValues" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFDouble_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFDouble_setValues" "', argument " "4"" of type '" "double const *""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - (arg1)->setValues(arg2,arg3,(double const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_set1Value" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFDouble_set1Value" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_setValue" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - SoMFDouble *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble___eq__" "', argument " "1"" of type '" "SoMFDouble const *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFDouble, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFDouble___eq__" "', argument " "2"" of type '" "SoMFDouble const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFDouble___eq__" "', argument " "2"" of type '" "SoMFDouble const &""'"); - } - arg2 = reinterpret_cast< SoMFDouble * >(argp2); - result = (SbBool)((SoMFDouble const *)arg1)->operator ==((SoMFDouble const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - SoMFDouble *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble___ne__" "', argument " "1"" of type '" "SoMFDouble const *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFDouble, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFDouble___ne__" "', argument " "2"" of type '" "SoMFDouble const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFDouble___ne__" "', argument " "2"" of type '" "SoMFDouble const &""'"); - } - arg2 = reinterpret_cast< SoMFDouble * >(argp2); - result = (SbBool)((SoMFDouble const *)arg1)->operator !=((SoMFDouble const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_startEditing" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - result = (double *)(arg1)->startEditing(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_finishEditing" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_setValuesPointer" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFDouble_setValuesPointer" "', argument " "3"" of type '" "double const *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,(double const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFDouble *arg1 = (SoMFDouble *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFDouble, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFDouble_setValuesPointer" "', argument " "1"" of type '" "SoMFDouble *""'"); - } - arg1 = reinterpret_cast< SoMFDouble * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFDouble_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFDouble_setValuesPointer" "', argument " "3"" of type '" "double *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFDouble, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFDouble_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFDouble, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFDouble_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFDouble_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFDouble *,int const,double const *)\n" - " setValuesPointer(SoMFDouble *,int const,double *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFDouble_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFDouble_initClass",0,0)) SWIG_fail; - SoMFDouble::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMFDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFDouble, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFEngine",0,0)) SWIG_fail; - result = (SoMFEngine *)new SoMFEngine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEngine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFEngine" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFEngine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoMFEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getTypeId" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = ((SoMFEngine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_copyFrom" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_isSame" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_find" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_find" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_find" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_find" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFEngine *,SoEngine *,SbBool)\n" - " find(SoMFEngine *,SoEngine *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - SoEngine **arg4 = (SoEngine **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (SoEngine **)malloc(len * sizeof(SoEngine *)); - for (int i = 0; i < len; i++ ) { - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoEngine,1); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoEngine const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_set1Value" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEngine_set1Value" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValue" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_setValue" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___eq__" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine___eq__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine___eq__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->operator ==((SoMFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___ne__" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine___ne__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine___ne__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->operator !=((SoMFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngine **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_startEditing" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SoEngine **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_finishEditing" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_initClass",0,0)) SWIG_fail; - SoMFEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_fixCopy" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_referencesCopy" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SbBool)((SoMFEngine const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_deleteValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_deleteValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_deleteValues'.\n" - " Possible C/C++ prototypes are:\n" - " deleteValues(SoMFEngine *,int,int)\n" - " deleteValues(SoMFEngine *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_insertSpace" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___getitem__" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoMFEngine___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___setitem__" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEngine___setitem__" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - SoMFEngine___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValue" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_setValue" "', argument " "2"" of type '" "SoMFEngine const *""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - SoMFEngine_setValue__SWIG_1(arg1,(SoMFEngine const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFEngine *,SoEngine *)\n" - " setValue(SoMFEngine *,SoMFEngine const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEngine **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngine **)SoMFEngine___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SoEngine **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SoEngine **)SoMFEngine___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFEngine *,int &,int)\n" - " __getValuesHelper__(SoMFEngine *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFBitMask",0,0)) SWIG_fail; - result = (SoMFBitMask *)new SoMFBitMask(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBitMask, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFBitMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFBitMask" "', argument " "1"" of type '" "SoMFBitMask *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFBitMask::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_getClassTypeId",0,0)) SWIG_fail; - result = SoMFBitMask::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_getTypeId" "', argument " "1"" of type '" "SoMFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - result = ((SoMFBitMask const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_copyFrom" "', argument " "1"" of type '" "SoMFBitMask *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_isSame" "', argument " "1"" of type '" "SoMFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFBitMask const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_initClass",0,0)) SWIG_fail; - SoMFBitMask::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMFBitMask_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFBitMask, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFInt32",0,0)) SWIG_fail; - result = (SoMFInt32 *)new SoMFInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFInt32" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getTypeId" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = ((SoMFInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_copyFrom" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_isSame" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_find" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_find" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_find" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_find" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFInt32 *,int32_t,SbBool)\n" - " find(SoMFInt32 *,int32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int32_t *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_set1Value" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_set1Value" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValue" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___eq__" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32___eq__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32___eq__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->operator ==((SoMFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___ne__" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32___ne__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32___ne__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->operator !=((SoMFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_startEditing" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = (int32_t *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_finishEditing" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFInt32 *,int const,int32_t const *)\n" - " setValuesPointer(SoMFInt32 *,int const,int32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_initClass",0,0)) SWIG_fail; - SoMFInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___getitem__" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMFInt32___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___setitem__" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32___setitem__" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoMFInt32___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValue" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_setValue" "', argument " "2"" of type '" "SoMFInt32 const *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - SoMFInt32_setValue__SWIG_1(arg1,(SoMFInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFInt32 *,int32_t)\n" - " setValue(SoMFInt32 *,SoMFInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int32_t temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_getValues" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - result = (int32_t *)SoMFInt32___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int32_t temp2 ; - PyObject * obj0 = 0 ; - int32_t *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = (int32_t *)SoMFInt32___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int32_t, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFInt32 *,int32_t &,int32_t)\n" - " __getValuesHelper__(SoMFInt32 *,int32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFNode",0,0)) SWIG_fail; - result = (SoMFNode *)new SoMFNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFNode::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getClassTypeId",0,0)) SWIG_fail; - result = SoMFNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getTypeId" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = ((SoMFNode const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_copyFrom" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_isSame" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_find" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_find" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_find" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_find" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFNode *,SoNode *,SbBool)\n" - " find(SoMFNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - SoNode **arg4 = (SoNode **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if( len > 0 ) { - arg4 = (SoNode **)malloc(len * sizeof(SoNode *)); - for(int i = 0; i < len; i++ ) - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoNode,1); - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoNode const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_set1Value" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_set1Value" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValue" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_setValue" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___eq__" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode___eq__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode___eq__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->operator ==((SoMFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___ne__" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode___ne__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode___ne__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->operator !=((SoMFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_startEditing" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SoNode **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_finishEditing" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_initClass",0,0)) SWIG_fail; - SoMFNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_fixCopy" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_referencesCopy" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SbBool)((SoMFNode const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_addNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_addNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_addNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_addNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_insertNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_insertNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_insertNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_insertNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_insertNode" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getNode" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoMFNode const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_findNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_findNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_findNode" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_findNode" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoMFNode const *)arg1)->findNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getNumNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getNumNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getNumNodes" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (int)((SoMFNode const *)arg1)->getNumNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_removeNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_removeNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_removeNode__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_removeNode__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_removeNode'.\n" - " Possible C/C++ prototypes are:\n" - " removeNode(SoMFNode *,int)\n" - " removeNode(SoMFNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeAllNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeAllNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeAllNodes" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - (arg1)->removeAllNodes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_replaceNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_replaceNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_replaceNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_replaceNode" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_replaceNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_replaceNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_replaceNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_replaceNode" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_replaceNode__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_replaceNode__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_replaceNode'.\n" - " Possible C/C++ prototypes are:\n" - " replaceNode(SoMFNode *,int,SoNode *)\n" - " replaceNode(SoMFNode *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_deleteValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_deleteValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_deleteValues'.\n" - " Possible C/C++ prototypes are:\n" - " deleteValues(SoMFNode *,int,int)\n" - " deleteValues(SoMFNode *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_insertSpace" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___getitem__" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoMFNode___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___setitem__" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode___setitem__" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - SoMFNode___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValue" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_setValue" "', argument " "2"" of type '" "SoMFNode const *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - SoMFNode_setValue__SWIG_1(arg1,(SoMFNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFNode *,SoNode *)\n" - " setValue(SoMFNode *,SoMFNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoNode **)SoMFNode___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SoNode **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SoNode **)SoMFNode___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFNode *,int &,int)\n" - " __getValuesHelper__(SoMFNode *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFPath",0,0)) SWIG_fail; - result = (SoMFPath *)new SoMFPath(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFPath" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFPath::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getClassTypeId",0,0)) SWIG_fail; - result = SoMFPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getTypeId" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = ((SoMFPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_copyFrom" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_isSame" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_find" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_find" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_find" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_find" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFPath *,SoPath *,SbBool)\n" - " find(SoMFPath *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - SoPath **arg4 = (SoPath **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (SoPath **)malloc(len * sizeof(SoPath *)); - for (int i = 0; i < len; i++ ) { - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoPath,1); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoPath const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_set1Value" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPath_set1Value" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValue" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_setValue" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___eq__" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath___eq__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath___eq__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->operator ==((SoMFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___ne__" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath___ne__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath___ne__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->operator !=((SoMFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_startEditing" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SoPath **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_finishEditing" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_initClass",0,0)) SWIG_fail; - SoMFPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_notify" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_fixCopy" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_referencesCopy" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SbBool)((SoMFPath const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_deleteValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_deleteValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_deleteValues'.\n" - " Possible C/C++ prototypes are:\n" - " deleteValues(SoMFPath *,int,int)\n" - " deleteValues(SoMFPath *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_insertSpace" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___getitem__" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoMFPath___getitem__(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___setitem__" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPath___setitem__" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - SoMFPath___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValue" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_setValue" "', argument " "2"" of type '" "SoMFPath const *""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - SoMFPath_setValue__SWIG_1(arg1,(SoMFPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFPath *,SoPath *)\n" - " setValue(SoMFPath *,SoMFPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoPath **)SoMFPath___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_path(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SoPath **result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SoPath **)SoMFPath___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_path(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFPath *,int &,int)\n" - " __getValuesHelper__(SoMFPath *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFPlane",0,0)) SWIG_fail; - result = (SoMFPlane *)new SoMFPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFPlane" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFPlane::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoMFPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getTypeId" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = ((SoMFPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_copyFrom" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_isSame" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_find" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbPlane const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_find" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)(arg1)->find((SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPlane_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFPlane *,SbPlane const &,SbBool)\n" - " find(SoMFPlane *,SbPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - int arg3 ; - SbPlane *arg4 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbPlane[len]; - for (int i = 0; i < len; i++) { - SbPlane * plane = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &plane, SWIGTYPE_p_SbPlane, 1); - if (plane != NULL) { - arg4[i] = *plane; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbPlane const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_set1Value" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPlane_set1Value" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_set1Value" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - (arg1)->set1Value(arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValue" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setValue((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___eq__" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane___eq__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___eq__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->operator ==((SoMFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___ne__" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane___ne__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___ne__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->operator !=((SoMFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_startEditing" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = (SbPlane *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_finishEditing" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_initClass",0,0)) SWIG_fail; - SoMFPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___getitem__" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbPlane const &_result_ref = SoMFPlane___getitem__(arg1,arg2); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___setitem__" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPlane___setitem__" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___setitem__" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - SoMFPlane___setitem__(arg1,arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlane *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbPlane *)SoMFPlane___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbPlane * plane = new SbPlane( result[i] ); - PyObject * obj = SWIG_NewPointerObj(plane, SWIGTYPE_p_SbPlane, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbPlane *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = (SbPlane *)SoMFPlane___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbPlane * plane = new SbPlane( result[i] ); - PyObject * obj = SWIG_NewPointerObj(plane, SWIGTYPE_p_SbPlane, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPlane_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFPlane *,int &,int)\n" - " __getValuesHelper__(SoMFPlane *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValue" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SoMFPlane const *""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - SoMFPlane_setValue__SWIG_1(arg1,(SoMFPlane const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFPlane *,SbPlane const &)\n" - " setValue(SoMFPlane *,SoMFPlane const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFShort",0,0)) SWIG_fail; - result = (SoMFShort *)new SoMFShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFShort" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getClassTypeId",0,0)) SWIG_fail; - result = SoMFShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getTypeId" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = ((SoMFShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_copyFrom" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_isSame" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_find" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_find" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_find" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_find" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFShort *,short,SbBool)\n" - " find(SoMFShort *,short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - int arg3 ; - short *arg4 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - short *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(short const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_set1Value" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_set1Value" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValue" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___eq__" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort___eq__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort___eq__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->operator ==((SoMFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___ne__" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort___ne__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort___ne__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->operator !=((SoMFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - short *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_startEditing" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = (short *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_finishEditing" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValuesPointer" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValuesPointer" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFShort *,int const,short const *)\n" - " setValuesPointer(SoMFShort *,int const,short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_initClass",0,0)) SWIG_fail; - SoMFShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___getitem__" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SoMFShort___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___setitem__" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SoMFShort___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValue" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_setValue" "', argument " "2"" of type '" "SoMFShort const *""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - SoMFShort_setValue__SWIG_1(arg1,(SoMFShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFShort *,short)\n" - " setValue(SoMFShort *,SoMFShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (short *)SoMFShort___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - short *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = (short *)SoMFShort___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFShort *,int &,int)\n" - " __getValuesHelper__(SoMFShort *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFTime",0,0)) SWIG_fail; - result = (SoMFTime *)new SoMFTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFTime" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getClassTypeId",0,0)) SWIG_fail; - result = SoMFTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getTypeId" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = ((SoMFTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_copyFrom" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_isSame" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_find" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbTime const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_find" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFTime_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFTime_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFTime *,SbTime const &,SbBool)\n" - " find(SoMFTime *,SbTime const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - int arg3 ; - SbTime *arg4 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbTime[len]; - for (int i = 0; i < len; i++) { - SbTime * time = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &time, SWIGTYPE_p_SbTime, 1); - if (time != NULL) { - arg4[i] = *time; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbTime const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - SbTime *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_set1Value" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyFloat_Check(obj2)) { - arg3 = new SbTime(PyFloat_AsDouble(obj2)); - } else { - SbTime * tmp = NULL; - arg3 = new SbTime; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbTime const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValue" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___eq__" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime___eq__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime___eq__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->operator ==((SoMFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___ne__" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime___ne__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime___ne__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->operator !=((SoMFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_startEditing" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = (SbTime *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_finishEditing" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_initClass",0,0)) SWIG_fail; - SoMFTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___getitem__" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbTime const &_result_ref = SoMFTime___getitem__(arg1,arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - SbTime *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___setitem__" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyFloat_Check(obj2)) { - arg3 = new SbTime(PyFloat_AsDouble(obj2)); - } else { - SbTime * tmp = NULL; - arg3 = new SbTime; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg3 = *tmp; - } - } - SoMFTime___setitem__(arg1,arg2,(SbTime const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbTime *)SoMFTime___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - SbTime * time = new SbTime( result[i] ); - PyObject * obj = SWIG_NewPointerObj(time, SWIGTYPE_p_SbTime, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = (SbTime *)SoMFTime___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - SbTime * time = new SbTime( result[i] ); - PyObject * obj = SWIG_NewPointerObj(time, SWIGTYPE_p_SbTime, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFTime_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFTime_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFTime *,int &,int)\n" - " __getValuesHelper__(SoMFTime *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValue" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_setValue" "', argument " "2"" of type '" "SoMFTime const *""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - SoMFTime_setValue__SWIG_1(arg1,(SoMFTime const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFTime_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFTime_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFTime *,SbTime const &)\n" - " setValue(SoMFTime *,SoMFTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFUInt32",0,0)) SWIG_fail; - result = (SoMFUInt32 *)new SoMFUInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFUInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFUInt32" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFUInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFUInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getTypeId" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = ((SoMFUInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_copyFrom" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_isSame" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_find" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_find" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_find" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_find" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFUInt32 *,uint32_t,SbBool)\n" - " find(SoMFUInt32 *,uint32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - int arg3 ; - uint32_t *arg4 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - uint32_t *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(uint32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_set1Value" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_set1Value" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValue" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___eq__" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32___eq__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32___eq__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->operator ==((SoMFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___ne__" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32___ne__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32___ne__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->operator !=((SoMFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_startEditing" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = (uint32_t *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_finishEditing" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(uint32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFUInt32 *,int const,uint32_t const *)\n" - " setValuesPointer(SoMFUInt32 *,int const,uint32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_initClass",0,0)) SWIG_fail; - SoMFUInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___getitem__" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMFUInt32___getitem__(arg1,arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___setitem__" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32___setitem__" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - SoMFUInt32___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValue" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_setValue" "', argument " "2"" of type '" "SoMFUInt32 const *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - SoMFUInt32_setValue__SWIG_1(arg1,(SoMFUInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFUInt32 *,uint32_t)\n" - " setValue(SoMFUInt32 *,SoMFUInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - uint32_t *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (uint32_t *)SoMFUInt32___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - uint32_t *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = (uint32_t *)SoMFUInt32___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFUInt32 *,int &,int)\n" - " __getValuesHelper__(SoMFUInt32 *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFUInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFUInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFUShort",0,0)) SWIG_fail; - result = (SoMFUShort *)new SoMFUShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFUShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFUShort" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFUShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getClassTypeId",0,0)) SWIG_fail; - result = SoMFUShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getTypeId" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = ((SoMFUShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_copyFrom" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_isSame" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_find" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_find" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_find" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_find" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFUShort *,unsigned short,SbBool)\n" - " find(SoMFUShort *,unsigned short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - int arg3 ; - unsigned short *arg4 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - unsigned short *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj3, len, temp4); - - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(unsigned short const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_set1Value" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_set1Value" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValue" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___eq__" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort___eq__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort___eq__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->operator ==((SoMFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___ne__" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort___ne__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort___ne__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->operator !=((SoMFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_startEditing" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = (unsigned short *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_finishEditing" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValuesPointer" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(unsigned short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValuesPointer" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFUShort *,int const,unsigned short const *)\n" - " setValuesPointer(SoMFUShort *,int const,unsigned short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_initClass",0,0)) SWIG_fail; - SoMFUShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___getitem__" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SoMFUShort___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___setitem__" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SoMFUShort___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValue" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_setValue" "', argument " "2"" of type '" "SoMFUShort const *""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - SoMFUShort_setValue__SWIG_1(arg1,(SoMFUShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFUShort *,unsigned short)\n" - " setValue(SoMFUShort *,SoMFUShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - unsigned short *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (unsigned short *)SoMFUShort___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - unsigned short *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = (unsigned short *)SoMFUShort___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFUShort *,int &,int)\n" - " __getValuesHelper__(SoMFUShort *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFUShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFUShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2b",0,0)) SWIG_fail; - result = (SoMFVec2b *)new SoMFVec2b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2b" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_getTypeId" "', argument " "1"" of type '" "SoMFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - result = ((SoMFVec2b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_copyFrom" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_isSame" "', argument " "1"" of type '" "SoMFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_getValues" "', argument " "1"" of type '" "SoMFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2b *)((SoMFVec2b const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SbVec2b arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_find" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_find" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_find" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2b_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_find" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_find" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_find" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2b_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2b_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec2b *,SbVec2b,SbBool)\n" - " find(SoMFVec2b *,SbVec2b)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int arg3 ; - SbVec2b *arg4 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValues" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2b_setValues" "', argument " "4"" of type '" "SbVec2b const *""'"); - } - arg4 = reinterpret_cast< SbVec2b * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec2b const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - SbVec2b arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_set1Value" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_set1Value" "', argument " "3"" of type '" "SbVec2b""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_set1Value" "', argument " "3"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SbVec2b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValue" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_setValue" "', argument " "2"" of type '" "SbVec2b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_setValue" "', argument " "2"" of type '" "SbVec2b""'"); - } else { - SbVec2b * temp = reinterpret_cast< SbVec2b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SoMFVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b___eq__" "', argument " "1"" of type '" "SoMFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b___eq__" "', argument " "2"" of type '" "SoMFVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b___eq__" "', argument " "2"" of type '" "SoMFVec2b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2b * >(argp2); - result = (SbBool)((SoMFVec2b const *)arg1)->operator ==((SoMFVec2b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - SoMFVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b___ne__" "', argument " "1"" of type '" "SoMFVec2b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b___ne__" "', argument " "2"" of type '" "SoMFVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b___ne__" "', argument " "2"" of type '" "SoMFVec2b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2b * >(argp2); - result = (SbBool)((SoMFVec2b const *)arg1)->operator !=((SoMFVec2b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_startEditing" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - result = (SbVec2b *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_finishEditing" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - SbVec2b *arg3 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "3"" of type '" "SbVec2b const *""'"); - } - arg3 = reinterpret_cast< SbVec2b * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2b const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - SbVec2b *arg3 = (SbVec2b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "3"" of type '" "SbVec2b *""'"); - } - arg3 = reinterpret_cast< SbVec2b * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "3"" of type '" "int8_t const *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,(int8_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_setValuesPointer" "', argument " "3"" of type '" "int8_t *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2b_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec2b *,int const,SbVec2b const *)\n" - " setValuesPointer(SoMFVec2b *,int const,SbVec2b *)\n" - " setValuesPointer(SoMFVec2b *,int const,int8_t const *)\n" - " setValuesPointer(SoMFVec2b *,int const,int8_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_initClass",0,0)) SWIG_fail; - SoMFVec2b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int arg3 ; - int8_t (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValues" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_2__int8_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2b_setValues" "', argument " "4"" of type '" "int8_t const [][2]""'"); - } - arg4 = reinterpret_cast< int8_t (*)[2] >(argp4); - (arg1)->setValues(arg2,arg3,(int8_t const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_2__int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2b_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec2b *,int const,int const,SbVec2b const *)\n" - " setValues(SoMFVec2b *,int,int,int8_t const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int8_t arg3 ; - int8_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_set1Value" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int arg2 ; - int8_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_set1Value" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_set1Value" "', argument " "3"" of type '" "int8_t const [2]""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->set1Value(arg2,(int8_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2b_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec2b *,int const,SbVec2b)\n" - " set1Value(SoMFVec2b *,int,int8_t,int8_t)\n" - " set1Value(SoMFVec2b *,int,int8_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValue" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2b *arg1 = (SoMFVec2b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2b_setValue" "', argument " "1"" of type '" "SoMFVec2b *""'"); - } - arg1 = reinterpret_cast< SoMFVec2b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2b_setValue" "', argument " "2"" of type '" "int8_t const [2]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2b_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec2b *,SbVec2b)\n" - " setValue(SoMFVec2b *,int8_t,int8_t)\n" - " setValue(SoMFVec2b *,int8_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2s",0,0)) SWIG_fail; - result = (SoMFVec2s *)new SoMFVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2s" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_getTypeId" "', argument " "1"" of type '" "SoMFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - result = ((SoMFVec2s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_copyFrom" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_isSame" "', argument " "1"" of type '" "SoMFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_getValues" "', argument " "1"" of type '" "SoMFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2s *)((SoMFVec2s const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SbVec2s arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_find" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_find" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_find" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2s_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_find" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_find" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_find" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2s_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2s_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec2s *,SbVec2s,SbBool)\n" - " find(SoMFVec2s *,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - int arg3 ; - SbVec2s *arg4 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValues" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2s_setValues" "', argument " "4"" of type '" "SbVec2s const *""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec2s const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - SbVec2s arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_set1Value" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2s_set1Value" "', argument " "3"" of type '" "SbVec2s""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_set1Value" "', argument " "3"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValue" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SoMFVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s___eq__" "', argument " "1"" of type '" "SoMFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s___eq__" "', argument " "2"" of type '" "SoMFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s___eq__" "', argument " "2"" of type '" "SoMFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2s * >(argp2); - result = (SbBool)((SoMFVec2s const *)arg1)->operator ==((SoMFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - SoMFVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s___ne__" "', argument " "1"" of type '" "SoMFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s___ne__" "', argument " "2"" of type '" "SoMFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2s___ne__" "', argument " "2"" of type '" "SoMFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2s * >(argp2); - result = (SbBool)((SoMFVec2s const *)arg1)->operator !=((SoMFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_startEditing" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - result = (SbVec2s *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_finishEditing" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - SbVec2s *arg3 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "3"" of type '" "SbVec2s const *""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2s const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - SbVec2s *arg3 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "3"" of type '" "SbVec2s *""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2s_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec2s *,int const,SbVec2s const *)\n" - " setValuesPointer(SoMFVec2s *,int const,SbVec2s *)\n" - " setValuesPointer(SoMFVec2s *,int const,short const *)\n" - " setValuesPointer(SoMFVec2s *,int const,short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_initClass",0,0)) SWIG_fail; - SoMFVec2s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - int arg3 ; - short (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValues" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_2__short, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2s_setValues" "', argument " "4"" of type '" "short const [][2]""'"); - } - arg4 = reinterpret_cast< short (*)[2] >(argp4); - (arg1)->setValues(arg2,arg3,(short const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_2__short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2s_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec2s *,int const,int const,SbVec2s const *)\n" - " setValues(SoMFVec2s *,int,int,short const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - short arg3 ; - short arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_set1Value" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2s_set1Value" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec2s_set1Value" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - int arg2 ; - short *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_set1Value" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2s_set1Value" "', argument " "3"" of type '" "short const [2]""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - (arg1)->set1Value(arg2,(short const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2s_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2s_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec2s *,int const,SbVec2s)\n" - " set1Value(SoMFVec2s *,int,short,short)\n" - " set1Value(SoMFVec2s *,int,short const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValue" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2s *arg1 = (SoMFVec2s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2s_setValue" "', argument " "1"" of type '" "SoMFVec2s *""'"); - } - arg1 = reinterpret_cast< SoMFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2s_setValue" "', argument " "2"" of type '" "short const [2]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec2s *,SbVec2s)\n" - " setValue(SoMFVec2s *,short,short)\n" - " setValue(SoMFVec2s *,short const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2i32",0,0)) SWIG_fail; - result = (SoMFVec2i32 *)new SoMFVec2i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2i32" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_getTypeId" "', argument " "1"" of type '" "SoMFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - result = ((SoMFVec2i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_copyFrom" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_isSame" "', argument " "1"" of type '" "SoMFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_getValues" "', argument " "1"" of type '" "SoMFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2i32 *)((SoMFVec2i32 const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_find" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_find" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_find" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2i32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec2i32 const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_find" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_find" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_find" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - result = (int)(arg1)->find((SbVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2i32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2i32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec2i32 *,SbVec2i32 const &,SbBool)\n" - " find(SoMFVec2i32 *,SbVec2i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int arg3 ; - SbVec2i32 *arg4 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValues" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2i32_setValues" "', argument " "4"" of type '" "SbVec2i32 const *""'"); - } - arg4 = reinterpret_cast< SbVec2i32 * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec2i32 const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - SbVec2i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_set1Value" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2i32_set1Value" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_set1Value" "', argument " "3"" of type '" "SbVec2i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - (arg1)->set1Value(arg2,(SbVec2i32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValue" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - (arg1)->setValue((SbVec2i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SoMFVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32___eq__" "', argument " "1"" of type '" "SoMFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32___eq__" "', argument " "2"" of type '" "SoMFVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32___eq__" "', argument " "2"" of type '" "SoMFVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2i32 * >(argp2); - result = (SbBool)((SoMFVec2i32 const *)arg1)->operator ==((SoMFVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - SoMFVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32___ne__" "', argument " "1"" of type '" "SoMFVec2i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32___ne__" "', argument " "2"" of type '" "SoMFVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2i32___ne__" "', argument " "2"" of type '" "SoMFVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2i32 * >(argp2); - result = (SbBool)((SoMFVec2i32 const *)arg1)->operator !=((SoMFVec2i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_startEditing" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - result = (SbVec2i32 *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_finishEditing" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - SbVec2i32 *arg3 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "3"" of type '" "SbVec2i32 const *""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2i32 const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - SbVec2i32 *arg3 = (SbVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "3"" of type '" "SbVec2i32 *""'"); - } - arg3 = reinterpret_cast< SbVec2i32 * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2i32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec2i32 *,int const,SbVec2i32 const *)\n" - " setValuesPointer(SoMFVec2i32 *,int const,SbVec2i32 *)\n" - " setValuesPointer(SoMFVec2i32 *,int const,int32_t const *)\n" - " setValuesPointer(SoMFVec2i32 *,int const,int32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_initClass",0,0)) SWIG_fail; - SoMFVec2i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int arg3 ; - int32_t (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValues" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_2__int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2i32_setValues" "', argument " "4"" of type '" "int32_t const [][2]""'"); - } - arg4 = reinterpret_cast< int32_t (*)[2] >(argp4); - (arg1)->setValues(arg2,arg3,(int32_t const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_2__int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2i32_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec2i32 *,int const,int const,SbVec2i32 const *)\n" - " setValues(SoMFVec2i32 *,int,int,int32_t const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int32_t arg3 ; - int32_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_set1Value" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2i32_set1Value" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec2i32_set1Value" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int arg2 ; - int32_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_set1Value" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2i32_set1Value" "', argument " "3"" of type '" "int32_t const [2]""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - (arg1)->set1Value(arg2,(int32_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2i32_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2i32_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec2i32 *,int const,SbVec2i32 const &)\n" - " set1Value(SoMFVec2i32 *,int,int32_t,int32_t)\n" - " set1Value(SoMFVec2i32 *,int,int32_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValue" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2i32 *arg1 = (SoMFVec2i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2i32_setValue" "', argument " "1"" of type '" "SoMFVec2i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec2i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2i32_setValue" "', argument " "2"" of type '" "int32_t const [2]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2i32_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec2i32 *,SbVec2i32 const &)\n" - " setValue(SoMFVec2i32 *,int32_t,int32_t)\n" - " setValue(SoMFVec2i32 *,int32_t const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2d",0,0)) SWIG_fail; - result = (SoMFVec2d *)new SoMFVec2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2d" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_getTypeId" "', argument " "1"" of type '" "SoMFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - result = ((SoMFVec2d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_copyFrom" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_isSame" "', argument " "1"" of type '" "SoMFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_getValues" "', argument " "1"" of type '" "SoMFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2d *)((SoMFVec2d const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_find" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_find" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_find" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2d_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec2d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_find" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_find" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_find" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (int)(arg1)->find((SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2d_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2d_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec2d *,SbVec2d const &,SbBool)\n" - " find(SoMFVec2d *,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - int arg3 ; - SbVec2d *arg4 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValues" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2d_setValues" "', argument " "4"" of type '" "SbVec2d const *""'"); - } - arg4 = reinterpret_cast< SbVec2d * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec2d const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_set1Value" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_set1Value" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_set1Value" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - (arg1)->set1Value(arg2,(SbVec2d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValue" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - (arg1)->setValue((SbVec2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SoMFVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d___eq__" "', argument " "1"" of type '" "SoMFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d___eq__" "', argument " "2"" of type '" "SoMFVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d___eq__" "', argument " "2"" of type '" "SoMFVec2d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2d * >(argp2); - result = (SbBool)((SoMFVec2d const *)arg1)->operator ==((SoMFVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - SoMFVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d___ne__" "', argument " "1"" of type '" "SoMFVec2d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d___ne__" "', argument " "2"" of type '" "SoMFVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2d___ne__" "', argument " "2"" of type '" "SoMFVec2d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2d * >(argp2); - result = (SbBool)((SoMFVec2d const *)arg1)->operator !=((SoMFVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_startEditing" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - result = (SbVec2d *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_finishEditing" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - SbVec2d *arg3 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "3"" of type '" "SbVec2d const *""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2d const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - SbVec2d *arg3 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "3"" of type '" "SbVec2d *""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "3"" of type '" "double const *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,(double const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_setValuesPointer" "', argument " "3"" of type '" "double *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2d_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec2d *,int const,SbVec2d const *)\n" - " setValuesPointer(SoMFVec2d *,int const,SbVec2d *)\n" - " setValuesPointer(SoMFVec2d *,int const,double const *)\n" - " setValuesPointer(SoMFVec2d *,int const,double *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_initClass",0,0)) SWIG_fail; - SoMFVec2d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - int arg3 ; - double (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValues" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_2__double, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec2d_setValues" "', argument " "4"" of type '" "double const [][2]""'"); - } - arg4 = reinterpret_cast< double (*)[2] >(argp4); - (arg1)->setValues(arg2,arg3,(double const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_2__double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2d_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec2d *,int const,int const,SbVec2d const *)\n" - " setValues(SoMFVec2d *,int,int,double const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_set1Value" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2d_set1Value" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec2d_set1Value" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - int arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_set1Value" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2d_set1Value" "', argument " "3"" of type '" "double const [2]""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->set1Value(arg2,(double const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2d_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2d_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec2d *,int const,SbVec2d const &)\n" - " set1Value(SoMFVec2d *,int,double,double)\n" - " set1Value(SoMFVec2d *,int,double const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - double arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValue" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2d *arg1 = (SoMFVec2d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2d_setValue" "', argument " "1"" of type '" "SoMFVec2d *""'"); - } - arg1 = reinterpret_cast< SoMFVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2d_setValue" "', argument " "2"" of type '" "double const [2]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2d_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec2d *,SbVec2d const &)\n" - " setValue(SoMFVec2d *,double,double)\n" - " setValue(SoMFVec2d *,double const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3b",0,0)) SWIG_fail; - result = (SoMFVec3b *)new SoMFVec3b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3b" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_getTypeId" "', argument " "1"" of type '" "SoMFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - result = ((SoMFVec3b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_copyFrom" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_isSame" "', argument " "1"" of type '" "SoMFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_getValues" "', argument " "1"" of type '" "SoMFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3b *)((SoMFVec3b const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SbVec3b arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_find" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_find" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_find" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3b_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_find" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_find" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_find" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3b_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3b_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec3b *,SbVec3b,SbBool)\n" - " find(SoMFVec3b *,SbVec3b)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int arg3 ; - SbVec3b *arg4 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValues" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3b_setValues" "', argument " "4"" of type '" "SbVec3b const *""'"); - } - arg4 = reinterpret_cast< SbVec3b * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec3b const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - SbVec3b arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_set1Value" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_set1Value" "', argument " "3"" of type '" "SbVec3b""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_set1Value" "', argument " "3"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SbVec3b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValue" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_setValue" "', argument " "2"" of type '" "SbVec3b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_setValue" "', argument " "2"" of type '" "SbVec3b""'"); - } else { - SbVec3b * temp = reinterpret_cast< SbVec3b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SoMFVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b___eq__" "', argument " "1"" of type '" "SoMFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b___eq__" "', argument " "2"" of type '" "SoMFVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b___eq__" "', argument " "2"" of type '" "SoMFVec3b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3b * >(argp2); - result = (SbBool)((SoMFVec3b const *)arg1)->operator ==((SoMFVec3b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - SoMFVec3b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b___ne__" "', argument " "1"" of type '" "SoMFVec3b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b___ne__" "', argument " "2"" of type '" "SoMFVec3b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b___ne__" "', argument " "2"" of type '" "SoMFVec3b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3b * >(argp2); - result = (SbBool)((SoMFVec3b const *)arg1)->operator !=((SoMFVec3b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_startEditing" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - result = (SbVec3b *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_finishEditing" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - SbVec3b *arg3 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "3"" of type '" "SbVec3b const *""'"); - } - arg3 = reinterpret_cast< SbVec3b * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3b const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - SbVec3b *arg3 = (SbVec3b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "3"" of type '" "SbVec3b *""'"); - } - arg3 = reinterpret_cast< SbVec3b * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "3"" of type '" "int8_t const *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,(int8_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_setValuesPointer" "', argument " "3"" of type '" "int8_t *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3b_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec3b *,int const,SbVec3b const *)\n" - " setValuesPointer(SoMFVec3b *,int const,SbVec3b *)\n" - " setValuesPointer(SoMFVec3b *,int const,int8_t const *)\n" - " setValuesPointer(SoMFVec3b *,int const,int8_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_initClass",0,0)) SWIG_fail; - SoMFVec3b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int arg3 ; - int8_t (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValues" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_3__int8_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3b_setValues" "', argument " "4"" of type '" "int8_t const [][3]""'"); - } - arg4 = reinterpret_cast< int8_t (*)[3] >(argp4); - (arg1)->setValues(arg2,arg3,(int8_t const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_3__int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3b_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec3b *,int const,int const,SbVec3b const *)\n" - " setValues(SoMFVec3b *,int,int,int8_t const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int8_t arg3 ; - int8_t arg4 ; - int8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_set1Value" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMFVec3b_set1Value" "', argument " "5"" of type '" "int8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_set1Value" "', argument " "5"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int arg2 ; - int8_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_set1Value" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_set1Value" "', argument " "3"" of type '" "int8_t const [3]""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->set1Value(arg2,(int8_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3b_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec3b *,int const,SbVec3b)\n" - " set1Value(SoMFVec3b *,int,int8_t,int8_t,int8_t)\n" - " set1Value(SoMFVec3b *,int,int8_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValue" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3b *arg1 = (SoMFVec3b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3b_setValue" "', argument " "1"" of type '" "SoMFVec3b *""'"); - } - arg1 = reinterpret_cast< SoMFVec3b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3b_setValue" "', argument " "2"" of type '" "int8_t const [3]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3b_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec3b *,SbVec3b)\n" - " setValue(SoMFVec3b *,int8_t,int8_t,int8_t)\n" - " setValue(SoMFVec3b *,int8_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3s",0,0)) SWIG_fail; - result = (SoMFVec3s *)new SoMFVec3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3s" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_getTypeId" "', argument " "1"" of type '" "SoMFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - result = ((SoMFVec3s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_copyFrom" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_isSame" "', argument " "1"" of type '" "SoMFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_getValues" "', argument " "1"" of type '" "SoMFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3s *)((SoMFVec3s const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_find" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_find" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_find" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3s_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3s const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_find" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_find" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_find" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int)(arg1)->find((SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3s_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3s_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec3s *,SbVec3s const &,SbBool)\n" - " find(SoMFVec3s *,SbVec3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - int arg3 ; - SbVec3s *arg4 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValues" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3s_setValues" "', argument " "4"" of type '" "SbVec3s const *""'"); - } - arg4 = reinterpret_cast< SbVec3s * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec3s const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_set1Value" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3s_set1Value" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_set1Value" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->set1Value(arg2,(SbVec3s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValue" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - (arg1)->setValue((SbVec3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SoMFVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s___eq__" "', argument " "1"" of type '" "SoMFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s___eq__" "', argument " "2"" of type '" "SoMFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s___eq__" "', argument " "2"" of type '" "SoMFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3s * >(argp2); - result = (SbBool)((SoMFVec3s const *)arg1)->operator ==((SoMFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - SoMFVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s___ne__" "', argument " "1"" of type '" "SoMFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s___ne__" "', argument " "2"" of type '" "SoMFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3s___ne__" "', argument " "2"" of type '" "SoMFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3s * >(argp2); - result = (SbBool)((SoMFVec3s const *)arg1)->operator !=((SoMFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_startEditing" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - result = (SbVec3s *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_finishEditing" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - SbVec3s *arg3 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "3"" of type '" "SbVec3s const *""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3s const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - SbVec3s *arg3 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "3"" of type '" "SbVec3s *""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3s_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec3s *,int const,SbVec3s const *)\n" - " setValuesPointer(SoMFVec3s *,int const,SbVec3s *)\n" - " setValuesPointer(SoMFVec3s *,int const,short const *)\n" - " setValuesPointer(SoMFVec3s *,int const,short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_initClass",0,0)) SWIG_fail; - SoMFVec3s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - int arg3 ; - short (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValues" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_3__short, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3s_setValues" "', argument " "4"" of type '" "short const [][3]""'"); - } - arg4 = reinterpret_cast< short (*)[3] >(argp4); - (arg1)->setValues(arg2,arg3,(short const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_3__short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3s_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec3s *,int const,int const,SbVec3s const *)\n" - " setValues(SoMFVec3s *,int,int,short const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_set1Value" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3s_set1Value" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3s_set1Value" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3s_set1Value" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - int arg2 ; - short *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_set1Value" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3s_set1Value" "', argument " "3"" of type '" "short const [3]""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - (arg1)->set1Value(arg2,(short const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3s_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3s_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec3s *,int const,SbVec3s const &)\n" - " set1Value(SoMFVec3s *,int,short,short,short)\n" - " set1Value(SoMFVec3s *,int,short const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValue" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3s *arg1 = (SoMFVec3s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3s_setValue" "', argument " "1"" of type '" "SoMFVec3s *""'"); - } - arg1 = reinterpret_cast< SoMFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3s_setValue" "', argument " "2"" of type '" "short const [3]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3s_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec3s *,SbVec3s const &)\n" - " setValue(SoMFVec3s *,short,short,short)\n" - " setValue(SoMFVec3s *,short const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3i32",0,0)) SWIG_fail; - result = (SoMFVec3i32 *)new SoMFVec3i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3i32" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_getTypeId" "', argument " "1"" of type '" "SoMFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - result = ((SoMFVec3i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_copyFrom" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_isSame" "', argument " "1"" of type '" "SoMFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_getValues" "', argument " "1"" of type '" "SoMFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3i32 *)((SoMFVec3i32 const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_find" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_find" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_find" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3i32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3i32 const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_find" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_find" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_find" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - result = (int)(arg1)->find((SbVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3i32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3i32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec3i32 *,SbVec3i32 const &,SbBool)\n" - " find(SoMFVec3i32 *,SbVec3i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int arg3 ; - SbVec3i32 *arg4 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValues" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3i32_setValues" "', argument " "4"" of type '" "SbVec3i32 const *""'"); - } - arg4 = reinterpret_cast< SbVec3i32 * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec3i32 const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - SbVec3i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_set1Value" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3i32_set1Value" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_set1Value" "', argument " "3"" of type '" "SbVec3i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - (arg1)->set1Value(arg2,(SbVec3i32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SbVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValue" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32_setValue" "', argument " "2"" of type '" "SbVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec3i32 * >(argp2); - (arg1)->setValue((SbVec3i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SoMFVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32___eq__" "', argument " "1"" of type '" "SoMFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32___eq__" "', argument " "2"" of type '" "SoMFVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32___eq__" "', argument " "2"" of type '" "SoMFVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3i32 * >(argp2); - result = (SbBool)((SoMFVec3i32 const *)arg1)->operator ==((SoMFVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - SoMFVec3i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32___ne__" "', argument " "1"" of type '" "SoMFVec3i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32___ne__" "', argument " "2"" of type '" "SoMFVec3i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3i32___ne__" "', argument " "2"" of type '" "SoMFVec3i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3i32 * >(argp2); - result = (SbBool)((SoMFVec3i32 const *)arg1)->operator !=((SoMFVec3i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_startEditing" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - result = (SbVec3i32 *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_finishEditing" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - SbVec3i32 *arg3 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "3"" of type '" "SbVec3i32 const *""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3i32 const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - SbVec3i32 *arg3 = (SbVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "3"" of type '" "SbVec3i32 *""'"); - } - arg3 = reinterpret_cast< SbVec3i32 * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3i32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec3i32 *,int const,SbVec3i32 const *)\n" - " setValuesPointer(SoMFVec3i32 *,int const,SbVec3i32 *)\n" - " setValuesPointer(SoMFVec3i32 *,int const,int32_t const *)\n" - " setValuesPointer(SoMFVec3i32 *,int const,int32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_initClass",0,0)) SWIG_fail; - SoMFVec3i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int arg3 ; - int32_t (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValues" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_3__int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec3i32_setValues" "', argument " "4"" of type '" "int32_t const [][3]""'"); - } - arg4 = reinterpret_cast< int32_t (*)[3] >(argp4); - (arg1)->setValues(arg2,arg3,(int32_t const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_3__int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3i32_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec3i32 *,int const,int const,SbVec3i32 const *)\n" - " setValues(SoMFVec3i32 *,int,int,int32_t const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_set1Value" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3i32_set1Value" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3i32_set1Value" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3i32_set1Value" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int arg2 ; - int32_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_set1Value" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3i32_set1Value" "', argument " "3"" of type '" "int32_t const [3]""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - (arg1)->set1Value(arg2,(int32_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3i32_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3i32_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec3i32 *,int const,SbVec3i32 const &)\n" - " set1Value(SoMFVec3i32 *,int,int32_t,int32_t,int32_t)\n" - " set1Value(SoMFVec3i32 *,int,int32_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValue" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3i32 *arg1 = (SoMFVec3i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3i32_setValue" "', argument " "1"" of type '" "SoMFVec3i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec3i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3i32_setValue" "', argument " "2"" of type '" "int32_t const [3]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3i32_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec3i32 *,SbVec3i32 const &)\n" - " setValue(SoMFVec3i32 *,int32_t,int32_t,int32_t)\n" - " setValue(SoMFVec3i32 *,int32_t const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3d",0,0)) SWIG_fail; - result = (SoMFVec3d *)new SoMFVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3d" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getTypeId" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = ((SoMFVec3d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_copyFrom" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_isSame" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_find" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_find" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)(arg1)->find((SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec3d *,SbVec3d const &,SbBool)\n" - " find(SoMFVec3d *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - int arg3 ; - SbVec3d *arg4 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec3d[len]; - for (int i = 0; i < len; i++) { - SbVec3d * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec3d, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec3d const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->set1Value(arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setValue((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___eq__" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d___eq__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___eq__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->operator ==((SoMFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___ne__" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d___ne__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___ne__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->operator !=((SoMFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_startEditing" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = (SbVec3d *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_finishEditing" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "3"" of type '" "SbVec3d const *""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3d const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "3"" of type '" "SbVec3d *""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "3"" of type '" "double const *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,(double const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_setValuesPointer" "', argument " "3"" of type '" "double *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec3d *,int const,SbVec3d const *)\n" - " setValuesPointer(SoMFVec3d *,int const,SbVec3d *)\n" - " setValuesPointer(SoMFVec3d *,int const,double const *)\n" - " setValuesPointer(SoMFVec3d *,int const,double *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_initClass",0,0)) SWIG_fail; - SoMFVec3d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - int arg3 ; - double (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - double (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (double (*)[3]) malloc(len*3*sizeof(double)); - convert_SoMFVec3d_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(double const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3d, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3d_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3d, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3d_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec3d *,int const,int const,SbVec3d const *)\n" - " setValues(SoMFVec3d *,int,int,double const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3d_set1Value" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3d_set1Value" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3d_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(double const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec3d, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec3d *,int const,SbVec3d const &)\n" - " set1Value(SoMFVec3d *,int,double,double,double)\n" - " set1Value(SoMFVec3d *,int,double const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - { - convert_SbVec3d_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___getitem__" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3d const &_result_ref = SoMFVec3d___getitem__(arg1,arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___setitem__" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d___setitem__" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___setitem__" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - SoMFVec3d___setitem__(arg1,arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SoMFVec3d const *""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - SoMFVec3d_setValue__SWIG_3(arg1,(SoMFVec3d const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec3d, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec3d *,SbVec3d const &)\n" - " setValue(SoMFVec3d *,double,double,double)\n" - " setValue(SoMFVec3d *,double const [3])\n" - " setValue(SoMFVec3d *,SoMFVec3d const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec3d *)SoMFVec3d___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3d * VecPtr = new SbVec3d(result[i]); - PyObject * obj = SWIG_NewPointerObj(VecPtr, SWIGTYPE_p_SbVec3d, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = (SbVec3d *)SoMFVec3d___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3d * VecPtr = new SbVec3d(result[i]); - PyObject * obj = SWIG_NewPointerObj(VecPtr, SWIGTYPE_p_SbVec3d, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_getValues'.\n" - " Possible C/C++ prototypes are:\n" - " __getValuesHelper__(SoMFVec3d *,int &,int)\n" - " __getValuesHelper__(SoMFVec3d *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4b",0,0)) SWIG_fail; - result = (SoMFVec4b *)new SoMFVec4b(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4b, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4b(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4b",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4b" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4b::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4b::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_getTypeId" "', argument " "1"" of type '" "SoMFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - result = ((SoMFVec4b const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_copyFrom" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_isSame" "', argument " "1"" of type '" "SoMFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4b const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_getValues" "', argument " "1"" of type '" "SoMFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4b *)((SoMFVec4b const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SbVec4b arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_find" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_find" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_find" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4b_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_find" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_find" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_find" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4b_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4b_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4b *,SbVec4b,SbBool)\n" - " find(SoMFVec4b *,SbVec4b)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int arg3 ; - SbVec4b *arg4 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValues" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4b_setValues" "', argument " "4"" of type '" "SbVec4b const *""'"); - } - arg4 = reinterpret_cast< SbVec4b * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4b const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - SbVec4b arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_set1Value" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_set1Value" "', argument " "3"" of type '" "SbVec4b""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_set1Value" "', argument " "3"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SbVec4b arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValue" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_setValue" "', argument " "2"" of type '" "SbVec4b""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_setValue" "', argument " "2"" of type '" "SbVec4b""'"); - } else { - SbVec4b * temp = reinterpret_cast< SbVec4b * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SoMFVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b___eq__" "', argument " "1"" of type '" "SoMFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b___eq__" "', argument " "2"" of type '" "SoMFVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b___eq__" "', argument " "2"" of type '" "SoMFVec4b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4b * >(argp2); - result = (SbBool)((SoMFVec4b const *)arg1)->operator ==((SoMFVec4b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - SoMFVec4b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b___ne__" "', argument " "1"" of type '" "SoMFVec4b const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b___ne__" "', argument " "2"" of type '" "SoMFVec4b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b___ne__" "', argument " "2"" of type '" "SoMFVec4b const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4b * >(argp2); - result = (SbBool)((SoMFVec4b const *)arg1)->operator !=((SoMFVec4b const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4b *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_startEditing" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - result = (SbVec4b *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4b, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_finishEditing" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - SbVec4b *arg3 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "3"" of type '" "SbVec4b const *""'"); - } - arg3 = reinterpret_cast< SbVec4b * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4b const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - SbVec4b *arg3 = (SbVec4b *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4b, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "3"" of type '" "SbVec4b *""'"); - } - arg3 = reinterpret_cast< SbVec4b * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "3"" of type '" "int8_t const *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,(int8_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int8_t *arg3 = (int8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_setValuesPointer" "', argument " "3"" of type '" "int8_t *""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4b_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4b *,int const,SbVec4b const *)\n" - " setValuesPointer(SoMFVec4b *,int const,SbVec4b *)\n" - " setValuesPointer(SoMFVec4b *,int const,int8_t const *)\n" - " setValuesPointer(SoMFVec4b *,int const,int8_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_initClass",0,0)) SWIG_fail; - SoMFVec4b::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int arg3 ; - int8_t (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValues" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4b_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__int8_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4b_setValues" "', argument " "4"" of type '" "int8_t const [][4]""'"); - } - arg4 = reinterpret_cast< int8_t (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(int8_t const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4b_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4b *,int const,int const,SbVec4b const *)\n" - " setValues(SoMFVec4b *,int,int,int8_t const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int8_t arg3 ; - int8_t arg4 ; - int8_t arg5 ; - int8_t arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - void *argp6 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_set1Value" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_set1Value" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_set1Value" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMFVec4b_set1Value" "', argument " "5"" of type '" "int8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_set1Value" "', argument " "5"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - { - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMFVec4b_set1Value" "', argument " "6"" of type '" "int8_t""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_set1Value" "', argument " "6"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp6); - arg6 = *temp; - if (SWIG_IsNewObj(res6)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int arg2 ; - int8_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_set1Value" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4b_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_set1Value" "', argument " "3"" of type '" "int8_t const [4]""'"); - } - arg3 = reinterpret_cast< int8_t * >(argp3); - (arg1)->set1Value(arg2,(int8_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4b_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4b *,int const,SbVec4b)\n" - " set1Value(SoMFVec4b *,int,int8_t,int8_t,int8_t,int8_t)\n" - " set1Value(SoMFVec4b *,int,int8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int8_t arg2 ; - int8_t arg3 ; - int8_t arg4 ; - int8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValue" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_setValue" "', argument " "2"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_setValue" "', argument " "3"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_setValue" "', argument " "4"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMFVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4b_setValue" "', argument " "5"" of type '" "int8_t""'"); - } else { - int8_t * temp = reinterpret_cast< int8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4b *arg1 = (SoMFVec4b *) 0 ; - int8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4b_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4b, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4b_setValue" "', argument " "1"" of type '" "SoMFVec4b *""'"); - } - arg1 = reinterpret_cast< SoMFVec4b * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4b_setValue" "', argument " "2"" of type '" "int8_t const [4]""'"); - } - arg2 = reinterpret_cast< int8_t * >(argp2); - (arg1)->setValue((int8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4b_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4b, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_int8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4b_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4b_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4b *,SbVec4b)\n" - " setValue(SoMFVec4b *,int8_t,int8_t,int8_t,int8_t)\n" - " setValue(SoMFVec4b *,int8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4b_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4b, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4ub(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4ub",0,0)) SWIG_fail; - result = (SoMFVec4ub *)new SoMFVec4ub(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4ub, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4ub(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4ub",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4ub" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4ub::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4ub::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_getTypeId" "', argument " "1"" of type '" "SoMFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - result = ((SoMFVec4ub const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_copyFrom" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_isSame" "', argument " "1"" of type '" "SoMFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4ub const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_getValues" "', argument " "1"" of type '" "SoMFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4ub *)((SoMFVec4ub const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SbVec4ub arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_find" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_find" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_find" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ub_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_find" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_find" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_find" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4ub_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ub_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4ub *,SbVec4ub,SbBool)\n" - " find(SoMFVec4ub *,SbVec4ub)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - int arg3 ; - SbVec4ub *arg4 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValues" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ub_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ub_setValues" "', argument " "4"" of type '" "SbVec4ub const *""'"); - } - arg4 = reinterpret_cast< SbVec4ub * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4ub const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - SbVec4ub arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_set1Value" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_set1Value" "', argument " "3"" of type '" "SbVec4ub""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_set1Value" "', argument " "3"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SbVec4ub arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValue" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ub""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_setValue" "', argument " "2"" of type '" "SbVec4ub""'"); - } else { - SbVec4ub * temp = reinterpret_cast< SbVec4ub * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SoMFVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub___eq__" "', argument " "1"" of type '" "SoMFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub___eq__" "', argument " "2"" of type '" "SoMFVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub___eq__" "', argument " "2"" of type '" "SoMFVec4ub const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4ub * >(argp2); - result = (SbBool)((SoMFVec4ub const *)arg1)->operator ==((SoMFVec4ub const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - SoMFVec4ub *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub___ne__" "', argument " "1"" of type '" "SoMFVec4ub const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4ub, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub___ne__" "', argument " "2"" of type '" "SoMFVec4ub const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub___ne__" "', argument " "2"" of type '" "SoMFVec4ub const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4ub * >(argp2); - result = (SbBool)((SoMFVec4ub const *)arg1)->operator !=((SoMFVec4ub const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ub *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_startEditing" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - result = (SbVec4ub *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ub, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_finishEditing" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - SbVec4ub *arg3 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "3"" of type '" "SbVec4ub const *""'"); - } - arg3 = reinterpret_cast< SbVec4ub * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4ub const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - SbVec4ub *arg3 = (SbVec4ub *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "3"" of type '" "SbVec4ub *""'"); - } - arg3 = reinterpret_cast< SbVec4ub * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - uint8_t *arg3 = (uint8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "3"" of type '" "uint8_t const *""'"); - } - arg3 = reinterpret_cast< uint8_t * >(argp3); - (arg1)->setValuesPointer(arg2,(uint8_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - uint8_t *arg3 = (uint8_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_setValuesPointer" "', argument " "3"" of type '" "uint8_t *""'"); - } - arg3 = reinterpret_cast< uint8_t * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ub_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4ub *,int const,SbVec4ub const *)\n" - " setValuesPointer(SoMFVec4ub *,int const,SbVec4ub *)\n" - " setValuesPointer(SoMFVec4ub *,int const,uint8_t const *)\n" - " setValuesPointer(SoMFVec4ub *,int const,uint8_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_initClass",0,0)) SWIG_fail; - SoMFVec4ub::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - int arg3 ; - uint8_t (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValues" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ub_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ub_setValues" "', argument " "4"" of type '" "uint8_t const [][4]""'"); - } - arg4 = reinterpret_cast< uint8_t (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(uint8_t const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ub_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4ub *,int const,int const,SbVec4ub const *)\n" - " setValues(SoMFVec4ub *,int,int,uint8_t const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - uint8_t arg3 ; - uint8_t arg4 ; - uint8_t arg5 ; - uint8_t arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - void *argp6 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_set1Value" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_set1Value" "', argument " "3"" of type '" "uint8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_set1Value" "', argument " "3"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ub_set1Value" "', argument " "4"" of type '" "uint8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_set1Value" "', argument " "4"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMFVec4ub_set1Value" "', argument " "5"" of type '" "uint8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_set1Value" "', argument " "5"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - { - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMFVec4ub_set1Value" "', argument " "6"" of type '" "uint8_t""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_set1Value" "', argument " "6"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp6); - arg6 = *temp; - if (SWIG_IsNewObj(res6)) delete temp; - } - } - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - int arg2 ; - uint8_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_set1Value" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ub_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_set1Value" "', argument " "3"" of type '" "uint8_t const [4]""'"); - } - arg3 = reinterpret_cast< uint8_t * >(argp3); - (arg1)->set1Value(arg2,(uint8_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ub_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4ub *,int const,SbVec4ub)\n" - " set1Value(SoMFVec4ub *,int,uint8_t,uint8_t,uint8_t,uint8_t)\n" - " set1Value(SoMFVec4ub *,int,uint8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - uint8_t arg2 ; - uint8_t arg3 ; - uint8_t arg4 ; - uint8_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValue" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_setValue" "', argument " "3"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_setValue" "', argument " "4"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_uint8_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMFVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ub_setValue" "', argument " "5"" of type '" "uint8_t""'"); - } else { - uint8_t * temp = reinterpret_cast< uint8_t * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ub *arg1 = (SoMFVec4ub *) 0 ; - uint8_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ub_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ub, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ub_setValue" "', argument " "1"" of type '" "SoMFVec4ub *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ub * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint8_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ub_setValue" "', argument " "2"" of type '" "uint8_t const [4]""'"); - } - arg2 = reinterpret_cast< uint8_t * >(argp2); - (arg1)->setValue((uint8_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ub_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ub, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_uint8_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ub_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ub_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4ub *,SbVec4ub)\n" - " setValue(SoMFVec4ub *,uint8_t,uint8_t,uint8_t,uint8_t)\n" - " setValue(SoMFVec4ub *,uint8_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4ub_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4ub, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4s",0,0)) SWIG_fail; - result = (SoMFVec4s *)new SoMFVec4s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4s" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_getTypeId" "', argument " "1"" of type '" "SoMFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - result = ((SoMFVec4s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_copyFrom" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_isSame" "', argument " "1"" of type '" "SoMFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_getValues" "', argument " "1"" of type '" "SoMFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4s *)((SoMFVec4s const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_find" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_find" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_find" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4s_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4s const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_find" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_find" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_find" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - result = (int)(arg1)->find((SbVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4s_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4s_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4s *,SbVec4s const &,SbBool)\n" - " find(SoMFVec4s *,SbVec4s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - int arg3 ; - SbVec4s *arg4 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValues" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4s_setValues" "', argument " "4"" of type '" "SbVec4s const *""'"); - } - arg4 = reinterpret_cast< SbVec4s * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4s const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - SbVec4s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_set1Value" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4s_set1Value" "', argument " "3"" of type '" "SbVec4s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_set1Value" "', argument " "3"" of type '" "SbVec4s const &""'"); - } - arg3 = reinterpret_cast< SbVec4s * >(argp3); - (arg1)->set1Value(arg2,(SbVec4s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SbVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValue" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s_setValue" "', argument " "2"" of type '" "SbVec4s const &""'"); - } - arg2 = reinterpret_cast< SbVec4s * >(argp2); - (arg1)->setValue((SbVec4s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SoMFVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s___eq__" "', argument " "1"" of type '" "SoMFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s___eq__" "', argument " "2"" of type '" "SoMFVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s___eq__" "', argument " "2"" of type '" "SoMFVec4s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4s * >(argp2); - result = (SbBool)((SoMFVec4s const *)arg1)->operator ==((SoMFVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - SoMFVec4s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s___ne__" "', argument " "1"" of type '" "SoMFVec4s const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s___ne__" "', argument " "2"" of type '" "SoMFVec4s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4s___ne__" "', argument " "2"" of type '" "SoMFVec4s const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4s * >(argp2); - result = (SbBool)((SoMFVec4s const *)arg1)->operator !=((SoMFVec4s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_startEditing" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - result = (SbVec4s *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_finishEditing" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - SbVec4s *arg3 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "3"" of type '" "SbVec4s const *""'"); - } - arg3 = reinterpret_cast< SbVec4s * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4s const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - SbVec4s *arg3 = (SbVec4s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "3"" of type '" "SbVec4s *""'"); - } - arg3 = reinterpret_cast< SbVec4s * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4s_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4s *,int const,SbVec4s const *)\n" - " setValuesPointer(SoMFVec4s *,int const,SbVec4s *)\n" - " setValuesPointer(SoMFVec4s *,int const,short const *)\n" - " setValuesPointer(SoMFVec4s *,int const,short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_initClass",0,0)) SWIG_fail; - SoMFVec4s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - int arg3 ; - short (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValues" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4s_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__short, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4s_setValues" "', argument " "4"" of type '" "short const [][4]""'"); - } - arg4 = reinterpret_cast< short (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(short const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4s_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4s *,int const,int const,SbVec4s const *)\n" - " setValues(SoMFVec4s *,int,int,short const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_set1Value" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4s_set1Value" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4s_set1Value" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4s_set1Value" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4s_set1Value" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - int arg2 ; - short *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_set1Value" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4s_set1Value" "', argument " "3"" of type '" "short const [4]""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - (arg1)->set1Value(arg2,(short const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4s_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4s_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4s *,int const,SbVec4s const &)\n" - " set1Value(SoMFVec4s *,int,short,short,short,short)\n" - " set1Value(SoMFVec4s *,int,short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValue" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4s *arg1 = (SoMFVec4s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4s_setValue" "', argument " "1"" of type '" "SoMFVec4s *""'"); - } - arg1 = reinterpret_cast< SoMFVec4s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4s_setValue" "', argument " "2"" of type '" "short const [4]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4s *,SbVec4s const &)\n" - " setValue(SoMFVec4s *,short,short,short,short)\n" - " setValue(SoMFVec4s *,short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4us(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4us",0,0)) SWIG_fail; - result = (SoMFVec4us *)new SoMFVec4us(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4us, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4us(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4us",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4us" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4us::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4us::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_getTypeId" "', argument " "1"" of type '" "SoMFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - result = ((SoMFVec4us const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_copyFrom" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_isSame" "', argument " "1"" of type '" "SoMFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4us const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_getValues" "', argument " "1"" of type '" "SoMFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4us *)((SoMFVec4us const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_find" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_find" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_find" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4us_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4us const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_find" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_find" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_find" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - result = (int)(arg1)->find((SbVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4us_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4us_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4us *,SbVec4us const &,SbBool)\n" - " find(SoMFVec4us *,SbVec4us const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - int arg3 ; - SbVec4us *arg4 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValues" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4us_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4us_setValues" "', argument " "4"" of type '" "SbVec4us const *""'"); - } - arg4 = reinterpret_cast< SbVec4us * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4us const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - SbVec4us *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_set1Value" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4us_set1Value" "', argument " "3"" of type '" "SbVec4us const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_set1Value" "', argument " "3"" of type '" "SbVec4us const &""'"); - } - arg3 = reinterpret_cast< SbVec4us * >(argp3); - (arg1)->set1Value(arg2,(SbVec4us const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SbVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValue" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us_setValue" "', argument " "2"" of type '" "SbVec4us const &""'"); - } - arg2 = reinterpret_cast< SbVec4us * >(argp2); - (arg1)->setValue((SbVec4us const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SoMFVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us___eq__" "', argument " "1"" of type '" "SoMFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us___eq__" "', argument " "2"" of type '" "SoMFVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us___eq__" "', argument " "2"" of type '" "SoMFVec4us const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4us * >(argp2); - result = (SbBool)((SoMFVec4us const *)arg1)->operator ==((SoMFVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - SoMFVec4us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us___ne__" "', argument " "1"" of type '" "SoMFVec4us const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us___ne__" "', argument " "2"" of type '" "SoMFVec4us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4us___ne__" "', argument " "2"" of type '" "SoMFVec4us const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4us * >(argp2); - result = (SbBool)((SoMFVec4us const *)arg1)->operator !=((SoMFVec4us const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4us *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_startEditing" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - result = (SbVec4us *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4us, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_finishEditing" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - SbVec4us *arg3 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "3"" of type '" "SbVec4us const *""'"); - } - arg3 = reinterpret_cast< SbVec4us * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4us const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - SbVec4us *arg3 = (SbVec4us *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4us, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "3"" of type '" "SbVec4us *""'"); - } - arg3 = reinterpret_cast< SbVec4us * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(unsigned short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4us_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4us *,int const,SbVec4us const *)\n" - " setValuesPointer(SoMFVec4us *,int const,SbVec4us *)\n" - " setValuesPointer(SoMFVec4us *,int const,unsigned short const *)\n" - " setValuesPointer(SoMFVec4us *,int const,unsigned short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_initClass",0,0)) SWIG_fail; - SoMFVec4us::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - int arg3 ; - unsigned short (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValues" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4us_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4us_setValues" "', argument " "4"" of type '" "unsigned short const [][4]""'"); - } - arg4 = reinterpret_cast< unsigned short (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(unsigned short const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4us_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4us *,int const,int const,SbVec4us const *)\n" - " setValues(SoMFVec4us *,int,int,unsigned short const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - unsigned short arg3 ; - unsigned short arg4 ; - unsigned short arg5 ; - unsigned short arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short val4 ; - int ecode4 = 0 ; - unsigned short val5 ; - int ecode5 = 0 ; - unsigned short val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_set1Value" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4us_set1Value" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4us_set1Value" "', argument " "4"" of type '" "unsigned short""'"); - } - arg4 = static_cast< unsigned short >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4us_set1Value" "', argument " "5"" of type '" "unsigned short""'"); - } - arg5 = static_cast< unsigned short >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4us_set1Value" "', argument " "6"" of type '" "unsigned short""'"); - } - arg6 = static_cast< unsigned short >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - int arg2 ; - unsigned short *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_set1Value" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4us_set1Value" "', argument " "3"" of type '" "unsigned short const [4]""'"); - } - arg3 = reinterpret_cast< unsigned short * >(argp3); - (arg1)->set1Value(arg2,(unsigned short const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4us_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4us_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4us *,int const,SbVec4us const &)\n" - " set1Value(SoMFVec4us *,int,unsigned short,unsigned short,unsigned short,unsigned short)\n" - " set1Value(SoMFVec4us *,int,unsigned short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - unsigned short arg2 ; - unsigned short arg3 ; - unsigned short arg4 ; - unsigned short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short val4 ; - int ecode4 = 0 ; - unsigned short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValue" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4us_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4us_setValue" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4us_setValue" "', argument " "4"" of type '" "unsigned short""'"); - } - arg4 = static_cast< unsigned short >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4us_setValue" "', argument " "5"" of type '" "unsigned short""'"); - } - arg5 = static_cast< unsigned short >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4us *arg1 = (SoMFVec4us *) 0 ; - unsigned short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4us_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4us, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4us_setValue" "', argument " "1"" of type '" "SoMFVec4us *""'"); - } - arg1 = reinterpret_cast< SoMFVec4us * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4us_setValue" "', argument " "2"" of type '" "unsigned short const [4]""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - (arg1)->setValue((unsigned short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4us_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4us_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4us, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4us_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4us_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4us *,SbVec4us const &)\n" - " setValue(SoMFVec4us *,unsigned short,unsigned short,unsigned short,unsigned short)\n" - " setValue(SoMFVec4us *,unsigned short const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4us_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4us, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4i32",0,0)) SWIG_fail; - result = (SoMFVec4i32 *)new SoMFVec4i32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4i32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4i32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4i32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4i32" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4i32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4i32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_getTypeId" "', argument " "1"" of type '" "SoMFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - result = ((SoMFVec4i32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_copyFrom" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_isSame" "', argument " "1"" of type '" "SoMFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4i32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_getValues" "', argument " "1"" of type '" "SoMFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4i32 *)((SoMFVec4i32 const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_find" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_find" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_find" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4i32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4i32 const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_find" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_find" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_find" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - result = (int)(arg1)->find((SbVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4i32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4i32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4i32 *,SbVec4i32 const &,SbBool)\n" - " find(SoMFVec4i32 *,SbVec4i32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int arg3 ; - SbVec4i32 *arg4 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValues" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4i32_setValues" "', argument " "4"" of type '" "SbVec4i32 const *""'"); - } - arg4 = reinterpret_cast< SbVec4i32 * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4i32 const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - SbVec4i32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_set1Value" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4i32_set1Value" "', argument " "3"" of type '" "SbVec4i32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_set1Value" "', argument " "3"" of type '" "SbVec4i32 const &""'"); - } - arg3 = reinterpret_cast< SbVec4i32 * >(argp3); - (arg1)->set1Value(arg2,(SbVec4i32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SbVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValue" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32_setValue" "', argument " "2"" of type '" "SbVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4i32 * >(argp2); - (arg1)->setValue((SbVec4i32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SoMFVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32___eq__" "', argument " "1"" of type '" "SoMFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32___eq__" "', argument " "2"" of type '" "SoMFVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32___eq__" "', argument " "2"" of type '" "SoMFVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4i32 * >(argp2); - result = (SbBool)((SoMFVec4i32 const *)arg1)->operator ==((SoMFVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - SoMFVec4i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32___ne__" "', argument " "1"" of type '" "SoMFVec4i32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32___ne__" "', argument " "2"" of type '" "SoMFVec4i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4i32___ne__" "', argument " "2"" of type '" "SoMFVec4i32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4i32 * >(argp2); - result = (SbBool)((SoMFVec4i32 const *)arg1)->operator !=((SoMFVec4i32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_startEditing" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - result = (SbVec4i32 *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_finishEditing" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - SbVec4i32 *arg3 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "3"" of type '" "SbVec4i32 const *""'"); - } - arg3 = reinterpret_cast< SbVec4i32 * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4i32 const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - SbVec4i32 *arg3 = (SbVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "3"" of type '" "SbVec4i32 *""'"); - } - arg3 = reinterpret_cast< SbVec4i32 * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4i32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4i32 *,int const,SbVec4i32 const *)\n" - " setValuesPointer(SoMFVec4i32 *,int const,SbVec4i32 *)\n" - " setValuesPointer(SoMFVec4i32 *,int const,int32_t const *)\n" - " setValuesPointer(SoMFVec4i32 *,int const,int32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_initClass",0,0)) SWIG_fail; - SoMFVec4i32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int arg3 ; - int32_t (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValues" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4i32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__int32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4i32_setValues" "', argument " "4"" of type '" "int32_t const [][4]""'"); - } - arg4 = reinterpret_cast< int32_t (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(int32_t const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4i32_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4i32 *,int const,int const,SbVec4i32 const *)\n" - " setValues(SoMFVec4i32 *,int,int,int32_t const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - int32_t arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_set1Value" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4i32_set1Value" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4i32_set1Value" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4i32_set1Value" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4i32_set1Value" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int arg2 ; - int32_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_set1Value" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4i32_set1Value" "', argument " "3"" of type '" "int32_t const [4]""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - (arg1)->set1Value(arg2,(int32_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4i32_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4i32_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4i32 *,int const,SbVec4i32 const &)\n" - " set1Value(SoMFVec4i32 *,int,int32_t,int32_t,int32_t,int32_t)\n" - " set1Value(SoMFVec4i32 *,int,int32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int32_t arg2 ; - int32_t arg3 ; - int32_t arg4 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValue" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4i32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4i32_setValue" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4i32_setValue" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4i32_setValue" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4i32 *arg1 = (SoMFVec4i32 *) 0 ; - int32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4i32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4i32_setValue" "', argument " "1"" of type '" "SoMFVec4i32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4i32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4i32_setValue" "', argument " "2"" of type '" "int32_t const [4]""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - (arg1)->setValue((int32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4i32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4i32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4i32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4i32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4i32 *,SbVec4i32 const &)\n" - " setValue(SoMFVec4i32 *,int32_t,int32_t,int32_t,int32_t)\n" - " setValue(SoMFVec4i32 *,int32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4i32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4i32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4ui32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4ui32",0,0)) SWIG_fail; - result = (SoMFVec4ui32 *)new SoMFVec4ui32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4ui32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4ui32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4ui32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4ui32" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4ui32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4ui32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_getTypeId" "', argument " "1"" of type '" "SoMFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - result = ((SoMFVec4ui32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_copyFrom" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_isSame" "', argument " "1"" of type '" "SoMFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4ui32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_getValues" "', argument " "1"" of type '" "SoMFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4ui32 *)((SoMFVec4ui32 const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_find" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_find" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_find" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ui32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4ui32 const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_find" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_find" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_find" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - result = (int)(arg1)->find((SbVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4ui32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ui32_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4ui32 *,SbVec4ui32 const &,SbBool)\n" - " find(SoMFVec4ui32 *,SbVec4ui32 const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - int arg3 ; - SbVec4ui32 *arg4 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValues" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ui32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ui32_setValues" "', argument " "4"" of type '" "SbVec4ui32 const *""'"); - } - arg4 = reinterpret_cast< SbVec4ui32 * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4ui32 const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - SbVec4ui32 *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_set1Value" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ui32_set1Value" "', argument " "3"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_set1Value" "', argument " "3"" of type '" "SbVec4ui32 const &""'"); - } - arg3 = reinterpret_cast< SbVec4ui32 * >(argp3); - (arg1)->set1Value(arg2,(SbVec4ui32 const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SbVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValue" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32_setValue" "', argument " "2"" of type '" "SbVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SbVec4ui32 * >(argp2); - (arg1)->setValue((SbVec4ui32 const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SoMFVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32___eq__" "', argument " "1"" of type '" "SoMFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32___eq__" "', argument " "2"" of type '" "SoMFVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32___eq__" "', argument " "2"" of type '" "SoMFVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4ui32 * >(argp2); - result = (SbBool)((SoMFVec4ui32 const *)arg1)->operator ==((SoMFVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - SoMFVec4ui32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32___ne__" "', argument " "1"" of type '" "SoMFVec4ui32 const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4ui32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32___ne__" "', argument " "2"" of type '" "SoMFVec4ui32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4ui32___ne__" "', argument " "2"" of type '" "SoMFVec4ui32 const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4ui32 * >(argp2); - result = (SbBool)((SoMFVec4ui32 const *)arg1)->operator !=((SoMFVec4ui32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4ui32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_startEditing" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - result = (SbVec4ui32 *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_finishEditing" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - SbVec4ui32 *arg3 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "3"" of type '" "SbVec4ui32 const *""'"); - } - arg3 = reinterpret_cast< SbVec4ui32 * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4ui32 const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - SbVec4ui32 *arg3 = (SbVec4ui32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "3"" of type '" "SbVec4ui32 *""'"); - } - arg3 = reinterpret_cast< SbVec4ui32 * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(uint32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ui32_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4ui32 *,int const,SbVec4ui32 const *)\n" - " setValuesPointer(SoMFVec4ui32 *,int const,SbVec4ui32 *)\n" - " setValuesPointer(SoMFVec4ui32 *,int const,uint32_t const *)\n" - " setValuesPointer(SoMFVec4ui32 *,int const,uint32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_initClass",0,0)) SWIG_fail; - SoMFVec4ui32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - int arg3 ; - uint32_t (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValues" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ui32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4ui32_setValues" "', argument " "4"" of type '" "uint32_t const [][4]""'"); - } - arg4 = reinterpret_cast< uint32_t (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(uint32_t const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ui32_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4ui32 *,int const,int const,SbVec4ui32 const *)\n" - " setValues(SoMFVec4ui32 *,int,int,uint32_t const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - uint32_t arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_set1Value" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ui32_set1Value" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4ui32_set1Value" "', argument " "4"" of type '" "uint32_t""'"); - } - arg4 = static_cast< uint32_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4ui32_set1Value" "', argument " "5"" of type '" "uint32_t""'"); - } - arg5 = static_cast< uint32_t >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4ui32_set1Value" "', argument " "6"" of type '" "uint32_t""'"); - } - arg6 = static_cast< uint32_t >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - int arg2 ; - uint32_t *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_set1Value" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4ui32_set1Value" "', argument " "3"" of type '" "uint32_t const [4]""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - (arg1)->set1Value(arg2,(uint32_t const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4ui32_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ui32_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4ui32 *,int const,SbVec4ui32 const &)\n" - " set1Value(SoMFVec4ui32 *,int,uint32_t,uint32_t,uint32_t,uint32_t)\n" - " set1Value(SoMFVec4ui32 *,int,uint32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValue" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4ui32_setValue" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4ui32_setValue" "', argument " "4"" of type '" "uint32_t""'"); - } - arg4 = static_cast< uint32_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4ui32_setValue" "', argument " "5"" of type '" "uint32_t""'"); - } - arg5 = static_cast< uint32_t >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4ui32 *arg1 = (SoMFVec4ui32 *) 0 ; - uint32_t *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4ui32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4ui32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4ui32_setValue" "', argument " "1"" of type '" "SoMFVec4ui32 *""'"); - } - arg1 = reinterpret_cast< SoMFVec4ui32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uint32_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4ui32_setValue" "', argument " "2"" of type '" "uint32_t const [4]""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - (arg1)->setValue((uint32_t const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4ui32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uint32_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4ui32_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4ui32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4ui32_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4ui32_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4ui32 *,SbVec4ui32 const &)\n" - " setValue(SoMFVec4ui32 *,uint32_t,uint32_t,uint32_t,uint32_t)\n" - " setValue(SoMFVec4ui32 *,uint32_t const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4ui32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4ui32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4d",0,0)) SWIG_fail; - result = (SoMFVec4d *)new SoMFVec4d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4d" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_getTypeId" "', argument " "1"" of type '" "SoMFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - result = ((SoMFVec4d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_copyFrom" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_isSame" "', argument " "1"" of type '" "SoMFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_getValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_getValues" "', argument " "1"" of type '" "SoMFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_getValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4d *)((SoMFVec4d const *)arg1)->getValues(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_find" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_find" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_find" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4d_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_find" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_find" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_find" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (int)(arg1)->find((SbVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4d_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4d_find'.\n" - " Possible C/C++ prototypes are:\n" - " find(SoMFVec4d *,SbVec4d const &,SbBool)\n" - " find(SoMFVec4d *,SbVec4d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - int arg3 ; - SbVec4d *arg4 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValues" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4d_setValues" "', argument " "4"" of type '" "SbVec4d const *""'"); - } - arg4 = reinterpret_cast< SbVec4d * >(argp4); - (arg1)->setValues(arg2,arg3,(SbVec4d const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - SbVec4d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_set1Value" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_set1Value" "', argument " "3"" of type '" "SbVec4d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_set1Value" "', argument " "3"" of type '" "SbVec4d const &""'"); - } - arg3 = reinterpret_cast< SbVec4d * >(argp3); - (arg1)->set1Value(arg2,(SbVec4d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValue" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d_setValue" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - (arg1)->setValue((SbVec4d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SoMFVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d___eq__" "', argument " "1"" of type '" "SoMFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d___eq__" "', argument " "2"" of type '" "SoMFVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d___eq__" "', argument " "2"" of type '" "SoMFVec4d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4d * >(argp2); - result = (SbBool)((SoMFVec4d const *)arg1)->operator ==((SoMFVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - SoMFVec4d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d___ne__" "', argument " "1"" of type '" "SoMFVec4d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d___ne__" "', argument " "2"" of type '" "SoMFVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4d___ne__" "', argument " "2"" of type '" "SoMFVec4d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4d * >(argp2); - result = (SbBool)((SoMFVec4d const *)arg1)->operator !=((SoMFVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_startEditing" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - result = (SbVec4d *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_finishEditing" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - SbVec4d *arg3 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "3"" of type '" "SbVec4d const *""'"); - } - arg3 = reinterpret_cast< SbVec4d * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4d const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - SbVec4d *arg3 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "3"" of type '" "SbVec4d *""'"); - } - arg3 = reinterpret_cast< SbVec4d * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "3"" of type '" "double const *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,(double const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - double *arg3 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_setValuesPointer" "', argument " "3"" of type '" "double *""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4d_setValuesPointer'.\n" - " Possible C/C++ prototypes are:\n" - " setValuesPointer(SoMFVec4d *,int const,SbVec4d const *)\n" - " setValuesPointer(SoMFVec4d *,int const,SbVec4d *)\n" - " setValuesPointer(SoMFVec4d *,int const,double const *)\n" - " setValuesPointer(SoMFVec4d *,int const,double *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_initClass",0,0)) SWIG_fail; - SoMFVec4d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - int arg3 ; - double (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValues" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__double, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFVec4d_setValues" "', argument " "4"" of type '" "double const [][4]""'"); - } - arg4 = reinterpret_cast< double (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(double const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4d_setValues'.\n" - " Possible C/C++ prototypes are:\n" - " setValues(SoMFVec4d *,int const,int const,SbVec4d const *)\n" - " setValues(SoMFVec4d *,int,int,double const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_set1Value" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4d_set1Value" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4d_set1Value" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4d_set1Value" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4d_set1Value" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - int arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_set1Value" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4d_set1Value" "', argument " "3"" of type '" "double const [4]""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - (arg1)->set1Value(arg2,(double const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4d_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4d_set1Value'.\n" - " Possible C/C++ prototypes are:\n" - " set1Value(SoMFVec4d *,int const,SbVec4d const &)\n" - " set1Value(SoMFVec4d *,int,double,double,double,double)\n" - " set1Value(SoMFVec4d *,int,double const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValue" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4d *arg1 = (SoMFVec4d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4d_setValue" "', argument " "1"" of type '" "SoMFVec4d *""'"); - } - arg1 = reinterpret_cast< SoMFVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4d_setValue" "', argument " "2"" of type '" "double const [4]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4d_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SoMFVec4d *,SbVec4d const &)\n" - " setValue(SoMFVec4d *,double,double,double,double)\n" - " setValue(SoMFVec4d *,double const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbStringList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStringList",0,0)) SWIG_fail; - result = (SbStringList *)new SbStringList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStringList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStringList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStringList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbStringList *)new SbStringList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStringList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbStringList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbStringList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbStringList'.\n" - " Possible C/C++ prototypes are:\n" - " SbStringList()\n" - " SbStringList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_append" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_append" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_find" "', argument " "1"" of type '" "SbStringList const *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_find" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - result = (int)((SbStringList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_insert" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_insert" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbStringList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_getArrayPtr" "', argument " "1"" of type '" "SbStringList const *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - result = (SbString **)((SbStringList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - SbString *arg3 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList___setitem__" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbStringList___setitem__" "', argument " "3"" of type '" "SbString *""'"); - } - arg3 = reinterpret_cast< SbString * >(argp3); - SbStringList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList___getitem__" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbString *)SbStringList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_get" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbString *)SbStringList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbStringList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbStringList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbStringList" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbStringList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbStringList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3fList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3fList",0,0)) SWIG_fail; - result = (SbVec3fList *)new SbVec3fList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3fList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3fList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3fList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3fList" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_append" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3fList_append" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->append((SbVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_insert" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3fList_insert" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3fList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert((SbVec3f const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList___setitem__" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3fList___setitem__" "', argument " "3"" of type '" "SbVec3f *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SbVec3fList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList___getitem__" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)SbVec3fList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_get" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)SbVec3fList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3fList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3fList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLockManager_SetUnlockString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLockManager_SetUnlockString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLockManager_SetUnlockString" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoLockManager::SetUnlockString(arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLockManager_GetUnlockString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLockManager_GetUnlockString",0,0)) SWIG_fail; - result = (char *)SoLockManager::GetUnlockString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLockManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLockManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLockManager",0,0)) SWIG_fail; - result = (SoLockManager *)new SoLockManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLockManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLockManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLockManager *arg1 = (SoLockManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLockManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLockManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLockManager" "', argument " "1"" of type '" "SoLockManager *""'"); - } - arg1 = reinterpret_cast< SoLockManager * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLockManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLockManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getTypeId" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = ((SoTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_initClass",0,0)) SWIG_fail; - SoTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransform",0,0)) SWIG_fail; - result = (SoTransform *)new SoTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_translation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_translation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_rotation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_rotation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleFactor_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleFactor_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleOrientation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleOrientation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_center_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_center_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_pointAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_pointAt" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getScaleSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getScaleSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getScaleSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getRotationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getRotationSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getRotationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getTranslationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getTranslationSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getTranslationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_multLeft" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->multLeft((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_multRight" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->multRight((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_combineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoTransformation *arg2 = (SoTransformation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_combineLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_combineLeft" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_combineLeft" "', argument " "2"" of type '" "SoTransformation *""'"); - } - arg2 = reinterpret_cast< SoTransformation * >(argp2); - (arg1)->combineLeft(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_combineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoTransformation *arg2 = (SoTransformation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_combineRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_combineRight" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_combineRight" "', argument " "2"" of type '" "SoTransformation *""'"); - } - arg2 = reinterpret_cast< SoTransformation * >(argp2); - (arg1)->combineRight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_setMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_setMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_setMatrix" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_setMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_setMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_recenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_recenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_recenter" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->recenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_doAction" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_GLRender" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_callback" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getBoundingBox" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getMatrix" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_pick" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getTypeId" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = ((SoTransformManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_initClass",0,0)) SWIG_fail; - SoTransformManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformManip",0,0)) SWIG_fail; - result = (SoTransformManip *)new SoTransformManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getDragger" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_replaceNode" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoTransform *arg3 = (SoTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_replaceManip" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransformManip_replaceManip" "', argument " "3"" of type '" "SoTransform *""'"); - } - arg3 = reinterpret_cast< SoTransform * >(argp3); - result = (SbBool)((SoTransformManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_doAction" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_callback" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_GLRender" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getBoundingBox" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getMatrix" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_handleEvent" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_pick" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_search" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getChildren" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = (SoChildList *)((SoTransformManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCenterballManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_getClassTypeId",0,0)) SWIG_fail; - result = SoCenterballManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballManip *arg1 = (SoCenterballManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballManip_getTypeId" "', argument " "1"" of type '" "SoCenterballManip const *""'"); - } - arg1 = reinterpret_cast< SoCenterballManip * >(argp1); - result = ((SoCenterballManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_initClass",0,0)) SWIG_fail; - SoCenterballManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCenterballManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCenterballManip",0,0)) SWIG_fail; - result = (SoCenterballManip *)new SoCenterballManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCenterballManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCenterballManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCenterballManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_getTypeId" "', argument " "1"" of type '" "SoClipPlane const *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = ((SoClipPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_initClass",0,0)) SWIG_fail; - SoClipPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoClipPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoClipPlane",0,0)) SWIG_fail; - result = (SoClipPlane *)new SoClipPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlane, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_plane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFPlane *arg2 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_plane_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_plane_set" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_plane_set" "', argument " "2"" of type '" "SoSFPlane *""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - if (arg1) (arg1)->plane = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_plane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_plane_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_plane_get" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = (SoSFPlane *)& ((arg1)->plane); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_on_set" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_on_get" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_doAction" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_GLRender" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_callback" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_pick" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlaneManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getTypeId" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = ((SoClipPlaneManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_initClass",0,0)) SWIG_fail; - SoClipPlaneManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoClipPlaneManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoClipPlaneManip",0,0)) SWIG_fail; - result = (SoClipPlaneManip *)new SoClipPlaneManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlaneManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getDragger" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_setValue" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneManip_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneManip_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneManip_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoClipPlaneManip_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue((SbBox3f const &)*arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_replaceNode" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoClipPlane *arg3 = (SoClipPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "3"" of type '" "SoClipPlane *""'"); - } - arg3 = reinterpret_cast< SoClipPlane * >(argp3); - result = (SbBool)((SoClipPlaneManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_doAction" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_callback" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_GLRender" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getBoundingBox" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getMatrix" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_handleEvent" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_pick" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_search" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getChildren" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoChildList *)((SoClipPlaneManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_draggerPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_draggerPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_draggerPosition_set" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_draggerPosition_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->draggerPosition = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_draggerPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_draggerPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_draggerPosition_get" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoSFVec3f *)& ((arg1)->draggerPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlaneManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlaneManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_getClassTypeId",0,0)) SWIG_fail; - result = SoLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_getTypeId" "', argument " "1"" of type '" "SoLight const *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = ((SoLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_initClass",0,0)) SWIG_fail; - SoLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_on_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_on_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_intensity_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_intensity_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_color_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_color_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_callback" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_getTypeId" "', argument " "1"" of type '" "SoDirectionalLight const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - result = ((SoDirectionalLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_initClass",0,0)) SWIG_fail; - SoDirectionalLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLight",0,0)) SWIG_fail; - result = (SoDirectionalLight *)new SoDirectionalLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_direction_set" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_direction_get" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_GLRender" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getTypeId" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = ((SoDirectionalLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_initClass",0,0)) SWIG_fail; - SoDirectionalLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLightManip",0,0)) SWIG_fail; - result = (SoDirectionalLightManip *)new SoDirectionalLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getDragger" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_replaceNode" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoDirectionalLight *arg3 = (SoDirectionalLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "3"" of type '" "SoDirectionalLight *""'"); - } - arg3 = reinterpret_cast< SoDirectionalLight * >(argp3); - result = (SbBool)((SoDirectionalLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_doAction" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_callback" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_GLRender" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getBoundingBox" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getMatrix" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_handleEvent" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_pick" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_search" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getChildren" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = (SoChildList *)((SoDirectionalLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxManip *arg1 = (SoHandleBoxManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxManip_getTypeId" "', argument " "1"" of type '" "SoHandleBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxManip * >(argp1); - result = ((SoHandleBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_initClass",0,0)) SWIG_fail; - SoHandleBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleBoxManip",0,0)) SWIG_fail; - result = (SoHandleBoxManip *)new SoHandleBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoJackManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_getClassTypeId",0,0)) SWIG_fail; - result = SoJackManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackManip *arg1 = (SoJackManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackManip_getTypeId" "', argument " "1"" of type '" "SoJackManip const *""'"); - } - arg1 = reinterpret_cast< SoJackManip * >(argp1); - result = ((SoJackManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_initClass",0,0)) SWIG_fail; - SoJackManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoJackManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoJackManip",0,0)) SWIG_fail; - result = (SoJackManip *)new SoJackManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoJackManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoJackManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoJackManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_getTypeId" "', argument " "1"" of type '" "SoPointLight const *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - result = ((SoPointLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_initClass",0,0)) SWIG_fail; - SoPointLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLight",0,0)) SWIG_fail; - result = (SoPointLight *)new SoPointLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_location_set" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_location_get" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_GLRender" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getTypeId" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = ((SoPointLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_initClass",0,0)) SWIG_fail; - SoPointLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLightManip",0,0)) SWIG_fail; - result = (SoPointLightManip *)new SoPointLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getDragger" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_replaceNode" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPointLight *arg3 = (SoPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_replaceManip" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPointLightManip_replaceManip" "', argument " "3"" of type '" "SoPointLight *""'"); - } - arg3 = reinterpret_cast< SoPointLight * >(argp3); - result = (SbBool)((SoPointLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_doAction" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_callback" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_GLRender" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getBoundingBox" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getMatrix" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_handleEvent" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_pick" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_search" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getChildren" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = (SoChildList *)((SoPointLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_getTypeId" "', argument " "1"" of type '" "SoSpotLight const *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = ((SoSpotLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_initClass",0,0)) SWIG_fail; - SoSpotLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLight",0,0)) SWIG_fail; - result = (SoSpotLight *)new SoSpotLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_location_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_location_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_direction_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_direction_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_dropOffRate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_dropOffRate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_dropOffRate_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_dropOffRate_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dropOffRate = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_dropOffRate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_dropOffRate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_dropOffRate_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->dropOffRate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_cutOffAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_cutOffAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_cutOffAngle_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_cutOffAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->cutOffAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_cutOffAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_cutOffAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_cutOffAngle_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->cutOffAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_GLRender" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getTypeId" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = ((SoSpotLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_initClass",0,0)) SWIG_fail; - SoSpotLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLightManip",0,0)) SWIG_fail; - result = (SoSpotLightManip *)new SoSpotLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getDragger" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_replaceNode" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoSpotLight *arg3 = (SoSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_replaceManip" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSpotLightManip_replaceManip" "', argument " "3"" of type '" "SoSpotLight *""'"); - } - arg3 = reinterpret_cast< SoSpotLight * >(argp3); - result = (SbBool)((SoSpotLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_doAction" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_callback" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_GLRender" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getBoundingBox" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getMatrix" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_handleEvent" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_pick" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_search" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getChildren" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = (SoChildList *)((SoSpotLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTabBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxManip *arg1 = (SoTabBoxManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxManip_getTypeId" "', argument " "1"" of type '" "SoTabBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxManip * >(argp1); - result = ((SoTabBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_initClass",0,0)) SWIG_fail; - SoTabBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabBoxManip",0,0)) SWIG_fail; - result = (SoTabBoxManip *)new SoTabBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTrackballManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTrackballManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballManip *arg1 = (SoTrackballManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballManip_getTypeId" "', argument " "1"" of type '" "SoTrackballManip const *""'"); - } - arg1 = reinterpret_cast< SoTrackballManip * >(argp1); - result = ((SoTrackballManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_initClass",0,0)) SWIG_fail; - SoTrackballManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTrackballManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTrackballManip",0,0)) SWIG_fail; - result = (SoTrackballManip *)new SoTrackballManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTrackballManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTrackballManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTrackballManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxManip *arg1 = (SoTransformBoxManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxManip_getTypeId" "', argument " "1"" of type '" "SoTransformBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxManip * >(argp1); - result = ((SoTransformBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_initClass",0,0)) SWIG_fail; - SoTransformBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformBoxManip",0,0)) SWIG_fail; - result = (SoTransformBoxManip *)new SoTransformBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformerManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformerManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_getTypeId" "', argument " "1"" of type '" "SoTransformerManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - result = ((SoTransformerManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_initClass",0,0)) SWIG_fail; - SoTransformerManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformerManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformerManip",0,0)) SWIG_fail; - result = (SoTransformerManip *)new SoTransformerManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformerManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_isLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_isLocateHighlighting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_isLocateHighlighting" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - result = (SbBool)(arg1)->isLocateHighlighting(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_setLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_setLocateHighlighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_setLocateHighlighting" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransformerManip_setLocateHighlighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setLocateHighlighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_unsquishKnobs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_unsquishKnobs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_unsquishKnobs" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - (arg1)->unsquishKnobs(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformerManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformerManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAudioDevice_instance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_instance",0,0)) SWIG_fail; - result = (SoAudioDevice *)SoAudioDevice::instance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbString *arg2 = 0 ; - SbString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_init",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_init" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->init((SbString const &)*arg2,(SbString const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_enable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_enable" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->enable(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_disable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_disable" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - (arg1)->disable(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_isEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_isEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_isEnabled" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->isEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_haveSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_haveSound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_haveSound" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->haveSound(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_setGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_setGain",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_setGain" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioDevice_setGain" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setGain(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_mute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_mute" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioDevice_mute" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->mute(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_mute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_mute" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - (arg1)->mute(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAudioDevice, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAudioDevice_mute__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAudioDevice, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAudioDevice_mute__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAudioDevice_mute'.\n" - " Possible C/C++ prototypes are:\n" - " mute(SoAudioDevice *,SbBool)\n" - " mute(SoAudioDevice *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoAudioDevice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAudioDevice, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoByteStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoByteStream",0,0)) SWIG_fail; - result = (SoByteStream *)new SoByteStream(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoByteStream, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoByteStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoByteStream",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoByteStream" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPathList *arg2 = (SoPathList *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPathList *""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPathList *arg2 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPathList *""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoByteStream_convert'.\n" - " Possible C/C++ prototypes are:\n" - " convert(SoByteStream *,SoNode *,SbBool)\n" - " convert(SoByteStream *,SoNode *)\n" - " convert(SoByteStream *,SoPath *,SbBool)\n" - " convert(SoByteStream *,SoPath *)\n" - " convert(SoByteStream *,SoPathList *,SbBool)\n" - " convert(SoByteStream *,SoPathList *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_getData" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (void *)(arg1)->getData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_getNumBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_getNumBytes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_getNumBytes" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (arg1)->getNumBytes(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_unconvert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_unconvert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (SoPathList *)SoByteStream::unconvert(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *arg1 = (void *) 0 ; - uint32_t arg2 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_unconvert",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyTuple_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj0); - arg1 = (void *)obj0; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoByteStream_unconvert" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SoPathList *)SoByteStream::unconvert(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_unconvert__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - _v = PyTuple_Check(argv[0]) ? 1 : 0; - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_unconvert__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoByteStream_unconvert'.\n" - " Possible C/C++ prototypes are:\n" - " unconvert(SoByteStream *)\n" - " SoByteStream::unconvert(void *,uint32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_copy" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_copy" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_copy" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->copy(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_isRawData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_isRawData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_isRawData" "', argument " "1"" of type '" "SoByteStream const *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (SbBool)((SoByteStream const *)arg1)->isRawData(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoByteStream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoByteStream, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoContextHandler_destructingContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_destructingContext",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoContextHandler_destructingContext" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoContextHandler::destructingContext(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoContextHandler_addContextDestructionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler::ContextDestructionCB *arg1 = (SoContextHandler::ContextDestructionCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_addContextDestructionCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_uint32_t_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoContextHandler_addContextDestructionCallback" "', argument " "1"" of type '" "SoContextHandler::ContextDestructionCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoContextHandler_addContextDestructionCallback" "', argument " "2"" of type '" "void *""'"); - } - SoContextHandler::addContextDestructionCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoContextHandler_removeContextDestructionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler::ContextDestructionCB *arg1 = (SoContextHandler::ContextDestructionCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_removeContextDestructionCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_uint32_t_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoContextHandler_removeContextDestructionCallback" "', argument " "1"" of type '" "SoContextHandler::ContextDestructionCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoContextHandler_removeContextDestructionCallback" "', argument " "2"" of type '" "void *""'"); - } - SoContextHandler::removeContextDestructionCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoContextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoContextHandler",0,0)) SWIG_fail; - result = (SoContextHandler *)new SoContextHandler(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoContextHandler, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoContextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler *arg1 = (SoContextHandler *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoContextHandler",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoContextHandler, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoContextHandler" "', argument " "1"" of type '" "SoContextHandler *""'"); - } - arg1 = reinterpret_cast< SoContextHandler * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoContextHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoContextHandler, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLImage",0,0)) SWIG_fail; - result = (SoGLImage *)new SoGLImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_unref" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_unref" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_unref'.\n" - " Possible C/C++ prototypes are:\n" - " unref(SoGLImage *,SoState *)\n" - " unref(SoGLImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getClassTypeId",0,0)) SWIG_fail; - result = SoGLImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getTypeId" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = ((SoGLImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_isOfType" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoGLImage const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setGLDisplayList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - SoState *arg3 = (SoState *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setGLDisplayList",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setGLDisplayList" "', argument " "3"" of type '" "SoState *""'"); - } - arg3 = reinterpret_cast< SoState * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setGLDisplayList" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setGLDisplayList" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setGLDisplayList" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setGLDisplayList(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setGLDisplayList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - SoState *arg3 = (SoState *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setGLDisplayList",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setGLDisplayList" "', argument " "3"" of type '" "SoState *""'"); - } - arg3 = reinterpret_cast< SoState * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setGLDisplayList" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setGLDisplayList" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setGLDisplayList(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setGLDisplayList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - SoState *arg3 = (SoState *) 0 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setGLDisplayList",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setGLDisplayList" "', argument " "3"" of type '" "SoState *""'"); - } - arg3 = reinterpret_cast< SoState * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setGLDisplayList" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setGLDisplayList(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setGLDisplayList__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - SoState *arg3 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setGLDisplayList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setGLDisplayList" "', argument " "3"" of type '" "SoState *""'"); - } - arg3 = reinterpret_cast< SoState * >(argp3); - (arg1)->setGLDisplayList(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setGLDisplayList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setGLDisplayList__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setGLDisplayList__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setGLDisplayList__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setGLDisplayList__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_setGLDisplayList'.\n" - " Possible C/C++ prototypes are:\n" - " setGLDisplayList(SoGLImage *,SoGLDisplayList *,SoState *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setGLDisplayList(SoGLImage *,SoGLDisplayList *,SoState *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setGLDisplayList(SoGLImage *,SoGLDisplayList *,SoState *,SoGLImage::Wrap const)\n" - " setGLDisplayList(SoGLImage *,SoGLDisplayList *,SoState *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setPBuffer" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setPBuffer" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setPBuffer(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setPBuffer" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setPBuffer(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setPBuffer(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPBuffer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_setPBuffer'.\n" - " Possible C/C++ prototypes are:\n" - " setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const)\n" - " setPBuffer(SoGLImage *,SoState *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - int arg8 ; - SoState *arg9 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "SoState *""'"); - } - arg9 = reinterpret_cast< SoState * >(argp9); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - int arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - int arg9 ; - SoState *arg10 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoGLImage_setData" "', argument " "10"" of type '" "SoState *""'"); - } - arg10 = reinterpret_cast< SoState * >(argp10); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - int arg9 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - SoState *arg7 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoState *""'"); - } - arg7 = reinterpret_cast< SoState * >(argp7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setData((SbImage const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - (arg1)->setData((SbImage const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setData((SbImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - SoState *arg8 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "SoState *""'"); - } - arg8 = reinterpret_cast< SoState * >(argp8); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_21(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_22(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[11]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 10); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_18(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_17(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_16(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_5(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_12(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_11(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_4(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_22(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_15(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_21(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_3(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_14(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_10(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_2(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_20(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_13(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_9(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_8(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_19(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_7(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_6(self, args); - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_setData'.\n" - " Possible C/C++ prototypes are:\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const)\n" - " setData(SoGLImage *,SbImage const *)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setFlags",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setFlags" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLImage_setFlags" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setFlags(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getFlags" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = ((SoGLImage const *)arg1)->getFlags(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getImage" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbImage *)((SoGLImage const *)arg1)->getImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getGLDisplayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoGLDisplayList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_getGLDisplayList" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoGLDisplayList *)(arg1)->getGLDisplayList(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_hasTransparency" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbBool)((SoGLImage const *)arg1)->hasTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_useAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_useAlphaTest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_useAlphaTest" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbBool)((SoGLImage const *)arg1)->useAlphaTest(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLImage::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapS" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapS(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLImage::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapT" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapT(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLImage::Wrap result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapR" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapR(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getQuality",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getQuality" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (float)((SoGLImage const *)arg1)->getQuality(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getGLImageId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getGLImageId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getGLImageId" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = ((SoGLImage const *)arg1)->getGLImageId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_beginFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_beginFrame",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_beginFrame" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::beginFrame(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_tagImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLImage *arg2 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_tagImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_tagImage" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_tagImage" "', argument " "2"" of type '" "SoGLImage *""'"); - } - arg2 = reinterpret_cast< SoGLImage * >(argp2); - SoGLImage::tagImage(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_endFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_endFrame",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_endFrame" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::endFrame(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setDisplayListMaxAge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setDisplayListMaxAge",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLImage_setDisplayListMaxAge" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoGLImage::setDisplayListMaxAge(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_freeAllImages",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_freeAllImages" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::freeAllImages(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_freeAllImages",0,0)) SWIG_fail; - SoGLImage::freeAllImages(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoGLImage_freeAllImages__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_freeAllImages__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_freeAllImages'.\n" - " Possible C/C++ prototypes are:\n" - " freeAllImages(SoState *)\n" - " SoGLImage::freeAllImages()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setEndFrameCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void (*arg2)(void *) = (void (*)(void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setEndFrameCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "2"" of type '" "void (*)(void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setEndFrameCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getNumFramesSinceUsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getNumFramesSinceUsed",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getNumFramesSinceUsed" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (int)((SoGLImage const *)arg1)->getNumFramesSinceUsed(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_initClass",0,0)) SWIG_fail; - SoGLImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setResizeCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage::SoGLImageResizeCB *arg1 = (SoGLImage::SoGLImageResizeCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setResizeCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLImage_setResizeCallback" "', argument " "1"" of type '" "SoGLImage::SoGLImageResizeCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setResizeCallback" "', argument " "2"" of type '" "void *""'"); - } - SoGLImage::setResizeCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLBigImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLBigImage",0,0)) SWIG_fail; - result = (SoGLBigImage *)new SoGLBigImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLBigImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_unref" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_unref" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLBigImage_unref'.\n" - " Possible C/C++ prototypes are:\n" - " unref(SoGLBigImage *,SoState *)\n" - " unref(SoGLBigImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getClassTypeId",0,0)) SWIG_fail; - result = SoGLBigImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_getTypeId" "', argument " "1"" of type '" "SoGLBigImage const *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - result = ((SoGLBigImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - SoState *arg7 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "SoState *""'"); - } - arg7 = reinterpret_cast< SoState * >(argp7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setData((SbImage const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - (arg1)->setData((SbImage const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setData((SbImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - SoState *arg8 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoGLBigImage_setData" "', argument " "8"" of type '" "SoState *""'"); - } - arg8 = reinterpret_cast< SoState * >(argp8); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[9]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 8); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_4(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_3(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_9(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_2(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_8(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_7(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_6(self, args); - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLBigImage_setData'.\n" - " Possible C/C++ prototypes are:\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const)\n" - " setData(SoGLBigImage *,SbImage const *)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n" - " setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_initSubImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_initSubImages",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_initSubImages" "', argument " "1"" of type '" "SoGLBigImage const *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_initSubImages" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_initSubImages" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)((SoGLBigImage const *)arg1)->initSubImages((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_handleSubImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - SbVec2f *arg4 = 0 ; - SbVec2f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_handleSubImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_handleSubImage" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLBigImage_handleSubImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLBigImage_handleSubImage" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLBigImage_handleSubImage" "', argument " "4"" of type '" "SbVec2f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "4"" of type '" "SbVec2f &""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLBigImage_handleSubImage" "', argument " "5"" of type '" "SbVec2f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "5"" of type '" "SbVec2f &""'"); - } - arg5 = reinterpret_cast< SbVec2f * >(argp5); - (arg1)->handleSubImage(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_applySubImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - float arg4 ; - SbVec2s *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_applySubImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_applySubImage" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_applySubImage" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_applySubImage" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_applySubImage" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLBigImage_applySubImage" "', argument " "5"" of type '" "SbVec2s const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_applySubImage" "', argument " "5"" of type '" "SbVec2s const &""'"); - } - arg5 = reinterpret_cast< SbVec2s * >(argp5); - (arg1)->applySubImage(arg2,arg3,arg4,(SbVec2s const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_exceededChangeLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_exceededChangeLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_exceededChangeLimit" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - result = (SbBool)(arg1)->exceededChangeLimit(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setChangeLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setChangeLimit",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLBigImage_setChangeLimit" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (int)SoGLBigImage::setChangeLimit(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getGLDisplayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoGLDisplayList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_getGLDisplayList" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_getGLDisplayList" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoGLDisplayList *)(arg1)->getGLDisplayList(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_initClass",0,0)) SWIG_fail; - SoGLBigImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLBigImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLBigImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGlyph_unref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_unref" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ((SoGlyph const *)arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbName *arg2 = 0 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoGlyph *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getGlyph",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGlyph_getGlyph" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoGlyph *)SoGlyph::getGlyph(arg1,(SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGlyph, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getCoords" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (SbVec2f *)((SoGlyph const *)arg1)->getCoords(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getFaceIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getFaceIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getFaceIndices" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (int *)((SoGlyph const *)arg1)->getFaceIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getEdgeIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getEdgeIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getEdgeIndices" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (int *)((SoGlyph const *)arg1)->getEdgeIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getNextCWEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getNextCWEdge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getNextCWEdge" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getNextCWEdge" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int *)((SoGlyph const *)arg1)->getNextCWEdge(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getNextCCWEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getNextCCWEdge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getNextCCWEdge" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getNextCCWEdge" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int *)((SoGlyph const *)arg1)->getNextCCWEdge(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getWidth" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (float)((SoGlyph const *)arg1)->getWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getBoundingBox" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - { - SbBox2f const &_result_ref = ((SoGlyph const *)arg1)->getBoundingBox(); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - unsigned int arg2 ; - SbVec2s *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoGlyph *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getGlyph",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getGlyph" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getGlyph" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGlyph_getGlyph" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getGlyph" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGlyph_getGlyph" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SoGlyph *)SoGlyph::getGlyph(arg1,arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGlyph, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoGlyph_getGlyph__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGlyph_getGlyph__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGlyph_getGlyph'.\n" - " Possible C/C++ prototypes are:\n" - " getGlyph(char const,SbName const &)\n" - " SoGlyph::getGlyph(SoState *,unsigned int const,SbVec2s const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getAdvance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getAdvance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getAdvance" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = ((SoGlyph const *)arg1)->getAdvance(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getKerning(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SoGlyph *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getKerning",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getKerning" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoGlyph, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGlyph_getKerning" "', argument " "2"" of type '" "SoGlyph const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getKerning" "', argument " "2"" of type '" "SoGlyph const &""'"); - } - arg2 = reinterpret_cast< SoGlyph * >(argp2); - result = ((SoGlyph const *)arg1)->getKerning((SoGlyph const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getBitmap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getBitmap" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGlyph_getBitmap" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getBitmap" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGlyph_getBitmap" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getBitmap" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGlyph_getBitmap" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (unsigned char *)((SoGlyph const *)arg1)->getBitmap(*arg2,*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGlyph_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGlyph, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoProto__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProto",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoProto" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SoProto *)new SoProto(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProto__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProto",0,0)) SWIG_fail; - result = (SoProto *)new SoProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProto(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoProto__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoProto__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoProto'.\n" - " Possible C/C++ prototypes are:\n" - " SoProto(SbBool const)\n" - " SoProto()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_setFetchExternProtoCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFetchExternProtoCB *arg1 = (SoFetchExternProtoCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_setFetchExternProtoCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoProto_setFetchExternProtoCallback" "', argument " "1"" of type '" "SoFetchExternProtoCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_setFetchExternProtoCallback" "', argument " "2"" of type '" "void *""'"); - } - SoProto::setFetchExternProtoCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_getTypeId" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = ((SoProto const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getClassTypeId",0,0)) SWIG_fail; - result = SoProto::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findProto",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoProto *)SoProto::findProto((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_initClass",0,0)) SWIG_fail; - SoProto::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_createProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProtoInstance *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_createProtoInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_createProtoInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = (SoProtoInstance *)(arg1)->createProtoInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addISReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addISReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_addISReference" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - (arg1)->addISReference(arg2,(SbName const &)*arg3,(SbName const &)*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findISReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_findISReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_findISReference" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (arg1)->findISReference((SoFieldContainer const *)arg2,(SbName const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProto_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->addReference((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_removeReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_removeReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_removeReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->removeReference((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_findReference" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoBase *)((SoProto const *)arg1)->findReference((SbName const &)*arg2); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addRoute" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute((SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getProtoName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getProtoName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_getProtoName" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = ((SoProto const *)arg1)->getProtoName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_readInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - unsigned short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_readInstance",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_readInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_readInstance" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProto_readInstance" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - result = (SbBool)(arg1)->readInstance(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_write" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProto_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProto, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getClassTypeId",0,0)) SWIG_fail; - result = SoProtoInstance::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getTypeId" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = ((SoProtoInstance const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_initClass",0,0)) SWIG_fail; - SoProtoInstance::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoFieldData *arg2 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoProtoInstance *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProtoInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoProtoInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoProtoInstance" "', argument " "2"" of type '" "SoFieldData const *""'"); - } - arg2 = reinterpret_cast< SoFieldData * >(argp2); - result = (SoProtoInstance *)new SoProtoInstance(arg1,(SoFieldData const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_findProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProtoInstance *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_findProtoInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_findProtoInstance" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoProtoInstance *)SoProtoInstance::findProtoInstance((SoNode const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_setRootNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_setRootNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_setRootNode" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProtoInstance_setRootNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setRootNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getRootNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getRootNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getRootNode" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = (SoNode *)(arg1)->getRootNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getProtoDefinition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getProtoDefinition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getProtoDefinition" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = (SoProto *)((SoProtoInstance const *)arg1)->getProtoDefinition(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getProtoName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getProtoName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getProtoName" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = ((SoProtoInstance const *)arg1)->getProtoName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_write" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProtoInstance_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProtoInstance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProtoInstance, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTranReceiver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTranReceiver *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranReceiver",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTranReceiver" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (SoTranReceiver *)new SoTranReceiver(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranReceiver, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTranReceiver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranReceiver *arg1 = (SoTranReceiver *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTranReceiver",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranReceiver, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTranReceiver" "', argument " "1"" of type '" "SoTranReceiver *""'"); - } - arg1 = reinterpret_cast< SoTranReceiver * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranReceiver_interpret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranReceiver *arg1 = (SoTranReceiver *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranReceiver_interpret",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranReceiver, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranReceiver_interpret" "', argument " "1"" of type '" "SoTranReceiver *""'"); - } - arg1 = reinterpret_cast< SoTranReceiver * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranReceiver_interpret" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - result = (SbBool)(arg1)->interpret(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranReceiver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranReceiver, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTranSender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoTranSender *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranSender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTranSender" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoTranSender *)new SoTranSender(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranSender, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTranSender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTranSender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTranSender" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_getOutput" "', argument " "1"" of type '" "SoTranSender const *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - result = (SoOutput *)((SoTranSender const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_insert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_insert" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_insert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->insert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_insert",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_insert" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_insert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTranSender_insert" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTranSender_insert" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->insert(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTranSender, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTranSender_insert__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTranSender, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTranSender_insert__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTranSender_insert'.\n" - " Possible C/C++ prototypes are:\n" - " insert(SoTranSender *,SoNode *)\n" - " insert(SoTranSender *,SoNode *,SoNode *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_remove",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_remove" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_remove" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTranSender_remove" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->remove(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SoNode *arg4 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_replace",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_replace" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_replace" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTranSender_replace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTranSender_replace" "', argument " "4"" of type '" "SoNode *""'"); - } - arg4 = reinterpret_cast< SoNode * >(argp4); - (arg1)->replace(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_modify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_modify" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_modify" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->modify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_prepareToSend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_prepareToSend",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_prepareToSend" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - (arg1)->prepareToSend(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranSender_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranSender, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getClassTypeId",0,0)) SWIG_fail; - result = SoAppearanceKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *arg1 = (SoAppearanceKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAppearanceKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAppearanceKit_getTypeId" "', argument " "1"" of type '" "SoAppearanceKit const *""'"); - } - arg1 = reinterpret_cast< SoAppearanceKit * >(argp1); - result = ((SoAppearanceKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoAppearanceKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *arg1 = (SoAppearanceKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAppearanceKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAppearanceKit_getNodekitCatalog" "', argument " "1"" of type '" "SoAppearanceKit const *""'"); - } - arg1 = reinterpret_cast< SoAppearanceKit * >(argp1); - result = (SoNodekitCatalog *)((SoAppearanceKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAppearanceKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAppearanceKit",0,0)) SWIG_fail; - result = (SoAppearanceKit *)new SoAppearanceKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAppearanceKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_initClass",0,0)) SWIG_fail; - SoAppearanceKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAppearanceKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAppearanceKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCameraKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getClassTypeId",0,0)) SWIG_fail; - result = SoCameraKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *arg1 = (SoCameraKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCameraKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCameraKit_getTypeId" "', argument " "1"" of type '" "SoCameraKit const *""'"); - } - arg1 = reinterpret_cast< SoCameraKit * >(argp1); - result = ((SoCameraKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoCameraKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *arg1 = (SoCameraKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCameraKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCameraKit_getNodekitCatalog" "', argument " "1"" of type '" "SoCameraKit const *""'"); - } - arg1 = reinterpret_cast< SoCameraKit * >(argp1); - result = (SoNodekitCatalog *)((SoCameraKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCameraKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCameraKit",0,0)) SWIG_fail; - result = (SoCameraKit *)new SoCameraKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCameraKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_initClass",0,0)) SWIG_fail; - SoCameraKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCameraKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCameraKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getClassTypeId",0,0)) SWIG_fail; - result = SoLightKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *arg1 = (SoLightKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightKit_getTypeId" "', argument " "1"" of type '" "SoLightKit const *""'"); - } - arg1 = reinterpret_cast< SoLightKit * >(argp1); - result = ((SoLightKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoLightKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *arg1 = (SoLightKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightKit_getNodekitCatalog" "', argument " "1"" of type '" "SoLightKit const *""'"); - } - arg1 = reinterpret_cast< SoLightKit * >(argp1); - result = (SoNodekitCatalog *)((SoLightKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightKit",0,0)) SWIG_fail; - result = (SoLightKit *)new SoLightKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_initClass",0,0)) SWIG_fail; - SoLightKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKit_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKit_init",0,0)) SWIG_fail; - SoNodeKit::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKit",0,0)) SWIG_fail; - result = (SoNodeKit *)new SoNodeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKit, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKit *arg1 = (SoNodeKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeKit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKit, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeKit" "', argument " "1"" of type '" "SoNodeKit *""'"); - } - arg1 = reinterpret_cast< SoNodeKit * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSceneKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getClassTypeId",0,0)) SWIG_fail; - result = SoSceneKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getTypeId" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = ((SoSceneKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSceneKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getNodekitCatalog" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (SoNodekitCatalog *)((SoSceneKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_initClass",0,0)) SWIG_fail; - SoSceneKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSceneKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneKit",0,0)) SWIG_fail; - result = (SoSceneKit *)new SoSceneKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getCameraNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getCameraNumber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getCameraNumber" "', argument " "1"" of type '" "SoSceneKit *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (int)(arg1)->getCameraNumber(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_setCameraNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_setCameraNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_setCameraNumber" "', argument " "1"" of type '" "SoSceneKit *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneKit_setCameraNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCameraNumber(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_affectsState" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (SbBool)((SoSceneKit const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSceneKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getClassTypeId",0,0)) SWIG_fail; - result = SoSeparatorKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_getTypeId" "', argument " "1"" of type '" "SoSeparatorKit const *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = ((SoSeparatorKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSeparatorKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_getNodekitCatalog" "', argument " "1"" of type '" "SoSeparatorKit const *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoNodekitCatalog *)((SoSeparatorKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparatorKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparatorKit",0,0)) SWIG_fail; - result = (SoSeparatorKit *)new SoSeparatorKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparatorKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCaching_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCaching_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_boundingBoxCaching_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_boundingBoxCaching_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCulling_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCulling_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_pickCulling_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_pickCulling_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_initClass",0,0)) SWIG_fail; - SoSeparatorKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSeparatorKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSeparatorKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *arg1 = (SoShapeKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeKit_getTypeId" "', argument " "1"" of type '" "SoShapeKit const *""'"); - } - arg1 = reinterpret_cast< SoShapeKit * >(argp1); - result = ((SoShapeKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoShapeKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *arg1 = (SoShapeKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeKit_getNodekitCatalog" "', argument " "1"" of type '" "SoShapeKit const *""'"); - } - arg1 = reinterpret_cast< SoShapeKit * >(argp1); - result = (SoNodekitCatalog *)((SoShapeKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShapeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShapeKit",0,0)) SWIG_fail; - result = (SoShapeKit *)new SoShapeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_initClass",0,0)) SWIG_fail; - SoShapeKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getClassTypeId",0,0)) SWIG_fail; - result = SoWrapperKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *arg1 = (SoWrapperKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWrapperKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWrapperKit_getTypeId" "', argument " "1"" of type '" "SoWrapperKit const *""'"); - } - arg1 = reinterpret_cast< SoWrapperKit * >(argp1); - result = ((SoWrapperKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoWrapperKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *arg1 = (SoWrapperKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWrapperKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWrapperKit_getNodekitCatalog" "', argument " "1"" of type '" "SoWrapperKit const *""'"); - } - arg1 = reinterpret_cast< SoWrapperKit * >(argp1); - result = (SoNodekitCatalog *)((SoWrapperKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWrapperKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWrapperKit",0,0)) SWIG_fail; - result = (SoWrapperKit *)new SoWrapperKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWrapperKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_initClass",0,0)) SWIG_fail; - SoWrapperKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWrapperKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWrapperKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGroup_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getClassTypeId",0,0)) SWIG_fail; - result = SoGroup::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getTypeId" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = ((SoGroup const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_initClass",0,0)) SWIG_fail; - SoGroup::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGroup",0,0)) SWIG_fail; - result = (SoGroup *)new SoGroup(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGroup",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoGroup" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoGroup *)new SoGroup(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoGroup__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGroup__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoGroup'.\n" - " Possible C/C++ prototypes are:\n" - " SoGroup()\n" - " SoGroup(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_addChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_insertChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGroup_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getChild" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoGroup const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_findChild" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoGroup const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getNumChildren" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (int)((SoGroup const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGroup_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGroup_removeChild'.\n" - " Possible C/C++ prototypes are:\n" - " removeChild(SoGroup *,int)\n" - " removeChild(SoGroup *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeAllChildren" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_replaceChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGroup_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_replaceChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGroup_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGroup_replaceChild'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChild(SoGroup *,int,SoNode *)\n" - " replaceChild(SoGroup *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_doAction" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_GLRender" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_callback" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getBoundingBox" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getMatrix" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_handleEvent" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_pick" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_search" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_write" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getPrimitiveCount" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_audioRender" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getChildren" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (SoChildList *)((SoGroup const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___len__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (int)SoGroup___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___contains__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___contains__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup___contains__" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)SoGroup___contains__(arg1,(SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___getitem__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoGroup___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGroup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGroup, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSeparator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getClassTypeId",0,0)) SWIG_fail; - result = SoSeparator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getTypeId" "', argument " "1"" of type '" "SoSeparator const *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = ((SoSeparator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_initClass",0,0)) SWIG_fail; - SoSeparator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparator",0,0)) SWIG_fail; - result = (SoSeparator *)new SoSeparator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSeparator" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSeparator *)new SoSeparator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSeparator__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSeparator__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSeparator'.\n" - " Possible C/C++ prototypes are:\n" - " SoSeparator()\n" - " SoSeparator(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCaching_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCaching_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_boundingBoxCaching_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_boundingBoxCaching_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCulling_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCulling_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_pickCulling_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_pickCulling_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_doAction" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRender" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderBelowPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderInPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderOffPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_callback" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getBoundingBox" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getMatrix" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_handleEvent" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_rayPick" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_search" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getPrimitiveCount" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_audioRender" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_notify" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoSeparator_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoSeparator::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoSeparator::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_affectsState" "', argument " "1"" of type '" "SoSeparator const *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SbBool)((SoSeparator const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSeparator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSeparator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_getTypeId" "', argument " "1"" of type '" "SoAnnotation const *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - result = ((SoAnnotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_initClass",0,0)) SWIG_fail; - SoAnnotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAnnotation",0,0)) SWIG_fail; - result = (SoAnnotation *)new SoAnnotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAnnotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRender" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderBelowPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderInPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderOffPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAnnotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAntiSquish_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_getClassTypeId",0,0)) SWIG_fail; - result = SoAntiSquish::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_getTypeId" "', argument " "1"" of type '" "SoAntiSquish const *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = ((SoAntiSquish const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_initClass",0,0)) SWIG_fail; - SoAntiSquish::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAntiSquish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAntiSquish",0,0)) SWIG_fail; - result = (SoAntiSquish *)new SoAntiSquish(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAntiSquish, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_sizing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_sizing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_sizing_set" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_sizing_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->sizing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_sizing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_sizing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_sizing_get" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = (SoSFEnum *)& ((arg1)->sizing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalcAlways_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalcAlways_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalcAlways_set" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_recalcAlways_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->recalcAlways = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalcAlways_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalcAlways_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalcAlways_get" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = (SoSFBool *)& ((arg1)->recalcAlways); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalc",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalc" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - (arg1)->recalc(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_doAction" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAntiSquish_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAntiSquish, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoArray_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getClassTypeId",0,0)) SWIG_fail; - result = SoArray::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getTypeId" "', argument " "1"" of type '" "SoArray const *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = ((SoArray const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_initClass",0,0)) SWIG_fail; - SoArray::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoArray",0,0)) SWIG_fail; - result = (SoArray *)new SoArray(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoArray, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_origin_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_origin_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_origin_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_origin_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->origin = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_origin_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_origin_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_origin_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFEnum *)& ((arg1)->origin); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements1_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements1_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements1_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements2_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements2_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements2 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements2_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements3_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements3_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements3 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements3_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation1_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation1_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation1_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation2_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation2_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation2 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation2_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation3_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation3_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation3 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation3_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_affectsState" "', argument " "1"" of type '" "SoArray const *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SbBool)((SoArray const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_doAction" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_callback" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_GLRender" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_pick" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getBoundingBox" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_handleEvent" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getMatrix" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_search" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getPrimitiveCount" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_audioRender" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoArray, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAsciiText_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getClassTypeId",0,0)) SWIG_fail; - result = SoAsciiText::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_getTypeId" "', argument " "1"" of type '" "SoAsciiText const *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = ((SoAsciiText const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_initClass",0,0)) SWIG_fail; - SoAsciiText::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAsciiText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAsciiText",0,0)) SWIG_fail; - result = (SoAsciiText *)new SoAsciiText(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAsciiText, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_string_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_string_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_spacing_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_spacing_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_justification_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_justification_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_width_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_width_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->width = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_width_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoMFFloat *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_GLRender" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_getPrimitiveCount" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAsciiText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAsciiText, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBaseColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_getClassTypeId",0,0)) SWIG_fail; - result = SoBaseColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_getTypeId" "', argument " "1"" of type '" "SoBaseColor const *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - result = ((SoBaseColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_initClass",0,0)) SWIG_fail; - SoBaseColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseColor",0,0)) SWIG_fail; - result = (SoBaseColor *)new SoBaseColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_rgb_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_rgb_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_rgb_set" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_rgb_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->rgb = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_rgb_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_rgb_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_rgb_get" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - result = (SoMFColor *)& ((arg1)->rgb); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_doAction" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_GLRender" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_callback" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBaseColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getTypeId" "', argument " "1"" of type '" "SoSwitch const *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = ((SoSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_initClass",0,0)) SWIG_fail; - SoSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSwitch",0,0)) SWIG_fail; - result = (SoSwitch *)new SoSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSwitch *)new SoSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSwitch'.\n" - " Possible C/C++ prototypes are:\n" - " SoSwitch()\n" - " SoSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_whichChild_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_whichChild_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_whichChild_set" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_whichChild_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->whichChild = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_whichChild_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_whichChild_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_whichChild_get" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = (SoSFInt32 *)& ((arg1)->whichChild); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_affectsState" "', argument " "1"" of type '" "SoSwitch const *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = (SbBool)((SoSwitch const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_doAction" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_callback" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_GLRender" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_pick" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getBoundingBox" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_handleEvent" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getMatrix" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_search" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_write" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getPrimitiveCount" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_audioRender" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_notify" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBlinker_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getClassTypeId",0,0)) SWIG_fail; - result = SoBlinker::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_getTypeId" "', argument " "1"" of type '" "SoBlinker const *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = ((SoBlinker const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_initClass",0,0)) SWIG_fail; - SoBlinker::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBlinker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBlinker",0,0)) SWIG_fail; - result = (SoBlinker *)new SoBlinker(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBlinker, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_speed_set" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_speed_get" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_on_set" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_on_get" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_getBoundingBox" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_write" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBlinker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBlinker, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_getTypeId" "', argument " "1"" of type '" "SoBumpMapCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - result = ((SoBumpMapCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_initClass",0,0)) SWIG_fail; - SoBumpMapCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMapCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMapCoordinate",0,0)) SWIG_fail; - result = (SoBumpMapCoordinate *)new SoBumpMapCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_point_set" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_point_get" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_doAction" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_GLRender" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_callback" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_pick" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_getTypeId" "', argument " "1"" of type '" "SoBumpMap const *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = ((SoBumpMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_initClass",0,0)) SWIG_fail; - SoBumpMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMap",0,0)) SWIG_fail; - result = (SoBumpMap *)new SoBumpMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_filename_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_filename_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_image_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_image_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapS_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapS_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapT_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapT_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_doAction" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_GLRender" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_callback" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_rayPick" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_getTypeId" "', argument " "1"" of type '" "SoBumpMapTransform const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = ((SoBumpMapTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_initClass",0,0)) SWIG_fail; - SoBumpMapTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMapTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMapTransform",0,0)) SWIG_fail; - result = (SoBumpMapTransform *)new SoBumpMapTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_translation_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_translation_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_rotation_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_rotation_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_scaleFactor_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_scaleFactor_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_center_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_center_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_doAction" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_callback" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_GLRender" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_getMatrix" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_pick" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCallback_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getClassTypeId",0,0)) SWIG_fail; - result = SoCallback::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getTypeId" "', argument " "1"" of type '" "SoCallback const *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - result = ((SoCallback const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_initClass",0,0)) SWIG_fail; - SoCallback::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallback",0,0)) SWIG_fail; - result = (SoCallback *)new SoCallback(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallback, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackCB *arg2 = (SoCallbackCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallback_setCallback" "', argument " "2"" of type '" "SoCallbackCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallback_setCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackCB *arg2 = (SoCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallback_setCallback" "', argument " "2"" of type '" "SoCallbackCB *""'"); - } - } - (arg1)->setCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_doAction" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_callback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_GLRender" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getBoundingBox" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getMatrix" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_handleEvent" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_pick" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_search" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_write" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getPrimitiveCount" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallback_setCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoCallback_setCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoAction__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallback_setCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setCallback(SoCallback *,SoCallbackCB *,void *)\n" - " setCallback(SoCallback *,SoCallbackCB *)\n" - " setCallback(SoCallback *,PyObject *,PyObject *)\n" - " setCallback(SoCallback *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallback, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getTypeId" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = ((SoCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_initClass",0,0)) SWIG_fail; - SoCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewportMapping_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewportMapping_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewportMapping_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewportMapping_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->viewportMapping = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewportMapping_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewportMapping_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewportMapping_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFEnum *)& ((arg1)->viewportMapping); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_position_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_position_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_orientation_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_orientation_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_aspectRatio_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_aspectRatio_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_aspectRatio_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_aspectRatio_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->aspectRatio = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_aspectRatio_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_aspectRatio_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_aspectRatio_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->aspectRatio); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_nearDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_nearDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_nearDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_nearDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->nearDistance = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_nearDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_nearDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_nearDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->nearDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_farDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_farDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_farDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_farDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->farDistance = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_farDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_farDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_farDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->farDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_focalDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_focalDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_focalDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_focalDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->focalDistance = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_focalDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_focalDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_focalDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->focalDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_pointAt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_pointAt" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->pointAt((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_pointAt" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_pointAt__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_pointAt__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_pointAt'.\n" - " Possible C/C++ prototypes are:\n" - " pointAt(SoCamera *,SbVec3f const &)\n" - " pointAt(SoCamera *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_scaleHeight" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewVolume" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewVolume" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = ((SoCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_getViewVolume'.\n" - " Possible C/C++ prototypes are:\n" - " getViewVolume(SoCamera const *,float)\n" - " getViewVolume(SoCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewportRegion *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoCamera_viewAll" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewportRegion *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - SbViewportRegion *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoCamera_viewAll" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - SbViewportRegion *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_viewAll'.\n" - " Possible C/C++ prototypes are:\n" - " viewAll(SoCamera *,SoNode *const,SbViewportRegion const &,float const)\n" - " viewAll(SoCamera *,SoNode *const,SbViewportRegion const &)\n" - " viewAll(SoCamera *,SoPath *const,SbViewportRegion const &,float const)\n" - " viewAll(SoCamera *,SoPath *const,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewportBounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewportRegion result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewportBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewportBounds" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getViewportBounds" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_getViewportBounds" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoCamera const *)arg1)->getViewportBounds((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbViewportRegion(static_cast< const SbViewportRegion& >(result))), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoCamera::StereoMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setStereoMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setStereoMode" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setStereoMode" "', argument " "2"" of type '" "SoCamera::StereoMode""'"); - } - arg2 = static_cast< SoCamera::StereoMode >(val2); - (arg1)->setStereoMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera::StereoMode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getStereoMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getStereoMode" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoCamera::StereoMode)((SoCamera const *)arg1)->getStereoMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setStereoAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setStereoAdjustment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setStereoAdjustment" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setStereoAdjustment" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setStereoAdjustment(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getStereoAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getStereoAdjustment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getStereoAdjustment" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (float)((SoCamera const *)arg1)->getStereoAdjustment(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setBalanceAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setBalanceAdjustment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setBalanceAdjustment" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setBalanceAdjustment" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setBalanceAdjustment(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getBalanceAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getBalanceAdjustment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getBalanceAdjustment" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (float)((SoCamera const *)arg1)->getBalanceAdjustment(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_doAction" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_callback" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_GLRender" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_audioRender" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getBoundingBox" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_handleEvent" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_rayPick" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getPrimitiveCount" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoColorIndex_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_getClassTypeId",0,0)) SWIG_fail; - result = SoColorIndex::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_getTypeId" "', argument " "1"" of type '" "SoColorIndex const *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - result = ((SoColorIndex const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_initClass",0,0)) SWIG_fail; - SoColorIndex::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoColorIndex",0,0)) SWIG_fail; - result = (SoColorIndex *)new SoColorIndex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoColorIndex, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_index_set" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoColorIndex_index_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_index_get" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - result = (SoMFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_GLRender" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoColorIndex_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoColorIndex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoColorIndex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCone_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getClassTypeId",0,0)) SWIG_fail; - result = SoCone::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_getTypeId" "', argument " "1"" of type '" "SoCone const *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = ((SoCone const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_initClass",0,0)) SWIG_fail; - SoCone::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCone",0,0)) SWIG_fail; - result = (SoCone *)new SoCone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCone, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_parts_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_parts_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_bottomRadius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_bottomRadius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_bottomRadius_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_bottomRadius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->bottomRadius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_bottomRadius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_bottomRadius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_bottomRadius_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->bottomRadius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_height_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_height_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_addPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_addPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_addPart" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_addPart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - (arg1)->addPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_removePart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_removePart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_removePart" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_removePart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - (arg1)->removePart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_hasPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_hasPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_hasPart" "', argument " "1"" of type '" "SoCone const *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_hasPart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - result = (SbBool)((SoCone const *)arg1)->hasPart(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_GLRender" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_rayPick" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_getPrimitiveCount" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCone, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getTypeId" "', argument " "1"" of type '" "SoCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - result = ((SoCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_initClass",0,0)) SWIG_fail; - SoCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCoordinate3",0,0)) SWIG_fail; - result = (SoCoordinate3 *)new SoCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_point_set" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_point_get" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_doAction" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_GLRender" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_callback" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getBoundingBox" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_pick" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getPrimitiveCount" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinate4::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getTypeId" "', argument " "1"" of type '" "SoCoordinate4 const *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - result = ((SoCoordinate4 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_initClass",0,0)) SWIG_fail; - SoCoordinate4::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCoordinate4",0,0)) SWIG_fail; - result = (SoCoordinate4 *)new SoCoordinate4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinate4, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_point_set" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_point_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_point_get" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - result = (SoMFVec4f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_doAction" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_GLRender" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getBoundingBox" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_callback" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_pick" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getPrimitiveCount" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinate4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinate4, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCube_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getClassTypeId",0,0)) SWIG_fail; - result = SoCube::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_getTypeId" "', argument " "1"" of type '" "SoCube const *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = ((SoCube const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_initClass",0,0)) SWIG_fail; - SoCube::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCube",0,0)) SWIG_fail; - result = (SoCube *)new SoCube(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCube, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_width_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_width_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->width = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_width_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_height_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_height_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_depth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_depth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_depth_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_depth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->depth = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_depth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_depth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_depth_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->depth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_GLRender" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_rayPick" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_getPrimitiveCount" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCube_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCube, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_getTypeId" "', argument " "1"" of type '" "SoCylinder const *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = ((SoCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_initClass",0,0)) SWIG_fail; - SoCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCylinder",0,0)) SWIG_fail; - result = (SoCylinder *)new SoCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_radius_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_radius_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_height_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_height_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_parts_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_parts_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_addPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_addPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_addPart" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_addPart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - (arg1)->addPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_removePart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_removePart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_removePart" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_removePart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - (arg1)->removePart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_hasPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_hasPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_hasPart" "', argument " "1"" of type '" "SoCylinder const *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_hasPart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - result = (SbBool)((SoCylinder const *)arg1)->hasPart(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_rayPick" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_getPrimitiveCount" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_GLRender" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEnvironment_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_getClassTypeId",0,0)) SWIG_fail; - result = SoEnvironment::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_getTypeId" "', argument " "1"" of type '" "SoEnvironment const *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = ((SoEnvironment const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_initClass",0,0)) SWIG_fail; - SoEnvironment::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEnvironment",0,0)) SWIG_fail; - result = (SoEnvironment *)new SoEnvironment(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEnvironment, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_GLRender" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_callback" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientIntensity_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientIntensity_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientColor_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_ambientColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->ambientColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientColor_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFColor *)& ((arg1)->ambientColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_attenuation_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_attenuation_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogType_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->fogType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogType_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFEnum *)& ((arg1)->fogType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogColor_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->fogColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogColor_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFColor *)& ((arg1)->fogColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogVisibility_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogVisibility_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogVisibility_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogVisibility_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->fogVisibility = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogVisibility_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogVisibility_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogVisibility_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFFloat *)& ((arg1)->fogVisibility); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnvironment, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEventCallback_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getClassTypeId",0,0)) SWIG_fail; - result = SoEventCallback::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getTypeId" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = ((SoEventCallback const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_initClass",0,0)) SWIG_fail; - SoEventCallback::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEventCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEventCallback",0,0)) SWIG_fail; - result = (SoEventCallback *)new SoEventCallback(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEventCallback, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_setPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_setPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_setPath" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_setPath" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getPath" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoPath *)(arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_addEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEventCallback_addEventCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addEventCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_addEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - (arg1)->addEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_removeEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEventCallback_removeEventCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->removeEventCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_removeEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - (arg1)->removeEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoHandleEventAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getAction" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoHandleEventAction *)((SoEventCallback const *)arg1)->getAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getEvent" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoEvent *)((SoEventCallback const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getPickedPoint" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoPickedPoint *)((SoEventCallback const *)arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_setHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_setHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_setHandled" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->setHandled(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_isHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_isHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_isHandled" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SbBool)((SoEventCallback const *)arg1)->isHandled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_grabEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_grabEvents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_grabEvents" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->grabEvents(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_releaseEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_releaseEvents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_releaseEvents" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->releaseEvents(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoEventCallback_addEventCallback__SWIG_2(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - SoEventCallback_addEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEventCallback_addEventCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *,void *)\n" - " addEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *)\n" - " addEventCallback(SoEventCallback *,SoType,PyObject *,PyObject *)\n" - " addEventCallback(SoEventCallback *,SoType,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoEventCallback_removeEventCallback__SWIG_2(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - SoEventCallback_removeEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEventCallback_removeEventCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *,void *)\n" - " removeEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *)\n" - " removeEventCallback(SoEventCallback *,SoType,PyObject *,PyObject *)\n" - " removeEventCallback(SoEventCallback *,SoType,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoEventCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEventCallback, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSelection_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getClassTypeId",0,0)) SWIG_fail; - result = SoSelection::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getTypeId" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = ((SoSelection const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_initClass",0,0)) SWIG_fail; - SoSelection::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelection",0,0)) SWIG_fail; - result = (SoSelection *)new SoSelection(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_policy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_policy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_policy_set" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_policy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->policy = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_policy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_policy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_policy_get" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->policy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoSelection *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelection",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSelection" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSelection *)new SoSelection(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSelection__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSelection__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSelection'.\n" - " Possible C/C++ prototypes are:\n" - " SoSelection()\n" - " SoSelection(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_select",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_select" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_select" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->select((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_select",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_select" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_select" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->select(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_select__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_select__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_select'.\n" - " Possible C/C++ prototypes are:\n" - " select(SoSelection *,SoPath const *)\n" - " select(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->deselect((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deselect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->deselect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_deselect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_deselect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_deselect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_deselect'.\n" - " Possible C/C++ prototypes are:\n" - " deselect(SoSelection *,SoPath const *)\n" - " deselect(SoSelection *,int const)\n" - " deselect(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_toggle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_toggle" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_toggle" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->toggle((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_toggle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_toggle" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_toggle" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->toggle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_toggle__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_toggle__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_toggle'.\n" - " Possible C/C++ prototypes are:\n" - " toggle(SoSelection *,SoPath const *)\n" - " toggle(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isSelected",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_isSelected" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)((SoSelection const *)arg1)->isSelected((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isSelected",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_isSelected" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoSelection const *)arg1)->isSelected(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_isSelected__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_isSelected__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_isSelected'.\n" - " Possible C/C++ prototypes are:\n" - " isSelected(SoSelection const *,SoPath const *)\n" - " isSelected(SoSelection const *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselectAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselectAll" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - (arg1)->deselectAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getNumSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getNumSelected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getNumSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (int)((SoSelection const *)arg1)->getNumSelected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getList" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SoPathList *)((SoSelection const *)arg1)->getList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getPath" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_getPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)((SoSelection const *)arg1)->getPath(arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addSelectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->addSelectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeSelectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->removeSelectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addDeselectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addDeselectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->addDeselectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeDeselectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->removeDeselectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addStartCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeStartCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addFinishCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeFinishCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *arg3 = (void *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_setPickFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSelection_setPickFilterCallback" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->setPickFilterCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_setPickFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPickFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - (arg1)->setPickFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickMatching",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickMatching" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_setPickMatching" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPickMatching(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isPickMatching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isPickMatching" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SbBool)((SoSelection const *)arg1)->isPickMatching(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getPickMatching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getPickMatching" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SbBool)((SoSelection const *)arg1)->getPickMatching(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addChangeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeChangeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addSelectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addSelectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addSelectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addSelectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n" - " addSelectionCallback(SoSelection *,SoSelectionPathCB *)\n" - " addSelectionCallback(SoSelection *,PyObject *,PyObject *)\n" - " addSelectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeSelectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeSelectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeSelectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeSelectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n" - " removeSelectionCallback(SoSelection *,SoSelectionPathCB *)\n" - " removeSelectionCallback(SoSelection *,PyObject *,PyObject *)\n" - " removeSelectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addDeselectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addDeselectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addDeselectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addDeselectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n" - " addDeselectionCallback(SoSelection *,SoSelectionPathCB *)\n" - " addDeselectionCallback(SoSelection *,PyObject *,PyObject *)\n" - " addDeselectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeDeselectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeDeselectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeDeselectionCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeDeselectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n" - " removeDeselectionCallback(SoSelection *,SoSelectionPathCB *)\n" - " removeDeselectionCallback(SoSelection *,PyObject *,PyObject *)\n" - " removeDeselectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addStartCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " addStartCallback(SoSelection *,SoSelectionClassCB *)\n" - " addStartCallback(SoSelection *,PyObject *,PyObject *)\n" - " addStartCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeStartCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " removeStartCallback(SoSelection *,SoSelectionClassCB *)\n" - " removeStartCallback(SoSelection *,PyObject *,PyObject *)\n" - " removeStartCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addFinishCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " addFinishCallback(SoSelection *,SoSelectionClassCB *)\n" - " addFinishCallback(SoSelection *,PyObject *,PyObject *)\n" - " addFinishCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeFinishCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " removeFinishCallback(SoSelection *,SoSelectionClassCB *)\n" - " removeFinishCallback(SoSelection *,PyObject *,PyObject *)\n" - " removeFinishCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSelection_setPickFilterCallback" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_4(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_setPickFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setPickFilterCallback(SoSelection *,SoSelectionPickCB *,void *,SbBool const)\n" - " setPickFilterCallback(SoSelection *,SoSelectionPickCB *,void *)\n" - " setPickFilterCallback(SoSelection *,SoSelectionPickCB *)\n" - " setPickFilterCallback(SoSelection *,PyObject *,PyObject *,int)\n" - " setPickFilterCallback(SoSelection *,PyObject *,PyObject *)\n" - " setPickFilterCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addChangeCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addChangeCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addChangeCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addChangeCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " addChangeCallback(SoSelection *,SoSelectionClassCB *)\n" - " addChangeCallback(SoSelection *,PyObject *,PyObject *)\n" - " addChangeCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeChangeCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeChangeCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeChangeCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeChangeCallback(SoSelection *,SoSelectionClassCB *,void *)\n" - " removeChangeCallback(SoSelection *,SoSelectionClassCB *)\n" - " removeChangeCallback(SoSelection *,PyObject *,PyObject *)\n" - " removeChangeCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSelection, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoExtSelection_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getClassTypeId",0,0)) SWIG_fail; - result = SoExtSelection::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getTypeId" "', argument " "1"" of type '" "SoExtSelection const *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = ((SoExtSelection const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_initClass",0,0)) SWIG_fail; - SoExtSelection::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoExtSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoExtSelection",0,0)) SWIG_fail; - result = (SoExtSelection *)new SoExtSelection(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoExtSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoType_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoType_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoPolicy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoPolicy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoPolicy_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoPolicy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoPolicy = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoPolicy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoPolicy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoPolicy_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoPolicy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoMode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoMode_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoMode_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoMode_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoMode = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoMode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoMode_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoMode_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoMode); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_useOverlay",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_useOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_useOverlay" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->useOverlay(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_useOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_useOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - (arg1)->useOverlay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_useOverlay__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_useOverlay__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_useOverlay'.\n" - " Possible C/C++ prototypes are:\n" - " useOverlay(SoExtSelection *,SbBool)\n" - " useOverlay(SoExtSelection *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_isUsingOverlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_isUsingOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_isUsingOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)(arg1)->isUsingOverlay(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlaySceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlaySceneGraph" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSeparator *)(arg1)->getOverlaySceneGraph(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setOverlayLassoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setOverlayLassoColorIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setOverlayLassoColorIndex" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setOverlayLassoColorIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setOverlayLassoColorIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlayLassoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlayLassoColorIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlayLassoColorIndex" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (int)(arg1)->getOverlayLassoColorIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoColor" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_setLassoColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_setLassoColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setLassoColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoColor" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - SbColor const &_result_ref = (arg1)->getLassoColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoWidth" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setLassoWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLassoWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoWidth" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (float)(arg1)->getLassoWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setOverlayLassoPattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setOverlayLassoPattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setOverlayLassoPattern" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setOverlayLassoPattern" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setOverlayLassoPattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlayLassoPattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned short result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlayLassoPattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlayLassoPattern" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (unsigned short)(arg1)->getOverlayLassoPattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_animateOverlayLasso",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->animateOverlayLasso(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_animateOverlayLasso",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - (arg1)->animateOverlayLasso(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_animateOverlayLasso__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_animateOverlayLasso__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_animateOverlayLasso'.\n" - " Possible C/C++ prototypes are:\n" - " animateOverlayLasso(SoExtSelection *,SbBool const)\n" - " animateOverlayLasso(SoExtSelection *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_isOverlayLassoAnimated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_isOverlayLassoAnimated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_isOverlayLassoAnimated" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)(arg1)->isOverlayLassoAnimated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_handleEvent" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_GLRenderBelowPath" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_select__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SbVec2f *arg4 = (SbVec2f *) 0 ; - SbViewportRegion *arg5 = 0 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_select",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_select" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_select" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoExtSelection_select" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoExtSelection_select" "', argument " "4"" of type '" "SbVec2f *""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoExtSelection_select" "', argument " "5"" of type '" "SbViewportRegion const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_select" "', argument " "5"" of type '" "SbViewportRegion const &""'"); - } - arg5 = reinterpret_cast< SbViewportRegion * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoExtSelection_select" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->select(arg2,arg3,arg4,(SbViewportRegion const &)*arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_select__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SbVec3f *arg4 = (SbVec3f *) 0 ; - SbViewportRegion *arg5 = 0 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_select",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_select" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_select" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoExtSelection_select" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoExtSelection_select" "', argument " "4"" of type '" "SbVec3f *""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoExtSelection_select" "', argument " "5"" of type '" "SbViewportRegion const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_select" "', argument " "5"" of type '" "SbViewportRegion const &""'"); - } - arg5 = reinterpret_cast< SbViewportRegion * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoExtSelection_select" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - (arg1)->select(arg2,arg3,arg4,(SbViewportRegion const &)*arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_select(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_select__SWIG_0(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_select__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_select'.\n" - " Possible C/C++ prototypes are:\n" - " select(SoExtSelection *,SoNode *,int,SbVec2f *,SbViewportRegion const &,SbBool)\n" - " select(SoExtSelection *,SoNode *,int,SbVec3f *,SbViewportRegion const &,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoCoordsDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoCoordsDC",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoCoordsDC" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_getLassoCoordsDC" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_getLassoCoordsDC" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbVec2s *)(arg1)->getLassoCoordsDC(*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoCoordsWC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - int *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoCoordsWC",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoCoordsWC" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_getLassoCoordsWC" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_getLassoCoordsWC" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbVec3f *)(arg1)->getLassoCoordsWC(*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getSelectionPathList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getSelectionPathList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getSelectionPathList" "', argument " "1"" of type '" "SoExtSelection const *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - SoPathList const &_result_ref = ((SoExtSelection const *)arg1)->getSelectionPathList(); - result = (SoPathList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->setLassoFilterCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setLassoFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - (arg1)->setLassoFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setLassoFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *,void *,SbBool const)\n" - " setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *,void *)\n" - " setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionTriangleCB *arg2 = (SoExtSelectionTriangleCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setTriangleFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "2"" of type '" "SoExtSelectionTriangleCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setTriangleFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionTriangleCB *arg2 = (SoExtSelectionTriangleCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setTriangleFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "2"" of type '" "SoExtSelectionTriangleCB *""'"); - } - } - (arg1)->setTriangleFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setTriangleFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setTriangleFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setTriangleFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setTriangleFilterCallback(SoExtSelection *,SoExtSelectionTriangleCB *,void *)\n" - " setTriangleFilterCallback(SoExtSelection *,SoExtSelectionTriangleCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionLineSegmentCB *arg2 = (SoExtSelectionLineSegmentCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLineSegmentFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "2"" of type '" "SoExtSelectionLineSegmentCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setLineSegmentFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionLineSegmentCB *arg2 = (SoExtSelectionLineSegmentCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLineSegmentFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "2"" of type '" "SoExtSelectionLineSegmentCB *""'"); - } - } - (arg1)->setLineSegmentFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setLineSegmentFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setLineSegmentFilterCallback(SoExtSelection *,SoExtSelectionLineSegmentCB *,void *)\n" - " setLineSegmentFilterCallback(SoExtSelection *,SoExtSelectionLineSegmentCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionPointCB *arg2 = (SoExtSelectionPointCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setPointFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "2"" of type '" "SoExtSelectionPointCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPointFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionPointCB *arg2 = (SoExtSelectionPointCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setPointFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "2"" of type '" "SoExtSelectionPointCB *""'"); - } - } - (arg1)->setPointFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setPointFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setPointFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setPointFilterCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setPointFilterCallback(SoExtSelection *,SoExtSelectionPointCB *,void *)\n" - " setPointFilterCallback(SoExtSelection *,SoExtSelectionPointCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_wasShiftDown" "', argument " "1"" of type '" "SoExtSelection const *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)((SoExtSelection const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoExtSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoExtSelection, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexProperty::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getTypeId" "', argument " "1"" of type '" "SoVertexProperty const *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = ((SoVertexProperty const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_initClass",0,0)) SWIG_fail; - SoVertexProperty::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVertexProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVertexProperty",0,0)) SWIG_fail; - result = (SoVertexProperty *)new SoVertexProperty(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexProperty, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_vertex_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_vertex_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_vertex_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_texCoord_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec2f *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord3_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_texCoord3_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->texCoord3 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord3_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->texCoord3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normal_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_normal_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->normal = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normal_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normalBinding_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normalBinding_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normalBinding_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_normalBinding_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->normalBinding = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normalBinding_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normalBinding_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normalBinding_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoSFEnum *)& ((arg1)->normalBinding); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_orderedRGBA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_orderedRGBA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_orderedRGBA_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_orderedRGBA_set" "', argument " "2"" of type '" "SoMFUInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - if (arg1) (arg1)->orderedRGBA = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_orderedRGBA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_orderedRGBA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_orderedRGBA_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFUInt32 *)& ((arg1)->orderedRGBA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_materialBinding_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_materialBinding_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_materialBinding_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_materialBinding_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->materialBinding = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_materialBinding_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_materialBinding_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_materialBinding_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoSFEnum *)& ((arg1)->materialBinding); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_doAction" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_GLRender" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getBoundingBox" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_callback" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_pick" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getPrimitiveCount" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexProperty_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexProperty, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_getTypeId" "', argument " "1"" of type '" "SoVertexShape const *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - result = ((SoVertexShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_initClass",0,0)) SWIG_fail; - SoVertexShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_vertexProperty_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_vertexProperty_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_vertexProperty_set" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_vertexProperty_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->vertexProperty = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_vertexProperty_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_vertexProperty_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_vertexProperty_get" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->vertexProperty); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_notify" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVertexShape_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVertexShape_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVertexShape_generateDefaultNormals'.\n" - " Possible C/C++ prototypes are:\n" - " generateDefaultNormals(SoVertexShape *,SoState *,SoNormalBundle *)\n" - " generateDefaultNormals(SoVertexShape *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_write" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoNonIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_getTypeId" "', argument " "1"" of type '" "SoNonIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - result = ((SoNonIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_initClass",0,0)) SWIG_fail; - SoNonIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_startIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_startIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_startIndex_set" "', argument " "1"" of type '" "SoNonIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNonIndexedShape_startIndex_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->startIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_startIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_startIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_startIndex_get" "', argument " "1"" of type '" "SoNonIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - result = (SoSFInt32 *)& ((arg1)->startIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNonIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNonIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_getTypeId" "', argument " "1"" of type '" "SoFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - result = ((SoFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_initClass",0,0)) SWIG_fail; - SoFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFaceSet",0,0)) SWIG_fail; - result = (SoFaceSet *)new SoFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_numVertices_set" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_numVertices_get" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_GLRender" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getClassTypeId",0,0)) SWIG_fail; - result = SoFile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getTypeId" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = ((SoFile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_initClass",0,0)) SWIG_fail; - SoFile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFile",0,0)) SWIG_fail; - result = (SoFile *)new SoFile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_name_set" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_name_get" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_doAction" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_callback" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_GLRender" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getBoundingBox" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getMatrix" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_handleEvent" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_pick" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getPrimitiveCount" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_audioRender" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_search" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_copyChildren" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoGroup *)((SoFile const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getChildren" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoChildList *)((SoFile const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_copyContents" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFile_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getFullName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getFullName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getFullName" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - { - SbString const &_result_ref = ((SoFile const *)arg1)->getFullName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_setSearchOK(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_setSearchOK",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFile_setSearchOK" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoFile::setSearchOK(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getSearchOK(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getSearchOK",0,0)) SWIG_fail; - result = (SbBool)SoFile::getSearchOK(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFont_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getClassTypeId",0,0)) SWIG_fail; - result = SoFont::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getTypeId" "', argument " "1"" of type '" "SoFont const *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = ((SoFont const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_initClass",0,0)) SWIG_fail; - SoFont::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFont",0,0)) SWIG_fail; - result = (SoFont *)new SoFont(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFont, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_name_set" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_name_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_name_get" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = (SoSFName *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_size_set" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_size_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_size_get" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = (SoSFFloat *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_doAction" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getBoundingBox" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_GLRender" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_callback" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_pick" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getPrimitiveCount" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFont_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFont, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoFontStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getTypeId" "', argument " "1"" of type '" "SoFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = ((SoFontStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_initClass",0,0)) SWIG_fail; - SoFontStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFontStyle",0,0)) SWIG_fail; - result = (SoFontStyle *)new SoFontStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFontStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_family_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_family_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_family_set" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_family_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->family = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_family_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_family_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_family_get" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->family); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_style_set" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_style_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->style = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_style_get" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = (SoSFBitMask *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getFontName" "', argument " "1"" of type '" "SoFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = ((SoFontStyle const *)arg1)->getFontName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_doAction" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getBoundingBox" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_GLRender" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_callback" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_pick" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getPrimitiveCount" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_getTypeId" "', argument " "1"" of type '" "SoIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = ((SoIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_initClass",0,0)) SWIG_fail; - SoIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_coordIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_coordIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_materialIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_materialIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_materialIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_materialIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->materialIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_materialIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_materialIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_materialIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->materialIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_normalIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_normalIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_normalIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_normalIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->normalIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_normalIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_normalIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_normalIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->normalIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_textureCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_textureCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_textureCoordIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_textureCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->textureCoordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_textureCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_textureCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_textureCoordIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->textureCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_getTypeId" "', argument " "1"" of type '" "SoIndexedFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - result = ((SoIndexedFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_initClass",0,0)) SWIG_fail; - SoIndexedFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedFaceSet",0,0)) SWIG_fail; - result = (SoIndexedFaceSet *)new SoIndexedFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_GLRender" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIndexedFaceSet_generateDefaultNormals'.\n" - " Possible C/C++ prototypes are:\n" - " generateDefaultNormals(SoIndexedFaceSet *,SoState *,SoNormalBundle *)\n" - " generateDefaultNormals(SoIndexedFaceSet *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getTypeId" "', argument " "1"" of type '" "SoIndexedLineSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - result = ((SoIndexedLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_initClass",0,0)) SWIG_fail; - SoIndexedLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedLineSet",0,0)) SWIG_fail; - result = (SoIndexedLineSet *)new SoIndexedLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_GLRender" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getBoundingBox" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedNurbsCurve::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getTypeId" "', argument " "1"" of type '" "SoIndexedNurbsCurve const *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = ((SoIndexedNurbsCurve const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_initClass",0,0)) SWIG_fail; - SoIndexedNurbsCurve::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedNurbsCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedNurbsCurve",0,0)) SWIG_fail; - result = (SoIndexedNurbsCurve *)new SoIndexedNurbsCurve(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedNurbsCurve, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_numControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_numControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_numControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_numControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_numControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_numControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_numControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_coordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_coordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_knotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_knotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_GLRender" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_rayPick" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getBoundingBox" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedNurbsCurve_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedNurbsCurve, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedNurbsSurface::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_getTypeId" "', argument " "1"" of type '" "SoIndexedNurbsSurface const *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = ((SoIndexedNurbsSurface const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_initClass",0,0)) SWIG_fail; - SoIndexedNurbsSurface::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedNurbsSurface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedNurbsSurface",0,0)) SWIG_fail; - result = (SoIndexedNurbsSurface *)new SoIndexedNurbsSurface(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedNurbsSurface, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numUControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numUControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numUControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numUControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numUControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numUControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numUControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numUControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numUControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numVControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numVControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numVControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numVControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numVControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numVControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numVControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numVControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numVControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_coordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_coordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_uKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_uKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_uKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_uKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->uKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_uKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_uKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_uKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->uKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_vKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_vKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_vKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_vKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->vKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_vKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_vKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_vKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->vKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numSControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numSControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numSControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numSControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numSControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numSControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numSControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numSControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numSControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numTControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numTControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numTControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numTControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numTControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numTControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numTControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numTControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numTControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_textureCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_textureCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->textureCoordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_textureCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_textureCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFInt32 *)& ((arg1)->textureCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_sKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->sKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->sKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_tKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_tKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_tKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_tKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->tKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_tKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_tKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_tKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->tKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_GLRender" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_rayPick" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedNurbsSurface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedNurbsSurface, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedTriangleStripSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_getTypeId" "', argument " "1"" of type '" "SoIndexedTriangleStripSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - result = ((SoIndexedTriangleStripSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_initClass",0,0)) SWIG_fail; - SoIndexedTriangleStripSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedTriangleStripSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedTriangleStripSet",0,0)) SWIG_fail; - result = (SoIndexedTriangleStripSet *)new SoIndexedTriangleStripSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedTriangleStripSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_GLRender" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedTriangleStripSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedTriangleStripSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_getTypeId" "', argument " "1"" of type '" "SoInfo const *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - result = ((SoInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_initClass",0,0)) SWIG_fail; - SoInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInfo",0,0)) SWIG_fail; - result = (SoInfo *)new SoInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_string_set" "', argument " "1"" of type '" "SoInfo *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInfo_string_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_string_get" "', argument " "1"" of type '" "SoInfo *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - result = (SoSFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLabel_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_getClassTypeId",0,0)) SWIG_fail; - result = SoLabel::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_getTypeId" "', argument " "1"" of type '" "SoLabel const *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - result = ((SoLabel const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_initClass",0,0)) SWIG_fail; - SoLabel::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLabel",0,0)) SWIG_fail; - result = (SoLabel *)new SoLabel(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLabel, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_label_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_label_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_label_set" "', argument " "1"" of type '" "SoLabel *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLabel_label_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->label = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_label_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_label_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_label_get" "', argument " "1"" of type '" "SoLabel *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - result = (SoSFName *)& ((arg1)->label); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLabel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLabel, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoLevelOfDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_getTypeId" "', argument " "1"" of type '" "SoLevelOfDetail const *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - result = ((SoLevelOfDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_initClass",0,0)) SWIG_fail; - SoLevelOfDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLevelOfDetail",0,0)) SWIG_fail; - result = (SoLevelOfDetail *)new SoLevelOfDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLevelOfDetail, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoLevelOfDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLevelOfDetail",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLevelOfDetail" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLevelOfDetail *)new SoLevelOfDetail(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLevelOfDetail, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLevelOfDetail__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLevelOfDetail__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLevelOfDetail'.\n" - " Possible C/C++ prototypes are:\n" - " SoLevelOfDetail()\n" - " SoLevelOfDetail(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_screenArea_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_screenArea_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_screenArea_set" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_screenArea_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->screenArea = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_screenArea_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_screenArea_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_screenArea_get" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - result = (SoMFFloat *)& ((arg1)->screenArea); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_doAction" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_callback" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_GLRender" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_rayPick" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_getBoundingBox" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_audioRender" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_notify" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLevelOfDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLevelOfDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getTypeId" "', argument " "1"" of type '" "SoProfile const *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = ((SoProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_initClass",0,0)) SWIG_fail; - SoProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_index_set" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_index_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_index_get" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = (SoMFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_linkage_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_linkage_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_linkage_set" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_linkage_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->linkage = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_linkage_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_linkage_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_linkage_get" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = (SoSFEnum *)& ((arg1)->linkage); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_doAction" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_callback" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_GLRender" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getBoundingBox" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_pick" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getPrimitiveCount" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getTrimCurve" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getVertices" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoLinearProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getTypeId" "', argument " "1"" of type '" "SoLinearProfile const *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - result = ((SoLinearProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_initClass",0,0)) SWIG_fail; - SoLinearProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLinearProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLinearProfile",0,0)) SWIG_fail; - result = (SoLinearProfile *)new SoLinearProfile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLinearProfile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "1"" of type '" "SoLinearProfile *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getVertices" "', argument " "1"" of type '" "SoLinearProfile *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinearProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLinearProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLinearProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLinearProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLinearProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getTypeId" "', argument " "1"" of type '" "SoLineSet const *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - result = ((SoLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_initClass",0,0)) SWIG_fail; - SoLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineSet",0,0)) SWIG_fail; - result = (SoLineSet *)new SoLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_numVertices_set" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_numVertices_get" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_GLRender" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getBoundingBox" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListener_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_getClassTypeId",0,0)) SWIG_fail; - result = SoListener::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_getTypeId" "', argument " "1"" of type '" "SoListener const *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = ((SoListener const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_initClass",0,0)) SWIG_fail; - SoListener::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoListener",0,0)) SWIG_fail; - result = (SoListener *)new SoListener(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoListener, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_position_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_position_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_orientation_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_orientation_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_gain_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_gain_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_gain_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_gain_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->gain = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_gain_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_gain_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_gain_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFFloat *)& ((arg1)->gain); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerVelocity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerVelocity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerVelocity_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_dopplerVelocity_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->dopplerVelocity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerVelocity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerVelocity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerVelocity_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFVec3f *)& ((arg1)->dopplerVelocity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerFactor_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_dopplerFactor_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dopplerFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerFactor_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFFloat *)& ((arg1)->dopplerFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListener, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_getClassTypeId",0,0)) SWIG_fail; - result = SoLocateHighlight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_getTypeId" "', argument " "1"" of type '" "SoLocateHighlight const *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = ((SoLocateHighlight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_initClass",0,0)) SWIG_fail; - SoLocateHighlight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLocateHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLocateHighlight",0,0)) SWIG_fail; - result = (SoLocateHighlight *)new SoLocateHighlight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLocateHighlight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_color_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_color_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_style_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_style_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_mode_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_mode_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_mode_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->mode = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_mode_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_mode_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFEnum *)& ((arg1)->mode); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_handleEvent" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_GLRenderBelowPath" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_GLRenderInPath" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_turnOffCurrentHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_turnOffCurrentHighlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_turnOffCurrentHighlight" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - SoLocateHighlight::turnOffCurrentHighlight(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocateHighlight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocateHighlight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLOD_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getClassTypeId",0,0)) SWIG_fail; - result = SoLOD::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getTypeId" "', argument " "1"" of type '" "SoLOD const *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = ((SoLOD const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLOD",0,0)) SWIG_fail; - result = (SoLOD *)new SoLOD(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLOD",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLOD" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLOD *)new SoLOD(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLOD__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLOD__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLOD'.\n" - " Possible C/C++ prototypes are:\n" - " SoLOD()\n" - " SoLOD(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_initClass",0,0)) SWIG_fail; - SoLOD::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_range_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_range_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_range_set" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_range_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->range = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_range_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_range_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_range_get" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = (SoMFFloat *)& ((arg1)->range); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_center_set" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_center_get" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_doAction" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_callback" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRender" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderBelowPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderInPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderOffPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_rayPick" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getBoundingBox" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getPrimitiveCount" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_audioRender" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_notify" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLOD_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLOD, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getClassTypeId",0,0)) SWIG_fail; - result = SoPointSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getTypeId" "', argument " "1"" of type '" "SoPointSet const *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - result = ((SoPointSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_initClass",0,0)) SWIG_fail; - SoPointSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointSet",0,0)) SWIG_fail; - result = (SoPointSet *)new SoPointSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_numPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_numPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_numPoints_set" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_numPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_numPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_numPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_numPoints_get" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_GLRender" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getBoundingBox" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getPrimitiveCount" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getClassTypeId",0,0)) SWIG_fail; - result = SoMarkerSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_getTypeId" "', argument " "1"" of type '" "SoMarkerSet const *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - result = ((SoMarkerSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_initClass",0,0)) SWIG_fail; - SoMarkerSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMarkerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMarkerSet",0,0)) SWIG_fail; - result = (SoMarkerSet *)new SoMarkerSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMarkerSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_markerIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_markerIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_markerIndex_set" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_markerIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->markerIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_markerIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_markerIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_markerIndex_get" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->markerIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_GLRender" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_getPrimitiveCount" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getNumDefinedMarkers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getNumDefinedMarkers",0,0)) SWIG_fail; - result = (int)SoMarkerSet::getNumDefinedMarkers(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - SbBool arg4 ; - SbBool arg5 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMarkerSet_addMarker" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMarkerSet_addMarker" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - SbBool arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMarkerSet_addMarker" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMarkerSet_addMarker'.\n" - " Possible C/C++ prototypes are:\n" - " addMarker(int,SbVec2s const &,unsigned char const *,SbBool,SbBool)\n" - " addMarker(int,SbVec2s const &,unsigned char const *,SbBool)\n" - " SoMarkerSet::addMarker(int,SbVec2s const &,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getMarker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char **arg3 = 0 ; - SbBool *arg4 = 0 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getMarker",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_getMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_getMarker" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_getMarker" "', argument " "3"" of type '" "unsigned char const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "3"" of type '" "unsigned char const *&""'"); - } - arg3 = reinterpret_cast< unsigned char ** >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMarkerSet_getMarker" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - result = (SbBool)SoMarkerSet::getMarker(arg1,*arg2,(unsigned char const *&)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_removeMarker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_removeMarker",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_removeMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbBool)SoMarkerSet::removeMarker(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_isMarkerBitSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_isMarkerBitSet",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_isMarkerBitSet" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMarkerSet_isMarkerBitSet" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMarkerSet::isMarkerBitSet(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMarkerSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMarkerSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterial_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterial::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_getTypeId" "', argument " "1"" of type '" "SoMaterial const *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = ((SoMaterial const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_initClass",0,0)) SWIG_fail; - SoMaterial::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterial",0,0)) SWIG_fail; - result = (SoMaterial *)new SoMaterial(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterial, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_ambientColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_ambientColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_ambientColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_ambientColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->ambientColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_ambientColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_ambientColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_ambientColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->ambientColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_diffuseColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_diffuseColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_diffuseColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_diffuseColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->diffuseColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_diffuseColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_diffuseColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_diffuseColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->diffuseColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_specularColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_specularColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_specularColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_specularColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->specularColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_specularColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_specularColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_specularColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->specularColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_emissiveColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_emissiveColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_emissiveColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_emissiveColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->emissiveColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_emissiveColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_emissiveColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_emissiveColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->emissiveColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_shininess_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_shininess_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->shininess = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_shininess_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFFloat *)& ((arg1)->shininess); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_transparency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_transparency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_transparency_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_transparency_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->transparency = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_transparency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_transparency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_transparency_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFFloat *)& ((arg1)->transparency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_doAction" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_GLRender" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_callback" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterial, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoMatrixTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getTypeId" "', argument " "1"" of type '" "SoMatrixTransform const *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - result = ((SoMatrixTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_initClass",0,0)) SWIG_fail; - SoMatrixTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMatrixTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMatrixTransform",0,0)) SWIG_fail; - result = (SoMatrixTransform *)new SoMatrixTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMatrixTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_matrix_set" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_matrix_set" "', argument " "2"" of type '" "SoSFMatrix *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_matrix_get" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - result = (SoSFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_doAction" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_callback" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_GLRender" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getBoundingBox" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getMatrix" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_pick" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMatrixTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMatrixTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getClassTypeId",0,0)) SWIG_fail; - result = SoMultipleCopy::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getTypeId" "', argument " "1"" of type '" "SoMultipleCopy const *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = ((SoMultipleCopy const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_initClass",0,0)) SWIG_fail; - SoMultipleCopy::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMultipleCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMultipleCopy",0,0)) SWIG_fail; - result = (SoMultipleCopy *)new SoMultipleCopy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMultipleCopy, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_matrix_set" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_matrix_get" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_affectsState" "', argument " "1"" of type '" "SoMultipleCopy const *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = (SbBool)((SoMultipleCopy const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_doAction" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_callback" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_GLRender" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_pick" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getBoundingBox" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_handleEvent" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getMatrix" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_search" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getPrimitiveCount" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_audioRender" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultipleCopy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultipleCopy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoPerspectiveCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getTypeId" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = ((SoPerspectiveCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_initClass",0,0)) SWIG_fail; - SoPerspectiveCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPerspectiveCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPerspectiveCamera",0,0)) SWIG_fail; - result = (SoPerspectiveCamera *)new SoPerspectiveCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPerspectiveCamera, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_heightAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_heightAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_heightAngle_set" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPerspectiveCamera_heightAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->heightAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_heightAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_heightAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_heightAngle_get" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->heightAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_scaleHeight" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPerspectiveCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoPerspectiveCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = ((SoPerspectiveCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPerspectiveCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPerspectiveCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPerspectiveCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPerspectiveCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPerspectiveCamera_getViewVolume'.\n" - " Possible C/C++ prototypes are:\n" - " getViewVolume(SoPerspectiveCamera const *,float)\n" - " getViewVolume(SoPerspectiveCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoPerspectiveCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPerspectiveCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoOrthographicCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getTypeId" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = ((SoOrthographicCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_initClass",0,0)) SWIG_fail; - SoOrthographicCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOrthographicCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOrthographicCamera",0,0)) SWIG_fail; - result = (SoOrthographicCamera *)new SoOrthographicCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOrthographicCamera, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_height_set" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOrthographicCamera_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_height_get" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_scaleHeight" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOrthographicCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoOrthographicCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = ((SoOrthographicCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOrthographicCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOrthographicCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOrthographicCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOrthographicCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOrthographicCamera_getViewVolume'.\n" - " Possible C/C++ prototypes are:\n" - " getViewVolume(SoOrthographicCamera const *,float)\n" - " getViewVolume(SoOrthographicCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoOrthographicCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOrthographicCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoFrustumCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_getTypeId" "', argument " "1"" of type '" "SoFrustumCamera const *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = ((SoFrustumCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_initClass",0,0)) SWIG_fail; - SoFrustumCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFrustumCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFrustumCamera",0,0)) SWIG_fail; - result = (SoFrustumCamera *)new SoFrustumCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFrustumCamera, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_left_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_left_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_left_set" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFrustumCamera_left_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->left = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_left_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_left_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_left_get" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->left); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_right_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_right_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_right_set" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFrustumCamera_right_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->right = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_right_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_right_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_right_get" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->right); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_top_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_top_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_top_set" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFrustumCamera_top_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->top = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_top_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_top_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_top_get" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->top); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_bottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_bottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_bottom_set" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFrustumCamera_bottom_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->bottom = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_bottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_bottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_bottom_get" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->bottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_scaleHeight" "', argument " "1"" of type '" "SoFrustumCamera *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFrustumCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_getViewVolume" "', argument " "1"" of type '" "SoFrustumCamera const *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFrustumCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoFrustumCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFrustumCamera *arg1 = (SoFrustumCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFrustumCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFrustumCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFrustumCamera_getViewVolume" "', argument " "1"" of type '" "SoFrustumCamera const *""'"); - } - arg1 = reinterpret_cast< SoFrustumCamera * >(argp1); - result = ((SoFrustumCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFrustumCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFrustumCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFrustumCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFrustumCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFrustumCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFrustumCamera_getViewVolume'.\n" - " Possible C/C++ prototypes are:\n" - " getViewVolume(SoFrustumCamera const *,float)\n" - " getViewVolume(SoFrustumCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoFrustumCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFrustumCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getClassTypeId",0,0)) SWIG_fail; - result = SoQuadMesh::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_getTypeId" "', argument " "1"" of type '" "SoQuadMesh const *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = ((SoQuadMesh const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_initClass",0,0)) SWIG_fail; - SoQuadMesh::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQuadMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQuadMesh",0,0)) SWIG_fail; - result = (SoQuadMesh *)new SoQuadMesh(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQuadMesh, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerColumn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerColumn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerColumn_set" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_verticesPerColumn_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->verticesPerColumn = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerColumn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerColumn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerColumn_get" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = (SoSFInt32 *)& ((arg1)->verticesPerColumn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerRow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerRow_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerRow_set" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_verticesPerRow_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->verticesPerRow = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerRow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerRow_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerRow_get" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = (SoSFInt32 *)& ((arg1)->verticesPerRow); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_GLRender" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_getPrimitiveCount" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQuadMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQuadMesh, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getClassTypeId",0,0)) SWIG_fail; - result = SoTriangleStripSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_getTypeId" "', argument " "1"" of type '" "SoTriangleStripSet const *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - result = ((SoTriangleStripSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_initClass",0,0)) SWIG_fail; - SoTriangleStripSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTriangleStripSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTriangleStripSet",0,0)) SWIG_fail; - result = (SoTriangleStripSet *)new SoTriangleStripSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTriangleStripSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_numVertices_set" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_numVertices_get" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_GLRender" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_getPrimitiveCount" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTriangleStripSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTriangleStripSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedPointSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *arg1 = (SoIndexedPointSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedPointSet_getTypeId" "', argument " "1"" of type '" "SoIndexedPointSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedPointSet * >(argp1); - result = ((SoIndexedPointSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_initClass",0,0)) SWIG_fail; - SoIndexedPointSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedPointSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedPointSet",0,0)) SWIG_fail; - result = (SoIndexedPointSet *)new SoIndexedPointSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedPointSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *arg1 = (SoIndexedPointSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedPointSet_GLRender" "', argument " "1"" of type '" "SoIndexedPointSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedPointSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *arg1 = (SoIndexedPointSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedPointSet_getBoundingBox" "', argument " "1"" of type '" "SoIndexedPointSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedPointSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *arg1 = (SoIndexedPointSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedPointSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedPointSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedPointSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedPointSet_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedPointSet *arg1 = (SoIndexedPointSet *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedPointSet_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedPointSet_notify" "', argument " "1"" of type '" "SoIndexedPointSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedPointSet_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedPointSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedPointSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedMarkerSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *arg1 = (SoIndexedMarkerSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedMarkerSet_getTypeId" "', argument " "1"" of type '" "SoIndexedMarkerSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedMarkerSet * >(argp1); - result = ((SoIndexedMarkerSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_initClass",0,0)) SWIG_fail; - SoIndexedMarkerSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedMarkerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedMarkerSet",0,0)) SWIG_fail; - result = (SoIndexedMarkerSet *)new SoIndexedMarkerSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedMarkerSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_markerIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *arg1 = (SoIndexedMarkerSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_markerIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedMarkerSet_markerIndex_set" "', argument " "1"" of type '" "SoIndexedMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedMarkerSet_markerIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->markerIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_markerIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *arg1 = (SoIndexedMarkerSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_markerIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedMarkerSet_markerIndex_get" "', argument " "1"" of type '" "SoIndexedMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedMarkerSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->markerIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *arg1 = (SoIndexedMarkerSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedMarkerSet_GLRender" "', argument " "1"" of type '" "SoIndexedMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedMarkerSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedMarkerSet_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedMarkerSet *arg1 = (SoIndexedMarkerSet *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedMarkerSet_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedMarkerSet_notify" "', argument " "1"" of type '" "SoIndexedMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedMarkerSet_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedMarkerSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedMarkerSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsCurve::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getTypeId" "', argument " "1"" of type '" "SoNurbsCurve const *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = ((SoNurbsCurve const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_initClass",0,0)) SWIG_fail; - SoNurbsCurve::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsCurve",0,0)) SWIG_fail; - result = (SoNurbsCurve *)new SoNurbsCurve(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsCurve, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_numControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_numControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_numControlPoints_set" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_numControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_numControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_numControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_numControlPoints_get" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_knotVector_set" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_knotVector_get" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_GLRender" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_rayPick" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getPrimitiveCount" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getBoundingBox" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsCurve_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsCurve, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsSurface::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_getTypeId" "', argument " "1"" of type '" "SoNurbsSurface const *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = ((SoNurbsSurface const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_initClass",0,0)) SWIG_fail; - SoNurbsSurface::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsSurface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsSurface",0,0)) SWIG_fail; - result = (SoNurbsSurface *)new SoNurbsSurface(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsSurface, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numUControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numUControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numUControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numUControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numUControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numUControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numUControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numUControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numUControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numVControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numVControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numVControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numVControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numVControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numVControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numVControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numVControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numVControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numSControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numSControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numSControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numSControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numSControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numSControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numSControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numSControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numSControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numTControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numTControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numTControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numTControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numTControlPoints = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numTControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numTControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numTControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numTControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_uKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_uKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_uKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_uKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->uKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_uKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_uKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_uKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->uKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_vKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_vKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_vKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_vKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->vKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_vKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_vKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_vKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->vKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_sKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->sKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->sKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_tKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_tKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_tKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_tKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->tKnotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_tKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_tKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_tKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->tKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_GLRender" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_rayPick" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_getPrimitiveCount" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsSurface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsSurface, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_getTypeId" "', argument " "1"" of type '" "SoSphere const *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - result = ((SoSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_initClass",0,0)) SWIG_fail; - SoSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSphere",0,0)) SWIG_fail; - result = (SoSphere *)new SoSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_radius_set" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_radius_get" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_GLRender" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_rayPick" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_getPrimitiveCount" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoText2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getClassTypeId",0,0)) SWIG_fail; - result = SoText2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_getTypeId" "', argument " "1"" of type '" "SoText2 const *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = ((SoText2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_initClass",0,0)) SWIG_fail; - SoText2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoText2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoText2",0,0)) SWIG_fail; - result = (SoText2 *)new SoText2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoText2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_string_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_string_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_spacing_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_spacing_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_justification_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_justification_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_GLRender" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_rayPick" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_getPrimitiveCount" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoText2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoText2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoText3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getClassTypeId",0,0)) SWIG_fail; - result = SoText3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getTypeId" "', argument " "1"" of type '" "SoText3 const *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = ((SoText3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_initClass",0,0)) SWIG_fail; - SoText3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoText3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoText3",0,0)) SWIG_fail; - result = (SoText3 *)new SoText3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoText3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_string_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_string_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_spacing_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_spacing_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_justification_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_justification_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_parts_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_parts_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getCharacterBounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBox3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getCharacterBounds",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getCharacterBounds" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_getCharacterBounds" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoText3_getCharacterBounds" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoText3_getCharacterBounds" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (arg1)->getCharacterBounds(arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_GLRender" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getPrimitiveCount" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoText3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoText3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getClassTypeId",0,0)) SWIG_fail; - result = SoWWWAnchor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_getTypeId" "', argument " "1"" of type '" "SoWWWAnchor const *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = ((SoWWWAnchor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_initClass",0,0)) SWIG_fail; - SoWWWAnchor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWWWAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWWWAnchor",0,0)) SWIG_fail; - result = (SoWWWAnchor *)new SoWWWAnchor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWWWAnchor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_name_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_name_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_description_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_description_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_map_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_map_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_map_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_map_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->map = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_map_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_map_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_map_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFEnum *)& ((arg1)->map); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_setFullURLName" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_getFullURLName" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_handleEvent" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchorCB *arg1 = (SoWWWAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWAnchor_setFetchURLCallBack" "', argument " "1"" of type '" "SoWWWAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWAnchor::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setHighlightURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchorCB *arg1 = (SoWWWAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setHighlightURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWAnchor_setHighlightURLCallBack" "', argument " "1"" of type '" "SoWWWAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_setHighlightURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWAnchor::setHighlightURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWWWAnchor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWWWAnchor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoPathSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getTypeId" "', argument " "1"" of type '" "SoPathSwitch const *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - result = ((SoPathSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_initClass",0,0)) SWIG_fail; - SoPathSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSwitch",0,0)) SWIG_fail; - result = (SoPathSwitch *)new SoPathSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoPathSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPathSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPathSwitch *)new SoPathSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPathSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPathSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPathSwitch'.\n" - " Possible C/C++ prototypes are:\n" - " SoPathSwitch()\n" - " SoPathSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_path_set" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_path_set" "', argument " "2"" of type '" "SoSFPath *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - if (arg1) (arg1)->path = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_path_get" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - result = (SoSFPath *)& ((arg1)->path); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_doAction" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_GLRender" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_pick" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getBoundingBox" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_handleEvent" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getMatrix" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_search" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_callback" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getPrimitiveCount" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_audioRender" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformSeparator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getTypeId" "', argument " "1"" of type '" "SoTransformSeparator const *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - result = ((SoTransformSeparator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_initClass",0,0)) SWIG_fail; - SoTransformSeparator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformSeparator",0,0)) SWIG_fail; - result = (SoTransformSeparator *)new SoTransformSeparator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoTransformSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformSeparator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTransformSeparator" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTransformSeparator *)new SoTransformSeparator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoTransformSeparator__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTransformSeparator__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTransformSeparator'.\n" - " Possible C/C++ prototypes are:\n" - " SoTransformSeparator()\n" - " SoTransformSeparator(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_doAction" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_callback" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_GLRender" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_pick" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getBoundingBox" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getMatrix" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getPrimitiveCount" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_audioRender" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformSeparator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformSeparator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getTypeId" "', argument " "1"" of type '" "SoRotation const *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - result = ((SoRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_initClass",0,0)) SWIG_fail; - SoRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotation",0,0)) SWIG_fail; - result = (SoRotation *)new SoRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_rotation_set" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_rotation_get" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_doAction" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_GLRender" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_callback" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getBoundingBox" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getMatrix" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_pick" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getPrimitiveCount" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPendulum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_getClassTypeId",0,0)) SWIG_fail; - result = SoPendulum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_getTypeId" "', argument " "1"" of type '" "SoPendulum const *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = ((SoPendulum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_initClass",0,0)) SWIG_fail; - SoPendulum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPendulum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPendulum",0,0)) SWIG_fail; - result = (SoPendulum *)new SoPendulum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPendulum, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation0_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_rotation0_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation0_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation1_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_rotation1_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation1_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_speed_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_speed_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_on_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_on_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_write" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPendulum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPendulum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_getClassTypeId",0,0)) SWIG_fail; - result = SoRotor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_getTypeId" "', argument " "1"" of type '" "SoRotor const *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = ((SoRotor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_initClass",0,0)) SWIG_fail; - SoRotor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotor",0,0)) SWIG_fail; - result = (SoRotor *)new SoRotor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_speed_set" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotor_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_speed_get" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_on_set" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotor_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_on_get" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoResetTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoResetTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getTypeId" "', argument " "1"" of type '" "SoResetTransform const *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - result = ((SoResetTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_initClass",0,0)) SWIG_fail; - SoResetTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoResetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoResetTransform",0,0)) SWIG_fail; - result = (SoResetTransform *)new SoResetTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoResetTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_whatToReset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_whatToReset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_whatToReset_set" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_whatToReset_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->whatToReset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_whatToReset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_whatToReset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_whatToReset_get" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - result = (SoSFBitMask *)& ((arg1)->whatToReset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_doAction" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_callback" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_GLRender" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getBoundingBox" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getMatrix" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_pick" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoResetTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoResetTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getClassTypeId",0,0)) SWIG_fail; - result = SoRotationXYZ::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getTypeId" "', argument " "1"" of type '" "SoRotationXYZ const *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = ((SoRotationXYZ const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_initClass",0,0)) SWIG_fail; - SoRotationXYZ::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotationXYZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotationXYZ",0,0)) SWIG_fail; - result = (SoRotationXYZ *)new SoRotationXYZ(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotationXYZ, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_axis_set" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_axis_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->axis = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_axis_get" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = (SoSFEnum *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_angle_set" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_angle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_angle_get" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = (SoSFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getRotation" "', argument " "1"" of type '" "SoRotationXYZ const *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = ((SoRotationXYZ const *)arg1)->getRotation(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_doAction" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_GLRender" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_callback" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getBoundingBox" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getMatrix" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_pick" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getPrimitiveCount" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotationXYZ_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotationXYZ, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getTypeId" "', argument " "1"" of type '" "SoTranslation const *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - result = ((SoTranslation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_initClass",0,0)) SWIG_fail; - SoTranslation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslation",0,0)) SWIG_fail; - result = (SoTranslation *)new SoTranslation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_translation_set" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_translation_get" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_doAction" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_callback" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_GLRender" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getBoundingBox" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getMatrix" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_pick" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getPrimitiveCount" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShuttle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_getClassTypeId",0,0)) SWIG_fail; - result = SoShuttle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_getTypeId" "', argument " "1"" of type '" "SoShuttle const *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = ((SoShuttle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_initClass",0,0)) SWIG_fail; - SoShuttle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShuttle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShuttle",0,0)) SWIG_fail; - result = (SoShuttle *)new SoShuttle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShuttle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation0_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_translation0_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation0 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation0_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation1_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_translation1_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation1 = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation1_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_speed_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_speed_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_on_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_on_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_write" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShuttle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShuttle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSurroundScale_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_getClassTypeId",0,0)) SWIG_fail; - result = SoSurroundScale::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_getTypeId" "', argument " "1"" of type '" "SoSurroundScale const *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = ((SoSurroundScale const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_initClass",0,0)) SWIG_fail; - SoSurroundScale::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSurroundScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSurroundScale",0,0)) SWIG_fail; - result = (SoSurroundScale *)new SoSurroundScale(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSurroundScale, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToContainer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToContainer_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToContainer_set" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_numNodesUpToContainer_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numNodesUpToContainer = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToContainer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToContainer_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToContainer_get" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numNodesUpToContainer); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToReset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToReset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToReset_set" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_numNodesUpToReset_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numNodesUpToReset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToReset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToReset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToReset_get" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numNodesUpToReset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_invalidate" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - (arg1)->invalidate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_doAction" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_setDoingTranslations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_setDoingTranslations",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_setDoingTranslations" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSurroundScale_setDoingTranslations" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoingTranslations(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_isDoingTranslations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_isDoingTranslations",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_isDoingTranslations" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SbBool)(arg1)->isDoingTranslations(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSurroundScale_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSurroundScale, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getTypeId" "', argument " "1"" of type '" "SoNurbsProfile const *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - result = ((SoNurbsProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_initClass",0,0)) SWIG_fail; - SoNurbsProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsProfile",0,0)) SWIG_fail; - result = (SoNurbsProfile *)new SoNurbsProfile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsProfile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_knotVector_set" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_knotVector_get" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getVertices" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNurbsProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoVertexAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVertexAttribute",0,0)) SWIG_fail; - result = (SoVertexAttribute *)new SoVertexAttribute(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexAttribute, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_initClass",0,0)) SWIG_fail; - SoVertexAttribute::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexAttribute::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_getTypeId" "', argument " "1"" of type '" "SoVertexAttribute const *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - result = ((SoVertexAttribute const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_name_set" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_name_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_name_get" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - result = (SoSFName *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_typeName_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_typeName_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_typeName_set" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_typeName_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->typeName = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_typeName_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_typeName_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_typeName_get" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - result = (SoSFName *)& ((arg1)->typeName); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_getValuesField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_getValuesField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_getValuesField" "', argument " "1"" of type '" "SoVertexAttribute const *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - result = (SoMField *)((SoVertexAttribute const *)arg1)->getValuesField(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_doAction" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_GLRender" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_write" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_copyContents" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVertexAttribute_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttribute_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttribute *arg1 = (SoVertexAttribute *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttribute_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttribute, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttribute_notify" "', argument " "1"" of type '" "SoVertexAttribute *""'"); - } - arg1 = reinterpret_cast< SoVertexAttribute * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttribute_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexAttribute_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexAttribute, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexAttributeBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_getTypeId" "', argument " "1"" of type '" "SoVertexAttributeBinding const *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - result = ((SoVertexAttributeBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_initClass",0,0)) SWIG_fail; - SoVertexAttributeBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVertexAttributeBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVertexAttributeBinding",0,0)) SWIG_fail; - result = (SoVertexAttributeBinding *)new SoVertexAttributeBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexAttributeBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_value_set" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_value_get" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_doAction" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_GLRender" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_callback" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_pick" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexAttributeBinding_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexAttributeBinding *arg1 = (SoVertexAttributeBinding *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexAttributeBinding_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexAttributeBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexAttributeBinding_getPrimitiveCount" "', argument " "1"" of type '" "SoVertexAttributeBinding *""'"); - } - arg1 = reinterpret_cast< SoVertexAttributeBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexAttributeBinding_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexAttributeBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexAttributeBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormal_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getClassTypeId",0,0)) SWIG_fail; - result = SoNormal::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_getTypeId" "', argument " "1"" of type '" "SoNormal const *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - result = ((SoNormal const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_initClass",0,0)) SWIG_fail; - SoNormal::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormal",0,0)) SWIG_fail; - result = (SoNormal *)new SoNormal(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormal, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_vector_set" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_vector_get" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_doAction" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_GLRender" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_callback" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_pick" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_getPrimitiveCount" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormal, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPackedColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_getClassTypeId",0,0)) SWIG_fail; - result = SoPackedColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_getTypeId" "', argument " "1"" of type '" "SoPackedColor const *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = ((SoPackedColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_initClass",0,0)) SWIG_fail; - SoPackedColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPackedColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPackedColor",0,0)) SWIG_fail; - result = (SoPackedColor *)new SoPackedColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPackedColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_orderedRGBA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_orderedRGBA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_orderedRGBA_set" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_orderedRGBA_set" "', argument " "2"" of type '" "SoMFUInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - if (arg1) (arg1)->orderedRGBA = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_orderedRGBA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_orderedRGBA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_orderedRGBA_get" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = (SoMFUInt32 *)& ((arg1)->orderedRGBA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_doAction" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_GLRender" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_callback" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_isTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_isTransparent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_isTransparent" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = (SbBool)(arg1)->isTransparent(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPackedColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPackedColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_getClassTypeId",0,0)) SWIG_fail; - result = SoPolygonOffset::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_getTypeId" "', argument " "1"" of type '" "SoPolygonOffset const *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = ((SoPolygonOffset const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_initClass",0,0)) SWIG_fail; - SoPolygonOffset::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPolygonOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPolygonOffset",0,0)) SWIG_fail; - result = (SoPolygonOffset *)new SoPolygonOffset(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPolygonOffset, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_factor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_factor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_factor_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_factor_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->factor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_factor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_factor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_factor_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFFloat *)& ((arg1)->factor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_units_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_units_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_units_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->units = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_units_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_units_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFFloat *)& ((arg1)->units); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_styles_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_styles_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_styles_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_styles_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->styles = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_styles_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_styles_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_styles_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFBitMask *)& ((arg1)->styles); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_on_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_on_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_doAction" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_callback" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_GLRender" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPolygonOffset_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPolygonOffset, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinate2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getTypeId" "', argument " "1"" of type '" "SoProfileCoordinate2 const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - result = ((SoProfileCoordinate2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_initClass",0,0)) SWIG_fail; - SoProfileCoordinate2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProfileCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProfileCoordinate2",0,0)) SWIG_fail; - result = (SoProfileCoordinate2 *)new SoProfileCoordinate2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinate2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_point_set" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_point_get" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_doAction" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_GLRender" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_callback" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_pick" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getBoundingBox" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getPrimitiveCount" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinate2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinate2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_getTypeId" "', argument " "1"" of type '" "SoProfileCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - result = ((SoProfileCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_initClass",0,0)) SWIG_fail; - SoProfileCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProfileCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProfileCoordinate3",0,0)) SWIG_fail; - result = (SoProfileCoordinate3 *)new SoProfileCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_point_set" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_point_get" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_doAction" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_GLRender" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_callback" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_pick" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_getBoundingBox" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_getPrimitiveCount" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_getTypeId" "', argument " "1"" of type '" "SoTexture3 const *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = ((SoTexture3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_initClass",0,0)) SWIG_fail; - SoTexture3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture3",0,0)) SWIG_fail; - result = (SoTexture3 *)new SoTexture3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_filenames_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_filenames_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_filenames_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_filenames_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->filenames = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_filenames_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_filenames_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_filenames_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoMFString *)& ((arg1)->filenames); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_images_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFImage3 *arg2 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_images_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_images_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_images_set" "', argument " "2"" of type '" "SoSFImage3 *""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - if (arg1) (arg1)->images = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_images_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_images_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_images_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFImage3 *)& ((arg1)->images); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage3, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapR_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapR_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapR_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapR_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapR = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapR_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapR_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapR_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapR); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapS_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapS_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapT_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapT_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_model_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_model_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_blendColor_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_blendColor_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_enableCompressedTexture_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_enableCompressedTexture_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_enableCompressedTexture_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_enableCompressedTexture_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enableCompressedTexture = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_enableCompressedTexture_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_enableCompressedTexture_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_enableCompressedTexture_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFBool *)& ((arg1)->enableCompressedTexture); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_doAction" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_GLRender" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_callback" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture2Transform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_getTypeId" "', argument " "1"" of type '" "SoTexture2Transform const *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = ((SoTexture2Transform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_initClass",0,0)) SWIG_fail; - SoTexture2Transform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture2Transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture2Transform",0,0)) SWIG_fail; - result = (SoTexture2Transform *)new SoTexture2Transform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture2Transform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_translation_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_translation_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_rotation_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_rotation_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_scaleFactor_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_scaleFactor_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_center_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_center_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_doAction" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_callback" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_GLRender" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_getMatrix" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_pick" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture2Transform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture2Transform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3Transform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_getTypeId" "', argument " "1"" of type '" "SoTexture3Transform const *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = ((SoTexture3Transform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_initClass",0,0)) SWIG_fail; - SoTexture3Transform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture3Transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture3Transform",0,0)) SWIG_fail; - result = (SoTexture3Transform *)new SoTexture3Transform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture3Transform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_translation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_translation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_rotation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_rotation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleFactor_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleFactor_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleOrientation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleOrientation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_center_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_center_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_doAction" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_callback" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_GLRender" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_getMatrix" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_pick" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3Transform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3Transform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinate2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinate2 const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - result = ((SoTextureCoordinate2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_initClass",0,0)) SWIG_fail; - SoTextureCoordinate2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinate2",0,0)) SWIG_fail; - result = (SoTextureCoordinate2 *)new SoTextureCoordinate2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinate2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_point_set" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_point_get" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_doAction" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_GLRender" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_callback" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_pick" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinate2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinate2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - result = ((SoTextureCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_initClass",0,0)) SWIG_fail; - SoTextureCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinate3",0,0)) SWIG_fail; - result = (SoTextureCoordinate3 *)new SoTextureCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_point_set" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_point_get" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_doAction" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_GLRender" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_callback" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_pick" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateFunction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateFunction *arg1 = (SoTextureCoordinateFunction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateFunction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateFunction_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateFunction const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateFunction * >(argp1); - result = ((SoTextureCoordinateFunction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_initClass",0,0)) SWIG_fail; - SoTextureCoordinateFunction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateFunction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateFunction",0,0)) SWIG_fail; - result = (SoTextureCoordinateFunction *)new SoTextureCoordinateFunction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateFunction, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateFunction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateFunction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateDefault::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateDefault const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - result = ((SoTextureCoordinateDefault const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_initClass",0,0)) SWIG_fail; - SoTextureCoordinateDefault::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateDefault",0,0)) SWIG_fail; - result = (SoTextureCoordinateDefault *)new SoTextureCoordinateDefault(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateDefault, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_doAction" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_callback" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_pick" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateDefault_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateDefault, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateEnvironment::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - result = ((SoTextureCoordinateEnvironment const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_initClass",0,0)) SWIG_fail; - SoTextureCoordinateEnvironment::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateEnvironment",0,0)) SWIG_fail; - result = (SoTextureCoordinateEnvironment *)new SoTextureCoordinateEnvironment(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateEnvironment, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_doAction" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_pick" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_callback" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateEnvironment, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinatePlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinatePlane const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = ((SoTextureCoordinatePlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_initClass",0,0)) SWIG_fail; - SoTextureCoordinatePlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinatePlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinatePlane",0,0)) SWIG_fail; - result = (SoTextureCoordinatePlane *)new SoTextureCoordinatePlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinatePlane, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionS_set" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_directionS_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->directionS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionS_get" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = (SoSFVec3f *)& ((arg1)->directionS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionT_set" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_directionT_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->directionT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionT_get" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = (SoSFVec3f *)& ((arg1)->directionT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionR_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionR_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionR_set" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_directionR_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->directionR = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionR_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionR_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionR_get" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = (SoSFVec3f *)& ((arg1)->directionR); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_doAction" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_GLRender" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_pick" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_callback" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinatePlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinatePlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureMatrixTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_getTypeId" "', argument " "1"" of type '" "SoTextureMatrixTransform const *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - result = ((SoTextureMatrixTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_initClass",0,0)) SWIG_fail; - SoTextureMatrixTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureMatrixTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureMatrixTransform",0,0)) SWIG_fail; - result = (SoTextureMatrixTransform *)new SoTextureMatrixTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureMatrixTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_matrix_set" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_matrix_set" "', argument " "2"" of type '" "SoSFMatrix *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_matrix_get" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - result = (SoSFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_doAction" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_callback" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_GLRender" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_getMatrix" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixTransform *arg1 = (SoTextureMatrixTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixTransform_pick" "', argument " "1"" of type '" "SoTextureMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureMatrixTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureMatrixTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWWWInline_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getClassTypeId",0,0)) SWIG_fail; - result = SoWWWInline::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getTypeId" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = ((SoWWWInline const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_initClass",0,0)) SWIG_fail; - SoWWWInline::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWWWInline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWWWInline",0,0)) SWIG_fail; - result = (SoWWWInline *)new SoWWWInline(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWWWInline, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_name_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_name_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxCenter_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxCenter_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxSize_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxSize_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_alternateRep_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_alternateRep_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_alternateRep_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_alternateRep_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->alternateRep = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_alternateRep_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_alternateRep_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_alternateRep_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFNode *)& ((arg1)->alternateRep); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setFullURLName" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getFullURLName" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_copyChildren" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoGroup *)((SoWWWInline const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_requestURLData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_requestURLData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_requestURLData" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - (arg1)->requestURLData(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_isURLDataRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_isURLDataRequested",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_isURLDataRequested" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SbBool)((SoWWWInline const *)arg1)->isURLDataRequested(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_isURLDataHere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_isURLDataHere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_isURLDataHere" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SbBool)((SoWWWInline const *)arg1)->isURLDataHere(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_cancelURLDataRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_cancelURLDataRequest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_cancelURLDataRequest" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - (arg1)->cancelURLDataRequest(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setChildData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setChildData" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_setChildData" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setChildData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getChildData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getChildData" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoNode *)((SoWWWInline const *)arg1)->getChildData(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getChildren" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoChildList *)((SoWWWInline const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInlineFetchURLCB *arg1 = (SoWWWInlineFetchURLCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWInline_setFetchURLCallBack" "', argument " "1"" of type '" "SoWWWInlineFetchURLCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWInline::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline::BboxVisibility arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setBoundingBoxVisibility",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoWWWInline_setBoundingBoxVisibility" "', argument " "1"" of type '" "SoWWWInline::BboxVisibility""'"); - } - arg1 = static_cast< SoWWWInline::BboxVisibility >(val1); - SoWWWInline::setBoundingBoxVisibility(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline::BboxVisibility result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBoxVisibility",0,0)) SWIG_fail; - result = (SoWWWInline::BboxVisibility)SoWWWInline::getBoundingBoxVisibility(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setBoundingBoxColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWWWInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - SoWWWInline::setBoundingBoxColor(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBoxColor",0,0)) SWIG_fail; - { - SbColor const &_result_ref = SoWWWInline::getBoundingBoxColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setReadAsSoFile",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoWWWInline_setReadAsSoFile" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoWWWInline::setReadAsSoFile(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getReadAsSoFile",0,0)) SWIG_fail; - result = (SbBool)SoWWWInline::getReadAsSoFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_doAction" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_doActionOnKidsOrBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_doActionOnKidsOrBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_doActionOnKidsOrBox" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_doActionOnKidsOrBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doActionOnKidsOrBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_callback" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_GLRender" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getBoundingBox" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getMatrix" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_handleEvent" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_search" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_pick" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getPrimitiveCount" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_audioRender" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWWWInline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWWWInline, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransparencyType_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_getClassTypeId",0,0)) SWIG_fail; - result = SoTransparencyType::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_getTypeId" "', argument " "1"" of type '" "SoTransparencyType const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - result = ((SoTransparencyType const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_initClass",0,0)) SWIG_fail; - SoTransparencyType::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransparencyType",0,0)) SWIG_fail; - result = (SoTransparencyType *)new SoTransparencyType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransparencyType, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_value_set" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_value_get" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_doAction" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_GLRender" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_callback" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransparencyType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransparencyType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateCube::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateCube const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - result = ((SoTextureCoordinateCube const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_initClass",0,0)) SWIG_fail; - SoTextureCoordinateCube::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCube",0,0)) SWIG_fail; - result = (SoTextureCoordinateCube *)new SoTextureCoordinateCube(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCube, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_doAction" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_callback" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_pick" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCube_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCube, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateSphere const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - result = ((SoTextureCoordinateSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_initClass",0,0)) SWIG_fail; - SoTextureCoordinateSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateSphere",0,0)) SWIG_fail; - result = (SoTextureCoordinateSphere *)new SoTextureCoordinateSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_doAction" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_callback" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_pick" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateCylinder const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - result = ((SoTextureCoordinateCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_initClass",0,0)) SWIG_fail; - SoTextureCoordinateCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCylinder",0,0)) SWIG_fail; - result = (SoTextureCoordinateCylinder *)new SoTextureCoordinateCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_doAction" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_callback" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_pick" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCubeMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_getTypeId" "', argument " "1"" of type '" "SoTextureCubeMap const *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = ((SoTextureCubeMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_initClass",0,0)) SWIG_fail; - SoTextureCubeMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCubeMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCubeMap",0,0)) SWIG_fail; - result = (SoTextureCubeMap *)new SoTextureCubeMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCubeMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_filenames_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_filenames_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_filenames_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_filenames_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->filenames = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_filenames_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_filenames_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_filenames_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoMFString *)& ((arg1)->filenames); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosX_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosX_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imagePosX_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imagePosX = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosX_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosX_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imagePosX); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegX_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegX_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imageNegX_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imageNegX = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegX_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegX_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imageNegX); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosY_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosY_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosY_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imagePosY_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imagePosY = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosY_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosY_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imagePosY); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegY_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegY_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegY_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imageNegY_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imageNegY = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegY_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegY_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imageNegY); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosZ_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosZ_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosZ_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imagePosZ_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imagePosZ = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imagePosZ_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imagePosZ_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imagePosZ_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imagePosZ); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegZ_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegZ_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegZ_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_imageNegZ_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->imageNegZ = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_imageNegZ_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_imageNegZ_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_imageNegZ_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFImage *)& ((arg1)->imageNegZ); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_wrapS_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_wrapS_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_wrapT_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_wrapT_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_model_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_model_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_blendColor_set" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_blendColor_get" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_doAction" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_GLRender" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_callback" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCubeMap *arg1 = (SoTextureCubeMap *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCubeMap_rayPick" "', argument " "1"" of type '" "SoTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCubeMap_readImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char **arg5 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCubeMap_readImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCubeMap_readImage" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCubeMap_readImage" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCubeMap_readImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCubeMap_readImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCubeMap_readImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCubeMap_readImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureCubeMap_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCubeMap_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - result = (SbBool)SoTextureCubeMap::readImage((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCubeMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCubeMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderObject_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderObject::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_getTypeId" "', argument " "1"" of type '" "SoShaderObject const *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = ((SoShaderObject const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_isActive_set" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_isActive_get" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_sourceType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_sourceType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_sourceType_set" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_sourceType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->sourceType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_sourceType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_sourceType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_sourceType_get" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = (SoSFEnum *)& ((arg1)->sourceType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_sourceProgram_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_sourceProgram_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_sourceProgram_set" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_sourceProgram_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->sourceProgram = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_sourceProgram_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_sourceProgram_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_sourceProgram_get" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = (SoSFString *)& ((arg1)->sourceProgram); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_parameter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_parameter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_parameter_set" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_parameter_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->parameter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_parameter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_parameter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_parameter_get" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = (SoMFNode *)& ((arg1)->parameter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_initClass",0,0)) SWIG_fail; - SoShaderObject::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_GLRender" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_search" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_updateParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_updateParameters",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_updateParameters" "', argument " "1"" of type '" "SoShaderObject *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderObject_updateParameters" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->updateParameters(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_getSourceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoShaderObject::SourceType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_getSourceType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_getSourceType" "', argument " "1"" of type '" "SoShaderObject const *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = (SoShaderObject::SourceType)((SoShaderObject const *)arg1)->getSourceType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderObject_getSourceProgram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject *arg1 = (SoShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderObject_getSourceProgram",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderObject_getSourceProgram" "', argument " "1"" of type '" "SoShaderObject const *""'"); - } - arg1 = reinterpret_cast< SoShaderObject * >(argp1); - result = ((SoShaderObject const *)arg1)->getSourceProgram(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderObject, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter *arg1 = (SoShaderParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter_getTypeId" "', argument " "1"" of type '" "SoShaderParameter const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter * >(argp1); - result = ((SoShaderParameter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter *arg1 = (SoShaderParameter *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter_name_set" "', argument " "1"" of type '" "SoShaderParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter *arg1 = (SoShaderParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter_name_get" "', argument " "1"" of type '" "SoShaderParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_identifier_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter *arg1 = (SoShaderParameter *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_identifier_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter_identifier_set" "', argument " "1"" of type '" "SoShaderParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter_identifier_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->identifier = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_identifier_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter *arg1 = (SoShaderParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_identifier_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter_identifier_get" "', argument " "1"" of type '" "SoShaderParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter * >(argp1); - result = (SoSFInt32 *)& ((arg1)->identifier); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter_initClass",0,0)) SWIG_fail; - SoShaderParameter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoUniformShaderParameter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUniformShaderParameter_getClassTypeId",0,0)) SWIG_fail; - result = SoUniformShaderParameter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUniformShaderParameter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUniformShaderParameter *arg1 = (SoUniformShaderParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUniformShaderParameter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUniformShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUniformShaderParameter_getTypeId" "', argument " "1"" of type '" "SoUniformShaderParameter const *""'"); - } - arg1 = reinterpret_cast< SoUniformShaderParameter * >(argp1); - result = ((SoUniformShaderParameter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUniformShaderParameter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoUniformShaderParameter_initClass",0,0)) SWIG_fail; - SoUniformShaderParameter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUniformShaderParameter_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUniformShaderParameter *arg1 = (SoUniformShaderParameter *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUniformShaderParameter_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUniformShaderParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUniformShaderParameter_updateParameter" "', argument " "1"" of type '" "SoUniformShaderParameter *""'"); - } - arg1 = reinterpret_cast< SoUniformShaderParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUniformShaderParameter_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoUniformShaderParameter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoUniformShaderParameter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter1f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1f *arg1 = (SoShaderParameter1f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1f_getTypeId" "', argument " "1"" of type '" "SoShaderParameter1f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1f * >(argp1); - result = ((SoShaderParameter1f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1f *arg1 = (SoShaderParameter1f *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1f_value_set" "', argument " "1"" of type '" "SoShaderParameter1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter1f_value_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1f *arg1 = (SoShaderParameter1f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1f_value_get" "', argument " "1"" of type '" "SoShaderParameter1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1f * >(argp1); - result = (SoSFFloat *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter1f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter1f",0,0)) SWIG_fail; - result = (SoShaderParameter1f *)new SoShaderParameter1f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter1f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_initClass",0,0)) SWIG_fail; - SoShaderParameter1f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1f *arg1 = (SoShaderParameter1f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1f_updateParameter" "', argument " "1"" of type '" "SoShaderParameter1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter1f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter1f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter1f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter1i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1i *arg1 = (SoShaderParameter1i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1i_getTypeId" "', argument " "1"" of type '" "SoShaderParameter1i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1i * >(argp1); - result = ((SoShaderParameter1i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1i *arg1 = (SoShaderParameter1i *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1i_value_set" "', argument " "1"" of type '" "SoShaderParameter1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter1i_value_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1i *arg1 = (SoShaderParameter1i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1i_value_get" "', argument " "1"" of type '" "SoShaderParameter1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1i * >(argp1); - result = (SoSFInt32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter1i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter1i",0,0)) SWIG_fail; - result = (SoShaderParameter1i *)new SoShaderParameter1i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter1i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_initClass",0,0)) SWIG_fail; - SoShaderParameter1i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter1i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter1i *arg1 = (SoShaderParameter1i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter1i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter1i_updateParameter" "', argument " "1"" of type '" "SoShaderParameter1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter1i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter1i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter1i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter1i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2f *arg1 = (SoShaderParameter2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2f_getTypeId" "', argument " "1"" of type '" "SoShaderParameter2f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2f * >(argp1); - result = ((SoShaderParameter2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2f *arg1 = (SoShaderParameter2f *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2f_value_set" "', argument " "1"" of type '" "SoShaderParameter2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter2f_value_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2f *arg1 = (SoShaderParameter2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2f_value_get" "', argument " "1"" of type '" "SoShaderParameter2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2f * >(argp1); - result = (SoSFVec2f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter2f",0,0)) SWIG_fail; - result = (SoShaderParameter2f *)new SoShaderParameter2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_initClass",0,0)) SWIG_fail; - SoShaderParameter2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2f *arg1 = (SoShaderParameter2f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2f_updateParameter" "', argument " "1"" of type '" "SoShaderParameter2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter2f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter2i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2i *arg1 = (SoShaderParameter2i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2i_getTypeId" "', argument " "1"" of type '" "SoShaderParameter2i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2i * >(argp1); - result = ((SoShaderParameter2i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2i *arg1 = (SoShaderParameter2i *) 0 ; - SoSFVec2i32 *arg2 = (SoSFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2i_value_set" "', argument " "1"" of type '" "SoShaderParameter2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter2i_value_set" "', argument " "2"" of type '" "SoSFVec2i32 *""'"); - } - arg2 = reinterpret_cast< SoSFVec2i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2i *arg1 = (SoShaderParameter2i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2i_value_get" "', argument " "1"" of type '" "SoShaderParameter2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2i * >(argp1); - result = (SoSFVec2i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter2i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter2i",0,0)) SWIG_fail; - result = (SoShaderParameter2i *)new SoShaderParameter2i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter2i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_initClass",0,0)) SWIG_fail; - SoShaderParameter2i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter2i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter2i *arg1 = (SoShaderParameter2i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter2i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter2i_updateParameter" "', argument " "1"" of type '" "SoShaderParameter2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter2i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter2i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter2i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter2i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3f *arg1 = (SoShaderParameter3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3f_getTypeId" "', argument " "1"" of type '" "SoShaderParameter3f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3f * >(argp1); - result = ((SoShaderParameter3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3f *arg1 = (SoShaderParameter3f *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3f_value_set" "', argument " "1"" of type '" "SoShaderParameter3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter3f_value_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3f *arg1 = (SoShaderParameter3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3f_value_get" "', argument " "1"" of type '" "SoShaderParameter3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3f * >(argp1); - result = (SoSFVec3f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter3f",0,0)) SWIG_fail; - result = (SoShaderParameter3f *)new SoShaderParameter3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_initClass",0,0)) SWIG_fail; - SoShaderParameter3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3f *arg1 = (SoShaderParameter3f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3f_updateParameter" "', argument " "1"" of type '" "SoShaderParameter3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter3f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter3i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3i *arg1 = (SoShaderParameter3i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3i_getTypeId" "', argument " "1"" of type '" "SoShaderParameter3i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3i * >(argp1); - result = ((SoShaderParameter3i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3i *arg1 = (SoShaderParameter3i *) 0 ; - SoSFVec3i32 *arg2 = (SoSFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3i_value_set" "', argument " "1"" of type '" "SoShaderParameter3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter3i_value_set" "', argument " "2"" of type '" "SoSFVec3i32 *""'"); - } - arg2 = reinterpret_cast< SoSFVec3i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3i *arg1 = (SoShaderParameter3i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3i_value_get" "', argument " "1"" of type '" "SoShaderParameter3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3i * >(argp1); - result = (SoSFVec3i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter3i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter3i",0,0)) SWIG_fail; - result = (SoShaderParameter3i *)new SoShaderParameter3i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter3i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_initClass",0,0)) SWIG_fail; - SoShaderParameter3i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter3i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter3i *arg1 = (SoShaderParameter3i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter3i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter3i_updateParameter" "', argument " "1"" of type '" "SoShaderParameter3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter3i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter3i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter3i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter3i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4f *arg1 = (SoShaderParameter4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4f_getTypeId" "', argument " "1"" of type '" "SoShaderParameter4f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4f * >(argp1); - result = ((SoShaderParameter4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4f *arg1 = (SoShaderParameter4f *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4f_value_set" "', argument " "1"" of type '" "SoShaderParameter4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter4f_value_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4f *arg1 = (SoShaderParameter4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4f_value_get" "', argument " "1"" of type '" "SoShaderParameter4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4f * >(argp1); - result = (SoSFVec4f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter4f",0,0)) SWIG_fail; - result = (SoShaderParameter4f *)new SoShaderParameter4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_initClass",0,0)) SWIG_fail; - SoShaderParameter4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4f *arg1 = (SoShaderParameter4f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4f_updateParameter" "', argument " "1"" of type '" "SoShaderParameter4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter4f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameter4i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4i *arg1 = (SoShaderParameter4i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4i_getTypeId" "', argument " "1"" of type '" "SoShaderParameter4i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4i * >(argp1); - result = ((SoShaderParameter4i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4i *arg1 = (SoShaderParameter4i *) 0 ; - SoSFVec4i32 *arg2 = (SoSFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4i_value_set" "', argument " "1"" of type '" "SoShaderParameter4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter4i_value_set" "', argument " "2"" of type '" "SoSFVec4i32 *""'"); - } - arg2 = reinterpret_cast< SoSFVec4i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4i *arg1 = (SoShaderParameter4i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4i_value_get" "', argument " "1"" of type '" "SoShaderParameter4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4i * >(argp1); - result = (SoSFVec4i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameter4i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameter4i",0,0)) SWIG_fail; - result = (SoShaderParameter4i *)new SoShaderParameter4i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameter4i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_initClass",0,0)) SWIG_fail; - SoShaderParameter4i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameter4i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameter4i *arg1 = (SoShaderParameter4i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameter4i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameter4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameter4i_updateParameter" "', argument " "1"" of type '" "SoShaderParameter4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameter4i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameter4i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameter4i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameter4i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray1f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1f *arg1 = (SoShaderParameterArray1f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1f_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray1f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1f * >(argp1); - result = ((SoShaderParameterArray1f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1f *arg1 = (SoShaderParameterArray1f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1f_value_set" "', argument " "1"" of type '" "SoShaderParameterArray1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray1f_value_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1f *arg1 = (SoShaderParameterArray1f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1f_value_get" "', argument " "1"" of type '" "SoShaderParameterArray1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1f * >(argp1); - result = (SoMFFloat *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray1f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray1f",0,0)) SWIG_fail; - result = (SoShaderParameterArray1f *)new SoShaderParameterArray1f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray1f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_initClass",0,0)) SWIG_fail; - SoShaderParameterArray1f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1f *arg1 = (SoShaderParameterArray1f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1f_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray1f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray1f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray1f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray1f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray1i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1i *arg1 = (SoShaderParameterArray1i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1i_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray1i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1i * >(argp1); - result = ((SoShaderParameterArray1i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1i *arg1 = (SoShaderParameterArray1i *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1i_value_set" "', argument " "1"" of type '" "SoShaderParameterArray1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray1i_value_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1i *arg1 = (SoShaderParameterArray1i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1i_value_get" "', argument " "1"" of type '" "SoShaderParameterArray1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1i * >(argp1); - result = (SoMFInt32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray1i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray1i",0,0)) SWIG_fail; - result = (SoShaderParameterArray1i *)new SoShaderParameterArray1i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray1i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_initClass",0,0)) SWIG_fail; - SoShaderParameterArray1i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray1i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray1i *arg1 = (SoShaderParameterArray1i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray1i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray1i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray1i_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray1i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray1i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray1i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray1i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray1i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2f *arg1 = (SoShaderParameterArray2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2f_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray2f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2f * >(argp1); - result = ((SoShaderParameterArray2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2f *arg1 = (SoShaderParameterArray2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2f_value_set" "', argument " "1"" of type '" "SoShaderParameterArray2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray2f_value_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2f *arg1 = (SoShaderParameterArray2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2f_value_get" "', argument " "1"" of type '" "SoShaderParameterArray2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray2f",0,0)) SWIG_fail; - result = (SoShaderParameterArray2f *)new SoShaderParameterArray2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_initClass",0,0)) SWIG_fail; - SoShaderParameterArray2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2f *arg1 = (SoShaderParameterArray2f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2f_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray2f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray2f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray2i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2i *arg1 = (SoShaderParameterArray2i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2i_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray2i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2i * >(argp1); - result = ((SoShaderParameterArray2i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2i *arg1 = (SoShaderParameterArray2i *) 0 ; - SoMFVec2i32 *arg2 = (SoMFVec2i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2i_value_set" "', argument " "1"" of type '" "SoShaderParameterArray2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray2i_value_set" "', argument " "2"" of type '" "SoMFVec2i32 *""'"); - } - arg2 = reinterpret_cast< SoMFVec2i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2i *arg1 = (SoShaderParameterArray2i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2i_value_get" "', argument " "1"" of type '" "SoShaderParameterArray2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2i * >(argp1); - result = (SoMFVec2i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray2i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray2i",0,0)) SWIG_fail; - result = (SoShaderParameterArray2i *)new SoShaderParameterArray2i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray2i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_initClass",0,0)) SWIG_fail; - SoShaderParameterArray2i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray2i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray2i *arg1 = (SoShaderParameterArray2i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray2i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray2i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray2i_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray2i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray2i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray2i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray2i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray2i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3f *arg1 = (SoShaderParameterArray3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3f_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray3f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3f * >(argp1); - result = ((SoShaderParameterArray3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3f *arg1 = (SoShaderParameterArray3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3f_value_set" "', argument " "1"" of type '" "SoShaderParameterArray3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray3f_value_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3f *arg1 = (SoShaderParameterArray3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3f_value_get" "', argument " "1"" of type '" "SoShaderParameterArray3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray3f",0,0)) SWIG_fail; - result = (SoShaderParameterArray3f *)new SoShaderParameterArray3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_initClass",0,0)) SWIG_fail; - SoShaderParameterArray3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3f *arg1 = (SoShaderParameterArray3f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3f_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray3f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray3f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray3i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3i *arg1 = (SoShaderParameterArray3i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3i_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray3i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3i * >(argp1); - result = ((SoShaderParameterArray3i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3i *arg1 = (SoShaderParameterArray3i *) 0 ; - SoMFVec3i32 *arg2 = (SoMFVec3i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3i_value_set" "', argument " "1"" of type '" "SoShaderParameterArray3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray3i_value_set" "', argument " "2"" of type '" "SoMFVec3i32 *""'"); - } - arg2 = reinterpret_cast< SoMFVec3i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3i *arg1 = (SoShaderParameterArray3i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3i_value_get" "', argument " "1"" of type '" "SoShaderParameterArray3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3i * >(argp1); - result = (SoMFVec3i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray3i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray3i",0,0)) SWIG_fail; - result = (SoShaderParameterArray3i *)new SoShaderParameterArray3i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray3i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_initClass",0,0)) SWIG_fail; - SoShaderParameterArray3i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray3i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray3i *arg1 = (SoShaderParameterArray3i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray3i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray3i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray3i_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray3i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray3i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray3i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray3i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray3i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4f *arg1 = (SoShaderParameterArray4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4f_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray4f const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4f * >(argp1); - result = ((SoShaderParameterArray4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4f *arg1 = (SoShaderParameterArray4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4f_value_set" "', argument " "1"" of type '" "SoShaderParameterArray4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray4f_value_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4f *arg1 = (SoShaderParameterArray4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4f_value_get" "', argument " "1"" of type '" "SoShaderParameterArray4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray4f",0,0)) SWIG_fail; - result = (SoShaderParameterArray4f *)new SoShaderParameterArray4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_initClass",0,0)) SWIG_fail; - SoShaderParameterArray4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4f_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4f *arg1 = (SoShaderParameterArray4f *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4f_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4f_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray4f *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray4f_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterArray4i::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4i *arg1 = (SoShaderParameterArray4i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4i_getTypeId" "', argument " "1"" of type '" "SoShaderParameterArray4i const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4i * >(argp1); - result = ((SoShaderParameterArray4i const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4i *arg1 = (SoShaderParameterArray4i *) 0 ; - SoMFVec4i32 *arg2 = (SoMFVec4i32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4i_value_set" "', argument " "1"" of type '" "SoShaderParameterArray4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray4i_value_set" "', argument " "2"" of type '" "SoMFVec4i32 *""'"); - } - arg2 = reinterpret_cast< SoMFVec4i32 * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4i *arg1 = (SoShaderParameterArray4i *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec4i32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4i_value_get" "', argument " "1"" of type '" "SoShaderParameterArray4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4i * >(argp1); - result = (SoMFVec4i32 *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4i32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterArray4i(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4i *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterArray4i",0,0)) SWIG_fail; - result = (SoShaderParameterArray4i *)new SoShaderParameterArray4i(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterArray4i, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_initClass",0,0)) SWIG_fail; - SoShaderParameterArray4i::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterArray4i_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterArray4i *arg1 = (SoShaderParameterArray4i *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterArray4i_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterArray4i, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterArray4i_updateParameter" "', argument " "1"" of type '" "SoShaderParameterArray4i *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterArray4i * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterArray4i_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterArray4i_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterArray4i, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrix *arg1 = (SoShaderParameterMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrix_getTypeId" "', argument " "1"" of type '" "SoShaderParameterMatrix const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrix * >(argp1); - result = ((SoShaderParameterMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrix *arg1 = (SoShaderParameterMatrix *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrix_value_set" "', argument " "1"" of type '" "SoShaderParameterMatrix *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterMatrix_value_set" "', argument " "2"" of type '" "SoSFMatrix *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrix *arg1 = (SoShaderParameterMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrix_value_get" "', argument " "1"" of type '" "SoShaderParameterMatrix *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrix * >(argp1); - result = (SoSFMatrix *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterMatrix",0,0)) SWIG_fail; - result = (SoShaderParameterMatrix *)new SoShaderParameterMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterMatrix, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_initClass",0,0)) SWIG_fail; - SoShaderParameterMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrix_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrix *arg1 = (SoShaderParameterMatrix *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrix_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrix_updateParameter" "', argument " "1"" of type '" "SoShaderParameterMatrix *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterMatrix_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderParameterMatrixArray::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrixArray *arg1 = (SoShaderParameterMatrixArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrixArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrixArray_getTypeId" "', argument " "1"" of type '" "SoShaderParameterMatrixArray const *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrixArray * >(argp1); - result = ((SoShaderParameterMatrixArray const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrixArray *arg1 = (SoShaderParameterMatrixArray *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrixArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrixArray_value_set" "', argument " "1"" of type '" "SoShaderParameterMatrixArray *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrixArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterMatrixArray_value_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->value = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrixArray *arg1 = (SoShaderParameterMatrixArray *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrixArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrixArray_value_get" "', argument " "1"" of type '" "SoShaderParameterMatrixArray *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrixArray * >(argp1); - result = (SoMFMatrix *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderParameterMatrixArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrixArray *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderParameterMatrixArray",0,0)) SWIG_fail; - result = (SoShaderParameterMatrixArray *)new SoShaderParameterMatrixArray(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderParameterMatrixArray, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_initClass",0,0)) SWIG_fail; - SoShaderParameterMatrixArray::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderParameterMatrixArray_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderParameterMatrixArray *arg1 = (SoShaderParameterMatrixArray *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderParameterMatrixArray_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderParameterMatrixArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderParameterMatrixArray_updateParameter" "', argument " "1"" of type '" "SoShaderParameterMatrixArray *""'"); - } - arg1 = reinterpret_cast< SoShaderParameterMatrixArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderParameterMatrixArray_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderParameterMatrixArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderParameterMatrixArray, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderStateMatrixParameter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_getTypeId" "', argument " "1"" of type '" "SoShaderStateMatrixParameter const *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - result = ((SoShaderStateMatrixParameter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_matrixType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_matrixType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_matrixType_set" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderStateMatrixParameter_matrixType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->matrixType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_matrixType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_matrixType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_matrixType_get" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - result = (SoSFEnum *)& ((arg1)->matrixType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_matrixTransform_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_matrixTransform_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_matrixTransform_set" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderStateMatrixParameter_matrixTransform_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->matrixTransform = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_matrixTransform_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_matrixTransform_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_matrixTransform_get" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - result = (SoSFEnum *)& ((arg1)->matrixTransform); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderStateMatrixParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderStateMatrixParameter",0,0)) SWIG_fail; - result = (SoShaderStateMatrixParameter *)new SoShaderStateMatrixParameter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderStateMatrixParameter, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoShaderStateMatrixParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoShaderStateMatrixParameter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoShaderStateMatrixParameter" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - arg1->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_initClass",0,0)) SWIG_fail; - SoShaderStateMatrixParameter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderStateMatrixParameter_updateParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderStateMatrixParameter *arg1 = (SoShaderStateMatrixParameter *) 0 ; - SoGLShaderObject *arg2 = (SoGLShaderObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderStateMatrixParameter_updateParameter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderStateMatrixParameter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderStateMatrixParameter_updateParameter" "', argument " "1"" of type '" "SoShaderStateMatrixParameter *""'"); - } - arg1 = reinterpret_cast< SoShaderStateMatrixParameter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLShaderObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderStateMatrixParameter_updateParameter" "', argument " "2"" of type '" "SoGLShaderObject *""'"); - } - arg2 = reinterpret_cast< SoGLShaderObject * >(argp2); - (arg1)->updateParameter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderStateMatrixParameter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderStateMatrixParameter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShaderProgram_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_getClassTypeId",0,0)) SWIG_fail; - result = SoShaderProgram::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_getTypeId" "', argument " "1"" of type '" "SoShaderProgram const *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - result = ((SoShaderProgram const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_shaderObject_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_shaderObject_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_shaderObject_set" "', argument " "1"" of type '" "SoShaderProgram *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderProgram_shaderObject_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->shaderObject = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_shaderObject_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_shaderObject_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_shaderObject_get" "', argument " "1"" of type '" "SoShaderProgram *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - result = (SoMFNode *)& ((arg1)->shaderObject); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShaderProgram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShaderProgram",0,0)) SWIG_fail; - result = (SoShaderProgram *)new SoShaderProgram(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShaderProgram, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_setEnableCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - SoShaderProgramEnableCB *arg2 = (SoShaderProgramEnableCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_setEnableCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_setEnableCallback" "', argument " "1"" of type '" "SoShaderProgram *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoState_q_const__int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoShaderProgram_setEnableCallback" "', argument " "2"" of type '" "SoShaderProgramEnableCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShaderProgram_setEnableCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setEnableCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_GLRender" "', argument " "1"" of type '" "SoShaderProgram *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderProgram_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderProgram *arg1 = (SoShaderProgram *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShaderProgram, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShaderProgram_search" "', argument " "1"" of type '" "SoShaderProgram *""'"); - } - arg1 = reinterpret_cast< SoShaderProgram * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShaderProgram_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShaderProgram_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShaderProgram_initClass",0,0)) SWIG_fail; - SoShaderProgram::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShaderProgram_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShaderProgram, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFragmentShader_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFragmentShader_getClassTypeId",0,0)) SWIG_fail; - result = SoFragmentShader::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFragmentShader_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFragmentShader *arg1 = (SoFragmentShader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFragmentShader_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFragmentShader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFragmentShader_getTypeId" "', argument " "1"" of type '" "SoFragmentShader const *""'"); - } - arg1 = reinterpret_cast< SoFragmentShader * >(argp1); - result = ((SoFragmentShader const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFragmentShader_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFragmentShader_initClass",0,0)) SWIG_fail; - SoFragmentShader::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFragmentShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFragmentShader *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFragmentShader",0,0)) SWIG_fail; - result = (SoFragmentShader *)new SoFragmentShader(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFragmentShader, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFragmentShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFragmentShader *arg1 = (SoFragmentShader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFragmentShader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFragmentShader, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFragmentShader" "', argument " "1"" of type '" "SoFragmentShader *""'"); - } - arg1 = reinterpret_cast< SoFragmentShader * >(argp1); - arg1->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFragmentShader_isSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject::SourceType arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFragmentShader_isSupported",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFragmentShader_isSupported" "', argument " "1"" of type '" "SoShaderObject::SourceType""'"); - } - arg1 = static_cast< SoShaderObject::SourceType >(val1); - result = (SbBool)SoFragmentShader::isSupported(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFragmentShader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFragmentShader, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexShader_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShader_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexShader::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShader_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShader *arg1 = (SoVertexShader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShader_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShader_getTypeId" "', argument " "1"" of type '" "SoVertexShader const *""'"); - } - arg1 = reinterpret_cast< SoVertexShader * >(argp1); - result = ((SoVertexShader const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShader_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShader_initClass",0,0)) SWIG_fail; - SoVertexShader::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVertexShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShader *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVertexShader",0,0)) SWIG_fail; - result = (SoVertexShader *)new SoVertexShader(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexShader, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVertexShader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShader *arg1 = (SoVertexShader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVertexShader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShader, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVertexShader" "', argument " "1"" of type '" "SoVertexShader *""'"); - } - arg1 = reinterpret_cast< SoVertexShader * >(argp1); - arg1->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShader_isSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShaderObject::SourceType arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShader_isSupported",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVertexShader_isSupported" "', argument " "1"" of type '" "SoShaderObject::SourceType""'"); - } - arg1 = static_cast< SoShaderObject::SourceType >(val1); - result = (SbBool)SoVertexShader::isSupported(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexShader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexShader, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateNormalMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *arg1 = (SoTextureCoordinateNormalMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateNormalMap_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateNormalMap const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateNormalMap * >(argp1); - result = ((SoTextureCoordinateNormalMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_initClass",0,0)) SWIG_fail; - SoTextureCoordinateNormalMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateNormalMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateNormalMap",0,0)) SWIG_fail; - result = (SoTextureCoordinateNormalMap *)new SoTextureCoordinateNormalMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateNormalMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *arg1 = (SoTextureCoordinateNormalMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateNormalMap_doAction" "', argument " "1"" of type '" "SoTextureCoordinateNormalMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateNormalMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateNormalMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *arg1 = (SoTextureCoordinateNormalMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateNormalMap_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateNormalMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateNormalMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateNormalMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *arg1 = (SoTextureCoordinateNormalMap *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateNormalMap_pick" "', argument " "1"" of type '" "SoTextureCoordinateNormalMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateNormalMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateNormalMap_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateNormalMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateNormalMap *arg1 = (SoTextureCoordinateNormalMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateNormalMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateNormalMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateNormalMap_callback" "', argument " "1"" of type '" "SoTextureCoordinateNormalMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateNormalMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateNormalMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateNormalMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateNormalMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateReflectionMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *arg1 = (SoTextureCoordinateReflectionMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateReflectionMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateReflectionMap_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateReflectionMap const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateReflectionMap * >(argp1); - result = ((SoTextureCoordinateReflectionMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_initClass",0,0)) SWIG_fail; - SoTextureCoordinateReflectionMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateReflectionMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateReflectionMap",0,0)) SWIG_fail; - result = (SoTextureCoordinateReflectionMap *)new SoTextureCoordinateReflectionMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateReflectionMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *arg1 = (SoTextureCoordinateReflectionMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateReflectionMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateReflectionMap_doAction" "', argument " "1"" of type '" "SoTextureCoordinateReflectionMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateReflectionMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateReflectionMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *arg1 = (SoTextureCoordinateReflectionMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateReflectionMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateReflectionMap_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateReflectionMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateReflectionMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateReflectionMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *arg1 = (SoTextureCoordinateReflectionMap *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateReflectionMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateReflectionMap_pick" "', argument " "1"" of type '" "SoTextureCoordinateReflectionMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateReflectionMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateReflectionMap_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateReflectionMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateReflectionMap *arg1 = (SoTextureCoordinateReflectionMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateReflectionMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateReflectionMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateReflectionMap_callback" "', argument " "1"" of type '" "SoTextureCoordinateReflectionMap *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateReflectionMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateReflectionMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateReflectionMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateReflectionMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateObject::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateObject const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - result = ((SoTextureCoordinateObject const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_initClass",0,0)) SWIG_fail; - SoTextureCoordinateObject::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateObject",0,0)) SWIG_fail; - result = (SoTextureCoordinateObject *)new SoTextureCoordinateObject(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateObject, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorS_set" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_factorS_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->factorS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorS_get" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - result = (SoSFVec4f *)& ((arg1)->factorS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorT_set" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_factorT_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->factorT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorT_get" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - result = (SoSFVec4f *)& ((arg1)->factorT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorR_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorR_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorR_set" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_factorR_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->factorR = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorR_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorR_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorR_get" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - result = (SoSFVec4f *)& ((arg1)->factorR); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorQ_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorQ_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorQ_set" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_factorQ_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->factorQ = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_factorQ_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_factorQ_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_factorQ_get" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - result = (SoSFVec4f *)& ((arg1)->factorQ); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_doAction" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_pick" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateObject_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateObject *arg1 = (SoTextureCoordinateObject *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateObject_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateObject_callback" "', argument " "1"" of type '" "SoTextureCoordinateObject *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateObject_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateObject, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureScalePolicy::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_getTypeId" "', argument " "1"" of type '" "SoTextureScalePolicy const *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = ((SoTextureScalePolicy const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_initClass",0,0)) SWIG_fail; - SoTextureScalePolicy::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureScalePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureScalePolicy",0,0)) SWIG_fail; - result = (SoTextureScalePolicy *)new SoTextureScalePolicy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureScalePolicy, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_policy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_policy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_policy_set" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_policy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->policy = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_policy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_policy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_policy_get" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = (SoSFEnum *)& ((arg1)->policy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_quality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_quality_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_quality_set" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_quality_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->quality = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_quality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_quality_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_quality_get" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = (SoSFFloat *)& ((arg1)->quality); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_GLRender" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureScalePolicy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureScalePolicy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureUnit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_getTypeId" "', argument " "1"" of type '" "SoTextureUnit const *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = ((SoTextureUnit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_initClass",0,0)) SWIG_fail; - SoTextureUnit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureUnit",0,0)) SWIG_fail; - result = (SoTextureUnit *)new SoTextureUnit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureUnit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_unit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_unit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_unit_set" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_unit_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->unit = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_unit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_unit_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_unit_get" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = (SoSFInt32 *)& ((arg1)->unit); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_mappingMethod_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_mappingMethod_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_mappingMethod_set" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_mappingMethod_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->mappingMethod = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_mappingMethod_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_mappingMethod_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_mappingMethod_get" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = (SoSFEnum *)& ((arg1)->mappingMethod); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_doAction" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_callback" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_GLRender" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_pick" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getMaxTextureUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getMaxTextureUnit",0,0)) SWIG_fail; - result = SoTextureUnit::getMaxTextureUnit(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureUnit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureUnit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCombine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCombine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_getTypeId" "', argument " "1"" of type '" "SoTextureCombine const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = ((SoTextureCombine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_initClass",0,0)) SWIG_fail; - SoTextureCombine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCombine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCombine",0,0)) SWIG_fail; - result = (SoTextureCombine *)new SoTextureCombine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCombine, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbSource_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbSource_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbSource_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbSource_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->rgbSource = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbSource_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbSource_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbSource_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->rgbSource); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaSource_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaSource_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaSource_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaSource_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->alphaSource = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaSource_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaSource_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaSource_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->alphaSource); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperand_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperand_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperand_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbOperand_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->rgbOperand = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperand_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperand_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperand_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->rgbOperand); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperand_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperand_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperand_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaOperand_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->alphaOperand = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperand_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperand_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperand_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->alphaOperand); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperation_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbOperation_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->rgbOperation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperation_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFEnum *)& ((arg1)->rgbOperation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperation_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaOperation_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->alphaOperation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperation_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFEnum *)& ((arg1)->alphaOperation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbScale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbScale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbScale_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbScale_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rgbScale = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbScale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbScale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbScale_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFFloat *)& ((arg1)->rgbScale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaScale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaScale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaScale_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaScale_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->alphaScale = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaScale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaScale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaScale_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFFloat *)& ((arg1)->alphaScale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_constantColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_constantColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_constantColor_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_constantColor_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->constantColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_constantColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_constantColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_constantColor_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFVec4f *)& ((arg1)->constantColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_doAction" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_callback" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_GLRender" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_pick" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCombine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCombine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_getClassTypeId",0,0)) SWIG_fail; - result = SoSceneTexture2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_getTypeId" "', argument " "1"" of type '" "SoSceneTexture2 const *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = ((SoSceneTexture2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_initClass",0,0)) SWIG_fail; - SoSceneTexture2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSceneTexture2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneTexture2",0,0)) SWIG_fail; - result = (SoSceneTexture2 *)new SoSceneTexture2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneTexture2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapS_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapS_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapT_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapT_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_model_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_model_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_blendColor_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_blendColor_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_backgroundColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_backgroundColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_backgroundColor_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_backgroundColor_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->backgroundColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_backgroundColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_backgroundColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_backgroundColor_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFVec4f *)& ((arg1)->backgroundColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec2s *arg2 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_size_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_size_set" "', argument " "2"" of type '" "SoSFVec2s *""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_size_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFVec2s *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_scene_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_scene_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_scene_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_scene_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->scene = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_scene_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_scene_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_scene_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFNode *)& ((arg1)->scene); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_sceneTransparencyType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_sceneTransparencyType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_sceneTransparencyType_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_sceneTransparencyType_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->sceneTransparencyType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_sceneTransparencyType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_sceneTransparencyType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_sceneTransparencyType_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFNode *)& ((arg1)->sceneTransparencyType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_transparencyFunction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_transparencyFunction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_transparencyFunction_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_transparencyFunction_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->transparencyFunction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_transparencyFunction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_transparencyFunction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_transparencyFunction_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->transparencyFunction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_type_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_type_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->type = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_type_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->type); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_notify" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_write" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_doAction" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_GLRender" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_callback" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_rayPick" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSceneTexture2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneTexture2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_getClassTypeId",0,0)) SWIG_fail; - result = SoSceneTextureCubeMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_getTypeId" "', argument " "1"" of type '" "SoSceneTextureCubeMap const *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = ((SoSceneTextureCubeMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_initClass",0,0)) SWIG_fail; - SoSceneTextureCubeMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSceneTextureCubeMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneTextureCubeMap",0,0)) SWIG_fail; - result = (SoSceneTextureCubeMap *)new SoSceneTextureCubeMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneTextureCubeMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFVec2s *arg2 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_size_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_size_set" "', argument " "2"" of type '" "SoSFVec2s *""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_size_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFVec2s *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_scene_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_scene_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_scene_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_scene_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->scene = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_scene_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_scene_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_scene_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFNode *)& ((arg1)->scene); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapS_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapS_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapT_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapT_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapR_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapR_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapR_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_wrapR_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapR = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_wrapR_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_wrapR_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_wrapR_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapR); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_model_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_model_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_backgroundColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_backgroundColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_backgroundColor_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_backgroundColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->backgroundColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_backgroundColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_backgroundColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_backgroundColor_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFColor *)& ((arg1)->backgroundColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_transparencyFunction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_transparencyFunction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_transparencyFunction_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_transparencyFunction_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->transparencyFunction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_transparencyFunction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_transparencyFunction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_transparencyFunction_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->transparencyFunction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_blendColor_set" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_blendColor_get" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_doAction" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_GLRender" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_callback" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTextureCubeMap_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTextureCubeMap *arg1 = (SoSceneTextureCubeMap *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTextureCubeMap_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTextureCubeMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTextureCubeMap_rayPick" "', argument " "1"" of type '" "SoSceneTextureCubeMap *""'"); - } - arg1 = reinterpret_cast< SoSceneTextureCubeMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTextureCubeMap_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSceneTextureCubeMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneTextureCubeMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCacheHintElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCacheHintElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCacheHintElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_initClass",0,0)) SWIG_fail; - SoCacheHintElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHintElement *arg1 = (SoCacheHintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_init" "', argument " "1"" of type '" "SoCacheHintElement *""'"); - } - arg1 = reinterpret_cast< SoCacheHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHintElement *arg1 = (SoCacheHintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_push" "', argument " "1"" of type '" "SoCacheHintElement *""'"); - } - arg1 = reinterpret_cast< SoCacheHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHintElement *arg1 = (SoCacheHintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_pop" "', argument " "1"" of type '" "SoCacheHintElement *""'"); - } - arg1 = reinterpret_cast< SoCacheHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCacheHintElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHintElement *arg1 = (SoCacheHintElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_matches" "', argument " "1"" of type '" "SoCacheHintElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoCacheHintElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHintElement *arg1 = (SoCacheHintElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoElement *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_copyMatchInfo" "', argument " "1"" of type '" "SoCacheHintElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheHintElement * >(argp1); - result = (SoElement *)((SoCacheHintElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCacheHintElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoCacheHintElement_set" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - SoCacheHintElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHintElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHintElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHintElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHintElement_get" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCacheHintElement_get" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCacheHintElement_get" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCacheHintElement_get" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - SoCacheHintElement::get(arg1,*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCacheHintElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCacheHintElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCacheHint_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_getClassTypeId",0,0)) SWIG_fail; - result = SoCacheHint::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_getTypeId" "', argument " "1"" of type '" "SoCacheHint const *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - result = ((SoCacheHint const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_initClass",0,0)) SWIG_fail; - SoCacheHint::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCacheHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCacheHint",0,0)) SWIG_fail; - result = (SoCacheHint *)new SoCacheHint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCacheHint, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_memValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_memValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_memValue_set" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_memValue_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->memValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_memValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_memValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_memValue_get" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - result = (SoSFFloat *)& ((arg1)->memValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_gfxValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_gfxValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_gfxValue_set" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_gfxValue_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->gfxValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_gfxValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_gfxValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_gfxValue_get" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - result = (SoSFFloat *)& ((arg1)->gfxValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_doAction" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_GLRender" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_callback" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_getBoundingBox" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheHint_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheHint *arg1 = (SoCacheHint *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheHint_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheHint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheHint_pick" "', argument " "1"" of type '" "SoCacheHint *""'"); - } - arg1 = reinterpret_cast< SoCacheHint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheHint_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCacheHint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCacheHint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_getClassTypeId",0,0)) SWIG_fail; - result = SoDepthBuffer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_getTypeId" "', argument " "1"" of type '" "SoDepthBuffer const *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - result = ((SoDepthBuffer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_initClass",0,0)) SWIG_fail; - SoDepthBuffer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDepthBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDepthBuffer",0,0)) SWIG_fail; - result = (SoDepthBuffer *)new SoDepthBuffer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDepthBuffer, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_test_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_test_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_test_set" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBuffer_test_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->test = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_test_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_test_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_test_get" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - result = (SoSFBool *)& ((arg1)->test); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_write_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_write_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_write_set" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBuffer_write_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->write = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_write_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_write_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_write_get" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - result = (SoSFBool *)& ((arg1)->write); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_function_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_function_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_function_set" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBuffer_function_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->function = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_function_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_function_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_function_get" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - result = (SoSFEnum *)& ((arg1)->function); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_range_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_range_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_range_set" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBuffer_range_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->range = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_range_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_range_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_range_get" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - result = (SoSFVec2f *)& ((arg1)->range); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDepthBuffer_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDepthBuffer *arg1 = (SoDepthBuffer *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDepthBuffer_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDepthBuffer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDepthBuffer_GLRender" "', argument " "1"" of type '" "SoDepthBuffer *""'"); - } - arg1 = reinterpret_cast< SoDepthBuffer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDepthBuffer_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDepthBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDepthBuffer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLine",0,0)) SWIG_fail; - result = (SbLine *)new SbLine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbLine" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbLine" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbLine" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbLine" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbLine *)new SbLine((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbLine__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbLine__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbLine'.\n" - " Possible C/C++ prototypes are:\n" - " SbLine()\n" - " SbLine(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_setValue" "', argument " "1"" of type '" "SbLine *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLine_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getClosestPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getClosestPoints",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getClosestPoints" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_getClosestPoints" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbLine const *)arg1)->getClosestPoints((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getClosestPoint" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbLine const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getPosition" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - SbVec3f const &_result_ref = ((SbLine const *)arg1)->getPosition(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getDirection" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - SbVec3f const &_result_ref = ((SbLine const *)arg1)->getDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_output" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbLine const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbLine" "', argument " "1"" of type '" "SbLine *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_project" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_setViewVolume" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->setViewVolume((SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_getViewVolume" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - { - SbViewVolume const &_result_ref = ((SbProjector const *)arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_setWorkingSpace" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_getWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_getWorkingSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_getWorkingSpace" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - { - SbMatrix const &_result_ref = ((SbProjector const *)arg1)->getWorkingSpace(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_copy" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - result = (SbProjector *)((SbProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_tryProject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbVec2f *arg2 = 0 ; - float arg3 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_tryProject",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_tryProject" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbProjector_tryProject" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)(arg1)->tryProject((SbVec2f const &)*arg2,arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinder",0,0)) SWIG_fail; - result = (SbCylinder *)new SbCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinder" "', argument " "1"" of type '" "SbLine const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinder" "', argument " "1"" of type '" "SbLine const &""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinder *)new SbCylinder((SbLine const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinder(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinder__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinder__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinder'.\n" - " Possible C/C++ prototypes are:\n" - " SbCylinder()\n" - " SbCylinder(SbLine const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setValue" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_setValue" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_setValue" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbCylinder_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbLine const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setAxis",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setAxis" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_setAxis" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_setAxis" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - (arg1)->setAxis((SbLine const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setRadius" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinder_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_getAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_getAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_getAxis" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - { - SbLine const &_result_ref = ((SbCylinder const *)arg1)->getAxis(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_getRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_getRadius",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_getRadius" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (float)((SbCylinder const *)arg1)->getRadius(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_intersect" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbCylinder const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_intersect" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbCylinder_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbCylinder const *)arg1)->intersect((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbCylinder_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbCylinder_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbCylinder_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbCylinder const *,SbLine const &,SbVec3f &)\n" - " intersect(SbCylinder const *,SbLine const &,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_output" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbCylinder const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinder" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_project" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_projectAndGetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_projectAndGetRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - result = (arg1)->projectAndGetRotation((SbVec2f const &)*arg2,*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_getRotation" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbCylinder *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setCylinder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setCylinder" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_setCylinder" "', argument " "2"" of type '" "SbCylinder const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_setCylinder" "', argument " "2"" of type '" "SbCylinder const &""'"); - } - arg2 = reinterpret_cast< SbCylinder * >(argp2); - (arg1)->setCylinder((SbCylinder const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_getCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_getCylinder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_getCylinder" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - { - SbCylinder const &_result_ref = ((SbCylinderProjector const *)arg1)->getCylinder(); - result = (SbCylinder *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setOrientToEye" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isOrientToEye" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - result = (SbBool)((SbCylinderProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setFront" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderProjector_setFront" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFront(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isFront",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isFront" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - result = (SbBool)((SbCylinderProjector const *)arg1)->isFront(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isPointInFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isPointInFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isPointInFront" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbCylinderProjector const *)arg1)->isPointInFront((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderProjector" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",0,0)) SWIG_fail; - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbCylinderSectionProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderSectionProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderSectionProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbCylinderSectionProjector(float const,SbBool const)\n" - " SbCylinderSectionProjector(float const)\n" - " SbCylinderSectionProjector()\n" - " SbCylinderSectionProjector(SbCylinder const &,float const,SbBool const)\n" - " SbCylinderSectionProjector(SbCylinder const &,float const)\n" - " SbCylinderSectionProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_copy" "', argument " "1"" of type '" "SbCylinderSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - result = (SbProjector *)((SbCylinderSectionProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_project" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_setTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_setTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_setTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderSectionProjector_setTolerance" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setTolerance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_getTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_getTolerance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_getTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - result = (float)((SbCylinderSectionProjector const *)arg1)->getTolerance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_isWithinTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_isWithinTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)(arg1)->isWithinTolerance((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderSectionProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderSectionProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderSectionProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",0,0)) SWIG_fail; - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbCylinderPlaneProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderPlaneProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbCylinderPlaneProjector(float const,SbBool const)\n" - " SbCylinderPlaneProjector(float const)\n" - " SbCylinderPlaneProjector()\n" - " SbCylinderPlaneProjector(SbCylinder const &,float const,SbBool const)\n" - " SbCylinderPlaneProjector(SbCylinder const &,float const)\n" - " SbCylinderPlaneProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_copy" "', argument " "1"" of type '" "SbCylinderPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - result = (SbProjector *)((SbCylinderPlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_project" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderPlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderPlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",0,0)) SWIG_fail; - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbCylinderSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSheetProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbCylinderSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderSheetProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderSheetProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbCylinderSheetProjector(SbBool const)\n" - " SbCylinderSheetProjector()\n" - " SbCylinderSheetProjector(SbCylinder const &,SbBool const)\n" - " SbCylinderSheetProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_copy" "', argument " "1"" of type '" "SbCylinderSheetProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - result = (SbProjector *)((SbCylinderSheetProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_project" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderSheetProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderSheetProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderSheetProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbLineProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLineProjector",0,0)) SWIG_fail; - result = (SbLineProjector *)new SbLineProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLineProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_copy" "', argument " "1"" of type '" "SbLineProjector const *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - result = (SbProjector *)((SbLineProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_project" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_tryProject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - float arg3 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_tryProject",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_tryProject" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbLineProjector_tryProject" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbLineProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)(arg1)->tryProject((SbVec2f const &)*arg2,arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbLine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setLine" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setLine" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setLine" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - (arg1)->setLine((SbLine const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getLine" "', argument " "1"" of type '" "SbLineProjector const *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - { - SbLine const &_result_ref = ((SbLineProjector const *)arg1)->getLine(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getVector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getVector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLineProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (arg1)->getVector((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getVector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getVector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->getVector((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_getVector__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_getVector__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbLineProjector_getVector'.\n" - " Possible C/C++ prototypes are:\n" - " getVector(SbLineProjector *,SbVec2f const &,SbVec2f const &)\n" - " getVector(SbLineProjector *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setStartPosition" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setStartPosition" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartPosition((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_setStartPosition__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_setStartPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbLineProjector_setStartPosition'.\n" - " Possible C/C++ prototypes are:\n" - " setStartPosition(SbLineProjector *,SbVec2f const &)\n" - " setStartPosition(SbLineProjector *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbLineProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbLineProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbLineProjector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbLineProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbLineProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbPlaneProjector *)new SbPlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",0,0)) SWIG_fail; - result = (SbPlaneProjector *)new SbPlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbPlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbPlaneProjector *)new SbPlaneProjector((SbPlane const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - result = (SbPlaneProjector *)new SbPlaneProjector((SbPlane const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPlaneProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPlaneProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbPlaneProjector(SbBool const)\n" - " SbPlaneProjector()\n" - " SbPlaneProjector(SbPlane const &,SbBool const)\n" - " SbPlaneProjector(SbPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_copy" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - result = (SbProjector *)((SbPlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_project" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_tryProject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - float arg3 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_tryProject",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_tryProject" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_tryProject" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPlaneProjector_tryProject" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbPlaneProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_tryProject" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)(arg1)->tryProject((SbVec2f const &)*arg2,arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setPlane" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setPlane((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getPlane" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - { - SbPlane const &_result_ref = ((SbPlaneProjector const *)arg1)->getPlane(); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setOrientToEye" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPlaneProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_isOrientToEye" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - result = (SbBool)((SbPlaneProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getVector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getVector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlaneProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (arg1)->getVector((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getVector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getVector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->getVector((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_getVector__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_getVector__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlaneProjector_getVector'.\n" - " Possible C/C++ prototypes are:\n" - " getVector(SbPlaneProjector *,SbVec2f const &,SbVec2f const &)\n" - " getVector(SbPlaneProjector *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartPosition((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_setStartPosition__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_setStartPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlaneProjector_setStartPosition'.\n" - " Possible C/C++ prototypes are:\n" - " setStartPosition(SbPlaneProjector *,SbVec2f const &)\n" - " setStartPosition(SbPlaneProjector *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPlaneProjector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphere",0,0)) SWIG_fail; - result = (SbSphere *)new SbSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphere",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphere" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphere" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphere" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSphere *)new SbSphere((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphere(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphere__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphere__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphere'.\n" - " Possible C/C++ prototypes are:\n" - " SbSphere()\n" - " SbSphere(SbVec3f const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setValue" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbSphere_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setCenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setCenter" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setCenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setRadius" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphere_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_getCenter" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - { - SbVec3f const &_result_ref = ((SbSphere const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_getRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_getRadius",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_getRadius" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (float)((SbSphere const *)arg1)->getRadius(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_circumscribe(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_circumscribe",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_circumscribe" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_circumscribe" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_circumscribe" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->circumscribe((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_intersect" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbSphere const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_intersect" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbSphere_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbSphere const *)arg1)->intersect((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphere_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphere_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbSphere_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbSphere const *,SbLine const &,SbVec3f &)\n" - " intersect(SbSphere const *,SbLine const &,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_pointInside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_pointInside",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_pointInside" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_pointInside" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_pointInside" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbSphere const *)arg1)->pointInside((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_output" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbSphere const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphere" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbSphereProjector_projectAndGetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_projectAndGetRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - result = (arg1)->projectAndGetRotation((SbVec2f const &)*arg2,*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_getRotation" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbSphere *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setSphere",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setSphere" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_setSphere" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_setSphere" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - (arg1)->setSphere((SbSphere const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_getSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_getSphere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_getSphere" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - { - SbSphere const &_result_ref = ((SbSphereProjector const *)arg1)->getSphere(); - result = (SbSphere *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setOrientToEye" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isOrientToEye" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - result = (SbBool)((SbSphereProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setFront" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereProjector_setFront" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFront(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isFront",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isFront" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - result = (SbBool)((SbSphereProjector const *)arg1)->isFront(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isPointInFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isPointInFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isPointInFront" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbSphereProjector const *)arg1)->isPointInFront((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereProjector" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbSphereSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",0,0)) SWIG_fail; - result = (SbSphereSheetProjector *)new SbSphereSheetProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSphereSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSheetProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbSphereSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphereSheetProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphereSheetProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbSphereSheetProjector(SbBool const)\n" - " SbSphereSheetProjector()\n" - " SbSphereSheetProjector(SbSphere const &,SbBool const)\n" - " SbSphereSheetProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_copy" "', argument " "1"" of type '" "SbSphereSheetProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - result = (SbProjector *)((SbSphereSheetProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_project" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereSheetProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereSheetProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereSheetProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",0,0)) SWIG_fail; - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbSphereSectionProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphereSectionProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphereSectionProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbSphereSectionProjector(float const,SbBool const)\n" - " SbSphereSectionProjector(float const)\n" - " SbSphereSectionProjector()\n" - " SbSphereSectionProjector(SbSphere const &,float const,SbBool const)\n" - " SbSphereSectionProjector(SbSphere const &,float const)\n" - " SbSphereSectionProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_copy" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (SbProjector *)((SbSphereSectionProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_project" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereSectionProjector_setTolerance" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setTolerance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getTolerance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (float)((SbSphereSectionProjector const *)arg1)->getTolerance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setRadialFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadialFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setRadialFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - (arg1)->setRadialFactor(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphereSectionProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphereSectionProjector_setRadialFactor__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphereSectionProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbSphereSectionProjector_setRadialFactor__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbSphereSectionProjector_setRadialFactor'.\n" - " Possible C/C++ prototypes are:\n" - " setRadialFactor(SbSphereSectionProjector *,float const)\n" - " setRadialFactor(SbSphereSectionProjector *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getRadialFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getRadialFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (float)((SbSphereSectionProjector const *)arg1)->getRadialFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_isWithinTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_isWithinTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)(arg1)->isWithinTolerance((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereSectionProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereSectionProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereSectionProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",0,0)) SWIG_fail; - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbSpherePlaneProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSpherePlaneProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSpherePlaneProjector'.\n" - " Possible C/C++ prototypes are:\n" - " SbSpherePlaneProjector(float const,SbBool const)\n" - " SbSpherePlaneProjector(float const)\n" - " SbSpherePlaneProjector()\n" - " SbSpherePlaneProjector(SbSphere const &,float const,SbBool const)\n" - " SbSpherePlaneProjector(SbSphere const &,float const)\n" - " SbSpherePlaneProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_copy" "', argument " "1"" of type '" "SbSpherePlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - result = (SbProjector *)((SbSpherePlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_project" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSpherePlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSpherePlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSpherePlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSpherePlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClipCallback *arg1 = (SbClipCallback *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbClip" "', argument " "1"" of type '" "SbClipCallback *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbClip" "', argument " "2"" of type '" "void *""'"); - } - result = (SbClip *)new SbClip(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClipCallback *arg1 = (SbClipCallback *) 0 ; - PyObject * obj0 = 0 ; - SbClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",1,1,&obj0)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbClip" "', argument " "1"" of type '" "SbClipCallback *""'"); - } - } - result = (SbClip *)new SbClip(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",0,0)) SWIG_fail; - result = (SbClip *)new SbClip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbClip__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbClip__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbClip__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbClip'.\n" - " Possible C/C++ prototypes are:\n" - " SbClip(SbClipCallback *,void *)\n" - " SbClip(SbClipCallback *)\n" - " SbClip()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_addVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_addVertex" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_addVertex" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addVertex((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_addVertex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_addVertex" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->addVertex((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_addVertex__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_addVertex__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbClip_addVertex'.\n" - " Possible C/C++ prototypes are:\n" - " addVertex(SbClip *,SbVec3f const &,void *)\n" - " addVertex(SbClip *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_reset" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_clip",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_clip" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_clip" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_clip" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->clip((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getNumVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getNumVertices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getNumVertices" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - result = (int)((SbClip const *)arg1)->getNumVertices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void **arg4 = (void **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertex",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertex" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbClip_getVertex" "', argument " "4"" of type '" "void **""'"); - } - arg4 = reinterpret_cast< void ** >(argp4); - ((SbClip const *)arg1)->getVertex(arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertex" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbClip const *)arg1)->getVertex(arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_getVertex__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_getVertex__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbClip_getVertex'.\n" - " Possible C/C++ prototypes are:\n" - " getVertex(SbClip const *,int const,SbVec3f &,void **)\n" - " getVertex(SbClip const *,int const,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertexData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertexData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertexData" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertexData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbClip const *)arg1)->getVertexData(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbClip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbClip",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbClip" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbClip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbClip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",0,0)) SWIG_fail; - result = (SbDPRotation *)new SbDPRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbDPRotation *)new SbDPRotation((SbVec3d const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - double temp1[4] ; - PyObject * obj0 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbDPRotation *)new SbDPRotation((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbDPRotation" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbDPRotation" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbDPRotation *)new SbDPRotation(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbDPMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbDPMatrix const &""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (SbDPRotation *)new SbDPRotation((SbDPMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPRotation *)new SbDPRotation((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPRotation__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPRotation__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPRotation__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPRotation'.\n" - " Possible C/C++ prototypes are:\n" - " SbDPRotation()\n" - " SbDPRotation(SbVec3d const &,double const)\n" - " SbDPRotation(double const [4])\n" - " SbDPRotation(double const,double const,double const,double const)\n" - " SbDPRotation(SbDPMatrix const &)\n" - " SbDPRotation(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getValue" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - result = (double *)((SbDPRotation const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPRotation_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPRotation_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - { - SbDPRotation &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3d(); - } - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getAxisAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getAxisAngle" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ((SbDPRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3d, 1); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbDPMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getMatrix" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ((SbDPRotation const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbDPMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_invert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_invert" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - SbDPRotation &_result_ref = (arg1)->invert(); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_inverse" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - result = ((SbDPRotation const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - convert_SbVec4d_array(obj1, temp2); - arg2 = temp2; - } - { - SbDPRotation &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbDPMatrix const &)*arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,arg3); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPRotation_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbDPRotation *,double const,double const,double const,double const)\n" - " setValue(SbDPRotation *,double const [4])\n" - " setValue(SbDPRotation *,SbDPMatrix const &)\n" - " setValue(SbDPRotation *,SbVec3d const &,double const)\n" - " setValue(SbDPRotation *,SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___imul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - { - SbDPRotation &_result_ref = (arg1)->operator *=((SbDPRotation const &)*arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___imul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbDPRotation &_result_ref = (arg1)->operator *=(arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPRotation___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbDPRotation *,SbDPRotation const &)\n" - " operator *=(SbDPRotation *,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_equals" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_equals" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_equals" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbDPRotation const *)arg1)->equals((SbDPRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_multVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_multVec",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_multVec" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_multVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_multVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPRotation_multVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_multVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPRotation const *)arg1)->multVec((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_scaleAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_scaleAngle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_scaleAngle" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation_scaleAngle" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleAngle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_slerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = 0 ; - SbDPRotation *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_slerp",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_slerp" "', argument " "1"" of type '" "SbDPRotation const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_slerp" "', argument " "1"" of type '" "SbDPRotation const &""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_slerp" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_slerp" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_slerp" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = SbDPRotation::slerp((SbDPRotation const &)*arg1,(SbDPRotation const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_identity",0,0)) SWIG_fail; - result = SbDPRotation::identity(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_output" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPRotation const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = SbDPRotation___mul____SWIG_0(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbDPRotation___mul____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPRotation___mul____SWIG_2(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___eq__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___eq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___eq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = (int)SbDPRotation___eq__(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___nq__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___nq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___nq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = (int)SbDPRotation___nq__(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPRotation" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",0,0)) SWIG_fail; - result = (SbDPMatrix *)new SbDPMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - double arg8 ; - double arg9 ; - double arg10 ; - double arg11 ; - double arg12 ; - double arg13 ; - double arg14 ; - double arg15 ; - double arg16 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - double val8 ; - int ecode8 = 0 ; - double val9 ; - int ecode9 = 0 ; - double val10 ; - int ecode10 = 0 ; - double val11 ; - int ecode11 = 0 ; - double val12 ; - int ecode12 = 0 ; - double val13 ; - int ecode13 = 0 ; - double val14 ; - int ecode14 = 0 ; - double val15 ; - int ecode15 = 0 ; - double val16 ; - int ecode16 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",16,16,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDPMatrix" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPMatrix" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbDPMatrix" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbDPMatrix" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbDPMatrix" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbDPMatrix" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SbDPMatrix" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - ecode8 = SWIG_AsVal_double(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SbDPMatrix" "', argument " "8"" of type '" "double""'"); - } - arg8 = static_cast< double >(val8); - ecode9 = SWIG_AsVal_double(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SbDPMatrix" "', argument " "9"" of type '" "double""'"); - } - arg9 = static_cast< double >(val9); - ecode10 = SWIG_AsVal_double(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_SbDPMatrix" "', argument " "10"" of type '" "double""'"); - } - arg10 = static_cast< double >(val10); - ecode11 = SWIG_AsVal_double(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_SbDPMatrix" "', argument " "11"" of type '" "double""'"); - } - arg11 = static_cast< double >(val11); - ecode12 = SWIG_AsVal_double(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SbDPMatrix" "', argument " "12"" of type '" "double""'"); - } - arg12 = static_cast< double >(val12); - ecode13 = SWIG_AsVal_double(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SbDPMatrix" "', argument " "13"" of type '" "double""'"); - } - arg13 = static_cast< double >(val13); - ecode14 = SWIG_AsVal_double(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SbDPMatrix" "', argument " "14"" of type '" "double""'"); - } - arg14 = static_cast< double >(val14); - ecode15 = SWIG_AsVal_double(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SbDPMatrix" "', argument " "15"" of type '" "double""'"); - } - arg15 = static_cast< double >(val15); - ecode16 = SWIG_AsVal_double(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "new_SbDPMatrix" "', argument " "16"" of type '" "double""'"); - } - arg16 = static_cast< double >(val16); - result = (SbDPMatrix *)new SbDPMatrix(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMat *arg1 = 0 ; - SbDPMat temp1 ; - PyObject * obj0 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",1,1,&obj0)) SWIG_fail; - { - convert_SbDPMat_array(obj0, temp1); - arg1 = &temp1; - } - result = (SbDPMatrix *)new SbDPMatrix((SbDPMat const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMat *arg1 = (SbDPMat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_a_4__a_4__double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPMatrix" "', argument " "1"" of type '" "SbDPMat const *""'"); - } - arg1 = reinterpret_cast< SbDPMat * >(argp1); - result = (SbDPMatrix *)new SbDPMatrix((SbDPMat const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbDPMatrix *result = 0 ; - - { - arg1 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",0,0)) SWIG_fail; - result = (SbDPMatrix *)new SbDPMatrix((SbMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - { - resultobj = SWIG_NewPointerObj((void *) arg1, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[17]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 16); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPMatrix__SWIG_0(self, args); - } - if (argc == 0) { - return _wrap_new_SbDPMatrix__SWIG_4(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_4__a_4__double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_2(self, args); - } - } - if (argc == 16) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPMatrix'.\n" - " Possible C/C++ prototypes are:\n" - " SbDPMatrix()\n" - " SbDPMatrix(double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const)\n" - " SbDPMatrix(SbDPMat const &)\n" - " SbDPMatrix(SbDPMat const *)\n" - " SbDPMatrix(SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPMatrix" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbDPMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setValue" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - convert_SbDPMat_array(obj1, temp2); - arg2 = &temp2; - } - (arg1)->setValue((SbDPMat const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getValue" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - SbDPMat const &_result_ref = ((SbDPMatrix const *)arg1)->getValue(); - result = (SbDPMat *) &_result_ref; - } - { - resultobj = Py_BuildValue("((ffff)(ffff)(ffff)(ffff))", - (double)(*result)[0][0], - (double)(*result)[0][1], - (double)(*result)[0][2], - (double)(*result)[0][3], - - (double)(*result)[1][0], - (double)(*result)[1][1], - (double)(*result)[1][2], - (double)(*result)[1][3], - - (double)(*result)[2][0], - (double)(*result)[2][1], - (double)(*result)[2][2], - (double)(*result)[2][3], - - (double)(*result)[3][0], - (double)(*result)[3][1], - (double)(*result)[3][2], - (double)(*result)[3][3]); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_makeIdentity" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - (arg1)->makeIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setRotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setRotate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setRotate" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setRotate" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setRotate" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - (arg1)->setRotate((SbDPRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_inverse" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = ((SbDPMatrix const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - int arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det3",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det3" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPMatrix_det3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPMatrix_det3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPMatrix_det3" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPMatrix_det3" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPMatrix_det3" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPMatrix_det3" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - result = (double)((SbDPMatrix const *)arg1)->det3(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det3" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (double)((SbDPMatrix const *)arg1)->det3(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_det3__SWIG_1(self, args); - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPMatrix_det3__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_det3'.\n" - " Possible C/C++ prototypes are:\n" - " det3(SbDPMatrix const *,int,int,int,int,int,int)\n" - " det3(SbDPMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det4" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (double)((SbDPMatrix const *)arg1)->det4(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_equals" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_equals" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_equals" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPMatrix_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbDPMatrix const *)arg1)->equals((SbDPMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___imul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___imul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___imul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->operator *=((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbDPMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getValue" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - convert_SbDPMat_array(obj1, temp2); - arg2 = &temp2; - } - ((SbDPMatrix const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbDPMatrix_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbDPMatrix const *)\n" - " getValue(SbDPMatrix const *,SbDPMat &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_identity",0,0)) SWIG_fail; - result = SbDPMatrix::identity(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setScale" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setScale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setScale" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setScale((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setScale__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPMatrix_setScale__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_setScale'.\n" - " Possible C/C++ prototypes are:\n" - " setScale(SbDPMatrix *,double const)\n" - " setScale(SbDPMatrix *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTranslate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTranslate" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setTranslate((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4,(SbDPRotation const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - SbVec3d *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_setTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - arg6 = reinterpret_cast< SbVec3d * >(argp6); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4,(SbDPRotation const &)*arg5,(SbVec3d const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_0(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_2(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_setTransform'.\n" - " Possible C/C++ prototypes are:\n" - " setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &)\n" - " setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &,SbDPRotation const &)\n" - " setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &,SbDPRotation const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getTransform" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - ((SbDPMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - SbVec3d *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getTransform" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_getTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - arg6 = reinterpret_cast< SbVec3d * >(argp6); - ((SbDPMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5,(SbVec3d const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getTransform__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getTransform__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_getTransform'.\n" - " Possible C/C++ prototypes are:\n" - " getTransform(SbDPMatrix const *,SbVec3d &,SbDPRotation &,SbVec3d &,SbDPRotation &)\n" - " getTransform(SbDPMatrix const *,SbVec3d &,SbDPRotation &,SbVec3d &,SbDPRotation &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_factor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbDPMatrix *arg4 = 0 ; - SbVec3d *arg5 = 0 ; - SbDPMatrix *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_factor",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_factor" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_factor" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_factor" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_factor" "', argument " "4"" of type '" "SbDPMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "4"" of type '" "SbDPMatrix &""'"); - } - arg4 = reinterpret_cast< SbDPMatrix * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_factor" "', argument " "5"" of type '" "SbVec3d &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "5"" of type '" "SbVec3d &""'"); - } - arg5 = reinterpret_cast< SbVec3d * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_factor" "', argument " "6"" of type '" "SbDPMatrix &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "6"" of type '" "SbDPMatrix &""'"); - } - arg6 = reinterpret_cast< SbDPMatrix * >(argp6); - result = (SbBool)(arg1)->factor(*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_LUDecomposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int *arg2 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_LUDecomposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_LUDecomposition" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - result = (SbBool)(arg1)->LUDecomposition(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_LUBackSubstitution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int *arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_LUBackSubstitution",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "3"" of type '" "double [4]""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbDPMatrix const *)arg1)->LUBackSubstitution(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_transpose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_transpose" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = ((SbDPMatrix const *)arg1)->transpose(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multRight" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multRight" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multRight" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->multRight((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multLeft" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multLeft" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLeft" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->multLeft((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multMatrixVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multMatrixVec",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multMatrixVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multMatrixVec((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multVecMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multVecMatrix((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multDirMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multDirMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multDirMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multDirMatrix((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multLineMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPLine *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multLineMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLineMatrix" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLineMatrix" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - ((SbDPMatrix const *)arg1)->multLineMatrix((SbDPLine const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multVecMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec4d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec4d &""'"); - } - arg3 = reinterpret_cast< SbVec4d * >(argp3); - ((SbDPMatrix const *)arg1)->multVecMatrix((SbVec4d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_multVecMatrix__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_multVecMatrix__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_multVecMatrix'.\n" - " Possible C/C++ prototypes are:\n" - " multVecMatrix(SbDPMatrix const *,SbVec3d const &,SbVec3d &)\n" - " multVecMatrix(SbDPMatrix const *,SbVec4d const &,SbVec4d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_output" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPMatrix const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___mul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbDPMatrix___mul____SWIG_0(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___mul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPMatrix___mul____SWIG_1(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___rmul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___rmul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___rmul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPMatrix___rmul__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___eq__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___eq__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___eq__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = (int)SbDPMatrix___eq__(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___ne__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___ne__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___ne__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = (int)SbDPMatrix___ne__(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPLine",0,0)) SWIG_fail; - result = (SbDPLine *)new SbDPLine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPLine" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPLine" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPLine" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPLine" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPLine *)new SbDPLine((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPLine__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPLine__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPLine'.\n" - " Possible C/C++ prototypes are:\n" - " SbDPLine()\n" - " SbDPLine(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_setValue" "', argument " "1"" of type '" "SbDPLine *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPLine_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getClosestPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbDPLine *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getClosestPoints",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getClosestPoints" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_getClosestPoints" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - result = (SbBool)((SbDPLine const *)arg1)->getClosestPoints((SbDPLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3d result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getClosestPoint" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = ((SbDPLine const *)arg1)->getClosestPoint((SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getPosition" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPLine const *)arg1)->getPosition(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getDirection" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPLine const *)arg1)->getDirection(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_output" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPLine const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPLine" "', argument " "1"" of type '" "SbDPLine *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",0,0)) SWIG_fail; - result = (SbDPPlane *)new SbDPPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbDPPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbDPPlane" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,(SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbDPPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPPlane__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPPlane__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPPlane__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPPlane__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPPlane'.\n" - " Possible C/C++ prototypes are:\n" - " SbDPPlane()\n" - " SbDPPlane(SbVec3d const &,double const)\n" - " SbDPPlane(SbVec3d const &,SbVec3d const &,SbVec3d const &)\n" - " SbDPPlane(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_offset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_offset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_offset" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPPlane_offset" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->offset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPLine *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_intersect" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - result = (SbBool)((SbDPPlane const *)arg1)->intersect((SbDPLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbDPMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_transform" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - (arg1)->transform((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbDPMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_isInHalfSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_isInHalfSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_isInHalfSpace" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbBool)((SbDPPlane const *)arg1)->isInHalfSpace((SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getDistance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getDistance" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_getDistance" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_getDistance" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (double)((SbDPPlane const *)arg1)->getDistance((SbVec3d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getNormal" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPPlane const *)arg1)->getNormal(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getDistanceFromOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getDistanceFromOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getDistanceFromOrigin" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - result = (double)((SbDPPlane const *)arg1)->getDistanceFromOrigin(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_output" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPPlane const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_intersect" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - result = (SbBool)((SbDPPlane const *)arg1)->intersect((SbDPPlane const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPPlane_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPPlane_intersect__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPPlane_intersect'.\n" - " Possible C/C++ prototypes are:\n" - " intersect(SbDPPlane const *,SbDPLine const &,SbVec3d &)\n" - " intersect(SbDPPlane const *,SbDPPlane const &,SbDPLine &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane___eq__" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane___eq__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane___eq__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - result = (int)SbDPPlane___eq__(arg1,(SbDPPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane___ne__" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane___ne__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane___ne__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - result = (int)SbDPPlane___ne__(arg1,(SbDPPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPPlane" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_eval_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - float (*arg2)(void *) = (float (*)(void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_eval_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_eval_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__float); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_eval_func_set" "', argument " "2"" of type '" "float (*)(void *)""'"); - } - } - if (arg1) (arg1)->eval_func = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_eval_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float (*result)(void *) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_eval_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_eval_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (float (*)(void *)) ((arg1)->eval_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__float); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_get_index_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - int (*arg2)(void *) = (int (*)(void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_get_index_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_get_index_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_get_index_func_set" "', argument " "2"" of type '" "int (*)(void *)""'"); - } - } - if (arg1) (arg1)->get_index_func = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_get_index_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int (*result)(void *) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_get_index_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_get_index_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (int (*)(void *)) ((arg1)->get_index_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_set_index_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void (*arg2)(void *,int) = (void (*)(void *,int)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_set_index_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_set_index_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_set_index_func_set" "', argument " "2"" of type '" "void (*)(void *,int)""'"); - } - } - if (arg1) (arg1)->set_index_func = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_set_index_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void (*result)(void *,int) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_set_index_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_set_index_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (void (*)(void *,int)) ((arg1)->set_index_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_int__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeapFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeapFuncs",0,0)) SWIG_fail; - result = (SbHeapFuncs *)new SbHeapFuncs(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeapFuncs, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbHeapFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbHeapFuncs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbHeapFuncs" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbHeapFuncs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbHeapFuncs, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbHeap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbHeap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeap",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbHeapFuncs, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbHeap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbHeap *)new SbHeap((SbHeapFuncs const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeap, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbHeap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbHeapFuncs, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (SbHeap *)new SbHeap((SbHeapFuncs const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeap, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeap(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbHeapFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbHeap__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbHeapFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbHeap__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbHeap'.\n" - " Possible C/C++ prototypes are:\n" - " SbHeap(SbHeapFuncs const &,int const)\n" - " SbHeap(SbHeapFuncs const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_emptyHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_emptyHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_emptyHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - (arg1)->emptyHeap(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_size",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_size" "', argument " "1"" of type '" "SbHeap const *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (int)((SbHeap const *)arg1)->size(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_add" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_add" "', argument " "2"" of type '" "void *""'"); - } - result = (int)(arg1)->add(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_remove" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbHeap_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_remove" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_remove" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_remove__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbHeap_remove__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_remove'.\n" - " Possible C/C++ prototypes are:\n" - " remove(SbHeap *,int const)\n" - " remove(SbHeap *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_extractMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_extractMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_extractMin" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (void *)(arg1)->extractMin(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_getMin" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (void *)(arg1)->getMin(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_newWeight",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_newWeight" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_newWeight" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbHeap_newWeight" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->newWeight(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_newWeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_newWeight" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_newWeight" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->newWeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_newWeight__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbHeap_newWeight__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_newWeight'.\n" - " Possible C/C++ prototypes are:\n" - " newWeight(SbHeap *,void *,int)\n" - " newWeight(SbHeap *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(float,void *) = (SbBool (*)(float,void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_float_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_buildHeap" "', argument " "2"" of type '" "SbBool (*)(float,void *)""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - result = (SbBool)(arg1)->buildHeap(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(float,void *) = (SbBool (*)(float,void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_float_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_buildHeap" "', argument " "2"" of type '" "SbBool (*)(float,void *)""'"); - } - } - result = (SbBool)(arg1)->buildHeap(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (SbBool)(arg1)->buildHeap(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_float_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_float_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_buildHeap'.\n" - " Possible C/C++ prototypes are:\n" - " buildHeap(SbHeap *,SbBool (*)(float,void *),void *)\n" - " buildHeap(SbHeap *,SbBool (*)(float,void *))\n" - " buildHeap(SbHeap *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_traverseHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(void *,void *) = (SbBool (*)(void *,void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_traverseHeap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_traverseHeap" "', argument " "1"" of type '" "SbHeap const *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_traverseHeap" "', argument " "2"" of type '" "SbBool (*)(void *,void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbHeap_traverseHeap" "', argument " "3"" of type '" "void *""'"); - } - result = (SbBool)((SbHeap const *)arg1)->traverseHeap(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbHeap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbHeap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",0,0)) SWIG_fail; - result = (SbImage *)new SbImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned char *arg1 = (unsigned char *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - PyObject * obj0 = 0 ; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",1,1,&obj0)) SWIG_fail; - { - unsigned char * image; - PyObject * buf = obj0; - PyObject * vec2s = obj0; - PyObject * nc = obj0; - - if ((SWIG_ConvertPtr(vec2s, (void **) &arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg1 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - result = (SbImage *)new SbImage((unsigned char const *)arg1,(SbVec2s const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned char *arg1 = (unsigned char *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - PyObject * obj0 = 0 ; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",1,1,&obj0)) SWIG_fail; - { - unsigned char * image; - PyObject * buf = obj0; - PyObject * vec3s = obj0; - PyObject * nc = obj0; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg1 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - result = (SbImage *)new SbImage((unsigned char const *)arg1,(SbVec3s const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbImage__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 1) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - } - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 1) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbImage'.\n" - " Possible C/C++ prototypes are:\n" - " SbImage()\n" - " SbImage(unsigned char const *,SbVec2s const &,int const)\n" - " SbImage(unsigned char const *,SbVec3s const &,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbImage" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec2s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec2s, (void **)&arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec3s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * ((*arg2)[2] ? (*arg2)[2] : 1) * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValue((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - } - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbImage *,SbVec2s const &,int const,unsigned char const *)\n" - " setValue(SbImage *,SbVec3s const &,int const,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValuePtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValuePtr" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec2s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec2s, (void **)&arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValuePtr((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValuePtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValuePtr" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec3s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * ((*arg2)[2] ? (*arg2)[2] : 1) * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValuePtr((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - } - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_setValuePtr'.\n" - " Possible C/C++ prototypes are:\n" - " setValuePtr(SbImage *,SbVec2s const &,int const,unsigned char const *)\n" - " setValuePtr(SbImage *,SbVec3s const &,int const,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SbImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SbImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getSize" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = ((SbImage const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - SbString **arg3 = (SbString **) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_readFile" "', argument " "3"" of type '" "SbString const *const *""'"); - } - arg3 = reinterpret_cast< SbString ** >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbImage_readFile" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (SbBool)(arg1)->readFile((SbString const &)*arg2,(SbString const *const *)arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - SbString **arg3 = (SbString **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_readFile" "', argument " "3"" of type '" "SbString const *const *""'"); - } - arg3 = reinterpret_cast< SbString ** >(argp3); - result = (SbBool)(arg1)->readFile((SbString const &)*arg2,(SbString const *const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->readFile((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbImage_readFile__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_readFile__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbImage_readFile__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_readFile'.\n" - " Possible C/C++ prototypes are:\n" - " readFile(SbImage *,SbString const &,SbString const *const *,int const)\n" - " readFile(SbImage *,SbString const &,SbString const *const *)\n" - " readFile(SbImage *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage___eq__" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage___eq__" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage___eq__" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - result = (int)((SbImage const *)arg1)->operator ==((SbImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage___ne__" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage___ne__" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage___ne__" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - result = (int)((SbImage const *)arg1)->operator !=((SbImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_addReadImageCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImageReadImageCB *arg1 = (SbImageReadImageCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_addReadImageCB",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_addReadImageCB" "', argument " "1"" of type '" "SbImageReadImageCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_addReadImageCB" "', argument " "2"" of type '" "void *""'"); - } - SbImage::addReadImageCB(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_removeReadImageCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImageReadImageCB *arg1 = (SbImageReadImageCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_removeReadImageCB",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_removeReadImageCB" "', argument " "1"" of type '" "SbImageReadImageCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_removeReadImageCB" "', argument " "2"" of type '" "void *""'"); - } - SbImage::removeReadImageCB(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_searchForFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString **arg2 = (SbString **) 0 ; - int arg3 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_searchForFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_searchForFile" "', argument " "2"" of type '" "SbString const *const *""'"); - } - arg2 = reinterpret_cast< SbString ** >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbImage_searchForFile" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = SbImage::searchForFile((SbString const &)*arg1,(SbString const *const *)arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_hasData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_hasData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_hasData" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = (SbBool)((SbImage const *)arg1)->hasData(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readLock" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - ((SbImage const *)arg1)->readLock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readUnlock" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - ((SbImage const *)arg1)->readUnlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - SbString **arg5 = (SbString **) 0 ; - int arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbImage_scheduleReadFile" "', argument " "5"" of type '" "SbString const *const *""'"); - } - arg5 = reinterpret_cast< SbString ** >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbImage_scheduleReadFile" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4,(SbString const *const *)arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - SbString **arg5 = (SbString **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbImage_scheduleReadFile" "', argument " "5"" of type '" "SbString const *const *""'"); - } - arg5 = reinterpret_cast< SbString ** >(argp5); - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4,(SbString const *const *)arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_scheduleReadFile'.\n" - " Possible C/C++ prototypes are:\n" - " scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &,SbString const *const *,int const)\n" - " scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &,SbString const *const *)\n" - " scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = (PyObject *)SbImage_getValue__SWIG_2(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_2(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbImage const *,SbVec2s &,int &)\n" - " getValue(SbImage const *,SbVec3s &,int &)\n" - " getValue(SbImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_ptinsidefunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbVec3f const &) = (SbBool (*)(void *const,SbVec3f const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_ptinsidefunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_ptinsidefunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_ptinsidefunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbVec3f const &)""'"); - } - } - if (arg1) (arg1)->ptinsidefunc = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_ptinsidefunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool (*result)(void *const,SbVec3f const &) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_ptinsidefunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_ptinsidefunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbVec3f const &)) ((arg1)->ptinsidefunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideboxfunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbBox3f const &) = (SbBool (*)(void *const,SbBox3f const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideboxfunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideboxfunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insideboxfunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbBox3f const &)""'"); - } - } - if (arg1) (arg1)->insideboxfunc = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideboxfunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool (*result)(void *const,SbBox3f const &) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideboxfunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideboxfunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbBox3f const &)) ((arg1)->insideboxfunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insidespherefunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbSphere const &) = (SbBool (*)(void *const,SbSphere const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insidespherefunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insidespherefunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insidespherefunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbSphere const &)""'"); - } - } - if (arg1) (arg1)->insidespherefunc = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insidespherefunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool (*result)(void *const,SbSphere const &) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insidespherefunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insidespherefunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbSphere const &)) ((arg1)->insidespherefunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideplanesfunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbPlane const *const,int const) = (SbBool (*)(void *const,SbPlane const *const,int const)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideplanesfunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideplanesfunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insideplanesfunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbPlane const *const,int const)""'"); - } - } - if (arg1) (arg1)->insideplanesfunc = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideplanesfunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool (*result)(void *const,SbPlane const *const,int const) = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideplanesfunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideplanesfunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbPlane const *const,int const)) ((arg1)->insideplanesfunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTreeFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTreeFuncs",0,0)) SWIG_fail; - result = (SbOctTreeFuncs *)new SbOctTreeFuncs(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTreeFuncs, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbOctTreeFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbOctTreeFuncs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbOctTreeFuncs" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbOctTreeFuncs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbOctTreeFuncs, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbOctTree__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - SbOctTreeFuncs *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbOctTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTree",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbOctTreeFuncs, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - arg2 = reinterpret_cast< SbOctTreeFuncs * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbOctTree" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbOctTree *)new SbOctTree((SbBox3f const &)*arg1,(SbOctTreeFuncs const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTree__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - SbOctTreeFuncs *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbOctTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTree",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbOctTreeFuncs, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - arg2 = reinterpret_cast< SbOctTreeFuncs * >(argp2); - result = (SbOctTree *)new SbOctTree((SbBox3f const &)*arg1,(SbOctTreeFuncs const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTree(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbOctTreeFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbOctTree__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbOctTreeFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbOctTree__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbOctTree'.\n" - " Possible C/C++ prototypes are:\n" - " SbOctTree(SbBox3f const &,SbOctTreeFuncs const &,int const)\n" - " SbOctTree(SbBox3f const &,SbOctTreeFuncs const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbOctTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbOctTree",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbOctTree" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_addItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *arg2 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_addItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_addItem" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_addItem" "', argument " "2"" of type '" "void *const""'"); - } - (arg1)->addItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *arg2 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_removeItem" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_removeItem" "', argument " "2"" of type '" "void *const""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbVec3f *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbVec3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbVec3f *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbBox3f *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbBox3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbBox3f *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbSphere const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList< void * > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList< void * > &""'"); - } - arg3 = reinterpret_cast< SbList< void * > * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbPlane *arg2 = (SbPlane *) (SbPlane *)0 ; - int arg3 ; - SbList< void * > *arg4 = 0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbPlane const *const""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList< void * > &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList< void * > &""'"); - } - arg4 = reinterpret_cast< SbList< void * > * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbOctTree_findItems" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - ((SbOctTree const *)arg1)->findItems((SbPlane const *)arg2,arg3,*arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbPlane *arg2 = (SbPlane *) (SbPlane *)0 ; - int arg3 ; - SbList< void * > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbPlane const *const""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbListT_void_p_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList< void * > &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList< void * > &""'"); - } - arg4 = reinterpret_cast< SbList< void * > * >(argp4); - ((SbOctTree const *)arg1)->findItems((SbPlane const *)arg2,arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_3(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_5(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_4(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_7(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbListT_void_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_6(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbOctTree_findItems'.\n" - " Possible C/C++ prototypes are:\n" - " findItems(SbOctTree const *,SbVec3f const &,SbList< void * > &,SbBool const)\n" - " findItems(SbOctTree const *,SbVec3f const &,SbList< void * > &)\n" - " findItems(SbOctTree const *,SbBox3f const &,SbList< void * > &,SbBool const)\n" - " findItems(SbOctTree const *,SbBox3f const &,SbList< void * > &)\n" - " findItems(SbOctTree const *,SbSphere const &,SbList< void * > &,SbBool const)\n" - " findItems(SbOctTree const *,SbSphere const &,SbList< void * > &)\n" - " findItems(SbOctTree const *,SbPlane const *const,int const,SbList< void * > &,SbBool const)\n" - " findItems(SbOctTree const *,SbPlane const *const,int const,SbList< void * > &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_getBoundingBox" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - { - SbBox3f const &_result_ref = ((SbOctTree const *)arg1)->getBoundingBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_clear" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_debugTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_debugTree",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_debugTree" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->debugTree(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbOctTree_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbOctTree, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselatorCB *arg1 = (SbTesselatorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTesselator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbTesselator" "', argument " "1"" of type '" "SbTesselatorCB *""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SbTesselator *)new SbTesselator(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselatorCB *arg1 = (SbTesselatorCB *) 0 ; - PyObject * obj0 = 0 ; - SbTesselator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",1,1,&obj0)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbTesselator" "', argument " "1"" of type '" "SbTesselatorCB *""'"); - } - } - result = (SbTesselator *)new SbTesselator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",0,0)) SWIG_fail; - result = (SbTesselator *)new SbTesselator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTesselator__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTesselator__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbTesselator__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTesselator'.\n" - " Possible C/C++ prototypes are:\n" - " SbTesselator(SbTesselatorCB *,void *)\n" - " SbTesselator(SbTesselatorCB *)\n" - " SbTesselator()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTesselator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTesselator",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTesselator" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbBool arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTesselator_beginPolygon" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTesselator_beginPolygon" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTesselator_beginPolygon" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->beginPolygon(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTesselator_beginPolygon" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->beginPolygon(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - (arg1)->beginPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTesselator_beginPolygon'.\n" - " Possible C/C++ prototypes are:\n" - " beginPolygon(SbTesselator *,SbBool,SbVec3f const &)\n" - " beginPolygon(SbTesselator *,SbBool)\n" - " beginPolygon(SbTesselator *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_addVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_addVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_addVertex" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTesselator_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTesselator_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addVertex((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_endPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_endPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_endPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - (arg1)->endPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbTesselatorCB *arg2 = (SbTesselatorCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_setCallback" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbTesselator_setCallback" "', argument " "2"" of type '" "SbTesselatorCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->setCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTesselator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTesselator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTimerQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerQueueSensor",0,0)) SWIG_fail; - result = (SoTimerQueueSensor *)new SoTimerQueueSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimerQueueSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTimerQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerQueueSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoTimerQueueSensor *)new SoTimerQueueSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTimerQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTimerQueueSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTimerQueueSensor" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_getTriggerTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_getTriggerTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_getTriggerTime" "', argument " "1"" of type '" "SoTimerQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerQueueSensor const *)arg1)->getTriggerTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_schedule" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_unschedule" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_isScheduled" "', argument " "1"" of type '" "SoTimerQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - result = (SbBool)((SoTimerQueueSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_trigger" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTimerQueueSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimerQueueSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoAlarmSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAlarmSensor",0,0)) SWIG_fail; - result = (SoAlarmSensor *)new SoAlarmSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAlarmSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoAlarmSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAlarmSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoAlarmSensor *)new SoAlarmSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAlarmSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAlarmSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAlarmSensor" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_setTime" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setTime((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_setTimeFromNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_setTimeFromNow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_setTimeFromNow" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setTimeFromNow((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_getTime" "', argument " "1"" of type '" "SoAlarmSensor const *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - SbTime const &_result_ref = ((SoAlarmSensor const *)arg1)->getTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_schedule" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAlarmSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAlarmSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoIdleSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIdleSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIdleSensor",0,0)) SWIG_fail; - result = (SoIdleSensor *)new SoIdleSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIdleSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoIdleSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIdleSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoIdleSensor *)new SoIdleSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIdleSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIdleSensor *arg1 = (SoIdleSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIdleSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIdleSensor" "', argument " "1"" of type '" "SoIdleSensor *""'"); - } - arg1 = reinterpret_cast< SoIdleSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIdleSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIdleSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNodeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeSensor",0,0)) SWIG_fail; - result = (SoNodeSensor *)new SoNodeSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNodeSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoNodeSensor *)new SoNodeSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeSensor" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_attach" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeSensor_attach" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_detach" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_getAttachedNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_getAttachedNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_getAttachedNode" "', argument " "1"" of type '" "SoNodeSensor const *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - result = (SoNode *)((SoNodeSensor const *)arg1)->getAttachedNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOneShotSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShotSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShotSensor",0,0)) SWIG_fail; - result = (SoOneShotSensor *)new SoOneShotSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOneShotSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoOneShotSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShotSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoOneShotSensor *)new SoOneShotSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOneShotSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShotSensor *arg1 = (SoOneShotSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOneShotSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOneShotSensor" "', argument " "1"" of type '" "SoOneShotSensor *""'"); - } - arg1 = reinterpret_cast< SoOneShotSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOneShotSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOneShotSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPathSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSensor",0,0)) SWIG_fail; - result = (SoPathSensor *)new SoPathSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoPathSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoPathSensor *)new SoPathSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPathSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPathSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPathSensor" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_setTriggerFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPathSensor::TriggerFilter arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_setTriggerFilter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_setTriggerFilter" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathSensor_setTriggerFilter" "', argument " "2"" of type '" "SoPathSensor::TriggerFilter""'"); - } - arg2 = static_cast< SoPathSensor::TriggerFilter >(val2); - (arg1)->setTriggerFilter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_getTriggerFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPathSensor::TriggerFilter result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_getTriggerFilter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_getTriggerFilter" "', argument " "1"" of type '" "SoPathSensor const *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - result = (SoPathSensor::TriggerFilter)((SoPathSensor const *)arg1)->getTriggerFilter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_attach" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSensor_attach" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_detach" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_getAttachedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_getAttachedPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_getAttachedPath" "', argument " "1"" of type '" "SoPathSensor const *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - result = (SoPath *)((SoPathSensor const *)arg1)->getAttachedPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerSensor",0,0)) SWIG_fail; - result = (SoTimerSensor *)new SoTimerSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimerSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoTimerSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoTimerSensor *)new SoTimerSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTimerSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTimerSensor" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_setBaseTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_setBaseTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_setBaseTime" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setBaseTime((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_getBaseTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_getBaseTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_getBaseTime" "', argument " "1"" of type '" "SoTimerSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerSensor const *)arg1)->getBaseTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_setInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_setInterval",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_setInterval" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setInterval((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_getInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_getInterval",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_getInterval" "', argument " "1"" of type '" "SoTimerSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerSensor const *)arg1)->getInterval(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_schedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_unschedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_reschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_reschedule",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_reschedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->reschedule((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoTimerSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimerSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInteraction_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteraction_init",0,0)) SWIG_fail; - SoInteraction::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInteraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteraction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInteraction",0,0)) SWIG_fail; - result = (SoInteraction *)new SoInteraction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInteraction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoInteraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteraction *arg1 = (SoInteraction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoInteraction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteraction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoInteraction" "', argument " "1"" of type '" "SoInteraction *""'"); - } - arg1 = reinterpret_cast< SoInteraction * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInteraction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInteraction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOffscreenRenderer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoOffscreenRenderer *)new SoOffscreenRenderer((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOffscreenRenderer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SoOffscreenRenderer *)new SoOffscreenRenderer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOffscreenRenderer__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOffscreenRenderer__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoOffscreenRenderer'.\n" - " Possible C/C++ prototypes are:\n" - " SoOffscreenRenderer(SbViewportRegion const &)\n" - " SoOffscreenRenderer(SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOffscreenRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOffscreenRenderer" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getScreenPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getScreenPixelsPerInch",0,0)) SWIG_fail; - result = (float)SoOffscreenRenderer::getScreenPixelsPerInch(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getMaximumResolution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getMaximumResolution",0,0)) SWIG_fail; - result = SoOffscreenRenderer::getMaximumResolution(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoOffscreenRenderer::Components arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setComponents",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setComponents" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_setComponents" "', argument " "2"" of type '" "SoOffscreenRenderer::Components""'"); - } - arg2 = static_cast< SoOffscreenRenderer::Components >(val2); - (arg1)->setComponents(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoOffscreenRenderer::Components result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getComponents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getComponents" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (SoOffscreenRenderer::Components)((SoOffscreenRenderer const *)arg1)->getComponents(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getViewportRegion" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoOffscreenRenderer const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBackgroundColor" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - SbColor const &_result_ref = ((SoOffscreenRenderer const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setGLRenderAction" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getGLRenderAction" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (SoGLRenderAction *)((SoOffscreenRenderer const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_render" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_render" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)(arg1)->render(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_render" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_render" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->render(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_render__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_render__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_render'.\n" - " Possible C/C++ prototypes are:\n" - " render(SoOffscreenRenderer *,SoNode *)\n" - " render(SoOffscreenRenderer *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBuffer" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (unsigned char *)((SoOffscreenRenderer const *)arg1)->getBuffer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getDC",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getDC" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - void const *const &_result_ref = ((SoOffscreenRenderer const *)arg1)->getDC(); - result = (void **) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToRGB(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToRGB((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToRGB__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToRGB__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_writeToRGB'.\n" - " Possible C/C++ prototypes are:\n" - " writeToRGB(SoOffscreenRenderer const *,FILE *)\n" - " writeToRGB(SoOffscreenRenderer const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript((char const *)arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_writeToPostScript'.\n" - " Possible C/C++ prototypes are:\n" - " writeToPostScript(SoOffscreenRenderer const *,FILE *)\n" - " writeToPostScript(SoOffscreenRenderer const *,FILE *,SbVec2f const &)\n" - " writeToPostScript(SoOffscreenRenderer const *,char const *)\n" - " writeToPostScript(SoOffscreenRenderer const *,char const *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_isWriteSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_isWriteSupported",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_isWriteSupported" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->isWriteSupported((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getNumWriteFiletypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getNumWriteFiletypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getNumWriteFiletypes" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (int)((SoOffscreenRenderer const *)arg1)->getNumWriteFiletypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - int arg2 ; - SbPList *arg3 = 0 ; - SbString *arg4 = 0 ; - SbString *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getWriteFiletypeInfo",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbString(PyString_AsString(obj4)); - } else { - SbString * tmp = NULL; - arg5 = new SbString; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg5 = *tmp; - } - } - (arg1)->getWriteFiletypeInfo(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbString *arg2 = 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToFile" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToFile((SbString const &)*arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setPbufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setPbufferEnable",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setPbufferEnable" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_setPbufferEnable" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPbufferEnable(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getPbufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getPbufferEnable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getPbufferEnable" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->getPbufferEnable(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - int arg2 ; - SbList< SbName > *arg3 = 0 ; - SbString *arg4 = 0 ; - SbString *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getWriteFiletypeInfo",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListT_SbName_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbList< SbName > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbList< SbName > &""'"); - } - arg3 = reinterpret_cast< SbList< SbName > * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbString(PyString_AsString(obj4)); - } else { - SbString * tmp = NULL; - arg5 = new SbString; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg5 = *tmp; - } - } - (arg1)->getWriteFiletypeInfo(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[4]) && (SWIG_ConvertPtr(argv[4], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListT_SbName_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[4]) && (SWIG_ConvertPtr(argv[4], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_getWriteFiletypeInfo'.\n" - " Possible C/C++ prototypes are:\n" - " getWriteFiletypeInfo(SoOffscreenRenderer *,int const,SbPList &,SbString &,SbString &)\n" - " getWriteFiletypeInfo(SoOffscreenRenderer *,int const,SbList< SbName > &,SbString &,SbString &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBuffer" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (PyObject *)SoOffscreenRenderer_getBuffer__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_getBuffer__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_getBuffer__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_getBuffer'.\n" - " Possible C/C++ prototypes are:\n" - " getBuffer(SoOffscreenRenderer const *)\n" - " getBuffer(SoOffscreenRenderer *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoOffscreenRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOffscreenRenderer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPickedPoint, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint const &""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPickedPoint *)new SoPickedPoint((SoPickedPoint const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) (SoPath *)0 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPath const *const""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoPickedPoint" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SoPickedPoint" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPoint" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SoPickedPoint *)new SoPickedPoint((SoPath const *)arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPoint__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPoint__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPickedPoint'.\n" - " Possible C/C++ prototypes are:\n" - " SoPickedPoint(SoPickedPoint const &)\n" - " SoPickedPoint(SoPath const *const,SoState *const,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPickedPoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_copy" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPickedPoint *)((SoPickedPoint const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec3f const &_result_ref = ((SoPickedPoint const *)arg1)->getPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec3f const &_result_ref = ((SoPickedPoint const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec4f const &_result_ref = ((SoPickedPoint const *)arg1)->getTextureCoords(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getMaterialIndex" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (int)((SoPickedPoint const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getPath" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPath *)((SoPickedPoint const *)arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_isOnGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_isOnGeometry",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_isOnGeometry" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SbBool)((SoPickedPoint const *)arg1)->isOnGeometry(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getDetail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getDetail" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getDetail" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SoDetail *)((SoPickedPoint const *)arg1)->getDetail((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getDetail" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoDetail *)((SoPickedPoint const *)arg1)->getDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getDetail__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getDetail__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getDetail'.\n" - " Possible C/C++ prototypes are:\n" - " getDetail(SoPickedPoint const *,SoNode const *const)\n" - " getDetail(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToWorld",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToWorld((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToWorld",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToWorld(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToWorld__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToWorld__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectToWorld'.\n" - " Possible C/C++ prototypes are:\n" - " getObjectToWorld(SoPickedPoint const *,SoNode const *const)\n" - " getObjectToWorld(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getWorldToObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getWorldToObject((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getWorldToObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getWorldToObject(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getWorldToObject__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getWorldToObject__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getWorldToObject'.\n" - " Possible C/C++ prototypes are:\n" - " getWorldToObject(SoPickedPoint const *,SoNode const *const)\n" - " getWorldToObject(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToImage((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToImage(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToImage__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToImage__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectToImage'.\n" - " Possible C/C++ prototypes are:\n" - " getObjectToImage(SoPickedPoint const *,SoNode const *const)\n" - " getObjectToImage(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getImageToObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getImageToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getImageToObject" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getImageToObject((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getImageToObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getImageToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getImageToObject(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getImageToObject__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getImageToObject__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getImageToObject'.\n" - " Possible C/C++ prototypes are:\n" - " getImageToObject(SoPickedPoint const *,SoNode const *const)\n" - " getImageToObject(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectPoint((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectPoint__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectPoint__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectPoint'.\n" - " Possible C/C++ prototypes are:\n" - " getObjectPoint(SoPickedPoint const *,SoNode const *const)\n" - " getObjectPoint(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectNormal((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectNormal(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectNormal__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectNormal__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectNormal'.\n" - " Possible C/C++ prototypes are:\n" - " getObjectNormal(SoPickedPoint const *,SoNode const *const)\n" - " getObjectNormal(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectTextureCoords((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectTextureCoords(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectTextureCoords__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectTextureCoords__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectTextureCoords'.\n" - " Possible C/C++ prototypes are:\n" - " getObjectTextureCoords(SoPickedPoint const *,SoNode const *const)\n" - " getObjectTextureCoords(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setObjectNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setObjectNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setObjectNormal" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setObjectNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickedPoint_setObjectNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setObjectNormal((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setObjectTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setObjectTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setObjectTextureCoords((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setMaterialIndex" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPoint_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setDetail",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setDetail" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setDetail" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPoint_setDetail" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->setDetail(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickedPoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickedPoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPrimitiveVertex",0,0)) SWIG_fail; - result = (SoPrimitiveVertex *)new SoPrimitiveVertex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoPrimitiveVertex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPrimitiveVertex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPrimitiveVertex, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex const &""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (SoPrimitiveVertex *)new SoPrimitiveVertex((SoPrimitiveVertex const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPrimitiveVertex__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPrimitiveVertex__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPrimitiveVertex'.\n" - " Possible C/C++ prototypes are:\n" - " SoPrimitiveVertex()\n" - " SoPrimitiveVertex(SoPrimitiveVertex const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPrimitiveVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPrimitiveVertex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getPoint" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec3f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getNormal" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec3f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec4f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getTextureCoords(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getMaterialIndex" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (int)((SoPrimitiveVertex const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getPackedColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getPackedColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getPackedColor" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = ((SoPrimitiveVertex const *)arg1)->getPackedColor(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getDetail" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (SoDetail *)((SoPrimitiveVertex const *)arg1)->getDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setPoint((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setPoint",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setPoint(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setPoint__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPrimitiveVertex_setPoint__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPrimitiveVertex_setPoint'.\n" - " Possible C/C++ prototypes are:\n" - " setPoint(SoPrimitiveVertex *,SbVec3f const &)\n" - " setPoint(SoPrimitiveVertex *,float,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setNormal((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setNormal",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setNormal(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setNormal(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setNormal__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPrimitiveVertex_setNormal__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPrimitiveVertex_setNormal'.\n" - " Possible C/C++ prototypes are:\n" - " setNormal(SoPrimitiveVertex *,SbVec3f const &)\n" - " setNormal(SoPrimitiveVertex *,float,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setTextureCoords((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setTextureCoords(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTextureCoords((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setTextureCoords(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setTextureCoords((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setTextureCoords(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_3(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_5(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPrimitiveVertex_setTextureCoords'.\n" - " Possible C/C++ prototypes are:\n" - " setTextureCoords(SoPrimitiveVertex *,SbVec2f const &)\n" - " setTextureCoords(SoPrimitiveVertex *,float,float)\n" - " setTextureCoords(SoPrimitiveVertex *,SbVec3f const &)\n" - " setTextureCoords(SoPrimitiveVertex *,float,float,float)\n" - " setTextureCoords(SoPrimitiveVertex *,SbVec4f const &)\n" - " setTextureCoords(SoPrimitiveVertex *,float,float,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setMaterialIndex" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setPackedColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setPackedColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setPackedColor" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setPackedColor" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setPackedColor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setDetail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setDetail" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setDetail" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - (arg1)->setDetail(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPrimitiveVertex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPrimitiveVertex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneManager",0,0)) SWIG_fail; - result = (SoSceneManager *)new SoSceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSceneManager" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->render(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSceneManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSceneManager_render" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->render(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSceneManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->render(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_render__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_render__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_5(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_4(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_3(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSceneManager_render'.\n" - " Possible C/C++ prototypes are:\n" - " render(SoSceneManager *,SbBool const,SbBool const)\n" - " render(SoSceneManager *,SbBool const)\n" - " render(SoSceneManager *)\n" - " render(SoSceneManager *,SoGLRenderAction *,SbBool const,SbBool const,SbBool const)\n" - " render(SoSceneManager *,SoGLRenderAction *,SbBool const,SbBool const)\n" - " render(SoSceneManager *,SoGLRenderAction *,SbBool const)\n" - " render(SoSceneManager *,SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setCamera" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getCamera" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoCamera *)((SoSceneManager const *)arg1)->getCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_processEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoEvent *arg2 = (SoEvent *) (SoEvent *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_processEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_processEvent" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_processEvent" "', argument " "2"" of type '" "SoEvent const *const""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->processEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_reinitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_reinitialize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_reinitialize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->reinitialize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_scheduleRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_scheduleRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_scheduleRedraw" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->scheduleRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setSceneGraph" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getSceneGraph" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoNode *)((SoSceneManager const *)arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setWindowSize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setWindowSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getWindowSize" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getWindowSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setSize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getSize" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setOrigin",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setOrigin" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setOrigin((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getOrigin" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getOrigin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setViewportRegion" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getViewportRegion" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoSceneManager const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setBackgroundColor" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getBackgroundColor" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbColor const &_result_ref = ((SoSceneManager const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setBackgroundIndex" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getBackgroundIndex" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (int)((SoSceneManager const *)arg1)->getBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRGBMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRGBMode" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setRGBMode" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setRGBMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isRGBMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_isRGBMode" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SbBool)((SoSceneManager const *)arg1)->isRGBMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_activate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_activate" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->activate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_deactivate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_deactivate" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->deactivate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoSceneManagerRenderCB *arg2 = (SoSceneManagerRenderCB *) 0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSceneManager_setRenderCallback" "', argument " "2"" of type '" "SoSceneManagerRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSceneManager_setRenderCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoSceneManagerRenderCB *arg2 = (SoSceneManagerRenderCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSceneManager_setRenderCallback" "', argument " "2"" of type '" "SoSceneManagerRenderCB *""'"); - } - } - (arg1)->setRenderCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isAutoRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_isAutoRedraw" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SbBool)((SoSceneManager const *)arg1)->isAutoRedraw(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRedrawPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRedrawPriority" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setRedrawPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setRedrawPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getRedrawPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getRedrawPriority" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = ((SoSceneManager const *)arg1)->getRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setAntialiasing" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setAntialiasing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_setAntialiasing" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setAntialiasing(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getAntialiasing" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSceneManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - ((SoSceneManager const *)arg1)->getAntialiasing(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) (SoGLRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setGLRenderAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getGLRenderAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoGLRenderAction *)((SoSceneManager const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) (SoAudioRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setAudioRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setAudioRenderAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setAudioRenderAction" "', argument " "2"" of type '" "SoAudioRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->setAudioRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAudioRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getAudioRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getAudioRenderAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoAudioRenderAction *)((SoSceneManager const *)arg1)->getAudioRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setHandleEventAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setHandleEventAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setHandleEventAction" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->setHandleEventAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoHandleEventAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getHandleEventAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoHandleEventAction *)((SoSceneManager const *)arg1)->getHandleEventAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getDefaultRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getDefaultRedrawPriority",0,0)) SWIG_fail; - result = SoSceneManager::getDefaultRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_enableRealTimeUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_enableRealTimeUpdate",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoSceneManager_enableRealTimeUpdate" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoSceneManager::enableRealTimeUpdate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isRealTimeUpdateEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isRealTimeUpdateEnabled",0,0)) SWIG_fail; - result = (SbBool)SoSceneManager::isRealTimeUpdateEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSceneManager_setRenderCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSceneManager_setRenderCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSceneManager_setRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setRenderCallback(SoSceneManager *,SoSceneManagerRenderCB *,void *const)\n" - " setRenderCallback(SoSceneManager *,SoSceneManagerRenderCB *)\n" - " setRenderCallback(SoSceneManager *,PyObject *,PyObject *)\n" - " setRenderCallback(SoSceneManager *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSceneManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBarrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBarrier *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBarrier",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBarrier" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (SbBarrier *)new SbBarrier(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBarrier, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBarrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBarrier *arg1 = (SbBarrier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBarrier",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBarrier, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBarrier" "', argument " "1"" of type '" "SbBarrier *""'"); - } - arg1 = reinterpret_cast< SbBarrier * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBarrier_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBarrier *arg1 = (SbBarrier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbBarrier_enter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBarrier, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBarrier_enter" "', argument " "1"" of type '" "SbBarrier *""'"); - } - arg1 = reinterpret_cast< SbBarrier * >(argp1); - result = (int)(arg1)->enter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBarrier_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBarrier, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMutex",0,0)) SWIG_fail; - result = (SbMutex *)new SbMutex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMutex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbMutex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbMutex" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_lock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_lock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (int)(arg1)->lock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_tryLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_tryLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_tryLock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (SbBool)(arg1)->tryLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_unlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_unlock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (int)(arg1)->unlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbMutex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbMutex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbThreadMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbThreadMutex",0,0)) SWIG_fail; - result = (SbThreadMutex *)new SbThreadMutex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThreadMutex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbThreadMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *arg1 = (SbThreadMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbThreadMutex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadMutex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbThreadMutex" "', argument " "1"" of type '" "SbThreadMutex *""'"); - } - arg1 = reinterpret_cast< SbThreadMutex * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThreadMutex_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *arg1 = (SbThreadMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThreadMutex_lock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThreadMutex_lock" "', argument " "1"" of type '" "SbThreadMutex *""'"); - } - arg1 = reinterpret_cast< SbThreadMutex * >(argp1); - result = (int)(arg1)->lock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThreadMutex_tryLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *arg1 = (SbThreadMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThreadMutex_tryLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThreadMutex_tryLock" "', argument " "1"" of type '" "SbThreadMutex *""'"); - } - arg1 = reinterpret_cast< SbThreadMutex * >(argp1); - result = (SbBool)(arg1)->tryLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThreadMutex_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *arg1 = (SbThreadMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThreadMutex_unlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThreadMutex_unlock" "', argument " "1"" of type '" "SbThreadMutex *""'"); - } - arg1 = reinterpret_cast< SbThreadMutex * >(argp1); - result = (int)(arg1)->unlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbThreadMutex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbThreadMutex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbThreadAutoLock__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbThreadAutoLock *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbThreadAutoLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbThreadAutoLock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (SbThreadAutoLock *)new SbThreadAutoLock(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThreadAutoLock, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbThreadAutoLock__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadMutex *arg1 = (SbThreadMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbThreadAutoLock *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbThreadAutoLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbThreadAutoLock" "', argument " "1"" of type '" "SbThreadMutex *""'"); - } - arg1 = reinterpret_cast< SbThreadMutex * >(argp1); - result = (SbThreadAutoLock *)new SbThreadAutoLock(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThreadAutoLock, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbThreadAutoLock(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMutex, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbThreadAutoLock__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThreadMutex, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbThreadAutoLock__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbThreadAutoLock'.\n" - " Possible C/C++ prototypes are:\n" - " SbThreadAutoLock(SbMutex *)\n" - " SbThreadAutoLock(SbThreadMutex *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbThreadAutoLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadAutoLock *arg1 = (SbThreadAutoLock *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbThreadAutoLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadAutoLock, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbThreadAutoLock" "', argument " "1"" of type '" "SbThreadAutoLock *""'"); - } - arg1 = reinterpret_cast< SbThreadAutoLock * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbThreadAutoLock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbThreadAutoLock, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCondVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCondVar",0,0)) SWIG_fail; - result = (SbCondVar *)new SbCondVar(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCondVar, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCondVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCondVar",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCondVar" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wait(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - SbMutex *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wait",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wait" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMutex, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCondVar_wait" "', argument " "2"" of type '" "SbMutex &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_wait" "', argument " "2"" of type '" "SbMutex &""'"); - } - arg2 = reinterpret_cast< SbMutex * >(argp2); - result = (SbBool)(arg1)->wait(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_timedWait(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - SbMutex *arg2 = 0 ; - SbTime arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_timedWait",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_timedWait" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMutex, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCondVar_timedWait" "', argument " "2"" of type '" "SbMutex &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_timedWait" "', argument " "2"" of type '" "SbMutex &""'"); - } - arg2 = reinterpret_cast< SbMutex * >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCondVar_timedWait" "', argument " "3"" of type '" "SbTime""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_timedWait" "', argument " "3"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (SbBool)(arg1)->timedWait(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wakeOne(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wakeOne",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wakeOne" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - (arg1)->wakeOne(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wakeAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wakeAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wakeAll" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - (arg1)->wakeAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCondVar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCondVar, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbFifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbFifo",0,0)) SWIG_fail; - result = (SbFifo *)new SbFifo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbFifo, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbFifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbFifo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbFifo" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_assign",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_assign" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_assign" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbFifo_assign" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->assign(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_retrieve",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_retrieve" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_retrieve" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_retrieve" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_retrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_retrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - (arg1)->retrieve(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_tryRetrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_tryRetrieve",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_tryRetrieve" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_tryRetrieve" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_tryRetrieve" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_tryRetrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_tryRetrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - result = (SbBool)(arg1)->tryRetrieve(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_size",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_size" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - result = (unsigned int)((SbFifo const *)arg1)->size(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_lock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_lock" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - ((SbFifo const *)arg1)->lock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_unlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_unlock" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - ((SbFifo const *)arg1)->unlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_peek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_peek",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_peek" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_peek" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_peek" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_uint32_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_peek" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_peek" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - result = (SbBool)((SbFifo const *)arg1)->peek(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_contains",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_contains" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_contains" "', argument " "2"" of type '" "void *""'"); - } - result = (SbBool)((SbFifo const *)arg1)->contains(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_reclaim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_reclaim",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_reclaim" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_reclaim" "', argument " "2"" of type '" "void *""'"); - } - result = (SbBool)(arg1)->reclaim(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbFifo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbFifo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbRWMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex::Precedence arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbRWMutex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRWMutex",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbRWMutex" "', argument " "1"" of type '" "SbRWMutex::Precedence""'"); - } - arg1 = static_cast< SbRWMutex::Precedence >(val1); - result = (SbRWMutex *)new SbRWMutex(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRWMutex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbRWMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbRWMutex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbRWMutex" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_writeLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_writeLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_writeLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->writeLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_tryWriteLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_tryWriteLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_tryWriteLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (SbBool)(arg1)->tryWriteLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_writeUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_writeUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_writeUnlock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->writeUnlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_readLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_readLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_readLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->readLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_tryReadLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_tryReadLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_tryReadLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->tryReadLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_readUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_readUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_readUnlock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->readUnlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbRWMutex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbRWMutex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbStorage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbStorage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStorage",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStorage" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (SbStorage *)new SbStorage(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStorage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStorage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - cc_storage_f *arg2 = (cc_storage_f *) 0 ; - cc_storage_f *arg3 = (cc_storage_f *) 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbStorage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStorage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStorage" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_cc_storage_f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbStorage" "', argument " "2"" of type '" "cc_storage_f *""'"); - } - arg2 = reinterpret_cast< cc_storage_f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_cc_storage_f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbStorage" "', argument " "3"" of type '" "cc_storage_f *""'"); - } - arg3 = reinterpret_cast< cc_storage_f * >(argp3); - result = (SbStorage *)new SbStorage(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStorage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStorage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbStorage__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_cc_storage_f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_cc_storage_f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbStorage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbStorage'.\n" - " Possible C/C++ prototypes are:\n" - " SbStorage(unsigned int)\n" - " SbStorage(unsigned int,cc_storage_f *,cc_storage_f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbStorage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbStorage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbStorage" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStorage_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStorage_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStorage_get" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - result = (void *)(arg1)->get(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStorage_applyToAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - SbStorageApplyFunc *arg2 = (SbStorageApplyFunc *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStorage_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStorage_applyToAll" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbStorage_applyToAll" "', argument " "2"" of type '" "SbStorageApplyFunc *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbStorage_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbStorage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbStorage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbThread_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *(*arg1)(void *) = (void *(*)(void *)) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbThread *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_create",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbThread_create" "', argument " "1"" of type '" "void *(*)(void *)""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_create" "', argument " "2"" of type '" "void *""'"); - } - result = (SbThread *)SbThread::create(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThread, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_destroy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_destroy" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - SbThread::destroy(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void **arg2 = (void **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_join" "', argument " "2"" of type '" "void **""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - result = (SbBool)(arg1)->join(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - result = (SbBool)(arg1)->join(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void **arg2 = (void **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_join" "', argument " "2"" of type '" "void **""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - result = (SbBool)SbThread::join(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - result = (SbBool)SbThread::join(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbThread_join'.\n" - " Possible C/C++ prototypes are:\n" - " join(SbThread *,void **)\n" - " join(SbThread *)\n" - " join(SbThread *,void **)\n" - " SbThread::join(SbThread *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbThread, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLParent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getTypeId" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = ((SoVRMLParent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_initClass",0,0)) SWIG_fail; - SoVRMLParent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_children_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_children_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_children_set" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_children_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->children = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_children_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_children_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_children_get" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SoMFNode *)& ((arg1)->children); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_affectsState" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SbBool)((SoVRMLParent const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_addChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_insertChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLParent_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getChild" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLParent const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_findChild" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLParent const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getNumChildren" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (int)((SoVRMLParent const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLParent_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_removeChild'.\n" - " Possible C/C++ prototypes are:\n" - " removeChild(SoVRMLParent *,int)\n" - " removeChild(SoVRMLParent *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeAllChildren" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_replaceChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_replaceChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_replaceChild'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChild(SoVRMLParent *,int,SoNode *)\n" - " replaceChild(SoVRMLParent *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getChildren" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SoChildList *)((SoVRMLParent const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_doAction" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_search" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_write" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode **arg1 = (SoNode **) 0 ; - int arg2 ; - SoChildList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_updateChildList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_updateChildList" "', argument " "1"" of type '" "SoNode const *const *""'"); - } - arg1 = reinterpret_cast< SoNode ** >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoChildList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_updateChildList" "', argument " "3"" of type '" "SoChildList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLParent_updateChildList" "', argument " "3"" of type '" "SoChildList &""'"); - } - arg3 = reinterpret_cast< SoChildList * >(argp3); - SoVRMLParent::updateChildList((SoNode const *const *)arg1,arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoChildList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_updateChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_updateChildList" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "SoChildList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "SoChildList &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - SoVRMLParent::updateChildList(arg1,*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_updateChildList__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_updateChildList__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_updateChildList'.\n" - " Possible C/C++ prototypes are:\n" - " updateChildList(SoNode const *const *,int const,SoChildList &)\n" - " SoVRMLParent::updateChildList(SoNode *,SoChildList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLParent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLParent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAnchor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_getTypeId" "', argument " "1"" of type '" "SoVRMLAnchor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = ((SoVRMLAnchor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_initClass",0,0)) SWIG_fail; - SoVRMLAnchor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAnchor",0,0)) SWIG_fail; - result = (SoVRMLAnchor *)new SoVRMLAnchor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAnchor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_url_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_url_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_description_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_description_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_parameter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_parameter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_parameter_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_parameter_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->parameter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_parameter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_parameter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_parameter_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoMFString *)& ((arg1)->parameter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxSize_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxSize_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchorCB *arg1 = (SoVRMLAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAnchor_setFetchURLCallBack" "', argument " "1"" of type '" "SoVRMLAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLAnchor::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_handleEvent" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAnchor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAnchor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAppearance::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_getTypeId" "', argument " "1"" of type '" "SoVRMLAppearance const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = ((SoVRMLAppearance const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_initClass",0,0)) SWIG_fail; - SoVRMLAppearance::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAppearance",0,0)) SWIG_fail; - result = (SoVRMLAppearance *)new SoVRMLAppearance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAppearance, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_material_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_material_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_material_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_material_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->material = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_material_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_material_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_material_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->material); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_texture_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_texture_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_texture_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_texture_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texture = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_texture_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_texture_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_texture_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->texture); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_textureTransform_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_textureTransform_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_textureTransform_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_textureTransform_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->textureTransform = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_textureTransform_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_textureTransform_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_textureTransform_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->textureTransform); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_doAction" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_callback" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_GLRender" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_search" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_getChildren" "', argument " "1"" of type '" "SoVRMLAppearance const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoChildList *)((SoVRMLAppearance const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_notify" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_copyContents" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLAppearance_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAppearance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAppearance, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_getTypeId" "', argument " "1"" of type '" "SoVRMLAudioClip const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = ((SoVRMLAudioClip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_initClass",0,0)) SWIG_fail; - SoVRMLAudioClip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAudioClip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAudioClip",0,0)) SWIG_fail; - result = (SoVRMLAudioClip *)new SoVRMLAudioClip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAudioClip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_description_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_description_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_loop_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_loop_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_pitch_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_pitch_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_pitch_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_pitch_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->pitch = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_pitch_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_pitch_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_pitch_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFFloat *)& ((arg1)->pitch); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_startTime_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_startTime_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_stopTime_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_stopTime_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_url_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_url_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setSubdirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbList< SbString > *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setSubdirectories",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbListT_SbString_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setSubdirectories" "', argument " "1"" of type '" "SbList< SbString > const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setSubdirectories" "', argument " "1"" of type '" "SbList< SbString > const &""'"); - } - arg1 = reinterpret_cast< SbList< SbString > * >(argp1); - SoVRMLAudioClip::setSubdirectories((SbList< SbString > const &)*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getSubdirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getSubdirectories",0,0)) SWIG_fail; - { - SbStringList const &_result_ref = SoVRMLAudioClip::getSubdirectories(); - result = (SbStringList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultPauseBetweenTracks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultPauseBetweenTracks" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultPauseBetweenTracks" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultPauseBetweenTracks(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultPauseBetweenTracks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultPauseBetweenTracks(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultIntroPause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultIntroPause",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultIntroPause" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultIntroPause" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultIntroPause(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultIntroPause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultIntroPause",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultIntroPause(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultSampleRate",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLAudioClip_setDefaultSampleRate" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLAudioClip::setDefaultSampleRate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultSampleRate",0,0)) SWIG_fail; - result = (int)SoVRMLAudioClip::getDefaultSampleRate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultTimerInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultTimerInterval",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultTimerInterval" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultTimerInterval" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultTimerInterval(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultTimerInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultTimerInterval",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultTimerInterval(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getSampleRate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_getSampleRate" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (int)(arg1)->getSampleRate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SbStringList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_open",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_open" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_open" "', argument " "2"" of type '" "SbStringList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_open" "', argument " "2"" of type '" "SbStringList const &""'"); - } - arg2 = reinterpret_cast< SbStringList * >(argp2); - result = (void *)(arg1)->open((SbStringList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - int arg4 ; - int *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - size_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_read" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_read" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLAudioClip_read" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVRMLAudioClip_read" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoVRMLAudioClip_read" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_read" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - result = (arg1)->read(arg2,arg3,arg4,*arg5); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_seek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - long arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - long val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_seek",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_seek" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_seek" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLAudioClip_seek" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVRMLAudioClip_seek" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (int)(arg1)->seek(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_tell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - long result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_tell",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_tell" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_tell" "', argument " "2"" of type '" "void *""'"); - } - result = (long)(arg1)->tell(arg2); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_close",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_close" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_close" "', argument " "2"" of type '" "void *""'"); - } - result = (int)(arg1)->close(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoVRMLAudioClip::open_func *arg2 = (SoVRMLAudioClip::open_func *) 0 ; - SoVRMLAudioClip::read_func *arg3 = (SoVRMLAudioClip::read_func *) 0 ; - SoVRMLAudioClip::seek_func *arg4 = (SoVRMLAudioClip::seek_func *) 0 ; - SoVRMLAudioClip::tell_func *arg5 = (SoVRMLAudioClip::tell_func *) 0 ; - SoVRMLAudioClip::close_func *arg6 = (SoVRMLAudioClip::close_func *) 0 ; - void *arg7 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res7 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setCallbacks",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "2"" of type '" "SoVRMLAudioClip::open_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "3"" of type '" "SoVRMLAudioClip::read_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "4"" of type '" "SoVRMLAudioClip::seek_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__long); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "5"" of type '" "SoVRMLAudioClip::tell_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "6"" of type '" "SoVRMLAudioClip::close_func *""'"); - } - } - res7 = SWIG_ConvertPtr(obj6,SWIG_as_voidptrptr(&arg7), 0, 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "7"" of type '" "void *""'"); - } - (arg1)->setCallbacks(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAudioClip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAudioClip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBackground::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_getTypeId" "', argument " "1"" of type '" "SoVRMLBackground const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = ((SoVRMLBackground const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_initClass",0,0)) SWIG_fail; - SoVRMLBackground::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBackground",0,0)) SWIG_fail; - result = (SoVRMLBackground *)new SoVRMLBackground(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBackground, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundColor_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_groundColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->groundColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundColor_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFColor *)& ((arg1)->groundColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundAngle_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_groundAngle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->groundAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundAngle_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFFloat *)& ((arg1)->groundAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyColor_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_skyColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->skyColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyColor_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFColor *)& ((arg1)->skyColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyAngle_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_skyAngle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->skyAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyAngle_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFFloat *)& ((arg1)->skyAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_backUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_backUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_backUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_backUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->backUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_backUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_backUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_backUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->backUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_bottomUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_bottomUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_bottomUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_bottomUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->bottomUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_bottomUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_bottomUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_bottomUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->bottomUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_frontUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_frontUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_frontUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_frontUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->frontUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_frontUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_frontUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_frontUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->frontUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_leftUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_leftUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_leftUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_leftUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->leftUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_leftUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_leftUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_leftUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->leftUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_rightUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_rightUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_rightUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_rightUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->rightUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_rightUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_rightUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_rightUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->rightUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_topUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_topUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_topUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_topUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->topUrl = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_topUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_topUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_topUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->topUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_GLRender" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBackground_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBackground, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBillboard::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getTypeId" "', argument " "1"" of type '" "SoVRMLBillboard const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = ((SoVRMLBillboard const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_initClass",0,0)) SWIG_fail; - SoVRMLBillboard::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBillboard",0,0)) SWIG_fail; - result = (SoVRMLBillboard *)new SoVRMLBillboard(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBillboard, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLBillboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBillboard",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLBillboard" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLBillboard *)new SoVRMLBillboard(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBillboard, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLBillboard__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLBillboard__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLBillboard'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLBillboard()\n" - " SoVRMLBillboard(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_axisOfRotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_axisOfRotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_axisOfRotation_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_axisOfRotation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->axisOfRotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_axisOfRotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_axisOfRotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_axisOfRotation_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->axisOfRotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxSize_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxSize_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_doAction" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_callback" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRender" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getBoundingBox" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getMatrix" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_pick" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_search" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_notify" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBillboard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBillboard, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLGeometry::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_getTypeId" "', argument " "1"" of type '" "SoVRMLGeometry const *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - result = ((SoVRMLGeometry const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_initClass",0,0)) SWIG_fail; - SoVRMLGeometry::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_search" "', argument " "1"" of type '" "SoVRMLGeometry *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGeometry_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_copyContents" "', argument " "1"" of type '" "SoVRMLGeometry *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGeometry_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLGeometry_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLGeometry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLGeometry, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBox::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_getTypeId" "', argument " "1"" of type '" "SoVRMLBox const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - result = ((SoVRMLBox const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_initClass",0,0)) SWIG_fail; - SoVRMLBox::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBox",0,0)) SWIG_fail; - result = (SoVRMLBox *)new SoVRMLBox(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBox, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_size_set" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_size_get" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_GLRender" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_rayPick" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBox, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLGroup::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getTypeId" "', argument " "1"" of type '" "SoVRMLGroup const *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = ((SoVRMLGroup const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_initClass",0,0)) SWIG_fail; - SoVRMLGroup::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLGroup",0,0)) SWIG_fail; - result = (SoVRMLGroup *)new SoVRMLGroup(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLGroup",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLGroup" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLGroup *)new SoVRMLGroup(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLGroup__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLGroup__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLGroup'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLGroup()\n" - " SoVRMLGroup(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCaching_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCaching_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_boundingBoxCaching_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_boundingBoxCaching_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCulling_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCulling_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_pickCulling_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_pickCulling_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxSize_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxSize_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLGroup_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLGroup::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoVRMLGroup::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_doAction" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_callback" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRender" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getBoundingBox" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getMatrix" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_rayPick" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_search" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_write" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_audioRender" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_notify" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLGroup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLGroup, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCollision::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_getTypeId" "', argument " "1"" of type '" "SoVRMLCollision const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = ((SoVRMLCollision const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_initClass",0,0)) SWIG_fail; - SoVRMLCollision::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCollision",0,0)) SWIG_fail; - result = (SoVRMLCollision *)new SoVRMLCollision(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCollision, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLCollision *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCollision",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLCollision" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLCollision *)new SoVRMLCollision(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCollision, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLCollision__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLCollision__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLCollision'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLCollision()\n" - " SoVRMLCollision(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collide_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collide_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collide_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_collide_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->collide = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collide_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collide_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collide_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFBool *)& ((arg1)->collide); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_proxy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_proxy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_proxy_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_proxy_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->proxy = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_proxy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_proxy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_proxy_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFNode *)& ((arg1)->proxy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collideTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collideTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collideTime_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_collideTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->collideTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collideTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collideTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collideTime_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFTime *)& ((arg1)->collideTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_GLRender" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_notify" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCollision_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCollision, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_getTypeId" "', argument " "1"" of type '" "SoVRMLColor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - result = ((SoVRMLColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_initClass",0,0)) SWIG_fail; - SoVRMLColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLColor",0,0)) SWIG_fail; - result = (SoVRMLColor *)new SoVRMLColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_color_set" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_color_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_color_get" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - result = (SoMFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_doAction" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_GLRender" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_callback" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = ((SoVRMLInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_key_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_key_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_key_set" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInterpolator_key_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->key = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_key_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_key_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_key_get" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoMFFloat *)& ((arg1)->key); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_set_fraction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_set_fraction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_set_fraction_set" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInterpolator_set_fraction_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->set_fraction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_set_fraction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_set_fraction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_set_fraction_get" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoSFFloat *)& ((arg1)->set_fraction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLColorInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLColorInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = ((SoVRMLColorInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLColorInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLColorInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLColorInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLColorInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLColorInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLColorInterpolator",0,0)) SWIG_fail; - result = (SoVRMLColorInterpolator *)new SoVRMLColorInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLColorInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColorInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoMFColor *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColorInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLColorInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLColorInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCone::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_getTypeId" "', argument " "1"" of type '" "SoVRMLCone const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = ((SoVRMLCone const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_initClass",0,0)) SWIG_fail; - SoVRMLCone::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCone",0,0)) SWIG_fail; - result = (SoVRMLCone *)new SoVRMLCone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCone, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottomRadius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottomRadius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottomRadius_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_bottomRadius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->bottomRadius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottomRadius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottomRadius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottomRadius_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->bottomRadius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_height_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_height_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_side_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_side_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_side_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_side_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->side = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_side_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_side_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_side_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFBool *)& ((arg1)->side); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottom_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_bottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->bottom = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottom_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFBool *)& ((arg1)->bottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_GLRender" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_rayPick" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCone, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_getTypeId" "', argument " "1"" of type '" "SoVRMLCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - result = ((SoVRMLCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_initClass",0,0)) SWIG_fail; - SoVRMLCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCoordinate",0,0)) SWIG_fail; - result = (SoVRMLCoordinate *)new SoVRMLCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_point_set" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_point_get" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_doAction" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_GLRender" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_getBoundingBox" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_callback" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_pick" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCoordinateInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = ((SoVRMLCoordinateInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLCoordinateInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLCoordinateInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLCoordinateInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCoordinateInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCoordinateInterpolator",0,0)) SWIG_fail; - result = (SoVRMLCoordinateInterpolator *)new SoVRMLCoordinateInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCoordinateInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinateInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinateInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCoordinateInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCoordinateInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_getTypeId" "', argument " "1"" of type '" "SoVRMLCylinder const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = ((SoVRMLCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_initClass",0,0)) SWIG_fail; - SoVRMLCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCylinder",0,0)) SWIG_fail; - result = (SoVRMLCylinder *)new SoVRMLCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_radius_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_radius_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_height_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_height_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_side_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_side_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_side_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_side_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->side = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_side_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_side_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_side_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->side); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_top_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_top_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_top_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_top_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->top = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_top_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_top_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_top_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->top); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_bottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_bottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_bottom_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_bottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->bottom = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_bottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_bottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_bottom_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->bottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_GLRender" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_rayPick" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = ((SoVRMLSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_initClass",0,0)) SWIG_fail; - SoVRMLSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLDragSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLDragSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = ((SoVRMLDragSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_trackPoint_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_trackPoint_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_trackPoint_changed_set" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_trackPoint_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->trackPoint_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_trackPoint_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_trackPoint_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_trackPoint_changed_get" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->trackPoint_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_autoOffset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_autoOffset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_autoOffset_set" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_autoOffset_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->autoOffset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_autoOffset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_autoOffset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_autoOffset_get" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->autoOffset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_initClass",0,0)) SWIG_fail; - SoVRMLDragSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLDragSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLDragSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCylinderSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLCylinderSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = ((SoVRMLCylinderSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_initClass",0,0)) SWIG_fail; - SoVRMLCylinderSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCylinderSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCylinderSensor",0,0)) SWIG_fail; - result = (SoVRMLCylinderSensor *)new SoVRMLCylinderSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCylinderSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_diskAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_diskAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_diskAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_diskAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->diskAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_diskAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_diskAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_diskAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->diskAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_maxAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_maxAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_maxAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_maxAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_maxAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_maxAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_maxAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_minAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_minAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_minAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_minAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_minAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_minAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_minAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->minAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_offset_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_offset_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->offset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_offset_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_rotation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_rotation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_rotation_changed_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_rotation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_rotation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_rotation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_rotation_changed_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCylinderSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCylinderSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_getTypeId" "', argument " "1"" of type '" "SoVRMLLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = ((SoVRMLLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_initClass",0,0)) SWIG_fail; - SoVRMLLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_on_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_on_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_intensity_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_intensity_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_color_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_color_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_ambientIntensity_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_ambientIntensity_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_GLRender" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLDirectionalLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_getTypeId" "', argument " "1"" of type '" "SoVRMLDirectionalLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - result = ((SoVRMLDirectionalLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_initClass",0,0)) SWIG_fail; - SoVRMLDirectionalLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLDirectionalLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLDirectionalLight",0,0)) SWIG_fail; - result = (SoVRMLDirectionalLight *)new SoVRMLDirectionalLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLDirectionalLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_direction_set" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDirectionalLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_direction_get" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_GLRender" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDirectionalLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLDirectionalLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLDirectionalLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLElevationGrid::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_getTypeId" "', argument " "1"" of type '" "SoVRMLElevationGrid const *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = ((SoVRMLElevationGrid const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_initClass",0,0)) SWIG_fail; - SoVRMLElevationGrid::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLElevationGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLElevationGrid",0,0)) SWIG_fail; - result = (SoVRMLElevationGrid *)new SoVRMLElevationGrid(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLElevationGrid, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_ccw_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_ccw_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_solid_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_solid_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zDimension_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zDimension_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zDimension_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_zDimension_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->zDimension = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zDimension_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zDimension_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zDimension_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFInt32 *)& ((arg1)->zDimension); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xDimension_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xDimension_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xDimension_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_xDimension_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->xDimension = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xDimension_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xDimension_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xDimension_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFInt32 *)& ((arg1)->xDimension); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zSpacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zSpacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zSpacing_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_zSpacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->zSpacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zSpacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zSpacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zSpacing_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->zSpacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xSpacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xSpacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xSpacing_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_xSpacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->xSpacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xSpacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xSpacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xSpacing_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->xSpacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_height_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_height_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_height_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoMFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_texCoord_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_texCoord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_texCoord_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normal_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_normal_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->normal = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normal_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_color_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_color_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normalPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normalPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normalPerVertex_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_normalPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->normalPerVertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normalPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normalPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normalPerVertex_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->normalPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_GLRender" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_rayPick" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLElevationGrid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLElevationGrid, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLExtrusion::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_getTypeId" "', argument " "1"" of type '" "SoVRMLExtrusion const *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = ((SoVRMLExtrusion const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_initClass",0,0)) SWIG_fail; - SoVRMLExtrusion::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLExtrusion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLExtrusion",0,0)) SWIG_fail; - result = (SoVRMLExtrusion *)new SoVRMLExtrusion(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLExtrusion, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_beginCap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_beginCap_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_beginCap_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_beginCap_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->beginCap = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_beginCap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_beginCap_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_beginCap_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->beginCap); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_ccw_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_ccw_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_convex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_convex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_convex_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_convex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->convex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_convex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_convex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_convex_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->convex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_crossSection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_crossSection_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_crossSection_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_crossSection_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->crossSection = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_crossSection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_crossSection_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_crossSection_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec2f *)& ((arg1)->crossSection); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_endCap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_endCap_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_endCap_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_endCap_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->endCap = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_endCap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_endCap_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_endCap_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->endCap); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_orientation_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_orientation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_orientation_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_scale_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_scale_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_scale_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec2f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_solid_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_solid_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_spine_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_spine_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_spine_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_spine_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->spine = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_spine_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_spine_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_spine_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec3f *)& ((arg1)->spine); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_GLRender" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_computeBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SbBox3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_computeBBox",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbBox3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - arg3 = reinterpret_cast< SbBox3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->computeBBox(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLExtrusion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLExtrusion, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLFog_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLFog::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_getTypeId" "', argument " "1"" of type '" "SoVRMLFog const *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = ((SoVRMLFog const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_initClass",0,0)) SWIG_fail; - SoVRMLFog::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLFog",0,0)) SWIG_fail; - result = (SoVRMLFog *)new SoVRMLFog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLFog, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_fogType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_fogType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_fogType_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_fogType_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->fogType = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_fogType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_fogType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_fogType_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFString *)& ((arg1)->fogType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_visibilityRange_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_visibilityRange_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_visibilityRange_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_visibilityRange_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->visibilityRange = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_visibilityRange_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_visibilityRange_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_visibilityRange_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFFloat *)& ((arg1)->visibilityRange); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_color_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_color_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_GLRender" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLFog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLFog, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLFontStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getTypeId" "', argument " "1"" of type '" "SoVRMLFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = ((SoVRMLFontStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_initClass",0,0)) SWIG_fail; - SoVRMLFontStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLFontStyle",0,0)) SWIG_fail; - result = (SoVRMLFontStyle *)new SoVRMLFontStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLFontStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_size_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_size_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_size_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_family_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_family_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_family_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_family_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->family = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_family_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_family_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_family_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->family); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_style_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_style_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->style = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_style_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_horizontal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_horizontal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_horizontal_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_horizontal_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->horizontal = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_horizontal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_horizontal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_horizontal_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->horizontal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_leftToRight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_leftToRight_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_leftToRight_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_leftToRight_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->leftToRight = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_leftToRight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_leftToRight_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_leftToRight_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->leftToRight); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_topToBottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_topToBottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_topToBottom_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_topToBottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->topToBottom = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_topToBottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_topToBottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_topToBottom_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->topToBottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_language_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_language_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_language_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_language_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->language = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_language_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_language_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_language_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFString *)& ((arg1)->language); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_justify_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_justify_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_justify_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_justify_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->justify = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_justify_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_justify_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_justify_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->justify); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_spacing_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_spacing_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getFontName" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (arg1)->getFontName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_doAction" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_callback" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_GLRender" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getBoundingBox" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_pick" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLFontStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLFontStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_so_vrml_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"so_vrml_init",0,0)) SWIG_fail; - so_vrml_init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = ((SoVRMLTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_initClass",0,0)) SWIG_fail; - SoVRMLTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatS_set" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_repeatS_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->repeatS = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatS_get" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->repeatS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatT_set" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_repeatT_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->repeatT = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatT_get" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->repeatT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_GLRender" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLImageTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLImageTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = ((SoVRMLImageTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_initClass",0,0)) SWIG_fail; - SoVRMLImageTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLImageTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLImageTexture",0,0)) SWIG_fail; - result = (SoVRMLImageTexture *)new SoVRMLImageTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLImageTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_url_set" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_url_get" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setDelayFetchURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setDelayFetchURL",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLImageTexture_setDelayFetchURL" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoVRMLImageTexture::setDelayFetchURL(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setPrequalifyFileCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - VRMLPrequalifyFileCallback *arg1 = (VRMLPrequalifyFileCallback *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setPrequalifyFileCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLImageTexture_setPrequalifyFileCallBack" "', argument " "1"" of type '" "VRMLPrequalifyFileCallback *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_setPrequalifyFileCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLImageTexture::setPrequalifyFileCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_allowPrequalifyFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_allowPrequalifyFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_allowPrequalifyFile" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLImageTexture_allowPrequalifyFile" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->allowPrequalifyFile(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_doAction" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_GLRender" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_callback" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_rayPick" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SbImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_setImage" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_setImage" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLImageTexture_setImage" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setImage((SbImage const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_getImage" "', argument " "1"" of type '" "SoVRMLImageTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = (SbImage *)((SoVRMLImageTexture const *)arg1)->getImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setImageDataMaxAge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setImageDataMaxAge",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLImageTexture_setImageDataMaxAge" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoVRMLImageTexture::setImageDataMaxAge(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLImageTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLImageTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = ((SoVRMLVertexShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_initClass",0,0)) SWIG_fail; - SoVRMLVertexShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_coord_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_coord_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_texCoord_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_texCoord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_texCoord_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normal_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_normal_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->normal = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normal_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_color_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_color_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normalPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normalPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normalPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_normalPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->normalPerVertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normalPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normalPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normalPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFBool *)& ((arg1)->normalPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLVertexShape_generateDefaultNormals'.\n" - " Possible C/C++ prototypes are:\n" - " generateDefaultNormals(SoVRMLVertexShape *,SoState *,SoNormalBundle *)\n" - " generateDefaultNormals(SoVRMLVertexShape *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_doAction" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_GLRender" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_callback" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_pick" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_notify" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = ((SoVRMLIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_initClass",0,0)) SWIG_fail; - SoVRMLIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_coordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_coordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_colorIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_colorIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_colorIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_colorIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->colorIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_colorIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_colorIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_colorIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->colorIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_normalIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_normalIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_normalIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_normalIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->normalIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_normalIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_normalIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_normalIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->normalIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_texCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_texCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_texCoordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_texCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->texCoordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_texCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_texCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_texCoordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->texCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = ((SoVRMLIndexedFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_initClass",0,0)) SWIG_fail; - SoVRMLIndexedFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLIndexedFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLIndexedFaceSet",0,0)) SWIG_fail; - result = (SoVRMLIndexedFaceSet *)new SoVRMLIndexedFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLIndexedFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_ccw_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_ccw_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_solid_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_solid_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_convex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_convex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_convex_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_convex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->convex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_convex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_convex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_convex_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->convex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_GLRender" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLIndexedFaceSet_generateDefaultNormals'.\n" - " Possible C/C++ prototypes are:\n" - " generateDefaultNormals(SoVRMLIndexedFaceSet *,SoState *,SoNormalBundle *)\n" - " generateDefaultNormals(SoVRMLIndexedFaceSet *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexLine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexLine const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = ((SoVRMLVertexLine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_initClass",0,0)) SWIG_fail; - SoVRMLVertexLine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_coord_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_coord_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_color_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_color_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_doAction" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_GLRender" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_callback" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_pick" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_notify" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedLine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedLine const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = ((SoVRMLIndexedLine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_initClass",0,0)) SWIG_fail; - SoVRMLIndexedLine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_coordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLine_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_coordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_colorIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_colorIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_colorIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLine_colorIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->colorIndex = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_colorIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_colorIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_colorIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = (SoMFInt32 *)& ((arg1)->colorIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedLineSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - result = ((SoVRMLIndexedLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_initClass",0,0)) SWIG_fail; - SoVRMLIndexedLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLIndexedLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLIndexedLineSet",0,0)) SWIG_fail; - result = (SoVRMLIndexedLineSet *)new SoVRMLIndexedLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLIndexedLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_GLRender" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getBoundingBox" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLInline::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getTypeId" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = ((SoVRMLInline const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_initClass",0,0)) SWIG_fail; - SoVRMLInline::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLInline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLInline",0,0)) SWIG_fail; - result = (SoVRMLInline *)new SoVRMLInline(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLInline, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxSize_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxSize_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_url_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_url_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setFullURLName" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getFullURLName" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_copyChildren" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoGroup *)((SoVRMLInline const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_requestURLData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_requestURLData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_requestURLData" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - (arg1)->requestURLData(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_isURLDataRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_isURLDataRequested",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_isURLDataRequested" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SbBool)((SoVRMLInline const *)arg1)->isURLDataRequested(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_isURLDataHere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_isURLDataHere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_isURLDataHere" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SbBool)((SoVRMLInline const *)arg1)->isURLDataHere(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_cancelURLDataRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_cancelURLDataRequest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_cancelURLDataRequest" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - (arg1)->cancelURLDataRequest(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setChildData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setChildData" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_setChildData" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setChildData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getChildData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getChildData" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoNode *)((SoVRMLInline const *)arg1)->getChildData(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInlineFetchURLCB *arg1 = (SoVRMLInlineFetchURLCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLInline_setFetchURLCallBack" "', argument " "1"" of type '" "SoVRMLInlineFetchURLCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLInline::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline::BboxVisibility arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setBoundingBoxVisibility",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLInline_setBoundingBoxVisibility" "', argument " "1"" of type '" "SoVRMLInline::BboxVisibility""'"); - } - arg1 = static_cast< SoVRMLInline::BboxVisibility >(val1); - SoVRMLInline::setBoundingBoxVisibility(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline::BboxVisibility result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBoxVisibility",0,0)) SWIG_fail; - result = (SoVRMLInline::BboxVisibility)SoVRMLInline::getBoundingBoxVisibility(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setBoundingBoxColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - SoVRMLInline::setBoundingBoxColor(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBoxColor",0,0)) SWIG_fail; - { - SbColor &_result_ref = SoVRMLInline::getBoundingBoxColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setReadAsSoFile",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLInline_setReadAsSoFile" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoVRMLInline::setReadAsSoFile(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getReadAsSoFile",0,0)) SWIG_fail; - result = (SbBool)SoVRMLInline::getReadAsSoFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_doAction" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_callback" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_GLRender" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getBoundingBox" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getMatrix" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_handleEvent" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_search" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_pick" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getChildren" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoChildList *)((SoVRMLInline const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLInline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLInline, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLLOD::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getTypeId" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = ((SoVRMLLOD const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_initClass",0,0)) SWIG_fail; - SoVRMLLOD::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLLOD",0,0)) SWIG_fail; - result = (SoVRMLLOD *)new SoVRMLLOD(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLLOD",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLLOD" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLLOD *)new SoVRMLLOD(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLLOD__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLLOD__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLLOD'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLLOD()\n" - " SoVRMLLOD(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_range_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_range_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_range_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_range_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->range = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_range_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_range_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_range_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoMFFloat *)& ((arg1)->range); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_center_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_center_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_level_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_level_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_level_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_level_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->level = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_level_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_level_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_level_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoMFNode *)& ((arg1)->level); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_affectsState" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SbBool)((SoVRMLLOD const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_addLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_addLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_addLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_addLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_insertLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_insertLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_insertLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_insertLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLLOD_insertLevel" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getLevel" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_getLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLLOD const *)arg1)->getLevel(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_findLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_findLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_findLevel" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_findLevel" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLLOD const *)arg1)->findLevel((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getNumLevels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getNumLevels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getNumLevels" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (int)((SoVRMLLOD const *)arg1)->getNumLevels(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_removeLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_removeLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_removeLevel__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLLOD_removeLevel__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_removeLevel'.\n" - " Possible C/C++ prototypes are:\n" - " removeLevel(SoVRMLLOD *,int)\n" - " removeLevel(SoVRMLLOD *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeAllLevels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeAllLevels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeAllLevels" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - (arg1)->removeAllLevels(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceLevel__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceLevel__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_replaceLevel'.\n" - " Possible C/C++ prototypes are:\n" - " replaceLevel(SoVRMLLOD *,int,SoNode *)\n" - " replaceLevel(SoVRMLLOD *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_doAction" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_callback" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRender" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_rayPick" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getBoundingBox" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_search" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_write" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_audioRender" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_addChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_insertChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLLOD_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getChild" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLLOD const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_findChild" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLLOD const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getNumChildren" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (int)((SoVRMLLOD const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLLOD_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_removeChild'.\n" - " Possible C/C++ prototypes are:\n" - " removeChild(SoVRMLLOD *,int)\n" - " removeChild(SoVRMLLOD *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeAllChildren" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_replaceChild'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChild(SoVRMLLOD *,int,SoNode *)\n" - " replaceChild(SoVRMLLOD *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getChildren" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoChildList *)((SoVRMLLOD const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLLOD_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLLOD, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLMaterial::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_getTypeId" "', argument " "1"" of type '" "SoVRMLMaterial const *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = ((SoVRMLMaterial const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_initClass",0,0)) SWIG_fail; - SoVRMLMaterial::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLMaterial",0,0)) SWIG_fail; - result = (SoVRMLMaterial *)new SoVRMLMaterial(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLMaterial, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_diffuseColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_diffuseColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_diffuseColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_diffuseColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->diffuseColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_diffuseColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_diffuseColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_diffuseColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->diffuseColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_ambientIntensity_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_ambientIntensity_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_specularColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_specularColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_specularColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_specularColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->specularColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_specularColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_specularColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_specularColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->specularColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_emissiveColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_emissiveColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_emissiveColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_emissiveColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->emissiveColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_emissiveColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_emissiveColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_emissiveColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->emissiveColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_shininess_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_shininess_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->shininess = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_shininess_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->shininess); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_transparency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_transparency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_transparency_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_transparency_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->transparency = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_transparency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_transparency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_transparency_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->transparency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_doAction" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_GLRender" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_callback" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLMaterial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLMaterial, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLMovieTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLMovieTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = ((SoVRMLMovieTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_initClass",0,0)) SWIG_fail; - SoVRMLMovieTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLMovieTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLMovieTexture",0,0)) SWIG_fail; - result = (SoVRMLMovieTexture *)new SoVRMLMovieTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLMovieTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_loop_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_loop_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_speed_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_speed_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_startTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_startTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_stopTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_stopTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_pauseTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_pauseTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_pauseTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_pauseTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->pauseTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_pauseTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_pauseTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_pauseTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->pauseTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_resumeTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_resumeTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_resumeTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_resumeTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->resumeTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_resumeTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_resumeTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_resumeTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->resumeTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_url_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_url_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_duration_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_duration_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_duration_changed_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_duration_changed_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->duration_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_duration_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_duration_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_duration_changed_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->duration_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_isActive_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_isActive_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_alpha_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_alpha_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_alpha_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->alpha = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_alpha_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_alpha_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFFloat *)& ((arg1)->alpha); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_model_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_model_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_blendColor_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_blendColor_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_scaleTexCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_scaleTexCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_scaleTexCoord_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_scaleTexCoord_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->scaleTexCoord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_scaleTexCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_scaleTexCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_scaleTexCoord_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->scaleTexCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_GLRender" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLMovieTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLMovieTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNavigationInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_getTypeId" "', argument " "1"" of type '" "SoVRMLNavigationInfo const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = ((SoVRMLNavigationInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_initClass",0,0)) SWIG_fail; - SoVRMLNavigationInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNavigationInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNavigationInfo",0,0)) SWIG_fail; - result = (SoVRMLNavigationInfo *)new SoVRMLNavigationInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNavigationInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_type_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_type_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->type = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_type_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoMFString *)& ((arg1)->type); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_speed_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_speed_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_avatarSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_avatarSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_avatarSize_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_avatarSize_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->avatarSize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_avatarSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_avatarSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_avatarSize_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoMFFloat *)& ((arg1)->avatarSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_visibilityLimit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_visibilityLimit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_visibilityLimit_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_visibilityLimit_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->visibilityLimit = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_visibilityLimit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_visibilityLimit_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_visibilityLimit_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFFloat *)& ((arg1)->visibilityLimit); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_headlight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_headlight_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_headlight_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_headlight_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->headlight = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_headlight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_headlight_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_headlight_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFBool *)& ((arg1)->headlight); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_GLRender" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNavigationInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNavigationInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNormal::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_getTypeId" "', argument " "1"" of type '" "SoVRMLNormal const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - result = ((SoVRMLNormal const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_initClass",0,0)) SWIG_fail; - SoVRMLNormal::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNormal",0,0)) SWIG_fail; - result = (SoVRMLNormal *)new SoVRMLNormal(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNormal, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_vector_set" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_vector_get" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_doAction" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_GLRender" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_callback" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_pick" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNormal, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNormalInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLNormalInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = ((SoVRMLNormalInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLNormalInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLNormalInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLNormalInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLNormalInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNormalInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNormalInterpolator",0,0)) SWIG_fail; - result = (SoVRMLNormalInterpolator *)new SoVRMLNormalInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNormalInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormalInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormalInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNormalInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNormalInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLOrientationInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = ((SoVRMLOrientationInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLOrientationInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLOrientationInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLOrientationInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLOrientationInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLOrientationInterpolator",0,0)) SWIG_fail; - result = (SoVRMLOrientationInterpolator *)new SoVRMLOrientationInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLOrientationInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLOrientationInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoMFRotation *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLOrientationInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLOrientationInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLOrientationInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPixelTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLPixelTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - result = ((SoVRMLPixelTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_initClass",0,0)) SWIG_fail; - SoVRMLPixelTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPixelTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPixelTexture",0,0)) SWIG_fail; - result = (SoVRMLPixelTexture *)new SoVRMLPixelTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPixelTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_image_set" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_image_get" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_doAction" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_GLRender" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_callback" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_rayPick" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPixelTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPixelTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPlaneSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLPlaneSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = ((SoVRMLPlaneSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_initClass",0,0)) SWIG_fail; - SoVRMLPlaneSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPlaneSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPlaneSensor",0,0)) SWIG_fail; - result = (SoVRMLPlaneSensor *)new SoVRMLPlaneSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPlaneSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_minPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_minPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_minPosition_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_minPosition_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->minPosition = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_minPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_minPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_minPosition_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->minPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_maxPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_maxPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_maxPosition_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_maxPosition_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->maxPosition = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_maxPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_maxPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_maxPosition_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->maxPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_offset_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_offset_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->offset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_offset_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_translation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_translation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_translation_changed_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_translation_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_translation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_translation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_translation_changed_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPlaneSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPlaneSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPointLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_getTypeId" "', argument " "1"" of type '" "SoVRMLPointLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = ((SoVRMLPointLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_initClass",0,0)) SWIG_fail; - SoVRMLPointLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPointLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPointLight",0,0)) SWIG_fail; - result = (SoVRMLPointLight *)new SoVRMLPointLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPointLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_location_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_location_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_radius_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_radius_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_attenuation_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_attenuation_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_GLRender" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPointLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPointLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexPoint::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexPoint const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = ((SoVRMLVertexPoint const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_initClass",0,0)) SWIG_fail; - SoVRMLVertexPoint::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_coord_set" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_coord_get" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_color_set" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_color_get" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_doAction" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_GLRender" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_callback" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_pick" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_notify" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexPoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexPoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPointSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_getTypeId" "', argument " "1"" of type '" "SoVRMLPointSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - result = ((SoVRMLPointSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_initClass",0,0)) SWIG_fail; - SoVRMLPointSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPointSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPointSet",0,0)) SWIG_fail; - result = (SoVRMLPointSet *)new SoVRMLPointSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPointSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_GLRender" "', argument " "1"" of type '" "SoVRMLPointSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_getBoundingBox" "', argument " "1"" of type '" "SoVRMLPointSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPointSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPointSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPositionInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLPositionInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = ((SoVRMLPositionInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLPositionInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLPositionInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLPositionInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLPositionInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPositionInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPositionInterpolator",0,0)) SWIG_fail; - result = (SoVRMLPositionInterpolator *)new SoVRMLPositionInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPositionInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPositionInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPositionInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPositionInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPositionInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLProximitySensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_getTypeId" "', argument " "1"" of type '" "SoVRMLProximitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = ((SoVRMLProximitySensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_initClass",0,0)) SWIG_fail; - SoVRMLProximitySensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLProximitySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLProximitySensor",0,0)) SWIG_fail; - result = (SoVRMLProximitySensor *)new SoVRMLProximitySensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLProximitySensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_center_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_center_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_size_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_size_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enabled_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enabled_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_isActive_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_isActive_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_position_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_position_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_position_changed_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_position_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_position_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_position_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_position_changed_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_orientation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_orientation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_orientation_changed_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_orientation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_orientation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_orientation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_orientation_changed_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enterTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enterTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enterTime_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_enterTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->enterTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enterTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enterTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enterTime_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->enterTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_exitTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_exitTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_exitTime_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_exitTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->exitTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_exitTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_exitTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_exitTime_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->exitTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_affectsState" "', argument " "1"" of type '" "SoVRMLProximitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SbBool)((SoVRMLProximitySensor const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_doAction" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_GLRender" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_callback" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_rayPick" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_getBoundingBox" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLProximitySensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLProximitySensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLScalarInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLScalarInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = ((SoVRMLScalarInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLScalarInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLScalarInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLScalarInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLScalarInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLScalarInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLScalarInterpolator",0,0)) SWIG_fail; - result = (SoVRMLScalarInterpolator *)new SoVRMLScalarInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLScalarInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScalarInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoMFFloat *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScalarInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLScalarInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLScalarInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLScript_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_initClass",0,0)) SWIG_fail; - SoVRMLScript::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLScript",0,0)) SWIG_fail; - result = (SoVRMLScript *)new SoVRMLScript(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLScript, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLScript::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_getTypeId" "', argument " "1"" of type '" "SoVRMLScript const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = ((SoVRMLScript const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_url_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_url_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_directOutput_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_directOutput_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_directOutput_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_directOutput_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->directOutput = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_directOutput_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_directOutput_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_directOutput_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoSFBool *)& ((arg1)->directOutput); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_mustEvaluate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_mustEvaluate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_mustEvaluate_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_mustEvaluate_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->mustEvaluate = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_mustEvaluate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_mustEvaluate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_mustEvaluate_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoSFBool *)& ((arg1)->mustEvaluate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_doAction" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_callback" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_GLRender" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_getBoundingBox" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_pick" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_handleEvent" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_write" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_setScriptEvaluateCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScriptEvaluateCB *arg1 = (SoVRMLScriptEvaluateCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_setScriptEvaluateCB",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_SoVRMLScript__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLScript_setScriptEvaluateCB" "', argument " "1"" of type '" "SoVRMLScriptEvaluateCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_setScriptEvaluateCB" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLScript::setScriptEvaluateCB(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLScript_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLScript, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getTypeId" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = ((SoVRMLShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_initClass",0,0)) SWIG_fail; - SoVRMLShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLShape",0,0)) SWIG_fail; - result = (SoVRMLShape *)new SoVRMLShape(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLShape, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_appearance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_appearance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_appearance_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_appearance_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->appearance = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_appearance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_appearance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_appearance_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFNode *)& ((arg1)->appearance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_geometry_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_geometry_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_geometry_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_geometry_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->geometry = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_geometry_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_geometry_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_geometry_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFNode *)& ((arg1)->geometry); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_renderCaching_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_renderCaching_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_boundingBoxCaching_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_boundingBoxCaching_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLShape_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLShape::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoVRMLShape::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_affectsState" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SbBool)((SoVRMLShape const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_doAction" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_callback" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_GLRender" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getBoundingBox" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_rayPick" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_search" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_write" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getChildren" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoChildList *)((SoVRMLShape const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_notify" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_copyContents" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLShape_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSound::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getTypeId" "', argument " "1"" of type '" "SoVRMLSound const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = ((SoVRMLSound const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_initClass",0,0)) SWIG_fail; - SoVRMLSound::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSound",0,0)) SWIG_fail; - result = (SoVRMLSound *)new SoVRMLSound(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSound, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_source_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_source_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_source_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->source = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_source_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_source_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFNode *)& ((arg1)->source); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_intensity_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_intensity_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_priority_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_priority_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_priority_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_priority_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->priority = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_priority_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_priority_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_priority_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->priority); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_location_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_location_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_direction_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_direction_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minFront_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minFront_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minFront_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_minFront_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minFront = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minFront_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minFront_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minFront_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->minFront); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxFront_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxFront_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxFront_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_maxFront_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxFront = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxFront_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxFront_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxFront_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxFront); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minBack_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minBack_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minBack_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_minBack_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minBack = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minBack_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minBack_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minBack_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->minBack); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxBack_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxBack_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxBack_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_maxBack_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxBack = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxBack_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxBack_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxBack_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxBack); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_spatialize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_spatialize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_spatialize_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_spatialize_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->spatialize = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_spatialize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_spatialize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_spatialize_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFBool *)& ((arg1)->spatialize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_dopplerFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_dopplerFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_dopplerFactor_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_dopplerFactor_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dopplerFactor = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_dopplerFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_dopplerFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_dopplerFactor_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->dopplerFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_dopplerVelocity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_dopplerVelocity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_dopplerVelocity_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_dopplerVelocity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dopplerVelocity = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_dopplerVelocity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_dopplerVelocity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_dopplerVelocity_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->dopplerVelocity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDopplerVelocity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setDopplerVelocity" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDopplerVelocity" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setDopplerVelocity(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getDopplerVelocity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getDopplerVelocity" "', argument " "1"" of type '" "SoVRMLSound const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (float)((SoVRMLSound const *)arg1)->getDopplerVelocity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDopplerFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setDopplerFactor" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDopplerFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setDopplerFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getDopplerFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getDopplerFactor" "', argument " "1"" of type '" "SoVRMLSound const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (float)((SoVRMLSound const *)arg1)->getDopplerFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_startPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_startPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_startPlaying" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_startPlaying" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_startPlaying" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->startPlaying(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_stopPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_stopPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_stopPlaying" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_stopPlaying" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_stopPlaying" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->stopPlaying(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDefaultBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - SbTime arg3 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDefaultBufferingProperties",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "3"" of type '" "SbTime""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "3"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoVRMLSound::setDefaultBufferingProperties(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - int arg2 ; - int arg3 ; - SbTime arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setBufferingProperties",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "4"" of type '" "SbTime""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "4"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->setBufferingProperties(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - SbTime *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getBufferingProperties",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - { - if (PyFloat_Check(obj3)) { - arg4 = new SbTime(PyFloat_AsDouble(obj3)); - } else { - SbTime * tmp = NULL; - arg4 = new SbTime; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg4 = *tmp; - } - } - (arg1)->getBufferingProperties(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_audioRender" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSound_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSound, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_getTypeId" "', argument " "1"" of type '" "SoVRMLSphere const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - result = ((SoVRMLSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_initClass",0,0)) SWIG_fail; - SoVRMLSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSphere",0,0)) SWIG_fail; - result = (SoVRMLSphere *)new SoVRMLSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_radius_set" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_radius_get" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_GLRender" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_rayPick" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSphereSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLSphereSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = ((SoVRMLSphereSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_initClass",0,0)) SWIG_fail; - SoVRMLSphereSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSphereSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSphereSensor",0,0)) SWIG_fail; - result = (SoVRMLSphereSensor *)new SoVRMLSphereSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSphereSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_offset_set" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphereSensor_offset_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->offset = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_offset_get" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_rotation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_rotation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_rotation_changed_set" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphereSensor_rotation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_rotation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_rotation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_rotation_changed_get" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSphereSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSphereSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSpotLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_getTypeId" "', argument " "1"" of type '" "SoVRMLSpotLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = ((SoVRMLSpotLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_initClass",0,0)) SWIG_fail; - SoVRMLSpotLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSpotLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSpotLight",0,0)) SWIG_fail; - result = (SoVRMLSpotLight *)new SoVRMLSpotLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSpotLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_location_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_location_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_direction_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_direction_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_beamWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_beamWidth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_beamWidth_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_beamWidth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->beamWidth = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_beamWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_beamWidth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_beamWidth_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->beamWidth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_cutOffAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_cutOffAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_cutOffAngle_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_cutOffAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->cutOffAngle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_cutOffAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_cutOffAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_cutOffAngle_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->cutOffAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_radius_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_radius_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_attenuation_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_attenuation_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_GLRender" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSpotLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSpotLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getTypeId" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = ((SoVRMLSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_initClass",0,0)) SWIG_fail; - SoVRMLSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSwitch",0,0)) SWIG_fail; - result = (SoVRMLSwitch *)new SoVRMLSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLSwitch *)new SoVRMLSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLSwitch'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLSwitch()\n" - " SoVRMLSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_choice_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_choice_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_choice_set" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_choice_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->choice = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_choice_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_choice_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_choice_get" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoMFNode *)& ((arg1)->choice); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_whichChoice_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_whichChoice_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_whichChoice_set" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_whichChoice_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->whichChoice = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_whichChoice_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_whichChoice_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_whichChoice_get" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoSFInt32 *)& ((arg1)->whichChoice); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_affectsState" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SbBool)((SoVRMLSwitch const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_addChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_addChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_addChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_addChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_insertChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_insertChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChoice" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_getChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLSwitch const *)arg1)->getChoice(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_findChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_findChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_findChoice" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_findChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLSwitch const *)arg1)->findChoice(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getNumChoices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getNumChoices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getNumChoices" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (int)((SoVRMLSwitch const *)arg1)->getNumChoices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_removeChoice__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLSwitch_removeChoice__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_removeChoice'.\n" - " Possible C/C++ prototypes are:\n" - " removeChoice(SoVRMLSwitch *,int)\n" - " removeChoice(SoVRMLSwitch *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeAllChoices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeAllChoices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeAllChoices" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - (arg1)->removeAllChoices(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChoice__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChoice__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_replaceChoice'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChoice(SoVRMLSwitch *,int,SoNode *)\n" - " replaceChoice(SoVRMLSwitch *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_doAction" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_callback" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_GLRender" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_pick" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getBoundingBox" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_handleEvent" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getMatrix" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_search" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_write" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_audioRender" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_addChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_insertChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSwitch_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChild" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLSwitch const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_findChild" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLSwitch const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getNumChildren" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (int)((SoVRMLSwitch const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLSwitch_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_removeChild'.\n" - " Possible C/C++ prototypes are:\n" - " removeChild(SoVRMLSwitch *,int)\n" - " removeChild(SoVRMLSwitch *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeAllChildren" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_replaceChild'.\n" - " Possible C/C++ prototypes are:\n" - " replaceChild(SoVRMLSwitch *,int,SoNode *)\n" - " replaceChild(SoVRMLSwitch *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChildren" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoChildList *)((SoVRMLSwitch const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLText_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLText::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getTypeId" "', argument " "1"" of type '" "SoVRMLText const *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = ((SoVRMLText const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_initClass",0,0)) SWIG_fail; - SoVRMLText::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLText",0,0)) SWIG_fail; - result = (SoVRMLText *)new SoVRMLText(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLText, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_string_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_string_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_fontStyle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_fontStyle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_fontStyle_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_fontStyle_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->fontStyle = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_fontStyle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_fontStyle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_fontStyle_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoSFNode *)& ((arg1)->fontStyle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_maxExtent_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_maxExtent_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_maxExtent_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_maxExtent_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxExtent = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_maxExtent_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_maxExtent_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_maxExtent_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxExtent); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_length_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_length_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_length_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_length_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->length = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_length_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_length_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_length_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoMFFloat *)& ((arg1)->length); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_GLRender" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_notify" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoChildList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getChildren" "', argument " "1"" of type '" "SoVRMLText const *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoChildList *)((SoVRMLText const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLText, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTextureCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_getTypeId" "', argument " "1"" of type '" "SoVRMLTextureCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - result = ((SoVRMLTextureCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_initClass",0,0)) SWIG_fail; - SoVRMLTextureCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTextureCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTextureCoordinate",0,0)) SWIG_fail; - result = (SoVRMLTextureCoordinate *)new SoVRMLTextureCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTextureCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_point_set" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_point_get" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_doAction" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_callback" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_GLRender" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_pick" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTextureCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTextureCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTextureTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_getTypeId" "', argument " "1"" of type '" "SoVRMLTextureTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = ((SoVRMLTextureTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_initClass",0,0)) SWIG_fail; - SoVRMLTextureTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTextureTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTextureTransform",0,0)) SWIG_fail; - result = (SoVRMLTextureTransform *)new SoVRMLTextureTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTextureTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_translation_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_translation_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_rotation_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_rotation_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_scale_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_scale_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_scale_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_center_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_center_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_doAction" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_callback" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_GLRender" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_getMatrix" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_pick" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTextureTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTextureTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTimeSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLTimeSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = ((SoVRMLTimeSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_getOutputData" "', argument " "1"" of type '" "SoVRMLTimeSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutputData *)((SoVRMLTimeSensor const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLTimeSensor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_initClass",0,0)) SWIG_fail; - SoVRMLTimeSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTimeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTimeSensor",0,0)) SWIG_fail; - result = (SoVRMLTimeSensor *)new SoVRMLTimeSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTimeSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleInterval_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleInterval_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleInterval_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_cycleInterval_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->cycleInterval = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleInterval_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleInterval_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleInterval_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->cycleInterval); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_loop_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_loop_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_startTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_startTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_stopTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_stopTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_notify" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_write" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_cycleTime_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->cycleTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->cycleTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_fraction_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_fraction_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_fraction_changed_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_fraction_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->fraction_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_fraction_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_fraction_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_fraction_changed_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->fraction_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_isActive_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_time_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_time_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_time_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->time = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_time_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_time_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->time); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTimeSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTimeSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTouchSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLTouchSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = ((SoVRMLTouchSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_initClass",0,0)) SWIG_fail; - SoVRMLTouchSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTouchSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTouchSensor",0,0)) SWIG_fail; - result = (SoVRMLTouchSensor *)new SoVRMLTouchSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTouchSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitNormal_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitNormal_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitNormal_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitNormal_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->hitNormal_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitNormal_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitNormal_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitNormal_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->hitNormal_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitPoint_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitPoint_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitPoint_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitPoint_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->hitPoint_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitPoint_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitPoint_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitPoint_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->hitPoint_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitTexCoord_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitTexCoord_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->hitTexCoord_changed = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitTexCoord_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitTexCoord_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->hitTexCoord_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isOver_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isOver_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isOver_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_isOver_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isOver = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isOver_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isOver_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isOver_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isOver); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_touchTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_touchTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_touchTime_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_touchTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->touchTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_touchTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_touchTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_touchTime_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->touchTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_affectsState" "', argument " "1"" of type '" "SoVRMLTouchSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SbBool)((SoVRMLTouchSensor const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTouchSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTouchSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getTypeId" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = ((SoVRMLTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_initClass",0,0)) SWIG_fail; - SoVRMLTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTransform",0,0)) SWIG_fail; - result = (SoVRMLTransform *)new SoVRMLTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoVRMLTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTransform",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLTransform" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLTransform *)new SoVRMLTransform(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLTransform__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLTransform__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLTransform'.\n" - " Possible C/C++ prototypes are:\n" - " SoVRMLTransform()\n" - " SoVRMLTransform(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_translation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_translation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rotation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rotation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scale_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_scale_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scale_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scaleOrientation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scaleOrientation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_center_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_center_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_pointAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_pointAt" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getScaleSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getScaleSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getScaleSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getRotationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getRotationSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getRotationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getTranslationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getTranslationSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getTranslationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_multLeft",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_multLeft" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->multLeft((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_multRight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_multRight" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->multRight((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_combineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoVRMLTransform *arg2 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_combineLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_combineLeft" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_combineLeft" "', argument " "2"" of type '" "SoVRMLTransform *""'"); - } - arg2 = reinterpret_cast< SoVRMLTransform * >(argp2); - (arg1)->combineLeft(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_combineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoVRMLTransform *arg2 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_combineRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_combineRight" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_combineRight" "', argument " "2"" of type '" "SoVRMLTransform *""'"); - } - arg2 = reinterpret_cast< SoVRMLTransform * >(argp2); - (arg1)->combineRight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_setMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_setMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_setMatrix" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->setMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_recenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_recenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_recenter" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->recenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_doAction" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_callback" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getBoundingBox" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getMatrix" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rayPick" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_audioRender" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_notify" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLViewpoint::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_getTypeId" "', argument " "1"" of type '" "SoVRMLViewpoint const *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = ((SoVRMLViewpoint const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_initClass",0,0)) SWIG_fail; - SoVRMLViewpoint::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLViewpoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLViewpoint",0,0)) SWIG_fail; - result = (SoVRMLViewpoint *)new SoVRMLViewpoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLViewpoint, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_position_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_position_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_orientation_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_orientation_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_fieldOfView_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_fieldOfView_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_fieldOfView_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_fieldOfView_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->fieldOfView = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_fieldOfView_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_fieldOfView_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_fieldOfView_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFFloat *)& ((arg1)->fieldOfView); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_description_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_description_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_jump_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_jump_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_jump_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_jump_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->jump = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_jump_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_jump_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_jump_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFBool *)& ((arg1)->jump); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_GLRender" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLViewpoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLViewpoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVisibilitySensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_getTypeId" "', argument " "1"" of type '" "SoVRMLVisibilitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = ((SoVRMLVisibilitySensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_initClass",0,0)) SWIG_fail; - SoVRMLVisibilitySensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLVisibilitySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLVisibilitySensor",0,0)) SWIG_fail; - result = (SoVRMLVisibilitySensor *)new SoVRMLVisibilitySensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLVisibilitySensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_center_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_center_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_size_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_size_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enabled_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enabled_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enterTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enterTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enterTime_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_enterTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->enterTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enterTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enterTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enterTime_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->enterTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_exitTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_exitTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_exitTime_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_exitTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->exitTime = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_exitTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_exitTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_exitTime_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->exitTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_isActive_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_isActive_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_GLRender" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVisibilitySensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVisibilitySensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLWorldInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_getTypeId" "', argument " "1"" of type '" "SoVRMLWorldInfo const *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = ((SoVRMLWorldInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_initClass",0,0)) SWIG_fail; - SoVRMLWorldInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLWorldInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLWorldInfo",0,0)) SWIG_fail; - result = (SoVRMLWorldInfo *)new SoVRMLWorldInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLWorldInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_title_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_title_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_title_set" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLWorldInfo_title_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->title = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_title_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_title_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_title_get" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = (SoSFString *)& ((arg1)->title); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_info_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_info_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_info_set" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLWorldInfo_info_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->info = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_info_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_info_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_info_get" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = (SoMFString *)& ((arg1)->info); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLWorldInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLWorldInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEventManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEventManager",0,0)) SWIG_fail; - result = (SoEventManager *)new SoEventManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEventManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEventManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEventManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEventManager" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setSceneGraph" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getSceneGraph" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - result = (SoNode *)((SoEventManager const *)arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setCamera" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getCamera" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - result = (SoCamera *)((SoEventManager const *)arg1)->getCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_processEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoEvent *arg2 = (SoEvent *) (SoEvent *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_processEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_processEvent" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_processEvent" "', argument " "2"" of type '" "SoEvent const *const""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->processEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setNavigationState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoEventManager::NavigationState arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setNavigationState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setNavigationState" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEventManager_setNavigationState" "', argument " "2"" of type '" "SoEventManager::NavigationState""'"); - } - arg2 = static_cast< SoEventManager::NavigationState >(val2); - (arg1)->setNavigationState(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getNavigationState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEventManager::NavigationState result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getNavigationState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getNavigationState" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - result = (SoEventManager::NavigationState)((SoEventManager const *)arg1)->getNavigationState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getNumSoScXMLStateMachines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getNumSoScXMLStateMachines",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getNumSoScXMLStateMachines" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - result = (int)((SoEventManager const *)arg1)->getNumSoScXMLStateMachines(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getSoScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoScXMLStateMachine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getSoScXMLStateMachine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getSoScXMLStateMachine" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEventManager_getSoScXMLStateMachine" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoScXMLStateMachine *)((SoEventManager const *)arg1)->getSoScXMLStateMachine(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_addSoScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoScXMLStateMachine *arg2 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_addSoScXMLStateMachine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_addSoScXMLStateMachine" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_addSoScXMLStateMachine" "', argument " "2"" of type '" "SoScXMLStateMachine *""'"); - } - arg2 = reinterpret_cast< SoScXMLStateMachine * >(argp2); - (arg1)->addSoScXMLStateMachine(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_removeSoScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoScXMLStateMachine *arg2 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_removeSoScXMLStateMachine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_removeSoScXMLStateMachine" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_removeSoScXMLStateMachine" "', argument " "2"" of type '" "SoScXMLStateMachine *""'"); - } - arg2 = reinterpret_cast< SoScXMLStateMachine * >(argp2); - (arg1)->removeSoScXMLStateMachine(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setSize" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setOrigin",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setOrigin" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setOrigin((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setViewportRegion" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getViewportRegion" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoEventManager const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_setHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_setHandleEventAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_setHandleEventAction" "', argument " "1"" of type '" "SoEventManager *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventManager_setHandleEventAction" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->setHandleEventAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventManager_getHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventManager *arg1 = (SoEventManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoHandleEventAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventManager_getHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventManager_getHandleEventAction" "', argument " "1"" of type '" "SoEventManager const *""'"); - } - arg1 = reinterpret_cast< SoEventManager * >(argp1); - result = (SoHandleEventAction *)((SoEventManager const *)arg1)->getHandleEventAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEventManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEventManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoRenderManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRenderManager",0,0)) SWIG_fail; - result = (SoRenderManager *)new SoRenderManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRenderManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoRenderManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoRenderManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoRenderManager" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->render(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRenderManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoRenderManager_render" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->render(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRenderManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->render(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_render" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_render(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRenderManager_render__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRenderManager_render__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_render__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_render__SWIG_5(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_render__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_render__SWIG_4(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_render__SWIG_3(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_render'.\n" - " Possible C/C++ prototypes are:\n" - " render(SoRenderManager *,SbBool const,SbBool const)\n" - " render(SoRenderManager *,SbBool const)\n" - " render(SoRenderManager *)\n" - " render(SoRenderManager *,SoGLRenderAction *,SbBool const,SbBool const,SbBool const)\n" - " render(SoRenderManager *,SoGLRenderAction *,SbBool const,SbBool const)\n" - " render(SoRenderManager *,SoGLRenderAction *,SbBool const)\n" - " render(SoRenderManager *,SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addSuperimposition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoRenderManager::Superimposition *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addSuperimposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addSuperimposition" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_addSuperimposition" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_addSuperimposition" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - result = (SoRenderManager::Superimposition *)(arg1)->addSuperimposition(arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRenderManager__Superimposition, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addSuperimposition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoRenderManager::Superimposition *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addSuperimposition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addSuperimposition" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_addSuperimposition" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SoRenderManager::Superimposition *)(arg1)->addSuperimposition(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRenderManager__Superimposition, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addSuperimposition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRenderManager_addSuperimposition__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRenderManager_addSuperimposition__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_addSuperimposition'.\n" - " Possible C/C++ prototypes are:\n" - " addSuperimposition(SoRenderManager *,SoNode *,uint32_t)\n" - " addSuperimposition(SoRenderManager *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removeSuperimposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManager::Superimposition *arg2 = (SoRenderManager::Superimposition *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_removeSuperimposition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_removeSuperimposition" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRenderManager__Superimposition, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_removeSuperimposition" "', argument " "2"" of type '" "SoRenderManager::Superimposition *""'"); - } - arg2 = reinterpret_cast< SoRenderManager::Superimposition * >(argp2); - (arg1)->removeSuperimposition(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setSceneGraph" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getSceneGraph" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoNode *)((SoRenderManager const *)arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setCamera" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getCamera" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoCamera *)((SoRenderManager const *)arg1)->getCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManager::AutoClippingStrategy arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setAutoClipping",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setAutoClipping" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setAutoClipping" "', argument " "2"" of type '" "SoRenderManager::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoRenderManager::AutoClippingStrategy >(val2); - (arg1)->setAutoClipping(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_attachRootSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_attachRootSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_attachRootSensor" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_attachRootSensor" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->attachRootSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_attachClipSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_attachClipSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_attachClipSensor" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_attachClipSensor" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->attachClipSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_detachRootSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_detachRootSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_detachRootSensor" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->detachRootSensor(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_detachClipSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_detachClipSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_detachClipSensor" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->detachClipSensor(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoRenderManager::AutoClippingStrategy result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getAutoClipping",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getAutoClipping" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoRenderManager::AutoClippingStrategy)((SoRenderManager const *)arg1)->getAutoClipping(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setNearPlaneValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setNearPlaneValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setNearPlaneValue" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setNearPlaneValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setNearPlaneValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getNearPlaneValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getNearPlaneValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getNearPlaneValue" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (float)((SoRenderManager const *)arg1)->getNearPlaneValue(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setTexturesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setTexturesEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setTexturesEnabled" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setTexturesEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setTexturesEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_isTexturesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_isTexturesEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_isTexturesEnabled" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SbBool)((SoRenderManager const *)arg1)->isTexturesEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setDoubleBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setDoubleBuffer" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setDoubleBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoubleBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_isDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_isDoubleBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_isDoubleBuffer" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SbBool)((SoRenderManager const *)arg1)->isDoubleBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManager::RenderMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRenderMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRenderMode" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setRenderMode" "', argument " "2"" of type '" "SoRenderManager::RenderMode""'"); - } - arg2 = static_cast< SoRenderManager::RenderMode >(val2); - (arg1)->setRenderMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getRenderMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoRenderManager::RenderMode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getRenderMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getRenderMode" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoRenderManager::RenderMode)((SoRenderManager const *)arg1)->getRenderMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManager::StereoMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setStereoMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setStereoMode" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setStereoMode" "', argument " "2"" of type '" "SoRenderManager::StereoMode""'"); - } - arg2 = static_cast< SoRenderManager::StereoMode >(val2); - (arg1)->setStereoMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoRenderManager::StereoMode result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getStereoMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getStereoMode" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoRenderManager::StereoMode)((SoRenderManager const *)arg1)->getStereoMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setStereoOffset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setStereoOffset" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setStereoOffset" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setStereoOffset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getStereoOffset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getStereoOffset" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (float)((SoRenderManager const *)arg1)->getStereoOffset(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_setRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRenderManager_setRenderCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_setRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - (arg1)->setRenderCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_isAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_isAutoRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_isAutoRedraw" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SbBool)((SoRenderManager const *)arg1)->isAutoRedraw(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRedrawPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRedrawPriority" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setRedrawPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setRedrawPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getRedrawPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getRedrawPriority" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = ((SoRenderManager const *)arg1)->getRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_nodesensorCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *arg1 = (void *) 0 ; - SoSensor *arg2 = (SoSensor *) 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_nodesensorCB",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyTuple_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj0); - arg1 = (void *)obj0; - } - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_nodesensorCB" "', argument " "2"" of type '" "SoSensor *""'"); - } - arg2 = reinterpret_cast< SoSensor * >(argp2); - SoRenderManager::nodesensorCB(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_prerendercb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *arg1 = (void *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - int res1 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_prerendercb",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_prerendercb" "', argument " "1"" of type '" "void *""'"); - } - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_prerendercb" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - SoRenderManager::prerendercb(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_reinitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_reinitialize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_reinitialize" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->reinitialize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_scheduleRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_scheduleRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_scheduleRedraw" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->scheduleRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setWindowSize" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setWindowSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getWindowSize" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoRenderManager const *)arg1)->getWindowSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setSize" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getSize" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoRenderManager const *)arg1)->getSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setOrigin",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setOrigin" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setOrigin((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getOrigin" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoRenderManager const *)arg1)->getOrigin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setViewportRegion" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getViewportRegion" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoRenderManager const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbColor4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setBackgroundColor" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - (arg1)->setBackgroundColor((SbColor4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getBackgroundColor" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - SbColor4f const &_result_ref = ((SoRenderManager const *)arg1)->getBackgroundColor(); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setBackgroundIndex" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getBackgroundIndex" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (int)((SoRenderManager const *)arg1)->getBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRGBMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRGBMode" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setRGBMode" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setRGBMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_isRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_isRGBMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_isRGBMode" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SbBool)((SoRenderManager const *)arg1)->isRGBMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_activate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_activate" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->activate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_deactivate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_deactivate" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - (arg1)->deactivate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setAntialiasing" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRenderManager_setAntialiasing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRenderManager_setAntialiasing" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setAntialiasing(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SbBool *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getAntialiasing" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRenderManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRenderManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - ((SoRenderManager const *)arg1)->getAntialiasing(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) (SoGLRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setGLRenderAction" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getGLRenderAction" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoGLRenderAction *)((SoRenderManager const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) (SoAudioRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setAudioRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setAudioRenderAction" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRenderManager_setAudioRenderAction" "', argument " "2"" of type '" "SoAudioRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->setAudioRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoAudioRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getAudioRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_getAudioRenderAction" "', argument " "1"" of type '" "SoRenderManager const *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - result = (SoAudioRenderAction *)((SoRenderManager const *)arg1)->getAudioRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_enableRealTimeUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_enableRealTimeUpdate",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoRenderManager_enableRealTimeUpdate" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoRenderManager::enableRealTimeUpdate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_isRealTimeUpdateEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_isRealTimeUpdateEnabled",0,0)) SWIG_fail; - result = (SbBool)SoRenderManager::isRealTimeUpdateEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_getDefaultRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_getDefaultRedrawPriority",0,0)) SWIG_fail; - result = SoRenderManager::getDefaultRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addPreRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_addPreRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addPreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_removePreRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_removePreRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removePreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPostRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addPostRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addPostRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_addPostRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addPostRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePostRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - SoRenderManagerRenderCB *arg2 = (SoRenderManagerRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_removePostRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_removePostRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRenderManager_removePostRenderCallback" "', argument " "2"" of type '" "SoRenderManagerRenderCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removePostRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoRenderManager_setRenderCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_setRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoRenderManager_setRenderCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_setRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRenderManager_setRenderCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoRenderManager_setRenderCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRenderManager_setRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoRenderManager_setRenderCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_setRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *,void *const)\n" - " setRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *)\n" - " setRenderCallback(SoRenderManager *,PyObject *,PyObject *)\n" - " setRenderCallback(SoRenderManager *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addPreRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoRenderManager_addPreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoRenderManager_addPreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoRenderManager_addPreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_addPreRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPreRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *,void *)\n" - " addPreRenderCallback(SoRenderManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_removePreRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoRenderManager_removePreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoRenderManager_removePreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoRenderManager_removePreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_removePreRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removePreRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *,void *)\n" - " removePreRenderCallback(SoRenderManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPostRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_addPostRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_addPostRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoRenderManager_addPostRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_addPostRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoRenderManager_addPostRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoRenderManager_addPostRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_addPostRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addPostRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *,void *)\n" - " addPostRenderCallback(SoRenderManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePostRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRenderManager *arg1 = (SoRenderManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRenderManager_removePostRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRenderManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRenderManager_removePostRenderCallback" "', argument " "1"" of type '" "SoRenderManager *""'"); - } - arg1 = reinterpret_cast< SoRenderManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoRenderManager_removePostRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRenderManager_removePostRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoRenderManager__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoRenderManager_removePostRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRenderManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoRenderManager_removePostRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRenderManager_removePostRenderCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removePostRenderCallback(SoRenderManager *,SoRenderManagerRenderCB *,void *)\n" - " removePostRenderCallback(SoRenderManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoRenderManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRenderManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_ScXMLObject_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_getClassTypeId",0,0)) SWIG_fail; - result = ScXMLObject::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_getTypeId" "', argument " "1"" of type '" "ScXMLObject const *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - result = ((ScXMLObject const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_initClass",0,0)) SWIG_fail; - ScXMLObject::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_ScXMLObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_ScXMLObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScXMLObject" "', argument " "1"" of type '" "ScXMLObject *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_isOfType" "', argument " "1"" of type '" "ScXMLObject const *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScXMLObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((ScXMLObject const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_setXMLAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_setXMLAttribute",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_setXMLAttribute" "', argument " "1"" of type '" "ScXMLObject *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLObject_setXMLAttribute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ScXMLObject_setXMLAttribute" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - (arg1)->setXMLAttribute((char const *)arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_getXMLAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_getXMLAttribute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_getXMLAttribute" "', argument " "1"" of type '" "ScXMLObject const *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLObject_getXMLAttribute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (char *)((ScXMLObject const *)arg1)->getXMLAttribute((char const *)arg2); - resultobj = SWIG_FromCharPtr((const char *)result); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_handleXMLAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_handleXMLAttributes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_handleXMLAttributes" "', argument " "1"" of type '" "ScXMLObject *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - result = (SbBool)(arg1)->handleXMLAttributes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - ScXMLObject *arg2 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_setContainer" "', argument " "1"" of type '" "ScXMLObject *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLObject_setContainer" "', argument " "2"" of type '" "ScXMLObject *""'"); - } - arg2 = reinterpret_cast< ScXMLObject * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - ScXMLObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_getContainer" "', argument " "1"" of type '" "ScXMLObject const *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - result = (ScXMLObject *)((ScXMLObject const *)arg1)->getContainer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLObject, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLObject_isContainedIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLObject *arg1 = (ScXMLObject *) 0 ; - ScXMLObject *arg2 = (ScXMLObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLObject_isContainedIn",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLObject_isContainedIn" "', argument " "1"" of type '" "ScXMLObject const *""'"); - } - arg1 = reinterpret_cast< ScXMLObject * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLObject_isContainedIn" "', argument " "2"" of type '" "ScXMLObject const *""'"); - } - arg2 = reinterpret_cast< ScXMLObject * >(argp2); - result = (SbBool)((ScXMLObject const *)arg1)->isContainedIn((ScXMLObject const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *ScXMLObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ScXMLObject, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_ScXMLEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_getClassTypeId",0,0)) SWIG_fail; - result = ScXMLEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLEvent *arg1 = (ScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLEvent_getTypeId" "', argument " "1"" of type '" "ScXMLEvent const *""'"); - } - arg1 = reinterpret_cast< ScXMLEvent * >(argp1); - result = ((ScXMLEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLEvent_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_createInstance",0,0)) SWIG_fail; - result = (void *)ScXMLEvent::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_initClass",0,0)) SWIG_fail; - ScXMLEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_ScXMLEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_ScXMLEvent",0,0)) SWIG_fail; - result = (ScXMLEvent *)new ScXMLEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_ScXMLEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLEvent *arg1 = (ScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_ScXMLEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScXMLEvent" "', argument " "1"" of type '" "ScXMLEvent *""'"); - } - arg1 = reinterpret_cast< ScXMLEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLEvent_setIdentifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLEvent *arg1 = (ScXMLEvent *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_setIdentifier",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLEvent_setIdentifier" "', argument " "1"" of type '" "ScXMLEvent *""'"); - } - arg1 = reinterpret_cast< ScXMLEvent * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setIdentifier((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLEvent_getIdentifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLEvent *arg1 = (ScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLEvent_getIdentifier",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLEvent_getIdentifier" "', argument " "1"" of type '" "ScXMLEvent const *""'"); - } - arg1 = reinterpret_cast< ScXMLEvent * >(argp1); - { - SbName const &_result_ref = ((ScXMLEvent const *)arg1)->getIdentifier(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *ScXMLEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ScXMLEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_ScXML_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"ScXML_initClasses",0,0)) SWIG_fail; - ScXML::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXML_readFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - ScXMLStateMachine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXML_readFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXML_readFile" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (ScXMLStateMachine *)ScXML::readFile((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXML_readBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - ScXMLStateMachine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXML_readBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXML_readBuffer" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (ScXMLStateMachine *)ScXML::readBuffer((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_ScXML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXML *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_ScXML",0,0)) SWIG_fail; - result = (ScXML *)new ScXML(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXML, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_ScXML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXML *arg1 = (ScXML *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_ScXML",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXML, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScXML" "', argument " "1"" of type '" "ScXML *""'"); - } - arg1 = reinterpret_cast< ScXML * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *ScXML_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ScXML, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_getClassTypeId",0,0)) SWIG_fail; - result = ScXMLInvoke::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_getTypeId" "', argument " "1"" of type '" "ScXMLInvoke const *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - result = ((ScXMLInvoke const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_initClass",0,0)) SWIG_fail; - ScXMLInvoke::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_ScXMLInvoke(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_ScXMLInvoke",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScXMLInvoke" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_setTargetTypeAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_setTargetTypeAttribute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_setTargetTypeAttribute" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLInvoke_setTargetTypeAttribute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setTargetTypeAttribute((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_getTargetTypeAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_getTargetTypeAttribute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_getTargetTypeAttribute" "', argument " "1"" of type '" "ScXMLInvoke const *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - result = (char *)((ScXMLInvoke const *)arg1)->getTargetTypeAttribute(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_setSrcAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_setSrcAttribute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_setSrcAttribute" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLInvoke_setSrcAttribute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setSrcAttribute((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_getSrcAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_getSrcAttribute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_getSrcAttribute" "', argument " "1"" of type '" "ScXMLInvoke const *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - result = (char *)((ScXMLInvoke const *)arg1)->getSrcAttribute(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_setSrcExprAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_setSrcExprAttribute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_setSrcExprAttribute" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLInvoke_setSrcExprAttribute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setSrcExprAttribute((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_getSrcExprAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_getSrcExprAttribute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_getSrcExprAttribute" "', argument " "1"" of type '" "ScXMLInvoke const *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - result = (char *)((ScXMLInvoke const *)arg1)->getSrcExprAttribute(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_handleXMLAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_handleXMLAttributes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_handleXMLAttributes" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - result = (SbBool)(arg1)->handleXMLAttributes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLInvoke_invoke(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLInvoke *arg1 = (ScXMLInvoke *) 0 ; - ScXMLStateMachine *arg2 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLInvoke_invoke",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLInvoke, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLInvoke_invoke" "', argument " "1"" of type '" "ScXMLInvoke *""'"); - } - arg1 = reinterpret_cast< ScXMLInvoke * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLInvoke_invoke" "', argument " "2"" of type '" "ScXMLStateMachine *""'"); - } - arg2 = reinterpret_cast< ScXMLStateMachine * >(argp2); - (arg1)->invoke(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *ScXMLInvoke_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ScXMLInvoke, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getClassTypeId",0,0)) SWIG_fail; - result = ScXMLStateMachine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getTypeId" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = ((ScXMLStateMachine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_createInstance",0,0)) SWIG_fail; - result = (void *)ScXMLStateMachine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_initClass",0,0)) SWIG_fail; - ScXMLStateMachine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_ScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_ScXMLStateMachine",0,0)) SWIG_fail; - result = (ScXMLStateMachine *)new ScXMLStateMachine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLStateMachine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_ScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_ScXMLStateMachine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScXMLStateMachine" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_setName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_setName" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setName((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getName" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - SbName const &_result_ref = ((ScXMLStateMachine const *)arg1)->getName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_setDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLDocument *arg2 = (ScXMLDocument *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_setDescription",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_setDescription" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLDocument, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLStateMachine_setDescription" "', argument " "2"" of type '" "ScXMLDocument *""'"); - } - arg2 = reinterpret_cast< ScXMLDocument * >(argp2); - (arg1)->setDescription(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - ScXMLDocument *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getDescription",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getDescription" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (ScXMLDocument *)((ScXMLStateMachine const *)arg1)->getDescription(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLDocument, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_initialize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_initialize" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - (arg1)->initialize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_queueEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLEvent *arg2 = (ScXMLEvent *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_queueEvent",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "2"" of type '" "ScXMLEvent const *""'"); - } - arg2 = reinterpret_cast< ScXMLEvent * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->queueEvent((ScXMLEvent const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_queueEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLEvent *arg2 = (ScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_queueEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "2"" of type '" "ScXMLEvent const *""'"); - } - arg2 = reinterpret_cast< ScXMLEvent * >(argp2); - (arg1)->queueEvent((ScXMLEvent const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_queueEvent__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_queueEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_queueEvent" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->queueEvent((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_queueEvent(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ScXMLEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_ScXMLStateMachine_queueEvent__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_ScXMLStateMachine_queueEvent__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ScXMLEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_ScXMLStateMachine_queueEvent__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'ScXMLStateMachine_queueEvent'.\n" - " Possible C/C++ prototypes are:\n" - " queueEvent(ScXMLStateMachine *,ScXMLEvent const *,SbBool)\n" - " queueEvent(ScXMLStateMachine *,ScXMLEvent const *)\n" - " queueEvent(ScXMLStateMachine *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_processEventQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_processEventQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_processEventQueue" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (SbBool)(arg1)->processEventQueue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_isActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_isActive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_isActive" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (SbBool)((ScXMLStateMachine const *)arg1)->isActive(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_isFinished(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_isFinished",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_isFinished" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (SbBool)((ScXMLStateMachine const *)arg1)->isFinished(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getCurrentEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - ScXMLEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getCurrentEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getCurrentEvent" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (ScXMLEvent *)((ScXMLStateMachine const *)arg1)->getCurrentEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLEvent, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getNumActiveStates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getNumActiveStates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getNumActiveStates" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - result = (int)((ScXMLStateMachine const *)arg1)->getNumActiveStates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getActiveState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - ScXMLObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getActiveState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getActiveState" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScXMLStateMachine_getActiveState" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (ScXMLObject *)((ScXMLStateMachine const *)arg1)->getActiveState(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLObject, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_getState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - ScXMLObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_getState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_getState" "', argument " "1"" of type '" "ScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScXMLStateMachine_getState" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (ScXMLObject *)((ScXMLStateMachine const *)arg1)->getState((char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScXMLObject, 0 | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addDeleteCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLStateMachineDeleteCB *arg2 = (ScXMLStateMachineDeleteCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_addDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_addDeleteCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "ScXMLStateMachine_addDeleteCallback" "', argument " "2"" of type '" "ScXMLStateMachineDeleteCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ScXMLStateMachine_addDeleteCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addDeleteCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeDeleteCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLStateMachineDeleteCB *arg2 = (ScXMLStateMachineDeleteCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_removeDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_removeDeleteCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "ScXMLStateMachine_removeDeleteCallback" "', argument " "2"" of type '" "ScXMLStateMachineDeleteCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ScXMLStateMachine_removeDeleteCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeDeleteCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addStateChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLStateChangeCB *arg2 = (ScXMLStateChangeCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_addStateChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_addStateChangeCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "ScXMLStateMachine_addStateChangeCallback" "', argument " "2"" of type '" "ScXMLStateChangeCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ScXMLStateMachine_addStateChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addStateChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeStateChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - ScXMLStateChangeCB *arg2 = (ScXMLStateChangeCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_removeStateChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_removeStateChangeCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "ScXMLStateMachine_removeStateChangeCallback" "', argument " "2"" of type '" "ScXMLStateChangeCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ScXMLStateMachine_removeStateChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeStateChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addDeleteCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_addDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_addDeleteCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ScXMLStateMachine_addDeleteCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addDeleteCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_ScXMLStateMachine_addDeleteCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_ScXMLStateMachine_addDeleteCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'ScXMLStateMachine_addDeleteCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addDeleteCallback(ScXMLStateMachine *,ScXMLStateMachineDeleteCB *,void *)\n" - " addDeleteCallback(ScXMLStateMachine *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeDeleteCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_removeDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_removeDeleteCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ScXMLStateMachine_removeDeleteCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeDeleteCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_ScXMLStateMachine_removeDeleteCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_ScXMLStateMachine_removeDeleteCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'ScXMLStateMachine_removeDeleteCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeDeleteCallback(ScXMLStateMachine *,ScXMLStateMachineDeleteCB *,void *)\n" - " removeDeleteCallback(ScXMLStateMachine *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addStateChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_addStateChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_addStateChangeCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ScXMLStateMachine_addStateChangeCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_addStateChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_ScXMLStateMachine_addStateChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_ScXMLStateMachine_addStateChangeCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'ScXMLStateMachine_addStateChangeCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addStateChangeCallback(ScXMLStateMachine *,ScXMLStateChangeCB *,void *)\n" - " addStateChangeCallback(ScXMLStateMachine *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeStateChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - ScXMLStateMachine *arg1 = (ScXMLStateMachine *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"ScXMLStateMachine_removeStateChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScXMLStateMachine_removeStateChangeCallback" "', argument " "1"" of type '" "ScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< ScXMLStateMachine * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ScXMLStateMachine_removeStateChangeCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ScXMLStateMachine_removeStateChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_ScXMLStateMachine_removeStateChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_ScXMLStateMachine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_ScXMLStateMachine_removeStateChangeCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'ScXMLStateMachine_removeStateChangeCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeStateChangeCallback(ScXMLStateMachine *,ScXMLStateChangeCB *,void *)\n" - " removeStateChangeCallback(ScXMLStateMachine *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *ScXMLStateMachine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ScXMLStateMachine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoScXMLEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *arg1 = (SoScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLEvent_getTypeId" "', argument " "1"" of type '" "SoScXMLEvent const *""'"); - } - arg1 = reinterpret_cast< SoScXMLEvent * >(argp1); - result = ((SoScXMLEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_createInstance",0,0)) SWIG_fail; - result = (void *)SoScXMLEvent::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_initClass",0,0)) SWIG_fail; - SoScXMLEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScXMLEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScXMLEvent",0,0)) SWIG_fail; - result = (SoScXMLEvent *)new SoScXMLEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScXMLEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoScXMLEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *arg1 = (SoScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoScXMLEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoScXMLEvent" "', argument " "1"" of type '" "SoScXMLEvent *""'"); - } - arg1 = reinterpret_cast< SoScXMLEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_setSoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *arg1 = (SoScXMLEvent *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_setSoEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLEvent_setSoEvent" "', argument " "1"" of type '" "SoScXMLEvent *""'"); - } - arg1 = reinterpret_cast< SoScXMLEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScXMLEvent_setSoEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - (arg1)->setSoEvent((SoEvent const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_getSoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *arg1 = (SoScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_getSoEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLEvent_getSoEvent" "', argument " "1"" of type '" "SoScXMLEvent const *""'"); - } - arg1 = reinterpret_cast< SoScXMLEvent * >(argp1); - result = (SoEvent *)((SoScXMLEvent const *)arg1)->getSoEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLEvent_setUpIdentifier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLEvent *arg1 = (SoScXMLEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLEvent_setUpIdentifier",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLEvent_setUpIdentifier" "', argument " "1"" of type '" "SoScXMLEvent *""'"); - } - arg1 = reinterpret_cast< SoScXMLEvent * >(argp1); - (arg1)->setUpIdentifier(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScXMLEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScXMLEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_getClassTypeId",0,0)) SWIG_fail; - result = SoScXMLStateMachine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_getTypeId" "', argument " "1"" of type '" "SoScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - result = ((SoScXMLStateMachine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_createInstance",0,0)) SWIG_fail; - result = (void *)SoScXMLStateMachine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_initClass",0,0)) SWIG_fail; - SoScXMLStateMachine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScXMLStateMachine",0,0)) SWIG_fail; - result = (SoScXMLStateMachine *)new SoScXMLStateMachine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScXMLStateMachine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoScXMLStateMachine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoScXMLStateMachine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoScXMLStateMachine" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_setSceneGraphRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_setSceneGraphRoot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_setSceneGraphRoot" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScXMLStateMachine_setSceneGraphRoot" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraphRoot(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_getSceneGraphRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_getSceneGraphRoot",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_getSceneGraphRoot" "', argument " "1"" of type '" "SoScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - result = (SoNode *)((SoScXMLStateMachine const *)arg1)->getSceneGraphRoot(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_setActiveCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_setActiveCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_setActiveCamera" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScXMLStateMachine_setActiveCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setActiveCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_getActiveCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_getActiveCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_getActiveCamera" "', argument " "1"" of type '" "SoScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - result = (SoCamera *)((SoScXMLStateMachine const *)arg1)->getActiveCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_setViewportRegion" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScXMLStateMachine_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoScXMLStateMachine_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_getViewportRegion" "', argument " "1"" of type '" "SoScXMLStateMachine const *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoScXMLStateMachine const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_preGLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_preGLRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_preGLRender" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - (arg1)->preGLRender(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_postGLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_postGLRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_postGLRender" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - (arg1)->postGLRender(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScXMLStateMachine_processSoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScXMLStateMachine *arg1 = (SoScXMLStateMachine *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScXMLStateMachine_processSoEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScXMLStateMachine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScXMLStateMachine_processSoEvent" "', argument " "1"" of type '" "SoScXMLStateMachine *""'"); - } - arg1 = reinterpret_cast< SoScXMLStateMachine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScXMLStateMachine_processSoEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->processSoEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScXMLStateMachine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScXMLStateMachine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -static PyMethodDef SwigMethods[] = { - { (char *)"cast", cast, METH_VARARGS, NULL}, - { (char *)"new_charp", _wrap_new_charp, METH_VARARGS, (char *)"new_charp() -> charp"}, - { (char *)"delete_charp", _wrap_delete_charp, METH_VARARGS, (char *)"delete_charp(charp self)"}, - { (char *)"charp_assign", _wrap_charp_assign, METH_VARARGS, (char *)"charp_assign(charp self, char value)"}, - { (char *)"charp_value", _wrap_charp_value, METH_VARARGS, (char *)"charp_value(charp self) -> char"}, - { (char *)"charp_cast", _wrap_charp_cast, METH_VARARGS, (char *)"charp_cast(charp self) -> char"}, - { (char *)"charp_frompointer", _wrap_charp_frompointer, METH_VARARGS, (char *)"charp_frompointer(char t) -> charp"}, - { (char *)"charp_swigregister", charp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_intp", _wrap_new_intp, METH_VARARGS, (char *)"new_intp() -> intp"}, - { (char *)"delete_intp", _wrap_delete_intp, METH_VARARGS, (char *)"delete_intp(intp self)"}, - { (char *)"intp_assign", _wrap_intp_assign, METH_VARARGS, (char *)"intp_assign(intp self, int value)"}, - { (char *)"intp_value", _wrap_intp_value, METH_VARARGS, (char *)"intp_value(intp self) -> int"}, - { (char *)"intp_cast", _wrap_intp_cast, METH_VARARGS, (char *)"intp_cast(intp self) -> int"}, - { (char *)"intp_frompointer", _wrap_intp_frompointer, METH_VARARGS, (char *)"intp_frompointer(int t) -> intp"}, - { (char *)"intp_swigregister", intp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_longp", _wrap_new_longp, METH_VARARGS, (char *)"new_longp() -> longp"}, - { (char *)"delete_longp", _wrap_delete_longp, METH_VARARGS, (char *)"delete_longp(longp self)"}, - { (char *)"longp_assign", _wrap_longp_assign, METH_VARARGS, (char *)"longp_assign(longp self, long value)"}, - { (char *)"longp_value", _wrap_longp_value, METH_VARARGS, (char *)"longp_value(longp self) -> long"}, - { (char *)"longp_cast", _wrap_longp_cast, METH_VARARGS, (char *)"longp_cast(longp self) -> long"}, - { (char *)"longp_frompointer", _wrap_longp_frompointer, METH_VARARGS, (char *)"longp_frompointer(long t) -> longp"}, - { (char *)"longp_swigregister", longp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_floatp", _wrap_new_floatp, METH_VARARGS, (char *)"new_floatp() -> floatp"}, - { (char *)"delete_floatp", _wrap_delete_floatp, METH_VARARGS, (char *)"delete_floatp(floatp self)"}, - { (char *)"floatp_assign", _wrap_floatp_assign, METH_VARARGS, (char *)"floatp_assign(floatp self, float value)"}, - { (char *)"floatp_value", _wrap_floatp_value, METH_VARARGS, (char *)"floatp_value(floatp self) -> float"}, - { (char *)"floatp_cast", _wrap_floatp_cast, METH_VARARGS, (char *)"floatp_cast(floatp self) -> float"}, - { (char *)"floatp_frompointer", _wrap_floatp_frompointer, METH_VARARGS, (char *)"floatp_frompointer(float t) -> floatp"}, - { (char *)"floatp_swigregister", floatp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_doublep", _wrap_new_doublep, METH_VARARGS, (char *)"new_doublep() -> doublep"}, - { (char *)"delete_doublep", _wrap_delete_doublep, METH_VARARGS, (char *)"delete_doublep(doublep self)"}, - { (char *)"doublep_assign", _wrap_doublep_assign, METH_VARARGS, (char *)"doublep_assign(doublep self, double value)"}, - { (char *)"doublep_value", _wrap_doublep_value, METH_VARARGS, (char *)"doublep_value(doublep self) -> double"}, - { (char *)"doublep_cast", _wrap_doublep_cast, METH_VARARGS, (char *)"doublep_cast(doublep self) -> double"}, - { (char *)"doublep_frompointer", _wrap_doublep_frompointer, METH_VARARGS, (char *)"doublep_frompointer(double t) -> doublep"}, - { (char *)"doublep_swigregister", doublep_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDict", _wrap_new_SbDict, METH_VARARGS, (char *)"\n" - "SbDict(int entries=251)\n" - "SbDict()\n" - "new_SbDict(SbDict from) -> SbDict\n" - ""}, - { (char *)"delete_SbDict", _wrap_delete_SbDict, METH_VARARGS, (char *)"delete_SbDict(SbDict self)"}, - { (char *)"SbDict_applyToAll", _wrap_SbDict_applyToAll, METH_VARARGS, (char *)"\n" - "applyToAll( rtn)\n" - "SbDict_applyToAll(SbDict self, rtn, void data)\n" - ""}, - { (char *)"SbDict_clear", _wrap_SbDict_clear, METH_VARARGS, (char *)"SbDict_clear(SbDict self)"}, - { (char *)"SbDict_enter", _wrap_SbDict_enter, METH_VARARGS, (char *)"SbDict_enter(SbDict self, Key key, void value) -> SbBool"}, - { (char *)"SbDict_find", _wrap_SbDict_find, METH_VARARGS, (char *)"SbDict_find(SbDict self, Key key, void value) -> SbBool"}, - { (char *)"SbDict_makePList", _wrap_SbDict_makePList, METH_VARARGS, (char *)"SbDict_makePList(SbDict self, SbPList keys, SbPList values)"}, - { (char *)"SbDict_remove", _wrap_SbDict_remove, METH_VARARGS, (char *)"SbDict_remove(SbDict self, Key key) -> SbBool"}, - { (char *)"SbDict_setHashingFunction", _wrap_SbDict_setHashingFunction, METH_VARARGS, (char *)"SbDict_setHashingFunction(SbDict self, func)"}, - { (char *)"SbDict_swigregister", SbDict_swigregister, METH_VARARGS, NULL}, - { (char *)"SoType_fromName", _wrap_SoType_fromName, METH_VARARGS, (char *)"SoType_fromName(SbName name) -> SoType"}, - { (char *)"SoType_getName", _wrap_SoType_getName, METH_VARARGS, (char *)"SoType_getName(SoType self) -> SbName"}, - { (char *)"SoType_getParent", _wrap_SoType_getParent, METH_VARARGS, (char *)"SoType_getParent(SoType self) -> SoType"}, - { (char *)"SoType_isDerivedFrom", _wrap_SoType_isDerivedFrom, METH_VARARGS, (char *)"SoType_isDerivedFrom(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType_getAllDerivedFrom", _wrap_SoType_getAllDerivedFrom, METH_VARARGS, (char *)"SoType_getAllDerivedFrom(SoType type, SoTypeList list) -> int"}, - { (char *)"SoType_canCreateInstance", _wrap_SoType_canCreateInstance, METH_VARARGS, (char *)"SoType_canCreateInstance(SoType self) -> SbBool"}, - { (char *)"SoType_getData", _wrap_SoType_getData, METH_VARARGS, (char *)"SoType_getData(SoType self) -> uint16_t"}, - { (char *)"SoType_getKey", _wrap_SoType_getKey, METH_VARARGS, (char *)"SoType_getKey(SoType self) -> int16_t"}, - { (char *)"SoType___eq__", _wrap_SoType___eq__, METH_VARARGS, (char *)"SoType___eq__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___ne__", _wrap_SoType___ne__, METH_VARARGS, (char *)"SoType___ne__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___lt__", _wrap_SoType___lt__, METH_VARARGS, (char *)"SoType___lt__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___le__", _wrap_SoType___le__, METH_VARARGS, (char *)"SoType___le__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___ge__", _wrap_SoType___ge__, METH_VARARGS, (char *)"SoType___ge__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___gt__", _wrap_SoType___gt__, METH_VARARGS, (char *)"SoType___gt__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType_removeType", _wrap_SoType_removeType, METH_VARARGS, (char *)"SoType_removeType(SbName name) -> SbBool"}, - { (char *)"SoType_init", _wrap_SoType_init, METH_VARARGS, (char *)"SoType_init()"}, - { (char *)"SoType_fromKey", _wrap_SoType_fromKey, METH_VARARGS, (char *)"SoType_fromKey(uint16_t key) -> SoType"}, - { (char *)"SoType_badType", _wrap_SoType_badType, METH_VARARGS, (char *)"SoType_badType() -> SoType"}, - { (char *)"SoType_isBad", _wrap_SoType_isBad, METH_VARARGS, (char *)"SoType_isBad(SoType self) -> SbBool"}, - { (char *)"SoType_makeInternal", _wrap_SoType_makeInternal, METH_VARARGS, (char *)"SoType_makeInternal(SoType self)"}, - { (char *)"SoType_isInternal", _wrap_SoType_isInternal, METH_VARARGS, (char *)"SoType_isInternal(SoType self) -> SbBool"}, - { (char *)"SoType_getNumTypes", _wrap_SoType_getNumTypes, METH_VARARGS, (char *)"SoType_getNumTypes() -> int"}, - { (char *)"SoType_getInstantiationMethod", _wrap_SoType_getInstantiationMethod, METH_VARARGS, (char *)"SoType_getInstantiationMethod(SoType self) -> instantiationMethod"}, - { (char *)"SoType_createInstance", _wrap_SoType_createInstance, METH_VARARGS, (char *)"SoType_createInstance(SoType self) -> PyObject"}, - { (char *)"new_SoType", _wrap_new_SoType, METH_VARARGS, (char *)"new_SoType() -> SoType"}, - { (char *)"delete_SoType", _wrap_delete_SoType, METH_VARARGS, (char *)"delete_SoType(SoType self)"}, - { (char *)"SoType_swigregister", SoType_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPList", _wrap_new_SbPList, METH_VARARGS, (char *)"\n" - "SbPList(int sizehint=)\n" - "SbPList()\n" - "new_SbPList(SbPList l) -> SbPList\n" - ""}, - { (char *)"delete_SbPList", _wrap_delete_SbPList, METH_VARARGS, (char *)"delete_SbPList(SbPList self)"}, - { (char *)"SbPList_copy", _wrap_SbPList_copy, METH_VARARGS, (char *)"SbPList_copy(SbPList self, SbPList l)"}, - { (char *)"SbPList_fit", _wrap_SbPList_fit, METH_VARARGS, (char *)"SbPList_fit(SbPList self)"}, - { (char *)"SbPList_append", _wrap_SbPList_append, METH_VARARGS, (char *)"SbPList_append(SbPList self, void item)"}, - { (char *)"SbPList_find", _wrap_SbPList_find, METH_VARARGS, (char *)"SbPList_find(SbPList self, void item) -> int"}, - { (char *)"SbPList_insert", _wrap_SbPList_insert, METH_VARARGS, (char *)"SbPList_insert(SbPList self, void item, int insertbefore)"}, - { (char *)"SbPList_removeItem", _wrap_SbPList_removeItem, METH_VARARGS, (char *)"SbPList_removeItem(SbPList self, void item)"}, - { (char *)"SbPList_remove", _wrap_SbPList_remove, METH_VARARGS, (char *)"SbPList_remove(SbPList self, int index)"}, - { (char *)"SbPList_removeFast", _wrap_SbPList_removeFast, METH_VARARGS, (char *)"SbPList_removeFast(SbPList self, int index)"}, - { (char *)"SbPList_getLength", _wrap_SbPList_getLength, METH_VARARGS, (char *)"SbPList_getLength(SbPList self) -> int"}, - { (char *)"SbPList_truncate", _wrap_SbPList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int length, int fit=0)\n" - "SbPList_truncate(SbPList self, int length)\n" - ""}, - { (char *)"SbPList_getArrayPtr", _wrap_SbPList_getArrayPtr, METH_VARARGS, (char *)"\n" - "getArrayPtr(int start=0)\n" - "SbPList_getArrayPtr(SbPList self) -> void\n" - ""}, - { (char *)"SbPList___eq__", _wrap_SbPList___eq__, METH_VARARGS, (char *)"SbPList___eq__(SbPList self, SbPList l) -> int"}, - { (char *)"SbPList___ne__", _wrap_SbPList___ne__, METH_VARARGS, (char *)"SbPList___ne__(SbPList self, SbPList l) -> int"}, - { (char *)"SbPList_get", _wrap_SbPList_get, METH_VARARGS, (char *)"SbPList_get(SbPList self, int index) -> void"}, - { (char *)"SbPList_set", _wrap_SbPList_set, METH_VARARGS, (char *)"SbPList_set(SbPList self, int index, void item)"}, - { (char *)"SbPList___getitem__", _wrap_SbPList___getitem__, METH_VARARGS, (char *)"SbPList___getitem__(SbPList self, int i) -> void"}, - { (char *)"SbPList___setitem__", _wrap_SbPList___setitem__, METH_VARARGS, (char *)"SbPList___setitem__(SbPList self, int i, void val)"}, - { (char *)"SbPList_swigregister", SbPList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbIntList", _wrap_new_SbIntList, METH_VARARGS, (char *)"\n" - "SbIntList()\n" - "new_SbIntList(int sizehint) -> SbIntList\n" - ""}, - { (char *)"SbIntList_append", _wrap_SbIntList_append, METH_VARARGS, (char *)"SbIntList_append(SbIntList self, int item)"}, - { (char *)"SbIntList_find", _wrap_SbIntList_find, METH_VARARGS, (char *)"SbIntList_find(SbIntList self, int item) -> int"}, - { (char *)"SbIntList_insert", _wrap_SbIntList_insert, METH_VARARGS, (char *)"SbIntList_insert(SbIntList self, int item, int addbefore)"}, - { (char *)"SbIntList___setitem__", _wrap_SbIntList___setitem__, METH_VARARGS, (char *)"SbIntList___setitem__(SbIntList self, int i, int value)"}, - { (char *)"SbIntList___getitem__", _wrap_SbIntList___getitem__, METH_VARARGS, (char *)"SbIntList___getitem__(SbIntList self, int i) -> int"}, - { (char *)"SbIntList_get", _wrap_SbIntList_get, METH_VARARGS, (char *)"SbIntList_get(SbIntList self, int i) -> int"}, - { (char *)"delete_SbIntList", _wrap_delete_SbIntList, METH_VARARGS, (char *)"delete_SbIntList(SbIntList self)"}, - { (char *)"SbIntList_swigregister", SbIntList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbString", _wrap_new_SbString, METH_VARARGS, (char *)"\n" - "SbString()\n" - "SbString(char s)\n" - "SbString(char s, int start, int end)\n" - "SbString(SbString s)\n" - "new_SbString(int digits) -> SbString\n" - ""}, - { (char *)"delete_SbString", _wrap_delete_SbString, METH_VARARGS, (char *)"delete_SbString(SbString self)"}, - { (char *)"SbString_hash", _wrap_SbString_hash, METH_VARARGS, (char *)"\n" - "hash() -> uint32_t\n" - "SbString_hash(char s) -> uint32_t\n" - ""}, - { (char *)"SbString_getLength", _wrap_SbString_getLength, METH_VARARGS, (char *)"SbString_getLength(SbString self) -> int"}, - { (char *)"SbString_makeEmpty", _wrap_SbString_makeEmpty, METH_VARARGS, (char *)"\n" - "makeEmpty(SbBool freeold=1)\n" - "SbString_makeEmpty(SbString self)\n" - ""}, - { (char *)"SbString_getString", _wrap_SbString_getString, METH_VARARGS, (char *)"SbString_getString(SbString self) -> char"}, - { (char *)"SbString_getSubString", _wrap_SbString_getSubString, METH_VARARGS, (char *)"\n" - "getSubString(int startidx, int endidx=-1) -> SbString\n" - "SbString_getSubString(SbString self, int startidx) -> SbString\n" - ""}, - { (char *)"SbString_deleteSubString", _wrap_SbString_deleteSubString, METH_VARARGS, (char *)"\n" - "deleteSubString(int startidx, int endidx=-1)\n" - "SbString_deleteSubString(SbString self, int startidx)\n" - ""}, - { (char *)"SbString_addIntString", _wrap_SbString_addIntString, METH_VARARGS, (char *)"SbString_addIntString(SbString self, int value)"}, - { (char *)"SbString___iadd__", _wrap_SbString___iadd__, METH_VARARGS, (char *)"\n" - "__iadd__(char s) -> SbString\n" - "__iadd__(SbString s) -> SbString\n" - "SbString___iadd__(SbString self, char c) -> SbString\n" - ""}, - { (char *)"SbString_compareSubString", _wrap_SbString_compareSubString, METH_VARARGS, (char *)"\n" - "compareSubString(char text, int offset=0) -> int\n" - "SbString_compareSubString(SbString self, char text) -> int\n" - ""}, - { (char *)"SbString_sprintf", _wrap_SbString_sprintf, METH_VARARGS, (char *)"SbString_sprintf(SbString self, char formatstr, v(...) ?) -> SbString"}, - { (char *)"SbString_apply", _wrap_SbString_apply, METH_VARARGS, (char *)"SbString_apply(SbString self, char func)"}, - { (char *)"SbString_find", _wrap_SbString_find, METH_VARARGS, (char *)"SbString_find(SbString self, SbString s) -> int"}, - { (char *)"SbString_findAll", _wrap_SbString_findAll, METH_VARARGS, (char *)"SbString_findAll(SbString self, SbString s, SbIntList found) -> SbBool"}, - { (char *)"SbString_lower", _wrap_SbString_lower, METH_VARARGS, (char *)"SbString_lower(SbString self) -> SbString"}, - { (char *)"SbString_upper", _wrap_SbString_upper, METH_VARARGS, (char *)"SbString_upper(SbString self) -> SbString"}, - { (char *)"SbString___eq__", _wrap_SbString___eq__, METH_VARARGS, (char *)"\n" - "__eq__(SbString u) -> int\n" - "SbString___eq__(SbString self, char u) -> int\n" - ""}, - { (char *)"SbString___nq__", _wrap_SbString___nq__, METH_VARARGS, (char *)"\n" - "__nq__(SbString u) -> int\n" - "SbString___nq__(SbString self, char u) -> int\n" - ""}, - { (char *)"SbString___getitem__", _wrap_SbString___getitem__, METH_VARARGS, (char *)"SbString___getitem__(SbString self, int i) -> char"}, - { (char *)"SbString___repr__", _wrap_SbString___repr__, METH_VARARGS, (char *)"SbString___repr__(SbString self) -> char"}, - { (char *)"SbString_swigregister", SbString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbName", _wrap_new_SbName, METH_VARARGS, (char *)"\n" - "SbName()\n" - "SbName(char namestring)\n" - "SbName(SbString str)\n" - "new_SbName(SbName name) -> SbName\n" - ""}, - { (char *)"delete_SbName", _wrap_delete_SbName, METH_VARARGS, (char *)"delete_SbName(SbName self)"}, - { (char *)"SbName_getString", _wrap_SbName_getString, METH_VARARGS, (char *)"SbName_getString(SbName self) -> char"}, - { (char *)"SbName_getLength", _wrap_SbName_getLength, METH_VARARGS, (char *)"SbName_getLength(SbName self) -> int"}, - { (char *)"SbName_isIdentStartChar", _wrap_SbName_isIdentStartChar, METH_VARARGS, (char *)"SbName_isIdentStartChar(char c) -> SbBool"}, - { (char *)"SbName_isIdentChar", _wrap_SbName_isIdentChar, METH_VARARGS, (char *)"SbName_isIdentChar(char c) -> SbBool"}, - { (char *)"SbName_isBaseNameStartChar", _wrap_SbName_isBaseNameStartChar, METH_VARARGS, (char *)"SbName_isBaseNameStartChar(char c) -> SbBool"}, - { (char *)"SbName_isBaseNameChar", _wrap_SbName_isBaseNameChar, METH_VARARGS, (char *)"SbName_isBaseNameChar(char c) -> SbBool"}, - { (char *)"SbName_empty", _wrap_SbName_empty, METH_VARARGS, (char *)"SbName_empty() -> SbName"}, - { (char *)"SbName___eq__", _wrap_SbName___eq__, METH_VARARGS, (char *)"\n" - "__eq__(SbName u) -> int\n" - "__eq__(char u) -> int\n" - "SbName___eq__(SbName self, SbString u) -> int\n" - ""}, - { (char *)"SbName___nq__", _wrap_SbName___nq__, METH_VARARGS, (char *)"\n" - "__nq__(SbName u) -> int\n" - "__nq__(char u) -> int\n" - "SbName___nq__(SbName self, SbString u) -> int\n" - ""}, - { (char *)"SbName___getitem__", _wrap_SbName___getitem__, METH_VARARGS, (char *)"SbName___getitem__(SbName self, int i) -> char"}, - { (char *)"SbName___repr__", _wrap_SbName___repr__, METH_VARARGS, (char *)"SbName___repr__(SbName self) -> char"}, - { (char *)"SbName_swigregister", SbName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoError", _wrap_new_SoError, METH_VARARGS, (char *)"new_SoError() -> SoError"}, - { (char *)"delete_SoError", _wrap_delete_SoError, METH_VARARGS, (char *)"delete_SoError(SoError self)"}, - { (char *)"SoError_setHandlerCallback", _wrap_SoError_setHandlerCallback, METH_VARARGS, (char *)"SoError_setHandlerCallback(SoErrorCB func, void data)"}, - { (char *)"SoError_getHandlerCallback", _wrap_SoError_getHandlerCallback, METH_VARARGS, (char *)"SoError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoError_getHandlerData", _wrap_SoError_getHandlerData, METH_VARARGS, (char *)"SoError_getHandlerData() -> void"}, - { (char *)"SoError_getDebugString", _wrap_SoError_getDebugString, METH_VARARGS, (char *)"SoError_getDebugString(SoError self) -> SbString"}, - { (char *)"SoError_getClassTypeId", _wrap_SoError_getClassTypeId, METH_VARARGS, (char *)"SoError_getClassTypeId() -> SoType"}, - { (char *)"SoError_getTypeId", _wrap_SoError_getTypeId, METH_VARARGS, (char *)"SoError_getTypeId(SoError self) -> SoType"}, - { (char *)"SoError_isOfType", _wrap_SoError_isOfType, METH_VARARGS, (char *)"SoError_isOfType(SoError self, SoType type) -> SbBool"}, - { (char *)"SoError_post", _wrap_SoError_post, METH_VARARGS, (char *)"SoError_post(char format, v(...) ?)"}, - { (char *)"SoError_getString", _wrap_SoError_getString, METH_VARARGS, (char *)"\n" - "getString(SoNode node) -> SbString\n" - "getString(SoPath path) -> SbString\n" - "SoError_getString(SoEngine engine) -> SbString\n" - ""}, - { (char *)"SoError_initClass", _wrap_SoError_initClass, METH_VARARGS, (char *)"SoError_initClass()"}, - { (char *)"SoError_initClasses", _wrap_SoError_initClasses, METH_VARARGS, (char *)"SoError_initClasses()"}, - { (char *)"SoError_swigregister", SoError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDebugError_setHandlerCallback", _wrap_SoDebugError_setHandlerCallback, METH_VARARGS, (char *)"SoDebugError_setHandlerCallback(SoErrorCB function, void data)"}, - { (char *)"SoDebugError_getHandlerCallback", _wrap_SoDebugError_getHandlerCallback, METH_VARARGS, (char *)"SoDebugError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoDebugError_getHandlerData", _wrap_SoDebugError_getHandlerData, METH_VARARGS, (char *)"SoDebugError_getHandlerData() -> void"}, - { (char *)"SoDebugError_getClassTypeId", _wrap_SoDebugError_getClassTypeId, METH_VARARGS, (char *)"SoDebugError_getClassTypeId() -> SoType"}, - { (char *)"SoDebugError_getTypeId", _wrap_SoDebugError_getTypeId, METH_VARARGS, (char *)"SoDebugError_getTypeId(SoDebugError self) -> SoType"}, - { (char *)"SoDebugError_getSeverity", _wrap_SoDebugError_getSeverity, METH_VARARGS, (char *)"SoDebugError_getSeverity(SoDebugError self) -> Severity"}, - { (char *)"SoDebugError_post", _wrap_SoDebugError_post, METH_VARARGS, (char *)"SoDebugError_post(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_postWarning", _wrap_SoDebugError_postWarning, METH_VARARGS, (char *)"SoDebugError_postWarning(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_postInfo", _wrap_SoDebugError_postInfo, METH_VARARGS, (char *)"SoDebugError_postInfo(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_initClass", _wrap_SoDebugError_initClass, METH_VARARGS, (char *)"SoDebugError_initClass()"}, - { (char *)"new_SoDebugError", _wrap_new_SoDebugError, METH_VARARGS, (char *)"new_SoDebugError() -> SoDebugError"}, - { (char *)"delete_SoDebugError", _wrap_delete_SoDebugError, METH_VARARGS, (char *)"delete_SoDebugError(SoDebugError self)"}, - { (char *)"SoDebugError_swigregister", SoDebugError_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2s", _wrap_new_SbVec2s, METH_VARARGS, (char *)"\n" - "SbVec2s()\n" - "SbVec2s(short v)\n" - "SbVec2s(short x, short y)\n" - "SbVec2s(SbVec2us v)\n" - "SbVec2s(SbVec2b v)\n" - "SbVec2s(SbVec2i32 v)\n" - "SbVec2s(SbVec2f v)\n" - "new_SbVec2s(SbVec2d v) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s_setValue", _wrap_SbVec2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(short v) -> SbVec2s\n" - "setValue(short x, short y) -> SbVec2s\n" - "setValue(SbVec2us v) -> SbVec2s\n" - "setValue(SbVec2b v) -> SbVec2s\n" - "setValue(SbVec2i32 v) -> SbVec2s\n" - "setValue(SbVec2f v) -> SbVec2s\n" - "SbVec2s_setValue(SbVec2s self, SbVec2d v) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s_getValue", _wrap_SbVec2s_getValue, METH_VARARGS, (char *)"SbVec2s_getValue(SbVec2s self, short x, short y)"}, - { (char *)"SbVec2s_dot", _wrap_SbVec2s_dot, METH_VARARGS, (char *)"SbVec2s_dot(SbVec2s self, SbVec2s v) -> int32_t"}, - { (char *)"SbVec2s_negate", _wrap_SbVec2s_negate, METH_VARARGS, (char *)"SbVec2s_negate(SbVec2s self)"}, - { (char *)"SbVec2s___imul__", _wrap_SbVec2s___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec2s\n" - "SbVec2s___imul__(SbVec2s self, double d) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s___idiv__", _wrap_SbVec2s___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec2s\n" - "SbVec2s___idiv__(SbVec2s self, double d) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s___iadd__", _wrap_SbVec2s___iadd__, METH_VARARGS, (char *)"SbVec2s___iadd__(SbVec2s self, SbVec2s v) -> SbVec2s"}, - { (char *)"SbVec2s___isub__", _wrap_SbVec2s___isub__, METH_VARARGS, (char *)"SbVec2s___isub__(SbVec2s self, SbVec2s v) -> SbVec2s"}, - { (char *)"SbVec2s___neg__", _wrap_SbVec2s___neg__, METH_VARARGS, (char *)"SbVec2s___neg__(SbVec2s self) -> SbVec2s"}, - { (char *)"SbVec2s_output", _wrap_SbVec2s_output, METH_VARARGS, (char *)"SbVec2s_output(SbVec2s self, FILE fp)"}, - { (char *)"SbVec2s___add__", _wrap_SbVec2s___add__, METH_VARARGS, (char *)"SbVec2s___add__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___sub__", _wrap_SbVec2s___sub__, METH_VARARGS, (char *)"SbVec2s___sub__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___mul__", _wrap_SbVec2s___mul__, METH_VARARGS, (char *)"SbVec2s___mul__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___rmul__", _wrap_SbVec2s___rmul__, METH_VARARGS, (char *)"SbVec2s___rmul__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___div__", _wrap_SbVec2s___div__, METH_VARARGS, (char *)"SbVec2s___div__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___eq__", _wrap_SbVec2s___eq__, METH_VARARGS, (char *)"SbVec2s___eq__(SbVec2s self, SbVec2s u) -> int"}, - { (char *)"SbVec2s___nq__", _wrap_SbVec2s___nq__, METH_VARARGS, (char *)"SbVec2s___nq__(SbVec2s self, SbVec2s u) -> int"}, - { (char *)"SbVec2s___getitem__", _wrap_SbVec2s___getitem__, METH_VARARGS, (char *)"SbVec2s___getitem__(SbVec2s self, int i) -> short"}, - { (char *)"SbVec2s___setitem__", _wrap_SbVec2s___setitem__, METH_VARARGS, (char *)"SbVec2s___setitem__(SbVec2s self, int i, short value)"}, - { (char *)"delete_SbVec2s", _wrap_delete_SbVec2s, METH_VARARGS, (char *)"delete_SbVec2s(SbVec2s self)"}, - { (char *)"SbVec2s_swigregister", SbVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTime", _wrap_new_SbTime, METH_VARARGS, (char *)"\n" - "SbTime()\n" - "SbTime(double sec)\n" - "SbTime(int32_t sec, long usec)\n" - "new_SbTime(timeval tv) -> SbTime\n" - ""}, - { (char *)"SbTime_getTimeOfDay", _wrap_SbTime_getTimeOfDay, METH_VARARGS, (char *)"SbTime_getTimeOfDay() -> SbTime"}, - { (char *)"SbTime_setToTimeOfDay", _wrap_SbTime_setToTimeOfDay, METH_VARARGS, (char *)"SbTime_setToTimeOfDay(SbTime self)"}, - { (char *)"SbTime_zero", _wrap_SbTime_zero, METH_VARARGS, (char *)"SbTime_zero() -> SbTime"}, - { (char *)"SbTime_max", _wrap_SbTime_max, METH_VARARGS, (char *)"SbTime_max() -> SbTime"}, - { (char *)"SbTime_maxTime", _wrap_SbTime_maxTime, METH_VARARGS, (char *)"SbTime_maxTime() -> SbTime"}, - { (char *)"SbTime_sleep", _wrap_SbTime_sleep, METH_VARARGS, (char *)"SbTime_sleep(int msec)"}, - { (char *)"SbTime_setValue", _wrap_SbTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(double sec)\n" - "setValue(int32_t sec, long usec)\n" - "SbTime_setValue(SbTime self, timeval tv)\n" - ""}, - { (char *)"SbTime_setMsecValue", _wrap_SbTime_setMsecValue, METH_VARARGS, (char *)"SbTime_setMsecValue(SbTime self, unsigned long msec)"}, - { (char *)"SbTime_getValue", _wrap_SbTime_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> double\n" - "getValue(time_t sec, long usec)\n" - "SbTime_getValue(SbTime self, timeval tv)\n" - ""}, - { (char *)"SbTime_getMsecValue", _wrap_SbTime_getMsecValue, METH_VARARGS, (char *)"SbTime_getMsecValue(SbTime self) -> unsigned long"}, - { (char *)"SbTime_format", _wrap_SbTime_format, METH_VARARGS, (char *)"\n" - "format(char fmt=\"%S.%i\") -> SbString\n" - "SbTime_format(SbTime self) -> SbString\n" - ""}, - { (char *)"SbTime_formatDate", _wrap_SbTime_formatDate, METH_VARARGS, (char *)"\n" - "formatDate(char fmt=None) -> SbString\n" - "SbTime_formatDate(SbTime self) -> SbString\n" - ""}, - { (char *)"SbTime_parsedate", _wrap_SbTime_parsedate, METH_VARARGS, (char *)"SbTime_parsedate(SbTime self, char date) -> SbBool"}, - { (char *)"SbTime___iadd__", _wrap_SbTime___iadd__, METH_VARARGS, (char *)"SbTime___iadd__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___isub__", _wrap_SbTime___isub__, METH_VARARGS, (char *)"SbTime___isub__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___neg__", _wrap_SbTime___neg__, METH_VARARGS, (char *)"SbTime___neg__(SbTime self) -> SbTime"}, - { (char *)"SbTime___imul__", _wrap_SbTime___imul__, METH_VARARGS, (char *)"SbTime___imul__(SbTime self, double s) -> SbTime"}, - { (char *)"SbTime___idiv__", _wrap_SbTime___idiv__, METH_VARARGS, (char *)"SbTime___idiv__(SbTime self, double s) -> SbTime"}, - { (char *)"SbTime___mod__", _wrap_SbTime___mod__, METH_VARARGS, (char *)"SbTime___mod__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___eq__", _wrap_SbTime___eq__, METH_VARARGS, (char *)"SbTime___eq__(SbTime self, SbTime tm) -> int"}, - { (char *)"SbTime___ne__", _wrap_SbTime___ne__, METH_VARARGS, (char *)"SbTime___ne__(SbTime self, SbTime tm) -> int"}, - { (char *)"SbTime___lt__", _wrap_SbTime___lt__, METH_VARARGS, (char *)"SbTime___lt__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___gt__", _wrap_SbTime___gt__, METH_VARARGS, (char *)"SbTime___gt__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___le__", _wrap_SbTime___le__, METH_VARARGS, (char *)"SbTime___le__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___ge__", _wrap_SbTime___ge__, METH_VARARGS, (char *)"SbTime___ge__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime_output", _wrap_SbTime_output, METH_VARARGS, (char *)"SbTime_output(SbTime self, FILE fp)"}, - { (char *)"SbTime___add__", _wrap_SbTime___add__, METH_VARARGS, (char *)"SbTime___add__(SbTime self, SbTime u) -> SbTime"}, - { (char *)"SbTime___sub__", _wrap_SbTime___sub__, METH_VARARGS, (char *)"SbTime___sub__(SbTime self, SbTime u) -> SbTime"}, - { (char *)"SbTime___mul__", _wrap_SbTime___mul__, METH_VARARGS, (char *)"SbTime___mul__(SbTime self, double d) -> SbTime"}, - { (char *)"SbTime___rmul__", _wrap_SbTime___rmul__, METH_VARARGS, (char *)"SbTime___rmul__(SbTime self, double d) -> SbTime"}, - { (char *)"SbTime___div__", _wrap_SbTime___div__, METH_VARARGS, (char *)"\n" - "__div__(SbTime tm) -> double\n" - "SbTime___div__(SbTime self, double d) -> SbTime\n" - ""}, - { (char *)"delete_SbTime", _wrap_delete_SbTime, METH_VARARGS, (char *)"delete_SbTime(SbTime self)"}, - { (char *)"SbTime_swigregister", SbTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEvent", _wrap_new_SoEvent, METH_VARARGS, (char *)"new_SoEvent() -> SoEvent"}, - { (char *)"delete_SoEvent", _wrap_delete_SoEvent, METH_VARARGS, (char *)"delete_SoEvent(SoEvent self)"}, - { (char *)"SoEvent_isOfType", _wrap_SoEvent_isOfType, METH_VARARGS, (char *)"SoEvent_isOfType(SoEvent self, SoType type) -> SbBool"}, - { (char *)"SoEvent_getClassTypeId", _wrap_SoEvent_getClassTypeId, METH_VARARGS, (char *)"SoEvent_getClassTypeId() -> SoType"}, - { (char *)"SoEvent_getTypeId", _wrap_SoEvent_getTypeId, METH_VARARGS, (char *)"SoEvent_getTypeId(SoEvent self) -> SoType"}, - { (char *)"SoEvent_setTime", _wrap_SoEvent_setTime, METH_VARARGS, (char *)"SoEvent_setTime(SoEvent self, SbTime t)"}, - { (char *)"SoEvent_getTime", _wrap_SoEvent_getTime, METH_VARARGS, (char *)"SoEvent_getTime(SoEvent self) -> SbTime"}, - { (char *)"SoEvent_setPosition", _wrap_SoEvent_setPosition, METH_VARARGS, (char *)"SoEvent_setPosition(SoEvent self, SbVec2s p)"}, - { (char *)"SoEvent_getPosition", _wrap_SoEvent_getPosition, METH_VARARGS, (char *)"\n" - "getPosition() -> SbVec2s\n" - "SoEvent_getPosition(SoEvent self, SbViewportRegion vpRgn) -> SbVec2s\n" - ""}, - { (char *)"SoEvent_getNormalizedPosition", _wrap_SoEvent_getNormalizedPosition, METH_VARARGS, (char *)"SoEvent_getNormalizedPosition(SoEvent self, SbViewportRegion vpRgn) -> SbVec2f"}, - { (char *)"SoEvent_setShiftDown", _wrap_SoEvent_setShiftDown, METH_VARARGS, (char *)"SoEvent_setShiftDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasShiftDown", _wrap_SoEvent_wasShiftDown, METH_VARARGS, (char *)"SoEvent_wasShiftDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_setCtrlDown", _wrap_SoEvent_setCtrlDown, METH_VARARGS, (char *)"SoEvent_setCtrlDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasCtrlDown", _wrap_SoEvent_wasCtrlDown, METH_VARARGS, (char *)"SoEvent_wasCtrlDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_setAltDown", _wrap_SoEvent_setAltDown, METH_VARARGS, (char *)"SoEvent_setAltDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasAltDown", _wrap_SoEvent_wasAltDown, METH_VARARGS, (char *)"SoEvent_wasAltDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_initClass", _wrap_SoEvent_initClass, METH_VARARGS, (char *)"SoEvent_initClass()"}, - { (char *)"SoEvent_swigregister", SoEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotRec", _wrap_new_SoNotRec, METH_VARARGS, (char *)"new_SoNotRec(SoBase notifbase) -> SoNotRec"}, - { (char *)"SoNotRec_setType", _wrap_SoNotRec_setType, METH_VARARGS, (char *)"SoNotRec_setType(SoNotRec self, Type type)"}, - { (char *)"SoNotRec_getBase", _wrap_SoNotRec_getBase, METH_VARARGS, (char *)"SoNotRec_getBase(SoNotRec self) -> SoBase"}, - { (char *)"SoNotRec_getType", _wrap_SoNotRec_getType, METH_VARARGS, (char *)"SoNotRec_getType(SoNotRec self) -> Type"}, - { (char *)"SoNotRec_getPrevious", _wrap_SoNotRec_getPrevious, METH_VARARGS, (char *)"SoNotRec_getPrevious(SoNotRec self) -> SoNotRec"}, - { (char *)"SoNotRec_setPrevious", _wrap_SoNotRec_setPrevious, METH_VARARGS, (char *)"SoNotRec_setPrevious(SoNotRec self, SoNotRec prev)"}, - { (char *)"SoNotRec_output", _wrap_SoNotRec_output, METH_VARARGS, (char *)"SoNotRec_output(SoNotRec self, FILE file)"}, - { (char *)"delete_SoNotRec", _wrap_delete_SoNotRec, METH_VARARGS, (char *)"delete_SoNotRec(SoNotRec self)"}, - { (char *)"SoNotRec_swigregister", SoNotRec_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotList", _wrap_new_SoNotList, METH_VARARGS, (char *)"\n" - "SoNotList()\n" - "new_SoNotList(SoNotList nl) -> SoNotList\n" - ""}, - { (char *)"SoNotList_append", _wrap_SoNotList_append, METH_VARARGS, (char *)"\n" - "append(SoNotRec rec)\n" - "append(SoNotRec rec, SoField field)\n" - "SoNotList_append(SoNotList self, SoNotRec rec, SoEngineOutput engineout)\n" - ""}, - { (char *)"SoNotList_setLastType", _wrap_SoNotList_setLastType, METH_VARARGS, (char *)"SoNotList_setLastType(SoNotList self, Type type)"}, - { (char *)"SoNotList_getFirstRec", _wrap_SoNotList_getFirstRec, METH_VARARGS, (char *)"SoNotList_getFirstRec(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getLastRec", _wrap_SoNotList_getLastRec, METH_VARARGS, (char *)"SoNotList_getLastRec(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getFirstRecAtNode", _wrap_SoNotList_getFirstRecAtNode, METH_VARARGS, (char *)"SoNotList_getFirstRecAtNode(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getLastField", _wrap_SoNotList_getLastField, METH_VARARGS, (char *)"SoNotList_getLastField(SoNotList self) -> SoField"}, - { (char *)"SoNotList_getLastEngineOutput", _wrap_SoNotList_getLastEngineOutput, METH_VARARGS, (char *)"SoNotList_getLastEngineOutput(SoNotList self) -> SoEngineOutput"}, - { (char *)"SoNotList_getTimeStamp", _wrap_SoNotList_getTimeStamp, METH_VARARGS, (char *)"SoNotList_getTimeStamp(SoNotList self) -> uint32_t"}, - { (char *)"SoNotList_output", _wrap_SoNotList_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoNotList_output(SoNotList self)\n" - ""}, - { (char *)"delete_SoNotList", _wrap_delete_SoNotList, METH_VARARGS, (char *)"delete_SoNotList(SoNotList self)"}, - { (char *)"SoNotList_swigregister", SoNotList_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoField", _wrap_delete_SoField, METH_VARARGS, (char *)"delete_SoField(SoField self)"}, - { (char *)"SoField_initClass", _wrap_SoField_initClass, METH_VARARGS, (char *)"SoField_initClass()"}, - { (char *)"SoField_initClasses", _wrap_SoField_initClasses, METH_VARARGS, (char *)"SoField_initClasses()"}, - { (char *)"SoField_cleanupClass", _wrap_SoField_cleanupClass, METH_VARARGS, (char *)"SoField_cleanupClass()"}, - { (char *)"SoField_setIgnored", _wrap_SoField_setIgnored, METH_VARARGS, (char *)"SoField_setIgnored(SoField self, SbBool ignore)"}, - { (char *)"SoField_isIgnored", _wrap_SoField_isIgnored, METH_VARARGS, (char *)"SoField_isIgnored(SoField self) -> SbBool"}, - { (char *)"SoField_setDefault", _wrap_SoField_setDefault, METH_VARARGS, (char *)"SoField_setDefault(SoField self, SbBool defaultVal)"}, - { (char *)"SoField_isDefault", _wrap_SoField_isDefault, METH_VARARGS, (char *)"SoField_isDefault(SoField self) -> SbBool"}, - { (char *)"SoField_getTypeId", _wrap_SoField_getTypeId, METH_VARARGS, (char *)"SoField_getTypeId(SoField self) -> SoType"}, - { (char *)"SoField_getClassTypeId", _wrap_SoField_getClassTypeId, METH_VARARGS, (char *)"SoField_getClassTypeId() -> SoType"}, - { (char *)"SoField_isOfType", _wrap_SoField_isOfType, METH_VARARGS, (char *)"SoField_isOfType(SoField self, SoType type) -> SbBool"}, - { (char *)"SoField_enableConnection", _wrap_SoField_enableConnection, METH_VARARGS, (char *)"SoField_enableConnection(SoField self, SbBool flag)"}, - { (char *)"SoField_isConnectionEnabled", _wrap_SoField_isConnectionEnabled, METH_VARARGS, (char *)"SoField_isConnectionEnabled(SoField self) -> SbBool"}, - { (char *)"SoField_isConnectedFromEngine", _wrap_SoField_isConnectedFromEngine, METH_VARARGS, (char *)"SoField_isConnectedFromEngine(SoField self) -> SbBool"}, - { (char *)"SoField_getConnectedEngine", _wrap_SoField_getConnectedEngine, METH_VARARGS, (char *)"SoField_getConnectedEngine(SoField self, SoEngineOutput master) -> SbBool"}, - { (char *)"SoField_connectFrom", _wrap_SoField_connectFrom, METH_VARARGS, (char *)"\n" - "connectFrom(SoEngineOutput master, SbBool notnotify=0, SbBool append=0) -> SbBool\n" - "connectFrom(SoEngineOutput master, SbBool notnotify=0) -> SbBool\n" - "connectFrom(SoEngineOutput master) -> SbBool\n" - "connectFrom(SoField master, SbBool notnotify=0, SbBool append=0) -> SbBool\n" - "connectFrom(SoField master, SbBool notnotify=0) -> SbBool\n" - "SoField_connectFrom(SoField self, SoField master) -> SbBool\n" - ""}, - { (char *)"SoField_appendConnection", _wrap_SoField_appendConnection, METH_VARARGS, (char *)"\n" - "appendConnection(SoEngineOutput master, SbBool notnotify=0) -> SbBool\n" - "appendConnection(SoEngineOutput master) -> SbBool\n" - "appendConnection(SoField master, SbBool notnotify=0) -> SbBool\n" - "SoField_appendConnection(SoField self, SoField master) -> SbBool\n" - ""}, - { (char *)"SoField_isConnectedFromField", _wrap_SoField_isConnectedFromField, METH_VARARGS, (char *)"SoField_isConnectedFromField(SoField self) -> SbBool"}, - { (char *)"SoField_getConnectedField", _wrap_SoField_getConnectedField, METH_VARARGS, (char *)"SoField_getConnectedField(SoField self, SoField master) -> SbBool"}, - { (char *)"SoField_getNumConnections", _wrap_SoField_getNumConnections, METH_VARARGS, (char *)"SoField_getNumConnections(SoField self) -> int"}, - { (char *)"SoField_getForwardConnections", _wrap_SoField_getForwardConnections, METH_VARARGS, (char *)"SoField_getForwardConnections(SoField self, SoFieldList slavelist) -> int"}, - { (char *)"SoField_getConnections", _wrap_SoField_getConnections, METH_VARARGS, (char *)"SoField_getConnections(SoField self, SoFieldList masterlist) -> int"}, - { (char *)"SoField_disconnect", _wrap_SoField_disconnect, METH_VARARGS, (char *)"\n" - "disconnect(SoEngineOutput engineoutput)\n" - "disconnect(SoField field)\n" - "SoField_disconnect(SoField self)\n" - ""}, - { (char *)"SoField_isConnected", _wrap_SoField_isConnected, METH_VARARGS, (char *)"SoField_isConnected(SoField self) -> SbBool"}, - { (char *)"SoField_setContainer", _wrap_SoField_setContainer, METH_VARARGS, (char *)"SoField_setContainer(SoField self, SoFieldContainer cont)"}, - { (char *)"SoField_getContainer", _wrap_SoField_getContainer, METH_VARARGS, (char *)"SoField_getContainer(SoField self) -> SoFieldContainer"}, - { (char *)"SoField_set", _wrap_SoField_set, METH_VARARGS, (char *)"SoField_set(SoField self, char valuestring) -> SbBool"}, - { (char *)"SoField_shouldWrite", _wrap_SoField_shouldWrite, METH_VARARGS, (char *)"SoField_shouldWrite(SoField self) -> SbBool"}, - { (char *)"SoField_touch", _wrap_SoField_touch, METH_VARARGS, (char *)"SoField_touch(SoField self)"}, - { (char *)"SoField_startNotify", _wrap_SoField_startNotify, METH_VARARGS, (char *)"SoField_startNotify(SoField self)"}, - { (char *)"SoField_notify", _wrap_SoField_notify, METH_VARARGS, (char *)"SoField_notify(SoField self, SoNotList nlist)"}, - { (char *)"SoField_enableNotify", _wrap_SoField_enableNotify, METH_VARARGS, (char *)"SoField_enableNotify(SoField self, SbBool on) -> SbBool"}, - { (char *)"SoField_isNotifyEnabled", _wrap_SoField_isNotifyEnabled, METH_VARARGS, (char *)"SoField_isNotifyEnabled(SoField self) -> SbBool"}, - { (char *)"SoField_addAuditor", _wrap_SoField_addAuditor, METH_VARARGS, (char *)"SoField_addAuditor(SoField self, void f, Type type)"}, - { (char *)"SoField_removeAuditor", _wrap_SoField_removeAuditor, METH_VARARGS, (char *)"SoField_removeAuditor(SoField self, void f, Type type)"}, - { (char *)"SoField___eq__", _wrap_SoField___eq__, METH_VARARGS, (char *)"SoField___eq__(SoField self, SoField f) -> int"}, - { (char *)"SoField___ne__", _wrap_SoField___ne__, METH_VARARGS, (char *)"SoField___ne__(SoField self, SoField f) -> int"}, - { (char *)"SoField_connectionStatusChanged", _wrap_SoField_connectionStatusChanged, METH_VARARGS, (char *)"SoField_connectionStatusChanged(SoField self, int numconnections)"}, - { (char *)"SoField_isReadOnly", _wrap_SoField_isReadOnly, METH_VARARGS, (char *)"SoField_isReadOnly(SoField self) -> SbBool"}, - { (char *)"SoField_isSame", _wrap_SoField_isSame, METH_VARARGS, (char *)"SoField_isSame(SoField self, SoField f) -> SbBool"}, - { (char *)"SoField_copyFrom", _wrap_SoField_copyFrom, METH_VARARGS, (char *)"SoField_copyFrom(SoField self, SoField f)"}, - { (char *)"SoField_fixCopy", _wrap_SoField_fixCopy, METH_VARARGS, (char *)"SoField_fixCopy(SoField self, SbBool copyconnections)"}, - { (char *)"SoField_referencesCopy", _wrap_SoField_referencesCopy, METH_VARARGS, (char *)"SoField_referencesCopy(SoField self) -> SbBool"}, - { (char *)"SoField_copyConnection", _wrap_SoField_copyConnection, METH_VARARGS, (char *)"SoField_copyConnection(SoField self, SoField fromfield)"}, - { (char *)"SoField_read", _wrap_SoField_read, METH_VARARGS, (char *)"SoField_read(SoField self, SoInput input, SbName name) -> SbBool"}, - { (char *)"SoField_write", _wrap_SoField_write, METH_VARARGS, (char *)"SoField_write(SoField self, SoOutput out, SbName name)"}, - { (char *)"SoField_countWriteRefs", _wrap_SoField_countWriteRefs, METH_VARARGS, (char *)"SoField_countWriteRefs(SoField self, SoOutput out)"}, - { (char *)"SoField_setFieldType", _wrap_SoField_setFieldType, METH_VARARGS, (char *)"SoField_setFieldType(SoField self, int type)"}, - { (char *)"SoField_getFieldType", _wrap_SoField_getFieldType, METH_VARARGS, (char *)"SoField_getFieldType(SoField self) -> int"}, - { (char *)"SoField_getDirty", _wrap_SoField_getDirty, METH_VARARGS, (char *)"SoField_getDirty(SoField self) -> SbBool"}, - { (char *)"SoField_setDirty", _wrap_SoField_setDirty, METH_VARARGS, (char *)"SoField_setDirty(SoField self, SbBool dirty)"}, - { (char *)"SoField_evaluate", _wrap_SoField_evaluate, METH_VARARGS, (char *)"SoField_evaluate(SoField self)"}, - { (char *)"SoField_get", _wrap_SoField_get, METH_VARARGS, (char *)"SoField_get(SoField self) -> SbString"}, - { (char *)"SoField_swigregister", SoField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSField", _wrap_delete_SoSField, METH_VARARGS, (char *)"delete_SoSField(SoSField self)"}, - { (char *)"SoSField_initClass", _wrap_SoSField_initClass, METH_VARARGS, (char *)"SoSField_initClass()"}, - { (char *)"SoSField_getClassTypeId", _wrap_SoSField_getClassTypeId, METH_VARARGS, (char *)"SoSField_getClassTypeId() -> SoType"}, - { (char *)"SoSField_atexit_cleanup", _wrap_SoSField_atexit_cleanup, METH_VARARGS, (char *)"SoSField_atexit_cleanup()"}, - { (char *)"SoSField_swigregister", SoSField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoMField", _wrap_delete_SoMField, METH_VARARGS, (char *)"delete_SoMField(SoMField self)"}, - { (char *)"SoMField_getClassTypeId", _wrap_SoMField_getClassTypeId, METH_VARARGS, (char *)"SoMField_getClassTypeId() -> SoType"}, - { (char *)"SoMField_atexit_cleanup", _wrap_SoMField_atexit_cleanup, METH_VARARGS, (char *)"SoMField_atexit_cleanup()"}, - { (char *)"SoMField_getNum", _wrap_SoMField_getNum, METH_VARARGS, (char *)"SoMField_getNum(SoMField self) -> int"}, - { (char *)"SoMField_setNum", _wrap_SoMField_setNum, METH_VARARGS, (char *)"SoMField_setNum(SoMField self, int num)"}, - { (char *)"SoMField_deleteValues", _wrap_SoMField_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMField_deleteValues(SoMField self, int start)\n" - ""}, - { (char *)"SoMField_insertSpace", _wrap_SoMField_insertSpace, METH_VARARGS, (char *)"SoMField_insertSpace(SoMField self, int start, int num)"}, - { (char *)"SoMField_set1", _wrap_SoMField_set1, METH_VARARGS, (char *)"SoMField_set1(SoMField self, int index, char valuestring) -> SbBool"}, - { (char *)"SoMField_initClass", _wrap_SoMField_initClass, METH_VARARGS, (char *)"SoMField_initClass()"}, - { (char *)"SoMField_enableDeleteValues", _wrap_SoMField_enableDeleteValues, METH_VARARGS, (char *)"SoMField_enableDeleteValues(SoMField self)"}, - { (char *)"SoMField_isDeleteValuesEnabled", _wrap_SoMField_isDeleteValuesEnabled, METH_VARARGS, (char *)"SoMField_isDeleteValuesEnabled(SoMField self) -> SbBool"}, - { (char *)"SoMField___len__", _wrap_SoMField___len__, METH_VARARGS, (char *)"SoMField___len__(SoMField self) -> int"}, - { (char *)"SoMField_get1", _wrap_SoMField_get1, METH_VARARGS, (char *)"SoMField_get1(SoMField self, int index) -> SbString"}, - { (char *)"SoMField_swigregister", SoMField_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoAuditorList", _wrap_new_SoAuditorList, METH_VARARGS, (char *)"new_SoAuditorList() -> SoAuditorList"}, - { (char *)"delete_SoAuditorList", _wrap_delete_SoAuditorList, METH_VARARGS, (char *)"delete_SoAuditorList(SoAuditorList self)"}, - { (char *)"SoAuditorList_append", _wrap_SoAuditorList_append, METH_VARARGS, (char *)"SoAuditorList_append(SoAuditorList self, void auditor, Type type)"}, - { (char *)"SoAuditorList_set", _wrap_SoAuditorList_set, METH_VARARGS, (char *)"SoAuditorList_set(SoAuditorList self, int index, void auditor, Type type)"}, - { (char *)"SoAuditorList_getObject", _wrap_SoAuditorList_getObject, METH_VARARGS, (char *)"SoAuditorList_getObject(SoAuditorList self, int index) -> void"}, - { (char *)"SoAuditorList_getType", _wrap_SoAuditorList_getType, METH_VARARGS, (char *)"SoAuditorList_getType(SoAuditorList self, int index) -> Type"}, - { (char *)"SoAuditorList_getLength", _wrap_SoAuditorList_getLength, METH_VARARGS, (char *)"SoAuditorList_getLength(SoAuditorList self) -> int"}, - { (char *)"SoAuditorList_find", _wrap_SoAuditorList_find, METH_VARARGS, (char *)"SoAuditorList_find(SoAuditorList self, void auditor, Type type) -> int"}, - { (char *)"SoAuditorList_remove", _wrap_SoAuditorList_remove, METH_VARARGS, (char *)"\n" - "remove(int index)\n" - "SoAuditorList_remove(SoAuditorList self, void auditor, Type type)\n" - ""}, - { (char *)"SoAuditorList_notify", _wrap_SoAuditorList_notify, METH_VARARGS, (char *)"SoAuditorList_notify(SoAuditorList self, SoNotList l)"}, - { (char *)"SoAuditorList_swigregister", SoAuditorList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBase_initClass", _wrap_SoBase_initClass, METH_VARARGS, (char *)"SoBase_initClass()"}, - { (char *)"SoBase_ref", _wrap_SoBase_ref, METH_VARARGS, (char *)"SoBase_ref(SoBase self)"}, - { (char *)"SoBase_unref", _wrap_SoBase_unref, METH_VARARGS, (char *)"SoBase_unref(SoBase self)"}, - { (char *)"SoBase_unrefNoDelete", _wrap_SoBase_unrefNoDelete, METH_VARARGS, (char *)"SoBase_unrefNoDelete(SoBase self)"}, - { (char *)"SoBase_getRefCount", _wrap_SoBase_getRefCount, METH_VARARGS, (char *)"SoBase_getRefCount(SoBase self) -> int32_t"}, - { (char *)"SoBase_touch", _wrap_SoBase_touch, METH_VARARGS, (char *)"SoBase_touch(SoBase self)"}, - { (char *)"SoBase_getTypeId", _wrap_SoBase_getTypeId, METH_VARARGS, (char *)"SoBase_getTypeId(SoBase self) -> SoType"}, - { (char *)"SoBase_isOfType", _wrap_SoBase_isOfType, METH_VARARGS, (char *)"SoBase_isOfType(SoBase self, SoType type) -> SbBool"}, - { (char *)"SoBase_getClassTypeId", _wrap_SoBase_getClassTypeId, METH_VARARGS, (char *)"SoBase_getClassTypeId() -> SoType"}, - { (char *)"SoBase_getName", _wrap_SoBase_getName, METH_VARARGS, (char *)"SoBase_getName(SoBase self) -> SbName"}, - { (char *)"SoBase_setName", _wrap_SoBase_setName, METH_VARARGS, (char *)"SoBase_setName(SoBase self, SbName newname)"}, - { (char *)"SoBase_addName", _wrap_SoBase_addName, METH_VARARGS, (char *)"SoBase_addName(SoBase base, char name)"}, - { (char *)"SoBase_removeName", _wrap_SoBase_removeName, METH_VARARGS, (char *)"SoBase_removeName(SoBase base, char name)"}, - { (char *)"SoBase_startNotify", _wrap_SoBase_startNotify, METH_VARARGS, (char *)"SoBase_startNotify(SoBase self)"}, - { (char *)"SoBase_notify", _wrap_SoBase_notify, METH_VARARGS, (char *)"SoBase_notify(SoBase self, SoNotList l)"}, - { (char *)"SoBase_addAuditor", _wrap_SoBase_addAuditor, METH_VARARGS, (char *)"SoBase_addAuditor(SoBase self, void auditor, Type type)"}, - { (char *)"SoBase_removeAuditor", _wrap_SoBase_removeAuditor, METH_VARARGS, (char *)"SoBase_removeAuditor(SoBase self, void auditor, Type type)"}, - { (char *)"SoBase_getAuditors", _wrap_SoBase_getAuditors, METH_VARARGS, (char *)"SoBase_getAuditors(SoBase self) -> SoAuditorList"}, - { (char *)"SoBase_addWriteReference", _wrap_SoBase_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoBase_addWriteReference(SoBase self, SoOutput out)\n" - ""}, - { (char *)"SoBase_shouldWrite", _wrap_SoBase_shouldWrite, METH_VARARGS, (char *)"SoBase_shouldWrite(SoBase self) -> SbBool"}, - { (char *)"SoBase_incrementCurrentWriteCounter", _wrap_SoBase_incrementCurrentWriteCounter, METH_VARARGS, (char *)"SoBase_incrementCurrentWriteCounter()"}, - { (char *)"SoBase_decrementCurrentWriteCounter", _wrap_SoBase_decrementCurrentWriteCounter, METH_VARARGS, (char *)"SoBase_decrementCurrentWriteCounter()"}, - { (char *)"SoBase_getNamedBase", _wrap_SoBase_getNamedBase, METH_VARARGS, (char *)"SoBase_getNamedBase(SbName name, SoType type) -> SoBase"}, - { (char *)"SoBase_getNamedBases", _wrap_SoBase_getNamedBases, METH_VARARGS, (char *)"SoBase_getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int"}, - { (char *)"SoBase_read", _wrap_SoBase_read, METH_VARARGS, (char *)"SoBase_read(SoInput input, SoBase base, SoType expectedtype) -> SbBool"}, - { (char *)"SoBase_setInstancePrefix", _wrap_SoBase_setInstancePrefix, METH_VARARGS, (char *)"SoBase_setInstancePrefix(SbString c)"}, - { (char *)"SoBase_setTraceRefs", _wrap_SoBase_setTraceRefs, METH_VARARGS, (char *)"SoBase_setTraceRefs(SbBool trace)"}, - { (char *)"SoBase_getTraceRefs", _wrap_SoBase_getTraceRefs, METH_VARARGS, (char *)"SoBase_getTraceRefs() -> SbBool"}, - { (char *)"SoBase_connectRoute", _wrap_SoBase_connectRoute, METH_VARARGS, (char *)"\n" - "SoBase_connectRoute(SoInput input, SbName fromnodename, SbName fromfieldname, \n" - " SbName tonodename, SbName tofieldname) -> SbBool\n" - ""}, - { (char *)"SoBase_assertAlive", _wrap_SoBase_assertAlive, METH_VARARGS, (char *)"SoBase_assertAlive(SoBase self)"}, - { (char *)"SoBase_readRoute", _wrap_SoBase_readRoute, METH_VARARGS, (char *)"SoBase_readRoute(SoInput input) -> SbBool"}, - { (char *)"delete_SoBase", _wrap_delete_SoBase, METH_VARARGS, (char *)"delete_SoBase(SoBase self)"}, - { (char *)"SoBase_swigregister", SoBase_swigregister, METH_VARARGS, NULL}, - { (char *)"intrusive_ptr_add_ref", _wrap_intrusive_ptr_add_ref, METH_VARARGS, (char *)"intrusive_ptr_add_ref(SoBase obj)"}, - { (char *)"intrusive_ptr_release", _wrap_intrusive_ptr_release, METH_VARARGS, (char *)"intrusive_ptr_release(SoBase obj)"}, - { (char *)"new_SoBaseList", _wrap_new_SoBaseList, METH_VARARGS, (char *)"\n" - "SoBaseList()\n" - "SoBaseList(int size)\n" - "new_SoBaseList(SoBaseList l) -> SoBaseList\n" - ""}, - { (char *)"delete_SoBaseList", _wrap_delete_SoBaseList, METH_VARARGS, (char *)"delete_SoBaseList(SoBaseList self)"}, - { (char *)"SoBaseList_append", _wrap_SoBaseList_append, METH_VARARGS, (char *)"SoBaseList_append(SoBaseList self, SoBase ptr)"}, - { (char *)"SoBaseList_insert", _wrap_SoBaseList_insert, METH_VARARGS, (char *)"SoBaseList_insert(SoBaseList self, SoBase ptr, int addbefore)"}, - { (char *)"SoBaseList_remove", _wrap_SoBaseList_remove, METH_VARARGS, (char *)"SoBaseList_remove(SoBaseList self, int index)"}, - { (char *)"SoBaseList_removeItem", _wrap_SoBaseList_removeItem, METH_VARARGS, (char *)"SoBaseList_removeItem(SoBaseList self, SoBase item)"}, - { (char *)"SoBaseList_truncate", _wrap_SoBaseList_truncate, METH_VARARGS, (char *)"SoBaseList_truncate(SoBaseList self, int length)"}, - { (char *)"SoBaseList_copy", _wrap_SoBaseList_copy, METH_VARARGS, (char *)"SoBaseList_copy(SoBaseList self, SoBaseList l)"}, - { (char *)"SoBaseList_set", _wrap_SoBaseList_set, METH_VARARGS, (char *)"SoBaseList_set(SoBaseList self, int i, SoBase ptr)"}, - { (char *)"SoBaseList_addReferences", _wrap_SoBaseList_addReferences, METH_VARARGS, (char *)"SoBaseList_addReferences(SoBaseList self, SbBool flag)"}, - { (char *)"SoBaseList_isReferencing", _wrap_SoBaseList_isReferencing, METH_VARARGS, (char *)"SoBaseList_isReferencing(SoBaseList self) -> SbBool"}, - { (char *)"SoBaseList___setitem__", _wrap_SoBaseList___setitem__, METH_VARARGS, (char *)"SoBaseList___setitem__(SoBaseList self, int i, SoBase value)"}, - { (char *)"SoBaseList___getitem__", _wrap_SoBaseList___getitem__, METH_VARARGS, (char *)"SoBaseList___getitem__(SoBaseList self, int i) -> SoBase"}, - { (char *)"SoBaseList_get", _wrap_SoBaseList_get, METH_VARARGS, (char *)"SoBaseList_get(SoBaseList self, int i) -> SoBase"}, - { (char *)"SoBaseList_swigregister", SoBaseList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNodeList", _wrap_new_SoNodeList, METH_VARARGS, (char *)"\n" - "SoNodeList()\n" - "SoNodeList(int size)\n" - "new_SoNodeList(SoNodeList nl) -> SoNodeList\n" - ""}, - { (char *)"delete_SoNodeList", _wrap_delete_SoNodeList, METH_VARARGS, (char *)"delete_SoNodeList(SoNodeList self)"}, - { (char *)"SoNodeList_append", _wrap_SoNodeList_append, METH_VARARGS, (char *)"SoNodeList_append(SoNodeList self, SoNode ptr)"}, - { (char *)"SoNodeList___setitem__", _wrap_SoNodeList___setitem__, METH_VARARGS, (char *)"SoNodeList___setitem__(SoNodeList self, int i, SoNode value)"}, - { (char *)"SoNodeList___getitem__", _wrap_SoNodeList___getitem__, METH_VARARGS, (char *)"SoNodeList___getitem__(SoNodeList self, int i) -> SoNode"}, - { (char *)"SoNodeList_get", _wrap_SoNodeList_get, METH_VARARGS, (char *)"SoNodeList_get(SoNodeList self, int i) -> SoNode"}, - { (char *)"SoNodeList_swigregister", SoNodeList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoDetailList", _wrap_new_SoDetailList, METH_VARARGS, (char *)"\n" - "SoDetailList()\n" - "SoDetailList(int sizehint)\n" - "new_SoDetailList(SoDetailList l) -> SoDetailList\n" - ""}, - { (char *)"delete_SoDetailList", _wrap_delete_SoDetailList, METH_VARARGS, (char *)"delete_SoDetailList(SoDetailList self)"}, - { (char *)"SoDetailList_append", _wrap_SoDetailList_append, METH_VARARGS, (char *)"SoDetailList_append(SoDetailList self, SoDetail detail)"}, - { (char *)"SoDetailList_insert", _wrap_SoDetailList_insert, METH_VARARGS, (char *)"SoDetailList_insert(SoDetailList self, SoDetail detail, int insertbefore)"}, - { (char *)"SoDetailList_truncate", _wrap_SoDetailList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int length, int fit=0)\n" - "SoDetailList_truncate(SoDetailList self, int length)\n" - ""}, - { (char *)"SoDetailList_copy", _wrap_SoDetailList_copy, METH_VARARGS, (char *)"SoDetailList_copy(SoDetailList self, SoDetailList l)"}, - { (char *)"SoDetailList_set", _wrap_SoDetailList_set, METH_VARARGS, (char *)"SoDetailList_set(SoDetailList self, int index, SoDetail item)"}, - { (char *)"SoDetailList___setitem__", _wrap_SoDetailList___setitem__, METH_VARARGS, (char *)"SoDetailList___setitem__(SoDetailList self, int i, SoDetail value)"}, - { (char *)"SoDetailList___getitem__", _wrap_SoDetailList___getitem__, METH_VARARGS, (char *)"SoDetailList___getitem__(SoDetailList self, int i) -> SoDetail"}, - { (char *)"SoDetailList_get", _wrap_SoDetailList_get, METH_VARARGS, (char *)"SoDetailList_get(SoDetailList self, int i) -> SoDetail"}, - { (char *)"SoDetailList_swigregister", SoDetailList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTypeList", _wrap_new_SoTypeList, METH_VARARGS, (char *)"\n" - "SoTypeList()\n" - "SoTypeList(int sizehint)\n" - "new_SoTypeList(SoTypeList l) -> SoTypeList\n" - ""}, - { (char *)"SoTypeList_append", _wrap_SoTypeList_append, METH_VARARGS, (char *)"SoTypeList_append(SoTypeList self, SoType type)"}, - { (char *)"SoTypeList_find", _wrap_SoTypeList_find, METH_VARARGS, (char *)"SoTypeList_find(SoTypeList self, SoType type) -> int"}, - { (char *)"SoTypeList_insert", _wrap_SoTypeList_insert, METH_VARARGS, (char *)"SoTypeList_insert(SoTypeList self, SoType type, int insertbefore)"}, - { (char *)"SoTypeList_set", _wrap_SoTypeList_set, METH_VARARGS, (char *)"SoTypeList_set(SoTypeList self, int index, SoType item)"}, - { (char *)"SoTypeList___setitem__", _wrap_SoTypeList___setitem__, METH_VARARGS, (char *)"SoTypeList___setitem__(SoTypeList self, int i, SoType value)"}, - { (char *)"SoTypeList___getitem__", _wrap_SoTypeList___getitem__, METH_VARARGS, (char *)"SoTypeList___getitem__(SoTypeList self, int i) -> SoType"}, - { (char *)"SoTypeList_get", _wrap_SoTypeList_get, METH_VARARGS, (char *)"SoTypeList_get(SoTypeList self, int i) -> SoType"}, - { (char *)"delete_SoTypeList", _wrap_delete_SoTypeList, METH_VARARGS, (char *)"delete_SoTypeList(SoTypeList self)"}, - { (char *)"SoTypeList_swigregister", SoTypeList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEnabledElementsList", _wrap_new_SoEnabledElementsList, METH_VARARGS, (char *)"new_SoEnabledElementsList(SoEnabledElementsList parentlist) -> SoEnabledElementsList"}, - { (char *)"delete_SoEnabledElementsList", _wrap_delete_SoEnabledElementsList, METH_VARARGS, (char *)"delete_SoEnabledElementsList(SoEnabledElementsList self)"}, - { (char *)"SoEnabledElementsList_getElements", _wrap_SoEnabledElementsList_getElements, METH_VARARGS, (char *)"SoEnabledElementsList_getElements(SoEnabledElementsList self) -> SoTypeList"}, - { (char *)"SoEnabledElementsList_enable", _wrap_SoEnabledElementsList_enable, METH_VARARGS, (char *)"SoEnabledElementsList_enable(SoEnabledElementsList self, SoType elementtype, int stackindex)"}, - { (char *)"SoEnabledElementsList_merge", _wrap_SoEnabledElementsList_merge, METH_VARARGS, (char *)"SoEnabledElementsList_merge(SoEnabledElementsList self, SoEnabledElementsList eel)"}, - { (char *)"SoEnabledElementsList_getCounter", _wrap_SoEnabledElementsList_getCounter, METH_VARARGS, (char *)"SoEnabledElementsList_getCounter() -> int"}, - { (char *)"SoEnabledElementsList_swigregister", SoEnabledElementsList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutputList", _wrap_new_SoEngineOutputList, METH_VARARGS, (char *)"\n" - "SoEngineOutputList()\n" - "SoEngineOutputList(int sizehint)\n" - "new_SoEngineOutputList(SoEngineOutputList l) -> SoEngineOutputList\n" - ""}, - { (char *)"SoEngineOutputList_append", _wrap_SoEngineOutputList_append, METH_VARARGS, (char *)"SoEngineOutputList_append(SoEngineOutputList self, SoEngineOutput output)"}, - { (char *)"SoEngineOutputList_insert", _wrap_SoEngineOutputList_insert, METH_VARARGS, (char *)"SoEngineOutputList_insert(SoEngineOutputList self, SoEngineOutput output, int insertbefore)"}, - { (char *)"SoEngineOutputList_set", _wrap_SoEngineOutputList_set, METH_VARARGS, (char *)"SoEngineOutputList_set(SoEngineOutputList self, int idx, SoEngineOutput item)"}, - { (char *)"SoEngineOutputList___setitem__", _wrap_SoEngineOutputList___setitem__, METH_VARARGS, (char *)"SoEngineOutputList___setitem__(SoEngineOutputList self, int i, SoEngineOutput value)"}, - { (char *)"SoEngineOutputList___getitem__", _wrap_SoEngineOutputList___getitem__, METH_VARARGS, (char *)"SoEngineOutputList___getitem__(SoEngineOutputList self, int i) -> SoEngineOutput"}, - { (char *)"SoEngineOutputList_get", _wrap_SoEngineOutputList_get, METH_VARARGS, (char *)"SoEngineOutputList_get(SoEngineOutputList self, int i) -> SoEngineOutput"}, - { (char *)"delete_SoEngineOutputList", _wrap_delete_SoEngineOutputList, METH_VARARGS, (char *)"delete_SoEngineOutputList(SoEngineOutputList self)"}, - { (char *)"SoEngineOutputList_swigregister", SoEngineOutputList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineList", _wrap_new_SoEngineList, METH_VARARGS, (char *)"\n" - "SoEngineList()\n" - "SoEngineList(int size)\n" - "new_SoEngineList(SoEngineList el) -> SoEngineList\n" - ""}, - { (char *)"delete_SoEngineList", _wrap_delete_SoEngineList, METH_VARARGS, (char *)"delete_SoEngineList(SoEngineList self)"}, - { (char *)"SoEngineList_append", _wrap_SoEngineList_append, METH_VARARGS, (char *)"SoEngineList_append(SoEngineList self, SoEngine ptr)"}, - { (char *)"SoEngineList___setitem__", _wrap_SoEngineList___setitem__, METH_VARARGS, (char *)"SoEngineList___setitem__(SoEngineList self, int i, SoEngine value)"}, - { (char *)"SoEngineList___getitem__", _wrap_SoEngineList___getitem__, METH_VARARGS, (char *)"SoEngineList___getitem__(SoEngineList self, int i) -> SoEngine"}, - { (char *)"SoEngineList_get", _wrap_SoEngineList_get, METH_VARARGS, (char *)"SoEngineList_get(SoEngineList self, int i) -> SoEngine"}, - { (char *)"SoEngineList_swigregister", SoEngineList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldList", _wrap_new_SoFieldList, METH_VARARGS, (char *)"\n" - "SoFieldList()\n" - "SoFieldList(int sizehint)\n" - "new_SoFieldList(SoFieldList l) -> SoFieldList\n" - ""}, - { (char *)"SoFieldList_append", _wrap_SoFieldList_append, METH_VARARGS, (char *)"SoFieldList_append(SoFieldList self, SoField field)"}, - { (char *)"SoFieldList_insert", _wrap_SoFieldList_insert, METH_VARARGS, (char *)"SoFieldList_insert(SoFieldList self, SoField field, int insertbefore)"}, - { (char *)"SoFieldList_set", _wrap_SoFieldList_set, METH_VARARGS, (char *)"SoFieldList_set(SoFieldList self, int idx, SoField field)"}, - { (char *)"SoFieldList___setitem__", _wrap_SoFieldList___setitem__, METH_VARARGS, (char *)"SoFieldList___setitem__(SoFieldList self, int i, SoField value)"}, - { (char *)"SoFieldList___getitem__", _wrap_SoFieldList___getitem__, METH_VARARGS, (char *)"SoFieldList___getitem__(SoFieldList self, int i) -> SoField"}, - { (char *)"SoFieldList_get", _wrap_SoFieldList_get, METH_VARARGS, (char *)"\n" - "get(int idx) -> SoField\n" - "SoFieldList_get(SoFieldList self, int i) -> SoField\n" - ""}, - { (char *)"delete_SoFieldList", _wrap_delete_SoFieldList, METH_VARARGS, (char *)"delete_SoFieldList(SoFieldList self)"}, - { (char *)"SoFieldList_swigregister", SoFieldList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPathList", _wrap_new_SoPathList, METH_VARARGS, (char *)"\n" - "SoPathList()\n" - "SoPathList(int size)\n" - "new_SoPathList(SoPathList pl) -> SoPathList\n" - ""}, - { (char *)"delete_SoPathList", _wrap_delete_SoPathList, METH_VARARGS, (char *)"delete_SoPathList(SoPathList self)"}, - { (char *)"SoPathList_append", _wrap_SoPathList_append, METH_VARARGS, (char *)"SoPathList_append(SoPathList self, SoPath path)"}, - { (char *)"SoPathList_findPath", _wrap_SoPathList_findPath, METH_VARARGS, (char *)"SoPathList_findPath(SoPathList self, SoPath path) -> int"}, - { (char *)"SoPathList_sort", _wrap_SoPathList_sort, METH_VARARGS, (char *)"SoPathList_sort(SoPathList self)"}, - { (char *)"SoPathList_uniquify", _wrap_SoPathList_uniquify, METH_VARARGS, (char *)"SoPathList_uniquify(SoPathList self)"}, - { (char *)"SoPathList___setitem__", _wrap_SoPathList___setitem__, METH_VARARGS, (char *)"SoPathList___setitem__(SoPathList self, int i, SoPath value)"}, - { (char *)"SoPathList___getitem__", _wrap_SoPathList___getitem__, METH_VARARGS, (char *)"SoPathList___getitem__(SoPathList self, int i) -> SoPath"}, - { (char *)"SoPathList_get", _wrap_SoPathList_get, METH_VARARGS, (char *)"SoPathList_get(SoPathList self, int i) -> SoPath"}, - { (char *)"SoPathList_swigregister", SoPathList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPickedPointList", _wrap_new_SoPickedPointList, METH_VARARGS, (char *)"\n" - "SoPickedPointList()\n" - "SoPickedPointList(int sizehint)\n" - "new_SoPickedPointList(SoPickedPointList l) -> SoPickedPointList\n" - ""}, - { (char *)"delete_SoPickedPointList", _wrap_delete_SoPickedPointList, METH_VARARGS, (char *)"delete_SoPickedPointList(SoPickedPointList self)"}, - { (char *)"SoPickedPointList_append", _wrap_SoPickedPointList_append, METH_VARARGS, (char *)"SoPickedPointList_append(SoPickedPointList self, SoPickedPoint pp)"}, - { (char *)"SoPickedPointList_insert", _wrap_SoPickedPointList_insert, METH_VARARGS, (char *)"SoPickedPointList_insert(SoPickedPointList self, SoPickedPoint pp, int insertbefore)"}, - { (char *)"SoPickedPointList_truncate", _wrap_SoPickedPointList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int start, int fit=0)\n" - "SoPickedPointList_truncate(SoPickedPointList self, int start)\n" - ""}, - { (char *)"SoPickedPointList_set", _wrap_SoPickedPointList_set, METH_VARARGS, (char *)"SoPickedPointList_set(SoPickedPointList self, int idx, SoPickedPoint pp)"}, - { (char *)"SoPickedPointList___setitem__", _wrap_SoPickedPointList___setitem__, METH_VARARGS, (char *)"SoPickedPointList___setitem__(SoPickedPointList self, int i, SoPickedPoint value)"}, - { (char *)"SoPickedPointList___getitem__", _wrap_SoPickedPointList___getitem__, METH_VARARGS, (char *)"SoPickedPointList___getitem__(SoPickedPointList self, int i) -> SoPickedPoint"}, - { (char *)"SoPickedPointList_get", _wrap_SoPickedPointList_get, METH_VARARGS, (char *)"SoPickedPointList_get(SoPickedPointList self, int i) -> SoPickedPoint"}, - { (char *)"SoPickedPointList_swigregister", SoPickedPointList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPath_initClass", _wrap_SoPath_initClass, METH_VARARGS, (char *)"SoPath_initClass()"}, - { (char *)"new_SoPath", _wrap_new_SoPath, METH_VARARGS, (char *)"\n" - "SoPath(int approxlength=4)\n" - "SoPath()\n" - "SoPath(SoNode head)\n" - "new_SoPath(SoPath rhs) -> SoPath\n" - ""}, - { (char *)"SoPath_getClassTypeId", _wrap_SoPath_getClassTypeId, METH_VARARGS, (char *)"SoPath_getClassTypeId() -> SoType"}, - { (char *)"SoPath_getTypeId", _wrap_SoPath_getTypeId, METH_VARARGS, (char *)"SoPath_getTypeId(SoPath self) -> SoType"}, - { (char *)"SoPath_setHead", _wrap_SoPath_setHead, METH_VARARGS, (char *)"SoPath_setHead(SoPath self, SoNode head)"}, - { (char *)"SoPath_getHead", _wrap_SoPath_getHead, METH_VARARGS, (char *)"SoPath_getHead(SoPath self) -> SoNode"}, - { (char *)"SoPath_append", _wrap_SoPath_append, METH_VARARGS, (char *)"\n" - "append(int childindex)\n" - "append(SoNode node)\n" - "SoPath_append(SoPath self, SoPath frompath)\n" - ""}, - { (char *)"SoPath_push", _wrap_SoPath_push, METH_VARARGS, (char *)"SoPath_push(SoPath self, int childindex)"}, - { (char *)"SoPath_pop", _wrap_SoPath_pop, METH_VARARGS, (char *)"SoPath_pop(SoPath self)"}, - { (char *)"SoPath_getTail", _wrap_SoPath_getTail, METH_VARARGS, (char *)"SoPath_getTail(SoPath self) -> SoNode"}, - { (char *)"SoPath_getNode", _wrap_SoPath_getNode, METH_VARARGS, (char *)"SoPath_getNode(SoPath self, int index) -> SoNode"}, - { (char *)"SoPath_getNodeFromTail", _wrap_SoPath_getNodeFromTail, METH_VARARGS, (char *)"SoPath_getNodeFromTail(SoPath self, int index) -> SoNode"}, - { (char *)"SoPath_getIndex", _wrap_SoPath_getIndex, METH_VARARGS, (char *)"SoPath_getIndex(SoPath self, int index) -> int"}, - { (char *)"SoPath_getIndexFromTail", _wrap_SoPath_getIndexFromTail, METH_VARARGS, (char *)"SoPath_getIndexFromTail(SoPath self, int index) -> int"}, - { (char *)"SoPath_getLength", _wrap_SoPath_getLength, METH_VARARGS, (char *)"SoPath_getLength(SoPath self) -> int"}, - { (char *)"SoPath_truncate", _wrap_SoPath_truncate, METH_VARARGS, (char *)"SoPath_truncate(SoPath self, int length)"}, - { (char *)"SoPath_findFork", _wrap_SoPath_findFork, METH_VARARGS, (char *)"SoPath_findFork(SoPath self, SoPath path) -> int"}, - { (char *)"SoPath_findNode", _wrap_SoPath_findNode, METH_VARARGS, (char *)"SoPath_findNode(SoPath self, SoNode node) -> int"}, - { (char *)"SoPath_containsNode", _wrap_SoPath_containsNode, METH_VARARGS, (char *)"SoPath_containsNode(SoPath self, SoNode node) -> SbBool"}, - { (char *)"SoPath_containsPath", _wrap_SoPath_containsPath, METH_VARARGS, (char *)"SoPath_containsPath(SoPath self, SoPath path) -> SbBool"}, - { (char *)"SoPath_copy", _wrap_SoPath_copy, METH_VARARGS, (char *)"\n" - "copy(int startfromnodeindex=0, int numnodes=0) -> SoPath\n" - "copy(int startfromnodeindex=0) -> SoPath\n" - "SoPath_copy(SoPath self) -> SoPath\n" - ""}, - { (char *)"SoPath_getByName", _wrap_SoPath_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoPath\n" - "SoPath_getByName(SbName name, SoPathList l) -> int\n" - ""}, - { (char *)"SoPath_insertIndex", _wrap_SoPath_insertIndex, METH_VARARGS, (char *)"SoPath_insertIndex(SoPath self, SoNode parent, int newindex)"}, - { (char *)"SoPath_removeIndex", _wrap_SoPath_removeIndex, METH_VARARGS, (char *)"SoPath_removeIndex(SoPath self, SoNode parent, int oldindex)"}, - { (char *)"SoPath_replaceIndex", _wrap_SoPath_replaceIndex, METH_VARARGS, (char *)"SoPath_replaceIndex(SoPath self, SoNode parent, int index, SoNode newchild)"}, - { (char *)"SoPath_isRelevantNotification", _wrap_SoPath_isRelevantNotification, METH_VARARGS, (char *)"SoPath_isRelevantNotification(SoPath self, SoNotList l) -> SbBool"}, - { (char *)"SoPath_write", _wrap_SoPath_write, METH_VARARGS, (char *)"SoPath_write(SoPath self, SoWriteAction action)"}, - { (char *)"SoPath___eq__", _wrap_SoPath___eq__, METH_VARARGS, (char *)"SoPath___eq__(SoPath self, SoPath u) -> int"}, - { (char *)"SoPath___nq__", _wrap_SoPath___nq__, METH_VARARGS, (char *)"SoPath___nq__(SoPath self, SoPath u) -> int"}, - { (char *)"SoPath_swigregister", SoPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoLightPath", _wrap_new_SoLightPath, METH_VARARGS, (char *)"\n" - "SoLightPath(SoNode node, int approxlength)\n" - "new_SoLightPath(int approxlength) -> SoLightPath\n" - ""}, - { (char *)"delete_SoLightPath", _wrap_delete_SoLightPath, METH_VARARGS, (char *)"delete_SoLightPath(SoLightPath self)"}, - { (char *)"SoLightPath_setHead", _wrap_SoLightPath_setHead, METH_VARARGS, (char *)"SoLightPath_setHead(SoLightPath self, SoNode node)"}, - { (char *)"SoLightPath_append", _wrap_SoLightPath_append, METH_VARARGS, (char *)"SoLightPath_append(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_push", _wrap_SoLightPath_push, METH_VARARGS, (char *)"SoLightPath_push(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_pop", _wrap_SoLightPath_pop, METH_VARARGS, (char *)"SoLightPath_pop(SoLightPath self)"}, - { (char *)"SoLightPath_setTail", _wrap_SoLightPath_setTail, METH_VARARGS, (char *)"SoLightPath_setTail(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_getTail", _wrap_SoLightPath_getTail, METH_VARARGS, (char *)"SoLightPath_getTail(SoLightPath self) -> SoNode"}, - { (char *)"SoLightPath_getHead", _wrap_SoLightPath_getHead, METH_VARARGS, (char *)"SoLightPath_getHead(SoLightPath self) -> SoNode"}, - { (char *)"SoLightPath_getNode", _wrap_SoLightPath_getNode, METH_VARARGS, (char *)"SoLightPath_getNode(SoLightPath self, int index) -> SoNode"}, - { (char *)"SoLightPath_getIndex", _wrap_SoLightPath_getIndex, METH_VARARGS, (char *)"SoLightPath_getIndex(SoLightPath self, int index) -> int"}, - { (char *)"SoLightPath_getFullLength", _wrap_SoLightPath_getFullLength, METH_VARARGS, (char *)"SoLightPath_getFullLength(SoLightPath self) -> int"}, - { (char *)"SoLightPath_truncate", _wrap_SoLightPath_truncate, METH_VARARGS, (char *)"SoLightPath_truncate(SoLightPath self, int startindex)"}, - { (char *)"SoLightPath_makeTempPath", _wrap_SoLightPath_makeTempPath, METH_VARARGS, (char *)"SoLightPath_makeTempPath(SoLightPath self, SoTempPath path)"}, - { (char *)"SoLightPath_swigregister", SoLightPath_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFullPath_pop", _wrap_SoFullPath_pop, METH_VARARGS, (char *)"SoFullPath_pop(SoFullPath self)"}, - { (char *)"SoFullPath_getTail", _wrap_SoFullPath_getTail, METH_VARARGS, (char *)"SoFullPath_getTail(SoFullPath self) -> SoNode"}, - { (char *)"SoFullPath_getNodeFromTail", _wrap_SoFullPath_getNodeFromTail, METH_VARARGS, (char *)"SoFullPath_getNodeFromTail(SoFullPath self, int index) -> SoNode"}, - { (char *)"SoFullPath_getIndexFromTail", _wrap_SoFullPath_getIndexFromTail, METH_VARARGS, (char *)"SoFullPath_getIndexFromTail(SoFullPath self, int index) -> int"}, - { (char *)"SoFullPath_getLength", _wrap_SoFullPath_getLength, METH_VARARGS, (char *)"SoFullPath_getLength(SoFullPath self) -> int"}, - { (char *)"SoFullPath_swigregister", SoFullPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTempPath", _wrap_new_SoTempPath, METH_VARARGS, (char *)"new_SoTempPath(int approxlength) -> SoTempPath"}, - { (char *)"SoTempPath_simpleAppend", _wrap_SoTempPath_simpleAppend, METH_VARARGS, (char *)"SoTempPath_simpleAppend(SoTempPath self, SoNode node, int index)"}, - { (char *)"SoTempPath_replaceTail", _wrap_SoTempPath_replaceTail, METH_VARARGS, (char *)"SoTempPath_replaceTail(SoTempPath self, SoNode node, int index)"}, - { (char *)"SoTempPath_swigregister", SoTempPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoActionMethodList", _wrap_new_SoActionMethodList, METH_VARARGS, (char *)"new_SoActionMethodList(SoActionMethodList parentlist) -> SoActionMethodList"}, - { (char *)"delete_SoActionMethodList", _wrap_delete_SoActionMethodList, METH_VARARGS, (char *)"delete_SoActionMethodList(SoActionMethodList self)"}, - { (char *)"SoActionMethodList_addMethod", _wrap_SoActionMethodList_addMethod, METH_VARARGS, (char *)"SoActionMethodList_addMethod(SoActionMethodList self, SoType node, SoActionMethod method)"}, - { (char *)"SoActionMethodList_setUp", _wrap_SoActionMethodList_setUp, METH_VARARGS, (char *)"SoActionMethodList_setUp(SoActionMethodList self)"}, - { (char *)"SoActionMethodList___setitem__", _wrap_SoActionMethodList___setitem__, METH_VARARGS, (char *)"SoActionMethodList___setitem__(SoActionMethodList self, int i, SoActionMethod value)"}, - { (char *)"SoActionMethodList___getitem__", _wrap_SoActionMethodList___getitem__, METH_VARARGS, (char *)"SoActionMethodList___getitem__(SoActionMethodList self, int i) -> SoActionMethod"}, - { (char *)"SoActionMethodList_get", _wrap_SoActionMethodList_get, METH_VARARGS, (char *)"SoActionMethodList_get(SoActionMethodList self, int i) -> SoActionMethod"}, - { (char *)"SoActionMethodList_swigregister", SoActionMethodList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAction_initClass", _wrap_SoAction_initClass, METH_VARARGS, (char *)"SoAction_initClass()"}, - { (char *)"SoAction_initClasses", _wrap_SoAction_initClasses, METH_VARARGS, (char *)"SoAction_initClasses()"}, - { (char *)"delete_SoAction", _wrap_delete_SoAction, METH_VARARGS, (char *)"delete_SoAction(SoAction self)"}, - { (char *)"SoAction_getClassTypeId", _wrap_SoAction_getClassTypeId, METH_VARARGS, (char *)"SoAction_getClassTypeId() -> SoType"}, - { (char *)"SoAction_getTypeId", _wrap_SoAction_getTypeId, METH_VARARGS, (char *)"SoAction_getTypeId(SoAction self) -> SoType"}, - { (char *)"SoAction_isOfType", _wrap_SoAction_isOfType, METH_VARARGS, (char *)"SoAction_isOfType(SoAction self, SoType type) -> SbBool"}, - { (char *)"SoAction_apply", _wrap_SoAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode root)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "apply(SoPathList pathlist)\n" - "SoAction_apply(SoAction self, SoAction beingApplied)\n" - ""}, - { (char *)"SoAction_invalidateState", _wrap_SoAction_invalidateState, METH_VARARGS, (char *)"SoAction_invalidateState(SoAction self)"}, - { (char *)"SoAction_nullAction", _wrap_SoAction_nullAction, METH_VARARGS, (char *)"SoAction_nullAction(SoAction action, SoNode node)"}, - { (char *)"SoAction_getWhatAppliedTo", _wrap_SoAction_getWhatAppliedTo, METH_VARARGS, (char *)"SoAction_getWhatAppliedTo(SoAction self) -> AppliedCode"}, - { (char *)"SoAction_getNodeAppliedTo", _wrap_SoAction_getNodeAppliedTo, METH_VARARGS, (char *)"SoAction_getNodeAppliedTo(SoAction self) -> SoNode"}, - { (char *)"SoAction_getPathAppliedTo", _wrap_SoAction_getPathAppliedTo, METH_VARARGS, (char *)"SoAction_getPathAppliedTo(SoAction self) -> SoPath"}, - { (char *)"SoAction_getPathListAppliedTo", _wrap_SoAction_getPathListAppliedTo, METH_VARARGS, (char *)"SoAction_getPathListAppliedTo(SoAction self) -> SoPathList"}, - { (char *)"SoAction_getOriginalPathListAppliedTo", _wrap_SoAction_getOriginalPathListAppliedTo, METH_VARARGS, (char *)"SoAction_getOriginalPathListAppliedTo(SoAction self) -> SoPathList"}, - { (char *)"SoAction_isLastPathListAppliedTo", _wrap_SoAction_isLastPathListAppliedTo, METH_VARARGS, (char *)"SoAction_isLastPathListAppliedTo(SoAction self) -> SbBool"}, - { (char *)"SoAction_getPathCode", _wrap_SoAction_getPathCode, METH_VARARGS, (char *)"SoAction_getPathCode(SoAction self, int numindices, int indices) -> PathCode"}, - { (char *)"SoAction_traverse", _wrap_SoAction_traverse, METH_VARARGS, (char *)"SoAction_traverse(SoAction self, SoNode node)"}, - { (char *)"SoAction_hasTerminated", _wrap_SoAction_hasTerminated, METH_VARARGS, (char *)"SoAction_hasTerminated(SoAction self) -> SbBool"}, - { (char *)"SoAction_getCurPath", _wrap_SoAction_getCurPath, METH_VARARGS, (char *)"SoAction_getCurPath(SoAction self) -> SoPath"}, - { (char *)"SoAction_getState", _wrap_SoAction_getState, METH_VARARGS, (char *)"SoAction_getState(SoAction self) -> SoState"}, - { (char *)"SoAction_getCurPathCode", _wrap_SoAction_getCurPathCode, METH_VARARGS, (char *)"SoAction_getCurPathCode(SoAction self) -> PathCode"}, - { (char *)"SoAction_getCurPathTail", _wrap_SoAction_getCurPathTail, METH_VARARGS, (char *)"SoAction_getCurPathTail(SoAction self) -> SoNode"}, - { (char *)"SoAction_usePathCode", _wrap_SoAction_usePathCode, METH_VARARGS, (char *)"SoAction_usePathCode(SoAction self, int numindices, int indices)"}, - { (char *)"SoAction_pushCurPath", _wrap_SoAction_pushCurPath, METH_VARARGS, (char *)"\n" - "pushCurPath(int childindex, SoNode node=None)\n" - "pushCurPath(int childindex)\n" - "SoAction_pushCurPath(SoAction self)\n" - ""}, - { (char *)"SoAction_popPushCurPath", _wrap_SoAction_popPushCurPath, METH_VARARGS, (char *)"\n" - "popPushCurPath(int childindex, SoNode node=None)\n" - "SoAction_popPushCurPath(SoAction self, int childindex)\n" - ""}, - { (char *)"SoAction_popCurPath", _wrap_SoAction_popCurPath, METH_VARARGS, (char *)"\n" - "popCurPath(PathCode prevpathcode)\n" - "SoAction_popCurPath(SoAction self)\n" - ""}, - { (char *)"SoAction_switchToPathTraversal", _wrap_SoAction_switchToPathTraversal, METH_VARARGS, (char *)"SoAction_switchToPathTraversal(SoAction self, SoPath path)"}, - { (char *)"SoAction_switchToNodeTraversal", _wrap_SoAction_switchToNodeTraversal, METH_VARARGS, (char *)"SoAction_switchToNodeTraversal(SoAction self, SoNode node)"}, - { (char *)"SoAction_swigregister", SoAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoState", _wrap_new_SoState, METH_VARARGS, (char *)"new_SoState(SoAction action, SoTypeList enabledelements) -> SoState"}, - { (char *)"delete_SoState", _wrap_delete_SoState, METH_VARARGS, (char *)"delete_SoState(SoState self)"}, - { (char *)"SoState_getAction", _wrap_SoState_getAction, METH_VARARGS, (char *)"SoState_getAction(SoState self) -> SoAction"}, - { (char *)"SoState_getElement", _wrap_SoState_getElement, METH_VARARGS, (char *)"SoState_getElement(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_getConstElement", _wrap_SoState_getConstElement, METH_VARARGS, (char *)"SoState_getConstElement(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_push", _wrap_SoState_push, METH_VARARGS, (char *)"SoState_push(SoState self)"}, - { (char *)"SoState_pop", _wrap_SoState_pop, METH_VARARGS, (char *)"SoState_pop(SoState self)"}, - { (char *)"SoState_output", _wrap_SoState_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoState_output(SoState self)\n" - ""}, - { (char *)"SoState_isElementEnabled", _wrap_SoState_isElementEnabled, METH_VARARGS, (char *)"SoState_isElementEnabled(SoState self, int stackindex) -> SbBool"}, - { (char *)"SoState_getDepth", _wrap_SoState_getDepth, METH_VARARGS, (char *)"SoState_getDepth(SoState self) -> int"}, - { (char *)"SoState_setCacheOpen", _wrap_SoState_setCacheOpen, METH_VARARGS, (char *)"SoState_setCacheOpen(SoState self, SbBool flag)"}, - { (char *)"SoState_isCacheOpen", _wrap_SoState_isCacheOpen, METH_VARARGS, (char *)"SoState_isCacheOpen(SoState self) -> SbBool"}, - { (char *)"SoState_getElementNoPush", _wrap_SoState_getElementNoPush, METH_VARARGS, (char *)"SoState_getElementNoPush(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_swigregister", SoState_swigregister, METH_VARARGS, NULL}, - { (char *)"SoElement_initClass", _wrap_SoElement_initClass, METH_VARARGS, (char *)"SoElement_initClass()"}, - { (char *)"SoElement_getClassTypeId", _wrap_SoElement_getClassTypeId, METH_VARARGS, (char *)"SoElement_getClassTypeId() -> SoType"}, - { (char *)"SoElement_getClassStackIndex", _wrap_SoElement_getClassStackIndex, METH_VARARGS, (char *)"SoElement_getClassStackIndex() -> int"}, - { (char *)"SoElement_getTypeId", _wrap_SoElement_getTypeId, METH_VARARGS, (char *)"SoElement_getTypeId(SoElement self) -> SoType"}, - { (char *)"SoElement_getStackIndex", _wrap_SoElement_getStackIndex, METH_VARARGS, (char *)"SoElement_getStackIndex(SoElement self) -> int"}, - { (char *)"SoElement_init", _wrap_SoElement_init, METH_VARARGS, (char *)"SoElement_init(SoElement self, SoState state)"}, - { (char *)"SoElement_push", _wrap_SoElement_push, METH_VARARGS, (char *)"SoElement_push(SoElement self, SoState state)"}, - { (char *)"SoElement_pop", _wrap_SoElement_pop, METH_VARARGS, (char *)"SoElement_pop(SoElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoElement_matches", _wrap_SoElement_matches, METH_VARARGS, (char *)"SoElement_matches(SoElement self, SoElement element) -> SbBool"}, - { (char *)"SoElement_copyMatchInfo", _wrap_SoElement_copyMatchInfo, METH_VARARGS, (char *)"SoElement_copyMatchInfo(SoElement self) -> SoElement"}, - { (char *)"SoElement_initElements", _wrap_SoElement_initElements, METH_VARARGS, (char *)"SoElement_initElements()"}, - { (char *)"SoElement_getNumStackIndices", _wrap_SoElement_getNumStackIndices, METH_VARARGS, (char *)"SoElement_getNumStackIndices() -> int"}, - { (char *)"SoElement_getIdFromStackIndex", _wrap_SoElement_getIdFromStackIndex, METH_VARARGS, (char *)"SoElement_getIdFromStackIndex(int stackIndex) -> SoType"}, - { (char *)"SoElement_setDepth", _wrap_SoElement_setDepth, METH_VARARGS, (char *)"SoElement_setDepth(SoElement self, int depth)"}, - { (char *)"SoElement_getDepth", _wrap_SoElement_getDepth, METH_VARARGS, (char *)"SoElement_getDepth(SoElement self) -> int"}, - { (char *)"SoElement_output", _wrap_SoElement_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoElement_output(SoElement self)\n" - ""}, - { (char *)"delete_SoElement", _wrap_delete_SoElement, METH_VARARGS, (char *)"delete_SoElement(SoElement self)"}, - { (char *)"SoElement_swigregister", SoElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInt32Element_getClassTypeId", _wrap_SoInt32Element_getClassTypeId, METH_VARARGS, (char *)"SoInt32Element_getClassTypeId() -> SoType"}, - { (char *)"SoInt32Element_getClassStackIndex", _wrap_SoInt32Element_getClassStackIndex, METH_VARARGS, (char *)"SoInt32Element_getClassStackIndex() -> int"}, - { (char *)"SoInt32Element_initClass", _wrap_SoInt32Element_initClass, METH_VARARGS, (char *)"SoInt32Element_initClass()"}, - { (char *)"SoInt32Element_init", _wrap_SoInt32Element_init, METH_VARARGS, (char *)"SoInt32Element_init(SoInt32Element self, SoState state)"}, - { (char *)"SoInt32Element_matches", _wrap_SoInt32Element_matches, METH_VARARGS, (char *)"SoInt32Element_matches(SoInt32Element self, SoElement element) -> SbBool"}, - { (char *)"SoInt32Element_copyMatchInfo", _wrap_SoInt32Element_copyMatchInfo, METH_VARARGS, (char *)"SoInt32Element_copyMatchInfo(SoInt32Element self) -> SoElement"}, - { (char *)"SoInt32Element_output", _wrap_SoInt32Element_output, METH_VARARGS, (char *)"SoInt32Element_output(SoInt32Element self, FILE file)"}, - { (char *)"SoInt32Element_set", _wrap_SoInt32Element_set, METH_VARARGS, (char *)"\n" - "set(int index, SoState state, SoNode node, int32_t value)\n" - "SoInt32Element_set(int index, SoState state, int32_t value)\n" - ""}, - { (char *)"SoInt32Element_get", _wrap_SoInt32Element_get, METH_VARARGS, (char *)"SoInt32Element_get(int index, SoState state) -> int32_t"}, - { (char *)"SoInt32Element_setElt", _wrap_SoInt32Element_setElt, METH_VARARGS, (char *)"SoInt32Element_setElt(SoInt32Element self, int32_t value)"}, - { (char *)"SoInt32Element_swigregister", SoInt32Element_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecimationTypeElement_getClassTypeId", _wrap_SoDecimationTypeElement_getClassTypeId, METH_VARARGS, (char *)"SoDecimationTypeElement_getClassTypeId() -> SoType"}, - { (char *)"SoDecimationTypeElement_getClassStackIndex", _wrap_SoDecimationTypeElement_getClassStackIndex, METH_VARARGS, (char *)"SoDecimationTypeElement_getClassStackIndex() -> int"}, - { (char *)"SoDecimationTypeElement_createInstance", _wrap_SoDecimationTypeElement_createInstance, METH_VARARGS, (char *)"SoDecimationTypeElement_createInstance() -> void"}, - { (char *)"SoDecimationTypeElement_initClass", _wrap_SoDecimationTypeElement_initClass, METH_VARARGS, (char *)"SoDecimationTypeElement_initClass()"}, - { (char *)"SoDecimationTypeElement_init", _wrap_SoDecimationTypeElement_init, METH_VARARGS, (char *)"SoDecimationTypeElement_init(SoDecimationTypeElement self, SoState state)"}, - { (char *)"SoDecimationTypeElement_set", _wrap_SoDecimationTypeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, Type type)\n" - "SoDecimationTypeElement_set(SoState state, SoNode node, Type type)\n" - ""}, - { (char *)"SoDecimationTypeElement_get", _wrap_SoDecimationTypeElement_get, METH_VARARGS, (char *)"SoDecimationTypeElement_get(SoState state) -> Type"}, - { (char *)"SoDecimationTypeElement_getDefault", _wrap_SoDecimationTypeElement_getDefault, METH_VARARGS, (char *)"SoDecimationTypeElement_getDefault() -> Type"}, - { (char *)"SoDecimationTypeElement_swigregister", SoDecimationTypeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldData", _wrap_new_SoFieldData, METH_VARARGS, (char *)"\n" - "SoFieldData()\n" - "SoFieldData(SoFieldData fd)\n" - "SoFieldData(SoFieldData fd)\n" - "new_SoFieldData(int numfields) -> SoFieldData\n" - ""}, - { (char *)"delete_SoFieldData", _wrap_delete_SoFieldData, METH_VARARGS, (char *)"delete_SoFieldData(SoFieldData self)"}, - { (char *)"SoFieldData_addField", _wrap_SoFieldData_addField, METH_VARARGS, (char *)"\n" - "SoFieldData_addField(SoFieldData self, SoFieldContainer base, char name, \n" - " SoField field)\n" - ""}, - { (char *)"SoFieldData_overlay", _wrap_SoFieldData_overlay, METH_VARARGS, (char *)"\n" - "SoFieldData_overlay(SoFieldData self, SoFieldContainer to, SoFieldContainer from, \n" - " SbBool copyconnections)\n" - ""}, - { (char *)"SoFieldData_getNumFields", _wrap_SoFieldData_getNumFields, METH_VARARGS, (char *)"SoFieldData_getNumFields(SoFieldData self) -> int"}, - { (char *)"SoFieldData_getFieldName", _wrap_SoFieldData_getFieldName, METH_VARARGS, (char *)"SoFieldData_getFieldName(SoFieldData self, int index) -> SbName"}, - { (char *)"SoFieldData_getField", _wrap_SoFieldData_getField, METH_VARARGS, (char *)"SoFieldData_getField(SoFieldData self, SoFieldContainer object, int index) -> SoField"}, - { (char *)"SoFieldData_getIndex", _wrap_SoFieldData_getIndex, METH_VARARGS, (char *)"SoFieldData_getIndex(SoFieldData self, SoFieldContainer fc, SoField field) -> int"}, - { (char *)"SoFieldData_addEnumValue", _wrap_SoFieldData_addEnumValue, METH_VARARGS, (char *)"SoFieldData_addEnumValue(SoFieldData self, char enumname, char valuename, int value)"}, - { (char *)"SoFieldData_getEnumData", _wrap_SoFieldData_getEnumData, METH_VARARGS, (char *)"\n" - "SoFieldData_getEnumData(SoFieldData self, char enumname, int num, int values, \n" - " SbName names)\n" - ""}, - { (char *)"SoFieldData_read", _wrap_SoFieldData_read, METH_VARARGS, (char *)"\n" - "read(SoInput input, SoFieldContainer object, SbBool erroronunknownfield, \n" - " SbBool notbuiltin) -> SbBool\n" - "SoFieldData_read(SoFieldData self, SoInput input, SoFieldContainer object, \n" - " SbName fieldname, SbBool foundname) -> SbBool\n" - ""}, - { (char *)"SoFieldData_write", _wrap_SoFieldData_write, METH_VARARGS, (char *)"SoFieldData_write(SoFieldData self, SoOutput out, SoFieldContainer object)"}, - { (char *)"SoFieldData_copy", _wrap_SoFieldData_copy, METH_VARARGS, (char *)"SoFieldData_copy(SoFieldData self, SoFieldData src)"}, - { (char *)"SoFieldData_isSame", _wrap_SoFieldData_isSame, METH_VARARGS, (char *)"SoFieldData_isSame(SoFieldData self, SoFieldContainer c1, SoFieldContainer c2) -> SbBool"}, - { (char *)"SoFieldData_readFieldDescriptions", _wrap_SoFieldData_readFieldDescriptions, METH_VARARGS, (char *)"\n" - "readFieldDescriptions(SoInput input, SoFieldContainer object, int numdescriptionsexpected, \n" - " SbBool readfieldvalues=1) -> SbBool\n" - "SoFieldData_readFieldDescriptions(SoFieldData self, SoInput input, SoFieldContainer object, \n" - " int numdescriptionsexpected) -> SbBool\n" - ""}, - { (char *)"SoFieldData_writeFieldDescriptions", _wrap_SoFieldData_writeFieldDescriptions, METH_VARARGS, (char *)"SoFieldData_writeFieldDescriptions(SoFieldData self, SoOutput out, SoFieldContainer object)"}, - { (char *)"SoFieldData_swigregister", SoFieldData_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFieldContainer_initClass", _wrap_SoFieldContainer_initClass, METH_VARARGS, (char *)"SoFieldContainer_initClass()"}, - { (char *)"SoFieldContainer_getClassTypeId", _wrap_SoFieldContainer_getClassTypeId, METH_VARARGS, (char *)"SoFieldContainer_getClassTypeId() -> SoType"}, - { (char *)"SoFieldContainer_cleanupClass", _wrap_SoFieldContainer_cleanupClass, METH_VARARGS, (char *)"SoFieldContainer_cleanupClass()"}, - { (char *)"SoFieldContainer_setToDefaults", _wrap_SoFieldContainer_setToDefaults, METH_VARARGS, (char *)"SoFieldContainer_setToDefaults(SoFieldContainer self)"}, - { (char *)"SoFieldContainer_hasDefaultValues", _wrap_SoFieldContainer_hasDefaultValues, METH_VARARGS, (char *)"SoFieldContainer_hasDefaultValues(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_fieldsAreEqual", _wrap_SoFieldContainer_fieldsAreEqual, METH_VARARGS, (char *)"SoFieldContainer_fieldsAreEqual(SoFieldContainer self, SoFieldContainer container) -> SbBool"}, - { (char *)"SoFieldContainer_copyFieldValues", _wrap_SoFieldContainer_copyFieldValues, METH_VARARGS, (char *)"\n" - "copyFieldValues(SoFieldContainer container, SbBool copyconnections=0)\n" - "SoFieldContainer_copyFieldValues(SoFieldContainer self, SoFieldContainer container)\n" - ""}, - { (char *)"SoFieldContainer_getFields", _wrap_SoFieldContainer_getFields, METH_VARARGS, (char *)"SoFieldContainer_getFields(SoFieldContainer self, SoFieldList l) -> int"}, - { (char *)"SoFieldContainer_getAllFields", _wrap_SoFieldContainer_getAllFields, METH_VARARGS, (char *)"SoFieldContainer_getAllFields(SoFieldContainer self, SoFieldList l) -> int"}, - { (char *)"SoFieldContainer_getField", _wrap_SoFieldContainer_getField, METH_VARARGS, (char *)"SoFieldContainer_getField(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_getEventIn", _wrap_SoFieldContainer_getEventIn, METH_VARARGS, (char *)"SoFieldContainer_getEventIn(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_getEventOut", _wrap_SoFieldContainer_getEventOut, METH_VARARGS, (char *)"SoFieldContainer_getEventOut(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_enableNotify", _wrap_SoFieldContainer_enableNotify, METH_VARARGS, (char *)"SoFieldContainer_enableNotify(SoFieldContainer self, SbBool flag) -> SbBool"}, - { (char *)"SoFieldContainer_isNotifyEnabled", _wrap_SoFieldContainer_isNotifyEnabled, METH_VARARGS, (char *)"SoFieldContainer_isNotifyEnabled(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_set", _wrap_SoFieldContainer_set, METH_VARARGS, (char *)"\n" - "set(char fielddata) -> SbBool\n" - "SoFieldContainer_set(SoFieldContainer self, char fielddata, SoInput input) -> SbBool\n" - ""}, - { (char *)"SoFieldContainer_get", _wrap_SoFieldContainer_get, METH_VARARGS, (char *)"\n" - "get(SbString fielddata)\n" - "SoFieldContainer_get(SoFieldContainer self, SbString fielddata, SoOutput out)\n" - ""}, - { (char *)"SoFieldContainer_notify", _wrap_SoFieldContainer_notify, METH_VARARGS, (char *)"SoFieldContainer_notify(SoFieldContainer self, SoNotList l)"}, - { (char *)"SoFieldContainer_validateNewFieldValue", _wrap_SoFieldContainer_validateNewFieldValue, METH_VARARGS, (char *)"SoFieldContainer_validateNewFieldValue(SoFieldContainer self, SoField field, void newval) -> SbBool"}, - { (char *)"SoFieldContainer_addWriteReference", _wrap_SoFieldContainer_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoFieldContainer_addWriteReference(SoFieldContainer self, SoOutput out)\n" - ""}, - { (char *)"SoFieldContainer_writeInstance", _wrap_SoFieldContainer_writeInstance, METH_VARARGS, (char *)"SoFieldContainer_writeInstance(SoFieldContainer self, SoOutput out)"}, - { (char *)"SoFieldContainer_getIsBuiltIn", _wrap_SoFieldContainer_getIsBuiltIn, METH_VARARGS, (char *)"SoFieldContainer_getIsBuiltIn(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_getFieldData", _wrap_SoFieldContainer_getFieldData, METH_VARARGS, (char *)"SoFieldContainer_getFieldData(SoFieldContainer self) -> SoFieldData"}, - { (char *)"SoFieldContainer_copyContents", _wrap_SoFieldContainer_copyContents, METH_VARARGS, (char *)"SoFieldContainer_copyContents(SoFieldContainer self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoFieldContainer_copyThroughConnection", _wrap_SoFieldContainer_copyThroughConnection, METH_VARARGS, (char *)"SoFieldContainer_copyThroughConnection(SoFieldContainer self) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_initCopyDict", _wrap_SoFieldContainer_initCopyDict, METH_VARARGS, (char *)"SoFieldContainer_initCopyDict()"}, - { (char *)"SoFieldContainer_addCopy", _wrap_SoFieldContainer_addCopy, METH_VARARGS, (char *)"SoFieldContainer_addCopy(SoFieldContainer orig, SoFieldContainer copy)"}, - { (char *)"SoFieldContainer_checkCopy", _wrap_SoFieldContainer_checkCopy, METH_VARARGS, (char *)"SoFieldContainer_checkCopy(SoFieldContainer orig) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_findCopy", _wrap_SoFieldContainer_findCopy, METH_VARARGS, (char *)"SoFieldContainer_findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_copyDone", _wrap_SoFieldContainer_copyDone, METH_VARARGS, (char *)"SoFieldContainer_copyDone()"}, - { (char *)"SoFieldContainer_getFieldsMemorySize", _wrap_SoFieldContainer_getFieldsMemorySize, METH_VARARGS, (char *)"SoFieldContainer_getFieldsMemorySize(SoFieldContainer self, size_t managed, size_t unmanaged)"}, - { (char *)"SoFieldContainer_setUserData", _wrap_SoFieldContainer_setUserData, METH_VARARGS, (char *)"SoFieldContainer_setUserData(SoFieldContainer self, void userdata)"}, - { (char *)"SoFieldContainer_getUserData", _wrap_SoFieldContainer_getUserData, METH_VARARGS, (char *)"SoFieldContainer_getUserData(SoFieldContainer self) -> void"}, - { (char *)"SoFieldContainer_getFieldName", _wrap_SoFieldContainer_getFieldName, METH_VARARGS, (char *)"\n" - "getFieldName(SoField field, SbName name) -> SbBool\n" - "SoFieldContainer_getFieldName(SoFieldContainer self, SoField field) -> PyObject\n" - ""}, - { (char *)"SoFieldContainer_swigregister", SoFieldContainer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNode_setOverride", _wrap_SoNode_setOverride, METH_VARARGS, (char *)"SoNode_setOverride(SoNode self, SbBool state)"}, - { (char *)"SoNode_isOverride", _wrap_SoNode_isOverride, METH_VARARGS, (char *)"SoNode_isOverride(SoNode self) -> SbBool"}, - { (char *)"SoNode_getCompatibilityTypes", _wrap_SoNode_getCompatibilityTypes, METH_VARARGS, (char *)"SoNode_getCompatibilityTypes(SoType nodetype) -> uint32_t"}, - { (char *)"SoNode_setNodeType", _wrap_SoNode_setNodeType, METH_VARARGS, (char *)"SoNode_setNodeType(SoNode self, NodeType type)"}, - { (char *)"SoNode_getNodeType", _wrap_SoNode_getNodeType, METH_VARARGS, (char *)"SoNode_getNodeType(SoNode self) -> NodeType"}, - { (char *)"SoNode_copy", _wrap_SoNode_copy, METH_VARARGS, (char *)"\n" - "copy(SbBool copyconnections=0) -> SoNode\n" - "SoNode_copy(SoNode self) -> SoNode\n" - ""}, - { (char *)"SoNode_affectsState", _wrap_SoNode_affectsState, METH_VARARGS, (char *)"SoNode_affectsState(SoNode self) -> SbBool"}, - { (char *)"SoNode_doAction", _wrap_SoNode_doAction, METH_VARARGS, (char *)"SoNode_doAction(SoNode self, SoAction action)"}, - { (char *)"SoNode_GLRender", _wrap_SoNode_GLRender, METH_VARARGS, (char *)"SoNode_GLRender(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderBelowPath", _wrap_SoNode_GLRenderBelowPath, METH_VARARGS, (char *)"SoNode_GLRenderBelowPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderInPath", _wrap_SoNode_GLRenderInPath, METH_VARARGS, (char *)"SoNode_GLRenderInPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderOffPath", _wrap_SoNode_GLRenderOffPath, METH_VARARGS, (char *)"SoNode_GLRenderOffPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_callback", _wrap_SoNode_callback, METH_VARARGS, (char *)"SoNode_callback(SoNode self, SoCallbackAction action)"}, - { (char *)"SoNode_getBoundingBox", _wrap_SoNode_getBoundingBox, METH_VARARGS, (char *)"SoNode_getBoundingBox(SoNode self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNode_getMatrix", _wrap_SoNode_getMatrix, METH_VARARGS, (char *)"SoNode_getMatrix(SoNode self, SoGetMatrixAction action)"}, - { (char *)"SoNode_handleEvent", _wrap_SoNode_handleEvent, METH_VARARGS, (char *)"SoNode_handleEvent(SoNode self, SoHandleEventAction action)"}, - { (char *)"SoNode_pick", _wrap_SoNode_pick, METH_VARARGS, (char *)"SoNode_pick(SoNode self, SoPickAction action)"}, - { (char *)"SoNode_rayPick", _wrap_SoNode_rayPick, METH_VARARGS, (char *)"SoNode_rayPick(SoNode self, SoRayPickAction action)"}, - { (char *)"SoNode_search", _wrap_SoNode_search, METH_VARARGS, (char *)"SoNode_search(SoNode self, SoSearchAction action)"}, - { (char *)"SoNode_write", _wrap_SoNode_write, METH_VARARGS, (char *)"SoNode_write(SoNode self, SoWriteAction action)"}, - { (char *)"SoNode_audioRender", _wrap_SoNode_audioRender, METH_VARARGS, (char *)"SoNode_audioRender(SoNode self, SoAudioRenderAction action)"}, - { (char *)"SoNode_getPrimitiveCount", _wrap_SoNode_getPrimitiveCount, METH_VARARGS, (char *)"SoNode_getPrimitiveCount(SoNode self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNode_grabEventsSetup", _wrap_SoNode_grabEventsSetup, METH_VARARGS, (char *)"SoNode_grabEventsSetup(SoNode self)"}, - { (char *)"SoNode_grabEventsCleanup", _wrap_SoNode_grabEventsCleanup, METH_VARARGS, (char *)"SoNode_grabEventsCleanup(SoNode self)"}, - { (char *)"SoNode_startNotify", _wrap_SoNode_startNotify, METH_VARARGS, (char *)"SoNode_startNotify(SoNode self)"}, - { (char *)"SoNode_notify", _wrap_SoNode_notify, METH_VARARGS, (char *)"SoNode_notify(SoNode self, SoNotList l)"}, - { (char *)"SoNode_getNodeId", _wrap_SoNode_getNodeId, METH_VARARGS, (char *)"SoNode_getNodeId(SoNode self) -> uint32_t"}, - { (char *)"SoNode_getChildren", _wrap_SoNode_getChildren, METH_VARARGS, (char *)"SoNode_getChildren(SoNode self) -> SoChildList"}, - { (char *)"SoNode_writeInstance", _wrap_SoNode_writeInstance, METH_VARARGS, (char *)"SoNode_writeInstance(SoNode self, SoOutput out)"}, - { (char *)"SoNode_addToCopyDict", _wrap_SoNode_addToCopyDict, METH_VARARGS, (char *)"SoNode_addToCopyDict(SoNode self) -> SoNode"}, - { (char *)"SoNode_copyContents", _wrap_SoNode_copyContents, METH_VARARGS, (char *)"SoNode_copyContents(SoNode self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoNode_copyThroughConnection", _wrap_SoNode_copyThroughConnection, METH_VARARGS, (char *)"SoNode_copyThroughConnection(SoNode self) -> SoFieldContainer"}, - { (char *)"SoNode_getClassTypeId", _wrap_SoNode_getClassTypeId, METH_VARARGS, (char *)"SoNode_getClassTypeId() -> SoType"}, - { (char *)"SoNode_getByName", _wrap_SoNode_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoNode\n" - "SoNode_getByName(SbName name, SoNodeList l) -> int\n" - ""}, - { (char *)"SoNode_initClass", _wrap_SoNode_initClass, METH_VARARGS, (char *)"SoNode_initClass()"}, - { (char *)"SoNode_initClasses", _wrap_SoNode_initClasses, METH_VARARGS, (char *)"SoNode_initClasses()"}, - { (char *)"SoNode_getNextNodeId", _wrap_SoNode_getNextNodeId, METH_VARARGS, (char *)"SoNode_getNextNodeId() -> uint32_t"}, - { (char *)"SoNode_getActionMethodIndex", _wrap_SoNode_getActionMethodIndex, METH_VARARGS, (char *)"SoNode_getActionMethodIndex(SoType type) -> int"}, - { (char *)"SoNode_getBoundingBoxS", _wrap_SoNode_getBoundingBoxS, METH_VARARGS, (char *)"SoNode_getBoundingBoxS(SoAction action, SoNode node)"}, - { (char *)"SoNode_GLRenderS", _wrap_SoNode_GLRenderS, METH_VARARGS, (char *)"SoNode_GLRenderS(SoAction action, SoNode node)"}, - { (char *)"SoNode_callbackS", _wrap_SoNode_callbackS, METH_VARARGS, (char *)"SoNode_callbackS(SoAction action, SoNode node)"}, - { (char *)"SoNode_getMatrixS", _wrap_SoNode_getMatrixS, METH_VARARGS, (char *)"SoNode_getMatrixS(SoAction action, SoNode node)"}, - { (char *)"SoNode_handleEventS", _wrap_SoNode_handleEventS, METH_VARARGS, (char *)"SoNode_handleEventS(SoAction action, SoNode node)"}, - { (char *)"SoNode_pickS", _wrap_SoNode_pickS, METH_VARARGS, (char *)"SoNode_pickS(SoAction action, SoNode node)"}, - { (char *)"SoNode_rayPickS", _wrap_SoNode_rayPickS, METH_VARARGS, (char *)"SoNode_rayPickS(SoAction action, SoNode node)"}, - { (char *)"SoNode_searchS", _wrap_SoNode_searchS, METH_VARARGS, (char *)"SoNode_searchS(SoAction action, SoNode node)"}, - { (char *)"SoNode_writeS", _wrap_SoNode_writeS, METH_VARARGS, (char *)"SoNode_writeS(SoAction action, SoNode node)"}, - { (char *)"SoNode_audioRenderS", _wrap_SoNode_audioRenderS, METH_VARARGS, (char *)"SoNode_audioRenderS(SoAction action, SoNode node)"}, - { (char *)"SoNode_getPrimitiveCountS", _wrap_SoNode_getPrimitiveCountS, METH_VARARGS, (char *)"SoNode_getPrimitiveCountS(SoAction action, SoNode node)"}, - { (char *)"SoNode_swigregister", SoNode_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSensorManager", _wrap_new_SoSensorManager, METH_VARARGS, (char *)"new_SoSensorManager() -> SoSensorManager"}, - { (char *)"delete_SoSensorManager", _wrap_delete_SoSensorManager, METH_VARARGS, (char *)"delete_SoSensorManager(SoSensorManager self)"}, - { (char *)"SoSensorManager_insertDelaySensor", _wrap_SoSensorManager_insertDelaySensor, METH_VARARGS, (char *)"SoSensorManager_insertDelaySensor(SoSensorManager self, SoDelayQueueSensor s)"}, - { (char *)"SoSensorManager_insertTimerSensor", _wrap_SoSensorManager_insertTimerSensor, METH_VARARGS, (char *)"SoSensorManager_insertTimerSensor(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_removeDelaySensor", _wrap_SoSensorManager_removeDelaySensor, METH_VARARGS, (char *)"SoSensorManager_removeDelaySensor(SoSensorManager self, SoDelayQueueSensor s)"}, - { (char *)"SoSensorManager_removeTimerSensor", _wrap_SoSensorManager_removeTimerSensor, METH_VARARGS, (char *)"SoSensorManager_removeTimerSensor(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_rescheduleTimer", _wrap_SoSensorManager_rescheduleTimer, METH_VARARGS, (char *)"SoSensorManager_rescheduleTimer(SoSensorManager self, SoTimerSensor s)"}, - { (char *)"SoSensorManager_removeRescheduledTimer", _wrap_SoSensorManager_removeRescheduledTimer, METH_VARARGS, (char *)"SoSensorManager_removeRescheduledTimer(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_processDelayQueue", _wrap_SoSensorManager_processDelayQueue, METH_VARARGS, (char *)"SoSensorManager_processDelayQueue(SoSensorManager self, SbBool isidle)"}, - { (char *)"SoSensorManager_processImmediateQueue", _wrap_SoSensorManager_processImmediateQueue, METH_VARARGS, (char *)"SoSensorManager_processImmediateQueue(SoSensorManager self)"}, - { (char *)"SoSensorManager_processTimerQueue", _wrap_SoSensorManager_processTimerQueue, METH_VARARGS, (char *)"SoSensorManager_processTimerQueue(SoSensorManager self)"}, - { (char *)"SoSensorManager_isDelaySensorPending", _wrap_SoSensorManager_isDelaySensorPending, METH_VARARGS, (char *)"SoSensorManager_isDelaySensorPending(SoSensorManager self) -> SbBool"}, - { (char *)"SoSensorManager_setDelaySensorTimeout", _wrap_SoSensorManager_setDelaySensorTimeout, METH_VARARGS, (char *)"SoSensorManager_setDelaySensorTimeout(SoSensorManager self, SbTime t)"}, - { (char *)"SoSensorManager_getDelaySensorTimeout", _wrap_SoSensorManager_getDelaySensorTimeout, METH_VARARGS, (char *)"SoSensorManager_getDelaySensorTimeout(SoSensorManager self) -> SbTime"}, - { (char *)"SoSensorManager_doSelect", _wrap_SoSensorManager_doSelect, METH_VARARGS, (char *)"\n" - "SoSensorManager_doSelect(SoSensorManager self, int nfds, void readfds, void writefds, \n" - " void exceptfds, timeval userTimeOut) -> int\n" - ""}, - { (char *)"SoSensorManager_setChangedCallback", _wrap_SoSensorManager_setChangedCallback, METH_VARARGS, (char *)"\n" - "setChangedCallback(void sensorQueueChangedCB, void data)\n" - "SoSensorManager_setChangedCallback(SoSensorManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoSensorManager_isTimerSensorPending", _wrap_SoSensorManager_isTimerSensorPending, METH_VARARGS, (char *)"\n" - "isTimerSensorPending(SbTime tm) -> SbBool\n" - "SoSensorManager_isTimerSensorPending(SoSensorManager self) -> PyObject\n" - ""}, - { (char *)"SoSensorManager_swigregister", SoSensorManager_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDB_init", _wrap_SoDB_init, METH_VARARGS, (char *)"SoDB_init()"}, - { (char *)"SoDB_finish", _wrap_SoDB_finish, METH_VARARGS, (char *)"SoDB_finish()"}, - { (char *)"SoDB_cleanup", _wrap_SoDB_cleanup, METH_VARARGS, (char *)"SoDB_cleanup()"}, - { (char *)"SoDB_getVersion", _wrap_SoDB_getVersion, METH_VARARGS, (char *)"SoDB_getVersion() -> char"}, - { (char *)"SoDB_read", _wrap_SoDB_read, METH_VARARGS, (char *)"\n" - "read(SoInput input, SoPath path) -> SbBool\n" - "read(SoInput input, SoBase base) -> SbBool\n" - "SoDB_read(SoInput input, SoNode rootnode) -> SbBool\n" - ""}, - { (char *)"SoDB_readAll", _wrap_SoDB_readAll, METH_VARARGS, (char *)"SoDB_readAll(SoInput input) -> SoSeparator"}, - { (char *)"SoDB_readAllVRML", _wrap_SoDB_readAllVRML, METH_VARARGS, (char *)"SoDB_readAllVRML(SoInput input) -> SoVRMLGroup"}, - { (char *)"SoDB_isValidHeader", _wrap_SoDB_isValidHeader, METH_VARARGS, (char *)"SoDB_isValidHeader(char teststring) -> SbBool"}, - { (char *)"SoDB_registerHeader", _wrap_SoDB_registerHeader, METH_VARARGS, (char *)"\n" - "registerHeader(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata=None) -> SbBool\n" - "SoDB_registerHeader(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool\n" - ""}, - { (char *)"SoDB_getHeaderData", _wrap_SoDB_getHeaderData, METH_VARARGS, (char *)"\n" - "getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata, SbBool substringok=0) -> SbBool\n" - "SoDB_getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata) -> SbBool\n" - ""}, - { (char *)"SoDB_getNumHeaders", _wrap_SoDB_getNumHeaders, METH_VARARGS, (char *)"SoDB_getNumHeaders() -> int"}, - { (char *)"SoDB_getHeaderString", _wrap_SoDB_getHeaderString, METH_VARARGS, (char *)"SoDB_getHeaderString(int i) -> SbString"}, - { (char *)"SoDB_createGlobalField", _wrap_SoDB_createGlobalField, METH_VARARGS, (char *)"SoDB_createGlobalField(SbName name, SoType type) -> SoField"}, - { (char *)"SoDB_getGlobalField", _wrap_SoDB_getGlobalField, METH_VARARGS, (char *)"SoDB_getGlobalField(SbName name) -> SoField"}, - { (char *)"SoDB_renameGlobalField", _wrap_SoDB_renameGlobalField, METH_VARARGS, (char *)"SoDB_renameGlobalField(SbName from, SbName to)"}, - { (char *)"SoDB_setRealTimeInterval", _wrap_SoDB_setRealTimeInterval, METH_VARARGS, (char *)"SoDB_setRealTimeInterval(SbTime interval)"}, - { (char *)"SoDB_getRealTimeInterval", _wrap_SoDB_getRealTimeInterval, METH_VARARGS, (char *)"SoDB_getRealTimeInterval() -> SbTime"}, - { (char *)"SoDB_enableRealTimeSensor", _wrap_SoDB_enableRealTimeSensor, METH_VARARGS, (char *)"SoDB_enableRealTimeSensor(SbBool on)"}, - { (char *)"SoDB_getSensorManager", _wrap_SoDB_getSensorManager, METH_VARARGS, (char *)"SoDB_getSensorManager() -> SoSensorManager"}, - { (char *)"SoDB_setDelaySensorTimeout", _wrap_SoDB_setDelaySensorTimeout, METH_VARARGS, (char *)"SoDB_setDelaySensorTimeout(SbTime t)"}, - { (char *)"SoDB_getDelaySensorTimeout", _wrap_SoDB_getDelaySensorTimeout, METH_VARARGS, (char *)"SoDB_getDelaySensorTimeout() -> SbTime"}, - { (char *)"SoDB_doSelect", _wrap_SoDB_doSelect, METH_VARARGS, (char *)"\n" - "SoDB_doSelect(int nfds, void readfds, void writefds, void exceptfds, \n" - " timeval usertimeout) -> int\n" - ""}, - { (char *)"SoDB_addConverter", _wrap_SoDB_addConverter, METH_VARARGS, (char *)"SoDB_addConverter(SoType from, SoType to, SoType converter)"}, - { (char *)"SoDB_getConverter", _wrap_SoDB_getConverter, METH_VARARGS, (char *)"SoDB_getConverter(SoType from, SoType to) -> SoType"}, - { (char *)"SoDB_isInitialized", _wrap_SoDB_isInitialized, METH_VARARGS, (char *)"SoDB_isInitialized() -> SbBool"}, - { (char *)"SoDB_startNotify", _wrap_SoDB_startNotify, METH_VARARGS, (char *)"SoDB_startNotify()"}, - { (char *)"SoDB_isNotifying", _wrap_SoDB_isNotifying, METH_VARARGS, (char *)"SoDB_isNotifying() -> SbBool"}, - { (char *)"SoDB_endNotify", _wrap_SoDB_endNotify, METH_VARARGS, (char *)"SoDB_endNotify()"}, - { (char *)"SoDB_addProgressCallback", _wrap_SoDB_addProgressCallback, METH_VARARGS, (char *)"SoDB_addProgressCallback(ProgressCallbackType func, void userdata)"}, - { (char *)"SoDB_removeProgressCallback", _wrap_SoDB_removeProgressCallback, METH_VARARGS, (char *)"SoDB_removeProgressCallback(ProgressCallbackType func, void userdata)"}, - { (char *)"SoDB_isMultiThread", _wrap_SoDB_isMultiThread, METH_VARARGS, (char *)"SoDB_isMultiThread() -> SbBool"}, - { (char *)"SoDB_readlock", _wrap_SoDB_readlock, METH_VARARGS, (char *)"SoDB_readlock()"}, - { (char *)"SoDB_readunlock", _wrap_SoDB_readunlock, METH_VARARGS, (char *)"SoDB_readunlock()"}, - { (char *)"SoDB_writelock", _wrap_SoDB_writelock, METH_VARARGS, (char *)"SoDB_writelock()"}, - { (char *)"SoDB_writeunlock", _wrap_SoDB_writeunlock, METH_VARARGS, (char *)"SoDB_writeunlock()"}, - { (char *)"SoDB_createRoute", _wrap_SoDB_createRoute, METH_VARARGS, (char *)"SoDB_createRoute(SoNode from, char eventout, SoNode to, char eventin)"}, - { (char *)"SoDB_removeRoute", _wrap_SoDB_removeRoute, METH_VARARGS, (char *)"SoDB_removeRoute(SoNode from, char eventout, SoNode to, char eventin)"}, - { (char *)"new_SoDB", _wrap_new_SoDB, METH_VARARGS, (char *)"new_SoDB() -> SoDB"}, - { (char *)"delete_SoDB", _wrap_delete_SoDB, METH_VARARGS, (char *)"delete_SoDB(SoDB self)"}, - { (char *)"SoDB_swigregister", SoDB_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoInput", _wrap_new_SoInput, METH_VARARGS, (char *)"\n" - "SoInput()\n" - "new_SoInput(SoInput dictIn) -> SoInput\n" - ""}, - { (char *)"SoInput_findProto", _wrap_SoInput_findProto, METH_VARARGS, (char *)"SoInput_findProto(SoInput self, SbName name) -> SoProto"}, - { (char *)"SoInput_addProto", _wrap_SoInput_addProto, METH_VARARGS, (char *)"SoInput_addProto(SoInput self, SoProto proto)"}, - { (char *)"SoInput_pushProto", _wrap_SoInput_pushProto, METH_VARARGS, (char *)"SoInput_pushProto(SoInput self, SoProto proto)"}, - { (char *)"SoInput_getCurrentProto", _wrap_SoInput_getCurrentProto, METH_VARARGS, (char *)"SoInput_getCurrentProto(SoInput self) -> SoProto"}, - { (char *)"SoInput_popProto", _wrap_SoInput_popProto, METH_VARARGS, (char *)"SoInput_popProto(SoInput self)"}, - { (char *)"SoInput_addRoute", _wrap_SoInput_addRoute, METH_VARARGS, (char *)"\n" - "SoInput_addRoute(SoInput self, SbName fromnode, SbName fromfield, SbName tonode, \n" - " SbName tofield)\n" - ""}, - { (char *)"SoInput_checkISReference", _wrap_SoInput_checkISReference, METH_VARARGS, (char *)"\n" - "SoInput_checkISReference(SoInput self, SoFieldContainer container, SbName fieldname, \n" - " SbBool readok) -> SbBool\n" - ""}, - { (char *)"delete_SoInput", _wrap_delete_SoInput, METH_VARARGS, (char *)"delete_SoInput(SoInput self)"}, - { (char *)"SoInput_setFilePointer", _wrap_SoInput_setFilePointer, METH_VARARGS, (char *)"SoInput_setFilePointer(SoInput self, FILE newFP)"}, - { (char *)"SoInput_openFile", _wrap_SoInput_openFile, METH_VARARGS, (char *)"\n" - "openFile(char fileName, SbBool okIfNotFound=0) -> SbBool\n" - "SoInput_openFile(SoInput self, char fileName) -> SbBool\n" - ""}, - { (char *)"SoInput_pushFile", _wrap_SoInput_pushFile, METH_VARARGS, (char *)"SoInput_pushFile(SoInput self, char fileName) -> SbBool"}, - { (char *)"SoInput_closeFile", _wrap_SoInput_closeFile, METH_VARARGS, (char *)"SoInput_closeFile(SoInput self)"}, - { (char *)"SoInput_isValidFile", _wrap_SoInput_isValidFile, METH_VARARGS, (char *)"SoInput_isValidFile(SoInput self) -> SbBool"}, - { (char *)"SoInput_isValidBuffer", _wrap_SoInput_isValidBuffer, METH_VARARGS, (char *)"SoInput_isValidBuffer(SoInput self) -> SbBool"}, - { (char *)"SoInput_getCurFile", _wrap_SoInput_getCurFile, METH_VARARGS, (char *)"SoInput_getCurFile(SoInput self) -> FILE"}, - { (char *)"SoInput_getCurFileName", _wrap_SoInput_getCurFileName, METH_VARARGS, (char *)"SoInput_getCurFileName(SoInput self) -> char"}, - { (char *)"SoInput_setBuffer", _wrap_SoInput_setBuffer, METH_VARARGS, (char *)"SoInput_setBuffer(SoInput self, void bufpointer)"}, - { (char *)"SoInput_setStringArray", _wrap_SoInput_setStringArray, METH_VARARGS, (char *)"SoInput_setStringArray(SoInput self, char strings)"}, - { (char *)"SoInput_getNumBytesRead", _wrap_SoInput_getNumBytesRead, METH_VARARGS, (char *)"SoInput_getNumBytesRead(SoInput self) -> size_t"}, - { (char *)"SoInput_getHeader", _wrap_SoInput_getHeader, METH_VARARGS, (char *)"SoInput_getHeader(SoInput self) -> SbString"}, - { (char *)"SoInput_getIVVersion", _wrap_SoInput_getIVVersion, METH_VARARGS, (char *)"SoInput_getIVVersion(SoInput self) -> float"}, - { (char *)"SoInput_isBinary", _wrap_SoInput_isBinary, METH_VARARGS, (char *)"SoInput_isBinary(SoInput self) -> SbBool"}, - { (char *)"SoInput_get", _wrap_SoInput_get, METH_VARARGS, (char *)"SoInput_get(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_getASCIIBuffer", _wrap_SoInput_getASCIIBuffer, METH_VARARGS, (char *)"SoInput_getASCIIBuffer(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_getASCIIFile", _wrap_SoInput_getASCIIFile, METH_VARARGS, (char *)"SoInput_getASCIIFile(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_readHex", _wrap_SoInput_readHex, METH_VARARGS, (char *)"SoInput_readHex(SoInput self, uint32_t l) -> SbBool"}, - { (char *)"SoInput_read", _wrap_SoInput_read, METH_VARARGS, (char *)"\n" - "read(char c) -> SbBool\n" - "read(char c, SbBool skip) -> SbBool\n" - "read(SbString s) -> SbBool\n" - "read(SbName n, SbBool validIdent=0) -> SbBool\n" - "read(SbName n) -> SbBool\n" - "read(int i) -> SbBool\n" - "read(unsigned int i) -> SbBool\n" - "read(short s) -> SbBool\n" - "read(unsigned short s) -> SbBool\n" - "read(float f) -> SbBool\n" - "SoInput_read(SoInput self, double d) -> SbBool\n" - ""}, - { (char *)"SoInput_readByte", _wrap_SoInput_readByte, METH_VARARGS, (char *)"\n" - "readByte(int8_t b) -> SbBool\n" - "SoInput_readByte(SoInput self, uint8_t b) -> SbBool\n" - ""}, - { (char *)"SoInput_readBinaryArray", _wrap_SoInput_readBinaryArray, METH_VARARGS, (char *)"\n" - "readBinaryArray(unsigned char c, int length) -> SbBool\n" - "readBinaryArray(int32_t l, int length) -> SbBool\n" - "readBinaryArray(float f, int length) -> SbBool\n" - "SoInput_readBinaryArray(SoInput self, double d, int length) -> SbBool\n" - ""}, - { (char *)"SoInput_eof", _wrap_SoInput_eof, METH_VARARGS, (char *)"SoInput_eof(SoInput self) -> SbBool"}, - { (char *)"SoInput_isFileVRML1", _wrap_SoInput_isFileVRML1, METH_VARARGS, (char *)"SoInput_isFileVRML1(SoInput self) -> SbBool"}, - { (char *)"SoInput_isFileVRML2", _wrap_SoInput_isFileVRML2, METH_VARARGS, (char *)"SoInput_isFileVRML2(SoInput self) -> SbBool"}, - { (char *)"SoInput_resetFilePointer", _wrap_SoInput_resetFilePointer, METH_VARARGS, (char *)"SoInput_resetFilePointer(SoInput self, FILE fptr)"}, - { (char *)"SoInput_getLocationString", _wrap_SoInput_getLocationString, METH_VARARGS, (char *)"SoInput_getLocationString(SoInput self, SbString string)"}, - { (char *)"SoInput_putBack", _wrap_SoInput_putBack, METH_VARARGS, (char *)"\n" - "putBack(char c)\n" - "SoInput_putBack(SoInput self, char str)\n" - ""}, - { (char *)"SoInput_addReference", _wrap_SoInput_addReference, METH_VARARGS, (char *)"\n" - "addReference(SbName name, SoBase base, SbBool addToGlobalDict=1)\n" - "SoInput_addReference(SoInput self, SbName name, SoBase base)\n" - ""}, - { (char *)"SoInput_removeReference", _wrap_SoInput_removeReference, METH_VARARGS, (char *)"SoInput_removeReference(SoInput self, SbName name)"}, - { (char *)"SoInput_findReference", _wrap_SoInput_findReference, METH_VARARGS, (char *)"SoInput_findReference(SoInput self, SbName name) -> SoBase"}, - { (char *)"SoInput_addDirectoryFirst", _wrap_SoInput_addDirectoryFirst, METH_VARARGS, (char *)"SoInput_addDirectoryFirst(char dirName)"}, - { (char *)"SoInput_addDirectoryLast", _wrap_SoInput_addDirectoryLast, METH_VARARGS, (char *)"SoInput_addDirectoryLast(char dirName)"}, - { (char *)"SoInput_addEnvDirectoriesFirst", _wrap_SoInput_addEnvDirectoriesFirst, METH_VARARGS, (char *)"\n" - "addEnvDirectoriesFirst(char envVarName, char separator=\":\\t \")\n" - "SoInput_addEnvDirectoriesFirst(char envVarName)\n" - ""}, - { (char *)"SoInput_addEnvDirectoriesLast", _wrap_SoInput_addEnvDirectoriesLast, METH_VARARGS, (char *)"\n" - "addEnvDirectoriesLast(char envVarName, char separator=\":\\t \")\n" - "SoInput_addEnvDirectoriesLast(char envVarName)\n" - ""}, - { (char *)"SoInput_removeDirectory", _wrap_SoInput_removeDirectory, METH_VARARGS, (char *)"SoInput_removeDirectory(char dirName)"}, - { (char *)"SoInput_clearDirectories", _wrap_SoInput_clearDirectories, METH_VARARGS, (char *)"SoInput_clearDirectories()"}, - { (char *)"SoInput_getDirectories", _wrap_SoInput_getDirectories, METH_VARARGS, (char *)"SoInput_getDirectories() -> SbStringList"}, - { (char *)"SoInput_init", _wrap_SoInput_init, METH_VARARGS, (char *)"SoInput_init()"}, - { (char *)"SoInput_getPathname", _wrap_SoInput_getPathname, METH_VARARGS, (char *)"\n" - "getPathname(char filename) -> SbString\n" - "SoInput_getPathname(SbString s) -> SbString\n" - ""}, - { (char *)"SoInput_getBasename", _wrap_SoInput_getBasename, METH_VARARGS, (char *)"\n" - "getBasename(char filename) -> SbString\n" - "SoInput_getBasename(SbString s) -> SbString\n" - ""}, - { (char *)"SoInput_searchForFile", _wrap_SoInput_searchForFile, METH_VARARGS, (char *)"SoInput_searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString"}, - { (char *)"SoInput_swigregister", SoInput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOutput", _wrap_new_SoOutput, METH_VARARGS, (char *)"\n" - "SoOutput()\n" - "new_SoOutput(SoOutput dictOut) -> SoOutput\n" - ""}, - { (char *)"delete_SoOutput", _wrap_delete_SoOutput, METH_VARARGS, (char *)"delete_SoOutput(SoOutput self)"}, - { (char *)"SoOutput_setFilePointer", _wrap_SoOutput_setFilePointer, METH_VARARGS, (char *)"SoOutput_setFilePointer(SoOutput self, FILE newFP)"}, - { (char *)"SoOutput_getFilePointer", _wrap_SoOutput_getFilePointer, METH_VARARGS, (char *)"SoOutput_getFilePointer(SoOutput self) -> FILE"}, - { (char *)"SoOutput_openFile", _wrap_SoOutput_openFile, METH_VARARGS, (char *)"SoOutput_openFile(SoOutput self, char fileName) -> SbBool"}, - { (char *)"SoOutput_closeFile", _wrap_SoOutput_closeFile, METH_VARARGS, (char *)"SoOutput_closeFile(SoOutput self)"}, - { (char *)"SoOutput_setCompression", _wrap_SoOutput_setCompression, METH_VARARGS, (char *)"\n" - "setCompression(SbName compmethod, float level=0.5) -> SbBool\n" - "SoOutput_setCompression(SoOutput self, SbName compmethod) -> SbBool\n" - ""}, - { (char *)"SoOutput_getAvailableCompressionMethods", _wrap_SoOutput_getAvailableCompressionMethods, METH_VARARGS, (char *)"SoOutput_getAvailableCompressionMethods(unsigned int num) -> SbName"}, - { (char *)"SoOutput_setBuffer", _wrap_SoOutput_setBuffer, METH_VARARGS, (char *)"\n" - "setBuffer(void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc, \n" - " int32_t offset=0)\n" - "SoOutput_setBuffer(SoOutput self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc)\n" - ""}, - { (char *)"SoOutput_getBuffer", _wrap_SoOutput_getBuffer, METH_VARARGS, (char *)"SoOutput_getBuffer(SoOutput self, void bufPointer, size_t nBytes) -> SbBool"}, - { (char *)"SoOutput_getBufferSize", _wrap_SoOutput_getBufferSize, METH_VARARGS, (char *)"SoOutput_getBufferSize(SoOutput self) -> size_t"}, - { (char *)"SoOutput_resetBuffer", _wrap_SoOutput_resetBuffer, METH_VARARGS, (char *)"SoOutput_resetBuffer(SoOutput self)"}, - { (char *)"SoOutput_setBinary", _wrap_SoOutput_setBinary, METH_VARARGS, (char *)"SoOutput_setBinary(SoOutput self, SbBool flag)"}, - { (char *)"SoOutput_isBinary", _wrap_SoOutput_isBinary, METH_VARARGS, (char *)"SoOutput_isBinary(SoOutput self) -> SbBool"}, - { (char *)"SoOutput_setHeaderString", _wrap_SoOutput_setHeaderString, METH_VARARGS, (char *)"SoOutput_setHeaderString(SoOutput self, SbString str)"}, - { (char *)"SoOutput_resetHeaderString", _wrap_SoOutput_resetHeaderString, METH_VARARGS, (char *)"SoOutput_resetHeaderString(SoOutput self)"}, - { (char *)"SoOutput_setFloatPrecision", _wrap_SoOutput_setFloatPrecision, METH_VARARGS, (char *)"SoOutput_setFloatPrecision(SoOutput self, int precision)"}, - { (char *)"SoOutput_setStage", _wrap_SoOutput_setStage, METH_VARARGS, (char *)"SoOutput_setStage(SoOutput self, Stage stage)"}, - { (char *)"SoOutput_getStage", _wrap_SoOutput_getStage, METH_VARARGS, (char *)"SoOutput_getStage(SoOutput self) -> Stage"}, - { (char *)"SoOutput_incrementIndent", _wrap_SoOutput_incrementIndent, METH_VARARGS, (char *)"\n" - "incrementIndent(int levels=1)\n" - "SoOutput_incrementIndent(SoOutput self)\n" - ""}, - { (char *)"SoOutput_decrementIndent", _wrap_SoOutput_decrementIndent, METH_VARARGS, (char *)"\n" - "decrementIndent(int levels=1)\n" - "SoOutput_decrementIndent(SoOutput self)\n" - ""}, - { (char *)"SoOutput_write", _wrap_SoOutput_write, METH_VARARGS, (char *)"\n" - "write(char c)\n" - "write(char s)\n" - "write(SbString s)\n" - "write(SbName n)\n" - "write(int i)\n" - "write(unsigned int i)\n" - "write(short s)\n" - "write(unsigned short s)\n" - "write(float f)\n" - "SoOutput_write(SoOutput self, double d)\n" - ""}, - { (char *)"SoOutput_writeBinaryArray", _wrap_SoOutput_writeBinaryArray, METH_VARARGS, (char *)"\n" - "writeBinaryArray(unsigned char c, int length)\n" - "writeBinaryArray(int32_t l, int length)\n" - "writeBinaryArray(float f, int length)\n" - "SoOutput_writeBinaryArray(SoOutput self, double d, int length)\n" - ""}, - { (char *)"SoOutput_indent", _wrap_SoOutput_indent, METH_VARARGS, (char *)"SoOutput_indent(SoOutput self)"}, - { (char *)"SoOutput_reset", _wrap_SoOutput_reset, METH_VARARGS, (char *)"SoOutput_reset(SoOutput self)"}, - { (char *)"SoOutput_setCompact", _wrap_SoOutput_setCompact, METH_VARARGS, (char *)"SoOutput_setCompact(SoOutput self, SbBool flag)"}, - { (char *)"SoOutput_isCompact", _wrap_SoOutput_isCompact, METH_VARARGS, (char *)"SoOutput_isCompact(SoOutput self) -> SbBool"}, - { (char *)"SoOutput_setAnnotation", _wrap_SoOutput_setAnnotation, METH_VARARGS, (char *)"SoOutput_setAnnotation(SoOutput self, uint32_t bits)"}, - { (char *)"SoOutput_getAnnotation", _wrap_SoOutput_getAnnotation, METH_VARARGS, (char *)"SoOutput_getAnnotation(SoOutput self) -> uint32_t"}, - { (char *)"SoOutput_getDefaultASCIIHeader", _wrap_SoOutput_getDefaultASCIIHeader, METH_VARARGS, (char *)"SoOutput_getDefaultASCIIHeader() -> SbString"}, - { (char *)"SoOutput_getDefaultBinaryHeader", _wrap_SoOutput_getDefaultBinaryHeader, METH_VARARGS, (char *)"SoOutput_getDefaultBinaryHeader() -> SbString"}, - { (char *)"SoOutput_addReference", _wrap_SoOutput_addReference, METH_VARARGS, (char *)"SoOutput_addReference(SoOutput self, SoBase base) -> int"}, - { (char *)"SoOutput_findReference", _wrap_SoOutput_findReference, METH_VARARGS, (char *)"SoOutput_findReference(SoOutput self, SoBase base) -> int"}, - { (char *)"SoOutput_setReference", _wrap_SoOutput_setReference, METH_VARARGS, (char *)"SoOutput_setReference(SoOutput self, SoBase base, int refid)"}, - { (char *)"SoOutput_addDEFNode", _wrap_SoOutput_addDEFNode, METH_VARARGS, (char *)"SoOutput_addDEFNode(SoOutput self, SbName name)"}, - { (char *)"SoOutput_lookupDEFNode", _wrap_SoOutput_lookupDEFNode, METH_VARARGS, (char *)"SoOutput_lookupDEFNode(SoOutput self, SbName name) -> SbBool"}, - { (char *)"SoOutput_removeDEFNode", _wrap_SoOutput_removeDEFNode, METH_VARARGS, (char *)"SoOutput_removeDEFNode(SoOutput self, SbName name)"}, - { (char *)"SoOutput_pushProto", _wrap_SoOutput_pushProto, METH_VARARGS, (char *)"SoOutput_pushProto(SoOutput self, SoProto proto)"}, - { (char *)"SoOutput_getCurrentProto", _wrap_SoOutput_getCurrentProto, METH_VARARGS, (char *)"SoOutput_getCurrentProto(SoOutput self) -> SoProto"}, - { (char *)"SoOutput_popProto", _wrap_SoOutput_popProto, METH_VARARGS, (char *)"SoOutput_popProto(SoOutput self)"}, - { (char *)"SoOutput_addRoute", _wrap_SoOutput_addRoute, METH_VARARGS, (char *)"\n" - "SoOutput_addRoute(SoOutput self, SoFieldContainer from, SbName fromfield, \n" - " SoFieldContainer to, SbName tofield)\n" - ""}, - { (char *)"SoOutput_resolveRoutes", _wrap_SoOutput_resolveRoutes, METH_VARARGS, (char *)"SoOutput_resolveRoutes(SoOutput self)"}, - { (char *)"SoOutput_swigregister", SoOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFEnum", _wrap_new_SoSFEnum, METH_VARARGS, (char *)"new_SoSFEnum() -> SoSFEnum"}, - { (char *)"delete_SoSFEnum", _wrap_delete_SoSFEnum, METH_VARARGS, (char *)"delete_SoSFEnum(SoSFEnum self)"}, - { (char *)"SoSFEnum_createInstance", _wrap_SoSFEnum_createInstance, METH_VARARGS, (char *)"SoSFEnum_createInstance() -> void"}, - { (char *)"SoSFEnum_getClassTypeId", _wrap_SoSFEnum_getClassTypeId, METH_VARARGS, (char *)"SoSFEnum_getClassTypeId() -> SoType"}, - { (char *)"SoSFEnum_getTypeId", _wrap_SoSFEnum_getTypeId, METH_VARARGS, (char *)"SoSFEnum_getTypeId(SoSFEnum self) -> SoType"}, - { (char *)"SoSFEnum_copyFrom", _wrap_SoSFEnum_copyFrom, METH_VARARGS, (char *)"SoSFEnum_copyFrom(SoSFEnum self, SoField field)"}, - { (char *)"SoSFEnum_isSame", _wrap_SoSFEnum_isSame, METH_VARARGS, (char *)"SoSFEnum_isSame(SoSFEnum self, SoField field) -> SbBool"}, - { (char *)"SoSFEnum_getValue", _wrap_SoSFEnum_getValue, METH_VARARGS, (char *)"SoSFEnum_getValue(SoSFEnum self) -> int"}, - { (char *)"SoSFEnum___eq__", _wrap_SoSFEnum___eq__, METH_VARARGS, (char *)"SoSFEnum___eq__(SoSFEnum self, SoSFEnum field) -> int"}, - { (char *)"SoSFEnum___ne__", _wrap_SoSFEnum___ne__, METH_VARARGS, (char *)"SoSFEnum___ne__(SoSFEnum self, SoSFEnum field) -> int"}, - { (char *)"SoSFEnum_initClass", _wrap_SoSFEnum_initClass, METH_VARARGS, (char *)"SoSFEnum_initClass()"}, - { (char *)"SoSFEnum_setEnums", _wrap_SoSFEnum_setEnums, METH_VARARGS, (char *)"SoSFEnum_setEnums(SoSFEnum self, int num, int vals, SbName names)"}, - { (char *)"SoSFEnum_getNumEnums", _wrap_SoSFEnum_getNumEnums, METH_VARARGS, (char *)"SoSFEnum_getNumEnums(SoSFEnum self) -> int"}, - { (char *)"SoSFEnum_getEnum", _wrap_SoSFEnum_getEnum, METH_VARARGS, (char *)"SoSFEnum_getEnum(SoSFEnum self, int idx, SbName name) -> int"}, - { (char *)"SoSFEnum_setValue", _wrap_SoSFEnum_setValue, METH_VARARGS, (char *)"\n" - "setValue(int newvalue)\n" - "setValue(SbName name)\n" - "SoSFEnum_setValue(SoSFEnum self, SoSFEnum other)\n" - ""}, - { (char *)"SoSFEnum_swigregister", SoSFEnum_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFFloat", _wrap_new_SoSFFloat, METH_VARARGS, (char *)"new_SoSFFloat() -> SoSFFloat"}, - { (char *)"delete_SoSFFloat", _wrap_delete_SoSFFloat, METH_VARARGS, (char *)"delete_SoSFFloat(SoSFFloat self)"}, - { (char *)"SoSFFloat_createInstance", _wrap_SoSFFloat_createInstance, METH_VARARGS, (char *)"SoSFFloat_createInstance() -> void"}, - { (char *)"SoSFFloat_getClassTypeId", _wrap_SoSFFloat_getClassTypeId, METH_VARARGS, (char *)"SoSFFloat_getClassTypeId() -> SoType"}, - { (char *)"SoSFFloat_getTypeId", _wrap_SoSFFloat_getTypeId, METH_VARARGS, (char *)"SoSFFloat_getTypeId(SoSFFloat self) -> SoType"}, - { (char *)"SoSFFloat_copyFrom", _wrap_SoSFFloat_copyFrom, METH_VARARGS, (char *)"SoSFFloat_copyFrom(SoSFFloat self, SoField field)"}, - { (char *)"SoSFFloat_isSame", _wrap_SoSFFloat_isSame, METH_VARARGS, (char *)"SoSFFloat_isSame(SoSFFloat self, SoField field) -> SbBool"}, - { (char *)"SoSFFloat_getValue", _wrap_SoSFFloat_getValue, METH_VARARGS, (char *)"SoSFFloat_getValue(SoSFFloat self) -> float"}, - { (char *)"SoSFFloat___eq__", _wrap_SoSFFloat___eq__, METH_VARARGS, (char *)"SoSFFloat___eq__(SoSFFloat self, SoSFFloat field) -> int"}, - { (char *)"SoSFFloat___ne__", _wrap_SoSFFloat___ne__, METH_VARARGS, (char *)"SoSFFloat___ne__(SoSFFloat self, SoSFFloat field) -> int"}, - { (char *)"SoSFFloat_initClass", _wrap_SoSFFloat_initClass, METH_VARARGS, (char *)"SoSFFloat_initClass()"}, - { (char *)"SoSFFloat_setValue", _wrap_SoSFFloat_setValue, METH_VARARGS, (char *)"\n" - "setValue(float newvalue)\n" - "SoSFFloat_setValue(SoSFFloat self, SoSFFloat other)\n" - ""}, - { (char *)"SoSFFloat_swigregister", SoSFFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexityTypeElement_getClassTypeId", _wrap_SoComplexityTypeElement_getClassTypeId, METH_VARARGS, (char *)"SoComplexityTypeElement_getClassTypeId() -> SoType"}, - { (char *)"SoComplexityTypeElement_getClassStackIndex", _wrap_SoComplexityTypeElement_getClassStackIndex, METH_VARARGS, (char *)"SoComplexityTypeElement_getClassStackIndex() -> int"}, - { (char *)"SoComplexityTypeElement_createInstance", _wrap_SoComplexityTypeElement_createInstance, METH_VARARGS, (char *)"SoComplexityTypeElement_createInstance() -> void"}, - { (char *)"SoComplexityTypeElement_initClass", _wrap_SoComplexityTypeElement_initClass, METH_VARARGS, (char *)"SoComplexityTypeElement_initClass()"}, - { (char *)"SoComplexityTypeElement_init", _wrap_SoComplexityTypeElement_init, METH_VARARGS, (char *)"SoComplexityTypeElement_init(SoComplexityTypeElement self, SoState state)"}, - { (char *)"SoComplexityTypeElement_set", _wrap_SoComplexityTypeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Type type)\n" - "SoComplexityTypeElement_set(SoState state, Type type)\n" - ""}, - { (char *)"SoComplexityTypeElement_get", _wrap_SoComplexityTypeElement_get, METH_VARARGS, (char *)"SoComplexityTypeElement_get(SoState state) -> Type"}, - { (char *)"SoComplexityTypeElement_getDefault", _wrap_SoComplexityTypeElement_getDefault, METH_VARARGS, (char *)"SoComplexityTypeElement_getDefault() -> Type"}, - { (char *)"SoComplexityTypeElement_swigregister", SoComplexityTypeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexity_getClassTypeId", _wrap_SoComplexity_getClassTypeId, METH_VARARGS, (char *)"SoComplexity_getClassTypeId() -> SoType"}, - { (char *)"SoComplexity_getTypeId", _wrap_SoComplexity_getTypeId, METH_VARARGS, (char *)"SoComplexity_getTypeId(SoComplexity self) -> SoType"}, - { (char *)"SoComplexity_initClass", _wrap_SoComplexity_initClass, METH_VARARGS, (char *)"SoComplexity_initClass()"}, - { (char *)"new_SoComplexity", _wrap_new_SoComplexity, METH_VARARGS, (char *)"new_SoComplexity() -> SoComplexity"}, - { (char *)"SoComplexity_type_set", _wrap_SoComplexity_type_set, METH_VARARGS, (char *)"SoComplexity_type_set(SoComplexity self, SoSFEnum type)"}, - { (char *)"SoComplexity_type_get", _wrap_SoComplexity_type_get, METH_VARARGS, (char *)"SoComplexity_type_get(SoComplexity self) -> SoSFEnum"}, - { (char *)"SoComplexity_value_set", _wrap_SoComplexity_value_set, METH_VARARGS, (char *)"SoComplexity_value_set(SoComplexity self, SoSFFloat value)"}, - { (char *)"SoComplexity_value_get", _wrap_SoComplexity_value_get, METH_VARARGS, (char *)"SoComplexity_value_get(SoComplexity self) -> SoSFFloat"}, - { (char *)"SoComplexity_textureQuality_set", _wrap_SoComplexity_textureQuality_set, METH_VARARGS, (char *)"SoComplexity_textureQuality_set(SoComplexity self, SoSFFloat textureQuality)"}, - { (char *)"SoComplexity_textureQuality_get", _wrap_SoComplexity_textureQuality_get, METH_VARARGS, (char *)"SoComplexity_textureQuality_get(SoComplexity self) -> SoSFFloat"}, - { (char *)"SoComplexity_doAction", _wrap_SoComplexity_doAction, METH_VARARGS, (char *)"SoComplexity_doAction(SoComplexity self, SoAction action)"}, - { (char *)"SoComplexity_callback", _wrap_SoComplexity_callback, METH_VARARGS, (char *)"SoComplexity_callback(SoComplexity self, SoCallbackAction action)"}, - { (char *)"SoComplexity_getBoundingBox", _wrap_SoComplexity_getBoundingBox, METH_VARARGS, (char *)"SoComplexity_getBoundingBox(SoComplexity self, SoGetBoundingBoxAction action)"}, - { (char *)"SoComplexity_GLRender", _wrap_SoComplexity_GLRender, METH_VARARGS, (char *)"SoComplexity_GLRender(SoComplexity self, SoGLRenderAction action)"}, - { (char *)"SoComplexity_pick", _wrap_SoComplexity_pick, METH_VARARGS, (char *)"SoComplexity_pick(SoComplexity self, SoPickAction action)"}, - { (char *)"SoComplexity_getPrimitiveCount", _wrap_SoComplexity_getPrimitiveCount, METH_VARARGS, (char *)"SoComplexity_getPrimitiveCount(SoComplexity self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoComplexity_swigregister", SoComplexity_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDrawStyleElement_getClassTypeId", _wrap_SoDrawStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoDrawStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoDrawStyleElement_getClassStackIndex", _wrap_SoDrawStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoDrawStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoDrawStyleElement_createInstance", _wrap_SoDrawStyleElement_createInstance, METH_VARARGS, (char *)"SoDrawStyleElement_createInstance() -> void"}, - { (char *)"SoDrawStyleElement_initClass", _wrap_SoDrawStyleElement_initClass, METH_VARARGS, (char *)"SoDrawStyleElement_initClass()"}, - { (char *)"SoDrawStyleElement_init", _wrap_SoDrawStyleElement_init, METH_VARARGS, (char *)"SoDrawStyleElement_init(SoDrawStyleElement self, SoState state)"}, - { (char *)"SoDrawStyleElement_set", _wrap_SoDrawStyleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Style style)\n" - "SoDrawStyleElement_set(SoState state, Style style)\n" - ""}, - { (char *)"SoDrawStyleElement_get", _wrap_SoDrawStyleElement_get, METH_VARARGS, (char *)"SoDrawStyleElement_get(SoState state) -> Style"}, - { (char *)"SoDrawStyleElement_getDefault", _wrap_SoDrawStyleElement_getDefault, METH_VARARGS, (char *)"SoDrawStyleElement_getDefault() -> Style"}, - { (char *)"SoDrawStyleElement_swigregister", SoDrawStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFUShort", _wrap_new_SoSFUShort, METH_VARARGS, (char *)"new_SoSFUShort() -> SoSFUShort"}, - { (char *)"delete_SoSFUShort", _wrap_delete_SoSFUShort, METH_VARARGS, (char *)"delete_SoSFUShort(SoSFUShort self)"}, - { (char *)"SoSFUShort_createInstance", _wrap_SoSFUShort_createInstance, METH_VARARGS, (char *)"SoSFUShort_createInstance() -> void"}, - { (char *)"SoSFUShort_getClassTypeId", _wrap_SoSFUShort_getClassTypeId, METH_VARARGS, (char *)"SoSFUShort_getClassTypeId() -> SoType"}, - { (char *)"SoSFUShort_getTypeId", _wrap_SoSFUShort_getTypeId, METH_VARARGS, (char *)"SoSFUShort_getTypeId(SoSFUShort self) -> SoType"}, - { (char *)"SoSFUShort_copyFrom", _wrap_SoSFUShort_copyFrom, METH_VARARGS, (char *)"SoSFUShort_copyFrom(SoSFUShort self, SoField field)"}, - { (char *)"SoSFUShort_isSame", _wrap_SoSFUShort_isSame, METH_VARARGS, (char *)"SoSFUShort_isSame(SoSFUShort self, SoField field) -> SbBool"}, - { (char *)"SoSFUShort_getValue", _wrap_SoSFUShort_getValue, METH_VARARGS, (char *)"SoSFUShort_getValue(SoSFUShort self) -> unsigned short"}, - { (char *)"SoSFUShort___eq__", _wrap_SoSFUShort___eq__, METH_VARARGS, (char *)"SoSFUShort___eq__(SoSFUShort self, SoSFUShort field) -> int"}, - { (char *)"SoSFUShort___ne__", _wrap_SoSFUShort___ne__, METH_VARARGS, (char *)"SoSFUShort___ne__(SoSFUShort self, SoSFUShort field) -> int"}, - { (char *)"SoSFUShort_initClass", _wrap_SoSFUShort_initClass, METH_VARARGS, (char *)"SoSFUShort_initClass()"}, - { (char *)"SoSFUShort_setValue", _wrap_SoSFUShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(unsigned short newvalue)\n" - "SoSFUShort_setValue(SoSFUShort self, SoSFUShort other)\n" - ""}, - { (char *)"SoSFUShort_swigregister", SoSFUShort_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFInt32", _wrap_new_SoSFInt32, METH_VARARGS, (char *)"new_SoSFInt32() -> SoSFInt32"}, - { (char *)"delete_SoSFInt32", _wrap_delete_SoSFInt32, METH_VARARGS, (char *)"delete_SoSFInt32(SoSFInt32 self)"}, - { (char *)"SoSFInt32_createInstance", _wrap_SoSFInt32_createInstance, METH_VARARGS, (char *)"SoSFInt32_createInstance() -> void"}, - { (char *)"SoSFInt32_getClassTypeId", _wrap_SoSFInt32_getClassTypeId, METH_VARARGS, (char *)"SoSFInt32_getClassTypeId() -> SoType"}, - { (char *)"SoSFInt32_getTypeId", _wrap_SoSFInt32_getTypeId, METH_VARARGS, (char *)"SoSFInt32_getTypeId(SoSFInt32 self) -> SoType"}, - { (char *)"SoSFInt32_copyFrom", _wrap_SoSFInt32_copyFrom, METH_VARARGS, (char *)"SoSFInt32_copyFrom(SoSFInt32 self, SoField field)"}, - { (char *)"SoSFInt32_isSame", _wrap_SoSFInt32_isSame, METH_VARARGS, (char *)"SoSFInt32_isSame(SoSFInt32 self, SoField field) -> SbBool"}, - { (char *)"SoSFInt32_getValue", _wrap_SoSFInt32_getValue, METH_VARARGS, (char *)"SoSFInt32_getValue(SoSFInt32 self) -> int32_t"}, - { (char *)"SoSFInt32___eq__", _wrap_SoSFInt32___eq__, METH_VARARGS, (char *)"SoSFInt32___eq__(SoSFInt32 self, SoSFInt32 field) -> int"}, - { (char *)"SoSFInt32___ne__", _wrap_SoSFInt32___ne__, METH_VARARGS, (char *)"SoSFInt32___ne__(SoSFInt32 self, SoSFInt32 field) -> int"}, - { (char *)"SoSFInt32_initClass", _wrap_SoSFInt32_initClass, METH_VARARGS, (char *)"SoSFInt32_initClass()"}, - { (char *)"SoSFInt32_setValue", _wrap_SoSFInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t newvalue)\n" - "SoSFInt32_setValue(SoSFInt32 self, SoSFInt32 other)\n" - ""}, - { (char *)"SoSFInt32_swigregister", SoSFInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDrawStyle_getClassTypeId", _wrap_SoDrawStyle_getClassTypeId, METH_VARARGS, (char *)"SoDrawStyle_getClassTypeId() -> SoType"}, - { (char *)"SoDrawStyle_getTypeId", _wrap_SoDrawStyle_getTypeId, METH_VARARGS, (char *)"SoDrawStyle_getTypeId(SoDrawStyle self) -> SoType"}, - { (char *)"SoDrawStyle_initClass", _wrap_SoDrawStyle_initClass, METH_VARARGS, (char *)"SoDrawStyle_initClass()"}, - { (char *)"new_SoDrawStyle", _wrap_new_SoDrawStyle, METH_VARARGS, (char *)"new_SoDrawStyle() -> SoDrawStyle"}, - { (char *)"SoDrawStyle_style_set", _wrap_SoDrawStyle_style_set, METH_VARARGS, (char *)"SoDrawStyle_style_set(SoDrawStyle self, SoSFEnum style)"}, - { (char *)"SoDrawStyle_style_get", _wrap_SoDrawStyle_style_get, METH_VARARGS, (char *)"SoDrawStyle_style_get(SoDrawStyle self) -> SoSFEnum"}, - { (char *)"SoDrawStyle_pointSize_set", _wrap_SoDrawStyle_pointSize_set, METH_VARARGS, (char *)"SoDrawStyle_pointSize_set(SoDrawStyle self, SoSFFloat pointSize)"}, - { (char *)"SoDrawStyle_pointSize_get", _wrap_SoDrawStyle_pointSize_get, METH_VARARGS, (char *)"SoDrawStyle_pointSize_get(SoDrawStyle self) -> SoSFFloat"}, - { (char *)"SoDrawStyle_lineWidth_set", _wrap_SoDrawStyle_lineWidth_set, METH_VARARGS, (char *)"SoDrawStyle_lineWidth_set(SoDrawStyle self, SoSFFloat lineWidth)"}, - { (char *)"SoDrawStyle_lineWidth_get", _wrap_SoDrawStyle_lineWidth_get, METH_VARARGS, (char *)"SoDrawStyle_lineWidth_get(SoDrawStyle self) -> SoSFFloat"}, - { (char *)"SoDrawStyle_linePattern_set", _wrap_SoDrawStyle_linePattern_set, METH_VARARGS, (char *)"SoDrawStyle_linePattern_set(SoDrawStyle self, SoSFUShort linePattern)"}, - { (char *)"SoDrawStyle_linePattern_get", _wrap_SoDrawStyle_linePattern_get, METH_VARARGS, (char *)"SoDrawStyle_linePattern_get(SoDrawStyle self) -> SoSFUShort"}, - { (char *)"SoDrawStyle_linePatternScaleFactor_set", _wrap_SoDrawStyle_linePatternScaleFactor_set, METH_VARARGS, (char *)"SoDrawStyle_linePatternScaleFactor_set(SoDrawStyle self, SoSFInt32 linePatternScaleFactor)"}, - { (char *)"SoDrawStyle_linePatternScaleFactor_get", _wrap_SoDrawStyle_linePatternScaleFactor_get, METH_VARARGS, (char *)"SoDrawStyle_linePatternScaleFactor_get(SoDrawStyle self) -> SoSFInt32"}, - { (char *)"SoDrawStyle_doAction", _wrap_SoDrawStyle_doAction, METH_VARARGS, (char *)"SoDrawStyle_doAction(SoDrawStyle self, SoAction action)"}, - { (char *)"SoDrawStyle_GLRender", _wrap_SoDrawStyle_GLRender, METH_VARARGS, (char *)"SoDrawStyle_GLRender(SoDrawStyle self, SoGLRenderAction action)"}, - { (char *)"SoDrawStyle_callback", _wrap_SoDrawStyle_callback, METH_VARARGS, (char *)"SoDrawStyle_callback(SoDrawStyle self, SoCallbackAction action)"}, - { (char *)"SoDrawStyle_swigregister", SoDrawStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3f", _wrap_new_SbVec3f, METH_VARARGS, (char *)"\n" - "SbVec3f()\n" - "SbVec3f(float v)\n" - "SbVec3f(float x, float y, float z)\n" - "SbVec3f(SbVec3d v)\n" - "SbVec3f(SbVec3b v)\n" - "SbVec3f(SbVec3s v)\n" - "SbVec3f(SbVec3i32 v)\n" - "new_SbVec3f(SbPlane p0, SbPlane p1, SbPlane p2) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f_setValue", _wrap_SbVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec3f\n" - "setValue(float x, float y, float z) -> SbVec3f\n" - "setValue(SbVec3f barycentric, SbVec3f v0, SbVec3f v1, SbVec3f v2) -> SbVec3f\n" - "setValue(SbVec3d v) -> SbVec3f\n" - "setValue(SbVec3b v) -> SbVec3f\n" - "setValue(SbVec3s v) -> SbVec3f\n" - "SbVec3f_setValue(SbVec3f self, SbVec3i32 v) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f_getValue", _wrap_SbVec3f_getValue, METH_VARARGS, (char *)"SbVec3f_getValue(SbVec3f self) -> float"}, - { (char *)"SbVec3f_equals", _wrap_SbVec3f_equals, METH_VARARGS, (char *)"SbVec3f_equals(SbVec3f self, SbVec3f v, float tolerance) -> SbBool"}, - { (char *)"SbVec3f_cross", _wrap_SbVec3f_cross, METH_VARARGS, (char *)"SbVec3f_cross(SbVec3f self, SbVec3f v) -> SbVec3f"}, - { (char *)"SbVec3f_dot", _wrap_SbVec3f_dot, METH_VARARGS, (char *)"SbVec3f_dot(SbVec3f self, SbVec3f v) -> float"}, - { (char *)"SbVec3f_getClosestAxis", _wrap_SbVec3f_getClosestAxis, METH_VARARGS, (char *)"SbVec3f_getClosestAxis(SbVec3f self) -> SbVec3f"}, - { (char *)"SbVec3f_length", _wrap_SbVec3f_length, METH_VARARGS, (char *)"SbVec3f_length(SbVec3f self) -> float"}, - { (char *)"SbVec3f_sqrLength", _wrap_SbVec3f_sqrLength, METH_VARARGS, (char *)"SbVec3f_sqrLength(SbVec3f self) -> float"}, - { (char *)"SbVec3f_normalize", _wrap_SbVec3f_normalize, METH_VARARGS, (char *)"SbVec3f_normalize(SbVec3f self) -> float"}, - { (char *)"SbVec3f_negate", _wrap_SbVec3f_negate, METH_VARARGS, (char *)"SbVec3f_negate(SbVec3f self)"}, - { (char *)"SbVec3f___imul__", _wrap_SbVec3f___imul__, METH_VARARGS, (char *)"SbVec3f___imul__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___idiv__", _wrap_SbVec3f___idiv__, METH_VARARGS, (char *)"SbVec3f___idiv__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___iadd__", _wrap_SbVec3f___iadd__, METH_VARARGS, (char *)"SbVec3f___iadd__(SbVec3f self, SbVec3f v) -> SbVec3f"}, - { (char *)"SbVec3f___isub__", _wrap_SbVec3f___isub__, METH_VARARGS, (char *)"SbVec3f___isub__(SbVec3f self, SbVec3f v) -> SbVec3f"}, - { (char *)"SbVec3f___neg__", _wrap_SbVec3f___neg__, METH_VARARGS, (char *)"SbVec3f___neg__(SbVec3f self) -> SbVec3f"}, - { (char *)"SbVec3f_output", _wrap_SbVec3f_output, METH_VARARGS, (char *)"SbVec3f_output(SbVec3f self, FILE fp)"}, - { (char *)"SbVec3f___add__", _wrap_SbVec3f___add__, METH_VARARGS, (char *)"SbVec3f___add__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___sub__", _wrap_SbVec3f___sub__, METH_VARARGS, (char *)"SbVec3f___sub__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___mul__", _wrap_SbVec3f___mul__, METH_VARARGS, (char *)"\n" - "__mul__(float d) -> SbVec3f\n" - "SbVec3f___mul__(SbVec3f self, SbMatrix m) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f___rmul__", _wrap_SbVec3f___rmul__, METH_VARARGS, (char *)"SbVec3f___rmul__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___div__", _wrap_SbVec3f___div__, METH_VARARGS, (char *)"SbVec3f___div__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___eq__", _wrap_SbVec3f___eq__, METH_VARARGS, (char *)"SbVec3f___eq__(SbVec3f self, SbVec3f u) -> int"}, - { (char *)"SbVec3f___nq__", _wrap_SbVec3f___nq__, METH_VARARGS, (char *)"SbVec3f___nq__(SbVec3f self, SbVec3f u) -> int"}, - { (char *)"SbVec3f___getitem__", _wrap_SbVec3f___getitem__, METH_VARARGS, (char *)"SbVec3f___getitem__(SbVec3f self, int i) -> float"}, - { (char *)"SbVec3f___setitem__", _wrap_SbVec3f___setitem__, METH_VARARGS, (char *)"SbVec3f___setitem__(SbVec3f self, int i, float value)"}, - { (char *)"delete_SbVec3f", _wrap_delete_SbVec3f, METH_VARARGS, (char *)"delete_SbVec3f(SbVec3f self)"}, - { (char *)"SbVec3f_swigregister", SbVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbColor", _wrap_new_SbColor, METH_VARARGS, (char *)"\n" - "SbColor()\n" - "SbColor(SbVec3f v)\n" - "SbColor(float rgb)\n" - "new_SbColor(float r, float g, float b) -> SbColor\n" - ""}, - { (char *)"SbColor_setHSVValue", _wrap_SbColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v) -> SbColor\n" - "SbColor_setHSVValue(SbColor self, float hsv) -> SbColor\n" - ""}, - { (char *)"SbColor_getHSVValue", _wrap_SbColor_getHSVValue, METH_VARARGS, (char *)"SbColor_getHSVValue(SbColor self, float h, float s, float v)"}, - { (char *)"SbColor_setPackedValue", _wrap_SbColor_setPackedValue, METH_VARARGS, (char *)"SbColor_setPackedValue(SbColor self, uint32_t rgba, float transparency) -> SbColor"}, - { (char *)"SbColor_getPackedValue", _wrap_SbColor_getPackedValue, METH_VARARGS, (char *)"\n" - "getPackedValue(float transparency=0.0) -> uint32_t\n" - "SbColor_getPackedValue(SbColor self) -> uint32_t\n" - ""}, - { (char *)"SbColor___add__", _wrap_SbColor___add__, METH_VARARGS, (char *)"SbColor___add__(SbColor self, SbColor u) -> SbColor"}, - { (char *)"SbColor___sub__", _wrap_SbColor___sub__, METH_VARARGS, (char *)"SbColor___sub__(SbColor self, SbColor u) -> SbColor"}, - { (char *)"SbColor___mul__", _wrap_SbColor___mul__, METH_VARARGS, (char *)"SbColor___mul__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___rmul__", _wrap_SbColor___rmul__, METH_VARARGS, (char *)"SbColor___rmul__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___div__", _wrap_SbColor___div__, METH_VARARGS, (char *)"SbColor___div__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___eq__", _wrap_SbColor___eq__, METH_VARARGS, (char *)"SbColor___eq__(SbColor self, SbColor u) -> int"}, - { (char *)"SbColor___nq__", _wrap_SbColor___nq__, METH_VARARGS, (char *)"SbColor___nq__(SbColor self, SbColor u) -> int"}, - { (char *)"SbColor___getitem__", _wrap_SbColor___getitem__, METH_VARARGS, (char *)"SbColor___getitem__(SbColor self, int i) -> float"}, - { (char *)"SbColor___setitem__", _wrap_SbColor___setitem__, METH_VARARGS, (char *)"SbColor___setitem__(SbColor self, int i, float value)"}, - { (char *)"delete_SbColor", _wrap_delete_SbColor, METH_VARARGS, (char *)"delete_SbColor(SbColor self)"}, - { (char *)"SbColor_swigregister", SbColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLazyElement_getClassTypeId", _wrap_SoLazyElement_getClassTypeId, METH_VARARGS, (char *)"SoLazyElement_getClassTypeId() -> SoType"}, - { (char *)"SoLazyElement_getClassStackIndex", _wrap_SoLazyElement_getClassStackIndex, METH_VARARGS, (char *)"SoLazyElement_getClassStackIndex() -> int"}, - { (char *)"SoLazyElement_createInstance", _wrap_SoLazyElement_createInstance, METH_VARARGS, (char *)"SoLazyElement_createInstance() -> void"}, - { (char *)"SoLazyElement_initClass", _wrap_SoLazyElement_initClass, METH_VARARGS, (char *)"SoLazyElement_initClass()"}, - { (char *)"SoLazyElement_init", _wrap_SoLazyElement_init, METH_VARARGS, (char *)"SoLazyElement_init(SoLazyElement self, SoState state)"}, - { (char *)"SoLazyElement_push", _wrap_SoLazyElement_push, METH_VARARGS, (char *)"SoLazyElement_push(SoLazyElement self, SoState state)"}, - { (char *)"SoLazyElement_matches", _wrap_SoLazyElement_matches, METH_VARARGS, (char *)"SoLazyElement_matches(SoLazyElement self, SoElement ?) -> SbBool"}, - { (char *)"SoLazyElement_copyMatchInfo", _wrap_SoLazyElement_copyMatchInfo, METH_VARARGS, (char *)"SoLazyElement_copyMatchInfo(SoLazyElement self) -> SoElement"}, - { (char *)"SoLazyElement_setToDefault", _wrap_SoLazyElement_setToDefault, METH_VARARGS, (char *)"SoLazyElement_setToDefault(SoState state)"}, - { (char *)"SoLazyElement_setDiffuse", _wrap_SoLazyElement_setDiffuse, METH_VARARGS, (char *)"\n" - "SoLazyElement_setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, \n" - " SoColorPacker packer)\n" - ""}, - { (char *)"SoLazyElement_setTransparency", _wrap_SoLazyElement_setTransparency, METH_VARARGS, (char *)"\n" - "SoLazyElement_setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, \n" - " SoColorPacker packer)\n" - ""}, - { (char *)"SoLazyElement_setColorIndices", _wrap_SoLazyElement_setColorIndices, METH_VARARGS, (char *)"SoLazyElement_setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)"}, - { (char *)"SoLazyElement_setAmbient", _wrap_SoLazyElement_setAmbient, METH_VARARGS, (char *)"SoLazyElement_setAmbient(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setEmissive", _wrap_SoLazyElement_setEmissive, METH_VARARGS, (char *)"SoLazyElement_setEmissive(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setSpecular", _wrap_SoLazyElement_setSpecular, METH_VARARGS, (char *)"SoLazyElement_setSpecular(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setShininess", _wrap_SoLazyElement_setShininess, METH_VARARGS, (char *)"SoLazyElement_setShininess(SoState state, float value)"}, - { (char *)"SoLazyElement_setColorMaterial", _wrap_SoLazyElement_setColorMaterial, METH_VARARGS, (char *)"SoLazyElement_setColorMaterial(SoState state, SbBool value)"}, - { (char *)"SoLazyElement_enableBlending", _wrap_SoLazyElement_enableBlending, METH_VARARGS, (char *)"SoLazyElement_enableBlending(SoState state, int sfactor, int dfactor)"}, - { (char *)"SoLazyElement_enableSeparateBlending", _wrap_SoLazyElement_enableSeparateBlending, METH_VARARGS, (char *)"\n" - "SoLazyElement_enableSeparateBlending(SoState state, int sfactor, int dfactor, int alpha_sfactor, \n" - " int alpha_dfactor)\n" - ""}, - { (char *)"SoLazyElement_disableBlending", _wrap_SoLazyElement_disableBlending, METH_VARARGS, (char *)"SoLazyElement_disableBlending(SoState state)"}, - { (char *)"SoLazyElement_setLightModel", _wrap_SoLazyElement_setLightModel, METH_VARARGS, (char *)"SoLazyElement_setLightModel(SoState state, int32_t model)"}, - { (char *)"SoLazyElement_setVertexOrdering", _wrap_SoLazyElement_setVertexOrdering, METH_VARARGS, (char *)"SoLazyElement_setVertexOrdering(SoState state, VertexOrdering ordering)"}, - { (char *)"SoLazyElement_setBackfaceCulling", _wrap_SoLazyElement_setBackfaceCulling, METH_VARARGS, (char *)"SoLazyElement_setBackfaceCulling(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_setTwosideLighting", _wrap_SoLazyElement_setTwosideLighting, METH_VARARGS, (char *)"SoLazyElement_setTwosideLighting(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_setShadeModel", _wrap_SoLazyElement_setShadeModel, METH_VARARGS, (char *)"SoLazyElement_setShadeModel(SoState state, SbBool flatshading)"}, - { (char *)"SoLazyElement_setGLImageId", _wrap_SoLazyElement_setGLImageId, METH_VARARGS, (char *)"SoLazyElement_setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)"}, - { (char *)"SoLazyElement_setAlphaTest", _wrap_SoLazyElement_setAlphaTest, METH_VARARGS, (char *)"SoLazyElement_setAlphaTest(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_getDiffuse", _wrap_SoLazyElement_getDiffuse, METH_VARARGS, (char *)"SoLazyElement_getDiffuse(SoState state, int index) -> SbColor"}, - { (char *)"SoLazyElement_getTransparency", _wrap_SoLazyElement_getTransparency, METH_VARARGS, (char *)"SoLazyElement_getTransparency(SoState ?, int index) -> float"}, - { (char *)"SoLazyElement_getPackedColors", _wrap_SoLazyElement_getPackedColors, METH_VARARGS, (char *)"SoLazyElement_getPackedColors(SoState ?) -> uint32_t"}, - { (char *)"SoLazyElement_getColorIndices", _wrap_SoLazyElement_getColorIndices, METH_VARARGS, (char *)"SoLazyElement_getColorIndices(SoState ?) -> int32_t"}, - { (char *)"SoLazyElement_getColorIndex", _wrap_SoLazyElement_getColorIndex, METH_VARARGS, (char *)"SoLazyElement_getColorIndex(SoState ?, int num) -> int32_t"}, - { (char *)"SoLazyElement_getAmbient", _wrap_SoLazyElement_getAmbient, METH_VARARGS, (char *)"SoLazyElement_getAmbient(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getEmissive", _wrap_SoLazyElement_getEmissive, METH_VARARGS, (char *)"SoLazyElement_getEmissive(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getSpecular", _wrap_SoLazyElement_getSpecular, METH_VARARGS, (char *)"SoLazyElement_getSpecular(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getShininess", _wrap_SoLazyElement_getShininess, METH_VARARGS, (char *)"SoLazyElement_getShininess(SoState ?) -> float"}, - { (char *)"SoLazyElement_getColorMaterial", _wrap_SoLazyElement_getColorMaterial, METH_VARARGS, (char *)"SoLazyElement_getColorMaterial(SoState ?) -> SbBool"}, - { (char *)"SoLazyElement_getBlending", _wrap_SoLazyElement_getBlending, METH_VARARGS, (char *)"SoLazyElement_getBlending(SoState ?, int sfactor, int dfactor) -> SbBool"}, - { (char *)"SoLazyElement_getAlphaBlending", _wrap_SoLazyElement_getAlphaBlending, METH_VARARGS, (char *)"SoLazyElement_getAlphaBlending(SoState ?, int sfactor, int dfactor) -> SbBool"}, - { (char *)"SoLazyElement_getLightModel", _wrap_SoLazyElement_getLightModel, METH_VARARGS, (char *)"SoLazyElement_getLightModel(SoState ?) -> int32_t"}, - { (char *)"SoLazyElement_getAlphaTest", _wrap_SoLazyElement_getAlphaTest, METH_VARARGS, (char *)"SoLazyElement_getAlphaTest(SoState state) -> SbBool"}, - { (char *)"SoLazyElement_getNumDiffuse", _wrap_SoLazyElement_getNumDiffuse, METH_VARARGS, (char *)"SoLazyElement_getNumDiffuse(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getNumTransparencies", _wrap_SoLazyElement_getNumTransparencies, METH_VARARGS, (char *)"SoLazyElement_getNumTransparencies(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getNumColorIndices", _wrap_SoLazyElement_getNumColorIndices, METH_VARARGS, (char *)"SoLazyElement_getNumColorIndices(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_isPacked", _wrap_SoLazyElement_isPacked, METH_VARARGS, (char *)"SoLazyElement_isPacked(SoLazyElement self) -> SbBool"}, - { (char *)"SoLazyElement_isTransparent", _wrap_SoLazyElement_isTransparent, METH_VARARGS, (char *)"SoLazyElement_isTransparent(SoLazyElement self) -> SbBool"}, - { (char *)"SoLazyElement_getInstance", _wrap_SoLazyElement_getInstance, METH_VARARGS, (char *)"SoLazyElement_getInstance(SoState state) -> SoLazyElement"}, - { (char *)"SoLazyElement_getDefaultAmbientIntensity", _wrap_SoLazyElement_getDefaultAmbientIntensity, METH_VARARGS, (char *)"SoLazyElement_getDefaultAmbientIntensity() -> float"}, - { (char *)"SoLazyElement_getDefaultDiffuse", _wrap_SoLazyElement_getDefaultDiffuse, METH_VARARGS, (char *)"SoLazyElement_getDefaultDiffuse() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultAmbient", _wrap_SoLazyElement_getDefaultAmbient, METH_VARARGS, (char *)"SoLazyElement_getDefaultAmbient() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultSpecular", _wrap_SoLazyElement_getDefaultSpecular, METH_VARARGS, (char *)"SoLazyElement_getDefaultSpecular() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultEmissive", _wrap_SoLazyElement_getDefaultEmissive, METH_VARARGS, (char *)"SoLazyElement_getDefaultEmissive() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultShininess", _wrap_SoLazyElement_getDefaultShininess, METH_VARARGS, (char *)"SoLazyElement_getDefaultShininess() -> float"}, - { (char *)"SoLazyElement_getDefaultPacked", _wrap_SoLazyElement_getDefaultPacked, METH_VARARGS, (char *)"SoLazyElement_getDefaultPacked() -> uint32_t"}, - { (char *)"SoLazyElement_getDefaultTransparency", _wrap_SoLazyElement_getDefaultTransparency, METH_VARARGS, (char *)"SoLazyElement_getDefaultTransparency() -> float"}, - { (char *)"SoLazyElement_getDefaultLightModel", _wrap_SoLazyElement_getDefaultLightModel, METH_VARARGS, (char *)"SoLazyElement_getDefaultLightModel() -> int32_t"}, - { (char *)"SoLazyElement_getDefaultColorIndex", _wrap_SoLazyElement_getDefaultColorIndex, METH_VARARGS, (char *)"SoLazyElement_getDefaultColorIndex() -> int32_t"}, - { (char *)"SoLazyElement_setMaterials", _wrap_SoLazyElement_setMaterials, METH_VARARGS, (char *)"\n" - "SoLazyElement_setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, \n" - " SbColor diffuse, int numdiffuse, \n" - " float transp, int numtransp, SbColor ambient, \n" - " SbColor emissive, SbColor specular, float shininess, \n" - " SbBool istransparent)\n" - ""}, - { (char *)"SoLazyElement_getWInstance", _wrap_SoLazyElement_getWInstance, METH_VARARGS, (char *)"SoLazyElement_getWInstance(SoState state) -> SoLazyElement"}, - { (char *)"SoLazyElement_getPackedPointer", _wrap_SoLazyElement_getPackedPointer, METH_VARARGS, (char *)"SoLazyElement_getPackedPointer(SoLazyElement self) -> uint32_t"}, - { (char *)"SoLazyElement_getDiffusePointer", _wrap_SoLazyElement_getDiffusePointer, METH_VARARGS, (char *)"SoLazyElement_getDiffusePointer(SoLazyElement self) -> SbColor"}, - { (char *)"SoLazyElement_getColorIndexPointer", _wrap_SoLazyElement_getColorIndexPointer, METH_VARARGS, (char *)"SoLazyElement_getColorIndexPointer(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getTransparencyPointer", _wrap_SoLazyElement_getTransparencyPointer, METH_VARARGS, (char *)"SoLazyElement_getTransparencyPointer(SoLazyElement self) -> float"}, - { (char *)"SoLazyElement_setTransparencyType", _wrap_SoLazyElement_setTransparencyType, METH_VARARGS, (char *)"SoLazyElement_setTransparencyType(SoState state, int32_t type)"}, - { (char *)"SoLazyElement_swigregister", SoLazyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoColorPacker", _wrap_new_SoColorPacker, METH_VARARGS, (char *)"new_SoColorPacker() -> SoColorPacker"}, - { (char *)"delete_SoColorPacker", _wrap_delete_SoColorPacker, METH_VARARGS, (char *)"delete_SoColorPacker(SoColorPacker self)"}, - { (char *)"SoColorPacker_getPackedColors", _wrap_SoColorPacker_getPackedColors, METH_VARARGS, (char *)"SoColorPacker_getPackedColors(SoColorPacker self) -> uint32_t"}, - { (char *)"SoColorPacker_diffuseMatch", _wrap_SoColorPacker_diffuseMatch, METH_VARARGS, (char *)"SoColorPacker_diffuseMatch(SoColorPacker self, uint32_t nodeid) -> SbBool"}, - { (char *)"SoColorPacker_transpMatch", _wrap_SoColorPacker_transpMatch, METH_VARARGS, (char *)"SoColorPacker_transpMatch(SoColorPacker self, uint32_t nodeid) -> SbBool"}, - { (char *)"SoColorPacker_setNodeIds", _wrap_SoColorPacker_setNodeIds, METH_VARARGS, (char *)"SoColorPacker_setNodeIds(SoColorPacker self, uint32_t diffuse, uint32_t transp)"}, - { (char *)"SoColorPacker_getSize", _wrap_SoColorPacker_getSize, METH_VARARGS, (char *)"SoColorPacker_getSize(SoColorPacker self) -> int32_t"}, - { (char *)"SoColorPacker_reallocate", _wrap_SoColorPacker_reallocate, METH_VARARGS, (char *)"SoColorPacker_reallocate(SoColorPacker self, int32_t size)"}, - { (char *)"SoColorPacker_getDiffuseId", _wrap_SoColorPacker_getDiffuseId, METH_VARARGS, (char *)"SoColorPacker_getDiffuseId(SoColorPacker self) -> uint32_t"}, - { (char *)"SoColorPacker_getTranspId", _wrap_SoColorPacker_getTranspId, METH_VARARGS, (char *)"SoColorPacker_getTranspId(SoColorPacker self) -> uint32_t"}, - { (char *)"SoColorPacker_swigregister", SoColorPacker_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightModel_getClassTypeId", _wrap_SoLightModel_getClassTypeId, METH_VARARGS, (char *)"SoLightModel_getClassTypeId() -> SoType"}, - { (char *)"SoLightModel_getTypeId", _wrap_SoLightModel_getTypeId, METH_VARARGS, (char *)"SoLightModel_getTypeId(SoLightModel self) -> SoType"}, - { (char *)"SoLightModel_initClass", _wrap_SoLightModel_initClass, METH_VARARGS, (char *)"SoLightModel_initClass()"}, - { (char *)"new_SoLightModel", _wrap_new_SoLightModel, METH_VARARGS, (char *)"new_SoLightModel() -> SoLightModel"}, - { (char *)"SoLightModel_model_set", _wrap_SoLightModel_model_set, METH_VARARGS, (char *)"SoLightModel_model_set(SoLightModel self, SoSFEnum model)"}, - { (char *)"SoLightModel_model_get", _wrap_SoLightModel_model_get, METH_VARARGS, (char *)"SoLightModel_model_get(SoLightModel self) -> SoSFEnum"}, - { (char *)"SoLightModel_doAction", _wrap_SoLightModel_doAction, METH_VARARGS, (char *)"SoLightModel_doAction(SoLightModel self, SoAction action)"}, - { (char *)"SoLightModel_GLRender", _wrap_SoLightModel_GLRender, METH_VARARGS, (char *)"SoLightModel_GLRender(SoLightModel self, SoGLRenderAction action)"}, - { (char *)"SoLightModel_callback", _wrap_SoLightModel_callback, METH_VARARGS, (char *)"SoLightModel_callback(SoLightModel self, SoCallbackAction action)"}, - { (char *)"SoLightModel_swigregister", SoLightModel_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterialBindingElement_getClassTypeId", _wrap_SoMaterialBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoMaterialBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoMaterialBindingElement_getClassStackIndex", _wrap_SoMaterialBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoMaterialBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoMaterialBindingElement_createInstance", _wrap_SoMaterialBindingElement_createInstance, METH_VARARGS, (char *)"SoMaterialBindingElement_createInstance() -> void"}, - { (char *)"SoMaterialBindingElement_initClass", _wrap_SoMaterialBindingElement_initClass, METH_VARARGS, (char *)"SoMaterialBindingElement_initClass()"}, - { (char *)"SoMaterialBindingElement_init", _wrap_SoMaterialBindingElement_init, METH_VARARGS, (char *)"SoMaterialBindingElement_init(SoMaterialBindingElement self, SoState state)"}, - { (char *)"SoMaterialBindingElement_set", _wrap_SoMaterialBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoMaterialBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoMaterialBindingElement_get", _wrap_SoMaterialBindingElement_get, METH_VARARGS, (char *)"SoMaterialBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoMaterialBindingElement_getDefault", _wrap_SoMaterialBindingElement_getDefault, METH_VARARGS, (char *)"SoMaterialBindingElement_getDefault() -> Binding"}, - { (char *)"SoMaterialBindingElement_swigregister", SoMaterialBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterialBinding_getClassTypeId", _wrap_SoMaterialBinding_getClassTypeId, METH_VARARGS, (char *)"SoMaterialBinding_getClassTypeId() -> SoType"}, - { (char *)"SoMaterialBinding_getTypeId", _wrap_SoMaterialBinding_getTypeId, METH_VARARGS, (char *)"SoMaterialBinding_getTypeId(SoMaterialBinding self) -> SoType"}, - { (char *)"SoMaterialBinding_initClass", _wrap_SoMaterialBinding_initClass, METH_VARARGS, (char *)"SoMaterialBinding_initClass()"}, - { (char *)"new_SoMaterialBinding", _wrap_new_SoMaterialBinding, METH_VARARGS, (char *)"new_SoMaterialBinding() -> SoMaterialBinding"}, - { (char *)"SoMaterialBinding_value_set", _wrap_SoMaterialBinding_value_set, METH_VARARGS, (char *)"SoMaterialBinding_value_set(SoMaterialBinding self, SoSFEnum value)"}, - { (char *)"SoMaterialBinding_value_get", _wrap_SoMaterialBinding_value_get, METH_VARARGS, (char *)"SoMaterialBinding_value_get(SoMaterialBinding self) -> SoSFEnum"}, - { (char *)"SoMaterialBinding_doAction", _wrap_SoMaterialBinding_doAction, METH_VARARGS, (char *)"SoMaterialBinding_doAction(SoMaterialBinding self, SoAction action)"}, - { (char *)"SoMaterialBinding_GLRender", _wrap_SoMaterialBinding_GLRender, METH_VARARGS, (char *)"SoMaterialBinding_GLRender(SoMaterialBinding self, SoGLRenderAction action)"}, - { (char *)"SoMaterialBinding_callback", _wrap_SoMaterialBinding_callback, METH_VARARGS, (char *)"SoMaterialBinding_callback(SoMaterialBinding self, SoCallbackAction action)"}, - { (char *)"SoMaterialBinding_pick", _wrap_SoMaterialBinding_pick, METH_VARARGS, (char *)"SoMaterialBinding_pick(SoMaterialBinding self, SoPickAction action)"}, - { (char *)"SoMaterialBinding_getPrimitiveCount", _wrap_SoMaterialBinding_getPrimitiveCount, METH_VARARGS, (char *)"SoMaterialBinding_getPrimitiveCount(SoMaterialBinding self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMaterialBinding_swigregister", SoMaterialBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBindingElement_getClassTypeId", _wrap_SoNormalBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoNormalBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoNormalBindingElement_getClassStackIndex", _wrap_SoNormalBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoNormalBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoNormalBindingElement_createInstance", _wrap_SoNormalBindingElement_createInstance, METH_VARARGS, (char *)"SoNormalBindingElement_createInstance() -> void"}, - { (char *)"SoNormalBindingElement_initClass", _wrap_SoNormalBindingElement_initClass, METH_VARARGS, (char *)"SoNormalBindingElement_initClass()"}, - { (char *)"SoNormalBindingElement_init", _wrap_SoNormalBindingElement_init, METH_VARARGS, (char *)"SoNormalBindingElement_init(SoNormalBindingElement self, SoState state)"}, - { (char *)"SoNormalBindingElement_set", _wrap_SoNormalBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoNormalBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoNormalBindingElement_get", _wrap_SoNormalBindingElement_get, METH_VARARGS, (char *)"SoNormalBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoNormalBindingElement_getDefault", _wrap_SoNormalBindingElement_getDefault, METH_VARARGS, (char *)"SoNormalBindingElement_getDefault() -> Binding"}, - { (char *)"SoNormalBindingElement_swigregister", SoNormalBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBinding_getClassTypeId", _wrap_SoNormalBinding_getClassTypeId, METH_VARARGS, (char *)"SoNormalBinding_getClassTypeId() -> SoType"}, - { (char *)"SoNormalBinding_getTypeId", _wrap_SoNormalBinding_getTypeId, METH_VARARGS, (char *)"SoNormalBinding_getTypeId(SoNormalBinding self) -> SoType"}, - { (char *)"SoNormalBinding_initClass", _wrap_SoNormalBinding_initClass, METH_VARARGS, (char *)"SoNormalBinding_initClass()"}, - { (char *)"new_SoNormalBinding", _wrap_new_SoNormalBinding, METH_VARARGS, (char *)"new_SoNormalBinding() -> SoNormalBinding"}, - { (char *)"SoNormalBinding_value_set", _wrap_SoNormalBinding_value_set, METH_VARARGS, (char *)"SoNormalBinding_value_set(SoNormalBinding self, SoSFEnum value)"}, - { (char *)"SoNormalBinding_value_get", _wrap_SoNormalBinding_value_get, METH_VARARGS, (char *)"SoNormalBinding_value_get(SoNormalBinding self) -> SoSFEnum"}, - { (char *)"SoNormalBinding_doAction", _wrap_SoNormalBinding_doAction, METH_VARARGS, (char *)"SoNormalBinding_doAction(SoNormalBinding self, SoAction action)"}, - { (char *)"SoNormalBinding_GLRender", _wrap_SoNormalBinding_GLRender, METH_VARARGS, (char *)"SoNormalBinding_GLRender(SoNormalBinding self, SoGLRenderAction action)"}, - { (char *)"SoNormalBinding_callback", _wrap_SoNormalBinding_callback, METH_VARARGS, (char *)"SoNormalBinding_callback(SoNormalBinding self, SoCallbackAction action)"}, - { (char *)"SoNormalBinding_pick", _wrap_SoNormalBinding_pick, METH_VARARGS, (char *)"SoNormalBinding_pick(SoNormalBinding self, SoPickAction action)"}, - { (char *)"SoNormalBinding_getPrimitiveCount", _wrap_SoNormalBinding_getPrimitiveCount, METH_VARARGS, (char *)"SoNormalBinding_getPrimitiveCount(SoNormalBinding self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNormalBinding_swigregister", SoNormalBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickStyleElement_getClassTypeId", _wrap_SoPickStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoPickStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoPickStyleElement_getClassStackIndex", _wrap_SoPickStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoPickStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoPickStyleElement_createInstance", _wrap_SoPickStyleElement_createInstance, METH_VARARGS, (char *)"SoPickStyleElement_createInstance() -> void"}, - { (char *)"SoPickStyleElement_initClass", _wrap_SoPickStyleElement_initClass, METH_VARARGS, (char *)"SoPickStyleElement_initClass()"}, - { (char *)"SoPickStyleElement_init", _wrap_SoPickStyleElement_init, METH_VARARGS, (char *)"SoPickStyleElement_init(SoPickStyleElement self, SoState state)"}, - { (char *)"SoPickStyleElement_set", _wrap_SoPickStyleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t style)\n" - "SoPickStyleElement_set(SoState state, Style style)\n" - ""}, - { (char *)"SoPickStyleElement_get", _wrap_SoPickStyleElement_get, METH_VARARGS, (char *)"SoPickStyleElement_get(SoState state) -> Style"}, - { (char *)"SoPickStyleElement_getDefault", _wrap_SoPickStyleElement_getDefault, METH_VARARGS, (char *)"SoPickStyleElement_getDefault() -> Style"}, - { (char *)"SoPickStyleElement_swigregister", SoPickStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickStyle_getClassTypeId", _wrap_SoPickStyle_getClassTypeId, METH_VARARGS, (char *)"SoPickStyle_getClassTypeId() -> SoType"}, - { (char *)"SoPickStyle_getTypeId", _wrap_SoPickStyle_getTypeId, METH_VARARGS, (char *)"SoPickStyle_getTypeId(SoPickStyle self) -> SoType"}, - { (char *)"SoPickStyle_initClass", _wrap_SoPickStyle_initClass, METH_VARARGS, (char *)"SoPickStyle_initClass()"}, - { (char *)"new_SoPickStyle", _wrap_new_SoPickStyle, METH_VARARGS, (char *)"new_SoPickStyle() -> SoPickStyle"}, - { (char *)"SoPickStyle_style_set", _wrap_SoPickStyle_style_set, METH_VARARGS, (char *)"SoPickStyle_style_set(SoPickStyle self, SoSFEnum style)"}, - { (char *)"SoPickStyle_style_get", _wrap_SoPickStyle_style_get, METH_VARARGS, (char *)"SoPickStyle_style_get(SoPickStyle self) -> SoSFEnum"}, - { (char *)"SoPickStyle_doAction", _wrap_SoPickStyle_doAction, METH_VARARGS, (char *)"SoPickStyle_doAction(SoPickStyle self, SoAction action)"}, - { (char *)"SoPickStyle_callback", _wrap_SoPickStyle_callback, METH_VARARGS, (char *)"SoPickStyle_callback(SoPickStyle self, SoCallbackAction action)"}, - { (char *)"SoPickStyle_pick", _wrap_SoPickStyle_pick, METH_VARARGS, (char *)"SoPickStyle_pick(SoPickStyle self, SoPickAction action)"}, - { (char *)"SoPickStyle_swigregister", SoPickStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeHintsElement_getClassTypeId", _wrap_SoShapeHintsElement_getClassTypeId, METH_VARARGS, (char *)"SoShapeHintsElement_getClassTypeId() -> SoType"}, - { (char *)"SoShapeHintsElement_getClassStackIndex", _wrap_SoShapeHintsElement_getClassStackIndex, METH_VARARGS, (char *)"SoShapeHintsElement_getClassStackIndex() -> int"}, - { (char *)"SoShapeHintsElement_createInstance", _wrap_SoShapeHintsElement_createInstance, METH_VARARGS, (char *)"SoShapeHintsElement_createInstance() -> void"}, - { (char *)"SoShapeHintsElement_initClass", _wrap_SoShapeHintsElement_initClass, METH_VARARGS, (char *)"SoShapeHintsElement_initClass()"}, - { (char *)"SoShapeHintsElement_init", _wrap_SoShapeHintsElement_init, METH_VARARGS, (char *)"SoShapeHintsElement_init(SoShapeHintsElement self, SoState state)"}, - { (char *)"SoShapeHintsElement_push", _wrap_SoShapeHintsElement_push, METH_VARARGS, (char *)"SoShapeHintsElement_push(SoShapeHintsElement self, SoState state)"}, - { (char *)"SoShapeHintsElement_pop", _wrap_SoShapeHintsElement_pop, METH_VARARGS, (char *)"SoShapeHintsElement_pop(SoShapeHintsElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoShapeHintsElement_matches", _wrap_SoShapeHintsElement_matches, METH_VARARGS, (char *)"SoShapeHintsElement_matches(SoShapeHintsElement self, SoElement element) -> SbBool"}, - { (char *)"SoShapeHintsElement_copyMatchInfo", _wrap_SoShapeHintsElement_copyMatchInfo, METH_VARARGS, (char *)"SoShapeHintsElement_copyMatchInfo(SoShapeHintsElement self) -> SoElement"}, - { (char *)"SoShapeHintsElement_set", _wrap_SoShapeHintsElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, VertexOrdering vertexOrdering, \n" - " ShapeType shapeType, FaceType faceType)\n" - "SoShapeHintsElement_set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, \n" - " FaceType faceType)\n" - ""}, - { (char *)"SoShapeHintsElement_get", _wrap_SoShapeHintsElement_get, METH_VARARGS, (char *)"\n" - "SoShapeHintsElement_get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, \n" - " FaceType faceType)\n" - ""}, - { (char *)"SoShapeHintsElement_getVertexOrdering", _wrap_SoShapeHintsElement_getVertexOrdering, METH_VARARGS, (char *)"SoShapeHintsElement_getVertexOrdering(SoState state) -> VertexOrdering"}, - { (char *)"SoShapeHintsElement_getShapeType", _wrap_SoShapeHintsElement_getShapeType, METH_VARARGS, (char *)"SoShapeHintsElement_getShapeType(SoState state) -> ShapeType"}, - { (char *)"SoShapeHintsElement_getFaceType", _wrap_SoShapeHintsElement_getFaceType, METH_VARARGS, (char *)"SoShapeHintsElement_getFaceType(SoState state) -> FaceType"}, - { (char *)"SoShapeHintsElement_getDefaultVertexOrdering", _wrap_SoShapeHintsElement_getDefaultVertexOrdering, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultVertexOrdering() -> VertexOrdering"}, - { (char *)"SoShapeHintsElement_getDefaultShapeType", _wrap_SoShapeHintsElement_getDefaultShapeType, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultShapeType() -> ShapeType"}, - { (char *)"SoShapeHintsElement_getDefaultFaceType", _wrap_SoShapeHintsElement_getDefaultFaceType, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultFaceType() -> FaceType"}, - { (char *)"SoShapeHintsElement_output", _wrap_SoShapeHintsElement_output, METH_VARARGS, (char *)"SoShapeHintsElement_output(SoShapeHintsElement self, FILE file)"}, - { (char *)"SoShapeHintsElement_swigregister", SoShapeHintsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBool", _wrap_new_SoSFBool, METH_VARARGS, (char *)"new_SoSFBool() -> SoSFBool"}, - { (char *)"delete_SoSFBool", _wrap_delete_SoSFBool, METH_VARARGS, (char *)"delete_SoSFBool(SoSFBool self)"}, - { (char *)"SoSFBool_createInstance", _wrap_SoSFBool_createInstance, METH_VARARGS, (char *)"SoSFBool_createInstance() -> void"}, - { (char *)"SoSFBool_getClassTypeId", _wrap_SoSFBool_getClassTypeId, METH_VARARGS, (char *)"SoSFBool_getClassTypeId() -> SoType"}, - { (char *)"SoSFBool_getTypeId", _wrap_SoSFBool_getTypeId, METH_VARARGS, (char *)"SoSFBool_getTypeId(SoSFBool self) -> SoType"}, - { (char *)"SoSFBool_copyFrom", _wrap_SoSFBool_copyFrom, METH_VARARGS, (char *)"SoSFBool_copyFrom(SoSFBool self, SoField field)"}, - { (char *)"SoSFBool_isSame", _wrap_SoSFBool_isSame, METH_VARARGS, (char *)"SoSFBool_isSame(SoSFBool self, SoField field) -> SbBool"}, - { (char *)"SoSFBool_getValue", _wrap_SoSFBool_getValue, METH_VARARGS, (char *)"SoSFBool_getValue(SoSFBool self) -> SbBool"}, - { (char *)"SoSFBool___eq__", _wrap_SoSFBool___eq__, METH_VARARGS, (char *)"SoSFBool___eq__(SoSFBool self, SoSFBool field) -> int"}, - { (char *)"SoSFBool___ne__", _wrap_SoSFBool___ne__, METH_VARARGS, (char *)"SoSFBool___ne__(SoSFBool self, SoSFBool field) -> int"}, - { (char *)"SoSFBool_initClass", _wrap_SoSFBool_initClass, METH_VARARGS, (char *)"SoSFBool_initClass()"}, - { (char *)"SoSFBool_setValue", _wrap_SoSFBool_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBool newvalue)\n" - "SoSFBool_setValue(SoSFBool self, SoSFBool other)\n" - ""}, - { (char *)"SoSFBool_swigregister", SoSFBool_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeHints_getClassTypeId", _wrap_SoShapeHints_getClassTypeId, METH_VARARGS, (char *)"SoShapeHints_getClassTypeId() -> SoType"}, - { (char *)"SoShapeHints_getTypeId", _wrap_SoShapeHints_getTypeId, METH_VARARGS, (char *)"SoShapeHints_getTypeId(SoShapeHints self) -> SoType"}, - { (char *)"SoShapeHints_initClass", _wrap_SoShapeHints_initClass, METH_VARARGS, (char *)"SoShapeHints_initClass()"}, - { (char *)"new_SoShapeHints", _wrap_new_SoShapeHints, METH_VARARGS, (char *)"new_SoShapeHints() -> SoShapeHints"}, - { (char *)"SoShapeHints_vertexOrdering_set", _wrap_SoShapeHints_vertexOrdering_set, METH_VARARGS, (char *)"SoShapeHints_vertexOrdering_set(SoShapeHints self, SoSFEnum vertexOrdering)"}, - { (char *)"SoShapeHints_vertexOrdering_get", _wrap_SoShapeHints_vertexOrdering_get, METH_VARARGS, (char *)"SoShapeHints_vertexOrdering_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_shapeType_set", _wrap_SoShapeHints_shapeType_set, METH_VARARGS, (char *)"SoShapeHints_shapeType_set(SoShapeHints self, SoSFEnum shapeType)"}, - { (char *)"SoShapeHints_shapeType_get", _wrap_SoShapeHints_shapeType_get, METH_VARARGS, (char *)"SoShapeHints_shapeType_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_faceType_set", _wrap_SoShapeHints_faceType_set, METH_VARARGS, (char *)"SoShapeHints_faceType_set(SoShapeHints self, SoSFEnum faceType)"}, - { (char *)"SoShapeHints_faceType_get", _wrap_SoShapeHints_faceType_get, METH_VARARGS, (char *)"SoShapeHints_faceType_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_windingType_set", _wrap_SoShapeHints_windingType_set, METH_VARARGS, (char *)"SoShapeHints_windingType_set(SoShapeHints self, SoSFEnum windingType)"}, - { (char *)"SoShapeHints_windingType_get", _wrap_SoShapeHints_windingType_get, METH_VARARGS, (char *)"SoShapeHints_windingType_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_useVBO_set", _wrap_SoShapeHints_useVBO_set, METH_VARARGS, (char *)"SoShapeHints_useVBO_set(SoShapeHints self, SoSFBool useVBO)"}, - { (char *)"SoShapeHints_useVBO_get", _wrap_SoShapeHints_useVBO_get, METH_VARARGS, (char *)"SoShapeHints_useVBO_get(SoShapeHints self) -> SoSFBool"}, - { (char *)"SoShapeHints_creaseAngle_set", _wrap_SoShapeHints_creaseAngle_set, METH_VARARGS, (char *)"SoShapeHints_creaseAngle_set(SoShapeHints self, SoSFFloat creaseAngle)"}, - { (char *)"SoShapeHints_creaseAngle_get", _wrap_SoShapeHints_creaseAngle_get, METH_VARARGS, (char *)"SoShapeHints_creaseAngle_get(SoShapeHints self) -> SoSFFloat"}, - { (char *)"SoShapeHints_doAction", _wrap_SoShapeHints_doAction, METH_VARARGS, (char *)"SoShapeHints_doAction(SoShapeHints self, SoAction action)"}, - { (char *)"SoShapeHints_GLRender", _wrap_SoShapeHints_GLRender, METH_VARARGS, (char *)"SoShapeHints_GLRender(SoShapeHints self, SoGLRenderAction action)"}, - { (char *)"SoShapeHints_callback", _wrap_SoShapeHints_callback, METH_VARARGS, (char *)"SoShapeHints_callback(SoShapeHints self, SoCallbackAction action)"}, - { (char *)"SoShapeHints_getBoundingBox", _wrap_SoShapeHints_getBoundingBox, METH_VARARGS, (char *)"SoShapeHints_getBoundingBox(SoShapeHints self, SoGetBoundingBoxAction action)"}, - { (char *)"SoShapeHints_pick", _wrap_SoShapeHints_pick, METH_VARARGS, (char *)"SoShapeHints_pick(SoShapeHints self, SoPickAction action)"}, - { (char *)"SoShapeHints_swigregister", SoShapeHints_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture_getClassTypeId", _wrap_SoTexture_getClassTypeId, METH_VARARGS, (char *)"SoTexture_getClassTypeId() -> SoType"}, - { (char *)"SoTexture_getTypeId", _wrap_SoTexture_getTypeId, METH_VARARGS, (char *)"SoTexture_getTypeId(SoTexture self) -> SoType"}, - { (char *)"SoTexture_initClass", _wrap_SoTexture_initClass, METH_VARARGS, (char *)"SoTexture_initClass()"}, - { (char *)"SoTexture_cleanupClass", _wrap_SoTexture_cleanupClass, METH_VARARGS, (char *)"SoTexture_cleanupClass()"}, - { (char *)"SoTexture_doAction", _wrap_SoTexture_doAction, METH_VARARGS, (char *)"SoTexture_doAction(SoTexture self, SoAction action)"}, - { (char *)"SoTexture_GLRender", _wrap_SoTexture_GLRender, METH_VARARGS, (char *)"SoTexture_GLRender(SoTexture self, SoGLRenderAction action)"}, - { (char *)"SoTexture_callback", _wrap_SoTexture_callback, METH_VARARGS, (char *)"SoTexture_callback(SoTexture self, SoCallbackAction action)"}, - { (char *)"SoTexture_swigregister", SoTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFImage", _wrap_new_SoSFImage, METH_VARARGS, (char *)"new_SoSFImage() -> SoSFImage"}, - { (char *)"delete_SoSFImage", _wrap_delete_SoSFImage, METH_VARARGS, (char *)"delete_SoSFImage(SoSFImage self)"}, - { (char *)"SoSFImage_createInstance", _wrap_SoSFImage_createInstance, METH_VARARGS, (char *)"SoSFImage_createInstance() -> void"}, - { (char *)"SoSFImage_getClassTypeId", _wrap_SoSFImage_getClassTypeId, METH_VARARGS, (char *)"SoSFImage_getClassTypeId() -> SoType"}, - { (char *)"SoSFImage_getTypeId", _wrap_SoSFImage_getTypeId, METH_VARARGS, (char *)"SoSFImage_getTypeId(SoSFImage self) -> SoType"}, - { (char *)"SoSFImage_copyFrom", _wrap_SoSFImage_copyFrom, METH_VARARGS, (char *)"SoSFImage_copyFrom(SoSFImage self, SoField field)"}, - { (char *)"SoSFImage_isSame", _wrap_SoSFImage_isSame, METH_VARARGS, (char *)"SoSFImage_isSame(SoSFImage self, SoField field) -> SbBool"}, - { (char *)"SoSFImage_initClass", _wrap_SoSFImage_initClass, METH_VARARGS, (char *)"SoSFImage_initClass()"}, - { (char *)"SoSFImage_getValue", _wrap_SoSFImage_getValue, METH_VARARGS, (char *)"\n" - "getValue(SbVec2s size) -> unsigned char\n" - "SoSFImage_getValue(SoSFImage self) -> SbImage\n" - ""}, - { (char *)"SoSFImage___eq__", _wrap_SoSFImage___eq__, METH_VARARGS, (char *)"SoSFImage___eq__(SoSFImage self, SoSFImage field) -> int"}, - { (char *)"SoSFImage___ne__", _wrap_SoSFImage___ne__, METH_VARARGS, (char *)"SoSFImage___ne__(SoSFImage self, SoSFImage field) -> int"}, - { (char *)"SoSFImage_startEditing", _wrap_SoSFImage_startEditing, METH_VARARGS, (char *)"SoSFImage_startEditing(SoSFImage self, SbVec2s size) -> unsigned char"}, - { (char *)"SoSFImage_finishEditing", _wrap_SoSFImage_finishEditing, METH_VARARGS, (char *)"SoSFImage_finishEditing(SoSFImage self)"}, - { (char *)"SoSFImage_setSubValue", _wrap_SoSFImage_setSubValue, METH_VARARGS, (char *)"SoSFImage_setSubValue(SoSFImage self, SbVec2s dims, SbVec2s offset, unsigned char pixels)"}, - { (char *)"SoSFImage_setSubValues", _wrap_SoSFImage_setSubValues, METH_VARARGS, (char *)"\n" - "SoSFImage_setSubValues(SoSFImage self, SbVec2s dims, SbVec2s offsets, int num, \n" - " unsigned char pixelblocks)\n" - ""}, - { (char *)"SoSFImage_getSubTexture", _wrap_SoSFImage_getSubTexture, METH_VARARGS, (char *)"SoSFImage_getSubTexture(SoSFImage self, int idx, SbVec2s dims, SbVec2s offset) -> unsigned char"}, - { (char *)"SoSFImage_hasSubTextures", _wrap_SoSFImage_hasSubTextures, METH_VARARGS, (char *)"SoSFImage_hasSubTextures(SoSFImage self, int numsubtextures) -> SbBool"}, - { (char *)"SoSFImage_setNeverWrite", _wrap_SoSFImage_setNeverWrite, METH_VARARGS, (char *)"SoSFImage_setNeverWrite(SoSFImage self, SbBool flag)"}, - { (char *)"SoSFImage_isNeverWrite", _wrap_SoSFImage_isNeverWrite, METH_VARARGS, (char *)"SoSFImage_isNeverWrite(SoSFImage self) -> SbBool"}, - { (char *)"SoSFImage_hasTransparency", _wrap_SoSFImage_hasTransparency, METH_VARARGS, (char *)"SoSFImage_hasTransparency(SoSFImage self) -> SbBool"}, - { (char *)"SoSFImage_setValue", _wrap_SoSFImage_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s size, int nc, unsigned char pixels, CopyPolicy copypolicy=COPY)\n" - "setValue(SbVec2s size, int nc, unsigned char pixels)\n" - "setValue(SbVec2s size, int nc, PyObject pixels)\n" - "SoSFImage_setValue(SoSFImage self, SoSFImage other)\n" - ""}, - { (char *)"SoSFImage_swigregister", SoSFImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFString", _wrap_new_SoSFString, METH_VARARGS, (char *)"new_SoSFString() -> SoSFString"}, - { (char *)"delete_SoSFString", _wrap_delete_SoSFString, METH_VARARGS, (char *)"delete_SoSFString(SoSFString self)"}, - { (char *)"SoSFString_createInstance", _wrap_SoSFString_createInstance, METH_VARARGS, (char *)"SoSFString_createInstance() -> void"}, - { (char *)"SoSFString_getClassTypeId", _wrap_SoSFString_getClassTypeId, METH_VARARGS, (char *)"SoSFString_getClassTypeId() -> SoType"}, - { (char *)"SoSFString_getTypeId", _wrap_SoSFString_getTypeId, METH_VARARGS, (char *)"SoSFString_getTypeId(SoSFString self) -> SoType"}, - { (char *)"SoSFString_copyFrom", _wrap_SoSFString_copyFrom, METH_VARARGS, (char *)"SoSFString_copyFrom(SoSFString self, SoField field)"}, - { (char *)"SoSFString_isSame", _wrap_SoSFString_isSame, METH_VARARGS, (char *)"SoSFString_isSame(SoSFString self, SoField field) -> SbBool"}, - { (char *)"SoSFString_getValue", _wrap_SoSFString_getValue, METH_VARARGS, (char *)"SoSFString_getValue(SoSFString self) -> SbString"}, - { (char *)"SoSFString___eq__", _wrap_SoSFString___eq__, METH_VARARGS, (char *)"SoSFString___eq__(SoSFString self, SoSFString field) -> int"}, - { (char *)"SoSFString___ne__", _wrap_SoSFString___ne__, METH_VARARGS, (char *)"SoSFString___ne__(SoSFString self, SoSFString field) -> int"}, - { (char *)"SoSFString_initClass", _wrap_SoSFString_initClass, METH_VARARGS, (char *)"SoSFString_initClass()"}, - { (char *)"SoSFString_setValue", _wrap_SoSFString_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbString newvalue)\n" - "setValue(char str)\n" - "SoSFString_setValue(SoSFString self, SoSFString other)\n" - ""}, - { (char *)"SoSFString_swigregister", SoSFString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFColor", _wrap_new_SoSFColor, METH_VARARGS, (char *)"new_SoSFColor() -> SoSFColor"}, - { (char *)"delete_SoSFColor", _wrap_delete_SoSFColor, METH_VARARGS, (char *)"delete_SoSFColor(SoSFColor self)"}, - { (char *)"SoSFColor_createInstance", _wrap_SoSFColor_createInstance, METH_VARARGS, (char *)"SoSFColor_createInstance() -> void"}, - { (char *)"SoSFColor_getClassTypeId", _wrap_SoSFColor_getClassTypeId, METH_VARARGS, (char *)"SoSFColor_getClassTypeId() -> SoType"}, - { (char *)"SoSFColor_getTypeId", _wrap_SoSFColor_getTypeId, METH_VARARGS, (char *)"SoSFColor_getTypeId(SoSFColor self) -> SoType"}, - { (char *)"SoSFColor_copyFrom", _wrap_SoSFColor_copyFrom, METH_VARARGS, (char *)"SoSFColor_copyFrom(SoSFColor self, SoField field)"}, - { (char *)"SoSFColor_isSame", _wrap_SoSFColor_isSame, METH_VARARGS, (char *)"SoSFColor_isSame(SoSFColor self, SoField field) -> SbBool"}, - { (char *)"SoSFColor_getValue", _wrap_SoSFColor_getValue, METH_VARARGS, (char *)"SoSFColor_getValue(SoSFColor self) -> SbColor"}, - { (char *)"SoSFColor___eq__", _wrap_SoSFColor___eq__, METH_VARARGS, (char *)"SoSFColor___eq__(SoSFColor self, SoSFColor field) -> int"}, - { (char *)"SoSFColor___ne__", _wrap_SoSFColor___ne__, METH_VARARGS, (char *)"SoSFColor___ne__(SoSFColor self, SoSFColor field) -> int"}, - { (char *)"SoSFColor_initClass", _wrap_SoSFColor_initClass, METH_VARARGS, (char *)"SoSFColor_initClass()"}, - { (char *)"SoSFColor_setHSVValue", _wrap_SoSFColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v)\n" - "SoSFColor_setHSVValue(SoSFColor self, float hsv)\n" - ""}, - { (char *)"SoSFColor_setValue", _wrap_SoSFColor_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor newvalue)\n" - "setValue(SbVec3f vec)\n" - "setValue(float red, float green, float blue)\n" - "setValue(float rgb)\n" - "SoSFColor_setValue(SoSFColor self, SoSFColor other)\n" - ""}, - { (char *)"SoSFColor_swigregister", SoSFColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoReplacedElement_getClassTypeId", _wrap_SoReplacedElement_getClassTypeId, METH_VARARGS, (char *)"SoReplacedElement_getClassTypeId() -> SoType"}, - { (char *)"SoReplacedElement_getClassStackIndex", _wrap_SoReplacedElement_getClassStackIndex, METH_VARARGS, (char *)"SoReplacedElement_getClassStackIndex() -> int"}, - { (char *)"SoReplacedElement_initClass", _wrap_SoReplacedElement_initClass, METH_VARARGS, (char *)"SoReplacedElement_initClass()"}, - { (char *)"SoReplacedElement_init", _wrap_SoReplacedElement_init, METH_VARARGS, (char *)"SoReplacedElement_init(SoReplacedElement self, SoState state)"}, - { (char *)"SoReplacedElement_matches", _wrap_SoReplacedElement_matches, METH_VARARGS, (char *)"SoReplacedElement_matches(SoReplacedElement self, SoElement element) -> SbBool"}, - { (char *)"SoReplacedElement_copyMatchInfo", _wrap_SoReplacedElement_copyMatchInfo, METH_VARARGS, (char *)"SoReplacedElement_copyMatchInfo(SoReplacedElement self) -> SoElement"}, - { (char *)"SoReplacedElement_getNodeId", _wrap_SoReplacedElement_getNodeId, METH_VARARGS, (char *)"SoReplacedElement_getNodeId(SoReplacedElement self) -> uint32_t"}, - { (char *)"SoReplacedElement_output", _wrap_SoReplacedElement_output, METH_VARARGS, (char *)"SoReplacedElement_output(SoReplacedElement self, FILE file)"}, - { (char *)"SoReplacedElement_swigregister", SoReplacedElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3s", _wrap_new_SbVec3s, METH_VARARGS, (char *)"\n" - "SbVec3s()\n" - "SbVec3s(short v)\n" - "SbVec3s(short x, short y, short z)\n" - "SbVec3s(SbVec3us v)\n" - "SbVec3s(SbVec3b v)\n" - "SbVec3s(SbVec3i32 v)\n" - "SbVec3s(SbVec3f v)\n" - "new_SbVec3s(SbVec3d v) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s_setValue", _wrap_SbVec3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(short v) -> SbVec3s\n" - "setValue(short x, short y, short z) -> SbVec3s\n" - "setValue(SbVec3us v) -> SbVec3s\n" - "setValue(SbVec3b v) -> SbVec3s\n" - "setValue(SbVec3i32 v) -> SbVec3s\n" - "setValue(SbVec3f v) -> SbVec3s\n" - "SbVec3s_setValue(SbVec3s self, SbVec3d v) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s_getValue", _wrap_SbVec3s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> short\n" - "SbVec3s_getValue(SbVec3s self, short x, short y, short z)\n" - ""}, - { (char *)"SbVec3s_dot", _wrap_SbVec3s_dot, METH_VARARGS, (char *)"SbVec3s_dot(SbVec3s self, SbVec3s v) -> int32_t"}, - { (char *)"SbVec3s_negate", _wrap_SbVec3s_negate, METH_VARARGS, (char *)"SbVec3s_negate(SbVec3s self)"}, - { (char *)"SbVec3s___imul__", _wrap_SbVec3s___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec3s\n" - "SbVec3s___imul__(SbVec3s self, double d) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s___idiv__", _wrap_SbVec3s___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec3s\n" - "SbVec3s___idiv__(SbVec3s self, double d) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s___iadd__", _wrap_SbVec3s___iadd__, METH_VARARGS, (char *)"SbVec3s___iadd__(SbVec3s self, SbVec3s v) -> SbVec3s"}, - { (char *)"SbVec3s___isub__", _wrap_SbVec3s___isub__, METH_VARARGS, (char *)"SbVec3s___isub__(SbVec3s self, SbVec3s v) -> SbVec3s"}, - { (char *)"SbVec3s___neg__", _wrap_SbVec3s___neg__, METH_VARARGS, (char *)"SbVec3s___neg__(SbVec3s self) -> SbVec3s"}, - { (char *)"SbVec3s_output", _wrap_SbVec3s_output, METH_VARARGS, (char *)"SbVec3s_output(SbVec3s self, FILE fp)"}, - { (char *)"SbVec3s___add__", _wrap_SbVec3s___add__, METH_VARARGS, (char *)"SbVec3s___add__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___sub__", _wrap_SbVec3s___sub__, METH_VARARGS, (char *)"SbVec3s___sub__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___mul__", _wrap_SbVec3s___mul__, METH_VARARGS, (char *)"SbVec3s___mul__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___rmul__", _wrap_SbVec3s___rmul__, METH_VARARGS, (char *)"SbVec3s___rmul__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___div__", _wrap_SbVec3s___div__, METH_VARARGS, (char *)"SbVec3s___div__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___eq__", _wrap_SbVec3s___eq__, METH_VARARGS, (char *)"SbVec3s___eq__(SbVec3s self, SbVec3s u) -> int"}, - { (char *)"SbVec3s___nq__", _wrap_SbVec3s___nq__, METH_VARARGS, (char *)"SbVec3s___nq__(SbVec3s self, SbVec3s u) -> int"}, - { (char *)"SbVec3s___getitem__", _wrap_SbVec3s___getitem__, METH_VARARGS, (char *)"SbVec3s___getitem__(SbVec3s self, int i) -> short"}, - { (char *)"SbVec3s___setitem__", _wrap_SbVec3s___setitem__, METH_VARARGS, (char *)"SbVec3s___setitem__(SbVec3s self, int i, short value)"}, - { (char *)"delete_SbVec3s", _wrap_delete_SbVec3s, METH_VARARGS, (char *)"delete_SbVec3s(SbVec3s self)"}, - { (char *)"SbVec3s_swigregister", SbVec3s_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureImageElement_getClassTypeId", _wrap_SoTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureImageElement_getClassStackIndex", _wrap_SoTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureImageElement_createInstance", _wrap_SoTextureImageElement_createInstance, METH_VARARGS, (char *)"SoTextureImageElement_createInstance() -> void"}, - { (char *)"SoTextureImageElement_initClass", _wrap_SoTextureImageElement_initClass, METH_VARARGS, (char *)"SoTextureImageElement_initClass()"}, - { (char *)"SoTextureImageElement_init", _wrap_SoTextureImageElement_init, METH_VARARGS, (char *)"SoTextureImageElement_init(SoTextureImageElement self, SoState state)"}, - { (char *)"SoTextureImageElement_setDefault", _wrap_SoTextureImageElement_setDefault, METH_VARARGS, (char *)"SoTextureImageElement_setDefault(SoState state, SoNode node)"}, - { (char *)"SoTextureImageElement_set", _wrap_SoTextureImageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbVec2s size, int numComponents, \n" - " unsigned char bytes, int wrapS, int wrapT, \n" - " int model, SbColor blendColor)\n" - "set(SoState state, SoNode node, SbVec3s size, int numComponents, \n" - " unsigned char bytes, int wrapS, int wrapT, \n" - " int wrapR, int model, SbColor blendColor)\n" - "set(SoState state, SoNode node, SbVec2s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Model model, SbColor blendColor)\n" - "SoTextureImageElement_set(SoState state, SoNode node, SbVec3s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Wrap wrapR, Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoTextureImageElement_get", _wrap_SoTextureImageElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, \n" - " Wrap wrapT, Model model, SbColor blendColor) -> unsigned char\n" - "get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, \n" - " Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor) -> unsigned char\n" - "get(SoState state, SbVec2s size, int numComponents, int wrapS, \n" - " int wrapT, int model, SbColor blendColor) -> unsigned char\n" - "SoTextureImageElement_get(SoState state, SbVec3s size, int numComponents, int wrapS, \n" - " int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_getBlendColor", _wrap_SoTextureImageElement_getBlendColor, METH_VARARGS, (char *)"SoTextureImageElement_getBlendColor(SoState state) -> SbColor"}, - { (char *)"SoTextureImageElement_getImage", _wrap_SoTextureImageElement_getImage, METH_VARARGS, (char *)"\n" - "getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char\n" - "SoTextureImageElement_getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_getModel", _wrap_SoTextureImageElement_getModel, METH_VARARGS, (char *)"SoTextureImageElement_getModel(SoState state) -> Model"}, - { (char *)"SoTextureImageElement_getWrapS", _wrap_SoTextureImageElement_getWrapS, METH_VARARGS, (char *)"SoTextureImageElement_getWrapS(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_getWrapT", _wrap_SoTextureImageElement_getWrapT, METH_VARARGS, (char *)"SoTextureImageElement_getWrapT(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_getWrapR", _wrap_SoTextureImageElement_getWrapR, METH_VARARGS, (char *)"SoTextureImageElement_getWrapR(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_containsTransparency", _wrap_SoTextureImageElement_containsTransparency, METH_VARARGS, (char *)"SoTextureImageElement_containsTransparency(SoState state) -> SbBool"}, - { (char *)"SoTextureImageElement_getDefault", _wrap_SoTextureImageElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault(SbVec2s size, int numComponents) -> unsigned char\n" - "SoTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_swigregister", SoTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture2_getClassTypeId", _wrap_SoTexture2_getClassTypeId, METH_VARARGS, (char *)"SoTexture2_getClassTypeId() -> SoType"}, - { (char *)"SoTexture2_getTypeId", _wrap_SoTexture2_getTypeId, METH_VARARGS, (char *)"SoTexture2_getTypeId(SoTexture2 self) -> SoType"}, - { (char *)"SoTexture2_initClass", _wrap_SoTexture2_initClass, METH_VARARGS, (char *)"SoTexture2_initClass()"}, - { (char *)"new_SoTexture2", _wrap_new_SoTexture2, METH_VARARGS, (char *)"new_SoTexture2() -> SoTexture2"}, - { (char *)"SoTexture2_filename_set", _wrap_SoTexture2_filename_set, METH_VARARGS, (char *)"SoTexture2_filename_set(SoTexture2 self, SoSFString filename)"}, - { (char *)"SoTexture2_filename_get", _wrap_SoTexture2_filename_get, METH_VARARGS, (char *)"SoTexture2_filename_get(SoTexture2 self) -> SoSFString"}, - { (char *)"SoTexture2_image_set", _wrap_SoTexture2_image_set, METH_VARARGS, (char *)"SoTexture2_image_set(SoTexture2 self, SoSFImage image)"}, - { (char *)"SoTexture2_image_get", _wrap_SoTexture2_image_get, METH_VARARGS, (char *)"SoTexture2_image_get(SoTexture2 self) -> SoSFImage"}, - { (char *)"SoTexture2_wrapS_set", _wrap_SoTexture2_wrapS_set, METH_VARARGS, (char *)"SoTexture2_wrapS_set(SoTexture2 self, SoSFEnum wrapS)"}, - { (char *)"SoTexture2_wrapS_get", _wrap_SoTexture2_wrapS_get, METH_VARARGS, (char *)"SoTexture2_wrapS_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_wrapT_set", _wrap_SoTexture2_wrapT_set, METH_VARARGS, (char *)"SoTexture2_wrapT_set(SoTexture2 self, SoSFEnum wrapT)"}, - { (char *)"SoTexture2_wrapT_get", _wrap_SoTexture2_wrapT_get, METH_VARARGS, (char *)"SoTexture2_wrapT_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_model_set", _wrap_SoTexture2_model_set, METH_VARARGS, (char *)"SoTexture2_model_set(SoTexture2 self, SoSFEnum model)"}, - { (char *)"SoTexture2_model_get", _wrap_SoTexture2_model_get, METH_VARARGS, (char *)"SoTexture2_model_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_blendColor_set", _wrap_SoTexture2_blendColor_set, METH_VARARGS, (char *)"SoTexture2_blendColor_set(SoTexture2 self, SoSFColor blendColor)"}, - { (char *)"SoTexture2_blendColor_get", _wrap_SoTexture2_blendColor_get, METH_VARARGS, (char *)"SoTexture2_blendColor_get(SoTexture2 self) -> SoSFColor"}, - { (char *)"SoTexture2_enableCompressedTexture_set", _wrap_SoTexture2_enableCompressedTexture_set, METH_VARARGS, (char *)"SoTexture2_enableCompressedTexture_set(SoTexture2 self, SoSFBool enableCompressedTexture)"}, - { (char *)"SoTexture2_enableCompressedTexture_get", _wrap_SoTexture2_enableCompressedTexture_get, METH_VARARGS, (char *)"SoTexture2_enableCompressedTexture_get(SoTexture2 self) -> SoSFBool"}, - { (char *)"SoTexture2_doAction", _wrap_SoTexture2_doAction, METH_VARARGS, (char *)"SoTexture2_doAction(SoTexture2 self, SoAction action)"}, - { (char *)"SoTexture2_GLRender", _wrap_SoTexture2_GLRender, METH_VARARGS, (char *)"SoTexture2_GLRender(SoTexture2 self, SoGLRenderAction action)"}, - { (char *)"SoTexture2_callback", _wrap_SoTexture2_callback, METH_VARARGS, (char *)"SoTexture2_callback(SoTexture2 self, SoCallbackAction action)"}, - { (char *)"SoTexture2_rayPick", _wrap_SoTexture2_rayPick, METH_VARARGS, (char *)"SoTexture2_rayPick(SoTexture2 self, SoRayPickAction action)"}, - { (char *)"SoTexture2_readImage", _wrap_SoTexture2_readImage, METH_VARARGS, (char *)"SoTexture2_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool"}, - { (char *)"SoTexture2_swigregister", SoTexture2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateBindingElement_getClassTypeId", _wrap_SoTextureCoordinateBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateBindingElement_getClassStackIndex", _wrap_SoTextureCoordinateBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCoordinateBindingElement_createInstance", _wrap_SoTextureCoordinateBindingElement_createInstance, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_createInstance() -> void"}, - { (char *)"SoTextureCoordinateBindingElement_initClass", _wrap_SoTextureCoordinateBindingElement_initClass, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_initClass()"}, - { (char *)"SoTextureCoordinateBindingElement_init", _wrap_SoTextureCoordinateBindingElement_init, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_init(SoTextureCoordinateBindingElement self, SoState state)"}, - { (char *)"SoTextureCoordinateBindingElement_set", _wrap_SoTextureCoordinateBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoTextureCoordinateBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoTextureCoordinateBindingElement_get", _wrap_SoTextureCoordinateBindingElement_get, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoTextureCoordinateBindingElement_getDefault", _wrap_SoTextureCoordinateBindingElement_getDefault, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getDefault() -> Binding"}, - { (char *)"SoTextureCoordinateBindingElement_swigregister", SoTextureCoordinateBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateBinding_getClassTypeId", _wrap_SoTextureCoordinateBinding_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBinding_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateBinding_getTypeId", _wrap_SoTextureCoordinateBinding_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBinding_getTypeId(SoTextureCoordinateBinding self) -> SoType"}, - { (char *)"SoTextureCoordinateBinding_initClass", _wrap_SoTextureCoordinateBinding_initClass, METH_VARARGS, (char *)"SoTextureCoordinateBinding_initClass()"}, - { (char *)"new_SoTextureCoordinateBinding", _wrap_new_SoTextureCoordinateBinding, METH_VARARGS, (char *)"new_SoTextureCoordinateBinding() -> SoTextureCoordinateBinding"}, - { (char *)"SoTextureCoordinateBinding_value_set", _wrap_SoTextureCoordinateBinding_value_set, METH_VARARGS, (char *)"SoTextureCoordinateBinding_value_set(SoTextureCoordinateBinding self, SoSFEnum value)"}, - { (char *)"SoTextureCoordinateBinding_value_get", _wrap_SoTextureCoordinateBinding_value_get, METH_VARARGS, (char *)"SoTextureCoordinateBinding_value_get(SoTextureCoordinateBinding self) -> SoSFEnum"}, - { (char *)"SoTextureCoordinateBinding_doAction", _wrap_SoTextureCoordinateBinding_doAction, METH_VARARGS, (char *)"SoTextureCoordinateBinding_doAction(SoTextureCoordinateBinding self, SoAction action)"}, - { (char *)"SoTextureCoordinateBinding_callback", _wrap_SoTextureCoordinateBinding_callback, METH_VARARGS, (char *)"SoTextureCoordinateBinding_callback(SoTextureCoordinateBinding self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateBinding_GLRender", _wrap_SoTextureCoordinateBinding_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateBinding_GLRender(SoTextureCoordinateBinding self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateBinding_pick", _wrap_SoTextureCoordinateBinding_pick, METH_VARARGS, (char *)"SoTextureCoordinateBinding_pick(SoTextureCoordinateBinding self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateBinding_swigregister", SoTextureCoordinateBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformation_getClassTypeId", _wrap_SoTransformation_getClassTypeId, METH_VARARGS, (char *)"SoTransformation_getClassTypeId() -> SoType"}, - { (char *)"SoTransformation_getTypeId", _wrap_SoTransformation_getTypeId, METH_VARARGS, (char *)"SoTransformation_getTypeId(SoTransformation self) -> SoType"}, - { (char *)"SoTransformation_initClass", _wrap_SoTransformation_initClass, METH_VARARGS, (char *)"SoTransformation_initClass()"}, - { (char *)"SoTransformation_swigregister", SoTransformation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoUnits_getClassTypeId", _wrap_SoUnits_getClassTypeId, METH_VARARGS, (char *)"SoUnits_getClassTypeId() -> SoType"}, - { (char *)"SoUnits_getTypeId", _wrap_SoUnits_getTypeId, METH_VARARGS, (char *)"SoUnits_getTypeId(SoUnits self) -> SoType"}, - { (char *)"SoUnits_initClass", _wrap_SoUnits_initClass, METH_VARARGS, (char *)"SoUnits_initClass()"}, - { (char *)"new_SoUnits", _wrap_new_SoUnits, METH_VARARGS, (char *)"new_SoUnits() -> SoUnits"}, - { (char *)"SoUnits_units_set", _wrap_SoUnits_units_set, METH_VARARGS, (char *)"SoUnits_units_set(SoUnits self, SoSFEnum units)"}, - { (char *)"SoUnits_units_get", _wrap_SoUnits_units_get, METH_VARARGS, (char *)"SoUnits_units_get(SoUnits self) -> SoSFEnum"}, - { (char *)"SoUnits_doAction", _wrap_SoUnits_doAction, METH_VARARGS, (char *)"SoUnits_doAction(SoUnits self, SoAction action)"}, - { (char *)"SoUnits_callback", _wrap_SoUnits_callback, METH_VARARGS, (char *)"SoUnits_callback(SoUnits self, SoCallbackAction action)"}, - { (char *)"SoUnits_getBoundingBox", _wrap_SoUnits_getBoundingBox, METH_VARARGS, (char *)"SoUnits_getBoundingBox(SoUnits self, SoGetBoundingBoxAction action)"}, - { (char *)"SoUnits_getMatrix", _wrap_SoUnits_getMatrix, METH_VARARGS, (char *)"SoUnits_getMatrix(SoUnits self, SoGetMatrixAction action)"}, - { (char *)"SoUnits_GLRender", _wrap_SoUnits_GLRender, METH_VARARGS, (char *)"SoUnits_GLRender(SoUnits self, SoGLRenderAction action)"}, - { (char *)"SoUnits_pick", _wrap_SoUnits_pick, METH_VARARGS, (char *)"SoUnits_pick(SoUnits self, SoPickAction action)"}, - { (char *)"SoUnits_getPrimitiveCount", _wrap_SoUnits_getPrimitiveCount, METH_VARARGS, (char *)"SoUnits_getPrimitiveCount(SoUnits self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoUnits_swigregister", SoUnits_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCallbackAction_getTypeId", _wrap_SoCallbackAction_getTypeId, METH_VARARGS, (char *)"SoCallbackAction_getTypeId(SoCallbackAction self) -> SoType"}, - { (char *)"SoCallbackAction_getClassTypeId", _wrap_SoCallbackAction_getClassTypeId, METH_VARARGS, (char *)"SoCallbackAction_getClassTypeId() -> SoType"}, - { (char *)"SoCallbackAction_addMethod", _wrap_SoCallbackAction_addMethod, METH_VARARGS, (char *)"SoCallbackAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoCallbackAction_enableElement", _wrap_SoCallbackAction_enableElement, METH_VARARGS, (char *)"SoCallbackAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoCallbackAction_initClass", _wrap_SoCallbackAction_initClass, METH_VARARGS, (char *)"SoCallbackAction_initClass()"}, - { (char *)"new_SoCallbackAction", _wrap_new_SoCallbackAction, METH_VARARGS, (char *)"\n" - "SoCallbackAction()\n" - "new_SoCallbackAction(SbViewportRegion vp) -> SoCallbackAction\n" - ""}, - { (char *)"delete_SoCallbackAction", _wrap_delete_SoCallbackAction, METH_VARARGS, (char *)"delete_SoCallbackAction(SoCallbackAction self)"}, - { (char *)"SoCallbackAction_setViewportRegion", _wrap_SoCallbackAction_setViewportRegion, METH_VARARGS, (char *)"SoCallbackAction_setViewportRegion(SoCallbackAction self, SbViewportRegion vp)"}, - { (char *)"SoCallbackAction_getDecimationType", _wrap_SoCallbackAction_getDecimationType, METH_VARARGS, (char *)"SoCallbackAction_getDecimationType(SoCallbackAction self) -> Type"}, - { (char *)"SoCallbackAction_getDecimationPercentage", _wrap_SoCallbackAction_getDecimationPercentage, METH_VARARGS, (char *)"SoCallbackAction_getDecimationPercentage(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getComplexity", _wrap_SoCallbackAction_getComplexity, METH_VARARGS, (char *)"SoCallbackAction_getComplexity(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getComplexityType", _wrap_SoCallbackAction_getComplexityType, METH_VARARGS, (char *)"SoCallbackAction_getComplexityType(SoCallbackAction self) -> Type"}, - { (char *)"SoCallbackAction_getNumCoordinates", _wrap_SoCallbackAction_getNumCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getCoordinate3", _wrap_SoCallbackAction_getCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getCoordinate4", _wrap_SoCallbackAction_getCoordinate4, METH_VARARGS, (char *)"SoCallbackAction_getCoordinate4(SoCallbackAction self, int index) -> SbVec4f"}, - { (char *)"SoCallbackAction_getDrawStyle", _wrap_SoCallbackAction_getDrawStyle, METH_VARARGS, (char *)"SoCallbackAction_getDrawStyle(SoCallbackAction self) -> Style"}, - { (char *)"SoCallbackAction_getLinePattern", _wrap_SoCallbackAction_getLinePattern, METH_VARARGS, (char *)"SoCallbackAction_getLinePattern(SoCallbackAction self) -> unsigned short"}, - { (char *)"SoCallbackAction_getLineWidth", _wrap_SoCallbackAction_getLineWidth, METH_VARARGS, (char *)"SoCallbackAction_getLineWidth(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getPointSize", _wrap_SoCallbackAction_getPointSize, METH_VARARGS, (char *)"SoCallbackAction_getPointSize(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getFontName", _wrap_SoCallbackAction_getFontName, METH_VARARGS, (char *)"SoCallbackAction_getFontName(SoCallbackAction self) -> SbName"}, - { (char *)"SoCallbackAction_getFontSize", _wrap_SoCallbackAction_getFontSize, METH_VARARGS, (char *)"SoCallbackAction_getFontSize(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getLightModel", _wrap_SoCallbackAction_getLightModel, METH_VARARGS, (char *)"SoCallbackAction_getLightModel(SoCallbackAction self) -> Model"}, - { (char *)"SoCallbackAction_getLightAttenuation", _wrap_SoCallbackAction_getLightAttenuation, METH_VARARGS, (char *)"SoCallbackAction_getLightAttenuation(SoCallbackAction self) -> SbVec3f"}, - { (char *)"SoCallbackAction_getMaterialBinding", _wrap_SoCallbackAction_getMaterialBinding, METH_VARARGS, (char *)"SoCallbackAction_getMaterialBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getNumNormals", _wrap_SoCallbackAction_getNumNormals, METH_VARARGS, (char *)"SoCallbackAction_getNumNormals(SoCallbackAction self) -> uint32_t"}, - { (char *)"SoCallbackAction_getNormal", _wrap_SoCallbackAction_getNormal, METH_VARARGS, (char *)"SoCallbackAction_getNormal(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getNormalBinding", _wrap_SoCallbackAction_getNormalBinding, METH_VARARGS, (char *)"SoCallbackAction_getNormalBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getNumProfileCoordinates", _wrap_SoCallbackAction_getNumProfileCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumProfileCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getProfileCoordinate2", _wrap_SoCallbackAction_getProfileCoordinate2, METH_VARARGS, (char *)"SoCallbackAction_getProfileCoordinate2(SoCallbackAction self, int index) -> SbVec2f"}, - { (char *)"SoCallbackAction_getProfileCoordinate3", _wrap_SoCallbackAction_getProfileCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getProfileCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getProfile", _wrap_SoCallbackAction_getProfile, METH_VARARGS, (char *)"SoCallbackAction_getProfile(SoCallbackAction self) -> SoNodeList"}, - { (char *)"SoCallbackAction_getVertexOrdering", _wrap_SoCallbackAction_getVertexOrdering, METH_VARARGS, (char *)"SoCallbackAction_getVertexOrdering(SoCallbackAction self) -> VertexOrdering"}, - { (char *)"SoCallbackAction_getShapeType", _wrap_SoCallbackAction_getShapeType, METH_VARARGS, (char *)"SoCallbackAction_getShapeType(SoCallbackAction self) -> ShapeType"}, - { (char *)"SoCallbackAction_getFaceType", _wrap_SoCallbackAction_getFaceType, METH_VARARGS, (char *)"SoCallbackAction_getFaceType(SoCallbackAction self) -> FaceType"}, - { (char *)"SoCallbackAction_getCreaseAngle", _wrap_SoCallbackAction_getCreaseAngle, METH_VARARGS, (char *)"SoCallbackAction_getCreaseAngle(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getNumTextureCoordinates", _wrap_SoCallbackAction_getNumTextureCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumTextureCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getTextureCoordinate2", _wrap_SoCallbackAction_getTextureCoordinate2, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate2(SoCallbackAction self, int index) -> SbVec2f"}, - { (char *)"SoCallbackAction_getTextureCoordinate3", _wrap_SoCallbackAction_getTextureCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getTextureCoordinate4", _wrap_SoCallbackAction_getTextureCoordinate4, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate4(SoCallbackAction self, int index) -> SbVec4f"}, - { (char *)"SoCallbackAction_getTextureCoordinateBinding", _wrap_SoCallbackAction_getTextureCoordinateBinding, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinateBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getTextureBlendColor", _wrap_SoCallbackAction_getTextureBlendColor, METH_VARARGS, (char *)"SoCallbackAction_getTextureBlendColor(SoCallbackAction self) -> SbColor"}, - { (char *)"SoCallbackAction_getTextureImage", _wrap_SoCallbackAction_getTextureImage, METH_VARARGS, (char *)"\n" - "getTextureImage(SbVec2s size, int numcomps) -> unsigned char\n" - "SoCallbackAction_getTextureImage(SoCallbackAction self, SbVec3s size, int numcomps) -> unsigned char\n" - ""}, - { (char *)"SoCallbackAction_getTextureMatrix", _wrap_SoCallbackAction_getTextureMatrix, METH_VARARGS, (char *)"SoCallbackAction_getTextureMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getTextureModel", _wrap_SoCallbackAction_getTextureModel, METH_VARARGS, (char *)"SoCallbackAction_getTextureModel(SoCallbackAction self) -> Model"}, - { (char *)"SoCallbackAction_getTextureWrapS", _wrap_SoCallbackAction_getTextureWrapS, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapS(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getTextureWrapT", _wrap_SoCallbackAction_getTextureWrapT, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapT(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getTextureWrapR", _wrap_SoCallbackAction_getTextureWrapR, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapR(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getModelMatrix", _wrap_SoCallbackAction_getModelMatrix, METH_VARARGS, (char *)"SoCallbackAction_getModelMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getUnits", _wrap_SoCallbackAction_getUnits, METH_VARARGS, (char *)"SoCallbackAction_getUnits(SoCallbackAction self) -> Units"}, - { (char *)"SoCallbackAction_getFocalDistance", _wrap_SoCallbackAction_getFocalDistance, METH_VARARGS, (char *)"SoCallbackAction_getFocalDistance(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getProjectionMatrix", _wrap_SoCallbackAction_getProjectionMatrix, METH_VARARGS, (char *)"SoCallbackAction_getProjectionMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getViewingMatrix", _wrap_SoCallbackAction_getViewingMatrix, METH_VARARGS, (char *)"SoCallbackAction_getViewingMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getViewVolume", _wrap_SoCallbackAction_getViewVolume, METH_VARARGS, (char *)"SoCallbackAction_getViewVolume(SoCallbackAction self) -> SbViewVolume"}, - { (char *)"SoCallbackAction_getViewportRegion", _wrap_SoCallbackAction_getViewportRegion, METH_VARARGS, (char *)"SoCallbackAction_getViewportRegion(SoCallbackAction self) -> SbViewportRegion"}, - { (char *)"SoCallbackAction_getPickStyle", _wrap_SoCallbackAction_getPickStyle, METH_VARARGS, (char *)"SoCallbackAction_getPickStyle(SoCallbackAction self) -> Style"}, - { (char *)"SoCallbackAction_getSwitch", _wrap_SoCallbackAction_getSwitch, METH_VARARGS, (char *)"SoCallbackAction_getSwitch(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getCurrentResponse", _wrap_SoCallbackAction_getCurrentResponse, METH_VARARGS, (char *)"SoCallbackAction_getCurrentResponse(SoCallbackAction self) -> Response"}, - { (char *)"SoCallbackAction_invokePreCallbacks", _wrap_SoCallbackAction_invokePreCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePreCallbacks(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_invokePostCallbacks", _wrap_SoCallbackAction_invokePostCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePostCallbacks(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_invokeTriangleCallbacks", _wrap_SoCallbackAction_invokeTriangleCallbacks, METH_VARARGS, (char *)"\n" - "SoCallbackAction_invokeTriangleCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v1, \n" - " SoPrimitiveVertex v2, SoPrimitiveVertex v3)\n" - ""}, - { (char *)"SoCallbackAction_invokeLineSegmentCallbacks", _wrap_SoCallbackAction_invokeLineSegmentCallbacks, METH_VARARGS, (char *)"\n" - "SoCallbackAction_invokeLineSegmentCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v1, \n" - " SoPrimitiveVertex v2)\n" - ""}, - { (char *)"SoCallbackAction_invokePointCallbacks", _wrap_SoCallbackAction_invokePointCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePointCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v)"}, - { (char *)"SoCallbackAction_shouldGeneratePrimitives", _wrap_SoCallbackAction_shouldGeneratePrimitives, METH_VARARGS, (char *)"SoCallbackAction_shouldGeneratePrimitives(SoCallbackAction self, SoShape shape) -> SbBool"}, - { (char *)"SoCallbackAction_getCurPathTail", _wrap_SoCallbackAction_getCurPathTail, METH_VARARGS, (char *)"SoCallbackAction_getCurPathTail(SoCallbackAction self) -> SoNode"}, - { (char *)"SoCallbackAction_setCurrentNode", _wrap_SoCallbackAction_setCurrentNode, METH_VARARGS, (char *)"SoCallbackAction_setCurrentNode(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_setCallbackAll", _wrap_SoCallbackAction_setCallbackAll, METH_VARARGS, (char *)"SoCallbackAction_setCallbackAll(SoCallbackAction self, SbBool callbackall)"}, - { (char *)"SoCallbackAction_isCallbackAll", _wrap_SoCallbackAction_isCallbackAll, METH_VARARGS, (char *)"SoCallbackAction_isCallbackAll(SoCallbackAction self) -> SbBool"}, - { (char *)"SoCallbackAction_getMaterial", _wrap_SoCallbackAction_getMaterial, METH_VARARGS, (char *)"\n" - "getMaterial(int index=0) -> PyObject\n" - "SoCallbackAction_getMaterial(SoCallbackAction self) -> PyObject\n" - ""}, - { (char *)"SoCallbackAction_addPreCallback", _wrap_SoCallbackAction_addPreCallback, METH_VARARGS, (char *)"\n" - "addPreCallback(SoType type, SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPreCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPostCallback", _wrap_SoCallbackAction_addPostCallback, METH_VARARGS, (char *)"\n" - "addPostCallback(SoType type, SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPostCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPreTailCallback", _wrap_SoCallbackAction_addPreTailCallback, METH_VARARGS, (char *)"\n" - "addPreTailCallback(SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPreTailCallback(SoCallbackAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPostTailCallback", _wrap_SoCallbackAction_addPostTailCallback, METH_VARARGS, (char *)"\n" - "addPostTailCallback(SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPostTailCallback(SoCallbackAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addTriangleCallback", _wrap_SoCallbackAction_addTriangleCallback, METH_VARARGS, (char *)"\n" - "addTriangleCallback(SoType type, SoTriangleCB cb, void userdata)\n" - "SoCallbackAction_addTriangleCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addLineSegmentCallback", _wrap_SoCallbackAction_addLineSegmentCallback, METH_VARARGS, (char *)"\n" - "addLineSegmentCallback(SoType type, SoLineSegmentCB cb, void userdata)\n" - "SoCallbackAction_addLineSegmentCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPointCallback", _wrap_SoCallbackAction_addPointCallback, METH_VARARGS, (char *)"\n" - "addPointCallback(SoType type, SoPointCB cb, void userdata)\n" - "SoCallbackAction_addPointCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_swigregister", SoCallbackAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2f", _wrap_new_SbVec2f, METH_VARARGS, (char *)"\n" - "SbVec2f()\n" - "SbVec2f(float v)\n" - "SbVec2f(float x, float y)\n" - "SbVec2f(SbVec2d v)\n" - "SbVec2f(SbVec2b v)\n" - "SbVec2f(SbVec2s v)\n" - "new_SbVec2f(SbVec2i32 v) -> SbVec2f\n" - ""}, - { (char *)"SbVec2f_setValue", _wrap_SbVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec2f\n" - "setValue(float x, float y) -> SbVec2f\n" - "setValue(SbVec2d v) -> SbVec2f\n" - "setValue(SbVec2b v) -> SbVec2f\n" - "setValue(SbVec2s v) -> SbVec2f\n" - "SbVec2f_setValue(SbVec2f self, SbVec2i32 v) -> SbVec2f\n" - ""}, - { (char *)"SbVec2f_getValue", _wrap_SbVec2f_getValue, METH_VARARGS, (char *)"SbVec2f_getValue(SbVec2f self, float x, float y)"}, - { (char *)"SbVec2f_dot", _wrap_SbVec2f_dot, METH_VARARGS, (char *)"SbVec2f_dot(SbVec2f self, SbVec2f v) -> float"}, - { (char *)"SbVec2f_equals", _wrap_SbVec2f_equals, METH_VARARGS, (char *)"SbVec2f_equals(SbVec2f self, SbVec2f v, float tolerance) -> SbBool"}, - { (char *)"SbVec2f_length", _wrap_SbVec2f_length, METH_VARARGS, (char *)"SbVec2f_length(SbVec2f self) -> float"}, - { (char *)"SbVec2f_sqrLength", _wrap_SbVec2f_sqrLength, METH_VARARGS, (char *)"SbVec2f_sqrLength(SbVec2f self) -> float"}, - { (char *)"SbVec2f_negate", _wrap_SbVec2f_negate, METH_VARARGS, (char *)"SbVec2f_negate(SbVec2f self)"}, - { (char *)"SbVec2f_normalize", _wrap_SbVec2f_normalize, METH_VARARGS, (char *)"SbVec2f_normalize(SbVec2f self) -> float"}, - { (char *)"SbVec2f___imul__", _wrap_SbVec2f___imul__, METH_VARARGS, (char *)"SbVec2f___imul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___idiv__", _wrap_SbVec2f___idiv__, METH_VARARGS, (char *)"SbVec2f___idiv__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___iadd__", _wrap_SbVec2f___iadd__, METH_VARARGS, (char *)"SbVec2f___iadd__(SbVec2f self, SbVec2f v) -> SbVec2f"}, - { (char *)"SbVec2f___isub__", _wrap_SbVec2f___isub__, METH_VARARGS, (char *)"SbVec2f___isub__(SbVec2f self, SbVec2f v) -> SbVec2f"}, - { (char *)"SbVec2f___neg__", _wrap_SbVec2f___neg__, METH_VARARGS, (char *)"SbVec2f___neg__(SbVec2f self) -> SbVec2f"}, - { (char *)"SbVec2f_output", _wrap_SbVec2f_output, METH_VARARGS, (char *)"SbVec2f_output(SbVec2f self, FILE fp)"}, - { (char *)"SbVec2f___add__", _wrap_SbVec2f___add__, METH_VARARGS, (char *)"SbVec2f___add__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___sub__", _wrap_SbVec2f___sub__, METH_VARARGS, (char *)"SbVec2f___sub__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___mul__", _wrap_SbVec2f___mul__, METH_VARARGS, (char *)"SbVec2f___mul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___rmul__", _wrap_SbVec2f___rmul__, METH_VARARGS, (char *)"SbVec2f___rmul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___div__", _wrap_SbVec2f___div__, METH_VARARGS, (char *)"SbVec2f___div__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___eq__", _wrap_SbVec2f___eq__, METH_VARARGS, (char *)"SbVec2f___eq__(SbVec2f self, SbVec2f u) -> int"}, - { (char *)"SbVec2f___nq__", _wrap_SbVec2f___nq__, METH_VARARGS, (char *)"SbVec2f___nq__(SbVec2f self, SbVec2f u) -> int"}, - { (char *)"SbVec2f___getitem__", _wrap_SbVec2f___getitem__, METH_VARARGS, (char *)"SbVec2f___getitem__(SbVec2f self, int i) -> float"}, - { (char *)"SbVec2f___setitem__", _wrap_SbVec2f___setitem__, METH_VARARGS, (char *)"SbVec2f___setitem__(SbVec2f self, int i, float value)"}, - { (char *)"delete_SbVec2f", _wrap_delete_SbVec2f, METH_VARARGS, (char *)"delete_SbVec2f(SbVec2f self)"}, - { (char *)"SbVec2f_swigregister", SbVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbViewportRegion", _wrap_new_SbViewportRegion, METH_VARARGS, (char *)"\n" - "SbViewportRegion()\n" - "SbViewportRegion(short width, short height)\n" - "SbViewportRegion(SbVec2s winSize)\n" - "new_SbViewportRegion(SbViewportRegion vpReg) -> SbViewportRegion\n" - ""}, - { (char *)"SbViewportRegion_setWindowSize", _wrap_SbViewportRegion_setWindowSize, METH_VARARGS, (char *)"\n" - "setWindowSize(short width, short height)\n" - "SbViewportRegion_setWindowSize(SbViewportRegion self, SbVec2s winSize)\n" - ""}, - { (char *)"SbViewportRegion_setViewport", _wrap_SbViewportRegion_setViewport, METH_VARARGS, (char *)"\n" - "setViewport(float left, float bottom, float width, float height)\n" - "SbViewportRegion_setViewport(SbViewportRegion self, SbVec2f origin, SbVec2f size)\n" - ""}, - { (char *)"SbViewportRegion_setViewportPixels", _wrap_SbViewportRegion_setViewportPixels, METH_VARARGS, (char *)"\n" - "setViewportPixels(short left, short bottom, short width, short height)\n" - "SbViewportRegion_setViewportPixels(SbViewportRegion self, SbVec2s origin, SbVec2s size)\n" - ""}, - { (char *)"SbViewportRegion_getWindowSize", _wrap_SbViewportRegion_getWindowSize, METH_VARARGS, (char *)"SbViewportRegion_getWindowSize(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportOrigin", _wrap_SbViewportRegion_getViewportOrigin, METH_VARARGS, (char *)"SbViewportRegion_getViewportOrigin(SbViewportRegion self) -> SbVec2f"}, - { (char *)"SbViewportRegion_getViewportOriginPixels", _wrap_SbViewportRegion_getViewportOriginPixels, METH_VARARGS, (char *)"SbViewportRegion_getViewportOriginPixels(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportSize", _wrap_SbViewportRegion_getViewportSize, METH_VARARGS, (char *)"SbViewportRegion_getViewportSize(SbViewportRegion self) -> SbVec2f"}, - { (char *)"SbViewportRegion_getViewportSizePixels", _wrap_SbViewportRegion_getViewportSizePixels, METH_VARARGS, (char *)"SbViewportRegion_getViewportSizePixels(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportAspectRatio", _wrap_SbViewportRegion_getViewportAspectRatio, METH_VARARGS, (char *)"SbViewportRegion_getViewportAspectRatio(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_scaleWidth", _wrap_SbViewportRegion_scaleWidth, METH_VARARGS, (char *)"SbViewportRegion_scaleWidth(SbViewportRegion self, float ratio)"}, - { (char *)"SbViewportRegion_scaleHeight", _wrap_SbViewportRegion_scaleHeight, METH_VARARGS, (char *)"SbViewportRegion_scaleHeight(SbViewportRegion self, float ratio)"}, - { (char *)"SbViewportRegion_setPixelsPerInch", _wrap_SbViewportRegion_setPixelsPerInch, METH_VARARGS, (char *)"SbViewportRegion_setPixelsPerInch(SbViewportRegion self, float ppi)"}, - { (char *)"SbViewportRegion_getPixelsPerInch", _wrap_SbViewportRegion_getPixelsPerInch, METH_VARARGS, (char *)"SbViewportRegion_getPixelsPerInch(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_getPixelsPerPoint", _wrap_SbViewportRegion_getPixelsPerPoint, METH_VARARGS, (char *)"SbViewportRegion_getPixelsPerPoint(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_output", _wrap_SbViewportRegion_output, METH_VARARGS, (char *)"SbViewportRegion_output(SbViewportRegion self, FILE file)"}, - { (char *)"SbViewportRegion___eq__", _wrap_SbViewportRegion___eq__, METH_VARARGS, (char *)"SbViewportRegion___eq__(SbViewportRegion self, SbViewportRegion u) -> int"}, - { (char *)"SbViewportRegion___ne__", _wrap_SbViewportRegion___ne__, METH_VARARGS, (char *)"SbViewportRegion___ne__(SbViewportRegion self, SbViewportRegion u) -> int"}, - { (char *)"delete_SbViewportRegion", _wrap_delete_SbViewportRegion, METH_VARARGS, (char *)"delete_SbViewportRegion(SbViewportRegion self)"}, - { (char *)"SbViewportRegion_swigregister", SbViewportRegion_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLRenderAction_getTypeId", _wrap_SoGLRenderAction_getTypeId, METH_VARARGS, (char *)"SoGLRenderAction_getTypeId(SoGLRenderAction self) -> SoType"}, - { (char *)"SoGLRenderAction_getClassTypeId", _wrap_SoGLRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoGLRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoGLRenderAction_addMethod", _wrap_SoGLRenderAction_addMethod, METH_VARARGS, (char *)"SoGLRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGLRenderAction_enableElement", _wrap_SoGLRenderAction_enableElement, METH_VARARGS, (char *)"SoGLRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoGLRenderAction_initClass", _wrap_SoGLRenderAction_initClass, METH_VARARGS, (char *)"SoGLRenderAction_initClass()"}, - { (char *)"new_SoGLRenderAction", _wrap_new_SoGLRenderAction, METH_VARARGS, (char *)"new_SoGLRenderAction(SbViewportRegion viewportregion) -> SoGLRenderAction"}, - { (char *)"delete_SoGLRenderAction", _wrap_delete_SoGLRenderAction, METH_VARARGS, (char *)"delete_SoGLRenderAction(SoGLRenderAction self)"}, - { (char *)"SoGLRenderAction_setViewportRegion", _wrap_SoGLRenderAction_setViewportRegion, METH_VARARGS, (char *)"SoGLRenderAction_setViewportRegion(SoGLRenderAction self, SbViewportRegion newregion)"}, - { (char *)"SoGLRenderAction_getViewportRegion", _wrap_SoGLRenderAction_getViewportRegion, METH_VARARGS, (char *)"SoGLRenderAction_getViewportRegion(SoGLRenderAction self) -> SbViewportRegion"}, - { (char *)"SoGLRenderAction_setUpdateArea", _wrap_SoGLRenderAction_setUpdateArea, METH_VARARGS, (char *)"SoGLRenderAction_setUpdateArea(SoGLRenderAction self, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLRenderAction_getUpdateArea", _wrap_SoGLRenderAction_getUpdateArea, METH_VARARGS, (char *)"SoGLRenderAction_getUpdateArea(SoGLRenderAction self, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLRenderAction_getAbortCallback", _wrap_SoGLRenderAction_getAbortCallback, METH_VARARGS, (char *)"\n" - "SoGLRenderAction_getAbortCallback(SoGLRenderAction self, SoGLRenderAbortCB func_out, \n" - " void userdata_out)\n" - ""}, - { (char *)"SoGLRenderAction_setTransparencyType", _wrap_SoGLRenderAction_setTransparencyType, METH_VARARGS, (char *)"SoGLRenderAction_setTransparencyType(SoGLRenderAction self, TransparencyType type)"}, - { (char *)"SoGLRenderAction_getTransparencyType", _wrap_SoGLRenderAction_getTransparencyType, METH_VARARGS, (char *)"SoGLRenderAction_getTransparencyType(SoGLRenderAction self) -> TransparencyType"}, - { (char *)"SoGLRenderAction_setTransparentDelayedObjectRenderType", _wrap_SoGLRenderAction_setTransparentDelayedObjectRenderType, METH_VARARGS, (char *)"SoGLRenderAction_setTransparentDelayedObjectRenderType(SoGLRenderAction self, TransparentDelayedObjectRenderType type)"}, - { (char *)"SoGLRenderAction_getTransparentDelayedObjectRenderType", _wrap_SoGLRenderAction_getTransparentDelayedObjectRenderType, METH_VARARGS, (char *)"SoGLRenderAction_getTransparentDelayedObjectRenderType(SoGLRenderAction self) -> TransparentDelayedObjectRenderType"}, - { (char *)"SoGLRenderAction_setSmoothing", _wrap_SoGLRenderAction_setSmoothing, METH_VARARGS, (char *)"SoGLRenderAction_setSmoothing(SoGLRenderAction self, SbBool smooth)"}, - { (char *)"SoGLRenderAction_isSmoothing", _wrap_SoGLRenderAction_isSmoothing, METH_VARARGS, (char *)"SoGLRenderAction_isSmoothing(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setNumPasses", _wrap_SoGLRenderAction_setNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_setNumPasses(SoGLRenderAction self, int num)"}, - { (char *)"SoGLRenderAction_getNumPasses", _wrap_SoGLRenderAction_getNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_getNumPasses(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_setPassUpdate", _wrap_SoGLRenderAction_setPassUpdate, METH_VARARGS, (char *)"SoGLRenderAction_setPassUpdate(SoGLRenderAction self, SbBool flag)"}, - { (char *)"SoGLRenderAction_isPassUpdate", _wrap_SoGLRenderAction_isPassUpdate, METH_VARARGS, (char *)"SoGLRenderAction_isPassUpdate(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setCacheContext", _wrap_SoGLRenderAction_setCacheContext, METH_VARARGS, (char *)"SoGLRenderAction_setCacheContext(SoGLRenderAction self, uint32_t context)"}, - { (char *)"SoGLRenderAction_getCacheContext", _wrap_SoGLRenderAction_getCacheContext, METH_VARARGS, (char *)"SoGLRenderAction_getCacheContext(SoGLRenderAction self) -> uint32_t"}, - { (char *)"SoGLRenderAction_addDelayedPath", _wrap_SoGLRenderAction_addDelayedPath, METH_VARARGS, (char *)"SoGLRenderAction_addDelayedPath(SoGLRenderAction self, SoPath path)"}, - { (char *)"SoGLRenderAction_isRenderingDelayedPaths", _wrap_SoGLRenderAction_isRenderingDelayedPaths, METH_VARARGS, (char *)"SoGLRenderAction_isRenderingDelayedPaths(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_handleTransparency", _wrap_SoGLRenderAction_handleTransparency, METH_VARARGS, (char *)"\n" - "handleTransparency(SbBool istransparent=0) -> SbBool\n" - "SoGLRenderAction_handleTransparency(SoGLRenderAction self) -> SbBool\n" - ""}, - { (char *)"SoGLRenderAction_setCurPass", _wrap_SoGLRenderAction_setCurPass, METH_VARARGS, (char *)"SoGLRenderAction_setCurPass(SoGLRenderAction self, int passnum, int numpasses)"}, - { (char *)"SoGLRenderAction_getCurPass", _wrap_SoGLRenderAction_getCurPass, METH_VARARGS, (char *)"SoGLRenderAction_getCurPass(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_abortNow", _wrap_SoGLRenderAction_abortNow, METH_VARARGS, (char *)"SoGLRenderAction_abortNow(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setRenderingIsRemote", _wrap_SoGLRenderAction_setRenderingIsRemote, METH_VARARGS, (char *)"SoGLRenderAction_setRenderingIsRemote(SoGLRenderAction self, SbBool isremote)"}, - { (char *)"SoGLRenderAction_getRenderingIsRemote", _wrap_SoGLRenderAction_getRenderingIsRemote, METH_VARARGS, (char *)"SoGLRenderAction_getRenderingIsRemote(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_invalidateState", _wrap_SoGLRenderAction_invalidateState, METH_VARARGS, (char *)"SoGLRenderAction_invalidateState(SoGLRenderAction self)"}, - { (char *)"SoGLRenderAction_setSortedLayersNumPasses", _wrap_SoGLRenderAction_setSortedLayersNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_setSortedLayersNumPasses(SoGLRenderAction self, int num)"}, - { (char *)"SoGLRenderAction_getSortedLayersNumPasses", _wrap_SoGLRenderAction_getSortedLayersNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_getSortedLayersNumPasses(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_setSortedObjectOrderStrategy", _wrap_SoGLRenderAction_setSortedObjectOrderStrategy, METH_VARARGS, (char *)"\n" - "setSortedObjectOrderStrategy(SortedObjectOrderStrategy strategy, SoGLSortedObjectOrderCB cb=None, \n" - " void closure=None)\n" - "setSortedObjectOrderStrategy(SortedObjectOrderStrategy strategy, SoGLSortedObjectOrderCB cb=None)\n" - "SoGLRenderAction_setSortedObjectOrderStrategy(SoGLRenderAction self, SortedObjectOrderStrategy strategy)\n" - ""}, - { (char *)"SoGLRenderAction_setDelayedObjDepthWrite", _wrap_SoGLRenderAction_setDelayedObjDepthWrite, METH_VARARGS, (char *)"SoGLRenderAction_setDelayedObjDepthWrite(SoGLRenderAction self, SbBool write)"}, - { (char *)"SoGLRenderAction_getDelayedObjDepthWrite", _wrap_SoGLRenderAction_getDelayedObjDepthWrite, METH_VARARGS, (char *)"SoGLRenderAction_getDelayedObjDepthWrite(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_isRenderingTranspPaths", _wrap_SoGLRenderAction_isRenderingTranspPaths, METH_VARARGS, (char *)"SoGLRenderAction_isRenderingTranspPaths(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_isRenderingTranspBackfaces", _wrap_SoGLRenderAction_isRenderingTranspBackfaces, METH_VARARGS, (char *)"SoGLRenderAction_isRenderingTranspBackfaces(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setPassCallback", _wrap_SoGLRenderAction_setPassCallback, METH_VARARGS, (char *)"\n" - "setPassCallback(SoGLRenderPassCB func, void userdata)\n" - "SoGLRenderAction_setPassCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_setAbortCallback", _wrap_SoGLRenderAction_setAbortCallback, METH_VARARGS, (char *)"\n" - "setAbortCallback(SoGLRenderAbortCB func, void userdata)\n" - "SoGLRenderAction_setAbortCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_addPreRenderCallback", _wrap_SoGLRenderAction_addPreRenderCallback, METH_VARARGS, (char *)"\n" - "addPreRenderCallback(SoGLPreRenderCB func, void userdata)\n" - "SoGLRenderAction_addPreRenderCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_removePreRenderCallback", _wrap_SoGLRenderAction_removePreRenderCallback, METH_VARARGS, (char *)"\n" - "removePreRenderCallback(SoGLPreRenderCB func, void userdata)\n" - "SoGLRenderAction_removePreRenderCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_swigregister", SoGLRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBoxHighlightRenderAction_getTypeId", _wrap_SoBoxHighlightRenderAction_getTypeId, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getTypeId(SoBoxHighlightRenderAction self) -> SoType"}, - { (char *)"SoBoxHighlightRenderAction_getClassTypeId", _wrap_SoBoxHighlightRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoBoxHighlightRenderAction_addMethod", _wrap_SoBoxHighlightRenderAction_addMethod, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoBoxHighlightRenderAction_enableElement", _wrap_SoBoxHighlightRenderAction_enableElement, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoBoxHighlightRenderAction_initClass", _wrap_SoBoxHighlightRenderAction_initClass, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_initClass()"}, - { (char *)"new_SoBoxHighlightRenderAction", _wrap_new_SoBoxHighlightRenderAction, METH_VARARGS, (char *)"\n" - "SoBoxHighlightRenderAction()\n" - "new_SoBoxHighlightRenderAction(SbViewportRegion viewportregion) -> SoBoxHighlightRenderAction\n" - ""}, - { (char *)"delete_SoBoxHighlightRenderAction", _wrap_delete_SoBoxHighlightRenderAction, METH_VARARGS, (char *)"delete_SoBoxHighlightRenderAction(SoBoxHighlightRenderAction self)"}, - { (char *)"SoBoxHighlightRenderAction_apply", _wrap_SoBoxHighlightRenderAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoBoxHighlightRenderAction_apply(SoBoxHighlightRenderAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoBoxHighlightRenderAction_setVisible", _wrap_SoBoxHighlightRenderAction_setVisible, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setVisible(SoBoxHighlightRenderAction self, SbBool visible)"}, - { (char *)"SoBoxHighlightRenderAction_isVisible", _wrap_SoBoxHighlightRenderAction_isVisible, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_isVisible(SoBoxHighlightRenderAction self) -> SbBool"}, - { (char *)"SoBoxHighlightRenderAction_setColor", _wrap_SoBoxHighlightRenderAction_setColor, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setColor(SoBoxHighlightRenderAction self, SbColor color)"}, - { (char *)"SoBoxHighlightRenderAction_getColor", _wrap_SoBoxHighlightRenderAction_getColor, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getColor(SoBoxHighlightRenderAction self) -> SbColor"}, - { (char *)"SoBoxHighlightRenderAction_setLinePattern", _wrap_SoBoxHighlightRenderAction_setLinePattern, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setLinePattern(SoBoxHighlightRenderAction self, unsigned short pattern)"}, - { (char *)"SoBoxHighlightRenderAction_getLinePattern", _wrap_SoBoxHighlightRenderAction_getLinePattern, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getLinePattern(SoBoxHighlightRenderAction self) -> unsigned short"}, - { (char *)"SoBoxHighlightRenderAction_setLineWidth", _wrap_SoBoxHighlightRenderAction_setLineWidth, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setLineWidth(SoBoxHighlightRenderAction self, float width)"}, - { (char *)"SoBoxHighlightRenderAction_getLineWidth", _wrap_SoBoxHighlightRenderAction_getLineWidth, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getLineWidth(SoBoxHighlightRenderAction self) -> float"}, - { (char *)"SoBoxHighlightRenderAction_swigregister", SoBoxHighlightRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineHighlightRenderAction_getTypeId", _wrap_SoLineHighlightRenderAction_getTypeId, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getTypeId(SoLineHighlightRenderAction self) -> SoType"}, - { (char *)"SoLineHighlightRenderAction_getClassTypeId", _wrap_SoLineHighlightRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoLineHighlightRenderAction_addMethod", _wrap_SoLineHighlightRenderAction_addMethod, METH_VARARGS, (char *)"SoLineHighlightRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoLineHighlightRenderAction_enableElement", _wrap_SoLineHighlightRenderAction_enableElement, METH_VARARGS, (char *)"SoLineHighlightRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoLineHighlightRenderAction_initClass", _wrap_SoLineHighlightRenderAction_initClass, METH_VARARGS, (char *)"SoLineHighlightRenderAction_initClass()"}, - { (char *)"new_SoLineHighlightRenderAction", _wrap_new_SoLineHighlightRenderAction, METH_VARARGS, (char *)"\n" - "SoLineHighlightRenderAction()\n" - "new_SoLineHighlightRenderAction(SbViewportRegion viewportregion) -> SoLineHighlightRenderAction\n" - ""}, - { (char *)"delete_SoLineHighlightRenderAction", _wrap_delete_SoLineHighlightRenderAction, METH_VARARGS, (char *)"delete_SoLineHighlightRenderAction(SoLineHighlightRenderAction self)"}, - { (char *)"SoLineHighlightRenderAction_apply", _wrap_SoLineHighlightRenderAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoLineHighlightRenderAction_apply(SoLineHighlightRenderAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoLineHighlightRenderAction_setVisible", _wrap_SoLineHighlightRenderAction_setVisible, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setVisible(SoLineHighlightRenderAction self, SbBool visible)"}, - { (char *)"SoLineHighlightRenderAction_isVisible", _wrap_SoLineHighlightRenderAction_isVisible, METH_VARARGS, (char *)"SoLineHighlightRenderAction_isVisible(SoLineHighlightRenderAction self) -> SbBool"}, - { (char *)"SoLineHighlightRenderAction_setColor", _wrap_SoLineHighlightRenderAction_setColor, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setColor(SoLineHighlightRenderAction self, SbColor color)"}, - { (char *)"SoLineHighlightRenderAction_getColor", _wrap_SoLineHighlightRenderAction_getColor, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getColor(SoLineHighlightRenderAction self) -> SbColor"}, - { (char *)"SoLineHighlightRenderAction_setLinePattern", _wrap_SoLineHighlightRenderAction_setLinePattern, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setLinePattern(SoLineHighlightRenderAction self, uint16_t pattern)"}, - { (char *)"SoLineHighlightRenderAction_getLinePattern", _wrap_SoLineHighlightRenderAction_getLinePattern, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getLinePattern(SoLineHighlightRenderAction self) -> uint16_t"}, - { (char *)"SoLineHighlightRenderAction_setLineWidth", _wrap_SoLineHighlightRenderAction_setLineWidth, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setLineWidth(SoLineHighlightRenderAction self, float width)"}, - { (char *)"SoLineHighlightRenderAction_getLineWidth", _wrap_SoLineHighlightRenderAction_getLineWidth, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getLineWidth(SoLineHighlightRenderAction self) -> float"}, - { (char *)"SoLineHighlightRenderAction_swigregister", SoLineHighlightRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3f", _wrap_new_SbBox3f, METH_VARARGS, (char *)"\n" - "SbBox3f()\n" - "SbBox3f(float xmin, float ymin, float zmin, float xmax, float ymax, \n" - " float zmax)\n" - "SbBox3f(SbVec3f minpoint, SbVec3f maxpoint)\n" - "SbBox3f(SbBox3d box)\n" - "SbBox3f(SbBox3s box)\n" - "new_SbBox3f(SbBox3i32 box) -> SbBox3f\n" - ""}, - { (char *)"SbBox3f_setBounds", _wrap_SbBox3f_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(float xmin, float ymin, float zmin, float xmax, float ymax, \n" - " float zmax) -> SbBox3f\n" - "setBounds(SbVec3f minpoint, SbVec3f maxpoint) -> SbBox3f\n" - "setBounds(SbBox3d box) -> SbBox3f\n" - "setBounds(SbBox3s box) -> SbBox3f\n" - "SbBox3f_setBounds(SbBox3f self, SbBox3i32 box) -> SbBox3f\n" - ""}, - { (char *)"SbBox3f_getBounds", _wrap_SbBox3f_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(float xmin, float ymin, float zmin, float xmax, float ymax, \n" - " float zmax)\n" - "SbBox3f_getBounds(SbBox3f self, SbVec3f minpoint, SbVec3f maxpoint)\n" - ""}, - { (char *)"SbBox3f_getMin", _wrap_SbBox3f_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec3f\n" - "SbBox3f_getMin(SbBox3f self) -> SbVec3f\n" - ""}, - { (char *)"SbBox3f_getMax", _wrap_SbBox3f_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec3f\n" - "SbBox3f_getMax(SbBox3f self) -> SbVec3f\n" - ""}, - { (char *)"SbBox3f_extendBy", _wrap_SbBox3f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3f pt)\n" - "SbBox3f_extendBy(SbBox3f self, SbBox3f box)\n" - ""}, - { (char *)"SbBox3f_transform", _wrap_SbBox3f_transform, METH_VARARGS, (char *)"SbBox3f_transform(SbBox3f self, SbMatrix matrix)"}, - { (char *)"SbBox3f_makeEmpty", _wrap_SbBox3f_makeEmpty, METH_VARARGS, (char *)"SbBox3f_makeEmpty(SbBox3f self)"}, - { (char *)"SbBox3f_isEmpty", _wrap_SbBox3f_isEmpty, METH_VARARGS, (char *)"SbBox3f_isEmpty(SbBox3f self) -> SbBool"}, - { (char *)"SbBox3f_hasVolume", _wrap_SbBox3f_hasVolume, METH_VARARGS, (char *)"SbBox3f_hasVolume(SbBox3f self) -> SbBool"}, - { (char *)"SbBox3f_getVolume", _wrap_SbBox3f_getVolume, METH_VARARGS, (char *)"SbBox3f_getVolume(SbBox3f self) -> float"}, - { (char *)"SbBox3f_intersect", _wrap_SbBox3f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f pt) -> SbBool\n" - "SbBox3f_intersect(SbBox3f self, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SbBox3f_getClosestPoint", _wrap_SbBox3f_getClosestPoint, METH_VARARGS, (char *)"SbBox3f_getClosestPoint(SbBox3f self, SbVec3f point) -> SbVec3f"}, - { (char *)"SbBox3f_outside", _wrap_SbBox3f_outside, METH_VARARGS, (char *)"SbBox3f_outside(SbBox3f self, SbMatrix mvp, int cullbits) -> SbBool"}, - { (char *)"SbBox3f_getCenter", _wrap_SbBox3f_getCenter, METH_VARARGS, (char *)"SbBox3f_getCenter(SbBox3f self) -> SbVec3f"}, - { (char *)"SbBox3f_getOrigin", _wrap_SbBox3f_getOrigin, METH_VARARGS, (char *)"SbBox3f_getOrigin(SbBox3f self, float originX, float originY, float originZ)"}, - { (char *)"SbBox3f_getSize", _wrap_SbBox3f_getSize, METH_VARARGS, (char *)"\n" - "getSize(float sizeX, float sizeY, float sizeZ)\n" - "SbBox3f_getSize(SbBox3f self) -> SbVec3f\n" - ""}, - { (char *)"SbBox3f_getSpan", _wrap_SbBox3f_getSpan, METH_VARARGS, (char *)"SbBox3f_getSpan(SbBox3f self, SbVec3f dir, float dmin, float dmax)"}, - { (char *)"SbBox3f_output", _wrap_SbBox3f_output, METH_VARARGS, (char *)"SbBox3f_output(SbBox3f self, FILE file)"}, - { (char *)"SbBox3f___eq__", _wrap_SbBox3f___eq__, METH_VARARGS, (char *)"SbBox3f___eq__(SbBox3f self, SbBox3f u) -> int"}, - { (char *)"SbBox3f___ne__", _wrap_SbBox3f___ne__, METH_VARARGS, (char *)"SbBox3f___ne__(SbBox3f self, SbBox3f u) -> int"}, - { (char *)"delete_SbBox3f", _wrap_delete_SbBox3f, METH_VARARGS, (char *)"delete_SbBox3f(SbBox3f self)"}, - { (char *)"SbBox3f_swigregister", SbBox3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbMatrix", _wrap_new_SbMatrix, METH_VARARGS, (char *)"\n" - "SbMatrix()\n" - "SbMatrix(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SbMatrix(SbMat matrix)\n" - "new_SbMatrix(SbMat matrix) -> SbMatrix\n" - ""}, - { (char *)"delete_SbMatrix", _wrap_delete_SbMatrix, METH_VARARGS, (char *)"delete_SbMatrix(SbMatrix self)"}, - { (char *)"SbMatrix_setValue", _wrap_SbMatrix_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbMat m)\n" - "SbMatrix_setValue(SbMatrix self, SbDPMatrix m)\n" - ""}, - { (char *)"SbMatrix_makeIdentity", _wrap_SbMatrix_makeIdentity, METH_VARARGS, (char *)"SbMatrix_makeIdentity(SbMatrix self)"}, - { (char *)"SbMatrix_setRotate", _wrap_SbMatrix_setRotate, METH_VARARGS, (char *)"SbMatrix_setRotate(SbMatrix self, SbRotation q)"}, - { (char *)"SbMatrix_inverse", _wrap_SbMatrix_inverse, METH_VARARGS, (char *)"SbMatrix_inverse(SbMatrix self) -> SbMatrix"}, - { (char *)"SbMatrix_det3", _wrap_SbMatrix_det3, METH_VARARGS, (char *)"\n" - "det3(int r1, int r2, int r3, int c1, int c2, int c3) -> float\n" - "SbMatrix_det3(SbMatrix self) -> float\n" - ""}, - { (char *)"SbMatrix_det4", _wrap_SbMatrix_det4, METH_VARARGS, (char *)"SbMatrix_det4(SbMatrix self) -> float"}, - { (char *)"SbMatrix_equals", _wrap_SbMatrix_equals, METH_VARARGS, (char *)"SbMatrix_equals(SbMatrix self, SbMatrix m, float tolerance) -> SbBool"}, - { (char *)"SbMatrix___imul__", _wrap_SbMatrix___imul__, METH_VARARGS, (char *)"SbMatrix___imul__(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_getValue", _wrap_SbMatrix_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbMat\n" - "SbMatrix_getValue(SbMatrix self, SbMat m)\n" - ""}, - { (char *)"SbMatrix_identity", _wrap_SbMatrix_identity, METH_VARARGS, (char *)"SbMatrix_identity() -> SbMatrix"}, - { (char *)"SbMatrix_setScale", _wrap_SbMatrix_setScale, METH_VARARGS, (char *)"\n" - "setScale(float s)\n" - "SbMatrix_setScale(SbMatrix self, SbVec3f s)\n" - ""}, - { (char *)"SbMatrix_setTranslate", _wrap_SbMatrix_setTranslate, METH_VARARGS, (char *)"SbMatrix_setTranslate(SbMatrix self, SbVec3f t)"}, - { (char *)"SbMatrix_setTransform", _wrap_SbMatrix_setTransform, METH_VARARGS, (char *)"\n" - "setTransform(SbVec3f t, SbRotation r, SbVec3f s)\n" - "setTransform(SbVec3f t, SbRotation r, SbVec3f s, SbRotation so)\n" - "SbMatrix_setTransform(SbMatrix self, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scaleFactor, SbRotation scaleOrientation, \n" - " SbVec3f center)\n" - ""}, - { (char *)"SbMatrix_factor", _wrap_SbMatrix_factor, METH_VARARGS, (char *)"\n" - "SbMatrix_factor(SbMatrix self, SbMatrix r, SbVec3f s, SbMatrix u, SbVec3f t, \n" - " SbMatrix proj) -> SbBool\n" - ""}, - { (char *)"SbMatrix_LUDecomposition", _wrap_SbMatrix_LUDecomposition, METH_VARARGS, (char *)"SbMatrix_LUDecomposition(SbMatrix self, int index, float d) -> SbBool"}, - { (char *)"SbMatrix_LUBackSubstitution", _wrap_SbMatrix_LUBackSubstitution, METH_VARARGS, (char *)"SbMatrix_LUBackSubstitution(SbMatrix self, int index, float b)"}, - { (char *)"SbMatrix_transpose", _wrap_SbMatrix_transpose, METH_VARARGS, (char *)"SbMatrix_transpose(SbMatrix self) -> SbMatrix"}, - { (char *)"SbMatrix_multRight", _wrap_SbMatrix_multRight, METH_VARARGS, (char *)"SbMatrix_multRight(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_multLeft", _wrap_SbMatrix_multLeft, METH_VARARGS, (char *)"SbMatrix_multLeft(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_multMatrixVec", _wrap_SbMatrix_multMatrixVec, METH_VARARGS, (char *)"SbMatrix_multMatrixVec(SbMatrix self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbMatrix_multDirMatrix", _wrap_SbMatrix_multDirMatrix, METH_VARARGS, (char *)"SbMatrix_multDirMatrix(SbMatrix self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbMatrix_multLineMatrix", _wrap_SbMatrix_multLineMatrix, METH_VARARGS, (char *)"SbMatrix_multLineMatrix(SbMatrix self, SbLine src, SbLine dst)"}, - { (char *)"SbMatrix_multVecMatrix", _wrap_SbMatrix_multVecMatrix, METH_VARARGS, (char *)"\n" - "multVecMatrix(SbVec3f src, SbVec3f dst)\n" - "SbMatrix_multVecMatrix(SbMatrix self, SbVec4f src, SbVec4f dst)\n" - ""}, - { (char *)"SbMatrix_output", _wrap_SbMatrix_output, METH_VARARGS, (char *)"SbMatrix_output(SbMatrix self, FILE fp)"}, - { (char *)"SbMatrix_getTransform", _wrap_SbMatrix_getTransform, METH_VARARGS, (char *)"\n" - "getTransform(SbVec3f t, SbRotation r, SbVec3f s, SbRotation so)\n" - "getTransform() -> PyObject\n" - "SbMatrix_getTransform(SbMatrix self, SbVec3f center) -> PyObject\n" - ""}, - { (char *)"SbMatrix___mul__", _wrap_SbMatrix___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbMatrix u) -> SbMatrix\n" - "SbMatrix___mul__(SbMatrix self, SbVec3f u) -> SbVec3f\n" - ""}, - { (char *)"SbMatrix___rmul__", _wrap_SbMatrix___rmul__, METH_VARARGS, (char *)"SbMatrix___rmul__(SbMatrix self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbMatrix___eq__", _wrap_SbMatrix___eq__, METH_VARARGS, (char *)"SbMatrix___eq__(SbMatrix self, SbMatrix u) -> int"}, - { (char *)"SbMatrix___ne__", _wrap_SbMatrix___ne__, METH_VARARGS, (char *)"SbMatrix___ne__(SbMatrix self, SbMatrix u) -> int"}, - { (char *)"SbMatrix___getitem__", _wrap_SbMatrix___getitem__, METH_VARARGS, (char *)"SbMatrix___getitem__(SbMatrix self, int i) -> float"}, - { (char *)"SbMatrix_swigregister", SbMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbXfBox3f", _wrap_new_SbXfBox3f, METH_VARARGS, (char *)"\n" - "SbXfBox3f()\n" - "SbXfBox3f(SbVec3f boxmin, SbVec3f boxmax)\n" - "new_SbXfBox3f(SbBox3f box) -> SbXfBox3f\n" - ""}, - { (char *)"delete_SbXfBox3f", _wrap_delete_SbXfBox3f, METH_VARARGS, (char *)"delete_SbXfBox3f(SbXfBox3f self)"}, - { (char *)"SbXfBox3f_setTransform", _wrap_SbXfBox3f_setTransform, METH_VARARGS, (char *)"SbXfBox3f_setTransform(SbXfBox3f self, SbMatrix m)"}, - { (char *)"SbXfBox3f_getTransform", _wrap_SbXfBox3f_getTransform, METH_VARARGS, (char *)"SbXfBox3f_getTransform(SbXfBox3f self) -> SbMatrix"}, - { (char *)"SbXfBox3f_getInverse", _wrap_SbXfBox3f_getInverse, METH_VARARGS, (char *)"SbXfBox3f_getInverse(SbXfBox3f self) -> SbMatrix"}, - { (char *)"SbXfBox3f_getCenter", _wrap_SbXfBox3f_getCenter, METH_VARARGS, (char *)"SbXfBox3f_getCenter(SbXfBox3f self) -> SbVec3f"}, - { (char *)"SbXfBox3f_extendBy", _wrap_SbXfBox3f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3f pt)\n" - "extendBy(SbBox3f bb)\n" - "SbXfBox3f_extendBy(SbXfBox3f self, SbXfBox3f bb)\n" - ""}, - { (char *)"SbXfBox3f_intersect", _wrap_SbXfBox3f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f pt) -> SbBool\n" - "intersect(SbBox3f bb) -> SbBool\n" - "SbXfBox3f_intersect(SbXfBox3f self, SbXfBox3f bb) -> SbBool\n" - ""}, - { (char *)"SbXfBox3f_getSpan", _wrap_SbXfBox3f_getSpan, METH_VARARGS, (char *)"SbXfBox3f_getSpan(SbXfBox3f self, SbVec3f direction, float dMin, float dMax)"}, - { (char *)"SbXfBox3f_project", _wrap_SbXfBox3f_project, METH_VARARGS, (char *)"SbXfBox3f_project(SbXfBox3f self) -> SbBox3f"}, - { (char *)"SbXfBox3f_transform", _wrap_SbXfBox3f_transform, METH_VARARGS, (char *)"SbXfBox3f_transform(SbXfBox3f self, SbMatrix m)"}, - { (char *)"SbXfBox3f_getVolume", _wrap_SbXfBox3f_getVolume, METH_VARARGS, (char *)"SbXfBox3f_getVolume(SbXfBox3f self) -> float"}, - { (char *)"SbXfBox3f_output", _wrap_SbXfBox3f_output, METH_VARARGS, (char *)"SbXfBox3f_output(SbXfBox3f self, FILE file)"}, - { (char *)"SbXfBox3f___eq__", _wrap_SbXfBox3f___eq__, METH_VARARGS, (char *)"SbXfBox3f___eq__(SbXfBox3f self, SbXfBox3f u) -> int"}, - { (char *)"SbXfBox3f___ne__", _wrap_SbXfBox3f___ne__, METH_VARARGS, (char *)"SbXfBox3f___ne__(SbXfBox3f self, SbXfBox3f u) -> int"}, - { (char *)"SbXfBox3f_swigregister", SbXfBox3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetBoundingBoxAction_getTypeId", _wrap_SoGetBoundingBoxAction_getTypeId, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getTypeId(SoGetBoundingBoxAction self) -> SoType"}, - { (char *)"SoGetBoundingBoxAction_getClassTypeId", _wrap_SoGetBoundingBoxAction_getClassTypeId, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetBoundingBoxAction_addMethod", _wrap_SoGetBoundingBoxAction_addMethod, METH_VARARGS, (char *)"SoGetBoundingBoxAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetBoundingBoxAction_enableElement", _wrap_SoGetBoundingBoxAction_enableElement, METH_VARARGS, (char *)"SoGetBoundingBoxAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoGetBoundingBoxAction_initClass", _wrap_SoGetBoundingBoxAction_initClass, METH_VARARGS, (char *)"SoGetBoundingBoxAction_initClass()"}, - { (char *)"new_SoGetBoundingBoxAction", _wrap_new_SoGetBoundingBoxAction, METH_VARARGS, (char *)"new_SoGetBoundingBoxAction(SbViewportRegion vp) -> SoGetBoundingBoxAction"}, - { (char *)"delete_SoGetBoundingBoxAction", _wrap_delete_SoGetBoundingBoxAction, METH_VARARGS, (char *)"delete_SoGetBoundingBoxAction(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_setViewportRegion", _wrap_SoGetBoundingBoxAction_setViewportRegion, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setViewportRegion(SoGetBoundingBoxAction self, SbViewportRegion newregion)"}, - { (char *)"SoGetBoundingBoxAction_getViewportRegion", _wrap_SoGetBoundingBoxAction_getViewportRegion, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getViewportRegion(SoGetBoundingBoxAction self) -> SbViewportRegion"}, - { (char *)"SoGetBoundingBoxAction_getBoundingBox", _wrap_SoGetBoundingBoxAction_getBoundingBox, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getBoundingBox(SoGetBoundingBoxAction self) -> SbBox3f"}, - { (char *)"SoGetBoundingBoxAction_getXfBoundingBox", _wrap_SoGetBoundingBoxAction_getXfBoundingBox, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getXfBoundingBox(SoGetBoundingBoxAction self) -> SbXfBox3f"}, - { (char *)"SoGetBoundingBoxAction_getCenter", _wrap_SoGetBoundingBoxAction_getCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getCenter(SoGetBoundingBoxAction self) -> SbVec3f"}, - { (char *)"SoGetBoundingBoxAction_setInCameraSpace", _wrap_SoGetBoundingBoxAction_setInCameraSpace, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setInCameraSpace(SoGetBoundingBoxAction self, SbBool flag)"}, - { (char *)"SoGetBoundingBoxAction_isInCameraSpace", _wrap_SoGetBoundingBoxAction_isInCameraSpace, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isInCameraSpace(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_setResetPath", _wrap_SoGetBoundingBoxAction_setResetPath, METH_VARARGS, (char *)"\n" - "setResetPath(SoPath path, SbBool resetbefore=1, ResetType what=ALL)\n" - "setResetPath(SoPath path, SbBool resetbefore=1)\n" - "SoGetBoundingBoxAction_setResetPath(SoGetBoundingBoxAction self, SoPath path)\n" - ""}, - { (char *)"SoGetBoundingBoxAction_getResetPath", _wrap_SoGetBoundingBoxAction_getResetPath, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getResetPath(SoGetBoundingBoxAction self) -> SoPath"}, - { (char *)"SoGetBoundingBoxAction_isResetPath", _wrap_SoGetBoundingBoxAction_isResetPath, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isResetPath(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_isResetBefore", _wrap_SoGetBoundingBoxAction_isResetBefore, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isResetBefore(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_getWhatReset", _wrap_SoGetBoundingBoxAction_getWhatReset, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getWhatReset(SoGetBoundingBoxAction self) -> ResetType"}, - { (char *)"SoGetBoundingBoxAction_checkResetBefore", _wrap_SoGetBoundingBoxAction_checkResetBefore, METH_VARARGS, (char *)"SoGetBoundingBoxAction_checkResetBefore(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_checkResetAfter", _wrap_SoGetBoundingBoxAction_checkResetAfter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_checkResetAfter(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_extendBy", _wrap_SoGetBoundingBoxAction_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbBox3f box)\n" - "SoGetBoundingBoxAction_extendBy(SoGetBoundingBoxAction self, SbXfBox3f box)\n" - ""}, - { (char *)"SoGetBoundingBoxAction_setCenter", _wrap_SoGetBoundingBoxAction_setCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setCenter(SoGetBoundingBoxAction self, SbVec3f center, SbBool transformcenter)"}, - { (char *)"SoGetBoundingBoxAction_isCenterSet", _wrap_SoGetBoundingBoxAction_isCenterSet, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isCenterSet(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_resetCenter", _wrap_SoGetBoundingBoxAction_resetCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_resetCenter(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_swigregister", SoGetBoundingBoxAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4f", _wrap_new_SbVec4f, METH_VARARGS, (char *)"\n" - "SbVec4f()\n" - "SbVec4f(float v)\n" - "SbVec4f(float x, float y, float z, float w)\n" - "SbVec4f(SbVec4d v)\n" - "SbVec4f(SbVec4b v)\n" - "SbVec4f(SbVec4s v)\n" - "new_SbVec4f(SbVec4i32 v) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f_setValue", _wrap_SbVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec4f\n" - "setValue(float x, float y, float z, float w) -> SbVec4f\n" - "setValue(SbVec4d v) -> SbVec4f\n" - "setValue(SbVec4b v) -> SbVec4f\n" - "setValue(SbVec4s v) -> SbVec4f\n" - "SbVec4f_setValue(SbVec4f self, SbVec4i32 v) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f_getValue", _wrap_SbVec4f_getValue, METH_VARARGS, (char *)"SbVec4f_getValue(SbVec4f self) -> float"}, - { (char *)"SbVec4f_equals", _wrap_SbVec4f_equals, METH_VARARGS, (char *)"SbVec4f_equals(SbVec4f self, SbVec4f v, float tolerance) -> SbBool"}, - { (char *)"SbVec4f_dot", _wrap_SbVec4f_dot, METH_VARARGS, (char *)"SbVec4f_dot(SbVec4f self, SbVec4f v) -> float"}, - { (char *)"SbVec4f_getReal", _wrap_SbVec4f_getReal, METH_VARARGS, (char *)"SbVec4f_getReal(SbVec4f self, SbVec3f v)"}, - { (char *)"SbVec4f_length", _wrap_SbVec4f_length, METH_VARARGS, (char *)"SbVec4f_length(SbVec4f self) -> float"}, - { (char *)"SbVec4f_sqrLength", _wrap_SbVec4f_sqrLength, METH_VARARGS, (char *)"SbVec4f_sqrLength(SbVec4f self) -> float"}, - { (char *)"SbVec4f_negate", _wrap_SbVec4f_negate, METH_VARARGS, (char *)"SbVec4f_negate(SbVec4f self)"}, - { (char *)"SbVec4f_normalize", _wrap_SbVec4f_normalize, METH_VARARGS, (char *)"SbVec4f_normalize(SbVec4f self) -> float"}, - { (char *)"SbVec4f___imul__", _wrap_SbVec4f___imul__, METH_VARARGS, (char *)"SbVec4f___imul__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___idiv__", _wrap_SbVec4f___idiv__, METH_VARARGS, (char *)"SbVec4f___idiv__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___iadd__", _wrap_SbVec4f___iadd__, METH_VARARGS, (char *)"SbVec4f___iadd__(SbVec4f self, SbVec4f v) -> SbVec4f"}, - { (char *)"SbVec4f___isub__", _wrap_SbVec4f___isub__, METH_VARARGS, (char *)"SbVec4f___isub__(SbVec4f self, SbVec4f v) -> SbVec4f"}, - { (char *)"SbVec4f___neg__", _wrap_SbVec4f___neg__, METH_VARARGS, (char *)"SbVec4f___neg__(SbVec4f self) -> SbVec4f"}, - { (char *)"SbVec4f_output", _wrap_SbVec4f_output, METH_VARARGS, (char *)"SbVec4f_output(SbVec4f self, FILE fp)"}, - { (char *)"SbVec4f___add__", _wrap_SbVec4f___add__, METH_VARARGS, (char *)"SbVec4f___add__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___sub__", _wrap_SbVec4f___sub__, METH_VARARGS, (char *)"SbVec4f___sub__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___mul__", _wrap_SbVec4f___mul__, METH_VARARGS, (char *)"\n" - "__mul__(float d) -> SbVec4f\n" - "SbVec4f___mul__(SbVec4f self, SbMatrix m) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f___rmul__", _wrap_SbVec4f___rmul__, METH_VARARGS, (char *)"SbVec4f___rmul__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___div__", _wrap_SbVec4f___div__, METH_VARARGS, (char *)"SbVec4f___div__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___eq__", _wrap_SbVec4f___eq__, METH_VARARGS, (char *)"SbVec4f___eq__(SbVec4f self, SbVec4f u) -> int"}, - { (char *)"SbVec4f___nq__", _wrap_SbVec4f___nq__, METH_VARARGS, (char *)"SbVec4f___nq__(SbVec4f self, SbVec4f u) -> int"}, - { (char *)"SbVec4f___getitem__", _wrap_SbVec4f___getitem__, METH_VARARGS, (char *)"SbVec4f___getitem__(SbVec4f self, int i) -> float"}, - { (char *)"SbVec4f___setitem__", _wrap_SbVec4f___setitem__, METH_VARARGS, (char *)"SbVec4f___setitem__(SbVec4f self, int i, float value)"}, - { (char *)"delete_SbVec4f", _wrap_delete_SbVec4f, METH_VARARGS, (char *)"delete_SbVec4f(SbVec4f self)"}, - { (char *)"SbVec4f_swigregister", SbVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbRotation", _wrap_new_SbRotation, METH_VARARGS, (char *)"\n" - "SbRotation()\n" - "SbRotation(SbVec3f axis, float radians)\n" - "SbRotation(float q)\n" - "SbRotation(float q0, float q1, float q2, float q3)\n" - "SbRotation(SbMatrix m)\n" - "new_SbRotation(SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation\n" - ""}, - { (char *)"SbRotation_getValue", _wrap_SbRotation_getValue, METH_VARARGS, (char *)"SbRotation_getValue(SbRotation self) -> float"}, - { (char *)"SbRotation_getAxisAngle", _wrap_SbRotation_getAxisAngle, METH_VARARGS, (char *)"SbRotation_getAxisAngle(SbRotation self, SbVec3f axis, float radians)"}, - { (char *)"SbRotation_getMatrix", _wrap_SbRotation_getMatrix, METH_VARARGS, (char *)"SbRotation_getMatrix(SbRotation self, SbMatrix matrix)"}, - { (char *)"SbRotation_invert", _wrap_SbRotation_invert, METH_VARARGS, (char *)"SbRotation_invert(SbRotation self) -> SbRotation"}, - { (char *)"SbRotation_inverse", _wrap_SbRotation_inverse, METH_VARARGS, (char *)"SbRotation_inverse(SbRotation self) -> SbRotation"}, - { (char *)"SbRotation_setValue", _wrap_SbRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(float q0, float q1, float q2, float q3) -> SbRotation\n" - "setValue(float q) -> SbRotation\n" - "setValue(SbMatrix m) -> SbRotation\n" - "setValue(SbVec3f axis, float radians) -> SbRotation\n" - "SbRotation_setValue(SbRotation self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation\n" - ""}, - { (char *)"SbRotation___imul__", _wrap_SbRotation___imul__, METH_VARARGS, (char *)"\n" - "__imul__(SbRotation q) -> SbRotation\n" - "SbRotation___imul__(SbRotation self, float s) -> SbRotation\n" - ""}, - { (char *)"SbRotation_equals", _wrap_SbRotation_equals, METH_VARARGS, (char *)"SbRotation_equals(SbRotation self, SbRotation r, float tolerance) -> SbBool"}, - { (char *)"SbRotation_multVec", _wrap_SbRotation_multVec, METH_VARARGS, (char *)"SbRotation_multVec(SbRotation self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbRotation_scaleAngle", _wrap_SbRotation_scaleAngle, METH_VARARGS, (char *)"SbRotation_scaleAngle(SbRotation self, float scaleFactor)"}, - { (char *)"SbRotation_slerp", _wrap_SbRotation_slerp, METH_VARARGS, (char *)"SbRotation_slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation"}, - { (char *)"SbRotation_identity", _wrap_SbRotation_identity, METH_VARARGS, (char *)"SbRotation_identity() -> SbRotation"}, - { (char *)"SbRotation_output", _wrap_SbRotation_output, METH_VARARGS, (char *)"SbRotation_output(SbRotation self, FILE fp)"}, - { (char *)"SbRotation___mul__", _wrap_SbRotation___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbRotation u) -> SbRotation\n" - "__mul__(double d) -> SbRotation\n" - "SbRotation___mul__(SbRotation self, SbVec3f v) -> SbVec3f\n" - ""}, - { (char *)"SbRotation___eq__", _wrap_SbRotation___eq__, METH_VARARGS, (char *)"SbRotation___eq__(SbRotation self, SbRotation u) -> int"}, - { (char *)"SbRotation___nq__", _wrap_SbRotation___nq__, METH_VARARGS, (char *)"SbRotation___nq__(SbRotation self, SbRotation u) -> int"}, - { (char *)"delete_SbRotation", _wrap_delete_SbRotation, METH_VARARGS, (char *)"delete_SbRotation(SbRotation self)"}, - { (char *)"SbRotation_swigregister", SbRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetMatrixAction_getTypeId", _wrap_SoGetMatrixAction_getTypeId, METH_VARARGS, (char *)"SoGetMatrixAction_getTypeId(SoGetMatrixAction self) -> SoType"}, - { (char *)"SoGetMatrixAction_getClassTypeId", _wrap_SoGetMatrixAction_getClassTypeId, METH_VARARGS, (char *)"SoGetMatrixAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetMatrixAction_addMethod", _wrap_SoGetMatrixAction_addMethod, METH_VARARGS, (char *)"SoGetMatrixAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetMatrixAction_enableElement", _wrap_SoGetMatrixAction_enableElement, METH_VARARGS, (char *)"SoGetMatrixAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoGetMatrixAction_initClass", _wrap_SoGetMatrixAction_initClass, METH_VARARGS, (char *)"SoGetMatrixAction_initClass()"}, - { (char *)"new_SoGetMatrixAction", _wrap_new_SoGetMatrixAction, METH_VARARGS, (char *)"new_SoGetMatrixAction(SbViewportRegion region) -> SoGetMatrixAction"}, - { (char *)"delete_SoGetMatrixAction", _wrap_delete_SoGetMatrixAction, METH_VARARGS, (char *)"delete_SoGetMatrixAction(SoGetMatrixAction self)"}, - { (char *)"SoGetMatrixAction_setViewportRegion", _wrap_SoGetMatrixAction_setViewportRegion, METH_VARARGS, (char *)"SoGetMatrixAction_setViewportRegion(SoGetMatrixAction self, SbViewportRegion region)"}, - { (char *)"SoGetMatrixAction_getViewportRegion", _wrap_SoGetMatrixAction_getViewportRegion, METH_VARARGS, (char *)"SoGetMatrixAction_getViewportRegion(SoGetMatrixAction self) -> SbViewportRegion"}, - { (char *)"SoGetMatrixAction_getMatrix", _wrap_SoGetMatrixAction_getMatrix, METH_VARARGS, (char *)"SoGetMatrixAction_getMatrix(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getInverse", _wrap_SoGetMatrixAction_getInverse, METH_VARARGS, (char *)"SoGetMatrixAction_getInverse(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getTextureMatrix", _wrap_SoGetMatrixAction_getTextureMatrix, METH_VARARGS, (char *)"SoGetMatrixAction_getTextureMatrix(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getTextureInverse", _wrap_SoGetMatrixAction_getTextureInverse, METH_VARARGS, (char *)"SoGetMatrixAction_getTextureInverse(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_swigregister", SoGetMatrixAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetPrimitiveCountAction_getTypeId", _wrap_SoGetPrimitiveCountAction_getTypeId, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTypeId(SoGetPrimitiveCountAction self) -> SoType"}, - { (char *)"SoGetPrimitiveCountAction_getClassTypeId", _wrap_SoGetPrimitiveCountAction_getClassTypeId, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetPrimitiveCountAction_addMethod", _wrap_SoGetPrimitiveCountAction_addMethod, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetPrimitiveCountAction_enableElement", _wrap_SoGetPrimitiveCountAction_enableElement, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoGetPrimitiveCountAction_initClass", _wrap_SoGetPrimitiveCountAction_initClass, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_initClass()"}, - { (char *)"new_SoGetPrimitiveCountAction", _wrap_new_SoGetPrimitiveCountAction, METH_VARARGS, (char *)"new_SoGetPrimitiveCountAction() -> SoGetPrimitiveCountAction"}, - { (char *)"delete_SoGetPrimitiveCountAction", _wrap_delete_SoGetPrimitiveCountAction, METH_VARARGS, (char *)"delete_SoGetPrimitiveCountAction(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_getTriangleCount", _wrap_SoGetPrimitiveCountAction_getTriangleCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTriangleCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getLineCount", _wrap_SoGetPrimitiveCountAction_getLineCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getLineCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getPointCount", _wrap_SoGetPrimitiveCountAction_getPointCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getPointCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getTextCount", _wrap_SoGetPrimitiveCountAction_getTextCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTextCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getImageCount", _wrap_SoGetPrimitiveCountAction_getImageCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getImageCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_containsNoPrimitives", _wrap_SoGetPrimitiveCountAction_containsNoPrimitives, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_containsNoPrimitives(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes", _wrap_SoGetPrimitiveCountAction_containsNonTriangleShapes, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles", _wrap_SoGetPrimitiveCountAction_is3DTextCountedAsTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles", _wrap_SoGetPrimitiveCountAction_setCount3DTextAsTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles(SoGetPrimitiveCountAction self, SbBool flag)"}, - { (char *)"SoGetPrimitiveCountAction_canApproximateCount", _wrap_SoGetPrimitiveCountAction_canApproximateCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_canApproximateCount(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_setCanApproximate", _wrap_SoGetPrimitiveCountAction_setCanApproximate, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_setCanApproximate(SoGetPrimitiveCountAction self, SbBool flag)"}, - { (char *)"SoGetPrimitiveCountAction_setDecimationValue", _wrap_SoGetPrimitiveCountAction_setDecimationValue, METH_VARARGS, (char *)"\n" - "setDecimationValue(Type type, float percentage=1.0)\n" - "SoGetPrimitiveCountAction_setDecimationValue(SoGetPrimitiveCountAction self, Type type)\n" - ""}, - { (char *)"SoGetPrimitiveCountAction_getDecimationType", _wrap_SoGetPrimitiveCountAction_getDecimationType, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getDecimationType(SoGetPrimitiveCountAction self) -> Type"}, - { (char *)"SoGetPrimitiveCountAction_getDecimationPercentage", _wrap_SoGetPrimitiveCountAction_getDecimationPercentage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getDecimationPercentage(SoGetPrimitiveCountAction self) -> float"}, - { (char *)"SoGetPrimitiveCountAction_addNumTriangles", _wrap_SoGetPrimitiveCountAction_addNumTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumTriangles(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumLines", _wrap_SoGetPrimitiveCountAction_addNumLines, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumLines(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumPoints", _wrap_SoGetPrimitiveCountAction_addNumPoints, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumPoints(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumText", _wrap_SoGetPrimitiveCountAction_addNumText, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumText(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumImage", _wrap_SoGetPrimitiveCountAction_addNumImage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumImage(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_incNumTriangles", _wrap_SoGetPrimitiveCountAction_incNumTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumTriangles(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumLines", _wrap_SoGetPrimitiveCountAction_incNumLines, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumLines(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumPoints", _wrap_SoGetPrimitiveCountAction_incNumPoints, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumPoints(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumText", _wrap_SoGetPrimitiveCountAction_incNumText, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumText(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumImage", _wrap_SoGetPrimitiveCountAction_incNumImage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumImage(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_swigregister", SoGetPrimitiveCountAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleEventAction_getTypeId", _wrap_SoHandleEventAction_getTypeId, METH_VARARGS, (char *)"SoHandleEventAction_getTypeId(SoHandleEventAction self) -> SoType"}, - { (char *)"SoHandleEventAction_getClassTypeId", _wrap_SoHandleEventAction_getClassTypeId, METH_VARARGS, (char *)"SoHandleEventAction_getClassTypeId() -> SoType"}, - { (char *)"SoHandleEventAction_addMethod", _wrap_SoHandleEventAction_addMethod, METH_VARARGS, (char *)"SoHandleEventAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoHandleEventAction_enableElement", _wrap_SoHandleEventAction_enableElement, METH_VARARGS, (char *)"SoHandleEventAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoHandleEventAction_initClass", _wrap_SoHandleEventAction_initClass, METH_VARARGS, (char *)"SoHandleEventAction_initClass()"}, - { (char *)"new_SoHandleEventAction", _wrap_new_SoHandleEventAction, METH_VARARGS, (char *)"new_SoHandleEventAction(SbViewportRegion viewportregion) -> SoHandleEventAction"}, - { (char *)"delete_SoHandleEventAction", _wrap_delete_SoHandleEventAction, METH_VARARGS, (char *)"delete_SoHandleEventAction(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_setViewportRegion", _wrap_SoHandleEventAction_setViewportRegion, METH_VARARGS, (char *)"SoHandleEventAction_setViewportRegion(SoHandleEventAction self, SbViewportRegion newregion)"}, - { (char *)"SoHandleEventAction_getViewportRegion", _wrap_SoHandleEventAction_getViewportRegion, METH_VARARGS, (char *)"SoHandleEventAction_getViewportRegion(SoHandleEventAction self) -> SbViewportRegion"}, - { (char *)"SoHandleEventAction_setEvent", _wrap_SoHandleEventAction_setEvent, METH_VARARGS, (char *)"SoHandleEventAction_setEvent(SoHandleEventAction self, SoEvent ev)"}, - { (char *)"SoHandleEventAction_getEvent", _wrap_SoHandleEventAction_getEvent, METH_VARARGS, (char *)"SoHandleEventAction_getEvent(SoHandleEventAction self) -> SoEvent"}, - { (char *)"SoHandleEventAction_setHandled", _wrap_SoHandleEventAction_setHandled, METH_VARARGS, (char *)"SoHandleEventAction_setHandled(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_isHandled", _wrap_SoHandleEventAction_isHandled, METH_VARARGS, (char *)"SoHandleEventAction_isHandled(SoHandleEventAction self) -> SbBool"}, - { (char *)"SoHandleEventAction_setGrabber", _wrap_SoHandleEventAction_setGrabber, METH_VARARGS, (char *)"SoHandleEventAction_setGrabber(SoHandleEventAction self, SoNode node)"}, - { (char *)"SoHandleEventAction_releaseGrabber", _wrap_SoHandleEventAction_releaseGrabber, METH_VARARGS, (char *)"SoHandleEventAction_releaseGrabber(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_getGrabber", _wrap_SoHandleEventAction_getGrabber, METH_VARARGS, (char *)"SoHandleEventAction_getGrabber(SoHandleEventAction self) -> SoNode"}, - { (char *)"SoHandleEventAction_setPickRoot", _wrap_SoHandleEventAction_setPickRoot, METH_VARARGS, (char *)"SoHandleEventAction_setPickRoot(SoHandleEventAction self, SoNode node)"}, - { (char *)"SoHandleEventAction_getPickRoot", _wrap_SoHandleEventAction_getPickRoot, METH_VARARGS, (char *)"SoHandleEventAction_getPickRoot(SoHandleEventAction self) -> SoNode"}, - { (char *)"SoHandleEventAction_setPickRadius", _wrap_SoHandleEventAction_setPickRadius, METH_VARARGS, (char *)"SoHandleEventAction_setPickRadius(SoHandleEventAction self, float radiusinpixels)"}, - { (char *)"SoHandleEventAction_getPickedPoint", _wrap_SoHandleEventAction_getPickedPoint, METH_VARARGS, (char *)"SoHandleEventAction_getPickedPoint(SoHandleEventAction self) -> SoPickedPoint"}, - { (char *)"SoHandleEventAction_getPickedPointList", _wrap_SoHandleEventAction_getPickedPointList, METH_VARARGS, (char *)"SoHandleEventAction_getPickedPointList(SoHandleEventAction self) -> SoPickedPointList"}, - { (char *)"SoHandleEventAction_swigregister", SoHandleEventAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickAction_getTypeId", _wrap_SoPickAction_getTypeId, METH_VARARGS, (char *)"SoPickAction_getTypeId(SoPickAction self) -> SoType"}, - { (char *)"SoPickAction_getClassTypeId", _wrap_SoPickAction_getClassTypeId, METH_VARARGS, (char *)"SoPickAction_getClassTypeId() -> SoType"}, - { (char *)"SoPickAction_addMethod", _wrap_SoPickAction_addMethod, METH_VARARGS, (char *)"SoPickAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoPickAction_enableElement", _wrap_SoPickAction_enableElement, METH_VARARGS, (char *)"SoPickAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoPickAction_initClass", _wrap_SoPickAction_initClass, METH_VARARGS, (char *)"SoPickAction_initClass()"}, - { (char *)"SoPickAction_setViewportRegion", _wrap_SoPickAction_setViewportRegion, METH_VARARGS, (char *)"SoPickAction_setViewportRegion(SoPickAction self, SbViewportRegion newregion)"}, - { (char *)"SoPickAction_getViewportRegion", _wrap_SoPickAction_getViewportRegion, METH_VARARGS, (char *)"SoPickAction_getViewportRegion(SoPickAction self) -> SbViewportRegion"}, - { (char *)"SoPickAction_enableCulling", _wrap_SoPickAction_enableCulling, METH_VARARGS, (char *)"SoPickAction_enableCulling(SoPickAction self, SbBool flag)"}, - { (char *)"SoPickAction_isCullingEnabled", _wrap_SoPickAction_isCullingEnabled, METH_VARARGS, (char *)"SoPickAction_isCullingEnabled(SoPickAction self) -> SbBool"}, - { (char *)"SoPickAction_swigregister", SoPickAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRayPickAction_getTypeId", _wrap_SoRayPickAction_getTypeId, METH_VARARGS, (char *)"SoRayPickAction_getTypeId(SoRayPickAction self) -> SoType"}, - { (char *)"SoRayPickAction_getClassTypeId", _wrap_SoRayPickAction_getClassTypeId, METH_VARARGS, (char *)"SoRayPickAction_getClassTypeId() -> SoType"}, - { (char *)"SoRayPickAction_addMethod", _wrap_SoRayPickAction_addMethod, METH_VARARGS, (char *)"SoRayPickAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoRayPickAction_enableElement", _wrap_SoRayPickAction_enableElement, METH_VARARGS, (char *)"SoRayPickAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoRayPickAction", _wrap_new_SoRayPickAction, METH_VARARGS, (char *)"new_SoRayPickAction(SbViewportRegion viewportregion) -> SoRayPickAction"}, - { (char *)"delete_SoRayPickAction", _wrap_delete_SoRayPickAction, METH_VARARGS, (char *)"delete_SoRayPickAction(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_initClass", _wrap_SoRayPickAction_initClass, METH_VARARGS, (char *)"SoRayPickAction_initClass()"}, - { (char *)"SoRayPickAction_setPoint", _wrap_SoRayPickAction_setPoint, METH_VARARGS, (char *)"SoRayPickAction_setPoint(SoRayPickAction self, SbVec2s viewportPoint)"}, - { (char *)"SoRayPickAction_setNormalizedPoint", _wrap_SoRayPickAction_setNormalizedPoint, METH_VARARGS, (char *)"SoRayPickAction_setNormalizedPoint(SoRayPickAction self, SbVec2f normpoint)"}, - { (char *)"SoRayPickAction_setRadius", _wrap_SoRayPickAction_setRadius, METH_VARARGS, (char *)"SoRayPickAction_setRadius(SoRayPickAction self, float radiusinpixels)"}, - { (char *)"SoRayPickAction_setRay", _wrap_SoRayPickAction_setRay, METH_VARARGS, (char *)"\n" - "setRay(SbVec3f start, SbVec3f direction, float neardistance=-1.0, \n" - " float fardistance=-1.0)\n" - "setRay(SbVec3f start, SbVec3f direction, float neardistance=-1.0)\n" - "SoRayPickAction_setRay(SoRayPickAction self, SbVec3f start, SbVec3f direction)\n" - ""}, - { (char *)"SoRayPickAction_setPickAll", _wrap_SoRayPickAction_setPickAll, METH_VARARGS, (char *)"SoRayPickAction_setPickAll(SoRayPickAction self, SbBool flag)"}, - { (char *)"SoRayPickAction_isPickAll", _wrap_SoRayPickAction_isPickAll, METH_VARARGS, (char *)"SoRayPickAction_isPickAll(SoRayPickAction self) -> SbBool"}, - { (char *)"SoRayPickAction_getPickedPointList", _wrap_SoRayPickAction_getPickedPointList, METH_VARARGS, (char *)"SoRayPickAction_getPickedPointList(SoRayPickAction self) -> SoPickedPointList"}, - { (char *)"SoRayPickAction_getPickedPoint", _wrap_SoRayPickAction_getPickedPoint, METH_VARARGS, (char *)"\n" - "getPickedPoint(int index=0) -> SoPickedPoint\n" - "SoRayPickAction_getPickedPoint(SoRayPickAction self) -> SoPickedPoint\n" - ""}, - { (char *)"SoRayPickAction_computeWorldSpaceRay", _wrap_SoRayPickAction_computeWorldSpaceRay, METH_VARARGS, (char *)"SoRayPickAction_computeWorldSpaceRay(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_hasWorldSpaceRay", _wrap_SoRayPickAction_hasWorldSpaceRay, METH_VARARGS, (char *)"SoRayPickAction_hasWorldSpaceRay(SoRayPickAction self) -> SbBool"}, - { (char *)"SoRayPickAction_setObjectSpace", _wrap_SoRayPickAction_setObjectSpace, METH_VARARGS, (char *)"\n" - "setObjectSpace()\n" - "SoRayPickAction_setObjectSpace(SoRayPickAction self, SbMatrix matrix)\n" - ""}, - { (char *)"SoRayPickAction_intersect", _wrap_SoRayPickAction_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f intersection, \n" - " SbVec3f barycentric, SbBool front) -> SbBool\n" - "intersect(SbVec3f v0, SbVec3f v1, SbVec3f intersection) -> SbBool\n" - "intersect(SbVec3f point) -> SbBool\n" - "intersect(SbBox3f box, SbBool usefullviewvolume=1) -> SbBool\n" - "intersect(SbBox3f box) -> SbBool\n" - "intersect(SbBox3f box, SbVec3f intersection, SbBool usefullviewvolume=1) -> SbBool\n" - "SoRayPickAction_intersect(SoRayPickAction self, SbBox3f box, SbVec3f intersection) -> SbBool\n" - ""}, - { (char *)"SoRayPickAction_getViewVolume", _wrap_SoRayPickAction_getViewVolume, METH_VARARGS, (char *)"SoRayPickAction_getViewVolume(SoRayPickAction self) -> SbViewVolume"}, - { (char *)"SoRayPickAction_getLine", _wrap_SoRayPickAction_getLine, METH_VARARGS, (char *)"SoRayPickAction_getLine(SoRayPickAction self) -> SbLine"}, - { (char *)"SoRayPickAction_isBetweenPlanes", _wrap_SoRayPickAction_isBetweenPlanes, METH_VARARGS, (char *)"SoRayPickAction_isBetweenPlanes(SoRayPickAction self, SbVec3f intersection) -> SbBool"}, - { (char *)"SoRayPickAction_addIntersection", _wrap_SoRayPickAction_addIntersection, METH_VARARGS, (char *)"\n" - "addIntersection(SbVec3f objectspacepoint, SbBool frontpick=1) -> SoPickedPoint\n" - "SoRayPickAction_addIntersection(SoRayPickAction self, SbVec3f objectspacepoint) -> SoPickedPoint\n" - ""}, - { (char *)"SoRayPickAction_reset", _wrap_SoRayPickAction_reset, METH_VARARGS, (char *)"SoRayPickAction_reset(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_swigregister", SoRayPickAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_getTypeId", _wrap_SoSearchAction_getTypeId, METH_VARARGS, (char *)"SoSearchAction_getTypeId(SoSearchAction self) -> SoType"}, - { (char *)"SoSearchAction_getClassTypeId", _wrap_SoSearchAction_getClassTypeId, METH_VARARGS, (char *)"SoSearchAction_getClassTypeId() -> SoType"}, - { (char *)"SoSearchAction_addMethod", _wrap_SoSearchAction_addMethod, METH_VARARGS, (char *)"SoSearchAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoSearchAction_enableElement", _wrap_SoSearchAction_enableElement, METH_VARARGS, (char *)"SoSearchAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoSearchAction_initClass", _wrap_SoSearchAction_initClass, METH_VARARGS, (char *)"SoSearchAction_initClass()"}, - { (char *)"new_SoSearchAction", _wrap_new_SoSearchAction, METH_VARARGS, (char *)"new_SoSearchAction() -> SoSearchAction"}, - { (char *)"delete_SoSearchAction", _wrap_delete_SoSearchAction, METH_VARARGS, (char *)"delete_SoSearchAction(SoSearchAction self)"}, - { (char *)"SoSearchAction_setNode", _wrap_SoSearchAction_setNode, METH_VARARGS, (char *)"SoSearchAction_setNode(SoSearchAction self, SoNode node)"}, - { (char *)"SoSearchAction_getNode", _wrap_SoSearchAction_getNode, METH_VARARGS, (char *)"SoSearchAction_getNode(SoSearchAction self) -> SoNode"}, - { (char *)"SoSearchAction_setType", _wrap_SoSearchAction_setType, METH_VARARGS, (char *)"\n" - "setType(SoType type, SbBool chkderived=1)\n" - "SoSearchAction_setType(SoSearchAction self, SoType type)\n" - ""}, - { (char *)"SoSearchAction_getType", _wrap_SoSearchAction_getType, METH_VARARGS, (char *)"SoSearchAction_getType(SoSearchAction self, SbBool chkderived) -> SoType"}, - { (char *)"SoSearchAction_setName", _wrap_SoSearchAction_setName, METH_VARARGS, (char *)"SoSearchAction_setName(SoSearchAction self, SbName name)"}, - { (char *)"SoSearchAction_getName", _wrap_SoSearchAction_getName, METH_VARARGS, (char *)"SoSearchAction_getName(SoSearchAction self) -> SbName"}, - { (char *)"SoSearchAction_setFind", _wrap_SoSearchAction_setFind, METH_VARARGS, (char *)"SoSearchAction_setFind(SoSearchAction self, int what)"}, - { (char *)"SoSearchAction_getFind", _wrap_SoSearchAction_getFind, METH_VARARGS, (char *)"SoSearchAction_getFind(SoSearchAction self) -> int"}, - { (char *)"SoSearchAction_setInterest", _wrap_SoSearchAction_setInterest, METH_VARARGS, (char *)"SoSearchAction_setInterest(SoSearchAction self, Interest interest)"}, - { (char *)"SoSearchAction_getInterest", _wrap_SoSearchAction_getInterest, METH_VARARGS, (char *)"SoSearchAction_getInterest(SoSearchAction self) -> Interest"}, - { (char *)"SoSearchAction_setSearchingAll", _wrap_SoSearchAction_setSearchingAll, METH_VARARGS, (char *)"SoSearchAction_setSearchingAll(SoSearchAction self, SbBool searchall)"}, - { (char *)"SoSearchAction_isSearchingAll", _wrap_SoSearchAction_isSearchingAll, METH_VARARGS, (char *)"SoSearchAction_isSearchingAll(SoSearchAction self) -> SbBool"}, - { (char *)"SoSearchAction_getPath", _wrap_SoSearchAction_getPath, METH_VARARGS, (char *)"SoSearchAction_getPath(SoSearchAction self) -> SoPath"}, - { (char *)"SoSearchAction_getPaths", _wrap_SoSearchAction_getPaths, METH_VARARGS, (char *)"SoSearchAction_getPaths(SoSearchAction self) -> SoPathList"}, - { (char *)"SoSearchAction_reset", _wrap_SoSearchAction_reset, METH_VARARGS, (char *)"SoSearchAction_reset(SoSearchAction self)"}, - { (char *)"SoSearchAction_setFound", _wrap_SoSearchAction_setFound, METH_VARARGS, (char *)"SoSearchAction_setFound(SoSearchAction self)"}, - { (char *)"SoSearchAction_isFound", _wrap_SoSearchAction_isFound, METH_VARARGS, (char *)"SoSearchAction_isFound(SoSearchAction self) -> SbBool"}, - { (char *)"SoSearchAction_addPath", _wrap_SoSearchAction_addPath, METH_VARARGS, (char *)"SoSearchAction_addPath(SoSearchAction self, SoPath path)"}, - { (char *)"SoSearchAction_duringSearchAll_get", _wrap_SoSearchAction_duringSearchAll_get, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_duringSearchAll_set", _wrap_SoSearchAction_duringSearchAll_set, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_swigregister", SoSearchAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSimplifyAction_getTypeId", _wrap_SoSimplifyAction_getTypeId, METH_VARARGS, (char *)"SoSimplifyAction_getTypeId(SoSimplifyAction self) -> SoType"}, - { (char *)"SoSimplifyAction_getClassTypeId", _wrap_SoSimplifyAction_getClassTypeId, METH_VARARGS, (char *)"SoSimplifyAction_getClassTypeId() -> SoType"}, - { (char *)"SoSimplifyAction_addMethod", _wrap_SoSimplifyAction_addMethod, METH_VARARGS, (char *)"SoSimplifyAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoSimplifyAction_enableElement", _wrap_SoSimplifyAction_enableElement, METH_VARARGS, (char *)"SoSimplifyAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoSimplifyAction_initClass", _wrap_SoSimplifyAction_initClass, METH_VARARGS, (char *)"SoSimplifyAction_initClass()"}, - { (char *)"new_SoSimplifyAction", _wrap_new_SoSimplifyAction, METH_VARARGS, (char *)"new_SoSimplifyAction() -> SoSimplifyAction"}, - { (char *)"delete_SoSimplifyAction", _wrap_delete_SoSimplifyAction, METH_VARARGS, (char *)"delete_SoSimplifyAction(SoSimplifyAction self)"}, - { (char *)"SoSimplifyAction_apply", _wrap_SoSimplifyAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode root)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoSimplifyAction_apply(SoSimplifyAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoSimplifyAction_swigregister", SoSimplifyAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoReorganizeAction_getTypeId", _wrap_SoReorganizeAction_getTypeId, METH_VARARGS, (char *)"SoReorganizeAction_getTypeId(SoReorganizeAction self) -> SoType"}, - { (char *)"SoReorganizeAction_getClassTypeId", _wrap_SoReorganizeAction_getClassTypeId, METH_VARARGS, (char *)"SoReorganizeAction_getClassTypeId() -> SoType"}, - { (char *)"SoReorganizeAction_addMethod", _wrap_SoReorganizeAction_addMethod, METH_VARARGS, (char *)"SoReorganizeAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoReorganizeAction_enableElement", _wrap_SoReorganizeAction_enableElement, METH_VARARGS, (char *)"SoReorganizeAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoReorganizeAction_initClass", _wrap_SoReorganizeAction_initClass, METH_VARARGS, (char *)"SoReorganizeAction_initClass()"}, - { (char *)"new_SoReorganizeAction", _wrap_new_SoReorganizeAction, METH_VARARGS, (char *)"\n" - "SoReorganizeAction(SoSimplifier simplifier=None)\n" - "new_SoReorganizeAction() -> SoReorganizeAction\n" - ""}, - { (char *)"delete_SoReorganizeAction", _wrap_delete_SoReorganizeAction, METH_VARARGS, (char *)"delete_SoReorganizeAction(SoReorganizeAction self)"}, - { (char *)"SoReorganizeAction_getSimplifiedSceneGraph", _wrap_SoReorganizeAction_getSimplifiedSceneGraph, METH_VARARGS, (char *)"SoReorganizeAction_getSimplifiedSceneGraph(SoReorganizeAction self) -> SoSeparator"}, - { (char *)"SoReorganizeAction_generateNormals", _wrap_SoReorganizeAction_generateNormals, METH_VARARGS, (char *)"SoReorganizeAction_generateNormals(SoReorganizeAction self, SbBool onoff)"}, - { (char *)"SoReorganizeAction_areNormalGenerated", _wrap_SoReorganizeAction_areNormalGenerated, METH_VARARGS, (char *)"SoReorganizeAction_areNormalGenerated(SoReorganizeAction self) -> SbBool"}, - { (char *)"SoReorganizeAction_generateTriangleStrips", _wrap_SoReorganizeAction_generateTriangleStrips, METH_VARARGS, (char *)"SoReorganizeAction_generateTriangleStrips(SoReorganizeAction self, SbBool onoff)"}, - { (char *)"SoReorganizeAction_areTriangleStripGenerated", _wrap_SoReorganizeAction_areTriangleStripGenerated, METH_VARARGS, (char *)"SoReorganizeAction_areTriangleStripGenerated(SoReorganizeAction self) -> SbBool"}, - { (char *)"SoReorganizeAction_generateTexCoords", _wrap_SoReorganizeAction_generateTexCoords, METH_VARARGS, (char *)"SoReorganizeAction_generateTexCoords(SoReorganizeAction self, SbBool onoff)"}, - { (char *)"SoReorganizeAction_areTexCoordsGenerated", _wrap_SoReorganizeAction_areTexCoordsGenerated, METH_VARARGS, (char *)"SoReorganizeAction_areTexCoordsGenerated(SoReorganizeAction self) -> SbBool"}, - { (char *)"SoReorganizeAction_generateVPNodes", _wrap_SoReorganizeAction_generateVPNodes, METH_VARARGS, (char *)"SoReorganizeAction_generateVPNodes(SoReorganizeAction self, SbBool onoff)"}, - { (char *)"SoReorganizeAction_areVPNodesGenerated", _wrap_SoReorganizeAction_areVPNodesGenerated, METH_VARARGS, (char *)"SoReorganizeAction_areVPNodesGenerated(SoReorganizeAction self) -> SbBool"}, - { (char *)"SoReorganizeAction_matchIndexArrays", _wrap_SoReorganizeAction_matchIndexArrays, METH_VARARGS, (char *)"SoReorganizeAction_matchIndexArrays(SoReorganizeAction self, SbBool onoff)"}, - { (char *)"SoReorganizeAction_areIndexArraysMatched", _wrap_SoReorganizeAction_areIndexArraysMatched, METH_VARARGS, (char *)"SoReorganizeAction_areIndexArraysMatched(SoReorganizeAction self) -> SbBool"}, - { (char *)"SoReorganizeAction_getSimplifier", _wrap_SoReorganizeAction_getSimplifier, METH_VARARGS, (char *)"SoReorganizeAction_getSimplifier(SoReorganizeAction self) -> SoSimplifier"}, - { (char *)"SoReorganizeAction_apply", _wrap_SoReorganizeAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode root)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoReorganizeAction_apply(SoReorganizeAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoReorganizeAction_startReport", _wrap_SoReorganizeAction_startReport, METH_VARARGS, (char *)"SoReorganizeAction_startReport(char msg)"}, - { (char *)"SoReorganizeAction_finishReport", _wrap_SoReorganizeAction_finishReport, METH_VARARGS, (char *)"SoReorganizeAction_finishReport()"}, - { (char *)"SoReorganizeAction_swigregister", SoReorganizeAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWriteAction_getTypeId", _wrap_SoWriteAction_getTypeId, METH_VARARGS, (char *)"SoWriteAction_getTypeId(SoWriteAction self) -> SoType"}, - { (char *)"SoWriteAction_getClassTypeId", _wrap_SoWriteAction_getClassTypeId, METH_VARARGS, (char *)"SoWriteAction_getClassTypeId() -> SoType"}, - { (char *)"SoWriteAction_addMethod", _wrap_SoWriteAction_addMethod, METH_VARARGS, (char *)"SoWriteAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoWriteAction_enableElement", _wrap_SoWriteAction_enableElement, METH_VARARGS, (char *)"SoWriteAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoWriteAction", _wrap_new_SoWriteAction, METH_VARARGS, (char *)"\n" - "SoWriteAction()\n" - "new_SoWriteAction(SoOutput out) -> SoWriteAction\n" - ""}, - { (char *)"delete_SoWriteAction", _wrap_delete_SoWriteAction, METH_VARARGS, (char *)"delete_SoWriteAction(SoWriteAction self)"}, - { (char *)"SoWriteAction_initClass", _wrap_SoWriteAction_initClass, METH_VARARGS, (char *)"SoWriteAction_initClass()"}, - { (char *)"SoWriteAction_getOutput", _wrap_SoWriteAction_getOutput, METH_VARARGS, (char *)"SoWriteAction_getOutput(SoWriteAction self) -> SoOutput"}, - { (char *)"SoWriteAction_continueToApply", _wrap_SoWriteAction_continueToApply, METH_VARARGS, (char *)"\n" - "continueToApply(SoNode node)\n" - "SoWriteAction_continueToApply(SoWriteAction self, SoPath path)\n" - ""}, - { (char *)"SoWriteAction_swigregister", SoWriteAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAudioRenderAction_getTypeId", _wrap_SoAudioRenderAction_getTypeId, METH_VARARGS, (char *)"SoAudioRenderAction_getTypeId(SoAudioRenderAction self) -> SoType"}, - { (char *)"SoAudioRenderAction_getClassTypeId", _wrap_SoAudioRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoAudioRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoAudioRenderAction_addMethod", _wrap_SoAudioRenderAction_addMethod, METH_VARARGS, (char *)"SoAudioRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoAudioRenderAction_enableElement", _wrap_SoAudioRenderAction_enableElement, METH_VARARGS, (char *)"SoAudioRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoAudioRenderAction_initClass", _wrap_SoAudioRenderAction_initClass, METH_VARARGS, (char *)"SoAudioRenderAction_initClass()"}, - { (char *)"new_SoAudioRenderAction", _wrap_new_SoAudioRenderAction, METH_VARARGS, (char *)"new_SoAudioRenderAction() -> SoAudioRenderAction"}, - { (char *)"delete_SoAudioRenderAction", _wrap_delete_SoAudioRenderAction, METH_VARARGS, (char *)"delete_SoAudioRenderAction(SoAudioRenderAction self)"}, - { (char *)"SoAudioRenderAction_callDoAction", _wrap_SoAudioRenderAction_callDoAction, METH_VARARGS, (char *)"SoAudioRenderAction_callDoAction(SoAction action, SoNode node)"}, - { (char *)"SoAudioRenderAction_callAudioRender", _wrap_SoAudioRenderAction_callAudioRender, METH_VARARGS, (char *)"SoAudioRenderAction_callAudioRender(SoAction action, SoNode node)"}, - { (char *)"SoAudioRenderAction_swigregister", SoAudioRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIntersectingPrimitive_path_set", _wrap_SoIntersectingPrimitive_path_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_path_set(SoIntersectingPrimitive self, SoPath path)"}, - { (char *)"SoIntersectingPrimitive_path_get", _wrap_SoIntersectingPrimitive_path_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_path_get(SoIntersectingPrimitive self) -> SoPath"}, - { (char *)"SoIntersectingPrimitive_type_set", _wrap_SoIntersectingPrimitive_type_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_type_set(SoIntersectingPrimitive self, enum SoIntersectingPrimitive::PrimitiveType type)"}, - { (char *)"SoIntersectingPrimitive_type_get", _wrap_SoIntersectingPrimitive_type_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_type_get(SoIntersectingPrimitive self) -> enum SoIntersectingPrimitive::PrimitiveType"}, - { (char *)"SoIntersectingPrimitive_vertex_set", _wrap_SoIntersectingPrimitive_vertex_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_vertex_set(SoIntersectingPrimitive self, SbVec3f vertex)"}, - { (char *)"SoIntersectingPrimitive_vertex_get", _wrap_SoIntersectingPrimitive_vertex_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_vertex_get(SoIntersectingPrimitive self) -> SbVec3f"}, - { (char *)"SoIntersectingPrimitive_xf_vertex_set", _wrap_SoIntersectingPrimitive_xf_vertex_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_xf_vertex_set(SoIntersectingPrimitive self, SbVec3f xf_vertex)"}, - { (char *)"SoIntersectingPrimitive_xf_vertex_get", _wrap_SoIntersectingPrimitive_xf_vertex_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_xf_vertex_get(SoIntersectingPrimitive self) -> SbVec3f"}, - { (char *)"new_SoIntersectingPrimitive", _wrap_new_SoIntersectingPrimitive, METH_VARARGS, (char *)"new_SoIntersectingPrimitive() -> SoIntersectingPrimitive"}, - { (char *)"delete_SoIntersectingPrimitive", _wrap_delete_SoIntersectingPrimitive, METH_VARARGS, (char *)"delete_SoIntersectingPrimitive(SoIntersectingPrimitive self)"}, - { (char *)"SoIntersectingPrimitive_swigregister", SoIntersectingPrimitive_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIntersectionDetectionAction_getTypeId", _wrap_SoIntersectionDetectionAction_getTypeId, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getTypeId(SoIntersectionDetectionAction self) -> SoType"}, - { (char *)"SoIntersectionDetectionAction_getClassTypeId", _wrap_SoIntersectionDetectionAction_getClassTypeId, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getClassTypeId() -> SoType"}, - { (char *)"SoIntersectionDetectionAction_addMethod", _wrap_SoIntersectionDetectionAction_addMethod, METH_VARARGS, (char *)"SoIntersectionDetectionAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoIntersectionDetectionAction_enableElement", _wrap_SoIntersectionDetectionAction_enableElement, METH_VARARGS, (char *)"SoIntersectionDetectionAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoIntersectionDetectionAction_initClass", _wrap_SoIntersectionDetectionAction_initClass, METH_VARARGS, (char *)"SoIntersectionDetectionAction_initClass()"}, - { (char *)"new_SoIntersectionDetectionAction", _wrap_new_SoIntersectionDetectionAction, METH_VARARGS, (char *)"new_SoIntersectionDetectionAction() -> SoIntersectionDetectionAction"}, - { (char *)"delete_SoIntersectionDetectionAction", _wrap_delete_SoIntersectionDetectionAction, METH_VARARGS, (char *)"delete_SoIntersectionDetectionAction(SoIntersectionDetectionAction self)"}, - { (char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon", _wrap_SoIntersectionDetectionAction_setIntersectionDetectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(SoIntersectionDetectionAction self, float epsilon)"}, - { (char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon", _wrap_SoIntersectionDetectionAction_getIntersectionDetectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(SoIntersectionDetectionAction self) -> float"}, - { (char *)"SoIntersectionDetectionAction_setIntersectionEpsilon", _wrap_SoIntersectionDetectionAction_setIntersectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setIntersectionEpsilon(float epsilon)"}, - { (char *)"SoIntersectionDetectionAction_getIntersectionEpsilon", _wrap_SoIntersectionDetectionAction_getIntersectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getIntersectionEpsilon() -> float"}, - { (char *)"SoIntersectionDetectionAction_setTypeEnabled", _wrap_SoIntersectionDetectionAction_setTypeEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setTypeEnabled(SoIntersectionDetectionAction self, SoType type, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isTypeEnabled", _wrap_SoIntersectionDetectionAction_isTypeEnabled, METH_VARARGS, (char *)"\n" - "isTypeEnabled(SoType type, SbBool checkgroups=0) -> SbBool\n" - "SoIntersectionDetectionAction_isTypeEnabled(SoIntersectionDetectionAction self, SoType type) -> SbBool\n" - ""}, - { (char *)"SoIntersectionDetectionAction_setManipsEnabled", _wrap_SoIntersectionDetectionAction_setManipsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setManipsEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isManipsEnabled", _wrap_SoIntersectionDetectionAction_isManipsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isManipsEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_setDraggersEnabled", _wrap_SoIntersectionDetectionAction_setDraggersEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setDraggersEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isDraggersEnabled", _wrap_SoIntersectionDetectionAction_isDraggersEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isDraggersEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled", _wrap_SoIntersectionDetectionAction_setShapeInternalsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled", _wrap_SoIntersectionDetectionAction_isShapeInternalsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_apply", _wrap_SoIntersectionDetectionAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList paths, SbBool obeysRules=0)\n" - "SoIntersectionDetectionAction_apply(SoIntersectionDetectionAction self, SoPathList paths)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_addVisitationCallback", _wrap_SoIntersectionDetectionAction_addVisitationCallback, METH_VARARGS, (char *)"\n" - "addVisitationCallback(SoType type, SoIntersectionVisitationCB cb, void closure)\n" - "SoIntersectionDetectionAction_addVisitationCallback(SoIntersectionDetectionAction self, SoType type, PyObject pyfunc, \n" - " PyObject closure)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_removeVisitationCallback", _wrap_SoIntersectionDetectionAction_removeVisitationCallback, METH_VARARGS, (char *)"\n" - "removeVisitationCallback(SoType type, SoIntersectionVisitationCB cb, void closure)\n" - "SoIntersectionDetectionAction_removeVisitationCallback(SoIntersectionDetectionAction self, SoType type, PyObject pyfunc, \n" - " PyObject closure)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_setFilterCallback", _wrap_SoIntersectionDetectionAction_setFilterCallback, METH_VARARGS, (char *)"\n" - "setFilterCallback(SoIntersectionFilterCB cb, void closure=None)\n" - "setFilterCallback(SoIntersectionFilterCB cb)\n" - "setFilterCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_setFilterCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_addIntersectionCallback", _wrap_SoIntersectionDetectionAction_addIntersectionCallback, METH_VARARGS, (char *)"\n" - "addIntersectionCallback(SoIntersectionCB cb, void closure=None)\n" - "addIntersectionCallback(SoIntersectionCB cb)\n" - "addIntersectionCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_addIntersectionCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_removeIntersectionCallback", _wrap_SoIntersectionDetectionAction_removeIntersectionCallback, METH_VARARGS, (char *)"\n" - "removeIntersectionCallback(SoIntersectionCB cb, void closure=None)\n" - "removeIntersectionCallback(SoIntersectionCB cb)\n" - "removeIntersectionCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_removeIntersectionCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_swigregister", SoIntersectionDetectionAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoToVRMLAction_getTypeId", _wrap_SoToVRMLAction_getTypeId, METH_VARARGS, (char *)"SoToVRMLAction_getTypeId(SoToVRMLAction self) -> SoType"}, - { (char *)"SoToVRMLAction_getClassTypeId", _wrap_SoToVRMLAction_getClassTypeId, METH_VARARGS, (char *)"SoToVRMLAction_getClassTypeId() -> SoType"}, - { (char *)"SoToVRMLAction_addMethod", _wrap_SoToVRMLAction_addMethod, METH_VARARGS, (char *)"SoToVRMLAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoToVRMLAction_enableElement", _wrap_SoToVRMLAction_enableElement, METH_VARARGS, (char *)"SoToVRMLAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoToVRMLAction_initClass", _wrap_SoToVRMLAction_initClass, METH_VARARGS, (char *)"SoToVRMLAction_initClass()"}, - { (char *)"new_SoToVRMLAction", _wrap_new_SoToVRMLAction, METH_VARARGS, (char *)"new_SoToVRMLAction() -> SoToVRMLAction"}, - { (char *)"delete_SoToVRMLAction", _wrap_delete_SoToVRMLAction, METH_VARARGS, (char *)"delete_SoToVRMLAction(SoToVRMLAction self)"}, - { (char *)"SoToVRMLAction_apply", _wrap_SoToVRMLAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoToVRMLAction_apply(SoToVRMLAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoToVRMLAction_getVRMLSceneGraph", _wrap_SoToVRMLAction_getVRMLSceneGraph, METH_VARARGS, (char *)"SoToVRMLAction_getVRMLSceneGraph(SoToVRMLAction self) -> SoNode"}, - { (char *)"SoToVRMLAction_expandSoFile", _wrap_SoToVRMLAction_expandSoFile, METH_VARARGS, (char *)"SoToVRMLAction_expandSoFile(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areSoFileExpanded", _wrap_SoToVRMLAction_areSoFileExpanded, METH_VARARGS, (char *)"SoToVRMLAction_areSoFileExpanded(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_setUrlName", _wrap_SoToVRMLAction_setUrlName, METH_VARARGS, (char *)"SoToVRMLAction_setUrlName(SoToVRMLAction self, SbString name)"}, - { (char *)"SoToVRMLAction_getUrlName", _wrap_SoToVRMLAction_getUrlName, METH_VARARGS, (char *)"SoToVRMLAction_getUrlName(SoToVRMLAction self) -> SbString"}, - { (char *)"SoToVRMLAction_writeTexCoords", _wrap_SoToVRMLAction_writeTexCoords, METH_VARARGS, (char *)"SoToVRMLAction_writeTexCoords(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areTexCoordWritten", _wrap_SoToVRMLAction_areTexCoordWritten, METH_VARARGS, (char *)"SoToVRMLAction_areTexCoordWritten(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_expandTexture2Node", _wrap_SoToVRMLAction_expandTexture2Node, METH_VARARGS, (char *)"SoToVRMLAction_expandTexture2Node(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areTexture2NodeExpanded", _wrap_SoToVRMLAction_areTexture2NodeExpanded, METH_VARARGS, (char *)"SoToVRMLAction_areTexture2NodeExpanded(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_keepUnknownNodes", _wrap_SoToVRMLAction_keepUnknownNodes, METH_VARARGS, (char *)"SoToVRMLAction_keepUnknownNodes(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areUnknownNodeKept", _wrap_SoToVRMLAction_areUnknownNodeKept, METH_VARARGS, (char *)"SoToVRMLAction_areUnknownNodeKept(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_convertInlineNodes", _wrap_SoToVRMLAction_convertInlineNodes, METH_VARARGS, (char *)"SoToVRMLAction_convertInlineNodes(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_doConvertInlineNodes", _wrap_SoToVRMLAction_doConvertInlineNodes, METH_VARARGS, (char *)"SoToVRMLAction_doConvertInlineNodes(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_conditionalConversion", _wrap_SoToVRMLAction_conditionalConversion, METH_VARARGS, (char *)"SoToVRMLAction_conditionalConversion(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_doConditionalConversion", _wrap_SoToVRMLAction_doConditionalConversion, METH_VARARGS, (char *)"SoToVRMLAction_doConditionalConversion(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_setVerbosity", _wrap_SoToVRMLAction_setVerbosity, METH_VARARGS, (char *)"SoToVRMLAction_setVerbosity(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_isVerbose", _wrap_SoToVRMLAction_isVerbose, METH_VARARGS, (char *)"SoToVRMLAction_isVerbose(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_swigregister", SoToVRMLAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoToVRML2Action_getTypeId", _wrap_SoToVRML2Action_getTypeId, METH_VARARGS, (char *)"SoToVRML2Action_getTypeId(SoToVRML2Action self) -> SoType"}, - { (char *)"SoToVRML2Action_getClassTypeId", _wrap_SoToVRML2Action_getClassTypeId, METH_VARARGS, (char *)"SoToVRML2Action_getClassTypeId() -> SoType"}, - { (char *)"SoToVRML2Action_addMethod", _wrap_SoToVRML2Action_addMethod, METH_VARARGS, (char *)"SoToVRML2Action_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoToVRML2Action_enableElement", _wrap_SoToVRML2Action_enableElement, METH_VARARGS, (char *)"SoToVRML2Action_enableElement(SoType type, int stackindex)"}, - { (char *)"SoToVRML2Action_initClass", _wrap_SoToVRML2Action_initClass, METH_VARARGS, (char *)"SoToVRML2Action_initClass()"}, - { (char *)"new_SoToVRML2Action", _wrap_new_SoToVRML2Action, METH_VARARGS, (char *)"new_SoToVRML2Action() -> SoToVRML2Action"}, - { (char *)"delete_SoToVRML2Action", _wrap_delete_SoToVRML2Action, METH_VARARGS, (char *)"delete_SoToVRML2Action(SoToVRML2Action self)"}, - { (char *)"SoToVRML2Action_apply", _wrap_SoToVRML2Action_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoToVRML2Action_apply(SoToVRML2Action self, SoPathList pathlist)\n" - ""}, - { (char *)"SoToVRML2Action_getVRML2SceneGraph", _wrap_SoToVRML2Action_getVRML2SceneGraph, METH_VARARGS, (char *)"SoToVRML2Action_getVRML2SceneGraph(SoToVRML2Action self) -> SoVRMLGroup"}, - { (char *)"SoToVRML2Action_reuseAppearanceNodes", _wrap_SoToVRML2Action_reuseAppearanceNodes, METH_VARARGS, (char *)"SoToVRML2Action_reuseAppearanceNodes(SoToVRML2Action self, SbBool appearance)"}, - { (char *)"SoToVRML2Action_doReuseAppearanceNodes", _wrap_SoToVRML2Action_doReuseAppearanceNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReuseAppearanceNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_reusePropertyNodes", _wrap_SoToVRML2Action_reusePropertyNodes, METH_VARARGS, (char *)"SoToVRML2Action_reusePropertyNodes(SoToVRML2Action self, SbBool property)"}, - { (char *)"SoToVRML2Action_doReusePropertyNodes", _wrap_SoToVRML2Action_doReusePropertyNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReusePropertyNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_reuseGeometryNodes", _wrap_SoToVRML2Action_reuseGeometryNodes, METH_VARARGS, (char *)"SoToVRML2Action_reuseGeometryNodes(SoToVRML2Action self, SbBool geometry)"}, - { (char *)"SoToVRML2Action_doReuseGeometryNodes", _wrap_SoToVRML2Action_doReuseGeometryNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReuseGeometryNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_swigregister", SoToVRML2Action_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHardCopy_init", _wrap_SoHardCopy_init, METH_VARARGS, (char *)"SoHardCopy_init()"}, - { (char *)"SoHardCopy_getProductName", _wrap_SoHardCopy_getProductName, METH_VARARGS, (char *)"SoHardCopy_getProductName() -> char"}, - { (char *)"SoHardCopy_getVersion", _wrap_SoHardCopy_getVersion, METH_VARARGS, (char *)"SoHardCopy_getVersion() -> char"}, - { (char *)"new_SoHardCopy", _wrap_new_SoHardCopy, METH_VARARGS, (char *)"new_SoHardCopy() -> SoHardCopy"}, - { (char *)"delete_SoHardCopy", _wrap_delete_SoHardCopy, METH_VARARGS, (char *)"delete_SoHardCopy(SoHardCopy self)"}, - { (char *)"SoHardCopy_swigregister", SoHardCopy_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoVectorOutput", _wrap_new_SoVectorOutput, METH_VARARGS, (char *)"new_SoVectorOutput() -> SoVectorOutput"}, - { (char *)"delete_SoVectorOutput", _wrap_delete_SoVectorOutput, METH_VARARGS, (char *)"delete_SoVectorOutput(SoVectorOutput self)"}, - { (char *)"SoVectorOutput_openFile", _wrap_SoVectorOutput_openFile, METH_VARARGS, (char *)"SoVectorOutput_openFile(SoVectorOutput self, char filename) -> SbBool"}, - { (char *)"SoVectorOutput_closeFile", _wrap_SoVectorOutput_closeFile, METH_VARARGS, (char *)"SoVectorOutput_closeFile(SoVectorOutput self)"}, - { (char *)"SoVectorOutput_getFilePointer", _wrap_SoVectorOutput_getFilePointer, METH_VARARGS, (char *)"SoVectorOutput_getFilePointer(SoVectorOutput self) -> FILE"}, - { (char *)"SoVectorOutput_swigregister", SoVectorOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPSVectorOutput", _wrap_new_SoPSVectorOutput, METH_VARARGS, (char *)"new_SoPSVectorOutput() -> SoPSVectorOutput"}, - { (char *)"delete_SoPSVectorOutput", _wrap_delete_SoPSVectorOutput, METH_VARARGS, (char *)"delete_SoPSVectorOutput(SoPSVectorOutput self)"}, - { (char *)"SoPSVectorOutput_setColored", _wrap_SoPSVectorOutput_setColored, METH_VARARGS, (char *)"\n" - "setColored(SbBool flag=1)\n" - "SoPSVectorOutput_setColored(SoPSVectorOutput self)\n" - ""}, - { (char *)"SoPSVectorOutput_getColored", _wrap_SoPSVectorOutput_getColored, METH_VARARGS, (char *)"SoPSVectorOutput_getColored(SoPSVectorOutput self) -> SbBool"}, - { (char *)"SoPSVectorOutput_swigregister", SoPSVectorOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVectorizeAction_getTypeId", _wrap_SoVectorizeAction_getTypeId, METH_VARARGS, (char *)"SoVectorizeAction_getTypeId(SoVectorizeAction self) -> SoType"}, - { (char *)"SoVectorizeAction_getClassTypeId", _wrap_SoVectorizeAction_getClassTypeId, METH_VARARGS, (char *)"SoVectorizeAction_getClassTypeId() -> SoType"}, - { (char *)"SoVectorizeAction_addMethod", _wrap_SoVectorizeAction_addMethod, METH_VARARGS, (char *)"SoVectorizeAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoVectorizeAction_enableElement", _wrap_SoVectorizeAction_enableElement, METH_VARARGS, (char *)"SoVectorizeAction_enableElement(SoType type, int stackindex)"}, - { (char *)"delete_SoVectorizeAction", _wrap_delete_SoVectorizeAction, METH_VARARGS, (char *)"delete_SoVectorizeAction(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_getOutput", _wrap_SoVectorizeAction_getOutput, METH_VARARGS, (char *)"SoVectorizeAction_getOutput(SoVectorizeAction self) -> SoVectorOutput"}, - { (char *)"SoVectorizeAction_initClass", _wrap_SoVectorizeAction_initClass, METH_VARARGS, (char *)"SoVectorizeAction_initClass()"}, - { (char *)"SoVectorizeAction_apply", _wrap_SoVectorizeAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoVectorizeAction_apply(SoVectorizeAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoVectorizeAction_beginStandardPage", _wrap_SoVectorizeAction_beginStandardPage, METH_VARARGS, (char *)"\n" - "beginStandardPage(PageSize pagesize, float border=10.0)\n" - "SoVectorizeAction_beginStandardPage(SoVectorizeAction self, PageSize pagesize)\n" - ""}, - { (char *)"SoVectorizeAction_beginPage", _wrap_SoVectorizeAction_beginPage, METH_VARARGS, (char *)"\n" - "beginPage(SbVec2f startpagepos, SbVec2f pagesize, DimensionUnit u=MM)\n" - "SoVectorizeAction_beginPage(SoVectorizeAction self, SbVec2f startpagepos, SbVec2f pagesize)\n" - ""}, - { (char *)"SoVectorizeAction_endPage", _wrap_SoVectorizeAction_endPage, METH_VARARGS, (char *)"SoVectorizeAction_endPage(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_calibrate", _wrap_SoVectorizeAction_calibrate, METH_VARARGS, (char *)"SoVectorizeAction_calibrate(SoVectorizeAction self, SbViewportRegion vp)"}, - { (char *)"SoVectorizeAction_beginViewport", _wrap_SoVectorizeAction_beginViewport, METH_VARARGS, (char *)"\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f), \n" - " DimensionUnit u=MM)\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f))\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f))\n" - "SoVectorizeAction_beginViewport(SoVectorizeAction self)\n" - ""}, - { (char *)"SoVectorizeAction_endViewport", _wrap_SoVectorizeAction_endViewport, METH_VARARGS, (char *)"SoVectorizeAction_endViewport(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_setOrientation", _wrap_SoVectorizeAction_setOrientation, METH_VARARGS, (char *)"SoVectorizeAction_setOrientation(SoVectorizeAction self, Orientation o)"}, - { (char *)"SoVectorizeAction_getOrientation", _wrap_SoVectorizeAction_getOrientation, METH_VARARGS, (char *)"SoVectorizeAction_getOrientation(SoVectorizeAction self) -> Orientation"}, - { (char *)"SoVectorizeAction_setBackgroundColor", _wrap_SoVectorizeAction_setBackgroundColor, METH_VARARGS, (char *)"\n" - "setBackgroundColor(SbBool bg, SbColor col=SbColor(0.0f, 0.0f, 0.0f))\n" - "SoVectorizeAction_setBackgroundColor(SoVectorizeAction self, SbBool bg)\n" - ""}, - { (char *)"SoVectorizeAction_getBackgroundColor", _wrap_SoVectorizeAction_getBackgroundColor, METH_VARARGS, (char *)"SoVectorizeAction_getBackgroundColor(SoVectorizeAction self, SbColor col) -> SbBool"}, - { (char *)"SoVectorizeAction_setNominalWidth", _wrap_SoVectorizeAction_setNominalWidth, METH_VARARGS, (char *)"\n" - "setNominalWidth(float w, DimensionUnit u=MM)\n" - "SoVectorizeAction_setNominalWidth(SoVectorizeAction self, float w)\n" - ""}, - { (char *)"SoVectorizeAction_getNominalWidth", _wrap_SoVectorizeAction_getNominalWidth, METH_VARARGS, (char *)"\n" - "getNominalWidth(DimensionUnit u=MM) -> float\n" - "SoVectorizeAction_getNominalWidth(SoVectorizeAction self) -> float\n" - ""}, - { (char *)"SoVectorizeAction_setPixelImageSize", _wrap_SoVectorizeAction_setPixelImageSize, METH_VARARGS, (char *)"\n" - "setPixelImageSize(float w, DimensionUnit u=MM)\n" - "SoVectorizeAction_setPixelImageSize(SoVectorizeAction self, float w)\n" - ""}, - { (char *)"SoVectorizeAction_getPixelImageSize", _wrap_SoVectorizeAction_getPixelImageSize, METH_VARARGS, (char *)"\n" - "getPixelImageSize(DimensionUnit u=MM) -> float\n" - "SoVectorizeAction_getPixelImageSize(SoVectorizeAction self) -> float\n" - ""}, - { (char *)"SoVectorizeAction_setPointStyle", _wrap_SoVectorizeAction_setPointStyle, METH_VARARGS, (char *)"SoVectorizeAction_setPointStyle(SoVectorizeAction self, PointStyle style)"}, - { (char *)"SoVectorizeAction_getPointStyle", _wrap_SoVectorizeAction_getPointStyle, METH_VARARGS, (char *)"SoVectorizeAction_getPointStyle(SoVectorizeAction self) -> PointStyle"}, - { (char *)"SoVectorizeAction_getPageStartpos", _wrap_SoVectorizeAction_getPageStartpos, METH_VARARGS, (char *)"SoVectorizeAction_getPageStartpos(SoVectorizeAction self) -> SbVec2f"}, - { (char *)"SoVectorizeAction_getPageSize", _wrap_SoVectorizeAction_getPageSize, METH_VARARGS, (char *)"SoVectorizeAction_getPageSize(SoVectorizeAction self) -> SbVec2f"}, - { (char *)"SoVectorizeAction_setDrawingDimensions", _wrap_SoVectorizeAction_setDrawingDimensions, METH_VARARGS, (char *)"\n" - "setDrawingDimensions(SbVec2f d, DimensionUnit u=MM)\n" - "setDrawingDimensions(SbVec2f d)\n" - "setDrawingDimensions(float w, float h, DimensionUnit u=MM)\n" - "SoVectorizeAction_setDrawingDimensions(SoVectorizeAction self, float w, float h)\n" - ""}, - { (char *)"SoVectorizeAction_getDrawingDimensions", _wrap_SoVectorizeAction_getDrawingDimensions, METH_VARARGS, (char *)"\n" - "getDrawingDimensions(DimensionUnit u=MM) -> SbVec2f\n" - "SoVectorizeAction_getDrawingDimensions(SoVectorizeAction self) -> SbVec2f\n" - ""}, - { (char *)"SoVectorizeAction_setStartPosition", _wrap_SoVectorizeAction_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f p, DimensionUnit u=MM)\n" - "setStartPosition(SbVec2f p)\n" - "setStartPosition(float x, float y, DimensionUnit u=MM)\n" - "SoVectorizeAction_setStartPosition(SoVectorizeAction self, float x, float y)\n" - ""}, - { (char *)"SoVectorizeAction_getStartPosition", _wrap_SoVectorizeAction_getStartPosition, METH_VARARGS, (char *)"\n" - "getStartPosition(DimensionUnit u=MM) -> SbVec2f\n" - "SoVectorizeAction_getStartPosition(SoVectorizeAction self) -> SbVec2f\n" - ""}, - { (char *)"SoVectorizeAction_setColorTranslationMethod", _wrap_SoVectorizeAction_setColorTranslationMethod, METH_VARARGS, (char *)"SoVectorizeAction_setColorTranslationMethod(SoVectorizeAction self, ColorTranslationMethod method)"}, - { (char *)"SoVectorizeAction_getColorTranslationMethod", _wrap_SoVectorizeAction_getColorTranslationMethod, METH_VARARGS, (char *)"SoVectorizeAction_getColorTranslationMethod(SoVectorizeAction self) -> ColorTranslationMethod"}, - { (char *)"SoVectorizeAction_setLineEndStyle", _wrap_SoVectorizeAction_setLineEndStyle, METH_VARARGS, (char *)"SoVectorizeAction_setLineEndStyle(SoVectorizeAction self, EndLineStyle style)"}, - { (char *)"SoVectorizeAction_getLineEndStyle", _wrap_SoVectorizeAction_getLineEndStyle, METH_VARARGS, (char *)"SoVectorizeAction_getLineEndStyle(SoVectorizeAction self) -> EndLineStyle"}, - { (char *)"SoVectorizeAction_setLineJoinsStyle", _wrap_SoVectorizeAction_setLineJoinsStyle, METH_VARARGS, (char *)"SoVectorizeAction_setLineJoinsStyle(SoVectorizeAction self, JoinLineStyle style)"}, - { (char *)"SoVectorizeAction_getLineJoinsStyle", _wrap_SoVectorizeAction_getLineJoinsStyle, METH_VARARGS, (char *)"SoVectorizeAction_getLineJoinsStyle(SoVectorizeAction self) -> JoinLineStyle"}, - { (char *)"SoVectorizeAction_setHLHSRMode", _wrap_SoVectorizeAction_setHLHSRMode, METH_VARARGS, (char *)"SoVectorizeAction_setHLHSRMode(SoVectorizeAction self, HLHSRMode mode)"}, - { (char *)"SoVectorizeAction_getHLHSRMode", _wrap_SoVectorizeAction_getHLHSRMode, METH_VARARGS, (char *)"SoVectorizeAction_getHLHSRMode(SoVectorizeAction self) -> HLHSRMode"}, - { (char *)"SoVectorizeAction_setBorder", _wrap_SoVectorizeAction_setBorder, METH_VARARGS, (char *)"\n" - "setBorder(float width)\n" - "SoVectorizeAction_setBorder(SoVectorizeAction self, float width, SbColor color)\n" - ""}, - { (char *)"SoVectorizeAction_setMiterLimit", _wrap_SoVectorizeAction_setMiterLimit, METH_VARARGS, (char *)"SoVectorizeAction_setMiterLimit(SoVectorizeAction self, float limit)"}, - { (char *)"SoVectorizeAction_getMiterLimit", _wrap_SoVectorizeAction_getMiterLimit, METH_VARARGS, (char *)"SoVectorizeAction_getMiterLimit(SoVectorizeAction self) -> float"}, - { (char *)"SoVectorizeAction_setPenDescription", _wrap_SoVectorizeAction_setPenDescription, METH_VARARGS, (char *)"\n" - "setPenDescription(int num_pens, SbColor colors=0, float widths=0, DimensionUnit u=MM)\n" - "setPenDescription(int num_pens, SbColor colors=0, float widths=0)\n" - "setPenDescription(int num_pens, SbColor colors=0)\n" - "SoVectorizeAction_setPenDescription(SoVectorizeAction self, int num_pens)\n" - ""}, - { (char *)"SoVectorizeAction_getPenDescription", _wrap_SoVectorizeAction_getPenDescription, METH_VARARGS, (char *)"\n" - "getPenDescription(SbColor colors, float widths, DimensionUnit u=MM)\n" - "SoVectorizeAction_getPenDescription(SoVectorizeAction self, SbColor colors, float widths)\n" - ""}, - { (char *)"SoVectorizeAction_getPenNum", _wrap_SoVectorizeAction_getPenNum, METH_VARARGS, (char *)"SoVectorizeAction_getPenNum(SoVectorizeAction self) -> int"}, - { (char *)"SoVectorizeAction_setColorPriority", _wrap_SoVectorizeAction_setColorPriority, METH_VARARGS, (char *)"SoVectorizeAction_setColorPriority(SoVectorizeAction self, SbBool priority)"}, - { (char *)"SoVectorizeAction_getColorPriority", _wrap_SoVectorizeAction_getColorPriority, METH_VARARGS, (char *)"SoVectorizeAction_getColorPriority(SoVectorizeAction self) -> SbBool"}, - { (char *)"SoVectorizeAction_enableLighting", _wrap_SoVectorizeAction_enableLighting, METH_VARARGS, (char *)"SoVectorizeAction_enableLighting(SoVectorizeAction self, SbBool flag)"}, - { (char *)"SoVectorizeAction_isLightingEnabled", _wrap_SoVectorizeAction_isLightingEnabled, METH_VARARGS, (char *)"SoVectorizeAction_isLightingEnabled(SoVectorizeAction self) -> SbBool"}, - { (char *)"SoVectorizeAction_swigregister", SoVectorizeAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShape_getClassTypeId", _wrap_SoShape_getClassTypeId, METH_VARARGS, (char *)"SoShape_getClassTypeId() -> SoType"}, - { (char *)"SoShape_getTypeId", _wrap_SoShape_getTypeId, METH_VARARGS, (char *)"SoShape_getTypeId(SoShape self) -> SoType"}, - { (char *)"SoShape_initClass", _wrap_SoShape_initClass, METH_VARARGS, (char *)"SoShape_initClass()"}, - { (char *)"SoShape_affectsState", _wrap_SoShape_affectsState, METH_VARARGS, (char *)"SoShape_affectsState(SoShape self) -> SbBool"}, - { (char *)"SoShape_notify", _wrap_SoShape_notify, METH_VARARGS, (char *)"SoShape_notify(SoShape self, SoNotList nl)"}, - { (char *)"SoShape_getBoundingBox", _wrap_SoShape_getBoundingBox, METH_VARARGS, (char *)"SoShape_getBoundingBox(SoShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoShape_GLRender", _wrap_SoShape_GLRender, METH_VARARGS, (char *)"SoShape_GLRender(SoShape self, SoGLRenderAction action)"}, - { (char *)"SoShape_rayPick", _wrap_SoShape_rayPick, METH_VARARGS, (char *)"SoShape_rayPick(SoShape self, SoRayPickAction action)"}, - { (char *)"SoShape_callback", _wrap_SoShape_callback, METH_VARARGS, (char *)"SoShape_callback(SoShape self, SoCallbackAction action)"}, - { (char *)"SoShape_computeBBox", _wrap_SoShape_computeBBox, METH_VARARGS, (char *)"SoShape_computeBBox(SoShape self, SoAction action, SbBox3f box, SbVec3f center)"}, - { (char *)"SoShape_getPrimitiveCount", _wrap_SoShape_getPrimitiveCount, METH_VARARGS, (char *)"SoShape_getPrimitiveCount(SoShape self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoShape_getScreenSize", _wrap_SoShape_getScreenSize, METH_VARARGS, (char *)"SoShape_getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)"}, - { (char *)"SoShape_getDecimatedComplexity", _wrap_SoShape_getDecimatedComplexity, METH_VARARGS, (char *)"SoShape_getDecimatedComplexity(SoState state, float complexity) -> float"}, - { (char *)"SoShape_getBoundingBoxCache", _wrap_SoShape_getBoundingBoxCache, METH_VARARGS, (char *)"SoShape_getBoundingBoxCache(SoShape self) -> SoBoundingBoxCache"}, - { (char *)"SoShape_swigregister", SoShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoImage_getClassTypeId", _wrap_SoImage_getClassTypeId, METH_VARARGS, (char *)"SoImage_getClassTypeId() -> SoType"}, - { (char *)"SoImage_getTypeId", _wrap_SoImage_getTypeId, METH_VARARGS, (char *)"SoImage_getTypeId(SoImage self) -> SoType"}, - { (char *)"SoImage_initClass", _wrap_SoImage_initClass, METH_VARARGS, (char *)"SoImage_initClass()"}, - { (char *)"new_SoImage", _wrap_new_SoImage, METH_VARARGS, (char *)"new_SoImage() -> SoImage"}, - { (char *)"SoImage_width_set", _wrap_SoImage_width_set, METH_VARARGS, (char *)"SoImage_width_set(SoImage self, SoSFInt32 width)"}, - { (char *)"SoImage_width_get", _wrap_SoImage_width_get, METH_VARARGS, (char *)"SoImage_width_get(SoImage self) -> SoSFInt32"}, - { (char *)"SoImage_height_set", _wrap_SoImage_height_set, METH_VARARGS, (char *)"SoImage_height_set(SoImage self, SoSFInt32 height)"}, - { (char *)"SoImage_height_get", _wrap_SoImage_height_get, METH_VARARGS, (char *)"SoImage_height_get(SoImage self) -> SoSFInt32"}, - { (char *)"SoImage_vertAlignment_set", _wrap_SoImage_vertAlignment_set, METH_VARARGS, (char *)"SoImage_vertAlignment_set(SoImage self, SoSFEnum vertAlignment)"}, - { (char *)"SoImage_vertAlignment_get", _wrap_SoImage_vertAlignment_get, METH_VARARGS, (char *)"SoImage_vertAlignment_get(SoImage self) -> SoSFEnum"}, - { (char *)"SoImage_horAlignment_set", _wrap_SoImage_horAlignment_set, METH_VARARGS, (char *)"SoImage_horAlignment_set(SoImage self, SoSFEnum horAlignment)"}, - { (char *)"SoImage_horAlignment_get", _wrap_SoImage_horAlignment_get, METH_VARARGS, (char *)"SoImage_horAlignment_get(SoImage self) -> SoSFEnum"}, - { (char *)"SoImage_image_set", _wrap_SoImage_image_set, METH_VARARGS, (char *)"SoImage_image_set(SoImage self, SoSFImage image)"}, - { (char *)"SoImage_image_get", _wrap_SoImage_image_get, METH_VARARGS, (char *)"SoImage_image_get(SoImage self) -> SoSFImage"}, - { (char *)"SoImage_filename_set", _wrap_SoImage_filename_set, METH_VARARGS, (char *)"SoImage_filename_set(SoImage self, SoSFString filename)"}, - { (char *)"SoImage_filename_get", _wrap_SoImage_filename_get, METH_VARARGS, (char *)"SoImage_filename_get(SoImage self) -> SoSFString"}, - { (char *)"SoImage_GLRender", _wrap_SoImage_GLRender, METH_VARARGS, (char *)"SoImage_GLRender(SoImage self, SoGLRenderAction action)"}, - { (char *)"SoImage_rayPick", _wrap_SoImage_rayPick, METH_VARARGS, (char *)"SoImage_rayPick(SoImage self, SoRayPickAction action)"}, - { (char *)"SoImage_getPrimitiveCount", _wrap_SoImage_getPrimitiveCount, METH_VARARGS, (char *)"SoImage_getPrimitiveCount(SoImage self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoImage_swigregister", SoImage_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVectorizePSAction_getTypeId", _wrap_SoVectorizePSAction_getTypeId, METH_VARARGS, (char *)"SoVectorizePSAction_getTypeId(SoVectorizePSAction self) -> SoType"}, - { (char *)"SoVectorizePSAction_getClassTypeId", _wrap_SoVectorizePSAction_getClassTypeId, METH_VARARGS, (char *)"SoVectorizePSAction_getClassTypeId() -> SoType"}, - { (char *)"SoVectorizePSAction_addMethod", _wrap_SoVectorizePSAction_addMethod, METH_VARARGS, (char *)"SoVectorizePSAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoVectorizePSAction_enableElement", _wrap_SoVectorizePSAction_enableElement, METH_VARARGS, (char *)"SoVectorizePSAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoVectorizePSAction", _wrap_new_SoVectorizePSAction, METH_VARARGS, (char *)"new_SoVectorizePSAction() -> SoVectorizePSAction"}, - { (char *)"delete_SoVectorizePSAction", _wrap_delete_SoVectorizePSAction, METH_VARARGS, (char *)"delete_SoVectorizePSAction(SoVectorizePSAction self)"}, - { (char *)"SoVectorizePSAction_initClass", _wrap_SoVectorizePSAction_initClass, METH_VARARGS, (char *)"SoVectorizePSAction_initClass()"}, - { (char *)"SoVectorizePSAction_setDefault2DFont", _wrap_SoVectorizePSAction_setDefault2DFont, METH_VARARGS, (char *)"SoVectorizePSAction_setDefault2DFont(SoVectorizePSAction self, SbString fontname)"}, - { (char *)"SoVectorizePSAction_getDefault2DFont", _wrap_SoVectorizePSAction_getDefault2DFont, METH_VARARGS, (char *)"SoVectorizePSAction_getDefault2DFont(SoVectorizePSAction self) -> SbString"}, - { (char *)"SoVectorizePSAction_setGouraudThreshold", _wrap_SoVectorizePSAction_setGouraudThreshold, METH_VARARGS, (char *)"SoVectorizePSAction_setGouraudThreshold(SoVectorizePSAction self, double eps)"}, - { (char *)"SoVectorizePSAction_getOutput", _wrap_SoVectorizePSAction_getOutput, METH_VARARGS, (char *)"SoVectorizePSAction_getOutput(SoVectorizePSAction self) -> SoPSVectorOutput"}, - { (char *)"SoVectorizePSAction_getPSOutput", _wrap_SoVectorizePSAction_getPSOutput, METH_VARARGS, (char *)"SoVectorizePSAction_getPSOutput(SoVectorizePSAction self) -> SoPSVectorOutput"}, - { (char *)"SoVectorizePSAction_swigregister", SoVectorizePSAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBundle_swigregister", SoBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMaterialBundle", _wrap_new_SoMaterialBundle, METH_VARARGS, (char *)"new_SoMaterialBundle(SoAction action) -> SoMaterialBundle"}, - { (char *)"delete_SoMaterialBundle", _wrap_delete_SoMaterialBundle, METH_VARARGS, (char *)"delete_SoMaterialBundle(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_setUpMultiple", _wrap_SoMaterialBundle_setUpMultiple, METH_VARARGS, (char *)"SoMaterialBundle_setUpMultiple(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_sendFirst", _wrap_SoMaterialBundle_sendFirst, METH_VARARGS, (char *)"SoMaterialBundle_sendFirst(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_forceSend", _wrap_SoMaterialBundle_forceSend, METH_VARARGS, (char *)"SoMaterialBundle_forceSend(SoMaterialBundle self, int index)"}, - { (char *)"SoMaterialBundle_isColorOnly", _wrap_SoMaterialBundle_isColorOnly, METH_VARARGS, (char *)"SoMaterialBundle_isColorOnly(SoMaterialBundle self) -> SbBool"}, - { (char *)"SoMaterialBundle_send", _wrap_SoMaterialBundle_send, METH_VARARGS, (char *)"SoMaterialBundle_send(SoMaterialBundle self, int index, SbBool betweenbeginend)"}, - { (char *)"SoMaterialBundle_swigregister", SoMaterialBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBSPTree", _wrap_new_SbBSPTree, METH_VARARGS, (char *)"\n" - "SbBSPTree(int maxnodepts=64, int initsize=4)\n" - "SbBSPTree(int maxnodepts=64)\n" - "new_SbBSPTree() -> SbBSPTree\n" - ""}, - { (char *)"delete_SbBSPTree", _wrap_delete_SbBSPTree, METH_VARARGS, (char *)"delete_SbBSPTree(SbBSPTree self)"}, - { (char *)"SbBSPTree_numPoints", _wrap_SbBSPTree_numPoints, METH_VARARGS, (char *)"SbBSPTree_numPoints(SbBSPTree self) -> int"}, - { (char *)"SbBSPTree_getPoint", _wrap_SbBSPTree_getPoint, METH_VARARGS, (char *)"\n" - "getPoint(int idx) -> SbVec3f\n" - "SbBSPTree_getPoint(SbBSPTree self, int idx, SbVec3f pt)\n" - ""}, - { (char *)"SbBSPTree_getUserData", _wrap_SbBSPTree_getUserData, METH_VARARGS, (char *)"SbBSPTree_getUserData(SbBSPTree self, int idx) -> void"}, - { (char *)"SbBSPTree_setUserData", _wrap_SbBSPTree_setUserData, METH_VARARGS, (char *)"SbBSPTree_setUserData(SbBSPTree self, int idx, void data)"}, - { (char *)"SbBSPTree_addPoint", _wrap_SbBSPTree_addPoint, METH_VARARGS, (char *)"\n" - "addPoint(SbVec3f pt, void userdata=None) -> int\n" - "SbBSPTree_addPoint(SbBSPTree self, SbVec3f pt) -> int\n" - ""}, - { (char *)"SbBSPTree_removePoint", _wrap_SbBSPTree_removePoint, METH_VARARGS, (char *)"\n" - "removePoint(SbVec3f pt) -> int\n" - "SbBSPTree_removePoint(SbBSPTree self, int idx)\n" - ""}, - { (char *)"SbBSPTree_findPoint", _wrap_SbBSPTree_findPoint, METH_VARARGS, (char *)"SbBSPTree_findPoint(SbBSPTree self, SbVec3f pos) -> int"}, - { (char *)"SbBSPTree_clear", _wrap_SbBSPTree_clear, METH_VARARGS, (char *)"\n" - "clear(int initsize=4)\n" - "SbBSPTree_clear(SbBSPTree self)\n" - ""}, - { (char *)"SbBSPTree_getBBox", _wrap_SbBSPTree_getBBox, METH_VARARGS, (char *)"SbBSPTree_getBBox(SbBSPTree self) -> SbBox3f"}, - { (char *)"SbBSPTree_getPointsArrayPtr", _wrap_SbBSPTree_getPointsArrayPtr, METH_VARARGS, (char *)"SbBSPTree_getPointsArrayPtr(SbBSPTree self) -> SbVec3f"}, - { (char *)"SbBSPTree_findPoints", _wrap_SbBSPTree_findPoints, METH_VARARGS, (char *)"\n" - "findPoints(SbSphere sphere, SbIntList array)\n" - "SbBSPTree_findPoints(SbBSPTree self, SbSphere sphere, SbList<(int)> array)\n" - ""}, - { (char *)"SbBSPTree_findClosest", _wrap_SbBSPTree_findClosest, METH_VARARGS, (char *)"\n" - "findClosest(SbVec3f pos) -> int\n" - "findClosest(SbSphere sphere, SbIntList array) -> int\n" - "SbBSPTree_findClosest(SbBSPTree self, SbSphere sphere, SbList<(int)> array) -> int\n" - ""}, - { (char *)"SbBSPTree_swigregister", SbBSPTree_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNormalGenerator", _wrap_new_SoNormalGenerator, METH_VARARGS, (char *)"\n" - "SoNormalGenerator(SbBool ccw, int approxVertices=64)\n" - "new_SoNormalGenerator(SbBool ccw) -> SoNormalGenerator\n" - ""}, - { (char *)"delete_SoNormalGenerator", _wrap_delete_SoNormalGenerator, METH_VARARGS, (char *)"delete_SoNormalGenerator(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_reset", _wrap_SoNormalGenerator_reset, METH_VARARGS, (char *)"SoNormalGenerator_reset(SoNormalGenerator self, SbBool ccw)"}, - { (char *)"SoNormalGenerator_beginPolygon", _wrap_SoNormalGenerator_beginPolygon, METH_VARARGS, (char *)"SoNormalGenerator_beginPolygon(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_polygonVertex", _wrap_SoNormalGenerator_polygonVertex, METH_VARARGS, (char *)"SoNormalGenerator_polygonVertex(SoNormalGenerator self, SbVec3f v)"}, - { (char *)"SoNormalGenerator_endPolygon", _wrap_SoNormalGenerator_endPolygon, METH_VARARGS, (char *)"SoNormalGenerator_endPolygon(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_triangle", _wrap_SoNormalGenerator_triangle, METH_VARARGS, (char *)"SoNormalGenerator_triangle(SoNormalGenerator self, SbVec3f v0, SbVec3f v1, SbVec3f v2)"}, - { (char *)"SoNormalGenerator_quad", _wrap_SoNormalGenerator_quad, METH_VARARGS, (char *)"\n" - "SoNormalGenerator_quad(SoNormalGenerator self, SbVec3f v0, SbVec3f v1, SbVec3f v2, \n" - " SbVec3f v3)\n" - ""}, - { (char *)"SoNormalGenerator_generate", _wrap_SoNormalGenerator_generate, METH_VARARGS, (char *)"\n" - "generate(float creaseAngle, int32_t striplens=None, int numstrips=0)\n" - "generate(float creaseAngle, int32_t striplens=None)\n" - "SoNormalGenerator_generate(SoNormalGenerator self, float creaseAngle)\n" - ""}, - { (char *)"SoNormalGenerator_generatePerStrip", _wrap_SoNormalGenerator_generatePerStrip, METH_VARARGS, (char *)"SoNormalGenerator_generatePerStrip(SoNormalGenerator self, int32_t striplens, int numstrips)"}, - { (char *)"SoNormalGenerator_generatePerFace", _wrap_SoNormalGenerator_generatePerFace, METH_VARARGS, (char *)"SoNormalGenerator_generatePerFace(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_generateOverall", _wrap_SoNormalGenerator_generateOverall, METH_VARARGS, (char *)"SoNormalGenerator_generateOverall(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_getNumNormals", _wrap_SoNormalGenerator_getNumNormals, METH_VARARGS, (char *)"SoNormalGenerator_getNumNormals(SoNormalGenerator self) -> int"}, - { (char *)"SoNormalGenerator_setNumNormals", _wrap_SoNormalGenerator_setNumNormals, METH_VARARGS, (char *)"SoNormalGenerator_setNumNormals(SoNormalGenerator self, int num)"}, - { (char *)"SoNormalGenerator_getNormals", _wrap_SoNormalGenerator_getNormals, METH_VARARGS, (char *)"SoNormalGenerator_getNormals(SoNormalGenerator self) -> SbVec3f"}, - { (char *)"SoNormalGenerator_getNormal", _wrap_SoNormalGenerator_getNormal, METH_VARARGS, (char *)"SoNormalGenerator_getNormal(SoNormalGenerator self, int32_t i) -> SbVec3f"}, - { (char *)"SoNormalGenerator_setNormal", _wrap_SoNormalGenerator_setNormal, METH_VARARGS, (char *)"SoNormalGenerator_setNormal(SoNormalGenerator self, int32_t index, SbVec3f normal)"}, - { (char *)"SoNormalGenerator_swigregister", SoNormalGenerator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalElement_getClassTypeId", _wrap_SoNormalElement_getClassTypeId, METH_VARARGS, (char *)"SoNormalElement_getClassTypeId() -> SoType"}, - { (char *)"SoNormalElement_getClassStackIndex", _wrap_SoNormalElement_getClassStackIndex, METH_VARARGS, (char *)"SoNormalElement_getClassStackIndex() -> int"}, - { (char *)"SoNormalElement_createInstance", _wrap_SoNormalElement_createInstance, METH_VARARGS, (char *)"SoNormalElement_createInstance() -> void"}, - { (char *)"SoNormalElement_initClass", _wrap_SoNormalElement_initClass, METH_VARARGS, (char *)"SoNormalElement_initClass()"}, - { (char *)"SoNormalElement_init", _wrap_SoNormalElement_init, METH_VARARGS, (char *)"SoNormalElement_init(SoNormalElement self, SoState state)"}, - { (char *)"SoNormalElement_set", _wrap_SoNormalElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, \n" - " SbBool normalsAreUnitLength=0)\n" - "SoNormalElement_set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals)\n" - ""}, - { (char *)"SoNormalElement_getInstance", _wrap_SoNormalElement_getInstance, METH_VARARGS, (char *)"SoNormalElement_getInstance(SoState state) -> SoNormalElement"}, - { (char *)"SoNormalElement_getNum", _wrap_SoNormalElement_getNum, METH_VARARGS, (char *)"SoNormalElement_getNum(SoNormalElement self) -> int32_t"}, - { (char *)"SoNormalElement_get", _wrap_SoNormalElement_get, METH_VARARGS, (char *)"SoNormalElement_get(SoNormalElement self, int index) -> SbVec3f"}, - { (char *)"SoNormalElement_getArrayPtr", _wrap_SoNormalElement_getArrayPtr, METH_VARARGS, (char *)"SoNormalElement_getArrayPtr(SoNormalElement self) -> SbVec3f"}, - { (char *)"SoNormalElement_areNormalsUnitLength", _wrap_SoNormalElement_areNormalsUnitLength, METH_VARARGS, (char *)"SoNormalElement_areNormalsUnitLength(SoNormalElement self) -> SbBool"}, - { (char *)"SoNormalElement_swigregister", SoNormalElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLNormalElement_getClassTypeId", _wrap_SoGLNormalElement_getClassTypeId, METH_VARARGS, (char *)"SoGLNormalElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLNormalElement_getClassStackIndex", _wrap_SoGLNormalElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLNormalElement_getClassStackIndex() -> int"}, - { (char *)"SoGLNormalElement_createInstance", _wrap_SoGLNormalElement_createInstance, METH_VARARGS, (char *)"SoGLNormalElement_createInstance() -> void"}, - { (char *)"SoGLNormalElement_initClass", _wrap_SoGLNormalElement_initClass, METH_VARARGS, (char *)"SoGLNormalElement_initClass()"}, - { (char *)"SoGLNormalElement_init", _wrap_SoGLNormalElement_init, METH_VARARGS, (char *)"SoGLNormalElement_init(SoGLNormalElement self, SoState state)"}, - { (char *)"SoGLNormalElement_send", _wrap_SoGLNormalElement_send, METH_VARARGS, (char *)"SoGLNormalElement_send(SoGLNormalElement self, int index)"}, - { (char *)"SoGLNormalElement_swigregister", SoGLNormalElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBundle_generator_set", _wrap_SoNormalBundle_generator_set, METH_VARARGS, (char *)"SoNormalBundle_generator_set(SoNormalBundle self, SoNormalGenerator generator)"}, - { (char *)"SoNormalBundle_generator_get", _wrap_SoNormalBundle_generator_get, METH_VARARGS, (char *)"SoNormalBundle_generator_get(SoNormalBundle self) -> SoNormalGenerator"}, - { (char *)"SoNormalBundle_swigregister", SoNormalBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateElement_getClassTypeId", _wrap_SoTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateElement_getClassStackIndex", _wrap_SoTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCoordinateElement_createInstance", _wrap_SoTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoTextureCoordinateElement_initClass", _wrap_SoTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoTextureCoordinateElement_initClass()"}, - { (char *)"SoTextureCoordinateElement_init", _wrap_SoTextureCoordinateElement_init, METH_VARARGS, (char *)"SoTextureCoordinateElement_init(SoTextureCoordinateElement self, SoState state)"}, - { (char *)"SoTextureCoordinateElement_setDefault", _wrap_SoTextureCoordinateElement_setDefault, METH_VARARGS, (char *)"SoTextureCoordinateElement_setDefault(SoState state, SoNode node)"}, - { (char *)"SoTextureCoordinateElement_setFunction", _wrap_SoTextureCoordinateElement_setFunction, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateElement_setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, \n" - " void userdata)\n" - ""}, - { (char *)"SoTextureCoordinateElement_set2", _wrap_SoTextureCoordinateElement_set2, METH_VARARGS, (char *)"SoTextureCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)"}, - { (char *)"SoTextureCoordinateElement_set3", _wrap_SoTextureCoordinateElement_set3, METH_VARARGS, (char *)"SoTextureCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoTextureCoordinateElement_set4", _wrap_SoTextureCoordinateElement_set4, METH_VARARGS, (char *)"SoTextureCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)"}, - { (char *)"SoTextureCoordinateElement_getType", _wrap_SoTextureCoordinateElement_getType, METH_VARARGS, (char *)"\n" - "getType(SoState state) -> CoordType\n" - "SoTextureCoordinateElement_getType(SoTextureCoordinateElement self) -> CoordType\n" - ""}, - { (char *)"SoTextureCoordinateElement_getInstance", _wrap_SoTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoTextureCoordinateElement_getInstance(SoState state) -> SoTextureCoordinateElement"}, - { (char *)"SoTextureCoordinateElement_get", _wrap_SoTextureCoordinateElement_get, METH_VARARGS, (char *)"SoTextureCoordinateElement_get(SoTextureCoordinateElement self, SbVec3f point, SbVec3f normal) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_getNum", _wrap_SoTextureCoordinateElement_getNum, METH_VARARGS, (char *)"SoTextureCoordinateElement_getNum(SoTextureCoordinateElement self) -> int32_t"}, - { (char *)"SoTextureCoordinateElement_is2D", _wrap_SoTextureCoordinateElement_is2D, METH_VARARGS, (char *)"SoTextureCoordinateElement_is2D(SoTextureCoordinateElement self) -> SbBool"}, - { (char *)"SoTextureCoordinateElement_getDimension", _wrap_SoTextureCoordinateElement_getDimension, METH_VARARGS, (char *)"SoTextureCoordinateElement_getDimension(SoTextureCoordinateElement self) -> int32_t"}, - { (char *)"SoTextureCoordinateElement_get2", _wrap_SoTextureCoordinateElement_get2, METH_VARARGS, (char *)"SoTextureCoordinateElement_get2(SoTextureCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoTextureCoordinateElement_get3", _wrap_SoTextureCoordinateElement_get3, METH_VARARGS, (char *)"SoTextureCoordinateElement_get3(SoTextureCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoTextureCoordinateElement_get4", _wrap_SoTextureCoordinateElement_get4, METH_VARARGS, (char *)"SoTextureCoordinateElement_get4(SoTextureCoordinateElement self, int index) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr2", _wrap_SoTextureCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr2(SoTextureCoordinateElement self) -> SbVec2f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr3", _wrap_SoTextureCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr3(SoTextureCoordinateElement self) -> SbVec3f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr4", _wrap_SoTextureCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr4(SoTextureCoordinateElement self) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_swigregister", SoTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureCoordinateElement_getClassTypeId", _wrap_SoGLTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureCoordinateElement_getClassStackIndex", _wrap_SoGLTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureCoordinateElement_createInstance", _wrap_SoGLTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLTextureCoordinateElement_initClass", _wrap_SoGLTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_initClass()"}, - { (char *)"SoGLTextureCoordinateElement_init", _wrap_SoGLTextureCoordinateElement_init, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_init(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_push", _wrap_SoGLTextureCoordinateElement_push, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_push(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_pop", _wrap_SoGLTextureCoordinateElement_pop, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_pop(SoGLTextureCoordinateElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureCoordinateElement_setTexGen", _wrap_SoGLTextureCoordinateElement_setTexGen, METH_VARARGS, (char *)"\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None, \n" - " void funcData=None)\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None)\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None)\n" - "SoGLTextureCoordinateElement_setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc)\n" - ""}, - { (char *)"SoGLTextureCoordinateElement_getType", _wrap_SoGLTextureCoordinateElement_getType, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getType(SoGLTextureCoordinateElement self) -> CoordType"}, - { (char *)"SoGLTextureCoordinateElement_getInstance", _wrap_SoGLTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getInstance(SoState state) -> SoGLTextureCoordinateElement"}, - { (char *)"SoGLTextureCoordinateElement_send", _wrap_SoGLTextureCoordinateElement_send, METH_VARARGS, (char *)"\n" - "send(int index)\n" - "SoGLTextureCoordinateElement_send(SoGLTextureCoordinateElement self, int index, SbVec3f c, \n" - " SbVec3f n)\n" - ""}, - { (char *)"SoGLTextureCoordinateElement_initMulti", _wrap_SoGLTextureCoordinateElement_initMulti, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_initMulti(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_swigregister", SoGLTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTextureCoordinateBundle", _wrap_new_SoTextureCoordinateBundle, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateBundle(SoAction action, SbBool forRendering, SbBool setUpDefault=1)\n" - "new_SoTextureCoordinateBundle(SoAction action, SbBool forRendering) -> SoTextureCoordinateBundle\n" - ""}, - { (char *)"delete_SoTextureCoordinateBundle", _wrap_delete_SoTextureCoordinateBundle, METH_VARARGS, (char *)"delete_SoTextureCoordinateBundle(SoTextureCoordinateBundle self)"}, - { (char *)"SoTextureCoordinateBundle_needCoordinates", _wrap_SoTextureCoordinateBundle_needCoordinates, METH_VARARGS, (char *)"SoTextureCoordinateBundle_needCoordinates(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_isFunction", _wrap_SoTextureCoordinateBundle_isFunction, METH_VARARGS, (char *)"SoTextureCoordinateBundle_isFunction(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_get", _wrap_SoTextureCoordinateBundle_get, METH_VARARGS, (char *)"\n" - "get(int index) -> SbVec4f\n" - "SoTextureCoordinateBundle_get(SoTextureCoordinateBundle self, SbVec3f point, SbVec3f normal) -> SbVec4f\n" - ""}, - { (char *)"SoTextureCoordinateBundle_send", _wrap_SoTextureCoordinateBundle_send, METH_VARARGS, (char *)"\n" - "send(int index)\n" - "SoTextureCoordinateBundle_send(SoTextureCoordinateBundle self, int index, SbVec3f point, \n" - " SbVec3f normal)\n" - ""}, - { (char *)"SoTextureCoordinateBundle_needIndices", _wrap_SoTextureCoordinateBundle_needIndices, METH_VARARGS, (char *)"SoTextureCoordinateBundle_needIndices(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_swigregister", SoTextureCoordinateBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoCache", _wrap_new_SoCache, METH_VARARGS, (char *)"new_SoCache(SoState state) -> SoCache"}, - { (char *)"SoCache_ref", _wrap_SoCache_ref, METH_VARARGS, (char *)"SoCache_ref(SoCache self)"}, - { (char *)"SoCache_unref", _wrap_SoCache_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoCache_unref(SoCache self)\n" - ""}, - { (char *)"SoCache_addElement", _wrap_SoCache_addElement, METH_VARARGS, (char *)"SoCache_addElement(SoCache self, SoElement elem)"}, - { (char *)"SoCache_addCacheDependency", _wrap_SoCache_addCacheDependency, METH_VARARGS, (char *)"SoCache_addCacheDependency(SoCache self, SoState state, SoCache cache)"}, - { (char *)"SoCache_isValid", _wrap_SoCache_isValid, METH_VARARGS, (char *)"SoCache_isValid(SoCache self, SoState state) -> SbBool"}, - { (char *)"SoCache_getInvalidElement", _wrap_SoCache_getInvalidElement, METH_VARARGS, (char *)"SoCache_getInvalidElement(SoCache self, SoState state) -> SoElement"}, - { (char *)"SoCache_invalidate", _wrap_SoCache_invalidate, METH_VARARGS, (char *)"SoCache_invalidate(SoCache self)"}, - { (char *)"SoCache_swigregister", SoCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoBoundingBoxCache", _wrap_new_SoBoundingBoxCache, METH_VARARGS, (char *)"new_SoBoundingBoxCache(SoState state) -> SoBoundingBoxCache"}, - { (char *)"delete_SoBoundingBoxCache", _wrap_delete_SoBoundingBoxCache, METH_VARARGS, (char *)"delete_SoBoundingBoxCache(SoBoundingBoxCache self)"}, - { (char *)"SoBoundingBoxCache_set", _wrap_SoBoundingBoxCache_set, METH_VARARGS, (char *)"\n" - "SoBoundingBoxCache_set(SoBoundingBoxCache self, SbXfBox3f boundingbox, SbBool centerset, \n" - " SbVec3f centerpoint)\n" - ""}, - { (char *)"SoBoundingBoxCache_getBox", _wrap_SoBoundingBoxCache_getBox, METH_VARARGS, (char *)"SoBoundingBoxCache_getBox(SoBoundingBoxCache self) -> SbXfBox3f"}, - { (char *)"SoBoundingBoxCache_getProjectedBox", _wrap_SoBoundingBoxCache_getProjectedBox, METH_VARARGS, (char *)"SoBoundingBoxCache_getProjectedBox(SoBoundingBoxCache self) -> SbBox3f"}, - { (char *)"SoBoundingBoxCache_isCenterSet", _wrap_SoBoundingBoxCache_isCenterSet, METH_VARARGS, (char *)"SoBoundingBoxCache_isCenterSet(SoBoundingBoxCache self) -> SbBool"}, - { (char *)"SoBoundingBoxCache_getCenter", _wrap_SoBoundingBoxCache_getCenter, METH_VARARGS, (char *)"SoBoundingBoxCache_getCenter(SoBoundingBoxCache self) -> SbVec3f"}, - { (char *)"SoBoundingBoxCache_setHasLinesOrPoints", _wrap_SoBoundingBoxCache_setHasLinesOrPoints, METH_VARARGS, (char *)"SoBoundingBoxCache_setHasLinesOrPoints(SoState state)"}, - { (char *)"SoBoundingBoxCache_hasLinesOrPoints", _wrap_SoBoundingBoxCache_hasLinesOrPoints, METH_VARARGS, (char *)"SoBoundingBoxCache_hasLinesOrPoints(SoBoundingBoxCache self) -> SbBool"}, - { (char *)"SoBoundingBoxCache_swigregister", SoBoundingBoxCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoConvexDataCache", _wrap_new_SoConvexDataCache, METH_VARARGS, (char *)"new_SoConvexDataCache(SoState state) -> SoConvexDataCache"}, - { (char *)"delete_SoConvexDataCache", _wrap_delete_SoConvexDataCache, METH_VARARGS, (char *)"delete_SoConvexDataCache(SoConvexDataCache self)"}, - { (char *)"SoConvexDataCache_generate", _wrap_SoConvexDataCache_generate, METH_VARARGS, (char *)"\n" - "SoConvexDataCache_generate(SoConvexDataCache self, SoCoordinateElement coords, \n" - " SbMatrix matrix, int32_t coordindices, int numcoordindices, \n" - " int32_t matindices, int32_t normindices, \n" - " int32_t texindices, Binding matbinding, \n" - " Binding normbinding, Binding texbinding)\n" - ""}, - { (char *)"SoConvexDataCache_getCoordIndices", _wrap_SoConvexDataCache_getCoordIndices, METH_VARARGS, (char *)"SoConvexDataCache_getCoordIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumCoordIndices", _wrap_SoConvexDataCache_getNumCoordIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumCoordIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getMaterialIndices", _wrap_SoConvexDataCache_getMaterialIndices, METH_VARARGS, (char *)"SoConvexDataCache_getMaterialIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumMaterialIndices", _wrap_SoConvexDataCache_getNumMaterialIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumMaterialIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getNormalIndices", _wrap_SoConvexDataCache_getNormalIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNormalIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumNormalIndices", _wrap_SoConvexDataCache_getNumNormalIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumNormalIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getTexIndices", _wrap_SoConvexDataCache_getTexIndices, METH_VARARGS, (char *)"SoConvexDataCache_getTexIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumTexIndices", _wrap_SoConvexDataCache_getNumTexIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumTexIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_swigregister", SoConvexDataCache_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCacheList_swigregister", SoGLCacheList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLazyElement_getClassTypeId", _wrap_SoGLLazyElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLazyElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLazyElement_getClassStackIndex", _wrap_SoGLLazyElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLazyElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLazyElement_createInstance", _wrap_SoGLLazyElement_createInstance, METH_VARARGS, (char *)"SoGLLazyElement_createInstance() -> void"}, - { (char *)"SoGLLazyElement_initClass", _wrap_SoGLLazyElement_initClass, METH_VARARGS, (char *)"SoGLLazyElement_initClass()"}, - { (char *)"SoGLLazyElement_init", _wrap_SoGLLazyElement_init, METH_VARARGS, (char *)"SoGLLazyElement_init(SoGLLazyElement self, SoState state)"}, - { (char *)"SoGLLazyElement_push", _wrap_SoGLLazyElement_push, METH_VARARGS, (char *)"SoGLLazyElement_push(SoGLLazyElement self, SoState state)"}, - { (char *)"SoGLLazyElement_pop", _wrap_SoGLLazyElement_pop, METH_VARARGS, (char *)"SoGLLazyElement_pop(SoGLLazyElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoGLLazyElement_sendAllMaterial", _wrap_SoGLLazyElement_sendAllMaterial, METH_VARARGS, (char *)"SoGLLazyElement_sendAllMaterial(SoState state)"}, - { (char *)"SoGLLazyElement_sendNoMaterial", _wrap_SoGLLazyElement_sendNoMaterial, METH_VARARGS, (char *)"SoGLLazyElement_sendNoMaterial(SoState state)"}, - { (char *)"SoGLLazyElement_sendOnlyDiffuseColor", _wrap_SoGLLazyElement_sendOnlyDiffuseColor, METH_VARARGS, (char *)"SoGLLazyElement_sendOnlyDiffuseColor(SoState state)"}, - { (char *)"SoGLLazyElement_sendLightModel", _wrap_SoGLLazyElement_sendLightModel, METH_VARARGS, (char *)"SoGLLazyElement_sendLightModel(SoState state, int32_t model)"}, - { (char *)"SoGLLazyElement_sendPackedDiffuse", _wrap_SoGLLazyElement_sendPackedDiffuse, METH_VARARGS, (char *)"SoGLLazyElement_sendPackedDiffuse(SoState state, uint32_t diffuse)"}, - { (char *)"SoGLLazyElement_sendFlatshading", _wrap_SoGLLazyElement_sendFlatshading, METH_VARARGS, (char *)"SoGLLazyElement_sendFlatshading(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendVertexOrdering", _wrap_SoGLLazyElement_sendVertexOrdering, METH_VARARGS, (char *)"SoGLLazyElement_sendVertexOrdering(SoState state, VertexOrdering ordering)"}, - { (char *)"SoGLLazyElement_sendTwosideLighting", _wrap_SoGLLazyElement_sendTwosideLighting, METH_VARARGS, (char *)"SoGLLazyElement_sendTwosideLighting(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendBackfaceCulling", _wrap_SoGLLazyElement_sendBackfaceCulling, METH_VARARGS, (char *)"SoGLLazyElement_sendBackfaceCulling(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendDiffuseByIndex", _wrap_SoGLLazyElement_sendDiffuseByIndex, METH_VARARGS, (char *)"SoGLLazyElement_sendDiffuseByIndex(SoGLLazyElement self, int index)"}, - { (char *)"SoGLLazyElement_isColorIndex", _wrap_SoGLLazyElement_isColorIndex, METH_VARARGS, (char *)"SoGLLazyElement_isColorIndex(SoState state) -> SbBool"}, - { (char *)"SoGLLazyElement_getInstance", _wrap_SoGLLazyElement_getInstance, METH_VARARGS, (char *)"SoGLLazyElement_getInstance(SoState state) -> SoGLLazyElement"}, - { (char *)"SoGLLazyElement_send", _wrap_SoGLLazyElement_send, METH_VARARGS, (char *)"SoGLLazyElement_send(SoGLLazyElement self, SoState state, uint32_t mask)"}, - { (char *)"SoGLLazyElement_sendVPPacked", _wrap_SoGLLazyElement_sendVPPacked, METH_VARARGS, (char *)"SoGLLazyElement_sendVPPacked(SoGLLazyElement self, SoState state, unsigned char pcolor)"}, - { (char *)"SoGLLazyElement_reset", _wrap_SoGLLazyElement_reset, METH_VARARGS, (char *)"SoGLLazyElement_reset(SoGLLazyElement self, SoState state, uint32_t bitmask)"}, - { (char *)"SoGLLazyElement_setDiffuseElt", _wrap_SoGLLazyElement_setDiffuseElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setDiffuseElt(SoGLLazyElement self, SoNode ?, int32_t numcolors, \n" - " SbColor colors, SoColorPacker packer)\n" - ""}, - { (char *)"SoGLLazyElement_setPackedElt", _wrap_SoGLLazyElement_setPackedElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setPackedElt(SoGLLazyElement self, SoNode node, int32_t numcolors, \n" - " uint32_t colors, SbBool packedtransparency)\n" - ""}, - { (char *)"SoGLLazyElement_setColorIndexElt", _wrap_SoGLLazyElement_setColorIndexElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setColorIndexElt(SoGLLazyElement self, SoNode node, int32_t numindices, \n" - " int32_t indices)\n" - ""}, - { (char *)"SoGLLazyElement_setTranspElt", _wrap_SoGLLazyElement_setTranspElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setTranspElt(SoGLLazyElement self, SoNode node, int32_t numtransp, \n" - " float transp, SoColorPacker packer)\n" - ""}, - { (char *)"SoGLLazyElement_setTranspTypeElt", _wrap_SoGLLazyElement_setTranspTypeElt, METH_VARARGS, (char *)"SoGLLazyElement_setTranspTypeElt(SoGLLazyElement self, int32_t type)"}, - { (char *)"SoGLLazyElement_setAmbientElt", _wrap_SoGLLazyElement_setAmbientElt, METH_VARARGS, (char *)"SoGLLazyElement_setAmbientElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setEmissiveElt", _wrap_SoGLLazyElement_setEmissiveElt, METH_VARARGS, (char *)"SoGLLazyElement_setEmissiveElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setSpecularElt", _wrap_SoGLLazyElement_setSpecularElt, METH_VARARGS, (char *)"SoGLLazyElement_setSpecularElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setShininessElt", _wrap_SoGLLazyElement_setShininessElt, METH_VARARGS, (char *)"SoGLLazyElement_setShininessElt(SoGLLazyElement self, float value)"}, - { (char *)"SoGLLazyElement_setColorMaterialElt", _wrap_SoGLLazyElement_setColorMaterialElt, METH_VARARGS, (char *)"SoGLLazyElement_setColorMaterialElt(SoGLLazyElement self, SbBool value)"}, - { (char *)"SoGLLazyElement_enableBlendingElt", _wrap_SoGLLazyElement_enableBlendingElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_enableBlendingElt(SoGLLazyElement self, int sfactor, int dfactor, int alpha_sfactor, \n" - " int alpha_dfactor)\n" - ""}, - { (char *)"SoGLLazyElement_disableBlendingElt", _wrap_SoGLLazyElement_disableBlendingElt, METH_VARARGS, (char *)"SoGLLazyElement_disableBlendingElt(SoGLLazyElement self)"}, - { (char *)"SoGLLazyElement_setLightModelElt", _wrap_SoGLLazyElement_setLightModelElt, METH_VARARGS, (char *)"SoGLLazyElement_setLightModelElt(SoGLLazyElement self, SoState state, int32_t model)"}, - { (char *)"SoGLLazyElement_setMaterialElt", _wrap_SoGLLazyElement_setMaterialElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setMaterialElt(SoGLLazyElement self, SoNode node, uint32_t bitmask, \n" - " SoColorPacker packer, SbColor diffuse, int numdiffuse, \n" - " float transp, int numtransp, SbColor ambient, \n" - " SbColor emissive, SbColor specular, \n" - " float shininess, SbBool istransparent)\n" - ""}, - { (char *)"SoGLLazyElement_setVertexOrderingElt", _wrap_SoGLLazyElement_setVertexOrderingElt, METH_VARARGS, (char *)"SoGLLazyElement_setVertexOrderingElt(SoGLLazyElement self, VertexOrdering ordering)"}, - { (char *)"SoGLLazyElement_setBackfaceCullingElt", _wrap_SoGLLazyElement_setBackfaceCullingElt, METH_VARARGS, (char *)"SoGLLazyElement_setBackfaceCullingElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_setTwosideLightingElt", _wrap_SoGLLazyElement_setTwosideLightingElt, METH_VARARGS, (char *)"SoGLLazyElement_setTwosideLightingElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_setShadeModelElt", _wrap_SoGLLazyElement_setShadeModelElt, METH_VARARGS, (char *)"SoGLLazyElement_setShadeModelElt(SoGLLazyElement self, SbBool flatshading)"}, - { (char *)"SoGLLazyElement_setGLImageIdElt", _wrap_SoGLLazyElement_setGLImageIdElt, METH_VARARGS, (char *)"SoGLLazyElement_setGLImageIdElt(SoGLLazyElement self, uint32_t glimageid, SbBool alphatest)"}, - { (char *)"SoGLLazyElement_setAlphaTestElt", _wrap_SoGLLazyElement_setAlphaTestElt, METH_VARARGS, (char *)"SoGLLazyElement_setAlphaTestElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_beginCaching", _wrap_SoGLLazyElement_beginCaching, METH_VARARGS, (char *)"SoGLLazyElement_beginCaching(SoState state, GLState prestate, GLState poststate)"}, - { (char *)"SoGLLazyElement_endCaching", _wrap_SoGLLazyElement_endCaching, METH_VARARGS, (char *)"SoGLLazyElement_endCaching(SoState state)"}, - { (char *)"SoGLLazyElement_preCacheCall", _wrap_SoGLLazyElement_preCacheCall, METH_VARARGS, (char *)"SoGLLazyElement_preCacheCall(SoState state, GLState prestate) -> SbBool"}, - { (char *)"SoGLLazyElement_postCacheCall", _wrap_SoGLLazyElement_postCacheCall, METH_VARARGS, (char *)"SoGLLazyElement_postCacheCall(SoState state, GLState poststate)"}, - { (char *)"SoGLLazyElement_mergeCacheInfo", _wrap_SoGLLazyElement_mergeCacheInfo, METH_VARARGS, (char *)"SoGLLazyElement_mergeCacheInfo(SoState state, GLState childprestate, GLState childpoststate)"}, - { (char *)"SoGLLazyElement_updateColorVBO", _wrap_SoGLLazyElement_updateColorVBO, METH_VARARGS, (char *)"SoGLLazyElement_updateColorVBO(SoGLLazyElement self, SoVBO vbo)"}, - { (char *)"SoGLLazyElement_swigregister", SoGLLazyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLazyElement_GLState_cachebitmask_set", _wrap_SoGLLazyElement_GLState_cachebitmask_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_cachebitmask_set(SoGLLazyElement_GLState self, uint32_t cachebitmask)"}, - { (char *)"SoGLLazyElement_GLState_cachebitmask_get", _wrap_SoGLLazyElement_GLState_cachebitmask_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_cachebitmask_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_diffuse_set", _wrap_SoGLLazyElement_GLState_diffuse_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffuse_set(SoGLLazyElement_GLState self, uint32_t diffuse)"}, - { (char *)"SoGLLazyElement_GLState_diffuse_get", _wrap_SoGLLazyElement_GLState_diffuse_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffuse_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_ambient_set", _wrap_SoGLLazyElement_GLState_ambient_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_ambient_set(SoGLLazyElement_GLState self, SbColor ambient)"}, - { (char *)"SoGLLazyElement_GLState_ambient_get", _wrap_SoGLLazyElement_GLState_ambient_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_ambient_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_emissive_set", _wrap_SoGLLazyElement_GLState_emissive_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_emissive_set(SoGLLazyElement_GLState self, SbColor emissive)"}, - { (char *)"SoGLLazyElement_GLState_emissive_get", _wrap_SoGLLazyElement_GLState_emissive_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_emissive_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_specular_set", _wrap_SoGLLazyElement_GLState_specular_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_specular_set(SoGLLazyElement_GLState self, SbColor specular)"}, - { (char *)"SoGLLazyElement_GLState_specular_get", _wrap_SoGLLazyElement_GLState_specular_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_specular_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_shininess_set", _wrap_SoGLLazyElement_GLState_shininess_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_shininess_set(SoGLLazyElement_GLState self, float shininess)"}, - { (char *)"SoGLLazyElement_GLState_shininess_get", _wrap_SoGLLazyElement_GLState_shininess_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_shininess_get(SoGLLazyElement_GLState self) -> float"}, - { (char *)"SoGLLazyElement_GLState_lightmodel_set", _wrap_SoGLLazyElement_GLState_lightmodel_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_lightmodel_set(SoGLLazyElement_GLState self, int32_t lightmodel)"}, - { (char *)"SoGLLazyElement_GLState_lightmodel_get", _wrap_SoGLLazyElement_GLState_lightmodel_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_lightmodel_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blending_set", _wrap_SoGLLazyElement_GLState_blending_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blending_set(SoGLLazyElement_GLState self, int32_t blending)"}, - { (char *)"SoGLLazyElement_GLState_blending_get", _wrap_SoGLLazyElement_GLState_blending_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blending_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blend_sfactor_set", _wrap_SoGLLazyElement_GLState_blend_sfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_sfactor_set(SoGLLazyElement_GLState self, int32_t blend_sfactor)"}, - { (char *)"SoGLLazyElement_GLState_blend_sfactor_get", _wrap_SoGLLazyElement_GLState_blend_sfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_sfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blend_dfactor_set", _wrap_SoGLLazyElement_GLState_blend_dfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_dfactor_set(SoGLLazyElement_GLState self, int32_t blend_dfactor)"}, - { (char *)"SoGLLazyElement_GLState_blend_dfactor_get", _wrap_SoGLLazyElement_GLState_blend_dfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_dfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_set", _wrap_SoGLLazyElement_GLState_alpha_blend_sfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_set(SoGLLazyElement_GLState self, int32_t alpha_blend_sfactor)"}, - { (char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_get", _wrap_SoGLLazyElement_GLState_alpha_blend_sfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alpha_blend_sfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_set", _wrap_SoGLLazyElement_GLState_alpha_blend_dfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_set(SoGLLazyElement_GLState self, int32_t alpha_blend_dfactor)"}, - { (char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_get", _wrap_SoGLLazyElement_GLState_alpha_blend_dfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alpha_blend_dfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_stipplenum_set", _wrap_SoGLLazyElement_GLState_stipplenum_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_stipplenum_set(SoGLLazyElement_GLState self, int32_t stipplenum)"}, - { (char *)"SoGLLazyElement_GLState_stipplenum_get", _wrap_SoGLLazyElement_GLState_stipplenum_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_stipplenum_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_vertexordering_set", _wrap_SoGLLazyElement_GLState_vertexordering_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_vertexordering_set(SoGLLazyElement_GLState self, int32_t vertexordering)"}, - { (char *)"SoGLLazyElement_GLState_vertexordering_get", _wrap_SoGLLazyElement_GLState_vertexordering_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_vertexordering_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_culling_set", _wrap_SoGLLazyElement_GLState_culling_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_culling_set(SoGLLazyElement_GLState self, int32_t culling)"}, - { (char *)"SoGLLazyElement_GLState_culling_get", _wrap_SoGLLazyElement_GLState_culling_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_culling_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_twoside_set", _wrap_SoGLLazyElement_GLState_twoside_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_twoside_set(SoGLLazyElement_GLState self, int32_t twoside)"}, - { (char *)"SoGLLazyElement_GLState_twoside_get", _wrap_SoGLLazyElement_GLState_twoside_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_twoside_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_flatshading_set", _wrap_SoGLLazyElement_GLState_flatshading_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_flatshading_set(SoGLLazyElement_GLState self, int32_t flatshading)"}, - { (char *)"SoGLLazyElement_GLState_flatshading_get", _wrap_SoGLLazyElement_GLState_flatshading_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_flatshading_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_glimageid_set", _wrap_SoGLLazyElement_GLState_glimageid_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_glimageid_set(SoGLLazyElement_GLState self, int32_t glimageid)"}, - { (char *)"SoGLLazyElement_GLState_glimageid_get", _wrap_SoGLLazyElement_GLState_glimageid_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_glimageid_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_alphatest_set", _wrap_SoGLLazyElement_GLState_alphatest_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alphatest_set(SoGLLazyElement_GLState self, int32_t alphatest)"}, - { (char *)"SoGLLazyElement_GLState_alphatest_get", _wrap_SoGLLazyElement_GLState_alphatest_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alphatest_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_diffusenodeid_set", _wrap_SoGLLazyElement_GLState_diffusenodeid_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffusenodeid_set(SoGLLazyElement_GLState self, uint32_t diffusenodeid)"}, - { (char *)"SoGLLazyElement_GLState_diffusenodeid_get", _wrap_SoGLLazyElement_GLState_diffusenodeid_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffusenodeid_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_transpnodeid_set", _wrap_SoGLLazyElement_GLState_transpnodeid_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_transpnodeid_set(SoGLLazyElement_GLState self, uint32_t transpnodeid)"}, - { (char *)"SoGLLazyElement_GLState_transpnodeid_get", _wrap_SoGLLazyElement_GLState_transpnodeid_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_transpnodeid_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_reserved_set", _wrap_SoGLLazyElement_GLState_reserved_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_reserved_set(SoGLLazyElement_GLState self, uint32_t reserved)"}, - { (char *)"SoGLLazyElement_GLState_reserved_get", _wrap_SoGLLazyElement_GLState_reserved_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_reserved_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"new_SoGLLazyElement_GLState", _wrap_new_SoGLLazyElement_GLState, METH_VARARGS, (char *)"new_SoGLLazyElement_GLState() -> SoGLLazyElement_GLState"}, - { (char *)"delete_SoGLLazyElement_GLState", _wrap_delete_SoGLLazyElement_GLState, METH_VARARGS, (char *)"delete_SoGLLazyElement_GLState(SoGLLazyElement_GLState self)"}, - { (char *)"SoGLLazyElement_GLState_swigregister", SoGLLazyElement_GLState_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoGLRenderCache", _wrap_delete_SoGLRenderCache, METH_VARARGS, (char *)"delete_SoGLRenderCache(SoGLRenderCache self)"}, - { (char *)"SoGLRenderCache_isValid", _wrap_SoGLRenderCache_isValid, METH_VARARGS, (char *)"SoGLRenderCache_isValid(SoGLRenderCache self, SoState state) -> SbBool"}, - { (char *)"SoGLRenderCache_addNestedCache", _wrap_SoGLRenderCache_addNestedCache, METH_VARARGS, (char *)"SoGLRenderCache_addNestedCache(SoGLRenderCache self, SoGLDisplayList child)"}, - { (char *)"SoGLRenderCache_swigregister", SoGLRenderCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNormalCache", _wrap_new_SoNormalCache, METH_VARARGS, (char *)"new_SoNormalCache(SoState state) -> SoNormalCache"}, - { (char *)"delete_SoNormalCache", _wrap_delete_SoNormalCache, METH_VARARGS, (char *)"delete_SoNormalCache(SoNormalCache self)"}, - { (char *)"SoNormalCache_set", _wrap_SoNormalCache_set, METH_VARARGS, (char *)"\n" - "set(int num, SbVec3f normals)\n" - "SoNormalCache_set(SoNormalCache self, SoNormalGenerator generator)\n" - ""}, - { (char *)"SoNormalCache_getNum", _wrap_SoNormalCache_getNum, METH_VARARGS, (char *)"SoNormalCache_getNum(SoNormalCache self) -> int"}, - { (char *)"SoNormalCache_getNormals", _wrap_SoNormalCache_getNormals, METH_VARARGS, (char *)"SoNormalCache_getNormals(SoNormalCache self) -> SbVec3f"}, - { (char *)"SoNormalCache_getNumIndices", _wrap_SoNormalCache_getNumIndices, METH_VARARGS, (char *)"SoNormalCache_getNumIndices(SoNormalCache self) -> int"}, - { (char *)"SoNormalCache_getIndices", _wrap_SoNormalCache_getIndices, METH_VARARGS, (char *)"SoNormalCache_getIndices(SoNormalCache self) -> int32_t"}, - { (char *)"SoNormalCache_generatePerVertex", _wrap_SoNormalCache_generatePerVertex, METH_VARARGS, (char *)"\n" - "generatePerVertex(SbVec3f coords, unsigned int numcoords, int32_t coordindices, \n" - " int numcoordindices, float crease_angle, \n" - " SbVec3f facenormals=None, int numfacenormals=-1, \n" - " SbBool ccw=1, SbBool tristrip=0)\n" - "generatePerVertex(SbVec3f coords, unsigned int numcoords, int32_t coordindices, \n" - " int numcoordindices, float crease_angle, \n" - " SbVec3f facenormals=None, int numfacenormals=-1, \n" - " SbBool ccw=1)\n" - "generatePerVertex(SbVec3f coords, unsigned int numcoords, int32_t coordindices, \n" - " int numcoordindices, float crease_angle, \n" - " SbVec3f facenormals=None, int numfacenormals=-1)\n" - "generatePerVertex(SbVec3f coords, unsigned int numcoords, int32_t coordindices, \n" - " int numcoordindices, float crease_angle, \n" - " SbVec3f facenormals=None)\n" - "SoNormalCache_generatePerVertex(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int32_t coordindices, int numcoordindices, \n" - " float crease_angle)\n" - ""}, - { (char *)"SoNormalCache_generatePerFace", _wrap_SoNormalCache_generatePerFace, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFace(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int32_t coordindices, int numcoorindices, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerFaceStrip", _wrap_SoNormalCache_generatePerFaceStrip, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFaceStrip(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int32_t coordindices, int numcoorindices, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerStrip", _wrap_SoNormalCache_generatePerStrip, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerStrip(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int32_t coordindices, int numcoorindices, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerVertexQuad", _wrap_SoNormalCache_generatePerVertexQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerVertexQuad(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int vPerRow, int vPerColumn, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerFaceQuad", _wrap_SoNormalCache_generatePerFaceQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFaceQuad(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int vPerRow, int vPerColumn, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerRowQuad", _wrap_SoNormalCache_generatePerRowQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerRowQuad(SoNormalCache self, SbVec3f coords, unsigned int numcoords, \n" - " int vPerRow, int vPerColumn, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_swigregister", SoNormalCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTextureCoordinateCache", _wrap_new_SoTextureCoordinateCache, METH_VARARGS, (char *)"new_SoTextureCoordinateCache(SoState state) -> SoTextureCoordinateCache"}, - { (char *)"delete_SoTextureCoordinateCache", _wrap_delete_SoTextureCoordinateCache, METH_VARARGS, (char *)"delete_SoTextureCoordinateCache(SoTextureCoordinateCache self)"}, - { (char *)"SoTextureCoordinateCache_generate", _wrap_SoTextureCoordinateCache_generate, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateCache_generate(SoTextureCoordinateCache self, SbBox3f bbox, SbVec3f vertices, \n" - " int numvertices)\n" - ""}, - { (char *)"SoTextureCoordinateCache_get", _wrap_SoTextureCoordinateCache_get, METH_VARARGS, (char *)"SoTextureCoordinateCache_get(SoTextureCoordinateCache self) -> SbVec2f"}, - { (char *)"SoTextureCoordinateCache_getNum", _wrap_SoTextureCoordinateCache_getNum, METH_VARARGS, (char *)"SoTextureCoordinateCache_getNum(SoTextureCoordinateCache self) -> int"}, - { (char *)"SoTextureCoordinateCache_swigregister", SoTextureCoordinateCache_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoDetail", _wrap_delete_SoDetail, METH_VARARGS, (char *)"delete_SoDetail(SoDetail self)"}, - { (char *)"SoDetail_initClass", _wrap_SoDetail_initClass, METH_VARARGS, (char *)"SoDetail_initClass()"}, - { (char *)"SoDetail_initClasses", _wrap_SoDetail_initClasses, METH_VARARGS, (char *)"SoDetail_initClasses()"}, - { (char *)"SoDetail_copy", _wrap_SoDetail_copy, METH_VARARGS, (char *)"SoDetail_copy(SoDetail self) -> SoDetail"}, - { (char *)"SoDetail_getTypeId", _wrap_SoDetail_getTypeId, METH_VARARGS, (char *)"SoDetail_getTypeId(SoDetail self) -> SoType"}, - { (char *)"SoDetail_isOfType", _wrap_SoDetail_isOfType, METH_VARARGS, (char *)"SoDetail_isOfType(SoDetail self, SoType type) -> SbBool"}, - { (char *)"SoDetail_getClassTypeId", _wrap_SoDetail_getClassTypeId, METH_VARARGS, (char *)"SoDetail_getClassTypeId() -> SoType"}, - { (char *)"SoDetail_swigregister", SoDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoConeDetail_getTypeId", _wrap_SoConeDetail_getTypeId, METH_VARARGS, (char *)"SoConeDetail_getTypeId(SoConeDetail self) -> SoType"}, - { (char *)"SoConeDetail_getClassTypeId", _wrap_SoConeDetail_getClassTypeId, METH_VARARGS, (char *)"SoConeDetail_getClassTypeId() -> SoType"}, - { (char *)"SoConeDetail_cleanupClass", _wrap_SoConeDetail_cleanupClass, METH_VARARGS, (char *)"SoConeDetail_cleanupClass()"}, - { (char *)"new_SoConeDetail", _wrap_new_SoConeDetail, METH_VARARGS, (char *)"new_SoConeDetail() -> SoConeDetail"}, - { (char *)"delete_SoConeDetail", _wrap_delete_SoConeDetail, METH_VARARGS, (char *)"delete_SoConeDetail(SoConeDetail self)"}, - { (char *)"SoConeDetail_initClass", _wrap_SoConeDetail_initClass, METH_VARARGS, (char *)"SoConeDetail_initClass()"}, - { (char *)"SoConeDetail_copy", _wrap_SoConeDetail_copy, METH_VARARGS, (char *)"SoConeDetail_copy(SoConeDetail self) -> SoDetail"}, - { (char *)"SoConeDetail_setPart", _wrap_SoConeDetail_setPart, METH_VARARGS, (char *)"SoConeDetail_setPart(SoConeDetail self, int part)"}, - { (char *)"SoConeDetail_getPart", _wrap_SoConeDetail_getPart, METH_VARARGS, (char *)"SoConeDetail_getPart(SoConeDetail self) -> int"}, - { (char *)"SoConeDetail_swigregister", SoConeDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCubeDetail_getTypeId", _wrap_SoCubeDetail_getTypeId, METH_VARARGS, (char *)"SoCubeDetail_getTypeId(SoCubeDetail self) -> SoType"}, - { (char *)"SoCubeDetail_getClassTypeId", _wrap_SoCubeDetail_getClassTypeId, METH_VARARGS, (char *)"SoCubeDetail_getClassTypeId() -> SoType"}, - { (char *)"SoCubeDetail_cleanupClass", _wrap_SoCubeDetail_cleanupClass, METH_VARARGS, (char *)"SoCubeDetail_cleanupClass()"}, - { (char *)"new_SoCubeDetail", _wrap_new_SoCubeDetail, METH_VARARGS, (char *)"new_SoCubeDetail() -> SoCubeDetail"}, - { (char *)"delete_SoCubeDetail", _wrap_delete_SoCubeDetail, METH_VARARGS, (char *)"delete_SoCubeDetail(SoCubeDetail self)"}, - { (char *)"SoCubeDetail_initClass", _wrap_SoCubeDetail_initClass, METH_VARARGS, (char *)"SoCubeDetail_initClass()"}, - { (char *)"SoCubeDetail_copy", _wrap_SoCubeDetail_copy, METH_VARARGS, (char *)"SoCubeDetail_copy(SoCubeDetail self) -> SoDetail"}, - { (char *)"SoCubeDetail_setPart", _wrap_SoCubeDetail_setPart, METH_VARARGS, (char *)"SoCubeDetail_setPart(SoCubeDetail self, int part)"}, - { (char *)"SoCubeDetail_getPart", _wrap_SoCubeDetail_getPart, METH_VARARGS, (char *)"SoCubeDetail_getPart(SoCubeDetail self) -> int"}, - { (char *)"SoCubeDetail_swigregister", SoCubeDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCylinderDetail_getTypeId", _wrap_SoCylinderDetail_getTypeId, METH_VARARGS, (char *)"SoCylinderDetail_getTypeId(SoCylinderDetail self) -> SoType"}, - { (char *)"SoCylinderDetail_getClassTypeId", _wrap_SoCylinderDetail_getClassTypeId, METH_VARARGS, (char *)"SoCylinderDetail_getClassTypeId() -> SoType"}, - { (char *)"SoCylinderDetail_cleanupClass", _wrap_SoCylinderDetail_cleanupClass, METH_VARARGS, (char *)"SoCylinderDetail_cleanupClass()"}, - { (char *)"new_SoCylinderDetail", _wrap_new_SoCylinderDetail, METH_VARARGS, (char *)"new_SoCylinderDetail() -> SoCylinderDetail"}, - { (char *)"delete_SoCylinderDetail", _wrap_delete_SoCylinderDetail, METH_VARARGS, (char *)"delete_SoCylinderDetail(SoCylinderDetail self)"}, - { (char *)"SoCylinderDetail_initClass", _wrap_SoCylinderDetail_initClass, METH_VARARGS, (char *)"SoCylinderDetail_initClass()"}, - { (char *)"SoCylinderDetail_copy", _wrap_SoCylinderDetail_copy, METH_VARARGS, (char *)"SoCylinderDetail_copy(SoCylinderDetail self) -> SoDetail"}, - { (char *)"SoCylinderDetail_setPart", _wrap_SoCylinderDetail_setPart, METH_VARARGS, (char *)"SoCylinderDetail_setPart(SoCylinderDetail self, int part)"}, - { (char *)"SoCylinderDetail_getPart", _wrap_SoCylinderDetail_getPart, METH_VARARGS, (char *)"SoCylinderDetail_getPart(SoCylinderDetail self) -> int"}, - { (char *)"SoCylinderDetail_swigregister", SoCylinderDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointDetail_getTypeId", _wrap_SoPointDetail_getTypeId, METH_VARARGS, (char *)"SoPointDetail_getTypeId(SoPointDetail self) -> SoType"}, - { (char *)"SoPointDetail_getClassTypeId", _wrap_SoPointDetail_getClassTypeId, METH_VARARGS, (char *)"SoPointDetail_getClassTypeId() -> SoType"}, - { (char *)"SoPointDetail_cleanupClass", _wrap_SoPointDetail_cleanupClass, METH_VARARGS, (char *)"SoPointDetail_cleanupClass()"}, - { (char *)"new_SoPointDetail", _wrap_new_SoPointDetail, METH_VARARGS, (char *)"new_SoPointDetail() -> SoPointDetail"}, - { (char *)"delete_SoPointDetail", _wrap_delete_SoPointDetail, METH_VARARGS, (char *)"delete_SoPointDetail(SoPointDetail self)"}, - { (char *)"SoPointDetail_initClass", _wrap_SoPointDetail_initClass, METH_VARARGS, (char *)"SoPointDetail_initClass()"}, - { (char *)"SoPointDetail_copy", _wrap_SoPointDetail_copy, METH_VARARGS, (char *)"SoPointDetail_copy(SoPointDetail self) -> SoDetail"}, - { (char *)"SoPointDetail_getCoordinateIndex", _wrap_SoPointDetail_getCoordinateIndex, METH_VARARGS, (char *)"SoPointDetail_getCoordinateIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getMaterialIndex", _wrap_SoPointDetail_getMaterialIndex, METH_VARARGS, (char *)"SoPointDetail_getMaterialIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getNormalIndex", _wrap_SoPointDetail_getNormalIndex, METH_VARARGS, (char *)"SoPointDetail_getNormalIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getTextureCoordIndex", _wrap_SoPointDetail_getTextureCoordIndex, METH_VARARGS, (char *)"SoPointDetail_getTextureCoordIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_setCoordinateIndex", _wrap_SoPointDetail_setCoordinateIndex, METH_VARARGS, (char *)"SoPointDetail_setCoordinateIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setMaterialIndex", _wrap_SoPointDetail_setMaterialIndex, METH_VARARGS, (char *)"SoPointDetail_setMaterialIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setNormalIndex", _wrap_SoPointDetail_setNormalIndex, METH_VARARGS, (char *)"SoPointDetail_setNormalIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setTextureCoordIndex", _wrap_SoPointDetail_setTextureCoordIndex, METH_VARARGS, (char *)"SoPointDetail_setTextureCoordIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_swigregister", SoPointDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFaceDetail_getTypeId", _wrap_SoFaceDetail_getTypeId, METH_VARARGS, (char *)"SoFaceDetail_getTypeId(SoFaceDetail self) -> SoType"}, - { (char *)"SoFaceDetail_getClassTypeId", _wrap_SoFaceDetail_getClassTypeId, METH_VARARGS, (char *)"SoFaceDetail_getClassTypeId() -> SoType"}, - { (char *)"SoFaceDetail_cleanupClass", _wrap_SoFaceDetail_cleanupClass, METH_VARARGS, (char *)"SoFaceDetail_cleanupClass()"}, - { (char *)"new_SoFaceDetail", _wrap_new_SoFaceDetail, METH_VARARGS, (char *)"new_SoFaceDetail() -> SoFaceDetail"}, - { (char *)"delete_SoFaceDetail", _wrap_delete_SoFaceDetail, METH_VARARGS, (char *)"delete_SoFaceDetail(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_initClass", _wrap_SoFaceDetail_initClass, METH_VARARGS, (char *)"SoFaceDetail_initClass()"}, - { (char *)"SoFaceDetail_copy", _wrap_SoFaceDetail_copy, METH_VARARGS, (char *)"SoFaceDetail_copy(SoFaceDetail self) -> SoDetail"}, - { (char *)"SoFaceDetail_getNumPoints", _wrap_SoFaceDetail_getNumPoints, METH_VARARGS, (char *)"SoFaceDetail_getNumPoints(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_getPoint", _wrap_SoFaceDetail_getPoint, METH_VARARGS, (char *)"SoFaceDetail_getPoint(SoFaceDetail self, int idx) -> SoPointDetail"}, - { (char *)"SoFaceDetail_getPoints", _wrap_SoFaceDetail_getPoints, METH_VARARGS, (char *)"SoFaceDetail_getPoints(SoFaceDetail self) -> SoPointDetail"}, - { (char *)"SoFaceDetail_getFaceIndex", _wrap_SoFaceDetail_getFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_getFaceIndex(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_getPartIndex", _wrap_SoFaceDetail_getPartIndex, METH_VARARGS, (char *)"SoFaceDetail_getPartIndex(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_setNumPoints", _wrap_SoFaceDetail_setNumPoints, METH_VARARGS, (char *)"SoFaceDetail_setNumPoints(SoFaceDetail self, int num)"}, - { (char *)"SoFaceDetail_setPoint", _wrap_SoFaceDetail_setPoint, METH_VARARGS, (char *)"SoFaceDetail_setPoint(SoFaceDetail self, int idx, SoPointDetail detail)"}, - { (char *)"SoFaceDetail_setFaceIndex", _wrap_SoFaceDetail_setFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_setFaceIndex(SoFaceDetail self, int idx)"}, - { (char *)"SoFaceDetail_setPartIndex", _wrap_SoFaceDetail_setPartIndex, METH_VARARGS, (char *)"SoFaceDetail_setPartIndex(SoFaceDetail self, int idx)"}, - { (char *)"SoFaceDetail_incFaceIndex", _wrap_SoFaceDetail_incFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_incFaceIndex(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_incPartIndex", _wrap_SoFaceDetail_incPartIndex, METH_VARARGS, (char *)"SoFaceDetail_incPartIndex(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_swigregister", SoFaceDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineDetail_getTypeId", _wrap_SoLineDetail_getTypeId, METH_VARARGS, (char *)"SoLineDetail_getTypeId(SoLineDetail self) -> SoType"}, - { (char *)"SoLineDetail_getClassTypeId", _wrap_SoLineDetail_getClassTypeId, METH_VARARGS, (char *)"SoLineDetail_getClassTypeId() -> SoType"}, - { (char *)"SoLineDetail_cleanupClass", _wrap_SoLineDetail_cleanupClass, METH_VARARGS, (char *)"SoLineDetail_cleanupClass()"}, - { (char *)"new_SoLineDetail", _wrap_new_SoLineDetail, METH_VARARGS, (char *)"new_SoLineDetail() -> SoLineDetail"}, - { (char *)"delete_SoLineDetail", _wrap_delete_SoLineDetail, METH_VARARGS, (char *)"delete_SoLineDetail(SoLineDetail self)"}, - { (char *)"SoLineDetail_initClass", _wrap_SoLineDetail_initClass, METH_VARARGS, (char *)"SoLineDetail_initClass()"}, - { (char *)"SoLineDetail_copy", _wrap_SoLineDetail_copy, METH_VARARGS, (char *)"SoLineDetail_copy(SoLineDetail self) -> SoDetail"}, - { (char *)"SoLineDetail_getPoint0", _wrap_SoLineDetail_getPoint0, METH_VARARGS, (char *)"SoLineDetail_getPoint0(SoLineDetail self) -> SoPointDetail"}, - { (char *)"SoLineDetail_getPoint1", _wrap_SoLineDetail_getPoint1, METH_VARARGS, (char *)"SoLineDetail_getPoint1(SoLineDetail self) -> SoPointDetail"}, - { (char *)"SoLineDetail_getLineIndex", _wrap_SoLineDetail_getLineIndex, METH_VARARGS, (char *)"SoLineDetail_getLineIndex(SoLineDetail self) -> int"}, - { (char *)"SoLineDetail_getPartIndex", _wrap_SoLineDetail_getPartIndex, METH_VARARGS, (char *)"SoLineDetail_getPartIndex(SoLineDetail self) -> int"}, - { (char *)"SoLineDetail_setPoint0", _wrap_SoLineDetail_setPoint0, METH_VARARGS, (char *)"SoLineDetail_setPoint0(SoLineDetail self, SoPointDetail detail)"}, - { (char *)"SoLineDetail_setPoint1", _wrap_SoLineDetail_setPoint1, METH_VARARGS, (char *)"SoLineDetail_setPoint1(SoLineDetail self, SoPointDetail detail)"}, - { (char *)"SoLineDetail_setLineIndex", _wrap_SoLineDetail_setLineIndex, METH_VARARGS, (char *)"SoLineDetail_setLineIndex(SoLineDetail self, int idx)"}, - { (char *)"SoLineDetail_setPartIndex", _wrap_SoLineDetail_setPartIndex, METH_VARARGS, (char *)"SoLineDetail_setPartIndex(SoLineDetail self, int idx)"}, - { (char *)"SoLineDetail_incLineIndex", _wrap_SoLineDetail_incLineIndex, METH_VARARGS, (char *)"SoLineDetail_incLineIndex(SoLineDetail self)"}, - { (char *)"SoLineDetail_incPartIndex", _wrap_SoLineDetail_incPartIndex, METH_VARARGS, (char *)"SoLineDetail_incPartIndex(SoLineDetail self)"}, - { (char *)"SoLineDetail_swigregister", SoLineDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitDetail_getTypeId", _wrap_SoNodeKitDetail_getTypeId, METH_VARARGS, (char *)"SoNodeKitDetail_getTypeId(SoNodeKitDetail self) -> SoType"}, - { (char *)"SoNodeKitDetail_getClassTypeId", _wrap_SoNodeKitDetail_getClassTypeId, METH_VARARGS, (char *)"SoNodeKitDetail_getClassTypeId() -> SoType"}, - { (char *)"SoNodeKitDetail_cleanupClass", _wrap_SoNodeKitDetail_cleanupClass, METH_VARARGS, (char *)"SoNodeKitDetail_cleanupClass()"}, - { (char *)"new_SoNodeKitDetail", _wrap_new_SoNodeKitDetail, METH_VARARGS, (char *)"new_SoNodeKitDetail() -> SoNodeKitDetail"}, - { (char *)"delete_SoNodeKitDetail", _wrap_delete_SoNodeKitDetail, METH_VARARGS, (char *)"delete_SoNodeKitDetail(SoNodeKitDetail self)"}, - { (char *)"SoNodeKitDetail_initClass", _wrap_SoNodeKitDetail_initClass, METH_VARARGS, (char *)"SoNodeKitDetail_initClass()"}, - { (char *)"SoNodeKitDetail_copy", _wrap_SoNodeKitDetail_copy, METH_VARARGS, (char *)"SoNodeKitDetail_copy(SoNodeKitDetail self) -> SoDetail"}, - { (char *)"SoNodeKitDetail_setNodeKit", _wrap_SoNodeKitDetail_setNodeKit, METH_VARARGS, (char *)"SoNodeKitDetail_setNodeKit(SoNodeKitDetail self, SoBaseKit kit)"}, - { (char *)"SoNodeKitDetail_getNodeKit", _wrap_SoNodeKitDetail_getNodeKit, METH_VARARGS, (char *)"SoNodeKitDetail_getNodeKit(SoNodeKitDetail self) -> SoBaseKit"}, - { (char *)"SoNodeKitDetail_setPart", _wrap_SoNodeKitDetail_setPart, METH_VARARGS, (char *)"SoNodeKitDetail_setPart(SoNodeKitDetail self, SoNode part)"}, - { (char *)"SoNodeKitDetail_getPart", _wrap_SoNodeKitDetail_getPart, METH_VARARGS, (char *)"SoNodeKitDetail_getPart(SoNodeKitDetail self) -> SoNode"}, - { (char *)"SoNodeKitDetail_setPartName", _wrap_SoNodeKitDetail_setPartName, METH_VARARGS, (char *)"SoNodeKitDetail_setPartName(SoNodeKitDetail self, SbName name)"}, - { (char *)"SoNodeKitDetail_getPartName", _wrap_SoNodeKitDetail_getPartName, METH_VARARGS, (char *)"SoNodeKitDetail_getPartName(SoNodeKitDetail self) -> SbName"}, - { (char *)"SoNodeKitDetail_swigregister", SoNodeKitDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextDetail_getTypeId", _wrap_SoTextDetail_getTypeId, METH_VARARGS, (char *)"SoTextDetail_getTypeId(SoTextDetail self) -> SoType"}, - { (char *)"SoTextDetail_getClassTypeId", _wrap_SoTextDetail_getClassTypeId, METH_VARARGS, (char *)"SoTextDetail_getClassTypeId() -> SoType"}, - { (char *)"SoTextDetail_cleanupClass", _wrap_SoTextDetail_cleanupClass, METH_VARARGS, (char *)"SoTextDetail_cleanupClass()"}, - { (char *)"new_SoTextDetail", _wrap_new_SoTextDetail, METH_VARARGS, (char *)"new_SoTextDetail() -> SoTextDetail"}, - { (char *)"delete_SoTextDetail", _wrap_delete_SoTextDetail, METH_VARARGS, (char *)"delete_SoTextDetail(SoTextDetail self)"}, - { (char *)"SoTextDetail_initClass", _wrap_SoTextDetail_initClass, METH_VARARGS, (char *)"SoTextDetail_initClass()"}, - { (char *)"SoTextDetail_copy", _wrap_SoTextDetail_copy, METH_VARARGS, (char *)"SoTextDetail_copy(SoTextDetail self) -> SoDetail"}, - { (char *)"SoTextDetail_getStringIndex", _wrap_SoTextDetail_getStringIndex, METH_VARARGS, (char *)"SoTextDetail_getStringIndex(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_getCharacterIndex", _wrap_SoTextDetail_getCharacterIndex, METH_VARARGS, (char *)"SoTextDetail_getCharacterIndex(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_getPart", _wrap_SoTextDetail_getPart, METH_VARARGS, (char *)"SoTextDetail_getPart(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_setStringIndex", _wrap_SoTextDetail_setStringIndex, METH_VARARGS, (char *)"SoTextDetail_setStringIndex(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_setCharacterIndex", _wrap_SoTextDetail_setCharacterIndex, METH_VARARGS, (char *)"SoTextDetail_setCharacterIndex(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_setPart", _wrap_SoTextDetail_setPart, METH_VARARGS, (char *)"SoTextDetail_setPart(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_swigregister", SoTextDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFNode", _wrap_new_SoSFNode, METH_VARARGS, (char *)"new_SoSFNode() -> SoSFNode"}, - { (char *)"delete_SoSFNode", _wrap_delete_SoSFNode, METH_VARARGS, (char *)"delete_SoSFNode(SoSFNode self)"}, - { (char *)"SoSFNode_createInstance", _wrap_SoSFNode_createInstance, METH_VARARGS, (char *)"SoSFNode_createInstance() -> void"}, - { (char *)"SoSFNode_getClassTypeId", _wrap_SoSFNode_getClassTypeId, METH_VARARGS, (char *)"SoSFNode_getClassTypeId() -> SoType"}, - { (char *)"SoSFNode_getTypeId", _wrap_SoSFNode_getTypeId, METH_VARARGS, (char *)"SoSFNode_getTypeId(SoSFNode self) -> SoType"}, - { (char *)"SoSFNode_copyFrom", _wrap_SoSFNode_copyFrom, METH_VARARGS, (char *)"SoSFNode_copyFrom(SoSFNode self, SoField field)"}, - { (char *)"SoSFNode_isSame", _wrap_SoSFNode_isSame, METH_VARARGS, (char *)"SoSFNode_isSame(SoSFNode self, SoField field) -> SbBool"}, - { (char *)"SoSFNode_getValue", _wrap_SoSFNode_getValue, METH_VARARGS, (char *)"SoSFNode_getValue(SoSFNode self) -> SoNode"}, - { (char *)"SoSFNode___eq__", _wrap_SoSFNode___eq__, METH_VARARGS, (char *)"SoSFNode___eq__(SoSFNode self, SoSFNode field) -> int"}, - { (char *)"SoSFNode___ne__", _wrap_SoSFNode___ne__, METH_VARARGS, (char *)"SoSFNode___ne__(SoSFNode self, SoSFNode field) -> int"}, - { (char *)"SoSFNode_initClass", _wrap_SoSFNode_initClass, METH_VARARGS, (char *)"SoSFNode_initClass()"}, - { (char *)"SoSFNode_fixCopy", _wrap_SoSFNode_fixCopy, METH_VARARGS, (char *)"SoSFNode_fixCopy(SoSFNode self, SbBool copyconnections)"}, - { (char *)"SoSFNode_referencesCopy", _wrap_SoSFNode_referencesCopy, METH_VARARGS, (char *)"SoSFNode_referencesCopy(SoSFNode self) -> SbBool"}, - { (char *)"SoSFNode_setValue", _wrap_SoSFNode_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoNode newvalue)\n" - "SoSFNode_setValue(SoSFNode self, SoSFNode other)\n" - ""}, - { (char *)"SoSFNode_swigregister", SoSFNode_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodekitCatalog_initClass", _wrap_SoNodekitCatalog_initClass, METH_VARARGS, (char *)"SoNodekitCatalog_initClass()"}, - { (char *)"new_SoNodekitCatalog", _wrap_new_SoNodekitCatalog, METH_VARARGS, (char *)"new_SoNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"delete_SoNodekitCatalog", _wrap_delete_SoNodekitCatalog, METH_VARARGS, (char *)"delete_SoNodekitCatalog(SoNodekitCatalog self)"}, - { (char *)"SoNodekitCatalog_getNumEntries", _wrap_SoNodekitCatalog_getNumEntries, METH_VARARGS, (char *)"SoNodekitCatalog_getNumEntries(SoNodekitCatalog self) -> int"}, - { (char *)"SoNodekitCatalog_getPartNumber", _wrap_SoNodekitCatalog_getPartNumber, METH_VARARGS, (char *)"SoNodekitCatalog_getPartNumber(SoNodekitCatalog self, SbName name) -> int"}, - { (char *)"SoNodekitCatalog_getName", _wrap_SoNodekitCatalog_getName, METH_VARARGS, (char *)"SoNodekitCatalog_getName(SoNodekitCatalog self, int part) -> SbName"}, - { (char *)"SoNodekitCatalog_getType", _wrap_SoNodekitCatalog_getType, METH_VARARGS, (char *)"\n" - "getType(int part) -> SoType\n" - "SoNodekitCatalog_getType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_getDefaultType", _wrap_SoNodekitCatalog_getDefaultType, METH_VARARGS, (char *)"\n" - "getDefaultType(int part) -> SoType\n" - "SoNodekitCatalog_getDefaultType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_isNullByDefault", _wrap_SoNodekitCatalog_isNullByDefault, METH_VARARGS, (char *)"\n" - "isNullByDefault(int part) -> SbBool\n" - "SoNodekitCatalog_isNullByDefault(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_isLeaf", _wrap_SoNodekitCatalog_isLeaf, METH_VARARGS, (char *)"\n" - "isLeaf(int part) -> SbBool\n" - "SoNodekitCatalog_isLeaf(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_getParentName", _wrap_SoNodekitCatalog_getParentName, METH_VARARGS, (char *)"\n" - "getParentName(int part) -> SbName\n" - "SoNodekitCatalog_getParentName(SoNodekitCatalog self, SbName name) -> SbName\n" - ""}, - { (char *)"SoNodekitCatalog_getParentPartNumber", _wrap_SoNodekitCatalog_getParentPartNumber, METH_VARARGS, (char *)"\n" - "getParentPartNumber(int part) -> int\n" - "SoNodekitCatalog_getParentPartNumber(SoNodekitCatalog self, SbName name) -> int\n" - ""}, - { (char *)"SoNodekitCatalog_getRightSiblingName", _wrap_SoNodekitCatalog_getRightSiblingName, METH_VARARGS, (char *)"\n" - "getRightSiblingName(int part) -> SbName\n" - "SoNodekitCatalog_getRightSiblingName(SoNodekitCatalog self, SbName name) -> SbName\n" - ""}, - { (char *)"SoNodekitCatalog_getRightSiblingPartNumber", _wrap_SoNodekitCatalog_getRightSiblingPartNumber, METH_VARARGS, (char *)"\n" - "getRightSiblingPartNumber(int part) -> int\n" - "SoNodekitCatalog_getRightSiblingPartNumber(SoNodekitCatalog self, SbName name) -> int\n" - ""}, - { (char *)"SoNodekitCatalog_isList", _wrap_SoNodekitCatalog_isList, METH_VARARGS, (char *)"\n" - "isList(int part) -> SbBool\n" - "SoNodekitCatalog_isList(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_getListContainerType", _wrap_SoNodekitCatalog_getListContainerType, METH_VARARGS, (char *)"\n" - "getListContainerType(int part) -> SoType\n" - "SoNodekitCatalog_getListContainerType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_getListItemTypes", _wrap_SoNodekitCatalog_getListItemTypes, METH_VARARGS, (char *)"\n" - "getListItemTypes(int part) -> SoTypeList\n" - "SoNodekitCatalog_getListItemTypes(SoNodekitCatalog self, SbName name) -> SoTypeList\n" - ""}, - { (char *)"SoNodekitCatalog_isPublic", _wrap_SoNodekitCatalog_isPublic, METH_VARARGS, (char *)"\n" - "isPublic(int part) -> SbBool\n" - "SoNodekitCatalog_isPublic(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_clone", _wrap_SoNodekitCatalog_clone, METH_VARARGS, (char *)"SoNodekitCatalog_clone(SoNodekitCatalog self, SoType type) -> SoNodekitCatalog"}, - { (char *)"SoNodekitCatalog_addEntry", _wrap_SoNodekitCatalog_addEntry, METH_VARARGS, (char *)"\n" - "SoNodekitCatalog_addEntry(SoNodekitCatalog self, SbName name, SoType type, SoType defaulttype, \n" - " SbBool isdefaultnull, SbName parent, \n" - " SbName rightsibling, SbBool islist, \n" - " SoType listcontainertype, SoType listitemtype, \n" - " SbBool ispublic) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_addListItemType", _wrap_SoNodekitCatalog_addListItemType, METH_VARARGS, (char *)"\n" - "addListItemType(int part, SoType type)\n" - "SoNodekitCatalog_addListItemType(SoNodekitCatalog self, SbName name, SoType type)\n" - ""}, - { (char *)"SoNodekitCatalog_narrowTypes", _wrap_SoNodekitCatalog_narrowTypes, METH_VARARGS, (char *)"\n" - "SoNodekitCatalog_narrowTypes(SoNodekitCatalog self, SbName name, SoType newtype, \n" - " SoType newdefaulttype)\n" - ""}, - { (char *)"SoNodekitCatalog_setNullByDefault", _wrap_SoNodekitCatalog_setNullByDefault, METH_VARARGS, (char *)"SoNodekitCatalog_setNullByDefault(SoNodekitCatalog self, SbName name, SbBool nullbydefault)"}, - { (char *)"SoNodekitCatalog_recursiveSearch", _wrap_SoNodekitCatalog_recursiveSearch, METH_VARARGS, (char *)"SoNodekitCatalog_recursiveSearch(SoNodekitCatalog self, int part, SbName name, SoTypeList checked) -> SbBool"}, - { (char *)"SoNodekitCatalog_printCheck", _wrap_SoNodekitCatalog_printCheck, METH_VARARGS, (char *)"SoNodekitCatalog_printCheck(SoNodekitCatalog self)"}, - { (char *)"SoNodekitCatalog_swigregister", SoNodekitCatalog_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFName", _wrap_new_SoSFName, METH_VARARGS, (char *)"new_SoSFName() -> SoSFName"}, - { (char *)"delete_SoSFName", _wrap_delete_SoSFName, METH_VARARGS, (char *)"delete_SoSFName(SoSFName self)"}, - { (char *)"SoSFName_createInstance", _wrap_SoSFName_createInstance, METH_VARARGS, (char *)"SoSFName_createInstance() -> void"}, - { (char *)"SoSFName_getClassTypeId", _wrap_SoSFName_getClassTypeId, METH_VARARGS, (char *)"SoSFName_getClassTypeId() -> SoType"}, - { (char *)"SoSFName_getTypeId", _wrap_SoSFName_getTypeId, METH_VARARGS, (char *)"SoSFName_getTypeId(SoSFName self) -> SoType"}, - { (char *)"SoSFName_copyFrom", _wrap_SoSFName_copyFrom, METH_VARARGS, (char *)"SoSFName_copyFrom(SoSFName self, SoField field)"}, - { (char *)"SoSFName_isSame", _wrap_SoSFName_isSame, METH_VARARGS, (char *)"SoSFName_isSame(SoSFName self, SoField field) -> SbBool"}, - { (char *)"SoSFName_getValue", _wrap_SoSFName_getValue, METH_VARARGS, (char *)"SoSFName_getValue(SoSFName self) -> SbName"}, - { (char *)"SoSFName___eq__", _wrap_SoSFName___eq__, METH_VARARGS, (char *)"SoSFName___eq__(SoSFName self, SoSFName field) -> int"}, - { (char *)"SoSFName___ne__", _wrap_SoSFName___ne__, METH_VARARGS, (char *)"SoSFName___ne__(SoSFName self, SoSFName field) -> int"}, - { (char *)"SoSFName_initClass", _wrap_SoSFName_initClass, METH_VARARGS, (char *)"SoSFName_initClass()"}, - { (char *)"SoSFName_setValue", _wrap_SoSFName_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbName newvalue)\n" - "setValue(char name)\n" - "SoSFName_setValue(SoSFName self, SoSFName other)\n" - ""}, - { (char *)"SoSFName_swigregister", SoSFName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFName", _wrap_new_SoMFName, METH_VARARGS, (char *)"new_SoMFName() -> SoMFName"}, - { (char *)"delete_SoMFName", _wrap_delete_SoMFName, METH_VARARGS, (char *)"delete_SoMFName(SoMFName self)"}, - { (char *)"SoMFName_createInstance", _wrap_SoMFName_createInstance, METH_VARARGS, (char *)"SoMFName_createInstance() -> void"}, - { (char *)"SoMFName_getClassTypeId", _wrap_SoMFName_getClassTypeId, METH_VARARGS, (char *)"SoMFName_getClassTypeId() -> SoType"}, - { (char *)"SoMFName_getTypeId", _wrap_SoMFName_getTypeId, METH_VARARGS, (char *)"SoMFName_getTypeId(SoMFName self) -> SoType"}, - { (char *)"SoMFName_copyFrom", _wrap_SoMFName_copyFrom, METH_VARARGS, (char *)"SoMFName_copyFrom(SoMFName self, SoField field)"}, - { (char *)"SoMFName_isSame", _wrap_SoMFName_isSame, METH_VARARGS, (char *)"SoMFName_isSame(SoMFName self, SoField field) -> SbBool"}, - { (char *)"SoMFName_find", _wrap_SoMFName_find, METH_VARARGS, (char *)"\n" - "find(SbName value, SbBool addifnotfound=0) -> int\n" - "SoMFName_find(SoMFName self, SbName value) -> int\n" - ""}, - { (char *)"SoMFName_set1Value", _wrap_SoMFName_set1Value, METH_VARARGS, (char *)"SoMFName_set1Value(SoMFName self, int idx, SbName value)"}, - { (char *)"SoMFName___eq__", _wrap_SoMFName___eq__, METH_VARARGS, (char *)"SoMFName___eq__(SoMFName self, SoMFName field) -> SbBool"}, - { (char *)"SoMFName___ne__", _wrap_SoMFName___ne__, METH_VARARGS, (char *)"SoMFName___ne__(SoMFName self, SoMFName field) -> SbBool"}, - { (char *)"SoMFName_startEditing", _wrap_SoMFName_startEditing, METH_VARARGS, (char *)"SoMFName_startEditing(SoMFName self) -> SbName"}, - { (char *)"SoMFName_finishEditing", _wrap_SoMFName_finishEditing, METH_VARARGS, (char *)"SoMFName_finishEditing(SoMFName self)"}, - { (char *)"SoMFName_initClass", _wrap_SoMFName_initClass, METH_VARARGS, (char *)"SoMFName_initClass()"}, - { (char *)"SoMFName_setValues", _wrap_SoMFName_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbName newvals)\n" - "SoMFName_setValues(SoMFName self, int start, int num, char strings)\n" - ""}, - { (char *)"SoMFName___getitem__", _wrap_SoMFName___getitem__, METH_VARARGS, (char *)"SoMFName___getitem__(SoMFName self, int i) -> SbName"}, - { (char *)"SoMFName___setitem__", _wrap_SoMFName___setitem__, METH_VARARGS, (char *)"SoMFName___setitem__(SoMFName self, int i, SbName value)"}, - { (char *)"SoMFName_setValue", _wrap_SoMFName_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbName value)\n" - "setValue(char str)\n" - "SoMFName_setValue(SoMFName self, SoMFName other)\n" - ""}, - { (char *)"SoMFName_getValues", _wrap_SoMFName_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbName\n" - "SoMFName_getValues(SoMFName self, int len) -> SbName\n" - ""}, - { (char *)"SoMFName_swigregister", SoMFName_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitListPart_getClassTypeId", _wrap_SoNodeKitListPart_getClassTypeId, METH_VARARGS, (char *)"SoNodeKitListPart_getClassTypeId() -> SoType"}, - { (char *)"SoNodeKitListPart_getTypeId", _wrap_SoNodeKitListPart_getTypeId, METH_VARARGS, (char *)"SoNodeKitListPart_getTypeId(SoNodeKitListPart self) -> SoType"}, - { (char *)"SoNodeKitListPart_initClass", _wrap_SoNodeKitListPart_initClass, METH_VARARGS, (char *)"SoNodeKitListPart_initClass()"}, - { (char *)"new_SoNodeKitListPart", _wrap_new_SoNodeKitListPart, METH_VARARGS, (char *)"new_SoNodeKitListPart() -> SoNodeKitListPart"}, - { (char *)"SoNodeKitListPart_getContainerType", _wrap_SoNodeKitListPart_getContainerType, METH_VARARGS, (char *)"SoNodeKitListPart_getContainerType(SoNodeKitListPart self) -> SoType"}, - { (char *)"SoNodeKitListPart_setContainerType", _wrap_SoNodeKitListPart_setContainerType, METH_VARARGS, (char *)"SoNodeKitListPart_setContainerType(SoNodeKitListPart self, SoType newContainerType)"}, - { (char *)"SoNodeKitListPart_getChildTypes", _wrap_SoNodeKitListPart_getChildTypes, METH_VARARGS, (char *)"SoNodeKitListPart_getChildTypes(SoNodeKitListPart self) -> SoTypeList"}, - { (char *)"SoNodeKitListPart_addChildType", _wrap_SoNodeKitListPart_addChildType, METH_VARARGS, (char *)"SoNodeKitListPart_addChildType(SoNodeKitListPart self, SoType typeToAdd)"}, - { (char *)"SoNodeKitListPart_isTypePermitted", _wrap_SoNodeKitListPart_isTypePermitted, METH_VARARGS, (char *)"SoNodeKitListPart_isTypePermitted(SoNodeKitListPart self, SoType typeToCheck) -> SbBool"}, - { (char *)"SoNodeKitListPart_isChildPermitted", _wrap_SoNodeKitListPart_isChildPermitted, METH_VARARGS, (char *)"SoNodeKitListPart_isChildPermitted(SoNodeKitListPart self, SoNode child) -> SbBool"}, - { (char *)"SoNodeKitListPart_containerSet", _wrap_SoNodeKitListPart_containerSet, METH_VARARGS, (char *)"SoNodeKitListPart_containerSet(SoNodeKitListPart self, char fieldDataString)"}, - { (char *)"SoNodeKitListPart_lockTypes", _wrap_SoNodeKitListPart_lockTypes, METH_VARARGS, (char *)"SoNodeKitListPart_lockTypes(SoNodeKitListPart self)"}, - { (char *)"SoNodeKitListPart_isTypeLocked", _wrap_SoNodeKitListPart_isTypeLocked, METH_VARARGS, (char *)"SoNodeKitListPart_isTypeLocked(SoNodeKitListPart self) -> SbBool"}, - { (char *)"SoNodeKitListPart_addChild", _wrap_SoNodeKitListPart_addChild, METH_VARARGS, (char *)"SoNodeKitListPart_addChild(SoNodeKitListPart self, SoNode child)"}, - { (char *)"SoNodeKitListPart_insertChild", _wrap_SoNodeKitListPart_insertChild, METH_VARARGS, (char *)"SoNodeKitListPart_insertChild(SoNodeKitListPart self, SoNode child, int childIndex)"}, - { (char *)"SoNodeKitListPart_getChild", _wrap_SoNodeKitListPart_getChild, METH_VARARGS, (char *)"SoNodeKitListPart_getChild(SoNodeKitListPart self, int index) -> SoNode"}, - { (char *)"SoNodeKitListPart_findChild", _wrap_SoNodeKitListPart_findChild, METH_VARARGS, (char *)"SoNodeKitListPart_findChild(SoNodeKitListPart self, SoNode child) -> int"}, - { (char *)"SoNodeKitListPart_getNumChildren", _wrap_SoNodeKitListPart_getNumChildren, METH_VARARGS, (char *)"SoNodeKitListPart_getNumChildren(SoNodeKitListPart self) -> int"}, - { (char *)"SoNodeKitListPart_removeChild", _wrap_SoNodeKitListPart_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int index)\n" - "SoNodeKitListPart_removeChild(SoNodeKitListPart self, SoNode child)\n" - ""}, - { (char *)"SoNodeKitListPart_replaceChild", _wrap_SoNodeKitListPart_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int index, SoNode newChild)\n" - "SoNodeKitListPart_replaceChild(SoNodeKitListPart self, SoNode oldChild, SoNode newChild)\n" - ""}, - { (char *)"SoNodeKitListPart_affectsState", _wrap_SoNodeKitListPart_affectsState, METH_VARARGS, (char *)"SoNodeKitListPart_affectsState(SoNodeKitListPart self) -> SbBool"}, - { (char *)"SoNodeKitListPart_doAction", _wrap_SoNodeKitListPart_doAction, METH_VARARGS, (char *)"SoNodeKitListPart_doAction(SoNodeKitListPart self, SoAction action)"}, - { (char *)"SoNodeKitListPart_callback", _wrap_SoNodeKitListPart_callback, METH_VARARGS, (char *)"SoNodeKitListPart_callback(SoNodeKitListPart self, SoCallbackAction action)"}, - { (char *)"SoNodeKitListPart_GLRender", _wrap_SoNodeKitListPart_GLRender, METH_VARARGS, (char *)"SoNodeKitListPart_GLRender(SoNodeKitListPart self, SoGLRenderAction action)"}, - { (char *)"SoNodeKitListPart_getBoundingBox", _wrap_SoNodeKitListPart_getBoundingBox, METH_VARARGS, (char *)"SoNodeKitListPart_getBoundingBox(SoNodeKitListPart self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNodeKitListPart_getMatrix", _wrap_SoNodeKitListPart_getMatrix, METH_VARARGS, (char *)"SoNodeKitListPart_getMatrix(SoNodeKitListPart self, SoGetMatrixAction action)"}, - { (char *)"SoNodeKitListPart_handleEvent", _wrap_SoNodeKitListPart_handleEvent, METH_VARARGS, (char *)"SoNodeKitListPart_handleEvent(SoNodeKitListPart self, SoHandleEventAction action)"}, - { (char *)"SoNodeKitListPart_pick", _wrap_SoNodeKitListPart_pick, METH_VARARGS, (char *)"SoNodeKitListPart_pick(SoNodeKitListPart self, SoPickAction action)"}, - { (char *)"SoNodeKitListPart_search", _wrap_SoNodeKitListPart_search, METH_VARARGS, (char *)"SoNodeKitListPart_search(SoNodeKitListPart self, SoSearchAction action)"}, - { (char *)"SoNodeKitListPart_getPrimitiveCount", _wrap_SoNodeKitListPart_getPrimitiveCount, METH_VARARGS, (char *)"SoNodeKitListPart_getPrimitiveCount(SoNodeKitListPart self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNodeKitListPart_getChildren", _wrap_SoNodeKitListPart_getChildren, METH_VARARGS, (char *)"SoNodeKitListPart_getChildren(SoNodeKitListPart self) -> SoChildList"}, - { (char *)"SoNodeKitListPart_swigregister", SoNodeKitListPart_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitPath_getLength", _wrap_SoNodeKitPath_getLength, METH_VARARGS, (char *)"SoNodeKitPath_getLength(SoNodeKitPath self) -> int"}, - { (char *)"SoNodeKitPath_getTail", _wrap_SoNodeKitPath_getTail, METH_VARARGS, (char *)"SoNodeKitPath_getTail(SoNodeKitPath self) -> SoNode"}, - { (char *)"SoNodeKitPath_getNode", _wrap_SoNodeKitPath_getNode, METH_VARARGS, (char *)"SoNodeKitPath_getNode(SoNodeKitPath self, int idx) -> SoNode"}, - { (char *)"SoNodeKitPath_getNodeFromTail", _wrap_SoNodeKitPath_getNodeFromTail, METH_VARARGS, (char *)"SoNodeKitPath_getNodeFromTail(SoNodeKitPath self, int idx) -> SoNode"}, - { (char *)"SoNodeKitPath_truncate", _wrap_SoNodeKitPath_truncate, METH_VARARGS, (char *)"SoNodeKitPath_truncate(SoNodeKitPath self, int length)"}, - { (char *)"SoNodeKitPath_pop", _wrap_SoNodeKitPath_pop, METH_VARARGS, (char *)"SoNodeKitPath_pop(SoNodeKitPath self)"}, - { (char *)"SoNodeKitPath_append", _wrap_SoNodeKitPath_append, METH_VARARGS, (char *)"\n" - "append(SoBaseKit childKit)\n" - "SoNodeKitPath_append(SoNodeKitPath self, SoNodeKitPath fromPath)\n" - ""}, - { (char *)"SoNodeKitPath_containsNode", _wrap_SoNodeKitPath_containsNode, METH_VARARGS, (char *)"SoNodeKitPath_containsNode(SoNodeKitPath self, SoBaseKit node) -> SbBool"}, - { (char *)"SoNodeKitPath_findFork", _wrap_SoNodeKitPath_findFork, METH_VARARGS, (char *)"SoNodeKitPath_findFork(SoNodeKitPath self, SoNodeKitPath path) -> int"}, - { (char *)"SoNodeKitPath___eq__", _wrap_SoNodeKitPath___eq__, METH_VARARGS, (char *)"SoNodeKitPath___eq__(SoNodeKitPath self, SoNodeKitPath u) -> int"}, - { (char *)"SoNodeKitPath___nq__", _wrap_SoNodeKitPath___nq__, METH_VARARGS, (char *)"SoNodeKitPath___nq__(SoNodeKitPath self, SoNodeKitPath u) -> int"}, - { (char *)"SoNodeKitPath_swigregister", SoNodeKitPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoChildList", _wrap_new_SoChildList, METH_VARARGS, (char *)"\n" - "SoChildList(SoNode parent)\n" - "SoChildList(SoNode parent, int size)\n" - "new_SoChildList(SoNode parent, SoChildList cl) -> SoChildList\n" - ""}, - { (char *)"delete_SoChildList", _wrap_delete_SoChildList, METH_VARARGS, (char *)"delete_SoChildList(SoChildList self)"}, - { (char *)"SoChildList_append", _wrap_SoChildList_append, METH_VARARGS, (char *)"SoChildList_append(SoChildList self, SoNode node)"}, - { (char *)"SoChildList_insert", _wrap_SoChildList_insert, METH_VARARGS, (char *)"SoChildList_insert(SoChildList self, SoNode ptr, int addbefore)"}, - { (char *)"SoChildList_remove", _wrap_SoChildList_remove, METH_VARARGS, (char *)"SoChildList_remove(SoChildList self, int index)"}, - { (char *)"SoChildList_truncate", _wrap_SoChildList_truncate, METH_VARARGS, (char *)"SoChildList_truncate(SoChildList self, int length)"}, - { (char *)"SoChildList_copy", _wrap_SoChildList_copy, METH_VARARGS, (char *)"SoChildList_copy(SoChildList self, SoChildList cl)"}, - { (char *)"SoChildList_set", _wrap_SoChildList_set, METH_VARARGS, (char *)"SoChildList_set(SoChildList self, int index, SoNode node)"}, - { (char *)"SoChildList_traverseInPath", _wrap_SoChildList_traverseInPath, METH_VARARGS, (char *)"\n" - "SoChildList_traverseInPath(SoChildList self, SoAction action, int numindices, \n" - " int indices)\n" - ""}, - { (char *)"SoChildList_traverse", _wrap_SoChildList_traverse, METH_VARARGS, (char *)"\n" - "traverse(SoAction action)\n" - "traverse(SoAction action, int index)\n" - "traverse(SoAction action, SoNode node)\n" - "SoChildList_traverse(SoChildList self, SoAction action, int first, int last)\n" - ""}, - { (char *)"SoChildList_addPathAuditor", _wrap_SoChildList_addPathAuditor, METH_VARARGS, (char *)"SoChildList_addPathAuditor(SoChildList self, SoPath path)"}, - { (char *)"SoChildList_removePathAuditor", _wrap_SoChildList_removePathAuditor, METH_VARARGS, (char *)"SoChildList_removePathAuditor(SoChildList self, SoPath path)"}, - { (char *)"SoChildList_swigregister", SoChildList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBaseKit_getClassTypeId", _wrap_SoBaseKit_getClassTypeId, METH_VARARGS, (char *)"SoBaseKit_getClassTypeId() -> SoType"}, - { (char *)"SoBaseKit_getTypeId", _wrap_SoBaseKit_getTypeId, METH_VARARGS, (char *)"SoBaseKit_getTypeId(SoBaseKit self) -> SoType"}, - { (char *)"SoBaseKit_initClass", _wrap_SoBaseKit_initClass, METH_VARARGS, (char *)"SoBaseKit_initClass()"}, - { (char *)"new_SoBaseKit", _wrap_new_SoBaseKit, METH_VARARGS, (char *)"new_SoBaseKit() -> SoBaseKit"}, - { (char *)"SoBaseKit_getClassNodekitCatalog", _wrap_SoBaseKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoBaseKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoBaseKit_getNodekitCatalog", _wrap_SoBaseKit_getNodekitCatalog, METH_VARARGS, (char *)"SoBaseKit_getNodekitCatalog(SoBaseKit self) -> SoNodekitCatalog"}, - { (char *)"SoBaseKit_getPart", _wrap_SoBaseKit_getPart, METH_VARARGS, (char *)"SoBaseKit_getPart(SoBaseKit self, SbName partname, SbBool makeifneeded) -> SoNode"}, - { (char *)"SoBaseKit_getPartString", _wrap_SoBaseKit_getPartString, METH_VARARGS, (char *)"SoBaseKit_getPartString(SoBaseKit self, SoBase part) -> SbString"}, - { (char *)"SoBaseKit_createPathToPart", _wrap_SoBaseKit_createPathToPart, METH_VARARGS, (char *)"\n" - "createPathToPart(SbName partname, SbBool makeifneeded, SoPath pathtoextend=None) -> SoNodeKitPath\n" - "SoBaseKit_createPathToPart(SoBaseKit self, SbName partname, SbBool makeifneeded) -> SoNodeKitPath\n" - ""}, - { (char *)"SoBaseKit_setPart", _wrap_SoBaseKit_setPart, METH_VARARGS, (char *)"SoBaseKit_setPart(SoBaseKit self, SbName partname, SoNode from) -> SbBool"}, - { (char *)"SoBaseKit_set", _wrap_SoBaseKit_set, METH_VARARGS, (char *)"\n" - "set(char namevaluepairliststring) -> SbBool\n" - "SoBaseKit_set(SoBaseKit self, char partnamestring, char parameterstring) -> SbBool\n" - ""}, - { (char *)"SoBaseKit_doAction", _wrap_SoBaseKit_doAction, METH_VARARGS, (char *)"SoBaseKit_doAction(SoBaseKit self, SoAction action)"}, - { (char *)"SoBaseKit_callback", _wrap_SoBaseKit_callback, METH_VARARGS, (char *)"SoBaseKit_callback(SoBaseKit self, SoCallbackAction action)"}, - { (char *)"SoBaseKit_GLRender", _wrap_SoBaseKit_GLRender, METH_VARARGS, (char *)"SoBaseKit_GLRender(SoBaseKit self, SoGLRenderAction action)"}, - { (char *)"SoBaseKit_getBoundingBox", _wrap_SoBaseKit_getBoundingBox, METH_VARARGS, (char *)"SoBaseKit_getBoundingBox(SoBaseKit self, SoGetBoundingBoxAction action)"}, - { (char *)"SoBaseKit_getMatrix", _wrap_SoBaseKit_getMatrix, METH_VARARGS, (char *)"SoBaseKit_getMatrix(SoBaseKit self, SoGetMatrixAction action)"}, - { (char *)"SoBaseKit_handleEvent", _wrap_SoBaseKit_handleEvent, METH_VARARGS, (char *)"SoBaseKit_handleEvent(SoBaseKit self, SoHandleEventAction action)"}, - { (char *)"SoBaseKit_rayPick", _wrap_SoBaseKit_rayPick, METH_VARARGS, (char *)"SoBaseKit_rayPick(SoBaseKit self, SoRayPickAction action)"}, - { (char *)"SoBaseKit_search", _wrap_SoBaseKit_search, METH_VARARGS, (char *)"SoBaseKit_search(SoBaseKit self, SoSearchAction action)"}, - { (char *)"SoBaseKit_write", _wrap_SoBaseKit_write, METH_VARARGS, (char *)"SoBaseKit_write(SoBaseKit self, SoWriteAction action)"}, - { (char *)"SoBaseKit_getPrimitiveCount", _wrap_SoBaseKit_getPrimitiveCount, METH_VARARGS, (char *)"SoBaseKit_getPrimitiveCount(SoBaseKit self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoBaseKit_getChildren", _wrap_SoBaseKit_getChildren, METH_VARARGS, (char *)"SoBaseKit_getChildren(SoBaseKit self) -> SoChildList"}, - { (char *)"SoBaseKit_printDiagram", _wrap_SoBaseKit_printDiagram, METH_VARARGS, (char *)"SoBaseKit_printDiagram(SoBaseKit self)"}, - { (char *)"SoBaseKit_printSubDiagram", _wrap_SoBaseKit_printSubDiagram, METH_VARARGS, (char *)"SoBaseKit_printSubDiagram(SoBaseKit self, SbName rootname, int level)"}, - { (char *)"SoBaseKit_printTable", _wrap_SoBaseKit_printTable, METH_VARARGS, (char *)"SoBaseKit_printTable(SoBaseKit self)"}, - { (char *)"SoBaseKit_addWriteReference", _wrap_SoBaseKit_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoBaseKit_addWriteReference(SoBaseKit self, SoOutput out)\n" - ""}, - { (char *)"SoBaseKit_forceChildDrivenWriteRefs", _wrap_SoBaseKit_forceChildDrivenWriteRefs, METH_VARARGS, (char *)"SoBaseKit_forceChildDrivenWriteRefs(SoBaseKit self, SoOutput out) -> SbBool"}, - { (char *)"SoBaseKit_isSearchingChildren", _wrap_SoBaseKit_isSearchingChildren, METH_VARARGS, (char *)"SoBaseKit_isSearchingChildren() -> SbBool"}, - { (char *)"SoBaseKit_setSearchingChildren", _wrap_SoBaseKit_setSearchingChildren, METH_VARARGS, (char *)"SoBaseKit_setSearchingChildren(SbBool newval)"}, - { (char *)"SoBaseKit_swigregister", SoBaseKit_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSensor", _wrap_delete_SoSensor, METH_VARARGS, (char *)"delete_SoSensor(SoSensor self)"}, - { (char *)"SoSensor_setFunction", _wrap_SoSensor_setFunction, METH_VARARGS, (char *)"SoSensor_setFunction(SoSensor self, SoSensorCB callbackfunction)"}, - { (char *)"SoSensor_getFunction", _wrap_SoSensor_getFunction, METH_VARARGS, (char *)"SoSensor_getFunction(SoSensor self) -> SoSensorCBPtr"}, - { (char *)"SoSensor_setData", _wrap_SoSensor_setData, METH_VARARGS, (char *)"SoSensor_setData(SoSensor self, void callbackdata)"}, - { (char *)"SoSensor_getData", _wrap_SoSensor_getData, METH_VARARGS, (char *)"SoSensor_getData(SoSensor self) -> void"}, - { (char *)"SoSensor_schedule", _wrap_SoSensor_schedule, METH_VARARGS, (char *)"SoSensor_schedule(SoSensor self)"}, - { (char *)"SoSensor_unschedule", _wrap_SoSensor_unschedule, METH_VARARGS, (char *)"SoSensor_unschedule(SoSensor self)"}, - { (char *)"SoSensor_isScheduled", _wrap_SoSensor_isScheduled, METH_VARARGS, (char *)"SoSensor_isScheduled(SoSensor self) -> SbBool"}, - { (char *)"SoSensor_trigger", _wrap_SoSensor_trigger, METH_VARARGS, (char *)"SoSensor_trigger(SoSensor self)"}, - { (char *)"SoSensor_isBefore", _wrap_SoSensor_isBefore, METH_VARARGS, (char *)"SoSensor_isBefore(SoSensor self, SoSensor s) -> SbBool"}, - { (char *)"SoSensor_setNextInQueue", _wrap_SoSensor_setNextInQueue, METH_VARARGS, (char *)"SoSensor_setNextInQueue(SoSensor self, SoSensor next)"}, - { (char *)"SoSensor_getNextInQueue", _wrap_SoSensor_getNextInQueue, METH_VARARGS, (char *)"SoSensor_getNextInQueue(SoSensor self) -> SoSensor"}, - { (char *)"SoSensor_initClass", _wrap_SoSensor_initClass, METH_VARARGS, (char *)"SoSensor_initClass()"}, - { (char *)"SoSensor_swigregister", SoSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoDelayQueueSensor", _wrap_new_SoDelayQueueSensor, METH_VARARGS, (char *)"new_SoDelayQueueSensor() -> SoDelayQueueSensor"}, - { (char *)"new_SoDelayQueueSensor_scb_v", _wrap_new_SoDelayQueueSensor_scb_v, METH_VARARGS, (char *)"new_SoDelayQueueSensor_scb_v(SoSensorCB func, void data) -> SoDelayQueueSensor"}, - { (char *)"delete_SoDelayQueueSensor", _wrap_delete_SoDelayQueueSensor, METH_VARARGS, (char *)"delete_SoDelayQueueSensor(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_setPriority", _wrap_SoDelayQueueSensor_setPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_setPriority(SoDelayQueueSensor self, uint32_t pri)"}, - { (char *)"SoDelayQueueSensor_getPriority", _wrap_SoDelayQueueSensor_getPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_getPriority(SoDelayQueueSensor self) -> uint32_t"}, - { (char *)"SoDelayQueueSensor_getDefaultPriority", _wrap_SoDelayQueueSensor_getDefaultPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_getDefaultPriority() -> uint32_t"}, - { (char *)"SoDelayQueueSensor_schedule", _wrap_SoDelayQueueSensor_schedule, METH_VARARGS, (char *)"SoDelayQueueSensor_schedule(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_unschedule", _wrap_SoDelayQueueSensor_unschedule, METH_VARARGS, (char *)"SoDelayQueueSensor_unschedule(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_isScheduled", _wrap_SoDelayQueueSensor_isScheduled, METH_VARARGS, (char *)"SoDelayQueueSensor_isScheduled(SoDelayQueueSensor self) -> SbBool"}, - { (char *)"SoDelayQueueSensor_isIdleOnly", _wrap_SoDelayQueueSensor_isIdleOnly, METH_VARARGS, (char *)"SoDelayQueueSensor_isIdleOnly(SoDelayQueueSensor self) -> SbBool"}, - { (char *)"SoDelayQueueSensor_trigger", _wrap_SoDelayQueueSensor_trigger, METH_VARARGS, (char *)"SoDelayQueueSensor_trigger(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_swigregister", SoDelayQueueSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoDataSensor", _wrap_delete_SoDataSensor, METH_VARARGS, (char *)"delete_SoDataSensor(SoDataSensor self)"}, - { (char *)"SoDataSensor_setDeleteCallback", _wrap_SoDataSensor_setDeleteCallback, METH_VARARGS, (char *)"\n" - "setDeleteCallback(SoSensorCB function, void data=None)\n" - "SoDataSensor_setDeleteCallback(SoDataSensor self, SoSensorCB function)\n" - ""}, - { (char *)"SoDataSensor_getTriggerNode", _wrap_SoDataSensor_getTriggerNode, METH_VARARGS, (char *)"SoDataSensor_getTriggerNode(SoDataSensor self) -> SoNode"}, - { (char *)"SoDataSensor_getTriggerField", _wrap_SoDataSensor_getTriggerField, METH_VARARGS, (char *)"SoDataSensor_getTriggerField(SoDataSensor self) -> SoField"}, - { (char *)"SoDataSensor_getTriggerPath", _wrap_SoDataSensor_getTriggerPath, METH_VARARGS, (char *)"SoDataSensor_getTriggerPath(SoDataSensor self) -> SoPath"}, - { (char *)"SoDataSensor_setTriggerPathFlag", _wrap_SoDataSensor_setTriggerPathFlag, METH_VARARGS, (char *)"SoDataSensor_setTriggerPathFlag(SoDataSensor self, SbBool flag)"}, - { (char *)"SoDataSensor_getTriggerPathFlag", _wrap_SoDataSensor_getTriggerPathFlag, METH_VARARGS, (char *)"SoDataSensor_getTriggerPathFlag(SoDataSensor self) -> SbBool"}, - { (char *)"SoDataSensor_trigger", _wrap_SoDataSensor_trigger, METH_VARARGS, (char *)"SoDataSensor_trigger(SoDataSensor self)"}, - { (char *)"SoDataSensor_notify", _wrap_SoDataSensor_notify, METH_VARARGS, (char *)"SoDataSensor_notify(SoDataSensor self, SoNotList l)"}, - { (char *)"SoDataSensor_dyingReference", _wrap_SoDataSensor_dyingReference, METH_VARARGS, (char *)"SoDataSensor_dyingReference(SoDataSensor self)"}, - { (char *)"SoDataSensor_swigregister", SoDataSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldSensor", _wrap_new_SoFieldSensor, METH_VARARGS, (char *)"new_SoFieldSensor() -> SoFieldSensor"}, - { (char *)"new_SoFieldSensor_scb_v", _wrap_new_SoFieldSensor_scb_v, METH_VARARGS, (char *)"new_SoFieldSensor_scb_v(SoSensorCB func, void data) -> SoFieldSensor"}, - { (char *)"delete_SoFieldSensor", _wrap_delete_SoFieldSensor, METH_VARARGS, (char *)"delete_SoFieldSensor(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_attach", _wrap_SoFieldSensor_attach, METH_VARARGS, (char *)"SoFieldSensor_attach(SoFieldSensor self, SoField field)"}, - { (char *)"SoFieldSensor_detach", _wrap_SoFieldSensor_detach, METH_VARARGS, (char *)"SoFieldSensor_detach(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_getAttachedField", _wrap_SoFieldSensor_getAttachedField, METH_VARARGS, (char *)"SoFieldSensor_getAttachedField(SoFieldSensor self) -> SoField"}, - { (char *)"SoFieldSensor_trigger", _wrap_SoFieldSensor_trigger, METH_VARARGS, (char *)"SoFieldSensor_trigger(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_swigregister", SoFieldSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInteractionKit_getClassTypeId", _wrap_SoInteractionKit_getClassTypeId, METH_VARARGS, (char *)"SoInteractionKit_getClassTypeId() -> SoType"}, - { (char *)"SoInteractionKit_getTypeId", _wrap_SoInteractionKit_getTypeId, METH_VARARGS, (char *)"SoInteractionKit_getTypeId(SoInteractionKit self) -> SoType"}, - { (char *)"SoInteractionKit_getClassNodekitCatalog", _wrap_SoInteractionKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoInteractionKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoInteractionKit_getNodekitCatalog", _wrap_SoInteractionKit_getNodekitCatalog, METH_VARARGS, (char *)"SoInteractionKit_getNodekitCatalog(SoInteractionKit self) -> SoNodekitCatalog"}, - { (char *)"SoInteractionKit_renderCaching_set", _wrap_SoInteractionKit_renderCaching_set, METH_VARARGS, (char *)"SoInteractionKit_renderCaching_set(SoInteractionKit self, SoSFEnum renderCaching)"}, - { (char *)"SoInteractionKit_renderCaching_get", _wrap_SoInteractionKit_renderCaching_get, METH_VARARGS, (char *)"SoInteractionKit_renderCaching_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_boundingBoxCaching_set", _wrap_SoInteractionKit_boundingBoxCaching_set, METH_VARARGS, (char *)"SoInteractionKit_boundingBoxCaching_set(SoInteractionKit self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoInteractionKit_boundingBoxCaching_get", _wrap_SoInteractionKit_boundingBoxCaching_get, METH_VARARGS, (char *)"SoInteractionKit_boundingBoxCaching_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_renderCulling_set", _wrap_SoInteractionKit_renderCulling_set, METH_VARARGS, (char *)"SoInteractionKit_renderCulling_set(SoInteractionKit self, SoSFEnum renderCulling)"}, - { (char *)"SoInteractionKit_renderCulling_get", _wrap_SoInteractionKit_renderCulling_get, METH_VARARGS, (char *)"SoInteractionKit_renderCulling_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_pickCulling_set", _wrap_SoInteractionKit_pickCulling_set, METH_VARARGS, (char *)"SoInteractionKit_pickCulling_set(SoInteractionKit self, SoSFEnum pickCulling)"}, - { (char *)"SoInteractionKit_pickCulling_get", _wrap_SoInteractionKit_pickCulling_get, METH_VARARGS, (char *)"SoInteractionKit_pickCulling_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"new_SoInteractionKit", _wrap_new_SoInteractionKit, METH_VARARGS, (char *)"new_SoInteractionKit() -> SoInteractionKit"}, - { (char *)"SoInteractionKit_initClass", _wrap_SoInteractionKit_initClass, METH_VARARGS, (char *)"SoInteractionKit_initClass()"}, - { (char *)"SoInteractionKit_setPartAsPath", _wrap_SoInteractionKit_setPartAsPath, METH_VARARGS, (char *)"SoInteractionKit_setPartAsPath(SoInteractionKit self, SbName partname, SoPath path) -> SbBool"}, - { (char *)"SoInteractionKit_setPartAsDefault", _wrap_SoInteractionKit_setPartAsDefault, METH_VARARGS, (char *)"\n" - "setPartAsDefault(SbName partname, SoNode node, SbBool onlyifdefault=1) -> SbBool\n" - "setPartAsDefault(SbName partname, SoNode node) -> SbBool\n" - "setPartAsDefault(SbName partname, SbName nodename, SbBool onlyifdefault=1) -> SbBool\n" - "SoInteractionKit_setPartAsDefault(SoInteractionKit self, SbName partname, SbName nodename) -> SbBool\n" - ""}, - { (char *)"SoInteractionKit_isPathSurrogateInMySubgraph", _wrap_SoInteractionKit_isPathSurrogateInMySubgraph, METH_VARARGS, (char *)"\n" - "isPathSurrogateInMySubgraph(SoPath path, SoPath pathToOwner, SbName surrogatename, \n" - " SoPath surrogatepath, SbBool fillargs=1) -> SbBool\n" - "isPathSurrogateInMySubgraph(SoPath path, SoPath pathToOwner, SbName surrogatename, \n" - " SoPath surrogatepath) -> SbBool\n" - "SoInteractionKit_isPathSurrogateInMySubgraph(SoInteractionKit self, SoPath path) -> SbBool\n" - ""}, - { (char *)"SoInteractionKit_setSwitchValue", _wrap_SoInteractionKit_setSwitchValue, METH_VARARGS, (char *)"SoInteractionKit_setSwitchValue(SoNode node, int newVal)"}, - { (char *)"SoInteractionKit_setPart", _wrap_SoInteractionKit_setPart, METH_VARARGS, (char *)"SoInteractionKit_setPart(SoInteractionKit self, SbName partname, SoNode from) -> SbBool"}, - { (char *)"SoInteractionKit_swigregister", SoInteractionKit_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoCallbackList", _wrap_new_SoCallbackList, METH_VARARGS, (char *)"new_SoCallbackList() -> SoCallbackList"}, - { (char *)"delete_SoCallbackList", _wrap_delete_SoCallbackList, METH_VARARGS, (char *)"delete_SoCallbackList(SoCallbackList self)"}, - { (char *)"SoCallbackList_addCallback", _wrap_SoCallbackList_addCallback, METH_VARARGS, (char *)"\n" - "addCallback(SoCallbackListCB f, void userData=None)\n" - "SoCallbackList_addCallback(SoCallbackList self, SoCallbackListCB f)\n" - ""}, - { (char *)"SoCallbackList_removeCallback", _wrap_SoCallbackList_removeCallback, METH_VARARGS, (char *)"\n" - "removeCallback(SoCallbackListCB f, void userdata=None)\n" - "SoCallbackList_removeCallback(SoCallbackList self, SoCallbackListCB f)\n" - ""}, - { (char *)"SoCallbackList_clearCallbacks", _wrap_SoCallbackList_clearCallbacks, METH_VARARGS, (char *)"SoCallbackList_clearCallbacks(SoCallbackList self)"}, - { (char *)"SoCallbackList_getNumCallbacks", _wrap_SoCallbackList_getNumCallbacks, METH_VARARGS, (char *)"SoCallbackList_getNumCallbacks(SoCallbackList self) -> int"}, - { (char *)"SoCallbackList_invokeCallbacks", _wrap_SoCallbackList_invokeCallbacks, METH_VARARGS, (char *)"SoCallbackList_invokeCallbacks(SoCallbackList self, void callbackdata)"}, - { (char *)"SoCallbackList_swigregister", SoCallbackList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3d", _wrap_new_SbVec3d, METH_VARARGS, (char *)"\n" - "SbVec3d()\n" - "SbVec3d(double v)\n" - "SbVec3d(double x, double y, double z)\n" - "SbVec3d(SbVec3f v)\n" - "SbVec3d(SbVec3b v)\n" - "SbVec3d(SbVec3s v)\n" - "SbVec3d(SbVec3i32 v)\n" - "new_SbVec3d(SbDPPlane p0, SbDPPlane p1, SbDPPlane p2) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d_setValue", _wrap_SbVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec3d\n" - "setValue(double x, double y, double z) -> SbVec3d\n" - "setValue(SbVec3d barycentric, SbVec3d v0, SbVec3d v1, SbVec3d v2) -> SbVec3d\n" - "setValue(SbVec3f v) -> SbVec3d\n" - "setValue(SbVec3b v) -> SbVec3d\n" - "setValue(SbVec3s v) -> SbVec3d\n" - "SbVec3d_setValue(SbVec3d self, SbVec3i32 v) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d_getValue", _wrap_SbVec3d_getValue, METH_VARARGS, (char *)"SbVec3d_getValue(SbVec3d self) -> double"}, - { (char *)"SbVec3d_cross", _wrap_SbVec3d_cross, METH_VARARGS, (char *)"SbVec3d_cross(SbVec3d self, SbVec3d v) -> SbVec3d"}, - { (char *)"SbVec3d_dot", _wrap_SbVec3d_dot, METH_VARARGS, (char *)"SbVec3d_dot(SbVec3d self, SbVec3d v) -> double"}, - { (char *)"SbVec3d_equals", _wrap_SbVec3d_equals, METH_VARARGS, (char *)"SbVec3d_equals(SbVec3d self, SbVec3d v, double tolerance) -> SbBool"}, - { (char *)"SbVec3d_getClosestAxis", _wrap_SbVec3d_getClosestAxis, METH_VARARGS, (char *)"SbVec3d_getClosestAxis(SbVec3d self) -> SbVec3d"}, - { (char *)"SbVec3d_length", _wrap_SbVec3d_length, METH_VARARGS, (char *)"SbVec3d_length(SbVec3d self) -> double"}, - { (char *)"SbVec3d_sqrLength", _wrap_SbVec3d_sqrLength, METH_VARARGS, (char *)"SbVec3d_sqrLength(SbVec3d self) -> double"}, - { (char *)"SbVec3d_negate", _wrap_SbVec3d_negate, METH_VARARGS, (char *)"SbVec3d_negate(SbVec3d self)"}, - { (char *)"SbVec3d_normalize", _wrap_SbVec3d_normalize, METH_VARARGS, (char *)"SbVec3d_normalize(SbVec3d self) -> double"}, - { (char *)"SbVec3d___imul__", _wrap_SbVec3d___imul__, METH_VARARGS, (char *)"SbVec3d___imul__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___idiv__", _wrap_SbVec3d___idiv__, METH_VARARGS, (char *)"SbVec3d___idiv__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___iadd__", _wrap_SbVec3d___iadd__, METH_VARARGS, (char *)"SbVec3d___iadd__(SbVec3d self, SbVec3d v) -> SbVec3d"}, - { (char *)"SbVec3d___isub__", _wrap_SbVec3d___isub__, METH_VARARGS, (char *)"SbVec3d___isub__(SbVec3d self, SbVec3d v) -> SbVec3d"}, - { (char *)"SbVec3d___neg__", _wrap_SbVec3d___neg__, METH_VARARGS, (char *)"SbVec3d___neg__(SbVec3d self) -> SbVec3d"}, - { (char *)"SbVec3d_output", _wrap_SbVec3d_output, METH_VARARGS, (char *)"SbVec3d_output(SbVec3d self, FILE fp)"}, - { (char *)"SbVec3d___add__", _wrap_SbVec3d___add__, METH_VARARGS, (char *)"SbVec3d___add__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___sub__", _wrap_SbVec3d___sub__, METH_VARARGS, (char *)"SbVec3d___sub__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___mul__", _wrap_SbVec3d___mul__, METH_VARARGS, (char *)"\n" - "__mul__(double d) -> SbVec3d\n" - "SbVec3d___mul__(SbVec3d self, SbDPMatrix m) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d___rmul__", _wrap_SbVec3d___rmul__, METH_VARARGS, (char *)"SbVec3d___rmul__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___div__", _wrap_SbVec3d___div__, METH_VARARGS, (char *)"SbVec3d___div__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___eq__", _wrap_SbVec3d___eq__, METH_VARARGS, (char *)"SbVec3d___eq__(SbVec3d self, SbVec3d u) -> int"}, - { (char *)"SbVec3d___nq__", _wrap_SbVec3d___nq__, METH_VARARGS, (char *)"SbVec3d___nq__(SbVec3d self, SbVec3d u) -> int"}, - { (char *)"SbVec3d___getitem__", _wrap_SbVec3d___getitem__, METH_VARARGS, (char *)"SbVec3d___getitem__(SbVec3d self, int i) -> double"}, - { (char *)"SbVec3d___setitem__", _wrap_SbVec3d___setitem__, METH_VARARGS, (char *)"SbVec3d___setitem__(SbVec3d self, int i, double value)"}, - { (char *)"delete_SbVec3d", _wrap_delete_SbVec3d, METH_VARARGS, (char *)"delete_SbVec3d(SbVec3d self)"}, - { (char *)"SbVec3d_swigregister", SbVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPViewVolume", _wrap_new_SbDPViewVolume, METH_VARARGS, (char *)"new_SbDPViewVolume() -> SbDPViewVolume"}, - { (char *)"delete_SbDPViewVolume", _wrap_delete_SbDPViewVolume, METH_VARARGS, (char *)"delete_SbDPViewVolume(SbDPViewVolume self)"}, - { (char *)"SbDPViewVolume_getMatrices", _wrap_SbDPViewVolume_getMatrices, METH_VARARGS, (char *)"SbDPViewVolume_getMatrices(SbDPViewVolume self, SbDPMatrix affine, SbDPMatrix proj)"}, - { (char *)"SbDPViewVolume_getMatrix", _wrap_SbDPViewVolume_getMatrix, METH_VARARGS, (char *)"SbDPViewVolume_getMatrix(SbDPViewVolume self) -> SbDPMatrix"}, - { (char *)"SbDPViewVolume_getCameraSpaceMatrix", _wrap_SbDPViewVolume_getCameraSpaceMatrix, METH_VARARGS, (char *)"SbDPViewVolume_getCameraSpaceMatrix(SbDPViewVolume self) -> SbDPMatrix"}, - { (char *)"SbDPViewVolume_projectPointToLine", _wrap_SbDPViewVolume_projectPointToLine, METH_VARARGS, (char *)"\n" - "projectPointToLine(SbVec2d pt, SbDPLine line)\n" - "SbDPViewVolume_projectPointToLine(SbDPViewVolume self, SbVec2d pt, SbVec3d line0, SbVec3d line1)\n" - ""}, - { (char *)"SbDPViewVolume_projectToScreen", _wrap_SbDPViewVolume_projectToScreen, METH_VARARGS, (char *)"SbDPViewVolume_projectToScreen(SbDPViewVolume self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPViewVolume_getPlane", _wrap_SbDPViewVolume_getPlane, METH_VARARGS, (char *)"SbDPViewVolume_getPlane(SbDPViewVolume self, double distFromEye) -> SbPlane"}, - { (char *)"SbDPViewVolume_getSightPoint", _wrap_SbDPViewVolume_getSightPoint, METH_VARARGS, (char *)"SbDPViewVolume_getSightPoint(SbDPViewVolume self, double distFromEye) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getPlanePoint", _wrap_SbDPViewVolume_getPlanePoint, METH_VARARGS, (char *)"SbDPViewVolume_getPlanePoint(SbDPViewVolume self, double distFromEye, SbVec2d normPoint) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getAlignRotation", _wrap_SbDPViewVolume_getAlignRotation, METH_VARARGS, (char *)"\n" - "getAlignRotation(SbBool rightAngleOnly=0) -> SbDPRotation\n" - "SbDPViewVolume_getAlignRotation(SbDPViewVolume self) -> SbDPRotation\n" - ""}, - { (char *)"SbDPViewVolume_getWorldToScreenScale", _wrap_SbDPViewVolume_getWorldToScreenScale, METH_VARARGS, (char *)"SbDPViewVolume_getWorldToScreenScale(SbDPViewVolume self, SbVec3d worldCenter, double normRadius) -> double"}, - { (char *)"SbDPViewVolume_projectBox", _wrap_SbDPViewVolume_projectBox, METH_VARARGS, (char *)"SbDPViewVolume_projectBox(SbDPViewVolume self, SbBox3f box) -> SbVec2d"}, - { (char *)"SbDPViewVolume_narrow", _wrap_SbDPViewVolume_narrow, METH_VARARGS, (char *)"\n" - "narrow(double left, double bottom, double right, double top) -> SbDPViewVolume\n" - "SbDPViewVolume_narrow(SbDPViewVolume self, SbBox3f box) -> SbDPViewVolume\n" - ""}, - { (char *)"SbDPViewVolume_ortho", _wrap_SbDPViewVolume_ortho, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_ortho(SbDPViewVolume self, double left, double right, double bottom, \n" - " double top, double nearval, double farval)\n" - ""}, - { (char *)"SbDPViewVolume_perspective", _wrap_SbDPViewVolume_perspective, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_perspective(SbDPViewVolume self, double fovy, double aspect, double nearval, \n" - " double farval)\n" - ""}, - { (char *)"SbDPViewVolume_frustum", _wrap_SbDPViewVolume_frustum, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_frustum(SbDPViewVolume self, double left, double right, double bottom, \n" - " double top, double nearval, double farval)\n" - ""}, - { (char *)"SbDPViewVolume_rotateCamera", _wrap_SbDPViewVolume_rotateCamera, METH_VARARGS, (char *)"SbDPViewVolume_rotateCamera(SbDPViewVolume self, SbDPRotation q)"}, - { (char *)"SbDPViewVolume_translateCamera", _wrap_SbDPViewVolume_translateCamera, METH_VARARGS, (char *)"SbDPViewVolume_translateCamera(SbDPViewVolume self, SbVec3d v)"}, - { (char *)"SbDPViewVolume_zVector", _wrap_SbDPViewVolume_zVector, METH_VARARGS, (char *)"SbDPViewVolume_zVector(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_zNarrow", _wrap_SbDPViewVolume_zNarrow, METH_VARARGS, (char *)"SbDPViewVolume_zNarrow(SbDPViewVolume self, double nearval, double farval) -> SbDPViewVolume"}, - { (char *)"SbDPViewVolume_scale", _wrap_SbDPViewVolume_scale, METH_VARARGS, (char *)"SbDPViewVolume_scale(SbDPViewVolume self, double factor)"}, - { (char *)"SbDPViewVolume_scaleWidth", _wrap_SbDPViewVolume_scaleWidth, METH_VARARGS, (char *)"SbDPViewVolume_scaleWidth(SbDPViewVolume self, double ratio)"}, - { (char *)"SbDPViewVolume_scaleHeight", _wrap_SbDPViewVolume_scaleHeight, METH_VARARGS, (char *)"SbDPViewVolume_scaleHeight(SbDPViewVolume self, double ratio)"}, - { (char *)"SbDPViewVolume_getProjectionType", _wrap_SbDPViewVolume_getProjectionType, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionType(SbDPViewVolume self) -> ProjectionType"}, - { (char *)"SbDPViewVolume_getProjectionPoint", _wrap_SbDPViewVolume_getProjectionPoint, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionPoint(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getProjectionDirection", _wrap_SbDPViewVolume_getProjectionDirection, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionDirection(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getNearDist", _wrap_SbDPViewVolume_getNearDist, METH_VARARGS, (char *)"SbDPViewVolume_getNearDist(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getWidth", _wrap_SbDPViewVolume_getWidth, METH_VARARGS, (char *)"SbDPViewVolume_getWidth(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getHeight", _wrap_SbDPViewVolume_getHeight, METH_VARARGS, (char *)"SbDPViewVolume_getHeight(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getDepth", _wrap_SbDPViewVolume_getDepth, METH_VARARGS, (char *)"SbDPViewVolume_getDepth(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_output", _wrap_SbDPViewVolume_output, METH_VARARGS, (char *)"SbDPViewVolume_output(SbDPViewVolume self, FILE fp)"}, - { (char *)"SbDPViewVolume_getViewVolumePlanes", _wrap_SbDPViewVolume_getViewVolumePlanes, METH_VARARGS, (char *)"SbDPViewVolume_getViewVolumePlanes(SbDPViewVolume self, SbPlane planes)"}, - { (char *)"SbDPViewVolume_transform", _wrap_SbDPViewVolume_transform, METH_VARARGS, (char *)"SbDPViewVolume_transform(SbDPViewVolume self, SbDPMatrix matrix)"}, - { (char *)"SbDPViewVolume_getViewUp", _wrap_SbDPViewVolume_getViewUp, METH_VARARGS, (char *)"SbDPViewVolume_getViewUp(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_copyValues", _wrap_SbDPViewVolume_copyValues, METH_VARARGS, (char *)"SbDPViewVolume_copyValues(SbDPViewVolume self, SbViewVolume vv)"}, - { (char *)"SbDPViewVolume_swigregister", SbDPViewVolume_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbViewVolume", _wrap_new_SbViewVolume, METH_VARARGS, (char *)"new_SbViewVolume() -> SbViewVolume"}, - { (char *)"delete_SbViewVolume", _wrap_delete_SbViewVolume, METH_VARARGS, (char *)"delete_SbViewVolume(SbViewVolume self)"}, - { (char *)"SbViewVolume_getMatrices", _wrap_SbViewVolume_getMatrices, METH_VARARGS, (char *)"SbViewVolume_getMatrices(SbViewVolume self, SbMatrix affine, SbMatrix proj)"}, - { (char *)"SbViewVolume_getMatrix", _wrap_SbViewVolume_getMatrix, METH_VARARGS, (char *)"SbViewVolume_getMatrix(SbViewVolume self) -> SbMatrix"}, - { (char *)"SbViewVolume_getCameraSpaceMatrix", _wrap_SbViewVolume_getCameraSpaceMatrix, METH_VARARGS, (char *)"SbViewVolume_getCameraSpaceMatrix(SbViewVolume self) -> SbMatrix"}, - { (char *)"SbViewVolume_getPlane", _wrap_SbViewVolume_getPlane, METH_VARARGS, (char *)"SbViewVolume_getPlane(SbViewVolume self, float distFromEye) -> SbPlane"}, - { (char *)"SbViewVolume_getSightPoint", _wrap_SbViewVolume_getSightPoint, METH_VARARGS, (char *)"SbViewVolume_getSightPoint(SbViewVolume self, float distFromEye) -> SbVec3f"}, - { (char *)"SbViewVolume_getPlanePoint", _wrap_SbViewVolume_getPlanePoint, METH_VARARGS, (char *)"SbViewVolume_getPlanePoint(SbViewVolume self, float distFromEye, SbVec2f normPoint) -> SbVec3f"}, - { (char *)"SbViewVolume_getAlignRotation", _wrap_SbViewVolume_getAlignRotation, METH_VARARGS, (char *)"\n" - "getAlignRotation(SbBool rightAngleOnly=0) -> SbRotation\n" - "SbViewVolume_getAlignRotation(SbViewVolume self) -> SbRotation\n" - ""}, - { (char *)"SbViewVolume_getWorldToScreenScale", _wrap_SbViewVolume_getWorldToScreenScale, METH_VARARGS, (char *)"SbViewVolume_getWorldToScreenScale(SbViewVolume self, SbVec3f worldCenter, float normRadius) -> float"}, - { (char *)"SbViewVolume_projectBox", _wrap_SbViewVolume_projectBox, METH_VARARGS, (char *)"SbViewVolume_projectBox(SbViewVolume self, SbBox3f box) -> SbVec2f"}, - { (char *)"SbViewVolume_narrow", _wrap_SbViewVolume_narrow, METH_VARARGS, (char *)"\n" - "narrow(float left, float bottom, float right, float top) -> SbViewVolume\n" - "SbViewVolume_narrow(SbViewVolume self, SbBox3f box) -> SbViewVolume\n" - ""}, - { (char *)"SbViewVolume_ortho", _wrap_SbViewVolume_ortho, METH_VARARGS, (char *)"\n" - "SbViewVolume_ortho(SbViewVolume self, float left, float right, float bottom, \n" - " float top, float nearval, float farval)\n" - ""}, - { (char *)"SbViewVolume_perspective", _wrap_SbViewVolume_perspective, METH_VARARGS, (char *)"\n" - "SbViewVolume_perspective(SbViewVolume self, float fovy, float aspect, float nearval, \n" - " float farval)\n" - ""}, - { (char *)"SbViewVolume_frustum", _wrap_SbViewVolume_frustum, METH_VARARGS, (char *)"\n" - "SbViewVolume_frustum(SbViewVolume self, float left, float right, float bottom, \n" - " float top, float nearval, float farval)\n" - ""}, - { (char *)"SbViewVolume_rotateCamera", _wrap_SbViewVolume_rotateCamera, METH_VARARGS, (char *)"SbViewVolume_rotateCamera(SbViewVolume self, SbRotation q)"}, - { (char *)"SbViewVolume_translateCamera", _wrap_SbViewVolume_translateCamera, METH_VARARGS, (char *)"SbViewVolume_translateCamera(SbViewVolume self, SbVec3f v)"}, - { (char *)"SbViewVolume_zVector", _wrap_SbViewVolume_zVector, METH_VARARGS, (char *)"SbViewVolume_zVector(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_zNarrow", _wrap_SbViewVolume_zNarrow, METH_VARARGS, (char *)"SbViewVolume_zNarrow(SbViewVolume self, float nearval, float farval) -> SbViewVolume"}, - { (char *)"SbViewVolume_scale", _wrap_SbViewVolume_scale, METH_VARARGS, (char *)"SbViewVolume_scale(SbViewVolume self, float factor)"}, - { (char *)"SbViewVolume_scaleWidth", _wrap_SbViewVolume_scaleWidth, METH_VARARGS, (char *)"SbViewVolume_scaleWidth(SbViewVolume self, float ratio)"}, - { (char *)"SbViewVolume_scaleHeight", _wrap_SbViewVolume_scaleHeight, METH_VARARGS, (char *)"SbViewVolume_scaleHeight(SbViewVolume self, float ratio)"}, - { (char *)"SbViewVolume_getProjectionType", _wrap_SbViewVolume_getProjectionType, METH_VARARGS, (char *)"SbViewVolume_getProjectionType(SbViewVolume self) -> ProjectionType"}, - { (char *)"SbViewVolume_getProjectionPoint", _wrap_SbViewVolume_getProjectionPoint, METH_VARARGS, (char *)"SbViewVolume_getProjectionPoint(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_getProjectionDirection", _wrap_SbViewVolume_getProjectionDirection, METH_VARARGS, (char *)"SbViewVolume_getProjectionDirection(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_getNearDist", _wrap_SbViewVolume_getNearDist, METH_VARARGS, (char *)"SbViewVolume_getNearDist(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getWidth", _wrap_SbViewVolume_getWidth, METH_VARARGS, (char *)"SbViewVolume_getWidth(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getHeight", _wrap_SbViewVolume_getHeight, METH_VARARGS, (char *)"SbViewVolume_getHeight(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getDepth", _wrap_SbViewVolume_getDepth, METH_VARARGS, (char *)"SbViewVolume_getDepth(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_output", _wrap_SbViewVolume_output, METH_VARARGS, (char *)"SbViewVolume_output(SbViewVolume self, FILE fp)"}, - { (char *)"SbViewVolume_getViewVolumePlanes", _wrap_SbViewVolume_getViewVolumePlanes, METH_VARARGS, (char *)"SbViewVolume_getViewVolumePlanes(SbViewVolume self, SbPlane planes)"}, - { (char *)"SbViewVolume_transform", _wrap_SbViewVolume_transform, METH_VARARGS, (char *)"SbViewVolume_transform(SbViewVolume self, SbMatrix matrix)"}, - { (char *)"SbViewVolume_getViewUp", _wrap_SbViewVolume_getViewUp, METH_VARARGS, (char *)"SbViewVolume_getViewUp(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_intersect", _wrap_SbViewVolume_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f p) -> SbBool\n" - "intersect(SbVec3f p0, SbVec3f p1, SbVec3f closestpoint) -> SbBool\n" - "SbViewVolume_intersect(SbViewVolume self, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SbViewVolume_outsideTest", _wrap_SbViewVolume_outsideTest, METH_VARARGS, (char *)"SbViewVolume_outsideTest(SbViewVolume self, SbPlane p, SbVec3f bmin, SbVec3f bmax) -> SbBool"}, - { (char *)"SbViewVolume_getDPViewVolume", _wrap_SbViewVolume_getDPViewVolume, METH_VARARGS, (char *)"SbViewVolume_getDPViewVolume(SbViewVolume self) -> SbDPViewVolume"}, - { (char *)"SbViewVolume_type_set", _wrap_SbViewVolume_type_set, METH_VARARGS, (char *)"SbViewVolume_type_set(SbViewVolume self, ProjectionType type)"}, - { (char *)"SbViewVolume_type_get", _wrap_SbViewVolume_type_get, METH_VARARGS, (char *)"SbViewVolume_type_get(SbViewVolume self) -> ProjectionType"}, - { (char *)"SbViewVolume_projPoint_set", _wrap_SbViewVolume_projPoint_set, METH_VARARGS, (char *)"SbViewVolume_projPoint_set(SbViewVolume self, SbVec3f projPoint)"}, - { (char *)"SbViewVolume_projPoint_get", _wrap_SbViewVolume_projPoint_get, METH_VARARGS, (char *)"SbViewVolume_projPoint_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_projDir_set", _wrap_SbViewVolume_projDir_set, METH_VARARGS, (char *)"SbViewVolume_projDir_set(SbViewVolume self, SbVec3f projDir)"}, - { (char *)"SbViewVolume_projDir_get", _wrap_SbViewVolume_projDir_get, METH_VARARGS, (char *)"SbViewVolume_projDir_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_nearDist_set", _wrap_SbViewVolume_nearDist_set, METH_VARARGS, (char *)"SbViewVolume_nearDist_set(SbViewVolume self, float nearDist)"}, - { (char *)"SbViewVolume_nearDist_get", _wrap_SbViewVolume_nearDist_get, METH_VARARGS, (char *)"SbViewVolume_nearDist_get(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_nearToFar_set", _wrap_SbViewVolume_nearToFar_set, METH_VARARGS, (char *)"SbViewVolume_nearToFar_set(SbViewVolume self, float nearToFar)"}, - { (char *)"SbViewVolume_nearToFar_get", _wrap_SbViewVolume_nearToFar_get, METH_VARARGS, (char *)"SbViewVolume_nearToFar_get(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_llf_set", _wrap_SbViewVolume_llf_set, METH_VARARGS, (char *)"SbViewVolume_llf_set(SbViewVolume self, SbVec3f llf)"}, - { (char *)"SbViewVolume_llf_get", _wrap_SbViewVolume_llf_get, METH_VARARGS, (char *)"SbViewVolume_llf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_lrf_set", _wrap_SbViewVolume_lrf_set, METH_VARARGS, (char *)"SbViewVolume_lrf_set(SbViewVolume self, SbVec3f lrf)"}, - { (char *)"SbViewVolume_lrf_get", _wrap_SbViewVolume_lrf_get, METH_VARARGS, (char *)"SbViewVolume_lrf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_ulf_set", _wrap_SbViewVolume_ulf_set, METH_VARARGS, (char *)"SbViewVolume_ulf_set(SbViewVolume self, SbVec3f ulf)"}, - { (char *)"SbViewVolume_ulf_get", _wrap_SbViewVolume_ulf_get, METH_VARARGS, (char *)"SbViewVolume_ulf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_projectPointToLine", _wrap_SbViewVolume_projectPointToLine, METH_VARARGS, (char *)"projectPointToLine(SbVec3f) -> (SbVec3f, SbVec3f)"}, - { (char *)"SbViewVolume_projectToScreen", _wrap_SbViewVolume_projectToScreen, METH_VARARGS, (char *)"projectToScreen(SbVec3f) -> SbVec3f"}, - { (char *)"SbViewVolume_swigregister", SbViewVolume_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3f", _wrap_new_SoSFVec3f, METH_VARARGS, (char *)"new_SoSFVec3f() -> SoSFVec3f"}, - { (char *)"delete_SoSFVec3f", _wrap_delete_SoSFVec3f, METH_VARARGS, (char *)"delete_SoSFVec3f(SoSFVec3f self)"}, - { (char *)"SoSFVec3f_createInstance", _wrap_SoSFVec3f_createInstance, METH_VARARGS, (char *)"SoSFVec3f_createInstance() -> void"}, - { (char *)"SoSFVec3f_getClassTypeId", _wrap_SoSFVec3f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3f_getTypeId", _wrap_SoSFVec3f_getTypeId, METH_VARARGS, (char *)"SoSFVec3f_getTypeId(SoSFVec3f self) -> SoType"}, - { (char *)"SoSFVec3f_copyFrom", _wrap_SoSFVec3f_copyFrom, METH_VARARGS, (char *)"SoSFVec3f_copyFrom(SoSFVec3f self, SoField field)"}, - { (char *)"SoSFVec3f_isSame", _wrap_SoSFVec3f_isSame, METH_VARARGS, (char *)"SoSFVec3f_isSame(SoSFVec3f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3f_getValue", _wrap_SoSFVec3f_getValue, METH_VARARGS, (char *)"SoSFVec3f_getValue(SoSFVec3f self) -> SbVec3f"}, - { (char *)"SoSFVec3f___eq__", _wrap_SoSFVec3f___eq__, METH_VARARGS, (char *)"SoSFVec3f___eq__(SoSFVec3f self, SoSFVec3f field) -> int"}, - { (char *)"SoSFVec3f___ne__", _wrap_SoSFVec3f___ne__, METH_VARARGS, (char *)"SoSFVec3f___ne__(SoSFVec3f self, SoSFVec3f field) -> int"}, - { (char *)"SoSFVec3f_initClass", _wrap_SoSFVec3f_initClass, METH_VARARGS, (char *)"SoSFVec3f_initClass()"}, - { (char *)"SoSFVec3f_setValue", _wrap_SoSFVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3f newvalue)\n" - "setValue(float x, float y, float z)\n" - "setValue(float xyz)\n" - "SoSFVec3f_setValue(SoSFVec3f self, SoSFVec3f other)\n" - ""}, - { (char *)"SoSFVec3f_swigregister", SoSFVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale_getClassTypeId", _wrap_SoScale_getClassTypeId, METH_VARARGS, (char *)"SoScale_getClassTypeId() -> SoType"}, - { (char *)"SoScale_getTypeId", _wrap_SoScale_getTypeId, METH_VARARGS, (char *)"SoScale_getTypeId(SoScale self) -> SoType"}, - { (char *)"SoScale_initClass", _wrap_SoScale_initClass, METH_VARARGS, (char *)"SoScale_initClass()"}, - { (char *)"new_SoScale", _wrap_new_SoScale, METH_VARARGS, (char *)"new_SoScale() -> SoScale"}, - { (char *)"SoScale_scaleFactor_set", _wrap_SoScale_scaleFactor_set, METH_VARARGS, (char *)"SoScale_scaleFactor_set(SoScale self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale_scaleFactor_get", _wrap_SoScale_scaleFactor_get, METH_VARARGS, (char *)"SoScale_scaleFactor_get(SoScale self) -> SoSFVec3f"}, - { (char *)"SoScale_doAction", _wrap_SoScale_doAction, METH_VARARGS, (char *)"SoScale_doAction(SoScale self, SoAction action)"}, - { (char *)"SoScale_callback", _wrap_SoScale_callback, METH_VARARGS, (char *)"SoScale_callback(SoScale self, SoCallbackAction action)"}, - { (char *)"SoScale_GLRender", _wrap_SoScale_GLRender, METH_VARARGS, (char *)"SoScale_GLRender(SoScale self, SoGLRenderAction action)"}, - { (char *)"SoScale_getBoundingBox", _wrap_SoScale_getBoundingBox, METH_VARARGS, (char *)"SoScale_getBoundingBox(SoScale self, SoGetBoundingBoxAction action)"}, - { (char *)"SoScale_getMatrix", _wrap_SoScale_getMatrix, METH_VARARGS, (char *)"SoScale_getMatrix(SoScale self, SoGetMatrixAction action)"}, - { (char *)"SoScale_pick", _wrap_SoScale_pick, METH_VARARGS, (char *)"SoScale_pick(SoScale self, SoPickAction action)"}, - { (char *)"SoScale_getPrimitiveCount", _wrap_SoScale_getPrimitiveCount, METH_VARARGS, (char *)"SoScale_getPrimitiveCount(SoScale self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoScale_swigregister", SoScale_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDragger_getClassTypeId", _wrap_SoDragger_getClassTypeId, METH_VARARGS, (char *)"SoDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDragger_getTypeId", _wrap_SoDragger_getTypeId, METH_VARARGS, (char *)"SoDragger_getTypeId(SoDragger self) -> SoType"}, - { (char *)"SoDragger_getClassNodekitCatalog", _wrap_SoDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDragger_getNodekitCatalog", _wrap_SoDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDragger_getNodekitCatalog(SoDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDragger_isActive_set", _wrap_SoDragger_isActive_set, METH_VARARGS, (char *)"SoDragger_isActive_set(SoDragger self, SoSFBool isActive)"}, - { (char *)"SoDragger_isActive_get", _wrap_SoDragger_isActive_get, METH_VARARGS, (char *)"SoDragger_isActive_get(SoDragger self) -> SoSFBool"}, - { (char *)"SoDragger_callback", _wrap_SoDragger_callback, METH_VARARGS, (char *)"SoDragger_callback(SoDragger self, SoCallbackAction action)"}, - { (char *)"SoDragger_GLRender", _wrap_SoDragger_GLRender, METH_VARARGS, (char *)"SoDragger_GLRender(SoDragger self, SoGLRenderAction action)"}, - { (char *)"SoDragger_getMatrix", _wrap_SoDragger_getMatrix, METH_VARARGS, (char *)"SoDragger_getMatrix(SoDragger self, SoGetMatrixAction action)"}, - { (char *)"SoDragger_rayPick", _wrap_SoDragger_rayPick, METH_VARARGS, (char *)"SoDragger_rayPick(SoDragger self, SoRayPickAction action)"}, - { (char *)"SoDragger_search", _wrap_SoDragger_search, METH_VARARGS, (char *)"SoDragger_search(SoDragger self, SoSearchAction action)"}, - { (char *)"SoDragger_write", _wrap_SoDragger_write, METH_VARARGS, (char *)"SoDragger_write(SoDragger self, SoWriteAction action)"}, - { (char *)"SoDragger_getPrimitiveCount", _wrap_SoDragger_getPrimitiveCount, METH_VARARGS, (char *)"SoDragger_getPrimitiveCount(SoDragger self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoDragger_setProjectorEpsilon", _wrap_SoDragger_setProjectorEpsilon, METH_VARARGS, (char *)"SoDragger_setProjectorEpsilon(SoDragger self, float epsilon)"}, - { (char *)"SoDragger_getProjectorEpsilon", _wrap_SoDragger_getProjectorEpsilon, METH_VARARGS, (char *)"SoDragger_getProjectorEpsilon(SoDragger self) -> float"}, - { (char *)"SoDragger_setMinGesture", _wrap_SoDragger_setMinGesture, METH_VARARGS, (char *)"SoDragger_setMinGesture(SoDragger self, int pixels)"}, - { (char *)"SoDragger_getMinGesture", _wrap_SoDragger_getMinGesture, METH_VARARGS, (char *)"SoDragger_getMinGesture(SoDragger self) -> int"}, - { (char *)"SoDragger_enableValueChangedCallbacks", _wrap_SoDragger_enableValueChangedCallbacks, METH_VARARGS, (char *)"SoDragger_enableValueChangedCallbacks(SoDragger self, SbBool newval) -> SbBool"}, - { (char *)"SoDragger_getMotionMatrix", _wrap_SoDragger_getMotionMatrix, METH_VARARGS, (char *)"SoDragger_getMotionMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_registerChildDragger", _wrap_SoDragger_registerChildDragger, METH_VARARGS, (char *)"SoDragger_registerChildDragger(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_unregisterChildDragger", _wrap_SoDragger_unregisterChildDragger, METH_VARARGS, (char *)"SoDragger_unregisterChildDragger(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_registerChildDraggerMovingIndependently", _wrap_SoDragger_registerChildDraggerMovingIndependently, METH_VARARGS, (char *)"SoDragger_registerChildDraggerMovingIndependently(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_unregisterChildDraggerMovingIndependently", _wrap_SoDragger_unregisterChildDraggerMovingIndependently, METH_VARARGS, (char *)"SoDragger_unregisterChildDraggerMovingIndependently(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_getLocalToWorldMatrix", _wrap_SoDragger_getLocalToWorldMatrix, METH_VARARGS, (char *)"SoDragger_getLocalToWorldMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_getWorldToLocalMatrix", _wrap_SoDragger_getWorldToLocalMatrix, METH_VARARGS, (char *)"SoDragger_getWorldToLocalMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_getLocalStartingPoint", _wrap_SoDragger_getLocalStartingPoint, METH_VARARGS, (char *)"SoDragger_getLocalStartingPoint(SoDragger self) -> SbVec3f"}, - { (char *)"SoDragger_getWorldStartingPoint", _wrap_SoDragger_getWorldStartingPoint, METH_VARARGS, (char *)"SoDragger_getWorldStartingPoint(SoDragger self) -> SbVec3f"}, - { (char *)"SoDragger_getPartToLocalMatrix", _wrap_SoDragger_getPartToLocalMatrix, METH_VARARGS, (char *)"\n" - "SoDragger_getPartToLocalMatrix(SoDragger self, SbName partname, SbMatrix parttolocalmatrix, \n" - " SbMatrix localtopartmatrix)\n" - ""}, - { (char *)"SoDragger_transformMatrixLocalToWorld", _wrap_SoDragger_transformMatrixLocalToWorld, METH_VARARGS, (char *)"SoDragger_transformMatrixLocalToWorld(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix)"}, - { (char *)"SoDragger_transformMatrixWorldToLocal", _wrap_SoDragger_transformMatrixWorldToLocal, METH_VARARGS, (char *)"SoDragger_transformMatrixWorldToLocal(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix)"}, - { (char *)"SoDragger_transformMatrixToLocalSpace", _wrap_SoDragger_transformMatrixToLocalSpace, METH_VARARGS, (char *)"\n" - "SoDragger_transformMatrixToLocalSpace(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix, \n" - " SbName fromspacepartname)\n" - ""}, - { (char *)"SoDragger_setMotionMatrix", _wrap_SoDragger_setMotionMatrix, METH_VARARGS, (char *)"SoDragger_setMotionMatrix(SoDragger self, SbMatrix newmatrix)"}, - { (char *)"SoDragger_valueChanged", _wrap_SoDragger_valueChanged, METH_VARARGS, (char *)"SoDragger_valueChanged(SoDragger self)"}, - { (char *)"SoDragger_getStartMotionMatrix", _wrap_SoDragger_getStartMotionMatrix, METH_VARARGS, (char *)"SoDragger_getStartMotionMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_saveStartParameters", _wrap_SoDragger_saveStartParameters, METH_VARARGS, (char *)"SoDragger_saveStartParameters(SoDragger self)"}, - { (char *)"SoDragger_getPickPath", _wrap_SoDragger_getPickPath, METH_VARARGS, (char *)"SoDragger_getPickPath(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getEvent", _wrap_SoDragger_getEvent, METH_VARARGS, (char *)"SoDragger_getEvent(SoDragger self) -> SoEvent"}, - { (char *)"SoDragger_createPathToThis", _wrap_SoDragger_createPathToThis, METH_VARARGS, (char *)"SoDragger_createPathToThis(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getSurrogatePartPickedOwner", _wrap_SoDragger_getSurrogatePartPickedOwner, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedOwner(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getSurrogatePartPickedName", _wrap_SoDragger_getSurrogatePartPickedName, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedName(SoDragger self) -> SbName"}, - { (char *)"SoDragger_getSurrogatePartPickedPath", _wrap_SoDragger_getSurrogatePartPickedPath, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedPath(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_setStartingPoint", _wrap_SoDragger_setStartingPoint, METH_VARARGS, (char *)"\n" - "setStartingPoint(SoPickedPoint newpoint)\n" - "SoDragger_setStartingPoint(SoDragger self, SbVec3f newpoint)\n" - ""}, - { (char *)"SoDragger_getViewVolume", _wrap_SoDragger_getViewVolume, METH_VARARGS, (char *)"SoDragger_getViewVolume(SoDragger self) -> SbViewVolume"}, - { (char *)"SoDragger_setViewVolume", _wrap_SoDragger_setViewVolume, METH_VARARGS, (char *)"SoDragger_setViewVolume(SoDragger self, SbViewVolume vol)"}, - { (char *)"SoDragger_getViewportRegion", _wrap_SoDragger_getViewportRegion, METH_VARARGS, (char *)"SoDragger_getViewportRegion(SoDragger self) -> SbViewportRegion"}, - { (char *)"SoDragger_setViewportRegion", _wrap_SoDragger_setViewportRegion, METH_VARARGS, (char *)"SoDragger_setViewportRegion(SoDragger self, SbViewportRegion reg)"}, - { (char *)"SoDragger_getHandleEventAction", _wrap_SoDragger_getHandleEventAction, METH_VARARGS, (char *)"SoDragger_getHandleEventAction(SoDragger self) -> SoHandleEventAction"}, - { (char *)"SoDragger_setHandleEventAction", _wrap_SoDragger_setHandleEventAction, METH_VARARGS, (char *)"SoDragger_setHandleEventAction(SoDragger self, SoHandleEventAction newAction)"}, - { (char *)"SoDragger_setTempPathToThis", _wrap_SoDragger_setTempPathToThis, METH_VARARGS, (char *)"SoDragger_setTempPathToThis(SoDragger self, SoPath somethingclose)"}, - { (char *)"SoDragger_grabEventsSetup", _wrap_SoDragger_grabEventsSetup, METH_VARARGS, (char *)"SoDragger_grabEventsSetup(SoDragger self)"}, - { (char *)"SoDragger_grabEventsCleanup", _wrap_SoDragger_grabEventsCleanup, METH_VARARGS, (char *)"SoDragger_grabEventsCleanup(SoDragger self)"}, - { (char *)"SoDragger_workFieldsIntoTransform", _wrap_SoDragger_workFieldsIntoTransform, METH_VARARGS, (char *)"SoDragger_workFieldsIntoTransform(SoDragger self, SbMatrix mtx)"}, - { (char *)"SoDragger_setFrontOnProjector", _wrap_SoDragger_setFrontOnProjector, METH_VARARGS, (char *)"SoDragger_setFrontOnProjector(SoDragger self, ProjectorFrontSetting newval)"}, - { (char *)"SoDragger_getFrontOnProjector", _wrap_SoDragger_getFrontOnProjector, METH_VARARGS, (char *)"SoDragger_getFrontOnProjector(SoDragger self) -> ProjectorFrontSetting"}, - { (char *)"SoDragger_setMinScale", _wrap_SoDragger_setMinScale, METH_VARARGS, (char *)"SoDragger_setMinScale(float newminscale)"}, - { (char *)"SoDragger_getMinScale", _wrap_SoDragger_getMinScale, METH_VARARGS, (char *)"SoDragger_getMinScale() -> float"}, - { (char *)"SoDragger_workValuesIntoTransform", _wrap_SoDragger_workValuesIntoTransform, METH_VARARGS, (char *)"\n" - "SoDragger_workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, \n" - " SbVec3f scalefactorptr, SbRotation scaleorientationptr, \n" - " SbVec3f centerptr)\n" - ""}, - { (char *)"SoDragger_getTransformFast", _wrap_SoDragger_getTransformFast, METH_VARARGS, (char *)"\n" - "getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scalefactor, SbRotation scaleorientation, \n" - " SbVec3f center)\n" - "SoDragger_getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scalefactor, SbRotation scaleorientation)\n" - ""}, - { (char *)"SoDragger_appendTranslation", _wrap_SoDragger_appendTranslation, METH_VARARGS, (char *)"\n" - "appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_appendScale", _wrap_SoDragger_appendScale, METH_VARARGS, (char *)"\n" - "appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_appendRotation", _wrap_SoDragger_appendRotation, METH_VARARGS, (char *)"\n" - "appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_initClass", _wrap_SoDragger_initClass, METH_VARARGS, (char *)"SoDragger_initClass()"}, - { (char *)"SoDragger_initClasses", _wrap_SoDragger_initClasses, METH_VARARGS, (char *)"SoDragger_initClasses()"}, - { (char *)"SoDragger_addStartCallback", _wrap_SoDragger_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoDraggerCB func, void data=None)\n" - "addStartCallback(SoDraggerCB func)\n" - "addStartCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addStartCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeStartCallback", _wrap_SoDragger_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoDraggerCB func, void data=None)\n" - "removeStartCallback(SoDraggerCB func)\n" - "removeStartCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeStartCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addMotionCallback", _wrap_SoDragger_addMotionCallback, METH_VARARGS, (char *)"\n" - "addMotionCallback(SoDraggerCB func, void data=None)\n" - "addMotionCallback(SoDraggerCB func)\n" - "addMotionCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addMotionCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeMotionCallback", _wrap_SoDragger_removeMotionCallback, METH_VARARGS, (char *)"\n" - "removeMotionCallback(SoDraggerCB func, void data=None)\n" - "removeMotionCallback(SoDraggerCB func)\n" - "removeMotionCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeMotionCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addFinishCallback", _wrap_SoDragger_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoDraggerCB func, void data=None)\n" - "addFinishCallback(SoDraggerCB func)\n" - "addFinishCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addFinishCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeFinishCallback", _wrap_SoDragger_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoDraggerCB func, void data=None)\n" - "removeFinishCallback(SoDraggerCB func)\n" - "removeFinishCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeFinishCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addValueChangedCallback", _wrap_SoDragger_addValueChangedCallback, METH_VARARGS, (char *)"\n" - "addValueChangedCallback(SoDraggerCB func, void data=None)\n" - "addValueChangedCallback(SoDraggerCB func)\n" - "addValueChangedCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addValueChangedCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeValueChangedCallback", _wrap_SoDragger_removeValueChangedCallback, METH_VARARGS, (char *)"\n" - "removeValueChangedCallback(SoDraggerCB func, void data=None)\n" - "removeValueChangedCallback(SoDraggerCB func)\n" - "removeValueChangedCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeValueChangedCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addOtherEventCallback", _wrap_SoDragger_addOtherEventCallback, METH_VARARGS, (char *)"\n" - "addOtherEventCallback(SoDraggerCB func, void data=None)\n" - "addOtherEventCallback(SoDraggerCB func)\n" - "addOtherEventCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addOtherEventCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeOtherEventCallback", _wrap_SoDragger_removeOtherEventCallback, METH_VARARGS, (char *)"\n" - "removeOtherEventCallback(SoDraggerCB func, void data=None)\n" - "removeOtherEventCallback(SoDraggerCB func)\n" - "removeOtherEventCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeOtherEventCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_swigregister", SoDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFRotation", _wrap_new_SoSFRotation, METH_VARARGS, (char *)"new_SoSFRotation() -> SoSFRotation"}, - { (char *)"delete_SoSFRotation", _wrap_delete_SoSFRotation, METH_VARARGS, (char *)"delete_SoSFRotation(SoSFRotation self)"}, - { (char *)"SoSFRotation_createInstance", _wrap_SoSFRotation_createInstance, METH_VARARGS, (char *)"SoSFRotation_createInstance() -> void"}, - { (char *)"SoSFRotation_getClassTypeId", _wrap_SoSFRotation_getClassTypeId, METH_VARARGS, (char *)"SoSFRotation_getClassTypeId() -> SoType"}, - { (char *)"SoSFRotation_getTypeId", _wrap_SoSFRotation_getTypeId, METH_VARARGS, (char *)"SoSFRotation_getTypeId(SoSFRotation self) -> SoType"}, - { (char *)"SoSFRotation_copyFrom", _wrap_SoSFRotation_copyFrom, METH_VARARGS, (char *)"SoSFRotation_copyFrom(SoSFRotation self, SoField field)"}, - { (char *)"SoSFRotation_isSame", _wrap_SoSFRotation_isSame, METH_VARARGS, (char *)"SoSFRotation_isSame(SoSFRotation self, SoField field) -> SbBool"}, - { (char *)"SoSFRotation___eq__", _wrap_SoSFRotation___eq__, METH_VARARGS, (char *)"SoSFRotation___eq__(SoSFRotation self, SoSFRotation field) -> int"}, - { (char *)"SoSFRotation___ne__", _wrap_SoSFRotation___ne__, METH_VARARGS, (char *)"SoSFRotation___ne__(SoSFRotation self, SoSFRotation field) -> int"}, - { (char *)"SoSFRotation_initClass", _wrap_SoSFRotation_initClass, METH_VARARGS, (char *)"SoSFRotation_initClass()"}, - { (char *)"SoSFRotation_getValue", _wrap_SoSFRotation_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbRotation\n" - "SoSFRotation_getValue(SoSFRotation self, SbVec3f axis, float angle)\n" - ""}, - { (char *)"SoSFRotation_setValue", _wrap_SoSFRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbRotation newvalue)\n" - "setValue(float q0, float q1, float q2, float q3)\n" - "setValue(float q)\n" - "setValue(SbVec3f axis, float angle)\n" - "SoSFRotation_setValue(SoSFRotation self, SoSFRotation other)\n" - ""}, - { (char *)"SoSFRotation_swigregister", SoSFRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCenterballDragger_getClassTypeId", _wrap_SoCenterballDragger_getClassTypeId, METH_VARARGS, (char *)"SoCenterballDragger_getClassTypeId() -> SoType"}, - { (char *)"SoCenterballDragger_getTypeId", _wrap_SoCenterballDragger_getTypeId, METH_VARARGS, (char *)"SoCenterballDragger_getTypeId(SoCenterballDragger self) -> SoType"}, - { (char *)"SoCenterballDragger_getClassNodekitCatalog", _wrap_SoCenterballDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoCenterballDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoCenterballDragger_getNodekitCatalog", _wrap_SoCenterballDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoCenterballDragger_getNodekitCatalog(SoCenterballDragger self) -> SoNodekitCatalog"}, - { (char *)"SoCenterballDragger_initClass", _wrap_SoCenterballDragger_initClass, METH_VARARGS, (char *)"SoCenterballDragger_initClass()"}, - { (char *)"new_SoCenterballDragger", _wrap_new_SoCenterballDragger, METH_VARARGS, (char *)"new_SoCenterballDragger() -> SoCenterballDragger"}, - { (char *)"SoCenterballDragger_saveStartParameters", _wrap_SoCenterballDragger_saveStartParameters, METH_VARARGS, (char *)"SoCenterballDragger_saveStartParameters(SoCenterballDragger self)"}, - { (char *)"SoCenterballDragger_rotation_set", _wrap_SoCenterballDragger_rotation_set, METH_VARARGS, (char *)"SoCenterballDragger_rotation_set(SoCenterballDragger self, SoSFRotation rotation)"}, - { (char *)"SoCenterballDragger_rotation_get", _wrap_SoCenterballDragger_rotation_get, METH_VARARGS, (char *)"SoCenterballDragger_rotation_get(SoCenterballDragger self) -> SoSFRotation"}, - { (char *)"SoCenterballDragger_center_set", _wrap_SoCenterballDragger_center_set, METH_VARARGS, (char *)"SoCenterballDragger_center_set(SoCenterballDragger self, SoSFVec3f center)"}, - { (char *)"SoCenterballDragger_center_get", _wrap_SoCenterballDragger_center_get, METH_VARARGS, (char *)"SoCenterballDragger_center_get(SoCenterballDragger self) -> SoSFVec3f"}, - { (char *)"SoCenterballDragger_swigregister", SoCenterballDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLightDragger_getClassTypeId", _wrap_SoDirectionalLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLightDragger_getTypeId", _wrap_SoDirectionalLightDragger_getTypeId, METH_VARARGS, (char *)"SoDirectionalLightDragger_getTypeId(SoDirectionalLightDragger self) -> SoType"}, - { (char *)"SoDirectionalLightDragger_getClassNodekitCatalog", _wrap_SoDirectionalLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDirectionalLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDirectionalLightDragger_getNodekitCatalog", _wrap_SoDirectionalLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDirectionalLightDragger_getNodekitCatalog(SoDirectionalLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDirectionalLightDragger_initClass", _wrap_SoDirectionalLightDragger_initClass, METH_VARARGS, (char *)"SoDirectionalLightDragger_initClass()"}, - { (char *)"new_SoDirectionalLightDragger", _wrap_new_SoDirectionalLightDragger, METH_VARARGS, (char *)"new_SoDirectionalLightDragger() -> SoDirectionalLightDragger"}, - { (char *)"SoDirectionalLightDragger_rotation_set", _wrap_SoDirectionalLightDragger_rotation_set, METH_VARARGS, (char *)"SoDirectionalLightDragger_rotation_set(SoDirectionalLightDragger self, SoSFRotation rotation)"}, - { (char *)"SoDirectionalLightDragger_rotation_get", _wrap_SoDirectionalLightDragger_rotation_get, METH_VARARGS, (char *)"SoDirectionalLightDragger_rotation_get(SoDirectionalLightDragger self) -> SoSFRotation"}, - { (char *)"SoDirectionalLightDragger_translation_set", _wrap_SoDirectionalLightDragger_translation_set, METH_VARARGS, (char *)"SoDirectionalLightDragger_translation_set(SoDirectionalLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoDirectionalLightDragger_translation_get", _wrap_SoDirectionalLightDragger_translation_get, METH_VARARGS, (char *)"SoDirectionalLightDragger_translation_get(SoDirectionalLightDragger self) -> SoSFVec3f"}, - { (char *)"SoDirectionalLightDragger_swigregister", SoDirectionalLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDragPointDragger_getClassTypeId", _wrap_SoDragPointDragger_getClassTypeId, METH_VARARGS, (char *)"SoDragPointDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDragPointDragger_getTypeId", _wrap_SoDragPointDragger_getTypeId, METH_VARARGS, (char *)"SoDragPointDragger_getTypeId(SoDragPointDragger self) -> SoType"}, - { (char *)"SoDragPointDragger_getClassNodekitCatalog", _wrap_SoDragPointDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDragPointDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDragPointDragger_getNodekitCatalog", _wrap_SoDragPointDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDragPointDragger_getNodekitCatalog(SoDragPointDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDragPointDragger_initClass", _wrap_SoDragPointDragger_initClass, METH_VARARGS, (char *)"SoDragPointDragger_initClass()"}, - { (char *)"new_SoDragPointDragger", _wrap_new_SoDragPointDragger, METH_VARARGS, (char *)"new_SoDragPointDragger() -> SoDragPointDragger"}, - { (char *)"SoDragPointDragger_translation_set", _wrap_SoDragPointDragger_translation_set, METH_VARARGS, (char *)"SoDragPointDragger_translation_set(SoDragPointDragger self, SoSFVec3f translation)"}, - { (char *)"SoDragPointDragger_translation_get", _wrap_SoDragPointDragger_translation_get, METH_VARARGS, (char *)"SoDragPointDragger_translation_get(SoDragPointDragger self) -> SoSFVec3f"}, - { (char *)"SoDragPointDragger_setJumpLimit", _wrap_SoDragPointDragger_setJumpLimit, METH_VARARGS, (char *)"SoDragPointDragger_setJumpLimit(SoDragPointDragger self, float limit)"}, - { (char *)"SoDragPointDragger_getJumpLimit", _wrap_SoDragPointDragger_getJumpLimit, METH_VARARGS, (char *)"SoDragPointDragger_getJumpLimit(SoDragPointDragger self) -> float"}, - { (char *)"SoDragPointDragger_showNextDraggerSet", _wrap_SoDragPointDragger_showNextDraggerSet, METH_VARARGS, (char *)"SoDragPointDragger_showNextDraggerSet(SoDragPointDragger self)"}, - { (char *)"SoDragPointDragger_swigregister", SoDragPointDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleBoxDragger_getClassTypeId", _wrap_SoHandleBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoHandleBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoHandleBoxDragger_getTypeId", _wrap_SoHandleBoxDragger_getTypeId, METH_VARARGS, (char *)"SoHandleBoxDragger_getTypeId(SoHandleBoxDragger self) -> SoType"}, - { (char *)"SoHandleBoxDragger_getClassNodekitCatalog", _wrap_SoHandleBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoHandleBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoHandleBoxDragger_getNodekitCatalog", _wrap_SoHandleBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoHandleBoxDragger_getNodekitCatalog(SoHandleBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoHandleBoxDragger_initClass", _wrap_SoHandleBoxDragger_initClass, METH_VARARGS, (char *)"SoHandleBoxDragger_initClass()"}, - { (char *)"new_SoHandleBoxDragger", _wrap_new_SoHandleBoxDragger, METH_VARARGS, (char *)"new_SoHandleBoxDragger() -> SoHandleBoxDragger"}, - { (char *)"SoHandleBoxDragger_scaleFactor_set", _wrap_SoHandleBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoHandleBoxDragger_scaleFactor_set(SoHandleBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoHandleBoxDragger_scaleFactor_get", _wrap_SoHandleBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoHandleBoxDragger_scaleFactor_get(SoHandleBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoHandleBoxDragger_translation_set", _wrap_SoHandleBoxDragger_translation_set, METH_VARARGS, (char *)"SoHandleBoxDragger_translation_set(SoHandleBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoHandleBoxDragger_translation_get", _wrap_SoHandleBoxDragger_translation_get, METH_VARARGS, (char *)"SoHandleBoxDragger_translation_get(SoHandleBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoHandleBoxDragger_swigregister", SoHandleBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoJackDragger_getClassTypeId", _wrap_SoJackDragger_getClassTypeId, METH_VARARGS, (char *)"SoJackDragger_getClassTypeId() -> SoType"}, - { (char *)"SoJackDragger_getTypeId", _wrap_SoJackDragger_getTypeId, METH_VARARGS, (char *)"SoJackDragger_getTypeId(SoJackDragger self) -> SoType"}, - { (char *)"SoJackDragger_getClassNodekitCatalog", _wrap_SoJackDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoJackDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoJackDragger_getNodekitCatalog", _wrap_SoJackDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoJackDragger_getNodekitCatalog(SoJackDragger self) -> SoNodekitCatalog"}, - { (char *)"SoJackDragger_initClass", _wrap_SoJackDragger_initClass, METH_VARARGS, (char *)"SoJackDragger_initClass()"}, - { (char *)"new_SoJackDragger", _wrap_new_SoJackDragger, METH_VARARGS, (char *)"new_SoJackDragger() -> SoJackDragger"}, - { (char *)"SoJackDragger_rotation_set", _wrap_SoJackDragger_rotation_set, METH_VARARGS, (char *)"SoJackDragger_rotation_set(SoJackDragger self, SoSFRotation rotation)"}, - { (char *)"SoJackDragger_rotation_get", _wrap_SoJackDragger_rotation_get, METH_VARARGS, (char *)"SoJackDragger_rotation_get(SoJackDragger self) -> SoSFRotation"}, - { (char *)"SoJackDragger_translation_set", _wrap_SoJackDragger_translation_set, METH_VARARGS, (char *)"SoJackDragger_translation_set(SoJackDragger self, SoSFVec3f translation)"}, - { (char *)"SoJackDragger_translation_get", _wrap_SoJackDragger_translation_get, METH_VARARGS, (char *)"SoJackDragger_translation_get(SoJackDragger self) -> SoSFVec3f"}, - { (char *)"SoJackDragger_scaleFactor_set", _wrap_SoJackDragger_scaleFactor_set, METH_VARARGS, (char *)"SoJackDragger_scaleFactor_set(SoJackDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoJackDragger_scaleFactor_get", _wrap_SoJackDragger_scaleFactor_get, METH_VARARGS, (char *)"SoJackDragger_scaleFactor_get(SoJackDragger self) -> SoSFVec3f"}, - { (char *)"SoJackDragger_swigregister", SoJackDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLightDragger_getClassTypeId", _wrap_SoPointLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoPointLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoPointLightDragger_getTypeId", _wrap_SoPointLightDragger_getTypeId, METH_VARARGS, (char *)"SoPointLightDragger_getTypeId(SoPointLightDragger self) -> SoType"}, - { (char *)"SoPointLightDragger_getClassNodekitCatalog", _wrap_SoPointLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoPointLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoPointLightDragger_getNodekitCatalog", _wrap_SoPointLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoPointLightDragger_getNodekitCatalog(SoPointLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoPointLightDragger_initClass", _wrap_SoPointLightDragger_initClass, METH_VARARGS, (char *)"SoPointLightDragger_initClass()"}, - { (char *)"new_SoPointLightDragger", _wrap_new_SoPointLightDragger, METH_VARARGS, (char *)"new_SoPointLightDragger() -> SoPointLightDragger"}, - { (char *)"SoPointLightDragger_translation_set", _wrap_SoPointLightDragger_translation_set, METH_VARARGS, (char *)"SoPointLightDragger_translation_set(SoPointLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoPointLightDragger_translation_get", _wrap_SoPointLightDragger_translation_get, METH_VARARGS, (char *)"SoPointLightDragger_translation_get(SoPointLightDragger self) -> SoSFVec3f"}, - { (char *)"SoPointLightDragger_swigregister", SoPointLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateCylindricalDragger_getClassTypeId", _wrap_SoRotateCylindricalDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateCylindricalDragger_getTypeId", _wrap_SoRotateCylindricalDragger_getTypeId, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getTypeId(SoRotateCylindricalDragger self) -> SoType"}, - { (char *)"SoRotateCylindricalDragger_getClassNodekitCatalog", _wrap_SoRotateCylindricalDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateCylindricalDragger_getNodekitCatalog", _wrap_SoRotateCylindricalDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getNodekitCatalog(SoRotateCylindricalDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateCylindricalDragger_initClass", _wrap_SoRotateCylindricalDragger_initClass, METH_VARARGS, (char *)"SoRotateCylindricalDragger_initClass()"}, - { (char *)"new_SoRotateCylindricalDragger", _wrap_new_SoRotateCylindricalDragger, METH_VARARGS, (char *)"new_SoRotateCylindricalDragger() -> SoRotateCylindricalDragger"}, - { (char *)"SoRotateCylindricalDragger_rotation_set", _wrap_SoRotateCylindricalDragger_rotation_set, METH_VARARGS, (char *)"SoRotateCylindricalDragger_rotation_set(SoRotateCylindricalDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateCylindricalDragger_rotation_get", _wrap_SoRotateCylindricalDragger_rotation_get, METH_VARARGS, (char *)"SoRotateCylindricalDragger_rotation_get(SoRotateCylindricalDragger self) -> SoSFRotation"}, - { (char *)"SoRotateCylindricalDragger_setProjector", _wrap_SoRotateCylindricalDragger_setProjector, METH_VARARGS, (char *)"SoRotateCylindricalDragger_setProjector(SoRotateCylindricalDragger self, SbCylinderProjector p)"}, - { (char *)"SoRotateCylindricalDragger_getProjector", _wrap_SoRotateCylindricalDragger_getProjector, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getProjector(SoRotateCylindricalDragger self) -> SbCylinderProjector"}, - { (char *)"SoRotateCylindricalDragger_swigregister", SoRotateCylindricalDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateDiscDragger_getClassTypeId", _wrap_SoRotateDiscDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateDiscDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateDiscDragger_getTypeId", _wrap_SoRotateDiscDragger_getTypeId, METH_VARARGS, (char *)"SoRotateDiscDragger_getTypeId(SoRotateDiscDragger self) -> SoType"}, - { (char *)"SoRotateDiscDragger_getClassNodekitCatalog", _wrap_SoRotateDiscDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateDiscDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateDiscDragger_getNodekitCatalog", _wrap_SoRotateDiscDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateDiscDragger_getNodekitCatalog(SoRotateDiscDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateDiscDragger_initClass", _wrap_SoRotateDiscDragger_initClass, METH_VARARGS, (char *)"SoRotateDiscDragger_initClass()"}, - { (char *)"new_SoRotateDiscDragger", _wrap_new_SoRotateDiscDragger, METH_VARARGS, (char *)"new_SoRotateDiscDragger() -> SoRotateDiscDragger"}, - { (char *)"SoRotateDiscDragger_rotation_set", _wrap_SoRotateDiscDragger_rotation_set, METH_VARARGS, (char *)"SoRotateDiscDragger_rotation_set(SoRotateDiscDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateDiscDragger_rotation_get", _wrap_SoRotateDiscDragger_rotation_get, METH_VARARGS, (char *)"SoRotateDiscDragger_rotation_get(SoRotateDiscDragger self) -> SoSFRotation"}, - { (char *)"SoRotateDiscDragger_swigregister", SoRotateDiscDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateSphericalDragger_getClassTypeId", _wrap_SoRotateSphericalDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateSphericalDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateSphericalDragger_getTypeId", _wrap_SoRotateSphericalDragger_getTypeId, METH_VARARGS, (char *)"SoRotateSphericalDragger_getTypeId(SoRotateSphericalDragger self) -> SoType"}, - { (char *)"SoRotateSphericalDragger_getClassNodekitCatalog", _wrap_SoRotateSphericalDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateSphericalDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateSphericalDragger_getNodekitCatalog", _wrap_SoRotateSphericalDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateSphericalDragger_getNodekitCatalog(SoRotateSphericalDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateSphericalDragger_initClass", _wrap_SoRotateSphericalDragger_initClass, METH_VARARGS, (char *)"SoRotateSphericalDragger_initClass()"}, - { (char *)"new_SoRotateSphericalDragger", _wrap_new_SoRotateSphericalDragger, METH_VARARGS, (char *)"new_SoRotateSphericalDragger() -> SoRotateSphericalDragger"}, - { (char *)"SoRotateSphericalDragger_rotation_set", _wrap_SoRotateSphericalDragger_rotation_set, METH_VARARGS, (char *)"SoRotateSphericalDragger_rotation_set(SoRotateSphericalDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateSphericalDragger_rotation_get", _wrap_SoRotateSphericalDragger_rotation_get, METH_VARARGS, (char *)"SoRotateSphericalDragger_rotation_get(SoRotateSphericalDragger self) -> SoSFRotation"}, - { (char *)"SoRotateSphericalDragger_setProjector", _wrap_SoRotateSphericalDragger_setProjector, METH_VARARGS, (char *)"SoRotateSphericalDragger_setProjector(SoRotateSphericalDragger self, SbSphereProjector p)"}, - { (char *)"SoRotateSphericalDragger_getProjector", _wrap_SoRotateSphericalDragger_getProjector, METH_VARARGS, (char *)"SoRotateSphericalDragger_getProjector(SoRotateSphericalDragger self) -> SbSphereProjector"}, - { (char *)"SoRotateSphericalDragger_swigregister", SoRotateSphericalDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale1Dragger_getClassTypeId", _wrap_SoScale1Dragger_getClassTypeId, METH_VARARGS, (char *)"SoScale1Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale1Dragger_getTypeId", _wrap_SoScale1Dragger_getTypeId, METH_VARARGS, (char *)"SoScale1Dragger_getTypeId(SoScale1Dragger self) -> SoType"}, - { (char *)"SoScale1Dragger_getClassNodekitCatalog", _wrap_SoScale1Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale1Dragger_getNodekitCatalog", _wrap_SoScale1Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale1Dragger_getNodekitCatalog(SoScale1Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale1Dragger_initClass", _wrap_SoScale1Dragger_initClass, METH_VARARGS, (char *)"SoScale1Dragger_initClass()"}, - { (char *)"new_SoScale1Dragger", _wrap_new_SoScale1Dragger, METH_VARARGS, (char *)"new_SoScale1Dragger() -> SoScale1Dragger"}, - { (char *)"SoScale1Dragger_scaleFactor_set", _wrap_SoScale1Dragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale1Dragger_scaleFactor_set(SoScale1Dragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale1Dragger_scaleFactor_get", _wrap_SoScale1Dragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale1Dragger_scaleFactor_get(SoScale1Dragger self) -> SoSFVec3f"}, - { (char *)"SoScale1Dragger_swigregister", SoScale1Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale2Dragger_getClassTypeId", _wrap_SoScale2Dragger_getClassTypeId, METH_VARARGS, (char *)"SoScale2Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale2Dragger_getTypeId", _wrap_SoScale2Dragger_getTypeId, METH_VARARGS, (char *)"SoScale2Dragger_getTypeId(SoScale2Dragger self) -> SoType"}, - { (char *)"SoScale2Dragger_getClassNodekitCatalog", _wrap_SoScale2Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale2Dragger_getNodekitCatalog", _wrap_SoScale2Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale2Dragger_getNodekitCatalog(SoScale2Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale2Dragger_initClass", _wrap_SoScale2Dragger_initClass, METH_VARARGS, (char *)"SoScale2Dragger_initClass()"}, - { (char *)"new_SoScale2Dragger", _wrap_new_SoScale2Dragger, METH_VARARGS, (char *)"new_SoScale2Dragger() -> SoScale2Dragger"}, - { (char *)"SoScale2Dragger_scaleFactor_set", _wrap_SoScale2Dragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale2Dragger_scaleFactor_set(SoScale2Dragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale2Dragger_scaleFactor_get", _wrap_SoScale2Dragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale2Dragger_scaleFactor_get(SoScale2Dragger self) -> SoSFVec3f"}, - { (char *)"SoScale2Dragger_swigregister", SoScale2Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale2UniformDragger_getClassTypeId", _wrap_SoScale2UniformDragger_getClassTypeId, METH_VARARGS, (char *)"SoScale2UniformDragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale2UniformDragger_getTypeId", _wrap_SoScale2UniformDragger_getTypeId, METH_VARARGS, (char *)"SoScale2UniformDragger_getTypeId(SoScale2UniformDragger self) -> SoType"}, - { (char *)"SoScale2UniformDragger_getClassNodekitCatalog", _wrap_SoScale2UniformDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale2UniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale2UniformDragger_getNodekitCatalog", _wrap_SoScale2UniformDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale2UniformDragger_getNodekitCatalog(SoScale2UniformDragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale2UniformDragger_initClass", _wrap_SoScale2UniformDragger_initClass, METH_VARARGS, (char *)"SoScale2UniformDragger_initClass()"}, - { (char *)"new_SoScale2UniformDragger", _wrap_new_SoScale2UniformDragger, METH_VARARGS, (char *)"new_SoScale2UniformDragger() -> SoScale2UniformDragger"}, - { (char *)"SoScale2UniformDragger_scaleFactor_set", _wrap_SoScale2UniformDragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale2UniformDragger_scaleFactor_set(SoScale2UniformDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale2UniformDragger_scaleFactor_get", _wrap_SoScale2UniformDragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale2UniformDragger_scaleFactor_get(SoScale2UniformDragger self) -> SoSFVec3f"}, - { (char *)"SoScale2UniformDragger_swigregister", SoScale2UniformDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScaleUniformDragger_getClassTypeId", _wrap_SoScaleUniformDragger_getClassTypeId, METH_VARARGS, (char *)"SoScaleUniformDragger_getClassTypeId() -> SoType"}, - { (char *)"SoScaleUniformDragger_getTypeId", _wrap_SoScaleUniformDragger_getTypeId, METH_VARARGS, (char *)"SoScaleUniformDragger_getTypeId(SoScaleUniformDragger self) -> SoType"}, - { (char *)"SoScaleUniformDragger_getClassNodekitCatalog", _wrap_SoScaleUniformDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScaleUniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScaleUniformDragger_getNodekitCatalog", _wrap_SoScaleUniformDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScaleUniformDragger_getNodekitCatalog(SoScaleUniformDragger self) -> SoNodekitCatalog"}, - { (char *)"SoScaleUniformDragger_initClass", _wrap_SoScaleUniformDragger_initClass, METH_VARARGS, (char *)"SoScaleUniformDragger_initClass()"}, - { (char *)"new_SoScaleUniformDragger", _wrap_new_SoScaleUniformDragger, METH_VARARGS, (char *)"new_SoScaleUniformDragger() -> SoScaleUniformDragger"}, - { (char *)"SoScaleUniformDragger_scaleFactor_set", _wrap_SoScaleUniformDragger_scaleFactor_set, METH_VARARGS, (char *)"SoScaleUniformDragger_scaleFactor_set(SoScaleUniformDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScaleUniformDragger_scaleFactor_get", _wrap_SoScaleUniformDragger_scaleFactor_get, METH_VARARGS, (char *)"SoScaleUniformDragger_scaleFactor_get(SoScaleUniformDragger self) -> SoSFVec3f"}, - { (char *)"SoScaleUniformDragger_swigregister", SoScaleUniformDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLightDragger_getClassTypeId", _wrap_SoSpotLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoSpotLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLightDragger_getTypeId", _wrap_SoSpotLightDragger_getTypeId, METH_VARARGS, (char *)"SoSpotLightDragger_getTypeId(SoSpotLightDragger self) -> SoType"}, - { (char *)"SoSpotLightDragger_getClassNodekitCatalog", _wrap_SoSpotLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSpotLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSpotLightDragger_getNodekitCatalog", _wrap_SoSpotLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoSpotLightDragger_getNodekitCatalog(SoSpotLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoSpotLightDragger_initClass", _wrap_SoSpotLightDragger_initClass, METH_VARARGS, (char *)"SoSpotLightDragger_initClass()"}, - { (char *)"new_SoSpotLightDragger", _wrap_new_SoSpotLightDragger, METH_VARARGS, (char *)"new_SoSpotLightDragger() -> SoSpotLightDragger"}, - { (char *)"SoSpotLightDragger_rotation_set", _wrap_SoSpotLightDragger_rotation_set, METH_VARARGS, (char *)"SoSpotLightDragger_rotation_set(SoSpotLightDragger self, SoSFRotation rotation)"}, - { (char *)"SoSpotLightDragger_rotation_get", _wrap_SoSpotLightDragger_rotation_get, METH_VARARGS, (char *)"SoSpotLightDragger_rotation_get(SoSpotLightDragger self) -> SoSFRotation"}, - { (char *)"SoSpotLightDragger_translation_set", _wrap_SoSpotLightDragger_translation_set, METH_VARARGS, (char *)"SoSpotLightDragger_translation_set(SoSpotLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoSpotLightDragger_translation_get", _wrap_SoSpotLightDragger_translation_get, METH_VARARGS, (char *)"SoSpotLightDragger_translation_get(SoSpotLightDragger self) -> SoSFVec3f"}, - { (char *)"SoSpotLightDragger_angle_set", _wrap_SoSpotLightDragger_angle_set, METH_VARARGS, (char *)"SoSpotLightDragger_angle_set(SoSpotLightDragger self, SoSFFloat angle)"}, - { (char *)"SoSpotLightDragger_angle_get", _wrap_SoSpotLightDragger_angle_get, METH_VARARGS, (char *)"SoSpotLightDragger_angle_get(SoSpotLightDragger self) -> SoSFFloat"}, - { (char *)"SoSpotLightDragger_swigregister", SoSpotLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabBoxDragger_getClassTypeId", _wrap_SoTabBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoTabBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTabBoxDragger_getTypeId", _wrap_SoTabBoxDragger_getTypeId, METH_VARARGS, (char *)"SoTabBoxDragger_getTypeId(SoTabBoxDragger self) -> SoType"}, - { (char *)"SoTabBoxDragger_getClassNodekitCatalog", _wrap_SoTabBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTabBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTabBoxDragger_getNodekitCatalog", _wrap_SoTabBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTabBoxDragger_getNodekitCatalog(SoTabBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTabBoxDragger_initClass", _wrap_SoTabBoxDragger_initClass, METH_VARARGS, (char *)"SoTabBoxDragger_initClass()"}, - { (char *)"new_SoTabBoxDragger", _wrap_new_SoTabBoxDragger, METH_VARARGS, (char *)"new_SoTabBoxDragger() -> SoTabBoxDragger"}, - { (char *)"SoTabBoxDragger_translation_set", _wrap_SoTabBoxDragger_translation_set, METH_VARARGS, (char *)"SoTabBoxDragger_translation_set(SoTabBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoTabBoxDragger_translation_get", _wrap_SoTabBoxDragger_translation_get, METH_VARARGS, (char *)"SoTabBoxDragger_translation_get(SoTabBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTabBoxDragger_scaleFactor_set", _wrap_SoTabBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTabBoxDragger_scaleFactor_set(SoTabBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTabBoxDragger_scaleFactor_get", _wrap_SoTabBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTabBoxDragger_scaleFactor_get(SoTabBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTabBoxDragger_adjustScaleTabSize", _wrap_SoTabBoxDragger_adjustScaleTabSize, METH_VARARGS, (char *)"SoTabBoxDragger_adjustScaleTabSize(SoTabBoxDragger self)"}, - { (char *)"SoTabBoxDragger_swigregister", SoTabBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabPlaneDragger_getClassTypeId", _wrap_SoTabPlaneDragger_getClassTypeId, METH_VARARGS, (char *)"SoTabPlaneDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTabPlaneDragger_getTypeId", _wrap_SoTabPlaneDragger_getTypeId, METH_VARARGS, (char *)"SoTabPlaneDragger_getTypeId(SoTabPlaneDragger self) -> SoType"}, - { (char *)"SoTabPlaneDragger_getClassNodekitCatalog", _wrap_SoTabPlaneDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTabPlaneDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTabPlaneDragger_getNodekitCatalog", _wrap_SoTabPlaneDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTabPlaneDragger_getNodekitCatalog(SoTabPlaneDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTabPlaneDragger_initClass", _wrap_SoTabPlaneDragger_initClass, METH_VARARGS, (char *)"SoTabPlaneDragger_initClass()"}, - { (char *)"new_SoTabPlaneDragger", _wrap_new_SoTabPlaneDragger, METH_VARARGS, (char *)"new_SoTabPlaneDragger() -> SoTabPlaneDragger"}, - { (char *)"SoTabPlaneDragger_translation_set", _wrap_SoTabPlaneDragger_translation_set, METH_VARARGS, (char *)"SoTabPlaneDragger_translation_set(SoTabPlaneDragger self, SoSFVec3f translation)"}, - { (char *)"SoTabPlaneDragger_translation_get", _wrap_SoTabPlaneDragger_translation_get, METH_VARARGS, (char *)"SoTabPlaneDragger_translation_get(SoTabPlaneDragger self) -> SoSFVec3f"}, - { (char *)"SoTabPlaneDragger_scaleFactor_set", _wrap_SoTabPlaneDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTabPlaneDragger_scaleFactor_set(SoTabPlaneDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTabPlaneDragger_scaleFactor_get", _wrap_SoTabPlaneDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTabPlaneDragger_scaleFactor_get(SoTabPlaneDragger self) -> SoSFVec3f"}, - { (char *)"SoTabPlaneDragger_adjustScaleTabSize", _wrap_SoTabPlaneDragger_adjustScaleTabSize, METH_VARARGS, (char *)"SoTabPlaneDragger_adjustScaleTabSize(SoTabPlaneDragger self)"}, - { (char *)"SoTabPlaneDragger_swigregister", SoTabPlaneDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTrackballDragger_getClassTypeId", _wrap_SoTrackballDragger_getClassTypeId, METH_VARARGS, (char *)"SoTrackballDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTrackballDragger_getTypeId", _wrap_SoTrackballDragger_getTypeId, METH_VARARGS, (char *)"SoTrackballDragger_getTypeId(SoTrackballDragger self) -> SoType"}, - { (char *)"SoTrackballDragger_getClassNodekitCatalog", _wrap_SoTrackballDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTrackballDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTrackballDragger_getNodekitCatalog", _wrap_SoTrackballDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTrackballDragger_getNodekitCatalog(SoTrackballDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTrackballDragger_initClass", _wrap_SoTrackballDragger_initClass, METH_VARARGS, (char *)"SoTrackballDragger_initClass()"}, - { (char *)"new_SoTrackballDragger", _wrap_new_SoTrackballDragger, METH_VARARGS, (char *)"new_SoTrackballDragger() -> SoTrackballDragger"}, - { (char *)"SoTrackballDragger_rotation_set", _wrap_SoTrackballDragger_rotation_set, METH_VARARGS, (char *)"SoTrackballDragger_rotation_set(SoTrackballDragger self, SoSFRotation rotation)"}, - { (char *)"SoTrackballDragger_rotation_get", _wrap_SoTrackballDragger_rotation_get, METH_VARARGS, (char *)"SoTrackballDragger_rotation_get(SoTrackballDragger self) -> SoSFRotation"}, - { (char *)"SoTrackballDragger_scaleFactor_set", _wrap_SoTrackballDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTrackballDragger_scaleFactor_set(SoTrackballDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTrackballDragger_scaleFactor_get", _wrap_SoTrackballDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTrackballDragger_scaleFactor_get(SoTrackballDragger self) -> SoSFVec3f"}, - { (char *)"SoTrackballDragger_isAnimationEnabled", _wrap_SoTrackballDragger_isAnimationEnabled, METH_VARARGS, (char *)"SoTrackballDragger_isAnimationEnabled(SoTrackballDragger self) -> SbBool"}, - { (char *)"SoTrackballDragger_setAnimationEnabled", _wrap_SoTrackballDragger_setAnimationEnabled, METH_VARARGS, (char *)"SoTrackballDragger_setAnimationEnabled(SoTrackballDragger self, SbBool newval)"}, - { (char *)"SoTrackballDragger_swigregister", SoTrackballDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformBoxDragger_getClassTypeId", _wrap_SoTransformBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoTransformBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTransformBoxDragger_getTypeId", _wrap_SoTransformBoxDragger_getTypeId, METH_VARARGS, (char *)"SoTransformBoxDragger_getTypeId(SoTransformBoxDragger self) -> SoType"}, - { (char *)"SoTransformBoxDragger_getClassNodekitCatalog", _wrap_SoTransformBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTransformBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTransformBoxDragger_getNodekitCatalog", _wrap_SoTransformBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTransformBoxDragger_getNodekitCatalog(SoTransformBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTransformBoxDragger_initClass", _wrap_SoTransformBoxDragger_initClass, METH_VARARGS, (char *)"SoTransformBoxDragger_initClass()"}, - { (char *)"new_SoTransformBoxDragger", _wrap_new_SoTransformBoxDragger, METH_VARARGS, (char *)"new_SoTransformBoxDragger() -> SoTransformBoxDragger"}, - { (char *)"SoTransformBoxDragger_rotation_set", _wrap_SoTransformBoxDragger_rotation_set, METH_VARARGS, (char *)"SoTransformBoxDragger_rotation_set(SoTransformBoxDragger self, SoSFRotation rotation)"}, - { (char *)"SoTransformBoxDragger_rotation_get", _wrap_SoTransformBoxDragger_rotation_get, METH_VARARGS, (char *)"SoTransformBoxDragger_rotation_get(SoTransformBoxDragger self) -> SoSFRotation"}, - { (char *)"SoTransformBoxDragger_translation_set", _wrap_SoTransformBoxDragger_translation_set, METH_VARARGS, (char *)"SoTransformBoxDragger_translation_set(SoTransformBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoTransformBoxDragger_translation_get", _wrap_SoTransformBoxDragger_translation_get, METH_VARARGS, (char *)"SoTransformBoxDragger_translation_get(SoTransformBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformBoxDragger_scaleFactor_set", _wrap_SoTransformBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTransformBoxDragger_scaleFactor_set(SoTransformBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransformBoxDragger_scaleFactor_get", _wrap_SoTransformBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTransformBoxDragger_scaleFactor_get(SoTransformBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformBoxDragger_swigregister", SoTransformBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformerDragger_getClassTypeId", _wrap_SoTransformerDragger_getClassTypeId, METH_VARARGS, (char *)"SoTransformerDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTransformerDragger_getTypeId", _wrap_SoTransformerDragger_getTypeId, METH_VARARGS, (char *)"SoTransformerDragger_getTypeId(SoTransformerDragger self) -> SoType"}, - { (char *)"SoTransformerDragger_getClassNodekitCatalog", _wrap_SoTransformerDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTransformerDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTransformerDragger_getNodekitCatalog", _wrap_SoTransformerDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTransformerDragger_getNodekitCatalog(SoTransformerDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTransformerDragger_initClass", _wrap_SoTransformerDragger_initClass, METH_VARARGS, (char *)"SoTransformerDragger_initClass()"}, - { (char *)"new_SoTransformerDragger", _wrap_new_SoTransformerDragger, METH_VARARGS, (char *)"new_SoTransformerDragger() -> SoTransformerDragger"}, - { (char *)"SoTransformerDragger_rotation_set", _wrap_SoTransformerDragger_rotation_set, METH_VARARGS, (char *)"SoTransformerDragger_rotation_set(SoTransformerDragger self, SoSFRotation rotation)"}, - { (char *)"SoTransformerDragger_rotation_get", _wrap_SoTransformerDragger_rotation_get, METH_VARARGS, (char *)"SoTransformerDragger_rotation_get(SoTransformerDragger self) -> SoSFRotation"}, - { (char *)"SoTransformerDragger_translation_set", _wrap_SoTransformerDragger_translation_set, METH_VARARGS, (char *)"SoTransformerDragger_translation_set(SoTransformerDragger self, SoSFVec3f translation)"}, - { (char *)"SoTransformerDragger_translation_get", _wrap_SoTransformerDragger_translation_get, METH_VARARGS, (char *)"SoTransformerDragger_translation_get(SoTransformerDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformerDragger_scaleFactor_set", _wrap_SoTransformerDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTransformerDragger_scaleFactor_set(SoTransformerDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransformerDragger_scaleFactor_get", _wrap_SoTransformerDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTransformerDragger_scaleFactor_get(SoTransformerDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformerDragger_minDiscRotDot_set", _wrap_SoTransformerDragger_minDiscRotDot_set, METH_VARARGS, (char *)"SoTransformerDragger_minDiscRotDot_set(SoTransformerDragger self, SoSFFloat minDiscRotDot)"}, - { (char *)"SoTransformerDragger_minDiscRotDot_get", _wrap_SoTransformerDragger_minDiscRotDot_get, METH_VARARGS, (char *)"SoTransformerDragger_minDiscRotDot_get(SoTransformerDragger self) -> SoSFFloat"}, - { (char *)"SoTransformerDragger_getCurrentState", _wrap_SoTransformerDragger_getCurrentState, METH_VARARGS, (char *)"SoTransformerDragger_getCurrentState(SoTransformerDragger self) -> State"}, - { (char *)"SoTransformerDragger_unsquishKnobs", _wrap_SoTransformerDragger_unsquishKnobs, METH_VARARGS, (char *)"SoTransformerDragger_unsquishKnobs(SoTransformerDragger self)"}, - { (char *)"SoTransformerDragger_isLocateHighlighting", _wrap_SoTransformerDragger_isLocateHighlighting, METH_VARARGS, (char *)"SoTransformerDragger_isLocateHighlighting(SoTransformerDragger self) -> SbBool"}, - { (char *)"SoTransformerDragger_setLocateHighlighting", _wrap_SoTransformerDragger_setLocateHighlighting, METH_VARARGS, (char *)"SoTransformerDragger_setLocateHighlighting(SoTransformerDragger self, SbBool onoff)"}, - { (char *)"SoTransformerDragger_setColinearThreshold", _wrap_SoTransformerDragger_setColinearThreshold, METH_VARARGS, (char *)"SoTransformerDragger_setColinearThreshold(int newval)"}, - { (char *)"SoTransformerDragger_getColinearThreshold", _wrap_SoTransformerDragger_getColinearThreshold, METH_VARARGS, (char *)"SoTransformerDragger_getColinearThreshold() -> int"}, - { (char *)"SoTransformerDragger_getBoxPointInWorldSpace", _wrap_SoTransformerDragger_getBoxPointInWorldSpace, METH_VARARGS, (char *)"SoTransformerDragger_getBoxPointInWorldSpace(SoTransformerDragger self, SbVec3f pointonunitbox) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getBoxDirInWorldSpace", _wrap_SoTransformerDragger_getBoxDirInWorldSpace, METH_VARARGS, (char *)"SoTransformerDragger_getBoxDirInWorldSpace(SoTransformerDragger self, SbVec3f dironunitbox) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getWorldPointInBoxSpace", _wrap_SoTransformerDragger_getWorldPointInBoxSpace, METH_VARARGS, (char *)"SoTransformerDragger_getWorldPointInBoxSpace(SoTransformerDragger self, SbVec3f pointinworldspace) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getWorldPointInPixelSpace", _wrap_SoTransformerDragger_getWorldPointInPixelSpace, METH_VARARGS, (char *)"SoTransformerDragger_getWorldPointInPixelSpace(SoTransformerDragger self, SbVec3f thepoint) -> SbVec2f"}, - { (char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace", _wrap_SoTransformerDragger_getInteractiveCenterInBoxSpace, METH_VARARGS, (char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace(SoTransformerDragger self) -> SbVec3f"}, - { (char *)"SoTransformerDragger_swigregister", SoTransformerDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslate1Dragger_getClassTypeId", _wrap_SoTranslate1Dragger_getClassTypeId, METH_VARARGS, (char *)"SoTranslate1Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoTranslate1Dragger_getTypeId", _wrap_SoTranslate1Dragger_getTypeId, METH_VARARGS, (char *)"SoTranslate1Dragger_getTypeId(SoTranslate1Dragger self) -> SoType"}, - { (char *)"SoTranslate1Dragger_getClassNodekitCatalog", _wrap_SoTranslate1Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTranslate1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTranslate1Dragger_getNodekitCatalog", _wrap_SoTranslate1Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTranslate1Dragger_getNodekitCatalog(SoTranslate1Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoTranslate1Dragger_initClass", _wrap_SoTranslate1Dragger_initClass, METH_VARARGS, (char *)"SoTranslate1Dragger_initClass()"}, - { (char *)"new_SoTranslate1Dragger", _wrap_new_SoTranslate1Dragger, METH_VARARGS, (char *)"new_SoTranslate1Dragger() -> SoTranslate1Dragger"}, - { (char *)"SoTranslate1Dragger_translation_set", _wrap_SoTranslate1Dragger_translation_set, METH_VARARGS, (char *)"SoTranslate1Dragger_translation_set(SoTranslate1Dragger self, SoSFVec3f translation)"}, - { (char *)"SoTranslate1Dragger_translation_get", _wrap_SoTranslate1Dragger_translation_get, METH_VARARGS, (char *)"SoTranslate1Dragger_translation_get(SoTranslate1Dragger self) -> SoSFVec3f"}, - { (char *)"SoTranslate1Dragger_minTranslation_set", _wrap_SoTranslate1Dragger_minTranslation_set, METH_VARARGS, (char *)"SoTranslate1Dragger_minTranslation_set(SoTranslate1Dragger self, SoSFFloat minTranslation)"}, - { (char *)"SoTranslate1Dragger_minTranslation_get", _wrap_SoTranslate1Dragger_minTranslation_get, METH_VARARGS, (char *)"SoTranslate1Dragger_minTranslation_get(SoTranslate1Dragger self) -> SoSFFloat"}, - { (char *)"SoTranslate1Dragger_maxTranslation_set", _wrap_SoTranslate1Dragger_maxTranslation_set, METH_VARARGS, (char *)"SoTranslate1Dragger_maxTranslation_set(SoTranslate1Dragger self, SoSFFloat maxTranslation)"}, - { (char *)"SoTranslate1Dragger_maxTranslation_get", _wrap_SoTranslate1Dragger_maxTranslation_get, METH_VARARGS, (char *)"SoTranslate1Dragger_maxTranslation_get(SoTranslate1Dragger self) -> SoSFFloat"}, - { (char *)"SoTranslate1Dragger_swigregister", SoTranslate1Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2f", _wrap_new_SoSFVec2f, METH_VARARGS, (char *)"new_SoSFVec2f() -> SoSFVec2f"}, - { (char *)"delete_SoSFVec2f", _wrap_delete_SoSFVec2f, METH_VARARGS, (char *)"delete_SoSFVec2f(SoSFVec2f self)"}, - { (char *)"SoSFVec2f_createInstance", _wrap_SoSFVec2f_createInstance, METH_VARARGS, (char *)"SoSFVec2f_createInstance() -> void"}, - { (char *)"SoSFVec2f_getClassTypeId", _wrap_SoSFVec2f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2f_getTypeId", _wrap_SoSFVec2f_getTypeId, METH_VARARGS, (char *)"SoSFVec2f_getTypeId(SoSFVec2f self) -> SoType"}, - { (char *)"SoSFVec2f_copyFrom", _wrap_SoSFVec2f_copyFrom, METH_VARARGS, (char *)"SoSFVec2f_copyFrom(SoSFVec2f self, SoField field)"}, - { (char *)"SoSFVec2f_isSame", _wrap_SoSFVec2f_isSame, METH_VARARGS, (char *)"SoSFVec2f_isSame(SoSFVec2f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2f_getValue", _wrap_SoSFVec2f_getValue, METH_VARARGS, (char *)"SoSFVec2f_getValue(SoSFVec2f self) -> SbVec2f"}, - { (char *)"SoSFVec2f___eq__", _wrap_SoSFVec2f___eq__, METH_VARARGS, (char *)"SoSFVec2f___eq__(SoSFVec2f self, SoSFVec2f field) -> int"}, - { (char *)"SoSFVec2f___ne__", _wrap_SoSFVec2f___ne__, METH_VARARGS, (char *)"SoSFVec2f___ne__(SoSFVec2f self, SoSFVec2f field) -> int"}, - { (char *)"SoSFVec2f_initClass", _wrap_SoSFVec2f_initClass, METH_VARARGS, (char *)"SoSFVec2f_initClass()"}, - { (char *)"SoSFVec2f_setValue", _wrap_SoSFVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2f newvalue)\n" - "setValue(float x, float y)\n" - "setValue(float xy)\n" - "SoSFVec2f_setValue(SoSFVec2f self, SoSFVec2f other)\n" - ""}, - { (char *)"SoSFVec2f_swigregister", SoSFVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslate2Dragger_getClassTypeId", _wrap_SoTranslate2Dragger_getClassTypeId, METH_VARARGS, (char *)"SoTranslate2Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoTranslate2Dragger_getTypeId", _wrap_SoTranslate2Dragger_getTypeId, METH_VARARGS, (char *)"SoTranslate2Dragger_getTypeId(SoTranslate2Dragger self) -> SoType"}, - { (char *)"SoTranslate2Dragger_getClassNodekitCatalog", _wrap_SoTranslate2Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTranslate2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTranslate2Dragger_getNodekitCatalog", _wrap_SoTranslate2Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTranslate2Dragger_getNodekitCatalog(SoTranslate2Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoTranslate2Dragger_initClass", _wrap_SoTranslate2Dragger_initClass, METH_VARARGS, (char *)"SoTranslate2Dragger_initClass()"}, - { (char *)"new_SoTranslate2Dragger", _wrap_new_SoTranslate2Dragger, METH_VARARGS, (char *)"new_SoTranslate2Dragger() -> SoTranslate2Dragger"}, - { (char *)"SoTranslate2Dragger_translation_set", _wrap_SoTranslate2Dragger_translation_set, METH_VARARGS, (char *)"SoTranslate2Dragger_translation_set(SoTranslate2Dragger self, SoSFVec3f translation)"}, - { (char *)"SoTranslate2Dragger_translation_get", _wrap_SoTranslate2Dragger_translation_get, METH_VARARGS, (char *)"SoTranslate2Dragger_translation_get(SoTranslate2Dragger self) -> SoSFVec3f"}, - { (char *)"SoTranslate2Dragger_minTranslation_set", _wrap_SoTranslate2Dragger_minTranslation_set, METH_VARARGS, (char *)"SoTranslate2Dragger_minTranslation_set(SoTranslate2Dragger self, SoSFVec2f minTranslation)"}, - { (char *)"SoTranslate2Dragger_minTranslation_get", _wrap_SoTranslate2Dragger_minTranslation_get, METH_VARARGS, (char *)"SoTranslate2Dragger_minTranslation_get(SoTranslate2Dragger self) -> SoSFVec2f"}, - { (char *)"SoTranslate2Dragger_maxTranslation_set", _wrap_SoTranslate2Dragger_maxTranslation_set, METH_VARARGS, (char *)"SoTranslate2Dragger_maxTranslation_set(SoTranslate2Dragger self, SoSFVec2f maxTranslation)"}, - { (char *)"SoTranslate2Dragger_maxTranslation_get", _wrap_SoTranslate2Dragger_maxTranslation_get, METH_VARARGS, (char *)"SoTranslate2Dragger_maxTranslation_get(SoTranslate2Dragger self) -> SoSFVec2f"}, - { (char *)"SoTranslate2Dragger_swigregister", SoTranslate2Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAccumulatedElement_getClassTypeId", _wrap_SoAccumulatedElement_getClassTypeId, METH_VARARGS, (char *)"SoAccumulatedElement_getClassTypeId() -> SoType"}, - { (char *)"SoAccumulatedElement_getClassStackIndex", _wrap_SoAccumulatedElement_getClassStackIndex, METH_VARARGS, (char *)"SoAccumulatedElement_getClassStackIndex() -> int"}, - { (char *)"SoAccumulatedElement_initClass", _wrap_SoAccumulatedElement_initClass, METH_VARARGS, (char *)"SoAccumulatedElement_initClass()"}, - { (char *)"SoAccumulatedElement_matches", _wrap_SoAccumulatedElement_matches, METH_VARARGS, (char *)"SoAccumulatedElement_matches(SoAccumulatedElement self, SoElement element) -> SbBool"}, - { (char *)"SoAccumulatedElement_swigregister", SoAccumulatedElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAmbientColorElement_getClassTypeId", _wrap_SoAmbientColorElement_getClassTypeId, METH_VARARGS, (char *)"SoAmbientColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoAmbientColorElement_getClassStackIndex", _wrap_SoAmbientColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoAmbientColorElement_getClassStackIndex() -> int"}, - { (char *)"SoAmbientColorElement_createInstance", _wrap_SoAmbientColorElement_createInstance, METH_VARARGS, (char *)"SoAmbientColorElement_createInstance() -> void"}, - { (char *)"SoAmbientColorElement_initClass", _wrap_SoAmbientColorElement_initClass, METH_VARARGS, (char *)"SoAmbientColorElement_initClass()"}, - { (char *)"SoAmbientColorElement_init", _wrap_SoAmbientColorElement_init, METH_VARARGS, (char *)"SoAmbientColorElement_init(SoAmbientColorElement self, SoState state)"}, - { (char *)"SoAmbientColorElement_set", _wrap_SoAmbientColorElement_set, METH_VARARGS, (char *)"SoAmbientColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoAmbientColorElement_getInstance", _wrap_SoAmbientColorElement_getInstance, METH_VARARGS, (char *)"SoAmbientColorElement_getInstance(SoState state) -> SoAmbientColorElement"}, - { (char *)"SoAmbientColorElement_getNum", _wrap_SoAmbientColorElement_getNum, METH_VARARGS, (char *)"SoAmbientColorElement_getNum(SoAmbientColorElement self) -> int32_t"}, - { (char *)"SoAmbientColorElement_get", _wrap_SoAmbientColorElement_get, METH_VARARGS, (char *)"SoAmbientColorElement_get(SoAmbientColorElement self, int index) -> SbColor"}, - { (char *)"SoAmbientColorElement_getArrayPtr", _wrap_SoAmbientColorElement_getArrayPtr, METH_VARARGS, (char *)"SoAmbientColorElement_getArrayPtr(SoAmbientColorElement self) -> SbColor"}, - { (char *)"SoAmbientColorElement_swigregister", SoAmbientColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3CharOrientElement_getClassTypeId", _wrap_SoAnnoText3CharOrientElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3CharOrientElement_getClassStackIndex", _wrap_SoAnnoText3CharOrientElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3CharOrientElement_createInstance", _wrap_SoAnnoText3CharOrientElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_createInstance() -> void"}, - { (char *)"SoAnnoText3CharOrientElement_initClass", _wrap_SoAnnoText3CharOrientElement_initClass, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_initClass()"}, - { (char *)"SoAnnoText3CharOrientElement_init", _wrap_SoAnnoText3CharOrientElement_init, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_init(SoAnnoText3CharOrientElement self, SoState state)"}, - { (char *)"SoAnnoText3CharOrientElement_set", _wrap_SoAnnoText3CharOrientElement_set, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_set(SoState state, SbBool isOriented)"}, - { (char *)"SoAnnoText3CharOrientElement_get", _wrap_SoAnnoText3CharOrientElement_get, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_get(SoState state) -> SbBool"}, - { (char *)"SoAnnoText3CharOrientElement_getDefault", _wrap_SoAnnoText3CharOrientElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getDefault() -> SbBool"}, - { (char *)"SoAnnoText3CharOrientElement_swigregister", SoAnnoText3CharOrientElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3FontSizeHintElement_getClassTypeId", _wrap_SoAnnoText3FontSizeHintElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex", _wrap_SoAnnoText3FontSizeHintElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3FontSizeHintElement_createInstance", _wrap_SoAnnoText3FontSizeHintElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_createInstance() -> void"}, - { (char *)"SoAnnoText3FontSizeHintElement_initClass", _wrap_SoAnnoText3FontSizeHintElement_initClass, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_initClass()"}, - { (char *)"SoAnnoText3FontSizeHintElement_init", _wrap_SoAnnoText3FontSizeHintElement_init, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_init(SoAnnoText3FontSizeHintElement self, SoState state)"}, - { (char *)"SoAnnoText3FontSizeHintElement_get", _wrap_SoAnnoText3FontSizeHintElement_get, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_get(SoState state) -> FontSizeHint"}, - { (char *)"SoAnnoText3FontSizeHintElement_getDefault", _wrap_SoAnnoText3FontSizeHintElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getDefault() -> FontSizeHint"}, - { (char *)"SoAnnoText3FontSizeHintElement_set", _wrap_SoAnnoText3FontSizeHintElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, FontSizeHint hint)\n" - "SoAnnoText3FontSizeHintElement_set(SoState state, SoNode node, FontSizeHint hint)\n" - ""}, - { (char *)"SoAnnoText3FontSizeHintElement_swigregister", SoAnnoText3FontSizeHintElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3RenderPrintElement_getClassTypeId", _wrap_SoAnnoText3RenderPrintElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3RenderPrintElement_getClassStackIndex", _wrap_SoAnnoText3RenderPrintElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3RenderPrintElement_createInstance", _wrap_SoAnnoText3RenderPrintElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_createInstance() -> void"}, - { (char *)"SoAnnoText3RenderPrintElement_initClass", _wrap_SoAnnoText3RenderPrintElement_initClass, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_initClass()"}, - { (char *)"SoAnnoText3RenderPrintElement_init", _wrap_SoAnnoText3RenderPrintElement_init, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_init(SoAnnoText3RenderPrintElement self, SoState state)"}, - { (char *)"SoAnnoText3RenderPrintElement_get", _wrap_SoAnnoText3RenderPrintElement_get, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_get(SoState state) -> RenderPrintType"}, - { (char *)"SoAnnoText3RenderPrintElement_getDefault", _wrap_SoAnnoText3RenderPrintElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getDefault() -> RenderPrintType"}, - { (char *)"SoAnnoText3RenderPrintElement_set", _wrap_SoAnnoText3RenderPrintElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, RenderPrintType hint)\n" - "SoAnnoText3RenderPrintElement_set(SoState state, SoNode node, RenderPrintType type)\n" - ""}, - { (char *)"SoAnnoText3RenderPrintElement_swigregister", SoAnnoText3RenderPrintElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoModelMatrixElement_getClassTypeId", _wrap_SoModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoModelMatrixElement_getClassStackIndex", _wrap_SoModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoModelMatrixElement_createInstance", _wrap_SoModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoModelMatrixElement_createInstance() -> void"}, - { (char *)"SoModelMatrixElement_initClass", _wrap_SoModelMatrixElement_initClass, METH_VARARGS, (char *)"SoModelMatrixElement_initClass()"}, - { (char *)"SoModelMatrixElement_init", _wrap_SoModelMatrixElement_init, METH_VARARGS, (char *)"SoModelMatrixElement_init(SoModelMatrixElement self, SoState state)"}, - { (char *)"SoModelMatrixElement_push", _wrap_SoModelMatrixElement_push, METH_VARARGS, (char *)"SoModelMatrixElement_push(SoModelMatrixElement self, SoState state)"}, - { (char *)"SoModelMatrixElement_matches", _wrap_SoModelMatrixElement_matches, METH_VARARGS, (char *)"SoModelMatrixElement_matches(SoModelMatrixElement self, SoElement element) -> SbBool"}, - { (char *)"SoModelMatrixElement_makeIdentity", _wrap_SoModelMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoModelMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoModelMatrixElement_set", _wrap_SoModelMatrixElement_set, METH_VARARGS, (char *)"SoModelMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_setCullMatrix", _wrap_SoModelMatrixElement_setCullMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_setCullMatrix(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_mult", _wrap_SoModelMatrixElement_mult, METH_VARARGS, (char *)"SoModelMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_translateBy", _wrap_SoModelMatrixElement_translateBy, METH_VARARGS, (char *)"SoModelMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoModelMatrixElement_rotateBy", _wrap_SoModelMatrixElement_rotateBy, METH_VARARGS, (char *)"SoModelMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoModelMatrixElement_scaleBy", _wrap_SoModelMatrixElement_scaleBy, METH_VARARGS, (char *)"SoModelMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoModelMatrixElement_pushMatrix", _wrap_SoModelMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_pushMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_popMatrix", _wrap_SoModelMatrixElement_popMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_popMatrix(SoState state, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_getCombinedCullMatrix", _wrap_SoModelMatrixElement_getCombinedCullMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_getCombinedCullMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_get", _wrap_SoModelMatrixElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state) -> SbMatrix\n" - "SoModelMatrixElement_get(SoState state, SbBool isIdentity) -> SbMatrix\n" - ""}, - { (char *)"SoModelMatrixElement_getModelMatrix", _wrap_SoModelMatrixElement_getModelMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_getModelMatrix(SoModelMatrixElement self) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_swigregister", SoModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBBoxModelMatrixElement_getClassTypeId", _wrap_SoBBoxModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoBBoxModelMatrixElement_getClassStackIndex", _wrap_SoBBoxModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoBBoxModelMatrixElement_createInstance", _wrap_SoBBoxModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_createInstance() -> void"}, - { (char *)"SoBBoxModelMatrixElement_initClass", _wrap_SoBBoxModelMatrixElement_initClass, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_initClass()"}, - { (char *)"SoBBoxModelMatrixElement_init", _wrap_SoBBoxModelMatrixElement_init, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_init(SoBBoxModelMatrixElement self, SoState state)"}, - { (char *)"SoBBoxModelMatrixElement_push", _wrap_SoBBoxModelMatrixElement_push, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_push(SoBBoxModelMatrixElement self, SoState state)"}, - { (char *)"SoBBoxModelMatrixElement_reset", _wrap_SoBBoxModelMatrixElement_reset, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_reset(SoState state, SoNode node)"}, - { (char *)"SoBBoxModelMatrixElement_pushMatrix", _wrap_SoBBoxModelMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)"}, - { (char *)"SoBBoxModelMatrixElement_popMatrix", _wrap_SoBBoxModelMatrixElement_popMatrix, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)"}, - { (char *)"SoBBoxModelMatrixElement_swigregister", SoBBoxModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapCoordinateElement_getClassTypeId", _wrap_SoBumpMapCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapCoordinateElement_getClassStackIndex", _wrap_SoBumpMapCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapCoordinateElement_createInstance", _wrap_SoBumpMapCoordinateElement_createInstance, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_createInstance() -> void"}, - { (char *)"SoBumpMapCoordinateElement_initClass", _wrap_SoBumpMapCoordinateElement_initClass, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_initClass()"}, - { (char *)"SoBumpMapCoordinateElement_init", _wrap_SoBumpMapCoordinateElement_init, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_init(SoBumpMapCoordinateElement self, SoState state)"}, - { (char *)"SoBumpMapCoordinateElement_set", _wrap_SoBumpMapCoordinateElement_set, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)"}, - { (char *)"SoBumpMapCoordinateElement_getInstance", _wrap_SoBumpMapCoordinateElement_getInstance, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getInstance(SoState state) -> SoBumpMapCoordinateElement"}, - { (char *)"SoBumpMapCoordinateElement_getNum", _wrap_SoBumpMapCoordinateElement_getNum, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getNum(SoBumpMapCoordinateElement self) -> int32_t"}, - { (char *)"SoBumpMapCoordinateElement_get", _wrap_SoBumpMapCoordinateElement_get, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_get(SoBumpMapCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoBumpMapCoordinateElement_getArrayPtr", _wrap_SoBumpMapCoordinateElement_getArrayPtr, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getArrayPtr(SoBumpMapCoordinateElement self) -> SbVec2f"}, - { (char *)"SoBumpMapCoordinateElement_swigregister", SoBumpMapCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapElement_getClassTypeId", _wrap_SoBumpMapElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapElement_getClassStackIndex", _wrap_SoBumpMapElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapElement_createInstance", _wrap_SoBumpMapElement_createInstance, METH_VARARGS, (char *)"SoBumpMapElement_createInstance() -> void"}, - { (char *)"SoBumpMapElement_initClass", _wrap_SoBumpMapElement_initClass, METH_VARARGS, (char *)"SoBumpMapElement_initClass()"}, - { (char *)"SoBumpMapElement_init", _wrap_SoBumpMapElement_init, METH_VARARGS, (char *)"SoBumpMapElement_init(SoBumpMapElement self, SoState state)"}, - { (char *)"SoBumpMapElement_set", _wrap_SoBumpMapElement_set, METH_VARARGS, (char *)"SoBumpMapElement_set(SoState state, SoNode node, SoGLImage image)"}, - { (char *)"SoBumpMapElement_get", _wrap_SoBumpMapElement_get, METH_VARARGS, (char *)"SoBumpMapElement_get(SoState state) -> SoGLImage"}, - { (char *)"SoBumpMapElement_swigregister", SoBumpMapElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapMatrixElement_getClassTypeId", _wrap_SoBumpMapMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapMatrixElement_getClassStackIndex", _wrap_SoBumpMapMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapMatrixElement_createInstance", _wrap_SoBumpMapMatrixElement_createInstance, METH_VARARGS, (char *)"SoBumpMapMatrixElement_createInstance() -> void"}, - { (char *)"SoBumpMapMatrixElement_initClass", _wrap_SoBumpMapMatrixElement_initClass, METH_VARARGS, (char *)"SoBumpMapMatrixElement_initClass()"}, - { (char *)"SoBumpMapMatrixElement_init", _wrap_SoBumpMapMatrixElement_init, METH_VARARGS, (char *)"SoBumpMapMatrixElement_init(SoBumpMapMatrixElement self, SoState state)"}, - { (char *)"SoBumpMapMatrixElement_push", _wrap_SoBumpMapMatrixElement_push, METH_VARARGS, (char *)"SoBumpMapMatrixElement_push(SoBumpMapMatrixElement self, SoState state)"}, - { (char *)"SoBumpMapMatrixElement_makeIdentity", _wrap_SoBumpMapMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoBumpMapMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoBumpMapMatrixElement_set", _wrap_SoBumpMapMatrixElement_set, METH_VARARGS, (char *)"SoBumpMapMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoBumpMapMatrixElement_mult", _wrap_SoBumpMapMatrixElement_mult, METH_VARARGS, (char *)"SoBumpMapMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoBumpMapMatrixElement_translateBy", _wrap_SoBumpMapMatrixElement_translateBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoBumpMapMatrixElement_rotateBy", _wrap_SoBumpMapMatrixElement_rotateBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoBumpMapMatrixElement_scaleBy", _wrap_SoBumpMapMatrixElement_scaleBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoBumpMapMatrixElement_get", _wrap_SoBumpMapMatrixElement_get, METH_VARARGS, (char *)"SoBumpMapMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoBumpMapMatrixElement_swigregister", SoBumpMapMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCacheElement_getClassTypeId", _wrap_SoCacheElement_getClassTypeId, METH_VARARGS, (char *)"SoCacheElement_getClassTypeId() -> SoType"}, - { (char *)"SoCacheElement_getClassStackIndex", _wrap_SoCacheElement_getClassStackIndex, METH_VARARGS, (char *)"SoCacheElement_getClassStackIndex() -> int"}, - { (char *)"SoCacheElement_createInstance", _wrap_SoCacheElement_createInstance, METH_VARARGS, (char *)"SoCacheElement_createInstance() -> void"}, - { (char *)"SoCacheElement_initClass", _wrap_SoCacheElement_initClass, METH_VARARGS, (char *)"SoCacheElement_initClass()"}, - { (char *)"SoCacheElement_init", _wrap_SoCacheElement_init, METH_VARARGS, (char *)"SoCacheElement_init(SoCacheElement self, SoState state)"}, - { (char *)"SoCacheElement_push", _wrap_SoCacheElement_push, METH_VARARGS, (char *)"SoCacheElement_push(SoCacheElement self, SoState state)"}, - { (char *)"SoCacheElement_pop", _wrap_SoCacheElement_pop, METH_VARARGS, (char *)"SoCacheElement_pop(SoCacheElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoCacheElement_set", _wrap_SoCacheElement_set, METH_VARARGS, (char *)"SoCacheElement_set(SoState state, SoCache cache)"}, - { (char *)"SoCacheElement_getCache", _wrap_SoCacheElement_getCache, METH_VARARGS, (char *)"SoCacheElement_getCache(SoCacheElement self) -> SoCache"}, - { (char *)"SoCacheElement_anyOpen", _wrap_SoCacheElement_anyOpen, METH_VARARGS, (char *)"SoCacheElement_anyOpen(SoState state) -> SbBool"}, - { (char *)"SoCacheElement_invalidate", _wrap_SoCacheElement_invalidate, METH_VARARGS, (char *)"SoCacheElement_invalidate(SoState state)"}, - { (char *)"SoCacheElement_matches", _wrap_SoCacheElement_matches, METH_VARARGS, (char *)"SoCacheElement_matches(SoCacheElement self, SoElement element) -> SbBool"}, - { (char *)"SoCacheElement_copyMatchInfo", _wrap_SoCacheElement_copyMatchInfo, METH_VARARGS, (char *)"SoCacheElement_copyMatchInfo(SoCacheElement self) -> SoElement"}, - { (char *)"SoCacheElement_getNextCacheElement", _wrap_SoCacheElement_getNextCacheElement, METH_VARARGS, (char *)"SoCacheElement_getNextCacheElement(SoCacheElement self) -> SoCacheElement"}, - { (char *)"SoCacheElement_addElement", _wrap_SoCacheElement_addElement, METH_VARARGS, (char *)"SoCacheElement_addElement(SoState state, SoElement element)"}, - { (char *)"SoCacheElement_addCacheDependency", _wrap_SoCacheElement_addCacheDependency, METH_VARARGS, (char *)"SoCacheElement_addCacheDependency(SoState state, SoCache cache)"}, - { (char *)"SoCacheElement_setInvalid", _wrap_SoCacheElement_setInvalid, METH_VARARGS, (char *)"SoCacheElement_setInvalid(SbBool newvalue) -> SbBool"}, - { (char *)"SoCacheElement_getCurrentCache", _wrap_SoCacheElement_getCurrentCache, METH_VARARGS, (char *)"SoCacheElement_getCurrentCache(SoState state) -> SoCache"}, - { (char *)"SoCacheElement_swigregister", SoCacheElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPlane", _wrap_new_SbPlane, METH_VARARGS, (char *)"\n" - "SbPlane()\n" - "SbPlane(SbVec3f normal, float D)\n" - "SbPlane(SbVec3f p0, SbVec3f p1, SbVec3f p2)\n" - "new_SbPlane(SbVec3f normal, SbVec3f point) -> SbPlane\n" - ""}, - { (char *)"SbPlane_offset", _wrap_SbPlane_offset, METH_VARARGS, (char *)"SbPlane_offset(SbPlane self, float d)"}, - { (char *)"SbPlane_transform", _wrap_SbPlane_transform, METH_VARARGS, (char *)"SbPlane_transform(SbPlane self, SbMatrix matrix)"}, - { (char *)"SbPlane_isInHalfSpace", _wrap_SbPlane_isInHalfSpace, METH_VARARGS, (char *)"SbPlane_isInHalfSpace(SbPlane self, SbVec3f point) -> SbBool"}, - { (char *)"SbPlane_getDistance", _wrap_SbPlane_getDistance, METH_VARARGS, (char *)"SbPlane_getDistance(SbPlane self, SbVec3f point) -> float"}, - { (char *)"SbPlane_getNormal", _wrap_SbPlane_getNormal, METH_VARARGS, (char *)"SbPlane_getNormal(SbPlane self) -> SbVec3f"}, - { (char *)"SbPlane_getDistanceFromOrigin", _wrap_SbPlane_getDistanceFromOrigin, METH_VARARGS, (char *)"SbPlane_getDistanceFromOrigin(SbPlane self) -> float"}, - { (char *)"SbPlane_output", _wrap_SbPlane_output, METH_VARARGS, (char *)"SbPlane_output(SbPlane self, FILE file)"}, - { (char *)"SbPlane_intersect", _wrap_SbPlane_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbPlane_intersect(SbPlane self, SbPlane pl, SbLine line) -> SbBool\n" - ""}, - { (char *)"SbPlane___eq__", _wrap_SbPlane___eq__, METH_VARARGS, (char *)"SbPlane___eq__(SbPlane self, SbPlane u) -> int"}, - { (char *)"SbPlane___ne__", _wrap_SbPlane___ne__, METH_VARARGS, (char *)"SbPlane___ne__(SbPlane self, SbPlane u) -> int"}, - { (char *)"delete_SbPlane", _wrap_delete_SbPlane, METH_VARARGS, (char *)"delete_SbPlane(SbPlane self)"}, - { (char *)"SbPlane_swigregister", SbPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlaneElement_getClassTypeId", _wrap_SoClipPlaneElement_getClassTypeId, METH_VARARGS, (char *)"SoClipPlaneElement_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlaneElement_getClassStackIndex", _wrap_SoClipPlaneElement_getClassStackIndex, METH_VARARGS, (char *)"SoClipPlaneElement_getClassStackIndex() -> int"}, - { (char *)"SoClipPlaneElement_createInstance", _wrap_SoClipPlaneElement_createInstance, METH_VARARGS, (char *)"SoClipPlaneElement_createInstance() -> void"}, - { (char *)"SoClipPlaneElement_initClass", _wrap_SoClipPlaneElement_initClass, METH_VARARGS, (char *)"SoClipPlaneElement_initClass()"}, - { (char *)"SoClipPlaneElement_init", _wrap_SoClipPlaneElement_init, METH_VARARGS, (char *)"SoClipPlaneElement_init(SoClipPlaneElement self, SoState state)"}, - { (char *)"SoClipPlaneElement_push", _wrap_SoClipPlaneElement_push, METH_VARARGS, (char *)"SoClipPlaneElement_push(SoClipPlaneElement self, SoState state)"}, - { (char *)"SoClipPlaneElement_add", _wrap_SoClipPlaneElement_add, METH_VARARGS, (char *)"SoClipPlaneElement_add(SoState state, SoNode node, SbPlane plane)"}, - { (char *)"SoClipPlaneElement_getInstance", _wrap_SoClipPlaneElement_getInstance, METH_VARARGS, (char *)"SoClipPlaneElement_getInstance(SoState state) -> SoClipPlaneElement"}, - { (char *)"SoClipPlaneElement_getNum", _wrap_SoClipPlaneElement_getNum, METH_VARARGS, (char *)"SoClipPlaneElement_getNum(SoClipPlaneElement self) -> int"}, - { (char *)"SoClipPlaneElement_get", _wrap_SoClipPlaneElement_get, METH_VARARGS, (char *)"\n" - "get(int index, SbBool inworldspace=1) -> SbPlane\n" - "SoClipPlaneElement_get(SoClipPlaneElement self, int index) -> SbPlane\n" - ""}, - { (char *)"SoClipPlaneElement_swigregister", SoClipPlaneElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFloatElement_getClassTypeId", _wrap_SoFloatElement_getClassTypeId, METH_VARARGS, (char *)"SoFloatElement_getClassTypeId() -> SoType"}, - { (char *)"SoFloatElement_getClassStackIndex", _wrap_SoFloatElement_getClassStackIndex, METH_VARARGS, (char *)"SoFloatElement_getClassStackIndex() -> int"}, - { (char *)"SoFloatElement_initClass", _wrap_SoFloatElement_initClass, METH_VARARGS, (char *)"SoFloatElement_initClass()"}, - { (char *)"SoFloatElement_init", _wrap_SoFloatElement_init, METH_VARARGS, (char *)"SoFloatElement_init(SoFloatElement self, SoState state)"}, - { (char *)"SoFloatElement_matches", _wrap_SoFloatElement_matches, METH_VARARGS, (char *)"SoFloatElement_matches(SoFloatElement self, SoElement element) -> SbBool"}, - { (char *)"SoFloatElement_copyMatchInfo", _wrap_SoFloatElement_copyMatchInfo, METH_VARARGS, (char *)"SoFloatElement_copyMatchInfo(SoFloatElement self) -> SoElement"}, - { (char *)"SoFloatElement_output", _wrap_SoFloatElement_output, METH_VARARGS, (char *)"SoFloatElement_output(SoFloatElement self, FILE file)"}, - { (char *)"SoFloatElement_set", _wrap_SoFloatElement_set, METH_VARARGS, (char *)"\n" - "set(int stackIndex, SoState state, SoNode node, float value)\n" - "SoFloatElement_set(int stackIndex, SoState state, float value)\n" - ""}, - { (char *)"SoFloatElement_get", _wrap_SoFloatElement_get, METH_VARARGS, (char *)"SoFloatElement_get(int stackIndex, SoState state) -> float"}, - { (char *)"SoFloatElement_setElt", _wrap_SoFloatElement_setElt, METH_VARARGS, (char *)"SoFloatElement_setElt(SoFloatElement self, float value)"}, - { (char *)"SoFloatElement_swigregister", SoFloatElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexityElement_getClassTypeId", _wrap_SoComplexityElement_getClassTypeId, METH_VARARGS, (char *)"SoComplexityElement_getClassTypeId() -> SoType"}, - { (char *)"SoComplexityElement_getClassStackIndex", _wrap_SoComplexityElement_getClassStackIndex, METH_VARARGS, (char *)"SoComplexityElement_getClassStackIndex() -> int"}, - { (char *)"SoComplexityElement_createInstance", _wrap_SoComplexityElement_createInstance, METH_VARARGS, (char *)"SoComplexityElement_createInstance() -> void"}, - { (char *)"SoComplexityElement_initClass", _wrap_SoComplexityElement_initClass, METH_VARARGS, (char *)"SoComplexityElement_initClass()"}, - { (char *)"SoComplexityElement_init", _wrap_SoComplexityElement_init, METH_VARARGS, (char *)"SoComplexityElement_init(SoComplexityElement self, SoState state)"}, - { (char *)"SoComplexityElement_set", _wrap_SoComplexityElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoComplexityElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoComplexityElement_get", _wrap_SoComplexityElement_get, METH_VARARGS, (char *)"SoComplexityElement_get(SoState state) -> float"}, - { (char *)"SoComplexityElement_getDefault", _wrap_SoComplexityElement_getDefault, METH_VARARGS, (char *)"SoComplexityElement_getDefault() -> float"}, - { (char *)"SoComplexityElement_swigregister", SoComplexityElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinateElement_getClassTypeId", _wrap_SoCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinateElement_getClassStackIndex", _wrap_SoCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoCoordinateElement_createInstance", _wrap_SoCoordinateElement_createInstance, METH_VARARGS, (char *)"SoCoordinateElement_createInstance() -> void"}, - { (char *)"SoCoordinateElement_initClass", _wrap_SoCoordinateElement_initClass, METH_VARARGS, (char *)"SoCoordinateElement_initClass()"}, - { (char *)"SoCoordinateElement_init", _wrap_SoCoordinateElement_init, METH_VARARGS, (char *)"SoCoordinateElement_init(SoCoordinateElement self, SoState state)"}, - { (char *)"SoCoordinateElement_set3", _wrap_SoCoordinateElement_set3, METH_VARARGS, (char *)"SoCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoCoordinateElement_set4", _wrap_SoCoordinateElement_set4, METH_VARARGS, (char *)"SoCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)"}, - { (char *)"SoCoordinateElement_getInstance", _wrap_SoCoordinateElement_getInstance, METH_VARARGS, (char *)"SoCoordinateElement_getInstance(SoState state) -> SoCoordinateElement"}, - { (char *)"SoCoordinateElement_getNum", _wrap_SoCoordinateElement_getNum, METH_VARARGS, (char *)"SoCoordinateElement_getNum(SoCoordinateElement self) -> int32_t"}, - { (char *)"SoCoordinateElement_is3D", _wrap_SoCoordinateElement_is3D, METH_VARARGS, (char *)"SoCoordinateElement_is3D(SoCoordinateElement self) -> SbBool"}, - { (char *)"SoCoordinateElement_get3", _wrap_SoCoordinateElement_get3, METH_VARARGS, (char *)"SoCoordinateElement_get3(SoCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoCoordinateElement_get4", _wrap_SoCoordinateElement_get4, METH_VARARGS, (char *)"SoCoordinateElement_get4(SoCoordinateElement self, int index) -> SbVec4f"}, - { (char *)"SoCoordinateElement_getArrayPtr3", _wrap_SoCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoCoordinateElement_getArrayPtr3(SoCoordinateElement self) -> SbVec3f"}, - { (char *)"SoCoordinateElement_getArrayPtr4", _wrap_SoCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoCoordinateElement_getArrayPtr4(SoCoordinateElement self) -> SbVec4f"}, - { (char *)"SoCoordinateElement_getDefault3", _wrap_SoCoordinateElement_getDefault3, METH_VARARGS, (char *)"SoCoordinateElement_getDefault3() -> SbVec3f"}, - { (char *)"SoCoordinateElement_getDefault4", _wrap_SoCoordinateElement_getDefault4, METH_VARARGS, (char *)"SoCoordinateElement_getDefault4() -> SbVec4f"}, - { (char *)"SoCoordinateElement_output", _wrap_SoCoordinateElement_output, METH_VARARGS, (char *)"SoCoordinateElement_output(SoCoordinateElement self, FILE file)"}, - { (char *)"SoCoordinateElement_swigregister", SoCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCreaseAngleElement_getClassTypeId", _wrap_SoCreaseAngleElement_getClassTypeId, METH_VARARGS, (char *)"SoCreaseAngleElement_getClassTypeId() -> SoType"}, - { (char *)"SoCreaseAngleElement_getClassStackIndex", _wrap_SoCreaseAngleElement_getClassStackIndex, METH_VARARGS, (char *)"SoCreaseAngleElement_getClassStackIndex() -> int"}, - { (char *)"SoCreaseAngleElement_createInstance", _wrap_SoCreaseAngleElement_createInstance, METH_VARARGS, (char *)"SoCreaseAngleElement_createInstance() -> void"}, - { (char *)"SoCreaseAngleElement_initClass", _wrap_SoCreaseAngleElement_initClass, METH_VARARGS, (char *)"SoCreaseAngleElement_initClass()"}, - { (char *)"SoCreaseAngleElement_init", _wrap_SoCreaseAngleElement_init, METH_VARARGS, (char *)"SoCreaseAngleElement_init(SoCreaseAngleElement self, SoState state)"}, - { (char *)"SoCreaseAngleElement_set", _wrap_SoCreaseAngleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoCreaseAngleElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoCreaseAngleElement_get", _wrap_SoCreaseAngleElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state) -> float\n" - "SoCreaseAngleElement_get(SoState state, SbBool isvrml1) -> float\n" - ""}, - { (char *)"SoCreaseAngleElement_getDefault", _wrap_SoCreaseAngleElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault() -> float\n" - "SoCreaseAngleElement_getDefault(SbBool isvrml1) -> float\n" - ""}, - { (char *)"SoCreaseAngleElement_swigregister", SoCreaseAngleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCullElement_getClassTypeId", _wrap_SoCullElement_getClassTypeId, METH_VARARGS, (char *)"SoCullElement_getClassTypeId() -> SoType"}, - { (char *)"SoCullElement_getClassStackIndex", _wrap_SoCullElement_getClassStackIndex, METH_VARARGS, (char *)"SoCullElement_getClassStackIndex() -> int"}, - { (char *)"SoCullElement_createInstance", _wrap_SoCullElement_createInstance, METH_VARARGS, (char *)"SoCullElement_createInstance() -> void"}, - { (char *)"SoCullElement_initClass", _wrap_SoCullElement_initClass, METH_VARARGS, (char *)"SoCullElement_initClass()"}, - { (char *)"SoCullElement_init", _wrap_SoCullElement_init, METH_VARARGS, (char *)"SoCullElement_init(SoCullElement self, SoState state)"}, - { (char *)"SoCullElement_push", _wrap_SoCullElement_push, METH_VARARGS, (char *)"SoCullElement_push(SoCullElement self, SoState state)"}, - { (char *)"SoCullElement_setViewVolume", _wrap_SoCullElement_setViewVolume, METH_VARARGS, (char *)"SoCullElement_setViewVolume(SoState state, SbViewVolume vv)"}, - { (char *)"SoCullElement_addPlane", _wrap_SoCullElement_addPlane, METH_VARARGS, (char *)"SoCullElement_addPlane(SoState state, SbPlane newplane)"}, - { (char *)"SoCullElement_cullBox", _wrap_SoCullElement_cullBox, METH_VARARGS, (char *)"\n" - "cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool\n" - "SoCullElement_cullBox(SoState state, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SoCullElement_cullTest", _wrap_SoCullElement_cullTest, METH_VARARGS, (char *)"\n" - "cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool\n" - "SoCullElement_cullTest(SoState state, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SoCullElement_completelyInside", _wrap_SoCullElement_completelyInside, METH_VARARGS, (char *)"SoCullElement_completelyInside(SoState state) -> SbBool"}, - { (char *)"SoCullElement_matches", _wrap_SoCullElement_matches, METH_VARARGS, (char *)"SoCullElement_matches(SoCullElement self, SoElement elt) -> SbBool"}, - { (char *)"SoCullElement_copyMatchInfo", _wrap_SoCullElement_copyMatchInfo, METH_VARARGS, (char *)"SoCullElement_copyMatchInfo(SoCullElement self) -> SoElement"}, - { (char *)"SoCullElement_swigregister", SoCullElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecimationPercentageElement_getClassTypeId", _wrap_SoDecimationPercentageElement_getClassTypeId, METH_VARARGS, (char *)"SoDecimationPercentageElement_getClassTypeId() -> SoType"}, - { (char *)"SoDecimationPercentageElement_getClassStackIndex", _wrap_SoDecimationPercentageElement_getClassStackIndex, METH_VARARGS, (char *)"SoDecimationPercentageElement_getClassStackIndex() -> int"}, - { (char *)"SoDecimationPercentageElement_createInstance", _wrap_SoDecimationPercentageElement_createInstance, METH_VARARGS, (char *)"SoDecimationPercentageElement_createInstance() -> void"}, - { (char *)"SoDecimationPercentageElement_initClass", _wrap_SoDecimationPercentageElement_initClass, METH_VARARGS, (char *)"SoDecimationPercentageElement_initClass()"}, - { (char *)"SoDecimationPercentageElement_init", _wrap_SoDecimationPercentageElement_init, METH_VARARGS, (char *)"SoDecimationPercentageElement_init(SoDecimationPercentageElement self, SoState state)"}, - { (char *)"SoDecimationPercentageElement_set", _wrap_SoDecimationPercentageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoDecimationPercentageElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoDecimationPercentageElement_get", _wrap_SoDecimationPercentageElement_get, METH_VARARGS, (char *)"SoDecimationPercentageElement_get(SoState state) -> float"}, - { (char *)"SoDecimationPercentageElement_getDefault", _wrap_SoDecimationPercentageElement_getDefault, METH_VARARGS, (char *)"SoDecimationPercentageElement_getDefault() -> float"}, - { (char *)"SoDecimationPercentageElement_swigregister", SoDecimationPercentageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDiffuseColorElement_getClassTypeId", _wrap_SoDiffuseColorElement_getClassTypeId, METH_VARARGS, (char *)"SoDiffuseColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoDiffuseColorElement_getClassStackIndex", _wrap_SoDiffuseColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoDiffuseColorElement_getClassStackIndex() -> int"}, - { (char *)"SoDiffuseColorElement_createInstance", _wrap_SoDiffuseColorElement_createInstance, METH_VARARGS, (char *)"SoDiffuseColorElement_createInstance() -> void"}, - { (char *)"SoDiffuseColorElement_initClass", _wrap_SoDiffuseColorElement_initClass, METH_VARARGS, (char *)"SoDiffuseColorElement_initClass()"}, - { (char *)"SoDiffuseColorElement_init", _wrap_SoDiffuseColorElement_init, METH_VARARGS, (char *)"SoDiffuseColorElement_init(SoDiffuseColorElement self, SoState state)"}, - { (char *)"SoDiffuseColorElement_set", _wrap_SoDiffuseColorElement_set, METH_VARARGS, (char *)"SoDiffuseColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoDiffuseColorElement_getInstance", _wrap_SoDiffuseColorElement_getInstance, METH_VARARGS, (char *)"SoDiffuseColorElement_getInstance(SoState state) -> SoDiffuseColorElement"}, - { (char *)"SoDiffuseColorElement_getNum", _wrap_SoDiffuseColorElement_getNum, METH_VARARGS, (char *)"SoDiffuseColorElement_getNum(SoDiffuseColorElement self) -> int32_t"}, - { (char *)"SoDiffuseColorElement_get", _wrap_SoDiffuseColorElement_get, METH_VARARGS, (char *)"SoDiffuseColorElement_get(SoDiffuseColorElement self, int index) -> SbColor"}, - { (char *)"SoDiffuseColorElement_isPacked", _wrap_SoDiffuseColorElement_isPacked, METH_VARARGS, (char *)"SoDiffuseColorElement_isPacked(SoDiffuseColorElement self) -> SbBool"}, - { (char *)"SoDiffuseColorElement_hasPackedTransparency", _wrap_SoDiffuseColorElement_hasPackedTransparency, METH_VARARGS, (char *)"SoDiffuseColorElement_hasPackedTransparency(SoDiffuseColorElement self) -> SbBool"}, - { (char *)"SoDiffuseColorElement_getColorArrayPtr", _wrap_SoDiffuseColorElement_getColorArrayPtr, METH_VARARGS, (char *)"SoDiffuseColorElement_getColorArrayPtr(SoDiffuseColorElement self) -> SbColor"}, - { (char *)"SoDiffuseColorElement_getPackedArrayPtr", _wrap_SoDiffuseColorElement_getPackedArrayPtr, METH_VARARGS, (char *)"SoDiffuseColorElement_getPackedArrayPtr(SoDiffuseColorElement self) -> uint32_t"}, - { (char *)"SoDiffuseColorElement_swigregister", SoDiffuseColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLClipPlaneElement_getClassTypeId", _wrap_SoGLClipPlaneElement_getClassTypeId, METH_VARARGS, (char *)"SoGLClipPlaneElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLClipPlaneElement_getClassStackIndex", _wrap_SoGLClipPlaneElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLClipPlaneElement_getClassStackIndex() -> int"}, - { (char *)"SoGLClipPlaneElement_createInstance", _wrap_SoGLClipPlaneElement_createInstance, METH_VARARGS, (char *)"SoGLClipPlaneElement_createInstance() -> void"}, - { (char *)"SoGLClipPlaneElement_initClass", _wrap_SoGLClipPlaneElement_initClass, METH_VARARGS, (char *)"SoGLClipPlaneElement_initClass()"}, - { (char *)"SoGLClipPlaneElement_init", _wrap_SoGLClipPlaneElement_init, METH_VARARGS, (char *)"SoGLClipPlaneElement_init(SoGLClipPlaneElement self, SoState state)"}, - { (char *)"SoGLClipPlaneElement_pop", _wrap_SoGLClipPlaneElement_pop, METH_VARARGS, (char *)"SoGLClipPlaneElement_pop(SoGLClipPlaneElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLClipPlaneElement_getMaxGLPlanes", _wrap_SoGLClipPlaneElement_getMaxGLPlanes, METH_VARARGS, (char *)"SoGLClipPlaneElement_getMaxGLPlanes() -> int"}, - { (char *)"SoGLClipPlaneElement_swigregister", SoGLClipPlaneElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightElement_getClassTypeId", _wrap_SoLightElement_getClassTypeId, METH_VARARGS, (char *)"SoLightElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightElement_getClassStackIndex", _wrap_SoLightElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightElement_getClassStackIndex() -> int"}, - { (char *)"SoLightElement_createInstance", _wrap_SoLightElement_createInstance, METH_VARARGS, (char *)"SoLightElement_createInstance() -> void"}, - { (char *)"SoLightElement_initClass", _wrap_SoLightElement_initClass, METH_VARARGS, (char *)"SoLightElement_initClass()"}, - { (char *)"SoLightElement_init", _wrap_SoLightElement_init, METH_VARARGS, (char *)"SoLightElement_init(SoLightElement self, SoState state)"}, - { (char *)"SoLightElement_push", _wrap_SoLightElement_push, METH_VARARGS, (char *)"SoLightElement_push(SoLightElement self, SoState state)"}, - { (char *)"SoLightElement_add", _wrap_SoLightElement_add, METH_VARARGS, (char *)"SoLightElement_add(SoState state, SoLight light, SbMatrix matrix)"}, - { (char *)"SoLightElement_getLights", _wrap_SoLightElement_getLights, METH_VARARGS, (char *)"SoLightElement_getLights(SoState state) -> SoNodeList"}, - { (char *)"SoLightElement_getMatrix", _wrap_SoLightElement_getMatrix, METH_VARARGS, (char *)"SoLightElement_getMatrix(SoState state, int index) -> SbMatrix"}, - { (char *)"SoLightElement_swigregister", SoLightElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLModelMatrixElement_getClassTypeId", _wrap_SoGLModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLModelMatrixElement_getClassStackIndex", _wrap_SoGLModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLModelMatrixElement_createInstance", _wrap_SoGLModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLModelMatrixElement_createInstance() -> void"}, - { (char *)"SoGLModelMatrixElement_initClass", _wrap_SoGLModelMatrixElement_initClass, METH_VARARGS, (char *)"SoGLModelMatrixElement_initClass()"}, - { (char *)"SoGLModelMatrixElement_init", _wrap_SoGLModelMatrixElement_init, METH_VARARGS, (char *)"SoGLModelMatrixElement_init(SoGLModelMatrixElement self, SoState state)"}, - { (char *)"SoGLModelMatrixElement_push", _wrap_SoGLModelMatrixElement_push, METH_VARARGS, (char *)"SoGLModelMatrixElement_push(SoGLModelMatrixElement self, SoState state)"}, - { (char *)"SoGLModelMatrixElement_pop", _wrap_SoGLModelMatrixElement_pop, METH_VARARGS, (char *)"SoGLModelMatrixElement_pop(SoGLModelMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLModelMatrixElement_swigregister", SoGLModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileElement_getClassTypeId", _wrap_SoProfileElement_getClassTypeId, METH_VARARGS, (char *)"SoProfileElement_getClassTypeId() -> SoType"}, - { (char *)"SoProfileElement_getClassStackIndex", _wrap_SoProfileElement_getClassStackIndex, METH_VARARGS, (char *)"SoProfileElement_getClassStackIndex() -> int"}, - { (char *)"SoProfileElement_createInstance", _wrap_SoProfileElement_createInstance, METH_VARARGS, (char *)"SoProfileElement_createInstance() -> void"}, - { (char *)"SoProfileElement_initClass", _wrap_SoProfileElement_initClass, METH_VARARGS, (char *)"SoProfileElement_initClass()"}, - { (char *)"SoProfileElement_init", _wrap_SoProfileElement_init, METH_VARARGS, (char *)"SoProfileElement_init(SoProfileElement self, SoState state)"}, - { (char *)"SoProfileElement_push", _wrap_SoProfileElement_push, METH_VARARGS, (char *)"SoProfileElement_push(SoProfileElement self, SoState state)"}, - { (char *)"SoProfileElement_add", _wrap_SoProfileElement_add, METH_VARARGS, (char *)"SoProfileElement_add(SoState state, SoProfile profile)"}, - { (char *)"SoProfileElement_get", _wrap_SoProfileElement_get, METH_VARARGS, (char *)"SoProfileElement_get(SoState state) -> SoNodeList"}, - { (char *)"SoProfileElement_swigregister", SoProfileElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureMatrixElement_getClassTypeId", _wrap_SoTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureMatrixElement_getClassStackIndex", _wrap_SoTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureMatrixElement_createInstance", _wrap_SoTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoTextureMatrixElement_initClass", _wrap_SoTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoTextureMatrixElement_initClass()"}, - { (char *)"SoTextureMatrixElement_init", _wrap_SoTextureMatrixElement_init, METH_VARARGS, (char *)"SoTextureMatrixElement_init(SoTextureMatrixElement self, SoState state)"}, - { (char *)"SoTextureMatrixElement_push", _wrap_SoTextureMatrixElement_push, METH_VARARGS, (char *)"SoTextureMatrixElement_push(SoTextureMatrixElement self, SoState state)"}, - { (char *)"SoTextureMatrixElement_makeIdentity", _wrap_SoTextureMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoTextureMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoTextureMatrixElement_set", _wrap_SoTextureMatrixElement_set, METH_VARARGS, (char *)"SoTextureMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoTextureMatrixElement_mult", _wrap_SoTextureMatrixElement_mult, METH_VARARGS, (char *)"SoTextureMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoTextureMatrixElement_translateBy", _wrap_SoTextureMatrixElement_translateBy, METH_VARARGS, (char *)"SoTextureMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoTextureMatrixElement_rotateBy", _wrap_SoTextureMatrixElement_rotateBy, METH_VARARGS, (char *)"SoTextureMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoTextureMatrixElement_scaleBy", _wrap_SoTextureMatrixElement_scaleBy, METH_VARARGS, (char *)"SoTextureMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoTextureMatrixElement_get", _wrap_SoTextureMatrixElement_get, METH_VARARGS, (char *)"SoTextureMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoTextureMatrixElement_emptyMatrix", _wrap_SoTextureMatrixElement_emptyMatrix, METH_VARARGS, (char *)"SoTextureMatrixElement_emptyMatrix(SoState state)"}, - { (char *)"SoTextureMatrixElement_swigregister", SoTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureMatrixElement_getClassTypeId", _wrap_SoGLTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureMatrixElement_getClassStackIndex", _wrap_SoGLTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureMatrixElement_createInstance", _wrap_SoGLTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoGLTextureMatrixElement_initClass", _wrap_SoGLTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoGLTextureMatrixElement_initClass()"}, - { (char *)"SoGLTextureMatrixElement_init", _wrap_SoGLTextureMatrixElement_init, METH_VARARGS, (char *)"SoGLTextureMatrixElement_init(SoGLTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLTextureMatrixElement_pop", _wrap_SoGLTextureMatrixElement_pop, METH_VARARGS, (char *)"SoGLTextureMatrixElement_pop(SoGLTextureMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureMatrixElement_setEltIdentity", _wrap_SoGLTextureMatrixElement_setEltIdentity, METH_VARARGS, (char *)"SoGLTextureMatrixElement_setEltIdentity()"}, - { (char *)"SoGLTextureMatrixElement_setElt", _wrap_SoGLTextureMatrixElement_setElt, METH_VARARGS, (char *)"SoGLTextureMatrixElement_setElt(SoGLTextureMatrixElement self, SbMatrix matrix)"}, - { (char *)"SoGLTextureMatrixElement_makeEltIdentity", _wrap_SoGLTextureMatrixElement_makeEltIdentity, METH_VARARGS, (char *)"SoGLTextureMatrixElement_makeEltIdentity(SoGLTextureMatrixElement self)"}, - { (char *)"SoGLTextureMatrixElement_multElt", _wrap_SoGLTextureMatrixElement_multElt, METH_VARARGS, (char *)"SoGLTextureMatrixElement_multElt(SoGLTextureMatrixElement self, SbMatrix matrix)"}, - { (char *)"SoGLTextureMatrixElement_translateEltBy", _wrap_SoGLTextureMatrixElement_translateEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_translateEltBy(SoGLTextureMatrixElement self, SbVec3f translation)"}, - { (char *)"SoGLTextureMatrixElement_rotateEltBy", _wrap_SoGLTextureMatrixElement_rotateEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_rotateEltBy(SoGLTextureMatrixElement self, SbRotation translation)"}, - { (char *)"SoGLTextureMatrixElement_scaleEltBy", _wrap_SoGLTextureMatrixElement_scaleEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_scaleEltBy(SoGLTextureMatrixElement self, SbVec3f scaleFactor)"}, - { (char *)"SoGLTextureMatrixElement_swigregister", SoGLTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLDrawStyleElement_getClassTypeId", _wrap_SoGLDrawStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoGLDrawStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLDrawStyleElement_getClassStackIndex", _wrap_SoGLDrawStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLDrawStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoGLDrawStyleElement_createInstance", _wrap_SoGLDrawStyleElement_createInstance, METH_VARARGS, (char *)"SoGLDrawStyleElement_createInstance() -> void"}, - { (char *)"SoGLDrawStyleElement_initClass", _wrap_SoGLDrawStyleElement_initClass, METH_VARARGS, (char *)"SoGLDrawStyleElement_initClass()"}, - { (char *)"SoGLDrawStyleElement_init", _wrap_SoGLDrawStyleElement_init, METH_VARARGS, (char *)"SoGLDrawStyleElement_init(SoGLDrawStyleElement self, SoState state)"}, - { (char *)"SoGLDrawStyleElement_push", _wrap_SoGLDrawStyleElement_push, METH_VARARGS, (char *)"SoGLDrawStyleElement_push(SoGLDrawStyleElement self, SoState state)"}, - { (char *)"SoGLDrawStyleElement_pop", _wrap_SoGLDrawStyleElement_pop, METH_VARARGS, (char *)"SoGLDrawStyleElement_pop(SoGLDrawStyleElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLDrawStyleElement_swigregister", SoGLDrawStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLightIdElement_getClassTypeId", _wrap_SoGLLightIdElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLightIdElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLightIdElement_getClassStackIndex", _wrap_SoGLLightIdElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLightIdElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLightIdElement_createInstance", _wrap_SoGLLightIdElement_createInstance, METH_VARARGS, (char *)"SoGLLightIdElement_createInstance() -> void"}, - { (char *)"SoGLLightIdElement_initClass", _wrap_SoGLLightIdElement_initClass, METH_VARARGS, (char *)"SoGLLightIdElement_initClass()"}, - { (char *)"SoGLLightIdElement_init", _wrap_SoGLLightIdElement_init, METH_VARARGS, (char *)"SoGLLightIdElement_init(SoGLLightIdElement self, SoState state)"}, - { (char *)"SoGLLightIdElement_push", _wrap_SoGLLightIdElement_push, METH_VARARGS, (char *)"SoGLLightIdElement_push(SoGLLightIdElement self, SoState state)"}, - { (char *)"SoGLLightIdElement_pop", _wrap_SoGLLightIdElement_pop, METH_VARARGS, (char *)"SoGLLightIdElement_pop(SoGLLightIdElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLightIdElement_increment", _wrap_SoGLLightIdElement_increment, METH_VARARGS, (char *)"\n" - "increment(SoState state, SoNode node) -> int32_t\n" - "SoGLLightIdElement_increment(SoState state) -> int32_t\n" - ""}, - { (char *)"SoGLLightIdElement_get", _wrap_SoGLLightIdElement_get, METH_VARARGS, (char *)"SoGLLightIdElement_get(SoState state) -> int32_t"}, - { (char *)"SoGLLightIdElement_getDefault", _wrap_SoGLLightIdElement_getDefault, METH_VARARGS, (char *)"SoGLLightIdElement_getDefault() -> int32_t"}, - { (char *)"SoGLLightIdElement_getMaxGLSources", _wrap_SoGLLightIdElement_getMaxGLSources, METH_VARARGS, (char *)"SoGLLightIdElement_getMaxGLSources() -> int32_t"}, - { (char *)"SoGLLightIdElement_swigregister", SoGLLightIdElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureEnabledElement_getClassTypeId", _wrap_SoTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureEnabledElement_getClassStackIndex", _wrap_SoTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureEnabledElement_createInstance", _wrap_SoTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoTextureEnabledElement_initClass", _wrap_SoTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoTextureEnabledElement_initClass()"}, - { (char *)"SoTextureEnabledElement_init", _wrap_SoTextureEnabledElement_init, METH_VARARGS, (char *)"SoTextureEnabledElement_init(SoTextureEnabledElement self, SoState state)"}, - { (char *)"SoTextureEnabledElement_set", _wrap_SoTextureEnabledElement_set, METH_VARARGS, (char *)"SoTextureEnabledElement_set(SoState state, SoNode node, SbBool enabled)"}, - { (char *)"SoTextureEnabledElement_get", _wrap_SoTextureEnabledElement_get, METH_VARARGS, (char *)"SoTextureEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTextureEnabledElement_getDefault", _wrap_SoTextureEnabledElement_getDefault, METH_VARARGS, (char *)"SoTextureEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTextureEnabledElement_setElt", _wrap_SoTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoTextureEnabledElement_setElt(SoTextureEnabledElement self, int32_t value)"}, - { (char *)"SoTextureEnabledElement_swigregister", SoTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureEnabledElement_getClassTypeId", _wrap_SoGLTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureEnabledElement_getClassStackIndex", _wrap_SoGLTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureEnabledElement_createInstance", _wrap_SoGLTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoGLTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoGLTextureEnabledElement_initClass", _wrap_SoGLTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoGLTextureEnabledElement_initClass()"}, - { (char *)"SoGLTextureEnabledElement_init", _wrap_SoGLTextureEnabledElement_init, METH_VARARGS, (char *)"SoGLTextureEnabledElement_init(SoGLTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLTextureEnabledElement_push", _wrap_SoGLTextureEnabledElement_push, METH_VARARGS, (char *)"SoGLTextureEnabledElement_push(SoGLTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLTextureEnabledElement_pop", _wrap_SoGLTextureEnabledElement_pop, METH_VARARGS, (char *)"SoGLTextureEnabledElement_pop(SoGLTextureEnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureEnabledElement_set", _wrap_SoGLTextureEnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoGLTextureEnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoGLTextureEnabledElement_get", _wrap_SoGLTextureEnabledElement_get, METH_VARARGS, (char *)"SoGLTextureEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoGLTextureEnabledElement_getDefault", _wrap_SoGLTextureEnabledElement_getDefault, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoGLTextureEnabledElement_setElt", _wrap_SoGLTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoGLTextureEnabledElement_setElt(SoGLTextureEnabledElement self, int32_t value)"}, - { (char *)"SoGLTextureEnabledElement_enableRectangle", _wrap_SoGLTextureEnabledElement_enableRectangle, METH_VARARGS, (char *)"SoGLTextureEnabledElement_enableRectangle(SoState state, SoNode node)"}, - { (char *)"SoGLTextureEnabledElement_enableCubeMap", _wrap_SoGLTextureEnabledElement_enableCubeMap, METH_VARARGS, (char *)"SoGLTextureEnabledElement_enableCubeMap(SoState state, SoNode node)"}, - { (char *)"SoGLTextureEnabledElement_getMode", _wrap_SoGLTextureEnabledElement_getMode, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getMode(SoState state) -> Mode"}, - { (char *)"SoGLTextureEnabledElement_swigregister", SoGLTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3EnabledElement_getClassTypeId", _wrap_SoTexture3EnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTexture3EnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3EnabledElement_getClassStackIndex", _wrap_SoTexture3EnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTexture3EnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTexture3EnabledElement_createInstance", _wrap_SoTexture3EnabledElement_createInstance, METH_VARARGS, (char *)"SoTexture3EnabledElement_createInstance() -> void"}, - { (char *)"SoTexture3EnabledElement_initClass", _wrap_SoTexture3EnabledElement_initClass, METH_VARARGS, (char *)"SoTexture3EnabledElement_initClass()"}, - { (char *)"SoTexture3EnabledElement_init", _wrap_SoTexture3EnabledElement_init, METH_VARARGS, (char *)"SoTexture3EnabledElement_init(SoTexture3EnabledElement self, SoState state)"}, - { (char *)"SoTexture3EnabledElement_set", _wrap_SoTexture3EnabledElement_set, METH_VARARGS, (char *)"SoTexture3EnabledElement_set(SoState state, SoNode node, SbBool enabled)"}, - { (char *)"SoTexture3EnabledElement_get", _wrap_SoTexture3EnabledElement_get, METH_VARARGS, (char *)"SoTexture3EnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTexture3EnabledElement_getDefault", _wrap_SoTexture3EnabledElement_getDefault, METH_VARARGS, (char *)"SoTexture3EnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTexture3EnabledElement_setElt", _wrap_SoTexture3EnabledElement_setElt, METH_VARARGS, (char *)"SoTexture3EnabledElement_setElt(SoTexture3EnabledElement self, int32_t value)"}, - { (char *)"SoTexture3EnabledElement_swigregister", SoTexture3EnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTexture3EnabledElement_getClassTypeId", _wrap_SoGLTexture3EnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTexture3EnabledElement_getClassStackIndex", _wrap_SoGLTexture3EnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTexture3EnabledElement_createInstance", _wrap_SoGLTexture3EnabledElement_createInstance, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_createInstance() -> void"}, - { (char *)"SoGLTexture3EnabledElement_initClass", _wrap_SoGLTexture3EnabledElement_initClass, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_initClass()"}, - { (char *)"SoGLTexture3EnabledElement_init", _wrap_SoGLTexture3EnabledElement_init, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_init(SoGLTexture3EnabledElement self, SoState state)"}, - { (char *)"SoGLTexture3EnabledElement_push", _wrap_SoGLTexture3EnabledElement_push, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_push(SoGLTexture3EnabledElement self, SoState state)"}, - { (char *)"SoGLTexture3EnabledElement_pop", _wrap_SoGLTexture3EnabledElement_pop, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_pop(SoGLTexture3EnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTexture3EnabledElement_set", _wrap_SoGLTexture3EnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoGLTexture3EnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoGLTexture3EnabledElement_get", _wrap_SoGLTexture3EnabledElement_get, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoGLTexture3EnabledElement_getDefault", _wrap_SoGLTexture3EnabledElement_getDefault, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getDefault() -> SbBool"}, - { (char *)"SoGLTexture3EnabledElement_setElt", _wrap_SoGLTexture3EnabledElement_setElt, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_setElt(SoGLTexture3EnabledElement self, int32_t value)"}, - { (char *)"SoGLTexture3EnabledElement_swigregister", SoGLTexture3EnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLinePatternElement_getClassTypeId", _wrap_SoLinePatternElement_getClassTypeId, METH_VARARGS, (char *)"SoLinePatternElement_getClassTypeId() -> SoType"}, - { (char *)"SoLinePatternElement_getClassStackIndex", _wrap_SoLinePatternElement_getClassStackIndex, METH_VARARGS, (char *)"SoLinePatternElement_getClassStackIndex() -> int"}, - { (char *)"SoLinePatternElement_createInstance", _wrap_SoLinePatternElement_createInstance, METH_VARARGS, (char *)"SoLinePatternElement_createInstance() -> void"}, - { (char *)"SoLinePatternElement_initClass", _wrap_SoLinePatternElement_initClass, METH_VARARGS, (char *)"SoLinePatternElement_initClass()"}, - { (char *)"SoLinePatternElement_init", _wrap_SoLinePatternElement_init, METH_VARARGS, (char *)"SoLinePatternElement_init(SoLinePatternElement self, SoState state)"}, - { (char *)"SoLinePatternElement_set", _wrap_SoLinePatternElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t pattern)\n" - "SoLinePatternElement_set(SoState state, int32_t pattern)\n" - ""}, - { (char *)"SoLinePatternElement_get", _wrap_SoLinePatternElement_get, METH_VARARGS, (char *)"SoLinePatternElement_get(SoState state) -> int32_t"}, - { (char *)"SoLinePatternElement_getDefault", _wrap_SoLinePatternElement_getDefault, METH_VARARGS, (char *)"SoLinePatternElement_getDefault() -> int32_t"}, - { (char *)"SoLinePatternElement_swigregister", SoLinePatternElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLinePatternElement_getClassTypeId", _wrap_SoGLLinePatternElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLinePatternElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLinePatternElement_getClassStackIndex", _wrap_SoGLLinePatternElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLinePatternElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLinePatternElement_createInstance", _wrap_SoGLLinePatternElement_createInstance, METH_VARARGS, (char *)"SoGLLinePatternElement_createInstance() -> void"}, - { (char *)"SoGLLinePatternElement_initClass", _wrap_SoGLLinePatternElement_initClass, METH_VARARGS, (char *)"SoGLLinePatternElement_initClass()"}, - { (char *)"SoGLLinePatternElement_init", _wrap_SoGLLinePatternElement_init, METH_VARARGS, (char *)"SoGLLinePatternElement_init(SoGLLinePatternElement self, SoState state)"}, - { (char *)"SoGLLinePatternElement_push", _wrap_SoGLLinePatternElement_push, METH_VARARGS, (char *)"SoGLLinePatternElement_push(SoGLLinePatternElement self, SoState state)"}, - { (char *)"SoGLLinePatternElement_pop", _wrap_SoGLLinePatternElement_pop, METH_VARARGS, (char *)"SoGLLinePatternElement_pop(SoGLLinePatternElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLinePatternElement_swigregister", SoGLLinePatternElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSwitchElement_getClassTypeId", _wrap_SoSwitchElement_getClassTypeId, METH_VARARGS, (char *)"SoSwitchElement_getClassTypeId() -> SoType"}, - { (char *)"SoSwitchElement_getClassStackIndex", _wrap_SoSwitchElement_getClassStackIndex, METH_VARARGS, (char *)"SoSwitchElement_getClassStackIndex() -> int"}, - { (char *)"SoSwitchElement_createInstance", _wrap_SoSwitchElement_createInstance, METH_VARARGS, (char *)"SoSwitchElement_createInstance() -> void"}, - { (char *)"SoSwitchElement_initClass", _wrap_SoSwitchElement_initClass, METH_VARARGS, (char *)"SoSwitchElement_initClass()"}, - { (char *)"SoSwitchElement_init", _wrap_SoSwitchElement_init, METH_VARARGS, (char *)"SoSwitchElement_init(SoSwitchElement self, SoState state)"}, - { (char *)"SoSwitchElement_set", _wrap_SoSwitchElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t index)\n" - "SoSwitchElement_set(SoState state, int32_t index)\n" - ""}, - { (char *)"SoSwitchElement_get", _wrap_SoSwitchElement_get, METH_VARARGS, (char *)"SoSwitchElement_get(SoState state) -> int32_t"}, - { (char *)"SoSwitchElement_getDefault", _wrap_SoSwitchElement_getDefault, METH_VARARGS, (char *)"SoSwitchElement_getDefault() -> int32_t"}, - { (char *)"SoSwitchElement_swigregister", SoSwitchElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextOutlineEnabledElement_getClassTypeId", _wrap_SoTextOutlineEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextOutlineEnabledElement_getClassStackIndex", _wrap_SoTextOutlineEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTextOutlineEnabledElement_createInstance", _wrap_SoTextOutlineEnabledElement_createInstance, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_createInstance() -> void"}, - { (char *)"SoTextOutlineEnabledElement_initClass", _wrap_SoTextOutlineEnabledElement_initClass, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_initClass()"}, - { (char *)"SoTextOutlineEnabledElement_init", _wrap_SoTextOutlineEnabledElement_init, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_init(SoTextOutlineEnabledElement self, SoState state)"}, - { (char *)"SoTextOutlineEnabledElement_push", _wrap_SoTextOutlineEnabledElement_push, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_push(SoTextOutlineEnabledElement self, SoState state)"}, - { (char *)"SoTextOutlineEnabledElement_pop", _wrap_SoTextOutlineEnabledElement_pop, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_pop(SoTextOutlineEnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoTextOutlineEnabledElement_set", _wrap_SoTextOutlineEnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoTextOutlineEnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoTextOutlineEnabledElement_get", _wrap_SoTextOutlineEnabledElement_get, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTextOutlineEnabledElement_getDefault", _wrap_SoTextOutlineEnabledElement_getDefault, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTextOutlineEnabledElement_swigregister", SoTextOutlineEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoUnitsElement_getClassTypeId", _wrap_SoUnitsElement_getClassTypeId, METH_VARARGS, (char *)"SoUnitsElement_getClassTypeId() -> SoType"}, - { (char *)"SoUnitsElement_getClassStackIndex", _wrap_SoUnitsElement_getClassStackIndex, METH_VARARGS, (char *)"SoUnitsElement_getClassStackIndex() -> int"}, - { (char *)"SoUnitsElement_createInstance", _wrap_SoUnitsElement_createInstance, METH_VARARGS, (char *)"SoUnitsElement_createInstance() -> void"}, - { (char *)"SoUnitsElement_initClass", _wrap_SoUnitsElement_initClass, METH_VARARGS, (char *)"SoUnitsElement_initClass()"}, - { (char *)"SoUnitsElement_init", _wrap_SoUnitsElement_init, METH_VARARGS, (char *)"SoUnitsElement_init(SoUnitsElement self, SoState state)"}, - { (char *)"SoUnitsElement_set", _wrap_SoUnitsElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Units units)\n" - "SoUnitsElement_set(SoState state, Units units)\n" - ""}, - { (char *)"SoUnitsElement_get", _wrap_SoUnitsElement_get, METH_VARARGS, (char *)"SoUnitsElement_get(SoState state) -> Units"}, - { (char *)"SoUnitsElement_getDefault", _wrap_SoUnitsElement_getDefault, METH_VARARGS, (char *)"SoUnitsElement_getDefault() -> Units"}, - { (char *)"SoUnitsElement_swigregister", SoUnitsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFocalDistanceElement_getClassTypeId", _wrap_SoFocalDistanceElement_getClassTypeId, METH_VARARGS, (char *)"SoFocalDistanceElement_getClassTypeId() -> SoType"}, - { (char *)"SoFocalDistanceElement_getClassStackIndex", _wrap_SoFocalDistanceElement_getClassStackIndex, METH_VARARGS, (char *)"SoFocalDistanceElement_getClassStackIndex() -> int"}, - { (char *)"SoFocalDistanceElement_createInstance", _wrap_SoFocalDistanceElement_createInstance, METH_VARARGS, (char *)"SoFocalDistanceElement_createInstance() -> void"}, - { (char *)"SoFocalDistanceElement_initClass", _wrap_SoFocalDistanceElement_initClass, METH_VARARGS, (char *)"SoFocalDistanceElement_initClass()"}, - { (char *)"SoFocalDistanceElement_init", _wrap_SoFocalDistanceElement_init, METH_VARARGS, (char *)"SoFocalDistanceElement_init(SoFocalDistanceElement self, SoState state)"}, - { (char *)"SoFocalDistanceElement_set", _wrap_SoFocalDistanceElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float distance)\n" - "SoFocalDistanceElement_set(SoState state, float distance)\n" - ""}, - { (char *)"SoFocalDistanceElement_get", _wrap_SoFocalDistanceElement_get, METH_VARARGS, (char *)"SoFocalDistanceElement_get(SoState state) -> float"}, - { (char *)"SoFocalDistanceElement_getDefault", _wrap_SoFocalDistanceElement_getDefault, METH_VARARGS, (char *)"SoFocalDistanceElement_getDefault() -> float"}, - { (char *)"SoFocalDistanceElement_swigregister", SoFocalDistanceElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontSizeElement_getClassTypeId", _wrap_SoFontSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoFontSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoFontSizeElement_getClassStackIndex", _wrap_SoFontSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoFontSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoFontSizeElement_createInstance", _wrap_SoFontSizeElement_createInstance, METH_VARARGS, (char *)"SoFontSizeElement_createInstance() -> void"}, - { (char *)"SoFontSizeElement_initClass", _wrap_SoFontSizeElement_initClass, METH_VARARGS, (char *)"SoFontSizeElement_initClass()"}, - { (char *)"SoFontSizeElement_init", _wrap_SoFontSizeElement_init, METH_VARARGS, (char *)"SoFontSizeElement_init(SoFontSizeElement self, SoState state)"}, - { (char *)"SoFontSizeElement_set", _wrap_SoFontSizeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float fontSize)\n" - "SoFontSizeElement_set(SoState state, float fontSize)\n" - ""}, - { (char *)"SoFontSizeElement_get", _wrap_SoFontSizeElement_get, METH_VARARGS, (char *)"SoFontSizeElement_get(SoState state) -> float"}, - { (char *)"SoFontSizeElement_getDefault", _wrap_SoFontSizeElement_getDefault, METH_VARARGS, (char *)"SoFontSizeElement_getDefault() -> float"}, - { (char *)"SoFontSizeElement_swigregister", SoFontSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineWidthElement_getClassTypeId", _wrap_SoLineWidthElement_getClassTypeId, METH_VARARGS, (char *)"SoLineWidthElement_getClassTypeId() -> SoType"}, - { (char *)"SoLineWidthElement_getClassStackIndex", _wrap_SoLineWidthElement_getClassStackIndex, METH_VARARGS, (char *)"SoLineWidthElement_getClassStackIndex() -> int"}, - { (char *)"SoLineWidthElement_createInstance", _wrap_SoLineWidthElement_createInstance, METH_VARARGS, (char *)"SoLineWidthElement_createInstance() -> void"}, - { (char *)"SoLineWidthElement_initClass", _wrap_SoLineWidthElement_initClass, METH_VARARGS, (char *)"SoLineWidthElement_initClass()"}, - { (char *)"SoLineWidthElement_init", _wrap_SoLineWidthElement_init, METH_VARARGS, (char *)"SoLineWidthElement_init(SoLineWidthElement self, SoState state)"}, - { (char *)"SoLineWidthElement_set", _wrap_SoLineWidthElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float lineWidth)\n" - "SoLineWidthElement_set(SoState state, float lineWidth)\n" - ""}, - { (char *)"SoLineWidthElement_get", _wrap_SoLineWidthElement_get, METH_VARARGS, (char *)"SoLineWidthElement_get(SoState state) -> float"}, - { (char *)"SoLineWidthElement_getDefault", _wrap_SoLineWidthElement_getDefault, METH_VARARGS, (char *)"SoLineWidthElement_getDefault() -> float"}, - { (char *)"SoLineWidthElement_swigregister", SoLineWidthElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLineWidthElement_getClassTypeId", _wrap_SoGLLineWidthElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLineWidthElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLineWidthElement_getClassStackIndex", _wrap_SoGLLineWidthElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLineWidthElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLineWidthElement_createInstance", _wrap_SoGLLineWidthElement_createInstance, METH_VARARGS, (char *)"SoGLLineWidthElement_createInstance() -> void"}, - { (char *)"SoGLLineWidthElement_initClass", _wrap_SoGLLineWidthElement_initClass, METH_VARARGS, (char *)"SoGLLineWidthElement_initClass()"}, - { (char *)"SoGLLineWidthElement_init", _wrap_SoGLLineWidthElement_init, METH_VARARGS, (char *)"SoGLLineWidthElement_init(SoGLLineWidthElement self, SoState state)"}, - { (char *)"SoGLLineWidthElement_push", _wrap_SoGLLineWidthElement_push, METH_VARARGS, (char *)"SoGLLineWidthElement_push(SoGLLineWidthElement self, SoState state)"}, - { (char *)"SoGLLineWidthElement_pop", _wrap_SoGLLineWidthElement_pop, METH_VARARGS, (char *)"SoGLLineWidthElement_pop(SoGLLineWidthElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLineWidthElement_swigregister", SoGLLineWidthElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointSizeElement_getClassTypeId", _wrap_SoPointSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoPointSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoPointSizeElement_getClassStackIndex", _wrap_SoPointSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoPointSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoPointSizeElement_createInstance", _wrap_SoPointSizeElement_createInstance, METH_VARARGS, (char *)"SoPointSizeElement_createInstance() -> void"}, - { (char *)"SoPointSizeElement_initClass", _wrap_SoPointSizeElement_initClass, METH_VARARGS, (char *)"SoPointSizeElement_initClass()"}, - { (char *)"SoPointSizeElement_init", _wrap_SoPointSizeElement_init, METH_VARARGS, (char *)"SoPointSizeElement_init(SoPointSizeElement self, SoState state)"}, - { (char *)"SoPointSizeElement_set", _wrap_SoPointSizeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float pointSize)\n" - "SoPointSizeElement_set(SoState state, float pointSize)\n" - ""}, - { (char *)"SoPointSizeElement_get", _wrap_SoPointSizeElement_get, METH_VARARGS, (char *)"SoPointSizeElement_get(SoState state) -> float"}, - { (char *)"SoPointSizeElement_getDefault", _wrap_SoPointSizeElement_getDefault, METH_VARARGS, (char *)"SoPointSizeElement_getDefault() -> float"}, - { (char *)"SoPointSizeElement_swigregister", SoPointSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLPointSizeElement_getClassTypeId", _wrap_SoGLPointSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoGLPointSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLPointSizeElement_getClassStackIndex", _wrap_SoGLPointSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLPointSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoGLPointSizeElement_createInstance", _wrap_SoGLPointSizeElement_createInstance, METH_VARARGS, (char *)"SoGLPointSizeElement_createInstance() -> void"}, - { (char *)"SoGLPointSizeElement_initClass", _wrap_SoGLPointSizeElement_initClass, METH_VARARGS, (char *)"SoGLPointSizeElement_initClass()"}, - { (char *)"SoGLPointSizeElement_init", _wrap_SoGLPointSizeElement_init, METH_VARARGS, (char *)"SoGLPointSizeElement_init(SoGLPointSizeElement self, SoState state)"}, - { (char *)"SoGLPointSizeElement_push", _wrap_SoGLPointSizeElement_push, METH_VARARGS, (char *)"SoGLPointSizeElement_push(SoGLPointSizeElement self, SoState state)"}, - { (char *)"SoGLPointSizeElement_pop", _wrap_SoGLPointSizeElement_pop, METH_VARARGS, (char *)"SoGLPointSizeElement_pop(SoGLPointSizeElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLPointSizeElement_swigregister", SoGLPointSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureQualityElement_getClassTypeId", _wrap_SoTextureQualityElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureQualityElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureQualityElement_getClassStackIndex", _wrap_SoTextureQualityElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureQualityElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureQualityElement_createInstance", _wrap_SoTextureQualityElement_createInstance, METH_VARARGS, (char *)"SoTextureQualityElement_createInstance() -> void"}, - { (char *)"SoTextureQualityElement_initClass", _wrap_SoTextureQualityElement_initClass, METH_VARARGS, (char *)"SoTextureQualityElement_initClass()"}, - { (char *)"SoTextureQualityElement_init", _wrap_SoTextureQualityElement_init, METH_VARARGS, (char *)"SoTextureQualityElement_init(SoTextureQualityElement self, SoState state)"}, - { (char *)"SoTextureQualityElement_set", _wrap_SoTextureQualityElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float quality)\n" - "SoTextureQualityElement_set(SoState state, float quality)\n" - ""}, - { (char *)"SoTextureQualityElement_get", _wrap_SoTextureQualityElement_get, METH_VARARGS, (char *)"SoTextureQualityElement_get(SoState state) -> float"}, - { (char *)"SoTextureQualityElement_getDefault", _wrap_SoTextureQualityElement_getDefault, METH_VARARGS, (char *)"SoTextureQualityElement_getDefault() -> float"}, - { (char *)"SoTextureQualityElement_swigregister", SoTextureQualityElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureOverrideElement_getClassTypeId", _wrap_SoTextureOverrideElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureOverrideElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureOverrideElement_getClassStackIndex", _wrap_SoTextureOverrideElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureOverrideElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureOverrideElement_createInstance", _wrap_SoTextureOverrideElement_createInstance, METH_VARARGS, (char *)"SoTextureOverrideElement_createInstance() -> void"}, - { (char *)"SoTextureOverrideElement_initClass", _wrap_SoTextureOverrideElement_initClass, METH_VARARGS, (char *)"SoTextureOverrideElement_initClass()"}, - { (char *)"SoTextureOverrideElement_matches", _wrap_SoTextureOverrideElement_matches, METH_VARARGS, (char *)"SoTextureOverrideElement_matches(SoTextureOverrideElement self, SoElement element) -> SbBool"}, - { (char *)"SoTextureOverrideElement_copyMatchInfo", _wrap_SoTextureOverrideElement_copyMatchInfo, METH_VARARGS, (char *)"SoTextureOverrideElement_copyMatchInfo(SoTextureOverrideElement self) -> SoElement"}, - { (char *)"SoTextureOverrideElement_init", _wrap_SoTextureOverrideElement_init, METH_VARARGS, (char *)"SoTextureOverrideElement_init(SoTextureOverrideElement self, SoState state)"}, - { (char *)"SoTextureOverrideElement_push", _wrap_SoTextureOverrideElement_push, METH_VARARGS, (char *)"SoTextureOverrideElement_push(SoTextureOverrideElement self, SoState state)"}, - { (char *)"SoTextureOverrideElement_getQualityOverride", _wrap_SoTextureOverrideElement_getQualityOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getQualityOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_getImageOverride", _wrap_SoTextureOverrideElement_getImageOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getImageOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_getBumpMapOverride", _wrap_SoTextureOverrideElement_getBumpMapOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getBumpMapOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_setQualityOverride", _wrap_SoTextureOverrideElement_setQualityOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setQualityOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_setImageOverride", _wrap_SoTextureOverrideElement_setImageOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setImageOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_setBumpMapOverride", _wrap_SoTextureOverrideElement_setBumpMapOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setBumpMapOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_output", _wrap_SoTextureOverrideElement_output, METH_VARARGS, (char *)"SoTextureOverrideElement_output(SoTextureOverrideElement self, FILE fp)"}, - { (char *)"SoTextureOverrideElement_swigregister", SoTextureOverrideElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLRenderPassElement_getClassTypeId", _wrap_SoGLRenderPassElement_getClassTypeId, METH_VARARGS, (char *)"SoGLRenderPassElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLRenderPassElement_getClassStackIndex", _wrap_SoGLRenderPassElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLRenderPassElement_getClassStackIndex() -> int"}, - { (char *)"SoGLRenderPassElement_createInstance", _wrap_SoGLRenderPassElement_createInstance, METH_VARARGS, (char *)"SoGLRenderPassElement_createInstance() -> void"}, - { (char *)"SoGLRenderPassElement_initClass", _wrap_SoGLRenderPassElement_initClass, METH_VARARGS, (char *)"SoGLRenderPassElement_initClass()"}, - { (char *)"SoGLRenderPassElement_init", _wrap_SoGLRenderPassElement_init, METH_VARARGS, (char *)"SoGLRenderPassElement_init(SoGLRenderPassElement self, SoState state)"}, - { (char *)"SoGLRenderPassElement_matches", _wrap_SoGLRenderPassElement_matches, METH_VARARGS, (char *)"SoGLRenderPassElement_matches(SoGLRenderPassElement self, SoElement element) -> SbBool"}, - { (char *)"SoGLRenderPassElement_copyMatchInfo", _wrap_SoGLRenderPassElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLRenderPassElement_copyMatchInfo(SoGLRenderPassElement self) -> SoElement"}, - { (char *)"SoGLRenderPassElement_set", _wrap_SoGLRenderPassElement_set, METH_VARARGS, (char *)"SoGLRenderPassElement_set(SoState state, int passNumber)"}, - { (char *)"SoGLRenderPassElement_get", _wrap_SoGLRenderPassElement_get, METH_VARARGS, (char *)"SoGLRenderPassElement_get(SoState state) -> int"}, - { (char *)"SoGLRenderPassElement_swigregister", SoGLRenderPassElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLUpdateAreaElement_getClassTypeId", _wrap_SoGLUpdateAreaElement_getClassTypeId, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLUpdateAreaElement_getClassStackIndex", _wrap_SoGLUpdateAreaElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getClassStackIndex() -> int"}, - { (char *)"SoGLUpdateAreaElement_createInstance", _wrap_SoGLUpdateAreaElement_createInstance, METH_VARARGS, (char *)"SoGLUpdateAreaElement_createInstance() -> void"}, - { (char *)"SoGLUpdateAreaElement_initClass", _wrap_SoGLUpdateAreaElement_initClass, METH_VARARGS, (char *)"SoGLUpdateAreaElement_initClass()"}, - { (char *)"SoGLUpdateAreaElement_init", _wrap_SoGLUpdateAreaElement_init, METH_VARARGS, (char *)"SoGLUpdateAreaElement_init(SoGLUpdateAreaElement self, SoState state)"}, - { (char *)"SoGLUpdateAreaElement_push", _wrap_SoGLUpdateAreaElement_push, METH_VARARGS, (char *)"SoGLUpdateAreaElement_push(SoGLUpdateAreaElement self, SoState state)"}, - { (char *)"SoGLUpdateAreaElement_pop", _wrap_SoGLUpdateAreaElement_pop, METH_VARARGS, (char *)"SoGLUpdateAreaElement_pop(SoGLUpdateAreaElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLUpdateAreaElement_matches", _wrap_SoGLUpdateAreaElement_matches, METH_VARARGS, (char *)"SoGLUpdateAreaElement_matches(SoGLUpdateAreaElement self, SoElement element) -> SbBool"}, - { (char *)"SoGLUpdateAreaElement_copyMatchInfo", _wrap_SoGLUpdateAreaElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLUpdateAreaElement_copyMatchInfo(SoGLUpdateAreaElement self) -> SoElement"}, - { (char *)"SoGLUpdateAreaElement_set", _wrap_SoGLUpdateAreaElement_set, METH_VARARGS, (char *)"SoGLUpdateAreaElement_set(SoState state, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLUpdateAreaElement_get", _wrap_SoGLUpdateAreaElement_get, METH_VARARGS, (char *)"SoGLUpdateAreaElement_get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool"}, - { (char *)"SoGLUpdateAreaElement_getDefaultOrigin", _wrap_SoGLUpdateAreaElement_getDefaultOrigin, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getDefaultOrigin() -> SbVec2f"}, - { (char *)"SoGLUpdateAreaElement_getDefaultSize", _wrap_SoGLUpdateAreaElement_getDefaultSize, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getDefaultSize() -> SbVec2f"}, - { (char *)"SoGLUpdateAreaElement_swigregister", SoGLUpdateAreaElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocalBBoxMatrixElement_getClassTypeId", _wrap_SoLocalBBoxMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoLocalBBoxMatrixElement_getClassStackIndex", _wrap_SoLocalBBoxMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoLocalBBoxMatrixElement_createInstance", _wrap_SoLocalBBoxMatrixElement_createInstance, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_createInstance() -> void"}, - { (char *)"SoLocalBBoxMatrixElement_initClass", _wrap_SoLocalBBoxMatrixElement_initClass, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_initClass()"}, - { (char *)"SoLocalBBoxMatrixElement_init", _wrap_SoLocalBBoxMatrixElement_init, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_init(SoLocalBBoxMatrixElement self, SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_push", _wrap_SoLocalBBoxMatrixElement_push, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_push(SoLocalBBoxMatrixElement self, SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_makeIdentity", _wrap_SoLocalBBoxMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_makeIdentity(SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_set", _wrap_SoLocalBBoxMatrixElement_set, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_set(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_mult", _wrap_SoLocalBBoxMatrixElement_mult, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_mult(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_translateBy", _wrap_SoLocalBBoxMatrixElement_translateBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_translateBy(SoState state, SbVec3f translation)"}, - { (char *)"SoLocalBBoxMatrixElement_rotateBy", _wrap_SoLocalBBoxMatrixElement_rotateBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_rotateBy(SoState state, SbRotation rotation)"}, - { (char *)"SoLocalBBoxMatrixElement_scaleBy", _wrap_SoLocalBBoxMatrixElement_scaleBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_scaleBy(SoState state, SbVec3f scaleFactor)"}, - { (char *)"SoLocalBBoxMatrixElement_pushMatrix", _wrap_SoLocalBBoxMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_pushMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoLocalBBoxMatrixElement_popMatrix", _wrap_SoLocalBBoxMatrixElement_popMatrix, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_popMatrix(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_resetAll", _wrap_SoLocalBBoxMatrixElement_resetAll, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_resetAll(SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_get", _wrap_SoLocalBBoxMatrixElement_get, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoLocalBBoxMatrixElement_matches", _wrap_SoLocalBBoxMatrixElement_matches, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_matches(SoLocalBBoxMatrixElement self, SoElement element) -> SbBool"}, - { (char *)"SoLocalBBoxMatrixElement_copyMatchInfo", _wrap_SoLocalBBoxMatrixElement_copyMatchInfo, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_copyMatchInfo(SoLocalBBoxMatrixElement self) -> SoElement"}, - { (char *)"SoLocalBBoxMatrixElement_swigregister", SoLocalBBoxMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOverrideElement_getClassTypeId", _wrap_SoOverrideElement_getClassTypeId, METH_VARARGS, (char *)"SoOverrideElement_getClassTypeId() -> SoType"}, - { (char *)"SoOverrideElement_getClassStackIndex", _wrap_SoOverrideElement_getClassStackIndex, METH_VARARGS, (char *)"SoOverrideElement_getClassStackIndex() -> int"}, - { (char *)"SoOverrideElement_createInstance", _wrap_SoOverrideElement_createInstance, METH_VARARGS, (char *)"SoOverrideElement_createInstance() -> void"}, - { (char *)"SoOverrideElement_initClass", _wrap_SoOverrideElement_initClass, METH_VARARGS, (char *)"SoOverrideElement_initClass()"}, - { (char *)"SoOverrideElement_init", _wrap_SoOverrideElement_init, METH_VARARGS, (char *)"SoOverrideElement_init(SoOverrideElement self, SoState state)"}, - { (char *)"SoOverrideElement_push", _wrap_SoOverrideElement_push, METH_VARARGS, (char *)"SoOverrideElement_push(SoOverrideElement self, SoState state)"}, - { (char *)"SoOverrideElement_matches", _wrap_SoOverrideElement_matches, METH_VARARGS, (char *)"SoOverrideElement_matches(SoOverrideElement self, SoElement element) -> SbBool"}, - { (char *)"SoOverrideElement_copyMatchInfo", _wrap_SoOverrideElement_copyMatchInfo, METH_VARARGS, (char *)"SoOverrideElement_copyMatchInfo(SoOverrideElement self) -> SoElement"}, - { (char *)"SoOverrideElement_getFlags", _wrap_SoOverrideElement_getFlags, METH_VARARGS, (char *)"SoOverrideElement_getFlags(SoState state) -> uint32_t"}, - { (char *)"SoOverrideElement_getAmbientColorOverride", _wrap_SoOverrideElement_getAmbientColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getAmbientColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getColorIndexOverride", _wrap_SoOverrideElement_getColorIndexOverride, METH_VARARGS, (char *)"SoOverrideElement_getColorIndexOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getComplexityOverride", _wrap_SoOverrideElement_getComplexityOverride, METH_VARARGS, (char *)"SoOverrideElement_getComplexityOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getComplexityTypeOverride", _wrap_SoOverrideElement_getComplexityTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_getComplexityTypeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getCreaseAngleOverride", _wrap_SoOverrideElement_getCreaseAngleOverride, METH_VARARGS, (char *)"SoOverrideElement_getCreaseAngleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getDiffuseColorOverride", _wrap_SoOverrideElement_getDiffuseColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getDiffuseColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getDrawStyleOverride", _wrap_SoOverrideElement_getDrawStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_getDrawStyleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getEmissiveColorOverride", _wrap_SoOverrideElement_getEmissiveColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getEmissiveColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getFontNameOverride", _wrap_SoOverrideElement_getFontNameOverride, METH_VARARGS, (char *)"SoOverrideElement_getFontNameOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getFontSizeOverride", _wrap_SoOverrideElement_getFontSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_getFontSizeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLightModelOverride", _wrap_SoOverrideElement_getLightModelOverride, METH_VARARGS, (char *)"SoOverrideElement_getLightModelOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLinePatternOverride", _wrap_SoOverrideElement_getLinePatternOverride, METH_VARARGS, (char *)"SoOverrideElement_getLinePatternOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLineWidthOverride", _wrap_SoOverrideElement_getLineWidthOverride, METH_VARARGS, (char *)"SoOverrideElement_getLineWidthOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getMaterialBindingOverride", _wrap_SoOverrideElement_getMaterialBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_getMaterialBindingOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPickStyleOverride", _wrap_SoOverrideElement_getPickStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_getPickStyleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPointSizeOverride", _wrap_SoOverrideElement_getPointSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_getPointSizeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPolygonOffsetOverride", _wrap_SoOverrideElement_getPolygonOffsetOverride, METH_VARARGS, (char *)"SoOverrideElement_getPolygonOffsetOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getShapeHintsOverride", _wrap_SoOverrideElement_getShapeHintsOverride, METH_VARARGS, (char *)"SoOverrideElement_getShapeHintsOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getShininessOverride", _wrap_SoOverrideElement_getShininessOverride, METH_VARARGS, (char *)"SoOverrideElement_getShininessOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getSpecularColorOverride", _wrap_SoOverrideElement_getSpecularColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getSpecularColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getTransparencyOverride", _wrap_SoOverrideElement_getTransparencyOverride, METH_VARARGS, (char *)"SoOverrideElement_getTransparencyOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getTransparencyTypeOverride", _wrap_SoOverrideElement_getTransparencyTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_getTransparencyTypeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getNormalVectorOverride", _wrap_SoOverrideElement_getNormalVectorOverride, METH_VARARGS, (char *)"SoOverrideElement_getNormalVectorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getNormalBindingOverride", _wrap_SoOverrideElement_getNormalBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_getNormalBindingOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_setAmbientColorOverride", _wrap_SoOverrideElement_setAmbientColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setAmbientColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setColorIndexOverride", _wrap_SoOverrideElement_setColorIndexOverride, METH_VARARGS, (char *)"SoOverrideElement_setColorIndexOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setComplexityOverride", _wrap_SoOverrideElement_setComplexityOverride, METH_VARARGS, (char *)"SoOverrideElement_setComplexityOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setComplexityTypeOverride", _wrap_SoOverrideElement_setComplexityTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_setComplexityTypeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setCreaseAngleOverride", _wrap_SoOverrideElement_setCreaseAngleOverride, METH_VARARGS, (char *)"SoOverrideElement_setCreaseAngleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setDiffuseColorOverride", _wrap_SoOverrideElement_setDiffuseColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setDiffuseColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setDrawStyleOverride", _wrap_SoOverrideElement_setDrawStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_setDrawStyleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setEmissiveColorOverride", _wrap_SoOverrideElement_setEmissiveColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setEmissiveColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setFontNameOverride", _wrap_SoOverrideElement_setFontNameOverride, METH_VARARGS, (char *)"SoOverrideElement_setFontNameOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setFontSizeOverride", _wrap_SoOverrideElement_setFontSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_setFontSizeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLightModelOverride", _wrap_SoOverrideElement_setLightModelOverride, METH_VARARGS, (char *)"SoOverrideElement_setLightModelOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLinePatternOverride", _wrap_SoOverrideElement_setLinePatternOverride, METH_VARARGS, (char *)"SoOverrideElement_setLinePatternOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLineWidthOverride", _wrap_SoOverrideElement_setLineWidthOverride, METH_VARARGS, (char *)"SoOverrideElement_setLineWidthOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setMaterialBindingOverride", _wrap_SoOverrideElement_setMaterialBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_setMaterialBindingOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPickStyleOverride", _wrap_SoOverrideElement_setPickStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_setPickStyleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPointSizeOverride", _wrap_SoOverrideElement_setPointSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_setPointSizeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPolygonOffsetOverride", _wrap_SoOverrideElement_setPolygonOffsetOverride, METH_VARARGS, (char *)"SoOverrideElement_setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setShapeHintsOverride", _wrap_SoOverrideElement_setShapeHintsOverride, METH_VARARGS, (char *)"SoOverrideElement_setShapeHintsOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setShininessOverride", _wrap_SoOverrideElement_setShininessOverride, METH_VARARGS, (char *)"SoOverrideElement_setShininessOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setSpecularColorOverride", _wrap_SoOverrideElement_setSpecularColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setSpecularColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setTransparencyOverride", _wrap_SoOverrideElement_setTransparencyOverride, METH_VARARGS, (char *)"SoOverrideElement_setTransparencyOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setTransparencyTypeOverride", _wrap_SoOverrideElement_setTransparencyTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setNormalVectorOverride", _wrap_SoOverrideElement_setNormalVectorOverride, METH_VARARGS, (char *)"SoOverrideElement_setNormalVectorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setNormalBindingOverride", _wrap_SoOverrideElement_setNormalBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_setNormalBindingOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_output", _wrap_SoOverrideElement_output, METH_VARARGS, (char *)"SoOverrideElement_output(SoOverrideElement self, FILE file)"}, - { (char *)"SoOverrideElement_swigregister", SoOverrideElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickRayElement_getClassTypeId", _wrap_SoPickRayElement_getClassTypeId, METH_VARARGS, (char *)"SoPickRayElement_getClassTypeId() -> SoType"}, - { (char *)"SoPickRayElement_getClassStackIndex", _wrap_SoPickRayElement_getClassStackIndex, METH_VARARGS, (char *)"SoPickRayElement_getClassStackIndex() -> int"}, - { (char *)"SoPickRayElement_createInstance", _wrap_SoPickRayElement_createInstance, METH_VARARGS, (char *)"SoPickRayElement_createInstance() -> void"}, - { (char *)"SoPickRayElement_initClass", _wrap_SoPickRayElement_initClass, METH_VARARGS, (char *)"SoPickRayElement_initClass()"}, - { (char *)"SoPickRayElement_init", _wrap_SoPickRayElement_init, METH_VARARGS, (char *)"SoPickRayElement_init(SoPickRayElement self, SoState state)"}, - { (char *)"SoPickRayElement_matches", _wrap_SoPickRayElement_matches, METH_VARARGS, (char *)"SoPickRayElement_matches(SoPickRayElement self, SoElement element) -> SbBool"}, - { (char *)"SoPickRayElement_copyMatchInfo", _wrap_SoPickRayElement_copyMatchInfo, METH_VARARGS, (char *)"SoPickRayElement_copyMatchInfo(SoPickRayElement self) -> SoElement"}, - { (char *)"SoPickRayElement_set", _wrap_SoPickRayElement_set, METH_VARARGS, (char *)"SoPickRayElement_set(SoState state, SbViewVolume volume)"}, - { (char *)"SoPickRayElement_get", _wrap_SoPickRayElement_get, METH_VARARGS, (char *)"SoPickRayElement_get(SoState state) -> SbViewVolume"}, - { (char *)"SoPickRayElement_swigregister", SoPickRayElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCoordinateElement_getClassTypeId", _wrap_SoGLCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLCoordinateElement_getClassStackIndex", _wrap_SoGLCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLCoordinateElement_createInstance", _wrap_SoGLCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLCoordinateElement_initClass", _wrap_SoGLCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLCoordinateElement_initClass()"}, - { (char *)"SoGLCoordinateElement_getPtr3", _wrap_SoGLCoordinateElement_getPtr3, METH_VARARGS, (char *)"SoGLCoordinateElement_getPtr3(SoGLCoordinateElement self) -> SbVec3f"}, - { (char *)"SoGLCoordinateElement_getPtr4", _wrap_SoGLCoordinateElement_getPtr4, METH_VARARGS, (char *)"SoGLCoordinateElement_getPtr4(SoGLCoordinateElement self) -> SbVec4f"}, - { (char *)"SoGLCoordinateElement_send", _wrap_SoGLCoordinateElement_send, METH_VARARGS, (char *)"SoGLCoordinateElement_send(SoGLCoordinateElement self, int index)"}, - { (char *)"SoGLCoordinateElement_swigregister", SoGLCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEnvironmentElement_getClassTypeId", _wrap_SoEnvironmentElement_getClassTypeId, METH_VARARGS, (char *)"SoEnvironmentElement_getClassTypeId() -> SoType"}, - { (char *)"SoEnvironmentElement_getClassStackIndex", _wrap_SoEnvironmentElement_getClassStackIndex, METH_VARARGS, (char *)"SoEnvironmentElement_getClassStackIndex() -> int"}, - { (char *)"SoEnvironmentElement_createInstance", _wrap_SoEnvironmentElement_createInstance, METH_VARARGS, (char *)"SoEnvironmentElement_createInstance() -> void"}, - { (char *)"SoEnvironmentElement_initClass", _wrap_SoEnvironmentElement_initClass, METH_VARARGS, (char *)"SoEnvironmentElement_initClass()"}, - { (char *)"SoEnvironmentElement_init", _wrap_SoEnvironmentElement_init, METH_VARARGS, (char *)"SoEnvironmentElement_init(SoEnvironmentElement self, SoState state)"}, - { (char *)"SoEnvironmentElement_set", _wrap_SoEnvironmentElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float ambientIntensity, \n" - " SbColor ambientColor, SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility, \n" - " float fogStart=0.0)\n" - "SoEnvironmentElement_set(SoState state, SoNode node, float ambientIntensity, \n" - " SbColor ambientColor, SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility)\n" - ""}, - { (char *)"SoEnvironmentElement_get", _wrap_SoEnvironmentElement_get, METH_VARARGS, (char *)"\n" - "SoEnvironmentElement_get(SoState state, float ambientIntensity, SbColor ambientColor, \n" - " SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility, float fogStart)\n" - ""}, - { (char *)"SoEnvironmentElement_getAmbientIntensity", _wrap_SoEnvironmentElement_getAmbientIntensity, METH_VARARGS, (char *)"SoEnvironmentElement_getAmbientIntensity(SoState state) -> float"}, - { (char *)"SoEnvironmentElement_getFogVisibility", _wrap_SoEnvironmentElement_getFogVisibility, METH_VARARGS, (char *)"SoEnvironmentElement_getFogVisibility(SoState state) -> float"}, - { (char *)"SoEnvironmentElement_getLightAttenuation", _wrap_SoEnvironmentElement_getLightAttenuation, METH_VARARGS, (char *)"SoEnvironmentElement_getLightAttenuation(SoState state) -> SbVec3f"}, - { (char *)"SoEnvironmentElement_getAmbientColor", _wrap_SoEnvironmentElement_getAmbientColor, METH_VARARGS, (char *)"SoEnvironmentElement_getAmbientColor(SoState state) -> SbColor"}, - { (char *)"SoEnvironmentElement_getFogColor", _wrap_SoEnvironmentElement_getFogColor, METH_VARARGS, (char *)"SoEnvironmentElement_getFogColor(SoState state) -> SbColor"}, - { (char *)"SoEnvironmentElement_getFogType", _wrap_SoEnvironmentElement_getFogType, METH_VARARGS, (char *)"SoEnvironmentElement_getFogType(SoState state) -> int32_t"}, - { (char *)"SoEnvironmentElement_getDefault", _wrap_SoEnvironmentElement_getDefault, METH_VARARGS, (char *)"\n" - "SoEnvironmentElement_getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, \n" - " int32_t fogType, SbColor fogColor, \n" - " float fogVisibility, float fogNear)\n" - ""}, - { (char *)"SoEnvironmentElement_output", _wrap_SoEnvironmentElement_output, METH_VARARGS, (char *)"SoEnvironmentElement_output(SoEnvironmentElement self, FILE file)"}, - { (char *)"SoEnvironmentElement_swigregister", SoEnvironmentElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLEnvironmentElement_getClassTypeId", _wrap_SoGLEnvironmentElement_getClassTypeId, METH_VARARGS, (char *)"SoGLEnvironmentElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLEnvironmentElement_getClassStackIndex", _wrap_SoGLEnvironmentElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLEnvironmentElement_getClassStackIndex() -> int"}, - { (char *)"SoGLEnvironmentElement_createInstance", _wrap_SoGLEnvironmentElement_createInstance, METH_VARARGS, (char *)"SoGLEnvironmentElement_createInstance() -> void"}, - { (char *)"SoGLEnvironmentElement_initClass", _wrap_SoGLEnvironmentElement_initClass, METH_VARARGS, (char *)"SoGLEnvironmentElement_initClass()"}, - { (char *)"SoGLEnvironmentElement_init", _wrap_SoGLEnvironmentElement_init, METH_VARARGS, (char *)"SoGLEnvironmentElement_init(SoGLEnvironmentElement self, SoState state)"}, - { (char *)"SoGLEnvironmentElement_pop", _wrap_SoGLEnvironmentElement_pop, METH_VARARGS, (char *)"SoGLEnvironmentElement_pop(SoGLEnvironmentElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLEnvironmentElement_swigregister", SoGLEnvironmentElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontNameElement_getClassTypeId", _wrap_SoFontNameElement_getClassTypeId, METH_VARARGS, (char *)"SoFontNameElement_getClassTypeId() -> SoType"}, - { (char *)"SoFontNameElement_getClassStackIndex", _wrap_SoFontNameElement_getClassStackIndex, METH_VARARGS, (char *)"SoFontNameElement_getClassStackIndex() -> int"}, - { (char *)"SoFontNameElement_createInstance", _wrap_SoFontNameElement_createInstance, METH_VARARGS, (char *)"SoFontNameElement_createInstance() -> void"}, - { (char *)"SoFontNameElement_initClass", _wrap_SoFontNameElement_initClass, METH_VARARGS, (char *)"SoFontNameElement_initClass()"}, - { (char *)"SoFontNameElement_init", _wrap_SoFontNameElement_init, METH_VARARGS, (char *)"SoFontNameElement_init(SoFontNameElement self, SoState state)"}, - { (char *)"SoFontNameElement_set", _wrap_SoFontNameElement_set, METH_VARARGS, (char *)"SoFontNameElement_set(SoState state, SoNode node, SbName fontName)"}, - { (char *)"SoFontNameElement_get", _wrap_SoFontNameElement_get, METH_VARARGS, (char *)"SoFontNameElement_get(SoState state) -> SbName"}, - { (char *)"SoFontNameElement_getDefault", _wrap_SoFontNameElement_getDefault, METH_VARARGS, (char *)"SoFontNameElement_getDefault() -> SbName"}, - { (char *)"SoFontNameElement_matches", _wrap_SoFontNameElement_matches, METH_VARARGS, (char *)"SoFontNameElement_matches(SoFontNameElement self, SoElement element) -> SbBool"}, - { (char *)"SoFontNameElement_copyMatchInfo", _wrap_SoFontNameElement_copyMatchInfo, METH_VARARGS, (char *)"SoFontNameElement_copyMatchInfo(SoFontNameElement self) -> SoElement"}, - { (char *)"SoFontNameElement_output", _wrap_SoFontNameElement_output, METH_VARARGS, (char *)"SoFontNameElement_output(SoFontNameElement self, FILE file)"}, - { (char *)"SoFontNameElement_swigregister", SoFontNameElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightAttenuationElement_getClassTypeId", _wrap_SoLightAttenuationElement_getClassTypeId, METH_VARARGS, (char *)"SoLightAttenuationElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightAttenuationElement_getClassStackIndex", _wrap_SoLightAttenuationElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightAttenuationElement_getClassStackIndex() -> int"}, - { (char *)"SoLightAttenuationElement_createInstance", _wrap_SoLightAttenuationElement_createInstance, METH_VARARGS, (char *)"SoLightAttenuationElement_createInstance() -> void"}, - { (char *)"SoLightAttenuationElement_initClass", _wrap_SoLightAttenuationElement_initClass, METH_VARARGS, (char *)"SoLightAttenuationElement_initClass()"}, - { (char *)"SoLightAttenuationElement_init", _wrap_SoLightAttenuationElement_init, METH_VARARGS, (char *)"SoLightAttenuationElement_init(SoLightAttenuationElement self, SoState state)"}, - { (char *)"SoLightAttenuationElement_set", _wrap_SoLightAttenuationElement_set, METH_VARARGS, (char *)"SoLightAttenuationElement_set(SoState state, SoNode node, SbVec3f lightAttenuation)"}, - { (char *)"SoLightAttenuationElement_get", _wrap_SoLightAttenuationElement_get, METH_VARARGS, (char *)"SoLightAttenuationElement_get(SoState state) -> SbVec3f"}, - { (char *)"SoLightAttenuationElement_getDefault", _wrap_SoLightAttenuationElement_getDefault, METH_VARARGS, (char *)"SoLightAttenuationElement_getDefault() -> SbVec3f"}, - { (char *)"SoLightAttenuationElement_matches", _wrap_SoLightAttenuationElement_matches, METH_VARARGS, (char *)"SoLightAttenuationElement_matches(SoLightAttenuationElement self, SoElement element) -> SbBool"}, - { (char *)"SoLightAttenuationElement_copyMatchInfo", _wrap_SoLightAttenuationElement_copyMatchInfo, METH_VARARGS, (char *)"SoLightAttenuationElement_copyMatchInfo(SoLightAttenuationElement self) -> SoElement"}, - { (char *)"SoLightAttenuationElement_output", _wrap_SoLightAttenuationElement_output, METH_VARARGS, (char *)"SoLightAttenuationElement_output(SoLightAttenuationElement self, FILE file)"}, - { (char *)"SoLightAttenuationElement_swigregister", SoLightAttenuationElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPolygonOffsetElement_getClassTypeId", _wrap_SoPolygonOffsetElement_getClassTypeId, METH_VARARGS, (char *)"SoPolygonOffsetElement_getClassTypeId() -> SoType"}, - { (char *)"SoPolygonOffsetElement_getClassStackIndex", _wrap_SoPolygonOffsetElement_getClassStackIndex, METH_VARARGS, (char *)"SoPolygonOffsetElement_getClassStackIndex() -> int"}, - { (char *)"SoPolygonOffsetElement_createInstance", _wrap_SoPolygonOffsetElement_createInstance, METH_VARARGS, (char *)"SoPolygonOffsetElement_createInstance() -> void"}, - { (char *)"SoPolygonOffsetElement_initClass", _wrap_SoPolygonOffsetElement_initClass, METH_VARARGS, (char *)"SoPolygonOffsetElement_initClass()"}, - { (char *)"SoPolygonOffsetElement_init", _wrap_SoPolygonOffsetElement_init, METH_VARARGS, (char *)"SoPolygonOffsetElement_init(SoPolygonOffsetElement self, SoState state)"}, - { (char *)"SoPolygonOffsetElement_set", _wrap_SoPolygonOffsetElement_set, METH_VARARGS, (char *)"\n" - "SoPolygonOffsetElement_set(SoState state, SoNode node, float factor, float units, \n" - " Style styles, SbBool on)\n" - ""}, - { (char *)"SoPolygonOffsetElement_get", _wrap_SoPolygonOffsetElement_get, METH_VARARGS, (char *)"\n" - "SoPolygonOffsetElement_get(SoState state, float factor, float units, Style styles, \n" - " SbBool on)\n" - ""}, - { (char *)"SoPolygonOffsetElement_getDefault", _wrap_SoPolygonOffsetElement_getDefault, METH_VARARGS, (char *)"SoPolygonOffsetElement_getDefault(float factor, float units, Style styles, SbBool on)"}, - { (char *)"SoPolygonOffsetElement_swigregister", SoPolygonOffsetElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLPolygonOffsetElement_getClassTypeId", _wrap_SoGLPolygonOffsetElement_getClassTypeId, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLPolygonOffsetElement_getClassStackIndex", _wrap_SoGLPolygonOffsetElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_getClassStackIndex() -> int"}, - { (char *)"SoGLPolygonOffsetElement_createInstance", _wrap_SoGLPolygonOffsetElement_createInstance, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_createInstance() -> void"}, - { (char *)"SoGLPolygonOffsetElement_initClass", _wrap_SoGLPolygonOffsetElement_initClass, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_initClass()"}, - { (char *)"SoGLPolygonOffsetElement_init", _wrap_SoGLPolygonOffsetElement_init, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_init(SoGLPolygonOffsetElement self, SoState state)"}, - { (char *)"SoGLPolygonOffsetElement_push", _wrap_SoGLPolygonOffsetElement_push, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_push(SoGLPolygonOffsetElement self, SoState state)"}, - { (char *)"SoGLPolygonOffsetElement_pop", _wrap_SoGLPolygonOffsetElement_pop, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_pop(SoGLPolygonOffsetElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLPolygonOffsetElement_swigregister", SoGLPolygonOffsetElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProjectionMatrixElement_getClassTypeId", _wrap_SoProjectionMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoProjectionMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoProjectionMatrixElement_getClassStackIndex", _wrap_SoProjectionMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoProjectionMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoProjectionMatrixElement_createInstance", _wrap_SoProjectionMatrixElement_createInstance, METH_VARARGS, (char *)"SoProjectionMatrixElement_createInstance() -> void"}, - { (char *)"SoProjectionMatrixElement_initClass", _wrap_SoProjectionMatrixElement_initClass, METH_VARARGS, (char *)"SoProjectionMatrixElement_initClass()"}, - { (char *)"SoProjectionMatrixElement_init", _wrap_SoProjectionMatrixElement_init, METH_VARARGS, (char *)"SoProjectionMatrixElement_init(SoProjectionMatrixElement self, SoState state)"}, - { (char *)"SoProjectionMatrixElement_set", _wrap_SoProjectionMatrixElement_set, METH_VARARGS, (char *)"SoProjectionMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoProjectionMatrixElement_get", _wrap_SoProjectionMatrixElement_get, METH_VARARGS, (char *)"SoProjectionMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoProjectionMatrixElement_swigregister", SoProjectionMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLProjectionMatrixElement_getClassTypeId", _wrap_SoGLProjectionMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLProjectionMatrixElement_getClassStackIndex", _wrap_SoGLProjectionMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLProjectionMatrixElement_createInstance", _wrap_SoGLProjectionMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_createInstance() -> void"}, - { (char *)"SoGLProjectionMatrixElement_initClass", _wrap_SoGLProjectionMatrixElement_initClass, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_initClass()"}, - { (char *)"SoGLProjectionMatrixElement_pop", _wrap_SoGLProjectionMatrixElement_pop, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_pop(SoGLProjectionMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLProjectionMatrixElement_swigregister", SoGLProjectionMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinateElement_getClassTypeId", _wrap_SoProfileCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinateElement_getClassStackIndex", _wrap_SoProfileCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoProfileCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoProfileCoordinateElement_createInstance", _wrap_SoProfileCoordinateElement_createInstance, METH_VARARGS, (char *)"SoProfileCoordinateElement_createInstance() -> void"}, - { (char *)"SoProfileCoordinateElement_initClass", _wrap_SoProfileCoordinateElement_initClass, METH_VARARGS, (char *)"SoProfileCoordinateElement_initClass()"}, - { (char *)"SoProfileCoordinateElement_init", _wrap_SoProfileCoordinateElement_init, METH_VARARGS, (char *)"SoProfileCoordinateElement_init(SoProfileCoordinateElement self, SoState state)"}, - { (char *)"SoProfileCoordinateElement_set2", _wrap_SoProfileCoordinateElement_set2, METH_VARARGS, (char *)"SoProfileCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)"}, - { (char *)"SoProfileCoordinateElement_set3", _wrap_SoProfileCoordinateElement_set3, METH_VARARGS, (char *)"SoProfileCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoProfileCoordinateElement_getInstance", _wrap_SoProfileCoordinateElement_getInstance, METH_VARARGS, (char *)"SoProfileCoordinateElement_getInstance(SoState state) -> SoProfileCoordinateElement"}, - { (char *)"SoProfileCoordinateElement_getNum", _wrap_SoProfileCoordinateElement_getNum, METH_VARARGS, (char *)"SoProfileCoordinateElement_getNum(SoProfileCoordinateElement self) -> int32_t"}, - { (char *)"SoProfileCoordinateElement_get2", _wrap_SoProfileCoordinateElement_get2, METH_VARARGS, (char *)"SoProfileCoordinateElement_get2(SoProfileCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_get3", _wrap_SoProfileCoordinateElement_get3, METH_VARARGS, (char *)"SoProfileCoordinateElement_get3(SoProfileCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_is2D", _wrap_SoProfileCoordinateElement_is2D, METH_VARARGS, (char *)"SoProfileCoordinateElement_is2D(SoProfileCoordinateElement self) -> SbBool"}, - { (char *)"SoProfileCoordinateElement_getDefault2", _wrap_SoProfileCoordinateElement_getDefault2, METH_VARARGS, (char *)"SoProfileCoordinateElement_getDefault2() -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_getDefault3", _wrap_SoProfileCoordinateElement_getDefault3, METH_VARARGS, (char *)"SoProfileCoordinateElement_getDefault3() -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_getArrayPtr2", _wrap_SoProfileCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoProfileCoordinateElement_getArrayPtr2(SoProfileCoordinateElement self) -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_getArrayPtr3", _wrap_SoProfileCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoProfileCoordinateElement_getArrayPtr3(SoProfileCoordinateElement self) -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_swigregister", SoProfileCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureImageElement_getClassTypeId", _wrap_SoGLTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureImageElement_getClassStackIndex", _wrap_SoGLTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureImageElement_createInstance", _wrap_SoGLTextureImageElement_createInstance, METH_VARARGS, (char *)"SoGLTextureImageElement_createInstance() -> void"}, - { (char *)"SoGLTextureImageElement_initClass", _wrap_SoGLTextureImageElement_initClass, METH_VARARGS, (char *)"SoGLTextureImageElement_initClass()"}, - { (char *)"SoGLTextureImageElement_init", _wrap_SoGLTextureImageElement_init, METH_VARARGS, (char *)"SoGLTextureImageElement_init(SoGLTextureImageElement self, SoState state)"}, - { (char *)"SoGLTextureImageElement_push", _wrap_SoGLTextureImageElement_push, METH_VARARGS, (char *)"SoGLTextureImageElement_push(SoGLTextureImageElement self, SoState state)"}, - { (char *)"SoGLTextureImageElement_pop", _wrap_SoGLTextureImageElement_pop, METH_VARARGS, (char *)"SoGLTextureImageElement_pop(SoGLTextureImageElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureImageElement_set", _wrap_SoGLTextureImageElement_set, METH_VARARGS, (char *)"\n" - "SoGLTextureImageElement_set(SoState state, SoNode node, SoGLImage image, Model model, \n" - " SbColor blendColor)\n" - ""}, - { (char *)"SoGLTextureImageElement_get", _wrap_SoGLTextureImageElement_get, METH_VARARGS, (char *)"SoGLTextureImageElement_get(SoState state, Model model, SbColor blendcolor) -> SoGLImage"}, - { (char *)"SoGLTextureImageElement_getMaxGLTextureSize", _wrap_SoGLTextureImageElement_getMaxGLTextureSize, METH_VARARGS, (char *)"SoGLTextureImageElement_getMaxGLTextureSize() -> int32_t"}, - { (char *)"SoGLTextureImageElement_isTextureSizeLegal", _wrap_SoGLTextureImageElement_isTextureSizeLegal, METH_VARARGS, (char *)"\n" - "SoGLTextureImageElement_isTextureSizeLegal(SoGLTextureImageElement self, int xsize, int ysize, \n" - " int zsize, int bytespertexel) -> SbBool\n" - ""}, - { (char *)"SoGLTextureImageElement_hasTransparency", _wrap_SoGLTextureImageElement_hasTransparency, METH_VARARGS, (char *)"SoGLTextureImageElement_hasTransparency(SoState state) -> SbBool"}, - { (char *)"SoGLTextureImageElement_swigregister", SoGLTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewingMatrixElement_getClassTypeId", _wrap_SoViewingMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoViewingMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewingMatrixElement_getClassStackIndex", _wrap_SoViewingMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewingMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoViewingMatrixElement_createInstance", _wrap_SoViewingMatrixElement_createInstance, METH_VARARGS, (char *)"SoViewingMatrixElement_createInstance() -> void"}, - { (char *)"SoViewingMatrixElement_initClass", _wrap_SoViewingMatrixElement_initClass, METH_VARARGS, (char *)"SoViewingMatrixElement_initClass()"}, - { (char *)"SoViewingMatrixElement_init", _wrap_SoViewingMatrixElement_init, METH_VARARGS, (char *)"SoViewingMatrixElement_init(SoViewingMatrixElement self, SoState state)"}, - { (char *)"SoViewingMatrixElement_set", _wrap_SoViewingMatrixElement_set, METH_VARARGS, (char *)"SoViewingMatrixElement_set(SoState state, SoNode node, SbMatrix ViewingMatrix)"}, - { (char *)"SoViewingMatrixElement_get", _wrap_SoViewingMatrixElement_get, METH_VARARGS, (char *)"SoViewingMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoViewingMatrixElement_swigregister", SoViewingMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLViewingMatrixElement_getClassTypeId", _wrap_SoGLViewingMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLViewingMatrixElement_getClassStackIndex", _wrap_SoGLViewingMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLViewingMatrixElement_createInstance", _wrap_SoGLViewingMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLViewingMatrixElement_createInstance() -> void"}, - { (char *)"SoGLViewingMatrixElement_initClass", _wrap_SoGLViewingMatrixElement_initClass, METH_VARARGS, (char *)"SoGLViewingMatrixElement_initClass()"}, - { (char *)"SoGLViewingMatrixElement_init", _wrap_SoGLViewingMatrixElement_init, METH_VARARGS, (char *)"SoGLViewingMatrixElement_init(SoGLViewingMatrixElement self, SoState state)"}, - { (char *)"SoGLViewingMatrixElement_push", _wrap_SoGLViewingMatrixElement_push, METH_VARARGS, (char *)"SoGLViewingMatrixElement_push(SoGLViewingMatrixElement self, SoState state)"}, - { (char *)"SoGLViewingMatrixElement_pop", _wrap_SoGLViewingMatrixElement_pop, METH_VARARGS, (char *)"SoGLViewingMatrixElement_pop(SoGLViewingMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLViewingMatrixElement_getNodeId", _wrap_SoGLViewingMatrixElement_getNodeId, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getNodeId(SoState state) -> uint32_t"}, - { (char *)"SoGLViewingMatrixElement_getResetMatrix", _wrap_SoGLViewingMatrixElement_getResetMatrix, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getResetMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoGLViewingMatrixElement_swigregister", SoGLViewingMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewVolumeElement_getClassTypeId", _wrap_SoViewVolumeElement_getClassTypeId, METH_VARARGS, (char *)"SoViewVolumeElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewVolumeElement_getClassStackIndex", _wrap_SoViewVolumeElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewVolumeElement_getClassStackIndex() -> int"}, - { (char *)"SoViewVolumeElement_createInstance", _wrap_SoViewVolumeElement_createInstance, METH_VARARGS, (char *)"SoViewVolumeElement_createInstance() -> void"}, - { (char *)"SoViewVolumeElement_initClass", _wrap_SoViewVolumeElement_initClass, METH_VARARGS, (char *)"SoViewVolumeElement_initClass()"}, - { (char *)"SoViewVolumeElement_init", _wrap_SoViewVolumeElement_init, METH_VARARGS, (char *)"SoViewVolumeElement_init(SoViewVolumeElement self, SoState state)"}, - { (char *)"SoViewVolumeElement_set", _wrap_SoViewVolumeElement_set, METH_VARARGS, (char *)"SoViewVolumeElement_set(SoState state, SoNode node, SbViewVolume viewVolume)"}, - { (char *)"SoViewVolumeElement_get", _wrap_SoViewVolumeElement_get, METH_VARARGS, (char *)"SoViewVolumeElement_get(SoState state) -> SbViewVolume"}, - { (char *)"SoViewVolumeElement_swigregister", SoViewVolumeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLShapeHintsElement_getClassTypeId", _wrap_SoGLShapeHintsElement_getClassTypeId, METH_VARARGS, (char *)"SoGLShapeHintsElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLShapeHintsElement_getClassStackIndex", _wrap_SoGLShapeHintsElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLShapeHintsElement_getClassStackIndex() -> int"}, - { (char *)"SoGLShapeHintsElement_createInstance", _wrap_SoGLShapeHintsElement_createInstance, METH_VARARGS, (char *)"SoGLShapeHintsElement_createInstance() -> void"}, - { (char *)"SoGLShapeHintsElement_initClass", _wrap_SoGLShapeHintsElement_initClass, METH_VARARGS, (char *)"SoGLShapeHintsElement_initClass()"}, - { (char *)"SoGLShapeHintsElement_init", _wrap_SoGLShapeHintsElement_init, METH_VARARGS, (char *)"SoGLShapeHintsElement_init(SoGLShapeHintsElement self, SoState state)"}, - { (char *)"SoGLShapeHintsElement_push", _wrap_SoGLShapeHintsElement_push, METH_VARARGS, (char *)"SoGLShapeHintsElement_push(SoGLShapeHintsElement self, SoState state)"}, - { (char *)"SoGLShapeHintsElement_pop", _wrap_SoGLShapeHintsElement_pop, METH_VARARGS, (char *)"SoGLShapeHintsElement_pop(SoGLShapeHintsElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLShapeHintsElement_forceSend", _wrap_SoGLShapeHintsElement_forceSend, METH_VARARGS, (char *)"\n" - "forceSend(SoState state, SbBool twoside)\n" - "forceSend(SoState state, SbBool ccw, SbBool cull)\n" - "SoGLShapeHintsElement_forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside)\n" - ""}, - { (char *)"SoGLShapeHintsElement_swigregister", SoGLShapeHintsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeStyleElement_getClassTypeId", _wrap_SoShapeStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoShapeStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoShapeStyleElement_getClassStackIndex", _wrap_SoShapeStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoShapeStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoShapeStyleElement_createInstance", _wrap_SoShapeStyleElement_createInstance, METH_VARARGS, (char *)"SoShapeStyleElement_createInstance() -> void"}, - { (char *)"SoShapeStyleElement_initClass", _wrap_SoShapeStyleElement_initClass, METH_VARARGS, (char *)"SoShapeStyleElement_initClass()"}, - { (char *)"SoShapeStyleElement_init", _wrap_SoShapeStyleElement_init, METH_VARARGS, (char *)"SoShapeStyleElement_init(SoShapeStyleElement self, SoState state)"}, - { (char *)"SoShapeStyleElement_push", _wrap_SoShapeStyleElement_push, METH_VARARGS, (char *)"SoShapeStyleElement_push(SoShapeStyleElement self, SoState state)"}, - { (char *)"SoShapeStyleElement_pop", _wrap_SoShapeStyleElement_pop, METH_VARARGS, (char *)"SoShapeStyleElement_pop(SoShapeStyleElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoShapeStyleElement_matches", _wrap_SoShapeStyleElement_matches, METH_VARARGS, (char *)"SoShapeStyleElement_matches(SoShapeStyleElement self, SoElement element) -> SbBool"}, - { (char *)"SoShapeStyleElement_copyMatchInfo", _wrap_SoShapeStyleElement_copyMatchInfo, METH_VARARGS, (char *)"SoShapeStyleElement_copyMatchInfo(SoShapeStyleElement self) -> SoElement"}, - { (char *)"SoShapeStyleElement_get", _wrap_SoShapeStyleElement_get, METH_VARARGS, (char *)"SoShapeStyleElement_get(SoState state) -> SoShapeStyleElement"}, - { (char *)"SoShapeStyleElement_getFlags", _wrap_SoShapeStyleElement_getFlags, METH_VARARGS, (char *)"SoShapeStyleElement_getFlags(SoShapeStyleElement self) -> unsigned int"}, - { (char *)"SoShapeStyleElement_mightNotRender", _wrap_SoShapeStyleElement_mightNotRender, METH_VARARGS, (char *)"SoShapeStyleElement_mightNotRender(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_needNormals", _wrap_SoShapeStyleElement_needNormals, METH_VARARGS, (char *)"SoShapeStyleElement_needNormals(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_needTexCoords", _wrap_SoShapeStyleElement_needTexCoords, METH_VARARGS, (char *)"SoShapeStyleElement_needTexCoords(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_getRenderCaseMask", _wrap_SoShapeStyleElement_getRenderCaseMask, METH_VARARGS, (char *)"SoShapeStyleElement_getRenderCaseMask(SoShapeStyleElement self) -> int"}, - { (char *)"SoShapeStyleElement_setDrawStyle", _wrap_SoShapeStyleElement_setDrawStyle, METH_VARARGS, (char *)"SoShapeStyleElement_setDrawStyle(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setComplexityType", _wrap_SoShapeStyleElement_setComplexityType, METH_VARARGS, (char *)"SoShapeStyleElement_setComplexityType(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setTransparencyType", _wrap_SoShapeStyleElement_setTransparencyType, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparencyType(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setTextureEnabled", _wrap_SoShapeStyleElement_setTextureEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setTextureEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTexture3Enabled", _wrap_SoShapeStyleElement_setTexture3Enabled, METH_VARARGS, (char *)"SoShapeStyleElement_setTexture3Enabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTextureFunction", _wrap_SoShapeStyleElement_setTextureFunction, METH_VARARGS, (char *)"SoShapeStyleElement_setTextureFunction(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setLightModel", _wrap_SoShapeStyleElement_setLightModel, METH_VARARGS, (char *)"SoShapeStyleElement_setLightModel(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setOverrides", _wrap_SoShapeStyleElement_setOverrides, METH_VARARGS, (char *)"SoShapeStyleElement_setOverrides(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_isScreenDoor", _wrap_SoShapeStyleElement_isScreenDoor, METH_VARARGS, (char *)"SoShapeStyleElement_isScreenDoor(SoState state) -> SbBool"}, - { (char *)"SoShapeStyleElement_getTransparencyType", _wrap_SoShapeStyleElement_getTransparencyType, METH_VARARGS, (char *)"SoShapeStyleElement_getTransparencyType(SoState state) -> int"}, - { (char *)"SoShapeStyleElement_isTextureFunction", _wrap_SoShapeStyleElement_isTextureFunction, METH_VARARGS, (char *)"SoShapeStyleElement_isTextureFunction(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_setBumpmapEnabled", _wrap_SoShapeStyleElement_setBumpmapEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setBumpmapEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setBigImageEnabled", _wrap_SoShapeStyleElement_setBigImageEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setBigImageEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setVertexArrayRendering", _wrap_SoShapeStyleElement_setVertexArrayRendering, METH_VARARGS, (char *)"SoShapeStyleElement_setVertexArrayRendering(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTransparentMaterial", _wrap_SoShapeStyleElement_setTransparentMaterial, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparentMaterial(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTransparentTexture", _wrap_SoShapeStyleElement_setTransparentTexture, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparentTexture(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setShadowMapRendering", _wrap_SoShapeStyleElement_setShadowMapRendering, METH_VARARGS, (char *)"SoShapeStyleElement_setShadowMapRendering(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setShadowsRendering", _wrap_SoShapeStyleElement_setShadowsRendering, METH_VARARGS, (char *)"SoShapeStyleElement_setShadowsRendering(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_swigregister", SoShapeStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewportRegionElement_getClassTypeId", _wrap_SoViewportRegionElement_getClassTypeId, METH_VARARGS, (char *)"SoViewportRegionElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewportRegionElement_getClassStackIndex", _wrap_SoViewportRegionElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewportRegionElement_getClassStackIndex() -> int"}, - { (char *)"SoViewportRegionElement_createInstance", _wrap_SoViewportRegionElement_createInstance, METH_VARARGS, (char *)"SoViewportRegionElement_createInstance() -> void"}, - { (char *)"SoViewportRegionElement_initClass", _wrap_SoViewportRegionElement_initClass, METH_VARARGS, (char *)"SoViewportRegionElement_initClass()"}, - { (char *)"SoViewportRegionElement_init", _wrap_SoViewportRegionElement_init, METH_VARARGS, (char *)"SoViewportRegionElement_init(SoViewportRegionElement self, SoState state)"}, - { (char *)"SoViewportRegionElement_matches", _wrap_SoViewportRegionElement_matches, METH_VARARGS, (char *)"SoViewportRegionElement_matches(SoViewportRegionElement self, SoElement element) -> SbBool"}, - { (char *)"SoViewportRegionElement_copyMatchInfo", _wrap_SoViewportRegionElement_copyMatchInfo, METH_VARARGS, (char *)"SoViewportRegionElement_copyMatchInfo(SoViewportRegionElement self) -> SoElement"}, - { (char *)"SoViewportRegionElement_set", _wrap_SoViewportRegionElement_set, METH_VARARGS, (char *)"SoViewportRegionElement_set(SoState state, SbViewportRegion viewportRegion)"}, - { (char *)"SoViewportRegionElement_get", _wrap_SoViewportRegionElement_get, METH_VARARGS, (char *)"SoViewportRegionElement_get(SoState state) -> SbViewportRegion"}, - { (char *)"SoViewportRegionElement_output", _wrap_SoViewportRegionElement_output, METH_VARARGS, (char *)"SoViewportRegionElement_output(SoViewportRegionElement self, FILE file)"}, - { (char *)"SoViewportRegionElement_swigregister", SoViewportRegionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLViewportRegionElement_getClassTypeId", _wrap_SoGLViewportRegionElement_getClassTypeId, METH_VARARGS, (char *)"SoGLViewportRegionElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLViewportRegionElement_getClassStackIndex", _wrap_SoGLViewportRegionElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLViewportRegionElement_getClassStackIndex() -> int"}, - { (char *)"SoGLViewportRegionElement_createInstance", _wrap_SoGLViewportRegionElement_createInstance, METH_VARARGS, (char *)"SoGLViewportRegionElement_createInstance() -> void"}, - { (char *)"SoGLViewportRegionElement_initClass", _wrap_SoGLViewportRegionElement_initClass, METH_VARARGS, (char *)"SoGLViewportRegionElement_initClass()"}, - { (char *)"SoGLViewportRegionElement_init", _wrap_SoGLViewportRegionElement_init, METH_VARARGS, (char *)"SoGLViewportRegionElement_init(SoGLViewportRegionElement self, SoState state)"}, - { (char *)"SoGLViewportRegionElement_push", _wrap_SoGLViewportRegionElement_push, METH_VARARGS, (char *)"SoGLViewportRegionElement_push(SoGLViewportRegionElement self, SoState state)"}, - { (char *)"SoGLViewportRegionElement_pop", _wrap_SoGLViewportRegionElement_pop, METH_VARARGS, (char *)"SoGLViewportRegionElement_pop(SoGLViewportRegionElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLViewportRegionElement_swigregister", SoGLViewportRegionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWindowElement_getClassTypeId", _wrap_SoWindowElement_getClassTypeId, METH_VARARGS, (char *)"SoWindowElement_getClassTypeId() -> SoType"}, - { (char *)"SoWindowElement_getClassStackIndex", _wrap_SoWindowElement_getClassStackIndex, METH_VARARGS, (char *)"SoWindowElement_getClassStackIndex() -> int"}, - { (char *)"SoWindowElement_createInstance", _wrap_SoWindowElement_createInstance, METH_VARARGS, (char *)"SoWindowElement_createInstance() -> void"}, - { (char *)"SoWindowElement_initClass", _wrap_SoWindowElement_initClass, METH_VARARGS, (char *)"SoWindowElement_initClass()"}, - { (char *)"SoWindowElement_init", _wrap_SoWindowElement_init, METH_VARARGS, (char *)"SoWindowElement_init(SoWindowElement self, SoState state)"}, - { (char *)"SoWindowElement_push", _wrap_SoWindowElement_push, METH_VARARGS, (char *)"SoWindowElement_push(SoWindowElement self, SoState state)"}, - { (char *)"SoWindowElement_pop", _wrap_SoWindowElement_pop, METH_VARARGS, (char *)"SoWindowElement_pop(SoWindowElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoWindowElement_matches", _wrap_SoWindowElement_matches, METH_VARARGS, (char *)"SoWindowElement_matches(SoWindowElement self, SoElement element) -> SbBool"}, - { (char *)"SoWindowElement_copyMatchInfo", _wrap_SoWindowElement_copyMatchInfo, METH_VARARGS, (char *)"SoWindowElement_copyMatchInfo(SoWindowElement self) -> SoElement"}, - { (char *)"SoWindowElement_set", _wrap_SoWindowElement_set, METH_VARARGS, (char *)"\n" - "SoWindowElement_set(SoState state, void window, void context, void display, \n" - " SoGLRenderAction action)\n" - ""}, - { (char *)"SoWindowElement_get", _wrap_SoWindowElement_get, METH_VARARGS, (char *)"\n" - "SoWindowElement_get(SoState state, void window, void context, void display, \n" - " SoGLRenderAction action)\n" - ""}, - { (char *)"SoWindowElement_swigregister", SoWindowElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCacheContextElement_getClassTypeId", _wrap_SoGLCacheContextElement_getClassTypeId, METH_VARARGS, (char *)"SoGLCacheContextElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLCacheContextElement_getClassStackIndex", _wrap_SoGLCacheContextElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLCacheContextElement_getClassStackIndex() -> int"}, - { (char *)"SoGLCacheContextElement_createInstance", _wrap_SoGLCacheContextElement_createInstance, METH_VARARGS, (char *)"SoGLCacheContextElement_createInstance() -> void"}, - { (char *)"SoGLCacheContextElement_initClass", _wrap_SoGLCacheContextElement_initClass, METH_VARARGS, (char *)"SoGLCacheContextElement_initClass()"}, - { (char *)"SoGLCacheContextElement_init", _wrap_SoGLCacheContextElement_init, METH_VARARGS, (char *)"SoGLCacheContextElement_init(SoGLCacheContextElement self, SoState state)"}, - { (char *)"SoGLCacheContextElement_matches", _wrap_SoGLCacheContextElement_matches, METH_VARARGS, (char *)"SoGLCacheContextElement_matches(SoGLCacheContextElement self, SoElement elt) -> SbBool"}, - { (char *)"SoGLCacheContextElement_copyMatchInfo", _wrap_SoGLCacheContextElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLCacheContextElement_copyMatchInfo(SoGLCacheContextElement self) -> SoElement"}, - { (char *)"SoGLCacheContextElement_set", _wrap_SoGLCacheContextElement_set, METH_VARARGS, (char *)"\n" - "SoGLCacheContextElement_set(SoState state, int context, SbBool twopasstransparency, \n" - " SbBool remoterendering)\n" - ""}, - { (char *)"SoGLCacheContextElement_get", _wrap_SoGLCacheContextElement_get, METH_VARARGS, (char *)"SoGLCacheContextElement_get(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_getExtID", _wrap_SoGLCacheContextElement_getExtID, METH_VARARGS, (char *)"SoGLCacheContextElement_getExtID(char str) -> int"}, - { (char *)"SoGLCacheContextElement_getOpenGLVersion", _wrap_SoGLCacheContextElement_getOpenGLVersion, METH_VARARGS, (char *)"SoGLCacheContextElement_getOpenGLVersion(SoState state, int major, int minor)"}, - { (char *)"SoGLCacheContextElement_extSupported", _wrap_SoGLCacheContextElement_extSupported, METH_VARARGS, (char *)"SoGLCacheContextElement_extSupported(SoState state, int extid) -> SbBool"}, - { (char *)"SoGLCacheContextElement_areMipMapsFast", _wrap_SoGLCacheContextElement_areMipMapsFast, METH_VARARGS, (char *)"SoGLCacheContextElement_areMipMapsFast(SoState state) -> SbBool"}, - { (char *)"SoGLCacheContextElement_shouldAutoCache", _wrap_SoGLCacheContextElement_shouldAutoCache, METH_VARARGS, (char *)"SoGLCacheContextElement_shouldAutoCache(SoState state, int bits)"}, - { (char *)"SoGLCacheContextElement_setAutoCacheBits", _wrap_SoGLCacheContextElement_setAutoCacheBits, METH_VARARGS, (char *)"SoGLCacheContextElement_setAutoCacheBits(SoState state, int bits)"}, - { (char *)"SoGLCacheContextElement_resetAutoCacheBits", _wrap_SoGLCacheContextElement_resetAutoCacheBits, METH_VARARGS, (char *)"SoGLCacheContextElement_resetAutoCacheBits(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_getIsRemoteRendering", _wrap_SoGLCacheContextElement_getIsRemoteRendering, METH_VARARGS, (char *)"SoGLCacheContextElement_getIsRemoteRendering(SoState state) -> SbBool"}, - { (char *)"SoGLCacheContextElement_getUniqueCacheContext", _wrap_SoGLCacheContextElement_getUniqueCacheContext, METH_VARARGS, (char *)"SoGLCacheContextElement_getUniqueCacheContext() -> uint32_t"}, - { (char *)"SoGLCacheContextElement_scheduleDeleteCallback", _wrap_SoGLCacheContextElement_scheduleDeleteCallback, METH_VARARGS, (char *)"SoGLCacheContextElement_scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)"}, - { (char *)"SoGLCacheContextElement_incNumShapes", _wrap_SoGLCacheContextElement_incNumShapes, METH_VARARGS, (char *)"SoGLCacheContextElement_incNumShapes(SoState state)"}, - { (char *)"SoGLCacheContextElement_getNumShapes", _wrap_SoGLCacheContextElement_getNumShapes, METH_VARARGS, (char *)"SoGLCacheContextElement_getNumShapes(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_incNumSeparators", _wrap_SoGLCacheContextElement_incNumSeparators, METH_VARARGS, (char *)"SoGLCacheContextElement_incNumSeparators(SoState state)"}, - { (char *)"SoGLCacheContextElement_getNumSeparators", _wrap_SoGLCacheContextElement_getNumSeparators, METH_VARARGS, (char *)"SoGLCacheContextElement_getNumSeparators(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_swigregister", SoGLCacheContextElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLDisplayList", _wrap_new_SoGLDisplayList, METH_VARARGS, (char *)"\n" - "SoGLDisplayList(SoState state, Type type, int allocnum=1, SbBool mipmaptexobj=0)\n" - "SoGLDisplayList(SoState state, Type type, int allocnum=1)\n" - "new_SoGLDisplayList(SoState state, Type type) -> SoGLDisplayList\n" - ""}, - { (char *)"SoGLDisplayList_ref", _wrap_SoGLDisplayList_ref, METH_VARARGS, (char *)"SoGLDisplayList_ref(SoGLDisplayList self)"}, - { (char *)"SoGLDisplayList_unref", _wrap_SoGLDisplayList_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLDisplayList_unref(SoGLDisplayList self)\n" - ""}, - { (char *)"SoGLDisplayList_open", _wrap_SoGLDisplayList_open, METH_VARARGS, (char *)"\n" - "open(SoState state, int index=0)\n" - "SoGLDisplayList_open(SoGLDisplayList self, SoState state)\n" - ""}, - { (char *)"SoGLDisplayList_close", _wrap_SoGLDisplayList_close, METH_VARARGS, (char *)"SoGLDisplayList_close(SoGLDisplayList self, SoState state)"}, - { (char *)"SoGLDisplayList_call", _wrap_SoGLDisplayList_call, METH_VARARGS, (char *)"\n" - "call(SoState state, int index=0)\n" - "SoGLDisplayList_call(SoGLDisplayList self, SoState state)\n" - ""}, - { (char *)"SoGLDisplayList_addDependency", _wrap_SoGLDisplayList_addDependency, METH_VARARGS, (char *)"SoGLDisplayList_addDependency(SoGLDisplayList self, SoState state)"}, - { (char *)"SoGLDisplayList_isMipMapTextureObject", _wrap_SoGLDisplayList_isMipMapTextureObject, METH_VARARGS, (char *)"SoGLDisplayList_isMipMapTextureObject(SoGLDisplayList self) -> SbBool"}, - { (char *)"SoGLDisplayList_getType", _wrap_SoGLDisplayList_getType, METH_VARARGS, (char *)"SoGLDisplayList_getType(SoGLDisplayList self) -> Type"}, - { (char *)"SoGLDisplayList_getNumAllocated", _wrap_SoGLDisplayList_getNumAllocated, METH_VARARGS, (char *)"SoGLDisplayList_getNumAllocated(SoGLDisplayList self) -> int"}, - { (char *)"SoGLDisplayList_getFirstIndex", _wrap_SoGLDisplayList_getFirstIndex, METH_VARARGS, (char *)"SoGLDisplayList_getFirstIndex(SoGLDisplayList self) -> unsigned int"}, - { (char *)"SoGLDisplayList_getContext", _wrap_SoGLDisplayList_getContext, METH_VARARGS, (char *)"SoGLDisplayList_getContext(SoGLDisplayList self) -> int"}, - { (char *)"SoGLDisplayList_setTextureTarget", _wrap_SoGLDisplayList_setTextureTarget, METH_VARARGS, (char *)"SoGLDisplayList_setTextureTarget(SoGLDisplayList self, int target)"}, - { (char *)"SoGLDisplayList_getTextureTarget", _wrap_SoGLDisplayList_getTextureTarget, METH_VARARGS, (char *)"SoGLDisplayList_getTextureTarget(SoGLDisplayList self) -> int"}, - { (char *)"SoGLDisplayList_swigregister", SoGLDisplayList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLColorIndexElement_getClassTypeId", _wrap_SoGLColorIndexElement_getClassTypeId, METH_VARARGS, (char *)"SoGLColorIndexElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLColorIndexElement_getClassStackIndex", _wrap_SoGLColorIndexElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLColorIndexElement_getClassStackIndex() -> int"}, - { (char *)"SoGLColorIndexElement_createInstance", _wrap_SoGLColorIndexElement_createInstance, METH_VARARGS, (char *)"SoGLColorIndexElement_createInstance() -> void"}, - { (char *)"SoGLColorIndexElement_initClass", _wrap_SoGLColorIndexElement_initClass, METH_VARARGS, (char *)"SoGLColorIndexElement_initClass()"}, - { (char *)"SoGLColorIndexElement_isColorIndexMode", _wrap_SoGLColorIndexElement_isColorIndexMode, METH_VARARGS, (char *)"SoGLColorIndexElement_isColorIndexMode(SoState state) -> SbBool"}, - { (char *)"SoGLColorIndexElement_init", _wrap_SoGLColorIndexElement_init, METH_VARARGS, (char *)"SoGLColorIndexElement_init(SoGLColorIndexElement self, SoState state)"}, - { (char *)"SoGLColorIndexElement_set", _wrap_SoGLColorIndexElement_set, METH_VARARGS, (char *)"SoGLColorIndexElement_set(SoState state, SoNode node, int32_t numindices, int32_t indices)"}, - { (char *)"SoGLColorIndexElement_getInstance", _wrap_SoGLColorIndexElement_getInstance, METH_VARARGS, (char *)"SoGLColorIndexElement_getInstance(SoState state) -> SoGLColorIndexElement"}, - { (char *)"SoGLColorIndexElement_getNum", _wrap_SoGLColorIndexElement_getNum, METH_VARARGS, (char *)"SoGLColorIndexElement_getNum(SoGLColorIndexElement self) -> int32_t"}, - { (char *)"SoGLColorIndexElement_get", _wrap_SoGLColorIndexElement_get, METH_VARARGS, (char *)"SoGLColorIndexElement_get(SoGLColorIndexElement self, int index) -> int32_t"}, - { (char *)"SoGLColorIndexElement_getDefault", _wrap_SoGLColorIndexElement_getDefault, METH_VARARGS, (char *)"SoGLColorIndexElement_getDefault() -> int32_t"}, - { (char *)"SoGLColorIndexElement_swigregister", SoGLColorIndexElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerPositionElement_getClassTypeId", _wrap_SoListenerPositionElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerPositionElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerPositionElement_getClassStackIndex", _wrap_SoListenerPositionElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerPositionElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerPositionElement_createInstance", _wrap_SoListenerPositionElement_createInstance, METH_VARARGS, (char *)"SoListenerPositionElement_createInstance() -> void"}, - { (char *)"SoListenerPositionElement_initClass", _wrap_SoListenerPositionElement_initClass, METH_VARARGS, (char *)"SoListenerPositionElement_initClass()"}, - { (char *)"SoListenerPositionElement_init", _wrap_SoListenerPositionElement_init, METH_VARARGS, (char *)"SoListenerPositionElement_init(SoListenerPositionElement self, SoState state)"}, - { (char *)"SoListenerPositionElement_set", _wrap_SoListenerPositionElement_set, METH_VARARGS, (char *)"SoListenerPositionElement_set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)"}, - { (char *)"SoListenerPositionElement_get", _wrap_SoListenerPositionElement_get, METH_VARARGS, (char *)"SoListenerPositionElement_get(SoState state) -> SbVec3f"}, - { (char *)"SoListenerPositionElement_isSetByListener", _wrap_SoListenerPositionElement_isSetByListener, METH_VARARGS, (char *)"SoListenerPositionElement_isSetByListener(SoState state) -> SbBool"}, - { (char *)"SoListenerPositionElement_output", _wrap_SoListenerPositionElement_output, METH_VARARGS, (char *)"SoListenerPositionElement_output(SoListenerPositionElement self, FILE file)"}, - { (char *)"SoListenerPositionElement_swigregister", SoListenerPositionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerOrientationElement_getClassTypeId", _wrap_SoListenerOrientationElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerOrientationElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerOrientationElement_getClassStackIndex", _wrap_SoListenerOrientationElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerOrientationElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerOrientationElement_createInstance", _wrap_SoListenerOrientationElement_createInstance, METH_VARARGS, (char *)"SoListenerOrientationElement_createInstance() -> void"}, - { (char *)"SoListenerOrientationElement_initClass", _wrap_SoListenerOrientationElement_initClass, METH_VARARGS, (char *)"SoListenerOrientationElement_initClass()"}, - { (char *)"SoListenerOrientationElement_init", _wrap_SoListenerOrientationElement_init, METH_VARARGS, (char *)"SoListenerOrientationElement_init(SoListenerOrientationElement self, SoState state)"}, - { (char *)"SoListenerOrientationElement_set", _wrap_SoListenerOrientationElement_set, METH_VARARGS, (char *)"\n" - "SoListenerOrientationElement_set(SoState state, SoNode node, SbRotation orientation, \n" - " SbBool setbylistener)\n" - ""}, - { (char *)"SoListenerOrientationElement_get", _wrap_SoListenerOrientationElement_get, METH_VARARGS, (char *)"SoListenerOrientationElement_get(SoState state) -> SbRotation"}, - { (char *)"SoListenerOrientationElement_isSetByListener", _wrap_SoListenerOrientationElement_isSetByListener, METH_VARARGS, (char *)"SoListenerOrientationElement_isSetByListener(SoState state) -> SbBool"}, - { (char *)"SoListenerOrientationElement_output", _wrap_SoListenerOrientationElement_output, METH_VARARGS, (char *)"SoListenerOrientationElement_output(SoListenerOrientationElement self, FILE file)"}, - { (char *)"SoListenerOrientationElement_swigregister", SoListenerOrientationElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerDopplerElement_getClassTypeId", _wrap_SoListenerDopplerElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerDopplerElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerDopplerElement_getClassStackIndex", _wrap_SoListenerDopplerElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerDopplerElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerDopplerElement_createInstance", _wrap_SoListenerDopplerElement_createInstance, METH_VARARGS, (char *)"SoListenerDopplerElement_createInstance() -> void"}, - { (char *)"SoListenerDopplerElement_initClass", _wrap_SoListenerDopplerElement_initClass, METH_VARARGS, (char *)"SoListenerDopplerElement_initClass()"}, - { (char *)"SoListenerDopplerElement_init", _wrap_SoListenerDopplerElement_init, METH_VARARGS, (char *)"SoListenerDopplerElement_init(SoListenerDopplerElement self, SoState state)"}, - { (char *)"SoListenerDopplerElement_setDopplerVelocity", _wrap_SoListenerDopplerElement_setDopplerVelocity, METH_VARARGS, (char *)"SoListenerDopplerElement_setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)"}, - { (char *)"SoListenerDopplerElement_setDopplerFactor", _wrap_SoListenerDopplerElement_setDopplerFactor, METH_VARARGS, (char *)"SoListenerDopplerElement_setDopplerFactor(SoState state, SoNode node, float factor)"}, - { (char *)"SoListenerDopplerElement_getDopplerVelocity", _wrap_SoListenerDopplerElement_getDopplerVelocity, METH_VARARGS, (char *)"SoListenerDopplerElement_getDopplerVelocity(SoState state) -> SbVec3f"}, - { (char *)"SoListenerDopplerElement_getDopplerFactor", _wrap_SoListenerDopplerElement_getDopplerFactor, METH_VARARGS, (char *)"SoListenerDopplerElement_getDopplerFactor(SoState state) -> float"}, - { (char *)"SoListenerDopplerElement_output", _wrap_SoListenerDopplerElement_output, METH_VARARGS, (char *)"SoListenerDopplerElement_output(SoListenerDopplerElement self, FILE file)"}, - { (char *)"SoListenerDopplerElement_swigregister", SoListenerDopplerElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerGainElement_getClassTypeId", _wrap_SoListenerGainElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerGainElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerGainElement_getClassStackIndex", _wrap_SoListenerGainElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerGainElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerGainElement_createInstance", _wrap_SoListenerGainElement_createInstance, METH_VARARGS, (char *)"SoListenerGainElement_createInstance() -> void"}, - { (char *)"SoListenerGainElement_initClass", _wrap_SoListenerGainElement_initClass, METH_VARARGS, (char *)"SoListenerGainElement_initClass()"}, - { (char *)"SoListenerGainElement_init", _wrap_SoListenerGainElement_init, METH_VARARGS, (char *)"SoListenerGainElement_init(SoListenerGainElement self, SoState state)"}, - { (char *)"SoListenerGainElement_set", _wrap_SoListenerGainElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float gain)\n" - "SoListenerGainElement_set(SoState state, float gain)\n" - ""}, - { (char *)"SoListenerGainElement_get", _wrap_SoListenerGainElement_get, METH_VARARGS, (char *)"SoListenerGainElement_get(SoState state) -> float"}, - { (char *)"SoListenerGainElement_swigregister", SoListenerGainElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSoundElement_getClassTypeId", _wrap_SoSoundElement_getClassTypeId, METH_VARARGS, (char *)"SoSoundElement_getClassTypeId() -> SoType"}, - { (char *)"SoSoundElement_getClassStackIndex", _wrap_SoSoundElement_getClassStackIndex, METH_VARARGS, (char *)"SoSoundElement_getClassStackIndex() -> int"}, - { (char *)"SoSoundElement_createInstance", _wrap_SoSoundElement_createInstance, METH_VARARGS, (char *)"SoSoundElement_createInstance() -> void"}, - { (char *)"SoSoundElement_initClass", _wrap_SoSoundElement_initClass, METH_VARARGS, (char *)"SoSoundElement_initClass()"}, - { (char *)"SoSoundElement_init", _wrap_SoSoundElement_init, METH_VARARGS, (char *)"SoSoundElement_init(SoSoundElement self, SoState state)"}, - { (char *)"SoSoundElement_set", _wrap_SoSoundElement_set, METH_VARARGS, (char *)"\n" - "SoSoundElement_set(SoState state, SoNode node, SbBool scenegraphhassoundnode, \n" - " SbBool soundnodeisplaying, SbBool ispartofactivescenegraph)\n" - ""}, - { (char *)"SoSoundElement_setSceneGraphHasSoundNode", _wrap_SoSoundElement_setSceneGraphHasSoundNode, METH_VARARGS, (char *)"SoSoundElement_setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_sceneGraphHasSoundNode", _wrap_SoSoundElement_sceneGraphHasSoundNode, METH_VARARGS, (char *)"SoSoundElement_sceneGraphHasSoundNode(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_setSoundNodeIsPlaying", _wrap_SoSoundElement_setSoundNodeIsPlaying, METH_VARARGS, (char *)"SoSoundElement_setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_soundNodeIsPlaying", _wrap_SoSoundElement_soundNodeIsPlaying, METH_VARARGS, (char *)"SoSoundElement_soundNodeIsPlaying(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_setIsPartOfActiveSceneGraph", _wrap_SoSoundElement_setIsPartOfActiveSceneGraph, METH_VARARGS, (char *)"SoSoundElement_setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_isPartOfActiveSceneGraph", _wrap_SoSoundElement_isPartOfActiveSceneGraph, METH_VARARGS, (char *)"SoSoundElement_isPartOfActiveSceneGraph(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_push", _wrap_SoSoundElement_push, METH_VARARGS, (char *)"SoSoundElement_push(SoSoundElement self, SoState state)"}, - { (char *)"SoSoundElement_pop", _wrap_SoSoundElement_pop, METH_VARARGS, (char *)"SoSoundElement_pop(SoSoundElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoSoundElement_output", _wrap_SoSoundElement_output, METH_VARARGS, (char *)"SoSoundElement_output(SoSoundElement self, FILE file)"}, - { (char *)"SoSoundElement_swigregister", SoSoundElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLVBOElement_getClassTypeId", _wrap_SoGLVBOElement_getClassTypeId, METH_VARARGS, (char *)"SoGLVBOElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLVBOElement_getClassStackIndex", _wrap_SoGLVBOElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLVBOElement_getClassStackIndex() -> int"}, - { (char *)"SoGLVBOElement_createInstance", _wrap_SoGLVBOElement_createInstance, METH_VARARGS, (char *)"SoGLVBOElement_createInstance() -> void"}, - { (char *)"SoGLVBOElement_initClass", _wrap_SoGLVBOElement_initClass, METH_VARARGS, (char *)"SoGLVBOElement_initClass()"}, - { (char *)"SoGLVBOElement_shouldCreateVBO", _wrap_SoGLVBOElement_shouldCreateVBO, METH_VARARGS, (char *)"SoGLVBOElement_shouldCreateVBO(SoState state, int numdata) -> SbBool"}, - { (char *)"SoGLVBOElement_setVertexVBO", _wrap_SoGLVBOElement_setVertexVBO, METH_VARARGS, (char *)"SoGLVBOElement_setVertexVBO(SoState state, SoVBO vbo)"}, - { (char *)"SoGLVBOElement_setNormalVBO", _wrap_SoGLVBOElement_setNormalVBO, METH_VARARGS, (char *)"SoGLVBOElement_setNormalVBO(SoState state, SoVBO vbo)"}, - { (char *)"SoGLVBOElement_setColorVBO", _wrap_SoGLVBOElement_setColorVBO, METH_VARARGS, (char *)"SoGLVBOElement_setColorVBO(SoState state, SoVBO vbo)"}, - { (char *)"SoGLVBOElement_setTexCoordVBO", _wrap_SoGLVBOElement_setTexCoordVBO, METH_VARARGS, (char *)"SoGLVBOElement_setTexCoordVBO(SoState state, int unit, SoVBO vbo)"}, - { (char *)"SoGLVBOElement_getInstance", _wrap_SoGLVBOElement_getInstance, METH_VARARGS, (char *)"SoGLVBOElement_getInstance(SoState state) -> SoGLVBOElement"}, - { (char *)"SoGLVBOElement_init", _wrap_SoGLVBOElement_init, METH_VARARGS, (char *)"SoGLVBOElement_init(SoGLVBOElement self, SoState state)"}, - { (char *)"SoGLVBOElement_push", _wrap_SoGLVBOElement_push, METH_VARARGS, (char *)"SoGLVBOElement_push(SoGLVBOElement self, SoState state)"}, - { (char *)"SoGLVBOElement_pop", _wrap_SoGLVBOElement_pop, METH_VARARGS, (char *)"SoGLVBOElement_pop(SoGLVBOElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoGLVBOElement_matches", _wrap_SoGLVBOElement_matches, METH_VARARGS, (char *)"SoGLVBOElement_matches(SoGLVBOElement self, SoElement elt) -> SbBool"}, - { (char *)"SoGLVBOElement_copyMatchInfo", _wrap_SoGLVBOElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLVBOElement_copyMatchInfo(SoGLVBOElement self) -> SoElement"}, - { (char *)"SoGLVBOElement_getVertexVBO", _wrap_SoGLVBOElement_getVertexVBO, METH_VARARGS, (char *)"SoGLVBOElement_getVertexVBO(SoGLVBOElement self) -> SoVBO"}, - { (char *)"SoGLVBOElement_getNormalVBO", _wrap_SoGLVBOElement_getNormalVBO, METH_VARARGS, (char *)"SoGLVBOElement_getNormalVBO(SoGLVBOElement self) -> SoVBO"}, - { (char *)"SoGLVBOElement_getColorVBO", _wrap_SoGLVBOElement_getColorVBO, METH_VARARGS, (char *)"SoGLVBOElement_getColorVBO(SoGLVBOElement self) -> SoVBO"}, - { (char *)"SoGLVBOElement_getNumTexCoordVBO", _wrap_SoGLVBOElement_getNumTexCoordVBO, METH_VARARGS, (char *)"SoGLVBOElement_getNumTexCoordVBO(SoGLVBOElement self) -> int"}, - { (char *)"SoGLVBOElement_getTexCoordVBO", _wrap_SoGLVBOElement_getTexCoordVBO, METH_VARARGS, (char *)"SoGLVBOElement_getTexCoordVBO(SoGLVBOElement self, int idx) -> SoVBO"}, - { (char *)"SoGLVBOElement_swigregister", SoGLVBOElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDepthBufferElement_getClassTypeId", _wrap_SoDepthBufferElement_getClassTypeId, METH_VARARGS, (char *)"SoDepthBufferElement_getClassTypeId() -> SoType"}, - { (char *)"SoDepthBufferElement_getClassStackIndex", _wrap_SoDepthBufferElement_getClassStackIndex, METH_VARARGS, (char *)"SoDepthBufferElement_getClassStackIndex() -> int"}, - { (char *)"SoDepthBufferElement_createInstance", _wrap_SoDepthBufferElement_createInstance, METH_VARARGS, (char *)"SoDepthBufferElement_createInstance() -> void"}, - { (char *)"SoDepthBufferElement_initClass", _wrap_SoDepthBufferElement_initClass, METH_VARARGS, (char *)"SoDepthBufferElement_initClass()"}, - { (char *)"SoDepthBufferElement_set", _wrap_SoDepthBufferElement_set, METH_VARARGS, (char *)"\n" - "SoDepthBufferElement_set(SoState state, SbBool test, SbBool write, DepthWriteFunction function, \n" - " SbVec2f range)\n" - ""}, - { (char *)"SoDepthBufferElement_get", _wrap_SoDepthBufferElement_get, METH_VARARGS, (char *)"\n" - "SoDepthBufferElement_get(SoState state, SbBool test_out, SbBool write_out, DepthWriteFunction function_out, \n" - " SbVec2f range_out)\n" - ""}, - { (char *)"SoDepthBufferElement_getTestEnable", _wrap_SoDepthBufferElement_getTestEnable, METH_VARARGS, (char *)"SoDepthBufferElement_getTestEnable(SoState state) -> SbBool"}, - { (char *)"SoDepthBufferElement_getWriteEnable", _wrap_SoDepthBufferElement_getWriteEnable, METH_VARARGS, (char *)"SoDepthBufferElement_getWriteEnable(SoState state) -> SbBool"}, - { (char *)"SoDepthBufferElement_getFunction", _wrap_SoDepthBufferElement_getFunction, METH_VARARGS, (char *)"SoDepthBufferElement_getFunction(SoState state) -> DepthWriteFunction"}, - { (char *)"SoDepthBufferElement_getRange", _wrap_SoDepthBufferElement_getRange, METH_VARARGS, (char *)"SoDepthBufferElement_getRange(SoState state) -> SbVec2f"}, - { (char *)"SoDepthBufferElement_init", _wrap_SoDepthBufferElement_init, METH_VARARGS, (char *)"SoDepthBufferElement_init(SoDepthBufferElement self, SoState state)"}, - { (char *)"SoDepthBufferElement_push", _wrap_SoDepthBufferElement_push, METH_VARARGS, (char *)"SoDepthBufferElement_push(SoDepthBufferElement self, SoState state)"}, - { (char *)"SoDepthBufferElement_pop", _wrap_SoDepthBufferElement_pop, METH_VARARGS, (char *)"SoDepthBufferElement_pop(SoDepthBufferElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoDepthBufferElement_matches", _wrap_SoDepthBufferElement_matches, METH_VARARGS, (char *)"SoDepthBufferElement_matches(SoDepthBufferElement self, SoElement element) -> SbBool"}, - { (char *)"SoDepthBufferElement_copyMatchInfo", _wrap_SoDepthBufferElement_copyMatchInfo, METH_VARARGS, (char *)"SoDepthBufferElement_copyMatchInfo(SoDepthBufferElement self) -> SoElement"}, - { (char *)"SoDepthBufferElement_swigregister", SoDepthBufferElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLDepthBufferElement_getClassTypeId", _wrap_SoGLDepthBufferElement_getClassTypeId, METH_VARARGS, (char *)"SoGLDepthBufferElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLDepthBufferElement_getClassStackIndex", _wrap_SoGLDepthBufferElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLDepthBufferElement_getClassStackIndex() -> int"}, - { (char *)"SoGLDepthBufferElement_createInstance", _wrap_SoGLDepthBufferElement_createInstance, METH_VARARGS, (char *)"SoGLDepthBufferElement_createInstance() -> void"}, - { (char *)"SoGLDepthBufferElement_initClass", _wrap_SoGLDepthBufferElement_initClass, METH_VARARGS, (char *)"SoGLDepthBufferElement_initClass()"}, - { (char *)"SoGLDepthBufferElement_init", _wrap_SoGLDepthBufferElement_init, METH_VARARGS, (char *)"SoGLDepthBufferElement_init(SoGLDepthBufferElement self, SoState state)"}, - { (char *)"SoGLDepthBufferElement_push", _wrap_SoGLDepthBufferElement_push, METH_VARARGS, (char *)"SoGLDepthBufferElement_push(SoGLDepthBufferElement self, SoState state)"}, - { (char *)"SoGLDepthBufferElement_pop", _wrap_SoGLDepthBufferElement_pop, METH_VARARGS, (char *)"SoGLDepthBufferElement_pop(SoGLDepthBufferElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLDepthBufferElement_swigregister", SoGLDepthBufferElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexAttributeElement_getClassTypeId", _wrap_SoVertexAttributeElement_getClassTypeId, METH_VARARGS, (char *)"SoVertexAttributeElement_getClassTypeId() -> SoType"}, - { (char *)"SoVertexAttributeElement_getClassStackIndex", _wrap_SoVertexAttributeElement_getClassStackIndex, METH_VARARGS, (char *)"SoVertexAttributeElement_getClassStackIndex() -> int"}, - { (char *)"SoVertexAttributeElement_createInstance", _wrap_SoVertexAttributeElement_createInstance, METH_VARARGS, (char *)"SoVertexAttributeElement_createInstance() -> void"}, - { (char *)"SoVertexAttributeElement_initClass", _wrap_SoVertexAttributeElement_initClass, METH_VARARGS, (char *)"SoVertexAttributeElement_initClass()"}, - { (char *)"SoVertexAttributeElement_init", _wrap_SoVertexAttributeElement_init, METH_VARARGS, (char *)"SoVertexAttributeElement_init(SoVertexAttributeElement self, SoState state)"}, - { (char *)"SoVertexAttributeElement_push", _wrap_SoVertexAttributeElement_push, METH_VARARGS, (char *)"SoVertexAttributeElement_push(SoVertexAttributeElement self, SoState state)"}, - { (char *)"SoVertexAttributeElement_add", _wrap_SoVertexAttributeElement_add, METH_VARARGS, (char *)"SoVertexAttributeElement_add(SoState state, SoVertexAttributeData attribdata)"}, - { (char *)"SoVertexAttributeElement_getInstance", _wrap_SoVertexAttributeElement_getInstance, METH_VARARGS, (char *)"SoVertexAttributeElement_getInstance(SoState state) -> SoVertexAttributeElement"}, - { (char *)"SoVertexAttributeElement_getNumAttributes", _wrap_SoVertexAttributeElement_getNumAttributes, METH_VARARGS, (char *)"SoVertexAttributeElement_getNumAttributes(SoVertexAttributeElement self) -> unsigned int"}, - { (char *)"SoVertexAttributeElement_applyToAttributes", _wrap_SoVertexAttributeElement_applyToAttributes, METH_VARARGS, (char *)"\n" - "SoVertexAttributeElement_applyToAttributes(SoVertexAttributeElement self, AttributeApplyFunc func, \n" - " void closure)\n" - ""}, - { (char *)"SoVertexAttributeElement_swigregister", SoVertexAttributeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLVertexAttributeElement_getClassTypeId", _wrap_SoGLVertexAttributeElement_getClassTypeId, METH_VARARGS, (char *)"SoGLVertexAttributeElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLVertexAttributeElement_getClassStackIndex", _wrap_SoGLVertexAttributeElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLVertexAttributeElement_getClassStackIndex() -> int"}, - { (char *)"SoGLVertexAttributeElement_createInstance", _wrap_SoGLVertexAttributeElement_createInstance, METH_VARARGS, (char *)"SoGLVertexAttributeElement_createInstance() -> void"}, - { (char *)"SoGLVertexAttributeElement_initClass", _wrap_SoGLVertexAttributeElement_initClass, METH_VARARGS, (char *)"SoGLVertexAttributeElement_initClass()"}, - { (char *)"SoGLVertexAttributeElement_init", _wrap_SoGLVertexAttributeElement_init, METH_VARARGS, (char *)"SoGLVertexAttributeElement_init(SoGLVertexAttributeElement self, SoState state)"}, - { (char *)"SoGLVertexAttributeElement_enableVBO", _wrap_SoGLVertexAttributeElement_enableVBO, METH_VARARGS, (char *)"SoGLVertexAttributeElement_enableVBO(SoGLVertexAttributeElement self, SoGLRenderAction action)"}, - { (char *)"SoGLVertexAttributeElement_disableVBO", _wrap_SoGLVertexAttributeElement_disableVBO, METH_VARARGS, (char *)"SoGLVertexAttributeElement_disableVBO(SoGLVertexAttributeElement self, SoGLRenderAction action)"}, - { (char *)"SoGLVertexAttributeElement_send", _wrap_SoGLVertexAttributeElement_send, METH_VARARGS, (char *)"SoGLVertexAttributeElement_send(SoGLVertexAttributeElement self, int index)"}, - { (char *)"SoGLVertexAttributeElement_getInstance", _wrap_SoGLVertexAttributeElement_getInstance, METH_VARARGS, (char *)"SoGLVertexAttributeElement_getInstance(SoState state) -> SoGLVertexAttributeElement"}, - { (char *)"SoGLVertexAttributeElement_swigregister", SoGLVertexAttributeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexAttributeBindingElement_getClassTypeId", _wrap_SoVertexAttributeBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoVertexAttributeBindingElement_getClassStackIndex", _wrap_SoVertexAttributeBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoVertexAttributeBindingElement_createInstance", _wrap_SoVertexAttributeBindingElement_createInstance, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_createInstance() -> void"}, - { (char *)"SoVertexAttributeBindingElement_initClass", _wrap_SoVertexAttributeBindingElement_initClass, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_initClass()"}, - { (char *)"SoVertexAttributeBindingElement_init", _wrap_SoVertexAttributeBindingElement_init, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_init(SoVertexAttributeBindingElement self, SoState state)"}, - { (char *)"SoVertexAttributeBindingElement_set", _wrap_SoVertexAttributeBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoVertexAttributeBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoVertexAttributeBindingElement_get", _wrap_SoVertexAttributeBindingElement_get, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoVertexAttributeBindingElement_getDefault", _wrap_SoVertexAttributeBindingElement_getDefault, METH_VARARGS, (char *)"SoVertexAttributeBindingElement_getDefault() -> Binding"}, - { (char *)"SoVertexAttributeBindingElement_swigregister", SoVertexAttributeBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpecularColorElement_getClassTypeId", _wrap_SoSpecularColorElement_getClassTypeId, METH_VARARGS, (char *)"SoSpecularColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoSpecularColorElement_getClassStackIndex", _wrap_SoSpecularColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoSpecularColorElement_getClassStackIndex() -> int"}, - { (char *)"SoSpecularColorElement_createInstance", _wrap_SoSpecularColorElement_createInstance, METH_VARARGS, (char *)"SoSpecularColorElement_createInstance() -> void"}, - { (char *)"SoSpecularColorElement_initClass", _wrap_SoSpecularColorElement_initClass, METH_VARARGS, (char *)"SoSpecularColorElement_initClass()"}, - { (char *)"SoSpecularColorElement_init", _wrap_SoSpecularColorElement_init, METH_VARARGS, (char *)"SoSpecularColorElement_init(SoSpecularColorElement self, SoState state)"}, - { (char *)"SoSpecularColorElement_set", _wrap_SoSpecularColorElement_set, METH_VARARGS, (char *)"SoSpecularColorElement_set(SoState state, SoNode node, int32_t numColors, SbColor colors)"}, - { (char *)"SoSpecularColorElement_getInstance", _wrap_SoSpecularColorElement_getInstance, METH_VARARGS, (char *)"SoSpecularColorElement_getInstance(SoState state) -> SoSpecularColorElement"}, - { (char *)"SoSpecularColorElement_getNum", _wrap_SoSpecularColorElement_getNum, METH_VARARGS, (char *)"SoSpecularColorElement_getNum(SoSpecularColorElement self) -> int32_t"}, - { (char *)"SoSpecularColorElement_get", _wrap_SoSpecularColorElement_get, METH_VARARGS, (char *)"SoSpecularColorElement_get(SoSpecularColorElement self, int index) -> SbColor"}, - { (char *)"SoSpecularColorElement_getArrayPtr", _wrap_SoSpecularColorElement_getArrayPtr, METH_VARARGS, (char *)"SoSpecularColorElement_getArrayPtr(SoSpecularColorElement self) -> SbColor"}, - { (char *)"SoSpecularColorElement_swigregister", SoSpecularColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEmissiveColorElement_getClassTypeId", _wrap_SoEmissiveColorElement_getClassTypeId, METH_VARARGS, (char *)"SoEmissiveColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoEmissiveColorElement_getClassStackIndex", _wrap_SoEmissiveColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoEmissiveColorElement_getClassStackIndex() -> int"}, - { (char *)"SoEmissiveColorElement_createInstance", _wrap_SoEmissiveColorElement_createInstance, METH_VARARGS, (char *)"SoEmissiveColorElement_createInstance() -> void"}, - { (char *)"SoEmissiveColorElement_initClass", _wrap_SoEmissiveColorElement_initClass, METH_VARARGS, (char *)"SoEmissiveColorElement_initClass()"}, - { (char *)"SoEmissiveColorElement_init", _wrap_SoEmissiveColorElement_init, METH_VARARGS, (char *)"SoEmissiveColorElement_init(SoEmissiveColorElement self, SoState state)"}, - { (char *)"SoEmissiveColorElement_set", _wrap_SoEmissiveColorElement_set, METH_VARARGS, (char *)"SoEmissiveColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoEmissiveColorElement_getInstance", _wrap_SoEmissiveColorElement_getInstance, METH_VARARGS, (char *)"SoEmissiveColorElement_getInstance(SoState state) -> SoEmissiveColorElement"}, - { (char *)"SoEmissiveColorElement_getNum", _wrap_SoEmissiveColorElement_getNum, METH_VARARGS, (char *)"SoEmissiveColorElement_getNum(SoEmissiveColorElement self) -> int32_t"}, - { (char *)"SoEmissiveColorElement_get", _wrap_SoEmissiveColorElement_get, METH_VARARGS, (char *)"SoEmissiveColorElement_get(SoEmissiveColorElement self, int index) -> SbColor"}, - { (char *)"SoEmissiveColorElement_getArrayPtr", _wrap_SoEmissiveColorElement_getArrayPtr, METH_VARARGS, (char *)"SoEmissiveColorElement_getArrayPtr(SoEmissiveColorElement self) -> SbColor"}, - { (char *)"SoEmissiveColorElement_swigregister", SoEmissiveColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShininessElement_getClassTypeId", _wrap_SoShininessElement_getClassTypeId, METH_VARARGS, (char *)"SoShininessElement_getClassTypeId() -> SoType"}, - { (char *)"SoShininessElement_getClassStackIndex", _wrap_SoShininessElement_getClassStackIndex, METH_VARARGS, (char *)"SoShininessElement_getClassStackIndex() -> int"}, - { (char *)"SoShininessElement_createInstance", _wrap_SoShininessElement_createInstance, METH_VARARGS, (char *)"SoShininessElement_createInstance() -> void"}, - { (char *)"SoShininessElement_initClass", _wrap_SoShininessElement_initClass, METH_VARARGS, (char *)"SoShininessElement_initClass()"}, - { (char *)"SoShininessElement_init", _wrap_SoShininessElement_init, METH_VARARGS, (char *)"SoShininessElement_init(SoShininessElement self, SoState state)"}, - { (char *)"SoShininessElement_set", _wrap_SoShininessElement_set, METH_VARARGS, (char *)"SoShininessElement_set(SoState state, SoNode node, int32_t numvalues, float values)"}, - { (char *)"SoShininessElement_getInstance", _wrap_SoShininessElement_getInstance, METH_VARARGS, (char *)"SoShininessElement_getInstance(SoState state) -> SoShininessElement"}, - { (char *)"SoShininessElement_getNum", _wrap_SoShininessElement_getNum, METH_VARARGS, (char *)"SoShininessElement_getNum(SoShininessElement self) -> int32_t"}, - { (char *)"SoShininessElement_get", _wrap_SoShininessElement_get, METH_VARARGS, (char *)"SoShininessElement_get(SoShininessElement self, int index) -> float"}, - { (char *)"SoShininessElement_getArrayPtr", _wrap_SoShininessElement_getArrayPtr, METH_VARARGS, (char *)"SoShininessElement_getArrayPtr(SoShininessElement self) -> float"}, - { (char *)"SoShininessElement_swigregister", SoShininessElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransparencyElement_getClassTypeId", _wrap_SoTransparencyElement_getClassTypeId, METH_VARARGS, (char *)"SoTransparencyElement_getClassTypeId() -> SoType"}, - { (char *)"SoTransparencyElement_getClassStackIndex", _wrap_SoTransparencyElement_getClassStackIndex, METH_VARARGS, (char *)"SoTransparencyElement_getClassStackIndex() -> int"}, - { (char *)"SoTransparencyElement_createInstance", _wrap_SoTransparencyElement_createInstance, METH_VARARGS, (char *)"SoTransparencyElement_createInstance() -> void"}, - { (char *)"SoTransparencyElement_initClass", _wrap_SoTransparencyElement_initClass, METH_VARARGS, (char *)"SoTransparencyElement_initClass()"}, - { (char *)"SoTransparencyElement_init", _wrap_SoTransparencyElement_init, METH_VARARGS, (char *)"SoTransparencyElement_init(SoTransparencyElement self, SoState state)"}, - { (char *)"SoTransparencyElement_set", _wrap_SoTransparencyElement_set, METH_VARARGS, (char *)"SoTransparencyElement_set(SoState state, SoNode node, int32_t numvalues, float values)"}, - { (char *)"SoTransparencyElement_getInstance", _wrap_SoTransparencyElement_getInstance, METH_VARARGS, (char *)"SoTransparencyElement_getInstance(SoState state) -> SoTransparencyElement"}, - { (char *)"SoTransparencyElement_getNum", _wrap_SoTransparencyElement_getNum, METH_VARARGS, (char *)"SoTransparencyElement_getNum(SoTransparencyElement self) -> int32_t"}, - { (char *)"SoTransparencyElement_get", _wrap_SoTransparencyElement_get, METH_VARARGS, (char *)"SoTransparencyElement_get(SoTransparencyElement self, int index) -> float"}, - { (char *)"SoTransparencyElement_getArrayPtr", _wrap_SoTransparencyElement_getArrayPtr, METH_VARARGS, (char *)"SoTransparencyElement_getArrayPtr(SoTransparencyElement self) -> float"}, - { (char *)"SoTransparencyElement_swigregister", SoTransparencyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightModelElement_getClassTypeId", _wrap_SoLightModelElement_getClassTypeId, METH_VARARGS, (char *)"SoLightModelElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightModelElement_getClassStackIndex", _wrap_SoLightModelElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightModelElement_getClassStackIndex() -> int"}, - { (char *)"SoLightModelElement_createInstance", _wrap_SoLightModelElement_createInstance, METH_VARARGS, (char *)"SoLightModelElement_createInstance() -> void"}, - { (char *)"SoLightModelElement_initClass", _wrap_SoLightModelElement_initClass, METH_VARARGS, (char *)"SoLightModelElement_initClass()"}, - { (char *)"SoLightModelElement_init", _wrap_SoLightModelElement_init, METH_VARARGS, (char *)"SoLightModelElement_init(SoLightModelElement self, SoState state)"}, - { (char *)"SoLightModelElement_set", _wrap_SoLightModelElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, Model model)\n" - "SoLightModelElement_set(SoState state, SoNode node, Model model)\n" - ""}, - { (char *)"SoLightModelElement_get", _wrap_SoLightModelElement_get, METH_VARARGS, (char *)"SoLightModelElement_get(SoState state) -> Model"}, - { (char *)"SoLightModelElement_getDefault", _wrap_SoLightModelElement_getDefault, METH_VARARGS, (char *)"SoLightModelElement_getDefault() -> Model"}, - { (char *)"SoLightModelElement_getInstance", _wrap_SoLightModelElement_getInstance, METH_VARARGS, (char *)"SoLightModelElement_getInstance(SoState state) -> SoLightModelElement"}, - { (char *)"SoLightModelElement_swigregister", SoLightModelElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureCoordinateElement_getClassTypeId", _wrap_SoMultiTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureCoordinateElement_getClassStackIndex", _wrap_SoMultiTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureCoordinateElement_createInstance", _wrap_SoMultiTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoMultiTextureCoordinateElement_initClass", _wrap_SoMultiTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_initClass()"}, - { (char *)"SoMultiTextureCoordinateElement_init", _wrap_SoMultiTextureCoordinateElement_init, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_init(SoMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoMultiTextureCoordinateElement_setDefault", _wrap_SoMultiTextureCoordinateElement_setDefault, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_setDefault(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureCoordinateElement_setFunction", _wrap_SoMultiTextureCoordinateElement_setFunction, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, \n" - " void userdata)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set2", _wrap_SoMultiTextureCoordinateElement_set2, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set2(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec2f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set3", _wrap_SoMultiTextureCoordinateElement_set3, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set3(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec3f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set4", _wrap_SoMultiTextureCoordinateElement_set4, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set4(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec4f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getType", _wrap_SoMultiTextureCoordinateElement_getType, METH_VARARGS, (char *)"\n" - "getType(SoState state, int unit) -> CoordType\n" - "SoMultiTextureCoordinateElement_getType(SoMultiTextureCoordinateElement self, int unit) -> CoordType\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getInstance", _wrap_SoMultiTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getInstance(SoState state) -> SoMultiTextureCoordinateElement"}, - { (char *)"SoMultiTextureCoordinateElement_get", _wrap_SoMultiTextureCoordinateElement_get, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_get(SoMultiTextureCoordinateElement self, int unit, SbVec3f point, \n" - " SbVec3f normal) -> SbVec4f\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getNum", _wrap_SoMultiTextureCoordinateElement_getNum, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getNum(SoMultiTextureCoordinateElement self, int unit) -> int32_t"}, - { (char *)"SoMultiTextureCoordinateElement_is2D", _wrap_SoMultiTextureCoordinateElement_is2D, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_is2D(SoMultiTextureCoordinateElement self, int unit) -> SbBool"}, - { (char *)"SoMultiTextureCoordinateElement_getDimension", _wrap_SoMultiTextureCoordinateElement_getDimension, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getDimension(SoMultiTextureCoordinateElement self, int unit) -> int32_t"}, - { (char *)"SoMultiTextureCoordinateElement_get2", _wrap_SoMultiTextureCoordinateElement_get2, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get2(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec2f"}, - { (char *)"SoMultiTextureCoordinateElement_get3", _wrap_SoMultiTextureCoordinateElement_get3, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get3(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec3f"}, - { (char *)"SoMultiTextureCoordinateElement_get4", _wrap_SoMultiTextureCoordinateElement_get4, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get4(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec4f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr2", _wrap_SoMultiTextureCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr2(SoMultiTextureCoordinateElement self, int unit) -> SbVec2f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr3", _wrap_SoMultiTextureCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr3(SoMultiTextureCoordinateElement self, int unit) -> SbVec3f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr4", _wrap_SoMultiTextureCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr4(SoMultiTextureCoordinateElement self, int unit) -> SbVec4f"}, - { (char *)"SoMultiTextureCoordinateElement_push", _wrap_SoMultiTextureCoordinateElement_push, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_push(SoMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoMultiTextureCoordinateElement_matches", _wrap_SoMultiTextureCoordinateElement_matches, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_matches(SoMultiTextureCoordinateElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureCoordinateElement_copyMatchInfo", _wrap_SoMultiTextureCoordinateElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_copyMatchInfo(SoMultiTextureCoordinateElement self) -> SoElement"}, - { (char *)"SoMultiTextureCoordinateElement_swigregister", SoMultiTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureCoordinateElement_getClassTypeId", _wrap_SoGLMultiTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex", _wrap_SoGLMultiTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureCoordinateElement_createInstance", _wrap_SoGLMultiTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureCoordinateElement_initClass", _wrap_SoGLMultiTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_initClass()"}, - { (char *)"SoGLMultiTextureCoordinateElement_init", _wrap_SoGLMultiTextureCoordinateElement_init, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_init(SoGLMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLMultiTextureCoordinateElement_push", _wrap_SoGLMultiTextureCoordinateElement_push, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_push(SoGLMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLMultiTextureCoordinateElement_pop", _wrap_SoGLMultiTextureCoordinateElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureCoordinateElement_pop(SoGLMultiTextureCoordinateElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_setTexGen", _wrap_SoGLMultiTextureCoordinateElement_setTexGen, METH_VARARGS, (char *)"\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None, \n" - " void funcData=None)\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None)\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None)\n" - "SoGLMultiTextureCoordinateElement_setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_getType", _wrap_SoGLMultiTextureCoordinateElement_getType, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getType(SoGLMultiTextureCoordinateElement self, int unit) -> CoordType"}, - { (char *)"SoGLMultiTextureCoordinateElement_getInstance", _wrap_SoGLMultiTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getInstance(SoState state) -> SoGLMultiTextureCoordinateElement"}, - { (char *)"SoGLMultiTextureCoordinateElement_send", _wrap_SoGLMultiTextureCoordinateElement_send, METH_VARARGS, (char *)"\n" - "send(int unit, int index)\n" - "SoGLMultiTextureCoordinateElement_send(SoGLMultiTextureCoordinateElement self, int unit, int index, \n" - " SbVec3f c, SbVec3f n)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_initRender", _wrap_SoGLMultiTextureCoordinateElement_initRender, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureCoordinateElement_initRender(SoGLMultiTextureCoordinateElement self, SbBool enabled, \n" - " int maxenabled)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_swigregister", SoGLMultiTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureEnabledElement_getClassTypeId", _wrap_SoMultiTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureEnabledElement_getClassStackIndex", _wrap_SoMultiTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureEnabledElement_createInstance", _wrap_SoMultiTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoMultiTextureEnabledElement_initClass", _wrap_SoMultiTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_initClass()"}, - { (char *)"SoMultiTextureEnabledElement_init", _wrap_SoMultiTextureEnabledElement_init, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_init(SoMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoMultiTextureEnabledElement_set", _wrap_SoMultiTextureEnabledElement_set, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_set(SoState state, SoNode node, int unit, SbBool enabled)"}, - { (char *)"SoMultiTextureEnabledElement_get", _wrap_SoMultiTextureEnabledElement_get, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_get(SoState state, int unit) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_setElt", _wrap_SoMultiTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_setElt(SoMultiTextureEnabledElement self, int unit, int mode)"}, - { (char *)"SoMultiTextureEnabledElement_push", _wrap_SoMultiTextureEnabledElement_push, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_push(SoMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoMultiTextureEnabledElement_matches", _wrap_SoMultiTextureEnabledElement_matches, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_matches(SoMultiTextureEnabledElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_copyMatchInfo", _wrap_SoMultiTextureEnabledElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_copyMatchInfo(SoMultiTextureEnabledElement self) -> SoElement"}, - { (char *)"SoMultiTextureEnabledElement_getEnabledUnits", _wrap_SoMultiTextureEnabledElement_getEnabledUnits, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getEnabledUnits(SoState state, int lastenabled) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_getActiveUnits", _wrap_SoMultiTextureEnabledElement_getActiveUnits, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getActiveUnits(SoState state, int lastenabled) -> Mode"}, - { (char *)"SoMultiTextureEnabledElement_enableRectangle", _wrap_SoMultiTextureEnabledElement_enableRectangle, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_enableRectangle(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureEnabledElement_enableCubeMap", _wrap_SoMultiTextureEnabledElement_enableCubeMap, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_enableCubeMap(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureEnabledElement_getMode", _wrap_SoMultiTextureEnabledElement_getMode, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getMode(SoState state, int unit) -> Mode"}, - { (char *)"SoMultiTextureEnabledElement_disableAll", _wrap_SoMultiTextureEnabledElement_disableAll, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_disableAll(SoState state)"}, - { (char *)"SoMultiTextureEnabledElement_swigregister", SoMultiTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureEnabledElement_getClassTypeId", _wrap_SoGLMultiTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureEnabledElement_getClassStackIndex", _wrap_SoGLMultiTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureEnabledElement_createInstance", _wrap_SoGLMultiTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureEnabledElement_initClass", _wrap_SoGLMultiTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_initClass()"}, - { (char *)"SoGLMultiTextureEnabledElement_init", _wrap_SoGLMultiTextureEnabledElement_init, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_init(SoGLMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLMultiTextureEnabledElement_push", _wrap_SoGLMultiTextureEnabledElement_push, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_push(SoGLMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLMultiTextureEnabledElement_pop", _wrap_SoGLMultiTextureEnabledElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureEnabledElement_pop(SoGLMultiTextureEnabledElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureEnabledElement_setElt", _wrap_SoGLMultiTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_setElt(SoGLMultiTextureEnabledElement self, int unit, int mode)"}, - { (char *)"SoGLMultiTextureEnabledElement_swigregister", SoGLMultiTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureImageElement_getClassTypeId", _wrap_SoMultiTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureImageElement_getClassStackIndex", _wrap_SoMultiTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureImageElement_createInstance", _wrap_SoMultiTextureImageElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureImageElement_createInstance() -> void"}, - { (char *)"SoMultiTextureImageElement_initClass", _wrap_SoMultiTextureImageElement_initClass, METH_VARARGS, (char *)"SoMultiTextureImageElement_initClass()"}, - { (char *)"SoMultiTextureImageElement_init", _wrap_SoMultiTextureImageElement_init, METH_VARARGS, (char *)"SoMultiTextureImageElement_init(SoMultiTextureImageElement self, SoState state)"}, - { (char *)"SoMultiTextureImageElement_setDefault", _wrap_SoMultiTextureImageElement_setDefault, METH_VARARGS, (char *)"SoMultiTextureImageElement_setDefault(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureImageElement_set", _wrap_SoMultiTextureImageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int unit, SbVec2s size, \n" - " int numComponents, unsigned char bytes, Wrap wrapS, \n" - " Wrap wrapT, Model model, SbColor blendColor)\n" - "SoMultiTextureImageElement_set(SoState state, SoNode node, int unit, SbVec3s size, \n" - " int numComponents, unsigned char bytes, Wrap wrapS, \n" - " Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor)\n" - ""}, - { (char *)"SoMultiTextureImageElement_get", _wrap_SoMultiTextureImageElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state, int unit, SbVec2s size, int numComponents, \n" - " Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char\n" - "SoMultiTextureImageElement_get(SoState state, int unit, SbVec3s size, int numComponents, \n" - " Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_getImage", _wrap_SoMultiTextureImageElement_getImage, METH_VARARGS, (char *)"\n" - "getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char\n" - "SoMultiTextureImageElement_getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_getBlendColor", _wrap_SoMultiTextureImageElement_getBlendColor, METH_VARARGS, (char *)"SoMultiTextureImageElement_getBlendColor(SoState state, int unit) -> SbColor"}, - { (char *)"SoMultiTextureImageElement_getModel", _wrap_SoMultiTextureImageElement_getModel, METH_VARARGS, (char *)"SoMultiTextureImageElement_getModel(SoState state, int unit) -> Model"}, - { (char *)"SoMultiTextureImageElement_getWrapS", _wrap_SoMultiTextureImageElement_getWrapS, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapS(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_getWrapT", _wrap_SoMultiTextureImageElement_getWrapT, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapT(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_getWrapR", _wrap_SoMultiTextureImageElement_getWrapR, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapR(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_containsTransparency", _wrap_SoMultiTextureImageElement_containsTransparency, METH_VARARGS, (char *)"SoMultiTextureImageElement_containsTransparency(SoState state) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_getDefault", _wrap_SoMultiTextureImageElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault(SbVec2s size, int numComponents) -> unsigned char\n" - "SoMultiTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_push", _wrap_SoMultiTextureImageElement_push, METH_VARARGS, (char *)"SoMultiTextureImageElement_push(SoMultiTextureImageElement self, SoState state)"}, - { (char *)"SoMultiTextureImageElement_matches", _wrap_SoMultiTextureImageElement_matches, METH_VARARGS, (char *)"SoMultiTextureImageElement_matches(SoMultiTextureImageElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_copyMatchInfo", _wrap_SoMultiTextureImageElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureImageElement_copyMatchInfo(SoMultiTextureImageElement self) -> SoElement"}, - { (char *)"SoMultiTextureImageElement_setElt", _wrap_SoMultiTextureImageElement_setElt, METH_VARARGS, (char *)"\n" - "setElt(int unit, uint32_t nodeid, SbVec2s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Model model, SbColor blendColor)\n" - "SoMultiTextureImageElement_setElt(SoMultiTextureImageElement self, int unit, uint32_t nodeid, \n" - " SbVec3s size, int numComponents, unsigned char bytes, \n" - " Wrap wrapS, Wrap wrapT, Wrap wrapR, \n" - " Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoMultiTextureImageElement_hasTransparency", _wrap_SoMultiTextureImageElement_hasTransparency, METH_VARARGS, (char *)"SoMultiTextureImageElement_hasTransparency(SoMultiTextureImageElement self, int unit) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_swigregister", SoMultiTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureImageElement_getClassTypeId", _wrap_SoGLMultiTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureImageElement_getClassStackIndex", _wrap_SoGLMultiTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureImageElement_createInstance", _wrap_SoGLMultiTextureImageElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureImageElement_initClass", _wrap_SoGLMultiTextureImageElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_initClass()"}, - { (char *)"SoGLMultiTextureImageElement_init", _wrap_SoGLMultiTextureImageElement_init, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_init(SoGLMultiTextureImageElement self, SoState state)"}, - { (char *)"SoGLMultiTextureImageElement_push", _wrap_SoGLMultiTextureImageElement_push, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_push(SoGLMultiTextureImageElement self, SoState state)"}, - { (char *)"SoGLMultiTextureImageElement_pop", _wrap_SoGLMultiTextureImageElement_pop, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_pop(SoGLMultiTextureImageElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLMultiTextureImageElement_set", _wrap_SoGLMultiTextureImageElement_set, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureImageElement_set(SoState state, SoNode node, int unit, SoGLImage image, \n" - " Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoGLMultiTextureImageElement_restore", _wrap_SoGLMultiTextureImageElement_restore, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_restore(SoState state, int unit)"}, - { (char *)"SoGLMultiTextureImageElement_get", _wrap_SoGLMultiTextureImageElement_get, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage"}, - { (char *)"SoGLMultiTextureImageElement_hasTransparency", _wrap_SoGLMultiTextureImageElement_hasTransparency, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_hasTransparency(SoState state) -> SbBool"}, - { (char *)"SoGLMultiTextureImageElement_swigregister", SoGLMultiTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureMatrixElement_getClassTypeId", _wrap_SoMultiTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureMatrixElement_getClassStackIndex", _wrap_SoMultiTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureMatrixElement_createInstance", _wrap_SoMultiTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoMultiTextureMatrixElement_initClass", _wrap_SoMultiTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_initClass()"}, - { (char *)"SoMultiTextureMatrixElement_init", _wrap_SoMultiTextureMatrixElement_init, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_init(SoMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoMultiTextureMatrixElement_push", _wrap_SoMultiTextureMatrixElement_push, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_push(SoMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoMultiTextureMatrixElement_set", _wrap_SoMultiTextureMatrixElement_set, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_set(SoState state, SoNode node, int unit, SbMatrix matrix)"}, - { (char *)"SoMultiTextureMatrixElement_mult", _wrap_SoMultiTextureMatrixElement_mult, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_mult(SoState state, SoNode node, int unit, SbMatrix matrix)"}, - { (char *)"SoMultiTextureMatrixElement_get", _wrap_SoMultiTextureMatrixElement_get, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_get(SoState state, int unit) -> SbMatrix"}, - { (char *)"SoMultiTextureMatrixElement_swigregister", SoMultiTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureMatrixElement_getClassTypeId", _wrap_SoGLMultiTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureMatrixElement_getClassStackIndex", _wrap_SoGLMultiTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureMatrixElement_createInstance", _wrap_SoGLMultiTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureMatrixElement_initClass", _wrap_SoGLMultiTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_initClass()"}, - { (char *)"SoGLMultiTextureMatrixElement_init", _wrap_SoGLMultiTextureMatrixElement_init, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_init(SoGLMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLMultiTextureMatrixElement_push", _wrap_SoGLMultiTextureMatrixElement_push, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_push(SoGLMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLMultiTextureMatrixElement_pop", _wrap_SoGLMultiTextureMatrixElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureMatrixElement_pop(SoGLMultiTextureMatrixElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureMatrixElement_multElt", _wrap_SoGLMultiTextureMatrixElement_multElt, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_multElt(SoGLMultiTextureMatrixElement self, int unit, SbMatrix matrix)"}, - { (char *)"SoGLMultiTextureMatrixElement_setElt", _wrap_SoGLMultiTextureMatrixElement_setElt, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_setElt(SoGLMultiTextureMatrixElement self, int unit, SbMatrix matrix)"}, - { (char *)"SoGLMultiTextureMatrixElement_swigregister", SoGLMultiTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbColor4f", _wrap_new_SbColor4f, METH_VARARGS, (char *)"\n" - "SbColor4f()\n" - "SbColor4f(SbColor rgb, float alpha)\n" - "SbColor4f(SbVec4f v)\n" - "SbColor4f(float rgba)\n" - "SbColor4f(float r, float g, float b, float a=1.0)\n" - "new_SbColor4f(float r, float g, float b) -> SbColor4f\n" - ""}, - { (char *)"SbColor4f_setValue", _wrap_SbColor4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float r, float g, float b, float a=1.0)\n" - "setValue(float r, float g, float b)\n" - "SbColor4f_setValue(SbColor4f self, float col)\n" - ""}, - { (char *)"SbColor4f_getValue", _wrap_SbColor4f_getValue, METH_VARARGS, (char *)"SbColor4f_getValue(SbColor4f self, float r, float g, float b, float a)"}, - { (char *)"SbColor4f_setRGB", _wrap_SbColor4f_setRGB, METH_VARARGS, (char *)"SbColor4f_setRGB(SbColor4f self, SbColor col) -> SbColor4f"}, - { (char *)"SbColor4f_getRGB", _wrap_SbColor4f_getRGB, METH_VARARGS, (char *)"SbColor4f_getRGB(SbColor4f self, SbColor color)"}, - { (char *)"SbColor4f_setHSVValue", _wrap_SbColor4f_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v, float a=1.0) -> SbColor4f\n" - "setHSVValue(float h, float s, float v) -> SbColor4f\n" - "setHSVValue(float hsv, float alpha=1.0) -> SbColor4f\n" - "SbColor4f_setHSVValue(SbColor4f self, float hsv) -> SbColor4f\n" - ""}, - { (char *)"SbColor4f_getHSVValue", _wrap_SbColor4f_getHSVValue, METH_VARARGS, (char *)"SbColor4f_getHSVValue(SbColor4f self, float h, float s, float v)"}, - { (char *)"SbColor4f_setPackedValue", _wrap_SbColor4f_setPackedValue, METH_VARARGS, (char *)"SbColor4f_setPackedValue(SbColor4f self, uint32_t rgba) -> SbColor4f"}, - { (char *)"SbColor4f_getPackedValue", _wrap_SbColor4f_getPackedValue, METH_VARARGS, (char *)"SbColor4f_getPackedValue(SbColor4f self) -> uint32_t"}, - { (char *)"SbColor4f___imul__", _wrap_SbColor4f___imul__, METH_VARARGS, (char *)"SbColor4f___imul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___idiv__", _wrap_SbColor4f___idiv__, METH_VARARGS, (char *)"SbColor4f___idiv__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___iadd__", _wrap_SbColor4f___iadd__, METH_VARARGS, (char *)"SbColor4f___iadd__(SbColor4f self, SbColor4f c) -> SbColor4f"}, - { (char *)"SbColor4f___isub__", _wrap_SbColor4f___isub__, METH_VARARGS, (char *)"SbColor4f___isub__(SbColor4f self, SbColor4f c) -> SbColor4f"}, - { (char *)"SbColor4f___add__", _wrap_SbColor4f___add__, METH_VARARGS, (char *)"SbColor4f___add__(SbColor4f self, SbColor4f u) -> SbColor4f"}, - { (char *)"SbColor4f___sub__", _wrap_SbColor4f___sub__, METH_VARARGS, (char *)"SbColor4f___sub__(SbColor4f self, SbColor4f u) -> SbColor4f"}, - { (char *)"SbColor4f___mul__", _wrap_SbColor4f___mul__, METH_VARARGS, (char *)"SbColor4f___mul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___rmul__", _wrap_SbColor4f___rmul__, METH_VARARGS, (char *)"SbColor4f___rmul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___div__", _wrap_SbColor4f___div__, METH_VARARGS, (char *)"SbColor4f___div__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___eq__", _wrap_SbColor4f___eq__, METH_VARARGS, (char *)"SbColor4f___eq__(SbColor4f self, SbColor4f u) -> int"}, - { (char *)"SbColor4f___nq__", _wrap_SbColor4f___nq__, METH_VARARGS, (char *)"SbColor4f___nq__(SbColor4f self, SbColor4f u) -> int"}, - { (char *)"SbColor4f___getitem__", _wrap_SbColor4f___getitem__, METH_VARARGS, (char *)"SbColor4f___getitem__(SbColor4f self, int i) -> float"}, - { (char *)"delete_SbColor4f", _wrap_delete_SbColor4f, METH_VARARGS, (char *)"delete_SbColor4f(SbColor4f self)"}, - { (char *)"SbColor4f_swigregister", SbColor4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCombineElement_getClassTypeId", _wrap_SoTextureCombineElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCombineElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCombineElement_getClassStackIndex", _wrap_SoTextureCombineElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCombineElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCombineElement_createInstance", _wrap_SoTextureCombineElement_createInstance, METH_VARARGS, (char *)"SoTextureCombineElement_createInstance() -> void"}, - { (char *)"SoTextureCombineElement_initClass", _wrap_SoTextureCombineElement_initClass, METH_VARARGS, (char *)"SoTextureCombineElement_initClass()"}, - { (char *)"SoTextureCombineElement_init", _wrap_SoTextureCombineElement_init, METH_VARARGS, (char *)"SoTextureCombineElement_init(SoTextureCombineElement self, SoState state)"}, - { (char *)"SoTextureCombineElement_set", _wrap_SoTextureCombineElement_set, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_set(SoState state, SoNode node, int unit, Operation rgboperation, \n" - " Operation alphaoperation, Source rgbsource, \n" - " Source alphasource, Operand rgboperand, \n" - " Operand alphaoperand, SbColor4f constantcolor, \n" - " float rgbscale, float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_isDefault", _wrap_SoTextureCombineElement_isDefault, METH_VARARGS, (char *)"SoTextureCombineElement_isDefault(SoState state, int unit) -> SbBool"}, - { (char *)"SoTextureCombineElement_get", _wrap_SoTextureCombineElement_get, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, \n" - " Source rgbsource, Source alphasource, \n" - " Operand rgboperand, Operand alphaoperand, \n" - " SbColor4f constantcolor, float rgbscale, \n" - " float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_push", _wrap_SoTextureCombineElement_push, METH_VARARGS, (char *)"SoTextureCombineElement_push(SoTextureCombineElement self, SoState state)"}, - { (char *)"SoTextureCombineElement_matches", _wrap_SoTextureCombineElement_matches, METH_VARARGS, (char *)"SoTextureCombineElement_matches(SoTextureCombineElement self, SoElement elem) -> SbBool"}, - { (char *)"SoTextureCombineElement_copyMatchInfo", _wrap_SoTextureCombineElement_copyMatchInfo, METH_VARARGS, (char *)"SoTextureCombineElement_copyMatchInfo(SoTextureCombineElement self) -> SoElement"}, - { (char *)"SoTextureCombineElement_setElt", _wrap_SoTextureCombineElement_setElt, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_setElt(SoTextureCombineElement self, int unit, uint32_t nodeid, \n" - " Operation rgboperation, Operation alphaoperation, \n" - " Source rgbsource, Source alphasource, \n" - " Operand rgboperand, Operand alphaoperand, \n" - " SbColor4f constantcolor, float rgbscale, float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_apply", _wrap_SoTextureCombineElement_apply, METH_VARARGS, (char *)"SoTextureCombineElement_apply(SoState state, int unit)"}, - { (char *)"SoTextureCombineElement_swigregister", SoTextureCombineElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureUnitElement_getClassTypeId", _wrap_SoTextureUnitElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureUnitElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureUnitElement_getClassStackIndex", _wrap_SoTextureUnitElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureUnitElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureUnitElement_createInstance", _wrap_SoTextureUnitElement_createInstance, METH_VARARGS, (char *)"SoTextureUnitElement_createInstance() -> void"}, - { (char *)"SoTextureUnitElement_initClass", _wrap_SoTextureUnitElement_initClass, METH_VARARGS, (char *)"SoTextureUnitElement_initClass()"}, - { (char *)"SoTextureUnitElement_init", _wrap_SoTextureUnitElement_init, METH_VARARGS, (char *)"SoTextureUnitElement_init(SoTextureUnitElement self, SoState state)"}, - { (char *)"SoTextureUnitElement_set", _wrap_SoTextureUnitElement_set, METH_VARARGS, (char *)"SoTextureUnitElement_set(SoState state, SoNode node, int units)"}, - { (char *)"SoTextureUnitElement_get", _wrap_SoTextureUnitElement_get, METH_VARARGS, (char *)"SoTextureUnitElement_get(SoState state) -> int"}, - { (char *)"SoTextureUnitElement_swigregister", SoTextureUnitElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEngine_initClass", _wrap_SoEngine_initClass, METH_VARARGS, (char *)"SoEngine_initClass()"}, - { (char *)"SoEngine_initClasses", _wrap_SoEngine_initClasses, METH_VARARGS, (char *)"SoEngine_initClasses()"}, - { (char *)"SoEngine_getClassTypeId", _wrap_SoEngine_getClassTypeId, METH_VARARGS, (char *)"SoEngine_getClassTypeId() -> SoType"}, - { (char *)"SoEngine_evaluateWrapper", _wrap_SoEngine_evaluateWrapper, METH_VARARGS, (char *)"SoEngine_evaluateWrapper(SoEngine self)"}, - { (char *)"SoEngine_getOutputs", _wrap_SoEngine_getOutputs, METH_VARARGS, (char *)"SoEngine_getOutputs(SoEngine self, SoEngineOutputList l) -> int"}, - { (char *)"SoEngine_getOutput", _wrap_SoEngine_getOutput, METH_VARARGS, (char *)"SoEngine_getOutput(SoEngine self, SbName outputname) -> SoEngineOutput"}, - { (char *)"SoEngine_getOutputName", _wrap_SoEngine_getOutputName, METH_VARARGS, (char *)"SoEngine_getOutputName(SoEngine self, SoEngineOutput output, SbName outputname) -> SbBool"}, - { (char *)"SoEngine_getOutputData", _wrap_SoEngine_getOutputData, METH_VARARGS, (char *)"SoEngine_getOutputData(SoEngine self) -> SoEngineOutputData"}, - { (char *)"SoEngine_getByName", _wrap_SoEngine_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoEngine\n" - "SoEngine_getByName(SbName name, SoEngineList el) -> int\n" - ""}, - { (char *)"SoEngine_isNotifying", _wrap_SoEngine_isNotifying, METH_VARARGS, (char *)"SoEngine_isNotifying(SoEngine self) -> SbBool"}, - { (char *)"SoEngine_notify", _wrap_SoEngine_notify, METH_VARARGS, (char *)"SoEngine_notify(SoEngine self, SoNotList nl)"}, - { (char *)"SoEngine_copy", _wrap_SoEngine_copy, METH_VARARGS, (char *)"SoEngine_copy(SoEngine self) -> SoEngine"}, - { (char *)"SoEngine_copyThroughConnection", _wrap_SoEngine_copyThroughConnection, METH_VARARGS, (char *)"SoEngine_copyThroughConnection(SoEngine self) -> SoFieldContainer"}, - { (char *)"SoEngine_shouldCopy", _wrap_SoEngine_shouldCopy, METH_VARARGS, (char *)"SoEngine_shouldCopy(SoEngine self) -> SbBool"}, - { (char *)"SoEngine_writeInstance", _wrap_SoEngine_writeInstance, METH_VARARGS, (char *)"SoEngine_writeInstance(SoEngine self, SoOutput out)"}, - { (char *)"SoEngine_swigregister", SoEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutput", _wrap_new_SoEngineOutput, METH_VARARGS, (char *)"new_SoEngineOutput() -> SoEngineOutput"}, - { (char *)"delete_SoEngineOutput", _wrap_delete_SoEngineOutput, METH_VARARGS, (char *)"delete_SoEngineOutput(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_getConnectionType", _wrap_SoEngineOutput_getConnectionType, METH_VARARGS, (char *)"SoEngineOutput_getConnectionType(SoEngineOutput self) -> SoType"}, - { (char *)"SoEngineOutput_getForwardConnections", _wrap_SoEngineOutput_getForwardConnections, METH_VARARGS, (char *)"SoEngineOutput_getForwardConnections(SoEngineOutput self, SoFieldList fl) -> int"}, - { (char *)"SoEngineOutput_enable", _wrap_SoEngineOutput_enable, METH_VARARGS, (char *)"SoEngineOutput_enable(SoEngineOutput self, SbBool flag)"}, - { (char *)"SoEngineOutput_isEnabled", _wrap_SoEngineOutput_isEnabled, METH_VARARGS, (char *)"SoEngineOutput_isEnabled(SoEngineOutput self) -> SbBool"}, - { (char *)"SoEngineOutput_getContainer", _wrap_SoEngineOutput_getContainer, METH_VARARGS, (char *)"SoEngineOutput_getContainer(SoEngineOutput self) -> SoEngine"}, - { (char *)"SoEngineOutput_getNodeContainer", _wrap_SoEngineOutput_getNodeContainer, METH_VARARGS, (char *)"SoEngineOutput_getNodeContainer(SoEngineOutput self) -> SoNodeEngine"}, - { (char *)"SoEngineOutput_isNodeEngineOutput", _wrap_SoEngineOutput_isNodeEngineOutput, METH_VARARGS, (char *)"SoEngineOutput_isNodeEngineOutput(SoEngineOutput self) -> SbBool"}, - { (char *)"SoEngineOutput_setContainer", _wrap_SoEngineOutput_setContainer, METH_VARARGS, (char *)"SoEngineOutput_setContainer(SoEngineOutput self, SoEngine engine)"}, - { (char *)"SoEngineOutput_setNodeContainer", _wrap_SoEngineOutput_setNodeContainer, METH_VARARGS, (char *)"SoEngineOutput_setNodeContainer(SoEngineOutput self, SoNodeEngine nodeengine)"}, - { (char *)"SoEngineOutput_addConnection", _wrap_SoEngineOutput_addConnection, METH_VARARGS, (char *)"SoEngineOutput_addConnection(SoEngineOutput self, SoField f)"}, - { (char *)"SoEngineOutput_removeConnection", _wrap_SoEngineOutput_removeConnection, METH_VARARGS, (char *)"SoEngineOutput_removeConnection(SoEngineOutput self, SoField f)"}, - { (char *)"SoEngineOutput_getNumConnections", _wrap_SoEngineOutput_getNumConnections, METH_VARARGS, (char *)"SoEngineOutput_getNumConnections(SoEngineOutput self) -> int"}, - { (char *)"SoEngineOutput_prepareToWrite", _wrap_SoEngineOutput_prepareToWrite, METH_VARARGS, (char *)"SoEngineOutput_prepareToWrite(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_doneWriting", _wrap_SoEngineOutput_doneWriting, METH_VARARGS, (char *)"SoEngineOutput_doneWriting(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_touchSlaves", _wrap_SoEngineOutput_touchSlaves, METH_VARARGS, (char *)"SoEngineOutput_touchSlaves(SoEngineOutput self, SoNotList nl, SbBool donotify)"}, - { (char *)"SoEngineOutput_getFieldContainer", _wrap_SoEngineOutput_getFieldContainer, METH_VARARGS, (char *)"SoEngineOutput_getFieldContainer(SoEngineOutput self) -> SoFieldContainer"}, - { (char *)"SoEngineOutput_swigregister", SoEngineOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutputData", _wrap_new_SoEngineOutputData, METH_VARARGS, (char *)"\n" - "SoEngineOutputData()\n" - "SoEngineOutputData(SoEngineOutputData data)\n" - "new_SoEngineOutputData(int approxnum) -> SoEngineOutputData\n" - ""}, - { (char *)"delete_SoEngineOutputData", _wrap_delete_SoEngineOutputData, METH_VARARGS, (char *)"delete_SoEngineOutputData(SoEngineOutputData self)"}, - { (char *)"SoEngineOutputData_addOutput", _wrap_SoEngineOutputData_addOutput, METH_VARARGS, (char *)"\n" - "addOutput(SoEngine base, char name, SoEngineOutput output, SoType type)\n" - "SoEngineOutputData_addOutput(SoEngineOutputData self, SoNodeEngine base, char name, \n" - " SoEngineOutput output, SoType type)\n" - ""}, - { (char *)"SoEngineOutputData_getNumOutputs", _wrap_SoEngineOutputData_getNumOutputs, METH_VARARGS, (char *)"SoEngineOutputData_getNumOutputs(SoEngineOutputData self) -> int"}, - { (char *)"SoEngineOutputData_getOutputName", _wrap_SoEngineOutputData_getOutputName, METH_VARARGS, (char *)"SoEngineOutputData_getOutputName(SoEngineOutputData self, int index) -> SbName"}, - { (char *)"SoEngineOutputData_getOutput", _wrap_SoEngineOutputData_getOutput, METH_VARARGS, (char *)"\n" - "getOutput(SoEngine engine, int index) -> SoEngineOutput\n" - "SoEngineOutputData_getOutput(SoEngineOutputData self, SoNodeEngine engine, int index) -> SoEngineOutput\n" - ""}, - { (char *)"SoEngineOutputData_getIndex", _wrap_SoEngineOutputData_getIndex, METH_VARARGS, (char *)"\n" - "getIndex(SoEngine engine, SoEngineOutput output) -> int\n" - "SoEngineOutputData_getIndex(SoEngineOutputData self, SoNodeEngine engine, SoEngineOutput output) -> int\n" - ""}, - { (char *)"SoEngineOutputData_getType", _wrap_SoEngineOutputData_getType, METH_VARARGS, (char *)"SoEngineOutputData_getType(SoEngineOutputData self, int index) -> SoType"}, - { (char *)"SoEngineOutputData_readDescriptions", _wrap_SoEngineOutputData_readDescriptions, METH_VARARGS, (char *)"SoEngineOutputData_readDescriptions(SoEngineOutputData self, SoInput input, SoEngine engine) -> SbBool"}, - { (char *)"SoEngineOutputData_writeDescriptions", _wrap_SoEngineOutputData_writeDescriptions, METH_VARARGS, (char *)"SoEngineOutputData_writeDescriptions(SoEngineOutputData self, SoOutput out, SoEngine engine)"}, - { (char *)"SoEngineOutputData_swigregister", SoEngineOutputData_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFBool", _wrap_new_SoMFBool, METH_VARARGS, (char *)"new_SoMFBool() -> SoMFBool"}, - { (char *)"delete_SoMFBool", _wrap_delete_SoMFBool, METH_VARARGS, (char *)"delete_SoMFBool(SoMFBool self)"}, - { (char *)"SoMFBool_createInstance", _wrap_SoMFBool_createInstance, METH_VARARGS, (char *)"SoMFBool_createInstance() -> void"}, - { (char *)"SoMFBool_getClassTypeId", _wrap_SoMFBool_getClassTypeId, METH_VARARGS, (char *)"SoMFBool_getClassTypeId() -> SoType"}, - { (char *)"SoMFBool_getTypeId", _wrap_SoMFBool_getTypeId, METH_VARARGS, (char *)"SoMFBool_getTypeId(SoMFBool self) -> SoType"}, - { (char *)"SoMFBool_copyFrom", _wrap_SoMFBool_copyFrom, METH_VARARGS, (char *)"SoMFBool_copyFrom(SoMFBool self, SoField field)"}, - { (char *)"SoMFBool_isSame", _wrap_SoMFBool_isSame, METH_VARARGS, (char *)"SoMFBool_isSame(SoMFBool self, SoField field) -> SbBool"}, - { (char *)"SoMFBool_find", _wrap_SoMFBool_find, METH_VARARGS, (char *)"\n" - "find(SbBool value, SbBool addifnotfound=0) -> int\n" - "SoMFBool_find(SoMFBool self, SbBool value) -> int\n" - ""}, - { (char *)"SoMFBool_setValues", _wrap_SoMFBool_setValues, METH_VARARGS, (char *)"SoMFBool_setValues(SoMFBool self, int start, int num, SbBool newvals)"}, - { (char *)"SoMFBool_set1Value", _wrap_SoMFBool_set1Value, METH_VARARGS, (char *)"SoMFBool_set1Value(SoMFBool self, int idx, SbBool value)"}, - { (char *)"SoMFBool___eq__", _wrap_SoMFBool___eq__, METH_VARARGS, (char *)"SoMFBool___eq__(SoMFBool self, SoMFBool field) -> SbBool"}, - { (char *)"SoMFBool___ne__", _wrap_SoMFBool___ne__, METH_VARARGS, (char *)"SoMFBool___ne__(SoMFBool self, SoMFBool field) -> SbBool"}, - { (char *)"SoMFBool_startEditing", _wrap_SoMFBool_startEditing, METH_VARARGS, (char *)"SoMFBool_startEditing(SoMFBool self) -> SbBool"}, - { (char *)"SoMFBool_finishEditing", _wrap_SoMFBool_finishEditing, METH_VARARGS, (char *)"SoMFBool_finishEditing(SoMFBool self)"}, - { (char *)"SoMFBool_setValuesPointer", _wrap_SoMFBool_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbBool userdata)\n" - "SoMFBool_setValuesPointer(SoMFBool self, int num, SbBool userdata)\n" - ""}, - { (char *)"SoMFBool_initClass", _wrap_SoMFBool_initClass, METH_VARARGS, (char *)"SoMFBool_initClass()"}, - { (char *)"SoMFBool_setValue", _wrap_SoMFBool_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBool value)\n" - "SoMFBool_setValue(SoMFBool self, SoMFBool other)\n" - ""}, - { (char *)"SoMFBool___getitem__", _wrap_SoMFBool___getitem__, METH_VARARGS, (char *)"SoMFBool___getitem__(SoMFBool self, int i) -> SbBool"}, - { (char *)"SoMFBool___setitem__", _wrap_SoMFBool___setitem__, METH_VARARGS, (char *)"SoMFBool___setitem__(SoMFBool self, int i, SbBool value)"}, - { (char *)"SoMFBool_getValues", _wrap_SoMFBool_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbBool\n" - "SoMFBool_getValues(SoMFBool self, int len) -> SbBool\n" - ""}, - { (char *)"SoMFBool_swigregister", SoMFBool_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFEnum", _wrap_new_SoMFEnum, METH_VARARGS, (char *)"new_SoMFEnum() -> SoMFEnum"}, - { (char *)"delete_SoMFEnum", _wrap_delete_SoMFEnum, METH_VARARGS, (char *)"delete_SoMFEnum(SoMFEnum self)"}, - { (char *)"SoMFEnum_createInstance", _wrap_SoMFEnum_createInstance, METH_VARARGS, (char *)"SoMFEnum_createInstance() -> void"}, - { (char *)"SoMFEnum_getClassTypeId", _wrap_SoMFEnum_getClassTypeId, METH_VARARGS, (char *)"SoMFEnum_getClassTypeId() -> SoType"}, - { (char *)"SoMFEnum_getTypeId", _wrap_SoMFEnum_getTypeId, METH_VARARGS, (char *)"SoMFEnum_getTypeId(SoMFEnum self) -> SoType"}, - { (char *)"SoMFEnum_copyFrom", _wrap_SoMFEnum_copyFrom, METH_VARARGS, (char *)"SoMFEnum_copyFrom(SoMFEnum self, SoField field)"}, - { (char *)"SoMFEnum_isSame", _wrap_SoMFEnum_isSame, METH_VARARGS, (char *)"SoMFEnum_isSame(SoMFEnum self, SoField field) -> SbBool"}, - { (char *)"SoMFEnum_find", _wrap_SoMFEnum_find, METH_VARARGS, (char *)"\n" - "find(int value, SbBool addifnotfound=0) -> int\n" - "SoMFEnum_find(SoMFEnum self, int value) -> int\n" - ""}, - { (char *)"SoMFEnum_setValues", _wrap_SoMFEnum_setValues, METH_VARARGS, (char *)"SoMFEnum_setValues(SoMFEnum self, int start, int num, int newvals)"}, - { (char *)"SoMFEnum___eq__", _wrap_SoMFEnum___eq__, METH_VARARGS, (char *)"SoMFEnum___eq__(SoMFEnum self, SoMFEnum field) -> SbBool"}, - { (char *)"SoMFEnum___ne__", _wrap_SoMFEnum___ne__, METH_VARARGS, (char *)"SoMFEnum___ne__(SoMFEnum self, SoMFEnum field) -> SbBool"}, - { (char *)"SoMFEnum_startEditing", _wrap_SoMFEnum_startEditing, METH_VARARGS, (char *)"SoMFEnum_startEditing(SoMFEnum self) -> int"}, - { (char *)"SoMFEnum_finishEditing", _wrap_SoMFEnum_finishEditing, METH_VARARGS, (char *)"SoMFEnum_finishEditing(SoMFEnum self)"}, - { (char *)"SoMFEnum_initClass", _wrap_SoMFEnum_initClass, METH_VARARGS, (char *)"SoMFEnum_initClass()"}, - { (char *)"SoMFEnum_set1Value", _wrap_SoMFEnum_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, int value)\n" - "SoMFEnum_set1Value(SoMFEnum self, int idx, SbName name)\n" - ""}, - { (char *)"SoMFEnum_setEnums", _wrap_SoMFEnum_setEnums, METH_VARARGS, (char *)"SoMFEnum_setEnums(SoMFEnum self, int num, int values, SbName names)"}, - { (char *)"SoMFEnum_getNumEnums", _wrap_SoMFEnum_getNumEnums, METH_VARARGS, (char *)"SoMFEnum_getNumEnums(SoMFEnum self) -> int"}, - { (char *)"SoMFEnum_getEnum", _wrap_SoMFEnum_getEnum, METH_VARARGS, (char *)"SoMFEnum_getEnum(SoMFEnum self, int idx, SbName name) -> int"}, - { (char *)"SoMFEnum___getitem__", _wrap_SoMFEnum___getitem__, METH_VARARGS, (char *)"SoMFEnum___getitem__(SoMFEnum self, int i) -> int"}, - { (char *)"SoMFEnum___setitem__", _wrap_SoMFEnum___setitem__, METH_VARARGS, (char *)"SoMFEnum___setitem__(SoMFEnum self, int i, int value)"}, - { (char *)"SoMFEnum_setValue", _wrap_SoMFEnum_setValue, METH_VARARGS, (char *)"\n" - "setValue(int value)\n" - "setValue(SbName name)\n" - "SoMFEnum_setValue(SoMFEnum self, SoMFEnum other)\n" - ""}, - { (char *)"SoMFEnum_getValues", _wrap_SoMFEnum_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> int\n" - "SoMFEnum_getValues(SoMFEnum self, int len) -> int\n" - ""}, - { (char *)"SoMFEnum_swigregister", SoMFEnum_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBoolOperation_getClassTypeId", _wrap_SoBoolOperation_getClassTypeId, METH_VARARGS, (char *)"SoBoolOperation_getClassTypeId() -> SoType"}, - { (char *)"SoBoolOperation_getTypeId", _wrap_SoBoolOperation_getTypeId, METH_VARARGS, (char *)"SoBoolOperation_getTypeId(SoBoolOperation self) -> SoType"}, - { (char *)"SoBoolOperation_getFieldData", _wrap_SoBoolOperation_getFieldData, METH_VARARGS, (char *)"SoBoolOperation_getFieldData(SoBoolOperation self) -> SoFieldData"}, - { (char *)"SoBoolOperation_getOutputData", _wrap_SoBoolOperation_getOutputData, METH_VARARGS, (char *)"SoBoolOperation_getOutputData(SoBoolOperation self) -> SoEngineOutputData"}, - { (char *)"SoBoolOperation_createInstance", _wrap_SoBoolOperation_createInstance, METH_VARARGS, (char *)"SoBoolOperation_createInstance() -> void"}, - { (char *)"SoBoolOperation_a_set", _wrap_SoBoolOperation_a_set, METH_VARARGS, (char *)"SoBoolOperation_a_set(SoBoolOperation self, SoMFBool a)"}, - { (char *)"SoBoolOperation_a_get", _wrap_SoBoolOperation_a_get, METH_VARARGS, (char *)"SoBoolOperation_a_get(SoBoolOperation self) -> SoMFBool"}, - { (char *)"SoBoolOperation_b_set", _wrap_SoBoolOperation_b_set, METH_VARARGS, (char *)"SoBoolOperation_b_set(SoBoolOperation self, SoMFBool b)"}, - { (char *)"SoBoolOperation_b_get", _wrap_SoBoolOperation_b_get, METH_VARARGS, (char *)"SoBoolOperation_b_get(SoBoolOperation self) -> SoMFBool"}, - { (char *)"SoBoolOperation_operation_set", _wrap_SoBoolOperation_operation_set, METH_VARARGS, (char *)"SoBoolOperation_operation_set(SoBoolOperation self, SoMFEnum operation)"}, - { (char *)"SoBoolOperation_operation_get", _wrap_SoBoolOperation_operation_get, METH_VARARGS, (char *)"SoBoolOperation_operation_get(SoBoolOperation self) -> SoMFEnum"}, - { (char *)"SoBoolOperation_output_set", _wrap_SoBoolOperation_output_set, METH_VARARGS, (char *)"SoBoolOperation_output_set(SoBoolOperation self, SoEngineOutput output)"}, - { (char *)"SoBoolOperation_output_get", _wrap_SoBoolOperation_output_get, METH_VARARGS, (char *)"SoBoolOperation_output_get(SoBoolOperation self) -> SoEngineOutput"}, - { (char *)"SoBoolOperation_inverse_set", _wrap_SoBoolOperation_inverse_set, METH_VARARGS, (char *)"SoBoolOperation_inverse_set(SoBoolOperation self, SoEngineOutput inverse)"}, - { (char *)"SoBoolOperation_inverse_get", _wrap_SoBoolOperation_inverse_get, METH_VARARGS, (char *)"SoBoolOperation_inverse_get(SoBoolOperation self) -> SoEngineOutput"}, - { (char *)"new_SoBoolOperation", _wrap_new_SoBoolOperation, METH_VARARGS, (char *)"new_SoBoolOperation() -> SoBoolOperation"}, - { (char *)"SoBoolOperation_initClass", _wrap_SoBoolOperation_initClass, METH_VARARGS, (char *)"SoBoolOperation_initClass()"}, - { (char *)"SoBoolOperation_swigregister", SoBoolOperation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFFloat", _wrap_new_SoMFFloat, METH_VARARGS, (char *)"new_SoMFFloat() -> SoMFFloat"}, - { (char *)"delete_SoMFFloat", _wrap_delete_SoMFFloat, METH_VARARGS, (char *)"delete_SoMFFloat(SoMFFloat self)"}, - { (char *)"SoMFFloat_createInstance", _wrap_SoMFFloat_createInstance, METH_VARARGS, (char *)"SoMFFloat_createInstance() -> void"}, - { (char *)"SoMFFloat_getClassTypeId", _wrap_SoMFFloat_getClassTypeId, METH_VARARGS, (char *)"SoMFFloat_getClassTypeId() -> SoType"}, - { (char *)"SoMFFloat_getTypeId", _wrap_SoMFFloat_getTypeId, METH_VARARGS, (char *)"SoMFFloat_getTypeId(SoMFFloat self) -> SoType"}, - { (char *)"SoMFFloat_copyFrom", _wrap_SoMFFloat_copyFrom, METH_VARARGS, (char *)"SoMFFloat_copyFrom(SoMFFloat self, SoField field)"}, - { (char *)"SoMFFloat_isSame", _wrap_SoMFFloat_isSame, METH_VARARGS, (char *)"SoMFFloat_isSame(SoMFFloat self, SoField field) -> SbBool"}, - { (char *)"SoMFFloat_find", _wrap_SoMFFloat_find, METH_VARARGS, (char *)"\n" - "find(float value, SbBool addifnotfound=0) -> int\n" - "SoMFFloat_find(SoMFFloat self, float value) -> int\n" - ""}, - { (char *)"SoMFFloat_setValues", _wrap_SoMFFloat_setValues, METH_VARARGS, (char *)"SoMFFloat_setValues(SoMFFloat self, int start, int num, float newvals)"}, - { (char *)"SoMFFloat_set1Value", _wrap_SoMFFloat_set1Value, METH_VARARGS, (char *)"SoMFFloat_set1Value(SoMFFloat self, int idx, float value)"}, - { (char *)"SoMFFloat___eq__", _wrap_SoMFFloat___eq__, METH_VARARGS, (char *)"SoMFFloat___eq__(SoMFFloat self, SoMFFloat field) -> SbBool"}, - { (char *)"SoMFFloat___ne__", _wrap_SoMFFloat___ne__, METH_VARARGS, (char *)"SoMFFloat___ne__(SoMFFloat self, SoMFFloat field) -> SbBool"}, - { (char *)"SoMFFloat_startEditing", _wrap_SoMFFloat_startEditing, METH_VARARGS, (char *)"SoMFFloat_startEditing(SoMFFloat self) -> float"}, - { (char *)"SoMFFloat_finishEditing", _wrap_SoMFFloat_finishEditing, METH_VARARGS, (char *)"SoMFFloat_finishEditing(SoMFFloat self)"}, - { (char *)"SoMFFloat_setValuesPointer", _wrap_SoMFFloat_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFFloat_setValuesPointer(SoMFFloat self, int num, float userdata)\n" - ""}, - { (char *)"SoMFFloat_initClass", _wrap_SoMFFloat_initClass, METH_VARARGS, (char *)"SoMFFloat_initClass()"}, - { (char *)"SoMFFloat___getitem__", _wrap_SoMFFloat___getitem__, METH_VARARGS, (char *)"SoMFFloat___getitem__(SoMFFloat self, int i) -> float"}, - { (char *)"SoMFFloat___setitem__", _wrap_SoMFFloat___setitem__, METH_VARARGS, (char *)"SoMFFloat___setitem__(SoMFFloat self, int i, float value)"}, - { (char *)"SoMFFloat_setValue", _wrap_SoMFFloat_setValue, METH_VARARGS, (char *)"\n" - "setValue(float value)\n" - "SoMFFloat_setValue(SoMFFloat self, SoMFFloat other)\n" - ""}, - { (char *)"SoMFFloat_getValues", _wrap_SoMFFloat_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> float\n" - "SoMFFloat_getValues(SoMFFloat self, int len) -> float\n" - ""}, - { (char *)"SoMFFloat_swigregister", SoMFFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3f", _wrap_new_SoMFVec3f, METH_VARARGS, (char *)"new_SoMFVec3f() -> SoMFVec3f"}, - { (char *)"delete_SoMFVec3f", _wrap_delete_SoMFVec3f, METH_VARARGS, (char *)"delete_SoMFVec3f(SoMFVec3f self)"}, - { (char *)"SoMFVec3f_createInstance", _wrap_SoMFVec3f_createInstance, METH_VARARGS, (char *)"SoMFVec3f_createInstance() -> void"}, - { (char *)"SoMFVec3f_getClassTypeId", _wrap_SoMFVec3f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3f_getTypeId", _wrap_SoMFVec3f_getTypeId, METH_VARARGS, (char *)"SoMFVec3f_getTypeId(SoMFVec3f self) -> SoType"}, - { (char *)"SoMFVec3f_copyFrom", _wrap_SoMFVec3f_copyFrom, METH_VARARGS, (char *)"SoMFVec3f_copyFrom(SoMFVec3f self, SoField field)"}, - { (char *)"SoMFVec3f_isSame", _wrap_SoMFVec3f_isSame, METH_VARARGS, (char *)"SoMFVec3f_isSame(SoMFVec3f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3f_find", _wrap_SoMFVec3f_find, METH_VARARGS, (char *)"\n" - "find(SbVec3f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3f_find(SoMFVec3f self, SbVec3f value) -> int\n" - ""}, - { (char *)"SoMFVec3f___eq__", _wrap_SoMFVec3f___eq__, METH_VARARGS, (char *)"SoMFVec3f___eq__(SoMFVec3f self, SoMFVec3f field) -> SbBool"}, - { (char *)"SoMFVec3f___ne__", _wrap_SoMFVec3f___ne__, METH_VARARGS, (char *)"SoMFVec3f___ne__(SoMFVec3f self, SoMFVec3f field) -> SbBool"}, - { (char *)"SoMFVec3f_startEditing", _wrap_SoMFVec3f_startEditing, METH_VARARGS, (char *)"SoMFVec3f_startEditing(SoMFVec3f self) -> SbVec3f"}, - { (char *)"SoMFVec3f_finishEditing", _wrap_SoMFVec3f_finishEditing, METH_VARARGS, (char *)"SoMFVec3f_finishEditing(SoMFVec3f self)"}, - { (char *)"SoMFVec3f_setValuesPointer", _wrap_SoMFVec3f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec3f userdata)\n" - "setValuesPointer(int num, SbVec3f userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFVec3f_setValuesPointer(SoMFVec3f self, int num, float userdata)\n" - ""}, - { (char *)"SoMFVec3f_initClass", _wrap_SoMFVec3f_initClass, METH_VARARGS, (char *)"SoMFVec3f_initClass()"}, - { (char *)"SoMFVec3f_setValues", _wrap_SoMFVec3f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3f newvals)\n" - "SoMFVec3f_setValues(SoMFVec3f self, int start, int num, float xyz)\n" - ""}, - { (char *)"SoMFVec3f_set1Value", _wrap_SoMFVec3f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3f value)\n" - "set1Value(int idx, float x, float y, float z)\n" - "SoMFVec3f_set1Value(SoMFVec3f self, int idx, float xyz)\n" - ""}, - { (char *)"SoMFVec3f___getitem__", _wrap_SoMFVec3f___getitem__, METH_VARARGS, (char *)"SoMFVec3f___getitem__(SoMFVec3f self, int i) -> SbVec3f"}, - { (char *)"SoMFVec3f___setitem__", _wrap_SoMFVec3f___setitem__, METH_VARARGS, (char *)"SoMFVec3f___setitem__(SoMFVec3f self, int i, SbVec3f value)"}, - { (char *)"SoMFVec3f_setValue", _wrap_SoMFVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3f value)\n" - "setValue(float x, float y, float z)\n" - "setValue(float xyz)\n" - "SoMFVec3f_setValue(SoMFVec3f self, SoMFVec3f other)\n" - ""}, - { (char *)"SoMFVec3f_getValues", _wrap_SoMFVec3f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec3f\n" - "SoMFVec3f_getValues(SoMFVec3f self, int len) -> SbVec3f\n" - ""}, - { (char *)"SoMFVec3f_swigregister", SoMFVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFString", _wrap_new_SoMFString, METH_VARARGS, (char *)"new_SoMFString() -> SoMFString"}, - { (char *)"delete_SoMFString", _wrap_delete_SoMFString, METH_VARARGS, (char *)"delete_SoMFString(SoMFString self)"}, - { (char *)"SoMFString_createInstance", _wrap_SoMFString_createInstance, METH_VARARGS, (char *)"SoMFString_createInstance() -> void"}, - { (char *)"SoMFString_getClassTypeId", _wrap_SoMFString_getClassTypeId, METH_VARARGS, (char *)"SoMFString_getClassTypeId() -> SoType"}, - { (char *)"SoMFString_getTypeId", _wrap_SoMFString_getTypeId, METH_VARARGS, (char *)"SoMFString_getTypeId(SoMFString self) -> SoType"}, - { (char *)"SoMFString_copyFrom", _wrap_SoMFString_copyFrom, METH_VARARGS, (char *)"SoMFString_copyFrom(SoMFString self, SoField field)"}, - { (char *)"SoMFString_isSame", _wrap_SoMFString_isSame, METH_VARARGS, (char *)"SoMFString_isSame(SoMFString self, SoField field) -> SbBool"}, - { (char *)"SoMFString_find", _wrap_SoMFString_find, METH_VARARGS, (char *)"\n" - "find(SbString value, SbBool addifnotfound=0) -> int\n" - "SoMFString_find(SoMFString self, SbString value) -> int\n" - ""}, - { (char *)"SoMFString_set1Value", _wrap_SoMFString_set1Value, METH_VARARGS, (char *)"SoMFString_set1Value(SoMFString self, int idx, SbString value)"}, - { (char *)"SoMFString___eq__", _wrap_SoMFString___eq__, METH_VARARGS, (char *)"SoMFString___eq__(SoMFString self, SoMFString field) -> SbBool"}, - { (char *)"SoMFString___ne__", _wrap_SoMFString___ne__, METH_VARARGS, (char *)"SoMFString___ne__(SoMFString self, SoMFString field) -> SbBool"}, - { (char *)"SoMFString_startEditing", _wrap_SoMFString_startEditing, METH_VARARGS, (char *)"SoMFString_startEditing(SoMFString self) -> SbString"}, - { (char *)"SoMFString_finishEditing", _wrap_SoMFString_finishEditing, METH_VARARGS, (char *)"SoMFString_finishEditing(SoMFString self)"}, - { (char *)"SoMFString_initClass", _wrap_SoMFString_initClass, METH_VARARGS, (char *)"SoMFString_initClass()"}, - { (char *)"SoMFString_setValues", _wrap_SoMFString_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbString newvals)\n" - "SoMFString_setValues(SoMFString self, int start, int num, char strings)\n" - ""}, - { (char *)"SoMFString_deleteText", _wrap_SoMFString_deleteText, METH_VARARGS, (char *)"\n" - "SoMFString_deleteText(SoMFString self, int fromline, int fromchar, int toline, \n" - " int tochar)\n" - ""}, - { (char *)"SoMFString___getitem__", _wrap_SoMFString___getitem__, METH_VARARGS, (char *)"SoMFString___getitem__(SoMFString self, int i) -> SbString"}, - { (char *)"SoMFString___setitem__", _wrap_SoMFString___setitem__, METH_VARARGS, (char *)"SoMFString___setitem__(SoMFString self, int i, SbString value)"}, - { (char *)"SoMFString_setValue", _wrap_SoMFString_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbString value)\n" - "setValue(char string)\n" - "SoMFString_setValue(SoMFString self, SoMFString other)\n" - ""}, - { (char *)"SoMFString_getValues", _wrap_SoMFString_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbString\n" - "SoMFString_getValues(SoMFString self, int len) -> SbString\n" - ""}, - { (char *)"SoMFString_swigregister", SoMFString_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCalculator_getClassTypeId", _wrap_SoCalculator_getClassTypeId, METH_VARARGS, (char *)"SoCalculator_getClassTypeId() -> SoType"}, - { (char *)"SoCalculator_getTypeId", _wrap_SoCalculator_getTypeId, METH_VARARGS, (char *)"SoCalculator_getTypeId(SoCalculator self) -> SoType"}, - { (char *)"SoCalculator_getFieldData", _wrap_SoCalculator_getFieldData, METH_VARARGS, (char *)"SoCalculator_getFieldData(SoCalculator self) -> SoFieldData"}, - { (char *)"SoCalculator_getOutputData", _wrap_SoCalculator_getOutputData, METH_VARARGS, (char *)"SoCalculator_getOutputData(SoCalculator self) -> SoEngineOutputData"}, - { (char *)"SoCalculator_createInstance", _wrap_SoCalculator_createInstance, METH_VARARGS, (char *)"SoCalculator_createInstance() -> void"}, - { (char *)"SoCalculator_a_set", _wrap_SoCalculator_a_set, METH_VARARGS, (char *)"SoCalculator_a_set(SoCalculator self, SoMFFloat a)"}, - { (char *)"SoCalculator_a_get", _wrap_SoCalculator_a_get, METH_VARARGS, (char *)"SoCalculator_a_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_b_set", _wrap_SoCalculator_b_set, METH_VARARGS, (char *)"SoCalculator_b_set(SoCalculator self, SoMFFloat b)"}, - { (char *)"SoCalculator_b_get", _wrap_SoCalculator_b_get, METH_VARARGS, (char *)"SoCalculator_b_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_c_set", _wrap_SoCalculator_c_set, METH_VARARGS, (char *)"SoCalculator_c_set(SoCalculator self, SoMFFloat c)"}, - { (char *)"SoCalculator_c_get", _wrap_SoCalculator_c_get, METH_VARARGS, (char *)"SoCalculator_c_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_d_set", _wrap_SoCalculator_d_set, METH_VARARGS, (char *)"SoCalculator_d_set(SoCalculator self, SoMFFloat d)"}, - { (char *)"SoCalculator_d_get", _wrap_SoCalculator_d_get, METH_VARARGS, (char *)"SoCalculator_d_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_e_set", _wrap_SoCalculator_e_set, METH_VARARGS, (char *)"SoCalculator_e_set(SoCalculator self, SoMFFloat e)"}, - { (char *)"SoCalculator_e_get", _wrap_SoCalculator_e_get, METH_VARARGS, (char *)"SoCalculator_e_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_f_set", _wrap_SoCalculator_f_set, METH_VARARGS, (char *)"SoCalculator_f_set(SoCalculator self, SoMFFloat f)"}, - { (char *)"SoCalculator_f_get", _wrap_SoCalculator_f_get, METH_VARARGS, (char *)"SoCalculator_f_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_g_set", _wrap_SoCalculator_g_set, METH_VARARGS, (char *)"SoCalculator_g_set(SoCalculator self, SoMFFloat g)"}, - { (char *)"SoCalculator_g_get", _wrap_SoCalculator_g_get, METH_VARARGS, (char *)"SoCalculator_g_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_h_set", _wrap_SoCalculator_h_set, METH_VARARGS, (char *)"SoCalculator_h_set(SoCalculator self, SoMFFloat h)"}, - { (char *)"SoCalculator_h_get", _wrap_SoCalculator_h_get, METH_VARARGS, (char *)"SoCalculator_h_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_A_set", _wrap_SoCalculator_A_set, METH_VARARGS, (char *)"SoCalculator_A_set(SoCalculator self, SoMFVec3f A)"}, - { (char *)"SoCalculator_A_get", _wrap_SoCalculator_A_get, METH_VARARGS, (char *)"SoCalculator_A_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_B_set", _wrap_SoCalculator_B_set, METH_VARARGS, (char *)"SoCalculator_B_set(SoCalculator self, SoMFVec3f B)"}, - { (char *)"SoCalculator_B_get", _wrap_SoCalculator_B_get, METH_VARARGS, (char *)"SoCalculator_B_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_C_set", _wrap_SoCalculator_C_set, METH_VARARGS, (char *)"SoCalculator_C_set(SoCalculator self, SoMFVec3f C)"}, - { (char *)"SoCalculator_C_get", _wrap_SoCalculator_C_get, METH_VARARGS, (char *)"SoCalculator_C_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_D_set", _wrap_SoCalculator_D_set, METH_VARARGS, (char *)"SoCalculator_D_set(SoCalculator self, SoMFVec3f D)"}, - { (char *)"SoCalculator_D_get", _wrap_SoCalculator_D_get, METH_VARARGS, (char *)"SoCalculator_D_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_E_set", _wrap_SoCalculator_E_set, METH_VARARGS, (char *)"SoCalculator_E_set(SoCalculator self, SoMFVec3f E)"}, - { (char *)"SoCalculator_E_get", _wrap_SoCalculator_E_get, METH_VARARGS, (char *)"SoCalculator_E_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_F_set", _wrap_SoCalculator_F_set, METH_VARARGS, (char *)"SoCalculator_F_set(SoCalculator self, SoMFVec3f F)"}, - { (char *)"SoCalculator_F_get", _wrap_SoCalculator_F_get, METH_VARARGS, (char *)"SoCalculator_F_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_G_set", _wrap_SoCalculator_G_set, METH_VARARGS, (char *)"SoCalculator_G_set(SoCalculator self, SoMFVec3f G)"}, - { (char *)"SoCalculator_G_get", _wrap_SoCalculator_G_get, METH_VARARGS, (char *)"SoCalculator_G_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_H_set", _wrap_SoCalculator_H_set, METH_VARARGS, (char *)"SoCalculator_H_set(SoCalculator self, SoMFVec3f H)"}, - { (char *)"SoCalculator_H_get", _wrap_SoCalculator_H_get, METH_VARARGS, (char *)"SoCalculator_H_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_expression_set", _wrap_SoCalculator_expression_set, METH_VARARGS, (char *)"SoCalculator_expression_set(SoCalculator self, SoMFString expression)"}, - { (char *)"SoCalculator_expression_get", _wrap_SoCalculator_expression_get, METH_VARARGS, (char *)"SoCalculator_expression_get(SoCalculator self) -> SoMFString"}, - { (char *)"SoCalculator_oa_set", _wrap_SoCalculator_oa_set, METH_VARARGS, (char *)"SoCalculator_oa_set(SoCalculator self, SoEngineOutput oa)"}, - { (char *)"SoCalculator_oa_get", _wrap_SoCalculator_oa_get, METH_VARARGS, (char *)"SoCalculator_oa_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_ob_set", _wrap_SoCalculator_ob_set, METH_VARARGS, (char *)"SoCalculator_ob_set(SoCalculator self, SoEngineOutput ob)"}, - { (char *)"SoCalculator_ob_get", _wrap_SoCalculator_ob_get, METH_VARARGS, (char *)"SoCalculator_ob_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oc_set", _wrap_SoCalculator_oc_set, METH_VARARGS, (char *)"SoCalculator_oc_set(SoCalculator self, SoEngineOutput oc)"}, - { (char *)"SoCalculator_oc_get", _wrap_SoCalculator_oc_get, METH_VARARGS, (char *)"SoCalculator_oc_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_od_set", _wrap_SoCalculator_od_set, METH_VARARGS, (char *)"SoCalculator_od_set(SoCalculator self, SoEngineOutput od)"}, - { (char *)"SoCalculator_od_get", _wrap_SoCalculator_od_get, METH_VARARGS, (char *)"SoCalculator_od_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oA_set", _wrap_SoCalculator_oA_set, METH_VARARGS, (char *)"SoCalculator_oA_set(SoCalculator self, SoEngineOutput oA)"}, - { (char *)"SoCalculator_oA_get", _wrap_SoCalculator_oA_get, METH_VARARGS, (char *)"SoCalculator_oA_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oB_set", _wrap_SoCalculator_oB_set, METH_VARARGS, (char *)"SoCalculator_oB_set(SoCalculator self, SoEngineOutput oB)"}, - { (char *)"SoCalculator_oB_get", _wrap_SoCalculator_oB_get, METH_VARARGS, (char *)"SoCalculator_oB_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oC_set", _wrap_SoCalculator_oC_set, METH_VARARGS, (char *)"SoCalculator_oC_set(SoCalculator self, SoEngineOutput oC)"}, - { (char *)"SoCalculator_oC_get", _wrap_SoCalculator_oC_get, METH_VARARGS, (char *)"SoCalculator_oC_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oD_set", _wrap_SoCalculator_oD_set, METH_VARARGS, (char *)"SoCalculator_oD_set(SoCalculator self, SoEngineOutput oD)"}, - { (char *)"SoCalculator_oD_get", _wrap_SoCalculator_oD_get, METH_VARARGS, (char *)"SoCalculator_oD_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"new_SoCalculator", _wrap_new_SoCalculator, METH_VARARGS, (char *)"new_SoCalculator() -> SoCalculator"}, - { (char *)"SoCalculator_initClass", _wrap_SoCalculator_initClass, METH_VARARGS, (char *)"SoCalculator_initClass()"}, - { (char *)"SoCalculator_swigregister", SoCalculator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2f", _wrap_new_SoMFVec2f, METH_VARARGS, (char *)"new_SoMFVec2f() -> SoMFVec2f"}, - { (char *)"delete_SoMFVec2f", _wrap_delete_SoMFVec2f, METH_VARARGS, (char *)"delete_SoMFVec2f(SoMFVec2f self)"}, - { (char *)"SoMFVec2f_createInstance", _wrap_SoMFVec2f_createInstance, METH_VARARGS, (char *)"SoMFVec2f_createInstance() -> void"}, - { (char *)"SoMFVec2f_getClassTypeId", _wrap_SoMFVec2f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2f_getTypeId", _wrap_SoMFVec2f_getTypeId, METH_VARARGS, (char *)"SoMFVec2f_getTypeId(SoMFVec2f self) -> SoType"}, - { (char *)"SoMFVec2f_copyFrom", _wrap_SoMFVec2f_copyFrom, METH_VARARGS, (char *)"SoMFVec2f_copyFrom(SoMFVec2f self, SoField field)"}, - { (char *)"SoMFVec2f_isSame", _wrap_SoMFVec2f_isSame, METH_VARARGS, (char *)"SoMFVec2f_isSame(SoMFVec2f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2f_find", _wrap_SoMFVec2f_find, METH_VARARGS, (char *)"\n" - "find(SbVec2f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2f_find(SoMFVec2f self, SbVec2f value) -> int\n" - ""}, - { (char *)"SoMFVec2f___eq__", _wrap_SoMFVec2f___eq__, METH_VARARGS, (char *)"SoMFVec2f___eq__(SoMFVec2f self, SoMFVec2f field) -> SbBool"}, - { (char *)"SoMFVec2f___ne__", _wrap_SoMFVec2f___ne__, METH_VARARGS, (char *)"SoMFVec2f___ne__(SoMFVec2f self, SoMFVec2f field) -> SbBool"}, - { (char *)"SoMFVec2f_startEditing", _wrap_SoMFVec2f_startEditing, METH_VARARGS, (char *)"SoMFVec2f_startEditing(SoMFVec2f self) -> SbVec2f"}, - { (char *)"SoMFVec2f_finishEditing", _wrap_SoMFVec2f_finishEditing, METH_VARARGS, (char *)"SoMFVec2f_finishEditing(SoMFVec2f self)"}, - { (char *)"SoMFVec2f_setValuesPointer", _wrap_SoMFVec2f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2f userdata)\n" - "setValuesPointer(int num, SbVec2f userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFVec2f_setValuesPointer(SoMFVec2f self, int num, float userdata)\n" - ""}, - { (char *)"SoMFVec2f_initClass", _wrap_SoMFVec2f_initClass, METH_VARARGS, (char *)"SoMFVec2f_initClass()"}, - { (char *)"SoMFVec2f_setValues", _wrap_SoMFVec2f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2f newvals)\n" - "SoMFVec2f_setValues(SoMFVec2f self, int start, int num, float xy)\n" - ""}, - { (char *)"SoMFVec2f_set1Value", _wrap_SoMFVec2f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2f value)\n" - "set1Value(int idx, float x, float y)\n" - "SoMFVec2f_set1Value(SoMFVec2f self, int idx, float xy)\n" - ""}, - { (char *)"SoMFVec2f___getitem__", _wrap_SoMFVec2f___getitem__, METH_VARARGS, (char *)"SoMFVec2f___getitem__(SoMFVec2f self, int i) -> SbVec2f"}, - { (char *)"SoMFVec2f___setitem__", _wrap_SoMFVec2f___setitem__, METH_VARARGS, (char *)"SoMFVec2f___setitem__(SoMFVec2f self, int i, SbVec2f value)"}, - { (char *)"SoMFVec2f_setValue", _wrap_SoMFVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2f value)\n" - "setValue(float x, float y)\n" - "setValue(float xy)\n" - "SoMFVec2f_setValue(SoMFVec2f self, SoMFVec2f other)\n" - ""}, - { (char *)"SoMFVec2f_getValues", _wrap_SoMFVec2f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec2f\n" - "SoMFVec2f_getValues(SoMFVec2f self, int len) -> SbVec2f\n" - ""}, - { (char *)"SoMFVec2f_swigregister", SoMFVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec2f_getClassTypeId", _wrap_SoComposeVec2f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec2f_getTypeId", _wrap_SoComposeVec2f_getTypeId, METH_VARARGS, (char *)"SoComposeVec2f_getTypeId(SoComposeVec2f self) -> SoType"}, - { (char *)"SoComposeVec2f_getFieldData", _wrap_SoComposeVec2f_getFieldData, METH_VARARGS, (char *)"SoComposeVec2f_getFieldData(SoComposeVec2f self) -> SoFieldData"}, - { (char *)"SoComposeVec2f_getOutputData", _wrap_SoComposeVec2f_getOutputData, METH_VARARGS, (char *)"SoComposeVec2f_getOutputData(SoComposeVec2f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec2f_createInstance", _wrap_SoComposeVec2f_createInstance, METH_VARARGS, (char *)"SoComposeVec2f_createInstance() -> void"}, - { (char *)"new_SoComposeVec2f", _wrap_new_SoComposeVec2f, METH_VARARGS, (char *)"new_SoComposeVec2f() -> SoComposeVec2f"}, - { (char *)"SoComposeVec2f_initClass", _wrap_SoComposeVec2f_initClass, METH_VARARGS, (char *)"SoComposeVec2f_initClass()"}, - { (char *)"SoComposeVec2f_x_set", _wrap_SoComposeVec2f_x_set, METH_VARARGS, (char *)"SoComposeVec2f_x_set(SoComposeVec2f self, SoMFFloat x)"}, - { (char *)"SoComposeVec2f_x_get", _wrap_SoComposeVec2f_x_get, METH_VARARGS, (char *)"SoComposeVec2f_x_get(SoComposeVec2f self) -> SoMFFloat"}, - { (char *)"SoComposeVec2f_y_set", _wrap_SoComposeVec2f_y_set, METH_VARARGS, (char *)"SoComposeVec2f_y_set(SoComposeVec2f self, SoMFFloat y)"}, - { (char *)"SoComposeVec2f_y_get", _wrap_SoComposeVec2f_y_get, METH_VARARGS, (char *)"SoComposeVec2f_y_get(SoComposeVec2f self) -> SoMFFloat"}, - { (char *)"SoComposeVec2f_vector_set", _wrap_SoComposeVec2f_vector_set, METH_VARARGS, (char *)"SoComposeVec2f_vector_set(SoComposeVec2f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec2f_vector_get", _wrap_SoComposeVec2f_vector_get, METH_VARARGS, (char *)"SoComposeVec2f_vector_get(SoComposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec2f_swigregister", SoComposeVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec3f_getClassTypeId", _wrap_SoComposeVec3f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec3f_getTypeId", _wrap_SoComposeVec3f_getTypeId, METH_VARARGS, (char *)"SoComposeVec3f_getTypeId(SoComposeVec3f self) -> SoType"}, - { (char *)"SoComposeVec3f_getFieldData", _wrap_SoComposeVec3f_getFieldData, METH_VARARGS, (char *)"SoComposeVec3f_getFieldData(SoComposeVec3f self) -> SoFieldData"}, - { (char *)"SoComposeVec3f_getOutputData", _wrap_SoComposeVec3f_getOutputData, METH_VARARGS, (char *)"SoComposeVec3f_getOutputData(SoComposeVec3f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec3f_createInstance", _wrap_SoComposeVec3f_createInstance, METH_VARARGS, (char *)"SoComposeVec3f_createInstance() -> void"}, - { (char *)"new_SoComposeVec3f", _wrap_new_SoComposeVec3f, METH_VARARGS, (char *)"new_SoComposeVec3f() -> SoComposeVec3f"}, - { (char *)"SoComposeVec3f_initClass", _wrap_SoComposeVec3f_initClass, METH_VARARGS, (char *)"SoComposeVec3f_initClass()"}, - { (char *)"SoComposeVec3f_x_set", _wrap_SoComposeVec3f_x_set, METH_VARARGS, (char *)"SoComposeVec3f_x_set(SoComposeVec3f self, SoMFFloat x)"}, - { (char *)"SoComposeVec3f_x_get", _wrap_SoComposeVec3f_x_get, METH_VARARGS, (char *)"SoComposeVec3f_x_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_y_set", _wrap_SoComposeVec3f_y_set, METH_VARARGS, (char *)"SoComposeVec3f_y_set(SoComposeVec3f self, SoMFFloat y)"}, - { (char *)"SoComposeVec3f_y_get", _wrap_SoComposeVec3f_y_get, METH_VARARGS, (char *)"SoComposeVec3f_y_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_z_set", _wrap_SoComposeVec3f_z_set, METH_VARARGS, (char *)"SoComposeVec3f_z_set(SoComposeVec3f self, SoMFFloat z)"}, - { (char *)"SoComposeVec3f_z_get", _wrap_SoComposeVec3f_z_get, METH_VARARGS, (char *)"SoComposeVec3f_z_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_vector_set", _wrap_SoComposeVec3f_vector_set, METH_VARARGS, (char *)"SoComposeVec3f_vector_set(SoComposeVec3f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec3f_vector_get", _wrap_SoComposeVec3f_vector_get, METH_VARARGS, (char *)"SoComposeVec3f_vector_get(SoComposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec3f_swigregister", SoComposeVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4f", _wrap_new_SoMFVec4f, METH_VARARGS, (char *)"new_SoMFVec4f() -> SoMFVec4f"}, - { (char *)"delete_SoMFVec4f", _wrap_delete_SoMFVec4f, METH_VARARGS, (char *)"delete_SoMFVec4f(SoMFVec4f self)"}, - { (char *)"SoMFVec4f_createInstance", _wrap_SoMFVec4f_createInstance, METH_VARARGS, (char *)"SoMFVec4f_createInstance() -> void"}, - { (char *)"SoMFVec4f_getClassTypeId", _wrap_SoMFVec4f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4f_getTypeId", _wrap_SoMFVec4f_getTypeId, METH_VARARGS, (char *)"SoMFVec4f_getTypeId(SoMFVec4f self) -> SoType"}, - { (char *)"SoMFVec4f_copyFrom", _wrap_SoMFVec4f_copyFrom, METH_VARARGS, (char *)"SoMFVec4f_copyFrom(SoMFVec4f self, SoField field)"}, - { (char *)"SoMFVec4f_isSame", _wrap_SoMFVec4f_isSame, METH_VARARGS, (char *)"SoMFVec4f_isSame(SoMFVec4f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4f_find", _wrap_SoMFVec4f_find, METH_VARARGS, (char *)"\n" - "find(SbVec4f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4f_find(SoMFVec4f self, SbVec4f value) -> int\n" - ""}, - { (char *)"SoMFVec4f___eq__", _wrap_SoMFVec4f___eq__, METH_VARARGS, (char *)"SoMFVec4f___eq__(SoMFVec4f self, SoMFVec4f field) -> SbBool"}, - { (char *)"SoMFVec4f___ne__", _wrap_SoMFVec4f___ne__, METH_VARARGS, (char *)"SoMFVec4f___ne__(SoMFVec4f self, SoMFVec4f field) -> SbBool"}, - { (char *)"SoMFVec4f_startEditing", _wrap_SoMFVec4f_startEditing, METH_VARARGS, (char *)"SoMFVec4f_startEditing(SoMFVec4f self) -> SbVec4f"}, - { (char *)"SoMFVec4f_finishEditing", _wrap_SoMFVec4f_finishEditing, METH_VARARGS, (char *)"SoMFVec4f_finishEditing(SoMFVec4f self)"}, - { (char *)"SoMFVec4f_setValuesPointer", _wrap_SoMFVec4f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4f userdata)\n" - "setValuesPointer(int num, SbVec4f userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFVec4f_setValuesPointer(SoMFVec4f self, int num, float userdata)\n" - ""}, - { (char *)"SoMFVec4f_initClass", _wrap_SoMFVec4f_initClass, METH_VARARGS, (char *)"SoMFVec4f_initClass()"}, - { (char *)"SoMFVec4f_setValues", _wrap_SoMFVec4f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4f newvals)\n" - "SoMFVec4f_setValues(SoMFVec4f self, int start, int num, float xyzw)\n" - ""}, - { (char *)"SoMFVec4f_set1Value", _wrap_SoMFVec4f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4f value)\n" - "set1Value(int idx, float x, float y, float z, float w)\n" - "SoMFVec4f_set1Value(SoMFVec4f self, int idx, float xyzw)\n" - ""}, - { (char *)"SoMFVec4f___getitem__", _wrap_SoMFVec4f___getitem__, METH_VARARGS, (char *)"SoMFVec4f___getitem__(SoMFVec4f self, int i) -> SbVec4f"}, - { (char *)"SoMFVec4f___setitem__", _wrap_SoMFVec4f___setitem__, METH_VARARGS, (char *)"SoMFVec4f___setitem__(SoMFVec4f self, int i, SbVec4f value)"}, - { (char *)"SoMFVec4f_setValue", _wrap_SoMFVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4f value)\n" - "setValue(float x, float y, float z, float w)\n" - "setValue(float xyzw)\n" - "SoMFVec4f_setValue(SoMFVec4f self, SoMFVec4f other)\n" - ""}, - { (char *)"SoMFVec4f_getValues", _wrap_SoMFVec4f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec4f\n" - "SoMFVec4f_getValues(SoMFVec4f self, int len) -> SbVec4f\n" - ""}, - { (char *)"SoMFVec4f_swigregister", SoMFVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec4f_getClassTypeId", _wrap_SoComposeVec4f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec4f_getTypeId", _wrap_SoComposeVec4f_getTypeId, METH_VARARGS, (char *)"SoComposeVec4f_getTypeId(SoComposeVec4f self) -> SoType"}, - { (char *)"SoComposeVec4f_getFieldData", _wrap_SoComposeVec4f_getFieldData, METH_VARARGS, (char *)"SoComposeVec4f_getFieldData(SoComposeVec4f self) -> SoFieldData"}, - { (char *)"SoComposeVec4f_getOutputData", _wrap_SoComposeVec4f_getOutputData, METH_VARARGS, (char *)"SoComposeVec4f_getOutputData(SoComposeVec4f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec4f_createInstance", _wrap_SoComposeVec4f_createInstance, METH_VARARGS, (char *)"SoComposeVec4f_createInstance() -> void"}, - { (char *)"new_SoComposeVec4f", _wrap_new_SoComposeVec4f, METH_VARARGS, (char *)"new_SoComposeVec4f() -> SoComposeVec4f"}, - { (char *)"SoComposeVec4f_initClass", _wrap_SoComposeVec4f_initClass, METH_VARARGS, (char *)"SoComposeVec4f_initClass()"}, - { (char *)"SoComposeVec4f_x_set", _wrap_SoComposeVec4f_x_set, METH_VARARGS, (char *)"SoComposeVec4f_x_set(SoComposeVec4f self, SoMFFloat x)"}, - { (char *)"SoComposeVec4f_x_get", _wrap_SoComposeVec4f_x_get, METH_VARARGS, (char *)"SoComposeVec4f_x_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_y_set", _wrap_SoComposeVec4f_y_set, METH_VARARGS, (char *)"SoComposeVec4f_y_set(SoComposeVec4f self, SoMFFloat y)"}, - { (char *)"SoComposeVec4f_y_get", _wrap_SoComposeVec4f_y_get, METH_VARARGS, (char *)"SoComposeVec4f_y_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_z_set", _wrap_SoComposeVec4f_z_set, METH_VARARGS, (char *)"SoComposeVec4f_z_set(SoComposeVec4f self, SoMFFloat z)"}, - { (char *)"SoComposeVec4f_z_get", _wrap_SoComposeVec4f_z_get, METH_VARARGS, (char *)"SoComposeVec4f_z_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_w_set", _wrap_SoComposeVec4f_w_set, METH_VARARGS, (char *)"SoComposeVec4f_w_set(SoComposeVec4f self, SoMFFloat w)"}, - { (char *)"SoComposeVec4f_w_get", _wrap_SoComposeVec4f_w_get, METH_VARARGS, (char *)"SoComposeVec4f_w_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_vector_set", _wrap_SoComposeVec4f_vector_set, METH_VARARGS, (char *)"SoComposeVec4f_vector_set(SoComposeVec4f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec4f_vector_get", _wrap_SoComposeVec4f_vector_get, METH_VARARGS, (char *)"SoComposeVec4f_vector_get(SoComposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec4f_swigregister", SoComposeVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec2f_getClassTypeId", _wrap_SoDecomposeVec2f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec2f_getTypeId", _wrap_SoDecomposeVec2f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec2f_getTypeId(SoDecomposeVec2f self) -> SoType"}, - { (char *)"SoDecomposeVec2f_getFieldData", _wrap_SoDecomposeVec2f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec2f_getFieldData(SoDecomposeVec2f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec2f_getOutputData", _wrap_SoDecomposeVec2f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec2f_getOutputData(SoDecomposeVec2f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec2f_createInstance", _wrap_SoDecomposeVec2f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec2f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec2f", _wrap_new_SoDecomposeVec2f, METH_VARARGS, (char *)"new_SoDecomposeVec2f() -> SoDecomposeVec2f"}, - { (char *)"SoDecomposeVec2f_initClass", _wrap_SoDecomposeVec2f_initClass, METH_VARARGS, (char *)"SoDecomposeVec2f_initClass()"}, - { (char *)"SoDecomposeVec2f_vector_set", _wrap_SoDecomposeVec2f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec2f_vector_set(SoDecomposeVec2f self, SoMFVec2f vector)"}, - { (char *)"SoDecomposeVec2f_vector_get", _wrap_SoDecomposeVec2f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec2f_vector_get(SoDecomposeVec2f self) -> SoMFVec2f"}, - { (char *)"SoDecomposeVec2f_x_set", _wrap_SoDecomposeVec2f_x_set, METH_VARARGS, (char *)"SoDecomposeVec2f_x_set(SoDecomposeVec2f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec2f_x_get", _wrap_SoDecomposeVec2f_x_get, METH_VARARGS, (char *)"SoDecomposeVec2f_x_get(SoDecomposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec2f_y_set", _wrap_SoDecomposeVec2f_y_set, METH_VARARGS, (char *)"SoDecomposeVec2f_y_set(SoDecomposeVec2f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec2f_y_get", _wrap_SoDecomposeVec2f_y_get, METH_VARARGS, (char *)"SoDecomposeVec2f_y_get(SoDecomposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec2f_swigregister", SoDecomposeVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec3f_getClassTypeId", _wrap_SoDecomposeVec3f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec3f_getTypeId", _wrap_SoDecomposeVec3f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec3f_getTypeId(SoDecomposeVec3f self) -> SoType"}, - { (char *)"SoDecomposeVec3f_getFieldData", _wrap_SoDecomposeVec3f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec3f_getFieldData(SoDecomposeVec3f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec3f_getOutputData", _wrap_SoDecomposeVec3f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec3f_getOutputData(SoDecomposeVec3f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec3f_createInstance", _wrap_SoDecomposeVec3f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec3f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec3f", _wrap_new_SoDecomposeVec3f, METH_VARARGS, (char *)"new_SoDecomposeVec3f() -> SoDecomposeVec3f"}, - { (char *)"SoDecomposeVec3f_initClass", _wrap_SoDecomposeVec3f_initClass, METH_VARARGS, (char *)"SoDecomposeVec3f_initClass()"}, - { (char *)"SoDecomposeVec3f_vector_set", _wrap_SoDecomposeVec3f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec3f_vector_set(SoDecomposeVec3f self, SoMFVec3f vector)"}, - { (char *)"SoDecomposeVec3f_vector_get", _wrap_SoDecomposeVec3f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec3f_vector_get(SoDecomposeVec3f self) -> SoMFVec3f"}, - { (char *)"SoDecomposeVec3f_x_set", _wrap_SoDecomposeVec3f_x_set, METH_VARARGS, (char *)"SoDecomposeVec3f_x_set(SoDecomposeVec3f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec3f_x_get", _wrap_SoDecomposeVec3f_x_get, METH_VARARGS, (char *)"SoDecomposeVec3f_x_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_y_set", _wrap_SoDecomposeVec3f_y_set, METH_VARARGS, (char *)"SoDecomposeVec3f_y_set(SoDecomposeVec3f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec3f_y_get", _wrap_SoDecomposeVec3f_y_get, METH_VARARGS, (char *)"SoDecomposeVec3f_y_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_z_set", _wrap_SoDecomposeVec3f_z_set, METH_VARARGS, (char *)"SoDecomposeVec3f_z_set(SoDecomposeVec3f self, SoEngineOutput z)"}, - { (char *)"SoDecomposeVec3f_z_get", _wrap_SoDecomposeVec3f_z_get, METH_VARARGS, (char *)"SoDecomposeVec3f_z_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_swigregister", SoDecomposeVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec4f_getClassTypeId", _wrap_SoDecomposeVec4f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec4f_getTypeId", _wrap_SoDecomposeVec4f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec4f_getTypeId(SoDecomposeVec4f self) -> SoType"}, - { (char *)"SoDecomposeVec4f_getFieldData", _wrap_SoDecomposeVec4f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec4f_getFieldData(SoDecomposeVec4f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec4f_getOutputData", _wrap_SoDecomposeVec4f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec4f_getOutputData(SoDecomposeVec4f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec4f_createInstance", _wrap_SoDecomposeVec4f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec4f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec4f", _wrap_new_SoDecomposeVec4f, METH_VARARGS, (char *)"new_SoDecomposeVec4f() -> SoDecomposeVec4f"}, - { (char *)"SoDecomposeVec4f_initClass", _wrap_SoDecomposeVec4f_initClass, METH_VARARGS, (char *)"SoDecomposeVec4f_initClass()"}, - { (char *)"SoDecomposeVec4f_vector_set", _wrap_SoDecomposeVec4f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec4f_vector_set(SoDecomposeVec4f self, SoMFVec4f vector)"}, - { (char *)"SoDecomposeVec4f_vector_get", _wrap_SoDecomposeVec4f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec4f_vector_get(SoDecomposeVec4f self) -> SoMFVec4f"}, - { (char *)"SoDecomposeVec4f_x_set", _wrap_SoDecomposeVec4f_x_set, METH_VARARGS, (char *)"SoDecomposeVec4f_x_set(SoDecomposeVec4f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec4f_x_get", _wrap_SoDecomposeVec4f_x_get, METH_VARARGS, (char *)"SoDecomposeVec4f_x_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_y_set", _wrap_SoDecomposeVec4f_y_set, METH_VARARGS, (char *)"SoDecomposeVec4f_y_set(SoDecomposeVec4f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec4f_y_get", _wrap_SoDecomposeVec4f_y_get, METH_VARARGS, (char *)"SoDecomposeVec4f_y_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_z_set", _wrap_SoDecomposeVec4f_z_set, METH_VARARGS, (char *)"SoDecomposeVec4f_z_set(SoDecomposeVec4f self, SoEngineOutput z)"}, - { (char *)"SoDecomposeVec4f_z_get", _wrap_SoDecomposeVec4f_z_get, METH_VARARGS, (char *)"SoDecomposeVec4f_z_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_w_set", _wrap_SoDecomposeVec4f_w_set, METH_VARARGS, (char *)"SoDecomposeVec4f_w_set(SoDecomposeVec4f self, SoEngineOutput w)"}, - { (char *)"SoDecomposeVec4f_w_get", _wrap_SoDecomposeVec4f_w_get, METH_VARARGS, (char *)"SoDecomposeVec4f_w_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_swigregister", SoDecomposeVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeRotation_getClassTypeId", _wrap_SoComposeRotation_getClassTypeId, METH_VARARGS, (char *)"SoComposeRotation_getClassTypeId() -> SoType"}, - { (char *)"SoComposeRotation_getTypeId", _wrap_SoComposeRotation_getTypeId, METH_VARARGS, (char *)"SoComposeRotation_getTypeId(SoComposeRotation self) -> SoType"}, - { (char *)"SoComposeRotation_getFieldData", _wrap_SoComposeRotation_getFieldData, METH_VARARGS, (char *)"SoComposeRotation_getFieldData(SoComposeRotation self) -> SoFieldData"}, - { (char *)"SoComposeRotation_getOutputData", _wrap_SoComposeRotation_getOutputData, METH_VARARGS, (char *)"SoComposeRotation_getOutputData(SoComposeRotation self) -> SoEngineOutputData"}, - { (char *)"SoComposeRotation_createInstance", _wrap_SoComposeRotation_createInstance, METH_VARARGS, (char *)"SoComposeRotation_createInstance() -> void"}, - { (char *)"new_SoComposeRotation", _wrap_new_SoComposeRotation, METH_VARARGS, (char *)"new_SoComposeRotation() -> SoComposeRotation"}, - { (char *)"SoComposeRotation_initClass", _wrap_SoComposeRotation_initClass, METH_VARARGS, (char *)"SoComposeRotation_initClass()"}, - { (char *)"SoComposeRotation_axis_set", _wrap_SoComposeRotation_axis_set, METH_VARARGS, (char *)"SoComposeRotation_axis_set(SoComposeRotation self, SoMFVec3f axis)"}, - { (char *)"SoComposeRotation_axis_get", _wrap_SoComposeRotation_axis_get, METH_VARARGS, (char *)"SoComposeRotation_axis_get(SoComposeRotation self) -> SoMFVec3f"}, - { (char *)"SoComposeRotation_angle_set", _wrap_SoComposeRotation_angle_set, METH_VARARGS, (char *)"SoComposeRotation_angle_set(SoComposeRotation self, SoMFFloat angle)"}, - { (char *)"SoComposeRotation_angle_get", _wrap_SoComposeRotation_angle_get, METH_VARARGS, (char *)"SoComposeRotation_angle_get(SoComposeRotation self) -> SoMFFloat"}, - { (char *)"SoComposeRotation_rotation_set", _wrap_SoComposeRotation_rotation_set, METH_VARARGS, (char *)"SoComposeRotation_rotation_set(SoComposeRotation self, SoEngineOutput rotation)"}, - { (char *)"SoComposeRotation_rotation_get", _wrap_SoComposeRotation_rotation_get, METH_VARARGS, (char *)"SoComposeRotation_rotation_get(SoComposeRotation self) -> SoEngineOutput"}, - { (char *)"SoComposeRotation_swigregister", SoComposeRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFRotation", _wrap_new_SoMFRotation, METH_VARARGS, (char *)"new_SoMFRotation() -> SoMFRotation"}, - { (char *)"delete_SoMFRotation", _wrap_delete_SoMFRotation, METH_VARARGS, (char *)"delete_SoMFRotation(SoMFRotation self)"}, - { (char *)"SoMFRotation_createInstance", _wrap_SoMFRotation_createInstance, METH_VARARGS, (char *)"SoMFRotation_createInstance() -> void"}, - { (char *)"SoMFRotation_getClassTypeId", _wrap_SoMFRotation_getClassTypeId, METH_VARARGS, (char *)"SoMFRotation_getClassTypeId() -> SoType"}, - { (char *)"SoMFRotation_getTypeId", _wrap_SoMFRotation_getTypeId, METH_VARARGS, (char *)"SoMFRotation_getTypeId(SoMFRotation self) -> SoType"}, - { (char *)"SoMFRotation_copyFrom", _wrap_SoMFRotation_copyFrom, METH_VARARGS, (char *)"SoMFRotation_copyFrom(SoMFRotation self, SoField field)"}, - { (char *)"SoMFRotation_isSame", _wrap_SoMFRotation_isSame, METH_VARARGS, (char *)"SoMFRotation_isSame(SoMFRotation self, SoField field) -> SbBool"}, - { (char *)"SoMFRotation_find", _wrap_SoMFRotation_find, METH_VARARGS, (char *)"\n" - "find(SbRotation value, SbBool addifnotfound=0) -> int\n" - "SoMFRotation_find(SoMFRotation self, SbRotation value) -> int\n" - ""}, - { (char *)"SoMFRotation___eq__", _wrap_SoMFRotation___eq__, METH_VARARGS, (char *)"SoMFRotation___eq__(SoMFRotation self, SoMFRotation field) -> SbBool"}, - { (char *)"SoMFRotation___ne__", _wrap_SoMFRotation___ne__, METH_VARARGS, (char *)"SoMFRotation___ne__(SoMFRotation self, SoMFRotation field) -> SbBool"}, - { (char *)"SoMFRotation_startEditing", _wrap_SoMFRotation_startEditing, METH_VARARGS, (char *)"SoMFRotation_startEditing(SoMFRotation self) -> SbRotation"}, - { (char *)"SoMFRotation_finishEditing", _wrap_SoMFRotation_finishEditing, METH_VARARGS, (char *)"SoMFRotation_finishEditing(SoMFRotation self)"}, - { (char *)"SoMFRotation_initClass", _wrap_SoMFRotation_initClass, METH_VARARGS, (char *)"SoMFRotation_initClass()"}, - { (char *)"SoMFRotation_setValues", _wrap_SoMFRotation_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbRotation newvals)\n" - "SoMFRotation_setValues(SoMFRotation self, int start, int num, float q)\n" - ""}, - { (char *)"SoMFRotation_set1Value", _wrap_SoMFRotation_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbRotation value)\n" - "set1Value(int idx, float q0, float q1, float q2, float q3)\n" - "set1Value(int idx, float q)\n" - "SoMFRotation_set1Value(SoMFRotation self, int idx, SbVec3f axis, float angle)\n" - ""}, - { (char *)"SoMFRotation___getitem__", _wrap_SoMFRotation___getitem__, METH_VARARGS, (char *)"SoMFRotation___getitem__(SoMFRotation self, int i) -> SbRotation"}, - { (char *)"SoMFRotation___setitem__", _wrap_SoMFRotation___setitem__, METH_VARARGS, (char *)"SoMFRotation___setitem__(SoMFRotation self, int i, SbRotation value)"}, - { (char *)"SoMFRotation_getValues", _wrap_SoMFRotation_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbRotation\n" - "SoMFRotation_getValues(SoMFRotation self, int len) -> SbRotation\n" - ""}, - { (char *)"SoMFRotation_setValue", _wrap_SoMFRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbRotation value)\n" - "setValue(float q0, float q1, float q2, float q3)\n" - "setValue(float q)\n" - "setValue(SbVec3f axis, float angle)\n" - "SoMFRotation_setValue(SoMFRotation self, SoMFRotation other)\n" - ""}, - { (char *)"SoMFRotation_swigregister", SoMFRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeRotation_getClassTypeId", _wrap_SoDecomposeRotation_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeRotation_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeRotation_getTypeId", _wrap_SoDecomposeRotation_getTypeId, METH_VARARGS, (char *)"SoDecomposeRotation_getTypeId(SoDecomposeRotation self) -> SoType"}, - { (char *)"SoDecomposeRotation_getFieldData", _wrap_SoDecomposeRotation_getFieldData, METH_VARARGS, (char *)"SoDecomposeRotation_getFieldData(SoDecomposeRotation self) -> SoFieldData"}, - { (char *)"SoDecomposeRotation_getOutputData", _wrap_SoDecomposeRotation_getOutputData, METH_VARARGS, (char *)"SoDecomposeRotation_getOutputData(SoDecomposeRotation self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeRotation_createInstance", _wrap_SoDecomposeRotation_createInstance, METH_VARARGS, (char *)"SoDecomposeRotation_createInstance() -> void"}, - { (char *)"new_SoDecomposeRotation", _wrap_new_SoDecomposeRotation, METH_VARARGS, (char *)"new_SoDecomposeRotation() -> SoDecomposeRotation"}, - { (char *)"SoDecomposeRotation_initClass", _wrap_SoDecomposeRotation_initClass, METH_VARARGS, (char *)"SoDecomposeRotation_initClass()"}, - { (char *)"SoDecomposeRotation_rotation_set", _wrap_SoDecomposeRotation_rotation_set, METH_VARARGS, (char *)"SoDecomposeRotation_rotation_set(SoDecomposeRotation self, SoMFRotation rotation)"}, - { (char *)"SoDecomposeRotation_rotation_get", _wrap_SoDecomposeRotation_rotation_get, METH_VARARGS, (char *)"SoDecomposeRotation_rotation_get(SoDecomposeRotation self) -> SoMFRotation"}, - { (char *)"SoDecomposeRotation_axis_set", _wrap_SoDecomposeRotation_axis_set, METH_VARARGS, (char *)"SoDecomposeRotation_axis_set(SoDecomposeRotation self, SoEngineOutput axis)"}, - { (char *)"SoDecomposeRotation_axis_get", _wrap_SoDecomposeRotation_axis_get, METH_VARARGS, (char *)"SoDecomposeRotation_axis_get(SoDecomposeRotation self) -> SoEngineOutput"}, - { (char *)"SoDecomposeRotation_angle_set", _wrap_SoDecomposeRotation_angle_set, METH_VARARGS, (char *)"SoDecomposeRotation_angle_set(SoDecomposeRotation self, SoEngineOutput angle)"}, - { (char *)"SoDecomposeRotation_angle_get", _wrap_SoDecomposeRotation_angle_get, METH_VARARGS, (char *)"SoDecomposeRotation_angle_get(SoDecomposeRotation self) -> SoEngineOutput"}, - { (char *)"SoDecomposeRotation_swigregister", SoDecomposeRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeMatrix_getClassTypeId", _wrap_SoComposeMatrix_getClassTypeId, METH_VARARGS, (char *)"SoComposeMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoComposeMatrix_getTypeId", _wrap_SoComposeMatrix_getTypeId, METH_VARARGS, (char *)"SoComposeMatrix_getTypeId(SoComposeMatrix self) -> SoType"}, - { (char *)"SoComposeMatrix_getFieldData", _wrap_SoComposeMatrix_getFieldData, METH_VARARGS, (char *)"SoComposeMatrix_getFieldData(SoComposeMatrix self) -> SoFieldData"}, - { (char *)"SoComposeMatrix_getOutputData", _wrap_SoComposeMatrix_getOutputData, METH_VARARGS, (char *)"SoComposeMatrix_getOutputData(SoComposeMatrix self) -> SoEngineOutputData"}, - { (char *)"SoComposeMatrix_createInstance", _wrap_SoComposeMatrix_createInstance, METH_VARARGS, (char *)"SoComposeMatrix_createInstance() -> void"}, - { (char *)"new_SoComposeMatrix", _wrap_new_SoComposeMatrix, METH_VARARGS, (char *)"new_SoComposeMatrix() -> SoComposeMatrix"}, - { (char *)"SoComposeMatrix_initClass", _wrap_SoComposeMatrix_initClass, METH_VARARGS, (char *)"SoComposeMatrix_initClass()"}, - { (char *)"SoComposeMatrix_translation_set", _wrap_SoComposeMatrix_translation_set, METH_VARARGS, (char *)"SoComposeMatrix_translation_set(SoComposeMatrix self, SoMFVec3f translation)"}, - { (char *)"SoComposeMatrix_translation_get", _wrap_SoComposeMatrix_translation_get, METH_VARARGS, (char *)"SoComposeMatrix_translation_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_rotation_set", _wrap_SoComposeMatrix_rotation_set, METH_VARARGS, (char *)"SoComposeMatrix_rotation_set(SoComposeMatrix self, SoMFRotation rotation)"}, - { (char *)"SoComposeMatrix_rotation_get", _wrap_SoComposeMatrix_rotation_get, METH_VARARGS, (char *)"SoComposeMatrix_rotation_get(SoComposeMatrix self) -> SoMFRotation"}, - { (char *)"SoComposeMatrix_scaleFactor_set", _wrap_SoComposeMatrix_scaleFactor_set, METH_VARARGS, (char *)"SoComposeMatrix_scaleFactor_set(SoComposeMatrix self, SoMFVec3f scaleFactor)"}, - { (char *)"SoComposeMatrix_scaleFactor_get", _wrap_SoComposeMatrix_scaleFactor_get, METH_VARARGS, (char *)"SoComposeMatrix_scaleFactor_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_scaleOrientation_set", _wrap_SoComposeMatrix_scaleOrientation_set, METH_VARARGS, (char *)"SoComposeMatrix_scaleOrientation_set(SoComposeMatrix self, SoMFRotation scaleOrientation)"}, - { (char *)"SoComposeMatrix_scaleOrientation_get", _wrap_SoComposeMatrix_scaleOrientation_get, METH_VARARGS, (char *)"SoComposeMatrix_scaleOrientation_get(SoComposeMatrix self) -> SoMFRotation"}, - { (char *)"SoComposeMatrix_center_set", _wrap_SoComposeMatrix_center_set, METH_VARARGS, (char *)"SoComposeMatrix_center_set(SoComposeMatrix self, SoMFVec3f center)"}, - { (char *)"SoComposeMatrix_center_get", _wrap_SoComposeMatrix_center_get, METH_VARARGS, (char *)"SoComposeMatrix_center_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_matrix_set", _wrap_SoComposeMatrix_matrix_set, METH_VARARGS, (char *)"SoComposeMatrix_matrix_set(SoComposeMatrix self, SoEngineOutput matrix)"}, - { (char *)"SoComposeMatrix_matrix_get", _wrap_SoComposeMatrix_matrix_get, METH_VARARGS, (char *)"SoComposeMatrix_matrix_get(SoComposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoComposeMatrix_swigregister", SoComposeMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFMatrix", _wrap_new_SoMFMatrix, METH_VARARGS, (char *)"new_SoMFMatrix() -> SoMFMatrix"}, - { (char *)"delete_SoMFMatrix", _wrap_delete_SoMFMatrix, METH_VARARGS, (char *)"delete_SoMFMatrix(SoMFMatrix self)"}, - { (char *)"SoMFMatrix_createInstance", _wrap_SoMFMatrix_createInstance, METH_VARARGS, (char *)"SoMFMatrix_createInstance() -> void"}, - { (char *)"SoMFMatrix_getClassTypeId", _wrap_SoMFMatrix_getClassTypeId, METH_VARARGS, (char *)"SoMFMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoMFMatrix_getTypeId", _wrap_SoMFMatrix_getTypeId, METH_VARARGS, (char *)"SoMFMatrix_getTypeId(SoMFMatrix self) -> SoType"}, - { (char *)"SoMFMatrix_copyFrom", _wrap_SoMFMatrix_copyFrom, METH_VARARGS, (char *)"SoMFMatrix_copyFrom(SoMFMatrix self, SoField field)"}, - { (char *)"SoMFMatrix_isSame", _wrap_SoMFMatrix_isSame, METH_VARARGS, (char *)"SoMFMatrix_isSame(SoMFMatrix self, SoField field) -> SbBool"}, - { (char *)"SoMFMatrix_find", _wrap_SoMFMatrix_find, METH_VARARGS, (char *)"\n" - "find(SbMatrix value, SbBool addifnotfound=0) -> int\n" - "SoMFMatrix_find(SoMFMatrix self, SbMatrix value) -> int\n" - ""}, - { (char *)"SoMFMatrix_setValues", _wrap_SoMFMatrix_setValues, METH_VARARGS, (char *)"SoMFMatrix_setValues(SoMFMatrix self, int start, int num, SbMatrix newvals)"}, - { (char *)"SoMFMatrix_set1Value", _wrap_SoMFMatrix_set1Value, METH_VARARGS, (char *)"SoMFMatrix_set1Value(SoMFMatrix self, int idx, SbMatrix value)"}, - { (char *)"SoMFMatrix___eq__", _wrap_SoMFMatrix___eq__, METH_VARARGS, (char *)"SoMFMatrix___eq__(SoMFMatrix self, SoMFMatrix field) -> SbBool"}, - { (char *)"SoMFMatrix___ne__", _wrap_SoMFMatrix___ne__, METH_VARARGS, (char *)"SoMFMatrix___ne__(SoMFMatrix self, SoMFMatrix field) -> SbBool"}, - { (char *)"SoMFMatrix_startEditing", _wrap_SoMFMatrix_startEditing, METH_VARARGS, (char *)"SoMFMatrix_startEditing(SoMFMatrix self) -> SbMatrix"}, - { (char *)"SoMFMatrix_finishEditing", _wrap_SoMFMatrix_finishEditing, METH_VARARGS, (char *)"SoMFMatrix_finishEditing(SoMFMatrix self)"}, - { (char *)"SoMFMatrix_initClass", _wrap_SoMFMatrix_initClass, METH_VARARGS, (char *)"SoMFMatrix_initClass()"}, - { (char *)"SoMFMatrix___getitem__", _wrap_SoMFMatrix___getitem__, METH_VARARGS, (char *)"SoMFMatrix___getitem__(SoMFMatrix self, int i) -> SbMatrix"}, - { (char *)"SoMFMatrix___setitem__", _wrap_SoMFMatrix___setitem__, METH_VARARGS, (char *)"SoMFMatrix___setitem__(SoMFMatrix self, int i, SbMatrix value)"}, - { (char *)"SoMFMatrix_getValues", _wrap_SoMFMatrix_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbMatrix\n" - "SoMFMatrix_getValues(SoMFMatrix self, int len) -> SbMatrix\n" - ""}, - { (char *)"SoMFMatrix_setValue", _wrap_SoMFMatrix_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbMatrix value)\n" - "setValue(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SoMFMatrix_setValue(SoMFMatrix self, SoMFMatrix other)\n" - ""}, - { (char *)"SoMFMatrix_swigregister", SoMFMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeMatrix_getClassTypeId", _wrap_SoDecomposeMatrix_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeMatrix_getTypeId", _wrap_SoDecomposeMatrix_getTypeId, METH_VARARGS, (char *)"SoDecomposeMatrix_getTypeId(SoDecomposeMatrix self) -> SoType"}, - { (char *)"SoDecomposeMatrix_getFieldData", _wrap_SoDecomposeMatrix_getFieldData, METH_VARARGS, (char *)"SoDecomposeMatrix_getFieldData(SoDecomposeMatrix self) -> SoFieldData"}, - { (char *)"SoDecomposeMatrix_getOutputData", _wrap_SoDecomposeMatrix_getOutputData, METH_VARARGS, (char *)"SoDecomposeMatrix_getOutputData(SoDecomposeMatrix self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeMatrix_createInstance", _wrap_SoDecomposeMatrix_createInstance, METH_VARARGS, (char *)"SoDecomposeMatrix_createInstance() -> void"}, - { (char *)"new_SoDecomposeMatrix", _wrap_new_SoDecomposeMatrix, METH_VARARGS, (char *)"new_SoDecomposeMatrix() -> SoDecomposeMatrix"}, - { (char *)"SoDecomposeMatrix_initClass", _wrap_SoDecomposeMatrix_initClass, METH_VARARGS, (char *)"SoDecomposeMatrix_initClass()"}, - { (char *)"SoDecomposeMatrix_matrix_set", _wrap_SoDecomposeMatrix_matrix_set, METH_VARARGS, (char *)"SoDecomposeMatrix_matrix_set(SoDecomposeMatrix self, SoMFMatrix matrix)"}, - { (char *)"SoDecomposeMatrix_matrix_get", _wrap_SoDecomposeMatrix_matrix_get, METH_VARARGS, (char *)"SoDecomposeMatrix_matrix_get(SoDecomposeMatrix self) -> SoMFMatrix"}, - { (char *)"SoDecomposeMatrix_center_set", _wrap_SoDecomposeMatrix_center_set, METH_VARARGS, (char *)"SoDecomposeMatrix_center_set(SoDecomposeMatrix self, SoMFVec3f center)"}, - { (char *)"SoDecomposeMatrix_center_get", _wrap_SoDecomposeMatrix_center_get, METH_VARARGS, (char *)"SoDecomposeMatrix_center_get(SoDecomposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoDecomposeMatrix_translation_set", _wrap_SoDecomposeMatrix_translation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_translation_set(SoDecomposeMatrix self, SoEngineOutput translation)"}, - { (char *)"SoDecomposeMatrix_translation_get", _wrap_SoDecomposeMatrix_translation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_translation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_rotation_set", _wrap_SoDecomposeMatrix_rotation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_rotation_set(SoDecomposeMatrix self, SoEngineOutput rotation)"}, - { (char *)"SoDecomposeMatrix_rotation_get", _wrap_SoDecomposeMatrix_rotation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_rotation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_scaleFactor_set", _wrap_SoDecomposeMatrix_scaleFactor_set, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleFactor_set(SoDecomposeMatrix self, SoEngineOutput scaleFactor)"}, - { (char *)"SoDecomposeMatrix_scaleFactor_get", _wrap_SoDecomposeMatrix_scaleFactor_get, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleFactor_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_scaleOrientation_set", _wrap_SoDecomposeMatrix_scaleOrientation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleOrientation_set(SoDecomposeMatrix self, SoEngineOutput scaleOrientation)"}, - { (char *)"SoDecomposeMatrix_scaleOrientation_get", _wrap_SoDecomposeMatrix_scaleOrientation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleOrientation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_swigregister", SoDecomposeMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeRotationFromTo_getClassTypeId", _wrap_SoComposeRotationFromTo_getClassTypeId, METH_VARARGS, (char *)"SoComposeRotationFromTo_getClassTypeId() -> SoType"}, - { (char *)"SoComposeRotationFromTo_getTypeId", _wrap_SoComposeRotationFromTo_getTypeId, METH_VARARGS, (char *)"SoComposeRotationFromTo_getTypeId(SoComposeRotationFromTo self) -> SoType"}, - { (char *)"SoComposeRotationFromTo_getFieldData", _wrap_SoComposeRotationFromTo_getFieldData, METH_VARARGS, (char *)"SoComposeRotationFromTo_getFieldData(SoComposeRotationFromTo self) -> SoFieldData"}, - { (char *)"SoComposeRotationFromTo_getOutputData", _wrap_SoComposeRotationFromTo_getOutputData, METH_VARARGS, (char *)"SoComposeRotationFromTo_getOutputData(SoComposeRotationFromTo self) -> SoEngineOutputData"}, - { (char *)"SoComposeRotationFromTo_createInstance", _wrap_SoComposeRotationFromTo_createInstance, METH_VARARGS, (char *)"SoComposeRotationFromTo_createInstance() -> void"}, - { (char *)"new_SoComposeRotationFromTo", _wrap_new_SoComposeRotationFromTo, METH_VARARGS, (char *)"new_SoComposeRotationFromTo() -> SoComposeRotationFromTo"}, - { (char *)"SoComposeRotationFromTo_initClass", _wrap_SoComposeRotationFromTo_initClass, METH_VARARGS, (char *)"SoComposeRotationFromTo_initClass()"}, - { (char *)"SoComposeRotationFromTo_srcFrom_set", _wrap_SoComposeRotationFromTo_srcFrom_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_srcFrom_set(SoComposeRotationFromTo self, SoMFVec3f from)"}, - { (char *)"SoComposeRotationFromTo_srcFrom_get", _wrap_SoComposeRotationFromTo_srcFrom_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_srcFrom_get(SoComposeRotationFromTo self) -> SoMFVec3f"}, - { (char *)"SoComposeRotationFromTo_destTo_set", _wrap_SoComposeRotationFromTo_destTo_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_destTo_set(SoComposeRotationFromTo self, SoMFVec3f to)"}, - { (char *)"SoComposeRotationFromTo_destTo_get", _wrap_SoComposeRotationFromTo_destTo_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_destTo_get(SoComposeRotationFromTo self) -> SoMFVec3f"}, - { (char *)"SoComposeRotationFromTo_rotation_set", _wrap_SoComposeRotationFromTo_rotation_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_rotation_set(SoComposeRotationFromTo self, SoEngineOutput rotation)"}, - { (char *)"SoComposeRotationFromTo_rotation_get", _wrap_SoComposeRotationFromTo_rotation_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_rotation_get(SoComposeRotationFromTo self) -> SoEngineOutput"}, - { (char *)"SoComposeRotationFromTo_swigregister", SoComposeRotationFromTo_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFPath", _wrap_new_SoSFPath, METH_VARARGS, (char *)"new_SoSFPath() -> SoSFPath"}, - { (char *)"delete_SoSFPath", _wrap_delete_SoSFPath, METH_VARARGS, (char *)"delete_SoSFPath(SoSFPath self)"}, - { (char *)"SoSFPath_createInstance", _wrap_SoSFPath_createInstance, METH_VARARGS, (char *)"SoSFPath_createInstance() -> void"}, - { (char *)"SoSFPath_getClassTypeId", _wrap_SoSFPath_getClassTypeId, METH_VARARGS, (char *)"SoSFPath_getClassTypeId() -> SoType"}, - { (char *)"SoSFPath_getTypeId", _wrap_SoSFPath_getTypeId, METH_VARARGS, (char *)"SoSFPath_getTypeId(SoSFPath self) -> SoType"}, - { (char *)"SoSFPath_copyFrom", _wrap_SoSFPath_copyFrom, METH_VARARGS, (char *)"SoSFPath_copyFrom(SoSFPath self, SoField field)"}, - { (char *)"SoSFPath_isSame", _wrap_SoSFPath_isSame, METH_VARARGS, (char *)"SoSFPath_isSame(SoSFPath self, SoField field) -> SbBool"}, - { (char *)"SoSFPath_getValue", _wrap_SoSFPath_getValue, METH_VARARGS, (char *)"SoSFPath_getValue(SoSFPath self) -> SoPath"}, - { (char *)"SoSFPath___eq__", _wrap_SoSFPath___eq__, METH_VARARGS, (char *)"SoSFPath___eq__(SoSFPath self, SoSFPath field) -> int"}, - { (char *)"SoSFPath___ne__", _wrap_SoSFPath___ne__, METH_VARARGS, (char *)"SoSFPath___ne__(SoSFPath self, SoSFPath field) -> int"}, - { (char *)"SoSFPath_initClass", _wrap_SoSFPath_initClass, METH_VARARGS, (char *)"SoSFPath_initClass()"}, - { (char *)"SoSFPath_notify", _wrap_SoSFPath_notify, METH_VARARGS, (char *)"SoSFPath_notify(SoSFPath self, SoNotList l)"}, - { (char *)"SoSFPath_fixCopy", _wrap_SoSFPath_fixCopy, METH_VARARGS, (char *)"SoSFPath_fixCopy(SoSFPath self, SbBool copyconnections)"}, - { (char *)"SoSFPath_referencesCopy", _wrap_SoSFPath_referencesCopy, METH_VARARGS, (char *)"SoSFPath_referencesCopy(SoSFPath self) -> SbBool"}, - { (char *)"SoSFPath_setValue", _wrap_SoSFPath_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoPath newvalue)\n" - "SoSFPath_setValue(SoSFPath self, SoSFPath other)\n" - ""}, - { (char *)"SoSFPath_swigregister", SoSFPath_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComputeBoundingBox_getClassTypeId", _wrap_SoComputeBoundingBox_getClassTypeId, METH_VARARGS, (char *)"SoComputeBoundingBox_getClassTypeId() -> SoType"}, - { (char *)"SoComputeBoundingBox_getTypeId", _wrap_SoComputeBoundingBox_getTypeId, METH_VARARGS, (char *)"SoComputeBoundingBox_getTypeId(SoComputeBoundingBox self) -> SoType"}, - { (char *)"SoComputeBoundingBox_getFieldData", _wrap_SoComputeBoundingBox_getFieldData, METH_VARARGS, (char *)"SoComputeBoundingBox_getFieldData(SoComputeBoundingBox self) -> SoFieldData"}, - { (char *)"SoComputeBoundingBox_getOutputData", _wrap_SoComputeBoundingBox_getOutputData, METH_VARARGS, (char *)"SoComputeBoundingBox_getOutputData(SoComputeBoundingBox self) -> SoEngineOutputData"}, - { (char *)"SoComputeBoundingBox_createInstance", _wrap_SoComputeBoundingBox_createInstance, METH_VARARGS, (char *)"SoComputeBoundingBox_createInstance() -> void"}, - { (char *)"SoComputeBoundingBox_node_set", _wrap_SoComputeBoundingBox_node_set, METH_VARARGS, (char *)"SoComputeBoundingBox_node_set(SoComputeBoundingBox self, SoSFNode node)"}, - { (char *)"SoComputeBoundingBox_node_get", _wrap_SoComputeBoundingBox_node_get, METH_VARARGS, (char *)"SoComputeBoundingBox_node_get(SoComputeBoundingBox self) -> SoSFNode"}, - { (char *)"SoComputeBoundingBox_path_set", _wrap_SoComputeBoundingBox_path_set, METH_VARARGS, (char *)"SoComputeBoundingBox_path_set(SoComputeBoundingBox self, SoSFPath path)"}, - { (char *)"SoComputeBoundingBox_path_get", _wrap_SoComputeBoundingBox_path_get, METH_VARARGS, (char *)"SoComputeBoundingBox_path_get(SoComputeBoundingBox self) -> SoSFPath"}, - { (char *)"SoComputeBoundingBox_min_set", _wrap_SoComputeBoundingBox_min_set, METH_VARARGS, (char *)"SoComputeBoundingBox_min_set(SoComputeBoundingBox self, SoEngineOutput min)"}, - { (char *)"SoComputeBoundingBox_min_get", _wrap_SoComputeBoundingBox_min_get, METH_VARARGS, (char *)"SoComputeBoundingBox_min_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_max_set", _wrap_SoComputeBoundingBox_max_set, METH_VARARGS, (char *)"SoComputeBoundingBox_max_set(SoComputeBoundingBox self, SoEngineOutput max)"}, - { (char *)"SoComputeBoundingBox_max_get", _wrap_SoComputeBoundingBox_max_get, METH_VARARGS, (char *)"SoComputeBoundingBox_max_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_boxCenter_set", _wrap_SoComputeBoundingBox_boxCenter_set, METH_VARARGS, (char *)"SoComputeBoundingBox_boxCenter_set(SoComputeBoundingBox self, SoEngineOutput boxCenter)"}, - { (char *)"SoComputeBoundingBox_boxCenter_get", _wrap_SoComputeBoundingBox_boxCenter_get, METH_VARARGS, (char *)"SoComputeBoundingBox_boxCenter_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_objectCenter_set", _wrap_SoComputeBoundingBox_objectCenter_set, METH_VARARGS, (char *)"SoComputeBoundingBox_objectCenter_set(SoComputeBoundingBox self, SoEngineOutput objectCenter)"}, - { (char *)"SoComputeBoundingBox_objectCenter_get", _wrap_SoComputeBoundingBox_objectCenter_get, METH_VARARGS, (char *)"SoComputeBoundingBox_objectCenter_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"new_SoComputeBoundingBox", _wrap_new_SoComputeBoundingBox, METH_VARARGS, (char *)"new_SoComputeBoundingBox() -> SoComputeBoundingBox"}, - { (char *)"SoComputeBoundingBox_initClass", _wrap_SoComputeBoundingBox_initClass, METH_VARARGS, (char *)"SoComputeBoundingBox_initClass()"}, - { (char *)"SoComputeBoundingBox_setViewportRegion", _wrap_SoComputeBoundingBox_setViewportRegion, METH_VARARGS, (char *)"SoComputeBoundingBox_setViewportRegion(SoComputeBoundingBox self, SbViewportRegion vpr)"}, - { (char *)"SoComputeBoundingBox_getViewportRegion", _wrap_SoComputeBoundingBox_getViewportRegion, METH_VARARGS, (char *)"SoComputeBoundingBox_getViewportRegion(SoComputeBoundingBox self) -> SbViewportRegion"}, - { (char *)"SoComputeBoundingBox_swigregister", SoComputeBoundingBox_swigregister, METH_VARARGS, NULL}, - { (char *)"SoConcatenate_getClassTypeId", _wrap_SoConcatenate_getClassTypeId, METH_VARARGS, (char *)"SoConcatenate_getClassTypeId() -> SoType"}, - { (char *)"SoConcatenate_getTypeId", _wrap_SoConcatenate_getTypeId, METH_VARARGS, (char *)"SoConcatenate_getTypeId(SoConcatenate self) -> SoType"}, - { (char *)"SoConcatenate_getFieldData", _wrap_SoConcatenate_getFieldData, METH_VARARGS, (char *)"SoConcatenate_getFieldData(SoConcatenate self) -> SoFieldData"}, - { (char *)"SoConcatenate_getOutputData", _wrap_SoConcatenate_getOutputData, METH_VARARGS, (char *)"SoConcatenate_getOutputData(SoConcatenate self) -> SoEngineOutputData"}, - { (char *)"SoConcatenate_createInstance", _wrap_SoConcatenate_createInstance, METH_VARARGS, (char *)"SoConcatenate_createInstance() -> void"}, - { (char *)"SoConcatenate_initClass", _wrap_SoConcatenate_initClass, METH_VARARGS, (char *)"SoConcatenate_initClass()"}, - { (char *)"new_SoConcatenate", _wrap_new_SoConcatenate, METH_VARARGS, (char *)"new_SoConcatenate(SoType inputType) -> SoConcatenate"}, - { (char *)"SoConcatenate_input_set", _wrap_SoConcatenate_input_set, METH_VARARGS, (char *)"SoConcatenate_input_set(SoConcatenate self, SoMField input)"}, - { (char *)"SoConcatenate_input_get", _wrap_SoConcatenate_input_get, METH_VARARGS, (char *)"SoConcatenate_input_get(SoConcatenate self) -> SoMField"}, - { (char *)"SoConcatenate_output_set", _wrap_SoConcatenate_output_set, METH_VARARGS, (char *)"SoConcatenate_output_set(SoConcatenate self, SoEngineOutput output)"}, - { (char *)"SoConcatenate_output_get", _wrap_SoConcatenate_output_get, METH_VARARGS, (char *)"SoConcatenate_output_get(SoConcatenate self) -> SoEngineOutput"}, - { (char *)"SoConcatenate_swigregister", SoConcatenate_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFTrigger", _wrap_new_SoSFTrigger, METH_VARARGS, (char *)"new_SoSFTrigger() -> SoSFTrigger"}, - { (char *)"delete_SoSFTrigger", _wrap_delete_SoSFTrigger, METH_VARARGS, (char *)"delete_SoSFTrigger(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_createInstance", _wrap_SoSFTrigger_createInstance, METH_VARARGS, (char *)"SoSFTrigger_createInstance() -> void"}, - { (char *)"SoSFTrigger_getClassTypeId", _wrap_SoSFTrigger_getClassTypeId, METH_VARARGS, (char *)"SoSFTrigger_getClassTypeId() -> SoType"}, - { (char *)"SoSFTrigger_getTypeId", _wrap_SoSFTrigger_getTypeId, METH_VARARGS, (char *)"SoSFTrigger_getTypeId(SoSFTrigger self) -> SoType"}, - { (char *)"SoSFTrigger_copyFrom", _wrap_SoSFTrigger_copyFrom, METH_VARARGS, (char *)"SoSFTrigger_copyFrom(SoSFTrigger self, SoField field)"}, - { (char *)"SoSFTrigger_isSame", _wrap_SoSFTrigger_isSame, METH_VARARGS, (char *)"SoSFTrigger_isSame(SoSFTrigger self, SoField field) -> SbBool"}, - { (char *)"SoSFTrigger_initClass", _wrap_SoSFTrigger_initClass, METH_VARARGS, (char *)"SoSFTrigger_initClass()"}, - { (char *)"SoSFTrigger_getValue", _wrap_SoSFTrigger_getValue, METH_VARARGS, (char *)"SoSFTrigger_getValue(SoSFTrigger self)"}, - { (char *)"SoSFTrigger___eq__", _wrap_SoSFTrigger___eq__, METH_VARARGS, (char *)"SoSFTrigger___eq__(SoSFTrigger self, SoSFTrigger trigger) -> int"}, - { (char *)"SoSFTrigger___ne__", _wrap_SoSFTrigger___ne__, METH_VARARGS, (char *)"SoSFTrigger___ne__(SoSFTrigger self, SoSFTrigger trigger) -> int"}, - { (char *)"SoSFTrigger_startNotify", _wrap_SoSFTrigger_startNotify, METH_VARARGS, (char *)"SoSFTrigger_startNotify(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_notify", _wrap_SoSFTrigger_notify, METH_VARARGS, (char *)"SoSFTrigger_notify(SoSFTrigger self, SoNotList l)"}, - { (char *)"SoSFTrigger_touch", _wrap_SoSFTrigger_touch, METH_VARARGS, (char *)"SoSFTrigger_touch(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_setValue", _wrap_SoSFTrigger_setValue, METH_VARARGS, (char *)"\n" - "setValue()\n" - "SoSFTrigger_setValue(SoSFTrigger self, SoSFTrigger other)\n" - ""}, - { (char *)"SoSFTrigger_swigregister", SoSFTrigger_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFShort", _wrap_new_SoSFShort, METH_VARARGS, (char *)"new_SoSFShort() -> SoSFShort"}, - { (char *)"delete_SoSFShort", _wrap_delete_SoSFShort, METH_VARARGS, (char *)"delete_SoSFShort(SoSFShort self)"}, - { (char *)"SoSFShort_createInstance", _wrap_SoSFShort_createInstance, METH_VARARGS, (char *)"SoSFShort_createInstance() -> void"}, - { (char *)"SoSFShort_getClassTypeId", _wrap_SoSFShort_getClassTypeId, METH_VARARGS, (char *)"SoSFShort_getClassTypeId() -> SoType"}, - { (char *)"SoSFShort_getTypeId", _wrap_SoSFShort_getTypeId, METH_VARARGS, (char *)"SoSFShort_getTypeId(SoSFShort self) -> SoType"}, - { (char *)"SoSFShort_copyFrom", _wrap_SoSFShort_copyFrom, METH_VARARGS, (char *)"SoSFShort_copyFrom(SoSFShort self, SoField field)"}, - { (char *)"SoSFShort_isSame", _wrap_SoSFShort_isSame, METH_VARARGS, (char *)"SoSFShort_isSame(SoSFShort self, SoField field) -> SbBool"}, - { (char *)"SoSFShort_getValue", _wrap_SoSFShort_getValue, METH_VARARGS, (char *)"SoSFShort_getValue(SoSFShort self) -> short"}, - { (char *)"SoSFShort___eq__", _wrap_SoSFShort___eq__, METH_VARARGS, (char *)"SoSFShort___eq__(SoSFShort self, SoSFShort field) -> int"}, - { (char *)"SoSFShort___ne__", _wrap_SoSFShort___ne__, METH_VARARGS, (char *)"SoSFShort___ne__(SoSFShort self, SoSFShort field) -> int"}, - { (char *)"SoSFShort_initClass", _wrap_SoSFShort_initClass, METH_VARARGS, (char *)"SoSFShort_initClass()"}, - { (char *)"SoSFShort_setValue", _wrap_SoSFShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(short newvalue)\n" - "SoSFShort_setValue(SoSFShort self, SoSFShort other)\n" - ""}, - { (char *)"SoSFShort_swigregister", SoSFShort_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCounter_getClassTypeId", _wrap_SoCounter_getClassTypeId, METH_VARARGS, (char *)"SoCounter_getClassTypeId() -> SoType"}, - { (char *)"SoCounter_getTypeId", _wrap_SoCounter_getTypeId, METH_VARARGS, (char *)"SoCounter_getTypeId(SoCounter self) -> SoType"}, - { (char *)"SoCounter_getFieldData", _wrap_SoCounter_getFieldData, METH_VARARGS, (char *)"SoCounter_getFieldData(SoCounter self) -> SoFieldData"}, - { (char *)"SoCounter_getOutputData", _wrap_SoCounter_getOutputData, METH_VARARGS, (char *)"SoCounter_getOutputData(SoCounter self) -> SoEngineOutputData"}, - { (char *)"SoCounter_createInstance", _wrap_SoCounter_createInstance, METH_VARARGS, (char *)"SoCounter_createInstance() -> void"}, - { (char *)"SoCounter_initClass", _wrap_SoCounter_initClass, METH_VARARGS, (char *)"SoCounter_initClass()"}, - { (char *)"new_SoCounter", _wrap_new_SoCounter, METH_VARARGS, (char *)"new_SoCounter() -> SoCounter"}, - { (char *)"SoCounter_min_set", _wrap_SoCounter_min_set, METH_VARARGS, (char *)"SoCounter_min_set(SoCounter self, SoSFShort min)"}, - { (char *)"SoCounter_min_get", _wrap_SoCounter_min_get, METH_VARARGS, (char *)"SoCounter_min_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_max_set", _wrap_SoCounter_max_set, METH_VARARGS, (char *)"SoCounter_max_set(SoCounter self, SoSFShort max)"}, - { (char *)"SoCounter_max_get", _wrap_SoCounter_max_get, METH_VARARGS, (char *)"SoCounter_max_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_step_set", _wrap_SoCounter_step_set, METH_VARARGS, (char *)"SoCounter_step_set(SoCounter self, SoSFShort step)"}, - { (char *)"SoCounter_step_get", _wrap_SoCounter_step_get, METH_VARARGS, (char *)"SoCounter_step_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_trigger_set", _wrap_SoCounter_trigger_set, METH_VARARGS, (char *)"SoCounter_trigger_set(SoCounter self, SoSFTrigger trigger)"}, - { (char *)"SoCounter_trigger_get", _wrap_SoCounter_trigger_get, METH_VARARGS, (char *)"SoCounter_trigger_get(SoCounter self) -> SoSFTrigger"}, - { (char *)"SoCounter_reset_set", _wrap_SoCounter_reset_set, METH_VARARGS, (char *)"SoCounter_reset_set(SoCounter self, SoSFShort reset)"}, - { (char *)"SoCounter_reset_get", _wrap_SoCounter_reset_get, METH_VARARGS, (char *)"SoCounter_reset_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_output_set", _wrap_SoCounter_output_set, METH_VARARGS, (char *)"SoCounter_output_set(SoCounter self, SoEngineOutput output)"}, - { (char *)"SoCounter_output_get", _wrap_SoCounter_output_get, METH_VARARGS, (char *)"SoCounter_output_get(SoCounter self) -> SoEngineOutput"}, - { (char *)"SoCounter_syncOut_set", _wrap_SoCounter_syncOut_set, METH_VARARGS, (char *)"SoCounter_syncOut_set(SoCounter self, SoEngineOutput syncOut)"}, - { (char *)"SoCounter_syncOut_get", _wrap_SoCounter_syncOut_get, METH_VARARGS, (char *)"SoCounter_syncOut_get(SoCounter self) -> SoEngineOutput"}, - { (char *)"SoCounter_swigregister", SoCounter_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFTime", _wrap_new_SoSFTime, METH_VARARGS, (char *)"new_SoSFTime() -> SoSFTime"}, - { (char *)"delete_SoSFTime", _wrap_delete_SoSFTime, METH_VARARGS, (char *)"delete_SoSFTime(SoSFTime self)"}, - { (char *)"SoSFTime_createInstance", _wrap_SoSFTime_createInstance, METH_VARARGS, (char *)"SoSFTime_createInstance() -> void"}, - { (char *)"SoSFTime_getClassTypeId", _wrap_SoSFTime_getClassTypeId, METH_VARARGS, (char *)"SoSFTime_getClassTypeId() -> SoType"}, - { (char *)"SoSFTime_getTypeId", _wrap_SoSFTime_getTypeId, METH_VARARGS, (char *)"SoSFTime_getTypeId(SoSFTime self) -> SoType"}, - { (char *)"SoSFTime_copyFrom", _wrap_SoSFTime_copyFrom, METH_VARARGS, (char *)"SoSFTime_copyFrom(SoSFTime self, SoField field)"}, - { (char *)"SoSFTime_isSame", _wrap_SoSFTime_isSame, METH_VARARGS, (char *)"SoSFTime_isSame(SoSFTime self, SoField field) -> SbBool"}, - { (char *)"SoSFTime_getValue", _wrap_SoSFTime_getValue, METH_VARARGS, (char *)"SoSFTime_getValue(SoSFTime self) -> SbTime"}, - { (char *)"SoSFTime___eq__", _wrap_SoSFTime___eq__, METH_VARARGS, (char *)"SoSFTime___eq__(SoSFTime self, SoSFTime field) -> int"}, - { (char *)"SoSFTime___ne__", _wrap_SoSFTime___ne__, METH_VARARGS, (char *)"SoSFTime___ne__(SoSFTime self, SoSFTime field) -> int"}, - { (char *)"SoSFTime_initClass", _wrap_SoSFTime_initClass, METH_VARARGS, (char *)"SoSFTime_initClass()"}, - { (char *)"SoSFTime_setValue", _wrap_SoSFTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbTime newvalue)\n" - "setValue(SbTime other)\n" - "SoSFTime_setValue(SoSFTime self, SoSFTime other)\n" - ""}, - { (char *)"SoSFTime_swigregister", SoSFTime_swigregister, METH_VARARGS, NULL}, - { (char *)"SoElapsedTime_getClassTypeId", _wrap_SoElapsedTime_getClassTypeId, METH_VARARGS, (char *)"SoElapsedTime_getClassTypeId() -> SoType"}, - { (char *)"SoElapsedTime_getTypeId", _wrap_SoElapsedTime_getTypeId, METH_VARARGS, (char *)"SoElapsedTime_getTypeId(SoElapsedTime self) -> SoType"}, - { (char *)"SoElapsedTime_getFieldData", _wrap_SoElapsedTime_getFieldData, METH_VARARGS, (char *)"SoElapsedTime_getFieldData(SoElapsedTime self) -> SoFieldData"}, - { (char *)"SoElapsedTime_getOutputData", _wrap_SoElapsedTime_getOutputData, METH_VARARGS, (char *)"SoElapsedTime_getOutputData(SoElapsedTime self) -> SoEngineOutputData"}, - { (char *)"SoElapsedTime_createInstance", _wrap_SoElapsedTime_createInstance, METH_VARARGS, (char *)"SoElapsedTime_createInstance() -> void"}, - { (char *)"SoElapsedTime_initClass", _wrap_SoElapsedTime_initClass, METH_VARARGS, (char *)"SoElapsedTime_initClass()"}, - { (char *)"new_SoElapsedTime", _wrap_new_SoElapsedTime, METH_VARARGS, (char *)"new_SoElapsedTime() -> SoElapsedTime"}, - { (char *)"SoElapsedTime_timeIn_set", _wrap_SoElapsedTime_timeIn_set, METH_VARARGS, (char *)"SoElapsedTime_timeIn_set(SoElapsedTime self, SoSFTime timeIn)"}, - { (char *)"SoElapsedTime_timeIn_get", _wrap_SoElapsedTime_timeIn_get, METH_VARARGS, (char *)"SoElapsedTime_timeIn_get(SoElapsedTime self) -> SoSFTime"}, - { (char *)"SoElapsedTime_speed_set", _wrap_SoElapsedTime_speed_set, METH_VARARGS, (char *)"SoElapsedTime_speed_set(SoElapsedTime self, SoSFFloat speed)"}, - { (char *)"SoElapsedTime_speed_get", _wrap_SoElapsedTime_speed_get, METH_VARARGS, (char *)"SoElapsedTime_speed_get(SoElapsedTime self) -> SoSFFloat"}, - { (char *)"SoElapsedTime_on_set", _wrap_SoElapsedTime_on_set, METH_VARARGS, (char *)"SoElapsedTime_on_set(SoElapsedTime self, SoSFBool on)"}, - { (char *)"SoElapsedTime_on_get", _wrap_SoElapsedTime_on_get, METH_VARARGS, (char *)"SoElapsedTime_on_get(SoElapsedTime self) -> SoSFBool"}, - { (char *)"SoElapsedTime_pause_set", _wrap_SoElapsedTime_pause_set, METH_VARARGS, (char *)"SoElapsedTime_pause_set(SoElapsedTime self, SoSFBool pause)"}, - { (char *)"SoElapsedTime_pause_get", _wrap_SoElapsedTime_pause_get, METH_VARARGS, (char *)"SoElapsedTime_pause_get(SoElapsedTime self) -> SoSFBool"}, - { (char *)"SoElapsedTime_reset_set", _wrap_SoElapsedTime_reset_set, METH_VARARGS, (char *)"SoElapsedTime_reset_set(SoElapsedTime self, SoSFTrigger reset)"}, - { (char *)"SoElapsedTime_reset_get", _wrap_SoElapsedTime_reset_get, METH_VARARGS, (char *)"SoElapsedTime_reset_get(SoElapsedTime self) -> SoSFTrigger"}, - { (char *)"SoElapsedTime_timeOut_set", _wrap_SoElapsedTime_timeOut_set, METH_VARARGS, (char *)"SoElapsedTime_timeOut_set(SoElapsedTime self, SoEngineOutput timeOut)"}, - { (char *)"SoElapsedTime_timeOut_get", _wrap_SoElapsedTime_timeOut_get, METH_VARARGS, (char *)"SoElapsedTime_timeOut_get(SoElapsedTime self) -> SoEngineOutput"}, - { (char *)"SoElapsedTime_swigregister", SoElapsedTime_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFieldConverter_getClassTypeId", _wrap_SoFieldConverter_getClassTypeId, METH_VARARGS, (char *)"SoFieldConverter_getClassTypeId() -> SoType"}, - { (char *)"SoFieldConverter_getTypeId", _wrap_SoFieldConverter_getTypeId, METH_VARARGS, (char *)"SoFieldConverter_getTypeId(SoFieldConverter self) -> SoType"}, - { (char *)"SoFieldConverter_getFieldData", _wrap_SoFieldConverter_getFieldData, METH_VARARGS, (char *)"SoFieldConverter_getFieldData(SoFieldConverter self) -> SoFieldData"}, - { (char *)"SoFieldConverter_getOutputData", _wrap_SoFieldConverter_getOutputData, METH_VARARGS, (char *)"SoFieldConverter_getOutputData(SoFieldConverter self) -> SoEngineOutputData"}, - { (char *)"SoFieldConverter_initClass", _wrap_SoFieldConverter_initClass, METH_VARARGS, (char *)"SoFieldConverter_initClass()"}, - { (char *)"SoFieldConverter_initClasses", _wrap_SoFieldConverter_initClasses, METH_VARARGS, (char *)"SoFieldConverter_initClasses()"}, - { (char *)"SoFieldConverter_getInput", _wrap_SoFieldConverter_getInput, METH_VARARGS, (char *)"SoFieldConverter_getInput(SoFieldConverter self, SoType type) -> SoField"}, - { (char *)"SoFieldConverter_getOutput", _wrap_SoFieldConverter_getOutput, METH_VARARGS, (char *)"SoFieldConverter_getOutput(SoFieldConverter self, SoType type) -> SoEngineOutput"}, - { (char *)"SoFieldConverter_getConnectedInput", _wrap_SoFieldConverter_getConnectedInput, METH_VARARGS, (char *)"SoFieldConverter_getConnectedInput(SoFieldConverter self) -> SoField"}, - { (char *)"SoFieldConverter_getForwardConnections", _wrap_SoFieldConverter_getForwardConnections, METH_VARARGS, (char *)"SoFieldConverter_getForwardConnections(SoFieldConverter self, SoFieldList l) -> int"}, - { (char *)"SoFieldConverter_swigregister", SoFieldConverter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGate_getClassTypeId", _wrap_SoGate_getClassTypeId, METH_VARARGS, (char *)"SoGate_getClassTypeId() -> SoType"}, - { (char *)"SoGate_getTypeId", _wrap_SoGate_getTypeId, METH_VARARGS, (char *)"SoGate_getTypeId(SoGate self) -> SoType"}, - { (char *)"SoGate_getFieldData", _wrap_SoGate_getFieldData, METH_VARARGS, (char *)"SoGate_getFieldData(SoGate self) -> SoFieldData"}, - { (char *)"SoGate_getOutputData", _wrap_SoGate_getOutputData, METH_VARARGS, (char *)"SoGate_getOutputData(SoGate self) -> SoEngineOutputData"}, - { (char *)"SoGate_createInstance", _wrap_SoGate_createInstance, METH_VARARGS, (char *)"SoGate_createInstance() -> void"}, - { (char *)"SoGate_initClass", _wrap_SoGate_initClass, METH_VARARGS, (char *)"SoGate_initClass()"}, - { (char *)"new_SoGate", _wrap_new_SoGate, METH_VARARGS, (char *)"new_SoGate(SoType type) -> SoGate"}, - { (char *)"SoGate_enable_set", _wrap_SoGate_enable_set, METH_VARARGS, (char *)"SoGate_enable_set(SoGate self, SoSFBool enable)"}, - { (char *)"SoGate_enable_get", _wrap_SoGate_enable_get, METH_VARARGS, (char *)"SoGate_enable_get(SoGate self) -> SoSFBool"}, - { (char *)"SoGate_trigger_set", _wrap_SoGate_trigger_set, METH_VARARGS, (char *)"SoGate_trigger_set(SoGate self, SoSFTrigger trigger)"}, - { (char *)"SoGate_trigger_get", _wrap_SoGate_trigger_get, METH_VARARGS, (char *)"SoGate_trigger_get(SoGate self) -> SoSFTrigger"}, - { (char *)"SoGate_input_set", _wrap_SoGate_input_set, METH_VARARGS, (char *)"SoGate_input_set(SoGate self, SoMField input)"}, - { (char *)"SoGate_input_get", _wrap_SoGate_input_get, METH_VARARGS, (char *)"SoGate_input_get(SoGate self) -> SoMField"}, - { (char *)"SoGate_output_set", _wrap_SoGate_output_set, METH_VARARGS, (char *)"SoGate_output_set(SoGate self, SoEngineOutput output)"}, - { (char *)"SoGate_output_get", _wrap_SoGate_output_get, METH_VARARGS, (char *)"SoGate_output_get(SoGate self) -> SoEngineOutput"}, - { (char *)"SoGate_swigregister", SoGate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolate_getClassTypeId", _wrap_SoInterpolate_getClassTypeId, METH_VARARGS, (char *)"SoInterpolate_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolate_getTypeId", _wrap_SoInterpolate_getTypeId, METH_VARARGS, (char *)"SoInterpolate_getTypeId(SoInterpolate self) -> SoType"}, - { (char *)"SoInterpolate_getFieldData", _wrap_SoInterpolate_getFieldData, METH_VARARGS, (char *)"SoInterpolate_getFieldData(SoInterpolate self) -> SoFieldData"}, - { (char *)"SoInterpolate_getOutputData", _wrap_SoInterpolate_getOutputData, METH_VARARGS, (char *)"SoInterpolate_getOutputData(SoInterpolate self) -> SoEngineOutputData"}, - { (char *)"SoInterpolate_initClass", _wrap_SoInterpolate_initClass, METH_VARARGS, (char *)"SoInterpolate_initClass()"}, - { (char *)"SoInterpolate_initClasses", _wrap_SoInterpolate_initClasses, METH_VARARGS, (char *)"SoInterpolate_initClasses()"}, - { (char *)"SoInterpolate_alpha_set", _wrap_SoInterpolate_alpha_set, METH_VARARGS, (char *)"SoInterpolate_alpha_set(SoInterpolate self, SoSFFloat alpha)"}, - { (char *)"SoInterpolate_alpha_get", _wrap_SoInterpolate_alpha_get, METH_VARARGS, (char *)"SoInterpolate_alpha_get(SoInterpolate self) -> SoSFFloat"}, - { (char *)"SoInterpolate_output_set", _wrap_SoInterpolate_output_set, METH_VARARGS, (char *)"SoInterpolate_output_set(SoInterpolate self, SoEngineOutput output)"}, - { (char *)"SoInterpolate_output_get", _wrap_SoInterpolate_output_get, METH_VARARGS, (char *)"SoInterpolate_output_get(SoInterpolate self) -> SoEngineOutput"}, - { (char *)"SoInterpolate_swigregister", SoInterpolate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateFloat_getClassTypeId", _wrap_SoInterpolateFloat_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateFloat_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateFloat_getTypeId", _wrap_SoInterpolateFloat_getTypeId, METH_VARARGS, (char *)"SoInterpolateFloat_getTypeId(SoInterpolateFloat self) -> SoType"}, - { (char *)"SoInterpolateFloat_getFieldData", _wrap_SoInterpolateFloat_getFieldData, METH_VARARGS, (char *)"SoInterpolateFloat_getFieldData(SoInterpolateFloat self) -> SoFieldData"}, - { (char *)"SoInterpolateFloat_getOutputData", _wrap_SoInterpolateFloat_getOutputData, METH_VARARGS, (char *)"SoInterpolateFloat_getOutputData(SoInterpolateFloat self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateFloat_createInstance", _wrap_SoInterpolateFloat_createInstance, METH_VARARGS, (char *)"SoInterpolateFloat_createInstance() -> void"}, - { (char *)"new_SoInterpolateFloat", _wrap_new_SoInterpolateFloat, METH_VARARGS, (char *)"new_SoInterpolateFloat() -> SoInterpolateFloat"}, - { (char *)"SoInterpolateFloat_initClass", _wrap_SoInterpolateFloat_initClass, METH_VARARGS, (char *)"SoInterpolateFloat_initClass()"}, - { (char *)"SoInterpolateFloat_input0_set", _wrap_SoInterpolateFloat_input0_set, METH_VARARGS, (char *)"SoInterpolateFloat_input0_set(SoInterpolateFloat self, SoMFFloat input0)"}, - { (char *)"SoInterpolateFloat_input0_get", _wrap_SoInterpolateFloat_input0_get, METH_VARARGS, (char *)"SoInterpolateFloat_input0_get(SoInterpolateFloat self) -> SoMFFloat"}, - { (char *)"SoInterpolateFloat_input1_set", _wrap_SoInterpolateFloat_input1_set, METH_VARARGS, (char *)"SoInterpolateFloat_input1_set(SoInterpolateFloat self, SoMFFloat input1)"}, - { (char *)"SoInterpolateFloat_input1_get", _wrap_SoInterpolateFloat_input1_get, METH_VARARGS, (char *)"SoInterpolateFloat_input1_get(SoInterpolateFloat self) -> SoMFFloat"}, - { (char *)"SoInterpolateFloat_swigregister", SoInterpolateFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec2f_getClassTypeId", _wrap_SoInterpolateVec2f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec2f_getTypeId", _wrap_SoInterpolateVec2f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec2f_getTypeId(SoInterpolateVec2f self) -> SoType"}, - { (char *)"SoInterpolateVec2f_getFieldData", _wrap_SoInterpolateVec2f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec2f_getFieldData(SoInterpolateVec2f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec2f_getOutputData", _wrap_SoInterpolateVec2f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec2f_getOutputData(SoInterpolateVec2f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec2f_createInstance", _wrap_SoInterpolateVec2f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec2f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec2f", _wrap_new_SoInterpolateVec2f, METH_VARARGS, (char *)"new_SoInterpolateVec2f() -> SoInterpolateVec2f"}, - { (char *)"SoInterpolateVec2f_initClass", _wrap_SoInterpolateVec2f_initClass, METH_VARARGS, (char *)"SoInterpolateVec2f_initClass()"}, - { (char *)"SoInterpolateVec2f_input0_set", _wrap_SoInterpolateVec2f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec2f_input0_set(SoInterpolateVec2f self, SoMFVec2f input0)"}, - { (char *)"SoInterpolateVec2f_input0_get", _wrap_SoInterpolateVec2f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec2f_input0_get(SoInterpolateVec2f self) -> SoMFVec2f"}, - { (char *)"SoInterpolateVec2f_input1_set", _wrap_SoInterpolateVec2f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec2f_input1_set(SoInterpolateVec2f self, SoMFVec2f input1)"}, - { (char *)"SoInterpolateVec2f_input1_get", _wrap_SoInterpolateVec2f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec2f_input1_get(SoInterpolateVec2f self) -> SoMFVec2f"}, - { (char *)"SoInterpolateVec2f_swigregister", SoInterpolateVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec3f_getClassTypeId", _wrap_SoInterpolateVec3f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec3f_getTypeId", _wrap_SoInterpolateVec3f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec3f_getTypeId(SoInterpolateVec3f self) -> SoType"}, - { (char *)"SoInterpolateVec3f_getFieldData", _wrap_SoInterpolateVec3f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec3f_getFieldData(SoInterpolateVec3f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec3f_getOutputData", _wrap_SoInterpolateVec3f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec3f_getOutputData(SoInterpolateVec3f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec3f_createInstance", _wrap_SoInterpolateVec3f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec3f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec3f", _wrap_new_SoInterpolateVec3f, METH_VARARGS, (char *)"new_SoInterpolateVec3f() -> SoInterpolateVec3f"}, - { (char *)"SoInterpolateVec3f_initClass", _wrap_SoInterpolateVec3f_initClass, METH_VARARGS, (char *)"SoInterpolateVec3f_initClass()"}, - { (char *)"SoInterpolateVec3f_input0_set", _wrap_SoInterpolateVec3f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec3f_input0_set(SoInterpolateVec3f self, SoMFVec3f input0)"}, - { (char *)"SoInterpolateVec3f_input0_get", _wrap_SoInterpolateVec3f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec3f_input0_get(SoInterpolateVec3f self) -> SoMFVec3f"}, - { (char *)"SoInterpolateVec3f_input1_set", _wrap_SoInterpolateVec3f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec3f_input1_set(SoInterpolateVec3f self, SoMFVec3f input1)"}, - { (char *)"SoInterpolateVec3f_input1_get", _wrap_SoInterpolateVec3f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec3f_input1_get(SoInterpolateVec3f self) -> SoMFVec3f"}, - { (char *)"SoInterpolateVec3f_swigregister", SoInterpolateVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec4f_getClassTypeId", _wrap_SoInterpolateVec4f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec4f_getTypeId", _wrap_SoInterpolateVec4f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec4f_getTypeId(SoInterpolateVec4f self) -> SoType"}, - { (char *)"SoInterpolateVec4f_getFieldData", _wrap_SoInterpolateVec4f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec4f_getFieldData(SoInterpolateVec4f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec4f_getOutputData", _wrap_SoInterpolateVec4f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec4f_getOutputData(SoInterpolateVec4f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec4f_createInstance", _wrap_SoInterpolateVec4f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec4f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec4f", _wrap_new_SoInterpolateVec4f, METH_VARARGS, (char *)"new_SoInterpolateVec4f() -> SoInterpolateVec4f"}, - { (char *)"SoInterpolateVec4f_initClass", _wrap_SoInterpolateVec4f_initClass, METH_VARARGS, (char *)"SoInterpolateVec4f_initClass()"}, - { (char *)"SoInterpolateVec4f_input0_set", _wrap_SoInterpolateVec4f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec4f_input0_set(SoInterpolateVec4f self, SoMFVec4f input0)"}, - { (char *)"SoInterpolateVec4f_input0_get", _wrap_SoInterpolateVec4f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec4f_input0_get(SoInterpolateVec4f self) -> SoMFVec4f"}, - { (char *)"SoInterpolateVec4f_input1_set", _wrap_SoInterpolateVec4f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec4f_input1_set(SoInterpolateVec4f self, SoMFVec4f input1)"}, - { (char *)"SoInterpolateVec4f_input1_get", _wrap_SoInterpolateVec4f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec4f_input1_get(SoInterpolateVec4f self) -> SoMFVec4f"}, - { (char *)"SoInterpolateVec4f_swigregister", SoInterpolateVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateRotation_getClassTypeId", _wrap_SoInterpolateRotation_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateRotation_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateRotation_getTypeId", _wrap_SoInterpolateRotation_getTypeId, METH_VARARGS, (char *)"SoInterpolateRotation_getTypeId(SoInterpolateRotation self) -> SoType"}, - { (char *)"SoInterpolateRotation_getFieldData", _wrap_SoInterpolateRotation_getFieldData, METH_VARARGS, (char *)"SoInterpolateRotation_getFieldData(SoInterpolateRotation self) -> SoFieldData"}, - { (char *)"SoInterpolateRotation_getOutputData", _wrap_SoInterpolateRotation_getOutputData, METH_VARARGS, (char *)"SoInterpolateRotation_getOutputData(SoInterpolateRotation self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateRotation_createInstance", _wrap_SoInterpolateRotation_createInstance, METH_VARARGS, (char *)"SoInterpolateRotation_createInstance() -> void"}, - { (char *)"new_SoInterpolateRotation", _wrap_new_SoInterpolateRotation, METH_VARARGS, (char *)"new_SoInterpolateRotation() -> SoInterpolateRotation"}, - { (char *)"SoInterpolateRotation_initClass", _wrap_SoInterpolateRotation_initClass, METH_VARARGS, (char *)"SoInterpolateRotation_initClass()"}, - { (char *)"SoInterpolateRotation_input0_set", _wrap_SoInterpolateRotation_input0_set, METH_VARARGS, (char *)"SoInterpolateRotation_input0_set(SoInterpolateRotation self, SoMFRotation input0)"}, - { (char *)"SoInterpolateRotation_input0_get", _wrap_SoInterpolateRotation_input0_get, METH_VARARGS, (char *)"SoInterpolateRotation_input0_get(SoInterpolateRotation self) -> SoMFRotation"}, - { (char *)"SoInterpolateRotation_input1_set", _wrap_SoInterpolateRotation_input1_set, METH_VARARGS, (char *)"SoInterpolateRotation_input1_set(SoInterpolateRotation self, SoMFRotation input1)"}, - { (char *)"SoInterpolateRotation_input1_get", _wrap_SoInterpolateRotation_input1_get, METH_VARARGS, (char *)"SoInterpolateRotation_input1_get(SoInterpolateRotation self) -> SoMFRotation"}, - { (char *)"SoInterpolateRotation_swigregister", SoInterpolateRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOnOff_getClassTypeId", _wrap_SoOnOff_getClassTypeId, METH_VARARGS, (char *)"SoOnOff_getClassTypeId() -> SoType"}, - { (char *)"SoOnOff_getTypeId", _wrap_SoOnOff_getTypeId, METH_VARARGS, (char *)"SoOnOff_getTypeId(SoOnOff self) -> SoType"}, - { (char *)"SoOnOff_getFieldData", _wrap_SoOnOff_getFieldData, METH_VARARGS, (char *)"SoOnOff_getFieldData(SoOnOff self) -> SoFieldData"}, - { (char *)"SoOnOff_getOutputData", _wrap_SoOnOff_getOutputData, METH_VARARGS, (char *)"SoOnOff_getOutputData(SoOnOff self) -> SoEngineOutputData"}, - { (char *)"SoOnOff_createInstance", _wrap_SoOnOff_createInstance, METH_VARARGS, (char *)"SoOnOff_createInstance() -> void"}, - { (char *)"SoOnOff_initClass", _wrap_SoOnOff_initClass, METH_VARARGS, (char *)"SoOnOff_initClass()"}, - { (char *)"new_SoOnOff", _wrap_new_SoOnOff, METH_VARARGS, (char *)"new_SoOnOff() -> SoOnOff"}, - { (char *)"SoOnOff_on_set", _wrap_SoOnOff_on_set, METH_VARARGS, (char *)"SoOnOff_on_set(SoOnOff self, SoSFTrigger on)"}, - { (char *)"SoOnOff_on_get", _wrap_SoOnOff_on_get, METH_VARARGS, (char *)"SoOnOff_on_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_off_set", _wrap_SoOnOff_off_set, METH_VARARGS, (char *)"SoOnOff_off_set(SoOnOff self, SoSFTrigger off)"}, - { (char *)"SoOnOff_off_get", _wrap_SoOnOff_off_get, METH_VARARGS, (char *)"SoOnOff_off_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_toggle_set", _wrap_SoOnOff_toggle_set, METH_VARARGS, (char *)"SoOnOff_toggle_set(SoOnOff self, SoSFTrigger toggle)"}, - { (char *)"SoOnOff_toggle_get", _wrap_SoOnOff_toggle_get, METH_VARARGS, (char *)"SoOnOff_toggle_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_isOn_set", _wrap_SoOnOff_isOn_set, METH_VARARGS, (char *)"SoOnOff_isOn_set(SoOnOff self, SoEngineOutput isOn)"}, - { (char *)"SoOnOff_isOn_get", _wrap_SoOnOff_isOn_get, METH_VARARGS, (char *)"SoOnOff_isOn_get(SoOnOff self) -> SoEngineOutput"}, - { (char *)"SoOnOff_isOff_set", _wrap_SoOnOff_isOff_set, METH_VARARGS, (char *)"SoOnOff_isOff_set(SoOnOff self, SoEngineOutput isOff)"}, - { (char *)"SoOnOff_isOff_get", _wrap_SoOnOff_isOff_get, METH_VARARGS, (char *)"SoOnOff_isOff_get(SoOnOff self) -> SoEngineOutput"}, - { (char *)"SoOnOff_swigregister", SoOnOff_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBitMask", _wrap_new_SoSFBitMask, METH_VARARGS, (char *)"new_SoSFBitMask() -> SoSFBitMask"}, - { (char *)"delete_SoSFBitMask", _wrap_delete_SoSFBitMask, METH_VARARGS, (char *)"delete_SoSFBitMask(SoSFBitMask self)"}, - { (char *)"SoSFBitMask_createInstance", _wrap_SoSFBitMask_createInstance, METH_VARARGS, (char *)"SoSFBitMask_createInstance() -> void"}, - { (char *)"SoSFBitMask_getClassTypeId", _wrap_SoSFBitMask_getClassTypeId, METH_VARARGS, (char *)"SoSFBitMask_getClassTypeId() -> SoType"}, - { (char *)"SoSFBitMask_getTypeId", _wrap_SoSFBitMask_getTypeId, METH_VARARGS, (char *)"SoSFBitMask_getTypeId(SoSFBitMask self) -> SoType"}, - { (char *)"SoSFBitMask_copyFrom", _wrap_SoSFBitMask_copyFrom, METH_VARARGS, (char *)"SoSFBitMask_copyFrom(SoSFBitMask self, SoField field)"}, - { (char *)"SoSFBitMask_isSame", _wrap_SoSFBitMask_isSame, METH_VARARGS, (char *)"SoSFBitMask_isSame(SoSFBitMask self, SoField field) -> SbBool"}, - { (char *)"SoSFBitMask_initClass", _wrap_SoSFBitMask_initClass, METH_VARARGS, (char *)"SoSFBitMask_initClass()"}, - { (char *)"SoSFBitMask_swigregister", SoSFBitMask_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOneShot_getClassTypeId", _wrap_SoOneShot_getClassTypeId, METH_VARARGS, (char *)"SoOneShot_getClassTypeId() -> SoType"}, - { (char *)"SoOneShot_getTypeId", _wrap_SoOneShot_getTypeId, METH_VARARGS, (char *)"SoOneShot_getTypeId(SoOneShot self) -> SoType"}, - { (char *)"SoOneShot_getFieldData", _wrap_SoOneShot_getFieldData, METH_VARARGS, (char *)"SoOneShot_getFieldData(SoOneShot self) -> SoFieldData"}, - { (char *)"SoOneShot_getOutputData", _wrap_SoOneShot_getOutputData, METH_VARARGS, (char *)"SoOneShot_getOutputData(SoOneShot self) -> SoEngineOutputData"}, - { (char *)"SoOneShot_createInstance", _wrap_SoOneShot_createInstance, METH_VARARGS, (char *)"SoOneShot_createInstance() -> void"}, - { (char *)"SoOneShot_initClass", _wrap_SoOneShot_initClass, METH_VARARGS, (char *)"SoOneShot_initClass()"}, - { (char *)"new_SoOneShot", _wrap_new_SoOneShot, METH_VARARGS, (char *)"new_SoOneShot() -> SoOneShot"}, - { (char *)"SoOneShot_timeIn_set", _wrap_SoOneShot_timeIn_set, METH_VARARGS, (char *)"SoOneShot_timeIn_set(SoOneShot self, SoSFTime timeIn)"}, - { (char *)"SoOneShot_timeIn_get", _wrap_SoOneShot_timeIn_get, METH_VARARGS, (char *)"SoOneShot_timeIn_get(SoOneShot self) -> SoSFTime"}, - { (char *)"SoOneShot_duration_set", _wrap_SoOneShot_duration_set, METH_VARARGS, (char *)"SoOneShot_duration_set(SoOneShot self, SoSFTime duration)"}, - { (char *)"SoOneShot_duration_get", _wrap_SoOneShot_duration_get, METH_VARARGS, (char *)"SoOneShot_duration_get(SoOneShot self) -> SoSFTime"}, - { (char *)"SoOneShot_trigger_set", _wrap_SoOneShot_trigger_set, METH_VARARGS, (char *)"SoOneShot_trigger_set(SoOneShot self, SoSFTrigger trigger)"}, - { (char *)"SoOneShot_trigger_get", _wrap_SoOneShot_trigger_get, METH_VARARGS, (char *)"SoOneShot_trigger_get(SoOneShot self) -> SoSFTrigger"}, - { (char *)"SoOneShot_flags_set", _wrap_SoOneShot_flags_set, METH_VARARGS, (char *)"SoOneShot_flags_set(SoOneShot self, SoSFBitMask flags)"}, - { (char *)"SoOneShot_flags_get", _wrap_SoOneShot_flags_get, METH_VARARGS, (char *)"SoOneShot_flags_get(SoOneShot self) -> SoSFBitMask"}, - { (char *)"SoOneShot_disable_set", _wrap_SoOneShot_disable_set, METH_VARARGS, (char *)"SoOneShot_disable_set(SoOneShot self, SoSFBool disable)"}, - { (char *)"SoOneShot_disable_get", _wrap_SoOneShot_disable_get, METH_VARARGS, (char *)"SoOneShot_disable_get(SoOneShot self) -> SoSFBool"}, - { (char *)"SoOneShot_timeOut_set", _wrap_SoOneShot_timeOut_set, METH_VARARGS, (char *)"SoOneShot_timeOut_set(SoOneShot self, SoEngineOutput timeOut)"}, - { (char *)"SoOneShot_timeOut_get", _wrap_SoOneShot_timeOut_get, METH_VARARGS, (char *)"SoOneShot_timeOut_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_isActive_set", _wrap_SoOneShot_isActive_set, METH_VARARGS, (char *)"SoOneShot_isActive_set(SoOneShot self, SoEngineOutput isActive)"}, - { (char *)"SoOneShot_isActive_get", _wrap_SoOneShot_isActive_get, METH_VARARGS, (char *)"SoOneShot_isActive_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_ramp_set", _wrap_SoOneShot_ramp_set, METH_VARARGS, (char *)"SoOneShot_ramp_set(SoOneShot self, SoEngineOutput ramp)"}, - { (char *)"SoOneShot_ramp_get", _wrap_SoOneShot_ramp_get, METH_VARARGS, (char *)"SoOneShot_ramp_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_swigregister", SoOneShot_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSelectOne_getClassTypeId", _wrap_SoSelectOne_getClassTypeId, METH_VARARGS, (char *)"SoSelectOne_getClassTypeId() -> SoType"}, - { (char *)"SoSelectOne_getTypeId", _wrap_SoSelectOne_getTypeId, METH_VARARGS, (char *)"SoSelectOne_getTypeId(SoSelectOne self) -> SoType"}, - { (char *)"SoSelectOne_getFieldData", _wrap_SoSelectOne_getFieldData, METH_VARARGS, (char *)"SoSelectOne_getFieldData(SoSelectOne self) -> SoFieldData"}, - { (char *)"SoSelectOne_getOutputData", _wrap_SoSelectOne_getOutputData, METH_VARARGS, (char *)"SoSelectOne_getOutputData(SoSelectOne self) -> SoEngineOutputData"}, - { (char *)"SoSelectOne_createInstance", _wrap_SoSelectOne_createInstance, METH_VARARGS, (char *)"SoSelectOne_createInstance() -> void"}, - { (char *)"SoSelectOne_index_set", _wrap_SoSelectOne_index_set, METH_VARARGS, (char *)"SoSelectOne_index_set(SoSelectOne self, SoSFInt32 index)"}, - { (char *)"SoSelectOne_index_get", _wrap_SoSelectOne_index_get, METH_VARARGS, (char *)"SoSelectOne_index_get(SoSelectOne self) -> SoSFInt32"}, - { (char *)"SoSelectOne_input_set", _wrap_SoSelectOne_input_set, METH_VARARGS, (char *)"SoSelectOne_input_set(SoSelectOne self, SoMField input)"}, - { (char *)"SoSelectOne_input_get", _wrap_SoSelectOne_input_get, METH_VARARGS, (char *)"SoSelectOne_input_get(SoSelectOne self) -> SoMField"}, - { (char *)"SoSelectOne_output_set", _wrap_SoSelectOne_output_set, METH_VARARGS, (char *)"SoSelectOne_output_set(SoSelectOne self, SoEngineOutput output)"}, - { (char *)"SoSelectOne_output_get", _wrap_SoSelectOne_output_get, METH_VARARGS, (char *)"SoSelectOne_output_get(SoSelectOne self) -> SoEngineOutput"}, - { (char *)"new_SoSelectOne", _wrap_new_SoSelectOne, METH_VARARGS, (char *)"new_SoSelectOne(SoType inputtype) -> SoSelectOne"}, - { (char *)"SoSelectOne_initClass", _wrap_SoSelectOne_initClass, METH_VARARGS, (char *)"SoSelectOne_initClass()"}, - { (char *)"SoSelectOne_swigregister", SoSelectOne_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTimeCounter_getClassTypeId", _wrap_SoTimeCounter_getClassTypeId, METH_VARARGS, (char *)"SoTimeCounter_getClassTypeId() -> SoType"}, - { (char *)"SoTimeCounter_getTypeId", _wrap_SoTimeCounter_getTypeId, METH_VARARGS, (char *)"SoTimeCounter_getTypeId(SoTimeCounter self) -> SoType"}, - { (char *)"SoTimeCounter_getFieldData", _wrap_SoTimeCounter_getFieldData, METH_VARARGS, (char *)"SoTimeCounter_getFieldData(SoTimeCounter self) -> SoFieldData"}, - { (char *)"SoTimeCounter_getOutputData", _wrap_SoTimeCounter_getOutputData, METH_VARARGS, (char *)"SoTimeCounter_getOutputData(SoTimeCounter self) -> SoEngineOutputData"}, - { (char *)"SoTimeCounter_createInstance", _wrap_SoTimeCounter_createInstance, METH_VARARGS, (char *)"SoTimeCounter_createInstance() -> void"}, - { (char *)"SoTimeCounter_timeIn_set", _wrap_SoTimeCounter_timeIn_set, METH_VARARGS, (char *)"SoTimeCounter_timeIn_set(SoTimeCounter self, SoSFTime timeIn)"}, - { (char *)"SoTimeCounter_timeIn_get", _wrap_SoTimeCounter_timeIn_get, METH_VARARGS, (char *)"SoTimeCounter_timeIn_get(SoTimeCounter self) -> SoSFTime"}, - { (char *)"SoTimeCounter_min_set", _wrap_SoTimeCounter_min_set, METH_VARARGS, (char *)"SoTimeCounter_min_set(SoTimeCounter self, SoSFShort min)"}, - { (char *)"SoTimeCounter_min_get", _wrap_SoTimeCounter_min_get, METH_VARARGS, (char *)"SoTimeCounter_min_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_max_set", _wrap_SoTimeCounter_max_set, METH_VARARGS, (char *)"SoTimeCounter_max_set(SoTimeCounter self, SoSFShort max)"}, - { (char *)"SoTimeCounter_max_get", _wrap_SoTimeCounter_max_get, METH_VARARGS, (char *)"SoTimeCounter_max_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_step_set", _wrap_SoTimeCounter_step_set, METH_VARARGS, (char *)"SoTimeCounter_step_set(SoTimeCounter self, SoSFShort step)"}, - { (char *)"SoTimeCounter_step_get", _wrap_SoTimeCounter_step_get, METH_VARARGS, (char *)"SoTimeCounter_step_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_on_set", _wrap_SoTimeCounter_on_set, METH_VARARGS, (char *)"SoTimeCounter_on_set(SoTimeCounter self, SoSFBool on)"}, - { (char *)"SoTimeCounter_on_get", _wrap_SoTimeCounter_on_get, METH_VARARGS, (char *)"SoTimeCounter_on_get(SoTimeCounter self) -> SoSFBool"}, - { (char *)"SoTimeCounter_frequency_set", _wrap_SoTimeCounter_frequency_set, METH_VARARGS, (char *)"SoTimeCounter_frequency_set(SoTimeCounter self, SoSFFloat frequency)"}, - { (char *)"SoTimeCounter_frequency_get", _wrap_SoTimeCounter_frequency_get, METH_VARARGS, (char *)"SoTimeCounter_frequency_get(SoTimeCounter self) -> SoSFFloat"}, - { (char *)"SoTimeCounter_duty_set", _wrap_SoTimeCounter_duty_set, METH_VARARGS, (char *)"SoTimeCounter_duty_set(SoTimeCounter self, SoMFFloat duty)"}, - { (char *)"SoTimeCounter_duty_get", _wrap_SoTimeCounter_duty_get, METH_VARARGS, (char *)"SoTimeCounter_duty_get(SoTimeCounter self) -> SoMFFloat"}, - { (char *)"SoTimeCounter_reset_set", _wrap_SoTimeCounter_reset_set, METH_VARARGS, (char *)"SoTimeCounter_reset_set(SoTimeCounter self, SoSFShort reset)"}, - { (char *)"SoTimeCounter_reset_get", _wrap_SoTimeCounter_reset_get, METH_VARARGS, (char *)"SoTimeCounter_reset_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_syncIn_set", _wrap_SoTimeCounter_syncIn_set, METH_VARARGS, (char *)"SoTimeCounter_syncIn_set(SoTimeCounter self, SoSFTrigger syncIn)"}, - { (char *)"SoTimeCounter_syncIn_get", _wrap_SoTimeCounter_syncIn_get, METH_VARARGS, (char *)"SoTimeCounter_syncIn_get(SoTimeCounter self) -> SoSFTrigger"}, - { (char *)"SoTimeCounter_output_set", _wrap_SoTimeCounter_output_set, METH_VARARGS, (char *)"SoTimeCounter_output_set(SoTimeCounter self, SoEngineOutput output)"}, - { (char *)"SoTimeCounter_output_get", _wrap_SoTimeCounter_output_get, METH_VARARGS, (char *)"SoTimeCounter_output_get(SoTimeCounter self) -> SoEngineOutput"}, - { (char *)"SoTimeCounter_syncOut_set", _wrap_SoTimeCounter_syncOut_set, METH_VARARGS, (char *)"SoTimeCounter_syncOut_set(SoTimeCounter self, SoEngineOutput syncOut)"}, - { (char *)"SoTimeCounter_syncOut_get", _wrap_SoTimeCounter_syncOut_get, METH_VARARGS, (char *)"SoTimeCounter_syncOut_get(SoTimeCounter self) -> SoEngineOutput"}, - { (char *)"new_SoTimeCounter", _wrap_new_SoTimeCounter, METH_VARARGS, (char *)"new_SoTimeCounter() -> SoTimeCounter"}, - { (char *)"SoTimeCounter_initClass", _wrap_SoTimeCounter_initClass, METH_VARARGS, (char *)"SoTimeCounter_initClass()"}, - { (char *)"SoTimeCounter_swigregister", SoTimeCounter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformVec3f_getClassTypeId", _wrap_SoTransformVec3f_getClassTypeId, METH_VARARGS, (char *)"SoTransformVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoTransformVec3f_getTypeId", _wrap_SoTransformVec3f_getTypeId, METH_VARARGS, (char *)"SoTransformVec3f_getTypeId(SoTransformVec3f self) -> SoType"}, - { (char *)"SoTransformVec3f_getFieldData", _wrap_SoTransformVec3f_getFieldData, METH_VARARGS, (char *)"SoTransformVec3f_getFieldData(SoTransformVec3f self) -> SoFieldData"}, - { (char *)"SoTransformVec3f_getOutputData", _wrap_SoTransformVec3f_getOutputData, METH_VARARGS, (char *)"SoTransformVec3f_getOutputData(SoTransformVec3f self) -> SoEngineOutputData"}, - { (char *)"SoTransformVec3f_createInstance", _wrap_SoTransformVec3f_createInstance, METH_VARARGS, (char *)"SoTransformVec3f_createInstance() -> void"}, - { (char *)"SoTransformVec3f_initClass", _wrap_SoTransformVec3f_initClass, METH_VARARGS, (char *)"SoTransformVec3f_initClass()"}, - { (char *)"new_SoTransformVec3f", _wrap_new_SoTransformVec3f, METH_VARARGS, (char *)"new_SoTransformVec3f() -> SoTransformVec3f"}, - { (char *)"SoTransformVec3f_vector_set", _wrap_SoTransformVec3f_vector_set, METH_VARARGS, (char *)"SoTransformVec3f_vector_set(SoTransformVec3f self, SoMFVec3f vector)"}, - { (char *)"SoTransformVec3f_vector_get", _wrap_SoTransformVec3f_vector_get, METH_VARARGS, (char *)"SoTransformVec3f_vector_get(SoTransformVec3f self) -> SoMFVec3f"}, - { (char *)"SoTransformVec3f_matrix_set", _wrap_SoTransformVec3f_matrix_set, METH_VARARGS, (char *)"SoTransformVec3f_matrix_set(SoTransformVec3f self, SoMFMatrix matrix)"}, - { (char *)"SoTransformVec3f_matrix_get", _wrap_SoTransformVec3f_matrix_get, METH_VARARGS, (char *)"SoTransformVec3f_matrix_get(SoTransformVec3f self) -> SoMFMatrix"}, - { (char *)"SoTransformVec3f_point_set", _wrap_SoTransformVec3f_point_set, METH_VARARGS, (char *)"SoTransformVec3f_point_set(SoTransformVec3f self, SoEngineOutput point)"}, - { (char *)"SoTransformVec3f_point_get", _wrap_SoTransformVec3f_point_get, METH_VARARGS, (char *)"SoTransformVec3f_point_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_direction_set", _wrap_SoTransformVec3f_direction_set, METH_VARARGS, (char *)"SoTransformVec3f_direction_set(SoTransformVec3f self, SoEngineOutput direction)"}, - { (char *)"SoTransformVec3f_direction_get", _wrap_SoTransformVec3f_direction_get, METH_VARARGS, (char *)"SoTransformVec3f_direction_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_normalDirection_set", _wrap_SoTransformVec3f_normalDirection_set, METH_VARARGS, (char *)"SoTransformVec3f_normalDirection_set(SoTransformVec3f self, SoEngineOutput normalDirection)"}, - { (char *)"SoTransformVec3f_normalDirection_get", _wrap_SoTransformVec3f_normalDirection_get, METH_VARARGS, (char *)"SoTransformVec3f_normalDirection_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_swigregister", SoTransformVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTriggerAny_getClassTypeId", _wrap_SoTriggerAny_getClassTypeId, METH_VARARGS, (char *)"SoTriggerAny_getClassTypeId() -> SoType"}, - { (char *)"SoTriggerAny_getTypeId", _wrap_SoTriggerAny_getTypeId, METH_VARARGS, (char *)"SoTriggerAny_getTypeId(SoTriggerAny self) -> SoType"}, - { (char *)"SoTriggerAny_getFieldData", _wrap_SoTriggerAny_getFieldData, METH_VARARGS, (char *)"SoTriggerAny_getFieldData(SoTriggerAny self) -> SoFieldData"}, - { (char *)"SoTriggerAny_getOutputData", _wrap_SoTriggerAny_getOutputData, METH_VARARGS, (char *)"SoTriggerAny_getOutputData(SoTriggerAny self) -> SoEngineOutputData"}, - { (char *)"SoTriggerAny_createInstance", _wrap_SoTriggerAny_createInstance, METH_VARARGS, (char *)"SoTriggerAny_createInstance() -> void"}, - { (char *)"SoTriggerAny_initClass", _wrap_SoTriggerAny_initClass, METH_VARARGS, (char *)"SoTriggerAny_initClass()"}, - { (char *)"new_SoTriggerAny", _wrap_new_SoTriggerAny, METH_VARARGS, (char *)"new_SoTriggerAny() -> SoTriggerAny"}, - { (char *)"SoTriggerAny_input0_set", _wrap_SoTriggerAny_input0_set, METH_VARARGS, (char *)"SoTriggerAny_input0_set(SoTriggerAny self, SoSFTrigger input0)"}, - { (char *)"SoTriggerAny_input0_get", _wrap_SoTriggerAny_input0_get, METH_VARARGS, (char *)"SoTriggerAny_input0_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input1_set", _wrap_SoTriggerAny_input1_set, METH_VARARGS, (char *)"SoTriggerAny_input1_set(SoTriggerAny self, SoSFTrigger input1)"}, - { (char *)"SoTriggerAny_input1_get", _wrap_SoTriggerAny_input1_get, METH_VARARGS, (char *)"SoTriggerAny_input1_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input2_set", _wrap_SoTriggerAny_input2_set, METH_VARARGS, (char *)"SoTriggerAny_input2_set(SoTriggerAny self, SoSFTrigger input2)"}, - { (char *)"SoTriggerAny_input2_get", _wrap_SoTriggerAny_input2_get, METH_VARARGS, (char *)"SoTriggerAny_input2_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input3_set", _wrap_SoTriggerAny_input3_set, METH_VARARGS, (char *)"SoTriggerAny_input3_set(SoTriggerAny self, SoSFTrigger input3)"}, - { (char *)"SoTriggerAny_input3_get", _wrap_SoTriggerAny_input3_get, METH_VARARGS, (char *)"SoTriggerAny_input3_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input4_set", _wrap_SoTriggerAny_input4_set, METH_VARARGS, (char *)"SoTriggerAny_input4_set(SoTriggerAny self, SoSFTrigger input4)"}, - { (char *)"SoTriggerAny_input4_get", _wrap_SoTriggerAny_input4_get, METH_VARARGS, (char *)"SoTriggerAny_input4_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input5_set", _wrap_SoTriggerAny_input5_set, METH_VARARGS, (char *)"SoTriggerAny_input5_set(SoTriggerAny self, SoSFTrigger input5)"}, - { (char *)"SoTriggerAny_input5_get", _wrap_SoTriggerAny_input5_get, METH_VARARGS, (char *)"SoTriggerAny_input5_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input6_set", _wrap_SoTriggerAny_input6_set, METH_VARARGS, (char *)"SoTriggerAny_input6_set(SoTriggerAny self, SoSFTrigger input6)"}, - { (char *)"SoTriggerAny_input6_get", _wrap_SoTriggerAny_input6_get, METH_VARARGS, (char *)"SoTriggerAny_input6_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input7_set", _wrap_SoTriggerAny_input7_set, METH_VARARGS, (char *)"SoTriggerAny_input7_set(SoTriggerAny self, SoSFTrigger input7)"}, - { (char *)"SoTriggerAny_input7_get", _wrap_SoTriggerAny_input7_get, METH_VARARGS, (char *)"SoTriggerAny_input7_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input8_set", _wrap_SoTriggerAny_input8_set, METH_VARARGS, (char *)"SoTriggerAny_input8_set(SoTriggerAny self, SoSFTrigger input8)"}, - { (char *)"SoTriggerAny_input8_get", _wrap_SoTriggerAny_input8_get, METH_VARARGS, (char *)"SoTriggerAny_input8_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input9_set", _wrap_SoTriggerAny_input9_set, METH_VARARGS, (char *)"SoTriggerAny_input9_set(SoTriggerAny self, SoSFTrigger input9)"}, - { (char *)"SoTriggerAny_input9_get", _wrap_SoTriggerAny_input9_get, METH_VARARGS, (char *)"SoTriggerAny_input9_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_output_set", _wrap_SoTriggerAny_output_set, METH_VARARGS, (char *)"SoTriggerAny_output_set(SoTriggerAny self, SoEngineOutput output)"}, - { (char *)"SoTriggerAny_output_get", _wrap_SoTriggerAny_output_get, METH_VARARGS, (char *)"SoTriggerAny_output_get(SoTriggerAny self) -> SoEngineOutput"}, - { (char *)"SoTriggerAny_swigregister", SoTriggerAny_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture2Convert_getClassTypeId", _wrap_SoTexture2Convert_getClassTypeId, METH_VARARGS, (char *)"SoTexture2Convert_getClassTypeId() -> SoType"}, - { (char *)"SoTexture2Convert_getTypeId", _wrap_SoTexture2Convert_getTypeId, METH_VARARGS, (char *)"SoTexture2Convert_getTypeId(SoTexture2Convert self) -> SoType"}, - { (char *)"SoTexture2Convert_getFieldData", _wrap_SoTexture2Convert_getFieldData, METH_VARARGS, (char *)"SoTexture2Convert_getFieldData(SoTexture2Convert self) -> SoFieldData"}, - { (char *)"SoTexture2Convert_getOutputData", _wrap_SoTexture2Convert_getOutputData, METH_VARARGS, (char *)"SoTexture2Convert_getOutputData(SoTexture2Convert self) -> SoEngineOutputData"}, - { (char *)"SoTexture2Convert_initClass", _wrap_SoTexture2Convert_initClass, METH_VARARGS, (char *)"SoTexture2Convert_initClass()"}, - { (char *)"SoTexture2Convert_sourceImage_set", _wrap_SoTexture2Convert_sourceImage_set, METH_VARARGS, (char *)"SoTexture2Convert_sourceImage_set(SoTexture2Convert self, SoSFImage sourceImage)"}, - { (char *)"SoTexture2Convert_sourceImage_get", _wrap_SoTexture2Convert_sourceImage_get, METH_VARARGS, (char *)"SoTexture2Convert_sourceImage_get(SoTexture2Convert self) -> SoSFImage"}, - { (char *)"SoTexture2Convert_image_set", _wrap_SoTexture2Convert_image_set, METH_VARARGS, (char *)"SoTexture2Convert_image_set(SoTexture2Convert self, SoEngineOutput image)"}, - { (char *)"SoTexture2Convert_image_get", _wrap_SoTexture2Convert_image_get, METH_VARARGS, (char *)"SoTexture2Convert_image_get(SoTexture2Convert self) -> SoEngineOutput"}, - { (char *)"delete_SoTexture2Convert", _wrap_delete_SoTexture2Convert, METH_VARARGS, (char *)"delete_SoTexture2Convert(SoTexture2Convert self)"}, - { (char *)"SoTexture2Convert_swigregister", SoTexture2Convert_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHeightMapToNormalMap_getClassTypeId", _wrap_SoHeightMapToNormalMap_getClassTypeId, METH_VARARGS, (char *)"SoHeightMapToNormalMap_getClassTypeId() -> SoType"}, - { (char *)"SoHeightMapToNormalMap_getTypeId", _wrap_SoHeightMapToNormalMap_getTypeId, METH_VARARGS, (char *)"SoHeightMapToNormalMap_getTypeId(SoHeightMapToNormalMap self) -> SoType"}, - { (char *)"SoHeightMapToNormalMap_getFieldData", _wrap_SoHeightMapToNormalMap_getFieldData, METH_VARARGS, (char *)"SoHeightMapToNormalMap_getFieldData(SoHeightMapToNormalMap self) -> SoFieldData"}, - { (char *)"SoHeightMapToNormalMap_getOutputData", _wrap_SoHeightMapToNormalMap_getOutputData, METH_VARARGS, (char *)"SoHeightMapToNormalMap_getOutputData(SoHeightMapToNormalMap self) -> SoEngineOutputData"}, - { (char *)"SoHeightMapToNormalMap_createInstance", _wrap_SoHeightMapToNormalMap_createInstance, METH_VARARGS, (char *)"SoHeightMapToNormalMap_createInstance() -> void"}, - { (char *)"SoHeightMapToNormalMap_initClass", _wrap_SoHeightMapToNormalMap_initClass, METH_VARARGS, (char *)"SoHeightMapToNormalMap_initClass()"}, - { (char *)"new_SoHeightMapToNormalMap", _wrap_new_SoHeightMapToNormalMap, METH_VARARGS, (char *)"new_SoHeightMapToNormalMap() -> SoHeightMapToNormalMap"}, - { (char *)"SoHeightMapToNormalMap_format_set", _wrap_SoHeightMapToNormalMap_format_set, METH_VARARGS, (char *)"SoHeightMapToNormalMap_format_set(SoHeightMapToNormalMap self, SoSFEnum format)"}, - { (char *)"SoHeightMapToNormalMap_format_get", _wrap_SoHeightMapToNormalMap_format_get, METH_VARARGS, (char *)"SoHeightMapToNormalMap_format_get(SoHeightMapToNormalMap self) -> SoSFEnum"}, - { (char *)"SoHeightMapToNormalMap_convert", _wrap_SoHeightMapToNormalMap_convert, METH_VARARGS, (char *)"SoHeightMapToNormalMap_convert(unsigned char srcptr, SbVec2s size, int nc, SbImage dst_out)"}, - { (char *)"delete_SoHeightMapToNormalMap", _wrap_delete_SoHeightMapToNormalMap, METH_VARARGS, (char *)"delete_SoHeightMapToNormalMap(SoHeightMapToNormalMap self)"}, - { (char *)"SoHeightMapToNormalMap_swigregister", SoHeightMapToNormalMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeEngine_initClass", _wrap_SoNodeEngine_initClass, METH_VARARGS, (char *)"SoNodeEngine_initClass()"}, - { (char *)"SoNodeEngine_getClassTypeId", _wrap_SoNodeEngine_getClassTypeId, METH_VARARGS, (char *)"SoNodeEngine_getClassTypeId() -> SoType"}, - { (char *)"SoNodeEngine_evaluateWrapper", _wrap_SoNodeEngine_evaluateWrapper, METH_VARARGS, (char *)"SoNodeEngine_evaluateWrapper(SoNodeEngine self)"}, - { (char *)"SoNodeEngine_getOutputs", _wrap_SoNodeEngine_getOutputs, METH_VARARGS, (char *)"SoNodeEngine_getOutputs(SoNodeEngine self, SoEngineOutputList l) -> int"}, - { (char *)"SoNodeEngine_getOutput", _wrap_SoNodeEngine_getOutput, METH_VARARGS, (char *)"SoNodeEngine_getOutput(SoNodeEngine self, SbName outputname) -> SoEngineOutput"}, - { (char *)"SoNodeEngine_getOutputName", _wrap_SoNodeEngine_getOutputName, METH_VARARGS, (char *)"SoNodeEngine_getOutputName(SoNodeEngine self, SoEngineOutput output, SbName outputname) -> SbBool"}, - { (char *)"SoNodeEngine_getOutputData", _wrap_SoNodeEngine_getOutputData, METH_VARARGS, (char *)"SoNodeEngine_getOutputData(SoNodeEngine self) -> SoEngineOutputData"}, - { (char *)"SoNodeEngine_isNotifying", _wrap_SoNodeEngine_isNotifying, METH_VARARGS, (char *)"SoNodeEngine_isNotifying(SoNodeEngine self) -> SbBool"}, - { (char *)"SoNodeEngine_notify", _wrap_SoNodeEngine_notify, METH_VARARGS, (char *)"SoNodeEngine_notify(SoNodeEngine self, SoNotList nl)"}, - { (char *)"SoNodeEngine_writeInstance", _wrap_SoNodeEngine_writeInstance, METH_VARARGS, (char *)"SoNodeEngine_writeInstance(SoNodeEngine self, SoOutput out)"}, - { (char *)"SoNodeEngine_swigregister", SoNodeEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMemoryError_setHandlerCallback", _wrap_SoMemoryError_setHandlerCallback, METH_VARARGS, (char *)"SoMemoryError_setHandlerCallback(SoErrorCB callback, void data)"}, - { (char *)"SoMemoryError_getHandlerCallback", _wrap_SoMemoryError_getHandlerCallback, METH_VARARGS, (char *)"SoMemoryError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoMemoryError_getHandlerData", _wrap_SoMemoryError_getHandlerData, METH_VARARGS, (char *)"SoMemoryError_getHandlerData() -> void"}, - { (char *)"SoMemoryError_getClassTypeId", _wrap_SoMemoryError_getClassTypeId, METH_VARARGS, (char *)"SoMemoryError_getClassTypeId() -> SoType"}, - { (char *)"SoMemoryError_getTypeId", _wrap_SoMemoryError_getTypeId, METH_VARARGS, (char *)"SoMemoryError_getTypeId(SoMemoryError self) -> SoType"}, - { (char *)"SoMemoryError_post", _wrap_SoMemoryError_post, METH_VARARGS, (char *)"SoMemoryError_post(char whatWasAllocated)"}, - { (char *)"SoMemoryError_initClass", _wrap_SoMemoryError_initClass, METH_VARARGS, (char *)"SoMemoryError_initClass()"}, - { (char *)"new_SoMemoryError", _wrap_new_SoMemoryError, METH_VARARGS, (char *)"new_SoMemoryError() -> SoMemoryError"}, - { (char *)"delete_SoMemoryError", _wrap_delete_SoMemoryError, METH_VARARGS, (char *)"delete_SoMemoryError(SoMemoryError self)"}, - { (char *)"SoMemoryError_swigregister", SoMemoryError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoReadError_setHandlerCallback", _wrap_SoReadError_setHandlerCallback, METH_VARARGS, (char *)"SoReadError_setHandlerCallback(SoErrorCB function, void data)"}, - { (char *)"SoReadError_getHandlerCallback", _wrap_SoReadError_getHandlerCallback, METH_VARARGS, (char *)"SoReadError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoReadError_getHandlerData", _wrap_SoReadError_getHandlerData, METH_VARARGS, (char *)"SoReadError_getHandlerData() -> void"}, - { (char *)"SoReadError_getClassTypeId", _wrap_SoReadError_getClassTypeId, METH_VARARGS, (char *)"SoReadError_getClassTypeId() -> SoType"}, - { (char *)"SoReadError_getTypeId", _wrap_SoReadError_getTypeId, METH_VARARGS, (char *)"SoReadError_getTypeId(SoReadError self) -> SoType"}, - { (char *)"SoReadError_post", _wrap_SoReadError_post, METH_VARARGS, (char *)"SoReadError_post(SoInput input, char format, v(...) ?)"}, - { (char *)"SoReadError_initClass", _wrap_SoReadError_initClass, METH_VARARGS, (char *)"SoReadError_initClass()"}, - { (char *)"new_SoReadError", _wrap_new_SoReadError, METH_VARARGS, (char *)"new_SoReadError() -> SoReadError"}, - { (char *)"delete_SoReadError", _wrap_delete_SoReadError, METH_VARARGS, (char *)"delete_SoReadError(SoReadError self)"}, - { (char *)"SoReadError_swigregister", SoReadError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoButtonEvent_getClassTypeId", _wrap_SoButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoButtonEvent_getTypeId", _wrap_SoButtonEvent_getTypeId, METH_VARARGS, (char *)"SoButtonEvent_getTypeId(SoButtonEvent self) -> SoType"}, - { (char *)"SoButtonEvent_initClass", _wrap_SoButtonEvent_initClass, METH_VARARGS, (char *)"SoButtonEvent_initClass()"}, - { (char *)"new_SoButtonEvent", _wrap_new_SoButtonEvent, METH_VARARGS, (char *)"new_SoButtonEvent() -> SoButtonEvent"}, - { (char *)"delete_SoButtonEvent", _wrap_delete_SoButtonEvent, METH_VARARGS, (char *)"delete_SoButtonEvent(SoButtonEvent self)"}, - { (char *)"SoButtonEvent_setState", _wrap_SoButtonEvent_setState, METH_VARARGS, (char *)"SoButtonEvent_setState(SoButtonEvent self, State state)"}, - { (char *)"SoButtonEvent_getState", _wrap_SoButtonEvent_getState, METH_VARARGS, (char *)"SoButtonEvent_getState(SoButtonEvent self) -> State"}, - { (char *)"SoButtonEvent_enumToString", _wrap_SoButtonEvent_enumToString, METH_VARARGS, (char *)"SoButtonEvent_enumToString(State enumval, SbString stringrep) -> SbBool"}, - { (char *)"SoButtonEvent_swigregister", SoButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocation2Event_getClassTypeId", _wrap_SoLocation2Event_getClassTypeId, METH_VARARGS, (char *)"SoLocation2Event_getClassTypeId() -> SoType"}, - { (char *)"SoLocation2Event_getTypeId", _wrap_SoLocation2Event_getTypeId, METH_VARARGS, (char *)"SoLocation2Event_getTypeId(SoLocation2Event self) -> SoType"}, - { (char *)"SoLocation2Event_initClass", _wrap_SoLocation2Event_initClass, METH_VARARGS, (char *)"SoLocation2Event_initClass()"}, - { (char *)"new_SoLocation2Event", _wrap_new_SoLocation2Event, METH_VARARGS, (char *)"new_SoLocation2Event() -> SoLocation2Event"}, - { (char *)"delete_SoLocation2Event", _wrap_delete_SoLocation2Event, METH_VARARGS, (char *)"delete_SoLocation2Event(SoLocation2Event self)"}, - { (char *)"SoLocation2Event_swigregister", SoLocation2Event_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMotion3Event_getClassTypeId", _wrap_SoMotion3Event_getClassTypeId, METH_VARARGS, (char *)"SoMotion3Event_getClassTypeId() -> SoType"}, - { (char *)"SoMotion3Event_getTypeId", _wrap_SoMotion3Event_getTypeId, METH_VARARGS, (char *)"SoMotion3Event_getTypeId(SoMotion3Event self) -> SoType"}, - { (char *)"SoMotion3Event_initClass", _wrap_SoMotion3Event_initClass, METH_VARARGS, (char *)"SoMotion3Event_initClass()"}, - { (char *)"new_SoMotion3Event", _wrap_new_SoMotion3Event, METH_VARARGS, (char *)"new_SoMotion3Event() -> SoMotion3Event"}, - { (char *)"delete_SoMotion3Event", _wrap_delete_SoMotion3Event, METH_VARARGS, (char *)"delete_SoMotion3Event(SoMotion3Event self)"}, - { (char *)"SoMotion3Event_setTranslation", _wrap_SoMotion3Event_setTranslation, METH_VARARGS, (char *)"SoMotion3Event_setTranslation(SoMotion3Event self, SbVec3f t)"}, - { (char *)"SoMotion3Event_getTranslation", _wrap_SoMotion3Event_getTranslation, METH_VARARGS, (char *)"SoMotion3Event_getTranslation(SoMotion3Event self) -> SbVec3f"}, - { (char *)"SoMotion3Event_setRotation", _wrap_SoMotion3Event_setRotation, METH_VARARGS, (char *)"SoMotion3Event_setRotation(SoMotion3Event self, SbRotation r)"}, - { (char *)"SoMotion3Event_getRotation", _wrap_SoMotion3Event_getRotation, METH_VARARGS, (char *)"SoMotion3Event_getRotation(SoMotion3Event self) -> SbRotation"}, - { (char *)"SoMotion3Event_swigregister", SoMotion3Event_swigregister, METH_VARARGS, NULL}, - { (char *)"SoKeyboardEvent_getClassTypeId", _wrap_SoKeyboardEvent_getClassTypeId, METH_VARARGS, (char *)"SoKeyboardEvent_getClassTypeId() -> SoType"}, - { (char *)"SoKeyboardEvent_getTypeId", _wrap_SoKeyboardEvent_getTypeId, METH_VARARGS, (char *)"SoKeyboardEvent_getTypeId(SoKeyboardEvent self) -> SoType"}, - { (char *)"SoKeyboardEvent_initClass", _wrap_SoKeyboardEvent_initClass, METH_VARARGS, (char *)"SoKeyboardEvent_initClass()"}, - { (char *)"new_SoKeyboardEvent", _wrap_new_SoKeyboardEvent, METH_VARARGS, (char *)"new_SoKeyboardEvent() -> SoKeyboardEvent"}, - { (char *)"delete_SoKeyboardEvent", _wrap_delete_SoKeyboardEvent, METH_VARARGS, (char *)"delete_SoKeyboardEvent(SoKeyboardEvent self)"}, - { (char *)"SoKeyboardEvent_setKey", _wrap_SoKeyboardEvent_setKey, METH_VARARGS, (char *)"SoKeyboardEvent_setKey(SoKeyboardEvent self, Key key)"}, - { (char *)"SoKeyboardEvent_getKey", _wrap_SoKeyboardEvent_getKey, METH_VARARGS, (char *)"SoKeyboardEvent_getKey(SoKeyboardEvent self) -> Key"}, - { (char *)"SoKeyboardEvent_setPrintableCharacter", _wrap_SoKeyboardEvent_setPrintableCharacter, METH_VARARGS, (char *)"SoKeyboardEvent_setPrintableCharacter(SoKeyboardEvent self, char c)"}, - { (char *)"SoKeyboardEvent_getPrintableCharacter", _wrap_SoKeyboardEvent_getPrintableCharacter, METH_VARARGS, (char *)"SoKeyboardEvent_getPrintableCharacter(SoKeyboardEvent self) -> char"}, - { (char *)"SoKeyboardEvent_isKeyPressEvent", _wrap_SoKeyboardEvent_isKeyPressEvent, METH_VARARGS, (char *)"SoKeyboardEvent_isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool"}, - { (char *)"SoKeyboardEvent_isKeyReleaseEvent", _wrap_SoKeyboardEvent_isKeyReleaseEvent, METH_VARARGS, (char *)"SoKeyboardEvent_isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool"}, - { (char *)"SoKeyboardEvent_enumToString", _wrap_SoKeyboardEvent_enumToString, METH_VARARGS, (char *)"SoKeyboardEvent_enumToString(Key enumval, SbString stringrep) -> SbBool"}, - { (char *)"SoKeyboardEvent_swigregister", SoKeyboardEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMouseButtonEvent_getClassTypeId", _wrap_SoMouseButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoMouseButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoMouseButtonEvent_getTypeId", _wrap_SoMouseButtonEvent_getTypeId, METH_VARARGS, (char *)"SoMouseButtonEvent_getTypeId(SoMouseButtonEvent self) -> SoType"}, - { (char *)"SoMouseButtonEvent_initClass", _wrap_SoMouseButtonEvent_initClass, METH_VARARGS, (char *)"SoMouseButtonEvent_initClass()"}, - { (char *)"new_SoMouseButtonEvent", _wrap_new_SoMouseButtonEvent, METH_VARARGS, (char *)"new_SoMouseButtonEvent() -> SoMouseButtonEvent"}, - { (char *)"delete_SoMouseButtonEvent", _wrap_delete_SoMouseButtonEvent, METH_VARARGS, (char *)"delete_SoMouseButtonEvent(SoMouseButtonEvent self)"}, - { (char *)"SoMouseButtonEvent_setButton", _wrap_SoMouseButtonEvent_setButton, METH_VARARGS, (char *)"SoMouseButtonEvent_setButton(SoMouseButtonEvent self, Button button)"}, - { (char *)"SoMouseButtonEvent_getButton", _wrap_SoMouseButtonEvent_getButton, METH_VARARGS, (char *)"SoMouseButtonEvent_getButton(SoMouseButtonEvent self) -> Button"}, - { (char *)"SoMouseButtonEvent_isButtonPressEvent", _wrap_SoMouseButtonEvent_isButtonPressEvent, METH_VARARGS, (char *)"SoMouseButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoMouseButtonEvent_isButtonReleaseEvent", _wrap_SoMouseButtonEvent_isButtonReleaseEvent, METH_VARARGS, (char *)"SoMouseButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoMouseButtonEvent_enumToString", _wrap_SoMouseButtonEvent_enumToString, METH_VARARGS, (char *)"SoMouseButtonEvent_enumToString(Button enumval, SbString stringrep) -> SbBool"}, - { (char *)"SoMouseButtonEvent_swigregister", SoMouseButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpaceballButtonEvent_getClassTypeId", _wrap_SoSpaceballButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoSpaceballButtonEvent_getTypeId", _wrap_SoSpaceballButtonEvent_getTypeId, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getTypeId(SoSpaceballButtonEvent self) -> SoType"}, - { (char *)"SoSpaceballButtonEvent_initClass", _wrap_SoSpaceballButtonEvent_initClass, METH_VARARGS, (char *)"SoSpaceballButtonEvent_initClass()"}, - { (char *)"new_SoSpaceballButtonEvent", _wrap_new_SoSpaceballButtonEvent, METH_VARARGS, (char *)"new_SoSpaceballButtonEvent() -> SoSpaceballButtonEvent"}, - { (char *)"delete_SoSpaceballButtonEvent", _wrap_delete_SoSpaceballButtonEvent, METH_VARARGS, (char *)"delete_SoSpaceballButtonEvent(SoSpaceballButtonEvent self)"}, - { (char *)"SoSpaceballButtonEvent_setButton", _wrap_SoSpaceballButtonEvent_setButton, METH_VARARGS, (char *)"SoSpaceballButtonEvent_setButton(SoSpaceballButtonEvent self, Button button)"}, - { (char *)"SoSpaceballButtonEvent_getButton", _wrap_SoSpaceballButtonEvent_getButton, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getButton(SoSpaceballButtonEvent self) -> Button"}, - { (char *)"SoSpaceballButtonEvent_isButtonPressEvent", _wrap_SoSpaceballButtonEvent_isButtonPressEvent, METH_VARARGS, (char *)"SoSpaceballButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoSpaceballButtonEvent_isButtonReleaseEvent", _wrap_SoSpaceballButtonEvent_isButtonReleaseEvent, METH_VARARGS, (char *)"SoSpaceballButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoSpaceballButtonEvent_enumToString", _wrap_SoSpaceballButtonEvent_enumToString, METH_VARARGS, (char *)"SoSpaceballButtonEvent_enumToString(Button enumval, SbString stringrep) -> SbBool"}, - { (char *)"SoSpaceballButtonEvent_swigregister", SoSpaceballButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2s", _wrap_new_SbBox2s, METH_VARARGS, (char *)"\n" - "SbBox2s()\n" - "SbBox2s(short xmin, short ymin, short xmax, short ymax)\n" - "SbBox2s(SbVec2s minpoint, SbVec2s maxpoint)\n" - "SbBox2s(SbBox2i32 box)\n" - "SbBox2s(SbBox2f box)\n" - "new_SbBox2s(SbBox2d box) -> SbBox2s\n" - ""}, - { (char *)"SbBox2s_setBounds", _wrap_SbBox2s_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(short xmin, short ymin, short xmax, short ymax) -> SbBox2s\n" - "setBounds(SbVec2s minpoint, SbVec2s maxpoint) -> SbBox2s\n" - "setBounds(SbBox2i32 box) -> SbBox2s\n" - "setBounds(SbBox2f box) -> SbBox2s\n" - "SbBox2s_setBounds(SbBox2s self, SbBox2d box) -> SbBox2s\n" - ""}, - { (char *)"SbBox2s_getBounds", _wrap_SbBox2s_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(short xmin, short ymin, short xmax, short ymax)\n" - "SbBox2s_getBounds(SbBox2s self, SbVec2s minpoint, SbVec2s maxpoint)\n" - ""}, - { (char *)"SbBox2s_getMin", _wrap_SbBox2s_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec2s\n" - "SbBox2s_getMin(SbBox2s self) -> SbVec2s\n" - ""}, - { (char *)"SbBox2s_getMax", _wrap_SbBox2s_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec2s\n" - "SbBox2s_getMax(SbBox2s self) -> SbVec2s\n" - ""}, - { (char *)"SbBox2s_extendBy", _wrap_SbBox2s_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2s point)\n" - "SbBox2s_extendBy(SbBox2s self, SbBox2s box)\n" - ""}, - { (char *)"SbBox2s_makeEmpty", _wrap_SbBox2s_makeEmpty, METH_VARARGS, (char *)"SbBox2s_makeEmpty(SbBox2s self)"}, - { (char *)"SbBox2s_isEmpty", _wrap_SbBox2s_isEmpty, METH_VARARGS, (char *)"SbBox2s_isEmpty(SbBox2s self) -> SbBool"}, - { (char *)"SbBox2s_hasArea", _wrap_SbBox2s_hasArea, METH_VARARGS, (char *)"SbBox2s_hasArea(SbBox2s self) -> SbBool"}, - { (char *)"SbBox2s_intersect", _wrap_SbBox2s_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2s point) -> SbBool\n" - "SbBox2s_intersect(SbBox2s self, SbBox2s box) -> SbBool\n" - ""}, - { (char *)"SbBox2s_getCenter", _wrap_SbBox2s_getCenter, METH_VARARGS, (char *)"SbBox2s_getCenter(SbBox2s self) -> SbVec2f"}, - { (char *)"SbBox2s_getOrigin", _wrap_SbBox2s_getOrigin, METH_VARARGS, (char *)"SbBox2s_getOrigin(SbBox2s self, short originX, short originY)"}, - { (char *)"SbBox2s_getSize", _wrap_SbBox2s_getSize, METH_VARARGS, (char *)"SbBox2s_getSize(SbBox2s self, short sizeX, short sizeY)"}, - { (char *)"SbBox2s_getAspectRatio", _wrap_SbBox2s_getAspectRatio, METH_VARARGS, (char *)"SbBox2s_getAspectRatio(SbBox2s self) -> float"}, - { (char *)"SbBox2s___eq__", _wrap_SbBox2s___eq__, METH_VARARGS, (char *)"SbBox2s___eq__(SbBox2s self, SbBox2s u) -> int"}, - { (char *)"SbBox2s___ne__", _wrap_SbBox2s___ne__, METH_VARARGS, (char *)"SbBox2s___ne__(SbBox2s self, SbBox2s u) -> int"}, - { (char *)"delete_SbBox2s", _wrap_delete_SbBox2s, METH_VARARGS, (char *)"delete_SbBox2s(SbBox2s self)"}, - { (char *)"SbBox2s_swigregister", SbBox2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox2s", _wrap_new_SoSFBox2s, METH_VARARGS, (char *)"new_SoSFBox2s() -> SoSFBox2s"}, - { (char *)"delete_SoSFBox2s", _wrap_delete_SoSFBox2s, METH_VARARGS, (char *)"delete_SoSFBox2s(SoSFBox2s self)"}, - { (char *)"SoSFBox2s_createInstance", _wrap_SoSFBox2s_createInstance, METH_VARARGS, (char *)"SoSFBox2s_createInstance() -> void"}, - { (char *)"SoSFBox2s_getClassTypeId", _wrap_SoSFBox2s_getClassTypeId, METH_VARARGS, (char *)"SoSFBox2s_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox2s_getTypeId", _wrap_SoSFBox2s_getTypeId, METH_VARARGS, (char *)"SoSFBox2s_getTypeId(SoSFBox2s self) -> SoType"}, - { (char *)"SoSFBox2s_copyFrom", _wrap_SoSFBox2s_copyFrom, METH_VARARGS, (char *)"SoSFBox2s_copyFrom(SoSFBox2s self, SoField field)"}, - { (char *)"SoSFBox2s_isSame", _wrap_SoSFBox2s_isSame, METH_VARARGS, (char *)"SoSFBox2s_isSame(SoSFBox2s self, SoField field) -> SbBool"}, - { (char *)"SoSFBox2s___eq__", _wrap_SoSFBox2s___eq__, METH_VARARGS, (char *)"SoSFBox2s___eq__(SoSFBox2s self, SoSFBox2s field) -> int"}, - { (char *)"SoSFBox2s___ne__", _wrap_SoSFBox2s___ne__, METH_VARARGS, (char *)"SoSFBox2s___ne__(SoSFBox2s self, SoSFBox2s field) -> int"}, - { (char *)"SoSFBox2s_initClass", _wrap_SoSFBox2s_initClass, METH_VARARGS, (char *)"SoSFBox2s_initClass()"}, - { (char *)"SoSFBox2s_setValue", _wrap_SoSFBox2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox2s newvalue)\n" - "setValue(short xmin, short ymin, short xmax, short ymax)\n" - "SoSFBox2s_setValue(SoSFBox2s self, SbVec2s minvec, SbVec2s maxvec)\n" - ""}, - { (char *)"SoSFBox2s_getValue", _wrap_SoSFBox2s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox2s\n" - "SoSFBox2s_getValue(SoSFBox2s self, SbBox2s box)\n" - ""}, - { (char *)"SoSFBox2s_swigregister", SoSFBox2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2i32", _wrap_new_SbVec2i32, METH_VARARGS, (char *)"\n" - "SbVec2i32()\n" - "SbVec2i32(int32_t v)\n" - "SbVec2i32(int32_t x, int32_t y)\n" - "SbVec2i32(SbVec2ui32 v)\n" - "SbVec2i32(SbVec2b v)\n" - "SbVec2i32(SbVec2s v)\n" - "SbVec2i32(SbVec2f v)\n" - "new_SbVec2i32(SbVec2d v) -> SbVec2i32\n" - ""}, - { (char *)"SbVec2i32_setValue", _wrap_SbVec2i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t v) -> SbVec2i32\n" - "setValue(int32_t x, int32_t y) -> SbVec2i32\n" - "setValue(SbVec2ui32 v) -> SbVec2i32\n" - "setValue(SbVec2b v) -> SbVec2i32\n" - "setValue(SbVec2s v) -> SbVec2i32\n" - "setValue(SbVec2f v) -> SbVec2i32\n" - "SbVec2i32_setValue(SbVec2i32 self, SbVec2d v) -> SbVec2i32\n" - ""}, - { (char *)"SbVec2i32_getValue", _wrap_SbVec2i32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int32_t\n" - "SbVec2i32_getValue(SbVec2i32 self, int32_t x, int32_t y)\n" - ""}, - { (char *)"SbVec2i32_dot", _wrap_SbVec2i32_dot, METH_VARARGS, (char *)"SbVec2i32_dot(SbVec2i32 self, SbVec2i32 v) -> int32_t"}, - { (char *)"SbVec2i32_negate", _wrap_SbVec2i32_negate, METH_VARARGS, (char *)"SbVec2i32_negate(SbVec2i32 self)"}, - { (char *)"SbVec2i32___imul__", _wrap_SbVec2i32___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec2i32\n" - "SbVec2i32___imul__(SbVec2i32 self, double d) -> SbVec2i32\n" - ""}, - { (char *)"SbVec2i32___idiv__", _wrap_SbVec2i32___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec2i32\n" - "SbVec2i32___idiv__(SbVec2i32 self, double d) -> SbVec2i32\n" - ""}, - { (char *)"SbVec2i32___iadd__", _wrap_SbVec2i32___iadd__, METH_VARARGS, (char *)"SbVec2i32___iadd__(SbVec2i32 self, SbVec2i32 v) -> SbVec2i32"}, - { (char *)"SbVec2i32___isub__", _wrap_SbVec2i32___isub__, METH_VARARGS, (char *)"SbVec2i32___isub__(SbVec2i32 self, SbVec2i32 v) -> SbVec2i32"}, - { (char *)"SbVec2i32___neg__", _wrap_SbVec2i32___neg__, METH_VARARGS, (char *)"SbVec2i32___neg__(SbVec2i32 self) -> SbVec2i32"}, - { (char *)"SbVec2i32_output", _wrap_SbVec2i32_output, METH_VARARGS, (char *)"SbVec2i32_output(SbVec2i32 self, FILE fp)"}, - { (char *)"delete_SbVec2i32", _wrap_delete_SbVec2i32, METH_VARARGS, (char *)"delete_SbVec2i32(SbVec2i32 self)"}, - { (char *)"SbVec2i32_swigregister", SbVec2i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2i32", _wrap_new_SbBox2i32, METH_VARARGS, (char *)"\n" - "SbBox2i32()\n" - "SbBox2i32(int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax)\n" - "SbBox2i32(SbVec2i32 minpoint, SbVec2i32 maxpoint)\n" - "SbBox2i32(SbBox2s box)\n" - "SbBox2i32(SbBox2f box)\n" - "new_SbBox2i32(SbBox2d box) -> SbBox2i32\n" - ""}, - { (char *)"SbBox2i32_setBounds", _wrap_SbBox2i32_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax) -> SbBox2i32\n" - "setBounds(SbVec2i32 minpoint, SbVec2i32 maxpoint) -> SbBox2i32\n" - "setBounds(SbBox2s box) -> SbBox2i32\n" - "setBounds(SbBox2f box) -> SbBox2i32\n" - "SbBox2i32_setBounds(SbBox2i32 self, SbBox2d box) -> SbBox2i32\n" - ""}, - { (char *)"SbBox2i32_getBounds", _wrap_SbBox2i32_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax)\n" - "SbBox2i32_getBounds(SbBox2i32 self, SbVec2i32 minpoint, SbVec2i32 maxpoint)\n" - ""}, - { (char *)"SbBox2i32_getMin", _wrap_SbBox2i32_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec2i32\n" - "SbBox2i32_getMin(SbBox2i32 self) -> SbVec2i32\n" - ""}, - { (char *)"SbBox2i32_getMax", _wrap_SbBox2i32_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec2i32\n" - "SbBox2i32_getMax(SbBox2i32 self) -> SbVec2i32\n" - ""}, - { (char *)"SbBox2i32_extendBy", _wrap_SbBox2i32_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2i32 point)\n" - "SbBox2i32_extendBy(SbBox2i32 self, SbBox2i32 box)\n" - ""}, - { (char *)"SbBox2i32_makeEmpty", _wrap_SbBox2i32_makeEmpty, METH_VARARGS, (char *)"SbBox2i32_makeEmpty(SbBox2i32 self)"}, - { (char *)"SbBox2i32_isEmpty", _wrap_SbBox2i32_isEmpty, METH_VARARGS, (char *)"SbBox2i32_isEmpty(SbBox2i32 self) -> SbBool"}, - { (char *)"SbBox2i32_hasArea", _wrap_SbBox2i32_hasArea, METH_VARARGS, (char *)"SbBox2i32_hasArea(SbBox2i32 self) -> SbBool"}, - { (char *)"SbBox2i32_intersect", _wrap_SbBox2i32_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2i32 point) -> SbBool\n" - "SbBox2i32_intersect(SbBox2i32 self, SbBox2i32 box) -> SbBool\n" - ""}, - { (char *)"SbBox2i32_getCenter", _wrap_SbBox2i32_getCenter, METH_VARARGS, (char *)"SbBox2i32_getCenter(SbBox2i32 self) -> SbVec2f"}, - { (char *)"SbBox2i32_getOrigin", _wrap_SbBox2i32_getOrigin, METH_VARARGS, (char *)"SbBox2i32_getOrigin(SbBox2i32 self, int32_t originX, int32_t originY)"}, - { (char *)"SbBox2i32_getSize", _wrap_SbBox2i32_getSize, METH_VARARGS, (char *)"SbBox2i32_getSize(SbBox2i32 self, int32_t sizeX, int32_t sizeY)"}, - { (char *)"SbBox2i32_getAspectRatio", _wrap_SbBox2i32_getAspectRatio, METH_VARARGS, (char *)"SbBox2i32_getAspectRatio(SbBox2i32 self) -> float"}, - { (char *)"delete_SbBox2i32", _wrap_delete_SbBox2i32, METH_VARARGS, (char *)"delete_SbBox2i32(SbBox2i32 self)"}, - { (char *)"SbBox2i32_swigregister", SbBox2i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox2i32", _wrap_new_SoSFBox2i32, METH_VARARGS, (char *)"new_SoSFBox2i32() -> SoSFBox2i32"}, - { (char *)"delete_SoSFBox2i32", _wrap_delete_SoSFBox2i32, METH_VARARGS, (char *)"delete_SoSFBox2i32(SoSFBox2i32 self)"}, - { (char *)"SoSFBox2i32_createInstance", _wrap_SoSFBox2i32_createInstance, METH_VARARGS, (char *)"SoSFBox2i32_createInstance() -> void"}, - { (char *)"SoSFBox2i32_getClassTypeId", _wrap_SoSFBox2i32_getClassTypeId, METH_VARARGS, (char *)"SoSFBox2i32_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox2i32_getTypeId", _wrap_SoSFBox2i32_getTypeId, METH_VARARGS, (char *)"SoSFBox2i32_getTypeId(SoSFBox2i32 self) -> SoType"}, - { (char *)"SoSFBox2i32_copyFrom", _wrap_SoSFBox2i32_copyFrom, METH_VARARGS, (char *)"SoSFBox2i32_copyFrom(SoSFBox2i32 self, SoField field)"}, - { (char *)"SoSFBox2i32_isSame", _wrap_SoSFBox2i32_isSame, METH_VARARGS, (char *)"SoSFBox2i32_isSame(SoSFBox2i32 self, SoField field) -> SbBool"}, - { (char *)"SoSFBox2i32___eq__", _wrap_SoSFBox2i32___eq__, METH_VARARGS, (char *)"SoSFBox2i32___eq__(SoSFBox2i32 self, SoSFBox2i32 field) -> int"}, - { (char *)"SoSFBox2i32___ne__", _wrap_SoSFBox2i32___ne__, METH_VARARGS, (char *)"SoSFBox2i32___ne__(SoSFBox2i32 self, SoSFBox2i32 field) -> int"}, - { (char *)"SoSFBox2i32_initClass", _wrap_SoSFBox2i32_initClass, METH_VARARGS, (char *)"SoSFBox2i32_initClass()"}, - { (char *)"SoSFBox2i32_setValue", _wrap_SoSFBox2i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox2i32 newvalue)\n" - "setValue(int32_t xmin, int32_t ymin, int32_t xmax, int32_t ymax)\n" - "SoSFBox2i32_setValue(SoSFBox2i32 self, SbVec2i32 minvec, SbVec2i32 maxvec)\n" - ""}, - { (char *)"SoSFBox2i32_getValue", _wrap_SoSFBox2i32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox2i32\n" - "SoSFBox2i32_getValue(SoSFBox2i32 self, SbBox2i32 box)\n" - ""}, - { (char *)"SoSFBox2i32_swigregister", SoSFBox2i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2f", _wrap_new_SbBox2f, METH_VARARGS, (char *)"\n" - "SbBox2f()\n" - "SbBox2f(float xmin, float ymin, float xmax, float ymax)\n" - "SbBox2f(SbVec2f minpoint, SbVec2f maxpoint)\n" - "SbBox2f(SbBox2d box)\n" - "SbBox2f(SbBox2s box)\n" - "new_SbBox2f(SbBox2i32 box) -> SbBox2f\n" - ""}, - { (char *)"SbBox2f_setBounds", _wrap_SbBox2f_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(float xmin, float ymin, float xmax, float ymax) -> SbBox2f\n" - "setBounds(SbVec2f minpoint, SbVec2f maxpoint) -> SbBox2f\n" - "setBounds(SbBox2d box) -> SbBox2f\n" - "setBounds(SbBox2s box) -> SbBox2f\n" - "SbBox2f_setBounds(SbBox2f self, SbBox2i32 box) -> SbBox2f\n" - ""}, - { (char *)"SbBox2f_getBounds", _wrap_SbBox2f_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(float xmin, float ymin, float xmax, float ymax)\n" - "SbBox2f_getBounds(SbBox2f self, SbVec2f minpoint, SbVec2f maxpoint)\n" - ""}, - { (char *)"SbBox2f_getMin", _wrap_SbBox2f_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec2f\n" - "SbBox2f_getMin(SbBox2f self) -> SbVec2f\n" - ""}, - { (char *)"SbBox2f_getMax", _wrap_SbBox2f_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec2f\n" - "SbBox2f_getMax(SbBox2f self) -> SbVec2f\n" - ""}, - { (char *)"SbBox2f_extendBy", _wrap_SbBox2f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2f point)\n" - "SbBox2f_extendBy(SbBox2f self, SbBox2f box)\n" - ""}, - { (char *)"SbBox2f_makeEmpty", _wrap_SbBox2f_makeEmpty, METH_VARARGS, (char *)"SbBox2f_makeEmpty(SbBox2f self)"}, - { (char *)"SbBox2f_isEmpty", _wrap_SbBox2f_isEmpty, METH_VARARGS, (char *)"SbBox2f_isEmpty(SbBox2f self) -> SbBool"}, - { (char *)"SbBox2f_hasArea", _wrap_SbBox2f_hasArea, METH_VARARGS, (char *)"SbBox2f_hasArea(SbBox2f self) -> SbBool"}, - { (char *)"SbBox2f_intersect", _wrap_SbBox2f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2f point) -> SbBool\n" - "SbBox2f_intersect(SbBox2f self, SbBox2f box) -> SbBool\n" - ""}, - { (char *)"SbBox2f_getClosestPoint", _wrap_SbBox2f_getClosestPoint, METH_VARARGS, (char *)"SbBox2f_getClosestPoint(SbBox2f self, SbVec2f point) -> SbVec2f"}, - { (char *)"SbBox2f_getCenter", _wrap_SbBox2f_getCenter, METH_VARARGS, (char *)"SbBox2f_getCenter(SbBox2f self) -> SbVec2f"}, - { (char *)"SbBox2f_getOrigin", _wrap_SbBox2f_getOrigin, METH_VARARGS, (char *)"SbBox2f_getOrigin(SbBox2f self, float originX, float originY)"}, - { (char *)"SbBox2f_getSize", _wrap_SbBox2f_getSize, METH_VARARGS, (char *)"SbBox2f_getSize(SbBox2f self, float sizeX, float sizeY)"}, - { (char *)"SbBox2f_getAspectRatio", _wrap_SbBox2f_getAspectRatio, METH_VARARGS, (char *)"SbBox2f_getAspectRatio(SbBox2f self) -> float"}, - { (char *)"SbBox2f___eq__", _wrap_SbBox2f___eq__, METH_VARARGS, (char *)"SbBox2f___eq__(SbBox2f self, SbBox2f u) -> int"}, - { (char *)"SbBox2f___ne__", _wrap_SbBox2f___ne__, METH_VARARGS, (char *)"SbBox2f___ne__(SbBox2f self, SbBox2f u) -> int"}, - { (char *)"delete_SbBox2f", _wrap_delete_SbBox2f, METH_VARARGS, (char *)"delete_SbBox2f(SbBox2f self)"}, - { (char *)"SbBox2f_swigregister", SbBox2f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox2f", _wrap_new_SoSFBox2f, METH_VARARGS, (char *)"new_SoSFBox2f() -> SoSFBox2f"}, - { (char *)"delete_SoSFBox2f", _wrap_delete_SoSFBox2f, METH_VARARGS, (char *)"delete_SoSFBox2f(SoSFBox2f self)"}, - { (char *)"SoSFBox2f_createInstance", _wrap_SoSFBox2f_createInstance, METH_VARARGS, (char *)"SoSFBox2f_createInstance() -> void"}, - { (char *)"SoSFBox2f_getClassTypeId", _wrap_SoSFBox2f_getClassTypeId, METH_VARARGS, (char *)"SoSFBox2f_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox2f_getTypeId", _wrap_SoSFBox2f_getTypeId, METH_VARARGS, (char *)"SoSFBox2f_getTypeId(SoSFBox2f self) -> SoType"}, - { (char *)"SoSFBox2f_copyFrom", _wrap_SoSFBox2f_copyFrom, METH_VARARGS, (char *)"SoSFBox2f_copyFrom(SoSFBox2f self, SoField field)"}, - { (char *)"SoSFBox2f_isSame", _wrap_SoSFBox2f_isSame, METH_VARARGS, (char *)"SoSFBox2f_isSame(SoSFBox2f self, SoField field) -> SbBool"}, - { (char *)"SoSFBox2f___eq__", _wrap_SoSFBox2f___eq__, METH_VARARGS, (char *)"SoSFBox2f___eq__(SoSFBox2f self, SoSFBox2f field) -> int"}, - { (char *)"SoSFBox2f___ne__", _wrap_SoSFBox2f___ne__, METH_VARARGS, (char *)"SoSFBox2f___ne__(SoSFBox2f self, SoSFBox2f field) -> int"}, - { (char *)"SoSFBox2f_initClass", _wrap_SoSFBox2f_initClass, METH_VARARGS, (char *)"SoSFBox2f_initClass()"}, - { (char *)"SoSFBox2f_setValue", _wrap_SoSFBox2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox2f newvalue)\n" - "setValue(float xmin, float ymin, float xmax, float ymax)\n" - "SoSFBox2f_setValue(SoSFBox2f self, SbVec2f minvec, SbVec2f maxvec)\n" - ""}, - { (char *)"SoSFBox2f_getValue", _wrap_SoSFBox2f_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox2f\n" - "SoSFBox2f_getValue(SoSFBox2f self, SbBox2f box)\n" - ""}, - { (char *)"SoSFBox2f_swigregister", SoSFBox2f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2d", _wrap_new_SbVec2d, METH_VARARGS, (char *)"\n" - "SbVec2d()\n" - "SbVec2d(double v)\n" - "SbVec2d(double x, double y)\n" - "SbVec2d(SbVec2f v)\n" - "SbVec2d(SbVec2b v)\n" - "SbVec2d(SbVec2s v)\n" - "new_SbVec2d(SbVec2i32 v) -> SbVec2d\n" - ""}, - { (char *)"SbVec2d_setValue", _wrap_SbVec2d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec2d\n" - "setValue(double x, double y) -> SbVec2d\n" - "setValue(SbVec2f v) -> SbVec2d\n" - "setValue(SbVec2b v) -> SbVec2d\n" - "setValue(SbVec2s v) -> SbVec2d\n" - "SbVec2d_setValue(SbVec2d self, SbVec2i32 v) -> SbVec2d\n" - ""}, - { (char *)"SbVec2d_getValue", _wrap_SbVec2d_getValue, METH_VARARGS, (char *)"SbVec2d_getValue(SbVec2d self, double x, double y)"}, - { (char *)"SbVec2d_equals", _wrap_SbVec2d_equals, METH_VARARGS, (char *)"SbVec2d_equals(SbVec2d self, SbVec2d v, double tolerance) -> SbBool"}, - { (char *)"SbVec2d_dot", _wrap_SbVec2d_dot, METH_VARARGS, (char *)"SbVec2d_dot(SbVec2d self, SbVec2d v) -> double"}, - { (char *)"SbVec2d_length", _wrap_SbVec2d_length, METH_VARARGS, (char *)"SbVec2d_length(SbVec2d self) -> double"}, - { (char *)"SbVec2d_sqrLength", _wrap_SbVec2d_sqrLength, METH_VARARGS, (char *)"SbVec2d_sqrLength(SbVec2d self) -> double"}, - { (char *)"SbVec2d_normalize", _wrap_SbVec2d_normalize, METH_VARARGS, (char *)"SbVec2d_normalize(SbVec2d self) -> double"}, - { (char *)"SbVec2d_negate", _wrap_SbVec2d_negate, METH_VARARGS, (char *)"SbVec2d_negate(SbVec2d self)"}, - { (char *)"SbVec2d___imul__", _wrap_SbVec2d___imul__, METH_VARARGS, (char *)"SbVec2d___imul__(SbVec2d self, double d) -> SbVec2d"}, - { (char *)"SbVec2d___idiv__", _wrap_SbVec2d___idiv__, METH_VARARGS, (char *)"SbVec2d___idiv__(SbVec2d self, double d) -> SbVec2d"}, - { (char *)"SbVec2d___iadd__", _wrap_SbVec2d___iadd__, METH_VARARGS, (char *)"SbVec2d___iadd__(SbVec2d self, SbVec2d v) -> SbVec2d"}, - { (char *)"SbVec2d___isub__", _wrap_SbVec2d___isub__, METH_VARARGS, (char *)"SbVec2d___isub__(SbVec2d self, SbVec2d v) -> SbVec2d"}, - { (char *)"SbVec2d___neg__", _wrap_SbVec2d___neg__, METH_VARARGS, (char *)"SbVec2d___neg__(SbVec2d self) -> SbVec2d"}, - { (char *)"SbVec2d_output", _wrap_SbVec2d_output, METH_VARARGS, (char *)"SbVec2d_output(SbVec2d self, FILE fp)"}, - { (char *)"SbVec2d___add__", _wrap_SbVec2d___add__, METH_VARARGS, (char *)"SbVec2d___add__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___sub__", _wrap_SbVec2d___sub__, METH_VARARGS, (char *)"SbVec2d___sub__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___mul__", _wrap_SbVec2d___mul__, METH_VARARGS, (char *)"SbVec2d___mul__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___rmul__", _wrap_SbVec2d___rmul__, METH_VARARGS, (char *)"SbVec2d___rmul__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___div__", _wrap_SbVec2d___div__, METH_VARARGS, (char *)"SbVec2d___div__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___eq__", _wrap_SbVec2d___eq__, METH_VARARGS, (char *)"SbVec2d___eq__(SbVec2d self, SbVec2d u) -> int"}, - { (char *)"SbVec2d___nq__", _wrap_SbVec2d___nq__, METH_VARARGS, (char *)"SbVec2d___nq__(SbVec2d self, SbVec2d u) -> int"}, - { (char *)"SbVec2d___getitem__", _wrap_SbVec2d___getitem__, METH_VARARGS, (char *)"SbVec2d___getitem__(SbVec2d self, int i) -> double"}, - { (char *)"SbVec2d___setitem__", _wrap_SbVec2d___setitem__, METH_VARARGS, (char *)"SbVec2d___setitem__(SbVec2d self, int i, double value)"}, - { (char *)"delete_SbVec2d", _wrap_delete_SbVec2d, METH_VARARGS, (char *)"delete_SbVec2d(SbVec2d self)"}, - { (char *)"SbVec2d_swigregister", SbVec2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2d", _wrap_new_SbBox2d, METH_VARARGS, (char *)"\n" - "SbBox2d()\n" - "SbBox2d(double xmin, double ymin, double xmax, double ymax)\n" - "SbBox2d(SbVec2d minpoint, SbVec2d maxpoint)\n" - "SbBox2d(SbBox2f box)\n" - "SbBox2d(SbBox2s box)\n" - "new_SbBox2d(SbBox2i32 box) -> SbBox2d\n" - ""}, - { (char *)"SbBox2d_setBounds", _wrap_SbBox2d_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(double xmin, double ymin, double xmax, double ymax) -> SbBox2d\n" - "setBounds(SbVec2d minpoint, SbVec2d maxpoint) -> SbBox2d\n" - "setBounds(SbBox2f box) -> SbBox2d\n" - "setBounds(SbBox2s box) -> SbBox2d\n" - "SbBox2d_setBounds(SbBox2d self, SbBox2i32 box) -> SbBox2d\n" - ""}, - { (char *)"SbBox2d_getBounds", _wrap_SbBox2d_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(double xmin, double ymin, double xmax, double ymax)\n" - "SbBox2d_getBounds(SbBox2d self, SbVec2d minpoint, SbVec2d maxpoint)\n" - ""}, - { (char *)"SbBox2d_getMin", _wrap_SbBox2d_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec2d\n" - "SbBox2d_getMin(SbBox2d self) -> SbVec2d\n" - ""}, - { (char *)"SbBox2d_getMax", _wrap_SbBox2d_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec2d\n" - "SbBox2d_getMax(SbBox2d self) -> SbVec2d\n" - ""}, - { (char *)"SbBox2d_extendBy", _wrap_SbBox2d_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2d point)\n" - "SbBox2d_extendBy(SbBox2d self, SbBox2d box)\n" - ""}, - { (char *)"SbBox2d_makeEmpty", _wrap_SbBox2d_makeEmpty, METH_VARARGS, (char *)"SbBox2d_makeEmpty(SbBox2d self)"}, - { (char *)"SbBox2d_isEmpty", _wrap_SbBox2d_isEmpty, METH_VARARGS, (char *)"SbBox2d_isEmpty(SbBox2d self) -> SbBool"}, - { (char *)"SbBox2d_hasArea", _wrap_SbBox2d_hasArea, METH_VARARGS, (char *)"SbBox2d_hasArea(SbBox2d self) -> SbBool"}, - { (char *)"SbBox2d_intersect", _wrap_SbBox2d_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2d point) -> SbBool\n" - "SbBox2d_intersect(SbBox2d self, SbBox2d box) -> SbBool\n" - ""}, - { (char *)"SbBox2d_getClosestPoint", _wrap_SbBox2d_getClosestPoint, METH_VARARGS, (char *)"SbBox2d_getClosestPoint(SbBox2d self, SbVec2d p) -> SbVec2d"}, - { (char *)"SbBox2d_findIntersection", _wrap_SbBox2d_findIntersection, METH_VARARGS, (char *)"SbBox2d_findIntersection(SbBox2d self, SbVec2d a, SbVec2d b, SbVec2d ia, SbVec2d ib) -> SbBool"}, - { (char *)"SbBox2d_getCenter", _wrap_SbBox2d_getCenter, METH_VARARGS, (char *)"SbBox2d_getCenter(SbBox2d self) -> SbVec2d"}, - { (char *)"SbBox2d_getOrigin", _wrap_SbBox2d_getOrigin, METH_VARARGS, (char *)"SbBox2d_getOrigin(SbBox2d self, double originX, double originY)"}, - { (char *)"SbBox2d_getSize", _wrap_SbBox2d_getSize, METH_VARARGS, (char *)"SbBox2d_getSize(SbBox2d self, double sizeX, double sizeY)"}, - { (char *)"SbBox2d_getAspectRatio", _wrap_SbBox2d_getAspectRatio, METH_VARARGS, (char *)"SbBox2d_getAspectRatio(SbBox2d self) -> double"}, - { (char *)"SbBox2d___eq__", _wrap_SbBox2d___eq__, METH_VARARGS, (char *)"SbBox2d___eq__(SbBox2d self, SbBox2d u) -> int"}, - { (char *)"SbBox2d___ne__", _wrap_SbBox2d___ne__, METH_VARARGS, (char *)"SbBox2d___ne__(SbBox2d self, SbBox2d u) -> int"}, - { (char *)"SbBox2d_setValue", _wrap_SbBox2d_setValue, METH_VARARGS, (char *)"SbBox2d_setValue(SbBox2d self, SbBox2d u) -> SbBox2d"}, - { (char *)"delete_SbBox2d", _wrap_delete_SbBox2d, METH_VARARGS, (char *)"delete_SbBox2d(SbBox2d self)"}, - { (char *)"SbBox2d_swigregister", SbBox2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox2d", _wrap_new_SoSFBox2d, METH_VARARGS, (char *)"new_SoSFBox2d() -> SoSFBox2d"}, - { (char *)"delete_SoSFBox2d", _wrap_delete_SoSFBox2d, METH_VARARGS, (char *)"delete_SoSFBox2d(SoSFBox2d self)"}, - { (char *)"SoSFBox2d_createInstance", _wrap_SoSFBox2d_createInstance, METH_VARARGS, (char *)"SoSFBox2d_createInstance() -> void"}, - { (char *)"SoSFBox2d_getClassTypeId", _wrap_SoSFBox2d_getClassTypeId, METH_VARARGS, (char *)"SoSFBox2d_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox2d_getTypeId", _wrap_SoSFBox2d_getTypeId, METH_VARARGS, (char *)"SoSFBox2d_getTypeId(SoSFBox2d self) -> SoType"}, - { (char *)"SoSFBox2d_copyFrom", _wrap_SoSFBox2d_copyFrom, METH_VARARGS, (char *)"SoSFBox2d_copyFrom(SoSFBox2d self, SoField field)"}, - { (char *)"SoSFBox2d_isSame", _wrap_SoSFBox2d_isSame, METH_VARARGS, (char *)"SoSFBox2d_isSame(SoSFBox2d self, SoField field) -> SbBool"}, - { (char *)"SoSFBox2d___eq__", _wrap_SoSFBox2d___eq__, METH_VARARGS, (char *)"SoSFBox2d___eq__(SoSFBox2d self, SoSFBox2d field) -> int"}, - { (char *)"SoSFBox2d___ne__", _wrap_SoSFBox2d___ne__, METH_VARARGS, (char *)"SoSFBox2d___ne__(SoSFBox2d self, SoSFBox2d field) -> int"}, - { (char *)"SoSFBox2d_initClass", _wrap_SoSFBox2d_initClass, METH_VARARGS, (char *)"SoSFBox2d_initClass()"}, - { (char *)"SoSFBox2d_setValue", _wrap_SoSFBox2d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox2d newvalue)\n" - "setValue(double xmin, double ymin, double xmax, double ymax)\n" - "SoSFBox2d_setValue(SoSFBox2d self, SbVec2d minvec, SbVec2d maxvec)\n" - ""}, - { (char *)"SoSFBox2d_getValue", _wrap_SoSFBox2d_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox2d\n" - "SoSFBox2d_getValue(SoSFBox2d self, SbBox2d box)\n" - ""}, - { (char *)"SoSFBox2d_swigregister", SoSFBox2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3s", _wrap_new_SbBox3s, METH_VARARGS, (char *)"\n" - "SbBox3s()\n" - "SbBox3s(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SbBox3s(SbVec3s minpoint, SbVec3s maxpoint)\n" - "SbBox3s(SbBox3i32 box)\n" - "SbBox3s(SbBox3f box)\n" - "new_SbBox3s(SbBox3d box) -> SbBox3s\n" - ""}, - { (char *)"SbBox3s_setBounds", _wrap_SbBox3s_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax) -> SbBox3s\n" - "setBounds(SbVec3s minpoint, SbVec3s maxpoint) -> SbBox3s\n" - "setBounds(SbBox3i32 box) -> SbBox3s\n" - "setBounds(SbBox3f box) -> SbBox3s\n" - "SbBox3s_setBounds(SbBox3s self, SbBox3d box) -> SbBox3s\n" - ""}, - { (char *)"SbBox3s_getBounds", _wrap_SbBox3s_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SbBox3s_getBounds(SbBox3s self, SbVec3s minpoint, SbVec3s maxpoint)\n" - ""}, - { (char *)"SbBox3s_getMin", _wrap_SbBox3s_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec3s\n" - "SbBox3s_getMin(SbBox3s self) -> SbVec3s\n" - ""}, - { (char *)"SbBox3s_getMax", _wrap_SbBox3s_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec3s\n" - "SbBox3s_getMax(SbBox3s self) -> SbVec3s\n" - ""}, - { (char *)"SbBox3s_extendBy", _wrap_SbBox3s_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3s pt)\n" - "SbBox3s_extendBy(SbBox3s self, SbBox3s box)\n" - ""}, - { (char *)"SbBox3s_makeEmpty", _wrap_SbBox3s_makeEmpty, METH_VARARGS, (char *)"SbBox3s_makeEmpty(SbBox3s self)"}, - { (char *)"SbBox3s_isEmpty", _wrap_SbBox3s_isEmpty, METH_VARARGS, (char *)"SbBox3s_isEmpty(SbBox3s self) -> SbBool"}, - { (char *)"SbBox3s_hasVolume", _wrap_SbBox3s_hasVolume, METH_VARARGS, (char *)"SbBox3s_hasVolume(SbBox3s self) -> SbBool"}, - { (char *)"SbBox3s_getVolume", _wrap_SbBox3s_getVolume, METH_VARARGS, (char *)"SbBox3s_getVolume(SbBox3s self) -> int"}, - { (char *)"SbBox3s_intersect", _wrap_SbBox3s_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3s pt) -> SbBool\n" - "SbBox3s_intersect(SbBox3s self, SbBox3s box) -> SbBool\n" - ""}, - { (char *)"SbBox3s_getClosestPoint", _wrap_SbBox3s_getClosestPoint, METH_VARARGS, (char *)"SbBox3s_getClosestPoint(SbBox3s self, SbVec3f pt) -> SbVec3f"}, - { (char *)"SbBox3s_getCenter", _wrap_SbBox3s_getCenter, METH_VARARGS, (char *)"SbBox3s_getCenter(SbBox3s self) -> SbVec3f"}, - { (char *)"SbBox3s_getOrigin", _wrap_SbBox3s_getOrigin, METH_VARARGS, (char *)"SbBox3s_getOrigin(SbBox3s self, short originX, short originY, short originZ)"}, - { (char *)"SbBox3s_getSize", _wrap_SbBox3s_getSize, METH_VARARGS, (char *)"SbBox3s_getSize(SbBox3s self, short sizeX, short sizeY, short sizeZ)"}, - { (char *)"SbBox3s___eq__", _wrap_SbBox3s___eq__, METH_VARARGS, (char *)"SbBox3s___eq__(SbBox3s self, SbBox3s u) -> int"}, - { (char *)"SbBox3s___ne__", _wrap_SbBox3s___ne__, METH_VARARGS, (char *)"SbBox3s___ne__(SbBox3s self, SbBox3s u) -> int"}, - { (char *)"delete_SbBox3s", _wrap_delete_SbBox3s, METH_VARARGS, (char *)"delete_SbBox3s(SbBox3s self)"}, - { (char *)"SbBox3s_swigregister", SbBox3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox3s", _wrap_new_SoSFBox3s, METH_VARARGS, (char *)"new_SoSFBox3s() -> SoSFBox3s"}, - { (char *)"delete_SoSFBox3s", _wrap_delete_SoSFBox3s, METH_VARARGS, (char *)"delete_SoSFBox3s(SoSFBox3s self)"}, - { (char *)"SoSFBox3s_createInstance", _wrap_SoSFBox3s_createInstance, METH_VARARGS, (char *)"SoSFBox3s_createInstance() -> void"}, - { (char *)"SoSFBox3s_getClassTypeId", _wrap_SoSFBox3s_getClassTypeId, METH_VARARGS, (char *)"SoSFBox3s_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox3s_getTypeId", _wrap_SoSFBox3s_getTypeId, METH_VARARGS, (char *)"SoSFBox3s_getTypeId(SoSFBox3s self) -> SoType"}, - { (char *)"SoSFBox3s_copyFrom", _wrap_SoSFBox3s_copyFrom, METH_VARARGS, (char *)"SoSFBox3s_copyFrom(SoSFBox3s self, SoField field)"}, - { (char *)"SoSFBox3s_isSame", _wrap_SoSFBox3s_isSame, METH_VARARGS, (char *)"SoSFBox3s_isSame(SoSFBox3s self, SoField field) -> SbBool"}, - { (char *)"SoSFBox3s___eq__", _wrap_SoSFBox3s___eq__, METH_VARARGS, (char *)"SoSFBox3s___eq__(SoSFBox3s self, SoSFBox3s field) -> int"}, - { (char *)"SoSFBox3s___ne__", _wrap_SoSFBox3s___ne__, METH_VARARGS, (char *)"SoSFBox3s___ne__(SoSFBox3s self, SoSFBox3s field) -> int"}, - { (char *)"SoSFBox3s_initClass", _wrap_SoSFBox3s_initClass, METH_VARARGS, (char *)"SoSFBox3s_initClass()"}, - { (char *)"SoSFBox3s_setValue", _wrap_SoSFBox3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox3s newvalue)\n" - "setValue(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SoSFBox3s_setValue(SoSFBox3s self, SbVec3s minvec, SbVec3s maxvec)\n" - ""}, - { (char *)"SoSFBox3s_getValue", _wrap_SoSFBox3s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox3s\n" - "SoSFBox3s_getValue(SoSFBox3s self, SbBox3s box)\n" - ""}, - { (char *)"SoSFBox3s_swigregister", SoSFBox3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3i32", _wrap_new_SbVec3i32, METH_VARARGS, (char *)"\n" - "SbVec3i32()\n" - "SbVec3i32(int32_t v)\n" - "SbVec3i32(int32_t x, int32_t y, int32_t z)\n" - "SbVec3i32(SbVec3ui32 v)\n" - "SbVec3i32(SbVec3b v)\n" - "SbVec3i32(SbVec3s v)\n" - "SbVec3i32(SbVec3f v)\n" - "new_SbVec3i32(SbVec3d v) -> SbVec3i32\n" - ""}, - { (char *)"SbVec3i32_setValue", _wrap_SbVec3i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t v) -> SbVec3i32\n" - "setValue(int32_t x, int32_t y, int32_t z) -> SbVec3i32\n" - "setValue(SbVec3ui32 v) -> SbVec3i32\n" - "setValue(SbVec3b v) -> SbVec3i32\n" - "setValue(SbVec3s v) -> SbVec3i32\n" - "setValue(SbVec3f v) -> SbVec3i32\n" - "SbVec3i32_setValue(SbVec3i32 self, SbVec3d v) -> SbVec3i32\n" - ""}, - { (char *)"SbVec3i32_getValue", _wrap_SbVec3i32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int32_t\n" - "SbVec3i32_getValue(SbVec3i32 self, int32_t x, int32_t y, int32_t z)\n" - ""}, - { (char *)"SbVec3i32_dot", _wrap_SbVec3i32_dot, METH_VARARGS, (char *)"SbVec3i32_dot(SbVec3i32 self, SbVec3i32 v) -> int32_t"}, - { (char *)"SbVec3i32_negate", _wrap_SbVec3i32_negate, METH_VARARGS, (char *)"SbVec3i32_negate(SbVec3i32 self)"}, - { (char *)"SbVec3i32___imul__", _wrap_SbVec3i32___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec3i32\n" - "SbVec3i32___imul__(SbVec3i32 self, double d) -> SbVec3i32\n" - ""}, - { (char *)"SbVec3i32___idiv__", _wrap_SbVec3i32___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec3i32\n" - "SbVec3i32___idiv__(SbVec3i32 self, double d) -> SbVec3i32\n" - ""}, - { (char *)"SbVec3i32___iadd__", _wrap_SbVec3i32___iadd__, METH_VARARGS, (char *)"SbVec3i32___iadd__(SbVec3i32 self, SbVec3i32 v) -> SbVec3i32"}, - { (char *)"SbVec3i32___isub__", _wrap_SbVec3i32___isub__, METH_VARARGS, (char *)"SbVec3i32___isub__(SbVec3i32 self, SbVec3i32 v) -> SbVec3i32"}, - { (char *)"SbVec3i32___neg__", _wrap_SbVec3i32___neg__, METH_VARARGS, (char *)"SbVec3i32___neg__(SbVec3i32 self) -> SbVec3i32"}, - { (char *)"delete_SbVec3i32", _wrap_delete_SbVec3i32, METH_VARARGS, (char *)"delete_SbVec3i32(SbVec3i32 self)"}, - { (char *)"SbVec3i32_swigregister", SbVec3i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3i32", _wrap_new_SbBox3i32, METH_VARARGS, (char *)"\n" - "SbBox3i32()\n" - "SbBox3i32(int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, \n" - " int32_t ymax, int32_t zmax)\n" - "SbBox3i32(SbVec3i32 minpoint, SbVec3i32 maxpoint)\n" - "SbBox3i32(SbBox3s box)\n" - "SbBox3i32(SbBox3f box)\n" - "new_SbBox3i32(SbBox3d box) -> SbBox3i32\n" - ""}, - { (char *)"SbBox3i32_setBounds", _wrap_SbBox3i32_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, \n" - " int32_t ymax, int32_t zmax) -> SbBox3i32\n" - "setBounds(SbVec3i32 minpoint, SbVec3i32 maxpoint) -> SbBox3i32\n" - "setBounds(SbBox3s box) -> SbBox3i32\n" - "setBounds(SbBox3f box) -> SbBox3i32\n" - "SbBox3i32_setBounds(SbBox3i32 self, SbBox3d box) -> SbBox3i32\n" - ""}, - { (char *)"SbBox3i32_getBounds", _wrap_SbBox3i32_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, \n" - " int32_t ymax, int32_t zmax)\n" - "SbBox3i32_getBounds(SbBox3i32 self, SbVec3i32 minpoint, SbVec3i32 maxpoint)\n" - ""}, - { (char *)"SbBox3i32_getMin", _wrap_SbBox3i32_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec3i32\n" - "SbBox3i32_getMin(SbBox3i32 self) -> SbVec3i32\n" - ""}, - { (char *)"SbBox3i32_getMax", _wrap_SbBox3i32_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec3i32\n" - "SbBox3i32_getMax(SbBox3i32 self) -> SbVec3i32\n" - ""}, - { (char *)"SbBox3i32_extendBy", _wrap_SbBox3i32_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3i32 pt)\n" - "extendBy(SbBox3i32 bb)\n" - "SbBox3i32_extendBy(SbBox3i32 self, SbVec3f pt)\n" - ""}, - { (char *)"SbBox3i32_transform", _wrap_SbBox3i32_transform, METH_VARARGS, (char *)"SbBox3i32_transform(SbBox3i32 self, SbMatrix m)"}, - { (char *)"SbBox3i32_makeEmpty", _wrap_SbBox3i32_makeEmpty, METH_VARARGS, (char *)"SbBox3i32_makeEmpty(SbBox3i32 self)"}, - { (char *)"SbBox3i32_isEmpty", _wrap_SbBox3i32_isEmpty, METH_VARARGS, (char *)"SbBox3i32_isEmpty(SbBox3i32 self) -> SbBool"}, - { (char *)"SbBox3i32_hasVolume", _wrap_SbBox3i32_hasVolume, METH_VARARGS, (char *)"SbBox3i32_hasVolume(SbBox3i32 self) -> SbBool"}, - { (char *)"SbBox3i32_getVolume", _wrap_SbBox3i32_getVolume, METH_VARARGS, (char *)"SbBox3i32_getVolume(SbBox3i32 self) -> float"}, - { (char *)"SbBox3i32_intersect", _wrap_SbBox3i32_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3i32 pt) -> SbBool\n" - "intersect(SbBox3i32 bb) -> SbBool\n" - "SbBox3i32_intersect(SbBox3i32 self, SbVec3f pt) -> SbBool\n" - ""}, - { (char *)"SbBox3i32_outside", _wrap_SbBox3i32_outside, METH_VARARGS, (char *)"SbBox3i32_outside(SbBox3i32 self, SbMatrix MVP, int cullBits) -> SbBool"}, - { (char *)"SbBox3i32_getClosestPoint", _wrap_SbBox3i32_getClosestPoint, METH_VARARGS, (char *)"SbBox3i32_getClosestPoint(SbBox3i32 self, SbVec3f pt) -> SbVec3f"}, - { (char *)"SbBox3i32_getCenter", _wrap_SbBox3i32_getCenter, METH_VARARGS, (char *)"SbBox3i32_getCenter(SbBox3i32 self) -> SbVec3f"}, - { (char *)"SbBox3i32_getOrigin", _wrap_SbBox3i32_getOrigin, METH_VARARGS, (char *)"SbBox3i32_getOrigin(SbBox3i32 self, int32_t originX, int32_t originY, int32_t originZ)"}, - { (char *)"SbBox3i32_getSize", _wrap_SbBox3i32_getSize, METH_VARARGS, (char *)"SbBox3i32_getSize(SbBox3i32 self, int32_t sizeX, int32_t sizeY, int32_t sizeZ)"}, - { (char *)"SbBox3i32_getSpan", _wrap_SbBox3i32_getSpan, METH_VARARGS, (char *)"SbBox3i32_getSpan(SbBox3i32 self, SbVec3f direction, float dmin, float dmax)"}, - { (char *)"delete_SbBox3i32", _wrap_delete_SbBox3i32, METH_VARARGS, (char *)"delete_SbBox3i32(SbBox3i32 self)"}, - { (char *)"SbBox3i32_swigregister", SbBox3i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox3i32", _wrap_new_SoSFBox3i32, METH_VARARGS, (char *)"new_SoSFBox3i32() -> SoSFBox3i32"}, - { (char *)"delete_SoSFBox3i32", _wrap_delete_SoSFBox3i32, METH_VARARGS, (char *)"delete_SoSFBox3i32(SoSFBox3i32 self)"}, - { (char *)"SoSFBox3i32_createInstance", _wrap_SoSFBox3i32_createInstance, METH_VARARGS, (char *)"SoSFBox3i32_createInstance() -> void"}, - { (char *)"SoSFBox3i32_getClassTypeId", _wrap_SoSFBox3i32_getClassTypeId, METH_VARARGS, (char *)"SoSFBox3i32_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox3i32_getTypeId", _wrap_SoSFBox3i32_getTypeId, METH_VARARGS, (char *)"SoSFBox3i32_getTypeId(SoSFBox3i32 self) -> SoType"}, - { (char *)"SoSFBox3i32_copyFrom", _wrap_SoSFBox3i32_copyFrom, METH_VARARGS, (char *)"SoSFBox3i32_copyFrom(SoSFBox3i32 self, SoField field)"}, - { (char *)"SoSFBox3i32_isSame", _wrap_SoSFBox3i32_isSame, METH_VARARGS, (char *)"SoSFBox3i32_isSame(SoSFBox3i32 self, SoField field) -> SbBool"}, - { (char *)"SoSFBox3i32___eq__", _wrap_SoSFBox3i32___eq__, METH_VARARGS, (char *)"SoSFBox3i32___eq__(SoSFBox3i32 self, SoSFBox3i32 field) -> int"}, - { (char *)"SoSFBox3i32___ne__", _wrap_SoSFBox3i32___ne__, METH_VARARGS, (char *)"SoSFBox3i32___ne__(SoSFBox3i32 self, SoSFBox3i32 field) -> int"}, - { (char *)"SoSFBox3i32_initClass", _wrap_SoSFBox3i32_initClass, METH_VARARGS, (char *)"SoSFBox3i32_initClass()"}, - { (char *)"SoSFBox3i32_setValue", _wrap_SoSFBox3i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox3i32 newvalue)\n" - "setValue(int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, \n" - " int32_t ymax, int32_t zmax)\n" - "SoSFBox3i32_setValue(SoSFBox3i32 self, SbVec3i32 minvec, SbVec3i32 maxvec)\n" - ""}, - { (char *)"SoSFBox3i32_getValue", _wrap_SoSFBox3i32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox3i32\n" - "SoSFBox3i32_getValue(SoSFBox3i32 self, SbBox3i32 box)\n" - ""}, - { (char *)"SoSFBox3i32_swigregister", SoSFBox3i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox3f", _wrap_new_SoSFBox3f, METH_VARARGS, (char *)"new_SoSFBox3f() -> SoSFBox3f"}, - { (char *)"delete_SoSFBox3f", _wrap_delete_SoSFBox3f, METH_VARARGS, (char *)"delete_SoSFBox3f(SoSFBox3f self)"}, - { (char *)"SoSFBox3f_createInstance", _wrap_SoSFBox3f_createInstance, METH_VARARGS, (char *)"SoSFBox3f_createInstance() -> void"}, - { (char *)"SoSFBox3f_getClassTypeId", _wrap_SoSFBox3f_getClassTypeId, METH_VARARGS, (char *)"SoSFBox3f_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox3f_getTypeId", _wrap_SoSFBox3f_getTypeId, METH_VARARGS, (char *)"SoSFBox3f_getTypeId(SoSFBox3f self) -> SoType"}, - { (char *)"SoSFBox3f_copyFrom", _wrap_SoSFBox3f_copyFrom, METH_VARARGS, (char *)"SoSFBox3f_copyFrom(SoSFBox3f self, SoField field)"}, - { (char *)"SoSFBox3f_isSame", _wrap_SoSFBox3f_isSame, METH_VARARGS, (char *)"SoSFBox3f_isSame(SoSFBox3f self, SoField field) -> SbBool"}, - { (char *)"SoSFBox3f___eq__", _wrap_SoSFBox3f___eq__, METH_VARARGS, (char *)"SoSFBox3f___eq__(SoSFBox3f self, SoSFBox3f field) -> int"}, - { (char *)"SoSFBox3f___ne__", _wrap_SoSFBox3f___ne__, METH_VARARGS, (char *)"SoSFBox3f___ne__(SoSFBox3f self, SoSFBox3f field) -> int"}, - { (char *)"SoSFBox3f_initClass", _wrap_SoSFBox3f_initClass, METH_VARARGS, (char *)"SoSFBox3f_initClass()"}, - { (char *)"SoSFBox3f_setValue", _wrap_SoSFBox3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox3f newvalue)\n" - "setValue(float xmin, float ymin, float zmin, float xmax, float ymax, \n" - " float zmax)\n" - "SoSFBox3f_setValue(SoSFBox3f self, SbVec3f minvec, SbVec3f maxvec)\n" - ""}, - { (char *)"SoSFBox3f_getValue", _wrap_SoSFBox3f_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox3f\n" - "SoSFBox3f_getValue(SoSFBox3f self, SbBox3f box)\n" - ""}, - { (char *)"SoSFBox3f_swigregister", SoSFBox3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3d", _wrap_new_SbBox3d, METH_VARARGS, (char *)"\n" - "SbBox3d()\n" - "SbBox3d(double xmin, double ymin, double zmin, double xmax, \n" - " double ymax, double zmax)\n" - "SbBox3d(SbVec3d minpoint, SbVec3d maxpoint)\n" - "SbBox3d(SbBox3f box)\n" - "SbBox3d(SbBox3s box)\n" - "new_SbBox3d(SbBox3i32 box) -> SbBox3d\n" - ""}, - { (char *)"SbBox3d_setBounds", _wrap_SbBox3d_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(double xmin, double ymin, double zmin, double xmax, \n" - " double ymax, double zmax) -> SbBox3d\n" - "setBounds(SbVec3d minpoint, SbVec3d maxpoint) -> SbBox3d\n" - "setBounds(SbBox3f box) -> SbBox3d\n" - "setBounds(SbBox3s box) -> SbBox3d\n" - "SbBox3d_setBounds(SbBox3d self, SbBox3i32 box) -> SbBox3d\n" - ""}, - { (char *)"SbBox3d_getBounds", _wrap_SbBox3d_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(double xmin, double ymin, double zmin, double xmax, \n" - " double ymax, double zmax)\n" - "SbBox3d_getBounds(SbBox3d self, SbVec3d minpoint, SbVec3d maxpoint)\n" - ""}, - { (char *)"SbBox3d_getMin", _wrap_SbBox3d_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec3d\n" - "SbBox3d_getMin(SbBox3d self) -> SbVec3d\n" - ""}, - { (char *)"SbBox3d_getMax", _wrap_SbBox3d_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec3d\n" - "SbBox3d_getMax(SbBox3d self) -> SbVec3d\n" - ""}, - { (char *)"SbBox3d_extendBy", _wrap_SbBox3d_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3d pt)\n" - "SbBox3d_extendBy(SbBox3d self, SbBox3d box)\n" - ""}, - { (char *)"SbBox3d_transform", _wrap_SbBox3d_transform, METH_VARARGS, (char *)"SbBox3d_transform(SbBox3d self, SbDPMatrix matrix)"}, - { (char *)"SbBox3d_makeEmpty", _wrap_SbBox3d_makeEmpty, METH_VARARGS, (char *)"SbBox3d_makeEmpty(SbBox3d self)"}, - { (char *)"SbBox3d_isEmpty", _wrap_SbBox3d_isEmpty, METH_VARARGS, (char *)"SbBox3d_isEmpty(SbBox3d self) -> SbBool"}, - { (char *)"SbBox3d_hasVolume", _wrap_SbBox3d_hasVolume, METH_VARARGS, (char *)"SbBox3d_hasVolume(SbBox3d self) -> SbBool"}, - { (char *)"SbBox3d_getVolume", _wrap_SbBox3d_getVolume, METH_VARARGS, (char *)"SbBox3d_getVolume(SbBox3d self) -> double"}, - { (char *)"SbBox3d_intersect", _wrap_SbBox3d_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3d point) -> SbBool\n" - "SbBox3d_intersect(SbBox3d self, SbBox3d box) -> SbBool\n" - ""}, - { (char *)"SbBox3d_getClosestPoint", _wrap_SbBox3d_getClosestPoint, METH_VARARGS, (char *)"SbBox3d_getClosestPoint(SbBox3d self, SbVec3d point) -> SbVec3d"}, - { (char *)"SbBox3d_outside", _wrap_SbBox3d_outside, METH_VARARGS, (char *)"SbBox3d_outside(SbBox3d self, SbDPMatrix mvp, int cullbits) -> SbBool"}, - { (char *)"SbBox3d_getCenter", _wrap_SbBox3d_getCenter, METH_VARARGS, (char *)"SbBox3d_getCenter(SbBox3d self) -> SbVec3d"}, - { (char *)"SbBox3d_getOrigin", _wrap_SbBox3d_getOrigin, METH_VARARGS, (char *)"SbBox3d_getOrigin(SbBox3d self, double origoX, double origoY, double origoZ)"}, - { (char *)"SbBox3d_getSize", _wrap_SbBox3d_getSize, METH_VARARGS, (char *)"\n" - "getSize(double sizeX, double sizeY, double sizeZ)\n" - "SbBox3d_getSize(SbBox3d self) -> SbVec3d\n" - ""}, - { (char *)"SbBox3d_getSpan", _wrap_SbBox3d_getSpan, METH_VARARGS, (char *)"SbBox3d_getSpan(SbBox3d self, SbVec3d dir, double dmin, double dmax)"}, - { (char *)"SbBox3d_output", _wrap_SbBox3d_output, METH_VARARGS, (char *)"SbBox3d_output(SbBox3d self, FILE file)"}, - { (char *)"delete_SbBox3d", _wrap_delete_SbBox3d, METH_VARARGS, (char *)"delete_SbBox3d(SbBox3d self)"}, - { (char *)"SbBox3d_swigregister", SbBox3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox3d", _wrap_new_SoSFBox3d, METH_VARARGS, (char *)"new_SoSFBox3d() -> SoSFBox3d"}, - { (char *)"delete_SoSFBox3d", _wrap_delete_SoSFBox3d, METH_VARARGS, (char *)"delete_SoSFBox3d(SoSFBox3d self)"}, - { (char *)"SoSFBox3d_createInstance", _wrap_SoSFBox3d_createInstance, METH_VARARGS, (char *)"SoSFBox3d_createInstance() -> void"}, - { (char *)"SoSFBox3d_getClassTypeId", _wrap_SoSFBox3d_getClassTypeId, METH_VARARGS, (char *)"SoSFBox3d_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox3d_getTypeId", _wrap_SoSFBox3d_getTypeId, METH_VARARGS, (char *)"SoSFBox3d_getTypeId(SoSFBox3d self) -> SoType"}, - { (char *)"SoSFBox3d_copyFrom", _wrap_SoSFBox3d_copyFrom, METH_VARARGS, (char *)"SoSFBox3d_copyFrom(SoSFBox3d self, SoField field)"}, - { (char *)"SoSFBox3d_isSame", _wrap_SoSFBox3d_isSame, METH_VARARGS, (char *)"SoSFBox3d_isSame(SoSFBox3d self, SoField field) -> SbBool"}, - { (char *)"SoSFBox3d___eq__", _wrap_SoSFBox3d___eq__, METH_VARARGS, (char *)"SoSFBox3d___eq__(SoSFBox3d self, SoSFBox3d field) -> int"}, - { (char *)"SoSFBox3d___ne__", _wrap_SoSFBox3d___ne__, METH_VARARGS, (char *)"SoSFBox3d___ne__(SoSFBox3d self, SoSFBox3d field) -> int"}, - { (char *)"SoSFBox3d_initClass", _wrap_SoSFBox3d_initClass, METH_VARARGS, (char *)"SoSFBox3d_initClass()"}, - { (char *)"SoSFBox3d_setValue", _wrap_SoSFBox3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox3d newvalue)\n" - "setValue(double xmin, double ymin, double zmin, double xmax, \n" - " double ymax, double zmax)\n" - "SoSFBox3d_setValue(SoSFBox3d self, SbVec3d minvec, SbVec3d maxvec)\n" - ""}, - { (char *)"SoSFBox3d_getValue", _wrap_SoSFBox3d_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox3d\n" - "SoSFBox3d_getValue(SoSFBox3d self, SbBox3d box)\n" - ""}, - { (char *)"SoSFBox3d_swigregister", SoSFBox3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFColorRGBA", _wrap_new_SoSFColorRGBA, METH_VARARGS, (char *)"new_SoSFColorRGBA() -> SoSFColorRGBA"}, - { (char *)"delete_SoSFColorRGBA", _wrap_delete_SoSFColorRGBA, METH_VARARGS, (char *)"delete_SoSFColorRGBA(SoSFColorRGBA self)"}, - { (char *)"SoSFColorRGBA_createInstance", _wrap_SoSFColorRGBA_createInstance, METH_VARARGS, (char *)"SoSFColorRGBA_createInstance() -> void"}, - { (char *)"SoSFColorRGBA_getClassTypeId", _wrap_SoSFColorRGBA_getClassTypeId, METH_VARARGS, (char *)"SoSFColorRGBA_getClassTypeId() -> SoType"}, - { (char *)"SoSFColorRGBA_getTypeId", _wrap_SoSFColorRGBA_getTypeId, METH_VARARGS, (char *)"SoSFColorRGBA_getTypeId(SoSFColorRGBA self) -> SoType"}, - { (char *)"SoSFColorRGBA_copyFrom", _wrap_SoSFColorRGBA_copyFrom, METH_VARARGS, (char *)"SoSFColorRGBA_copyFrom(SoSFColorRGBA self, SoField field)"}, - { (char *)"SoSFColorRGBA_isSame", _wrap_SoSFColorRGBA_isSame, METH_VARARGS, (char *)"SoSFColorRGBA_isSame(SoSFColorRGBA self, SoField field) -> SbBool"}, - { (char *)"SoSFColorRGBA_getValue", _wrap_SoSFColorRGBA_getValue, METH_VARARGS, (char *)"SoSFColorRGBA_getValue(SoSFColorRGBA self) -> SbColor4f"}, - { (char *)"SoSFColorRGBA___eq__", _wrap_SoSFColorRGBA___eq__, METH_VARARGS, (char *)"SoSFColorRGBA___eq__(SoSFColorRGBA self, SoSFColorRGBA field) -> int"}, - { (char *)"SoSFColorRGBA___ne__", _wrap_SoSFColorRGBA___ne__, METH_VARARGS, (char *)"SoSFColorRGBA___ne__(SoSFColorRGBA self, SoSFColorRGBA field) -> int"}, - { (char *)"SoSFColorRGBA_initClass", _wrap_SoSFColorRGBA_initClass, METH_VARARGS, (char *)"SoSFColorRGBA_initClass()"}, - { (char *)"SoSFColorRGBA_setValue", _wrap_SoSFColorRGBA_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor4f newvalue)\n" - "setValue(SbVec4f vec)\n" - "setValue(float red, float green, float blue, float alpha)\n" - "SoSFColorRGBA_setValue(SoSFColorRGBA self, float rgba)\n" - ""}, - { (char *)"SoSFColorRGBA_setHSVValue", _wrap_SoSFColorRGBA_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v, float a)\n" - "SoSFColorRGBA_setHSVValue(SoSFColorRGBA self, float hsva)\n" - ""}, - { (char *)"SoSFColorRGBA_swigregister", SoSFColorRGBA_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFDouble", _wrap_new_SoSFDouble, METH_VARARGS, (char *)"new_SoSFDouble() -> SoSFDouble"}, - { (char *)"delete_SoSFDouble", _wrap_delete_SoSFDouble, METH_VARARGS, (char *)"delete_SoSFDouble(SoSFDouble self)"}, - { (char *)"SoSFDouble_createInstance", _wrap_SoSFDouble_createInstance, METH_VARARGS, (char *)"SoSFDouble_createInstance() -> void"}, - { (char *)"SoSFDouble_getClassTypeId", _wrap_SoSFDouble_getClassTypeId, METH_VARARGS, (char *)"SoSFDouble_getClassTypeId() -> SoType"}, - { (char *)"SoSFDouble_getTypeId", _wrap_SoSFDouble_getTypeId, METH_VARARGS, (char *)"SoSFDouble_getTypeId(SoSFDouble self) -> SoType"}, - { (char *)"SoSFDouble_copyFrom", _wrap_SoSFDouble_copyFrom, METH_VARARGS, (char *)"SoSFDouble_copyFrom(SoSFDouble self, SoField field)"}, - { (char *)"SoSFDouble_isSame", _wrap_SoSFDouble_isSame, METH_VARARGS, (char *)"SoSFDouble_isSame(SoSFDouble self, SoField field) -> SbBool"}, - { (char *)"SoSFDouble_getValue", _wrap_SoSFDouble_getValue, METH_VARARGS, (char *)"SoSFDouble_getValue(SoSFDouble self) -> double"}, - { (char *)"SoSFDouble_setValue", _wrap_SoSFDouble_setValue, METH_VARARGS, (char *)"SoSFDouble_setValue(SoSFDouble self, double newvalue)"}, - { (char *)"SoSFDouble___eq__", _wrap_SoSFDouble___eq__, METH_VARARGS, (char *)"SoSFDouble___eq__(SoSFDouble self, SoSFDouble field) -> int"}, - { (char *)"SoSFDouble___ne__", _wrap_SoSFDouble___ne__, METH_VARARGS, (char *)"SoSFDouble___ne__(SoSFDouble self, SoSFDouble field) -> int"}, - { (char *)"SoSFDouble_initClass", _wrap_SoSFDouble_initClass, METH_VARARGS, (char *)"SoSFDouble_initClass()"}, - { (char *)"SoSFDouble_swigregister", SoSFDouble_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFEngine", _wrap_new_SoSFEngine, METH_VARARGS, (char *)"new_SoSFEngine() -> SoSFEngine"}, - { (char *)"delete_SoSFEngine", _wrap_delete_SoSFEngine, METH_VARARGS, (char *)"delete_SoSFEngine(SoSFEngine self)"}, - { (char *)"SoSFEngine_createInstance", _wrap_SoSFEngine_createInstance, METH_VARARGS, (char *)"SoSFEngine_createInstance() -> void"}, - { (char *)"SoSFEngine_getClassTypeId", _wrap_SoSFEngine_getClassTypeId, METH_VARARGS, (char *)"SoSFEngine_getClassTypeId() -> SoType"}, - { (char *)"SoSFEngine_getTypeId", _wrap_SoSFEngine_getTypeId, METH_VARARGS, (char *)"SoSFEngine_getTypeId(SoSFEngine self) -> SoType"}, - { (char *)"SoSFEngine_copyFrom", _wrap_SoSFEngine_copyFrom, METH_VARARGS, (char *)"SoSFEngine_copyFrom(SoSFEngine self, SoField field)"}, - { (char *)"SoSFEngine_isSame", _wrap_SoSFEngine_isSame, METH_VARARGS, (char *)"SoSFEngine_isSame(SoSFEngine self, SoField field) -> SbBool"}, - { (char *)"SoSFEngine_getValue", _wrap_SoSFEngine_getValue, METH_VARARGS, (char *)"SoSFEngine_getValue(SoSFEngine self) -> SoEngine"}, - { (char *)"SoSFEngine___eq__", _wrap_SoSFEngine___eq__, METH_VARARGS, (char *)"SoSFEngine___eq__(SoSFEngine self, SoSFEngine field) -> int"}, - { (char *)"SoSFEngine___ne__", _wrap_SoSFEngine___ne__, METH_VARARGS, (char *)"SoSFEngine___ne__(SoSFEngine self, SoSFEngine field) -> int"}, - { (char *)"SoSFEngine_initClass", _wrap_SoSFEngine_initClass, METH_VARARGS, (char *)"SoSFEngine_initClass()"}, - { (char *)"SoSFEngine_fixCopy", _wrap_SoSFEngine_fixCopy, METH_VARARGS, (char *)"SoSFEngine_fixCopy(SoSFEngine self, SbBool copyconnections)"}, - { (char *)"SoSFEngine_referencesCopy", _wrap_SoSFEngine_referencesCopy, METH_VARARGS, (char *)"SoSFEngine_referencesCopy(SoSFEngine self) -> SbBool"}, - { (char *)"SoSFEngine_setValue", _wrap_SoSFEngine_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoEngine newvalue)\n" - "SoSFEngine_setValue(SoSFEngine self, SoSFEngine other)\n" - ""}, - { (char *)"SoSFEngine_swigregister", SoSFEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFImage3", _wrap_new_SoSFImage3, METH_VARARGS, (char *)"new_SoSFImage3() -> SoSFImage3"}, - { (char *)"delete_SoSFImage3", _wrap_delete_SoSFImage3, METH_VARARGS, (char *)"delete_SoSFImage3(SoSFImage3 self)"}, - { (char *)"SoSFImage3_createInstance", _wrap_SoSFImage3_createInstance, METH_VARARGS, (char *)"SoSFImage3_createInstance() -> void"}, - { (char *)"SoSFImage3_getClassTypeId", _wrap_SoSFImage3_getClassTypeId, METH_VARARGS, (char *)"SoSFImage3_getClassTypeId() -> SoType"}, - { (char *)"SoSFImage3_getTypeId", _wrap_SoSFImage3_getTypeId, METH_VARARGS, (char *)"SoSFImage3_getTypeId(SoSFImage3 self) -> SoType"}, - { (char *)"SoSFImage3_copyFrom", _wrap_SoSFImage3_copyFrom, METH_VARARGS, (char *)"SoSFImage3_copyFrom(SoSFImage3 self, SoField field)"}, - { (char *)"SoSFImage3_isSame", _wrap_SoSFImage3_isSame, METH_VARARGS, (char *)"SoSFImage3_isSame(SoSFImage3 self, SoField field) -> SbBool"}, - { (char *)"SoSFImage3_initClass", _wrap_SoSFImage3_initClass, METH_VARARGS, (char *)"SoSFImage3_initClass()"}, - { (char *)"SoSFImage3_getValue", _wrap_SoSFImage3_getValue, METH_VARARGS, (char *)"SoSFImage3_getValue(SoSFImage3 self, SbVec3s size) -> unsigned char"}, - { (char *)"SoSFImage3___eq__", _wrap_SoSFImage3___eq__, METH_VARARGS, (char *)"SoSFImage3___eq__(SoSFImage3 self, SoSFImage3 field) -> int"}, - { (char *)"SoSFImage3___ne__", _wrap_SoSFImage3___ne__, METH_VARARGS, (char *)"SoSFImage3___ne__(SoSFImage3 self, SoSFImage3 field) -> int"}, - { (char *)"SoSFImage3_startEditing", _wrap_SoSFImage3_startEditing, METH_VARARGS, (char *)"SoSFImage3_startEditing(SoSFImage3 self, SbVec3s size) -> unsigned char"}, - { (char *)"SoSFImage3_finishEditing", _wrap_SoSFImage3_finishEditing, METH_VARARGS, (char *)"SoSFImage3_finishEditing(SoSFImage3 self)"}, - { (char *)"SoSFImage3_setValue", _wrap_SoSFImage3_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3s size, int nc, unsigned char bytes)\n" - "setValue(SbVec3s size, int nc, PyObject pixels)\n" - "SoSFImage3_setValue(SoSFImage3 self, SoSFImage3 other)\n" - ""}, - { (char *)"SoSFImage3_swigregister", SoSFImage3_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFMatrix", _wrap_new_SoSFMatrix, METH_VARARGS, (char *)"new_SoSFMatrix() -> SoSFMatrix"}, - { (char *)"delete_SoSFMatrix", _wrap_delete_SoSFMatrix, METH_VARARGS, (char *)"delete_SoSFMatrix(SoSFMatrix self)"}, - { (char *)"SoSFMatrix_createInstance", _wrap_SoSFMatrix_createInstance, METH_VARARGS, (char *)"SoSFMatrix_createInstance() -> void"}, - { (char *)"SoSFMatrix_getClassTypeId", _wrap_SoSFMatrix_getClassTypeId, METH_VARARGS, (char *)"SoSFMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoSFMatrix_getTypeId", _wrap_SoSFMatrix_getTypeId, METH_VARARGS, (char *)"SoSFMatrix_getTypeId(SoSFMatrix self) -> SoType"}, - { (char *)"SoSFMatrix_copyFrom", _wrap_SoSFMatrix_copyFrom, METH_VARARGS, (char *)"SoSFMatrix_copyFrom(SoSFMatrix self, SoField field)"}, - { (char *)"SoSFMatrix_isSame", _wrap_SoSFMatrix_isSame, METH_VARARGS, (char *)"SoSFMatrix_isSame(SoSFMatrix self, SoField field) -> SbBool"}, - { (char *)"SoSFMatrix_getValue", _wrap_SoSFMatrix_getValue, METH_VARARGS, (char *)"SoSFMatrix_getValue(SoSFMatrix self) -> SbMatrix"}, - { (char *)"SoSFMatrix___eq__", _wrap_SoSFMatrix___eq__, METH_VARARGS, (char *)"SoSFMatrix___eq__(SoSFMatrix self, SoSFMatrix field) -> int"}, - { (char *)"SoSFMatrix___ne__", _wrap_SoSFMatrix___ne__, METH_VARARGS, (char *)"SoSFMatrix___ne__(SoSFMatrix self, SoSFMatrix field) -> int"}, - { (char *)"SoSFMatrix_initClass", _wrap_SoSFMatrix_initClass, METH_VARARGS, (char *)"SoSFMatrix_initClass()"}, - { (char *)"SoSFMatrix_setValue", _wrap_SoSFMatrix_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbMatrix newvalue)\n" - "setValue(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SoSFMatrix_setValue(SoSFMatrix self, SoSFMatrix other)\n" - ""}, - { (char *)"SoSFMatrix_swigregister", SoSFMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFPlane", _wrap_new_SoSFPlane, METH_VARARGS, (char *)"new_SoSFPlane() -> SoSFPlane"}, - { (char *)"delete_SoSFPlane", _wrap_delete_SoSFPlane, METH_VARARGS, (char *)"delete_SoSFPlane(SoSFPlane self)"}, - { (char *)"SoSFPlane_createInstance", _wrap_SoSFPlane_createInstance, METH_VARARGS, (char *)"SoSFPlane_createInstance() -> void"}, - { (char *)"SoSFPlane_getClassTypeId", _wrap_SoSFPlane_getClassTypeId, METH_VARARGS, (char *)"SoSFPlane_getClassTypeId() -> SoType"}, - { (char *)"SoSFPlane_getTypeId", _wrap_SoSFPlane_getTypeId, METH_VARARGS, (char *)"SoSFPlane_getTypeId(SoSFPlane self) -> SoType"}, - { (char *)"SoSFPlane_copyFrom", _wrap_SoSFPlane_copyFrom, METH_VARARGS, (char *)"SoSFPlane_copyFrom(SoSFPlane self, SoField field)"}, - { (char *)"SoSFPlane_isSame", _wrap_SoSFPlane_isSame, METH_VARARGS, (char *)"SoSFPlane_isSame(SoSFPlane self, SoField field) -> SbBool"}, - { (char *)"SoSFPlane_getValue", _wrap_SoSFPlane_getValue, METH_VARARGS, (char *)"SoSFPlane_getValue(SoSFPlane self) -> SbPlane"}, - { (char *)"SoSFPlane___eq__", _wrap_SoSFPlane___eq__, METH_VARARGS, (char *)"SoSFPlane___eq__(SoSFPlane self, SoSFPlane field) -> int"}, - { (char *)"SoSFPlane___ne__", _wrap_SoSFPlane___ne__, METH_VARARGS, (char *)"SoSFPlane___ne__(SoSFPlane self, SoSFPlane field) -> int"}, - { (char *)"SoSFPlane_initClass", _wrap_SoSFPlane_initClass, METH_VARARGS, (char *)"SoSFPlane_initClass()"}, - { (char *)"SoSFPlane_setValue", _wrap_SoSFPlane_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbPlane newvalue)\n" - "SoSFPlane_setValue(SoSFPlane self, SoSFPlane other)\n" - ""}, - { (char *)"SoSFPlane_swigregister", SoSFPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFUInt32", _wrap_new_SoSFUInt32, METH_VARARGS, (char *)"new_SoSFUInt32() -> SoSFUInt32"}, - { (char *)"delete_SoSFUInt32", _wrap_delete_SoSFUInt32, METH_VARARGS, (char *)"delete_SoSFUInt32(SoSFUInt32 self)"}, - { (char *)"SoSFUInt32_createInstance", _wrap_SoSFUInt32_createInstance, METH_VARARGS, (char *)"SoSFUInt32_createInstance() -> void"}, - { (char *)"SoSFUInt32_getClassTypeId", _wrap_SoSFUInt32_getClassTypeId, METH_VARARGS, (char *)"SoSFUInt32_getClassTypeId() -> SoType"}, - { (char *)"SoSFUInt32_getTypeId", _wrap_SoSFUInt32_getTypeId, METH_VARARGS, (char *)"SoSFUInt32_getTypeId(SoSFUInt32 self) -> SoType"}, - { (char *)"SoSFUInt32_copyFrom", _wrap_SoSFUInt32_copyFrom, METH_VARARGS, (char *)"SoSFUInt32_copyFrom(SoSFUInt32 self, SoField field)"}, - { (char *)"SoSFUInt32_isSame", _wrap_SoSFUInt32_isSame, METH_VARARGS, (char *)"SoSFUInt32_isSame(SoSFUInt32 self, SoField field) -> SbBool"}, - { (char *)"SoSFUInt32_getValue", _wrap_SoSFUInt32_getValue, METH_VARARGS, (char *)"SoSFUInt32_getValue(SoSFUInt32 self) -> uint32_t"}, - { (char *)"SoSFUInt32___eq__", _wrap_SoSFUInt32___eq__, METH_VARARGS, (char *)"SoSFUInt32___eq__(SoSFUInt32 self, SoSFUInt32 field) -> int"}, - { (char *)"SoSFUInt32___ne__", _wrap_SoSFUInt32___ne__, METH_VARARGS, (char *)"SoSFUInt32___ne__(SoSFUInt32 self, SoSFUInt32 field) -> int"}, - { (char *)"SoSFUInt32_initClass", _wrap_SoSFUInt32_initClass, METH_VARARGS, (char *)"SoSFUInt32_initClass()"}, - { (char *)"SoSFUInt32_setValue", _wrap_SoSFUInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint32_t newvalue)\n" - "SoSFUInt32_setValue(SoSFUInt32 self, SoSFUInt32 other)\n" - ""}, - { (char *)"SoSFUInt32_swigregister", SoSFUInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2b", _wrap_new_SbVec2b, METH_VARARGS, (char *)"\n" - "SbVec2b()\n" - "SbVec2b(int8_t v)\n" - "SbVec2b(int8_t x, int8_t y)\n" - "SbVec2b(SbVec2ub v)\n" - "SbVec2b(SbVec2s v)\n" - "SbVec2b(SbVec2i32 v)\n" - "SbVec2b(SbVec2f v)\n" - "new_SbVec2b(SbVec2d v) -> SbVec2b\n" - ""}, - { (char *)"SbVec2b_setValue", _wrap_SbVec2b_setValue, METH_VARARGS, (char *)"\n" - "setValue(int8_t v) -> SbVec2b\n" - "setValue(int8_t x, int8_t y) -> SbVec2b\n" - "setValue(SbVec2ub v) -> SbVec2b\n" - "setValue(SbVec2s v) -> SbVec2b\n" - "setValue(SbVec2i32 v) -> SbVec2b\n" - "setValue(SbVec2f v) -> SbVec2b\n" - "SbVec2b_setValue(SbVec2b self, SbVec2d v) -> SbVec2b\n" - ""}, - { (char *)"SbVec2b_getValue", _wrap_SbVec2b_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int8_t\n" - "SbVec2b_getValue(SbVec2b self, int8_t x, int8_t y)\n" - ""}, - { (char *)"SbVec2b_dot", _wrap_SbVec2b_dot, METH_VARARGS, (char *)"SbVec2b_dot(SbVec2b self, SbVec2b v) -> int32_t"}, - { (char *)"SbVec2b_negate", _wrap_SbVec2b_negate, METH_VARARGS, (char *)"SbVec2b_negate(SbVec2b self)"}, - { (char *)"SbVec2b___imul__", _wrap_SbVec2b___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec2b\n" - "SbVec2b___imul__(SbVec2b self, double d) -> SbVec2b\n" - ""}, - { (char *)"SbVec2b___idiv__", _wrap_SbVec2b___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec2b\n" - "SbVec2b___idiv__(SbVec2b self, double d) -> SbVec2b\n" - ""}, - { (char *)"SbVec2b___iadd__", _wrap_SbVec2b___iadd__, METH_VARARGS, (char *)"SbVec2b___iadd__(SbVec2b self, SbVec2b v) -> SbVec2b"}, - { (char *)"SbVec2b___isub__", _wrap_SbVec2b___isub__, METH_VARARGS, (char *)"SbVec2b___isub__(SbVec2b self, SbVec2b v) -> SbVec2b"}, - { (char *)"SbVec2b___neg__", _wrap_SbVec2b___neg__, METH_VARARGS, (char *)"SbVec2b___neg__(SbVec2b self) -> SbVec2b"}, - { (char *)"delete_SbVec2b", _wrap_delete_SbVec2b, METH_VARARGS, (char *)"delete_SbVec2b(SbVec2b self)"}, - { (char *)"SbVec2b_swigregister", SbVec2b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2b", _wrap_new_SoSFVec2b, METH_VARARGS, (char *)"new_SoSFVec2b() -> SoSFVec2b"}, - { (char *)"delete_SoSFVec2b", _wrap_delete_SoSFVec2b, METH_VARARGS, (char *)"delete_SoSFVec2b(SoSFVec2b self)"}, - { (char *)"SoSFVec2b_createInstance", _wrap_SoSFVec2b_createInstance, METH_VARARGS, (char *)"SoSFVec2b_createInstance() -> void"}, - { (char *)"SoSFVec2b_getClassTypeId", _wrap_SoSFVec2b_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2b_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2b_getTypeId", _wrap_SoSFVec2b_getTypeId, METH_VARARGS, (char *)"SoSFVec2b_getTypeId(SoSFVec2b self) -> SoType"}, - { (char *)"SoSFVec2b_copyFrom", _wrap_SoSFVec2b_copyFrom, METH_VARARGS, (char *)"SoSFVec2b_copyFrom(SoSFVec2b self, SoField field)"}, - { (char *)"SoSFVec2b_isSame", _wrap_SoSFVec2b_isSame, METH_VARARGS, (char *)"SoSFVec2b_isSame(SoSFVec2b self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2b_getValue", _wrap_SoSFVec2b_getValue, METH_VARARGS, (char *)"SoSFVec2b_getValue(SoSFVec2b self) -> SbVec2b"}, - { (char *)"SoSFVec2b___eq__", _wrap_SoSFVec2b___eq__, METH_VARARGS, (char *)"SoSFVec2b___eq__(SoSFVec2b self, SoSFVec2b field) -> int"}, - { (char *)"SoSFVec2b___ne__", _wrap_SoSFVec2b___ne__, METH_VARARGS, (char *)"SoSFVec2b___ne__(SoSFVec2b self, SoSFVec2b field) -> int"}, - { (char *)"SoSFVec2b_initClass", _wrap_SoSFVec2b_initClass, METH_VARARGS, (char *)"SoSFVec2b_initClass()"}, - { (char *)"SoSFVec2b_setValue", _wrap_SoSFVec2b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2b newvalue)\n" - "setValue(int8_t x, int8_t y)\n" - "SoSFVec2b_setValue(SoSFVec2b self, int8_t xy)\n" - ""}, - { (char *)"SoSFVec2b_swigregister", SoSFVec2b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2s", _wrap_new_SoSFVec2s, METH_VARARGS, (char *)"new_SoSFVec2s() -> SoSFVec2s"}, - { (char *)"delete_SoSFVec2s", _wrap_delete_SoSFVec2s, METH_VARARGS, (char *)"delete_SoSFVec2s(SoSFVec2s self)"}, - { (char *)"SoSFVec2s_createInstance", _wrap_SoSFVec2s_createInstance, METH_VARARGS, (char *)"SoSFVec2s_createInstance() -> void"}, - { (char *)"SoSFVec2s_getClassTypeId", _wrap_SoSFVec2s_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2s_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2s_getTypeId", _wrap_SoSFVec2s_getTypeId, METH_VARARGS, (char *)"SoSFVec2s_getTypeId(SoSFVec2s self) -> SoType"}, - { (char *)"SoSFVec2s_copyFrom", _wrap_SoSFVec2s_copyFrom, METH_VARARGS, (char *)"SoSFVec2s_copyFrom(SoSFVec2s self, SoField field)"}, - { (char *)"SoSFVec2s_isSame", _wrap_SoSFVec2s_isSame, METH_VARARGS, (char *)"SoSFVec2s_isSame(SoSFVec2s self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2s_getValue", _wrap_SoSFVec2s_getValue, METH_VARARGS, (char *)"SoSFVec2s_getValue(SoSFVec2s self) -> SbVec2s"}, - { (char *)"SoSFVec2s___eq__", _wrap_SoSFVec2s___eq__, METH_VARARGS, (char *)"SoSFVec2s___eq__(SoSFVec2s self, SoSFVec2s field) -> int"}, - { (char *)"SoSFVec2s___ne__", _wrap_SoSFVec2s___ne__, METH_VARARGS, (char *)"SoSFVec2s___ne__(SoSFVec2s self, SoSFVec2s field) -> int"}, - { (char *)"SoSFVec2s_initClass", _wrap_SoSFVec2s_initClass, METH_VARARGS, (char *)"SoSFVec2s_initClass()"}, - { (char *)"SoSFVec2s_setValue", _wrap_SoSFVec2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s newvalue)\n" - "setValue(short x, short y)\n" - "SoSFVec2s_setValue(SoSFVec2s self, short xy)\n" - ""}, - { (char *)"SoSFVec2s_swigregister", SoSFVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2i32", _wrap_new_SoSFVec2i32, METH_VARARGS, (char *)"new_SoSFVec2i32() -> SoSFVec2i32"}, - { (char *)"delete_SoSFVec2i32", _wrap_delete_SoSFVec2i32, METH_VARARGS, (char *)"delete_SoSFVec2i32(SoSFVec2i32 self)"}, - { (char *)"SoSFVec2i32_createInstance", _wrap_SoSFVec2i32_createInstance, METH_VARARGS, (char *)"SoSFVec2i32_createInstance() -> void"}, - { (char *)"SoSFVec2i32_getClassTypeId", _wrap_SoSFVec2i32_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2i32_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2i32_getTypeId", _wrap_SoSFVec2i32_getTypeId, METH_VARARGS, (char *)"SoSFVec2i32_getTypeId(SoSFVec2i32 self) -> SoType"}, - { (char *)"SoSFVec2i32_copyFrom", _wrap_SoSFVec2i32_copyFrom, METH_VARARGS, (char *)"SoSFVec2i32_copyFrom(SoSFVec2i32 self, SoField field)"}, - { (char *)"SoSFVec2i32_isSame", _wrap_SoSFVec2i32_isSame, METH_VARARGS, (char *)"SoSFVec2i32_isSame(SoSFVec2i32 self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2i32_getValue", _wrap_SoSFVec2i32_getValue, METH_VARARGS, (char *)"SoSFVec2i32_getValue(SoSFVec2i32 self) -> SbVec2i32"}, - { (char *)"SoSFVec2i32___eq__", _wrap_SoSFVec2i32___eq__, METH_VARARGS, (char *)"SoSFVec2i32___eq__(SoSFVec2i32 self, SoSFVec2i32 field) -> int"}, - { (char *)"SoSFVec2i32___ne__", _wrap_SoSFVec2i32___ne__, METH_VARARGS, (char *)"SoSFVec2i32___ne__(SoSFVec2i32 self, SoSFVec2i32 field) -> int"}, - { (char *)"SoSFVec2i32_initClass", _wrap_SoSFVec2i32_initClass, METH_VARARGS, (char *)"SoSFVec2i32_initClass()"}, - { (char *)"SoSFVec2i32_setValue", _wrap_SoSFVec2i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2i32 newvalue)\n" - "setValue(int32_t x, int32_t y)\n" - "SoSFVec2i32_setValue(SoSFVec2i32 self, int32_t xy)\n" - ""}, - { (char *)"SoSFVec2i32_swigregister", SoSFVec2i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2d", _wrap_new_SoSFVec2d, METH_VARARGS, (char *)"new_SoSFVec2d() -> SoSFVec2d"}, - { (char *)"delete_SoSFVec2d", _wrap_delete_SoSFVec2d, METH_VARARGS, (char *)"delete_SoSFVec2d(SoSFVec2d self)"}, - { (char *)"SoSFVec2d_createInstance", _wrap_SoSFVec2d_createInstance, METH_VARARGS, (char *)"SoSFVec2d_createInstance() -> void"}, - { (char *)"SoSFVec2d_getClassTypeId", _wrap_SoSFVec2d_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2d_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2d_getTypeId", _wrap_SoSFVec2d_getTypeId, METH_VARARGS, (char *)"SoSFVec2d_getTypeId(SoSFVec2d self) -> SoType"}, - { (char *)"SoSFVec2d_copyFrom", _wrap_SoSFVec2d_copyFrom, METH_VARARGS, (char *)"SoSFVec2d_copyFrom(SoSFVec2d self, SoField field)"}, - { (char *)"SoSFVec2d_isSame", _wrap_SoSFVec2d_isSame, METH_VARARGS, (char *)"SoSFVec2d_isSame(SoSFVec2d self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2d_getValue", _wrap_SoSFVec2d_getValue, METH_VARARGS, (char *)"SoSFVec2d_getValue(SoSFVec2d self) -> SbVec2d"}, - { (char *)"SoSFVec2d___eq__", _wrap_SoSFVec2d___eq__, METH_VARARGS, (char *)"SoSFVec2d___eq__(SoSFVec2d self, SoSFVec2d field) -> int"}, - { (char *)"SoSFVec2d___ne__", _wrap_SoSFVec2d___ne__, METH_VARARGS, (char *)"SoSFVec2d___ne__(SoSFVec2d self, SoSFVec2d field) -> int"}, - { (char *)"SoSFVec2d_initClass", _wrap_SoSFVec2d_initClass, METH_VARARGS, (char *)"SoSFVec2d_initClass()"}, - { (char *)"SoSFVec2d_setValue", _wrap_SoSFVec2d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2d newvalue)\n" - "setValue(double x, double y)\n" - "SoSFVec2d_setValue(SoSFVec2d self, double xy)\n" - ""}, - { (char *)"SoSFVec2d_swigregister", SoSFVec2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3b", _wrap_new_SbVec3b, METH_VARARGS, (char *)"\n" - "SbVec3b()\n" - "SbVec3b(int8_t v)\n" - "SbVec3b(int8_t x, int8_t y, int8_t z)\n" - "SbVec3b(SbVec3ub v)\n" - "SbVec3b(SbVec3s v)\n" - "SbVec3b(SbVec3i32 v)\n" - "SbVec3b(SbVec3f v)\n" - "new_SbVec3b(SbVec3d v) -> SbVec3b\n" - ""}, - { (char *)"SbVec3b_setValue", _wrap_SbVec3b_setValue, METH_VARARGS, (char *)"\n" - "setValue(int8_t v) -> SbVec3b\n" - "setValue(int8_t x, int8_t y, int8_t z) -> SbVec3b\n" - "setValue(SbVec3ub v) -> SbVec3b\n" - "setValue(SbVec3s v) -> SbVec3b\n" - "setValue(SbVec3i32 v) -> SbVec3b\n" - "setValue(SbVec3f v) -> SbVec3b\n" - "SbVec3b_setValue(SbVec3b self, SbVec3d v) -> SbVec3b\n" - ""}, - { (char *)"SbVec3b_getValue", _wrap_SbVec3b_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int8_t\n" - "SbVec3b_getValue(SbVec3b self, int8_t x, int8_t y, int8_t z)\n" - ""}, - { (char *)"SbVec3b_dot", _wrap_SbVec3b_dot, METH_VARARGS, (char *)"SbVec3b_dot(SbVec3b self, SbVec3b v) -> int32_t"}, - { (char *)"SbVec3b_negate", _wrap_SbVec3b_negate, METH_VARARGS, (char *)"SbVec3b_negate(SbVec3b self)"}, - { (char *)"SbVec3b___imul__", _wrap_SbVec3b___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec3b\n" - "SbVec3b___imul__(SbVec3b self, double d) -> SbVec3b\n" - ""}, - { (char *)"SbVec3b___idiv__", _wrap_SbVec3b___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec3b\n" - "SbVec3b___idiv__(SbVec3b self, double d) -> SbVec3b\n" - ""}, - { (char *)"SbVec3b___iadd__", _wrap_SbVec3b___iadd__, METH_VARARGS, (char *)"SbVec3b___iadd__(SbVec3b self, SbVec3b v) -> SbVec3b"}, - { (char *)"SbVec3b___isub__", _wrap_SbVec3b___isub__, METH_VARARGS, (char *)"SbVec3b___isub__(SbVec3b self, SbVec3b v) -> SbVec3b"}, - { (char *)"SbVec3b___neg__", _wrap_SbVec3b___neg__, METH_VARARGS, (char *)"SbVec3b___neg__(SbVec3b self) -> SbVec3b"}, - { (char *)"delete_SbVec3b", _wrap_delete_SbVec3b, METH_VARARGS, (char *)"delete_SbVec3b(SbVec3b self)"}, - { (char *)"SbVec3b_swigregister", SbVec3b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3b", _wrap_new_SoSFVec3b, METH_VARARGS, (char *)"new_SoSFVec3b() -> SoSFVec3b"}, - { (char *)"delete_SoSFVec3b", _wrap_delete_SoSFVec3b, METH_VARARGS, (char *)"delete_SoSFVec3b(SoSFVec3b self)"}, - { (char *)"SoSFVec3b_createInstance", _wrap_SoSFVec3b_createInstance, METH_VARARGS, (char *)"SoSFVec3b_createInstance() -> void"}, - { (char *)"SoSFVec3b_getClassTypeId", _wrap_SoSFVec3b_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3b_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3b_getTypeId", _wrap_SoSFVec3b_getTypeId, METH_VARARGS, (char *)"SoSFVec3b_getTypeId(SoSFVec3b self) -> SoType"}, - { (char *)"SoSFVec3b_copyFrom", _wrap_SoSFVec3b_copyFrom, METH_VARARGS, (char *)"SoSFVec3b_copyFrom(SoSFVec3b self, SoField field)"}, - { (char *)"SoSFVec3b_isSame", _wrap_SoSFVec3b_isSame, METH_VARARGS, (char *)"SoSFVec3b_isSame(SoSFVec3b self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3b_getValue", _wrap_SoSFVec3b_getValue, METH_VARARGS, (char *)"SoSFVec3b_getValue(SoSFVec3b self) -> SbVec3b"}, - { (char *)"SoSFVec3b___eq__", _wrap_SoSFVec3b___eq__, METH_VARARGS, (char *)"SoSFVec3b___eq__(SoSFVec3b self, SoSFVec3b field) -> int"}, - { (char *)"SoSFVec3b___ne__", _wrap_SoSFVec3b___ne__, METH_VARARGS, (char *)"SoSFVec3b___ne__(SoSFVec3b self, SoSFVec3b field) -> int"}, - { (char *)"SoSFVec3b_initClass", _wrap_SoSFVec3b_initClass, METH_VARARGS, (char *)"SoSFVec3b_initClass()"}, - { (char *)"SoSFVec3b_setValue", _wrap_SoSFVec3b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3b newvalue)\n" - "setValue(int8_t x, int8_t y, int8_t z)\n" - "SoSFVec3b_setValue(SoSFVec3b self, int8_t xyz)\n" - ""}, - { (char *)"SoSFVec3b_swigregister", SoSFVec3b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3s", _wrap_new_SoSFVec3s, METH_VARARGS, (char *)"new_SoSFVec3s() -> SoSFVec3s"}, - { (char *)"delete_SoSFVec3s", _wrap_delete_SoSFVec3s, METH_VARARGS, (char *)"delete_SoSFVec3s(SoSFVec3s self)"}, - { (char *)"SoSFVec3s_createInstance", _wrap_SoSFVec3s_createInstance, METH_VARARGS, (char *)"SoSFVec3s_createInstance() -> void"}, - { (char *)"SoSFVec3s_getClassTypeId", _wrap_SoSFVec3s_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3s_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3s_getTypeId", _wrap_SoSFVec3s_getTypeId, METH_VARARGS, (char *)"SoSFVec3s_getTypeId(SoSFVec3s self) -> SoType"}, - { (char *)"SoSFVec3s_copyFrom", _wrap_SoSFVec3s_copyFrom, METH_VARARGS, (char *)"SoSFVec3s_copyFrom(SoSFVec3s self, SoField field)"}, - { (char *)"SoSFVec3s_isSame", _wrap_SoSFVec3s_isSame, METH_VARARGS, (char *)"SoSFVec3s_isSame(SoSFVec3s self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3s_getValue", _wrap_SoSFVec3s_getValue, METH_VARARGS, (char *)"SoSFVec3s_getValue(SoSFVec3s self) -> SbVec3s"}, - { (char *)"SoSFVec3s___eq__", _wrap_SoSFVec3s___eq__, METH_VARARGS, (char *)"SoSFVec3s___eq__(SoSFVec3s self, SoSFVec3s field) -> int"}, - { (char *)"SoSFVec3s___ne__", _wrap_SoSFVec3s___ne__, METH_VARARGS, (char *)"SoSFVec3s___ne__(SoSFVec3s self, SoSFVec3s field) -> int"}, - { (char *)"SoSFVec3s_initClass", _wrap_SoSFVec3s_initClass, METH_VARARGS, (char *)"SoSFVec3s_initClass()"}, - { (char *)"SoSFVec3s_setValue", _wrap_SoSFVec3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3s newvalue)\n" - "setValue(short x, short y, short z)\n" - "SoSFVec3s_setValue(SoSFVec3s self, short xyz)\n" - ""}, - { (char *)"SoSFVec3s_swigregister", SoSFVec3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3i32", _wrap_new_SoSFVec3i32, METH_VARARGS, (char *)"new_SoSFVec3i32() -> SoSFVec3i32"}, - { (char *)"delete_SoSFVec3i32", _wrap_delete_SoSFVec3i32, METH_VARARGS, (char *)"delete_SoSFVec3i32(SoSFVec3i32 self)"}, - { (char *)"SoSFVec3i32_createInstance", _wrap_SoSFVec3i32_createInstance, METH_VARARGS, (char *)"SoSFVec3i32_createInstance() -> void"}, - { (char *)"SoSFVec3i32_getClassTypeId", _wrap_SoSFVec3i32_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3i32_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3i32_getTypeId", _wrap_SoSFVec3i32_getTypeId, METH_VARARGS, (char *)"SoSFVec3i32_getTypeId(SoSFVec3i32 self) -> SoType"}, - { (char *)"SoSFVec3i32_copyFrom", _wrap_SoSFVec3i32_copyFrom, METH_VARARGS, (char *)"SoSFVec3i32_copyFrom(SoSFVec3i32 self, SoField field)"}, - { (char *)"SoSFVec3i32_isSame", _wrap_SoSFVec3i32_isSame, METH_VARARGS, (char *)"SoSFVec3i32_isSame(SoSFVec3i32 self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3i32_getValue", _wrap_SoSFVec3i32_getValue, METH_VARARGS, (char *)"SoSFVec3i32_getValue(SoSFVec3i32 self) -> SbVec3i32"}, - { (char *)"SoSFVec3i32___eq__", _wrap_SoSFVec3i32___eq__, METH_VARARGS, (char *)"SoSFVec3i32___eq__(SoSFVec3i32 self, SoSFVec3i32 field) -> int"}, - { (char *)"SoSFVec3i32___ne__", _wrap_SoSFVec3i32___ne__, METH_VARARGS, (char *)"SoSFVec3i32___ne__(SoSFVec3i32 self, SoSFVec3i32 field) -> int"}, - { (char *)"SoSFVec3i32_initClass", _wrap_SoSFVec3i32_initClass, METH_VARARGS, (char *)"SoSFVec3i32_initClass()"}, - { (char *)"SoSFVec3i32_setValue", _wrap_SoSFVec3i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3i32 newvalue)\n" - "setValue(int32_t x, int32_t y, int32_t z)\n" - "SoSFVec3i32_setValue(SoSFVec3i32 self, int32_t xyz)\n" - ""}, - { (char *)"SoSFVec3i32_swigregister", SoSFVec3i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3d", _wrap_new_SoSFVec3d, METH_VARARGS, (char *)"new_SoSFVec3d() -> SoSFVec3d"}, - { (char *)"delete_SoSFVec3d", _wrap_delete_SoSFVec3d, METH_VARARGS, (char *)"delete_SoSFVec3d(SoSFVec3d self)"}, - { (char *)"SoSFVec3d_createInstance", _wrap_SoSFVec3d_createInstance, METH_VARARGS, (char *)"SoSFVec3d_createInstance() -> void"}, - { (char *)"SoSFVec3d_getClassTypeId", _wrap_SoSFVec3d_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3d_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3d_getTypeId", _wrap_SoSFVec3d_getTypeId, METH_VARARGS, (char *)"SoSFVec3d_getTypeId(SoSFVec3d self) -> SoType"}, - { (char *)"SoSFVec3d_copyFrom", _wrap_SoSFVec3d_copyFrom, METH_VARARGS, (char *)"SoSFVec3d_copyFrom(SoSFVec3d self, SoField field)"}, - { (char *)"SoSFVec3d_isSame", _wrap_SoSFVec3d_isSame, METH_VARARGS, (char *)"SoSFVec3d_isSame(SoSFVec3d self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3d_getValue", _wrap_SoSFVec3d_getValue, METH_VARARGS, (char *)"SoSFVec3d_getValue(SoSFVec3d self) -> SbVec3d"}, - { (char *)"SoSFVec3d___eq__", _wrap_SoSFVec3d___eq__, METH_VARARGS, (char *)"SoSFVec3d___eq__(SoSFVec3d self, SoSFVec3d field) -> int"}, - { (char *)"SoSFVec3d___ne__", _wrap_SoSFVec3d___ne__, METH_VARARGS, (char *)"SoSFVec3d___ne__(SoSFVec3d self, SoSFVec3d field) -> int"}, - { (char *)"SoSFVec3d_initClass", _wrap_SoSFVec3d_initClass, METH_VARARGS, (char *)"SoSFVec3d_initClass()"}, - { (char *)"SoSFVec3d_setValue", _wrap_SoSFVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3d newvalue)\n" - "setValue(double x, double y, double z)\n" - "SoSFVec3d_setValue(SoSFVec3d self, double xyz)\n" - ""}, - { (char *)"SoSFVec3d_swigregister", SoSFVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4b", _wrap_new_SbVec4b, METH_VARARGS, (char *)"\n" - "SbVec4b()\n" - "SbVec4b(int8_t v)\n" - "SbVec4b(int8_t x, int8_t y, int8_t z, int8_t w)\n" - "SbVec4b(SbVec4ub v)\n" - "SbVec4b(SbVec4s v)\n" - "SbVec4b(SbVec4i32 v)\n" - "SbVec4b(SbVec4f v)\n" - "new_SbVec4b(SbVec4d v) -> SbVec4b\n" - ""}, - { (char *)"SbVec4b_setValue", _wrap_SbVec4b_setValue, METH_VARARGS, (char *)"\n" - "setValue(int8_t v) -> SbVec4b\n" - "setValue(int8_t x, int8_t y, int8_t z, int8_t w) -> SbVec4b\n" - "setValue(SbVec4ub v) -> SbVec4b\n" - "setValue(SbVec4s v) -> SbVec4b\n" - "setValue(SbVec4i32 v) -> SbVec4b\n" - "setValue(SbVec4f v) -> SbVec4b\n" - "SbVec4b_setValue(SbVec4b self, SbVec4d v) -> SbVec4b\n" - ""}, - { (char *)"SbVec4b_getValue", _wrap_SbVec4b_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int8_t\n" - "SbVec4b_getValue(SbVec4b self, int8_t x, int8_t y, int8_t z, int8_t w)\n" - ""}, - { (char *)"SbVec4b_dot", _wrap_SbVec4b_dot, METH_VARARGS, (char *)"SbVec4b_dot(SbVec4b self, SbVec4b v) -> int32_t"}, - { (char *)"SbVec4b_negate", _wrap_SbVec4b_negate, METH_VARARGS, (char *)"SbVec4b_negate(SbVec4b self)"}, - { (char *)"SbVec4b___imul__", _wrap_SbVec4b___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4b\n" - "SbVec4b___imul__(SbVec4b self, double d) -> SbVec4b\n" - ""}, - { (char *)"SbVec4b___idiv__", _wrap_SbVec4b___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4b\n" - "SbVec4b___idiv__(SbVec4b self, double d) -> SbVec4b\n" - ""}, - { (char *)"SbVec4b___iadd__", _wrap_SbVec4b___iadd__, METH_VARARGS, (char *)"SbVec4b___iadd__(SbVec4b self, SbVec4b v) -> SbVec4b"}, - { (char *)"SbVec4b___isub__", _wrap_SbVec4b___isub__, METH_VARARGS, (char *)"SbVec4b___isub__(SbVec4b self, SbVec4b v) -> SbVec4b"}, - { (char *)"SbVec4b___neg__", _wrap_SbVec4b___neg__, METH_VARARGS, (char *)"SbVec4b___neg__(SbVec4b self) -> SbVec4b"}, - { (char *)"delete_SbVec4b", _wrap_delete_SbVec4b, METH_VARARGS, (char *)"delete_SbVec4b(SbVec4b self)"}, - { (char *)"SbVec4b_swigregister", SbVec4b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4b", _wrap_new_SoSFVec4b, METH_VARARGS, (char *)"new_SoSFVec4b() -> SoSFVec4b"}, - { (char *)"delete_SoSFVec4b", _wrap_delete_SoSFVec4b, METH_VARARGS, (char *)"delete_SoSFVec4b(SoSFVec4b self)"}, - { (char *)"SoSFVec4b_createInstance", _wrap_SoSFVec4b_createInstance, METH_VARARGS, (char *)"SoSFVec4b_createInstance() -> void"}, - { (char *)"SoSFVec4b_getClassTypeId", _wrap_SoSFVec4b_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4b_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4b_getTypeId", _wrap_SoSFVec4b_getTypeId, METH_VARARGS, (char *)"SoSFVec4b_getTypeId(SoSFVec4b self) -> SoType"}, - { (char *)"SoSFVec4b_copyFrom", _wrap_SoSFVec4b_copyFrom, METH_VARARGS, (char *)"SoSFVec4b_copyFrom(SoSFVec4b self, SoField field)"}, - { (char *)"SoSFVec4b_isSame", _wrap_SoSFVec4b_isSame, METH_VARARGS, (char *)"SoSFVec4b_isSame(SoSFVec4b self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4b_getValue", _wrap_SoSFVec4b_getValue, METH_VARARGS, (char *)"SoSFVec4b_getValue(SoSFVec4b self) -> SbVec4b"}, - { (char *)"SoSFVec4b___eq__", _wrap_SoSFVec4b___eq__, METH_VARARGS, (char *)"SoSFVec4b___eq__(SoSFVec4b self, SoSFVec4b field) -> int"}, - { (char *)"SoSFVec4b___ne__", _wrap_SoSFVec4b___ne__, METH_VARARGS, (char *)"SoSFVec4b___ne__(SoSFVec4b self, SoSFVec4b field) -> int"}, - { (char *)"SoSFVec4b_initClass", _wrap_SoSFVec4b_initClass, METH_VARARGS, (char *)"SoSFVec4b_initClass()"}, - { (char *)"SoSFVec4b_setValue", _wrap_SoSFVec4b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4b newvalue)\n" - "setValue(int8_t x, int8_t y, int8_t z, int8_t w)\n" - "SoSFVec4b_setValue(SoSFVec4b self, int8_t xyzw)\n" - ""}, - { (char *)"SoSFVec4b_swigregister", SoSFVec4b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4ub", _wrap_new_SbVec4ub, METH_VARARGS, (char *)"\n" - "SbVec4ub()\n" - "SbVec4ub(uint8_t v)\n" - "SbVec4ub(uint8_t x, uint8_t y, uint8_t z, uint8_t w)\n" - "SbVec4ub(SbVec4b v)\n" - "SbVec4ub(SbVec4us v)\n" - "new_SbVec4ub(SbVec4ui32 v) -> SbVec4ub\n" - ""}, - { (char *)"SbVec4ub_setValue", _wrap_SbVec4ub_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint8_t v) -> SbVec4ub\n" - "setValue(uint8_t x, uint8_t y, uint8_t z, uint8_t w) -> SbVec4ub\n" - "setValue(SbVec4b v) -> SbVec4ub\n" - "setValue(SbVec4us v) -> SbVec4ub\n" - "SbVec4ub_setValue(SbVec4ub self, SbVec4ui32 v) -> SbVec4ub\n" - ""}, - { (char *)"SbVec4ub_getValue", _wrap_SbVec4ub_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> uint8_t\n" - "SbVec4ub_getValue(SbVec4ub self, uint8_t x, uint8_t y, uint8_t z, uint8_t w)\n" - ""}, - { (char *)"SbVec4ub_dot", _wrap_SbVec4ub_dot, METH_VARARGS, (char *)"SbVec4ub_dot(SbVec4ub self, SbVec4ub v) -> int32_t"}, - { (char *)"SbVec4ub_negate", _wrap_SbVec4ub_negate, METH_VARARGS, (char *)"SbVec4ub_negate(SbVec4ub self)"}, - { (char *)"SbVec4ub___imul__", _wrap_SbVec4ub___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4ub\n" - "SbVec4ub___imul__(SbVec4ub self, double d) -> SbVec4ub\n" - ""}, - { (char *)"SbVec4ub___idiv__", _wrap_SbVec4ub___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4ub\n" - "SbVec4ub___idiv__(SbVec4ub self, double d) -> SbVec4ub\n" - ""}, - { (char *)"SbVec4ub___iadd__", _wrap_SbVec4ub___iadd__, METH_VARARGS, (char *)"SbVec4ub___iadd__(SbVec4ub self, SbVec4ub v) -> SbVec4ub"}, - { (char *)"SbVec4ub___isub__", _wrap_SbVec4ub___isub__, METH_VARARGS, (char *)"SbVec4ub___isub__(SbVec4ub self, SbVec4ub v) -> SbVec4ub"}, - { (char *)"SbVec4ub___neg__", _wrap_SbVec4ub___neg__, METH_VARARGS, (char *)"SbVec4ub___neg__(SbVec4ub self) -> SbVec4ub"}, - { (char *)"delete_SbVec4ub", _wrap_delete_SbVec4ub, METH_VARARGS, (char *)"delete_SbVec4ub(SbVec4ub self)"}, - { (char *)"SbVec4ub_swigregister", SbVec4ub_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4ub", _wrap_new_SoSFVec4ub, METH_VARARGS, (char *)"new_SoSFVec4ub() -> SoSFVec4ub"}, - { (char *)"delete_SoSFVec4ub", _wrap_delete_SoSFVec4ub, METH_VARARGS, (char *)"delete_SoSFVec4ub(SoSFVec4ub self)"}, - { (char *)"SoSFVec4ub_createInstance", _wrap_SoSFVec4ub_createInstance, METH_VARARGS, (char *)"SoSFVec4ub_createInstance() -> void"}, - { (char *)"SoSFVec4ub_getClassTypeId", _wrap_SoSFVec4ub_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4ub_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4ub_getTypeId", _wrap_SoSFVec4ub_getTypeId, METH_VARARGS, (char *)"SoSFVec4ub_getTypeId(SoSFVec4ub self) -> SoType"}, - { (char *)"SoSFVec4ub_copyFrom", _wrap_SoSFVec4ub_copyFrom, METH_VARARGS, (char *)"SoSFVec4ub_copyFrom(SoSFVec4ub self, SoField field)"}, - { (char *)"SoSFVec4ub_isSame", _wrap_SoSFVec4ub_isSame, METH_VARARGS, (char *)"SoSFVec4ub_isSame(SoSFVec4ub self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4ub_getValue", _wrap_SoSFVec4ub_getValue, METH_VARARGS, (char *)"SoSFVec4ub_getValue(SoSFVec4ub self) -> SbVec4ub"}, - { (char *)"SoSFVec4ub___eq__", _wrap_SoSFVec4ub___eq__, METH_VARARGS, (char *)"SoSFVec4ub___eq__(SoSFVec4ub self, SoSFVec4ub field) -> int"}, - { (char *)"SoSFVec4ub___ne__", _wrap_SoSFVec4ub___ne__, METH_VARARGS, (char *)"SoSFVec4ub___ne__(SoSFVec4ub self, SoSFVec4ub field) -> int"}, - { (char *)"SoSFVec4ub_initClass", _wrap_SoSFVec4ub_initClass, METH_VARARGS, (char *)"SoSFVec4ub_initClass()"}, - { (char *)"SoSFVec4ub_setValue", _wrap_SoSFVec4ub_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4ub newvalue)\n" - "setValue(uint8_t x, uint8_t y, uint8_t z, uint8_t w)\n" - "SoSFVec4ub_setValue(SoSFVec4ub self, uint8_t xyzw)\n" - ""}, - { (char *)"SoSFVec4ub_swigregister", SoSFVec4ub_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4s", _wrap_new_SbVec4s, METH_VARARGS, (char *)"\n" - "SbVec4s()\n" - "SbVec4s(short v)\n" - "SbVec4s(short x, short y, short z, short w)\n" - "SbVec4s(SbVec4us v)\n" - "SbVec4s(SbVec4b v)\n" - "SbVec4s(SbVec4i32 v)\n" - "SbVec4s(SbVec4f v)\n" - "new_SbVec4s(SbVec4d v) -> SbVec4s\n" - ""}, - { (char *)"SbVec4s_setValue", _wrap_SbVec4s_setValue, METH_VARARGS, (char *)"\n" - "setValue(short v) -> SbVec4s\n" - "setValue(short x, short y, short z, short w) -> SbVec4s\n" - "setValue(SbVec4s v) -> SbVec4s\n" - "setValue(SbVec4us v) -> SbVec4s\n" - "setValue(SbVec4b v) -> SbVec4s\n" - "setValue(SbVec4i32 v) -> SbVec4s\n" - "setValue(SbVec4f v) -> SbVec4s\n" - "SbVec4s_setValue(SbVec4s self, SbVec4d v) -> SbVec4s\n" - ""}, - { (char *)"SbVec4s_getValue", _wrap_SbVec4s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> short\n" - "SbVec4s_getValue(SbVec4s self, short x, short y, short z, short w)\n" - ""}, - { (char *)"SbVec4s_dot", _wrap_SbVec4s_dot, METH_VARARGS, (char *)"SbVec4s_dot(SbVec4s self, SbVec4s v) -> int32_t"}, - { (char *)"SbVec4s_negate", _wrap_SbVec4s_negate, METH_VARARGS, (char *)"SbVec4s_negate(SbVec4s self)"}, - { (char *)"SbVec4s___imul__", _wrap_SbVec4s___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4s\n" - "SbVec4s___imul__(SbVec4s self, double d) -> SbVec4s\n" - ""}, - { (char *)"SbVec4s___idiv__", _wrap_SbVec4s___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4s\n" - "SbVec4s___idiv__(SbVec4s self, double d) -> SbVec4s\n" - ""}, - { (char *)"SbVec4s___iadd__", _wrap_SbVec4s___iadd__, METH_VARARGS, (char *)"SbVec4s___iadd__(SbVec4s self, SbVec4s v) -> SbVec4s"}, - { (char *)"SbVec4s___isub__", _wrap_SbVec4s___isub__, METH_VARARGS, (char *)"SbVec4s___isub__(SbVec4s self, SbVec4s v) -> SbVec4s"}, - { (char *)"SbVec4s___neg__", _wrap_SbVec4s___neg__, METH_VARARGS, (char *)"SbVec4s___neg__(SbVec4s self) -> SbVec4s"}, - { (char *)"delete_SbVec4s", _wrap_delete_SbVec4s, METH_VARARGS, (char *)"delete_SbVec4s(SbVec4s self)"}, - { (char *)"SbVec4s_swigregister", SbVec4s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4s", _wrap_new_SoSFVec4s, METH_VARARGS, (char *)"new_SoSFVec4s() -> SoSFVec4s"}, - { (char *)"delete_SoSFVec4s", _wrap_delete_SoSFVec4s, METH_VARARGS, (char *)"delete_SoSFVec4s(SoSFVec4s self)"}, - { (char *)"SoSFVec4s_createInstance", _wrap_SoSFVec4s_createInstance, METH_VARARGS, (char *)"SoSFVec4s_createInstance() -> void"}, - { (char *)"SoSFVec4s_getClassTypeId", _wrap_SoSFVec4s_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4s_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4s_getTypeId", _wrap_SoSFVec4s_getTypeId, METH_VARARGS, (char *)"SoSFVec4s_getTypeId(SoSFVec4s self) -> SoType"}, - { (char *)"SoSFVec4s_copyFrom", _wrap_SoSFVec4s_copyFrom, METH_VARARGS, (char *)"SoSFVec4s_copyFrom(SoSFVec4s self, SoField field)"}, - { (char *)"SoSFVec4s_isSame", _wrap_SoSFVec4s_isSame, METH_VARARGS, (char *)"SoSFVec4s_isSame(SoSFVec4s self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4s_getValue", _wrap_SoSFVec4s_getValue, METH_VARARGS, (char *)"SoSFVec4s_getValue(SoSFVec4s self) -> SbVec4s"}, - { (char *)"SoSFVec4s___eq__", _wrap_SoSFVec4s___eq__, METH_VARARGS, (char *)"SoSFVec4s___eq__(SoSFVec4s self, SoSFVec4s field) -> int"}, - { (char *)"SoSFVec4s___ne__", _wrap_SoSFVec4s___ne__, METH_VARARGS, (char *)"SoSFVec4s___ne__(SoSFVec4s self, SoSFVec4s field) -> int"}, - { (char *)"SoSFVec4s_initClass", _wrap_SoSFVec4s_initClass, METH_VARARGS, (char *)"SoSFVec4s_initClass()"}, - { (char *)"SoSFVec4s_setValue", _wrap_SoSFVec4s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4s newvalue)\n" - "setValue(short x, short y, short z, short w)\n" - "SoSFVec4s_setValue(SoSFVec4s self, short xyzw)\n" - ""}, - { (char *)"SoSFVec4s_swigregister", SoSFVec4s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4us", _wrap_new_SbVec4us, METH_VARARGS, (char *)"\n" - "SbVec4us()\n" - "SbVec4us(unsigned short v)\n" - "SbVec4us(unsigned short x, unsigned short y, unsigned short z, \n" - " unsigned short w)\n" - "SbVec4us(SbVec4s v)\n" - "SbVec4us(SbVec4ub v)\n" - "new_SbVec4us(SbVec4ui32 v) -> SbVec4us\n" - ""}, - { (char *)"SbVec4us_setValue", _wrap_SbVec4us_setValue, METH_VARARGS, (char *)"\n" - "setValue(unsigned short v) -> SbVec4us\n" - "setValue(unsigned short x, unsigned short y, unsigned short z, \n" - " unsigned short w) -> SbVec4us\n" - "setValue(SbVec4s v) -> SbVec4us\n" - "setValue(SbVec4ub v) -> SbVec4us\n" - "SbVec4us_setValue(SbVec4us self, SbVec4ui32 v) -> SbVec4us\n" - ""}, - { (char *)"SbVec4us_getValue", _wrap_SbVec4us_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> unsigned short\n" - "SbVec4us_getValue(SbVec4us self, unsigned short x, unsigned short y, \n" - " unsigned short z, unsigned short w)\n" - ""}, - { (char *)"SbVec4us_dot", _wrap_SbVec4us_dot, METH_VARARGS, (char *)"SbVec4us_dot(SbVec4us self, SbVec4us v) -> int32_t"}, - { (char *)"SbVec4us_negate", _wrap_SbVec4us_negate, METH_VARARGS, (char *)"SbVec4us_negate(SbVec4us self)"}, - { (char *)"SbVec4us___imul__", _wrap_SbVec4us___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4us\n" - "SbVec4us___imul__(SbVec4us self, double d) -> SbVec4us\n" - ""}, - { (char *)"SbVec4us___idiv__", _wrap_SbVec4us___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4us\n" - "SbVec4us___idiv__(SbVec4us self, double d) -> SbVec4us\n" - ""}, - { (char *)"SbVec4us___iadd__", _wrap_SbVec4us___iadd__, METH_VARARGS, (char *)"SbVec4us___iadd__(SbVec4us self, SbVec4us v) -> SbVec4us"}, - { (char *)"SbVec4us___isub__", _wrap_SbVec4us___isub__, METH_VARARGS, (char *)"SbVec4us___isub__(SbVec4us self, SbVec4us v) -> SbVec4us"}, - { (char *)"SbVec4us___neg__", _wrap_SbVec4us___neg__, METH_VARARGS, (char *)"SbVec4us___neg__(SbVec4us self) -> SbVec4us"}, - { (char *)"delete_SbVec4us", _wrap_delete_SbVec4us, METH_VARARGS, (char *)"delete_SbVec4us(SbVec4us self)"}, - { (char *)"SbVec4us_swigregister", SbVec4us_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4us", _wrap_new_SoSFVec4us, METH_VARARGS, (char *)"new_SoSFVec4us() -> SoSFVec4us"}, - { (char *)"delete_SoSFVec4us", _wrap_delete_SoSFVec4us, METH_VARARGS, (char *)"delete_SoSFVec4us(SoSFVec4us self)"}, - { (char *)"SoSFVec4us_createInstance", _wrap_SoSFVec4us_createInstance, METH_VARARGS, (char *)"SoSFVec4us_createInstance() -> void"}, - { (char *)"SoSFVec4us_getClassTypeId", _wrap_SoSFVec4us_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4us_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4us_getTypeId", _wrap_SoSFVec4us_getTypeId, METH_VARARGS, (char *)"SoSFVec4us_getTypeId(SoSFVec4us self) -> SoType"}, - { (char *)"SoSFVec4us_copyFrom", _wrap_SoSFVec4us_copyFrom, METH_VARARGS, (char *)"SoSFVec4us_copyFrom(SoSFVec4us self, SoField field)"}, - { (char *)"SoSFVec4us_isSame", _wrap_SoSFVec4us_isSame, METH_VARARGS, (char *)"SoSFVec4us_isSame(SoSFVec4us self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4us_getValue", _wrap_SoSFVec4us_getValue, METH_VARARGS, (char *)"SoSFVec4us_getValue(SoSFVec4us self) -> SbVec4us"}, - { (char *)"SoSFVec4us___eq__", _wrap_SoSFVec4us___eq__, METH_VARARGS, (char *)"SoSFVec4us___eq__(SoSFVec4us self, SoSFVec4us field) -> int"}, - { (char *)"SoSFVec4us___ne__", _wrap_SoSFVec4us___ne__, METH_VARARGS, (char *)"SoSFVec4us___ne__(SoSFVec4us self, SoSFVec4us field) -> int"}, - { (char *)"SoSFVec4us_initClass", _wrap_SoSFVec4us_initClass, METH_VARARGS, (char *)"SoSFVec4us_initClass()"}, - { (char *)"SoSFVec4us_setValue", _wrap_SoSFVec4us_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4us newvalue)\n" - "setValue(unsigned short x, unsigned short y, unsigned short z, \n" - " unsigned short w)\n" - "SoSFVec4us_setValue(SoSFVec4us self, unsigned short xyzw)\n" - ""}, - { (char *)"SoSFVec4us_swigregister", SoSFVec4us_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4i32", _wrap_new_SbVec4i32, METH_VARARGS, (char *)"\n" - "SbVec4i32()\n" - "SbVec4i32(int32_t v)\n" - "SbVec4i32(int32_t x, int32_t y, int32_t z, int32_t w)\n" - "SbVec4i32(SbVec4ui32 v)\n" - "SbVec4i32(SbVec4b v)\n" - "SbVec4i32(SbVec4s v)\n" - "SbVec4i32(SbVec4f v)\n" - "new_SbVec4i32(SbVec4d v) -> SbVec4i32\n" - ""}, - { (char *)"SbVec4i32_setValue", _wrap_SbVec4i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t v) -> SbVec4i32\n" - "setValue(int32_t x, int32_t y, int32_t z, int32_t w) -> SbVec4i32\n" - "setValue(SbVec4ui32 v) -> SbVec4i32\n" - "setValue(SbVec4b v) -> SbVec4i32\n" - "setValue(SbVec4s v) -> SbVec4i32\n" - "setValue(SbVec4f v) -> SbVec4i32\n" - "SbVec4i32_setValue(SbVec4i32 self, SbVec4d v) -> SbVec4i32\n" - ""}, - { (char *)"SbVec4i32_getValue", _wrap_SbVec4i32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> int32_t\n" - "SbVec4i32_getValue(SbVec4i32 self, int32_t x, int32_t y, int32_t z, int32_t w)\n" - ""}, - { (char *)"SbVec4i32_dot", _wrap_SbVec4i32_dot, METH_VARARGS, (char *)"SbVec4i32_dot(SbVec4i32 self, SbVec4i32 v) -> int32_t"}, - { (char *)"SbVec4i32_negate", _wrap_SbVec4i32_negate, METH_VARARGS, (char *)"SbVec4i32_negate(SbVec4i32 self)"}, - { (char *)"SbVec4i32___imul__", _wrap_SbVec4i32___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4i32\n" - "SbVec4i32___imul__(SbVec4i32 self, double d) -> SbVec4i32\n" - ""}, - { (char *)"SbVec4i32___idiv__", _wrap_SbVec4i32___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4i32\n" - "SbVec4i32___idiv__(SbVec4i32 self, double d) -> SbVec4i32\n" - ""}, - { (char *)"SbVec4i32___iadd__", _wrap_SbVec4i32___iadd__, METH_VARARGS, (char *)"SbVec4i32___iadd__(SbVec4i32 self, SbVec4i32 v) -> SbVec4i32"}, - { (char *)"SbVec4i32___isub__", _wrap_SbVec4i32___isub__, METH_VARARGS, (char *)"SbVec4i32___isub__(SbVec4i32 self, SbVec4i32 v) -> SbVec4i32"}, - { (char *)"SbVec4i32___neg__", _wrap_SbVec4i32___neg__, METH_VARARGS, (char *)"SbVec4i32___neg__(SbVec4i32 self) -> SbVec4i32"}, - { (char *)"delete_SbVec4i32", _wrap_delete_SbVec4i32, METH_VARARGS, (char *)"delete_SbVec4i32(SbVec4i32 self)"}, - { (char *)"SbVec4i32_swigregister", SbVec4i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4i32", _wrap_new_SoSFVec4i32, METH_VARARGS, (char *)"new_SoSFVec4i32() -> SoSFVec4i32"}, - { (char *)"delete_SoSFVec4i32", _wrap_delete_SoSFVec4i32, METH_VARARGS, (char *)"delete_SoSFVec4i32(SoSFVec4i32 self)"}, - { (char *)"SoSFVec4i32_createInstance", _wrap_SoSFVec4i32_createInstance, METH_VARARGS, (char *)"SoSFVec4i32_createInstance() -> void"}, - { (char *)"SoSFVec4i32_getClassTypeId", _wrap_SoSFVec4i32_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4i32_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4i32_getTypeId", _wrap_SoSFVec4i32_getTypeId, METH_VARARGS, (char *)"SoSFVec4i32_getTypeId(SoSFVec4i32 self) -> SoType"}, - { (char *)"SoSFVec4i32_copyFrom", _wrap_SoSFVec4i32_copyFrom, METH_VARARGS, (char *)"SoSFVec4i32_copyFrom(SoSFVec4i32 self, SoField field)"}, - { (char *)"SoSFVec4i32_isSame", _wrap_SoSFVec4i32_isSame, METH_VARARGS, (char *)"SoSFVec4i32_isSame(SoSFVec4i32 self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4i32_getValue", _wrap_SoSFVec4i32_getValue, METH_VARARGS, (char *)"SoSFVec4i32_getValue(SoSFVec4i32 self) -> SbVec4i32"}, - { (char *)"SoSFVec4i32___eq__", _wrap_SoSFVec4i32___eq__, METH_VARARGS, (char *)"SoSFVec4i32___eq__(SoSFVec4i32 self, SoSFVec4i32 field) -> int"}, - { (char *)"SoSFVec4i32___ne__", _wrap_SoSFVec4i32___ne__, METH_VARARGS, (char *)"SoSFVec4i32___ne__(SoSFVec4i32 self, SoSFVec4i32 field) -> int"}, - { (char *)"SoSFVec4i32_initClass", _wrap_SoSFVec4i32_initClass, METH_VARARGS, (char *)"SoSFVec4i32_initClass()"}, - { (char *)"SoSFVec4i32_setValue", _wrap_SoSFVec4i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4i32 newvalue)\n" - "setValue(int32_t x, int32_t y, int32_t z, int32_t w)\n" - "SoSFVec4i32_setValue(SoSFVec4i32 self, int32_t xyzw)\n" - ""}, - { (char *)"SoSFVec4i32_swigregister", SoSFVec4i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4ui32", _wrap_new_SbVec4ui32, METH_VARARGS, (char *)"\n" - "SbVec4ui32()\n" - "SbVec4ui32(uint32_t v)\n" - "SbVec4ui32(uint32_t x, uint32_t y, uint32_t z, uint32_t w)\n" - "SbVec4ui32(SbVec4i32 v)\n" - "SbVec4ui32(SbVec4ub v)\n" - "new_SbVec4ui32(SbVec4us v) -> SbVec4ui32\n" - ""}, - { (char *)"SbVec4ui32_setValue", _wrap_SbVec4ui32_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint32_t v) -> SbVec4ui32\n" - "setValue(uint32_t x, uint32_t y, uint32_t z, uint32_t w) -> SbVec4ui32\n" - "setValue(SbVec4i32 v) -> SbVec4ui32\n" - "setValue(SbVec4ub v) -> SbVec4ui32\n" - "SbVec4ui32_setValue(SbVec4ui32 self, SbVec4us v) -> SbVec4ui32\n" - ""}, - { (char *)"SbVec4ui32_getValue", _wrap_SbVec4ui32_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> uint32_t\n" - "SbVec4ui32_getValue(SbVec4ui32 self, uint32_t x, uint32_t y, uint32_t z, \n" - " uint32_t w)\n" - ""}, - { (char *)"SbVec4ui32_dot", _wrap_SbVec4ui32_dot, METH_VARARGS, (char *)"SbVec4ui32_dot(SbVec4ui32 self, SbVec4ui32 v) -> int32_t"}, - { (char *)"SbVec4ui32_negate", _wrap_SbVec4ui32_negate, METH_VARARGS, (char *)"SbVec4ui32_negate(SbVec4ui32 self)"}, - { (char *)"SbVec4ui32___imul__", _wrap_SbVec4ui32___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec4ui32\n" - "SbVec4ui32___imul__(SbVec4ui32 self, double d) -> SbVec4ui32\n" - ""}, - { (char *)"SbVec4ui32___idiv__", _wrap_SbVec4ui32___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec4ui32\n" - "SbVec4ui32___idiv__(SbVec4ui32 self, double d) -> SbVec4ui32\n" - ""}, - { (char *)"SbVec4ui32___iadd__", _wrap_SbVec4ui32___iadd__, METH_VARARGS, (char *)"SbVec4ui32___iadd__(SbVec4ui32 self, SbVec4ui32 v) -> SbVec4ui32"}, - { (char *)"SbVec4ui32___isub__", _wrap_SbVec4ui32___isub__, METH_VARARGS, (char *)"SbVec4ui32___isub__(SbVec4ui32 self, SbVec4ui32 v) -> SbVec4ui32"}, - { (char *)"SbVec4ui32___neg__", _wrap_SbVec4ui32___neg__, METH_VARARGS, (char *)"SbVec4ui32___neg__(SbVec4ui32 self) -> SbVec4ui32"}, - { (char *)"delete_SbVec4ui32", _wrap_delete_SbVec4ui32, METH_VARARGS, (char *)"delete_SbVec4ui32(SbVec4ui32 self)"}, - { (char *)"SbVec4ui32_swigregister", SbVec4ui32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4ui32", _wrap_new_SoSFVec4ui32, METH_VARARGS, (char *)"new_SoSFVec4ui32() -> SoSFVec4ui32"}, - { (char *)"delete_SoSFVec4ui32", _wrap_delete_SoSFVec4ui32, METH_VARARGS, (char *)"delete_SoSFVec4ui32(SoSFVec4ui32 self)"}, - { (char *)"SoSFVec4ui32_createInstance", _wrap_SoSFVec4ui32_createInstance, METH_VARARGS, (char *)"SoSFVec4ui32_createInstance() -> void"}, - { (char *)"SoSFVec4ui32_getClassTypeId", _wrap_SoSFVec4ui32_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4ui32_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4ui32_getTypeId", _wrap_SoSFVec4ui32_getTypeId, METH_VARARGS, (char *)"SoSFVec4ui32_getTypeId(SoSFVec4ui32 self) -> SoType"}, - { (char *)"SoSFVec4ui32_copyFrom", _wrap_SoSFVec4ui32_copyFrom, METH_VARARGS, (char *)"SoSFVec4ui32_copyFrom(SoSFVec4ui32 self, SoField field)"}, - { (char *)"SoSFVec4ui32_isSame", _wrap_SoSFVec4ui32_isSame, METH_VARARGS, (char *)"SoSFVec4ui32_isSame(SoSFVec4ui32 self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4ui32_getValue", _wrap_SoSFVec4ui32_getValue, METH_VARARGS, (char *)"SoSFVec4ui32_getValue(SoSFVec4ui32 self) -> SbVec4ui32"}, - { (char *)"SoSFVec4ui32___eq__", _wrap_SoSFVec4ui32___eq__, METH_VARARGS, (char *)"SoSFVec4ui32___eq__(SoSFVec4ui32 self, SoSFVec4ui32 field) -> int"}, - { (char *)"SoSFVec4ui32___ne__", _wrap_SoSFVec4ui32___ne__, METH_VARARGS, (char *)"SoSFVec4ui32___ne__(SoSFVec4ui32 self, SoSFVec4ui32 field) -> int"}, - { (char *)"SoSFVec4ui32_initClass", _wrap_SoSFVec4ui32_initClass, METH_VARARGS, (char *)"SoSFVec4ui32_initClass()"}, - { (char *)"SoSFVec4ui32_setValue", _wrap_SoSFVec4ui32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4ui32 newvalue)\n" - "setValue(uint32_t x, uint32_t y, uint32_t z, uint32_t w)\n" - "SoSFVec4ui32_setValue(SoSFVec4ui32 self, uint32_t xyzw)\n" - ""}, - { (char *)"SoSFVec4ui32_swigregister", SoSFVec4ui32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4f", _wrap_new_SoSFVec4f, METH_VARARGS, (char *)"new_SoSFVec4f() -> SoSFVec4f"}, - { (char *)"delete_SoSFVec4f", _wrap_delete_SoSFVec4f, METH_VARARGS, (char *)"delete_SoSFVec4f(SoSFVec4f self)"}, - { (char *)"SoSFVec4f_createInstance", _wrap_SoSFVec4f_createInstance, METH_VARARGS, (char *)"SoSFVec4f_createInstance() -> void"}, - { (char *)"SoSFVec4f_getClassTypeId", _wrap_SoSFVec4f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4f_getTypeId", _wrap_SoSFVec4f_getTypeId, METH_VARARGS, (char *)"SoSFVec4f_getTypeId(SoSFVec4f self) -> SoType"}, - { (char *)"SoSFVec4f_copyFrom", _wrap_SoSFVec4f_copyFrom, METH_VARARGS, (char *)"SoSFVec4f_copyFrom(SoSFVec4f self, SoField field)"}, - { (char *)"SoSFVec4f_isSame", _wrap_SoSFVec4f_isSame, METH_VARARGS, (char *)"SoSFVec4f_isSame(SoSFVec4f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4f_getValue", _wrap_SoSFVec4f_getValue, METH_VARARGS, (char *)"SoSFVec4f_getValue(SoSFVec4f self) -> SbVec4f"}, - { (char *)"SoSFVec4f___eq__", _wrap_SoSFVec4f___eq__, METH_VARARGS, (char *)"SoSFVec4f___eq__(SoSFVec4f self, SoSFVec4f field) -> int"}, - { (char *)"SoSFVec4f___ne__", _wrap_SoSFVec4f___ne__, METH_VARARGS, (char *)"SoSFVec4f___ne__(SoSFVec4f self, SoSFVec4f field) -> int"}, - { (char *)"SoSFVec4f_initClass", _wrap_SoSFVec4f_initClass, METH_VARARGS, (char *)"SoSFVec4f_initClass()"}, - { (char *)"SoSFVec4f_setValue", _wrap_SoSFVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4f newvalue)\n" - "setValue(float x, float y, float z, float w)\n" - "setValue(float xyzw)\n" - "SoSFVec4f_setValue(SoSFVec4f self, SoSFVec4f other)\n" - ""}, - { (char *)"SoSFVec4f_swigregister", SoSFVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4d", _wrap_new_SbVec4d, METH_VARARGS, (char *)"\n" - "SbVec4d()\n" - "SbVec4d(double v)\n" - "SbVec4d(double x, double y, double z, double w)\n" - "SbVec4d(SbVec4f v)\n" - "SbVec4d(SbVec4b v)\n" - "SbVec4d(SbVec4s v)\n" - "new_SbVec4d(SbVec4i32 v) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d_setValue", _wrap_SbVec4d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec4d\n" - "setValue(double x, double y, double z, double w) -> SbVec4d\n" - "setValue(SbVec4f v) -> SbVec4d\n" - "setValue(SbVec4b v) -> SbVec4d\n" - "setValue(SbVec4s v) -> SbVec4d\n" - "SbVec4d_setValue(SbVec4d self, SbVec4i32 v) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d_getValue", _wrap_SbVec4d_getValue, METH_VARARGS, (char *)"SbVec4d_getValue(SbVec4d self) -> double"}, - { (char *)"SbVec4d_dot", _wrap_SbVec4d_dot, METH_VARARGS, (char *)"SbVec4d_dot(SbVec4d self, SbVec4d v) -> double"}, - { (char *)"SbVec4d_equals", _wrap_SbVec4d_equals, METH_VARARGS, (char *)"SbVec4d_equals(SbVec4d self, SbVec4d v, double tolerance) -> SbBool"}, - { (char *)"SbVec4d_getReal", _wrap_SbVec4d_getReal, METH_VARARGS, (char *)"SbVec4d_getReal(SbVec4d self, SbVec3d v)"}, - { (char *)"SbVec4d_length", _wrap_SbVec4d_length, METH_VARARGS, (char *)"SbVec4d_length(SbVec4d self) -> double"}, - { (char *)"SbVec4d_sqrLength", _wrap_SbVec4d_sqrLength, METH_VARARGS, (char *)"SbVec4d_sqrLength(SbVec4d self) -> double"}, - { (char *)"SbVec4d_negate", _wrap_SbVec4d_negate, METH_VARARGS, (char *)"SbVec4d_negate(SbVec4d self)"}, - { (char *)"SbVec4d_normalize", _wrap_SbVec4d_normalize, METH_VARARGS, (char *)"SbVec4d_normalize(SbVec4d self) -> double"}, - { (char *)"SbVec4d___imul__", _wrap_SbVec4d___imul__, METH_VARARGS, (char *)"SbVec4d___imul__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___idiv__", _wrap_SbVec4d___idiv__, METH_VARARGS, (char *)"SbVec4d___idiv__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___iadd__", _wrap_SbVec4d___iadd__, METH_VARARGS, (char *)"SbVec4d___iadd__(SbVec4d self, SbVec4d v) -> SbVec4d"}, - { (char *)"SbVec4d___isub__", _wrap_SbVec4d___isub__, METH_VARARGS, (char *)"SbVec4d___isub__(SbVec4d self, SbVec4d v) -> SbVec4d"}, - { (char *)"SbVec4d___neg__", _wrap_SbVec4d___neg__, METH_VARARGS, (char *)"SbVec4d___neg__(SbVec4d self) -> SbVec4d"}, - { (char *)"SbVec4d_output", _wrap_SbVec4d_output, METH_VARARGS, (char *)"SbVec4d_output(SbVec4d self, FILE fp)"}, - { (char *)"SbVec4d___add__", _wrap_SbVec4d___add__, METH_VARARGS, (char *)"SbVec4d___add__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___sub__", _wrap_SbVec4d___sub__, METH_VARARGS, (char *)"SbVec4d___sub__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___mul__", _wrap_SbVec4d___mul__, METH_VARARGS, (char *)"\n" - "__mul__(double d) -> SbVec4d\n" - "SbVec4d___mul__(SbVec4d self, SbDPMatrix m) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d___rmul__", _wrap_SbVec4d___rmul__, METH_VARARGS, (char *)"SbVec4d___rmul__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___div__", _wrap_SbVec4d___div__, METH_VARARGS, (char *)"SbVec4d___div__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___eq__", _wrap_SbVec4d___eq__, METH_VARARGS, (char *)"SbVec4d___eq__(SbVec4d self, SbVec4d u) -> int"}, - { (char *)"SbVec4d___nq__", _wrap_SbVec4d___nq__, METH_VARARGS, (char *)"SbVec4d___nq__(SbVec4d self, SbVec4d u) -> int"}, - { (char *)"SbVec4d___getitem__", _wrap_SbVec4d___getitem__, METH_VARARGS, (char *)"SbVec4d___getitem__(SbVec4d self, int i) -> double"}, - { (char *)"SbVec4d___setitem__", _wrap_SbVec4d___setitem__, METH_VARARGS, (char *)"SbVec4d___setitem__(SbVec4d self, int i, double value)"}, - { (char *)"delete_SbVec4d", _wrap_delete_SbVec4d, METH_VARARGS, (char *)"delete_SbVec4d(SbVec4d self)"}, - { (char *)"SbVec4d_swigregister", SbVec4d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4d", _wrap_new_SoSFVec4d, METH_VARARGS, (char *)"new_SoSFVec4d() -> SoSFVec4d"}, - { (char *)"delete_SoSFVec4d", _wrap_delete_SoSFVec4d, METH_VARARGS, (char *)"delete_SoSFVec4d(SoSFVec4d self)"}, - { (char *)"SoSFVec4d_createInstance", _wrap_SoSFVec4d_createInstance, METH_VARARGS, (char *)"SoSFVec4d_createInstance() -> void"}, - { (char *)"SoSFVec4d_getClassTypeId", _wrap_SoSFVec4d_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4d_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4d_getTypeId", _wrap_SoSFVec4d_getTypeId, METH_VARARGS, (char *)"SoSFVec4d_getTypeId(SoSFVec4d self) -> SoType"}, - { (char *)"SoSFVec4d_copyFrom", _wrap_SoSFVec4d_copyFrom, METH_VARARGS, (char *)"SoSFVec4d_copyFrom(SoSFVec4d self, SoField field)"}, - { (char *)"SoSFVec4d_isSame", _wrap_SoSFVec4d_isSame, METH_VARARGS, (char *)"SoSFVec4d_isSame(SoSFVec4d self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4d_getValue", _wrap_SoSFVec4d_getValue, METH_VARARGS, (char *)"SoSFVec4d_getValue(SoSFVec4d self) -> SbVec4d"}, - { (char *)"SoSFVec4d___eq__", _wrap_SoSFVec4d___eq__, METH_VARARGS, (char *)"SoSFVec4d___eq__(SoSFVec4d self, SoSFVec4d field) -> int"}, - { (char *)"SoSFVec4d___ne__", _wrap_SoSFVec4d___ne__, METH_VARARGS, (char *)"SoSFVec4d___ne__(SoSFVec4d self, SoSFVec4d field) -> int"}, - { (char *)"SoSFVec4d_initClass", _wrap_SoSFVec4d_initClass, METH_VARARGS, (char *)"SoSFVec4d_initClass()"}, - { (char *)"SoSFVec4d_setValue", _wrap_SoSFVec4d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4d newvalue)\n" - "setValue(double x, double y, double z, double w)\n" - "SoSFVec4d_setValue(SoSFVec4d self, double xyzw)\n" - ""}, - { (char *)"SoSFVec4d_swigregister", SoSFVec4d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFColor", _wrap_new_SoMFColor, METH_VARARGS, (char *)"new_SoMFColor() -> SoMFColor"}, - { (char *)"delete_SoMFColor", _wrap_delete_SoMFColor, METH_VARARGS, (char *)"delete_SoMFColor(SoMFColor self)"}, - { (char *)"SoMFColor_createInstance", _wrap_SoMFColor_createInstance, METH_VARARGS, (char *)"SoMFColor_createInstance() -> void"}, - { (char *)"SoMFColor_getClassTypeId", _wrap_SoMFColor_getClassTypeId, METH_VARARGS, (char *)"SoMFColor_getClassTypeId() -> SoType"}, - { (char *)"SoMFColor_getTypeId", _wrap_SoMFColor_getTypeId, METH_VARARGS, (char *)"SoMFColor_getTypeId(SoMFColor self) -> SoType"}, - { (char *)"SoMFColor_copyFrom", _wrap_SoMFColor_copyFrom, METH_VARARGS, (char *)"SoMFColor_copyFrom(SoMFColor self, SoField field)"}, - { (char *)"SoMFColor_isSame", _wrap_SoMFColor_isSame, METH_VARARGS, (char *)"SoMFColor_isSame(SoMFColor self, SoField field) -> SbBool"}, - { (char *)"SoMFColor_find", _wrap_SoMFColor_find, METH_VARARGS, (char *)"\n" - "find(SbColor value, SbBool addifnotfound=0) -> int\n" - "SoMFColor_find(SoMFColor self, SbColor value) -> int\n" - ""}, - { (char *)"SoMFColor___eq__", _wrap_SoMFColor___eq__, METH_VARARGS, (char *)"SoMFColor___eq__(SoMFColor self, SoMFColor field) -> SbBool"}, - { (char *)"SoMFColor___ne__", _wrap_SoMFColor___ne__, METH_VARARGS, (char *)"SoMFColor___ne__(SoMFColor self, SoMFColor field) -> SbBool"}, - { (char *)"SoMFColor_startEditing", _wrap_SoMFColor_startEditing, METH_VARARGS, (char *)"SoMFColor_startEditing(SoMFColor self) -> SbColor"}, - { (char *)"SoMFColor_finishEditing", _wrap_SoMFColor_finishEditing, METH_VARARGS, (char *)"SoMFColor_finishEditing(SoMFColor self)"}, - { (char *)"SoMFColor_setValuesPointer", _wrap_SoMFColor_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, SbColor userdata)\n" - "SoMFColor_setValuesPointer(SoMFColor self, int num, SbColor userdata)\n" - ""}, - { (char *)"SoMFColor_initClass", _wrap_SoMFColor_initClass, METH_VARARGS, (char *)"SoMFColor_initClass()"}, - { (char *)"SoMFColor_setValues", _wrap_SoMFColor_setValues, METH_VARARGS, (char *)"SoMFColor_setValues(SoMFColor self, int start, int num, float rgb)"}, - { (char *)"SoMFColor_setHSVValues", _wrap_SoMFColor_setHSVValues, METH_VARARGS, (char *)"SoMFColor_setHSVValues(SoMFColor self, int start, int num, float hsv)"}, - { (char *)"SoMFColor_setHSVValue", _wrap_SoMFColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v)\n" - "SoMFColor_setHSVValue(SoMFColor self, float hsv)\n" - ""}, - { (char *)"SoMFColor_set1Value", _wrap_SoMFColor_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbColor value)\n" - "set1Value(int idx, SbVec3f vec)\n" - "set1Value(int idx, float r, float g, float b)\n" - "SoMFColor_set1Value(SoMFColor self, int idx, float rgb)\n" - ""}, - { (char *)"SoMFColor_set1HSVValue", _wrap_SoMFColor_set1HSVValue, METH_VARARGS, (char *)"\n" - "set1HSVValue(int idx, float h, float s, float v)\n" - "SoMFColor_set1HSVValue(SoMFColor self, int idx, float hsv)\n" - ""}, - { (char *)"SoMFColor___getitem__", _wrap_SoMFColor___getitem__, METH_VARARGS, (char *)"SoMFColor___getitem__(SoMFColor self, int i) -> SbColor"}, - { (char *)"SoMFColor___setitem__", _wrap_SoMFColor___setitem__, METH_VARARGS, (char *)"\n" - "__setitem__(int i, SbColor value)\n" - "SoMFColor___setitem__(SoMFColor self, int i, float rgb)\n" - ""}, - { (char *)"SoMFColor_setValue", _wrap_SoMFColor_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor value)\n" - "setValue(SbVec3f vec)\n" - "setValue(float r, float g, float b)\n" - "setValue(float rgb)\n" - "SoMFColor_setValue(SoMFColor self, SoMFColor other)\n" - ""}, - { (char *)"SoMFColor_getValues", _wrap_SoMFColor_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbColor\n" - "SoMFColor_getValues(SoMFColor self, int len) -> SbColor\n" - ""}, - { (char *)"SoMFColor_swigregister", SoMFColor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFColorRGBA", _wrap_new_SoMFColorRGBA, METH_VARARGS, (char *)"new_SoMFColorRGBA() -> SoMFColorRGBA"}, - { (char *)"delete_SoMFColorRGBA", _wrap_delete_SoMFColorRGBA, METH_VARARGS, (char *)"delete_SoMFColorRGBA(SoMFColorRGBA self)"}, - { (char *)"SoMFColorRGBA_createInstance", _wrap_SoMFColorRGBA_createInstance, METH_VARARGS, (char *)"SoMFColorRGBA_createInstance() -> void"}, - { (char *)"SoMFColorRGBA_getClassTypeId", _wrap_SoMFColorRGBA_getClassTypeId, METH_VARARGS, (char *)"SoMFColorRGBA_getClassTypeId() -> SoType"}, - { (char *)"SoMFColorRGBA_getTypeId", _wrap_SoMFColorRGBA_getTypeId, METH_VARARGS, (char *)"SoMFColorRGBA_getTypeId(SoMFColorRGBA self) -> SoType"}, - { (char *)"SoMFColorRGBA_copyFrom", _wrap_SoMFColorRGBA_copyFrom, METH_VARARGS, (char *)"SoMFColorRGBA_copyFrom(SoMFColorRGBA self, SoField field)"}, - { (char *)"SoMFColorRGBA_isSame", _wrap_SoMFColorRGBA_isSame, METH_VARARGS, (char *)"SoMFColorRGBA_isSame(SoMFColorRGBA self, SoField field) -> SbBool"}, - { (char *)"SoMFColorRGBA_getValues", _wrap_SoMFColorRGBA_getValues, METH_VARARGS, (char *)"SoMFColorRGBA_getValues(SoMFColorRGBA self, int start) -> SbColor4f"}, - { (char *)"SoMFColorRGBA_find", _wrap_SoMFColorRGBA_find, METH_VARARGS, (char *)"\n" - "find(SbColor4f value, SbBool addifnotfound=0) -> int\n" - "SoMFColorRGBA_find(SoMFColorRGBA self, SbColor4f value) -> int\n" - ""}, - { (char *)"SoMFColorRGBA___eq__", _wrap_SoMFColorRGBA___eq__, METH_VARARGS, (char *)"SoMFColorRGBA___eq__(SoMFColorRGBA self, SoMFColorRGBA field) -> SbBool"}, - { (char *)"SoMFColorRGBA___ne__", _wrap_SoMFColorRGBA___ne__, METH_VARARGS, (char *)"SoMFColorRGBA___ne__(SoMFColorRGBA self, SoMFColorRGBA field) -> SbBool"}, - { (char *)"SoMFColorRGBA_startEditing", _wrap_SoMFColorRGBA_startEditing, METH_VARARGS, (char *)"SoMFColorRGBA_startEditing(SoMFColorRGBA self) -> SbColor4f"}, - { (char *)"SoMFColorRGBA_finishEditing", _wrap_SoMFColorRGBA_finishEditing, METH_VARARGS, (char *)"SoMFColorRGBA_finishEditing(SoMFColorRGBA self)"}, - { (char *)"SoMFColorRGBA_setValuesPointer", _wrap_SoMFColorRGBA_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, SbColor4f userdata)\n" - "SoMFColorRGBA_setValuesPointer(SoMFColorRGBA self, int num, SbColor4f userdata)\n" - ""}, - { (char *)"SoMFColorRGBA_initClass", _wrap_SoMFColorRGBA_initClass, METH_VARARGS, (char *)"SoMFColorRGBA_initClass()"}, - { (char *)"SoMFColorRGBA_setValues", _wrap_SoMFColorRGBA_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbColor4f newvals)\n" - "SoMFColorRGBA_setValues(SoMFColorRGBA self, int start, int num, float rgba)\n" - ""}, - { (char *)"SoMFColorRGBA_setHSVValues", _wrap_SoMFColorRGBA_setHSVValues, METH_VARARGS, (char *)"SoMFColorRGBA_setHSVValues(SoMFColorRGBA self, int start, int num, float hsv)"}, - { (char *)"SoMFColorRGBA_setValue", _wrap_SoMFColorRGBA_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor4f value)\n" - "setValue(SbVec4f vec)\n" - "setValue(float r, float g, float b, float a)\n" - "SoMFColorRGBA_setValue(SoMFColorRGBA self, float rgba)\n" - ""}, - { (char *)"SoMFColorRGBA_setHSVValue", _wrap_SoMFColorRGBA_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v, float a)\n" - "SoMFColorRGBA_setHSVValue(SoMFColorRGBA self, float hsva)\n" - ""}, - { (char *)"SoMFColorRGBA_set1Value", _wrap_SoMFColorRGBA_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbColor4f value)\n" - "set1Value(int idx, SbVec4f vec)\n" - "set1Value(int idx, float r, float g, float b, float a)\n" - "SoMFColorRGBA_set1Value(SoMFColorRGBA self, int idx, float rgba)\n" - ""}, - { (char *)"SoMFColorRGBA_set1HSVValue", _wrap_SoMFColorRGBA_set1HSVValue, METH_VARARGS, (char *)"\n" - "set1HSVValue(int idx, float h, float s, float v, float a)\n" - "SoMFColorRGBA_set1HSVValue(SoMFColorRGBA self, int idx, float hsva)\n" - ""}, - { (char *)"SoMFColorRGBA_swigregister", SoMFColorRGBA_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFDouble", _wrap_new_SoMFDouble, METH_VARARGS, (char *)"new_SoMFDouble() -> SoMFDouble"}, - { (char *)"delete_SoMFDouble", _wrap_delete_SoMFDouble, METH_VARARGS, (char *)"delete_SoMFDouble(SoMFDouble self)"}, - { (char *)"SoMFDouble_createInstance", _wrap_SoMFDouble_createInstance, METH_VARARGS, (char *)"SoMFDouble_createInstance() -> void"}, - { (char *)"SoMFDouble_getClassTypeId", _wrap_SoMFDouble_getClassTypeId, METH_VARARGS, (char *)"SoMFDouble_getClassTypeId() -> SoType"}, - { (char *)"SoMFDouble_getTypeId", _wrap_SoMFDouble_getTypeId, METH_VARARGS, (char *)"SoMFDouble_getTypeId(SoMFDouble self) -> SoType"}, - { (char *)"SoMFDouble_copyFrom", _wrap_SoMFDouble_copyFrom, METH_VARARGS, (char *)"SoMFDouble_copyFrom(SoMFDouble self, SoField field)"}, - { (char *)"SoMFDouble_isSame", _wrap_SoMFDouble_isSame, METH_VARARGS, (char *)"SoMFDouble_isSame(SoMFDouble self, SoField field) -> SbBool"}, - { (char *)"SoMFDouble_getValues", _wrap_SoMFDouble_getValues, METH_VARARGS, (char *)"SoMFDouble_getValues(SoMFDouble self, int start) -> double"}, - { (char *)"SoMFDouble_find", _wrap_SoMFDouble_find, METH_VARARGS, (char *)"\n" - "find(double value, SbBool addifnotfound=0) -> int\n" - "SoMFDouble_find(SoMFDouble self, double value) -> int\n" - ""}, - { (char *)"SoMFDouble_setValues", _wrap_SoMFDouble_setValues, METH_VARARGS, (char *)"SoMFDouble_setValues(SoMFDouble self, int start, int num, double newvals)"}, - { (char *)"SoMFDouble_set1Value", _wrap_SoMFDouble_set1Value, METH_VARARGS, (char *)"SoMFDouble_set1Value(SoMFDouble self, int idx, double value)"}, - { (char *)"SoMFDouble_setValue", _wrap_SoMFDouble_setValue, METH_VARARGS, (char *)"SoMFDouble_setValue(SoMFDouble self, double value)"}, - { (char *)"SoMFDouble___eq__", _wrap_SoMFDouble___eq__, METH_VARARGS, (char *)"SoMFDouble___eq__(SoMFDouble self, SoMFDouble field) -> SbBool"}, - { (char *)"SoMFDouble___ne__", _wrap_SoMFDouble___ne__, METH_VARARGS, (char *)"SoMFDouble___ne__(SoMFDouble self, SoMFDouble field) -> SbBool"}, - { (char *)"SoMFDouble_startEditing", _wrap_SoMFDouble_startEditing, METH_VARARGS, (char *)"SoMFDouble_startEditing(SoMFDouble self) -> double"}, - { (char *)"SoMFDouble_finishEditing", _wrap_SoMFDouble_finishEditing, METH_VARARGS, (char *)"SoMFDouble_finishEditing(SoMFDouble self)"}, - { (char *)"SoMFDouble_setValuesPointer", _wrap_SoMFDouble_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, double userdata)\n" - "SoMFDouble_setValuesPointer(SoMFDouble self, int num, double userdata)\n" - ""}, - { (char *)"SoMFDouble_initClass", _wrap_SoMFDouble_initClass, METH_VARARGS, (char *)"SoMFDouble_initClass()"}, - { (char *)"SoMFDouble_swigregister", SoMFDouble_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFEngine", _wrap_new_SoMFEngine, METH_VARARGS, (char *)"new_SoMFEngine() -> SoMFEngine"}, - { (char *)"delete_SoMFEngine", _wrap_delete_SoMFEngine, METH_VARARGS, (char *)"delete_SoMFEngine(SoMFEngine self)"}, - { (char *)"SoMFEngine_createInstance", _wrap_SoMFEngine_createInstance, METH_VARARGS, (char *)"SoMFEngine_createInstance() -> void"}, - { (char *)"SoMFEngine_getClassTypeId", _wrap_SoMFEngine_getClassTypeId, METH_VARARGS, (char *)"SoMFEngine_getClassTypeId() -> SoType"}, - { (char *)"SoMFEngine_getTypeId", _wrap_SoMFEngine_getTypeId, METH_VARARGS, (char *)"SoMFEngine_getTypeId(SoMFEngine self) -> SoType"}, - { (char *)"SoMFEngine_copyFrom", _wrap_SoMFEngine_copyFrom, METH_VARARGS, (char *)"SoMFEngine_copyFrom(SoMFEngine self, SoField field)"}, - { (char *)"SoMFEngine_isSame", _wrap_SoMFEngine_isSame, METH_VARARGS, (char *)"SoMFEngine_isSame(SoMFEngine self, SoField field) -> SbBool"}, - { (char *)"SoMFEngine_find", _wrap_SoMFEngine_find, METH_VARARGS, (char *)"\n" - "find(SoEngine value, SbBool addifnotfound=0) -> int\n" - "SoMFEngine_find(SoMFEngine self, SoEngine value) -> int\n" - ""}, - { (char *)"SoMFEngine_setValues", _wrap_SoMFEngine_setValues, METH_VARARGS, (char *)"SoMFEngine_setValues(SoMFEngine self, int start, int num, SoEngine newvals)"}, - { (char *)"SoMFEngine_set1Value", _wrap_SoMFEngine_set1Value, METH_VARARGS, (char *)"SoMFEngine_set1Value(SoMFEngine self, int idx, SoEngine value)"}, - { (char *)"SoMFEngine___eq__", _wrap_SoMFEngine___eq__, METH_VARARGS, (char *)"SoMFEngine___eq__(SoMFEngine self, SoMFEngine field) -> SbBool"}, - { (char *)"SoMFEngine___ne__", _wrap_SoMFEngine___ne__, METH_VARARGS, (char *)"SoMFEngine___ne__(SoMFEngine self, SoMFEngine field) -> SbBool"}, - { (char *)"SoMFEngine_startEditing", _wrap_SoMFEngine_startEditing, METH_VARARGS, (char *)"SoMFEngine_startEditing(SoMFEngine self) -> SoEngine"}, - { (char *)"SoMFEngine_finishEditing", _wrap_SoMFEngine_finishEditing, METH_VARARGS, (char *)"SoMFEngine_finishEditing(SoMFEngine self)"}, - { (char *)"SoMFEngine_initClass", _wrap_SoMFEngine_initClass, METH_VARARGS, (char *)"SoMFEngine_initClass()"}, - { (char *)"SoMFEngine_fixCopy", _wrap_SoMFEngine_fixCopy, METH_VARARGS, (char *)"SoMFEngine_fixCopy(SoMFEngine self, SbBool copyconnections)"}, - { (char *)"SoMFEngine_referencesCopy", _wrap_SoMFEngine_referencesCopy, METH_VARARGS, (char *)"SoMFEngine_referencesCopy(SoMFEngine self) -> SbBool"}, - { (char *)"SoMFEngine_deleteValues", _wrap_SoMFEngine_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFEngine_deleteValues(SoMFEngine self, int start)\n" - ""}, - { (char *)"SoMFEngine_insertSpace", _wrap_SoMFEngine_insertSpace, METH_VARARGS, (char *)"SoMFEngine_insertSpace(SoMFEngine self, int start, int num)"}, - { (char *)"SoMFEngine___getitem__", _wrap_SoMFEngine___getitem__, METH_VARARGS, (char *)"SoMFEngine___getitem__(SoMFEngine self, int i) -> SoEngine"}, - { (char *)"SoMFEngine___setitem__", _wrap_SoMFEngine___setitem__, METH_VARARGS, (char *)"SoMFEngine___setitem__(SoMFEngine self, int i, SoEngine value)"}, - { (char *)"SoMFEngine_setValue", _wrap_SoMFEngine_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoEngine value)\n" - "SoMFEngine_setValue(SoMFEngine self, SoMFEngine other)\n" - ""}, - { (char *)"SoMFEngine_getValues", _wrap_SoMFEngine_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoEngine\n" - "SoMFEngine_getValues(SoMFEngine self, int len) -> SoEngine\n" - ""}, - { (char *)"SoMFEngine_swigregister", SoMFEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFBitMask", _wrap_new_SoMFBitMask, METH_VARARGS, (char *)"new_SoMFBitMask() -> SoMFBitMask"}, - { (char *)"delete_SoMFBitMask", _wrap_delete_SoMFBitMask, METH_VARARGS, (char *)"delete_SoMFBitMask(SoMFBitMask self)"}, - { (char *)"SoMFBitMask_createInstance", _wrap_SoMFBitMask_createInstance, METH_VARARGS, (char *)"SoMFBitMask_createInstance() -> void"}, - { (char *)"SoMFBitMask_getClassTypeId", _wrap_SoMFBitMask_getClassTypeId, METH_VARARGS, (char *)"SoMFBitMask_getClassTypeId() -> SoType"}, - { (char *)"SoMFBitMask_getTypeId", _wrap_SoMFBitMask_getTypeId, METH_VARARGS, (char *)"SoMFBitMask_getTypeId(SoMFBitMask self) -> SoType"}, - { (char *)"SoMFBitMask_copyFrom", _wrap_SoMFBitMask_copyFrom, METH_VARARGS, (char *)"SoMFBitMask_copyFrom(SoMFBitMask self, SoField field)"}, - { (char *)"SoMFBitMask_isSame", _wrap_SoMFBitMask_isSame, METH_VARARGS, (char *)"SoMFBitMask_isSame(SoMFBitMask self, SoField field) -> SbBool"}, - { (char *)"SoMFBitMask_initClass", _wrap_SoMFBitMask_initClass, METH_VARARGS, (char *)"SoMFBitMask_initClass()"}, - { (char *)"SoMFBitMask_swigregister", SoMFBitMask_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFInt32", _wrap_new_SoMFInt32, METH_VARARGS, (char *)"new_SoMFInt32() -> SoMFInt32"}, - { (char *)"delete_SoMFInt32", _wrap_delete_SoMFInt32, METH_VARARGS, (char *)"delete_SoMFInt32(SoMFInt32 self)"}, - { (char *)"SoMFInt32_createInstance", _wrap_SoMFInt32_createInstance, METH_VARARGS, (char *)"SoMFInt32_createInstance() -> void"}, - { (char *)"SoMFInt32_getClassTypeId", _wrap_SoMFInt32_getClassTypeId, METH_VARARGS, (char *)"SoMFInt32_getClassTypeId() -> SoType"}, - { (char *)"SoMFInt32_getTypeId", _wrap_SoMFInt32_getTypeId, METH_VARARGS, (char *)"SoMFInt32_getTypeId(SoMFInt32 self) -> SoType"}, - { (char *)"SoMFInt32_copyFrom", _wrap_SoMFInt32_copyFrom, METH_VARARGS, (char *)"SoMFInt32_copyFrom(SoMFInt32 self, SoField field)"}, - { (char *)"SoMFInt32_isSame", _wrap_SoMFInt32_isSame, METH_VARARGS, (char *)"SoMFInt32_isSame(SoMFInt32 self, SoField field) -> SbBool"}, - { (char *)"SoMFInt32_find", _wrap_SoMFInt32_find, METH_VARARGS, (char *)"\n" - "find(int32_t value, SbBool addifnotfound=0) -> int\n" - "SoMFInt32_find(SoMFInt32 self, int32_t value) -> int\n" - ""}, - { (char *)"SoMFInt32_setValues", _wrap_SoMFInt32_setValues, METH_VARARGS, (char *)"SoMFInt32_setValues(SoMFInt32 self, int start, int num, int32_t newvals)"}, - { (char *)"SoMFInt32_set1Value", _wrap_SoMFInt32_set1Value, METH_VARARGS, (char *)"SoMFInt32_set1Value(SoMFInt32 self, int idx, int32_t value)"}, - { (char *)"SoMFInt32___eq__", _wrap_SoMFInt32___eq__, METH_VARARGS, (char *)"SoMFInt32___eq__(SoMFInt32 self, SoMFInt32 field) -> SbBool"}, - { (char *)"SoMFInt32___ne__", _wrap_SoMFInt32___ne__, METH_VARARGS, (char *)"SoMFInt32___ne__(SoMFInt32 self, SoMFInt32 field) -> SbBool"}, - { (char *)"SoMFInt32_startEditing", _wrap_SoMFInt32_startEditing, METH_VARARGS, (char *)"SoMFInt32_startEditing(SoMFInt32 self) -> int32_t"}, - { (char *)"SoMFInt32_finishEditing", _wrap_SoMFInt32_finishEditing, METH_VARARGS, (char *)"SoMFInt32_finishEditing(SoMFInt32 self)"}, - { (char *)"SoMFInt32_setValuesPointer", _wrap_SoMFInt32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, int32_t userdata)\n" - "SoMFInt32_setValuesPointer(SoMFInt32 self, int num, int32_t userdata)\n" - ""}, - { (char *)"SoMFInt32_initClass", _wrap_SoMFInt32_initClass, METH_VARARGS, (char *)"SoMFInt32_initClass()"}, - { (char *)"SoMFInt32___getitem__", _wrap_SoMFInt32___getitem__, METH_VARARGS, (char *)"SoMFInt32___getitem__(SoMFInt32 self, int i) -> int32_t"}, - { (char *)"SoMFInt32___setitem__", _wrap_SoMFInt32___setitem__, METH_VARARGS, (char *)"SoMFInt32___setitem__(SoMFInt32 self, int i, int32_t value)"}, - { (char *)"SoMFInt32_setValue", _wrap_SoMFInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t value)\n" - "SoMFInt32_setValue(SoMFInt32 self, SoMFInt32 other)\n" - ""}, - { (char *)"SoMFInt32_getValues", _wrap_SoMFInt32_getValues, METH_VARARGS, (char *)"\n" - "getValues(int32_t len, int32_t i=0) -> int32_t\n" - "SoMFInt32_getValues(SoMFInt32 self, int32_t len) -> int32_t\n" - ""}, - { (char *)"SoMFInt32_swigregister", SoMFInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFNode", _wrap_new_SoMFNode, METH_VARARGS, (char *)"new_SoMFNode() -> SoMFNode"}, - { (char *)"delete_SoMFNode", _wrap_delete_SoMFNode, METH_VARARGS, (char *)"delete_SoMFNode(SoMFNode self)"}, - { (char *)"SoMFNode_createInstance", _wrap_SoMFNode_createInstance, METH_VARARGS, (char *)"SoMFNode_createInstance() -> void"}, - { (char *)"SoMFNode_getClassTypeId", _wrap_SoMFNode_getClassTypeId, METH_VARARGS, (char *)"SoMFNode_getClassTypeId() -> SoType"}, - { (char *)"SoMFNode_getTypeId", _wrap_SoMFNode_getTypeId, METH_VARARGS, (char *)"SoMFNode_getTypeId(SoMFNode self) -> SoType"}, - { (char *)"SoMFNode_copyFrom", _wrap_SoMFNode_copyFrom, METH_VARARGS, (char *)"SoMFNode_copyFrom(SoMFNode self, SoField field)"}, - { (char *)"SoMFNode_isSame", _wrap_SoMFNode_isSame, METH_VARARGS, (char *)"SoMFNode_isSame(SoMFNode self, SoField field) -> SbBool"}, - { (char *)"SoMFNode_find", _wrap_SoMFNode_find, METH_VARARGS, (char *)"\n" - "find(SoNode value, SbBool addifnotfound=0) -> int\n" - "SoMFNode_find(SoMFNode self, SoNode value) -> int\n" - ""}, - { (char *)"SoMFNode_setValues", _wrap_SoMFNode_setValues, METH_VARARGS, (char *)"SoMFNode_setValues(SoMFNode self, int start, int num, SoNode newvals)"}, - { (char *)"SoMFNode_set1Value", _wrap_SoMFNode_set1Value, METH_VARARGS, (char *)"SoMFNode_set1Value(SoMFNode self, int idx, SoNode value)"}, - { (char *)"SoMFNode___eq__", _wrap_SoMFNode___eq__, METH_VARARGS, (char *)"SoMFNode___eq__(SoMFNode self, SoMFNode field) -> SbBool"}, - { (char *)"SoMFNode___ne__", _wrap_SoMFNode___ne__, METH_VARARGS, (char *)"SoMFNode___ne__(SoMFNode self, SoMFNode field) -> SbBool"}, - { (char *)"SoMFNode_startEditing", _wrap_SoMFNode_startEditing, METH_VARARGS, (char *)"SoMFNode_startEditing(SoMFNode self) -> SoNode"}, - { (char *)"SoMFNode_finishEditing", _wrap_SoMFNode_finishEditing, METH_VARARGS, (char *)"SoMFNode_finishEditing(SoMFNode self)"}, - { (char *)"SoMFNode_initClass", _wrap_SoMFNode_initClass, METH_VARARGS, (char *)"SoMFNode_initClass()"}, - { (char *)"SoMFNode_fixCopy", _wrap_SoMFNode_fixCopy, METH_VARARGS, (char *)"SoMFNode_fixCopy(SoMFNode self, SbBool copyconnections)"}, - { (char *)"SoMFNode_referencesCopy", _wrap_SoMFNode_referencesCopy, METH_VARARGS, (char *)"SoMFNode_referencesCopy(SoMFNode self) -> SbBool"}, - { (char *)"SoMFNode_addNode", _wrap_SoMFNode_addNode, METH_VARARGS, (char *)"SoMFNode_addNode(SoMFNode self, SoNode node)"}, - { (char *)"SoMFNode_insertNode", _wrap_SoMFNode_insertNode, METH_VARARGS, (char *)"SoMFNode_insertNode(SoMFNode self, SoNode node, int idx)"}, - { (char *)"SoMFNode_getNode", _wrap_SoMFNode_getNode, METH_VARARGS, (char *)"SoMFNode_getNode(SoMFNode self, int idx) -> SoNode"}, - { (char *)"SoMFNode_findNode", _wrap_SoMFNode_findNode, METH_VARARGS, (char *)"SoMFNode_findNode(SoMFNode self, SoNode node) -> int"}, - { (char *)"SoMFNode_getNumNodes", _wrap_SoMFNode_getNumNodes, METH_VARARGS, (char *)"SoMFNode_getNumNodes(SoMFNode self) -> int"}, - { (char *)"SoMFNode_removeNode", _wrap_SoMFNode_removeNode, METH_VARARGS, (char *)"\n" - "removeNode(int index)\n" - "SoMFNode_removeNode(SoMFNode self, SoNode node)\n" - ""}, - { (char *)"SoMFNode_removeAllNodes", _wrap_SoMFNode_removeAllNodes, METH_VARARGS, (char *)"SoMFNode_removeAllNodes(SoMFNode self)"}, - { (char *)"SoMFNode_replaceNode", _wrap_SoMFNode_replaceNode, METH_VARARGS, (char *)"\n" - "replaceNode(int idx, SoNode newnode)\n" - "SoMFNode_replaceNode(SoMFNode self, SoNode oldnode, SoNode newnode)\n" - ""}, - { (char *)"SoMFNode_deleteValues", _wrap_SoMFNode_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFNode_deleteValues(SoMFNode self, int start)\n" - ""}, - { (char *)"SoMFNode_insertSpace", _wrap_SoMFNode_insertSpace, METH_VARARGS, (char *)"SoMFNode_insertSpace(SoMFNode self, int start, int num)"}, - { (char *)"SoMFNode___getitem__", _wrap_SoMFNode___getitem__, METH_VARARGS, (char *)"SoMFNode___getitem__(SoMFNode self, int i) -> SoNode"}, - { (char *)"SoMFNode___setitem__", _wrap_SoMFNode___setitem__, METH_VARARGS, (char *)"SoMFNode___setitem__(SoMFNode self, int i, SoNode value)"}, - { (char *)"SoMFNode_setValue", _wrap_SoMFNode_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoNode value)\n" - "SoMFNode_setValue(SoMFNode self, SoMFNode other)\n" - ""}, - { (char *)"SoMFNode_getValues", _wrap_SoMFNode_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoNode\n" - "SoMFNode_getValues(SoMFNode self, int len) -> SoNode\n" - ""}, - { (char *)"SoMFNode_swigregister", SoMFNode_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFPath", _wrap_new_SoMFPath, METH_VARARGS, (char *)"new_SoMFPath() -> SoMFPath"}, - { (char *)"delete_SoMFPath", _wrap_delete_SoMFPath, METH_VARARGS, (char *)"delete_SoMFPath(SoMFPath self)"}, - { (char *)"SoMFPath_createInstance", _wrap_SoMFPath_createInstance, METH_VARARGS, (char *)"SoMFPath_createInstance() -> void"}, - { (char *)"SoMFPath_getClassTypeId", _wrap_SoMFPath_getClassTypeId, METH_VARARGS, (char *)"SoMFPath_getClassTypeId() -> SoType"}, - { (char *)"SoMFPath_getTypeId", _wrap_SoMFPath_getTypeId, METH_VARARGS, (char *)"SoMFPath_getTypeId(SoMFPath self) -> SoType"}, - { (char *)"SoMFPath_copyFrom", _wrap_SoMFPath_copyFrom, METH_VARARGS, (char *)"SoMFPath_copyFrom(SoMFPath self, SoField field)"}, - { (char *)"SoMFPath_isSame", _wrap_SoMFPath_isSame, METH_VARARGS, (char *)"SoMFPath_isSame(SoMFPath self, SoField field) -> SbBool"}, - { (char *)"SoMFPath_find", _wrap_SoMFPath_find, METH_VARARGS, (char *)"\n" - "find(SoPath value, SbBool addifnotfound=0) -> int\n" - "SoMFPath_find(SoMFPath self, SoPath value) -> int\n" - ""}, - { (char *)"SoMFPath_setValues", _wrap_SoMFPath_setValues, METH_VARARGS, (char *)"SoMFPath_setValues(SoMFPath self, int start, int num, SoPath newvals)"}, - { (char *)"SoMFPath_set1Value", _wrap_SoMFPath_set1Value, METH_VARARGS, (char *)"SoMFPath_set1Value(SoMFPath self, int idx, SoPath value)"}, - { (char *)"SoMFPath___eq__", _wrap_SoMFPath___eq__, METH_VARARGS, (char *)"SoMFPath___eq__(SoMFPath self, SoMFPath field) -> SbBool"}, - { (char *)"SoMFPath___ne__", _wrap_SoMFPath___ne__, METH_VARARGS, (char *)"SoMFPath___ne__(SoMFPath self, SoMFPath field) -> SbBool"}, - { (char *)"SoMFPath_startEditing", _wrap_SoMFPath_startEditing, METH_VARARGS, (char *)"SoMFPath_startEditing(SoMFPath self) -> SoPath"}, - { (char *)"SoMFPath_finishEditing", _wrap_SoMFPath_finishEditing, METH_VARARGS, (char *)"SoMFPath_finishEditing(SoMFPath self)"}, - { (char *)"SoMFPath_initClass", _wrap_SoMFPath_initClass, METH_VARARGS, (char *)"SoMFPath_initClass()"}, - { (char *)"SoMFPath_notify", _wrap_SoMFPath_notify, METH_VARARGS, (char *)"SoMFPath_notify(SoMFPath self, SoNotList l)"}, - { (char *)"SoMFPath_fixCopy", _wrap_SoMFPath_fixCopy, METH_VARARGS, (char *)"SoMFPath_fixCopy(SoMFPath self, SbBool copyconnections)"}, - { (char *)"SoMFPath_referencesCopy", _wrap_SoMFPath_referencesCopy, METH_VARARGS, (char *)"SoMFPath_referencesCopy(SoMFPath self) -> SbBool"}, - { (char *)"SoMFPath_deleteValues", _wrap_SoMFPath_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFPath_deleteValues(SoMFPath self, int start)\n" - ""}, - { (char *)"SoMFPath_insertSpace", _wrap_SoMFPath_insertSpace, METH_VARARGS, (char *)"SoMFPath_insertSpace(SoMFPath self, int start, int num)"}, - { (char *)"SoMFPath___getitem__", _wrap_SoMFPath___getitem__, METH_VARARGS, (char *)"SoMFPath___getitem__(SoMFPath self, int i) -> SoPath"}, - { (char *)"SoMFPath___setitem__", _wrap_SoMFPath___setitem__, METH_VARARGS, (char *)"SoMFPath___setitem__(SoMFPath self, int i, SoPath value)"}, - { (char *)"SoMFPath_setValue", _wrap_SoMFPath_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoPath value)\n" - "SoMFPath_setValue(SoMFPath self, SoMFPath other)\n" - ""}, - { (char *)"SoMFPath_getValues", _wrap_SoMFPath_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoPath\n" - "SoMFPath_getValues(SoMFPath self, int len) -> SoPath\n" - ""}, - { (char *)"SoMFPath_swigregister", SoMFPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFPlane", _wrap_new_SoMFPlane, METH_VARARGS, (char *)"new_SoMFPlane() -> SoMFPlane"}, - { (char *)"delete_SoMFPlane", _wrap_delete_SoMFPlane, METH_VARARGS, (char *)"delete_SoMFPlane(SoMFPlane self)"}, - { (char *)"SoMFPlane_createInstance", _wrap_SoMFPlane_createInstance, METH_VARARGS, (char *)"SoMFPlane_createInstance() -> void"}, - { (char *)"SoMFPlane_getClassTypeId", _wrap_SoMFPlane_getClassTypeId, METH_VARARGS, (char *)"SoMFPlane_getClassTypeId() -> SoType"}, - { (char *)"SoMFPlane_getTypeId", _wrap_SoMFPlane_getTypeId, METH_VARARGS, (char *)"SoMFPlane_getTypeId(SoMFPlane self) -> SoType"}, - { (char *)"SoMFPlane_copyFrom", _wrap_SoMFPlane_copyFrom, METH_VARARGS, (char *)"SoMFPlane_copyFrom(SoMFPlane self, SoField field)"}, - { (char *)"SoMFPlane_isSame", _wrap_SoMFPlane_isSame, METH_VARARGS, (char *)"SoMFPlane_isSame(SoMFPlane self, SoField field) -> SbBool"}, - { (char *)"SoMFPlane_find", _wrap_SoMFPlane_find, METH_VARARGS, (char *)"\n" - "find(SbPlane value, SbBool addifnotfound=0) -> int\n" - "SoMFPlane_find(SoMFPlane self, SbPlane value) -> int\n" - ""}, - { (char *)"SoMFPlane_setValues", _wrap_SoMFPlane_setValues, METH_VARARGS, (char *)"SoMFPlane_setValues(SoMFPlane self, int start, int num, SbPlane newvals)"}, - { (char *)"SoMFPlane_set1Value", _wrap_SoMFPlane_set1Value, METH_VARARGS, (char *)"SoMFPlane_set1Value(SoMFPlane self, int idx, SbPlane value)"}, - { (char *)"SoMFPlane___eq__", _wrap_SoMFPlane___eq__, METH_VARARGS, (char *)"SoMFPlane___eq__(SoMFPlane self, SoMFPlane field) -> SbBool"}, - { (char *)"SoMFPlane___ne__", _wrap_SoMFPlane___ne__, METH_VARARGS, (char *)"SoMFPlane___ne__(SoMFPlane self, SoMFPlane field) -> SbBool"}, - { (char *)"SoMFPlane_startEditing", _wrap_SoMFPlane_startEditing, METH_VARARGS, (char *)"SoMFPlane_startEditing(SoMFPlane self) -> SbPlane"}, - { (char *)"SoMFPlane_finishEditing", _wrap_SoMFPlane_finishEditing, METH_VARARGS, (char *)"SoMFPlane_finishEditing(SoMFPlane self)"}, - { (char *)"SoMFPlane_initClass", _wrap_SoMFPlane_initClass, METH_VARARGS, (char *)"SoMFPlane_initClass()"}, - { (char *)"SoMFPlane___getitem__", _wrap_SoMFPlane___getitem__, METH_VARARGS, (char *)"SoMFPlane___getitem__(SoMFPlane self, int i) -> SbPlane"}, - { (char *)"SoMFPlane___setitem__", _wrap_SoMFPlane___setitem__, METH_VARARGS, (char *)"SoMFPlane___setitem__(SoMFPlane self, int i, SbPlane value)"}, - { (char *)"SoMFPlane_getValues", _wrap_SoMFPlane_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbPlane\n" - "SoMFPlane_getValues(SoMFPlane self, int len) -> SbPlane\n" - ""}, - { (char *)"SoMFPlane_setValue", _wrap_SoMFPlane_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbPlane value)\n" - "SoMFPlane_setValue(SoMFPlane self, SoMFPlane other)\n" - ""}, - { (char *)"SoMFPlane_swigregister", SoMFPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFShort", _wrap_new_SoMFShort, METH_VARARGS, (char *)"new_SoMFShort() -> SoMFShort"}, - { (char *)"delete_SoMFShort", _wrap_delete_SoMFShort, METH_VARARGS, (char *)"delete_SoMFShort(SoMFShort self)"}, - { (char *)"SoMFShort_createInstance", _wrap_SoMFShort_createInstance, METH_VARARGS, (char *)"SoMFShort_createInstance() -> void"}, - { (char *)"SoMFShort_getClassTypeId", _wrap_SoMFShort_getClassTypeId, METH_VARARGS, (char *)"SoMFShort_getClassTypeId() -> SoType"}, - { (char *)"SoMFShort_getTypeId", _wrap_SoMFShort_getTypeId, METH_VARARGS, (char *)"SoMFShort_getTypeId(SoMFShort self) -> SoType"}, - { (char *)"SoMFShort_copyFrom", _wrap_SoMFShort_copyFrom, METH_VARARGS, (char *)"SoMFShort_copyFrom(SoMFShort self, SoField field)"}, - { (char *)"SoMFShort_isSame", _wrap_SoMFShort_isSame, METH_VARARGS, (char *)"SoMFShort_isSame(SoMFShort self, SoField field) -> SbBool"}, - { (char *)"SoMFShort_find", _wrap_SoMFShort_find, METH_VARARGS, (char *)"\n" - "find(short value, SbBool addifnotfound=0) -> int\n" - "SoMFShort_find(SoMFShort self, short value) -> int\n" - ""}, - { (char *)"SoMFShort_setValues", _wrap_SoMFShort_setValues, METH_VARARGS, (char *)"SoMFShort_setValues(SoMFShort self, int start, int num, short newvals)"}, - { (char *)"SoMFShort_set1Value", _wrap_SoMFShort_set1Value, METH_VARARGS, (char *)"SoMFShort_set1Value(SoMFShort self, int idx, short value)"}, - { (char *)"SoMFShort___eq__", _wrap_SoMFShort___eq__, METH_VARARGS, (char *)"SoMFShort___eq__(SoMFShort self, SoMFShort field) -> SbBool"}, - { (char *)"SoMFShort___ne__", _wrap_SoMFShort___ne__, METH_VARARGS, (char *)"SoMFShort___ne__(SoMFShort self, SoMFShort field) -> SbBool"}, - { (char *)"SoMFShort_startEditing", _wrap_SoMFShort_startEditing, METH_VARARGS, (char *)"SoMFShort_startEditing(SoMFShort self) -> short"}, - { (char *)"SoMFShort_finishEditing", _wrap_SoMFShort_finishEditing, METH_VARARGS, (char *)"SoMFShort_finishEditing(SoMFShort self)"}, - { (char *)"SoMFShort_setValuesPointer", _wrap_SoMFShort_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, short userdata)\n" - "SoMFShort_setValuesPointer(SoMFShort self, int num, short userdata)\n" - ""}, - { (char *)"SoMFShort_initClass", _wrap_SoMFShort_initClass, METH_VARARGS, (char *)"SoMFShort_initClass()"}, - { (char *)"SoMFShort___getitem__", _wrap_SoMFShort___getitem__, METH_VARARGS, (char *)"SoMFShort___getitem__(SoMFShort self, int i) -> short"}, - { (char *)"SoMFShort___setitem__", _wrap_SoMFShort___setitem__, METH_VARARGS, (char *)"SoMFShort___setitem__(SoMFShort self, int i, short value)"}, - { (char *)"SoMFShort_setValue", _wrap_SoMFShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(short value)\n" - "SoMFShort_setValue(SoMFShort self, SoMFShort other)\n" - ""}, - { (char *)"SoMFShort_getValues", _wrap_SoMFShort_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> short\n" - "SoMFShort_getValues(SoMFShort self, int len) -> short\n" - ""}, - { (char *)"SoMFShort_swigregister", SoMFShort_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFTime", _wrap_new_SoMFTime, METH_VARARGS, (char *)"new_SoMFTime() -> SoMFTime"}, - { (char *)"delete_SoMFTime", _wrap_delete_SoMFTime, METH_VARARGS, (char *)"delete_SoMFTime(SoMFTime self)"}, - { (char *)"SoMFTime_createInstance", _wrap_SoMFTime_createInstance, METH_VARARGS, (char *)"SoMFTime_createInstance() -> void"}, - { (char *)"SoMFTime_getClassTypeId", _wrap_SoMFTime_getClassTypeId, METH_VARARGS, (char *)"SoMFTime_getClassTypeId() -> SoType"}, - { (char *)"SoMFTime_getTypeId", _wrap_SoMFTime_getTypeId, METH_VARARGS, (char *)"SoMFTime_getTypeId(SoMFTime self) -> SoType"}, - { (char *)"SoMFTime_copyFrom", _wrap_SoMFTime_copyFrom, METH_VARARGS, (char *)"SoMFTime_copyFrom(SoMFTime self, SoField field)"}, - { (char *)"SoMFTime_isSame", _wrap_SoMFTime_isSame, METH_VARARGS, (char *)"SoMFTime_isSame(SoMFTime self, SoField field) -> SbBool"}, - { (char *)"SoMFTime_find", _wrap_SoMFTime_find, METH_VARARGS, (char *)"\n" - "find(SbTime value, SbBool addifnotfound=0) -> int\n" - "SoMFTime_find(SoMFTime self, SbTime value) -> int\n" - ""}, - { (char *)"SoMFTime_setValues", _wrap_SoMFTime_setValues, METH_VARARGS, (char *)"SoMFTime_setValues(SoMFTime self, int start, int num, SbTime newvals)"}, - { (char *)"SoMFTime_set1Value", _wrap_SoMFTime_set1Value, METH_VARARGS, (char *)"SoMFTime_set1Value(SoMFTime self, int idx, SbTime value)"}, - { (char *)"SoMFTime___eq__", _wrap_SoMFTime___eq__, METH_VARARGS, (char *)"SoMFTime___eq__(SoMFTime self, SoMFTime field) -> SbBool"}, - { (char *)"SoMFTime___ne__", _wrap_SoMFTime___ne__, METH_VARARGS, (char *)"SoMFTime___ne__(SoMFTime self, SoMFTime field) -> SbBool"}, - { (char *)"SoMFTime_startEditing", _wrap_SoMFTime_startEditing, METH_VARARGS, (char *)"SoMFTime_startEditing(SoMFTime self) -> SbTime"}, - { (char *)"SoMFTime_finishEditing", _wrap_SoMFTime_finishEditing, METH_VARARGS, (char *)"SoMFTime_finishEditing(SoMFTime self)"}, - { (char *)"SoMFTime_initClass", _wrap_SoMFTime_initClass, METH_VARARGS, (char *)"SoMFTime_initClass()"}, - { (char *)"SoMFTime___getitem__", _wrap_SoMFTime___getitem__, METH_VARARGS, (char *)"SoMFTime___getitem__(SoMFTime self, int i) -> SbTime"}, - { (char *)"SoMFTime___setitem__", _wrap_SoMFTime___setitem__, METH_VARARGS, (char *)"SoMFTime___setitem__(SoMFTime self, int i, SbTime value)"}, - { (char *)"SoMFTime_getValues", _wrap_SoMFTime_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbTime\n" - "SoMFTime_getValues(SoMFTime self, int len) -> SbTime\n" - ""}, - { (char *)"SoMFTime_setValue", _wrap_SoMFTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbTime value)\n" - "SoMFTime_setValue(SoMFTime self, SoMFTime other)\n" - ""}, - { (char *)"SoMFTime_swigregister", SoMFTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFUInt32", _wrap_new_SoMFUInt32, METH_VARARGS, (char *)"new_SoMFUInt32() -> SoMFUInt32"}, - { (char *)"delete_SoMFUInt32", _wrap_delete_SoMFUInt32, METH_VARARGS, (char *)"delete_SoMFUInt32(SoMFUInt32 self)"}, - { (char *)"SoMFUInt32_createInstance", _wrap_SoMFUInt32_createInstance, METH_VARARGS, (char *)"SoMFUInt32_createInstance() -> void"}, - { (char *)"SoMFUInt32_getClassTypeId", _wrap_SoMFUInt32_getClassTypeId, METH_VARARGS, (char *)"SoMFUInt32_getClassTypeId() -> SoType"}, - { (char *)"SoMFUInt32_getTypeId", _wrap_SoMFUInt32_getTypeId, METH_VARARGS, (char *)"SoMFUInt32_getTypeId(SoMFUInt32 self) -> SoType"}, - { (char *)"SoMFUInt32_copyFrom", _wrap_SoMFUInt32_copyFrom, METH_VARARGS, (char *)"SoMFUInt32_copyFrom(SoMFUInt32 self, SoField field)"}, - { (char *)"SoMFUInt32_isSame", _wrap_SoMFUInt32_isSame, METH_VARARGS, (char *)"SoMFUInt32_isSame(SoMFUInt32 self, SoField field) -> SbBool"}, - { (char *)"SoMFUInt32_find", _wrap_SoMFUInt32_find, METH_VARARGS, (char *)"\n" - "find(uint32_t value, SbBool addifnotfound=0) -> int\n" - "SoMFUInt32_find(SoMFUInt32 self, uint32_t value) -> int\n" - ""}, - { (char *)"SoMFUInt32_setValues", _wrap_SoMFUInt32_setValues, METH_VARARGS, (char *)"SoMFUInt32_setValues(SoMFUInt32 self, int start, int num, uint32_t newvals)"}, - { (char *)"SoMFUInt32_set1Value", _wrap_SoMFUInt32_set1Value, METH_VARARGS, (char *)"SoMFUInt32_set1Value(SoMFUInt32 self, int idx, uint32_t value)"}, - { (char *)"SoMFUInt32___eq__", _wrap_SoMFUInt32___eq__, METH_VARARGS, (char *)"SoMFUInt32___eq__(SoMFUInt32 self, SoMFUInt32 field) -> SbBool"}, - { (char *)"SoMFUInt32___ne__", _wrap_SoMFUInt32___ne__, METH_VARARGS, (char *)"SoMFUInt32___ne__(SoMFUInt32 self, SoMFUInt32 field) -> SbBool"}, - { (char *)"SoMFUInt32_startEditing", _wrap_SoMFUInt32_startEditing, METH_VARARGS, (char *)"SoMFUInt32_startEditing(SoMFUInt32 self) -> uint32_t"}, - { (char *)"SoMFUInt32_finishEditing", _wrap_SoMFUInt32_finishEditing, METH_VARARGS, (char *)"SoMFUInt32_finishEditing(SoMFUInt32 self)"}, - { (char *)"SoMFUInt32_setValuesPointer", _wrap_SoMFUInt32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, uint32_t userdata)\n" - "SoMFUInt32_setValuesPointer(SoMFUInt32 self, int num, uint32_t userdata)\n" - ""}, - { (char *)"SoMFUInt32_initClass", _wrap_SoMFUInt32_initClass, METH_VARARGS, (char *)"SoMFUInt32_initClass()"}, - { (char *)"SoMFUInt32___getitem__", _wrap_SoMFUInt32___getitem__, METH_VARARGS, (char *)"SoMFUInt32___getitem__(SoMFUInt32 self, int i) -> uint32_t"}, - { (char *)"SoMFUInt32___setitem__", _wrap_SoMFUInt32___setitem__, METH_VARARGS, (char *)"SoMFUInt32___setitem__(SoMFUInt32 self, int i, uint32_t value)"}, - { (char *)"SoMFUInt32_setValue", _wrap_SoMFUInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint32_t value)\n" - "SoMFUInt32_setValue(SoMFUInt32 self, SoMFUInt32 other)\n" - ""}, - { (char *)"SoMFUInt32_getValues", _wrap_SoMFUInt32_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> uint32_t\n" - "SoMFUInt32_getValues(SoMFUInt32 self, int len) -> uint32_t\n" - ""}, - { (char *)"SoMFUInt32_swigregister", SoMFUInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFUShort", _wrap_new_SoMFUShort, METH_VARARGS, (char *)"new_SoMFUShort() -> SoMFUShort"}, - { (char *)"delete_SoMFUShort", _wrap_delete_SoMFUShort, METH_VARARGS, (char *)"delete_SoMFUShort(SoMFUShort self)"}, - { (char *)"SoMFUShort_createInstance", _wrap_SoMFUShort_createInstance, METH_VARARGS, (char *)"SoMFUShort_createInstance() -> void"}, - { (char *)"SoMFUShort_getClassTypeId", _wrap_SoMFUShort_getClassTypeId, METH_VARARGS, (char *)"SoMFUShort_getClassTypeId() -> SoType"}, - { (char *)"SoMFUShort_getTypeId", _wrap_SoMFUShort_getTypeId, METH_VARARGS, (char *)"SoMFUShort_getTypeId(SoMFUShort self) -> SoType"}, - { (char *)"SoMFUShort_copyFrom", _wrap_SoMFUShort_copyFrom, METH_VARARGS, (char *)"SoMFUShort_copyFrom(SoMFUShort self, SoField field)"}, - { (char *)"SoMFUShort_isSame", _wrap_SoMFUShort_isSame, METH_VARARGS, (char *)"SoMFUShort_isSame(SoMFUShort self, SoField field) -> SbBool"}, - { (char *)"SoMFUShort_find", _wrap_SoMFUShort_find, METH_VARARGS, (char *)"\n" - "find(unsigned short value, SbBool addifnotfound=0) -> int\n" - "SoMFUShort_find(SoMFUShort self, unsigned short value) -> int\n" - ""}, - { (char *)"SoMFUShort_setValues", _wrap_SoMFUShort_setValues, METH_VARARGS, (char *)"SoMFUShort_setValues(SoMFUShort self, int start, int num, unsigned short newvals)"}, - { (char *)"SoMFUShort_set1Value", _wrap_SoMFUShort_set1Value, METH_VARARGS, (char *)"SoMFUShort_set1Value(SoMFUShort self, int idx, unsigned short value)"}, - { (char *)"SoMFUShort___eq__", _wrap_SoMFUShort___eq__, METH_VARARGS, (char *)"SoMFUShort___eq__(SoMFUShort self, SoMFUShort field) -> SbBool"}, - { (char *)"SoMFUShort___ne__", _wrap_SoMFUShort___ne__, METH_VARARGS, (char *)"SoMFUShort___ne__(SoMFUShort self, SoMFUShort field) -> SbBool"}, - { (char *)"SoMFUShort_startEditing", _wrap_SoMFUShort_startEditing, METH_VARARGS, (char *)"SoMFUShort_startEditing(SoMFUShort self) -> unsigned short"}, - { (char *)"SoMFUShort_finishEditing", _wrap_SoMFUShort_finishEditing, METH_VARARGS, (char *)"SoMFUShort_finishEditing(SoMFUShort self)"}, - { (char *)"SoMFUShort_setValuesPointer", _wrap_SoMFUShort_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, unsigned short userdata)\n" - "SoMFUShort_setValuesPointer(SoMFUShort self, int num, unsigned short userdata)\n" - ""}, - { (char *)"SoMFUShort_initClass", _wrap_SoMFUShort_initClass, METH_VARARGS, (char *)"SoMFUShort_initClass()"}, - { (char *)"SoMFUShort___getitem__", _wrap_SoMFUShort___getitem__, METH_VARARGS, (char *)"SoMFUShort___getitem__(SoMFUShort self, int i) -> short"}, - { (char *)"SoMFUShort___setitem__", _wrap_SoMFUShort___setitem__, METH_VARARGS, (char *)"SoMFUShort___setitem__(SoMFUShort self, int i, short value)"}, - { (char *)"SoMFUShort_setValue", _wrap_SoMFUShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(unsigned short value)\n" - "SoMFUShort_setValue(SoMFUShort self, SoMFUShort other)\n" - ""}, - { (char *)"SoMFUShort_getValues", _wrap_SoMFUShort_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> unsigned short\n" - "SoMFUShort_getValues(SoMFUShort self, int len) -> unsigned short\n" - ""}, - { (char *)"SoMFUShort_swigregister", SoMFUShort_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2b", _wrap_new_SoMFVec2b, METH_VARARGS, (char *)"new_SoMFVec2b() -> SoMFVec2b"}, - { (char *)"delete_SoMFVec2b", _wrap_delete_SoMFVec2b, METH_VARARGS, (char *)"delete_SoMFVec2b(SoMFVec2b self)"}, - { (char *)"SoMFVec2b_createInstance", _wrap_SoMFVec2b_createInstance, METH_VARARGS, (char *)"SoMFVec2b_createInstance() -> void"}, - { (char *)"SoMFVec2b_getClassTypeId", _wrap_SoMFVec2b_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2b_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2b_getTypeId", _wrap_SoMFVec2b_getTypeId, METH_VARARGS, (char *)"SoMFVec2b_getTypeId(SoMFVec2b self) -> SoType"}, - { (char *)"SoMFVec2b_copyFrom", _wrap_SoMFVec2b_copyFrom, METH_VARARGS, (char *)"SoMFVec2b_copyFrom(SoMFVec2b self, SoField field)"}, - { (char *)"SoMFVec2b_isSame", _wrap_SoMFVec2b_isSame, METH_VARARGS, (char *)"SoMFVec2b_isSame(SoMFVec2b self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2b_getValues", _wrap_SoMFVec2b_getValues, METH_VARARGS, (char *)"SoMFVec2b_getValues(SoMFVec2b self, int start) -> SbVec2b"}, - { (char *)"SoMFVec2b_find", _wrap_SoMFVec2b_find, METH_VARARGS, (char *)"\n" - "find(SbVec2b value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2b_find(SoMFVec2b self, SbVec2b value) -> int\n" - ""}, - { (char *)"SoMFVec2b___eq__", _wrap_SoMFVec2b___eq__, METH_VARARGS, (char *)"SoMFVec2b___eq__(SoMFVec2b self, SoMFVec2b field) -> SbBool"}, - { (char *)"SoMFVec2b___ne__", _wrap_SoMFVec2b___ne__, METH_VARARGS, (char *)"SoMFVec2b___ne__(SoMFVec2b self, SoMFVec2b field) -> SbBool"}, - { (char *)"SoMFVec2b_startEditing", _wrap_SoMFVec2b_startEditing, METH_VARARGS, (char *)"SoMFVec2b_startEditing(SoMFVec2b self) -> SbVec2b"}, - { (char *)"SoMFVec2b_finishEditing", _wrap_SoMFVec2b_finishEditing, METH_VARARGS, (char *)"SoMFVec2b_finishEditing(SoMFVec2b self)"}, - { (char *)"SoMFVec2b_setValuesPointer", _wrap_SoMFVec2b_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2b userdata)\n" - "setValuesPointer(int num, SbVec2b userdata)\n" - "setValuesPointer(int num, int8_t userdata)\n" - "SoMFVec2b_setValuesPointer(SoMFVec2b self, int num, int8_t userdata)\n" - ""}, - { (char *)"SoMFVec2b_initClass", _wrap_SoMFVec2b_initClass, METH_VARARGS, (char *)"SoMFVec2b_initClass()"}, - { (char *)"SoMFVec2b_setValues", _wrap_SoMFVec2b_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2b newvals)\n" - "SoMFVec2b_setValues(SoMFVec2b self, int start, int num, int8_t xy)\n" - ""}, - { (char *)"SoMFVec2b_set1Value", _wrap_SoMFVec2b_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2b value)\n" - "set1Value(int idx, int8_t x, int8_t y)\n" - "SoMFVec2b_set1Value(SoMFVec2b self, int idx, int8_t xy)\n" - ""}, - { (char *)"SoMFVec2b_setValue", _wrap_SoMFVec2b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2b value)\n" - "setValue(int8_t x, int8_t y)\n" - "SoMFVec2b_setValue(SoMFVec2b self, int8_t xy)\n" - ""}, - { (char *)"SoMFVec2b_swigregister", SoMFVec2b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2s", _wrap_new_SoMFVec2s, METH_VARARGS, (char *)"new_SoMFVec2s() -> SoMFVec2s"}, - { (char *)"delete_SoMFVec2s", _wrap_delete_SoMFVec2s, METH_VARARGS, (char *)"delete_SoMFVec2s(SoMFVec2s self)"}, - { (char *)"SoMFVec2s_createInstance", _wrap_SoMFVec2s_createInstance, METH_VARARGS, (char *)"SoMFVec2s_createInstance() -> void"}, - { (char *)"SoMFVec2s_getClassTypeId", _wrap_SoMFVec2s_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2s_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2s_getTypeId", _wrap_SoMFVec2s_getTypeId, METH_VARARGS, (char *)"SoMFVec2s_getTypeId(SoMFVec2s self) -> SoType"}, - { (char *)"SoMFVec2s_copyFrom", _wrap_SoMFVec2s_copyFrom, METH_VARARGS, (char *)"SoMFVec2s_copyFrom(SoMFVec2s self, SoField field)"}, - { (char *)"SoMFVec2s_isSame", _wrap_SoMFVec2s_isSame, METH_VARARGS, (char *)"SoMFVec2s_isSame(SoMFVec2s self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2s_getValues", _wrap_SoMFVec2s_getValues, METH_VARARGS, (char *)"SoMFVec2s_getValues(SoMFVec2s self, int start) -> SbVec2s"}, - { (char *)"SoMFVec2s_find", _wrap_SoMFVec2s_find, METH_VARARGS, (char *)"\n" - "find(SbVec2s value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2s_find(SoMFVec2s self, SbVec2s value) -> int\n" - ""}, - { (char *)"SoMFVec2s___eq__", _wrap_SoMFVec2s___eq__, METH_VARARGS, (char *)"SoMFVec2s___eq__(SoMFVec2s self, SoMFVec2s field) -> SbBool"}, - { (char *)"SoMFVec2s___ne__", _wrap_SoMFVec2s___ne__, METH_VARARGS, (char *)"SoMFVec2s___ne__(SoMFVec2s self, SoMFVec2s field) -> SbBool"}, - { (char *)"SoMFVec2s_startEditing", _wrap_SoMFVec2s_startEditing, METH_VARARGS, (char *)"SoMFVec2s_startEditing(SoMFVec2s self) -> SbVec2s"}, - { (char *)"SoMFVec2s_finishEditing", _wrap_SoMFVec2s_finishEditing, METH_VARARGS, (char *)"SoMFVec2s_finishEditing(SoMFVec2s self)"}, - { (char *)"SoMFVec2s_setValuesPointer", _wrap_SoMFVec2s_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2s userdata)\n" - "setValuesPointer(int num, SbVec2s userdata)\n" - "setValuesPointer(int num, short userdata)\n" - "SoMFVec2s_setValuesPointer(SoMFVec2s self, int num, short userdata)\n" - ""}, - { (char *)"SoMFVec2s_initClass", _wrap_SoMFVec2s_initClass, METH_VARARGS, (char *)"SoMFVec2s_initClass()"}, - { (char *)"SoMFVec2s_setValues", _wrap_SoMFVec2s_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2s newvals)\n" - "SoMFVec2s_setValues(SoMFVec2s self, int start, int num, short xy)\n" - ""}, - { (char *)"SoMFVec2s_set1Value", _wrap_SoMFVec2s_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2s value)\n" - "set1Value(int idx, short x, short y)\n" - "SoMFVec2s_set1Value(SoMFVec2s self, int idx, short xy)\n" - ""}, - { (char *)"SoMFVec2s_setValue", _wrap_SoMFVec2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s value)\n" - "setValue(short x, short y)\n" - "SoMFVec2s_setValue(SoMFVec2s self, short xy)\n" - ""}, - { (char *)"SoMFVec2s_swigregister", SoMFVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2i32", _wrap_new_SoMFVec2i32, METH_VARARGS, (char *)"new_SoMFVec2i32() -> SoMFVec2i32"}, - { (char *)"delete_SoMFVec2i32", _wrap_delete_SoMFVec2i32, METH_VARARGS, (char *)"delete_SoMFVec2i32(SoMFVec2i32 self)"}, - { (char *)"SoMFVec2i32_createInstance", _wrap_SoMFVec2i32_createInstance, METH_VARARGS, (char *)"SoMFVec2i32_createInstance() -> void"}, - { (char *)"SoMFVec2i32_getClassTypeId", _wrap_SoMFVec2i32_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2i32_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2i32_getTypeId", _wrap_SoMFVec2i32_getTypeId, METH_VARARGS, (char *)"SoMFVec2i32_getTypeId(SoMFVec2i32 self) -> SoType"}, - { (char *)"SoMFVec2i32_copyFrom", _wrap_SoMFVec2i32_copyFrom, METH_VARARGS, (char *)"SoMFVec2i32_copyFrom(SoMFVec2i32 self, SoField field)"}, - { (char *)"SoMFVec2i32_isSame", _wrap_SoMFVec2i32_isSame, METH_VARARGS, (char *)"SoMFVec2i32_isSame(SoMFVec2i32 self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2i32_getValues", _wrap_SoMFVec2i32_getValues, METH_VARARGS, (char *)"SoMFVec2i32_getValues(SoMFVec2i32 self, int start) -> SbVec2i32"}, - { (char *)"SoMFVec2i32_find", _wrap_SoMFVec2i32_find, METH_VARARGS, (char *)"\n" - "find(SbVec2i32 value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2i32_find(SoMFVec2i32 self, SbVec2i32 value) -> int\n" - ""}, - { (char *)"SoMFVec2i32___eq__", _wrap_SoMFVec2i32___eq__, METH_VARARGS, (char *)"SoMFVec2i32___eq__(SoMFVec2i32 self, SoMFVec2i32 field) -> SbBool"}, - { (char *)"SoMFVec2i32___ne__", _wrap_SoMFVec2i32___ne__, METH_VARARGS, (char *)"SoMFVec2i32___ne__(SoMFVec2i32 self, SoMFVec2i32 field) -> SbBool"}, - { (char *)"SoMFVec2i32_startEditing", _wrap_SoMFVec2i32_startEditing, METH_VARARGS, (char *)"SoMFVec2i32_startEditing(SoMFVec2i32 self) -> SbVec2i32"}, - { (char *)"SoMFVec2i32_finishEditing", _wrap_SoMFVec2i32_finishEditing, METH_VARARGS, (char *)"SoMFVec2i32_finishEditing(SoMFVec2i32 self)"}, - { (char *)"SoMFVec2i32_setValuesPointer", _wrap_SoMFVec2i32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2i32 userdata)\n" - "setValuesPointer(int num, SbVec2i32 userdata)\n" - "setValuesPointer(int num, int32_t userdata)\n" - "SoMFVec2i32_setValuesPointer(SoMFVec2i32 self, int num, int32_t userdata)\n" - ""}, - { (char *)"SoMFVec2i32_initClass", _wrap_SoMFVec2i32_initClass, METH_VARARGS, (char *)"SoMFVec2i32_initClass()"}, - { (char *)"SoMFVec2i32_setValues", _wrap_SoMFVec2i32_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2i32 newvals)\n" - "SoMFVec2i32_setValues(SoMFVec2i32 self, int start, int num, int32_t xy)\n" - ""}, - { (char *)"SoMFVec2i32_set1Value", _wrap_SoMFVec2i32_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2i32 value)\n" - "set1Value(int idx, int32_t x, int32_t y)\n" - "SoMFVec2i32_set1Value(SoMFVec2i32 self, int idx, int32_t xy)\n" - ""}, - { (char *)"SoMFVec2i32_setValue", _wrap_SoMFVec2i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2i32 value)\n" - "setValue(int32_t x, int32_t y)\n" - "SoMFVec2i32_setValue(SoMFVec2i32 self, int32_t xy)\n" - ""}, - { (char *)"SoMFVec2i32_swigregister", SoMFVec2i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2d", _wrap_new_SoMFVec2d, METH_VARARGS, (char *)"new_SoMFVec2d() -> SoMFVec2d"}, - { (char *)"delete_SoMFVec2d", _wrap_delete_SoMFVec2d, METH_VARARGS, (char *)"delete_SoMFVec2d(SoMFVec2d self)"}, - { (char *)"SoMFVec2d_createInstance", _wrap_SoMFVec2d_createInstance, METH_VARARGS, (char *)"SoMFVec2d_createInstance() -> void"}, - { (char *)"SoMFVec2d_getClassTypeId", _wrap_SoMFVec2d_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2d_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2d_getTypeId", _wrap_SoMFVec2d_getTypeId, METH_VARARGS, (char *)"SoMFVec2d_getTypeId(SoMFVec2d self) -> SoType"}, - { (char *)"SoMFVec2d_copyFrom", _wrap_SoMFVec2d_copyFrom, METH_VARARGS, (char *)"SoMFVec2d_copyFrom(SoMFVec2d self, SoField field)"}, - { (char *)"SoMFVec2d_isSame", _wrap_SoMFVec2d_isSame, METH_VARARGS, (char *)"SoMFVec2d_isSame(SoMFVec2d self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2d_getValues", _wrap_SoMFVec2d_getValues, METH_VARARGS, (char *)"SoMFVec2d_getValues(SoMFVec2d self, int start) -> SbVec2d"}, - { (char *)"SoMFVec2d_find", _wrap_SoMFVec2d_find, METH_VARARGS, (char *)"\n" - "find(SbVec2d value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2d_find(SoMFVec2d self, SbVec2d value) -> int\n" - ""}, - { (char *)"SoMFVec2d___eq__", _wrap_SoMFVec2d___eq__, METH_VARARGS, (char *)"SoMFVec2d___eq__(SoMFVec2d self, SoMFVec2d field) -> SbBool"}, - { (char *)"SoMFVec2d___ne__", _wrap_SoMFVec2d___ne__, METH_VARARGS, (char *)"SoMFVec2d___ne__(SoMFVec2d self, SoMFVec2d field) -> SbBool"}, - { (char *)"SoMFVec2d_startEditing", _wrap_SoMFVec2d_startEditing, METH_VARARGS, (char *)"SoMFVec2d_startEditing(SoMFVec2d self) -> SbVec2d"}, - { (char *)"SoMFVec2d_finishEditing", _wrap_SoMFVec2d_finishEditing, METH_VARARGS, (char *)"SoMFVec2d_finishEditing(SoMFVec2d self)"}, - { (char *)"SoMFVec2d_setValuesPointer", _wrap_SoMFVec2d_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2d userdata)\n" - "setValuesPointer(int num, SbVec2d userdata)\n" - "setValuesPointer(int num, double userdata)\n" - "SoMFVec2d_setValuesPointer(SoMFVec2d self, int num, double userdata)\n" - ""}, - { (char *)"SoMFVec2d_initClass", _wrap_SoMFVec2d_initClass, METH_VARARGS, (char *)"SoMFVec2d_initClass()"}, - { (char *)"SoMFVec2d_setValues", _wrap_SoMFVec2d_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2d newvals)\n" - "SoMFVec2d_setValues(SoMFVec2d self, int start, int num, double xy)\n" - ""}, - { (char *)"SoMFVec2d_set1Value", _wrap_SoMFVec2d_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2d value)\n" - "set1Value(int idx, double x, double y)\n" - "SoMFVec2d_set1Value(SoMFVec2d self, int idx, double xy)\n" - ""}, - { (char *)"SoMFVec2d_setValue", _wrap_SoMFVec2d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2d value)\n" - "setValue(double x, double y)\n" - "SoMFVec2d_setValue(SoMFVec2d self, double xy)\n" - ""}, - { (char *)"SoMFVec2d_swigregister", SoMFVec2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3b", _wrap_new_SoMFVec3b, METH_VARARGS, (char *)"new_SoMFVec3b() -> SoMFVec3b"}, - { (char *)"delete_SoMFVec3b", _wrap_delete_SoMFVec3b, METH_VARARGS, (char *)"delete_SoMFVec3b(SoMFVec3b self)"}, - { (char *)"SoMFVec3b_createInstance", _wrap_SoMFVec3b_createInstance, METH_VARARGS, (char *)"SoMFVec3b_createInstance() -> void"}, - { (char *)"SoMFVec3b_getClassTypeId", _wrap_SoMFVec3b_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3b_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3b_getTypeId", _wrap_SoMFVec3b_getTypeId, METH_VARARGS, (char *)"SoMFVec3b_getTypeId(SoMFVec3b self) -> SoType"}, - { (char *)"SoMFVec3b_copyFrom", _wrap_SoMFVec3b_copyFrom, METH_VARARGS, (char *)"SoMFVec3b_copyFrom(SoMFVec3b self, SoField field)"}, - { (char *)"SoMFVec3b_isSame", _wrap_SoMFVec3b_isSame, METH_VARARGS, (char *)"SoMFVec3b_isSame(SoMFVec3b self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3b_getValues", _wrap_SoMFVec3b_getValues, METH_VARARGS, (char *)"SoMFVec3b_getValues(SoMFVec3b self, int start) -> SbVec3b"}, - { (char *)"SoMFVec3b_find", _wrap_SoMFVec3b_find, METH_VARARGS, (char *)"\n" - "find(SbVec3b value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3b_find(SoMFVec3b self, SbVec3b value) -> int\n" - ""}, - { (char *)"SoMFVec3b___eq__", _wrap_SoMFVec3b___eq__, METH_VARARGS, (char *)"SoMFVec3b___eq__(SoMFVec3b self, SoMFVec3b field) -> SbBool"}, - { (char *)"SoMFVec3b___ne__", _wrap_SoMFVec3b___ne__, METH_VARARGS, (char *)"SoMFVec3b___ne__(SoMFVec3b self, SoMFVec3b field) -> SbBool"}, - { (char *)"SoMFVec3b_startEditing", _wrap_SoMFVec3b_startEditing, METH_VARARGS, (char *)"SoMFVec3b_startEditing(SoMFVec3b self) -> SbVec3b"}, - { (char *)"SoMFVec3b_finishEditing", _wrap_SoMFVec3b_finishEditing, METH_VARARGS, (char *)"SoMFVec3b_finishEditing(SoMFVec3b self)"}, - { (char *)"SoMFVec3b_setValuesPointer", _wrap_SoMFVec3b_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec3b userdata)\n" - "setValuesPointer(int num, SbVec3b userdata)\n" - "setValuesPointer(int num, int8_t userdata)\n" - "SoMFVec3b_setValuesPointer(SoMFVec3b self, int num, int8_t userdata)\n" - ""}, - { (char *)"SoMFVec3b_initClass", _wrap_SoMFVec3b_initClass, METH_VARARGS, (char *)"SoMFVec3b_initClass()"}, - { (char *)"SoMFVec3b_setValues", _wrap_SoMFVec3b_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3b newvals)\n" - "SoMFVec3b_setValues(SoMFVec3b self, int start, int num, int8_t xyz)\n" - ""}, - { (char *)"SoMFVec3b_set1Value", _wrap_SoMFVec3b_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3b value)\n" - "set1Value(int idx, int8_t x, int8_t y, int8_t z)\n" - "SoMFVec3b_set1Value(SoMFVec3b self, int idx, int8_t xyz)\n" - ""}, - { (char *)"SoMFVec3b_setValue", _wrap_SoMFVec3b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3b value)\n" - "setValue(int8_t x, int8_t y, int8_t z)\n" - "SoMFVec3b_setValue(SoMFVec3b self, int8_t xyz)\n" - ""}, - { (char *)"SoMFVec3b_swigregister", SoMFVec3b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3s", _wrap_new_SoMFVec3s, METH_VARARGS, (char *)"new_SoMFVec3s() -> SoMFVec3s"}, - { (char *)"delete_SoMFVec3s", _wrap_delete_SoMFVec3s, METH_VARARGS, (char *)"delete_SoMFVec3s(SoMFVec3s self)"}, - { (char *)"SoMFVec3s_createInstance", _wrap_SoMFVec3s_createInstance, METH_VARARGS, (char *)"SoMFVec3s_createInstance() -> void"}, - { (char *)"SoMFVec3s_getClassTypeId", _wrap_SoMFVec3s_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3s_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3s_getTypeId", _wrap_SoMFVec3s_getTypeId, METH_VARARGS, (char *)"SoMFVec3s_getTypeId(SoMFVec3s self) -> SoType"}, - { (char *)"SoMFVec3s_copyFrom", _wrap_SoMFVec3s_copyFrom, METH_VARARGS, (char *)"SoMFVec3s_copyFrom(SoMFVec3s self, SoField field)"}, - { (char *)"SoMFVec3s_isSame", _wrap_SoMFVec3s_isSame, METH_VARARGS, (char *)"SoMFVec3s_isSame(SoMFVec3s self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3s_getValues", _wrap_SoMFVec3s_getValues, METH_VARARGS, (char *)"SoMFVec3s_getValues(SoMFVec3s self, int start) -> SbVec3s"}, - { (char *)"SoMFVec3s_find", _wrap_SoMFVec3s_find, METH_VARARGS, (char *)"\n" - "find(SbVec3s value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3s_find(SoMFVec3s self, SbVec3s value) -> int\n" - ""}, - { (char *)"SoMFVec3s___eq__", _wrap_SoMFVec3s___eq__, METH_VARARGS, (char *)"SoMFVec3s___eq__(SoMFVec3s self, SoMFVec3s field) -> SbBool"}, - { (char *)"SoMFVec3s___ne__", _wrap_SoMFVec3s___ne__, METH_VARARGS, (char *)"SoMFVec3s___ne__(SoMFVec3s self, SoMFVec3s field) -> SbBool"}, - { (char *)"SoMFVec3s_startEditing", _wrap_SoMFVec3s_startEditing, METH_VARARGS, (char *)"SoMFVec3s_startEditing(SoMFVec3s self) -> SbVec3s"}, - { (char *)"SoMFVec3s_finishEditing", _wrap_SoMFVec3s_finishEditing, METH_VARARGS, (char *)"SoMFVec3s_finishEditing(SoMFVec3s self)"}, - { (char *)"SoMFVec3s_setValuesPointer", _wrap_SoMFVec3s_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec3s userdata)\n" - "setValuesPointer(int num, SbVec3s userdata)\n" - "setValuesPointer(int num, short userdata)\n" - "SoMFVec3s_setValuesPointer(SoMFVec3s self, int num, short userdata)\n" - ""}, - { (char *)"SoMFVec3s_initClass", _wrap_SoMFVec3s_initClass, METH_VARARGS, (char *)"SoMFVec3s_initClass()"}, - { (char *)"SoMFVec3s_setValues", _wrap_SoMFVec3s_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3s newvals)\n" - "SoMFVec3s_setValues(SoMFVec3s self, int start, int num, short xyz)\n" - ""}, - { (char *)"SoMFVec3s_set1Value", _wrap_SoMFVec3s_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3s value)\n" - "set1Value(int idx, short x, short y, short z)\n" - "SoMFVec3s_set1Value(SoMFVec3s self, int idx, short xyz)\n" - ""}, - { (char *)"SoMFVec3s_setValue", _wrap_SoMFVec3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3s value)\n" - "setValue(short x, short y, short z)\n" - "SoMFVec3s_setValue(SoMFVec3s self, short xyz)\n" - ""}, - { (char *)"SoMFVec3s_swigregister", SoMFVec3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3i32", _wrap_new_SoMFVec3i32, METH_VARARGS, (char *)"new_SoMFVec3i32() -> SoMFVec3i32"}, - { (char *)"delete_SoMFVec3i32", _wrap_delete_SoMFVec3i32, METH_VARARGS, (char *)"delete_SoMFVec3i32(SoMFVec3i32 self)"}, - { (char *)"SoMFVec3i32_createInstance", _wrap_SoMFVec3i32_createInstance, METH_VARARGS, (char *)"SoMFVec3i32_createInstance() -> void"}, - { (char *)"SoMFVec3i32_getClassTypeId", _wrap_SoMFVec3i32_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3i32_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3i32_getTypeId", _wrap_SoMFVec3i32_getTypeId, METH_VARARGS, (char *)"SoMFVec3i32_getTypeId(SoMFVec3i32 self) -> SoType"}, - { (char *)"SoMFVec3i32_copyFrom", _wrap_SoMFVec3i32_copyFrom, METH_VARARGS, (char *)"SoMFVec3i32_copyFrom(SoMFVec3i32 self, SoField field)"}, - { (char *)"SoMFVec3i32_isSame", _wrap_SoMFVec3i32_isSame, METH_VARARGS, (char *)"SoMFVec3i32_isSame(SoMFVec3i32 self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3i32_getValues", _wrap_SoMFVec3i32_getValues, METH_VARARGS, (char *)"SoMFVec3i32_getValues(SoMFVec3i32 self, int start) -> SbVec3i32"}, - { (char *)"SoMFVec3i32_find", _wrap_SoMFVec3i32_find, METH_VARARGS, (char *)"\n" - "find(SbVec3i32 value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3i32_find(SoMFVec3i32 self, SbVec3i32 value) -> int\n" - ""}, - { (char *)"SoMFVec3i32___eq__", _wrap_SoMFVec3i32___eq__, METH_VARARGS, (char *)"SoMFVec3i32___eq__(SoMFVec3i32 self, SoMFVec3i32 field) -> SbBool"}, - { (char *)"SoMFVec3i32___ne__", _wrap_SoMFVec3i32___ne__, METH_VARARGS, (char *)"SoMFVec3i32___ne__(SoMFVec3i32 self, SoMFVec3i32 field) -> SbBool"}, - { (char *)"SoMFVec3i32_startEditing", _wrap_SoMFVec3i32_startEditing, METH_VARARGS, (char *)"SoMFVec3i32_startEditing(SoMFVec3i32 self) -> SbVec3i32"}, - { (char *)"SoMFVec3i32_finishEditing", _wrap_SoMFVec3i32_finishEditing, METH_VARARGS, (char *)"SoMFVec3i32_finishEditing(SoMFVec3i32 self)"}, - { (char *)"SoMFVec3i32_setValuesPointer", _wrap_SoMFVec3i32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec3i32 userdata)\n" - "setValuesPointer(int num, SbVec3i32 userdata)\n" - "setValuesPointer(int num, int32_t userdata)\n" - "SoMFVec3i32_setValuesPointer(SoMFVec3i32 self, int num, int32_t userdata)\n" - ""}, - { (char *)"SoMFVec3i32_initClass", _wrap_SoMFVec3i32_initClass, METH_VARARGS, (char *)"SoMFVec3i32_initClass()"}, - { (char *)"SoMFVec3i32_setValues", _wrap_SoMFVec3i32_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3i32 newvals)\n" - "SoMFVec3i32_setValues(SoMFVec3i32 self, int start, int num, int32_t xyz)\n" - ""}, - { (char *)"SoMFVec3i32_set1Value", _wrap_SoMFVec3i32_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3i32 value)\n" - "set1Value(int idx, int32_t x, int32_t y, int32_t z)\n" - "SoMFVec3i32_set1Value(SoMFVec3i32 self, int idx, int32_t xyz)\n" - ""}, - { (char *)"SoMFVec3i32_setValue", _wrap_SoMFVec3i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3i32 value)\n" - "setValue(int32_t x, int32_t y, int32_t z)\n" - "SoMFVec3i32_setValue(SoMFVec3i32 self, int32_t xyz)\n" - ""}, - { (char *)"SoMFVec3i32_swigregister", SoMFVec3i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3d", _wrap_new_SoMFVec3d, METH_VARARGS, (char *)"new_SoMFVec3d() -> SoMFVec3d"}, - { (char *)"delete_SoMFVec3d", _wrap_delete_SoMFVec3d, METH_VARARGS, (char *)"delete_SoMFVec3d(SoMFVec3d self)"}, - { (char *)"SoMFVec3d_createInstance", _wrap_SoMFVec3d_createInstance, METH_VARARGS, (char *)"SoMFVec3d_createInstance() -> void"}, - { (char *)"SoMFVec3d_getClassTypeId", _wrap_SoMFVec3d_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3d_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3d_getTypeId", _wrap_SoMFVec3d_getTypeId, METH_VARARGS, (char *)"SoMFVec3d_getTypeId(SoMFVec3d self) -> SoType"}, - { (char *)"SoMFVec3d_copyFrom", _wrap_SoMFVec3d_copyFrom, METH_VARARGS, (char *)"SoMFVec3d_copyFrom(SoMFVec3d self, SoField field)"}, - { (char *)"SoMFVec3d_isSame", _wrap_SoMFVec3d_isSame, METH_VARARGS, (char *)"SoMFVec3d_isSame(SoMFVec3d self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3d_find", _wrap_SoMFVec3d_find, METH_VARARGS, (char *)"\n" - "find(SbVec3d value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3d_find(SoMFVec3d self, SbVec3d value) -> int\n" - ""}, - { (char *)"SoMFVec3d___eq__", _wrap_SoMFVec3d___eq__, METH_VARARGS, (char *)"SoMFVec3d___eq__(SoMFVec3d self, SoMFVec3d field) -> SbBool"}, - { (char *)"SoMFVec3d___ne__", _wrap_SoMFVec3d___ne__, METH_VARARGS, (char *)"SoMFVec3d___ne__(SoMFVec3d self, SoMFVec3d field) -> SbBool"}, - { (char *)"SoMFVec3d_startEditing", _wrap_SoMFVec3d_startEditing, METH_VARARGS, (char *)"SoMFVec3d_startEditing(SoMFVec3d self) -> SbVec3d"}, - { (char *)"SoMFVec3d_finishEditing", _wrap_SoMFVec3d_finishEditing, METH_VARARGS, (char *)"SoMFVec3d_finishEditing(SoMFVec3d self)"}, - { (char *)"SoMFVec3d_setValuesPointer", _wrap_SoMFVec3d_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec3d userdata)\n" - "setValuesPointer(int num, SbVec3d userdata)\n" - "setValuesPointer(int num, double userdata)\n" - "SoMFVec3d_setValuesPointer(SoMFVec3d self, int num, double userdata)\n" - ""}, - { (char *)"SoMFVec3d_initClass", _wrap_SoMFVec3d_initClass, METH_VARARGS, (char *)"SoMFVec3d_initClass()"}, - { (char *)"SoMFVec3d_setValues", _wrap_SoMFVec3d_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3d newvals)\n" - "SoMFVec3d_setValues(SoMFVec3d self, int start, int num, double xyz)\n" - ""}, - { (char *)"SoMFVec3d_set1Value", _wrap_SoMFVec3d_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3d value)\n" - "set1Value(int idx, double x, double y, double z)\n" - "SoMFVec3d_set1Value(SoMFVec3d self, int idx, double xyz)\n" - ""}, - { (char *)"SoMFVec3d___getitem__", _wrap_SoMFVec3d___getitem__, METH_VARARGS, (char *)"SoMFVec3d___getitem__(SoMFVec3d self, int i) -> SbVec3d"}, - { (char *)"SoMFVec3d___setitem__", _wrap_SoMFVec3d___setitem__, METH_VARARGS, (char *)"SoMFVec3d___setitem__(SoMFVec3d self, int i, SbVec3d value)"}, - { (char *)"SoMFVec3d_setValue", _wrap_SoMFVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3d value)\n" - "setValue(double x, double y, double z)\n" - "setValue(double xyz)\n" - "SoMFVec3d_setValue(SoMFVec3d self, SoMFVec3d other)\n" - ""}, - { (char *)"SoMFVec3d_getValues", _wrap_SoMFVec3d_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec3d\n" - "SoMFVec3d_getValues(SoMFVec3d self, int len) -> SbVec3d\n" - ""}, - { (char *)"SoMFVec3d_swigregister", SoMFVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4b", _wrap_new_SoMFVec4b, METH_VARARGS, (char *)"new_SoMFVec4b() -> SoMFVec4b"}, - { (char *)"delete_SoMFVec4b", _wrap_delete_SoMFVec4b, METH_VARARGS, (char *)"delete_SoMFVec4b(SoMFVec4b self)"}, - { (char *)"SoMFVec4b_createInstance", _wrap_SoMFVec4b_createInstance, METH_VARARGS, (char *)"SoMFVec4b_createInstance() -> void"}, - { (char *)"SoMFVec4b_getClassTypeId", _wrap_SoMFVec4b_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4b_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4b_getTypeId", _wrap_SoMFVec4b_getTypeId, METH_VARARGS, (char *)"SoMFVec4b_getTypeId(SoMFVec4b self) -> SoType"}, - { (char *)"SoMFVec4b_copyFrom", _wrap_SoMFVec4b_copyFrom, METH_VARARGS, (char *)"SoMFVec4b_copyFrom(SoMFVec4b self, SoField field)"}, - { (char *)"SoMFVec4b_isSame", _wrap_SoMFVec4b_isSame, METH_VARARGS, (char *)"SoMFVec4b_isSame(SoMFVec4b self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4b_getValues", _wrap_SoMFVec4b_getValues, METH_VARARGS, (char *)"SoMFVec4b_getValues(SoMFVec4b self, int start) -> SbVec4b"}, - { (char *)"SoMFVec4b_find", _wrap_SoMFVec4b_find, METH_VARARGS, (char *)"\n" - "find(SbVec4b value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4b_find(SoMFVec4b self, SbVec4b value) -> int\n" - ""}, - { (char *)"SoMFVec4b___eq__", _wrap_SoMFVec4b___eq__, METH_VARARGS, (char *)"SoMFVec4b___eq__(SoMFVec4b self, SoMFVec4b field) -> SbBool"}, - { (char *)"SoMFVec4b___ne__", _wrap_SoMFVec4b___ne__, METH_VARARGS, (char *)"SoMFVec4b___ne__(SoMFVec4b self, SoMFVec4b field) -> SbBool"}, - { (char *)"SoMFVec4b_startEditing", _wrap_SoMFVec4b_startEditing, METH_VARARGS, (char *)"SoMFVec4b_startEditing(SoMFVec4b self) -> SbVec4b"}, - { (char *)"SoMFVec4b_finishEditing", _wrap_SoMFVec4b_finishEditing, METH_VARARGS, (char *)"SoMFVec4b_finishEditing(SoMFVec4b self)"}, - { (char *)"SoMFVec4b_setValuesPointer", _wrap_SoMFVec4b_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4b userdata)\n" - "setValuesPointer(int num, SbVec4b userdata)\n" - "setValuesPointer(int num, int8_t userdata)\n" - "SoMFVec4b_setValuesPointer(SoMFVec4b self, int num, int8_t userdata)\n" - ""}, - { (char *)"SoMFVec4b_initClass", _wrap_SoMFVec4b_initClass, METH_VARARGS, (char *)"SoMFVec4b_initClass()"}, - { (char *)"SoMFVec4b_setValues", _wrap_SoMFVec4b_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4b newvals)\n" - "SoMFVec4b_setValues(SoMFVec4b self, int start, int num, int8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4b_set1Value", _wrap_SoMFVec4b_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4b value)\n" - "set1Value(int idx, int8_t x, int8_t y, int8_t z, int8_t w)\n" - "SoMFVec4b_set1Value(SoMFVec4b self, int idx, int8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4b_setValue", _wrap_SoMFVec4b_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4b value)\n" - "setValue(int8_t x, int8_t y, int8_t z, int8_t w)\n" - "SoMFVec4b_setValue(SoMFVec4b self, int8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4b_swigregister", SoMFVec4b_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4ub", _wrap_new_SoMFVec4ub, METH_VARARGS, (char *)"new_SoMFVec4ub() -> SoMFVec4ub"}, - { (char *)"delete_SoMFVec4ub", _wrap_delete_SoMFVec4ub, METH_VARARGS, (char *)"delete_SoMFVec4ub(SoMFVec4ub self)"}, - { (char *)"SoMFVec4ub_createInstance", _wrap_SoMFVec4ub_createInstance, METH_VARARGS, (char *)"SoMFVec4ub_createInstance() -> void"}, - { (char *)"SoMFVec4ub_getClassTypeId", _wrap_SoMFVec4ub_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4ub_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4ub_getTypeId", _wrap_SoMFVec4ub_getTypeId, METH_VARARGS, (char *)"SoMFVec4ub_getTypeId(SoMFVec4ub self) -> SoType"}, - { (char *)"SoMFVec4ub_copyFrom", _wrap_SoMFVec4ub_copyFrom, METH_VARARGS, (char *)"SoMFVec4ub_copyFrom(SoMFVec4ub self, SoField field)"}, - { (char *)"SoMFVec4ub_isSame", _wrap_SoMFVec4ub_isSame, METH_VARARGS, (char *)"SoMFVec4ub_isSame(SoMFVec4ub self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4ub_getValues", _wrap_SoMFVec4ub_getValues, METH_VARARGS, (char *)"SoMFVec4ub_getValues(SoMFVec4ub self, int start) -> SbVec4ub"}, - { (char *)"SoMFVec4ub_find", _wrap_SoMFVec4ub_find, METH_VARARGS, (char *)"\n" - "find(SbVec4ub value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4ub_find(SoMFVec4ub self, SbVec4ub value) -> int\n" - ""}, - { (char *)"SoMFVec4ub___eq__", _wrap_SoMFVec4ub___eq__, METH_VARARGS, (char *)"SoMFVec4ub___eq__(SoMFVec4ub self, SoMFVec4ub field) -> SbBool"}, - { (char *)"SoMFVec4ub___ne__", _wrap_SoMFVec4ub___ne__, METH_VARARGS, (char *)"SoMFVec4ub___ne__(SoMFVec4ub self, SoMFVec4ub field) -> SbBool"}, - { (char *)"SoMFVec4ub_startEditing", _wrap_SoMFVec4ub_startEditing, METH_VARARGS, (char *)"SoMFVec4ub_startEditing(SoMFVec4ub self) -> SbVec4ub"}, - { (char *)"SoMFVec4ub_finishEditing", _wrap_SoMFVec4ub_finishEditing, METH_VARARGS, (char *)"SoMFVec4ub_finishEditing(SoMFVec4ub self)"}, - { (char *)"SoMFVec4ub_setValuesPointer", _wrap_SoMFVec4ub_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4ub userdata)\n" - "setValuesPointer(int num, SbVec4ub userdata)\n" - "setValuesPointer(int num, uint8_t userdata)\n" - "SoMFVec4ub_setValuesPointer(SoMFVec4ub self, int num, uint8_t userdata)\n" - ""}, - { (char *)"SoMFVec4ub_initClass", _wrap_SoMFVec4ub_initClass, METH_VARARGS, (char *)"SoMFVec4ub_initClass()"}, - { (char *)"SoMFVec4ub_setValues", _wrap_SoMFVec4ub_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4ub newvals)\n" - "SoMFVec4ub_setValues(SoMFVec4ub self, int start, int num, uint8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ub_set1Value", _wrap_SoMFVec4ub_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4ub value)\n" - "set1Value(int idx, uint8_t x, uint8_t y, uint8_t z, uint8_t w)\n" - "SoMFVec4ub_set1Value(SoMFVec4ub self, int idx, uint8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ub_setValue", _wrap_SoMFVec4ub_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4ub value)\n" - "setValue(uint8_t x, uint8_t y, uint8_t z, uint8_t w)\n" - "SoMFVec4ub_setValue(SoMFVec4ub self, uint8_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ub_swigregister", SoMFVec4ub_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4s", _wrap_new_SoMFVec4s, METH_VARARGS, (char *)"new_SoMFVec4s() -> SoMFVec4s"}, - { (char *)"delete_SoMFVec4s", _wrap_delete_SoMFVec4s, METH_VARARGS, (char *)"delete_SoMFVec4s(SoMFVec4s self)"}, - { (char *)"SoMFVec4s_createInstance", _wrap_SoMFVec4s_createInstance, METH_VARARGS, (char *)"SoMFVec4s_createInstance() -> void"}, - { (char *)"SoMFVec4s_getClassTypeId", _wrap_SoMFVec4s_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4s_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4s_getTypeId", _wrap_SoMFVec4s_getTypeId, METH_VARARGS, (char *)"SoMFVec4s_getTypeId(SoMFVec4s self) -> SoType"}, - { (char *)"SoMFVec4s_copyFrom", _wrap_SoMFVec4s_copyFrom, METH_VARARGS, (char *)"SoMFVec4s_copyFrom(SoMFVec4s self, SoField field)"}, - { (char *)"SoMFVec4s_isSame", _wrap_SoMFVec4s_isSame, METH_VARARGS, (char *)"SoMFVec4s_isSame(SoMFVec4s self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4s_getValues", _wrap_SoMFVec4s_getValues, METH_VARARGS, (char *)"SoMFVec4s_getValues(SoMFVec4s self, int start) -> SbVec4s"}, - { (char *)"SoMFVec4s_find", _wrap_SoMFVec4s_find, METH_VARARGS, (char *)"\n" - "find(SbVec4s value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4s_find(SoMFVec4s self, SbVec4s value) -> int\n" - ""}, - { (char *)"SoMFVec4s___eq__", _wrap_SoMFVec4s___eq__, METH_VARARGS, (char *)"SoMFVec4s___eq__(SoMFVec4s self, SoMFVec4s field) -> SbBool"}, - { (char *)"SoMFVec4s___ne__", _wrap_SoMFVec4s___ne__, METH_VARARGS, (char *)"SoMFVec4s___ne__(SoMFVec4s self, SoMFVec4s field) -> SbBool"}, - { (char *)"SoMFVec4s_startEditing", _wrap_SoMFVec4s_startEditing, METH_VARARGS, (char *)"SoMFVec4s_startEditing(SoMFVec4s self) -> SbVec4s"}, - { (char *)"SoMFVec4s_finishEditing", _wrap_SoMFVec4s_finishEditing, METH_VARARGS, (char *)"SoMFVec4s_finishEditing(SoMFVec4s self)"}, - { (char *)"SoMFVec4s_setValuesPointer", _wrap_SoMFVec4s_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4s userdata)\n" - "setValuesPointer(int num, SbVec4s userdata)\n" - "setValuesPointer(int num, short userdata)\n" - "SoMFVec4s_setValuesPointer(SoMFVec4s self, int num, short userdata)\n" - ""}, - { (char *)"SoMFVec4s_initClass", _wrap_SoMFVec4s_initClass, METH_VARARGS, (char *)"SoMFVec4s_initClass()"}, - { (char *)"SoMFVec4s_setValues", _wrap_SoMFVec4s_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4s newvals)\n" - "SoMFVec4s_setValues(SoMFVec4s self, int start, int num, short xyzw)\n" - ""}, - { (char *)"SoMFVec4s_set1Value", _wrap_SoMFVec4s_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4s value)\n" - "set1Value(int idx, short x, short y, short z, short w)\n" - "SoMFVec4s_set1Value(SoMFVec4s self, int idx, short xyzw)\n" - ""}, - { (char *)"SoMFVec4s_setValue", _wrap_SoMFVec4s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4s value)\n" - "setValue(short x, short y, short z, short w)\n" - "SoMFVec4s_setValue(SoMFVec4s self, short xyzw)\n" - ""}, - { (char *)"SoMFVec4s_swigregister", SoMFVec4s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4us", _wrap_new_SoMFVec4us, METH_VARARGS, (char *)"new_SoMFVec4us() -> SoMFVec4us"}, - { (char *)"delete_SoMFVec4us", _wrap_delete_SoMFVec4us, METH_VARARGS, (char *)"delete_SoMFVec4us(SoMFVec4us self)"}, - { (char *)"SoMFVec4us_createInstance", _wrap_SoMFVec4us_createInstance, METH_VARARGS, (char *)"SoMFVec4us_createInstance() -> void"}, - { (char *)"SoMFVec4us_getClassTypeId", _wrap_SoMFVec4us_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4us_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4us_getTypeId", _wrap_SoMFVec4us_getTypeId, METH_VARARGS, (char *)"SoMFVec4us_getTypeId(SoMFVec4us self) -> SoType"}, - { (char *)"SoMFVec4us_copyFrom", _wrap_SoMFVec4us_copyFrom, METH_VARARGS, (char *)"SoMFVec4us_copyFrom(SoMFVec4us self, SoField field)"}, - { (char *)"SoMFVec4us_isSame", _wrap_SoMFVec4us_isSame, METH_VARARGS, (char *)"SoMFVec4us_isSame(SoMFVec4us self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4us_getValues", _wrap_SoMFVec4us_getValues, METH_VARARGS, (char *)"SoMFVec4us_getValues(SoMFVec4us self, int start) -> SbVec4us"}, - { (char *)"SoMFVec4us_find", _wrap_SoMFVec4us_find, METH_VARARGS, (char *)"\n" - "find(SbVec4us value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4us_find(SoMFVec4us self, SbVec4us value) -> int\n" - ""}, - { (char *)"SoMFVec4us___eq__", _wrap_SoMFVec4us___eq__, METH_VARARGS, (char *)"SoMFVec4us___eq__(SoMFVec4us self, SoMFVec4us field) -> SbBool"}, - { (char *)"SoMFVec4us___ne__", _wrap_SoMFVec4us___ne__, METH_VARARGS, (char *)"SoMFVec4us___ne__(SoMFVec4us self, SoMFVec4us field) -> SbBool"}, - { (char *)"SoMFVec4us_startEditing", _wrap_SoMFVec4us_startEditing, METH_VARARGS, (char *)"SoMFVec4us_startEditing(SoMFVec4us self) -> SbVec4us"}, - { (char *)"SoMFVec4us_finishEditing", _wrap_SoMFVec4us_finishEditing, METH_VARARGS, (char *)"SoMFVec4us_finishEditing(SoMFVec4us self)"}, - { (char *)"SoMFVec4us_setValuesPointer", _wrap_SoMFVec4us_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4us userdata)\n" - "setValuesPointer(int num, SbVec4us userdata)\n" - "setValuesPointer(int num, unsigned short userdata)\n" - "SoMFVec4us_setValuesPointer(SoMFVec4us self, int num, unsigned short userdata)\n" - ""}, - { (char *)"SoMFVec4us_initClass", _wrap_SoMFVec4us_initClass, METH_VARARGS, (char *)"SoMFVec4us_initClass()"}, - { (char *)"SoMFVec4us_setValues", _wrap_SoMFVec4us_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4us newvals)\n" - "SoMFVec4us_setValues(SoMFVec4us self, int start, int num, unsigned short xyzw)\n" - ""}, - { (char *)"SoMFVec4us_set1Value", _wrap_SoMFVec4us_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4us value)\n" - "set1Value(int idx, unsigned short x, unsigned short y, unsigned short z, \n" - " unsigned short w)\n" - "SoMFVec4us_set1Value(SoMFVec4us self, int idx, unsigned short xyzw)\n" - ""}, - { (char *)"SoMFVec4us_setValue", _wrap_SoMFVec4us_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4us value)\n" - "setValue(unsigned short x, unsigned short y, unsigned short z, \n" - " unsigned short w)\n" - "SoMFVec4us_setValue(SoMFVec4us self, unsigned short xyzw)\n" - ""}, - { (char *)"SoMFVec4us_swigregister", SoMFVec4us_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4i32", _wrap_new_SoMFVec4i32, METH_VARARGS, (char *)"new_SoMFVec4i32() -> SoMFVec4i32"}, - { (char *)"delete_SoMFVec4i32", _wrap_delete_SoMFVec4i32, METH_VARARGS, (char *)"delete_SoMFVec4i32(SoMFVec4i32 self)"}, - { (char *)"SoMFVec4i32_createInstance", _wrap_SoMFVec4i32_createInstance, METH_VARARGS, (char *)"SoMFVec4i32_createInstance() -> void"}, - { (char *)"SoMFVec4i32_getClassTypeId", _wrap_SoMFVec4i32_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4i32_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4i32_getTypeId", _wrap_SoMFVec4i32_getTypeId, METH_VARARGS, (char *)"SoMFVec4i32_getTypeId(SoMFVec4i32 self) -> SoType"}, - { (char *)"SoMFVec4i32_copyFrom", _wrap_SoMFVec4i32_copyFrom, METH_VARARGS, (char *)"SoMFVec4i32_copyFrom(SoMFVec4i32 self, SoField field)"}, - { (char *)"SoMFVec4i32_isSame", _wrap_SoMFVec4i32_isSame, METH_VARARGS, (char *)"SoMFVec4i32_isSame(SoMFVec4i32 self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4i32_getValues", _wrap_SoMFVec4i32_getValues, METH_VARARGS, (char *)"SoMFVec4i32_getValues(SoMFVec4i32 self, int start) -> SbVec4i32"}, - { (char *)"SoMFVec4i32_find", _wrap_SoMFVec4i32_find, METH_VARARGS, (char *)"\n" - "find(SbVec4i32 value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4i32_find(SoMFVec4i32 self, SbVec4i32 value) -> int\n" - ""}, - { (char *)"SoMFVec4i32___eq__", _wrap_SoMFVec4i32___eq__, METH_VARARGS, (char *)"SoMFVec4i32___eq__(SoMFVec4i32 self, SoMFVec4i32 field) -> SbBool"}, - { (char *)"SoMFVec4i32___ne__", _wrap_SoMFVec4i32___ne__, METH_VARARGS, (char *)"SoMFVec4i32___ne__(SoMFVec4i32 self, SoMFVec4i32 field) -> SbBool"}, - { (char *)"SoMFVec4i32_startEditing", _wrap_SoMFVec4i32_startEditing, METH_VARARGS, (char *)"SoMFVec4i32_startEditing(SoMFVec4i32 self) -> SbVec4i32"}, - { (char *)"SoMFVec4i32_finishEditing", _wrap_SoMFVec4i32_finishEditing, METH_VARARGS, (char *)"SoMFVec4i32_finishEditing(SoMFVec4i32 self)"}, - { (char *)"SoMFVec4i32_setValuesPointer", _wrap_SoMFVec4i32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4i32 userdata)\n" - "setValuesPointer(int num, SbVec4i32 userdata)\n" - "setValuesPointer(int num, int32_t userdata)\n" - "SoMFVec4i32_setValuesPointer(SoMFVec4i32 self, int num, int32_t userdata)\n" - ""}, - { (char *)"SoMFVec4i32_initClass", _wrap_SoMFVec4i32_initClass, METH_VARARGS, (char *)"SoMFVec4i32_initClass()"}, - { (char *)"SoMFVec4i32_setValues", _wrap_SoMFVec4i32_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4i32 newvals)\n" - "SoMFVec4i32_setValues(SoMFVec4i32 self, int start, int num, int32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4i32_set1Value", _wrap_SoMFVec4i32_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4i32 value)\n" - "set1Value(int idx, int32_t x, int32_t y, int32_t z, int32_t w)\n" - "SoMFVec4i32_set1Value(SoMFVec4i32 self, int idx, int32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4i32_setValue", _wrap_SoMFVec4i32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4i32 value)\n" - "setValue(int32_t x, int32_t y, int32_t z, int32_t w)\n" - "SoMFVec4i32_setValue(SoMFVec4i32 self, int32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4i32_swigregister", SoMFVec4i32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4ui32", _wrap_new_SoMFVec4ui32, METH_VARARGS, (char *)"new_SoMFVec4ui32() -> SoMFVec4ui32"}, - { (char *)"delete_SoMFVec4ui32", _wrap_delete_SoMFVec4ui32, METH_VARARGS, (char *)"delete_SoMFVec4ui32(SoMFVec4ui32 self)"}, - { (char *)"SoMFVec4ui32_createInstance", _wrap_SoMFVec4ui32_createInstance, METH_VARARGS, (char *)"SoMFVec4ui32_createInstance() -> void"}, - { (char *)"SoMFVec4ui32_getClassTypeId", _wrap_SoMFVec4ui32_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4ui32_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4ui32_getTypeId", _wrap_SoMFVec4ui32_getTypeId, METH_VARARGS, (char *)"SoMFVec4ui32_getTypeId(SoMFVec4ui32 self) -> SoType"}, - { (char *)"SoMFVec4ui32_copyFrom", _wrap_SoMFVec4ui32_copyFrom, METH_VARARGS, (char *)"SoMFVec4ui32_copyFrom(SoMFVec4ui32 self, SoField field)"}, - { (char *)"SoMFVec4ui32_isSame", _wrap_SoMFVec4ui32_isSame, METH_VARARGS, (char *)"SoMFVec4ui32_isSame(SoMFVec4ui32 self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4ui32_getValues", _wrap_SoMFVec4ui32_getValues, METH_VARARGS, (char *)"SoMFVec4ui32_getValues(SoMFVec4ui32 self, int start) -> SbVec4ui32"}, - { (char *)"SoMFVec4ui32_find", _wrap_SoMFVec4ui32_find, METH_VARARGS, (char *)"\n" - "find(SbVec4ui32 value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4ui32_find(SoMFVec4ui32 self, SbVec4ui32 value) -> int\n" - ""}, - { (char *)"SoMFVec4ui32___eq__", _wrap_SoMFVec4ui32___eq__, METH_VARARGS, (char *)"SoMFVec4ui32___eq__(SoMFVec4ui32 self, SoMFVec4ui32 field) -> SbBool"}, - { (char *)"SoMFVec4ui32___ne__", _wrap_SoMFVec4ui32___ne__, METH_VARARGS, (char *)"SoMFVec4ui32___ne__(SoMFVec4ui32 self, SoMFVec4ui32 field) -> SbBool"}, - { (char *)"SoMFVec4ui32_startEditing", _wrap_SoMFVec4ui32_startEditing, METH_VARARGS, (char *)"SoMFVec4ui32_startEditing(SoMFVec4ui32 self) -> SbVec4ui32"}, - { (char *)"SoMFVec4ui32_finishEditing", _wrap_SoMFVec4ui32_finishEditing, METH_VARARGS, (char *)"SoMFVec4ui32_finishEditing(SoMFVec4ui32 self)"}, - { (char *)"SoMFVec4ui32_setValuesPointer", _wrap_SoMFVec4ui32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4ui32 userdata)\n" - "setValuesPointer(int num, SbVec4ui32 userdata)\n" - "setValuesPointer(int num, uint32_t userdata)\n" - "SoMFVec4ui32_setValuesPointer(SoMFVec4ui32 self, int num, uint32_t userdata)\n" - ""}, - { (char *)"SoMFVec4ui32_initClass", _wrap_SoMFVec4ui32_initClass, METH_VARARGS, (char *)"SoMFVec4ui32_initClass()"}, - { (char *)"SoMFVec4ui32_setValues", _wrap_SoMFVec4ui32_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4ui32 newvals)\n" - "SoMFVec4ui32_setValues(SoMFVec4ui32 self, int start, int num, uint32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ui32_set1Value", _wrap_SoMFVec4ui32_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4ui32 value)\n" - "set1Value(int idx, uint32_t x, uint32_t y, uint32_t z, uint32_t w)\n" - "SoMFVec4ui32_set1Value(SoMFVec4ui32 self, int idx, uint32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ui32_setValue", _wrap_SoMFVec4ui32_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4ui32 value)\n" - "setValue(uint32_t x, uint32_t y, uint32_t z, uint32_t w)\n" - "SoMFVec4ui32_setValue(SoMFVec4ui32 self, uint32_t xyzw)\n" - ""}, - { (char *)"SoMFVec4ui32_swigregister", SoMFVec4ui32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4d", _wrap_new_SoMFVec4d, METH_VARARGS, (char *)"new_SoMFVec4d() -> SoMFVec4d"}, - { (char *)"delete_SoMFVec4d", _wrap_delete_SoMFVec4d, METH_VARARGS, (char *)"delete_SoMFVec4d(SoMFVec4d self)"}, - { (char *)"SoMFVec4d_createInstance", _wrap_SoMFVec4d_createInstance, METH_VARARGS, (char *)"SoMFVec4d_createInstance() -> void"}, - { (char *)"SoMFVec4d_getClassTypeId", _wrap_SoMFVec4d_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4d_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4d_getTypeId", _wrap_SoMFVec4d_getTypeId, METH_VARARGS, (char *)"SoMFVec4d_getTypeId(SoMFVec4d self) -> SoType"}, - { (char *)"SoMFVec4d_copyFrom", _wrap_SoMFVec4d_copyFrom, METH_VARARGS, (char *)"SoMFVec4d_copyFrom(SoMFVec4d self, SoField field)"}, - { (char *)"SoMFVec4d_isSame", _wrap_SoMFVec4d_isSame, METH_VARARGS, (char *)"SoMFVec4d_isSame(SoMFVec4d self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4d_getValues", _wrap_SoMFVec4d_getValues, METH_VARARGS, (char *)"SoMFVec4d_getValues(SoMFVec4d self, int start) -> SbVec4d"}, - { (char *)"SoMFVec4d_find", _wrap_SoMFVec4d_find, METH_VARARGS, (char *)"\n" - "find(SbVec4d value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4d_find(SoMFVec4d self, SbVec4d value) -> int\n" - ""}, - { (char *)"SoMFVec4d___eq__", _wrap_SoMFVec4d___eq__, METH_VARARGS, (char *)"SoMFVec4d___eq__(SoMFVec4d self, SoMFVec4d field) -> SbBool"}, - { (char *)"SoMFVec4d___ne__", _wrap_SoMFVec4d___ne__, METH_VARARGS, (char *)"SoMFVec4d___ne__(SoMFVec4d self, SoMFVec4d field) -> SbBool"}, - { (char *)"SoMFVec4d_startEditing", _wrap_SoMFVec4d_startEditing, METH_VARARGS, (char *)"SoMFVec4d_startEditing(SoMFVec4d self) -> SbVec4d"}, - { (char *)"SoMFVec4d_finishEditing", _wrap_SoMFVec4d_finishEditing, METH_VARARGS, (char *)"SoMFVec4d_finishEditing(SoMFVec4d self)"}, - { (char *)"SoMFVec4d_setValuesPointer", _wrap_SoMFVec4d_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec4d userdata)\n" - "setValuesPointer(int num, SbVec4d userdata)\n" - "setValuesPointer(int num, double userdata)\n" - "SoMFVec4d_setValuesPointer(SoMFVec4d self, int num, double userdata)\n" - ""}, - { (char *)"SoMFVec4d_initClass", _wrap_SoMFVec4d_initClass, METH_VARARGS, (char *)"SoMFVec4d_initClass()"}, - { (char *)"SoMFVec4d_setValues", _wrap_SoMFVec4d_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4d newvals)\n" - "SoMFVec4d_setValues(SoMFVec4d self, int start, int num, double xyzw)\n" - ""}, - { (char *)"SoMFVec4d_set1Value", _wrap_SoMFVec4d_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4d value)\n" - "set1Value(int idx, double x, double y, double z, double w)\n" - "SoMFVec4d_set1Value(SoMFVec4d self, int idx, double xyzw)\n" - ""}, - { (char *)"SoMFVec4d_setValue", _wrap_SoMFVec4d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4d value)\n" - "setValue(double x, double y, double z, double w)\n" - "SoMFVec4d_setValue(SoMFVec4d self, double xyzw)\n" - ""}, - { (char *)"SoMFVec4d_swigregister", SoMFVec4d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbStringList", _wrap_new_SbStringList, METH_VARARGS, (char *)"\n" - "SbStringList()\n" - "new_SbStringList(int sizehint) -> SbStringList\n" - ""}, - { (char *)"SbStringList_append", _wrap_SbStringList_append, METH_VARARGS, (char *)"SbStringList_append(SbStringList self, SbString string)"}, - { (char *)"SbStringList_find", _wrap_SbStringList_find, METH_VARARGS, (char *)"SbStringList_find(SbStringList self, SbString string) -> int"}, - { (char *)"SbStringList_insert", _wrap_SbStringList_insert, METH_VARARGS, (char *)"SbStringList_insert(SbStringList self, SbString string, int insertbefore)"}, - { (char *)"SbStringList_getArrayPtr", _wrap_SbStringList_getArrayPtr, METH_VARARGS, (char *)"SbStringList_getArrayPtr(SbStringList self) -> SbString"}, - { (char *)"SbStringList___setitem__", _wrap_SbStringList___setitem__, METH_VARARGS, (char *)"SbStringList___setitem__(SbStringList self, int i, SbString value)"}, - { (char *)"SbStringList___getitem__", _wrap_SbStringList___getitem__, METH_VARARGS, (char *)"SbStringList___getitem__(SbStringList self, int i) -> SbString"}, - { (char *)"SbStringList_get", _wrap_SbStringList_get, METH_VARARGS, (char *)"SbStringList_get(SbStringList self, int i) -> SbString"}, - { (char *)"delete_SbStringList", _wrap_delete_SbStringList, METH_VARARGS, (char *)"delete_SbStringList(SbStringList self)"}, - { (char *)"SbStringList_swigregister", SbStringList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3fList", _wrap_new_SbVec3fList, METH_VARARGS, (char *)"new_SbVec3fList() -> SbVec3fList"}, - { (char *)"delete_SbVec3fList", _wrap_delete_SbVec3fList, METH_VARARGS, (char *)"delete_SbVec3fList(SbVec3fList self)"}, - { (char *)"SbVec3fList_append", _wrap_SbVec3fList_append, METH_VARARGS, (char *)"SbVec3fList_append(SbVec3fList self, SbVec3f item)"}, - { (char *)"SbVec3fList_insert", _wrap_SbVec3fList_insert, METH_VARARGS, (char *)"SbVec3fList_insert(SbVec3fList self, SbVec3f item, int insertbefore)"}, - { (char *)"SbVec3fList___setitem__", _wrap_SbVec3fList___setitem__, METH_VARARGS, (char *)"SbVec3fList___setitem__(SbVec3fList self, int i, SbVec3f value)"}, - { (char *)"SbVec3fList___getitem__", _wrap_SbVec3fList___getitem__, METH_VARARGS, (char *)"SbVec3fList___getitem__(SbVec3fList self, int i) -> SbVec3f"}, - { (char *)"SbVec3fList_get", _wrap_SbVec3fList_get, METH_VARARGS, (char *)"SbVec3fList_get(SbVec3fList self, int i) -> SbVec3f"}, - { (char *)"SbVec3fList_swigregister", SbVec3fList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLockManager_SetUnlockString", _wrap_SoLockManager_SetUnlockString, METH_VARARGS, (char *)"SoLockManager_SetUnlockString(char unlockstr)"}, - { (char *)"SoLockManager_GetUnlockString", _wrap_SoLockManager_GetUnlockString, METH_VARARGS, (char *)"SoLockManager_GetUnlockString() -> char"}, - { (char *)"new_SoLockManager", _wrap_new_SoLockManager, METH_VARARGS, (char *)"new_SoLockManager() -> SoLockManager"}, - { (char *)"delete_SoLockManager", _wrap_delete_SoLockManager, METH_VARARGS, (char *)"delete_SoLockManager(SoLockManager self)"}, - { (char *)"SoLockManager_swigregister", SoLockManager_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransform_getClassTypeId", _wrap_SoTransform_getClassTypeId, METH_VARARGS, (char *)"SoTransform_getClassTypeId() -> SoType"}, - { (char *)"SoTransform_getTypeId", _wrap_SoTransform_getTypeId, METH_VARARGS, (char *)"SoTransform_getTypeId(SoTransform self) -> SoType"}, - { (char *)"SoTransform_initClass", _wrap_SoTransform_initClass, METH_VARARGS, (char *)"SoTransform_initClass()"}, - { (char *)"new_SoTransform", _wrap_new_SoTransform, METH_VARARGS, (char *)"new_SoTransform() -> SoTransform"}, - { (char *)"SoTransform_translation_set", _wrap_SoTransform_translation_set, METH_VARARGS, (char *)"SoTransform_translation_set(SoTransform self, SoSFVec3f translation)"}, - { (char *)"SoTransform_translation_get", _wrap_SoTransform_translation_get, METH_VARARGS, (char *)"SoTransform_translation_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_rotation_set", _wrap_SoTransform_rotation_set, METH_VARARGS, (char *)"SoTransform_rotation_set(SoTransform self, SoSFRotation rotation)"}, - { (char *)"SoTransform_rotation_get", _wrap_SoTransform_rotation_get, METH_VARARGS, (char *)"SoTransform_rotation_get(SoTransform self) -> SoSFRotation"}, - { (char *)"SoTransform_scaleFactor_set", _wrap_SoTransform_scaleFactor_set, METH_VARARGS, (char *)"SoTransform_scaleFactor_set(SoTransform self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransform_scaleFactor_get", _wrap_SoTransform_scaleFactor_get, METH_VARARGS, (char *)"SoTransform_scaleFactor_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_scaleOrientation_set", _wrap_SoTransform_scaleOrientation_set, METH_VARARGS, (char *)"SoTransform_scaleOrientation_set(SoTransform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoTransform_scaleOrientation_get", _wrap_SoTransform_scaleOrientation_get, METH_VARARGS, (char *)"SoTransform_scaleOrientation_get(SoTransform self) -> SoSFRotation"}, - { (char *)"SoTransform_center_set", _wrap_SoTransform_center_set, METH_VARARGS, (char *)"SoTransform_center_set(SoTransform self, SoSFVec3f center)"}, - { (char *)"SoTransform_center_get", _wrap_SoTransform_center_get, METH_VARARGS, (char *)"SoTransform_center_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_pointAt", _wrap_SoTransform_pointAt, METH_VARARGS, (char *)"SoTransform_pointAt(SoTransform self, SbVec3f frompoint, SbVec3f topoint)"}, - { (char *)"SoTransform_getScaleSpaceMatrix", _wrap_SoTransform_getScaleSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getScaleSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_getRotationSpaceMatrix", _wrap_SoTransform_getRotationSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getRotationSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_getTranslationSpaceMatrix", _wrap_SoTransform_getTranslationSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getTranslationSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_multLeft", _wrap_SoTransform_multLeft, METH_VARARGS, (char *)"SoTransform_multLeft(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_multRight", _wrap_SoTransform_multRight, METH_VARARGS, (char *)"SoTransform_multRight(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_combineLeft", _wrap_SoTransform_combineLeft, METH_VARARGS, (char *)"SoTransform_combineLeft(SoTransform self, SoTransformation nodeonright)"}, - { (char *)"SoTransform_combineRight", _wrap_SoTransform_combineRight, METH_VARARGS, (char *)"SoTransform_combineRight(SoTransform self, SoTransformation nodeonleft)"}, - { (char *)"SoTransform_setMatrix", _wrap_SoTransform_setMatrix, METH_VARARGS, (char *)"SoTransform_setMatrix(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_recenter", _wrap_SoTransform_recenter, METH_VARARGS, (char *)"SoTransform_recenter(SoTransform self, SbVec3f newcenter)"}, - { (char *)"SoTransform_doAction", _wrap_SoTransform_doAction, METH_VARARGS, (char *)"SoTransform_doAction(SoTransform self, SoAction action)"}, - { (char *)"SoTransform_GLRender", _wrap_SoTransform_GLRender, METH_VARARGS, (char *)"SoTransform_GLRender(SoTransform self, SoGLRenderAction action)"}, - { (char *)"SoTransform_callback", _wrap_SoTransform_callback, METH_VARARGS, (char *)"SoTransform_callback(SoTransform self, SoCallbackAction action)"}, - { (char *)"SoTransform_getBoundingBox", _wrap_SoTransform_getBoundingBox, METH_VARARGS, (char *)"SoTransform_getBoundingBox(SoTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransform_getMatrix", _wrap_SoTransform_getMatrix, METH_VARARGS, (char *)"SoTransform_getMatrix(SoTransform self, SoGetMatrixAction action)"}, - { (char *)"SoTransform_pick", _wrap_SoTransform_pick, METH_VARARGS, (char *)"SoTransform_pick(SoTransform self, SoPickAction action)"}, - { (char *)"SoTransform_getPrimitiveCount", _wrap_SoTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoTransform_getPrimitiveCount(SoTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTransform_swigregister", SoTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformManip_getClassTypeId", _wrap_SoTransformManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformManip_getTypeId", _wrap_SoTransformManip_getTypeId, METH_VARARGS, (char *)"SoTransformManip_getTypeId(SoTransformManip self) -> SoType"}, - { (char *)"SoTransformManip_initClass", _wrap_SoTransformManip_initClass, METH_VARARGS, (char *)"SoTransformManip_initClass()"}, - { (char *)"new_SoTransformManip", _wrap_new_SoTransformManip, METH_VARARGS, (char *)"new_SoTransformManip() -> SoTransformManip"}, - { (char *)"SoTransformManip_getDragger", _wrap_SoTransformManip_getDragger, METH_VARARGS, (char *)"SoTransformManip_getDragger(SoTransformManip self) -> SoDragger"}, - { (char *)"SoTransformManip_replaceNode", _wrap_SoTransformManip_replaceNode, METH_VARARGS, (char *)"SoTransformManip_replaceNode(SoTransformManip self, SoPath p) -> SbBool"}, - { (char *)"SoTransformManip_replaceManip", _wrap_SoTransformManip_replaceManip, METH_VARARGS, (char *)"SoTransformManip_replaceManip(SoTransformManip self, SoPath p, SoTransform newone) -> SbBool"}, - { (char *)"SoTransformManip_doAction", _wrap_SoTransformManip_doAction, METH_VARARGS, (char *)"SoTransformManip_doAction(SoTransformManip self, SoAction action)"}, - { (char *)"SoTransformManip_callback", _wrap_SoTransformManip_callback, METH_VARARGS, (char *)"SoTransformManip_callback(SoTransformManip self, SoCallbackAction action)"}, - { (char *)"SoTransformManip_GLRender", _wrap_SoTransformManip_GLRender, METH_VARARGS, (char *)"SoTransformManip_GLRender(SoTransformManip self, SoGLRenderAction action)"}, - { (char *)"SoTransformManip_getBoundingBox", _wrap_SoTransformManip_getBoundingBox, METH_VARARGS, (char *)"SoTransformManip_getBoundingBox(SoTransformManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransformManip_getMatrix", _wrap_SoTransformManip_getMatrix, METH_VARARGS, (char *)"SoTransformManip_getMatrix(SoTransformManip self, SoGetMatrixAction action)"}, - { (char *)"SoTransformManip_handleEvent", _wrap_SoTransformManip_handleEvent, METH_VARARGS, (char *)"SoTransformManip_handleEvent(SoTransformManip self, SoHandleEventAction action)"}, - { (char *)"SoTransformManip_pick", _wrap_SoTransformManip_pick, METH_VARARGS, (char *)"SoTransformManip_pick(SoTransformManip self, SoPickAction action)"}, - { (char *)"SoTransformManip_search", _wrap_SoTransformManip_search, METH_VARARGS, (char *)"SoTransformManip_search(SoTransformManip self, SoSearchAction action)"}, - { (char *)"SoTransformManip_getChildren", _wrap_SoTransformManip_getChildren, METH_VARARGS, (char *)"SoTransformManip_getChildren(SoTransformManip self) -> SoChildList"}, - { (char *)"SoTransformManip_swigregister", SoTransformManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCenterballManip_getClassTypeId", _wrap_SoCenterballManip_getClassTypeId, METH_VARARGS, (char *)"SoCenterballManip_getClassTypeId() -> SoType"}, - { (char *)"SoCenterballManip_getTypeId", _wrap_SoCenterballManip_getTypeId, METH_VARARGS, (char *)"SoCenterballManip_getTypeId(SoCenterballManip self) -> SoType"}, - { (char *)"SoCenterballManip_initClass", _wrap_SoCenterballManip_initClass, METH_VARARGS, (char *)"SoCenterballManip_initClass()"}, - { (char *)"new_SoCenterballManip", _wrap_new_SoCenterballManip, METH_VARARGS, (char *)"new_SoCenterballManip() -> SoCenterballManip"}, - { (char *)"SoCenterballManip_swigregister", SoCenterballManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlane_getClassTypeId", _wrap_SoClipPlane_getClassTypeId, METH_VARARGS, (char *)"SoClipPlane_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlane_getTypeId", _wrap_SoClipPlane_getTypeId, METH_VARARGS, (char *)"SoClipPlane_getTypeId(SoClipPlane self) -> SoType"}, - { (char *)"SoClipPlane_initClass", _wrap_SoClipPlane_initClass, METH_VARARGS, (char *)"SoClipPlane_initClass()"}, - { (char *)"new_SoClipPlane", _wrap_new_SoClipPlane, METH_VARARGS, (char *)"new_SoClipPlane() -> SoClipPlane"}, - { (char *)"SoClipPlane_plane_set", _wrap_SoClipPlane_plane_set, METH_VARARGS, (char *)"SoClipPlane_plane_set(SoClipPlane self, SoSFPlane plane)"}, - { (char *)"SoClipPlane_plane_get", _wrap_SoClipPlane_plane_get, METH_VARARGS, (char *)"SoClipPlane_plane_get(SoClipPlane self) -> SoSFPlane"}, - { (char *)"SoClipPlane_on_set", _wrap_SoClipPlane_on_set, METH_VARARGS, (char *)"SoClipPlane_on_set(SoClipPlane self, SoSFBool on)"}, - { (char *)"SoClipPlane_on_get", _wrap_SoClipPlane_on_get, METH_VARARGS, (char *)"SoClipPlane_on_get(SoClipPlane self) -> SoSFBool"}, - { (char *)"SoClipPlane_doAction", _wrap_SoClipPlane_doAction, METH_VARARGS, (char *)"SoClipPlane_doAction(SoClipPlane self, SoAction action)"}, - { (char *)"SoClipPlane_GLRender", _wrap_SoClipPlane_GLRender, METH_VARARGS, (char *)"SoClipPlane_GLRender(SoClipPlane self, SoGLRenderAction action)"}, - { (char *)"SoClipPlane_callback", _wrap_SoClipPlane_callback, METH_VARARGS, (char *)"SoClipPlane_callback(SoClipPlane self, SoCallbackAction action)"}, - { (char *)"SoClipPlane_pick", _wrap_SoClipPlane_pick, METH_VARARGS, (char *)"SoClipPlane_pick(SoClipPlane self, SoPickAction action)"}, - { (char *)"SoClipPlane_swigregister", SoClipPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlaneManip_getClassTypeId", _wrap_SoClipPlaneManip_getClassTypeId, METH_VARARGS, (char *)"SoClipPlaneManip_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlaneManip_getTypeId", _wrap_SoClipPlaneManip_getTypeId, METH_VARARGS, (char *)"SoClipPlaneManip_getTypeId(SoClipPlaneManip self) -> SoType"}, - { (char *)"SoClipPlaneManip_initClass", _wrap_SoClipPlaneManip_initClass, METH_VARARGS, (char *)"SoClipPlaneManip_initClass()"}, - { (char *)"new_SoClipPlaneManip", _wrap_new_SoClipPlaneManip, METH_VARARGS, (char *)"new_SoClipPlaneManip() -> SoClipPlaneManip"}, - { (char *)"SoClipPlaneManip_getDragger", _wrap_SoClipPlaneManip_getDragger, METH_VARARGS, (char *)"SoClipPlaneManip_getDragger(SoClipPlaneManip self) -> SoDragger"}, - { (char *)"SoClipPlaneManip_setValue", _wrap_SoClipPlaneManip_setValue, METH_VARARGS, (char *)"\n" - "SoClipPlaneManip_setValue(SoClipPlaneManip self, SbBox3f box, SbVec3f planenormal, \n" - " float draggerscalefactor)\n" - ""}, - { (char *)"SoClipPlaneManip_replaceNode", _wrap_SoClipPlaneManip_replaceNode, METH_VARARGS, (char *)"SoClipPlaneManip_replaceNode(SoClipPlaneManip self, SoPath p) -> SbBool"}, - { (char *)"SoClipPlaneManip_replaceManip", _wrap_SoClipPlaneManip_replaceManip, METH_VARARGS, (char *)"SoClipPlaneManip_replaceManip(SoClipPlaneManip self, SoPath p, SoClipPlane newone) -> SbBool"}, - { (char *)"SoClipPlaneManip_doAction", _wrap_SoClipPlaneManip_doAction, METH_VARARGS, (char *)"SoClipPlaneManip_doAction(SoClipPlaneManip self, SoAction action)"}, - { (char *)"SoClipPlaneManip_callback", _wrap_SoClipPlaneManip_callback, METH_VARARGS, (char *)"SoClipPlaneManip_callback(SoClipPlaneManip self, SoCallbackAction action)"}, - { (char *)"SoClipPlaneManip_GLRender", _wrap_SoClipPlaneManip_GLRender, METH_VARARGS, (char *)"SoClipPlaneManip_GLRender(SoClipPlaneManip self, SoGLRenderAction action)"}, - { (char *)"SoClipPlaneManip_getBoundingBox", _wrap_SoClipPlaneManip_getBoundingBox, METH_VARARGS, (char *)"SoClipPlaneManip_getBoundingBox(SoClipPlaneManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoClipPlaneManip_getMatrix", _wrap_SoClipPlaneManip_getMatrix, METH_VARARGS, (char *)"SoClipPlaneManip_getMatrix(SoClipPlaneManip self, SoGetMatrixAction action)"}, - { (char *)"SoClipPlaneManip_handleEvent", _wrap_SoClipPlaneManip_handleEvent, METH_VARARGS, (char *)"SoClipPlaneManip_handleEvent(SoClipPlaneManip self, SoHandleEventAction action)"}, - { (char *)"SoClipPlaneManip_pick", _wrap_SoClipPlaneManip_pick, METH_VARARGS, (char *)"SoClipPlaneManip_pick(SoClipPlaneManip self, SoPickAction action)"}, - { (char *)"SoClipPlaneManip_search", _wrap_SoClipPlaneManip_search, METH_VARARGS, (char *)"SoClipPlaneManip_search(SoClipPlaneManip self, SoSearchAction action)"}, - { (char *)"SoClipPlaneManip_getChildren", _wrap_SoClipPlaneManip_getChildren, METH_VARARGS, (char *)"SoClipPlaneManip_getChildren(SoClipPlaneManip self) -> SoChildList"}, - { (char *)"SoClipPlaneManip_draggerPosition_set", _wrap_SoClipPlaneManip_draggerPosition_set, METH_VARARGS, (char *)"SoClipPlaneManip_draggerPosition_set(SoClipPlaneManip self, SoSFVec3f draggerPosition)"}, - { (char *)"SoClipPlaneManip_draggerPosition_get", _wrap_SoClipPlaneManip_draggerPosition_get, METH_VARARGS, (char *)"SoClipPlaneManip_draggerPosition_get(SoClipPlaneManip self) -> SoSFVec3f"}, - { (char *)"SoClipPlaneManip_swigregister", SoClipPlaneManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLight_getClassTypeId", _wrap_SoLight_getClassTypeId, METH_VARARGS, (char *)"SoLight_getClassTypeId() -> SoType"}, - { (char *)"SoLight_getTypeId", _wrap_SoLight_getTypeId, METH_VARARGS, (char *)"SoLight_getTypeId(SoLight self) -> SoType"}, - { (char *)"SoLight_initClass", _wrap_SoLight_initClass, METH_VARARGS, (char *)"SoLight_initClass()"}, - { (char *)"SoLight_on_set", _wrap_SoLight_on_set, METH_VARARGS, (char *)"SoLight_on_set(SoLight self, SoSFBool on)"}, - { (char *)"SoLight_on_get", _wrap_SoLight_on_get, METH_VARARGS, (char *)"SoLight_on_get(SoLight self) -> SoSFBool"}, - { (char *)"SoLight_intensity_set", _wrap_SoLight_intensity_set, METH_VARARGS, (char *)"SoLight_intensity_set(SoLight self, SoSFFloat intensity)"}, - { (char *)"SoLight_intensity_get", _wrap_SoLight_intensity_get, METH_VARARGS, (char *)"SoLight_intensity_get(SoLight self) -> SoSFFloat"}, - { (char *)"SoLight_color_set", _wrap_SoLight_color_set, METH_VARARGS, (char *)"SoLight_color_set(SoLight self, SoSFColor color)"}, - { (char *)"SoLight_color_get", _wrap_SoLight_color_get, METH_VARARGS, (char *)"SoLight_color_get(SoLight self) -> SoSFColor"}, - { (char *)"SoLight_callback", _wrap_SoLight_callback, METH_VARARGS, (char *)"SoLight_callback(SoLight self, SoCallbackAction action)"}, - { (char *)"SoLight_swigregister", SoLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLight_getClassTypeId", _wrap_SoDirectionalLight_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLight_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLight_getTypeId", _wrap_SoDirectionalLight_getTypeId, METH_VARARGS, (char *)"SoDirectionalLight_getTypeId(SoDirectionalLight self) -> SoType"}, - { (char *)"SoDirectionalLight_initClass", _wrap_SoDirectionalLight_initClass, METH_VARARGS, (char *)"SoDirectionalLight_initClass()"}, - { (char *)"new_SoDirectionalLight", _wrap_new_SoDirectionalLight, METH_VARARGS, (char *)"new_SoDirectionalLight() -> SoDirectionalLight"}, - { (char *)"SoDirectionalLight_direction_set", _wrap_SoDirectionalLight_direction_set, METH_VARARGS, (char *)"SoDirectionalLight_direction_set(SoDirectionalLight self, SoSFVec3f direction)"}, - { (char *)"SoDirectionalLight_direction_get", _wrap_SoDirectionalLight_direction_get, METH_VARARGS, (char *)"SoDirectionalLight_direction_get(SoDirectionalLight self) -> SoSFVec3f"}, - { (char *)"SoDirectionalLight_GLRender", _wrap_SoDirectionalLight_GLRender, METH_VARARGS, (char *)"SoDirectionalLight_GLRender(SoDirectionalLight self, SoGLRenderAction action)"}, - { (char *)"SoDirectionalLight_swigregister", SoDirectionalLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLightManip_getClassTypeId", _wrap_SoDirectionalLightManip_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLightManip_getTypeId", _wrap_SoDirectionalLightManip_getTypeId, METH_VARARGS, (char *)"SoDirectionalLightManip_getTypeId(SoDirectionalLightManip self) -> SoType"}, - { (char *)"SoDirectionalLightManip_initClass", _wrap_SoDirectionalLightManip_initClass, METH_VARARGS, (char *)"SoDirectionalLightManip_initClass()"}, - { (char *)"new_SoDirectionalLightManip", _wrap_new_SoDirectionalLightManip, METH_VARARGS, (char *)"new_SoDirectionalLightManip() -> SoDirectionalLightManip"}, - { (char *)"SoDirectionalLightManip_getDragger", _wrap_SoDirectionalLightManip_getDragger, METH_VARARGS, (char *)"SoDirectionalLightManip_getDragger(SoDirectionalLightManip self) -> SoDragger"}, - { (char *)"SoDirectionalLightManip_replaceNode", _wrap_SoDirectionalLightManip_replaceNode, METH_VARARGS, (char *)"SoDirectionalLightManip_replaceNode(SoDirectionalLightManip self, SoPath path) -> SbBool"}, - { (char *)"SoDirectionalLightManip_replaceManip", _wrap_SoDirectionalLightManip_replaceManip, METH_VARARGS, (char *)"SoDirectionalLightManip_replaceManip(SoDirectionalLightManip self, SoPath path, SoDirectionalLight newone) -> SbBool"}, - { (char *)"SoDirectionalLightManip_doAction", _wrap_SoDirectionalLightManip_doAction, METH_VARARGS, (char *)"SoDirectionalLightManip_doAction(SoDirectionalLightManip self, SoAction action)"}, - { (char *)"SoDirectionalLightManip_callback", _wrap_SoDirectionalLightManip_callback, METH_VARARGS, (char *)"SoDirectionalLightManip_callback(SoDirectionalLightManip self, SoCallbackAction action)"}, - { (char *)"SoDirectionalLightManip_GLRender", _wrap_SoDirectionalLightManip_GLRender, METH_VARARGS, (char *)"SoDirectionalLightManip_GLRender(SoDirectionalLightManip self, SoGLRenderAction action)"}, - { (char *)"SoDirectionalLightManip_getBoundingBox", _wrap_SoDirectionalLightManip_getBoundingBox, METH_VARARGS, (char *)"SoDirectionalLightManip_getBoundingBox(SoDirectionalLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoDirectionalLightManip_getMatrix", _wrap_SoDirectionalLightManip_getMatrix, METH_VARARGS, (char *)"SoDirectionalLightManip_getMatrix(SoDirectionalLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoDirectionalLightManip_handleEvent", _wrap_SoDirectionalLightManip_handleEvent, METH_VARARGS, (char *)"SoDirectionalLightManip_handleEvent(SoDirectionalLightManip self, SoHandleEventAction action)"}, - { (char *)"SoDirectionalLightManip_pick", _wrap_SoDirectionalLightManip_pick, METH_VARARGS, (char *)"SoDirectionalLightManip_pick(SoDirectionalLightManip self, SoPickAction action)"}, - { (char *)"SoDirectionalLightManip_search", _wrap_SoDirectionalLightManip_search, METH_VARARGS, (char *)"SoDirectionalLightManip_search(SoDirectionalLightManip self, SoSearchAction action)"}, - { (char *)"SoDirectionalLightManip_getChildren", _wrap_SoDirectionalLightManip_getChildren, METH_VARARGS, (char *)"SoDirectionalLightManip_getChildren(SoDirectionalLightManip self) -> SoChildList"}, - { (char *)"SoDirectionalLightManip_swigregister", SoDirectionalLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleBoxManip_getClassTypeId", _wrap_SoHandleBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoHandleBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoHandleBoxManip_getTypeId", _wrap_SoHandleBoxManip_getTypeId, METH_VARARGS, (char *)"SoHandleBoxManip_getTypeId(SoHandleBoxManip self) -> SoType"}, - { (char *)"SoHandleBoxManip_initClass", _wrap_SoHandleBoxManip_initClass, METH_VARARGS, (char *)"SoHandleBoxManip_initClass()"}, - { (char *)"new_SoHandleBoxManip", _wrap_new_SoHandleBoxManip, METH_VARARGS, (char *)"new_SoHandleBoxManip() -> SoHandleBoxManip"}, - { (char *)"SoHandleBoxManip_swigregister", SoHandleBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoJackManip_getClassTypeId", _wrap_SoJackManip_getClassTypeId, METH_VARARGS, (char *)"SoJackManip_getClassTypeId() -> SoType"}, - { (char *)"SoJackManip_getTypeId", _wrap_SoJackManip_getTypeId, METH_VARARGS, (char *)"SoJackManip_getTypeId(SoJackManip self) -> SoType"}, - { (char *)"SoJackManip_initClass", _wrap_SoJackManip_initClass, METH_VARARGS, (char *)"SoJackManip_initClass()"}, - { (char *)"new_SoJackManip", _wrap_new_SoJackManip, METH_VARARGS, (char *)"new_SoJackManip() -> SoJackManip"}, - { (char *)"SoJackManip_swigregister", SoJackManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLight_getClassTypeId", _wrap_SoPointLight_getClassTypeId, METH_VARARGS, (char *)"SoPointLight_getClassTypeId() -> SoType"}, - { (char *)"SoPointLight_getTypeId", _wrap_SoPointLight_getTypeId, METH_VARARGS, (char *)"SoPointLight_getTypeId(SoPointLight self) -> SoType"}, - { (char *)"SoPointLight_initClass", _wrap_SoPointLight_initClass, METH_VARARGS, (char *)"SoPointLight_initClass()"}, - { (char *)"new_SoPointLight", _wrap_new_SoPointLight, METH_VARARGS, (char *)"new_SoPointLight() -> SoPointLight"}, - { (char *)"SoPointLight_location_set", _wrap_SoPointLight_location_set, METH_VARARGS, (char *)"SoPointLight_location_set(SoPointLight self, SoSFVec3f location)"}, - { (char *)"SoPointLight_location_get", _wrap_SoPointLight_location_get, METH_VARARGS, (char *)"SoPointLight_location_get(SoPointLight self) -> SoSFVec3f"}, - { (char *)"SoPointLight_GLRender", _wrap_SoPointLight_GLRender, METH_VARARGS, (char *)"SoPointLight_GLRender(SoPointLight self, SoGLRenderAction action)"}, - { (char *)"SoPointLight_swigregister", SoPointLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLightManip_getClassTypeId", _wrap_SoPointLightManip_getClassTypeId, METH_VARARGS, (char *)"SoPointLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoPointLightManip_getTypeId", _wrap_SoPointLightManip_getTypeId, METH_VARARGS, (char *)"SoPointLightManip_getTypeId(SoPointLightManip self) -> SoType"}, - { (char *)"SoPointLightManip_initClass", _wrap_SoPointLightManip_initClass, METH_VARARGS, (char *)"SoPointLightManip_initClass()"}, - { (char *)"new_SoPointLightManip", _wrap_new_SoPointLightManip, METH_VARARGS, (char *)"new_SoPointLightManip() -> SoPointLightManip"}, - { (char *)"SoPointLightManip_getDragger", _wrap_SoPointLightManip_getDragger, METH_VARARGS, (char *)"SoPointLightManip_getDragger(SoPointLightManip self) -> SoDragger"}, - { (char *)"SoPointLightManip_replaceNode", _wrap_SoPointLightManip_replaceNode, METH_VARARGS, (char *)"SoPointLightManip_replaceNode(SoPointLightManip self, SoPath path) -> SbBool"}, - { (char *)"SoPointLightManip_replaceManip", _wrap_SoPointLightManip_replaceManip, METH_VARARGS, (char *)"SoPointLightManip_replaceManip(SoPointLightManip self, SoPath path, SoPointLight newone) -> SbBool"}, - { (char *)"SoPointLightManip_doAction", _wrap_SoPointLightManip_doAction, METH_VARARGS, (char *)"SoPointLightManip_doAction(SoPointLightManip self, SoAction action)"}, - { (char *)"SoPointLightManip_callback", _wrap_SoPointLightManip_callback, METH_VARARGS, (char *)"SoPointLightManip_callback(SoPointLightManip self, SoCallbackAction action)"}, - { (char *)"SoPointLightManip_GLRender", _wrap_SoPointLightManip_GLRender, METH_VARARGS, (char *)"SoPointLightManip_GLRender(SoPointLightManip self, SoGLRenderAction action)"}, - { (char *)"SoPointLightManip_getBoundingBox", _wrap_SoPointLightManip_getBoundingBox, METH_VARARGS, (char *)"SoPointLightManip_getBoundingBox(SoPointLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPointLightManip_getMatrix", _wrap_SoPointLightManip_getMatrix, METH_VARARGS, (char *)"SoPointLightManip_getMatrix(SoPointLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoPointLightManip_handleEvent", _wrap_SoPointLightManip_handleEvent, METH_VARARGS, (char *)"SoPointLightManip_handleEvent(SoPointLightManip self, SoHandleEventAction action)"}, - { (char *)"SoPointLightManip_pick", _wrap_SoPointLightManip_pick, METH_VARARGS, (char *)"SoPointLightManip_pick(SoPointLightManip self, SoPickAction action)"}, - { (char *)"SoPointLightManip_search", _wrap_SoPointLightManip_search, METH_VARARGS, (char *)"SoPointLightManip_search(SoPointLightManip self, SoSearchAction action)"}, - { (char *)"SoPointLightManip_getChildren", _wrap_SoPointLightManip_getChildren, METH_VARARGS, (char *)"SoPointLightManip_getChildren(SoPointLightManip self) -> SoChildList"}, - { (char *)"SoPointLightManip_swigregister", SoPointLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLight_getClassTypeId", _wrap_SoSpotLight_getClassTypeId, METH_VARARGS, (char *)"SoSpotLight_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLight_getTypeId", _wrap_SoSpotLight_getTypeId, METH_VARARGS, (char *)"SoSpotLight_getTypeId(SoSpotLight self) -> SoType"}, - { (char *)"SoSpotLight_initClass", _wrap_SoSpotLight_initClass, METH_VARARGS, (char *)"SoSpotLight_initClass()"}, - { (char *)"new_SoSpotLight", _wrap_new_SoSpotLight, METH_VARARGS, (char *)"new_SoSpotLight() -> SoSpotLight"}, - { (char *)"SoSpotLight_location_set", _wrap_SoSpotLight_location_set, METH_VARARGS, (char *)"SoSpotLight_location_set(SoSpotLight self, SoSFVec3f location)"}, - { (char *)"SoSpotLight_location_get", _wrap_SoSpotLight_location_get, METH_VARARGS, (char *)"SoSpotLight_location_get(SoSpotLight self) -> SoSFVec3f"}, - { (char *)"SoSpotLight_direction_set", _wrap_SoSpotLight_direction_set, METH_VARARGS, (char *)"SoSpotLight_direction_set(SoSpotLight self, SoSFVec3f direction)"}, - { (char *)"SoSpotLight_direction_get", _wrap_SoSpotLight_direction_get, METH_VARARGS, (char *)"SoSpotLight_direction_get(SoSpotLight self) -> SoSFVec3f"}, - { (char *)"SoSpotLight_dropOffRate_set", _wrap_SoSpotLight_dropOffRate_set, METH_VARARGS, (char *)"SoSpotLight_dropOffRate_set(SoSpotLight self, SoSFFloat dropOffRate)"}, - { (char *)"SoSpotLight_dropOffRate_get", _wrap_SoSpotLight_dropOffRate_get, METH_VARARGS, (char *)"SoSpotLight_dropOffRate_get(SoSpotLight self) -> SoSFFloat"}, - { (char *)"SoSpotLight_cutOffAngle_set", _wrap_SoSpotLight_cutOffAngle_set, METH_VARARGS, (char *)"SoSpotLight_cutOffAngle_set(SoSpotLight self, SoSFFloat cutOffAngle)"}, - { (char *)"SoSpotLight_cutOffAngle_get", _wrap_SoSpotLight_cutOffAngle_get, METH_VARARGS, (char *)"SoSpotLight_cutOffAngle_get(SoSpotLight self) -> SoSFFloat"}, - { (char *)"SoSpotLight_GLRender", _wrap_SoSpotLight_GLRender, METH_VARARGS, (char *)"SoSpotLight_GLRender(SoSpotLight self, SoGLRenderAction action)"}, - { (char *)"SoSpotLight_swigregister", SoSpotLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLightManip_getClassTypeId", _wrap_SoSpotLightManip_getClassTypeId, METH_VARARGS, (char *)"SoSpotLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLightManip_getTypeId", _wrap_SoSpotLightManip_getTypeId, METH_VARARGS, (char *)"SoSpotLightManip_getTypeId(SoSpotLightManip self) -> SoType"}, - { (char *)"SoSpotLightManip_initClass", _wrap_SoSpotLightManip_initClass, METH_VARARGS, (char *)"SoSpotLightManip_initClass()"}, - { (char *)"new_SoSpotLightManip", _wrap_new_SoSpotLightManip, METH_VARARGS, (char *)"new_SoSpotLightManip() -> SoSpotLightManip"}, - { (char *)"SoSpotLightManip_getDragger", _wrap_SoSpotLightManip_getDragger, METH_VARARGS, (char *)"SoSpotLightManip_getDragger(SoSpotLightManip self) -> SoDragger"}, - { (char *)"SoSpotLightManip_replaceNode", _wrap_SoSpotLightManip_replaceNode, METH_VARARGS, (char *)"SoSpotLightManip_replaceNode(SoSpotLightManip self, SoPath p) -> SbBool"}, - { (char *)"SoSpotLightManip_replaceManip", _wrap_SoSpotLightManip_replaceManip, METH_VARARGS, (char *)"SoSpotLightManip_replaceManip(SoSpotLightManip self, SoPath p, SoSpotLight newone) -> SbBool"}, - { (char *)"SoSpotLightManip_doAction", _wrap_SoSpotLightManip_doAction, METH_VARARGS, (char *)"SoSpotLightManip_doAction(SoSpotLightManip self, SoAction action)"}, - { (char *)"SoSpotLightManip_callback", _wrap_SoSpotLightManip_callback, METH_VARARGS, (char *)"SoSpotLightManip_callback(SoSpotLightManip self, SoCallbackAction action)"}, - { (char *)"SoSpotLightManip_GLRender", _wrap_SoSpotLightManip_GLRender, METH_VARARGS, (char *)"SoSpotLightManip_GLRender(SoSpotLightManip self, SoGLRenderAction action)"}, - { (char *)"SoSpotLightManip_getBoundingBox", _wrap_SoSpotLightManip_getBoundingBox, METH_VARARGS, (char *)"SoSpotLightManip_getBoundingBox(SoSpotLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSpotLightManip_getMatrix", _wrap_SoSpotLightManip_getMatrix, METH_VARARGS, (char *)"SoSpotLightManip_getMatrix(SoSpotLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoSpotLightManip_handleEvent", _wrap_SoSpotLightManip_handleEvent, METH_VARARGS, (char *)"SoSpotLightManip_handleEvent(SoSpotLightManip self, SoHandleEventAction action)"}, - { (char *)"SoSpotLightManip_pick", _wrap_SoSpotLightManip_pick, METH_VARARGS, (char *)"SoSpotLightManip_pick(SoSpotLightManip self, SoPickAction action)"}, - { (char *)"SoSpotLightManip_search", _wrap_SoSpotLightManip_search, METH_VARARGS, (char *)"SoSpotLightManip_search(SoSpotLightManip self, SoSearchAction action)"}, - { (char *)"SoSpotLightManip_getChildren", _wrap_SoSpotLightManip_getChildren, METH_VARARGS, (char *)"SoSpotLightManip_getChildren(SoSpotLightManip self) -> SoChildList"}, - { (char *)"SoSpotLightManip_swigregister", SoSpotLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabBoxManip_getClassTypeId", _wrap_SoTabBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoTabBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoTabBoxManip_getTypeId", _wrap_SoTabBoxManip_getTypeId, METH_VARARGS, (char *)"SoTabBoxManip_getTypeId(SoTabBoxManip self) -> SoType"}, - { (char *)"SoTabBoxManip_initClass", _wrap_SoTabBoxManip_initClass, METH_VARARGS, (char *)"SoTabBoxManip_initClass()"}, - { (char *)"new_SoTabBoxManip", _wrap_new_SoTabBoxManip, METH_VARARGS, (char *)"new_SoTabBoxManip() -> SoTabBoxManip"}, - { (char *)"SoTabBoxManip_swigregister", SoTabBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTrackballManip_getClassTypeId", _wrap_SoTrackballManip_getClassTypeId, METH_VARARGS, (char *)"SoTrackballManip_getClassTypeId() -> SoType"}, - { (char *)"SoTrackballManip_getTypeId", _wrap_SoTrackballManip_getTypeId, METH_VARARGS, (char *)"SoTrackballManip_getTypeId(SoTrackballManip self) -> SoType"}, - { (char *)"SoTrackballManip_initClass", _wrap_SoTrackballManip_initClass, METH_VARARGS, (char *)"SoTrackballManip_initClass()"}, - { (char *)"new_SoTrackballManip", _wrap_new_SoTrackballManip, METH_VARARGS, (char *)"new_SoTrackballManip() -> SoTrackballManip"}, - { (char *)"SoTrackballManip_swigregister", SoTrackballManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformBoxManip_getClassTypeId", _wrap_SoTransformBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformBoxManip_getTypeId", _wrap_SoTransformBoxManip_getTypeId, METH_VARARGS, (char *)"SoTransformBoxManip_getTypeId(SoTransformBoxManip self) -> SoType"}, - { (char *)"SoTransformBoxManip_initClass", _wrap_SoTransformBoxManip_initClass, METH_VARARGS, (char *)"SoTransformBoxManip_initClass()"}, - { (char *)"new_SoTransformBoxManip", _wrap_new_SoTransformBoxManip, METH_VARARGS, (char *)"new_SoTransformBoxManip() -> SoTransformBoxManip"}, - { (char *)"SoTransformBoxManip_swigregister", SoTransformBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformerManip_getClassTypeId", _wrap_SoTransformerManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformerManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformerManip_getTypeId", _wrap_SoTransformerManip_getTypeId, METH_VARARGS, (char *)"SoTransformerManip_getTypeId(SoTransformerManip self) -> SoType"}, - { (char *)"SoTransformerManip_initClass", _wrap_SoTransformerManip_initClass, METH_VARARGS, (char *)"SoTransformerManip_initClass()"}, - { (char *)"new_SoTransformerManip", _wrap_new_SoTransformerManip, METH_VARARGS, (char *)"new_SoTransformerManip() -> SoTransformerManip"}, - { (char *)"SoTransformerManip_isLocateHighlighting", _wrap_SoTransformerManip_isLocateHighlighting, METH_VARARGS, (char *)"SoTransformerManip_isLocateHighlighting(SoTransformerManip self) -> SbBool"}, - { (char *)"SoTransformerManip_setLocateHighlighting", _wrap_SoTransformerManip_setLocateHighlighting, METH_VARARGS, (char *)"SoTransformerManip_setLocateHighlighting(SoTransformerManip self, SbBool onoff)"}, - { (char *)"SoTransformerManip_unsquishKnobs", _wrap_SoTransformerManip_unsquishKnobs, METH_VARARGS, (char *)"SoTransformerManip_unsquishKnobs(SoTransformerManip self)"}, - { (char *)"SoTransformerManip_swigregister", SoTransformerManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAudioDevice_instance", _wrap_SoAudioDevice_instance, METH_VARARGS, (char *)"SoAudioDevice_instance() -> SoAudioDevice"}, - { (char *)"SoAudioDevice_init", _wrap_SoAudioDevice_init, METH_VARARGS, (char *)"SoAudioDevice_init(SoAudioDevice self, SbString devicetype, SbString devicename) -> SbBool"}, - { (char *)"SoAudioDevice_enable", _wrap_SoAudioDevice_enable, METH_VARARGS, (char *)"SoAudioDevice_enable(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_disable", _wrap_SoAudioDevice_disable, METH_VARARGS, (char *)"SoAudioDevice_disable(SoAudioDevice self)"}, - { (char *)"SoAudioDevice_isEnabled", _wrap_SoAudioDevice_isEnabled, METH_VARARGS, (char *)"SoAudioDevice_isEnabled(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_haveSound", _wrap_SoAudioDevice_haveSound, METH_VARARGS, (char *)"SoAudioDevice_haveSound(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_setGain", _wrap_SoAudioDevice_setGain, METH_VARARGS, (char *)"SoAudioDevice_setGain(SoAudioDevice self, float gain)"}, - { (char *)"SoAudioDevice_mute", _wrap_SoAudioDevice_mute, METH_VARARGS, (char *)"\n" - "mute(SbBool mute=1)\n" - "SoAudioDevice_mute(SoAudioDevice self)\n" - ""}, - { (char *)"SoAudioDevice_swigregister", SoAudioDevice_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoByteStream", _wrap_new_SoByteStream, METH_VARARGS, (char *)"new_SoByteStream() -> SoByteStream"}, - { (char *)"delete_SoByteStream", _wrap_delete_SoByteStream, METH_VARARGS, (char *)"delete_SoByteStream(SoByteStream self)"}, - { (char *)"SoByteStream_convert", _wrap_SoByteStream_convert, METH_VARARGS, (char *)"\n" - "convert(SoNode node, SbBool binary=1)\n" - "convert(SoNode node)\n" - "convert(SoPath path, SbBool binary=1)\n" - "convert(SoPath path)\n" - "convert(SoPathList pl, SbBool binary=1)\n" - "SoByteStream_convert(SoByteStream self, SoPathList pl)\n" - ""}, - { (char *)"SoByteStream_getData", _wrap_SoByteStream_getData, METH_VARARGS, (char *)"SoByteStream_getData(SoByteStream self) -> void"}, - { (char *)"SoByteStream_getNumBytes", _wrap_SoByteStream_getNumBytes, METH_VARARGS, (char *)"SoByteStream_getNumBytes(SoByteStream self) -> uint32_t"}, - { (char *)"SoByteStream_unconvert", _wrap_SoByteStream_unconvert, METH_VARARGS, (char *)"\n" - "unconvert(SoByteStream stream) -> SoPathList\n" - "SoByteStream_unconvert(void data, uint32_t bytesinstream) -> SoPathList\n" - ""}, - { (char *)"SoByteStream_copy", _wrap_SoByteStream_copy, METH_VARARGS, (char *)"SoByteStream_copy(SoByteStream self, void d, size_t len)"}, - { (char *)"SoByteStream_isRawData", _wrap_SoByteStream_isRawData, METH_VARARGS, (char *)"SoByteStream_isRawData(SoByteStream self) -> SbBool"}, - { (char *)"SoByteStream_swigregister", SoByteStream_swigregister, METH_VARARGS, NULL}, - { (char *)"SoContextHandler_destructingContext", _wrap_SoContextHandler_destructingContext, METH_VARARGS, (char *)"SoContextHandler_destructingContext(uint32_t contextid)"}, - { (char *)"SoContextHandler_addContextDestructionCallback", _wrap_SoContextHandler_addContextDestructionCallback, METH_VARARGS, (char *)"SoContextHandler_addContextDestructionCallback(ContextDestructionCB func, void closure)"}, - { (char *)"SoContextHandler_removeContextDestructionCallback", _wrap_SoContextHandler_removeContextDestructionCallback, METH_VARARGS, (char *)"SoContextHandler_removeContextDestructionCallback(ContextDestructionCB func, void closure)"}, - { (char *)"new_SoContextHandler", _wrap_new_SoContextHandler, METH_VARARGS, (char *)"new_SoContextHandler() -> SoContextHandler"}, - { (char *)"delete_SoContextHandler", _wrap_delete_SoContextHandler, METH_VARARGS, (char *)"delete_SoContextHandler(SoContextHandler self)"}, - { (char *)"SoContextHandler_swigregister", SoContextHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLImage", _wrap_new_SoGLImage, METH_VARARGS, (char *)"new_SoGLImage() -> SoGLImage"}, - { (char *)"SoGLImage_unref", _wrap_SoGLImage_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLImage_unref(SoGLImage self)\n" - ""}, - { (char *)"SoGLImage_getClassTypeId", _wrap_SoGLImage_getClassTypeId, METH_VARARGS, (char *)"SoGLImage_getClassTypeId() -> SoType"}, - { (char *)"SoGLImage_getTypeId", _wrap_SoGLImage_getTypeId, METH_VARARGS, (char *)"SoGLImage_getTypeId(SoGLImage self) -> SoType"}, - { (char *)"SoGLImage_isOfType", _wrap_SoGLImage_isOfType, METH_VARARGS, (char *)"SoGLImage_isOfType(SoGLImage self, SoType type) -> SbBool"}, - { (char *)"SoGLImage_setGLDisplayList", _wrap_SoGLImage_setGLDisplayList, METH_VARARGS, (char *)"\n" - "setGLDisplayList(SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT, \n" - " Wrap wrapt=REPEAT, float quality=0.5)\n" - "setGLDisplayList(SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT, \n" - " Wrap wrapt=REPEAT)\n" - "setGLDisplayList(SoGLDisplayList dl, SoState state, Wrap wraps=REPEAT)\n" - "SoGLImage_setGLDisplayList(SoGLImage self, SoGLDisplayList dl, SoState state)\n" - ""}, - { (char *)"SoGLImage_setPBuffer", _wrap_SoGLImage_setPBuffer, METH_VARARGS, (char *)"\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT)\n" - "SoGLImage_setPBuffer(SoGLImage self, SoState state, void context)\n" - ""}, - { (char *)"SoGLImage_setData", _wrap_SoGLImage_setData, METH_VARARGS, (char *)"\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, \n" - " int border=0, SoState createinstate=None)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, \n" - " int border=0)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5, int border=0, \n" - " SoState createinstate=None)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(SbImage image, Wrap wraps=REPEAT)\n" - "setData(SbImage image)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5)\n" - "SoGLImage_setData(SoGLImage self, SbImage image, Wrap wraps, Wrap wrapt, \n" - " Wrap wrapr)\n" - ""}, - { (char *)"SoGLImage_setFlags", _wrap_SoGLImage_setFlags, METH_VARARGS, (char *)"SoGLImage_setFlags(SoGLImage self, uint32_t flags)"}, - { (char *)"SoGLImage_getFlags", _wrap_SoGLImage_getFlags, METH_VARARGS, (char *)"SoGLImage_getFlags(SoGLImage self) -> uint32_t"}, - { (char *)"SoGLImage_getImage", _wrap_SoGLImage_getImage, METH_VARARGS, (char *)"SoGLImage_getImage(SoGLImage self) -> SbImage"}, - { (char *)"SoGLImage_getGLDisplayList", _wrap_SoGLImage_getGLDisplayList, METH_VARARGS, (char *)"SoGLImage_getGLDisplayList(SoGLImage self, SoState state) -> SoGLDisplayList"}, - { (char *)"SoGLImage_hasTransparency", _wrap_SoGLImage_hasTransparency, METH_VARARGS, (char *)"SoGLImage_hasTransparency(SoGLImage self) -> SbBool"}, - { (char *)"SoGLImage_useAlphaTest", _wrap_SoGLImage_useAlphaTest, METH_VARARGS, (char *)"SoGLImage_useAlphaTest(SoGLImage self) -> SbBool"}, - { (char *)"SoGLImage_getWrapS", _wrap_SoGLImage_getWrapS, METH_VARARGS, (char *)"SoGLImage_getWrapS(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getWrapT", _wrap_SoGLImage_getWrapT, METH_VARARGS, (char *)"SoGLImage_getWrapT(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getWrapR", _wrap_SoGLImage_getWrapR, METH_VARARGS, (char *)"SoGLImage_getWrapR(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getQuality", _wrap_SoGLImage_getQuality, METH_VARARGS, (char *)"SoGLImage_getQuality(SoGLImage self) -> float"}, - { (char *)"SoGLImage_getGLImageId", _wrap_SoGLImage_getGLImageId, METH_VARARGS, (char *)"SoGLImage_getGLImageId(SoGLImage self) -> uint32_t"}, - { (char *)"SoGLImage_beginFrame", _wrap_SoGLImage_beginFrame, METH_VARARGS, (char *)"SoGLImage_beginFrame(SoState state)"}, - { (char *)"SoGLImage_tagImage", _wrap_SoGLImage_tagImage, METH_VARARGS, (char *)"SoGLImage_tagImage(SoState state, SoGLImage image)"}, - { (char *)"SoGLImage_endFrame", _wrap_SoGLImage_endFrame, METH_VARARGS, (char *)"SoGLImage_endFrame(SoState state)"}, - { (char *)"SoGLImage_setDisplayListMaxAge", _wrap_SoGLImage_setDisplayListMaxAge, METH_VARARGS, (char *)"SoGLImage_setDisplayListMaxAge(uint32_t maxage)"}, - { (char *)"SoGLImage_freeAllImages", _wrap_SoGLImage_freeAllImages, METH_VARARGS, (char *)"\n" - "freeAllImages(SoState state=None)\n" - "SoGLImage_freeAllImages()\n" - ""}, - { (char *)"SoGLImage_setEndFrameCallback", _wrap_SoGLImage_setEndFrameCallback, METH_VARARGS, (char *)"SoGLImage_setEndFrameCallback(SoGLImage self, void cb, void closure)"}, - { (char *)"SoGLImage_getNumFramesSinceUsed", _wrap_SoGLImage_getNumFramesSinceUsed, METH_VARARGS, (char *)"SoGLImage_getNumFramesSinceUsed(SoGLImage self) -> int"}, - { (char *)"SoGLImage_initClass", _wrap_SoGLImage_initClass, METH_VARARGS, (char *)"SoGLImage_initClass()"}, - { (char *)"SoGLImage_setResizeCallback", _wrap_SoGLImage_setResizeCallback, METH_VARARGS, (char *)"SoGLImage_setResizeCallback(SoGLImageResizeCB f, void closure)"}, - { (char *)"SoGLImage_swigregister", SoGLImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLBigImage", _wrap_new_SoGLBigImage, METH_VARARGS, (char *)"new_SoGLBigImage() -> SoGLBigImage"}, - { (char *)"SoGLBigImage_unref", _wrap_SoGLBigImage_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLBigImage_unref(SoGLBigImage self)\n" - ""}, - { (char *)"SoGLBigImage_getClassTypeId", _wrap_SoGLBigImage_getClassTypeId, METH_VARARGS, (char *)"SoGLBigImage_getClassTypeId() -> SoType"}, - { (char *)"SoGLBigImage_getTypeId", _wrap_SoGLBigImage_getTypeId, METH_VARARGS, (char *)"SoGLBigImage_getTypeId(SoGLBigImage self) -> SoType"}, - { (char *)"SoGLBigImage_setData", _wrap_SoGLBigImage_setData, METH_VARARGS, (char *)"\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(SbImage image, Wrap wraps=REPEAT)\n" - "setData(SbImage image)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5)\n" - "SoGLBigImage_setData(SoGLBigImage self, SbImage image, Wrap wraps, Wrap wrapt, \n" - " Wrap wrapr)\n" - ""}, - { (char *)"SoGLBigImage_initSubImages", _wrap_SoGLBigImage_initSubImages, METH_VARARGS, (char *)"SoGLBigImage_initSubImages(SoGLBigImage self, SbVec2s subimagesize) -> int"}, - { (char *)"SoGLBigImage_handleSubImage", _wrap_SoGLBigImage_handleSubImage, METH_VARARGS, (char *)"\n" - "SoGLBigImage_handleSubImage(SoGLBigImage self, int idx, SbVec2f start, SbVec2f end, \n" - " SbVec2f tcmul)\n" - ""}, - { (char *)"SoGLBigImage_applySubImage", _wrap_SoGLBigImage_applySubImage, METH_VARARGS, (char *)"\n" - "SoGLBigImage_applySubImage(SoGLBigImage self, SoState state, int idx, float quality, \n" - " SbVec2s projsize)\n" - ""}, - { (char *)"SoGLBigImage_exceededChangeLimit", _wrap_SoGLBigImage_exceededChangeLimit, METH_VARARGS, (char *)"SoGLBigImage_exceededChangeLimit(SoGLBigImage self) -> SbBool"}, - { (char *)"SoGLBigImage_setChangeLimit", _wrap_SoGLBigImage_setChangeLimit, METH_VARARGS, (char *)"SoGLBigImage_setChangeLimit(int limit) -> int"}, - { (char *)"SoGLBigImage_getGLDisplayList", _wrap_SoGLBigImage_getGLDisplayList, METH_VARARGS, (char *)"SoGLBigImage_getGLDisplayList(SoGLBigImage self, SoState state) -> SoGLDisplayList"}, - { (char *)"SoGLBigImage_initClass", _wrap_SoGLBigImage_initClass, METH_VARARGS, (char *)"SoGLBigImage_initClass()"}, - { (char *)"SoGLBigImage_swigregister", SoGLBigImage_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGlyph_unref", _wrap_SoGlyph_unref, METH_VARARGS, (char *)"SoGlyph_unref(SoGlyph self)"}, - { (char *)"SoGlyph_getCoords", _wrap_SoGlyph_getCoords, METH_VARARGS, (char *)"SoGlyph_getCoords(SoGlyph self) -> SbVec2f"}, - { (char *)"SoGlyph_getFaceIndices", _wrap_SoGlyph_getFaceIndices, METH_VARARGS, (char *)"SoGlyph_getFaceIndices(SoGlyph self) -> int"}, - { (char *)"SoGlyph_getEdgeIndices", _wrap_SoGlyph_getEdgeIndices, METH_VARARGS, (char *)"SoGlyph_getEdgeIndices(SoGlyph self) -> int"}, - { (char *)"SoGlyph_getNextCWEdge", _wrap_SoGlyph_getNextCWEdge, METH_VARARGS, (char *)"SoGlyph_getNextCWEdge(SoGlyph self, int edgeidx) -> int"}, - { (char *)"SoGlyph_getNextCCWEdge", _wrap_SoGlyph_getNextCCWEdge, METH_VARARGS, (char *)"SoGlyph_getNextCCWEdge(SoGlyph self, int edgeidx) -> int"}, - { (char *)"SoGlyph_getWidth", _wrap_SoGlyph_getWidth, METH_VARARGS, (char *)"SoGlyph_getWidth(SoGlyph self) -> float"}, - { (char *)"SoGlyph_getBoundingBox", _wrap_SoGlyph_getBoundingBox, METH_VARARGS, (char *)"SoGlyph_getBoundingBox(SoGlyph self) -> SbBox2f"}, - { (char *)"SoGlyph_getGlyph", _wrap_SoGlyph_getGlyph, METH_VARARGS, (char *)"\n" - "getGlyph(char character, SbName font) -> SoGlyph\n" - "SoGlyph_getGlyph(SoState state, unsigned int character, SbVec2s size, \n" - " float angle) -> SoGlyph\n" - ""}, - { (char *)"SoGlyph_getAdvance", _wrap_SoGlyph_getAdvance, METH_VARARGS, (char *)"SoGlyph_getAdvance(SoGlyph self) -> SbVec2s"}, - { (char *)"SoGlyph_getKerning", _wrap_SoGlyph_getKerning, METH_VARARGS, (char *)"SoGlyph_getKerning(SoGlyph self, SoGlyph rightglyph) -> SbVec2s"}, - { (char *)"SoGlyph_getBitmap", _wrap_SoGlyph_getBitmap, METH_VARARGS, (char *)"SoGlyph_getBitmap(SoGlyph self, SbVec2s size, SbVec2s pos, SbBool antialiased) -> unsigned char"}, - { (char *)"SoGlyph_swigregister", SoGlyph_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoProto", _wrap_new_SoProto, METH_VARARGS, (char *)"\n" - "SoProto(SbBool externproto=0)\n" - "new_SoProto() -> SoProto\n" - ""}, - { (char *)"SoProto_setFetchExternProtoCallback", _wrap_SoProto_setFetchExternProtoCallback, METH_VARARGS, (char *)"SoProto_setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)"}, - { (char *)"SoProto_getTypeId", _wrap_SoProto_getTypeId, METH_VARARGS, (char *)"SoProto_getTypeId(SoProto self) -> SoType"}, - { (char *)"SoProto_getClassTypeId", _wrap_SoProto_getClassTypeId, METH_VARARGS, (char *)"SoProto_getClassTypeId() -> SoType"}, - { (char *)"SoProto_findProto", _wrap_SoProto_findProto, METH_VARARGS, (char *)"SoProto_findProto(SbName name) -> SoProto"}, - { (char *)"SoProto_initClass", _wrap_SoProto_initClass, METH_VARARGS, (char *)"SoProto_initClass()"}, - { (char *)"SoProto_createProtoInstance", _wrap_SoProto_createProtoInstance, METH_VARARGS, (char *)"SoProto_createProtoInstance(SoProto self) -> SoProtoInstance"}, - { (char *)"SoProto_addISReference", _wrap_SoProto_addISReference, METH_VARARGS, (char *)"SoProto_addISReference(SoProto self, SoNode container, SbName fieldname, SbName interfacename)"}, - { (char *)"SoProto_findISReference", _wrap_SoProto_findISReference, METH_VARARGS, (char *)"SoProto_findISReference(SoProto self, SoFieldContainer container, SbName fieldname) -> SbName"}, - { (char *)"SoProto_addReference", _wrap_SoProto_addReference, METH_VARARGS, (char *)"SoProto_addReference(SoProto self, SbName name, SoBase base)"}, - { (char *)"SoProto_removeReference", _wrap_SoProto_removeReference, METH_VARARGS, (char *)"SoProto_removeReference(SoProto self, SbName name)"}, - { (char *)"SoProto_findReference", _wrap_SoProto_findReference, METH_VARARGS, (char *)"SoProto_findReference(SoProto self, SbName name) -> SoBase"}, - { (char *)"SoProto_addRoute", _wrap_SoProto_addRoute, METH_VARARGS, (char *)"\n" - "SoProto_addRoute(SoProto self, SbName fromnode, SbName fromfield, SbName tonode, \n" - " SbName tofield)\n" - ""}, - { (char *)"SoProto_getProtoName", _wrap_SoProto_getProtoName, METH_VARARGS, (char *)"SoProto_getProtoName(SoProto self) -> SbName"}, - { (char *)"SoProto_readInstance", _wrap_SoProto_readInstance, METH_VARARGS, (char *)"SoProto_readInstance(SoProto self, SoInput input, unsigned short flags) -> SbBool"}, - { (char *)"SoProto_write", _wrap_SoProto_write, METH_VARARGS, (char *)"SoProto_write(SoProto self, SoWriteAction action)"}, - { (char *)"SoProto_swigregister", SoProto_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProtoInstance_getClassTypeId", _wrap_SoProtoInstance_getClassTypeId, METH_VARARGS, (char *)"SoProtoInstance_getClassTypeId() -> SoType"}, - { (char *)"SoProtoInstance_getTypeId", _wrap_SoProtoInstance_getTypeId, METH_VARARGS, (char *)"SoProtoInstance_getTypeId(SoProtoInstance self) -> SoType"}, - { (char *)"SoProtoInstance_initClass", _wrap_SoProtoInstance_initClass, METH_VARARGS, (char *)"SoProtoInstance_initClass()"}, - { (char *)"new_SoProtoInstance", _wrap_new_SoProtoInstance, METH_VARARGS, (char *)"new_SoProtoInstance(SoProto proto, SoFieldData deffielddata) -> SoProtoInstance"}, - { (char *)"SoProtoInstance_findProtoInstance", _wrap_SoProtoInstance_findProtoInstance, METH_VARARGS, (char *)"SoProtoInstance_findProtoInstance(SoNode rootnode) -> SoProtoInstance"}, - { (char *)"SoProtoInstance_setRootNode", _wrap_SoProtoInstance_setRootNode, METH_VARARGS, (char *)"SoProtoInstance_setRootNode(SoProtoInstance self, SoNode root)"}, - { (char *)"SoProtoInstance_getRootNode", _wrap_SoProtoInstance_getRootNode, METH_VARARGS, (char *)"SoProtoInstance_getRootNode(SoProtoInstance self) -> SoNode"}, - { (char *)"SoProtoInstance_getProtoDefinition", _wrap_SoProtoInstance_getProtoDefinition, METH_VARARGS, (char *)"SoProtoInstance_getProtoDefinition(SoProtoInstance self) -> SoProto"}, - { (char *)"SoProtoInstance_getProtoName", _wrap_SoProtoInstance_getProtoName, METH_VARARGS, (char *)"SoProtoInstance_getProtoName(SoProtoInstance self) -> SbName"}, - { (char *)"SoProtoInstance_write", _wrap_SoProtoInstance_write, METH_VARARGS, (char *)"SoProtoInstance_write(SoProtoInstance self, SoWriteAction action)"}, - { (char *)"SoProtoInstance_swigregister", SoProtoInstance_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTranReceiver", _wrap_new_SoTranReceiver, METH_VARARGS, (char *)"new_SoTranReceiver(SoGroup root) -> SoTranReceiver"}, - { (char *)"delete_SoTranReceiver", _wrap_delete_SoTranReceiver, METH_VARARGS, (char *)"delete_SoTranReceiver(SoTranReceiver self)"}, - { (char *)"SoTranReceiver_interpret", _wrap_SoTranReceiver_interpret, METH_VARARGS, (char *)"SoTranReceiver_interpret(SoTranReceiver self, SoInput input) -> SbBool"}, - { (char *)"SoTranReceiver_swigregister", SoTranReceiver_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTranSender", _wrap_new_SoTranSender, METH_VARARGS, (char *)"new_SoTranSender(SoOutput output) -> SoTranSender"}, - { (char *)"delete_SoTranSender", _wrap_delete_SoTranSender, METH_VARARGS, (char *)"delete_SoTranSender(SoTranSender self)"}, - { (char *)"SoTranSender_getOutput", _wrap_SoTranSender_getOutput, METH_VARARGS, (char *)"SoTranSender_getOutput(SoTranSender self) -> SoOutput"}, - { (char *)"SoTranSender_insert", _wrap_SoTranSender_insert, METH_VARARGS, (char *)"\n" - "insert(SoNode node)\n" - "SoTranSender_insert(SoTranSender self, SoNode node, SoNode parent, int n)\n" - ""}, - { (char *)"SoTranSender_remove", _wrap_SoTranSender_remove, METH_VARARGS, (char *)"SoTranSender_remove(SoTranSender self, SoNode parent, int n)"}, - { (char *)"SoTranSender_replace", _wrap_SoTranSender_replace, METH_VARARGS, (char *)"SoTranSender_replace(SoTranSender self, SoNode parent, int n, SoNode newnode)"}, - { (char *)"SoTranSender_modify", _wrap_SoTranSender_modify, METH_VARARGS, (char *)"SoTranSender_modify(SoTranSender self, SoNode node)"}, - { (char *)"SoTranSender_prepareToSend", _wrap_SoTranSender_prepareToSend, METH_VARARGS, (char *)"SoTranSender_prepareToSend(SoTranSender self)"}, - { (char *)"SoTranSender_swigregister", SoTranSender_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAppearanceKit_getClassTypeId", _wrap_SoAppearanceKit_getClassTypeId, METH_VARARGS, (char *)"SoAppearanceKit_getClassTypeId() -> SoType"}, - { (char *)"SoAppearanceKit_getTypeId", _wrap_SoAppearanceKit_getTypeId, METH_VARARGS, (char *)"SoAppearanceKit_getTypeId(SoAppearanceKit self) -> SoType"}, - { (char *)"SoAppearanceKit_getClassNodekitCatalog", _wrap_SoAppearanceKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoAppearanceKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoAppearanceKit_getNodekitCatalog", _wrap_SoAppearanceKit_getNodekitCatalog, METH_VARARGS, (char *)"SoAppearanceKit_getNodekitCatalog(SoAppearanceKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoAppearanceKit", _wrap_new_SoAppearanceKit, METH_VARARGS, (char *)"new_SoAppearanceKit() -> SoAppearanceKit"}, - { (char *)"SoAppearanceKit_initClass", _wrap_SoAppearanceKit_initClass, METH_VARARGS, (char *)"SoAppearanceKit_initClass()"}, - { (char *)"SoAppearanceKit_swigregister", SoAppearanceKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCameraKit_getClassTypeId", _wrap_SoCameraKit_getClassTypeId, METH_VARARGS, (char *)"SoCameraKit_getClassTypeId() -> SoType"}, - { (char *)"SoCameraKit_getTypeId", _wrap_SoCameraKit_getTypeId, METH_VARARGS, (char *)"SoCameraKit_getTypeId(SoCameraKit self) -> SoType"}, - { (char *)"SoCameraKit_getClassNodekitCatalog", _wrap_SoCameraKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoCameraKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoCameraKit_getNodekitCatalog", _wrap_SoCameraKit_getNodekitCatalog, METH_VARARGS, (char *)"SoCameraKit_getNodekitCatalog(SoCameraKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoCameraKit", _wrap_new_SoCameraKit, METH_VARARGS, (char *)"new_SoCameraKit() -> SoCameraKit"}, - { (char *)"SoCameraKit_initClass", _wrap_SoCameraKit_initClass, METH_VARARGS, (char *)"SoCameraKit_initClass()"}, - { (char *)"SoCameraKit_swigregister", SoCameraKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightKit_getClassTypeId", _wrap_SoLightKit_getClassTypeId, METH_VARARGS, (char *)"SoLightKit_getClassTypeId() -> SoType"}, - { (char *)"SoLightKit_getTypeId", _wrap_SoLightKit_getTypeId, METH_VARARGS, (char *)"SoLightKit_getTypeId(SoLightKit self) -> SoType"}, - { (char *)"SoLightKit_getClassNodekitCatalog", _wrap_SoLightKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoLightKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoLightKit_getNodekitCatalog", _wrap_SoLightKit_getNodekitCatalog, METH_VARARGS, (char *)"SoLightKit_getNodekitCatalog(SoLightKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoLightKit", _wrap_new_SoLightKit, METH_VARARGS, (char *)"new_SoLightKit() -> SoLightKit"}, - { (char *)"SoLightKit_initClass", _wrap_SoLightKit_initClass, METH_VARARGS, (char *)"SoLightKit_initClass()"}, - { (char *)"SoLightKit_swigregister", SoLightKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKit_init", _wrap_SoNodeKit_init, METH_VARARGS, (char *)"SoNodeKit_init()"}, - { (char *)"new_SoNodeKit", _wrap_new_SoNodeKit, METH_VARARGS, (char *)"new_SoNodeKit() -> SoNodeKit"}, - { (char *)"delete_SoNodeKit", _wrap_delete_SoNodeKit, METH_VARARGS, (char *)"delete_SoNodeKit(SoNodeKit self)"}, - { (char *)"SoNodeKit_swigregister", SoNodeKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSceneKit_getClassTypeId", _wrap_SoSceneKit_getClassTypeId, METH_VARARGS, (char *)"SoSceneKit_getClassTypeId() -> SoType"}, - { (char *)"SoSceneKit_getTypeId", _wrap_SoSceneKit_getTypeId, METH_VARARGS, (char *)"SoSceneKit_getTypeId(SoSceneKit self) -> SoType"}, - { (char *)"SoSceneKit_getClassNodekitCatalog", _wrap_SoSceneKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSceneKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSceneKit_getNodekitCatalog", _wrap_SoSceneKit_getNodekitCatalog, METH_VARARGS, (char *)"SoSceneKit_getNodekitCatalog(SoSceneKit self) -> SoNodekitCatalog"}, - { (char *)"SoSceneKit_initClass", _wrap_SoSceneKit_initClass, METH_VARARGS, (char *)"SoSceneKit_initClass()"}, - { (char *)"new_SoSceneKit", _wrap_new_SoSceneKit, METH_VARARGS, (char *)"new_SoSceneKit() -> SoSceneKit"}, - { (char *)"SoSceneKit_getCameraNumber", _wrap_SoSceneKit_getCameraNumber, METH_VARARGS, (char *)"SoSceneKit_getCameraNumber(SoSceneKit self) -> int"}, - { (char *)"SoSceneKit_setCameraNumber", _wrap_SoSceneKit_setCameraNumber, METH_VARARGS, (char *)"SoSceneKit_setCameraNumber(SoSceneKit self, int camNum)"}, - { (char *)"SoSceneKit_affectsState", _wrap_SoSceneKit_affectsState, METH_VARARGS, (char *)"SoSceneKit_affectsState(SoSceneKit self) -> SbBool"}, - { (char *)"SoSceneKit_swigregister", SoSceneKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSeparatorKit_getClassTypeId", _wrap_SoSeparatorKit_getClassTypeId, METH_VARARGS, (char *)"SoSeparatorKit_getClassTypeId() -> SoType"}, - { (char *)"SoSeparatorKit_getTypeId", _wrap_SoSeparatorKit_getTypeId, METH_VARARGS, (char *)"SoSeparatorKit_getTypeId(SoSeparatorKit self) -> SoType"}, - { (char *)"SoSeparatorKit_getClassNodekitCatalog", _wrap_SoSeparatorKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSeparatorKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSeparatorKit_getNodekitCatalog", _wrap_SoSeparatorKit_getNodekitCatalog, METH_VARARGS, (char *)"SoSeparatorKit_getNodekitCatalog(SoSeparatorKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoSeparatorKit", _wrap_new_SoSeparatorKit, METH_VARARGS, (char *)"new_SoSeparatorKit() -> SoSeparatorKit"}, - { (char *)"SoSeparatorKit_renderCaching_set", _wrap_SoSeparatorKit_renderCaching_set, METH_VARARGS, (char *)"SoSeparatorKit_renderCaching_set(SoSeparatorKit self, SoSFEnum renderCaching)"}, - { (char *)"SoSeparatorKit_renderCaching_get", _wrap_SoSeparatorKit_renderCaching_get, METH_VARARGS, (char *)"SoSeparatorKit_renderCaching_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_boundingBoxCaching_set", _wrap_SoSeparatorKit_boundingBoxCaching_set, METH_VARARGS, (char *)"SoSeparatorKit_boundingBoxCaching_set(SoSeparatorKit self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoSeparatorKit_boundingBoxCaching_get", _wrap_SoSeparatorKit_boundingBoxCaching_get, METH_VARARGS, (char *)"SoSeparatorKit_boundingBoxCaching_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_renderCulling_set", _wrap_SoSeparatorKit_renderCulling_set, METH_VARARGS, (char *)"SoSeparatorKit_renderCulling_set(SoSeparatorKit self, SoSFEnum renderCulling)"}, - { (char *)"SoSeparatorKit_renderCulling_get", _wrap_SoSeparatorKit_renderCulling_get, METH_VARARGS, (char *)"SoSeparatorKit_renderCulling_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_pickCulling_set", _wrap_SoSeparatorKit_pickCulling_set, METH_VARARGS, (char *)"SoSeparatorKit_pickCulling_set(SoSeparatorKit self, SoSFEnum pickCulling)"}, - { (char *)"SoSeparatorKit_pickCulling_get", _wrap_SoSeparatorKit_pickCulling_get, METH_VARARGS, (char *)"SoSeparatorKit_pickCulling_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_initClass", _wrap_SoSeparatorKit_initClass, METH_VARARGS, (char *)"SoSeparatorKit_initClass()"}, - { (char *)"SoSeparatorKit_swigregister", SoSeparatorKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeKit_getClassTypeId", _wrap_SoShapeKit_getClassTypeId, METH_VARARGS, (char *)"SoShapeKit_getClassTypeId() -> SoType"}, - { (char *)"SoShapeKit_getTypeId", _wrap_SoShapeKit_getTypeId, METH_VARARGS, (char *)"SoShapeKit_getTypeId(SoShapeKit self) -> SoType"}, - { (char *)"SoShapeKit_getClassNodekitCatalog", _wrap_SoShapeKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoShapeKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoShapeKit_getNodekitCatalog", _wrap_SoShapeKit_getNodekitCatalog, METH_VARARGS, (char *)"SoShapeKit_getNodekitCatalog(SoShapeKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoShapeKit", _wrap_new_SoShapeKit, METH_VARARGS, (char *)"new_SoShapeKit() -> SoShapeKit"}, - { (char *)"SoShapeKit_initClass", _wrap_SoShapeKit_initClass, METH_VARARGS, (char *)"SoShapeKit_initClass()"}, - { (char *)"SoShapeKit_swigregister", SoShapeKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWrapperKit_getClassTypeId", _wrap_SoWrapperKit_getClassTypeId, METH_VARARGS, (char *)"SoWrapperKit_getClassTypeId() -> SoType"}, - { (char *)"SoWrapperKit_getTypeId", _wrap_SoWrapperKit_getTypeId, METH_VARARGS, (char *)"SoWrapperKit_getTypeId(SoWrapperKit self) -> SoType"}, - { (char *)"SoWrapperKit_getClassNodekitCatalog", _wrap_SoWrapperKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoWrapperKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoWrapperKit_getNodekitCatalog", _wrap_SoWrapperKit_getNodekitCatalog, METH_VARARGS, (char *)"SoWrapperKit_getNodekitCatalog(SoWrapperKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoWrapperKit", _wrap_new_SoWrapperKit, METH_VARARGS, (char *)"new_SoWrapperKit() -> SoWrapperKit"}, - { (char *)"SoWrapperKit_initClass", _wrap_SoWrapperKit_initClass, METH_VARARGS, (char *)"SoWrapperKit_initClass()"}, - { (char *)"SoWrapperKit_swigregister", SoWrapperKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGroup_getClassTypeId", _wrap_SoGroup_getClassTypeId, METH_VARARGS, (char *)"SoGroup_getClassTypeId() -> SoType"}, - { (char *)"SoGroup_getTypeId", _wrap_SoGroup_getTypeId, METH_VARARGS, (char *)"SoGroup_getTypeId(SoGroup self) -> SoType"}, - { (char *)"SoGroup_initClass", _wrap_SoGroup_initClass, METH_VARARGS, (char *)"SoGroup_initClass()"}, - { (char *)"new_SoGroup", _wrap_new_SoGroup, METH_VARARGS, (char *)"\n" - "SoGroup()\n" - "new_SoGroup(int nchildren) -> SoGroup\n" - ""}, - { (char *)"SoGroup_addChild", _wrap_SoGroup_addChild, METH_VARARGS, (char *)"SoGroup_addChild(SoGroup self, SoNode node)"}, - { (char *)"SoGroup_insertChild", _wrap_SoGroup_insertChild, METH_VARARGS, (char *)"SoGroup_insertChild(SoGroup self, SoNode child, int newchildindex)"}, - { (char *)"SoGroup_getChild", _wrap_SoGroup_getChild, METH_VARARGS, (char *)"SoGroup_getChild(SoGroup self, int index) -> SoNode"}, - { (char *)"SoGroup_findChild", _wrap_SoGroup_findChild, METH_VARARGS, (char *)"SoGroup_findChild(SoGroup self, SoNode node) -> int"}, - { (char *)"SoGroup_getNumChildren", _wrap_SoGroup_getNumChildren, METH_VARARGS, (char *)"SoGroup_getNumChildren(SoGroup self) -> int"}, - { (char *)"SoGroup_removeChild", _wrap_SoGroup_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int childindex)\n" - "SoGroup_removeChild(SoGroup self, SoNode child)\n" - ""}, - { (char *)"SoGroup_removeAllChildren", _wrap_SoGroup_removeAllChildren, METH_VARARGS, (char *)"SoGroup_removeAllChildren(SoGroup self)"}, - { (char *)"SoGroup_replaceChild", _wrap_SoGroup_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int index, SoNode newchild)\n" - "SoGroup_replaceChild(SoGroup self, SoNode oldchild, SoNode newchild)\n" - ""}, - { (char *)"SoGroup_doAction", _wrap_SoGroup_doAction, METH_VARARGS, (char *)"SoGroup_doAction(SoGroup self, SoAction action)"}, - { (char *)"SoGroup_GLRender", _wrap_SoGroup_GLRender, METH_VARARGS, (char *)"SoGroup_GLRender(SoGroup self, SoGLRenderAction action)"}, - { (char *)"SoGroup_callback", _wrap_SoGroup_callback, METH_VARARGS, (char *)"SoGroup_callback(SoGroup self, SoCallbackAction action)"}, - { (char *)"SoGroup_getBoundingBox", _wrap_SoGroup_getBoundingBox, METH_VARARGS, (char *)"SoGroup_getBoundingBox(SoGroup self, SoGetBoundingBoxAction action)"}, - { (char *)"SoGroup_getMatrix", _wrap_SoGroup_getMatrix, METH_VARARGS, (char *)"SoGroup_getMatrix(SoGroup self, SoGetMatrixAction action)"}, - { (char *)"SoGroup_handleEvent", _wrap_SoGroup_handleEvent, METH_VARARGS, (char *)"SoGroup_handleEvent(SoGroup self, SoHandleEventAction action)"}, - { (char *)"SoGroup_pick", _wrap_SoGroup_pick, METH_VARARGS, (char *)"SoGroup_pick(SoGroup self, SoPickAction action)"}, - { (char *)"SoGroup_search", _wrap_SoGroup_search, METH_VARARGS, (char *)"SoGroup_search(SoGroup self, SoSearchAction action)"}, - { (char *)"SoGroup_write", _wrap_SoGroup_write, METH_VARARGS, (char *)"SoGroup_write(SoGroup self, SoWriteAction action)"}, - { (char *)"SoGroup_getPrimitiveCount", _wrap_SoGroup_getPrimitiveCount, METH_VARARGS, (char *)"SoGroup_getPrimitiveCount(SoGroup self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoGroup_audioRender", _wrap_SoGroup_audioRender, METH_VARARGS, (char *)"SoGroup_audioRender(SoGroup self, SoAudioRenderAction action)"}, - { (char *)"SoGroup_getChildren", _wrap_SoGroup_getChildren, METH_VARARGS, (char *)"SoGroup_getChildren(SoGroup self) -> SoChildList"}, - { (char *)"SoGroup___len__", _wrap_SoGroup___len__, METH_VARARGS, (char *)"SoGroup___len__(SoGroup self) -> int"}, - { (char *)"SoGroup___contains__", _wrap_SoGroup___contains__, METH_VARARGS, (char *)"SoGroup___contains__(SoGroup self, SoNode node) -> int"}, - { (char *)"SoGroup___getitem__", _wrap_SoGroup___getitem__, METH_VARARGS, (char *)"SoGroup___getitem__(SoGroup self, int index) -> SoNode"}, - { (char *)"SoGroup_swigregister", SoGroup_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSeparator_getClassTypeId", _wrap_SoSeparator_getClassTypeId, METH_VARARGS, (char *)"SoSeparator_getClassTypeId() -> SoType"}, - { (char *)"SoSeparator_getTypeId", _wrap_SoSeparator_getTypeId, METH_VARARGS, (char *)"SoSeparator_getTypeId(SoSeparator self) -> SoType"}, - { (char *)"SoSeparator_initClass", _wrap_SoSeparator_initClass, METH_VARARGS, (char *)"SoSeparator_initClass()"}, - { (char *)"new_SoSeparator", _wrap_new_SoSeparator, METH_VARARGS, (char *)"\n" - "SoSeparator()\n" - "new_SoSeparator(int nchildren) -> SoSeparator\n" - ""}, - { (char *)"SoSeparator_renderCaching_set", _wrap_SoSeparator_renderCaching_set, METH_VARARGS, (char *)"SoSeparator_renderCaching_set(SoSeparator self, SoSFEnum renderCaching)"}, - { (char *)"SoSeparator_renderCaching_get", _wrap_SoSeparator_renderCaching_get, METH_VARARGS, (char *)"SoSeparator_renderCaching_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_boundingBoxCaching_set", _wrap_SoSeparator_boundingBoxCaching_set, METH_VARARGS, (char *)"SoSeparator_boundingBoxCaching_set(SoSeparator self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoSeparator_boundingBoxCaching_get", _wrap_SoSeparator_boundingBoxCaching_get, METH_VARARGS, (char *)"SoSeparator_boundingBoxCaching_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_renderCulling_set", _wrap_SoSeparator_renderCulling_set, METH_VARARGS, (char *)"SoSeparator_renderCulling_set(SoSeparator self, SoSFEnum renderCulling)"}, - { (char *)"SoSeparator_renderCulling_get", _wrap_SoSeparator_renderCulling_get, METH_VARARGS, (char *)"SoSeparator_renderCulling_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_pickCulling_set", _wrap_SoSeparator_pickCulling_set, METH_VARARGS, (char *)"SoSeparator_pickCulling_set(SoSeparator self, SoSFEnum pickCulling)"}, - { (char *)"SoSeparator_pickCulling_get", _wrap_SoSeparator_pickCulling_get, METH_VARARGS, (char *)"SoSeparator_pickCulling_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_doAction", _wrap_SoSeparator_doAction, METH_VARARGS, (char *)"SoSeparator_doAction(SoSeparator self, SoAction action)"}, - { (char *)"SoSeparator_GLRender", _wrap_SoSeparator_GLRender, METH_VARARGS, (char *)"SoSeparator_GLRender(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderBelowPath", _wrap_SoSeparator_GLRenderBelowPath, METH_VARARGS, (char *)"SoSeparator_GLRenderBelowPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderInPath", _wrap_SoSeparator_GLRenderInPath, METH_VARARGS, (char *)"SoSeparator_GLRenderInPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderOffPath", _wrap_SoSeparator_GLRenderOffPath, METH_VARARGS, (char *)"SoSeparator_GLRenderOffPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_callback", _wrap_SoSeparator_callback, METH_VARARGS, (char *)"SoSeparator_callback(SoSeparator self, SoCallbackAction action)"}, - { (char *)"SoSeparator_getBoundingBox", _wrap_SoSeparator_getBoundingBox, METH_VARARGS, (char *)"SoSeparator_getBoundingBox(SoSeparator self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSeparator_getMatrix", _wrap_SoSeparator_getMatrix, METH_VARARGS, (char *)"SoSeparator_getMatrix(SoSeparator self, SoGetMatrixAction action)"}, - { (char *)"SoSeparator_handleEvent", _wrap_SoSeparator_handleEvent, METH_VARARGS, (char *)"SoSeparator_handleEvent(SoSeparator self, SoHandleEventAction action)"}, - { (char *)"SoSeparator_rayPick", _wrap_SoSeparator_rayPick, METH_VARARGS, (char *)"SoSeparator_rayPick(SoSeparator self, SoRayPickAction action)"}, - { (char *)"SoSeparator_search", _wrap_SoSeparator_search, METH_VARARGS, (char *)"SoSeparator_search(SoSeparator self, SoSearchAction action)"}, - { (char *)"SoSeparator_getPrimitiveCount", _wrap_SoSeparator_getPrimitiveCount, METH_VARARGS, (char *)"SoSeparator_getPrimitiveCount(SoSeparator self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSeparator_audioRender", _wrap_SoSeparator_audioRender, METH_VARARGS, (char *)"SoSeparator_audioRender(SoSeparator self, SoAudioRenderAction action)"}, - { (char *)"SoSeparator_notify", _wrap_SoSeparator_notify, METH_VARARGS, (char *)"SoSeparator_notify(SoSeparator self, SoNotList nl)"}, - { (char *)"SoSeparator_setNumRenderCaches", _wrap_SoSeparator_setNumRenderCaches, METH_VARARGS, (char *)"SoSeparator_setNumRenderCaches(int howmany)"}, - { (char *)"SoSeparator_getNumRenderCaches", _wrap_SoSeparator_getNumRenderCaches, METH_VARARGS, (char *)"SoSeparator_getNumRenderCaches() -> int"}, - { (char *)"SoSeparator_affectsState", _wrap_SoSeparator_affectsState, METH_VARARGS, (char *)"SoSeparator_affectsState(SoSeparator self) -> SbBool"}, - { (char *)"SoSeparator_swigregister", SoSeparator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnotation_getClassTypeId", _wrap_SoAnnotation_getClassTypeId, METH_VARARGS, (char *)"SoAnnotation_getClassTypeId() -> SoType"}, - { (char *)"SoAnnotation_getTypeId", _wrap_SoAnnotation_getTypeId, METH_VARARGS, (char *)"SoAnnotation_getTypeId(SoAnnotation self) -> SoType"}, - { (char *)"SoAnnotation_initClass", _wrap_SoAnnotation_initClass, METH_VARARGS, (char *)"SoAnnotation_initClass()"}, - { (char *)"new_SoAnnotation", _wrap_new_SoAnnotation, METH_VARARGS, (char *)"new_SoAnnotation() -> SoAnnotation"}, - { (char *)"SoAnnotation_GLRender", _wrap_SoAnnotation_GLRender, METH_VARARGS, (char *)"SoAnnotation_GLRender(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderBelowPath", _wrap_SoAnnotation_GLRenderBelowPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderBelowPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderInPath", _wrap_SoAnnotation_GLRenderInPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderInPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderOffPath", _wrap_SoAnnotation_GLRenderOffPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderOffPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_swigregister", SoAnnotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAntiSquish_getClassTypeId", _wrap_SoAntiSquish_getClassTypeId, METH_VARARGS, (char *)"SoAntiSquish_getClassTypeId() -> SoType"}, - { (char *)"SoAntiSquish_getTypeId", _wrap_SoAntiSquish_getTypeId, METH_VARARGS, (char *)"SoAntiSquish_getTypeId(SoAntiSquish self) -> SoType"}, - { (char *)"SoAntiSquish_initClass", _wrap_SoAntiSquish_initClass, METH_VARARGS, (char *)"SoAntiSquish_initClass()"}, - { (char *)"new_SoAntiSquish", _wrap_new_SoAntiSquish, METH_VARARGS, (char *)"new_SoAntiSquish() -> SoAntiSquish"}, - { (char *)"SoAntiSquish_sizing_set", _wrap_SoAntiSquish_sizing_set, METH_VARARGS, (char *)"SoAntiSquish_sizing_set(SoAntiSquish self, SoSFEnum sizing)"}, - { (char *)"SoAntiSquish_sizing_get", _wrap_SoAntiSquish_sizing_get, METH_VARARGS, (char *)"SoAntiSquish_sizing_get(SoAntiSquish self) -> SoSFEnum"}, - { (char *)"SoAntiSquish_recalcAlways_set", _wrap_SoAntiSquish_recalcAlways_set, METH_VARARGS, (char *)"SoAntiSquish_recalcAlways_set(SoAntiSquish self, SoSFBool recalcAlways)"}, - { (char *)"SoAntiSquish_recalcAlways_get", _wrap_SoAntiSquish_recalcAlways_get, METH_VARARGS, (char *)"SoAntiSquish_recalcAlways_get(SoAntiSquish self) -> SoSFBool"}, - { (char *)"SoAntiSquish_recalc", _wrap_SoAntiSquish_recalc, METH_VARARGS, (char *)"SoAntiSquish_recalc(SoAntiSquish self)"}, - { (char *)"SoAntiSquish_doAction", _wrap_SoAntiSquish_doAction, METH_VARARGS, (char *)"SoAntiSquish_doAction(SoAntiSquish self, SoAction action)"}, - { (char *)"SoAntiSquish_swigregister", SoAntiSquish_swigregister, METH_VARARGS, NULL}, - { (char *)"SoArray_getClassTypeId", _wrap_SoArray_getClassTypeId, METH_VARARGS, (char *)"SoArray_getClassTypeId() -> SoType"}, - { (char *)"SoArray_getTypeId", _wrap_SoArray_getTypeId, METH_VARARGS, (char *)"SoArray_getTypeId(SoArray self) -> SoType"}, - { (char *)"SoArray_initClass", _wrap_SoArray_initClass, METH_VARARGS, (char *)"SoArray_initClass()"}, - { (char *)"new_SoArray", _wrap_new_SoArray, METH_VARARGS, (char *)"new_SoArray() -> SoArray"}, - { (char *)"SoArray_origin_set", _wrap_SoArray_origin_set, METH_VARARGS, (char *)"SoArray_origin_set(SoArray self, SoSFEnum origin)"}, - { (char *)"SoArray_origin_get", _wrap_SoArray_origin_get, METH_VARARGS, (char *)"SoArray_origin_get(SoArray self) -> SoSFEnum"}, - { (char *)"SoArray_numElements1_set", _wrap_SoArray_numElements1_set, METH_VARARGS, (char *)"SoArray_numElements1_set(SoArray self, SoSFShort numElements1)"}, - { (char *)"SoArray_numElements1_get", _wrap_SoArray_numElements1_get, METH_VARARGS, (char *)"SoArray_numElements1_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_numElements2_set", _wrap_SoArray_numElements2_set, METH_VARARGS, (char *)"SoArray_numElements2_set(SoArray self, SoSFShort numElements2)"}, - { (char *)"SoArray_numElements2_get", _wrap_SoArray_numElements2_get, METH_VARARGS, (char *)"SoArray_numElements2_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_numElements3_set", _wrap_SoArray_numElements3_set, METH_VARARGS, (char *)"SoArray_numElements3_set(SoArray self, SoSFShort numElements3)"}, - { (char *)"SoArray_numElements3_get", _wrap_SoArray_numElements3_get, METH_VARARGS, (char *)"SoArray_numElements3_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_separation1_set", _wrap_SoArray_separation1_set, METH_VARARGS, (char *)"SoArray_separation1_set(SoArray self, SoSFVec3f separation1)"}, - { (char *)"SoArray_separation1_get", _wrap_SoArray_separation1_get, METH_VARARGS, (char *)"SoArray_separation1_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_separation2_set", _wrap_SoArray_separation2_set, METH_VARARGS, (char *)"SoArray_separation2_set(SoArray self, SoSFVec3f separation2)"}, - { (char *)"SoArray_separation2_get", _wrap_SoArray_separation2_get, METH_VARARGS, (char *)"SoArray_separation2_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_separation3_set", _wrap_SoArray_separation3_set, METH_VARARGS, (char *)"SoArray_separation3_set(SoArray self, SoSFVec3f separation3)"}, - { (char *)"SoArray_separation3_get", _wrap_SoArray_separation3_get, METH_VARARGS, (char *)"SoArray_separation3_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_affectsState", _wrap_SoArray_affectsState, METH_VARARGS, (char *)"SoArray_affectsState(SoArray self) -> SbBool"}, - { (char *)"SoArray_doAction", _wrap_SoArray_doAction, METH_VARARGS, (char *)"SoArray_doAction(SoArray self, SoAction action)"}, - { (char *)"SoArray_callback", _wrap_SoArray_callback, METH_VARARGS, (char *)"SoArray_callback(SoArray self, SoCallbackAction action)"}, - { (char *)"SoArray_GLRender", _wrap_SoArray_GLRender, METH_VARARGS, (char *)"SoArray_GLRender(SoArray self, SoGLRenderAction action)"}, - { (char *)"SoArray_pick", _wrap_SoArray_pick, METH_VARARGS, (char *)"SoArray_pick(SoArray self, SoPickAction action)"}, - { (char *)"SoArray_getBoundingBox", _wrap_SoArray_getBoundingBox, METH_VARARGS, (char *)"SoArray_getBoundingBox(SoArray self, SoGetBoundingBoxAction action)"}, - { (char *)"SoArray_handleEvent", _wrap_SoArray_handleEvent, METH_VARARGS, (char *)"SoArray_handleEvent(SoArray self, SoHandleEventAction action)"}, - { (char *)"SoArray_getMatrix", _wrap_SoArray_getMatrix, METH_VARARGS, (char *)"SoArray_getMatrix(SoArray self, SoGetMatrixAction action)"}, - { (char *)"SoArray_search", _wrap_SoArray_search, METH_VARARGS, (char *)"SoArray_search(SoArray self, SoSearchAction action)"}, - { (char *)"SoArray_getPrimitiveCount", _wrap_SoArray_getPrimitiveCount, METH_VARARGS, (char *)"SoArray_getPrimitiveCount(SoArray self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoArray_audioRender", _wrap_SoArray_audioRender, METH_VARARGS, (char *)"SoArray_audioRender(SoArray self, SoAudioRenderAction action)"}, - { (char *)"SoArray_swigregister", SoArray_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAsciiText_getClassTypeId", _wrap_SoAsciiText_getClassTypeId, METH_VARARGS, (char *)"SoAsciiText_getClassTypeId() -> SoType"}, - { (char *)"SoAsciiText_getTypeId", _wrap_SoAsciiText_getTypeId, METH_VARARGS, (char *)"SoAsciiText_getTypeId(SoAsciiText self) -> SoType"}, - { (char *)"SoAsciiText_initClass", _wrap_SoAsciiText_initClass, METH_VARARGS, (char *)"SoAsciiText_initClass()"}, - { (char *)"new_SoAsciiText", _wrap_new_SoAsciiText, METH_VARARGS, (char *)"new_SoAsciiText() -> SoAsciiText"}, - { (char *)"SoAsciiText_string_set", _wrap_SoAsciiText_string_set, METH_VARARGS, (char *)"SoAsciiText_string_set(SoAsciiText self, SoMFString string)"}, - { (char *)"SoAsciiText_string_get", _wrap_SoAsciiText_string_get, METH_VARARGS, (char *)"SoAsciiText_string_get(SoAsciiText self) -> SoMFString"}, - { (char *)"SoAsciiText_spacing_set", _wrap_SoAsciiText_spacing_set, METH_VARARGS, (char *)"SoAsciiText_spacing_set(SoAsciiText self, SoSFFloat spacing)"}, - { (char *)"SoAsciiText_spacing_get", _wrap_SoAsciiText_spacing_get, METH_VARARGS, (char *)"SoAsciiText_spacing_get(SoAsciiText self) -> SoSFFloat"}, - { (char *)"SoAsciiText_justification_set", _wrap_SoAsciiText_justification_set, METH_VARARGS, (char *)"SoAsciiText_justification_set(SoAsciiText self, SoSFEnum justification)"}, - { (char *)"SoAsciiText_justification_get", _wrap_SoAsciiText_justification_get, METH_VARARGS, (char *)"SoAsciiText_justification_get(SoAsciiText self) -> SoSFEnum"}, - { (char *)"SoAsciiText_width_set", _wrap_SoAsciiText_width_set, METH_VARARGS, (char *)"SoAsciiText_width_set(SoAsciiText self, SoMFFloat width)"}, - { (char *)"SoAsciiText_width_get", _wrap_SoAsciiText_width_get, METH_VARARGS, (char *)"SoAsciiText_width_get(SoAsciiText self) -> SoMFFloat"}, - { (char *)"SoAsciiText_GLRender", _wrap_SoAsciiText_GLRender, METH_VARARGS, (char *)"SoAsciiText_GLRender(SoAsciiText self, SoGLRenderAction action)"}, - { (char *)"SoAsciiText_getPrimitiveCount", _wrap_SoAsciiText_getPrimitiveCount, METH_VARARGS, (char *)"SoAsciiText_getPrimitiveCount(SoAsciiText self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoAsciiText_swigregister", SoAsciiText_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBaseColor_getClassTypeId", _wrap_SoBaseColor_getClassTypeId, METH_VARARGS, (char *)"SoBaseColor_getClassTypeId() -> SoType"}, - { (char *)"SoBaseColor_getTypeId", _wrap_SoBaseColor_getTypeId, METH_VARARGS, (char *)"SoBaseColor_getTypeId(SoBaseColor self) -> SoType"}, - { (char *)"SoBaseColor_initClass", _wrap_SoBaseColor_initClass, METH_VARARGS, (char *)"SoBaseColor_initClass()"}, - { (char *)"new_SoBaseColor", _wrap_new_SoBaseColor, METH_VARARGS, (char *)"new_SoBaseColor() -> SoBaseColor"}, - { (char *)"SoBaseColor_rgb_set", _wrap_SoBaseColor_rgb_set, METH_VARARGS, (char *)"SoBaseColor_rgb_set(SoBaseColor self, SoMFColor rgb)"}, - { (char *)"SoBaseColor_rgb_get", _wrap_SoBaseColor_rgb_get, METH_VARARGS, (char *)"SoBaseColor_rgb_get(SoBaseColor self) -> SoMFColor"}, - { (char *)"SoBaseColor_doAction", _wrap_SoBaseColor_doAction, METH_VARARGS, (char *)"SoBaseColor_doAction(SoBaseColor self, SoAction action)"}, - { (char *)"SoBaseColor_GLRender", _wrap_SoBaseColor_GLRender, METH_VARARGS, (char *)"SoBaseColor_GLRender(SoBaseColor self, SoGLRenderAction action)"}, - { (char *)"SoBaseColor_callback", _wrap_SoBaseColor_callback, METH_VARARGS, (char *)"SoBaseColor_callback(SoBaseColor self, SoCallbackAction action)"}, - { (char *)"SoBaseColor_swigregister", SoBaseColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSwitch_getClassTypeId", _wrap_SoSwitch_getClassTypeId, METH_VARARGS, (char *)"SoSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoSwitch_getTypeId", _wrap_SoSwitch_getTypeId, METH_VARARGS, (char *)"SoSwitch_getTypeId(SoSwitch self) -> SoType"}, - { (char *)"SoSwitch_initClass", _wrap_SoSwitch_initClass, METH_VARARGS, (char *)"SoSwitch_initClass()"}, - { (char *)"new_SoSwitch", _wrap_new_SoSwitch, METH_VARARGS, (char *)"\n" - "SoSwitch()\n" - "new_SoSwitch(int numchildren) -> SoSwitch\n" - ""}, - { (char *)"SoSwitch_whichChild_set", _wrap_SoSwitch_whichChild_set, METH_VARARGS, (char *)"SoSwitch_whichChild_set(SoSwitch self, SoSFInt32 whichChild)"}, - { (char *)"SoSwitch_whichChild_get", _wrap_SoSwitch_whichChild_get, METH_VARARGS, (char *)"SoSwitch_whichChild_get(SoSwitch self) -> SoSFInt32"}, - { (char *)"SoSwitch_affectsState", _wrap_SoSwitch_affectsState, METH_VARARGS, (char *)"SoSwitch_affectsState(SoSwitch self) -> SbBool"}, - { (char *)"SoSwitch_doAction", _wrap_SoSwitch_doAction, METH_VARARGS, (char *)"SoSwitch_doAction(SoSwitch self, SoAction action)"}, - { (char *)"SoSwitch_callback", _wrap_SoSwitch_callback, METH_VARARGS, (char *)"SoSwitch_callback(SoSwitch self, SoCallbackAction action)"}, - { (char *)"SoSwitch_GLRender", _wrap_SoSwitch_GLRender, METH_VARARGS, (char *)"SoSwitch_GLRender(SoSwitch self, SoGLRenderAction action)"}, - { (char *)"SoSwitch_pick", _wrap_SoSwitch_pick, METH_VARARGS, (char *)"SoSwitch_pick(SoSwitch self, SoPickAction action)"}, - { (char *)"SoSwitch_getBoundingBox", _wrap_SoSwitch_getBoundingBox, METH_VARARGS, (char *)"SoSwitch_getBoundingBox(SoSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSwitch_handleEvent", _wrap_SoSwitch_handleEvent, METH_VARARGS, (char *)"SoSwitch_handleEvent(SoSwitch self, SoHandleEventAction action)"}, - { (char *)"SoSwitch_getMatrix", _wrap_SoSwitch_getMatrix, METH_VARARGS, (char *)"SoSwitch_getMatrix(SoSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoSwitch_search", _wrap_SoSwitch_search, METH_VARARGS, (char *)"SoSwitch_search(SoSwitch self, SoSearchAction action)"}, - { (char *)"SoSwitch_write", _wrap_SoSwitch_write, METH_VARARGS, (char *)"SoSwitch_write(SoSwitch self, SoWriteAction action)"}, - { (char *)"SoSwitch_getPrimitiveCount", _wrap_SoSwitch_getPrimitiveCount, METH_VARARGS, (char *)"SoSwitch_getPrimitiveCount(SoSwitch self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSwitch_audioRender", _wrap_SoSwitch_audioRender, METH_VARARGS, (char *)"SoSwitch_audioRender(SoSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoSwitch_notify", _wrap_SoSwitch_notify, METH_VARARGS, (char *)"SoSwitch_notify(SoSwitch self, SoNotList nl)"}, - { (char *)"SoSwitch_swigregister", SoSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBlinker_getClassTypeId", _wrap_SoBlinker_getClassTypeId, METH_VARARGS, (char *)"SoBlinker_getClassTypeId() -> SoType"}, - { (char *)"SoBlinker_getTypeId", _wrap_SoBlinker_getTypeId, METH_VARARGS, (char *)"SoBlinker_getTypeId(SoBlinker self) -> SoType"}, - { (char *)"SoBlinker_initClass", _wrap_SoBlinker_initClass, METH_VARARGS, (char *)"SoBlinker_initClass()"}, - { (char *)"new_SoBlinker", _wrap_new_SoBlinker, METH_VARARGS, (char *)"new_SoBlinker() -> SoBlinker"}, - { (char *)"SoBlinker_speed_set", _wrap_SoBlinker_speed_set, METH_VARARGS, (char *)"SoBlinker_speed_set(SoBlinker self, SoSFFloat speed)"}, - { (char *)"SoBlinker_speed_get", _wrap_SoBlinker_speed_get, METH_VARARGS, (char *)"SoBlinker_speed_get(SoBlinker self) -> SoSFFloat"}, - { (char *)"SoBlinker_on_set", _wrap_SoBlinker_on_set, METH_VARARGS, (char *)"SoBlinker_on_set(SoBlinker self, SoSFBool on)"}, - { (char *)"SoBlinker_on_get", _wrap_SoBlinker_on_get, METH_VARARGS, (char *)"SoBlinker_on_get(SoBlinker self) -> SoSFBool"}, - { (char *)"SoBlinker_getBoundingBox", _wrap_SoBlinker_getBoundingBox, METH_VARARGS, (char *)"SoBlinker_getBoundingBox(SoBlinker self, SoGetBoundingBoxAction action)"}, - { (char *)"SoBlinker_write", _wrap_SoBlinker_write, METH_VARARGS, (char *)"SoBlinker_write(SoBlinker self, SoWriteAction action)"}, - { (char *)"SoBlinker_swigregister", SoBlinker_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapCoordinate_getClassTypeId", _wrap_SoBumpMapCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapCoordinate_getTypeId", _wrap_SoBumpMapCoordinate_getTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinate_getTypeId(SoBumpMapCoordinate self) -> SoType"}, - { (char *)"SoBumpMapCoordinate_initClass", _wrap_SoBumpMapCoordinate_initClass, METH_VARARGS, (char *)"SoBumpMapCoordinate_initClass()"}, - { (char *)"new_SoBumpMapCoordinate", _wrap_new_SoBumpMapCoordinate, METH_VARARGS, (char *)"new_SoBumpMapCoordinate() -> SoBumpMapCoordinate"}, - { (char *)"SoBumpMapCoordinate_point_set", _wrap_SoBumpMapCoordinate_point_set, METH_VARARGS, (char *)"SoBumpMapCoordinate_point_set(SoBumpMapCoordinate self, SoMFVec2f point)"}, - { (char *)"SoBumpMapCoordinate_point_get", _wrap_SoBumpMapCoordinate_point_get, METH_VARARGS, (char *)"SoBumpMapCoordinate_point_get(SoBumpMapCoordinate self) -> SoMFVec2f"}, - { (char *)"SoBumpMapCoordinate_doAction", _wrap_SoBumpMapCoordinate_doAction, METH_VARARGS, (char *)"SoBumpMapCoordinate_doAction(SoBumpMapCoordinate self, SoAction action)"}, - { (char *)"SoBumpMapCoordinate_GLRender", _wrap_SoBumpMapCoordinate_GLRender, METH_VARARGS, (char *)"SoBumpMapCoordinate_GLRender(SoBumpMapCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoBumpMapCoordinate_callback", _wrap_SoBumpMapCoordinate_callback, METH_VARARGS, (char *)"SoBumpMapCoordinate_callback(SoBumpMapCoordinate self, SoCallbackAction action)"}, - { (char *)"SoBumpMapCoordinate_pick", _wrap_SoBumpMapCoordinate_pick, METH_VARARGS, (char *)"SoBumpMapCoordinate_pick(SoBumpMapCoordinate self, SoPickAction action)"}, - { (char *)"SoBumpMapCoordinate_swigregister", SoBumpMapCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMap_getClassTypeId", _wrap_SoBumpMap_getClassTypeId, METH_VARARGS, (char *)"SoBumpMap_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMap_getTypeId", _wrap_SoBumpMap_getTypeId, METH_VARARGS, (char *)"SoBumpMap_getTypeId(SoBumpMap self) -> SoType"}, - { (char *)"SoBumpMap_initClass", _wrap_SoBumpMap_initClass, METH_VARARGS, (char *)"SoBumpMap_initClass()"}, - { (char *)"new_SoBumpMap", _wrap_new_SoBumpMap, METH_VARARGS, (char *)"new_SoBumpMap() -> SoBumpMap"}, - { (char *)"SoBumpMap_filename_set", _wrap_SoBumpMap_filename_set, METH_VARARGS, (char *)"SoBumpMap_filename_set(SoBumpMap self, SoSFString filename)"}, - { (char *)"SoBumpMap_filename_get", _wrap_SoBumpMap_filename_get, METH_VARARGS, (char *)"SoBumpMap_filename_get(SoBumpMap self) -> SoSFString"}, - { (char *)"SoBumpMap_image_set", _wrap_SoBumpMap_image_set, METH_VARARGS, (char *)"SoBumpMap_image_set(SoBumpMap self, SoSFImage image)"}, - { (char *)"SoBumpMap_image_get", _wrap_SoBumpMap_image_get, METH_VARARGS, (char *)"SoBumpMap_image_get(SoBumpMap self) -> SoSFImage"}, - { (char *)"SoBumpMap_wrapS_set", _wrap_SoBumpMap_wrapS_set, METH_VARARGS, (char *)"SoBumpMap_wrapS_set(SoBumpMap self, SoSFEnum wrapS)"}, - { (char *)"SoBumpMap_wrapS_get", _wrap_SoBumpMap_wrapS_get, METH_VARARGS, (char *)"SoBumpMap_wrapS_get(SoBumpMap self) -> SoSFEnum"}, - { (char *)"SoBumpMap_wrapT_set", _wrap_SoBumpMap_wrapT_set, METH_VARARGS, (char *)"SoBumpMap_wrapT_set(SoBumpMap self, SoSFEnum wrapT)"}, - { (char *)"SoBumpMap_wrapT_get", _wrap_SoBumpMap_wrapT_get, METH_VARARGS, (char *)"SoBumpMap_wrapT_get(SoBumpMap self) -> SoSFEnum"}, - { (char *)"SoBumpMap_doAction", _wrap_SoBumpMap_doAction, METH_VARARGS, (char *)"SoBumpMap_doAction(SoBumpMap self, SoAction action)"}, - { (char *)"SoBumpMap_GLRender", _wrap_SoBumpMap_GLRender, METH_VARARGS, (char *)"SoBumpMap_GLRender(SoBumpMap self, SoGLRenderAction action)"}, - { (char *)"SoBumpMap_callback", _wrap_SoBumpMap_callback, METH_VARARGS, (char *)"SoBumpMap_callback(SoBumpMap self, SoCallbackAction action)"}, - { (char *)"SoBumpMap_rayPick", _wrap_SoBumpMap_rayPick, METH_VARARGS, (char *)"SoBumpMap_rayPick(SoBumpMap self, SoRayPickAction action)"}, - { (char *)"SoBumpMap_swigregister", SoBumpMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapTransform_getClassTypeId", _wrap_SoBumpMapTransform_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapTransform_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapTransform_getTypeId", _wrap_SoBumpMapTransform_getTypeId, METH_VARARGS, (char *)"SoBumpMapTransform_getTypeId(SoBumpMapTransform self) -> SoType"}, - { (char *)"SoBumpMapTransform_initClass", _wrap_SoBumpMapTransform_initClass, METH_VARARGS, (char *)"SoBumpMapTransform_initClass()"}, - { (char *)"new_SoBumpMapTransform", _wrap_new_SoBumpMapTransform, METH_VARARGS, (char *)"new_SoBumpMapTransform() -> SoBumpMapTransform"}, - { (char *)"SoBumpMapTransform_translation_set", _wrap_SoBumpMapTransform_translation_set, METH_VARARGS, (char *)"SoBumpMapTransform_translation_set(SoBumpMapTransform self, SoSFVec2f translation)"}, - { (char *)"SoBumpMapTransform_translation_get", _wrap_SoBumpMapTransform_translation_get, METH_VARARGS, (char *)"SoBumpMapTransform_translation_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_rotation_set", _wrap_SoBumpMapTransform_rotation_set, METH_VARARGS, (char *)"SoBumpMapTransform_rotation_set(SoBumpMapTransform self, SoSFFloat rotation)"}, - { (char *)"SoBumpMapTransform_rotation_get", _wrap_SoBumpMapTransform_rotation_get, METH_VARARGS, (char *)"SoBumpMapTransform_rotation_get(SoBumpMapTransform self) -> SoSFFloat"}, - { (char *)"SoBumpMapTransform_scaleFactor_set", _wrap_SoBumpMapTransform_scaleFactor_set, METH_VARARGS, (char *)"SoBumpMapTransform_scaleFactor_set(SoBumpMapTransform self, SoSFVec2f scaleFactor)"}, - { (char *)"SoBumpMapTransform_scaleFactor_get", _wrap_SoBumpMapTransform_scaleFactor_get, METH_VARARGS, (char *)"SoBumpMapTransform_scaleFactor_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_center_set", _wrap_SoBumpMapTransform_center_set, METH_VARARGS, (char *)"SoBumpMapTransform_center_set(SoBumpMapTransform self, SoSFVec2f center)"}, - { (char *)"SoBumpMapTransform_center_get", _wrap_SoBumpMapTransform_center_get, METH_VARARGS, (char *)"SoBumpMapTransform_center_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_doAction", _wrap_SoBumpMapTransform_doAction, METH_VARARGS, (char *)"SoBumpMapTransform_doAction(SoBumpMapTransform self, SoAction action)"}, - { (char *)"SoBumpMapTransform_callback", _wrap_SoBumpMapTransform_callback, METH_VARARGS, (char *)"SoBumpMapTransform_callback(SoBumpMapTransform self, SoCallbackAction action)"}, - { (char *)"SoBumpMapTransform_GLRender", _wrap_SoBumpMapTransform_GLRender, METH_VARARGS, (char *)"SoBumpMapTransform_GLRender(SoBumpMapTransform self, SoGLRenderAction action)"}, - { (char *)"SoBumpMapTransform_getMatrix", _wrap_SoBumpMapTransform_getMatrix, METH_VARARGS, (char *)"SoBumpMapTransform_getMatrix(SoBumpMapTransform self, SoGetMatrixAction action)"}, - { (char *)"SoBumpMapTransform_pick", _wrap_SoBumpMapTransform_pick, METH_VARARGS, (char *)"SoBumpMapTransform_pick(SoBumpMapTransform self, SoPickAction action)"}, - { (char *)"SoBumpMapTransform_swigregister", SoBumpMapTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCallback_getClassTypeId", _wrap_SoCallback_getClassTypeId, METH_VARARGS, (char *)"SoCallback_getClassTypeId() -> SoType"}, - { (char *)"SoCallback_getTypeId", _wrap_SoCallback_getTypeId, METH_VARARGS, (char *)"SoCallback_getTypeId(SoCallback self) -> SoType"}, - { (char *)"SoCallback_initClass", _wrap_SoCallback_initClass, METH_VARARGS, (char *)"SoCallback_initClass()"}, - { (char *)"new_SoCallback", _wrap_new_SoCallback, METH_VARARGS, (char *)"new_SoCallback() -> SoCallback"}, - { (char *)"SoCallback_doAction", _wrap_SoCallback_doAction, METH_VARARGS, (char *)"SoCallback_doAction(SoCallback self, SoAction action)"}, - { (char *)"SoCallback_callback", _wrap_SoCallback_callback, METH_VARARGS, (char *)"SoCallback_callback(SoCallback self, SoCallbackAction action)"}, - { (char *)"SoCallback_GLRender", _wrap_SoCallback_GLRender, METH_VARARGS, (char *)"SoCallback_GLRender(SoCallback self, SoGLRenderAction action)"}, - { (char *)"SoCallback_getBoundingBox", _wrap_SoCallback_getBoundingBox, METH_VARARGS, (char *)"SoCallback_getBoundingBox(SoCallback self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCallback_getMatrix", _wrap_SoCallback_getMatrix, METH_VARARGS, (char *)"SoCallback_getMatrix(SoCallback self, SoGetMatrixAction action)"}, - { (char *)"SoCallback_handleEvent", _wrap_SoCallback_handleEvent, METH_VARARGS, (char *)"SoCallback_handleEvent(SoCallback self, SoHandleEventAction action)"}, - { (char *)"SoCallback_pick", _wrap_SoCallback_pick, METH_VARARGS, (char *)"SoCallback_pick(SoCallback self, SoPickAction action)"}, - { (char *)"SoCallback_search", _wrap_SoCallback_search, METH_VARARGS, (char *)"SoCallback_search(SoCallback self, SoSearchAction action)"}, - { (char *)"SoCallback_write", _wrap_SoCallback_write, METH_VARARGS, (char *)"SoCallback_write(SoCallback self, SoWriteAction action)"}, - { (char *)"SoCallback_getPrimitiveCount", _wrap_SoCallback_getPrimitiveCount, METH_VARARGS, (char *)"SoCallback_getPrimitiveCount(SoCallback self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCallback_setCallback", _wrap_SoCallback_setCallback, METH_VARARGS, (char *)"\n" - "setCallback(SoCallbackCB function, void userdata=None)\n" - "setCallback(SoCallbackCB function)\n" - "setCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoCallback_setCallback(SoCallback self, PyObject pyfunc)\n" - ""}, - { (char *)"SoCallback_swigregister", SoCallback_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCamera_getClassTypeId", _wrap_SoCamera_getClassTypeId, METH_VARARGS, (char *)"SoCamera_getClassTypeId() -> SoType"}, - { (char *)"SoCamera_getTypeId", _wrap_SoCamera_getTypeId, METH_VARARGS, (char *)"SoCamera_getTypeId(SoCamera self) -> SoType"}, - { (char *)"SoCamera_initClass", _wrap_SoCamera_initClass, METH_VARARGS, (char *)"SoCamera_initClass()"}, - { (char *)"SoCamera_viewportMapping_set", _wrap_SoCamera_viewportMapping_set, METH_VARARGS, (char *)"SoCamera_viewportMapping_set(SoCamera self, SoSFEnum viewportMapping)"}, - { (char *)"SoCamera_viewportMapping_get", _wrap_SoCamera_viewportMapping_get, METH_VARARGS, (char *)"SoCamera_viewportMapping_get(SoCamera self) -> SoSFEnum"}, - { (char *)"SoCamera_position_set", _wrap_SoCamera_position_set, METH_VARARGS, (char *)"SoCamera_position_set(SoCamera self, SoSFVec3f position)"}, - { (char *)"SoCamera_position_get", _wrap_SoCamera_position_get, METH_VARARGS, (char *)"SoCamera_position_get(SoCamera self) -> SoSFVec3f"}, - { (char *)"SoCamera_orientation_set", _wrap_SoCamera_orientation_set, METH_VARARGS, (char *)"SoCamera_orientation_set(SoCamera self, SoSFRotation orientation)"}, - { (char *)"SoCamera_orientation_get", _wrap_SoCamera_orientation_get, METH_VARARGS, (char *)"SoCamera_orientation_get(SoCamera self) -> SoSFRotation"}, - { (char *)"SoCamera_aspectRatio_set", _wrap_SoCamera_aspectRatio_set, METH_VARARGS, (char *)"SoCamera_aspectRatio_set(SoCamera self, SoSFFloat aspectRatio)"}, - { (char *)"SoCamera_aspectRatio_get", _wrap_SoCamera_aspectRatio_get, METH_VARARGS, (char *)"SoCamera_aspectRatio_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_nearDistance_set", _wrap_SoCamera_nearDistance_set, METH_VARARGS, (char *)"SoCamera_nearDistance_set(SoCamera self, SoSFFloat nearDistance)"}, - { (char *)"SoCamera_nearDistance_get", _wrap_SoCamera_nearDistance_get, METH_VARARGS, (char *)"SoCamera_nearDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_farDistance_set", _wrap_SoCamera_farDistance_set, METH_VARARGS, (char *)"SoCamera_farDistance_set(SoCamera self, SoSFFloat farDistance)"}, - { (char *)"SoCamera_farDistance_get", _wrap_SoCamera_farDistance_get, METH_VARARGS, (char *)"SoCamera_farDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_focalDistance_set", _wrap_SoCamera_focalDistance_set, METH_VARARGS, (char *)"SoCamera_focalDistance_set(SoCamera self, SoSFFloat focalDistance)"}, - { (char *)"SoCamera_focalDistance_get", _wrap_SoCamera_focalDistance_get, METH_VARARGS, (char *)"SoCamera_focalDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_pointAt", _wrap_SoCamera_pointAt, METH_VARARGS, (char *)"\n" - "pointAt(SbVec3f targetpoint)\n" - "SoCamera_pointAt(SoCamera self, SbVec3f targetpoint, SbVec3f upvector)\n" - ""}, - { (char *)"SoCamera_scaleHeight", _wrap_SoCamera_scaleHeight, METH_VARARGS, (char *)"SoCamera_scaleHeight(SoCamera self, float scalefactor)"}, - { (char *)"SoCamera_getViewVolume", _wrap_SoCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoCamera_getViewVolume(SoCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoCamera_viewAll", _wrap_SoCamera_viewAll, METH_VARARGS, (char *)"\n" - "viewAll(SoNode sceneroot, SbViewportRegion vpregion, float slack=1.0)\n" - "viewAll(SoNode sceneroot, SbViewportRegion vpregion)\n" - "viewAll(SoPath path, SbViewportRegion vpregion, float slack=1.0)\n" - "SoCamera_viewAll(SoCamera self, SoPath path, SbViewportRegion vpregion)\n" - ""}, - { (char *)"SoCamera_getViewportBounds", _wrap_SoCamera_getViewportBounds, METH_VARARGS, (char *)"SoCamera_getViewportBounds(SoCamera self, SbViewportRegion region) -> SbViewportRegion"}, - { (char *)"SoCamera_setStereoMode", _wrap_SoCamera_setStereoMode, METH_VARARGS, (char *)"SoCamera_setStereoMode(SoCamera self, StereoMode mode)"}, - { (char *)"SoCamera_getStereoMode", _wrap_SoCamera_getStereoMode, METH_VARARGS, (char *)"SoCamera_getStereoMode(SoCamera self) -> StereoMode"}, - { (char *)"SoCamera_setStereoAdjustment", _wrap_SoCamera_setStereoAdjustment, METH_VARARGS, (char *)"SoCamera_setStereoAdjustment(SoCamera self, float adjustment)"}, - { (char *)"SoCamera_getStereoAdjustment", _wrap_SoCamera_getStereoAdjustment, METH_VARARGS, (char *)"SoCamera_getStereoAdjustment(SoCamera self) -> float"}, - { (char *)"SoCamera_setBalanceAdjustment", _wrap_SoCamera_setBalanceAdjustment, METH_VARARGS, (char *)"SoCamera_setBalanceAdjustment(SoCamera self, float adjustment)"}, - { (char *)"SoCamera_getBalanceAdjustment", _wrap_SoCamera_getBalanceAdjustment, METH_VARARGS, (char *)"SoCamera_getBalanceAdjustment(SoCamera self) -> float"}, - { (char *)"SoCamera_doAction", _wrap_SoCamera_doAction, METH_VARARGS, (char *)"SoCamera_doAction(SoCamera self, SoAction action)"}, - { (char *)"SoCamera_callback", _wrap_SoCamera_callback, METH_VARARGS, (char *)"SoCamera_callback(SoCamera self, SoCallbackAction action)"}, - { (char *)"SoCamera_GLRender", _wrap_SoCamera_GLRender, METH_VARARGS, (char *)"SoCamera_GLRender(SoCamera self, SoGLRenderAction action)"}, - { (char *)"SoCamera_audioRender", _wrap_SoCamera_audioRender, METH_VARARGS, (char *)"SoCamera_audioRender(SoCamera self, SoAudioRenderAction action)"}, - { (char *)"SoCamera_getBoundingBox", _wrap_SoCamera_getBoundingBox, METH_VARARGS, (char *)"SoCamera_getBoundingBox(SoCamera self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCamera_handleEvent", _wrap_SoCamera_handleEvent, METH_VARARGS, (char *)"SoCamera_handleEvent(SoCamera self, SoHandleEventAction action)"}, - { (char *)"SoCamera_rayPick", _wrap_SoCamera_rayPick, METH_VARARGS, (char *)"SoCamera_rayPick(SoCamera self, SoRayPickAction action)"}, - { (char *)"SoCamera_getPrimitiveCount", _wrap_SoCamera_getPrimitiveCount, METH_VARARGS, (char *)"SoCamera_getPrimitiveCount(SoCamera self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCamera_swigregister", SoCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoColorIndex_getClassTypeId", _wrap_SoColorIndex_getClassTypeId, METH_VARARGS, (char *)"SoColorIndex_getClassTypeId() -> SoType"}, - { (char *)"SoColorIndex_getTypeId", _wrap_SoColorIndex_getTypeId, METH_VARARGS, (char *)"SoColorIndex_getTypeId(SoColorIndex self) -> SoType"}, - { (char *)"SoColorIndex_initClass", _wrap_SoColorIndex_initClass, METH_VARARGS, (char *)"SoColorIndex_initClass()"}, - { (char *)"new_SoColorIndex", _wrap_new_SoColorIndex, METH_VARARGS, (char *)"new_SoColorIndex() -> SoColorIndex"}, - { (char *)"SoColorIndex_index_set", _wrap_SoColorIndex_index_set, METH_VARARGS, (char *)"SoColorIndex_index_set(SoColorIndex self, SoMFInt32 index)"}, - { (char *)"SoColorIndex_index_get", _wrap_SoColorIndex_index_get, METH_VARARGS, (char *)"SoColorIndex_index_get(SoColorIndex self) -> SoMFInt32"}, - { (char *)"SoColorIndex_GLRender", _wrap_SoColorIndex_GLRender, METH_VARARGS, (char *)"SoColorIndex_GLRender(SoColorIndex self, SoGLRenderAction action)"}, - { (char *)"SoColorIndex_swigregister", SoColorIndex_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCone_getClassTypeId", _wrap_SoCone_getClassTypeId, METH_VARARGS, (char *)"SoCone_getClassTypeId() -> SoType"}, - { (char *)"SoCone_getTypeId", _wrap_SoCone_getTypeId, METH_VARARGS, (char *)"SoCone_getTypeId(SoCone self) -> SoType"}, - { (char *)"SoCone_initClass", _wrap_SoCone_initClass, METH_VARARGS, (char *)"SoCone_initClass()"}, - { (char *)"new_SoCone", _wrap_new_SoCone, METH_VARARGS, (char *)"new_SoCone() -> SoCone"}, - { (char *)"SoCone_parts_set", _wrap_SoCone_parts_set, METH_VARARGS, (char *)"SoCone_parts_set(SoCone self, SoSFBitMask parts)"}, - { (char *)"SoCone_parts_get", _wrap_SoCone_parts_get, METH_VARARGS, (char *)"SoCone_parts_get(SoCone self) -> SoSFBitMask"}, - { (char *)"SoCone_bottomRadius_set", _wrap_SoCone_bottomRadius_set, METH_VARARGS, (char *)"SoCone_bottomRadius_set(SoCone self, SoSFFloat bottomRadius)"}, - { (char *)"SoCone_bottomRadius_get", _wrap_SoCone_bottomRadius_get, METH_VARARGS, (char *)"SoCone_bottomRadius_get(SoCone self) -> SoSFFloat"}, - { (char *)"SoCone_height_set", _wrap_SoCone_height_set, METH_VARARGS, (char *)"SoCone_height_set(SoCone self, SoSFFloat height)"}, - { (char *)"SoCone_height_get", _wrap_SoCone_height_get, METH_VARARGS, (char *)"SoCone_height_get(SoCone self) -> SoSFFloat"}, - { (char *)"SoCone_addPart", _wrap_SoCone_addPart, METH_VARARGS, (char *)"SoCone_addPart(SoCone self, Part part)"}, - { (char *)"SoCone_removePart", _wrap_SoCone_removePart, METH_VARARGS, (char *)"SoCone_removePart(SoCone self, Part part)"}, - { (char *)"SoCone_hasPart", _wrap_SoCone_hasPart, METH_VARARGS, (char *)"SoCone_hasPart(SoCone self, Part part) -> SbBool"}, - { (char *)"SoCone_GLRender", _wrap_SoCone_GLRender, METH_VARARGS, (char *)"SoCone_GLRender(SoCone self, SoGLRenderAction action)"}, - { (char *)"SoCone_rayPick", _wrap_SoCone_rayPick, METH_VARARGS, (char *)"SoCone_rayPick(SoCone self, SoRayPickAction action)"}, - { (char *)"SoCone_getPrimitiveCount", _wrap_SoCone_getPrimitiveCount, METH_VARARGS, (char *)"SoCone_getPrimitiveCount(SoCone self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCone_swigregister", SoCone_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinate3_getClassTypeId", _wrap_SoCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinate3_getTypeId", _wrap_SoCoordinate3_getTypeId, METH_VARARGS, (char *)"SoCoordinate3_getTypeId(SoCoordinate3 self) -> SoType"}, - { (char *)"SoCoordinate3_initClass", _wrap_SoCoordinate3_initClass, METH_VARARGS, (char *)"SoCoordinate3_initClass()"}, - { (char *)"new_SoCoordinate3", _wrap_new_SoCoordinate3, METH_VARARGS, (char *)"new_SoCoordinate3() -> SoCoordinate3"}, - { (char *)"SoCoordinate3_point_set", _wrap_SoCoordinate3_point_set, METH_VARARGS, (char *)"SoCoordinate3_point_set(SoCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoCoordinate3_point_get", _wrap_SoCoordinate3_point_get, METH_VARARGS, (char *)"SoCoordinate3_point_get(SoCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoCoordinate3_doAction", _wrap_SoCoordinate3_doAction, METH_VARARGS, (char *)"SoCoordinate3_doAction(SoCoordinate3 self, SoAction action)"}, - { (char *)"SoCoordinate3_GLRender", _wrap_SoCoordinate3_GLRender, METH_VARARGS, (char *)"SoCoordinate3_GLRender(SoCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoCoordinate3_callback", _wrap_SoCoordinate3_callback, METH_VARARGS, (char *)"SoCoordinate3_callback(SoCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoCoordinate3_getBoundingBox", _wrap_SoCoordinate3_getBoundingBox, METH_VARARGS, (char *)"SoCoordinate3_getBoundingBox(SoCoordinate3 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCoordinate3_pick", _wrap_SoCoordinate3_pick, METH_VARARGS, (char *)"SoCoordinate3_pick(SoCoordinate3 self, SoPickAction action)"}, - { (char *)"SoCoordinate3_getPrimitiveCount", _wrap_SoCoordinate3_getPrimitiveCount, METH_VARARGS, (char *)"SoCoordinate3_getPrimitiveCount(SoCoordinate3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCoordinate3_swigregister", SoCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinate4_getClassTypeId", _wrap_SoCoordinate4_getClassTypeId, METH_VARARGS, (char *)"SoCoordinate4_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinate4_getTypeId", _wrap_SoCoordinate4_getTypeId, METH_VARARGS, (char *)"SoCoordinate4_getTypeId(SoCoordinate4 self) -> SoType"}, - { (char *)"SoCoordinate4_initClass", _wrap_SoCoordinate4_initClass, METH_VARARGS, (char *)"SoCoordinate4_initClass()"}, - { (char *)"new_SoCoordinate4", _wrap_new_SoCoordinate4, METH_VARARGS, (char *)"new_SoCoordinate4() -> SoCoordinate4"}, - { (char *)"SoCoordinate4_point_set", _wrap_SoCoordinate4_point_set, METH_VARARGS, (char *)"SoCoordinate4_point_set(SoCoordinate4 self, SoMFVec4f point)"}, - { (char *)"SoCoordinate4_point_get", _wrap_SoCoordinate4_point_get, METH_VARARGS, (char *)"SoCoordinate4_point_get(SoCoordinate4 self) -> SoMFVec4f"}, - { (char *)"SoCoordinate4_doAction", _wrap_SoCoordinate4_doAction, METH_VARARGS, (char *)"SoCoordinate4_doAction(SoCoordinate4 self, SoAction action)"}, - { (char *)"SoCoordinate4_GLRender", _wrap_SoCoordinate4_GLRender, METH_VARARGS, (char *)"SoCoordinate4_GLRender(SoCoordinate4 self, SoGLRenderAction action)"}, - { (char *)"SoCoordinate4_getBoundingBox", _wrap_SoCoordinate4_getBoundingBox, METH_VARARGS, (char *)"SoCoordinate4_getBoundingBox(SoCoordinate4 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCoordinate4_callback", _wrap_SoCoordinate4_callback, METH_VARARGS, (char *)"SoCoordinate4_callback(SoCoordinate4 self, SoCallbackAction action)"}, - { (char *)"SoCoordinate4_pick", _wrap_SoCoordinate4_pick, METH_VARARGS, (char *)"SoCoordinate4_pick(SoCoordinate4 self, SoPickAction action)"}, - { (char *)"SoCoordinate4_getPrimitiveCount", _wrap_SoCoordinate4_getPrimitiveCount, METH_VARARGS, (char *)"SoCoordinate4_getPrimitiveCount(SoCoordinate4 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCoordinate4_swigregister", SoCoordinate4_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCube_getClassTypeId", _wrap_SoCube_getClassTypeId, METH_VARARGS, (char *)"SoCube_getClassTypeId() -> SoType"}, - { (char *)"SoCube_getTypeId", _wrap_SoCube_getTypeId, METH_VARARGS, (char *)"SoCube_getTypeId(SoCube self) -> SoType"}, - { (char *)"SoCube_initClass", _wrap_SoCube_initClass, METH_VARARGS, (char *)"SoCube_initClass()"}, - { (char *)"new_SoCube", _wrap_new_SoCube, METH_VARARGS, (char *)"new_SoCube() -> SoCube"}, - { (char *)"SoCube_width_set", _wrap_SoCube_width_set, METH_VARARGS, (char *)"SoCube_width_set(SoCube self, SoSFFloat width)"}, - { (char *)"SoCube_width_get", _wrap_SoCube_width_get, METH_VARARGS, (char *)"SoCube_width_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_height_set", _wrap_SoCube_height_set, METH_VARARGS, (char *)"SoCube_height_set(SoCube self, SoSFFloat height)"}, - { (char *)"SoCube_height_get", _wrap_SoCube_height_get, METH_VARARGS, (char *)"SoCube_height_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_depth_set", _wrap_SoCube_depth_set, METH_VARARGS, (char *)"SoCube_depth_set(SoCube self, SoSFFloat depth)"}, - { (char *)"SoCube_depth_get", _wrap_SoCube_depth_get, METH_VARARGS, (char *)"SoCube_depth_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_GLRender", _wrap_SoCube_GLRender, METH_VARARGS, (char *)"SoCube_GLRender(SoCube self, SoGLRenderAction action)"}, - { (char *)"SoCube_rayPick", _wrap_SoCube_rayPick, METH_VARARGS, (char *)"SoCube_rayPick(SoCube self, SoRayPickAction action)"}, - { (char *)"SoCube_getPrimitiveCount", _wrap_SoCube_getPrimitiveCount, METH_VARARGS, (char *)"SoCube_getPrimitiveCount(SoCube self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCube_swigregister", SoCube_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCylinder_getClassTypeId", _wrap_SoCylinder_getClassTypeId, METH_VARARGS, (char *)"SoCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoCylinder_getTypeId", _wrap_SoCylinder_getTypeId, METH_VARARGS, (char *)"SoCylinder_getTypeId(SoCylinder self) -> SoType"}, - { (char *)"SoCylinder_initClass", _wrap_SoCylinder_initClass, METH_VARARGS, (char *)"SoCylinder_initClass()"}, - { (char *)"new_SoCylinder", _wrap_new_SoCylinder, METH_VARARGS, (char *)"new_SoCylinder() -> SoCylinder"}, - { (char *)"SoCylinder_radius_set", _wrap_SoCylinder_radius_set, METH_VARARGS, (char *)"SoCylinder_radius_set(SoCylinder self, SoSFFloat radius)"}, - { (char *)"SoCylinder_radius_get", _wrap_SoCylinder_radius_get, METH_VARARGS, (char *)"SoCylinder_radius_get(SoCylinder self) -> SoSFFloat"}, - { (char *)"SoCylinder_height_set", _wrap_SoCylinder_height_set, METH_VARARGS, (char *)"SoCylinder_height_set(SoCylinder self, SoSFFloat height)"}, - { (char *)"SoCylinder_height_get", _wrap_SoCylinder_height_get, METH_VARARGS, (char *)"SoCylinder_height_get(SoCylinder self) -> SoSFFloat"}, - { (char *)"SoCylinder_parts_set", _wrap_SoCylinder_parts_set, METH_VARARGS, (char *)"SoCylinder_parts_set(SoCylinder self, SoSFBitMask parts)"}, - { (char *)"SoCylinder_parts_get", _wrap_SoCylinder_parts_get, METH_VARARGS, (char *)"SoCylinder_parts_get(SoCylinder self) -> SoSFBitMask"}, - { (char *)"SoCylinder_addPart", _wrap_SoCylinder_addPart, METH_VARARGS, (char *)"SoCylinder_addPart(SoCylinder self, Part part)"}, - { (char *)"SoCylinder_removePart", _wrap_SoCylinder_removePart, METH_VARARGS, (char *)"SoCylinder_removePart(SoCylinder self, Part part)"}, - { (char *)"SoCylinder_hasPart", _wrap_SoCylinder_hasPart, METH_VARARGS, (char *)"SoCylinder_hasPart(SoCylinder self, Part part) -> SbBool"}, - { (char *)"SoCylinder_rayPick", _wrap_SoCylinder_rayPick, METH_VARARGS, (char *)"SoCylinder_rayPick(SoCylinder self, SoRayPickAction action)"}, - { (char *)"SoCylinder_getPrimitiveCount", _wrap_SoCylinder_getPrimitiveCount, METH_VARARGS, (char *)"SoCylinder_getPrimitiveCount(SoCylinder self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCylinder_GLRender", _wrap_SoCylinder_GLRender, METH_VARARGS, (char *)"SoCylinder_GLRender(SoCylinder self, SoGLRenderAction action)"}, - { (char *)"SoCylinder_swigregister", SoCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEnvironment_getClassTypeId", _wrap_SoEnvironment_getClassTypeId, METH_VARARGS, (char *)"SoEnvironment_getClassTypeId() -> SoType"}, - { (char *)"SoEnvironment_getTypeId", _wrap_SoEnvironment_getTypeId, METH_VARARGS, (char *)"SoEnvironment_getTypeId(SoEnvironment self) -> SoType"}, - { (char *)"SoEnvironment_initClass", _wrap_SoEnvironment_initClass, METH_VARARGS, (char *)"SoEnvironment_initClass()"}, - { (char *)"new_SoEnvironment", _wrap_new_SoEnvironment, METH_VARARGS, (char *)"new_SoEnvironment() -> SoEnvironment"}, - { (char *)"SoEnvironment_GLRender", _wrap_SoEnvironment_GLRender, METH_VARARGS, (char *)"SoEnvironment_GLRender(SoEnvironment self, SoGLRenderAction action)"}, - { (char *)"SoEnvironment_callback", _wrap_SoEnvironment_callback, METH_VARARGS, (char *)"SoEnvironment_callback(SoEnvironment self, SoCallbackAction action)"}, - { (char *)"SoEnvironment_ambientIntensity_set", _wrap_SoEnvironment_ambientIntensity_set, METH_VARARGS, (char *)"SoEnvironment_ambientIntensity_set(SoEnvironment self, SoSFFloat ambientIntensity)"}, - { (char *)"SoEnvironment_ambientIntensity_get", _wrap_SoEnvironment_ambientIntensity_get, METH_VARARGS, (char *)"SoEnvironment_ambientIntensity_get(SoEnvironment self) -> SoSFFloat"}, - { (char *)"SoEnvironment_ambientColor_set", _wrap_SoEnvironment_ambientColor_set, METH_VARARGS, (char *)"SoEnvironment_ambientColor_set(SoEnvironment self, SoSFColor ambientColor)"}, - { (char *)"SoEnvironment_ambientColor_get", _wrap_SoEnvironment_ambientColor_get, METH_VARARGS, (char *)"SoEnvironment_ambientColor_get(SoEnvironment self) -> SoSFColor"}, - { (char *)"SoEnvironment_attenuation_set", _wrap_SoEnvironment_attenuation_set, METH_VARARGS, (char *)"SoEnvironment_attenuation_set(SoEnvironment self, SoSFVec3f attenuation)"}, - { (char *)"SoEnvironment_attenuation_get", _wrap_SoEnvironment_attenuation_get, METH_VARARGS, (char *)"SoEnvironment_attenuation_get(SoEnvironment self) -> SoSFVec3f"}, - { (char *)"SoEnvironment_fogType_set", _wrap_SoEnvironment_fogType_set, METH_VARARGS, (char *)"SoEnvironment_fogType_set(SoEnvironment self, SoSFEnum fogType)"}, - { (char *)"SoEnvironment_fogType_get", _wrap_SoEnvironment_fogType_get, METH_VARARGS, (char *)"SoEnvironment_fogType_get(SoEnvironment self) -> SoSFEnum"}, - { (char *)"SoEnvironment_fogColor_set", _wrap_SoEnvironment_fogColor_set, METH_VARARGS, (char *)"SoEnvironment_fogColor_set(SoEnvironment self, SoSFColor fogColor)"}, - { (char *)"SoEnvironment_fogColor_get", _wrap_SoEnvironment_fogColor_get, METH_VARARGS, (char *)"SoEnvironment_fogColor_get(SoEnvironment self) -> SoSFColor"}, - { (char *)"SoEnvironment_fogVisibility_set", _wrap_SoEnvironment_fogVisibility_set, METH_VARARGS, (char *)"SoEnvironment_fogVisibility_set(SoEnvironment self, SoSFFloat fogVisibility)"}, - { (char *)"SoEnvironment_fogVisibility_get", _wrap_SoEnvironment_fogVisibility_get, METH_VARARGS, (char *)"SoEnvironment_fogVisibility_get(SoEnvironment self) -> SoSFFloat"}, - { (char *)"SoEnvironment_swigregister", SoEnvironment_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEventCallback_getClassTypeId", _wrap_SoEventCallback_getClassTypeId, METH_VARARGS, (char *)"SoEventCallback_getClassTypeId() -> SoType"}, - { (char *)"SoEventCallback_getTypeId", _wrap_SoEventCallback_getTypeId, METH_VARARGS, (char *)"SoEventCallback_getTypeId(SoEventCallback self) -> SoType"}, - { (char *)"SoEventCallback_initClass", _wrap_SoEventCallback_initClass, METH_VARARGS, (char *)"SoEventCallback_initClass()"}, - { (char *)"new_SoEventCallback", _wrap_new_SoEventCallback, METH_VARARGS, (char *)"new_SoEventCallback() -> SoEventCallback"}, - { (char *)"SoEventCallback_setPath", _wrap_SoEventCallback_setPath, METH_VARARGS, (char *)"SoEventCallback_setPath(SoEventCallback self, SoPath path)"}, - { (char *)"SoEventCallback_getPath", _wrap_SoEventCallback_getPath, METH_VARARGS, (char *)"SoEventCallback_getPath(SoEventCallback self) -> SoPath"}, - { (char *)"SoEventCallback_getAction", _wrap_SoEventCallback_getAction, METH_VARARGS, (char *)"SoEventCallback_getAction(SoEventCallback self) -> SoHandleEventAction"}, - { (char *)"SoEventCallback_getEvent", _wrap_SoEventCallback_getEvent, METH_VARARGS, (char *)"SoEventCallback_getEvent(SoEventCallback self) -> SoEvent"}, - { (char *)"SoEventCallback_getPickedPoint", _wrap_SoEventCallback_getPickedPoint, METH_VARARGS, (char *)"SoEventCallback_getPickedPoint(SoEventCallback self) -> SoPickedPoint"}, - { (char *)"SoEventCallback_setHandled", _wrap_SoEventCallback_setHandled, METH_VARARGS, (char *)"SoEventCallback_setHandled(SoEventCallback self)"}, - { (char *)"SoEventCallback_isHandled", _wrap_SoEventCallback_isHandled, METH_VARARGS, (char *)"SoEventCallback_isHandled(SoEventCallback self) -> SbBool"}, - { (char *)"SoEventCallback_grabEvents", _wrap_SoEventCallback_grabEvents, METH_VARARGS, (char *)"SoEventCallback_grabEvents(SoEventCallback self)"}, - { (char *)"SoEventCallback_releaseEvents", _wrap_SoEventCallback_releaseEvents, METH_VARARGS, (char *)"SoEventCallback_releaseEvents(SoEventCallback self)"}, - { (char *)"SoEventCallback_addEventCallback", _wrap_SoEventCallback_addEventCallback, METH_VARARGS, (char *)"\n" - "addEventCallback(SoType eventtype, SoEventCallbackCB f, void userdata=None)\n" - "addEventCallback(SoType eventtype, SoEventCallbackCB f)\n" - "addEventCallback(SoType eventtype, PyObject pyfunc, PyObject userdata=None)\n" - "SoEventCallback_addEventCallback(SoEventCallback self, SoType eventtype, PyObject pyfunc)\n" - ""}, - { (char *)"SoEventCallback_removeEventCallback", _wrap_SoEventCallback_removeEventCallback, METH_VARARGS, (char *)"\n" - "removeEventCallback(SoType eventtype, SoEventCallbackCB f, void userdata=None)\n" - "removeEventCallback(SoType eventtype, SoEventCallbackCB f)\n" - "removeEventCallback(SoType eventtype, PyObject pyfunc, PyObject userdata=None)\n" - "SoEventCallback_removeEventCallback(SoEventCallback self, SoType eventtype, PyObject pyfunc)\n" - ""}, - { (char *)"SoEventCallback_swigregister", SoEventCallback_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSelection_getClassTypeId", _wrap_SoSelection_getClassTypeId, METH_VARARGS, (char *)"SoSelection_getClassTypeId() -> SoType"}, - { (char *)"SoSelection_getTypeId", _wrap_SoSelection_getTypeId, METH_VARARGS, (char *)"SoSelection_getTypeId(SoSelection self) -> SoType"}, - { (char *)"SoSelection_initClass", _wrap_SoSelection_initClass, METH_VARARGS, (char *)"SoSelection_initClass()"}, - { (char *)"SoSelection_policy_set", _wrap_SoSelection_policy_set, METH_VARARGS, (char *)"SoSelection_policy_set(SoSelection self, SoSFEnum policy)"}, - { (char *)"SoSelection_policy_get", _wrap_SoSelection_policy_get, METH_VARARGS, (char *)"SoSelection_policy_get(SoSelection self) -> SoSFEnum"}, - { (char *)"new_SoSelection", _wrap_new_SoSelection, METH_VARARGS, (char *)"\n" - "SoSelection()\n" - "new_SoSelection(int nChildren) -> SoSelection\n" - ""}, - { (char *)"SoSelection_select", _wrap_SoSelection_select, METH_VARARGS, (char *)"\n" - "select(SoPath path)\n" - "SoSelection_select(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_deselect", _wrap_SoSelection_deselect, METH_VARARGS, (char *)"\n" - "deselect(SoPath path)\n" - "deselect(int which)\n" - "SoSelection_deselect(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_toggle", _wrap_SoSelection_toggle, METH_VARARGS, (char *)"\n" - "toggle(SoPath path)\n" - "SoSelection_toggle(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_isSelected", _wrap_SoSelection_isSelected, METH_VARARGS, (char *)"\n" - "isSelected(SoPath path) -> SbBool\n" - "SoSelection_isSelected(SoSelection self, SoNode node) -> SbBool\n" - ""}, - { (char *)"SoSelection_deselectAll", _wrap_SoSelection_deselectAll, METH_VARARGS, (char *)"SoSelection_deselectAll(SoSelection self)"}, - { (char *)"SoSelection_getNumSelected", _wrap_SoSelection_getNumSelected, METH_VARARGS, (char *)"SoSelection_getNumSelected(SoSelection self) -> int"}, - { (char *)"SoSelection_getList", _wrap_SoSelection_getList, METH_VARARGS, (char *)"SoSelection_getList(SoSelection self) -> SoPathList"}, - { (char *)"SoSelection_getPath", _wrap_SoSelection_getPath, METH_VARARGS, (char *)"SoSelection_getPath(SoSelection self, int index) -> SoPath"}, - { (char *)"SoSelection_setPickMatching", _wrap_SoSelection_setPickMatching, METH_VARARGS, (char *)"SoSelection_setPickMatching(SoSelection self, SbBool pickMatching)"}, - { (char *)"SoSelection_isPickMatching", _wrap_SoSelection_isPickMatching, METH_VARARGS, (char *)"SoSelection_isPickMatching(SoSelection self) -> SbBool"}, - { (char *)"SoSelection_getPickMatching", _wrap_SoSelection_getPickMatching, METH_VARARGS, (char *)"SoSelection_getPickMatching(SoSelection self) -> SbBool"}, - { (char *)"SoSelection_addSelectionCallback", _wrap_SoSelection_addSelectionCallback, METH_VARARGS, (char *)"\n" - "addSelectionCallback(SoSelectionPathCB f, void userData=None)\n" - "addSelectionCallback(SoSelectionPathCB f)\n" - "addSelectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addSelectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeSelectionCallback", _wrap_SoSelection_removeSelectionCallback, METH_VARARGS, (char *)"\n" - "removeSelectionCallback(SoSelectionPathCB f, void userData=None)\n" - "removeSelectionCallback(SoSelectionPathCB f)\n" - "removeSelectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeSelectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addDeselectionCallback", _wrap_SoSelection_addDeselectionCallback, METH_VARARGS, (char *)"\n" - "addDeselectionCallback(SoSelectionPathCB f, void userData=None)\n" - "addDeselectionCallback(SoSelectionPathCB f)\n" - "addDeselectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addDeselectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeDeselectionCallback", _wrap_SoSelection_removeDeselectionCallback, METH_VARARGS, (char *)"\n" - "removeDeselectionCallback(SoSelectionPathCB f, void userData=None)\n" - "removeDeselectionCallback(SoSelectionPathCB f)\n" - "removeDeselectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeDeselectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addStartCallback", _wrap_SoSelection_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoSelectionClassCB f, void userData=None)\n" - "addStartCallback(SoSelectionClassCB f)\n" - "addStartCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addStartCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeStartCallback", _wrap_SoSelection_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoSelectionClassCB f, void userData=None)\n" - "removeStartCallback(SoSelectionClassCB f)\n" - "removeStartCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeStartCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addFinishCallback", _wrap_SoSelection_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoSelectionClassCB f, void userData=None)\n" - "addFinishCallback(SoSelectionClassCB f)\n" - "addFinishCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addFinishCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeFinishCallback", _wrap_SoSelection_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoSelectionClassCB f, void userData=None)\n" - "removeFinishCallback(SoSelectionClassCB f)\n" - "removeFinishCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeFinishCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_setPickFilterCallback", _wrap_SoSelection_setPickFilterCallback, METH_VARARGS, (char *)"\n" - "setPickFilterCallback(SoSelectionPickCB f, void userData=None, SbBool callOnlyIfSelectable=1)\n" - "setPickFilterCallback(SoSelectionPickCB f, void userData=None)\n" - "setPickFilterCallback(SoSelectionPickCB f)\n" - "setPickFilterCallback(PyObject pyfunc, PyObject userdata=None, int callOnlyIfSelectable=1)\n" - "setPickFilterCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_setPickFilterCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addChangeCallback", _wrap_SoSelection_addChangeCallback, METH_VARARGS, (char *)"\n" - "addChangeCallback(SoSelectionClassCB f, void userData=None)\n" - "addChangeCallback(SoSelectionClassCB f)\n" - "addChangeCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addChangeCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeChangeCallback", _wrap_SoSelection_removeChangeCallback, METH_VARARGS, (char *)"\n" - "removeChangeCallback(SoSelectionClassCB f, void userData=None)\n" - "removeChangeCallback(SoSelectionClassCB f)\n" - "removeChangeCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeChangeCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_swigregister", SoSelection_swigregister, METH_VARARGS, NULL}, - { (char *)"SoExtSelection_getClassTypeId", _wrap_SoExtSelection_getClassTypeId, METH_VARARGS, (char *)"SoExtSelection_getClassTypeId() -> SoType"}, - { (char *)"SoExtSelection_getTypeId", _wrap_SoExtSelection_getTypeId, METH_VARARGS, (char *)"SoExtSelection_getTypeId(SoExtSelection self) -> SoType"}, - { (char *)"SoExtSelection_initClass", _wrap_SoExtSelection_initClass, METH_VARARGS, (char *)"SoExtSelection_initClass()"}, - { (char *)"new_SoExtSelection", _wrap_new_SoExtSelection, METH_VARARGS, (char *)"new_SoExtSelection() -> SoExtSelection"}, - { (char *)"SoExtSelection_lassoType_set", _wrap_SoExtSelection_lassoType_set, METH_VARARGS, (char *)"SoExtSelection_lassoType_set(SoExtSelection self, SoSFEnum lassoType)"}, - { (char *)"SoExtSelection_lassoType_get", _wrap_SoExtSelection_lassoType_get, METH_VARARGS, (char *)"SoExtSelection_lassoType_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_lassoPolicy_set", _wrap_SoExtSelection_lassoPolicy_set, METH_VARARGS, (char *)"SoExtSelection_lassoPolicy_set(SoExtSelection self, SoSFEnum lassoPolicy)"}, - { (char *)"SoExtSelection_lassoPolicy_get", _wrap_SoExtSelection_lassoPolicy_get, METH_VARARGS, (char *)"SoExtSelection_lassoPolicy_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_lassoMode_set", _wrap_SoExtSelection_lassoMode_set, METH_VARARGS, (char *)"SoExtSelection_lassoMode_set(SoExtSelection self, SoSFEnum lassoMode)"}, - { (char *)"SoExtSelection_lassoMode_get", _wrap_SoExtSelection_lassoMode_get, METH_VARARGS, (char *)"SoExtSelection_lassoMode_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_useOverlay", _wrap_SoExtSelection_useOverlay, METH_VARARGS, (char *)"\n" - "useOverlay(SbBool overlay=1)\n" - "SoExtSelection_useOverlay(SoExtSelection self)\n" - ""}, - { (char *)"SoExtSelection_isUsingOverlay", _wrap_SoExtSelection_isUsingOverlay, METH_VARARGS, (char *)"SoExtSelection_isUsingOverlay(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_getOverlaySceneGraph", _wrap_SoExtSelection_getOverlaySceneGraph, METH_VARARGS, (char *)"SoExtSelection_getOverlaySceneGraph(SoExtSelection self) -> SoSeparator"}, - { (char *)"SoExtSelection_setOverlayLassoColorIndex", _wrap_SoExtSelection_setOverlayLassoColorIndex, METH_VARARGS, (char *)"SoExtSelection_setOverlayLassoColorIndex(SoExtSelection self, int index)"}, - { (char *)"SoExtSelection_getOverlayLassoColorIndex", _wrap_SoExtSelection_getOverlayLassoColorIndex, METH_VARARGS, (char *)"SoExtSelection_getOverlayLassoColorIndex(SoExtSelection self) -> int"}, - { (char *)"SoExtSelection_setLassoColor", _wrap_SoExtSelection_setLassoColor, METH_VARARGS, (char *)"SoExtSelection_setLassoColor(SoExtSelection self, SbColor color)"}, - { (char *)"SoExtSelection_getLassoColor", _wrap_SoExtSelection_getLassoColor, METH_VARARGS, (char *)"SoExtSelection_getLassoColor(SoExtSelection self) -> SbColor"}, - { (char *)"SoExtSelection_setLassoWidth", _wrap_SoExtSelection_setLassoWidth, METH_VARARGS, (char *)"SoExtSelection_setLassoWidth(SoExtSelection self, float width)"}, - { (char *)"SoExtSelection_getLassoWidth", _wrap_SoExtSelection_getLassoWidth, METH_VARARGS, (char *)"SoExtSelection_getLassoWidth(SoExtSelection self) -> float"}, - { (char *)"SoExtSelection_setOverlayLassoPattern", _wrap_SoExtSelection_setOverlayLassoPattern, METH_VARARGS, (char *)"SoExtSelection_setOverlayLassoPattern(SoExtSelection self, unsigned short pattern)"}, - { (char *)"SoExtSelection_getOverlayLassoPattern", _wrap_SoExtSelection_getOverlayLassoPattern, METH_VARARGS, (char *)"SoExtSelection_getOverlayLassoPattern(SoExtSelection self) -> unsigned short"}, - { (char *)"SoExtSelection_animateOverlayLasso", _wrap_SoExtSelection_animateOverlayLasso, METH_VARARGS, (char *)"\n" - "animateOverlayLasso(SbBool animate=1)\n" - "SoExtSelection_animateOverlayLasso(SoExtSelection self)\n" - ""}, - { (char *)"SoExtSelection_isOverlayLassoAnimated", _wrap_SoExtSelection_isOverlayLassoAnimated, METH_VARARGS, (char *)"SoExtSelection_isOverlayLassoAnimated(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_handleEvent", _wrap_SoExtSelection_handleEvent, METH_VARARGS, (char *)"SoExtSelection_handleEvent(SoExtSelection self, SoHandleEventAction action)"}, - { (char *)"SoExtSelection_GLRenderBelowPath", _wrap_SoExtSelection_GLRenderBelowPath, METH_VARARGS, (char *)"SoExtSelection_GLRenderBelowPath(SoExtSelection self, SoGLRenderAction action)"}, - { (char *)"SoExtSelection_select", _wrap_SoExtSelection_select, METH_VARARGS, (char *)"\n" - "select(SoNode root, int numcoords, SbVec2f lasso, SbViewportRegion vp, \n" - " SbBool shiftpolicy)\n" - "SoExtSelection_select(SoExtSelection self, SoNode root, int numcoords, SbVec3f lasso, \n" - " SbViewportRegion vp, SbBool shiftkeypolicy)\n" - ""}, - { (char *)"SoExtSelection_getLassoCoordsDC", _wrap_SoExtSelection_getLassoCoordsDC, METH_VARARGS, (char *)"SoExtSelection_getLassoCoordsDC(SoExtSelection self, int numCoords) -> SbVec2s"}, - { (char *)"SoExtSelection_getLassoCoordsWC", _wrap_SoExtSelection_getLassoCoordsWC, METH_VARARGS, (char *)"SoExtSelection_getLassoCoordsWC(SoExtSelection self, int numCoords) -> SbVec3f"}, - { (char *)"SoExtSelection_getSelectionPathList", _wrap_SoExtSelection_getSelectionPathList, METH_VARARGS, (char *)"SoExtSelection_getSelectionPathList(SoExtSelection self) -> SoPathList"}, - { (char *)"SoExtSelection_setLassoFilterCallback", _wrap_SoExtSelection_setLassoFilterCallback, METH_VARARGS, (char *)"\n" - "setLassoFilterCallback(SoLassoSelectionFilterCB f, void userdata=None, SbBool callonlyifselectable=1)\n" - "setLassoFilterCallback(SoLassoSelectionFilterCB f, void userdata=None)\n" - "SoExtSelection_setLassoFilterCallback(SoExtSelection self, SoLassoSelectionFilterCB f)\n" - ""}, - { (char *)"SoExtSelection_setTriangleFilterCallback", _wrap_SoExtSelection_setTriangleFilterCallback, METH_VARARGS, (char *)"\n" - "setTriangleFilterCallback(SoExtSelectionTriangleCB func, void userdata=None)\n" - "SoExtSelection_setTriangleFilterCallback(SoExtSelection self, SoExtSelectionTriangleCB func)\n" - ""}, - { (char *)"SoExtSelection_setLineSegmentFilterCallback", _wrap_SoExtSelection_setLineSegmentFilterCallback, METH_VARARGS, (char *)"\n" - "setLineSegmentFilterCallback(SoExtSelectionLineSegmentCB func, void userdata=None)\n" - "SoExtSelection_setLineSegmentFilterCallback(SoExtSelection self, SoExtSelectionLineSegmentCB func)\n" - ""}, - { (char *)"SoExtSelection_setPointFilterCallback", _wrap_SoExtSelection_setPointFilterCallback, METH_VARARGS, (char *)"\n" - "setPointFilterCallback(SoExtSelectionPointCB func, void userdata=None)\n" - "SoExtSelection_setPointFilterCallback(SoExtSelection self, SoExtSelectionPointCB func)\n" - ""}, - { (char *)"SoExtSelection_wasShiftDown", _wrap_SoExtSelection_wasShiftDown, METH_VARARGS, (char *)"SoExtSelection_wasShiftDown(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_swigregister", SoExtSelection_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexProperty_getClassTypeId", _wrap_SoVertexProperty_getClassTypeId, METH_VARARGS, (char *)"SoVertexProperty_getClassTypeId() -> SoType"}, - { (char *)"SoVertexProperty_getTypeId", _wrap_SoVertexProperty_getTypeId, METH_VARARGS, (char *)"SoVertexProperty_getTypeId(SoVertexProperty self) -> SoType"}, - { (char *)"SoVertexProperty_initClass", _wrap_SoVertexProperty_initClass, METH_VARARGS, (char *)"SoVertexProperty_initClass()"}, - { (char *)"new_SoVertexProperty", _wrap_new_SoVertexProperty, METH_VARARGS, (char *)"new_SoVertexProperty() -> SoVertexProperty"}, - { (char *)"SoVertexProperty_vertex_set", _wrap_SoVertexProperty_vertex_set, METH_VARARGS, (char *)"SoVertexProperty_vertex_set(SoVertexProperty self, SoMFVec3f vertex)"}, - { (char *)"SoVertexProperty_vertex_get", _wrap_SoVertexProperty_vertex_get, METH_VARARGS, (char *)"SoVertexProperty_vertex_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_texCoord_set", _wrap_SoVertexProperty_texCoord_set, METH_VARARGS, (char *)"SoVertexProperty_texCoord_set(SoVertexProperty self, SoMFVec2f texCoord)"}, - { (char *)"SoVertexProperty_texCoord_get", _wrap_SoVertexProperty_texCoord_get, METH_VARARGS, (char *)"SoVertexProperty_texCoord_get(SoVertexProperty self) -> SoMFVec2f"}, - { (char *)"SoVertexProperty_texCoord3_set", _wrap_SoVertexProperty_texCoord3_set, METH_VARARGS, (char *)"SoVertexProperty_texCoord3_set(SoVertexProperty self, SoMFVec3f texCoord3)"}, - { (char *)"SoVertexProperty_texCoord3_get", _wrap_SoVertexProperty_texCoord3_get, METH_VARARGS, (char *)"SoVertexProperty_texCoord3_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_normal_set", _wrap_SoVertexProperty_normal_set, METH_VARARGS, (char *)"SoVertexProperty_normal_set(SoVertexProperty self, SoMFVec3f normal)"}, - { (char *)"SoVertexProperty_normal_get", _wrap_SoVertexProperty_normal_get, METH_VARARGS, (char *)"SoVertexProperty_normal_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_normalBinding_set", _wrap_SoVertexProperty_normalBinding_set, METH_VARARGS, (char *)"SoVertexProperty_normalBinding_set(SoVertexProperty self, SoSFEnum normalBinding)"}, - { (char *)"SoVertexProperty_normalBinding_get", _wrap_SoVertexProperty_normalBinding_get, METH_VARARGS, (char *)"SoVertexProperty_normalBinding_get(SoVertexProperty self) -> SoSFEnum"}, - { (char *)"SoVertexProperty_orderedRGBA_set", _wrap_SoVertexProperty_orderedRGBA_set, METH_VARARGS, (char *)"SoVertexProperty_orderedRGBA_set(SoVertexProperty self, SoMFUInt32 orderedRGBA)"}, - { (char *)"SoVertexProperty_orderedRGBA_get", _wrap_SoVertexProperty_orderedRGBA_get, METH_VARARGS, (char *)"SoVertexProperty_orderedRGBA_get(SoVertexProperty self) -> SoMFUInt32"}, - { (char *)"SoVertexProperty_materialBinding_set", _wrap_SoVertexProperty_materialBinding_set, METH_VARARGS, (char *)"SoVertexProperty_materialBinding_set(SoVertexProperty self, SoSFEnum materialBinding)"}, - { (char *)"SoVertexProperty_materialBinding_get", _wrap_SoVertexProperty_materialBinding_get, METH_VARARGS, (char *)"SoVertexProperty_materialBinding_get(SoVertexProperty self) -> SoSFEnum"}, - { (char *)"SoVertexProperty_doAction", _wrap_SoVertexProperty_doAction, METH_VARARGS, (char *)"SoVertexProperty_doAction(SoVertexProperty self, SoAction action)"}, - { (char *)"SoVertexProperty_GLRender", _wrap_SoVertexProperty_GLRender, METH_VARARGS, (char *)"SoVertexProperty_GLRender(SoVertexProperty self, SoGLRenderAction action)"}, - { (char *)"SoVertexProperty_getBoundingBox", _wrap_SoVertexProperty_getBoundingBox, METH_VARARGS, (char *)"SoVertexProperty_getBoundingBox(SoVertexProperty self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVertexProperty_callback", _wrap_SoVertexProperty_callback, METH_VARARGS, (char *)"SoVertexProperty_callback(SoVertexProperty self, SoCallbackAction action)"}, - { (char *)"SoVertexProperty_pick", _wrap_SoVertexProperty_pick, METH_VARARGS, (char *)"SoVertexProperty_pick(SoVertexProperty self, SoPickAction action)"}, - { (char *)"SoVertexProperty_getPrimitiveCount", _wrap_SoVertexProperty_getPrimitiveCount, METH_VARARGS, (char *)"SoVertexProperty_getPrimitiveCount(SoVertexProperty self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVertexProperty_swigregister", SoVertexProperty_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexShape_getClassTypeId", _wrap_SoVertexShape_getClassTypeId, METH_VARARGS, (char *)"SoVertexShape_getClassTypeId() -> SoType"}, - { (char *)"SoVertexShape_getTypeId", _wrap_SoVertexShape_getTypeId, METH_VARARGS, (char *)"SoVertexShape_getTypeId(SoVertexShape self) -> SoType"}, - { (char *)"SoVertexShape_initClass", _wrap_SoVertexShape_initClass, METH_VARARGS, (char *)"SoVertexShape_initClass()"}, - { (char *)"SoVertexShape_vertexProperty_set", _wrap_SoVertexShape_vertexProperty_set, METH_VARARGS, (char *)"SoVertexShape_vertexProperty_set(SoVertexShape self, SoSFNode vertexProperty)"}, - { (char *)"SoVertexShape_vertexProperty_get", _wrap_SoVertexShape_vertexProperty_get, METH_VARARGS, (char *)"SoVertexShape_vertexProperty_get(SoVertexShape self) -> SoSFNode"}, - { (char *)"SoVertexShape_notify", _wrap_SoVertexShape_notify, METH_VARARGS, (char *)"SoVertexShape_notify(SoVertexShape self, SoNotList nl)"}, - { (char *)"SoVertexShape_generateDefaultNormals", _wrap_SoVertexShape_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState state, SoNormalBundle bundle) -> SbBool\n" - "SoVertexShape_generateDefaultNormals(SoVertexShape self, SoState state, SoNormalCache cache) -> SbBool\n" - ""}, - { (char *)"SoVertexShape_write", _wrap_SoVertexShape_write, METH_VARARGS, (char *)"SoVertexShape_write(SoVertexShape self, SoWriteAction action)"}, - { (char *)"SoVertexShape_swigregister", SoVertexShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNonIndexedShape_getClassTypeId", _wrap_SoNonIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoNonIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoNonIndexedShape_getTypeId", _wrap_SoNonIndexedShape_getTypeId, METH_VARARGS, (char *)"SoNonIndexedShape_getTypeId(SoNonIndexedShape self) -> SoType"}, - { (char *)"SoNonIndexedShape_initClass", _wrap_SoNonIndexedShape_initClass, METH_VARARGS, (char *)"SoNonIndexedShape_initClass()"}, - { (char *)"SoNonIndexedShape_startIndex_set", _wrap_SoNonIndexedShape_startIndex_set, METH_VARARGS, (char *)"SoNonIndexedShape_startIndex_set(SoNonIndexedShape self, SoSFInt32 startIndex)"}, - { (char *)"SoNonIndexedShape_startIndex_get", _wrap_SoNonIndexedShape_startIndex_get, METH_VARARGS, (char *)"SoNonIndexedShape_startIndex_get(SoNonIndexedShape self) -> SoSFInt32"}, - { (char *)"SoNonIndexedShape_swigregister", SoNonIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFaceSet_getClassTypeId", _wrap_SoFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoFaceSet_getTypeId", _wrap_SoFaceSet_getTypeId, METH_VARARGS, (char *)"SoFaceSet_getTypeId(SoFaceSet self) -> SoType"}, - { (char *)"SoFaceSet_initClass", _wrap_SoFaceSet_initClass, METH_VARARGS, (char *)"SoFaceSet_initClass()"}, - { (char *)"new_SoFaceSet", _wrap_new_SoFaceSet, METH_VARARGS, (char *)"new_SoFaceSet() -> SoFaceSet"}, - { (char *)"SoFaceSet_numVertices_set", _wrap_SoFaceSet_numVertices_set, METH_VARARGS, (char *)"SoFaceSet_numVertices_set(SoFaceSet self, SoMFInt32 numVertices)"}, - { (char *)"SoFaceSet_numVertices_get", _wrap_SoFaceSet_numVertices_get, METH_VARARGS, (char *)"SoFaceSet_numVertices_get(SoFaceSet self) -> SoMFInt32"}, - { (char *)"SoFaceSet_GLRender", _wrap_SoFaceSet_GLRender, METH_VARARGS, (char *)"SoFaceSet_GLRender(SoFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoFaceSet_generateDefaultNormals", _wrap_SoFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"SoFaceSet_generateDefaultNormals(SoFaceSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoFaceSet_getPrimitiveCount", _wrap_SoFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoFaceSet_getPrimitiveCount(SoFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFaceSet_swigregister", SoFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFile_getClassTypeId", _wrap_SoFile_getClassTypeId, METH_VARARGS, (char *)"SoFile_getClassTypeId() -> SoType"}, - { (char *)"SoFile_getTypeId", _wrap_SoFile_getTypeId, METH_VARARGS, (char *)"SoFile_getTypeId(SoFile self) -> SoType"}, - { (char *)"SoFile_initClass", _wrap_SoFile_initClass, METH_VARARGS, (char *)"SoFile_initClass()"}, - { (char *)"new_SoFile", _wrap_new_SoFile, METH_VARARGS, (char *)"new_SoFile() -> SoFile"}, - { (char *)"SoFile_name_set", _wrap_SoFile_name_set, METH_VARARGS, (char *)"SoFile_name_set(SoFile self, SoSFString name)"}, - { (char *)"SoFile_name_get", _wrap_SoFile_name_get, METH_VARARGS, (char *)"SoFile_name_get(SoFile self) -> SoSFString"}, - { (char *)"SoFile_doAction", _wrap_SoFile_doAction, METH_VARARGS, (char *)"SoFile_doAction(SoFile self, SoAction action)"}, - { (char *)"SoFile_callback", _wrap_SoFile_callback, METH_VARARGS, (char *)"SoFile_callback(SoFile self, SoCallbackAction action)"}, - { (char *)"SoFile_GLRender", _wrap_SoFile_GLRender, METH_VARARGS, (char *)"SoFile_GLRender(SoFile self, SoGLRenderAction action)"}, - { (char *)"SoFile_getBoundingBox", _wrap_SoFile_getBoundingBox, METH_VARARGS, (char *)"SoFile_getBoundingBox(SoFile self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFile_getMatrix", _wrap_SoFile_getMatrix, METH_VARARGS, (char *)"SoFile_getMatrix(SoFile self, SoGetMatrixAction action)"}, - { (char *)"SoFile_handleEvent", _wrap_SoFile_handleEvent, METH_VARARGS, (char *)"SoFile_handleEvent(SoFile self, SoHandleEventAction action)"}, - { (char *)"SoFile_pick", _wrap_SoFile_pick, METH_VARARGS, (char *)"SoFile_pick(SoFile self, SoPickAction action)"}, - { (char *)"SoFile_getPrimitiveCount", _wrap_SoFile_getPrimitiveCount, METH_VARARGS, (char *)"SoFile_getPrimitiveCount(SoFile self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFile_audioRender", _wrap_SoFile_audioRender, METH_VARARGS, (char *)"SoFile_audioRender(SoFile self, SoAudioRenderAction action)"}, - { (char *)"SoFile_search", _wrap_SoFile_search, METH_VARARGS, (char *)"SoFile_search(SoFile self, SoSearchAction action)"}, - { (char *)"SoFile_copyChildren", _wrap_SoFile_copyChildren, METH_VARARGS, (char *)"SoFile_copyChildren(SoFile self) -> SoGroup"}, - { (char *)"SoFile_getChildren", _wrap_SoFile_getChildren, METH_VARARGS, (char *)"SoFile_getChildren(SoFile self) -> SoChildList"}, - { (char *)"SoFile_copyContents", _wrap_SoFile_copyContents, METH_VARARGS, (char *)"SoFile_copyContents(SoFile self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoFile_getFullName", _wrap_SoFile_getFullName, METH_VARARGS, (char *)"SoFile_getFullName(SoFile self) -> SbString"}, - { (char *)"SoFile_setSearchOK", _wrap_SoFile_setSearchOK, METH_VARARGS, (char *)"SoFile_setSearchOK(SbBool dosearch)"}, - { (char *)"SoFile_getSearchOK", _wrap_SoFile_getSearchOK, METH_VARARGS, (char *)"SoFile_getSearchOK() -> SbBool"}, - { (char *)"SoFile_swigregister", SoFile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFont_getClassTypeId", _wrap_SoFont_getClassTypeId, METH_VARARGS, (char *)"SoFont_getClassTypeId() -> SoType"}, - { (char *)"SoFont_getTypeId", _wrap_SoFont_getTypeId, METH_VARARGS, (char *)"SoFont_getTypeId(SoFont self) -> SoType"}, - { (char *)"SoFont_initClass", _wrap_SoFont_initClass, METH_VARARGS, (char *)"SoFont_initClass()"}, - { (char *)"new_SoFont", _wrap_new_SoFont, METH_VARARGS, (char *)"new_SoFont() -> SoFont"}, - { (char *)"SoFont_name_set", _wrap_SoFont_name_set, METH_VARARGS, (char *)"SoFont_name_set(SoFont self, SoSFName name)"}, - { (char *)"SoFont_name_get", _wrap_SoFont_name_get, METH_VARARGS, (char *)"SoFont_name_get(SoFont self) -> SoSFName"}, - { (char *)"SoFont_size_set", _wrap_SoFont_size_set, METH_VARARGS, (char *)"SoFont_size_set(SoFont self, SoSFFloat size)"}, - { (char *)"SoFont_size_get", _wrap_SoFont_size_get, METH_VARARGS, (char *)"SoFont_size_get(SoFont self) -> SoSFFloat"}, - { (char *)"SoFont_doAction", _wrap_SoFont_doAction, METH_VARARGS, (char *)"SoFont_doAction(SoFont self, SoAction action)"}, - { (char *)"SoFont_getBoundingBox", _wrap_SoFont_getBoundingBox, METH_VARARGS, (char *)"SoFont_getBoundingBox(SoFont self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFont_GLRender", _wrap_SoFont_GLRender, METH_VARARGS, (char *)"SoFont_GLRender(SoFont self, SoGLRenderAction action)"}, - { (char *)"SoFont_callback", _wrap_SoFont_callback, METH_VARARGS, (char *)"SoFont_callback(SoFont self, SoCallbackAction action)"}, - { (char *)"SoFont_pick", _wrap_SoFont_pick, METH_VARARGS, (char *)"SoFont_pick(SoFont self, SoPickAction action)"}, - { (char *)"SoFont_getPrimitiveCount", _wrap_SoFont_getPrimitiveCount, METH_VARARGS, (char *)"SoFont_getPrimitiveCount(SoFont self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFont_swigregister", SoFont_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontStyle_getClassTypeId", _wrap_SoFontStyle_getClassTypeId, METH_VARARGS, (char *)"SoFontStyle_getClassTypeId() -> SoType"}, - { (char *)"SoFontStyle_getTypeId", _wrap_SoFontStyle_getTypeId, METH_VARARGS, (char *)"SoFontStyle_getTypeId(SoFontStyle self) -> SoType"}, - { (char *)"SoFontStyle_initClass", _wrap_SoFontStyle_initClass, METH_VARARGS, (char *)"SoFontStyle_initClass()"}, - { (char *)"new_SoFontStyle", _wrap_new_SoFontStyle, METH_VARARGS, (char *)"new_SoFontStyle() -> SoFontStyle"}, - { (char *)"SoFontStyle_family_set", _wrap_SoFontStyle_family_set, METH_VARARGS, (char *)"SoFontStyle_family_set(SoFontStyle self, SoSFEnum family)"}, - { (char *)"SoFontStyle_family_get", _wrap_SoFontStyle_family_get, METH_VARARGS, (char *)"SoFontStyle_family_get(SoFontStyle self) -> SoSFEnum"}, - { (char *)"SoFontStyle_style_set", _wrap_SoFontStyle_style_set, METH_VARARGS, (char *)"SoFontStyle_style_set(SoFontStyle self, SoSFBitMask style)"}, - { (char *)"SoFontStyle_style_get", _wrap_SoFontStyle_style_get, METH_VARARGS, (char *)"SoFontStyle_style_get(SoFontStyle self) -> SoSFBitMask"}, - { (char *)"SoFontStyle_getFontName", _wrap_SoFontStyle_getFontName, METH_VARARGS, (char *)"SoFontStyle_getFontName(SoFontStyle self) -> SbString"}, - { (char *)"SoFontStyle_doAction", _wrap_SoFontStyle_doAction, METH_VARARGS, (char *)"SoFontStyle_doAction(SoFontStyle self, SoAction action)"}, - { (char *)"SoFontStyle_getBoundingBox", _wrap_SoFontStyle_getBoundingBox, METH_VARARGS, (char *)"SoFontStyle_getBoundingBox(SoFontStyle self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFontStyle_GLRender", _wrap_SoFontStyle_GLRender, METH_VARARGS, (char *)"SoFontStyle_GLRender(SoFontStyle self, SoGLRenderAction action)"}, - { (char *)"SoFontStyle_callback", _wrap_SoFontStyle_callback, METH_VARARGS, (char *)"SoFontStyle_callback(SoFontStyle self, SoCallbackAction action)"}, - { (char *)"SoFontStyle_pick", _wrap_SoFontStyle_pick, METH_VARARGS, (char *)"SoFontStyle_pick(SoFontStyle self, SoPickAction action)"}, - { (char *)"SoFontStyle_getPrimitiveCount", _wrap_SoFontStyle_getPrimitiveCount, METH_VARARGS, (char *)"SoFontStyle_getPrimitiveCount(SoFontStyle self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFontStyle_swigregister", SoFontStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedShape_getClassTypeId", _wrap_SoIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedShape_getTypeId", _wrap_SoIndexedShape_getTypeId, METH_VARARGS, (char *)"SoIndexedShape_getTypeId(SoIndexedShape self) -> SoType"}, - { (char *)"SoIndexedShape_initClass", _wrap_SoIndexedShape_initClass, METH_VARARGS, (char *)"SoIndexedShape_initClass()"}, - { (char *)"SoIndexedShape_coordIndex_set", _wrap_SoIndexedShape_coordIndex_set, METH_VARARGS, (char *)"SoIndexedShape_coordIndex_set(SoIndexedShape self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedShape_coordIndex_get", _wrap_SoIndexedShape_coordIndex_get, METH_VARARGS, (char *)"SoIndexedShape_coordIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_materialIndex_set", _wrap_SoIndexedShape_materialIndex_set, METH_VARARGS, (char *)"SoIndexedShape_materialIndex_set(SoIndexedShape self, SoMFInt32 materialIndex)"}, - { (char *)"SoIndexedShape_materialIndex_get", _wrap_SoIndexedShape_materialIndex_get, METH_VARARGS, (char *)"SoIndexedShape_materialIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_normalIndex_set", _wrap_SoIndexedShape_normalIndex_set, METH_VARARGS, (char *)"SoIndexedShape_normalIndex_set(SoIndexedShape self, SoMFInt32 normalIndex)"}, - { (char *)"SoIndexedShape_normalIndex_get", _wrap_SoIndexedShape_normalIndex_get, METH_VARARGS, (char *)"SoIndexedShape_normalIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_textureCoordIndex_set", _wrap_SoIndexedShape_textureCoordIndex_set, METH_VARARGS, (char *)"SoIndexedShape_textureCoordIndex_set(SoIndexedShape self, SoMFInt32 textureCoordIndex)"}, - { (char *)"SoIndexedShape_textureCoordIndex_get", _wrap_SoIndexedShape_textureCoordIndex_get, METH_VARARGS, (char *)"SoIndexedShape_textureCoordIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_swigregister", SoIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedFaceSet_getClassTypeId", _wrap_SoIndexedFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedFaceSet_getTypeId", _wrap_SoIndexedFaceSet_getTypeId, METH_VARARGS, (char *)"SoIndexedFaceSet_getTypeId(SoIndexedFaceSet self) -> SoType"}, - { (char *)"SoIndexedFaceSet_initClass", _wrap_SoIndexedFaceSet_initClass, METH_VARARGS, (char *)"SoIndexedFaceSet_initClass()"}, - { (char *)"new_SoIndexedFaceSet", _wrap_new_SoIndexedFaceSet, METH_VARARGS, (char *)"new_SoIndexedFaceSet() -> SoIndexedFaceSet"}, - { (char *)"SoIndexedFaceSet_GLRender", _wrap_SoIndexedFaceSet_GLRender, METH_VARARGS, (char *)"SoIndexedFaceSet_GLRender(SoIndexedFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedFaceSet_getPrimitiveCount", _wrap_SoIndexedFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedFaceSet_getPrimitiveCount(SoIndexedFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedFaceSet_generateDefaultNormals", _wrap_SoIndexedFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState state, SoNormalBundle bundle) -> SbBool\n" - "SoIndexedFaceSet_generateDefaultNormals(SoIndexedFaceSet self, SoState state, SoNormalCache cache) -> SbBool\n" - ""}, - { (char *)"SoIndexedFaceSet_swigregister", SoIndexedFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedLineSet_getClassTypeId", _wrap_SoIndexedLineSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedLineSet_getTypeId", _wrap_SoIndexedLineSet_getTypeId, METH_VARARGS, (char *)"SoIndexedLineSet_getTypeId(SoIndexedLineSet self) -> SoType"}, - { (char *)"SoIndexedLineSet_initClass", _wrap_SoIndexedLineSet_initClass, METH_VARARGS, (char *)"SoIndexedLineSet_initClass()"}, - { (char *)"new_SoIndexedLineSet", _wrap_new_SoIndexedLineSet, METH_VARARGS, (char *)"new_SoIndexedLineSet() -> SoIndexedLineSet"}, - { (char *)"SoIndexedLineSet_GLRender", _wrap_SoIndexedLineSet_GLRender, METH_VARARGS, (char *)"SoIndexedLineSet_GLRender(SoIndexedLineSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedLineSet_getBoundingBox", _wrap_SoIndexedLineSet_getBoundingBox, METH_VARARGS, (char *)"SoIndexedLineSet_getBoundingBox(SoIndexedLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoIndexedLineSet_getPrimitiveCount", _wrap_SoIndexedLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedLineSet_getPrimitiveCount(SoIndexedLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedLineSet_swigregister", SoIndexedLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedNurbsCurve_getClassTypeId", _wrap_SoIndexedNurbsCurve_getClassTypeId, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedNurbsCurve_getTypeId", _wrap_SoIndexedNurbsCurve_getTypeId, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getTypeId(SoIndexedNurbsCurve self) -> SoType"}, - { (char *)"SoIndexedNurbsCurve_initClass", _wrap_SoIndexedNurbsCurve_initClass, METH_VARARGS, (char *)"SoIndexedNurbsCurve_initClass()"}, - { (char *)"new_SoIndexedNurbsCurve", _wrap_new_SoIndexedNurbsCurve, METH_VARARGS, (char *)"new_SoIndexedNurbsCurve() -> SoIndexedNurbsCurve"}, - { (char *)"SoIndexedNurbsCurve_numControlPoints_set", _wrap_SoIndexedNurbsCurve_numControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_numControlPoints_set(SoIndexedNurbsCurve self, SoSFInt32 numControlPoints)"}, - { (char *)"SoIndexedNurbsCurve_numControlPoints_get", _wrap_SoIndexedNurbsCurve_numControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_numControlPoints_get(SoIndexedNurbsCurve self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsCurve_coordIndex_set", _wrap_SoIndexedNurbsCurve_coordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_coordIndex_set(SoIndexedNurbsCurve self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedNurbsCurve_coordIndex_get", _wrap_SoIndexedNurbsCurve_coordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_coordIndex_get(SoIndexedNurbsCurve self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsCurve_knotVector_set", _wrap_SoIndexedNurbsCurve_knotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_knotVector_set(SoIndexedNurbsCurve self, SoMFFloat knotVector)"}, - { (char *)"SoIndexedNurbsCurve_knotVector_get", _wrap_SoIndexedNurbsCurve_knotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_knotVector_get(SoIndexedNurbsCurve self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsCurve_GLRender", _wrap_SoIndexedNurbsCurve_GLRender, METH_VARARGS, (char *)"SoIndexedNurbsCurve_GLRender(SoIndexedNurbsCurve self, SoGLRenderAction action)"}, - { (char *)"SoIndexedNurbsCurve_rayPick", _wrap_SoIndexedNurbsCurve_rayPick, METH_VARARGS, (char *)"SoIndexedNurbsCurve_rayPick(SoIndexedNurbsCurve self, SoRayPickAction action)"}, - { (char *)"SoIndexedNurbsCurve_getPrimitiveCount", _wrap_SoIndexedNurbsCurve_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getPrimitiveCount(SoIndexedNurbsCurve self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedNurbsCurve_getBoundingBox", _wrap_SoIndexedNurbsCurve_getBoundingBox, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getBoundingBox(SoIndexedNurbsCurve self, SoGetBoundingBoxAction action)"}, - { (char *)"SoIndexedNurbsCurve_sendPrimitive", _wrap_SoIndexedNurbsCurve_sendPrimitive, METH_VARARGS, (char *)"SoIndexedNurbsCurve_sendPrimitive(SoIndexedNurbsCurve self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoIndexedNurbsCurve_swigregister", SoIndexedNurbsCurve_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedNurbsSurface_getClassTypeId", _wrap_SoIndexedNurbsSurface_getClassTypeId, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedNurbsSurface_getTypeId", _wrap_SoIndexedNurbsSurface_getTypeId, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getTypeId(SoIndexedNurbsSurface self) -> SoType"}, - { (char *)"SoIndexedNurbsSurface_initClass", _wrap_SoIndexedNurbsSurface_initClass, METH_VARARGS, (char *)"SoIndexedNurbsSurface_initClass()"}, - { (char *)"new_SoIndexedNurbsSurface", _wrap_new_SoIndexedNurbsSurface, METH_VARARGS, (char *)"new_SoIndexedNurbsSurface() -> SoIndexedNurbsSurface"}, - { (char *)"SoIndexedNurbsSurface_numUControlPoints_set", _wrap_SoIndexedNurbsSurface_numUControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numUControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numUControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numUControlPoints_get", _wrap_SoIndexedNurbsSurface_numUControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numUControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_numVControlPoints_set", _wrap_SoIndexedNurbsSurface_numVControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numVControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numVControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numVControlPoints_get", _wrap_SoIndexedNurbsSurface_numVControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numVControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_coordIndex_set", _wrap_SoIndexedNurbsSurface_coordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_coordIndex_set(SoIndexedNurbsSurface self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedNurbsSurface_coordIndex_get", _wrap_SoIndexedNurbsSurface_coordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_coordIndex_get(SoIndexedNurbsSurface self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsSurface_uKnotVector_set", _wrap_SoIndexedNurbsSurface_uKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_uKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat uKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_uKnotVector_get", _wrap_SoIndexedNurbsSurface_uKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_uKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_vKnotVector_set", _wrap_SoIndexedNurbsSurface_vKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_vKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat vKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_vKnotVector_get", _wrap_SoIndexedNurbsSurface_vKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_vKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_numSControlPoints_set", _wrap_SoIndexedNurbsSurface_numSControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numSControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numSControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numSControlPoints_get", _wrap_SoIndexedNurbsSurface_numSControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numSControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_numTControlPoints_set", _wrap_SoIndexedNurbsSurface_numTControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numTControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numTControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numTControlPoints_get", _wrap_SoIndexedNurbsSurface_numTControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numTControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_textureCoordIndex_set", _wrap_SoIndexedNurbsSurface_textureCoordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_textureCoordIndex_set(SoIndexedNurbsSurface self, SoMFInt32 textureCoordIndex)"}, - { (char *)"SoIndexedNurbsSurface_textureCoordIndex_get", _wrap_SoIndexedNurbsSurface_textureCoordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_textureCoordIndex_get(SoIndexedNurbsSurface self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsSurface_sKnotVector_set", _wrap_SoIndexedNurbsSurface_sKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat sKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_sKnotVector_get", _wrap_SoIndexedNurbsSurface_sKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_tKnotVector_set", _wrap_SoIndexedNurbsSurface_tKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_tKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat tKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_tKnotVector_get", _wrap_SoIndexedNurbsSurface_tKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_tKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_GLRender", _wrap_SoIndexedNurbsSurface_GLRender, METH_VARARGS, (char *)"SoIndexedNurbsSurface_GLRender(SoIndexedNurbsSurface self, SoGLRenderAction action)"}, - { (char *)"SoIndexedNurbsSurface_rayPick", _wrap_SoIndexedNurbsSurface_rayPick, METH_VARARGS, (char *)"SoIndexedNurbsSurface_rayPick(SoIndexedNurbsSurface self, SoRayPickAction action)"}, - { (char *)"SoIndexedNurbsSurface_getPrimitiveCount", _wrap_SoIndexedNurbsSurface_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getPrimitiveCount(SoIndexedNurbsSurface self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedNurbsSurface_sendPrimitive", _wrap_SoIndexedNurbsSurface_sendPrimitive, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sendPrimitive(SoIndexedNurbsSurface self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoIndexedNurbsSurface_swigregister", SoIndexedNurbsSurface_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedTriangleStripSet_getClassTypeId", _wrap_SoIndexedTriangleStripSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedTriangleStripSet_getTypeId", _wrap_SoIndexedTriangleStripSet_getTypeId, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getTypeId(SoIndexedTriangleStripSet self) -> SoType"}, - { (char *)"SoIndexedTriangleStripSet_initClass", _wrap_SoIndexedTriangleStripSet_initClass, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_initClass()"}, - { (char *)"new_SoIndexedTriangleStripSet", _wrap_new_SoIndexedTriangleStripSet, METH_VARARGS, (char *)"new_SoIndexedTriangleStripSet() -> SoIndexedTriangleStripSet"}, - { (char *)"SoIndexedTriangleStripSet_GLRender", _wrap_SoIndexedTriangleStripSet_GLRender, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_GLRender(SoIndexedTriangleStripSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedTriangleStripSet_getPrimitiveCount", _wrap_SoIndexedTriangleStripSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getPrimitiveCount(SoIndexedTriangleStripSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedTriangleStripSet_generateDefaultNormals", _wrap_SoIndexedTriangleStripSet_generateDefaultNormals, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_generateDefaultNormals(SoIndexedTriangleStripSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoIndexedTriangleStripSet_swigregister", SoIndexedTriangleStripSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInfo_getClassTypeId", _wrap_SoInfo_getClassTypeId, METH_VARARGS, (char *)"SoInfo_getClassTypeId() -> SoType"}, - { (char *)"SoInfo_getTypeId", _wrap_SoInfo_getTypeId, METH_VARARGS, (char *)"SoInfo_getTypeId(SoInfo self) -> SoType"}, - { (char *)"SoInfo_initClass", _wrap_SoInfo_initClass, METH_VARARGS, (char *)"SoInfo_initClass()"}, - { (char *)"new_SoInfo", _wrap_new_SoInfo, METH_VARARGS, (char *)"new_SoInfo() -> SoInfo"}, - { (char *)"SoInfo_string_set", _wrap_SoInfo_string_set, METH_VARARGS, (char *)"SoInfo_string_set(SoInfo self, SoSFString string)"}, - { (char *)"SoInfo_string_get", _wrap_SoInfo_string_get, METH_VARARGS, (char *)"SoInfo_string_get(SoInfo self) -> SoSFString"}, - { (char *)"SoInfo_swigregister", SoInfo_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLabel_getClassTypeId", _wrap_SoLabel_getClassTypeId, METH_VARARGS, (char *)"SoLabel_getClassTypeId() -> SoType"}, - { (char *)"SoLabel_getTypeId", _wrap_SoLabel_getTypeId, METH_VARARGS, (char *)"SoLabel_getTypeId(SoLabel self) -> SoType"}, - { (char *)"SoLabel_initClass", _wrap_SoLabel_initClass, METH_VARARGS, (char *)"SoLabel_initClass()"}, - { (char *)"new_SoLabel", _wrap_new_SoLabel, METH_VARARGS, (char *)"new_SoLabel() -> SoLabel"}, - { (char *)"SoLabel_label_set", _wrap_SoLabel_label_set, METH_VARARGS, (char *)"SoLabel_label_set(SoLabel self, SoSFName label)"}, - { (char *)"SoLabel_label_get", _wrap_SoLabel_label_get, METH_VARARGS, (char *)"SoLabel_label_get(SoLabel self) -> SoSFName"}, - { (char *)"SoLabel_swigregister", SoLabel_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLevelOfDetail_getClassTypeId", _wrap_SoLevelOfDetail_getClassTypeId, METH_VARARGS, (char *)"SoLevelOfDetail_getClassTypeId() -> SoType"}, - { (char *)"SoLevelOfDetail_getTypeId", _wrap_SoLevelOfDetail_getTypeId, METH_VARARGS, (char *)"SoLevelOfDetail_getTypeId(SoLevelOfDetail self) -> SoType"}, - { (char *)"SoLevelOfDetail_initClass", _wrap_SoLevelOfDetail_initClass, METH_VARARGS, (char *)"SoLevelOfDetail_initClass()"}, - { (char *)"new_SoLevelOfDetail", _wrap_new_SoLevelOfDetail, METH_VARARGS, (char *)"\n" - "SoLevelOfDetail()\n" - "new_SoLevelOfDetail(int numchildren) -> SoLevelOfDetail\n" - ""}, - { (char *)"SoLevelOfDetail_screenArea_set", _wrap_SoLevelOfDetail_screenArea_set, METH_VARARGS, (char *)"SoLevelOfDetail_screenArea_set(SoLevelOfDetail self, SoMFFloat screenArea)"}, - { (char *)"SoLevelOfDetail_screenArea_get", _wrap_SoLevelOfDetail_screenArea_get, METH_VARARGS, (char *)"SoLevelOfDetail_screenArea_get(SoLevelOfDetail self) -> SoMFFloat"}, - { (char *)"SoLevelOfDetail_doAction", _wrap_SoLevelOfDetail_doAction, METH_VARARGS, (char *)"SoLevelOfDetail_doAction(SoLevelOfDetail self, SoAction action)"}, - { (char *)"SoLevelOfDetail_callback", _wrap_SoLevelOfDetail_callback, METH_VARARGS, (char *)"SoLevelOfDetail_callback(SoLevelOfDetail self, SoCallbackAction action)"}, - { (char *)"SoLevelOfDetail_GLRender", _wrap_SoLevelOfDetail_GLRender, METH_VARARGS, (char *)"SoLevelOfDetail_GLRender(SoLevelOfDetail self, SoGLRenderAction action)"}, - { (char *)"SoLevelOfDetail_rayPick", _wrap_SoLevelOfDetail_rayPick, METH_VARARGS, (char *)"SoLevelOfDetail_rayPick(SoLevelOfDetail self, SoRayPickAction action)"}, - { (char *)"SoLevelOfDetail_getBoundingBox", _wrap_SoLevelOfDetail_getBoundingBox, METH_VARARGS, (char *)"SoLevelOfDetail_getBoundingBox(SoLevelOfDetail self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLevelOfDetail_audioRender", _wrap_SoLevelOfDetail_audioRender, METH_VARARGS, (char *)"SoLevelOfDetail_audioRender(SoLevelOfDetail self, SoAudioRenderAction action)"}, - { (char *)"SoLevelOfDetail_notify", _wrap_SoLevelOfDetail_notify, METH_VARARGS, (char *)"SoLevelOfDetail_notify(SoLevelOfDetail self, SoNotList nl)"}, - { (char *)"SoLevelOfDetail_swigregister", SoLevelOfDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfile_getClassTypeId", _wrap_SoProfile_getClassTypeId, METH_VARARGS, (char *)"SoProfile_getClassTypeId() -> SoType"}, - { (char *)"SoProfile_getTypeId", _wrap_SoProfile_getTypeId, METH_VARARGS, (char *)"SoProfile_getTypeId(SoProfile self) -> SoType"}, - { (char *)"SoProfile_initClass", _wrap_SoProfile_initClass, METH_VARARGS, (char *)"SoProfile_initClass()"}, - { (char *)"SoProfile_index_set", _wrap_SoProfile_index_set, METH_VARARGS, (char *)"SoProfile_index_set(SoProfile self, SoMFInt32 index)"}, - { (char *)"SoProfile_index_get", _wrap_SoProfile_index_get, METH_VARARGS, (char *)"SoProfile_index_get(SoProfile self) -> SoMFInt32"}, - { (char *)"SoProfile_linkage_set", _wrap_SoProfile_linkage_set, METH_VARARGS, (char *)"SoProfile_linkage_set(SoProfile self, SoSFEnum linkage)"}, - { (char *)"SoProfile_linkage_get", _wrap_SoProfile_linkage_get, METH_VARARGS, (char *)"SoProfile_linkage_get(SoProfile self) -> SoSFEnum"}, - { (char *)"SoProfile_doAction", _wrap_SoProfile_doAction, METH_VARARGS, (char *)"SoProfile_doAction(SoProfile self, SoAction action)"}, - { (char *)"SoProfile_callback", _wrap_SoProfile_callback, METH_VARARGS, (char *)"SoProfile_callback(SoProfile self, SoCallbackAction action)"}, - { (char *)"SoProfile_GLRender", _wrap_SoProfile_GLRender, METH_VARARGS, (char *)"SoProfile_GLRender(SoProfile self, SoGLRenderAction action)"}, - { (char *)"SoProfile_getBoundingBox", _wrap_SoProfile_getBoundingBox, METH_VARARGS, (char *)"SoProfile_getBoundingBox(SoProfile self, SoGetBoundingBoxAction action)"}, - { (char *)"SoProfile_pick", _wrap_SoProfile_pick, METH_VARARGS, (char *)"SoProfile_pick(SoProfile self, SoPickAction action)"}, - { (char *)"SoProfile_getPrimitiveCount", _wrap_SoProfile_getPrimitiveCount, METH_VARARGS, (char *)"SoProfile_getPrimitiveCount(SoProfile self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfile_getTrimCurve", _wrap_SoProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoProfile_getTrimCurve(SoProfile self, SoState state, int32_t numpoints, float points, \n" - " int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoProfile_getVertices", _wrap_SoProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoProfile_getVertices(SoProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoProfile_swigregister", SoProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLinearProfile_getClassTypeId", _wrap_SoLinearProfile_getClassTypeId, METH_VARARGS, (char *)"SoLinearProfile_getClassTypeId() -> SoType"}, - { (char *)"SoLinearProfile_getTypeId", _wrap_SoLinearProfile_getTypeId, METH_VARARGS, (char *)"SoLinearProfile_getTypeId(SoLinearProfile self) -> SoType"}, - { (char *)"SoLinearProfile_initClass", _wrap_SoLinearProfile_initClass, METH_VARARGS, (char *)"SoLinearProfile_initClass()"}, - { (char *)"new_SoLinearProfile", _wrap_new_SoLinearProfile, METH_VARARGS, (char *)"new_SoLinearProfile() -> SoLinearProfile"}, - { (char *)"SoLinearProfile_getTrimCurve", _wrap_SoLinearProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoLinearProfile_getTrimCurve(SoLinearProfile self, SoState state, int32_t numpoints, \n" - " float points, int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoLinearProfile_getVertices", _wrap_SoLinearProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoLinearProfile_getVertices(SoLinearProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoLinearProfile_swigregister", SoLinearProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineSet_getClassTypeId", _wrap_SoLineSet_getClassTypeId, METH_VARARGS, (char *)"SoLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoLineSet_getTypeId", _wrap_SoLineSet_getTypeId, METH_VARARGS, (char *)"SoLineSet_getTypeId(SoLineSet self) -> SoType"}, - { (char *)"SoLineSet_initClass", _wrap_SoLineSet_initClass, METH_VARARGS, (char *)"SoLineSet_initClass()"}, - { (char *)"new_SoLineSet", _wrap_new_SoLineSet, METH_VARARGS, (char *)"new_SoLineSet() -> SoLineSet"}, - { (char *)"SoLineSet_numVertices_set", _wrap_SoLineSet_numVertices_set, METH_VARARGS, (char *)"SoLineSet_numVertices_set(SoLineSet self, SoMFInt32 numVertices)"}, - { (char *)"SoLineSet_numVertices_get", _wrap_SoLineSet_numVertices_get, METH_VARARGS, (char *)"SoLineSet_numVertices_get(SoLineSet self) -> SoMFInt32"}, - { (char *)"SoLineSet_GLRender", _wrap_SoLineSet_GLRender, METH_VARARGS, (char *)"SoLineSet_GLRender(SoLineSet self, SoGLRenderAction action)"}, - { (char *)"SoLineSet_getBoundingBox", _wrap_SoLineSet_getBoundingBox, METH_VARARGS, (char *)"SoLineSet_getBoundingBox(SoLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLineSet_getPrimitiveCount", _wrap_SoLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoLineSet_getPrimitiveCount(SoLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoLineSet_swigregister", SoLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListener_getClassTypeId", _wrap_SoListener_getClassTypeId, METH_VARARGS, (char *)"SoListener_getClassTypeId() -> SoType"}, - { (char *)"SoListener_getTypeId", _wrap_SoListener_getTypeId, METH_VARARGS, (char *)"SoListener_getTypeId(SoListener self) -> SoType"}, - { (char *)"SoListener_initClass", _wrap_SoListener_initClass, METH_VARARGS, (char *)"SoListener_initClass()"}, - { (char *)"new_SoListener", _wrap_new_SoListener, METH_VARARGS, (char *)"new_SoListener() -> SoListener"}, - { (char *)"SoListener_position_set", _wrap_SoListener_position_set, METH_VARARGS, (char *)"SoListener_position_set(SoListener self, SoSFVec3f position)"}, - { (char *)"SoListener_position_get", _wrap_SoListener_position_get, METH_VARARGS, (char *)"SoListener_position_get(SoListener self) -> SoSFVec3f"}, - { (char *)"SoListener_orientation_set", _wrap_SoListener_orientation_set, METH_VARARGS, (char *)"SoListener_orientation_set(SoListener self, SoSFRotation orientation)"}, - { (char *)"SoListener_orientation_get", _wrap_SoListener_orientation_get, METH_VARARGS, (char *)"SoListener_orientation_get(SoListener self) -> SoSFRotation"}, - { (char *)"SoListener_gain_set", _wrap_SoListener_gain_set, METH_VARARGS, (char *)"SoListener_gain_set(SoListener self, SoSFFloat gain)"}, - { (char *)"SoListener_gain_get", _wrap_SoListener_gain_get, METH_VARARGS, (char *)"SoListener_gain_get(SoListener self) -> SoSFFloat"}, - { (char *)"SoListener_dopplerVelocity_set", _wrap_SoListener_dopplerVelocity_set, METH_VARARGS, (char *)"SoListener_dopplerVelocity_set(SoListener self, SoSFVec3f dopplerVelocity)"}, - { (char *)"SoListener_dopplerVelocity_get", _wrap_SoListener_dopplerVelocity_get, METH_VARARGS, (char *)"SoListener_dopplerVelocity_get(SoListener self) -> SoSFVec3f"}, - { (char *)"SoListener_dopplerFactor_set", _wrap_SoListener_dopplerFactor_set, METH_VARARGS, (char *)"SoListener_dopplerFactor_set(SoListener self, SoSFFloat dopplerFactor)"}, - { (char *)"SoListener_dopplerFactor_get", _wrap_SoListener_dopplerFactor_get, METH_VARARGS, (char *)"SoListener_dopplerFactor_get(SoListener self) -> SoSFFloat"}, - { (char *)"SoListener_swigregister", SoListener_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocateHighlight_getClassTypeId", _wrap_SoLocateHighlight_getClassTypeId, METH_VARARGS, (char *)"SoLocateHighlight_getClassTypeId() -> SoType"}, - { (char *)"SoLocateHighlight_getTypeId", _wrap_SoLocateHighlight_getTypeId, METH_VARARGS, (char *)"SoLocateHighlight_getTypeId(SoLocateHighlight self) -> SoType"}, - { (char *)"SoLocateHighlight_initClass", _wrap_SoLocateHighlight_initClass, METH_VARARGS, (char *)"SoLocateHighlight_initClass()"}, - { (char *)"new_SoLocateHighlight", _wrap_new_SoLocateHighlight, METH_VARARGS, (char *)"new_SoLocateHighlight() -> SoLocateHighlight"}, - { (char *)"SoLocateHighlight_color_set", _wrap_SoLocateHighlight_color_set, METH_VARARGS, (char *)"SoLocateHighlight_color_set(SoLocateHighlight self, SoSFColor color)"}, - { (char *)"SoLocateHighlight_color_get", _wrap_SoLocateHighlight_color_get, METH_VARARGS, (char *)"SoLocateHighlight_color_get(SoLocateHighlight self) -> SoSFColor"}, - { (char *)"SoLocateHighlight_style_set", _wrap_SoLocateHighlight_style_set, METH_VARARGS, (char *)"SoLocateHighlight_style_set(SoLocateHighlight self, SoSFEnum style)"}, - { (char *)"SoLocateHighlight_style_get", _wrap_SoLocateHighlight_style_get, METH_VARARGS, (char *)"SoLocateHighlight_style_get(SoLocateHighlight self) -> SoSFEnum"}, - { (char *)"SoLocateHighlight_mode_set", _wrap_SoLocateHighlight_mode_set, METH_VARARGS, (char *)"SoLocateHighlight_mode_set(SoLocateHighlight self, SoSFEnum mode)"}, - { (char *)"SoLocateHighlight_mode_get", _wrap_SoLocateHighlight_mode_get, METH_VARARGS, (char *)"SoLocateHighlight_mode_get(SoLocateHighlight self) -> SoSFEnum"}, - { (char *)"SoLocateHighlight_handleEvent", _wrap_SoLocateHighlight_handleEvent, METH_VARARGS, (char *)"SoLocateHighlight_handleEvent(SoLocateHighlight self, SoHandleEventAction action)"}, - { (char *)"SoLocateHighlight_GLRenderBelowPath", _wrap_SoLocateHighlight_GLRenderBelowPath, METH_VARARGS, (char *)"SoLocateHighlight_GLRenderBelowPath(SoLocateHighlight self, SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_GLRenderInPath", _wrap_SoLocateHighlight_GLRenderInPath, METH_VARARGS, (char *)"SoLocateHighlight_GLRenderInPath(SoLocateHighlight self, SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_turnOffCurrentHighlight", _wrap_SoLocateHighlight_turnOffCurrentHighlight, METH_VARARGS, (char *)"SoLocateHighlight_turnOffCurrentHighlight(SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_swigregister", SoLocateHighlight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLOD_getClassTypeId", _wrap_SoLOD_getClassTypeId, METH_VARARGS, (char *)"SoLOD_getClassTypeId() -> SoType"}, - { (char *)"SoLOD_getTypeId", _wrap_SoLOD_getTypeId, METH_VARARGS, (char *)"SoLOD_getTypeId(SoLOD self) -> SoType"}, - { (char *)"new_SoLOD", _wrap_new_SoLOD, METH_VARARGS, (char *)"\n" - "SoLOD()\n" - "new_SoLOD(int numchildren) -> SoLOD\n" - ""}, - { (char *)"SoLOD_initClass", _wrap_SoLOD_initClass, METH_VARARGS, (char *)"SoLOD_initClass()"}, - { (char *)"SoLOD_range_set", _wrap_SoLOD_range_set, METH_VARARGS, (char *)"SoLOD_range_set(SoLOD self, SoMFFloat range)"}, - { (char *)"SoLOD_range_get", _wrap_SoLOD_range_get, METH_VARARGS, (char *)"SoLOD_range_get(SoLOD self) -> SoMFFloat"}, - { (char *)"SoLOD_center_set", _wrap_SoLOD_center_set, METH_VARARGS, (char *)"SoLOD_center_set(SoLOD self, SoSFVec3f center)"}, - { (char *)"SoLOD_center_get", _wrap_SoLOD_center_get, METH_VARARGS, (char *)"SoLOD_center_get(SoLOD self) -> SoSFVec3f"}, - { (char *)"SoLOD_doAction", _wrap_SoLOD_doAction, METH_VARARGS, (char *)"SoLOD_doAction(SoLOD self, SoAction action)"}, - { (char *)"SoLOD_callback", _wrap_SoLOD_callback, METH_VARARGS, (char *)"SoLOD_callback(SoLOD self, SoCallbackAction action)"}, - { (char *)"SoLOD_GLRender", _wrap_SoLOD_GLRender, METH_VARARGS, (char *)"SoLOD_GLRender(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderBelowPath", _wrap_SoLOD_GLRenderBelowPath, METH_VARARGS, (char *)"SoLOD_GLRenderBelowPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderInPath", _wrap_SoLOD_GLRenderInPath, METH_VARARGS, (char *)"SoLOD_GLRenderInPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderOffPath", _wrap_SoLOD_GLRenderOffPath, METH_VARARGS, (char *)"SoLOD_GLRenderOffPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_rayPick", _wrap_SoLOD_rayPick, METH_VARARGS, (char *)"SoLOD_rayPick(SoLOD self, SoRayPickAction action)"}, - { (char *)"SoLOD_getBoundingBox", _wrap_SoLOD_getBoundingBox, METH_VARARGS, (char *)"SoLOD_getBoundingBox(SoLOD self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLOD_getPrimitiveCount", _wrap_SoLOD_getPrimitiveCount, METH_VARARGS, (char *)"SoLOD_getPrimitiveCount(SoLOD self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoLOD_audioRender", _wrap_SoLOD_audioRender, METH_VARARGS, (char *)"SoLOD_audioRender(SoLOD self, SoAudioRenderAction action)"}, - { (char *)"SoLOD_notify", _wrap_SoLOD_notify, METH_VARARGS, (char *)"SoLOD_notify(SoLOD self, SoNotList nl)"}, - { (char *)"SoLOD_swigregister", SoLOD_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointSet_getClassTypeId", _wrap_SoPointSet_getClassTypeId, METH_VARARGS, (char *)"SoPointSet_getClassTypeId() -> SoType"}, - { (char *)"SoPointSet_getTypeId", _wrap_SoPointSet_getTypeId, METH_VARARGS, (char *)"SoPointSet_getTypeId(SoPointSet self) -> SoType"}, - { (char *)"SoPointSet_initClass", _wrap_SoPointSet_initClass, METH_VARARGS, (char *)"SoPointSet_initClass()"}, - { (char *)"new_SoPointSet", _wrap_new_SoPointSet, METH_VARARGS, (char *)"new_SoPointSet() -> SoPointSet"}, - { (char *)"SoPointSet_numPoints_set", _wrap_SoPointSet_numPoints_set, METH_VARARGS, (char *)"SoPointSet_numPoints_set(SoPointSet self, SoSFInt32 numPoints)"}, - { (char *)"SoPointSet_numPoints_get", _wrap_SoPointSet_numPoints_get, METH_VARARGS, (char *)"SoPointSet_numPoints_get(SoPointSet self) -> SoSFInt32"}, - { (char *)"SoPointSet_GLRender", _wrap_SoPointSet_GLRender, METH_VARARGS, (char *)"SoPointSet_GLRender(SoPointSet self, SoGLRenderAction action)"}, - { (char *)"SoPointSet_getBoundingBox", _wrap_SoPointSet_getBoundingBox, METH_VARARGS, (char *)"SoPointSet_getBoundingBox(SoPointSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPointSet_getPrimitiveCount", _wrap_SoPointSet_getPrimitiveCount, METH_VARARGS, (char *)"SoPointSet_getPrimitiveCount(SoPointSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoPointSet_swigregister", SoPointSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMarkerSet_getClassTypeId", _wrap_SoMarkerSet_getClassTypeId, METH_VARARGS, (char *)"SoMarkerSet_getClassTypeId() -> SoType"}, - { (char *)"SoMarkerSet_getTypeId", _wrap_SoMarkerSet_getTypeId, METH_VARARGS, (char *)"SoMarkerSet_getTypeId(SoMarkerSet self) -> SoType"}, - { (char *)"SoMarkerSet_initClass", _wrap_SoMarkerSet_initClass, METH_VARARGS, (char *)"SoMarkerSet_initClass()"}, - { (char *)"new_SoMarkerSet", _wrap_new_SoMarkerSet, METH_VARARGS, (char *)"new_SoMarkerSet() -> SoMarkerSet"}, - { (char *)"SoMarkerSet_markerIndex_set", _wrap_SoMarkerSet_markerIndex_set, METH_VARARGS, (char *)"SoMarkerSet_markerIndex_set(SoMarkerSet self, SoMFInt32 markerIndex)"}, - { (char *)"SoMarkerSet_markerIndex_get", _wrap_SoMarkerSet_markerIndex_get, METH_VARARGS, (char *)"SoMarkerSet_markerIndex_get(SoMarkerSet self) -> SoMFInt32"}, - { (char *)"SoMarkerSet_GLRender", _wrap_SoMarkerSet_GLRender, METH_VARARGS, (char *)"SoMarkerSet_GLRender(SoMarkerSet self, SoGLRenderAction action)"}, - { (char *)"SoMarkerSet_getPrimitiveCount", _wrap_SoMarkerSet_getPrimitiveCount, METH_VARARGS, (char *)"SoMarkerSet_getPrimitiveCount(SoMarkerSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMarkerSet_getNumDefinedMarkers", _wrap_SoMarkerSet_getNumDefinedMarkers, METH_VARARGS, (char *)"SoMarkerSet_getNumDefinedMarkers() -> int"}, - { (char *)"SoMarkerSet_addMarker", _wrap_SoMarkerSet_addMarker, METH_VARARGS, (char *)"\n" - "addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, \n" - " SbBool isUpToDown=1)\n" - "addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1)\n" - "SoMarkerSet_addMarker(int idx, SbVec2s size, unsigned char bytes)\n" - ""}, - { (char *)"SoMarkerSet_getMarker", _wrap_SoMarkerSet_getMarker, METH_VARARGS, (char *)"SoMarkerSet_getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool"}, - { (char *)"SoMarkerSet_removeMarker", _wrap_SoMarkerSet_removeMarker, METH_VARARGS, (char *)"SoMarkerSet_removeMarker(int idx) -> SbBool"}, - { (char *)"SoMarkerSet_isMarkerBitSet", _wrap_SoMarkerSet_isMarkerBitSet, METH_VARARGS, (char *)"SoMarkerSet_isMarkerBitSet(int idx, int bitNumber) -> SbBool"}, - { (char *)"SoMarkerSet_swigregister", SoMarkerSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterial_getClassTypeId", _wrap_SoMaterial_getClassTypeId, METH_VARARGS, (char *)"SoMaterial_getClassTypeId() -> SoType"}, - { (char *)"SoMaterial_getTypeId", _wrap_SoMaterial_getTypeId, METH_VARARGS, (char *)"SoMaterial_getTypeId(SoMaterial self) -> SoType"}, - { (char *)"SoMaterial_initClass", _wrap_SoMaterial_initClass, METH_VARARGS, (char *)"SoMaterial_initClass()"}, - { (char *)"new_SoMaterial", _wrap_new_SoMaterial, METH_VARARGS, (char *)"new_SoMaterial() -> SoMaterial"}, - { (char *)"SoMaterial_ambientColor_set", _wrap_SoMaterial_ambientColor_set, METH_VARARGS, (char *)"SoMaterial_ambientColor_set(SoMaterial self, SoMFColor ambientColor)"}, - { (char *)"SoMaterial_ambientColor_get", _wrap_SoMaterial_ambientColor_get, METH_VARARGS, (char *)"SoMaterial_ambientColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_diffuseColor_set", _wrap_SoMaterial_diffuseColor_set, METH_VARARGS, (char *)"SoMaterial_diffuseColor_set(SoMaterial self, SoMFColor diffuseColor)"}, - { (char *)"SoMaterial_diffuseColor_get", _wrap_SoMaterial_diffuseColor_get, METH_VARARGS, (char *)"SoMaterial_diffuseColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_specularColor_set", _wrap_SoMaterial_specularColor_set, METH_VARARGS, (char *)"SoMaterial_specularColor_set(SoMaterial self, SoMFColor specularColor)"}, - { (char *)"SoMaterial_specularColor_get", _wrap_SoMaterial_specularColor_get, METH_VARARGS, (char *)"SoMaterial_specularColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_emissiveColor_set", _wrap_SoMaterial_emissiveColor_set, METH_VARARGS, (char *)"SoMaterial_emissiveColor_set(SoMaterial self, SoMFColor emissiveColor)"}, - { (char *)"SoMaterial_emissiveColor_get", _wrap_SoMaterial_emissiveColor_get, METH_VARARGS, (char *)"SoMaterial_emissiveColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_shininess_set", _wrap_SoMaterial_shininess_set, METH_VARARGS, (char *)"SoMaterial_shininess_set(SoMaterial self, SoMFFloat shininess)"}, - { (char *)"SoMaterial_shininess_get", _wrap_SoMaterial_shininess_get, METH_VARARGS, (char *)"SoMaterial_shininess_get(SoMaterial self) -> SoMFFloat"}, - { (char *)"SoMaterial_transparency_set", _wrap_SoMaterial_transparency_set, METH_VARARGS, (char *)"SoMaterial_transparency_set(SoMaterial self, SoMFFloat transparency)"}, - { (char *)"SoMaterial_transparency_get", _wrap_SoMaterial_transparency_get, METH_VARARGS, (char *)"SoMaterial_transparency_get(SoMaterial self) -> SoMFFloat"}, - { (char *)"SoMaterial_doAction", _wrap_SoMaterial_doAction, METH_VARARGS, (char *)"SoMaterial_doAction(SoMaterial self, SoAction action)"}, - { (char *)"SoMaterial_GLRender", _wrap_SoMaterial_GLRender, METH_VARARGS, (char *)"SoMaterial_GLRender(SoMaterial self, SoGLRenderAction action)"}, - { (char *)"SoMaterial_callback", _wrap_SoMaterial_callback, METH_VARARGS, (char *)"SoMaterial_callback(SoMaterial self, SoCallbackAction action)"}, - { (char *)"SoMaterial_swigregister", SoMaterial_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMatrixTransform_getClassTypeId", _wrap_SoMatrixTransform_getClassTypeId, METH_VARARGS, (char *)"SoMatrixTransform_getClassTypeId() -> SoType"}, - { (char *)"SoMatrixTransform_getTypeId", _wrap_SoMatrixTransform_getTypeId, METH_VARARGS, (char *)"SoMatrixTransform_getTypeId(SoMatrixTransform self) -> SoType"}, - { (char *)"SoMatrixTransform_initClass", _wrap_SoMatrixTransform_initClass, METH_VARARGS, (char *)"SoMatrixTransform_initClass()"}, - { (char *)"new_SoMatrixTransform", _wrap_new_SoMatrixTransform, METH_VARARGS, (char *)"new_SoMatrixTransform() -> SoMatrixTransform"}, - { (char *)"SoMatrixTransform_matrix_set", _wrap_SoMatrixTransform_matrix_set, METH_VARARGS, (char *)"SoMatrixTransform_matrix_set(SoMatrixTransform self, SoSFMatrix matrix)"}, - { (char *)"SoMatrixTransform_matrix_get", _wrap_SoMatrixTransform_matrix_get, METH_VARARGS, (char *)"SoMatrixTransform_matrix_get(SoMatrixTransform self) -> SoSFMatrix"}, - { (char *)"SoMatrixTransform_doAction", _wrap_SoMatrixTransform_doAction, METH_VARARGS, (char *)"SoMatrixTransform_doAction(SoMatrixTransform self, SoAction action)"}, - { (char *)"SoMatrixTransform_callback", _wrap_SoMatrixTransform_callback, METH_VARARGS, (char *)"SoMatrixTransform_callback(SoMatrixTransform self, SoCallbackAction action)"}, - { (char *)"SoMatrixTransform_GLRender", _wrap_SoMatrixTransform_GLRender, METH_VARARGS, (char *)"SoMatrixTransform_GLRender(SoMatrixTransform self, SoGLRenderAction action)"}, - { (char *)"SoMatrixTransform_getBoundingBox", _wrap_SoMatrixTransform_getBoundingBox, METH_VARARGS, (char *)"SoMatrixTransform_getBoundingBox(SoMatrixTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoMatrixTransform_getMatrix", _wrap_SoMatrixTransform_getMatrix, METH_VARARGS, (char *)"SoMatrixTransform_getMatrix(SoMatrixTransform self, SoGetMatrixAction action)"}, - { (char *)"SoMatrixTransform_pick", _wrap_SoMatrixTransform_pick, METH_VARARGS, (char *)"SoMatrixTransform_pick(SoMatrixTransform self, SoPickAction action)"}, - { (char *)"SoMatrixTransform_getPrimitiveCount", _wrap_SoMatrixTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoMatrixTransform_getPrimitiveCount(SoMatrixTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMatrixTransform_swigregister", SoMatrixTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultipleCopy_getClassTypeId", _wrap_SoMultipleCopy_getClassTypeId, METH_VARARGS, (char *)"SoMultipleCopy_getClassTypeId() -> SoType"}, - { (char *)"SoMultipleCopy_getTypeId", _wrap_SoMultipleCopy_getTypeId, METH_VARARGS, (char *)"SoMultipleCopy_getTypeId(SoMultipleCopy self) -> SoType"}, - { (char *)"SoMultipleCopy_initClass", _wrap_SoMultipleCopy_initClass, METH_VARARGS, (char *)"SoMultipleCopy_initClass()"}, - { (char *)"new_SoMultipleCopy", _wrap_new_SoMultipleCopy, METH_VARARGS, (char *)"new_SoMultipleCopy() -> SoMultipleCopy"}, - { (char *)"SoMultipleCopy_matrix_set", _wrap_SoMultipleCopy_matrix_set, METH_VARARGS, (char *)"SoMultipleCopy_matrix_set(SoMultipleCopy self, SoMFMatrix matrix)"}, - { (char *)"SoMultipleCopy_matrix_get", _wrap_SoMultipleCopy_matrix_get, METH_VARARGS, (char *)"SoMultipleCopy_matrix_get(SoMultipleCopy self) -> SoMFMatrix"}, - { (char *)"SoMultipleCopy_affectsState", _wrap_SoMultipleCopy_affectsState, METH_VARARGS, (char *)"SoMultipleCopy_affectsState(SoMultipleCopy self) -> SbBool"}, - { (char *)"SoMultipleCopy_doAction", _wrap_SoMultipleCopy_doAction, METH_VARARGS, (char *)"SoMultipleCopy_doAction(SoMultipleCopy self, SoAction action)"}, - { (char *)"SoMultipleCopy_callback", _wrap_SoMultipleCopy_callback, METH_VARARGS, (char *)"SoMultipleCopy_callback(SoMultipleCopy self, SoCallbackAction action)"}, - { (char *)"SoMultipleCopy_GLRender", _wrap_SoMultipleCopy_GLRender, METH_VARARGS, (char *)"SoMultipleCopy_GLRender(SoMultipleCopy self, SoGLRenderAction action)"}, - { (char *)"SoMultipleCopy_pick", _wrap_SoMultipleCopy_pick, METH_VARARGS, (char *)"SoMultipleCopy_pick(SoMultipleCopy self, SoPickAction action)"}, - { (char *)"SoMultipleCopy_getBoundingBox", _wrap_SoMultipleCopy_getBoundingBox, METH_VARARGS, (char *)"SoMultipleCopy_getBoundingBox(SoMultipleCopy self, SoGetBoundingBoxAction action)"}, - { (char *)"SoMultipleCopy_handleEvent", _wrap_SoMultipleCopy_handleEvent, METH_VARARGS, (char *)"SoMultipleCopy_handleEvent(SoMultipleCopy self, SoHandleEventAction action)"}, - { (char *)"SoMultipleCopy_getMatrix", _wrap_SoMultipleCopy_getMatrix, METH_VARARGS, (char *)"SoMultipleCopy_getMatrix(SoMultipleCopy self, SoGetMatrixAction action)"}, - { (char *)"SoMultipleCopy_search", _wrap_SoMultipleCopy_search, METH_VARARGS, (char *)"SoMultipleCopy_search(SoMultipleCopy self, SoSearchAction action)"}, - { (char *)"SoMultipleCopy_getPrimitiveCount", _wrap_SoMultipleCopy_getPrimitiveCount, METH_VARARGS, (char *)"SoMultipleCopy_getPrimitiveCount(SoMultipleCopy self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMultipleCopy_audioRender", _wrap_SoMultipleCopy_audioRender, METH_VARARGS, (char *)"SoMultipleCopy_audioRender(SoMultipleCopy self, SoAudioRenderAction action)"}, - { (char *)"SoMultipleCopy_swigregister", SoMultipleCopy_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPerspectiveCamera_getClassTypeId", _wrap_SoPerspectiveCamera_getClassTypeId, METH_VARARGS, (char *)"SoPerspectiveCamera_getClassTypeId() -> SoType"}, - { (char *)"SoPerspectiveCamera_getTypeId", _wrap_SoPerspectiveCamera_getTypeId, METH_VARARGS, (char *)"SoPerspectiveCamera_getTypeId(SoPerspectiveCamera self) -> SoType"}, - { (char *)"SoPerspectiveCamera_initClass", _wrap_SoPerspectiveCamera_initClass, METH_VARARGS, (char *)"SoPerspectiveCamera_initClass()"}, - { (char *)"new_SoPerspectiveCamera", _wrap_new_SoPerspectiveCamera, METH_VARARGS, (char *)"new_SoPerspectiveCamera() -> SoPerspectiveCamera"}, - { (char *)"SoPerspectiveCamera_heightAngle_set", _wrap_SoPerspectiveCamera_heightAngle_set, METH_VARARGS, (char *)"SoPerspectiveCamera_heightAngle_set(SoPerspectiveCamera self, SoSFFloat heightAngle)"}, - { (char *)"SoPerspectiveCamera_heightAngle_get", _wrap_SoPerspectiveCamera_heightAngle_get, METH_VARARGS, (char *)"SoPerspectiveCamera_heightAngle_get(SoPerspectiveCamera self) -> SoSFFloat"}, - { (char *)"SoPerspectiveCamera_scaleHeight", _wrap_SoPerspectiveCamera_scaleHeight, METH_VARARGS, (char *)"SoPerspectiveCamera_scaleHeight(SoPerspectiveCamera self, float scalefactor)"}, - { (char *)"SoPerspectiveCamera_getViewVolume", _wrap_SoPerspectiveCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoPerspectiveCamera_getViewVolume(SoPerspectiveCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoPerspectiveCamera_swigregister", SoPerspectiveCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOrthographicCamera_getClassTypeId", _wrap_SoOrthographicCamera_getClassTypeId, METH_VARARGS, (char *)"SoOrthographicCamera_getClassTypeId() -> SoType"}, - { (char *)"SoOrthographicCamera_getTypeId", _wrap_SoOrthographicCamera_getTypeId, METH_VARARGS, (char *)"SoOrthographicCamera_getTypeId(SoOrthographicCamera self) -> SoType"}, - { (char *)"SoOrthographicCamera_initClass", _wrap_SoOrthographicCamera_initClass, METH_VARARGS, (char *)"SoOrthographicCamera_initClass()"}, - { (char *)"new_SoOrthographicCamera", _wrap_new_SoOrthographicCamera, METH_VARARGS, (char *)"new_SoOrthographicCamera() -> SoOrthographicCamera"}, - { (char *)"SoOrthographicCamera_height_set", _wrap_SoOrthographicCamera_height_set, METH_VARARGS, (char *)"SoOrthographicCamera_height_set(SoOrthographicCamera self, SoSFFloat height)"}, - { (char *)"SoOrthographicCamera_height_get", _wrap_SoOrthographicCamera_height_get, METH_VARARGS, (char *)"SoOrthographicCamera_height_get(SoOrthographicCamera self) -> SoSFFloat"}, - { (char *)"SoOrthographicCamera_scaleHeight", _wrap_SoOrthographicCamera_scaleHeight, METH_VARARGS, (char *)"SoOrthographicCamera_scaleHeight(SoOrthographicCamera self, float scalefactor)"}, - { (char *)"SoOrthographicCamera_getViewVolume", _wrap_SoOrthographicCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoOrthographicCamera_getViewVolume(SoOrthographicCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoOrthographicCamera_swigregister", SoOrthographicCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFrustumCamera_getClassTypeId", _wrap_SoFrustumCamera_getClassTypeId, METH_VARARGS, (char *)"SoFrustumCamera_getClassTypeId() -> SoType"}, - { (char *)"SoFrustumCamera_getTypeId", _wrap_SoFrustumCamera_getTypeId, METH_VARARGS, (char *)"SoFrustumCamera_getTypeId(SoFrustumCamera self) -> SoType"}, - { (char *)"SoFrustumCamera_initClass", _wrap_SoFrustumCamera_initClass, METH_VARARGS, (char *)"SoFrustumCamera_initClass()"}, - { (char *)"new_SoFrustumCamera", _wrap_new_SoFrustumCamera, METH_VARARGS, (char *)"new_SoFrustumCamera() -> SoFrustumCamera"}, - { (char *)"SoFrustumCamera_left_set", _wrap_SoFrustumCamera_left_set, METH_VARARGS, (char *)"SoFrustumCamera_left_set(SoFrustumCamera self, SoSFFloat left)"}, - { (char *)"SoFrustumCamera_left_get", _wrap_SoFrustumCamera_left_get, METH_VARARGS, (char *)"SoFrustumCamera_left_get(SoFrustumCamera self) -> SoSFFloat"}, - { (char *)"SoFrustumCamera_right_set", _wrap_SoFrustumCamera_right_set, METH_VARARGS, (char *)"SoFrustumCamera_right_set(SoFrustumCamera self, SoSFFloat right)"}, - { (char *)"SoFrustumCamera_right_get", _wrap_SoFrustumCamera_right_get, METH_VARARGS, (char *)"SoFrustumCamera_right_get(SoFrustumCamera self) -> SoSFFloat"}, - { (char *)"SoFrustumCamera_top_set", _wrap_SoFrustumCamera_top_set, METH_VARARGS, (char *)"SoFrustumCamera_top_set(SoFrustumCamera self, SoSFFloat top)"}, - { (char *)"SoFrustumCamera_top_get", _wrap_SoFrustumCamera_top_get, METH_VARARGS, (char *)"SoFrustumCamera_top_get(SoFrustumCamera self) -> SoSFFloat"}, - { (char *)"SoFrustumCamera_bottom_set", _wrap_SoFrustumCamera_bottom_set, METH_VARARGS, (char *)"SoFrustumCamera_bottom_set(SoFrustumCamera self, SoSFFloat bottom)"}, - { (char *)"SoFrustumCamera_bottom_get", _wrap_SoFrustumCamera_bottom_get, METH_VARARGS, (char *)"SoFrustumCamera_bottom_get(SoFrustumCamera self) -> SoSFFloat"}, - { (char *)"SoFrustumCamera_scaleHeight", _wrap_SoFrustumCamera_scaleHeight, METH_VARARGS, (char *)"SoFrustumCamera_scaleHeight(SoFrustumCamera self, float scalefactor)"}, - { (char *)"SoFrustumCamera_getViewVolume", _wrap_SoFrustumCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoFrustumCamera_getViewVolume(SoFrustumCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoFrustumCamera_swigregister", SoFrustumCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQuadMesh_getClassTypeId", _wrap_SoQuadMesh_getClassTypeId, METH_VARARGS, (char *)"SoQuadMesh_getClassTypeId() -> SoType"}, - { (char *)"SoQuadMesh_getTypeId", _wrap_SoQuadMesh_getTypeId, METH_VARARGS, (char *)"SoQuadMesh_getTypeId(SoQuadMesh self) -> SoType"}, - { (char *)"SoQuadMesh_initClass", _wrap_SoQuadMesh_initClass, METH_VARARGS, (char *)"SoQuadMesh_initClass()"}, - { (char *)"new_SoQuadMesh", _wrap_new_SoQuadMesh, METH_VARARGS, (char *)"new_SoQuadMesh() -> SoQuadMesh"}, - { (char *)"SoQuadMesh_verticesPerColumn_set", _wrap_SoQuadMesh_verticesPerColumn_set, METH_VARARGS, (char *)"SoQuadMesh_verticesPerColumn_set(SoQuadMesh self, SoSFInt32 verticesPerColumn)"}, - { (char *)"SoQuadMesh_verticesPerColumn_get", _wrap_SoQuadMesh_verticesPerColumn_get, METH_VARARGS, (char *)"SoQuadMesh_verticesPerColumn_get(SoQuadMesh self) -> SoSFInt32"}, - { (char *)"SoQuadMesh_verticesPerRow_set", _wrap_SoQuadMesh_verticesPerRow_set, METH_VARARGS, (char *)"SoQuadMesh_verticesPerRow_set(SoQuadMesh self, SoSFInt32 verticesPerRow)"}, - { (char *)"SoQuadMesh_verticesPerRow_get", _wrap_SoQuadMesh_verticesPerRow_get, METH_VARARGS, (char *)"SoQuadMesh_verticesPerRow_get(SoQuadMesh self) -> SoSFInt32"}, - { (char *)"SoQuadMesh_GLRender", _wrap_SoQuadMesh_GLRender, METH_VARARGS, (char *)"SoQuadMesh_GLRender(SoQuadMesh self, SoGLRenderAction action)"}, - { (char *)"SoQuadMesh_getPrimitiveCount", _wrap_SoQuadMesh_getPrimitiveCount, METH_VARARGS, (char *)"SoQuadMesh_getPrimitiveCount(SoQuadMesh self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoQuadMesh_generateDefaultNormals", _wrap_SoQuadMesh_generateDefaultNormals, METH_VARARGS, (char *)"SoQuadMesh_generateDefaultNormals(SoQuadMesh self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoQuadMesh_swigregister", SoQuadMesh_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTriangleStripSet_getClassTypeId", _wrap_SoTriangleStripSet_getClassTypeId, METH_VARARGS, (char *)"SoTriangleStripSet_getClassTypeId() -> SoType"}, - { (char *)"SoTriangleStripSet_getTypeId", _wrap_SoTriangleStripSet_getTypeId, METH_VARARGS, (char *)"SoTriangleStripSet_getTypeId(SoTriangleStripSet self) -> SoType"}, - { (char *)"SoTriangleStripSet_initClass", _wrap_SoTriangleStripSet_initClass, METH_VARARGS, (char *)"SoTriangleStripSet_initClass()"}, - { (char *)"new_SoTriangleStripSet", _wrap_new_SoTriangleStripSet, METH_VARARGS, (char *)"new_SoTriangleStripSet() -> SoTriangleStripSet"}, - { (char *)"SoTriangleStripSet_numVertices_set", _wrap_SoTriangleStripSet_numVertices_set, METH_VARARGS, (char *)"SoTriangleStripSet_numVertices_set(SoTriangleStripSet self, SoMFInt32 numVertices)"}, - { (char *)"SoTriangleStripSet_numVertices_get", _wrap_SoTriangleStripSet_numVertices_get, METH_VARARGS, (char *)"SoTriangleStripSet_numVertices_get(SoTriangleStripSet self) -> SoMFInt32"}, - { (char *)"SoTriangleStripSet_GLRender", _wrap_SoTriangleStripSet_GLRender, METH_VARARGS, (char *)"SoTriangleStripSet_GLRender(SoTriangleStripSet self, SoGLRenderAction action)"}, - { (char *)"SoTriangleStripSet_getPrimitiveCount", _wrap_SoTriangleStripSet_getPrimitiveCount, METH_VARARGS, (char *)"SoTriangleStripSet_getPrimitiveCount(SoTriangleStripSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTriangleStripSet_generateDefaultNormals", _wrap_SoTriangleStripSet_generateDefaultNormals, METH_VARARGS, (char *)"SoTriangleStripSet_generateDefaultNormals(SoTriangleStripSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoTriangleStripSet_swigregister", SoTriangleStripSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedPointSet_getClassTypeId", _wrap_SoIndexedPointSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedPointSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedPointSet_getTypeId", _wrap_SoIndexedPointSet_getTypeId, METH_VARARGS, (char *)"SoIndexedPointSet_getTypeId(SoIndexedPointSet self) -> SoType"}, - { (char *)"SoIndexedPointSet_initClass", _wrap_SoIndexedPointSet_initClass, METH_VARARGS, (char *)"SoIndexedPointSet_initClass()"}, - { (char *)"new_SoIndexedPointSet", _wrap_new_SoIndexedPointSet, METH_VARARGS, (char *)"new_SoIndexedPointSet() -> SoIndexedPointSet"}, - { (char *)"SoIndexedPointSet_GLRender", _wrap_SoIndexedPointSet_GLRender, METH_VARARGS, (char *)"SoIndexedPointSet_GLRender(SoIndexedPointSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedPointSet_getBoundingBox", _wrap_SoIndexedPointSet_getBoundingBox, METH_VARARGS, (char *)"SoIndexedPointSet_getBoundingBox(SoIndexedPointSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoIndexedPointSet_getPrimitiveCount", _wrap_SoIndexedPointSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedPointSet_getPrimitiveCount(SoIndexedPointSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedPointSet_notify", _wrap_SoIndexedPointSet_notify, METH_VARARGS, (char *)"SoIndexedPointSet_notify(SoIndexedPointSet self, SoNotList list)"}, - { (char *)"SoIndexedPointSet_swigregister", SoIndexedPointSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedMarkerSet_getClassTypeId", _wrap_SoIndexedMarkerSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedMarkerSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedMarkerSet_getTypeId", _wrap_SoIndexedMarkerSet_getTypeId, METH_VARARGS, (char *)"SoIndexedMarkerSet_getTypeId(SoIndexedMarkerSet self) -> SoType"}, - { (char *)"SoIndexedMarkerSet_initClass", _wrap_SoIndexedMarkerSet_initClass, METH_VARARGS, (char *)"SoIndexedMarkerSet_initClass()"}, - { (char *)"new_SoIndexedMarkerSet", _wrap_new_SoIndexedMarkerSet, METH_VARARGS, (char *)"new_SoIndexedMarkerSet() -> SoIndexedMarkerSet"}, - { (char *)"SoIndexedMarkerSet_markerIndex_set", _wrap_SoIndexedMarkerSet_markerIndex_set, METH_VARARGS, (char *)"SoIndexedMarkerSet_markerIndex_set(SoIndexedMarkerSet self, SoMFInt32 markerIndex)"}, - { (char *)"SoIndexedMarkerSet_markerIndex_get", _wrap_SoIndexedMarkerSet_markerIndex_get, METH_VARARGS, (char *)"SoIndexedMarkerSet_markerIndex_get(SoIndexedMarkerSet self) -> SoMFInt32"}, - { (char *)"SoIndexedMarkerSet_GLRender", _wrap_SoIndexedMarkerSet_GLRender, METH_VARARGS, (char *)"SoIndexedMarkerSet_GLRender(SoIndexedMarkerSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedMarkerSet_notify", _wrap_SoIndexedMarkerSet_notify, METH_VARARGS, (char *)"SoIndexedMarkerSet_notify(SoIndexedMarkerSet self, SoNotList list)"}, - { (char *)"SoIndexedMarkerSet_swigregister", SoIndexedMarkerSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsCurve_getClassTypeId", _wrap_SoNurbsCurve_getClassTypeId, METH_VARARGS, (char *)"SoNurbsCurve_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsCurve_getTypeId", _wrap_SoNurbsCurve_getTypeId, METH_VARARGS, (char *)"SoNurbsCurve_getTypeId(SoNurbsCurve self) -> SoType"}, - { (char *)"SoNurbsCurve_initClass", _wrap_SoNurbsCurve_initClass, METH_VARARGS, (char *)"SoNurbsCurve_initClass()"}, - { (char *)"new_SoNurbsCurve", _wrap_new_SoNurbsCurve, METH_VARARGS, (char *)"new_SoNurbsCurve() -> SoNurbsCurve"}, - { (char *)"SoNurbsCurve_numControlPoints_set", _wrap_SoNurbsCurve_numControlPoints_set, METH_VARARGS, (char *)"SoNurbsCurve_numControlPoints_set(SoNurbsCurve self, SoSFInt32 numControlPoints)"}, - { (char *)"SoNurbsCurve_numControlPoints_get", _wrap_SoNurbsCurve_numControlPoints_get, METH_VARARGS, (char *)"SoNurbsCurve_numControlPoints_get(SoNurbsCurve self) -> SoSFInt32"}, - { (char *)"SoNurbsCurve_knotVector_set", _wrap_SoNurbsCurve_knotVector_set, METH_VARARGS, (char *)"SoNurbsCurve_knotVector_set(SoNurbsCurve self, SoMFFloat knotVector)"}, - { (char *)"SoNurbsCurve_knotVector_get", _wrap_SoNurbsCurve_knotVector_get, METH_VARARGS, (char *)"SoNurbsCurve_knotVector_get(SoNurbsCurve self) -> SoMFFloat"}, - { (char *)"SoNurbsCurve_GLRender", _wrap_SoNurbsCurve_GLRender, METH_VARARGS, (char *)"SoNurbsCurve_GLRender(SoNurbsCurve self, SoGLRenderAction action)"}, - { (char *)"SoNurbsCurve_rayPick", _wrap_SoNurbsCurve_rayPick, METH_VARARGS, (char *)"SoNurbsCurve_rayPick(SoNurbsCurve self, SoRayPickAction action)"}, - { (char *)"SoNurbsCurve_getPrimitiveCount", _wrap_SoNurbsCurve_getPrimitiveCount, METH_VARARGS, (char *)"SoNurbsCurve_getPrimitiveCount(SoNurbsCurve self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNurbsCurve_getBoundingBox", _wrap_SoNurbsCurve_getBoundingBox, METH_VARARGS, (char *)"SoNurbsCurve_getBoundingBox(SoNurbsCurve self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNurbsCurve_sendPrimitive", _wrap_SoNurbsCurve_sendPrimitive, METH_VARARGS, (char *)"SoNurbsCurve_sendPrimitive(SoNurbsCurve self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoNurbsCurve_swigregister", SoNurbsCurve_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsSurface_getClassTypeId", _wrap_SoNurbsSurface_getClassTypeId, METH_VARARGS, (char *)"SoNurbsSurface_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsSurface_getTypeId", _wrap_SoNurbsSurface_getTypeId, METH_VARARGS, (char *)"SoNurbsSurface_getTypeId(SoNurbsSurface self) -> SoType"}, - { (char *)"SoNurbsSurface_initClass", _wrap_SoNurbsSurface_initClass, METH_VARARGS, (char *)"SoNurbsSurface_initClass()"}, - { (char *)"new_SoNurbsSurface", _wrap_new_SoNurbsSurface, METH_VARARGS, (char *)"new_SoNurbsSurface() -> SoNurbsSurface"}, - { (char *)"SoNurbsSurface_numUControlPoints_set", _wrap_SoNurbsSurface_numUControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numUControlPoints_set(SoNurbsSurface self, SoSFInt32 numUControlPoints)"}, - { (char *)"SoNurbsSurface_numUControlPoints_get", _wrap_SoNurbsSurface_numUControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numUControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numVControlPoints_set", _wrap_SoNurbsSurface_numVControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numVControlPoints_set(SoNurbsSurface self, SoSFInt32 numVControlPoints)"}, - { (char *)"SoNurbsSurface_numVControlPoints_get", _wrap_SoNurbsSurface_numVControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numVControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numSControlPoints_set", _wrap_SoNurbsSurface_numSControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numSControlPoints_set(SoNurbsSurface self, SoSFInt32 numSControlPoints)"}, - { (char *)"SoNurbsSurface_numSControlPoints_get", _wrap_SoNurbsSurface_numSControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numSControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numTControlPoints_set", _wrap_SoNurbsSurface_numTControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numTControlPoints_set(SoNurbsSurface self, SoSFInt32 numTControlPoints)"}, - { (char *)"SoNurbsSurface_numTControlPoints_get", _wrap_SoNurbsSurface_numTControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numTControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_uKnotVector_set", _wrap_SoNurbsSurface_uKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_uKnotVector_set(SoNurbsSurface self, SoMFFloat uKnotVector)"}, - { (char *)"SoNurbsSurface_uKnotVector_get", _wrap_SoNurbsSurface_uKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_uKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_vKnotVector_set", _wrap_SoNurbsSurface_vKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_vKnotVector_set(SoNurbsSurface self, SoMFFloat vKnotVector)"}, - { (char *)"SoNurbsSurface_vKnotVector_get", _wrap_SoNurbsSurface_vKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_vKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_sKnotVector_set", _wrap_SoNurbsSurface_sKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_sKnotVector_set(SoNurbsSurface self, SoMFFloat sKnotVector)"}, - { (char *)"SoNurbsSurface_sKnotVector_get", _wrap_SoNurbsSurface_sKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_sKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_tKnotVector_set", _wrap_SoNurbsSurface_tKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_tKnotVector_set(SoNurbsSurface self, SoMFFloat tKnotVector)"}, - { (char *)"SoNurbsSurface_tKnotVector_get", _wrap_SoNurbsSurface_tKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_tKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_GLRender", _wrap_SoNurbsSurface_GLRender, METH_VARARGS, (char *)"SoNurbsSurface_GLRender(SoNurbsSurface self, SoGLRenderAction action)"}, - { (char *)"SoNurbsSurface_rayPick", _wrap_SoNurbsSurface_rayPick, METH_VARARGS, (char *)"SoNurbsSurface_rayPick(SoNurbsSurface self, SoRayPickAction action)"}, - { (char *)"SoNurbsSurface_getPrimitiveCount", _wrap_SoNurbsSurface_getPrimitiveCount, METH_VARARGS, (char *)"SoNurbsSurface_getPrimitiveCount(SoNurbsSurface self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNurbsSurface_sendPrimitive", _wrap_SoNurbsSurface_sendPrimitive, METH_VARARGS, (char *)"SoNurbsSurface_sendPrimitive(SoNurbsSurface self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoNurbsSurface_swigregister", SoNurbsSurface_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSphere_getClassTypeId", _wrap_SoSphere_getClassTypeId, METH_VARARGS, (char *)"SoSphere_getClassTypeId() -> SoType"}, - { (char *)"SoSphere_getTypeId", _wrap_SoSphere_getTypeId, METH_VARARGS, (char *)"SoSphere_getTypeId(SoSphere self) -> SoType"}, - { (char *)"SoSphere_initClass", _wrap_SoSphere_initClass, METH_VARARGS, (char *)"SoSphere_initClass()"}, - { (char *)"new_SoSphere", _wrap_new_SoSphere, METH_VARARGS, (char *)"new_SoSphere() -> SoSphere"}, - { (char *)"SoSphere_radius_set", _wrap_SoSphere_radius_set, METH_VARARGS, (char *)"SoSphere_radius_set(SoSphere self, SoSFFloat radius)"}, - { (char *)"SoSphere_radius_get", _wrap_SoSphere_radius_get, METH_VARARGS, (char *)"SoSphere_radius_get(SoSphere self) -> SoSFFloat"}, - { (char *)"SoSphere_GLRender", _wrap_SoSphere_GLRender, METH_VARARGS, (char *)"SoSphere_GLRender(SoSphere self, SoGLRenderAction action)"}, - { (char *)"SoSphere_rayPick", _wrap_SoSphere_rayPick, METH_VARARGS, (char *)"SoSphere_rayPick(SoSphere self, SoRayPickAction action)"}, - { (char *)"SoSphere_getPrimitiveCount", _wrap_SoSphere_getPrimitiveCount, METH_VARARGS, (char *)"SoSphere_getPrimitiveCount(SoSphere self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSphere_swigregister", SoSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoText2_getClassTypeId", _wrap_SoText2_getClassTypeId, METH_VARARGS, (char *)"SoText2_getClassTypeId() -> SoType"}, - { (char *)"SoText2_getTypeId", _wrap_SoText2_getTypeId, METH_VARARGS, (char *)"SoText2_getTypeId(SoText2 self) -> SoType"}, - { (char *)"SoText2_initClass", _wrap_SoText2_initClass, METH_VARARGS, (char *)"SoText2_initClass()"}, - { (char *)"new_SoText2", _wrap_new_SoText2, METH_VARARGS, (char *)"new_SoText2() -> SoText2"}, - { (char *)"SoText2_string_set", _wrap_SoText2_string_set, METH_VARARGS, (char *)"SoText2_string_set(SoText2 self, SoMFString string)"}, - { (char *)"SoText2_string_get", _wrap_SoText2_string_get, METH_VARARGS, (char *)"SoText2_string_get(SoText2 self) -> SoMFString"}, - { (char *)"SoText2_spacing_set", _wrap_SoText2_spacing_set, METH_VARARGS, (char *)"SoText2_spacing_set(SoText2 self, SoSFFloat spacing)"}, - { (char *)"SoText2_spacing_get", _wrap_SoText2_spacing_get, METH_VARARGS, (char *)"SoText2_spacing_get(SoText2 self) -> SoSFFloat"}, - { (char *)"SoText2_justification_set", _wrap_SoText2_justification_set, METH_VARARGS, (char *)"SoText2_justification_set(SoText2 self, SoSFEnum justification)"}, - { (char *)"SoText2_justification_get", _wrap_SoText2_justification_get, METH_VARARGS, (char *)"SoText2_justification_get(SoText2 self) -> SoSFEnum"}, - { (char *)"SoText2_GLRender", _wrap_SoText2_GLRender, METH_VARARGS, (char *)"SoText2_GLRender(SoText2 self, SoGLRenderAction action)"}, - { (char *)"SoText2_rayPick", _wrap_SoText2_rayPick, METH_VARARGS, (char *)"SoText2_rayPick(SoText2 self, SoRayPickAction action)"}, - { (char *)"SoText2_getPrimitiveCount", _wrap_SoText2_getPrimitiveCount, METH_VARARGS, (char *)"SoText2_getPrimitiveCount(SoText2 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoText2_swigregister", SoText2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoText3_getClassTypeId", _wrap_SoText3_getClassTypeId, METH_VARARGS, (char *)"SoText3_getClassTypeId() -> SoType"}, - { (char *)"SoText3_getTypeId", _wrap_SoText3_getTypeId, METH_VARARGS, (char *)"SoText3_getTypeId(SoText3 self) -> SoType"}, - { (char *)"SoText3_initClass", _wrap_SoText3_initClass, METH_VARARGS, (char *)"SoText3_initClass()"}, - { (char *)"new_SoText3", _wrap_new_SoText3, METH_VARARGS, (char *)"new_SoText3() -> SoText3"}, - { (char *)"SoText3_string_set", _wrap_SoText3_string_set, METH_VARARGS, (char *)"SoText3_string_set(SoText3 self, SoMFString string)"}, - { (char *)"SoText3_string_get", _wrap_SoText3_string_get, METH_VARARGS, (char *)"SoText3_string_get(SoText3 self) -> SoMFString"}, - { (char *)"SoText3_spacing_set", _wrap_SoText3_spacing_set, METH_VARARGS, (char *)"SoText3_spacing_set(SoText3 self, SoSFFloat spacing)"}, - { (char *)"SoText3_spacing_get", _wrap_SoText3_spacing_get, METH_VARARGS, (char *)"SoText3_spacing_get(SoText3 self) -> SoSFFloat"}, - { (char *)"SoText3_justification_set", _wrap_SoText3_justification_set, METH_VARARGS, (char *)"SoText3_justification_set(SoText3 self, SoSFEnum justification)"}, - { (char *)"SoText3_justification_get", _wrap_SoText3_justification_get, METH_VARARGS, (char *)"SoText3_justification_get(SoText3 self) -> SoSFEnum"}, - { (char *)"SoText3_parts_set", _wrap_SoText3_parts_set, METH_VARARGS, (char *)"SoText3_parts_set(SoText3 self, SoSFBitMask parts)"}, - { (char *)"SoText3_parts_get", _wrap_SoText3_parts_get, METH_VARARGS, (char *)"SoText3_parts_get(SoText3 self) -> SoSFBitMask"}, - { (char *)"SoText3_getCharacterBounds", _wrap_SoText3_getCharacterBounds, METH_VARARGS, (char *)"SoText3_getCharacterBounds(SoText3 self, SoState state, int stringindex, int charindex) -> SbBox3f"}, - { (char *)"SoText3_GLRender", _wrap_SoText3_GLRender, METH_VARARGS, (char *)"SoText3_GLRender(SoText3 self, SoGLRenderAction action)"}, - { (char *)"SoText3_getPrimitiveCount", _wrap_SoText3_getPrimitiveCount, METH_VARARGS, (char *)"SoText3_getPrimitiveCount(SoText3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoText3_swigregister", SoText3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWWWAnchor_getClassTypeId", _wrap_SoWWWAnchor_getClassTypeId, METH_VARARGS, (char *)"SoWWWAnchor_getClassTypeId() -> SoType"}, - { (char *)"SoWWWAnchor_getTypeId", _wrap_SoWWWAnchor_getTypeId, METH_VARARGS, (char *)"SoWWWAnchor_getTypeId(SoWWWAnchor self) -> SoType"}, - { (char *)"SoWWWAnchor_initClass", _wrap_SoWWWAnchor_initClass, METH_VARARGS, (char *)"SoWWWAnchor_initClass()"}, - { (char *)"new_SoWWWAnchor", _wrap_new_SoWWWAnchor, METH_VARARGS, (char *)"new_SoWWWAnchor() -> SoWWWAnchor"}, - { (char *)"SoWWWAnchor_name_set", _wrap_SoWWWAnchor_name_set, METH_VARARGS, (char *)"SoWWWAnchor_name_set(SoWWWAnchor self, SoSFString name)"}, - { (char *)"SoWWWAnchor_name_get", _wrap_SoWWWAnchor_name_get, METH_VARARGS, (char *)"SoWWWAnchor_name_get(SoWWWAnchor self) -> SoSFString"}, - { (char *)"SoWWWAnchor_description_set", _wrap_SoWWWAnchor_description_set, METH_VARARGS, (char *)"SoWWWAnchor_description_set(SoWWWAnchor self, SoSFString description)"}, - { (char *)"SoWWWAnchor_description_get", _wrap_SoWWWAnchor_description_get, METH_VARARGS, (char *)"SoWWWAnchor_description_get(SoWWWAnchor self) -> SoSFString"}, - { (char *)"SoWWWAnchor_map_set", _wrap_SoWWWAnchor_map_set, METH_VARARGS, (char *)"SoWWWAnchor_map_set(SoWWWAnchor self, SoSFEnum map)"}, - { (char *)"SoWWWAnchor_map_get", _wrap_SoWWWAnchor_map_get, METH_VARARGS, (char *)"SoWWWAnchor_map_get(SoWWWAnchor self) -> SoSFEnum"}, - { (char *)"SoWWWAnchor_setFullURLName", _wrap_SoWWWAnchor_setFullURLName, METH_VARARGS, (char *)"SoWWWAnchor_setFullURLName(SoWWWAnchor self, SbString url)"}, - { (char *)"SoWWWAnchor_getFullURLName", _wrap_SoWWWAnchor_getFullURLName, METH_VARARGS, (char *)"SoWWWAnchor_getFullURLName(SoWWWAnchor self) -> SbString"}, - { (char *)"SoWWWAnchor_handleEvent", _wrap_SoWWWAnchor_handleEvent, METH_VARARGS, (char *)"SoWWWAnchor_handleEvent(SoWWWAnchor self, SoHandleEventAction action)"}, - { (char *)"SoWWWAnchor_setFetchURLCallBack", _wrap_SoWWWAnchor_setFetchURLCallBack, METH_VARARGS, (char *)"SoWWWAnchor_setFetchURLCallBack(SoWWWAnchorCB f, void userData)"}, - { (char *)"SoWWWAnchor_setHighlightURLCallBack", _wrap_SoWWWAnchor_setHighlightURLCallBack, METH_VARARGS, (char *)"SoWWWAnchor_setHighlightURLCallBack(SoWWWAnchorCB f, void userData)"}, - { (char *)"SoWWWAnchor_swigregister", SoWWWAnchor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPathSwitch_getClassTypeId", _wrap_SoPathSwitch_getClassTypeId, METH_VARARGS, (char *)"SoPathSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoPathSwitch_getTypeId", _wrap_SoPathSwitch_getTypeId, METH_VARARGS, (char *)"SoPathSwitch_getTypeId(SoPathSwitch self) -> SoType"}, - { (char *)"SoPathSwitch_initClass", _wrap_SoPathSwitch_initClass, METH_VARARGS, (char *)"SoPathSwitch_initClass()"}, - { (char *)"new_SoPathSwitch", _wrap_new_SoPathSwitch, METH_VARARGS, (char *)"\n" - "SoPathSwitch()\n" - "new_SoPathSwitch(int numchildren) -> SoPathSwitch\n" - ""}, - { (char *)"SoPathSwitch_path_set", _wrap_SoPathSwitch_path_set, METH_VARARGS, (char *)"SoPathSwitch_path_set(SoPathSwitch self, SoSFPath path)"}, - { (char *)"SoPathSwitch_path_get", _wrap_SoPathSwitch_path_get, METH_VARARGS, (char *)"SoPathSwitch_path_get(SoPathSwitch self) -> SoSFPath"}, - { (char *)"SoPathSwitch_doAction", _wrap_SoPathSwitch_doAction, METH_VARARGS, (char *)"SoPathSwitch_doAction(SoPathSwitch self, SoAction action)"}, - { (char *)"SoPathSwitch_GLRender", _wrap_SoPathSwitch_GLRender, METH_VARARGS, (char *)"SoPathSwitch_GLRender(SoPathSwitch self, SoGLRenderAction action)"}, - { (char *)"SoPathSwitch_pick", _wrap_SoPathSwitch_pick, METH_VARARGS, (char *)"SoPathSwitch_pick(SoPathSwitch self, SoPickAction action)"}, - { (char *)"SoPathSwitch_getBoundingBox", _wrap_SoPathSwitch_getBoundingBox, METH_VARARGS, (char *)"SoPathSwitch_getBoundingBox(SoPathSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPathSwitch_handleEvent", _wrap_SoPathSwitch_handleEvent, METH_VARARGS, (char *)"SoPathSwitch_handleEvent(SoPathSwitch self, SoHandleEventAction action)"}, - { (char *)"SoPathSwitch_getMatrix", _wrap_SoPathSwitch_getMatrix, METH_VARARGS, (char *)"SoPathSwitch_getMatrix(SoPathSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoPathSwitch_search", _wrap_SoPathSwitch_search, METH_VARARGS, (char *)"SoPathSwitch_search(SoPathSwitch self, SoSearchAction action)"}, - { (char *)"SoPathSwitch_callback", _wrap_SoPathSwitch_callback, METH_VARARGS, (char *)"SoPathSwitch_callback(SoPathSwitch self, SoCallbackAction action)"}, - { (char *)"SoPathSwitch_getPrimitiveCount", _wrap_SoPathSwitch_getPrimitiveCount, METH_VARARGS, (char *)"SoPathSwitch_getPrimitiveCount(SoPathSwitch self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoPathSwitch_audioRender", _wrap_SoPathSwitch_audioRender, METH_VARARGS, (char *)"SoPathSwitch_audioRender(SoPathSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoPathSwitch_swigregister", SoPathSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformSeparator_getClassTypeId", _wrap_SoTransformSeparator_getClassTypeId, METH_VARARGS, (char *)"SoTransformSeparator_getClassTypeId() -> SoType"}, - { (char *)"SoTransformSeparator_getTypeId", _wrap_SoTransformSeparator_getTypeId, METH_VARARGS, (char *)"SoTransformSeparator_getTypeId(SoTransformSeparator self) -> SoType"}, - { (char *)"SoTransformSeparator_initClass", _wrap_SoTransformSeparator_initClass, METH_VARARGS, (char *)"SoTransformSeparator_initClass()"}, - { (char *)"new_SoTransformSeparator", _wrap_new_SoTransformSeparator, METH_VARARGS, (char *)"\n" - "SoTransformSeparator()\n" - "new_SoTransformSeparator(int nChildren) -> SoTransformSeparator\n" - ""}, - { (char *)"SoTransformSeparator_doAction", _wrap_SoTransformSeparator_doAction, METH_VARARGS, (char *)"SoTransformSeparator_doAction(SoTransformSeparator self, SoAction action)"}, - { (char *)"SoTransformSeparator_callback", _wrap_SoTransformSeparator_callback, METH_VARARGS, (char *)"SoTransformSeparator_callback(SoTransformSeparator self, SoCallbackAction action)"}, - { (char *)"SoTransformSeparator_GLRender", _wrap_SoTransformSeparator_GLRender, METH_VARARGS, (char *)"SoTransformSeparator_GLRender(SoTransformSeparator self, SoGLRenderAction action)"}, - { (char *)"SoTransformSeparator_pick", _wrap_SoTransformSeparator_pick, METH_VARARGS, (char *)"SoTransformSeparator_pick(SoTransformSeparator self, SoPickAction action)"}, - { (char *)"SoTransformSeparator_getBoundingBox", _wrap_SoTransformSeparator_getBoundingBox, METH_VARARGS, (char *)"SoTransformSeparator_getBoundingBox(SoTransformSeparator self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransformSeparator_getMatrix", _wrap_SoTransformSeparator_getMatrix, METH_VARARGS, (char *)"SoTransformSeparator_getMatrix(SoTransformSeparator self, SoGetMatrixAction action)"}, - { (char *)"SoTransformSeparator_getPrimitiveCount", _wrap_SoTransformSeparator_getPrimitiveCount, METH_VARARGS, (char *)"SoTransformSeparator_getPrimitiveCount(SoTransformSeparator self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTransformSeparator_audioRender", _wrap_SoTransformSeparator_audioRender, METH_VARARGS, (char *)"SoTransformSeparator_audioRender(SoTransformSeparator self, SoAudioRenderAction action)"}, - { (char *)"SoTransformSeparator_swigregister", SoTransformSeparator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotation_getClassTypeId", _wrap_SoRotation_getClassTypeId, METH_VARARGS, (char *)"SoRotation_getClassTypeId() -> SoType"}, - { (char *)"SoRotation_getTypeId", _wrap_SoRotation_getTypeId, METH_VARARGS, (char *)"SoRotation_getTypeId(SoRotation self) -> SoType"}, - { (char *)"SoRotation_initClass", _wrap_SoRotation_initClass, METH_VARARGS, (char *)"SoRotation_initClass()"}, - { (char *)"new_SoRotation", _wrap_new_SoRotation, METH_VARARGS, (char *)"new_SoRotation() -> SoRotation"}, - { (char *)"SoRotation_rotation_set", _wrap_SoRotation_rotation_set, METH_VARARGS, (char *)"SoRotation_rotation_set(SoRotation self, SoSFRotation rotation)"}, - { (char *)"SoRotation_rotation_get", _wrap_SoRotation_rotation_get, METH_VARARGS, (char *)"SoRotation_rotation_get(SoRotation self) -> SoSFRotation"}, - { (char *)"SoRotation_doAction", _wrap_SoRotation_doAction, METH_VARARGS, (char *)"SoRotation_doAction(SoRotation self, SoAction action)"}, - { (char *)"SoRotation_GLRender", _wrap_SoRotation_GLRender, METH_VARARGS, (char *)"SoRotation_GLRender(SoRotation self, SoGLRenderAction action)"}, - { (char *)"SoRotation_callback", _wrap_SoRotation_callback, METH_VARARGS, (char *)"SoRotation_callback(SoRotation self, SoCallbackAction action)"}, - { (char *)"SoRotation_getBoundingBox", _wrap_SoRotation_getBoundingBox, METH_VARARGS, (char *)"SoRotation_getBoundingBox(SoRotation self, SoGetBoundingBoxAction action)"}, - { (char *)"SoRotation_getMatrix", _wrap_SoRotation_getMatrix, METH_VARARGS, (char *)"SoRotation_getMatrix(SoRotation self, SoGetMatrixAction action)"}, - { (char *)"SoRotation_pick", _wrap_SoRotation_pick, METH_VARARGS, (char *)"SoRotation_pick(SoRotation self, SoPickAction action)"}, - { (char *)"SoRotation_getPrimitiveCount", _wrap_SoRotation_getPrimitiveCount, METH_VARARGS, (char *)"SoRotation_getPrimitiveCount(SoRotation self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoRotation_swigregister", SoRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPendulum_getClassTypeId", _wrap_SoPendulum_getClassTypeId, METH_VARARGS, (char *)"SoPendulum_getClassTypeId() -> SoType"}, - { (char *)"SoPendulum_getTypeId", _wrap_SoPendulum_getTypeId, METH_VARARGS, (char *)"SoPendulum_getTypeId(SoPendulum self) -> SoType"}, - { (char *)"SoPendulum_initClass", _wrap_SoPendulum_initClass, METH_VARARGS, (char *)"SoPendulum_initClass()"}, - { (char *)"new_SoPendulum", _wrap_new_SoPendulum, METH_VARARGS, (char *)"new_SoPendulum() -> SoPendulum"}, - { (char *)"SoPendulum_rotation0_set", _wrap_SoPendulum_rotation0_set, METH_VARARGS, (char *)"SoPendulum_rotation0_set(SoPendulum self, SoSFRotation rotation0)"}, - { (char *)"SoPendulum_rotation0_get", _wrap_SoPendulum_rotation0_get, METH_VARARGS, (char *)"SoPendulum_rotation0_get(SoPendulum self) -> SoSFRotation"}, - { (char *)"SoPendulum_rotation1_set", _wrap_SoPendulum_rotation1_set, METH_VARARGS, (char *)"SoPendulum_rotation1_set(SoPendulum self, SoSFRotation rotation1)"}, - { (char *)"SoPendulum_rotation1_get", _wrap_SoPendulum_rotation1_get, METH_VARARGS, (char *)"SoPendulum_rotation1_get(SoPendulum self) -> SoSFRotation"}, - { (char *)"SoPendulum_speed_set", _wrap_SoPendulum_speed_set, METH_VARARGS, (char *)"SoPendulum_speed_set(SoPendulum self, SoSFFloat speed)"}, - { (char *)"SoPendulum_speed_get", _wrap_SoPendulum_speed_get, METH_VARARGS, (char *)"SoPendulum_speed_get(SoPendulum self) -> SoSFFloat"}, - { (char *)"SoPendulum_on_set", _wrap_SoPendulum_on_set, METH_VARARGS, (char *)"SoPendulum_on_set(SoPendulum self, SoSFBool on)"}, - { (char *)"SoPendulum_on_get", _wrap_SoPendulum_on_get, METH_VARARGS, (char *)"SoPendulum_on_get(SoPendulum self) -> SoSFBool"}, - { (char *)"SoPendulum_write", _wrap_SoPendulum_write, METH_VARARGS, (char *)"SoPendulum_write(SoPendulum self, SoWriteAction action)"}, - { (char *)"SoPendulum_swigregister", SoPendulum_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotor_getClassTypeId", _wrap_SoRotor_getClassTypeId, METH_VARARGS, (char *)"SoRotor_getClassTypeId() -> SoType"}, - { (char *)"SoRotor_getTypeId", _wrap_SoRotor_getTypeId, METH_VARARGS, (char *)"SoRotor_getTypeId(SoRotor self) -> SoType"}, - { (char *)"SoRotor_initClass", _wrap_SoRotor_initClass, METH_VARARGS, (char *)"SoRotor_initClass()"}, - { (char *)"new_SoRotor", _wrap_new_SoRotor, METH_VARARGS, (char *)"new_SoRotor() -> SoRotor"}, - { (char *)"SoRotor_speed_set", _wrap_SoRotor_speed_set, METH_VARARGS, (char *)"SoRotor_speed_set(SoRotor self, SoSFFloat speed)"}, - { (char *)"SoRotor_speed_get", _wrap_SoRotor_speed_get, METH_VARARGS, (char *)"SoRotor_speed_get(SoRotor self) -> SoSFFloat"}, - { (char *)"SoRotor_on_set", _wrap_SoRotor_on_set, METH_VARARGS, (char *)"SoRotor_on_set(SoRotor self, SoSFBool on)"}, - { (char *)"SoRotor_on_get", _wrap_SoRotor_on_get, METH_VARARGS, (char *)"SoRotor_on_get(SoRotor self) -> SoSFBool"}, - { (char *)"SoRotor_swigregister", SoRotor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoResetTransform_getClassTypeId", _wrap_SoResetTransform_getClassTypeId, METH_VARARGS, (char *)"SoResetTransform_getClassTypeId() -> SoType"}, - { (char *)"SoResetTransform_getTypeId", _wrap_SoResetTransform_getTypeId, METH_VARARGS, (char *)"SoResetTransform_getTypeId(SoResetTransform self) -> SoType"}, - { (char *)"SoResetTransform_initClass", _wrap_SoResetTransform_initClass, METH_VARARGS, (char *)"SoResetTransform_initClass()"}, - { (char *)"new_SoResetTransform", _wrap_new_SoResetTransform, METH_VARARGS, (char *)"new_SoResetTransform() -> SoResetTransform"}, - { (char *)"SoResetTransform_whatToReset_set", _wrap_SoResetTransform_whatToReset_set, METH_VARARGS, (char *)"SoResetTransform_whatToReset_set(SoResetTransform self, SoSFBitMask whatToReset)"}, - { (char *)"SoResetTransform_whatToReset_get", _wrap_SoResetTransform_whatToReset_get, METH_VARARGS, (char *)"SoResetTransform_whatToReset_get(SoResetTransform self) -> SoSFBitMask"}, - { (char *)"SoResetTransform_doAction", _wrap_SoResetTransform_doAction, METH_VARARGS, (char *)"SoResetTransform_doAction(SoResetTransform self, SoAction action)"}, - { (char *)"SoResetTransform_callback", _wrap_SoResetTransform_callback, METH_VARARGS, (char *)"SoResetTransform_callback(SoResetTransform self, SoCallbackAction action)"}, - { (char *)"SoResetTransform_GLRender", _wrap_SoResetTransform_GLRender, METH_VARARGS, (char *)"SoResetTransform_GLRender(SoResetTransform self, SoGLRenderAction action)"}, - { (char *)"SoResetTransform_getBoundingBox", _wrap_SoResetTransform_getBoundingBox, METH_VARARGS, (char *)"SoResetTransform_getBoundingBox(SoResetTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoResetTransform_getMatrix", _wrap_SoResetTransform_getMatrix, METH_VARARGS, (char *)"SoResetTransform_getMatrix(SoResetTransform self, SoGetMatrixAction action)"}, - { (char *)"SoResetTransform_pick", _wrap_SoResetTransform_pick, METH_VARARGS, (char *)"SoResetTransform_pick(SoResetTransform self, SoPickAction action)"}, - { (char *)"SoResetTransform_getPrimitiveCount", _wrap_SoResetTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoResetTransform_getPrimitiveCount(SoResetTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoResetTransform_swigregister", SoResetTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotationXYZ_getClassTypeId", _wrap_SoRotationXYZ_getClassTypeId, METH_VARARGS, (char *)"SoRotationXYZ_getClassTypeId() -> SoType"}, - { (char *)"SoRotationXYZ_getTypeId", _wrap_SoRotationXYZ_getTypeId, METH_VARARGS, (char *)"SoRotationXYZ_getTypeId(SoRotationXYZ self) -> SoType"}, - { (char *)"SoRotationXYZ_initClass", _wrap_SoRotationXYZ_initClass, METH_VARARGS, (char *)"SoRotationXYZ_initClass()"}, - { (char *)"new_SoRotationXYZ", _wrap_new_SoRotationXYZ, METH_VARARGS, (char *)"new_SoRotationXYZ() -> SoRotationXYZ"}, - { (char *)"SoRotationXYZ_axis_set", _wrap_SoRotationXYZ_axis_set, METH_VARARGS, (char *)"SoRotationXYZ_axis_set(SoRotationXYZ self, SoSFEnum axis)"}, - { (char *)"SoRotationXYZ_axis_get", _wrap_SoRotationXYZ_axis_get, METH_VARARGS, (char *)"SoRotationXYZ_axis_get(SoRotationXYZ self) -> SoSFEnum"}, - { (char *)"SoRotationXYZ_angle_set", _wrap_SoRotationXYZ_angle_set, METH_VARARGS, (char *)"SoRotationXYZ_angle_set(SoRotationXYZ self, SoSFFloat angle)"}, - { (char *)"SoRotationXYZ_angle_get", _wrap_SoRotationXYZ_angle_get, METH_VARARGS, (char *)"SoRotationXYZ_angle_get(SoRotationXYZ self) -> SoSFFloat"}, - { (char *)"SoRotationXYZ_getRotation", _wrap_SoRotationXYZ_getRotation, METH_VARARGS, (char *)"SoRotationXYZ_getRotation(SoRotationXYZ self) -> SbRotation"}, - { (char *)"SoRotationXYZ_doAction", _wrap_SoRotationXYZ_doAction, METH_VARARGS, (char *)"SoRotationXYZ_doAction(SoRotationXYZ self, SoAction action)"}, - { (char *)"SoRotationXYZ_GLRender", _wrap_SoRotationXYZ_GLRender, METH_VARARGS, (char *)"SoRotationXYZ_GLRender(SoRotationXYZ self, SoGLRenderAction action)"}, - { (char *)"SoRotationXYZ_callback", _wrap_SoRotationXYZ_callback, METH_VARARGS, (char *)"SoRotationXYZ_callback(SoRotationXYZ self, SoCallbackAction action)"}, - { (char *)"SoRotationXYZ_getBoundingBox", _wrap_SoRotationXYZ_getBoundingBox, METH_VARARGS, (char *)"SoRotationXYZ_getBoundingBox(SoRotationXYZ self, SoGetBoundingBoxAction action)"}, - { (char *)"SoRotationXYZ_getMatrix", _wrap_SoRotationXYZ_getMatrix, METH_VARARGS, (char *)"SoRotationXYZ_getMatrix(SoRotationXYZ self, SoGetMatrixAction action)"}, - { (char *)"SoRotationXYZ_pick", _wrap_SoRotationXYZ_pick, METH_VARARGS, (char *)"SoRotationXYZ_pick(SoRotationXYZ self, SoPickAction action)"}, - { (char *)"SoRotationXYZ_getPrimitiveCount", _wrap_SoRotationXYZ_getPrimitiveCount, METH_VARARGS, (char *)"SoRotationXYZ_getPrimitiveCount(SoRotationXYZ self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoRotationXYZ_swigregister", SoRotationXYZ_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslation_getClassTypeId", _wrap_SoTranslation_getClassTypeId, METH_VARARGS, (char *)"SoTranslation_getClassTypeId() -> SoType"}, - { (char *)"SoTranslation_getTypeId", _wrap_SoTranslation_getTypeId, METH_VARARGS, (char *)"SoTranslation_getTypeId(SoTranslation self) -> SoType"}, - { (char *)"SoTranslation_initClass", _wrap_SoTranslation_initClass, METH_VARARGS, (char *)"SoTranslation_initClass()"}, - { (char *)"new_SoTranslation", _wrap_new_SoTranslation, METH_VARARGS, (char *)"new_SoTranslation() -> SoTranslation"}, - { (char *)"SoTranslation_translation_set", _wrap_SoTranslation_translation_set, METH_VARARGS, (char *)"SoTranslation_translation_set(SoTranslation self, SoSFVec3f translation)"}, - { (char *)"SoTranslation_translation_get", _wrap_SoTranslation_translation_get, METH_VARARGS, (char *)"SoTranslation_translation_get(SoTranslation self) -> SoSFVec3f"}, - { (char *)"SoTranslation_doAction", _wrap_SoTranslation_doAction, METH_VARARGS, (char *)"SoTranslation_doAction(SoTranslation self, SoAction action)"}, - { (char *)"SoTranslation_callback", _wrap_SoTranslation_callback, METH_VARARGS, (char *)"SoTranslation_callback(SoTranslation self, SoCallbackAction action)"}, - { (char *)"SoTranslation_GLRender", _wrap_SoTranslation_GLRender, METH_VARARGS, (char *)"SoTranslation_GLRender(SoTranslation self, SoGLRenderAction action)"}, - { (char *)"SoTranslation_getBoundingBox", _wrap_SoTranslation_getBoundingBox, METH_VARARGS, (char *)"SoTranslation_getBoundingBox(SoTranslation self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTranslation_getMatrix", _wrap_SoTranslation_getMatrix, METH_VARARGS, (char *)"SoTranslation_getMatrix(SoTranslation self, SoGetMatrixAction action)"}, - { (char *)"SoTranslation_pick", _wrap_SoTranslation_pick, METH_VARARGS, (char *)"SoTranslation_pick(SoTranslation self, SoPickAction action)"}, - { (char *)"SoTranslation_getPrimitiveCount", _wrap_SoTranslation_getPrimitiveCount, METH_VARARGS, (char *)"SoTranslation_getPrimitiveCount(SoTranslation self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTranslation_swigregister", SoTranslation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShuttle_getClassTypeId", _wrap_SoShuttle_getClassTypeId, METH_VARARGS, (char *)"SoShuttle_getClassTypeId() -> SoType"}, - { (char *)"SoShuttle_getTypeId", _wrap_SoShuttle_getTypeId, METH_VARARGS, (char *)"SoShuttle_getTypeId(SoShuttle self) -> SoType"}, - { (char *)"SoShuttle_initClass", _wrap_SoShuttle_initClass, METH_VARARGS, (char *)"SoShuttle_initClass()"}, - { (char *)"new_SoShuttle", _wrap_new_SoShuttle, METH_VARARGS, (char *)"new_SoShuttle() -> SoShuttle"}, - { (char *)"SoShuttle_translation0_set", _wrap_SoShuttle_translation0_set, METH_VARARGS, (char *)"SoShuttle_translation0_set(SoShuttle self, SoSFVec3f translation0)"}, - { (char *)"SoShuttle_translation0_get", _wrap_SoShuttle_translation0_get, METH_VARARGS, (char *)"SoShuttle_translation0_get(SoShuttle self) -> SoSFVec3f"}, - { (char *)"SoShuttle_translation1_set", _wrap_SoShuttle_translation1_set, METH_VARARGS, (char *)"SoShuttle_translation1_set(SoShuttle self, SoSFVec3f translation1)"}, - { (char *)"SoShuttle_translation1_get", _wrap_SoShuttle_translation1_get, METH_VARARGS, (char *)"SoShuttle_translation1_get(SoShuttle self) -> SoSFVec3f"}, - { (char *)"SoShuttle_speed_set", _wrap_SoShuttle_speed_set, METH_VARARGS, (char *)"SoShuttle_speed_set(SoShuttle self, SoSFFloat speed)"}, - { (char *)"SoShuttle_speed_get", _wrap_SoShuttle_speed_get, METH_VARARGS, (char *)"SoShuttle_speed_get(SoShuttle self) -> SoSFFloat"}, - { (char *)"SoShuttle_on_set", _wrap_SoShuttle_on_set, METH_VARARGS, (char *)"SoShuttle_on_set(SoShuttle self, SoSFBool on)"}, - { (char *)"SoShuttle_on_get", _wrap_SoShuttle_on_get, METH_VARARGS, (char *)"SoShuttle_on_get(SoShuttle self) -> SoSFBool"}, - { (char *)"SoShuttle_write", _wrap_SoShuttle_write, METH_VARARGS, (char *)"SoShuttle_write(SoShuttle self, SoWriteAction action)"}, - { (char *)"SoShuttle_swigregister", SoShuttle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSurroundScale_getClassTypeId", _wrap_SoSurroundScale_getClassTypeId, METH_VARARGS, (char *)"SoSurroundScale_getClassTypeId() -> SoType"}, - { (char *)"SoSurroundScale_getTypeId", _wrap_SoSurroundScale_getTypeId, METH_VARARGS, (char *)"SoSurroundScale_getTypeId(SoSurroundScale self) -> SoType"}, - { (char *)"SoSurroundScale_initClass", _wrap_SoSurroundScale_initClass, METH_VARARGS, (char *)"SoSurroundScale_initClass()"}, - { (char *)"new_SoSurroundScale", _wrap_new_SoSurroundScale, METH_VARARGS, (char *)"new_SoSurroundScale() -> SoSurroundScale"}, - { (char *)"SoSurroundScale_numNodesUpToContainer_set", _wrap_SoSurroundScale_numNodesUpToContainer_set, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToContainer_set(SoSurroundScale self, SoSFInt32 numNodesUpToContainer)"}, - { (char *)"SoSurroundScale_numNodesUpToContainer_get", _wrap_SoSurroundScale_numNodesUpToContainer_get, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToContainer_get(SoSurroundScale self) -> SoSFInt32"}, - { (char *)"SoSurroundScale_numNodesUpToReset_set", _wrap_SoSurroundScale_numNodesUpToReset_set, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToReset_set(SoSurroundScale self, SoSFInt32 numNodesUpToReset)"}, - { (char *)"SoSurroundScale_numNodesUpToReset_get", _wrap_SoSurroundScale_numNodesUpToReset_get, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToReset_get(SoSurroundScale self) -> SoSFInt32"}, - { (char *)"SoSurroundScale_invalidate", _wrap_SoSurroundScale_invalidate, METH_VARARGS, (char *)"SoSurroundScale_invalidate(SoSurroundScale self)"}, - { (char *)"SoSurroundScale_doAction", _wrap_SoSurroundScale_doAction, METH_VARARGS, (char *)"SoSurroundScale_doAction(SoSurroundScale self, SoAction action)"}, - { (char *)"SoSurroundScale_setDoingTranslations", _wrap_SoSurroundScale_setDoingTranslations, METH_VARARGS, (char *)"SoSurroundScale_setDoingTranslations(SoSurroundScale self, SbBool val)"}, - { (char *)"SoSurroundScale_isDoingTranslations", _wrap_SoSurroundScale_isDoingTranslations, METH_VARARGS, (char *)"SoSurroundScale_isDoingTranslations(SoSurroundScale self) -> SbBool"}, - { (char *)"SoSurroundScale_swigregister", SoSurroundScale_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsProfile_getClassTypeId", _wrap_SoNurbsProfile_getClassTypeId, METH_VARARGS, (char *)"SoNurbsProfile_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsProfile_getTypeId", _wrap_SoNurbsProfile_getTypeId, METH_VARARGS, (char *)"SoNurbsProfile_getTypeId(SoNurbsProfile self) -> SoType"}, - { (char *)"SoNurbsProfile_initClass", _wrap_SoNurbsProfile_initClass, METH_VARARGS, (char *)"SoNurbsProfile_initClass()"}, - { (char *)"new_SoNurbsProfile", _wrap_new_SoNurbsProfile, METH_VARARGS, (char *)"new_SoNurbsProfile() -> SoNurbsProfile"}, - { (char *)"SoNurbsProfile_knotVector_set", _wrap_SoNurbsProfile_knotVector_set, METH_VARARGS, (char *)"SoNurbsProfile_knotVector_set(SoNurbsProfile self, SoMFFloat knotVector)"}, - { (char *)"SoNurbsProfile_knotVector_get", _wrap_SoNurbsProfile_knotVector_get, METH_VARARGS, (char *)"SoNurbsProfile_knotVector_get(SoNurbsProfile self) -> SoMFFloat"}, - { (char *)"SoNurbsProfile_getTrimCurve", _wrap_SoNurbsProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoNurbsProfile_getTrimCurve(SoNurbsProfile self, SoState state, int32_t numpoints, \n" - " float points, int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoNurbsProfile_getVertices", _wrap_SoNurbsProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoNurbsProfile_getVertices(SoNurbsProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoNurbsProfile_swigregister", SoNurbsProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoVertexAttribute", _wrap_new_SoVertexAttribute, METH_VARARGS, (char *)"new_SoVertexAttribute() -> SoVertexAttribute"}, - { (char *)"SoVertexAttribute_initClass", _wrap_SoVertexAttribute_initClass, METH_VARARGS, (char *)"SoVertexAttribute_initClass()"}, - { (char *)"SoVertexAttribute_getClassTypeId", _wrap_SoVertexAttribute_getClassTypeId, METH_VARARGS, (char *)"SoVertexAttribute_getClassTypeId() -> SoType"}, - { (char *)"SoVertexAttribute_getTypeId", _wrap_SoVertexAttribute_getTypeId, METH_VARARGS, (char *)"SoVertexAttribute_getTypeId(SoVertexAttribute self) -> SoType"}, - { (char *)"SoVertexAttribute_name_set", _wrap_SoVertexAttribute_name_set, METH_VARARGS, (char *)"SoVertexAttribute_name_set(SoVertexAttribute self, SoSFName name)"}, - { (char *)"SoVertexAttribute_name_get", _wrap_SoVertexAttribute_name_get, METH_VARARGS, (char *)"SoVertexAttribute_name_get(SoVertexAttribute self) -> SoSFName"}, - { (char *)"SoVertexAttribute_typeName_set", _wrap_SoVertexAttribute_typeName_set, METH_VARARGS, (char *)"SoVertexAttribute_typeName_set(SoVertexAttribute self, SoSFName typeName)"}, - { (char *)"SoVertexAttribute_typeName_get", _wrap_SoVertexAttribute_typeName_get, METH_VARARGS, (char *)"SoVertexAttribute_typeName_get(SoVertexAttribute self) -> SoSFName"}, - { (char *)"SoVertexAttribute_getValuesField", _wrap_SoVertexAttribute_getValuesField, METH_VARARGS, (char *)"SoVertexAttribute_getValuesField(SoVertexAttribute self) -> SoMField"}, - { (char *)"SoVertexAttribute_doAction", _wrap_SoVertexAttribute_doAction, METH_VARARGS, (char *)"SoVertexAttribute_doAction(SoVertexAttribute self, SoAction action)"}, - { (char *)"SoVertexAttribute_GLRender", _wrap_SoVertexAttribute_GLRender, METH_VARARGS, (char *)"SoVertexAttribute_GLRender(SoVertexAttribute self, SoGLRenderAction action)"}, - { (char *)"SoVertexAttribute_write", _wrap_SoVertexAttribute_write, METH_VARARGS, (char *)"SoVertexAttribute_write(SoVertexAttribute self, SoWriteAction action)"}, - { (char *)"SoVertexAttribute_copyContents", _wrap_SoVertexAttribute_copyContents, METH_VARARGS, (char *)"SoVertexAttribute_copyContents(SoVertexAttribute self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoVertexAttribute_notify", _wrap_SoVertexAttribute_notify, METH_VARARGS, (char *)"SoVertexAttribute_notify(SoVertexAttribute self, SoNotList l)"}, - { (char *)"SoVertexAttribute_swigregister", SoVertexAttribute_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexAttributeBinding_getClassTypeId", _wrap_SoVertexAttributeBinding_getClassTypeId, METH_VARARGS, (char *)"SoVertexAttributeBinding_getClassTypeId() -> SoType"}, - { (char *)"SoVertexAttributeBinding_getTypeId", _wrap_SoVertexAttributeBinding_getTypeId, METH_VARARGS, (char *)"SoVertexAttributeBinding_getTypeId(SoVertexAttributeBinding self) -> SoType"}, - { (char *)"SoVertexAttributeBinding_initClass", _wrap_SoVertexAttributeBinding_initClass, METH_VARARGS, (char *)"SoVertexAttributeBinding_initClass()"}, - { (char *)"new_SoVertexAttributeBinding", _wrap_new_SoVertexAttributeBinding, METH_VARARGS, (char *)"new_SoVertexAttributeBinding() -> SoVertexAttributeBinding"}, - { (char *)"SoVertexAttributeBinding_value_set", _wrap_SoVertexAttributeBinding_value_set, METH_VARARGS, (char *)"SoVertexAttributeBinding_value_set(SoVertexAttributeBinding self, SoSFEnum value)"}, - { (char *)"SoVertexAttributeBinding_value_get", _wrap_SoVertexAttributeBinding_value_get, METH_VARARGS, (char *)"SoVertexAttributeBinding_value_get(SoVertexAttributeBinding self) -> SoSFEnum"}, - { (char *)"SoVertexAttributeBinding_doAction", _wrap_SoVertexAttributeBinding_doAction, METH_VARARGS, (char *)"SoVertexAttributeBinding_doAction(SoVertexAttributeBinding self, SoAction action)"}, - { (char *)"SoVertexAttributeBinding_GLRender", _wrap_SoVertexAttributeBinding_GLRender, METH_VARARGS, (char *)"SoVertexAttributeBinding_GLRender(SoVertexAttributeBinding self, SoGLRenderAction action)"}, - { (char *)"SoVertexAttributeBinding_callback", _wrap_SoVertexAttributeBinding_callback, METH_VARARGS, (char *)"SoVertexAttributeBinding_callback(SoVertexAttributeBinding self, SoCallbackAction action)"}, - { (char *)"SoVertexAttributeBinding_pick", _wrap_SoVertexAttributeBinding_pick, METH_VARARGS, (char *)"SoVertexAttributeBinding_pick(SoVertexAttributeBinding self, SoPickAction action)"}, - { (char *)"SoVertexAttributeBinding_getPrimitiveCount", _wrap_SoVertexAttributeBinding_getPrimitiveCount, METH_VARARGS, (char *)"SoVertexAttributeBinding_getPrimitiveCount(SoVertexAttributeBinding self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVertexAttributeBinding_swigregister", SoVertexAttributeBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormal_getClassTypeId", _wrap_SoNormal_getClassTypeId, METH_VARARGS, (char *)"SoNormal_getClassTypeId() -> SoType"}, - { (char *)"SoNormal_getTypeId", _wrap_SoNormal_getTypeId, METH_VARARGS, (char *)"SoNormal_getTypeId(SoNormal self) -> SoType"}, - { (char *)"SoNormal_initClass", _wrap_SoNormal_initClass, METH_VARARGS, (char *)"SoNormal_initClass()"}, - { (char *)"new_SoNormal", _wrap_new_SoNormal, METH_VARARGS, (char *)"new_SoNormal() -> SoNormal"}, - { (char *)"SoNormal_vector_set", _wrap_SoNormal_vector_set, METH_VARARGS, (char *)"SoNormal_vector_set(SoNormal self, SoMFVec3f vector)"}, - { (char *)"SoNormal_vector_get", _wrap_SoNormal_vector_get, METH_VARARGS, (char *)"SoNormal_vector_get(SoNormal self) -> SoMFVec3f"}, - { (char *)"SoNormal_doAction", _wrap_SoNormal_doAction, METH_VARARGS, (char *)"SoNormal_doAction(SoNormal self, SoAction action)"}, - { (char *)"SoNormal_GLRender", _wrap_SoNormal_GLRender, METH_VARARGS, (char *)"SoNormal_GLRender(SoNormal self, SoGLRenderAction action)"}, - { (char *)"SoNormal_callback", _wrap_SoNormal_callback, METH_VARARGS, (char *)"SoNormal_callback(SoNormal self, SoCallbackAction action)"}, - { (char *)"SoNormal_pick", _wrap_SoNormal_pick, METH_VARARGS, (char *)"SoNormal_pick(SoNormal self, SoPickAction action)"}, - { (char *)"SoNormal_getPrimitiveCount", _wrap_SoNormal_getPrimitiveCount, METH_VARARGS, (char *)"SoNormal_getPrimitiveCount(SoNormal self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNormal_swigregister", SoNormal_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPackedColor_getClassTypeId", _wrap_SoPackedColor_getClassTypeId, METH_VARARGS, (char *)"SoPackedColor_getClassTypeId() -> SoType"}, - { (char *)"SoPackedColor_getTypeId", _wrap_SoPackedColor_getTypeId, METH_VARARGS, (char *)"SoPackedColor_getTypeId(SoPackedColor self) -> SoType"}, - { (char *)"SoPackedColor_initClass", _wrap_SoPackedColor_initClass, METH_VARARGS, (char *)"SoPackedColor_initClass()"}, - { (char *)"new_SoPackedColor", _wrap_new_SoPackedColor, METH_VARARGS, (char *)"new_SoPackedColor() -> SoPackedColor"}, - { (char *)"SoPackedColor_orderedRGBA_set", _wrap_SoPackedColor_orderedRGBA_set, METH_VARARGS, (char *)"SoPackedColor_orderedRGBA_set(SoPackedColor self, SoMFUInt32 orderedRGBA)"}, - { (char *)"SoPackedColor_orderedRGBA_get", _wrap_SoPackedColor_orderedRGBA_get, METH_VARARGS, (char *)"SoPackedColor_orderedRGBA_get(SoPackedColor self) -> SoMFUInt32"}, - { (char *)"SoPackedColor_doAction", _wrap_SoPackedColor_doAction, METH_VARARGS, (char *)"SoPackedColor_doAction(SoPackedColor self, SoAction action)"}, - { (char *)"SoPackedColor_GLRender", _wrap_SoPackedColor_GLRender, METH_VARARGS, (char *)"SoPackedColor_GLRender(SoPackedColor self, SoGLRenderAction action)"}, - { (char *)"SoPackedColor_callback", _wrap_SoPackedColor_callback, METH_VARARGS, (char *)"SoPackedColor_callback(SoPackedColor self, SoCallbackAction action)"}, - { (char *)"SoPackedColor_isTransparent", _wrap_SoPackedColor_isTransparent, METH_VARARGS, (char *)"SoPackedColor_isTransparent(SoPackedColor self) -> SbBool"}, - { (char *)"SoPackedColor_swigregister", SoPackedColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPolygonOffset_getClassTypeId", _wrap_SoPolygonOffset_getClassTypeId, METH_VARARGS, (char *)"SoPolygonOffset_getClassTypeId() -> SoType"}, - { (char *)"SoPolygonOffset_getTypeId", _wrap_SoPolygonOffset_getTypeId, METH_VARARGS, (char *)"SoPolygonOffset_getTypeId(SoPolygonOffset self) -> SoType"}, - { (char *)"SoPolygonOffset_initClass", _wrap_SoPolygonOffset_initClass, METH_VARARGS, (char *)"SoPolygonOffset_initClass()"}, - { (char *)"new_SoPolygonOffset", _wrap_new_SoPolygonOffset, METH_VARARGS, (char *)"new_SoPolygonOffset() -> SoPolygonOffset"}, - { (char *)"SoPolygonOffset_factor_set", _wrap_SoPolygonOffset_factor_set, METH_VARARGS, (char *)"SoPolygonOffset_factor_set(SoPolygonOffset self, SoSFFloat factor)"}, - { (char *)"SoPolygonOffset_factor_get", _wrap_SoPolygonOffset_factor_get, METH_VARARGS, (char *)"SoPolygonOffset_factor_get(SoPolygonOffset self) -> SoSFFloat"}, - { (char *)"SoPolygonOffset_units_set", _wrap_SoPolygonOffset_units_set, METH_VARARGS, (char *)"SoPolygonOffset_units_set(SoPolygonOffset self, SoSFFloat units)"}, - { (char *)"SoPolygonOffset_units_get", _wrap_SoPolygonOffset_units_get, METH_VARARGS, (char *)"SoPolygonOffset_units_get(SoPolygonOffset self) -> SoSFFloat"}, - { (char *)"SoPolygonOffset_styles_set", _wrap_SoPolygonOffset_styles_set, METH_VARARGS, (char *)"SoPolygonOffset_styles_set(SoPolygonOffset self, SoSFBitMask styles)"}, - { (char *)"SoPolygonOffset_styles_get", _wrap_SoPolygonOffset_styles_get, METH_VARARGS, (char *)"SoPolygonOffset_styles_get(SoPolygonOffset self) -> SoSFBitMask"}, - { (char *)"SoPolygonOffset_on_set", _wrap_SoPolygonOffset_on_set, METH_VARARGS, (char *)"SoPolygonOffset_on_set(SoPolygonOffset self, SoSFBool on)"}, - { (char *)"SoPolygonOffset_on_get", _wrap_SoPolygonOffset_on_get, METH_VARARGS, (char *)"SoPolygonOffset_on_get(SoPolygonOffset self) -> SoSFBool"}, - { (char *)"SoPolygonOffset_doAction", _wrap_SoPolygonOffset_doAction, METH_VARARGS, (char *)"SoPolygonOffset_doAction(SoPolygonOffset self, SoAction action)"}, - { (char *)"SoPolygonOffset_callback", _wrap_SoPolygonOffset_callback, METH_VARARGS, (char *)"SoPolygonOffset_callback(SoPolygonOffset self, SoCallbackAction action)"}, - { (char *)"SoPolygonOffset_GLRender", _wrap_SoPolygonOffset_GLRender, METH_VARARGS, (char *)"SoPolygonOffset_GLRender(SoPolygonOffset self, SoGLRenderAction action)"}, - { (char *)"SoPolygonOffset_swigregister", SoPolygonOffset_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinate2_getClassTypeId", _wrap_SoProfileCoordinate2_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinate2_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinate2_getTypeId", _wrap_SoProfileCoordinate2_getTypeId, METH_VARARGS, (char *)"SoProfileCoordinate2_getTypeId(SoProfileCoordinate2 self) -> SoType"}, - { (char *)"SoProfileCoordinate2_initClass", _wrap_SoProfileCoordinate2_initClass, METH_VARARGS, (char *)"SoProfileCoordinate2_initClass()"}, - { (char *)"new_SoProfileCoordinate2", _wrap_new_SoProfileCoordinate2, METH_VARARGS, (char *)"new_SoProfileCoordinate2() -> SoProfileCoordinate2"}, - { (char *)"SoProfileCoordinate2_point_set", _wrap_SoProfileCoordinate2_point_set, METH_VARARGS, (char *)"SoProfileCoordinate2_point_set(SoProfileCoordinate2 self, SoMFVec2f point)"}, - { (char *)"SoProfileCoordinate2_point_get", _wrap_SoProfileCoordinate2_point_get, METH_VARARGS, (char *)"SoProfileCoordinate2_point_get(SoProfileCoordinate2 self) -> SoMFVec2f"}, - { (char *)"SoProfileCoordinate2_doAction", _wrap_SoProfileCoordinate2_doAction, METH_VARARGS, (char *)"SoProfileCoordinate2_doAction(SoProfileCoordinate2 self, SoAction action)"}, - { (char *)"SoProfileCoordinate2_GLRender", _wrap_SoProfileCoordinate2_GLRender, METH_VARARGS, (char *)"SoProfileCoordinate2_GLRender(SoProfileCoordinate2 self, SoGLRenderAction action)"}, - { (char *)"SoProfileCoordinate2_callback", _wrap_SoProfileCoordinate2_callback, METH_VARARGS, (char *)"SoProfileCoordinate2_callback(SoProfileCoordinate2 self, SoCallbackAction action)"}, - { (char *)"SoProfileCoordinate2_pick", _wrap_SoProfileCoordinate2_pick, METH_VARARGS, (char *)"SoProfileCoordinate2_pick(SoProfileCoordinate2 self, SoPickAction action)"}, - { (char *)"SoProfileCoordinate2_getBoundingBox", _wrap_SoProfileCoordinate2_getBoundingBox, METH_VARARGS, (char *)"SoProfileCoordinate2_getBoundingBox(SoProfileCoordinate2 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoProfileCoordinate2_getPrimitiveCount", _wrap_SoProfileCoordinate2_getPrimitiveCount, METH_VARARGS, (char *)"SoProfileCoordinate2_getPrimitiveCount(SoProfileCoordinate2 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfileCoordinate2_swigregister", SoProfileCoordinate2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinate3_getClassTypeId", _wrap_SoProfileCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinate3_getTypeId", _wrap_SoProfileCoordinate3_getTypeId, METH_VARARGS, (char *)"SoProfileCoordinate3_getTypeId(SoProfileCoordinate3 self) -> SoType"}, - { (char *)"SoProfileCoordinate3_initClass", _wrap_SoProfileCoordinate3_initClass, METH_VARARGS, (char *)"SoProfileCoordinate3_initClass()"}, - { (char *)"new_SoProfileCoordinate3", _wrap_new_SoProfileCoordinate3, METH_VARARGS, (char *)"new_SoProfileCoordinate3() -> SoProfileCoordinate3"}, - { (char *)"SoProfileCoordinate3_point_set", _wrap_SoProfileCoordinate3_point_set, METH_VARARGS, (char *)"SoProfileCoordinate3_point_set(SoProfileCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoProfileCoordinate3_point_get", _wrap_SoProfileCoordinate3_point_get, METH_VARARGS, (char *)"SoProfileCoordinate3_point_get(SoProfileCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoProfileCoordinate3_doAction", _wrap_SoProfileCoordinate3_doAction, METH_VARARGS, (char *)"SoProfileCoordinate3_doAction(SoProfileCoordinate3 self, SoAction action)"}, - { (char *)"SoProfileCoordinate3_GLRender", _wrap_SoProfileCoordinate3_GLRender, METH_VARARGS, (char *)"SoProfileCoordinate3_GLRender(SoProfileCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoProfileCoordinate3_callback", _wrap_SoProfileCoordinate3_callback, METH_VARARGS, (char *)"SoProfileCoordinate3_callback(SoProfileCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoProfileCoordinate3_pick", _wrap_SoProfileCoordinate3_pick, METH_VARARGS, (char *)"SoProfileCoordinate3_pick(SoProfileCoordinate3 self, SoPickAction action)"}, - { (char *)"SoProfileCoordinate3_getBoundingBox", _wrap_SoProfileCoordinate3_getBoundingBox, METH_VARARGS, (char *)"SoProfileCoordinate3_getBoundingBox(SoProfileCoordinate3 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoProfileCoordinate3_getPrimitiveCount", _wrap_SoProfileCoordinate3_getPrimitiveCount, METH_VARARGS, (char *)"SoProfileCoordinate3_getPrimitiveCount(SoProfileCoordinate3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfileCoordinate3_swigregister", SoProfileCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3_getClassTypeId", _wrap_SoTexture3_getClassTypeId, METH_VARARGS, (char *)"SoTexture3_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3_getTypeId", _wrap_SoTexture3_getTypeId, METH_VARARGS, (char *)"SoTexture3_getTypeId(SoTexture3 self) -> SoType"}, - { (char *)"SoTexture3_initClass", _wrap_SoTexture3_initClass, METH_VARARGS, (char *)"SoTexture3_initClass()"}, - { (char *)"new_SoTexture3", _wrap_new_SoTexture3, METH_VARARGS, (char *)"new_SoTexture3() -> SoTexture3"}, - { (char *)"SoTexture3_filenames_set", _wrap_SoTexture3_filenames_set, METH_VARARGS, (char *)"SoTexture3_filenames_set(SoTexture3 self, SoMFString filenames)"}, - { (char *)"SoTexture3_filenames_get", _wrap_SoTexture3_filenames_get, METH_VARARGS, (char *)"SoTexture3_filenames_get(SoTexture3 self) -> SoMFString"}, - { (char *)"SoTexture3_images_set", _wrap_SoTexture3_images_set, METH_VARARGS, (char *)"SoTexture3_images_set(SoTexture3 self, SoSFImage3 images)"}, - { (char *)"SoTexture3_images_get", _wrap_SoTexture3_images_get, METH_VARARGS, (char *)"SoTexture3_images_get(SoTexture3 self) -> SoSFImage3"}, - { (char *)"SoTexture3_wrapR_set", _wrap_SoTexture3_wrapR_set, METH_VARARGS, (char *)"SoTexture3_wrapR_set(SoTexture3 self, SoSFEnum wrapR)"}, - { (char *)"SoTexture3_wrapR_get", _wrap_SoTexture3_wrapR_get, METH_VARARGS, (char *)"SoTexture3_wrapR_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_wrapS_set", _wrap_SoTexture3_wrapS_set, METH_VARARGS, (char *)"SoTexture3_wrapS_set(SoTexture3 self, SoSFEnum wrapS)"}, - { (char *)"SoTexture3_wrapS_get", _wrap_SoTexture3_wrapS_get, METH_VARARGS, (char *)"SoTexture3_wrapS_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_wrapT_set", _wrap_SoTexture3_wrapT_set, METH_VARARGS, (char *)"SoTexture3_wrapT_set(SoTexture3 self, SoSFEnum wrapT)"}, - { (char *)"SoTexture3_wrapT_get", _wrap_SoTexture3_wrapT_get, METH_VARARGS, (char *)"SoTexture3_wrapT_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_model_set", _wrap_SoTexture3_model_set, METH_VARARGS, (char *)"SoTexture3_model_set(SoTexture3 self, SoSFEnum model)"}, - { (char *)"SoTexture3_model_get", _wrap_SoTexture3_model_get, METH_VARARGS, (char *)"SoTexture3_model_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_blendColor_set", _wrap_SoTexture3_blendColor_set, METH_VARARGS, (char *)"SoTexture3_blendColor_set(SoTexture3 self, SoSFColor blendColor)"}, - { (char *)"SoTexture3_blendColor_get", _wrap_SoTexture3_blendColor_get, METH_VARARGS, (char *)"SoTexture3_blendColor_get(SoTexture3 self) -> SoSFColor"}, - { (char *)"SoTexture3_enableCompressedTexture_set", _wrap_SoTexture3_enableCompressedTexture_set, METH_VARARGS, (char *)"SoTexture3_enableCompressedTexture_set(SoTexture3 self, SoSFBool enableCompressedTexture)"}, - { (char *)"SoTexture3_enableCompressedTexture_get", _wrap_SoTexture3_enableCompressedTexture_get, METH_VARARGS, (char *)"SoTexture3_enableCompressedTexture_get(SoTexture3 self) -> SoSFBool"}, - { (char *)"SoTexture3_doAction", _wrap_SoTexture3_doAction, METH_VARARGS, (char *)"SoTexture3_doAction(SoTexture3 self, SoAction action)"}, - { (char *)"SoTexture3_GLRender", _wrap_SoTexture3_GLRender, METH_VARARGS, (char *)"SoTexture3_GLRender(SoTexture3 self, SoGLRenderAction action)"}, - { (char *)"SoTexture3_callback", _wrap_SoTexture3_callback, METH_VARARGS, (char *)"SoTexture3_callback(SoTexture3 self, SoCallbackAction action)"}, - { (char *)"SoTexture3_swigregister", SoTexture3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture2Transform_getClassTypeId", _wrap_SoTexture2Transform_getClassTypeId, METH_VARARGS, (char *)"SoTexture2Transform_getClassTypeId() -> SoType"}, - { (char *)"SoTexture2Transform_getTypeId", _wrap_SoTexture2Transform_getTypeId, METH_VARARGS, (char *)"SoTexture2Transform_getTypeId(SoTexture2Transform self) -> SoType"}, - { (char *)"SoTexture2Transform_initClass", _wrap_SoTexture2Transform_initClass, METH_VARARGS, (char *)"SoTexture2Transform_initClass()"}, - { (char *)"new_SoTexture2Transform", _wrap_new_SoTexture2Transform, METH_VARARGS, (char *)"new_SoTexture2Transform() -> SoTexture2Transform"}, - { (char *)"SoTexture2Transform_translation_set", _wrap_SoTexture2Transform_translation_set, METH_VARARGS, (char *)"SoTexture2Transform_translation_set(SoTexture2Transform self, SoSFVec2f translation)"}, - { (char *)"SoTexture2Transform_translation_get", _wrap_SoTexture2Transform_translation_get, METH_VARARGS, (char *)"SoTexture2Transform_translation_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_rotation_set", _wrap_SoTexture2Transform_rotation_set, METH_VARARGS, (char *)"SoTexture2Transform_rotation_set(SoTexture2Transform self, SoSFFloat rotation)"}, - { (char *)"SoTexture2Transform_rotation_get", _wrap_SoTexture2Transform_rotation_get, METH_VARARGS, (char *)"SoTexture2Transform_rotation_get(SoTexture2Transform self) -> SoSFFloat"}, - { (char *)"SoTexture2Transform_scaleFactor_set", _wrap_SoTexture2Transform_scaleFactor_set, METH_VARARGS, (char *)"SoTexture2Transform_scaleFactor_set(SoTexture2Transform self, SoSFVec2f scaleFactor)"}, - { (char *)"SoTexture2Transform_scaleFactor_get", _wrap_SoTexture2Transform_scaleFactor_get, METH_VARARGS, (char *)"SoTexture2Transform_scaleFactor_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_center_set", _wrap_SoTexture2Transform_center_set, METH_VARARGS, (char *)"SoTexture2Transform_center_set(SoTexture2Transform self, SoSFVec2f center)"}, - { (char *)"SoTexture2Transform_center_get", _wrap_SoTexture2Transform_center_get, METH_VARARGS, (char *)"SoTexture2Transform_center_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_doAction", _wrap_SoTexture2Transform_doAction, METH_VARARGS, (char *)"SoTexture2Transform_doAction(SoTexture2Transform self, SoAction action)"}, - { (char *)"SoTexture2Transform_callback", _wrap_SoTexture2Transform_callback, METH_VARARGS, (char *)"SoTexture2Transform_callback(SoTexture2Transform self, SoCallbackAction action)"}, - { (char *)"SoTexture2Transform_GLRender", _wrap_SoTexture2Transform_GLRender, METH_VARARGS, (char *)"SoTexture2Transform_GLRender(SoTexture2Transform self, SoGLRenderAction action)"}, - { (char *)"SoTexture2Transform_getMatrix", _wrap_SoTexture2Transform_getMatrix, METH_VARARGS, (char *)"SoTexture2Transform_getMatrix(SoTexture2Transform self, SoGetMatrixAction action)"}, - { (char *)"SoTexture2Transform_pick", _wrap_SoTexture2Transform_pick, METH_VARARGS, (char *)"SoTexture2Transform_pick(SoTexture2Transform self, SoPickAction action)"}, - { (char *)"SoTexture2Transform_swigregister", SoTexture2Transform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3Transform_getClassTypeId", _wrap_SoTexture3Transform_getClassTypeId, METH_VARARGS, (char *)"SoTexture3Transform_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3Transform_getTypeId", _wrap_SoTexture3Transform_getTypeId, METH_VARARGS, (char *)"SoTexture3Transform_getTypeId(SoTexture3Transform self) -> SoType"}, - { (char *)"SoTexture3Transform_initClass", _wrap_SoTexture3Transform_initClass, METH_VARARGS, (char *)"SoTexture3Transform_initClass()"}, - { (char *)"new_SoTexture3Transform", _wrap_new_SoTexture3Transform, METH_VARARGS, (char *)"new_SoTexture3Transform() -> SoTexture3Transform"}, - { (char *)"SoTexture3Transform_translation_set", _wrap_SoTexture3Transform_translation_set, METH_VARARGS, (char *)"SoTexture3Transform_translation_set(SoTexture3Transform self, SoSFVec3f translation)"}, - { (char *)"SoTexture3Transform_translation_get", _wrap_SoTexture3Transform_translation_get, METH_VARARGS, (char *)"SoTexture3Transform_translation_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_rotation_set", _wrap_SoTexture3Transform_rotation_set, METH_VARARGS, (char *)"SoTexture3Transform_rotation_set(SoTexture3Transform self, SoSFRotation rotation)"}, - { (char *)"SoTexture3Transform_rotation_get", _wrap_SoTexture3Transform_rotation_get, METH_VARARGS, (char *)"SoTexture3Transform_rotation_get(SoTexture3Transform self) -> SoSFRotation"}, - { (char *)"SoTexture3Transform_scaleFactor_set", _wrap_SoTexture3Transform_scaleFactor_set, METH_VARARGS, (char *)"SoTexture3Transform_scaleFactor_set(SoTexture3Transform self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTexture3Transform_scaleFactor_get", _wrap_SoTexture3Transform_scaleFactor_get, METH_VARARGS, (char *)"SoTexture3Transform_scaleFactor_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_scaleOrientation_set", _wrap_SoTexture3Transform_scaleOrientation_set, METH_VARARGS, (char *)"SoTexture3Transform_scaleOrientation_set(SoTexture3Transform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoTexture3Transform_scaleOrientation_get", _wrap_SoTexture3Transform_scaleOrientation_get, METH_VARARGS, (char *)"SoTexture3Transform_scaleOrientation_get(SoTexture3Transform self) -> SoSFRotation"}, - { (char *)"SoTexture3Transform_center_set", _wrap_SoTexture3Transform_center_set, METH_VARARGS, (char *)"SoTexture3Transform_center_set(SoTexture3Transform self, SoSFVec3f center)"}, - { (char *)"SoTexture3Transform_center_get", _wrap_SoTexture3Transform_center_get, METH_VARARGS, (char *)"SoTexture3Transform_center_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_doAction", _wrap_SoTexture3Transform_doAction, METH_VARARGS, (char *)"SoTexture3Transform_doAction(SoTexture3Transform self, SoAction action)"}, - { (char *)"SoTexture3Transform_callback", _wrap_SoTexture3Transform_callback, METH_VARARGS, (char *)"SoTexture3Transform_callback(SoTexture3Transform self, SoCallbackAction action)"}, - { (char *)"SoTexture3Transform_GLRender", _wrap_SoTexture3Transform_GLRender, METH_VARARGS, (char *)"SoTexture3Transform_GLRender(SoTexture3Transform self, SoGLRenderAction action)"}, - { (char *)"SoTexture3Transform_getMatrix", _wrap_SoTexture3Transform_getMatrix, METH_VARARGS, (char *)"SoTexture3Transform_getMatrix(SoTexture3Transform self, SoGetMatrixAction action)"}, - { (char *)"SoTexture3Transform_pick", _wrap_SoTexture3Transform_pick, METH_VARARGS, (char *)"SoTexture3Transform_pick(SoTexture3Transform self, SoPickAction action)"}, - { (char *)"SoTexture3Transform_swigregister", SoTexture3Transform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinate2_getClassTypeId", _wrap_SoTextureCoordinate2_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinate2_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinate2_getTypeId", _wrap_SoTextureCoordinate2_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinate2_getTypeId(SoTextureCoordinate2 self) -> SoType"}, - { (char *)"SoTextureCoordinate2_initClass", _wrap_SoTextureCoordinate2_initClass, METH_VARARGS, (char *)"SoTextureCoordinate2_initClass()"}, - { (char *)"new_SoTextureCoordinate2", _wrap_new_SoTextureCoordinate2, METH_VARARGS, (char *)"new_SoTextureCoordinate2() -> SoTextureCoordinate2"}, - { (char *)"SoTextureCoordinate2_point_set", _wrap_SoTextureCoordinate2_point_set, METH_VARARGS, (char *)"SoTextureCoordinate2_point_set(SoTextureCoordinate2 self, SoMFVec2f point)"}, - { (char *)"SoTextureCoordinate2_point_get", _wrap_SoTextureCoordinate2_point_get, METH_VARARGS, (char *)"SoTextureCoordinate2_point_get(SoTextureCoordinate2 self) -> SoMFVec2f"}, - { (char *)"SoTextureCoordinate2_doAction", _wrap_SoTextureCoordinate2_doAction, METH_VARARGS, (char *)"SoTextureCoordinate2_doAction(SoTextureCoordinate2 self, SoAction action)"}, - { (char *)"SoTextureCoordinate2_GLRender", _wrap_SoTextureCoordinate2_GLRender, METH_VARARGS, (char *)"SoTextureCoordinate2_GLRender(SoTextureCoordinate2 self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinate2_callback", _wrap_SoTextureCoordinate2_callback, METH_VARARGS, (char *)"SoTextureCoordinate2_callback(SoTextureCoordinate2 self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinate2_pick", _wrap_SoTextureCoordinate2_pick, METH_VARARGS, (char *)"SoTextureCoordinate2_pick(SoTextureCoordinate2 self, SoPickAction action)"}, - { (char *)"SoTextureCoordinate2_swigregister", SoTextureCoordinate2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinate3_getClassTypeId", _wrap_SoTextureCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinate3_getTypeId", _wrap_SoTextureCoordinate3_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinate3_getTypeId(SoTextureCoordinate3 self) -> SoType"}, - { (char *)"SoTextureCoordinate3_initClass", _wrap_SoTextureCoordinate3_initClass, METH_VARARGS, (char *)"SoTextureCoordinate3_initClass()"}, - { (char *)"new_SoTextureCoordinate3", _wrap_new_SoTextureCoordinate3, METH_VARARGS, (char *)"new_SoTextureCoordinate3() -> SoTextureCoordinate3"}, - { (char *)"SoTextureCoordinate3_point_set", _wrap_SoTextureCoordinate3_point_set, METH_VARARGS, (char *)"SoTextureCoordinate3_point_set(SoTextureCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoTextureCoordinate3_point_get", _wrap_SoTextureCoordinate3_point_get, METH_VARARGS, (char *)"SoTextureCoordinate3_point_get(SoTextureCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoTextureCoordinate3_doAction", _wrap_SoTextureCoordinate3_doAction, METH_VARARGS, (char *)"SoTextureCoordinate3_doAction(SoTextureCoordinate3 self, SoAction action)"}, - { (char *)"SoTextureCoordinate3_GLRender", _wrap_SoTextureCoordinate3_GLRender, METH_VARARGS, (char *)"SoTextureCoordinate3_GLRender(SoTextureCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinate3_callback", _wrap_SoTextureCoordinate3_callback, METH_VARARGS, (char *)"SoTextureCoordinate3_callback(SoTextureCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinate3_pick", _wrap_SoTextureCoordinate3_pick, METH_VARARGS, (char *)"SoTextureCoordinate3_pick(SoTextureCoordinate3 self, SoPickAction action)"}, - { (char *)"SoTextureCoordinate3_swigregister", SoTextureCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateFunction_getClassTypeId", _wrap_SoTextureCoordinateFunction_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateFunction_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateFunction_getTypeId", _wrap_SoTextureCoordinateFunction_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateFunction_getTypeId(SoTextureCoordinateFunction self) -> SoType"}, - { (char *)"SoTextureCoordinateFunction_initClass", _wrap_SoTextureCoordinateFunction_initClass, METH_VARARGS, (char *)"SoTextureCoordinateFunction_initClass()"}, - { (char *)"new_SoTextureCoordinateFunction", _wrap_new_SoTextureCoordinateFunction, METH_VARARGS, (char *)"new_SoTextureCoordinateFunction() -> SoTextureCoordinateFunction"}, - { (char *)"SoTextureCoordinateFunction_swigregister", SoTextureCoordinateFunction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateDefault_getClassTypeId", _wrap_SoTextureCoordinateDefault_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateDefault_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateDefault_getTypeId", _wrap_SoTextureCoordinateDefault_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateDefault_getTypeId(SoTextureCoordinateDefault self) -> SoType"}, - { (char *)"SoTextureCoordinateDefault_initClass", _wrap_SoTextureCoordinateDefault_initClass, METH_VARARGS, (char *)"SoTextureCoordinateDefault_initClass()"}, - { (char *)"new_SoTextureCoordinateDefault", _wrap_new_SoTextureCoordinateDefault, METH_VARARGS, (char *)"new_SoTextureCoordinateDefault() -> SoTextureCoordinateDefault"}, - { (char *)"SoTextureCoordinateDefault_doAction", _wrap_SoTextureCoordinateDefault_doAction, METH_VARARGS, (char *)"SoTextureCoordinateDefault_doAction(SoTextureCoordinateDefault self, SoAction action)"}, - { (char *)"SoTextureCoordinateDefault_GLRender", _wrap_SoTextureCoordinateDefault_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateDefault_GLRender(SoTextureCoordinateDefault self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateDefault_callback", _wrap_SoTextureCoordinateDefault_callback, METH_VARARGS, (char *)"SoTextureCoordinateDefault_callback(SoTextureCoordinateDefault self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateDefault_pick", _wrap_SoTextureCoordinateDefault_pick, METH_VARARGS, (char *)"SoTextureCoordinateDefault_pick(SoTextureCoordinateDefault self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateDefault_swigregister", SoTextureCoordinateDefault_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateEnvironment_getClassTypeId", _wrap_SoTextureCoordinateEnvironment_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateEnvironment_getTypeId", _wrap_SoTextureCoordinateEnvironment_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_getTypeId(SoTextureCoordinateEnvironment self) -> SoType"}, - { (char *)"SoTextureCoordinateEnvironment_initClass", _wrap_SoTextureCoordinateEnvironment_initClass, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_initClass()"}, - { (char *)"new_SoTextureCoordinateEnvironment", _wrap_new_SoTextureCoordinateEnvironment, METH_VARARGS, (char *)"new_SoTextureCoordinateEnvironment() -> SoTextureCoordinateEnvironment"}, - { (char *)"SoTextureCoordinateEnvironment_doAction", _wrap_SoTextureCoordinateEnvironment_doAction, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_doAction(SoTextureCoordinateEnvironment self, SoAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_GLRender", _wrap_SoTextureCoordinateEnvironment_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_GLRender(SoTextureCoordinateEnvironment self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_pick", _wrap_SoTextureCoordinateEnvironment_pick, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_pick(SoTextureCoordinateEnvironment self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_callback", _wrap_SoTextureCoordinateEnvironment_callback, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_callback(SoTextureCoordinateEnvironment self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_swigregister", SoTextureCoordinateEnvironment_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinatePlane_getClassTypeId", _wrap_SoTextureCoordinatePlane_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinatePlane_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinatePlane_getTypeId", _wrap_SoTextureCoordinatePlane_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinatePlane_getTypeId(SoTextureCoordinatePlane self) -> SoType"}, - { (char *)"SoTextureCoordinatePlane_initClass", _wrap_SoTextureCoordinatePlane_initClass, METH_VARARGS, (char *)"SoTextureCoordinatePlane_initClass()"}, - { (char *)"new_SoTextureCoordinatePlane", _wrap_new_SoTextureCoordinatePlane, METH_VARARGS, (char *)"new_SoTextureCoordinatePlane() -> SoTextureCoordinatePlane"}, - { (char *)"SoTextureCoordinatePlane_directionS_set", _wrap_SoTextureCoordinatePlane_directionS_set, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionS_set(SoTextureCoordinatePlane self, SoSFVec3f directionS)"}, - { (char *)"SoTextureCoordinatePlane_directionS_get", _wrap_SoTextureCoordinatePlane_directionS_get, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionS_get(SoTextureCoordinatePlane self) -> SoSFVec3f"}, - { (char *)"SoTextureCoordinatePlane_directionT_set", _wrap_SoTextureCoordinatePlane_directionT_set, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionT_set(SoTextureCoordinatePlane self, SoSFVec3f directionT)"}, - { (char *)"SoTextureCoordinatePlane_directionT_get", _wrap_SoTextureCoordinatePlane_directionT_get, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionT_get(SoTextureCoordinatePlane self) -> SoSFVec3f"}, - { (char *)"SoTextureCoordinatePlane_directionR_set", _wrap_SoTextureCoordinatePlane_directionR_set, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionR_set(SoTextureCoordinatePlane self, SoSFVec3f directionR)"}, - { (char *)"SoTextureCoordinatePlane_directionR_get", _wrap_SoTextureCoordinatePlane_directionR_get, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionR_get(SoTextureCoordinatePlane self) -> SoSFVec3f"}, - { (char *)"SoTextureCoordinatePlane_doAction", _wrap_SoTextureCoordinatePlane_doAction, METH_VARARGS, (char *)"SoTextureCoordinatePlane_doAction(SoTextureCoordinatePlane self, SoAction action)"}, - { (char *)"SoTextureCoordinatePlane_GLRender", _wrap_SoTextureCoordinatePlane_GLRender, METH_VARARGS, (char *)"SoTextureCoordinatePlane_GLRender(SoTextureCoordinatePlane self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinatePlane_pick", _wrap_SoTextureCoordinatePlane_pick, METH_VARARGS, (char *)"SoTextureCoordinatePlane_pick(SoTextureCoordinatePlane self, SoPickAction action)"}, - { (char *)"SoTextureCoordinatePlane_callback", _wrap_SoTextureCoordinatePlane_callback, METH_VARARGS, (char *)"SoTextureCoordinatePlane_callback(SoTextureCoordinatePlane self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinatePlane_swigregister", SoTextureCoordinatePlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureMatrixTransform_getClassTypeId", _wrap_SoTextureMatrixTransform_getClassTypeId, METH_VARARGS, (char *)"SoTextureMatrixTransform_getClassTypeId() -> SoType"}, - { (char *)"SoTextureMatrixTransform_getTypeId", _wrap_SoTextureMatrixTransform_getTypeId, METH_VARARGS, (char *)"SoTextureMatrixTransform_getTypeId(SoTextureMatrixTransform self) -> SoType"}, - { (char *)"SoTextureMatrixTransform_initClass", _wrap_SoTextureMatrixTransform_initClass, METH_VARARGS, (char *)"SoTextureMatrixTransform_initClass()"}, - { (char *)"new_SoTextureMatrixTransform", _wrap_new_SoTextureMatrixTransform, METH_VARARGS, (char *)"new_SoTextureMatrixTransform() -> SoTextureMatrixTransform"}, - { (char *)"SoTextureMatrixTransform_matrix_set", _wrap_SoTextureMatrixTransform_matrix_set, METH_VARARGS, (char *)"SoTextureMatrixTransform_matrix_set(SoTextureMatrixTransform self, SoSFMatrix matrix)"}, - { (char *)"SoTextureMatrixTransform_matrix_get", _wrap_SoTextureMatrixTransform_matrix_get, METH_VARARGS, (char *)"SoTextureMatrixTransform_matrix_get(SoTextureMatrixTransform self) -> SoSFMatrix"}, - { (char *)"SoTextureMatrixTransform_doAction", _wrap_SoTextureMatrixTransform_doAction, METH_VARARGS, (char *)"SoTextureMatrixTransform_doAction(SoTextureMatrixTransform self, SoAction action)"}, - { (char *)"SoTextureMatrixTransform_callback", _wrap_SoTextureMatrixTransform_callback, METH_VARARGS, (char *)"SoTextureMatrixTransform_callback(SoTextureMatrixTransform self, SoCallbackAction action)"}, - { (char *)"SoTextureMatrixTransform_GLRender", _wrap_SoTextureMatrixTransform_GLRender, METH_VARARGS, (char *)"SoTextureMatrixTransform_GLRender(SoTextureMatrixTransform self, SoGLRenderAction action)"}, - { (char *)"SoTextureMatrixTransform_getMatrix", _wrap_SoTextureMatrixTransform_getMatrix, METH_VARARGS, (char *)"SoTextureMatrixTransform_getMatrix(SoTextureMatrixTransform self, SoGetMatrixAction action)"}, - { (char *)"SoTextureMatrixTransform_pick", _wrap_SoTextureMatrixTransform_pick, METH_VARARGS, (char *)"SoTextureMatrixTransform_pick(SoTextureMatrixTransform self, SoPickAction action)"}, - { (char *)"SoTextureMatrixTransform_swigregister", SoTextureMatrixTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWWWInline_getClassTypeId", _wrap_SoWWWInline_getClassTypeId, METH_VARARGS, (char *)"SoWWWInline_getClassTypeId() -> SoType"}, - { (char *)"SoWWWInline_getTypeId", _wrap_SoWWWInline_getTypeId, METH_VARARGS, (char *)"SoWWWInline_getTypeId(SoWWWInline self) -> SoType"}, - { (char *)"SoWWWInline_initClass", _wrap_SoWWWInline_initClass, METH_VARARGS, (char *)"SoWWWInline_initClass()"}, - { (char *)"new_SoWWWInline", _wrap_new_SoWWWInline, METH_VARARGS, (char *)"new_SoWWWInline() -> SoWWWInline"}, - { (char *)"SoWWWInline_name_set", _wrap_SoWWWInline_name_set, METH_VARARGS, (char *)"SoWWWInline_name_set(SoWWWInline self, SoSFString name)"}, - { (char *)"SoWWWInline_name_get", _wrap_SoWWWInline_name_get, METH_VARARGS, (char *)"SoWWWInline_name_get(SoWWWInline self) -> SoSFString"}, - { (char *)"SoWWWInline_bboxCenter_set", _wrap_SoWWWInline_bboxCenter_set, METH_VARARGS, (char *)"SoWWWInline_bboxCenter_set(SoWWWInline self, SoSFVec3f bboxCenter)"}, - { (char *)"SoWWWInline_bboxCenter_get", _wrap_SoWWWInline_bboxCenter_get, METH_VARARGS, (char *)"SoWWWInline_bboxCenter_get(SoWWWInline self) -> SoSFVec3f"}, - { (char *)"SoWWWInline_bboxSize_set", _wrap_SoWWWInline_bboxSize_set, METH_VARARGS, (char *)"SoWWWInline_bboxSize_set(SoWWWInline self, SoSFVec3f bboxSize)"}, - { (char *)"SoWWWInline_bboxSize_get", _wrap_SoWWWInline_bboxSize_get, METH_VARARGS, (char *)"SoWWWInline_bboxSize_get(SoWWWInline self) -> SoSFVec3f"}, - { (char *)"SoWWWInline_alternateRep_set", _wrap_SoWWWInline_alternateRep_set, METH_VARARGS, (char *)"SoWWWInline_alternateRep_set(SoWWWInline self, SoSFNode alternateRep)"}, - { (char *)"SoWWWInline_alternateRep_get", _wrap_SoWWWInline_alternateRep_get, METH_VARARGS, (char *)"SoWWWInline_alternateRep_get(SoWWWInline self) -> SoSFNode"}, - { (char *)"SoWWWInline_setFullURLName", _wrap_SoWWWInline_setFullURLName, METH_VARARGS, (char *)"SoWWWInline_setFullURLName(SoWWWInline self, SbString url)"}, - { (char *)"SoWWWInline_getFullURLName", _wrap_SoWWWInline_getFullURLName, METH_VARARGS, (char *)"SoWWWInline_getFullURLName(SoWWWInline self) -> SbString"}, - { (char *)"SoWWWInline_copyChildren", _wrap_SoWWWInline_copyChildren, METH_VARARGS, (char *)"SoWWWInline_copyChildren(SoWWWInline self) -> SoGroup"}, - { (char *)"SoWWWInline_requestURLData", _wrap_SoWWWInline_requestURLData, METH_VARARGS, (char *)"SoWWWInline_requestURLData(SoWWWInline self)"}, - { (char *)"SoWWWInline_isURLDataRequested", _wrap_SoWWWInline_isURLDataRequested, METH_VARARGS, (char *)"SoWWWInline_isURLDataRequested(SoWWWInline self) -> SbBool"}, - { (char *)"SoWWWInline_isURLDataHere", _wrap_SoWWWInline_isURLDataHere, METH_VARARGS, (char *)"SoWWWInline_isURLDataHere(SoWWWInline self) -> SbBool"}, - { (char *)"SoWWWInline_cancelURLDataRequest", _wrap_SoWWWInline_cancelURLDataRequest, METH_VARARGS, (char *)"SoWWWInline_cancelURLDataRequest(SoWWWInline self)"}, - { (char *)"SoWWWInline_setChildData", _wrap_SoWWWInline_setChildData, METH_VARARGS, (char *)"SoWWWInline_setChildData(SoWWWInline self, SoNode urldata)"}, - { (char *)"SoWWWInline_getChildData", _wrap_SoWWWInline_getChildData, METH_VARARGS, (char *)"SoWWWInline_getChildData(SoWWWInline self) -> SoNode"}, - { (char *)"SoWWWInline_getChildren", _wrap_SoWWWInline_getChildren, METH_VARARGS, (char *)"SoWWWInline_getChildren(SoWWWInline self) -> SoChildList"}, - { (char *)"SoWWWInline_setFetchURLCallBack", _wrap_SoWWWInline_setFetchURLCallBack, METH_VARARGS, (char *)"SoWWWInline_setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)"}, - { (char *)"SoWWWInline_setBoundingBoxVisibility", _wrap_SoWWWInline_setBoundingBoxVisibility, METH_VARARGS, (char *)"SoWWWInline_setBoundingBoxVisibility(BboxVisibility b)"}, - { (char *)"SoWWWInline_getBoundingBoxVisibility", _wrap_SoWWWInline_getBoundingBoxVisibility, METH_VARARGS, (char *)"SoWWWInline_getBoundingBoxVisibility() -> BboxVisibility"}, - { (char *)"SoWWWInline_setBoundingBoxColor", _wrap_SoWWWInline_setBoundingBoxColor, METH_VARARGS, (char *)"SoWWWInline_setBoundingBoxColor(SbColor c)"}, - { (char *)"SoWWWInline_getBoundingBoxColor", _wrap_SoWWWInline_getBoundingBoxColor, METH_VARARGS, (char *)"SoWWWInline_getBoundingBoxColor() -> SbColor"}, - { (char *)"SoWWWInline_setReadAsSoFile", _wrap_SoWWWInline_setReadAsSoFile, METH_VARARGS, (char *)"SoWWWInline_setReadAsSoFile(SbBool onoff)"}, - { (char *)"SoWWWInline_getReadAsSoFile", _wrap_SoWWWInline_getReadAsSoFile, METH_VARARGS, (char *)"SoWWWInline_getReadAsSoFile() -> SbBool"}, - { (char *)"SoWWWInline_doAction", _wrap_SoWWWInline_doAction, METH_VARARGS, (char *)"SoWWWInline_doAction(SoWWWInline self, SoAction action)"}, - { (char *)"SoWWWInline_doActionOnKidsOrBox", _wrap_SoWWWInline_doActionOnKidsOrBox, METH_VARARGS, (char *)"SoWWWInline_doActionOnKidsOrBox(SoWWWInline self, SoAction action)"}, - { (char *)"SoWWWInline_callback", _wrap_SoWWWInline_callback, METH_VARARGS, (char *)"SoWWWInline_callback(SoWWWInline self, SoCallbackAction action)"}, - { (char *)"SoWWWInline_GLRender", _wrap_SoWWWInline_GLRender, METH_VARARGS, (char *)"SoWWWInline_GLRender(SoWWWInline self, SoGLRenderAction action)"}, - { (char *)"SoWWWInline_getBoundingBox", _wrap_SoWWWInline_getBoundingBox, METH_VARARGS, (char *)"SoWWWInline_getBoundingBox(SoWWWInline self, SoGetBoundingBoxAction action)"}, - { (char *)"SoWWWInline_getMatrix", _wrap_SoWWWInline_getMatrix, METH_VARARGS, (char *)"SoWWWInline_getMatrix(SoWWWInline self, SoGetMatrixAction action)"}, - { (char *)"SoWWWInline_handleEvent", _wrap_SoWWWInline_handleEvent, METH_VARARGS, (char *)"SoWWWInline_handleEvent(SoWWWInline self, SoHandleEventAction action)"}, - { (char *)"SoWWWInline_search", _wrap_SoWWWInline_search, METH_VARARGS, (char *)"SoWWWInline_search(SoWWWInline self, SoSearchAction action)"}, - { (char *)"SoWWWInline_pick", _wrap_SoWWWInline_pick, METH_VARARGS, (char *)"SoWWWInline_pick(SoWWWInline self, SoPickAction action)"}, - { (char *)"SoWWWInline_getPrimitiveCount", _wrap_SoWWWInline_getPrimitiveCount, METH_VARARGS, (char *)"SoWWWInline_getPrimitiveCount(SoWWWInline self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoWWWInline_audioRender", _wrap_SoWWWInline_audioRender, METH_VARARGS, (char *)"SoWWWInline_audioRender(SoWWWInline self, SoAudioRenderAction action)"}, - { (char *)"SoWWWInline_swigregister", SoWWWInline_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransparencyType_getClassTypeId", _wrap_SoTransparencyType_getClassTypeId, METH_VARARGS, (char *)"SoTransparencyType_getClassTypeId() -> SoType"}, - { (char *)"SoTransparencyType_getTypeId", _wrap_SoTransparencyType_getTypeId, METH_VARARGS, (char *)"SoTransparencyType_getTypeId(SoTransparencyType self) -> SoType"}, - { (char *)"SoTransparencyType_initClass", _wrap_SoTransparencyType_initClass, METH_VARARGS, (char *)"SoTransparencyType_initClass()"}, - { (char *)"new_SoTransparencyType", _wrap_new_SoTransparencyType, METH_VARARGS, (char *)"new_SoTransparencyType() -> SoTransparencyType"}, - { (char *)"SoTransparencyType_value_set", _wrap_SoTransparencyType_value_set, METH_VARARGS, (char *)"SoTransparencyType_value_set(SoTransparencyType self, SoSFEnum value)"}, - { (char *)"SoTransparencyType_value_get", _wrap_SoTransparencyType_value_get, METH_VARARGS, (char *)"SoTransparencyType_value_get(SoTransparencyType self) -> SoSFEnum"}, - { (char *)"SoTransparencyType_doAction", _wrap_SoTransparencyType_doAction, METH_VARARGS, (char *)"SoTransparencyType_doAction(SoTransparencyType self, SoAction action)"}, - { (char *)"SoTransparencyType_GLRender", _wrap_SoTransparencyType_GLRender, METH_VARARGS, (char *)"SoTransparencyType_GLRender(SoTransparencyType self, SoGLRenderAction action)"}, - { (char *)"SoTransparencyType_callback", _wrap_SoTransparencyType_callback, METH_VARARGS, (char *)"SoTransparencyType_callback(SoTransparencyType self, SoCallbackAction action)"}, - { (char *)"SoTransparencyType_swigregister", SoTransparencyType_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateCube_getClassTypeId", _wrap_SoTextureCoordinateCube_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCube_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateCube_getTypeId", _wrap_SoTextureCoordinateCube_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCube_getTypeId(SoTextureCoordinateCube self) -> SoType"}, - { (char *)"SoTextureCoordinateCube_initClass", _wrap_SoTextureCoordinateCube_initClass, METH_VARARGS, (char *)"SoTextureCoordinateCube_initClass()"}, - { (char *)"new_SoTextureCoordinateCube", _wrap_new_SoTextureCoordinateCube, METH_VARARGS, (char *)"new_SoTextureCoordinateCube() -> SoTextureCoordinateCube"}, - { (char *)"SoTextureCoordinateCube_doAction", _wrap_SoTextureCoordinateCube_doAction, METH_VARARGS, (char *)"SoTextureCoordinateCube_doAction(SoTextureCoordinateCube self, SoAction action)"}, - { (char *)"SoTextureCoordinateCube_GLRender", _wrap_SoTextureCoordinateCube_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateCube_GLRender(SoTextureCoordinateCube self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateCube_callback", _wrap_SoTextureCoordinateCube_callback, METH_VARARGS, (char *)"SoTextureCoordinateCube_callback(SoTextureCoordinateCube self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateCube_pick", _wrap_SoTextureCoordinateCube_pick, METH_VARARGS, (char *)"SoTextureCoordinateCube_pick(SoTextureCoordinateCube self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateCube_swigregister", SoTextureCoordinateCube_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateSphere_getClassTypeId", _wrap_SoTextureCoordinateSphere_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateSphere_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateSphere_getTypeId", _wrap_SoTextureCoordinateSphere_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateSphere_getTypeId(SoTextureCoordinateSphere self) -> SoType"}, - { (char *)"SoTextureCoordinateSphere_initClass", _wrap_SoTextureCoordinateSphere_initClass, METH_VARARGS, (char *)"SoTextureCoordinateSphere_initClass()"}, - { (char *)"new_SoTextureCoordinateSphere", _wrap_new_SoTextureCoordinateSphere, METH_VARARGS, (char *)"new_SoTextureCoordinateSphere() -> SoTextureCoordinateSphere"}, - { (char *)"SoTextureCoordinateSphere_doAction", _wrap_SoTextureCoordinateSphere_doAction, METH_VARARGS, (char *)"SoTextureCoordinateSphere_doAction(SoTextureCoordinateSphere self, SoAction action)"}, - { (char *)"SoTextureCoordinateSphere_GLRender", _wrap_SoTextureCoordinateSphere_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateSphere_GLRender(SoTextureCoordinateSphere self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateSphere_callback", _wrap_SoTextureCoordinateSphere_callback, METH_VARARGS, (char *)"SoTextureCoordinateSphere_callback(SoTextureCoordinateSphere self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateSphere_pick", _wrap_SoTextureCoordinateSphere_pick, METH_VARARGS, (char *)"SoTextureCoordinateSphere_pick(SoTextureCoordinateSphere self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateSphere_swigregister", SoTextureCoordinateSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateCylinder_getClassTypeId", _wrap_SoTextureCoordinateCylinder_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateCylinder_getTypeId", _wrap_SoTextureCoordinateCylinder_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_getTypeId(SoTextureCoordinateCylinder self) -> SoType"}, - { (char *)"SoTextureCoordinateCylinder_initClass", _wrap_SoTextureCoordinateCylinder_initClass, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_initClass()"}, - { (char *)"new_SoTextureCoordinateCylinder", _wrap_new_SoTextureCoordinateCylinder, METH_VARARGS, (char *)"new_SoTextureCoordinateCylinder() -> SoTextureCoordinateCylinder"}, - { (char *)"SoTextureCoordinateCylinder_doAction", _wrap_SoTextureCoordinateCylinder_doAction, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_doAction(SoTextureCoordinateCylinder self, SoAction action)"}, - { (char *)"SoTextureCoordinateCylinder_GLRender", _wrap_SoTextureCoordinateCylinder_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_GLRender(SoTextureCoordinateCylinder self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateCylinder_callback", _wrap_SoTextureCoordinateCylinder_callback, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_callback(SoTextureCoordinateCylinder self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateCylinder_pick", _wrap_SoTextureCoordinateCylinder_pick, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_pick(SoTextureCoordinateCylinder self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateCylinder_swigregister", SoTextureCoordinateCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCubeMap_getClassTypeId", _wrap_SoTextureCubeMap_getClassTypeId, METH_VARARGS, (char *)"SoTextureCubeMap_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCubeMap_getTypeId", _wrap_SoTextureCubeMap_getTypeId, METH_VARARGS, (char *)"SoTextureCubeMap_getTypeId(SoTextureCubeMap self) -> SoType"}, - { (char *)"SoTextureCubeMap_initClass", _wrap_SoTextureCubeMap_initClass, METH_VARARGS, (char *)"SoTextureCubeMap_initClass()"}, - { (char *)"new_SoTextureCubeMap", _wrap_new_SoTextureCubeMap, METH_VARARGS, (char *)"new_SoTextureCubeMap() -> SoTextureCubeMap"}, - { (char *)"SoTextureCubeMap_filenames_set", _wrap_SoTextureCubeMap_filenames_set, METH_VARARGS, (char *)"SoTextureCubeMap_filenames_set(SoTextureCubeMap self, SoMFString filenames)"}, - { (char *)"SoTextureCubeMap_filenames_get", _wrap_SoTextureCubeMap_filenames_get, METH_VARARGS, (char *)"SoTextureCubeMap_filenames_get(SoTextureCubeMap self) -> SoMFString"}, - { (char *)"SoTextureCubeMap_imagePosX_set", _wrap_SoTextureCubeMap_imagePosX_set, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosX_set(SoTextureCubeMap self, SoSFImage imagePosX)"}, - { (char *)"SoTextureCubeMap_imagePosX_get", _wrap_SoTextureCubeMap_imagePosX_get, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosX_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_imageNegX_set", _wrap_SoTextureCubeMap_imageNegX_set, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegX_set(SoTextureCubeMap self, SoSFImage imageNegX)"}, - { (char *)"SoTextureCubeMap_imageNegX_get", _wrap_SoTextureCubeMap_imageNegX_get, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegX_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_imagePosY_set", _wrap_SoTextureCubeMap_imagePosY_set, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosY_set(SoTextureCubeMap self, SoSFImage imagePosY)"}, - { (char *)"SoTextureCubeMap_imagePosY_get", _wrap_SoTextureCubeMap_imagePosY_get, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosY_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_imageNegY_set", _wrap_SoTextureCubeMap_imageNegY_set, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegY_set(SoTextureCubeMap self, SoSFImage imageNegY)"}, - { (char *)"SoTextureCubeMap_imageNegY_get", _wrap_SoTextureCubeMap_imageNegY_get, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegY_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_imagePosZ_set", _wrap_SoTextureCubeMap_imagePosZ_set, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosZ_set(SoTextureCubeMap self, SoSFImage imagePosZ)"}, - { (char *)"SoTextureCubeMap_imagePosZ_get", _wrap_SoTextureCubeMap_imagePosZ_get, METH_VARARGS, (char *)"SoTextureCubeMap_imagePosZ_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_imageNegZ_set", _wrap_SoTextureCubeMap_imageNegZ_set, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegZ_set(SoTextureCubeMap self, SoSFImage imageNegZ)"}, - { (char *)"SoTextureCubeMap_imageNegZ_get", _wrap_SoTextureCubeMap_imageNegZ_get, METH_VARARGS, (char *)"SoTextureCubeMap_imageNegZ_get(SoTextureCubeMap self) -> SoSFImage"}, - { (char *)"SoTextureCubeMap_wrapS_set", _wrap_SoTextureCubeMap_wrapS_set, METH_VARARGS, (char *)"SoTextureCubeMap_wrapS_set(SoTextureCubeMap self, SoSFEnum wrapS)"}, - { (char *)"SoTextureCubeMap_wrapS_get", _wrap_SoTextureCubeMap_wrapS_get, METH_VARARGS, (char *)"SoTextureCubeMap_wrapS_get(SoTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoTextureCubeMap_wrapT_set", _wrap_SoTextureCubeMap_wrapT_set, METH_VARARGS, (char *)"SoTextureCubeMap_wrapT_set(SoTextureCubeMap self, SoSFEnum wrapT)"}, - { (char *)"SoTextureCubeMap_wrapT_get", _wrap_SoTextureCubeMap_wrapT_get, METH_VARARGS, (char *)"SoTextureCubeMap_wrapT_get(SoTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoTextureCubeMap_model_set", _wrap_SoTextureCubeMap_model_set, METH_VARARGS, (char *)"SoTextureCubeMap_model_set(SoTextureCubeMap self, SoSFEnum model)"}, - { (char *)"SoTextureCubeMap_model_get", _wrap_SoTextureCubeMap_model_get, METH_VARARGS, (char *)"SoTextureCubeMap_model_get(SoTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoTextureCubeMap_blendColor_set", _wrap_SoTextureCubeMap_blendColor_set, METH_VARARGS, (char *)"SoTextureCubeMap_blendColor_set(SoTextureCubeMap self, SoSFColor blendColor)"}, - { (char *)"SoTextureCubeMap_blendColor_get", _wrap_SoTextureCubeMap_blendColor_get, METH_VARARGS, (char *)"SoTextureCubeMap_blendColor_get(SoTextureCubeMap self) -> SoSFColor"}, - { (char *)"SoTextureCubeMap_doAction", _wrap_SoTextureCubeMap_doAction, METH_VARARGS, (char *)"SoTextureCubeMap_doAction(SoTextureCubeMap self, SoAction action)"}, - { (char *)"SoTextureCubeMap_GLRender", _wrap_SoTextureCubeMap_GLRender, METH_VARARGS, (char *)"SoTextureCubeMap_GLRender(SoTextureCubeMap self, SoGLRenderAction action)"}, - { (char *)"SoTextureCubeMap_callback", _wrap_SoTextureCubeMap_callback, METH_VARARGS, (char *)"SoTextureCubeMap_callback(SoTextureCubeMap self, SoCallbackAction action)"}, - { (char *)"SoTextureCubeMap_rayPick", _wrap_SoTextureCubeMap_rayPick, METH_VARARGS, (char *)"SoTextureCubeMap_rayPick(SoTextureCubeMap self, SoRayPickAction action)"}, - { (char *)"SoTextureCubeMap_readImage", _wrap_SoTextureCubeMap_readImage, METH_VARARGS, (char *)"SoTextureCubeMap_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool"}, - { (char *)"SoTextureCubeMap_swigregister", SoTextureCubeMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderObject_getClassTypeId", _wrap_SoShaderObject_getClassTypeId, METH_VARARGS, (char *)"SoShaderObject_getClassTypeId() -> SoType"}, - { (char *)"SoShaderObject_getTypeId", _wrap_SoShaderObject_getTypeId, METH_VARARGS, (char *)"SoShaderObject_getTypeId(SoShaderObject self) -> SoType"}, - { (char *)"SoShaderObject_isActive_set", _wrap_SoShaderObject_isActive_set, METH_VARARGS, (char *)"SoShaderObject_isActive_set(SoShaderObject self, SoSFBool isActive)"}, - { (char *)"SoShaderObject_isActive_get", _wrap_SoShaderObject_isActive_get, METH_VARARGS, (char *)"SoShaderObject_isActive_get(SoShaderObject self) -> SoSFBool"}, - { (char *)"SoShaderObject_sourceType_set", _wrap_SoShaderObject_sourceType_set, METH_VARARGS, (char *)"SoShaderObject_sourceType_set(SoShaderObject self, SoSFEnum sourceType)"}, - { (char *)"SoShaderObject_sourceType_get", _wrap_SoShaderObject_sourceType_get, METH_VARARGS, (char *)"SoShaderObject_sourceType_get(SoShaderObject self) -> SoSFEnum"}, - { (char *)"SoShaderObject_sourceProgram_set", _wrap_SoShaderObject_sourceProgram_set, METH_VARARGS, (char *)"SoShaderObject_sourceProgram_set(SoShaderObject self, SoSFString sourceProgram)"}, - { (char *)"SoShaderObject_sourceProgram_get", _wrap_SoShaderObject_sourceProgram_get, METH_VARARGS, (char *)"SoShaderObject_sourceProgram_get(SoShaderObject self) -> SoSFString"}, - { (char *)"SoShaderObject_parameter_set", _wrap_SoShaderObject_parameter_set, METH_VARARGS, (char *)"SoShaderObject_parameter_set(SoShaderObject self, SoMFNode parameter)"}, - { (char *)"SoShaderObject_parameter_get", _wrap_SoShaderObject_parameter_get, METH_VARARGS, (char *)"SoShaderObject_parameter_get(SoShaderObject self) -> SoMFNode"}, - { (char *)"SoShaderObject_initClass", _wrap_SoShaderObject_initClass, METH_VARARGS, (char *)"SoShaderObject_initClass()"}, - { (char *)"SoShaderObject_GLRender", _wrap_SoShaderObject_GLRender, METH_VARARGS, (char *)"SoShaderObject_GLRender(SoShaderObject self, SoGLRenderAction action)"}, - { (char *)"SoShaderObject_search", _wrap_SoShaderObject_search, METH_VARARGS, (char *)"SoShaderObject_search(SoShaderObject self, SoSearchAction action)"}, - { (char *)"SoShaderObject_updateParameters", _wrap_SoShaderObject_updateParameters, METH_VARARGS, (char *)"SoShaderObject_updateParameters(SoShaderObject self, SoState state)"}, - { (char *)"SoShaderObject_getSourceType", _wrap_SoShaderObject_getSourceType, METH_VARARGS, (char *)"SoShaderObject_getSourceType(SoShaderObject self) -> SourceType"}, - { (char *)"SoShaderObject_getSourceProgram", _wrap_SoShaderObject_getSourceProgram, METH_VARARGS, (char *)"SoShaderObject_getSourceProgram(SoShaderObject self) -> SbString"}, - { (char *)"SoShaderObject_swigregister", SoShaderObject_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter_getClassTypeId", _wrap_SoShaderParameter_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter_getTypeId", _wrap_SoShaderParameter_getTypeId, METH_VARARGS, (char *)"SoShaderParameter_getTypeId(SoShaderParameter self) -> SoType"}, - { (char *)"SoShaderParameter_name_set", _wrap_SoShaderParameter_name_set, METH_VARARGS, (char *)"SoShaderParameter_name_set(SoShaderParameter self, SoSFString name)"}, - { (char *)"SoShaderParameter_name_get", _wrap_SoShaderParameter_name_get, METH_VARARGS, (char *)"SoShaderParameter_name_get(SoShaderParameter self) -> SoSFString"}, - { (char *)"SoShaderParameter_identifier_set", _wrap_SoShaderParameter_identifier_set, METH_VARARGS, (char *)"SoShaderParameter_identifier_set(SoShaderParameter self, SoSFInt32 identifier)"}, - { (char *)"SoShaderParameter_identifier_get", _wrap_SoShaderParameter_identifier_get, METH_VARARGS, (char *)"SoShaderParameter_identifier_get(SoShaderParameter self) -> SoSFInt32"}, - { (char *)"SoShaderParameter_initClass", _wrap_SoShaderParameter_initClass, METH_VARARGS, (char *)"SoShaderParameter_initClass()"}, - { (char *)"SoShaderParameter_swigregister", SoShaderParameter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoUniformShaderParameter_getClassTypeId", _wrap_SoUniformShaderParameter_getClassTypeId, METH_VARARGS, (char *)"SoUniformShaderParameter_getClassTypeId() -> SoType"}, - { (char *)"SoUniformShaderParameter_getTypeId", _wrap_SoUniformShaderParameter_getTypeId, METH_VARARGS, (char *)"SoUniformShaderParameter_getTypeId(SoUniformShaderParameter self) -> SoType"}, - { (char *)"SoUniformShaderParameter_initClass", _wrap_SoUniformShaderParameter_initClass, METH_VARARGS, (char *)"SoUniformShaderParameter_initClass()"}, - { (char *)"SoUniformShaderParameter_updateParameter", _wrap_SoUniformShaderParameter_updateParameter, METH_VARARGS, (char *)"SoUniformShaderParameter_updateParameter(SoUniformShaderParameter self, SoGLShaderObject shaderObject)"}, - { (char *)"SoUniformShaderParameter_swigregister", SoUniformShaderParameter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter1f_getClassTypeId", _wrap_SoShaderParameter1f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter1f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter1f_getTypeId", _wrap_SoShaderParameter1f_getTypeId, METH_VARARGS, (char *)"SoShaderParameter1f_getTypeId(SoShaderParameter1f self) -> SoType"}, - { (char *)"SoShaderParameter1f_value_set", _wrap_SoShaderParameter1f_value_set, METH_VARARGS, (char *)"SoShaderParameter1f_value_set(SoShaderParameter1f self, SoSFFloat value)"}, - { (char *)"SoShaderParameter1f_value_get", _wrap_SoShaderParameter1f_value_get, METH_VARARGS, (char *)"SoShaderParameter1f_value_get(SoShaderParameter1f self) -> SoSFFloat"}, - { (char *)"new_SoShaderParameter1f", _wrap_new_SoShaderParameter1f, METH_VARARGS, (char *)"new_SoShaderParameter1f() -> SoShaderParameter1f"}, - { (char *)"SoShaderParameter1f_initClass", _wrap_SoShaderParameter1f_initClass, METH_VARARGS, (char *)"SoShaderParameter1f_initClass()"}, - { (char *)"SoShaderParameter1f_updateParameter", _wrap_SoShaderParameter1f_updateParameter, METH_VARARGS, (char *)"SoShaderParameter1f_updateParameter(SoShaderParameter1f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter1f_swigregister", SoShaderParameter1f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter1i_getClassTypeId", _wrap_SoShaderParameter1i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter1i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter1i_getTypeId", _wrap_SoShaderParameter1i_getTypeId, METH_VARARGS, (char *)"SoShaderParameter1i_getTypeId(SoShaderParameter1i self) -> SoType"}, - { (char *)"SoShaderParameter1i_value_set", _wrap_SoShaderParameter1i_value_set, METH_VARARGS, (char *)"SoShaderParameter1i_value_set(SoShaderParameter1i self, SoSFInt32 value)"}, - { (char *)"SoShaderParameter1i_value_get", _wrap_SoShaderParameter1i_value_get, METH_VARARGS, (char *)"SoShaderParameter1i_value_get(SoShaderParameter1i self) -> SoSFInt32"}, - { (char *)"new_SoShaderParameter1i", _wrap_new_SoShaderParameter1i, METH_VARARGS, (char *)"new_SoShaderParameter1i() -> SoShaderParameter1i"}, - { (char *)"SoShaderParameter1i_initClass", _wrap_SoShaderParameter1i_initClass, METH_VARARGS, (char *)"SoShaderParameter1i_initClass()"}, - { (char *)"SoShaderParameter1i_updateParameter", _wrap_SoShaderParameter1i_updateParameter, METH_VARARGS, (char *)"SoShaderParameter1i_updateParameter(SoShaderParameter1i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter1i_swigregister", SoShaderParameter1i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter2f_getClassTypeId", _wrap_SoShaderParameter2f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter2f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter2f_getTypeId", _wrap_SoShaderParameter2f_getTypeId, METH_VARARGS, (char *)"SoShaderParameter2f_getTypeId(SoShaderParameter2f self) -> SoType"}, - { (char *)"SoShaderParameter2f_value_set", _wrap_SoShaderParameter2f_value_set, METH_VARARGS, (char *)"SoShaderParameter2f_value_set(SoShaderParameter2f self, SoSFVec2f value)"}, - { (char *)"SoShaderParameter2f_value_get", _wrap_SoShaderParameter2f_value_get, METH_VARARGS, (char *)"SoShaderParameter2f_value_get(SoShaderParameter2f self) -> SoSFVec2f"}, - { (char *)"new_SoShaderParameter2f", _wrap_new_SoShaderParameter2f, METH_VARARGS, (char *)"new_SoShaderParameter2f() -> SoShaderParameter2f"}, - { (char *)"SoShaderParameter2f_initClass", _wrap_SoShaderParameter2f_initClass, METH_VARARGS, (char *)"SoShaderParameter2f_initClass()"}, - { (char *)"SoShaderParameter2f_updateParameter", _wrap_SoShaderParameter2f_updateParameter, METH_VARARGS, (char *)"SoShaderParameter2f_updateParameter(SoShaderParameter2f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter2f_swigregister", SoShaderParameter2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter2i_getClassTypeId", _wrap_SoShaderParameter2i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter2i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter2i_getTypeId", _wrap_SoShaderParameter2i_getTypeId, METH_VARARGS, (char *)"SoShaderParameter2i_getTypeId(SoShaderParameter2i self) -> SoType"}, - { (char *)"SoShaderParameter2i_value_set", _wrap_SoShaderParameter2i_value_set, METH_VARARGS, (char *)"SoShaderParameter2i_value_set(SoShaderParameter2i self, SoSFVec2i32 value)"}, - { (char *)"SoShaderParameter2i_value_get", _wrap_SoShaderParameter2i_value_get, METH_VARARGS, (char *)"SoShaderParameter2i_value_get(SoShaderParameter2i self) -> SoSFVec2i32"}, - { (char *)"new_SoShaderParameter2i", _wrap_new_SoShaderParameter2i, METH_VARARGS, (char *)"new_SoShaderParameter2i() -> SoShaderParameter2i"}, - { (char *)"SoShaderParameter2i_initClass", _wrap_SoShaderParameter2i_initClass, METH_VARARGS, (char *)"SoShaderParameter2i_initClass()"}, - { (char *)"SoShaderParameter2i_updateParameter", _wrap_SoShaderParameter2i_updateParameter, METH_VARARGS, (char *)"SoShaderParameter2i_updateParameter(SoShaderParameter2i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter2i_swigregister", SoShaderParameter2i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter3f_getClassTypeId", _wrap_SoShaderParameter3f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter3f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter3f_getTypeId", _wrap_SoShaderParameter3f_getTypeId, METH_VARARGS, (char *)"SoShaderParameter3f_getTypeId(SoShaderParameter3f self) -> SoType"}, - { (char *)"SoShaderParameter3f_value_set", _wrap_SoShaderParameter3f_value_set, METH_VARARGS, (char *)"SoShaderParameter3f_value_set(SoShaderParameter3f self, SoSFVec3f value)"}, - { (char *)"SoShaderParameter3f_value_get", _wrap_SoShaderParameter3f_value_get, METH_VARARGS, (char *)"SoShaderParameter3f_value_get(SoShaderParameter3f self) -> SoSFVec3f"}, - { (char *)"new_SoShaderParameter3f", _wrap_new_SoShaderParameter3f, METH_VARARGS, (char *)"new_SoShaderParameter3f() -> SoShaderParameter3f"}, - { (char *)"SoShaderParameter3f_initClass", _wrap_SoShaderParameter3f_initClass, METH_VARARGS, (char *)"SoShaderParameter3f_initClass()"}, - { (char *)"SoShaderParameter3f_updateParameter", _wrap_SoShaderParameter3f_updateParameter, METH_VARARGS, (char *)"SoShaderParameter3f_updateParameter(SoShaderParameter3f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter3f_swigregister", SoShaderParameter3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter3i_getClassTypeId", _wrap_SoShaderParameter3i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter3i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter3i_getTypeId", _wrap_SoShaderParameter3i_getTypeId, METH_VARARGS, (char *)"SoShaderParameter3i_getTypeId(SoShaderParameter3i self) -> SoType"}, - { (char *)"SoShaderParameter3i_value_set", _wrap_SoShaderParameter3i_value_set, METH_VARARGS, (char *)"SoShaderParameter3i_value_set(SoShaderParameter3i self, SoSFVec3i32 value)"}, - { (char *)"SoShaderParameter3i_value_get", _wrap_SoShaderParameter3i_value_get, METH_VARARGS, (char *)"SoShaderParameter3i_value_get(SoShaderParameter3i self) -> SoSFVec3i32"}, - { (char *)"new_SoShaderParameter3i", _wrap_new_SoShaderParameter3i, METH_VARARGS, (char *)"new_SoShaderParameter3i() -> SoShaderParameter3i"}, - { (char *)"SoShaderParameter3i_initClass", _wrap_SoShaderParameter3i_initClass, METH_VARARGS, (char *)"SoShaderParameter3i_initClass()"}, - { (char *)"SoShaderParameter3i_updateParameter", _wrap_SoShaderParameter3i_updateParameter, METH_VARARGS, (char *)"SoShaderParameter3i_updateParameter(SoShaderParameter3i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter3i_swigregister", SoShaderParameter3i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter4f_getClassTypeId", _wrap_SoShaderParameter4f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter4f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter4f_getTypeId", _wrap_SoShaderParameter4f_getTypeId, METH_VARARGS, (char *)"SoShaderParameter4f_getTypeId(SoShaderParameter4f self) -> SoType"}, - { (char *)"SoShaderParameter4f_value_set", _wrap_SoShaderParameter4f_value_set, METH_VARARGS, (char *)"SoShaderParameter4f_value_set(SoShaderParameter4f self, SoSFVec4f value)"}, - { (char *)"SoShaderParameter4f_value_get", _wrap_SoShaderParameter4f_value_get, METH_VARARGS, (char *)"SoShaderParameter4f_value_get(SoShaderParameter4f self) -> SoSFVec4f"}, - { (char *)"new_SoShaderParameter4f", _wrap_new_SoShaderParameter4f, METH_VARARGS, (char *)"new_SoShaderParameter4f() -> SoShaderParameter4f"}, - { (char *)"SoShaderParameter4f_initClass", _wrap_SoShaderParameter4f_initClass, METH_VARARGS, (char *)"SoShaderParameter4f_initClass()"}, - { (char *)"SoShaderParameter4f_updateParameter", _wrap_SoShaderParameter4f_updateParameter, METH_VARARGS, (char *)"SoShaderParameter4f_updateParameter(SoShaderParameter4f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter4f_swigregister", SoShaderParameter4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameter4i_getClassTypeId", _wrap_SoShaderParameter4i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameter4i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameter4i_getTypeId", _wrap_SoShaderParameter4i_getTypeId, METH_VARARGS, (char *)"SoShaderParameter4i_getTypeId(SoShaderParameter4i self) -> SoType"}, - { (char *)"SoShaderParameter4i_value_set", _wrap_SoShaderParameter4i_value_set, METH_VARARGS, (char *)"SoShaderParameter4i_value_set(SoShaderParameter4i self, SoSFVec4i32 value)"}, - { (char *)"SoShaderParameter4i_value_get", _wrap_SoShaderParameter4i_value_get, METH_VARARGS, (char *)"SoShaderParameter4i_value_get(SoShaderParameter4i self) -> SoSFVec4i32"}, - { (char *)"new_SoShaderParameter4i", _wrap_new_SoShaderParameter4i, METH_VARARGS, (char *)"new_SoShaderParameter4i() -> SoShaderParameter4i"}, - { (char *)"SoShaderParameter4i_initClass", _wrap_SoShaderParameter4i_initClass, METH_VARARGS, (char *)"SoShaderParameter4i_initClass()"}, - { (char *)"SoShaderParameter4i_updateParameter", _wrap_SoShaderParameter4i_updateParameter, METH_VARARGS, (char *)"SoShaderParameter4i_updateParameter(SoShaderParameter4i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameter4i_swigregister", SoShaderParameter4i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray1f_getClassTypeId", _wrap_SoShaderParameterArray1f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray1f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray1f_getTypeId", _wrap_SoShaderParameterArray1f_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray1f_getTypeId(SoShaderParameterArray1f self) -> SoType"}, - { (char *)"SoShaderParameterArray1f_value_set", _wrap_SoShaderParameterArray1f_value_set, METH_VARARGS, (char *)"SoShaderParameterArray1f_value_set(SoShaderParameterArray1f self, SoMFFloat value)"}, - { (char *)"SoShaderParameterArray1f_value_get", _wrap_SoShaderParameterArray1f_value_get, METH_VARARGS, (char *)"SoShaderParameterArray1f_value_get(SoShaderParameterArray1f self) -> SoMFFloat"}, - { (char *)"new_SoShaderParameterArray1f", _wrap_new_SoShaderParameterArray1f, METH_VARARGS, (char *)"new_SoShaderParameterArray1f() -> SoShaderParameterArray1f"}, - { (char *)"SoShaderParameterArray1f_initClass", _wrap_SoShaderParameterArray1f_initClass, METH_VARARGS, (char *)"SoShaderParameterArray1f_initClass()"}, - { (char *)"SoShaderParameterArray1f_updateParameter", _wrap_SoShaderParameterArray1f_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray1f_updateParameter(SoShaderParameterArray1f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray1f_swigregister", SoShaderParameterArray1f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray1i_getClassTypeId", _wrap_SoShaderParameterArray1i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray1i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray1i_getTypeId", _wrap_SoShaderParameterArray1i_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray1i_getTypeId(SoShaderParameterArray1i self) -> SoType"}, - { (char *)"SoShaderParameterArray1i_value_set", _wrap_SoShaderParameterArray1i_value_set, METH_VARARGS, (char *)"SoShaderParameterArray1i_value_set(SoShaderParameterArray1i self, SoMFInt32 value)"}, - { (char *)"SoShaderParameterArray1i_value_get", _wrap_SoShaderParameterArray1i_value_get, METH_VARARGS, (char *)"SoShaderParameterArray1i_value_get(SoShaderParameterArray1i self) -> SoMFInt32"}, - { (char *)"new_SoShaderParameterArray1i", _wrap_new_SoShaderParameterArray1i, METH_VARARGS, (char *)"new_SoShaderParameterArray1i() -> SoShaderParameterArray1i"}, - { (char *)"SoShaderParameterArray1i_initClass", _wrap_SoShaderParameterArray1i_initClass, METH_VARARGS, (char *)"SoShaderParameterArray1i_initClass()"}, - { (char *)"SoShaderParameterArray1i_updateParameter", _wrap_SoShaderParameterArray1i_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray1i_updateParameter(SoShaderParameterArray1i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray1i_swigregister", SoShaderParameterArray1i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray2f_getClassTypeId", _wrap_SoShaderParameterArray2f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray2f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray2f_getTypeId", _wrap_SoShaderParameterArray2f_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray2f_getTypeId(SoShaderParameterArray2f self) -> SoType"}, - { (char *)"SoShaderParameterArray2f_value_set", _wrap_SoShaderParameterArray2f_value_set, METH_VARARGS, (char *)"SoShaderParameterArray2f_value_set(SoShaderParameterArray2f self, SoMFVec2f value)"}, - { (char *)"SoShaderParameterArray2f_value_get", _wrap_SoShaderParameterArray2f_value_get, METH_VARARGS, (char *)"SoShaderParameterArray2f_value_get(SoShaderParameterArray2f self) -> SoMFVec2f"}, - { (char *)"new_SoShaderParameterArray2f", _wrap_new_SoShaderParameterArray2f, METH_VARARGS, (char *)"new_SoShaderParameterArray2f() -> SoShaderParameterArray2f"}, - { (char *)"SoShaderParameterArray2f_initClass", _wrap_SoShaderParameterArray2f_initClass, METH_VARARGS, (char *)"SoShaderParameterArray2f_initClass()"}, - { (char *)"SoShaderParameterArray2f_updateParameter", _wrap_SoShaderParameterArray2f_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray2f_updateParameter(SoShaderParameterArray2f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray2f_swigregister", SoShaderParameterArray2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray2i_getClassTypeId", _wrap_SoShaderParameterArray2i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray2i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray2i_getTypeId", _wrap_SoShaderParameterArray2i_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray2i_getTypeId(SoShaderParameterArray2i self) -> SoType"}, - { (char *)"SoShaderParameterArray2i_value_set", _wrap_SoShaderParameterArray2i_value_set, METH_VARARGS, (char *)"SoShaderParameterArray2i_value_set(SoShaderParameterArray2i self, SoMFVec2i32 value)"}, - { (char *)"SoShaderParameterArray2i_value_get", _wrap_SoShaderParameterArray2i_value_get, METH_VARARGS, (char *)"SoShaderParameterArray2i_value_get(SoShaderParameterArray2i self) -> SoMFVec2i32"}, - { (char *)"new_SoShaderParameterArray2i", _wrap_new_SoShaderParameterArray2i, METH_VARARGS, (char *)"new_SoShaderParameterArray2i() -> SoShaderParameterArray2i"}, - { (char *)"SoShaderParameterArray2i_initClass", _wrap_SoShaderParameterArray2i_initClass, METH_VARARGS, (char *)"SoShaderParameterArray2i_initClass()"}, - { (char *)"SoShaderParameterArray2i_updateParameter", _wrap_SoShaderParameterArray2i_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray2i_updateParameter(SoShaderParameterArray2i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray2i_swigregister", SoShaderParameterArray2i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray3f_getClassTypeId", _wrap_SoShaderParameterArray3f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray3f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray3f_getTypeId", _wrap_SoShaderParameterArray3f_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray3f_getTypeId(SoShaderParameterArray3f self) -> SoType"}, - { (char *)"SoShaderParameterArray3f_value_set", _wrap_SoShaderParameterArray3f_value_set, METH_VARARGS, (char *)"SoShaderParameterArray3f_value_set(SoShaderParameterArray3f self, SoMFVec3f value)"}, - { (char *)"SoShaderParameterArray3f_value_get", _wrap_SoShaderParameterArray3f_value_get, METH_VARARGS, (char *)"SoShaderParameterArray3f_value_get(SoShaderParameterArray3f self) -> SoMFVec3f"}, - { (char *)"new_SoShaderParameterArray3f", _wrap_new_SoShaderParameterArray3f, METH_VARARGS, (char *)"new_SoShaderParameterArray3f() -> SoShaderParameterArray3f"}, - { (char *)"SoShaderParameterArray3f_initClass", _wrap_SoShaderParameterArray3f_initClass, METH_VARARGS, (char *)"SoShaderParameterArray3f_initClass()"}, - { (char *)"SoShaderParameterArray3f_updateParameter", _wrap_SoShaderParameterArray3f_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray3f_updateParameter(SoShaderParameterArray3f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray3f_swigregister", SoShaderParameterArray3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray3i_getClassTypeId", _wrap_SoShaderParameterArray3i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray3i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray3i_getTypeId", _wrap_SoShaderParameterArray3i_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray3i_getTypeId(SoShaderParameterArray3i self) -> SoType"}, - { (char *)"SoShaderParameterArray3i_value_set", _wrap_SoShaderParameterArray3i_value_set, METH_VARARGS, (char *)"SoShaderParameterArray3i_value_set(SoShaderParameterArray3i self, SoMFVec3i32 value)"}, - { (char *)"SoShaderParameterArray3i_value_get", _wrap_SoShaderParameterArray3i_value_get, METH_VARARGS, (char *)"SoShaderParameterArray3i_value_get(SoShaderParameterArray3i self) -> SoMFVec3i32"}, - { (char *)"new_SoShaderParameterArray3i", _wrap_new_SoShaderParameterArray3i, METH_VARARGS, (char *)"new_SoShaderParameterArray3i() -> SoShaderParameterArray3i"}, - { (char *)"SoShaderParameterArray3i_initClass", _wrap_SoShaderParameterArray3i_initClass, METH_VARARGS, (char *)"SoShaderParameterArray3i_initClass()"}, - { (char *)"SoShaderParameterArray3i_updateParameter", _wrap_SoShaderParameterArray3i_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray3i_updateParameter(SoShaderParameterArray3i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray3i_swigregister", SoShaderParameterArray3i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray4f_getClassTypeId", _wrap_SoShaderParameterArray4f_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray4f_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray4f_getTypeId", _wrap_SoShaderParameterArray4f_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray4f_getTypeId(SoShaderParameterArray4f self) -> SoType"}, - { (char *)"SoShaderParameterArray4f_value_set", _wrap_SoShaderParameterArray4f_value_set, METH_VARARGS, (char *)"SoShaderParameterArray4f_value_set(SoShaderParameterArray4f self, SoMFVec4f value)"}, - { (char *)"SoShaderParameterArray4f_value_get", _wrap_SoShaderParameterArray4f_value_get, METH_VARARGS, (char *)"SoShaderParameterArray4f_value_get(SoShaderParameterArray4f self) -> SoMFVec4f"}, - { (char *)"new_SoShaderParameterArray4f", _wrap_new_SoShaderParameterArray4f, METH_VARARGS, (char *)"new_SoShaderParameterArray4f() -> SoShaderParameterArray4f"}, - { (char *)"SoShaderParameterArray4f_initClass", _wrap_SoShaderParameterArray4f_initClass, METH_VARARGS, (char *)"SoShaderParameterArray4f_initClass()"}, - { (char *)"SoShaderParameterArray4f_updateParameter", _wrap_SoShaderParameterArray4f_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray4f_updateParameter(SoShaderParameterArray4f self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray4f_swigregister", SoShaderParameterArray4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterArray4i_getClassTypeId", _wrap_SoShaderParameterArray4i_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterArray4i_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterArray4i_getTypeId", _wrap_SoShaderParameterArray4i_getTypeId, METH_VARARGS, (char *)"SoShaderParameterArray4i_getTypeId(SoShaderParameterArray4i self) -> SoType"}, - { (char *)"SoShaderParameterArray4i_value_set", _wrap_SoShaderParameterArray4i_value_set, METH_VARARGS, (char *)"SoShaderParameterArray4i_value_set(SoShaderParameterArray4i self, SoMFVec4i32 value)"}, - { (char *)"SoShaderParameterArray4i_value_get", _wrap_SoShaderParameterArray4i_value_get, METH_VARARGS, (char *)"SoShaderParameterArray4i_value_get(SoShaderParameterArray4i self) -> SoMFVec4i32"}, - { (char *)"new_SoShaderParameterArray4i", _wrap_new_SoShaderParameterArray4i, METH_VARARGS, (char *)"new_SoShaderParameterArray4i() -> SoShaderParameterArray4i"}, - { (char *)"SoShaderParameterArray4i_initClass", _wrap_SoShaderParameterArray4i_initClass, METH_VARARGS, (char *)"SoShaderParameterArray4i_initClass()"}, - { (char *)"SoShaderParameterArray4i_updateParameter", _wrap_SoShaderParameterArray4i_updateParameter, METH_VARARGS, (char *)"SoShaderParameterArray4i_updateParameter(SoShaderParameterArray4i self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterArray4i_swigregister", SoShaderParameterArray4i_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterMatrix_getClassTypeId", _wrap_SoShaderParameterMatrix_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterMatrix_getTypeId", _wrap_SoShaderParameterMatrix_getTypeId, METH_VARARGS, (char *)"SoShaderParameterMatrix_getTypeId(SoShaderParameterMatrix self) -> SoType"}, - { (char *)"SoShaderParameterMatrix_value_set", _wrap_SoShaderParameterMatrix_value_set, METH_VARARGS, (char *)"SoShaderParameterMatrix_value_set(SoShaderParameterMatrix self, SoSFMatrix value)"}, - { (char *)"SoShaderParameterMatrix_value_get", _wrap_SoShaderParameterMatrix_value_get, METH_VARARGS, (char *)"SoShaderParameterMatrix_value_get(SoShaderParameterMatrix self) -> SoSFMatrix"}, - { (char *)"new_SoShaderParameterMatrix", _wrap_new_SoShaderParameterMatrix, METH_VARARGS, (char *)"new_SoShaderParameterMatrix() -> SoShaderParameterMatrix"}, - { (char *)"SoShaderParameterMatrix_initClass", _wrap_SoShaderParameterMatrix_initClass, METH_VARARGS, (char *)"SoShaderParameterMatrix_initClass()"}, - { (char *)"SoShaderParameterMatrix_updateParameter", _wrap_SoShaderParameterMatrix_updateParameter, METH_VARARGS, (char *)"SoShaderParameterMatrix_updateParameter(SoShaderParameterMatrix self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterMatrix_swigregister", SoShaderParameterMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderParameterMatrixArray_getClassTypeId", _wrap_SoShaderParameterMatrixArray_getClassTypeId, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_getClassTypeId() -> SoType"}, - { (char *)"SoShaderParameterMatrixArray_getTypeId", _wrap_SoShaderParameterMatrixArray_getTypeId, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_getTypeId(SoShaderParameterMatrixArray self) -> SoType"}, - { (char *)"SoShaderParameterMatrixArray_value_set", _wrap_SoShaderParameterMatrixArray_value_set, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_value_set(SoShaderParameterMatrixArray self, SoMFMatrix value)"}, - { (char *)"SoShaderParameterMatrixArray_value_get", _wrap_SoShaderParameterMatrixArray_value_get, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_value_get(SoShaderParameterMatrixArray self) -> SoMFMatrix"}, - { (char *)"new_SoShaderParameterMatrixArray", _wrap_new_SoShaderParameterMatrixArray, METH_VARARGS, (char *)"new_SoShaderParameterMatrixArray() -> SoShaderParameterMatrixArray"}, - { (char *)"SoShaderParameterMatrixArray_initClass", _wrap_SoShaderParameterMatrixArray_initClass, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_initClass()"}, - { (char *)"SoShaderParameterMatrixArray_updateParameter", _wrap_SoShaderParameterMatrixArray_updateParameter, METH_VARARGS, (char *)"SoShaderParameterMatrixArray_updateParameter(SoShaderParameterMatrixArray self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderParameterMatrixArray_swigregister", SoShaderParameterMatrixArray_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderStateMatrixParameter_getClassTypeId", _wrap_SoShaderStateMatrixParameter_getClassTypeId, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_getClassTypeId() -> SoType"}, - { (char *)"SoShaderStateMatrixParameter_getTypeId", _wrap_SoShaderStateMatrixParameter_getTypeId, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_getTypeId(SoShaderStateMatrixParameter self) -> SoType"}, - { (char *)"SoShaderStateMatrixParameter_matrixType_set", _wrap_SoShaderStateMatrixParameter_matrixType_set, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_matrixType_set(SoShaderStateMatrixParameter self, SoSFEnum matrixType)"}, - { (char *)"SoShaderStateMatrixParameter_matrixType_get", _wrap_SoShaderStateMatrixParameter_matrixType_get, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_matrixType_get(SoShaderStateMatrixParameter self) -> SoSFEnum"}, - { (char *)"SoShaderStateMatrixParameter_matrixTransform_set", _wrap_SoShaderStateMatrixParameter_matrixTransform_set, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_matrixTransform_set(SoShaderStateMatrixParameter self, SoSFEnum matrixTransform)"}, - { (char *)"SoShaderStateMatrixParameter_matrixTransform_get", _wrap_SoShaderStateMatrixParameter_matrixTransform_get, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_matrixTransform_get(SoShaderStateMatrixParameter self) -> SoSFEnum"}, - { (char *)"new_SoShaderStateMatrixParameter", _wrap_new_SoShaderStateMatrixParameter, METH_VARARGS, (char *)"new_SoShaderStateMatrixParameter() -> SoShaderStateMatrixParameter"}, - { (char *)"delete_SoShaderStateMatrixParameter", _wrap_delete_SoShaderStateMatrixParameter, METH_VARARGS, (char *)"delete_SoShaderStateMatrixParameter(SoShaderStateMatrixParameter self)"}, - { (char *)"SoShaderStateMatrixParameter_initClass", _wrap_SoShaderStateMatrixParameter_initClass, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_initClass()"}, - { (char *)"SoShaderStateMatrixParameter_updateParameter", _wrap_SoShaderStateMatrixParameter_updateParameter, METH_VARARGS, (char *)"SoShaderStateMatrixParameter_updateParameter(SoShaderStateMatrixParameter self, SoGLShaderObject shaderObject)"}, - { (char *)"SoShaderStateMatrixParameter_swigregister", SoShaderStateMatrixParameter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShaderProgram_getClassTypeId", _wrap_SoShaderProgram_getClassTypeId, METH_VARARGS, (char *)"SoShaderProgram_getClassTypeId() -> SoType"}, - { (char *)"SoShaderProgram_getTypeId", _wrap_SoShaderProgram_getTypeId, METH_VARARGS, (char *)"SoShaderProgram_getTypeId(SoShaderProgram self) -> SoType"}, - { (char *)"SoShaderProgram_shaderObject_set", _wrap_SoShaderProgram_shaderObject_set, METH_VARARGS, (char *)"SoShaderProgram_shaderObject_set(SoShaderProgram self, SoMFNode shaderObject)"}, - { (char *)"SoShaderProgram_shaderObject_get", _wrap_SoShaderProgram_shaderObject_get, METH_VARARGS, (char *)"SoShaderProgram_shaderObject_get(SoShaderProgram self) -> SoMFNode"}, - { (char *)"new_SoShaderProgram", _wrap_new_SoShaderProgram, METH_VARARGS, (char *)"new_SoShaderProgram() -> SoShaderProgram"}, - { (char *)"SoShaderProgram_setEnableCallback", _wrap_SoShaderProgram_setEnableCallback, METH_VARARGS, (char *)"SoShaderProgram_setEnableCallback(SoShaderProgram self, SoShaderProgramEnableCB cb, void closure)"}, - { (char *)"SoShaderProgram_GLRender", _wrap_SoShaderProgram_GLRender, METH_VARARGS, (char *)"SoShaderProgram_GLRender(SoShaderProgram self, SoGLRenderAction action)"}, - { (char *)"SoShaderProgram_search", _wrap_SoShaderProgram_search, METH_VARARGS, (char *)"SoShaderProgram_search(SoShaderProgram self, SoSearchAction action)"}, - { (char *)"SoShaderProgram_initClass", _wrap_SoShaderProgram_initClass, METH_VARARGS, (char *)"SoShaderProgram_initClass()"}, - { (char *)"SoShaderProgram_swigregister", SoShaderProgram_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFragmentShader_getClassTypeId", _wrap_SoFragmentShader_getClassTypeId, METH_VARARGS, (char *)"SoFragmentShader_getClassTypeId() -> SoType"}, - { (char *)"SoFragmentShader_getTypeId", _wrap_SoFragmentShader_getTypeId, METH_VARARGS, (char *)"SoFragmentShader_getTypeId(SoFragmentShader self) -> SoType"}, - { (char *)"SoFragmentShader_initClass", _wrap_SoFragmentShader_initClass, METH_VARARGS, (char *)"SoFragmentShader_initClass()"}, - { (char *)"new_SoFragmentShader", _wrap_new_SoFragmentShader, METH_VARARGS, (char *)"new_SoFragmentShader() -> SoFragmentShader"}, - { (char *)"delete_SoFragmentShader", _wrap_delete_SoFragmentShader, METH_VARARGS, (char *)"delete_SoFragmentShader(SoFragmentShader self)"}, - { (char *)"SoFragmentShader_isSupported", _wrap_SoFragmentShader_isSupported, METH_VARARGS, (char *)"SoFragmentShader_isSupported(SourceType sourceType) -> SbBool"}, - { (char *)"SoFragmentShader_swigregister", SoFragmentShader_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexShader_getClassTypeId", _wrap_SoVertexShader_getClassTypeId, METH_VARARGS, (char *)"SoVertexShader_getClassTypeId() -> SoType"}, - { (char *)"SoVertexShader_getTypeId", _wrap_SoVertexShader_getTypeId, METH_VARARGS, (char *)"SoVertexShader_getTypeId(SoVertexShader self) -> SoType"}, - { (char *)"SoVertexShader_initClass", _wrap_SoVertexShader_initClass, METH_VARARGS, (char *)"SoVertexShader_initClass()"}, - { (char *)"new_SoVertexShader", _wrap_new_SoVertexShader, METH_VARARGS, (char *)"new_SoVertexShader() -> SoVertexShader"}, - { (char *)"delete_SoVertexShader", _wrap_delete_SoVertexShader, METH_VARARGS, (char *)"delete_SoVertexShader(SoVertexShader self)"}, - { (char *)"SoVertexShader_isSupported", _wrap_SoVertexShader_isSupported, METH_VARARGS, (char *)"SoVertexShader_isSupported(SourceType sourceType) -> SbBool"}, - { (char *)"SoVertexShader_swigregister", SoVertexShader_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateNormalMap_getClassTypeId", _wrap_SoTextureCoordinateNormalMap_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateNormalMap_getTypeId", _wrap_SoTextureCoordinateNormalMap_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_getTypeId(SoTextureCoordinateNormalMap self) -> SoType"}, - { (char *)"SoTextureCoordinateNormalMap_initClass", _wrap_SoTextureCoordinateNormalMap_initClass, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_initClass()"}, - { (char *)"new_SoTextureCoordinateNormalMap", _wrap_new_SoTextureCoordinateNormalMap, METH_VARARGS, (char *)"new_SoTextureCoordinateNormalMap() -> SoTextureCoordinateNormalMap"}, - { (char *)"SoTextureCoordinateNormalMap_doAction", _wrap_SoTextureCoordinateNormalMap_doAction, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_doAction(SoTextureCoordinateNormalMap self, SoAction action)"}, - { (char *)"SoTextureCoordinateNormalMap_GLRender", _wrap_SoTextureCoordinateNormalMap_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_GLRender(SoTextureCoordinateNormalMap self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateNormalMap_pick", _wrap_SoTextureCoordinateNormalMap_pick, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_pick(SoTextureCoordinateNormalMap self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateNormalMap_callback", _wrap_SoTextureCoordinateNormalMap_callback, METH_VARARGS, (char *)"SoTextureCoordinateNormalMap_callback(SoTextureCoordinateNormalMap self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateNormalMap_swigregister", SoTextureCoordinateNormalMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateReflectionMap_getClassTypeId", _wrap_SoTextureCoordinateReflectionMap_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateReflectionMap_getTypeId", _wrap_SoTextureCoordinateReflectionMap_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_getTypeId(SoTextureCoordinateReflectionMap self) -> SoType"}, - { (char *)"SoTextureCoordinateReflectionMap_initClass", _wrap_SoTextureCoordinateReflectionMap_initClass, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_initClass()"}, - { (char *)"new_SoTextureCoordinateReflectionMap", _wrap_new_SoTextureCoordinateReflectionMap, METH_VARARGS, (char *)"new_SoTextureCoordinateReflectionMap() -> SoTextureCoordinateReflectionMap"}, - { (char *)"SoTextureCoordinateReflectionMap_doAction", _wrap_SoTextureCoordinateReflectionMap_doAction, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_doAction(SoTextureCoordinateReflectionMap self, SoAction action)"}, - { (char *)"SoTextureCoordinateReflectionMap_GLRender", _wrap_SoTextureCoordinateReflectionMap_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_GLRender(SoTextureCoordinateReflectionMap self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateReflectionMap_pick", _wrap_SoTextureCoordinateReflectionMap_pick, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_pick(SoTextureCoordinateReflectionMap self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateReflectionMap_callback", _wrap_SoTextureCoordinateReflectionMap_callback, METH_VARARGS, (char *)"SoTextureCoordinateReflectionMap_callback(SoTextureCoordinateReflectionMap self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateReflectionMap_swigregister", SoTextureCoordinateReflectionMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateObject_getClassTypeId", _wrap_SoTextureCoordinateObject_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateObject_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateObject_getTypeId", _wrap_SoTextureCoordinateObject_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateObject_getTypeId(SoTextureCoordinateObject self) -> SoType"}, - { (char *)"SoTextureCoordinateObject_initClass", _wrap_SoTextureCoordinateObject_initClass, METH_VARARGS, (char *)"SoTextureCoordinateObject_initClass()"}, - { (char *)"new_SoTextureCoordinateObject", _wrap_new_SoTextureCoordinateObject, METH_VARARGS, (char *)"new_SoTextureCoordinateObject() -> SoTextureCoordinateObject"}, - { (char *)"SoTextureCoordinateObject_factorS_set", _wrap_SoTextureCoordinateObject_factorS_set, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorS_set(SoTextureCoordinateObject self, SoSFVec4f factorS)"}, - { (char *)"SoTextureCoordinateObject_factorS_get", _wrap_SoTextureCoordinateObject_factorS_get, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorS_get(SoTextureCoordinateObject self) -> SoSFVec4f"}, - { (char *)"SoTextureCoordinateObject_factorT_set", _wrap_SoTextureCoordinateObject_factorT_set, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorT_set(SoTextureCoordinateObject self, SoSFVec4f factorT)"}, - { (char *)"SoTextureCoordinateObject_factorT_get", _wrap_SoTextureCoordinateObject_factorT_get, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorT_get(SoTextureCoordinateObject self) -> SoSFVec4f"}, - { (char *)"SoTextureCoordinateObject_factorR_set", _wrap_SoTextureCoordinateObject_factorR_set, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorR_set(SoTextureCoordinateObject self, SoSFVec4f factorR)"}, - { (char *)"SoTextureCoordinateObject_factorR_get", _wrap_SoTextureCoordinateObject_factorR_get, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorR_get(SoTextureCoordinateObject self) -> SoSFVec4f"}, - { (char *)"SoTextureCoordinateObject_factorQ_set", _wrap_SoTextureCoordinateObject_factorQ_set, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorQ_set(SoTextureCoordinateObject self, SoSFVec4f factorQ)"}, - { (char *)"SoTextureCoordinateObject_factorQ_get", _wrap_SoTextureCoordinateObject_factorQ_get, METH_VARARGS, (char *)"SoTextureCoordinateObject_factorQ_get(SoTextureCoordinateObject self) -> SoSFVec4f"}, - { (char *)"SoTextureCoordinateObject_doAction", _wrap_SoTextureCoordinateObject_doAction, METH_VARARGS, (char *)"SoTextureCoordinateObject_doAction(SoTextureCoordinateObject self, SoAction action)"}, - { (char *)"SoTextureCoordinateObject_GLRender", _wrap_SoTextureCoordinateObject_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateObject_GLRender(SoTextureCoordinateObject self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateObject_pick", _wrap_SoTextureCoordinateObject_pick, METH_VARARGS, (char *)"SoTextureCoordinateObject_pick(SoTextureCoordinateObject self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateObject_callback", _wrap_SoTextureCoordinateObject_callback, METH_VARARGS, (char *)"SoTextureCoordinateObject_callback(SoTextureCoordinateObject self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateObject_swigregister", SoTextureCoordinateObject_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureScalePolicy_getClassTypeId", _wrap_SoTextureScalePolicy_getClassTypeId, METH_VARARGS, (char *)"SoTextureScalePolicy_getClassTypeId() -> SoType"}, - { (char *)"SoTextureScalePolicy_getTypeId", _wrap_SoTextureScalePolicy_getTypeId, METH_VARARGS, (char *)"SoTextureScalePolicy_getTypeId(SoTextureScalePolicy self) -> SoType"}, - { (char *)"SoTextureScalePolicy_initClass", _wrap_SoTextureScalePolicy_initClass, METH_VARARGS, (char *)"SoTextureScalePolicy_initClass()"}, - { (char *)"new_SoTextureScalePolicy", _wrap_new_SoTextureScalePolicy, METH_VARARGS, (char *)"new_SoTextureScalePolicy() -> SoTextureScalePolicy"}, - { (char *)"SoTextureScalePolicy_policy_set", _wrap_SoTextureScalePolicy_policy_set, METH_VARARGS, (char *)"SoTextureScalePolicy_policy_set(SoTextureScalePolicy self, SoSFEnum policy)"}, - { (char *)"SoTextureScalePolicy_policy_get", _wrap_SoTextureScalePolicy_policy_get, METH_VARARGS, (char *)"SoTextureScalePolicy_policy_get(SoTextureScalePolicy self) -> SoSFEnum"}, - { (char *)"SoTextureScalePolicy_quality_set", _wrap_SoTextureScalePolicy_quality_set, METH_VARARGS, (char *)"SoTextureScalePolicy_quality_set(SoTextureScalePolicy self, SoSFFloat quality)"}, - { (char *)"SoTextureScalePolicy_quality_get", _wrap_SoTextureScalePolicy_quality_get, METH_VARARGS, (char *)"SoTextureScalePolicy_quality_get(SoTextureScalePolicy self) -> SoSFFloat"}, - { (char *)"SoTextureScalePolicy_GLRender", _wrap_SoTextureScalePolicy_GLRender, METH_VARARGS, (char *)"SoTextureScalePolicy_GLRender(SoTextureScalePolicy self, SoGLRenderAction action)"}, - { (char *)"SoTextureScalePolicy_swigregister", SoTextureScalePolicy_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureUnit_getClassTypeId", _wrap_SoTextureUnit_getClassTypeId, METH_VARARGS, (char *)"SoTextureUnit_getClassTypeId() -> SoType"}, - { (char *)"SoTextureUnit_getTypeId", _wrap_SoTextureUnit_getTypeId, METH_VARARGS, (char *)"SoTextureUnit_getTypeId(SoTextureUnit self) -> SoType"}, - { (char *)"SoTextureUnit_initClass", _wrap_SoTextureUnit_initClass, METH_VARARGS, (char *)"SoTextureUnit_initClass()"}, - { (char *)"new_SoTextureUnit", _wrap_new_SoTextureUnit, METH_VARARGS, (char *)"new_SoTextureUnit() -> SoTextureUnit"}, - { (char *)"SoTextureUnit_unit_set", _wrap_SoTextureUnit_unit_set, METH_VARARGS, (char *)"SoTextureUnit_unit_set(SoTextureUnit self, SoSFInt32 unit)"}, - { (char *)"SoTextureUnit_unit_get", _wrap_SoTextureUnit_unit_get, METH_VARARGS, (char *)"SoTextureUnit_unit_get(SoTextureUnit self) -> SoSFInt32"}, - { (char *)"SoTextureUnit_mappingMethod_set", _wrap_SoTextureUnit_mappingMethod_set, METH_VARARGS, (char *)"SoTextureUnit_mappingMethod_set(SoTextureUnit self, SoSFEnum mappingMethod)"}, - { (char *)"SoTextureUnit_mappingMethod_get", _wrap_SoTextureUnit_mappingMethod_get, METH_VARARGS, (char *)"SoTextureUnit_mappingMethod_get(SoTextureUnit self) -> SoSFEnum"}, - { (char *)"SoTextureUnit_doAction", _wrap_SoTextureUnit_doAction, METH_VARARGS, (char *)"SoTextureUnit_doAction(SoTextureUnit self, SoAction action)"}, - { (char *)"SoTextureUnit_callback", _wrap_SoTextureUnit_callback, METH_VARARGS, (char *)"SoTextureUnit_callback(SoTextureUnit self, SoCallbackAction action)"}, - { (char *)"SoTextureUnit_GLRender", _wrap_SoTextureUnit_GLRender, METH_VARARGS, (char *)"SoTextureUnit_GLRender(SoTextureUnit self, SoGLRenderAction action)"}, - { (char *)"SoTextureUnit_pick", _wrap_SoTextureUnit_pick, METH_VARARGS, (char *)"SoTextureUnit_pick(SoTextureUnit self, SoPickAction action)"}, - { (char *)"SoTextureUnit_getMaxTextureUnit", _wrap_SoTextureUnit_getMaxTextureUnit, METH_VARARGS, (char *)"SoTextureUnit_getMaxTextureUnit() -> uint32_t"}, - { (char *)"SoTextureUnit_swigregister", SoTextureUnit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCombine_getClassTypeId", _wrap_SoTextureCombine_getClassTypeId, METH_VARARGS, (char *)"SoTextureCombine_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCombine_getTypeId", _wrap_SoTextureCombine_getTypeId, METH_VARARGS, (char *)"SoTextureCombine_getTypeId(SoTextureCombine self) -> SoType"}, - { (char *)"SoTextureCombine_initClass", _wrap_SoTextureCombine_initClass, METH_VARARGS, (char *)"SoTextureCombine_initClass()"}, - { (char *)"new_SoTextureCombine", _wrap_new_SoTextureCombine, METH_VARARGS, (char *)"new_SoTextureCombine() -> SoTextureCombine"}, - { (char *)"SoTextureCombine_rgbSource_set", _wrap_SoTextureCombine_rgbSource_set, METH_VARARGS, (char *)"SoTextureCombine_rgbSource_set(SoTextureCombine self, SoMFEnum rgbSource)"}, - { (char *)"SoTextureCombine_rgbSource_get", _wrap_SoTextureCombine_rgbSource_get, METH_VARARGS, (char *)"SoTextureCombine_rgbSource_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_alphaSource_set", _wrap_SoTextureCombine_alphaSource_set, METH_VARARGS, (char *)"SoTextureCombine_alphaSource_set(SoTextureCombine self, SoMFEnum alphaSource)"}, - { (char *)"SoTextureCombine_alphaSource_get", _wrap_SoTextureCombine_alphaSource_get, METH_VARARGS, (char *)"SoTextureCombine_alphaSource_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_rgbOperand_set", _wrap_SoTextureCombine_rgbOperand_set, METH_VARARGS, (char *)"SoTextureCombine_rgbOperand_set(SoTextureCombine self, SoMFEnum rgbOperand)"}, - { (char *)"SoTextureCombine_rgbOperand_get", _wrap_SoTextureCombine_rgbOperand_get, METH_VARARGS, (char *)"SoTextureCombine_rgbOperand_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_alphaOperand_set", _wrap_SoTextureCombine_alphaOperand_set, METH_VARARGS, (char *)"SoTextureCombine_alphaOperand_set(SoTextureCombine self, SoMFEnum alphaOperand)"}, - { (char *)"SoTextureCombine_alphaOperand_get", _wrap_SoTextureCombine_alphaOperand_get, METH_VARARGS, (char *)"SoTextureCombine_alphaOperand_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_rgbOperation_set", _wrap_SoTextureCombine_rgbOperation_set, METH_VARARGS, (char *)"SoTextureCombine_rgbOperation_set(SoTextureCombine self, SoSFEnum rgbOperation)"}, - { (char *)"SoTextureCombine_rgbOperation_get", _wrap_SoTextureCombine_rgbOperation_get, METH_VARARGS, (char *)"SoTextureCombine_rgbOperation_get(SoTextureCombine self) -> SoSFEnum"}, - { (char *)"SoTextureCombine_alphaOperation_set", _wrap_SoTextureCombine_alphaOperation_set, METH_VARARGS, (char *)"SoTextureCombine_alphaOperation_set(SoTextureCombine self, SoSFEnum alphaOperation)"}, - { (char *)"SoTextureCombine_alphaOperation_get", _wrap_SoTextureCombine_alphaOperation_get, METH_VARARGS, (char *)"SoTextureCombine_alphaOperation_get(SoTextureCombine self) -> SoSFEnum"}, - { (char *)"SoTextureCombine_rgbScale_set", _wrap_SoTextureCombine_rgbScale_set, METH_VARARGS, (char *)"SoTextureCombine_rgbScale_set(SoTextureCombine self, SoSFFloat rgbScale)"}, - { (char *)"SoTextureCombine_rgbScale_get", _wrap_SoTextureCombine_rgbScale_get, METH_VARARGS, (char *)"SoTextureCombine_rgbScale_get(SoTextureCombine self) -> SoSFFloat"}, - { (char *)"SoTextureCombine_alphaScale_set", _wrap_SoTextureCombine_alphaScale_set, METH_VARARGS, (char *)"SoTextureCombine_alphaScale_set(SoTextureCombine self, SoSFFloat alphaScale)"}, - { (char *)"SoTextureCombine_alphaScale_get", _wrap_SoTextureCombine_alphaScale_get, METH_VARARGS, (char *)"SoTextureCombine_alphaScale_get(SoTextureCombine self) -> SoSFFloat"}, - { (char *)"SoTextureCombine_constantColor_set", _wrap_SoTextureCombine_constantColor_set, METH_VARARGS, (char *)"SoTextureCombine_constantColor_set(SoTextureCombine self, SoSFVec4f constantColor)"}, - { (char *)"SoTextureCombine_constantColor_get", _wrap_SoTextureCombine_constantColor_get, METH_VARARGS, (char *)"SoTextureCombine_constantColor_get(SoTextureCombine self) -> SoSFVec4f"}, - { (char *)"SoTextureCombine_doAction", _wrap_SoTextureCombine_doAction, METH_VARARGS, (char *)"SoTextureCombine_doAction(SoTextureCombine self, SoAction action)"}, - { (char *)"SoTextureCombine_callback", _wrap_SoTextureCombine_callback, METH_VARARGS, (char *)"SoTextureCombine_callback(SoTextureCombine self, SoCallbackAction action)"}, - { (char *)"SoTextureCombine_GLRender", _wrap_SoTextureCombine_GLRender, METH_VARARGS, (char *)"SoTextureCombine_GLRender(SoTextureCombine self, SoGLRenderAction action)"}, - { (char *)"SoTextureCombine_pick", _wrap_SoTextureCombine_pick, METH_VARARGS, (char *)"SoTextureCombine_pick(SoTextureCombine self, SoPickAction action)"}, - { (char *)"SoTextureCombine_swigregister", SoTextureCombine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSceneTexture2_getClassTypeId", _wrap_SoSceneTexture2_getClassTypeId, METH_VARARGS, (char *)"SoSceneTexture2_getClassTypeId() -> SoType"}, - { (char *)"SoSceneTexture2_getTypeId", _wrap_SoSceneTexture2_getTypeId, METH_VARARGS, (char *)"SoSceneTexture2_getTypeId(SoSceneTexture2 self) -> SoType"}, - { (char *)"SoSceneTexture2_initClass", _wrap_SoSceneTexture2_initClass, METH_VARARGS, (char *)"SoSceneTexture2_initClass()"}, - { (char *)"new_SoSceneTexture2", _wrap_new_SoSceneTexture2, METH_VARARGS, (char *)"new_SoSceneTexture2() -> SoSceneTexture2"}, - { (char *)"SoSceneTexture2_wrapS_set", _wrap_SoSceneTexture2_wrapS_set, METH_VARARGS, (char *)"SoSceneTexture2_wrapS_set(SoSceneTexture2 self, SoSFEnum wrapS)"}, - { (char *)"SoSceneTexture2_wrapS_get", _wrap_SoSceneTexture2_wrapS_get, METH_VARARGS, (char *)"SoSceneTexture2_wrapS_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_wrapT_set", _wrap_SoSceneTexture2_wrapT_set, METH_VARARGS, (char *)"SoSceneTexture2_wrapT_set(SoSceneTexture2 self, SoSFEnum wrapT)"}, - { (char *)"SoSceneTexture2_wrapT_get", _wrap_SoSceneTexture2_wrapT_get, METH_VARARGS, (char *)"SoSceneTexture2_wrapT_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_model_set", _wrap_SoSceneTexture2_model_set, METH_VARARGS, (char *)"SoSceneTexture2_model_set(SoSceneTexture2 self, SoSFEnum model)"}, - { (char *)"SoSceneTexture2_model_get", _wrap_SoSceneTexture2_model_get, METH_VARARGS, (char *)"SoSceneTexture2_model_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_blendColor_set", _wrap_SoSceneTexture2_blendColor_set, METH_VARARGS, (char *)"SoSceneTexture2_blendColor_set(SoSceneTexture2 self, SoSFColor blendColor)"}, - { (char *)"SoSceneTexture2_blendColor_get", _wrap_SoSceneTexture2_blendColor_get, METH_VARARGS, (char *)"SoSceneTexture2_blendColor_get(SoSceneTexture2 self) -> SoSFColor"}, - { (char *)"SoSceneTexture2_backgroundColor_set", _wrap_SoSceneTexture2_backgroundColor_set, METH_VARARGS, (char *)"SoSceneTexture2_backgroundColor_set(SoSceneTexture2 self, SoSFVec4f backgroundColor)"}, - { (char *)"SoSceneTexture2_backgroundColor_get", _wrap_SoSceneTexture2_backgroundColor_get, METH_VARARGS, (char *)"SoSceneTexture2_backgroundColor_get(SoSceneTexture2 self) -> SoSFVec4f"}, - { (char *)"SoSceneTexture2_size_set", _wrap_SoSceneTexture2_size_set, METH_VARARGS, (char *)"SoSceneTexture2_size_set(SoSceneTexture2 self, SoSFVec2s size)"}, - { (char *)"SoSceneTexture2_size_get", _wrap_SoSceneTexture2_size_get, METH_VARARGS, (char *)"SoSceneTexture2_size_get(SoSceneTexture2 self) -> SoSFVec2s"}, - { (char *)"SoSceneTexture2_scene_set", _wrap_SoSceneTexture2_scene_set, METH_VARARGS, (char *)"SoSceneTexture2_scene_set(SoSceneTexture2 self, SoSFNode scene)"}, - { (char *)"SoSceneTexture2_scene_get", _wrap_SoSceneTexture2_scene_get, METH_VARARGS, (char *)"SoSceneTexture2_scene_get(SoSceneTexture2 self) -> SoSFNode"}, - { (char *)"SoSceneTexture2_sceneTransparencyType_set", _wrap_SoSceneTexture2_sceneTransparencyType_set, METH_VARARGS, (char *)"SoSceneTexture2_sceneTransparencyType_set(SoSceneTexture2 self, SoSFNode sceneTransparencyType)"}, - { (char *)"SoSceneTexture2_sceneTransparencyType_get", _wrap_SoSceneTexture2_sceneTransparencyType_get, METH_VARARGS, (char *)"SoSceneTexture2_sceneTransparencyType_get(SoSceneTexture2 self) -> SoSFNode"}, - { (char *)"SoSceneTexture2_transparencyFunction_set", _wrap_SoSceneTexture2_transparencyFunction_set, METH_VARARGS, (char *)"SoSceneTexture2_transparencyFunction_set(SoSceneTexture2 self, SoSFEnum transparencyFunction)"}, - { (char *)"SoSceneTexture2_transparencyFunction_get", _wrap_SoSceneTexture2_transparencyFunction_get, METH_VARARGS, (char *)"SoSceneTexture2_transparencyFunction_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_type_set", _wrap_SoSceneTexture2_type_set, METH_VARARGS, (char *)"SoSceneTexture2_type_set(SoSceneTexture2 self, SoSFEnum type)"}, - { (char *)"SoSceneTexture2_type_get", _wrap_SoSceneTexture2_type_get, METH_VARARGS, (char *)"SoSceneTexture2_type_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_notify", _wrap_SoSceneTexture2_notify, METH_VARARGS, (char *)"SoSceneTexture2_notify(SoSceneTexture2 self, SoNotList list)"}, - { (char *)"SoSceneTexture2_write", _wrap_SoSceneTexture2_write, METH_VARARGS, (char *)"SoSceneTexture2_write(SoSceneTexture2 self, SoWriteAction action)"}, - { (char *)"SoSceneTexture2_doAction", _wrap_SoSceneTexture2_doAction, METH_VARARGS, (char *)"SoSceneTexture2_doAction(SoSceneTexture2 self, SoAction action)"}, - { (char *)"SoSceneTexture2_GLRender", _wrap_SoSceneTexture2_GLRender, METH_VARARGS, (char *)"SoSceneTexture2_GLRender(SoSceneTexture2 self, SoGLRenderAction action)"}, - { (char *)"SoSceneTexture2_callback", _wrap_SoSceneTexture2_callback, METH_VARARGS, (char *)"SoSceneTexture2_callback(SoSceneTexture2 self, SoCallbackAction action)"}, - { (char *)"SoSceneTexture2_rayPick", _wrap_SoSceneTexture2_rayPick, METH_VARARGS, (char *)"SoSceneTexture2_rayPick(SoSceneTexture2 self, SoRayPickAction action)"}, - { (char *)"SoSceneTexture2_swigregister", SoSceneTexture2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSceneTextureCubeMap_getClassTypeId", _wrap_SoSceneTextureCubeMap_getClassTypeId, METH_VARARGS, (char *)"SoSceneTextureCubeMap_getClassTypeId() -> SoType"}, - { (char *)"SoSceneTextureCubeMap_getTypeId", _wrap_SoSceneTextureCubeMap_getTypeId, METH_VARARGS, (char *)"SoSceneTextureCubeMap_getTypeId(SoSceneTextureCubeMap self) -> SoType"}, - { (char *)"SoSceneTextureCubeMap_initClass", _wrap_SoSceneTextureCubeMap_initClass, METH_VARARGS, (char *)"SoSceneTextureCubeMap_initClass()"}, - { (char *)"new_SoSceneTextureCubeMap", _wrap_new_SoSceneTextureCubeMap, METH_VARARGS, (char *)"new_SoSceneTextureCubeMap() -> SoSceneTextureCubeMap"}, - { (char *)"SoSceneTextureCubeMap_size_set", _wrap_SoSceneTextureCubeMap_size_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_size_set(SoSceneTextureCubeMap self, SoSFVec2s size)"}, - { (char *)"SoSceneTextureCubeMap_size_get", _wrap_SoSceneTextureCubeMap_size_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_size_get(SoSceneTextureCubeMap self) -> SoSFVec2s"}, - { (char *)"SoSceneTextureCubeMap_scene_set", _wrap_SoSceneTextureCubeMap_scene_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_scene_set(SoSceneTextureCubeMap self, SoSFNode scene)"}, - { (char *)"SoSceneTextureCubeMap_scene_get", _wrap_SoSceneTextureCubeMap_scene_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_scene_get(SoSceneTextureCubeMap self) -> SoSFNode"}, - { (char *)"SoSceneTextureCubeMap_wrapS_set", _wrap_SoSceneTextureCubeMap_wrapS_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapS_set(SoSceneTextureCubeMap self, SoSFEnum wrapS)"}, - { (char *)"SoSceneTextureCubeMap_wrapS_get", _wrap_SoSceneTextureCubeMap_wrapS_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapS_get(SoSceneTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoSceneTextureCubeMap_wrapT_set", _wrap_SoSceneTextureCubeMap_wrapT_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapT_set(SoSceneTextureCubeMap self, SoSFEnum wrapT)"}, - { (char *)"SoSceneTextureCubeMap_wrapT_get", _wrap_SoSceneTextureCubeMap_wrapT_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapT_get(SoSceneTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoSceneTextureCubeMap_wrapR_set", _wrap_SoSceneTextureCubeMap_wrapR_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapR_set(SoSceneTextureCubeMap self, SoSFEnum wrapR)"}, - { (char *)"SoSceneTextureCubeMap_wrapR_get", _wrap_SoSceneTextureCubeMap_wrapR_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_wrapR_get(SoSceneTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoSceneTextureCubeMap_model_set", _wrap_SoSceneTextureCubeMap_model_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_model_set(SoSceneTextureCubeMap self, SoSFEnum model)"}, - { (char *)"SoSceneTextureCubeMap_model_get", _wrap_SoSceneTextureCubeMap_model_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_model_get(SoSceneTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoSceneTextureCubeMap_backgroundColor_set", _wrap_SoSceneTextureCubeMap_backgroundColor_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_backgroundColor_set(SoSceneTextureCubeMap self, SoSFColor backgroundColor)"}, - { (char *)"SoSceneTextureCubeMap_backgroundColor_get", _wrap_SoSceneTextureCubeMap_backgroundColor_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_backgroundColor_get(SoSceneTextureCubeMap self) -> SoSFColor"}, - { (char *)"SoSceneTextureCubeMap_transparencyFunction_set", _wrap_SoSceneTextureCubeMap_transparencyFunction_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_transparencyFunction_set(SoSceneTextureCubeMap self, SoSFEnum transparencyFunction)"}, - { (char *)"SoSceneTextureCubeMap_transparencyFunction_get", _wrap_SoSceneTextureCubeMap_transparencyFunction_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_transparencyFunction_get(SoSceneTextureCubeMap self) -> SoSFEnum"}, - { (char *)"SoSceneTextureCubeMap_blendColor_set", _wrap_SoSceneTextureCubeMap_blendColor_set, METH_VARARGS, (char *)"SoSceneTextureCubeMap_blendColor_set(SoSceneTextureCubeMap self, SoSFColor blendColor)"}, - { (char *)"SoSceneTextureCubeMap_blendColor_get", _wrap_SoSceneTextureCubeMap_blendColor_get, METH_VARARGS, (char *)"SoSceneTextureCubeMap_blendColor_get(SoSceneTextureCubeMap self) -> SoSFColor"}, - { (char *)"SoSceneTextureCubeMap_doAction", _wrap_SoSceneTextureCubeMap_doAction, METH_VARARGS, (char *)"SoSceneTextureCubeMap_doAction(SoSceneTextureCubeMap self, SoAction action)"}, - { (char *)"SoSceneTextureCubeMap_GLRender", _wrap_SoSceneTextureCubeMap_GLRender, METH_VARARGS, (char *)"SoSceneTextureCubeMap_GLRender(SoSceneTextureCubeMap self, SoGLRenderAction action)"}, - { (char *)"SoSceneTextureCubeMap_callback", _wrap_SoSceneTextureCubeMap_callback, METH_VARARGS, (char *)"SoSceneTextureCubeMap_callback(SoSceneTextureCubeMap self, SoCallbackAction action)"}, - { (char *)"SoSceneTextureCubeMap_rayPick", _wrap_SoSceneTextureCubeMap_rayPick, METH_VARARGS, (char *)"SoSceneTextureCubeMap_rayPick(SoSceneTextureCubeMap self, SoRayPickAction action)"}, - { (char *)"SoSceneTextureCubeMap_swigregister", SoSceneTextureCubeMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCacheHintElement_getClassTypeId", _wrap_SoCacheHintElement_getClassTypeId, METH_VARARGS, (char *)"SoCacheHintElement_getClassTypeId() -> SoType"}, - { (char *)"SoCacheHintElement_getClassStackIndex", _wrap_SoCacheHintElement_getClassStackIndex, METH_VARARGS, (char *)"SoCacheHintElement_getClassStackIndex() -> int"}, - { (char *)"SoCacheHintElement_createInstance", _wrap_SoCacheHintElement_createInstance, METH_VARARGS, (char *)"SoCacheHintElement_createInstance() -> void"}, - { (char *)"SoCacheHintElement_initClass", _wrap_SoCacheHintElement_initClass, METH_VARARGS, (char *)"SoCacheHintElement_initClass()"}, - { (char *)"SoCacheHintElement_init", _wrap_SoCacheHintElement_init, METH_VARARGS, (char *)"SoCacheHintElement_init(SoCacheHintElement self, SoState state)"}, - { (char *)"SoCacheHintElement_push", _wrap_SoCacheHintElement_push, METH_VARARGS, (char *)"SoCacheHintElement_push(SoCacheHintElement self, SoState state)"}, - { (char *)"SoCacheHintElement_pop", _wrap_SoCacheHintElement_pop, METH_VARARGS, (char *)"SoCacheHintElement_pop(SoCacheHintElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoCacheHintElement_matches", _wrap_SoCacheHintElement_matches, METH_VARARGS, (char *)"SoCacheHintElement_matches(SoCacheHintElement self, SoElement element) -> SbBool"}, - { (char *)"SoCacheHintElement_copyMatchInfo", _wrap_SoCacheHintElement_copyMatchInfo, METH_VARARGS, (char *)"SoCacheHintElement_copyMatchInfo(SoCacheHintElement self) -> SoElement"}, - { (char *)"SoCacheHintElement_set", _wrap_SoCacheHintElement_set, METH_VARARGS, (char *)"SoCacheHintElement_set(SoState state, SoNode node, float memvalue, float gfxvalue)"}, - { (char *)"SoCacheHintElement_get", _wrap_SoCacheHintElement_get, METH_VARARGS, (char *)"SoCacheHintElement_get(SoState state, float memvalue, float gfxvalue)"}, - { (char *)"SoCacheHintElement_swigregister", SoCacheHintElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCacheHint_getClassTypeId", _wrap_SoCacheHint_getClassTypeId, METH_VARARGS, (char *)"SoCacheHint_getClassTypeId() -> SoType"}, - { (char *)"SoCacheHint_getTypeId", _wrap_SoCacheHint_getTypeId, METH_VARARGS, (char *)"SoCacheHint_getTypeId(SoCacheHint self) -> SoType"}, - { (char *)"SoCacheHint_initClass", _wrap_SoCacheHint_initClass, METH_VARARGS, (char *)"SoCacheHint_initClass()"}, - { (char *)"new_SoCacheHint", _wrap_new_SoCacheHint, METH_VARARGS, (char *)"new_SoCacheHint() -> SoCacheHint"}, - { (char *)"SoCacheHint_memValue_set", _wrap_SoCacheHint_memValue_set, METH_VARARGS, (char *)"SoCacheHint_memValue_set(SoCacheHint self, SoSFFloat memValue)"}, - { (char *)"SoCacheHint_memValue_get", _wrap_SoCacheHint_memValue_get, METH_VARARGS, (char *)"SoCacheHint_memValue_get(SoCacheHint self) -> SoSFFloat"}, - { (char *)"SoCacheHint_gfxValue_set", _wrap_SoCacheHint_gfxValue_set, METH_VARARGS, (char *)"SoCacheHint_gfxValue_set(SoCacheHint self, SoSFFloat gfxValue)"}, - { (char *)"SoCacheHint_gfxValue_get", _wrap_SoCacheHint_gfxValue_get, METH_VARARGS, (char *)"SoCacheHint_gfxValue_get(SoCacheHint self) -> SoSFFloat"}, - { (char *)"SoCacheHint_doAction", _wrap_SoCacheHint_doAction, METH_VARARGS, (char *)"SoCacheHint_doAction(SoCacheHint self, SoAction action)"}, - { (char *)"SoCacheHint_GLRender", _wrap_SoCacheHint_GLRender, METH_VARARGS, (char *)"SoCacheHint_GLRender(SoCacheHint self, SoGLRenderAction action)"}, - { (char *)"SoCacheHint_callback", _wrap_SoCacheHint_callback, METH_VARARGS, (char *)"SoCacheHint_callback(SoCacheHint self, SoCallbackAction action)"}, - { (char *)"SoCacheHint_getBoundingBox", _wrap_SoCacheHint_getBoundingBox, METH_VARARGS, (char *)"SoCacheHint_getBoundingBox(SoCacheHint self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCacheHint_pick", _wrap_SoCacheHint_pick, METH_VARARGS, (char *)"SoCacheHint_pick(SoCacheHint self, SoPickAction action)"}, - { (char *)"SoCacheHint_swigregister", SoCacheHint_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDepthBuffer_getClassTypeId", _wrap_SoDepthBuffer_getClassTypeId, METH_VARARGS, (char *)"SoDepthBuffer_getClassTypeId() -> SoType"}, - { (char *)"SoDepthBuffer_getTypeId", _wrap_SoDepthBuffer_getTypeId, METH_VARARGS, (char *)"SoDepthBuffer_getTypeId(SoDepthBuffer self) -> SoType"}, - { (char *)"SoDepthBuffer_initClass", _wrap_SoDepthBuffer_initClass, METH_VARARGS, (char *)"SoDepthBuffer_initClass()"}, - { (char *)"new_SoDepthBuffer", _wrap_new_SoDepthBuffer, METH_VARARGS, (char *)"new_SoDepthBuffer() -> SoDepthBuffer"}, - { (char *)"SoDepthBuffer_test_set", _wrap_SoDepthBuffer_test_set, METH_VARARGS, (char *)"SoDepthBuffer_test_set(SoDepthBuffer self, SoSFBool test)"}, - { (char *)"SoDepthBuffer_test_get", _wrap_SoDepthBuffer_test_get, METH_VARARGS, (char *)"SoDepthBuffer_test_get(SoDepthBuffer self) -> SoSFBool"}, - { (char *)"SoDepthBuffer_write_set", _wrap_SoDepthBuffer_write_set, METH_VARARGS, (char *)"SoDepthBuffer_write_set(SoDepthBuffer self, SoSFBool write)"}, - { (char *)"SoDepthBuffer_write_get", _wrap_SoDepthBuffer_write_get, METH_VARARGS, (char *)"SoDepthBuffer_write_get(SoDepthBuffer self) -> SoSFBool"}, - { (char *)"SoDepthBuffer_function_set", _wrap_SoDepthBuffer_function_set, METH_VARARGS, (char *)"SoDepthBuffer_function_set(SoDepthBuffer self, SoSFEnum function)"}, - { (char *)"SoDepthBuffer_function_get", _wrap_SoDepthBuffer_function_get, METH_VARARGS, (char *)"SoDepthBuffer_function_get(SoDepthBuffer self) -> SoSFEnum"}, - { (char *)"SoDepthBuffer_range_set", _wrap_SoDepthBuffer_range_set, METH_VARARGS, (char *)"SoDepthBuffer_range_set(SoDepthBuffer self, SoSFVec2f range)"}, - { (char *)"SoDepthBuffer_range_get", _wrap_SoDepthBuffer_range_get, METH_VARARGS, (char *)"SoDepthBuffer_range_get(SoDepthBuffer self) -> SoSFVec2f"}, - { (char *)"SoDepthBuffer_GLRender", _wrap_SoDepthBuffer_GLRender, METH_VARARGS, (char *)"SoDepthBuffer_GLRender(SoDepthBuffer self, SoGLRenderAction action)"}, - { (char *)"SoDepthBuffer_swigregister", SoDepthBuffer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbLine", _wrap_new_SbLine, METH_VARARGS, (char *)"\n" - "SbLine()\n" - "new_SbLine(SbVec3f origin, SbVec3f point) -> SbLine\n" - ""}, - { (char *)"SbLine_setValue", _wrap_SbLine_setValue, METH_VARARGS, (char *)"SbLine_setValue(SbLine self, SbVec3f origin, SbVec3f point)"}, - { (char *)"SbLine_getClosestPoints", _wrap_SbLine_getClosestPoints, METH_VARARGS, (char *)"SbLine_getClosestPoints(SbLine self, SbLine line2, SbVec3f ptOnThis, SbVec3f ptOnLine2) -> SbBool"}, - { (char *)"SbLine_getClosestPoint", _wrap_SbLine_getClosestPoint, METH_VARARGS, (char *)"SbLine_getClosestPoint(SbLine self, SbVec3f point) -> SbVec3f"}, - { (char *)"SbLine_getPosition", _wrap_SbLine_getPosition, METH_VARARGS, (char *)"SbLine_getPosition(SbLine self) -> SbVec3f"}, - { (char *)"SbLine_getDirection", _wrap_SbLine_getDirection, METH_VARARGS, (char *)"SbLine_getDirection(SbLine self) -> SbVec3f"}, - { (char *)"SbLine_output", _wrap_SbLine_output, METH_VARARGS, (char *)"SbLine_output(SbLine self, FILE file)"}, - { (char *)"delete_SbLine", _wrap_delete_SbLine, METH_VARARGS, (char *)"delete_SbLine(SbLine self)"}, - { (char *)"SbLine_swigregister", SbLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SbProjector_project", _wrap_SbProjector_project, METH_VARARGS, (char *)"SbProjector_project(SbProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbProjector_setViewVolume", _wrap_SbProjector_setViewVolume, METH_VARARGS, (char *)"SbProjector_setViewVolume(SbProjector self, SbViewVolume vol)"}, - { (char *)"SbProjector_getViewVolume", _wrap_SbProjector_getViewVolume, METH_VARARGS, (char *)"SbProjector_getViewVolume(SbProjector self) -> SbViewVolume"}, - { (char *)"SbProjector_setWorkingSpace", _wrap_SbProjector_setWorkingSpace, METH_VARARGS, (char *)"SbProjector_setWorkingSpace(SbProjector self, SbMatrix space)"}, - { (char *)"SbProjector_getWorkingSpace", _wrap_SbProjector_getWorkingSpace, METH_VARARGS, (char *)"SbProjector_getWorkingSpace(SbProjector self) -> SbMatrix"}, - { (char *)"SbProjector_copy", _wrap_SbProjector_copy, METH_VARARGS, (char *)"SbProjector_copy(SbProjector self) -> SbProjector"}, - { (char *)"SbProjector_tryProject", _wrap_SbProjector_tryProject, METH_VARARGS, (char *)"SbProjector_tryProject(SbProjector self, SbVec2f point, float epsilon, SbVec3f result) -> SbBool"}, - { (char *)"SbProjector_swigregister", SbProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinder", _wrap_new_SbCylinder, METH_VARARGS, (char *)"\n" - "SbCylinder()\n" - "new_SbCylinder(SbLine a, float r) -> SbCylinder\n" - ""}, - { (char *)"SbCylinder_setValue", _wrap_SbCylinder_setValue, METH_VARARGS, (char *)"SbCylinder_setValue(SbCylinder self, SbLine a, float r)"}, - { (char *)"SbCylinder_setAxis", _wrap_SbCylinder_setAxis, METH_VARARGS, (char *)"SbCylinder_setAxis(SbCylinder self, SbLine a)"}, - { (char *)"SbCylinder_setRadius", _wrap_SbCylinder_setRadius, METH_VARARGS, (char *)"SbCylinder_setRadius(SbCylinder self, float r)"}, - { (char *)"SbCylinder_getAxis", _wrap_SbCylinder_getAxis, METH_VARARGS, (char *)"SbCylinder_getAxis(SbCylinder self) -> SbLine"}, - { (char *)"SbCylinder_getRadius", _wrap_SbCylinder_getRadius, METH_VARARGS, (char *)"SbCylinder_getRadius(SbCylinder self) -> float"}, - { (char *)"SbCylinder_intersect", _wrap_SbCylinder_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbCylinder_intersect(SbCylinder self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool\n" - ""}, - { (char *)"SbCylinder_output", _wrap_SbCylinder_output, METH_VARARGS, (char *)"SbCylinder_output(SbCylinder self, FILE file)"}, - { (char *)"delete_SbCylinder", _wrap_delete_SbCylinder, METH_VARARGS, (char *)"delete_SbCylinder(SbCylinder self)"}, - { (char *)"SbCylinder_swigregister", SbCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SbCylinderProjector_project", _wrap_SbCylinderProjector_project, METH_VARARGS, (char *)"SbCylinderProjector_project(SbCylinderProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderProjector_projectAndGetRotation", _wrap_SbCylinderProjector_projectAndGetRotation, METH_VARARGS, (char *)"SbCylinderProjector_projectAndGetRotation(SbCylinderProjector self, SbVec2f point, SbRotation rot) -> SbVec3f"}, - { (char *)"SbCylinderProjector_getRotation", _wrap_SbCylinderProjector_getRotation, METH_VARARGS, (char *)"SbCylinderProjector_getRotation(SbCylinderProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbCylinderProjector_setCylinder", _wrap_SbCylinderProjector_setCylinder, METH_VARARGS, (char *)"SbCylinderProjector_setCylinder(SbCylinderProjector self, SbCylinder cyl)"}, - { (char *)"SbCylinderProjector_getCylinder", _wrap_SbCylinderProjector_getCylinder, METH_VARARGS, (char *)"SbCylinderProjector_getCylinder(SbCylinderProjector self) -> SbCylinder"}, - { (char *)"SbCylinderProjector_setOrientToEye", _wrap_SbCylinderProjector_setOrientToEye, METH_VARARGS, (char *)"SbCylinderProjector_setOrientToEye(SbCylinderProjector self, SbBool orienttoeye)"}, - { (char *)"SbCylinderProjector_isOrientToEye", _wrap_SbCylinderProjector_isOrientToEye, METH_VARARGS, (char *)"SbCylinderProjector_isOrientToEye(SbCylinderProjector self) -> SbBool"}, - { (char *)"SbCylinderProjector_setFront", _wrap_SbCylinderProjector_setFront, METH_VARARGS, (char *)"SbCylinderProjector_setFront(SbCylinderProjector self, SbBool infront)"}, - { (char *)"SbCylinderProjector_isFront", _wrap_SbCylinderProjector_isFront, METH_VARARGS, (char *)"SbCylinderProjector_isFront(SbCylinderProjector self) -> SbBool"}, - { (char *)"SbCylinderProjector_isPointInFront", _wrap_SbCylinderProjector_isPointInFront, METH_VARARGS, (char *)"SbCylinderProjector_isPointInFront(SbCylinderProjector self, SbVec3f point) -> SbBool"}, - { (char *)"SbCylinderProjector_setWorkingSpace", _wrap_SbCylinderProjector_setWorkingSpace, METH_VARARGS, (char *)"SbCylinderProjector_setWorkingSpace(SbCylinderProjector self, SbMatrix space)"}, - { (char *)"delete_SbCylinderProjector", _wrap_delete_SbCylinderProjector, METH_VARARGS, (char *)"delete_SbCylinderProjector(SbCylinderProjector self)"}, - { (char *)"SbCylinderProjector_swigregister", SbCylinderProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderSectionProjector", _wrap_new_SbCylinderSectionProjector, METH_VARARGS, (char *)"\n" - "SbCylinderSectionProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderSectionProjector(float edgetol=0.9)\n" - "SbCylinderSectionProjector()\n" - "SbCylinderSectionProjector(SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderSectionProjector(SbCylinder cyl, float edgetol=0.9)\n" - "new_SbCylinderSectionProjector(SbCylinder cyl) -> SbCylinderSectionProjector\n" - ""}, - { (char *)"SbCylinderSectionProjector_copy", _wrap_SbCylinderSectionProjector_copy, METH_VARARGS, (char *)"SbCylinderSectionProjector_copy(SbCylinderSectionProjector self) -> SbProjector"}, - { (char *)"SbCylinderSectionProjector_project", _wrap_SbCylinderSectionProjector_project, METH_VARARGS, (char *)"SbCylinderSectionProjector_project(SbCylinderSectionProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderSectionProjector_getRotation", _wrap_SbCylinderSectionProjector_getRotation, METH_VARARGS, (char *)"SbCylinderSectionProjector_getRotation(SbCylinderSectionProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbCylinderSectionProjector_setTolerance", _wrap_SbCylinderSectionProjector_setTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_setTolerance(SbCylinderSectionProjector self, float edgetol)"}, - { (char *)"SbCylinderSectionProjector_getTolerance", _wrap_SbCylinderSectionProjector_getTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_getTolerance(SbCylinderSectionProjector self) -> float"}, - { (char *)"SbCylinderSectionProjector_isWithinTolerance", _wrap_SbCylinderSectionProjector_isWithinTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_isWithinTolerance(SbCylinderSectionProjector self, SbVec3f point) -> SbBool"}, - { (char *)"delete_SbCylinderSectionProjector", _wrap_delete_SbCylinderSectionProjector, METH_VARARGS, (char *)"delete_SbCylinderSectionProjector(SbCylinderSectionProjector self)"}, - { (char *)"SbCylinderSectionProjector_swigregister", SbCylinderSectionProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderPlaneProjector", _wrap_new_SbCylinderPlaneProjector, METH_VARARGS, (char *)"\n" - "SbCylinderPlaneProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderPlaneProjector(float edgetol=0.9)\n" - "SbCylinderPlaneProjector()\n" - "SbCylinderPlaneProjector(SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderPlaneProjector(SbCylinder cyl, float edgetol=0.9)\n" - "new_SbCylinderPlaneProjector(SbCylinder cyl) -> SbCylinderPlaneProjector\n" - ""}, - { (char *)"SbCylinderPlaneProjector_copy", _wrap_SbCylinderPlaneProjector_copy, METH_VARARGS, (char *)"SbCylinderPlaneProjector_copy(SbCylinderPlaneProjector self) -> SbProjector"}, - { (char *)"SbCylinderPlaneProjector_project", _wrap_SbCylinderPlaneProjector_project, METH_VARARGS, (char *)"SbCylinderPlaneProjector_project(SbCylinderPlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderPlaneProjector_getRotation", _wrap_SbCylinderPlaneProjector_getRotation, METH_VARARGS, (char *)"SbCylinderPlaneProjector_getRotation(SbCylinderPlaneProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbCylinderPlaneProjector", _wrap_delete_SbCylinderPlaneProjector, METH_VARARGS, (char *)"delete_SbCylinderPlaneProjector(SbCylinderPlaneProjector self)"}, - { (char *)"SbCylinderPlaneProjector_swigregister", SbCylinderPlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderSheetProjector", _wrap_new_SbCylinderSheetProjector, METH_VARARGS, (char *)"\n" - "SbCylinderSheetProjector(SbBool orienttoeye=1)\n" - "SbCylinderSheetProjector()\n" - "SbCylinderSheetProjector(SbCylinder cyl, SbBool orienttoeye=1)\n" - "new_SbCylinderSheetProjector(SbCylinder cyl) -> SbCylinderSheetProjector\n" - ""}, - { (char *)"SbCylinderSheetProjector_copy", _wrap_SbCylinderSheetProjector_copy, METH_VARARGS, (char *)"SbCylinderSheetProjector_copy(SbCylinderSheetProjector self) -> SbProjector"}, - { (char *)"SbCylinderSheetProjector_project", _wrap_SbCylinderSheetProjector_project, METH_VARARGS, (char *)"SbCylinderSheetProjector_project(SbCylinderSheetProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderSheetProjector_getRotation", _wrap_SbCylinderSheetProjector_getRotation, METH_VARARGS, (char *)"SbCylinderSheetProjector_getRotation(SbCylinderSheetProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbCylinderSheetProjector", _wrap_delete_SbCylinderSheetProjector, METH_VARARGS, (char *)"delete_SbCylinderSheetProjector(SbCylinderSheetProjector self)"}, - { (char *)"SbCylinderSheetProjector_swigregister", SbCylinderSheetProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbLineProjector", _wrap_new_SbLineProjector, METH_VARARGS, (char *)"new_SbLineProjector() -> SbLineProjector"}, - { (char *)"SbLineProjector_copy", _wrap_SbLineProjector_copy, METH_VARARGS, (char *)"SbLineProjector_copy(SbLineProjector self) -> SbProjector"}, - { (char *)"SbLineProjector_project", _wrap_SbLineProjector_project, METH_VARARGS, (char *)"SbLineProjector_project(SbLineProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbLineProjector_tryProject", _wrap_SbLineProjector_tryProject, METH_VARARGS, (char *)"\n" - "SbLineProjector_tryProject(SbLineProjector self, SbVec2f point, float epsilon, \n" - " SbVec3f result) -> SbBool\n" - ""}, - { (char *)"SbLineProjector_setLine", _wrap_SbLineProjector_setLine, METH_VARARGS, (char *)"SbLineProjector_setLine(SbLineProjector self, SbLine line)"}, - { (char *)"SbLineProjector_getLine", _wrap_SbLineProjector_getLine, METH_VARARGS, (char *)"SbLineProjector_getLine(SbLineProjector self) -> SbLine"}, - { (char *)"SbLineProjector_getVector", _wrap_SbLineProjector_getVector, METH_VARARGS, (char *)"\n" - "getVector(SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f\n" - "SbLineProjector_getVector(SbLineProjector self, SbVec2f viewpos) -> SbVec3f\n" - ""}, - { (char *)"SbLineProjector_setStartPosition", _wrap_SbLineProjector_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f viewpos)\n" - "SbLineProjector_setStartPosition(SbLineProjector self, SbVec3f point)\n" - ""}, - { (char *)"delete_SbLineProjector", _wrap_delete_SbLineProjector, METH_VARARGS, (char *)"delete_SbLineProjector(SbLineProjector self)"}, - { (char *)"SbLineProjector_swigregister", SbLineProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPlaneProjector", _wrap_new_SbPlaneProjector, METH_VARARGS, (char *)"\n" - "SbPlaneProjector(SbBool orient=0)\n" - "SbPlaneProjector()\n" - "SbPlaneProjector(SbPlane plane, SbBool orient=0)\n" - "new_SbPlaneProjector(SbPlane plane) -> SbPlaneProjector\n" - ""}, - { (char *)"SbPlaneProjector_copy", _wrap_SbPlaneProjector_copy, METH_VARARGS, (char *)"SbPlaneProjector_copy(SbPlaneProjector self) -> SbProjector"}, - { (char *)"SbPlaneProjector_project", _wrap_SbPlaneProjector_project, METH_VARARGS, (char *)"SbPlaneProjector_project(SbPlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbPlaneProjector_tryProject", _wrap_SbPlaneProjector_tryProject, METH_VARARGS, (char *)"\n" - "SbPlaneProjector_tryProject(SbPlaneProjector self, SbVec2f point, float epsilon, \n" - " SbVec3f result) -> SbBool\n" - ""}, - { (char *)"SbPlaneProjector_setPlane", _wrap_SbPlaneProjector_setPlane, METH_VARARGS, (char *)"SbPlaneProjector_setPlane(SbPlaneProjector self, SbPlane plane)"}, - { (char *)"SbPlaneProjector_getPlane", _wrap_SbPlaneProjector_getPlane, METH_VARARGS, (char *)"SbPlaneProjector_getPlane(SbPlaneProjector self) -> SbPlane"}, - { (char *)"SbPlaneProjector_setOrientToEye", _wrap_SbPlaneProjector_setOrientToEye, METH_VARARGS, (char *)"SbPlaneProjector_setOrientToEye(SbPlaneProjector self, SbBool orienttoeye)"}, - { (char *)"SbPlaneProjector_isOrientToEye", _wrap_SbPlaneProjector_isOrientToEye, METH_VARARGS, (char *)"SbPlaneProjector_isOrientToEye(SbPlaneProjector self) -> SbBool"}, - { (char *)"SbPlaneProjector_getVector", _wrap_SbPlaneProjector_getVector, METH_VARARGS, (char *)"\n" - "getVector(SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f\n" - "SbPlaneProjector_getVector(SbPlaneProjector self, SbVec2f viewpos) -> SbVec3f\n" - ""}, - { (char *)"SbPlaneProjector_setStartPosition", _wrap_SbPlaneProjector_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f viewpos)\n" - "SbPlaneProjector_setStartPosition(SbPlaneProjector self, SbVec3f point)\n" - ""}, - { (char *)"delete_SbPlaneProjector", _wrap_delete_SbPlaneProjector, METH_VARARGS, (char *)"delete_SbPlaneProjector(SbPlaneProjector self)"}, - { (char *)"SbPlaneProjector_swigregister", SbPlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphere", _wrap_new_SbSphere, METH_VARARGS, (char *)"\n" - "SbSphere()\n" - "new_SbSphere(SbVec3f center, float radius) -> SbSphere\n" - ""}, - { (char *)"SbSphere_setValue", _wrap_SbSphere_setValue, METH_VARARGS, (char *)"SbSphere_setValue(SbSphere self, SbVec3f center, float radius)"}, - { (char *)"SbSphere_setCenter", _wrap_SbSphere_setCenter, METH_VARARGS, (char *)"SbSphere_setCenter(SbSphere self, SbVec3f center)"}, - { (char *)"SbSphere_setRadius", _wrap_SbSphere_setRadius, METH_VARARGS, (char *)"SbSphere_setRadius(SbSphere self, float radius)"}, - { (char *)"SbSphere_getCenter", _wrap_SbSphere_getCenter, METH_VARARGS, (char *)"SbSphere_getCenter(SbSphere self) -> SbVec3f"}, - { (char *)"SbSphere_getRadius", _wrap_SbSphere_getRadius, METH_VARARGS, (char *)"SbSphere_getRadius(SbSphere self) -> float"}, - { (char *)"SbSphere_circumscribe", _wrap_SbSphere_circumscribe, METH_VARARGS, (char *)"SbSphere_circumscribe(SbSphere self, SbBox3f box)"}, - { (char *)"SbSphere_intersect", _wrap_SbSphere_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbSphere_intersect(SbSphere self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool\n" - ""}, - { (char *)"SbSphere_pointInside", _wrap_SbSphere_pointInside, METH_VARARGS, (char *)"SbSphere_pointInside(SbSphere self, SbVec3f p) -> SbBool"}, - { (char *)"SbSphere_output", _wrap_SbSphere_output, METH_VARARGS, (char *)"SbSphere_output(SbSphere self, FILE file)"}, - { (char *)"delete_SbSphere", _wrap_delete_SbSphere, METH_VARARGS, (char *)"delete_SbSphere(SbSphere self)"}, - { (char *)"SbSphere_swigregister", SbSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SbSphereProjector_projectAndGetRotation", _wrap_SbSphereProjector_projectAndGetRotation, METH_VARARGS, (char *)"SbSphereProjector_projectAndGetRotation(SbSphereProjector self, SbVec2f point, SbRotation rot) -> SbVec3f"}, - { (char *)"SbSphereProjector_getRotation", _wrap_SbSphereProjector_getRotation, METH_VARARGS, (char *)"SbSphereProjector_getRotation(SbSphereProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbSphereProjector_setSphere", _wrap_SbSphereProjector_setSphere, METH_VARARGS, (char *)"SbSphereProjector_setSphere(SbSphereProjector self, SbSphere sph)"}, - { (char *)"SbSphereProjector_getSphere", _wrap_SbSphereProjector_getSphere, METH_VARARGS, (char *)"SbSphereProjector_getSphere(SbSphereProjector self) -> SbSphere"}, - { (char *)"SbSphereProjector_setOrientToEye", _wrap_SbSphereProjector_setOrientToEye, METH_VARARGS, (char *)"SbSphereProjector_setOrientToEye(SbSphereProjector self, SbBool orienttoeye)"}, - { (char *)"SbSphereProjector_isOrientToEye", _wrap_SbSphereProjector_isOrientToEye, METH_VARARGS, (char *)"SbSphereProjector_isOrientToEye(SbSphereProjector self) -> SbBool"}, - { (char *)"SbSphereProjector_setFront", _wrap_SbSphereProjector_setFront, METH_VARARGS, (char *)"SbSphereProjector_setFront(SbSphereProjector self, SbBool infront)"}, - { (char *)"SbSphereProjector_isFront", _wrap_SbSphereProjector_isFront, METH_VARARGS, (char *)"SbSphereProjector_isFront(SbSphereProjector self) -> SbBool"}, - { (char *)"SbSphereProjector_isPointInFront", _wrap_SbSphereProjector_isPointInFront, METH_VARARGS, (char *)"SbSphereProjector_isPointInFront(SbSphereProjector self, SbVec3f point) -> SbBool"}, - { (char *)"SbSphereProjector_setWorkingSpace", _wrap_SbSphereProjector_setWorkingSpace, METH_VARARGS, (char *)"SbSphereProjector_setWorkingSpace(SbSphereProjector self, SbMatrix space)"}, - { (char *)"delete_SbSphereProjector", _wrap_delete_SbSphereProjector, METH_VARARGS, (char *)"delete_SbSphereProjector(SbSphereProjector self)"}, - { (char *)"SbSphereProjector_swigregister", SbSphereProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphereSheetProjector", _wrap_new_SbSphereSheetProjector, METH_VARARGS, (char *)"\n" - "SbSphereSheetProjector(SbBool orienttoeye=1)\n" - "SbSphereSheetProjector()\n" - "SbSphereSheetProjector(SbSphere sph, SbBool orienttoeye=1)\n" - "new_SbSphereSheetProjector(SbSphere sph) -> SbSphereSheetProjector\n" - ""}, - { (char *)"SbSphereSheetProjector_copy", _wrap_SbSphereSheetProjector_copy, METH_VARARGS, (char *)"SbSphereSheetProjector_copy(SbSphereSheetProjector self) -> SbProjector"}, - { (char *)"SbSphereSheetProjector_project", _wrap_SbSphereSheetProjector_project, METH_VARARGS, (char *)"SbSphereSheetProjector_project(SbSphereSheetProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSphereSheetProjector_getRotation", _wrap_SbSphereSheetProjector_getRotation, METH_VARARGS, (char *)"SbSphereSheetProjector_getRotation(SbSphereSheetProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbSphereSheetProjector", _wrap_delete_SbSphereSheetProjector, METH_VARARGS, (char *)"delete_SbSphereSheetProjector(SbSphereSheetProjector self)"}, - { (char *)"SbSphereSheetProjector_swigregister", SbSphereSheetProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphereSectionProjector", _wrap_new_SbSphereSectionProjector, METH_VARARGS, (char *)"\n" - "SbSphereSectionProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSphereSectionProjector(float edgetol=0.9)\n" - "SbSphereSectionProjector()\n" - "SbSphereSectionProjector(SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSphereSectionProjector(SbSphere sph, float edgetol=0.9)\n" - "new_SbSphereSectionProjector(SbSphere sph) -> SbSphereSectionProjector\n" - ""}, - { (char *)"SbSphereSectionProjector_copy", _wrap_SbSphereSectionProjector_copy, METH_VARARGS, (char *)"SbSphereSectionProjector_copy(SbSphereSectionProjector self) -> SbProjector"}, - { (char *)"SbSphereSectionProjector_project", _wrap_SbSphereSectionProjector_project, METH_VARARGS, (char *)"SbSphereSectionProjector_project(SbSphereSectionProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSphereSectionProjector_getRotation", _wrap_SbSphereSectionProjector_getRotation, METH_VARARGS, (char *)"SbSphereSectionProjector_getRotation(SbSphereSectionProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbSphereSectionProjector_setTolerance", _wrap_SbSphereSectionProjector_setTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_setTolerance(SbSphereSectionProjector self, float edgetol)"}, - { (char *)"SbSphereSectionProjector_getTolerance", _wrap_SbSphereSectionProjector_getTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_getTolerance(SbSphereSectionProjector self) -> float"}, - { (char *)"SbSphereSectionProjector_setRadialFactor", _wrap_SbSphereSectionProjector_setRadialFactor, METH_VARARGS, (char *)"\n" - "setRadialFactor(float rad=0.0)\n" - "SbSphereSectionProjector_setRadialFactor(SbSphereSectionProjector self)\n" - ""}, - { (char *)"SbSphereSectionProjector_getRadialFactor", _wrap_SbSphereSectionProjector_getRadialFactor, METH_VARARGS, (char *)"SbSphereSectionProjector_getRadialFactor(SbSphereSectionProjector self) -> float"}, - { (char *)"SbSphereSectionProjector_isWithinTolerance", _wrap_SbSphereSectionProjector_isWithinTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_isWithinTolerance(SbSphereSectionProjector self, SbVec3f point) -> SbBool"}, - { (char *)"delete_SbSphereSectionProjector", _wrap_delete_SbSphereSectionProjector, METH_VARARGS, (char *)"delete_SbSphereSectionProjector(SbSphereSectionProjector self)"}, - { (char *)"SbSphereSectionProjector_swigregister", SbSphereSectionProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSpherePlaneProjector", _wrap_new_SbSpherePlaneProjector, METH_VARARGS, (char *)"\n" - "SbSpherePlaneProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSpherePlaneProjector(float edgetol=0.9)\n" - "SbSpherePlaneProjector()\n" - "SbSpherePlaneProjector(SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSpherePlaneProjector(SbSphere sph, float edgetol=0.9)\n" - "new_SbSpherePlaneProjector(SbSphere sph) -> SbSpherePlaneProjector\n" - ""}, - { (char *)"SbSpherePlaneProjector_copy", _wrap_SbSpherePlaneProjector_copy, METH_VARARGS, (char *)"SbSpherePlaneProjector_copy(SbSpherePlaneProjector self) -> SbProjector"}, - { (char *)"SbSpherePlaneProjector_project", _wrap_SbSpherePlaneProjector_project, METH_VARARGS, (char *)"SbSpherePlaneProjector_project(SbSpherePlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSpherePlaneProjector_getRotation", _wrap_SbSpherePlaneProjector_getRotation, METH_VARARGS, (char *)"SbSpherePlaneProjector_getRotation(SbSpherePlaneProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbSpherePlaneProjector", _wrap_delete_SbSpherePlaneProjector, METH_VARARGS, (char *)"delete_SbSpherePlaneProjector(SbSpherePlaneProjector self)"}, - { (char *)"SbSpherePlaneProjector_swigregister", SbSpherePlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbClip", _wrap_new_SbClip, METH_VARARGS, (char *)"\n" - "SbClip(SbClipCallback callback=None, void userdata=None)\n" - "SbClip(SbClipCallback callback=None)\n" - "new_SbClip() -> SbClip\n" - ""}, - { (char *)"SbClip_addVertex", _wrap_SbClip_addVertex, METH_VARARGS, (char *)"\n" - "addVertex(SbVec3f v, void vdata=None)\n" - "SbClip_addVertex(SbClip self, SbVec3f v)\n" - ""}, - { (char *)"SbClip_reset", _wrap_SbClip_reset, METH_VARARGS, (char *)"SbClip_reset(SbClip self)"}, - { (char *)"SbClip_clip", _wrap_SbClip_clip, METH_VARARGS, (char *)"SbClip_clip(SbClip self, SbPlane plane)"}, - { (char *)"SbClip_getNumVertices", _wrap_SbClip_getNumVertices, METH_VARARGS, (char *)"SbClip_getNumVertices(SbClip self) -> int"}, - { (char *)"SbClip_getVertex", _wrap_SbClip_getVertex, METH_VARARGS, (char *)"\n" - "getVertex(int idx, SbVec3f v, void vdata=None)\n" - "SbClip_getVertex(SbClip self, int idx, SbVec3f v)\n" - ""}, - { (char *)"SbClip_getVertexData", _wrap_SbClip_getVertexData, METH_VARARGS, (char *)"SbClip_getVertexData(SbClip self, int idx) -> void"}, - { (char *)"delete_SbClip", _wrap_delete_SbClip, METH_VARARGS, (char *)"delete_SbClip(SbClip self)"}, - { (char *)"SbClip_swigregister", SbClip_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPRotation", _wrap_new_SbDPRotation, METH_VARARGS, (char *)"\n" - "SbDPRotation()\n" - "SbDPRotation(SbVec3d axis, double radians)\n" - "SbDPRotation(double q)\n" - "SbDPRotation(double q0, double q1, double q2, double q3)\n" - "SbDPRotation(SbDPMatrix m)\n" - "new_SbDPRotation(SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation_getValue", _wrap_SbDPRotation_getValue, METH_VARARGS, (char *)"SbDPRotation_getValue(SbDPRotation self) -> double"}, - { (char *)"SbDPRotation_getAxisAngle", _wrap_SbDPRotation_getAxisAngle, METH_VARARGS, (char *)"SbDPRotation_getAxisAngle(SbDPRotation self, SbVec3d axis, double radians)"}, - { (char *)"SbDPRotation_getMatrix", _wrap_SbDPRotation_getMatrix, METH_VARARGS, (char *)"SbDPRotation_getMatrix(SbDPRotation self, SbDPMatrix matrix)"}, - { (char *)"SbDPRotation_invert", _wrap_SbDPRotation_invert, METH_VARARGS, (char *)"SbDPRotation_invert(SbDPRotation self) -> SbDPRotation"}, - { (char *)"SbDPRotation_inverse", _wrap_SbDPRotation_inverse, METH_VARARGS, (char *)"SbDPRotation_inverse(SbDPRotation self) -> SbDPRotation"}, - { (char *)"SbDPRotation_setValue", _wrap_SbDPRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(double q0, double q1, double q2, double q3) -> SbDPRotation\n" - "setValue(double q) -> SbDPRotation\n" - "setValue(SbDPMatrix m) -> SbDPRotation\n" - "setValue(SbVec3d axis, double radians) -> SbDPRotation\n" - "SbDPRotation_setValue(SbDPRotation self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation___imul__", _wrap_SbDPRotation___imul__, METH_VARARGS, (char *)"\n" - "__imul__(SbDPRotation q) -> SbDPRotation\n" - "SbDPRotation___imul__(SbDPRotation self, double s) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation_equals", _wrap_SbDPRotation_equals, METH_VARARGS, (char *)"SbDPRotation_equals(SbDPRotation self, SbDPRotation r, double tolerance) -> SbBool"}, - { (char *)"SbDPRotation_multVec", _wrap_SbDPRotation_multVec, METH_VARARGS, (char *)"SbDPRotation_multVec(SbDPRotation self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPRotation_scaleAngle", _wrap_SbDPRotation_scaleAngle, METH_VARARGS, (char *)"SbDPRotation_scaleAngle(SbDPRotation self, double scaleFactor)"}, - { (char *)"SbDPRotation_slerp", _wrap_SbDPRotation_slerp, METH_VARARGS, (char *)"SbDPRotation_slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation"}, - { (char *)"SbDPRotation_identity", _wrap_SbDPRotation_identity, METH_VARARGS, (char *)"SbDPRotation_identity() -> SbDPRotation"}, - { (char *)"SbDPRotation_output", _wrap_SbDPRotation_output, METH_VARARGS, (char *)"SbDPRotation_output(SbDPRotation self, FILE fp)"}, - { (char *)"SbDPRotation___mul__", _wrap_SbDPRotation___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbDPRotation u) -> SbDPRotation\n" - "__mul__(double d) -> SbDPRotation\n" - "SbDPRotation___mul__(SbDPRotation self, SbVec3d v) -> SbVec3d\n" - ""}, - { (char *)"SbDPRotation___eq__", _wrap_SbDPRotation___eq__, METH_VARARGS, (char *)"SbDPRotation___eq__(SbDPRotation self, SbDPRotation u) -> int"}, - { (char *)"SbDPRotation___nq__", _wrap_SbDPRotation___nq__, METH_VARARGS, (char *)"SbDPRotation___nq__(SbDPRotation self, SbDPRotation u) -> int"}, - { (char *)"delete_SbDPRotation", _wrap_delete_SbDPRotation, METH_VARARGS, (char *)"delete_SbDPRotation(SbDPRotation self)"}, - { (char *)"SbDPRotation_swigregister", SbDPRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPMatrix", _wrap_new_SbDPMatrix, METH_VARARGS, (char *)"\n" - "SbDPMatrix()\n" - "SbDPMatrix(double a11, double a12, double a13, double a14, double a21, \n" - " double a22, double a23, double a24, \n" - " double a31, double a32, double a33, double a34, \n" - " double a41, double a42, double a43, double a44)\n" - "SbDPMatrix(SbDPMat matrix)\n" - "SbDPMatrix(SbDPMat matrix)\n" - "new_SbDPMatrix(SbMatrix matrix) -> SbDPMatrix\n" - ""}, - { (char *)"delete_SbDPMatrix", _wrap_delete_SbDPMatrix, METH_VARARGS, (char *)"delete_SbDPMatrix(SbDPMatrix self)"}, - { (char *)"SbDPMatrix_setValue", _wrap_SbDPMatrix_setValue, METH_VARARGS, (char *)"SbDPMatrix_setValue(SbDPMatrix self, SbDPMat m)"}, - { (char *)"SbDPMatrix_makeIdentity", _wrap_SbDPMatrix_makeIdentity, METH_VARARGS, (char *)"SbDPMatrix_makeIdentity(SbDPMatrix self)"}, - { (char *)"SbDPMatrix_setRotate", _wrap_SbDPMatrix_setRotate, METH_VARARGS, (char *)"SbDPMatrix_setRotate(SbDPMatrix self, SbDPRotation q)"}, - { (char *)"SbDPMatrix_inverse", _wrap_SbDPMatrix_inverse, METH_VARARGS, (char *)"SbDPMatrix_inverse(SbDPMatrix self) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_det3", _wrap_SbDPMatrix_det3, METH_VARARGS, (char *)"\n" - "det3(int r1, int r2, int r3, int c1, int c2, int c3) -> double\n" - "SbDPMatrix_det3(SbDPMatrix self) -> double\n" - ""}, - { (char *)"SbDPMatrix_det4", _wrap_SbDPMatrix_det4, METH_VARARGS, (char *)"SbDPMatrix_det4(SbDPMatrix self) -> double"}, - { (char *)"SbDPMatrix_equals", _wrap_SbDPMatrix_equals, METH_VARARGS, (char *)"SbDPMatrix_equals(SbDPMatrix self, SbDPMatrix m, double tolerance) -> SbBool"}, - { (char *)"SbDPMatrix___imul__", _wrap_SbDPMatrix___imul__, METH_VARARGS, (char *)"SbDPMatrix___imul__(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_getValue", _wrap_SbDPMatrix_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbDPMat\n" - "SbDPMatrix_getValue(SbDPMatrix self, SbDPMat m)\n" - ""}, - { (char *)"SbDPMatrix_identity", _wrap_SbDPMatrix_identity, METH_VARARGS, (char *)"SbDPMatrix_identity() -> SbDPMatrix"}, - { (char *)"SbDPMatrix_setScale", _wrap_SbDPMatrix_setScale, METH_VARARGS, (char *)"\n" - "setScale(double s)\n" - "SbDPMatrix_setScale(SbDPMatrix self, SbVec3d s)\n" - ""}, - { (char *)"SbDPMatrix_setTranslate", _wrap_SbDPMatrix_setTranslate, METH_VARARGS, (char *)"SbDPMatrix_setTranslate(SbDPMatrix self, SbVec3d t)"}, - { (char *)"SbDPMatrix_setTransform", _wrap_SbDPMatrix_setTransform, METH_VARARGS, (char *)"\n" - "setTransform(SbVec3d t, SbDPRotation r, SbVec3d s)\n" - "setTransform(SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so)\n" - "SbDPMatrix_setTransform(SbDPMatrix self, SbVec3d translation, SbDPRotation rotation, \n" - " SbVec3d scaleFactor, SbDPRotation scaleOrientation, \n" - " SbVec3d center)\n" - ""}, - { (char *)"SbDPMatrix_getTransform", _wrap_SbDPMatrix_getTransform, METH_VARARGS, (char *)"\n" - "getTransform(SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so)\n" - "SbDPMatrix_getTransform(SbDPMatrix self, SbVec3d translation, SbDPRotation rotation, \n" - " SbVec3d scaleFactor, SbDPRotation scaleOrientation, \n" - " SbVec3d center)\n" - ""}, - { (char *)"SbDPMatrix_factor", _wrap_SbDPMatrix_factor, METH_VARARGS, (char *)"\n" - "SbDPMatrix_factor(SbDPMatrix self, SbDPMatrix r, SbVec3d s, SbDPMatrix u, \n" - " SbVec3d t, SbDPMatrix proj) -> SbBool\n" - ""}, - { (char *)"SbDPMatrix_LUDecomposition", _wrap_SbDPMatrix_LUDecomposition, METH_VARARGS, (char *)"SbDPMatrix_LUDecomposition(SbDPMatrix self, int index, double d) -> SbBool"}, - { (char *)"SbDPMatrix_LUBackSubstitution", _wrap_SbDPMatrix_LUBackSubstitution, METH_VARARGS, (char *)"SbDPMatrix_LUBackSubstitution(SbDPMatrix self, int index, double b)"}, - { (char *)"SbDPMatrix_transpose", _wrap_SbDPMatrix_transpose, METH_VARARGS, (char *)"SbDPMatrix_transpose(SbDPMatrix self) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multRight", _wrap_SbDPMatrix_multRight, METH_VARARGS, (char *)"SbDPMatrix_multRight(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multLeft", _wrap_SbDPMatrix_multLeft, METH_VARARGS, (char *)"SbDPMatrix_multLeft(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multMatrixVec", _wrap_SbDPMatrix_multMatrixVec, METH_VARARGS, (char *)"SbDPMatrix_multMatrixVec(SbDPMatrix self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPMatrix_multDirMatrix", _wrap_SbDPMatrix_multDirMatrix, METH_VARARGS, (char *)"SbDPMatrix_multDirMatrix(SbDPMatrix self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPMatrix_multLineMatrix", _wrap_SbDPMatrix_multLineMatrix, METH_VARARGS, (char *)"SbDPMatrix_multLineMatrix(SbDPMatrix self, SbDPLine src, SbDPLine dst)"}, - { (char *)"SbDPMatrix_multVecMatrix", _wrap_SbDPMatrix_multVecMatrix, METH_VARARGS, (char *)"\n" - "multVecMatrix(SbVec3d src, SbVec3d dst)\n" - "SbDPMatrix_multVecMatrix(SbDPMatrix self, SbVec4d src, SbVec4d dst)\n" - ""}, - { (char *)"SbDPMatrix_output", _wrap_SbDPMatrix_output, METH_VARARGS, (char *)"SbDPMatrix_output(SbDPMatrix self, FILE fp)"}, - { (char *)"SbDPMatrix___mul__", _wrap_SbDPMatrix___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbDPMatrix u) -> SbDPMatrix\n" - "SbDPMatrix___mul__(SbDPMatrix self, SbVec3d u) -> SbVec3d\n" - ""}, - { (char *)"SbDPMatrix___rmul__", _wrap_SbDPMatrix___rmul__, METH_VARARGS, (char *)"SbDPMatrix___rmul__(SbDPMatrix self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbDPMatrix___eq__", _wrap_SbDPMatrix___eq__, METH_VARARGS, (char *)"SbDPMatrix___eq__(SbDPMatrix self, SbDPMatrix u) -> int"}, - { (char *)"SbDPMatrix___ne__", _wrap_SbDPMatrix___ne__, METH_VARARGS, (char *)"SbDPMatrix___ne__(SbDPMatrix self, SbDPMatrix u) -> int"}, - { (char *)"SbDPMatrix_swigregister", SbDPMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPLine", _wrap_new_SbDPLine, METH_VARARGS, (char *)"\n" - "SbDPLine()\n" - "new_SbDPLine(SbVec3d p0, SbVec3d p1) -> SbDPLine\n" - ""}, - { (char *)"SbDPLine_setValue", _wrap_SbDPLine_setValue, METH_VARARGS, (char *)"SbDPLine_setValue(SbDPLine self, SbVec3d p0, SbVec3d p1)"}, - { (char *)"SbDPLine_getClosestPoints", _wrap_SbDPLine_getClosestPoints, METH_VARARGS, (char *)"SbDPLine_getClosestPoints(SbDPLine self, SbDPLine line2, SbVec3d ptOnThis, SbVec3d ptOnLine2) -> SbBool"}, - { (char *)"SbDPLine_getClosestPoint", _wrap_SbDPLine_getClosestPoint, METH_VARARGS, (char *)"SbDPLine_getClosestPoint(SbDPLine self, SbVec3d point) -> SbVec3d"}, - { (char *)"SbDPLine_getPosition", _wrap_SbDPLine_getPosition, METH_VARARGS, (char *)"SbDPLine_getPosition(SbDPLine self) -> SbVec3d"}, - { (char *)"SbDPLine_getDirection", _wrap_SbDPLine_getDirection, METH_VARARGS, (char *)"SbDPLine_getDirection(SbDPLine self) -> SbVec3d"}, - { (char *)"SbDPLine_output", _wrap_SbDPLine_output, METH_VARARGS, (char *)"SbDPLine_output(SbDPLine self, FILE file)"}, - { (char *)"delete_SbDPLine", _wrap_delete_SbDPLine, METH_VARARGS, (char *)"delete_SbDPLine(SbDPLine self)"}, - { (char *)"SbDPLine_swigregister", SbDPLine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPPlane", _wrap_new_SbDPPlane, METH_VARARGS, (char *)"\n" - "SbDPPlane()\n" - "SbDPPlane(SbVec3d normal, double D)\n" - "SbDPPlane(SbVec3d p0, SbVec3d p1, SbVec3d p2)\n" - "new_SbDPPlane(SbVec3d normal, SbVec3d point) -> SbDPPlane\n" - ""}, - { (char *)"SbDPPlane_offset", _wrap_SbDPPlane_offset, METH_VARARGS, (char *)"SbDPPlane_offset(SbDPPlane self, double d)"}, - { (char *)"SbDPPlane_transform", _wrap_SbDPPlane_transform, METH_VARARGS, (char *)"SbDPPlane_transform(SbDPPlane self, SbDPMatrix matrix)"}, - { (char *)"SbDPPlane_isInHalfSpace", _wrap_SbDPPlane_isInHalfSpace, METH_VARARGS, (char *)"SbDPPlane_isInHalfSpace(SbDPPlane self, SbVec3d point) -> SbBool"}, - { (char *)"SbDPPlane_getDistance", _wrap_SbDPPlane_getDistance, METH_VARARGS, (char *)"SbDPPlane_getDistance(SbDPPlane self, SbVec3d point) -> double"}, - { (char *)"SbDPPlane_getNormal", _wrap_SbDPPlane_getNormal, METH_VARARGS, (char *)"SbDPPlane_getNormal(SbDPPlane self) -> SbVec3d"}, - { (char *)"SbDPPlane_getDistanceFromOrigin", _wrap_SbDPPlane_getDistanceFromOrigin, METH_VARARGS, (char *)"SbDPPlane_getDistanceFromOrigin(SbDPPlane self) -> double"}, - { (char *)"SbDPPlane_output", _wrap_SbDPPlane_output, METH_VARARGS, (char *)"SbDPPlane_output(SbDPPlane self, FILE file)"}, - { (char *)"SbDPPlane_intersect", _wrap_SbDPPlane_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbDPLine l, SbVec3d intersection) -> SbBool\n" - "SbDPPlane_intersect(SbDPPlane self, SbDPPlane pl, SbDPLine line) -> SbBool\n" - ""}, - { (char *)"SbDPPlane___eq__", _wrap_SbDPPlane___eq__, METH_VARARGS, (char *)"SbDPPlane___eq__(SbDPPlane self, SbDPPlane u) -> int"}, - { (char *)"SbDPPlane___ne__", _wrap_SbDPPlane___ne__, METH_VARARGS, (char *)"SbDPPlane___ne__(SbDPPlane self, SbDPPlane u) -> int"}, - { (char *)"delete_SbDPPlane", _wrap_delete_SbDPPlane, METH_VARARGS, (char *)"delete_SbDPPlane(SbDPPlane self)"}, - { (char *)"SbDPPlane_swigregister", SbDPPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SbHeapFuncs_eval_func_set", _wrap_SbHeapFuncs_eval_func_set, METH_VARARGS, (char *)"SbHeapFuncs_eval_func_set(SbHeapFuncs self, float eval_func)"}, - { (char *)"SbHeapFuncs_eval_func_get", _wrap_SbHeapFuncs_eval_func_get, METH_VARARGS, (char *)"SbHeapFuncs_eval_func_get(SbHeapFuncs self) -> float"}, - { (char *)"SbHeapFuncs_get_index_func_set", _wrap_SbHeapFuncs_get_index_func_set, METH_VARARGS, (char *)"SbHeapFuncs_get_index_func_set(SbHeapFuncs self, int get_index_func)"}, - { (char *)"SbHeapFuncs_get_index_func_get", _wrap_SbHeapFuncs_get_index_func_get, METH_VARARGS, (char *)"SbHeapFuncs_get_index_func_get(SbHeapFuncs self) -> int"}, - { (char *)"SbHeapFuncs_set_index_func_set", _wrap_SbHeapFuncs_set_index_func_set, METH_VARARGS, (char *)"SbHeapFuncs_set_index_func_set(SbHeapFuncs self, void set_index_func)"}, - { (char *)"SbHeapFuncs_set_index_func_get", _wrap_SbHeapFuncs_set_index_func_get, METH_VARARGS, (char *)"SbHeapFuncs_set_index_func_get(SbHeapFuncs self) -> void"}, - { (char *)"new_SbHeapFuncs", _wrap_new_SbHeapFuncs, METH_VARARGS, (char *)"new_SbHeapFuncs() -> SbHeapFuncs"}, - { (char *)"delete_SbHeapFuncs", _wrap_delete_SbHeapFuncs, METH_VARARGS, (char *)"delete_SbHeapFuncs(SbHeapFuncs self)"}, - { (char *)"SbHeapFuncs_swigregister", SbHeapFuncs_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbHeap", _wrap_new_SbHeap, METH_VARARGS, (char *)"\n" - "SbHeap(SbHeapFuncs SbHeapFuncs, int initsize=1024)\n" - "new_SbHeap(SbHeapFuncs SbHeapFuncs) -> SbHeap\n" - ""}, - { (char *)"delete_SbHeap", _wrap_delete_SbHeap, METH_VARARGS, (char *)"delete_SbHeap(SbHeap self)"}, - { (char *)"SbHeap_emptyHeap", _wrap_SbHeap_emptyHeap, METH_VARARGS, (char *)"SbHeap_emptyHeap(SbHeap self)"}, - { (char *)"SbHeap_size", _wrap_SbHeap_size, METH_VARARGS, (char *)"SbHeap_size(SbHeap self) -> int"}, - { (char *)"SbHeap_add", _wrap_SbHeap_add, METH_VARARGS, (char *)"SbHeap_add(SbHeap self, void obj) -> int"}, - { (char *)"SbHeap_remove", _wrap_SbHeap_remove, METH_VARARGS, (char *)"\n" - "remove(int pos)\n" - "SbHeap_remove(SbHeap self, void obj)\n" - ""}, - { (char *)"SbHeap_extractMin", _wrap_SbHeap_extractMin, METH_VARARGS, (char *)"SbHeap_extractMin(SbHeap self) -> void"}, - { (char *)"SbHeap_getMin", _wrap_SbHeap_getMin, METH_VARARGS, (char *)"SbHeap_getMin(SbHeap self) -> void"}, - { (char *)"SbHeap_newWeight", _wrap_SbHeap_newWeight, METH_VARARGS, (char *)"\n" - "newWeight(void obj, int hpos=-1)\n" - "SbHeap_newWeight(SbHeap self, void obj)\n" - ""}, - { (char *)"SbHeap_buildHeap", _wrap_SbHeap_buildHeap, METH_VARARGS, (char *)"\n" - "buildHeap(SbBool progresscb=None, void data=None) -> SbBool\n" - "buildHeap(SbBool progresscb=None) -> SbBool\n" - "SbHeap_buildHeap(SbHeap self) -> SbBool\n" - ""}, - { (char *)"SbHeap_traverseHeap", _wrap_SbHeap_traverseHeap, METH_VARARGS, (char *)"SbHeap_traverseHeap(SbHeap self, SbBool func, void userdata) -> SbBool"}, - { (char *)"SbHeap_swigregister", SbHeap_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbImage", _wrap_new_SbImage, METH_VARARGS, (char *)"\n" - "SbImage()\n" - "SbImage(unsigned char bytes)\n" - "new_SbImage(unsigned char bytes) -> SbImage\n" - ""}, - { (char *)"delete_SbImage", _wrap_delete_SbImage, METH_VARARGS, (char *)"delete_SbImage(SbImage self)"}, - { (char *)"SbImage_setValue", _wrap_SbImage_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s size)\n" - "SbImage_setValue(SbImage self, SbVec3s size)\n" - ""}, - { (char *)"SbImage_setValuePtr", _wrap_SbImage_setValuePtr, METH_VARARGS, (char *)"\n" - "setValuePtr(SbVec2s size)\n" - "SbImage_setValuePtr(SbImage self, SbVec3s size)\n" - ""}, - { (char *)"SbImage_getSize", _wrap_SbImage_getSize, METH_VARARGS, (char *)"SbImage_getSize(SbImage self) -> SbVec3s"}, - { (char *)"SbImage_readFile", _wrap_SbImage_readFile, METH_VARARGS, (char *)"\n" - "readFile(SbString filename, SbString searchdirectories=None, \n" - " int numdirectories=0) -> SbBool\n" - "readFile(SbString filename, SbString searchdirectories=None) -> SbBool\n" - "SbImage_readFile(SbImage self, SbString filename) -> SbBool\n" - ""}, - { (char *)"SbImage___eq__", _wrap_SbImage___eq__, METH_VARARGS, (char *)"SbImage___eq__(SbImage self, SbImage image) -> int"}, - { (char *)"SbImage___ne__", _wrap_SbImage___ne__, METH_VARARGS, (char *)"SbImage___ne__(SbImage self, SbImage image) -> int"}, - { (char *)"SbImage_addReadImageCB", _wrap_SbImage_addReadImageCB, METH_VARARGS, (char *)"SbImage_addReadImageCB(SbImageReadImageCB cb, void closure)"}, - { (char *)"SbImage_removeReadImageCB", _wrap_SbImage_removeReadImageCB, METH_VARARGS, (char *)"SbImage_removeReadImageCB(SbImageReadImageCB cb, void closure)"}, - { (char *)"SbImage_searchForFile", _wrap_SbImage_searchForFile, METH_VARARGS, (char *)"SbImage_searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString"}, - { (char *)"SbImage_hasData", _wrap_SbImage_hasData, METH_VARARGS, (char *)"SbImage_hasData(SbImage self) -> SbBool"}, - { (char *)"SbImage_readLock", _wrap_SbImage_readLock, METH_VARARGS, (char *)"SbImage_readLock(SbImage self)"}, - { (char *)"SbImage_readUnlock", _wrap_SbImage_readUnlock, METH_VARARGS, (char *)"SbImage_readUnlock(SbImage self)"}, - { (char *)"SbImage_scheduleReadFile", _wrap_SbImage_scheduleReadFile, METH_VARARGS, (char *)"\n" - "scheduleReadFile(SbImageScheduleReadCB cb, void closure, SbString filename, \n" - " SbString searchdirectories=None, int numdirectories=0) -> SbBool\n" - "scheduleReadFile(SbImageScheduleReadCB cb, void closure, SbString filename, \n" - " SbString searchdirectories=None) -> SbBool\n" - "SbImage_scheduleReadFile(SbImage self, SbImageScheduleReadCB cb, void closure, \n" - " SbString filename) -> SbBool\n" - ""}, - { (char *)"SbImage_getValue", _wrap_SbImage_getValue, METH_VARARGS, (char *)"\n" - "getValue(SbVec2s size, int bytesperpixel) -> unsigned char\n" - "getValue(SbVec3s size, int bytesperpixel) -> unsigned char\n" - "SbImage_getValue(SbImage self) -> PyObject\n" - ""}, - { (char *)"SbImage_swigregister", SbImage_swigregister, METH_VARARGS, NULL}, - { (char *)"SbOctTreeFuncs_ptinsidefunc_set", _wrap_SbOctTreeFuncs_ptinsidefunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_ptinsidefunc_set(SbOctTreeFuncs self, SbBool ptinsidefunc)"}, - { (char *)"SbOctTreeFuncs_ptinsidefunc_get", _wrap_SbOctTreeFuncs_ptinsidefunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_ptinsidefunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insideboxfunc_set", _wrap_SbOctTreeFuncs_insideboxfunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insideboxfunc_set(SbOctTreeFuncs self, SbBool insideboxfunc)"}, - { (char *)"SbOctTreeFuncs_insideboxfunc_get", _wrap_SbOctTreeFuncs_insideboxfunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insideboxfunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insidespherefunc_set", _wrap_SbOctTreeFuncs_insidespherefunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insidespherefunc_set(SbOctTreeFuncs self, SbBool insidespherefunc)"}, - { (char *)"SbOctTreeFuncs_insidespherefunc_get", _wrap_SbOctTreeFuncs_insidespherefunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insidespherefunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insideplanesfunc_set", _wrap_SbOctTreeFuncs_insideplanesfunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insideplanesfunc_set(SbOctTreeFuncs self, SbBool insideplanesfunc)"}, - { (char *)"SbOctTreeFuncs_insideplanesfunc_get", _wrap_SbOctTreeFuncs_insideplanesfunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insideplanesfunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"new_SbOctTreeFuncs", _wrap_new_SbOctTreeFuncs, METH_VARARGS, (char *)"new_SbOctTreeFuncs() -> SbOctTreeFuncs"}, - { (char *)"delete_SbOctTreeFuncs", _wrap_delete_SbOctTreeFuncs, METH_VARARGS, (char *)"delete_SbOctTreeFuncs(SbOctTreeFuncs self)"}, - { (char *)"SbOctTreeFuncs_swigregister", SbOctTreeFuncs_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbOctTree", _wrap_new_SbOctTree, METH_VARARGS, (char *)"\n" - "SbOctTree(SbBox3f bbox, SbOctTreeFuncs itemfuncs, int maxitemspernode=64)\n" - "new_SbOctTree(SbBox3f bbox, SbOctTreeFuncs itemfuncs) -> SbOctTree\n" - ""}, - { (char *)"delete_SbOctTree", _wrap_delete_SbOctTree, METH_VARARGS, (char *)"delete_SbOctTree(SbOctTree self)"}, - { (char *)"SbOctTree_addItem", _wrap_SbOctTree_addItem, METH_VARARGS, (char *)"SbOctTree_addItem(SbOctTree self, void item)"}, - { (char *)"SbOctTree_removeItem", _wrap_SbOctTree_removeItem, METH_VARARGS, (char *)"SbOctTree_removeItem(SbOctTree self, void item)"}, - { (char *)"SbOctTree_findItems", _wrap_SbOctTree_findItems, METH_VARARGS, (char *)"\n" - "findItems(SbVec3f pos, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbVec3f pos, SbList<(p.void)> destarray)\n" - "findItems(SbBox3f box, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbBox3f box, SbList<(p.void)> destarray)\n" - "findItems(SbSphere sphere, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbSphere sphere, SbList<(p.void)> destarray)\n" - "findItems(SbPlane planes, int numplanes, SbList<(p.void)> destarray, \n" - " SbBool removeduplicates=1)\n" - "SbOctTree_findItems(SbOctTree self, SbPlane planes, int numplanes, SbList<(p.void)> destarray)\n" - ""}, - { (char *)"SbOctTree_getBoundingBox", _wrap_SbOctTree_getBoundingBox, METH_VARARGS, (char *)"SbOctTree_getBoundingBox(SbOctTree self) -> SbBox3f"}, - { (char *)"SbOctTree_clear", _wrap_SbOctTree_clear, METH_VARARGS, (char *)"SbOctTree_clear(SbOctTree self)"}, - { (char *)"SbOctTree_debugTree", _wrap_SbOctTree_debugTree, METH_VARARGS, (char *)"SbOctTree_debugTree(SbOctTree self, FILE fp)"}, - { (char *)"SbOctTree_swigregister", SbOctTree_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTesselator", _wrap_new_SbTesselator, METH_VARARGS, (char *)"\n" - "SbTesselator(SbTesselatorCB func=None, void data=None)\n" - "SbTesselator(SbTesselatorCB func=None)\n" - "new_SbTesselator() -> SbTesselator\n" - ""}, - { (char *)"delete_SbTesselator", _wrap_delete_SbTesselator, METH_VARARGS, (char *)"delete_SbTesselator(SbTesselator self)"}, - { (char *)"SbTesselator_beginPolygon", _wrap_SbTesselator_beginPolygon, METH_VARARGS, (char *)"\n" - "beginPolygon(SbBool keepVertices=0, SbVec3f normal=SbVec3f(0.0f, 0.0f, 0.0f))\n" - "beginPolygon(SbBool keepVertices=0)\n" - "SbTesselator_beginPolygon(SbTesselator self)\n" - ""}, - { (char *)"SbTesselator_addVertex", _wrap_SbTesselator_addVertex, METH_VARARGS, (char *)"SbTesselator_addVertex(SbTesselator self, SbVec3f v, void data)"}, - { (char *)"SbTesselator_endPolygon", _wrap_SbTesselator_endPolygon, METH_VARARGS, (char *)"SbTesselator_endPolygon(SbTesselator self)"}, - { (char *)"SbTesselator_setCallback", _wrap_SbTesselator_setCallback, METH_VARARGS, (char *)"SbTesselator_setCallback(SbTesselator self, SbTesselatorCB func, void data)"}, - { (char *)"SbTesselator_swigregister", SbTesselator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTimerQueueSensor", _wrap_new_SoTimerQueueSensor, METH_VARARGS, (char *)"new_SoTimerQueueSensor() -> SoTimerQueueSensor"}, - { (char *)"new_SoTimerQueueSensor_scb_v", _wrap_new_SoTimerQueueSensor_scb_v, METH_VARARGS, (char *)"new_SoTimerQueueSensor_scb_v(SoSensorCB func, void data) -> SoTimerQueueSensor"}, - { (char *)"delete_SoTimerQueueSensor", _wrap_delete_SoTimerQueueSensor, METH_VARARGS, (char *)"delete_SoTimerQueueSensor(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_getTriggerTime", _wrap_SoTimerQueueSensor_getTriggerTime, METH_VARARGS, (char *)"SoTimerQueueSensor_getTriggerTime(SoTimerQueueSensor self) -> SbTime"}, - { (char *)"SoTimerQueueSensor_schedule", _wrap_SoTimerQueueSensor_schedule, METH_VARARGS, (char *)"SoTimerQueueSensor_schedule(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_unschedule", _wrap_SoTimerQueueSensor_unschedule, METH_VARARGS, (char *)"SoTimerQueueSensor_unschedule(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_isScheduled", _wrap_SoTimerQueueSensor_isScheduled, METH_VARARGS, (char *)"SoTimerQueueSensor_isScheduled(SoTimerQueueSensor self) -> SbBool"}, - { (char *)"SoTimerQueueSensor_trigger", _wrap_SoTimerQueueSensor_trigger, METH_VARARGS, (char *)"SoTimerQueueSensor_trigger(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_swigregister", SoTimerQueueSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoAlarmSensor", _wrap_new_SoAlarmSensor, METH_VARARGS, (char *)"new_SoAlarmSensor() -> SoAlarmSensor"}, - { (char *)"new_SoAlarmSensor_scb_v", _wrap_new_SoAlarmSensor_scb_v, METH_VARARGS, (char *)"new_SoAlarmSensor_scb_v(SoSensorCB func, void data) -> SoAlarmSensor"}, - { (char *)"delete_SoAlarmSensor", _wrap_delete_SoAlarmSensor, METH_VARARGS, (char *)"delete_SoAlarmSensor(SoAlarmSensor self)"}, - { (char *)"SoAlarmSensor_setTime", _wrap_SoAlarmSensor_setTime, METH_VARARGS, (char *)"SoAlarmSensor_setTime(SoAlarmSensor self, SbTime abstime)"}, - { (char *)"SoAlarmSensor_setTimeFromNow", _wrap_SoAlarmSensor_setTimeFromNow, METH_VARARGS, (char *)"SoAlarmSensor_setTimeFromNow(SoAlarmSensor self, SbTime reltime)"}, - { (char *)"SoAlarmSensor_getTime", _wrap_SoAlarmSensor_getTime, METH_VARARGS, (char *)"SoAlarmSensor_getTime(SoAlarmSensor self) -> SbTime"}, - { (char *)"SoAlarmSensor_schedule", _wrap_SoAlarmSensor_schedule, METH_VARARGS, (char *)"SoAlarmSensor_schedule(SoAlarmSensor self)"}, - { (char *)"SoAlarmSensor_swigregister", SoAlarmSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoIdleSensor", _wrap_new_SoIdleSensor, METH_VARARGS, (char *)"new_SoIdleSensor() -> SoIdleSensor"}, - { (char *)"new_SoIdleSensor_scb_v", _wrap_new_SoIdleSensor_scb_v, METH_VARARGS, (char *)"new_SoIdleSensor_scb_v(SoSensorCB func, void data) -> SoIdleSensor"}, - { (char *)"delete_SoIdleSensor", _wrap_delete_SoIdleSensor, METH_VARARGS, (char *)"delete_SoIdleSensor(SoIdleSensor self)"}, - { (char *)"SoIdleSensor_swigregister", SoIdleSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNodeSensor", _wrap_new_SoNodeSensor, METH_VARARGS, (char *)"new_SoNodeSensor() -> SoNodeSensor"}, - { (char *)"new_SoNodeSensor_scb_v", _wrap_new_SoNodeSensor_scb_v, METH_VARARGS, (char *)"new_SoNodeSensor_scb_v(SoSensorCB func, void data) -> SoNodeSensor"}, - { (char *)"delete_SoNodeSensor", _wrap_delete_SoNodeSensor, METH_VARARGS, (char *)"delete_SoNodeSensor(SoNodeSensor self)"}, - { (char *)"SoNodeSensor_attach", _wrap_SoNodeSensor_attach, METH_VARARGS, (char *)"SoNodeSensor_attach(SoNodeSensor self, SoNode node)"}, - { (char *)"SoNodeSensor_detach", _wrap_SoNodeSensor_detach, METH_VARARGS, (char *)"SoNodeSensor_detach(SoNodeSensor self)"}, - { (char *)"SoNodeSensor_getAttachedNode", _wrap_SoNodeSensor_getAttachedNode, METH_VARARGS, (char *)"SoNodeSensor_getAttachedNode(SoNodeSensor self) -> SoNode"}, - { (char *)"SoNodeSensor_swigregister", SoNodeSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOneShotSensor", _wrap_new_SoOneShotSensor, METH_VARARGS, (char *)"new_SoOneShotSensor() -> SoOneShotSensor"}, - { (char *)"new_SoOneShotSensor_scb_v", _wrap_new_SoOneShotSensor_scb_v, METH_VARARGS, (char *)"new_SoOneShotSensor_scb_v(SoSensorCB func, void data) -> SoOneShotSensor"}, - { (char *)"delete_SoOneShotSensor", _wrap_delete_SoOneShotSensor, METH_VARARGS, (char *)"delete_SoOneShotSensor(SoOneShotSensor self)"}, - { (char *)"SoOneShotSensor_swigregister", SoOneShotSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPathSensor", _wrap_new_SoPathSensor, METH_VARARGS, (char *)"new_SoPathSensor() -> SoPathSensor"}, - { (char *)"new_SoPathSensor_scb_v", _wrap_new_SoPathSensor_scb_v, METH_VARARGS, (char *)"new_SoPathSensor_scb_v(SoSensorCB func, void data) -> SoPathSensor"}, - { (char *)"delete_SoPathSensor", _wrap_delete_SoPathSensor, METH_VARARGS, (char *)"delete_SoPathSensor(SoPathSensor self)"}, - { (char *)"SoPathSensor_setTriggerFilter", _wrap_SoPathSensor_setTriggerFilter, METH_VARARGS, (char *)"SoPathSensor_setTriggerFilter(SoPathSensor self, TriggerFilter type)"}, - { (char *)"SoPathSensor_getTriggerFilter", _wrap_SoPathSensor_getTriggerFilter, METH_VARARGS, (char *)"SoPathSensor_getTriggerFilter(SoPathSensor self) -> TriggerFilter"}, - { (char *)"SoPathSensor_attach", _wrap_SoPathSensor_attach, METH_VARARGS, (char *)"SoPathSensor_attach(SoPathSensor self, SoPath path)"}, - { (char *)"SoPathSensor_detach", _wrap_SoPathSensor_detach, METH_VARARGS, (char *)"SoPathSensor_detach(SoPathSensor self)"}, - { (char *)"SoPathSensor_getAttachedPath", _wrap_SoPathSensor_getAttachedPath, METH_VARARGS, (char *)"SoPathSensor_getAttachedPath(SoPathSensor self) -> SoPath"}, - { (char *)"SoPathSensor_swigregister", SoPathSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTimerSensor", _wrap_new_SoTimerSensor, METH_VARARGS, (char *)"new_SoTimerSensor() -> SoTimerSensor"}, - { (char *)"new_SoTimerSensor_scb_v", _wrap_new_SoTimerSensor_scb_v, METH_VARARGS, (char *)"new_SoTimerSensor_scb_v(SoSensorCB func, void data) -> SoTimerSensor"}, - { (char *)"delete_SoTimerSensor", _wrap_delete_SoTimerSensor, METH_VARARGS, (char *)"delete_SoTimerSensor(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_setBaseTime", _wrap_SoTimerSensor_setBaseTime, METH_VARARGS, (char *)"SoTimerSensor_setBaseTime(SoTimerSensor self, SbTime base)"}, - { (char *)"SoTimerSensor_getBaseTime", _wrap_SoTimerSensor_getBaseTime, METH_VARARGS, (char *)"SoTimerSensor_getBaseTime(SoTimerSensor self) -> SbTime"}, - { (char *)"SoTimerSensor_setInterval", _wrap_SoTimerSensor_setInterval, METH_VARARGS, (char *)"SoTimerSensor_setInterval(SoTimerSensor self, SbTime interval)"}, - { (char *)"SoTimerSensor_getInterval", _wrap_SoTimerSensor_getInterval, METH_VARARGS, (char *)"SoTimerSensor_getInterval(SoTimerSensor self) -> SbTime"}, - { (char *)"SoTimerSensor_schedule", _wrap_SoTimerSensor_schedule, METH_VARARGS, (char *)"SoTimerSensor_schedule(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_unschedule", _wrap_SoTimerSensor_unschedule, METH_VARARGS, (char *)"SoTimerSensor_unschedule(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_reschedule", _wrap_SoTimerSensor_reschedule, METH_VARARGS, (char *)"SoTimerSensor_reschedule(SoTimerSensor self, SbTime schedtime)"}, - { (char *)"SoTimerSensor_swigregister", SoTimerSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInteraction_init", _wrap_SoInteraction_init, METH_VARARGS, (char *)"SoInteraction_init()"}, - { (char *)"new_SoInteraction", _wrap_new_SoInteraction, METH_VARARGS, (char *)"new_SoInteraction() -> SoInteraction"}, - { (char *)"delete_SoInteraction", _wrap_delete_SoInteraction, METH_VARARGS, (char *)"delete_SoInteraction(SoInteraction self)"}, - { (char *)"SoInteraction_swigregister", SoInteraction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOffscreenRenderer", _wrap_new_SoOffscreenRenderer, METH_VARARGS, (char *)"\n" - "SoOffscreenRenderer(SbViewportRegion viewportregion)\n" - "new_SoOffscreenRenderer(SoGLRenderAction action) -> SoOffscreenRenderer\n" - ""}, - { (char *)"delete_SoOffscreenRenderer", _wrap_delete_SoOffscreenRenderer, METH_VARARGS, (char *)"delete_SoOffscreenRenderer(SoOffscreenRenderer self)"}, - { (char *)"SoOffscreenRenderer_getScreenPixelsPerInch", _wrap_SoOffscreenRenderer_getScreenPixelsPerInch, METH_VARARGS, (char *)"SoOffscreenRenderer_getScreenPixelsPerInch() -> float"}, - { (char *)"SoOffscreenRenderer_getMaximumResolution", _wrap_SoOffscreenRenderer_getMaximumResolution, METH_VARARGS, (char *)"SoOffscreenRenderer_getMaximumResolution() -> SbVec2s"}, - { (char *)"SoOffscreenRenderer_setComponents", _wrap_SoOffscreenRenderer_setComponents, METH_VARARGS, (char *)"SoOffscreenRenderer_setComponents(SoOffscreenRenderer self, Components components)"}, - { (char *)"SoOffscreenRenderer_getComponents", _wrap_SoOffscreenRenderer_getComponents, METH_VARARGS, (char *)"SoOffscreenRenderer_getComponents(SoOffscreenRenderer self) -> Components"}, - { (char *)"SoOffscreenRenderer_setViewportRegion", _wrap_SoOffscreenRenderer_setViewportRegion, METH_VARARGS, (char *)"SoOffscreenRenderer_setViewportRegion(SoOffscreenRenderer self, SbViewportRegion region)"}, - { (char *)"SoOffscreenRenderer_getViewportRegion", _wrap_SoOffscreenRenderer_getViewportRegion, METH_VARARGS, (char *)"SoOffscreenRenderer_getViewportRegion(SoOffscreenRenderer self) -> SbViewportRegion"}, - { (char *)"SoOffscreenRenderer_setBackgroundColor", _wrap_SoOffscreenRenderer_setBackgroundColor, METH_VARARGS, (char *)"SoOffscreenRenderer_setBackgroundColor(SoOffscreenRenderer self, SbColor color)"}, - { (char *)"SoOffscreenRenderer_getBackgroundColor", _wrap_SoOffscreenRenderer_getBackgroundColor, METH_VARARGS, (char *)"SoOffscreenRenderer_getBackgroundColor(SoOffscreenRenderer self) -> SbColor"}, - { (char *)"SoOffscreenRenderer_setGLRenderAction", _wrap_SoOffscreenRenderer_setGLRenderAction, METH_VARARGS, (char *)"SoOffscreenRenderer_setGLRenderAction(SoOffscreenRenderer self, SoGLRenderAction action)"}, - { (char *)"SoOffscreenRenderer_getGLRenderAction", _wrap_SoOffscreenRenderer_getGLRenderAction, METH_VARARGS, (char *)"SoOffscreenRenderer_getGLRenderAction(SoOffscreenRenderer self) -> SoGLRenderAction"}, - { (char *)"SoOffscreenRenderer_render", _wrap_SoOffscreenRenderer_render, METH_VARARGS, (char *)"\n" - "render(SoNode scene) -> SbBool\n" - "SoOffscreenRenderer_render(SoOffscreenRenderer self, SoPath scene) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_getDC", _wrap_SoOffscreenRenderer_getDC, METH_VARARGS, (char *)"SoOffscreenRenderer_getDC(SoOffscreenRenderer self) -> void"}, - { (char *)"SoOffscreenRenderer_writeToRGB", _wrap_SoOffscreenRenderer_writeToRGB, METH_VARARGS, (char *)"\n" - "writeToRGB(FILE fp) -> SbBool\n" - "SoOffscreenRenderer_writeToRGB(SoOffscreenRenderer self, char filename) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_writeToPostScript", _wrap_SoOffscreenRenderer_writeToPostScript, METH_VARARGS, (char *)"\n" - "writeToPostScript(FILE fp) -> SbBool\n" - "writeToPostScript(FILE fp, SbVec2f printsize) -> SbBool\n" - "writeToPostScript(char filename) -> SbBool\n" - "SoOffscreenRenderer_writeToPostScript(SoOffscreenRenderer self, char filename, SbVec2f printsize) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_isWriteSupported", _wrap_SoOffscreenRenderer_isWriteSupported, METH_VARARGS, (char *)"SoOffscreenRenderer_isWriteSupported(SoOffscreenRenderer self, SbName filetypeextension) -> SbBool"}, - { (char *)"SoOffscreenRenderer_getNumWriteFiletypes", _wrap_SoOffscreenRenderer_getNumWriteFiletypes, METH_VARARGS, (char *)"SoOffscreenRenderer_getNumWriteFiletypes(SoOffscreenRenderer self) -> int"}, - { (char *)"SoOffscreenRenderer_writeToFile", _wrap_SoOffscreenRenderer_writeToFile, METH_VARARGS, (char *)"SoOffscreenRenderer_writeToFile(SoOffscreenRenderer self, SbString filename, SbName filetypeextension) -> SbBool"}, - { (char *)"SoOffscreenRenderer_setPbufferEnable", _wrap_SoOffscreenRenderer_setPbufferEnable, METH_VARARGS, (char *)"SoOffscreenRenderer_setPbufferEnable(SoOffscreenRenderer self, SbBool enable)"}, - { (char *)"SoOffscreenRenderer_getPbufferEnable", _wrap_SoOffscreenRenderer_getPbufferEnable, METH_VARARGS, (char *)"SoOffscreenRenderer_getPbufferEnable(SoOffscreenRenderer self) -> SbBool"}, - { (char *)"SoOffscreenRenderer_getWriteFiletypeInfo", _wrap_SoOffscreenRenderer_getWriteFiletypeInfo, METH_VARARGS, (char *)"\n" - "getWriteFiletypeInfo(int idx, SbPList extlist, SbString fullname, SbString description)\n" - "SoOffscreenRenderer_getWriteFiletypeInfo(SoOffscreenRenderer self, int idx, SbList<(SbName)> extlist, \n" - " SbString fullname, SbString description)\n" - ""}, - { (char *)"SoOffscreenRenderer_getBuffer", _wrap_SoOffscreenRenderer_getBuffer, METH_VARARGS, (char *)"\n" - "getBuffer() -> unsigned char\n" - "SoOffscreenRenderer_getBuffer(SoOffscreenRenderer self) -> PyObject\n" - ""}, - { (char *)"SoOffscreenRenderer_swigregister", SoOffscreenRenderer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPickedPoint", _wrap_new_SoPickedPoint, METH_VARARGS, (char *)"\n" - "SoPickedPoint(SoPickedPoint pp)\n" - "new_SoPickedPoint(SoPath path, SoState state, SbVec3f objSpacePoint) -> SoPickedPoint\n" - ""}, - { (char *)"delete_SoPickedPoint", _wrap_delete_SoPickedPoint, METH_VARARGS, (char *)"delete_SoPickedPoint(SoPickedPoint self)"}, - { (char *)"SoPickedPoint_copy", _wrap_SoPickedPoint_copy, METH_VARARGS, (char *)"SoPickedPoint_copy(SoPickedPoint self) -> SoPickedPoint"}, - { (char *)"SoPickedPoint_getPoint", _wrap_SoPickedPoint_getPoint, METH_VARARGS, (char *)"SoPickedPoint_getPoint(SoPickedPoint self) -> SbVec3f"}, - { (char *)"SoPickedPoint_getNormal", _wrap_SoPickedPoint_getNormal, METH_VARARGS, (char *)"SoPickedPoint_getNormal(SoPickedPoint self) -> SbVec3f"}, - { (char *)"SoPickedPoint_getTextureCoords", _wrap_SoPickedPoint_getTextureCoords, METH_VARARGS, (char *)"SoPickedPoint_getTextureCoords(SoPickedPoint self) -> SbVec4f"}, - { (char *)"SoPickedPoint_getMaterialIndex", _wrap_SoPickedPoint_getMaterialIndex, METH_VARARGS, (char *)"SoPickedPoint_getMaterialIndex(SoPickedPoint self) -> int"}, - { (char *)"SoPickedPoint_getPath", _wrap_SoPickedPoint_getPath, METH_VARARGS, (char *)"SoPickedPoint_getPath(SoPickedPoint self) -> SoPath"}, - { (char *)"SoPickedPoint_isOnGeometry", _wrap_SoPickedPoint_isOnGeometry, METH_VARARGS, (char *)"SoPickedPoint_isOnGeometry(SoPickedPoint self) -> SbBool"}, - { (char *)"SoPickedPoint_getDetail", _wrap_SoPickedPoint_getDetail, METH_VARARGS, (char *)"\n" - "getDetail(SoNode node=None) -> SoDetail\n" - "SoPickedPoint_getDetail(SoPickedPoint self) -> SoDetail\n" - ""}, - { (char *)"SoPickedPoint_getObjectToWorld", _wrap_SoPickedPoint_getObjectToWorld, METH_VARARGS, (char *)"\n" - "getObjectToWorld(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getObjectToWorld(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getWorldToObject", _wrap_SoPickedPoint_getWorldToObject, METH_VARARGS, (char *)"\n" - "getWorldToObject(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getWorldToObject(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getObjectToImage", _wrap_SoPickedPoint_getObjectToImage, METH_VARARGS, (char *)"\n" - "getObjectToImage(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getObjectToImage(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getImageToObject", _wrap_SoPickedPoint_getImageToObject, METH_VARARGS, (char *)"\n" - "getImageToObject(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getImageToObject(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getObjectPoint", _wrap_SoPickedPoint_getObjectPoint, METH_VARARGS, (char *)"\n" - "getObjectPoint(SoNode node=None) -> SbVec3f\n" - "SoPickedPoint_getObjectPoint(SoPickedPoint self) -> SbVec3f\n" - ""}, - { (char *)"SoPickedPoint_getObjectNormal", _wrap_SoPickedPoint_getObjectNormal, METH_VARARGS, (char *)"\n" - "getObjectNormal(SoNode node=None) -> SbVec3f\n" - "SoPickedPoint_getObjectNormal(SoPickedPoint self) -> SbVec3f\n" - ""}, - { (char *)"SoPickedPoint_getObjectTextureCoords", _wrap_SoPickedPoint_getObjectTextureCoords, METH_VARARGS, (char *)"\n" - "getObjectTextureCoords(SoNode node=None) -> SbVec4f\n" - "SoPickedPoint_getObjectTextureCoords(SoPickedPoint self) -> SbVec4f\n" - ""}, - { (char *)"SoPickedPoint_setObjectNormal", _wrap_SoPickedPoint_setObjectNormal, METH_VARARGS, (char *)"SoPickedPoint_setObjectNormal(SoPickedPoint self, SbVec3f normal)"}, - { (char *)"SoPickedPoint_setObjectTextureCoords", _wrap_SoPickedPoint_setObjectTextureCoords, METH_VARARGS, (char *)"SoPickedPoint_setObjectTextureCoords(SoPickedPoint self, SbVec4f texCoords)"}, - { (char *)"SoPickedPoint_setMaterialIndex", _wrap_SoPickedPoint_setMaterialIndex, METH_VARARGS, (char *)"SoPickedPoint_setMaterialIndex(SoPickedPoint self, int index)"}, - { (char *)"SoPickedPoint_setDetail", _wrap_SoPickedPoint_setDetail, METH_VARARGS, (char *)"SoPickedPoint_setDetail(SoPickedPoint self, SoDetail detail, SoNode node)"}, - { (char *)"SoPickedPoint_swigregister", SoPickedPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPrimitiveVertex", _wrap_new_SoPrimitiveVertex, METH_VARARGS, (char *)"\n" - "SoPrimitiveVertex()\n" - "new_SoPrimitiveVertex(SoPrimitiveVertex pv) -> SoPrimitiveVertex\n" - ""}, - { (char *)"delete_SoPrimitiveVertex", _wrap_delete_SoPrimitiveVertex, METH_VARARGS, (char *)"delete_SoPrimitiveVertex(SoPrimitiveVertex self)"}, - { (char *)"SoPrimitiveVertex_getPoint", _wrap_SoPrimitiveVertex_getPoint, METH_VARARGS, (char *)"SoPrimitiveVertex_getPoint(SoPrimitiveVertex self) -> SbVec3f"}, - { (char *)"SoPrimitiveVertex_getNormal", _wrap_SoPrimitiveVertex_getNormal, METH_VARARGS, (char *)"SoPrimitiveVertex_getNormal(SoPrimitiveVertex self) -> SbVec3f"}, - { (char *)"SoPrimitiveVertex_getTextureCoords", _wrap_SoPrimitiveVertex_getTextureCoords, METH_VARARGS, (char *)"SoPrimitiveVertex_getTextureCoords(SoPrimitiveVertex self) -> SbVec4f"}, - { (char *)"SoPrimitiveVertex_getMaterialIndex", _wrap_SoPrimitiveVertex_getMaterialIndex, METH_VARARGS, (char *)"SoPrimitiveVertex_getMaterialIndex(SoPrimitiveVertex self) -> int"}, - { (char *)"SoPrimitiveVertex_getPackedColor", _wrap_SoPrimitiveVertex_getPackedColor, METH_VARARGS, (char *)"SoPrimitiveVertex_getPackedColor(SoPrimitiveVertex self) -> uint32_t"}, - { (char *)"SoPrimitiveVertex_getDetail", _wrap_SoPrimitiveVertex_getDetail, METH_VARARGS, (char *)"SoPrimitiveVertex_getDetail(SoPrimitiveVertex self) -> SoDetail"}, - { (char *)"SoPrimitiveVertex_setPoint", _wrap_SoPrimitiveVertex_setPoint, METH_VARARGS, (char *)"\n" - "setPoint(SbVec3f pt)\n" - "SoPrimitiveVertex_setPoint(SoPrimitiveVertex self, float x, float y, float z)\n" - ""}, - { (char *)"SoPrimitiveVertex_setNormal", _wrap_SoPrimitiveVertex_setNormal, METH_VARARGS, (char *)"\n" - "setNormal(SbVec3f n)\n" - "SoPrimitiveVertex_setNormal(SoPrimitiveVertex self, float nx, float ny, float nz)\n" - ""}, - { (char *)"SoPrimitiveVertex_setTextureCoords", _wrap_SoPrimitiveVertex_setTextureCoords, METH_VARARGS, (char *)"\n" - "setTextureCoords(SbVec2f tex)\n" - "setTextureCoords(float tx, float ty)\n" - "setTextureCoords(SbVec3f tex)\n" - "setTextureCoords(float tx, float ty, float tz)\n" - "setTextureCoords(SbVec4f tex)\n" - "SoPrimitiveVertex_setTextureCoords(SoPrimitiveVertex self, float tx, float ty, float tz, \n" - " float tw)\n" - ""}, - { (char *)"SoPrimitiveVertex_setMaterialIndex", _wrap_SoPrimitiveVertex_setMaterialIndex, METH_VARARGS, (char *)"SoPrimitiveVertex_setMaterialIndex(SoPrimitiveVertex self, int index)"}, - { (char *)"SoPrimitiveVertex_setPackedColor", _wrap_SoPrimitiveVertex_setPackedColor, METH_VARARGS, (char *)"SoPrimitiveVertex_setPackedColor(SoPrimitiveVertex self, uint32_t rgba)"}, - { (char *)"SoPrimitiveVertex_setDetail", _wrap_SoPrimitiveVertex_setDetail, METH_VARARGS, (char *)"SoPrimitiveVertex_setDetail(SoPrimitiveVertex self, SoDetail d)"}, - { (char *)"SoPrimitiveVertex_swigregister", SoPrimitiveVertex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSceneManager", _wrap_new_SoSceneManager, METH_VARARGS, (char *)"new_SoSceneManager() -> SoSceneManager"}, - { (char *)"delete_SoSceneManager", _wrap_delete_SoSceneManager, METH_VARARGS, (char *)"delete_SoSceneManager(SoSceneManager self)"}, - { (char *)"SoSceneManager_render", _wrap_SoSceneManager_render, METH_VARARGS, (char *)"\n" - "render(SbBool clearwindow=1, SbBool clearzbuffer=1)\n" - "render(SbBool clearwindow=1)\n" - "render()\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, \n" - " SbBool clearzbuffer=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1)\n" - "SoSceneManager_render(SoSceneManager self, SoGLRenderAction action)\n" - ""}, - { (char *)"SoSceneManager_setCamera", _wrap_SoSceneManager_setCamera, METH_VARARGS, (char *)"SoSceneManager_setCamera(SoSceneManager self, SoCamera camera)"}, - { (char *)"SoSceneManager_getCamera", _wrap_SoSceneManager_getCamera, METH_VARARGS, (char *)"SoSceneManager_getCamera(SoSceneManager self) -> SoCamera"}, - { (char *)"SoSceneManager_processEvent", _wrap_SoSceneManager_processEvent, METH_VARARGS, (char *)"SoSceneManager_processEvent(SoSceneManager self, SoEvent event) -> SbBool"}, - { (char *)"SoSceneManager_reinitialize", _wrap_SoSceneManager_reinitialize, METH_VARARGS, (char *)"SoSceneManager_reinitialize(SoSceneManager self)"}, - { (char *)"SoSceneManager_scheduleRedraw", _wrap_SoSceneManager_scheduleRedraw, METH_VARARGS, (char *)"SoSceneManager_scheduleRedraw(SoSceneManager self)"}, - { (char *)"SoSceneManager_setSceneGraph", _wrap_SoSceneManager_setSceneGraph, METH_VARARGS, (char *)"SoSceneManager_setSceneGraph(SoSceneManager self, SoNode sceneroot)"}, - { (char *)"SoSceneManager_getSceneGraph", _wrap_SoSceneManager_getSceneGraph, METH_VARARGS, (char *)"SoSceneManager_getSceneGraph(SoSceneManager self) -> SoNode"}, - { (char *)"SoSceneManager_setWindowSize", _wrap_SoSceneManager_setWindowSize, METH_VARARGS, (char *)"SoSceneManager_setWindowSize(SoSceneManager self, SbVec2s newsize)"}, - { (char *)"SoSceneManager_getWindowSize", _wrap_SoSceneManager_getWindowSize, METH_VARARGS, (char *)"SoSceneManager_getWindowSize(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setSize", _wrap_SoSceneManager_setSize, METH_VARARGS, (char *)"SoSceneManager_setSize(SoSceneManager self, SbVec2s newsize)"}, - { (char *)"SoSceneManager_getSize", _wrap_SoSceneManager_getSize, METH_VARARGS, (char *)"SoSceneManager_getSize(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setOrigin", _wrap_SoSceneManager_setOrigin, METH_VARARGS, (char *)"SoSceneManager_setOrigin(SoSceneManager self, SbVec2s newOrigin)"}, - { (char *)"SoSceneManager_getOrigin", _wrap_SoSceneManager_getOrigin, METH_VARARGS, (char *)"SoSceneManager_getOrigin(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setViewportRegion", _wrap_SoSceneManager_setViewportRegion, METH_VARARGS, (char *)"SoSceneManager_setViewportRegion(SoSceneManager self, SbViewportRegion newRegion)"}, - { (char *)"SoSceneManager_getViewportRegion", _wrap_SoSceneManager_getViewportRegion, METH_VARARGS, (char *)"SoSceneManager_getViewportRegion(SoSceneManager self) -> SbViewportRegion"}, - { (char *)"SoSceneManager_setBackgroundColor", _wrap_SoSceneManager_setBackgroundColor, METH_VARARGS, (char *)"SoSceneManager_setBackgroundColor(SoSceneManager self, SbColor color)"}, - { (char *)"SoSceneManager_getBackgroundColor", _wrap_SoSceneManager_getBackgroundColor, METH_VARARGS, (char *)"SoSceneManager_getBackgroundColor(SoSceneManager self) -> SbColor"}, - { (char *)"SoSceneManager_setBackgroundIndex", _wrap_SoSceneManager_setBackgroundIndex, METH_VARARGS, (char *)"SoSceneManager_setBackgroundIndex(SoSceneManager self, int index)"}, - { (char *)"SoSceneManager_getBackgroundIndex", _wrap_SoSceneManager_getBackgroundIndex, METH_VARARGS, (char *)"SoSceneManager_getBackgroundIndex(SoSceneManager self) -> int"}, - { (char *)"SoSceneManager_setRGBMode", _wrap_SoSceneManager_setRGBMode, METH_VARARGS, (char *)"SoSceneManager_setRGBMode(SoSceneManager self, SbBool onOrOff)"}, - { (char *)"SoSceneManager_isRGBMode", _wrap_SoSceneManager_isRGBMode, METH_VARARGS, (char *)"SoSceneManager_isRGBMode(SoSceneManager self) -> SbBool"}, - { (char *)"SoSceneManager_activate", _wrap_SoSceneManager_activate, METH_VARARGS, (char *)"SoSceneManager_activate(SoSceneManager self)"}, - { (char *)"SoSceneManager_deactivate", _wrap_SoSceneManager_deactivate, METH_VARARGS, (char *)"SoSceneManager_deactivate(SoSceneManager self)"}, - { (char *)"SoSceneManager_isAutoRedraw", _wrap_SoSceneManager_isAutoRedraw, METH_VARARGS, (char *)"SoSceneManager_isAutoRedraw(SoSceneManager self) -> SbBool"}, - { (char *)"SoSceneManager_setRedrawPriority", _wrap_SoSceneManager_setRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_setRedrawPriority(SoSceneManager self, uint32_t priority)"}, - { (char *)"SoSceneManager_getRedrawPriority", _wrap_SoSceneManager_getRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_getRedrawPriority(SoSceneManager self) -> uint32_t"}, - { (char *)"SoSceneManager_setAntialiasing", _wrap_SoSceneManager_setAntialiasing, METH_VARARGS, (char *)"SoSceneManager_setAntialiasing(SoSceneManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoSceneManager_getAntialiasing", _wrap_SoSceneManager_getAntialiasing, METH_VARARGS, (char *)"SoSceneManager_getAntialiasing(SoSceneManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoSceneManager_setGLRenderAction", _wrap_SoSceneManager_setGLRenderAction, METH_VARARGS, (char *)"SoSceneManager_setGLRenderAction(SoSceneManager self, SoGLRenderAction action)"}, - { (char *)"SoSceneManager_getGLRenderAction", _wrap_SoSceneManager_getGLRenderAction, METH_VARARGS, (char *)"SoSceneManager_getGLRenderAction(SoSceneManager self) -> SoGLRenderAction"}, - { (char *)"SoSceneManager_setAudioRenderAction", _wrap_SoSceneManager_setAudioRenderAction, METH_VARARGS, (char *)"SoSceneManager_setAudioRenderAction(SoSceneManager self, SoAudioRenderAction action)"}, - { (char *)"SoSceneManager_getAudioRenderAction", _wrap_SoSceneManager_getAudioRenderAction, METH_VARARGS, (char *)"SoSceneManager_getAudioRenderAction(SoSceneManager self) -> SoAudioRenderAction"}, - { (char *)"SoSceneManager_setHandleEventAction", _wrap_SoSceneManager_setHandleEventAction, METH_VARARGS, (char *)"SoSceneManager_setHandleEventAction(SoSceneManager self, SoHandleEventAction hea)"}, - { (char *)"SoSceneManager_getHandleEventAction", _wrap_SoSceneManager_getHandleEventAction, METH_VARARGS, (char *)"SoSceneManager_getHandleEventAction(SoSceneManager self) -> SoHandleEventAction"}, - { (char *)"SoSceneManager_getDefaultRedrawPriority", _wrap_SoSceneManager_getDefaultRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_getDefaultRedrawPriority() -> uint32_t"}, - { (char *)"SoSceneManager_enableRealTimeUpdate", _wrap_SoSceneManager_enableRealTimeUpdate, METH_VARARGS, (char *)"SoSceneManager_enableRealTimeUpdate(SbBool flag)"}, - { (char *)"SoSceneManager_isRealTimeUpdateEnabled", _wrap_SoSceneManager_isRealTimeUpdateEnabled, METH_VARARGS, (char *)"SoSceneManager_isRealTimeUpdateEnabled() -> SbBool"}, - { (char *)"SoSceneManager_setRenderCallback", _wrap_SoSceneManager_setRenderCallback, METH_VARARGS, (char *)"\n" - "setRenderCallback(SoSceneManagerRenderCB f, void userData=None)\n" - "setRenderCallback(SoSceneManagerRenderCB f)\n" - "setRenderCallback(PyObject pyfunc, PyObject userData=None)\n" - "SoSceneManager_setRenderCallback(SoSceneManager self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSceneManager_swigregister", SoSceneManager_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBarrier", _wrap_new_SbBarrier, METH_VARARGS, (char *)"new_SbBarrier(unsigned int count) -> SbBarrier"}, - { (char *)"delete_SbBarrier", _wrap_delete_SbBarrier, METH_VARARGS, (char *)"delete_SbBarrier(SbBarrier self)"}, - { (char *)"SbBarrier_enter", _wrap_SbBarrier_enter, METH_VARARGS, (char *)"SbBarrier_enter(SbBarrier self) -> int"}, - { (char *)"SbBarrier_swigregister", SbBarrier_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbMutex", _wrap_new_SbMutex, METH_VARARGS, (char *)"new_SbMutex() -> SbMutex"}, - { (char *)"delete_SbMutex", _wrap_delete_SbMutex, METH_VARARGS, (char *)"delete_SbMutex(SbMutex self)"}, - { (char *)"SbMutex_lock", _wrap_SbMutex_lock, METH_VARARGS, (char *)"SbMutex_lock(SbMutex self) -> int"}, - { (char *)"SbMutex_tryLock", _wrap_SbMutex_tryLock, METH_VARARGS, (char *)"SbMutex_tryLock(SbMutex self) -> SbBool"}, - { (char *)"SbMutex_unlock", _wrap_SbMutex_unlock, METH_VARARGS, (char *)"SbMutex_unlock(SbMutex self) -> int"}, - { (char *)"SbMutex_swigregister", SbMutex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbThreadMutex", _wrap_new_SbThreadMutex, METH_VARARGS, (char *)"new_SbThreadMutex() -> SbThreadMutex"}, - { (char *)"delete_SbThreadMutex", _wrap_delete_SbThreadMutex, METH_VARARGS, (char *)"delete_SbThreadMutex(SbThreadMutex self)"}, - { (char *)"SbThreadMutex_lock", _wrap_SbThreadMutex_lock, METH_VARARGS, (char *)"SbThreadMutex_lock(SbThreadMutex self) -> int"}, - { (char *)"SbThreadMutex_tryLock", _wrap_SbThreadMutex_tryLock, METH_VARARGS, (char *)"SbThreadMutex_tryLock(SbThreadMutex self) -> SbBool"}, - { (char *)"SbThreadMutex_unlock", _wrap_SbThreadMutex_unlock, METH_VARARGS, (char *)"SbThreadMutex_unlock(SbThreadMutex self) -> int"}, - { (char *)"SbThreadMutex_swigregister", SbThreadMutex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbThreadAutoLock", _wrap_new_SbThreadAutoLock, METH_VARARGS, (char *)"\n" - "SbThreadAutoLock(SbMutex mutexptr)\n" - "new_SbThreadAutoLock(SbThreadMutex mutexptr) -> SbThreadAutoLock\n" - ""}, - { (char *)"delete_SbThreadAutoLock", _wrap_delete_SbThreadAutoLock, METH_VARARGS, (char *)"delete_SbThreadAutoLock(SbThreadAutoLock self)"}, - { (char *)"SbThreadAutoLock_swigregister", SbThreadAutoLock_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCondVar", _wrap_new_SbCondVar, METH_VARARGS, (char *)"new_SbCondVar() -> SbCondVar"}, - { (char *)"delete_SbCondVar", _wrap_delete_SbCondVar, METH_VARARGS, (char *)"delete_SbCondVar(SbCondVar self)"}, - { (char *)"SbCondVar_wait", _wrap_SbCondVar_wait, METH_VARARGS, (char *)"SbCondVar_wait(SbCondVar self, SbMutex mutex) -> SbBool"}, - { (char *)"SbCondVar_timedWait", _wrap_SbCondVar_timedWait, METH_VARARGS, (char *)"SbCondVar_timedWait(SbCondVar self, SbMutex mutex, SbTime period) -> SbBool"}, - { (char *)"SbCondVar_wakeOne", _wrap_SbCondVar_wakeOne, METH_VARARGS, (char *)"SbCondVar_wakeOne(SbCondVar self)"}, - { (char *)"SbCondVar_wakeAll", _wrap_SbCondVar_wakeAll, METH_VARARGS, (char *)"SbCondVar_wakeAll(SbCondVar self)"}, - { (char *)"SbCondVar_swigregister", SbCondVar_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbFifo", _wrap_new_SbFifo, METH_VARARGS, (char *)"new_SbFifo() -> SbFifo"}, - { (char *)"delete_SbFifo", _wrap_delete_SbFifo, METH_VARARGS, (char *)"delete_SbFifo(SbFifo self)"}, - { (char *)"SbFifo_assign", _wrap_SbFifo_assign, METH_VARARGS, (char *)"SbFifo_assign(SbFifo self, void ptr, uint32_t type)"}, - { (char *)"SbFifo_retrieve", _wrap_SbFifo_retrieve, METH_VARARGS, (char *)"SbFifo_retrieve(SbFifo self, void ptr, uint32_t type)"}, - { (char *)"SbFifo_tryRetrieve", _wrap_SbFifo_tryRetrieve, METH_VARARGS, (char *)"SbFifo_tryRetrieve(SbFifo self, void ptr, uint32_t type) -> SbBool"}, - { (char *)"SbFifo_size", _wrap_SbFifo_size, METH_VARARGS, (char *)"SbFifo_size(SbFifo self) -> unsigned int"}, - { (char *)"SbFifo_lock", _wrap_SbFifo_lock, METH_VARARGS, (char *)"SbFifo_lock(SbFifo self)"}, - { (char *)"SbFifo_unlock", _wrap_SbFifo_unlock, METH_VARARGS, (char *)"SbFifo_unlock(SbFifo self)"}, - { (char *)"SbFifo_peek", _wrap_SbFifo_peek, METH_VARARGS, (char *)"SbFifo_peek(SbFifo self, void item, uint32_t type) -> SbBool"}, - { (char *)"SbFifo_contains", _wrap_SbFifo_contains, METH_VARARGS, (char *)"SbFifo_contains(SbFifo self, void item) -> SbBool"}, - { (char *)"SbFifo_reclaim", _wrap_SbFifo_reclaim, METH_VARARGS, (char *)"SbFifo_reclaim(SbFifo self, void item) -> SbBool"}, - { (char *)"SbFifo_swigregister", SbFifo_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbRWMutex", _wrap_new_SbRWMutex, METH_VARARGS, (char *)"new_SbRWMutex(Precedence policy) -> SbRWMutex"}, - { (char *)"delete_SbRWMutex", _wrap_delete_SbRWMutex, METH_VARARGS, (char *)"delete_SbRWMutex(SbRWMutex self)"}, - { (char *)"SbRWMutex_writeLock", _wrap_SbRWMutex_writeLock, METH_VARARGS, (char *)"SbRWMutex_writeLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_tryWriteLock", _wrap_SbRWMutex_tryWriteLock, METH_VARARGS, (char *)"SbRWMutex_tryWriteLock(SbRWMutex self) -> SbBool"}, - { (char *)"SbRWMutex_writeUnlock", _wrap_SbRWMutex_writeUnlock, METH_VARARGS, (char *)"SbRWMutex_writeUnlock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_readLock", _wrap_SbRWMutex_readLock, METH_VARARGS, (char *)"SbRWMutex_readLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_tryReadLock", _wrap_SbRWMutex_tryReadLock, METH_VARARGS, (char *)"SbRWMutex_tryReadLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_readUnlock", _wrap_SbRWMutex_readUnlock, METH_VARARGS, (char *)"SbRWMutex_readUnlock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_swigregister", SbRWMutex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbStorage", _wrap_new_SbStorage, METH_VARARGS, (char *)"\n" - "SbStorage(unsigned int size)\n" - "new_SbStorage(unsigned int size, cc_storage_f constr, cc_storage_f destr) -> SbStorage\n" - ""}, - { (char *)"delete_SbStorage", _wrap_delete_SbStorage, METH_VARARGS, (char *)"delete_SbStorage(SbStorage self)"}, - { (char *)"SbStorage_get", _wrap_SbStorage_get, METH_VARARGS, (char *)"SbStorage_get(SbStorage self) -> void"}, - { (char *)"SbStorage_applyToAll", _wrap_SbStorage_applyToAll, METH_VARARGS, (char *)"SbStorage_applyToAll(SbStorage self, SbStorageApplyFunc func, void closure)"}, - { (char *)"SbStorage_swigregister", SbStorage_swigregister, METH_VARARGS, NULL}, - { (char *)"SbThread_create", _wrap_SbThread_create, METH_VARARGS, (char *)"SbThread_create(void func, void closure) -> SbThread"}, - { (char *)"SbThread_destroy", _wrap_SbThread_destroy, METH_VARARGS, (char *)"SbThread_destroy(SbThread thread)"}, - { (char *)"SbThread_join", _wrap_SbThread_join, METH_VARARGS, (char *)"\n" - "join(void retval=0L) -> SbBool\n" - "join() -> SbBool\n" - "join(SbThread thread, void retval=0L) -> SbBool\n" - "SbThread_join(SbThread thread) -> SbBool\n" - ""}, - { (char *)"SbThread_swigregister", SbThread_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLParent_getClassTypeId", _wrap_SoVRMLParent_getClassTypeId, METH_VARARGS, (char *)"SoVRMLParent_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLParent_getTypeId", _wrap_SoVRMLParent_getTypeId, METH_VARARGS, (char *)"SoVRMLParent_getTypeId(SoVRMLParent self) -> SoType"}, - { (char *)"SoVRMLParent_initClass", _wrap_SoVRMLParent_initClass, METH_VARARGS, (char *)"SoVRMLParent_initClass()"}, - { (char *)"SoVRMLParent_children_set", _wrap_SoVRMLParent_children_set, METH_VARARGS, (char *)"SoVRMLParent_children_set(SoVRMLParent self, SoMFNode children)"}, - { (char *)"SoVRMLParent_children_get", _wrap_SoVRMLParent_children_get, METH_VARARGS, (char *)"SoVRMLParent_children_get(SoVRMLParent self) -> SoMFNode"}, - { (char *)"SoVRMLParent_affectsState", _wrap_SoVRMLParent_affectsState, METH_VARARGS, (char *)"SoVRMLParent_affectsState(SoVRMLParent self) -> SbBool"}, - { (char *)"SoVRMLParent_addChild", _wrap_SoVRMLParent_addChild, METH_VARARGS, (char *)"SoVRMLParent_addChild(SoVRMLParent self, SoNode child)"}, - { (char *)"SoVRMLParent_insertChild", _wrap_SoVRMLParent_insertChild, METH_VARARGS, (char *)"SoVRMLParent_insertChild(SoVRMLParent self, SoNode child, int idx)"}, - { (char *)"SoVRMLParent_getChild", _wrap_SoVRMLParent_getChild, METH_VARARGS, (char *)"SoVRMLParent_getChild(SoVRMLParent self, int idx) -> SoNode"}, - { (char *)"SoVRMLParent_findChild", _wrap_SoVRMLParent_findChild, METH_VARARGS, (char *)"SoVRMLParent_findChild(SoVRMLParent self, SoNode child) -> int"}, - { (char *)"SoVRMLParent_getNumChildren", _wrap_SoVRMLParent_getNumChildren, METH_VARARGS, (char *)"SoVRMLParent_getNumChildren(SoVRMLParent self) -> int"}, - { (char *)"SoVRMLParent_removeChild", _wrap_SoVRMLParent_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLParent_removeChild(SoVRMLParent self, SoNode child)\n" - ""}, - { (char *)"SoVRMLParent_removeAllChildren", _wrap_SoVRMLParent_removeAllChildren, METH_VARARGS, (char *)"SoVRMLParent_removeAllChildren(SoVRMLParent self)"}, - { (char *)"SoVRMLParent_replaceChild", _wrap_SoVRMLParent_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode child)\n" - "SoVRMLParent_replaceChild(SoVRMLParent self, SoNode old, SoNode child)\n" - ""}, - { (char *)"SoVRMLParent_getChildren", _wrap_SoVRMLParent_getChildren, METH_VARARGS, (char *)"SoVRMLParent_getChildren(SoVRMLParent self) -> SoChildList"}, - { (char *)"SoVRMLParent_doAction", _wrap_SoVRMLParent_doAction, METH_VARARGS, (char *)"SoVRMLParent_doAction(SoVRMLParent self, SoAction action)"}, - { (char *)"SoVRMLParent_search", _wrap_SoVRMLParent_search, METH_VARARGS, (char *)"SoVRMLParent_search(SoVRMLParent self, SoSearchAction action)"}, - { (char *)"SoVRMLParent_write", _wrap_SoVRMLParent_write, METH_VARARGS, (char *)"SoVRMLParent_write(SoVRMLParent self, SoWriteAction action)"}, - { (char *)"SoVRMLParent_getPrimitiveCount", _wrap_SoVRMLParent_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLParent_getPrimitiveCount(SoVRMLParent self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLParent_updateChildList", _wrap_SoVRMLParent_updateChildList, METH_VARARGS, (char *)"\n" - "updateChildList(SoNode nodes, int numnodes, SoChildList cl)\n" - "SoVRMLParent_updateChildList(SoNode nodewithsfnode, SoChildList cl)\n" - ""}, - { (char *)"SoVRMLParent_swigregister", SoVRMLParent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAnchor_getClassTypeId", _wrap_SoVRMLAnchor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAnchor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAnchor_getTypeId", _wrap_SoVRMLAnchor_getTypeId, METH_VARARGS, (char *)"SoVRMLAnchor_getTypeId(SoVRMLAnchor self) -> SoType"}, - { (char *)"SoVRMLAnchor_initClass", _wrap_SoVRMLAnchor_initClass, METH_VARARGS, (char *)"SoVRMLAnchor_initClass()"}, - { (char *)"new_SoVRMLAnchor", _wrap_new_SoVRMLAnchor, METH_VARARGS, (char *)"new_SoVRMLAnchor() -> SoVRMLAnchor"}, - { (char *)"SoVRMLAnchor_url_set", _wrap_SoVRMLAnchor_url_set, METH_VARARGS, (char *)"SoVRMLAnchor_url_set(SoVRMLAnchor self, SoMFString url)"}, - { (char *)"SoVRMLAnchor_url_get", _wrap_SoVRMLAnchor_url_get, METH_VARARGS, (char *)"SoVRMLAnchor_url_get(SoVRMLAnchor self) -> SoMFString"}, - { (char *)"SoVRMLAnchor_description_set", _wrap_SoVRMLAnchor_description_set, METH_VARARGS, (char *)"SoVRMLAnchor_description_set(SoVRMLAnchor self, SoSFString description)"}, - { (char *)"SoVRMLAnchor_description_get", _wrap_SoVRMLAnchor_description_get, METH_VARARGS, (char *)"SoVRMLAnchor_description_get(SoVRMLAnchor self) -> SoSFString"}, - { (char *)"SoVRMLAnchor_parameter_set", _wrap_SoVRMLAnchor_parameter_set, METH_VARARGS, (char *)"SoVRMLAnchor_parameter_set(SoVRMLAnchor self, SoMFString parameter)"}, - { (char *)"SoVRMLAnchor_parameter_get", _wrap_SoVRMLAnchor_parameter_get, METH_VARARGS, (char *)"SoVRMLAnchor_parameter_get(SoVRMLAnchor self) -> SoMFString"}, - { (char *)"SoVRMLAnchor_bboxCenter_set", _wrap_SoVRMLAnchor_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLAnchor_bboxCenter_set(SoVRMLAnchor self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLAnchor_bboxCenter_get", _wrap_SoVRMLAnchor_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLAnchor_bboxCenter_get(SoVRMLAnchor self) -> SoSFVec3f"}, - { (char *)"SoVRMLAnchor_bboxSize_set", _wrap_SoVRMLAnchor_bboxSize_set, METH_VARARGS, (char *)"SoVRMLAnchor_bboxSize_set(SoVRMLAnchor self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLAnchor_bboxSize_get", _wrap_SoVRMLAnchor_bboxSize_get, METH_VARARGS, (char *)"SoVRMLAnchor_bboxSize_get(SoVRMLAnchor self) -> SoSFVec3f"}, - { (char *)"SoVRMLAnchor_setFetchURLCallBack", _wrap_SoVRMLAnchor_setFetchURLCallBack, METH_VARARGS, (char *)"SoVRMLAnchor_setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)"}, - { (char *)"SoVRMLAnchor_handleEvent", _wrap_SoVRMLAnchor_handleEvent, METH_VARARGS, (char *)"SoVRMLAnchor_handleEvent(SoVRMLAnchor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLAnchor_swigregister", SoVRMLAnchor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAppearance_getClassTypeId", _wrap_SoVRMLAppearance_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAppearance_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAppearance_getTypeId", _wrap_SoVRMLAppearance_getTypeId, METH_VARARGS, (char *)"SoVRMLAppearance_getTypeId(SoVRMLAppearance self) -> SoType"}, - { (char *)"SoVRMLAppearance_initClass", _wrap_SoVRMLAppearance_initClass, METH_VARARGS, (char *)"SoVRMLAppearance_initClass()"}, - { (char *)"new_SoVRMLAppearance", _wrap_new_SoVRMLAppearance, METH_VARARGS, (char *)"new_SoVRMLAppearance() -> SoVRMLAppearance"}, - { (char *)"SoVRMLAppearance_material_set", _wrap_SoVRMLAppearance_material_set, METH_VARARGS, (char *)"SoVRMLAppearance_material_set(SoVRMLAppearance self, SoSFNode material)"}, - { (char *)"SoVRMLAppearance_material_get", _wrap_SoVRMLAppearance_material_get, METH_VARARGS, (char *)"SoVRMLAppearance_material_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_texture_set", _wrap_SoVRMLAppearance_texture_set, METH_VARARGS, (char *)"SoVRMLAppearance_texture_set(SoVRMLAppearance self, SoSFNode texture)"}, - { (char *)"SoVRMLAppearance_texture_get", _wrap_SoVRMLAppearance_texture_get, METH_VARARGS, (char *)"SoVRMLAppearance_texture_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_textureTransform_set", _wrap_SoVRMLAppearance_textureTransform_set, METH_VARARGS, (char *)"SoVRMLAppearance_textureTransform_set(SoVRMLAppearance self, SoSFNode textureTransform)"}, - { (char *)"SoVRMLAppearance_textureTransform_get", _wrap_SoVRMLAppearance_textureTransform_get, METH_VARARGS, (char *)"SoVRMLAppearance_textureTransform_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_doAction", _wrap_SoVRMLAppearance_doAction, METH_VARARGS, (char *)"SoVRMLAppearance_doAction(SoVRMLAppearance self, SoAction action)"}, - { (char *)"SoVRMLAppearance_callback", _wrap_SoVRMLAppearance_callback, METH_VARARGS, (char *)"SoVRMLAppearance_callback(SoVRMLAppearance self, SoCallbackAction action)"}, - { (char *)"SoVRMLAppearance_GLRender", _wrap_SoVRMLAppearance_GLRender, METH_VARARGS, (char *)"SoVRMLAppearance_GLRender(SoVRMLAppearance self, SoGLRenderAction action)"}, - { (char *)"SoVRMLAppearance_search", _wrap_SoVRMLAppearance_search, METH_VARARGS, (char *)"SoVRMLAppearance_search(SoVRMLAppearance self, SoSearchAction action)"}, - { (char *)"SoVRMLAppearance_getChildren", _wrap_SoVRMLAppearance_getChildren, METH_VARARGS, (char *)"SoVRMLAppearance_getChildren(SoVRMLAppearance self) -> SoChildList"}, - { (char *)"SoVRMLAppearance_notify", _wrap_SoVRMLAppearance_notify, METH_VARARGS, (char *)"SoVRMLAppearance_notify(SoVRMLAppearance self, SoNotList list)"}, - { (char *)"SoVRMLAppearance_copyContents", _wrap_SoVRMLAppearance_copyContents, METH_VARARGS, (char *)"SoVRMLAppearance_copyContents(SoVRMLAppearance self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLAppearance_swigregister", SoVRMLAppearance_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAudioClip_getClassTypeId", _wrap_SoVRMLAudioClip_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAudioClip_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAudioClip_getTypeId", _wrap_SoVRMLAudioClip_getTypeId, METH_VARARGS, (char *)"SoVRMLAudioClip_getTypeId(SoVRMLAudioClip self) -> SoType"}, - { (char *)"SoVRMLAudioClip_initClass", _wrap_SoVRMLAudioClip_initClass, METH_VARARGS, (char *)"SoVRMLAudioClip_initClass()"}, - { (char *)"new_SoVRMLAudioClip", _wrap_new_SoVRMLAudioClip, METH_VARARGS, (char *)"new_SoVRMLAudioClip() -> SoVRMLAudioClip"}, - { (char *)"SoVRMLAudioClip_description_set", _wrap_SoVRMLAudioClip_description_set, METH_VARARGS, (char *)"SoVRMLAudioClip_description_set(SoVRMLAudioClip self, SoSFString description)"}, - { (char *)"SoVRMLAudioClip_description_get", _wrap_SoVRMLAudioClip_description_get, METH_VARARGS, (char *)"SoVRMLAudioClip_description_get(SoVRMLAudioClip self) -> SoSFString"}, - { (char *)"SoVRMLAudioClip_loop_set", _wrap_SoVRMLAudioClip_loop_set, METH_VARARGS, (char *)"SoVRMLAudioClip_loop_set(SoVRMLAudioClip self, SoSFBool loop)"}, - { (char *)"SoVRMLAudioClip_loop_get", _wrap_SoVRMLAudioClip_loop_get, METH_VARARGS, (char *)"SoVRMLAudioClip_loop_get(SoVRMLAudioClip self) -> SoSFBool"}, - { (char *)"SoVRMLAudioClip_pitch_set", _wrap_SoVRMLAudioClip_pitch_set, METH_VARARGS, (char *)"SoVRMLAudioClip_pitch_set(SoVRMLAudioClip self, SoSFFloat pitch)"}, - { (char *)"SoVRMLAudioClip_pitch_get", _wrap_SoVRMLAudioClip_pitch_get, METH_VARARGS, (char *)"SoVRMLAudioClip_pitch_get(SoVRMLAudioClip self) -> SoSFFloat"}, - { (char *)"SoVRMLAudioClip_startTime_set", _wrap_SoVRMLAudioClip_startTime_set, METH_VARARGS, (char *)"SoVRMLAudioClip_startTime_set(SoVRMLAudioClip self, SoSFTime startTime)"}, - { (char *)"SoVRMLAudioClip_startTime_get", _wrap_SoVRMLAudioClip_startTime_get, METH_VARARGS, (char *)"SoVRMLAudioClip_startTime_get(SoVRMLAudioClip self) -> SoSFTime"}, - { (char *)"SoVRMLAudioClip_stopTime_set", _wrap_SoVRMLAudioClip_stopTime_set, METH_VARARGS, (char *)"SoVRMLAudioClip_stopTime_set(SoVRMLAudioClip self, SoSFTime stopTime)"}, - { (char *)"SoVRMLAudioClip_stopTime_get", _wrap_SoVRMLAudioClip_stopTime_get, METH_VARARGS, (char *)"SoVRMLAudioClip_stopTime_get(SoVRMLAudioClip self) -> SoSFTime"}, - { (char *)"SoVRMLAudioClip_url_set", _wrap_SoVRMLAudioClip_url_set, METH_VARARGS, (char *)"SoVRMLAudioClip_url_set(SoVRMLAudioClip self, SoMFString url)"}, - { (char *)"SoVRMLAudioClip_url_get", _wrap_SoVRMLAudioClip_url_get, METH_VARARGS, (char *)"SoVRMLAudioClip_url_get(SoVRMLAudioClip self) -> SoMFString"}, - { (char *)"SoVRMLAudioClip_setSubdirectories", _wrap_SoVRMLAudioClip_setSubdirectories, METH_VARARGS, (char *)"SoVRMLAudioClip_setSubdirectories(SbList<(SbString)> subdirectories)"}, - { (char *)"SoVRMLAudioClip_getSubdirectories", _wrap_SoVRMLAudioClip_getSubdirectories, METH_VARARGS, (char *)"SoVRMLAudioClip_getSubdirectories() -> SbStringList"}, - { (char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks", _wrap_SoVRMLAudioClip_setDefaultPauseBetweenTracks, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks(SbTime pause)"}, - { (char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks", _wrap_SoVRMLAudioClip_getDefaultPauseBetweenTracks, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks() -> SbTime"}, - { (char *)"SoVRMLAudioClip_setDefaultIntroPause", _wrap_SoVRMLAudioClip_setDefaultIntroPause, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultIntroPause(SbTime pause)"}, - { (char *)"SoVRMLAudioClip_getDefaultIntroPause", _wrap_SoVRMLAudioClip_getDefaultIntroPause, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultIntroPause() -> SbTime"}, - { (char *)"SoVRMLAudioClip_setDefaultSampleRate", _wrap_SoVRMLAudioClip_setDefaultSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultSampleRate(int samplerate)"}, - { (char *)"SoVRMLAudioClip_getDefaultSampleRate", _wrap_SoVRMLAudioClip_getDefaultSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultSampleRate() -> int"}, - { (char *)"SoVRMLAudioClip_setDefaultTimerInterval", _wrap_SoVRMLAudioClip_setDefaultTimerInterval, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultTimerInterval(SbTime interval)"}, - { (char *)"SoVRMLAudioClip_getDefaultTimerInterval", _wrap_SoVRMLAudioClip_getDefaultTimerInterval, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultTimerInterval() -> SbTime"}, - { (char *)"SoVRMLAudioClip_getSampleRate", _wrap_SoVRMLAudioClip_getSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_getSampleRate(SoVRMLAudioClip self) -> int"}, - { (char *)"SoVRMLAudioClip_open", _wrap_SoVRMLAudioClip_open, METH_VARARGS, (char *)"SoVRMLAudioClip_open(SoVRMLAudioClip self, SbStringList url) -> void"}, - { (char *)"SoVRMLAudioClip_read", _wrap_SoVRMLAudioClip_read, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_read(SoVRMLAudioClip self, void datasource, void buffer, \n" - " int numframes, int channels) -> size_t\n" - ""}, - { (char *)"SoVRMLAudioClip_seek", _wrap_SoVRMLAudioClip_seek, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_seek(SoVRMLAudioClip self, void datasource, long offset, \n" - " int whence) -> int\n" - ""}, - { (char *)"SoVRMLAudioClip_tell", _wrap_SoVRMLAudioClip_tell, METH_VARARGS, (char *)"SoVRMLAudioClip_tell(SoVRMLAudioClip self, void datasource) -> long"}, - { (char *)"SoVRMLAudioClip_close", _wrap_SoVRMLAudioClip_close, METH_VARARGS, (char *)"SoVRMLAudioClip_close(SoVRMLAudioClip self, void datasource) -> int"}, - { (char *)"SoVRMLAudioClip_setCallbacks", _wrap_SoVRMLAudioClip_setCallbacks, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_setCallbacks(SoVRMLAudioClip self, open_func opencb, read_func readcb, \n" - " seek_func seekcb, tell_func tellcb, close_func closecb, \n" - " void userdataptr)\n" - ""}, - { (char *)"SoVRMLAudioClip_swigregister", SoVRMLAudioClip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBackground_getClassTypeId", _wrap_SoVRMLBackground_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBackground_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBackground_getTypeId", _wrap_SoVRMLBackground_getTypeId, METH_VARARGS, (char *)"SoVRMLBackground_getTypeId(SoVRMLBackground self) -> SoType"}, - { (char *)"SoVRMLBackground_initClass", _wrap_SoVRMLBackground_initClass, METH_VARARGS, (char *)"SoVRMLBackground_initClass()"}, - { (char *)"new_SoVRMLBackground", _wrap_new_SoVRMLBackground, METH_VARARGS, (char *)"new_SoVRMLBackground() -> SoVRMLBackground"}, - { (char *)"SoVRMLBackground_groundColor_set", _wrap_SoVRMLBackground_groundColor_set, METH_VARARGS, (char *)"SoVRMLBackground_groundColor_set(SoVRMLBackground self, SoMFColor groundColor)"}, - { (char *)"SoVRMLBackground_groundColor_get", _wrap_SoVRMLBackground_groundColor_get, METH_VARARGS, (char *)"SoVRMLBackground_groundColor_get(SoVRMLBackground self) -> SoMFColor"}, - { (char *)"SoVRMLBackground_groundAngle_set", _wrap_SoVRMLBackground_groundAngle_set, METH_VARARGS, (char *)"SoVRMLBackground_groundAngle_set(SoVRMLBackground self, SoMFFloat groundAngle)"}, - { (char *)"SoVRMLBackground_groundAngle_get", _wrap_SoVRMLBackground_groundAngle_get, METH_VARARGS, (char *)"SoVRMLBackground_groundAngle_get(SoVRMLBackground self) -> SoMFFloat"}, - { (char *)"SoVRMLBackground_skyColor_set", _wrap_SoVRMLBackground_skyColor_set, METH_VARARGS, (char *)"SoVRMLBackground_skyColor_set(SoVRMLBackground self, SoMFColor skyColor)"}, - { (char *)"SoVRMLBackground_skyColor_get", _wrap_SoVRMLBackground_skyColor_get, METH_VARARGS, (char *)"SoVRMLBackground_skyColor_get(SoVRMLBackground self) -> SoMFColor"}, - { (char *)"SoVRMLBackground_skyAngle_set", _wrap_SoVRMLBackground_skyAngle_set, METH_VARARGS, (char *)"SoVRMLBackground_skyAngle_set(SoVRMLBackground self, SoMFFloat skyAngle)"}, - { (char *)"SoVRMLBackground_skyAngle_get", _wrap_SoVRMLBackground_skyAngle_get, METH_VARARGS, (char *)"SoVRMLBackground_skyAngle_get(SoVRMLBackground self) -> SoMFFloat"}, - { (char *)"SoVRMLBackground_backUrl_set", _wrap_SoVRMLBackground_backUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_backUrl_set(SoVRMLBackground self, SoMFString backUrl)"}, - { (char *)"SoVRMLBackground_backUrl_get", _wrap_SoVRMLBackground_backUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_backUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_bottomUrl_set", _wrap_SoVRMLBackground_bottomUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_bottomUrl_set(SoVRMLBackground self, SoMFString bottomUrl)"}, - { (char *)"SoVRMLBackground_bottomUrl_get", _wrap_SoVRMLBackground_bottomUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_bottomUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_frontUrl_set", _wrap_SoVRMLBackground_frontUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_frontUrl_set(SoVRMLBackground self, SoMFString frontUrl)"}, - { (char *)"SoVRMLBackground_frontUrl_get", _wrap_SoVRMLBackground_frontUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_frontUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_leftUrl_set", _wrap_SoVRMLBackground_leftUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_leftUrl_set(SoVRMLBackground self, SoMFString leftUrl)"}, - { (char *)"SoVRMLBackground_leftUrl_get", _wrap_SoVRMLBackground_leftUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_leftUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_rightUrl_set", _wrap_SoVRMLBackground_rightUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_rightUrl_set(SoVRMLBackground self, SoMFString rightUrl)"}, - { (char *)"SoVRMLBackground_rightUrl_get", _wrap_SoVRMLBackground_rightUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_rightUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_topUrl_set", _wrap_SoVRMLBackground_topUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_topUrl_set(SoVRMLBackground self, SoMFString topUrl)"}, - { (char *)"SoVRMLBackground_topUrl_get", _wrap_SoVRMLBackground_topUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_topUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_GLRender", _wrap_SoVRMLBackground_GLRender, METH_VARARGS, (char *)"SoVRMLBackground_GLRender(SoVRMLBackground self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBackground_swigregister", SoVRMLBackground_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBillboard_getClassTypeId", _wrap_SoVRMLBillboard_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBillboard_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBillboard_getTypeId", _wrap_SoVRMLBillboard_getTypeId, METH_VARARGS, (char *)"SoVRMLBillboard_getTypeId(SoVRMLBillboard self) -> SoType"}, - { (char *)"SoVRMLBillboard_initClass", _wrap_SoVRMLBillboard_initClass, METH_VARARGS, (char *)"SoVRMLBillboard_initClass()"}, - { (char *)"new_SoVRMLBillboard", _wrap_new_SoVRMLBillboard, METH_VARARGS, (char *)"\n" - "SoVRMLBillboard()\n" - "new_SoVRMLBillboard(int numchildren) -> SoVRMLBillboard\n" - ""}, - { (char *)"SoVRMLBillboard_axisOfRotation_set", _wrap_SoVRMLBillboard_axisOfRotation_set, METH_VARARGS, (char *)"SoVRMLBillboard_axisOfRotation_set(SoVRMLBillboard self, SoSFVec3f axisOfRotation)"}, - { (char *)"SoVRMLBillboard_axisOfRotation_get", _wrap_SoVRMLBillboard_axisOfRotation_get, METH_VARARGS, (char *)"SoVRMLBillboard_axisOfRotation_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_bboxCenter_set", _wrap_SoVRMLBillboard_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLBillboard_bboxCenter_set(SoVRMLBillboard self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLBillboard_bboxCenter_get", _wrap_SoVRMLBillboard_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLBillboard_bboxCenter_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_bboxSize_set", _wrap_SoVRMLBillboard_bboxSize_set, METH_VARARGS, (char *)"SoVRMLBillboard_bboxSize_set(SoVRMLBillboard self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLBillboard_bboxSize_get", _wrap_SoVRMLBillboard_bboxSize_get, METH_VARARGS, (char *)"SoVRMLBillboard_bboxSize_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_doAction", _wrap_SoVRMLBillboard_doAction, METH_VARARGS, (char *)"SoVRMLBillboard_doAction(SoVRMLBillboard self, SoAction action)"}, - { (char *)"SoVRMLBillboard_callback", _wrap_SoVRMLBillboard_callback, METH_VARARGS, (char *)"SoVRMLBillboard_callback(SoVRMLBillboard self, SoCallbackAction action)"}, - { (char *)"SoVRMLBillboard_GLRender", _wrap_SoVRMLBillboard_GLRender, METH_VARARGS, (char *)"SoVRMLBillboard_GLRender(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_getBoundingBox", _wrap_SoVRMLBillboard_getBoundingBox, METH_VARARGS, (char *)"SoVRMLBillboard_getBoundingBox(SoVRMLBillboard self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLBillboard_getMatrix", _wrap_SoVRMLBillboard_getMatrix, METH_VARARGS, (char *)"SoVRMLBillboard_getMatrix(SoVRMLBillboard self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLBillboard_pick", _wrap_SoVRMLBillboard_pick, METH_VARARGS, (char *)"SoVRMLBillboard_pick(SoVRMLBillboard self, SoPickAction action)"}, - { (char *)"SoVRMLBillboard_search", _wrap_SoVRMLBillboard_search, METH_VARARGS, (char *)"SoVRMLBillboard_search(SoVRMLBillboard self, SoSearchAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderBelowPath", _wrap_SoVRMLBillboard_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderBelowPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderInPath", _wrap_SoVRMLBillboard_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderInPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderOffPath", _wrap_SoVRMLBillboard_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderOffPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_notify", _wrap_SoVRMLBillboard_notify, METH_VARARGS, (char *)"SoVRMLBillboard_notify(SoVRMLBillboard self, SoNotList list)"}, - { (char *)"SoVRMLBillboard_swigregister", SoVRMLBillboard_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLGeometry_getClassTypeId", _wrap_SoVRMLGeometry_getClassTypeId, METH_VARARGS, (char *)"SoVRMLGeometry_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLGeometry_getTypeId", _wrap_SoVRMLGeometry_getTypeId, METH_VARARGS, (char *)"SoVRMLGeometry_getTypeId(SoVRMLGeometry self) -> SoType"}, - { (char *)"SoVRMLGeometry_initClass", _wrap_SoVRMLGeometry_initClass, METH_VARARGS, (char *)"SoVRMLGeometry_initClass()"}, - { (char *)"SoVRMLGeometry_search", _wrap_SoVRMLGeometry_search, METH_VARARGS, (char *)"SoVRMLGeometry_search(SoVRMLGeometry self, SoSearchAction action)"}, - { (char *)"SoVRMLGeometry_copyContents", _wrap_SoVRMLGeometry_copyContents, METH_VARARGS, (char *)"SoVRMLGeometry_copyContents(SoVRMLGeometry self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLGeometry_swigregister", SoVRMLGeometry_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBox_getClassTypeId", _wrap_SoVRMLBox_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBox_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBox_getTypeId", _wrap_SoVRMLBox_getTypeId, METH_VARARGS, (char *)"SoVRMLBox_getTypeId(SoVRMLBox self) -> SoType"}, - { (char *)"SoVRMLBox_initClass", _wrap_SoVRMLBox_initClass, METH_VARARGS, (char *)"SoVRMLBox_initClass()"}, - { (char *)"new_SoVRMLBox", _wrap_new_SoVRMLBox, METH_VARARGS, (char *)"new_SoVRMLBox() -> SoVRMLBox"}, - { (char *)"SoVRMLBox_size_set", _wrap_SoVRMLBox_size_set, METH_VARARGS, (char *)"SoVRMLBox_size_set(SoVRMLBox self, SoSFVec3f size)"}, - { (char *)"SoVRMLBox_size_get", _wrap_SoVRMLBox_size_get, METH_VARARGS, (char *)"SoVRMLBox_size_get(SoVRMLBox self) -> SoSFVec3f"}, - { (char *)"SoVRMLBox_GLRender", _wrap_SoVRMLBox_GLRender, METH_VARARGS, (char *)"SoVRMLBox_GLRender(SoVRMLBox self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBox_rayPick", _wrap_SoVRMLBox_rayPick, METH_VARARGS, (char *)"SoVRMLBox_rayPick(SoVRMLBox self, SoRayPickAction action)"}, - { (char *)"SoVRMLBox_getPrimitiveCount", _wrap_SoVRMLBox_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLBox_getPrimitiveCount(SoVRMLBox self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLBox_swigregister", SoVRMLBox_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLGroup_getClassTypeId", _wrap_SoVRMLGroup_getClassTypeId, METH_VARARGS, (char *)"SoVRMLGroup_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLGroup_getTypeId", _wrap_SoVRMLGroup_getTypeId, METH_VARARGS, (char *)"SoVRMLGroup_getTypeId(SoVRMLGroup self) -> SoType"}, - { (char *)"SoVRMLGroup_initClass", _wrap_SoVRMLGroup_initClass, METH_VARARGS, (char *)"SoVRMLGroup_initClass()"}, - { (char *)"new_SoVRMLGroup", _wrap_new_SoVRMLGroup, METH_VARARGS, (char *)"\n" - "SoVRMLGroup()\n" - "new_SoVRMLGroup(int numChildren) -> SoVRMLGroup\n" - ""}, - { (char *)"SoVRMLGroup_renderCaching_set", _wrap_SoVRMLGroup_renderCaching_set, METH_VARARGS, (char *)"SoVRMLGroup_renderCaching_set(SoVRMLGroup self, SoSFEnum renderCaching)"}, - { (char *)"SoVRMLGroup_renderCaching_get", _wrap_SoVRMLGroup_renderCaching_get, METH_VARARGS, (char *)"SoVRMLGroup_renderCaching_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_boundingBoxCaching_set", _wrap_SoVRMLGroup_boundingBoxCaching_set, METH_VARARGS, (char *)"SoVRMLGroup_boundingBoxCaching_set(SoVRMLGroup self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoVRMLGroup_boundingBoxCaching_get", _wrap_SoVRMLGroup_boundingBoxCaching_get, METH_VARARGS, (char *)"SoVRMLGroup_boundingBoxCaching_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_renderCulling_set", _wrap_SoVRMLGroup_renderCulling_set, METH_VARARGS, (char *)"SoVRMLGroup_renderCulling_set(SoVRMLGroup self, SoSFEnum renderCulling)"}, - { (char *)"SoVRMLGroup_renderCulling_get", _wrap_SoVRMLGroup_renderCulling_get, METH_VARARGS, (char *)"SoVRMLGroup_renderCulling_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_pickCulling_set", _wrap_SoVRMLGroup_pickCulling_set, METH_VARARGS, (char *)"SoVRMLGroup_pickCulling_set(SoVRMLGroup self, SoSFEnum pickCulling)"}, - { (char *)"SoVRMLGroup_pickCulling_get", _wrap_SoVRMLGroup_pickCulling_get, METH_VARARGS, (char *)"SoVRMLGroup_pickCulling_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_bboxCenter_set", _wrap_SoVRMLGroup_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLGroup_bboxCenter_set(SoVRMLGroup self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLGroup_bboxCenter_get", _wrap_SoVRMLGroup_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLGroup_bboxCenter_get(SoVRMLGroup self) -> SoSFVec3f"}, - { (char *)"SoVRMLGroup_bboxSize_set", _wrap_SoVRMLGroup_bboxSize_set, METH_VARARGS, (char *)"SoVRMLGroup_bboxSize_set(SoVRMLGroup self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLGroup_bboxSize_get", _wrap_SoVRMLGroup_bboxSize_get, METH_VARARGS, (char *)"SoVRMLGroup_bboxSize_get(SoVRMLGroup self) -> SoSFVec3f"}, - { (char *)"SoVRMLGroup_setNumRenderCaches", _wrap_SoVRMLGroup_setNumRenderCaches, METH_VARARGS, (char *)"SoVRMLGroup_setNumRenderCaches(int num)"}, - { (char *)"SoVRMLGroup_getNumRenderCaches", _wrap_SoVRMLGroup_getNumRenderCaches, METH_VARARGS, (char *)"SoVRMLGroup_getNumRenderCaches() -> int"}, - { (char *)"SoVRMLGroup_doAction", _wrap_SoVRMLGroup_doAction, METH_VARARGS, (char *)"SoVRMLGroup_doAction(SoVRMLGroup self, SoAction action)"}, - { (char *)"SoVRMLGroup_callback", _wrap_SoVRMLGroup_callback, METH_VARARGS, (char *)"SoVRMLGroup_callback(SoVRMLGroup self, SoCallbackAction action)"}, - { (char *)"SoVRMLGroup_GLRender", _wrap_SoVRMLGroup_GLRender, METH_VARARGS, (char *)"SoVRMLGroup_GLRender(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_getBoundingBox", _wrap_SoVRMLGroup_getBoundingBox, METH_VARARGS, (char *)"SoVRMLGroup_getBoundingBox(SoVRMLGroup self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLGroup_getMatrix", _wrap_SoVRMLGroup_getMatrix, METH_VARARGS, (char *)"SoVRMLGroup_getMatrix(SoVRMLGroup self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLGroup_rayPick", _wrap_SoVRMLGroup_rayPick, METH_VARARGS, (char *)"SoVRMLGroup_rayPick(SoVRMLGroup self, SoRayPickAction action)"}, - { (char *)"SoVRMLGroup_search", _wrap_SoVRMLGroup_search, METH_VARARGS, (char *)"SoVRMLGroup_search(SoVRMLGroup self, SoSearchAction action)"}, - { (char *)"SoVRMLGroup_write", _wrap_SoVRMLGroup_write, METH_VARARGS, (char *)"SoVRMLGroup_write(SoVRMLGroup self, SoWriteAction action)"}, - { (char *)"SoVRMLGroup_getPrimitiveCount", _wrap_SoVRMLGroup_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLGroup_getPrimitiveCount(SoVRMLGroup self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLGroup_audioRender", _wrap_SoVRMLGroup_audioRender, METH_VARARGS, (char *)"SoVRMLGroup_audioRender(SoVRMLGroup self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderBelowPath", _wrap_SoVRMLGroup_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderBelowPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderInPath", _wrap_SoVRMLGroup_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderInPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderOffPath", _wrap_SoVRMLGroup_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderOffPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_notify", _wrap_SoVRMLGroup_notify, METH_VARARGS, (char *)"SoVRMLGroup_notify(SoVRMLGroup self, SoNotList list)"}, - { (char *)"SoVRMLGroup_swigregister", SoVRMLGroup_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCollision_getClassTypeId", _wrap_SoVRMLCollision_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCollision_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCollision_getTypeId", _wrap_SoVRMLCollision_getTypeId, METH_VARARGS, (char *)"SoVRMLCollision_getTypeId(SoVRMLCollision self) -> SoType"}, - { (char *)"SoVRMLCollision_initClass", _wrap_SoVRMLCollision_initClass, METH_VARARGS, (char *)"SoVRMLCollision_initClass()"}, - { (char *)"new_SoVRMLCollision", _wrap_new_SoVRMLCollision, METH_VARARGS, (char *)"\n" - "SoVRMLCollision()\n" - "new_SoVRMLCollision(int numchildren) -> SoVRMLCollision\n" - ""}, - { (char *)"SoVRMLCollision_collide_set", _wrap_SoVRMLCollision_collide_set, METH_VARARGS, (char *)"SoVRMLCollision_collide_set(SoVRMLCollision self, SoSFBool collide)"}, - { (char *)"SoVRMLCollision_collide_get", _wrap_SoVRMLCollision_collide_get, METH_VARARGS, (char *)"SoVRMLCollision_collide_get(SoVRMLCollision self) -> SoSFBool"}, - { (char *)"SoVRMLCollision_proxy_set", _wrap_SoVRMLCollision_proxy_set, METH_VARARGS, (char *)"SoVRMLCollision_proxy_set(SoVRMLCollision self, SoSFNode proxy)"}, - { (char *)"SoVRMLCollision_proxy_get", _wrap_SoVRMLCollision_proxy_get, METH_VARARGS, (char *)"SoVRMLCollision_proxy_get(SoVRMLCollision self) -> SoSFNode"}, - { (char *)"SoVRMLCollision_collideTime_set", _wrap_SoVRMLCollision_collideTime_set, METH_VARARGS, (char *)"SoVRMLCollision_collideTime_set(SoVRMLCollision self, SoSFTime collideTime)"}, - { (char *)"SoVRMLCollision_collideTime_get", _wrap_SoVRMLCollision_collideTime_get, METH_VARARGS, (char *)"SoVRMLCollision_collideTime_get(SoVRMLCollision self) -> SoSFTime"}, - { (char *)"SoVRMLCollision_GLRender", _wrap_SoVRMLCollision_GLRender, METH_VARARGS, (char *)"SoVRMLCollision_GLRender(SoVRMLCollision self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCollision_notify", _wrap_SoVRMLCollision_notify, METH_VARARGS, (char *)"SoVRMLCollision_notify(SoVRMLCollision self, SoNotList list)"}, - { (char *)"SoVRMLCollision_swigregister", SoVRMLCollision_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLColor_getClassTypeId", _wrap_SoVRMLColor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLColor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLColor_getTypeId", _wrap_SoVRMLColor_getTypeId, METH_VARARGS, (char *)"SoVRMLColor_getTypeId(SoVRMLColor self) -> SoType"}, - { (char *)"SoVRMLColor_initClass", _wrap_SoVRMLColor_initClass, METH_VARARGS, (char *)"SoVRMLColor_initClass()"}, - { (char *)"new_SoVRMLColor", _wrap_new_SoVRMLColor, METH_VARARGS, (char *)"new_SoVRMLColor() -> SoVRMLColor"}, - { (char *)"SoVRMLColor_color_set", _wrap_SoVRMLColor_color_set, METH_VARARGS, (char *)"SoVRMLColor_color_set(SoVRMLColor self, SoMFColor color)"}, - { (char *)"SoVRMLColor_color_get", _wrap_SoVRMLColor_color_get, METH_VARARGS, (char *)"SoVRMLColor_color_get(SoVRMLColor self) -> SoMFColor"}, - { (char *)"SoVRMLColor_doAction", _wrap_SoVRMLColor_doAction, METH_VARARGS, (char *)"SoVRMLColor_doAction(SoVRMLColor self, SoAction action)"}, - { (char *)"SoVRMLColor_GLRender", _wrap_SoVRMLColor_GLRender, METH_VARARGS, (char *)"SoVRMLColor_GLRender(SoVRMLColor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLColor_callback", _wrap_SoVRMLColor_callback, METH_VARARGS, (char *)"SoVRMLColor_callback(SoVRMLColor self, SoCallbackAction action)"}, - { (char *)"SoVRMLColor_swigregister", SoVRMLColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLInterpolator_getClassTypeId", _wrap_SoVRMLInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLInterpolator_getTypeId", _wrap_SoVRMLInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLInterpolator_getTypeId(SoVRMLInterpolator self) -> SoType"}, - { (char *)"SoVRMLInterpolator_getOutputData", _wrap_SoVRMLInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLInterpolator_getOutputData(SoVRMLInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLInterpolator_key_set", _wrap_SoVRMLInterpolator_key_set, METH_VARARGS, (char *)"SoVRMLInterpolator_key_set(SoVRMLInterpolator self, SoMFFloat key)"}, - { (char *)"SoVRMLInterpolator_key_get", _wrap_SoVRMLInterpolator_key_get, METH_VARARGS, (char *)"SoVRMLInterpolator_key_get(SoVRMLInterpolator self) -> SoMFFloat"}, - { (char *)"SoVRMLInterpolator_set_fraction_set", _wrap_SoVRMLInterpolator_set_fraction_set, METH_VARARGS, (char *)"SoVRMLInterpolator_set_fraction_set(SoVRMLInterpolator self, SoSFFloat set_fraction)"}, - { (char *)"SoVRMLInterpolator_set_fraction_get", _wrap_SoVRMLInterpolator_set_fraction_get, METH_VARARGS, (char *)"SoVRMLInterpolator_set_fraction_get(SoVRMLInterpolator self) -> SoSFFloat"}, - { (char *)"SoVRMLInterpolator_initClass", _wrap_SoVRMLInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLInterpolator_initClass()"}, - { (char *)"SoVRMLInterpolator_swigregister", SoVRMLInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLColorInterpolator_getClassTypeId", _wrap_SoVRMLColorInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLColorInterpolator_getTypeId", _wrap_SoVRMLColorInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getTypeId(SoVRMLColorInterpolator self) -> SoType"}, - { (char *)"SoVRMLColorInterpolator_getOutputData", _wrap_SoVRMLColorInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getOutputData(SoVRMLColorInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLColorInterpolator_createInstance", _wrap_SoVRMLColorInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLColorInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLColorInterpolator_initClass", _wrap_SoVRMLColorInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLColorInterpolator_initClass()"}, - { (char *)"new_SoVRMLColorInterpolator", _wrap_new_SoVRMLColorInterpolator, METH_VARARGS, (char *)"new_SoVRMLColorInterpolator() -> SoVRMLColorInterpolator"}, - { (char *)"SoVRMLColorInterpolator_keyValue_set", _wrap_SoVRMLColorInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLColorInterpolator_keyValue_set(SoVRMLColorInterpolator self, SoMFColor keyValue)"}, - { (char *)"SoVRMLColorInterpolator_keyValue_get", _wrap_SoVRMLColorInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLColorInterpolator_keyValue_get(SoVRMLColorInterpolator self) -> SoMFColor"}, - { (char *)"SoVRMLColorInterpolator_value_changed_set", _wrap_SoVRMLColorInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLColorInterpolator_value_changed_set(SoVRMLColorInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLColorInterpolator_value_changed_get", _wrap_SoVRMLColorInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLColorInterpolator_value_changed_get(SoVRMLColorInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLColorInterpolator_swigregister", SoVRMLColorInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCone_getClassTypeId", _wrap_SoVRMLCone_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCone_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCone_getTypeId", _wrap_SoVRMLCone_getTypeId, METH_VARARGS, (char *)"SoVRMLCone_getTypeId(SoVRMLCone self) -> SoType"}, - { (char *)"SoVRMLCone_initClass", _wrap_SoVRMLCone_initClass, METH_VARARGS, (char *)"SoVRMLCone_initClass()"}, - { (char *)"new_SoVRMLCone", _wrap_new_SoVRMLCone, METH_VARARGS, (char *)"new_SoVRMLCone() -> SoVRMLCone"}, - { (char *)"SoVRMLCone_bottomRadius_set", _wrap_SoVRMLCone_bottomRadius_set, METH_VARARGS, (char *)"SoVRMLCone_bottomRadius_set(SoVRMLCone self, SoSFFloat bottomRadius)"}, - { (char *)"SoVRMLCone_bottomRadius_get", _wrap_SoVRMLCone_bottomRadius_get, METH_VARARGS, (char *)"SoVRMLCone_bottomRadius_get(SoVRMLCone self) -> SoSFFloat"}, - { (char *)"SoVRMLCone_height_set", _wrap_SoVRMLCone_height_set, METH_VARARGS, (char *)"SoVRMLCone_height_set(SoVRMLCone self, SoSFFloat height)"}, - { (char *)"SoVRMLCone_height_get", _wrap_SoVRMLCone_height_get, METH_VARARGS, (char *)"SoVRMLCone_height_get(SoVRMLCone self) -> SoSFFloat"}, - { (char *)"SoVRMLCone_side_set", _wrap_SoVRMLCone_side_set, METH_VARARGS, (char *)"SoVRMLCone_side_set(SoVRMLCone self, SoSFBool side)"}, - { (char *)"SoVRMLCone_side_get", _wrap_SoVRMLCone_side_get, METH_VARARGS, (char *)"SoVRMLCone_side_get(SoVRMLCone self) -> SoSFBool"}, - { (char *)"SoVRMLCone_bottom_set", _wrap_SoVRMLCone_bottom_set, METH_VARARGS, (char *)"SoVRMLCone_bottom_set(SoVRMLCone self, SoSFBool bottom)"}, - { (char *)"SoVRMLCone_bottom_get", _wrap_SoVRMLCone_bottom_get, METH_VARARGS, (char *)"SoVRMLCone_bottom_get(SoVRMLCone self) -> SoSFBool"}, - { (char *)"SoVRMLCone_GLRender", _wrap_SoVRMLCone_GLRender, METH_VARARGS, (char *)"SoVRMLCone_GLRender(SoVRMLCone self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCone_rayPick", _wrap_SoVRMLCone_rayPick, METH_VARARGS, (char *)"SoVRMLCone_rayPick(SoVRMLCone self, SoRayPickAction action)"}, - { (char *)"SoVRMLCone_getPrimitiveCount", _wrap_SoVRMLCone_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLCone_getPrimitiveCount(SoVRMLCone self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLCone_swigregister", SoVRMLCone_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCoordinate_getClassTypeId", _wrap_SoVRMLCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCoordinate_getTypeId", _wrap_SoVRMLCoordinate_getTypeId, METH_VARARGS, (char *)"SoVRMLCoordinate_getTypeId(SoVRMLCoordinate self) -> SoType"}, - { (char *)"SoVRMLCoordinate_initClass", _wrap_SoVRMLCoordinate_initClass, METH_VARARGS, (char *)"SoVRMLCoordinate_initClass()"}, - { (char *)"new_SoVRMLCoordinate", _wrap_new_SoVRMLCoordinate, METH_VARARGS, (char *)"new_SoVRMLCoordinate() -> SoVRMLCoordinate"}, - { (char *)"SoVRMLCoordinate_point_set", _wrap_SoVRMLCoordinate_point_set, METH_VARARGS, (char *)"SoVRMLCoordinate_point_set(SoVRMLCoordinate self, SoMFVec3f point)"}, - { (char *)"SoVRMLCoordinate_point_get", _wrap_SoVRMLCoordinate_point_get, METH_VARARGS, (char *)"SoVRMLCoordinate_point_get(SoVRMLCoordinate self) -> SoMFVec3f"}, - { (char *)"SoVRMLCoordinate_doAction", _wrap_SoVRMLCoordinate_doAction, METH_VARARGS, (char *)"SoVRMLCoordinate_doAction(SoVRMLCoordinate self, SoAction action)"}, - { (char *)"SoVRMLCoordinate_GLRender", _wrap_SoVRMLCoordinate_GLRender, METH_VARARGS, (char *)"SoVRMLCoordinate_GLRender(SoVRMLCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCoordinate_getBoundingBox", _wrap_SoVRMLCoordinate_getBoundingBox, METH_VARARGS, (char *)"SoVRMLCoordinate_getBoundingBox(SoVRMLCoordinate self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLCoordinate_callback", _wrap_SoVRMLCoordinate_callback, METH_VARARGS, (char *)"SoVRMLCoordinate_callback(SoVRMLCoordinate self, SoCallbackAction action)"}, - { (char *)"SoVRMLCoordinate_pick", _wrap_SoVRMLCoordinate_pick, METH_VARARGS, (char *)"SoVRMLCoordinate_pick(SoVRMLCoordinate self, SoPickAction action)"}, - { (char *)"SoVRMLCoordinate_swigregister", SoVRMLCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCoordinateInterpolator_getClassTypeId", _wrap_SoVRMLCoordinateInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCoordinateInterpolator_getTypeId", _wrap_SoVRMLCoordinateInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getTypeId(SoVRMLCoordinateInterpolator self) -> SoType"}, - { (char *)"SoVRMLCoordinateInterpolator_getOutputData", _wrap_SoVRMLCoordinateInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getOutputData(SoVRMLCoordinateInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLCoordinateInterpolator_createInstance", _wrap_SoVRMLCoordinateInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLCoordinateInterpolator_initClass", _wrap_SoVRMLCoordinateInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_initClass()"}, - { (char *)"new_SoVRMLCoordinateInterpolator", _wrap_new_SoVRMLCoordinateInterpolator, METH_VARARGS, (char *)"new_SoVRMLCoordinateInterpolator() -> SoVRMLCoordinateInterpolator"}, - { (char *)"SoVRMLCoordinateInterpolator_keyValue_set", _wrap_SoVRMLCoordinateInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_keyValue_set(SoVRMLCoordinateInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLCoordinateInterpolator_keyValue_get", _wrap_SoVRMLCoordinateInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_keyValue_get(SoVRMLCoordinateInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLCoordinateInterpolator_value_changed_set", _wrap_SoVRMLCoordinateInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_value_changed_set(SoVRMLCoordinateInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLCoordinateInterpolator_value_changed_get", _wrap_SoVRMLCoordinateInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_value_changed_get(SoVRMLCoordinateInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLCoordinateInterpolator_swigregister", SoVRMLCoordinateInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCylinder_getClassTypeId", _wrap_SoVRMLCylinder_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCylinder_getTypeId", _wrap_SoVRMLCylinder_getTypeId, METH_VARARGS, (char *)"SoVRMLCylinder_getTypeId(SoVRMLCylinder self) -> SoType"}, - { (char *)"SoVRMLCylinder_initClass", _wrap_SoVRMLCylinder_initClass, METH_VARARGS, (char *)"SoVRMLCylinder_initClass()"}, - { (char *)"new_SoVRMLCylinder", _wrap_new_SoVRMLCylinder, METH_VARARGS, (char *)"new_SoVRMLCylinder() -> SoVRMLCylinder"}, - { (char *)"SoVRMLCylinder_radius_set", _wrap_SoVRMLCylinder_radius_set, METH_VARARGS, (char *)"SoVRMLCylinder_radius_set(SoVRMLCylinder self, SoSFFloat radius)"}, - { (char *)"SoVRMLCylinder_radius_get", _wrap_SoVRMLCylinder_radius_get, METH_VARARGS, (char *)"SoVRMLCylinder_radius_get(SoVRMLCylinder self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinder_height_set", _wrap_SoVRMLCylinder_height_set, METH_VARARGS, (char *)"SoVRMLCylinder_height_set(SoVRMLCylinder self, SoSFFloat height)"}, - { (char *)"SoVRMLCylinder_height_get", _wrap_SoVRMLCylinder_height_get, METH_VARARGS, (char *)"SoVRMLCylinder_height_get(SoVRMLCylinder self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinder_side_set", _wrap_SoVRMLCylinder_side_set, METH_VARARGS, (char *)"SoVRMLCylinder_side_set(SoVRMLCylinder self, SoSFBool side)"}, - { (char *)"SoVRMLCylinder_side_get", _wrap_SoVRMLCylinder_side_get, METH_VARARGS, (char *)"SoVRMLCylinder_side_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_top_set", _wrap_SoVRMLCylinder_top_set, METH_VARARGS, (char *)"SoVRMLCylinder_top_set(SoVRMLCylinder self, SoSFBool top)"}, - { (char *)"SoVRMLCylinder_top_get", _wrap_SoVRMLCylinder_top_get, METH_VARARGS, (char *)"SoVRMLCylinder_top_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_bottom_set", _wrap_SoVRMLCylinder_bottom_set, METH_VARARGS, (char *)"SoVRMLCylinder_bottom_set(SoVRMLCylinder self, SoSFBool bottom)"}, - { (char *)"SoVRMLCylinder_bottom_get", _wrap_SoVRMLCylinder_bottom_get, METH_VARARGS, (char *)"SoVRMLCylinder_bottom_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_GLRender", _wrap_SoVRMLCylinder_GLRender, METH_VARARGS, (char *)"SoVRMLCylinder_GLRender(SoVRMLCylinder self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCylinder_rayPick", _wrap_SoVRMLCylinder_rayPick, METH_VARARGS, (char *)"SoVRMLCylinder_rayPick(SoVRMLCylinder self, SoRayPickAction action)"}, - { (char *)"SoVRMLCylinder_getPrimitiveCount", _wrap_SoVRMLCylinder_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLCylinder_getPrimitiveCount(SoVRMLCylinder self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLCylinder_swigregister", SoVRMLCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSensor_getClassTypeId", _wrap_SoVRMLSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSensor_getTypeId", _wrap_SoVRMLSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLSensor_getTypeId(SoVRMLSensor self) -> SoType"}, - { (char *)"SoVRMLSensor_isActive_set", _wrap_SoVRMLSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLSensor_isActive_set(SoVRMLSensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLSensor_isActive_get", _wrap_SoVRMLSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLSensor_isActive_get(SoVRMLSensor self) -> SoSFBool"}, - { (char *)"SoVRMLSensor_enabled_set", _wrap_SoVRMLSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLSensor_enabled_set(SoVRMLSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLSensor_enabled_get", _wrap_SoVRMLSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLSensor_enabled_get(SoVRMLSensor self) -> SoSFBool"}, - { (char *)"SoVRMLSensor_initClass", _wrap_SoVRMLSensor_initClass, METH_VARARGS, (char *)"SoVRMLSensor_initClass()"}, - { (char *)"SoVRMLSensor_swigregister", SoVRMLSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLDragSensor_getClassTypeId", _wrap_SoVRMLDragSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLDragSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLDragSensor_getTypeId", _wrap_SoVRMLDragSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLDragSensor_getTypeId(SoVRMLDragSensor self) -> SoType"}, - { (char *)"SoVRMLDragSensor_trackPoint_changed_set", _wrap_SoVRMLDragSensor_trackPoint_changed_set, METH_VARARGS, (char *)"SoVRMLDragSensor_trackPoint_changed_set(SoVRMLDragSensor self, SoSFVec3f trackPoint_changed)"}, - { (char *)"SoVRMLDragSensor_trackPoint_changed_get", _wrap_SoVRMLDragSensor_trackPoint_changed_get, METH_VARARGS, (char *)"SoVRMLDragSensor_trackPoint_changed_get(SoVRMLDragSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLDragSensor_autoOffset_set", _wrap_SoVRMLDragSensor_autoOffset_set, METH_VARARGS, (char *)"SoVRMLDragSensor_autoOffset_set(SoVRMLDragSensor self, SoSFBool autoOffset)"}, - { (char *)"SoVRMLDragSensor_autoOffset_get", _wrap_SoVRMLDragSensor_autoOffset_get, METH_VARARGS, (char *)"SoVRMLDragSensor_autoOffset_get(SoVRMLDragSensor self) -> SoSFBool"}, - { (char *)"SoVRMLDragSensor_handleEvent", _wrap_SoVRMLDragSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLDragSensor_handleEvent(SoVRMLDragSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLDragSensor_initClass", _wrap_SoVRMLDragSensor_initClass, METH_VARARGS, (char *)"SoVRMLDragSensor_initClass()"}, - { (char *)"SoVRMLDragSensor_swigregister", SoVRMLDragSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCylinderSensor_getClassTypeId", _wrap_SoVRMLCylinderSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCylinderSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCylinderSensor_getTypeId", _wrap_SoVRMLCylinderSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLCylinderSensor_getTypeId(SoVRMLCylinderSensor self) -> SoType"}, - { (char *)"SoVRMLCylinderSensor_initClass", _wrap_SoVRMLCylinderSensor_initClass, METH_VARARGS, (char *)"SoVRMLCylinderSensor_initClass()"}, - { (char *)"new_SoVRMLCylinderSensor", _wrap_new_SoVRMLCylinderSensor, METH_VARARGS, (char *)"new_SoVRMLCylinderSensor() -> SoVRMLCylinderSensor"}, - { (char *)"SoVRMLCylinderSensor_diskAngle_set", _wrap_SoVRMLCylinderSensor_diskAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_diskAngle_set(SoVRMLCylinderSensor self, SoSFFloat diskAngle)"}, - { (char *)"SoVRMLCylinderSensor_diskAngle_get", _wrap_SoVRMLCylinderSensor_diskAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_diskAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_maxAngle_set", _wrap_SoVRMLCylinderSensor_maxAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_maxAngle_set(SoVRMLCylinderSensor self, SoSFFloat maxAngle)"}, - { (char *)"SoVRMLCylinderSensor_maxAngle_get", _wrap_SoVRMLCylinderSensor_maxAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_maxAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_minAngle_set", _wrap_SoVRMLCylinderSensor_minAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_minAngle_set(SoVRMLCylinderSensor self, SoSFFloat minAngle)"}, - { (char *)"SoVRMLCylinderSensor_minAngle_get", _wrap_SoVRMLCylinderSensor_minAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_minAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_offset_set", _wrap_SoVRMLCylinderSensor_offset_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_offset_set(SoVRMLCylinderSensor self, SoSFFloat offset)"}, - { (char *)"SoVRMLCylinderSensor_offset_get", _wrap_SoVRMLCylinderSensor_offset_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_offset_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_rotation_changed_set", _wrap_SoVRMLCylinderSensor_rotation_changed_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_rotation_changed_set(SoVRMLCylinderSensor self, SoSFRotation rotation_changed)"}, - { (char *)"SoVRMLCylinderSensor_rotation_changed_get", _wrap_SoVRMLCylinderSensor_rotation_changed_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_rotation_changed_get(SoVRMLCylinderSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLCylinderSensor_swigregister", SoVRMLCylinderSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLLight_getClassTypeId", _wrap_SoVRMLLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLLight_getTypeId", _wrap_SoVRMLLight_getTypeId, METH_VARARGS, (char *)"SoVRMLLight_getTypeId(SoVRMLLight self) -> SoType"}, - { (char *)"SoVRMLLight_initClass", _wrap_SoVRMLLight_initClass, METH_VARARGS, (char *)"SoVRMLLight_initClass()"}, - { (char *)"SoVRMLLight_on_set", _wrap_SoVRMLLight_on_set, METH_VARARGS, (char *)"SoVRMLLight_on_set(SoVRMLLight self, SoSFBool on)"}, - { (char *)"SoVRMLLight_on_get", _wrap_SoVRMLLight_on_get, METH_VARARGS, (char *)"SoVRMLLight_on_get(SoVRMLLight self) -> SoSFBool"}, - { (char *)"SoVRMLLight_intensity_set", _wrap_SoVRMLLight_intensity_set, METH_VARARGS, (char *)"SoVRMLLight_intensity_set(SoVRMLLight self, SoSFFloat intensity)"}, - { (char *)"SoVRMLLight_intensity_get", _wrap_SoVRMLLight_intensity_get, METH_VARARGS, (char *)"SoVRMLLight_intensity_get(SoVRMLLight self) -> SoSFFloat"}, - { (char *)"SoVRMLLight_color_set", _wrap_SoVRMLLight_color_set, METH_VARARGS, (char *)"SoVRMLLight_color_set(SoVRMLLight self, SoSFColor color)"}, - { (char *)"SoVRMLLight_color_get", _wrap_SoVRMLLight_color_get, METH_VARARGS, (char *)"SoVRMLLight_color_get(SoVRMLLight self) -> SoSFColor"}, - { (char *)"SoVRMLLight_ambientIntensity_set", _wrap_SoVRMLLight_ambientIntensity_set, METH_VARARGS, (char *)"SoVRMLLight_ambientIntensity_set(SoVRMLLight self, SoSFFloat ambientIntensity)"}, - { (char *)"SoVRMLLight_ambientIntensity_get", _wrap_SoVRMLLight_ambientIntensity_get, METH_VARARGS, (char *)"SoVRMLLight_ambientIntensity_get(SoVRMLLight self) -> SoSFFloat"}, - { (char *)"SoVRMLLight_GLRender", _wrap_SoVRMLLight_GLRender, METH_VARARGS, (char *)"SoVRMLLight_GLRender(SoVRMLLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLight_swigregister", SoVRMLLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLDirectionalLight_getClassTypeId", _wrap_SoVRMLDirectionalLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLDirectionalLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLDirectionalLight_getTypeId", _wrap_SoVRMLDirectionalLight_getTypeId, METH_VARARGS, (char *)"SoVRMLDirectionalLight_getTypeId(SoVRMLDirectionalLight self) -> SoType"}, - { (char *)"SoVRMLDirectionalLight_initClass", _wrap_SoVRMLDirectionalLight_initClass, METH_VARARGS, (char *)"SoVRMLDirectionalLight_initClass()"}, - { (char *)"new_SoVRMLDirectionalLight", _wrap_new_SoVRMLDirectionalLight, METH_VARARGS, (char *)"new_SoVRMLDirectionalLight() -> SoVRMLDirectionalLight"}, - { (char *)"SoVRMLDirectionalLight_direction_set", _wrap_SoVRMLDirectionalLight_direction_set, METH_VARARGS, (char *)"SoVRMLDirectionalLight_direction_set(SoVRMLDirectionalLight self, SoSFVec3f direction)"}, - { (char *)"SoVRMLDirectionalLight_direction_get", _wrap_SoVRMLDirectionalLight_direction_get, METH_VARARGS, (char *)"SoVRMLDirectionalLight_direction_get(SoVRMLDirectionalLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLDirectionalLight_GLRender", _wrap_SoVRMLDirectionalLight_GLRender, METH_VARARGS, (char *)"SoVRMLDirectionalLight_GLRender(SoVRMLDirectionalLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLDirectionalLight_swigregister", SoVRMLDirectionalLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLElevationGrid_getClassTypeId", _wrap_SoVRMLElevationGrid_getClassTypeId, METH_VARARGS, (char *)"SoVRMLElevationGrid_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLElevationGrid_getTypeId", _wrap_SoVRMLElevationGrid_getTypeId, METH_VARARGS, (char *)"SoVRMLElevationGrid_getTypeId(SoVRMLElevationGrid self) -> SoType"}, - { (char *)"SoVRMLElevationGrid_initClass", _wrap_SoVRMLElevationGrid_initClass, METH_VARARGS, (char *)"SoVRMLElevationGrid_initClass()"}, - { (char *)"new_SoVRMLElevationGrid", _wrap_new_SoVRMLElevationGrid, METH_VARARGS, (char *)"new_SoVRMLElevationGrid() -> SoVRMLElevationGrid"}, - { (char *)"SoVRMLElevationGrid_ccw_set", _wrap_SoVRMLElevationGrid_ccw_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_ccw_set(SoVRMLElevationGrid self, SoSFBool ccw)"}, - { (char *)"SoVRMLElevationGrid_ccw_get", _wrap_SoVRMLElevationGrid_ccw_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_ccw_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_solid_set", _wrap_SoVRMLElevationGrid_solid_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_solid_set(SoVRMLElevationGrid self, SoSFBool solid)"}, - { (char *)"SoVRMLElevationGrid_solid_get", _wrap_SoVRMLElevationGrid_solid_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_solid_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_creaseAngle_set", _wrap_SoVRMLElevationGrid_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_creaseAngle_set(SoVRMLElevationGrid self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLElevationGrid_creaseAngle_get", _wrap_SoVRMLElevationGrid_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_creaseAngle_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_zDimension_set", _wrap_SoVRMLElevationGrid_zDimension_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_zDimension_set(SoVRMLElevationGrid self, SoSFInt32 zDimension)"}, - { (char *)"SoVRMLElevationGrid_zDimension_get", _wrap_SoVRMLElevationGrid_zDimension_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_zDimension_get(SoVRMLElevationGrid self) -> SoSFInt32"}, - { (char *)"SoVRMLElevationGrid_xDimension_set", _wrap_SoVRMLElevationGrid_xDimension_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_xDimension_set(SoVRMLElevationGrid self, SoSFInt32 xDimension)"}, - { (char *)"SoVRMLElevationGrid_xDimension_get", _wrap_SoVRMLElevationGrid_xDimension_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_xDimension_get(SoVRMLElevationGrid self) -> SoSFInt32"}, - { (char *)"SoVRMLElevationGrid_zSpacing_set", _wrap_SoVRMLElevationGrid_zSpacing_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_zSpacing_set(SoVRMLElevationGrid self, SoSFFloat zSpacing)"}, - { (char *)"SoVRMLElevationGrid_zSpacing_get", _wrap_SoVRMLElevationGrid_zSpacing_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_zSpacing_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_xSpacing_set", _wrap_SoVRMLElevationGrid_xSpacing_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_xSpacing_set(SoVRMLElevationGrid self, SoSFFloat xSpacing)"}, - { (char *)"SoVRMLElevationGrid_xSpacing_get", _wrap_SoVRMLElevationGrid_xSpacing_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_xSpacing_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_height_set", _wrap_SoVRMLElevationGrid_height_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_height_set(SoVRMLElevationGrid self, SoMFFloat height)"}, - { (char *)"SoVRMLElevationGrid_height_get", _wrap_SoVRMLElevationGrid_height_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_height_get(SoVRMLElevationGrid self) -> SoMFFloat"}, - { (char *)"SoVRMLElevationGrid_texCoord_set", _wrap_SoVRMLElevationGrid_texCoord_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_texCoord_set(SoVRMLElevationGrid self, SoSFNode texCoord)"}, - { (char *)"SoVRMLElevationGrid_texCoord_get", _wrap_SoVRMLElevationGrid_texCoord_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_texCoord_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_normal_set", _wrap_SoVRMLElevationGrid_normal_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_normal_set(SoVRMLElevationGrid self, SoSFNode normal)"}, - { (char *)"SoVRMLElevationGrid_normal_get", _wrap_SoVRMLElevationGrid_normal_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_normal_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_color_set", _wrap_SoVRMLElevationGrid_color_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_color_set(SoVRMLElevationGrid self, SoSFNode color)"}, - { (char *)"SoVRMLElevationGrid_color_get", _wrap_SoVRMLElevationGrid_color_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_color_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_colorPerVertex_set", _wrap_SoVRMLElevationGrid_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_colorPerVertex_set(SoVRMLElevationGrid self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLElevationGrid_colorPerVertex_get", _wrap_SoVRMLElevationGrid_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_colorPerVertex_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_normalPerVertex_set", _wrap_SoVRMLElevationGrid_normalPerVertex_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_normalPerVertex_set(SoVRMLElevationGrid self, SoSFBool normalPerVertex)"}, - { (char *)"SoVRMLElevationGrid_normalPerVertex_get", _wrap_SoVRMLElevationGrid_normalPerVertex_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_normalPerVertex_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_GLRender", _wrap_SoVRMLElevationGrid_GLRender, METH_VARARGS, (char *)"SoVRMLElevationGrid_GLRender(SoVRMLElevationGrid self, SoGLRenderAction action)"}, - { (char *)"SoVRMLElevationGrid_rayPick", _wrap_SoVRMLElevationGrid_rayPick, METH_VARARGS, (char *)"SoVRMLElevationGrid_rayPick(SoVRMLElevationGrid self, SoRayPickAction action)"}, - { (char *)"SoVRMLElevationGrid_getPrimitiveCount", _wrap_SoVRMLElevationGrid_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLElevationGrid_getPrimitiveCount(SoVRMLElevationGrid self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLElevationGrid_swigregister", SoVRMLElevationGrid_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLExtrusion_getClassTypeId", _wrap_SoVRMLExtrusion_getClassTypeId, METH_VARARGS, (char *)"SoVRMLExtrusion_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLExtrusion_getTypeId", _wrap_SoVRMLExtrusion_getTypeId, METH_VARARGS, (char *)"SoVRMLExtrusion_getTypeId(SoVRMLExtrusion self) -> SoType"}, - { (char *)"SoVRMLExtrusion_initClass", _wrap_SoVRMLExtrusion_initClass, METH_VARARGS, (char *)"SoVRMLExtrusion_initClass()"}, - { (char *)"new_SoVRMLExtrusion", _wrap_new_SoVRMLExtrusion, METH_VARARGS, (char *)"new_SoVRMLExtrusion() -> SoVRMLExtrusion"}, - { (char *)"SoVRMLExtrusion_beginCap_set", _wrap_SoVRMLExtrusion_beginCap_set, METH_VARARGS, (char *)"SoVRMLExtrusion_beginCap_set(SoVRMLExtrusion self, SoSFBool beginCap)"}, - { (char *)"SoVRMLExtrusion_beginCap_get", _wrap_SoVRMLExtrusion_beginCap_get, METH_VARARGS, (char *)"SoVRMLExtrusion_beginCap_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_ccw_set", _wrap_SoVRMLExtrusion_ccw_set, METH_VARARGS, (char *)"SoVRMLExtrusion_ccw_set(SoVRMLExtrusion self, SoSFBool ccw)"}, - { (char *)"SoVRMLExtrusion_ccw_get", _wrap_SoVRMLExtrusion_ccw_get, METH_VARARGS, (char *)"SoVRMLExtrusion_ccw_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_convex_set", _wrap_SoVRMLExtrusion_convex_set, METH_VARARGS, (char *)"SoVRMLExtrusion_convex_set(SoVRMLExtrusion self, SoSFBool convex)"}, - { (char *)"SoVRMLExtrusion_convex_get", _wrap_SoVRMLExtrusion_convex_get, METH_VARARGS, (char *)"SoVRMLExtrusion_convex_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_creaseAngle_set", _wrap_SoVRMLExtrusion_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLExtrusion_creaseAngle_set(SoVRMLExtrusion self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLExtrusion_creaseAngle_get", _wrap_SoVRMLExtrusion_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLExtrusion_creaseAngle_get(SoVRMLExtrusion self) -> SoSFFloat"}, - { (char *)"SoVRMLExtrusion_crossSection_set", _wrap_SoVRMLExtrusion_crossSection_set, METH_VARARGS, (char *)"SoVRMLExtrusion_crossSection_set(SoVRMLExtrusion self, SoMFVec2f crossSection)"}, - { (char *)"SoVRMLExtrusion_crossSection_get", _wrap_SoVRMLExtrusion_crossSection_get, METH_VARARGS, (char *)"SoVRMLExtrusion_crossSection_get(SoVRMLExtrusion self) -> SoMFVec2f"}, - { (char *)"SoVRMLExtrusion_endCap_set", _wrap_SoVRMLExtrusion_endCap_set, METH_VARARGS, (char *)"SoVRMLExtrusion_endCap_set(SoVRMLExtrusion self, SoSFBool endCap)"}, - { (char *)"SoVRMLExtrusion_endCap_get", _wrap_SoVRMLExtrusion_endCap_get, METH_VARARGS, (char *)"SoVRMLExtrusion_endCap_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_orientation_set", _wrap_SoVRMLExtrusion_orientation_set, METH_VARARGS, (char *)"SoVRMLExtrusion_orientation_set(SoVRMLExtrusion self, SoMFRotation orientation)"}, - { (char *)"SoVRMLExtrusion_orientation_get", _wrap_SoVRMLExtrusion_orientation_get, METH_VARARGS, (char *)"SoVRMLExtrusion_orientation_get(SoVRMLExtrusion self) -> SoMFRotation"}, - { (char *)"SoVRMLExtrusion_scale_set", _wrap_SoVRMLExtrusion_scale_set, METH_VARARGS, (char *)"SoVRMLExtrusion_scale_set(SoVRMLExtrusion self, SoMFVec2f scale)"}, - { (char *)"SoVRMLExtrusion_scale_get", _wrap_SoVRMLExtrusion_scale_get, METH_VARARGS, (char *)"SoVRMLExtrusion_scale_get(SoVRMLExtrusion self) -> SoMFVec2f"}, - { (char *)"SoVRMLExtrusion_solid_set", _wrap_SoVRMLExtrusion_solid_set, METH_VARARGS, (char *)"SoVRMLExtrusion_solid_set(SoVRMLExtrusion self, SoSFBool solid)"}, - { (char *)"SoVRMLExtrusion_solid_get", _wrap_SoVRMLExtrusion_solid_get, METH_VARARGS, (char *)"SoVRMLExtrusion_solid_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_spine_set", _wrap_SoVRMLExtrusion_spine_set, METH_VARARGS, (char *)"SoVRMLExtrusion_spine_set(SoVRMLExtrusion self, SoMFVec3f spine)"}, - { (char *)"SoVRMLExtrusion_spine_get", _wrap_SoVRMLExtrusion_spine_get, METH_VARARGS, (char *)"SoVRMLExtrusion_spine_get(SoVRMLExtrusion self) -> SoMFVec3f"}, - { (char *)"SoVRMLExtrusion_GLRender", _wrap_SoVRMLExtrusion_GLRender, METH_VARARGS, (char *)"SoVRMLExtrusion_GLRender(SoVRMLExtrusion self, SoGLRenderAction action)"}, - { (char *)"SoVRMLExtrusion_getPrimitiveCount", _wrap_SoVRMLExtrusion_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLExtrusion_getPrimitiveCount(SoVRMLExtrusion self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLExtrusion_computeBBox", _wrap_SoVRMLExtrusion_computeBBox, METH_VARARGS, (char *)"\n" - "SoVRMLExtrusion_computeBBox(SoVRMLExtrusion self, SoAction action, SbBox3f bbox, \n" - " SbVec3f center)\n" - ""}, - { (char *)"SoVRMLExtrusion_swigregister", SoVRMLExtrusion_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLFog_getClassTypeId", _wrap_SoVRMLFog_getClassTypeId, METH_VARARGS, (char *)"SoVRMLFog_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLFog_getTypeId", _wrap_SoVRMLFog_getTypeId, METH_VARARGS, (char *)"SoVRMLFog_getTypeId(SoVRMLFog self) -> SoType"}, - { (char *)"SoVRMLFog_initClass", _wrap_SoVRMLFog_initClass, METH_VARARGS, (char *)"SoVRMLFog_initClass()"}, - { (char *)"new_SoVRMLFog", _wrap_new_SoVRMLFog, METH_VARARGS, (char *)"new_SoVRMLFog() -> SoVRMLFog"}, - { (char *)"SoVRMLFog_fogType_set", _wrap_SoVRMLFog_fogType_set, METH_VARARGS, (char *)"SoVRMLFog_fogType_set(SoVRMLFog self, SoSFString fogType)"}, - { (char *)"SoVRMLFog_fogType_get", _wrap_SoVRMLFog_fogType_get, METH_VARARGS, (char *)"SoVRMLFog_fogType_get(SoVRMLFog self) -> SoSFString"}, - { (char *)"SoVRMLFog_visibilityRange_set", _wrap_SoVRMLFog_visibilityRange_set, METH_VARARGS, (char *)"SoVRMLFog_visibilityRange_set(SoVRMLFog self, SoSFFloat visibilityRange)"}, - { (char *)"SoVRMLFog_visibilityRange_get", _wrap_SoVRMLFog_visibilityRange_get, METH_VARARGS, (char *)"SoVRMLFog_visibilityRange_get(SoVRMLFog self) -> SoSFFloat"}, - { (char *)"SoVRMLFog_color_set", _wrap_SoVRMLFog_color_set, METH_VARARGS, (char *)"SoVRMLFog_color_set(SoVRMLFog self, SoSFColor color)"}, - { (char *)"SoVRMLFog_color_get", _wrap_SoVRMLFog_color_get, METH_VARARGS, (char *)"SoVRMLFog_color_get(SoVRMLFog self) -> SoSFColor"}, - { (char *)"SoVRMLFog_GLRender", _wrap_SoVRMLFog_GLRender, METH_VARARGS, (char *)"SoVRMLFog_GLRender(SoVRMLFog self, SoGLRenderAction action)"}, - { (char *)"SoVRMLFog_swigregister", SoVRMLFog_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLFontStyle_getClassTypeId", _wrap_SoVRMLFontStyle_getClassTypeId, METH_VARARGS, (char *)"SoVRMLFontStyle_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLFontStyle_getTypeId", _wrap_SoVRMLFontStyle_getTypeId, METH_VARARGS, (char *)"SoVRMLFontStyle_getTypeId(SoVRMLFontStyle self) -> SoType"}, - { (char *)"SoVRMLFontStyle_initClass", _wrap_SoVRMLFontStyle_initClass, METH_VARARGS, (char *)"SoVRMLFontStyle_initClass()"}, - { (char *)"new_SoVRMLFontStyle", _wrap_new_SoVRMLFontStyle, METH_VARARGS, (char *)"new_SoVRMLFontStyle() -> SoVRMLFontStyle"}, - { (char *)"SoVRMLFontStyle_size_set", _wrap_SoVRMLFontStyle_size_set, METH_VARARGS, (char *)"SoVRMLFontStyle_size_set(SoVRMLFontStyle self, SoSFFloat size)"}, - { (char *)"SoVRMLFontStyle_size_get", _wrap_SoVRMLFontStyle_size_get, METH_VARARGS, (char *)"SoVRMLFontStyle_size_get(SoVRMLFontStyle self) -> SoSFFloat"}, - { (char *)"SoVRMLFontStyle_family_set", _wrap_SoVRMLFontStyle_family_set, METH_VARARGS, (char *)"SoVRMLFontStyle_family_set(SoVRMLFontStyle self, SoMFString family)"}, - { (char *)"SoVRMLFontStyle_family_get", _wrap_SoVRMLFontStyle_family_get, METH_VARARGS, (char *)"SoVRMLFontStyle_family_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_style_set", _wrap_SoVRMLFontStyle_style_set, METH_VARARGS, (char *)"SoVRMLFontStyle_style_set(SoVRMLFontStyle self, SoMFString style)"}, - { (char *)"SoVRMLFontStyle_style_get", _wrap_SoVRMLFontStyle_style_get, METH_VARARGS, (char *)"SoVRMLFontStyle_style_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_horizontal_set", _wrap_SoVRMLFontStyle_horizontal_set, METH_VARARGS, (char *)"SoVRMLFontStyle_horizontal_set(SoVRMLFontStyle self, SoSFBool horizontal)"}, - { (char *)"SoVRMLFontStyle_horizontal_get", _wrap_SoVRMLFontStyle_horizontal_get, METH_VARARGS, (char *)"SoVRMLFontStyle_horizontal_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_leftToRight_set", _wrap_SoVRMLFontStyle_leftToRight_set, METH_VARARGS, (char *)"SoVRMLFontStyle_leftToRight_set(SoVRMLFontStyle self, SoSFBool leftToRight)"}, - { (char *)"SoVRMLFontStyle_leftToRight_get", _wrap_SoVRMLFontStyle_leftToRight_get, METH_VARARGS, (char *)"SoVRMLFontStyle_leftToRight_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_topToBottom_set", _wrap_SoVRMLFontStyle_topToBottom_set, METH_VARARGS, (char *)"SoVRMLFontStyle_topToBottom_set(SoVRMLFontStyle self, SoSFBool topToBottom)"}, - { (char *)"SoVRMLFontStyle_topToBottom_get", _wrap_SoVRMLFontStyle_topToBottom_get, METH_VARARGS, (char *)"SoVRMLFontStyle_topToBottom_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_language_set", _wrap_SoVRMLFontStyle_language_set, METH_VARARGS, (char *)"SoVRMLFontStyle_language_set(SoVRMLFontStyle self, SoSFString language)"}, - { (char *)"SoVRMLFontStyle_language_get", _wrap_SoVRMLFontStyle_language_get, METH_VARARGS, (char *)"SoVRMLFontStyle_language_get(SoVRMLFontStyle self) -> SoSFString"}, - { (char *)"SoVRMLFontStyle_justify_set", _wrap_SoVRMLFontStyle_justify_set, METH_VARARGS, (char *)"SoVRMLFontStyle_justify_set(SoVRMLFontStyle self, SoMFString justify)"}, - { (char *)"SoVRMLFontStyle_justify_get", _wrap_SoVRMLFontStyle_justify_get, METH_VARARGS, (char *)"SoVRMLFontStyle_justify_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_spacing_set", _wrap_SoVRMLFontStyle_spacing_set, METH_VARARGS, (char *)"SoVRMLFontStyle_spacing_set(SoVRMLFontStyle self, SoSFFloat spacing)"}, - { (char *)"SoVRMLFontStyle_spacing_get", _wrap_SoVRMLFontStyle_spacing_get, METH_VARARGS, (char *)"SoVRMLFontStyle_spacing_get(SoVRMLFontStyle self) -> SoSFFloat"}, - { (char *)"SoVRMLFontStyle_getFontName", _wrap_SoVRMLFontStyle_getFontName, METH_VARARGS, (char *)"SoVRMLFontStyle_getFontName(SoVRMLFontStyle self) -> SbString"}, - { (char *)"SoVRMLFontStyle_doAction", _wrap_SoVRMLFontStyle_doAction, METH_VARARGS, (char *)"SoVRMLFontStyle_doAction(SoVRMLFontStyle self, SoAction action)"}, - { (char *)"SoVRMLFontStyle_callback", _wrap_SoVRMLFontStyle_callback, METH_VARARGS, (char *)"SoVRMLFontStyle_callback(SoVRMLFontStyle self, SoCallbackAction action)"}, - { (char *)"SoVRMLFontStyle_GLRender", _wrap_SoVRMLFontStyle_GLRender, METH_VARARGS, (char *)"SoVRMLFontStyle_GLRender(SoVRMLFontStyle self, SoGLRenderAction action)"}, - { (char *)"SoVRMLFontStyle_getBoundingBox", _wrap_SoVRMLFontStyle_getBoundingBox, METH_VARARGS, (char *)"SoVRMLFontStyle_getBoundingBox(SoVRMLFontStyle self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLFontStyle_pick", _wrap_SoVRMLFontStyle_pick, METH_VARARGS, (char *)"SoVRMLFontStyle_pick(SoVRMLFontStyle self, SoPickAction action)"}, - { (char *)"SoVRMLFontStyle_getPrimitiveCount", _wrap_SoVRMLFontStyle_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLFontStyle_getPrimitiveCount(SoVRMLFontStyle self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLFontStyle_swigregister", SoVRMLFontStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"so_vrml_init", _wrap_so_vrml_init, METH_VARARGS, (char *)"so_vrml_init()"}, - { (char *)"SoVRMLTexture_getClassTypeId", _wrap_SoVRMLTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTexture_getTypeId", _wrap_SoVRMLTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLTexture_getTypeId(SoVRMLTexture self) -> SoType"}, - { (char *)"SoVRMLTexture_initClass", _wrap_SoVRMLTexture_initClass, METH_VARARGS, (char *)"SoVRMLTexture_initClass()"}, - { (char *)"SoVRMLTexture_repeatS_set", _wrap_SoVRMLTexture_repeatS_set, METH_VARARGS, (char *)"SoVRMLTexture_repeatS_set(SoVRMLTexture self, SoSFBool repeatS)"}, - { (char *)"SoVRMLTexture_repeatS_get", _wrap_SoVRMLTexture_repeatS_get, METH_VARARGS, (char *)"SoVRMLTexture_repeatS_get(SoVRMLTexture self) -> SoSFBool"}, - { (char *)"SoVRMLTexture_repeatT_set", _wrap_SoVRMLTexture_repeatT_set, METH_VARARGS, (char *)"SoVRMLTexture_repeatT_set(SoVRMLTexture self, SoSFBool repeatT)"}, - { (char *)"SoVRMLTexture_repeatT_get", _wrap_SoVRMLTexture_repeatT_get, METH_VARARGS, (char *)"SoVRMLTexture_repeatT_get(SoVRMLTexture self) -> SoSFBool"}, - { (char *)"SoVRMLTexture_GLRender", _wrap_SoVRMLTexture_GLRender, METH_VARARGS, (char *)"SoVRMLTexture_GLRender(SoVRMLTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTexture_swigregister", SoVRMLTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLImageTexture_getClassTypeId", _wrap_SoVRMLImageTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLImageTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLImageTexture_getTypeId", _wrap_SoVRMLImageTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLImageTexture_getTypeId(SoVRMLImageTexture self) -> SoType"}, - { (char *)"SoVRMLImageTexture_initClass", _wrap_SoVRMLImageTexture_initClass, METH_VARARGS, (char *)"SoVRMLImageTexture_initClass()"}, - { (char *)"new_SoVRMLImageTexture", _wrap_new_SoVRMLImageTexture, METH_VARARGS, (char *)"new_SoVRMLImageTexture() -> SoVRMLImageTexture"}, - { (char *)"SoVRMLImageTexture_url_set", _wrap_SoVRMLImageTexture_url_set, METH_VARARGS, (char *)"SoVRMLImageTexture_url_set(SoVRMLImageTexture self, SoMFString url)"}, - { (char *)"SoVRMLImageTexture_url_get", _wrap_SoVRMLImageTexture_url_get, METH_VARARGS, (char *)"SoVRMLImageTexture_url_get(SoVRMLImageTexture self) -> SoMFString"}, - { (char *)"SoVRMLImageTexture_setDelayFetchURL", _wrap_SoVRMLImageTexture_setDelayFetchURL, METH_VARARGS, (char *)"SoVRMLImageTexture_setDelayFetchURL(SbBool onoff)"}, - { (char *)"SoVRMLImageTexture_setPrequalifyFileCallBack", _wrap_SoVRMLImageTexture_setPrequalifyFileCallBack, METH_VARARGS, (char *)"SoVRMLImageTexture_setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)"}, - { (char *)"SoVRMLImageTexture_allowPrequalifyFile", _wrap_SoVRMLImageTexture_allowPrequalifyFile, METH_VARARGS, (char *)"SoVRMLImageTexture_allowPrequalifyFile(SoVRMLImageTexture self, SbBool enable)"}, - { (char *)"SoVRMLImageTexture_doAction", _wrap_SoVRMLImageTexture_doAction, METH_VARARGS, (char *)"SoVRMLImageTexture_doAction(SoVRMLImageTexture self, SoAction action)"}, - { (char *)"SoVRMLImageTexture_GLRender", _wrap_SoVRMLImageTexture_GLRender, METH_VARARGS, (char *)"SoVRMLImageTexture_GLRender(SoVRMLImageTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLImageTexture_callback", _wrap_SoVRMLImageTexture_callback, METH_VARARGS, (char *)"SoVRMLImageTexture_callback(SoVRMLImageTexture self, SoCallbackAction action)"}, - { (char *)"SoVRMLImageTexture_rayPick", _wrap_SoVRMLImageTexture_rayPick, METH_VARARGS, (char *)"SoVRMLImageTexture_rayPick(SoVRMLImageTexture self, SoRayPickAction action)"}, - { (char *)"SoVRMLImageTexture_setImage", _wrap_SoVRMLImageTexture_setImage, METH_VARARGS, (char *)"SoVRMLImageTexture_setImage(SoVRMLImageTexture self, SbImage image)"}, - { (char *)"SoVRMLImageTexture_getImage", _wrap_SoVRMLImageTexture_getImage, METH_VARARGS, (char *)"SoVRMLImageTexture_getImage(SoVRMLImageTexture self) -> SbImage"}, - { (char *)"SoVRMLImageTexture_setImageDataMaxAge", _wrap_SoVRMLImageTexture_setImageDataMaxAge, METH_VARARGS, (char *)"SoVRMLImageTexture_setImageDataMaxAge(uint32_t maxage)"}, - { (char *)"SoVRMLImageTexture_swigregister", SoVRMLImageTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexShape_getClassTypeId", _wrap_SoVRMLVertexShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexShape_getTypeId", _wrap_SoVRMLVertexShape_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexShape_getTypeId(SoVRMLVertexShape self) -> SoType"}, - { (char *)"SoVRMLVertexShape_initClass", _wrap_SoVRMLVertexShape_initClass, METH_VARARGS, (char *)"SoVRMLVertexShape_initClass()"}, - { (char *)"SoVRMLVertexShape_coord_set", _wrap_SoVRMLVertexShape_coord_set, METH_VARARGS, (char *)"SoVRMLVertexShape_coord_set(SoVRMLVertexShape self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexShape_coord_get", _wrap_SoVRMLVertexShape_coord_get, METH_VARARGS, (char *)"SoVRMLVertexShape_coord_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_texCoord_set", _wrap_SoVRMLVertexShape_texCoord_set, METH_VARARGS, (char *)"SoVRMLVertexShape_texCoord_set(SoVRMLVertexShape self, SoSFNode texCoord)"}, - { (char *)"SoVRMLVertexShape_texCoord_get", _wrap_SoVRMLVertexShape_texCoord_get, METH_VARARGS, (char *)"SoVRMLVertexShape_texCoord_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_normal_set", _wrap_SoVRMLVertexShape_normal_set, METH_VARARGS, (char *)"SoVRMLVertexShape_normal_set(SoVRMLVertexShape self, SoSFNode normal)"}, - { (char *)"SoVRMLVertexShape_normal_get", _wrap_SoVRMLVertexShape_normal_get, METH_VARARGS, (char *)"SoVRMLVertexShape_normal_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_color_set", _wrap_SoVRMLVertexShape_color_set, METH_VARARGS, (char *)"SoVRMLVertexShape_color_set(SoVRMLVertexShape self, SoSFNode color)"}, - { (char *)"SoVRMLVertexShape_color_get", _wrap_SoVRMLVertexShape_color_get, METH_VARARGS, (char *)"SoVRMLVertexShape_color_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_colorPerVertex_set", _wrap_SoVRMLVertexShape_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexShape_colorPerVertex_set(SoVRMLVertexShape self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLVertexShape_colorPerVertex_get", _wrap_SoVRMLVertexShape_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexShape_colorPerVertex_get(SoVRMLVertexShape self) -> SoSFBool"}, - { (char *)"SoVRMLVertexShape_normalPerVertex_set", _wrap_SoVRMLVertexShape_normalPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexShape_normalPerVertex_set(SoVRMLVertexShape self, SoSFBool normalPerVertex)"}, - { (char *)"SoVRMLVertexShape_normalPerVertex_get", _wrap_SoVRMLVertexShape_normalPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexShape_normalPerVertex_get(SoVRMLVertexShape self) -> SoSFBool"}, - { (char *)"SoVRMLVertexShape_generateDefaultNormals", _wrap_SoVRMLVertexShape_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState s, SoNormalBundle nb) -> SbBool\n" - "SoVRMLVertexShape_generateDefaultNormals(SoVRMLVertexShape self, SoState s, SoNormalCache nc) -> SbBool\n" - ""}, - { (char *)"SoVRMLVertexShape_doAction", _wrap_SoVRMLVertexShape_doAction, METH_VARARGS, (char *)"SoVRMLVertexShape_doAction(SoVRMLVertexShape self, SoAction action)"}, - { (char *)"SoVRMLVertexShape_GLRender", _wrap_SoVRMLVertexShape_GLRender, METH_VARARGS, (char *)"SoVRMLVertexShape_GLRender(SoVRMLVertexShape self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexShape_getBoundingBox", _wrap_SoVRMLVertexShape_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexShape_getBoundingBox(SoVRMLVertexShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexShape_callback", _wrap_SoVRMLVertexShape_callback, METH_VARARGS, (char *)"SoVRMLVertexShape_callback(SoVRMLVertexShape self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexShape_pick", _wrap_SoVRMLVertexShape_pick, METH_VARARGS, (char *)"SoVRMLVertexShape_pick(SoVRMLVertexShape self, SoPickAction action)"}, - { (char *)"SoVRMLVertexShape_notify", _wrap_SoVRMLVertexShape_notify, METH_VARARGS, (char *)"SoVRMLVertexShape_notify(SoVRMLVertexShape self, SoNotList list)"}, - { (char *)"SoVRMLVertexShape_swigregister", SoVRMLVertexShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedShape_getClassTypeId", _wrap_SoVRMLIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedShape_getTypeId", _wrap_SoVRMLIndexedShape_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedShape_getTypeId(SoVRMLIndexedShape self) -> SoType"}, - { (char *)"SoVRMLIndexedShape_initClass", _wrap_SoVRMLIndexedShape_initClass, METH_VARARGS, (char *)"SoVRMLIndexedShape_initClass()"}, - { (char *)"SoVRMLIndexedShape_coordIndex_set", _wrap_SoVRMLIndexedShape_coordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_coordIndex_set(SoVRMLIndexedShape self, SoMFInt32 coordIndex)"}, - { (char *)"SoVRMLIndexedShape_coordIndex_get", _wrap_SoVRMLIndexedShape_coordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_coordIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_colorIndex_set", _wrap_SoVRMLIndexedShape_colorIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_colorIndex_set(SoVRMLIndexedShape self, SoMFInt32 colorIndex)"}, - { (char *)"SoVRMLIndexedShape_colorIndex_get", _wrap_SoVRMLIndexedShape_colorIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_colorIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_normalIndex_set", _wrap_SoVRMLIndexedShape_normalIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_normalIndex_set(SoVRMLIndexedShape self, SoMFInt32 normalIndex)"}, - { (char *)"SoVRMLIndexedShape_normalIndex_get", _wrap_SoVRMLIndexedShape_normalIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_normalIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_texCoordIndex_set", _wrap_SoVRMLIndexedShape_texCoordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_texCoordIndex_set(SoVRMLIndexedShape self, SoMFInt32 texCoordIndex)"}, - { (char *)"SoVRMLIndexedShape_texCoordIndex_get", _wrap_SoVRMLIndexedShape_texCoordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_texCoordIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_swigregister", SoVRMLIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedFaceSet_getClassTypeId", _wrap_SoVRMLIndexedFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedFaceSet_getTypeId", _wrap_SoVRMLIndexedFaceSet_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getTypeId(SoVRMLIndexedFaceSet self) -> SoType"}, - { (char *)"SoVRMLIndexedFaceSet_initClass", _wrap_SoVRMLIndexedFaceSet_initClass, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_initClass()"}, - { (char *)"new_SoVRMLIndexedFaceSet", _wrap_new_SoVRMLIndexedFaceSet, METH_VARARGS, (char *)"new_SoVRMLIndexedFaceSet() -> SoVRMLIndexedFaceSet"}, - { (char *)"SoVRMLIndexedFaceSet_ccw_set", _wrap_SoVRMLIndexedFaceSet_ccw_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_ccw_set(SoVRMLIndexedFaceSet self, SoSFBool ccw)"}, - { (char *)"SoVRMLIndexedFaceSet_ccw_get", _wrap_SoVRMLIndexedFaceSet_ccw_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_ccw_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_solid_set", _wrap_SoVRMLIndexedFaceSet_solid_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_solid_set(SoVRMLIndexedFaceSet self, SoSFBool solid)"}, - { (char *)"SoVRMLIndexedFaceSet_solid_get", _wrap_SoVRMLIndexedFaceSet_solid_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_solid_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_convex_set", _wrap_SoVRMLIndexedFaceSet_convex_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_convex_set(SoVRMLIndexedFaceSet self, SoSFBool convex)"}, - { (char *)"SoVRMLIndexedFaceSet_convex_get", _wrap_SoVRMLIndexedFaceSet_convex_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_convex_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_creaseAngle_set", _wrap_SoVRMLIndexedFaceSet_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_creaseAngle_set(SoVRMLIndexedFaceSet self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLIndexedFaceSet_creaseAngle_get", _wrap_SoVRMLIndexedFaceSet_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_creaseAngle_get(SoVRMLIndexedFaceSet self) -> SoSFFloat"}, - { (char *)"SoVRMLIndexedFaceSet_GLRender", _wrap_SoVRMLIndexedFaceSet_GLRender, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_GLRender(SoVRMLIndexedFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLIndexedFaceSet_getPrimitiveCount", _wrap_SoVRMLIndexedFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getPrimitiveCount(SoVRMLIndexedFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLIndexedFaceSet_generateDefaultNormals", _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState s, SoNormalBundle nb) -> SbBool\n" - "SoVRMLIndexedFaceSet_generateDefaultNormals(SoVRMLIndexedFaceSet self, SoState state, SoNormalCache nc) -> SbBool\n" - ""}, - { (char *)"SoVRMLIndexedFaceSet_swigregister", SoVRMLIndexedFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexLine_getClassTypeId", _wrap_SoVRMLVertexLine_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexLine_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexLine_getTypeId", _wrap_SoVRMLVertexLine_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexLine_getTypeId(SoVRMLVertexLine self) -> SoType"}, - { (char *)"SoVRMLVertexLine_initClass", _wrap_SoVRMLVertexLine_initClass, METH_VARARGS, (char *)"SoVRMLVertexLine_initClass()"}, - { (char *)"SoVRMLVertexLine_coord_set", _wrap_SoVRMLVertexLine_coord_set, METH_VARARGS, (char *)"SoVRMLVertexLine_coord_set(SoVRMLVertexLine self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexLine_coord_get", _wrap_SoVRMLVertexLine_coord_get, METH_VARARGS, (char *)"SoVRMLVertexLine_coord_get(SoVRMLVertexLine self) -> SoSFNode"}, - { (char *)"SoVRMLVertexLine_color_set", _wrap_SoVRMLVertexLine_color_set, METH_VARARGS, (char *)"SoVRMLVertexLine_color_set(SoVRMLVertexLine self, SoSFNode color)"}, - { (char *)"SoVRMLVertexLine_color_get", _wrap_SoVRMLVertexLine_color_get, METH_VARARGS, (char *)"SoVRMLVertexLine_color_get(SoVRMLVertexLine self) -> SoSFNode"}, - { (char *)"SoVRMLVertexLine_colorPerVertex_set", _wrap_SoVRMLVertexLine_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexLine_colorPerVertex_set(SoVRMLVertexLine self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLVertexLine_colorPerVertex_get", _wrap_SoVRMLVertexLine_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexLine_colorPerVertex_get(SoVRMLVertexLine self) -> SoSFBool"}, - { (char *)"SoVRMLVertexLine_doAction", _wrap_SoVRMLVertexLine_doAction, METH_VARARGS, (char *)"SoVRMLVertexLine_doAction(SoVRMLVertexLine self, SoAction action)"}, - { (char *)"SoVRMLVertexLine_GLRender", _wrap_SoVRMLVertexLine_GLRender, METH_VARARGS, (char *)"SoVRMLVertexLine_GLRender(SoVRMLVertexLine self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexLine_getBoundingBox", _wrap_SoVRMLVertexLine_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexLine_getBoundingBox(SoVRMLVertexLine self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexLine_callback", _wrap_SoVRMLVertexLine_callback, METH_VARARGS, (char *)"SoVRMLVertexLine_callback(SoVRMLVertexLine self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexLine_pick", _wrap_SoVRMLVertexLine_pick, METH_VARARGS, (char *)"SoVRMLVertexLine_pick(SoVRMLVertexLine self, SoPickAction action)"}, - { (char *)"SoVRMLVertexLine_notify", _wrap_SoVRMLVertexLine_notify, METH_VARARGS, (char *)"SoVRMLVertexLine_notify(SoVRMLVertexLine self, SoNotList list)"}, - { (char *)"SoVRMLVertexLine_swigregister", SoVRMLVertexLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedLine_getClassTypeId", _wrap_SoVRMLIndexedLine_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLine_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedLine_getTypeId", _wrap_SoVRMLIndexedLine_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLine_getTypeId(SoVRMLIndexedLine self) -> SoType"}, - { (char *)"SoVRMLIndexedLine_initClass", _wrap_SoVRMLIndexedLine_initClass, METH_VARARGS, (char *)"SoVRMLIndexedLine_initClass()"}, - { (char *)"SoVRMLIndexedLine_coordIndex_set", _wrap_SoVRMLIndexedLine_coordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedLine_coordIndex_set(SoVRMLIndexedLine self, SoMFInt32 coordIndex)"}, - { (char *)"SoVRMLIndexedLine_coordIndex_get", _wrap_SoVRMLIndexedLine_coordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedLine_coordIndex_get(SoVRMLIndexedLine self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedLine_colorIndex_set", _wrap_SoVRMLIndexedLine_colorIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedLine_colorIndex_set(SoVRMLIndexedLine self, SoMFInt32 colorIndex)"}, - { (char *)"SoVRMLIndexedLine_colorIndex_get", _wrap_SoVRMLIndexedLine_colorIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedLine_colorIndex_get(SoVRMLIndexedLine self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedLine_swigregister", SoVRMLIndexedLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedLineSet_getClassTypeId", _wrap_SoVRMLIndexedLineSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedLineSet_getTypeId", _wrap_SoVRMLIndexedLineSet_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getTypeId(SoVRMLIndexedLineSet self) -> SoType"}, - { (char *)"SoVRMLIndexedLineSet_initClass", _wrap_SoVRMLIndexedLineSet_initClass, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_initClass()"}, - { (char *)"new_SoVRMLIndexedLineSet", _wrap_new_SoVRMLIndexedLineSet, METH_VARARGS, (char *)"new_SoVRMLIndexedLineSet() -> SoVRMLIndexedLineSet"}, - { (char *)"SoVRMLIndexedLineSet_GLRender", _wrap_SoVRMLIndexedLineSet_GLRender, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_GLRender(SoVRMLIndexedLineSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLIndexedLineSet_getPrimitiveCount", _wrap_SoVRMLIndexedLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getPrimitiveCount(SoVRMLIndexedLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLIndexedLineSet_getBoundingBox", _wrap_SoVRMLIndexedLineSet_getBoundingBox, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getBoundingBox(SoVRMLIndexedLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLIndexedLineSet_swigregister", SoVRMLIndexedLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLInline_getClassTypeId", _wrap_SoVRMLInline_getClassTypeId, METH_VARARGS, (char *)"SoVRMLInline_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLInline_getTypeId", _wrap_SoVRMLInline_getTypeId, METH_VARARGS, (char *)"SoVRMLInline_getTypeId(SoVRMLInline self) -> SoType"}, - { (char *)"SoVRMLInline_initClass", _wrap_SoVRMLInline_initClass, METH_VARARGS, (char *)"SoVRMLInline_initClass()"}, - { (char *)"new_SoVRMLInline", _wrap_new_SoVRMLInline, METH_VARARGS, (char *)"new_SoVRMLInline() -> SoVRMLInline"}, - { (char *)"SoVRMLInline_bboxCenter_set", _wrap_SoVRMLInline_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLInline_bboxCenter_set(SoVRMLInline self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLInline_bboxCenter_get", _wrap_SoVRMLInline_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLInline_bboxCenter_get(SoVRMLInline self) -> SoSFVec3f"}, - { (char *)"SoVRMLInline_bboxSize_set", _wrap_SoVRMLInline_bboxSize_set, METH_VARARGS, (char *)"SoVRMLInline_bboxSize_set(SoVRMLInline self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLInline_bboxSize_get", _wrap_SoVRMLInline_bboxSize_get, METH_VARARGS, (char *)"SoVRMLInline_bboxSize_get(SoVRMLInline self) -> SoSFVec3f"}, - { (char *)"SoVRMLInline_url_set", _wrap_SoVRMLInline_url_set, METH_VARARGS, (char *)"SoVRMLInline_url_set(SoVRMLInline self, SoMFString url)"}, - { (char *)"SoVRMLInline_url_get", _wrap_SoVRMLInline_url_get, METH_VARARGS, (char *)"SoVRMLInline_url_get(SoVRMLInline self) -> SoMFString"}, - { (char *)"SoVRMLInline_setFullURLName", _wrap_SoVRMLInline_setFullURLName, METH_VARARGS, (char *)"SoVRMLInline_setFullURLName(SoVRMLInline self, SbString url)"}, - { (char *)"SoVRMLInline_getFullURLName", _wrap_SoVRMLInline_getFullURLName, METH_VARARGS, (char *)"SoVRMLInline_getFullURLName(SoVRMLInline self) -> SbString"}, - { (char *)"SoVRMLInline_copyChildren", _wrap_SoVRMLInline_copyChildren, METH_VARARGS, (char *)"SoVRMLInline_copyChildren(SoVRMLInline self) -> SoGroup"}, - { (char *)"SoVRMLInline_requestURLData", _wrap_SoVRMLInline_requestURLData, METH_VARARGS, (char *)"SoVRMLInline_requestURLData(SoVRMLInline self)"}, - { (char *)"SoVRMLInline_isURLDataRequested", _wrap_SoVRMLInline_isURLDataRequested, METH_VARARGS, (char *)"SoVRMLInline_isURLDataRequested(SoVRMLInline self) -> SbBool"}, - { (char *)"SoVRMLInline_isURLDataHere", _wrap_SoVRMLInline_isURLDataHere, METH_VARARGS, (char *)"SoVRMLInline_isURLDataHere(SoVRMLInline self) -> SbBool"}, - { (char *)"SoVRMLInline_cancelURLDataRequest", _wrap_SoVRMLInline_cancelURLDataRequest, METH_VARARGS, (char *)"SoVRMLInline_cancelURLDataRequest(SoVRMLInline self)"}, - { (char *)"SoVRMLInline_setChildData", _wrap_SoVRMLInline_setChildData, METH_VARARGS, (char *)"SoVRMLInline_setChildData(SoVRMLInline self, SoNode urlData)"}, - { (char *)"SoVRMLInline_getChildData", _wrap_SoVRMLInline_getChildData, METH_VARARGS, (char *)"SoVRMLInline_getChildData(SoVRMLInline self) -> SoNode"}, - { (char *)"SoVRMLInline_setFetchURLCallBack", _wrap_SoVRMLInline_setFetchURLCallBack, METH_VARARGS, (char *)"SoVRMLInline_setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)"}, - { (char *)"SoVRMLInline_setBoundingBoxVisibility", _wrap_SoVRMLInline_setBoundingBoxVisibility, METH_VARARGS, (char *)"SoVRMLInline_setBoundingBoxVisibility(BboxVisibility b)"}, - { (char *)"SoVRMLInline_getBoundingBoxVisibility", _wrap_SoVRMLInline_getBoundingBoxVisibility, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBoxVisibility() -> BboxVisibility"}, - { (char *)"SoVRMLInline_setBoundingBoxColor", _wrap_SoVRMLInline_setBoundingBoxColor, METH_VARARGS, (char *)"SoVRMLInline_setBoundingBoxColor(SbColor color)"}, - { (char *)"SoVRMLInline_getBoundingBoxColor", _wrap_SoVRMLInline_getBoundingBoxColor, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBoxColor() -> SbColor"}, - { (char *)"SoVRMLInline_setReadAsSoFile", _wrap_SoVRMLInline_setReadAsSoFile, METH_VARARGS, (char *)"SoVRMLInline_setReadAsSoFile(SbBool enable)"}, - { (char *)"SoVRMLInline_getReadAsSoFile", _wrap_SoVRMLInline_getReadAsSoFile, METH_VARARGS, (char *)"SoVRMLInline_getReadAsSoFile() -> SbBool"}, - { (char *)"SoVRMLInline_doAction", _wrap_SoVRMLInline_doAction, METH_VARARGS, (char *)"SoVRMLInline_doAction(SoVRMLInline self, SoAction action)"}, - { (char *)"SoVRMLInline_callback", _wrap_SoVRMLInline_callback, METH_VARARGS, (char *)"SoVRMLInline_callback(SoVRMLInline self, SoCallbackAction action)"}, - { (char *)"SoVRMLInline_GLRender", _wrap_SoVRMLInline_GLRender, METH_VARARGS, (char *)"SoVRMLInline_GLRender(SoVRMLInline self, SoGLRenderAction action)"}, - { (char *)"SoVRMLInline_getBoundingBox", _wrap_SoVRMLInline_getBoundingBox, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBox(SoVRMLInline self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLInline_getMatrix", _wrap_SoVRMLInline_getMatrix, METH_VARARGS, (char *)"SoVRMLInline_getMatrix(SoVRMLInline self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLInline_handleEvent", _wrap_SoVRMLInline_handleEvent, METH_VARARGS, (char *)"SoVRMLInline_handleEvent(SoVRMLInline self, SoHandleEventAction action)"}, - { (char *)"SoVRMLInline_search", _wrap_SoVRMLInline_search, METH_VARARGS, (char *)"SoVRMLInline_search(SoVRMLInline self, SoSearchAction action)"}, - { (char *)"SoVRMLInline_pick", _wrap_SoVRMLInline_pick, METH_VARARGS, (char *)"SoVRMLInline_pick(SoVRMLInline self, SoPickAction action)"}, - { (char *)"SoVRMLInline_getPrimitiveCount", _wrap_SoVRMLInline_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLInline_getPrimitiveCount(SoVRMLInline self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLInline_getChildren", _wrap_SoVRMLInline_getChildren, METH_VARARGS, (char *)"SoVRMLInline_getChildren(SoVRMLInline self) -> SoChildList"}, - { (char *)"SoVRMLInline_swigregister", SoVRMLInline_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLLOD_getClassTypeId", _wrap_SoVRMLLOD_getClassTypeId, METH_VARARGS, (char *)"SoVRMLLOD_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLLOD_getTypeId", _wrap_SoVRMLLOD_getTypeId, METH_VARARGS, (char *)"SoVRMLLOD_getTypeId(SoVRMLLOD self) -> SoType"}, - { (char *)"SoVRMLLOD_initClass", _wrap_SoVRMLLOD_initClass, METH_VARARGS, (char *)"SoVRMLLOD_initClass()"}, - { (char *)"new_SoVRMLLOD", _wrap_new_SoVRMLLOD, METH_VARARGS, (char *)"\n" - "SoVRMLLOD()\n" - "new_SoVRMLLOD(int levels) -> SoVRMLLOD\n" - ""}, - { (char *)"SoVRMLLOD_range_set", _wrap_SoVRMLLOD_range_set, METH_VARARGS, (char *)"SoVRMLLOD_range_set(SoVRMLLOD self, SoMFFloat range)"}, - { (char *)"SoVRMLLOD_range_get", _wrap_SoVRMLLOD_range_get, METH_VARARGS, (char *)"SoVRMLLOD_range_get(SoVRMLLOD self) -> SoMFFloat"}, - { (char *)"SoVRMLLOD_center_set", _wrap_SoVRMLLOD_center_set, METH_VARARGS, (char *)"SoVRMLLOD_center_set(SoVRMLLOD self, SoSFVec3f center)"}, - { (char *)"SoVRMLLOD_center_get", _wrap_SoVRMLLOD_center_get, METH_VARARGS, (char *)"SoVRMLLOD_center_get(SoVRMLLOD self) -> SoSFVec3f"}, - { (char *)"SoVRMLLOD_level_set", _wrap_SoVRMLLOD_level_set, METH_VARARGS, (char *)"SoVRMLLOD_level_set(SoVRMLLOD self, SoMFNode level)"}, - { (char *)"SoVRMLLOD_level_get", _wrap_SoVRMLLOD_level_get, METH_VARARGS, (char *)"SoVRMLLOD_level_get(SoVRMLLOD self) -> SoMFNode"}, - { (char *)"SoVRMLLOD_affectsState", _wrap_SoVRMLLOD_affectsState, METH_VARARGS, (char *)"SoVRMLLOD_affectsState(SoVRMLLOD self) -> SbBool"}, - { (char *)"SoVRMLLOD_addLevel", _wrap_SoVRMLLOD_addLevel, METH_VARARGS, (char *)"SoVRMLLOD_addLevel(SoVRMLLOD self, SoNode level)"}, - { (char *)"SoVRMLLOD_insertLevel", _wrap_SoVRMLLOD_insertLevel, METH_VARARGS, (char *)"SoVRMLLOD_insertLevel(SoVRMLLOD self, SoNode level, int idx)"}, - { (char *)"SoVRMLLOD_getLevel", _wrap_SoVRMLLOD_getLevel, METH_VARARGS, (char *)"SoVRMLLOD_getLevel(SoVRMLLOD self, int idx) -> SoNode"}, - { (char *)"SoVRMLLOD_findLevel", _wrap_SoVRMLLOD_findLevel, METH_VARARGS, (char *)"SoVRMLLOD_findLevel(SoVRMLLOD self, SoNode level) -> int"}, - { (char *)"SoVRMLLOD_getNumLevels", _wrap_SoVRMLLOD_getNumLevels, METH_VARARGS, (char *)"SoVRMLLOD_getNumLevels(SoVRMLLOD self) -> int"}, - { (char *)"SoVRMLLOD_removeLevel", _wrap_SoVRMLLOD_removeLevel, METH_VARARGS, (char *)"\n" - "removeLevel(int idx)\n" - "SoVRMLLOD_removeLevel(SoVRMLLOD self, SoNode level)\n" - ""}, - { (char *)"SoVRMLLOD_removeAllLevels", _wrap_SoVRMLLOD_removeAllLevels, METH_VARARGS, (char *)"SoVRMLLOD_removeAllLevels(SoVRMLLOD self)"}, - { (char *)"SoVRMLLOD_replaceLevel", _wrap_SoVRMLLOD_replaceLevel, METH_VARARGS, (char *)"\n" - "replaceLevel(int idx, SoNode level)\n" - "SoVRMLLOD_replaceLevel(SoVRMLLOD self, SoNode old, SoNode level)\n" - ""}, - { (char *)"SoVRMLLOD_doAction", _wrap_SoVRMLLOD_doAction, METH_VARARGS, (char *)"SoVRMLLOD_doAction(SoVRMLLOD self, SoAction action)"}, - { (char *)"SoVRMLLOD_callback", _wrap_SoVRMLLOD_callback, METH_VARARGS, (char *)"SoVRMLLOD_callback(SoVRMLLOD self, SoCallbackAction action)"}, - { (char *)"SoVRMLLOD_GLRender", _wrap_SoVRMLLOD_GLRender, METH_VARARGS, (char *)"SoVRMLLOD_GLRender(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_rayPick", _wrap_SoVRMLLOD_rayPick, METH_VARARGS, (char *)"SoVRMLLOD_rayPick(SoVRMLLOD self, SoRayPickAction action)"}, - { (char *)"SoVRMLLOD_getBoundingBox", _wrap_SoVRMLLOD_getBoundingBox, METH_VARARGS, (char *)"SoVRMLLOD_getBoundingBox(SoVRMLLOD self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLLOD_search", _wrap_SoVRMLLOD_search, METH_VARARGS, (char *)"SoVRMLLOD_search(SoVRMLLOD self, SoSearchAction action)"}, - { (char *)"SoVRMLLOD_write", _wrap_SoVRMLLOD_write, METH_VARARGS, (char *)"SoVRMLLOD_write(SoVRMLLOD self, SoWriteAction action)"}, - { (char *)"SoVRMLLOD_getPrimitiveCount", _wrap_SoVRMLLOD_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLLOD_getPrimitiveCount(SoVRMLLOD self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLLOD_audioRender", _wrap_SoVRMLLOD_audioRender, METH_VARARGS, (char *)"SoVRMLLOD_audioRender(SoVRMLLOD self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderBelowPath", _wrap_SoVRMLLOD_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderBelowPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderInPath", _wrap_SoVRMLLOD_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderInPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderOffPath", _wrap_SoVRMLLOD_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderOffPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_addChild", _wrap_SoVRMLLOD_addChild, METH_VARARGS, (char *)"SoVRMLLOD_addChild(SoVRMLLOD self, SoNode child)"}, - { (char *)"SoVRMLLOD_insertChild", _wrap_SoVRMLLOD_insertChild, METH_VARARGS, (char *)"SoVRMLLOD_insertChild(SoVRMLLOD self, SoNode child, int idx)"}, - { (char *)"SoVRMLLOD_getChild", _wrap_SoVRMLLOD_getChild, METH_VARARGS, (char *)"SoVRMLLOD_getChild(SoVRMLLOD self, int idx) -> SoNode"}, - { (char *)"SoVRMLLOD_findChild", _wrap_SoVRMLLOD_findChild, METH_VARARGS, (char *)"SoVRMLLOD_findChild(SoVRMLLOD self, SoNode child) -> int"}, - { (char *)"SoVRMLLOD_getNumChildren", _wrap_SoVRMLLOD_getNumChildren, METH_VARARGS, (char *)"SoVRMLLOD_getNumChildren(SoVRMLLOD self) -> int"}, - { (char *)"SoVRMLLOD_removeChild", _wrap_SoVRMLLOD_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLLOD_removeChild(SoVRMLLOD self, SoNode child)\n" - ""}, - { (char *)"SoVRMLLOD_removeAllChildren", _wrap_SoVRMLLOD_removeAllChildren, METH_VARARGS, (char *)"SoVRMLLOD_removeAllChildren(SoVRMLLOD self)"}, - { (char *)"SoVRMLLOD_replaceChild", _wrap_SoVRMLLOD_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode child)\n" - "SoVRMLLOD_replaceChild(SoVRMLLOD self, SoNode old, SoNode child)\n" - ""}, - { (char *)"SoVRMLLOD_getChildren", _wrap_SoVRMLLOD_getChildren, METH_VARARGS, (char *)"SoVRMLLOD_getChildren(SoVRMLLOD self) -> SoChildList"}, - { (char *)"SoVRMLLOD_swigregister", SoVRMLLOD_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLMaterial_getClassTypeId", _wrap_SoVRMLMaterial_getClassTypeId, METH_VARARGS, (char *)"SoVRMLMaterial_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLMaterial_getTypeId", _wrap_SoVRMLMaterial_getTypeId, METH_VARARGS, (char *)"SoVRMLMaterial_getTypeId(SoVRMLMaterial self) -> SoType"}, - { (char *)"SoVRMLMaterial_initClass", _wrap_SoVRMLMaterial_initClass, METH_VARARGS, (char *)"SoVRMLMaterial_initClass()"}, - { (char *)"new_SoVRMLMaterial", _wrap_new_SoVRMLMaterial, METH_VARARGS, (char *)"new_SoVRMLMaterial() -> SoVRMLMaterial"}, - { (char *)"SoVRMLMaterial_diffuseColor_set", _wrap_SoVRMLMaterial_diffuseColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_diffuseColor_set(SoVRMLMaterial self, SoSFColor diffuseColor)"}, - { (char *)"SoVRMLMaterial_diffuseColor_get", _wrap_SoVRMLMaterial_diffuseColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_diffuseColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_ambientIntensity_set", _wrap_SoVRMLMaterial_ambientIntensity_set, METH_VARARGS, (char *)"SoVRMLMaterial_ambientIntensity_set(SoVRMLMaterial self, SoSFFloat ambientIntensity)"}, - { (char *)"SoVRMLMaterial_ambientIntensity_get", _wrap_SoVRMLMaterial_ambientIntensity_get, METH_VARARGS, (char *)"SoVRMLMaterial_ambientIntensity_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_specularColor_set", _wrap_SoVRMLMaterial_specularColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_specularColor_set(SoVRMLMaterial self, SoSFColor specularColor)"}, - { (char *)"SoVRMLMaterial_specularColor_get", _wrap_SoVRMLMaterial_specularColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_specularColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_emissiveColor_set", _wrap_SoVRMLMaterial_emissiveColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_emissiveColor_set(SoVRMLMaterial self, SoSFColor emissiveColor)"}, - { (char *)"SoVRMLMaterial_emissiveColor_get", _wrap_SoVRMLMaterial_emissiveColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_emissiveColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_shininess_set", _wrap_SoVRMLMaterial_shininess_set, METH_VARARGS, (char *)"SoVRMLMaterial_shininess_set(SoVRMLMaterial self, SoSFFloat shininess)"}, - { (char *)"SoVRMLMaterial_shininess_get", _wrap_SoVRMLMaterial_shininess_get, METH_VARARGS, (char *)"SoVRMLMaterial_shininess_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_transparency_set", _wrap_SoVRMLMaterial_transparency_set, METH_VARARGS, (char *)"SoVRMLMaterial_transparency_set(SoVRMLMaterial self, SoSFFloat transparency)"}, - { (char *)"SoVRMLMaterial_transparency_get", _wrap_SoVRMLMaterial_transparency_get, METH_VARARGS, (char *)"SoVRMLMaterial_transparency_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_doAction", _wrap_SoVRMLMaterial_doAction, METH_VARARGS, (char *)"SoVRMLMaterial_doAction(SoVRMLMaterial self, SoAction action)"}, - { (char *)"SoVRMLMaterial_GLRender", _wrap_SoVRMLMaterial_GLRender, METH_VARARGS, (char *)"SoVRMLMaterial_GLRender(SoVRMLMaterial self, SoGLRenderAction action)"}, - { (char *)"SoVRMLMaterial_callback", _wrap_SoVRMLMaterial_callback, METH_VARARGS, (char *)"SoVRMLMaterial_callback(SoVRMLMaterial self, SoCallbackAction action)"}, - { (char *)"SoVRMLMaterial_swigregister", SoVRMLMaterial_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLMovieTexture_getClassTypeId", _wrap_SoVRMLMovieTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLMovieTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLMovieTexture_getTypeId", _wrap_SoVRMLMovieTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLMovieTexture_getTypeId(SoVRMLMovieTexture self) -> SoType"}, - { (char *)"SoVRMLMovieTexture_initClass", _wrap_SoVRMLMovieTexture_initClass, METH_VARARGS, (char *)"SoVRMLMovieTexture_initClass()"}, - { (char *)"new_SoVRMLMovieTexture", _wrap_new_SoVRMLMovieTexture, METH_VARARGS, (char *)"new_SoVRMLMovieTexture() -> SoVRMLMovieTexture"}, - { (char *)"SoVRMLMovieTexture_loop_set", _wrap_SoVRMLMovieTexture_loop_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_loop_set(SoVRMLMovieTexture self, SoSFBool loop)"}, - { (char *)"SoVRMLMovieTexture_loop_get", _wrap_SoVRMLMovieTexture_loop_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_loop_get(SoVRMLMovieTexture self) -> SoSFBool"}, - { (char *)"SoVRMLMovieTexture_speed_set", _wrap_SoVRMLMovieTexture_speed_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_speed_set(SoVRMLMovieTexture self, SoSFFloat speed)"}, - { (char *)"SoVRMLMovieTexture_speed_get", _wrap_SoVRMLMovieTexture_speed_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_speed_get(SoVRMLMovieTexture self) -> SoSFFloat"}, - { (char *)"SoVRMLMovieTexture_startTime_set", _wrap_SoVRMLMovieTexture_startTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_startTime_set(SoVRMLMovieTexture self, SoSFTime startTime)"}, - { (char *)"SoVRMLMovieTexture_startTime_get", _wrap_SoVRMLMovieTexture_startTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_startTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_stopTime_set", _wrap_SoVRMLMovieTexture_stopTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_stopTime_set(SoVRMLMovieTexture self, SoSFTime stopTime)"}, - { (char *)"SoVRMLMovieTexture_stopTime_get", _wrap_SoVRMLMovieTexture_stopTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_stopTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_pauseTime_set", _wrap_SoVRMLMovieTexture_pauseTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_pauseTime_set(SoVRMLMovieTexture self, SoSFTime pauseTime)"}, - { (char *)"SoVRMLMovieTexture_pauseTime_get", _wrap_SoVRMLMovieTexture_pauseTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_pauseTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_resumeTime_set", _wrap_SoVRMLMovieTexture_resumeTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_resumeTime_set(SoVRMLMovieTexture self, SoSFTime resumeTime)"}, - { (char *)"SoVRMLMovieTexture_resumeTime_get", _wrap_SoVRMLMovieTexture_resumeTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_resumeTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_url_set", _wrap_SoVRMLMovieTexture_url_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_url_set(SoVRMLMovieTexture self, SoMFString url)"}, - { (char *)"SoVRMLMovieTexture_url_get", _wrap_SoVRMLMovieTexture_url_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_url_get(SoVRMLMovieTexture self) -> SoMFString"}, - { (char *)"SoVRMLMovieTexture_duration_changed_set", _wrap_SoVRMLMovieTexture_duration_changed_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_duration_changed_set(SoVRMLMovieTexture self, SoSFTime duration_changed)"}, - { (char *)"SoVRMLMovieTexture_duration_changed_get", _wrap_SoVRMLMovieTexture_duration_changed_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_duration_changed_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_isActive_set", _wrap_SoVRMLMovieTexture_isActive_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_isActive_set(SoVRMLMovieTexture self, SoSFBool isActive)"}, - { (char *)"SoVRMLMovieTexture_isActive_get", _wrap_SoVRMLMovieTexture_isActive_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_isActive_get(SoVRMLMovieTexture self) -> SoSFBool"}, - { (char *)"SoVRMLMovieTexture_alpha_set", _wrap_SoVRMLMovieTexture_alpha_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_alpha_set(SoVRMLMovieTexture self, SoSFFloat alpha)"}, - { (char *)"SoVRMLMovieTexture_alpha_get", _wrap_SoVRMLMovieTexture_alpha_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_alpha_get(SoVRMLMovieTexture self) -> SoSFFloat"}, - { (char *)"SoVRMLMovieTexture_model_set", _wrap_SoVRMLMovieTexture_model_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_model_set(SoVRMLMovieTexture self, SoSFEnum model)"}, - { (char *)"SoVRMLMovieTexture_model_get", _wrap_SoVRMLMovieTexture_model_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_model_get(SoVRMLMovieTexture self) -> SoSFEnum"}, - { (char *)"SoVRMLMovieTexture_blendColor_set", _wrap_SoVRMLMovieTexture_blendColor_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_blendColor_set(SoVRMLMovieTexture self, SoSFColor blendColor)"}, - { (char *)"SoVRMLMovieTexture_blendColor_get", _wrap_SoVRMLMovieTexture_blendColor_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_blendColor_get(SoVRMLMovieTexture self) -> SoSFColor"}, - { (char *)"SoVRMLMovieTexture_scaleTexCoord_set", _wrap_SoVRMLMovieTexture_scaleTexCoord_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_scaleTexCoord_set(SoVRMLMovieTexture self, SoSFBool scaleTexCoord)"}, - { (char *)"SoVRMLMovieTexture_scaleTexCoord_get", _wrap_SoVRMLMovieTexture_scaleTexCoord_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_scaleTexCoord_get(SoVRMLMovieTexture self) -> SoSFBool"}, - { (char *)"SoVRMLMovieTexture_GLRender", _wrap_SoVRMLMovieTexture_GLRender, METH_VARARGS, (char *)"SoVRMLMovieTexture_GLRender(SoVRMLMovieTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLMovieTexture_swigregister", SoVRMLMovieTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNavigationInfo_getClassTypeId", _wrap_SoVRMLNavigationInfo_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNavigationInfo_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNavigationInfo_getTypeId", _wrap_SoVRMLNavigationInfo_getTypeId, METH_VARARGS, (char *)"SoVRMLNavigationInfo_getTypeId(SoVRMLNavigationInfo self) -> SoType"}, - { (char *)"SoVRMLNavigationInfo_initClass", _wrap_SoVRMLNavigationInfo_initClass, METH_VARARGS, (char *)"SoVRMLNavigationInfo_initClass()"}, - { (char *)"new_SoVRMLNavigationInfo", _wrap_new_SoVRMLNavigationInfo, METH_VARARGS, (char *)"new_SoVRMLNavigationInfo() -> SoVRMLNavigationInfo"}, - { (char *)"SoVRMLNavigationInfo_type_set", _wrap_SoVRMLNavigationInfo_type_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_type_set(SoVRMLNavigationInfo self, SoMFString type)"}, - { (char *)"SoVRMLNavigationInfo_type_get", _wrap_SoVRMLNavigationInfo_type_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_type_get(SoVRMLNavigationInfo self) -> SoMFString"}, - { (char *)"SoVRMLNavigationInfo_speed_set", _wrap_SoVRMLNavigationInfo_speed_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_speed_set(SoVRMLNavigationInfo self, SoSFFloat speed)"}, - { (char *)"SoVRMLNavigationInfo_speed_get", _wrap_SoVRMLNavigationInfo_speed_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_speed_get(SoVRMLNavigationInfo self) -> SoSFFloat"}, - { (char *)"SoVRMLNavigationInfo_avatarSize_set", _wrap_SoVRMLNavigationInfo_avatarSize_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_avatarSize_set(SoVRMLNavigationInfo self, SoMFFloat avatarSize)"}, - { (char *)"SoVRMLNavigationInfo_avatarSize_get", _wrap_SoVRMLNavigationInfo_avatarSize_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_avatarSize_get(SoVRMLNavigationInfo self) -> SoMFFloat"}, - { (char *)"SoVRMLNavigationInfo_visibilityLimit_set", _wrap_SoVRMLNavigationInfo_visibilityLimit_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_visibilityLimit_set(SoVRMLNavigationInfo self, SoSFFloat visibilityLimit)"}, - { (char *)"SoVRMLNavigationInfo_visibilityLimit_get", _wrap_SoVRMLNavigationInfo_visibilityLimit_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_visibilityLimit_get(SoVRMLNavigationInfo self) -> SoSFFloat"}, - { (char *)"SoVRMLNavigationInfo_headlight_set", _wrap_SoVRMLNavigationInfo_headlight_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_headlight_set(SoVRMLNavigationInfo self, SoSFBool headlight)"}, - { (char *)"SoVRMLNavigationInfo_headlight_get", _wrap_SoVRMLNavigationInfo_headlight_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_headlight_get(SoVRMLNavigationInfo self) -> SoSFBool"}, - { (char *)"SoVRMLNavigationInfo_GLRender", _wrap_SoVRMLNavigationInfo_GLRender, METH_VARARGS, (char *)"SoVRMLNavigationInfo_GLRender(SoVRMLNavigationInfo self, SoGLRenderAction action)"}, - { (char *)"SoVRMLNavigationInfo_swigregister", SoVRMLNavigationInfo_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNormal_getClassTypeId", _wrap_SoVRMLNormal_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNormal_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNormal_getTypeId", _wrap_SoVRMLNormal_getTypeId, METH_VARARGS, (char *)"SoVRMLNormal_getTypeId(SoVRMLNormal self) -> SoType"}, - { (char *)"SoVRMLNormal_initClass", _wrap_SoVRMLNormal_initClass, METH_VARARGS, (char *)"SoVRMLNormal_initClass()"}, - { (char *)"new_SoVRMLNormal", _wrap_new_SoVRMLNormal, METH_VARARGS, (char *)"new_SoVRMLNormal() -> SoVRMLNormal"}, - { (char *)"SoVRMLNormal_vector_set", _wrap_SoVRMLNormal_vector_set, METH_VARARGS, (char *)"SoVRMLNormal_vector_set(SoVRMLNormal self, SoMFVec3f vector)"}, - { (char *)"SoVRMLNormal_vector_get", _wrap_SoVRMLNormal_vector_get, METH_VARARGS, (char *)"SoVRMLNormal_vector_get(SoVRMLNormal self) -> SoMFVec3f"}, - { (char *)"SoVRMLNormal_doAction", _wrap_SoVRMLNormal_doAction, METH_VARARGS, (char *)"SoVRMLNormal_doAction(SoVRMLNormal self, SoAction action)"}, - { (char *)"SoVRMLNormal_GLRender", _wrap_SoVRMLNormal_GLRender, METH_VARARGS, (char *)"SoVRMLNormal_GLRender(SoVRMLNormal self, SoGLRenderAction action)"}, - { (char *)"SoVRMLNormal_callback", _wrap_SoVRMLNormal_callback, METH_VARARGS, (char *)"SoVRMLNormal_callback(SoVRMLNormal self, SoCallbackAction action)"}, - { (char *)"SoVRMLNormal_pick", _wrap_SoVRMLNormal_pick, METH_VARARGS, (char *)"SoVRMLNormal_pick(SoVRMLNormal self, SoPickAction action)"}, - { (char *)"SoVRMLNormal_getPrimitiveCount", _wrap_SoVRMLNormal_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLNormal_getPrimitiveCount(SoVRMLNormal self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLNormal_swigregister", SoVRMLNormal_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNormalInterpolator_getClassTypeId", _wrap_SoVRMLNormalInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNormalInterpolator_getTypeId", _wrap_SoVRMLNormalInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getTypeId(SoVRMLNormalInterpolator self) -> SoType"}, - { (char *)"SoVRMLNormalInterpolator_getOutputData", _wrap_SoVRMLNormalInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getOutputData(SoVRMLNormalInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLNormalInterpolator_createInstance", _wrap_SoVRMLNormalInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLNormalInterpolator_initClass", _wrap_SoVRMLNormalInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_initClass()"}, - { (char *)"new_SoVRMLNormalInterpolator", _wrap_new_SoVRMLNormalInterpolator, METH_VARARGS, (char *)"new_SoVRMLNormalInterpolator() -> SoVRMLNormalInterpolator"}, - { (char *)"SoVRMLNormalInterpolator_keyValue_set", _wrap_SoVRMLNormalInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_keyValue_set(SoVRMLNormalInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLNormalInterpolator_keyValue_get", _wrap_SoVRMLNormalInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_keyValue_get(SoVRMLNormalInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLNormalInterpolator_value_changed_set", _wrap_SoVRMLNormalInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_value_changed_set(SoVRMLNormalInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLNormalInterpolator_value_changed_get", _wrap_SoVRMLNormalInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_value_changed_get(SoVRMLNormalInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLNormalInterpolator_swigregister", SoVRMLNormalInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLOrientationInterpolator_getClassTypeId", _wrap_SoVRMLOrientationInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLOrientationInterpolator_getTypeId", _wrap_SoVRMLOrientationInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getTypeId(SoVRMLOrientationInterpolator self) -> SoType"}, - { (char *)"SoVRMLOrientationInterpolator_getOutputData", _wrap_SoVRMLOrientationInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getOutputData(SoVRMLOrientationInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLOrientationInterpolator_createInstance", _wrap_SoVRMLOrientationInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLOrientationInterpolator_initClass", _wrap_SoVRMLOrientationInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_initClass()"}, - { (char *)"new_SoVRMLOrientationInterpolator", _wrap_new_SoVRMLOrientationInterpolator, METH_VARARGS, (char *)"new_SoVRMLOrientationInterpolator() -> SoVRMLOrientationInterpolator"}, - { (char *)"SoVRMLOrientationInterpolator_keyValue_set", _wrap_SoVRMLOrientationInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_keyValue_set(SoVRMLOrientationInterpolator self, SoMFRotation keyValue)"}, - { (char *)"SoVRMLOrientationInterpolator_keyValue_get", _wrap_SoVRMLOrientationInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_keyValue_get(SoVRMLOrientationInterpolator self) -> SoMFRotation"}, - { (char *)"SoVRMLOrientationInterpolator_value_changed_set", _wrap_SoVRMLOrientationInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_value_changed_set(SoVRMLOrientationInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLOrientationInterpolator_value_changed_get", _wrap_SoVRMLOrientationInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_value_changed_get(SoVRMLOrientationInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLOrientationInterpolator_swigregister", SoVRMLOrientationInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPixelTexture_getClassTypeId", _wrap_SoVRMLPixelTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPixelTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPixelTexture_getTypeId", _wrap_SoVRMLPixelTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLPixelTexture_getTypeId(SoVRMLPixelTexture self) -> SoType"}, - { (char *)"SoVRMLPixelTexture_initClass", _wrap_SoVRMLPixelTexture_initClass, METH_VARARGS, (char *)"SoVRMLPixelTexture_initClass()"}, - { (char *)"new_SoVRMLPixelTexture", _wrap_new_SoVRMLPixelTexture, METH_VARARGS, (char *)"new_SoVRMLPixelTexture() -> SoVRMLPixelTexture"}, - { (char *)"SoVRMLPixelTexture_image_set", _wrap_SoVRMLPixelTexture_image_set, METH_VARARGS, (char *)"SoVRMLPixelTexture_image_set(SoVRMLPixelTexture self, SoSFImage image)"}, - { (char *)"SoVRMLPixelTexture_image_get", _wrap_SoVRMLPixelTexture_image_get, METH_VARARGS, (char *)"SoVRMLPixelTexture_image_get(SoVRMLPixelTexture self) -> SoSFImage"}, - { (char *)"SoVRMLPixelTexture_doAction", _wrap_SoVRMLPixelTexture_doAction, METH_VARARGS, (char *)"SoVRMLPixelTexture_doAction(SoVRMLPixelTexture self, SoAction action)"}, - { (char *)"SoVRMLPixelTexture_GLRender", _wrap_SoVRMLPixelTexture_GLRender, METH_VARARGS, (char *)"SoVRMLPixelTexture_GLRender(SoVRMLPixelTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPixelTexture_callback", _wrap_SoVRMLPixelTexture_callback, METH_VARARGS, (char *)"SoVRMLPixelTexture_callback(SoVRMLPixelTexture self, SoCallbackAction action)"}, - { (char *)"SoVRMLPixelTexture_rayPick", _wrap_SoVRMLPixelTexture_rayPick, METH_VARARGS, (char *)"SoVRMLPixelTexture_rayPick(SoVRMLPixelTexture self, SoRayPickAction action)"}, - { (char *)"SoVRMLPixelTexture_swigregister", SoVRMLPixelTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPlaneSensor_getClassTypeId", _wrap_SoVRMLPlaneSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPlaneSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPlaneSensor_getTypeId", _wrap_SoVRMLPlaneSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLPlaneSensor_getTypeId(SoVRMLPlaneSensor self) -> SoType"}, - { (char *)"SoVRMLPlaneSensor_initClass", _wrap_SoVRMLPlaneSensor_initClass, METH_VARARGS, (char *)"SoVRMLPlaneSensor_initClass()"}, - { (char *)"new_SoVRMLPlaneSensor", _wrap_new_SoVRMLPlaneSensor, METH_VARARGS, (char *)"new_SoVRMLPlaneSensor() -> SoVRMLPlaneSensor"}, - { (char *)"SoVRMLPlaneSensor_minPosition_set", _wrap_SoVRMLPlaneSensor_minPosition_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_minPosition_set(SoVRMLPlaneSensor self, SoSFVec2f minPosition)"}, - { (char *)"SoVRMLPlaneSensor_minPosition_get", _wrap_SoVRMLPlaneSensor_minPosition_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_minPosition_get(SoVRMLPlaneSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLPlaneSensor_maxPosition_set", _wrap_SoVRMLPlaneSensor_maxPosition_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_maxPosition_set(SoVRMLPlaneSensor self, SoSFVec2f maxPosition)"}, - { (char *)"SoVRMLPlaneSensor_maxPosition_get", _wrap_SoVRMLPlaneSensor_maxPosition_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_maxPosition_get(SoVRMLPlaneSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLPlaneSensor_offset_set", _wrap_SoVRMLPlaneSensor_offset_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_offset_set(SoVRMLPlaneSensor self, SoSFVec3f offset)"}, - { (char *)"SoVRMLPlaneSensor_offset_get", _wrap_SoVRMLPlaneSensor_offset_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_offset_get(SoVRMLPlaneSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLPlaneSensor_translation_changed_set", _wrap_SoVRMLPlaneSensor_translation_changed_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_translation_changed_set(SoVRMLPlaneSensor self, SoSFVec3f translation_changed)"}, - { (char *)"SoVRMLPlaneSensor_translation_changed_get", _wrap_SoVRMLPlaneSensor_translation_changed_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_translation_changed_get(SoVRMLPlaneSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLPlaneSensor_swigregister", SoVRMLPlaneSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPointLight_getClassTypeId", _wrap_SoVRMLPointLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPointLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPointLight_getTypeId", _wrap_SoVRMLPointLight_getTypeId, METH_VARARGS, (char *)"SoVRMLPointLight_getTypeId(SoVRMLPointLight self) -> SoType"}, - { (char *)"SoVRMLPointLight_initClass", _wrap_SoVRMLPointLight_initClass, METH_VARARGS, (char *)"SoVRMLPointLight_initClass()"}, - { (char *)"new_SoVRMLPointLight", _wrap_new_SoVRMLPointLight, METH_VARARGS, (char *)"new_SoVRMLPointLight() -> SoVRMLPointLight"}, - { (char *)"SoVRMLPointLight_location_set", _wrap_SoVRMLPointLight_location_set, METH_VARARGS, (char *)"SoVRMLPointLight_location_set(SoVRMLPointLight self, SoSFVec3f location)"}, - { (char *)"SoVRMLPointLight_location_get", _wrap_SoVRMLPointLight_location_get, METH_VARARGS, (char *)"SoVRMLPointLight_location_get(SoVRMLPointLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLPointLight_radius_set", _wrap_SoVRMLPointLight_radius_set, METH_VARARGS, (char *)"SoVRMLPointLight_radius_set(SoVRMLPointLight self, SoSFFloat radius)"}, - { (char *)"SoVRMLPointLight_radius_get", _wrap_SoVRMLPointLight_radius_get, METH_VARARGS, (char *)"SoVRMLPointLight_radius_get(SoVRMLPointLight self) -> SoSFFloat"}, - { (char *)"SoVRMLPointLight_attenuation_set", _wrap_SoVRMLPointLight_attenuation_set, METH_VARARGS, (char *)"SoVRMLPointLight_attenuation_set(SoVRMLPointLight self, SoSFVec3f attenuation)"}, - { (char *)"SoVRMLPointLight_attenuation_get", _wrap_SoVRMLPointLight_attenuation_get, METH_VARARGS, (char *)"SoVRMLPointLight_attenuation_get(SoVRMLPointLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLPointLight_GLRender", _wrap_SoVRMLPointLight_GLRender, METH_VARARGS, (char *)"SoVRMLPointLight_GLRender(SoVRMLPointLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPointLight_swigregister", SoVRMLPointLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexPoint_getClassTypeId", _wrap_SoVRMLVertexPoint_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexPoint_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexPoint_getTypeId", _wrap_SoVRMLVertexPoint_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexPoint_getTypeId(SoVRMLVertexPoint self) -> SoType"}, - { (char *)"SoVRMLVertexPoint_initClass", _wrap_SoVRMLVertexPoint_initClass, METH_VARARGS, (char *)"SoVRMLVertexPoint_initClass()"}, - { (char *)"SoVRMLVertexPoint_coord_set", _wrap_SoVRMLVertexPoint_coord_set, METH_VARARGS, (char *)"SoVRMLVertexPoint_coord_set(SoVRMLVertexPoint self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexPoint_coord_get", _wrap_SoVRMLVertexPoint_coord_get, METH_VARARGS, (char *)"SoVRMLVertexPoint_coord_get(SoVRMLVertexPoint self) -> SoSFNode"}, - { (char *)"SoVRMLVertexPoint_color_set", _wrap_SoVRMLVertexPoint_color_set, METH_VARARGS, (char *)"SoVRMLVertexPoint_color_set(SoVRMLVertexPoint self, SoSFNode color)"}, - { (char *)"SoVRMLVertexPoint_color_get", _wrap_SoVRMLVertexPoint_color_get, METH_VARARGS, (char *)"SoVRMLVertexPoint_color_get(SoVRMLVertexPoint self) -> SoSFNode"}, - { (char *)"SoVRMLVertexPoint_doAction", _wrap_SoVRMLVertexPoint_doAction, METH_VARARGS, (char *)"SoVRMLVertexPoint_doAction(SoVRMLVertexPoint self, SoAction action)"}, - { (char *)"SoVRMLVertexPoint_GLRender", _wrap_SoVRMLVertexPoint_GLRender, METH_VARARGS, (char *)"SoVRMLVertexPoint_GLRender(SoVRMLVertexPoint self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexPoint_getBoundingBox", _wrap_SoVRMLVertexPoint_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexPoint_getBoundingBox(SoVRMLVertexPoint self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexPoint_callback", _wrap_SoVRMLVertexPoint_callback, METH_VARARGS, (char *)"SoVRMLVertexPoint_callback(SoVRMLVertexPoint self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexPoint_pick", _wrap_SoVRMLVertexPoint_pick, METH_VARARGS, (char *)"SoVRMLVertexPoint_pick(SoVRMLVertexPoint self, SoPickAction action)"}, - { (char *)"SoVRMLVertexPoint_getPrimitiveCount", _wrap_SoVRMLVertexPoint_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLVertexPoint_getPrimitiveCount(SoVRMLVertexPoint self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLVertexPoint_notify", _wrap_SoVRMLVertexPoint_notify, METH_VARARGS, (char *)"SoVRMLVertexPoint_notify(SoVRMLVertexPoint self, SoNotList list)"}, - { (char *)"SoVRMLVertexPoint_swigregister", SoVRMLVertexPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPointSet_getClassTypeId", _wrap_SoVRMLPointSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPointSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPointSet_getTypeId", _wrap_SoVRMLPointSet_getTypeId, METH_VARARGS, (char *)"SoVRMLPointSet_getTypeId(SoVRMLPointSet self) -> SoType"}, - { (char *)"SoVRMLPointSet_initClass", _wrap_SoVRMLPointSet_initClass, METH_VARARGS, (char *)"SoVRMLPointSet_initClass()"}, - { (char *)"new_SoVRMLPointSet", _wrap_new_SoVRMLPointSet, METH_VARARGS, (char *)"new_SoVRMLPointSet() -> SoVRMLPointSet"}, - { (char *)"SoVRMLPointSet_GLRender", _wrap_SoVRMLPointSet_GLRender, METH_VARARGS, (char *)"SoVRMLPointSet_GLRender(SoVRMLPointSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPointSet_getBoundingBox", _wrap_SoVRMLPointSet_getBoundingBox, METH_VARARGS, (char *)"SoVRMLPointSet_getBoundingBox(SoVRMLPointSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLPointSet_swigregister", SoVRMLPointSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPositionInterpolator_getClassTypeId", _wrap_SoVRMLPositionInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPositionInterpolator_getTypeId", _wrap_SoVRMLPositionInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getTypeId(SoVRMLPositionInterpolator self) -> SoType"}, - { (char *)"SoVRMLPositionInterpolator_getOutputData", _wrap_SoVRMLPositionInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getOutputData(SoVRMLPositionInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLPositionInterpolator_createInstance", _wrap_SoVRMLPositionInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLPositionInterpolator_initClass", _wrap_SoVRMLPositionInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_initClass()"}, - { (char *)"new_SoVRMLPositionInterpolator", _wrap_new_SoVRMLPositionInterpolator, METH_VARARGS, (char *)"new_SoVRMLPositionInterpolator() -> SoVRMLPositionInterpolator"}, - { (char *)"SoVRMLPositionInterpolator_keyValue_set", _wrap_SoVRMLPositionInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_keyValue_set(SoVRMLPositionInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLPositionInterpolator_keyValue_get", _wrap_SoVRMLPositionInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_keyValue_get(SoVRMLPositionInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLPositionInterpolator_value_changed_set", _wrap_SoVRMLPositionInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_value_changed_set(SoVRMLPositionInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLPositionInterpolator_value_changed_get", _wrap_SoVRMLPositionInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_value_changed_get(SoVRMLPositionInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLPositionInterpolator_swigregister", SoVRMLPositionInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLProximitySensor_getClassTypeId", _wrap_SoVRMLProximitySensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLProximitySensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLProximitySensor_getTypeId", _wrap_SoVRMLProximitySensor_getTypeId, METH_VARARGS, (char *)"SoVRMLProximitySensor_getTypeId(SoVRMLProximitySensor self) -> SoType"}, - { (char *)"SoVRMLProximitySensor_initClass", _wrap_SoVRMLProximitySensor_initClass, METH_VARARGS, (char *)"SoVRMLProximitySensor_initClass()"}, - { (char *)"new_SoVRMLProximitySensor", _wrap_new_SoVRMLProximitySensor, METH_VARARGS, (char *)"new_SoVRMLProximitySensor() -> SoVRMLProximitySensor"}, - { (char *)"SoVRMLProximitySensor_center_set", _wrap_SoVRMLProximitySensor_center_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_center_set(SoVRMLProximitySensor self, SoSFVec3f center)"}, - { (char *)"SoVRMLProximitySensor_center_get", _wrap_SoVRMLProximitySensor_center_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_center_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_size_set", _wrap_SoVRMLProximitySensor_size_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_size_set(SoVRMLProximitySensor self, SoSFVec3f size)"}, - { (char *)"SoVRMLProximitySensor_size_get", _wrap_SoVRMLProximitySensor_size_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_size_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_enabled_set", _wrap_SoVRMLProximitySensor_enabled_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_enabled_set(SoVRMLProximitySensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLProximitySensor_enabled_get", _wrap_SoVRMLProximitySensor_enabled_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_enabled_get(SoVRMLProximitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLProximitySensor_isActive_set", _wrap_SoVRMLProximitySensor_isActive_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_isActive_set(SoVRMLProximitySensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLProximitySensor_isActive_get", _wrap_SoVRMLProximitySensor_isActive_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_isActive_get(SoVRMLProximitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLProximitySensor_position_changed_set", _wrap_SoVRMLProximitySensor_position_changed_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_position_changed_set(SoVRMLProximitySensor self, SoSFVec3f position_changed)"}, - { (char *)"SoVRMLProximitySensor_position_changed_get", _wrap_SoVRMLProximitySensor_position_changed_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_position_changed_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_orientation_changed_set", _wrap_SoVRMLProximitySensor_orientation_changed_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_orientation_changed_set(SoVRMLProximitySensor self, SoSFRotation orientation_changed)"}, - { (char *)"SoVRMLProximitySensor_orientation_changed_get", _wrap_SoVRMLProximitySensor_orientation_changed_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_orientation_changed_get(SoVRMLProximitySensor self) -> SoSFRotation"}, - { (char *)"SoVRMLProximitySensor_enterTime_set", _wrap_SoVRMLProximitySensor_enterTime_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_enterTime_set(SoVRMLProximitySensor self, SoSFTime enterTime)"}, - { (char *)"SoVRMLProximitySensor_enterTime_get", _wrap_SoVRMLProximitySensor_enterTime_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_enterTime_get(SoVRMLProximitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLProximitySensor_exitTime_set", _wrap_SoVRMLProximitySensor_exitTime_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_exitTime_set(SoVRMLProximitySensor self, SoSFTime exitTime)"}, - { (char *)"SoVRMLProximitySensor_exitTime_get", _wrap_SoVRMLProximitySensor_exitTime_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_exitTime_get(SoVRMLProximitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLProximitySensor_affectsState", _wrap_SoVRMLProximitySensor_affectsState, METH_VARARGS, (char *)"SoVRMLProximitySensor_affectsState(SoVRMLProximitySensor self) -> SbBool"}, - { (char *)"SoVRMLProximitySensor_doAction", _wrap_SoVRMLProximitySensor_doAction, METH_VARARGS, (char *)"SoVRMLProximitySensor_doAction(SoVRMLProximitySensor self, SoAction action)"}, - { (char *)"SoVRMLProximitySensor_GLRender", _wrap_SoVRMLProximitySensor_GLRender, METH_VARARGS, (char *)"SoVRMLProximitySensor_GLRender(SoVRMLProximitySensor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLProximitySensor_callback", _wrap_SoVRMLProximitySensor_callback, METH_VARARGS, (char *)"SoVRMLProximitySensor_callback(SoVRMLProximitySensor self, SoCallbackAction action)"}, - { (char *)"SoVRMLProximitySensor_rayPick", _wrap_SoVRMLProximitySensor_rayPick, METH_VARARGS, (char *)"SoVRMLProximitySensor_rayPick(SoVRMLProximitySensor self, SoRayPickAction action)"}, - { (char *)"SoVRMLProximitySensor_getBoundingBox", _wrap_SoVRMLProximitySensor_getBoundingBox, METH_VARARGS, (char *)"SoVRMLProximitySensor_getBoundingBox(SoVRMLProximitySensor self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLProximitySensor_swigregister", SoVRMLProximitySensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLScalarInterpolator_getClassTypeId", _wrap_SoVRMLScalarInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLScalarInterpolator_getTypeId", _wrap_SoVRMLScalarInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getTypeId(SoVRMLScalarInterpolator self) -> SoType"}, - { (char *)"SoVRMLScalarInterpolator_getOutputData", _wrap_SoVRMLScalarInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getOutputData(SoVRMLScalarInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLScalarInterpolator_createInstance", _wrap_SoVRMLScalarInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLScalarInterpolator_initClass", _wrap_SoVRMLScalarInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_initClass()"}, - { (char *)"new_SoVRMLScalarInterpolator", _wrap_new_SoVRMLScalarInterpolator, METH_VARARGS, (char *)"new_SoVRMLScalarInterpolator() -> SoVRMLScalarInterpolator"}, - { (char *)"SoVRMLScalarInterpolator_keyValue_set", _wrap_SoVRMLScalarInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_keyValue_set(SoVRMLScalarInterpolator self, SoMFFloat keyValue)"}, - { (char *)"SoVRMLScalarInterpolator_keyValue_get", _wrap_SoVRMLScalarInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_keyValue_get(SoVRMLScalarInterpolator self) -> SoMFFloat"}, - { (char *)"SoVRMLScalarInterpolator_value_changed_set", _wrap_SoVRMLScalarInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_value_changed_set(SoVRMLScalarInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLScalarInterpolator_value_changed_get", _wrap_SoVRMLScalarInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_value_changed_get(SoVRMLScalarInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLScalarInterpolator_swigregister", SoVRMLScalarInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLScript_initClass", _wrap_SoVRMLScript_initClass, METH_VARARGS, (char *)"SoVRMLScript_initClass()"}, - { (char *)"new_SoVRMLScript", _wrap_new_SoVRMLScript, METH_VARARGS, (char *)"new_SoVRMLScript() -> SoVRMLScript"}, - { (char *)"SoVRMLScript_getClassTypeId", _wrap_SoVRMLScript_getClassTypeId, METH_VARARGS, (char *)"SoVRMLScript_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLScript_getTypeId", _wrap_SoVRMLScript_getTypeId, METH_VARARGS, (char *)"SoVRMLScript_getTypeId(SoVRMLScript self) -> SoType"}, - { (char *)"SoVRMLScript_url_set", _wrap_SoVRMLScript_url_set, METH_VARARGS, (char *)"SoVRMLScript_url_set(SoVRMLScript self, SoMFString url)"}, - { (char *)"SoVRMLScript_url_get", _wrap_SoVRMLScript_url_get, METH_VARARGS, (char *)"SoVRMLScript_url_get(SoVRMLScript self) -> SoMFString"}, - { (char *)"SoVRMLScript_directOutput_set", _wrap_SoVRMLScript_directOutput_set, METH_VARARGS, (char *)"SoVRMLScript_directOutput_set(SoVRMLScript self, SoSFBool directOutput)"}, - { (char *)"SoVRMLScript_directOutput_get", _wrap_SoVRMLScript_directOutput_get, METH_VARARGS, (char *)"SoVRMLScript_directOutput_get(SoVRMLScript self) -> SoSFBool"}, - { (char *)"SoVRMLScript_mustEvaluate_set", _wrap_SoVRMLScript_mustEvaluate_set, METH_VARARGS, (char *)"SoVRMLScript_mustEvaluate_set(SoVRMLScript self, SoSFBool mustEvaluate)"}, - { (char *)"SoVRMLScript_mustEvaluate_get", _wrap_SoVRMLScript_mustEvaluate_get, METH_VARARGS, (char *)"SoVRMLScript_mustEvaluate_get(SoVRMLScript self) -> SoSFBool"}, - { (char *)"SoVRMLScript_doAction", _wrap_SoVRMLScript_doAction, METH_VARARGS, (char *)"SoVRMLScript_doAction(SoVRMLScript self, SoAction action)"}, - { (char *)"SoVRMLScript_callback", _wrap_SoVRMLScript_callback, METH_VARARGS, (char *)"SoVRMLScript_callback(SoVRMLScript self, SoCallbackAction action)"}, - { (char *)"SoVRMLScript_GLRender", _wrap_SoVRMLScript_GLRender, METH_VARARGS, (char *)"SoVRMLScript_GLRender(SoVRMLScript self, SoGLRenderAction action)"}, - { (char *)"SoVRMLScript_getBoundingBox", _wrap_SoVRMLScript_getBoundingBox, METH_VARARGS, (char *)"SoVRMLScript_getBoundingBox(SoVRMLScript self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLScript_pick", _wrap_SoVRMLScript_pick, METH_VARARGS, (char *)"SoVRMLScript_pick(SoVRMLScript self, SoPickAction action)"}, - { (char *)"SoVRMLScript_handleEvent", _wrap_SoVRMLScript_handleEvent, METH_VARARGS, (char *)"SoVRMLScript_handleEvent(SoVRMLScript self, SoHandleEventAction action)"}, - { (char *)"SoVRMLScript_write", _wrap_SoVRMLScript_write, METH_VARARGS, (char *)"SoVRMLScript_write(SoVRMLScript self, SoWriteAction action)"}, - { (char *)"SoVRMLScript_setScriptEvaluateCB", _wrap_SoVRMLScript_setScriptEvaluateCB, METH_VARARGS, (char *)"SoVRMLScript_setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)"}, - { (char *)"SoVRMLScript_swigregister", SoVRMLScript_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLShape_getClassTypeId", _wrap_SoVRMLShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLShape_getTypeId", _wrap_SoVRMLShape_getTypeId, METH_VARARGS, (char *)"SoVRMLShape_getTypeId(SoVRMLShape self) -> SoType"}, - { (char *)"SoVRMLShape_initClass", _wrap_SoVRMLShape_initClass, METH_VARARGS, (char *)"SoVRMLShape_initClass()"}, - { (char *)"new_SoVRMLShape", _wrap_new_SoVRMLShape, METH_VARARGS, (char *)"new_SoVRMLShape() -> SoVRMLShape"}, - { (char *)"SoVRMLShape_appearance_set", _wrap_SoVRMLShape_appearance_set, METH_VARARGS, (char *)"SoVRMLShape_appearance_set(SoVRMLShape self, SoSFNode appearance)"}, - { (char *)"SoVRMLShape_appearance_get", _wrap_SoVRMLShape_appearance_get, METH_VARARGS, (char *)"SoVRMLShape_appearance_get(SoVRMLShape self) -> SoSFNode"}, - { (char *)"SoVRMLShape_geometry_set", _wrap_SoVRMLShape_geometry_set, METH_VARARGS, (char *)"SoVRMLShape_geometry_set(SoVRMLShape self, SoSFNode geometry)"}, - { (char *)"SoVRMLShape_geometry_get", _wrap_SoVRMLShape_geometry_get, METH_VARARGS, (char *)"SoVRMLShape_geometry_get(SoVRMLShape self) -> SoSFNode"}, - { (char *)"SoVRMLShape_renderCaching_set", _wrap_SoVRMLShape_renderCaching_set, METH_VARARGS, (char *)"SoVRMLShape_renderCaching_set(SoVRMLShape self, SoSFEnum renderCaching)"}, - { (char *)"SoVRMLShape_renderCaching_get", _wrap_SoVRMLShape_renderCaching_get, METH_VARARGS, (char *)"SoVRMLShape_renderCaching_get(SoVRMLShape self) -> SoSFEnum"}, - { (char *)"SoVRMLShape_boundingBoxCaching_set", _wrap_SoVRMLShape_boundingBoxCaching_set, METH_VARARGS, (char *)"SoVRMLShape_boundingBoxCaching_set(SoVRMLShape self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoVRMLShape_boundingBoxCaching_get", _wrap_SoVRMLShape_boundingBoxCaching_get, METH_VARARGS, (char *)"SoVRMLShape_boundingBoxCaching_get(SoVRMLShape self) -> SoSFEnum"}, - { (char *)"SoVRMLShape_setNumRenderCaches", _wrap_SoVRMLShape_setNumRenderCaches, METH_VARARGS, (char *)"SoVRMLShape_setNumRenderCaches(int num)"}, - { (char *)"SoVRMLShape_getNumRenderCaches", _wrap_SoVRMLShape_getNumRenderCaches, METH_VARARGS, (char *)"SoVRMLShape_getNumRenderCaches() -> int"}, - { (char *)"SoVRMLShape_affectsState", _wrap_SoVRMLShape_affectsState, METH_VARARGS, (char *)"SoVRMLShape_affectsState(SoVRMLShape self) -> SbBool"}, - { (char *)"SoVRMLShape_doAction", _wrap_SoVRMLShape_doAction, METH_VARARGS, (char *)"SoVRMLShape_doAction(SoVRMLShape self, SoAction action)"}, - { (char *)"SoVRMLShape_callback", _wrap_SoVRMLShape_callback, METH_VARARGS, (char *)"SoVRMLShape_callback(SoVRMLShape self, SoCallbackAction action)"}, - { (char *)"SoVRMLShape_GLRender", _wrap_SoVRMLShape_GLRender, METH_VARARGS, (char *)"SoVRMLShape_GLRender(SoVRMLShape self, SoGLRenderAction action)"}, - { (char *)"SoVRMLShape_getBoundingBox", _wrap_SoVRMLShape_getBoundingBox, METH_VARARGS, (char *)"SoVRMLShape_getBoundingBox(SoVRMLShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLShape_rayPick", _wrap_SoVRMLShape_rayPick, METH_VARARGS, (char *)"SoVRMLShape_rayPick(SoVRMLShape self, SoRayPickAction action)"}, - { (char *)"SoVRMLShape_search", _wrap_SoVRMLShape_search, METH_VARARGS, (char *)"SoVRMLShape_search(SoVRMLShape self, SoSearchAction action)"}, - { (char *)"SoVRMLShape_write", _wrap_SoVRMLShape_write, METH_VARARGS, (char *)"SoVRMLShape_write(SoVRMLShape self, SoWriteAction action)"}, - { (char *)"SoVRMLShape_getPrimitiveCount", _wrap_SoVRMLShape_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLShape_getPrimitiveCount(SoVRMLShape self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLShape_getChildren", _wrap_SoVRMLShape_getChildren, METH_VARARGS, (char *)"SoVRMLShape_getChildren(SoVRMLShape self) -> SoChildList"}, - { (char *)"SoVRMLShape_notify", _wrap_SoVRMLShape_notify, METH_VARARGS, (char *)"SoVRMLShape_notify(SoVRMLShape self, SoNotList list)"}, - { (char *)"SoVRMLShape_copyContents", _wrap_SoVRMLShape_copyContents, METH_VARARGS, (char *)"SoVRMLShape_copyContents(SoVRMLShape self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLShape_swigregister", SoVRMLShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSound_getClassTypeId", _wrap_SoVRMLSound_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSound_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSound_getTypeId", _wrap_SoVRMLSound_getTypeId, METH_VARARGS, (char *)"SoVRMLSound_getTypeId(SoVRMLSound self) -> SoType"}, - { (char *)"SoVRMLSound_initClass", _wrap_SoVRMLSound_initClass, METH_VARARGS, (char *)"SoVRMLSound_initClass()"}, - { (char *)"new_SoVRMLSound", _wrap_new_SoVRMLSound, METH_VARARGS, (char *)"new_SoVRMLSound() -> SoVRMLSound"}, - { (char *)"SoVRMLSound_source_set", _wrap_SoVRMLSound_source_set, METH_VARARGS, (char *)"SoVRMLSound_source_set(SoVRMLSound self, SoSFNode source)"}, - { (char *)"SoVRMLSound_source_get", _wrap_SoVRMLSound_source_get, METH_VARARGS, (char *)"SoVRMLSound_source_get(SoVRMLSound self) -> SoSFNode"}, - { (char *)"SoVRMLSound_intensity_set", _wrap_SoVRMLSound_intensity_set, METH_VARARGS, (char *)"SoVRMLSound_intensity_set(SoVRMLSound self, SoSFFloat intensity)"}, - { (char *)"SoVRMLSound_intensity_get", _wrap_SoVRMLSound_intensity_get, METH_VARARGS, (char *)"SoVRMLSound_intensity_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_priority_set", _wrap_SoVRMLSound_priority_set, METH_VARARGS, (char *)"SoVRMLSound_priority_set(SoVRMLSound self, SoSFFloat priority)"}, - { (char *)"SoVRMLSound_priority_get", _wrap_SoVRMLSound_priority_get, METH_VARARGS, (char *)"SoVRMLSound_priority_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_location_set", _wrap_SoVRMLSound_location_set, METH_VARARGS, (char *)"SoVRMLSound_location_set(SoVRMLSound self, SoSFVec3f location)"}, - { (char *)"SoVRMLSound_location_get", _wrap_SoVRMLSound_location_get, METH_VARARGS, (char *)"SoVRMLSound_location_get(SoVRMLSound self) -> SoSFVec3f"}, - { (char *)"SoVRMLSound_direction_set", _wrap_SoVRMLSound_direction_set, METH_VARARGS, (char *)"SoVRMLSound_direction_set(SoVRMLSound self, SoSFVec3f direction)"}, - { (char *)"SoVRMLSound_direction_get", _wrap_SoVRMLSound_direction_get, METH_VARARGS, (char *)"SoVRMLSound_direction_get(SoVRMLSound self) -> SoSFVec3f"}, - { (char *)"SoVRMLSound_minFront_set", _wrap_SoVRMLSound_minFront_set, METH_VARARGS, (char *)"SoVRMLSound_minFront_set(SoVRMLSound self, SoSFFloat minFront)"}, - { (char *)"SoVRMLSound_minFront_get", _wrap_SoVRMLSound_minFront_get, METH_VARARGS, (char *)"SoVRMLSound_minFront_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_maxFront_set", _wrap_SoVRMLSound_maxFront_set, METH_VARARGS, (char *)"SoVRMLSound_maxFront_set(SoVRMLSound self, SoSFFloat maxFront)"}, - { (char *)"SoVRMLSound_maxFront_get", _wrap_SoVRMLSound_maxFront_get, METH_VARARGS, (char *)"SoVRMLSound_maxFront_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_minBack_set", _wrap_SoVRMLSound_minBack_set, METH_VARARGS, (char *)"SoVRMLSound_minBack_set(SoVRMLSound self, SoSFFloat minBack)"}, - { (char *)"SoVRMLSound_minBack_get", _wrap_SoVRMLSound_minBack_get, METH_VARARGS, (char *)"SoVRMLSound_minBack_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_maxBack_set", _wrap_SoVRMLSound_maxBack_set, METH_VARARGS, (char *)"SoVRMLSound_maxBack_set(SoVRMLSound self, SoSFFloat maxBack)"}, - { (char *)"SoVRMLSound_maxBack_get", _wrap_SoVRMLSound_maxBack_get, METH_VARARGS, (char *)"SoVRMLSound_maxBack_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_spatialize_set", _wrap_SoVRMLSound_spatialize_set, METH_VARARGS, (char *)"SoVRMLSound_spatialize_set(SoVRMLSound self, SoSFBool spatialize)"}, - { (char *)"SoVRMLSound_spatialize_get", _wrap_SoVRMLSound_spatialize_get, METH_VARARGS, (char *)"SoVRMLSound_spatialize_get(SoVRMLSound self) -> SoSFBool"}, - { (char *)"SoVRMLSound_dopplerFactor_set", _wrap_SoVRMLSound_dopplerFactor_set, METH_VARARGS, (char *)"SoVRMLSound_dopplerFactor_set(SoVRMLSound self, SoSFFloat dopplerFactor)"}, - { (char *)"SoVRMLSound_dopplerFactor_get", _wrap_SoVRMLSound_dopplerFactor_get, METH_VARARGS, (char *)"SoVRMLSound_dopplerFactor_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_dopplerVelocity_set", _wrap_SoVRMLSound_dopplerVelocity_set, METH_VARARGS, (char *)"SoVRMLSound_dopplerVelocity_set(SoVRMLSound self, SoSFFloat dopplerVelocity)"}, - { (char *)"SoVRMLSound_dopplerVelocity_get", _wrap_SoVRMLSound_dopplerVelocity_get, METH_VARARGS, (char *)"SoVRMLSound_dopplerVelocity_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_setDopplerVelocity", _wrap_SoVRMLSound_setDopplerVelocity, METH_VARARGS, (char *)"SoVRMLSound_setDopplerVelocity(SoVRMLSound self, float velocity)"}, - { (char *)"SoVRMLSound_getDopplerVelocity", _wrap_SoVRMLSound_getDopplerVelocity, METH_VARARGS, (char *)"SoVRMLSound_getDopplerVelocity(SoVRMLSound self) -> float"}, - { (char *)"SoVRMLSound_setDopplerFactor", _wrap_SoVRMLSound_setDopplerFactor, METH_VARARGS, (char *)"SoVRMLSound_setDopplerFactor(SoVRMLSound self, float factor)"}, - { (char *)"SoVRMLSound_getDopplerFactor", _wrap_SoVRMLSound_getDopplerFactor, METH_VARARGS, (char *)"SoVRMLSound_getDopplerFactor(SoVRMLSound self) -> float"}, - { (char *)"SoVRMLSound_startPlaying", _wrap_SoVRMLSound_startPlaying, METH_VARARGS, (char *)"SoVRMLSound_startPlaying(SoVRMLSound self, SoPath path, void userdataptr)"}, - { (char *)"SoVRMLSound_stopPlaying", _wrap_SoVRMLSound_stopPlaying, METH_VARARGS, (char *)"SoVRMLSound_stopPlaying(SoVRMLSound self, SoPath path, void userdataptr)"}, - { (char *)"SoVRMLSound_setDefaultBufferingProperties", _wrap_SoVRMLSound_setDefaultBufferingProperties, METH_VARARGS, (char *)"SoVRMLSound_setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)"}, - { (char *)"SoVRMLSound_setBufferingProperties", _wrap_SoVRMLSound_setBufferingProperties, METH_VARARGS, (char *)"\n" - "SoVRMLSound_setBufferingProperties(SoVRMLSound self, int bufferLength, int numBuffers, \n" - " SbTime sleepTime)\n" - ""}, - { (char *)"SoVRMLSound_getBufferingProperties", _wrap_SoVRMLSound_getBufferingProperties, METH_VARARGS, (char *)"\n" - "SoVRMLSound_getBufferingProperties(SoVRMLSound self, int bufferLength, int numBuffers, \n" - " SbTime sleepTime)\n" - ""}, - { (char *)"SoVRMLSound_audioRender", _wrap_SoVRMLSound_audioRender, METH_VARARGS, (char *)"SoVRMLSound_audioRender(SoVRMLSound self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLSound_swigregister", SoVRMLSound_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSphere_getClassTypeId", _wrap_SoVRMLSphere_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSphere_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSphere_getTypeId", _wrap_SoVRMLSphere_getTypeId, METH_VARARGS, (char *)"SoVRMLSphere_getTypeId(SoVRMLSphere self) -> SoType"}, - { (char *)"SoVRMLSphere_initClass", _wrap_SoVRMLSphere_initClass, METH_VARARGS, (char *)"SoVRMLSphere_initClass()"}, - { (char *)"new_SoVRMLSphere", _wrap_new_SoVRMLSphere, METH_VARARGS, (char *)"new_SoVRMLSphere() -> SoVRMLSphere"}, - { (char *)"SoVRMLSphere_radius_set", _wrap_SoVRMLSphere_radius_set, METH_VARARGS, (char *)"SoVRMLSphere_radius_set(SoVRMLSphere self, SoSFFloat radius)"}, - { (char *)"SoVRMLSphere_radius_get", _wrap_SoVRMLSphere_radius_get, METH_VARARGS, (char *)"SoVRMLSphere_radius_get(SoVRMLSphere self) -> SoSFFloat"}, - { (char *)"SoVRMLSphere_GLRender", _wrap_SoVRMLSphere_GLRender, METH_VARARGS, (char *)"SoVRMLSphere_GLRender(SoVRMLSphere self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSphere_rayPick", _wrap_SoVRMLSphere_rayPick, METH_VARARGS, (char *)"SoVRMLSphere_rayPick(SoVRMLSphere self, SoRayPickAction action)"}, - { (char *)"SoVRMLSphere_getPrimitiveCount", _wrap_SoVRMLSphere_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLSphere_getPrimitiveCount(SoVRMLSphere self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLSphere_swigregister", SoVRMLSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSphereSensor_getClassTypeId", _wrap_SoVRMLSphereSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSphereSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSphereSensor_getTypeId", _wrap_SoVRMLSphereSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLSphereSensor_getTypeId(SoVRMLSphereSensor self) -> SoType"}, - { (char *)"SoVRMLSphereSensor_initClass", _wrap_SoVRMLSphereSensor_initClass, METH_VARARGS, (char *)"SoVRMLSphereSensor_initClass()"}, - { (char *)"new_SoVRMLSphereSensor", _wrap_new_SoVRMLSphereSensor, METH_VARARGS, (char *)"new_SoVRMLSphereSensor() -> SoVRMLSphereSensor"}, - { (char *)"SoVRMLSphereSensor_offset_set", _wrap_SoVRMLSphereSensor_offset_set, METH_VARARGS, (char *)"SoVRMLSphereSensor_offset_set(SoVRMLSphereSensor self, SoSFRotation offset)"}, - { (char *)"SoVRMLSphereSensor_offset_get", _wrap_SoVRMLSphereSensor_offset_get, METH_VARARGS, (char *)"SoVRMLSphereSensor_offset_get(SoVRMLSphereSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLSphereSensor_rotation_changed_set", _wrap_SoVRMLSphereSensor_rotation_changed_set, METH_VARARGS, (char *)"SoVRMLSphereSensor_rotation_changed_set(SoVRMLSphereSensor self, SoSFRotation rotation_changed)"}, - { (char *)"SoVRMLSphereSensor_rotation_changed_get", _wrap_SoVRMLSphereSensor_rotation_changed_get, METH_VARARGS, (char *)"SoVRMLSphereSensor_rotation_changed_get(SoVRMLSphereSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLSphereSensor_swigregister", SoVRMLSphereSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSpotLight_getClassTypeId", _wrap_SoVRMLSpotLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSpotLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSpotLight_getTypeId", _wrap_SoVRMLSpotLight_getTypeId, METH_VARARGS, (char *)"SoVRMLSpotLight_getTypeId(SoVRMLSpotLight self) -> SoType"}, - { (char *)"SoVRMLSpotLight_initClass", _wrap_SoVRMLSpotLight_initClass, METH_VARARGS, (char *)"SoVRMLSpotLight_initClass()"}, - { (char *)"new_SoVRMLSpotLight", _wrap_new_SoVRMLSpotLight, METH_VARARGS, (char *)"new_SoVRMLSpotLight() -> SoVRMLSpotLight"}, - { (char *)"SoVRMLSpotLight_location_set", _wrap_SoVRMLSpotLight_location_set, METH_VARARGS, (char *)"SoVRMLSpotLight_location_set(SoVRMLSpotLight self, SoSFVec3f location)"}, - { (char *)"SoVRMLSpotLight_location_get", _wrap_SoVRMLSpotLight_location_get, METH_VARARGS, (char *)"SoVRMLSpotLight_location_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_direction_set", _wrap_SoVRMLSpotLight_direction_set, METH_VARARGS, (char *)"SoVRMLSpotLight_direction_set(SoVRMLSpotLight self, SoSFVec3f direction)"}, - { (char *)"SoVRMLSpotLight_direction_get", _wrap_SoVRMLSpotLight_direction_get, METH_VARARGS, (char *)"SoVRMLSpotLight_direction_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_beamWidth_set", _wrap_SoVRMLSpotLight_beamWidth_set, METH_VARARGS, (char *)"SoVRMLSpotLight_beamWidth_set(SoVRMLSpotLight self, SoSFFloat beamWidth)"}, - { (char *)"SoVRMLSpotLight_beamWidth_get", _wrap_SoVRMLSpotLight_beamWidth_get, METH_VARARGS, (char *)"SoVRMLSpotLight_beamWidth_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_cutOffAngle_set", _wrap_SoVRMLSpotLight_cutOffAngle_set, METH_VARARGS, (char *)"SoVRMLSpotLight_cutOffAngle_set(SoVRMLSpotLight self, SoSFFloat cutOffAngle)"}, - { (char *)"SoVRMLSpotLight_cutOffAngle_get", _wrap_SoVRMLSpotLight_cutOffAngle_get, METH_VARARGS, (char *)"SoVRMLSpotLight_cutOffAngle_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_radius_set", _wrap_SoVRMLSpotLight_radius_set, METH_VARARGS, (char *)"SoVRMLSpotLight_radius_set(SoVRMLSpotLight self, SoSFFloat radius)"}, - { (char *)"SoVRMLSpotLight_radius_get", _wrap_SoVRMLSpotLight_radius_get, METH_VARARGS, (char *)"SoVRMLSpotLight_radius_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_attenuation_set", _wrap_SoVRMLSpotLight_attenuation_set, METH_VARARGS, (char *)"SoVRMLSpotLight_attenuation_set(SoVRMLSpotLight self, SoSFVec3f attenuation)"}, - { (char *)"SoVRMLSpotLight_attenuation_get", _wrap_SoVRMLSpotLight_attenuation_get, METH_VARARGS, (char *)"SoVRMLSpotLight_attenuation_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_GLRender", _wrap_SoVRMLSpotLight_GLRender, METH_VARARGS, (char *)"SoVRMLSpotLight_GLRender(SoVRMLSpotLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSpotLight_swigregister", SoVRMLSpotLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSwitch_getClassTypeId", _wrap_SoVRMLSwitch_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSwitch_getTypeId", _wrap_SoVRMLSwitch_getTypeId, METH_VARARGS, (char *)"SoVRMLSwitch_getTypeId(SoVRMLSwitch self) -> SoType"}, - { (char *)"SoVRMLSwitch_initClass", _wrap_SoVRMLSwitch_initClass, METH_VARARGS, (char *)"SoVRMLSwitch_initClass()"}, - { (char *)"new_SoVRMLSwitch", _wrap_new_SoVRMLSwitch, METH_VARARGS, (char *)"\n" - "SoVRMLSwitch()\n" - "new_SoVRMLSwitch(int choices) -> SoVRMLSwitch\n" - ""}, - { (char *)"SoVRMLSwitch_choice_set", _wrap_SoVRMLSwitch_choice_set, METH_VARARGS, (char *)"SoVRMLSwitch_choice_set(SoVRMLSwitch self, SoMFNode choice)"}, - { (char *)"SoVRMLSwitch_choice_get", _wrap_SoVRMLSwitch_choice_get, METH_VARARGS, (char *)"SoVRMLSwitch_choice_get(SoVRMLSwitch self) -> SoMFNode"}, - { (char *)"SoVRMLSwitch_whichChoice_set", _wrap_SoVRMLSwitch_whichChoice_set, METH_VARARGS, (char *)"SoVRMLSwitch_whichChoice_set(SoVRMLSwitch self, SoSFInt32 whichChoice)"}, - { (char *)"SoVRMLSwitch_whichChoice_get", _wrap_SoVRMLSwitch_whichChoice_get, METH_VARARGS, (char *)"SoVRMLSwitch_whichChoice_get(SoVRMLSwitch self) -> SoSFInt32"}, - { (char *)"SoVRMLSwitch_affectsState", _wrap_SoVRMLSwitch_affectsState, METH_VARARGS, (char *)"SoVRMLSwitch_affectsState(SoVRMLSwitch self) -> SbBool"}, - { (char *)"SoVRMLSwitch_addChoice", _wrap_SoVRMLSwitch_addChoice, METH_VARARGS, (char *)"SoVRMLSwitch_addChoice(SoVRMLSwitch self, SoNode choice)"}, - { (char *)"SoVRMLSwitch_insertChoice", _wrap_SoVRMLSwitch_insertChoice, METH_VARARGS, (char *)"SoVRMLSwitch_insertChoice(SoVRMLSwitch self, SoNode choice, int idx)"}, - { (char *)"SoVRMLSwitch_getChoice", _wrap_SoVRMLSwitch_getChoice, METH_VARARGS, (char *)"SoVRMLSwitch_getChoice(SoVRMLSwitch self, int idx) -> SoNode"}, - { (char *)"SoVRMLSwitch_findChoice", _wrap_SoVRMLSwitch_findChoice, METH_VARARGS, (char *)"SoVRMLSwitch_findChoice(SoVRMLSwitch self, SoNode choice) -> int"}, - { (char *)"SoVRMLSwitch_getNumChoices", _wrap_SoVRMLSwitch_getNumChoices, METH_VARARGS, (char *)"SoVRMLSwitch_getNumChoices(SoVRMLSwitch self) -> int"}, - { (char *)"SoVRMLSwitch_removeChoice", _wrap_SoVRMLSwitch_removeChoice, METH_VARARGS, (char *)"\n" - "removeChoice(int idx)\n" - "SoVRMLSwitch_removeChoice(SoVRMLSwitch self, SoNode node)\n" - ""}, - { (char *)"SoVRMLSwitch_removeAllChoices", _wrap_SoVRMLSwitch_removeAllChoices, METH_VARARGS, (char *)"SoVRMLSwitch_removeAllChoices(SoVRMLSwitch self)"}, - { (char *)"SoVRMLSwitch_replaceChoice", _wrap_SoVRMLSwitch_replaceChoice, METH_VARARGS, (char *)"\n" - "replaceChoice(int idx, SoNode choice)\n" - "SoVRMLSwitch_replaceChoice(SoVRMLSwitch self, SoNode old, SoNode choice)\n" - ""}, - { (char *)"SoVRMLSwitch_doAction", _wrap_SoVRMLSwitch_doAction, METH_VARARGS, (char *)"SoVRMLSwitch_doAction(SoVRMLSwitch self, SoAction action)"}, - { (char *)"SoVRMLSwitch_callback", _wrap_SoVRMLSwitch_callback, METH_VARARGS, (char *)"SoVRMLSwitch_callback(SoVRMLSwitch self, SoCallbackAction action)"}, - { (char *)"SoVRMLSwitch_GLRender", _wrap_SoVRMLSwitch_GLRender, METH_VARARGS, (char *)"SoVRMLSwitch_GLRender(SoVRMLSwitch self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSwitch_pick", _wrap_SoVRMLSwitch_pick, METH_VARARGS, (char *)"SoVRMLSwitch_pick(SoVRMLSwitch self, SoPickAction action)"}, - { (char *)"SoVRMLSwitch_getBoundingBox", _wrap_SoVRMLSwitch_getBoundingBox, METH_VARARGS, (char *)"SoVRMLSwitch_getBoundingBox(SoVRMLSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLSwitch_handleEvent", _wrap_SoVRMLSwitch_handleEvent, METH_VARARGS, (char *)"SoVRMLSwitch_handleEvent(SoVRMLSwitch self, SoHandleEventAction action)"}, - { (char *)"SoVRMLSwitch_getMatrix", _wrap_SoVRMLSwitch_getMatrix, METH_VARARGS, (char *)"SoVRMLSwitch_getMatrix(SoVRMLSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLSwitch_search", _wrap_SoVRMLSwitch_search, METH_VARARGS, (char *)"SoVRMLSwitch_search(SoVRMLSwitch self, SoSearchAction action)"}, - { (char *)"SoVRMLSwitch_write", _wrap_SoVRMLSwitch_write, METH_VARARGS, (char *)"SoVRMLSwitch_write(SoVRMLSwitch self, SoWriteAction action)"}, - { (char *)"SoVRMLSwitch_audioRender", _wrap_SoVRMLSwitch_audioRender, METH_VARARGS, (char *)"SoVRMLSwitch_audioRender(SoVRMLSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLSwitch_addChild", _wrap_SoVRMLSwitch_addChild, METH_VARARGS, (char *)"SoVRMLSwitch_addChild(SoVRMLSwitch self, SoNode child)"}, - { (char *)"SoVRMLSwitch_insertChild", _wrap_SoVRMLSwitch_insertChild, METH_VARARGS, (char *)"SoVRMLSwitch_insertChild(SoVRMLSwitch self, SoNode child, int idx)"}, - { (char *)"SoVRMLSwitch_getChild", _wrap_SoVRMLSwitch_getChild, METH_VARARGS, (char *)"SoVRMLSwitch_getChild(SoVRMLSwitch self, int idx) -> SoNode"}, - { (char *)"SoVRMLSwitch_findChild", _wrap_SoVRMLSwitch_findChild, METH_VARARGS, (char *)"SoVRMLSwitch_findChild(SoVRMLSwitch self, SoNode child) -> int"}, - { (char *)"SoVRMLSwitch_getNumChildren", _wrap_SoVRMLSwitch_getNumChildren, METH_VARARGS, (char *)"SoVRMLSwitch_getNumChildren(SoVRMLSwitch self) -> int"}, - { (char *)"SoVRMLSwitch_removeChild", _wrap_SoVRMLSwitch_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLSwitch_removeChild(SoVRMLSwitch self, SoNode child)\n" - ""}, - { (char *)"SoVRMLSwitch_removeAllChildren", _wrap_SoVRMLSwitch_removeAllChildren, METH_VARARGS, (char *)"SoVRMLSwitch_removeAllChildren(SoVRMLSwitch self)"}, - { (char *)"SoVRMLSwitch_replaceChild", _wrap_SoVRMLSwitch_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode node)\n" - "SoVRMLSwitch_replaceChild(SoVRMLSwitch self, SoNode old, SoNode node)\n" - ""}, - { (char *)"SoVRMLSwitch_getChildren", _wrap_SoVRMLSwitch_getChildren, METH_VARARGS, (char *)"SoVRMLSwitch_getChildren(SoVRMLSwitch self) -> SoChildList"}, - { (char *)"SoVRMLSwitch_swigregister", SoVRMLSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLText_getClassTypeId", _wrap_SoVRMLText_getClassTypeId, METH_VARARGS, (char *)"SoVRMLText_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLText_getTypeId", _wrap_SoVRMLText_getTypeId, METH_VARARGS, (char *)"SoVRMLText_getTypeId(SoVRMLText self) -> SoType"}, - { (char *)"SoVRMLText_initClass", _wrap_SoVRMLText_initClass, METH_VARARGS, (char *)"SoVRMLText_initClass()"}, - { (char *)"new_SoVRMLText", _wrap_new_SoVRMLText, METH_VARARGS, (char *)"new_SoVRMLText() -> SoVRMLText"}, - { (char *)"SoVRMLText_string_set", _wrap_SoVRMLText_string_set, METH_VARARGS, (char *)"SoVRMLText_string_set(SoVRMLText self, SoMFString string)"}, - { (char *)"SoVRMLText_string_get", _wrap_SoVRMLText_string_get, METH_VARARGS, (char *)"SoVRMLText_string_get(SoVRMLText self) -> SoMFString"}, - { (char *)"SoVRMLText_fontStyle_set", _wrap_SoVRMLText_fontStyle_set, METH_VARARGS, (char *)"SoVRMLText_fontStyle_set(SoVRMLText self, SoSFNode fontStyle)"}, - { (char *)"SoVRMLText_fontStyle_get", _wrap_SoVRMLText_fontStyle_get, METH_VARARGS, (char *)"SoVRMLText_fontStyle_get(SoVRMLText self) -> SoSFNode"}, - { (char *)"SoVRMLText_maxExtent_set", _wrap_SoVRMLText_maxExtent_set, METH_VARARGS, (char *)"SoVRMLText_maxExtent_set(SoVRMLText self, SoSFFloat maxExtent)"}, - { (char *)"SoVRMLText_maxExtent_get", _wrap_SoVRMLText_maxExtent_get, METH_VARARGS, (char *)"SoVRMLText_maxExtent_get(SoVRMLText self) -> SoSFFloat"}, - { (char *)"SoVRMLText_length_set", _wrap_SoVRMLText_length_set, METH_VARARGS, (char *)"SoVRMLText_length_set(SoVRMLText self, SoMFFloat length)"}, - { (char *)"SoVRMLText_length_get", _wrap_SoVRMLText_length_get, METH_VARARGS, (char *)"SoVRMLText_length_get(SoVRMLText self) -> SoMFFloat"}, - { (char *)"SoVRMLText_GLRender", _wrap_SoVRMLText_GLRender, METH_VARARGS, (char *)"SoVRMLText_GLRender(SoVRMLText self, SoGLRenderAction action)"}, - { (char *)"SoVRMLText_getPrimitiveCount", _wrap_SoVRMLText_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLText_getPrimitiveCount(SoVRMLText self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLText_notify", _wrap_SoVRMLText_notify, METH_VARARGS, (char *)"SoVRMLText_notify(SoVRMLText self, SoNotList list)"}, - { (char *)"SoVRMLText_getChildren", _wrap_SoVRMLText_getChildren, METH_VARARGS, (char *)"SoVRMLText_getChildren(SoVRMLText self) -> SoChildList"}, - { (char *)"SoVRMLText_swigregister", SoVRMLText_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTextureCoordinate_getClassTypeId", _wrap_SoVRMLTextureCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTextureCoordinate_getTypeId", _wrap_SoVRMLTextureCoordinate_getTypeId, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getTypeId(SoVRMLTextureCoordinate self) -> SoType"}, - { (char *)"SoVRMLTextureCoordinate_initClass", _wrap_SoVRMLTextureCoordinate_initClass, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_initClass()"}, - { (char *)"new_SoVRMLTextureCoordinate", _wrap_new_SoVRMLTextureCoordinate, METH_VARARGS, (char *)"new_SoVRMLTextureCoordinate() -> SoVRMLTextureCoordinate"}, - { (char *)"SoVRMLTextureCoordinate_point_set", _wrap_SoVRMLTextureCoordinate_point_set, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_point_set(SoVRMLTextureCoordinate self, SoMFVec2f point)"}, - { (char *)"SoVRMLTextureCoordinate_point_get", _wrap_SoVRMLTextureCoordinate_point_get, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_point_get(SoVRMLTextureCoordinate self) -> SoMFVec2f"}, - { (char *)"SoVRMLTextureCoordinate_doAction", _wrap_SoVRMLTextureCoordinate_doAction, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_doAction(SoVRMLTextureCoordinate self, SoAction action)"}, - { (char *)"SoVRMLTextureCoordinate_callback", _wrap_SoVRMLTextureCoordinate_callback, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_callback(SoVRMLTextureCoordinate self, SoCallbackAction action)"}, - { (char *)"SoVRMLTextureCoordinate_GLRender", _wrap_SoVRMLTextureCoordinate_GLRender, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_GLRender(SoVRMLTextureCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTextureCoordinate_pick", _wrap_SoVRMLTextureCoordinate_pick, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_pick(SoVRMLTextureCoordinate self, SoPickAction action)"}, - { (char *)"SoVRMLTextureCoordinate_getPrimitiveCount", _wrap_SoVRMLTextureCoordinate_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getPrimitiveCount(SoVRMLTextureCoordinate self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLTextureCoordinate_swigregister", SoVRMLTextureCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTextureTransform_getClassTypeId", _wrap_SoVRMLTextureTransform_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTextureTransform_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTextureTransform_getTypeId", _wrap_SoVRMLTextureTransform_getTypeId, METH_VARARGS, (char *)"SoVRMLTextureTransform_getTypeId(SoVRMLTextureTransform self) -> SoType"}, - { (char *)"SoVRMLTextureTransform_initClass", _wrap_SoVRMLTextureTransform_initClass, METH_VARARGS, (char *)"SoVRMLTextureTransform_initClass()"}, - { (char *)"new_SoVRMLTextureTransform", _wrap_new_SoVRMLTextureTransform, METH_VARARGS, (char *)"new_SoVRMLTextureTransform() -> SoVRMLTextureTransform"}, - { (char *)"SoVRMLTextureTransform_translation_set", _wrap_SoVRMLTextureTransform_translation_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_translation_set(SoVRMLTextureTransform self, SoSFVec2f translation)"}, - { (char *)"SoVRMLTextureTransform_translation_get", _wrap_SoVRMLTextureTransform_translation_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_translation_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_rotation_set", _wrap_SoVRMLTextureTransform_rotation_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_rotation_set(SoVRMLTextureTransform self, SoSFFloat rotation)"}, - { (char *)"SoVRMLTextureTransform_rotation_get", _wrap_SoVRMLTextureTransform_rotation_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_rotation_get(SoVRMLTextureTransform self) -> SoSFFloat"}, - { (char *)"SoVRMLTextureTransform_scale_set", _wrap_SoVRMLTextureTransform_scale_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_scale_set(SoVRMLTextureTransform self, SoSFVec2f scale)"}, - { (char *)"SoVRMLTextureTransform_scale_get", _wrap_SoVRMLTextureTransform_scale_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_scale_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_center_set", _wrap_SoVRMLTextureTransform_center_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_center_set(SoVRMLTextureTransform self, SoSFVec2f center)"}, - { (char *)"SoVRMLTextureTransform_center_get", _wrap_SoVRMLTextureTransform_center_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_center_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_doAction", _wrap_SoVRMLTextureTransform_doAction, METH_VARARGS, (char *)"SoVRMLTextureTransform_doAction(SoVRMLTextureTransform self, SoAction action)"}, - { (char *)"SoVRMLTextureTransform_callback", _wrap_SoVRMLTextureTransform_callback, METH_VARARGS, (char *)"SoVRMLTextureTransform_callback(SoVRMLTextureTransform self, SoCallbackAction action)"}, - { (char *)"SoVRMLTextureTransform_GLRender", _wrap_SoVRMLTextureTransform_GLRender, METH_VARARGS, (char *)"SoVRMLTextureTransform_GLRender(SoVRMLTextureTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTextureTransform_getMatrix", _wrap_SoVRMLTextureTransform_getMatrix, METH_VARARGS, (char *)"SoVRMLTextureTransform_getMatrix(SoVRMLTextureTransform self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLTextureTransform_pick", _wrap_SoVRMLTextureTransform_pick, METH_VARARGS, (char *)"SoVRMLTextureTransform_pick(SoVRMLTextureTransform self, SoPickAction action)"}, - { (char *)"SoVRMLTextureTransform_swigregister", SoVRMLTextureTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTimeSensor_getClassTypeId", _wrap_SoVRMLTimeSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTimeSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTimeSensor_getTypeId", _wrap_SoVRMLTimeSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLTimeSensor_getTypeId(SoVRMLTimeSensor self) -> SoType"}, - { (char *)"SoVRMLTimeSensor_getOutputData", _wrap_SoVRMLTimeSensor_getOutputData, METH_VARARGS, (char *)"SoVRMLTimeSensor_getOutputData(SoVRMLTimeSensor self) -> SoEngineOutputData"}, - { (char *)"SoVRMLTimeSensor_createInstance", _wrap_SoVRMLTimeSensor_createInstance, METH_VARARGS, (char *)"SoVRMLTimeSensor_createInstance() -> void"}, - { (char *)"SoVRMLTimeSensor_initClass", _wrap_SoVRMLTimeSensor_initClass, METH_VARARGS, (char *)"SoVRMLTimeSensor_initClass()"}, - { (char *)"new_SoVRMLTimeSensor", _wrap_new_SoVRMLTimeSensor, METH_VARARGS, (char *)"new_SoVRMLTimeSensor() -> SoVRMLTimeSensor"}, - { (char *)"SoVRMLTimeSensor_cycleInterval_set", _wrap_SoVRMLTimeSensor_cycleInterval_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleInterval_set(SoVRMLTimeSensor self, SoSFTime cycleInterval)"}, - { (char *)"SoVRMLTimeSensor_cycleInterval_get", _wrap_SoVRMLTimeSensor_cycleInterval_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleInterval_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_enabled_set", _wrap_SoVRMLTimeSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_enabled_set(SoVRMLTimeSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLTimeSensor_enabled_get", _wrap_SoVRMLTimeSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_enabled_get(SoVRMLTimeSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTimeSensor_loop_set", _wrap_SoVRMLTimeSensor_loop_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_loop_set(SoVRMLTimeSensor self, SoSFBool loop)"}, - { (char *)"SoVRMLTimeSensor_loop_get", _wrap_SoVRMLTimeSensor_loop_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_loop_get(SoVRMLTimeSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTimeSensor_startTime_set", _wrap_SoVRMLTimeSensor_startTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_startTime_set(SoVRMLTimeSensor self, SoSFTime startTime)"}, - { (char *)"SoVRMLTimeSensor_startTime_get", _wrap_SoVRMLTimeSensor_startTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_startTime_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_stopTime_set", _wrap_SoVRMLTimeSensor_stopTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_stopTime_set(SoVRMLTimeSensor self, SoSFTime stopTime)"}, - { (char *)"SoVRMLTimeSensor_stopTime_get", _wrap_SoVRMLTimeSensor_stopTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_stopTime_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_notify", _wrap_SoVRMLTimeSensor_notify, METH_VARARGS, (char *)"SoVRMLTimeSensor_notify(SoVRMLTimeSensor self, SoNotList list)"}, - { (char *)"SoVRMLTimeSensor_handleEvent", _wrap_SoVRMLTimeSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLTimeSensor_handleEvent(SoVRMLTimeSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLTimeSensor_write", _wrap_SoVRMLTimeSensor_write, METH_VARARGS, (char *)"SoVRMLTimeSensor_write(SoVRMLTimeSensor self, SoWriteAction action)"}, - { (char *)"SoVRMLTimeSensor_cycleTime_set", _wrap_SoVRMLTimeSensor_cycleTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleTime_set(SoVRMLTimeSensor self, SoEngineOutput cycleTime)"}, - { (char *)"SoVRMLTimeSensor_cycleTime_get", _wrap_SoVRMLTimeSensor_cycleTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleTime_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_fraction_changed_set", _wrap_SoVRMLTimeSensor_fraction_changed_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_fraction_changed_set(SoVRMLTimeSensor self, SoEngineOutput fraction_changed)"}, - { (char *)"SoVRMLTimeSensor_fraction_changed_get", _wrap_SoVRMLTimeSensor_fraction_changed_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_fraction_changed_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_isActive_set", _wrap_SoVRMLTimeSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_isActive_set(SoVRMLTimeSensor self, SoEngineOutput isActive)"}, - { (char *)"SoVRMLTimeSensor_isActive_get", _wrap_SoVRMLTimeSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_isActive_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_time_set", _wrap_SoVRMLTimeSensor_time_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_time_set(SoVRMLTimeSensor self, SoEngineOutput time)"}, - { (char *)"SoVRMLTimeSensor_time_get", _wrap_SoVRMLTimeSensor_time_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_time_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_swigregister", SoVRMLTimeSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTouchSensor_getClassTypeId", _wrap_SoVRMLTouchSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTouchSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTouchSensor_getTypeId", _wrap_SoVRMLTouchSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLTouchSensor_getTypeId(SoVRMLTouchSensor self) -> SoType"}, - { (char *)"SoVRMLTouchSensor_initClass", _wrap_SoVRMLTouchSensor_initClass, METH_VARARGS, (char *)"SoVRMLTouchSensor_initClass()"}, - { (char *)"new_SoVRMLTouchSensor", _wrap_new_SoVRMLTouchSensor, METH_VARARGS, (char *)"new_SoVRMLTouchSensor() -> SoVRMLTouchSensor"}, - { (char *)"SoVRMLTouchSensor_enabled_set", _wrap_SoVRMLTouchSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_enabled_set(SoVRMLTouchSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLTouchSensor_enabled_get", _wrap_SoVRMLTouchSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_enabled_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_hitNormal_changed_set", _wrap_SoVRMLTouchSensor_hitNormal_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitNormal_changed_set(SoVRMLTouchSensor self, SoSFVec3f hitNormal_changed)"}, - { (char *)"SoVRMLTouchSensor_hitNormal_changed_get", _wrap_SoVRMLTouchSensor_hitNormal_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitNormal_changed_get(SoVRMLTouchSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLTouchSensor_hitPoint_changed_set", _wrap_SoVRMLTouchSensor_hitPoint_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitPoint_changed_set(SoVRMLTouchSensor self, SoSFVec3f hitPoint_changed)"}, - { (char *)"SoVRMLTouchSensor_hitPoint_changed_get", _wrap_SoVRMLTouchSensor_hitPoint_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitPoint_changed_get(SoVRMLTouchSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLTouchSensor_hitTexCoord_changed_set", _wrap_SoVRMLTouchSensor_hitTexCoord_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitTexCoord_changed_set(SoVRMLTouchSensor self, SoSFVec2f hitTexCoord_changed)"}, - { (char *)"SoVRMLTouchSensor_hitTexCoord_changed_get", _wrap_SoVRMLTouchSensor_hitTexCoord_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitTexCoord_changed_get(SoVRMLTouchSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLTouchSensor_isActive_set", _wrap_SoVRMLTouchSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_isActive_set(SoVRMLTouchSensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLTouchSensor_isActive_get", _wrap_SoVRMLTouchSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_isActive_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_isOver_set", _wrap_SoVRMLTouchSensor_isOver_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_isOver_set(SoVRMLTouchSensor self, SoSFBool isOver)"}, - { (char *)"SoVRMLTouchSensor_isOver_get", _wrap_SoVRMLTouchSensor_isOver_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_isOver_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_touchTime_set", _wrap_SoVRMLTouchSensor_touchTime_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_touchTime_set(SoVRMLTouchSensor self, SoSFTime touchTime)"}, - { (char *)"SoVRMLTouchSensor_touchTime_get", _wrap_SoVRMLTouchSensor_touchTime_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_touchTime_get(SoVRMLTouchSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTouchSensor_affectsState", _wrap_SoVRMLTouchSensor_affectsState, METH_VARARGS, (char *)"SoVRMLTouchSensor_affectsState(SoVRMLTouchSensor self) -> SbBool"}, - { (char *)"SoVRMLTouchSensor_handleEvent", _wrap_SoVRMLTouchSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLTouchSensor_handleEvent(SoVRMLTouchSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLTouchSensor_swigregister", SoVRMLTouchSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTransform_getClassTypeId", _wrap_SoVRMLTransform_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTransform_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTransform_getTypeId", _wrap_SoVRMLTransform_getTypeId, METH_VARARGS, (char *)"SoVRMLTransform_getTypeId(SoVRMLTransform self) -> SoType"}, - { (char *)"SoVRMLTransform_initClass", _wrap_SoVRMLTransform_initClass, METH_VARARGS, (char *)"SoVRMLTransform_initClass()"}, - { (char *)"new_SoVRMLTransform", _wrap_new_SoVRMLTransform, METH_VARARGS, (char *)"\n" - "SoVRMLTransform()\n" - "new_SoVRMLTransform(int children) -> SoVRMLTransform\n" - ""}, - { (char *)"SoVRMLTransform_translation_set", _wrap_SoVRMLTransform_translation_set, METH_VARARGS, (char *)"SoVRMLTransform_translation_set(SoVRMLTransform self, SoSFVec3f translation)"}, - { (char *)"SoVRMLTransform_translation_get", _wrap_SoVRMLTransform_translation_get, METH_VARARGS, (char *)"SoVRMLTransform_translation_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_rotation_set", _wrap_SoVRMLTransform_rotation_set, METH_VARARGS, (char *)"SoVRMLTransform_rotation_set(SoVRMLTransform self, SoSFRotation rotation)"}, - { (char *)"SoVRMLTransform_rotation_get", _wrap_SoVRMLTransform_rotation_get, METH_VARARGS, (char *)"SoVRMLTransform_rotation_get(SoVRMLTransform self) -> SoSFRotation"}, - { (char *)"SoVRMLTransform_scale_set", _wrap_SoVRMLTransform_scale_set, METH_VARARGS, (char *)"SoVRMLTransform_scale_set(SoVRMLTransform self, SoSFVec3f scale)"}, - { (char *)"SoVRMLTransform_scale_get", _wrap_SoVRMLTransform_scale_get, METH_VARARGS, (char *)"SoVRMLTransform_scale_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_scaleOrientation_set", _wrap_SoVRMLTransform_scaleOrientation_set, METH_VARARGS, (char *)"SoVRMLTransform_scaleOrientation_set(SoVRMLTransform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoVRMLTransform_scaleOrientation_get", _wrap_SoVRMLTransform_scaleOrientation_get, METH_VARARGS, (char *)"SoVRMLTransform_scaleOrientation_get(SoVRMLTransform self) -> SoSFRotation"}, - { (char *)"SoVRMLTransform_center_set", _wrap_SoVRMLTransform_center_set, METH_VARARGS, (char *)"SoVRMLTransform_center_set(SoVRMLTransform self, SoSFVec3f center)"}, - { (char *)"SoVRMLTransform_center_get", _wrap_SoVRMLTransform_center_get, METH_VARARGS, (char *)"SoVRMLTransform_center_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_pointAt", _wrap_SoVRMLTransform_pointAt, METH_VARARGS, (char *)"SoVRMLTransform_pointAt(SoVRMLTransform self, SbVec3f from, SbVec3f to)"}, - { (char *)"SoVRMLTransform_getScaleSpaceMatrix", _wrap_SoVRMLTransform_getScaleSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getScaleSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_getRotationSpaceMatrix", _wrap_SoVRMLTransform_getRotationSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getRotationSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_getTranslationSpaceMatrix", _wrap_SoVRMLTransform_getTranslationSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getTranslationSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_multLeft", _wrap_SoVRMLTransform_multLeft, METH_VARARGS, (char *)"SoVRMLTransform_multLeft(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_multRight", _wrap_SoVRMLTransform_multRight, METH_VARARGS, (char *)"SoVRMLTransform_multRight(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_combineLeft", _wrap_SoVRMLTransform_combineLeft, METH_VARARGS, (char *)"SoVRMLTransform_combineLeft(SoVRMLTransform self, SoVRMLTransform leftnode)"}, - { (char *)"SoVRMLTransform_combineRight", _wrap_SoVRMLTransform_combineRight, METH_VARARGS, (char *)"SoVRMLTransform_combineRight(SoVRMLTransform self, SoVRMLTransform rightnode)"}, - { (char *)"SoVRMLTransform_setMatrix", _wrap_SoVRMLTransform_setMatrix, METH_VARARGS, (char *)"SoVRMLTransform_setMatrix(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_recenter", _wrap_SoVRMLTransform_recenter, METH_VARARGS, (char *)"SoVRMLTransform_recenter(SoVRMLTransform self, SbVec3f newcenter)"}, - { (char *)"SoVRMLTransform_doAction", _wrap_SoVRMLTransform_doAction, METH_VARARGS, (char *)"SoVRMLTransform_doAction(SoVRMLTransform self, SoAction action)"}, - { (char *)"SoVRMLTransform_callback", _wrap_SoVRMLTransform_callback, METH_VARARGS, (char *)"SoVRMLTransform_callback(SoVRMLTransform self, SoCallbackAction action)"}, - { (char *)"SoVRMLTransform_getBoundingBox", _wrap_SoVRMLTransform_getBoundingBox, METH_VARARGS, (char *)"SoVRMLTransform_getBoundingBox(SoVRMLTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLTransform_getMatrix", _wrap_SoVRMLTransform_getMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getMatrix(SoVRMLTransform self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLTransform_rayPick", _wrap_SoVRMLTransform_rayPick, METH_VARARGS, (char *)"SoVRMLTransform_rayPick(SoVRMLTransform self, SoRayPickAction action)"}, - { (char *)"SoVRMLTransform_getPrimitiveCount", _wrap_SoVRMLTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLTransform_getPrimitiveCount(SoVRMLTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLTransform_audioRender", _wrap_SoVRMLTransform_audioRender, METH_VARARGS, (char *)"SoVRMLTransform_audioRender(SoVRMLTransform self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLTransform_GLRenderBelowPath", _wrap_SoVRMLTransform_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLTransform_GLRenderBelowPath(SoVRMLTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTransform_GLRenderInPath", _wrap_SoVRMLTransform_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLTransform_GLRenderInPath(SoVRMLTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTransform_notify", _wrap_SoVRMLTransform_notify, METH_VARARGS, (char *)"SoVRMLTransform_notify(SoVRMLTransform self, SoNotList list)"}, - { (char *)"SoVRMLTransform_swigregister", SoVRMLTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLViewpoint_getClassTypeId", _wrap_SoVRMLViewpoint_getClassTypeId, METH_VARARGS, (char *)"SoVRMLViewpoint_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLViewpoint_getTypeId", _wrap_SoVRMLViewpoint_getTypeId, METH_VARARGS, (char *)"SoVRMLViewpoint_getTypeId(SoVRMLViewpoint self) -> SoType"}, - { (char *)"SoVRMLViewpoint_initClass", _wrap_SoVRMLViewpoint_initClass, METH_VARARGS, (char *)"SoVRMLViewpoint_initClass()"}, - { (char *)"new_SoVRMLViewpoint", _wrap_new_SoVRMLViewpoint, METH_VARARGS, (char *)"new_SoVRMLViewpoint() -> SoVRMLViewpoint"}, - { (char *)"SoVRMLViewpoint_position_set", _wrap_SoVRMLViewpoint_position_set, METH_VARARGS, (char *)"SoVRMLViewpoint_position_set(SoVRMLViewpoint self, SoSFVec3f position)"}, - { (char *)"SoVRMLViewpoint_position_get", _wrap_SoVRMLViewpoint_position_get, METH_VARARGS, (char *)"SoVRMLViewpoint_position_get(SoVRMLViewpoint self) -> SoSFVec3f"}, - { (char *)"SoVRMLViewpoint_orientation_set", _wrap_SoVRMLViewpoint_orientation_set, METH_VARARGS, (char *)"SoVRMLViewpoint_orientation_set(SoVRMLViewpoint self, SoSFRotation orientation)"}, - { (char *)"SoVRMLViewpoint_orientation_get", _wrap_SoVRMLViewpoint_orientation_get, METH_VARARGS, (char *)"SoVRMLViewpoint_orientation_get(SoVRMLViewpoint self) -> SoSFRotation"}, - { (char *)"SoVRMLViewpoint_fieldOfView_set", _wrap_SoVRMLViewpoint_fieldOfView_set, METH_VARARGS, (char *)"SoVRMLViewpoint_fieldOfView_set(SoVRMLViewpoint self, SoSFFloat fieldOfView)"}, - { (char *)"SoVRMLViewpoint_fieldOfView_get", _wrap_SoVRMLViewpoint_fieldOfView_get, METH_VARARGS, (char *)"SoVRMLViewpoint_fieldOfView_get(SoVRMLViewpoint self) -> SoSFFloat"}, - { (char *)"SoVRMLViewpoint_description_set", _wrap_SoVRMLViewpoint_description_set, METH_VARARGS, (char *)"SoVRMLViewpoint_description_set(SoVRMLViewpoint self, SoSFString description)"}, - { (char *)"SoVRMLViewpoint_description_get", _wrap_SoVRMLViewpoint_description_get, METH_VARARGS, (char *)"SoVRMLViewpoint_description_get(SoVRMLViewpoint self) -> SoSFString"}, - { (char *)"SoVRMLViewpoint_jump_set", _wrap_SoVRMLViewpoint_jump_set, METH_VARARGS, (char *)"SoVRMLViewpoint_jump_set(SoVRMLViewpoint self, SoSFBool jump)"}, - { (char *)"SoVRMLViewpoint_jump_get", _wrap_SoVRMLViewpoint_jump_get, METH_VARARGS, (char *)"SoVRMLViewpoint_jump_get(SoVRMLViewpoint self) -> SoSFBool"}, - { (char *)"SoVRMLViewpoint_GLRender", _wrap_SoVRMLViewpoint_GLRender, METH_VARARGS, (char *)"SoVRMLViewpoint_GLRender(SoVRMLViewpoint self, SoGLRenderAction action)"}, - { (char *)"SoVRMLViewpoint_swigregister", SoVRMLViewpoint_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVisibilitySensor_getClassTypeId", _wrap_SoVRMLVisibilitySensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVisibilitySensor_getTypeId", _wrap_SoVRMLVisibilitySensor_getTypeId, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_getTypeId(SoVRMLVisibilitySensor self) -> SoType"}, - { (char *)"SoVRMLVisibilitySensor_initClass", _wrap_SoVRMLVisibilitySensor_initClass, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_initClass()"}, - { (char *)"new_SoVRMLVisibilitySensor", _wrap_new_SoVRMLVisibilitySensor, METH_VARARGS, (char *)"new_SoVRMLVisibilitySensor() -> SoVRMLVisibilitySensor"}, - { (char *)"SoVRMLVisibilitySensor_center_set", _wrap_SoVRMLVisibilitySensor_center_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_center_set(SoVRMLVisibilitySensor self, SoSFVec3f center)"}, - { (char *)"SoVRMLVisibilitySensor_center_get", _wrap_SoVRMLVisibilitySensor_center_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_center_get(SoVRMLVisibilitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLVisibilitySensor_size_set", _wrap_SoVRMLVisibilitySensor_size_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_size_set(SoVRMLVisibilitySensor self, SoSFVec3f size)"}, - { (char *)"SoVRMLVisibilitySensor_size_get", _wrap_SoVRMLVisibilitySensor_size_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_size_get(SoVRMLVisibilitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLVisibilitySensor_enabled_set", _wrap_SoVRMLVisibilitySensor_enabled_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enabled_set(SoVRMLVisibilitySensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLVisibilitySensor_enabled_get", _wrap_SoVRMLVisibilitySensor_enabled_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enabled_get(SoVRMLVisibilitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLVisibilitySensor_enterTime_set", _wrap_SoVRMLVisibilitySensor_enterTime_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enterTime_set(SoVRMLVisibilitySensor self, SoSFTime enterTime)"}, - { (char *)"SoVRMLVisibilitySensor_enterTime_get", _wrap_SoVRMLVisibilitySensor_enterTime_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enterTime_get(SoVRMLVisibilitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLVisibilitySensor_exitTime_set", _wrap_SoVRMLVisibilitySensor_exitTime_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_exitTime_set(SoVRMLVisibilitySensor self, SoSFTime exitTime)"}, - { (char *)"SoVRMLVisibilitySensor_exitTime_get", _wrap_SoVRMLVisibilitySensor_exitTime_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_exitTime_get(SoVRMLVisibilitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLVisibilitySensor_isActive_set", _wrap_SoVRMLVisibilitySensor_isActive_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_isActive_set(SoVRMLVisibilitySensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLVisibilitySensor_isActive_get", _wrap_SoVRMLVisibilitySensor_isActive_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_isActive_get(SoVRMLVisibilitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLVisibilitySensor_GLRender", _wrap_SoVRMLVisibilitySensor_GLRender, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_GLRender(SoVRMLVisibilitySensor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVisibilitySensor_swigregister", SoVRMLVisibilitySensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLWorldInfo_getClassTypeId", _wrap_SoVRMLWorldInfo_getClassTypeId, METH_VARARGS, (char *)"SoVRMLWorldInfo_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLWorldInfo_getTypeId", _wrap_SoVRMLWorldInfo_getTypeId, METH_VARARGS, (char *)"SoVRMLWorldInfo_getTypeId(SoVRMLWorldInfo self) -> SoType"}, - { (char *)"SoVRMLWorldInfo_initClass", _wrap_SoVRMLWorldInfo_initClass, METH_VARARGS, (char *)"SoVRMLWorldInfo_initClass()"}, - { (char *)"new_SoVRMLWorldInfo", _wrap_new_SoVRMLWorldInfo, METH_VARARGS, (char *)"new_SoVRMLWorldInfo() -> SoVRMLWorldInfo"}, - { (char *)"SoVRMLWorldInfo_title_set", _wrap_SoVRMLWorldInfo_title_set, METH_VARARGS, (char *)"SoVRMLWorldInfo_title_set(SoVRMLWorldInfo self, SoSFString title)"}, - { (char *)"SoVRMLWorldInfo_title_get", _wrap_SoVRMLWorldInfo_title_get, METH_VARARGS, (char *)"SoVRMLWorldInfo_title_get(SoVRMLWorldInfo self) -> SoSFString"}, - { (char *)"SoVRMLWorldInfo_info_set", _wrap_SoVRMLWorldInfo_info_set, METH_VARARGS, (char *)"SoVRMLWorldInfo_info_set(SoVRMLWorldInfo self, SoMFString info)"}, - { (char *)"SoVRMLWorldInfo_info_get", _wrap_SoVRMLWorldInfo_info_get, METH_VARARGS, (char *)"SoVRMLWorldInfo_info_get(SoVRMLWorldInfo self) -> SoMFString"}, - { (char *)"SoVRMLWorldInfo_swigregister", SoVRMLWorldInfo_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEventManager", _wrap_new_SoEventManager, METH_VARARGS, (char *)"new_SoEventManager() -> SoEventManager"}, - { (char *)"delete_SoEventManager", _wrap_delete_SoEventManager, METH_VARARGS, (char *)"delete_SoEventManager(SoEventManager self)"}, - { (char *)"SoEventManager_setSceneGraph", _wrap_SoEventManager_setSceneGraph, METH_VARARGS, (char *)"SoEventManager_setSceneGraph(SoEventManager self, SoNode sceneroot)"}, - { (char *)"SoEventManager_getSceneGraph", _wrap_SoEventManager_getSceneGraph, METH_VARARGS, (char *)"SoEventManager_getSceneGraph(SoEventManager self) -> SoNode"}, - { (char *)"SoEventManager_setCamera", _wrap_SoEventManager_setCamera, METH_VARARGS, (char *)"SoEventManager_setCamera(SoEventManager self, SoCamera camera)"}, - { (char *)"SoEventManager_getCamera", _wrap_SoEventManager_getCamera, METH_VARARGS, (char *)"SoEventManager_getCamera(SoEventManager self) -> SoCamera"}, - { (char *)"SoEventManager_processEvent", _wrap_SoEventManager_processEvent, METH_VARARGS, (char *)"SoEventManager_processEvent(SoEventManager self, SoEvent event) -> SbBool"}, - { (char *)"SoEventManager_setNavigationState", _wrap_SoEventManager_setNavigationState, METH_VARARGS, (char *)"SoEventManager_setNavigationState(SoEventManager self, NavigationState state)"}, - { (char *)"SoEventManager_getNavigationState", _wrap_SoEventManager_getNavigationState, METH_VARARGS, (char *)"SoEventManager_getNavigationState(SoEventManager self) -> NavigationState"}, - { (char *)"SoEventManager_getNumSoScXMLStateMachines", _wrap_SoEventManager_getNumSoScXMLStateMachines, METH_VARARGS, (char *)"SoEventManager_getNumSoScXMLStateMachines(SoEventManager self) -> int"}, - { (char *)"SoEventManager_getSoScXMLStateMachine", _wrap_SoEventManager_getSoScXMLStateMachine, METH_VARARGS, (char *)"SoEventManager_getSoScXMLStateMachine(SoEventManager self, int idx) -> SoScXMLStateMachine"}, - { (char *)"SoEventManager_addSoScXMLStateMachine", _wrap_SoEventManager_addSoScXMLStateMachine, METH_VARARGS, (char *)"SoEventManager_addSoScXMLStateMachine(SoEventManager self, SoScXMLStateMachine sm)"}, - { (char *)"SoEventManager_removeSoScXMLStateMachine", _wrap_SoEventManager_removeSoScXMLStateMachine, METH_VARARGS, (char *)"SoEventManager_removeSoScXMLStateMachine(SoEventManager self, SoScXMLStateMachine sm)"}, - { (char *)"SoEventManager_setSize", _wrap_SoEventManager_setSize, METH_VARARGS, (char *)"SoEventManager_setSize(SoEventManager self, SbVec2s newsize)"}, - { (char *)"SoEventManager_setOrigin", _wrap_SoEventManager_setOrigin, METH_VARARGS, (char *)"SoEventManager_setOrigin(SoEventManager self, SbVec2s newOrigin)"}, - { (char *)"SoEventManager_setViewportRegion", _wrap_SoEventManager_setViewportRegion, METH_VARARGS, (char *)"SoEventManager_setViewportRegion(SoEventManager self, SbViewportRegion newregion)"}, - { (char *)"SoEventManager_getViewportRegion", _wrap_SoEventManager_getViewportRegion, METH_VARARGS, (char *)"SoEventManager_getViewportRegion(SoEventManager self) -> SbViewportRegion"}, - { (char *)"SoEventManager_setHandleEventAction", _wrap_SoEventManager_setHandleEventAction, METH_VARARGS, (char *)"SoEventManager_setHandleEventAction(SoEventManager self, SoHandleEventAction hea)"}, - { (char *)"SoEventManager_getHandleEventAction", _wrap_SoEventManager_getHandleEventAction, METH_VARARGS, (char *)"SoEventManager_getHandleEventAction(SoEventManager self) -> SoHandleEventAction"}, - { (char *)"SoEventManager_swigregister", SoEventManager_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoRenderManager", _wrap_new_SoRenderManager, METH_VARARGS, (char *)"new_SoRenderManager() -> SoRenderManager"}, - { (char *)"delete_SoRenderManager", _wrap_delete_SoRenderManager, METH_VARARGS, (char *)"delete_SoRenderManager(SoRenderManager self)"}, - { (char *)"SoRenderManager_render", _wrap_SoRenderManager_render, METH_VARARGS, (char *)"\n" - "render(SbBool clearwindow=1, SbBool clearzbuffer=1)\n" - "render(SbBool clearwindow=1)\n" - "render()\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, \n" - " SbBool clearzbuffer=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1)\n" - "SoRenderManager_render(SoRenderManager self, SoGLRenderAction action)\n" - ""}, - { (char *)"SoRenderManager_addSuperimposition", _wrap_SoRenderManager_addSuperimposition, METH_VARARGS, (char *)"\n" - "addSuperimposition(SoNode scene, uint32_t flags=Superimposition::AUTOREDRAW|Superimposition::ZBUFFERON|Superimposition::CLEARZBUFFER) -> Superimposition\n" - "SoRenderManager_addSuperimposition(SoRenderManager self, SoNode scene) -> Superimposition\n" - ""}, - { (char *)"SoRenderManager_removeSuperimposition", _wrap_SoRenderManager_removeSuperimposition, METH_VARARGS, (char *)"SoRenderManager_removeSuperimposition(SoRenderManager self, Superimposition s)"}, - { (char *)"SoRenderManager_setSceneGraph", _wrap_SoRenderManager_setSceneGraph, METH_VARARGS, (char *)"SoRenderManager_setSceneGraph(SoRenderManager self, SoNode sceneroot)"}, - { (char *)"SoRenderManager_getSceneGraph", _wrap_SoRenderManager_getSceneGraph, METH_VARARGS, (char *)"SoRenderManager_getSceneGraph(SoRenderManager self) -> SoNode"}, - { (char *)"SoRenderManager_setCamera", _wrap_SoRenderManager_setCamera, METH_VARARGS, (char *)"SoRenderManager_setCamera(SoRenderManager self, SoCamera camera)"}, - { (char *)"SoRenderManager_getCamera", _wrap_SoRenderManager_getCamera, METH_VARARGS, (char *)"SoRenderManager_getCamera(SoRenderManager self) -> SoCamera"}, - { (char *)"SoRenderManager_setAutoClipping", _wrap_SoRenderManager_setAutoClipping, METH_VARARGS, (char *)"SoRenderManager_setAutoClipping(SoRenderManager self, AutoClippingStrategy autoclipping)"}, - { (char *)"SoRenderManager_attachRootSensor", _wrap_SoRenderManager_attachRootSensor, METH_VARARGS, (char *)"SoRenderManager_attachRootSensor(SoRenderManager self, SoNode sceneroot)"}, - { (char *)"SoRenderManager_attachClipSensor", _wrap_SoRenderManager_attachClipSensor, METH_VARARGS, (char *)"SoRenderManager_attachClipSensor(SoRenderManager self, SoNode sceneroot)"}, - { (char *)"SoRenderManager_detachRootSensor", _wrap_SoRenderManager_detachRootSensor, METH_VARARGS, (char *)"SoRenderManager_detachRootSensor(SoRenderManager self)"}, - { (char *)"SoRenderManager_detachClipSensor", _wrap_SoRenderManager_detachClipSensor, METH_VARARGS, (char *)"SoRenderManager_detachClipSensor(SoRenderManager self)"}, - { (char *)"SoRenderManager_getAutoClipping", _wrap_SoRenderManager_getAutoClipping, METH_VARARGS, (char *)"SoRenderManager_getAutoClipping(SoRenderManager self) -> AutoClippingStrategy"}, - { (char *)"SoRenderManager_setNearPlaneValue", _wrap_SoRenderManager_setNearPlaneValue, METH_VARARGS, (char *)"SoRenderManager_setNearPlaneValue(SoRenderManager self, float value)"}, - { (char *)"SoRenderManager_getNearPlaneValue", _wrap_SoRenderManager_getNearPlaneValue, METH_VARARGS, (char *)"SoRenderManager_getNearPlaneValue(SoRenderManager self) -> float"}, - { (char *)"SoRenderManager_setTexturesEnabled", _wrap_SoRenderManager_setTexturesEnabled, METH_VARARGS, (char *)"SoRenderManager_setTexturesEnabled(SoRenderManager self, SbBool onoff)"}, - { (char *)"SoRenderManager_isTexturesEnabled", _wrap_SoRenderManager_isTexturesEnabled, METH_VARARGS, (char *)"SoRenderManager_isTexturesEnabled(SoRenderManager self) -> SbBool"}, - { (char *)"SoRenderManager_setDoubleBuffer", _wrap_SoRenderManager_setDoubleBuffer, METH_VARARGS, (char *)"SoRenderManager_setDoubleBuffer(SoRenderManager self, SbBool enable)"}, - { (char *)"SoRenderManager_isDoubleBuffer", _wrap_SoRenderManager_isDoubleBuffer, METH_VARARGS, (char *)"SoRenderManager_isDoubleBuffer(SoRenderManager self) -> SbBool"}, - { (char *)"SoRenderManager_setRenderMode", _wrap_SoRenderManager_setRenderMode, METH_VARARGS, (char *)"SoRenderManager_setRenderMode(SoRenderManager self, RenderMode mode)"}, - { (char *)"SoRenderManager_getRenderMode", _wrap_SoRenderManager_getRenderMode, METH_VARARGS, (char *)"SoRenderManager_getRenderMode(SoRenderManager self) -> RenderMode"}, - { (char *)"SoRenderManager_setStereoMode", _wrap_SoRenderManager_setStereoMode, METH_VARARGS, (char *)"SoRenderManager_setStereoMode(SoRenderManager self, StereoMode mode)"}, - { (char *)"SoRenderManager_getStereoMode", _wrap_SoRenderManager_getStereoMode, METH_VARARGS, (char *)"SoRenderManager_getStereoMode(SoRenderManager self) -> StereoMode"}, - { (char *)"SoRenderManager_setStereoOffset", _wrap_SoRenderManager_setStereoOffset, METH_VARARGS, (char *)"SoRenderManager_setStereoOffset(SoRenderManager self, float offset)"}, - { (char *)"SoRenderManager_getStereoOffset", _wrap_SoRenderManager_getStereoOffset, METH_VARARGS, (char *)"SoRenderManager_getStereoOffset(SoRenderManager self) -> float"}, - { (char *)"SoRenderManager_isAutoRedraw", _wrap_SoRenderManager_isAutoRedraw, METH_VARARGS, (char *)"SoRenderManager_isAutoRedraw(SoRenderManager self) -> SbBool"}, - { (char *)"SoRenderManager_setRedrawPriority", _wrap_SoRenderManager_setRedrawPriority, METH_VARARGS, (char *)"SoRenderManager_setRedrawPriority(SoRenderManager self, uint32_t priority)"}, - { (char *)"SoRenderManager_getRedrawPriority", _wrap_SoRenderManager_getRedrawPriority, METH_VARARGS, (char *)"SoRenderManager_getRedrawPriority(SoRenderManager self) -> uint32_t"}, - { (char *)"SoRenderManager_nodesensorCB", _wrap_SoRenderManager_nodesensorCB, METH_VARARGS, (char *)"SoRenderManager_nodesensorCB(void data, SoSensor ?)"}, - { (char *)"SoRenderManager_prerendercb", _wrap_SoRenderManager_prerendercb, METH_VARARGS, (char *)"SoRenderManager_prerendercb(void userdata, SoGLRenderAction action)"}, - { (char *)"SoRenderManager_reinitialize", _wrap_SoRenderManager_reinitialize, METH_VARARGS, (char *)"SoRenderManager_reinitialize(SoRenderManager self)"}, - { (char *)"SoRenderManager_scheduleRedraw", _wrap_SoRenderManager_scheduleRedraw, METH_VARARGS, (char *)"SoRenderManager_scheduleRedraw(SoRenderManager self)"}, - { (char *)"SoRenderManager_setWindowSize", _wrap_SoRenderManager_setWindowSize, METH_VARARGS, (char *)"SoRenderManager_setWindowSize(SoRenderManager self, SbVec2s newsize)"}, - { (char *)"SoRenderManager_getWindowSize", _wrap_SoRenderManager_getWindowSize, METH_VARARGS, (char *)"SoRenderManager_getWindowSize(SoRenderManager self) -> SbVec2s"}, - { (char *)"SoRenderManager_setSize", _wrap_SoRenderManager_setSize, METH_VARARGS, (char *)"SoRenderManager_setSize(SoRenderManager self, SbVec2s newsize)"}, - { (char *)"SoRenderManager_getSize", _wrap_SoRenderManager_getSize, METH_VARARGS, (char *)"SoRenderManager_getSize(SoRenderManager self) -> SbVec2s"}, - { (char *)"SoRenderManager_setOrigin", _wrap_SoRenderManager_setOrigin, METH_VARARGS, (char *)"SoRenderManager_setOrigin(SoRenderManager self, SbVec2s newOrigin)"}, - { (char *)"SoRenderManager_getOrigin", _wrap_SoRenderManager_getOrigin, METH_VARARGS, (char *)"SoRenderManager_getOrigin(SoRenderManager self) -> SbVec2s"}, - { (char *)"SoRenderManager_setViewportRegion", _wrap_SoRenderManager_setViewportRegion, METH_VARARGS, (char *)"SoRenderManager_setViewportRegion(SoRenderManager self, SbViewportRegion newRegion)"}, - { (char *)"SoRenderManager_getViewportRegion", _wrap_SoRenderManager_getViewportRegion, METH_VARARGS, (char *)"SoRenderManager_getViewportRegion(SoRenderManager self) -> SbViewportRegion"}, - { (char *)"SoRenderManager_setBackgroundColor", _wrap_SoRenderManager_setBackgroundColor, METH_VARARGS, (char *)"SoRenderManager_setBackgroundColor(SoRenderManager self, SbColor4f color)"}, - { (char *)"SoRenderManager_getBackgroundColor", _wrap_SoRenderManager_getBackgroundColor, METH_VARARGS, (char *)"SoRenderManager_getBackgroundColor(SoRenderManager self) -> SbColor4f"}, - { (char *)"SoRenderManager_setBackgroundIndex", _wrap_SoRenderManager_setBackgroundIndex, METH_VARARGS, (char *)"SoRenderManager_setBackgroundIndex(SoRenderManager self, int index)"}, - { (char *)"SoRenderManager_getBackgroundIndex", _wrap_SoRenderManager_getBackgroundIndex, METH_VARARGS, (char *)"SoRenderManager_getBackgroundIndex(SoRenderManager self) -> int"}, - { (char *)"SoRenderManager_setRGBMode", _wrap_SoRenderManager_setRGBMode, METH_VARARGS, (char *)"SoRenderManager_setRGBMode(SoRenderManager self, SbBool onOrOff)"}, - { (char *)"SoRenderManager_isRGBMode", _wrap_SoRenderManager_isRGBMode, METH_VARARGS, (char *)"SoRenderManager_isRGBMode(SoRenderManager self) -> SbBool"}, - { (char *)"SoRenderManager_activate", _wrap_SoRenderManager_activate, METH_VARARGS, (char *)"SoRenderManager_activate(SoRenderManager self)"}, - { (char *)"SoRenderManager_deactivate", _wrap_SoRenderManager_deactivate, METH_VARARGS, (char *)"SoRenderManager_deactivate(SoRenderManager self)"}, - { (char *)"SoRenderManager_setAntialiasing", _wrap_SoRenderManager_setAntialiasing, METH_VARARGS, (char *)"SoRenderManager_setAntialiasing(SoRenderManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoRenderManager_getAntialiasing", _wrap_SoRenderManager_getAntialiasing, METH_VARARGS, (char *)"SoRenderManager_getAntialiasing(SoRenderManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoRenderManager_setGLRenderAction", _wrap_SoRenderManager_setGLRenderAction, METH_VARARGS, (char *)"SoRenderManager_setGLRenderAction(SoRenderManager self, SoGLRenderAction action)"}, - { (char *)"SoRenderManager_getGLRenderAction", _wrap_SoRenderManager_getGLRenderAction, METH_VARARGS, (char *)"SoRenderManager_getGLRenderAction(SoRenderManager self) -> SoGLRenderAction"}, - { (char *)"SoRenderManager_setAudioRenderAction", _wrap_SoRenderManager_setAudioRenderAction, METH_VARARGS, (char *)"SoRenderManager_setAudioRenderAction(SoRenderManager self, SoAudioRenderAction action)"}, - { (char *)"SoRenderManager_getAudioRenderAction", _wrap_SoRenderManager_getAudioRenderAction, METH_VARARGS, (char *)"SoRenderManager_getAudioRenderAction(SoRenderManager self) -> SoAudioRenderAction"}, - { (char *)"SoRenderManager_enableRealTimeUpdate", _wrap_SoRenderManager_enableRealTimeUpdate, METH_VARARGS, (char *)"SoRenderManager_enableRealTimeUpdate(SbBool flag)"}, - { (char *)"SoRenderManager_isRealTimeUpdateEnabled", _wrap_SoRenderManager_isRealTimeUpdateEnabled, METH_VARARGS, (char *)"SoRenderManager_isRealTimeUpdateEnabled() -> SbBool"}, - { (char *)"SoRenderManager_getDefaultRedrawPriority", _wrap_SoRenderManager_getDefaultRedrawPriority, METH_VARARGS, (char *)"SoRenderManager_getDefaultRedrawPriority() -> uint32_t"}, - { (char *)"SoRenderManager_setRenderCallback", _wrap_SoRenderManager_setRenderCallback, METH_VARARGS, (char *)"\n" - "setRenderCallback(SoRenderManagerRenderCB f, void userData=None)\n" - "setRenderCallback(SoRenderManagerRenderCB f)\n" - "setRenderCallback(PyObject pyfunc, PyObject userData=None)\n" - "SoRenderManager_setRenderCallback(SoRenderManager self, PyObject pyfunc)\n" - ""}, - { (char *)"SoRenderManager_addPreRenderCallback", _wrap_SoRenderManager_addPreRenderCallback, METH_VARARGS, (char *)"\n" - "addPreRenderCallback(SoRenderManagerRenderCB cb, void data)\n" - "SoRenderManager_addPreRenderCallback(SoRenderManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoRenderManager_removePreRenderCallback", _wrap_SoRenderManager_removePreRenderCallback, METH_VARARGS, (char *)"\n" - "removePreRenderCallback(SoRenderManagerRenderCB cb, void data)\n" - "SoRenderManager_removePreRenderCallback(SoRenderManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoRenderManager_addPostRenderCallback", _wrap_SoRenderManager_addPostRenderCallback, METH_VARARGS, (char *)"\n" - "addPostRenderCallback(SoRenderManagerRenderCB cb, void data)\n" - "SoRenderManager_addPostRenderCallback(SoRenderManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoRenderManager_removePostRenderCallback", _wrap_SoRenderManager_removePostRenderCallback, METH_VARARGS, (char *)"\n" - "removePostRenderCallback(SoRenderManagerRenderCB cb, void data)\n" - "SoRenderManager_removePostRenderCallback(SoRenderManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoRenderManager_swigregister", SoRenderManager_swigregister, METH_VARARGS, NULL}, - { (char *)"ScXMLObject_getClassTypeId", _wrap_ScXMLObject_getClassTypeId, METH_VARARGS, (char *)"ScXMLObject_getClassTypeId() -> SoType"}, - { (char *)"ScXMLObject_getTypeId", _wrap_ScXMLObject_getTypeId, METH_VARARGS, (char *)"ScXMLObject_getTypeId(ScXMLObject self) -> SoType"}, - { (char *)"ScXMLObject_initClass", _wrap_ScXMLObject_initClass, METH_VARARGS, (char *)"ScXMLObject_initClass()"}, - { (char *)"delete_ScXMLObject", _wrap_delete_ScXMLObject, METH_VARARGS, (char *)"delete_ScXMLObject(ScXMLObject self)"}, - { (char *)"ScXMLObject_isOfType", _wrap_ScXMLObject_isOfType, METH_VARARGS, (char *)"ScXMLObject_isOfType(ScXMLObject self, SoType type) -> SbBool"}, - { (char *)"ScXMLObject_setXMLAttribute", _wrap_ScXMLObject_setXMLAttribute, METH_VARARGS, (char *)"ScXMLObject_setXMLAttribute(ScXMLObject self, char attribute, char value)"}, - { (char *)"ScXMLObject_getXMLAttribute", _wrap_ScXMLObject_getXMLAttribute, METH_VARARGS, (char *)"ScXMLObject_getXMLAttribute(ScXMLObject self, char attribute) -> char"}, - { (char *)"ScXMLObject_handleXMLAttributes", _wrap_ScXMLObject_handleXMLAttributes, METH_VARARGS, (char *)"ScXMLObject_handleXMLAttributes(ScXMLObject self) -> SbBool"}, - { (char *)"ScXMLObject_setContainer", _wrap_ScXMLObject_setContainer, METH_VARARGS, (char *)"ScXMLObject_setContainer(ScXMLObject self, ScXMLObject container)"}, - { (char *)"ScXMLObject_getContainer", _wrap_ScXMLObject_getContainer, METH_VARARGS, (char *)"ScXMLObject_getContainer(ScXMLObject self) -> ScXMLObject"}, - { (char *)"ScXMLObject_isContainedIn", _wrap_ScXMLObject_isContainedIn, METH_VARARGS, (char *)"ScXMLObject_isContainedIn(ScXMLObject self, ScXMLObject object) -> SbBool"}, - { (char *)"ScXMLObject_swigregister", ScXMLObject_swigregister, METH_VARARGS, NULL}, - { (char *)"ScXMLEvent_getClassTypeId", _wrap_ScXMLEvent_getClassTypeId, METH_VARARGS, (char *)"ScXMLEvent_getClassTypeId() -> SoType"}, - { (char *)"ScXMLEvent_getTypeId", _wrap_ScXMLEvent_getTypeId, METH_VARARGS, (char *)"ScXMLEvent_getTypeId(ScXMLEvent self) -> SoType"}, - { (char *)"ScXMLEvent_createInstance", _wrap_ScXMLEvent_createInstance, METH_VARARGS, (char *)"ScXMLEvent_createInstance() -> void"}, - { (char *)"ScXMLEvent_initClass", _wrap_ScXMLEvent_initClass, METH_VARARGS, (char *)"ScXMLEvent_initClass()"}, - { (char *)"new_ScXMLEvent", _wrap_new_ScXMLEvent, METH_VARARGS, (char *)"new_ScXMLEvent() -> ScXMLEvent"}, - { (char *)"delete_ScXMLEvent", _wrap_delete_ScXMLEvent, METH_VARARGS, (char *)"delete_ScXMLEvent(ScXMLEvent self)"}, - { (char *)"ScXMLEvent_setIdentifier", _wrap_ScXMLEvent_setIdentifier, METH_VARARGS, (char *)"ScXMLEvent_setIdentifier(ScXMLEvent self, SbName identifier)"}, - { (char *)"ScXMLEvent_getIdentifier", _wrap_ScXMLEvent_getIdentifier, METH_VARARGS, (char *)"ScXMLEvent_getIdentifier(ScXMLEvent self) -> SbName"}, - { (char *)"ScXMLEvent_swigregister", ScXMLEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"ScXML_initClasses", _wrap_ScXML_initClasses, METH_VARARGS, (char *)"ScXML_initClasses()"}, - { (char *)"ScXML_readFile", _wrap_ScXML_readFile, METH_VARARGS, (char *)"ScXML_readFile(char filename) -> ScXMLStateMachine"}, - { (char *)"ScXML_readBuffer", _wrap_ScXML_readBuffer, METH_VARARGS, (char *)"ScXML_readBuffer(char bufferdata) -> ScXMLStateMachine"}, - { (char *)"new_ScXML", _wrap_new_ScXML, METH_VARARGS, (char *)"new_ScXML() -> ScXML"}, - { (char *)"delete_ScXML", _wrap_delete_ScXML, METH_VARARGS, (char *)"delete_ScXML(ScXML self)"}, - { (char *)"ScXML_swigregister", ScXML_swigregister, METH_VARARGS, NULL}, - { (char *)"ScXMLInvoke_getClassTypeId", _wrap_ScXMLInvoke_getClassTypeId, METH_VARARGS, (char *)"ScXMLInvoke_getClassTypeId() -> SoType"}, - { (char *)"ScXMLInvoke_getTypeId", _wrap_ScXMLInvoke_getTypeId, METH_VARARGS, (char *)"ScXMLInvoke_getTypeId(ScXMLInvoke self) -> SoType"}, - { (char *)"ScXMLInvoke_initClass", _wrap_ScXMLInvoke_initClass, METH_VARARGS, (char *)"ScXMLInvoke_initClass()"}, - { (char *)"delete_ScXMLInvoke", _wrap_delete_ScXMLInvoke, METH_VARARGS, (char *)"delete_ScXMLInvoke(ScXMLInvoke self)"}, - { (char *)"ScXMLInvoke_setTargetTypeAttribute", _wrap_ScXMLInvoke_setTargetTypeAttribute, METH_VARARGS, (char *)"ScXMLInvoke_setTargetTypeAttribute(ScXMLInvoke self, char id)"}, - { (char *)"ScXMLInvoke_getTargetTypeAttribute", _wrap_ScXMLInvoke_getTargetTypeAttribute, METH_VARARGS, (char *)"ScXMLInvoke_getTargetTypeAttribute(ScXMLInvoke self) -> char"}, - { (char *)"ScXMLInvoke_setSrcAttribute", _wrap_ScXMLInvoke_setSrcAttribute, METH_VARARGS, (char *)"ScXMLInvoke_setSrcAttribute(ScXMLInvoke self, char id)"}, - { (char *)"ScXMLInvoke_getSrcAttribute", _wrap_ScXMLInvoke_getSrcAttribute, METH_VARARGS, (char *)"ScXMLInvoke_getSrcAttribute(ScXMLInvoke self) -> char"}, - { (char *)"ScXMLInvoke_setSrcExprAttribute", _wrap_ScXMLInvoke_setSrcExprAttribute, METH_VARARGS, (char *)"ScXMLInvoke_setSrcExprAttribute(ScXMLInvoke self, char id)"}, - { (char *)"ScXMLInvoke_getSrcExprAttribute", _wrap_ScXMLInvoke_getSrcExprAttribute, METH_VARARGS, (char *)"ScXMLInvoke_getSrcExprAttribute(ScXMLInvoke self) -> char"}, - { (char *)"ScXMLInvoke_handleXMLAttributes", _wrap_ScXMLInvoke_handleXMLAttributes, METH_VARARGS, (char *)"ScXMLInvoke_handleXMLAttributes(ScXMLInvoke self) -> SbBool"}, - { (char *)"ScXMLInvoke_invoke", _wrap_ScXMLInvoke_invoke, METH_VARARGS, (char *)"ScXMLInvoke_invoke(ScXMLInvoke self, ScXMLStateMachine statemachine)"}, - { (char *)"ScXMLInvoke_swigregister", ScXMLInvoke_swigregister, METH_VARARGS, NULL}, - { (char *)"ScXMLStateMachine_getClassTypeId", _wrap_ScXMLStateMachine_getClassTypeId, METH_VARARGS, (char *)"ScXMLStateMachine_getClassTypeId() -> SoType"}, - { (char *)"ScXMLStateMachine_getTypeId", _wrap_ScXMLStateMachine_getTypeId, METH_VARARGS, (char *)"ScXMLStateMachine_getTypeId(ScXMLStateMachine self) -> SoType"}, - { (char *)"ScXMLStateMachine_createInstance", _wrap_ScXMLStateMachine_createInstance, METH_VARARGS, (char *)"ScXMLStateMachine_createInstance() -> void"}, - { (char *)"ScXMLStateMachine_initClass", _wrap_ScXMLStateMachine_initClass, METH_VARARGS, (char *)"ScXMLStateMachine_initClass()"}, - { (char *)"new_ScXMLStateMachine", _wrap_new_ScXMLStateMachine, METH_VARARGS, (char *)"new_ScXMLStateMachine() -> ScXMLStateMachine"}, - { (char *)"delete_ScXMLStateMachine", _wrap_delete_ScXMLStateMachine, METH_VARARGS, (char *)"delete_ScXMLStateMachine(ScXMLStateMachine self)"}, - { (char *)"ScXMLStateMachine_setName", _wrap_ScXMLStateMachine_setName, METH_VARARGS, (char *)"ScXMLStateMachine_setName(ScXMLStateMachine self, SbName name)"}, - { (char *)"ScXMLStateMachine_getName", _wrap_ScXMLStateMachine_getName, METH_VARARGS, (char *)"ScXMLStateMachine_getName(ScXMLStateMachine self) -> SbName"}, - { (char *)"ScXMLStateMachine_setDescription", _wrap_ScXMLStateMachine_setDescription, METH_VARARGS, (char *)"ScXMLStateMachine_setDescription(ScXMLStateMachine self, ScXMLDocument document)"}, - { (char *)"ScXMLStateMachine_getDescription", _wrap_ScXMLStateMachine_getDescription, METH_VARARGS, (char *)"ScXMLStateMachine_getDescription(ScXMLStateMachine self) -> ScXMLDocument"}, - { (char *)"ScXMLStateMachine_initialize", _wrap_ScXMLStateMachine_initialize, METH_VARARGS, (char *)"ScXMLStateMachine_initialize(ScXMLStateMachine self)"}, - { (char *)"ScXMLStateMachine_queueEvent", _wrap_ScXMLStateMachine_queueEvent, METH_VARARGS, (char *)"\n" - "queueEvent(ScXMLEvent event, SbBool dealloc=0)\n" - "queueEvent(ScXMLEvent event)\n" - "ScXMLStateMachine_queueEvent(ScXMLStateMachine self, SbName eventid)\n" - ""}, - { (char *)"ScXMLStateMachine_processEventQueue", _wrap_ScXMLStateMachine_processEventQueue, METH_VARARGS, (char *)"ScXMLStateMachine_processEventQueue(ScXMLStateMachine self) -> SbBool"}, - { (char *)"ScXMLStateMachine_isActive", _wrap_ScXMLStateMachine_isActive, METH_VARARGS, (char *)"ScXMLStateMachine_isActive(ScXMLStateMachine self) -> SbBool"}, - { (char *)"ScXMLStateMachine_isFinished", _wrap_ScXMLStateMachine_isFinished, METH_VARARGS, (char *)"ScXMLStateMachine_isFinished(ScXMLStateMachine self) -> SbBool"}, - { (char *)"ScXMLStateMachine_getCurrentEvent", _wrap_ScXMLStateMachine_getCurrentEvent, METH_VARARGS, (char *)"ScXMLStateMachine_getCurrentEvent(ScXMLStateMachine self) -> ScXMLEvent"}, - { (char *)"ScXMLStateMachine_getNumActiveStates", _wrap_ScXMLStateMachine_getNumActiveStates, METH_VARARGS, (char *)"ScXMLStateMachine_getNumActiveStates(ScXMLStateMachine self) -> int"}, - { (char *)"ScXMLStateMachine_getActiveState", _wrap_ScXMLStateMachine_getActiveState, METH_VARARGS, (char *)"ScXMLStateMachine_getActiveState(ScXMLStateMachine self, int idx) -> ScXMLObject"}, - { (char *)"ScXMLStateMachine_getState", _wrap_ScXMLStateMachine_getState, METH_VARARGS, (char *)"ScXMLStateMachine_getState(ScXMLStateMachine self, char identifier) -> ScXMLObject"}, - { (char *)"ScXMLStateMachine_addDeleteCallback", _wrap_ScXMLStateMachine_addDeleteCallback, METH_VARARGS, (char *)"\n" - "addDeleteCallback(ScXMLStateMachineDeleteCB callback, void userdata)\n" - "ScXMLStateMachine_addDeleteCallback(ScXMLStateMachine self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"ScXMLStateMachine_removeDeleteCallback", _wrap_ScXMLStateMachine_removeDeleteCallback, METH_VARARGS, (char *)"\n" - "removeDeleteCallback(ScXMLStateMachineDeleteCB callback, void userdata)\n" - "ScXMLStateMachine_removeDeleteCallback(ScXMLStateMachine self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"ScXMLStateMachine_addStateChangeCallback", _wrap_ScXMLStateMachine_addStateChangeCallback, METH_VARARGS, (char *)"\n" - "addStateChangeCallback(ScXMLStateChangeCB callback, void userdata)\n" - "ScXMLStateMachine_addStateChangeCallback(ScXMLStateMachine self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"ScXMLStateMachine_removeStateChangeCallback", _wrap_ScXMLStateMachine_removeStateChangeCallback, METH_VARARGS, (char *)"\n" - "removeStateChangeCallback(ScXMLStateChangeCB callback, void userdata)\n" - "ScXMLStateMachine_removeStateChangeCallback(ScXMLStateMachine self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"ScXMLStateMachine_swigregister", ScXMLStateMachine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScXMLEvent_getClassTypeId", _wrap_SoScXMLEvent_getClassTypeId, METH_VARARGS, (char *)"SoScXMLEvent_getClassTypeId() -> SoType"}, - { (char *)"SoScXMLEvent_getTypeId", _wrap_SoScXMLEvent_getTypeId, METH_VARARGS, (char *)"SoScXMLEvent_getTypeId(SoScXMLEvent self) -> SoType"}, - { (char *)"SoScXMLEvent_createInstance", _wrap_SoScXMLEvent_createInstance, METH_VARARGS, (char *)"SoScXMLEvent_createInstance() -> void"}, - { (char *)"SoScXMLEvent_initClass", _wrap_SoScXMLEvent_initClass, METH_VARARGS, (char *)"SoScXMLEvent_initClass()"}, - { (char *)"new_SoScXMLEvent", _wrap_new_SoScXMLEvent, METH_VARARGS, (char *)"new_SoScXMLEvent() -> SoScXMLEvent"}, - { (char *)"delete_SoScXMLEvent", _wrap_delete_SoScXMLEvent, METH_VARARGS, (char *)"delete_SoScXMLEvent(SoScXMLEvent self)"}, - { (char *)"SoScXMLEvent_setSoEvent", _wrap_SoScXMLEvent_setSoEvent, METH_VARARGS, (char *)"SoScXMLEvent_setSoEvent(SoScXMLEvent self, SoEvent soevent)"}, - { (char *)"SoScXMLEvent_getSoEvent", _wrap_SoScXMLEvent_getSoEvent, METH_VARARGS, (char *)"SoScXMLEvent_getSoEvent(SoScXMLEvent self) -> SoEvent"}, - { (char *)"SoScXMLEvent_setUpIdentifier", _wrap_SoScXMLEvent_setUpIdentifier, METH_VARARGS, (char *)"SoScXMLEvent_setUpIdentifier(SoScXMLEvent self)"}, - { (char *)"SoScXMLEvent_swigregister", SoScXMLEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScXMLStateMachine_getClassTypeId", _wrap_SoScXMLStateMachine_getClassTypeId, METH_VARARGS, (char *)"SoScXMLStateMachine_getClassTypeId() -> SoType"}, - { (char *)"SoScXMLStateMachine_getTypeId", _wrap_SoScXMLStateMachine_getTypeId, METH_VARARGS, (char *)"SoScXMLStateMachine_getTypeId(SoScXMLStateMachine self) -> SoType"}, - { (char *)"SoScXMLStateMachine_createInstance", _wrap_SoScXMLStateMachine_createInstance, METH_VARARGS, (char *)"SoScXMLStateMachine_createInstance() -> void"}, - { (char *)"SoScXMLStateMachine_initClass", _wrap_SoScXMLStateMachine_initClass, METH_VARARGS, (char *)"SoScXMLStateMachine_initClass()"}, - { (char *)"new_SoScXMLStateMachine", _wrap_new_SoScXMLStateMachine, METH_VARARGS, (char *)"new_SoScXMLStateMachine() -> SoScXMLStateMachine"}, - { (char *)"delete_SoScXMLStateMachine", _wrap_delete_SoScXMLStateMachine, METH_VARARGS, (char *)"delete_SoScXMLStateMachine(SoScXMLStateMachine self)"}, - { (char *)"SoScXMLStateMachine_setSceneGraphRoot", _wrap_SoScXMLStateMachine_setSceneGraphRoot, METH_VARARGS, (char *)"SoScXMLStateMachine_setSceneGraphRoot(SoScXMLStateMachine self, SoNode root)"}, - { (char *)"SoScXMLStateMachine_getSceneGraphRoot", _wrap_SoScXMLStateMachine_getSceneGraphRoot, METH_VARARGS, (char *)"SoScXMLStateMachine_getSceneGraphRoot(SoScXMLStateMachine self) -> SoNode"}, - { (char *)"SoScXMLStateMachine_setActiveCamera", _wrap_SoScXMLStateMachine_setActiveCamera, METH_VARARGS, (char *)"SoScXMLStateMachine_setActiveCamera(SoScXMLStateMachine self, SoCamera camera)"}, - { (char *)"SoScXMLStateMachine_getActiveCamera", _wrap_SoScXMLStateMachine_getActiveCamera, METH_VARARGS, (char *)"SoScXMLStateMachine_getActiveCamera(SoScXMLStateMachine self) -> SoCamera"}, - { (char *)"SoScXMLStateMachine_setViewportRegion", _wrap_SoScXMLStateMachine_setViewportRegion, METH_VARARGS, (char *)"SoScXMLStateMachine_setViewportRegion(SoScXMLStateMachine self, SbViewportRegion vp)"}, - { (char *)"SoScXMLStateMachine_getViewportRegion", _wrap_SoScXMLStateMachine_getViewportRegion, METH_VARARGS, (char *)"SoScXMLStateMachine_getViewportRegion(SoScXMLStateMachine self) -> SbViewportRegion"}, - { (char *)"SoScXMLStateMachine_preGLRender", _wrap_SoScXMLStateMachine_preGLRender, METH_VARARGS, (char *)"SoScXMLStateMachine_preGLRender(SoScXMLStateMachine self)"}, - { (char *)"SoScXMLStateMachine_postGLRender", _wrap_SoScXMLStateMachine_postGLRender, METH_VARARGS, (char *)"SoScXMLStateMachine_postGLRender(SoScXMLStateMachine self)"}, - { (char *)"SoScXMLStateMachine_processSoEvent", _wrap_SoScXMLStateMachine_processSoEvent, METH_VARARGS, (char *)"SoScXMLStateMachine_processSoEvent(SoScXMLStateMachine self, SoEvent event) -> SbBool"}, - { (char *)"SoScXMLStateMachine_swigregister", SoScXMLStateMachine_swigregister, METH_VARARGS, NULL}, - { NULL, NULL, 0, NULL } -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ - -static void *_p_charpTo_p_char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char *) ((charp *) x)); -} -static void *_p_p_charpTo_p_p_char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char **) ((charp **) x)); -} -static void *_p_SoScXMLStateMachineTo_p_ScXMLStateMachine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLStateMachine *) ((SoScXMLStateMachine *) x)); -} -static void *_p_f_char__charpTo_p_f_char__char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char (*)(char)) ((charp (*)(char)) x)); -} -static void *_p_SoBlinkerTo_p_SoSwitch(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoNodeListTo_p_SoBaseList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SoPathListTo_p_SoBaseList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SoChildListTo_p_SoBaseList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseList *) (SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoEngineListTo_p_SoBaseList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoJackManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransformManip(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoIndexedPointSet(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoPointSet(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoChildListTo_p_SoNodeList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoTransformTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoShuttleTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoRotationXYZTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoRotationTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoJackManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoTranslationTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoScaleTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoAntiSquishTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoRotorTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoPendulumTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) (SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoUnitsTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoTransformation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SbString const &,void *,SoVRMLImageTexture *)) ((intp (*)(SbString const &,void *,SoVRMLImageTexture *)) x)); -} -static void *_p_SoTempPathTo_p_SoFullPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoLinearProfileTo_p_SoProfile(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoProfile(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoPendulumTo_p_SoRotation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoRotorTo_p_SoRotation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoShuttleTo_p_SoTranslation(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SbColorTo_p_SbVec3f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec3f *) ((SbColor *) x)); -} -static void *_p_SoGLBigImageTo_p_SoGLImage(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLImage *) ((SoGLBigImage *) x)); -} -static void *_p_SoExtSelectionTo_p_SoSelection(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SbColor4fTo_p_SbVec4f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec4f *) ((SbColor4f *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoVectorizeAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoVectorizeActionTo_p_SoCallbackAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCallbackAction *) ((SoVectorizeAction *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoCallbackAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCallbackAction *) (SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoReorganizeActionTo_p_SoSimplifyAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSimplifyAction *) ((SoReorganizeAction *) x)); -} -static void *_p_SoRayPickActionTo_p_SoPickAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPickAction *) ((SoRayPickAction *) x)); -} -static void *_p_SoWriteActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoWriteAction *) x)); -} -static void *_p_SoReorganizeActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoSimplifyAction *) ((SoReorganizeAction *) x)); -} -static void *_p_SoSimplifyActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoSimplifyAction *) x)); -} -static void *_p_SoRayPickActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoPickAction *) ((SoRayPickAction *) x)); -} -static void *_p_SoPickActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoPickAction *) x)); -} -static void *_p_SoCallbackActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoCallbackAction *) x)); -} -static void *_p_SoVectorizeActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoCallbackAction *) ((SoVectorizeAction *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoCallbackAction *)(SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoSearchActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoSearchAction *) x)); -} -static void *_p_SoHandleEventActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoHandleEventAction *) x)); -} -static void *_p_SoGetPrimitiveCountActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoGetPrimitiveCountAction *) x)); -} -static void *_p_SoGetMatrixActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoGetMatrixAction *) x)); -} -static void *_p_SoGetBoundingBoxActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoGetBoundingBoxAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoGLRenderActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoGLRenderAction *) x)); -} -static void *_p_SoAudioRenderActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoAudioRenderAction *) x)); -} -static void *_p_SoIntersectionDetectionActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoIntersectionDetectionAction *) x)); -} -static void *_p_SoToVRMLActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) ((SoToVRMLAction *) x)); -} -static void *_p_SoToVRML2ActionTo_p_SoAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAction *) (SoToVRMLAction *) ((SoToVRML2Action *) x)); -} -static void *_p_intpTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int *) ((intp *) x)); -} -static void *_p_SoTempPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) (SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoFullPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) ((SoFullPath *) x)); -} -static void *_p_p_SoTempPathTo_p_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath **) (SoFullPath *) ((SoTempPath **) x)); -} -static void *_p_p_SoNodeKitPathTo_p_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath **) ((SoNodeKitPath **) x)); -} -static void *_p_p_SoFullPathTo_p_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath **) ((SoFullPath **) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoNodeKitPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoFullPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoNodeKitPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoFullPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoTextureCoordinateFunction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbSphere__intpTo_p_f_q_const__p_void_r_q_const__SbSphere__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *const,SbSphere const &)) ((intp (*)(void *const,SbSphere const &)) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_p_SoBoxHighlightRenderActionTo_p_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction **) ((SoBoxHighlightRenderAction **) x)); -} -static void *_p_p_SoLineHighlightRenderActionTo_p_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction **) ((SoLineHighlightRenderAction **) x)); -} -static void *_p_SoToVRML2ActionTo_p_SoToVRMLAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoToVRMLAction *) ((SoToVRML2Action *) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_floatpTo_p_float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float *) ((floatp *) x)); -} -static void *_p_p_floatpTo_p_p_float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float **) ((floatp **) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoClipPlane(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoPSVectorOutputTo_p_SoVectorOutput(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVectorOutput *) ((SoPSVectorOutput *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoVRMLDragSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoVRMLDragSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoVRMLDragSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoTimerSensorTo_p_SoTimerQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTimerQueueSensor *) ((SoTimerSensor *) x)); -} -static void *_p_SoAlarmSensorTo_p_SoTimerQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTimerQueueSensor *) ((SoAlarmSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoOneShotSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoOneShotSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoTimerSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoTimerQueueSensor *) ((SoTimerSensor *) x)); -} -static void *_p_SoDelayQueueSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) ((SoDelayQueueSensor *) x)); -} -static void *_p_SoDataSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoDataSensor *) x)); -} -static void *_p_SoTimerQueueSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) ((SoTimerQueueSensor *) x)); -} -static void *_p_SoAlarmSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoTimerQueueSensor *) ((SoAlarmSensor *) x)); -} -static void *_p_SoIdleSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoIdleSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoOneShotSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) ((SoOneShotSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoDataSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) ((SoDataSensor *) x)); -} -static void *_p_SoIdleSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) ((SoIdleSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoDelayQueueSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoDataSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoDataSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoDataSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbVec3f__intpTo_p_f_q_const__p_void_r_q_const__SbVec3f__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *const,SbVec3f const &)) ((intp (*)(void *const,SbVec3f const &)) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbBox3f__intpTo_p_f_q_const__p_void_r_q_const__SbBox3f__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *const,SbBox3f const &)) ((intp (*)(void *const,SbBox3f const &)) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoVRMLInterpolator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoFontStyleTo_p_SoFont(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFont *) ((SoFontStyle *) x)); -} -static void *_p_f_r_q_const__SbName_float_int_p_void__intpTo_p_f_r_q_const__SbName_float_int_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SbName const &,float,int,void *)) ((intp (*)(SbName const &,float,int,void *)) x)); -} -static void *_p_f_p_void__intpTo_p_f_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *)) ((intp (*)(void *)) x)); -} -static void *_p_f_float_p_void__intpTo_p_f_float_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(float,void *)) ((intp (*)(float,void *)) x)); -} -static void *_p_f_p_void_p_void__intpTo_p_f_p_void_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,void *)) ((intp (*)(void *,void *)) x)); -} -static void *_p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SbString const &,SbImage *,void *)) ((intp (*)(SbString const &,SbImage *,void *)) x)); -} -static void *_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,long,int,SoVRMLAudioClip *,void *)) ((intp (*)(void *,long,int,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_f_p_void_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoVRMLAudioClip *,void *)) ((intp (*)(void *,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_SoClipPlaneTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoBaseKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoRotationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoAnnotationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoLinearProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfile *) x)); -} -static void *_p_SoVRMLParentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoResetTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoAntiSquishTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoListener *) x)); -} -static void *_p_SoConeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoImage *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoEventCallbackTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCallback *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoEnvironmentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoPendulumTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoSceneKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCube *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoInfo *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoTranslationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProto *) x)); -} -static void *_p_SoCenterballManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_p_SoClipPlaneTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoClipPlane **) x)); -} -static void *_p_p_SoBumpMapCoordinateTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoBumpMapCoordinate **) x)); -} -static void *_p_p_SoVRMLCoordinateTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLCoordinate **) x)); -} -static void *_p_p_SoVRMLTextureCoordinateTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLTextureCoordinate **) x)); -} -static void *_p_p_SoLightKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoLightKit **) x)); -} -static void *_p_p_SoTextureCombineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCombine **) x)); -} -static void *_p_p_SoTriangleStripSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet **) x)); -} -static void *_p_p_SoIndexedTriangleStripSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet **) x)); -} -static void *_p_p_SoShaderParameter4fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f **) x)); -} -static void *_p_p_SoVRMLExtrusionTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion **) x)); -} -static void *_p_p_SoVertexAttributeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVertexAttribute **) x)); -} -static void *_p_p_SoBaseKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoBaseKit **) x)); -} -static void *_p_p_SoExtSelectionTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection **) x)); -} -static void *_p_p_SoSelectionTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoSelection **) x)); -} -static void *_p_p_SoVertexPropertyTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVertexProperty **) x)); -} -static void *_p_p_SoRotationXYZTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoRotationXYZ **) x)); -} -static void *_p_p_SoShaderParameter4iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i **) x)); -} -static void *_p_p_SoComplexityTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoComplexity **) x)); -} -static void *_p_p_SoVRMLBillboardTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard **) x)); -} -static void *_p_p_SoShaderParameterArray3fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f **) x)); -} -static void *_p_p_SoLightModelTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoLightModel **) x)); -} -static void *_p_p_SoShaderParameterArray3iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i **) x)); -} -static void *_p_p_SoUnitsTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoUnits **) x)); -} -static void *_p_p_SoShapeKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit **) x)); -} -static void *_p_p_SoRotationTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoRotation **) x)); -} -static void *_p_p_SoAnnotationTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoAnnotation **) x)); -} -static void *_p_p_SoNurbsSurfaceTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoNurbsSurface **) x)); -} -static void *_p_p_SoIndexedNurbsSurfaceTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoIndexedNurbsSurface **) x)); -} -static void *_p_p_SoNurbsProfileTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoProfile *) ((SoNurbsProfile **) x)); -} -static void *_p_p_SoLinearProfileTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoProfile *) ((SoLinearProfile **) x)); -} -static void *_p_p_SoProfileTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoProfile **) x)); -} -static void *_p_p_SoVRMLParentTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLParent **) x)); -} -static void *_p_p_SoVRMLLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLLight **) x)); -} -static void *_p_p_SoClipPlaneManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoClipPlane *) ((SoClipPlaneManip **) x)); -} -static void *_p_p_SoDepthBufferTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoDepthBuffer **) x)); -} -static void *_p_p_SoAsciiTextTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoAsciiText **) x)); -} -static void *_p_p_SoVRMLGeometryTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoVRMLGeometry **) x)); -} -static void *_p_p_SoCylinderTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoCylinder **) x)); -} -static void *_p_p_SoTextureCoordinateCylinderTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinateCylinder **) x)); -} -static void *_p_p_SoShaderParameterMatrixArrayTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray **) x)); -} -static void *_p_p_SoVRMLCylinderTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder **) x)); -} -static void *_p_p_SoVRMLNavigationInfoTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLNavigationInfo **) x)); -} -static void *_p_p_SoTexture3TransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTexture3Transform **) x)); -} -static void *_p_p_SoTexture2TransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTexture2Transform **) x)); -} -static void *_p_p_SoResetTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoResetTransform **) x)); -} -static void *_p_p_SoMatrixTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoMatrixTransform **) x)); -} -static void *_p_p_SoBumpMapTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoBumpMapTransform **) x)); -} -static void *_p_p_SoTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoTransform **) x)); -} -static void *_p_p_SoTextureMatrixTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureMatrixTransform **) x)); -} -static void *_p_p_SoVRMLTextureTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLTextureTransform **) x)); -} -static void *_p_p_SoVRMLTransformTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform **) x)); -} -static void *_p_p_SoSeparatorKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoSeparatorKit **) x)); -} -static void *_p_p_SoVRMLVertexLineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine **) x)); -} -static void *_p_p_SoLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoLight **) x)); -} -static void *_p_p_SoNodeEngineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoNodeEngine **) x)); -} -static void *_p_p_SoVRMLSoundTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLSound **) x)); -} -static void *_p_p_SoIndexedPointSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet **) x)); -} -static void *_p_p_SoPointSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet **) x)); -} -static void *_p_p_SoMaterialTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoMaterial **) x)); -} -static void *_p_p_SoBaseColorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoBaseColor **) x)); -} -static void *_p_p_SoVRMLMaterialTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLMaterial **) x)); -} -static void *_p_p_SoVRMLPointSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet **) x)); -} -static void *_p_p_SoColorIndexTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoColorIndex **) x)); -} -static void *_p_p_SoVRMLColorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLColor **) x)); -} -static void *_p_p_SoVRMLWorldInfoTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLWorldInfo **) x)); -} -static void *_p_p_SoSpotLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *) ((SoSpotLight **) x)); -} -static void *_p_p_SoTextureCoordinateDefaultTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault **) x)); -} -static void *_p_p_SoVRMLSpotLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLSpotLight **) x)); -} -static void *_p_p_SoBlinkerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSwitch *) ((SoBlinker **) x)); -} -static void *_p_p_SoLODTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoLOD **) x)); -} -static void *_p_p_SoShuttleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTranslation *) ((SoShuttle **) x)); -} -static void *_p_p_SoShaderParameterArray4fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f **) x)); -} -static void *_p_p_SoVRMLGroupTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup **) x)); -} -static void *_p_p_SoShaderObjectTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoShaderObject **) x)); -} -static void *_p_p_SoVRMLAnchorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor **) x)); -} -static void *_p_p_SoVRMLSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLSensor **) x)); -} -static void *_p_p_SoVRMLCylinderSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor **) x)); -} -static void *_p_p_SoVRMLTouchSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLTouchSensor **) x)); -} -static void *_p_p_SoIndexedMarkerSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet **) x)); -} -static void *_p_p_SoMarkerSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet **) x)); -} -static void *_p_p_SoDirectionalLightManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip **) x)); -} -static void *_p_p_SoPointLightManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *)(SoPointLight *) ((SoPointLightManip **) x)); -} -static void *_p_p_SoSpotLightManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *)(SoSpotLight *) ((SoSpotLightManip **) x)); -} -static void *_p_p_SoNurbsCurveTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoNurbsCurve **) x)); -} -static void *_p_p_SoIndexedNurbsCurveTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoIndexedNurbsCurve **) x)); -} -static void *_p_p_SoShaderParameterArray4iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i **) x)); -} -static void *_p_p_SoIndexedShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *) ((SoIndexedShape **) x)); -} -static void *_p_p_SoNonIndexedShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape **) x)); -} -static void *_p_p_SoRotorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoRotation *) ((SoRotor **) x)); -} -static void *_p_p_SoVRMLIndexedShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape **) x)); -} -static void *_p_p_SoTextureCoordinateCubeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinateCube **) x)); -} -static void *_p_p_SoVRMLTextTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText **) x)); -} -static void *_p_p_SoTransformerManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip **) x)); -} -static void *_p_p_SoAntiSquishTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoAntiSquish **) x)); -} -static void *_p_p_SoGroupTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoGroup **) x)); -} -static void *_p_p_SoMultipleCopyTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoMultipleCopy **) x)); -} -static void *_p_p_SoListenerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoListener **) x)); -} -static void *_p_p_SoConeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoCone **) x)); -} -static void *_p_p_SoFileTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoFile **) x)); -} -static void *_p_p_SoTransformationTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTransformation **) x)); -} -static void *_p_p_SoFontStyleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoFont *) ((SoFontStyle **) x)); -} -static void *_p_p_SoVRMLFontStyleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLFontStyle **) x)); -} -static void *_p_p_SoImageTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoImage **) x)); -} -static void *_p_p_SoTextureCubeMapTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTexture *) ((SoTextureCubeMap **) x)); -} -static void *_p_p_SoSceneTextureCubeMapTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoSceneTextureCubeMap **) x)); -} -static void *_p_p_SoVRMLAppearanceTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLAppearance **) x)); -} -static void *_p_p_SoPointLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *) ((SoPointLight **) x)); -} -static void *_p_p_SoVRMLPointLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLPointLight **) x)); -} -static void *_p_p_SoTransformManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *) ((SoTransformManip **) x)); -} -static void *_p_p_SoPolygonOffsetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoPolygonOffset **) x)); -} -static void *_p_p_SoVRMLBackgroundTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLBackground **) x)); -} -static void *_p_p_SoWWWAnchorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor **) x)); -} -static void *_p_p_SoEventCallbackTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoEventCallback **) x)); -} -static void *_p_p_SoCallbackTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoCallback **) x)); -} -static void *_p_p_SoTextureCoordinateObjectTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateObject **) x)); -} -static void *_p_p_SoJackManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip **) x)); -} -static void *_p_p_SoFrustumCameraTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoCamera *) ((SoFrustumCamera **) x)); -} -static void *_p_p_SoOrthographicCameraTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoCamera *) ((SoOrthographicCamera **) x)); -} -static void *_p_p_SoPerspectiveCameraTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoCamera *) ((SoPerspectiveCamera **) x)); -} -static void *_p_p_SoCameraTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoCamera **) x)); -} -static void *_p_p_SoCameraKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoCameraKit **) x)); -} -static void *_p_p_SoArrayTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoArray **) x)); -} -static void *_p_p_SoVRMLDragSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLSensor *) ((SoVRMLDragSensor **) x)); -} -static void *_p_p_SoVRMLPlaneSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor **) x)); -} -static void *_p_p_SoVRMLProximitySensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLProximitySensor **) x)); -} -static void *_p_p_SoVRMLSphereSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor **) x)); -} -static void *_p_p_SoVRMLTimeSensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *) ((SoVRMLTimeSensor **) x)); -} -static void *_p_p_SoVRMLVisibilitySensorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLVisibilitySensor **) x)); -} -static void *_p_p_SoShaderParameter1fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f **) x)); -} -static void *_p_p_SoVRMLSphereTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere **) x)); -} -static void *_p_p_SoTextureCoordinateEnvironmentTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment **) x)); -} -static void *_p_p_SoEnvironmentTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoEnvironment **) x)); -} -static void *_p_p_SoDrawStyleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoDrawStyle **) x)); -} -static void *_p_p_SoShaderParameter1iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i **) x)); -} -static void *_p_p_SoVRMLBoxTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox **) x)); -} -static void *_p_p_SoTextureCoordinateNormalMapTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap **) x)); -} -static void *_p_p_SoTransparencyTypeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTransparencyType **) x)); -} -static void *_p_p_SoVRMLFogTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLFog **) x)); -} -static void *_p_p_SoSurroundScaleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoSurroundScale **) x)); -} -static void *_p_p_SoVertexShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoVertexShape **) x)); -} -static void *_p_p_SoVRMLVertexShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape **) x)); -} -static void *_p_p_SoTextureUnitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureUnit **) x)); -} -static void *_p_p_SoAppearanceKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoAppearanceKit **) x)); -} -static void *_p_p_SoTabBoxDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger **) x)); -} -static void *_p_p_SoSpotLightDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger **) x)); -} -static void *_p_p_SoScaleUniformDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger **) x)); -} -static void *_p_p_SoScale2UniformDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger **) x)); -} -static void *_p_p_SoScale2DraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger **) x)); -} -static void *_p_p_SoScale1DraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger **) x)); -} -static void *_p_p_SoRotateSphericalDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger **) x)); -} -static void *_p_p_SoRotateDiscDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger **) x)); -} -static void *_p_p_SoRotateCylindricalDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger **) x)); -} -static void *_p_p_SoPointLightDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger **) x)); -} -static void *_p_p_SoJackDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger **) x)); -} -static void *_p_p_SoHandleBoxDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger **) x)); -} -static void *_p_p_SoDragPointDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger **) x)); -} -static void *_p_p_SoDirectionalLightDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger **) x)); -} -static void *_p_p_SoCenterballDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger **) x)); -} -static void *_p_p_SoDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *) ((SoDragger **) x)); -} -static void *_p_p_SoTabPlaneDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger **) x)); -} -static void *_p_p_SoTrackballDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger **) x)); -} -static void *_p_p_SoTransformBoxDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger **) x)); -} -static void *_p_p_SoTransformerDraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger **) x)); -} -static void *_p_p_SoTranslate1DraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger **) x)); -} -static void *_p_p_SoTranslate2DraggerTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger **) x)); -} -static void *_p_p_SoPickStyleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoPickStyle **) x)); -} -static void *_p_p_SoVRMLInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *) ((SoVRMLInterpolator **) x)); -} -static void *_p_p_SoVRMLColorInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator **) x)); -} -static void *_p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator **) x)); -} -static void *_p_p_SoVRMLNormalInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator **) x)); -} -static void *_p_p_SoVRMLOrientationInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator **) x)); -} -static void *_p_p_SoVRMLPositionInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator **) x)); -} -static void *_p_p_SoVRMLScalarInterpolatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator **) x)); -} -static void *_p_p_SoVRMLConeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone **) x)); -} -static void *_p_p_SoFontTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoFont **) x)); -} -static void *_p_p_SoVRMLIndexedLineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine **) x)); -} -static void *_p_p_SoShaderProgramTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoShaderProgram **) x)); -} -static void *_p_p_SoTextureTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTexture **) x)); -} -static void *_p_p_SoCacheHintTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoCacheHint **) x)); -} -static void *_p_p_SoVRMLTextureTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLTexture **) x)); -} -static void *_p_p_SoVRMLImageTextureTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLImageTexture **) x)); -} -static void *_p_p_SoVRMLMovieTextureTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLMovieTexture **) x)); -} -static void *_p_p_SoVRMLPixelTextureTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLPixelTexture **) x)); -} -static void *_p_p_SoTextureCoordinateFunctionTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinateFunction **) x)); -} -static void *_p_p_SoSphereTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoSphere **) x)); -} -static void *_p_p_SoNodeKitListPartTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoNodeKitListPart **) x)); -} -static void *_p_p_SoTextureCoordinateSphereTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinateSphere **) x)); -} -static void *_p_p_SoPendulumTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoRotation *) ((SoPendulum **) x)); -} -static void *_p_p_SoSceneKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoSceneKit **) x)); -} -static void *_p_p_SoFragmentShaderTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderObject *) ((SoFragmentShader **) x)); -} -static void *_p_p_SoVertexShaderTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderObject *) ((SoVertexShader **) x)); -} -static void *_p_p_SoShapeHintsTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoShapeHints **) x)); -} -static void *_p_p_SoTexture2To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTexture *) ((SoTexture2 **) x)); -} -static void *_p_p_SoSceneTexture2To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoSceneTexture2 **) x)); -} -static void *_p_p_SoTexture3To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTexture *) ((SoTexture3 **) x)); -} -static void *_p_p_SoShaderParameter2fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f **) x)); -} -static void *_p_p_SoTextureCoordinatePlaneTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane **) x)); -} -static void *_p_p_SoShaderParameterMatrixTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix **) x)); -} -static void *_p_p_SoTextureCoordinateReflectionMapTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap **) x)); -} -static void *_p_p_SoVRMLAudioClipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLAudioClip **) x)); -} -static void *_p_p_SoQuadMeshTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh **) x)); -} -static void *_p_p_SoPathSwitchTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoPathSwitch **) x)); -} -static void *_p_p_SoShaderParameter2iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i **) x)); -} -static void *_p_p_SoVRMLSwitchTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLSwitch **) x)); -} -static void *_p_p_SoText2To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoText2 **) x)); -} -static void *_p_p_SoText3To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoText3 **) x)); -} -static void *_p_p_SoTransformSeparatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoTransformSeparator **) x)); -} -static void *_p_p_SoSeparatorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoSeparator **) x)); -} -static void *_p_p_SoShaderParameterArray1fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f **) x)); -} -static void *_p_p_SoInteractionKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *) ((SoInteractionKit **) x)); -} -static void *_p_p_SoBumpMapTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoBumpMap **) x)); -} -static void *_p_p_SoTextureCoordinate2To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinate2 **) x)); -} -static void *_p_p_SoProfileCoordinate2To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoProfileCoordinate2 **) x)); -} -static void *_p_p_SoVRMLNormalTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLNormal **) x)); -} -static void *_p_p_SoTextureCoordinate3To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinate3 **) x)); -} -static void *_p_p_SoProfileCoordinate3To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoProfileCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate3To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate4To_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoCoordinate4 **) x)); -} -static void *_p_p_SoShaderParameterArray1iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i **) x)); -} -static void *_p_p_SoVRMLLODTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLLOD **) x)); -} -static void *_p_p_SoCubeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *) ((SoCube **) x)); -} -static void *_p_p_SoLocateHighlightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoLocateHighlight **) x)); -} -static void *_p_p_SoVRMLElevationGridTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid **) x)); -} -static void *_p_p_SoVRMLShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLShape **) x)); -} -static void *_p_p_SoVRMLVertexPointTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint **) x)); -} -static void *_p_p_SoVRMLViewpointTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLViewpoint **) x)); -} -static void *_p_p_SoInfoTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoInfo **) x)); -} -static void *_p_p_SoVertexAttributeBindingTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVertexAttributeBinding **) x)); -} -static void *_p_p_SoMaterialBindingTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoMaterialBinding **) x)); -} -static void *_p_p_SoNormalBindingTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoNormalBinding **) x)); -} -static void *_p_p_SoTextureCoordinateBindingTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureCoordinateBinding **) x)); -} -static void *_p_p_SoHandleBoxManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip **) x)); -} -static void *_p_p_SoTabBoxManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip **) x)); -} -static void *_p_p_SoTransformBoxManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip **) x)); -} -static void *_p_p_SoVRMLCollisionTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision **) x)); -} -static void *_p_p_SoPackedColorTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoPackedColor **) x)); -} -static void *_p_p_SoSwitchTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoSwitch **) x)); -} -static void *_p_p_SoTranslationTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoTranslation **) x)); -} -static void *_p_p_SoIndexedFaceSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet **) x)); -} -static void *_p_p_SoFaceSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet **) x)); -} -static void *_p_p_SoVRMLIndexedFaceSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet **) x)); -} -static void *_p_p_SoShapeTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoShape **) x)); -} -static void *_p_p_SoTextureScalePolicyTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoTextureScalePolicy **) x)); -} -static void *_p_p_SoVRMLScriptTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLScript **) x)); -} -static void *_p_p_SoNormalTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoNormal **) x)); -} -static void *_p_p_SoShaderParameter3fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f **) x)); -} -static void *_p_p_SoVRMLInlineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoVRMLInline **) x)); -} -static void *_p_p_SoShaderParameter3iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i **) x)); -} -static void *_p_p_SoWrapperKitTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit **) x)); -} -static void *_p_p_SoShaderParameterArray2fTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f **) x)); -} -static void *_p_p_SoScaleTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *) ((SoScale **) x)); -} -static void *_p_p_SoShaderParameterArray2iTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i **) x)); -} -static void *_p_p_SoLineSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet **) x)); -} -static void *_p_p_SoIndexedLineSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet **) x)); -} -static void *_p_p_SoLabelTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoLabel **) x)); -} -static void *_p_p_SoVRMLIndexedLineSetTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet **) x)); -} -static void *_p_p_SoProtoInstanceTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoProtoInstance **) x)); -} -static void *_p_p_SoShaderParameterTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoShaderParameter **) x)); -} -static void *_p_p_SoUniformShaderParameterTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *) ((SoUniformShaderParameter **) x)); -} -static void *_p_p_SoShaderStateMatrixParameterTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter **) x)); -} -static void *_p_p_SoDirectionalLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoLight *) ((SoDirectionalLight **) x)); -} -static void *_p_p_SoVRMLDirectionalLightTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLDirectionalLight **) x)); -} -static void *_p_p_SoProtoTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoProto **) x)); -} -static void *_p_p_SoCenterballManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip **) x)); -} -static void *_p_p_SoTrackballManipTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip **) x)); -} -static void *_p_p_SoWWWInlineTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) ((SoWWWInline **) x)); -} -static void *_p_p_SoLevelOfDetailTo_p_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode **) (SoGroup *) ((SoLevelOfDetail **) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoTexture2Convert(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4fTo_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)) ((SbColor4f &(*)(void *,SbVec3f const &,SbVec3f const &)) x)); -} -static void *_p_longpTo_p_long(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((long *) ((longp *) x)); -} -static void *_p_a_4__floatpTo_p_a_4__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)[4]) ((floatp (*)[4]) x)); -} -static void *_p_a_4__a_4__floatpTo_p_a_4__a_4__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)[4][4]) ((floatp (*)[4][4]) x)); -} -static void *_p_f_p_void_p_SoGLRenderAction__floatpTo_p_f_p_void_p_SoGLRenderAction__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)(void *,SoGLRenderAction *)) ((floatp (*)(void *,SoGLRenderAction *)) x)); -} -static void *_p_f_p_void__floatpTo_p_f_p_void__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)(void *)) ((floatp (*)(void *)) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbSphereSectionProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SbSphereSheetProjectorTo_p_SbSphereProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbSphereProjector *) ((SbSphereSheetProjector *) x)); -} -static void *_p_SbSphereSectionProjectorTo_p_SbSphereProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbSphereProjector *) ((SbSphereSectionProjector *) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbSphereProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbSphereProjector *) (SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbCylinderSectionProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSectionProjectorTo_p_SbCylinderProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbCylinderProjector *) ((SbCylinderSectionProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbCylinderProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbCylinderProjector *) (SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSheetProjectorTo_p_SbCylinderProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbCylinderProjector *) ((SbCylinderSheetProjector *) x)); -} -static void *_p_SbCylinderProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) ((SbCylinderProjector *) x)); -} -static void *_p_SbCylinderSectionProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbCylinderProjector *) ((SbCylinderSectionProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbCylinderProjector *)(SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSheetProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbCylinderProjector *) ((SbCylinderSheetProjector *) x)); -} -static void *_p_SbLineProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) ((SbLineProjector *) x)); -} -static void *_p_SbPlaneProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) ((SbPlaneProjector *) x)); -} -static void *_p_SbSphereProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) ((SbSphereProjector *) x)); -} -static void *_p_SbSphereSheetProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbSphereProjector *) ((SbSphereSheetProjector *) x)); -} -static void *_p_SbSphereSectionProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbSphereProjector *) ((SbSphereSectionProjector *) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbProjector(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbProjector *) (SbSphereProjector *)(SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SoTextureCoordinateBundleTo_p_SoBundle(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBundle *) ((SoTextureCoordinateBundle *) x)); -} -static void *_p_SoMaterialBundleTo_p_SoBundle(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBundle *) ((SoMaterialBundle *) x)); -} -static void *_p_SoNormalBundleTo_p_SoBundle(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBundle *) ((SoNormalBundle *) x)); -} -static void *_p_f_p_void_p_SoVRMLAudioClip_p_void__longpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__long(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((long (*)(void *,SoVRMLAudioClip *,void *)) ((longp (*)(void *,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_SoVRMLSphereTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoVRMLTextTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoVRMLConeTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoVRMLGeometry(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoGLLazyElementTo_p_SoLazyElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLazyElement *) ((SoGLLazyElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoTextureCoordinateElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoNormalElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoProjectionMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoProjectionMatrixElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoPolygonOffsetElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoPolygonOffsetElement *) x)); -} -static void *_p_SoLightAttenuationElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoLightAttenuationElement *) x)); -} -static void *_p_SoFontNameElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoFontNameElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoEnvironmentElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoEnvironmentElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoPickRayElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoPickRayElement *) x)); -} -static void *_p_SoOverrideElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoOverrideElement *) x)); -} -static void *_p_SoLocalBBoxMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoLocalBBoxMatrixElement *) x)); -} -static void *_p_SoGLUpdateAreaElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoGLUpdateAreaElement *) x)); -} -static void *_p_SoGLRenderPassElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoGLRenderPassElement *) x)); -} -static void *_p_SoTextureOverrideElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoTextureOverrideElement *) x)); -} -static void *_p_SoTextureQualityElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoTextureQualityElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *)(SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoPointSizeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoPointSizeElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *)(SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoLineWidthElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoLineWidthElement *) x)); -} -static void *_p_SoFontSizeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoFontSizeElement *) x)); -} -static void *_p_SoFocalDistanceElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoFocalDistanceElement *) x)); -} -static void *_p_SoUnitsElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoUnitsElement *) x)); -} -static void *_p_SoTextOutlineEnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextOutlineEnabledElement *) x)); -} -static void *_p_SoSwitchElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoSwitchElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *)(SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoLinePatternElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoLinePatternElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *)(SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoTexture3EnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTexture3EnabledElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *)(SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoTextureEnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureEnabledElement *) x)); -} -static void *_p_SoGLLightIdElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoGLLightIdElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *)(SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoTextureMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoTextureMatrixElement *) x)); -} -static void *_p_SoProfileElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoProfileElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoLightElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoLightElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoDiffuseColorElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoDiffuseColorElement *) x)); -} -static void *_p_SoDecimationPercentageElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoDecimationPercentageElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoNormalElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoNormalElement *) x)); -} -static void *_p_SoTextureCoordinateBindingElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureCoordinateBindingElement *) x)); -} -static void *_p_SoTextureImageElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTextureImageElement *) x)); -} -static void *_p_SoReplacedElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoReplacedElement *) x)); -} -static void *_p_SoShapeHintsElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoShapeHintsElement *) x)); -} -static void *_p_SoPickStyleElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoPickStyleElement *) x)); -} -static void *_p_SoNormalBindingElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoNormalBindingElement *) x)); -} -static void *_p_SoMaterialBindingElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoMaterialBindingElement *) x)); -} -static void *_p_SoLazyElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoLazyElement *) x)); -} -static void *_p_SoDrawStyleElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoDrawStyleElement *) x)); -} -static void *_p_SoComplexityTypeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoComplexityTypeElement *) x)); -} -static void *_p_SoDecimationTypeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoDecimationTypeElement *) x)); -} -static void *_p_SoInt32ElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoInt32Element *) x)); -} -static void *_p_SoTextureCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTextureCoordinateElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoGLLazyElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoLazyElement *) ((SoGLLazyElement *) x)); -} -static void *_p_SoAccumulatedElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoAccumulatedElement *) x)); -} -static void *_p_SoAmbientColorElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoAmbientColorElement *) x)); -} -static void *_p_SoAnnoText3CharOrientElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3CharOrientElement *) x)); -} -static void *_p_SoAnnoText3FontSizeHintElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3FontSizeHintElement *) x)); -} -static void *_p_SoAnnoText3RenderPrintElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3RenderPrintElement *) x)); -} -static void *_p_SoModelMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoModelMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoBumpMapCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoBumpMapCoordinateElement *) x)); -} -static void *_p_SoBumpMapElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoBumpMapElement *) x)); -} -static void *_p_SoBumpMapMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoBumpMapMatrixElement *) x)); -} -static void *_p_SoCacheElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoCacheElement *) x)); -} -static void *_p_SoClipPlaneElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoClipPlaneElement *) x)); -} -static void *_p_SoFloatElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoFloatElement *) x)); -} -static void *_p_SoComplexityElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoComplexityElement *) x)); -} -static void *_p_SoCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoCoordinateElement *) x)); -} -static void *_p_SoCreaseAngleElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoCreaseAngleElement *) x)); -} -static void *_p_SoCullElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoCullElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoProfileCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoProfileCoordinateElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoViewingMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoViewingMatrixElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *)(SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoViewVolumeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoViewVolumeElement *) x)); -} -static void *_p_SoGLShapeHintsElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoShapeHintsElement *) ((SoGLShapeHintsElement *) x)); -} -static void *_p_SoShapeStyleElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoShapeStyleElement *) x)); -} -static void *_p_SoViewportRegionElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoViewportRegionElement *) x)); -} -static void *_p_SoGLViewportRegionElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoViewportRegionElement *) ((SoGLViewportRegionElement *) x)); -} -static void *_p_SoWindowElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoWindowElement *) x)); -} -static void *_p_SoGLCacheContextElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoGLCacheContextElement *) x)); -} -static void *_p_SoGLColorIndexElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoGLColorIndexElement *) x)); -} -static void *_p_SoListenerPositionElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerPositionElement *) x)); -} -static void *_p_SoListenerOrientationElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerOrientationElement *) x)); -} -static void *_p_SoListenerDopplerElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerDopplerElement *) x)); -} -static void *_p_SoListenerGainElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoFloatElement *) ((SoListenerGainElement *) x)); -} -static void *_p_SoSoundElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoSoundElement *) x)); -} -static void *_p_SoGLVBOElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoGLVBOElement *) x)); -} -static void *_p_SoDepthBufferElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoDepthBufferElement *) x)); -} -static void *_p_SoGLDepthBufferElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoDepthBufferElement *) ((SoGLDepthBufferElement *) x)); -} -static void *_p_SoVertexAttributeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoVertexAttributeElement *) x)); -} -static void *_p_SoGLVertexAttributeElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoVertexAttributeElement *) ((SoGLVertexAttributeElement *) x)); -} -static void *_p_SoVertexAttributeBindingElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoVertexAttributeBindingElement *) x)); -} -static void *_p_SoSpecularColorElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoSpecularColorElement *) x)); -} -static void *_p_SoEmissiveColorElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoEmissiveColorElement *) x)); -} -static void *_p_SoShininessElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoShininessElement *) x)); -} -static void *_p_SoTransparencyElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTransparencyElement *) x)); -} -static void *_p_SoLightModelElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoLightModelElement *) x)); -} -static void *_p_SoMultiTextureCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoMultiTextureCoordinateElement *) x)); -} -static void *_p_SoGLMultiTextureCoordinateElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoMultiTextureCoordinateElement *) ((SoGLMultiTextureCoordinateElement *) x)); -} -static void *_p_SoMultiTextureEnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoMultiTextureEnabledElement *) x)); -} -static void *_p_SoGLMultiTextureEnabledElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoMultiTextureEnabledElement *) ((SoGLMultiTextureEnabledElement *) x)); -} -static void *_p_SoMultiTextureImageElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoMultiTextureImageElement *) x)); -} -static void *_p_SoGLMultiTextureImageElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoMultiTextureImageElement *) ((SoGLMultiTextureImageElement *) x)); -} -static void *_p_SoMultiTextureMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoMultiTextureMatrixElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoTextureCombineElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoTextureCombineElement *) x)); -} -static void *_p_SoTextureUnitElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureUnitElement *) x)); -} -static void *_p_SoCacheHintElementTo_p_SoElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoElement *) ((SoCacheHintElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) (SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoTextureEnabledElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoTextureEnabledElement *) x)); -} -static void *_p_SoGLLightIdElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoGLLightIdElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) (SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoAnnoText3RenderPrintElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoAnnoText3RenderPrintElement *) x)); -} -static void *_p_SoAnnoText3FontSizeHintElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoAnnoText3FontSizeHintElement *) x)); -} -static void *_p_SoAnnoText3CharOrientElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoAnnoText3CharOrientElement *) x)); -} -static void *_p_SoTextureCoordinateBindingElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoTextureCoordinateBindingElement *) x)); -} -static void *_p_SoPickStyleElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoPickStyleElement *) x)); -} -static void *_p_SoNormalBindingElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoNormalBindingElement *) x)); -} -static void *_p_SoMaterialBindingElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoMaterialBindingElement *) x)); -} -static void *_p_SoDrawStyleElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoDrawStyleElement *) x)); -} -static void *_p_SoComplexityTypeElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoComplexityTypeElement *) x)); -} -static void *_p_SoDecimationTypeElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoDecimationTypeElement *) x)); -} -static void *_p_SoTexture3EnabledElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoTexture3EnabledElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) (SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoLinePatternElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoLinePatternElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) (SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoSwitchElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoSwitchElement *) x)); -} -static void *_p_SoTextOutlineEnabledElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoTextOutlineEnabledElement *) x)); -} -static void *_p_SoUnitsElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoUnitsElement *) x)); -} -static void *_p_SoVertexAttributeBindingElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoVertexAttributeBindingElement *) x)); -} -static void *_p_SoLightModelElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoLightModelElement *) x)); -} -static void *_p_SoTextureUnitElementTo_p_SoInt32Element(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInt32Element *) ((SoTextureUnitElement *) x)); -} -static void *_p_SoFontNameElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoFontNameElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoEnvironmentElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoEnvironmentElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoDiffuseColorElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoDiffuseColorElement *) x)); -} -static void *_p_SoCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoCoordinateElement *) x)); -} -static void *_p_SoBumpMapElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoBumpMapElement *) x)); -} -static void *_p_SoBumpMapCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoBumpMapCoordinateElement *) x)); -} -static void *_p_SoAmbientColorElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoAmbientColorElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoTextureCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoTextureCoordinateElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoNormalElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoNormalElement *) x)); -} -static void *_p_SoTextureImageElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoTextureImageElement *) x)); -} -static void *_p_SoLightAttenuationElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoLightAttenuationElement *) x)); -} -static void *_p_SoPolygonOffsetElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoPolygonOffsetElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoProjectionMatrixElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoProjectionMatrixElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoProfileCoordinateElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoProfileCoordinateElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoViewingMatrixElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoViewingMatrixElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) (SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoViewVolumeElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoViewVolumeElement *) x)); -} -static void *_p_SoGLColorIndexElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoGLColorIndexElement *) x)); -} -static void *_p_SoListenerPositionElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoListenerPositionElement *) x)); -} -static void *_p_SoListenerOrientationElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoListenerOrientationElement *) x)); -} -static void *_p_SoListenerDopplerElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoListenerDopplerElement *) x)); -} -static void *_p_SoSoundElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoSoundElement *) x)); -} -static void *_p_SoSpecularColorElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoSpecularColorElement *) x)); -} -static void *_p_SoEmissiveColorElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoEmissiveColorElement *) x)); -} -static void *_p_SoShininessElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoShininessElement *) x)); -} -static void *_p_SoTransparencyElementTo_p_SoReplacedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoReplacedElement *) ((SoTransparencyElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoMultiTextureMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoMultiTextureMatrixElement *) x)); -} -static void *_p_SoGLVertexAttributeElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoVertexAttributeElement *) ((SoGLVertexAttributeElement *) x)); -} -static void *_p_SoVertexAttributeElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoVertexAttributeElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoTextureMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoTextureMatrixElement *) x)); -} -static void *_p_SoProfileElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoProfileElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoLightElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoLightElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoClipPlaneElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoClipPlaneElement *) x)); -} -static void *_p_SoBumpMapMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoBumpMapMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) (SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoModelMatrixElementTo_p_SoAccumulatedElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoAccumulatedElement *) ((SoModelMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoModelMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoModelMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoComplexityElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoComplexityElement *) x)); -} -static void *_p_SoCreaseAngleElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoCreaseAngleElement *) x)); -} -static void *_p_SoDecimationPercentageElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoDecimationPercentageElement *) x)); -} -static void *_p_SoFocalDistanceElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoFocalDistanceElement *) x)); -} -static void *_p_SoFontSizeElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoFontSizeElement *) x)); -} -static void *_p_SoLineWidthElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoLineWidthElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) (SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoPointSizeElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoPointSizeElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) (SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoTextureQualityElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoTextureQualityElement *) x)); -} -static void *_p_SoListenerGainElementTo_p_SoFloatElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFloatElement *) ((SoListenerGainElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoClipPlaneElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoTextureMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoDrawStyleElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoTextureEnabledElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoTexture3EnabledElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoLinePatternElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoLineWidthElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoPointSizeElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoCoordinateElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoEnvironmentElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoPolygonOffsetElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoProjectionMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoTextureImageElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoViewingMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoGLShapeHintsElementTo_p_SoShapeHintsElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShapeHintsElement *) ((SoGLShapeHintsElement *) x)); -} -static void *_p_SoGLViewportRegionElementTo_p_SoViewportRegionElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoViewportRegionElement *) ((SoGLViewportRegionElement *) x)); -} -static void *_p_SoGLDepthBufferElementTo_p_SoDepthBufferElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDepthBufferElement *) ((SoGLDepthBufferElement *) x)); -} -static void *_p_SoGLVertexAttributeElementTo_p_SoVertexAttributeElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexAttributeElement *) ((SoGLVertexAttributeElement *) x)); -} -static void *_p_SoGLMultiTextureCoordinateElementTo_p_SoMultiTextureCoordinateElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMultiTextureCoordinateElement *) ((SoGLMultiTextureCoordinateElement *) x)); -} -static void *_p_SoGLMultiTextureEnabledElementTo_p_SoMultiTextureEnabledElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMultiTextureEnabledElement *) ((SoGLMultiTextureEnabledElement *) x)); -} -static void *_p_SoGLMultiTextureImageElementTo_p_SoMultiTextureImageElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMultiTextureImageElement *) ((SoGLMultiTextureImageElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoMultiTextureMatrixElement(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoInterpolate(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoInterpolate(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoInterpolate(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoInterpolate(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoInterpolate(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoVRMLSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoVRMLSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoVRMLSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoVRMLSensor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoVRMLGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoVRMLGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSFVec4sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4s *) x)); -} -static void *_p_SoSFNameTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFName *) x)); -} -static void *_p_SoSFVec4i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4i32 *) x)); -} -static void *_p_SoSFFloatTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec3sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoSFVec4ui32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4ui32 *) x)); -} -static void *_p_SoSFTimeTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFDoubleTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFDouble *) x)); -} -static void *_p_SoSFVec2sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFBox3dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3d *) x)); -} -static void *_p_SoSFEnumTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFBox3fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3f *) x)); -} -static void *_p_SoSFColorTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoSFRotationTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) (SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFPathTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFVec3i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3i32 *) x)); -} -static void *_p_SoSFPlaneTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFBox2dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2d *) x)); -} -static void *_p_SoSFStringTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFString *) x)); -} -static void *_p_SoSFBox2fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2f *) x)); -} -static void *_p_SoSFVec4ubTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4ub *) x)); -} -static void *_p_SoSFBox3i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3i32 *) x)); -} -static void *_p_SoSFVec4bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4b *) x)); -} -static void *_p_SoSFVec4dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4d *) x)); -} -static void *_p_SoSFEngineTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFVec4fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFUInt32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFVec3bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3b *) x)); -} -static void *_p_SoSFNodeTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFImage3To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFMatrixTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoSFTriggerTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec3dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoSFImageTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFUShortTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec3fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFVec2i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2i32 *) x)); -} -static void *_p_SoSFVec2bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2b *) x)); -} -static void *_p_SoSFBox2sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2s *) x)); -} -static void *_p_SoSFInt32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoSFColorRGBATo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFColorRGBA *) x)); -} -static void *_p_SoSFVec2dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2d *) x)); -} -static void *_p_SoSFBox2i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2i32 *) x)); -} -static void *_p_SoSFVec2fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoSFBoolTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFShortTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoSFVec4usTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4us *) x)); -} -static void *_p_SoClipPlaneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) ((SoPath *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoExtSelectionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoFullPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *) ((SoFullPath *) x)); -} -static void *_p_SoLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_SoConeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoFieldContainerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) ((SoFieldContainer *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoTempPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *)(SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoPickStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoTimeCounterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoCounterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoQuadMeshTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoInfo *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_p_SoClipPlaneTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoClipPlane **) x)); -} -static void *_p_p_SoPathTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) ((SoPath **) x)); -} -static void *_p_p_SoBumpMapCoordinateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate **) x)); -} -static void *_p_p_SoVRMLCoordinateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate **) x)); -} -static void *_p_p_SoVRMLTextureCoordinateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate **) x)); -} -static void *_p_p_SoLightKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit **) x)); -} -static void *_p_p_SoTextureCombineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCombine **) x)); -} -static void *_p_p_SoIndexedTriangleStripSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet **) x)); -} -static void *_p_p_SoTriangleStripSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet **) x)); -} -static void *_p_p_SoShaderParameter4fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f **) x)); -} -static void *_p_p_SoVRMLExtrusionTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion **) x)); -} -static void *_p_p_SoOnOffTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoOnOff **) x)); -} -static void *_p_p_SoBaseKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBaseKit **) x)); -} -static void *_p_p_SoVertexAttributeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVertexAttribute **) x)); -} -static void *_p_p_SoExtSelectionTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection **) x)); -} -static void *_p_p_SoSelectionTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection **) x)); -} -static void *_p_p_SoVertexPropertyTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVertexProperty **) x)); -} -static void *_p_p_SoRotationXYZTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ **) x)); -} -static void *_p_p_SoShaderParameter4iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i **) x)); -} -static void *_p_p_SoComplexityTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoComplexity **) x)); -} -static void *_p_p_SoVRMLBillboardTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard **) x)); -} -static void *_p_p_SoShaderParameterArray3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f **) x)); -} -static void *_p_p_SoLightModelTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLightModel **) x)); -} -static void *_p_p_SoShaderParameterArray3iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i **) x)); -} -static void *_p_p_SoUnitsTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits **) x)); -} -static void *_p_p_SoShapeKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit **) x)); -} -static void *_p_p_SoAnnotationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation **) x)); -} -static void *_p_p_SoComposeRotationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation **) x)); -} -static void *_p_p_SoDecomposeRotationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation **) x)); -} -static void *_p_p_SoInterpolateRotationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation **) x)); -} -static void *_p_p_SoIndexedNurbsSurfaceTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface **) x)); -} -static void *_p_p_SoLinearProfileTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile **) x)); -} -static void *_p_p_SoProfileTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfile **) x)); -} -static void *_p_p_SoNurbsSurfaceTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface **) x)); -} -static void *_p_p_SoRotationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation **) x)); -} -static void *_p_p_SoNurbsProfileTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile **) x)); -} -static void *_p_p_SoFieldConverterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter **) x)); -} -static void *_p_p_SoVRMLParentTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent **) x)); -} -static void *_p_p_SoInterpolateVec2fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f **) x)); -} -static void *_p_p_SoVRMLLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLLight **) x)); -} -static void *_p_p_SoClipPlaneManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip **) x)); -} -static void *_p_p_SoDepthBufferTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoDepthBuffer **) x)); -} -static void *_p_p_SoAsciiTextTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText **) x)); -} -static void *_p_p_SoVRMLGeometryTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry **) x)); -} -static void *_p_p_SoCylinderTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder **) x)); -} -static void *_p_p_SoTextureCoordinateCylinderTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder **) x)); -} -static void *_p_p_SoShaderParameterMatrixArrayTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray **) x)); -} -static void *_p_p_SoVRMLCylinderTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder **) x)); -} -static void *_p_p_SoVRMLNavigationInfoTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo **) x)); -} -static void *_p_p_SoComputeBoundingBoxTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox **) x)); -} -static void *_p_p_SoMatrixTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform **) x)); -} -static void *_p_p_SoBumpMapTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform **) x)); -} -static void *_p_p_SoTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform **) x)); -} -static void *_p_p_SoResetTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform **) x)); -} -static void *_p_p_SoTexture2TransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform **) x)); -} -static void *_p_p_SoTexture3TransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform **) x)); -} -static void *_p_p_SoTextureMatrixTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureMatrixTransform **) x)); -} -static void *_p_p_SoVRMLTextureTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform **) x)); -} -static void *_p_p_SoVRMLTransformTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform **) x)); -} -static void *_p_p_SoComposeVec3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f **) x)); -} -static void *_p_p_SoDecomposeVec3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f **) x)); -} -static void *_p_p_SoSeparatorKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit **) x)); -} -static void *_p_p_SoVRMLVertexLineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine **) x)); -} -static void *_p_p_SoFullPathTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoPath *) ((SoFullPath **) x)); -} -static void *_p_p_SoLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLight **) x)); -} -static void *_p_p_SoNodeEngineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNodeEngine **) x)); -} -static void *_p_p_SoEngineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *) ((SoEngine **) x)); -} -static void *_p_p_SoVRMLSoundTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLSound **) x)); -} -static void *_p_p_SoPointSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet **) x)); -} -static void *_p_p_SoMaterialTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoMaterial **) x)); -} -static void *_p_p_SoBaseColorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBaseColor **) x)); -} -static void *_p_p_SoTriggerAnyTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny **) x)); -} -static void *_p_p_SoIndexedPointSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet **) x)); -} -static void *_p_p_SoVRMLMaterialTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial **) x)); -} -static void *_p_p_SoVRMLPointSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet **) x)); -} -static void *_p_p_SoColorIndexTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoColorIndex **) x)); -} -static void *_p_p_SoVRMLColorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLColor **) x)); -} -static void *_p_p_SoVRMLWorldInfoTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo **) x)); -} -static void *_p_p_SoSpotLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight **) x)); -} -static void *_p_p_SoTextureCoordinateDefaultTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault **) x)); -} -static void *_p_p_SoVRMLSpotLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight **) x)); -} -static void *_p_p_SoBlinkerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker **) x)); -} -static void *_p_p_SoLODTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD **) x)); -} -static void *_p_p_SoShuttleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle **) x)); -} -static void *_p_p_SoShaderParameterArray4fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f **) x)); -} -static void *_p_p_SoVRMLGroupTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup **) x)); -} -static void *_p_p_SoShaderObjectTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShaderObject **) x)); -} -static void *_p_p_SoVRMLAnchorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor **) x)); -} -static void *_p_p_SoBoolOperationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation **) x)); -} -static void *_p_p_SoVRMLSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor **) x)); -} -static void *_p_p_SoVRMLCylinderSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor **) x)); -} -static void *_p_p_SoVRMLTouchSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor **) x)); -} -static void *_p_p_SoMarkerSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet **) x)); -} -static void *_p_p_SoSpotLightManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip **) x)); -} -static void *_p_p_SoPointLightManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip **) x)); -} -static void *_p_p_SoDirectionalLightManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip **) x)); -} -static void *_p_p_SoIndexedNurbsCurveTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve **) x)); -} -static void *_p_p_SoIndexedMarkerSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet **) x)); -} -static void *_p_p_SoNurbsCurveTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve **) x)); -} -static void *_p_p_SoShaderParameterArray4iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i **) x)); -} -static void *_p_p_SoIndexedShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape **) x)); -} -static void *_p_p_SoNonIndexedShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape **) x)); -} -static void *_p_p_SoRotorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor **) x)); -} -static void *_p_p_SoVRMLIndexedShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape **) x)); -} -static void *_p_p_SoOneShotTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoOneShot **) x)); -} -static void *_p_p_SoTextureCoordinateCubeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube **) x)); -} -static void *_p_p_SoVRMLTextTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText **) x)); -} -static void *_p_p_SoTransformerManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip **) x)); -} -static void *_p_p_SoInterpolateVec3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f **) x)); -} -static void *_p_p_SoInterpolateFloatTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat **) x)); -} -static void *_p_p_SoAntiSquishTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish **) x)); -} -static void *_p_p_SoGroupTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoGroup **) x)); -} -static void *_p_p_SoMultipleCopyTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy **) x)); -} -static void *_p_p_SoListenerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoListener **) x)); -} -static void *_p_p_SoComposeVec4fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f **) x)); -} -static void *_p_p_SoDecomposeVec4fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f **) x)); -} -static void *_p_p_SoTexture2ConvertTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTexture2Convert **) x)); -} -static void *_p_p_SoConeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone **) x)); -} -static void *_p_p_SoFileTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoFile **) x)); -} -static void *_p_p_SoTransformationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTransformation **) x)); -} -static void *_p_p_SoFontStyleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle **) x)); -} -static void *_p_p_SoVRMLFontStyleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle **) x)); -} -static void *_p_p_SoImageTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage **) x)); -} -static void *_p_p_SoFieldContainerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) ((SoFieldContainer **) x)); -} -static void *_p_p_SoTextureCubeMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTextureCubeMap **) x)); -} -static void *_p_p_SoSceneTextureCubeMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoSceneTextureCubeMap **) x)); -} -static void *_p_p_SoVRMLAppearanceTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance **) x)); -} -static void *_p_p_SoPointLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight **) x)); -} -static void *_p_p_SoVRMLPointLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight **) x)); -} -static void *_p_p_SoTransformManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip **) x)); -} -static void *_p_p_SoPolygonOffsetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset **) x)); -} -static void *_p_p_SoVRMLBackgroundTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground **) x)); -} -static void *_p_p_SoEventCallbackTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoEventCallback **) x)); -} -static void *_p_p_SoCallbackTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCallback **) x)); -} -static void *_p_p_SoWWWAnchorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor **) x)); -} -static void *_p_p_SoTextureCoordinateObjectTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateObject **) x)); -} -static void *_p_p_SoJackManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip **) x)); -} -static void *_p_p_SoCameraTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCamera **) x)); -} -static void *_p_p_SoCameraKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit **) x)); -} -static void *_p_p_SoArrayTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray **) x)); -} -static void *_p_p_SoPerspectiveCameraTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera **) x)); -} -static void *_p_p_SoOrthographicCameraTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera **) x)); -} -static void *_p_p_SoFrustumCameraTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoFrustumCamera **) x)); -} -static void *_p_p_SoVRMLDragSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor **) x)); -} -static void *_p_p_SoVRMLPlaneSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor **) x)); -} -static void *_p_p_SoVRMLProximitySensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor **) x)); -} -static void *_p_p_SoVRMLSphereSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor **) x)); -} -static void *_p_p_SoVRMLTimeSensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor **) x)); -} -static void *_p_p_SoVRMLVisibilitySensorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor **) x)); -} -static void *_p_p_SoShaderParameter1fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f **) x)); -} -static void *_p_p_SoElapsedTimeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime **) x)); -} -static void *_p_p_SoVRMLSphereTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere **) x)); -} -static void *_p_p_SoEnvironmentTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoEnvironment **) x)); -} -static void *_p_p_SoTextureCoordinateEnvironmentTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment **) x)); -} -static void *_p_p_SoDrawStyleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoDrawStyle **) x)); -} -static void *_p_p_SoSelectOneTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoSelectOne **) x)); -} -static void *_p_p_SoShaderParameter1iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i **) x)); -} -static void *_p_p_SoVRMLBoxTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox **) x)); -} -static void *_p_p_SoHeightMapToNormalMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoTexture2Convert *) ((SoHeightMapToNormalMap **) x)); -} -static void *_p_p_SoTextureCoordinateNormalMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap **) x)); -} -static void *_p_p_SoTransparencyTypeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTransparencyType **) x)); -} -static void *_p_p_SoVRMLFogTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLFog **) x)); -} -static void *_p_p_SoInterpolateVec4fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f **) x)); -} -static void *_p_p_SoConcatenateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoConcatenate **) x)); -} -static void *_p_p_SoSurroundScaleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale **) x)); -} -static void *_p_p_SoVertexShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape **) x)); -} -static void *_p_p_SoVRMLVertexShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape **) x)); -} -static void *_p_p_SoTextureUnitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureUnit **) x)); -} -static void *_p_p_SoAppearanceKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit **) x)); -} -static void *_p_p_SoRotateSphericalDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger **) x)); -} -static void *_p_p_SoRotateDiscDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger **) x)); -} -static void *_p_p_SoRotateCylindricalDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger **) x)); -} -static void *_p_p_SoPointLightDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger **) x)); -} -static void *_p_p_SoJackDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger **) x)); -} -static void *_p_p_SoHandleBoxDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger **) x)); -} -static void *_p_p_SoDragPointDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger **) x)); -} -static void *_p_p_SoDirectionalLightDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger **) x)); -} -static void *_p_p_SoCenterballDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger **) x)); -} -static void *_p_p_SoDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger **) x)); -} -static void *_p_p_SoScale1DraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger **) x)); -} -static void *_p_p_SoScale2DraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger **) x)); -} -static void *_p_p_SoScale2UniformDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger **) x)); -} -static void *_p_p_SoScaleUniformDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger **) x)); -} -static void *_p_p_SoSpotLightDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger **) x)); -} -static void *_p_p_SoTabBoxDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger **) x)); -} -static void *_p_p_SoTabPlaneDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger **) x)); -} -static void *_p_p_SoTrackballDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger **) x)); -} -static void *_p_p_SoTransformBoxDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger **) x)); -} -static void *_p_p_SoTransformerDraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger **) x)); -} -static void *_p_p_SoTranslate1DraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger **) x)); -} -static void *_p_p_SoTranslate2DraggerTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger **) x)); -} -static void *_p_p_SoTempPathTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoPath *)(SoFullPath *) ((SoTempPath **) x)); -} -static void *_p_p_SoPickStyleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPickStyle **) x)); -} -static void *_p_p_SoVRMLInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator **) x)); -} -static void *_p_p_SoVRMLColorInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator **) x)); -} -static void *_p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator **) x)); -} -static void *_p_p_SoVRMLNormalInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator **) x)); -} -static void *_p_p_SoVRMLOrientationInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator **) x)); -} -static void *_p_p_SoVRMLPositionInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator **) x)); -} -static void *_p_p_SoVRMLScalarInterpolatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator **) x)); -} -static void *_p_p_SoVRMLConeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone **) x)); -} -static void *_p_p_SoFontTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoFont **) x)); -} -static void *_p_p_SoVRMLIndexedLineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine **) x)); -} -static void *_p_p_SoShaderProgramTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShaderProgram **) x)); -} -static void *_p_p_SoTextureTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture **) x)); -} -static void *_p_p_SoCacheHintTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCacheHint **) x)); -} -static void *_p_p_SoVRMLTextureTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture **) x)); -} -static void *_p_p_SoVRMLImageTextureTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture **) x)); -} -static void *_p_p_SoVRMLMovieTextureTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture **) x)); -} -static void *_p_p_SoVRMLPixelTextureTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture **) x)); -} -static void *_p_p_SoTransformVec3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f **) x)); -} -static void *_p_p_SoTextureCoordinateFunctionTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction **) x)); -} -static void *_p_p_SoNodeKitListPartTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart **) x)); -} -static void *_p_p_SoSphereTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere **) x)); -} -static void *_p_p_SoTextureCoordinateSphereTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere **) x)); -} -static void *_p_p_SoSceneKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit **) x)); -} -static void *_p_p_SoPendulumTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum **) x)); -} -static void *_p_p_SoFragmentShaderTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoFragmentShader **) x)); -} -static void *_p_p_SoVertexShaderTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoVertexShader **) x)); -} -static void *_p_p_SoShapeHintsTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShapeHints **) x)); -} -static void *_p_p_SoTexture2To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture2 **) x)); -} -static void *_p_p_SoSceneTexture2To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 **) x)); -} -static void *_p_p_SoTexture3To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture3 **) x)); -} -static void *_p_p_SoShaderParameter2fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f **) x)); -} -static void *_p_p_SoTextureCoordinatePlaneTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane **) x)); -} -static void *_p_p_SoShaderParameterMatrixTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix **) x)); -} -static void *_p_p_SoTextureCoordinateReflectionMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap **) x)); -} -static void *_p_p_SoVRMLAudioClipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip **) x)); -} -static void *_p_p_SoTimeCounterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter **) x)); -} -static void *_p_p_SoCounterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoCounter **) x)); -} -static void *_p_p_SoQuadMeshTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh **) x)); -} -static void *_p_p_SoPathSwitchTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch **) x)); -} -static void *_p_p_SoShaderParameter2iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i **) x)); -} -static void *_p_p_SoVRMLSwitchTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch **) x)); -} -static void *_p_p_SoText2To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 **) x)); -} -static void *_p_p_SoSeparatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator **) x)); -} -static void *_p_p_SoText3To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 **) x)); -} -static void *_p_p_SoTransformSeparatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator **) x)); -} -static void *_p_p_SoShaderParameterArray1fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f **) x)); -} -static void *_p_p_SoInteractionKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit **) x)); -} -static void *_p_p_SoBumpMapTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMap **) x)); -} -static void *_p_p_SoProfileCoordinate2To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 **) x)); -} -static void *_p_p_SoTextureCoordinate2To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 **) x)); -} -static void *_p_p_SoVRMLNormalTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal **) x)); -} -static void *_p_p_SoCoordinate3To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 **) x)); -} -static void *_p_p_SoProfileCoordinate3To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 **) x)); -} -static void *_p_p_SoTextureCoordinate3To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate4To_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 **) x)); -} -static void *_p_p_SoShaderParameterArray1iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i **) x)); -} -static void *_p_p_SoVRMLLODTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD **) x)); -} -static void *_p_p_SoCubeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube **) x)); -} -static void *_p_p_SoComposeRotationFromToTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo **) x)); -} -static void *_p_p_SoGateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoGate **) x)); -} -static void *_p_p_SoLocateHighlightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight **) x)); -} -static void *_p_p_SoVRMLElevationGridTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid **) x)); -} -static void *_p_p_SoVRMLShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLShape **) x)); -} -static void *_p_p_SoNodeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *) ((SoNode **) x)); -} -static void *_p_p_SoVRMLVertexPointTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint **) x)); -} -static void *_p_p_SoVRMLViewpointTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint **) x)); -} -static void *_p_p_SoInfoTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoInfo **) x)); -} -static void *_p_p_SoTextureCoordinateBindingTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding **) x)); -} -static void *_p_p_SoMaterialBindingTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding **) x)); -} -static void *_p_p_SoNormalBindingTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNormalBinding **) x)); -} -static void *_p_p_SoVertexAttributeBindingTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVertexAttributeBinding **) x)); -} -static void *_p_p_SoInterpolateTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoInterpolate **) x)); -} -static void *_p_p_SoTransformBoxManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip **) x)); -} -static void *_p_p_SoTabBoxManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip **) x)); -} -static void *_p_p_SoHandleBoxManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip **) x)); -} -static void *_p_p_SoVRMLCollisionTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision **) x)); -} -static void *_p_p_SoPackedColorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPackedColor **) x)); -} -static void *_p_p_SoComposeMatrixTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix **) x)); -} -static void *_p_p_SoDecomposeMatrixTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix **) x)); -} -static void *_p_p_SoSwitchTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch **) x)); -} -static void *_p_p_SoNodeKitPathTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoPath *) ((SoNodeKitPath **) x)); -} -static void *_p_p_SoIndexedFaceSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet **) x)); -} -static void *_p_p_SoFaceSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet **) x)); -} -static void *_p_p_SoTranslationTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation **) x)); -} -static void *_p_p_SoVRMLIndexedFaceSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet **) x)); -} -static void *_p_p_SoShapeTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShape **) x)); -} -static void *_p_p_SoTextureScalePolicyTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy **) x)); -} -static void *_p_p_SoVRMLScriptTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLScript **) x)); -} -static void *_p_p_SoNormalTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNormal **) x)); -} -static void *_p_p_SoShaderParameter3fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f **) x)); -} -static void *_p_p_SoVRMLInlineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLInline **) x)); -} -static void *_p_p_SoCalculatorTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoCalculator **) x)); -} -static void *_p_p_SoShaderParameter3iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i **) x)); -} -static void *_p_p_SoWrapperKitTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit **) x)); -} -static void *_p_p_SoShaderParameterArray2fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f **) x)); -} -static void *_p_p_SoScaleTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale **) x)); -} -static void *_p_p_SoShaderParameterArray2iTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i **) x)); -} -static void *_p_p_SoLineSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet **) x)); -} -static void *_p_p_SoIndexedLineSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet **) x)); -} -static void *_p_p_SoLabelTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLabel **) x)); -} -static void *_p_p_SoVRMLIndexedLineSetTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet **) x)); -} -static void *_p_p_SoProtoInstanceTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProtoInstance **) x)); -} -static void *_p_p_SoShaderParameterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShaderParameter **) x)); -} -static void *_p_p_SoUniformShaderParameterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *) ((SoUniformShaderParameter **) x)); -} -static void *_p_p_SoShaderStateMatrixParameterTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter **) x)); -} -static void *_p_p_SoDirectionalLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight **) x)); -} -static void *_p_p_SoComposeVec2fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f **) x)); -} -static void *_p_p_SoDecomposeVec2fTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f **) x)); -} -static void *_p_p_SoVRMLDirectionalLightTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight **) x)); -} -static void *_p_p_SoProtoTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProto **) x)); -} -static void *_p_p_SoTrackballManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip **) x)); -} -static void *_p_p_SoCenterballManipTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip **) x)); -} -static void *_p_p_SoWWWInlineTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoWWWInline **) x)); -} -static void *_p_p_SoLevelOfDetailTo_p_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail **) x)); -} -static void *_p_p_SoMFVec4sTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4s **) x)); -} -static void *_p_p_SoMFVec4i32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4i32 **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFEnum **) x)); -} -static void *_p_p_SoMFVec3sTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec3s **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFFloat **) x)); -} -static void *_p_p_SoMFVec4ui32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4ui32 **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFPath **) x)); -} -static void *_p_p_SoMFDoubleTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFDouble **) x)); -} -static void *_p_p_SoMFVec2sTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec2s **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFColor **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFRotation **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) (SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoMFVec3i32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec3i32 **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFPlane **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFNode **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFString **) x)); -} -static void *_p_p_SoMFVec4ubTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4ub **) x)); -} -static void *_p_p_SoMFVec4bTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4b **) x)); -} -static void *_p_p_SoMFVec4dTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4d **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFEngine **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4f **) x)); -} -static void *_p_p_SoMFVec3bTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec3b **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFBool **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFMatrix **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec3d **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFUShort **) x)); -} -static void *_p_p_SoMFVec2i32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec2i32 **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFName **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec3f **) x)); -} -static void *_p_p_SoMFVec2bTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec2b **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFInt32 **) x)); -} -static void *_p_p_SoMFVec2dTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec2d **) x)); -} -static void *_p_p_SoMFColorRGBATo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFColorRGBA **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFTime **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec2f **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFShort **) x)); -} -static void *_p_p_SoMFVec4usTo_p_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField **) ((SoMFVec4us **) x)); -} -static void *_p_SoMFVec4sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4s *) x)); -} -static void *_p_SoMFVec4i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4i32 *) x)); -} -static void *_p_SoMFEnumTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFVec3sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3s *) x)); -} -static void *_p_SoMFFloatTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoMFVec4ui32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4ui32 *) x)); -} -static void *_p_SoMFPathTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoMFDoubleTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFDouble *) x)); -} -static void *_p_SoMFVec2sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2s *) x)); -} -static void *_p_SoMFColorTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFRotationTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) (SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoMFVec3i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3i32 *) x)); -} -static void *_p_SoMFPlaneTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFNodeTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoMFStringTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFString *) x)); -} -static void *_p_SoMFVec4ubTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4ub *) x)); -} -static void *_p_SoMFVec4bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4b *) x)); -} -static void *_p_SoMFVec4dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4d *) x)); -} -static void *_p_SoMFEngineTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoMFVec4fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoMFVec3bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3b *) x)); -} -static void *_p_SoMFUInt32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFBoolTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoMFMatrixTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoMFVec3dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFUShortTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFVec2i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2i32 *) x)); -} -static void *_p_SoMFNameTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFVec3fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoMFVec2bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2b *) x)); -} -static void *_p_SoMFInt32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFVec2dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2d *) x)); -} -static void *_p_SoMFColorRGBATo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFColorRGBA *) x)); -} -static void *_p_SoMFTimeTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFVec2fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFShortTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoMFVec4usTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4us *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoExtSelectionTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoAnnotationTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoVRMLParentTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBlinkerTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoSwitchTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoVRMLLODTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoLODTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoPathSwitchTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoArrayTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) ((SoArray *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoGroup(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGroup *) (SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoDragger(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoScXMLEventTo_p_ScXMLEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLEvent *) ((SoScXMLEvent *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoVRMLVertexPoint(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoClipPlaneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoExtSelectionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_SoConeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoCounterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoPathSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLIndexedLine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoSFImage3To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoMFShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoSFShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoMFInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoSFInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoMFUShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoSFUShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec4ubTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4ub *) x)); -} -static void *_p_SoMFVec4ubTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4ub *) x)); -} -static void *_p_SoMFUInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoSFUInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFBox2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2d *) x)); -} -static void *_p_SoSFVec4bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4b *) x)); -} -static void *_p_SoMFVec4bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4b *) x)); -} -static void *_p_SoSFBox2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2f *) x)); -} -static void *_p_SoSFVec4dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4d *) x)); -} -static void *_p_SoMFVec4dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4d *) x)); -} -static void *_p_SoSFVec4fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoMFVec4fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoSFMatrixTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoMFMatrixTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoSFTimeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFVec4usTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4us *) x)); -} -static void *_p_SoSFVec4i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4i32 *) x)); -} -static void *_p_SoMFVec4usTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4us *) x)); -} -static void *_p_SoMFVec4i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4i32 *) x)); -} -static void *_p_SoSFPathTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFBox2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2s *) x)); -} -static void *_p_SoSFVec2bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2b *) x)); -} -static void *_p_SoMFVec2bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2b *) x)); -} -static void *_p_SoSFBox3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3i32 *) x)); -} -static void *_p_SoSFVec2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2d *) x)); -} -static void *_p_SoMFDoubleTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFDouble *) x)); -} -static void *_p_SoSFDoubleTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFDouble *) x)); -} -static void *_p_SoSFVec4sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4s *) x)); -} -static void *_p_SoMFVec2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2d *) x)); -} -static void *_p_SoMFVec4sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4s *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *)(SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *)(SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFRotationTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoMFRotationTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoSFVec2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoMFVec2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFTimeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFPathTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoMFEngineTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoSFEngineTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFieldTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) ((SoSField *) x)); -} -static void *_p_SoSFVec3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3i32 *) x)); -} -static void *_p_SoMFVec3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3i32 *) x)); -} -static void *_p_SoSFTriggerTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFBox3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3d *) x)); -} -static void *_p_SoMFColorRGBATo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFColorRGBA *) x)); -} -static void *_p_SoSFColorRGBATo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFColorRGBA *) x)); -} -static void *_p_SoSFVec2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoMFVec2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2s *) x)); -} -static void *_p_SoSFBox2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2i32 *) x)); -} -static void *_p_SoMFPlaneTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoSFPlaneTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFBox3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3f *) x)); -} -static void *_p_SoMFColorTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoSFColorTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoMFieldTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) ((SoMField *) x)); -} -static void *_p_SoSFEnumTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFNodeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFVec2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2i32 *) x)); -} -static void *_p_SoSFImageTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoMFVec2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2i32 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFVec3bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3b *) x)); -} -static void *_p_SoMFVec3bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3b *) x)); -} -static void *_p_SoSFVec3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoMFVec3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFEnumTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoSFVec3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoMFVec3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoSFBoolTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoMFNodeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoSFFloatTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoMFFloatTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoSFStringTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFString *) x)); -} -static void *_p_SoMFStringTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFString *) x)); -} -static void *_p_SoSFNameTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFName *) x)); -} -static void *_p_SoMFBoolTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoSFVec3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoMFVec3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3s *) x)); -} -static void *_p_SoMFNameTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFName *) x)); -} -static void *_p_SoSFVec4ui32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4ui32 *) x)); -} -static void *_p_SoMFVec4ui32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4ui32 *) x)); -} -static void *_p_p_SoSFImage3To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFImage3 **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFShort **) x)); -} -static void *_p_p_SoSFShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFShort **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFInt32 **) x)); -} -static void *_p_p_SoSFInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFInt32 **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFUShort **) x)); -} -static void *_p_p_SoSFUShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFUShort **) x)); -} -static void *_p_p_SoSFVec4ubTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4ub **) x)); -} -static void *_p_p_SoMFVec4ubTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4ub **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoSFUInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFUInt32 **) x)); -} -static void *_p_p_SoSFBox2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2d **) x)); -} -static void *_p_p_SoSFVec4bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4b **) x)); -} -static void *_p_p_SoMFVec4bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4b **) x)); -} -static void *_p_p_SoSFBox2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2f **) x)); -} -static void *_p_p_SoSFVec4dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4d **) x)); -} -static void *_p_p_SoMFVec4dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4d **) x)); -} -static void *_p_p_SoSFVec4fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4f **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4f **) x)); -} -static void *_p_p_SoSFMatrixTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFMatrix **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFMatrix **) x)); -} -static void *_p_p_SoSFTimeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFTime **) x)); -} -static void *_p_p_SoSFVec4usTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4us **) x)); -} -static void *_p_p_SoSFVec4i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4i32 **) x)); -} -static void *_p_p_SoMFVec4usTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4us **) x)); -} -static void *_p_p_SoMFVec4i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4i32 **) x)); -} -static void *_p_p_SoSFPathTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFPath **) x)); -} -static void *_p_p_SoSFBox2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2s **) x)); -} -static void *_p_p_SoSFVec2bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2b **) x)); -} -static void *_p_p_SoMFVec2bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2b **) x)); -} -static void *_p_p_SoSFBox3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3i32 **) x)); -} -static void *_p_p_SoSFVec2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2d **) x)); -} -static void *_p_p_SoMFDoubleTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFDouble **) x)); -} -static void *_p_p_SoSFDoubleTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFDouble **) x)); -} -static void *_p_p_SoSFVec4sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4s **) x)); -} -static void *_p_p_SoMFVec2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2d **) x)); -} -static void *_p_p_SoMFVec4sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4s **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *)(SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoSFBitMaskTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *)(SoSFEnum *) ((SoSFBitMask **) x)); -} -static void *_p_p_SoSFRotationTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFRotation **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFRotation **) x)); -} -static void *_p_p_SoSFVec2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2f **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2f **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFTime **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFPath **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFEngine **) x)); -} -static void *_p_p_SoSFEngineTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFEngine **) x)); -} -static void *_p_p_SoSFieldTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) ((SoSField **) x)); -} -static void *_p_p_SoSFVec3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3i32 **) x)); -} -static void *_p_p_SoMFVec3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3i32 **) x)); -} -static void *_p_p_SoSFTriggerTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFTrigger **) x)); -} -static void *_p_p_SoSFBox3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3d **) x)); -} -static void *_p_p_SoMFColorRGBATo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFColorRGBA **) x)); -} -static void *_p_p_SoSFColorRGBATo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFColorRGBA **) x)); -} -static void *_p_p_SoSFVec2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2s **) x)); -} -static void *_p_p_SoMFVec2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2s **) x)); -} -static void *_p_p_SoSFBox2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2i32 **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFPlane **) x)); -} -static void *_p_p_SoSFPlaneTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFPlane **) x)); -} -static void *_p_p_SoSFBox3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3f **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFColor **) x)); -} -static void *_p_p_SoSFColorTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFColor **) x)); -} -static void *_p_p_SoMFieldTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) ((SoMField **) x)); -} -static void *_p_p_SoSFEnumTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFEnum **) x)); -} -static void *_p_p_SoSFNodeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFNode **) x)); -} -static void *_p_p_SoSFVec2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2i32 **) x)); -} -static void *_p_p_SoSFImageTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFImage **) x)); -} -static void *_p_p_SoMFVec2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2i32 **) x)); -} -static void *_p_p_SoSFBox3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3s **) x)); -} -static void *_p_p_SoSFVec3bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3b **) x)); -} -static void *_p_p_SoMFVec3bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3b **) x)); -} -static void *_p_p_SoSFVec3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3d **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3d **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFEnum **) x)); -} -static void *_p_p_SoSFVec3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3f **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3f **) x)); -} -static void *_p_p_SoSFBoolTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBool **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFNode **) x)); -} -static void *_p_p_SoSFFloatTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFFloat **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFFloat **) x)); -} -static void *_p_p_SoSFStringTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFString **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFString **) x)); -} -static void *_p_p_SoSFNameTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFName **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFBool **) x)); -} -static void *_p_p_SoSFVec3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3s **) x)); -} -static void *_p_p_SoMFVec3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3s **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFName **) x)); -} -static void *_p_p_SoSFVec4ui32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4ui32 **) x)); -} -static void *_p_p_SoMFVec4ui32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4ui32 **) x)); -} -static void *_p_SoVRMLGroupTo_p_SoVRMLParent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoVRMLParent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLParent *) (SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoVRMLParent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoVRMLParent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoVRMLParent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLParent *) (SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoMotion3EventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoMotion3Event *) x)); -} -static void *_p_SoButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoButtonEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoLocation2EventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoLocation2Event *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoButtonEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoButtonEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoButtonEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_ScXMLStateMachineTo_p_ScXMLObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLObject *) ((ScXMLStateMachine *) x)); -} -static void *_p_SoScXMLStateMachineTo_p_ScXMLObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLObject *) (ScXMLStateMachine *) ((SoScXMLStateMachine *) x)); -} -static void *_p_ScXMLEventTo_p_ScXMLObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLObject *) ((ScXMLEvent *) x)); -} -static void *_p_SoScXMLEventTo_p_ScXMLObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLObject *) (ScXMLEvent *) ((SoScXMLEvent *) x)); -} -static void *_p_ScXMLInvokeTo_p_ScXMLObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ScXMLObject *) ((ScXMLInvoke *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoShaderObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoShaderObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_p_intpTo_p_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int **) ((intp **) x)); -} -static void *_p_SoBoundingBoxCacheTo_p_SoCache(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCache *) ((SoBoundingBoxCache *) x)); -} -static void *_p_SoGLRenderCacheTo_p_SoCache(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCache *) ((SoGLRenderCache *) x)); -} -static void *_p_SoConvexDataCacheTo_p_SoCache(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCache *) ((SoConvexDataCache *) x)); -} -static void *_p_SoNormalCacheTo_p_SoCache(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCache *) ((SoNormalCache *) x)); -} -static void *_p_SoTextureCoordinateCacheTo_p_SoCache(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCache *) ((SoTextureCoordinateCache *) x)); -} -static void *_p_SoWrapperKitTo_p_SoSeparatorKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShapeKitTo_p_SoSeparatorKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoDebugErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoDebugError *) x)); -} -static void *_p_SoReadErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoReadError *) x)); -} -static void *_p_SoMemoryErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoMemoryError *) x)); -} -static void *_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intpTo_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *const,SbPlane const *const,int const)) ((intp (*)(void *const,SbPlane const *const,int const)) x)); -} -static void *_p_SoAuditorListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoAuditorList *) x)); -} -static void *_p_SoPickedPointListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoPickedPointList *) x)); -} -static void *_p_SbIntListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbIntList *) x)); -} -static void *_p_SoTypeListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoTypeList *) x)); -} -static void *_p_SoPathListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SbVec3fListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbVec3fList *) x)); -} -static void *_p_SoBaseListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoBaseList *) x)); -} -static void *_p_SoEngineOutputListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoEngineOutputList *) x)); -} -static void *_p_SoChildListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *)(SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoFieldListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoFieldList *) x)); -} -static void *_p_SoNodeListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SbStringListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbStringList *) x)); -} -static void *_p_SoActionMethodListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoActionMethodList *) x)); -} -static void *_p_SoEngineListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoDetailListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoDetailList *) x)); -} -static void *_p_SbXfBox3fTo_p_SbBox3f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbBox3f *) ((SbXfBox3f *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoUniformShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoShaderParameter(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShaderParameter *) (SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoPointLightManipTo_p_SoPointLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoAnnotationTo_p_SoSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoSelectionTo_p_SoSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoExtSelectionTo_p_SoSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparator *) (SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSeparator *) (SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoVRMLLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoVRMLLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoVRMLLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intpTo_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoPath const *,SoPath const *)) ((intp (*)(void *,SoPath const *,SoPath const *)) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLVertexShape *) (SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoVRMLVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLineSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoPointSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoQuadMeshTo_p_SoVertexShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_doublepTo_p_double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double *) ((doublep *) x)); -} -static void *_p_a_2__doublepTo_p_a_2__double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double (*)[2]) ((doublep (*)[2]) x)); -} -static void *_p_a_4__doublepTo_p_a_4__double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double (*)[4]) ((doublep (*)[4]) x)); -} -static void *_p_a_4__a_4__doublepTo_p_a_4__a_4__double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double (*)[4][4]) ((doublep (*)[4][4]) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSFEnum(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMFEnum(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoQuadMeshTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoVRMLTextTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoImageTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLConeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoCubeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoCube *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoFaceSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoCylinderTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoText2To_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoText3 *) x)); -} -static void *_p_SoLineSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoPointSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoSphereTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoSphere *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoVertexShapeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoConeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoCone *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoAsciiTextTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoShape *) (SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNodeEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoCounterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoCalculatorTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoGateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoGate *) x)); -} -static void *_p_SoInterpolateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoSelectOneTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoConcatenateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoFieldConverterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoOneShotTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoBoolOperationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoOnOffTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_p_SoElapsedTimeTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoElapsedTime **) x)); -} -static void *_p_p_SoTransformVec3fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoTransformVec3f **) x)); -} -static void *_p_p_SoComposeRotationFromToTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeRotationFromTo **) x)); -} -static void *_p_p_SoInterpolateVec3fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec3f **) x)); -} -static void *_p_p_SoHeightMapToNormalMapTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoTexture2Convert *) ((SoHeightMapToNormalMap **) x)); -} -static void *_p_p_SoDecomposeRotationTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoDecomposeRotation **) x)); -} -static void *_p_p_SoComposeRotationTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeRotation **) x)); -} -static void *_p_p_SoDecomposeVec4fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoDecomposeVec4f **) x)); -} -static void *_p_p_SoComposeVec4fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeVec4f **) x)); -} -static void *_p_p_SoInterpolateVec2fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec2f **) x)); -} -static void *_p_p_SoInterpolateRotationTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateRotation **) x)); -} -static void *_p_p_SoCounterTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoCounter **) x)); -} -static void *_p_p_SoTimeCounterTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoTimeCounter **) x)); -} -static void *_p_p_SoDecomposeVec3fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoDecomposeVec3f **) x)); -} -static void *_p_p_SoComposeVec3fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeVec3f **) x)); -} -static void *_p_p_SoComputeBoundingBoxTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComputeBoundingBox **) x)); -} -static void *_p_p_SoDecomposeVec2fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoDecomposeVec2f **) x)); -} -static void *_p_p_SoComposeVec2fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeVec2f **) x)); -} -static void *_p_p_SoCalculatorTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoCalculator **) x)); -} -static void *_p_p_SoGateTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoGate **) x)); -} -static void *_p_p_SoInterpolateTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoInterpolate **) x)); -} -static void *_p_p_SoDecomposeMatrixTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoDecomposeMatrix **) x)); -} -static void *_p_p_SoComposeMatrixTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoComposeMatrix **) x)); -} -static void *_p_p_SoSelectOneTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoSelectOne **) x)); -} -static void *_p_p_SoTriggerAnyTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoTriggerAny **) x)); -} -static void *_p_p_SoConcatenateTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoConcatenate **) x)); -} -static void *_p_p_SoFieldConverterTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoFieldConverter **) x)); -} -static void *_p_p_SoOneShotTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoOneShot **) x)); -} -static void *_p_p_SoBoolOperationTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoBoolOperation **) x)); -} -static void *_p_p_SoInterpolateFloatTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateFloat **) x)); -} -static void *_p_p_SoInterpolateVec4fTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec4f **) x)); -} -static void *_p_p_SoOnOffTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoOnOff **) x)); -} -static void *_p_p_SoTexture2ConvertTo_p_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine **) ((SoTexture2Convert **) x)); -} -static void *_p_SoSpotLightManipTo_p_SoSpotLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoCylinderDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoCylinderDetail *) x)); -} -static void *_p_SoPointDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoPointDetail *) x)); -} -static void *_p_SoNodeKitDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoNodeKitDetail *) x)); -} -static void *_p_SoTextDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoTextDetail *) x)); -} -static void *_p_SoConeDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoConeDetail *) x)); -} -static void *_p_SoCubeDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoCubeDetail *) x)); -} -static void *_p_SoFaceDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoFaceDetail *) x)); -} -static void *_p_SoLineDetailTo_p_SoDetail(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDetail *) ((SoLineDetail *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLVertexLine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLVertexLine *) (SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoVRMLVertexLine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoInteractionKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) (SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) (SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) (SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoSpotLightTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoPointLightTo_p_SoLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoJackManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransform(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedShape *) (SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoLineSetTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoPointSetTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) (SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNonIndexedShape(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoDirectionalLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoLocateHighlight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoVRMLTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoVRMLTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoVRMLTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTexture2To_p_SoTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoTexture(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intpTo_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SoState *,SbVec3s const &,unsigned char *,enum SoGLImage::ResizeReason,void *,SoGLImage *)) ((intp (*)(SoState *,SbVec3s const &,unsigned char *,enum SoGLImage::ResizeReason,void *,SoGLImage *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) x)); -} -static void *_p_SoWrapperKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoLightKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoCameraKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoSceneKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoShapeKitTo_p_SoBaseKit(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBaseKit *) (SoSeparatorKit *) ((SoShapeKit *) x)); -} -static swig_type_info _swigt__p_AttributeApplyFunc = {"_p_AttributeApplyFunc", "AttributeApplyFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ContextDestructionCB = {"_p_ContextDestructionCB", "ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_Key = {"_p_Key", "Key *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProgressCallbackType = {"_p_ProgressCallbackType", "ProgressCallbackType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBSPTree = {"_p_SbBSPTree", "SbBSPTree *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBarrier = {"_p_SbBarrier", "SbBarrier *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2d = {"_p_SbBox2d", "SbBox2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2f = {"_p_SbBox2f", "SbBox2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2i32 = {"_p_SbBox2i32", "SbBox2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2s = {"_p_SbBox2s", "SbBox2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3d = {"_p_SbBox3d", "SbBox3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3f = {"_p_SbBox3f", "SbBox3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3i32 = {"_p_SbBox3i32", "SbBox3i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3s = {"_p_SbBox3s", "SbBox3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbClip = {"_p_SbClip", "SbClip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor = {"_p_SbColor", "SbColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor4f = {"_p_SbColor4f", "SbColorRGBA *|SbColor4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCondVar = {"_p_SbCondVar", "SbCondVar *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinder = {"_p_SbCylinder", "SbCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderPlaneProjector = {"_p_SbCylinderPlaneProjector", "SbCylinderPlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderProjector = {"_p_SbCylinderProjector", "SbCylinderProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderSectionProjector = {"_p_SbCylinderSectionProjector", "SbCylinderSectionProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderSheetProjector = {"_p_SbCylinderSheetProjector", "SbCylinderSheetProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPLine = {"_p_SbDPLine", "SbDPLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPMatrix = {"_p_SbDPMatrix", "SbDPMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPPlane = {"_p_SbDPPlane", "SbDPPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPRotation = {"_p_SbDPRotation", "SbDPRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPViewVolume = {"_p_SbDPViewVolume", "SbDPViewVolume *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDict = {"_p_SbDict", "SbDict *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictApplyDataFunc = {"_p_SbDictApplyDataFunc", "SbDictApplyDataFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictApplyFunc = {"_p_SbDictApplyFunc", "SbDictApplyFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictHashingFunc = {"_p_SbDictHashingFunc", "SbDictHashingFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbFifo = {"_p_SbFifo", "SbFifo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbHeap = {"_p_SbHeap", "SbHeap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbHeapFuncs = {"_p_SbHeapFuncs", "SbHeapFuncs *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbImage = {"_p_SbImage", "SbImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbIntList = {"_p_SbIntList", "SbIntList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbLine = {"_p_SbLine", "SbLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbLineProjector = {"_p_SbLineProjector", "SbLineProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListT_SbName_t = {"_p_SbListT_SbName_t", "SbList< SbName > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListT_SbString_t = {"_p_SbListT_SbString_t", "SbList< SbString > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListT_int_t = {"_p_SbListT_int_t", "SbList< int > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListT_void_p_t = {"_p_SbListT_void_p_t", "SbList< void * > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMatrix = {"_p_SbMatrix", "SbMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMutex = {"_p_SbMutex", "SbMutex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbName = {"_p_SbName", "SbName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbOctTree = {"_p_SbOctTree", "SbOctTree *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbOctTreeFuncs = {"_p_SbOctTreeFuncs", "SbOctTreeFuncs *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPList = {"_p_SbPList", "SbPList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPlane = {"_p_SbPlane", "SbPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPlaneProjector = {"_p_SbPlaneProjector", "SbPlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbProjector = {"_p_SbProjector", "SbProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRWMutex = {"_p_SbRWMutex", "SbRWMutex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRotation = {"_p_SbRotation", "SbRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphere = {"_p_SbSphere", "SbSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSpherePlaneProjector = {"_p_SbSpherePlaneProjector", "SbSpherePlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereProjector = {"_p_SbSphereProjector", "SbSphereProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereSectionProjector = {"_p_SbSphereSectionProjector", "SbSphereSectionProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereSheetProjector = {"_p_SbSphereSheetProjector", "SbSphereSheetProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbStorage = {"_p_SbStorage", "SbStorage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbString = {"_p_SbString", "SbString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbStringList = {"_p_SbStringList", "SbStringList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTesselator = {"_p_SbTesselator", "SbTesselator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbThread = {"_p_SbThread", "SbThread *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbThreadAutoLock = {"_p_SbThreadAutoLock", "SbThreadAutoLock *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbThreadMutex = {"_p_SbThreadMutex", "SbThreadMutex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTime = {"_p_SbTime", "SbTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2b = {"_p_SbVec2b", "SbVec2b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2d = {"_p_SbVec2d", "SbVec2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2f = {"_p_SbVec2f", "SbVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2i32 = {"_p_SbVec2i32", "SbVec2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2s = {"_p_SbVec2s", "SbVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2ub = {"_p_SbVec2ub", "SbVec2ub *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2ui32 = {"_p_SbVec2ui32", "SbVec2ui32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2us = {"_p_SbVec2us", "SbVec2us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3b = {"_p_SbVec3b", "SbVec3b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3d = {"_p_SbVec3d", "SbVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3f = {"_p_SbVec3f", "SbVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3fList = {"_p_SbVec3fList", "SbVec3fList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3i32 = {"_p_SbVec3i32", "SbVec3i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3s = {"_p_SbVec3s", "SbVec3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3ub = {"_p_SbVec3ub", "SbVec3ub *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3ui32 = {"_p_SbVec3ui32", "SbVec3ui32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3us = {"_p_SbVec3us", "SbVec3us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4b = {"_p_SbVec4b", "SbVec4b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4d = {"_p_SbVec4d", "SbVec4d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4f = {"_p_SbVec4f", "SbVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4i32 = {"_p_SbVec4i32", "SbVec4i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4s = {"_p_SbVec4s", "SbVec4s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4ub = {"_p_SbVec4ub", "SbVec4ub *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4ui32 = {"_p_SbVec4ui32", "SbVec4ui32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4us = {"_p_SbVec4us", "SbVec4us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewVolume = {"_p_SbViewVolume", "SbViewVolume *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewportRegion = {"_p_SbViewportRegion", "SbViewportRegion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbXfBox3f = {"_p_SbXfBox3f", "SbXfBox3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXML = {"_p_ScXML", "ScXML *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXMLDocument = {"_p_ScXMLDocument", "ScXMLDocument *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXMLEvent = {"_p_ScXMLEvent", "ScXMLEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXMLInvoke = {"_p_ScXMLInvoke", "ScXMLInvoke *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXMLObject = {"_p_ScXMLObject", "ScXMLObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ScXMLStateMachine = {"_p_ScXMLStateMachine", "ScXMLStateMachine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAccumulatedElement = {"_p_SoAccumulatedElement", "SoAccumulatedElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAction = {"_p_SoAction", "SoAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoActionMethodList = {"_p_SoActionMethodList", "SoActionMethodList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAlarmSensor = {"_p_SoAlarmSensor", "SoAlarmSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAmbientColorElement = {"_p_SoAmbientColorElement", "SoAmbientColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3CharOrientElement = {"_p_SoAnnoText3CharOrientElement", "SoAnnoText3CharOrientElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3FontSizeHintElement = {"_p_SoAnnoText3FontSizeHintElement", "SoAnnoText3FontSizeHintElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3RenderPrintElement = {"_p_SoAnnoText3RenderPrintElement", "SoAnnoText3RenderPrintElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnotation = {"_p_SoAnnotation", "SoAnnotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAntiSquish = {"_p_SoAntiSquish", "SoAntiSquish *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAppearanceKit = {"_p_SoAppearanceKit", "SoAppearanceKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoArray = {"_p_SoArray", "SoArray *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAsciiText = {"_p_SoAsciiText", "SoAsciiText *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAudioDevice = {"_p_SoAudioDevice", "SoAudioDevice *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAudioRenderAction = {"_p_SoAudioRenderAction", "SoAudioRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAuditorList = {"_p_SoAuditorList", "SoAuditorList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBBoxModelMatrixElement = {"_p_SoBBoxModelMatrixElement", "SoBBoxModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBase = {"_p_SoBase", "SoBase *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseColor = {"_p_SoBaseColor", "SoBaseColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseKit = {"_p_SoBaseKit", "SoBaseKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseList = {"_p_SoBaseList", "SoBaseList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBlinker = {"_p_SoBlinker", "SoBlinker *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoolOperation = {"_p_SoBoolOperation", "SoBoolOperation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoundingBoxCache = {"_p_SoBoundingBoxCache", "SoBoundingBoxCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoxHighlightRenderAction = {"_p_SoBoxHighlightRenderAction", "SoBoxHighlightRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMap = {"_p_SoBumpMap", "SoBumpMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinate = {"_p_SoBumpMapCoordinate", "SoBumpMapCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinateElement = {"_p_SoBumpMapCoordinateElement", "SoBumpMapCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapElement = {"_p_SoBumpMapElement", "SoBumpMapElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapMatrixElement = {"_p_SoBumpMapMatrixElement", "SoBumpMapMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapTransform = {"_p_SoBumpMapTransform", "SoBumpMapTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBundle = {"_p_SoBundle", "SoBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoButtonEvent = {"_p_SoButtonEvent", "SoButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoByteStream = {"_p_SoByteStream", "SoByteStream *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCache = {"_p_SoCache", "SoCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCacheElement = {"_p_SoCacheElement", "SoCacheElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCacheHint = {"_p_SoCacheHint", "SoCacheHint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCacheHintElement = {"_p_SoCacheHintElement", "SoCacheHintElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCalculator = {"_p_SoCalculator", "SoCalculator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallback = {"_p_SoCallback", "SoCallback *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackAction = {"_p_SoCallbackAction", "SoCallbackAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackActionCB = {"_p_SoCallbackActionCB", "SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackList = {"_p_SoCallbackList", "SoCallbackList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCamera = {"_p_SoCamera", "SoCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCameraKit = {"_p_SoCameraKit", "SoCameraKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCenterballDragger = {"_p_SoCenterballDragger", "SoCenterballDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCenterballManip = {"_p_SoCenterballManip", "SoCenterballManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoChildList = {"_p_SoChildList", "SoChildList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlane = {"_p_SoClipPlane", "SoClipPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlaneElement = {"_p_SoClipPlaneElement", "SoClipPlaneElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlaneManip = {"_p_SoClipPlaneManip", "SoClipPlaneManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoColorIndex = {"_p_SoColorIndex", "SoColorIndex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoColorPacker = {"_p_SoColorPacker", "SoColorPacker *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexity = {"_p_SoComplexity", "SoComplexity *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexityElement = {"_p_SoComplexityElement", "SoComplexityElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexityTypeElement = {"_p_SoComplexityTypeElement", "SoComplexityTypeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeMatrix = {"_p_SoComposeMatrix", "SoComposeMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeRotation = {"_p_SoComposeRotation", "SoComposeRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeRotationFromTo = {"_p_SoComposeRotationFromTo", "SoComposeRotationFromTo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec2f = {"_p_SoComposeVec2f", "SoComposeVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec3f = {"_p_SoComposeVec3f", "SoComposeVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec4f = {"_p_SoComposeVec4f", "SoComposeVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComputeBoundingBox = {"_p_SoComputeBoundingBox", "SoComputeBoundingBox *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConcatenate = {"_p_SoConcatenate", "SoConcatenate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCone = {"_p_SoCone", "SoCone *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConeDetail = {"_p_SoConeDetail", "SoConeDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoContextHandler = {"_p_SoContextHandler", "SoContextHandler *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConvexDataCache = {"_p_SoConvexDataCache", "SoConvexDataCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinate3 = {"_p_SoCoordinate3", "SoCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinate4 = {"_p_SoCoordinate4", "SoCoordinate4 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinateElement = {"_p_SoCoordinateElement", "SoCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCounter = {"_p_SoCounter", "SoCounter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCreaseAngleElement = {"_p_SoCreaseAngleElement", "SoCreaseAngleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCube = {"_p_SoCube", "SoCube *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCubeDetail = {"_p_SoCubeDetail", "SoCubeDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCullElement = {"_p_SoCullElement", "SoCullElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCylinder = {"_p_SoCylinder", "SoCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCylinderDetail = {"_p_SoCylinderDetail", "SoCylinderDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDB = {"_p_SoDB", "SoDB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDataSensor = {"_p_SoDataSensor", "SoDataSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDebugError = {"_p_SoDebugError", "SoDebugError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecimationPercentageElement = {"_p_SoDecimationPercentageElement", "SoDecimationPercentageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecimationTypeElement = {"_p_SoDecimationTypeElement", "SoDecimationTypeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeMatrix = {"_p_SoDecomposeMatrix", "SoDecomposeMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeRotation = {"_p_SoDecomposeRotation", "SoDecomposeRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec2f = {"_p_SoDecomposeVec2f", "SoDecomposeVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec3f = {"_p_SoDecomposeVec3f", "SoDecomposeVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec4f = {"_p_SoDecomposeVec4f", "SoDecomposeVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDelayQueueSensor = {"_p_SoDelayQueueSensor", "SoDelayQueueSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDepthBuffer = {"_p_SoDepthBuffer", "SoDepthBuffer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDepthBufferElement = {"_p_SoDepthBufferElement", "SoDepthBufferElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDepthBufferElement__DepthWriteFunction = {"_p_SoDepthBufferElement__DepthWriteFunction", "enum SoDepthBufferElement::DepthWriteFunction *|SoDepthBufferElement::DepthWriteFunction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDetail = {"_p_SoDetail", "SoDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDetailList = {"_p_SoDetailList", "SoDetailList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDiffuseColorElement = {"_p_SoDiffuseColorElement", "SoDiffuseColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLight = {"_p_SoDirectionalLight", "SoDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightDragger = {"_p_SoDirectionalLightDragger", "SoDirectionalLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightManip = {"_p_SoDirectionalLightManip", "SoDirectionalLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDragPointDragger = {"_p_SoDragPointDragger", "SoDragPointDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDragger = {"_p_SoDragger", "SoDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDrawStyle = {"_p_SoDrawStyle", "SoDrawStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDrawStyleElement = {"_p_SoDrawStyleElement", "SoDrawStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoElapsedTime = {"_p_SoElapsedTime", "SoElapsedTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoElement = {"_p_SoElement", "SoElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEmissiveColorElement = {"_p_SoEmissiveColorElement", "SoEmissiveColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnabledElementsList = {"_p_SoEnabledElementsList", "SoEnabledElementsList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngine = {"_p_SoEngine", "SoEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineList = {"_p_SoEngineList", "SoEngineList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutput = {"_p_SoEngineOutput", "SoEngineOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutputData = {"_p_SoEngineOutputData", "SoEngineOutputData *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutputList = {"_p_SoEngineOutputList", "SoEngineOutputList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnvironment = {"_p_SoEnvironment", "SoEnvironment *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnvironmentElement = {"_p_SoEnvironmentElement", "SoEnvironmentElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoError = {"_p_SoError", "SoError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEvent = {"_p_SoEvent", "SoEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEventCallback = {"_p_SoEventCallback", "SoEventCallback *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEventManager = {"_p_SoEventManager", "SoEventManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoExtSelection = {"_p_SoExtSelection", "SoExtSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFaceDetail = {"_p_SoFaceDetail", "SoFaceDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFaceSet = {"_p_SoFaceSet", "SoFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoField = {"_p_SoField", "SoField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldContainer = {"_p_SoFieldContainer", "SoFieldContainer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldConverter = {"_p_SoFieldConverter", "SoFieldConverter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldData = {"_p_SoFieldData", "SoFieldData *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldList = {"_p_SoFieldList", "SoFieldList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldSensor = {"_p_SoFieldSensor", "SoFieldSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFile = {"_p_SoFile", "SoFile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFloatElement = {"_p_SoFloatElement", "SoFloatElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFocalDistanceElement = {"_p_SoFocalDistanceElement", "SoFocalDistanceElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFont = {"_p_SoFont", "SoFont *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontNameElement = {"_p_SoFontNameElement", "SoFontNameElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontSizeElement = {"_p_SoFontSizeElement", "SoFontSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontStyle = {"_p_SoFontStyle", "SoFontStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFragmentShader = {"_p_SoFragmentShader", "SoFragmentShader *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFrustumCamera = {"_p_SoFrustumCamera", "SoFrustumCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFullPath = {"_p_SoFullPath", "SoFullPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLBigImage = {"_p_SoGLBigImage", "SoGLBigImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCacheContextElement = {"_p_SoGLCacheContextElement", "SoGLCacheContextElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCacheList = {"_p_SoGLCacheList", "SoGLCacheList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLClipPlaneElement = {"_p_SoGLClipPlaneElement", "SoGLClipPlaneElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLColorIndexElement = {"_p_SoGLColorIndexElement", "SoGLColorIndexElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCoordinateElement = {"_p_SoGLCoordinateElement", "SoGLCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLDepthBufferElement = {"_p_SoGLDepthBufferElement", "SoGLDepthBufferElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLDisplayList = {"_p_SoGLDisplayList", "SoGLDisplayList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLDrawStyleElement = {"_p_SoGLDrawStyleElement", "SoGLDrawStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLEnvironmentElement = {"_p_SoGLEnvironmentElement", "SoGLEnvironmentElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLImage = {"_p_SoGLImage", "SoGLImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLImageResizeCB = {"_p_SoGLImageResizeCB", "SoGLImageResizeCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement = {"_p_SoGLLazyElement", "SoGLLazyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement_GLState = {"_p_SoGLLazyElement_GLState", "SoGLLazyElement_GLState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement__GLState = {"_p_SoGLLazyElement__GLState", "SoGLLazyElement::GLState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLightIdElement = {"_p_SoGLLightIdElement", "SoGLLightIdElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLinePatternElement = {"_p_SoGLLinePatternElement", "SoGLLinePatternElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLineWidthElement = {"_p_SoGLLineWidthElement", "SoGLLineWidthElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLModelMatrixElement = {"_p_SoGLModelMatrixElement", "SoGLModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureCoordinateElement = {"_p_SoGLMultiTextureCoordinateElement", "SoGLMultiTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureEnabledElement = {"_p_SoGLMultiTextureEnabledElement", "SoGLMultiTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureImageElement = {"_p_SoGLMultiTextureImageElement", "SoGLMultiTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureMatrixElement = {"_p_SoGLMultiTextureMatrixElement", "SoGLMultiTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLNormalElement = {"_p_SoGLNormalElement", "SoGLNormalElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLPointSizeElement = {"_p_SoGLPointSizeElement", "SoGLPointSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLPolygonOffsetElement = {"_p_SoGLPolygonOffsetElement", "SoGLPolygonOffsetElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLProjectionMatrixElement = {"_p_SoGLProjectionMatrixElement", "SoGLProjectionMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAbortCB = {"_p_SoGLRenderAbortCB", "SoGLRenderAbortCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAction = {"_p_SoGLRenderAction", "SoGLRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderCache = {"_p_SoGLRenderCache", "SoGLRenderCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderPassElement = {"_p_SoGLRenderPassElement", "SoGLRenderPassElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLShaderObject = {"_p_SoGLShaderObject", "SoGLShaderObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLShapeHintsElement = {"_p_SoGLShapeHintsElement", "SoGLShapeHintsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTexture3EnabledElement = {"_p_SoGLTexture3EnabledElement", "SoGLTexture3EnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureCoordinateElement = {"_p_SoGLTextureCoordinateElement", "SoGLTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureEnabledElement = {"_p_SoGLTextureEnabledElement", "SoGLTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureImageElement = {"_p_SoGLTextureImageElement", "SoGLTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureMatrixElement = {"_p_SoGLTextureMatrixElement", "SoGLTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLUpdateAreaElement = {"_p_SoGLUpdateAreaElement", "SoGLUpdateAreaElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLVBOElement = {"_p_SoGLVBOElement", "SoGLVBOElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLVertexAttributeElement = {"_p_SoGLVertexAttributeElement", "SoGLVertexAttributeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLViewingMatrixElement = {"_p_SoGLViewingMatrixElement", "SoGLViewingMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLViewportRegionElement = {"_p_SoGLViewportRegionElement", "SoGLViewportRegionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGate = {"_p_SoGate", "SoGate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetBoundingBoxAction = {"_p_SoGetBoundingBoxAction", "SoGetBoundingBoxAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetMatrixAction = {"_p_SoGetMatrixAction", "SoGetMatrixAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetPrimitiveCountAction = {"_p_SoGetPrimitiveCountAction", "SoGetPrimitiveCountAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGlyph = {"_p_SoGlyph", "SoGlyph *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGroup = {"_p_SoGroup", "SoGroup *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleBoxDragger = {"_p_SoHandleBoxDragger", "SoHandleBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleBoxManip = {"_p_SoHandleBoxManip", "SoHandleBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleEventAction = {"_p_SoHandleEventAction", "SoHandleEventAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHardCopy = {"_p_SoHardCopy", "SoHardCopy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHeightMapToNormalMap = {"_p_SoHeightMapToNormalMap", "SoHeightMapToNormalMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIdleSensor = {"_p_SoIdleSensor", "SoIdleSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoImage = {"_p_SoImage", "SoImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedFaceSet = {"_p_SoIndexedFaceSet", "SoIndexedFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedLineSet = {"_p_SoIndexedLineSet", "SoIndexedLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedMarkerSet = {"_p_SoIndexedMarkerSet", "SoIndexedMarkerSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsCurve = {"_p_SoIndexedNurbsCurve", "SoIndexedNurbsCurve *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsSurface = {"_p_SoIndexedNurbsSurface", "SoIndexedNurbsSurface *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedPointSet = {"_p_SoIndexedPointSet", "SoIndexedPointSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedShape = {"_p_SoIndexedShape", "SoIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedTriangleStripSet = {"_p_SoIndexedTriangleStripSet", "SoIndexedTriangleStripSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInfo = {"_p_SoInfo", "SoInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInput = {"_p_SoInput", "SoInput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInt32Element = {"_p_SoInt32Element", "SoInt32Element *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInteraction = {"_p_SoInteraction", "SoInteraction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInteractionKit = {"_p_SoInteractionKit", "SoInteractionKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolate = {"_p_SoInterpolate", "SoInterpolate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateFloat = {"_p_SoInterpolateFloat", "SoInterpolateFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateRotation = {"_p_SoInterpolateRotation", "SoInterpolateRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec2f = {"_p_SoInterpolateVec2f", "SoInterpolateVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec3f = {"_p_SoInterpolateVec3f", "SoInterpolateVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec4f = {"_p_SoInterpolateVec4f", "SoInterpolateVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectingPrimitive = {"_p_SoIntersectingPrimitive", "SoIntersectingPrimitive *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionCB = {"_p_SoIntersectionCB", "SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionDetectionAction = {"_p_SoIntersectionDetectionAction", "SoIntersectionDetectionAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionFilterCB = {"_p_SoIntersectionFilterCB", "SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionVisitationCB = {"_p_SoIntersectionVisitationCB", "SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoJackDragger = {"_p_SoJackDragger", "SoJackDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoJackManip = {"_p_SoJackManip", "SoJackManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoKeyboardEvent = {"_p_SoKeyboardEvent", "SoKeyboardEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLOD = {"_p_SoLOD", "SoLOD *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLabel = {"_p_SoLabel", "SoLabel *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLazyElement = {"_p_SoLazyElement", "SoLazyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLevelOfDetail = {"_p_SoLevelOfDetail", "SoLevelOfDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLight = {"_p_SoLight", "SoLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightAttenuationElement = {"_p_SoLightAttenuationElement", "SoLightAttenuationElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightElement = {"_p_SoLightElement", "SoLightElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightKit = {"_p_SoLightKit", "SoLightKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightModel = {"_p_SoLightModel", "SoLightModel *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightModelElement = {"_p_SoLightModelElement", "SoLightModelElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightPath = {"_p_SoLightPath", "SoLightPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineDetail = {"_p_SoLineDetail", "SoLineDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineHighlightRenderAction = {"_p_SoLineHighlightRenderAction", "SoLineHighlightRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLinePatternElement = {"_p_SoLinePatternElement", "SoLinePatternElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineSet = {"_p_SoLineSet", "SoLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineWidthElement = {"_p_SoLineWidthElement", "SoLineWidthElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLinearProfile = {"_p_SoLinearProfile", "SoLinearProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListener = {"_p_SoListener", "SoListener *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerDopplerElement = {"_p_SoListenerDopplerElement", "SoListenerDopplerElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerGainElement = {"_p_SoListenerGainElement", "SoListenerGainElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerOrientationElement = {"_p_SoListenerOrientationElement", "SoListenerOrientationElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerPositionElement = {"_p_SoListenerPositionElement", "SoListenerPositionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocalBBoxMatrixElement = {"_p_SoLocalBBoxMatrixElement", "SoLocalBBoxMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocateHighlight = {"_p_SoLocateHighlight", "SoLocateHighlight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocation2Event = {"_p_SoLocation2Event", "SoLocation2Event *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLockManager = {"_p_SoLockManager", "SoLockManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFBitMask = {"_p_SoMFBitMask", "SoMFBitMask *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFBool = {"_p_SoMFBool", "SoMFBool *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFColor = {"_p_SoMFColor", "SoMFColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFColorRGBA = {"_p_SoMFColorRGBA", "SoMFColorRGBA *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFDouble = {"_p_SoMFDouble", "SoMFDouble *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFEngine = {"_p_SoMFEngine", "SoMFEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFEnum = {"_p_SoMFEnum", "SoMFEnum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFFloat = {"_p_SoMFFloat", "SoMFFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFInt32 = {"_p_SoMFInt32", "SoMFInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFMatrix = {"_p_SoMFMatrix", "SoMFMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFName = {"_p_SoMFName", "SoMFName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFNode = {"_p_SoMFNode", "SoMFNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFPath = {"_p_SoMFPath", "SoMFPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFPlane = {"_p_SoMFPlane", "SoMFPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFRotation = {"_p_SoMFRotation", "SoMFRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFShort = {"_p_SoMFShort", "SoMFShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFString = {"_p_SoMFString", "SoMFString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFTime = {"_p_SoMFTime", "SoMFTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFUInt32 = {"_p_SoMFUInt32", "SoMFUInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFUShort = {"_p_SoMFUShort", "SoMFUShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2b = {"_p_SoMFVec2b", "SoMFVec2b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2d = {"_p_SoMFVec2d", "SoMFVec2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2f = {"_p_SoMFVec2f", "SoMFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2i32 = {"_p_SoMFVec2i32", "SoMFVec2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2s = {"_p_SoMFVec2s", "SoMFVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3b = {"_p_SoMFVec3b", "SoMFVec3b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3d = {"_p_SoMFVec3d", "SoMFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3f = {"_p_SoMFVec3f", "SoMFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3i32 = {"_p_SoMFVec3i32", "SoMFVec3i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3s = {"_p_SoMFVec3s", "SoMFVec3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4b = {"_p_SoMFVec4b", "SoMFVec4b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4d = {"_p_SoMFVec4d", "SoMFVec4d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4f = {"_p_SoMFVec4f", "SoMFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4i32 = {"_p_SoMFVec4i32", "SoMFVec4i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4s = {"_p_SoMFVec4s", "SoMFVec4s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4ub = {"_p_SoMFVec4ub", "SoMFVec4ub *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4ui32 = {"_p_SoMFVec4ui32", "SoMFVec4ui32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4us = {"_p_SoMFVec4us", "SoMFVec4us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMField = {"_p_SoMField", "SoMField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMarkerSet = {"_p_SoMarkerSet", "SoMarkerSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterial = {"_p_SoMaterial", "SoMaterial *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBinding = {"_p_SoMaterialBinding", "SoMaterialBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBindingElement = {"_p_SoMaterialBindingElement", "SoMaterialBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBundle = {"_p_SoMaterialBundle", "SoMaterialBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMatrixTransform = {"_p_SoMatrixTransform", "SoMatrixTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMemoryError = {"_p_SoMemoryError", "SoMemoryError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoModelMatrixElement = {"_p_SoModelMatrixElement", "SoModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMotion3Event = {"_p_SoMotion3Event", "SoMotion3Event *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMouseButtonEvent = {"_p_SoMouseButtonEvent", "SoMouseButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureCoordinateElement = {"_p_SoMultiTextureCoordinateElement", "SoMultiTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureEnabledElement = {"_p_SoMultiTextureEnabledElement", "SoMultiTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureEnabledElement__Mode = {"_p_SoMultiTextureEnabledElement__Mode", "enum SoMultiTextureEnabledElement::Mode *|SoMultiTextureEnabledElement::Mode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureImageElement = {"_p_SoMultiTextureImageElement", "SoMultiTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureMatrixElement = {"_p_SoMultiTextureMatrixElement", "SoMultiTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultipleCopy = {"_p_SoMultipleCopy", "SoMultipleCopy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNode = {"_p_SoNode", "SoNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeEngine = {"_p_SoNodeEngine", "SoNodeEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKit = {"_p_SoNodeKit", "SoNodeKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitDetail = {"_p_SoNodeKitDetail", "SoNodeKitDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitListPart = {"_p_SoNodeKitListPart", "SoNodeKitListPart *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitPath = {"_p_SoNodeKitPath", "SoNodeKitPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeList = {"_p_SoNodeList", "SoNodeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeSensor = {"_p_SoNodeSensor", "SoNodeSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodekitCatalog = {"_p_SoNodekitCatalog", "SoNodekitCatalog *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNonIndexedShape = {"_p_SoNonIndexedShape", "SoNonIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormal = {"_p_SoNormal", "SoNormal *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBinding = {"_p_SoNormalBinding", "SoNormalBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBindingElement = {"_p_SoNormalBindingElement", "SoNormalBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBundle = {"_p_SoNormalBundle", "SoNormalBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalCache = {"_p_SoNormalCache", "SoNormalCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalElement = {"_p_SoNormalElement", "SoNormalElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalGenerator = {"_p_SoNormalGenerator", "SoNormalGenerator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotList = {"_p_SoNotList", "SoNotList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotRec = {"_p_SoNotRec", "SoNotRec *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsCurve = {"_p_SoNurbsCurve", "SoNurbsCurve *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsProfile = {"_p_SoNurbsProfile", "SoNurbsProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsSurface = {"_p_SoNurbsSurface", "SoNurbsSurface *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOffscreenRenderer = {"_p_SoOffscreenRenderer", "SoOffscreenRenderer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOnOff = {"_p_SoOnOff", "SoOnOff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOneShot = {"_p_SoOneShot", "SoOneShot *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOneShotSensor = {"_p_SoOneShotSensor", "SoOneShotSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOrthographicCamera = {"_p_SoOrthographicCamera", "SoOrthographicCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOutput = {"_p_SoOutput", "SoOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOverrideElement = {"_p_SoOverrideElement", "SoOverrideElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPSVectorOutput = {"_p_SoPSVectorOutput", "SoPSVectorOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPackedColor = {"_p_SoPackedColor", "SoPackedColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPath = {"_p_SoPath", "SoPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathList = {"_p_SoPathList", "SoPathList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathSensor = {"_p_SoPathSensor", "SoPathSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathSwitch = {"_p_SoPathSwitch", "SoPathSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPendulum = {"_p_SoPendulum", "SoPendulum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPerspectiveCamera = {"_p_SoPerspectiveCamera", "SoPerspectiveCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickAction = {"_p_SoPickAction", "SoPickAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickRayElement = {"_p_SoPickRayElement", "SoPickRayElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickStyle = {"_p_SoPickStyle", "SoPickStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickStyleElement = {"_p_SoPickStyleElement", "SoPickStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickedPoint = {"_p_SoPickedPoint", "SoPickedPoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickedPointList = {"_p_SoPickedPointList", "SoPickedPointList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointDetail = {"_p_SoPointDetail", "SoPointDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLight = {"_p_SoPointLight", "SoPointLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLightDragger = {"_p_SoPointLightDragger", "SoPointLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLightManip = {"_p_SoPointLightManip", "SoPointLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointSet = {"_p_SoPointSet", "SoPointSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointSizeElement = {"_p_SoPointSizeElement", "SoPointSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffset = {"_p_SoPolygonOffset", "SoPolygonOffset *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffsetElement = {"_p_SoPolygonOffsetElement", "SoPolygonOffsetElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffsetElement__Style = {"_p_SoPolygonOffsetElement__Style", "enum SoPolygonOffsetElement::Style *|SoPolygonOffsetElement::Style *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPrimitiveVertex = {"_p_SoPrimitiveVertex", "SoPrimitiveVertex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfile = {"_p_SoProfile", "SoProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate2 = {"_p_SoProfileCoordinate2", "SoProfileCoordinate2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate3 = {"_p_SoProfileCoordinate3", "SoProfileCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinateElement = {"_p_SoProfileCoordinateElement", "SoProfileCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileElement = {"_p_SoProfileElement", "SoProfileElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProjectionMatrixElement = {"_p_SoProjectionMatrixElement", "SoProjectionMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProto = {"_p_SoProto", "SoProto *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProtoInstance = {"_p_SoProtoInstance", "SoProtoInstance *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQuadMesh = {"_p_SoQuadMesh", "SoQuadMesh *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRayPickAction = {"_p_SoRayPickAction", "SoRayPickAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReadError = {"_p_SoReadError", "SoReadError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRenderManager = {"_p_SoRenderManager", "SoRenderManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRenderManager__Superimposition = {"_p_SoRenderManager__Superimposition", "SoRenderManager::Superimposition *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReorganizeAction = {"_p_SoReorganizeAction", "SoReorganizeAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReplacedElement = {"_p_SoReplacedElement", "SoReplacedElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoResetTransform = {"_p_SoResetTransform", "SoResetTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateCylindricalDragger = {"_p_SoRotateCylindricalDragger", "SoRotateCylindricalDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateDiscDragger = {"_p_SoRotateDiscDragger", "SoRotateDiscDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateSphericalDragger = {"_p_SoRotateSphericalDragger", "SoRotateSphericalDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotation = {"_p_SoRotation", "SoRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotationXYZ = {"_p_SoRotationXYZ", "SoRotationXYZ *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotor = {"_p_SoRotor", "SoRotor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBitMask = {"_p_SoSFBitMask", "SoSFBitMask *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBool = {"_p_SoSFBool", "SoSFBool *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox2d = {"_p_SoSFBox2d", "SoSFBox2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox2f = {"_p_SoSFBox2f", "SoSFBox2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox2i32 = {"_p_SoSFBox2i32", "SoSFBox2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox2s = {"_p_SoSFBox2s", "SoSFBox2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox3d = {"_p_SoSFBox3d", "SoSFBox3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox3f = {"_p_SoSFBox3f", "SoSFBox3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox3i32 = {"_p_SoSFBox3i32", "SoSFBox3i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox3s = {"_p_SoSFBox3s", "SoSFBox3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFColor = {"_p_SoSFColor", "SoSFColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFColorRGBA = {"_p_SoSFColorRGBA", "SoSFColorRGBA *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFDouble = {"_p_SoSFDouble", "SoSFDouble *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFEngine = {"_p_SoSFEngine", "SoSFEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFEnum = {"_p_SoSFEnum", "SoSFEnum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFFloat = {"_p_SoSFFloat", "SoSFFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFImage = {"_p_SoSFImage", "SoSFImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFImage3 = {"_p_SoSFImage3", "SoSFImage3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFInt32 = {"_p_SoSFInt32", "SoSFInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFMatrix = {"_p_SoSFMatrix", "SoSFMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFName = {"_p_SoSFName", "SoSFName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFNode = {"_p_SoSFNode", "SoSFNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFPath = {"_p_SoSFPath", "SoSFPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFPlane = {"_p_SoSFPlane", "SoSFPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFRotation = {"_p_SoSFRotation", "SoSFRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFShort = {"_p_SoSFShort", "SoSFShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFString = {"_p_SoSFString", "SoSFString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFTime = {"_p_SoSFTime", "SoSFTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFTrigger = {"_p_SoSFTrigger", "SoSFTrigger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFUInt32 = {"_p_SoSFUInt32", "SoSFUInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFUShort = {"_p_SoSFUShort", "SoSFUShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2b = {"_p_SoSFVec2b", "SoSFVec2b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2d = {"_p_SoSFVec2d", "SoSFVec2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2f = {"_p_SoSFVec2f", "SoSFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2i32 = {"_p_SoSFVec2i32", "SoSFVec2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2s = {"_p_SoSFVec2s", "SoSFVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3b = {"_p_SoSFVec3b", "SoSFVec3b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3d = {"_p_SoSFVec3d", "SoSFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3f = {"_p_SoSFVec3f", "SoSFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3i32 = {"_p_SoSFVec3i32", "SoSFVec3i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3s = {"_p_SoSFVec3s", "SoSFVec3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4b = {"_p_SoSFVec4b", "SoSFVec4b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4d = {"_p_SoSFVec4d", "SoSFVec4d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4f = {"_p_SoSFVec4f", "SoSFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4i32 = {"_p_SoSFVec4i32", "SoSFVec4i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4s = {"_p_SoSFVec4s", "SoSFVec4s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4ub = {"_p_SoSFVec4ub", "SoSFVec4ub *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4ui32 = {"_p_SoSFVec4ui32", "SoSFVec4ui32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4us = {"_p_SoSFVec4us", "SoSFVec4us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSField = {"_p_SoSField", "SoSField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScXMLEvent = {"_p_SoScXMLEvent", "SoScXMLEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScXMLStateMachine = {"_p_SoScXMLStateMachine", "SoScXMLStateMachine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale = {"_p_SoScale", "SoScale *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale1Dragger = {"_p_SoScale1Dragger", "SoScale1Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale2Dragger = {"_p_SoScale2Dragger", "SoScale2Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale2UniformDragger = {"_p_SoScale2UniformDragger", "SoScale2UniformDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScaleUniformDragger = {"_p_SoScaleUniformDragger", "SoScaleUniformDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneKit = {"_p_SoSceneKit", "SoSceneKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneManager = {"_p_SoSceneManager", "SoSceneManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneTexture2 = {"_p_SoSceneTexture2", "SoSceneTexture2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneTextureCubeMap = {"_p_SoSceneTextureCubeMap", "SoSceneTextureCubeMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSearchAction = {"_p_SoSearchAction", "SoSearchAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelectOne = {"_p_SoSelectOne", "SoSelectOne *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelection = {"_p_SoSelection", "SoSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSensor = {"_p_SoSensor", "SoSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSensorManager = {"_p_SoSensorManager", "SoSensorManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSeparator = {"_p_SoSeparator", "SoSeparator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSeparatorKit = {"_p_SoSeparatorKit", "SoSeparatorKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderObject = {"_p_SoShaderObject", "SoShaderObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter = {"_p_SoShaderParameter", "SoShaderParameter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter1f = {"_p_SoShaderParameter1f", "SoShaderParameter1f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter1i = {"_p_SoShaderParameter1i", "SoShaderParameter1i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter2f = {"_p_SoShaderParameter2f", "SoShaderParameter2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter2i = {"_p_SoShaderParameter2i", "SoShaderParameter2i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter3f = {"_p_SoShaderParameter3f", "SoShaderParameter3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter3i = {"_p_SoShaderParameter3i", "SoShaderParameter3i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter4f = {"_p_SoShaderParameter4f", "SoShaderParameter4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameter4i = {"_p_SoShaderParameter4i", "SoShaderParameter4i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray1f = {"_p_SoShaderParameterArray1f", "SoShaderParameterArray1f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray1i = {"_p_SoShaderParameterArray1i", "SoShaderParameterArray1i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray2f = {"_p_SoShaderParameterArray2f", "SoShaderParameterArray2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray2i = {"_p_SoShaderParameterArray2i", "SoShaderParameterArray2i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray3f = {"_p_SoShaderParameterArray3f", "SoShaderParameterArray3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray3i = {"_p_SoShaderParameterArray3i", "SoShaderParameterArray3i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray4f = {"_p_SoShaderParameterArray4f", "SoShaderParameterArray4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray4i = {"_p_SoShaderParameterArray4i", "SoShaderParameterArray4i *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterMatrix = {"_p_SoShaderParameterMatrix", "SoShaderParameterMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderParameterMatrixArray = {"_p_SoShaderParameterMatrixArray", "SoShaderParameterMatrixArray *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderProgram = {"_p_SoShaderProgram", "SoShaderProgram *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShaderStateMatrixParameter = {"_p_SoShaderStateMatrixParameter", "SoShaderStateMatrixParameter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShape = {"_p_SoShape", "SoShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHints = {"_p_SoShapeHints", "SoShapeHints *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement = {"_p_SoShapeHintsElement", "SoShapeHintsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__FaceType = {"_p_SoShapeHintsElement__FaceType", "enum SoShapeHintsElement::FaceType *|SoShapeHintsElement::FaceType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__ShapeType = {"_p_SoShapeHintsElement__ShapeType", "enum SoShapeHintsElement::ShapeType *|SoShapeHintsElement::ShapeType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__VertexOrdering = {"_p_SoShapeHintsElement__VertexOrdering", "enum SoShapeHintsElement::VertexOrdering *|SoShapeHintsElement::VertexOrdering *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeKit = {"_p_SoShapeKit", "SoShapeKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeStyleElement = {"_p_SoShapeStyleElement", "SoShapeStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShininessElement = {"_p_SoShininessElement", "SoShininessElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShuttle = {"_p_SoShuttle", "SoShuttle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSimplifier = {"_p_SoSimplifier", "SoSimplifier *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSimplifyAction = {"_p_SoSimplifyAction", "SoSimplifyAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSoundElement = {"_p_SoSoundElement", "SoSoundElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpaceballButtonEvent = {"_p_SoSpaceballButtonEvent", "SoSpaceballButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpecularColorElement = {"_p_SoSpecularColorElement", "SoSpecularColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSphere = {"_p_SoSphere", "SoSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLight = {"_p_SoSpotLight", "SoSpotLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLightDragger = {"_p_SoSpotLightDragger", "SoSpotLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLightManip = {"_p_SoSpotLightManip", "SoSpotLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoState = {"_p_SoState", "SoState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSurroundScale = {"_p_SoSurroundScale", "SoSurroundScale *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSwitch = {"_p_SoSwitch", "SoSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSwitchElement = {"_p_SoSwitchElement", "SoSwitchElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabBoxDragger = {"_p_SoTabBoxDragger", "SoTabBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabBoxManip = {"_p_SoTabBoxManip", "SoTabBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabPlaneDragger = {"_p_SoTabPlaneDragger", "SoTabPlaneDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTempPath = {"_p_SoTempPath", "SoTempPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoText2 = {"_p_SoText2", "SoText2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoText3 = {"_p_SoText3", "SoText3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextDetail = {"_p_SoTextDetail", "SoTextDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextOutlineEnabledElement = {"_p_SoTextOutlineEnabledElement", "SoTextOutlineEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture = {"_p_SoTexture", "SoTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture2 = {"_p_SoTexture2", "SoTexture2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture2Convert = {"_p_SoTexture2Convert", "SoTexture2Convert *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture2Transform = {"_p_SoTexture2Transform", "SoTexture2Transform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3 = {"_p_SoTexture3", "SoTexture3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3EnabledElement = {"_p_SoTexture3EnabledElement", "SoTexture3EnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3Transform = {"_p_SoTexture3Transform", "SoTexture3Transform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombine = {"_p_SoTextureCombine", "SoTextureCombine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement = {"_p_SoTextureCombineElement", "SoTextureCombineElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Operand = {"_p_SoTextureCombineElement__Operand", "enum SoTextureCombineElement::Operand *|SoTextureCombineElement::Operand *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Operation = {"_p_SoTextureCombineElement__Operation", "enum SoTextureCombineElement::Operation *|SoTextureCombineElement::Operation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Source = {"_p_SoTextureCombineElement__Source", "enum SoTextureCombineElement::Source *|SoTextureCombineElement::Source *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate2 = {"_p_SoTextureCoordinate2", "SoTextureCoordinate2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate3 = {"_p_SoTextureCoordinate3", "SoTextureCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBinding = {"_p_SoTextureCoordinateBinding", "SoTextureCoordinateBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBindingElement = {"_p_SoTextureCoordinateBindingElement", "SoTextureCoordinateBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBundle = {"_p_SoTextureCoordinateBundle", "SoTextureCoordinateBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCache = {"_p_SoTextureCoordinateCache", "SoTextureCoordinateCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCube = {"_p_SoTextureCoordinateCube", "SoTextureCoordinateCube *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCylinder = {"_p_SoTextureCoordinateCylinder", "SoTextureCoordinateCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateDefault = {"_p_SoTextureCoordinateDefault", "SoTextureCoordinateDefault *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateElement = {"_p_SoTextureCoordinateElement", "SoTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateEnvironment = {"_p_SoTextureCoordinateEnvironment", "SoTextureCoordinateEnvironment *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateFunction = {"_p_SoTextureCoordinateFunction", "SoTextureCoordinateFunction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateNormalMap = {"_p_SoTextureCoordinateNormalMap", "SoTextureCoordinateNormalMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateObject = {"_p_SoTextureCoordinateObject", "SoTextureCoordinateObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinatePlane = {"_p_SoTextureCoordinatePlane", "SoTextureCoordinatePlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateReflectionMap = {"_p_SoTextureCoordinateReflectionMap", "SoTextureCoordinateReflectionMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateSphere = {"_p_SoTextureCoordinateSphere", "SoTextureCoordinateSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCubeMap = {"_p_SoTextureCubeMap", "SoTextureCubeMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureEnabledElement = {"_p_SoTextureEnabledElement", "SoTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement = {"_p_SoTextureImageElement", "SoTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement__Model = {"_p_SoTextureImageElement__Model", "enum SoTextureImageElement::Model *|SoTextureImageElement::Model *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement__Wrap = {"_p_SoTextureImageElement__Wrap", "enum SoTextureImageElement::Wrap *|SoTextureImageElement::Wrap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureMatrixElement = {"_p_SoTextureMatrixElement", "SoTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureMatrixTransform = {"_p_SoTextureMatrixTransform", "SoTextureMatrixTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureOverrideElement = {"_p_SoTextureOverrideElement", "SoTextureOverrideElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureQualityElement = {"_p_SoTextureQualityElement", "SoTextureQualityElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureScalePolicy = {"_p_SoTextureScalePolicy", "SoTextureScalePolicy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureUnit = {"_p_SoTextureUnit", "SoTextureUnit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureUnitElement = {"_p_SoTextureUnitElement", "SoTextureUnitElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimeCounter = {"_p_SoTimeCounter", "SoTimeCounter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimerQueueSensor = {"_p_SoTimerQueueSensor", "SoTimerQueueSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimerSensor = {"_p_SoTimerSensor", "SoTimerSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoToVRML2Action = {"_p_SoToVRML2Action", "SoToVRML2Action *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoToVRMLAction = {"_p_SoToVRMLAction", "SoToVRMLAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTrackballDragger = {"_p_SoTrackballDragger", "SoTrackballDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTrackballManip = {"_p_SoTrackballManip", "SoTrackballManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranReceiver = {"_p_SoTranReceiver", "SoTranReceiver *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranSender = {"_p_SoTranSender", "SoTranSender *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransform = {"_p_SoTransform", "SoTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformBoxDragger = {"_p_SoTransformBoxDragger", "SoTransformBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformBoxManip = {"_p_SoTransformBoxManip", "SoTransformBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformManip = {"_p_SoTransformManip", "SoTransformManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformSeparator = {"_p_SoTransformSeparator", "SoTransformSeparator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformVec3f = {"_p_SoTransformVec3f", "SoTransformVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformation = {"_p_SoTransformation", "SoTransformation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformerDragger = {"_p_SoTransformerDragger", "SoTransformerDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformerManip = {"_p_SoTransformerManip", "SoTransformerManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslate1Dragger = {"_p_SoTranslate1Dragger", "SoTranslate1Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslate2Dragger = {"_p_SoTranslate2Dragger", "SoTranslate2Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslation = {"_p_SoTranslation", "SoTranslation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransparencyElement = {"_p_SoTransparencyElement", "SoTransparencyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransparencyType = {"_p_SoTransparencyType", "SoTransparencyType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTriangleStripSet = {"_p_SoTriangleStripSet", "SoTriangleStripSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTriggerAny = {"_p_SoTriggerAny", "SoTriggerAny *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoType = {"_p_SoType", "SoType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTypeList = {"_p_SoTypeList", "SoTypeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoUniformShaderParameter = {"_p_SoUniformShaderParameter", "SoUniformShaderParameter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoUnits = {"_p_SoUnits", "SoUnits *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoUnitsElement = {"_p_SoUnitsElement", "SoUnitsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVBO = {"_p_SoVBO", "SoVBO *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAnchor = {"_p_SoVRMLAnchor", "SoVRMLAnchor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAppearance = {"_p_SoVRMLAppearance", "SoVRMLAppearance *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAudioClip = {"_p_SoVRMLAudioClip", "SoVRMLAudioClip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBackground = {"_p_SoVRMLBackground", "SoVRMLBackground *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBillboard = {"_p_SoVRMLBillboard", "SoVRMLBillboard *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBox = {"_p_SoVRMLBox", "SoVRMLBox *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCollision = {"_p_SoVRMLCollision", "SoVRMLCollision *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLColor = {"_p_SoVRMLColor", "SoVRMLColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLColorInterpolator = {"_p_SoVRMLColorInterpolator", "SoVRMLColorInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCone = {"_p_SoVRMLCone", "SoVRMLCone *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinate = {"_p_SoVRMLCoordinate", "SoVRMLCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinateInterpolator = {"_p_SoVRMLCoordinateInterpolator", "SoVRMLCoordinateInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinder = {"_p_SoVRMLCylinder", "SoVRMLCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinderSensor = {"_p_SoVRMLCylinderSensor", "SoVRMLCylinderSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLDirectionalLight = {"_p_SoVRMLDirectionalLight", "SoVRMLDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLDragSensor = {"_p_SoVRMLDragSensor", "SoVRMLDragSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLElevationGrid = {"_p_SoVRMLElevationGrid", "SoVRMLElevationGrid *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLExtrusion = {"_p_SoVRMLExtrusion", "SoVRMLExtrusion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLFog = {"_p_SoVRMLFog", "SoVRMLFog *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLFontStyle = {"_p_SoVRMLFontStyle", "SoVRMLFontStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLGeometry = {"_p_SoVRMLGeometry", "SoVRMLGeometry *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLGroup = {"_p_SoVRMLGroup", "SoVRMLGroup *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLImageTexture = {"_p_SoVRMLImageTexture", "SoVRMLImageTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedFaceSet = {"_p_SoVRMLIndexedFaceSet", "SoVRMLIndexedFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLine = {"_p_SoVRMLIndexedLine", "SoVRMLIndexedLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLineSet = {"_p_SoVRMLIndexedLineSet", "SoVRMLIndexedLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedShape = {"_p_SoVRMLIndexedShape", "SoVRMLIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLInline = {"_p_SoVRMLInline", "SoVRMLInline *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLInterpolator = {"_p_SoVRMLInterpolator", "SoVRMLInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLLOD = {"_p_SoVRMLLOD", "SoVRMLLOD *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLLight = {"_p_SoVRMLLight", "SoVRMLLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLMaterial = {"_p_SoVRMLMaterial", "SoVRMLMaterial *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLMovieTexture = {"_p_SoVRMLMovieTexture", "SoVRMLMovieTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNavigationInfo = {"_p_SoVRMLNavigationInfo", "SoVRMLNavigationInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNormal = {"_p_SoVRMLNormal", "SoVRMLNormal *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNormalInterpolator = {"_p_SoVRMLNormalInterpolator", "SoVRMLNormalInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLOrientationInterpolator = {"_p_SoVRMLOrientationInterpolator", "SoVRMLOrientationInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLParent = {"_p_SoVRMLParent", "SoVRMLParent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPixelTexture = {"_p_SoVRMLPixelTexture", "SoVRMLPixelTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPlaneSensor = {"_p_SoVRMLPlaneSensor", "SoVRMLPlaneSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPointLight = {"_p_SoVRMLPointLight", "SoVRMLPointLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPointSet = {"_p_SoVRMLPointSet", "SoVRMLPointSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPositionInterpolator = {"_p_SoVRMLPositionInterpolator", "SoVRMLPositionInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLProximitySensor = {"_p_SoVRMLProximitySensor", "SoVRMLProximitySensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLScalarInterpolator = {"_p_SoVRMLScalarInterpolator", "SoVRMLScalarInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLScript = {"_p_SoVRMLScript", "SoVRMLScript *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSensor = {"_p_SoVRMLSensor", "SoVRMLSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLShape = {"_p_SoVRMLShape", "SoVRMLShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSound = {"_p_SoVRMLSound", "SoVRMLSound *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSphere = {"_p_SoVRMLSphere", "SoVRMLSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSphereSensor = {"_p_SoVRMLSphereSensor", "SoVRMLSphereSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSpotLight = {"_p_SoVRMLSpotLight", "SoVRMLSpotLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSwitch = {"_p_SoVRMLSwitch", "SoVRMLSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLText = {"_p_SoVRMLText", "SoVRMLText *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTexture = {"_p_SoVRMLTexture", "SoVRMLTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureCoordinate = {"_p_SoVRMLTextureCoordinate", "SoVRMLTextureCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureTransform = {"_p_SoVRMLTextureTransform", "SoVRMLTextureTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTimeSensor = {"_p_SoVRMLTimeSensor", "SoVRMLTimeSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTouchSensor = {"_p_SoVRMLTouchSensor", "SoVRMLTouchSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTransform = {"_p_SoVRMLTransform", "SoVRMLTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexLine = {"_p_SoVRMLVertexLine", "SoVRMLVertexLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexPoint = {"_p_SoVRMLVertexPoint", "SoVRMLVertexPoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexShape = {"_p_SoVRMLVertexShape", "SoVRMLVertexShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLViewpoint = {"_p_SoVRMLViewpoint", "SoVRMLViewpoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVisibilitySensor = {"_p_SoVRMLVisibilitySensor", "SoVRMLVisibilitySensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLWorldInfo = {"_p_SoVRMLWorldInfo", "SoVRMLWorldInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorOutput = {"_p_SoVectorOutput", "SoVectorOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorizeAction = {"_p_SoVectorizeAction", "SoVectorizeAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorizePSAction = {"_p_SoVectorizePSAction", "SoVectorizePSAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexAttribute = {"_p_SoVertexAttribute", "SoVertexAttribute *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexAttributeBinding = {"_p_SoVertexAttributeBinding", "SoVertexAttributeBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexAttributeBindingElement = {"_p_SoVertexAttributeBindingElement", "SoVertexAttributeBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexAttributeData = {"_p_SoVertexAttributeData", "SoVertexAttributeData *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexAttributeElement = {"_p_SoVertexAttributeElement", "SoVertexAttributeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexProperty = {"_p_SoVertexProperty", "SoVertexProperty *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexShader = {"_p_SoVertexShader", "SoVertexShader *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexShape = {"_p_SoVertexShape", "SoVertexShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewVolumeElement = {"_p_SoViewVolumeElement", "SoViewVolumeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewingMatrixElement = {"_p_SoViewingMatrixElement", "SoViewingMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewportRegionElement = {"_p_SoViewportRegionElement", "SoViewportRegionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWWWAnchor = {"_p_SoWWWAnchor", "SoWWWAnchor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWWWInline = {"_p_SoWWWInline", "SoWWWInline *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWindowElement = {"_p_SoWindowElement", "SoWindowElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWrapperKit = {"_p_SoWrapperKit", "SoWrapperKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWriteAction = {"_p_SoWriteAction", "SoWriteAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_2__double = {"_p_a_2__double", "double (*)[2]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_2__doublep = {"_p_a_2__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_2__int32_t = {"_p_a_2__int32_t", "int32_t (*)[2]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_2__int8_t = {"_p_a_2__int8_t", "int8_t (*)[2]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_2__short = {"_p_a_2__short", "short (*)[2]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_3__int32_t = {"_p_a_3__int32_t", "int32_t (*)[3]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_3__int8_t = {"_p_a_3__int8_t", "int8_t (*)[3]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_3__short = {"_p_a_3__short", "short (*)[3]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__double = {"_p_a_4__a_4__double", "double (*)[4][4]|SbDPMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__doublep = {"_p_a_4__a_4__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "float (*)[4][4]|SbMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__floatp = {"_p_a_4__a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__double = {"_p_a_4__double", "double (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__doublep = {"_p_a_4__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__float = {"_p_a_4__float", "float (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__floatp = {"_p_a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__int32_t = {"_p_a_4__int32_t", "int32_t (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__int8_t = {"_p_a_4__int8_t", "int8_t (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__short = {"_p_a_4__short", "short (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__uint32_t = {"_p_a_4__uint32_t", "uint32_t (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__uint8_t = {"_p_a_4__uint8_t", "uint8_t (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__unsigned_short = {"_p_a_4__unsigned_short", "unsigned short (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_cc_glglue = {"_p_cc_glglue", "cc_glue *|cc_glglue *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_cc_storage_f = {"_p_cc_storage_f", "cc_storage_f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_charp = {"_p_charp", "charp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_close_func = {"_p_close_func", "close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_doublep = {"_p_doublep", "doublep *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__char = {"_p_f_char__char", "char (*)(char)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__charp = {"_p_f_char__charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_float_p_void__int = {"_p_f_float_p_void__int", "int (*)(float,void *)|SbBool (*)(float,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_float_p_void__intp = {"_p_f_float_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_SoAction_p_SoNode__void = {"_p_f_p_SoAction_p_SoNode__void", "void (*)(SoAction *,SoNode *)|SoActionMethod", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto = {"_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto", "SoProto *(*)(SoInput *,SbString const *,int const,void *)|SoFetchExternProtoCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int = {"_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int", "int (*)(SoState *,SbVec3s const &,unsigned char *,enum SoGLImage::ResizeReason,void *,SoGLImage *)|SoGLImage::SoGLImageResizeCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp = {"_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_q_const__SoError_p_void__void = {"_p_f_p_q_const__SoError_p_void__void", "SoErrorCB *|void (*)(SoError const *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__SoGLRenderAction__AbortCode = {"_p_f_p_void__SoGLRenderAction__AbortCode", "SoGLRenderAction::SoGLRenderAbortCB *|enum SoGLRenderAction::AbortCode (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__float = {"_p_f_p_void__float", "float (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__floatp = {"_p_f_p_void__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void__int = {"_p_f_p_void__int", "int (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__intp = {"_p_f_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void__p_void = {"_p_f_p_void__p_void", "void *(*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "SoTexCoordTexgenCB *|void (*)(void *)|SoGLRenderPassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_int__void = {"_p_f_p_void_int__void", "void (*)(void *,int)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int = {"_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int", "int (*)(void *,long,int,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp = {"_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_ScXMLStateMachine__void = {"_p_f_p_void_p_ScXMLStateMachine__void", "void (*)(void *,ScXMLStateMachine *)|ScXMLStateMachineDeleteCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void = {"_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void", "void (*)(void *,ScXMLStateMachine *,char const *,int,int)|ScXMLStateChangeCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoAction__void = {"_p_f_p_void_p_SoAction__void", "SoCallbackCB *|void (*)(void *,SoAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response", "enum SoCallbackAction::Response (*)(void *,SoCallbackAction *,SoNode const *)|SoCallbackAction::SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionPointCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void", "SoPointCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionLineSegmentCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "SoLineSegmentCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoExtSelectionTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoDragger__void = {"_p_f_p_void_p_SoDragger__void", "void (*)(void *,SoDragger *)|SoDraggerCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoEventCallback__void = {"_p_f_p_void_p_SoEventCallback__void", "void (*)(void *,SoEventCallback *)|SoEventCallbackCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__float = {"_p_f_p_void_p_SoGLRenderAction__float", "SoGLSortedObjectOrderCB *|float (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__floatp = {"_p_f_p_void_p_SoGLRenderAction__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__void = {"_p_f_p_void_p_SoGLRenderAction__void", "SoGLPreRenderCB *|void (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoInput__void = {"_p_f_p_void_p_SoInput__void", "void (*)(void *,SoInput *)|SoDBHeaderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoPath__void = {"_p_f_p_void_p_SoPath__void", "void (*)(void *,SoPath *)|SoSelectionPathCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoRenderManager__void = {"_p_f_p_void_p_SoRenderManager__void", "void (*)(void *,SoRenderManager *)|SoRenderManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSceneManager__void = {"_p_f_p_void_p_SoSceneManager__void", "void (*)(void *,SoSceneManager *)|SoSceneManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSelection__void = {"_p_f_p_void_p_SoSelection__void", "void (*)(void *,SoSelection *)|SoSelectionClassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSensor__void = {"_p_f_p_void_p_SoSensor__void", "SoSensorCB *|void (*)(void *,SoSensor *)|SoSensorCBPtr", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoState_q_const__int__void = {"_p_f_p_void_p_SoState_q_const__int__void", "SoShaderProgramEnableCB *|void (*)(void *,SoState *,int const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__int", "int (*)(void *,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__long", "long (*)(void *,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__longp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLScript__void = {"_p_f_p_void_p_SoVRMLScript__void", "SoVRMLScriptEvaluateCB *|void (*)(void *,SoVRMLScript *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp = {"_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp", "enum SoIntersectionDetectionAction::Resp (*)(void *,SoIntersectingPrimitive const *,SoIntersectingPrimitive const *)|SoIntersectionDetectionAction::SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response = {"_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response", "enum SoCallbackAction::Response (*)(void *,SoPath const *)|SoIntersectionDetectionAction::SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoPath = {"_p_f_p_void_p_q_const__SoPath__p_SoPath", "SoPath *(*)(void *,SoPath const *)|SoLassoSelectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPath__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPath__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int = {"_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int", "int (*)(void *,SoPath const *,SoPath const *)|SoIntersectionDetectionAction::SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp = {"_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath", "SoPath *(*)(void *,SoPickedPoint const *)|SoSelectionPickCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__int = {"_p_f_p_void_p_void__int", "int (*)(void *,void *)|SbBool (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__intp = {"_p_f_p_void_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "SbStorageApplyFunc *|SoCallbackListCB *|void (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t = {"_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t", "size_t (*)(void *,void *,int,int &,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void_p_void_p_void__void = {"_p_f_p_void_p_void_p_void_p_void__void", "SbTesselatorCB *|void (*)(void *,void *,void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f", "SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)|SoTextureCoordinateFunctionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_size_t__p_void = {"_p_f_p_void_size_t__p_void", "void *(*)(void *,size_t)|SoOutputReallocCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_uint32_t__void = {"_p_f_p_void_uint32_t__void", "SoScheduleDeleteCB *|void (*)(void *,uint32_t)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int = {"_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int", "int (*)(void *const,SbPlane const *const,int const)|SbBool (*)(void *const,SbPlane const *const,int const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp = {"_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int = {"_p_f_q_const__p_void_r_q_const__SbBox3f__int", "int (*)(void *const,SbBox3f const &)|SbBool (*)(void *const,SbBox3f const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp = {"_p_f_q_const__p_void_r_q_const__SbBox3f__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbSphere__int = {"_p_f_q_const__p_void_r_q_const__SbSphere__int", "int (*)(void *const,SbSphere const &)|SbBool (*)(void *const,SbSphere const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp = {"_p_f_q_const__p_void_r_q_const__SbSphere__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int = {"_p_f_q_const__p_void_r_q_const__SbVec3f__int", "int (*)(void *const,SbVec3f const &)|SbBool (*)(void *const,SbVec3f const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp = {"_p_f_q_const__p_void_r_q_const__SbVec3f__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbName_float_int_p_void__int = {"_p_f_r_q_const__SbName_float_int_p_void__int", "SoDB::ProgressCallbackType *|int (*)(SbName const &,float,int,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbName_float_int_p_void__intp = {"_p_f_r_q_const__SbName_float_int_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void = {"_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void", "void *(*)(SbStringList const &,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int = {"_p_f_r_q_const__SbString_p_SbImage_p_void__int", "SbImageScheduleReadCB *|SbImageReadImageCB *|int (*)(SbString const &,SbImage *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp = {"_p_f_r_q_const__SbString_p_SbImage_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void", "void (*)(SbString const &,void *,SoVRMLAnchor *)|SoVRMLAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int", "VRMLPrequalifyFileCallback *|int (*)(SbString const &,void *,SoVRMLImageTexture *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void", "void (*)(SbString const &,void *,SoVRMLInline *)|SoVRMLInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void", "void (*)(SbString const &,void *,SoWWWAnchor *)|SoWWWAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void", "void (*)(SbString const &,void *,SoWWWInline *)|SoWWWInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void = {"_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void", "SbClipCallback *|void *(*)(SbVec3f const &,void *,SbVec3f const &,void *,SbVec3f const &,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void = {"_p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void", "void (*)(char const *const &,SoVertexAttributeData *const &,void *)|SoVertexAttributeElement::AttributeApplyFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_uint32_t_p_void__void = {"_p_f_uint32_t_p_void__void", "void (*)(uint32_t,void *)|SoContextHandler::ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_void__p_void = {"_p_f_void__p_void", "SoType::instantiationMethod|void *(*)(void)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_floatp = {"_p_floatp", "floatp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "SbBool *|int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int16_t = {"_p_int16_t", "int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int8_t = {"_p_int8_t", "int8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_intp = {"_p_intp", "intp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_longp = {"_p_longp", "longp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_open_func = {"_p_open_func", "open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbName = {"_p_p_SbName", "SbName **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbString = {"_p_p_SbString", "SbString **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbVec2f = {"_p_p_SbVec2f", "SbVec2f **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoBase = {"_p_p_SoBase", "SoBase **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoClipPlane = {"_p_p_SoClipPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMapCoordinate = {"_p_p_SoBumpMapCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCoordinate = {"_p_p_SoVRMLCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTextureCoordinate = {"_p_p_SoVRMLTextureCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCombine = {"_p_p_SoTextureCombine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLightKit = {"_p_p_SoLightKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedTriangleStripSet = {"_p_p_SoIndexedTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTriangleStripSet = {"_p_p_SoTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter4f = {"_p_p_SoShaderParameter4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLExtrusion = {"_p_p_SoVRMLExtrusion", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOnOff = {"_p_p_SoOnOff", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexAttribute = {"_p_p_SoVertexAttribute", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBaseKit = {"_p_p_SoBaseKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter4i = {"_p_p_SoShaderParameter4i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoExtSelection = {"_p_p_SoExtSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSelection = {"_p_p_SoSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexProperty = {"_p_p_SoVertexProperty", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotationXYZ = {"_p_p_SoRotationXYZ", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComplexity = {"_p_p_SoComplexity", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBillboard = {"_p_p_SoVRMLBillboard", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray3f = {"_p_p_SoShaderParameterArray3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLightModel = {"_p_p_SoLightModel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray3i = {"_p_p_SoShaderParameterArray3i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoUnits = {"_p_p_SoUnits", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShapeKit = {"_p_p_SoShapeKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotation = {"_p_p_SoRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAnnotation = {"_p_p_SoAnnotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeRotation = {"_p_p_SoComposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeRotation = {"_p_p_SoDecomposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateRotation = {"_p_p_SoInterpolateRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsSurface = {"_p_p_SoNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedNurbsSurface = {"_p_p_SoIndexedNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfile = {"_p_p_SoProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLinearProfile = {"_p_p_SoLinearProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsProfile = {"_p_p_SoNurbsProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFieldConverter = {"_p_p_SoFieldConverter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLParent = {"_p_p_SoVRMLParent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec2f = {"_p_p_SoInterpolateVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLLight = {"_p_p_SoVRMLLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoClipPlaneManip = {"_p_p_SoClipPlaneManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDepthBuffer = {"_p_p_SoDepthBuffer", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAsciiText = {"_p_p_SoAsciiText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLGeometry = {"_p_p_SoVRMLGeometry", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterMatrixArray = {"_p_p_SoShaderParameterMatrixArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCylinder = {"_p_p_SoCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateCylinder = {"_p_p_SoTextureCoordinateCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCylinder = {"_p_p_SoVRMLCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNavigationInfo = {"_p_p_SoVRMLNavigationInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComputeBoundingBox = {"_p_p_SoComputeBoundingBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMatrixTransform = {"_p_p_SoMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMapTransform = {"_p_p_SoBumpMapTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransform = {"_p_p_SoTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoResetTransform = {"_p_p_SoResetTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture2Transform = {"_p_p_SoTexture2Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture3Transform = {"_p_p_SoTexture3Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureMatrixTransform = {"_p_p_SoTextureMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTextureTransform = {"_p_p_SoVRMLTextureTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTransform = {"_p_p_SoVRMLTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec3f = {"_p_p_SoComposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec3f = {"_p_p_SoDecomposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSeparatorKit = {"_p_p_SoSeparatorKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexLine = {"_p_p_SoVRMLVertexLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFullPath = {"_p_p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLight = {"_p_p_SoLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSound = {"_p_p_SoVRMLSound", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeEngine = {"_p_p_SoNodeEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedPointSet = {"_p_p_SoIndexedPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointSet = {"_p_p_SoPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPointSet = {"_p_p_SoVRMLPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMaterial = {"_p_p_SoMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLMaterial = {"_p_p_SoVRMLMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBaseColor = {"_p_p_SoBaseColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTriggerAny = {"_p_p_SoTriggerAny", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoColorIndex = {"_p_p_SoColorIndex", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLColor = {"_p_p_SoVRMLColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLWorldInfo = {"_p_p_SoVRMLWorldInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLight = {"_p_p_SoSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSpotLight = {"_p_p_SoVRMLSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateDefault = {"_p_p_SoTextureCoordinateDefault", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBlinker = {"_p_p_SoBlinker", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShuttle = {"_p_p_SoShuttle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLGroup = {"_p_p_SoVRMLGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray4f = {"_p_p_SoShaderParameterArray4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderObject = {"_p_p_SoShaderObject", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAnchor = {"_p_p_SoVRMLAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSensor = {"_p_p_SoVRMLSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCylinderSensor = {"_p_p_SoVRMLCylinderSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTouchSensor = {"_p_p_SoVRMLTouchSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBoolOperation = {"_p_p_SoBoolOperation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMarkerSet = {"_p_p_SoMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedMarkerSet = {"_p_p_SoIndexedMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray4i = {"_p_p_SoShaderParameterArray4i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLightManip = {"_p_p_SoSpotLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLightManip = {"_p_p_SoPointLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLightManip = {"_p_p_SoDirectionalLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedNurbsCurve = {"_p_p_SoIndexedNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsCurve = {"_p_p_SoNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedShape = {"_p_p_SoIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNonIndexedShape = {"_p_p_SoNonIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedShape = {"_p_p_SoVRMLIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotor = {"_p_p_SoRotor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateCube = {"_p_p_SoTextureCoordinateCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLText = {"_p_p_SoVRMLText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOneShot = {"_p_p_SoOneShot", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformerManip = {"_p_p_SoTransformerManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec3f = {"_p_p_SoInterpolateVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateFloat = {"_p_p_SoInterpolateFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAntiSquish = {"_p_p_SoAntiSquish", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGroup = {"_p_p_SoGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMultipleCopy = {"_p_p_SoMultipleCopy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoListener = {"_p_p_SoListener", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec4f = {"_p_p_SoComposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec4f = {"_p_p_SoDecomposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture2Convert = {"_p_p_SoTexture2Convert", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformation = {"_p_p_SoTransformation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFontStyle = {"_p_p_SoFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLFontStyle = {"_p_p_SoVRMLFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoImage = {"_p_p_SoImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFieldContainer = {"_p_p_SoFieldContainer", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAppearance = {"_p_p_SoVRMLAppearance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCubeMap = {"_p_p_SoTextureCubeMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSceneTextureCubeMap = {"_p_p_SoSceneTextureCubeMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLight = {"_p_p_SoPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPointLight = {"_p_p_SoVRMLPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformManip = {"_p_p_SoTransformManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPolygonOffset = {"_p_p_SoPolygonOffset", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBackground = {"_p_p_SoVRMLBackground", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWWWAnchor = {"_p_p_SoWWWAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEventCallback = {"_p_p_SoEventCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCallback = {"_p_p_SoCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateObject = {"_p_p_SoTextureCoordinateObject", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLDragSensor = {"_p_p_SoVRMLDragSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPlaneSensor = {"_p_p_SoVRMLPlaneSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLProximitySensor = {"_p_p_SoVRMLProximitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSphereSensor = {"_p_p_SoVRMLSphereSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTimeSensor = {"_p_p_SoVRMLTimeSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVisibilitySensor = {"_p_p_SoVRMLVisibilitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoJackManip = {"_p_p_SoJackManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFrustumCamera = {"_p_p_SoFrustumCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOrthographicCamera = {"_p_p_SoOrthographicCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPerspectiveCamera = {"_p_p_SoPerspectiveCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCamera = {"_p_p_SoCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCameraKit = {"_p_p_SoCameraKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoArray = {"_p_p_SoArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter1f = {"_p_p_SoShaderParameter1f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoElapsedTime = {"_p_p_SoElapsedTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSphere = {"_p_p_SoVRMLSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateEnvironment = {"_p_p_SoTextureCoordinateEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEnvironment = {"_p_p_SoEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSelectOne = {"_p_p_SoSelectOne", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDrawStyle = {"_p_p_SoDrawStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter1i = {"_p_p_SoShaderParameter1i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBox = {"_p_p_SoVRMLBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoHeightMapToNormalMap = {"_p_p_SoHeightMapToNormalMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateNormalMap = {"_p_p_SoTextureCoordinateNormalMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransparencyType = {"_p_p_SoTransparencyType", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLFog = {"_p_p_SoVRMLFog", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec4f = {"_p_p_SoInterpolateVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoConcatenate = {"_p_p_SoConcatenate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSurroundScale = {"_p_p_SoSurroundScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexShape = {"_p_p_SoVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexShape = {"_p_p_SoVRMLVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCone = {"_p_p_SoCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureUnit = {"_p_p_SoTextureUnit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTempPath = {"_p_p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFile = {"_p_p_SoFile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAppearanceKit = {"_p_p_SoAppearanceKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateSphericalDragger = {"_p_p_SoRotateSphericalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateDiscDragger = {"_p_p_SoRotateDiscDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateCylindricalDragger = {"_p_p_SoRotateCylindricalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLightDragger = {"_p_p_SoPointLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoJackDragger = {"_p_p_SoJackDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoHandleBoxDragger = {"_p_p_SoHandleBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDragPointDragger = {"_p_p_SoDragPointDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLightDragger = {"_p_p_SoDirectionalLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCenterballDragger = {"_p_p_SoCenterballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDragger = {"_p_p_SoDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale1Dragger = {"_p_p_SoScale1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale2Dragger = {"_p_p_SoScale2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale2UniformDragger = {"_p_p_SoScale2UniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScaleUniformDragger = {"_p_p_SoScaleUniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLightDragger = {"_p_p_SoSpotLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabBoxDragger = {"_p_p_SoTabBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabPlaneDragger = {"_p_p_SoTabPlaneDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTrackballDragger = {"_p_p_SoTrackballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformBoxDragger = {"_p_p_SoTransformBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformerDragger = {"_p_p_SoTransformerDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslate1Dragger = {"_p_p_SoTranslate1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslate2Dragger = {"_p_p_SoTranslate2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPickStyle = {"_p_p_SoPickStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLInterpolator = {"_p_p_SoVRMLInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLColorInterpolator = {"_p_p_SoVRMLColorInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCoordinateInterpolator = {"_p_p_SoVRMLCoordinateInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNormalInterpolator = {"_p_p_SoVRMLNormalInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLOrientationInterpolator = {"_p_p_SoVRMLOrientationInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPositionInterpolator = {"_p_p_SoVRMLPositionInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLScalarInterpolator = {"_p_p_SoVRMLScalarInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCone = {"_p_p_SoVRMLCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedLine = {"_p_p_SoVRMLIndexedLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderProgram = {"_p_p_SoShaderProgram", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture = {"_p_p_SoTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCacheHint = {"_p_p_SoCacheHint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTexture = {"_p_p_SoVRMLTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLImageTexture = {"_p_p_SoVRMLImageTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLMovieTexture = {"_p_p_SoVRMLMovieTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPixelTexture = {"_p_p_SoVRMLPixelTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformVec3f = {"_p_p_SoTransformVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateFunction = {"_p_p_SoTextureCoordinateFunction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeKitListPart = {"_p_p_SoNodeKitListPart", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSphere = {"_p_p_SoSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateSphere = {"_p_p_SoTextureCoordinateSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSceneKit = {"_p_p_SoSceneKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPendulum = {"_p_p_SoPendulum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFragmentShader = {"_p_p_SoFragmentShader", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexShader = {"_p_p_SoVertexShader", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShapeHints = {"_p_p_SoShapeHints", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture2 = {"_p_p_SoTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSceneTexture2 = {"_p_p_SoSceneTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture3 = {"_p_p_SoTexture3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter2f = {"_p_p_SoShaderParameter2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinatePlane = {"_p_p_SoTextureCoordinatePlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterMatrix = {"_p_p_SoShaderParameterMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateReflectionMap = {"_p_p_SoTextureCoordinateReflectionMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAudioClip = {"_p_p_SoVRMLAudioClip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTimeCounter = {"_p_p_SoTimeCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCounter = {"_p_p_SoCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoQuadMesh = {"_p_p_SoQuadMesh", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPathSwitch = {"_p_p_SoPathSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter2i = {"_p_p_SoShaderParameter2i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSwitch = {"_p_p_SoVRMLSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoText2 = {"_p_p_SoText2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSeparator = {"_p_p_SoSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoText3 = {"_p_p_SoText3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformSeparator = {"_p_p_SoTransformSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray1f = {"_p_p_SoShaderParameterArray1f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInteractionKit = {"_p_p_SoInteractionKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMap = {"_p_p_SoBumpMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfileCoordinate2 = {"_p_p_SoProfileCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinate2 = {"_p_p_SoTextureCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNormal = {"_p_p_SoVRMLNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCoordinate3 = {"_p_p_SoCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfileCoordinate3 = {"_p_p_SoProfileCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinate3 = {"_p_p_SoTextureCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCoordinate4 = {"_p_p_SoCoordinate4", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray1i = {"_p_p_SoShaderParameterArray1i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLLOD = {"_p_p_SoVRMLLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFont = {"_p_p_SoFont", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeRotationFromTo = {"_p_p_SoComposeRotationFromTo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLocateHighlight = {"_p_p_SoLocateHighlight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLElevationGrid = {"_p_p_SoVRMLElevationGrid", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLShape = {"_p_p_SoVRMLShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexPoint = {"_p_p_SoVRMLVertexPoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLViewpoint = {"_p_p_SoVRMLViewpoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateBinding = {"_p_p_SoTextureCoordinateBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMaterialBinding = {"_p_p_SoMaterialBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNormalBinding = {"_p_p_SoNormalBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexAttributeBinding = {"_p_p_SoVertexAttributeBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolate = {"_p_p_SoInterpolate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformBoxManip = {"_p_p_SoTransformBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabBoxManip = {"_p_p_SoTabBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoHandleBoxManip = {"_p_p_SoHandleBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCollision = {"_p_p_SoVRMLCollision", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPackedColor = {"_p_p_SoPackedColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeMatrix = {"_p_p_SoComposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeMatrix = {"_p_p_SoDecomposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeKitPath = {"_p_p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSwitch = {"_p_p_SoSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedFaceSet = {"_p_p_SoIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFaceSet = {"_p_p_SoFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslation = {"_p_p_SoTranslation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedFaceSet = {"_p_p_SoVRMLIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShape = {"_p_p_SoShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureScalePolicy = {"_p_p_SoTextureScalePolicy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLScript = {"_p_p_SoVRMLScript", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNormal = {"_p_p_SoNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter3f = {"_p_p_SoShaderParameter3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLInline = {"_p_p_SoVRMLInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCalculator = {"_p_p_SoCalculator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter3i = {"_p_p_SoShaderParameter3i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCube = {"_p_p_SoCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWrapperKit = {"_p_p_SoWrapperKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGate = {"_p_p_SoGate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray2f = {"_p_p_SoShaderParameterArray2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale = {"_p_p_SoScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameterArray2i = {"_p_p_SoShaderParameterArray2i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLineSet = {"_p_p_SoLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedLineSet = {"_p_p_SoIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLabel = {"_p_p_SoLabel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedLineSet = {"_p_p_SoVRMLIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProtoInstance = {"_p_p_SoProtoInstance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInfo = {"_p_p_SoInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderParameter = {"_p_p_SoShaderParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoUniformShaderParameter = {"_p_p_SoUniformShaderParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShaderStateMatrixParameter = {"_p_p_SoShaderStateMatrixParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec2f = {"_p_p_SoDecomposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec2f = {"_p_p_SoComposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLight = {"_p_p_SoDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLDirectionalLight = {"_p_p_SoVRMLDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProto = {"_p_p_SoProto", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCenterballManip = {"_p_p_SoCenterballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTrackballManip = {"_p_p_SoTrackballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWWWInline = {"_p_p_SoWWWInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLOD = {"_p_p_SoLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLevelOfDetail = {"_p_p_SoLevelOfDetail", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEngine = {"_p_p_SoEngine", "SoEngine **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoEngineOutput = {"_p_p_SoEngineOutput", "SoEngineOutput **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoField = {"_p_p_SoField", "SoField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoSFImage3 = {"_p_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFShort = {"_p_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFShort = {"_p_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFInt32 = {"_p_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFInt32 = {"_p_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUShort = {"_p_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUShort = {"_p_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4ub = {"_p_p_SoSFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4ub = {"_p_p_SoMFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUInt32 = {"_p_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUInt32 = {"_p_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2d = {"_p_p_SoSFBox2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4b = {"_p_p_SoSFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4b = {"_p_p_SoMFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2f = {"_p_p_SoSFBox2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4d = {"_p_p_SoSFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4d = {"_p_p_SoMFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4f = {"_p_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4f = {"_p_p_SoMFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFMatrix = {"_p_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFMatrix = {"_p_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTime = {"_p_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4us = {"_p_p_SoSFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4us = {"_p_p_SoMFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4i32 = {"_p_p_SoSFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4i32 = {"_p_p_SoMFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPath = {"_p_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2s = {"_p_p_SoSFBox2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2b = {"_p_p_SoSFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2b = {"_p_p_SoMFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3i32 = {"_p_p_SoSFBox3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2d = {"_p_p_SoMFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2d = {"_p_p_SoSFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFDouble = {"_p_p_SoMFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFDouble = {"_p_p_SoSFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4s = {"_p_p_SoSFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4s = {"_p_p_SoMFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBitMask = {"_p_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBitMask = {"_p_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFRotation = {"_p_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFRotation = {"_p_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2f = {"_p_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2f = {"_p_p_SoMFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFTime = {"_p_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPath = {"_p_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEngine = {"_p_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEngine = {"_p_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSField = {"_p_p_SoSField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3i32 = {"_p_p_SoSFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3i32 = {"_p_p_SoMFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTrigger = {"_p_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3d = {"_p_p_SoSFBox3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColorRGBA = {"_p_p_SoMFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColorRGBA = {"_p_p_SoSFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2s = {"_p_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2s = {"_p_p_SoMFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2i32 = {"_p_p_SoSFBox2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPlane = {"_p_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPlane = {"_p_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3f = {"_p_p_SoSFBox3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColor = {"_p_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColor = {"_p_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEnum = {"_p_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFNode = {"_p_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2i32 = {"_p_p_SoMFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2i32 = {"_p_p_SoSFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage = {"_p_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3s = {"_p_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3b = {"_p_p_SoMFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3b = {"_p_p_SoSFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3d = {"_p_p_SoMFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3d = {"_p_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEnum = {"_p_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3f = {"_p_p_SoMFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3f = {"_p_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFNode = {"_p_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFFloat = {"_p_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBool = {"_p_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFFloat = {"_p_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFString = {"_p_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFString = {"_p_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFName = {"_p_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBool = {"_p_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3s = {"_p_p_SoMFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3s = {"_p_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4ui32 = {"_p_p_SoMFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFName = {"_p_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4ui32 = {"_p_p_SoSFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGLRenderAction = {"_p_p_SoGLRenderAction", "SoGLRenderAction **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoBoxHighlightRenderAction = {"_p_p_SoBoxHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLineHighlightRenderAction = {"_p_p_SoLineHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMField = {"_p_p_SoMField", "SoMField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoNode = {"_p_p_SoNode", "SoNode **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoPath = {"_p_p_SoPath", "SoPath **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_charp = {"_p_p_charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_f_p_SoAction_p_SoNode__void = {"_p_p_f_p_SoAction_p_SoNode__void", "void (**)(SoAction *,SoNode *)|SoActionMethod *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_f_p_void__SoGLRenderAction__AbortCode = {"_p_p_f_p_void__SoGLRenderAction__AbortCode", "enum SoGLRenderAction::AbortCode (**)(void *)|SoGLRenderAction::SoGLRenderAbortCB **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_f_p_void_p_SoInput__void = {"_p_p_f_p_void_p_SoInput__void", "SoDBHeaderCB **|void (**)(void *,SoInput *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_float = {"_p_p_float", "float **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_floatp = {"_p_p_floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_int = {"_p_p_int", "int **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_intp = {"_p_p_intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_unsigned_char = {"_p_p_unsigned_char", "unsigned char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_read_func = {"_p_read_func", "read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_seek_func = {"_p_seek_func", "seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_tell_func = {"_p_tell_func", "tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_timeval = {"_p_timeval", "timeval *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uint16_t = {"_p_uint16_t", "uint16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uint8_t = {"_p_uint8_t", "uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uintptr_t = {"_p_uintptr_t", "uintptr_t *|SbDictKeyType *|SbDict::Key *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; - -static swig_type_info *swig_type_initial[] = { - &_swigt__p_AttributeApplyFunc, - &_swigt__p_ContextDestructionCB, - &_swigt__p_FILE, - &_swigt__p_Key, - &_swigt__p_ProgressCallbackType, - &_swigt__p_SbBSPTree, - &_swigt__p_SbBarrier, - &_swigt__p_SbBox2d, - &_swigt__p_SbBox2f, - &_swigt__p_SbBox2i32, - &_swigt__p_SbBox2s, - &_swigt__p_SbBox3d, - &_swigt__p_SbBox3f, - &_swigt__p_SbBox3i32, - &_swigt__p_SbBox3s, - &_swigt__p_SbClip, - &_swigt__p_SbColor, - &_swigt__p_SbColor4f, - &_swigt__p_SbCondVar, - &_swigt__p_SbCylinder, - &_swigt__p_SbCylinderPlaneProjector, - &_swigt__p_SbCylinderProjector, - &_swigt__p_SbCylinderSectionProjector, - &_swigt__p_SbCylinderSheetProjector, - &_swigt__p_SbDPLine, - &_swigt__p_SbDPMatrix, - &_swigt__p_SbDPPlane, - &_swigt__p_SbDPRotation, - &_swigt__p_SbDPViewVolume, - &_swigt__p_SbDict, - &_swigt__p_SbDictApplyDataFunc, - &_swigt__p_SbDictApplyFunc, - &_swigt__p_SbDictHashingFunc, - &_swigt__p_SbFifo, - &_swigt__p_SbHeap, - &_swigt__p_SbHeapFuncs, - &_swigt__p_SbImage, - &_swigt__p_SbIntList, - &_swigt__p_SbLine, - &_swigt__p_SbLineProjector, - &_swigt__p_SbListT_SbName_t, - &_swigt__p_SbListT_SbString_t, - &_swigt__p_SbListT_int_t, - &_swigt__p_SbListT_void_p_t, - &_swigt__p_SbMatrix, - &_swigt__p_SbMutex, - &_swigt__p_SbName, - &_swigt__p_SbOctTree, - &_swigt__p_SbOctTreeFuncs, - &_swigt__p_SbPList, - &_swigt__p_SbPlane, - &_swigt__p_SbPlaneProjector, - &_swigt__p_SbProjector, - &_swigt__p_SbRWMutex, - &_swigt__p_SbRotation, - &_swigt__p_SbSphere, - &_swigt__p_SbSpherePlaneProjector, - &_swigt__p_SbSphereProjector, - &_swigt__p_SbSphereSectionProjector, - &_swigt__p_SbSphereSheetProjector, - &_swigt__p_SbStorage, - &_swigt__p_SbString, - &_swigt__p_SbStringList, - &_swigt__p_SbTesselator, - &_swigt__p_SbThread, - &_swigt__p_SbThreadAutoLock, - &_swigt__p_SbThreadMutex, - &_swigt__p_SbTime, - &_swigt__p_SbVec2b, - &_swigt__p_SbVec2d, - &_swigt__p_SbVec2f, - &_swigt__p_SbVec2i32, - &_swigt__p_SbVec2s, - &_swigt__p_SbVec2ub, - &_swigt__p_SbVec2ui32, - &_swigt__p_SbVec2us, - &_swigt__p_SbVec3b, - &_swigt__p_SbVec3d, - &_swigt__p_SbVec3f, - &_swigt__p_SbVec3fList, - &_swigt__p_SbVec3i32, - &_swigt__p_SbVec3s, - &_swigt__p_SbVec3ub, - &_swigt__p_SbVec3ui32, - &_swigt__p_SbVec3us, - &_swigt__p_SbVec4b, - &_swigt__p_SbVec4d, - &_swigt__p_SbVec4f, - &_swigt__p_SbVec4i32, - &_swigt__p_SbVec4s, - &_swigt__p_SbVec4ub, - &_swigt__p_SbVec4ui32, - &_swigt__p_SbVec4us, - &_swigt__p_SbViewVolume, - &_swigt__p_SbViewportRegion, - &_swigt__p_SbXfBox3f, - &_swigt__p_ScXML, - &_swigt__p_ScXMLDocument, - &_swigt__p_ScXMLEvent, - &_swigt__p_ScXMLInvoke, - &_swigt__p_ScXMLObject, - &_swigt__p_ScXMLStateMachine, - &_swigt__p_SoAccumulatedElement, - &_swigt__p_SoAction, - &_swigt__p_SoActionMethodList, - &_swigt__p_SoAlarmSensor, - &_swigt__p_SoAmbientColorElement, - &_swigt__p_SoAnnoText3CharOrientElement, - &_swigt__p_SoAnnoText3FontSizeHintElement, - &_swigt__p_SoAnnoText3RenderPrintElement, - &_swigt__p_SoAnnotation, - &_swigt__p_SoAntiSquish, - &_swigt__p_SoAppearanceKit, - &_swigt__p_SoArray, - &_swigt__p_SoAsciiText, - &_swigt__p_SoAudioDevice, - &_swigt__p_SoAudioRenderAction, - &_swigt__p_SoAuditorList, - &_swigt__p_SoBBoxModelMatrixElement, - &_swigt__p_SoBase, - &_swigt__p_SoBaseColor, - &_swigt__p_SoBaseKit, - &_swigt__p_SoBaseList, - &_swigt__p_SoBlinker, - &_swigt__p_SoBoolOperation, - &_swigt__p_SoBoundingBoxCache, - &_swigt__p_SoBoxHighlightRenderAction, - &_swigt__p_SoBumpMap, - &_swigt__p_SoBumpMapCoordinate, - &_swigt__p_SoBumpMapCoordinateElement, - &_swigt__p_SoBumpMapElement, - &_swigt__p_SoBumpMapMatrixElement, - &_swigt__p_SoBumpMapTransform, - &_swigt__p_SoBundle, - &_swigt__p_SoButtonEvent, - &_swigt__p_SoByteStream, - &_swigt__p_SoCache, - &_swigt__p_SoCacheElement, - &_swigt__p_SoCacheHint, - &_swigt__p_SoCacheHintElement, - &_swigt__p_SoCalculator, - &_swigt__p_SoCallback, - &_swigt__p_SoCallbackAction, - &_swigt__p_SoCallbackActionCB, - &_swigt__p_SoCallbackList, - &_swigt__p_SoCamera, - &_swigt__p_SoCameraKit, - &_swigt__p_SoCenterballDragger, - &_swigt__p_SoCenterballManip, - &_swigt__p_SoChildList, - &_swigt__p_SoClipPlane, - &_swigt__p_SoClipPlaneElement, - &_swigt__p_SoClipPlaneManip, - &_swigt__p_SoColorIndex, - &_swigt__p_SoColorPacker, - &_swigt__p_SoComplexity, - &_swigt__p_SoComplexityElement, - &_swigt__p_SoComplexityTypeElement, - &_swigt__p_SoComposeMatrix, - &_swigt__p_SoComposeRotation, - &_swigt__p_SoComposeRotationFromTo, - &_swigt__p_SoComposeVec2f, - &_swigt__p_SoComposeVec3f, - &_swigt__p_SoComposeVec4f, - &_swigt__p_SoComputeBoundingBox, - &_swigt__p_SoConcatenate, - &_swigt__p_SoCone, - &_swigt__p_SoConeDetail, - &_swigt__p_SoContextHandler, - &_swigt__p_SoConvexDataCache, - &_swigt__p_SoCoordinate3, - &_swigt__p_SoCoordinate4, - &_swigt__p_SoCoordinateElement, - &_swigt__p_SoCounter, - &_swigt__p_SoCreaseAngleElement, - &_swigt__p_SoCube, - &_swigt__p_SoCubeDetail, - &_swigt__p_SoCullElement, - &_swigt__p_SoCylinder, - &_swigt__p_SoCylinderDetail, - &_swigt__p_SoDB, - &_swigt__p_SoDataSensor, - &_swigt__p_SoDebugError, - &_swigt__p_SoDecimationPercentageElement, - &_swigt__p_SoDecimationTypeElement, - &_swigt__p_SoDecomposeMatrix, - &_swigt__p_SoDecomposeRotation, - &_swigt__p_SoDecomposeVec2f, - &_swigt__p_SoDecomposeVec3f, - &_swigt__p_SoDecomposeVec4f, - &_swigt__p_SoDelayQueueSensor, - &_swigt__p_SoDepthBuffer, - &_swigt__p_SoDepthBufferElement, - &_swigt__p_SoDepthBufferElement__DepthWriteFunction, - &_swigt__p_SoDetail, - &_swigt__p_SoDetailList, - &_swigt__p_SoDiffuseColorElement, - &_swigt__p_SoDirectionalLight, - &_swigt__p_SoDirectionalLightDragger, - &_swigt__p_SoDirectionalLightManip, - &_swigt__p_SoDragPointDragger, - &_swigt__p_SoDragger, - &_swigt__p_SoDrawStyle, - &_swigt__p_SoDrawStyleElement, - &_swigt__p_SoElapsedTime, - &_swigt__p_SoElement, - &_swigt__p_SoEmissiveColorElement, - &_swigt__p_SoEnabledElementsList, - &_swigt__p_SoEngine, - &_swigt__p_SoEngineList, - &_swigt__p_SoEngineOutput, - &_swigt__p_SoEngineOutputData, - &_swigt__p_SoEngineOutputList, - &_swigt__p_SoEnvironment, - &_swigt__p_SoEnvironmentElement, - &_swigt__p_SoError, - &_swigt__p_SoEvent, - &_swigt__p_SoEventCallback, - &_swigt__p_SoEventManager, - &_swigt__p_SoExtSelection, - &_swigt__p_SoFaceDetail, - &_swigt__p_SoFaceSet, - &_swigt__p_SoField, - &_swigt__p_SoFieldContainer, - &_swigt__p_SoFieldConverter, - &_swigt__p_SoFieldData, - &_swigt__p_SoFieldList, - &_swigt__p_SoFieldSensor, - &_swigt__p_SoFile, - &_swigt__p_SoFloatElement, - &_swigt__p_SoFocalDistanceElement, - &_swigt__p_SoFont, - &_swigt__p_SoFontNameElement, - &_swigt__p_SoFontSizeElement, - &_swigt__p_SoFontStyle, - &_swigt__p_SoFragmentShader, - &_swigt__p_SoFrustumCamera, - &_swigt__p_SoFullPath, - &_swigt__p_SoGLBigImage, - &_swigt__p_SoGLCacheContextElement, - &_swigt__p_SoGLCacheList, - &_swigt__p_SoGLClipPlaneElement, - &_swigt__p_SoGLColorIndexElement, - &_swigt__p_SoGLCoordinateElement, - &_swigt__p_SoGLDepthBufferElement, - &_swigt__p_SoGLDisplayList, - &_swigt__p_SoGLDrawStyleElement, - &_swigt__p_SoGLEnvironmentElement, - &_swigt__p_SoGLImage, - &_swigt__p_SoGLImageResizeCB, - &_swigt__p_SoGLLazyElement, - &_swigt__p_SoGLLazyElement_GLState, - &_swigt__p_SoGLLazyElement__GLState, - &_swigt__p_SoGLLightIdElement, - &_swigt__p_SoGLLinePatternElement, - &_swigt__p_SoGLLineWidthElement, - &_swigt__p_SoGLModelMatrixElement, - &_swigt__p_SoGLMultiTextureCoordinateElement, - &_swigt__p_SoGLMultiTextureEnabledElement, - &_swigt__p_SoGLMultiTextureImageElement, - &_swigt__p_SoGLMultiTextureMatrixElement, - &_swigt__p_SoGLNormalElement, - &_swigt__p_SoGLPointSizeElement, - &_swigt__p_SoGLPolygonOffsetElement, - &_swigt__p_SoGLProjectionMatrixElement, - &_swigt__p_SoGLRenderAbortCB, - &_swigt__p_SoGLRenderAction, - &_swigt__p_SoGLRenderCache, - &_swigt__p_SoGLRenderPassElement, - &_swigt__p_SoGLShaderObject, - &_swigt__p_SoGLShapeHintsElement, - &_swigt__p_SoGLTexture3EnabledElement, - &_swigt__p_SoGLTextureCoordinateElement, - &_swigt__p_SoGLTextureEnabledElement, - &_swigt__p_SoGLTextureImageElement, - &_swigt__p_SoGLTextureMatrixElement, - &_swigt__p_SoGLUpdateAreaElement, - &_swigt__p_SoGLVBOElement, - &_swigt__p_SoGLVertexAttributeElement, - &_swigt__p_SoGLViewingMatrixElement, - &_swigt__p_SoGLViewportRegionElement, - &_swigt__p_SoGate, - &_swigt__p_SoGetBoundingBoxAction, - &_swigt__p_SoGetMatrixAction, - &_swigt__p_SoGetPrimitiveCountAction, - &_swigt__p_SoGlyph, - &_swigt__p_SoGroup, - &_swigt__p_SoHandleBoxDragger, - &_swigt__p_SoHandleBoxManip, - &_swigt__p_SoHandleEventAction, - &_swigt__p_SoHardCopy, - &_swigt__p_SoHeightMapToNormalMap, - &_swigt__p_SoIdleSensor, - &_swigt__p_SoImage, - &_swigt__p_SoIndexedFaceSet, - &_swigt__p_SoIndexedLineSet, - &_swigt__p_SoIndexedMarkerSet, - &_swigt__p_SoIndexedNurbsCurve, - &_swigt__p_SoIndexedNurbsSurface, - &_swigt__p_SoIndexedPointSet, - &_swigt__p_SoIndexedShape, - &_swigt__p_SoIndexedTriangleStripSet, - &_swigt__p_SoInfo, - &_swigt__p_SoInput, - &_swigt__p_SoInt32Element, - &_swigt__p_SoInteraction, - &_swigt__p_SoInteractionKit, - &_swigt__p_SoInterpolate, - &_swigt__p_SoInterpolateFloat, - &_swigt__p_SoInterpolateRotation, - &_swigt__p_SoInterpolateVec2f, - &_swigt__p_SoInterpolateVec3f, - &_swigt__p_SoInterpolateVec4f, - &_swigt__p_SoIntersectingPrimitive, - &_swigt__p_SoIntersectionCB, - &_swigt__p_SoIntersectionDetectionAction, - &_swigt__p_SoIntersectionFilterCB, - &_swigt__p_SoIntersectionVisitationCB, - &_swigt__p_SoJackDragger, - &_swigt__p_SoJackManip, - &_swigt__p_SoKeyboardEvent, - &_swigt__p_SoLOD, - &_swigt__p_SoLabel, - &_swigt__p_SoLazyElement, - &_swigt__p_SoLevelOfDetail, - &_swigt__p_SoLight, - &_swigt__p_SoLightAttenuationElement, - &_swigt__p_SoLightElement, - &_swigt__p_SoLightKit, - &_swigt__p_SoLightModel, - &_swigt__p_SoLightModelElement, - &_swigt__p_SoLightPath, - &_swigt__p_SoLineDetail, - &_swigt__p_SoLineHighlightRenderAction, - &_swigt__p_SoLinePatternElement, - &_swigt__p_SoLineSet, - &_swigt__p_SoLineWidthElement, - &_swigt__p_SoLinearProfile, - &_swigt__p_SoListener, - &_swigt__p_SoListenerDopplerElement, - &_swigt__p_SoListenerGainElement, - &_swigt__p_SoListenerOrientationElement, - &_swigt__p_SoListenerPositionElement, - &_swigt__p_SoLocalBBoxMatrixElement, - &_swigt__p_SoLocateHighlight, - &_swigt__p_SoLocation2Event, - &_swigt__p_SoLockManager, - &_swigt__p_SoMFBitMask, - &_swigt__p_SoMFBool, - &_swigt__p_SoMFColor, - &_swigt__p_SoMFColorRGBA, - &_swigt__p_SoMFDouble, - &_swigt__p_SoMFEngine, - &_swigt__p_SoMFEnum, - &_swigt__p_SoMFFloat, - &_swigt__p_SoMFInt32, - &_swigt__p_SoMFMatrix, - &_swigt__p_SoMFName, - &_swigt__p_SoMFNode, - &_swigt__p_SoMFPath, - &_swigt__p_SoMFPlane, - &_swigt__p_SoMFRotation, - &_swigt__p_SoMFShort, - &_swigt__p_SoMFString, - &_swigt__p_SoMFTime, - &_swigt__p_SoMFUInt32, - &_swigt__p_SoMFUShort, - &_swigt__p_SoMFVec2b, - &_swigt__p_SoMFVec2d, - &_swigt__p_SoMFVec2f, - &_swigt__p_SoMFVec2i32, - &_swigt__p_SoMFVec2s, - &_swigt__p_SoMFVec3b, - &_swigt__p_SoMFVec3d, - &_swigt__p_SoMFVec3f, - &_swigt__p_SoMFVec3i32, - &_swigt__p_SoMFVec3s, - &_swigt__p_SoMFVec4b, - &_swigt__p_SoMFVec4d, - &_swigt__p_SoMFVec4f, - &_swigt__p_SoMFVec4i32, - &_swigt__p_SoMFVec4s, - &_swigt__p_SoMFVec4ub, - &_swigt__p_SoMFVec4ui32, - &_swigt__p_SoMFVec4us, - &_swigt__p_SoMField, - &_swigt__p_SoMarkerSet, - &_swigt__p_SoMaterial, - &_swigt__p_SoMaterialBinding, - &_swigt__p_SoMaterialBindingElement, - &_swigt__p_SoMaterialBundle, - &_swigt__p_SoMatrixTransform, - &_swigt__p_SoMemoryError, - &_swigt__p_SoModelMatrixElement, - &_swigt__p_SoMotion3Event, - &_swigt__p_SoMouseButtonEvent, - &_swigt__p_SoMultiTextureCoordinateElement, - &_swigt__p_SoMultiTextureEnabledElement, - &_swigt__p_SoMultiTextureEnabledElement__Mode, - &_swigt__p_SoMultiTextureImageElement, - &_swigt__p_SoMultiTextureMatrixElement, - &_swigt__p_SoMultipleCopy, - &_swigt__p_SoNode, - &_swigt__p_SoNodeEngine, - &_swigt__p_SoNodeKit, - &_swigt__p_SoNodeKitDetail, - &_swigt__p_SoNodeKitListPart, - &_swigt__p_SoNodeKitPath, - &_swigt__p_SoNodeList, - &_swigt__p_SoNodeSensor, - &_swigt__p_SoNodekitCatalog, - &_swigt__p_SoNonIndexedShape, - &_swigt__p_SoNormal, - &_swigt__p_SoNormalBinding, - &_swigt__p_SoNormalBindingElement, - &_swigt__p_SoNormalBundle, - &_swigt__p_SoNormalCache, - &_swigt__p_SoNormalElement, - &_swigt__p_SoNormalGenerator, - &_swigt__p_SoNotList, - &_swigt__p_SoNotRec, - &_swigt__p_SoNurbsCurve, - &_swigt__p_SoNurbsProfile, - &_swigt__p_SoNurbsSurface, - &_swigt__p_SoOffscreenRenderer, - &_swigt__p_SoOnOff, - &_swigt__p_SoOneShot, - &_swigt__p_SoOneShotSensor, - &_swigt__p_SoOrthographicCamera, - &_swigt__p_SoOutput, - &_swigt__p_SoOverrideElement, - &_swigt__p_SoPSVectorOutput, - &_swigt__p_SoPackedColor, - &_swigt__p_SoPath, - &_swigt__p_SoPathList, - &_swigt__p_SoPathSensor, - &_swigt__p_SoPathSwitch, - &_swigt__p_SoPendulum, - &_swigt__p_SoPerspectiveCamera, - &_swigt__p_SoPickAction, - &_swigt__p_SoPickRayElement, - &_swigt__p_SoPickStyle, - &_swigt__p_SoPickStyleElement, - &_swigt__p_SoPickedPoint, - &_swigt__p_SoPickedPointList, - &_swigt__p_SoPointDetail, - &_swigt__p_SoPointLight, - &_swigt__p_SoPointLightDragger, - &_swigt__p_SoPointLightManip, - &_swigt__p_SoPointSet, - &_swigt__p_SoPointSizeElement, - &_swigt__p_SoPolygonOffset, - &_swigt__p_SoPolygonOffsetElement, - &_swigt__p_SoPolygonOffsetElement__Style, - &_swigt__p_SoPrimitiveVertex, - &_swigt__p_SoProfile, - &_swigt__p_SoProfileCoordinate2, - &_swigt__p_SoProfileCoordinate3, - &_swigt__p_SoProfileCoordinateElement, - &_swigt__p_SoProfileElement, - &_swigt__p_SoProjectionMatrixElement, - &_swigt__p_SoProto, - &_swigt__p_SoProtoInstance, - &_swigt__p_SoQuadMesh, - &_swigt__p_SoRayPickAction, - &_swigt__p_SoReadError, - &_swigt__p_SoRenderManager, - &_swigt__p_SoRenderManager__Superimposition, - &_swigt__p_SoReorganizeAction, - &_swigt__p_SoReplacedElement, - &_swigt__p_SoResetTransform, - &_swigt__p_SoRotateCylindricalDragger, - &_swigt__p_SoRotateDiscDragger, - &_swigt__p_SoRotateSphericalDragger, - &_swigt__p_SoRotation, - &_swigt__p_SoRotationXYZ, - &_swigt__p_SoRotor, - &_swigt__p_SoSFBitMask, - &_swigt__p_SoSFBool, - &_swigt__p_SoSFBox2d, - &_swigt__p_SoSFBox2f, - &_swigt__p_SoSFBox2i32, - &_swigt__p_SoSFBox2s, - &_swigt__p_SoSFBox3d, - &_swigt__p_SoSFBox3f, - &_swigt__p_SoSFBox3i32, - &_swigt__p_SoSFBox3s, - &_swigt__p_SoSFColor, - &_swigt__p_SoSFColorRGBA, - &_swigt__p_SoSFDouble, - &_swigt__p_SoSFEngine, - &_swigt__p_SoSFEnum, - &_swigt__p_SoSFFloat, - &_swigt__p_SoSFImage, - &_swigt__p_SoSFImage3, - &_swigt__p_SoSFInt32, - &_swigt__p_SoSFMatrix, - &_swigt__p_SoSFName, - &_swigt__p_SoSFNode, - &_swigt__p_SoSFPath, - &_swigt__p_SoSFPlane, - &_swigt__p_SoSFRotation, - &_swigt__p_SoSFShort, - &_swigt__p_SoSFString, - &_swigt__p_SoSFTime, - &_swigt__p_SoSFTrigger, - &_swigt__p_SoSFUInt32, - &_swigt__p_SoSFUShort, - &_swigt__p_SoSFVec2b, - &_swigt__p_SoSFVec2d, - &_swigt__p_SoSFVec2f, - &_swigt__p_SoSFVec2i32, - &_swigt__p_SoSFVec2s, - &_swigt__p_SoSFVec3b, - &_swigt__p_SoSFVec3d, - &_swigt__p_SoSFVec3f, - &_swigt__p_SoSFVec3i32, - &_swigt__p_SoSFVec3s, - &_swigt__p_SoSFVec4b, - &_swigt__p_SoSFVec4d, - &_swigt__p_SoSFVec4f, - &_swigt__p_SoSFVec4i32, - &_swigt__p_SoSFVec4s, - &_swigt__p_SoSFVec4ub, - &_swigt__p_SoSFVec4ui32, - &_swigt__p_SoSFVec4us, - &_swigt__p_SoSField, - &_swigt__p_SoScXMLEvent, - &_swigt__p_SoScXMLStateMachine, - &_swigt__p_SoScale, - &_swigt__p_SoScale1Dragger, - &_swigt__p_SoScale2Dragger, - &_swigt__p_SoScale2UniformDragger, - &_swigt__p_SoScaleUniformDragger, - &_swigt__p_SoSceneKit, - &_swigt__p_SoSceneManager, - &_swigt__p_SoSceneTexture2, - &_swigt__p_SoSceneTextureCubeMap, - &_swigt__p_SoSearchAction, - &_swigt__p_SoSelectOne, - &_swigt__p_SoSelection, - &_swigt__p_SoSensor, - &_swigt__p_SoSensorManager, - &_swigt__p_SoSeparator, - &_swigt__p_SoSeparatorKit, - &_swigt__p_SoShaderObject, - &_swigt__p_SoShaderParameter, - &_swigt__p_SoShaderParameter1f, - &_swigt__p_SoShaderParameter1i, - &_swigt__p_SoShaderParameter2f, - &_swigt__p_SoShaderParameter2i, - &_swigt__p_SoShaderParameter3f, - &_swigt__p_SoShaderParameter3i, - &_swigt__p_SoShaderParameter4f, - &_swigt__p_SoShaderParameter4i, - &_swigt__p_SoShaderParameterArray1f, - &_swigt__p_SoShaderParameterArray1i, - &_swigt__p_SoShaderParameterArray2f, - &_swigt__p_SoShaderParameterArray2i, - &_swigt__p_SoShaderParameterArray3f, - &_swigt__p_SoShaderParameterArray3i, - &_swigt__p_SoShaderParameterArray4f, - &_swigt__p_SoShaderParameterArray4i, - &_swigt__p_SoShaderParameterMatrix, - &_swigt__p_SoShaderParameterMatrixArray, - &_swigt__p_SoShaderProgram, - &_swigt__p_SoShaderStateMatrixParameter, - &_swigt__p_SoShape, - &_swigt__p_SoShapeHints, - &_swigt__p_SoShapeHintsElement, - &_swigt__p_SoShapeHintsElement__FaceType, - &_swigt__p_SoShapeHintsElement__ShapeType, - &_swigt__p_SoShapeHintsElement__VertexOrdering, - &_swigt__p_SoShapeKit, - &_swigt__p_SoShapeStyleElement, - &_swigt__p_SoShininessElement, - &_swigt__p_SoShuttle, - &_swigt__p_SoSimplifier, - &_swigt__p_SoSimplifyAction, - &_swigt__p_SoSoundElement, - &_swigt__p_SoSpaceballButtonEvent, - &_swigt__p_SoSpecularColorElement, - &_swigt__p_SoSphere, - &_swigt__p_SoSpotLight, - &_swigt__p_SoSpotLightDragger, - &_swigt__p_SoSpotLightManip, - &_swigt__p_SoState, - &_swigt__p_SoSurroundScale, - &_swigt__p_SoSwitch, - &_swigt__p_SoSwitchElement, - &_swigt__p_SoTabBoxDragger, - &_swigt__p_SoTabBoxManip, - &_swigt__p_SoTabPlaneDragger, - &_swigt__p_SoTempPath, - &_swigt__p_SoText2, - &_swigt__p_SoText3, - &_swigt__p_SoTextDetail, - &_swigt__p_SoTextOutlineEnabledElement, - &_swigt__p_SoTexture, - &_swigt__p_SoTexture2, - &_swigt__p_SoTexture2Convert, - &_swigt__p_SoTexture2Transform, - &_swigt__p_SoTexture3, - &_swigt__p_SoTexture3EnabledElement, - &_swigt__p_SoTexture3Transform, - &_swigt__p_SoTextureCombine, - &_swigt__p_SoTextureCombineElement, - &_swigt__p_SoTextureCombineElement__Operand, - &_swigt__p_SoTextureCombineElement__Operation, - &_swigt__p_SoTextureCombineElement__Source, - &_swigt__p_SoTextureCoordinate2, - &_swigt__p_SoTextureCoordinate3, - &_swigt__p_SoTextureCoordinateBinding, - &_swigt__p_SoTextureCoordinateBindingElement, - &_swigt__p_SoTextureCoordinateBundle, - &_swigt__p_SoTextureCoordinateCache, - &_swigt__p_SoTextureCoordinateCube, - &_swigt__p_SoTextureCoordinateCylinder, - &_swigt__p_SoTextureCoordinateDefault, - &_swigt__p_SoTextureCoordinateElement, - &_swigt__p_SoTextureCoordinateEnvironment, - &_swigt__p_SoTextureCoordinateFunction, - &_swigt__p_SoTextureCoordinateNormalMap, - &_swigt__p_SoTextureCoordinateObject, - &_swigt__p_SoTextureCoordinatePlane, - &_swigt__p_SoTextureCoordinateReflectionMap, - &_swigt__p_SoTextureCoordinateSphere, - &_swigt__p_SoTextureCubeMap, - &_swigt__p_SoTextureEnabledElement, - &_swigt__p_SoTextureImageElement, - &_swigt__p_SoTextureImageElement__Model, - &_swigt__p_SoTextureImageElement__Wrap, - &_swigt__p_SoTextureMatrixElement, - &_swigt__p_SoTextureMatrixTransform, - &_swigt__p_SoTextureOverrideElement, - &_swigt__p_SoTextureQualityElement, - &_swigt__p_SoTextureScalePolicy, - &_swigt__p_SoTextureUnit, - &_swigt__p_SoTextureUnitElement, - &_swigt__p_SoTimeCounter, - &_swigt__p_SoTimerQueueSensor, - &_swigt__p_SoTimerSensor, - &_swigt__p_SoToVRML2Action, - &_swigt__p_SoToVRMLAction, - &_swigt__p_SoTrackballDragger, - &_swigt__p_SoTrackballManip, - &_swigt__p_SoTranReceiver, - &_swigt__p_SoTranSender, - &_swigt__p_SoTransform, - &_swigt__p_SoTransformBoxDragger, - &_swigt__p_SoTransformBoxManip, - &_swigt__p_SoTransformManip, - &_swigt__p_SoTransformSeparator, - &_swigt__p_SoTransformVec3f, - &_swigt__p_SoTransformation, - &_swigt__p_SoTransformerDragger, - &_swigt__p_SoTransformerManip, - &_swigt__p_SoTranslate1Dragger, - &_swigt__p_SoTranslate2Dragger, - &_swigt__p_SoTranslation, - &_swigt__p_SoTransparencyElement, - &_swigt__p_SoTransparencyType, - &_swigt__p_SoTriangleStripSet, - &_swigt__p_SoTriggerAny, - &_swigt__p_SoType, - &_swigt__p_SoTypeList, - &_swigt__p_SoUniformShaderParameter, - &_swigt__p_SoUnits, - &_swigt__p_SoUnitsElement, - &_swigt__p_SoVBO, - &_swigt__p_SoVRMLAnchor, - &_swigt__p_SoVRMLAppearance, - &_swigt__p_SoVRMLAudioClip, - &_swigt__p_SoVRMLBackground, - &_swigt__p_SoVRMLBillboard, - &_swigt__p_SoVRMLBox, - &_swigt__p_SoVRMLCollision, - &_swigt__p_SoVRMLColor, - &_swigt__p_SoVRMLColorInterpolator, - &_swigt__p_SoVRMLCone, - &_swigt__p_SoVRMLCoordinate, - &_swigt__p_SoVRMLCoordinateInterpolator, - &_swigt__p_SoVRMLCylinder, - &_swigt__p_SoVRMLCylinderSensor, - &_swigt__p_SoVRMLDirectionalLight, - &_swigt__p_SoVRMLDragSensor, - &_swigt__p_SoVRMLElevationGrid, - &_swigt__p_SoVRMLExtrusion, - &_swigt__p_SoVRMLFog, - &_swigt__p_SoVRMLFontStyle, - &_swigt__p_SoVRMLGeometry, - &_swigt__p_SoVRMLGroup, - &_swigt__p_SoVRMLImageTexture, - &_swigt__p_SoVRMLIndexedFaceSet, - &_swigt__p_SoVRMLIndexedLine, - &_swigt__p_SoVRMLIndexedLineSet, - &_swigt__p_SoVRMLIndexedShape, - &_swigt__p_SoVRMLInline, - &_swigt__p_SoVRMLInterpolator, - &_swigt__p_SoVRMLLOD, - &_swigt__p_SoVRMLLight, - &_swigt__p_SoVRMLMaterial, - &_swigt__p_SoVRMLMovieTexture, - &_swigt__p_SoVRMLNavigationInfo, - &_swigt__p_SoVRMLNormal, - &_swigt__p_SoVRMLNormalInterpolator, - &_swigt__p_SoVRMLOrientationInterpolator, - &_swigt__p_SoVRMLParent, - &_swigt__p_SoVRMLPixelTexture, - &_swigt__p_SoVRMLPlaneSensor, - &_swigt__p_SoVRMLPointLight, - &_swigt__p_SoVRMLPointSet, - &_swigt__p_SoVRMLPositionInterpolator, - &_swigt__p_SoVRMLProximitySensor, - &_swigt__p_SoVRMLScalarInterpolator, - &_swigt__p_SoVRMLScript, - &_swigt__p_SoVRMLSensor, - &_swigt__p_SoVRMLShape, - &_swigt__p_SoVRMLSound, - &_swigt__p_SoVRMLSphere, - &_swigt__p_SoVRMLSphereSensor, - &_swigt__p_SoVRMLSpotLight, - &_swigt__p_SoVRMLSwitch, - &_swigt__p_SoVRMLText, - &_swigt__p_SoVRMLTexture, - &_swigt__p_SoVRMLTextureCoordinate, - &_swigt__p_SoVRMLTextureTransform, - &_swigt__p_SoVRMLTimeSensor, - &_swigt__p_SoVRMLTouchSensor, - &_swigt__p_SoVRMLTransform, - &_swigt__p_SoVRMLVertexLine, - &_swigt__p_SoVRMLVertexPoint, - &_swigt__p_SoVRMLVertexShape, - &_swigt__p_SoVRMLViewpoint, - &_swigt__p_SoVRMLVisibilitySensor, - &_swigt__p_SoVRMLWorldInfo, - &_swigt__p_SoVectorOutput, - &_swigt__p_SoVectorizeAction, - &_swigt__p_SoVectorizePSAction, - &_swigt__p_SoVertexAttribute, - &_swigt__p_SoVertexAttributeBinding, - &_swigt__p_SoVertexAttributeBindingElement, - &_swigt__p_SoVertexAttributeData, - &_swigt__p_SoVertexAttributeElement, - &_swigt__p_SoVertexProperty, - &_swigt__p_SoVertexShader, - &_swigt__p_SoVertexShape, - &_swigt__p_SoViewVolumeElement, - &_swigt__p_SoViewingMatrixElement, - &_swigt__p_SoViewportRegionElement, - &_swigt__p_SoWWWAnchor, - &_swigt__p_SoWWWInline, - &_swigt__p_SoWindowElement, - &_swigt__p_SoWrapperKit, - &_swigt__p_SoWriteAction, - &_swigt__p_a_2__double, - &_swigt__p_a_2__doublep, - &_swigt__p_a_2__int32_t, - &_swigt__p_a_2__int8_t, - &_swigt__p_a_2__short, - &_swigt__p_a_3__int32_t, - &_swigt__p_a_3__int8_t, - &_swigt__p_a_3__short, - &_swigt__p_a_4__a_4__double, - &_swigt__p_a_4__a_4__doublep, - &_swigt__p_a_4__a_4__float, - &_swigt__p_a_4__a_4__floatp, - &_swigt__p_a_4__double, - &_swigt__p_a_4__doublep, - &_swigt__p_a_4__float, - &_swigt__p_a_4__floatp, - &_swigt__p_a_4__int32_t, - &_swigt__p_a_4__int8_t, - &_swigt__p_a_4__short, - &_swigt__p_a_4__uint32_t, - &_swigt__p_a_4__uint8_t, - &_swigt__p_a_4__unsigned_short, - &_swigt__p_cc_glglue, - &_swigt__p_cc_storage_f, - &_swigt__p_char, - &_swigt__p_charp, - &_swigt__p_close_func, - &_swigt__p_double, - &_swigt__p_doublep, - &_swigt__p_f_char__char, - &_swigt__p_f_char__charp, - &_swigt__p_f_float_p_void__int, - &_swigt__p_f_float_p_void__intp, - &_swigt__p_f_p_SoAction_p_SoNode__void, - &_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - &_swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int, - &_swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp, - &_swigt__p_f_p_q_const__SoError_p_void__void, - &_swigt__p_f_p_void__SoGLRenderAction__AbortCode, - &_swigt__p_f_p_void__float, - &_swigt__p_f_p_void__floatp, - &_swigt__p_f_p_void__int, - &_swigt__p_f_p_void__intp, - &_swigt__p_f_p_void__p_void, - &_swigt__p_f_p_void__void, - &_swigt__p_f_p_void_int__void, - &_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, - &_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, - &_swigt__p_f_p_void_p_ScXMLStateMachine__void, - &_swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, - &_swigt__p_f_p_void_p_SoAction__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoDragger__void, - &_swigt__p_f_p_void_p_SoEventCallback__void, - &_swigt__p_f_p_void_p_SoGLRenderAction__float, - &_swigt__p_f_p_void_p_SoGLRenderAction__floatp, - &_swigt__p_f_p_void_p_SoGLRenderAction__void, - &_swigt__p_f_p_void_p_SoInput__void, - &_swigt__p_f_p_void_p_SoPath__void, - &_swigt__p_f_p_void_p_SoRenderManager__void, - &_swigt__p_f_p_void_p_SoSceneManager__void, - &_swigt__p_f_p_void_p_SoSelection__void, - &_swigt__p_f_p_void_p_SoSensor__void, - &_swigt__p_f_p_void_p_SoState_q_const__int__void, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, - &_swigt__p_f_p_void_p_SoVRMLScript__void, - &_swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, - &_swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - &_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, - &_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - &_swigt__p_f_p_void_p_void__int, - &_swigt__p_f_p_void_p_void__intp, - &_swigt__p_f_p_void_p_void__void, - &_swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, - &_swigt__p_f_p_void_p_void_p_void_p_void__void, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - &_swigt__p_f_p_void_size_t__p_void, - &_swigt__p_f_p_void_uint32_t__void, - &_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, - &_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, - &_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, - &_swigt__p_f_q_const__p_void_r_q_const__SbSphere__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, - &_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, - &_swigt__p_f_r_q_const__SbName_float_int_p_void__int, - &_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, - &_swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - &_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - &_swigt__p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void, - &_swigt__p_f_uint32_t_p_void__void, - &_swigt__p_f_void__p_void, - &_swigt__p_float, - &_swigt__p_floatp, - &_swigt__p_int, - &_swigt__p_int16_t, - &_swigt__p_int32_t, - &_swigt__p_int8_t, - &_swigt__p_intp, - &_swigt__p_long, - &_swigt__p_longp, - &_swigt__p_open_func, - &_swigt__p_p_SbName, - &_swigt__p_p_SbString, - &_swigt__p_p_SbVec2f, - &_swigt__p_p_SoAnnotation, - &_swigt__p_p_SoAntiSquish, - &_swigt__p_p_SoAppearanceKit, - &_swigt__p_p_SoArray, - &_swigt__p_p_SoAsciiText, - &_swigt__p_p_SoBase, - &_swigt__p_p_SoBaseColor, - &_swigt__p_p_SoBaseKit, - &_swigt__p_p_SoBlinker, - &_swigt__p_p_SoBoolOperation, - &_swigt__p_p_SoBoxHighlightRenderAction, - &_swigt__p_p_SoBumpMap, - &_swigt__p_p_SoBumpMapCoordinate, - &_swigt__p_p_SoBumpMapTransform, - &_swigt__p_p_SoCacheHint, - &_swigt__p_p_SoCalculator, - &_swigt__p_p_SoCallback, - &_swigt__p_p_SoCamera, - &_swigt__p_p_SoCameraKit, - &_swigt__p_p_SoCenterballDragger, - &_swigt__p_p_SoCenterballManip, - &_swigt__p_p_SoClipPlane, - &_swigt__p_p_SoClipPlaneManip, - &_swigt__p_p_SoColorIndex, - &_swigt__p_p_SoComplexity, - &_swigt__p_p_SoComposeMatrix, - &_swigt__p_p_SoComposeRotation, - &_swigt__p_p_SoComposeRotationFromTo, - &_swigt__p_p_SoComposeVec2f, - &_swigt__p_p_SoComposeVec3f, - &_swigt__p_p_SoComposeVec4f, - &_swigt__p_p_SoComputeBoundingBox, - &_swigt__p_p_SoConcatenate, - &_swigt__p_p_SoCone, - &_swigt__p_p_SoCoordinate3, - &_swigt__p_p_SoCoordinate4, - &_swigt__p_p_SoCounter, - &_swigt__p_p_SoCube, - &_swigt__p_p_SoCylinder, - &_swigt__p_p_SoDecomposeMatrix, - &_swigt__p_p_SoDecomposeRotation, - &_swigt__p_p_SoDecomposeVec2f, - &_swigt__p_p_SoDecomposeVec3f, - &_swigt__p_p_SoDecomposeVec4f, - &_swigt__p_p_SoDepthBuffer, - &_swigt__p_p_SoDirectionalLight, - &_swigt__p_p_SoDirectionalLightDragger, - &_swigt__p_p_SoDirectionalLightManip, - &_swigt__p_p_SoDragPointDragger, - &_swigt__p_p_SoDragger, - &_swigt__p_p_SoDrawStyle, - &_swigt__p_p_SoElapsedTime, - &_swigt__p_p_SoEngine, - &_swigt__p_p_SoEngineOutput, - &_swigt__p_p_SoEnvironment, - &_swigt__p_p_SoEventCallback, - &_swigt__p_p_SoExtSelection, - &_swigt__p_p_SoFaceSet, - &_swigt__p_p_SoField, - &_swigt__p_p_SoFieldContainer, - &_swigt__p_p_SoFieldConverter, - &_swigt__p_p_SoFile, - &_swigt__p_p_SoFont, - &_swigt__p_p_SoFontStyle, - &_swigt__p_p_SoFragmentShader, - &_swigt__p_p_SoFrustumCamera, - &_swigt__p_p_SoFullPath, - &_swigt__p_p_SoGLRenderAction, - &_swigt__p_p_SoGate, - &_swigt__p_p_SoGroup, - &_swigt__p_p_SoHandleBoxDragger, - &_swigt__p_p_SoHandleBoxManip, - &_swigt__p_p_SoHeightMapToNormalMap, - &_swigt__p_p_SoImage, - &_swigt__p_p_SoIndexedFaceSet, - &_swigt__p_p_SoIndexedLineSet, - &_swigt__p_p_SoIndexedMarkerSet, - &_swigt__p_p_SoIndexedNurbsCurve, - &_swigt__p_p_SoIndexedNurbsSurface, - &_swigt__p_p_SoIndexedPointSet, - &_swigt__p_p_SoIndexedShape, - &_swigt__p_p_SoIndexedTriangleStripSet, - &_swigt__p_p_SoInfo, - &_swigt__p_p_SoInteractionKit, - &_swigt__p_p_SoInterpolate, - &_swigt__p_p_SoInterpolateFloat, - &_swigt__p_p_SoInterpolateRotation, - &_swigt__p_p_SoInterpolateVec2f, - &_swigt__p_p_SoInterpolateVec3f, - &_swigt__p_p_SoInterpolateVec4f, - &_swigt__p_p_SoJackDragger, - &_swigt__p_p_SoJackManip, - &_swigt__p_p_SoLOD, - &_swigt__p_p_SoLabel, - &_swigt__p_p_SoLevelOfDetail, - &_swigt__p_p_SoLight, - &_swigt__p_p_SoLightKit, - &_swigt__p_p_SoLightModel, - &_swigt__p_p_SoLineHighlightRenderAction, - &_swigt__p_p_SoLineSet, - &_swigt__p_p_SoLinearProfile, - &_swigt__p_p_SoListener, - &_swigt__p_p_SoLocateHighlight, - &_swigt__p_p_SoMFBitMask, - &_swigt__p_p_SoMFBool, - &_swigt__p_p_SoMFColor, - &_swigt__p_p_SoMFColorRGBA, - &_swigt__p_p_SoMFDouble, - &_swigt__p_p_SoMFEngine, - &_swigt__p_p_SoMFEnum, - &_swigt__p_p_SoMFFloat, - &_swigt__p_p_SoMFInt32, - &_swigt__p_p_SoMFMatrix, - &_swigt__p_p_SoMFName, - &_swigt__p_p_SoMFNode, - &_swigt__p_p_SoMFPath, - &_swigt__p_p_SoMFPlane, - &_swigt__p_p_SoMFRotation, - &_swigt__p_p_SoMFShort, - &_swigt__p_p_SoMFString, - &_swigt__p_p_SoMFTime, - &_swigt__p_p_SoMFUInt32, - &_swigt__p_p_SoMFUShort, - &_swigt__p_p_SoMFVec2b, - &_swigt__p_p_SoMFVec2d, - &_swigt__p_p_SoMFVec2f, - &_swigt__p_p_SoMFVec2i32, - &_swigt__p_p_SoMFVec2s, - &_swigt__p_p_SoMFVec3b, - &_swigt__p_p_SoMFVec3d, - &_swigt__p_p_SoMFVec3f, - &_swigt__p_p_SoMFVec3i32, - &_swigt__p_p_SoMFVec3s, - &_swigt__p_p_SoMFVec4b, - &_swigt__p_p_SoMFVec4d, - &_swigt__p_p_SoMFVec4f, - &_swigt__p_p_SoMFVec4i32, - &_swigt__p_p_SoMFVec4s, - &_swigt__p_p_SoMFVec4ub, - &_swigt__p_p_SoMFVec4ui32, - &_swigt__p_p_SoMFVec4us, - &_swigt__p_p_SoMField, - &_swigt__p_p_SoMarkerSet, - &_swigt__p_p_SoMaterial, - &_swigt__p_p_SoMaterialBinding, - &_swigt__p_p_SoMatrixTransform, - &_swigt__p_p_SoMultipleCopy, - &_swigt__p_p_SoNode, - &_swigt__p_p_SoNodeEngine, - &_swigt__p_p_SoNodeKitListPart, - &_swigt__p_p_SoNodeKitPath, - &_swigt__p_p_SoNonIndexedShape, - &_swigt__p_p_SoNormal, - &_swigt__p_p_SoNormalBinding, - &_swigt__p_p_SoNurbsCurve, - &_swigt__p_p_SoNurbsProfile, - &_swigt__p_p_SoNurbsSurface, - &_swigt__p_p_SoOnOff, - &_swigt__p_p_SoOneShot, - &_swigt__p_p_SoOrthographicCamera, - &_swigt__p_p_SoPackedColor, - &_swigt__p_p_SoPath, - &_swigt__p_p_SoPathSwitch, - &_swigt__p_p_SoPendulum, - &_swigt__p_p_SoPerspectiveCamera, - &_swigt__p_p_SoPickStyle, - &_swigt__p_p_SoPointLight, - &_swigt__p_p_SoPointLightDragger, - &_swigt__p_p_SoPointLightManip, - &_swigt__p_p_SoPointSet, - &_swigt__p_p_SoPolygonOffset, - &_swigt__p_p_SoProfile, - &_swigt__p_p_SoProfileCoordinate2, - &_swigt__p_p_SoProfileCoordinate3, - &_swigt__p_p_SoProto, - &_swigt__p_p_SoProtoInstance, - &_swigt__p_p_SoQuadMesh, - &_swigt__p_p_SoResetTransform, - &_swigt__p_p_SoRotateCylindricalDragger, - &_swigt__p_p_SoRotateDiscDragger, - &_swigt__p_p_SoRotateSphericalDragger, - &_swigt__p_p_SoRotation, - &_swigt__p_p_SoRotationXYZ, - &_swigt__p_p_SoRotor, - &_swigt__p_p_SoSFBitMask, - &_swigt__p_p_SoSFBool, - &_swigt__p_p_SoSFBox2d, - &_swigt__p_p_SoSFBox2f, - &_swigt__p_p_SoSFBox2i32, - &_swigt__p_p_SoSFBox2s, - &_swigt__p_p_SoSFBox3d, - &_swigt__p_p_SoSFBox3f, - &_swigt__p_p_SoSFBox3i32, - &_swigt__p_p_SoSFBox3s, - &_swigt__p_p_SoSFColor, - &_swigt__p_p_SoSFColorRGBA, - &_swigt__p_p_SoSFDouble, - &_swigt__p_p_SoSFEngine, - &_swigt__p_p_SoSFEnum, - &_swigt__p_p_SoSFFloat, - &_swigt__p_p_SoSFImage, - &_swigt__p_p_SoSFImage3, - &_swigt__p_p_SoSFInt32, - &_swigt__p_p_SoSFMatrix, - &_swigt__p_p_SoSFName, - &_swigt__p_p_SoSFNode, - &_swigt__p_p_SoSFPath, - &_swigt__p_p_SoSFPlane, - &_swigt__p_p_SoSFRotation, - &_swigt__p_p_SoSFShort, - &_swigt__p_p_SoSFString, - &_swigt__p_p_SoSFTime, - &_swigt__p_p_SoSFTrigger, - &_swigt__p_p_SoSFUInt32, - &_swigt__p_p_SoSFUShort, - &_swigt__p_p_SoSFVec2b, - &_swigt__p_p_SoSFVec2d, - &_swigt__p_p_SoSFVec2f, - &_swigt__p_p_SoSFVec2i32, - &_swigt__p_p_SoSFVec2s, - &_swigt__p_p_SoSFVec3b, - &_swigt__p_p_SoSFVec3d, - &_swigt__p_p_SoSFVec3f, - &_swigt__p_p_SoSFVec3i32, - &_swigt__p_p_SoSFVec3s, - &_swigt__p_p_SoSFVec4b, - &_swigt__p_p_SoSFVec4d, - &_swigt__p_p_SoSFVec4f, - &_swigt__p_p_SoSFVec4i32, - &_swigt__p_p_SoSFVec4s, - &_swigt__p_p_SoSFVec4ub, - &_swigt__p_p_SoSFVec4ui32, - &_swigt__p_p_SoSFVec4us, - &_swigt__p_p_SoSField, - &_swigt__p_p_SoScale, - &_swigt__p_p_SoScale1Dragger, - &_swigt__p_p_SoScale2Dragger, - &_swigt__p_p_SoScale2UniformDragger, - &_swigt__p_p_SoScaleUniformDragger, - &_swigt__p_p_SoSceneKit, - &_swigt__p_p_SoSceneTexture2, - &_swigt__p_p_SoSceneTextureCubeMap, - &_swigt__p_p_SoSelectOne, - &_swigt__p_p_SoSelection, - &_swigt__p_p_SoSeparator, - &_swigt__p_p_SoSeparatorKit, - &_swigt__p_p_SoShaderObject, - &_swigt__p_p_SoShaderParameter, - &_swigt__p_p_SoShaderParameter1f, - &_swigt__p_p_SoShaderParameter1i, - &_swigt__p_p_SoShaderParameter2f, - &_swigt__p_p_SoShaderParameter2i, - &_swigt__p_p_SoShaderParameter3f, - &_swigt__p_p_SoShaderParameter3i, - &_swigt__p_p_SoShaderParameter4f, - &_swigt__p_p_SoShaderParameter4i, - &_swigt__p_p_SoShaderParameterArray1f, - &_swigt__p_p_SoShaderParameterArray1i, - &_swigt__p_p_SoShaderParameterArray2f, - &_swigt__p_p_SoShaderParameterArray2i, - &_swigt__p_p_SoShaderParameterArray3f, - &_swigt__p_p_SoShaderParameterArray3i, - &_swigt__p_p_SoShaderParameterArray4f, - &_swigt__p_p_SoShaderParameterArray4i, - &_swigt__p_p_SoShaderParameterMatrix, - &_swigt__p_p_SoShaderParameterMatrixArray, - &_swigt__p_p_SoShaderProgram, - &_swigt__p_p_SoShaderStateMatrixParameter, - &_swigt__p_p_SoShape, - &_swigt__p_p_SoShapeHints, - &_swigt__p_p_SoShapeKit, - &_swigt__p_p_SoShuttle, - &_swigt__p_p_SoSphere, - &_swigt__p_p_SoSpotLight, - &_swigt__p_p_SoSpotLightDragger, - &_swigt__p_p_SoSpotLightManip, - &_swigt__p_p_SoSurroundScale, - &_swigt__p_p_SoSwitch, - &_swigt__p_p_SoTabBoxDragger, - &_swigt__p_p_SoTabBoxManip, - &_swigt__p_p_SoTabPlaneDragger, - &_swigt__p_p_SoTempPath, - &_swigt__p_p_SoText2, - &_swigt__p_p_SoText3, - &_swigt__p_p_SoTexture, - &_swigt__p_p_SoTexture2, - &_swigt__p_p_SoTexture2Convert, - &_swigt__p_p_SoTexture2Transform, - &_swigt__p_p_SoTexture3, - &_swigt__p_p_SoTexture3Transform, - &_swigt__p_p_SoTextureCombine, - &_swigt__p_p_SoTextureCoordinate2, - &_swigt__p_p_SoTextureCoordinate3, - &_swigt__p_p_SoTextureCoordinateBinding, - &_swigt__p_p_SoTextureCoordinateCube, - &_swigt__p_p_SoTextureCoordinateCylinder, - &_swigt__p_p_SoTextureCoordinateDefault, - &_swigt__p_p_SoTextureCoordinateEnvironment, - &_swigt__p_p_SoTextureCoordinateFunction, - &_swigt__p_p_SoTextureCoordinateNormalMap, - &_swigt__p_p_SoTextureCoordinateObject, - &_swigt__p_p_SoTextureCoordinatePlane, - &_swigt__p_p_SoTextureCoordinateReflectionMap, - &_swigt__p_p_SoTextureCoordinateSphere, - &_swigt__p_p_SoTextureCubeMap, - &_swigt__p_p_SoTextureMatrixTransform, - &_swigt__p_p_SoTextureScalePolicy, - &_swigt__p_p_SoTextureUnit, - &_swigt__p_p_SoTimeCounter, - &_swigt__p_p_SoTrackballDragger, - &_swigt__p_p_SoTrackballManip, - &_swigt__p_p_SoTransform, - &_swigt__p_p_SoTransformBoxDragger, - &_swigt__p_p_SoTransformBoxManip, - &_swigt__p_p_SoTransformManip, - &_swigt__p_p_SoTransformSeparator, - &_swigt__p_p_SoTransformVec3f, - &_swigt__p_p_SoTransformation, - &_swigt__p_p_SoTransformerDragger, - &_swigt__p_p_SoTransformerManip, - &_swigt__p_p_SoTranslate1Dragger, - &_swigt__p_p_SoTranslate2Dragger, - &_swigt__p_p_SoTranslation, - &_swigt__p_p_SoTransparencyType, - &_swigt__p_p_SoTriangleStripSet, - &_swigt__p_p_SoTriggerAny, - &_swigt__p_p_SoUniformShaderParameter, - &_swigt__p_p_SoUnits, - &_swigt__p_p_SoVRMLAnchor, - &_swigt__p_p_SoVRMLAppearance, - &_swigt__p_p_SoVRMLAudioClip, - &_swigt__p_p_SoVRMLBackground, - &_swigt__p_p_SoVRMLBillboard, - &_swigt__p_p_SoVRMLBox, - &_swigt__p_p_SoVRMLCollision, - &_swigt__p_p_SoVRMLColor, - &_swigt__p_p_SoVRMLColorInterpolator, - &_swigt__p_p_SoVRMLCone, - &_swigt__p_p_SoVRMLCoordinate, - &_swigt__p_p_SoVRMLCoordinateInterpolator, - &_swigt__p_p_SoVRMLCylinder, - &_swigt__p_p_SoVRMLCylinderSensor, - &_swigt__p_p_SoVRMLDirectionalLight, - &_swigt__p_p_SoVRMLDragSensor, - &_swigt__p_p_SoVRMLElevationGrid, - &_swigt__p_p_SoVRMLExtrusion, - &_swigt__p_p_SoVRMLFog, - &_swigt__p_p_SoVRMLFontStyle, - &_swigt__p_p_SoVRMLGeometry, - &_swigt__p_p_SoVRMLGroup, - &_swigt__p_p_SoVRMLImageTexture, - &_swigt__p_p_SoVRMLIndexedFaceSet, - &_swigt__p_p_SoVRMLIndexedLine, - &_swigt__p_p_SoVRMLIndexedLineSet, - &_swigt__p_p_SoVRMLIndexedShape, - &_swigt__p_p_SoVRMLInline, - &_swigt__p_p_SoVRMLInterpolator, - &_swigt__p_p_SoVRMLLOD, - &_swigt__p_p_SoVRMLLight, - &_swigt__p_p_SoVRMLMaterial, - &_swigt__p_p_SoVRMLMovieTexture, - &_swigt__p_p_SoVRMLNavigationInfo, - &_swigt__p_p_SoVRMLNormal, - &_swigt__p_p_SoVRMLNormalInterpolator, - &_swigt__p_p_SoVRMLOrientationInterpolator, - &_swigt__p_p_SoVRMLParent, - &_swigt__p_p_SoVRMLPixelTexture, - &_swigt__p_p_SoVRMLPlaneSensor, - &_swigt__p_p_SoVRMLPointLight, - &_swigt__p_p_SoVRMLPointSet, - &_swigt__p_p_SoVRMLPositionInterpolator, - &_swigt__p_p_SoVRMLProximitySensor, - &_swigt__p_p_SoVRMLScalarInterpolator, - &_swigt__p_p_SoVRMLScript, - &_swigt__p_p_SoVRMLSensor, - &_swigt__p_p_SoVRMLShape, - &_swigt__p_p_SoVRMLSound, - &_swigt__p_p_SoVRMLSphere, - &_swigt__p_p_SoVRMLSphereSensor, - &_swigt__p_p_SoVRMLSpotLight, - &_swigt__p_p_SoVRMLSwitch, - &_swigt__p_p_SoVRMLText, - &_swigt__p_p_SoVRMLTexture, - &_swigt__p_p_SoVRMLTextureCoordinate, - &_swigt__p_p_SoVRMLTextureTransform, - &_swigt__p_p_SoVRMLTimeSensor, - &_swigt__p_p_SoVRMLTouchSensor, - &_swigt__p_p_SoVRMLTransform, - &_swigt__p_p_SoVRMLVertexLine, - &_swigt__p_p_SoVRMLVertexPoint, - &_swigt__p_p_SoVRMLVertexShape, - &_swigt__p_p_SoVRMLViewpoint, - &_swigt__p_p_SoVRMLVisibilitySensor, - &_swigt__p_p_SoVRMLWorldInfo, - &_swigt__p_p_SoVertexAttribute, - &_swigt__p_p_SoVertexAttributeBinding, - &_swigt__p_p_SoVertexProperty, - &_swigt__p_p_SoVertexShader, - &_swigt__p_p_SoVertexShape, - &_swigt__p_p_SoWWWAnchor, - &_swigt__p_p_SoWWWInline, - &_swigt__p_p_SoWrapperKit, - &_swigt__p_p_char, - &_swigt__p_p_charp, - &_swigt__p_p_f_p_SoAction_p_SoNode__void, - &_swigt__p_p_f_p_void__SoGLRenderAction__AbortCode, - &_swigt__p_p_f_p_void_p_SoInput__void, - &_swigt__p_p_float, - &_swigt__p_p_floatp, - &_swigt__p_p_int, - &_swigt__p_p_intp, - &_swigt__p_p_unsigned_char, - &_swigt__p_p_void, - &_swigt__p_read_func, - &_swigt__p_seek_func, - &_swigt__p_short, - &_swigt__p_size_t, - &_swigt__p_tell_func, - &_swigt__p_time_t, - &_swigt__p_timeval, - &_swigt__p_uint16_t, - &_swigt__p_uint32_t, - &_swigt__p_uint8_t, - &_swigt__p_uintptr_t, - &_swigt__p_unsigned_char, - &_swigt__p_unsigned_int, - &_swigt__p_unsigned_short, - &_swigt__p_void, -}; - -static swig_cast_info _swigc__p_AttributeApplyFunc[] = { {&_swigt__p_AttributeApplyFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ContextDestructionCB[] = { {&_swigt__p_ContextDestructionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_Key[] = { {&_swigt__p_Key, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProgressCallbackType[] = { {&_swigt__p_ProgressCallbackType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBSPTree[] = { {&_swigt__p_SbBSPTree, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBarrier[] = { {&_swigt__p_SbBarrier, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2d[] = { {&_swigt__p_SbBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2f[] = { {&_swigt__p_SbBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2i32[] = { {&_swigt__p_SbBox2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2s[] = { {&_swigt__p_SbBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3d[] = { {&_swigt__p_SbBox3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3f[] = { {&_swigt__p_SbBox3f, 0, 0, 0}, {&_swigt__p_SbXfBox3f, _p_SbXfBox3fTo_p_SbBox3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3i32[] = { {&_swigt__p_SbBox3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3s[] = { {&_swigt__p_SbBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbClip[] = { {&_swigt__p_SbClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor[] = { {&_swigt__p_SbColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor4f[] = { {&_swigt__p_SbColor4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCondVar[] = { {&_swigt__p_SbCondVar, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinder[] = { {&_swigt__p_SbCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderPlaneProjector[] = { {&_swigt__p_SbCylinderPlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderProjector[] = { {&_swigt__p_SbCylinderProjector, 0, 0, 0}, {&_swigt__p_SbCylinderSectionProjector, _p_SbCylinderSectionProjectorTo_p_SbCylinderProjector, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbCylinderProjector, 0, 0}, {&_swigt__p_SbCylinderSheetProjector, _p_SbCylinderSheetProjectorTo_p_SbCylinderProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderSectionProjector[] = { {&_swigt__p_SbCylinderSectionProjector, 0, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbCylinderSectionProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderSheetProjector[] = { {&_swigt__p_SbCylinderSheetProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPLine[] = { {&_swigt__p_SbDPLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPMatrix[] = { {&_swigt__p_SbDPMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPPlane[] = { {&_swigt__p_SbDPPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPRotation[] = { {&_swigt__p_SbDPRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPViewVolume[] = { {&_swigt__p_SbDPViewVolume, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDict[] = { {&_swigt__p_SbDict, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictApplyDataFunc[] = { {&_swigt__p_SbDictApplyDataFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictApplyFunc[] = { {&_swigt__p_SbDictApplyFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictHashingFunc[] = { {&_swigt__p_SbDictHashingFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbFifo[] = { {&_swigt__p_SbFifo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbHeap[] = { {&_swigt__p_SbHeap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbHeapFuncs[] = { {&_swigt__p_SbHeapFuncs, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbImage[] = { {&_swigt__p_SbImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbIntList[] = { {&_swigt__p_SbIntList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbLine[] = { {&_swigt__p_SbLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbLineProjector[] = { {&_swigt__p_SbLineProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListT_SbName_t[] = { {&_swigt__p_SbListT_SbName_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListT_SbString_t[] = { {&_swigt__p_SbListT_SbString_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListT_int_t[] = { {&_swigt__p_SbListT_int_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListT_void_p_t[] = { {&_swigt__p_SbListT_void_p_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMatrix[] = { {&_swigt__p_SbMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMutex[] = { {&_swigt__p_SbMutex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbName[] = { {&_swigt__p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbOctTree[] = { {&_swigt__p_SbOctTree, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbOctTreeFuncs[] = { {&_swigt__p_SbOctTreeFuncs, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPList[] = { {&_swigt__p_SoAuditorList, _p_SoAuditorListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPickedPointList, _p_SoPickedPointListTo_p_SbPList, 0, 0}, {&_swigt__p_SbIntList, _p_SbIntListTo_p_SbPList, 0, 0}, {&_swigt__p_SoTypeList, _p_SoTypeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbVec3fList, _p_SbVec3fListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SbPList, 0, 0}, {&_swigt__p_SoBaseList, _p_SoBaseListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineOutputList, _p_SoEngineOutputListTo_p_SbPList, 0, 0}, {&_swigt__p_SoFieldList, _p_SoFieldListTo_p_SbPList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SbPList, 0, 0}, {&_swigt__p_SbPList, 0, 0, 0}, {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbStringList, _p_SbStringListTo_p_SbPList, 0, 0}, {&_swigt__p_SoActionMethodList, _p_SoActionMethodListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SbPList, 0, 0}, {&_swigt__p_SoDetailList, _p_SoDetailListTo_p_SbPList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlane[] = { {&_swigt__p_SbPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlaneProjector[] = { {&_swigt__p_SbPlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbProjector[] = { {&_swigt__p_SbProjector, 0, 0, 0}, {&_swigt__p_SbCylinderProjector, _p_SbCylinderProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderSectionProjector, _p_SbCylinderSectionProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderSheetProjector, _p_SbCylinderSheetProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbLineProjector, _p_SbLineProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbPlaneProjector, _p_SbPlaneProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereProjector, _p_SbSphereProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereSheetProjector, _p_SbSphereSheetProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereSectionProjector, _p_SbSphereSectionProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRWMutex[] = { {&_swigt__p_SbRWMutex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRotation[] = { {&_swigt__p_SbRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphere[] = { {&_swigt__p_SbSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSpherePlaneProjector[] = { {&_swigt__p_SbSpherePlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereProjector[] = { {&_swigt__p_SbSphereProjector, 0, 0, 0}, {&_swigt__p_SbSphereSheetProjector, _p_SbSphereSheetProjectorTo_p_SbSphereProjector, 0, 0}, {&_swigt__p_SbSphereSectionProjector, _p_SbSphereSectionProjectorTo_p_SbSphereProjector, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbSphereProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereSectionProjector[] = { {&_swigt__p_SbSphereSectionProjector, 0, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbSphereSectionProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereSheetProjector[] = { {&_swigt__p_SbSphereSheetProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStorage[] = { {&_swigt__p_SbStorage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbString[] = { {&_swigt__p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStringList[] = { {&_swigt__p_SbStringList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTesselator[] = { {&_swigt__p_SbTesselator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbThread[] = { {&_swigt__p_SbThread, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbThreadAutoLock[] = { {&_swigt__p_SbThreadAutoLock, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbThreadMutex[] = { {&_swigt__p_SbThreadMutex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTime[] = { {&_swigt__p_SbTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2b[] = { {&_swigt__p_SbVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2d[] = { {&_swigt__p_SbVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2f[] = { {&_swigt__p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2i32[] = { {&_swigt__p_SbVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2s[] = { {&_swigt__p_SbVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2ub[] = { {&_swigt__p_SbVec2ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2ui32[] = { {&_swigt__p_SbVec2ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2us[] = { {&_swigt__p_SbVec2us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3b[] = { {&_swigt__p_SbVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3d[] = { {&_swigt__p_SbVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3f[] = { {&_swigt__p_SbVec3f, 0, 0, 0}, {&_swigt__p_SbColor, _p_SbColorTo_p_SbVec3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3fList[] = { {&_swigt__p_SbVec3fList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3i32[] = { {&_swigt__p_SbVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3s[] = { {&_swigt__p_SbVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3ub[] = { {&_swigt__p_SbVec3ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3ui32[] = { {&_swigt__p_SbVec3ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3us[] = { {&_swigt__p_SbVec3us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4b[] = { {&_swigt__p_SbVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4d[] = { {&_swigt__p_SbVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4f[] = { {&_swigt__p_SbVec4f, 0, 0, 0}, {&_swigt__p_SbColor4f, _p_SbColor4fTo_p_SbVec4f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4i32[] = { {&_swigt__p_SbVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4s[] = { {&_swigt__p_SbVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4ub[] = { {&_swigt__p_SbVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4ui32[] = { {&_swigt__p_SbVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4us[] = { {&_swigt__p_SbVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewVolume[] = { {&_swigt__p_SbViewVolume, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewportRegion[] = { {&_swigt__p_SbViewportRegion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbXfBox3f[] = { {&_swigt__p_SbXfBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXML[] = { {&_swigt__p_ScXML, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXMLDocument[] = { {&_swigt__p_ScXMLDocument, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXMLEvent[] = { {&_swigt__p_ScXMLEvent, 0, 0, 0}, {&_swigt__p_SoScXMLEvent, _p_SoScXMLEventTo_p_ScXMLEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXMLInvoke[] = { {&_swigt__p_ScXMLInvoke, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXMLObject[] = { {&_swigt__p_ScXMLStateMachine, _p_ScXMLStateMachineTo_p_ScXMLObject, 0, 0}, {&_swigt__p_SoScXMLStateMachine, _p_SoScXMLStateMachineTo_p_ScXMLObject, 0, 0}, {&_swigt__p_ScXMLEvent, _p_ScXMLEventTo_p_ScXMLObject, 0, 0}, {&_swigt__p_SoScXMLEvent, _p_SoScXMLEventTo_p_ScXMLObject, 0, 0}, {&_swigt__p_ScXMLObject, 0, 0, 0}, {&_swigt__p_ScXMLInvoke, _p_ScXMLInvokeTo_p_ScXMLObject, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ScXMLStateMachine[] = { {&_swigt__p_ScXMLStateMachine, 0, 0, 0}, {&_swigt__p_SoScXMLStateMachine, _p_SoScXMLStateMachineTo_p_ScXMLStateMachine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAccumulatedElement[] = { {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoMultiTextureMatrixElement, _p_SoMultiTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLVertexAttributeElement, _p_SoGLVertexAttributeElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoVertexAttributeElement, _p_SoVertexAttributeElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoTextureMatrixElement, _p_SoTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoProfileElement, _p_SoProfileElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoLightElement, _p_SoLightElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoClipPlaneElement, _p_SoClipPlaneElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoBumpMapMatrixElement, _p_SoBumpMapMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoAccumulatedElement, 0, 0, 0}, {&_swigt__p_SoModelMatrixElement, _p_SoModelMatrixElementTo_p_SoAccumulatedElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAction[] = { {&_swigt__p_SoWriteAction, _p_SoWriteActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoReorganizeAction, _p_SoReorganizeActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoSimplifyAction, _p_SoSimplifyActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoRayPickAction, _p_SoRayPickActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoPickAction, _p_SoPickActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoCallbackAction, _p_SoCallbackActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoVectorizeAction, _p_SoVectorizeActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoAction, 0, 0, 0}, {&_swigt__p_SoSearchAction, _p_SoSearchActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoHandleEventAction, _p_SoHandleEventActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetPrimitiveCountAction, _p_SoGetPrimitiveCountActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetMatrixAction, _p_SoGetMatrixActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetBoundingBoxAction, _p_SoGetBoundingBoxActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGLRenderAction, _p_SoGLRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoAudioRenderAction, _p_SoAudioRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoIntersectionDetectionAction, _p_SoIntersectionDetectionActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoToVRMLAction, _p_SoToVRMLActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoToVRML2Action, _p_SoToVRML2ActionTo_p_SoAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoActionMethodList[] = { {&_swigt__p_SoActionMethodList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAlarmSensor[] = { {&_swigt__p_SoAlarmSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAmbientColorElement[] = { {&_swigt__p_SoAmbientColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3CharOrientElement[] = { {&_swigt__p_SoAnnoText3CharOrientElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3FontSizeHintElement[] = { {&_swigt__p_SoAnnoText3FontSizeHintElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3RenderPrintElement[] = { {&_swigt__p_SoAnnoText3RenderPrintElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnotation[] = { {&_swigt__p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAntiSquish[] = { {&_swigt__p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAppearanceKit[] = { {&_swigt__p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoArray[] = { {&_swigt__p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAsciiText[] = { {&_swigt__p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAudioDevice[] = { {&_swigt__p_SoAudioDevice, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAudioRenderAction[] = { {&_swigt__p_SoAudioRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAuditorList[] = { {&_swigt__p_SoAuditorList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBBoxModelMatrixElement[] = { {&_swigt__p_SoBBoxModelMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBase[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoBase, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoBase, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoBase, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoBase, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoPath, _p_SoPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoBase, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoBase, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoBase, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoBase, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoBase, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoBase, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoBase, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldContainer, _p_SoFieldContainerTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoBase, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoBase, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoBase, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoBase, 0, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoBase, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoBase, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoBase, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoBase, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoBase, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoBase, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoBase, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoBase, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoBase, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoBase, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoBase, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoBase, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoBase, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseColor[] = { {&_swigt__p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseKit[] = { {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoBaseKit, 0, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBaseKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseList[] = { {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoBaseList, 0, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SoBaseList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBlinker[] = { {&_swigt__p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoolOperation[] = { {&_swigt__p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoundingBoxCache[] = { {&_swigt__p_SoBoundingBoxCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoxHighlightRenderAction[] = { {&_swigt__p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMap[] = { {&_swigt__p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinate[] = { {&_swigt__p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinateElement[] = { {&_swigt__p_SoBumpMapCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapElement[] = { {&_swigt__p_SoBumpMapElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapMatrixElement[] = { {&_swigt__p_SoBumpMapMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapTransform[] = { {&_swigt__p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBundle[] = { {&_swigt__p_SoBundle, 0, 0, 0}, {&_swigt__p_SoTextureCoordinateBundle, _p_SoTextureCoordinateBundleTo_p_SoBundle, 0, 0}, {&_swigt__p_SoMaterialBundle, _p_SoMaterialBundleTo_p_SoBundle, 0, 0}, {&_swigt__p_SoNormalBundle, _p_SoNormalBundleTo_p_SoBundle, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoButtonEvent[] = { {&_swigt__p_SoButtonEvent, 0, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoButtonEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoButtonEvent, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoButtonEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoByteStream[] = { {&_swigt__p_SoByteStream, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCache[] = { {&_swigt__p_SoBoundingBoxCache, _p_SoBoundingBoxCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoGLRenderCache, _p_SoGLRenderCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoCache, 0, 0, 0}, {&_swigt__p_SoConvexDataCache, _p_SoConvexDataCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoNormalCache, _p_SoNormalCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoTextureCoordinateCache, _p_SoTextureCoordinateCacheTo_p_SoCache, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCacheElement[] = { {&_swigt__p_SoCacheElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCacheHint[] = { {&_swigt__p_SoCacheHint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCacheHintElement[] = { {&_swigt__p_SoCacheHintElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCalculator[] = { {&_swigt__p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallback[] = { {&_swigt__p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackAction[] = { {&_swigt__p_SoCallbackAction, 0, 0, 0}, {&_swigt__p_SoVectorizeAction, _p_SoVectorizeActionTo_p_SoCallbackAction, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoCallbackAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackActionCB[] = { {&_swigt__p_SoCallbackActionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackList[] = { {&_swigt__p_SoCallbackList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCamera[] = { {&_swigt__p_SoCamera, 0, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoCamera, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCameraKit[] = { {&_swigt__p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballDragger[] = { {&_swigt__p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballManip[] = { {&_swigt__p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoChildList[] = { {&_swigt__p_SoChildList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlane[] = { {&_swigt__p_SoClipPlane, 0, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoClipPlane, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneElement[] = { {&_swigt__p_SoClipPlaneElement, 0, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoClipPlaneElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneManip[] = { {&_swigt__p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorIndex[] = { {&_swigt__p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorPacker[] = { {&_swigt__p_SoColorPacker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexity[] = { {&_swigt__p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexityElement[] = { {&_swigt__p_SoComplexityElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexityTypeElement[] = { {&_swigt__p_SoComplexityTypeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeMatrix[] = { {&_swigt__p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotation[] = { {&_swigt__p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotationFromTo[] = { {&_swigt__p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec2f[] = { {&_swigt__p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec3f[] = { {&_swigt__p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec4f[] = { {&_swigt__p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComputeBoundingBox[] = { {&_swigt__p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConcatenate[] = { {&_swigt__p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCone[] = { {&_swigt__p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConeDetail[] = { {&_swigt__p_SoConeDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoContextHandler[] = { {&_swigt__p_SoContextHandler, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConvexDataCache[] = { {&_swigt__p_SoConvexDataCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate3[] = { {&_swigt__p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate4[] = { {&_swigt__p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinateElement[] = { {&_swigt__p_SoCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCounter[] = { {&_swigt__p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCreaseAngleElement[] = { {&_swigt__p_SoCreaseAngleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCube[] = { {&_swigt__p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCubeDetail[] = { {&_swigt__p_SoCubeDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCullElement[] = { {&_swigt__p_SoCullElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinder[] = { {&_swigt__p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinderDetail[] = { {&_swigt__p_SoCylinderDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDB[] = { {&_swigt__p_SoDB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDataSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoDataSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoDataSensor, 0, 0}, {&_swigt__p_SoDataSensor, 0, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoDataSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDebugError[] = { {&_swigt__p_SoDebugError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecimationPercentageElement[] = { {&_swigt__p_SoDecimationPercentageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecimationTypeElement[] = { {&_swigt__p_SoDecimationTypeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeMatrix[] = { {&_swigt__p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeRotation[] = { {&_swigt__p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec2f[] = { {&_swigt__p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec3f[] = { {&_swigt__p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec4f[] = { {&_swigt__p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDelayQueueSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoOneShotSensor, _p_SoOneShotSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoDelayQueueSensor, 0, 0, 0}, {&_swigt__p_SoDataSensor, _p_SoDataSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoIdleSensor, _p_SoIdleSensorTo_p_SoDelayQueueSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDepthBuffer[] = { {&_swigt__p_SoDepthBuffer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDepthBufferElement[] = { {&_swigt__p_SoDepthBufferElement, 0, 0, 0}, {&_swigt__p_SoGLDepthBufferElement, _p_SoGLDepthBufferElementTo_p_SoDepthBufferElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDepthBufferElement__DepthWriteFunction[] = { {&_swigt__p_SoDepthBufferElement__DepthWriteFunction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetail[] = { {&_swigt__p_SoCylinderDetail, _p_SoCylinderDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoPointDetail, _p_SoPointDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoNodeKitDetail, _p_SoNodeKitDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoTextDetail, _p_SoTextDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoDetail, 0, 0, 0}, {&_swigt__p_SoConeDetail, _p_SoConeDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoCubeDetail, _p_SoCubeDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoFaceDetail, _p_SoFaceDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoLineDetail, _p_SoLineDetailTo_p_SoDetail, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetailList[] = { {&_swigt__p_SoDetailList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDiffuseColorElement[] = { {&_swigt__p_SoDiffuseColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLight[] = { {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoDirectionalLight, 0, 0}, {&_swigt__p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightDragger[] = { {&_swigt__p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightManip[] = { {&_swigt__p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragPointDragger[] = { {&_swigt__p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragger[] = { {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDragger, 0, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoDragger, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyle[] = { {&_swigt__p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyleElement[] = { {&_swigt__p_SoDrawStyleElement, 0, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoDrawStyleElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElapsedTime[] = { {&_swigt__p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElement[] = { {&_swigt__p_SoListenerPositionElement, _p_SoListenerPositionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoListenerOrientationElement, _p_SoListenerOrientationElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoListenerDopplerElement, _p_SoListenerDopplerElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSoundElement, _p_SoSoundElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSpecularColorElement, _p_SoSpecularColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoEmissiveColorElement, _p_SoEmissiveColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShininessElement, _p_SoShininessElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTransparencyElement, _p_SoTransparencyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoReplacedElement, _p_SoReplacedElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLShapeHintsElement, _p_SoGLShapeHintsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShapeHintsElement, _p_SoShapeHintsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLazyElement, _p_SoLazyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureUnitElement, _p_SoTextureUnitElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightModelElement, _p_SoLightModelElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoVertexAttributeBindingElement, _p_SoVertexAttributeBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoUnitsElement, _p_SoUnitsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextOutlineEnabledElement, _p_SoTextOutlineEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSwitchElement, _p_SoSwitchElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLinePatternElement, _p_SoLinePatternElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTexture3EnabledElement, _p_SoTexture3EnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDecimationTypeElement, _p_SoDecimationTypeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureEnabledElement, _p_SoTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLightIdElement, _p_SoGLLightIdElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCoordinateBindingElement, _p_SoTextureCoordinateBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPickStyleElement, _p_SoPickStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoNormalBindingElement, _p_SoNormalBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMaterialBindingElement, _p_SoMaterialBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDrawStyleElement, _p_SoDrawStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoComplexityTypeElement, _p_SoComplexityTypeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoInt32Element, _p_SoInt32ElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCoordinateElement, _p_SoTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLazyElement, _p_SoGLLazyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureMatrixElement, _p_SoMultiTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLVertexAttributeElement, _p_SoGLVertexAttributeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureQualityElement, _p_SoTextureQualityElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPointSizeElement, _p_SoPointSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLineWidthElement, _p_SoLineWidthElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFontSizeElement, _p_SoFontSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFocalDistanceElement, _p_SoFocalDistanceElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDecimationPercentageElement, _p_SoDecimationPercentageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFloatElement, _p_SoFloatElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoComplexityElement, _p_SoComplexityElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCoordinateElement, _p_SoCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCreaseAngleElement, _p_SoCreaseAngleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoElement, 0, 0, 0}, {&_swigt__p_SoListenerGainElement, _p_SoListenerGainElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoClipPlaneElement, _p_SoClipPlaneElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCacheElement, _p_SoCacheElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapMatrixElement, _p_SoBumpMapMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapElement, _p_SoBumpMapElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapCoordinateElement, _p_SoBumpMapCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoModelMatrixElement, _p_SoModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3RenderPrintElement, _p_SoAnnoText3RenderPrintElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3FontSizeHintElement, _p_SoAnnoText3FontSizeHintElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3CharOrientElement, _p_SoAnnoText3CharOrientElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAmbientColorElement, _p_SoAmbientColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAccumulatedElement, _p_SoAccumulatedElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightElement, _p_SoLightElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProfileElement, _p_SoProfileElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureMatrixElement, _p_SoTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoVertexAttributeElement, _p_SoVertexAttributeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLColorIndexElement, _p_SoGLColorIndexElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewVolumeElement, _p_SoViewVolumeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewingMatrixElement, _p_SoViewingMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProfileCoordinateElement, _p_SoProfileCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProjectionMatrixElement, _p_SoProjectionMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPolygonOffsetElement, _p_SoPolygonOffsetElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightAttenuationElement, _p_SoLightAttenuationElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureImageElement, _p_SoTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFontNameElement, _p_SoFontNameElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoEnvironmentElement, _p_SoEnvironmentElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDiffuseColorElement, _p_SoDiffuseColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoNormalElement, _p_SoNormalElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLRenderPassElement, _p_SoGLRenderPassElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLUpdateAreaElement, _p_SoGLUpdateAreaElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLocalBBoxMatrixElement, _p_SoLocalBBoxMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoOverrideElement, _p_SoOverrideElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPickRayElement, _p_SoPickRayElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureOverrideElement, _p_SoTextureOverrideElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCullElement, _p_SoCullElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShapeStyleElement, _p_SoShapeStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewportRegionElement, _p_SoViewportRegionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLViewportRegionElement, _p_SoGLViewportRegionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoWindowElement, _p_SoWindowElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLCacheContextElement, _p_SoGLCacheContextElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLVBOElement, _p_SoGLVBOElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDepthBufferElement, _p_SoDepthBufferElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLDepthBufferElement, _p_SoGLDepthBufferElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureCoordinateElement, _p_SoMultiTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureCoordinateElement, _p_SoGLMultiTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureEnabledElement, _p_SoMultiTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureEnabledElement, _p_SoGLMultiTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureImageElement, _p_SoMultiTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureImageElement, _p_SoGLMultiTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCombineElement, _p_SoTextureCombineElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCacheHintElement, _p_SoCacheHintElementTo_p_SoElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEmissiveColorElement[] = { {&_swigt__p_SoEmissiveColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnabledElementsList[] = { {&_swigt__p_SoEnabledElementsList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngine[] = { {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoEngine, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoEngine, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoEngine, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoEngine, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineList[] = { {&_swigt__p_SoEngineList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutput[] = { {&_swigt__p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputData[] = { {&_swigt__p_SoEngineOutputData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputList[] = { {&_swigt__p_SoEngineOutputList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironment[] = { {&_swigt__p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironmentElement[] = { {&_swigt__p_SoEnvironmentElement, 0, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoEnvironmentElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoError[] = { {&_swigt__p_SoDebugError, _p_SoDebugErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoReadError, _p_SoReadErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoError, 0, 0, 0}, {&_swigt__p_SoMemoryError, _p_SoMemoryErrorTo_p_SoError, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEvent[] = { {&_swigt__p_SoMotion3Event, _p_SoMotion3EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoButtonEvent, _p_SoButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoEvent, 0, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoLocation2Event, _p_SoLocation2EventTo_p_SoEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEventCallback[] = { {&_swigt__p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEventManager[] = { {&_swigt__p_SoEventManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoExtSelection[] = { {&_swigt__p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceDetail[] = { {&_swigt__p_SoFaceDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceSet[] = { {&_swigt__p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoField[] = { {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4ub, _p_SoSFVec4ubTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4ub, _p_SoMFVec4ubTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2d, _p_SoSFBox2dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4b, _p_SoSFVec4bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4b, _p_SoMFVec4bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2f, _p_SoSFBox2fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4d, _p_SoSFVec4dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4d, _p_SoMFVec4dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoField, 0, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4us, _p_SoSFVec4usTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4us, _p_SoMFVec4usTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4i32, _p_SoSFVec4i32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4i32, _p_SoMFVec4i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2s, _p_SoSFBox2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2b, _p_SoSFVec2bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2b, _p_SoMFVec2bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3i32, _p_SoSFBox3i32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2d, _p_SoMFVec2dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2d, _p_SoSFVec2dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFDouble, _p_SoMFDoubleTo_p_SoField, 0, 0}, {&_swigt__p_SoSFDouble, _p_SoSFDoubleTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4s, _p_SoSFVec4sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4s, _p_SoMFVec4sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoSField, _p_SoSFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3i32, _p_SoMFVec3i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3i32, _p_SoSFVec3i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3d, _p_SoSFBox3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColorRGBA, _p_SoMFColorRGBATo_p_SoField, 0, 0}, {&_swigt__p_SoSFColorRGBA, _p_SoSFColorRGBATo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2s, _p_SoMFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2i32, _p_SoSFBox2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3f, _p_SoSFBox3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMField, _p_SoMFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2i32, _p_SoSFVec2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2i32, _p_SoMFVec2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3b, _p_SoSFVec3bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3b, _p_SoMFVec3bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3s, _p_SoMFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4ui32, _p_SoSFVec4ui32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4ui32, _p_SoMFVec4ui32To_p_SoField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldContainer[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldContainer, 0, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoFieldContainer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldConverter[] = { {&_swigt__p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldData[] = { {&_swigt__p_SoFieldData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldList[] = { {&_swigt__p_SoFieldList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldSensor[] = { {&_swigt__p_SoFieldSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFile[] = { {&_swigt__p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFloatElement[] = { {&_swigt__p_SoFloatElement, 0, 0, 0}, {&_swigt__p_SoComplexityElement, _p_SoComplexityElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoCreaseAngleElement, _p_SoCreaseAngleElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoDecimationPercentageElement, _p_SoDecimationPercentageElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoFocalDistanceElement, _p_SoFocalDistanceElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoFontSizeElement, _p_SoFontSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoLineWidthElement, _p_SoLineWidthElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoPointSizeElement, _p_SoPointSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoTextureQualityElement, _p_SoTextureQualityElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoListenerGainElement, _p_SoListenerGainElementTo_p_SoFloatElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFocalDistanceElement[] = { {&_swigt__p_SoFocalDistanceElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFont[] = { {&_swigt__p_SoFont, 0, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFont, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontNameElement[] = { {&_swigt__p_SoFontNameElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontSizeElement[] = { {&_swigt__p_SoFontSizeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontStyle[] = { {&_swigt__p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFragmentShader[] = { {&_swigt__p_SoFragmentShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFrustumCamera[] = { {&_swigt__p_SoFrustumCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFullPath[] = { {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoFullPath, 0, 0}, {&_swigt__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLBigImage[] = { {&_swigt__p_SoGLBigImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCacheContextElement[] = { {&_swigt__p_SoGLCacheContextElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCacheList[] = { {&_swigt__p_SoGLCacheList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLClipPlaneElement[] = { {&_swigt__p_SoGLClipPlaneElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLColorIndexElement[] = { {&_swigt__p_SoGLColorIndexElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCoordinateElement[] = { {&_swigt__p_SoGLCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLDepthBufferElement[] = { {&_swigt__p_SoGLDepthBufferElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLDisplayList[] = { {&_swigt__p_SoGLDisplayList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLDrawStyleElement[] = { {&_swigt__p_SoGLDrawStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLEnvironmentElement[] = { {&_swigt__p_SoGLEnvironmentElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLImage[] = { {&_swigt__p_SoGLBigImage, _p_SoGLBigImageTo_p_SoGLImage, 0, 0}, {&_swigt__p_SoGLImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLImageResizeCB[] = { {&_swigt__p_SoGLImageResizeCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement[] = { {&_swigt__p_SoGLLazyElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement_GLState[] = { {&_swigt__p_SoGLLazyElement_GLState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement__GLState[] = { {&_swigt__p_SoGLLazyElement__GLState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLightIdElement[] = { {&_swigt__p_SoGLLightIdElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLinePatternElement[] = { {&_swigt__p_SoGLLinePatternElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLineWidthElement[] = { {&_swigt__p_SoGLLineWidthElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLModelMatrixElement[] = { {&_swigt__p_SoGLModelMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureCoordinateElement[] = { {&_swigt__p_SoGLMultiTextureCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureEnabledElement[] = { {&_swigt__p_SoGLMultiTextureEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureImageElement[] = { {&_swigt__p_SoGLMultiTextureImageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureMatrixElement[] = { {&_swigt__p_SoGLMultiTextureMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLNormalElement[] = { {&_swigt__p_SoGLNormalElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLPointSizeElement[] = { {&_swigt__p_SoGLPointSizeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLPolygonOffsetElement[] = { {&_swigt__p_SoGLPolygonOffsetElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLProjectionMatrixElement[] = { {&_swigt__p_SoGLProjectionMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAbortCB[] = { {&_swigt__p_SoGLRenderAbortCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAction[] = { {&_swigt__p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderCache[] = { {&_swigt__p_SoGLRenderCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderPassElement[] = { {&_swigt__p_SoGLRenderPassElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLShaderObject[] = { {&_swigt__p_SoGLShaderObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLShapeHintsElement[] = { {&_swigt__p_SoGLShapeHintsElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTexture3EnabledElement[] = { {&_swigt__p_SoGLTexture3EnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureCoordinateElement[] = { {&_swigt__p_SoGLTextureCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureEnabledElement[] = { {&_swigt__p_SoGLTextureEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureImageElement[] = { {&_swigt__p_SoGLTextureImageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureMatrixElement[] = { {&_swigt__p_SoGLTextureMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLUpdateAreaElement[] = { {&_swigt__p_SoGLUpdateAreaElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLVBOElement[] = { {&_swigt__p_SoGLVBOElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLVertexAttributeElement[] = { {&_swigt__p_SoGLVertexAttributeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLViewingMatrixElement[] = { {&_swigt__p_SoGLViewingMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLViewportRegionElement[] = { {&_swigt__p_SoGLViewportRegionElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGate[] = { {&_swigt__p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetBoundingBoxAction[] = { {&_swigt__p_SoGetBoundingBoxAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetMatrixAction[] = { {&_swigt__p_SoGetMatrixAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetPrimitiveCountAction[] = { {&_swigt__p_SoGetPrimitiveCountAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGlyph[] = { {&_swigt__p_SoGlyph, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGroup[] = { {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoGroup, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoGroup, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoGroup, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoGroup, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoGroup, 0, 0}, {&_swigt__p_SoGroup, 0, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoGroup, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxDragger[] = { {&_swigt__p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxManip[] = { {&_swigt__p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleEventAction[] = { {&_swigt__p_SoHandleEventAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHardCopy[] = { {&_swigt__p_SoHardCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHeightMapToNormalMap[] = { {&_swigt__p_SoHeightMapToNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIdleSensor[] = { {&_swigt__p_SoIdleSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoImage[] = { {&_swigt__p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedFaceSet[] = { {&_swigt__p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedLineSet[] = { {&_swigt__p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedMarkerSet[] = { {&_swigt__p_SoIndexedMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsCurve[] = { {&_swigt__p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsSurface[] = { {&_swigt__p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedPointSet[] = { {&_swigt__p_SoIndexedPointSet, 0, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoIndexedPointSet, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedShape[] = { {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedTriangleStripSet[] = { {&_swigt__p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInfo[] = { {&_swigt__p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInput[] = { {&_swigt__p_SoInput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInt32Element[] = { {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureEnabledElement, _p_SoTextureEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLLightIdElement, _p_SoGLLightIdElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3RenderPrintElement, _p_SoAnnoText3RenderPrintElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3FontSizeHintElement, _p_SoAnnoText3FontSizeHintElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3CharOrientElement, _p_SoAnnoText3CharOrientElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureCoordinateBindingElement, _p_SoTextureCoordinateBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoPickStyleElement, _p_SoPickStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoNormalBindingElement, _p_SoNormalBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoMaterialBindingElement, _p_SoMaterialBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoDrawStyleElement, _p_SoDrawStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoComplexityTypeElement, _p_SoComplexityTypeElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoInt32Element, 0, 0, 0}, {&_swigt__p_SoDecimationTypeElement, _p_SoDecimationTypeElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTexture3EnabledElement, _p_SoTexture3EnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoLinePatternElement, _p_SoLinePatternElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoSwitchElement, _p_SoSwitchElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextOutlineEnabledElement, _p_SoTextOutlineEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoUnitsElement, _p_SoUnitsElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoVertexAttributeBindingElement, _p_SoVertexAttributeBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoLightModelElement, _p_SoLightModelElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureUnitElement, _p_SoTextureUnitElementTo_p_SoInt32Element, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteraction[] = { {&_swigt__p_SoInteraction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteractionKit[] = { {&_swigt__p_SoInteractionKit, 0, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoInteractionKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolate[] = { {&_swigt__p_SoInterpolate, 0, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoInterpolate, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateFloat[] = { {&_swigt__p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateRotation[] = { {&_swigt__p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec2f[] = { {&_swigt__p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec3f[] = { {&_swigt__p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec4f[] = { {&_swigt__p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectingPrimitive[] = { {&_swigt__p_SoIntersectingPrimitive, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionCB[] = { {&_swigt__p_SoIntersectionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionDetectionAction[] = { {&_swigt__p_SoIntersectionDetectionAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionFilterCB[] = { {&_swigt__p_SoIntersectionFilterCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionVisitationCB[] = { {&_swigt__p_SoIntersectionVisitationCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackDragger[] = { {&_swigt__p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackManip[] = { {&_swigt__p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoKeyboardEvent[] = { {&_swigt__p_SoKeyboardEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLOD[] = { {&_swigt__p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLabel[] = { {&_swigt__p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLazyElement[] = { {&_swigt__p_SoLazyElement, 0, 0, 0}, {&_swigt__p_SoGLLazyElement, _p_SoGLLazyElementTo_p_SoLazyElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLevelOfDetail[] = { {&_swigt__p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLight[] = { {&_swigt__p_SoLight, 0, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoLight, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoLight, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoLight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightAttenuationElement[] = { {&_swigt__p_SoLightAttenuationElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightElement[] = { {&_swigt__p_SoLightElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightKit[] = { {&_swigt__p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModel[] = { {&_swigt__p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModelElement[] = { {&_swigt__p_SoLightModelElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightPath[] = { {&_swigt__p_SoLightPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineDetail[] = { {&_swigt__p_SoLineDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineHighlightRenderAction[] = { {&_swigt__p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinePatternElement[] = { {&_swigt__p_SoLinePatternElement, 0, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoLinePatternElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineSet[] = { {&_swigt__p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineWidthElement[] = { {&_swigt__p_SoLineWidthElement, 0, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoLineWidthElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinearProfile[] = { {&_swigt__p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListener[] = { {&_swigt__p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerDopplerElement[] = { {&_swigt__p_SoListenerDopplerElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerGainElement[] = { {&_swigt__p_SoListenerGainElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerOrientationElement[] = { {&_swigt__p_SoListenerOrientationElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerPositionElement[] = { {&_swigt__p_SoListenerPositionElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocalBBoxMatrixElement[] = { {&_swigt__p_SoLocalBBoxMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocateHighlight[] = { {&_swigt__p_SoLocateHighlight, 0, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoLocateHighlight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocation2Event[] = { {&_swigt__p_SoLocation2Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLockManager[] = { {&_swigt__p_SoLockManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBitMask[] = { {&_swigt__p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBool[] = { {&_swigt__p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColor[] = { {&_swigt__p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColorRGBA[] = { {&_swigt__p_SoMFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFDouble[] = { {&_swigt__p_SoMFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEngine[] = { {&_swigt__p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEnum[] = { {&_swigt__p_SoMFEnum, 0, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMFEnum, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFFloat[] = { {&_swigt__p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFInt32[] = { {&_swigt__p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFMatrix[] = { {&_swigt__p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFName[] = { {&_swigt__p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFNode[] = { {&_swigt__p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPath[] = { {&_swigt__p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPlane[] = { {&_swigt__p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFRotation[] = { {&_swigt__p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFShort[] = { {&_swigt__p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFString[] = { {&_swigt__p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFTime[] = { {&_swigt__p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUInt32[] = { {&_swigt__p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUShort[] = { {&_swigt__p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2b[] = { {&_swigt__p_SoMFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2d[] = { {&_swigt__p_SoMFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2f[] = { {&_swigt__p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2i32[] = { {&_swigt__p_SoMFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2s[] = { {&_swigt__p_SoMFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3b[] = { {&_swigt__p_SoMFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3d[] = { {&_swigt__p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3f[] = { {&_swigt__p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3i32[] = { {&_swigt__p_SoMFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3s[] = { {&_swigt__p_SoMFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4b[] = { {&_swigt__p_SoMFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4d[] = { {&_swigt__p_SoMFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4f[] = { {&_swigt__p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4i32[] = { {&_swigt__p_SoMFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4s[] = { {&_swigt__p_SoMFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4ub[] = { {&_swigt__p_SoMFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4ui32[] = { {&_swigt__p_SoMFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4us[] = { {&_swigt__p_SoMFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMField[] = { {&_swigt__p_SoMFVec4s, _p_SoMFVec4sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4i32, _p_SoMFVec4i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3s, _p_SoMFVec3sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4ui32, _p_SoMFVec4ui32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFDouble, _p_SoMFDoubleTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2s, _p_SoMFVec2sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoMField, 0, 0}, {&_swigt__p_SoMField, 0, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3i32, _p_SoMFVec3i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4ub, _p_SoMFVec4ubTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4b, _p_SoMFVec4bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4d, _p_SoMFVec4dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3b, _p_SoMFVec3bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2i32, _p_SoMFVec2i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2b, _p_SoMFVec2bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2d, _p_SoMFVec2dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColorRGBA, _p_SoMFColorRGBATo_p_SoMField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4us, _p_SoMFVec4usTo_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMarkerSet[] = { {&_swigt__p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterial[] = { {&_swigt__p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBinding[] = { {&_swigt__p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBindingElement[] = { {&_swigt__p_SoMaterialBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBundle[] = { {&_swigt__p_SoMaterialBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMatrixTransform[] = { {&_swigt__p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMemoryError[] = { {&_swigt__p_SoMemoryError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoModelMatrixElement[] = { {&_swigt__p_SoModelMatrixElement, 0, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoModelMatrixElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoModelMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMotion3Event[] = { {&_swigt__p_SoMotion3Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMouseButtonEvent[] = { {&_swigt__p_SoMouseButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureCoordinateElement[] = { {&_swigt__p_SoMultiTextureCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureCoordinateElement, _p_SoGLMultiTextureCoordinateElementTo_p_SoMultiTextureCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureEnabledElement[] = { {&_swigt__p_SoMultiTextureEnabledElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureEnabledElement, _p_SoGLMultiTextureEnabledElementTo_p_SoMultiTextureEnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureEnabledElement__Mode[] = { {&_swigt__p_SoMultiTextureEnabledElement__Mode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureImageElement[] = { {&_swigt__p_SoMultiTextureImageElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureImageElement, _p_SoGLMultiTextureImageElementTo_p_SoMultiTextureImageElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureMatrixElement[] = { {&_swigt__p_SoMultiTextureMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoMultiTextureMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultipleCopy[] = { {&_swigt__p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNode[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoNode, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoNode, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoNode, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoNode, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoNode, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoNode, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoNode, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoNode, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoNode, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoNode, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoNode, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoNode, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNode, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoNode, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoNode, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoNode, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoNode, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoNode, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoNode, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoNode, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoNode, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoNode, 0, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoNode, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeEngine[] = { {&_swigt__p_SoNodeEngine, 0, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNodeEngine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKit[] = { {&_swigt__p_SoNodeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitDetail[] = { {&_swigt__p_SoNodeKitDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitListPart[] = { {&_swigt__p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitPath[] = { {&_swigt__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeList[] = { {&_swigt__p_SoNodeList, 0, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SoNodeList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeSensor[] = { {&_swigt__p_SoNodeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodekitCatalog[] = { {&_swigt__p_SoNodekitCatalog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNonIndexedShape[] = { {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, 0, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNonIndexedShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormal[] = { {&_swigt__p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBinding[] = { {&_swigt__p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBindingElement[] = { {&_swigt__p_SoNormalBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBundle[] = { {&_swigt__p_SoNormalBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalCache[] = { {&_swigt__p_SoNormalCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalElement[] = { {&_swigt__p_SoNormalElement, 0, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoNormalElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalGenerator[] = { {&_swigt__p_SoNormalGenerator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotList[] = { {&_swigt__p_SoNotList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotRec[] = { {&_swigt__p_SoNotRec, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsCurve[] = { {&_swigt__p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsProfile[] = { {&_swigt__p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsSurface[] = { {&_swigt__p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOffscreenRenderer[] = { {&_swigt__p_SoOffscreenRenderer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOnOff[] = { {&_swigt__p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShot[] = { {&_swigt__p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShotSensor[] = { {&_swigt__p_SoOneShotSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOrthographicCamera[] = { {&_swigt__p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOutput[] = { {&_swigt__p_SoOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOverrideElement[] = { {&_swigt__p_SoOverrideElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPSVectorOutput[] = { {&_swigt__p_SoPSVectorOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPackedColor[] = { {&_swigt__p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPath[] = { {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoPath, 0, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathList[] = { {&_swigt__p_SoPathList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSensor[] = { {&_swigt__p_SoPathSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSwitch[] = { {&_swigt__p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPendulum[] = { {&_swigt__p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPerspectiveCamera[] = { {&_swigt__p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickAction[] = { {&_swigt__p_SoPickAction, 0, 0, 0}, {&_swigt__p_SoRayPickAction, _p_SoRayPickActionTo_p_SoPickAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickRayElement[] = { {&_swigt__p_SoPickRayElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyle[] = { {&_swigt__p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyleElement[] = { {&_swigt__p_SoPickStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPoint[] = { {&_swigt__p_SoPickedPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPointList[] = { {&_swigt__p_SoPickedPointList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointDetail[] = { {&_swigt__p_SoPointDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLight[] = { {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoPointLight, 0, 0}, {&_swigt__p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightDragger[] = { {&_swigt__p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightManip[] = { {&_swigt__p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSet[] = { {&_swigt__p_SoPointSet, 0, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoPointSet, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSizeElement[] = { {&_swigt__p_SoPointSizeElement, 0, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoPointSizeElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffset[] = { {&_swigt__p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffsetElement[] = { {&_swigt__p_SoPolygonOffsetElement, 0, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoPolygonOffsetElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffsetElement__Style[] = { {&_swigt__p_SoPolygonOffsetElement__Style, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPrimitiveVertex[] = { {&_swigt__p_SoPrimitiveVertex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfile[] = { {&_swigt__p_SoProfile, 0, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoProfile, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoProfile, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate2[] = { {&_swigt__p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate3[] = { {&_swigt__p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinateElement[] = { {&_swigt__p_SoProfileCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileElement[] = { {&_swigt__p_SoProfileElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProjectionMatrixElement[] = { {&_swigt__p_SoProjectionMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoProjectionMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProto[] = { {&_swigt__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProtoInstance[] = { {&_swigt__p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQuadMesh[] = { {&_swigt__p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRayPickAction[] = { {&_swigt__p_SoRayPickAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReadError[] = { {&_swigt__p_SoReadError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRenderManager[] = { {&_swigt__p_SoRenderManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRenderManager__Superimposition[] = { {&_swigt__p_SoRenderManager__Superimposition, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReorganizeAction[] = { {&_swigt__p_SoReorganizeAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReplacedElement[] = { {&_swigt__p_SoNormalElement, _p_SoNormalElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoTextureCoordinateElement, _p_SoTextureCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoAmbientColorElement, _p_SoAmbientColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoBumpMapCoordinateElement, _p_SoBumpMapCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoBumpMapElement, _p_SoBumpMapElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoCoordinateElement, _p_SoCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoDiffuseColorElement, _p_SoDiffuseColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoEnvironmentElement, _p_SoEnvironmentElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoFontNameElement, _p_SoFontNameElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoTextureImageElement, _p_SoTextureImageElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoLightAttenuationElement, _p_SoLightAttenuationElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoPolygonOffsetElement, _p_SoPolygonOffsetElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoProjectionMatrixElement, _p_SoProjectionMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoProfileCoordinateElement, _p_SoProfileCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoReplacedElement, 0, 0, 0}, {&_swigt__p_SoTransparencyElement, _p_SoTransparencyElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoShininessElement, _p_SoShininessElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoEmissiveColorElement, _p_SoEmissiveColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoSpecularColorElement, _p_SoSpecularColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoSoundElement, _p_SoSoundElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerDopplerElement, _p_SoListenerDopplerElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerOrientationElement, _p_SoListenerOrientationElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerPositionElement, _p_SoListenerPositionElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLColorIndexElement, _p_SoGLColorIndexElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoViewVolumeElement, _p_SoViewVolumeElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoViewingMatrixElement, _p_SoViewingMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoReplacedElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoResetTransform[] = { {&_swigt__p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateCylindricalDragger[] = { {&_swigt__p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateDiscDragger[] = { {&_swigt__p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateSphericalDragger[] = { {&_swigt__p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotation[] = { {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoRotation, 0, 0}, {&_swigt__p_SoRotation, 0, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoRotation, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotationXYZ[] = { {&_swigt__p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotor[] = { {&_swigt__p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBitMask[] = { {&_swigt__p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBool[] = { {&_swigt__p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2d[] = { {&_swigt__p_SoSFBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2f[] = { {&_swigt__p_SoSFBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2i32[] = { {&_swigt__p_SoSFBox2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2s[] = { {&_swigt__p_SoSFBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3d[] = { {&_swigt__p_SoSFBox3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3f[] = { {&_swigt__p_SoSFBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3i32[] = { {&_swigt__p_SoSFBox3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3s[] = { {&_swigt__p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColor[] = { {&_swigt__p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColorRGBA[] = { {&_swigt__p_SoSFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFDouble[] = { {&_swigt__p_SoSFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEngine[] = { {&_swigt__p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEnum[] = { {&_swigt__p_SoSFEnum, 0, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSFEnum, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFFloat[] = { {&_swigt__p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage[] = { {&_swigt__p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage3[] = { {&_swigt__p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFInt32[] = { {&_swigt__p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFMatrix[] = { {&_swigt__p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFName[] = { {&_swigt__p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFNode[] = { {&_swigt__p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPath[] = { {&_swigt__p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPlane[] = { {&_swigt__p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFRotation[] = { {&_swigt__p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFShort[] = { {&_swigt__p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFString[] = { {&_swigt__p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTime[] = { {&_swigt__p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTrigger[] = { {&_swigt__p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUInt32[] = { {&_swigt__p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUShort[] = { {&_swigt__p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2b[] = { {&_swigt__p_SoSFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2d[] = { {&_swigt__p_SoSFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2f[] = { {&_swigt__p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2i32[] = { {&_swigt__p_SoSFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2s[] = { {&_swigt__p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3b[] = { {&_swigt__p_SoSFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3d[] = { {&_swigt__p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3f[] = { {&_swigt__p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3i32[] = { {&_swigt__p_SoSFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3s[] = { {&_swigt__p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4b[] = { {&_swigt__p_SoSFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4d[] = { {&_swigt__p_SoSFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4f[] = { {&_swigt__p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4i32[] = { {&_swigt__p_SoSFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4s[] = { {&_swigt__p_SoSFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4ub[] = { {&_swigt__p_SoSFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4ui32[] = { {&_swigt__p_SoSFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4us[] = { {&_swigt__p_SoSFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSField[] = { {&_swigt__p_SoSFVec4s, _p_SoSFVec4sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4i32, _p_SoSFVec4i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4ui32, _p_SoSFVec4ui32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFDouble, _p_SoSFDoubleTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3d, _p_SoSFBox3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3f, _p_SoSFBox3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3i32, _p_SoSFVec3i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2d, _p_SoSFBox2dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2f, _p_SoSFBox2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4ub, _p_SoSFVec4ubTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4b, _p_SoSFVec4bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3i32, _p_SoSFBox3i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4d, _p_SoSFVec4dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSField, 0, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3b, _p_SoSFVec3bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2i32, _p_SoSFVec2i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2b, _p_SoSFVec2bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2s, _p_SoSFBox2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFColorRGBA, _p_SoSFColorRGBATo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2d, _p_SoSFVec2dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2i32, _p_SoSFBox2i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4us, _p_SoSFVec4usTo_p_SoSField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScXMLEvent[] = { {&_swigt__p_SoScXMLEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScXMLStateMachine[] = { {&_swigt__p_SoScXMLStateMachine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale[] = { {&_swigt__p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale1Dragger[] = { {&_swigt__p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2Dragger[] = { {&_swigt__p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2UniformDragger[] = { {&_swigt__p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScaleUniformDragger[] = { {&_swigt__p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneKit[] = { {&_swigt__p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneManager[] = { {&_swigt__p_SoSceneManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTexture2[] = { {&_swigt__p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTextureCubeMap[] = { {&_swigt__p_SoSceneTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSearchAction[] = { {&_swigt__p_SoSearchAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelectOne[] = { {&_swigt__p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelection[] = { {&_swigt__p_SoSelection, 0, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSelection, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoOneShotSensor, _p_SoOneShotSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoTimerSensor, _p_SoTimerSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoSensor, 0, 0, 0}, {&_swigt__p_SoDelayQueueSensor, _p_SoDelayQueueSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoDataSensor, _p_SoDataSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoIdleSensor, _p_SoIdleSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoTimerQueueSensor, _p_SoTimerQueueSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoAlarmSensor, _p_SoAlarmSensorTo_p_SoSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSensorManager[] = { {&_swigt__p_SoSensorManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparator[] = { {&_swigt__p_SoSeparator, 0, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSeparator, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparatorKit[] = { {&_swigt__p_SoSeparatorKit, 0, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoSeparatorKit, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoSeparatorKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderObject[] = { {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoShaderObject, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoShaderObject, 0, 0}, {&_swigt__p_SoShaderObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter[] = { {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter, 0, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoShaderParameter, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter1f[] = { {&_swigt__p_SoShaderParameter1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter1i[] = { {&_swigt__p_SoShaderParameter1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter2f[] = { {&_swigt__p_SoShaderParameter2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter2i[] = { {&_swigt__p_SoShaderParameter2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter3f[] = { {&_swigt__p_SoShaderParameter3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter3i[] = { {&_swigt__p_SoShaderParameter3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter4f[] = { {&_swigt__p_SoShaderParameter4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter4i[] = { {&_swigt__p_SoShaderParameter4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray1f[] = { {&_swigt__p_SoShaderParameterArray1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray1i[] = { {&_swigt__p_SoShaderParameterArray1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray2f[] = { {&_swigt__p_SoShaderParameterArray2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray2i[] = { {&_swigt__p_SoShaderParameterArray2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray3f[] = { {&_swigt__p_SoShaderParameterArray3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray3i[] = { {&_swigt__p_SoShaderParameterArray3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray4f[] = { {&_swigt__p_SoShaderParameterArray4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray4i[] = { {&_swigt__p_SoShaderParameterArray4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterMatrix[] = { {&_swigt__p_SoShaderParameterMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterMatrixArray[] = { {&_swigt__p_SoShaderParameterMatrixArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderProgram[] = { {&_swigt__p_SoShaderProgram, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderStateMatrixParameter[] = { {&_swigt__p_SoShaderStateMatrixParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShape[] = { {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoShape, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoShape, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoShape, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoShape, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoShape, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoShape, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoShape, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoShape, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoShape, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoShape, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoShape, 0, 0}, {&_swigt__p_SoShape, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHints[] = { {&_swigt__p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement[] = { {&_swigt__p_SoShapeHintsElement, 0, 0, 0}, {&_swigt__p_SoGLShapeHintsElement, _p_SoGLShapeHintsElementTo_p_SoShapeHintsElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__FaceType[] = { {&_swigt__p_SoShapeHintsElement__FaceType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__ShapeType[] = { {&_swigt__p_SoShapeHintsElement__ShapeType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__VertexOrdering[] = { {&_swigt__p_SoShapeHintsElement__VertexOrdering, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeKit[] = { {&_swigt__p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeStyleElement[] = { {&_swigt__p_SoShapeStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShininessElement[] = { {&_swigt__p_SoShininessElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShuttle[] = { {&_swigt__p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSimplifier[] = { {&_swigt__p_SoSimplifier, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSimplifyAction[] = { {&_swigt__p_SoSimplifyAction, 0, 0, 0}, {&_swigt__p_SoReorganizeAction, _p_SoReorganizeActionTo_p_SoSimplifyAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSoundElement[] = { {&_swigt__p_SoSoundElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpaceballButtonEvent[] = { {&_swigt__p_SoSpaceballButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpecularColorElement[] = { {&_swigt__p_SoSpecularColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSphere[] = { {&_swigt__p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLight[] = { {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoSpotLight, 0, 0}, {&_swigt__p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightDragger[] = { {&_swigt__p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightManip[] = { {&_swigt__p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoState[] = { {&_swigt__p_SoState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSurroundScale[] = { {&_swigt__p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitch[] = { {&_swigt__p_SoSwitch, 0, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoSwitch, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitchElement[] = { {&_swigt__p_SoSwitchElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxDragger[] = { {&_swigt__p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxManip[] = { {&_swigt__p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabPlaneDragger[] = { {&_swigt__p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTempPath[] = { {&_swigt__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText2[] = { {&_swigt__p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText3[] = { {&_swigt__p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextDetail[] = { {&_swigt__p_SoTextDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextOutlineEnabledElement[] = { {&_swigt__p_SoTextOutlineEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture[] = { {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoTexture, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoTexture, 0, 0}, {&_swigt__p_SoTexture, 0, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoTexture, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2[] = { {&_swigt__p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Convert[] = { {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoTexture2Convert, 0, 0}, {&_swigt__p_SoTexture2Convert, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Transform[] = { {&_swigt__p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3[] = { {&_swigt__p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3EnabledElement[] = { {&_swigt__p_SoTexture3EnabledElement, 0, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoTexture3EnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3Transform[] = { {&_swigt__p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombine[] = { {&_swigt__p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement[] = { {&_swigt__p_SoTextureCombineElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Operand[] = { {&_swigt__p_SoTextureCombineElement__Operand, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Operation[] = { {&_swigt__p_SoTextureCombineElement__Operation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Source[] = { {&_swigt__p_SoTextureCombineElement__Source, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate2[] = { {&_swigt__p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate3[] = { {&_swigt__p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBinding[] = { {&_swigt__p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBindingElement[] = { {&_swigt__p_SoTextureCoordinateBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBundle[] = { {&_swigt__p_SoTextureCoordinateBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCache[] = { {&_swigt__p_SoTextureCoordinateCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCube[] = { {&_swigt__p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCylinder[] = { {&_swigt__p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateDefault[] = { {&_swigt__p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateElement[] = { {&_swigt__p_SoTextureCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoTextureCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateEnvironment[] = { {&_swigt__p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateFunction[] = { {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, 0, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoTextureCoordinateFunction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateNormalMap[] = { {&_swigt__p_SoTextureCoordinateNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateObject[] = { {&_swigt__p_SoTextureCoordinateObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinatePlane[] = { {&_swigt__p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateReflectionMap[] = { {&_swigt__p_SoTextureCoordinateReflectionMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateSphere[] = { {&_swigt__p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCubeMap[] = { {&_swigt__p_SoTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureEnabledElement[] = { {&_swigt__p_SoTextureEnabledElement, 0, 0, 0}, {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoTextureEnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement[] = { {&_swigt__p_SoTextureImageElement, 0, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoTextureImageElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement__Model[] = { {&_swigt__p_SoTextureImageElement__Model, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement__Wrap[] = { {&_swigt__p_SoTextureImageElement__Wrap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureMatrixElement[] = { {&_swigt__p_SoTextureMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoTextureMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureMatrixTransform[] = { {&_swigt__p_SoTextureMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureOverrideElement[] = { {&_swigt__p_SoTextureOverrideElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureQualityElement[] = { {&_swigt__p_SoTextureQualityElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureScalePolicy[] = { {&_swigt__p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnit[] = { {&_swigt__p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnitElement[] = { {&_swigt__p_SoTextureUnitElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimeCounter[] = { {&_swigt__p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimerQueueSensor[] = { {&_swigt__p_SoTimerSensor, _p_SoTimerSensorTo_p_SoTimerQueueSensor, 0, 0}, {&_swigt__p_SoTimerQueueSensor, 0, 0, 0}, {&_swigt__p_SoAlarmSensor, _p_SoAlarmSensorTo_p_SoTimerQueueSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimerSensor[] = { {&_swigt__p_SoTimerSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoToVRML2Action[] = { {&_swigt__p_SoToVRML2Action, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoToVRMLAction[] = { {&_swigt__p_SoToVRMLAction, 0, 0, 0}, {&_swigt__p_SoToVRML2Action, _p_SoToVRML2ActionTo_p_SoToVRMLAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballDragger[] = { {&_swigt__p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballManip[] = { {&_swigt__p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranReceiver[] = { {&_swigt__p_SoTranReceiver, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranSender[] = { {&_swigt__p_SoTranSender, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransform[] = { {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransform, 0, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransform, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxDragger[] = { {&_swigt__p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxManip[] = { {&_swigt__p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformManip[] = { {&_swigt__p_SoTransformManip, 0, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransformManip, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformSeparator[] = { {&_swigt__p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformVec3f[] = { {&_swigt__p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformation[] = { {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformation, 0, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoTransformation, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerDragger[] = { {&_swigt__p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerManip[] = { {&_swigt__p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate1Dragger[] = { {&_swigt__p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate2Dragger[] = { {&_swigt__p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslation[] = { {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoTranslation, 0, 0}, {&_swigt__p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyElement[] = { {&_swigt__p_SoTransparencyElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyType[] = { {&_swigt__p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriangleStripSet[] = { {&_swigt__p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriggerAny[] = { {&_swigt__p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoType[] = { {&_swigt__p_SoType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTypeList[] = { {&_swigt__p_SoTypeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUniformShaderParameter[] = { {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoUniformShaderParameter, 0, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoUniformShaderParameter, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoUniformShaderParameter, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnits[] = { {&_swigt__p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnitsElement[] = { {&_swigt__p_SoUnitsElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVBO[] = { {&_swigt__p_SoVBO, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAnchor[] = { {&_swigt__p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAppearance[] = { {&_swigt__p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAudioClip[] = { {&_swigt__p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBackground[] = { {&_swigt__p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBillboard[] = { {&_swigt__p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBox[] = { {&_swigt__p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCollision[] = { {&_swigt__p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColor[] = { {&_swigt__p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColorInterpolator[] = { {&_swigt__p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCone[] = { {&_swigt__p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinate[] = { {&_swigt__p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinateInterpolator[] = { {&_swigt__p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinder[] = { {&_swigt__p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinderSensor[] = { {&_swigt__p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDirectionalLight[] = { {&_swigt__p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDragSensor[] = { {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoVRMLDragSensor, 0, 0}, {&_swigt__p_SoVRMLDragSensor, 0, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoVRMLDragSensor, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoVRMLDragSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLElevationGrid[] = { {&_swigt__p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLExtrusion[] = { {&_swigt__p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFog[] = { {&_swigt__p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFontStyle[] = { {&_swigt__p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGeometry[] = { {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLGeometry, 0, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoVRMLGeometry, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGroup[] = { {&_swigt__p_SoVRMLGroup, 0, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoVRMLGroup, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoVRMLGroup, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLImageTexture[] = { {&_swigt__p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedFaceSet[] = { {&_swigt__p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLine[] = { {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLIndexedLine, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLineSet[] = { {&_swigt__p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedShape[] = { {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLIndexedShape, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInline[] = { {&_swigt__p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInterpolator[] = { {&_swigt__p_SoVRMLInterpolator, 0, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoVRMLInterpolator, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLOD[] = { {&_swigt__p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLight[] = { {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoVRMLLight, 0, 0}, {&_swigt__p_SoVRMLLight, 0, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoVRMLLight, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoVRMLLight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMaterial[] = { {&_swigt__p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMovieTexture[] = { {&_swigt__p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNavigationInfo[] = { {&_swigt__p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormal[] = { {&_swigt__p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormalInterpolator[] = { {&_swigt__p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLOrientationInterpolator[] = { {&_swigt__p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLParent[] = { {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLParent, 0, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoVRMLParent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPixelTexture[] = { {&_swigt__p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPlaneSensor[] = { {&_swigt__p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointLight[] = { {&_swigt__p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointSet[] = { {&_swigt__p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPositionInterpolator[] = { {&_swigt__p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLProximitySensor[] = { {&_swigt__p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScalarInterpolator[] = { {&_swigt__p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScript[] = { {&_swigt__p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSensor[] = { {&_swigt__p_SoVRMLSensor, 0, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoVRMLSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLShape[] = { {&_swigt__p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSound[] = { {&_swigt__p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphere[] = { {&_swigt__p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphereSensor[] = { {&_swigt__p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSpotLight[] = { {&_swigt__p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSwitch[] = { {&_swigt__p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLText[] = { {&_swigt__p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTexture[] = { {&_swigt__p_SoVRMLTexture, 0, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoVRMLTexture, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoVRMLTexture, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoVRMLTexture, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureCoordinate[] = { {&_swigt__p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureTransform[] = { {&_swigt__p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTimeSensor[] = { {&_swigt__p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTouchSensor[] = { {&_swigt__p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTransform[] = { {&_swigt__p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexLine[] = { {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLVertexLine, 0, 0}, {&_swigt__p_SoVRMLVertexLine, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoVRMLVertexLine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexPoint[] = { {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoVRMLVertexPoint, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexShape[] = { {&_swigt__p_SoVRMLVertexShape, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLVertexShape, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoVRMLVertexShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLViewpoint[] = { {&_swigt__p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVisibilitySensor[] = { {&_swigt__p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLWorldInfo[] = { {&_swigt__p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorOutput[] = { {&_swigt__p_SoVectorOutput, 0, 0, 0}, {&_swigt__p_SoPSVectorOutput, _p_SoPSVectorOutputTo_p_SoVectorOutput, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorizeAction[] = { {&_swigt__p_SoVectorizeAction, 0, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoVectorizeAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorizePSAction[] = { {&_swigt__p_SoVectorizePSAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttribute[] = { {&_swigt__p_SoVertexAttribute, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttributeBinding[] = { {&_swigt__p_SoVertexAttributeBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttributeBindingElement[] = { {&_swigt__p_SoVertexAttributeBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttributeData[] = { {&_swigt__p_SoVertexAttributeData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttributeElement[] = { {&_swigt__p_SoVertexAttributeElement, 0, 0, 0}, {&_swigt__p_SoGLVertexAttributeElement, _p_SoGLVertexAttributeElementTo_p_SoVertexAttributeElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexProperty[] = { {&_swigt__p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShader[] = { {&_swigt__p_SoVertexShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShape[] = { {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoVertexShape, 0, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoVertexShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewVolumeElement[] = { {&_swigt__p_SoViewVolumeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewingMatrixElement[] = { {&_swigt__p_SoViewingMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoViewingMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewportRegionElement[] = { {&_swigt__p_SoViewportRegionElement, 0, 0, 0}, {&_swigt__p_SoGLViewportRegionElement, _p_SoGLViewportRegionElementTo_p_SoViewportRegionElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWAnchor[] = { {&_swigt__p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWInline[] = { {&_swigt__p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWindowElement[] = { {&_swigt__p_SoWindowElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWrapperKit[] = { {&_swigt__p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWriteAction[] = { {&_swigt__p_SoWriteAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_2__doublep[] = {{&_swigt__p_a_2__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_2__double[] = { {&_swigt__p_a_2__double, 0, 0, 0}, {&_swigt__p_a_2__doublep, _p_a_2__doublepTo_p_a_2__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_2__int32_t[] = { {&_swigt__p_a_2__int32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_2__int8_t[] = { {&_swigt__p_a_2__int8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_2__short[] = { {&_swigt__p_a_2__short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_3__int32_t[] = { {&_swigt__p_a_3__int32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_3__int8_t[] = { {&_swigt__p_a_3__int8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_3__short[] = { {&_swigt__p_a_3__short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__doublep[] = {{&_swigt__p_a_4__a_4__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__double[] = { {&_swigt__p_a_4__a_4__double, 0, 0, 0}, {&_swigt__p_a_4__a_4__doublep, _p_a_4__a_4__doublepTo_p_a_4__a_4__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__floatp[] = {{&_swigt__p_a_4__a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__float[] = { {&_swigt__p_a_4__a_4__float, 0, 0, 0}, {&_swigt__p_a_4__a_4__floatp, _p_a_4__a_4__floatpTo_p_a_4__a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__doublep[] = {{&_swigt__p_a_4__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__double[] = { {&_swigt__p_a_4__double, 0, 0, 0}, {&_swigt__p_a_4__doublep, _p_a_4__doublepTo_p_a_4__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__floatp[] = {{&_swigt__p_a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__float[] = { {&_swigt__p_a_4__float, 0, 0, 0}, {&_swigt__p_a_4__floatp, _p_a_4__floatpTo_p_a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__int32_t[] = { {&_swigt__p_a_4__int32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__int8_t[] = { {&_swigt__p_a_4__int8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__short[] = { {&_swigt__p_a_4__short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__uint32_t[] = { {&_swigt__p_a_4__uint32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__uint8_t[] = { {&_swigt__p_a_4__uint8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__unsigned_short[] = { {&_swigt__p_a_4__unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_cc_glglue[] = { {&_swigt__p_cc_glglue, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_cc_storage_f[] = { {&_swigt__p_cc_storage_f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_char[] = { {&_swigt__p_charp, _p_charpTo_p_char, 0, 0}, {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_charp[] = { {&_swigt__p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_close_func[] = { {&_swigt__p_close_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0}, {&_swigt__p_doublep, _p_doublepTo_p_double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_doublep[] = { {&_swigt__p_doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__charp[] = {{&_swigt__p_f_char__charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__char[] = { {&_swigt__p_f_char__charp, _p_f_char__charpTo_p_f_char__char, 0, 0}, {&_swigt__p_f_char__char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void__intp[] = {{&_swigt__p_f_float_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void__int[] = { {&_swigt__p_f_float_p_void__int, 0, 0, 0}, {&_swigt__p_f_float_p_void__intp, _p_f_float_p_void__intpTo_p_f_float_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoAction_p_SoNode__void[] = { {&_swigt__p_f_p_SoAction_p_SoNode__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto[] = { {&_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp[] = {{&_swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int[] = { {&_swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int, 0, 0, 0}, {&_swigt__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp, _p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intpTo_p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_q_const__SoError_p_void__void[] = { {&_swigt__p_f_p_q_const__SoError_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__SoGLRenderAction__AbortCode[] = { {&_swigt__p_f_p_void__SoGLRenderAction__AbortCode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__floatp[] = {{&_swigt__p_f_p_void__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__float[] = { {&_swigt__p_f_p_void__float, 0, 0, 0}, {&_swigt__p_f_p_void__floatp, _p_f_p_void__floatpTo_p_f_p_void__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__intp[] = {{&_swigt__p_f_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__int[] = { {&_swigt__p_f_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void__intp, _p_f_p_void__intpTo_p_f_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__p_void[] = { {&_swigt__p_f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__void[] = { {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_int__void[] = { {&_swigt__p_f_p_void_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp[] = {{&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int[] = { {&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, _p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_ScXMLStateMachine__void[] = { {&_swigt__p_f_p_void_p_ScXMLStateMachine__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void[] = { {&_swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoAction__void[] = { {&_swigt__p_f_p_void_p_SoAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoDragger__void[] = { {&_swigt__p_f_p_void_p_SoDragger__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoEventCallback__void[] = { {&_swigt__p_f_p_void_p_SoEventCallback__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__floatp[] = {{&_swigt__p_f_p_void_p_SoGLRenderAction__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__float[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__float, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoGLRenderAction__floatp, _p_f_p_void_p_SoGLRenderAction__floatpTo_p_f_p_void_p_SoGLRenderAction__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__void[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoInput__void[] = { {&_swigt__p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoPath__void[] = { {&_swigt__p_f_p_void_p_SoPath__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoRenderManager__void[] = { {&_swigt__p_f_p_void_p_SoRenderManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSceneManager__void[] = { {&_swigt__p_f_p_void_p_SoSceneManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSelection__void[] = { {&_swigt__p_f_p_void_p_SoSelection__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSensor__void[] = { {&_swigt__p_f_p_void_p_SoSensor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoState_q_const__int__void[] = { {&_swigt__p_f_p_void_p_SoState_q_const__int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__intp[] = {{&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__int[] = { {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, _p_f_p_void_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__longp[] = {{&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__long[] = { {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, _p_f_p_void_p_SoVRMLAudioClip_p_void__longpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__long, 0, 0}, {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLScript__void[] = { {&_swigt__p_f_p_void_p_SoVRMLScript__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp[] = { {&_swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, _p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, _p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp[] = {{&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int[] = { {&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, _p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intpTo_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__intp[] = {{&_swigt__p_f_p_void_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__int[] = { {&_swigt__p_f_p_void_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_void__intp, _p_f_p_void_p_void__intpTo_p_f_p_void_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t[] = { {&_swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f[] = {{&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0, 0}, {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, _p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4fTo_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_size_t__p_void[] = { {&_swigt__p_f_p_void_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_uint32_t__void[] = { {&_swigt__p_f_p_void_uint32_t__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp[] = {{&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int[] = { {&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, _p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intpTo_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, _p_f_q_const__p_void_r_q_const__SbBox3f__intpTo_p_f_q_const__p_void_r_q_const__SbBox3f__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbSphere__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbSphere__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, _p_f_q_const__p_void_r_q_const__SbSphere__intpTo_p_f_q_const__p_void_r_q_const__SbSphere__int, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, _p_f_q_const__p_void_r_q_const__SbVec3f__intpTo_p_f_q_const__p_void_r_q_const__SbVec3f__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbName_float_int_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbName_float_int_p_void__int[] = { {&_swigt__p_f_r_q_const__SbName_float_int_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, _p_f_r_q_const__SbName_float_int_p_void__intpTo_p_f_r_q_const__SbName_float_int_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int[] = { {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, _p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, _p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void[] = { {&_swigt__p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_uint32_t_p_void__void[] = { {&_swigt__p_f_uint32_t_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_void__p_void[] = { {&_swigt__p_f_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0}, {&_swigt__p_floatp, _p_floatpTo_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_floatp[] = { {&_swigt__p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int[] = { {&_swigt__p_intp, _p_intpTo_p_int, 0, 0}, {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int16_t[] = { {&_swigt__p_int16_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int32_t[] = { {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int8_t[] = { {&_swigt__p_int8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_intp[] = { {&_swigt__p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0}, {&_swigt__p_longp, _p_longpTo_p_long, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_longp[] = { {&_swigt__p_longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_open_func[] = { {&_swigt__p_open_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbName[] = { {&_swigt__p_p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbString[] = { {&_swigt__p_p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbVec2f[] = { {&_swigt__p_p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoClipPlane[] = {{&_swigt__p_p_SoClipPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMapCoordinate[] = {{&_swigt__p_p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCoordinate[] = {{&_swigt__p_p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTextureCoordinate[] = {{&_swigt__p_p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCombine[] = {{&_swigt__p_p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLightKit[] = {{&_swigt__p_p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedTriangleStripSet[] = {{&_swigt__p_p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTriangleStripSet[] = {{&_swigt__p_p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter4f[] = {{&_swigt__p_p_SoShaderParameter4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLExtrusion[] = {{&_swigt__p_p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOnOff[] = {{&_swigt__p_p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexAttribute[] = {{&_swigt__p_p_SoVertexAttribute, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBaseKit[] = {{&_swigt__p_p_SoBaseKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter4i[] = {{&_swigt__p_p_SoShaderParameter4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoExtSelection[] = {{&_swigt__p_p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSelection[] = {{&_swigt__p_p_SoSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexProperty[] = {{&_swigt__p_p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotationXYZ[] = {{&_swigt__p_p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComplexity[] = {{&_swigt__p_p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBillboard[] = {{&_swigt__p_p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray3f[] = {{&_swigt__p_p_SoShaderParameterArray3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLightModel[] = {{&_swigt__p_p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray3i[] = {{&_swigt__p_p_SoShaderParameterArray3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoUnits[] = {{&_swigt__p_p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShapeKit[] = {{&_swigt__p_p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotation[] = {{&_swigt__p_p_SoRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAnnotation[] = {{&_swigt__p_p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeRotation[] = {{&_swigt__p_p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeRotation[] = {{&_swigt__p_p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateRotation[] = {{&_swigt__p_p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsSurface[] = {{&_swigt__p_p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedNurbsSurface[] = {{&_swigt__p_p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfile[] = {{&_swigt__p_p_SoProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLinearProfile[] = {{&_swigt__p_p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsProfile[] = {{&_swigt__p_p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFieldConverter[] = {{&_swigt__p_p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLParent[] = {{&_swigt__p_p_SoVRMLParent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec2f[] = {{&_swigt__p_p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLLight[] = {{&_swigt__p_p_SoVRMLLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoClipPlaneManip[] = {{&_swigt__p_p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDepthBuffer[] = {{&_swigt__p_p_SoDepthBuffer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAsciiText[] = {{&_swigt__p_p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLGeometry[] = {{&_swigt__p_p_SoVRMLGeometry, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterMatrixArray[] = {{&_swigt__p_p_SoShaderParameterMatrixArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCylinder[] = {{&_swigt__p_p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateCylinder[] = {{&_swigt__p_p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCylinder[] = {{&_swigt__p_p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNavigationInfo[] = {{&_swigt__p_p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComputeBoundingBox[] = {{&_swigt__p_p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMatrixTransform[] = {{&_swigt__p_p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMapTransform[] = {{&_swigt__p_p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransform[] = {{&_swigt__p_p_SoTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoResetTransform[] = {{&_swigt__p_p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture2Transform[] = {{&_swigt__p_p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture3Transform[] = {{&_swigt__p_p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureMatrixTransform[] = {{&_swigt__p_p_SoTextureMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTextureTransform[] = {{&_swigt__p_p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTransform[] = {{&_swigt__p_p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec3f[] = {{&_swigt__p_p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec3f[] = {{&_swigt__p_p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSeparatorKit[] = {{&_swigt__p_p_SoSeparatorKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexLine[] = {{&_swigt__p_p_SoVRMLVertexLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFullPath[] = {{&_swigt__p_p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLight[] = {{&_swigt__p_p_SoLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSound[] = {{&_swigt__p_p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeEngine[] = {{&_swigt__p_p_SoNodeEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedPointSet[] = {{&_swigt__p_p_SoIndexedPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointSet[] = {{&_swigt__p_p_SoPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPointSet[] = {{&_swigt__p_p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMaterial[] = {{&_swigt__p_p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLMaterial[] = {{&_swigt__p_p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBaseColor[] = {{&_swigt__p_p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTriggerAny[] = {{&_swigt__p_p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoColorIndex[] = {{&_swigt__p_p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLColor[] = {{&_swigt__p_p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLWorldInfo[] = {{&_swigt__p_p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLight[] = {{&_swigt__p_p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSpotLight[] = {{&_swigt__p_p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateDefault[] = {{&_swigt__p_p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBlinker[] = {{&_swigt__p_p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShuttle[] = {{&_swigt__p_p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLGroup[] = {{&_swigt__p_p_SoVRMLGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray4f[] = {{&_swigt__p_p_SoShaderParameterArray4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderObject[] = {{&_swigt__p_p_SoShaderObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAnchor[] = {{&_swigt__p_p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSensor[] = {{&_swigt__p_p_SoVRMLSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCylinderSensor[] = {{&_swigt__p_p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTouchSensor[] = {{&_swigt__p_p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBoolOperation[] = {{&_swigt__p_p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMarkerSet[] = {{&_swigt__p_p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedMarkerSet[] = {{&_swigt__p_p_SoIndexedMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray4i[] = {{&_swigt__p_p_SoShaderParameterArray4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLightManip[] = {{&_swigt__p_p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLightManip[] = {{&_swigt__p_p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLightManip[] = {{&_swigt__p_p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedNurbsCurve[] = {{&_swigt__p_p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsCurve[] = {{&_swigt__p_p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedShape[] = {{&_swigt__p_p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNonIndexedShape[] = {{&_swigt__p_p_SoNonIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedShape[] = {{&_swigt__p_p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotor[] = {{&_swigt__p_p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateCube[] = {{&_swigt__p_p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLText[] = {{&_swigt__p_p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOneShot[] = {{&_swigt__p_p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformerManip[] = {{&_swigt__p_p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec3f[] = {{&_swigt__p_p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateFloat[] = {{&_swigt__p_p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAntiSquish[] = {{&_swigt__p_p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGroup[] = {{&_swigt__p_p_SoGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMultipleCopy[] = {{&_swigt__p_p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoListener[] = {{&_swigt__p_p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec4f[] = {{&_swigt__p_p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec4f[] = {{&_swigt__p_p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture2Convert[] = {{&_swigt__p_p_SoTexture2Convert, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformation[] = {{&_swigt__p_p_SoTransformation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFontStyle[] = {{&_swigt__p_p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLFontStyle[] = {{&_swigt__p_p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoImage[] = {{&_swigt__p_p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFieldContainer[] = {{&_swigt__p_p_SoFieldContainer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAppearance[] = {{&_swigt__p_p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCubeMap[] = {{&_swigt__p_p_SoTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSceneTextureCubeMap[] = {{&_swigt__p_p_SoSceneTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLight[] = {{&_swigt__p_p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPointLight[] = {{&_swigt__p_p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformManip[] = {{&_swigt__p_p_SoTransformManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPolygonOffset[] = {{&_swigt__p_p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBackground[] = {{&_swigt__p_p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWWWAnchor[] = {{&_swigt__p_p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEventCallback[] = {{&_swigt__p_p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCallback[] = {{&_swigt__p_p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateObject[] = {{&_swigt__p_p_SoTextureCoordinateObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLDragSensor[] = {{&_swigt__p_p_SoVRMLDragSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPlaneSensor[] = {{&_swigt__p_p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLProximitySensor[] = {{&_swigt__p_p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSphereSensor[] = {{&_swigt__p_p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTimeSensor[] = {{&_swigt__p_p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVisibilitySensor[] = {{&_swigt__p_p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoJackManip[] = {{&_swigt__p_p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFrustumCamera[] = {{&_swigt__p_p_SoFrustumCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOrthographicCamera[] = {{&_swigt__p_p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPerspectiveCamera[] = {{&_swigt__p_p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCamera[] = {{&_swigt__p_p_SoCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCameraKit[] = {{&_swigt__p_p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoArray[] = {{&_swigt__p_p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter1f[] = {{&_swigt__p_p_SoShaderParameter1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoElapsedTime[] = {{&_swigt__p_p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSphere[] = {{&_swigt__p_p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateEnvironment[] = {{&_swigt__p_p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEnvironment[] = {{&_swigt__p_p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSelectOne[] = {{&_swigt__p_p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDrawStyle[] = {{&_swigt__p_p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter1i[] = {{&_swigt__p_p_SoShaderParameter1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBox[] = {{&_swigt__p_p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoHeightMapToNormalMap[] = {{&_swigt__p_p_SoHeightMapToNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateNormalMap[] = {{&_swigt__p_p_SoTextureCoordinateNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransparencyType[] = {{&_swigt__p_p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLFog[] = {{&_swigt__p_p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec4f[] = {{&_swigt__p_p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoConcatenate[] = {{&_swigt__p_p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSurroundScale[] = {{&_swigt__p_p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexShape[] = {{&_swigt__p_p_SoVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexShape[] = {{&_swigt__p_p_SoVRMLVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCone[] = {{&_swigt__p_p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureUnit[] = {{&_swigt__p_p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTempPath[] = {{&_swigt__p_p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFile[] = {{&_swigt__p_p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAppearanceKit[] = {{&_swigt__p_p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateSphericalDragger[] = {{&_swigt__p_p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateDiscDragger[] = {{&_swigt__p_p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateCylindricalDragger[] = {{&_swigt__p_p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLightDragger[] = {{&_swigt__p_p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoJackDragger[] = {{&_swigt__p_p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoHandleBoxDragger[] = {{&_swigt__p_p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDragPointDragger[] = {{&_swigt__p_p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLightDragger[] = {{&_swigt__p_p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCenterballDragger[] = {{&_swigt__p_p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDragger[] = {{&_swigt__p_p_SoDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale1Dragger[] = {{&_swigt__p_p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale2Dragger[] = {{&_swigt__p_p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale2UniformDragger[] = {{&_swigt__p_p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScaleUniformDragger[] = {{&_swigt__p_p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLightDragger[] = {{&_swigt__p_p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabBoxDragger[] = {{&_swigt__p_p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabPlaneDragger[] = {{&_swigt__p_p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTrackballDragger[] = {{&_swigt__p_p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformBoxDragger[] = {{&_swigt__p_p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformerDragger[] = {{&_swigt__p_p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslate1Dragger[] = {{&_swigt__p_p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslate2Dragger[] = {{&_swigt__p_p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPickStyle[] = {{&_swigt__p_p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLInterpolator[] = {{&_swigt__p_p_SoVRMLInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLColorInterpolator[] = {{&_swigt__p_p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCoordinateInterpolator[] = {{&_swigt__p_p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNormalInterpolator[] = {{&_swigt__p_p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLOrientationInterpolator[] = {{&_swigt__p_p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPositionInterpolator[] = {{&_swigt__p_p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLScalarInterpolator[] = {{&_swigt__p_p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCone[] = {{&_swigt__p_p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedLine[] = {{&_swigt__p_p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderProgram[] = {{&_swigt__p_p_SoShaderProgram, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture[] = {{&_swigt__p_p_SoTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCacheHint[] = {{&_swigt__p_p_SoCacheHint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTexture[] = {{&_swigt__p_p_SoVRMLTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLImageTexture[] = {{&_swigt__p_p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLMovieTexture[] = {{&_swigt__p_p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPixelTexture[] = {{&_swigt__p_p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformVec3f[] = {{&_swigt__p_p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateFunction[] = {{&_swigt__p_p_SoTextureCoordinateFunction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeKitListPart[] = {{&_swigt__p_p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSphere[] = {{&_swigt__p_p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateSphere[] = {{&_swigt__p_p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSceneKit[] = {{&_swigt__p_p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPendulum[] = {{&_swigt__p_p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFragmentShader[] = {{&_swigt__p_p_SoFragmentShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexShader[] = {{&_swigt__p_p_SoVertexShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShapeHints[] = {{&_swigt__p_p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture2[] = {{&_swigt__p_p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSceneTexture2[] = {{&_swigt__p_p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture3[] = {{&_swigt__p_p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter2f[] = {{&_swigt__p_p_SoShaderParameter2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinatePlane[] = {{&_swigt__p_p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterMatrix[] = {{&_swigt__p_p_SoShaderParameterMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateReflectionMap[] = {{&_swigt__p_p_SoTextureCoordinateReflectionMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAudioClip[] = {{&_swigt__p_p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTimeCounter[] = {{&_swigt__p_p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCounter[] = {{&_swigt__p_p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoQuadMesh[] = {{&_swigt__p_p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPathSwitch[] = {{&_swigt__p_p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter2i[] = {{&_swigt__p_p_SoShaderParameter2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSwitch[] = {{&_swigt__p_p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoText2[] = {{&_swigt__p_p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSeparator[] = {{&_swigt__p_p_SoSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoText3[] = {{&_swigt__p_p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformSeparator[] = {{&_swigt__p_p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray1f[] = {{&_swigt__p_p_SoShaderParameterArray1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInteractionKit[] = {{&_swigt__p_p_SoInteractionKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMap[] = {{&_swigt__p_p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfileCoordinate2[] = {{&_swigt__p_p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinate2[] = {{&_swigt__p_p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNormal[] = {{&_swigt__p_p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCoordinate3[] = {{&_swigt__p_p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfileCoordinate3[] = {{&_swigt__p_p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinate3[] = {{&_swigt__p_p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCoordinate4[] = {{&_swigt__p_p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray1i[] = {{&_swigt__p_p_SoShaderParameterArray1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLLOD[] = {{&_swigt__p_p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFont[] = {{&_swigt__p_p_SoFont, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeRotationFromTo[] = {{&_swigt__p_p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLocateHighlight[] = {{&_swigt__p_p_SoLocateHighlight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLElevationGrid[] = {{&_swigt__p_p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLShape[] = {{&_swigt__p_p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexPoint[] = {{&_swigt__p_p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLViewpoint[] = {{&_swigt__p_p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateBinding[] = {{&_swigt__p_p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMaterialBinding[] = {{&_swigt__p_p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNormalBinding[] = {{&_swigt__p_p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexAttributeBinding[] = {{&_swigt__p_p_SoVertexAttributeBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolate[] = {{&_swigt__p_p_SoInterpolate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformBoxManip[] = {{&_swigt__p_p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabBoxManip[] = {{&_swigt__p_p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoHandleBoxManip[] = {{&_swigt__p_p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCollision[] = {{&_swigt__p_p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPackedColor[] = {{&_swigt__p_p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeMatrix[] = {{&_swigt__p_p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeMatrix[] = {{&_swigt__p_p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeKitPath[] = {{&_swigt__p_p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSwitch[] = {{&_swigt__p_p_SoSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedFaceSet[] = {{&_swigt__p_p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFaceSet[] = {{&_swigt__p_p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslation[] = {{&_swigt__p_p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedFaceSet[] = {{&_swigt__p_p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShape[] = {{&_swigt__p_p_SoShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureScalePolicy[] = {{&_swigt__p_p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLScript[] = {{&_swigt__p_p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNormal[] = {{&_swigt__p_p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter3f[] = {{&_swigt__p_p_SoShaderParameter3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLInline[] = {{&_swigt__p_p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCalculator[] = {{&_swigt__p_p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter3i[] = {{&_swigt__p_p_SoShaderParameter3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCube[] = {{&_swigt__p_p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWrapperKit[] = {{&_swigt__p_p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGate[] = {{&_swigt__p_p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray2f[] = {{&_swigt__p_p_SoShaderParameterArray2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale[] = {{&_swigt__p_p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameterArray2i[] = {{&_swigt__p_p_SoShaderParameterArray2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLineSet[] = {{&_swigt__p_p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedLineSet[] = {{&_swigt__p_p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLabel[] = {{&_swigt__p_p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedLineSet[] = {{&_swigt__p_p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProtoInstance[] = {{&_swigt__p_p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInfo[] = {{&_swigt__p_p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderParameter[] = {{&_swigt__p_p_SoShaderParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoUniformShaderParameter[] = {{&_swigt__p_p_SoUniformShaderParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShaderStateMatrixParameter[] = {{&_swigt__p_p_SoShaderStateMatrixParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec2f[] = {{&_swigt__p_p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec2f[] = {{&_swigt__p_p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLight[] = {{&_swigt__p_p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLDirectionalLight[] = {{&_swigt__p_p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProto[] = {{&_swigt__p_p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCenterballManip[] = {{&_swigt__p_p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTrackballManip[] = {{&_swigt__p_p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWWWInline[] = {{&_swigt__p_p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLOD[] = {{&_swigt__p_p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLevelOfDetail[] = {{&_swigt__p_p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBase[] = { {&_swigt__p_p_SoClipPlane, _p_p_SoClipPlaneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMapCoordinate, _p_p_SoBumpMapCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCoordinate, _p_p_SoVRMLCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTextureCoordinate, _p_p_SoVRMLTextureCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCombine, _p_p_SoTextureCombineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLightKit, _p_p_SoLightKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedTriangleStripSet, _p_p_SoIndexedTriangleStripSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTriangleStripSet, _p_p_SoTriangleStripSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter4f, _p_p_SoShaderParameter4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLExtrusion, _p_p_SoVRMLExtrusionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOnOff, _p_p_SoOnOffTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexAttribute, _p_p_SoVertexAttributeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBaseKit, _p_p_SoBaseKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter4i, _p_p_SoShaderParameter4iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoExtSelection, _p_p_SoExtSelectionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSelection, _p_p_SoSelectionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexProperty, _p_p_SoVertexPropertyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotationXYZ, _p_p_SoRotationXYZTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComplexity, _p_p_SoComplexityTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBillboard, _p_p_SoVRMLBillboardTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray3f, _p_p_SoShaderParameterArray3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLightModel, _p_p_SoLightModelTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray3i, _p_p_SoShaderParameterArray3iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoUnits, _p_p_SoUnitsTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShapeKit, _p_p_SoShapeKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotation, _p_p_SoRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAnnotation, _p_p_SoAnnotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeRotation, _p_p_SoComposeRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeRotation, _p_p_SoDecomposeRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateRotation, _p_p_SoInterpolateRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsSurface, _p_p_SoNurbsSurfaceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedNurbsSurface, _p_p_SoIndexedNurbsSurfaceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfile, _p_p_SoProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLinearProfile, _p_p_SoLinearProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsProfile, _p_p_SoNurbsProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFieldConverter, _p_p_SoFieldConverterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLParent, _p_p_SoVRMLParentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec2f, _p_p_SoInterpolateVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLLight, _p_p_SoVRMLLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoClipPlaneManip, _p_p_SoClipPlaneManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDepthBuffer, _p_p_SoDepthBufferTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAsciiText, _p_p_SoAsciiTextTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLGeometry, _p_p_SoVRMLGeometryTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterMatrixArray, _p_p_SoShaderParameterMatrixArrayTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCylinder, _p_p_SoCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCylinder, _p_p_SoTextureCoordinateCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCylinder, _p_p_SoVRMLCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNavigationInfo, _p_p_SoVRMLNavigationInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComputeBoundingBox, _p_p_SoComputeBoundingBoxTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMatrixTransform, _p_p_SoMatrixTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMapTransform, _p_p_SoBumpMapTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransform, _p_p_SoTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoResetTransform, _p_p_SoResetTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture2Transform, _p_p_SoTexture2TransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture3Transform, _p_p_SoTexture3TransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureMatrixTransform, _p_p_SoTextureMatrixTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTextureTransform, _p_p_SoVRMLTextureTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTransform, _p_p_SoVRMLTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec3f, _p_p_SoComposeVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec3f, _p_p_SoDecomposeVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPath, _p_p_SoPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSeparatorKit, _p_p_SoSeparatorKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexLine, _p_p_SoVRMLVertexLineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFullPath, _p_p_SoFullPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLight, _p_p_SoLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSound, _p_p_SoVRMLSoundTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeEngine, _p_p_SoNodeEngineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEngine, _p_p_SoEngineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedPointSet, _p_p_SoIndexedPointSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointSet, _p_p_SoPointSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPointSet, _p_p_SoVRMLPointSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMaterial, _p_p_SoMaterialTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLMaterial, _p_p_SoVRMLMaterialTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBaseColor, _p_p_SoBaseColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTriggerAny, _p_p_SoTriggerAnyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoColorIndex, _p_p_SoColorIndexTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLColor, _p_p_SoVRMLColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLWorldInfo, _p_p_SoVRMLWorldInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLight, _p_p_SoSpotLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSpotLight, _p_p_SoVRMLSpotLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateDefault, _p_p_SoTextureCoordinateDefaultTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBlinker, _p_p_SoBlinkerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShuttle, _p_p_SoShuttleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLGroup, _p_p_SoVRMLGroupTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray4f, _p_p_SoShaderParameterArray4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderObject, _p_p_SoShaderObjectTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAnchor, _p_p_SoVRMLAnchorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSensor, _p_p_SoVRMLSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCylinderSensor, _p_p_SoVRMLCylinderSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTouchSensor, _p_p_SoVRMLTouchSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBoolOperation, _p_p_SoBoolOperationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMarkerSet, _p_p_SoMarkerSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedMarkerSet, _p_p_SoIndexedMarkerSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray4i, _p_p_SoShaderParameterArray4iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLightManip, _p_p_SoSpotLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLightManip, _p_p_SoPointLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLightManip, _p_p_SoDirectionalLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedNurbsCurve, _p_p_SoIndexedNurbsCurveTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsCurve, _p_p_SoNurbsCurveTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedShape, _p_p_SoIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNonIndexedShape, _p_p_SoNonIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedShape, _p_p_SoVRMLIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotor, _p_p_SoRotorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCube, _p_p_SoTextureCoordinateCubeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLText, _p_p_SoVRMLTextTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOneShot, _p_p_SoOneShotTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformerManip, _p_p_SoTransformerManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec3f, _p_p_SoInterpolateVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateFloat, _p_p_SoInterpolateFloatTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAntiSquish, _p_p_SoAntiSquishTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoGroup, _p_p_SoGroupTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMultipleCopy, _p_p_SoMultipleCopyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoListener, _p_p_SoListenerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec4f, _p_p_SoComposeVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec4f, _p_p_SoDecomposeVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture2Convert, _p_p_SoTexture2ConvertTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformation, _p_p_SoTransformationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFontStyle, _p_p_SoFontStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLFontStyle, _p_p_SoVRMLFontStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoImage, _p_p_SoImageTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFieldContainer, _p_p_SoFieldContainerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAppearance, _p_p_SoVRMLAppearanceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCubeMap, _p_p_SoTextureCubeMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSceneTextureCubeMap, _p_p_SoSceneTextureCubeMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLight, _p_p_SoPointLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPointLight, _p_p_SoVRMLPointLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformManip, _p_p_SoTransformManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPolygonOffset, _p_p_SoPolygonOffsetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBackground, _p_p_SoVRMLBackgroundTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWWWAnchor, _p_p_SoWWWAnchorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEventCallback, _p_p_SoEventCallbackTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCallback, _p_p_SoCallbackTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateObject, _p_p_SoTextureCoordinateObjectTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLDragSensor, _p_p_SoVRMLDragSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPlaneSensor, _p_p_SoVRMLPlaneSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLProximitySensor, _p_p_SoVRMLProximitySensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSphereSensor, _p_p_SoVRMLSphereSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTimeSensor, _p_p_SoVRMLTimeSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVisibilitySensor, _p_p_SoVRMLVisibilitySensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoJackManip, _p_p_SoJackManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFrustumCamera, _p_p_SoFrustumCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOrthographicCamera, _p_p_SoOrthographicCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPerspectiveCamera, _p_p_SoPerspectiveCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCamera, _p_p_SoCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCameraKit, _p_p_SoCameraKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoArray, _p_p_SoArrayTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter1f, _p_p_SoShaderParameter1fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoElapsedTime, _p_p_SoElapsedTimeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSphere, _p_p_SoVRMLSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateEnvironment, _p_p_SoTextureCoordinateEnvironmentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEnvironment, _p_p_SoEnvironmentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSelectOne, _p_p_SoSelectOneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDrawStyle, _p_p_SoDrawStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter1i, _p_p_SoShaderParameter1iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBox, _p_p_SoVRMLBoxTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoHeightMapToNormalMap, _p_p_SoHeightMapToNormalMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateNormalMap, _p_p_SoTextureCoordinateNormalMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransparencyType, _p_p_SoTransparencyTypeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLFog, _p_p_SoVRMLFogTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec4f, _p_p_SoInterpolateVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoConcatenate, _p_p_SoConcatenateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSurroundScale, _p_p_SoSurroundScaleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexShape, _p_p_SoVertexShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexShape, _p_p_SoVRMLVertexShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBase, 0, 0, 0}, {&_swigt__p_p_SoCone, _p_p_SoConeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureUnit, _p_p_SoTextureUnitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTempPath, _p_p_SoTempPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFile, _p_p_SoFileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAppearanceKit, _p_p_SoAppearanceKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateSphericalDragger, _p_p_SoRotateSphericalDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateDiscDragger, _p_p_SoRotateDiscDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateCylindricalDragger, _p_p_SoRotateCylindricalDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLightDragger, _p_p_SoPointLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoJackDragger, _p_p_SoJackDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoHandleBoxDragger, _p_p_SoHandleBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDragPointDragger, _p_p_SoDragPointDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLightDragger, _p_p_SoDirectionalLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCenterballDragger, _p_p_SoCenterballDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDragger, _p_p_SoDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale1Dragger, _p_p_SoScale1DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale2Dragger, _p_p_SoScale2DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale2UniformDragger, _p_p_SoScale2UniformDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScaleUniformDragger, _p_p_SoScaleUniformDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLightDragger, _p_p_SoSpotLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabBoxDragger, _p_p_SoTabBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabPlaneDragger, _p_p_SoTabPlaneDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTrackballDragger, _p_p_SoTrackballDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformBoxDragger, _p_p_SoTransformBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformerDragger, _p_p_SoTransformerDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslate1Dragger, _p_p_SoTranslate1DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslate2Dragger, _p_p_SoTranslate2DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPickStyle, _p_p_SoPickStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLInterpolator, _p_p_SoVRMLInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLColorInterpolator, _p_p_SoVRMLColorInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCoordinateInterpolator, _p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNormalInterpolator, _p_p_SoVRMLNormalInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLOrientationInterpolator, _p_p_SoVRMLOrientationInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPositionInterpolator, _p_p_SoVRMLPositionInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLScalarInterpolator, _p_p_SoVRMLScalarInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCone, _p_p_SoVRMLConeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLine, _p_p_SoVRMLIndexedLineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderProgram, _p_p_SoShaderProgramTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture, _p_p_SoTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCacheHint, _p_p_SoCacheHintTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTexture, _p_p_SoVRMLTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLImageTexture, _p_p_SoVRMLImageTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLMovieTexture, _p_p_SoVRMLMovieTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPixelTexture, _p_p_SoVRMLPixelTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformVec3f, _p_p_SoTransformVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateFunction, _p_p_SoTextureCoordinateFunctionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeKitListPart, _p_p_SoNodeKitListPartTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSphere, _p_p_SoSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateSphere, _p_p_SoTextureCoordinateSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSceneKit, _p_p_SoSceneKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPendulum, _p_p_SoPendulumTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFragmentShader, _p_p_SoFragmentShaderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexShader, _p_p_SoVertexShaderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShapeHints, _p_p_SoShapeHintsTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture2, _p_p_SoTexture2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSceneTexture2, _p_p_SoSceneTexture2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture3, _p_p_SoTexture3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter2f, _p_p_SoShaderParameter2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinatePlane, _p_p_SoTextureCoordinatePlaneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterMatrix, _p_p_SoShaderParameterMatrixTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateReflectionMap, _p_p_SoTextureCoordinateReflectionMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAudioClip, _p_p_SoVRMLAudioClipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTimeCounter, _p_p_SoTimeCounterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCounter, _p_p_SoCounterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoQuadMesh, _p_p_SoQuadMeshTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPathSwitch, _p_p_SoPathSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter2i, _p_p_SoShaderParameter2iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSwitch, _p_p_SoVRMLSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoText2, _p_p_SoText2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSeparator, _p_p_SoSeparatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoText3, _p_p_SoText3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformSeparator, _p_p_SoTransformSeparatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray1f, _p_p_SoShaderParameterArray1fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInteractionKit, _p_p_SoInteractionKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMap, _p_p_SoBumpMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfileCoordinate2, _p_p_SoProfileCoordinate2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinate2, _p_p_SoTextureCoordinate2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNormal, _p_p_SoVRMLNormalTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCoordinate3, _p_p_SoCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfileCoordinate3, _p_p_SoProfileCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinate3, _p_p_SoTextureCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCoordinate4, _p_p_SoCoordinate4To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray1i, _p_p_SoShaderParameterArray1iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLLOD, _p_p_SoVRMLLODTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFont, _p_p_SoFontTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeRotationFromTo, _p_p_SoComposeRotationFromToTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLocateHighlight, _p_p_SoLocateHighlightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLElevationGrid, _p_p_SoVRMLElevationGridTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLShape, _p_p_SoVRMLShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexPoint, _p_p_SoVRMLVertexPointTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLViewpoint, _p_p_SoVRMLViewpointTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateBinding, _p_p_SoTextureCoordinateBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMaterialBinding, _p_p_SoMaterialBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNormalBinding, _p_p_SoNormalBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexAttributeBinding, _p_p_SoVertexAttributeBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolate, _p_p_SoInterpolateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformBoxManip, _p_p_SoTransformBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabBoxManip, _p_p_SoTabBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoHandleBoxManip, _p_p_SoHandleBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCollision, _p_p_SoVRMLCollisionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPackedColor, _p_p_SoPackedColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeMatrix, _p_p_SoComposeMatrixTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeMatrix, _p_p_SoDecomposeMatrixTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeKitPath, _p_p_SoNodeKitPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSwitch, _p_p_SoSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedFaceSet, _p_p_SoIndexedFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFaceSet, _p_p_SoFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslation, _p_p_SoTranslationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedFaceSet, _p_p_SoVRMLIndexedFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShape, _p_p_SoShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureScalePolicy, _p_p_SoTextureScalePolicyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLScript, _p_p_SoVRMLScriptTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNormal, _p_p_SoNormalTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter3f, _p_p_SoShaderParameter3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLInline, _p_p_SoVRMLInlineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCalculator, _p_p_SoCalculatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter3i, _p_p_SoShaderParameter3iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCube, _p_p_SoCubeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWrapperKit, _p_p_SoWrapperKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoGate, _p_p_SoGateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray2f, _p_p_SoShaderParameterArray2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale, _p_p_SoScaleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameterArray2i, _p_p_SoShaderParameterArray2iTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNode, _p_p_SoNodeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLineSet, _p_p_SoLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedLineSet, _p_p_SoIndexedLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLabel, _p_p_SoLabelTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLineSet, _p_p_SoVRMLIndexedLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProtoInstance, _p_p_SoProtoInstanceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInfo, _p_p_SoInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderParameter, _p_p_SoShaderParameterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoUniformShaderParameter, _p_p_SoUniformShaderParameterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShaderStateMatrixParameter, _p_p_SoShaderStateMatrixParameterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec2f, _p_p_SoDecomposeVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec2f, _p_p_SoComposeVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLight, _p_p_SoDirectionalLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLDirectionalLight, _p_p_SoVRMLDirectionalLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProto, _p_p_SoProtoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCenterballManip, _p_p_SoCenterballManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTrackballManip, _p_p_SoTrackballManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWWWInline, _p_p_SoWWWInlineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLOD, _p_p_SoLODTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLevelOfDetail, _p_p_SoLevelOfDetailTo_p_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngine[] = { {&_swigt__p_p_SoComposeMatrix, _p_p_SoComposeMatrixTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeMatrix, _p_p_SoDecomposeMatrixTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTriggerAny, _p_p_SoTriggerAnyTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoElapsedTime, _p_p_SoElapsedTimeTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec2f, _p_p_SoComposeVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec2f, _p_p_SoDecomposeVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec4f, _p_p_SoInterpolateVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComputeBoundingBox, _p_p_SoComputeBoundingBoxTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeRotationFromTo, _p_p_SoComposeRotationFromToTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec3f, _p_p_SoInterpolateVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoBoolOperation, _p_p_SoBoolOperationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoOnOff, _p_p_SoOnOffTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoGate, _p_p_SoGateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateRotation, _p_p_SoInterpolateRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeRotation, _p_p_SoComposeRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeRotation, _p_p_SoDecomposeRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec2f, _p_p_SoInterpolateVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoCalculator, _p_p_SoCalculatorTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTexture2Convert, _p_p_SoTexture2ConvertTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTransformVec3f, _p_p_SoTransformVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateFloat, _p_p_SoInterpolateFloatTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoOneShot, _p_p_SoOneShotTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoSelectOne, _p_p_SoSelectOneTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTimeCounter, _p_p_SoTimeCounterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoCounter, _p_p_SoCounterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolate, _p_p_SoInterpolateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec4f, _p_p_SoComposeVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec4f, _p_p_SoDecomposeVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoConcatenate, _p_p_SoConcatenateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoHeightMapToNormalMap, _p_p_SoHeightMapToNormalMapTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoFieldConverter, _p_p_SoFieldConverterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec3f, _p_p_SoDecomposeVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec3f, _p_p_SoComposeVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngineOutput[] = { {&_swigt__p_p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage3[] = {{&_swigt__p_p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFShort[] = {{&_swigt__p_p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFShort[] = {{&_swigt__p_p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFInt32[] = {{&_swigt__p_p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFInt32[] = {{&_swigt__p_p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUShort[] = {{&_swigt__p_p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUShort[] = {{&_swigt__p_p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4ub[] = {{&_swigt__p_p_SoSFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4ub[] = {{&_swigt__p_p_SoMFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUInt32[] = {{&_swigt__p_p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUInt32[] = {{&_swigt__p_p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2d[] = {{&_swigt__p_p_SoSFBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4b[] = {{&_swigt__p_p_SoSFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4b[] = {{&_swigt__p_p_SoMFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2f[] = {{&_swigt__p_p_SoSFBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4d[] = {{&_swigt__p_p_SoSFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4d[] = {{&_swigt__p_p_SoMFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4f[] = {{&_swigt__p_p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4f[] = {{&_swigt__p_p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFMatrix[] = {{&_swigt__p_p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFMatrix[] = {{&_swigt__p_p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTime[] = {{&_swigt__p_p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4us[] = {{&_swigt__p_p_SoSFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4us[] = {{&_swigt__p_p_SoMFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4i32[] = {{&_swigt__p_p_SoSFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4i32[] = {{&_swigt__p_p_SoMFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPath[] = {{&_swigt__p_p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2s[] = {{&_swigt__p_p_SoSFBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2b[] = {{&_swigt__p_p_SoSFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2b[] = {{&_swigt__p_p_SoMFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3i32[] = {{&_swigt__p_p_SoSFBox3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2d[] = {{&_swigt__p_p_SoMFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2d[] = {{&_swigt__p_p_SoSFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFDouble[] = {{&_swigt__p_p_SoMFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFDouble[] = {{&_swigt__p_p_SoSFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4s[] = {{&_swigt__p_p_SoSFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4s[] = {{&_swigt__p_p_SoMFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBitMask[] = {{&_swigt__p_p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBitMask[] = {{&_swigt__p_p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFRotation[] = {{&_swigt__p_p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFRotation[] = {{&_swigt__p_p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2f[] = {{&_swigt__p_p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2f[] = {{&_swigt__p_p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFTime[] = {{&_swigt__p_p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPath[] = {{&_swigt__p_p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEngine[] = {{&_swigt__p_p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEngine[] = {{&_swigt__p_p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSField[] = {{&_swigt__p_p_SoSField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3i32[] = {{&_swigt__p_p_SoSFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3i32[] = {{&_swigt__p_p_SoMFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTrigger[] = {{&_swigt__p_p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3d[] = {{&_swigt__p_p_SoSFBox3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColorRGBA[] = {{&_swigt__p_p_SoMFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColorRGBA[] = {{&_swigt__p_p_SoSFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2s[] = {{&_swigt__p_p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2s[] = {{&_swigt__p_p_SoMFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2i32[] = {{&_swigt__p_p_SoSFBox2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPlane[] = {{&_swigt__p_p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPlane[] = {{&_swigt__p_p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3f[] = {{&_swigt__p_p_SoSFBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColor[] = {{&_swigt__p_p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColor[] = {{&_swigt__p_p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEnum[] = {{&_swigt__p_p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFNode[] = {{&_swigt__p_p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2i32[] = {{&_swigt__p_p_SoMFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2i32[] = {{&_swigt__p_p_SoSFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage[] = {{&_swigt__p_p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3s[] = {{&_swigt__p_p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3b[] = {{&_swigt__p_p_SoMFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3b[] = {{&_swigt__p_p_SoSFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3d[] = {{&_swigt__p_p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3d[] = {{&_swigt__p_p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEnum[] = {{&_swigt__p_p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3f[] = {{&_swigt__p_p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3f[] = {{&_swigt__p_p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFNode[] = {{&_swigt__p_p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFFloat[] = {{&_swigt__p_p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBool[] = {{&_swigt__p_p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFFloat[] = {{&_swigt__p_p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFString[] = {{&_swigt__p_p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFString[] = {{&_swigt__p_p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFName[] = {{&_swigt__p_p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBool[] = {{&_swigt__p_p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3s[] = {{&_swigt__p_p_SoMFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3s[] = {{&_swigt__p_p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4ui32[] = {{&_swigt__p_p_SoMFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFName[] = {{&_swigt__p_p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4ui32[] = {{&_swigt__p_p_SoSFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoField[] = { {&_swigt__p_p_SoSFImage3, _p_p_SoSFImage3To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFShort, _p_p_SoSFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFInt32, _p_p_SoSFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUShort, _p_p_SoSFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4ub, _p_p_SoSFVec4ubTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4ub, _p_p_SoMFVec4ubTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUInt32, _p_p_SoSFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2d, _p_p_SoSFBox2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4b, _p_p_SoSFVec4bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4b, _p_p_SoMFVec4bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2f, _p_p_SoSFBox2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4d, _p_p_SoSFVec4dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4d, _p_p_SoMFVec4dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4f, _p_p_SoSFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFMatrix, _p_p_SoSFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoField, 0, 0, 0}, {&_swigt__p_p_SoSFTime, _p_p_SoSFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4us, _p_p_SoSFVec4usTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4us, _p_p_SoMFVec4usTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4i32, _p_p_SoSFVec4i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4i32, _p_p_SoMFVec4i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPath, _p_p_SoSFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2s, _p_p_SoSFBox2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2b, _p_p_SoSFVec2bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2b, _p_p_SoMFVec2bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3i32, _p_p_SoSFBox3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2d, _p_p_SoMFVec2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2d, _p_p_SoSFVec2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFDouble, _p_p_SoMFDoubleTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFDouble, _p_p_SoSFDoubleTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4s, _p_p_SoSFVec4sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4s, _p_p_SoMFVec4sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBitMask, _p_p_SoSFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFRotation, _p_p_SoSFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2f, _p_p_SoSFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEngine, _p_p_SoSFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSField, _p_p_SoSFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3i32, _p_p_SoSFVec3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3i32, _p_p_SoMFVec3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFTrigger, _p_p_SoSFTriggerTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3d, _p_p_SoSFBox3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColorRGBA, _p_p_SoMFColorRGBATo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColorRGBA, _p_p_SoSFColorRGBATo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2s, _p_p_SoSFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2s, _p_p_SoMFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2i32, _p_p_SoSFBox2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPlane, _p_p_SoSFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3f, _p_p_SoSFBox3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColor, _p_p_SoSFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMField, _p_p_SoMFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEnum, _p_p_SoSFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFNode, _p_p_SoSFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2i32, _p_p_SoMFVec2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2i32, _p_p_SoSFVec2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage, _p_p_SoSFImageTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3s, _p_p_SoSFBox3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3b, _p_p_SoMFVec3bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3b, _p_p_SoSFVec3bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3d, _p_p_SoSFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3f, _p_p_SoSFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBool, _p_p_SoSFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFFloat, _p_p_SoSFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFString, _p_p_SoSFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFName, _p_p_SoSFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3s, _p_p_SoMFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3s, _p_p_SoSFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4ui32, _p_p_SoMFVec4ui32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4ui32, _p_p_SoSFVec4ui32To_p_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBoxHighlightRenderAction[] = {{&_swigt__p_p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLineHighlightRenderAction[] = {{&_swigt__p_p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGLRenderAction[] = { {&_swigt__p_p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_p_SoBoxHighlightRenderAction, _p_p_SoBoxHighlightRenderActionTo_p_p_SoGLRenderAction, 0, 0}, {&_swigt__p_p_SoLineHighlightRenderAction, _p_p_SoLineHighlightRenderActionTo_p_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMField[] = { {&_swigt__p_p_SoMFVec4s, _p_p_SoMFVec4sTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4i32, _p_p_SoMFVec4i32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3s, _p_p_SoMFVec3sTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4ui32, _p_p_SoMFVec4ui32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFDouble, _p_p_SoMFDoubleTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2s, _p_p_SoMFVec2sTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMField, 0, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3i32, _p_p_SoMFVec3i32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4ub, _p_p_SoMFVec4ubTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4b, _p_p_SoMFVec4bTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4d, _p_p_SoMFVec4dTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3b, _p_p_SoMFVec3bTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2i32, _p_p_SoMFVec2i32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2b, _p_p_SoMFVec2bTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2d, _p_p_SoMFVec2dTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFColorRGBA, _p_p_SoMFColorRGBATo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4us, _p_p_SoMFVec4usTo_p_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNode[] = { {&_swigt__p_p_SoClipPlane, _p_p_SoClipPlaneTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMapCoordinate, _p_p_SoBumpMapCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCoordinate, _p_p_SoVRMLCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTextureCoordinate, _p_p_SoVRMLTextureCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCombine, _p_p_SoTextureCombineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLightKit, _p_p_SoLightKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTriangleStripSet, _p_p_SoTriangleStripSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedTriangleStripSet, _p_p_SoIndexedTriangleStripSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter4f, _p_p_SoShaderParameter4fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLExtrusion, _p_p_SoVRMLExtrusionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexAttribute, _p_p_SoVertexAttributeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBaseKit, _p_p_SoBaseKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter4i, _p_p_SoShaderParameter4iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoExtSelection, _p_p_SoExtSelectionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSelection, _p_p_SoSelectionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexProperty, _p_p_SoVertexPropertyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotationXYZ, _p_p_SoRotationXYZTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoComplexity, _p_p_SoComplexityTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBillboard, _p_p_SoVRMLBillboardTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray3f, _p_p_SoShaderParameterArray3fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLightModel, _p_p_SoLightModelTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray3i, _p_p_SoShaderParameterArray3iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoUnits, _p_p_SoUnitsTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShapeKit, _p_p_SoShapeKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotation, _p_p_SoRotationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAnnotation, _p_p_SoAnnotationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsSurface, _p_p_SoNurbsSurfaceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedNurbsSurface, _p_p_SoIndexedNurbsSurfaceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsProfile, _p_p_SoNurbsProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLinearProfile, _p_p_SoLinearProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfile, _p_p_SoProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLParent, _p_p_SoVRMLParentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLLight, _p_p_SoVRMLLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoClipPlaneManip, _p_p_SoClipPlaneManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDepthBuffer, _p_p_SoDepthBufferTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAsciiText, _p_p_SoAsciiTextTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLGeometry, _p_p_SoVRMLGeometryTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterMatrixArray, _p_p_SoShaderParameterMatrixArrayTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCylinder, _p_p_SoCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCylinder, _p_p_SoTextureCoordinateCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCylinder, _p_p_SoVRMLCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNavigationInfo, _p_p_SoVRMLNavigationInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture3Transform, _p_p_SoTexture3TransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture2Transform, _p_p_SoTexture2TransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoResetTransform, _p_p_SoResetTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMatrixTransform, _p_p_SoMatrixTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMapTransform, _p_p_SoBumpMapTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransform, _p_p_SoTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureMatrixTransform, _p_p_SoTextureMatrixTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTextureTransform, _p_p_SoVRMLTextureTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTransform, _p_p_SoVRMLTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSeparatorKit, _p_p_SoSeparatorKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexLine, _p_p_SoVRMLVertexLineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLight, _p_p_SoLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSound, _p_p_SoVRMLSoundTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNodeEngine, _p_p_SoNodeEngineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedPointSet, _p_p_SoIndexedPointSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointSet, _p_p_SoPointSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPointSet, _p_p_SoVRMLPointSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMaterial, _p_p_SoMaterialTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLMaterial, _p_p_SoVRMLMaterialTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBaseColor, _p_p_SoBaseColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoColorIndex, _p_p_SoColorIndexTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLColor, _p_p_SoVRMLColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLWorldInfo, _p_p_SoVRMLWorldInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLight, _p_p_SoSpotLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSpotLight, _p_p_SoVRMLSpotLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateDefault, _p_p_SoTextureCoordinateDefaultTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBlinker, _p_p_SoBlinkerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShuttle, _p_p_SoShuttleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLGroup, _p_p_SoVRMLGroupTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray4f, _p_p_SoShaderParameterArray4fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderObject, _p_p_SoShaderObjectTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAnchor, _p_p_SoVRMLAnchorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSensor, _p_p_SoVRMLSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCylinderSensor, _p_p_SoVRMLCylinderSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTouchSensor, _p_p_SoVRMLTouchSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedMarkerSet, _p_p_SoIndexedMarkerSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMarkerSet, _p_p_SoMarkerSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray4i, _p_p_SoShaderParameterArray4iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLightManip, _p_p_SoDirectionalLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLightManip, _p_p_SoPointLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLightManip, _p_p_SoSpotLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsCurve, _p_p_SoNurbsCurveTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedNurbsCurve, _p_p_SoIndexedNurbsCurveTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedShape, _p_p_SoIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNonIndexedShape, _p_p_SoNonIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedShape, _p_p_SoVRMLIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotor, _p_p_SoRotorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCube, _p_p_SoTextureCoordinateCubeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLText, _p_p_SoVRMLTextTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformerManip, _p_p_SoTransformerManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAntiSquish, _p_p_SoAntiSquishTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoGroup, _p_p_SoGroupTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMultipleCopy, _p_p_SoMultipleCopyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoListener, _p_p_SoListenerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformation, _p_p_SoTransformationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFontStyle, _p_p_SoFontStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLFontStyle, _p_p_SoVRMLFontStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoImage, _p_p_SoImageTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAppearance, _p_p_SoVRMLAppearanceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCubeMap, _p_p_SoTextureCubeMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSceneTextureCubeMap, _p_p_SoSceneTextureCubeMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLight, _p_p_SoPointLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPointLight, _p_p_SoVRMLPointLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformManip, _p_p_SoTransformManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPolygonOffset, _p_p_SoPolygonOffsetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBackground, _p_p_SoVRMLBackgroundTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWWWAnchor, _p_p_SoWWWAnchorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoEventCallback, _p_p_SoEventCallbackTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCallback, _p_p_SoCallbackTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateObject, _p_p_SoTextureCoordinateObjectTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLDragSensor, _p_p_SoVRMLDragSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPlaneSensor, _p_p_SoVRMLPlaneSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLProximitySensor, _p_p_SoVRMLProximitySensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSphereSensor, _p_p_SoVRMLSphereSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTimeSensor, _p_p_SoVRMLTimeSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVisibilitySensor, _p_p_SoVRMLVisibilitySensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoJackManip, _p_p_SoJackManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFrustumCamera, _p_p_SoFrustumCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoOrthographicCamera, _p_p_SoOrthographicCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPerspectiveCamera, _p_p_SoPerspectiveCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCamera, _p_p_SoCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCameraKit, _p_p_SoCameraKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoArray, _p_p_SoArrayTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter1f, _p_p_SoShaderParameter1fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSphere, _p_p_SoVRMLSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateEnvironment, _p_p_SoTextureCoordinateEnvironmentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoEnvironment, _p_p_SoEnvironmentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDrawStyle, _p_p_SoDrawStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter1i, _p_p_SoShaderParameter1iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBox, _p_p_SoVRMLBoxTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateNormalMap, _p_p_SoTextureCoordinateNormalMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLFog, _p_p_SoVRMLFogTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransparencyType, _p_p_SoTransparencyTypeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSurroundScale, _p_p_SoSurroundScaleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexShape, _p_p_SoVertexShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexShape, _p_p_SoVRMLVertexShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCone, _p_p_SoConeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureUnit, _p_p_SoTextureUnitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAppearanceKit, _p_p_SoAppearanceKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCenterballDragger, _p_p_SoCenterballDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabBoxDragger, _p_p_SoTabBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLightDragger, _p_p_SoSpotLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScaleUniformDragger, _p_p_SoScaleUniformDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale2UniformDragger, _p_p_SoScale2UniformDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale2Dragger, _p_p_SoScale2DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale1Dragger, _p_p_SoScale1DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateSphericalDragger, _p_p_SoRotateSphericalDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateDiscDragger, _p_p_SoRotateDiscDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateCylindricalDragger, _p_p_SoRotateCylindricalDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLightDragger, _p_p_SoPointLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoJackDragger, _p_p_SoJackDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoHandleBoxDragger, _p_p_SoHandleBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDragPointDragger, _p_p_SoDragPointDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLightDragger, _p_p_SoDirectionalLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFile, _p_p_SoFileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDragger, _p_p_SoDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabPlaneDragger, _p_p_SoTabPlaneDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTrackballDragger, _p_p_SoTrackballDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformBoxDragger, _p_p_SoTransformBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformerDragger, _p_p_SoTransformerDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslate1Dragger, _p_p_SoTranslate1DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslate2Dragger, _p_p_SoTranslate2DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPickStyle, _p_p_SoPickStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLInterpolator, _p_p_SoVRMLInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLColorInterpolator, _p_p_SoVRMLColorInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCoordinateInterpolator, _p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNormalInterpolator, _p_p_SoVRMLNormalInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLOrientationInterpolator, _p_p_SoVRMLOrientationInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPositionInterpolator, _p_p_SoVRMLPositionInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLScalarInterpolator, _p_p_SoVRMLScalarInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCone, _p_p_SoVRMLConeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLine, _p_p_SoVRMLIndexedLineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderProgram, _p_p_SoShaderProgramTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture, _p_p_SoTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCacheHint, _p_p_SoCacheHintTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTexture, _p_p_SoVRMLTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLImageTexture, _p_p_SoVRMLImageTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLMovieTexture, _p_p_SoVRMLMovieTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPixelTexture, _p_p_SoVRMLPixelTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateFunction, _p_p_SoTextureCoordinateFunctionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSphere, _p_p_SoSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNodeKitListPart, _p_p_SoNodeKitListPartTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateSphere, _p_p_SoTextureCoordinateSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPendulum, _p_p_SoPendulumTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSceneKit, _p_p_SoSceneKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFragmentShader, _p_p_SoFragmentShaderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexShader, _p_p_SoVertexShaderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShapeHints, _p_p_SoShapeHintsTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture2, _p_p_SoTexture2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSceneTexture2, _p_p_SoSceneTexture2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture3, _p_p_SoTexture3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter2f, _p_p_SoShaderParameter2fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinatePlane, _p_p_SoTextureCoordinatePlaneTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterMatrix, _p_p_SoShaderParameterMatrixTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateReflectionMap, _p_p_SoTextureCoordinateReflectionMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAudioClip, _p_p_SoVRMLAudioClipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoQuadMesh, _p_p_SoQuadMeshTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPathSwitch, _p_p_SoPathSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter2i, _p_p_SoShaderParameter2iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSwitch, _p_p_SoVRMLSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoText2, _p_p_SoText2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoText3, _p_p_SoText3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformSeparator, _p_p_SoTransformSeparatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSeparator, _p_p_SoSeparatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray1f, _p_p_SoShaderParameterArray1fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoInteractionKit, _p_p_SoInteractionKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMap, _p_p_SoBumpMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinate2, _p_p_SoTextureCoordinate2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfileCoordinate2, _p_p_SoProfileCoordinate2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNormal, _p_p_SoVRMLNormalTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinate3, _p_p_SoTextureCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfileCoordinate3, _p_p_SoProfileCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCoordinate3, _p_p_SoCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCoordinate4, _p_p_SoCoordinate4To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray1i, _p_p_SoShaderParameterArray1iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLLOD, _p_p_SoVRMLLODTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFont, _p_p_SoFontTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLocateHighlight, _p_p_SoLocateHighlightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLElevationGrid, _p_p_SoVRMLElevationGridTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLShape, _p_p_SoVRMLShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexPoint, _p_p_SoVRMLVertexPointTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLViewpoint, _p_p_SoVRMLViewpointTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexAttributeBinding, _p_p_SoVertexAttributeBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMaterialBinding, _p_p_SoMaterialBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNormalBinding, _p_p_SoNormalBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateBinding, _p_p_SoTextureCoordinateBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoHandleBoxManip, _p_p_SoHandleBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabBoxManip, _p_p_SoTabBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformBoxManip, _p_p_SoTransformBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCollision, _p_p_SoVRMLCollisionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPackedColor, _p_p_SoPackedColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSwitch, _p_p_SoSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslation, _p_p_SoTranslationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedFaceSet, _p_p_SoIndexedFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFaceSet, _p_p_SoFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedFaceSet, _p_p_SoVRMLIndexedFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShape, _p_p_SoShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureScalePolicy, _p_p_SoTextureScalePolicyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLScript, _p_p_SoVRMLScriptTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNormal, _p_p_SoNormalTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter3f, _p_p_SoShaderParameter3fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLInline, _p_p_SoVRMLInlineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter3i, _p_p_SoShaderParameter3iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCube, _p_p_SoCubeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWrapperKit, _p_p_SoWrapperKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray2f, _p_p_SoShaderParameterArray2fTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale, _p_p_SoScaleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameterArray2i, _p_p_SoShaderParameterArray2iTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNode, 0, 0, 0}, {&_swigt__p_p_SoLineSet, _p_p_SoLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedLineSet, _p_p_SoIndexedLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLabel, _p_p_SoLabelTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLineSet, _p_p_SoVRMLIndexedLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProtoInstance, _p_p_SoProtoInstanceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoInfo, _p_p_SoInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderParameter, _p_p_SoShaderParameterTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoUniformShaderParameter, _p_p_SoUniformShaderParameterTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShaderStateMatrixParameter, _p_p_SoShaderStateMatrixParameterTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLight, _p_p_SoDirectionalLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLDirectionalLight, _p_p_SoVRMLDirectionalLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProto, _p_p_SoProtoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCenterballManip, _p_p_SoCenterballManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTrackballManip, _p_p_SoTrackballManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWWWInline, _p_p_SoWWWInlineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLOD, _p_p_SoLODTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLevelOfDetail, _p_p_SoLevelOfDetailTo_p_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPath[] = { {&_swigt__p_p_SoTempPath, _p_p_SoTempPathTo_p_p_SoPath, 0, 0}, {&_swigt__p_p_SoNodeKitPath, _p_p_SoNodeKitPathTo_p_p_SoPath, 0, 0}, {&_swigt__p_p_SoPath, 0, 0, 0}, {&_swigt__p_p_SoFullPath, _p_p_SoFullPathTo_p_p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_charp[] = {{&_swigt__p_p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_charp, _p_p_charpTo_p_p_char, 0, 0}, {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_f_p_SoAction_p_SoNode__void[] = { {&_swigt__p_p_f_p_SoAction_p_SoNode__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_f_p_void__SoGLRenderAction__AbortCode[] = { {&_swigt__p_p_f_p_void__SoGLRenderAction__AbortCode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_f_p_void_p_SoInput__void[] = { {&_swigt__p_p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_floatp[] = {{&_swigt__p_p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_float[] = { {&_swigt__p_p_float, 0, 0, 0}, {&_swigt__p_p_floatp, _p_p_floatpTo_p_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_intp[] = {{&_swigt__p_p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_int[] = { {&_swigt__p_p_intp, _p_p_intpTo_p_p_int, 0, 0}, {&_swigt__p_p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_unsigned_char[] = { {&_swigt__p_p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_read_func[] = { {&_swigt__p_read_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_seek_func[] = { {&_swigt__p_seek_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_tell_func[] = { {&_swigt__p_tell_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_time_t[] = { {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_timeval[] = { {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uint16_t[] = { {&_swigt__p_uint16_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uint32_t[] = { {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uint8_t[] = { {&_swigt__p_uint8_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uintptr_t[] = { {&_swigt__p_uintptr_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; - -static swig_cast_info *swig_cast_initial[] = { - _swigc__p_AttributeApplyFunc, - _swigc__p_ContextDestructionCB, - _swigc__p_FILE, - _swigc__p_Key, - _swigc__p_ProgressCallbackType, - _swigc__p_SbBSPTree, - _swigc__p_SbBarrier, - _swigc__p_SbBox2d, - _swigc__p_SbBox2f, - _swigc__p_SbBox2i32, - _swigc__p_SbBox2s, - _swigc__p_SbBox3d, - _swigc__p_SbBox3f, - _swigc__p_SbBox3i32, - _swigc__p_SbBox3s, - _swigc__p_SbClip, - _swigc__p_SbColor, - _swigc__p_SbColor4f, - _swigc__p_SbCondVar, - _swigc__p_SbCylinder, - _swigc__p_SbCylinderPlaneProjector, - _swigc__p_SbCylinderProjector, - _swigc__p_SbCylinderSectionProjector, - _swigc__p_SbCylinderSheetProjector, - _swigc__p_SbDPLine, - _swigc__p_SbDPMatrix, - _swigc__p_SbDPPlane, - _swigc__p_SbDPRotation, - _swigc__p_SbDPViewVolume, - _swigc__p_SbDict, - _swigc__p_SbDictApplyDataFunc, - _swigc__p_SbDictApplyFunc, - _swigc__p_SbDictHashingFunc, - _swigc__p_SbFifo, - _swigc__p_SbHeap, - _swigc__p_SbHeapFuncs, - _swigc__p_SbImage, - _swigc__p_SbIntList, - _swigc__p_SbLine, - _swigc__p_SbLineProjector, - _swigc__p_SbListT_SbName_t, - _swigc__p_SbListT_SbString_t, - _swigc__p_SbListT_int_t, - _swigc__p_SbListT_void_p_t, - _swigc__p_SbMatrix, - _swigc__p_SbMutex, - _swigc__p_SbName, - _swigc__p_SbOctTree, - _swigc__p_SbOctTreeFuncs, - _swigc__p_SbPList, - _swigc__p_SbPlane, - _swigc__p_SbPlaneProjector, - _swigc__p_SbProjector, - _swigc__p_SbRWMutex, - _swigc__p_SbRotation, - _swigc__p_SbSphere, - _swigc__p_SbSpherePlaneProjector, - _swigc__p_SbSphereProjector, - _swigc__p_SbSphereSectionProjector, - _swigc__p_SbSphereSheetProjector, - _swigc__p_SbStorage, - _swigc__p_SbString, - _swigc__p_SbStringList, - _swigc__p_SbTesselator, - _swigc__p_SbThread, - _swigc__p_SbThreadAutoLock, - _swigc__p_SbThreadMutex, - _swigc__p_SbTime, - _swigc__p_SbVec2b, - _swigc__p_SbVec2d, - _swigc__p_SbVec2f, - _swigc__p_SbVec2i32, - _swigc__p_SbVec2s, - _swigc__p_SbVec2ub, - _swigc__p_SbVec2ui32, - _swigc__p_SbVec2us, - _swigc__p_SbVec3b, - _swigc__p_SbVec3d, - _swigc__p_SbVec3f, - _swigc__p_SbVec3fList, - _swigc__p_SbVec3i32, - _swigc__p_SbVec3s, - _swigc__p_SbVec3ub, - _swigc__p_SbVec3ui32, - _swigc__p_SbVec3us, - _swigc__p_SbVec4b, - _swigc__p_SbVec4d, - _swigc__p_SbVec4f, - _swigc__p_SbVec4i32, - _swigc__p_SbVec4s, - _swigc__p_SbVec4ub, - _swigc__p_SbVec4ui32, - _swigc__p_SbVec4us, - _swigc__p_SbViewVolume, - _swigc__p_SbViewportRegion, - _swigc__p_SbXfBox3f, - _swigc__p_ScXML, - _swigc__p_ScXMLDocument, - _swigc__p_ScXMLEvent, - _swigc__p_ScXMLInvoke, - _swigc__p_ScXMLObject, - _swigc__p_ScXMLStateMachine, - _swigc__p_SoAccumulatedElement, - _swigc__p_SoAction, - _swigc__p_SoActionMethodList, - _swigc__p_SoAlarmSensor, - _swigc__p_SoAmbientColorElement, - _swigc__p_SoAnnoText3CharOrientElement, - _swigc__p_SoAnnoText3FontSizeHintElement, - _swigc__p_SoAnnoText3RenderPrintElement, - _swigc__p_SoAnnotation, - _swigc__p_SoAntiSquish, - _swigc__p_SoAppearanceKit, - _swigc__p_SoArray, - _swigc__p_SoAsciiText, - _swigc__p_SoAudioDevice, - _swigc__p_SoAudioRenderAction, - _swigc__p_SoAuditorList, - _swigc__p_SoBBoxModelMatrixElement, - _swigc__p_SoBase, - _swigc__p_SoBaseColor, - _swigc__p_SoBaseKit, - _swigc__p_SoBaseList, - _swigc__p_SoBlinker, - _swigc__p_SoBoolOperation, - _swigc__p_SoBoundingBoxCache, - _swigc__p_SoBoxHighlightRenderAction, - _swigc__p_SoBumpMap, - _swigc__p_SoBumpMapCoordinate, - _swigc__p_SoBumpMapCoordinateElement, - _swigc__p_SoBumpMapElement, - _swigc__p_SoBumpMapMatrixElement, - _swigc__p_SoBumpMapTransform, - _swigc__p_SoBundle, - _swigc__p_SoButtonEvent, - _swigc__p_SoByteStream, - _swigc__p_SoCache, - _swigc__p_SoCacheElement, - _swigc__p_SoCacheHint, - _swigc__p_SoCacheHintElement, - _swigc__p_SoCalculator, - _swigc__p_SoCallback, - _swigc__p_SoCallbackAction, - _swigc__p_SoCallbackActionCB, - _swigc__p_SoCallbackList, - _swigc__p_SoCamera, - _swigc__p_SoCameraKit, - _swigc__p_SoCenterballDragger, - _swigc__p_SoCenterballManip, - _swigc__p_SoChildList, - _swigc__p_SoClipPlane, - _swigc__p_SoClipPlaneElement, - _swigc__p_SoClipPlaneManip, - _swigc__p_SoColorIndex, - _swigc__p_SoColorPacker, - _swigc__p_SoComplexity, - _swigc__p_SoComplexityElement, - _swigc__p_SoComplexityTypeElement, - _swigc__p_SoComposeMatrix, - _swigc__p_SoComposeRotation, - _swigc__p_SoComposeRotationFromTo, - _swigc__p_SoComposeVec2f, - _swigc__p_SoComposeVec3f, - _swigc__p_SoComposeVec4f, - _swigc__p_SoComputeBoundingBox, - _swigc__p_SoConcatenate, - _swigc__p_SoCone, - _swigc__p_SoConeDetail, - _swigc__p_SoContextHandler, - _swigc__p_SoConvexDataCache, - _swigc__p_SoCoordinate3, - _swigc__p_SoCoordinate4, - _swigc__p_SoCoordinateElement, - _swigc__p_SoCounter, - _swigc__p_SoCreaseAngleElement, - _swigc__p_SoCube, - _swigc__p_SoCubeDetail, - _swigc__p_SoCullElement, - _swigc__p_SoCylinder, - _swigc__p_SoCylinderDetail, - _swigc__p_SoDB, - _swigc__p_SoDataSensor, - _swigc__p_SoDebugError, - _swigc__p_SoDecimationPercentageElement, - _swigc__p_SoDecimationTypeElement, - _swigc__p_SoDecomposeMatrix, - _swigc__p_SoDecomposeRotation, - _swigc__p_SoDecomposeVec2f, - _swigc__p_SoDecomposeVec3f, - _swigc__p_SoDecomposeVec4f, - _swigc__p_SoDelayQueueSensor, - _swigc__p_SoDepthBuffer, - _swigc__p_SoDepthBufferElement, - _swigc__p_SoDepthBufferElement__DepthWriteFunction, - _swigc__p_SoDetail, - _swigc__p_SoDetailList, - _swigc__p_SoDiffuseColorElement, - _swigc__p_SoDirectionalLight, - _swigc__p_SoDirectionalLightDragger, - _swigc__p_SoDirectionalLightManip, - _swigc__p_SoDragPointDragger, - _swigc__p_SoDragger, - _swigc__p_SoDrawStyle, - _swigc__p_SoDrawStyleElement, - _swigc__p_SoElapsedTime, - _swigc__p_SoElement, - _swigc__p_SoEmissiveColorElement, - _swigc__p_SoEnabledElementsList, - _swigc__p_SoEngine, - _swigc__p_SoEngineList, - _swigc__p_SoEngineOutput, - _swigc__p_SoEngineOutputData, - _swigc__p_SoEngineOutputList, - _swigc__p_SoEnvironment, - _swigc__p_SoEnvironmentElement, - _swigc__p_SoError, - _swigc__p_SoEvent, - _swigc__p_SoEventCallback, - _swigc__p_SoEventManager, - _swigc__p_SoExtSelection, - _swigc__p_SoFaceDetail, - _swigc__p_SoFaceSet, - _swigc__p_SoField, - _swigc__p_SoFieldContainer, - _swigc__p_SoFieldConverter, - _swigc__p_SoFieldData, - _swigc__p_SoFieldList, - _swigc__p_SoFieldSensor, - _swigc__p_SoFile, - _swigc__p_SoFloatElement, - _swigc__p_SoFocalDistanceElement, - _swigc__p_SoFont, - _swigc__p_SoFontNameElement, - _swigc__p_SoFontSizeElement, - _swigc__p_SoFontStyle, - _swigc__p_SoFragmentShader, - _swigc__p_SoFrustumCamera, - _swigc__p_SoFullPath, - _swigc__p_SoGLBigImage, - _swigc__p_SoGLCacheContextElement, - _swigc__p_SoGLCacheList, - _swigc__p_SoGLClipPlaneElement, - _swigc__p_SoGLColorIndexElement, - _swigc__p_SoGLCoordinateElement, - _swigc__p_SoGLDepthBufferElement, - _swigc__p_SoGLDisplayList, - _swigc__p_SoGLDrawStyleElement, - _swigc__p_SoGLEnvironmentElement, - _swigc__p_SoGLImage, - _swigc__p_SoGLImageResizeCB, - _swigc__p_SoGLLazyElement, - _swigc__p_SoGLLazyElement_GLState, - _swigc__p_SoGLLazyElement__GLState, - _swigc__p_SoGLLightIdElement, - _swigc__p_SoGLLinePatternElement, - _swigc__p_SoGLLineWidthElement, - _swigc__p_SoGLModelMatrixElement, - _swigc__p_SoGLMultiTextureCoordinateElement, - _swigc__p_SoGLMultiTextureEnabledElement, - _swigc__p_SoGLMultiTextureImageElement, - _swigc__p_SoGLMultiTextureMatrixElement, - _swigc__p_SoGLNormalElement, - _swigc__p_SoGLPointSizeElement, - _swigc__p_SoGLPolygonOffsetElement, - _swigc__p_SoGLProjectionMatrixElement, - _swigc__p_SoGLRenderAbortCB, - _swigc__p_SoGLRenderAction, - _swigc__p_SoGLRenderCache, - _swigc__p_SoGLRenderPassElement, - _swigc__p_SoGLShaderObject, - _swigc__p_SoGLShapeHintsElement, - _swigc__p_SoGLTexture3EnabledElement, - _swigc__p_SoGLTextureCoordinateElement, - _swigc__p_SoGLTextureEnabledElement, - _swigc__p_SoGLTextureImageElement, - _swigc__p_SoGLTextureMatrixElement, - _swigc__p_SoGLUpdateAreaElement, - _swigc__p_SoGLVBOElement, - _swigc__p_SoGLVertexAttributeElement, - _swigc__p_SoGLViewingMatrixElement, - _swigc__p_SoGLViewportRegionElement, - _swigc__p_SoGate, - _swigc__p_SoGetBoundingBoxAction, - _swigc__p_SoGetMatrixAction, - _swigc__p_SoGetPrimitiveCountAction, - _swigc__p_SoGlyph, - _swigc__p_SoGroup, - _swigc__p_SoHandleBoxDragger, - _swigc__p_SoHandleBoxManip, - _swigc__p_SoHandleEventAction, - _swigc__p_SoHardCopy, - _swigc__p_SoHeightMapToNormalMap, - _swigc__p_SoIdleSensor, - _swigc__p_SoImage, - _swigc__p_SoIndexedFaceSet, - _swigc__p_SoIndexedLineSet, - _swigc__p_SoIndexedMarkerSet, - _swigc__p_SoIndexedNurbsCurve, - _swigc__p_SoIndexedNurbsSurface, - _swigc__p_SoIndexedPointSet, - _swigc__p_SoIndexedShape, - _swigc__p_SoIndexedTriangleStripSet, - _swigc__p_SoInfo, - _swigc__p_SoInput, - _swigc__p_SoInt32Element, - _swigc__p_SoInteraction, - _swigc__p_SoInteractionKit, - _swigc__p_SoInterpolate, - _swigc__p_SoInterpolateFloat, - _swigc__p_SoInterpolateRotation, - _swigc__p_SoInterpolateVec2f, - _swigc__p_SoInterpolateVec3f, - _swigc__p_SoInterpolateVec4f, - _swigc__p_SoIntersectingPrimitive, - _swigc__p_SoIntersectionCB, - _swigc__p_SoIntersectionDetectionAction, - _swigc__p_SoIntersectionFilterCB, - _swigc__p_SoIntersectionVisitationCB, - _swigc__p_SoJackDragger, - _swigc__p_SoJackManip, - _swigc__p_SoKeyboardEvent, - _swigc__p_SoLOD, - _swigc__p_SoLabel, - _swigc__p_SoLazyElement, - _swigc__p_SoLevelOfDetail, - _swigc__p_SoLight, - _swigc__p_SoLightAttenuationElement, - _swigc__p_SoLightElement, - _swigc__p_SoLightKit, - _swigc__p_SoLightModel, - _swigc__p_SoLightModelElement, - _swigc__p_SoLightPath, - _swigc__p_SoLineDetail, - _swigc__p_SoLineHighlightRenderAction, - _swigc__p_SoLinePatternElement, - _swigc__p_SoLineSet, - _swigc__p_SoLineWidthElement, - _swigc__p_SoLinearProfile, - _swigc__p_SoListener, - _swigc__p_SoListenerDopplerElement, - _swigc__p_SoListenerGainElement, - _swigc__p_SoListenerOrientationElement, - _swigc__p_SoListenerPositionElement, - _swigc__p_SoLocalBBoxMatrixElement, - _swigc__p_SoLocateHighlight, - _swigc__p_SoLocation2Event, - _swigc__p_SoLockManager, - _swigc__p_SoMFBitMask, - _swigc__p_SoMFBool, - _swigc__p_SoMFColor, - _swigc__p_SoMFColorRGBA, - _swigc__p_SoMFDouble, - _swigc__p_SoMFEngine, - _swigc__p_SoMFEnum, - _swigc__p_SoMFFloat, - _swigc__p_SoMFInt32, - _swigc__p_SoMFMatrix, - _swigc__p_SoMFName, - _swigc__p_SoMFNode, - _swigc__p_SoMFPath, - _swigc__p_SoMFPlane, - _swigc__p_SoMFRotation, - _swigc__p_SoMFShort, - _swigc__p_SoMFString, - _swigc__p_SoMFTime, - _swigc__p_SoMFUInt32, - _swigc__p_SoMFUShort, - _swigc__p_SoMFVec2b, - _swigc__p_SoMFVec2d, - _swigc__p_SoMFVec2f, - _swigc__p_SoMFVec2i32, - _swigc__p_SoMFVec2s, - _swigc__p_SoMFVec3b, - _swigc__p_SoMFVec3d, - _swigc__p_SoMFVec3f, - _swigc__p_SoMFVec3i32, - _swigc__p_SoMFVec3s, - _swigc__p_SoMFVec4b, - _swigc__p_SoMFVec4d, - _swigc__p_SoMFVec4f, - _swigc__p_SoMFVec4i32, - _swigc__p_SoMFVec4s, - _swigc__p_SoMFVec4ub, - _swigc__p_SoMFVec4ui32, - _swigc__p_SoMFVec4us, - _swigc__p_SoMField, - _swigc__p_SoMarkerSet, - _swigc__p_SoMaterial, - _swigc__p_SoMaterialBinding, - _swigc__p_SoMaterialBindingElement, - _swigc__p_SoMaterialBundle, - _swigc__p_SoMatrixTransform, - _swigc__p_SoMemoryError, - _swigc__p_SoModelMatrixElement, - _swigc__p_SoMotion3Event, - _swigc__p_SoMouseButtonEvent, - _swigc__p_SoMultiTextureCoordinateElement, - _swigc__p_SoMultiTextureEnabledElement, - _swigc__p_SoMultiTextureEnabledElement__Mode, - _swigc__p_SoMultiTextureImageElement, - _swigc__p_SoMultiTextureMatrixElement, - _swigc__p_SoMultipleCopy, - _swigc__p_SoNode, - _swigc__p_SoNodeEngine, - _swigc__p_SoNodeKit, - _swigc__p_SoNodeKitDetail, - _swigc__p_SoNodeKitListPart, - _swigc__p_SoNodeKitPath, - _swigc__p_SoNodeList, - _swigc__p_SoNodeSensor, - _swigc__p_SoNodekitCatalog, - _swigc__p_SoNonIndexedShape, - _swigc__p_SoNormal, - _swigc__p_SoNormalBinding, - _swigc__p_SoNormalBindingElement, - _swigc__p_SoNormalBundle, - _swigc__p_SoNormalCache, - _swigc__p_SoNormalElement, - _swigc__p_SoNormalGenerator, - _swigc__p_SoNotList, - _swigc__p_SoNotRec, - _swigc__p_SoNurbsCurve, - _swigc__p_SoNurbsProfile, - _swigc__p_SoNurbsSurface, - _swigc__p_SoOffscreenRenderer, - _swigc__p_SoOnOff, - _swigc__p_SoOneShot, - _swigc__p_SoOneShotSensor, - _swigc__p_SoOrthographicCamera, - _swigc__p_SoOutput, - _swigc__p_SoOverrideElement, - _swigc__p_SoPSVectorOutput, - _swigc__p_SoPackedColor, - _swigc__p_SoPath, - _swigc__p_SoPathList, - _swigc__p_SoPathSensor, - _swigc__p_SoPathSwitch, - _swigc__p_SoPendulum, - _swigc__p_SoPerspectiveCamera, - _swigc__p_SoPickAction, - _swigc__p_SoPickRayElement, - _swigc__p_SoPickStyle, - _swigc__p_SoPickStyleElement, - _swigc__p_SoPickedPoint, - _swigc__p_SoPickedPointList, - _swigc__p_SoPointDetail, - _swigc__p_SoPointLight, - _swigc__p_SoPointLightDragger, - _swigc__p_SoPointLightManip, - _swigc__p_SoPointSet, - _swigc__p_SoPointSizeElement, - _swigc__p_SoPolygonOffset, - _swigc__p_SoPolygonOffsetElement, - _swigc__p_SoPolygonOffsetElement__Style, - _swigc__p_SoPrimitiveVertex, - _swigc__p_SoProfile, - _swigc__p_SoProfileCoordinate2, - _swigc__p_SoProfileCoordinate3, - _swigc__p_SoProfileCoordinateElement, - _swigc__p_SoProfileElement, - _swigc__p_SoProjectionMatrixElement, - _swigc__p_SoProto, - _swigc__p_SoProtoInstance, - _swigc__p_SoQuadMesh, - _swigc__p_SoRayPickAction, - _swigc__p_SoReadError, - _swigc__p_SoRenderManager, - _swigc__p_SoRenderManager__Superimposition, - _swigc__p_SoReorganizeAction, - _swigc__p_SoReplacedElement, - _swigc__p_SoResetTransform, - _swigc__p_SoRotateCylindricalDragger, - _swigc__p_SoRotateDiscDragger, - _swigc__p_SoRotateSphericalDragger, - _swigc__p_SoRotation, - _swigc__p_SoRotationXYZ, - _swigc__p_SoRotor, - _swigc__p_SoSFBitMask, - _swigc__p_SoSFBool, - _swigc__p_SoSFBox2d, - _swigc__p_SoSFBox2f, - _swigc__p_SoSFBox2i32, - _swigc__p_SoSFBox2s, - _swigc__p_SoSFBox3d, - _swigc__p_SoSFBox3f, - _swigc__p_SoSFBox3i32, - _swigc__p_SoSFBox3s, - _swigc__p_SoSFColor, - _swigc__p_SoSFColorRGBA, - _swigc__p_SoSFDouble, - _swigc__p_SoSFEngine, - _swigc__p_SoSFEnum, - _swigc__p_SoSFFloat, - _swigc__p_SoSFImage, - _swigc__p_SoSFImage3, - _swigc__p_SoSFInt32, - _swigc__p_SoSFMatrix, - _swigc__p_SoSFName, - _swigc__p_SoSFNode, - _swigc__p_SoSFPath, - _swigc__p_SoSFPlane, - _swigc__p_SoSFRotation, - _swigc__p_SoSFShort, - _swigc__p_SoSFString, - _swigc__p_SoSFTime, - _swigc__p_SoSFTrigger, - _swigc__p_SoSFUInt32, - _swigc__p_SoSFUShort, - _swigc__p_SoSFVec2b, - _swigc__p_SoSFVec2d, - _swigc__p_SoSFVec2f, - _swigc__p_SoSFVec2i32, - _swigc__p_SoSFVec2s, - _swigc__p_SoSFVec3b, - _swigc__p_SoSFVec3d, - _swigc__p_SoSFVec3f, - _swigc__p_SoSFVec3i32, - _swigc__p_SoSFVec3s, - _swigc__p_SoSFVec4b, - _swigc__p_SoSFVec4d, - _swigc__p_SoSFVec4f, - _swigc__p_SoSFVec4i32, - _swigc__p_SoSFVec4s, - _swigc__p_SoSFVec4ub, - _swigc__p_SoSFVec4ui32, - _swigc__p_SoSFVec4us, - _swigc__p_SoSField, - _swigc__p_SoScXMLEvent, - _swigc__p_SoScXMLStateMachine, - _swigc__p_SoScale, - _swigc__p_SoScale1Dragger, - _swigc__p_SoScale2Dragger, - _swigc__p_SoScale2UniformDragger, - _swigc__p_SoScaleUniformDragger, - _swigc__p_SoSceneKit, - _swigc__p_SoSceneManager, - _swigc__p_SoSceneTexture2, - _swigc__p_SoSceneTextureCubeMap, - _swigc__p_SoSearchAction, - _swigc__p_SoSelectOne, - _swigc__p_SoSelection, - _swigc__p_SoSensor, - _swigc__p_SoSensorManager, - _swigc__p_SoSeparator, - _swigc__p_SoSeparatorKit, - _swigc__p_SoShaderObject, - _swigc__p_SoShaderParameter, - _swigc__p_SoShaderParameter1f, - _swigc__p_SoShaderParameter1i, - _swigc__p_SoShaderParameter2f, - _swigc__p_SoShaderParameter2i, - _swigc__p_SoShaderParameter3f, - _swigc__p_SoShaderParameter3i, - _swigc__p_SoShaderParameter4f, - _swigc__p_SoShaderParameter4i, - _swigc__p_SoShaderParameterArray1f, - _swigc__p_SoShaderParameterArray1i, - _swigc__p_SoShaderParameterArray2f, - _swigc__p_SoShaderParameterArray2i, - _swigc__p_SoShaderParameterArray3f, - _swigc__p_SoShaderParameterArray3i, - _swigc__p_SoShaderParameterArray4f, - _swigc__p_SoShaderParameterArray4i, - _swigc__p_SoShaderParameterMatrix, - _swigc__p_SoShaderParameterMatrixArray, - _swigc__p_SoShaderProgram, - _swigc__p_SoShaderStateMatrixParameter, - _swigc__p_SoShape, - _swigc__p_SoShapeHints, - _swigc__p_SoShapeHintsElement, - _swigc__p_SoShapeHintsElement__FaceType, - _swigc__p_SoShapeHintsElement__ShapeType, - _swigc__p_SoShapeHintsElement__VertexOrdering, - _swigc__p_SoShapeKit, - _swigc__p_SoShapeStyleElement, - _swigc__p_SoShininessElement, - _swigc__p_SoShuttle, - _swigc__p_SoSimplifier, - _swigc__p_SoSimplifyAction, - _swigc__p_SoSoundElement, - _swigc__p_SoSpaceballButtonEvent, - _swigc__p_SoSpecularColorElement, - _swigc__p_SoSphere, - _swigc__p_SoSpotLight, - _swigc__p_SoSpotLightDragger, - _swigc__p_SoSpotLightManip, - _swigc__p_SoState, - _swigc__p_SoSurroundScale, - _swigc__p_SoSwitch, - _swigc__p_SoSwitchElement, - _swigc__p_SoTabBoxDragger, - _swigc__p_SoTabBoxManip, - _swigc__p_SoTabPlaneDragger, - _swigc__p_SoTempPath, - _swigc__p_SoText2, - _swigc__p_SoText3, - _swigc__p_SoTextDetail, - _swigc__p_SoTextOutlineEnabledElement, - _swigc__p_SoTexture, - _swigc__p_SoTexture2, - _swigc__p_SoTexture2Convert, - _swigc__p_SoTexture2Transform, - _swigc__p_SoTexture3, - _swigc__p_SoTexture3EnabledElement, - _swigc__p_SoTexture3Transform, - _swigc__p_SoTextureCombine, - _swigc__p_SoTextureCombineElement, - _swigc__p_SoTextureCombineElement__Operand, - _swigc__p_SoTextureCombineElement__Operation, - _swigc__p_SoTextureCombineElement__Source, - _swigc__p_SoTextureCoordinate2, - _swigc__p_SoTextureCoordinate3, - _swigc__p_SoTextureCoordinateBinding, - _swigc__p_SoTextureCoordinateBindingElement, - _swigc__p_SoTextureCoordinateBundle, - _swigc__p_SoTextureCoordinateCache, - _swigc__p_SoTextureCoordinateCube, - _swigc__p_SoTextureCoordinateCylinder, - _swigc__p_SoTextureCoordinateDefault, - _swigc__p_SoTextureCoordinateElement, - _swigc__p_SoTextureCoordinateEnvironment, - _swigc__p_SoTextureCoordinateFunction, - _swigc__p_SoTextureCoordinateNormalMap, - _swigc__p_SoTextureCoordinateObject, - _swigc__p_SoTextureCoordinatePlane, - _swigc__p_SoTextureCoordinateReflectionMap, - _swigc__p_SoTextureCoordinateSphere, - _swigc__p_SoTextureCubeMap, - _swigc__p_SoTextureEnabledElement, - _swigc__p_SoTextureImageElement, - _swigc__p_SoTextureImageElement__Model, - _swigc__p_SoTextureImageElement__Wrap, - _swigc__p_SoTextureMatrixElement, - _swigc__p_SoTextureMatrixTransform, - _swigc__p_SoTextureOverrideElement, - _swigc__p_SoTextureQualityElement, - _swigc__p_SoTextureScalePolicy, - _swigc__p_SoTextureUnit, - _swigc__p_SoTextureUnitElement, - _swigc__p_SoTimeCounter, - _swigc__p_SoTimerQueueSensor, - _swigc__p_SoTimerSensor, - _swigc__p_SoToVRML2Action, - _swigc__p_SoToVRMLAction, - _swigc__p_SoTrackballDragger, - _swigc__p_SoTrackballManip, - _swigc__p_SoTranReceiver, - _swigc__p_SoTranSender, - _swigc__p_SoTransform, - _swigc__p_SoTransformBoxDragger, - _swigc__p_SoTransformBoxManip, - _swigc__p_SoTransformManip, - _swigc__p_SoTransformSeparator, - _swigc__p_SoTransformVec3f, - _swigc__p_SoTransformation, - _swigc__p_SoTransformerDragger, - _swigc__p_SoTransformerManip, - _swigc__p_SoTranslate1Dragger, - _swigc__p_SoTranslate2Dragger, - _swigc__p_SoTranslation, - _swigc__p_SoTransparencyElement, - _swigc__p_SoTransparencyType, - _swigc__p_SoTriangleStripSet, - _swigc__p_SoTriggerAny, - _swigc__p_SoType, - _swigc__p_SoTypeList, - _swigc__p_SoUniformShaderParameter, - _swigc__p_SoUnits, - _swigc__p_SoUnitsElement, - _swigc__p_SoVBO, - _swigc__p_SoVRMLAnchor, - _swigc__p_SoVRMLAppearance, - _swigc__p_SoVRMLAudioClip, - _swigc__p_SoVRMLBackground, - _swigc__p_SoVRMLBillboard, - _swigc__p_SoVRMLBox, - _swigc__p_SoVRMLCollision, - _swigc__p_SoVRMLColor, - _swigc__p_SoVRMLColorInterpolator, - _swigc__p_SoVRMLCone, - _swigc__p_SoVRMLCoordinate, - _swigc__p_SoVRMLCoordinateInterpolator, - _swigc__p_SoVRMLCylinder, - _swigc__p_SoVRMLCylinderSensor, - _swigc__p_SoVRMLDirectionalLight, - _swigc__p_SoVRMLDragSensor, - _swigc__p_SoVRMLElevationGrid, - _swigc__p_SoVRMLExtrusion, - _swigc__p_SoVRMLFog, - _swigc__p_SoVRMLFontStyle, - _swigc__p_SoVRMLGeometry, - _swigc__p_SoVRMLGroup, - _swigc__p_SoVRMLImageTexture, - _swigc__p_SoVRMLIndexedFaceSet, - _swigc__p_SoVRMLIndexedLine, - _swigc__p_SoVRMLIndexedLineSet, - _swigc__p_SoVRMLIndexedShape, - _swigc__p_SoVRMLInline, - _swigc__p_SoVRMLInterpolator, - _swigc__p_SoVRMLLOD, - _swigc__p_SoVRMLLight, - _swigc__p_SoVRMLMaterial, - _swigc__p_SoVRMLMovieTexture, - _swigc__p_SoVRMLNavigationInfo, - _swigc__p_SoVRMLNormal, - _swigc__p_SoVRMLNormalInterpolator, - _swigc__p_SoVRMLOrientationInterpolator, - _swigc__p_SoVRMLParent, - _swigc__p_SoVRMLPixelTexture, - _swigc__p_SoVRMLPlaneSensor, - _swigc__p_SoVRMLPointLight, - _swigc__p_SoVRMLPointSet, - _swigc__p_SoVRMLPositionInterpolator, - _swigc__p_SoVRMLProximitySensor, - _swigc__p_SoVRMLScalarInterpolator, - _swigc__p_SoVRMLScript, - _swigc__p_SoVRMLSensor, - _swigc__p_SoVRMLShape, - _swigc__p_SoVRMLSound, - _swigc__p_SoVRMLSphere, - _swigc__p_SoVRMLSphereSensor, - _swigc__p_SoVRMLSpotLight, - _swigc__p_SoVRMLSwitch, - _swigc__p_SoVRMLText, - _swigc__p_SoVRMLTexture, - _swigc__p_SoVRMLTextureCoordinate, - _swigc__p_SoVRMLTextureTransform, - _swigc__p_SoVRMLTimeSensor, - _swigc__p_SoVRMLTouchSensor, - _swigc__p_SoVRMLTransform, - _swigc__p_SoVRMLVertexLine, - _swigc__p_SoVRMLVertexPoint, - _swigc__p_SoVRMLVertexShape, - _swigc__p_SoVRMLViewpoint, - _swigc__p_SoVRMLVisibilitySensor, - _swigc__p_SoVRMLWorldInfo, - _swigc__p_SoVectorOutput, - _swigc__p_SoVectorizeAction, - _swigc__p_SoVectorizePSAction, - _swigc__p_SoVertexAttribute, - _swigc__p_SoVertexAttributeBinding, - _swigc__p_SoVertexAttributeBindingElement, - _swigc__p_SoVertexAttributeData, - _swigc__p_SoVertexAttributeElement, - _swigc__p_SoVertexProperty, - _swigc__p_SoVertexShader, - _swigc__p_SoVertexShape, - _swigc__p_SoViewVolumeElement, - _swigc__p_SoViewingMatrixElement, - _swigc__p_SoViewportRegionElement, - _swigc__p_SoWWWAnchor, - _swigc__p_SoWWWInline, - _swigc__p_SoWindowElement, - _swigc__p_SoWrapperKit, - _swigc__p_SoWriteAction, - _swigc__p_a_2__double, - _swigc__p_a_2__doublep, - _swigc__p_a_2__int32_t, - _swigc__p_a_2__int8_t, - _swigc__p_a_2__short, - _swigc__p_a_3__int32_t, - _swigc__p_a_3__int8_t, - _swigc__p_a_3__short, - _swigc__p_a_4__a_4__double, - _swigc__p_a_4__a_4__doublep, - _swigc__p_a_4__a_4__float, - _swigc__p_a_4__a_4__floatp, - _swigc__p_a_4__double, - _swigc__p_a_4__doublep, - _swigc__p_a_4__float, - _swigc__p_a_4__floatp, - _swigc__p_a_4__int32_t, - _swigc__p_a_4__int8_t, - _swigc__p_a_4__short, - _swigc__p_a_4__uint32_t, - _swigc__p_a_4__uint8_t, - _swigc__p_a_4__unsigned_short, - _swigc__p_cc_glglue, - _swigc__p_cc_storage_f, - _swigc__p_char, - _swigc__p_charp, - _swigc__p_close_func, - _swigc__p_double, - _swigc__p_doublep, - _swigc__p_f_char__char, - _swigc__p_f_char__charp, - _swigc__p_f_float_p_void__int, - _swigc__p_f_float_p_void__intp, - _swigc__p_f_p_SoAction_p_SoNode__void, - _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - _swigc__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__int, - _swigc__p_f_p_SoState_r_q_const__SbVec3s_p_unsigned_char_enum_SoGLImage__ResizeReason_p_void_p_SoGLImage__intp, - _swigc__p_f_p_q_const__SoError_p_void__void, - _swigc__p_f_p_void__SoGLRenderAction__AbortCode, - _swigc__p_f_p_void__float, - _swigc__p_f_p_void__floatp, - _swigc__p_f_p_void__int, - _swigc__p_f_p_void__intp, - _swigc__p_f_p_void__p_void, - _swigc__p_f_p_void__void, - _swigc__p_f_p_void_int__void, - _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, - _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, - _swigc__p_f_p_void_p_ScXMLStateMachine__void, - _swigc__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, - _swigc__p_f_p_void_p_SoAction__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoDragger__void, - _swigc__p_f_p_void_p_SoEventCallback__void, - _swigc__p_f_p_void_p_SoGLRenderAction__float, - _swigc__p_f_p_void_p_SoGLRenderAction__floatp, - _swigc__p_f_p_void_p_SoGLRenderAction__void, - _swigc__p_f_p_void_p_SoInput__void, - _swigc__p_f_p_void_p_SoPath__void, - _swigc__p_f_p_void_p_SoRenderManager__void, - _swigc__p_f_p_void_p_SoSceneManager__void, - _swigc__p_f_p_void_p_SoSelection__void, - _swigc__p_f_p_void_p_SoSensor__void, - _swigc__p_f_p_void_p_SoState_q_const__int__void, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__int, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__long, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, - _swigc__p_f_p_void_p_SoVRMLScript__void, - _swigc__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, - _swigc__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, - _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - _swigc__p_f_p_void_p_void__int, - _swigc__p_f_p_void_p_void__intp, - _swigc__p_f_p_void_p_void__void, - _swigc__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, - _swigc__p_f_p_void_p_void_p_void_p_void__void, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - _swigc__p_f_p_void_size_t__p_void, - _swigc__p_f_p_void_uint32_t__void, - _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, - _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, - _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__int, - _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__intp, - _swigc__p_f_q_const__p_void_r_q_const__SbSphere__int, - _swigc__p_f_q_const__p_void_r_q_const__SbSphere__intp, - _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__int, - _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__intp, - _swigc__p_f_r_q_const__SbName_float_int_p_void__int, - _swigc__p_f_r_q_const__SbName_float_int_p_void__intp, - _swigc__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - _swigc__p_f_r_q_const__p_q_const__char_r_q_const__p_SoVertexAttributeData_p_void__void, - _swigc__p_f_uint32_t_p_void__void, - _swigc__p_f_void__p_void, - _swigc__p_float, - _swigc__p_floatp, - _swigc__p_int, - _swigc__p_int16_t, - _swigc__p_int32_t, - _swigc__p_int8_t, - _swigc__p_intp, - _swigc__p_long, - _swigc__p_longp, - _swigc__p_open_func, - _swigc__p_p_SbName, - _swigc__p_p_SbString, - _swigc__p_p_SbVec2f, - _swigc__p_p_SoAnnotation, - _swigc__p_p_SoAntiSquish, - _swigc__p_p_SoAppearanceKit, - _swigc__p_p_SoArray, - _swigc__p_p_SoAsciiText, - _swigc__p_p_SoBase, - _swigc__p_p_SoBaseColor, - _swigc__p_p_SoBaseKit, - _swigc__p_p_SoBlinker, - _swigc__p_p_SoBoolOperation, - _swigc__p_p_SoBoxHighlightRenderAction, - _swigc__p_p_SoBumpMap, - _swigc__p_p_SoBumpMapCoordinate, - _swigc__p_p_SoBumpMapTransform, - _swigc__p_p_SoCacheHint, - _swigc__p_p_SoCalculator, - _swigc__p_p_SoCallback, - _swigc__p_p_SoCamera, - _swigc__p_p_SoCameraKit, - _swigc__p_p_SoCenterballDragger, - _swigc__p_p_SoCenterballManip, - _swigc__p_p_SoClipPlane, - _swigc__p_p_SoClipPlaneManip, - _swigc__p_p_SoColorIndex, - _swigc__p_p_SoComplexity, - _swigc__p_p_SoComposeMatrix, - _swigc__p_p_SoComposeRotation, - _swigc__p_p_SoComposeRotationFromTo, - _swigc__p_p_SoComposeVec2f, - _swigc__p_p_SoComposeVec3f, - _swigc__p_p_SoComposeVec4f, - _swigc__p_p_SoComputeBoundingBox, - _swigc__p_p_SoConcatenate, - _swigc__p_p_SoCone, - _swigc__p_p_SoCoordinate3, - _swigc__p_p_SoCoordinate4, - _swigc__p_p_SoCounter, - _swigc__p_p_SoCube, - _swigc__p_p_SoCylinder, - _swigc__p_p_SoDecomposeMatrix, - _swigc__p_p_SoDecomposeRotation, - _swigc__p_p_SoDecomposeVec2f, - _swigc__p_p_SoDecomposeVec3f, - _swigc__p_p_SoDecomposeVec4f, - _swigc__p_p_SoDepthBuffer, - _swigc__p_p_SoDirectionalLight, - _swigc__p_p_SoDirectionalLightDragger, - _swigc__p_p_SoDirectionalLightManip, - _swigc__p_p_SoDragPointDragger, - _swigc__p_p_SoDragger, - _swigc__p_p_SoDrawStyle, - _swigc__p_p_SoElapsedTime, - _swigc__p_p_SoEngine, - _swigc__p_p_SoEngineOutput, - _swigc__p_p_SoEnvironment, - _swigc__p_p_SoEventCallback, - _swigc__p_p_SoExtSelection, - _swigc__p_p_SoFaceSet, - _swigc__p_p_SoField, - _swigc__p_p_SoFieldContainer, - _swigc__p_p_SoFieldConverter, - _swigc__p_p_SoFile, - _swigc__p_p_SoFont, - _swigc__p_p_SoFontStyle, - _swigc__p_p_SoFragmentShader, - _swigc__p_p_SoFrustumCamera, - _swigc__p_p_SoFullPath, - _swigc__p_p_SoGLRenderAction, - _swigc__p_p_SoGate, - _swigc__p_p_SoGroup, - _swigc__p_p_SoHandleBoxDragger, - _swigc__p_p_SoHandleBoxManip, - _swigc__p_p_SoHeightMapToNormalMap, - _swigc__p_p_SoImage, - _swigc__p_p_SoIndexedFaceSet, - _swigc__p_p_SoIndexedLineSet, - _swigc__p_p_SoIndexedMarkerSet, - _swigc__p_p_SoIndexedNurbsCurve, - _swigc__p_p_SoIndexedNurbsSurface, - _swigc__p_p_SoIndexedPointSet, - _swigc__p_p_SoIndexedShape, - _swigc__p_p_SoIndexedTriangleStripSet, - _swigc__p_p_SoInfo, - _swigc__p_p_SoInteractionKit, - _swigc__p_p_SoInterpolate, - _swigc__p_p_SoInterpolateFloat, - _swigc__p_p_SoInterpolateRotation, - _swigc__p_p_SoInterpolateVec2f, - _swigc__p_p_SoInterpolateVec3f, - _swigc__p_p_SoInterpolateVec4f, - _swigc__p_p_SoJackDragger, - _swigc__p_p_SoJackManip, - _swigc__p_p_SoLOD, - _swigc__p_p_SoLabel, - _swigc__p_p_SoLevelOfDetail, - _swigc__p_p_SoLight, - _swigc__p_p_SoLightKit, - _swigc__p_p_SoLightModel, - _swigc__p_p_SoLineHighlightRenderAction, - _swigc__p_p_SoLineSet, - _swigc__p_p_SoLinearProfile, - _swigc__p_p_SoListener, - _swigc__p_p_SoLocateHighlight, - _swigc__p_p_SoMFBitMask, - _swigc__p_p_SoMFBool, - _swigc__p_p_SoMFColor, - _swigc__p_p_SoMFColorRGBA, - _swigc__p_p_SoMFDouble, - _swigc__p_p_SoMFEngine, - _swigc__p_p_SoMFEnum, - _swigc__p_p_SoMFFloat, - _swigc__p_p_SoMFInt32, - _swigc__p_p_SoMFMatrix, - _swigc__p_p_SoMFName, - _swigc__p_p_SoMFNode, - _swigc__p_p_SoMFPath, - _swigc__p_p_SoMFPlane, - _swigc__p_p_SoMFRotation, - _swigc__p_p_SoMFShort, - _swigc__p_p_SoMFString, - _swigc__p_p_SoMFTime, - _swigc__p_p_SoMFUInt32, - _swigc__p_p_SoMFUShort, - _swigc__p_p_SoMFVec2b, - _swigc__p_p_SoMFVec2d, - _swigc__p_p_SoMFVec2f, - _swigc__p_p_SoMFVec2i32, - _swigc__p_p_SoMFVec2s, - _swigc__p_p_SoMFVec3b, - _swigc__p_p_SoMFVec3d, - _swigc__p_p_SoMFVec3f, - _swigc__p_p_SoMFVec3i32, - _swigc__p_p_SoMFVec3s, - _swigc__p_p_SoMFVec4b, - _swigc__p_p_SoMFVec4d, - _swigc__p_p_SoMFVec4f, - _swigc__p_p_SoMFVec4i32, - _swigc__p_p_SoMFVec4s, - _swigc__p_p_SoMFVec4ub, - _swigc__p_p_SoMFVec4ui32, - _swigc__p_p_SoMFVec4us, - _swigc__p_p_SoMField, - _swigc__p_p_SoMarkerSet, - _swigc__p_p_SoMaterial, - _swigc__p_p_SoMaterialBinding, - _swigc__p_p_SoMatrixTransform, - _swigc__p_p_SoMultipleCopy, - _swigc__p_p_SoNode, - _swigc__p_p_SoNodeEngine, - _swigc__p_p_SoNodeKitListPart, - _swigc__p_p_SoNodeKitPath, - _swigc__p_p_SoNonIndexedShape, - _swigc__p_p_SoNormal, - _swigc__p_p_SoNormalBinding, - _swigc__p_p_SoNurbsCurve, - _swigc__p_p_SoNurbsProfile, - _swigc__p_p_SoNurbsSurface, - _swigc__p_p_SoOnOff, - _swigc__p_p_SoOneShot, - _swigc__p_p_SoOrthographicCamera, - _swigc__p_p_SoPackedColor, - _swigc__p_p_SoPath, - _swigc__p_p_SoPathSwitch, - _swigc__p_p_SoPendulum, - _swigc__p_p_SoPerspectiveCamera, - _swigc__p_p_SoPickStyle, - _swigc__p_p_SoPointLight, - _swigc__p_p_SoPointLightDragger, - _swigc__p_p_SoPointLightManip, - _swigc__p_p_SoPointSet, - _swigc__p_p_SoPolygonOffset, - _swigc__p_p_SoProfile, - _swigc__p_p_SoProfileCoordinate2, - _swigc__p_p_SoProfileCoordinate3, - _swigc__p_p_SoProto, - _swigc__p_p_SoProtoInstance, - _swigc__p_p_SoQuadMesh, - _swigc__p_p_SoResetTransform, - _swigc__p_p_SoRotateCylindricalDragger, - _swigc__p_p_SoRotateDiscDragger, - _swigc__p_p_SoRotateSphericalDragger, - _swigc__p_p_SoRotation, - _swigc__p_p_SoRotationXYZ, - _swigc__p_p_SoRotor, - _swigc__p_p_SoSFBitMask, - _swigc__p_p_SoSFBool, - _swigc__p_p_SoSFBox2d, - _swigc__p_p_SoSFBox2f, - _swigc__p_p_SoSFBox2i32, - _swigc__p_p_SoSFBox2s, - _swigc__p_p_SoSFBox3d, - _swigc__p_p_SoSFBox3f, - _swigc__p_p_SoSFBox3i32, - _swigc__p_p_SoSFBox3s, - _swigc__p_p_SoSFColor, - _swigc__p_p_SoSFColorRGBA, - _swigc__p_p_SoSFDouble, - _swigc__p_p_SoSFEngine, - _swigc__p_p_SoSFEnum, - _swigc__p_p_SoSFFloat, - _swigc__p_p_SoSFImage, - _swigc__p_p_SoSFImage3, - _swigc__p_p_SoSFInt32, - _swigc__p_p_SoSFMatrix, - _swigc__p_p_SoSFName, - _swigc__p_p_SoSFNode, - _swigc__p_p_SoSFPath, - _swigc__p_p_SoSFPlane, - _swigc__p_p_SoSFRotation, - _swigc__p_p_SoSFShort, - _swigc__p_p_SoSFString, - _swigc__p_p_SoSFTime, - _swigc__p_p_SoSFTrigger, - _swigc__p_p_SoSFUInt32, - _swigc__p_p_SoSFUShort, - _swigc__p_p_SoSFVec2b, - _swigc__p_p_SoSFVec2d, - _swigc__p_p_SoSFVec2f, - _swigc__p_p_SoSFVec2i32, - _swigc__p_p_SoSFVec2s, - _swigc__p_p_SoSFVec3b, - _swigc__p_p_SoSFVec3d, - _swigc__p_p_SoSFVec3f, - _swigc__p_p_SoSFVec3i32, - _swigc__p_p_SoSFVec3s, - _swigc__p_p_SoSFVec4b, - _swigc__p_p_SoSFVec4d, - _swigc__p_p_SoSFVec4f, - _swigc__p_p_SoSFVec4i32, - _swigc__p_p_SoSFVec4s, - _swigc__p_p_SoSFVec4ub, - _swigc__p_p_SoSFVec4ui32, - _swigc__p_p_SoSFVec4us, - _swigc__p_p_SoSField, - _swigc__p_p_SoScale, - _swigc__p_p_SoScale1Dragger, - _swigc__p_p_SoScale2Dragger, - _swigc__p_p_SoScale2UniformDragger, - _swigc__p_p_SoScaleUniformDragger, - _swigc__p_p_SoSceneKit, - _swigc__p_p_SoSceneTexture2, - _swigc__p_p_SoSceneTextureCubeMap, - _swigc__p_p_SoSelectOne, - _swigc__p_p_SoSelection, - _swigc__p_p_SoSeparator, - _swigc__p_p_SoSeparatorKit, - _swigc__p_p_SoShaderObject, - _swigc__p_p_SoShaderParameter, - _swigc__p_p_SoShaderParameter1f, - _swigc__p_p_SoShaderParameter1i, - _swigc__p_p_SoShaderParameter2f, - _swigc__p_p_SoShaderParameter2i, - _swigc__p_p_SoShaderParameter3f, - _swigc__p_p_SoShaderParameter3i, - _swigc__p_p_SoShaderParameter4f, - _swigc__p_p_SoShaderParameter4i, - _swigc__p_p_SoShaderParameterArray1f, - _swigc__p_p_SoShaderParameterArray1i, - _swigc__p_p_SoShaderParameterArray2f, - _swigc__p_p_SoShaderParameterArray2i, - _swigc__p_p_SoShaderParameterArray3f, - _swigc__p_p_SoShaderParameterArray3i, - _swigc__p_p_SoShaderParameterArray4f, - _swigc__p_p_SoShaderParameterArray4i, - _swigc__p_p_SoShaderParameterMatrix, - _swigc__p_p_SoShaderParameterMatrixArray, - _swigc__p_p_SoShaderProgram, - _swigc__p_p_SoShaderStateMatrixParameter, - _swigc__p_p_SoShape, - _swigc__p_p_SoShapeHints, - _swigc__p_p_SoShapeKit, - _swigc__p_p_SoShuttle, - _swigc__p_p_SoSphere, - _swigc__p_p_SoSpotLight, - _swigc__p_p_SoSpotLightDragger, - _swigc__p_p_SoSpotLightManip, - _swigc__p_p_SoSurroundScale, - _swigc__p_p_SoSwitch, - _swigc__p_p_SoTabBoxDragger, - _swigc__p_p_SoTabBoxManip, - _swigc__p_p_SoTabPlaneDragger, - _swigc__p_p_SoTempPath, - _swigc__p_p_SoText2, - _swigc__p_p_SoText3, - _swigc__p_p_SoTexture, - _swigc__p_p_SoTexture2, - _swigc__p_p_SoTexture2Convert, - _swigc__p_p_SoTexture2Transform, - _swigc__p_p_SoTexture3, - _swigc__p_p_SoTexture3Transform, - _swigc__p_p_SoTextureCombine, - _swigc__p_p_SoTextureCoordinate2, - _swigc__p_p_SoTextureCoordinate3, - _swigc__p_p_SoTextureCoordinateBinding, - _swigc__p_p_SoTextureCoordinateCube, - _swigc__p_p_SoTextureCoordinateCylinder, - _swigc__p_p_SoTextureCoordinateDefault, - _swigc__p_p_SoTextureCoordinateEnvironment, - _swigc__p_p_SoTextureCoordinateFunction, - _swigc__p_p_SoTextureCoordinateNormalMap, - _swigc__p_p_SoTextureCoordinateObject, - _swigc__p_p_SoTextureCoordinatePlane, - _swigc__p_p_SoTextureCoordinateReflectionMap, - _swigc__p_p_SoTextureCoordinateSphere, - _swigc__p_p_SoTextureCubeMap, - _swigc__p_p_SoTextureMatrixTransform, - _swigc__p_p_SoTextureScalePolicy, - _swigc__p_p_SoTextureUnit, - _swigc__p_p_SoTimeCounter, - _swigc__p_p_SoTrackballDragger, - _swigc__p_p_SoTrackballManip, - _swigc__p_p_SoTransform, - _swigc__p_p_SoTransformBoxDragger, - _swigc__p_p_SoTransformBoxManip, - _swigc__p_p_SoTransformManip, - _swigc__p_p_SoTransformSeparator, - _swigc__p_p_SoTransformVec3f, - _swigc__p_p_SoTransformation, - _swigc__p_p_SoTransformerDragger, - _swigc__p_p_SoTransformerManip, - _swigc__p_p_SoTranslate1Dragger, - _swigc__p_p_SoTranslate2Dragger, - _swigc__p_p_SoTranslation, - _swigc__p_p_SoTransparencyType, - _swigc__p_p_SoTriangleStripSet, - _swigc__p_p_SoTriggerAny, - _swigc__p_p_SoUniformShaderParameter, - _swigc__p_p_SoUnits, - _swigc__p_p_SoVRMLAnchor, - _swigc__p_p_SoVRMLAppearance, - _swigc__p_p_SoVRMLAudioClip, - _swigc__p_p_SoVRMLBackground, - _swigc__p_p_SoVRMLBillboard, - _swigc__p_p_SoVRMLBox, - _swigc__p_p_SoVRMLCollision, - _swigc__p_p_SoVRMLColor, - _swigc__p_p_SoVRMLColorInterpolator, - _swigc__p_p_SoVRMLCone, - _swigc__p_p_SoVRMLCoordinate, - _swigc__p_p_SoVRMLCoordinateInterpolator, - _swigc__p_p_SoVRMLCylinder, - _swigc__p_p_SoVRMLCylinderSensor, - _swigc__p_p_SoVRMLDirectionalLight, - _swigc__p_p_SoVRMLDragSensor, - _swigc__p_p_SoVRMLElevationGrid, - _swigc__p_p_SoVRMLExtrusion, - _swigc__p_p_SoVRMLFog, - _swigc__p_p_SoVRMLFontStyle, - _swigc__p_p_SoVRMLGeometry, - _swigc__p_p_SoVRMLGroup, - _swigc__p_p_SoVRMLImageTexture, - _swigc__p_p_SoVRMLIndexedFaceSet, - _swigc__p_p_SoVRMLIndexedLine, - _swigc__p_p_SoVRMLIndexedLineSet, - _swigc__p_p_SoVRMLIndexedShape, - _swigc__p_p_SoVRMLInline, - _swigc__p_p_SoVRMLInterpolator, - _swigc__p_p_SoVRMLLOD, - _swigc__p_p_SoVRMLLight, - _swigc__p_p_SoVRMLMaterial, - _swigc__p_p_SoVRMLMovieTexture, - _swigc__p_p_SoVRMLNavigationInfo, - _swigc__p_p_SoVRMLNormal, - _swigc__p_p_SoVRMLNormalInterpolator, - _swigc__p_p_SoVRMLOrientationInterpolator, - _swigc__p_p_SoVRMLParent, - _swigc__p_p_SoVRMLPixelTexture, - _swigc__p_p_SoVRMLPlaneSensor, - _swigc__p_p_SoVRMLPointLight, - _swigc__p_p_SoVRMLPointSet, - _swigc__p_p_SoVRMLPositionInterpolator, - _swigc__p_p_SoVRMLProximitySensor, - _swigc__p_p_SoVRMLScalarInterpolator, - _swigc__p_p_SoVRMLScript, - _swigc__p_p_SoVRMLSensor, - _swigc__p_p_SoVRMLShape, - _swigc__p_p_SoVRMLSound, - _swigc__p_p_SoVRMLSphere, - _swigc__p_p_SoVRMLSphereSensor, - _swigc__p_p_SoVRMLSpotLight, - _swigc__p_p_SoVRMLSwitch, - _swigc__p_p_SoVRMLText, - _swigc__p_p_SoVRMLTexture, - _swigc__p_p_SoVRMLTextureCoordinate, - _swigc__p_p_SoVRMLTextureTransform, - _swigc__p_p_SoVRMLTimeSensor, - _swigc__p_p_SoVRMLTouchSensor, - _swigc__p_p_SoVRMLTransform, - _swigc__p_p_SoVRMLVertexLine, - _swigc__p_p_SoVRMLVertexPoint, - _swigc__p_p_SoVRMLVertexShape, - _swigc__p_p_SoVRMLViewpoint, - _swigc__p_p_SoVRMLVisibilitySensor, - _swigc__p_p_SoVRMLWorldInfo, - _swigc__p_p_SoVertexAttribute, - _swigc__p_p_SoVertexAttributeBinding, - _swigc__p_p_SoVertexProperty, - _swigc__p_p_SoVertexShader, - _swigc__p_p_SoVertexShape, - _swigc__p_p_SoWWWAnchor, - _swigc__p_p_SoWWWInline, - _swigc__p_p_SoWrapperKit, - _swigc__p_p_char, - _swigc__p_p_charp, - _swigc__p_p_f_p_SoAction_p_SoNode__void, - _swigc__p_p_f_p_void__SoGLRenderAction__AbortCode, - _swigc__p_p_f_p_void_p_SoInput__void, - _swigc__p_p_float, - _swigc__p_p_floatp, - _swigc__p_p_int, - _swigc__p_p_intp, - _swigc__p_p_unsigned_char, - _swigc__p_p_void, - _swigc__p_read_func, - _swigc__p_seek_func, - _swigc__p_short, - _swigc__p_size_t, - _swigc__p_tell_func, - _swigc__p_time_t, - _swigc__p_timeval, - _swigc__p_uint16_t, - _swigc__p_uint32_t, - _swigc__p_uint8_t, - _swigc__p_uintptr_t, - _swigc__p_unsigned_char, - _swigc__p_unsigned_int, - _swigc__p_unsigned_short, - _swigc__p_void, -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ - -static swig_const_info swig_const_table[] = { -{0, 0, 0, 0.0, 0, 0}}; - -#ifdef __cplusplus -} -#endif -/* ----------------------------------------------------------------------------- - * Type initialization: - * This problem is tough by the requirement that no dynamic - * memory is used. Also, since swig_type_info structures store pointers to - * swig_cast_info structures and swig_cast_info structures store pointers back - * to swig_type_info structures, we need some lookup code at initialization. - * The idea is that swig generates all the structures that are needed. - * The runtime then collects these partially filled structures. - * The SWIG_InitializeModule function takes these initial arrays out of - * swig_module, and does all the lookup, filling in the swig_module.types - * array with the correct data and linking the correct swig_cast_info - * structures together. - * - * The generated swig_type_info structures are assigned staticly to an initial - * array. We just loop through that array, and handle each type individually. - * First we lookup if this type has been already loaded, and if so, use the - * loaded structure instead of the generated one. Then we have to fill in the - * cast linked list. The cast data is initially stored in something like a - * two-dimensional array. Each row corresponds to a type (there are the same - * number of rows as there are in the swig_type_initial array). Each entry in - * a column is one of the swig_cast_info structures for that type. - * The cast_initial array is actually an array of arrays, because each row has - * a variable number of columns. So to actually build the cast linked list, - * we find the array of casts associated with the type, and loop through it - * adding the casts to the list. The one last trick we need to do is making - * sure the type pointer in the swig_cast_info struct is correct. - * - * First off, we lookup the cast->type name to see if it is already loaded. - * There are three cases to handle: - * 1) If the cast->type has already been loaded AND the type we are adding - * casting info to has not been loaded (it is in this module), THEN we - * replace the cast->type pointer with the type pointer that has already - * been loaded. - * 2) If BOTH types (the one we are adding casting info to, and the - * cast->type) are loaded, THEN the cast info has already been loaded by - * the previous module so we just ignore it. - * 3) Finally, if cast->type has not already been loaded, then we add that - * swig_cast_info to the linked list (because the cast->type) pointer will - * be correct. - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* c-mode */ -#endif -#endif - -#if 0 -#define SWIGRUNTIME_DEBUG -#endif - - -SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { - size_t i; - swig_module_info *module_head, *iter; - int found, init; - - clientdata = clientdata; - - /* check to see if the circular list has been setup, if not, set it up */ - if (swig_module.next==0) { - /* Initialize the swig_module */ - swig_module.type_initial = swig_type_initial; - swig_module.cast_initial = swig_cast_initial; - swig_module.next = &swig_module; - init = 1; - } else { - init = 0; - } - - /* Try and load any already created modules */ - module_head = SWIG_GetModule(clientdata); - if (!module_head) { - /* This is the first module loaded for this interpreter */ - /* so set the swig module into the interpreter */ - SWIG_SetModule(clientdata, &swig_module); - module_head = &swig_module; - } else { - /* the interpreter has loaded a SWIG module, but has it loaded this one? */ - found=0; - iter=module_head; - do { - if (iter==&swig_module) { - found=1; - break; - } - iter=iter->next; - } while (iter!= module_head); - - /* if the is found in the list, then all is done and we may leave */ - if (found) return; - /* otherwise we must add out module into the list */ - swig_module.next = module_head->next; - module_head->next = &swig_module; - } - - /* When multiple interpeters are used, a module could have already been initialized in - a different interpreter, but not yet have a pointer in this interpreter. - In this case, we do not want to continue adding types... everything should be - set up already */ - if (init == 0) return; - - /* Now work on filling in swig_module.types */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: size %d\n", swig_module.size); -#endif - for (i = 0; i < swig_module.size; ++i) { - swig_type_info *type = 0; - swig_type_info *ret; - swig_cast_info *cast; - -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); -#endif - - /* if there is another module already loaded */ - if (swig_module.next != &swig_module) { - type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); - } - if (type) { - /* Overwrite clientdata field */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found type %s\n", type->name); -#endif - if (swig_module.type_initial[i]->clientdata) { - type->clientdata = swig_module.type_initial[i]->clientdata; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); -#endif - } - } else { - type = swig_module.type_initial[i]; - } - - /* Insert casting types */ - cast = swig_module.cast_initial[i]; - while (cast->type) { - /* Don't need to add information already in the list */ - ret = 0; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); -#endif - if (swig_module.next != &swig_module) { - ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); -#ifdef SWIGRUNTIME_DEBUG - if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); -#endif - } - if (ret) { - if (type == swig_module.type_initial[i]) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: skip old type %s\n", ret->name); -#endif - cast->type = ret; - ret = 0; - } else { - /* Check for casting already in the list */ - swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); -#ifdef SWIGRUNTIME_DEBUG - if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); -#endif - if (!ocast) ret = 0; - } - } - - if (!ret) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); -#endif - if (type->cast) { - type->cast->prev = cast; - cast->next = type->cast; - } - type->cast = cast; - } - cast++; - } - /* Set entry in modules->types array equal to the type */ - swig_module.types[i] = type; - } - swig_module.types[i] = 0; - -#ifdef SWIGRUNTIME_DEBUG - printf("**** SWIG_InitializeModule: Cast List ******\n"); - for (i = 0; i < swig_module.size; ++i) { - int j = 0; - swig_cast_info *cast = swig_module.cast_initial[i]; - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); - while (cast->type) { - printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); - cast++; - ++j; - } - printf("---- Total casts: %d\n",j); - } - printf("**** SWIG_InitializeModule: Cast List ******\n"); -#endif -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientData(void) { - size_t i; - swig_cast_info *equiv; - static int init_run = 0; - - if (init_run) return; - init_run = 1; - - for (i = 0; i < swig_module.size; i++) { - if (swig_module.types[i]->clientdata) { - equiv = swig_module.types[i]->cast; - while (equiv) { - if (!equiv->converter) { - if (equiv->type && !equiv->type->clientdata) - SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); - } - equiv = equiv->next; - } - } - } -} - -#ifdef __cplusplus -#if 0 -{ - /* c-mode */ -#endif -} -#endif - - - -#ifdef __cplusplus -extern "C" { -#endif - - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { - return PyString_FromString(""); - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); - return str; - } - - SWIGINTERN int - swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { - PyObject *str = swig_varlink_str(v); - fprintf(fp,"Swig global variables "); - fprintf(fp,"%s\n", PyString_AsString(str)); - Py_DECREF(str); - return 0; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* Number of items in variable part (ob_size) */ - (char *)"swigvarlink", /* Type name (tp_name) */ - sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ - 0, /* Itemsize (tp_itemsize) */ - (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ - (printfunc) swig_varlink_print, /* Print (tp_print) */ - (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ - (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc)swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - varlink_type = tmp; - varlink_type.ob_type = &PyType_Type; - type_init = 1; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - strncpy(gv->name,name,size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *_SWIG_globals = 0; - if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); - return _SWIG_globals; - } - - /* ----------------------------------------------------------------------------- - * constants/methods manipulation - * ----------------------------------------------------------------------------- */ - - /* Install Constants */ - SWIGINTERN void - SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { - PyObject *obj = 0; - size_t i; - for (i = 0; constants[i].type; ++i) { - switch(constants[i].type) { - case SWIG_PY_POINTER: - obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); - break; - case SWIG_PY_BINARY: - obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); - break; - default: - obj = 0; - break; - } - if (obj) { - PyDict_SetItemString(d, constants[i].name, obj); - Py_DECREF(obj); - } - } - } - - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ - - SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { - size_t i; - for (i = 0; methods[i].ml_name; ++i) { - const char *c = methods[i].ml_doc; - if (c && (c = strstr(c, "swig_ptr: "))) { - int j; - swig_const_info *ci = 0; - const char *name = c + 10; - for (j = 0; const_table[j].type; ++j) { - if (strncmp(const_table[j].name, name, - strlen(const_table[j].name)) == 0) { - ci = &(const_table[j]); - break; - } - } - if (ci) { - size_t shift = (ci->ptype) - types; - swig_type_info *ty = types_initial[shift]; - size_t ldoc = (c - methods[i].ml_doc); - size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; - char *ndoc = (char*)malloc(ldoc + lptr + 10); - if (ndoc) { - char *buff = ndoc; - void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; - if (ptr) { - strncpy(buff, methods[i].ml_doc, ldoc); - buff += ldoc; - strncpy(buff, "swig_ptr: ", 10); - buff += 10; - SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); - methods[i].ml_doc = ndoc; - } - } - } - } - } - } - -#ifdef __cplusplus -} -#endif - -/* -----------------------------------------------------------------------------* - * Partial Init method - * -----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIG_init(void) { - PyObject *m, *d; - - /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); - - m = Py_InitModule((char *) SWIG_name, SwigMethods); - d = PyModule_GetDict(m); - - SWIG_InitializeModule(0); - SWIG_InstallConstants(d,swig_const_table); - - - SWIG_Python_SetConstant(d, "FALSE",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "TRUE",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTTYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDINT_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_SYS_TYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDDEF_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "M_E",SWIG_From_double(static_cast< double >(2.7182818284590452354))); - SWIG_Python_SetConstant(d, "M_LOG2E",SWIG_From_double(static_cast< double >(1.4426950408889634074))); - SWIG_Python_SetConstant(d, "M_LOG10E",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LN2",SWIG_From_double(static_cast< double >(0.69314718055994530942))); - SWIG_Python_SetConstant(d, "M_LN10",SWIG_From_double(static_cast< double >(2.30258509299404568402))); - SWIG_Python_SetConstant(d, "M_PI",SWIG_From_double(static_cast< double >(3.14159265358979323846))); - SWIG_Python_SetConstant(d, "M_TWOPI",SWIG_From_double(static_cast< double >((3.14159265358979323846*2.0)))); - SWIG_Python_SetConstant(d, "M_PI_2",SWIG_From_double(static_cast< double >(1.57079632679489661923))); - SWIG_Python_SetConstant(d, "M_PI_4",SWIG_From_double(static_cast< double >(0.78539816339744830962))); - SWIG_Python_SetConstant(d, "M_3PI_4",SWIG_From_double(static_cast< double >(2.3561944901923448370E0))); - SWIG_Python_SetConstant(d, "M_SQRTPI",SWIG_From_double(static_cast< double >(1.77245385090551602792981))); - SWIG_Python_SetConstant(d, "M_1_PI",SWIG_From_double(static_cast< double >(0.31830988618379067154))); - SWIG_Python_SetConstant(d, "M_2_PI",SWIG_From_double(static_cast< double >(0.63661977236758134308))); - SWIG_Python_SetConstant(d, "M_2_SQRTPI",SWIG_From_double(static_cast< double >(1.12837916709551257390))); - SWIG_Python_SetConstant(d, "M_SQRT2",SWIG_From_double(static_cast< double >(1.41421356237309504880))); - SWIG_Python_SetConstant(d, "M_SQRT1_2",SWIG_From_double(static_cast< double >(0.70710678118654752440))); - SWIG_Python_SetConstant(d, "M_LN2LO",SWIG_From_double(static_cast< double >(1.9082149292705877000E-10))); - SWIG_Python_SetConstant(d, "M_LN2HI",SWIG_From_double(static_cast< double >(6.9314718036912381649E-1))); - SWIG_Python_SetConstant(d, "M_SQRT3",SWIG_From_double(static_cast< double >(1.73205080756887719000))); - SWIG_Python_SetConstant(d, "M_IVLN10",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LOG2_E",SWIG_From_double(static_cast< double >(0.693147180559945309417))); - SWIG_Python_SetConstant(d, "M_INVLN2",SWIG_From_double(static_cast< double >(1.4426950408889633870E0))); - SWIG_Python_SetConstant(d, "COIN_MAJOR_VERSION",SWIG_From_int(static_cast< int >(3))); - SWIG_Python_SetConstant(d, "COIN_MINOR_VERSION",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "COIN_MICRO_VERSION",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "COIN_VERSION",SWIG_FromCharPtr("3.1.0")); - SWIG_Python_SetConstant(d, "HAVE_HASH_QUOTING",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoDebugError_ERROR",SWIG_From_int(static_cast< int >(SoDebugError::ERROR))); - SWIG_Python_SetConstant(d, "SoDebugError_WARNING",SWIG_From_int(static_cast< int >(SoDebugError::WARNING))); - SWIG_Python_SetConstant(d, "SoDebugError_INFO",SWIG_From_int(static_cast< int >(SoDebugError::INFO))); - SWIG_Python_SetConstant(d, "SoNotRec_CONTAINER",SWIG_From_int(static_cast< int >(SoNotRec::CONTAINER))); - SWIG_Python_SetConstant(d, "SoNotRec_PARENT",SWIG_From_int(static_cast< int >(SoNotRec::PARENT))); - SWIG_Python_SetConstant(d, "SoNotRec_SENSOR",SWIG_From_int(static_cast< int >(SoNotRec::SENSOR))); - SWIG_Python_SetConstant(d, "SoNotRec_FIELD",SWIG_From_int(static_cast< int >(SoNotRec::FIELD))); - SWIG_Python_SetConstant(d, "SoNotRec_ENGINE",SWIG_From_int(static_cast< int >(SoNotRec::ENGINE))); - SWIG_Python_SetConstant(d, "SoField_NORMAL_FIELD",SWIG_From_int(static_cast< int >(SoField::NORMAL_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTIN_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTIN_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTOUT_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTOUT_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EXPOSED_FIELD",SWIG_From_int(static_cast< int >(SoField::EXPOSED_FIELD))); - SWIG_Python_SetConstant(d, "SoAction_NODE",SWIG_From_int(static_cast< int >(SoAction::NODE))); - SWIG_Python_SetConstant(d, "SoAction_PATH",SWIG_From_int(static_cast< int >(SoAction::PATH))); - SWIG_Python_SetConstant(d, "SoAction_PATH_LIST",SWIG_From_int(static_cast< int >(SoAction::PATH_LIST))); - SWIG_Python_SetConstant(d, "SoAction_NO_PATH",SWIG_From_int(static_cast< int >(SoAction::NO_PATH))); - SWIG_Python_SetConstant(d, "SoAction_IN_PATH",SWIG_From_int(static_cast< int >(SoAction::IN_PATH))); - SWIG_Python_SetConstant(d, "SoAction_BELOW_PATH",SWIG_From_int(static_cast< int >(SoAction::BELOW_PATH))); - SWIG_Python_SetConstant(d, "SoAction_OFF_PATH",SWIG_From_int(static_cast< int >(SoAction::OFF_PATH))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_AUTOMATIC",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::AUTOMATIC))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_HIGHEST",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::HIGHEST))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_LOWEST",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::LOWEST))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_PERCENTAGE",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::PERCENTAGE))); - SWIG_Python_SetConstant(d, "SoNode_FIRST_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::FIRST_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_PROTO_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::PROTO_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_OTHER_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::OTHER_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR",SWIG_From_int(static_cast< int >(SoNode::INVENTOR))); - SWIG_Python_SetConstant(d, "SoNode_VRML1",SWIG_From_int(static_cast< int >(SoNode::VRML1))); - SWIG_Python_SetConstant(d, "SoNode_VRML2",SWIG_From_int(static_cast< int >(SoNode::VRML2))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_1",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_1))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_0",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_0))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_1",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_1))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_5",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_5))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_6",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_6))); - SWIG_Python_SetConstant(d, "SoNode_COIN_1_0",SWIG_From_int(static_cast< int >(SoNode::COIN_1_0))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_0",SWIG_From_int(static_cast< int >(SoNode::COIN_2_0))); - SWIG_Python_SetConstant(d, "SoNode_EXTENSION",SWIG_From_int(static_cast< int >(SoNode::EXTENSION))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_2",SWIG_From_int(static_cast< int >(SoNode::COIN_2_2))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_3",SWIG_From_int(static_cast< int >(SoNode::COIN_2_3))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_4",SWIG_From_int(static_cast< int >(SoNode::COIN_2_4))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_5_0",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_5_0))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_5",SWIG_From_int(static_cast< int >(SoNode::COIN_2_5))); - SWIG_Python_SetConstant(d, "SoNode_COIN_3_0",SWIG_From_int(static_cast< int >(SoNode::COIN_3_0))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_6_0",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_6_0))); - SWIG_Python_SetConstant(d, "SoOutput_COUNT_REFS",SWIG_From_int(static_cast< int >(SoOutput::COUNT_REFS))); - SWIG_Python_SetConstant(d, "SoOutput_WRITE",SWIG_From_int(static_cast< int >(SoOutput::WRITE))); - SWIG_Python_SetConstant(d, "SoOutput_ADDRESSES",SWIG_From_int(static_cast< int >(SoOutput::ADDRESSES))); - SWIG_Python_SetConstant(d, "SoOutput_REF_COUNTS",SWIG_From_int(static_cast< int >(SoOutput::REF_COUNTS))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_OBJECT_SPACE",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::OBJECT_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_SCREEN_SPACE",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::SCREEN_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoComplexity_OBJECT_SPACE",SWIG_From_int(static_cast< int >(SoComplexity::OBJECT_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexity_SCREEN_SPACE",SWIG_From_int(static_cast< int >(SoComplexity::SCREEN_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexity_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoComplexity::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_FILLED",SWIG_From_int(static_cast< int >(SoDrawStyleElement::FILLED))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_LINES",SWIG_From_int(static_cast< int >(SoDrawStyleElement::LINES))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_POINTS",SWIG_From_int(static_cast< int >(SoDrawStyleElement::POINTS))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_INVISIBLE",SWIG_From_int(static_cast< int >(SoDrawStyleElement::INVISIBLE))); - SWIG_Python_SetConstant(d, "SoDrawStyle_FILLED",SWIG_From_int(static_cast< int >(SoDrawStyle::FILLED))); - SWIG_Python_SetConstant(d, "SoDrawStyle_LINES",SWIG_From_int(static_cast< int >(SoDrawStyle::LINES))); - SWIG_Python_SetConstant(d, "SoDrawStyle_POINTS",SWIG_From_int(static_cast< int >(SoDrawStyle::POINTS))); - SWIG_Python_SetConstant(d, "SoDrawStyle_INVISIBLE",SWIG_From_int(static_cast< int >(SoDrawStyle::INVISIBLE))); - SWIG_Python_SetConstant(d, "SO_LAZY_SHINY_THRESHOLD",SWIG_From_double(static_cast< double >(0.005))); - SWIG_Python_SetConstant(d, "SoLazyElement_LIGHT_MODEL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::LIGHT_MODEL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_COLOR_MATERIAL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::COLOR_MATERIAL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_AMBIENT_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::AMBIENT_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_EMISSIVE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::EMISSIVE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SPECULAR_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SPECULAR_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHININESS_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SHININESS_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_BLENDING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::BLENDING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_TRANSPARENCY_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::TRANSPARENCY_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_VERTEXORDERING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::VERTEXORDERING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_TWOSIDE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::TWOSIDE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_CULLING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::CULLING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHADE_MODEL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SHADE_MODEL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_GLIMAGE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::GLIMAGE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALPHATEST_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::ALPHATEST_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_LAZYCASES_LAST",SWIG_From_int(static_cast< int >(SoLazyElement::LAZYCASES_LAST))); - SWIG_Python_SetConstant(d, "SoLazyElement_LIGHT_MODEL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::LIGHT_MODEL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_COLOR_MATERIAL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::COLOR_MATERIAL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_AMBIENT_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::AMBIENT_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_EMISSIVE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::EMISSIVE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SPECULAR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SPECULAR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHININESS_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SHININESS_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_TRANSPARENCY_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::TRANSPARENCY_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_BLENDING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::BLENDING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_VERTEXORDERING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::VERTEXORDERING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_TWOSIDE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::TWOSIDE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_CULLING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::CULLING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHADE_MODEL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SHADE_MODEL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_GLIMAGE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::GLIMAGE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALPHATEST_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALPHATEST_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_OTHER_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::OTHER_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_NO_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::NO_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_BUT_DIFFUSE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_BUT_DIFFUSE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_ONLY_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_ONLY_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLazyElement::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLazyElement_PHONG",SWIG_From_int(static_cast< int >(SoLazyElement::PHONG))); - SWIG_Python_SetConstant(d, "SoLazyElement_CW",SWIG_From_int(static_cast< int >(SoLazyElement::CW))); - SWIG_Python_SetConstant(d, "SoLazyElement_CCW",SWIG_From_int(static_cast< int >(SoLazyElement::CCW))); - SWIG_Python_SetConstant(d, "SoLightModel_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLightModel::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLightModel_PHONG",SWIG_From_int(static_cast< int >(SoLightModel::PHONG))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_OVERALL",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::OVERALL))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_PART",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_PART))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_FACE",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_FACE))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_DEFAULT",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_NONE",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::NONE))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_OVERALL",SWIG_From_int(static_cast< int >(SoMaterialBinding::OVERALL))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_PART",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_PART))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_FACE",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_FACE))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoMaterialBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_NONE",SWIG_From_int(static_cast< int >(SoMaterialBinding::NONE))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_OVERALL",SWIG_From_int(static_cast< int >(SoNormalBindingElement::OVERALL))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_PART",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_PART))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_FACE",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_FACE))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_DEFAULT",SWIG_From_int(static_cast< int >(SoNormalBindingElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_NONE",SWIG_From_int(static_cast< int >(SoNormalBindingElement::NONE))); - SWIG_Python_SetConstant(d, "SoNormalBinding_OVERALL",SWIG_From_int(static_cast< int >(SoNormalBinding::OVERALL))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_PART",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_PART))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_FACE",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_FACE))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoNormalBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoNormalBinding_NONE",SWIG_From_int(static_cast< int >(SoNormalBinding::NONE))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_SHAPE",SWIG_From_int(static_cast< int >(SoPickStyleElement::SHAPE))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoPickStyleElement::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_UNPICKABLE",SWIG_From_int(static_cast< int >(SoPickStyleElement::UNPICKABLE))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_SHAPE_ON_TOP",SWIG_From_int(static_cast< int >(SoPickStyleElement::SHAPE_ON_TOP))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_BOUNDING_BOX_ON_TOP",SWIG_From_int(static_cast< int >(SoPickStyleElement::BOUNDING_BOX_ON_TOP))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_SHAPE_FRONTFACES",SWIG_From_int(static_cast< int >(SoPickStyleElement::SHAPE_FRONTFACES))); - SWIG_Python_SetConstant(d, "SoPickStyle_SHAPE",SWIG_From_int(static_cast< int >(SoPickStyle::SHAPE))); - SWIG_Python_SetConstant(d, "SoPickStyle_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoPickStyle::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoPickStyle_UNPICKABLE",SWIG_From_int(static_cast< int >(SoPickStyle::UNPICKABLE))); - SWIG_Python_SetConstant(d, "SoPickStyle_SHAPE_ON_TOP",SWIG_From_int(static_cast< int >(SoPickStyle::SHAPE_ON_TOP))); - SWIG_Python_SetConstant(d, "SoPickStyle_BOUNDING_BOX_ON_TOP",SWIG_From_int(static_cast< int >(SoPickStyle::BOUNDING_BOX_ON_TOP))); - SWIG_Python_SetConstant(d, "SoPickStyle_SHAPE_FRONTFACES",SWIG_From_int(static_cast< int >(SoPickStyle::SHAPE_FRONTFACES))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_ORDERING",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_ORDERING))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_CLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::CLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_COUNTERCLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::COUNTERCLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_ORDERING_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::ORDERING_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_SHAPE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_SHAPE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_SOLID",SWIG_From_int(static_cast< int >(SoShapeHintsElement::SOLID))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_SHAPE_TYPE_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::SHAPE_TYPE_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_FACE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_FACE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_CONVEX",SWIG_From_int(static_cast< int >(SoShapeHintsElement::CONVEX))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_FACE_TYPE_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::FACE_TYPE_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_ORDERING",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_ORDERING))); - SWIG_Python_SetConstant(d, "SoShapeHints_CLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHints::CLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHints_COUNTERCLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHints::COUNTERCLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_SHAPE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_SHAPE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHints_SOLID",SWIG_From_int(static_cast< int >(SoShapeHints::SOLID))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_FACE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_FACE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHints_CONVEX",SWIG_From_int(static_cast< int >(SoShapeHints::CONVEX))); - SWIG_Python_SetConstant(d, "SoShapeHints_NO_WINDING_TYPE",SWIG_From_int(static_cast< int >(SoShapeHints::NO_WINDING_TYPE))); - SWIG_Python_SetConstant(d, "SoSFImage_COPY",SWIG_From_int(static_cast< int >(SoSFImage::COPY))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY_AND_DELETE",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY_AND_DELETE))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY_AND_FREE",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY_AND_FREE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_BLEND",SWIG_From_int(static_cast< int >(SoTextureImageElement::BLEND))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_MODULATE",SWIG_From_int(static_cast< int >(SoTextureImageElement::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_DECAL",SWIG_From_int(static_cast< int >(SoTextureImageElement::DECAL))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_REPLACE",SWIG_From_int(static_cast< int >(SoTextureImageElement::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_CLAMP",SWIG_From_int(static_cast< int >(SoTextureImageElement::CLAMP))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_REPEAT",SWIG_From_int(static_cast< int >(SoTextureImageElement::REPEAT))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_CLAMP_TO_BORDER",SWIG_From_int(static_cast< int >(SoTextureImageElement::CLAMP_TO_BORDER))); - SWIG_Python_SetConstant(d, "SoTexture2_MODULATE",SWIG_From_int(static_cast< int >(SoTexture2::MODULATE))); - SWIG_Python_SetConstant(d, "SoTexture2_DECAL",SWIG_From_int(static_cast< int >(SoTexture2::DECAL))); - SWIG_Python_SetConstant(d, "SoTexture2_BLEND",SWIG_From_int(static_cast< int >(SoTexture2::BLEND))); - SWIG_Python_SetConstant(d, "SoTexture2_REPLACE",SWIG_From_int(static_cast< int >(SoTexture2::REPLACE))); - SWIG_Python_SetConstant(d, "SoTexture2_REPEAT",SWIG_From_int(static_cast< int >(SoTexture2::REPEAT))); - SWIG_Python_SetConstant(d, "SoTexture2_CLAMP",SWIG_From_int(static_cast< int >(SoTexture2::CLAMP))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoTextureCoordinateBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoTextureCoordinateBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoUnits_METERS",SWIG_From_int(static_cast< int >(SoUnits::METERS))); - SWIG_Python_SetConstant(d, "SoUnits_CENTIMETERS",SWIG_From_int(static_cast< int >(SoUnits::CENTIMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MILLIMETERS",SWIG_From_int(static_cast< int >(SoUnits::MILLIMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MICROMETERS",SWIG_From_int(static_cast< int >(SoUnits::MICROMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MICRONS",SWIG_From_int(static_cast< int >(SoUnits::MICRONS))); - SWIG_Python_SetConstant(d, "SoUnits_NANOMETERS",SWIG_From_int(static_cast< int >(SoUnits::NANOMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_ANGSTROMS",SWIG_From_int(static_cast< int >(SoUnits::ANGSTROMS))); - SWIG_Python_SetConstant(d, "SoUnits_KILOMETERS",SWIG_From_int(static_cast< int >(SoUnits::KILOMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_FEET",SWIG_From_int(static_cast< int >(SoUnits::FEET))); - SWIG_Python_SetConstant(d, "SoUnits_INCHES",SWIG_From_int(static_cast< int >(SoUnits::INCHES))); - SWIG_Python_SetConstant(d, "SoUnits_POINTS",SWIG_From_int(static_cast< int >(SoUnits::POINTS))); - SWIG_Python_SetConstant(d, "SoUnits_YARDS",SWIG_From_int(static_cast< int >(SoUnits::YARDS))); - SWIG_Python_SetConstant(d, "SoUnits_MILES",SWIG_From_int(static_cast< int >(SoUnits::MILES))); - SWIG_Python_SetConstant(d, "SoUnits_NAUTICAL_MILES",SWIG_From_int(static_cast< int >(SoUnits::NAUTICAL_MILES))); - SWIG_Python_SetConstant(d, "SoCallbackAction_CONTINUE",SWIG_From_int(static_cast< int >(SoCallbackAction::CONTINUE))); - SWIG_Python_SetConstant(d, "SoCallbackAction_ABORT",SWIG_From_int(static_cast< int >(SoCallbackAction::ABORT))); - SWIG_Python_SetConstant(d, "SoCallbackAction_PRUNE",SWIG_From_int(static_cast< int >(SoCallbackAction::PRUNE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SCREEN_DOOR",SWIG_From_int(static_cast< int >(SoGLRenderAction::SCREEN_DOOR))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAYED_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAYED_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAYED_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAYED_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_SORTED_TRIANGLE_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_SORTED_TRIANGLE_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_NONE",SWIG_From_int(static_cast< int >(SoGLRenderAction::NONE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_LAYERS_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_LAYERS_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_ONE_PASS",SWIG_From_int(static_cast< int >(SoGLRenderAction::ONE_PASS))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_NONSOLID_SEPARATE_BACKFACE_PASS",SWIG_From_int(static_cast< int >(SoGLRenderAction::NONSOLID_SEPARATE_BACKFACE_PASS))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_CONTINUE",SWIG_From_int(static_cast< int >(SoGLRenderAction::CONTINUE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_ABORT",SWIG_From_int(static_cast< int >(SoGLRenderAction::ABORT))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_PRUNE",SWIG_From_int(static_cast< int >(SoGLRenderAction::PRUNE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAY",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAY))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_BBOX_CENTER",SWIG_From_int(static_cast< int >(SoGLRenderAction::BBOX_CENTER))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_BBOX_CLOSEST_CORNER",SWIG_From_int(static_cast< int >(SoGLRenderAction::BBOX_CLOSEST_CORNER))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_BBOX_FARTHEST_CORNER",SWIG_From_int(static_cast< int >(SoGLRenderAction::BBOX_FARTHEST_CORNER))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_CUSTOM_CALLBACK",SWIG_From_int(static_cast< int >(SoGLRenderAction::CUSTOM_CALLBACK))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_TRANSFORM",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::TRANSFORM))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_BBOX",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::BBOX))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_ALL",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::ALL))); - SWIG_Python_SetConstant(d, "SoSearchAction_NODE",SWIG_From_int(static_cast< int >(SoSearchAction::NODE))); - SWIG_Python_SetConstant(d, "SoSearchAction_TYPE",SWIG_From_int(static_cast< int >(SoSearchAction::TYPE))); - SWIG_Python_SetConstant(d, "SoSearchAction_NAME",SWIG_From_int(static_cast< int >(SoSearchAction::NAME))); - SWIG_Python_SetConstant(d, "SoSearchAction_FIRST",SWIG_From_int(static_cast< int >(SoSearchAction::FIRST))); - SWIG_Python_SetConstant(d, "SoSearchAction_LAST",SWIG_From_int(static_cast< int >(SoSearchAction::LAST))); - SWIG_Python_SetConstant(d, "SoSearchAction_ALL",SWIG_From_int(static_cast< int >(SoSearchAction::ALL))); - PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); - SWIG_addvarlink(SWIG_globals(),(char*)"SoSearchAction_duringSearchAll",Swig_var_SoSearchAction_duringSearchAll_get, Swig_var_SoSearchAction_duringSearchAll_set); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_SEGMENT",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::SEGMENT))); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_LINE_SEGMENT",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::LINE_SEGMENT))); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_TRIANGLE",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::TRIANGLE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_NEXT_PRIMITIVE",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::NEXT_PRIMITIVE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_NEXT_SHAPE",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::NEXT_SHAPE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_ABORT",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::ABORT))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_INCH",SWIG_From_int(static_cast< int >(SoVectorizeAction::INCH))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MM",SWIG_From_int(static_cast< int >(SoVectorizeAction::MM))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_METER",SWIG_From_int(static_cast< int >(SoVectorizeAction::METER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_PORTRAIT",SWIG_From_int(static_cast< int >(SoVectorizeAction::PORTRAIT))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_LANDSCAPE",SWIG_From_int(static_cast< int >(SoVectorizeAction::LANDSCAPE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A0",SWIG_From_int(static_cast< int >(SoVectorizeAction::A0))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A1",SWIG_From_int(static_cast< int >(SoVectorizeAction::A1))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A2",SWIG_From_int(static_cast< int >(SoVectorizeAction::A2))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A3",SWIG_From_int(static_cast< int >(SoVectorizeAction::A3))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A4",SWIG_From_int(static_cast< int >(SoVectorizeAction::A4))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A5",SWIG_From_int(static_cast< int >(SoVectorizeAction::A5))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A6",SWIG_From_int(static_cast< int >(SoVectorizeAction::A6))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A7",SWIG_From_int(static_cast< int >(SoVectorizeAction::A7))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A8",SWIG_From_int(static_cast< int >(SoVectorizeAction::A8))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A9",SWIG_From_int(static_cast< int >(SoVectorizeAction::A9))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A10",SWIG_From_int(static_cast< int >(SoVectorizeAction::A10))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_CIRCLE",SWIG_From_int(static_cast< int >(SoVectorizeAction::CIRCLE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_SQUARE",SWIG_From_int(static_cast< int >(SoVectorizeAction::SQUARE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_REVERSE_ONLY_BLACK_AND_WHITE",SWIG_From_int(static_cast< int >(SoVectorizeAction::REVERSE_ONLY_BLACK_AND_WHITE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_AS_IS",SWIG_From_int(static_cast< int >(SoVectorizeAction::AS_IS))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_REVERSE",SWIG_From_int(static_cast< int >(SoVectorizeAction::REVERSE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_NO_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::NO_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MITERED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::MITERED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MITERED_BEVELED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::MITERED_BEVELED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_BEVELED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::BEVELED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_TRIANGULAR_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::TRIANGULAR_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_ROUNDED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::ROUNDED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_BUTT_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::BUTT_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_SQUARE_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::SQUARE_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_TRIANGULAR_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::TRIANGULAR_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_ROUND_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::ROUND_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_NO_HLHSR",SWIG_From_int(static_cast< int >(SoVectorizeAction::NO_HLHSR))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_SIMPLE_PAINTER",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_SIMPLE_PAINTER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_PAINTER",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_PAINTER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_PAINTER_SURFACE_REMOVAL",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_PAINTER_SURFACE_REMOVAL))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HIDDEN_LINES_REMOVAL",SWIG_From_int(static_cast< int >(SoVectorizeAction::HIDDEN_LINES_REMOVAL))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLE_STRIP",SWIG_From_int(static_cast< int >(SoShape::TRIANGLE_STRIP))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLE_FAN",SWIG_From_int(static_cast< int >(SoShape::TRIANGLE_FAN))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLES",SWIG_From_int(static_cast< int >(SoShape::TRIANGLES))); - SWIG_Python_SetConstant(d, "SoShape_POLYGON",SWIG_From_int(static_cast< int >(SoShape::POLYGON))); - SWIG_Python_SetConstant(d, "SoShape_QUADS",SWIG_From_int(static_cast< int >(SoShape::QUADS))); - SWIG_Python_SetConstant(d, "SoShape_QUAD_STRIP",SWIG_From_int(static_cast< int >(SoShape::QUAD_STRIP))); - SWIG_Python_SetConstant(d, "SoShape_POINTS",SWIG_From_int(static_cast< int >(SoShape::POINTS))); - SWIG_Python_SetConstant(d, "SoShape_LINES",SWIG_From_int(static_cast< int >(SoShape::LINES))); - SWIG_Python_SetConstant(d, "SoShape_LINE_STRIP",SWIG_From_int(static_cast< int >(SoShape::LINE_STRIP))); - SWIG_Python_SetConstant(d, "SoImage_BOTTOM",SWIG_From_int(static_cast< int >(SoImage::BOTTOM))); - SWIG_Python_SetConstant(d, "SoImage_HALF",SWIG_From_int(static_cast< int >(SoImage::HALF))); - SWIG_Python_SetConstant(d, "SoImage_TOP",SWIG_From_int(static_cast< int >(SoImage::TOP))); - SWIG_Python_SetConstant(d, "SoImage_LEFT",SWIG_From_int(static_cast< int >(SoImage::LEFT))); - SWIG_Python_SetConstant(d, "SoImage_CENTER",SWIG_From_int(static_cast< int >(SoImage::CENTER))); - SWIG_Python_SetConstant(d, "SoImage_RIGHT",SWIG_From_int(static_cast< int >(SoImage::RIGHT))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_NONE",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::NONE))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_TEXGEN",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::TEXGEN))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_EXPLICIT",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::EXPLICIT))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_FUNCTION",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::FUNCTION))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_DEFAULT",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_NONE",SWIG_From_int(static_cast< int >(SoConvexDataCache::NONE))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_FACE",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_FACE))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_VERTEX",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SO_CATALOG_NAME_NOT_FOUND",SWIG_From_int(static_cast< int >(-1))); - SWIG_Python_SetConstant(d, "SoInteractionKit_OFF",SWIG_From_int(static_cast< int >(SoInteractionKit::OFF))); - SWIG_Python_SetConstant(d, "SoInteractionKit_ON",SWIG_From_int(static_cast< int >(SoInteractionKit::ON))); - SWIG_Python_SetConstant(d, "SoInteractionKit_AUTO",SWIG_From_int(static_cast< int >(SoInteractionKit::AUTO))); - SWIG_Python_SetConstant(d, "SbDPViewVolume_ORTHOGRAPHIC",SWIG_From_int(static_cast< int >(SbDPViewVolume::ORTHOGRAPHIC))); - SWIG_Python_SetConstant(d, "SbDPViewVolume_PERSPECTIVE",SWIG_From_int(static_cast< int >(SbDPViewVolume::PERSPECTIVE))); - SWIG_Python_SetConstant(d, "SbViewVolume_ORTHOGRAPHIC",SWIG_From_int(static_cast< int >(SbViewVolume::ORTHOGRAPHIC))); - SWIG_Python_SetConstant(d, "SbViewVolume_PERSPECTIVE",SWIG_From_int(static_cast< int >(SbViewVolume::PERSPECTIVE))); - SWIG_Python_SetConstant(d, "SoDragger_FRONT",SWIG_From_int(static_cast< int >(SoDragger::FRONT))); - SWIG_Python_SetConstant(d, "SoDragger_BACK",SWIG_From_int(static_cast< int >(SoDragger::BACK))); - SWIG_Python_SetConstant(d, "SoDragger_USE_PICK",SWIG_From_int(static_cast< int >(SoDragger::USE_PICK))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_INACTIVE",SWIG_From_int(static_cast< int >(SoTransformerDragger::INACTIVE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_RIT_X_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::RIT_X_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_TOP_Y_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::TOP_Y_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_FNT_Z_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::FNT_Z_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_LFT_X_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::LFT_X_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BOT_Y_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BOT_Y_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BAK_Z_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BAK_Z_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_PY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_PY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_PY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_PY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_NY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_NY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_NY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_NY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_PY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_PY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_PY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_PY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_NY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_NY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_NY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_NY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_RIT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::RIT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_TOP_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::TOP_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_FNT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::FNT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_LFT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::LFT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BOT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BOT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BAK_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BAK_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoAnnoText3FontSizeHintElement_ANNOTATION",SWIG_From_int(static_cast< int >(SoAnnoText3FontSizeHintElement::ANNOTATION))); - SWIG_Python_SetConstant(d, "SoAnnoText3FontSizeHintElement_FIT_TEXT_VECTOR",SWIG_From_int(static_cast< int >(SoAnnoText3FontSizeHintElement::FIT_TEXT_VECTOR))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER3D_PRINT_VECTOR",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER3D_PRINT_VECTOR))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER3D_PRINT_RASTER",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER3D_PRINT_RASTER))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER2D_PRINT_RASTER",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER2D_PRINT_RASTER))); - SWIG_Python_SetConstant(d, "SoProfileElement_START_FIRST",SWIG_From_int(static_cast< int >(SoProfileElement::START_FIRST))); - SWIG_Python_SetConstant(d, "SoProfileElement_START_NEW",SWIG_From_int(static_cast< int >(SoProfileElement::START_NEW))); - SWIG_Python_SetConstant(d, "SoProfileElement_ADD_TO_CURRENT",SWIG_From_int(static_cast< int >(SoProfileElement::ADD_TO_CURRENT))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_DISABLED",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::DISABLED))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_TEXTURE2D",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::TEXTURE2D))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_RECTANGLE",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_CUBEMAP",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::CUBEMAP))); - SWIG_Python_SetConstant(d, "SoLinePatternElement_CONTINUOUS",SWIG_From_int(static_cast< int >(SoLinePatternElement::CONTINUOUS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_METERS",SWIG_From_int(static_cast< int >(SoUnitsElement::METERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_CENTIMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::CENTIMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MILLIMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::MILLIMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MICROMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::MICROMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MICRONS",SWIG_From_int(static_cast< int >(SoUnitsElement::MICRONS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_NANOMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::NANOMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_ANGSTROMS",SWIG_From_int(static_cast< int >(SoUnitsElement::ANGSTROMS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_KILOMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::KILOMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_FEET",SWIG_From_int(static_cast< int >(SoUnitsElement::FEET))); - SWIG_Python_SetConstant(d, "SoUnitsElement_INCHES",SWIG_From_int(static_cast< int >(SoUnitsElement::INCHES))); - SWIG_Python_SetConstant(d, "SoUnitsElement_POINTS",SWIG_From_int(static_cast< int >(SoUnitsElement::POINTS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_YARDS",SWIG_From_int(static_cast< int >(SoUnitsElement::YARDS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MILES",SWIG_From_int(static_cast< int >(SoUnitsElement::MILES))); - SWIG_Python_SetConstant(d, "SoUnitsElement_NAUTICAL_MILES",SWIG_From_int(static_cast< int >(SoUnitsElement::NAUTICAL_MILES))); - SWIG_Python_SetConstant(d, "SoOverrideElement_AMBIENT_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::AMBIENT_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COLOR_INDEX",SWIG_From_int(static_cast< int >(SoOverrideElement::COLOR_INDEX))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COMPLEXITY",SWIG_From_int(static_cast< int >(SoOverrideElement::COMPLEXITY))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COMPLEXITY_TYPE",SWIG_From_int(static_cast< int >(SoOverrideElement::COMPLEXITY_TYPE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_CREASE_ANGLE",SWIG_From_int(static_cast< int >(SoOverrideElement::CREASE_ANGLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_DIFFUSE_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::DIFFUSE_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_DRAW_STYLE",SWIG_From_int(static_cast< int >(SoOverrideElement::DRAW_STYLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_EMISSIVE_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::EMISSIVE_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_FONT_NAME",SWIG_From_int(static_cast< int >(SoOverrideElement::FONT_NAME))); - SWIG_Python_SetConstant(d, "SoOverrideElement_FONT_SIZE",SWIG_From_int(static_cast< int >(SoOverrideElement::FONT_SIZE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LIGHT_MODEL",SWIG_From_int(static_cast< int >(SoOverrideElement::LIGHT_MODEL))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LINE_PATTERN",SWIG_From_int(static_cast< int >(SoOverrideElement::LINE_PATTERN))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LINE_WIDTH",SWIG_From_int(static_cast< int >(SoOverrideElement::LINE_WIDTH))); - SWIG_Python_SetConstant(d, "SoOverrideElement_MATERIAL_BINDING",SWIG_From_int(static_cast< int >(SoOverrideElement::MATERIAL_BINDING))); - SWIG_Python_SetConstant(d, "SoOverrideElement_POINT_SIZE",SWIG_From_int(static_cast< int >(SoOverrideElement::POINT_SIZE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_PICK_STYLE",SWIG_From_int(static_cast< int >(SoOverrideElement::PICK_STYLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SHAPE_HINTS",SWIG_From_int(static_cast< int >(SoOverrideElement::SHAPE_HINTS))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SHININESS",SWIG_From_int(static_cast< int >(SoOverrideElement::SHININESS))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SPECULAR_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::SPECULAR_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_POLYGON_OFFSET",SWIG_From_int(static_cast< int >(SoOverrideElement::POLYGON_OFFSET))); - SWIG_Python_SetConstant(d, "SoOverrideElement_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOverrideElement::TRANSPARENCY))); - SWIG_Python_SetConstant(d, "SoOverrideElement_TRANSPARENCY_TYPE",SWIG_From_int(static_cast< int >(SoOverrideElement::TRANSPARENCY_TYPE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_NORMAL_VECTOR",SWIG_From_int(static_cast< int >(SoOverrideElement::NORMAL_VECTOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_NORMAL_BINDING",SWIG_From_int(static_cast< int >(SoOverrideElement::NORMAL_BINDING))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_NONE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::NONE))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_HAZE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::HAZE))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_FOG",SWIG_From_int(static_cast< int >(SoEnvironmentElement::FOG))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_SMOKE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::SMOKE))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_FILLED",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::FILLED))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_LINES",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::LINES))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_POINTS",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::POINTS))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_LIGHTING",SWIG_From_int(static_cast< int >(SoShapeStyleElement::LIGHTING))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEXENABLED",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEXENABLED))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEXFUNC",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEXFUNC))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BBOXCMPLX",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BBOXCMPLX))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_INVISIBLE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::INVISIBLE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_ABORTCB",SWIG_From_int(static_cast< int >(SoShapeStyleElement::ABORTCB))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_OVERRIDE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::OVERRIDE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEX3ENABLED",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEX3ENABLED))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BIGIMAGE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BIGIMAGE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BUMPMAP",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BUMPMAP))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_VERTEXARRAY",SWIG_From_int(static_cast< int >(SoShapeStyleElement::VERTEXARRAY))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_TEXTURE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_TEXTURE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_MATERIAL",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_MATERIAL))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_SORTED_TRIANGLES",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_SORTED_TRIANGLES))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_SHADOWMAP",SWIG_From_int(static_cast< int >(SoShapeStyleElement::SHADOWMAP))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_SHADOWS",SWIG_From_int(static_cast< int >(SoShapeStyleElement::SHADOWS))); - SWIG_Python_SetConstant(d, "SoGLCacheContextElement_DO_AUTO_CACHE",SWIG_From_int(static_cast< int >(SoGLCacheContextElement::DO_AUTO_CACHE))); - SWIG_Python_SetConstant(d, "SoGLCacheContextElement_DONT_AUTO_CACHE",SWIG_From_int(static_cast< int >(SoGLCacheContextElement::DONT_AUTO_CACHE))); - SWIG_Python_SetConstant(d, "SoGLDisplayList_DISPLAY_LIST",SWIG_From_int(static_cast< int >(SoGLDisplayList::DISPLAY_LIST))); - SWIG_Python_SetConstant(d, "SoGLDisplayList_TEXTURE_OBJECT",SWIG_From_int(static_cast< int >(SoGLDisplayList::TEXTURE_OBJECT))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_NEVER",SWIG_From_int(static_cast< int >(SoDepthBufferElement::NEVER))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_ALWAYS",SWIG_From_int(static_cast< int >(SoDepthBufferElement::ALWAYS))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_LESS",SWIG_From_int(static_cast< int >(SoDepthBufferElement::LESS))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_LEQUAL",SWIG_From_int(static_cast< int >(SoDepthBufferElement::LEQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_EQUAL",SWIG_From_int(static_cast< int >(SoDepthBufferElement::EQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_GEQUAL",SWIG_From_int(static_cast< int >(SoDepthBufferElement::GEQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_GREATER",SWIG_From_int(static_cast< int >(SoDepthBufferElement::GREATER))); - SWIG_Python_SetConstant(d, "SoDepthBufferElement_NOTEQUAL",SWIG_From_int(static_cast< int >(SoDepthBufferElement::NOTEQUAL))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBindingElement_OVERALL",SWIG_From_int(static_cast< int >(SoVertexAttributeBindingElement::OVERALL))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVertexAttributeBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVertexAttributeBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBindingElement_DEFAULT",SWIG_From_int(static_cast< int >(SoVertexAttributeBindingElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoLightModelElement_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLightModelElement::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLightModelElement_PHONG",SWIG_From_int(static_cast< int >(SoLightModelElement::PHONG))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_DISABLED",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::DISABLED))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_TEXTURE2D",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::TEXTURE2D))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_RECTANGLE",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_CUBEMAP",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::CUBEMAP))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_TEXTURE3D",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::TEXTURE3D))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::PRIMARY_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_TEXTURE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::TEXTURE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_CONSTANT",SWIG_From_int(static_cast< int >(SoTextureCombineElement::CONSTANT))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_PREVIOUS",SWIG_From_int(static_cast< int >(SoTextureCombineElement::PREVIOUS))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ONE_MINUS_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ONE_MINUS_SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ONE_MINUS_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ONE_MINUS_SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_REPLACE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_MODULATE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ADD",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ADD))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ADD_SIGNED",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ADD_SIGNED))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SUBTRACT",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SUBTRACT))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_INTERPOLATE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::INTERPOLATE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_DOT3_RGB",SWIG_From_int(static_cast< int >(SoTextureCombineElement::DOT3_RGB))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_DOT3_RGBA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::DOT3_RGBA))); - SWIG_Python_SetConstant(d, "SoBoolOperation_CLEAR",SWIG_From_int(static_cast< int >(SoBoolOperation::CLEAR))); - SWIG_Python_SetConstant(d, "SoBoolOperation_SET",SWIG_From_int(static_cast< int >(SoBoolOperation::SET))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A",SWIG_From_int(static_cast< int >(SoBoolOperation::A))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A))); - SWIG_Python_SetConstant(d, "SoBoolOperation_B",SWIG_From_int(static_cast< int >(SoBoolOperation::B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_OR_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_OR_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_OR_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_OR_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_OR_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_OR_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_OR_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_OR_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_AND_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_AND_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_AND_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_AND_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_AND_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_AND_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_AND_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_AND_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_EQUALS_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_EQUALS_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_NOT_EQUALS_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_NOT_EQUALS_B))); - SWIG_Python_SetConstant(d, "SoConcatenate_NUMINPUTS",SWIG_From_int(static_cast< int >(SoConcatenate::NUMINPUTS))); - SWIG_Python_SetConstant(d, "SoOneShot_RETRIGGERABLE",SWIG_From_int(static_cast< int >(SoOneShot::RETRIGGERABLE))); - SWIG_Python_SetConstant(d, "SoOneShot_HOLD_FINAL",SWIG_From_int(static_cast< int >(SoOneShot::HOLD_FINAL))); - SWIG_Python_SetConstant(d, "SoHeightMapToNormalMap_INT8",SWIG_From_int(static_cast< int >(SoHeightMapToNormalMap::INT8))); - SWIG_Python_SetConstant(d, "SoButtonEvent_UP",SWIG_From_int(static_cast< int >(SoButtonEvent::UP))); - SWIG_Python_SetConstant(d, "SoButtonEvent_DOWN",SWIG_From_int(static_cast< int >(SoButtonEvent::DOWN))); - SWIG_Python_SetConstant(d, "SoButtonEvent_UNKNOWN",SWIG_From_int(static_cast< int >(SoButtonEvent::UNKNOWN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ANY",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ANY))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_UNDEFINED",SWIG_From_int(static_cast< int >(SoKeyboardEvent::UNDEFINED))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_SHIFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_SHIFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_SHIFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_SHIFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_CONTROL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_CONTROL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_CONTROL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_CONTROL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_ALT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_ALT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_ALT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_ALT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_0",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_0))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_A",SWIG_From_int(static_cast< int >(SoKeyboardEvent::A))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_B",SWIG_From_int(static_cast< int >(SoKeyboardEvent::B))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_C",SWIG_From_int(static_cast< int >(SoKeyboardEvent::C))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_D",SWIG_From_int(static_cast< int >(SoKeyboardEvent::D))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_E",SWIG_From_int(static_cast< int >(SoKeyboardEvent::E))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_G",SWIG_From_int(static_cast< int >(SoKeyboardEvent::G))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_H",SWIG_From_int(static_cast< int >(SoKeyboardEvent::H))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_I",SWIG_From_int(static_cast< int >(SoKeyboardEvent::I))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_J",SWIG_From_int(static_cast< int >(SoKeyboardEvent::J))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_K",SWIG_From_int(static_cast< int >(SoKeyboardEvent::K))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_L",SWIG_From_int(static_cast< int >(SoKeyboardEvent::L))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_M",SWIG_From_int(static_cast< int >(SoKeyboardEvent::M))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_N",SWIG_From_int(static_cast< int >(SoKeyboardEvent::N))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_O",SWIG_From_int(static_cast< int >(SoKeyboardEvent::O))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_P",SWIG_From_int(static_cast< int >(SoKeyboardEvent::P))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Q",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Q))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_R",SWIG_From_int(static_cast< int >(SoKeyboardEvent::R))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_S",SWIG_From_int(static_cast< int >(SoKeyboardEvent::S))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_T",SWIG_From_int(static_cast< int >(SoKeyboardEvent::T))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_U",SWIG_From_int(static_cast< int >(SoKeyboardEvent::U))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_V",SWIG_From_int(static_cast< int >(SoKeyboardEvent::V))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_W",SWIG_From_int(static_cast< int >(SoKeyboardEvent::W))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_X",SWIG_From_int(static_cast< int >(SoKeyboardEvent::X))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Y",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Y))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Z",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Z))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_HOME",SWIG_From_int(static_cast< int >(SoKeyboardEvent::HOME))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_UP_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::UP_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_DOWN_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::DOWN_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAGE_UP",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAGE_UP))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAGE_DOWN",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAGE_DOWN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_END",SWIG_From_int(static_cast< int >(SoKeyboardEvent::END))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PRIOR",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PRIOR))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NEXT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NEXT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_ENTER",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_ENTER))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_0",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_0))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_ADD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_ADD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_SUBTRACT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_SUBTRACT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_MULTIPLY",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_MULTIPLY))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_DIVIDE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_DIVIDE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_SPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_SPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_TAB",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_TAB))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_INSERT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_INSERT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_PERIOD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_PERIOD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F10",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F10))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F11",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F11))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F12",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F12))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BACKSPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BACKSPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_TAB",SWIG_From_int(static_cast< int >(SoKeyboardEvent::TAB))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RETURN",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RETURN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ENTER",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ENTER))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAUSE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAUSE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SCROLL_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SCROLL_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ESCAPE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ESCAPE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_KEY_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::KEY_DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PRINT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PRINT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_INSERT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::INSERT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUM_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUM_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_CAPS_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::CAPS_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SHIFT_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SHIFT_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_APOSTROPHE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::APOSTROPHE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_COMMA",SWIG_From_int(static_cast< int >(SoKeyboardEvent::COMMA))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_MINUS",SWIG_From_int(static_cast< int >(SoKeyboardEvent::MINUS))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PERIOD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PERIOD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SLASH",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SLASH))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SEMICOLON",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SEMICOLON))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_EQUAL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::EQUAL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BRACKETLEFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BRACKETLEFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BACKSLASH",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BACKSLASH))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BRACKETRIGHT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BRACKETRIGHT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_GRAVE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::GRAVE))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_ANY",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::ANY))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON1",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON1))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON2",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON2))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON3",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON3))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON4",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON4))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON5",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON5))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_ANY",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::ANY))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON1",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON1))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON2",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON2))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON3",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON3))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON4",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON4))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON5",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON5))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON6",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON6))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON7",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON7))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON8",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON8))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_PICK",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::PICK))); - SWIG_Python_SetConstant(d, "SoGLImage_REPEAT",SWIG_From_int(static_cast< int >(SoGLImage::REPEAT))); - SWIG_Python_SetConstant(d, "SoGLImage_CLAMP",SWIG_From_int(static_cast< int >(SoGLImage::CLAMP))); - SWIG_Python_SetConstant(d, "SoGLImage_CLAMP_TO_EDGE",SWIG_From_int(static_cast< int >(SoGLImage::CLAMP_TO_EDGE))); - SWIG_Python_SetConstant(d, "SoGLImage_CLAMP_TO_BORDER",SWIG_From_int(static_cast< int >(SoGLImage::CLAMP_TO_BORDER))); - SWIG_Python_SetConstant(d, "SoGLImage_IMAGE",SWIG_From_int(static_cast< int >(SoGLImage::IMAGE))); - SWIG_Python_SetConstant(d, "SoGLImage_SUBIMAGE",SWIG_From_int(static_cast< int >(SoGLImage::SUBIMAGE))); - SWIG_Python_SetConstant(d, "SoGLImage_MIPMAP",SWIG_From_int(static_cast< int >(SoGLImage::MIPMAP))); - SWIG_Python_SetConstant(d, "SoGLImage_SCALE_DOWN",SWIG_From_int(static_cast< int >(SoGLImage::SCALE_DOWN))); - SWIG_Python_SetConstant(d, "SoGLImage_NO_MIPMAP",SWIG_From_int(static_cast< int >(SoGLImage::NO_MIPMAP))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MAG_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MAG_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MIN_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MIN_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MIPMAP_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MIPMAP_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_TRANSPARENCY_TRUE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_TRANSPARENCY_TRUE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_TRANSPARENCY_FALSE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_TRANSPARENCY_FALSE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_ALPHA_TEST_TRUE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_ALPHA_TEST_TRUE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_ALPHA_TEST_FALSE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_ALPHA_TEST_FALSE))); - SWIG_Python_SetConstant(d, "SoGLImage_INVINCIBLE",SWIG_From_int(static_cast< int >(SoGLImage::INVINCIBLE))); - SWIG_Python_SetConstant(d, "SoGLImage_RECTANGLE",SWIG_From_int(static_cast< int >(SoGLImage::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoGLImage_COMPRESSED",SWIG_From_int(static_cast< int >(SoGLImage::COMPRESSED))); - SWIG_Python_SetConstant(d, "SoGLImage_USE_QUALITY_VALUE",SWIG_From_int(static_cast< int >(SoGLImage::USE_QUALITY_VALUE))); - SWIG_Python_SetConstant(d, "SoGlyph_FONT2D",SWIG_From_int(static_cast< int >(SoGlyph::FONT2D))); - SWIG_Python_SetConstant(d, "SoGlyph_FONT3D",SWIG_From_int(static_cast< int >(SoGlyph::FONT3D))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_OFF",SWIG_From_int(static_cast< int >(SoSeparatorKit::OFF))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_ON",SWIG_From_int(static_cast< int >(SoSeparatorKit::ON))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_AUTO",SWIG_From_int(static_cast< int >(SoSeparatorKit::AUTO))); - SWIG_Python_SetConstant(d, "SoSeparator_OFF",SWIG_From_int(static_cast< int >(SoSeparator::OFF))); - SWIG_Python_SetConstant(d, "SoSeparator_ON",SWIG_From_int(static_cast< int >(SoSeparator::ON))); - SWIG_Python_SetConstant(d, "SoSeparator_AUTO",SWIG_From_int(static_cast< int >(SoSeparator::AUTO))); - SWIG_Python_SetConstant(d, "SoAntiSquish_X",SWIG_From_int(static_cast< int >(SoAntiSquish::X))); - SWIG_Python_SetConstant(d, "SoAntiSquish_Y",SWIG_From_int(static_cast< int >(SoAntiSquish::Y))); - SWIG_Python_SetConstant(d, "SoAntiSquish_Z",SWIG_From_int(static_cast< int >(SoAntiSquish::Z))); - SWIG_Python_SetConstant(d, "SoAntiSquish_AVERAGE_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::AVERAGE_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_BIGGEST_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::BIGGEST_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_SMALLEST_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::SMALLEST_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_LONGEST_DIAGONAL",SWIG_From_int(static_cast< int >(SoAntiSquish::LONGEST_DIAGONAL))); - SWIG_Python_SetConstant(d, "SoArray_FIRST",SWIG_From_int(static_cast< int >(SoArray::FIRST))); - SWIG_Python_SetConstant(d, "SoArray_CENTER",SWIG_From_int(static_cast< int >(SoArray::CENTER))); - SWIG_Python_SetConstant(d, "SoArray_LAST",SWIG_From_int(static_cast< int >(SoArray::LAST))); - SWIG_Python_SetConstant(d, "SoAsciiText_LEFT",SWIG_From_int(static_cast< int >(SoAsciiText::LEFT))); - SWIG_Python_SetConstant(d, "SoAsciiText_RIGHT",SWIG_From_int(static_cast< int >(SoAsciiText::RIGHT))); - SWIG_Python_SetConstant(d, "SoAsciiText_CENTER",SWIG_From_int(static_cast< int >(SoAsciiText::CENTER))); - SWIG_Python_SetConstant(d, "SO_SWITCH_NONE",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_SWITCH_INHERIT",SWIG_From_int(static_cast< int >((-2)))); - SWIG_Python_SetConstant(d, "SO_SWITCH_ALL",SWIG_From_int(static_cast< int >((-3)))); - SWIG_Python_SetConstant(d, "SoBumpMap_REPEAT",SWIG_From_int(static_cast< int >(SoBumpMap::REPEAT))); - SWIG_Python_SetConstant(d, "SoBumpMap_CLAMP",SWIG_From_int(static_cast< int >(SoBumpMap::CLAMP))); - SWIG_Python_SetConstant(d, "SO_ASPECT_SQUARE",SWIG_From_double(static_cast< double >(1.0))); - SWIG_Python_SetConstant(d, "SO_ASPECT_VIDEO",SWIG_From_double(static_cast< double >((4.0/3.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm_ACADEMY",SWIG_From_double(static_cast< double >(1.371))); - SWIG_Python_SetConstant(d, "SO_ASPECT_16mm",SWIG_From_double(static_cast< double >(1.369))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm_FULL",SWIG_From_double(static_cast< double >(1.33333))); - SWIG_Python_SetConstant(d, "SO_ASPECT_70mm",SWIG_From_double(static_cast< double >(2.287))); - SWIG_Python_SetConstant(d, "SO_ASPECT_CINEMASCOPE",SWIG_From_double(static_cast< double >(2.35))); - SWIG_Python_SetConstant(d, "SO_ASPECT_HDTV",SWIG_From_double(static_cast< double >((16.0/9.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_PANAVISION",SWIG_From_double(static_cast< double >(2.361))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm",SWIG_From_double(static_cast< double >((3.0/2.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_VISTAVISION",SWIG_From_double(static_cast< double >(2.301))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_FILL_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_FILL_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_LINE_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_LINE_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_NO_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_NO_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_ADJUST_CAMERA",SWIG_From_int(static_cast< int >(SoCamera::ADJUST_CAMERA))); - SWIG_Python_SetConstant(d, "SoCamera_LEAVE_ALONE",SWIG_From_int(static_cast< int >(SoCamera::LEAVE_ALONE))); - SWIG_Python_SetConstant(d, "SoCamera_MONOSCOPIC",SWIG_From_int(static_cast< int >(SoCamera::MONOSCOPIC))); - SWIG_Python_SetConstant(d, "SoCamera_LEFT_VIEW",SWIG_From_int(static_cast< int >(SoCamera::LEFT_VIEW))); - SWIG_Python_SetConstant(d, "SoCamera_RIGHT_VIEW",SWIG_From_int(static_cast< int >(SoCamera::RIGHT_VIEW))); - SWIG_Python_SetConstant(d, "SoCone_SIDES",SWIG_From_int(static_cast< int >(SoCone::SIDES))); - SWIG_Python_SetConstant(d, "SoCone_BOTTOM",SWIG_From_int(static_cast< int >(SoCone::BOTTOM))); - SWIG_Python_SetConstant(d, "SoCone_ALL",SWIG_From_int(static_cast< int >(SoCone::ALL))); - SWIG_Python_SetConstant(d, "SoCylinder_SIDES",SWIG_From_int(static_cast< int >(SoCylinder::SIDES))); - SWIG_Python_SetConstant(d, "SoCylinder_TOP",SWIG_From_int(static_cast< int >(SoCylinder::TOP))); - SWIG_Python_SetConstant(d, "SoCylinder_BOTTOM",SWIG_From_int(static_cast< int >(SoCylinder::BOTTOM))); - SWIG_Python_SetConstant(d, "SoCylinder_ALL",SWIG_From_int(static_cast< int >(SoCylinder::ALL))); - SWIG_Python_SetConstant(d, "SoEnvironment_NONE",SWIG_From_int(static_cast< int >(SoEnvironment::NONE))); - SWIG_Python_SetConstant(d, "SoEnvironment_HAZE",SWIG_From_int(static_cast< int >(SoEnvironment::HAZE))); - SWIG_Python_SetConstant(d, "SoEnvironment_FOG",SWIG_From_int(static_cast< int >(SoEnvironment::FOG))); - SWIG_Python_SetConstant(d, "SoEnvironment_SMOKE",SWIG_From_int(static_cast< int >(SoEnvironment::SMOKE))); - SWIG_Python_SetConstant(d, "SoSelection_SINGLE",SWIG_From_int(static_cast< int >(SoSelection::SINGLE))); - SWIG_Python_SetConstant(d, "SoSelection_TOGGLE",SWIG_From_int(static_cast< int >(SoSelection::TOGGLE))); - SWIG_Python_SetConstant(d, "SoSelection_SHIFT",SWIG_From_int(static_cast< int >(SoSelection::SHIFT))); - SWIG_Python_SetConstant(d, "SoExtSelection_NOLASSO",SWIG_From_int(static_cast< int >(SoExtSelection::NOLASSO))); - SWIG_Python_SetConstant(d, "SoExtSelection_LASSO",SWIG_From_int(static_cast< int >(SoExtSelection::LASSO))); - SWIG_Python_SetConstant(d, "SoExtSelection_RECTANGLE",SWIG_From_int(static_cast< int >(SoExtSelection::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoExtSelection_FULL_BBOX",SWIG_From_int(static_cast< int >(SoExtSelection::FULL_BBOX))); - SWIG_Python_SetConstant(d, "SoExtSelection_PART_BBOX",SWIG_From_int(static_cast< int >(SoExtSelection::PART_BBOX))); - SWIG_Python_SetConstant(d, "SoExtSelection_FULL",SWIG_From_int(static_cast< int >(SoExtSelection::FULL))); - SWIG_Python_SetConstant(d, "SoExtSelection_PART",SWIG_From_int(static_cast< int >(SoExtSelection::PART))); - SWIG_Python_SetConstant(d, "SoExtSelection_ALL_SHAPES",SWIG_From_int(static_cast< int >(SoExtSelection::ALL_SHAPES))); - SWIG_Python_SetConstant(d, "SoExtSelection_VISIBLE_SHAPES",SWIG_From_int(static_cast< int >(SoExtSelection::VISIBLE_SHAPES))); - SWIG_Python_SetConstant(d, "SoVertexProperty_OVERALL",SWIG_From_int(static_cast< int >(SoVertexProperty::OVERALL))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_PART",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_PART))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_FACE",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_FACE))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoFontStyle_SERIF",SWIG_From_int(static_cast< int >(SoFontStyle::SERIF))); - SWIG_Python_SetConstant(d, "SoFontStyle_SANS",SWIG_From_int(static_cast< int >(SoFontStyle::SANS))); - SWIG_Python_SetConstant(d, "SoFontStyle_TYPEWRITER",SWIG_From_int(static_cast< int >(SoFontStyle::TYPEWRITER))); - SWIG_Python_SetConstant(d, "SoFontStyle_NONE",SWIG_From_int(static_cast< int >(SoFontStyle::NONE))); - SWIG_Python_SetConstant(d, "SoFontStyle_BOLD",SWIG_From_int(static_cast< int >(SoFontStyle::BOLD))); - SWIG_Python_SetConstant(d, "SoFontStyle_ITALIC",SWIG_From_int(static_cast< int >(SoFontStyle::ITALIC))); - SWIG_Python_SetConstant(d, "SO_END_FACE_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_END_LINE_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_END_STRIP_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SoProfile_START_FIRST",SWIG_From_int(static_cast< int >(SoProfile::START_FIRST))); - SWIG_Python_SetConstant(d, "SoProfile_START_NEW",SWIG_From_int(static_cast< int >(SoProfile::START_NEW))); - SWIG_Python_SetConstant(d, "SoProfile_ADD_TO_CURRENT",SWIG_From_int(static_cast< int >(SoProfile::ADD_TO_CURRENT))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_AUTO",SWIG_From_int(static_cast< int >(SoLocateHighlight::AUTO))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_ON",SWIG_From_int(static_cast< int >(SoLocateHighlight::ON))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_OFF",SWIG_From_int(static_cast< int >(SoLocateHighlight::OFF))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_EMISSIVE",SWIG_From_int(static_cast< int >(SoLocateHighlight::EMISSIVE))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_EMISSIVE_DIFFUSE",SWIG_From_int(static_cast< int >(SoLocateHighlight::EMISSIVE_DIFFUSE))); - SWIG_Python_SetConstant(d, "SoMarkerSet_NONE",SWIG_From_int(static_cast< int >(SoMarkerSet::NONE))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_NUM_MARKERS",SWIG_From_int(static_cast< int >(SoMarkerSet::NUM_MARKERS))); - SWIG_Python_SetConstant(d, "SoText2_LEFT",SWIG_From_int(static_cast< int >(SoText2::LEFT))); - SWIG_Python_SetConstant(d, "SoText2_RIGHT",SWIG_From_int(static_cast< int >(SoText2::RIGHT))); - SWIG_Python_SetConstant(d, "SoText2_CENTER",SWIG_From_int(static_cast< int >(SoText2::CENTER))); - SWIG_Python_SetConstant(d, "SoText3_FRONT",SWIG_From_int(static_cast< int >(SoText3::FRONT))); - SWIG_Python_SetConstant(d, "SoText3_SIDES",SWIG_From_int(static_cast< int >(SoText3::SIDES))); - SWIG_Python_SetConstant(d, "SoText3_BACK",SWIG_From_int(static_cast< int >(SoText3::BACK))); - SWIG_Python_SetConstant(d, "SoText3_ALL",SWIG_From_int(static_cast< int >(SoText3::ALL))); - SWIG_Python_SetConstant(d, "SoText3_LEFT",SWIG_From_int(static_cast< int >(SoText3::LEFT))); - SWIG_Python_SetConstant(d, "SoText3_RIGHT",SWIG_From_int(static_cast< int >(SoText3::RIGHT))); - SWIG_Python_SetConstant(d, "SoText3_CENTER",SWIG_From_int(static_cast< int >(SoText3::CENTER))); - SWIG_Python_SetConstant(d, "SoWWWAnchor_NONE",SWIG_From_int(static_cast< int >(SoWWWAnchor::NONE))); - SWIG_Python_SetConstant(d, "SoWWWAnchor_POINT",SWIG_From_int(static_cast< int >(SoWWWAnchor::POINT))); - SWIG_Python_SetConstant(d, "SoResetTransform_TRANSFORM",SWIG_From_int(static_cast< int >(SoResetTransform::TRANSFORM))); - SWIG_Python_SetConstant(d, "SoResetTransform_BBOX",SWIG_From_int(static_cast< int >(SoResetTransform::BBOX))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_X",SWIG_From_int(static_cast< int >(SoRotationXYZ::X))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_Y",SWIG_From_int(static_cast< int >(SoRotationXYZ::Y))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_Z",SWIG_From_int(static_cast< int >(SoRotationXYZ::Z))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBinding_OVERALL",SWIG_From_int(static_cast< int >(SoVertexAttributeBinding::OVERALL))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVertexAttributeBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVertexAttributeBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexAttributeBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoVertexAttributeBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_FILLED",SWIG_From_int(static_cast< int >(SoPolygonOffset::FILLED))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_LINES",SWIG_From_int(static_cast< int >(SoPolygonOffset::LINES))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_POINTS",SWIG_From_int(static_cast< int >(SoPolygonOffset::POINTS))); - SWIG_Python_SetConstant(d, "SoTexture3_MODULATE",SWIG_From_int(static_cast< int >(SoTexture3::MODULATE))); - SWIG_Python_SetConstant(d, "SoTexture3_DECAL",SWIG_From_int(static_cast< int >(SoTexture3::DECAL))); - SWIG_Python_SetConstant(d, "SoTexture3_BLEND",SWIG_From_int(static_cast< int >(SoTexture3::BLEND))); - SWIG_Python_SetConstant(d, "SoTexture3_REPEAT",SWIG_From_int(static_cast< int >(SoTexture3::REPEAT))); - SWIG_Python_SetConstant(d, "SoTexture3_CLAMP",SWIG_From_int(static_cast< int >(SoTexture3::CLAMP))); - SWIG_Python_SetConstant(d, "SoWWWInline_NEVER",SWIG_From_int(static_cast< int >(SoWWWInline::NEVER))); - SWIG_Python_SetConstant(d, "SoWWWInline_UNTIL_LOADED",SWIG_From_int(static_cast< int >(SoWWWInline::UNTIL_LOADED))); - SWIG_Python_SetConstant(d, "SoWWWInline_ALWAYS",SWIG_From_int(static_cast< int >(SoWWWInline::ALWAYS))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SCREEN_DOOR",SWIG_From_int(static_cast< int >(SoTransparencyType::SCREEN_DOOR))); - SWIG_Python_SetConstant(d, "SoTransparencyType_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_DELAYED_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::DELAYED_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_DELAYED_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::DELAYED_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_SORTED_TRIANGLE_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_SORTED_TRIANGLE_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_NONE",SWIG_From_int(static_cast< int >(SoTransparencyType::NONE))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_MODULATE",SWIG_From_int(static_cast< int >(SoTextureCubeMap::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_DECAL",SWIG_From_int(static_cast< int >(SoTextureCubeMap::DECAL))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_BLEND",SWIG_From_int(static_cast< int >(SoTextureCubeMap::BLEND))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_REPLACE",SWIG_From_int(static_cast< int >(SoTextureCubeMap::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_REPEAT",SWIG_From_int(static_cast< int >(SoTextureCubeMap::REPEAT))); - SWIG_Python_SetConstant(d, "SoTextureCubeMap_CLAMP",SWIG_From_int(static_cast< int >(SoTextureCubeMap::CLAMP))); - SWIG_Python_SetConstant(d, "SoShaderObject_ARB_PROGRAM",SWIG_From_int(static_cast< int >(SoShaderObject::ARB_PROGRAM))); - SWIG_Python_SetConstant(d, "SoShaderObject_CG_PROGRAM",SWIG_From_int(static_cast< int >(SoShaderObject::CG_PROGRAM))); - SWIG_Python_SetConstant(d, "SoShaderObject_GLSL_PROGRAM",SWIG_From_int(static_cast< int >(SoShaderObject::GLSL_PROGRAM))); - SWIG_Python_SetConstant(d, "SoShaderObject_FILENAME",SWIG_From_int(static_cast< int >(SoShaderObject::FILENAME))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_MODELVIEW",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::MODELVIEW))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_PROJECTION",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::PROJECTION))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_TEXTURE",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::TEXTURE))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_MODELVIEW_PROJECTION",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::MODELVIEW_PROJECTION))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_IDENTITY",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::IDENTITY))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_TRANSPOSE",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::TRANSPOSE))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_INVERSE",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::INVERSE))); - SWIG_Python_SetConstant(d, "SoShaderStateMatrixParameter_INVERSE_TRANSPOSE",SWIG_From_int(static_cast< int >(SoShaderStateMatrixParameter::INVERSE_TRANSPOSE))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_USE_TEXTURE_QUALITY",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::USE_TEXTURE_QUALITY))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_SCALE_DOWN",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::SCALE_DOWN))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_SCALE_UP",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::SCALE_UP))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_FRACTURE",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::FRACTURE))); - SWIG_Python_SetConstant(d, "SoTextureUnit_BUMP_MAPPING",SWIG_From_int(static_cast< int >(SoTextureUnit::BUMP_MAPPING))); - SWIG_Python_SetConstant(d, "SoTextureUnit_IMAGE_MAPPING",SWIG_From_int(static_cast< int >(SoTextureUnit::IMAGE_MAPPING))); - SWIG_Python_SetConstant(d, "SoTextureCombine_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::PRIMARY_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_TEXTURE",SWIG_From_int(static_cast< int >(SoTextureCombine::TEXTURE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_CONSTANT",SWIG_From_int(static_cast< int >(SoTextureCombine::CONSTANT))); - SWIG_Python_SetConstant(d, "SoTextureCombine_PREVIOUS",SWIG_From_int(static_cast< int >(SoTextureCombine::PREVIOUS))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ONE_MINUS_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::ONE_MINUS_SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombine::SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ONE_MINUS_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombine::ONE_MINUS_SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombine_REPLACE",SWIG_From_int(static_cast< int >(SoTextureCombine::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_MODULATE",SWIG_From_int(static_cast< int >(SoTextureCombine::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ADD",SWIG_From_int(static_cast< int >(SoTextureCombine::ADD))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ADD_SIGNED",SWIG_From_int(static_cast< int >(SoTextureCombine::ADD_SIGNED))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SUBTRACT",SWIG_From_int(static_cast< int >(SoTextureCombine::SUBTRACT))); - SWIG_Python_SetConstant(d, "SoTextureCombine_INTERPOLATE",SWIG_From_int(static_cast< int >(SoTextureCombine::INTERPOLATE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_DOT3_RGB",SWIG_From_int(static_cast< int >(SoTextureCombine::DOT3_RGB))); - SWIG_Python_SetConstant(d, "SoTextureCombine_DOT3_RGBA",SWIG_From_int(static_cast< int >(SoTextureCombine::DOT3_RGBA))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_MODULATE",SWIG_From_int(static_cast< int >(SoSceneTexture2::MODULATE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_DECAL",SWIG_From_int(static_cast< int >(SoSceneTexture2::DECAL))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_BLEND",SWIG_From_int(static_cast< int >(SoSceneTexture2::BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_REPLACE",SWIG_From_int(static_cast< int >(SoSceneTexture2::REPLACE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_REPEAT",SWIG_From_int(static_cast< int >(SoSceneTexture2::REPEAT))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_CLAMP",SWIG_From_int(static_cast< int >(SoSceneTexture2::CLAMP))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_CLAMP_TO_BORDER",SWIG_From_int(static_cast< int >(SoSceneTexture2::CLAMP_TO_BORDER))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_NONE",SWIG_From_int(static_cast< int >(SoSceneTexture2::NONE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_ALPHA_BLEND",SWIG_From_int(static_cast< int >(SoSceneTexture2::ALPHA_BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_ALPHA_TEST",SWIG_From_int(static_cast< int >(SoSceneTexture2::ALPHA_TEST))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_DEPTH",SWIG_From_int(static_cast< int >(SoSceneTexture2::DEPTH))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA8",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA8))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA32F",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA32F))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB32F",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB32F))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA16F",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA16F))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB16F",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB16F))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_R3_G3_B2",SWIG_From_int(static_cast< int >(SoSceneTexture2::R3_G3_B2))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB4",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB4))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB5",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB5))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB8",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB8))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB10",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB10))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB12",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB12))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB16",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB16))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA2",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA2))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA4",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA4))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB5_A1",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB5_A1))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGB10_A2",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGB10_A2))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA12",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA12))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_RGBA16",SWIG_From_int(static_cast< int >(SoSceneTexture2::RGBA16))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_MODULATE",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::MODULATE))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_DECAL",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::DECAL))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_BLEND",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_REPLACE",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::REPLACE))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_REPEAT",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::REPEAT))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_CLAMP",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::CLAMP))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_NONE",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::NONE))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_ALPHA_BLEND",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::ALPHA_BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTextureCubeMap_ALPHA_TEST",SWIG_From_int(static_cast< int >(SoSceneTextureCubeMap::ALPHA_TEST))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_NEVER",SWIG_From_int(static_cast< int >(SoDepthBuffer::NEVER))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_ALWAYS",SWIG_From_int(static_cast< int >(SoDepthBuffer::ALWAYS))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_LESS",SWIG_From_int(static_cast< int >(SoDepthBuffer::LESS))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_LEQUAL",SWIG_From_int(static_cast< int >(SoDepthBuffer::LEQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_EQUAL",SWIG_From_int(static_cast< int >(SoDepthBuffer::EQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_GEQUAL",SWIG_From_int(static_cast< int >(SoDepthBuffer::GEQUAL))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_GREATER",SWIG_From_int(static_cast< int >(SoDepthBuffer::GREATER))); - SWIG_Python_SetConstant(d, "SoDepthBuffer_NOTEQUAL",SWIG_From_int(static_cast< int >(SoDepthBuffer::NOTEQUAL))); - SWIG_Python_SetConstant(d, "SoPathSensor_PATH",SWIG_From_int(static_cast< int >(SoPathSensor::PATH))); - SWIG_Python_SetConstant(d, "SoPathSensor_NODES",SWIG_From_int(static_cast< int >(SoPathSensor::NODES))); - SWIG_Python_SetConstant(d, "SoPathSensor_PATH_AND_NODES",SWIG_From_int(static_cast< int >(SoPathSensor::PATH_AND_NODES))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_LUMINANCE",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::LUMINANCE))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_LUMINANCE_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::LUMINANCE_TRANSPARENCY))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_RGB",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::RGB))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_RGB_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::RGB_TRANSPARENCY))); - SWIG_Python_SetConstant(d, "GL_GLEXT_PROTOTYPES",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "GL_CLAMP_TO_EDGE",SWIG_From_int(static_cast< int >(0x812F))); - SWIG_Python_SetConstant(d, "GL_CLAMP_TO_BORDER",SWIG_From_int(static_cast< int >(0x812D))); - SWIG_Python_SetConstant(d, "GL_REPLACE",SWIG_From_int(static_cast< int >(0x1E01))); - SWIG_Python_SetConstant(d, "GL_MAX_3D_TEXTURE_SIZE",SWIG_From_int(static_cast< int >(0x8073))); - SWIG_Python_SetConstant(d, "GL_PACK_IMAGE_HEIGHT",SWIG_From_int(static_cast< int >(0x806C))); - SWIG_Python_SetConstant(d, "GL_PACK_SKIP_IMAGES",SWIG_From_int(static_cast< int >(0x806B))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_2D",SWIG_From_int(static_cast< int >(0x8064))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_3D",SWIG_From_int(static_cast< int >(0x8070))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_3D",SWIG_From_int(static_cast< int >(0x806F))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DEPTH",SWIG_From_int(static_cast< int >(0x8071))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_WRAP_R",SWIG_From_int(static_cast< int >(0x8072))); - SWIG_Python_SetConstant(d, "GL_UNPACK_IMAGE_HEIGHT",SWIG_From_int(static_cast< int >(0x806E))); - SWIG_Python_SetConstant(d, "GL_UNPACK_SKIP_IMAGES",SWIG_From_int(static_cast< int >(0x806D))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_WIDTH",SWIG_From_int(static_cast< int >(0x80D9))); - SWIG_Python_SetConstant(d, "GL_TEXTURE0",SWIG_From_int(static_cast< int >(0x84C0))); - SWIG_Python_SetConstant(d, "GL_TEXTURE1",SWIG_From_int(static_cast< int >(0x84C1))); - SWIG_Python_SetConstant(d, "GL_TEXTURE2",SWIG_From_int(static_cast< int >(0x84C2))); - SWIG_Python_SetConstant(d, "GL_TEXTURE3",SWIG_From_int(static_cast< int >(0x84C3))); - SWIG_Python_SetConstant(d, "GL_TEXTURE4",SWIG_From_int(static_cast< int >(0x84C4))); - SWIG_Python_SetConstant(d, "GL_TEXTURE5",SWIG_From_int(static_cast< int >(0x84C5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE6",SWIG_From_int(static_cast< int >(0x84C6))); - SWIG_Python_SetConstant(d, "GL_TEXTURE7",SWIG_From_int(static_cast< int >(0x84C7))); - SWIG_Python_SetConstant(d, "GL_TEXTURE8",SWIG_From_int(static_cast< int >(0x84C8))); - SWIG_Python_SetConstant(d, "GL_TEXTURE9",SWIG_From_int(static_cast< int >(0x84C9))); - SWIG_Python_SetConstant(d, "GL_TEXTURE10",SWIG_From_int(static_cast< int >(0x84CA))); - SWIG_Python_SetConstant(d, "GL_TEXTURE11",SWIG_From_int(static_cast< int >(0x84CB))); - SWIG_Python_SetConstant(d, "GL_TEXTURE12",SWIG_From_int(static_cast< int >(0x84CC))); - SWIG_Python_SetConstant(d, "GL_TEXTURE13",SWIG_From_int(static_cast< int >(0x84CD))); - SWIG_Python_SetConstant(d, "GL_TEXTURE14",SWIG_From_int(static_cast< int >(0x84CE))); - SWIG_Python_SetConstant(d, "GL_TEXTURE15",SWIG_From_int(static_cast< int >(0x84CF))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_UNITS",SWIG_From_int(static_cast< int >(0x84E2))); - SWIG_Python_SetConstant(d, "GL_ACTIVE_TEXTURE",SWIG_From_int(static_cast< int >(0x84E0))); - SWIG_Python_SetConstant(d, "GL_CLIENT_ACTIVE_TEXTURE",SWIG_From_int(static_cast< int >(0x84E1))); - SWIG_Python_SetConstant(d, "GL_POLYGON_OFFSET_EXT",SWIG_From_int(static_cast< int >(0x8037))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE",SWIG_From_int(static_cast< int >(0x80D0))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX1_EXT",SWIG_From_int(static_cast< int >(0x80E2))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX2_EXT",SWIG_From_int(static_cast< int >(0x80E3))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX4_EXT",SWIG_From_int(static_cast< int >(0x80E4))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX8_EXT",SWIG_From_int(static_cast< int >(0x80E5))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX12_EXT",SWIG_From_int(static_cast< int >(0x80E6))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX16_EXT",SWIG_From_int(static_cast< int >(0x80E7))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_FORMAT_EXT",SWIG_From_int(static_cast< int >(0x80D8))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_RED_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DA))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_GREEN_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DB))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_BLUE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DC))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_ALPHA_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DD))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_LUMINANCE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DE))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_INTENSITY_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DF))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_INDEX_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80ED))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_ALPHA_ARB",SWIG_From_int(static_cast< int >(0x84E9))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_LUMINANCE_ARB",SWIG_From_int(static_cast< int >(0x84EA))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_LUMINANCE_ALPHA_ARB",SWIG_From_int(static_cast< int >(0x84EB))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_INTENSITY_ARB",SWIG_From_int(static_cast< int >(0x84EC))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_RGB_ARB",SWIG_From_int(static_cast< int >(0x84ED))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_RGBA_ARB",SWIG_From_int(static_cast< int >(0x84EE))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSION_HINT_ARB",SWIG_From_int(static_cast< int >(0x84EF))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB",SWIG_From_int(static_cast< int >(0x86A0))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSED_ARB",SWIG_From_int(static_cast< int >(0x86A1))); - SWIG_Python_SetConstant(d, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB",SWIG_From_int(static_cast< int >(0x86A2))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_TEXTURE_FORMATS_ARB",SWIG_From_int(static_cast< int >(0x86A3))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT16",SWIG_From_int(static_cast< int >(0x81A5))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT24",SWIG_From_int(static_cast< int >(0x81A6))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT32",SWIG_From_int(static_cast< int >(0x81A7))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DEPTH_SIZE",SWIG_From_int(static_cast< int >(0x884A))); - SWIG_Python_SetConstant(d, "GL_DEPTH_TEXTURE_MODE",SWIG_From_int(static_cast< int >(0x884B))); - SWIG_Python_SetConstant(d, "GL_R3_G3_B2",SWIG_From_int(static_cast< int >(0x2A10))); - SWIG_Python_SetConstant(d, "GL_RGB4",SWIG_From_int(static_cast< int >(0x804F))); - SWIG_Python_SetConstant(d, "GL_RGB5",SWIG_From_int(static_cast< int >(0x8050))); - SWIG_Python_SetConstant(d, "GL_RGB8",SWIG_From_int(static_cast< int >(0x8051))); - SWIG_Python_SetConstant(d, "GL_RGB10",SWIG_From_int(static_cast< int >(0x8052))); - SWIG_Python_SetConstant(d, "GL_RGB12",SWIG_From_int(static_cast< int >(0x8053))); - SWIG_Python_SetConstant(d, "GL_RGB16",SWIG_From_int(static_cast< int >(0x8054))); - SWIG_Python_SetConstant(d, "GL_RGBA2",SWIG_From_int(static_cast< int >(0x8055))); - SWIG_Python_SetConstant(d, "GL_RGBA4",SWIG_From_int(static_cast< int >(0x8056))); - SWIG_Python_SetConstant(d, "GL_RGB5_A1",SWIG_From_int(static_cast< int >(0x8057))); - SWIG_Python_SetConstant(d, "GL_RGBA8",SWIG_From_int(static_cast< int >(0x8058))); - SWIG_Python_SetConstant(d, "GL_RGB10_A2",SWIG_From_int(static_cast< int >(0x8059))); - SWIG_Python_SetConstant(d, "GL_RGBA12",SWIG_From_int(static_cast< int >(0x805A))); - SWIG_Python_SetConstant(d, "GL_RGBA16",SWIG_From_int(static_cast< int >(0x805B))); - SWIG_Python_SetConstant(d, "GL_RGBA32F_ARB",SWIG_From_int(static_cast< int >(0x8814))); - SWIG_Python_SetConstant(d, "GL_RGB32F_ARB",SWIG_From_int(static_cast< int >(0x8815))); - SWIG_Python_SetConstant(d, "GL_ALPHA32F_ARB",SWIG_From_int(static_cast< int >(0x8816))); - SWIG_Python_SetConstant(d, "GL_INTENSITY32F_ARB",SWIG_From_int(static_cast< int >(0x8817))); - SWIG_Python_SetConstant(d, "GL_LUMINANCE32F_ARB",SWIG_From_int(static_cast< int >(0x8818))); - SWIG_Python_SetConstant(d, "GL_LUMINANCE_ALPHA32F_ARB",SWIG_From_int(static_cast< int >(0x8819))); - SWIG_Python_SetConstant(d, "GL_RGBA16F_ARB",SWIG_From_int(static_cast< int >(0x881A))); - SWIG_Python_SetConstant(d, "GL_RGB16F_ARB",SWIG_From_int(static_cast< int >(0x881B))); - SWIG_Python_SetConstant(d, "GL_ALPHA16F_ARB",SWIG_From_int(static_cast< int >(0x881C))); - SWIG_Python_SetConstant(d, "GL_INTENSITY16F_ARB",SWIG_From_int(static_cast< int >(0x881D))); - SWIG_Python_SetConstant(d, "GL_LUMINANCE16F_ARB",SWIG_From_int(static_cast< int >(0x881E))); - SWIG_Python_SetConstant(d, "GL_LUMINANCE_ALPHA16F_ARB",SWIG_From_int(static_cast< int >(0x881F))); - SWIG_Python_SetConstant(d, "GL_RGBA16_EXT",SWIG_From_int(static_cast< int >(0x805B))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPARE_MODE",SWIG_From_int(static_cast< int >(0x884C))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPARE_FUNC",SWIG_From_int(static_cast< int >(0x884D))); - SWIG_Python_SetConstant(d, "GL_COMPARE_R_TO_TEXTURE",SWIG_From_int(static_cast< int >(0x884E))); - SWIG_Python_SetConstant(d, "GL_MIN",SWIG_From_int(static_cast< int >(0x8007))); - SWIG_Python_SetConstant(d, "GL_MAX",SWIG_From_int(static_cast< int >(0x8008))); - SWIG_Python_SetConstant(d, "GL_FUNC_ADD",SWIG_From_int(static_cast< int >(0x8006))); - SWIG_Python_SetConstant(d, "GL_FUNC_SUBTRACT",SWIG_From_int(static_cast< int >(0x800A))); - SWIG_Python_SetConstant(d, "GL_FUNC_REVERSE_SUBTRACT",SWIG_From_int(static_cast< int >(0x800B))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY",SWIG_From_int(static_cast< int >(0x8074))); - SWIG_Python_SetConstant(d, "GL_NORMAL_ARRAY",SWIG_From_int(static_cast< int >(0x8075))); - SWIG_Python_SetConstant(d, "GL_COLOR_ARRAY",SWIG_From_int(static_cast< int >(0x8076))); - SWIG_Python_SetConstant(d, "GL_INDEX_ARRAY",SWIG_From_int(static_cast< int >(0x8077))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COORD_ARRAY",SWIG_From_int(static_cast< int >(0x8078))); - SWIG_Python_SetConstant(d, "GL_V3F",SWIG_From_int(static_cast< int >(0x2A21))); - SWIG_Python_SetConstant(d, "GL_C4UB_V3F",SWIG_From_int(static_cast< int >(0x2A23))); - SWIG_Python_SetConstant(d, "GL_C3F_V3F",SWIG_From_int(static_cast< int >(0x2A24))); - SWIG_Python_SetConstant(d, "GL_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A25))); - SWIG_Python_SetConstant(d, "GL_C4F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A26))); - SWIG_Python_SetConstant(d, "GL_T2F_V3F",SWIG_From_int(static_cast< int >(0x2A27))); - SWIG_Python_SetConstant(d, "GL_T2F_C4UB_V3F",SWIG_From_int(static_cast< int >(0x2A29))); - SWIG_Python_SetConstant(d, "GL_T2F_C3F_V3F",SWIG_From_int(static_cast< int >(0x2A2A))); - SWIG_Python_SetConstant(d, "GL_T2F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A2B))); - SWIG_Python_SetConstant(d, "GL_T2F_C4F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A2C))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_NV",SWIG_From_int(static_cast< int >(0x851D))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_LENGTH_NV",SWIG_From_int(static_cast< int >(0x851E))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_VALID_NV",SWIG_From_int(static_cast< int >(0x851F))); - SWIG_Python_SetConstant(d, "GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV",SWIG_From_int(static_cast< int >(0x8520))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_POINTER_NV",SWIG_From_int(static_cast< int >(0x8521))); - SWIG_Python_SetConstant(d, "GL_ARRAY_BUFFER",SWIG_From_int(static_cast< int >(0x8892))); - SWIG_Python_SetConstant(d, "GL_ELEMENT_ARRAY_BUFFER",SWIG_From_int(static_cast< int >(0x8893))); - SWIG_Python_SetConstant(d, "GL_READ_ONLY",SWIG_From_int(static_cast< int >(0x88B8))); - SWIG_Python_SetConstant(d, "GL_WRITE_ONLY",SWIG_From_int(static_cast< int >(0x88B9))); - SWIG_Python_SetConstant(d, "GL_READ_WRITE",SWIG_From_int(static_cast< int >(0x88BA))); - SWIG_Python_SetConstant(d, "GL_BUFFER_ACCESS",SWIG_From_int(static_cast< int >(0x88BB))); - SWIG_Python_SetConstant(d, "GL_BUFFER_MAPPED",SWIG_From_int(static_cast< int >(0x88BC))); - SWIG_Python_SetConstant(d, "GL_BUFFER_MAP_POINTER",SWIG_From_int(static_cast< int >(0x88BD))); - SWIG_Python_SetConstant(d, "GL_STREAM_DRAW",SWIG_From_int(static_cast< int >(0x88E0))); - SWIG_Python_SetConstant(d, "GL_STREAM_READ",SWIG_From_int(static_cast< int >(0x88E1))); - SWIG_Python_SetConstant(d, "GL_STREAM_COPY",SWIG_From_int(static_cast< int >(0x88E2))); - SWIG_Python_SetConstant(d, "GL_STATIC_DRAW",SWIG_From_int(static_cast< int >(0x88E4))); - SWIG_Python_SetConstant(d, "GL_STATIC_READ",SWIG_From_int(static_cast< int >(0x88E5))); - SWIG_Python_SetConstant(d, "GL_STATIC_COPY",SWIG_From_int(static_cast< int >(0x88E6))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_DRAW",SWIG_From_int(static_cast< int >(0x88E8))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_READ",SWIG_From_int(static_cast< int >(0x88E9))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_COPY",SWIG_From_int(static_cast< int >(0x88EA))); - SWIG_Python_SetConstant(d, "GL_REGISTER_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x8522))); - SWIG_Python_SetConstant(d, "GL_COMBINER0_NV",SWIG_From_int(static_cast< int >(0x8550))); - SWIG_Python_SetConstant(d, "GL_COMBINER1_NV",SWIG_From_int(static_cast< int >(0x8551))); - SWIG_Python_SetConstant(d, "GL_COMBINER2_NV",SWIG_From_int(static_cast< int >(0x8552))); - SWIG_Python_SetConstant(d, "GL_COMBINER3_NV",SWIG_From_int(static_cast< int >(0x8553))); - SWIG_Python_SetConstant(d, "GL_COMBINER4_NV",SWIG_From_int(static_cast< int >(0x8554))); - SWIG_Python_SetConstant(d, "GL_COMBINER5_NV",SWIG_From_int(static_cast< int >(0x8555))); - SWIG_Python_SetConstant(d, "GL_COMBINER6_NV",SWIG_From_int(static_cast< int >(0x8556))); - SWIG_Python_SetConstant(d, "GL_COMBINER7_NV",SWIG_From_int(static_cast< int >(0x8557))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_A_NV",SWIG_From_int(static_cast< int >(0x8523))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_B_NV",SWIG_From_int(static_cast< int >(0x8524))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_C_NV",SWIG_From_int(static_cast< int >(0x8525))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_D_NV",SWIG_From_int(static_cast< int >(0x8526))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_E_NV",SWIG_From_int(static_cast< int >(0x8527))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_F_NV",SWIG_From_int(static_cast< int >(0x8528))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_G_NV",SWIG_From_int(static_cast< int >(0x8529))); - SWIG_Python_SetConstant(d, "GL_CONSTANT_COLOR0_NV",SWIG_From_int(static_cast< int >(0x852A))); - SWIG_Python_SetConstant(d, "GL_CONSTANT_COLOR1_NV",SWIG_From_int(static_cast< int >(0x852B))); - SWIG_Python_SetConstant(d, "GL_PRIMARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x852C))); - SWIG_Python_SetConstant(d, "GL_SECONDARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x852D))); - SWIG_Python_SetConstant(d, "GL_SPARE0_NV",SWIG_From_int(static_cast< int >(0x852E))); - SWIG_Python_SetConstant(d, "GL_SPARE1_NV",SWIG_From_int(static_cast< int >(0x852F))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_IDENTITY_NV",SWIG_From_int(static_cast< int >(0x8536))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INVERT_NV",SWIG_From_int(static_cast< int >(0x8537))); - SWIG_Python_SetConstant(d, "GL_EXPAND_NORMAL_NV",SWIG_From_int(static_cast< int >(0x8538))); - SWIG_Python_SetConstant(d, "GL_EXPAND_NEGATE_NV",SWIG_From_int(static_cast< int >(0x8539))); - SWIG_Python_SetConstant(d, "GL_HALF_BIAS_NORMAL_NV",SWIG_From_int(static_cast< int >(0x853A))); - SWIG_Python_SetConstant(d, "GL_HALF_BIAS_NEGATE_NV",SWIG_From_int(static_cast< int >(0x853B))); - SWIG_Python_SetConstant(d, "GL_SIGNED_IDENTITY_NV",SWIG_From_int(static_cast< int >(0x853C))); - SWIG_Python_SetConstant(d, "GL_SIGNED_NEGATE_NV",SWIG_From_int(static_cast< int >(0x853D))); - SWIG_Python_SetConstant(d, "GL_E_TIMES_F_NV",SWIG_From_int(static_cast< int >(0x8531))); - SWIG_Python_SetConstant(d, "GL_SPARE0_PLUS_SECONDARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x8532))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_TWO_NV",SWIG_From_int(static_cast< int >(0x853E))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_FOUR_NV",SWIG_From_int(static_cast< int >(0x853F))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_ONE_HALF_NV",SWIG_From_int(static_cast< int >(0x8540))); - SWIG_Python_SetConstant(d, "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV",SWIG_From_int(static_cast< int >(0x8541))); - SWIG_Python_SetConstant(d, "GL_DISCARD_NV",SWIG_From_int(static_cast< int >(0x8530))); - SWIG_Python_SetConstant(d, "GL_COMBINER_INPUT_NV",SWIG_From_int(static_cast< int >(0x8542))); - SWIG_Python_SetConstant(d, "GL_COMBINER_MAPPING_NV",SWIG_From_int(static_cast< int >(0x8543))); - SWIG_Python_SetConstant(d, "GL_COMBINER_COMPONENT_USAGE_NV",SWIG_From_int(static_cast< int >(0x8544))); - SWIG_Python_SetConstant(d, "GL_COMBINER_AB_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x8545))); - SWIG_Python_SetConstant(d, "GL_COMBINER_CD_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x8546))); - SWIG_Python_SetConstant(d, "GL_COMBINER_MUX_SUM_NV",SWIG_From_int(static_cast< int >(0x8547))); - SWIG_Python_SetConstant(d, "GL_COMBINER_SCALE_NV",SWIG_From_int(static_cast< int >(0x8548))); - SWIG_Python_SetConstant(d, "GL_COMBINER_BIAS_NV",SWIG_From_int(static_cast< int >(0x8549))); - SWIG_Python_SetConstant(d, "GL_COMBINER_AB_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854A))); - SWIG_Python_SetConstant(d, "GL_COMBINER_CD_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854B))); - SWIG_Python_SetConstant(d, "GL_COMBINER_SUM_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854C))); - SWIG_Python_SetConstant(d, "GL_MAX_GENERAL_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x854D))); - SWIG_Python_SetConstant(d, "GL_NUM_GENERAL_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x854E))); - SWIG_Python_SetConstant(d, "GL_COLOR_SUM_CLAMP_NV",SWIG_From_int(static_cast< int >(0x854F))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F6))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F7))); - SWIG_Python_SetConstant(d, "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV",SWIG_From_int(static_cast< int >(0x84F8))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F6))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F7))); - SWIG_Python_SetConstant(d, "GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x84F8))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x864C))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV",SWIG_From_int(static_cast< int >(0x864D))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x864E))); - SWIG_Python_SetConstant(d, "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV",SWIG_From_int(static_cast< int >(0x86D9))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INT_S8_S8_8_8_NV",SWIG_From_int(static_cast< int >(0x86DA))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV",SWIG_From_int(static_cast< int >(0x86DB))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_INTENSITY_NV",SWIG_From_int(static_cast< int >(0x86DC))); - SWIG_Python_SetConstant(d, "GL_SHADER_CONSISTENT_NV",SWIG_From_int(static_cast< int >(0x86DD))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_SHADER_NV",SWIG_From_int(static_cast< int >(0x86DE))); - SWIG_Python_SetConstant(d, "GL_SHADER_OPERATION_NV",SWIG_From_int(static_cast< int >(0x86DF))); - SWIG_Python_SetConstant(d, "GL_CULL_MODES_NV",SWIG_From_int(static_cast< int >(0x86E0))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_MATRIX_NV",SWIG_From_int(static_cast< int >(0x86E1))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_SCALE_NV",SWIG_From_int(static_cast< int >(0x86E2))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_BIAS_NV",SWIG_From_int(static_cast< int >(0x86E3))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_MATRIX_NV",SWIG_From_int(static_cast< int >(0x86E1))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_SCALE_NV",SWIG_From_int(static_cast< int >(0x86E2))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_BIAS_NV",SWIG_From_int(static_cast< int >(0x86E3))); - SWIG_Python_SetConstant(d, "GL_PREVIOUS_TEXTURE_INPUT_NV",SWIG_From_int(static_cast< int >(0x86E4))); - SWIG_Python_SetConstant(d, "GL_CONST_EYE_NV",SWIG_From_int(static_cast< int >(0x86E5))); - SWIG_Python_SetConstant(d, "GL_PASS_THROUGH_NV",SWIG_From_int(static_cast< int >(0x86E6))); - SWIG_Python_SetConstant(d, "GL_CULL_FRAGMENT_NV",SWIG_From_int(static_cast< int >(0x86E7))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86E8))); - SWIG_Python_SetConstant(d, "GL_DEPENDENT_AR_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86E9))); - SWIG_Python_SetConstant(d, "GL_DEPENDENT_GB_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86EA))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x86EC))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_DEPTH_REPLACE_NV",SWIG_From_int(static_cast< int >(0x86ED))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86EE))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F0))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F1))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F2))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F3))); - SWIG_Python_SetConstant(d, "GL_HILO_NV",SWIG_From_int(static_cast< int >(0x86F4))); - SWIG_Python_SetConstant(d, "GL_DSDT_NV",SWIG_From_int(static_cast< int >(0x86F5))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_NV",SWIG_From_int(static_cast< int >(0x86F6))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_VIB_NV",SWIG_From_int(static_cast< int >(0x86F7))); - SWIG_Python_SetConstant(d, "GL_HILO16_NV",SWIG_From_int(static_cast< int >(0x86F8))); - SWIG_Python_SetConstant(d, "GL_SIGNED_HILO_NV",SWIG_From_int(static_cast< int >(0x86F9))); - SWIG_Python_SetConstant(d, "GL_SIGNED_HILO16_NV",SWIG_From_int(static_cast< int >(0x86FA))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGBA_NV",SWIG_From_int(static_cast< int >(0x86FB))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGBA8_NV",SWIG_From_int(static_cast< int >(0x86FC))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB_NV",SWIG_From_int(static_cast< int >(0x86FE))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB8_NV",SWIG_From_int(static_cast< int >(0x86FF))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE_NV",SWIG_From_int(static_cast< int >(0x8701))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE8_NV",SWIG_From_int(static_cast< int >(0x8702))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE_ALPHA_NV",SWIG_From_int(static_cast< int >(0x8703))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE8_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x8704))); - SWIG_Python_SetConstant(d, "GL_SIGNED_ALPHA_NV",SWIG_From_int(static_cast< int >(0x8705))); - SWIG_Python_SetConstant(d, "GL_SIGNED_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x8706))); - SWIG_Python_SetConstant(d, "GL_SIGNED_INTENSITY_NV",SWIG_From_int(static_cast< int >(0x8707))); - SWIG_Python_SetConstant(d, "GL_SIGNED_INTENSITY8_NV",SWIG_From_int(static_cast< int >(0x8708))); - SWIG_Python_SetConstant(d, "GL_DSDT8_NV",SWIG_From_int(static_cast< int >(0x8709))); - SWIG_Python_SetConstant(d, "GL_DSDT8_MAG8_NV",SWIG_From_int(static_cast< int >(0x870A))); - SWIG_Python_SetConstant(d, "GL_DSDT8_MAG8_INTENSITY8_NV",SWIG_From_int(static_cast< int >(0x870B))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB_UNSIGNED_ALPHA_NV",SWIG_From_int(static_cast< int >(0x870C))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x870D))); - SWIG_Python_SetConstant(d, "GL_HI_SCALE_NV",SWIG_From_int(static_cast< int >(0x870E))); - SWIG_Python_SetConstant(d, "GL_LO_SCALE_NV",SWIG_From_int(static_cast< int >(0x870F))); - SWIG_Python_SetConstant(d, "GL_DS_SCALE_NV",SWIG_From_int(static_cast< int >(0x8710))); - SWIG_Python_SetConstant(d, "GL_DT_SCALE_NV",SWIG_From_int(static_cast< int >(0x8711))); - SWIG_Python_SetConstant(d, "GL_MAGNITUDE_SCALE_NV",SWIG_From_int(static_cast< int >(0x8712))); - SWIG_Python_SetConstant(d, "GL_VIBRANCE_SCALE_NV",SWIG_From_int(static_cast< int >(0x8713))); - SWIG_Python_SetConstant(d, "GL_HI_BIAS_NV",SWIG_From_int(static_cast< int >(0x8714))); - SWIG_Python_SetConstant(d, "GL_LO_BIAS_NV",SWIG_From_int(static_cast< int >(0x8715))); - SWIG_Python_SetConstant(d, "GL_DS_BIAS_NV",SWIG_From_int(static_cast< int >(0x8716))); - SWIG_Python_SetConstant(d, "GL_DT_BIAS_NV",SWIG_From_int(static_cast< int >(0x8717))); - SWIG_Python_SetConstant(d, "GL_MAGNITUDE_BIAS_NV",SWIG_From_int(static_cast< int >(0x8718))); - SWIG_Python_SetConstant(d, "GL_VIBRANCE_BIAS_NV",SWIG_From_int(static_cast< int >(0x8719))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BORDER_VALUES_NV",SWIG_From_int(static_cast< int >(0x871A))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_HI_SIZE_NV",SWIG_From_int(static_cast< int >(0x871B))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_LO_SIZE_NV",SWIG_From_int(static_cast< int >(0x871C))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DS_SIZE_NV",SWIG_From_int(static_cast< int >(0x871D))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DT_SIZE_NV",SWIG_From_int(static_cast< int >(0x871E))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_MAG_SIZE_NV",SWIG_From_int(static_cast< int >(0x871F))); - SWIG_Python_SetConstant(d, "GL_NORMAL_MAP",SWIG_From_int(static_cast< int >(0x8511))); - SWIG_Python_SetConstant(d, "GL_REFLECTION_MAP",SWIG_From_int(static_cast< int >(0x8512))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP",SWIG_From_int(static_cast< int >(0x8513))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_CUBE_MAP",SWIG_From_int(static_cast< int >(0x8514))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_X",SWIG_From_int(static_cast< int >(0x8515))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X",SWIG_From_int(static_cast< int >(0x8516))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y",SWIG_From_int(static_cast< int >(0x8517))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y",SWIG_From_int(static_cast< int >(0x8518))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z",SWIG_From_int(static_cast< int >(0x8519))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",SWIG_From_int(static_cast< int >(0x851A))); - SWIG_Python_SetConstant(d, "GL_MAX_CUBE_MAP_TEXTURE_SIZE",SWIG_From_int(static_cast< int >(0x851C))); - SWIG_Python_SetConstant(d, "GL_COMBINE",SWIG_From_int(static_cast< int >(0x8570))); - SWIG_Python_SetConstant(d, "GL_COMBINE_RGB",SWIG_From_int(static_cast< int >(0x8571))); - SWIG_Python_SetConstant(d, "GL_COMBINE_ALPHA",SWIG_From_int(static_cast< int >(0x8572))); - SWIG_Python_SetConstant(d, "GL_RGB_SCALE",SWIG_From_int(static_cast< int >(0x8573))); - SWIG_Python_SetConstant(d, "GL_ADD_SIGNED",SWIG_From_int(static_cast< int >(0x8574))); - SWIG_Python_SetConstant(d, "GL_INTERPOLATE",SWIG_From_int(static_cast< int >(0x8575))); - SWIG_Python_SetConstant(d, "GL_CONSTANT",SWIG_From_int(static_cast< int >(0x8576))); - SWIG_Python_SetConstant(d, "GL_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(0x8577))); - SWIG_Python_SetConstant(d, "GL_PREVIOUS",SWIG_From_int(static_cast< int >(0x8578))); - SWIG_Python_SetConstant(d, "GL_SOURCE0_RGB",SWIG_From_int(static_cast< int >(0x8580))); - SWIG_Python_SetConstant(d, "GL_SOURCE1_RGB",SWIG_From_int(static_cast< int >(0x8581))); - SWIG_Python_SetConstant(d, "GL_SOURCE2_RGB",SWIG_From_int(static_cast< int >(0x8582))); - SWIG_Python_SetConstant(d, "GL_SOURCE0_ALPHA",SWIG_From_int(static_cast< int >(0x8588))); - SWIG_Python_SetConstant(d, "GL_SOURCE1_ALPHA",SWIG_From_int(static_cast< int >(0x8589))); - SWIG_Python_SetConstant(d, "GL_SOURCE2_ALPHA",SWIG_From_int(static_cast< int >(0x858A))); - SWIG_Python_SetConstant(d, "GL_OPERAND0_RGB",SWIG_From_int(static_cast< int >(0x8590))); - SWIG_Python_SetConstant(d, "GL_OPERAND1_RGB",SWIG_From_int(static_cast< int >(0x8591))); - SWIG_Python_SetConstant(d, "GL_OPERAND2_RGB",SWIG_From_int(static_cast< int >(0x8592))); - SWIG_Python_SetConstant(d, "GL_OPERAND0_ALPHA",SWIG_From_int(static_cast< int >(0x8598))); - SWIG_Python_SetConstant(d, "GL_OPERAND1_ALPHA",SWIG_From_int(static_cast< int >(0x8599))); - SWIG_Python_SetConstant(d, "GL_OPERAND2_ALPHA",SWIG_From_int(static_cast< int >(0x859A))); - SWIG_Python_SetConstant(d, "GL_SUBTRACT",SWIG_From_int(static_cast< int >(0x84E7))); - SWIG_Python_SetConstant(d, "GL_DOT3_RGB",SWIG_From_int(static_cast< int >(0x86AE))); - SWIG_Python_SetConstant(d, "GL_DOT3_RGBA",SWIG_From_int(static_cast< int >(0x86AF))); - SWIG_Python_SetConstant(d, "GL_GENERATE_MIPMAP_SGIS",SWIG_From_int(static_cast< int >(0x8191))); - SWIG_Python_SetConstant(d, "GL_GENERATE_MIPMAP_HINT_SGIS",SWIG_From_int(static_cast< int >(0x8192))); - SWIG_Python_SetConstant(d, "GL_FRAGMENT_PROGRAM_ARB",SWIG_From_int(static_cast< int >(0x8804))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_FORMAT_ASCII_ARB",SWIG_From_int(static_cast< int >(0x8875))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_LENGTH_ARB",SWIG_From_int(static_cast< int >(0x8627))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_FORMAT_ARB",SWIG_From_int(static_cast< int >(0x8876))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_BINDING_ARB",SWIG_From_int(static_cast< int >(0x8677))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A0))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A1))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A2))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A3))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A4))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A5))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A6))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A7))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88A8))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88A9))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88AA))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88AB))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AC))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AD))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AE))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AF))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88B4))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88B5))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB",SWIG_From_int(static_cast< int >(0x88B6))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8805))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8806))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x8807))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8808))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8809))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x880A))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880B))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880C))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x880D))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880E))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880F))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x8810))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_STRING_ARB",SWIG_From_int(static_cast< int >(0x8628))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ERROR_POSITION_ARB",SWIG_From_int(static_cast< int >(0x864B))); - SWIG_Python_SetConstant(d, "GL_CURRENT_MATRIX_ARB",SWIG_From_int(static_cast< int >(0x8641))); - SWIG_Python_SetConstant(d, "GL_TRANSPOSE_CURRENT_MATRIX_ARB",SWIG_From_int(static_cast< int >(0x88B7))); - SWIG_Python_SetConstant(d, "GL_CURRENT_MATRIX_STACK_DEPTH_ARB",SWIG_From_int(static_cast< int >(0x8640))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_MATRICES_ARB",SWIG_From_int(static_cast< int >(0x862F))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB",SWIG_From_int(static_cast< int >(0x862E))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_COORDS_ARB",SWIG_From_int(static_cast< int >(0x8871))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB",SWIG_From_int(static_cast< int >(0x8872))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ERROR_STRING_ARB",SWIG_From_int(static_cast< int >(0x8874))); - SWIG_Python_SetConstant(d, "GL_MATRIX0_ARB",SWIG_From_int(static_cast< int >(0x88C0))); - SWIG_Python_SetConstant(d, "GL_MATRIX1_ARB",SWIG_From_int(static_cast< int >(0x88C1))); - SWIG_Python_SetConstant(d, "GL_MATRIX2_ARB",SWIG_From_int(static_cast< int >(0x88C2))); - SWIG_Python_SetConstant(d, "GL_MATRIX3_ARB",SWIG_From_int(static_cast< int >(0x88C3))); - SWIG_Python_SetConstant(d, "GL_MATRIX4_ARB",SWIG_From_int(static_cast< int >(0x88C4))); - SWIG_Python_SetConstant(d, "GL_MATRIX5_ARB",SWIG_From_int(static_cast< int >(0x88C5))); - SWIG_Python_SetConstant(d, "GL_MATRIX6_ARB",SWIG_From_int(static_cast< int >(0x88C6))); - SWIG_Python_SetConstant(d, "GL_MATRIX7_ARB",SWIG_From_int(static_cast< int >(0x88C7))); - SWIG_Python_SetConstant(d, "GL_MATRIX8_ARB",SWIG_From_int(static_cast< int >(0x88C8))); - SWIG_Python_SetConstant(d, "GL_MATRIX9_ARB",SWIG_From_int(static_cast< int >(0x88C9))); - SWIG_Python_SetConstant(d, "GL_MATRIX10_ARB",SWIG_From_int(static_cast< int >(0x88CA))); - SWIG_Python_SetConstant(d, "GL_MATRIX11_ARB",SWIG_From_int(static_cast< int >(0x88CB))); - SWIG_Python_SetConstant(d, "GL_MATRIX12_ARB",SWIG_From_int(static_cast< int >(0x88CC))); - SWIG_Python_SetConstant(d, "GL_MATRIX13_ARB",SWIG_From_int(static_cast< int >(0x88CD))); - SWIG_Python_SetConstant(d, "GL_MATRIX14_ARB",SWIG_From_int(static_cast< int >(0x88CE))); - SWIG_Python_SetConstant(d, "GL_MATRIX15_ARB",SWIG_From_int(static_cast< int >(0x88CF))); - SWIG_Python_SetConstant(d, "GL_MATRIX16_ARB",SWIG_From_int(static_cast< int >(0x88D0))); - SWIG_Python_SetConstant(d, "GL_MATRIX17_ARB",SWIG_From_int(static_cast< int >(0x88D1))); - SWIG_Python_SetConstant(d, "GL_MATRIX18_ARB",SWIG_From_int(static_cast< int >(0x88D2))); - SWIG_Python_SetConstant(d, "GL_MATRIX19_ARB",SWIG_From_int(static_cast< int >(0x88D3))); - SWIG_Python_SetConstant(d, "GL_MATRIX20_ARB",SWIG_From_int(static_cast< int >(0x88D4))); - SWIG_Python_SetConstant(d, "GL_MATRIX21_ARB",SWIG_From_int(static_cast< int >(0x88D5))); - SWIG_Python_SetConstant(d, "GL_MATRIX22_ARB",SWIG_From_int(static_cast< int >(0x88D6))); - SWIG_Python_SetConstant(d, "GL_MATRIX23_ARB",SWIG_From_int(static_cast< int >(0x88D7))); - SWIG_Python_SetConstant(d, "GL_MATRIX24_ARB",SWIG_From_int(static_cast< int >(0x88D8))); - SWIG_Python_SetConstant(d, "GL_MATRIX25_ARB",SWIG_From_int(static_cast< int >(0x88D9))); - SWIG_Python_SetConstant(d, "GL_MATRIX26_ARB",SWIG_From_int(static_cast< int >(0x88DA))); - SWIG_Python_SetConstant(d, "GL_MATRIX27_ARB",SWIG_From_int(static_cast< int >(0x88DB))); - SWIG_Python_SetConstant(d, "GL_MATRIX28_ARB",SWIG_From_int(static_cast< int >(0x88DC))); - SWIG_Python_SetConstant(d, "GL_MATRIX29_ARB",SWIG_From_int(static_cast< int >(0x88DD))); - SWIG_Python_SetConstant(d, "GL_MATRIX30_ARB",SWIG_From_int(static_cast< int >(0x88DE))); - SWIG_Python_SetConstant(d, "GL_MATRIX31_ARB",SWIG_From_int(static_cast< int >(0x88DF))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_ARB",SWIG_From_int(static_cast< int >(0x8620))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_POINT_SIZE_ARB",SWIG_From_int(static_cast< int >(0x8642))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_TWO_SIDE_ARB",SWIG_From_int(static_cast< int >(0x8643))); - SWIG_Python_SetConstant(d, "GL_COLOR_SUM_ARB",SWIG_From_int(static_cast< int >(0x8458))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB",SWIG_From_int(static_cast< int >(0x8622))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB",SWIG_From_int(static_cast< int >(0x8623))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB",SWIG_From_int(static_cast< int >(0x8624))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB",SWIG_From_int(static_cast< int >(0x8625))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB",SWIG_From_int(static_cast< int >(0x886A))); - SWIG_Python_SetConstant(d, "GL_CURRENT_VERTEX_ATTRIB_ARB",SWIG_From_int(static_cast< int >(0x8626))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB",SWIG_From_int(static_cast< int >(0x8645))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B0))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B1))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B2))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B3))); - SWIG_Python_SetConstant(d, "GL_MAX_VERTEX_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x8869))); - SWIG_Python_SetConstant(d, "GL_VERTEX_SHADER_ARB",SWIG_From_int(static_cast< int >(0x8B31))); - SWIG_Python_SetConstant(d, "GL_FRAGMENT_SHADER_ARB",SWIG_From_int(static_cast< int >(0x8B30))); - SWIG_Python_SetConstant(d, "GL_OBJECT_ACTIVE_UNIFORMS_ARB",SWIG_From_int(static_cast< int >(0x8B86))); - SWIG_Python_SetConstant(d, "GL_GEOMETRY_SHADER_EXT",SWIG_From_int(static_cast< int >(0x8DD9))); - SWIG_Python_SetConstant(d, "GL_GEOMETRY_VERTICES_OUT_EXT",SWIG_From_int(static_cast< int >(0x8DDA))); - SWIG_Python_SetConstant(d, "GL_GEOMETRY_INPUT_TYPE_EXT",SWIG_From_int(static_cast< int >(0x8DDB))); - SWIG_Python_SetConstant(d, "GL_GEOMETRY_OUTPUT_TYPE_EXT",SWIG_From_int(static_cast< int >(0x8DDC))); - SWIG_Python_SetConstant(d, "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT",SWIG_From_int(static_cast< int >(0x8DE0))); - SWIG_Python_SetConstant(d, "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT",SWIG_From_int(static_cast< int >(0x8DE1))); - SWIG_Python_SetConstant(d, "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT",SWIG_From_int(static_cast< int >(0x8C29))); - SWIG_Python_SetConstant(d, "GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT",SWIG_From_int(static_cast< int >(0x8DDD))); - SWIG_Python_SetConstant(d, "GL_MAX_VERTEX_VARYING_COMPONENTS_EXT",SWIG_From_int(static_cast< int >(0x8DDE))); - SWIG_Python_SetConstant(d, "GL_MAX_VARYING_COMPONENTS_EXT",SWIG_From_int(static_cast< int >(0x8B4B))); - SWIG_Python_SetConstant(d, "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT",SWIG_From_int(static_cast< int >(0x8DDF))); - SWIG_Python_SetConstant(d, "GL_INT_VEC2_ARB",SWIG_From_int(static_cast< int >(0x8B53))); - SWIG_Python_SetConstant(d, "GL_INT_VEC3_ARB",SWIG_From_int(static_cast< int >(0x8B54))); - SWIG_Python_SetConstant(d, "GL_INT_VEC4_ARB",SWIG_From_int(static_cast< int >(0x8B55))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC2_ARB",SWIG_From_int(static_cast< int >(0x8B50))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC3_ARB",SWIG_From_int(static_cast< int >(0x8B51))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC4_ARB",SWIG_From_int(static_cast< int >(0x8B52))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT2_ARB",SWIG_From_int(static_cast< int >(0x8B5A))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT3_ARB",SWIG_From_int(static_cast< int >(0x8B5B))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT4_ARB",SWIG_From_int(static_cast< int >(0x8B5C))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_1D_ARB",SWIG_From_int(static_cast< int >(0x8B5D))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_ARB",SWIG_From_int(static_cast< int >(0x8B5E))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_3D_ARB",SWIG_From_int(static_cast< int >(0x8B5F))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_CUBE_ARB",SWIG_From_int(static_cast< int >(0x8B60))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_1D_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B61))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B62))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_RECT_ARB",SWIG_From_int(static_cast< int >(0x8B63))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_RECT_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B64))); - SWIG_Python_SetConstant(d, "GL_OBJECT_COMPILE_STATUS_ARB",SWIG_From_int(static_cast< int >(0x8B81))); - SWIG_Python_SetConstant(d, "GL_OBJECT_INFO_LOG_LENGTH_ARB",SWIG_From_int(static_cast< int >(0x8B84))); - SWIG_Python_SetConstant(d, "GL_OBJECT_LINK_STATUS_ARB",SWIG_From_int(static_cast< int >(0x8B82))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_MAX_ANISOTROPY_EXT",SWIG_From_int(static_cast< int >(0x84FE))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT",SWIG_From_int(static_cast< int >(0x84FF))); - SWIG_Python_SetConstant(d, "GL_SAMPLES_PASSED",SWIG_From_int(static_cast< int >(0x8914))); - SWIG_Python_SetConstant(d, "GL_QUERY_COUNTER_BITS",SWIG_From_int(static_cast< int >(0x8864))); - SWIG_Python_SetConstant(d, "GL_CURRENT_QUERY",SWIG_From_int(static_cast< int >(0x8865))); - SWIG_Python_SetConstant(d, "GL_QUERY_RESULT",SWIG_From_int(static_cast< int >(0x8866))); - SWIG_Python_SetConstant(d, "GL_QUERY_RESULT_AVAILABLE",SWIG_From_int(static_cast< int >(0x8867))); - SWIG_Python_SetConstant(d, "GL_CLIENT_PIXEL_STORE_BIT",SWIG_From_int(static_cast< int >(0x00000001))); - SWIG_Python_SetConstant(d, "GL_CLIENT_VERTEX_ARRAY_BIT",SWIG_From_int(static_cast< int >(0x00000002))); - SWIG_Python_SetConstant(d, "GL_CLIENT_ALL_ATTRIB_BITS",SWIG_From_int(static_cast< int >(0xFFFFFFFF))); - SWIG_Python_SetConstant(d, "GL_ALL_CLIENT_ATTRIB_BITS",SWIG_From_int(static_cast< int >(0xFFFFFFFF))); - SWIG_Python_SetConstant(d, "GL_INVALID_FRAMEBUFFER_OPERATION_EXT",SWIG_From_int(static_cast< int >(0x0506))); - SWIG_Python_SetConstant(d, "GL_MAX_RENDERBUFFER_SIZE_EXT",SWIG_From_int(static_cast< int >(0x84E8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_BINDING_EXT",SWIG_From_int(static_cast< int >(0x8CA6))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BINDING_EXT",SWIG_From_int(static_cast< int >(0x8CA7))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT",SWIG_From_int(static_cast< int >(0x8CD0))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT",SWIG_From_int(static_cast< int >(0x8CD1))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT",SWIG_From_int(static_cast< int >(0x8CD2))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT",SWIG_From_int(static_cast< int >(0x8CD3))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT",SWIG_From_int(static_cast< int >(0x8CD4))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_COMPLETE_EXT",SWIG_From_int(static_cast< int >(0x8CD5))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD6))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD7))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT",SWIG_From_int(static_cast< int >(0x8CD9))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT",SWIG_From_int(static_cast< int >(0x8CDA))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT",SWIG_From_int(static_cast< int >(0x8CDB))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT",SWIG_From_int(static_cast< int >(0x8CDC))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_UNSUPPORTED_EXT",SWIG_From_int(static_cast< int >(0x8CDD))); - SWIG_Python_SetConstant(d, "GL_MAX_COLOR_ATTACHMENTS_EXT",SWIG_From_int(static_cast< int >(0x8CDF))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT0_EXT",SWIG_From_int(static_cast< int >(0x8CE0))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT1_EXT",SWIG_From_int(static_cast< int >(0x8CE1))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT2_EXT",SWIG_From_int(static_cast< int >(0x8CE2))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT3_EXT",SWIG_From_int(static_cast< int >(0x8CE3))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT4_EXT",SWIG_From_int(static_cast< int >(0x8CE4))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT5_EXT",SWIG_From_int(static_cast< int >(0x8CE5))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT6_EXT",SWIG_From_int(static_cast< int >(0x8CE6))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT7_EXT",SWIG_From_int(static_cast< int >(0x8CE7))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT8_EXT",SWIG_From_int(static_cast< int >(0x8CE8))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT9_EXT",SWIG_From_int(static_cast< int >(0x8CE9))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT10_EXT",SWIG_From_int(static_cast< int >(0x8CEA))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT11_EXT",SWIG_From_int(static_cast< int >(0x8CEB))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT12_EXT",SWIG_From_int(static_cast< int >(0x8CEC))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT13_EXT",SWIG_From_int(static_cast< int >(0x8CED))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT14_EXT",SWIG_From_int(static_cast< int >(0x8CEE))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT15_EXT",SWIG_From_int(static_cast< int >(0x8CEF))); - SWIG_Python_SetConstant(d, "GL_DEPTH_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8D00))); - SWIG_Python_SetConstant(d, "GL_STENCIL_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8D20))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_EXT",SWIG_From_int(static_cast< int >(0x8D40))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_EXT",SWIG_From_int(static_cast< int >(0x8D41))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_WIDTH_EXT",SWIG_From_int(static_cast< int >(0x8D42))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_HEIGHT_EXT",SWIG_From_int(static_cast< int >(0x8D43))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT",SWIG_From_int(static_cast< int >(0x8D44))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX1_EXT",SWIG_From_int(static_cast< int >(0x8D46))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX4_EXT",SWIG_From_int(static_cast< int >(0x8D47))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX8_EXT",SWIG_From_int(static_cast< int >(0x8D48))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX16_EXT",SWIG_From_int(static_cast< int >(0x8D49))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_RED_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D50))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_GREEN_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D51))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BLUE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D52))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_ALPHA_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D53))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_DEPTH_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D54))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_STENCIL_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D55))); - SWIG_Python_SetConstant(d, "GL_INVALID_FRAMEBUFFER_OPERATION",SWIG_From_int(static_cast< int >(0x0506))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING",SWIG_From_int(static_cast< int >(0x8210))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE",SWIG_From_int(static_cast< int >(0x8211))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE",SWIG_From_int(static_cast< int >(0x8212))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE",SWIG_From_int(static_cast< int >(0x8213))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE",SWIG_From_int(static_cast< int >(0x8214))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE",SWIG_From_int(static_cast< int >(0x8215))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE",SWIG_From_int(static_cast< int >(0x8216))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE",SWIG_From_int(static_cast< int >(0x8217))); - SWIG_Python_SetConstant(d, "GL_DEPTH_STENCIL",SWIG_From_int(static_cast< int >(0x84F9))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INT_24_",SWIG_From_int(static_cast< int >(0x84FA))); - SWIG_Python_SetConstant(d, "GL_DEPTH24_STENCIL8",SWIG_From_int(static_cast< int >(0x88F0))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_STENCIL_SIZE",SWIG_From_int(static_cast< int >(0x88F1))); - SWIG_Python_SetConstant(d, "GL_SRGB",SWIG_From_int(static_cast< int >(0x8C40))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_NORMALIZED",SWIG_From_int(static_cast< int >(0x8C17))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_DEFAULT",SWIG_From_int(static_cast< int >(0x8218))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_UNDEFINED",SWIG_From_int(static_cast< int >(0x8219))); - SWIG_Python_SetConstant(d, "GL_DEPTH_STENCIL_ATTACHMENT",SWIG_From_int(static_cast< int >(0x821A))); - SWIG_Python_SetConstant(d, "GL_INDEX",SWIG_From_int(static_cast< int >(0x8222))); - SWIG_Python_SetConstant(d, "GL_MAX_RENDERBUFFER_SIZE",SWIG_From_int(static_cast< int >(0x84E8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_BINDING",SWIG_From_int(static_cast< int >(0x8CA6))); - SWIG_Python_SetConstant(d, "GL_DRAW_FRAMEBUFFER_BINDING",SWIG_From_int(static_cast< int >(0x8CA6))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BINDING",SWIG_From_int(static_cast< int >(0x8CA7))); - SWIG_Python_SetConstant(d, "GL_READ_FRAMEBUFFER",SWIG_From_int(static_cast< int >(0x8CA8))); - SWIG_Python_SetConstant(d, "GL_DRAW_FRAMEBUFFER",SWIG_From_int(static_cast< int >(0x8CA9))); - SWIG_Python_SetConstant(d, "GL_READ_FRAMEBUFFER_BINDING",SWIG_From_int(static_cast< int >(0x8CAA))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_SAMPLES",SWIG_From_int(static_cast< int >(0x8CAB))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",SWIG_From_int(static_cast< int >(0x8CD0))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",SWIG_From_int(static_cast< int >(0x8CD1))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",SWIG_From_int(static_cast< int >(0x8CD2))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",SWIG_From_int(static_cast< int >(0x8CD3))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER",SWIG_From_int(static_cast< int >(0x8CD4))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET",SWIG_From_int(static_cast< int >(0x8CD4))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_COMPLETE",SWIG_From_int(static_cast< int >(0x8CD5))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT",SWIG_From_int(static_cast< int >(0x8CD6))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",SWIG_From_int(static_cast< int >(0x8CD7))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT",SWIG_From_int(static_cast< int >(0x8CD8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER",SWIG_From_int(static_cast< int >(0x8CDB))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER",SWIG_From_int(static_cast< int >(0x8CDC))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_UNSUPPORTED",SWIG_From_int(static_cast< int >(0x8CDD))); - SWIG_Python_SetConstant(d, "GL_MAX_COLOR_ATTACHMENTS",SWIG_From_int(static_cast< int >(0x8CDF))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT0",SWIG_From_int(static_cast< int >(0x8CE0))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT1",SWIG_From_int(static_cast< int >(0x8CE1))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT2",SWIG_From_int(static_cast< int >(0x8CE2))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT3",SWIG_From_int(static_cast< int >(0x8CE3))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT4",SWIG_From_int(static_cast< int >(0x8CE4))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT5",SWIG_From_int(static_cast< int >(0x8CE5))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT6",SWIG_From_int(static_cast< int >(0x8CE6))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT7",SWIG_From_int(static_cast< int >(0x8CE7))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT8",SWIG_From_int(static_cast< int >(0x8CE8))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT9",SWIG_From_int(static_cast< int >(0x8CE9))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT10",SWIG_From_int(static_cast< int >(0x8CEA))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT11",SWIG_From_int(static_cast< int >(0x8CEB))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT12",SWIG_From_int(static_cast< int >(0x8CEC))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT13",SWIG_From_int(static_cast< int >(0x8CED))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT14",SWIG_From_int(static_cast< int >(0x8CEE))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT15",SWIG_From_int(static_cast< int >(0x8CEF))); - SWIG_Python_SetConstant(d, "GL_DEPTH_ATTACHMENT",SWIG_From_int(static_cast< int >(0x8D00))); - SWIG_Python_SetConstant(d, "GL_STENCIL_ATTACHMENT",SWIG_From_int(static_cast< int >(0x8D20))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER",SWIG_From_int(static_cast< int >(0x8D40))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER",SWIG_From_int(static_cast< int >(0x8D41))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_WIDTH",SWIG_From_int(static_cast< int >(0x8D42))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_HEIGHT",SWIG_From_int(static_cast< int >(0x8D43))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_INTERNAL_FORMAT",SWIG_From_int(static_cast< int >(0x8D44))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX1",SWIG_From_int(static_cast< int >(0x8D46))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX4",SWIG_From_int(static_cast< int >(0x8D47))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX8",SWIG_From_int(static_cast< int >(0x8D48))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX16",SWIG_From_int(static_cast< int >(0x8D49))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_RED_SIZE",SWIG_From_int(static_cast< int >(0x8D50))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_GREEN_SIZE",SWIG_From_int(static_cast< int >(0x8D51))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BLUE_SIZE",SWIG_From_int(static_cast< int >(0x8D52))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_ALPHA_SIZE",SWIG_From_int(static_cast< int >(0x8D53))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_DEPTH_SIZE",SWIG_From_int(static_cast< int >(0x8D54))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_STENCIL_SIZE",SWIG_From_int(static_cast< int >(0x8D55))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE",SWIG_From_int(static_cast< int >(0x8D56))); - SWIG_Python_SetConstant(d, "GL_MAX_SAMPLES",SWIG_From_int(static_cast< int >(0x8D57))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_WIDTH",SWIG_From_int(static_cast< int >(0x8041))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_HEIGHT",SWIG_From_int(static_cast< int >(0x8040))); - SWIG_Python_SetConstant(d, "GLX_DRAWABLE_TYPE",SWIG_From_int(static_cast< int >(0x8010))); - SWIG_Python_SetConstant(d, "GLX_RENDER_TYPE",SWIG_From_int(static_cast< int >(0x8011))); - SWIG_Python_SetConstant(d, "GLX_RGBA_TYPE",SWIG_From_int(static_cast< int >(0x8014))); - SWIG_Python_SetConstant(d, "GLX_RGBA_BIT",SWIG_From_int(static_cast< int >(0x00000001))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_BIT",SWIG_From_int(static_cast< int >(0x00000004))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_WIDTH",SWIG_From_int(static_cast< int >(0x8016))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_HEIGHT",SWIG_From_int(static_cast< int >(0x8017))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_PIXELS",SWIG_From_int(static_cast< int >(0x8018))); - SWIG_Python_SetConstant(d, "GLU_VERSION",SWIG_From_int(static_cast< int >(100800))); - SWIG_Python_SetConstant(d, "GLU_EXTENSIONS",SWIG_From_int(static_cast< int >(100801))); - SWIG_Python_SetConstant(d, "GLU_OUTLINE_POLYGON",SWIG_From_int(static_cast< int >(100240))); - SWIG_Python_SetConstant(d, "GLU_OUTLINE_PATCH",SWIG_From_int(static_cast< int >(100241))); - SWIG_Python_SetConstant(d, "GLU_NURBS_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_NURBS_BEGIN",SWIG_From_int(static_cast< int >(100164))); - SWIG_Python_SetConstant(d, "GLU_NURBS_VERTEX",SWIG_From_int(static_cast< int >(100165))); - SWIG_Python_SetConstant(d, "GLU_NURBS_NORMAL",SWIG_From_int(static_cast< int >(100166))); - SWIG_Python_SetConstant(d, "GLU_NURBS_COLOR",SWIG_From_int(static_cast< int >(100167))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TEXTURE_COORD",SWIG_From_int(static_cast< int >(100168))); - SWIG_Python_SetConstant(d, "GLU_NURBS_END",SWIG_From_int(static_cast< int >(100169))); - SWIG_Python_SetConstant(d, "GLU_NURBS_BEGIN_DATA",SWIG_From_int(static_cast< int >(100170))); - SWIG_Python_SetConstant(d, "GLU_NURBS_VERTEX_DATA",SWIG_From_int(static_cast< int >(100171))); - SWIG_Python_SetConstant(d, "GLU_NURBS_NORMAL_DATA",SWIG_From_int(static_cast< int >(100172))); - SWIG_Python_SetConstant(d, "GLU_NURBS_COLOR_DATA",SWIG_From_int(static_cast< int >(100173))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TEXTURE_COORD_DATA",SWIG_From_int(static_cast< int >(100174))); - SWIG_Python_SetConstant(d, "GLU_NURBS_END_DATA",SWIG_From_int(static_cast< int >(100175))); - SWIG_Python_SetConstant(d, "GLU_AUTO_LOAD_MATRIX",SWIG_From_int(static_cast< int >(100200))); - SWIG_Python_SetConstant(d, "GLU_CULLING",SWIG_From_int(static_cast< int >(100201))); - SWIG_Python_SetConstant(d, "GLU_SAMPLING_TOLERANCE",SWIG_From_int(static_cast< int >(100203))); - SWIG_Python_SetConstant(d, "GLU_DISPLAY_MODE",SWIG_From_int(static_cast< int >(100204))); - SWIG_Python_SetConstant(d, "GLU_PARAMETRIC_TOLERANCE",SWIG_From_int(static_cast< int >(100202))); - SWIG_Python_SetConstant(d, "GLU_SAMPLING_METHOD",SWIG_From_int(static_cast< int >(100205))); - SWIG_Python_SetConstant(d, "GLU_U_STEP",SWIG_From_int(static_cast< int >(100206))); - SWIG_Python_SetConstant(d, "GLU_V_STEP",SWIG_From_int(static_cast< int >(100207))); - SWIG_Python_SetConstant(d, "GLU_NURBS_MODE",SWIG_From_int(static_cast< int >(100160))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TESSELLATOR",SWIG_From_int(static_cast< int >(100161))); - SWIG_Python_SetConstant(d, "GLU_NURBS_RENDERER",SWIG_From_int(static_cast< int >(100162))); - SWIG_Python_SetConstant(d, "GLU_OBJECT_PARAMETRIC_ERROR",SWIG_From_int(static_cast< int >(100208))); - SWIG_Python_SetConstant(d, "GLU_OBJECT_PATH_LENGTH",SWIG_From_int(static_cast< int >(100209))); - SWIG_Python_SetConstant(d, "GLU_PATH_LENGTH",SWIG_From_int(static_cast< int >(100215))); - SWIG_Python_SetConstant(d, "GLU_PARAMETRIC_ERROR",SWIG_From_int(static_cast< int >(100216))); - SWIG_Python_SetConstant(d, "GLU_DOMAIN_DISTANCE",SWIG_From_int(static_cast< int >(100217))); - SWIG_Python_SetConstant(d, "GLU_MAP1_TRIM_2",SWIG_From_int(static_cast< int >(100210))); - SWIG_Python_SetConstant(d, "GLU_MAP1_TRIM_3",SWIG_From_int(static_cast< int >(100211))); - SWIG_Python_SetConstant(d, "GLU_POINT",SWIG_From_int(static_cast< int >(100010))); - SWIG_Python_SetConstant(d, "GLU_LINE",SWIG_From_int(static_cast< int >(100011))); - SWIG_Python_SetConstant(d, "GLU_FILL",SWIG_From_int(static_cast< int >(100012))); - SWIG_Python_SetConstant(d, "GLU_SILHOUETTE",SWIG_From_int(static_cast< int >(100013))); - SWIG_Python_SetConstant(d, "GLU_TESS_BEGIN",SWIG_From_int(static_cast< int >(100100))); - SWIG_Python_SetConstant(d, "GLU_TESS_VERTEX",SWIG_From_int(static_cast< int >(100101))); - SWIG_Python_SetConstant(d, "GLU_TESS_END",SWIG_From_int(static_cast< int >(100102))); - SWIG_Python_SetConstant(d, "GLU_TESS_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_TESS_COMBINE",SWIG_From_int(static_cast< int >(100105))); - SWIG_Python_SetConstant(d, "GLU_TESS_BEGIN_DATA",SWIG_From_int(static_cast< int >(100106))); - SWIG_Python_SetConstant(d, "GLU_TESS_VERTEX_DATA",SWIG_From_int(static_cast< int >(100107))); - SWIG_Python_SetConstant(d, "GLU_TESS_END_DATA",SWIG_From_int(static_cast< int >(100108))); - SWIG_Python_SetConstant(d, "GLU_TESS_ERROR_DATA",SWIG_From_int(static_cast< int >(100109))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_BEGIN_POLYGON",SWIG_From_int(static_cast< int >(100151))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_BEGIN_CONTOUR",SWIG_From_int(static_cast< int >(100152))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_END_POLYGON",SWIG_From_int(static_cast< int >(100153))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_END_CONTOUR",SWIG_From_int(static_cast< int >(100154))); - SWIG_Python_SetConstant(d, "GLU_TESS_NEED_COMBINE_CALLBACK",SWIG_From_int(static_cast< int >(100156))); - SWIG_Python_SetConstant(d, "WGL_COLOR_BITS_ARB",SWIG_From_int(static_cast< int >(0x2014))); - SWIG_Python_SetConstant(d, "WGL_ALPHA_BITS_ARB",SWIG_From_int(static_cast< int >(0x201B))); - SWIG_Python_SetConstant(d, "WGL_DEPTH_BITS_ARB",SWIG_From_int(static_cast< int >(0x2022))); - SWIG_Python_SetConstant(d, "WGL_STENCIL_BITS_ARB",SWIG_From_int(static_cast< int >(0x2023))); - SWIG_Python_SetConstant(d, "WGL_DRAW_TO_PBUFFER_ARB",SWIG_From_int(static_cast< int >(0x202D))); - SWIG_Python_SetConstant(d, "WGL_PBUFFER_WIDTH_ARB",SWIG_From_int(static_cast< int >(0x2034))); - SWIG_Python_SetConstant(d, "WGL_PBUFFER_HEIGHT_ARB",SWIG_From_int(static_cast< int >(0x2035))); - SWIG_Python_SetConstant(d, "WGL_BIND_TO_TEXTURE_RGB_ARB",SWIG_From_int(static_cast< int >(0x2070))); - SWIG_Python_SetConstant(d, "WGL_BIND_TO_TEXTURE_RGBA_ARB",SWIG_From_int(static_cast< int >(0x2071))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_FORMAT_ARB",SWIG_From_int(static_cast< int >(0x2072))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_TARGET_ARB",SWIG_From_int(static_cast< int >(0x2073))); - SWIG_Python_SetConstant(d, "WGL_MIPMAP_TEXTURE_ARB",SWIG_From_int(static_cast< int >(0x2074))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_RGB_ARB",SWIG_From_int(static_cast< int >(0x2075))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_RGBA_ARB",SWIG_From_int(static_cast< int >(0x2076))); - SWIG_Python_SetConstant(d, "WGL_NO_TEXTURE_ARB",SWIG_From_int(static_cast< int >(0x2077))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_CUBE_MAP_ARB",SWIG_From_int(static_cast< int >(0x2078))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_1D_ARB",SWIG_From_int(static_cast< int >(0x2079))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_2D_ARB",SWIG_From_int(static_cast< int >(0x207A))); - SWIG_Python_SetConstant(d, "WGL_MIPMAP_LEVEL_ARB",SWIG_From_int(static_cast< int >(0x207B))); - SWIG_Python_SetConstant(d, "WGL_FRONT_LEFT_ARB",SWIG_From_int(static_cast< int >(0x2083))); - SWIG_Python_SetConstant(d, "WGL_FRONT_RIGHT_ARB",SWIG_From_int(static_cast< int >(0x2084))); - SWIG_Python_SetConstant(d, "WGL_BACK_LEFT_ARB",SWIG_From_int(static_cast< int >(0x2085))); - SWIG_Python_SetConstant(d, "WGL_BACK_RIGHT_ARB",SWIG_From_int(static_cast< int >(0x2086))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_PIXELS_ARB",SWIG_From_int(static_cast< int >(0x202E))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_WIDTH_ARB",SWIG_From_int(static_cast< int >(0x202F))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_HEIGHT_ARB",SWIG_From_int(static_cast< int >(0x2030))); - SWIG_Python_SetConstant(d, "SbRWMutex_READ_PRECEDENCE",SWIG_From_int(static_cast< int >(SbRWMutex::READ_PRECEDENCE))); - SWIG_Python_SetConstant(d, "SbRWMutex_WRITE_PRECEDENCE",SWIG_From_int(static_cast< int >(SbRWMutex::WRITE_PRECEDENCE))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_OFF",SWIG_From_int(static_cast< int >(SoVRMLGroup::OFF))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_ON",SWIG_From_int(static_cast< int >(SoVRMLGroup::ON))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_AUTO",SWIG_From_int(static_cast< int >(SoVRMLGroup::AUTO))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_SERIF",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::SERIF))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_SANS",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::SANS))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_TYPEWRITER",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::TYPEWRITER))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_PLAIN",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::PLAIN))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_BOLD",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::BOLD))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_ITALIC",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::ITALIC))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_BOLDITALIC",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::BOLDITALIC))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_OVERALL",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::OVERALL))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_PART",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_PART))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_FACE",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_FACE))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLInline_NEVER",SWIG_From_int(static_cast< int >(SoVRMLInline::NEVER))); - SWIG_Python_SetConstant(d, "SoVRMLInline_UNTIL_LOADED",SWIG_From_int(static_cast< int >(SoVRMLInline::UNTIL_LOADED))); - SWIG_Python_SetConstant(d, "SoVRMLInline_ALWAYS",SWIG_From_int(static_cast< int >(SoVRMLInline::ALWAYS))); - SWIG_Python_SetConstant(d, "SoVRMLShape_OFF",SWIG_From_int(static_cast< int >(SoVRMLShape::OFF))); - SWIG_Python_SetConstant(d, "SoVRMLShape_ON",SWIG_From_int(static_cast< int >(SoVRMLShape::ON))); - SWIG_Python_SetConstant(d, "SoVRMLShape_AUTO",SWIG_From_int(static_cast< int >(SoVRMLShape::AUTO))); - SWIG_Python_SetConstant(d, "SoVRMLText_BEGIN",SWIG_From_int(static_cast< int >(SoVRMLText::BEGIN))); - SWIG_Python_SetConstant(d, "SoVRMLText_END",SWIG_From_int(static_cast< int >(SoVRMLText::END))); - SWIG_Python_SetConstant(d, "SoVRMLText_MIDDLE",SWIG_From_int(static_cast< int >(SoVRMLText::MIDDLE))); - SWIG_Python_SetConstant(d, "SoEventManager_NO_NAVIGATION",SWIG_From_int(static_cast< int >(SoEventManager::NO_NAVIGATION))); - SWIG_Python_SetConstant(d, "SoEventManager_JUST_NAVIGATION",SWIG_From_int(static_cast< int >(SoEventManager::JUST_NAVIGATION))); - SWIG_Python_SetConstant(d, "SoEventManager_MIXED_NAVIGATION",SWIG_From_int(static_cast< int >(SoEventManager::MIXED_NAVIGATION))); - SWIG_Python_SetConstant(d, "SoRenderManager_AS_IS",SWIG_From_int(static_cast< int >(SoRenderManager::AS_IS))); - SWIG_Python_SetConstant(d, "SoRenderManager_WIREFRAME",SWIG_From_int(static_cast< int >(SoRenderManager::WIREFRAME))); - SWIG_Python_SetConstant(d, "SoRenderManager_POINTS",SWIG_From_int(static_cast< int >(SoRenderManager::POINTS))); - SWIG_Python_SetConstant(d, "SoRenderManager_WIREFRAME_OVERLAY",SWIG_From_int(static_cast< int >(SoRenderManager::WIREFRAME_OVERLAY))); - SWIG_Python_SetConstant(d, "SoRenderManager_HIDDEN_LINE",SWIG_From_int(static_cast< int >(SoRenderManager::HIDDEN_LINE))); - SWIG_Python_SetConstant(d, "SoRenderManager_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoRenderManager::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoRenderManager_MONO",SWIG_From_int(static_cast< int >(SoRenderManager::MONO))); - SWIG_Python_SetConstant(d, "SoRenderManager_ANAGLYPH",SWIG_From_int(static_cast< int >(SoRenderManager::ANAGLYPH))); - SWIG_Python_SetConstant(d, "SoRenderManager_SEPARATE_OUTPUT",SWIG_From_int(static_cast< int >(SoRenderManager::SEPARATE_OUTPUT))); - SWIG_Python_SetConstant(d, "SoRenderManager_QUAD_BUFFER",SWIG_From_int(static_cast< int >(SoRenderManager::QUAD_BUFFER))); - SWIG_Python_SetConstant(d, "SoRenderManager_INTERLEAVED_ROWS",SWIG_From_int(static_cast< int >(SoRenderManager::INTERLEAVED_ROWS))); - SWIG_Python_SetConstant(d, "SoRenderManager_INTERLEAVED_COLUMNS",SWIG_From_int(static_cast< int >(SoRenderManager::INTERLEAVED_COLUMNS))); - SWIG_Python_SetConstant(d, "SoRenderManager_BUFFER_SINGLE",SWIG_From_int(static_cast< int >(SoRenderManager::BUFFER_SINGLE))); - SWIG_Python_SetConstant(d, "SoRenderManager_BUFFER_DOUBLE",SWIG_From_int(static_cast< int >(SoRenderManager::BUFFER_DOUBLE))); - SWIG_Python_SetConstant(d, "SoRenderManager_NO_AUTO_CLIPPING",SWIG_From_int(static_cast< int >(SoRenderManager::NO_AUTO_CLIPPING))); - SWIG_Python_SetConstant(d, "SoRenderManager_FIXED_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoRenderManager::FIXED_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SoRenderManager_VARIABLE_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoRenderManager::VARIABLE_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SCXML_DEFAULT_NS",SWIG_FromCharPtr("http://www.coin3d.org/scxml/default/1.0")); - SWIG_Python_SetConstant(d, "SCXML_COIN_NS",SWIG_FromCharPtr("http://www.coin3d.org/scxml/coin/1.0")); -} - diff --git a/src/3rdParty/Pivy-0.5/gui/__init__.py b/src/3rdParty/Pivy-0.5/gui/__init__.py deleted file mode 100644 index 7995d271e2..0000000000 --- a/src/3rdParty/Pivy-0.5/gui/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -### -# Copyright (C) 2002-2005, Tamer Fahmy -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of the copyright holder nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# diff --git a/src/3rdParty/Pivy-0.5/gui/soqt.py b/src/3rdParty/Pivy-0.5/gui/soqt.py deleted file mode 100644 index 980f502007..0000000000 --- a/src/3rdParty/Pivy-0.5/gui/soqt.py +++ /dev/null @@ -1,2583 +0,0 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.36 -# -# Don't modify this file, modify the SWIG interface instead. - -""" -The soqt module is a wrapper for the SoQt library. The module will try -to import the sip module which is used for PyQt. If found the involved -wrapped Qt structures are converted to ones suitable for PyQt, -otherwise it will fall back to regular SWIG structures. -""" - -import _soqt -import new -new_instancemethod = new.instancemethod -try: - _swig_property = property -except NameError: - pass # Python < 2.2 doesn't have 'property'. -def _swig_setattr_nondynamic(self,class_type,name,value,static=1): - if (name == "thisown"): return self.this.own(value) - if (name == "this"): - if type(value).__name__ == 'PySwigObject': - self.__dict__[name] = value - return - method = class_type.__swig_setmethods__.get(name,None) - if method: return method(self,value) - if (not static) or hasattr(self,name): - self.__dict__[name] = value - else: - raise AttributeError("You cannot add attributes to %s" % self) - -def _swig_setattr(self,class_type,name,value): - return _swig_setattr_nondynamic(self,class_type,name,value,0) - -def _swig_getattr(self,class_type,name): - if (name == "thisown"): return self.this.own() - method = class_type.__swig_getmethods__.get(name,None) - if method: return method(self) - raise AttributeError,name - -def _swig_repr(self): - try: strthis = "proxy of " + self.this.__repr__() - except: strthis = "" - return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) - -import types -try: - _object = types.ObjectType - _newclass = 1 -except AttributeError: - class _object : pass - _newclass = 0 -del types - - -def _swig_setattr_nondynamic_method(set): - def set_attr(self,name,value): - if (name == "thisown"): return self.this.own(value) - if hasattr(self,name) or (name == "this"): - set(self,name,value) - else: - raise AttributeError("You cannot add attributes to %s" % self) - return set_attr - - -class charp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_charp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_charp - __del__ = lambda self : None; - def assign(*args): return _soqt.charp_assign(*args) - def value(*args): return _soqt.charp_value(*args) - def cast(*args): return _soqt.charp_cast(*args) - frompointer = staticmethod(_soqt.charp_frompointer) -charp_swigregister = _soqt.charp_swigregister -charp_swigregister(charp) -cast = _soqt.cast -charp_frompointer = _soqt.charp_frompointer - -class intp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_intp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_intp - __del__ = lambda self : None; - def assign(*args): return _soqt.intp_assign(*args) - def value(*args): return _soqt.intp_value(*args) - def cast(*args): return _soqt.intp_cast(*args) - frompointer = staticmethod(_soqt.intp_frompointer) -intp_swigregister = _soqt.intp_swigregister -intp_swigregister(intp) -intp_frompointer = _soqt.intp_frompointer - -class longp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_longp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_longp - __del__ = lambda self : None; - def assign(*args): return _soqt.longp_assign(*args) - def value(*args): return _soqt.longp_value(*args) - def cast(*args): return _soqt.longp_cast(*args) - frompointer = staticmethod(_soqt.longp_frompointer) -longp_swigregister = _soqt.longp_swigregister -longp_swigregister(longp) -longp_frompointer = _soqt.longp_frompointer - -class floatp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_floatp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_floatp - __del__ = lambda self : None; - def assign(*args): return _soqt.floatp_assign(*args) - def value(*args): return _soqt.floatp_value(*args) - def cast(*args): return _soqt.floatp_cast(*args) - frompointer = staticmethod(_soqt.floatp_frompointer) -floatp_swigregister = _soqt.floatp_swigregister -floatp_swigregister(floatp) -floatp_frompointer = _soqt.floatp_frompointer - -class doublep(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_doublep(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_doublep - __del__ = lambda self : None; - def assign(*args): return _soqt.doublep_assign(*args) - def value(*args): return _soqt.doublep_value(*args) - def cast(*args): return _soqt.doublep_cast(*args) - frompointer = staticmethod(_soqt.doublep_frompointer) -doublep_swigregister = _soqt.doublep_swigregister -doublep_swigregister(doublep) -doublep_frompointer = _soqt.doublep_frompointer - -FALSE = _soqt.FALSE -TRUE = _soqt.TRUE -HAVE_INTTYPES_H = _soqt.HAVE_INTTYPES_H -HAVE_STDINT_H = _soqt.HAVE_STDINT_H -HAVE_SYS_TYPES_H = _soqt.HAVE_SYS_TYPES_H -HAVE_STDDEF_H = _soqt.HAVE_STDDEF_H -HAVE_INT8_T = _soqt.HAVE_INT8_T -HAVE_UINT8_T = _soqt.HAVE_UINT8_T -HAVE_INT16_T = _soqt.HAVE_INT16_T -HAVE_UINT16_T = _soqt.HAVE_UINT16_T -HAVE_INT32_T = _soqt.HAVE_INT32_T -HAVE_UINT32_T = _soqt.HAVE_UINT32_T -HAVE_INT64_T = _soqt.HAVE_INT64_T -HAVE_UINT64_T = _soqt.HAVE_UINT64_T -HAVE_INTPTR_T = _soqt.HAVE_INTPTR_T -HAVE_UINTPTR_T = _soqt.HAVE_UINTPTR_T -M_E = _soqt.M_E -M_LOG2E = _soqt.M_LOG2E -M_LOG10E = _soqt.M_LOG10E -M_LN2 = _soqt.M_LN2 -M_LN10 = _soqt.M_LN10 -M_PI = _soqt.M_PI -M_TWOPI = _soqt.M_TWOPI -M_PI_2 = _soqt.M_PI_2 -M_PI_4 = _soqt.M_PI_4 -M_3PI_4 = _soqt.M_3PI_4 -M_SQRTPI = _soqt.M_SQRTPI -M_1_PI = _soqt.M_1_PI -M_2_PI = _soqt.M_2_PI -M_2_SQRTPI = _soqt.M_2_SQRTPI -M_SQRT2 = _soqt.M_SQRT2 -M_SQRT1_2 = _soqt.M_SQRT1_2 -M_LN2LO = _soqt.M_LN2LO -M_LN2HI = _soqt.M_LN2HI -M_SQRT3 = _soqt.M_SQRT3 -M_IVLN10 = _soqt.M_IVLN10 -M_LOG2_E = _soqt.M_LOG2_E -M_INVLN2 = _soqt.M_INVLN2 -COIN_MAJOR_VERSION = _soqt.COIN_MAJOR_VERSION -COIN_MINOR_VERSION = _soqt.COIN_MINOR_VERSION -COIN_MICRO_VERSION = _soqt.COIN_MICRO_VERSION -COIN_VERSION = _soqt.COIN_VERSION -HAVE_HASH_QUOTING = _soqt.HAVE_HASH_QUOTING -SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SUN_CC_4_0_SOTYPE_INIT_BUG -class SbDict(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbDict(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbDict - __del__ = lambda self : None; - def applyToAll(*args): return _soqt.SbDict_applyToAll(*args) - def clear(*args): return _soqt.SbDict_clear(*args) - def enter(*args): return _soqt.SbDict_enter(*args) - def find(*args): return _soqt.SbDict_find(*args) - def makePList(*args): return _soqt.SbDict_makePList(*args) - def remove(*args): return _soqt.SbDict_remove(*args) - def setHashingFunction(*args): return _soqt.SbDict_setHashingFunction(*args) -SbDict_swigregister = _soqt.SbDict_swigregister -SbDict_swigregister(SbDict) - -class SoType(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - fromName = staticmethod(_soqt.SoType_fromName) - def getName(*args): return _soqt.SoType_getName(*args) - def getParent(*args): return _soqt.SoType_getParent(*args) - def isDerivedFrom(*args): return _soqt.SoType_isDerivedFrom(*args) - getAllDerivedFrom = staticmethod(_soqt.SoType_getAllDerivedFrom) - def canCreateInstance(*args): return _soqt.SoType_canCreateInstance(*args) - def getData(*args): return _soqt.SoType_getData(*args) - def getKey(*args): return _soqt.SoType_getKey(*args) - def __eq__(*args): return _soqt.SoType___eq__(*args) - def __ne__(*args): return _soqt.SoType___ne__(*args) - def __lt__(*args): return _soqt.SoType___lt__(*args) - def __le__(*args): return _soqt.SoType___le__(*args) - def __ge__(*args): return _soqt.SoType___ge__(*args) - def __gt__(*args): return _soqt.SoType___gt__(*args) - removeType = staticmethod(_soqt.SoType_removeType) - init = staticmethod(_soqt.SoType_init) - fromKey = staticmethod(_soqt.SoType_fromKey) - badType = staticmethod(_soqt.SoType_badType) - def isBad(*args): return _soqt.SoType_isBad(*args) - def makeInternal(*args): return _soqt.SoType_makeInternal(*args) - def isInternal(*args): return _soqt.SoType_isInternal(*args) - getNumTypes = staticmethod(_soqt.SoType_getNumTypes) - def getInstantiationMethod(*args): return _soqt.SoType_getInstantiationMethod(*args) - def createInstance(*args): return _soqt.SoType_createInstance(*args) - def __init__(self, *args): - """__init__(self) -> SoType""" - this = _soqt.new_SoType(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoType - __del__ = lambda self : None; -SoType_swigregister = _soqt.SoType_swigregister -SoType_swigregister(SoType) -SoType_fromName = _soqt.SoType_fromName -SoType_getAllDerivedFrom = _soqt.SoType_getAllDerivedFrom -SoType_removeType = _soqt.SoType_removeType -SoType_init = _soqt.SoType_init -SoType_fromKey = _soqt.SoType_fromKey -SoType_badType = _soqt.SoType_badType -SoType_getNumTypes = _soqt.SoType_getNumTypes - -class SbPList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbPList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbPList - __del__ = lambda self : None; - def copy(*args): return _soqt.SbPList_copy(*args) - def fit(*args): return _soqt.SbPList_fit(*args) - def append(*args): return _soqt.SbPList_append(*args) - def find(*args): return _soqt.SbPList_find(*args) - def insert(*args): return _soqt.SbPList_insert(*args) - def removeItem(*args): return _soqt.SbPList_removeItem(*args) - def remove(*args): return _soqt.SbPList_remove(*args) - def removeFast(*args): return _soqt.SbPList_removeFast(*args) - def getLength(*args): return _soqt.SbPList_getLength(*args) - def truncate(*args): return _soqt.SbPList_truncate(*args) - def getArrayPtr(*args): return _soqt.SbPList_getArrayPtr(*args) - def __eq__(*args): return _soqt.SbPList___eq__(*args) - def __ne__(*args): return _soqt.SbPList___ne__(*args) - def get(*args): return _soqt.SbPList_get(*args) - def set(*args): return _soqt.SbPList_set(*args) - def __getitem__(*args): return _soqt.SbPList___getitem__(*args) - def __setitem__(*args): return _soqt.SbPList___setitem__(*args) - def __iter__(self): - for i in range(self.getLength()): - yield self[i] - -SbPList_swigregister = _soqt.SbPList_swigregister -SbPList_swigregister(SbPList) - -class SbIntList(SbPList): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbIntList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SbIntList_append(*args) - def find(*args): return _soqt.SbIntList_find(*args) - def insert(*args): return _soqt.SbIntList_insert(*args) - def __setitem__(*args): return _soqt.SbIntList___setitem__(*args) - def __getitem__(*args): return _soqt.SbIntList___getitem__(*args) - def get(*args): return _soqt.SbIntList_get(*args) - __swig_destroy__ = _soqt.delete_SbIntList - __del__ = lambda self : None; -SbIntList_swigregister = _soqt.SbIntList_swigregister -SbIntList_swigregister(SbIntList) - -class SbString(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbString - __del__ = lambda self : None; - hash = staticmethod(_soqt.SbString_hash) - def getLength(*args): return _soqt.SbString_getLength(*args) - def makeEmpty(*args): return _soqt.SbString_makeEmpty(*args) - def getString(*args): return _soqt.SbString_getString(*args) - def getSubString(*args): return _soqt.SbString_getSubString(*args) - def deleteSubString(*args): return _soqt.SbString_deleteSubString(*args) - def addIntString(*args): return _soqt.SbString_addIntString(*args) - def __iadd__(*args): return _soqt.SbString___iadd__(*args) - def compareSubString(*args): return _soqt.SbString_compareSubString(*args) - def sprintf(*args): return _soqt.SbString_sprintf(*args) - def apply(*args): return _soqt.SbString_apply(*args) - def find(*args): return _soqt.SbString_find(*args) - def findAll(*args): return _soqt.SbString_findAll(*args) - def lower(*args): return _soqt.SbString_lower(*args) - def upper(*args): return _soqt.SbString_upper(*args) - def __eq__(*args): return _soqt.SbString___eq__(*args) - def __nq__(*args): return _soqt.SbString___nq__(*args) - def __getitem__(*args): return _soqt.SbString___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbString___repr__(*args) -SbString_swigregister = _soqt.SbString_swigregister -SbString_swigregister(SbString) -SbString_hash = _soqt.SbString_hash - -class SbName(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbName - __del__ = lambda self : None; - def getString(*args): return _soqt.SbName_getString(*args) - def getLength(*args): return _soqt.SbName_getLength(*args) - isIdentStartChar = staticmethod(_soqt.SbName_isIdentStartChar) - isIdentChar = staticmethod(_soqt.SbName_isIdentChar) - isBaseNameStartChar = staticmethod(_soqt.SbName_isBaseNameStartChar) - isBaseNameChar = staticmethod(_soqt.SbName_isBaseNameChar) - empty = staticmethod(_soqt.SbName_empty) - def __eq__(*args): return _soqt.SbName___eq__(*args) - def __nq__(*args): return _soqt.SbName___nq__(*args) - def __getitem__(*args): return _soqt.SbName___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbName___repr__(*args) -SbName_swigregister = _soqt.SbName_swigregister -SbName_swigregister(SbName) -SbName_isIdentStartChar = _soqt.SbName_isIdentStartChar -SbName_isIdentChar = _soqt.SbName_isIdentChar -SbName_isBaseNameStartChar = _soqt.SbName_isBaseNameStartChar -SbName_isBaseNameChar = _soqt.SbName_isBaseNameChar -SbName_empty = _soqt.SbName_empty - -class SoError(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoError - __del__ = lambda self : None; - setHandlerCallback = staticmethod(_soqt.SoError_setHandlerCallback) - getHandlerCallback = staticmethod(_soqt.SoError_getHandlerCallback) - getHandlerData = staticmethod(_soqt.SoError_getHandlerData) - def getDebugString(*args): return _soqt.SoError_getDebugString(*args) - getClassTypeId = staticmethod(_soqt.SoError_getClassTypeId) - def getTypeId(*args): return _soqt.SoError_getTypeId(*args) - def isOfType(*args): return _soqt.SoError_isOfType(*args) - post = staticmethod(_soqt.SoError_post) - getString = staticmethod(_soqt.SoError_getString) - initClass = staticmethod(_soqt.SoError_initClass) - initClasses = staticmethod(_soqt.SoError_initClasses) -SoError_swigregister = _soqt.SoError_swigregister -SoError_swigregister(SoError) -SoError_setHandlerCallback = _soqt.SoError_setHandlerCallback -SoError_getHandlerCallback = _soqt.SoError_getHandlerCallback -SoError_getHandlerData = _soqt.SoError_getHandlerData -SoError_getClassTypeId = _soqt.SoError_getClassTypeId -SoError_post = _soqt.SoError_post -SoError_getString = _soqt.SoError_getString -SoError_initClass = _soqt.SoError_initClass -SoError_initClasses = _soqt.SoError_initClasses - -class SoDebugError(SoError): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ERROR = _soqt.SoDebugError_ERROR - WARNING = _soqt.SoDebugError_WARNING - INFO = _soqt.SoDebugError_INFO - setHandlerCallback = staticmethod(_soqt.SoDebugError_setHandlerCallback) - getHandlerCallback = staticmethod(_soqt.SoDebugError_getHandlerCallback) - getHandlerData = staticmethod(_soqt.SoDebugError_getHandlerData) - getClassTypeId = staticmethod(_soqt.SoDebugError_getClassTypeId) - def getTypeId(*args): return _soqt.SoDebugError_getTypeId(*args) - def getSeverity(*args): return _soqt.SoDebugError_getSeverity(*args) - post = staticmethod(_soqt.SoDebugError_post) - postWarning = staticmethod(_soqt.SoDebugError_postWarning) - postInfo = staticmethod(_soqt.SoDebugError_postInfo) - initClass = staticmethod(_soqt.SoDebugError_initClass) - def __init__(self, *args): - """__init__(self) -> SoDebugError""" - this = _soqt.new_SoDebugError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoDebugError - __del__ = lambda self : None; -SoDebugError_swigregister = _soqt.SoDebugError_swigregister -SoDebugError_swigregister(SoDebugError) -SoDebugError_setHandlerCallback = _soqt.SoDebugError_setHandlerCallback -SoDebugError_getHandlerCallback = _soqt.SoDebugError_getHandlerCallback -SoDebugError_getHandlerData = _soqt.SoDebugError_getHandlerData -SoDebugError_getClassTypeId = _soqt.SoDebugError_getClassTypeId -SoDebugError_post = _soqt.SoDebugError_post -SoDebugError_postWarning = _soqt.SoDebugError_postWarning -SoDebugError_postInfo = _soqt.SoDebugError_postInfo -SoDebugError_initClass = _soqt.SoDebugError_initClass - -class SbVec2s(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbVec2s(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): return _soqt.SbVec2s_setValue(*args) - def getValue(*args): return _soqt.SbVec2s_getValue(*args) - def dot(*args): return _soqt.SbVec2s_dot(*args) - def negate(*args): return _soqt.SbVec2s_negate(*args) - def __imul__(*args): return _soqt.SbVec2s___imul__(*args) - def __idiv__(*args): return _soqt.SbVec2s___idiv__(*args) - def __iadd__(*args): return _soqt.SbVec2s___iadd__(*args) - def __isub__(*args): return _soqt.SbVec2s___isub__(*args) - def __neg__(*args): return _soqt.SbVec2s___neg__(*args) - def output(*args): return _soqt.SbVec2s_output(*args) - def __add__(*args): return _soqt.SbVec2s___add__(*args) - def __sub__(*args): return _soqt.SbVec2s___sub__(*args) - def __mul__(*args): return _soqt.SbVec2s___mul__(*args) - def __rmul__(*args): return _soqt.SbVec2s___rmul__(*args) - def __div__(*args): return _soqt.SbVec2s___div__(*args) - def __eq__(*args): return _soqt.SbVec2s___eq__(*args) - def __nq__(*args): return _soqt.SbVec2s___nq__(*args) - def __getitem__(*args): return _soqt.SbVec2s___getitem__(*args) - def __setitem__(*args): return _soqt.SbVec2s___setitem__(*args) - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _soqt.delete_SbVec2s - __del__ = lambda self : None; -SbVec2s_swigregister = _soqt.SbVec2s_swigregister -SbVec2s_swigregister(SbVec2s) - -class SbTime(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbTime(*args) - try: self.this.append(this) - except: self.this = this - getTimeOfDay = staticmethod(_soqt.SbTime_getTimeOfDay) - def setToTimeOfDay(*args): return _soqt.SbTime_setToTimeOfDay(*args) - zero = staticmethod(_soqt.SbTime_zero) - max = staticmethod(_soqt.SbTime_max) - maxTime = staticmethod(_soqt.SbTime_maxTime) - sleep = staticmethod(_soqt.SbTime_sleep) - def setValue(*args): return _soqt.SbTime_setValue(*args) - def setMsecValue(*args): return _soqt.SbTime_setMsecValue(*args) - def getValue(*args): return _soqt.SbTime_getValue(*args) - def getMsecValue(*args): return _soqt.SbTime_getMsecValue(*args) - def format(*args): return _soqt.SbTime_format(*args) - def formatDate(*args): return _soqt.SbTime_formatDate(*args) - def parsedate(*args): return _soqt.SbTime_parsedate(*args) - def __iadd__(*args): return _soqt.SbTime___iadd__(*args) - def __isub__(*args): return _soqt.SbTime___isub__(*args) - def __neg__(*args): return _soqt.SbTime___neg__(*args) - def __imul__(*args): return _soqt.SbTime___imul__(*args) - def __idiv__(*args): return _soqt.SbTime___idiv__(*args) - def __mod__(*args): return _soqt.SbTime___mod__(*args) - def __eq__(*args): return _soqt.SbTime___eq__(*args) - def __ne__(*args): return _soqt.SbTime___ne__(*args) - def __lt__(*args): return _soqt.SbTime___lt__(*args) - def __gt__(*args): return _soqt.SbTime___gt__(*args) - def __le__(*args): return _soqt.SbTime___le__(*args) - def __ge__(*args): return _soqt.SbTime___ge__(*args) - def output(*args): return _soqt.SbTime_output(*args) - def __add__(*args): return _soqt.SbTime___add__(*args) - def __sub__(*args): return _soqt.SbTime___sub__(*args) - def __mul__(*args): return _soqt.SbTime___mul__(*args) - def __rmul__(*args): return _soqt.SbTime___rmul__(*args) - def __div__(*args): return _soqt.SbTime___div__(*args) - __swig_destroy__ = _soqt.delete_SbTime - __del__ = lambda self : None; -SbTime_swigregister = _soqt.SbTime_swigregister -SbTime_swigregister(SbTime) -SbTime_getTimeOfDay = _soqt.SbTime_getTimeOfDay -SbTime_zero = _soqt.SbTime_zero -SbTime_max = _soqt.SbTime_max -SbTime_maxTime = _soqt.SbTime_maxTime -SbTime_sleep = _soqt.SbTime_sleep - -class SoEvent(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoEvent - __del__ = lambda self : None; - def isOfType(*args): return _soqt.SoEvent_isOfType(*args) - getClassTypeId = staticmethod(_soqt.SoEvent_getClassTypeId) - def getTypeId(*args): return _soqt.SoEvent_getTypeId(*args) - def setTime(*args): return _soqt.SoEvent_setTime(*args) - def getTime(*args): return _soqt.SoEvent_getTime(*args) - def setPosition(*args): return _soqt.SoEvent_setPosition(*args) - def getPosition(*args): return _soqt.SoEvent_getPosition(*args) - def getNormalizedPosition(*args): return _soqt.SoEvent_getNormalizedPosition(*args) - def setShiftDown(*args): return _soqt.SoEvent_setShiftDown(*args) - def wasShiftDown(*args): return _soqt.SoEvent_wasShiftDown(*args) - def setCtrlDown(*args): return _soqt.SoEvent_setCtrlDown(*args) - def wasCtrlDown(*args): return _soqt.SoEvent_wasCtrlDown(*args) - def setAltDown(*args): return _soqt.SoEvent_setAltDown(*args) - def wasAltDown(*args): return _soqt.SoEvent_wasAltDown(*args) - initClass = staticmethod(_soqt.SoEvent_initClass) -SoEvent_swigregister = _soqt.SoEvent_swigregister -SoEvent_swigregister(SoEvent) -SoEvent_getClassTypeId = _soqt.SoEvent_getClassTypeId -SoEvent_initClass = _soqt.SoEvent_initClass - -class SoNotRec(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - CONTAINER = _soqt.SoNotRec_CONTAINER - PARENT = _soqt.SoNotRec_PARENT - SENSOR = _soqt.SoNotRec_SENSOR - FIELD = _soqt.SoNotRec_FIELD - ENGINE = _soqt.SoNotRec_ENGINE - def __init__(self, *args): - this = _soqt.new_SoNotRec(*args) - try: self.this.append(this) - except: self.this = this - def setType(*args): return _soqt.SoNotRec_setType(*args) - def getBase(*args): return _soqt.SoNotRec_getBase(*args) - def getType(*args): return _soqt.SoNotRec_getType(*args) - def getPrevious(*args): return _soqt.SoNotRec_getPrevious(*args) - def setPrevious(*args): return _soqt.SoNotRec_setPrevious(*args) - def output(*args): return _soqt.SoNotRec_output(*args) - __swig_destroy__ = _soqt.delete_SoNotRec - __del__ = lambda self : None; -SoNotRec_swigregister = _soqt.SoNotRec_swigregister -SoNotRec_swigregister(SoNotRec) - -class SoNotList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoNotList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SoNotList_append(*args) - def setLastType(*args): return _soqt.SoNotList_setLastType(*args) - def getFirstRec(*args): return _soqt.SoNotList_getFirstRec(*args) - def getLastRec(*args): return _soqt.SoNotList_getLastRec(*args) - def getFirstRecAtNode(*args): return _soqt.SoNotList_getFirstRecAtNode(*args) - def getLastField(*args): return _soqt.SoNotList_getLastField(*args) - def getLastEngineOutput(*args): return _soqt.SoNotList_getLastEngineOutput(*args) - def getTimeStamp(*args): return _soqt.SoNotList_getTimeStamp(*args) - def output(*args): return _soqt.SoNotList_output(*args) - __swig_destroy__ = _soqt.delete_SoNotList - __del__ = lambda self : None; -SoNotList_swigregister = _soqt.SoNotList_swigregister -SoNotList_swigregister(SoNotList) - -class SoField(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoField_initClass) - initClasses = staticmethod(_soqt.SoField_initClasses) - cleanupClass = staticmethod(_soqt.SoField_cleanupClass) - def setIgnored(*args): return _soqt.SoField_setIgnored(*args) - def isIgnored(*args): return _soqt.SoField_isIgnored(*args) - def setDefault(*args): return _soqt.SoField_setDefault(*args) - def isDefault(*args): return _soqt.SoField_isDefault(*args) - def getTypeId(*args): return _soqt.SoField_getTypeId(*args) - getClassTypeId = staticmethod(_soqt.SoField_getClassTypeId) - def isOfType(*args): return _soqt.SoField_isOfType(*args) - def enableConnection(*args): return _soqt.SoField_enableConnection(*args) - def isConnectionEnabled(*args): return _soqt.SoField_isConnectionEnabled(*args) - def isConnectedFromEngine(*args): return _soqt.SoField_isConnectedFromEngine(*args) - def getConnectedEngine(*args): return _soqt.SoField_getConnectedEngine(*args) - def connectFrom(*args): return _soqt.SoField_connectFrom(*args) - def appendConnection(*args): return _soqt.SoField_appendConnection(*args) - def isConnectedFromField(*args): return _soqt.SoField_isConnectedFromField(*args) - def getConnectedField(*args): return _soqt.SoField_getConnectedField(*args) - def getNumConnections(*args): return _soqt.SoField_getNumConnections(*args) - def getForwardConnections(*args): return _soqt.SoField_getForwardConnections(*args) - def getConnections(*args): return _soqt.SoField_getConnections(*args) - def disconnect(*args): return _soqt.SoField_disconnect(*args) - def isConnected(*args): return _soqt.SoField_isConnected(*args) - def setContainer(*args): return _soqt.SoField_setContainer(*args) - def getContainer(*args): return _soqt.SoField_getContainer(*args) - def set(*args): return _soqt.SoField_set(*args) - def shouldWrite(*args): return _soqt.SoField_shouldWrite(*args) - def touch(*args): return _soqt.SoField_touch(*args) - def startNotify(*args): return _soqt.SoField_startNotify(*args) - def notify(*args): return _soqt.SoField_notify(*args) - def enableNotify(*args): return _soqt.SoField_enableNotify(*args) - def isNotifyEnabled(*args): return _soqt.SoField_isNotifyEnabled(*args) - def addAuditor(*args): return _soqt.SoField_addAuditor(*args) - def removeAuditor(*args): return _soqt.SoField_removeAuditor(*args) - def __eq__(*args): return _soqt.SoField___eq__(*args) - def __ne__(*args): return _soqt.SoField___ne__(*args) - def connectionStatusChanged(*args): return _soqt.SoField_connectionStatusChanged(*args) - def isReadOnly(*args): return _soqt.SoField_isReadOnly(*args) - def isSame(*args): return _soqt.SoField_isSame(*args) - def copyFrom(*args): return _soqt.SoField_copyFrom(*args) - def fixCopy(*args): return _soqt.SoField_fixCopy(*args) - def referencesCopy(*args): return _soqt.SoField_referencesCopy(*args) - def copyConnection(*args): return _soqt.SoField_copyConnection(*args) - def read(*args): return _soqt.SoField_read(*args) - def write(*args): return _soqt.SoField_write(*args) - def countWriteRefs(*args): return _soqt.SoField_countWriteRefs(*args) - NORMAL_FIELD = _soqt.SoField_NORMAL_FIELD - EVENTIN_FIELD = _soqt.SoField_EVENTIN_FIELD - EVENTOUT_FIELD = _soqt.SoField_EVENTOUT_FIELD - EXPOSED_FIELD = _soqt.SoField_EXPOSED_FIELD - def setFieldType(*args): return _soqt.SoField_setFieldType(*args) - def getFieldType(*args): return _soqt.SoField_getFieldType(*args) - def getDirty(*args): return _soqt.SoField_getDirty(*args) - def setDirty(*args): return _soqt.SoField_setDirty(*args) - def evaluate(*args): return _soqt.SoField_evaluate(*args) - def get(*args): return _soqt.SoField_get(*args) -SoField_swigregister = _soqt.SoField_swigregister -SoField_swigregister(SoField) -SoField_initClass = _soqt.SoField_initClass -SoField_initClasses = _soqt.SoField_initClasses -SoField_cleanupClass = _soqt.SoField_cleanupClass -SoField_getClassTypeId = _soqt.SoField_getClassTypeId - -class SoSField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoSField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoSField_initClass) - getClassTypeId = staticmethod(_soqt.SoSField_getClassTypeId) - atexit_cleanup = staticmethod(_soqt.SoSField_atexit_cleanup) -SoSField_swigregister = _soqt.SoSField_swigregister -SoSField_swigregister(SoSField) -SoSField_initClass = _soqt.SoSField_initClass -SoSField_getClassTypeId = _soqt.SoSField_getClassTypeId -SoSField_atexit_cleanup = _soqt.SoSField_atexit_cleanup - -class SoMField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoMField - __del__ = lambda self : None; - getClassTypeId = staticmethod(_soqt.SoMField_getClassTypeId) - atexit_cleanup = staticmethod(_soqt.SoMField_atexit_cleanup) - def getNum(*args): return _soqt.SoMField_getNum(*args) - def setNum(*args): return _soqt.SoMField_setNum(*args) - def deleteValues(*args): return _soqt.SoMField_deleteValues(*args) - def insertSpace(*args): return _soqt.SoMField_insertSpace(*args) - def set1(*args): return _soqt.SoMField_set1(*args) - initClass = staticmethod(_soqt.SoMField_initClass) - def enableDeleteValues(*args): return _soqt.SoMField_enableDeleteValues(*args) - def isDeleteValuesEnabled(*args): return _soqt.SoMField_isDeleteValuesEnabled(*args) - def __iter__(self): - i = 0 - while i < self.getNum(): - yield self[i] - i += 1 - - def __len__(*args): return _soqt.SoMField___len__(*args) - def get1(*args): return _soqt.SoMField_get1(*args) -SoMField_swigregister = _soqt.SoMField_swigregister -SoMField_swigregister(SoMField) -SoMField_getClassTypeId = _soqt.SoMField_getClassTypeId -SoMField_atexit_cleanup = _soqt.SoMField_atexit_cleanup -SoMField_initClass = _soqt.SoMField_initClass - -import pivy -class QEvent(object): - """Proxy of C++ QEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QEvent - __del__ = lambda self : None; -QEvent_swigregister = _soqt.QEvent_swigregister -QEvent_swigregister(QEvent) - -class QWidget(object): - """Proxy of C++ QWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QWidget - __del__ = lambda self : None; -QWidget_swigregister = _soqt.QWidget_swigregister -QWidget_swigregister(QWidget) - -SOQT_MAJOR_VERSION = _soqt.SOQT_MAJOR_VERSION -SOQT_MINOR_VERSION = _soqt.SOQT_MINOR_VERSION -SOQT_MICRO_VERSION = _soqt.SOQT_MICRO_VERSION -SOQT_VERSION = _soqt.SOQT_VERSION -GUI_TOOLKIT_VERSION = _soqt.GUI_TOOLKIT_VERSION -class SoQtObject(object): - """Proxy of C++ SoQtObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtObject_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtObject_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _soqt.SoQtObject_isOfType(*args) - - def init(*args): - """init()""" - return _soqt.SoQtObject_init(*args) - - init = staticmethod(init) - __swig_destroy__ = _soqt.delete_SoQtObject - __del__ = lambda self : None; -SoQtObject_swigregister = _soqt.SoQtObject_swigregister -SoQtObject_swigregister(SoQtObject) - -def SoQtObject_initClass(*args): - """SoQtObject_initClass()""" - return _soqt.SoQtObject_initClass(*args) - -def SoQtObject_getClassTypeId(*args): - """SoQtObject_getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - -def SoQtObject_init(*args): - """SoQtObject_init()""" - return _soqt.SoQtObject_init(*args) - -SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG -class SoQtDevice(SoQtObject): - """Proxy of C++ SoQtDevice class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtDevice_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtDevice_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtDevice - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_enable(*args) - - def disable(*args): - """disable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtDevice_translateEvent(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s size)""" - return _soqt.SoQtDevice_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _soqt.SoQtDevice_getWindowSize(*args) - - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtDevice_swigregister = _soqt.SoQtDevice_swigregister -SoQtDevice_swigregister(SoQtDevice) - -def SoQtDevice_initClass(*args): - """SoQtDevice_initClass()""" - return _soqt.SoQtDevice_initClass(*args) - -def SoQtDevice_getClassTypeId(*args): - """SoQtDevice_getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - -def SoQtDevice_initClasses(*args): - """SoQtDevice_initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - -class SoQtKeyboard(SoQtDevice): - """Proxy of C++ SoQtKeyboard class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtKeyboard_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - - createInstance = staticmethod(createInstance) - KEY_PRESS = _soqt.SoQtKeyboard_KEY_PRESS - KEY_RELEASE = _soqt.SoQtKeyboard_KEY_RELEASE - ALL_EVENTS = _soqt.SoQtKeyboard_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtKeyboard - __init__(self) -> SoQtKeyboard - """ - this = _soqt.new_SoQtKeyboard(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtKeyboard - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtKeyboard_translateEvent(*args) - -SoQtKeyboard_swigregister = _soqt.SoQtKeyboard_swigregister -SoQtKeyboard_swigregister(SoQtKeyboard) - -def SoQtKeyboard_initClass(*args): - """SoQtKeyboard_initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - -def SoQtKeyboard_getClassTypeId(*args): - """SoQtKeyboard_getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - -def SoQtKeyboard_createInstance(*args): - """SoQtKeyboard_createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - -class SoQtMouse(SoQtDevice): - """Proxy of C++ SoQtMouse class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtMouse_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtMouse_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - - createInstance = staticmethod(createInstance) - BUTTON_PRESS = _soqt.SoQtMouse_BUTTON_PRESS - BUTTON_RELEASE = _soqt.SoQtMouse_BUTTON_RELEASE - POINTER_MOTION = _soqt.SoQtMouse_POINTER_MOTION - BUTTON_MOTION = _soqt.SoQtMouse_BUTTON_MOTION - ALL_EVENTS = _soqt.SoQtMouse_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtMouse - __init__(self) -> SoQtMouse - """ - this = _soqt.new_SoQtMouse(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtMouse - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtMouse_translateEvent(*args) - -SoQtMouse_swigregister = _soqt.SoQtMouse_swigregister -SoQtMouse_swigregister(SoQtMouse) - -def SoQtMouse_initClass(*args): - """SoQtMouse_initClass()""" - return _soqt.SoQtMouse_initClass(*args) - -def SoQtMouse_getClassTypeId(*args): - """SoQtMouse_getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - -def SoQtMouse_createInstance(*args): - """SoQtMouse_createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - -class SoQt(object): - """Proxy of C++ SoQt class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - - init = staticmethod(init) - def exitMainLoop(*args): - """exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - - exitMainLoop = staticmethod(exitMainLoop) - def done(*args): - """done()""" - return _soqt.SoQt_done(*args) - - done = staticmethod(done) - def getTopLevelWidget(*args): - """getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - - getTopLevelWidget = staticmethod(getTopLevelWidget) - def getShellWidget(*args): - """getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - - getShellWidget = staticmethod(getShellWidget) - def show(*args): - """show(QWidget widget)""" - return _soqt.SoQt_show(*args) - - show = staticmethod(show) - def hide(*args): - """hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - - hide = staticmethod(hide) - def setWidgetSize(*args): - """setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - - setWidgetSize = staticmethod(setWidgetSize) - def getWidgetSize(*args): - """getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - - getWidgetSize = staticmethod(getWidgetSize) - def createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - - createSimpleErrorDialog = staticmethod(createSimpleErrorDialog) - def getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - - getVersionInfo = staticmethod(getVersionInfo) - def getVersionString(*args): - """getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - - getVersionString = staticmethod(getVersionString) - def getVersionToolkitString(*args): - """getVersionToolkitString() -> char""" - return _soqt.SoQt_getVersionToolkitString(*args) - - getVersionToolkitString = staticmethod(getVersionToolkitString) - UNSPECIFIED_ERROR = _soqt.SoQt_UNSPECIFIED_ERROR - NO_OPENGL_CANVAS = _soqt.SoQt_NO_OPENGL_CANVAS - INTERNAL_ASSERT = _soqt.SoQt_INTERNAL_ASSERT - def setFatalErrorHandler(*args): - """setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - - setFatalErrorHandler = staticmethod(setFatalErrorHandler) - def isDebugLibrary(*args): - """isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - - isDebugLibrary = staticmethod(isDebugLibrary) - def isCompatible(*args): - """isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - - isCompatible = staticmethod(isCompatible) - DLL = _soqt.SoQt_DLL - LIB = _soqt.SoQt_LIB - UNKNOWN = _soqt.SoQt_UNKNOWN - def getABIType(*args): - """getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - - getABIType = staticmethod(getABIType) - def lockGL(*args): - """lockGL()""" - return _soqt.SoQt_lockGL(*args) - - lockGL = staticmethod(lockGL) - def unlockGL(*args): - """unlockGL()""" - return _soqt.SoQt_unlockGL(*args) - - unlockGL = staticmethod(unlockGL) - def mainLoop(*args): - """mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - - mainLoop = staticmethod(mainLoop) -SoQt_swigregister = _soqt.SoQt_swigregister -SoQt_swigregister(SoQt) - -def SoQt_init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - SoQt_init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - -def SoQt_exitMainLoop(*args): - """SoQt_exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - -def SoQt_done(*args): - """SoQt_done()""" - return _soqt.SoQt_done(*args) - -def SoQt_getTopLevelWidget(*args): - """SoQt_getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - -def SoQt_getShellWidget(*args): - """SoQt_getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - -def SoQt_show(*args): - """SoQt_show(QWidget widget)""" - return _soqt.SoQt_show(*args) - -def SoQt_hide(*args): - """SoQt_hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - -def SoQt_setWidgetSize(*args): - """SoQt_setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - -def SoQt_getWidgetSize(*args): - """SoQt_getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - -def SoQt_createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - SoQt_createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - -def SoQt_getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - SoQt_getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - -def SoQt_getVersionString(*args): - """SoQt_getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - -def SoQt_getVersionToolkitString(*args): - """SoQt_getVersionToolkitString() -> char""" - return _soqt.SoQt_getVersionToolkitString(*args) - -def SoQt_setFatalErrorHandler(*args): - """SoQt_setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - -def SoQt_isDebugLibrary(*args): - """SoQt_isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - -def SoQt_isCompatible(*args): - """SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - -def SoQt_getABIType(*args): - """SoQt_getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - -def SoQt_lockGL(*args): - """SoQt_lockGL()""" - return _soqt.SoQt_lockGL(*args) - -def SoQt_unlockGL(*args): - """SoQt_unlockGL()""" - return _soqt.SoQt_unlockGL(*args) - -def SoQt_mainLoop(*args): - """SoQt_mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - -class SoQtComponent(SoQtObject): - """Proxy of C++ SoQtComponent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtComponent_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtComponent_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtComponent - __del__ = lambda self : None; - def show(*args): - """show(self)""" - return _soqt.SoQtComponent_show(*args) - - def hide(*args): - """hide(self)""" - return _soqt.SoQtComponent_hide(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setComponentCursor(*args) - - def setWidgetCursor(*args): - """setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - - setWidgetCursor = staticmethod(setWidgetCursor) - def isFullScreen(*args): - """isFullScreen(self) -> SbBool""" - return _soqt.SoQtComponent_isFullScreen(*args) - - def setFullScreen(*args): - """setFullScreen(self, SbBool onoff) -> SbBool""" - return _soqt.SoQtComponent_setFullScreen(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _soqt.SoQtComponent_isVisible(*args) - - def isTopLevelShell(*args): - """isTopLevelShell(self) -> SbBool""" - return _soqt.SoQtComponent_isTopLevelShell(*args) - - def getWidget(*args): - """getWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getWidget(*args) - - def getBaseWidget(*args): - """getBaseWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getBaseWidget(*args) - - def getShellWidget(*args): - """getShellWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getShellWidget(*args) - - def getParentWidget(*args): - """getParentWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getParentWidget(*args) - - def setSize(*args): - """setSize(self, SbVec2s size)""" - return _soqt.SoQtComponent_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _soqt.SoQtComponent_getSize(*args) - - def setTitle(*args): - """setTitle(self, char title)""" - return _soqt.SoQtComponent_setTitle(*args) - - def getTitle(*args): - """getTitle(self) -> char""" - return _soqt.SoQtComponent_getTitle(*args) - - def setIconTitle(*args): - """setIconTitle(self, char title)""" - return _soqt.SoQtComponent_setIconTitle(*args) - - def getIconTitle(*args): - """getIconTitle(self) -> char""" - return _soqt.SoQtComponent_getIconTitle(*args) - - def getWidgetName(*args): - """getWidgetName(self) -> char""" - return _soqt.SoQtComponent_getWidgetName(*args) - - def getClassName(*args): - """getClassName(self) -> char""" - return _soqt.SoQtComponent_getClassName(*args) - - def setWindowCloseCallback(*args): - """ - setWindowCloseCallback(self, SoQtComponentCB func, void user=None) - setWindowCloseCallback(self, SoQtComponentCB func) - """ - return _soqt.SoQtComponent_setWindowCloseCallback(*args) - - def getComponent(*args): - """getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - - getComponent = staticmethod(getComponent) - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtComponent_swigregister = _soqt.SoQtComponent_swigregister -SoQtComponent_swigregister(SoQtComponent) - -def SoQtComponent_initClass(*args): - """SoQtComponent_initClass()""" - return _soqt.SoQtComponent_initClass(*args) - -def SoQtComponent_getClassTypeId(*args): - """SoQtComponent_getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - -def SoQtComponent_setWidgetCursor(*args): - """SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - -def SoQtComponent_getComponent(*args): - """SoQtComponent_getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - -def SoQtComponent_initClasses(*args): - """SoQtComponent_initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - -SO_GL_RGB = _soqt.SO_GL_RGB -SO_GLX_RGB = _soqt.SO_GLX_RGB -SO_GL_DOUBLE = _soqt.SO_GL_DOUBLE -SO_GLX_DOUBLE = _soqt.SO_GLX_DOUBLE -SO_GL_ZBUFFER = _soqt.SO_GL_ZBUFFER -SO_GLX_ZBUFFER = _soqt.SO_GLX_ZBUFFER -SO_GL_OVERLAY = _soqt.SO_GL_OVERLAY -SO_GLX_OVERLAY = _soqt.SO_GLX_OVERLAY -SO_GL_STEREO = _soqt.SO_GL_STEREO -SO_GLX_STEREO = _soqt.SO_GLX_STEREO -class SoQtGLWidget(SoQtComponent): - """Proxy of C++ SoQtGLWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtGLWidget_getTypeId(*args) - - def setBorder(*args): - """setBorder(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setBorder(*args) - - def isBorder(*args): - """isBorder(self) -> SbBool""" - return _soqt.SoQtGLWidget_isBorder(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDoubleBuffer(*args) - - def isDoubleBuffer(*args): - """isDoubleBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDoubleBuffer(*args) - - def setDrawToFrontBufferEnable(*args): - """setDrawToFrontBufferEnable(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDrawToFrontBufferEnable(*args) - - def isDrawToFrontBufferEnable(*args): - """isDrawToFrontBufferEnable(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDrawToFrontBufferEnable(*args) - - def setQuadBufferStereo(*args): - """setQuadBufferStereo(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setQuadBufferStereo(*args) - - def isQuadBufferStereo(*args): - """isQuadBufferStereo(self) -> SbBool""" - return _soqt.SoQtGLWidget_isQuadBufferStereo(*args) - - def setAccumulationBuffer(*args): - """setAccumulationBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAccumulationBuffer(*args) - - def getAccumulationBuffer(*args): - """getAccumulationBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAccumulationBuffer(*args) - - def setStencilBuffer(*args): - """setStencilBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStencilBuffer(*args) - - def getStencilBuffer(*args): - """getStencilBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getStencilBuffer(*args) - - def setAlphaChannel(*args): - """setAlphaChannel(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAlphaChannel(*args) - - def getAlphaChannel(*args): - """getAlphaChannel(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAlphaChannel(*args) - - def setOverlayRender(*args): - """setOverlayRender(self, SbBool onoff)""" - return _soqt.SoQtGLWidget_setOverlayRender(*args) - - def isOverlayRender(*args): - """isOverlayRender(self) -> SbBool""" - return _soqt.SoQtGLWidget_isOverlayRender(*args) - - def setStealFocus(*args): - """setStealFocus(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStealFocus(*args) - - def isStealFocus(*args): - """isStealFocus(self) -> SbBool""" - return _soqt.SoQtGLWidget_isStealFocus(*args) - - def getGLWidget(*args): - """getGLWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getGLWidget(*args) - - def getNormalWidget(*args): - """getNormalWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getNormalWidget(*args) - - def getOverlayWidget(*args): - """getOverlayWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getOverlayWidget(*args) - - def hasOverlayGLArea(*args): - """hasOverlayGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasOverlayGLArea(*args) - - def hasNormalGLArea(*args): - """hasNormalGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasNormalGLArea(*args) - - def getOverlayTransparentPixel(*args): - """getOverlayTransparentPixel(self) -> unsigned long""" - return _soqt.SoQtGLWidget_getOverlayTransparentPixel(*args) - - def getPointSizeLimits(*args): - """getPointSizeLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getPointSizeLimits(*args) - - def getLineWidthLimits(*args): - """getLineWidthLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getLineWidthLimits(*args) - -SoQtGLWidget_swigregister = _soqt.SoQtGLWidget_swigregister -SoQtGLWidget_swigregister(SoQtGLWidget) - -def SoQtGLWidget_initClass(*args): - """SoQtGLWidget_initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - -def SoQtGLWidget_getClassTypeId(*args): - """SoQtGLWidget_getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - -class SoQtRenderArea(SoQtGLWidget): - """Proxy of C++ SoQtRenderArea class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtRenderArea_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1, SbBool keyboardInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None) -> SoQtRenderArea - __init__(self, QWidget parent=None) -> SoQtRenderArea - __init__(self) -> SoQtRenderArea - """ - this = _soqt.new_SoQtRenderArea(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtRenderArea - __del__ = lambda self : None; - def setSceneGraph(*args): - """setSceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getSceneGraph(*args) - - def setOverlaySceneGraph(*args): - """setOverlaySceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setOverlaySceneGraph(*args) - - def getOverlaySceneGraph(*args): - """getOverlaySceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getOverlaySceneGraph(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _soqt.SoQtRenderArea_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _soqt.SoQtRenderArea_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getBackgroundIndex(*args) - - def setOverlayBackgroundIndex(*args): - """setOverlayBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setOverlayBackgroundIndex(*args) - - def getOverlayBackgroundIndex(*args): - """getOverlayBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getOverlayBackgroundIndex(*args) - - def setColorMap(*args): - """setColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setColorMap(*args) - - def setOverlayColorMap(*args): - """setOverlayColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setOverlayColorMap(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _soqt.SoQtRenderArea_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _soqt.SoQtRenderArea_getViewportRegion(*args) - - def setTransparencyType(*args): - """setTransparencyType(self, TransparencyType type)""" - return _soqt.SoQtRenderArea_setTransparencyType(*args) - - def getTransparencyType(*args): - """getTransparencyType(self) -> TransparencyType""" - return _soqt.SoQtRenderArea_getTransparencyType(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_getAntialiasing(*args) - - def setClearBeforeRender(*args): - """ - setClearBeforeRender(self, SbBool enable, SbBool zbEnable=1) - setClearBeforeRender(self, SbBool enable) - """ - return _soqt.SoQtRenderArea_setClearBeforeRender(*args) - - def isClearBeforeRender(*args): - """isClearBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeRender(*args) - - def isClearZBufferBeforeRender(*args): - """isClearZBufferBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearZBufferBeforeRender(*args) - - def setClearBeforeOverlayRender(*args): - """setClearBeforeOverlayRender(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setClearBeforeOverlayRender(*args) - - def isClearBeforeOverlayRender(*args): - """isClearBeforeOverlayRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeOverlayRender(*args) - - def setAutoRedraw(*args): - """setAutoRedraw(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setAutoRedraw(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _soqt.SoQtRenderArea_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _soqt.SoQtRenderArea_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _soqt.SoQtRenderArea_getRedrawPriority(*args) - - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def render(*args): - """render(self)""" - return _soqt.SoQtRenderArea_render(*args) - - def renderOverlay(*args): - """renderOverlay(self)""" - return _soqt.SoQtRenderArea_renderOverlay(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleRedraw(*args) - - def scheduleOverlayRedraw(*args): - """scheduleOverlayRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleOverlayRedraw(*args) - - def redrawOnSelectionChange(*args): - """redrawOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOnSelectionChange(*args) - - def redrawOverlayOnSelectionChange(*args): - """redrawOverlayOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOverlayOnSelectionChange(*args) - - def setSceneManager(*args): - """setSceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setSceneManager(*args) - - def getSceneManager(*args): - """getSceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getSceneManager(*args) - - def setOverlaySceneManager(*args): - """setOverlaySceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setOverlaySceneManager(*args) - - def getOverlaySceneManager(*args): - """getOverlaySceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getOverlaySceneManager(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getGLRenderAction(*args) - - def setOverlayGLRenderAction(*args): - """setOverlayGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setOverlayGLRenderAction(*args) - - def getOverlayGLRenderAction(*args): - """getOverlayGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getOverlayGLRenderAction(*args) - - def sendSoEvent(*args): - """sendSoEvent(self, SoEvent event) -> SbBool""" - return _soqt.SoQtRenderArea_sendSoEvent(*args) - - def registerDevice(*args): - """registerDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_registerDevice(*args) - - def unregisterDevice(*args): - """unregisterDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_unregisterDevice(*args) - - def setEventCallback(*args): - """ - setEventCallback(self, SoQtRenderAreaEventCB func, void user=None) - setEventCallback(self, SoQtRenderAreaEventCB func) - setEventCallback(self, PyObject pyfunc, PyObject user=None) - setEventCallback(self, PyObject pyfunc) - """ - return _soqt.SoQtRenderArea_setEventCallback(*args) - -SoQtRenderArea_swigregister = _soqt.SoQtRenderArea_swigregister -SoQtRenderArea_swigregister(SoQtRenderArea) - -def SoQtRenderArea_initClass(*args): - """SoQtRenderArea_initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - -def SoQtRenderArea_getClassTypeId(*args): - """SoQtRenderArea_getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - -def SoQtRenderArea_createInstance(*args): - """SoQtRenderArea_createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - -def SoQtRenderArea_getDefaultRedrawPriority(*args): - """SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - -class SoQtViewer(SoQtRenderArea): - """Proxy of C++ SoQtViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtViewer_getTypeId(*args) - - BROWSER = _soqt.SoQtViewer_BROWSER - EDITOR = _soqt.SoQtViewer_EDITOR - VIEW_AS_IS = _soqt.SoQtViewer_VIEW_AS_IS - VIEW_HIDDEN_LINE = _soqt.SoQtViewer_VIEW_HIDDEN_LINE - VIEW_NO_TEXTURE = _soqt.SoQtViewer_VIEW_NO_TEXTURE - VIEW_LOW_COMPLEXITY = _soqt.SoQtViewer_VIEW_LOW_COMPLEXITY - VIEW_LINE = _soqt.SoQtViewer_VIEW_LINE - VIEW_POINT = _soqt.SoQtViewer_VIEW_POINT - VIEW_BBOX = _soqt.SoQtViewer_VIEW_BBOX - VIEW_LOW_RES_LINE = _soqt.SoQtViewer_VIEW_LOW_RES_LINE - VIEW_LOW_RES_POINT = _soqt.SoQtViewer_VIEW_LOW_RES_POINT - VIEW_SAME_AS_STILL = _soqt.SoQtViewer_VIEW_SAME_AS_STILL - VIEW_WIREFRAME_OVERLAY = _soqt.SoQtViewer_VIEW_WIREFRAME_OVERLAY - STILL = _soqt.SoQtViewer_STILL - INTERACTIVE = _soqt.SoQtViewer_INTERACTIVE - BUFFER_SINGLE = _soqt.SoQtViewer_BUFFER_SINGLE - BUFFER_DOUBLE = _soqt.SoQtViewer_BUFFER_DOUBLE - BUFFER_INTERACTIVE = _soqt.SoQtViewer_BUFFER_INTERACTIVE - VARIABLE_NEAR_PLANE = _soqt.SoQtViewer_VARIABLE_NEAR_PLANE - CONSTANT_NEAR_PLANE = _soqt.SoQtViewer_CONSTANT_NEAR_PLANE - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtViewer_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _soqt.SoQtViewer_getCamera(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtViewer_setCameraType(*args) - - def getCameraType(*args): - """getCameraType(self) -> SoType""" - return _soqt.SoQtViewer_getCameraType(*args) - - def toggleCameraType(*args): - """toggleCameraType(self)""" - return _soqt.SoQtViewer_toggleCameraType(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtViewer_viewAll(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtViewer_resetToHomePosition(*args) - - def setHeadlight(*args): - """setHeadlight(self, SbBool enable)""" - return _soqt.SoQtViewer_setHeadlight(*args) - - def isHeadlight(*args): - """isHeadlight(self) -> SbBool""" - return _soqt.SoQtViewer_isHeadlight(*args) - - def getHeadlight(*args): - """getHeadlight(self) -> SoDirectionalLight""" - return _soqt.SoQtViewer_getHeadlight(*args) - - def setDrawStyle(*args): - """setDrawStyle(self, DrawType type, DrawStyle style)""" - return _soqt.SoQtViewer_setDrawStyle(*args) - - def getDrawStyle(*args): - """getDrawStyle(self, DrawType type) -> DrawStyle""" - return _soqt.SoQtViewer_getDrawStyle(*args) - - def setBufferingType(*args): - """setBufferingType(self, BufferType type)""" - return _soqt.SoQtViewer_setBufferingType(*args) - - def getBufferingType(*args): - """getBufferingType(self) -> BufferType""" - return _soqt.SoQtViewer_getBufferingType(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setViewing(*args) - - def isViewing(*args): - """isViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isViewing(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtViewer_setCursorEnabled(*args) - - def isCursorEnabled(*args): - """isCursorEnabled(self) -> SbBool""" - return _soqt.SoQtViewer_isCursorEnabled(*args) - - def setAutoClipping(*args): - """setAutoClipping(self, SbBool enable)""" - return _soqt.SoQtViewer_setAutoClipping(*args) - - def isAutoClipping(*args): - """isAutoClipping(self) -> SbBool""" - return _soqt.SoQtViewer_isAutoClipping(*args) - - def setAutoClippingStrategy(*args): - """ - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None, - void cbuserdata=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6) - setAutoClippingStrategy(self, AutoClippingStrategy strategy) - """ - return _soqt.SoQtViewer_setAutoClippingStrategy(*args) - - def setStereoViewing(*args): - """setStereoViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setStereoViewing(*args) - - def isStereoViewing(*args): - """isStereoViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isStereoViewing(*args) - - def setStereoOffset(*args): - """setStereoOffset(self, float dist)""" - return _soqt.SoQtViewer_setStereoOffset(*args) - - def getStereoOffset(*args): - """getStereoOffset(self) -> float""" - return _soqt.SoQtViewer_getStereoOffset(*args) - - STEREO_NONE = _soqt.SoQtViewer_STEREO_NONE - STEREO_ANAGLYPH = _soqt.SoQtViewer_STEREO_ANAGLYPH - STEREO_QUADBUFFER = _soqt.SoQtViewer_STEREO_QUADBUFFER - STEREO_INTERLEAVED_ROWS = _soqt.SoQtViewer_STEREO_INTERLEAVED_ROWS - STEREO_INTERLEAVED_COLUMNS = _soqt.SoQtViewer_STEREO_INTERLEAVED_COLUMNS - def setStereoType(*args): - """setStereoType(self, StereoType s) -> SbBool""" - return _soqt.SoQtViewer_setStereoType(*args) - - def getStereoType(*args): - """getStereoType(self) -> StereoType""" - return _soqt.SoQtViewer_getStereoType(*args) - - def setAnaglyphStereoColorMasks(*args): - """setAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_setAnaglyphStereoColorMasks(*args) - - def getAnaglyphStereoColorMasks(*args): - """getAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_getAnaglyphStereoColorMasks(*args) - - def setDetailSeek(*args): - """setDetailSeek(self, SbBool enable)""" - return _soqt.SoQtViewer_setDetailSeek(*args) - - def isDetailSeek(*args): - """isDetailSeek(self) -> SbBool""" - return _soqt.SoQtViewer_isDetailSeek(*args) - - def setSeekTime(*args): - """setSeekTime(self, float seconds)""" - return _soqt.SoQtViewer_setSeekTime(*args) - - def getSeekTime(*args): - """getSeekTime(self) -> float""" - return _soqt.SoQtViewer_getSeekTime(*args) - - def addStartCallback(*args): - """ - addStartCallback(self, SoQtViewerCB func, void data=None) - addStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addStartCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoQtViewerCB func, void data=None) - addFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addFinishCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoQtViewerCB func, void data=None) - removeStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeStartCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoQtViewerCB func, void data=None) - removeFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeFinishCallback(*args) - - def setWireframeOverlayColor(*args): - """setWireframeOverlayColor(self, SbColor color)""" - return _soqt.SoQtViewer_setWireframeOverlayColor(*args) - - def getWireframeOverlayColor(*args): - """getWireframeOverlayColor(self) -> SbColor""" - return _soqt.SoQtViewer_getWireframeOverlayColor(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtViewer_setDoubleBuffer(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode root)""" - return _soqt.SoQtViewer_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtViewer_getSceneGraph(*args) - -SoQtViewer_swigregister = _soqt.SoQtViewer_swigregister -SoQtViewer_swigregister(SoQtViewer) - -def SoQtViewer_initClass(*args): - """SoQtViewer_initClass()""" - return _soqt.SoQtViewer_initClass(*args) - -def SoQtViewer_getClassTypeId(*args): - """SoQtViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - -class SoQtFullViewer(SoQtViewer): - """Proxy of C++ SoQtFullViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFullViewer_getTypeId(*args) - - BUILD_NONE = _soqt.SoQtFullViewer_BUILD_NONE - BUILD_DECORATION = _soqt.SoQtFullViewer_BUILD_DECORATION - BUILD_POPUP = _soqt.SoQtFullViewer_BUILD_POPUP - BUILD_ALL = _soqt.SoQtFullViewer_BUILD_ALL - def setDecoration(*args): - """setDecoration(self, SbBool on)""" - return _soqt.SoQtFullViewer_setDecoration(*args) - - def isDecoration(*args): - """isDecoration(self) -> SbBool""" - return _soqt.SoQtFullViewer_isDecoration(*args) - - def setPopupMenuEnabled(*args): - """setPopupMenuEnabled(self, SbBool on)""" - return _soqt.SoQtFullViewer_setPopupMenuEnabled(*args) - - def isPopupMenuEnabled(*args): - """isPopupMenuEnabled(self) -> SbBool""" - return _soqt.SoQtFullViewer_isPopupMenuEnabled(*args) - - def getAppPushButtonParent(*args): - """getAppPushButtonParent(self) -> QWidget""" - return _soqt.SoQtFullViewer_getAppPushButtonParent(*args) - - def addAppPushButton(*args): - """addAppPushButton(self, QWidget newButton)""" - return _soqt.SoQtFullViewer_addAppPushButton(*args) - - def insertAppPushButton(*args): - """insertAppPushButton(self, QWidget newButton, int index)""" - return _soqt.SoQtFullViewer_insertAppPushButton(*args) - - def removeAppPushButton(*args): - """removeAppPushButton(self, QWidget oldButton)""" - return _soqt.SoQtFullViewer_removeAppPushButton(*args) - - def findAppPushButton(*args): - """findAppPushButton(self, QWidget oldButton) -> int""" - return _soqt.SoQtFullViewer_findAppPushButton(*args) - - def lengthAppPushButton(*args): - """lengthAppPushButton(self) -> int""" - return _soqt.SoQtFullViewer_lengthAppPushButton(*args) - - def getRenderAreaWidget(*args): - """getRenderAreaWidget(self) -> QWidget""" - return _soqt.SoQtFullViewer_getRenderAreaWidget(*args) - - def setViewing(*args): - """setViewing(self, SbBool on)""" - return _soqt.SoQtFullViewer_setViewing(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtFullViewer_setComponentCursor(*args) - -SoQtFullViewer_swigregister = _soqt.SoQtFullViewer_swigregister -SoQtFullViewer_swigregister(SoQtFullViewer) - -def SoQtFullViewer_initClass(*args): - """SoQtFullViewer_initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - -def SoQtFullViewer_getClassTypeId(*args): - """SoQtFullViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - -class SoQtPlaneViewer(SoQtFullViewer): - """Proxy of C++ SoQtPlaneViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtPlaneViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtPlaneViewer - __init__(self, QWidget parent=None) -> SoQtPlaneViewer - __init__(self) -> SoQtPlaneViewer - """ - this = _soqt.new_SoQtPlaneViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtPlaneViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtPlaneViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setCursorEnabled(*args) - -SoQtPlaneViewer_swigregister = _soqt.SoQtPlaneViewer_swigregister -SoQtPlaneViewer_swigregister(SoQtPlaneViewer) - -def SoQtPlaneViewer_initClass(*args): - """SoQtPlaneViewer_initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - -def SoQtPlaneViewer_getClassTypeId(*args): - """SoQtPlaneViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - -def SoQtPlaneViewer_createInstance(*args): - """SoQtPlaneViewer_createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - -class SoQtExaminerViewer(SoQtFullViewer): - """Proxy of C++ SoQtExaminerViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtExaminerViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtExaminerViewer - __init__(self, QWidget parent=None) -> SoQtExaminerViewer - __init__(self) -> SoQtExaminerViewer - """ - this = _soqt.new_SoQtExaminerViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtExaminerViewer - __del__ = lambda self : None; - def setAnimationEnabled(*args): - """setAnimationEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setAnimationEnabled(*args) - - def isAnimationEnabled(*args): - """isAnimationEnabled(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimationEnabled(*args) - - def stopAnimating(*args): - """stopAnimating(self)""" - return _soqt.SoQtExaminerViewer_stopAnimating(*args) - - def isAnimating(*args): - """isAnimating(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimating(*args) - - def setFeedbackVisibility(*args): - """setFeedbackVisibility(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setFeedbackVisibility(*args) - - def isFeedbackVisible(*args): - """isFeedbackVisible(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isFeedbackVisible(*args) - - def setFeedbackSize(*args): - """setFeedbackSize(self, int size)""" - return _soqt.SoQtExaminerViewer_setFeedbackSize(*args) - - def getFeedbackSize(*args): - """getFeedbackSize(self) -> int""" - return _soqt.SoQtExaminerViewer_getFeedbackSize(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtExaminerViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setCursorEnabled(*args) - -SoQtExaminerViewer_swigregister = _soqt.SoQtExaminerViewer_swigregister -SoQtExaminerViewer_swigregister(SoQtExaminerViewer) - -def SoQtExaminerViewer_initClass(*args): - """SoQtExaminerViewer_initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - -def SoQtExaminerViewer_getClassTypeId(*args): - """SoQtExaminerViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - -def SoQtExaminerViewer_createInstance(*args): - """SoQtExaminerViewer_createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - -class SoQtConstrainedViewer(SoQtFullViewer): - """Proxy of C++ SoQtConstrainedViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtConstrainedViewer_getTypeId(*args) - - def setUpDirection(*args): - """setUpDirection(self, SbVec3f dir)""" - return _soqt.SoQtConstrainedViewer_setUpDirection(*args) - - def getUpDirection(*args): - """getUpDirection(self) -> SbVec3f""" - return _soqt.SoQtConstrainedViewer_getUpDirection(*args) - - def setCamera(*args): - """setCamera(self, SoCamera newcam)""" - return _soqt.SoQtConstrainedViewer_setCamera(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_resetToHomePosition(*args) - -SoQtConstrainedViewer_swigregister = _soqt.SoQtConstrainedViewer_swigregister -SoQtConstrainedViewer_swigregister(SoQtConstrainedViewer) - -def SoQtConstrainedViewer_initClass(*args): - """SoQtConstrainedViewer_initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - -def SoQtConstrainedViewer_getClassTypeId(*args): - """SoQtConstrainedViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - -class SoQtFlyViewer(SoQtConstrainedViewer): - """Proxy of C++ SoQtFlyViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFlyViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtFlyViewer - __init__(self, QWidget parent=None) -> SoQtFlyViewer - __init__(self) -> SoQtFlyViewer - """ - this = _soqt.new_SoQtFlyViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtFlyViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setViewing(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtFlyViewer_viewAll(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtFlyViewer_resetToHomePosition(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtFlyViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setCursorEnabled(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtFlyViewer_setCameraType(*args) - -SoQtFlyViewer_swigregister = _soqt.SoQtFlyViewer_swigregister -SoQtFlyViewer_swigregister(SoQtFlyViewer) - -def SoQtFlyViewer_initClass(*args): - """SoQtFlyViewer_initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - -def SoQtFlyViewer_getClassTypeId(*args): - """SoQtFlyViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - -def SoQtFlyViewer_createInstance(*args): - """SoQtFlyViewer_createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - -class SoQtPopupMenu(object): - """Proxy of C++ SoQtPopupMenu class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def createInstance(*args): - """createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - - createInstance = staticmethod(createInstance) - __swig_destroy__ = _soqt.delete_SoQtPopupMenu - __del__ = lambda self : None; - def newMenu(*args): - """ - newMenu(self, char name, int menuid=-1) -> int - newMenu(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenu(*args) - - def getMenu(*args): - """getMenu(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenu(*args) - - def setMenuTitle(*args): - """setMenuTitle(self, int id, char title)""" - return _soqt.SoQtPopupMenu_setMenuTitle(*args) - - def getMenuTitle(*args): - """getMenuTitle(self, int id) -> char""" - return _soqt.SoQtPopupMenu_getMenuTitle(*args) - - def newMenuItem(*args): - """ - newMenuItem(self, char name, int itemid=-1) -> int - newMenuItem(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenuItem(*args) - - def getMenuItem(*args): - """getMenuItem(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenuItem(*args) - - def setMenuItemTitle(*args): - """setMenuItemTitle(self, int itemid, char title)""" - return _soqt.SoQtPopupMenu_setMenuItemTitle(*args) - - def getMenuItemTitle(*args): - """getMenuItemTitle(self, int itemid) -> char""" - return _soqt.SoQtPopupMenu_getMenuItemTitle(*args) - - def setMenuItemEnabled(*args): - """setMenuItemEnabled(self, int itemid, SbBool enabled)""" - return _soqt.SoQtPopupMenu_setMenuItemEnabled(*args) - - def getMenuItemEnabled(*args): - """getMenuItemEnabled(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemEnabled(*args) - - def setMenuItemMarked(*args): - """setMenuItemMarked(self, int itemid, SbBool marked)""" - return _soqt.SoQtPopupMenu_setMenuItemMarked(*args) - - def getMenuItemMarked(*args): - """getMenuItemMarked(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemMarked(*args) - - def addMenu(*args): - """ - addMenu(self, int menuid, int submenuid, int pos=-1) - addMenu(self, int menuid, int submenuid) - """ - return _soqt.SoQtPopupMenu_addMenu(*args) - - def addMenuItem(*args): - """ - addMenuItem(self, int menuid, int itemid, int pos=-1) - addMenuItem(self, int menuid, int itemid) - """ - return _soqt.SoQtPopupMenu_addMenuItem(*args) - - def addSeparator(*args): - """ - addSeparator(self, int menuid, int pos=-1) - addSeparator(self, int menuid) - """ - return _soqt.SoQtPopupMenu_addSeparator(*args) - - def removeMenu(*args): - """removeMenu(self, int menuid)""" - return _soqt.SoQtPopupMenu_removeMenu(*args) - - def removeMenuItem(*args): - """removeMenuItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeMenuItem(*args) - - def popUp(*args): - """popUp(self, QWidget inside, int x, int y)""" - return _soqt.SoQtPopupMenu_popUp(*args) - - def newRadioGroup(*args): - """ - newRadioGroup(self, int groupid=-1) -> int - newRadioGroup(self) -> int - """ - return _soqt.SoQtPopupMenu_newRadioGroup(*args) - - def getRadioGroup(*args): - """getRadioGroup(self, int itemid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroup(*args) - - def getRadioGroupSize(*args): - """getRadioGroupSize(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupSize(*args) - - def addRadioGroupItem(*args): - """addRadioGroupItem(self, int groupid, int itemid)""" - return _soqt.SoQtPopupMenu_addRadioGroupItem(*args) - - def removeRadioGroupItem(*args): - """removeRadioGroupItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeRadioGroupItem(*args) - - def setRadioGroupMarkedItem(*args): - """setRadioGroupMarkedItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_setRadioGroupMarkedItem(*args) - - def getRadioGroupMarkedItem(*args): - """getRadioGroupMarkedItem(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupMarkedItem(*args) - - def addMenuSelectionCallback(*args): - """addMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_addMenuSelectionCallback(*args) - - def removeMenuSelectionCallback(*args): - """removeMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_removeMenuSelectionCallback(*args) - -SoQtPopupMenu_swigregister = _soqt.SoQtPopupMenu_swigregister -SoQtPopupMenu_swigregister(SoQtPopupMenu) - -def SoQtPopupMenu_createInstance(*args): - """SoQtPopupMenu_createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - -class SoQtCursor(object): - """Proxy of C++ SoQtCursor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtCursor_initClass(*args) - - initClass = staticmethod(initClass) - CUSTOM_BITMAP = _soqt.SoQtCursor_CUSTOM_BITMAP - DEFAULT = _soqt.SoQtCursor_DEFAULT - BUSY = _soqt.SoQtCursor_BUSY - CROSSHAIR = _soqt.SoQtCursor_CROSSHAIR - UPARROW = _soqt.SoQtCursor_UPARROW - def __init__(self, *args): - """ - __init__(self) -> SoQtCursor - __init__(self, Shape shape) -> SoQtCursor - __init__(self, CustomCursor cc) -> SoQtCursor - __init__(self, SoQtCursor cursor) -> SoQtCursor - """ - this = _soqt.new_SoQtCursor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtCursor - __del__ = lambda self : None; - def getShape(*args): - """getShape(self) -> Shape""" - return _soqt.SoQtCursor_getShape(*args) - - def setShape(*args): - """setShape(self, Shape shape)""" - return _soqt.SoQtCursor_setShape(*args) - - def getCustomCursor(*args): - """getCustomCursor(self) -> CustomCursor""" - return _soqt.SoQtCursor_getCustomCursor(*args) - - def getZoomCursor(*args): - """getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - - getZoomCursor = staticmethod(getZoomCursor) - def getPanCursor(*args): - """getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - - getPanCursor = staticmethod(getPanCursor) - def getRotateCursor(*args): - """getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - - getRotateCursor = staticmethod(getRotateCursor) - def getBlankCursor(*args): - """getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - getBlankCursor = staticmethod(getBlankCursor) -SoQtCursor_swigregister = _soqt.SoQtCursor_swigregister -SoQtCursor_swigregister(SoQtCursor) - -def SoQtCursor_initClass(*args): - """SoQtCursor_initClass()""" - return _soqt.SoQtCursor_initClass(*args) - -def SoQtCursor_getZoomCursor(*args): - """SoQtCursor_getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - -def SoQtCursor_getPanCursor(*args): - """SoQtCursor_getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - -def SoQtCursor_getRotateCursor(*args): - """SoQtCursor_getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - -def SoQtCursor_getBlankCursor(*args): - """SoQtCursor_getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - - diff --git a/src/3rdParty/Pivy-0.5/sogui.py b/src/3rdParty/Pivy-0.5/sogui.py deleted file mode 100644 index c1caef3fd7..0000000000 --- a/src/3rdParty/Pivy-0.5/sogui.py +++ /dev/null @@ -1,207 +0,0 @@ -#!/usr/bin/env python - -### -# Copyright (c) 2002-2008 Kongsberg SIM -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -"""This module provides a proxy class for the different Pivy SoGui bindings. - -The following special variables can be set before this module is imported: - -* SOGUI_DEBUG: if 'True' will print debug output - -* SOGUI_BINDING: allows to specify an SoGui binding (e.g. 'SoQt') explicitly -""" - -import sys - -class SoGui_Proxy: - """Probes for existing SoGui bindings and proxies method - invocations to their SoGui counterparts.""" - - def __init__(self, gui, debug): - self.debug = debug - - # if no binding has been specified check for availability of a known - # one in a defined order Quarter -> SoQt -> SoWin -> SoXt -> SoGtk - if not gui: - try: - sogui = __import__('pivy.gui.soqt').gui.soqt - gui = 'SoQt' - except ImportError: - try: - sogui = __import__('pivy.gui.sowin').gui.sowin - gui = 'SoWin' - except ImportError: - try: - sogui = __import__('pivy.gui.soxt').gui.soxt - gui = 'SoXt' - except ImportError: - try: - sogui = __import__('pivy.gui.sogtk').gui.sogtk - gui = 'SoGtk' - except ImportError: - print 'SoGui proxy error: None of the known Gui bindings were found! Please specify one!' - sys.exit(1) - - # check if object is a user provided string possibly a new unknown SoGui binding. - # try to bind it. - elif type(gui) == type(''): - try: - sogui = getattr(__import__('pivy.gui.' + gui.lower()).gui, gui.lower()) - except ImportError: - print 'SoGui proxy error: The specified Gui binding could not be bound!' - sys.exit(1) - - # get a handle to our global module dictionary - d = sys.modules[self.__module__].__dict__ - - # add references to the possible classes in the corresponding - # SoGui binding to our global (module) namespace - for suffix in ['Cursor', 'Component', 'GLWidget', 'RenderArea', - 'Viewer', 'FullViewer', 'FlyViewer', 'PlaneViewer', - 'Device', 'Keyboard', 'Mouse', - 'ExaminerViewer', 'ConstrainedViewer']: - d['SoGui' + suffix] = eval('sogui.%s%s' % (gui, suffix)) - - self.__gui__ = eval('sogui.' + gui) - - def __getattr__(self, name): - if self.debug: - print 'SoGui_Proxy: __getattr__() called for %s().' % name - return getattr(self.__gui__, name) - - def __repr__(self): - return 'SoGui proxy for ' + `self.__gui__` - - def __hash__(self): - return 0 - - __str__ = __repr__ - -# look for user overrides in the main dictionary of the interpreter -gui, debug = None, False - -if sys.modules.has_key('__main__'): - try: - debug = sys.modules['__main__'].SOGUI_DEBUG - except AttributeError: - pass - - try: - gui = sys.modules['__main__'].SOGUI_BINDING - except AttributeError: - pass - -# if no GUI has been specified try using Quarter -if not gui: - try: - __import__('PyQt4') - quarter = __import__('pivy.quarter').quarter - gui = 'Quarter' - - import PyQt4 - import pivy - - class SoGui(object): - @staticmethod - def init(*args): - SoGui_Quarter_Wrapper.qApp = PyQt4.QtGui.QApplication(sys.argv) - return pivy.quarter.QuarterWidget() - - @staticmethod - def mainLoop(): - SoGui_Quarter_Wrapper.qApp.exec_() - - @staticmethod - def show(mainwindow): - pass - - class SoGuiViewer(object): - BROWSER, EDITOR = range(2) - - VIEW_AS_IS, VIEW_HIDDEN_LINE, VIEW_NO_TEXTURE, \ - VIEW_LOW_COMPLEXITY, VIEW_LINE, VIEW_POINT, VIEW_BBOX, \ - VIEW_LOW_RES_LINE, VIEW_LOW_RES_POINT, VIEW_SAME_AS_STILL, \ - VIEW_WIREFRAME_OVERLAY = range(11) - - STILL, INTERACTIVE = range(2) - BUFFER_SINGLE, BUFFER_DOUBLE, BUFFER_INTERACTIVE = range(3) - VARIABLE_NEAR_PLANE, CONSTANT_NEAR_PLANE = range(2) - - class SoGui_Quarter_Wrapper(object): - """A SoGui QuarterWidget wrapper""" - - def __init__(self, mainwindow): - self._root = None - self.quarterwidget = mainwindow - - def getCamera(self): - rendermgr = self.quarterwidget.getSoRenderManager() - return rendermgr.getCamera() - - def getSize(self): - size = self.quarterwidget.size() - return pivy.coin.SbVec2s((size.width, size.height)) - - def getViewportRegion(self): - return pivy.coin.SbViewportRegion() - - def redrawOnSelectionChange(self, selection): - # FIXME: investigate. 20080509 tamer. - pass - - def setBackgroundColor(self, color): - self.quarterwidget.setBackgroundColor(color) - - def setDrawStyle(self, type, style): - # FIXME: we happily ignore the type. investigate. 20080509 tamer. - rendermgr = self.quarterwidget.getSoRenderManager() - rendermgr.setRenderMode(style) - - def setGLRenderAction(self, renderaction): - rendermgr = self.quarterwidget.getSoRenderManager() - rendermgr.setGLRenderAction(renderaction) - - def setHeadlight(self, onOff): - self.quarterwidget.enableHeadlight(onOff) - - def setOverlaySceneGraph(self, overlay): - # FIXME: investigate. 20080509 tamer. - pass - - def setSceneGraph(self, root): - self.quarterwidget.setSceneGraph(root) - self._root = root - - def setSize(self, size): - self.quarterwidget.resize(size[0], size[1]) - - def setTitle(self, title): - self.quarterwidget.setWindowTitle(title) - - def show(self): - self.quarterwidget.show() - - def viewAll(self): - self.quarterwidget.viewAll() - - SoGuiExaminerViewer = SoGui_Quarter_Wrapper - SoGuiRenderArea = SoGui_Quarter_Wrapper - except ImportError: - # instantiate the SoGui proxy - SoGui = SoGui_Proxy(gui, debug) -else: - SoGui = SoGui_Proxy(gui, debug) diff --git a/src/3rdParty/Pivy-0.5/soqt.py b/src/3rdParty/Pivy-0.5/soqt.py deleted file mode 100644 index 980f502007..0000000000 --- a/src/3rdParty/Pivy-0.5/soqt.py +++ /dev/null @@ -1,2583 +0,0 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.36 -# -# Don't modify this file, modify the SWIG interface instead. - -""" -The soqt module is a wrapper for the SoQt library. The module will try -to import the sip module which is used for PyQt. If found the involved -wrapped Qt structures are converted to ones suitable for PyQt, -otherwise it will fall back to regular SWIG structures. -""" - -import _soqt -import new -new_instancemethod = new.instancemethod -try: - _swig_property = property -except NameError: - pass # Python < 2.2 doesn't have 'property'. -def _swig_setattr_nondynamic(self,class_type,name,value,static=1): - if (name == "thisown"): return self.this.own(value) - if (name == "this"): - if type(value).__name__ == 'PySwigObject': - self.__dict__[name] = value - return - method = class_type.__swig_setmethods__.get(name,None) - if method: return method(self,value) - if (not static) or hasattr(self,name): - self.__dict__[name] = value - else: - raise AttributeError("You cannot add attributes to %s" % self) - -def _swig_setattr(self,class_type,name,value): - return _swig_setattr_nondynamic(self,class_type,name,value,0) - -def _swig_getattr(self,class_type,name): - if (name == "thisown"): return self.this.own() - method = class_type.__swig_getmethods__.get(name,None) - if method: return method(self) - raise AttributeError,name - -def _swig_repr(self): - try: strthis = "proxy of " + self.this.__repr__() - except: strthis = "" - return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) - -import types -try: - _object = types.ObjectType - _newclass = 1 -except AttributeError: - class _object : pass - _newclass = 0 -del types - - -def _swig_setattr_nondynamic_method(set): - def set_attr(self,name,value): - if (name == "thisown"): return self.this.own(value) - if hasattr(self,name) or (name == "this"): - set(self,name,value) - else: - raise AttributeError("You cannot add attributes to %s" % self) - return set_attr - - -class charp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_charp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_charp - __del__ = lambda self : None; - def assign(*args): return _soqt.charp_assign(*args) - def value(*args): return _soqt.charp_value(*args) - def cast(*args): return _soqt.charp_cast(*args) - frompointer = staticmethod(_soqt.charp_frompointer) -charp_swigregister = _soqt.charp_swigregister -charp_swigregister(charp) -cast = _soqt.cast -charp_frompointer = _soqt.charp_frompointer - -class intp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_intp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_intp - __del__ = lambda self : None; - def assign(*args): return _soqt.intp_assign(*args) - def value(*args): return _soqt.intp_value(*args) - def cast(*args): return _soqt.intp_cast(*args) - frompointer = staticmethod(_soqt.intp_frompointer) -intp_swigregister = _soqt.intp_swigregister -intp_swigregister(intp) -intp_frompointer = _soqt.intp_frompointer - -class longp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_longp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_longp - __del__ = lambda self : None; - def assign(*args): return _soqt.longp_assign(*args) - def value(*args): return _soqt.longp_value(*args) - def cast(*args): return _soqt.longp_cast(*args) - frompointer = staticmethod(_soqt.longp_frompointer) -longp_swigregister = _soqt.longp_swigregister -longp_swigregister(longp) -longp_frompointer = _soqt.longp_frompointer - -class floatp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_floatp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_floatp - __del__ = lambda self : None; - def assign(*args): return _soqt.floatp_assign(*args) - def value(*args): return _soqt.floatp_value(*args) - def cast(*args): return _soqt.floatp_cast(*args) - frompointer = staticmethod(_soqt.floatp_frompointer) -floatp_swigregister = _soqt.floatp_swigregister -floatp_swigregister(floatp) -floatp_frompointer = _soqt.floatp_frompointer - -class doublep(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_doublep(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_doublep - __del__ = lambda self : None; - def assign(*args): return _soqt.doublep_assign(*args) - def value(*args): return _soqt.doublep_value(*args) - def cast(*args): return _soqt.doublep_cast(*args) - frompointer = staticmethod(_soqt.doublep_frompointer) -doublep_swigregister = _soqt.doublep_swigregister -doublep_swigregister(doublep) -doublep_frompointer = _soqt.doublep_frompointer - -FALSE = _soqt.FALSE -TRUE = _soqt.TRUE -HAVE_INTTYPES_H = _soqt.HAVE_INTTYPES_H -HAVE_STDINT_H = _soqt.HAVE_STDINT_H -HAVE_SYS_TYPES_H = _soqt.HAVE_SYS_TYPES_H -HAVE_STDDEF_H = _soqt.HAVE_STDDEF_H -HAVE_INT8_T = _soqt.HAVE_INT8_T -HAVE_UINT8_T = _soqt.HAVE_UINT8_T -HAVE_INT16_T = _soqt.HAVE_INT16_T -HAVE_UINT16_T = _soqt.HAVE_UINT16_T -HAVE_INT32_T = _soqt.HAVE_INT32_T -HAVE_UINT32_T = _soqt.HAVE_UINT32_T -HAVE_INT64_T = _soqt.HAVE_INT64_T -HAVE_UINT64_T = _soqt.HAVE_UINT64_T -HAVE_INTPTR_T = _soqt.HAVE_INTPTR_T -HAVE_UINTPTR_T = _soqt.HAVE_UINTPTR_T -M_E = _soqt.M_E -M_LOG2E = _soqt.M_LOG2E -M_LOG10E = _soqt.M_LOG10E -M_LN2 = _soqt.M_LN2 -M_LN10 = _soqt.M_LN10 -M_PI = _soqt.M_PI -M_TWOPI = _soqt.M_TWOPI -M_PI_2 = _soqt.M_PI_2 -M_PI_4 = _soqt.M_PI_4 -M_3PI_4 = _soqt.M_3PI_4 -M_SQRTPI = _soqt.M_SQRTPI -M_1_PI = _soqt.M_1_PI -M_2_PI = _soqt.M_2_PI -M_2_SQRTPI = _soqt.M_2_SQRTPI -M_SQRT2 = _soqt.M_SQRT2 -M_SQRT1_2 = _soqt.M_SQRT1_2 -M_LN2LO = _soqt.M_LN2LO -M_LN2HI = _soqt.M_LN2HI -M_SQRT3 = _soqt.M_SQRT3 -M_IVLN10 = _soqt.M_IVLN10 -M_LOG2_E = _soqt.M_LOG2_E -M_INVLN2 = _soqt.M_INVLN2 -COIN_MAJOR_VERSION = _soqt.COIN_MAJOR_VERSION -COIN_MINOR_VERSION = _soqt.COIN_MINOR_VERSION -COIN_MICRO_VERSION = _soqt.COIN_MICRO_VERSION -COIN_VERSION = _soqt.COIN_VERSION -HAVE_HASH_QUOTING = _soqt.HAVE_HASH_QUOTING -SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SUN_CC_4_0_SOTYPE_INIT_BUG -class SbDict(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbDict(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbDict - __del__ = lambda self : None; - def applyToAll(*args): return _soqt.SbDict_applyToAll(*args) - def clear(*args): return _soqt.SbDict_clear(*args) - def enter(*args): return _soqt.SbDict_enter(*args) - def find(*args): return _soqt.SbDict_find(*args) - def makePList(*args): return _soqt.SbDict_makePList(*args) - def remove(*args): return _soqt.SbDict_remove(*args) - def setHashingFunction(*args): return _soqt.SbDict_setHashingFunction(*args) -SbDict_swigregister = _soqt.SbDict_swigregister -SbDict_swigregister(SbDict) - -class SoType(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - fromName = staticmethod(_soqt.SoType_fromName) - def getName(*args): return _soqt.SoType_getName(*args) - def getParent(*args): return _soqt.SoType_getParent(*args) - def isDerivedFrom(*args): return _soqt.SoType_isDerivedFrom(*args) - getAllDerivedFrom = staticmethod(_soqt.SoType_getAllDerivedFrom) - def canCreateInstance(*args): return _soqt.SoType_canCreateInstance(*args) - def getData(*args): return _soqt.SoType_getData(*args) - def getKey(*args): return _soqt.SoType_getKey(*args) - def __eq__(*args): return _soqt.SoType___eq__(*args) - def __ne__(*args): return _soqt.SoType___ne__(*args) - def __lt__(*args): return _soqt.SoType___lt__(*args) - def __le__(*args): return _soqt.SoType___le__(*args) - def __ge__(*args): return _soqt.SoType___ge__(*args) - def __gt__(*args): return _soqt.SoType___gt__(*args) - removeType = staticmethod(_soqt.SoType_removeType) - init = staticmethod(_soqt.SoType_init) - fromKey = staticmethod(_soqt.SoType_fromKey) - badType = staticmethod(_soqt.SoType_badType) - def isBad(*args): return _soqt.SoType_isBad(*args) - def makeInternal(*args): return _soqt.SoType_makeInternal(*args) - def isInternal(*args): return _soqt.SoType_isInternal(*args) - getNumTypes = staticmethod(_soqt.SoType_getNumTypes) - def getInstantiationMethod(*args): return _soqt.SoType_getInstantiationMethod(*args) - def createInstance(*args): return _soqt.SoType_createInstance(*args) - def __init__(self, *args): - """__init__(self) -> SoType""" - this = _soqt.new_SoType(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoType - __del__ = lambda self : None; -SoType_swigregister = _soqt.SoType_swigregister -SoType_swigregister(SoType) -SoType_fromName = _soqt.SoType_fromName -SoType_getAllDerivedFrom = _soqt.SoType_getAllDerivedFrom -SoType_removeType = _soqt.SoType_removeType -SoType_init = _soqt.SoType_init -SoType_fromKey = _soqt.SoType_fromKey -SoType_badType = _soqt.SoType_badType -SoType_getNumTypes = _soqt.SoType_getNumTypes - -class SbPList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbPList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbPList - __del__ = lambda self : None; - def copy(*args): return _soqt.SbPList_copy(*args) - def fit(*args): return _soqt.SbPList_fit(*args) - def append(*args): return _soqt.SbPList_append(*args) - def find(*args): return _soqt.SbPList_find(*args) - def insert(*args): return _soqt.SbPList_insert(*args) - def removeItem(*args): return _soqt.SbPList_removeItem(*args) - def remove(*args): return _soqt.SbPList_remove(*args) - def removeFast(*args): return _soqt.SbPList_removeFast(*args) - def getLength(*args): return _soqt.SbPList_getLength(*args) - def truncate(*args): return _soqt.SbPList_truncate(*args) - def getArrayPtr(*args): return _soqt.SbPList_getArrayPtr(*args) - def __eq__(*args): return _soqt.SbPList___eq__(*args) - def __ne__(*args): return _soqt.SbPList___ne__(*args) - def get(*args): return _soqt.SbPList_get(*args) - def set(*args): return _soqt.SbPList_set(*args) - def __getitem__(*args): return _soqt.SbPList___getitem__(*args) - def __setitem__(*args): return _soqt.SbPList___setitem__(*args) - def __iter__(self): - for i in range(self.getLength()): - yield self[i] - -SbPList_swigregister = _soqt.SbPList_swigregister -SbPList_swigregister(SbPList) - -class SbIntList(SbPList): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbIntList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SbIntList_append(*args) - def find(*args): return _soqt.SbIntList_find(*args) - def insert(*args): return _soqt.SbIntList_insert(*args) - def __setitem__(*args): return _soqt.SbIntList___setitem__(*args) - def __getitem__(*args): return _soqt.SbIntList___getitem__(*args) - def get(*args): return _soqt.SbIntList_get(*args) - __swig_destroy__ = _soqt.delete_SbIntList - __del__ = lambda self : None; -SbIntList_swigregister = _soqt.SbIntList_swigregister -SbIntList_swigregister(SbIntList) - -class SbString(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbString - __del__ = lambda self : None; - hash = staticmethod(_soqt.SbString_hash) - def getLength(*args): return _soqt.SbString_getLength(*args) - def makeEmpty(*args): return _soqt.SbString_makeEmpty(*args) - def getString(*args): return _soqt.SbString_getString(*args) - def getSubString(*args): return _soqt.SbString_getSubString(*args) - def deleteSubString(*args): return _soqt.SbString_deleteSubString(*args) - def addIntString(*args): return _soqt.SbString_addIntString(*args) - def __iadd__(*args): return _soqt.SbString___iadd__(*args) - def compareSubString(*args): return _soqt.SbString_compareSubString(*args) - def sprintf(*args): return _soqt.SbString_sprintf(*args) - def apply(*args): return _soqt.SbString_apply(*args) - def find(*args): return _soqt.SbString_find(*args) - def findAll(*args): return _soqt.SbString_findAll(*args) - def lower(*args): return _soqt.SbString_lower(*args) - def upper(*args): return _soqt.SbString_upper(*args) - def __eq__(*args): return _soqt.SbString___eq__(*args) - def __nq__(*args): return _soqt.SbString___nq__(*args) - def __getitem__(*args): return _soqt.SbString___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbString___repr__(*args) -SbString_swigregister = _soqt.SbString_swigregister -SbString_swigregister(SbString) -SbString_hash = _soqt.SbString_hash - -class SbName(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbName - __del__ = lambda self : None; - def getString(*args): return _soqt.SbName_getString(*args) - def getLength(*args): return _soqt.SbName_getLength(*args) - isIdentStartChar = staticmethod(_soqt.SbName_isIdentStartChar) - isIdentChar = staticmethod(_soqt.SbName_isIdentChar) - isBaseNameStartChar = staticmethod(_soqt.SbName_isBaseNameStartChar) - isBaseNameChar = staticmethod(_soqt.SbName_isBaseNameChar) - empty = staticmethod(_soqt.SbName_empty) - def __eq__(*args): return _soqt.SbName___eq__(*args) - def __nq__(*args): return _soqt.SbName___nq__(*args) - def __getitem__(*args): return _soqt.SbName___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbName___repr__(*args) -SbName_swigregister = _soqt.SbName_swigregister -SbName_swigregister(SbName) -SbName_isIdentStartChar = _soqt.SbName_isIdentStartChar -SbName_isIdentChar = _soqt.SbName_isIdentChar -SbName_isBaseNameStartChar = _soqt.SbName_isBaseNameStartChar -SbName_isBaseNameChar = _soqt.SbName_isBaseNameChar -SbName_empty = _soqt.SbName_empty - -class SoError(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoError - __del__ = lambda self : None; - setHandlerCallback = staticmethod(_soqt.SoError_setHandlerCallback) - getHandlerCallback = staticmethod(_soqt.SoError_getHandlerCallback) - getHandlerData = staticmethod(_soqt.SoError_getHandlerData) - def getDebugString(*args): return _soqt.SoError_getDebugString(*args) - getClassTypeId = staticmethod(_soqt.SoError_getClassTypeId) - def getTypeId(*args): return _soqt.SoError_getTypeId(*args) - def isOfType(*args): return _soqt.SoError_isOfType(*args) - post = staticmethod(_soqt.SoError_post) - getString = staticmethod(_soqt.SoError_getString) - initClass = staticmethod(_soqt.SoError_initClass) - initClasses = staticmethod(_soqt.SoError_initClasses) -SoError_swigregister = _soqt.SoError_swigregister -SoError_swigregister(SoError) -SoError_setHandlerCallback = _soqt.SoError_setHandlerCallback -SoError_getHandlerCallback = _soqt.SoError_getHandlerCallback -SoError_getHandlerData = _soqt.SoError_getHandlerData -SoError_getClassTypeId = _soqt.SoError_getClassTypeId -SoError_post = _soqt.SoError_post -SoError_getString = _soqt.SoError_getString -SoError_initClass = _soqt.SoError_initClass -SoError_initClasses = _soqt.SoError_initClasses - -class SoDebugError(SoError): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ERROR = _soqt.SoDebugError_ERROR - WARNING = _soqt.SoDebugError_WARNING - INFO = _soqt.SoDebugError_INFO - setHandlerCallback = staticmethod(_soqt.SoDebugError_setHandlerCallback) - getHandlerCallback = staticmethod(_soqt.SoDebugError_getHandlerCallback) - getHandlerData = staticmethod(_soqt.SoDebugError_getHandlerData) - getClassTypeId = staticmethod(_soqt.SoDebugError_getClassTypeId) - def getTypeId(*args): return _soqt.SoDebugError_getTypeId(*args) - def getSeverity(*args): return _soqt.SoDebugError_getSeverity(*args) - post = staticmethod(_soqt.SoDebugError_post) - postWarning = staticmethod(_soqt.SoDebugError_postWarning) - postInfo = staticmethod(_soqt.SoDebugError_postInfo) - initClass = staticmethod(_soqt.SoDebugError_initClass) - def __init__(self, *args): - """__init__(self) -> SoDebugError""" - this = _soqt.new_SoDebugError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoDebugError - __del__ = lambda self : None; -SoDebugError_swigregister = _soqt.SoDebugError_swigregister -SoDebugError_swigregister(SoDebugError) -SoDebugError_setHandlerCallback = _soqt.SoDebugError_setHandlerCallback -SoDebugError_getHandlerCallback = _soqt.SoDebugError_getHandlerCallback -SoDebugError_getHandlerData = _soqt.SoDebugError_getHandlerData -SoDebugError_getClassTypeId = _soqt.SoDebugError_getClassTypeId -SoDebugError_post = _soqt.SoDebugError_post -SoDebugError_postWarning = _soqt.SoDebugError_postWarning -SoDebugError_postInfo = _soqt.SoDebugError_postInfo -SoDebugError_initClass = _soqt.SoDebugError_initClass - -class SbVec2s(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbVec2s(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): return _soqt.SbVec2s_setValue(*args) - def getValue(*args): return _soqt.SbVec2s_getValue(*args) - def dot(*args): return _soqt.SbVec2s_dot(*args) - def negate(*args): return _soqt.SbVec2s_negate(*args) - def __imul__(*args): return _soqt.SbVec2s___imul__(*args) - def __idiv__(*args): return _soqt.SbVec2s___idiv__(*args) - def __iadd__(*args): return _soqt.SbVec2s___iadd__(*args) - def __isub__(*args): return _soqt.SbVec2s___isub__(*args) - def __neg__(*args): return _soqt.SbVec2s___neg__(*args) - def output(*args): return _soqt.SbVec2s_output(*args) - def __add__(*args): return _soqt.SbVec2s___add__(*args) - def __sub__(*args): return _soqt.SbVec2s___sub__(*args) - def __mul__(*args): return _soqt.SbVec2s___mul__(*args) - def __rmul__(*args): return _soqt.SbVec2s___rmul__(*args) - def __div__(*args): return _soqt.SbVec2s___div__(*args) - def __eq__(*args): return _soqt.SbVec2s___eq__(*args) - def __nq__(*args): return _soqt.SbVec2s___nq__(*args) - def __getitem__(*args): return _soqt.SbVec2s___getitem__(*args) - def __setitem__(*args): return _soqt.SbVec2s___setitem__(*args) - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _soqt.delete_SbVec2s - __del__ = lambda self : None; -SbVec2s_swigregister = _soqt.SbVec2s_swigregister -SbVec2s_swigregister(SbVec2s) - -class SbTime(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbTime(*args) - try: self.this.append(this) - except: self.this = this - getTimeOfDay = staticmethod(_soqt.SbTime_getTimeOfDay) - def setToTimeOfDay(*args): return _soqt.SbTime_setToTimeOfDay(*args) - zero = staticmethod(_soqt.SbTime_zero) - max = staticmethod(_soqt.SbTime_max) - maxTime = staticmethod(_soqt.SbTime_maxTime) - sleep = staticmethod(_soqt.SbTime_sleep) - def setValue(*args): return _soqt.SbTime_setValue(*args) - def setMsecValue(*args): return _soqt.SbTime_setMsecValue(*args) - def getValue(*args): return _soqt.SbTime_getValue(*args) - def getMsecValue(*args): return _soqt.SbTime_getMsecValue(*args) - def format(*args): return _soqt.SbTime_format(*args) - def formatDate(*args): return _soqt.SbTime_formatDate(*args) - def parsedate(*args): return _soqt.SbTime_parsedate(*args) - def __iadd__(*args): return _soqt.SbTime___iadd__(*args) - def __isub__(*args): return _soqt.SbTime___isub__(*args) - def __neg__(*args): return _soqt.SbTime___neg__(*args) - def __imul__(*args): return _soqt.SbTime___imul__(*args) - def __idiv__(*args): return _soqt.SbTime___idiv__(*args) - def __mod__(*args): return _soqt.SbTime___mod__(*args) - def __eq__(*args): return _soqt.SbTime___eq__(*args) - def __ne__(*args): return _soqt.SbTime___ne__(*args) - def __lt__(*args): return _soqt.SbTime___lt__(*args) - def __gt__(*args): return _soqt.SbTime___gt__(*args) - def __le__(*args): return _soqt.SbTime___le__(*args) - def __ge__(*args): return _soqt.SbTime___ge__(*args) - def output(*args): return _soqt.SbTime_output(*args) - def __add__(*args): return _soqt.SbTime___add__(*args) - def __sub__(*args): return _soqt.SbTime___sub__(*args) - def __mul__(*args): return _soqt.SbTime___mul__(*args) - def __rmul__(*args): return _soqt.SbTime___rmul__(*args) - def __div__(*args): return _soqt.SbTime___div__(*args) - __swig_destroy__ = _soqt.delete_SbTime - __del__ = lambda self : None; -SbTime_swigregister = _soqt.SbTime_swigregister -SbTime_swigregister(SbTime) -SbTime_getTimeOfDay = _soqt.SbTime_getTimeOfDay -SbTime_zero = _soqt.SbTime_zero -SbTime_max = _soqt.SbTime_max -SbTime_maxTime = _soqt.SbTime_maxTime -SbTime_sleep = _soqt.SbTime_sleep - -class SoEvent(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoEvent - __del__ = lambda self : None; - def isOfType(*args): return _soqt.SoEvent_isOfType(*args) - getClassTypeId = staticmethod(_soqt.SoEvent_getClassTypeId) - def getTypeId(*args): return _soqt.SoEvent_getTypeId(*args) - def setTime(*args): return _soqt.SoEvent_setTime(*args) - def getTime(*args): return _soqt.SoEvent_getTime(*args) - def setPosition(*args): return _soqt.SoEvent_setPosition(*args) - def getPosition(*args): return _soqt.SoEvent_getPosition(*args) - def getNormalizedPosition(*args): return _soqt.SoEvent_getNormalizedPosition(*args) - def setShiftDown(*args): return _soqt.SoEvent_setShiftDown(*args) - def wasShiftDown(*args): return _soqt.SoEvent_wasShiftDown(*args) - def setCtrlDown(*args): return _soqt.SoEvent_setCtrlDown(*args) - def wasCtrlDown(*args): return _soqt.SoEvent_wasCtrlDown(*args) - def setAltDown(*args): return _soqt.SoEvent_setAltDown(*args) - def wasAltDown(*args): return _soqt.SoEvent_wasAltDown(*args) - initClass = staticmethod(_soqt.SoEvent_initClass) -SoEvent_swigregister = _soqt.SoEvent_swigregister -SoEvent_swigregister(SoEvent) -SoEvent_getClassTypeId = _soqt.SoEvent_getClassTypeId -SoEvent_initClass = _soqt.SoEvent_initClass - -class SoNotRec(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - CONTAINER = _soqt.SoNotRec_CONTAINER - PARENT = _soqt.SoNotRec_PARENT - SENSOR = _soqt.SoNotRec_SENSOR - FIELD = _soqt.SoNotRec_FIELD - ENGINE = _soqt.SoNotRec_ENGINE - def __init__(self, *args): - this = _soqt.new_SoNotRec(*args) - try: self.this.append(this) - except: self.this = this - def setType(*args): return _soqt.SoNotRec_setType(*args) - def getBase(*args): return _soqt.SoNotRec_getBase(*args) - def getType(*args): return _soqt.SoNotRec_getType(*args) - def getPrevious(*args): return _soqt.SoNotRec_getPrevious(*args) - def setPrevious(*args): return _soqt.SoNotRec_setPrevious(*args) - def output(*args): return _soqt.SoNotRec_output(*args) - __swig_destroy__ = _soqt.delete_SoNotRec - __del__ = lambda self : None; -SoNotRec_swigregister = _soqt.SoNotRec_swigregister -SoNotRec_swigregister(SoNotRec) - -class SoNotList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoNotList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SoNotList_append(*args) - def setLastType(*args): return _soqt.SoNotList_setLastType(*args) - def getFirstRec(*args): return _soqt.SoNotList_getFirstRec(*args) - def getLastRec(*args): return _soqt.SoNotList_getLastRec(*args) - def getFirstRecAtNode(*args): return _soqt.SoNotList_getFirstRecAtNode(*args) - def getLastField(*args): return _soqt.SoNotList_getLastField(*args) - def getLastEngineOutput(*args): return _soqt.SoNotList_getLastEngineOutput(*args) - def getTimeStamp(*args): return _soqt.SoNotList_getTimeStamp(*args) - def output(*args): return _soqt.SoNotList_output(*args) - __swig_destroy__ = _soqt.delete_SoNotList - __del__ = lambda self : None; -SoNotList_swigregister = _soqt.SoNotList_swigregister -SoNotList_swigregister(SoNotList) - -class SoField(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoField_initClass) - initClasses = staticmethod(_soqt.SoField_initClasses) - cleanupClass = staticmethod(_soqt.SoField_cleanupClass) - def setIgnored(*args): return _soqt.SoField_setIgnored(*args) - def isIgnored(*args): return _soqt.SoField_isIgnored(*args) - def setDefault(*args): return _soqt.SoField_setDefault(*args) - def isDefault(*args): return _soqt.SoField_isDefault(*args) - def getTypeId(*args): return _soqt.SoField_getTypeId(*args) - getClassTypeId = staticmethod(_soqt.SoField_getClassTypeId) - def isOfType(*args): return _soqt.SoField_isOfType(*args) - def enableConnection(*args): return _soqt.SoField_enableConnection(*args) - def isConnectionEnabled(*args): return _soqt.SoField_isConnectionEnabled(*args) - def isConnectedFromEngine(*args): return _soqt.SoField_isConnectedFromEngine(*args) - def getConnectedEngine(*args): return _soqt.SoField_getConnectedEngine(*args) - def connectFrom(*args): return _soqt.SoField_connectFrom(*args) - def appendConnection(*args): return _soqt.SoField_appendConnection(*args) - def isConnectedFromField(*args): return _soqt.SoField_isConnectedFromField(*args) - def getConnectedField(*args): return _soqt.SoField_getConnectedField(*args) - def getNumConnections(*args): return _soqt.SoField_getNumConnections(*args) - def getForwardConnections(*args): return _soqt.SoField_getForwardConnections(*args) - def getConnections(*args): return _soqt.SoField_getConnections(*args) - def disconnect(*args): return _soqt.SoField_disconnect(*args) - def isConnected(*args): return _soqt.SoField_isConnected(*args) - def setContainer(*args): return _soqt.SoField_setContainer(*args) - def getContainer(*args): return _soqt.SoField_getContainer(*args) - def set(*args): return _soqt.SoField_set(*args) - def shouldWrite(*args): return _soqt.SoField_shouldWrite(*args) - def touch(*args): return _soqt.SoField_touch(*args) - def startNotify(*args): return _soqt.SoField_startNotify(*args) - def notify(*args): return _soqt.SoField_notify(*args) - def enableNotify(*args): return _soqt.SoField_enableNotify(*args) - def isNotifyEnabled(*args): return _soqt.SoField_isNotifyEnabled(*args) - def addAuditor(*args): return _soqt.SoField_addAuditor(*args) - def removeAuditor(*args): return _soqt.SoField_removeAuditor(*args) - def __eq__(*args): return _soqt.SoField___eq__(*args) - def __ne__(*args): return _soqt.SoField___ne__(*args) - def connectionStatusChanged(*args): return _soqt.SoField_connectionStatusChanged(*args) - def isReadOnly(*args): return _soqt.SoField_isReadOnly(*args) - def isSame(*args): return _soqt.SoField_isSame(*args) - def copyFrom(*args): return _soqt.SoField_copyFrom(*args) - def fixCopy(*args): return _soqt.SoField_fixCopy(*args) - def referencesCopy(*args): return _soqt.SoField_referencesCopy(*args) - def copyConnection(*args): return _soqt.SoField_copyConnection(*args) - def read(*args): return _soqt.SoField_read(*args) - def write(*args): return _soqt.SoField_write(*args) - def countWriteRefs(*args): return _soqt.SoField_countWriteRefs(*args) - NORMAL_FIELD = _soqt.SoField_NORMAL_FIELD - EVENTIN_FIELD = _soqt.SoField_EVENTIN_FIELD - EVENTOUT_FIELD = _soqt.SoField_EVENTOUT_FIELD - EXPOSED_FIELD = _soqt.SoField_EXPOSED_FIELD - def setFieldType(*args): return _soqt.SoField_setFieldType(*args) - def getFieldType(*args): return _soqt.SoField_getFieldType(*args) - def getDirty(*args): return _soqt.SoField_getDirty(*args) - def setDirty(*args): return _soqt.SoField_setDirty(*args) - def evaluate(*args): return _soqt.SoField_evaluate(*args) - def get(*args): return _soqt.SoField_get(*args) -SoField_swigregister = _soqt.SoField_swigregister -SoField_swigregister(SoField) -SoField_initClass = _soqt.SoField_initClass -SoField_initClasses = _soqt.SoField_initClasses -SoField_cleanupClass = _soqt.SoField_cleanupClass -SoField_getClassTypeId = _soqt.SoField_getClassTypeId - -class SoSField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoSField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoSField_initClass) - getClassTypeId = staticmethod(_soqt.SoSField_getClassTypeId) - atexit_cleanup = staticmethod(_soqt.SoSField_atexit_cleanup) -SoSField_swigregister = _soqt.SoSField_swigregister -SoSField_swigregister(SoSField) -SoSField_initClass = _soqt.SoSField_initClass -SoSField_getClassTypeId = _soqt.SoSField_getClassTypeId -SoSField_atexit_cleanup = _soqt.SoSField_atexit_cleanup - -class SoMField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoMField - __del__ = lambda self : None; - getClassTypeId = staticmethod(_soqt.SoMField_getClassTypeId) - atexit_cleanup = staticmethod(_soqt.SoMField_atexit_cleanup) - def getNum(*args): return _soqt.SoMField_getNum(*args) - def setNum(*args): return _soqt.SoMField_setNum(*args) - def deleteValues(*args): return _soqt.SoMField_deleteValues(*args) - def insertSpace(*args): return _soqt.SoMField_insertSpace(*args) - def set1(*args): return _soqt.SoMField_set1(*args) - initClass = staticmethod(_soqt.SoMField_initClass) - def enableDeleteValues(*args): return _soqt.SoMField_enableDeleteValues(*args) - def isDeleteValuesEnabled(*args): return _soqt.SoMField_isDeleteValuesEnabled(*args) - def __iter__(self): - i = 0 - while i < self.getNum(): - yield self[i] - i += 1 - - def __len__(*args): return _soqt.SoMField___len__(*args) - def get1(*args): return _soqt.SoMField_get1(*args) -SoMField_swigregister = _soqt.SoMField_swigregister -SoMField_swigregister(SoMField) -SoMField_getClassTypeId = _soqt.SoMField_getClassTypeId -SoMField_atexit_cleanup = _soqt.SoMField_atexit_cleanup -SoMField_initClass = _soqt.SoMField_initClass - -import pivy -class QEvent(object): - """Proxy of C++ QEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QEvent - __del__ = lambda self : None; -QEvent_swigregister = _soqt.QEvent_swigregister -QEvent_swigregister(QEvent) - -class QWidget(object): - """Proxy of C++ QWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QWidget - __del__ = lambda self : None; -QWidget_swigregister = _soqt.QWidget_swigregister -QWidget_swigregister(QWidget) - -SOQT_MAJOR_VERSION = _soqt.SOQT_MAJOR_VERSION -SOQT_MINOR_VERSION = _soqt.SOQT_MINOR_VERSION -SOQT_MICRO_VERSION = _soqt.SOQT_MICRO_VERSION -SOQT_VERSION = _soqt.SOQT_VERSION -GUI_TOOLKIT_VERSION = _soqt.GUI_TOOLKIT_VERSION -class SoQtObject(object): - """Proxy of C++ SoQtObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtObject_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtObject_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _soqt.SoQtObject_isOfType(*args) - - def init(*args): - """init()""" - return _soqt.SoQtObject_init(*args) - - init = staticmethod(init) - __swig_destroy__ = _soqt.delete_SoQtObject - __del__ = lambda self : None; -SoQtObject_swigregister = _soqt.SoQtObject_swigregister -SoQtObject_swigregister(SoQtObject) - -def SoQtObject_initClass(*args): - """SoQtObject_initClass()""" - return _soqt.SoQtObject_initClass(*args) - -def SoQtObject_getClassTypeId(*args): - """SoQtObject_getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - -def SoQtObject_init(*args): - """SoQtObject_init()""" - return _soqt.SoQtObject_init(*args) - -SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG -class SoQtDevice(SoQtObject): - """Proxy of C++ SoQtDevice class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtDevice_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtDevice_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtDevice - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_enable(*args) - - def disable(*args): - """disable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtDevice_translateEvent(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s size)""" - return _soqt.SoQtDevice_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _soqt.SoQtDevice_getWindowSize(*args) - - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtDevice_swigregister = _soqt.SoQtDevice_swigregister -SoQtDevice_swigregister(SoQtDevice) - -def SoQtDevice_initClass(*args): - """SoQtDevice_initClass()""" - return _soqt.SoQtDevice_initClass(*args) - -def SoQtDevice_getClassTypeId(*args): - """SoQtDevice_getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - -def SoQtDevice_initClasses(*args): - """SoQtDevice_initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - -class SoQtKeyboard(SoQtDevice): - """Proxy of C++ SoQtKeyboard class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtKeyboard_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - - createInstance = staticmethod(createInstance) - KEY_PRESS = _soqt.SoQtKeyboard_KEY_PRESS - KEY_RELEASE = _soqt.SoQtKeyboard_KEY_RELEASE - ALL_EVENTS = _soqt.SoQtKeyboard_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtKeyboard - __init__(self) -> SoQtKeyboard - """ - this = _soqt.new_SoQtKeyboard(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtKeyboard - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtKeyboard_translateEvent(*args) - -SoQtKeyboard_swigregister = _soqt.SoQtKeyboard_swigregister -SoQtKeyboard_swigregister(SoQtKeyboard) - -def SoQtKeyboard_initClass(*args): - """SoQtKeyboard_initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - -def SoQtKeyboard_getClassTypeId(*args): - """SoQtKeyboard_getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - -def SoQtKeyboard_createInstance(*args): - """SoQtKeyboard_createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - -class SoQtMouse(SoQtDevice): - """Proxy of C++ SoQtMouse class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtMouse_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtMouse_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - - createInstance = staticmethod(createInstance) - BUTTON_PRESS = _soqt.SoQtMouse_BUTTON_PRESS - BUTTON_RELEASE = _soqt.SoQtMouse_BUTTON_RELEASE - POINTER_MOTION = _soqt.SoQtMouse_POINTER_MOTION - BUTTON_MOTION = _soqt.SoQtMouse_BUTTON_MOTION - ALL_EVENTS = _soqt.SoQtMouse_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtMouse - __init__(self) -> SoQtMouse - """ - this = _soqt.new_SoQtMouse(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtMouse - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtMouse_translateEvent(*args) - -SoQtMouse_swigregister = _soqt.SoQtMouse_swigregister -SoQtMouse_swigregister(SoQtMouse) - -def SoQtMouse_initClass(*args): - """SoQtMouse_initClass()""" - return _soqt.SoQtMouse_initClass(*args) - -def SoQtMouse_getClassTypeId(*args): - """SoQtMouse_getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - -def SoQtMouse_createInstance(*args): - """SoQtMouse_createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - -class SoQt(object): - """Proxy of C++ SoQt class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - - init = staticmethod(init) - def exitMainLoop(*args): - """exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - - exitMainLoop = staticmethod(exitMainLoop) - def done(*args): - """done()""" - return _soqt.SoQt_done(*args) - - done = staticmethod(done) - def getTopLevelWidget(*args): - """getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - - getTopLevelWidget = staticmethod(getTopLevelWidget) - def getShellWidget(*args): - """getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - - getShellWidget = staticmethod(getShellWidget) - def show(*args): - """show(QWidget widget)""" - return _soqt.SoQt_show(*args) - - show = staticmethod(show) - def hide(*args): - """hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - - hide = staticmethod(hide) - def setWidgetSize(*args): - """setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - - setWidgetSize = staticmethod(setWidgetSize) - def getWidgetSize(*args): - """getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - - getWidgetSize = staticmethod(getWidgetSize) - def createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - - createSimpleErrorDialog = staticmethod(createSimpleErrorDialog) - def getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - - getVersionInfo = staticmethod(getVersionInfo) - def getVersionString(*args): - """getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - - getVersionString = staticmethod(getVersionString) - def getVersionToolkitString(*args): - """getVersionToolkitString() -> char""" - return _soqt.SoQt_getVersionToolkitString(*args) - - getVersionToolkitString = staticmethod(getVersionToolkitString) - UNSPECIFIED_ERROR = _soqt.SoQt_UNSPECIFIED_ERROR - NO_OPENGL_CANVAS = _soqt.SoQt_NO_OPENGL_CANVAS - INTERNAL_ASSERT = _soqt.SoQt_INTERNAL_ASSERT - def setFatalErrorHandler(*args): - """setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - - setFatalErrorHandler = staticmethod(setFatalErrorHandler) - def isDebugLibrary(*args): - """isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - - isDebugLibrary = staticmethod(isDebugLibrary) - def isCompatible(*args): - """isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - - isCompatible = staticmethod(isCompatible) - DLL = _soqt.SoQt_DLL - LIB = _soqt.SoQt_LIB - UNKNOWN = _soqt.SoQt_UNKNOWN - def getABIType(*args): - """getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - - getABIType = staticmethod(getABIType) - def lockGL(*args): - """lockGL()""" - return _soqt.SoQt_lockGL(*args) - - lockGL = staticmethod(lockGL) - def unlockGL(*args): - """unlockGL()""" - return _soqt.SoQt_unlockGL(*args) - - unlockGL = staticmethod(unlockGL) - def mainLoop(*args): - """mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - - mainLoop = staticmethod(mainLoop) -SoQt_swigregister = _soqt.SoQt_swigregister -SoQt_swigregister(SoQt) - -def SoQt_init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - SoQt_init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - -def SoQt_exitMainLoop(*args): - """SoQt_exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - -def SoQt_done(*args): - """SoQt_done()""" - return _soqt.SoQt_done(*args) - -def SoQt_getTopLevelWidget(*args): - """SoQt_getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - -def SoQt_getShellWidget(*args): - """SoQt_getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - -def SoQt_show(*args): - """SoQt_show(QWidget widget)""" - return _soqt.SoQt_show(*args) - -def SoQt_hide(*args): - """SoQt_hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - -def SoQt_setWidgetSize(*args): - """SoQt_setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - -def SoQt_getWidgetSize(*args): - """SoQt_getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - -def SoQt_createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - SoQt_createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - -def SoQt_getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - SoQt_getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - -def SoQt_getVersionString(*args): - """SoQt_getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - -def SoQt_getVersionToolkitString(*args): - """SoQt_getVersionToolkitString() -> char""" - return _soqt.SoQt_getVersionToolkitString(*args) - -def SoQt_setFatalErrorHandler(*args): - """SoQt_setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - -def SoQt_isDebugLibrary(*args): - """SoQt_isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - -def SoQt_isCompatible(*args): - """SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - -def SoQt_getABIType(*args): - """SoQt_getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - -def SoQt_lockGL(*args): - """SoQt_lockGL()""" - return _soqt.SoQt_lockGL(*args) - -def SoQt_unlockGL(*args): - """SoQt_unlockGL()""" - return _soqt.SoQt_unlockGL(*args) - -def SoQt_mainLoop(*args): - """SoQt_mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - -class SoQtComponent(SoQtObject): - """Proxy of C++ SoQtComponent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtComponent_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtComponent_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtComponent - __del__ = lambda self : None; - def show(*args): - """show(self)""" - return _soqt.SoQtComponent_show(*args) - - def hide(*args): - """hide(self)""" - return _soqt.SoQtComponent_hide(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setComponentCursor(*args) - - def setWidgetCursor(*args): - """setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - - setWidgetCursor = staticmethod(setWidgetCursor) - def isFullScreen(*args): - """isFullScreen(self) -> SbBool""" - return _soqt.SoQtComponent_isFullScreen(*args) - - def setFullScreen(*args): - """setFullScreen(self, SbBool onoff) -> SbBool""" - return _soqt.SoQtComponent_setFullScreen(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _soqt.SoQtComponent_isVisible(*args) - - def isTopLevelShell(*args): - """isTopLevelShell(self) -> SbBool""" - return _soqt.SoQtComponent_isTopLevelShell(*args) - - def getWidget(*args): - """getWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getWidget(*args) - - def getBaseWidget(*args): - """getBaseWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getBaseWidget(*args) - - def getShellWidget(*args): - """getShellWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getShellWidget(*args) - - def getParentWidget(*args): - """getParentWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getParentWidget(*args) - - def setSize(*args): - """setSize(self, SbVec2s size)""" - return _soqt.SoQtComponent_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _soqt.SoQtComponent_getSize(*args) - - def setTitle(*args): - """setTitle(self, char title)""" - return _soqt.SoQtComponent_setTitle(*args) - - def getTitle(*args): - """getTitle(self) -> char""" - return _soqt.SoQtComponent_getTitle(*args) - - def setIconTitle(*args): - """setIconTitle(self, char title)""" - return _soqt.SoQtComponent_setIconTitle(*args) - - def getIconTitle(*args): - """getIconTitle(self) -> char""" - return _soqt.SoQtComponent_getIconTitle(*args) - - def getWidgetName(*args): - """getWidgetName(self) -> char""" - return _soqt.SoQtComponent_getWidgetName(*args) - - def getClassName(*args): - """getClassName(self) -> char""" - return _soqt.SoQtComponent_getClassName(*args) - - def setWindowCloseCallback(*args): - """ - setWindowCloseCallback(self, SoQtComponentCB func, void user=None) - setWindowCloseCallback(self, SoQtComponentCB func) - """ - return _soqt.SoQtComponent_setWindowCloseCallback(*args) - - def getComponent(*args): - """getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - - getComponent = staticmethod(getComponent) - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtComponent_swigregister = _soqt.SoQtComponent_swigregister -SoQtComponent_swigregister(SoQtComponent) - -def SoQtComponent_initClass(*args): - """SoQtComponent_initClass()""" - return _soqt.SoQtComponent_initClass(*args) - -def SoQtComponent_getClassTypeId(*args): - """SoQtComponent_getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - -def SoQtComponent_setWidgetCursor(*args): - """SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - -def SoQtComponent_getComponent(*args): - """SoQtComponent_getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - -def SoQtComponent_initClasses(*args): - """SoQtComponent_initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - -SO_GL_RGB = _soqt.SO_GL_RGB -SO_GLX_RGB = _soqt.SO_GLX_RGB -SO_GL_DOUBLE = _soqt.SO_GL_DOUBLE -SO_GLX_DOUBLE = _soqt.SO_GLX_DOUBLE -SO_GL_ZBUFFER = _soqt.SO_GL_ZBUFFER -SO_GLX_ZBUFFER = _soqt.SO_GLX_ZBUFFER -SO_GL_OVERLAY = _soqt.SO_GL_OVERLAY -SO_GLX_OVERLAY = _soqt.SO_GLX_OVERLAY -SO_GL_STEREO = _soqt.SO_GL_STEREO -SO_GLX_STEREO = _soqt.SO_GLX_STEREO -class SoQtGLWidget(SoQtComponent): - """Proxy of C++ SoQtGLWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtGLWidget_getTypeId(*args) - - def setBorder(*args): - """setBorder(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setBorder(*args) - - def isBorder(*args): - """isBorder(self) -> SbBool""" - return _soqt.SoQtGLWidget_isBorder(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDoubleBuffer(*args) - - def isDoubleBuffer(*args): - """isDoubleBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDoubleBuffer(*args) - - def setDrawToFrontBufferEnable(*args): - """setDrawToFrontBufferEnable(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDrawToFrontBufferEnable(*args) - - def isDrawToFrontBufferEnable(*args): - """isDrawToFrontBufferEnable(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDrawToFrontBufferEnable(*args) - - def setQuadBufferStereo(*args): - """setQuadBufferStereo(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setQuadBufferStereo(*args) - - def isQuadBufferStereo(*args): - """isQuadBufferStereo(self) -> SbBool""" - return _soqt.SoQtGLWidget_isQuadBufferStereo(*args) - - def setAccumulationBuffer(*args): - """setAccumulationBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAccumulationBuffer(*args) - - def getAccumulationBuffer(*args): - """getAccumulationBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAccumulationBuffer(*args) - - def setStencilBuffer(*args): - """setStencilBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStencilBuffer(*args) - - def getStencilBuffer(*args): - """getStencilBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getStencilBuffer(*args) - - def setAlphaChannel(*args): - """setAlphaChannel(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAlphaChannel(*args) - - def getAlphaChannel(*args): - """getAlphaChannel(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAlphaChannel(*args) - - def setOverlayRender(*args): - """setOverlayRender(self, SbBool onoff)""" - return _soqt.SoQtGLWidget_setOverlayRender(*args) - - def isOverlayRender(*args): - """isOverlayRender(self) -> SbBool""" - return _soqt.SoQtGLWidget_isOverlayRender(*args) - - def setStealFocus(*args): - """setStealFocus(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStealFocus(*args) - - def isStealFocus(*args): - """isStealFocus(self) -> SbBool""" - return _soqt.SoQtGLWidget_isStealFocus(*args) - - def getGLWidget(*args): - """getGLWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getGLWidget(*args) - - def getNormalWidget(*args): - """getNormalWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getNormalWidget(*args) - - def getOverlayWidget(*args): - """getOverlayWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getOverlayWidget(*args) - - def hasOverlayGLArea(*args): - """hasOverlayGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasOverlayGLArea(*args) - - def hasNormalGLArea(*args): - """hasNormalGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasNormalGLArea(*args) - - def getOverlayTransparentPixel(*args): - """getOverlayTransparentPixel(self) -> unsigned long""" - return _soqt.SoQtGLWidget_getOverlayTransparentPixel(*args) - - def getPointSizeLimits(*args): - """getPointSizeLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getPointSizeLimits(*args) - - def getLineWidthLimits(*args): - """getLineWidthLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getLineWidthLimits(*args) - -SoQtGLWidget_swigregister = _soqt.SoQtGLWidget_swigregister -SoQtGLWidget_swigregister(SoQtGLWidget) - -def SoQtGLWidget_initClass(*args): - """SoQtGLWidget_initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - -def SoQtGLWidget_getClassTypeId(*args): - """SoQtGLWidget_getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - -class SoQtRenderArea(SoQtGLWidget): - """Proxy of C++ SoQtRenderArea class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtRenderArea_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1, SbBool keyboardInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None) -> SoQtRenderArea - __init__(self, QWidget parent=None) -> SoQtRenderArea - __init__(self) -> SoQtRenderArea - """ - this = _soqt.new_SoQtRenderArea(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtRenderArea - __del__ = lambda self : None; - def setSceneGraph(*args): - """setSceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getSceneGraph(*args) - - def setOverlaySceneGraph(*args): - """setOverlaySceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setOverlaySceneGraph(*args) - - def getOverlaySceneGraph(*args): - """getOverlaySceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getOverlaySceneGraph(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _soqt.SoQtRenderArea_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _soqt.SoQtRenderArea_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getBackgroundIndex(*args) - - def setOverlayBackgroundIndex(*args): - """setOverlayBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setOverlayBackgroundIndex(*args) - - def getOverlayBackgroundIndex(*args): - """getOverlayBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getOverlayBackgroundIndex(*args) - - def setColorMap(*args): - """setColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setColorMap(*args) - - def setOverlayColorMap(*args): - """setOverlayColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setOverlayColorMap(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _soqt.SoQtRenderArea_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _soqt.SoQtRenderArea_getViewportRegion(*args) - - def setTransparencyType(*args): - """setTransparencyType(self, TransparencyType type)""" - return _soqt.SoQtRenderArea_setTransparencyType(*args) - - def getTransparencyType(*args): - """getTransparencyType(self) -> TransparencyType""" - return _soqt.SoQtRenderArea_getTransparencyType(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_getAntialiasing(*args) - - def setClearBeforeRender(*args): - """ - setClearBeforeRender(self, SbBool enable, SbBool zbEnable=1) - setClearBeforeRender(self, SbBool enable) - """ - return _soqt.SoQtRenderArea_setClearBeforeRender(*args) - - def isClearBeforeRender(*args): - """isClearBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeRender(*args) - - def isClearZBufferBeforeRender(*args): - """isClearZBufferBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearZBufferBeforeRender(*args) - - def setClearBeforeOverlayRender(*args): - """setClearBeforeOverlayRender(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setClearBeforeOverlayRender(*args) - - def isClearBeforeOverlayRender(*args): - """isClearBeforeOverlayRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeOverlayRender(*args) - - def setAutoRedraw(*args): - """setAutoRedraw(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setAutoRedraw(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _soqt.SoQtRenderArea_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _soqt.SoQtRenderArea_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _soqt.SoQtRenderArea_getRedrawPriority(*args) - - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def render(*args): - """render(self)""" - return _soqt.SoQtRenderArea_render(*args) - - def renderOverlay(*args): - """renderOverlay(self)""" - return _soqt.SoQtRenderArea_renderOverlay(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleRedraw(*args) - - def scheduleOverlayRedraw(*args): - """scheduleOverlayRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleOverlayRedraw(*args) - - def redrawOnSelectionChange(*args): - """redrawOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOnSelectionChange(*args) - - def redrawOverlayOnSelectionChange(*args): - """redrawOverlayOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOverlayOnSelectionChange(*args) - - def setSceneManager(*args): - """setSceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setSceneManager(*args) - - def getSceneManager(*args): - """getSceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getSceneManager(*args) - - def setOverlaySceneManager(*args): - """setOverlaySceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setOverlaySceneManager(*args) - - def getOverlaySceneManager(*args): - """getOverlaySceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getOverlaySceneManager(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getGLRenderAction(*args) - - def setOverlayGLRenderAction(*args): - """setOverlayGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setOverlayGLRenderAction(*args) - - def getOverlayGLRenderAction(*args): - """getOverlayGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getOverlayGLRenderAction(*args) - - def sendSoEvent(*args): - """sendSoEvent(self, SoEvent event) -> SbBool""" - return _soqt.SoQtRenderArea_sendSoEvent(*args) - - def registerDevice(*args): - """registerDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_registerDevice(*args) - - def unregisterDevice(*args): - """unregisterDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_unregisterDevice(*args) - - def setEventCallback(*args): - """ - setEventCallback(self, SoQtRenderAreaEventCB func, void user=None) - setEventCallback(self, SoQtRenderAreaEventCB func) - setEventCallback(self, PyObject pyfunc, PyObject user=None) - setEventCallback(self, PyObject pyfunc) - """ - return _soqt.SoQtRenderArea_setEventCallback(*args) - -SoQtRenderArea_swigregister = _soqt.SoQtRenderArea_swigregister -SoQtRenderArea_swigregister(SoQtRenderArea) - -def SoQtRenderArea_initClass(*args): - """SoQtRenderArea_initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - -def SoQtRenderArea_getClassTypeId(*args): - """SoQtRenderArea_getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - -def SoQtRenderArea_createInstance(*args): - """SoQtRenderArea_createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - -def SoQtRenderArea_getDefaultRedrawPriority(*args): - """SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - -class SoQtViewer(SoQtRenderArea): - """Proxy of C++ SoQtViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtViewer_getTypeId(*args) - - BROWSER = _soqt.SoQtViewer_BROWSER - EDITOR = _soqt.SoQtViewer_EDITOR - VIEW_AS_IS = _soqt.SoQtViewer_VIEW_AS_IS - VIEW_HIDDEN_LINE = _soqt.SoQtViewer_VIEW_HIDDEN_LINE - VIEW_NO_TEXTURE = _soqt.SoQtViewer_VIEW_NO_TEXTURE - VIEW_LOW_COMPLEXITY = _soqt.SoQtViewer_VIEW_LOW_COMPLEXITY - VIEW_LINE = _soqt.SoQtViewer_VIEW_LINE - VIEW_POINT = _soqt.SoQtViewer_VIEW_POINT - VIEW_BBOX = _soqt.SoQtViewer_VIEW_BBOX - VIEW_LOW_RES_LINE = _soqt.SoQtViewer_VIEW_LOW_RES_LINE - VIEW_LOW_RES_POINT = _soqt.SoQtViewer_VIEW_LOW_RES_POINT - VIEW_SAME_AS_STILL = _soqt.SoQtViewer_VIEW_SAME_AS_STILL - VIEW_WIREFRAME_OVERLAY = _soqt.SoQtViewer_VIEW_WIREFRAME_OVERLAY - STILL = _soqt.SoQtViewer_STILL - INTERACTIVE = _soqt.SoQtViewer_INTERACTIVE - BUFFER_SINGLE = _soqt.SoQtViewer_BUFFER_SINGLE - BUFFER_DOUBLE = _soqt.SoQtViewer_BUFFER_DOUBLE - BUFFER_INTERACTIVE = _soqt.SoQtViewer_BUFFER_INTERACTIVE - VARIABLE_NEAR_PLANE = _soqt.SoQtViewer_VARIABLE_NEAR_PLANE - CONSTANT_NEAR_PLANE = _soqt.SoQtViewer_CONSTANT_NEAR_PLANE - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtViewer_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _soqt.SoQtViewer_getCamera(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtViewer_setCameraType(*args) - - def getCameraType(*args): - """getCameraType(self) -> SoType""" - return _soqt.SoQtViewer_getCameraType(*args) - - def toggleCameraType(*args): - """toggleCameraType(self)""" - return _soqt.SoQtViewer_toggleCameraType(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtViewer_viewAll(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtViewer_resetToHomePosition(*args) - - def setHeadlight(*args): - """setHeadlight(self, SbBool enable)""" - return _soqt.SoQtViewer_setHeadlight(*args) - - def isHeadlight(*args): - """isHeadlight(self) -> SbBool""" - return _soqt.SoQtViewer_isHeadlight(*args) - - def getHeadlight(*args): - """getHeadlight(self) -> SoDirectionalLight""" - return _soqt.SoQtViewer_getHeadlight(*args) - - def setDrawStyle(*args): - """setDrawStyle(self, DrawType type, DrawStyle style)""" - return _soqt.SoQtViewer_setDrawStyle(*args) - - def getDrawStyle(*args): - """getDrawStyle(self, DrawType type) -> DrawStyle""" - return _soqt.SoQtViewer_getDrawStyle(*args) - - def setBufferingType(*args): - """setBufferingType(self, BufferType type)""" - return _soqt.SoQtViewer_setBufferingType(*args) - - def getBufferingType(*args): - """getBufferingType(self) -> BufferType""" - return _soqt.SoQtViewer_getBufferingType(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setViewing(*args) - - def isViewing(*args): - """isViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isViewing(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtViewer_setCursorEnabled(*args) - - def isCursorEnabled(*args): - """isCursorEnabled(self) -> SbBool""" - return _soqt.SoQtViewer_isCursorEnabled(*args) - - def setAutoClipping(*args): - """setAutoClipping(self, SbBool enable)""" - return _soqt.SoQtViewer_setAutoClipping(*args) - - def isAutoClipping(*args): - """isAutoClipping(self) -> SbBool""" - return _soqt.SoQtViewer_isAutoClipping(*args) - - def setAutoClippingStrategy(*args): - """ - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None, - void cbuserdata=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6) - setAutoClippingStrategy(self, AutoClippingStrategy strategy) - """ - return _soqt.SoQtViewer_setAutoClippingStrategy(*args) - - def setStereoViewing(*args): - """setStereoViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setStereoViewing(*args) - - def isStereoViewing(*args): - """isStereoViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isStereoViewing(*args) - - def setStereoOffset(*args): - """setStereoOffset(self, float dist)""" - return _soqt.SoQtViewer_setStereoOffset(*args) - - def getStereoOffset(*args): - """getStereoOffset(self) -> float""" - return _soqt.SoQtViewer_getStereoOffset(*args) - - STEREO_NONE = _soqt.SoQtViewer_STEREO_NONE - STEREO_ANAGLYPH = _soqt.SoQtViewer_STEREO_ANAGLYPH - STEREO_QUADBUFFER = _soqt.SoQtViewer_STEREO_QUADBUFFER - STEREO_INTERLEAVED_ROWS = _soqt.SoQtViewer_STEREO_INTERLEAVED_ROWS - STEREO_INTERLEAVED_COLUMNS = _soqt.SoQtViewer_STEREO_INTERLEAVED_COLUMNS - def setStereoType(*args): - """setStereoType(self, StereoType s) -> SbBool""" - return _soqt.SoQtViewer_setStereoType(*args) - - def getStereoType(*args): - """getStereoType(self) -> StereoType""" - return _soqt.SoQtViewer_getStereoType(*args) - - def setAnaglyphStereoColorMasks(*args): - """setAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_setAnaglyphStereoColorMasks(*args) - - def getAnaglyphStereoColorMasks(*args): - """getAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_getAnaglyphStereoColorMasks(*args) - - def setDetailSeek(*args): - """setDetailSeek(self, SbBool enable)""" - return _soqt.SoQtViewer_setDetailSeek(*args) - - def isDetailSeek(*args): - """isDetailSeek(self) -> SbBool""" - return _soqt.SoQtViewer_isDetailSeek(*args) - - def setSeekTime(*args): - """setSeekTime(self, float seconds)""" - return _soqt.SoQtViewer_setSeekTime(*args) - - def getSeekTime(*args): - """getSeekTime(self) -> float""" - return _soqt.SoQtViewer_getSeekTime(*args) - - def addStartCallback(*args): - """ - addStartCallback(self, SoQtViewerCB func, void data=None) - addStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addStartCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoQtViewerCB func, void data=None) - addFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addFinishCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoQtViewerCB func, void data=None) - removeStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeStartCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoQtViewerCB func, void data=None) - removeFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeFinishCallback(*args) - - def setWireframeOverlayColor(*args): - """setWireframeOverlayColor(self, SbColor color)""" - return _soqt.SoQtViewer_setWireframeOverlayColor(*args) - - def getWireframeOverlayColor(*args): - """getWireframeOverlayColor(self) -> SbColor""" - return _soqt.SoQtViewer_getWireframeOverlayColor(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtViewer_setDoubleBuffer(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode root)""" - return _soqt.SoQtViewer_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtViewer_getSceneGraph(*args) - -SoQtViewer_swigregister = _soqt.SoQtViewer_swigregister -SoQtViewer_swigregister(SoQtViewer) - -def SoQtViewer_initClass(*args): - """SoQtViewer_initClass()""" - return _soqt.SoQtViewer_initClass(*args) - -def SoQtViewer_getClassTypeId(*args): - """SoQtViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - -class SoQtFullViewer(SoQtViewer): - """Proxy of C++ SoQtFullViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFullViewer_getTypeId(*args) - - BUILD_NONE = _soqt.SoQtFullViewer_BUILD_NONE - BUILD_DECORATION = _soqt.SoQtFullViewer_BUILD_DECORATION - BUILD_POPUP = _soqt.SoQtFullViewer_BUILD_POPUP - BUILD_ALL = _soqt.SoQtFullViewer_BUILD_ALL - def setDecoration(*args): - """setDecoration(self, SbBool on)""" - return _soqt.SoQtFullViewer_setDecoration(*args) - - def isDecoration(*args): - """isDecoration(self) -> SbBool""" - return _soqt.SoQtFullViewer_isDecoration(*args) - - def setPopupMenuEnabled(*args): - """setPopupMenuEnabled(self, SbBool on)""" - return _soqt.SoQtFullViewer_setPopupMenuEnabled(*args) - - def isPopupMenuEnabled(*args): - """isPopupMenuEnabled(self) -> SbBool""" - return _soqt.SoQtFullViewer_isPopupMenuEnabled(*args) - - def getAppPushButtonParent(*args): - """getAppPushButtonParent(self) -> QWidget""" - return _soqt.SoQtFullViewer_getAppPushButtonParent(*args) - - def addAppPushButton(*args): - """addAppPushButton(self, QWidget newButton)""" - return _soqt.SoQtFullViewer_addAppPushButton(*args) - - def insertAppPushButton(*args): - """insertAppPushButton(self, QWidget newButton, int index)""" - return _soqt.SoQtFullViewer_insertAppPushButton(*args) - - def removeAppPushButton(*args): - """removeAppPushButton(self, QWidget oldButton)""" - return _soqt.SoQtFullViewer_removeAppPushButton(*args) - - def findAppPushButton(*args): - """findAppPushButton(self, QWidget oldButton) -> int""" - return _soqt.SoQtFullViewer_findAppPushButton(*args) - - def lengthAppPushButton(*args): - """lengthAppPushButton(self) -> int""" - return _soqt.SoQtFullViewer_lengthAppPushButton(*args) - - def getRenderAreaWidget(*args): - """getRenderAreaWidget(self) -> QWidget""" - return _soqt.SoQtFullViewer_getRenderAreaWidget(*args) - - def setViewing(*args): - """setViewing(self, SbBool on)""" - return _soqt.SoQtFullViewer_setViewing(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtFullViewer_setComponentCursor(*args) - -SoQtFullViewer_swigregister = _soqt.SoQtFullViewer_swigregister -SoQtFullViewer_swigregister(SoQtFullViewer) - -def SoQtFullViewer_initClass(*args): - """SoQtFullViewer_initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - -def SoQtFullViewer_getClassTypeId(*args): - """SoQtFullViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - -class SoQtPlaneViewer(SoQtFullViewer): - """Proxy of C++ SoQtPlaneViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtPlaneViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtPlaneViewer - __init__(self, QWidget parent=None) -> SoQtPlaneViewer - __init__(self) -> SoQtPlaneViewer - """ - this = _soqt.new_SoQtPlaneViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtPlaneViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtPlaneViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setCursorEnabled(*args) - -SoQtPlaneViewer_swigregister = _soqt.SoQtPlaneViewer_swigregister -SoQtPlaneViewer_swigregister(SoQtPlaneViewer) - -def SoQtPlaneViewer_initClass(*args): - """SoQtPlaneViewer_initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - -def SoQtPlaneViewer_getClassTypeId(*args): - """SoQtPlaneViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - -def SoQtPlaneViewer_createInstance(*args): - """SoQtPlaneViewer_createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - -class SoQtExaminerViewer(SoQtFullViewer): - """Proxy of C++ SoQtExaminerViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtExaminerViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtExaminerViewer - __init__(self, QWidget parent=None) -> SoQtExaminerViewer - __init__(self) -> SoQtExaminerViewer - """ - this = _soqt.new_SoQtExaminerViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtExaminerViewer - __del__ = lambda self : None; - def setAnimationEnabled(*args): - """setAnimationEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setAnimationEnabled(*args) - - def isAnimationEnabled(*args): - """isAnimationEnabled(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimationEnabled(*args) - - def stopAnimating(*args): - """stopAnimating(self)""" - return _soqt.SoQtExaminerViewer_stopAnimating(*args) - - def isAnimating(*args): - """isAnimating(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimating(*args) - - def setFeedbackVisibility(*args): - """setFeedbackVisibility(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setFeedbackVisibility(*args) - - def isFeedbackVisible(*args): - """isFeedbackVisible(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isFeedbackVisible(*args) - - def setFeedbackSize(*args): - """setFeedbackSize(self, int size)""" - return _soqt.SoQtExaminerViewer_setFeedbackSize(*args) - - def getFeedbackSize(*args): - """getFeedbackSize(self) -> int""" - return _soqt.SoQtExaminerViewer_getFeedbackSize(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtExaminerViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setCursorEnabled(*args) - -SoQtExaminerViewer_swigregister = _soqt.SoQtExaminerViewer_swigregister -SoQtExaminerViewer_swigregister(SoQtExaminerViewer) - -def SoQtExaminerViewer_initClass(*args): - """SoQtExaminerViewer_initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - -def SoQtExaminerViewer_getClassTypeId(*args): - """SoQtExaminerViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - -def SoQtExaminerViewer_createInstance(*args): - """SoQtExaminerViewer_createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - -class SoQtConstrainedViewer(SoQtFullViewer): - """Proxy of C++ SoQtConstrainedViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtConstrainedViewer_getTypeId(*args) - - def setUpDirection(*args): - """setUpDirection(self, SbVec3f dir)""" - return _soqt.SoQtConstrainedViewer_setUpDirection(*args) - - def getUpDirection(*args): - """getUpDirection(self) -> SbVec3f""" - return _soqt.SoQtConstrainedViewer_getUpDirection(*args) - - def setCamera(*args): - """setCamera(self, SoCamera newcam)""" - return _soqt.SoQtConstrainedViewer_setCamera(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_resetToHomePosition(*args) - -SoQtConstrainedViewer_swigregister = _soqt.SoQtConstrainedViewer_swigregister -SoQtConstrainedViewer_swigregister(SoQtConstrainedViewer) - -def SoQtConstrainedViewer_initClass(*args): - """SoQtConstrainedViewer_initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - -def SoQtConstrainedViewer_getClassTypeId(*args): - """SoQtConstrainedViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - -class SoQtFlyViewer(SoQtConstrainedViewer): - """Proxy of C++ SoQtFlyViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFlyViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtFlyViewer - __init__(self, QWidget parent=None) -> SoQtFlyViewer - __init__(self) -> SoQtFlyViewer - """ - this = _soqt.new_SoQtFlyViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtFlyViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setViewing(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtFlyViewer_viewAll(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtFlyViewer_resetToHomePosition(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtFlyViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setCursorEnabled(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtFlyViewer_setCameraType(*args) - -SoQtFlyViewer_swigregister = _soqt.SoQtFlyViewer_swigregister -SoQtFlyViewer_swigregister(SoQtFlyViewer) - -def SoQtFlyViewer_initClass(*args): - """SoQtFlyViewer_initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - -def SoQtFlyViewer_getClassTypeId(*args): - """SoQtFlyViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - -def SoQtFlyViewer_createInstance(*args): - """SoQtFlyViewer_createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - -class SoQtPopupMenu(object): - """Proxy of C++ SoQtPopupMenu class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def createInstance(*args): - """createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - - createInstance = staticmethod(createInstance) - __swig_destroy__ = _soqt.delete_SoQtPopupMenu - __del__ = lambda self : None; - def newMenu(*args): - """ - newMenu(self, char name, int menuid=-1) -> int - newMenu(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenu(*args) - - def getMenu(*args): - """getMenu(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenu(*args) - - def setMenuTitle(*args): - """setMenuTitle(self, int id, char title)""" - return _soqt.SoQtPopupMenu_setMenuTitle(*args) - - def getMenuTitle(*args): - """getMenuTitle(self, int id) -> char""" - return _soqt.SoQtPopupMenu_getMenuTitle(*args) - - def newMenuItem(*args): - """ - newMenuItem(self, char name, int itemid=-1) -> int - newMenuItem(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenuItem(*args) - - def getMenuItem(*args): - """getMenuItem(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenuItem(*args) - - def setMenuItemTitle(*args): - """setMenuItemTitle(self, int itemid, char title)""" - return _soqt.SoQtPopupMenu_setMenuItemTitle(*args) - - def getMenuItemTitle(*args): - """getMenuItemTitle(self, int itemid) -> char""" - return _soqt.SoQtPopupMenu_getMenuItemTitle(*args) - - def setMenuItemEnabled(*args): - """setMenuItemEnabled(self, int itemid, SbBool enabled)""" - return _soqt.SoQtPopupMenu_setMenuItemEnabled(*args) - - def getMenuItemEnabled(*args): - """getMenuItemEnabled(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemEnabled(*args) - - def setMenuItemMarked(*args): - """setMenuItemMarked(self, int itemid, SbBool marked)""" - return _soqt.SoQtPopupMenu_setMenuItemMarked(*args) - - def getMenuItemMarked(*args): - """getMenuItemMarked(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemMarked(*args) - - def addMenu(*args): - """ - addMenu(self, int menuid, int submenuid, int pos=-1) - addMenu(self, int menuid, int submenuid) - """ - return _soqt.SoQtPopupMenu_addMenu(*args) - - def addMenuItem(*args): - """ - addMenuItem(self, int menuid, int itemid, int pos=-1) - addMenuItem(self, int menuid, int itemid) - """ - return _soqt.SoQtPopupMenu_addMenuItem(*args) - - def addSeparator(*args): - """ - addSeparator(self, int menuid, int pos=-1) - addSeparator(self, int menuid) - """ - return _soqt.SoQtPopupMenu_addSeparator(*args) - - def removeMenu(*args): - """removeMenu(self, int menuid)""" - return _soqt.SoQtPopupMenu_removeMenu(*args) - - def removeMenuItem(*args): - """removeMenuItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeMenuItem(*args) - - def popUp(*args): - """popUp(self, QWidget inside, int x, int y)""" - return _soqt.SoQtPopupMenu_popUp(*args) - - def newRadioGroup(*args): - """ - newRadioGroup(self, int groupid=-1) -> int - newRadioGroup(self) -> int - """ - return _soqt.SoQtPopupMenu_newRadioGroup(*args) - - def getRadioGroup(*args): - """getRadioGroup(self, int itemid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroup(*args) - - def getRadioGroupSize(*args): - """getRadioGroupSize(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupSize(*args) - - def addRadioGroupItem(*args): - """addRadioGroupItem(self, int groupid, int itemid)""" - return _soqt.SoQtPopupMenu_addRadioGroupItem(*args) - - def removeRadioGroupItem(*args): - """removeRadioGroupItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeRadioGroupItem(*args) - - def setRadioGroupMarkedItem(*args): - """setRadioGroupMarkedItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_setRadioGroupMarkedItem(*args) - - def getRadioGroupMarkedItem(*args): - """getRadioGroupMarkedItem(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupMarkedItem(*args) - - def addMenuSelectionCallback(*args): - """addMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_addMenuSelectionCallback(*args) - - def removeMenuSelectionCallback(*args): - """removeMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_removeMenuSelectionCallback(*args) - -SoQtPopupMenu_swigregister = _soqt.SoQtPopupMenu_swigregister -SoQtPopupMenu_swigregister(SoQtPopupMenu) - -def SoQtPopupMenu_createInstance(*args): - """SoQtPopupMenu_createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - -class SoQtCursor(object): - """Proxy of C++ SoQtCursor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtCursor_initClass(*args) - - initClass = staticmethod(initClass) - CUSTOM_BITMAP = _soqt.SoQtCursor_CUSTOM_BITMAP - DEFAULT = _soqt.SoQtCursor_DEFAULT - BUSY = _soqt.SoQtCursor_BUSY - CROSSHAIR = _soqt.SoQtCursor_CROSSHAIR - UPARROW = _soqt.SoQtCursor_UPARROW - def __init__(self, *args): - """ - __init__(self) -> SoQtCursor - __init__(self, Shape shape) -> SoQtCursor - __init__(self, CustomCursor cc) -> SoQtCursor - __init__(self, SoQtCursor cursor) -> SoQtCursor - """ - this = _soqt.new_SoQtCursor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtCursor - __del__ = lambda self : None; - def getShape(*args): - """getShape(self) -> Shape""" - return _soqt.SoQtCursor_getShape(*args) - - def setShape(*args): - """setShape(self, Shape shape)""" - return _soqt.SoQtCursor_setShape(*args) - - def getCustomCursor(*args): - """getCustomCursor(self) -> CustomCursor""" - return _soqt.SoQtCursor_getCustomCursor(*args) - - def getZoomCursor(*args): - """getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - - getZoomCursor = staticmethod(getZoomCursor) - def getPanCursor(*args): - """getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - - getPanCursor = staticmethod(getPanCursor) - def getRotateCursor(*args): - """getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - - getRotateCursor = staticmethod(getRotateCursor) - def getBlankCursor(*args): - """getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - getBlankCursor = staticmethod(getBlankCursor) -SoQtCursor_swigregister = _soqt.SoQtCursor_swigregister -SoQtCursor_swigregister(SoQtCursor) - -def SoQtCursor_initClass(*args): - """SoQtCursor_initClass()""" - return _soqt.SoQtCursor_initClass(*args) - -def SoQtCursor_getZoomCursor(*args): - """SoQtCursor_getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - -def SoQtCursor_getPanCursor(*args): - """SoQtCursor_getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - -def SoQtCursor_getRotateCursor(*args): - """SoQtCursor_getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - -def SoQtCursor_getBlankCursor(*args): - """SoQtCursor_getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - - diff --git a/src/3rdParty/Pivy-0.5/soqt_wrap.cpp b/src/3rdParty/Pivy-0.5/soqt_wrap.cpp deleted file mode 100644 index aa50d15447..0000000000 --- a/src/3rdParty/Pivy-0.5/soqt_wrap.cpp +++ /dev/null @@ -1,39728 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.36 - * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. - * ----------------------------------------------------------------------------- */ - -#define SWIGPYTHON -#define SWIG_PYTHON_DIRECTOR_NO_VTABLE - -#ifdef __cplusplus -template class SwigValueWrapper { - T *tt; -public: - SwigValueWrapper() : tt(0) { } - SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { } - SwigValueWrapper(const T& t) : tt(new T(t)) { } - ~SwigValueWrapper() { delete tt; } - SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } - operator T&() const { return *tt; } - T *operator&() { return tt; } -private: - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); -}; - -template T SwigValueInit() { - return T(); -} -#endif - -/* ----------------------------------------------------------------------------- - * This section contains generic SWIG labels for method/variable - * declarations/attributes, and other compiler dependent labels. - * ----------------------------------------------------------------------------- */ - -/* template workaround for compilers that cannot correctly implement the C++ standard */ -#ifndef SWIGTEMPLATEDISAMBIGUATOR -# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) -# define SWIGTEMPLATEDISAMBIGUATOR template -# elif defined(__HP_aCC) -/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ -/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ -# define SWIGTEMPLATEDISAMBIGUATOR template -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif -#endif - -/* inline attribute */ -#ifndef SWIGINLINE -# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -# else -# define SWIGINLINE -# endif -#endif - -/* attribute recognised by some compilers to avoid 'unused' warnings */ -#ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -#endif - -#ifndef SWIG_MSC_UNSUPPRESS_4505 -# if defined(_MSC_VER) -# pragma warning(disable : 4505) /* unreferenced local function has been removed */ -# endif -#endif - -#ifndef SWIGUNUSEDPARM -# ifdef __cplusplus -# define SWIGUNUSEDPARM(p) -# else -# define SWIGUNUSEDPARM(p) p SWIGUNUSED -# endif -#endif - -/* internal SWIG method */ -#ifndef SWIGINTERN -# define SWIGINTERN static SWIGUNUSED -#endif - -/* internal inline SWIG method */ -#ifndef SWIGINTERNINLINE -# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE -#endif - -/* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY -# endif -#endif - -#ifndef SWIGEXPORT -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT -# else -# define SWIGEXPORT __declspec(dllexport) -# endif -# else -# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) -# define SWIGEXPORT __attribute__ ((visibility("default"))) -# else -# define SWIGEXPORT -# endif -# endif -#endif - -/* calling conventions for Windows */ -#ifndef SWIGSTDCALL -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# define SWIGSTDCALL __stdcall -# else -# define SWIGSTDCALL -# endif -#endif - -/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ -#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif - -/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ -#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) -# define _SCL_SECURE_NO_DEPRECATE -#endif - - - -/* Python.h has to appear first */ -#include - -/* ----------------------------------------------------------------------------- - * swigrun.swg - * - * This file contains generic CAPI SWIG runtime support for pointer - * type checking. - * ----------------------------------------------------------------------------- */ - -/* This should only be incremented when either the layout of swig_type_info changes, - or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "4" - -/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ -#ifdef SWIG_TYPE_TABLE -# define SWIG_QUOTE_STRING(x) #x -# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -# define SWIG_TYPE_TABLE_NAME -#endif - -/* - You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for - creating a static or dynamic library from the swig runtime code. - In 99.9% of the cases, swig just needs to declare them as 'static'. - - But only do this if is strictly necessary, ie, if you have problems - with your compiler or so. -*/ - -#ifndef SWIGRUNTIME -# define SWIGRUNTIME SWIGINTERN -#endif - -#ifndef SWIGRUNTIMEINLINE -# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE -#endif - -/* Generic buffer size */ -#ifndef SWIG_BUFFER_SIZE -# define SWIG_BUFFER_SIZE 1024 -#endif - -/* Flags for pointer conversions */ -#define SWIG_POINTER_DISOWN 0x1 -#define SWIG_CAST_NEW_MEMORY 0x2 - -/* Flags for new pointer objects */ -#define SWIG_POINTER_OWN 0x1 - - -/* - Flags/methods for returning states. - - The swig conversion methods, as ConvertPtr, return and integer - that tells if the conversion was successful or not. And if not, - an error code can be returned (see swigerrors.swg for the codes). - - Use the following macros/flags to set or process the returning - states. - - In old swig versions, you usually write code as: - - if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { - // success code - } else { - //fail code - } - - Now you can be more explicit as: - - int res = SWIG_ConvertPtr(obj,vptr,ty.flags); - if (SWIG_IsOK(res)) { - // success code - } else { - // fail code - } - - that seems to be the same, but now you can also do - - Type *ptr; - int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); - if (SWIG_IsOK(res)) { - // success code - if (SWIG_IsNewObj(res) { - ... - delete *ptr; - } else { - ... - } - } else { - // fail code - } - - I.e., now SWIG_ConvertPtr can return new objects and you can - identify the case and take care of the deallocation. Of course that - requires also to SWIG_ConvertPtr to return new result values, as - - int SWIG_ConvertPtr(obj, ptr,...) { - if () { - if () { - *ptr = ; - return SWIG_NEWOBJ; - } else { - *ptr = ; - return SWIG_OLDOBJ; - } - } else { - return SWIG_BADOBJ; - } - } - - Of course, returning the plain '0(success)/-1(fail)' still works, but you can be - more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the - swig errors code. - - Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this - - int food(double) - int fooi(int); - - and you call - - food(1) // cast rank '1' (1 -> 1.0) - fooi(1) // cast rank '0' - - just use the SWIG_AddCast()/SWIG_CheckState() - - - */ -#define SWIG_OK (0) -#define SWIG_ERROR (-1) -#define SWIG_IsOK(r) (r >= 0) -#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) - -/* The CastRankLimit says how many bits are used for the cast rank */ -#define SWIG_CASTRANKLIMIT (1 << 8) -/* The NewMask denotes the object was created (using new/malloc) */ -#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) -/* The TmpMask is for in/out typemaps that use temporal objects */ -#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) -/* Simple returning values */ -#define SWIG_BADOBJ (SWIG_ERROR) -#define SWIG_OLDOBJ (SWIG_OK) -#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) -#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ -#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) -#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) -#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) -#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) -#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) -#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) - - -/* Cast-Rank Mode */ -#if defined(SWIG_CASTRANK_MODE) -# ifndef SWIG_TypeRank -# define SWIG_TypeRank unsigned long -# endif -# ifndef SWIG_MAXCASTRANK /* Default cast allowed */ -# define SWIG_MAXCASTRANK (2) -# endif -# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) -# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) -SWIGINTERNINLINE int SWIG_AddCast(int r) { - return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; -} -SWIGINTERNINLINE int SWIG_CheckState(int r) { - return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; -} -#else /* no cast-rank mode */ -# define SWIG_AddCast -# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) -#endif - - - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef void *(*swig_converter_func)(void *, int *); -typedef struct swig_type_info *(*swig_dycast_func)(void **); - -/* Structure to store information on one type */ -typedef struct swig_type_info { - const char *name; /* mangled name of this type */ - const char *str; /* human readable name of this type */ - swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ - struct swig_cast_info *cast; /* linked list of types that can cast into this type */ - void *clientdata; /* language specific type data */ - int owndata; /* flag if the structure owns the clientdata */ -} swig_type_info; - -/* Structure to store a type and conversion function used for casting */ -typedef struct swig_cast_info { - swig_type_info *type; /* pointer to type that is equivalent to this type */ - swig_converter_func converter; /* function to cast the void pointers */ - struct swig_cast_info *next; /* pointer to next cast in linked list */ - struct swig_cast_info *prev; /* pointer to the previous cast */ -} swig_cast_info; - -/* Structure used to store module information - * Each module generates one structure like this, and the runtime collects - * all of these structures and stores them in a circularly linked list.*/ -typedef struct swig_module_info { - swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ - size_t size; /* Number of types in this module */ - struct swig_module_info *next; /* Pointer to next element in circularly linked list */ - swig_type_info **type_initial; /* Array of initially generated type structures */ - swig_cast_info **cast_initial; /* Array of initially generated casting structures */ - void *clientdata; /* Language specific module data */ -} swig_module_info; - -/* - Compare two type names skipping the space characters, therefore - "char*" == "char *" and "Class" == "Class", etc. - - Return 0 when the two name types are equivalent, as in - strncmp, but skipping ' '. -*/ -SWIGRUNTIME int -SWIG_TypeNameComp(const char *f1, const char *l1, - const char *f2, const char *l2) { - for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { - while ((*f1 == ' ') && (f1 != l1)) ++f1; - while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; - } - return (int)((l1 - f1) - (l2 - f2)); -} - -/* - Check type equivalence in a name list like ||... - Return 0 if not equal, 1 if equal -*/ -SWIGRUNTIME int -SWIG_TypeEquiv(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - -/* - Check type equivalence in a name list like ||... - Return 0 if equal, -1 if nb < tb, 1 if nb > tb -*/ -SWIGRUNTIME int -SWIG_TypeCompare(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - - -/* think of this as a c++ template<> or a scheme macro */ -#define SWIG_TypeCheck_Template(comparison, ty) \ - if (ty) { \ - swig_cast_info *iter = ty->cast; \ - while (iter) { \ - if (comparison) { \ - if (iter == ty->cast) return iter; \ - /* Move iter to the top of the linked list */ \ - iter->prev->next = iter->next; \ - if (iter->next) \ - iter->next->prev = iter->prev; \ - iter->next = ty->cast; \ - iter->prev = 0; \ - if (ty->cast) ty->cast->prev = iter; \ - ty->cast = iter; \ - return iter; \ - } \ - iter = iter->next; \ - } \ - } \ - return 0 - -/* - Check the typename -*/ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheck(const char *c, swig_type_info *ty) { - SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); -} - -/* Same as previous function, except strcmp is replaced with a pointer comparison */ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { - SWIG_TypeCheck_Template(iter->type == from, into); -} - -/* - Cast a pointer up an inheritance hierarchy -*/ -SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { - return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); -} - -/* - Dynamic pointer casting. Down an inheritance hierarchy -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { - swig_type_info *lastty = ty; - if (!ty || !ty->dcast) return ty; - while (ty && (ty->dcast)) { - ty = (*ty->dcast)(ptr); - if (ty) lastty = ty; - } - return lastty; -} - -/* - Return the name associated with this type -*/ -SWIGRUNTIMEINLINE const char * -SWIG_TypeName(const swig_type_info *ty) { - return ty->name; -} - -/* - Return the pretty name associated with this type, - that is an unmangled type name in a form presentable to the user. -*/ -SWIGRUNTIME const char * -SWIG_TypePrettyName(const swig_type_info *type) { - /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ - if (!type) return NULL; - if (type->str != NULL) { - const char *last_name = type->str; - const char *s; - for (s = type->str; *s; s++) - if (*s == '|') last_name = s+1; - return last_name; - } - else - return type->name; -} - -/* - Set the clientdata field for a type -*/ -SWIGRUNTIME void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - swig_cast_info *cast = ti->cast; - /* if (ti->clientdata == clientdata) return; */ - ti->clientdata = clientdata; - - while (cast) { - if (!cast->converter) { - swig_type_info *tc = cast->type; - if (!tc->clientdata) { - SWIG_TypeClientData(tc, clientdata); - } - } - cast = cast->next; - } -} -SWIGRUNTIME void -SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientData(ti, clientdata); - ti->owndata = 1; -} - -/* - Search for a swig_type_info structure only by mangled name - Search is a O(log #types) - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_MangledTypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - swig_module_info *iter = start; - do { - if (iter->size) { - register size_t l = 0; - register size_t r = iter->size - 1; - do { - /* since l+r >= 0, we can (>> 1) instead (/ 2) */ - register size_t i = (l + r) >> 1; - const char *iname = iter->types[i]->name; - if (iname) { - register int compare = strcmp(name, iname); - if (compare == 0) { - return iter->types[i]; - } else if (compare < 0) { - if (i) { - r = i - 1; - } else { - break; - } - } else if (compare > 0) { - l = i + 1; - } - } else { - break; /* should never happen */ - } - } while (l <= r); - } - iter = iter->next; - } while (iter != end); - return 0; -} - -/* - Search for a swig_type_info structure for either a mangled name or a human readable name. - It first searches the mangled names of the types, which is a O(log #types) - If a type is not found it then searches the human readable names, which is O(#types). - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - /* STEP 1: Search the name field using binary search */ - swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); - if (ret) { - return ret; - } else { - /* STEP 2: If the type hasn't been found, do a complete search - of the str field (the human readable name) */ - swig_module_info *iter = start; - do { - register size_t i = 0; - for (; i < iter->size; ++i) { - if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) - return iter->types[i]; - } - iter = iter->next; - } while (iter != end); - } - - /* neither found a match */ - return 0; -} - -/* - Pack binary data into a string -*/ -SWIGRUNTIME char * -SWIG_PackData(char *c, void *ptr, size_t sz) { - static const char hex[17] = "0123456789abcdef"; - register const unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register unsigned char uu = *u; - *(c++) = hex[(uu & 0xf0) >> 4]; - *(c++) = hex[uu & 0xf]; - } - return c; -} - -/* - Unpack binary data from a string -*/ -SWIGRUNTIME const char * -SWIG_UnpackData(const char *c, void *ptr, size_t sz) { - register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register char d = *(c++); - register unsigned char uu; - if ((d >= '0') && (d <= '9')) - uu = ((d - '0') << 4); - else if ((d >= 'a') && (d <= 'f')) - uu = ((d - ('a'-10)) << 4); - else - return (char *) 0; - d = *(c++); - if ((d >= '0') && (d <= '9')) - uu |= (d - '0'); - else if ((d >= 'a') && (d <= 'f')) - uu |= (d - ('a'-10)); - else - return (char *) 0; - *u = uu; - } - return c; -} - -/* - Pack 'void *' into a string buffer. -*/ -SWIGRUNTIME char * -SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { - char *r = buff; - if ((2*sizeof(void *) + 2) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,&ptr,sizeof(void *)); - if (strlen(name) + 1 > (bsz - (r - buff))) return 0; - strcpy(r,name); - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - *ptr = (void *) 0; - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sizeof(void *)); -} - -SWIGRUNTIME char * -SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { - char *r = buff; - size_t lname = (name ? strlen(name) : 0); - if ((2*sz + 2 + lname) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,ptr,sz); - if (lname) { - strncpy(r,name,lname+1); - } else { - *r = 0; - } - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - memset(ptr,0,sz); - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sz); -} - -#ifdef __cplusplus -} -#endif - -/* Errors in SWIG */ -#define SWIG_UnknownError -1 -#define SWIG_IOError -2 -#define SWIG_RuntimeError -3 -#define SWIG_IndexError -4 -#define SWIG_TypeError -5 -#define SWIG_DivisionByZero -6 -#define SWIG_OverflowError -7 -#define SWIG_SyntaxError -8 -#define SWIG_ValueError -9 -#define SWIG_SystemError -10 -#define SWIG_AttributeError -11 -#define SWIG_MemoryError -12 -#define SWIG_NullReferenceError -13 - - - - -/* Add PyOS_snprintf for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) -# define PyOS_snprintf _snprintf -# else -# define PyOS_snprintf snprintf -# endif -#endif - -/* A crude PyString_FromFormat implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 - -#ifndef SWIG_PYBUFFER_SIZE -# define SWIG_PYBUFFER_SIZE 1024 -#endif - -static PyObject * -PyString_FromFormat(const char *fmt, ...) { - va_list ap; - char buf[SWIG_PYBUFFER_SIZE * 2]; - int res; - va_start(ap, fmt); - res = vsnprintf(buf, sizeof(buf), fmt, ap); - va_end(ap); - return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); -} -#endif - -/* Add PyObject_Del for old Pythons */ -#if PY_VERSION_HEX < 0x01060000 -# define PyObject_Del(op) PyMem_DEL((op)) -#endif -#ifndef PyObject_DEL -# define PyObject_DEL PyObject_Del -#endif - -/* A crude PyExc_StopIteration exception for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# ifndef PyExc_StopIteration -# define PyExc_StopIteration PyExc_RuntimeError -# endif -# ifndef PyObject_GenericGetAttr -# define PyObject_GenericGetAttr 0 -# endif -#endif -/* Py_NotImplemented is defined in 2.1 and up. */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef Py_NotImplemented -# define Py_NotImplemented PyExc_RuntimeError -# endif -#endif - - -/* A crude PyString_AsStringAndSize implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef PyString_AsStringAndSize -# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} -# endif -#endif - -/* PySequence_Size for old Pythons */ -#if PY_VERSION_HEX < 0x02000000 -# ifndef PySequence_Size -# define PySequence_Size PySequence_Length -# endif -#endif - - -/* PyBool_FromLong for old Pythons */ -#if PY_VERSION_HEX < 0x02030000 -static -PyObject *PyBool_FromLong(long ok) -{ - PyObject *result = ok ? Py_True : Py_False; - Py_INCREF(result); - return result; -} -#endif - -/* Py_ssize_t for old Pythons */ -/* This code is as recommended by: */ -/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ -#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) -typedef int Py_ssize_t; -# define PY_SSIZE_T_MAX INT_MAX -# define PY_SSIZE_T_MIN INT_MIN -#endif - -/* ----------------------------------------------------------------------------- - * error manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIME PyObject* -SWIG_Python_ErrorType(int code) { - PyObject* type = 0; - switch(code) { - case SWIG_MemoryError: - type = PyExc_MemoryError; - break; - case SWIG_IOError: - type = PyExc_IOError; - break; - case SWIG_RuntimeError: - type = PyExc_RuntimeError; - break; - case SWIG_IndexError: - type = PyExc_IndexError; - break; - case SWIG_TypeError: - type = PyExc_TypeError; - break; - case SWIG_DivisionByZero: - type = PyExc_ZeroDivisionError; - break; - case SWIG_OverflowError: - type = PyExc_OverflowError; - break; - case SWIG_SyntaxError: - type = PyExc_SyntaxError; - break; - case SWIG_ValueError: - type = PyExc_ValueError; - break; - case SWIG_SystemError: - type = PyExc_SystemError; - break; - case SWIG_AttributeError: - type = PyExc_AttributeError; - break; - default: - type = PyExc_RuntimeError; - } - return type; -} - - -SWIGRUNTIME void -SWIG_Python_AddErrorMsg(const char* mesg) -{ - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - - if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - PyErr_Clear(); - Py_XINCREF(type); - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - Py_DECREF(old_str); - Py_DECREF(value); - } else { - PyErr_SetString(PyExc_RuntimeError, mesg); - } -} - - - -#if defined(SWIG_PYTHON_NO_THREADS) -# if defined(SWIG_PYTHON_THREADS) -# undef SWIG_PYTHON_THREADS -# endif -#endif -#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ -# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) -# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ -# define SWIG_PYTHON_USE_GIL -# endif -# endif -# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# ifndef SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() -# endif -# ifdef __cplusplus /* C++ code */ - class SWIG_Python_Thread_Block { - bool status; - PyGILState_STATE state; - public: - void end() { if (status) { PyGILState_Release(state); status = false;} } - SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} - ~SWIG_Python_Thread_Block() { end(); } - }; - class SWIG_Python_Thread_Allow { - bool status; - PyThreadState *save; - public: - void end() { if (status) { PyEval_RestoreThread(save); status = false; }} - SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} - ~SWIG_Python_Thread_Allow() { end(); } - }; -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block -# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow -# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() -# else /* C code */ -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() -# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() -# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) -# endif -# else /* Old thread way, not implemented, user must provide it */ -# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) -# define SWIG_PYTHON_INITIALIZE_THREADS -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_END_BLOCK) -# define SWIG_PYTHON_THREAD_END_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# endif -# if !defined(SWIG_PYTHON_THREAD_END_ALLOW) -# define SWIG_PYTHON_THREAD_END_ALLOW -# endif -# endif -#else /* No thread support */ -# define SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# define SWIG_PYTHON_THREAD_END_BLOCK -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# define SWIG_PYTHON_THREAD_END_ALLOW -#endif - -/* ----------------------------------------------------------------------------- - * Python API portion that goes into the runtime - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* ----------------------------------------------------------------------------- - * Constant declarations - * ----------------------------------------------------------------------------- */ - -/* Constant Types */ -#define SWIG_PY_POINTER 4 -#define SWIG_PY_BINARY 5 - -/* Constant information structure */ -typedef struct swig_const_info { - int type; - char *name; - long lvalue; - double dvalue; - void *pvalue; - swig_type_info **ptype; -} swig_const_info; - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. - * - * pyrun.swg - * - * This file contains the runtime support for Python modules - * and includes code for managing global variables and pointer - * type checking. - * - * ----------------------------------------------------------------------------- */ - -/* Common SWIG API */ - -/* for raw pointers */ -#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) -#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) -#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) -#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) -#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) -#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) -#define swig_owntype int - -/* for raw packed data */ -#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - -/* for class or struct pointers */ -#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) -#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) - -/* for C or C++ function pointers */ -#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) -#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) - -/* for C++ member pointers, ie, member methods */ -#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - - -/* Runtime API */ - -#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() -#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) -#define SWIG_NewClientData(obj) PySwigClientData_New(obj) - -#define SWIG_SetErrorObj SWIG_Python_SetErrorObj -#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg -#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) -#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) -#define SWIG_fail goto fail - - -/* Runtime API implementation */ - -/* Error manipulation */ - -SWIGINTERN void -SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetObject(errtype, obj); - Py_DECREF(obj); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -SWIGINTERN void -SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetString(errtype, (char *) msg); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) - -/* Set a constant value */ - -SWIGINTERN void -SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { - PyDict_SetItemString(d, (char*) name, obj); - Py_DECREF(obj); -} - -/* Append a value to the result obj */ - -SWIGINTERN PyObject* -SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { -#if !defined(SWIG_PYTHON_OUTPUT_TUPLE) - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyList_Check(result)) { - PyObject *o2 = result; - result = PyList_New(1); - PyList_SetItem(result, 0, o2); - } - PyList_Append(result,obj); - Py_DECREF(obj); - } - return result; -#else - PyObject* o2; - PyObject* o3; - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyTuple_Check(result)) { - o2 = result; - result = PyTuple_New(1); - PyTuple_SET_ITEM(result, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SET_ITEM(o3, 0, obj); - o2 = result; - result = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return result; -#endif -} - -/* Unpack the argument tuple */ - -SWIGINTERN int -SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) -{ - if (!args) { - if (!min && !max) { - return 1; - } else { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", - name, (min == max ? "" : "at least "), (int)min); - return 0; - } - } - if (!PyTuple_Check(args)) { - PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); - return 0; - } else { - register Py_ssize_t l = PyTuple_GET_SIZE(args); - if (l < min) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at least "), (int)min, (int)l); - return 0; - } else if (l > max) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at most "), (int)max, (int)l); - return 0; - } else { - register int i; - for (i = 0; i < l; ++i) { - objs[i] = PyTuple_GET_ITEM(args, i); - } - for (; l < max; ++l) { - objs[l] = 0; - } - return i + 1; - } - } -} - -/* A functor is a function object with one single object argument */ -#if PY_VERSION_HEX >= 0x02020000 -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); -#else -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); -#endif - -/* - Helper for static pointer initialization for both C and C++ code, for example - static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); -*/ -#ifdef __cplusplus -#define SWIG_STATIC_POINTER(var) var -#else -#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var -#endif - -/* ----------------------------------------------------------------------------- - * Pointer declarations - * ----------------------------------------------------------------------------- */ - -/* Flags for new pointer objects */ -#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) -#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) - -#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* How to access Py_None */ -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# ifndef SWIG_PYTHON_NO_BUILD_NONE -# ifndef SWIG_PYTHON_BUILD_NONE -# define SWIG_PYTHON_BUILD_NONE -# endif -# endif -#endif - -#ifdef SWIG_PYTHON_BUILD_NONE -# ifdef Py_None -# undef Py_None -# define Py_None SWIG_Py_None() -# endif -SWIGRUNTIMEINLINE PyObject * -_SWIG_Py_None(void) -{ - PyObject *none = Py_BuildValue((char*)""); - Py_DECREF(none); - return none; -} -SWIGRUNTIME PyObject * -SWIG_Py_None(void) -{ - static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); - return none; -} -#endif - -/* The python void return value */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Py_Void(void) -{ - PyObject *none = Py_None; - Py_INCREF(none); - return none; -} - -/* PySwigClientData */ - -typedef struct { - PyObject *klass; - PyObject *newraw; - PyObject *newargs; - PyObject *destroy; - int delargs; - int implicitconv; -} PySwigClientData; - -SWIGRUNTIMEINLINE int -SWIG_Python_CheckImplicit(swig_type_info *ty) -{ - PySwigClientData *data = (PySwigClientData *)ty->clientdata; - return data ? data->implicitconv : 0; -} - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_ExceptionType(swig_type_info *desc) { - PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; - PyObject *klass = data ? data->klass : 0; - return (klass ? klass : PyExc_RuntimeError); -} - - -SWIGRUNTIME PySwigClientData * -PySwigClientData_New(PyObject* obj) -{ - if (!obj) { - return 0; - } else { - PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); - /* the klass element */ - data->klass = obj; - Py_INCREF(data->klass); - /* the newraw method and newargs arguments used to create a new raw instance */ - if (PyClass_Check(obj)) { - data->newraw = 0; - data->newargs = obj; - Py_INCREF(obj); - } else { -#if (PY_VERSION_HEX < 0x02020000) - data->newraw = 0; -#else - data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); -#endif - if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); - } else { - data->newargs = obj; - } - Py_INCREF(data->newargs); - } - /* the destroy method, aka as the C++ delete method */ - data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); - if (PyErr_Occurred()) { - PyErr_Clear(); - data->destroy = 0; - } - if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); -#ifdef METH_O - data->delargs = !(flags & (METH_O)); -#else - data->delargs = 0; -#endif - } else { - data->delargs = 0; - } - data->implicitconv = 0; - return data; - } -} - -SWIGRUNTIME void -PySwigClientData_Del(PySwigClientData* data) -{ - Py_XDECREF(data->newraw); - Py_XDECREF(data->newargs); - Py_XDECREF(data->destroy); -} - -/* =============== PySwigObject =====================*/ - -typedef struct { - PyObject_HEAD - void *ptr; - swig_type_info *ty; - int own; - PyObject *next; -} PySwigObject; - -SWIGRUNTIME PyObject * -PySwigObject_long(PySwigObject *v) -{ - return PyLong_FromVoidPtr(v->ptr); -} - -SWIGRUNTIME PyObject * -PySwigObject_format(const char* fmt, PySwigObject *v) -{ - PyObject *res = NULL; - PyObject *args = PyTuple_New(1); - if (args) { - if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { - PyObject *ofmt = PyString_FromString(fmt); - if (ofmt) { - res = PyString_Format(ofmt,args); - Py_DECREF(ofmt); - } - Py_DECREF(args); - } - } - return res; -} - -SWIGRUNTIME PyObject * -PySwigObject_oct(PySwigObject *v) -{ - return PySwigObject_format("%o",v); -} - -SWIGRUNTIME PyObject * -PySwigObject_hex(PySwigObject *v) -{ - return PySwigObject_format("%x",v); -} - -SWIGRUNTIME PyObject * -#ifdef METH_NOARGS -PySwigObject_repr(PySwigObject *v) -#else -PySwigObject_repr(PySwigObject *v, PyObject *args) -#endif -{ - const char *name = SWIG_TypePrettyName(v->ty); - PyObject *hex = PySwigObject_hex(v); - PyObject *repr = PyString_FromFormat("", name, PyString_AsString(hex)); - Py_DECREF(hex); - if (v->next) { -#ifdef METH_NOARGS - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); -#else - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); -#endif - PyString_ConcatAndDel(&repr,nrep); - } - return repr; -} - -SWIGRUNTIME int -PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ -#ifdef METH_NOARGS - PyObject *repr = PySwigObject_repr(v); -#else - PyObject *repr = PySwigObject_repr(v, NULL); -#endif - if (repr) { - fputs(PyString_AsString(repr), fp); - Py_DECREF(repr); - return 0; - } else { - return 1; - } -} - -SWIGRUNTIME PyObject * -PySwigObject_str(PySwigObject *v) -{ - char result[SWIG_BUFFER_SIZE]; - return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? - PyString_FromString(result) : 0; -} - -SWIGRUNTIME int -PySwigObject_compare(PySwigObject *v, PySwigObject *w) -{ - void *i = v->ptr; - void *j = w->ptr; - return (i < j) ? -1 : ((i > j) ? 1 : 0); -} - -SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigObject_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own); - -SWIGRUNTIME void -PySwigObject_dealloc(PyObject *v) -{ - PySwigObject *sobj = (PySwigObject *) v; - PyObject *next = sobj->next; - if (sobj->own == SWIG_POINTER_OWN) { - swig_type_info *ty = sobj->ty; - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - PyObject *destroy = data ? data->destroy : 0; - if (destroy) { - /* destroy is always a VARARGS method */ - PyObject *res; - if (data->delargs) { - /* we need to create a temporal object to carry the destroy operation */ - PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); - } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); - } - Py_XDECREF(res); - } -#if !defined(SWIG_PYTHON_SILENT_MEMLEAK) - else { - const char *name = SWIG_TypePrettyName(ty); - printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); - } -#endif - } - Py_XDECREF(next); - PyObject_DEL(v); -} - -SWIGRUNTIME PyObject* -PySwigObject_append(PyObject* v, PyObject* next) -{ - PySwigObject *sobj = (PySwigObject *) v; -#ifndef METH_O - PyObject *tmp = 0; - if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; - next = tmp; -#endif - if (!PySwigObject_Check(next)) { - return NULL; - } - sobj->next = next; - Py_INCREF(next); - return SWIG_Py_Void(); -} - -SWIGRUNTIME PyObject* -#ifdef METH_NOARGS -PySwigObject_next(PyObject* v) -#else -PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *) v; - if (sobj->next) { - Py_INCREF(sobj->next); - return sobj->next; - } else { - return SWIG_Py_Void(); - } -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_disown(PyObject *v) -#else -PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = 0; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_acquire(PyObject *v) -#else -PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = SWIG_POINTER_OWN; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -PySwigObject_own(PyObject *v, PyObject *args) -{ - PyObject *val = 0; -#if (PY_VERSION_HEX < 0x02020000) - if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) -#else - if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) -#endif - { - return NULL; - } - else - { - PySwigObject *sobj = (PySwigObject *)v; - PyObject *obj = PyBool_FromLong(sobj->own); - if (val) { -#ifdef METH_NOARGS - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v); - } else { - PySwigObject_disown(v); - } -#else - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v,args); - } else { - PySwigObject_disown(v,args); - } -#endif - } - return obj; - } -} - -#ifdef METH_O -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#else -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#endif - -#if PY_VERSION_HEX < 0x02020000 -SWIGINTERN PyObject * -PySwigObject_getattr(PySwigObject *sobj,char *name) -{ - return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); -} -#endif - -SWIGRUNTIME PyTypeObject* -_PySwigObject_type(void) { - static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; - - static PyNumberMethods PySwigObject_as_number = { - (binaryfunc)0, /*nb_add*/ - (binaryfunc)0, /*nb_subtract*/ - (binaryfunc)0, /*nb_multiply*/ - (binaryfunc)0, /*nb_divide*/ - (binaryfunc)0, /*nb_remainder*/ - (binaryfunc)0, /*nb_divmod*/ - (ternaryfunc)0,/*nb_power*/ - (unaryfunc)0, /*nb_negative*/ - (unaryfunc)0, /*nb_positive*/ - (unaryfunc)0, /*nb_absolute*/ - (inquiry)0, /*nb_nonzero*/ - 0, /*nb_invert*/ - 0, /*nb_lshift*/ - 0, /*nb_rshift*/ - 0, /*nb_and*/ - 0, /*nb_xor*/ - 0, /*nb_or*/ - (coercion)0, /*nb_coerce*/ - (unaryfunc)PySwigObject_long, /*nb_int*/ - (unaryfunc)PySwigObject_long, /*nb_long*/ - (unaryfunc)0, /*nb_float*/ - (unaryfunc)PySwigObject_oct, /*nb_oct*/ - (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ -#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ -#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ - 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ -#endif - }; - - static PyTypeObject pyswigobject_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigObject", /* tp_name */ - sizeof(PySwigObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigObject_dealloc, /* tp_dealloc */ - (printfunc)PySwigObject_print, /* tp_print */ -#if PY_VERSION_HEX < 0x02020000 - (getattrfunc)PySwigObject_getattr, /* tp_getattr */ -#else - (getattrfunc)0, /* tp_getattr */ -#endif - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigObject_compare, /* tp_compare */ - (reprfunc)PySwigObject_repr, /* tp_repr */ - &PySwigObject_as_number, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigObject_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigobject_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - swigobject_methods, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigobject_type = tmp; - pyswigobject_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigobject_type; -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own) -{ - PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); - if (sobj) { - sobj->ptr = ptr; - sobj->ty = ty; - sobj->own = own; - sobj->next = 0; - } - return (PyObject *)sobj; -} - -/* ----------------------------------------------------------------------------- - * Implements a simple Swig Packed type, and use it instead of string - * ----------------------------------------------------------------------------- */ - -typedef struct { - PyObject_HEAD - void *pack; - swig_type_info *ty; - size_t size; -} PySwigPacked; - -SWIGRUNTIME int -PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ - char result[SWIG_BUFFER_SIZE]; - fputs("pack, v->size, 0, sizeof(result))) { - fputs("at ", fp); - fputs(result, fp); - } - fputs(v->ty->name,fp); - fputs(">", fp); - return 0; -} - -SWIGRUNTIME PyObject * -PySwigPacked_repr(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { - return PyString_FromFormat("", result, v->ty->name); - } else { - return PyString_FromFormat("", v->ty->name); - } -} - -SWIGRUNTIME PyObject * -PySwigPacked_str(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ - return PyString_FromFormat("%s%s", result, v->ty->name); - } else { - return PyString_FromString(v->ty->name); - } -} - -SWIGRUNTIME int -PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) -{ - size_t i = v->size; - size_t j = w->size; - int s = (i < j) ? -1 : ((i > j) ? 1 : 0); - return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); -} - -SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigPacked_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == _PySwigPacked_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); -} - -SWIGRUNTIME void -PySwigPacked_dealloc(PyObject *v) -{ - if (PySwigPacked_Check(v)) { - PySwigPacked *sobj = (PySwigPacked *) v; - free(sobj->pack); - } - PyObject_DEL(v); -} - -SWIGRUNTIME PyTypeObject* -_PySwigPacked_type(void) { - static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; - static PyTypeObject pyswigpacked_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigPacked", /* tp_name */ - sizeof(PySwigPacked), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigPacked_dealloc, /* tp_dealloc */ - (printfunc)PySwigPacked_print, /* tp_print */ - (getattrfunc)0, /* tp_getattr */ - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigPacked_compare, /* tp_compare */ - (reprfunc)PySwigPacked_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigPacked_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigpacked_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigpacked_type = tmp; - pyswigpacked_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigpacked_type; -} - -SWIGRUNTIME PyObject * -PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) -{ - PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); - if (sobj) { - void *pack = malloc(size); - if (pack) { - memcpy(pack, ptr, size); - sobj->pack = pack; - sobj->ty = ty; - sobj->size = size; - } else { - PyObject_DEL((PyObject *) sobj); - sobj = 0; - } - } - return (PyObject *) sobj; -} - -SWIGRUNTIME swig_type_info * -PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) -{ - if (PySwigPacked_Check(obj)) { - PySwigPacked *sobj = (PySwigPacked *)obj; - if (sobj->size != size) return 0; - memcpy(ptr, sobj->pack, size); - return sobj->ty; - } else { - return 0; - } -} - -/* ----------------------------------------------------------------------------- - * pointers/data manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIMEINLINE PyObject * -_SWIG_This(void) -{ - return PyString_FromString("this"); -} - -SWIGRUNTIME PyObject * -SWIG_This(void) -{ - static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); - return swig_this; -} - -/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ - -SWIGRUNTIME PySwigObject * -SWIG_Python_GetSwigThis(PyObject *pyobj) -{ - if (PySwigObject_Check(pyobj)) { - return (PySwigObject *) pyobj; - } else { - PyObject *obj = 0; -#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) - if (PyInstance_Check(pyobj)) { - obj = _PyInstance_Lookup(pyobj, SWIG_This()); - } else { - PyObject **dictptr = _PyObject_GetDictPtr(pyobj); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; - } else { -#ifdef PyWeakref_CheckProxy - if (PyWeakref_CheckProxy(pyobj)) { - PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); - return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; - } -#endif - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } - } - } -#else - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } -#endif - if (obj && !PySwigObject_Check(obj)) { - /* a PyObject is called 'this', try to get the 'real this' - PySwigObject from it */ - return SWIG_Python_GetSwigThis(obj); - } - return (PySwigObject *)obj; - } -} - -/* Acquire a pointer value */ - -SWIGRUNTIME int -SWIG_Python_AcquirePtr(PyObject *obj, int own) { - if (own == SWIG_POINTER_OWN) { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (sobj) { - int oldown = sobj->own; - sobj->own = own; - return oldown; - } - } - return 0; -} - -/* Convert a pointer value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { - if (!obj) return SWIG_ERROR; - if (obj == Py_None) { - if (ptr) *ptr = 0; - return SWIG_OK; - } else { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (own) - *own = 0; - while (sobj) { - void *vptr = sobj->ptr; - if (ty) { - swig_type_info *to = sobj->ty; - if (to == ty) { - /* no type cast needed */ - if (ptr) *ptr = vptr; - break; - } else { - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) { - sobj = (PySwigObject *)sobj->next; - } else { - if (ptr) { - int newmemory = 0; - *ptr = SWIG_TypeCast(tc,vptr,&newmemory); - if (newmemory == SWIG_CAST_NEW_MEMORY) { - assert(own); - if (own) - *own = *own | SWIG_CAST_NEW_MEMORY; - } - } - break; - } - } - } else { - if (ptr) *ptr = vptr; - break; - } - } - if (sobj) { - if (own) - *own = *own | sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; - } - return SWIG_OK; - } else { - int res = SWIG_ERROR; - if (flags & SWIG_POINTER_IMPLICIT_CONV) { - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - if (data && !data->implicitconv) { - PyObject *klass = data->klass; - if (klass) { - PyObject *impconv; - data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ - impconv = SWIG_Python_CallFunctor(klass, obj); - data->implicitconv = 0; - if (PyErr_Occurred()) { - PyErr_Clear(); - impconv = 0; - } - if (impconv) { - PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); - if (iobj) { - void *vptr; - res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); - if (SWIG_IsOK(res)) { - if (ptr) { - *ptr = vptr; - /* transfer the ownership to 'ptr' */ - iobj->own = 0; - res = SWIG_AddCast(res); - res = SWIG_AddNewMask(res); - } else { - res = SWIG_AddCast(res); - } - } - } - Py_DECREF(impconv); - } - } - } - } - return res; - } - } -} - -/* Convert a function ptr value */ - -SWIGRUNTIME int -SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { - if (!PyCFunction_Check(obj)) { - return SWIG_ConvertPtr(obj, ptr, ty, 0); - } else { - void *vptr = 0; - - /* here we get the method pointer for callbacks */ - const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); - const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; - if (desc) { - desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; - if (!desc) return SWIG_ERROR; - } - if (ty) { - swig_cast_info *tc = SWIG_TypeCheck(desc,ty); - if (tc) { - int newmemory = 0; - *ptr = SWIG_TypeCast(tc,vptr,&newmemory); - assert(!newmemory); /* newmemory handling not yet implemented */ - } else { - return SWIG_ERROR; - } - } else { - *ptr = vptr; - } - return SWIG_OK; - } -} - -/* Convert a packed value value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { - swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); - if (!to) return SWIG_ERROR; - if (ty) { - if (to != ty) { - /* check type cast? */ - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) return SWIG_ERROR; - } - } - return SWIG_OK; -} - -/* ----------------------------------------------------------------------------- - * Create a new pointer object - * ----------------------------------------------------------------------------- */ - -/* - Create a new instance object, whitout calling __init__, and set the - 'this' attribute. -*/ - -SWIGRUNTIME PyObject* -SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) -{ -#if (PY_VERSION_HEX >= 0x02020000) - PyObject *inst = 0; - PyObject *newraw = data->newraw; - if (newraw) { - inst = PyObject_Call(newraw, data->newargs, NULL); - if (inst) { -#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } - } -#else - PyObject *key = SWIG_This(); - PyObject_SetAttr(inst, key, swig_this); -#endif - } - } else { - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - } - return inst; -#else -#if (PY_VERSION_HEX >= 0x02010000) - PyObject *inst; - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - return (PyObject *) inst; -#else - PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); - if (inst == NULL) { - return NULL; - } - inst->in_class = (PyClassObject *)data->newargs; - Py_INCREF(inst->in_class); - inst->in_dict = PyDict_New(); - if (inst->in_dict == NULL) { - Py_DECREF(inst); - return NULL; - } -#ifdef Py_TPFLAGS_HAVE_WEAKREFS - inst->in_weakreflist = NULL; -#endif -#ifdef Py_TPFLAGS_GC - PyObject_GC_Init(inst); -#endif - PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); - return (PyObject *) inst; -#endif -#endif -} - -SWIGRUNTIME void -SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) -{ - PyObject *dict; -#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - PyDict_SetItem(dict, SWIG_This(), swig_this); - return; - } -#endif - dict = PyObject_GetAttrString(inst, (char*)"__dict__"); - PyDict_SetItem(dict, SWIG_This(), swig_this); - Py_DECREF(dict); -} - - -SWIGINTERN PyObject * -SWIG_Python_InitShadowInstance(PyObject *args) { - PyObject *obj[2]; - if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { - return NULL; - } else { - PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); - if (sthis) { - PySwigObject_append((PyObject*) sthis, obj[1]); - } else { - SWIG_Python_SetSwigThis(obj[0], obj[1]); - } - return SWIG_Py_Void(); - } -} - -/* Create a new pointer object */ - -SWIGRUNTIME PyObject * -SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { - if (!ptr) { - return SWIG_Py_Void(); - } else { - int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; - PyObject *robj = PySwigObject_New(ptr, type, own); - PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; - if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { - PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); - if (inst) { - Py_DECREF(robj); - robj = inst; - } - } - return robj; - } -} - -/* Create a new packed object */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { - return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); -} - -/* -----------------------------------------------------------------------------* - * Get type list - * -----------------------------------------------------------------------------*/ - -#ifdef SWIG_LINK_RUNTIME -void *SWIG_ReturnGlobalTypeList(void *); -#endif - -SWIGRUNTIME swig_module_info * -SWIG_Python_GetModule(void) { - static void *type_pointer = (void *)0; - /* first check if module already created */ - if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME - type_pointer = SWIG_ReturnGlobalTypeList((void *)0); -#else - type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif - } - return (swig_module_info *) type_pointer; -} - -#if PY_MAJOR_VERSION < 2 -/* PyModule_AddObject function was introduced in Python 2.0. The following function - is copied out of Python/modsupport.c in python version 2.3.4 */ -SWIGINTERN int -PyModule_AddObject(PyObject *m, char *name, PyObject *o) -{ - PyObject *dict; - if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs module as first arg"); - return SWIG_ERROR; - } - if (!o) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs non-NULL value"); - return SWIG_ERROR; - } - - dict = PyModule_GetDict(m); - if (dict == NULL) { - /* Internal error -- modules must have a dict! */ - PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", - PyModule_GetName(m)); - return SWIG_ERROR; - } - if (PyDict_SetItemString(dict, name, o)) - return SWIG_ERROR; - Py_DECREF(o); - return SWIG_OK; -} -#endif - -SWIGRUNTIME void -SWIG_Python_DestroyModule(void *vptr) -{ - swig_module_info *swig_module = (swig_module_info *) vptr; - swig_type_info **types = swig_module->types; - size_t i; - for (i =0; i < swig_module->size; ++i) { - swig_type_info *ty = types[i]; - if (ty->owndata) { - PySwigClientData *data = (PySwigClientData *) ty->clientdata; - if (data) PySwigClientData_Del(data); - } - } - Py_DECREF(SWIG_This()); -} - -SWIGRUNTIME void -SWIG_Python_SetModule(swig_module_info *swig_module) { - static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ - - PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - swig_empty_runtime_method_table); - PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); - if (pointer && module) { - PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); - } else { - Py_XDECREF(pointer); - } -} - -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - -SWIGRUNTIME swig_type_info * -SWIG_Python_TypeQuery(const char *type) -{ - PyObject *cache = SWIG_Python_TypeCache(); - PyObject *key = PyString_FromString(type); - PyObject *obj = PyDict_GetItem(cache, key); - swig_type_info *descriptor; - if (obj) { - descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); - } else { - swig_module_info *swig_module = SWIG_Python_GetModule(); - descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); - if (descriptor) { - obj = PyCObject_FromVoidPtr(descriptor, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } - } - Py_DECREF(key); - return descriptor; -} - -/* - For backward compatibility only -*/ -#define SWIG_POINTER_EXCEPTION 0 -#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) -#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) - -SWIGRUNTIME int -SWIG_Python_AddErrMesg(const char* mesg, int infront) -{ - if (PyErr_Occurred()) { - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - Py_XINCREF(type); - PyErr_Clear(); - if (infront) { - PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); - } else { - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - } - Py_DECREF(old_str); - } - return 1; - } else { - return 0; - } -} - -SWIGRUNTIME int -SWIG_Python_ArgFail(int argnum) -{ - if (PyErr_Occurred()) { - /* add information about failing argument */ - char mesg[256]; - PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); - return SWIG_Python_AddErrMesg(mesg, 1); - } else { - return 0; - } -} - -SWIGRUNTIMEINLINE const char * -PySwigObject_GetDesc(PyObject *self) -{ - PySwigObject *v = (PySwigObject *)self; - swig_type_info *ty = v ? v->ty : 0; - return ty ? ty->str : (char*)""; -} - -SWIGRUNTIME void -SWIG_Python_TypeError(const char *type, PyObject *obj) -{ - if (type) { -#if defined(SWIG_COBJECT_TYPES) - if (obj && PySwigObject_Check(obj)) { - const char *otype = (const char *) PySwigObject_GetDesc(obj); - if (otype) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", - type, otype); - return; - } - } else -#endif - { - const char *otype = (obj ? obj->ob_type->tp_name : 0); - if (otype) { - PyObject *str = PyObject_Str(obj); - const char *cstr = str ? PyString_AsString(str) : 0; - if (cstr) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", - type, otype, cstr); - } else { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", - type, otype); - } - Py_XDECREF(str); - return; - } - } - PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); - } else { - PyErr_Format(PyExc_TypeError, "unexpected type is received"); - } -} - - -/* Convert a pointer value, signal an exception on a type mismatch */ -SWIGRUNTIME void * -SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { - void *result; - if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { - PyErr_Clear(); - if (flags & SWIG_POINTER_EXCEPTION) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } - } - return result; -} - - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - - -#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) - -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -/* -------- TYPES TABLE (BEGIN) -------- */ - -#define SWIGTYPE_p_AttributeApplyFunc swig_types[0] -#define SWIGTYPE_p_ContextDestructionCB swig_types[1] -#define SWIGTYPE_p_CustomCursor swig_types[2] -#define SWIGTYPE_p_FILE swig_types[3] -#define SWIGTYPE_p_FatalErrorCB swig_types[4] -#define SWIGTYPE_p_Key swig_types[5] -#define SWIGTYPE_p_ProgressCallbackType swig_types[6] -#define SWIGTYPE_p_QEvent swig_types[7] -#define SWIGTYPE_p_QWidget swig_types[8] -#define SWIGTYPE_p_SbColor swig_types[9] -#define SWIGTYPE_p_SbColor4f swig_types[10] -#define SWIGTYPE_p_SbDict swig_types[11] -#define SWIGTYPE_p_SbDictApplyDataFunc swig_types[12] -#define SWIGTYPE_p_SbDictApplyFunc swig_types[13] -#define SWIGTYPE_p_SbDictHashingFunc swig_types[14] -#define SWIGTYPE_p_SbIntList swig_types[15] -#define SWIGTYPE_p_SbMatrix swig_types[16] -#define SWIGTYPE_p_SbName swig_types[17] -#define SWIGTYPE_p_SbPList swig_types[18] -#define SWIGTYPE_p_SbPlane swig_types[19] -#define SWIGTYPE_p_SbRotation swig_types[20] -#define SWIGTYPE_p_SbString swig_types[21] -#define SWIGTYPE_p_SbStringList swig_types[22] -#define SWIGTYPE_p_SbTime swig_types[23] -#define SWIGTYPE_p_SbVec2b swig_types[24] -#define SWIGTYPE_p_SbVec2d swig_types[25] -#define SWIGTYPE_p_SbVec2f swig_types[26] -#define SWIGTYPE_p_SbVec2i32 swig_types[27] -#define SWIGTYPE_p_SbVec2s swig_types[28] -#define SWIGTYPE_p_SbVec2us swig_types[29] -#define SWIGTYPE_p_SbVec3d swig_types[30] -#define SWIGTYPE_p_SbVec3f swig_types[31] -#define SWIGTYPE_p_SbVec3fList swig_types[32] -#define SWIGTYPE_p_SbVec4f swig_types[33] -#define SWIGTYPE_p_SbViewportRegion swig_types[34] -#define SWIGTYPE_p_SoActionMethodList swig_types[35] -#define SWIGTYPE_p_SoAnnotation swig_types[36] -#define SWIGTYPE_p_SoAntiSquish swig_types[37] -#define SWIGTYPE_p_SoAppearanceKit swig_types[38] -#define SWIGTYPE_p_SoArray swig_types[39] -#define SWIGTYPE_p_SoAsciiText swig_types[40] -#define SWIGTYPE_p_SoAuditorList swig_types[41] -#define SWIGTYPE_p_SoBase swig_types[42] -#define SWIGTYPE_p_SoBaseColor swig_types[43] -#define SWIGTYPE_p_SoBaseKit swig_types[44] -#define SWIGTYPE_p_SoBaseList swig_types[45] -#define SWIGTYPE_p_SoBlinker swig_types[46] -#define SWIGTYPE_p_SoBoolOperation swig_types[47] -#define SWIGTYPE_p_SoBoxHighlightRenderAction swig_types[48] -#define SWIGTYPE_p_SoBumpMap swig_types[49] -#define SWIGTYPE_p_SoBumpMapCoordinate swig_types[50] -#define SWIGTYPE_p_SoBumpMapTransform swig_types[51] -#define SWIGTYPE_p_SoButtonEvent swig_types[52] -#define SWIGTYPE_p_SoCacheHint swig_types[53] -#define SWIGTYPE_p_SoCalculator swig_types[54] -#define SWIGTYPE_p_SoCallback swig_types[55] -#define SWIGTYPE_p_SoCallbackActionCB swig_types[56] -#define SWIGTYPE_p_SoCamera swig_types[57] -#define SWIGTYPE_p_SoCameraKit swig_types[58] -#define SWIGTYPE_p_SoCenterballDragger swig_types[59] -#define SWIGTYPE_p_SoCenterballManip swig_types[60] -#define SWIGTYPE_p_SoChildList swig_types[61] -#define SWIGTYPE_p_SoClipPlane swig_types[62] -#define SWIGTYPE_p_SoClipPlaneManip swig_types[63] -#define SWIGTYPE_p_SoColorIndex swig_types[64] -#define SWIGTYPE_p_SoComplexity swig_types[65] -#define SWIGTYPE_p_SoComposeMatrix swig_types[66] -#define SWIGTYPE_p_SoComposeRotation swig_types[67] -#define SWIGTYPE_p_SoComposeRotationFromTo swig_types[68] -#define SWIGTYPE_p_SoComposeVec2f swig_types[69] -#define SWIGTYPE_p_SoComposeVec3f swig_types[70] -#define SWIGTYPE_p_SoComposeVec4f swig_types[71] -#define SWIGTYPE_p_SoComputeBoundingBox swig_types[72] -#define SWIGTYPE_p_SoConcatenate swig_types[73] -#define SWIGTYPE_p_SoCone swig_types[74] -#define SWIGTYPE_p_SoCoordinate3 swig_types[75] -#define SWIGTYPE_p_SoCoordinate4 swig_types[76] -#define SWIGTYPE_p_SoCounter swig_types[77] -#define SWIGTYPE_p_SoCube swig_types[78] -#define SWIGTYPE_p_SoCylinder swig_types[79] -#define SWIGTYPE_p_SoDebugError swig_types[80] -#define SWIGTYPE_p_SoDecomposeMatrix swig_types[81] -#define SWIGTYPE_p_SoDecomposeRotation swig_types[82] -#define SWIGTYPE_p_SoDecomposeVec2f swig_types[83] -#define SWIGTYPE_p_SoDecomposeVec3f swig_types[84] -#define SWIGTYPE_p_SoDecomposeVec4f swig_types[85] -#define SWIGTYPE_p_SoDepthBuffer swig_types[86] -#define SWIGTYPE_p_SoDetailList swig_types[87] -#define SWIGTYPE_p_SoDirectionalLight swig_types[88] -#define SWIGTYPE_p_SoDirectionalLightDragger swig_types[89] -#define SWIGTYPE_p_SoDirectionalLightManip swig_types[90] -#define SWIGTYPE_p_SoDragPointDragger swig_types[91] -#define SWIGTYPE_p_SoDragger swig_types[92] -#define SWIGTYPE_p_SoDrawStyle swig_types[93] -#define SWIGTYPE_p_SoElapsedTime swig_types[94] -#define SWIGTYPE_p_SoEngine swig_types[95] -#define SWIGTYPE_p_SoEngineList swig_types[96] -#define SWIGTYPE_p_SoEngineOutput swig_types[97] -#define SWIGTYPE_p_SoEngineOutputList swig_types[98] -#define SWIGTYPE_p_SoEnvironment swig_types[99] -#define SWIGTYPE_p_SoError swig_types[100] -#define SWIGTYPE_p_SoEvent swig_types[101] -#define SWIGTYPE_p_SoEventCallback swig_types[102] -#define SWIGTYPE_p_SoExtSelection swig_types[103] -#define SWIGTYPE_p_SoFaceSet swig_types[104] -#define SWIGTYPE_p_SoField swig_types[105] -#define SWIGTYPE_p_SoFieldContainer swig_types[106] -#define SWIGTYPE_p_SoFieldConverter swig_types[107] -#define SWIGTYPE_p_SoFieldList swig_types[108] -#define SWIGTYPE_p_SoFile swig_types[109] -#define SWIGTYPE_p_SoFont swig_types[110] -#define SWIGTYPE_p_SoFontStyle swig_types[111] -#define SWIGTYPE_p_SoFragmentShader swig_types[112] -#define SWIGTYPE_p_SoFrustumCamera swig_types[113] -#define SWIGTYPE_p_SoFullPath swig_types[114] -#define SWIGTYPE_p_SoGLImageResizeCB swig_types[115] -#define SWIGTYPE_p_SoGLRenderAbortCB swig_types[116] -#define SWIGTYPE_p_SoGLRenderAction swig_types[117] -#define SWIGTYPE_p_SoGate swig_types[118] -#define SWIGTYPE_p_SoGroup swig_types[119] -#define SWIGTYPE_p_SoHandleBoxDragger swig_types[120] -#define SWIGTYPE_p_SoHandleBoxManip swig_types[121] -#define SWIGTYPE_p_SoHeightMapToNormalMap swig_types[122] -#define SWIGTYPE_p_SoImage swig_types[123] -#define SWIGTYPE_p_SoIndexedFaceSet swig_types[124] -#define SWIGTYPE_p_SoIndexedLineSet swig_types[125] -#define SWIGTYPE_p_SoIndexedMarkerSet swig_types[126] -#define SWIGTYPE_p_SoIndexedNurbsCurve swig_types[127] -#define SWIGTYPE_p_SoIndexedNurbsSurface swig_types[128] -#define SWIGTYPE_p_SoIndexedPointSet swig_types[129] -#define SWIGTYPE_p_SoIndexedShape swig_types[130] -#define SWIGTYPE_p_SoIndexedTriangleStripSet swig_types[131] -#define SWIGTYPE_p_SoInfo swig_types[132] -#define SWIGTYPE_p_SoInput swig_types[133] -#define SWIGTYPE_p_SoInteractionKit swig_types[134] -#define SWIGTYPE_p_SoInterpolate swig_types[135] -#define SWIGTYPE_p_SoInterpolateFloat swig_types[136] -#define SWIGTYPE_p_SoInterpolateRotation swig_types[137] -#define SWIGTYPE_p_SoInterpolateVec2f swig_types[138] -#define SWIGTYPE_p_SoInterpolateVec3f swig_types[139] -#define SWIGTYPE_p_SoInterpolateVec4f swig_types[140] -#define SWIGTYPE_p_SoIntersectionCB swig_types[141] -#define SWIGTYPE_p_SoIntersectionFilterCB swig_types[142] -#define SWIGTYPE_p_SoIntersectionVisitationCB swig_types[143] -#define SWIGTYPE_p_SoJackDragger swig_types[144] -#define SWIGTYPE_p_SoJackManip swig_types[145] -#define SWIGTYPE_p_SoKeyboardEvent swig_types[146] -#define SWIGTYPE_p_SoLOD swig_types[147] -#define SWIGTYPE_p_SoLabel swig_types[148] -#define SWIGTYPE_p_SoLevelOfDetail swig_types[149] -#define SWIGTYPE_p_SoLight swig_types[150] -#define SWIGTYPE_p_SoLightKit swig_types[151] -#define SWIGTYPE_p_SoLightModel swig_types[152] -#define SWIGTYPE_p_SoLineHighlightRenderAction swig_types[153] -#define SWIGTYPE_p_SoLineSet swig_types[154] -#define SWIGTYPE_p_SoLinearProfile swig_types[155] -#define SWIGTYPE_p_SoListener swig_types[156] -#define SWIGTYPE_p_SoLocateHighlight swig_types[157] -#define SWIGTYPE_p_SoLocation2Event swig_types[158] -#define SWIGTYPE_p_SoMFBitMask swig_types[159] -#define SWIGTYPE_p_SoMFBool swig_types[160] -#define SWIGTYPE_p_SoMFColor swig_types[161] -#define SWIGTYPE_p_SoMFColorRGBA swig_types[162] -#define SWIGTYPE_p_SoMFDouble swig_types[163] -#define SWIGTYPE_p_SoMFEngine swig_types[164] -#define SWIGTYPE_p_SoMFEnum swig_types[165] -#define SWIGTYPE_p_SoMFFloat swig_types[166] -#define SWIGTYPE_p_SoMFInt32 swig_types[167] -#define SWIGTYPE_p_SoMFMatrix swig_types[168] -#define SWIGTYPE_p_SoMFName swig_types[169] -#define SWIGTYPE_p_SoMFNode swig_types[170] -#define SWIGTYPE_p_SoMFPath swig_types[171] -#define SWIGTYPE_p_SoMFPlane swig_types[172] -#define SWIGTYPE_p_SoMFRotation swig_types[173] -#define SWIGTYPE_p_SoMFShort swig_types[174] -#define SWIGTYPE_p_SoMFString swig_types[175] -#define SWIGTYPE_p_SoMFTime swig_types[176] -#define SWIGTYPE_p_SoMFUInt32 swig_types[177] -#define SWIGTYPE_p_SoMFUShort swig_types[178] -#define SWIGTYPE_p_SoMFVec2b swig_types[179] -#define SWIGTYPE_p_SoMFVec2d swig_types[180] -#define SWIGTYPE_p_SoMFVec2f swig_types[181] -#define SWIGTYPE_p_SoMFVec2i32 swig_types[182] -#define SWIGTYPE_p_SoMFVec2s swig_types[183] -#define SWIGTYPE_p_SoMFVec3b swig_types[184] -#define SWIGTYPE_p_SoMFVec3d swig_types[185] -#define SWIGTYPE_p_SoMFVec3f swig_types[186] -#define SWIGTYPE_p_SoMFVec3i32 swig_types[187] -#define SWIGTYPE_p_SoMFVec3s swig_types[188] -#define SWIGTYPE_p_SoMFVec4b swig_types[189] -#define SWIGTYPE_p_SoMFVec4d swig_types[190] -#define SWIGTYPE_p_SoMFVec4f swig_types[191] -#define SWIGTYPE_p_SoMFVec4i32 swig_types[192] -#define SWIGTYPE_p_SoMFVec4s swig_types[193] -#define SWIGTYPE_p_SoMFVec4ub swig_types[194] -#define SWIGTYPE_p_SoMFVec4ui32 swig_types[195] -#define SWIGTYPE_p_SoMFVec4us swig_types[196] -#define SWIGTYPE_p_SoMField swig_types[197] -#define SWIGTYPE_p_SoMarkerSet swig_types[198] -#define SWIGTYPE_p_SoMaterial swig_types[199] -#define SWIGTYPE_p_SoMaterialBinding swig_types[200] -#define SWIGTYPE_p_SoMatrixTransform swig_types[201] -#define SWIGTYPE_p_SoMemoryError swig_types[202] -#define SWIGTYPE_p_SoMotion3Event swig_types[203] -#define SWIGTYPE_p_SoMouseButtonEvent swig_types[204] -#define SWIGTYPE_p_SoMultipleCopy swig_types[205] -#define SWIGTYPE_p_SoNode swig_types[206] -#define SWIGTYPE_p_SoNodeEngine swig_types[207] -#define SWIGTYPE_p_SoNodeKitListPart swig_types[208] -#define SWIGTYPE_p_SoNodeKitPath swig_types[209] -#define SWIGTYPE_p_SoNodeList swig_types[210] -#define SWIGTYPE_p_SoNonIndexedShape swig_types[211] -#define SWIGTYPE_p_SoNormal swig_types[212] -#define SWIGTYPE_p_SoNormalBinding swig_types[213] -#define SWIGTYPE_p_SoNotList swig_types[214] -#define SWIGTYPE_p_SoNotRec swig_types[215] -#define SWIGTYPE_p_SoNurbsCurve swig_types[216] -#define SWIGTYPE_p_SoNurbsProfile swig_types[217] -#define SWIGTYPE_p_SoNurbsSurface swig_types[218] -#define SWIGTYPE_p_SoOnOff swig_types[219] -#define SWIGTYPE_p_SoOneShot swig_types[220] -#define SWIGTYPE_p_SoOrthographicCamera swig_types[221] -#define SWIGTYPE_p_SoOutput swig_types[222] -#define SWIGTYPE_p_SoPackedColor swig_types[223] -#define SWIGTYPE_p_SoPath swig_types[224] -#define SWIGTYPE_p_SoPathList swig_types[225] -#define SWIGTYPE_p_SoPathSwitch swig_types[226] -#define SWIGTYPE_p_SoPendulum swig_types[227] -#define SWIGTYPE_p_SoPerspectiveCamera swig_types[228] -#define SWIGTYPE_p_SoPickStyle swig_types[229] -#define SWIGTYPE_p_SoPickedPointList swig_types[230] -#define SWIGTYPE_p_SoPointLight swig_types[231] -#define SWIGTYPE_p_SoPointLightDragger swig_types[232] -#define SWIGTYPE_p_SoPointLightManip swig_types[233] -#define SWIGTYPE_p_SoPointSet swig_types[234] -#define SWIGTYPE_p_SoPolygonOffset swig_types[235] -#define SWIGTYPE_p_SoProfile swig_types[236] -#define SWIGTYPE_p_SoProfileCoordinate2 swig_types[237] -#define SWIGTYPE_p_SoProfileCoordinate3 swig_types[238] -#define SWIGTYPE_p_SoProto swig_types[239] -#define SWIGTYPE_p_SoProtoInstance swig_types[240] -#define SWIGTYPE_p_SoQt swig_types[241] -#define SWIGTYPE_p_SoQtComponent swig_types[242] -#define SWIGTYPE_p_SoQtConstrainedViewer swig_types[243] -#define SWIGTYPE_p_SoQtCursor swig_types[244] -#define SWIGTYPE_p_SoQtDevice swig_types[245] -#define SWIGTYPE_p_SoQtExaminerViewer swig_types[246] -#define SWIGTYPE_p_SoQtFlyViewer swig_types[247] -#define SWIGTYPE_p_SoQtFullViewer swig_types[248] -#define SWIGTYPE_p_SoQtGLWidget swig_types[249] -#define SWIGTYPE_p_SoQtKeyboard swig_types[250] -#define SWIGTYPE_p_SoQtMouse swig_types[251] -#define SWIGTYPE_p_SoQtObject swig_types[252] -#define SWIGTYPE_p_SoQtPlaneViewer swig_types[253] -#define SWIGTYPE_p_SoQtPopupMenu swig_types[254] -#define SWIGTYPE_p_SoQtRenderArea swig_types[255] -#define SWIGTYPE_p_SoQtViewer swig_types[256] -#define SWIGTYPE_p_SoQuadMesh swig_types[257] -#define SWIGTYPE_p_SoReadError swig_types[258] -#define SWIGTYPE_p_SoResetTransform swig_types[259] -#define SWIGTYPE_p_SoRotateCylindricalDragger swig_types[260] -#define SWIGTYPE_p_SoRotateDiscDragger swig_types[261] -#define SWIGTYPE_p_SoRotateSphericalDragger swig_types[262] -#define SWIGTYPE_p_SoRotation swig_types[263] -#define SWIGTYPE_p_SoRotationXYZ swig_types[264] -#define SWIGTYPE_p_SoRotor swig_types[265] -#define SWIGTYPE_p_SoSFBitMask swig_types[266] -#define SWIGTYPE_p_SoSFBool swig_types[267] -#define SWIGTYPE_p_SoSFBox2d swig_types[268] -#define SWIGTYPE_p_SoSFBox2f swig_types[269] -#define SWIGTYPE_p_SoSFBox2i32 swig_types[270] -#define SWIGTYPE_p_SoSFBox2s swig_types[271] -#define SWIGTYPE_p_SoSFBox3d swig_types[272] -#define SWIGTYPE_p_SoSFBox3f swig_types[273] -#define SWIGTYPE_p_SoSFBox3i32 swig_types[274] -#define SWIGTYPE_p_SoSFBox3s swig_types[275] -#define SWIGTYPE_p_SoSFColor swig_types[276] -#define SWIGTYPE_p_SoSFColorRGBA swig_types[277] -#define SWIGTYPE_p_SoSFDouble swig_types[278] -#define SWIGTYPE_p_SoSFEngine swig_types[279] -#define SWIGTYPE_p_SoSFEnum swig_types[280] -#define SWIGTYPE_p_SoSFFloat swig_types[281] -#define SWIGTYPE_p_SoSFImage swig_types[282] -#define SWIGTYPE_p_SoSFImage3 swig_types[283] -#define SWIGTYPE_p_SoSFInt32 swig_types[284] -#define SWIGTYPE_p_SoSFMatrix swig_types[285] -#define SWIGTYPE_p_SoSFName swig_types[286] -#define SWIGTYPE_p_SoSFNode swig_types[287] -#define SWIGTYPE_p_SoSFPath swig_types[288] -#define SWIGTYPE_p_SoSFPlane swig_types[289] -#define SWIGTYPE_p_SoSFRotation swig_types[290] -#define SWIGTYPE_p_SoSFShort swig_types[291] -#define SWIGTYPE_p_SoSFString swig_types[292] -#define SWIGTYPE_p_SoSFTime swig_types[293] -#define SWIGTYPE_p_SoSFTrigger swig_types[294] -#define SWIGTYPE_p_SoSFUInt32 swig_types[295] -#define SWIGTYPE_p_SoSFUShort swig_types[296] -#define SWIGTYPE_p_SoSFVec2b swig_types[297] -#define SWIGTYPE_p_SoSFVec2d swig_types[298] -#define SWIGTYPE_p_SoSFVec2f swig_types[299] -#define SWIGTYPE_p_SoSFVec2i32 swig_types[300] -#define SWIGTYPE_p_SoSFVec2s swig_types[301] -#define SWIGTYPE_p_SoSFVec3b swig_types[302] -#define SWIGTYPE_p_SoSFVec3d swig_types[303] -#define SWIGTYPE_p_SoSFVec3f swig_types[304] -#define SWIGTYPE_p_SoSFVec3i32 swig_types[305] -#define SWIGTYPE_p_SoSFVec3s swig_types[306] -#define SWIGTYPE_p_SoSFVec4b swig_types[307] -#define SWIGTYPE_p_SoSFVec4d swig_types[308] -#define SWIGTYPE_p_SoSFVec4f swig_types[309] -#define SWIGTYPE_p_SoSFVec4i32 swig_types[310] -#define SWIGTYPE_p_SoSFVec4s swig_types[311] -#define SWIGTYPE_p_SoSFVec4ub swig_types[312] -#define SWIGTYPE_p_SoSFVec4ui32 swig_types[313] -#define SWIGTYPE_p_SoSFVec4us swig_types[314] -#define SWIGTYPE_p_SoSField swig_types[315] -#define SWIGTYPE_p_SoScale swig_types[316] -#define SWIGTYPE_p_SoScale1Dragger swig_types[317] -#define SWIGTYPE_p_SoScale2Dragger swig_types[318] -#define SWIGTYPE_p_SoScale2UniformDragger swig_types[319] -#define SWIGTYPE_p_SoScaleUniformDragger swig_types[320] -#define SWIGTYPE_p_SoSceneKit swig_types[321] -#define SWIGTYPE_p_SoSceneManager swig_types[322] -#define SWIGTYPE_p_SoSceneTexture2 swig_types[323] -#define SWIGTYPE_p_SoSceneTextureCubeMap swig_types[324] -#define SWIGTYPE_p_SoSelectOne swig_types[325] -#define SWIGTYPE_p_SoSelection swig_types[326] -#define SWIGTYPE_p_SoSeparator swig_types[327] -#define SWIGTYPE_p_SoSeparatorKit swig_types[328] -#define SWIGTYPE_p_SoShaderObject swig_types[329] -#define SWIGTYPE_p_SoShaderParameter swig_types[330] -#define SWIGTYPE_p_SoShaderParameter1f swig_types[331] -#define SWIGTYPE_p_SoShaderParameter1i swig_types[332] -#define SWIGTYPE_p_SoShaderParameter2f swig_types[333] -#define SWIGTYPE_p_SoShaderParameter2i swig_types[334] -#define SWIGTYPE_p_SoShaderParameter3f swig_types[335] -#define SWIGTYPE_p_SoShaderParameter3i swig_types[336] -#define SWIGTYPE_p_SoShaderParameter4f swig_types[337] -#define SWIGTYPE_p_SoShaderParameter4i swig_types[338] -#define SWIGTYPE_p_SoShaderParameterArray1f swig_types[339] -#define SWIGTYPE_p_SoShaderParameterArray1i swig_types[340] -#define SWIGTYPE_p_SoShaderParameterArray2f swig_types[341] -#define SWIGTYPE_p_SoShaderParameterArray2i swig_types[342] -#define SWIGTYPE_p_SoShaderParameterArray3f swig_types[343] -#define SWIGTYPE_p_SoShaderParameterArray3i swig_types[344] -#define SWIGTYPE_p_SoShaderParameterArray4f swig_types[345] -#define SWIGTYPE_p_SoShaderParameterArray4i swig_types[346] -#define SWIGTYPE_p_SoShaderParameterMatrix swig_types[347] -#define SWIGTYPE_p_SoShaderParameterMatrixArray swig_types[348] -#define SWIGTYPE_p_SoShaderProgram swig_types[349] -#define SWIGTYPE_p_SoShaderStateMatrixParameter swig_types[350] -#define SWIGTYPE_p_SoShape swig_types[351] -#define SWIGTYPE_p_SoShapeHints swig_types[352] -#define SWIGTYPE_p_SoShapeKit swig_types[353] -#define SWIGTYPE_p_SoShuttle swig_types[354] -#define SWIGTYPE_p_SoSpaceballButtonEvent swig_types[355] -#define SWIGTYPE_p_SoSphere swig_types[356] -#define SWIGTYPE_p_SoSpotLight swig_types[357] -#define SWIGTYPE_p_SoSpotLightDragger swig_types[358] -#define SWIGTYPE_p_SoSpotLightManip swig_types[359] -#define SWIGTYPE_p_SoSurroundScale swig_types[360] -#define SWIGTYPE_p_SoSwitch swig_types[361] -#define SWIGTYPE_p_SoTabBoxDragger swig_types[362] -#define SWIGTYPE_p_SoTabBoxManip swig_types[363] -#define SWIGTYPE_p_SoTabPlaneDragger swig_types[364] -#define SWIGTYPE_p_SoTempPath swig_types[365] -#define SWIGTYPE_p_SoText2 swig_types[366] -#define SWIGTYPE_p_SoText3 swig_types[367] -#define SWIGTYPE_p_SoTexture swig_types[368] -#define SWIGTYPE_p_SoTexture2 swig_types[369] -#define SWIGTYPE_p_SoTexture2Convert swig_types[370] -#define SWIGTYPE_p_SoTexture2Transform swig_types[371] -#define SWIGTYPE_p_SoTexture3 swig_types[372] -#define SWIGTYPE_p_SoTexture3Transform swig_types[373] -#define SWIGTYPE_p_SoTextureCombine swig_types[374] -#define SWIGTYPE_p_SoTextureCoordinate2 swig_types[375] -#define SWIGTYPE_p_SoTextureCoordinate3 swig_types[376] -#define SWIGTYPE_p_SoTextureCoordinateBinding swig_types[377] -#define SWIGTYPE_p_SoTextureCoordinateCube swig_types[378] -#define SWIGTYPE_p_SoTextureCoordinateCylinder swig_types[379] -#define SWIGTYPE_p_SoTextureCoordinateDefault swig_types[380] -#define SWIGTYPE_p_SoTextureCoordinateEnvironment swig_types[381] -#define SWIGTYPE_p_SoTextureCoordinateFunction swig_types[382] -#define SWIGTYPE_p_SoTextureCoordinateNormalMap swig_types[383] -#define SWIGTYPE_p_SoTextureCoordinateObject swig_types[384] -#define SWIGTYPE_p_SoTextureCoordinatePlane swig_types[385] -#define SWIGTYPE_p_SoTextureCoordinateReflectionMap swig_types[386] -#define SWIGTYPE_p_SoTextureCoordinateSphere swig_types[387] -#define SWIGTYPE_p_SoTextureCubeMap swig_types[388] -#define SWIGTYPE_p_SoTextureMatrixTransform swig_types[389] -#define SWIGTYPE_p_SoTextureScalePolicy swig_types[390] -#define SWIGTYPE_p_SoTextureUnit swig_types[391] -#define SWIGTYPE_p_SoTimeCounter swig_types[392] -#define SWIGTYPE_p_SoTrackballDragger swig_types[393] -#define SWIGTYPE_p_SoTrackballManip swig_types[394] -#define SWIGTYPE_p_SoTransform swig_types[395] -#define SWIGTYPE_p_SoTransformBoxDragger swig_types[396] -#define SWIGTYPE_p_SoTransformBoxManip swig_types[397] -#define SWIGTYPE_p_SoTransformManip swig_types[398] -#define SWIGTYPE_p_SoTransformSeparator swig_types[399] -#define SWIGTYPE_p_SoTransformVec3f swig_types[400] -#define SWIGTYPE_p_SoTransformation swig_types[401] -#define SWIGTYPE_p_SoTransformerDragger swig_types[402] -#define SWIGTYPE_p_SoTransformerManip swig_types[403] -#define SWIGTYPE_p_SoTranslate1Dragger swig_types[404] -#define SWIGTYPE_p_SoTranslate2Dragger swig_types[405] -#define SWIGTYPE_p_SoTranslation swig_types[406] -#define SWIGTYPE_p_SoTransparencyType swig_types[407] -#define SWIGTYPE_p_SoTriangleStripSet swig_types[408] -#define SWIGTYPE_p_SoTriggerAny swig_types[409] -#define SWIGTYPE_p_SoType swig_types[410] -#define SWIGTYPE_p_SoTypeList swig_types[411] -#define SWIGTYPE_p_SoUniformShaderParameter swig_types[412] -#define SWIGTYPE_p_SoUnits swig_types[413] -#define SWIGTYPE_p_SoVRMLAnchor swig_types[414] -#define SWIGTYPE_p_SoVRMLAppearance swig_types[415] -#define SWIGTYPE_p_SoVRMLAudioClip swig_types[416] -#define SWIGTYPE_p_SoVRMLBackground swig_types[417] -#define SWIGTYPE_p_SoVRMLBillboard swig_types[418] -#define SWIGTYPE_p_SoVRMLBox swig_types[419] -#define SWIGTYPE_p_SoVRMLCollision swig_types[420] -#define SWIGTYPE_p_SoVRMLColor swig_types[421] -#define SWIGTYPE_p_SoVRMLColorInterpolator swig_types[422] -#define SWIGTYPE_p_SoVRMLCone swig_types[423] -#define SWIGTYPE_p_SoVRMLCoordinate swig_types[424] -#define SWIGTYPE_p_SoVRMLCoordinateInterpolator swig_types[425] -#define SWIGTYPE_p_SoVRMLCylinder swig_types[426] -#define SWIGTYPE_p_SoVRMLCylinderSensor swig_types[427] -#define SWIGTYPE_p_SoVRMLDirectionalLight swig_types[428] -#define SWIGTYPE_p_SoVRMLDragSensor swig_types[429] -#define SWIGTYPE_p_SoVRMLElevationGrid swig_types[430] -#define SWIGTYPE_p_SoVRMLExtrusion swig_types[431] -#define SWIGTYPE_p_SoVRMLFog swig_types[432] -#define SWIGTYPE_p_SoVRMLFontStyle swig_types[433] -#define SWIGTYPE_p_SoVRMLGeometry swig_types[434] -#define SWIGTYPE_p_SoVRMLGroup swig_types[435] -#define SWIGTYPE_p_SoVRMLImageTexture swig_types[436] -#define SWIGTYPE_p_SoVRMLIndexedFaceSet swig_types[437] -#define SWIGTYPE_p_SoVRMLIndexedLine swig_types[438] -#define SWIGTYPE_p_SoVRMLIndexedLineSet swig_types[439] -#define SWIGTYPE_p_SoVRMLIndexedShape swig_types[440] -#define SWIGTYPE_p_SoVRMLInline swig_types[441] -#define SWIGTYPE_p_SoVRMLInterpolator swig_types[442] -#define SWIGTYPE_p_SoVRMLLOD swig_types[443] -#define SWIGTYPE_p_SoVRMLLight swig_types[444] -#define SWIGTYPE_p_SoVRMLMaterial swig_types[445] -#define SWIGTYPE_p_SoVRMLMovieTexture swig_types[446] -#define SWIGTYPE_p_SoVRMLNavigationInfo swig_types[447] -#define SWIGTYPE_p_SoVRMLNormal swig_types[448] -#define SWIGTYPE_p_SoVRMLNormalInterpolator swig_types[449] -#define SWIGTYPE_p_SoVRMLOrientationInterpolator swig_types[450] -#define SWIGTYPE_p_SoVRMLParent swig_types[451] -#define SWIGTYPE_p_SoVRMLPixelTexture swig_types[452] -#define SWIGTYPE_p_SoVRMLPlaneSensor swig_types[453] -#define SWIGTYPE_p_SoVRMLPointLight swig_types[454] -#define SWIGTYPE_p_SoVRMLPointSet swig_types[455] -#define SWIGTYPE_p_SoVRMLPositionInterpolator swig_types[456] -#define SWIGTYPE_p_SoVRMLProximitySensor swig_types[457] -#define SWIGTYPE_p_SoVRMLScalarInterpolator swig_types[458] -#define SWIGTYPE_p_SoVRMLScript swig_types[459] -#define SWIGTYPE_p_SoVRMLSensor swig_types[460] -#define SWIGTYPE_p_SoVRMLShape swig_types[461] -#define SWIGTYPE_p_SoVRMLSound swig_types[462] -#define SWIGTYPE_p_SoVRMLSphere swig_types[463] -#define SWIGTYPE_p_SoVRMLSphereSensor swig_types[464] -#define SWIGTYPE_p_SoVRMLSpotLight swig_types[465] -#define SWIGTYPE_p_SoVRMLSwitch swig_types[466] -#define SWIGTYPE_p_SoVRMLText swig_types[467] -#define SWIGTYPE_p_SoVRMLTexture swig_types[468] -#define SWIGTYPE_p_SoVRMLTextureCoordinate swig_types[469] -#define SWIGTYPE_p_SoVRMLTextureTransform swig_types[470] -#define SWIGTYPE_p_SoVRMLTimeSensor swig_types[471] -#define SWIGTYPE_p_SoVRMLTouchSensor swig_types[472] -#define SWIGTYPE_p_SoVRMLTransform swig_types[473] -#define SWIGTYPE_p_SoVRMLVertexLine swig_types[474] -#define SWIGTYPE_p_SoVRMLVertexPoint swig_types[475] -#define SWIGTYPE_p_SoVRMLVertexShape swig_types[476] -#define SWIGTYPE_p_SoVRMLViewpoint swig_types[477] -#define SWIGTYPE_p_SoVRMLVisibilitySensor swig_types[478] -#define SWIGTYPE_p_SoVRMLWorldInfo swig_types[479] -#define SWIGTYPE_p_SoVertexAttribute swig_types[480] -#define SWIGTYPE_p_SoVertexAttributeBinding swig_types[481] -#define SWIGTYPE_p_SoVertexProperty swig_types[482] -#define SWIGTYPE_p_SoVertexShader swig_types[483] -#define SWIGTYPE_p_SoVertexShape swig_types[484] -#define SWIGTYPE_p_SoWWWAnchor swig_types[485] -#define SWIGTYPE_p_SoWWWInline swig_types[486] -#define SWIGTYPE_p_SoWrapperKit swig_types[487] -#define SWIGTYPE_p_a_4__a_4__double swig_types[488] -#define SWIGTYPE_p_a_4__a_4__doublep swig_types[489] -#define SWIGTYPE_p_a_4__a_4__float swig_types[490] -#define SWIGTYPE_p_a_4__a_4__floatp swig_types[491] -#define SWIGTYPE_p_cc_glglue swig_types[492] -#define SWIGTYPE_p_char swig_types[493] -#define SWIGTYPE_p_charp swig_types[494] -#define SWIGTYPE_p_close_func swig_types[495] -#define SWIGTYPE_p_double swig_types[496] -#define SWIGTYPE_p_doublep swig_types[497] -#define SWIGTYPE_p_f_char__char swig_types[498] -#define SWIGTYPE_p_f_char__charp swig_types[499] -#define SWIGTYPE_p_f_float_p_void_p_SoQtViewer__void swig_types[500] -#define SWIGTYPE_p_f_int_p_void__void swig_types[501] -#define SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void swig_types[502] -#define SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto swig_types[503] -#define SWIGTYPE_p_f_p_q_const__SoError_p_void__void swig_types[504] -#define SWIGTYPE_p_f_p_void__void swig_types[505] -#define SWIGTYPE_p_f_p_void_int__void swig_types[506] -#define SWIGTYPE_p_f_p_void_p_QEvent__int swig_types[507] -#define SWIGTYPE_p_f_p_void_p_QEvent__intp swig_types[508] -#define SWIGTYPE_p_f_p_void_p_ScXMLStateMachine__void swig_types[509] -#define SWIGTYPE_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void swig_types[510] -#define SWIGTYPE_p_f_p_void_p_SoAction__void swig_types[511] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int swig_types[512] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp swig_types[513] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void swig_types[514] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[515] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[516] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[517] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[518] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[519] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[520] -#define SWIGTYPE_p_f_p_void_p_SoDragger__void swig_types[521] -#define SWIGTYPE_p_f_p_void_p_SoEventCallback__void swig_types[522] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__float swig_types[523] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__floatp swig_types[524] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void swig_types[525] -#define SWIGTYPE_p_f_p_void_p_SoInput__void swig_types[526] -#define SWIGTYPE_p_f_p_void_p_SoPath__void swig_types[527] -#define SWIGTYPE_p_f_p_void_p_SoQtComponent__void swig_types[528] -#define SWIGTYPE_p_f_p_void_p_SoQtViewer__void swig_types[529] -#define SWIGTYPE_p_f_p_void_p_SoRenderManager__void swig_types[530] -#define SWIGTYPE_p_f_p_void_p_SoSceneManager__void swig_types[531] -#define SWIGTYPE_p_f_p_void_p_SoSelection__void swig_types[532] -#define SWIGTYPE_p_f_p_void_p_SoSensor__void swig_types[533] -#define SWIGTYPE_p_f_p_void_p_SoState_q_const__int__void swig_types[534] -#define SWIGTYPE_p_f_p_void_p_SoVRMLScript__void swig_types[535] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoFullPath swig_types[536] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath swig_types[537] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath swig_types[538] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoTempPath swig_types[539] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath swig_types[540] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath swig_types[541] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath swig_types[542] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath swig_types[543] -#define SWIGTYPE_p_f_p_void_p_void__void swig_types[544] -#define SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void swig_types[545] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f swig_types[546] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f swig_types[547] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f swig_types[548] -#define SWIGTYPE_p_f_p_void_size_t__p_void swig_types[549] -#define SWIGTYPE_p_f_p_void_uint32_t__void swig_types[550] -#define SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void swig_types[551] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int swig_types[552] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__intp swig_types[553] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void swig_types[554] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int swig_types[555] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp swig_types[556] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void swig_types[557] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void swig_types[558] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void swig_types[559] -#define SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void swig_types[560] -#define SWIGTYPE_p_f_void__p_void swig_types[561] -#define SWIGTYPE_p_float swig_types[562] -#define SWIGTYPE_p_floatp swig_types[563] -#define SWIGTYPE_p_int swig_types[564] -#define SWIGTYPE_p_int16_t swig_types[565] -#define SWIGTYPE_p_intp swig_types[566] -#define SWIGTYPE_p_long swig_types[567] -#define SWIGTYPE_p_longp swig_types[568] -#define SWIGTYPE_p_open_func swig_types[569] -#define SWIGTYPE_p_p_SoEngineOutput swig_types[570] -#define SWIGTYPE_p_p_SoField swig_types[571] -#define SWIGTYPE_p_p_SoMFBitMask swig_types[572] -#define SWIGTYPE_p_p_SoMFBool swig_types[573] -#define SWIGTYPE_p_p_SoMFColor swig_types[574] -#define SWIGTYPE_p_p_SoMFColorRGBA swig_types[575] -#define SWIGTYPE_p_p_SoMFDouble swig_types[576] -#define SWIGTYPE_p_p_SoMFEngine swig_types[577] -#define SWIGTYPE_p_p_SoMFEnum swig_types[578] -#define SWIGTYPE_p_p_SoMFFloat swig_types[579] -#define SWIGTYPE_p_p_SoMFInt32 swig_types[580] -#define SWIGTYPE_p_p_SoMFMatrix swig_types[581] -#define SWIGTYPE_p_p_SoMFName swig_types[582] -#define SWIGTYPE_p_p_SoMFNode swig_types[583] -#define SWIGTYPE_p_p_SoMFPath swig_types[584] -#define SWIGTYPE_p_p_SoMFPlane swig_types[585] -#define SWIGTYPE_p_p_SoMFRotation swig_types[586] -#define SWIGTYPE_p_p_SoMFShort swig_types[587] -#define SWIGTYPE_p_p_SoMFString swig_types[588] -#define SWIGTYPE_p_p_SoMFTime swig_types[589] -#define SWIGTYPE_p_p_SoMFUInt32 swig_types[590] -#define SWIGTYPE_p_p_SoMFUShort swig_types[591] -#define SWIGTYPE_p_p_SoMFVec2b swig_types[592] -#define SWIGTYPE_p_p_SoMFVec2d swig_types[593] -#define SWIGTYPE_p_p_SoMFVec2f swig_types[594] -#define SWIGTYPE_p_p_SoMFVec2i32 swig_types[595] -#define SWIGTYPE_p_p_SoMFVec2s swig_types[596] -#define SWIGTYPE_p_p_SoMFVec3b swig_types[597] -#define SWIGTYPE_p_p_SoMFVec3d swig_types[598] -#define SWIGTYPE_p_p_SoMFVec3f swig_types[599] -#define SWIGTYPE_p_p_SoMFVec3i32 swig_types[600] -#define SWIGTYPE_p_p_SoMFVec3s swig_types[601] -#define SWIGTYPE_p_p_SoMFVec4b swig_types[602] -#define SWIGTYPE_p_p_SoMFVec4d swig_types[603] -#define SWIGTYPE_p_p_SoMFVec4f swig_types[604] -#define SWIGTYPE_p_p_SoMFVec4i32 swig_types[605] -#define SWIGTYPE_p_p_SoMFVec4s swig_types[606] -#define SWIGTYPE_p_p_SoMFVec4ub swig_types[607] -#define SWIGTYPE_p_p_SoMFVec4ui32 swig_types[608] -#define SWIGTYPE_p_p_SoMFVec4us swig_types[609] -#define SWIGTYPE_p_p_SoMField swig_types[610] -#define SWIGTYPE_p_p_SoSFBitMask swig_types[611] -#define SWIGTYPE_p_p_SoSFBool swig_types[612] -#define SWIGTYPE_p_p_SoSFBox2d swig_types[613] -#define SWIGTYPE_p_p_SoSFBox2f swig_types[614] -#define SWIGTYPE_p_p_SoSFBox2i32 swig_types[615] -#define SWIGTYPE_p_p_SoSFBox2s swig_types[616] -#define SWIGTYPE_p_p_SoSFBox3d swig_types[617] -#define SWIGTYPE_p_p_SoSFBox3f swig_types[618] -#define SWIGTYPE_p_p_SoSFBox3i32 swig_types[619] -#define SWIGTYPE_p_p_SoSFBox3s swig_types[620] -#define SWIGTYPE_p_p_SoSFColor swig_types[621] -#define SWIGTYPE_p_p_SoSFColorRGBA swig_types[622] -#define SWIGTYPE_p_p_SoSFDouble swig_types[623] -#define SWIGTYPE_p_p_SoSFEngine swig_types[624] -#define SWIGTYPE_p_p_SoSFEnum swig_types[625] -#define SWIGTYPE_p_p_SoSFFloat swig_types[626] -#define SWIGTYPE_p_p_SoSFImage swig_types[627] -#define SWIGTYPE_p_p_SoSFImage3 swig_types[628] -#define SWIGTYPE_p_p_SoSFInt32 swig_types[629] -#define SWIGTYPE_p_p_SoSFMatrix swig_types[630] -#define SWIGTYPE_p_p_SoSFName swig_types[631] -#define SWIGTYPE_p_p_SoSFNode swig_types[632] -#define SWIGTYPE_p_p_SoSFPath swig_types[633] -#define SWIGTYPE_p_p_SoSFPlane swig_types[634] -#define SWIGTYPE_p_p_SoSFRotation swig_types[635] -#define SWIGTYPE_p_p_SoSFShort swig_types[636] -#define SWIGTYPE_p_p_SoSFString swig_types[637] -#define SWIGTYPE_p_p_SoSFTime swig_types[638] -#define SWIGTYPE_p_p_SoSFTrigger swig_types[639] -#define SWIGTYPE_p_p_SoSFUInt32 swig_types[640] -#define SWIGTYPE_p_p_SoSFUShort swig_types[641] -#define SWIGTYPE_p_p_SoSFVec2b swig_types[642] -#define SWIGTYPE_p_p_SoSFVec2d swig_types[643] -#define SWIGTYPE_p_p_SoSFVec2f swig_types[644] -#define SWIGTYPE_p_p_SoSFVec2i32 swig_types[645] -#define SWIGTYPE_p_p_SoSFVec2s swig_types[646] -#define SWIGTYPE_p_p_SoSFVec3b swig_types[647] -#define SWIGTYPE_p_p_SoSFVec3d swig_types[648] -#define SWIGTYPE_p_p_SoSFVec3f swig_types[649] -#define SWIGTYPE_p_p_SoSFVec3i32 swig_types[650] -#define SWIGTYPE_p_p_SoSFVec3s swig_types[651] -#define SWIGTYPE_p_p_SoSFVec4b swig_types[652] -#define SWIGTYPE_p_p_SoSFVec4d swig_types[653] -#define SWIGTYPE_p_p_SoSFVec4f swig_types[654] -#define SWIGTYPE_p_p_SoSFVec4i32 swig_types[655] -#define SWIGTYPE_p_p_SoSFVec4s swig_types[656] -#define SWIGTYPE_p_p_SoSFVec4ub swig_types[657] -#define SWIGTYPE_p_p_SoSFVec4ui32 swig_types[658] -#define SWIGTYPE_p_p_SoSFVec4us swig_types[659] -#define SWIGTYPE_p_p_SoSField swig_types[660] -#define SWIGTYPE_p_p_char swig_types[661] -#define SWIGTYPE_p_p_charp swig_types[662] -#define SWIGTYPE_p_p_void swig_types[663] -#define SWIGTYPE_p_read_func swig_types[664] -#define SWIGTYPE_p_seek_func swig_types[665] -#define SWIGTYPE_p_short swig_types[666] -#define SWIGTYPE_p_tell_func swig_types[667] -#define SWIGTYPE_p_time_t swig_types[668] -#define SWIGTYPE_p_timeval swig_types[669] -#define SWIGTYPE_p_uint16_t swig_types[670] -#define SWIGTYPE_p_uintptr_t swig_types[671] -#define SWIGTYPE_p_void swig_types[672] -static swig_type_info *swig_types[674]; -static swig_module_info swig_module = {swig_types, 673, 0, 0, 0, 0}; -#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) -#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) - -/* -------- TYPES TABLE (END) -------- */ - -#if (PY_VERSION_HEX <= 0x02000000) -# if !defined(SWIG_PYTHON_CLASSIC) -# error "This python version requires swig to be run with the '-classic' option" -# endif -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodern' option" -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodernargs' option" -#endif - -/*----------------------------------------------- - @(target):= _soqt.so - ------------------------------------------------*/ -#define SWIG_init init_soqt - -#define SWIG_name "_soqt" - -#define SWIGVERSION 0x010336 -#define SWIG_VERSION SWIGVERSION - - -#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) -#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) - - -#include - - -namespace swig { - class PyObject_ptr { - protected: - PyObject *_obj; - - public: - PyObject_ptr() :_obj(0) - { - } - - PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) - { - Py_XINCREF(_obj); - } - - PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) - { - if (initial_ref) { - Py_XINCREF(_obj); - } - } - - PyObject_ptr & operator=(const PyObject_ptr& item) - { - Py_XINCREF(item._obj); - Py_XDECREF(_obj); - _obj = item._obj; - return *this; - } - - ~PyObject_ptr() - { - Py_XDECREF(_obj); - } - - operator PyObject *() const - { - return _obj; - } - - PyObject *operator->() const - { - return _obj; - } - }; -} - - -namespace swig { - struct PyObject_var : PyObject_ptr { - PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } - - PyObject_var & operator = (PyObject* obj) - { - Py_XDECREF(_obj); - _obj = obj; - return *this; - } - }; -} - - -#if defined(_WIN32) || defined(__WIN32__) -#include -#undef max -#undef ERROR -#undef DELETE -#undef ANY -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -//#include - -#include "coin_header_includes.h" - -/* make CustomCursor in SoQtCursor known to SWIG */ -typedef SoQtCursor::CustomCursor CustomCursor; - -/* FIXME: there is a major pitfall reg. this solution, namely - * thread safety! reconsider! 20030626 tamer. - */ -static void * -Pivy_PythonInteractiveLoop(void *data) { - PyRun_InteractiveLoop(stdin, ""); - return NULL; -} - -static char * PYQT_MODULE_IMPORT_NAME = NULL; - -static void -initialize_pyqt_module_import_name() -{ - /* determine the Qt version SoQt has been compiled with for correct - * PyQt module import */ - if (!PYQT_MODULE_IMPORT_NAME) { - PYQT_MODULE_IMPORT_NAME = "qt"; - // FIXME Version 1.4.1 of SoQt dont have this methode (Juergen) - //if (strlen(SoQt::getVersionToolkitString()) >= 1 && - //SoQt::getVersionToolkitString()[0] == '4') { - PYQT_MODULE_IMPORT_NAME = "PyQt4.Qt"; - //} - } -} - - -#include - -#if (PY_VERSION_HEX < 0x02050000) -/* Py_ssize_t needed for Python 2.5 compatibility, but isn't defined - * in earlier Python versions. */ -typedef int Py_ssize_t; -#endif - -/* a casting helper function */ -SWIGEXPORT PyObject * -cast(PyObject * self, PyObject * args) -{ - swig_type_info * swig_type = 0; - void * cast_obj = 0; - char * type_name, * ptr_type; - int type_len; - PyObject * obj = 0; - - if (!PyArg_ParseTuple(args, "Os#:cast", &obj, &type_name, &type_len)) { - SWIG_fail; - } - - /* - * add a pointer sign to the string coming from the interpreter - * e.g. "SoSeparator" becomes "SoSeparator *" - so that SWIG_TypeQuery() - * can do its job. - */ - if (!(ptr_type = (char*)malloc(type_len+3))) { SWIG_fail; } - - memset(ptr_type, 0, type_len+3); - strncpy(ptr_type, type_name, type_len); - strcat(ptr_type, " *"); - - if (!(swig_type = SWIG_TypeQuery(ptr_type))) { - /* the britney maneuver: "baby one more time" by prefixing 'So' */ - char * cast_name = (char*)malloc(type_len + 5); - memset(cast_name, 0, type_len + 5); - cast_name[0] = 'S'; cast_name[1] = 'o'; - strncpy(cast_name+2, ptr_type, type_len+2); - - if (!(swig_type = SWIG_TypeQuery(cast_name))) { - free(cast_name); free(ptr_type); - SWIG_fail; - } - - free(cast_name); - } - - free(ptr_type); - - SWIG_ConvertPtr(obj, (void**)&cast_obj, NULL, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) { SWIG_fail; } - - return SWIG_NewPointerObj((void*)cast_obj, swig_type, 0); - fail: - return NULL; -} - -/* autocasting helper function for SoBase */ -SWIGEXPORT PyObject * -autocast_base(SoBase * base) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (base && base->isOfType(SoFieldContainer::getClassTypeId())) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = base->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)base, SWIGTYPE_p_SoBase, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoPath */ -SWIGEXPORT PyObject * -autocast_path(SoPath * path) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (path) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = path->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)path, SWIGTYPE_p_SoPath, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoField */ -SWIGEXPORT PyObject * -autocast_field(SoField * field) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (field) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = field->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)field, SWIGTYPE_p_SoField, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoEvent */ -SWIGEXPORT PyObject * -autocast_event(SoEvent * event) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (event) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = event->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)event, SWIGTYPE_p_SoEvent, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - - -typedef char charp; - -SWIGINTERN charp *new_charp(){ - return (new char); - } -SWIGINTERN void delete_charp(charp *self){ - if (self) delete self; - } - -SWIGINTERN swig_type_info* -SWIG_pchar_descriptor(void) -{ - static int init = 0; - static swig_type_info* info = 0; - if (!init) { - info = SWIG_TypeQuery("_p_char"); - init = 1; - } - return info; -} - - -SWIGINTERN int -SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) -{ - if (PyString_Check(obj)) { - char *cstr; Py_ssize_t len; - PyString_AsStringAndSize(obj, &cstr, &len); - if (cptr) { - if (alloc) { - /* - In python the user should not be able to modify the inner - string representation. To warranty that, if you define - SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string - buffer is always returned. - - The default behavior is just to return the pointer value, - so, be careful. - */ -#if defined(SWIG_PYTHON_SAFE_CSTRINGS) - if (*alloc != SWIG_OLDOBJ) -#else - if (*alloc == SWIG_NEWOBJ) -#endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } - else { - *cptr = cstr; - *alloc = SWIG_OLDOBJ; - } - } else { - *cptr = PyString_AsString(obj); - } - } - if (psize) *psize = len + 1; - return SWIG_OK; - } else { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - if (pchar_descriptor) { - void* vptr = 0; - if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { - if (cptr) *cptr = (char *) vptr; - if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; - if (alloc) *alloc = SWIG_OLDOBJ; - return SWIG_OK; - } - } - } - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsCharArray(PyObject * obj, char *val, size_t size) -{ - char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; - int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); - if (SWIG_IsOK(res)) { - if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize; - if (csize <= size) { - if (val) { - if (csize) memcpy(val, cptr, csize*sizeof(char)); - if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); - } - if (alloc == SWIG_NEWOBJ) { - delete[] cptr; - res = SWIG_DelNewMask(res); - } - return res; - } - if (alloc == SWIG_NEWOBJ) delete[] cptr; - } - return SWIG_TypeError; -} - - -#include -#if !defined(SWIG_NO_LLONG_MAX) -# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) -# define LLONG_MAX __LONG_LONG_MAX__ -# define LLONG_MIN (-LLONG_MAX - 1LL) -# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) -# endif -#endif - - -SWIGINTERN int -SWIG_AsVal_double (PyObject *obj, double *val) -{ - int res = SWIG_TypeError; - if (PyFloat_Check(obj)) { - if (val) *val = PyFloat_AsDouble(obj); - return SWIG_OK; - } else if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - double v = PyLong_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - double d = PyFloat_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = d; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); - } else { - PyErr_Clear(); - } - } - } -#endif - return res; -} - - -#include - - -#include - - -SWIGINTERNINLINE int -SWIG_CanCastAsInteger(double *d, double min, double max) { - double x = *d; - if ((min <= x && x <= max)) { - double fx = floor(x); - double cx = ceil(x); - double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ - if ((errno == EDOM) || (errno == ERANGE)) { - errno = 0; - } else { - double summ, reps, diff; - if (rd < x) { - diff = x - rd; - } else if (rd > x) { - diff = rd - x; - } else { - return 1; - } - summ = rd + x; - reps = diff/summ; - if (reps < 8*DBL_EPSILON) { - *d = rd; - return 1; - } - } - } - return 0; -} - - -SWIGINTERN int -SWIG_AsVal_long (PyObject *obj, long* val) -{ - if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - long v = PyInt_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { - if (val) *val = (long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsVal_char (PyObject * obj, char *val) -{ - int res = SWIG_AsCharArray(obj, val, 1); - if (!SWIG_IsOK(res)) { - long v; - res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); - if (SWIG_IsOK(res)) { - if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { - if (val) *val = static_cast< char >(v); - } else { - res = SWIG_OverflowError; - } - } - } - return res; -} - -SWIGINTERN void charp_assign(charp *self,char value){ - *self = value; - } -SWIGINTERN char charp_value(charp *self){ - return *self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtrAndSize(const char* carray, size_t size) -{ - if (carray) { - if (size > INT_MAX) { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - return pchar_descriptor ? - SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void(); - } else { - return PyString_FromStringAndSize(carray, static_cast< int >(size)); - } - } else { - return SWIG_Py_Void(); - } -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_char (char c) -{ - return SWIG_FromCharPtrAndSize(&c,1); -} - -SWIGINTERN char *charp_cast(charp *self){ - return self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtr(const char *cptr) -{ - return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); -} - - - - -SWIGINTERN charp *charp_frompointer(char *t){ - return (charp *) t; - } - -typedef int intp; - -SWIGINTERN intp *new_intp(){ - return (new int); - } -SWIGINTERN void delete_intp(intp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_int (PyObject * obj, int *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < INT_MIN || v > INT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< int >(v); - } - } - return res; -} - -SWIGINTERN void intp_assign(intp *self,int value){ - *self = value; - } -SWIGINTERN int intp_value(intp *self){ - return *self; - } - - #define SWIG_From_long PyInt_FromLong - - -SWIGINTERNINLINE PyObject * -SWIG_From_int (int value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN int *intp_cast(intp *self){ - return self; - } -SWIGINTERN intp *intp_frompointer(int *t){ - return (intp *) t; - } - -typedef long longp; - -SWIGINTERN longp *new_longp(){ - return (new long); - } -SWIGINTERN void delete_longp(longp *self){ - if (self) delete self; - } -SWIGINTERN void longp_assign(longp *self,long value){ - *self = value; - } -SWIGINTERN long longp_value(longp *self){ - return *self; - } -SWIGINTERN long *longp_cast(longp *self){ - return self; - } -SWIGINTERN longp *longp_frompointer(long *t){ - return (longp *) t; - } - -typedef float floatp; - -SWIGINTERN floatp *new_floatp(){ - return (new float); - } -SWIGINTERN void delete_floatp(floatp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_float (PyObject * obj, float *val) -{ - double v; - int res = SWIG_AsVal_double (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < -FLT_MAX || v > FLT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< float >(v); - } - } - return res; -} - -SWIGINTERN void floatp_assign(floatp *self,float value){ - *self = value; - } -SWIGINTERN float floatp_value(floatp *self){ - return *self; - } - - #define SWIG_From_double PyFloat_FromDouble - - -SWIGINTERNINLINE PyObject * -SWIG_From_float (float value) -{ - return SWIG_From_double (value); -} - -SWIGINTERN float *floatp_cast(floatp *self){ - return self; - } -SWIGINTERN floatp *floatp_frompointer(float *t){ - return (floatp *) t; - } - -typedef double doublep; - -SWIGINTERN doublep *new_doublep(){ - return (new double); - } -SWIGINTERN void delete_doublep(doublep *self){ - if (self) delete self; - } -SWIGINTERN void doublep_assign(doublep *self,double value){ - *self = value; - } -SWIGINTERN double doublep_value(doublep *self){ - return *self; - } -SWIGINTERN double *doublep_cast(doublep *self){ - return self; - } -SWIGINTERN doublep *doublep_frompointer(double *t){ - return (doublep *) t; - } -SWIGINTERN PyObject *SoType_createInstance(SoType *self){ - if (self->isDerivedFrom(SoField::getClassTypeId())) { - return autocast_field((SoField*)self->createInstance()); - } else if (self->isDerivedFrom(SoPath::getClassTypeId())) { - return autocast_path((SoPath*)self->createInstance()); - } - return autocast_base((SoBase*)self->createInstance()); - } - -static void -convert_SbVec2s_array(PyObject *input, short temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 shorts"); - PyErr_Print(); - } -} - -SWIGINTERN void *SbPList___getitem__(SbPList *self,int i){ return self->get(i); } -SWIGINTERN void SbPList___setitem__(SbPList *self,int i,void *val){ self->set(i,val); } -SWIGINTERN void SbIntList___setitem__(SbIntList *self,int const i,int *value){ self->set(i,value); } -SWIGINTERN int &SbIntList___getitem__(SbIntList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SbIntList_get(SbIntList *self,int const i){ return (*self)[i]; } - -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) -{ - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_int (unsigned int value) -{ - return SWIG_From_unsigned_SS_long (value); -} - -SWIGINTERN int SbString___eq____SWIG_0(SbString *self,SbString const &u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_0(SbString *self,SbString const &u){ return *self != u; } -SWIGINTERN int SbString___eq____SWIG_1(SbString *self,char *u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_1(SbString *self,char *u){ return *self != u; } -SWIGINTERN char SbString___getitem__(SbString *self,int i){ return (*self)[i]; } -SWIGINTERN char const *SbString___repr__(SbString *self){ return self->getString(); } -SWIGINTERN int SbName___eq____SWIG_0(SbName *self,SbName const &u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_0(SbName *self,SbName const &u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_1(SbName *self,char *u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_1(SbName *self,char *u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_2(SbName *self,SbString const &u){ return *self == u.getString(); } -SWIGINTERN int SbName___nq____SWIG_2(SbName *self,SbString const &u){ return *self != u.getString(); } -SWIGINTERN char SbName___getitem__(SbName *self,int i){ return self->getString()[i]; } -SWIGINTERN char const *SbName___repr__(SbName *self){ return self->getString(); } - -SWIGINTERN int -SWIG_AsVal_short (PyObject * obj, short *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < SHRT_MIN || v > SHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< short >(v); - } - } - return res; -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_short (short value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN SbVec2s SbVec2s___add__(SbVec2s *self,SbVec2s const &u){ return *self + u; } -SWIGINTERN SbVec2s SbVec2s___sub__(SbVec2s *self,SbVec2s const &u){ return *self - u; } -SWIGINTERN SbVec2s SbVec2s___mul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___rmul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___div__(SbVec2s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec2s___eq__(SbVec2s *self,SbVec2s const &u){ return *self == u; } -SWIGINTERN int SbVec2s___nq__(SbVec2s *self,SbVec2s const &u){ return *self != u; } -SWIGINTERN short SbVec2s___getitem__(SbVec2s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2s___setitem__(SbVec2s *self,int i,short value){ (*self)[i] = value; } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) -{ - if (PyInt_Check(obj)) { - long v = PyInt_AsLong(obj); - if (v >= 0) { - if (val) *val = v; - return SWIG_OK; - } else { - return SWIG_OverflowError; - } - } else if (PyLong_Check(obj)) { - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { - if (val) *val = (unsigned long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - -SWIGINTERN SbTime SbTime___add__(SbTime *self,SbTime const &u){ return *self + u; } -SWIGINTERN SbTime SbTime___sub__(SbTime *self,SbTime const &u){ return *self - u; } -SWIGINTERN SbTime SbTime___mul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___rmul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___div____SWIG_1(SbTime *self,double const d){ return *self / d; } -SWIGINTERN SbString SoField_get(SoField *self){ - SbString valuestring; - self->get(valuestring); - return valuestring; - } -SWIGINTERN int SoMField___len__(SoMField *self){ return self->getNum(); } -SWIGINTERN SbString SoMField_get1(SoMField *self,int const index){ - SbString valuestring; - self->get1(index, valuestring); - return valuestring; - } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UINT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned int >(v); - } - } - return res; -} - -SWIGINTERN void SoQt_mainLoop(){ - PyRun_SimpleString("import sys"); - PyObject *d = PyModule_GetDict(PyImport_AddModule("__main__")); - PyObject *result = PyRun_String("sys.argv[0]", Py_eval_input, d, d); - /* if we are calling from within an interactive python interpreter - * session spawn a new InteractiveLoop in a new thread. determined - * by sys.argv[0] == ''. otherwise proceed as usual. - */ - if (!strcmp(PyString_AsString(result), "")) { - cc_thread *py_thread = cc_thread_construct(Pivy_PythonInteractiveLoop, NULL); - SoQt::mainLoop(); - void *retval = NULL; - cc_thread_join(py_thread, &retval); - cc_thread_destruct(py_thread); - Py_Exit(0); - } else { - SoQt::mainLoop(); - } - } - -static SbBool -SoQtRenderAreaEventPythonCB(void * closure, QEvent * event) -{ - PyObject *func, *arglist; - PyObject *result, *sip, *qt, *qev = NULL; - int ret = 0; - - /* try to create a QEvent PyQt instance over sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qevent_type; - qevent_type = PyDict_GetItemString(PyModule_GetDict(qt), "QEvent"); - - arglist = Py_BuildValue("(lO)", event, qevent_type); - - if (!(qev = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QEvent could be created through sip return a swig QEvent type */ - if (!qev) { - qev = SWIG_NewPointerObj((void *)event, SWIGTYPE_p_QEvent, 0); - } - - /* the first item in the closure sequence is the python callback - * function; the second is the supplied closure python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)closure, 1), qev); - - if (!(result = PyEval_CallObject(func, arglist))) { - PyErr_Print(); - } else { - ret = PyInt_AsLong(result); - } - - if (sip) {Py_DECREF(sip); } - Py_DECREF(arglist); - Py_DECREF(qev); - Py_XDECREF(result); - - return ret; -} - -SWIGINTERN void SoQtRenderArea_setEventCallback__SWIG_2(SoQtRenderArea *self,PyObject *pyfunc,PyObject *user=NULL){ - self->setEventCallback(SoQtRenderAreaEventPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - user ? user : Py_None)); - } -#ifdef __cplusplus -extern "C" { -#endif -SWIGINTERN PyObject *_wrap_new_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_charp",0,0)) SWIG_fail; - result = (charp *)new_charp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_charp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_charp" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - delete_charp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_assign" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charp_assign" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - charp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"charp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_value" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char)charp_value(arg1); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_cast" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char *)charp_cast(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_frompointer" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (charp *)charp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *charp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_charp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_intp",0,0)) SWIG_fail; - result = (intp *)new_intp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_intp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intp" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - delete_intp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_assign" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intp_assign" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - intp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"intp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_value" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int)intp_value(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_cast" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int *)intp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_frompointer" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - result = (intp *)intp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *intp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_intp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_longp",0,0)) SWIG_fail; - result = (longp *)new_longp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_longp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_longp" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - delete_longp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_assign" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longp_assign" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - longp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - long result; - - if(!PyArg_UnpackTuple(args,(char *)"longp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_value" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long)longp_value(arg1); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - long *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_cast" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long *)longp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - long *arg1 = (long *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_long, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_frompointer" "', argument " "1"" of type '" "long *""'"); - } - arg1 = reinterpret_cast< long * >(argp1); - result = (longp *)longp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *longp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_longp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_floatp",0,0)) SWIG_fail; - result = (floatp *)new_floatp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_floatp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_floatp" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - delete_floatp(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_assign" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatp_assign" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - floatp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_value" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float)floatp_value(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_cast" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float *)floatp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_frompointer" "', argument " "1"" of type '" "float *""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - result = (floatp *)floatp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *floatp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_floatp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_doublep",0,0)) SWIG_fail; - result = (doublep *)new_doublep(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_doublep",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doublep" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - delete_doublep(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_assign" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doublep_assign" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - doublep_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_value" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double)doublep_value(arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_cast" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double *)doublep_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 = (double *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_frompointer" "', argument " "1"" of type '" "double *""'"); - } - arg1 = reinterpret_cast< double * >(argp1); - result = (doublep *)doublep_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *doublep_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_doublep, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDict" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbDict *)new SbDict(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",0,0)) SWIG_fail; - result = (SbDict *)new SbDict(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDict, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - result = (SbDict *)new SbDict((SbDict const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDict__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDict__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDict__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDict'.\n" - " Possible C/C++ prototypes are:\n" - " SbDict(int const)\n" - " SbDict()\n" - " SbDict(SbDict const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDict" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictApplyFunc *arg2 = (SbDictApplyFunc *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictApplyFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "SbDictApplyFunc *""'"); - } - arg2 = reinterpret_cast< SbDictApplyFunc * >(argp2); - ((SbDict const *)arg1)->applyToAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictApplyDataFunc *arg2 = (SbDictApplyDataFunc *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictApplyDataFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "SbDictApplyDataFunc *""'"); - } - arg2 = reinterpret_cast< SbDictApplyDataFunc * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - ((SbDict const *)arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbDictApplyFunc, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbDictApplyDataFunc, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDict_applyToAll'.\n" - " Possible C/C++ prototypes are:\n" - " applyToAll(SbDict const *,SbDictApplyFunc *)\n" - " applyToAll(SbDict const *,SbDictApplyDataFunc *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_clear" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_enter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_enter" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_enter" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_enter" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_enter" "', argument " "3"" of type '" "void *const""'"); - } - result = (SbBool)(arg1)->enter(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_find" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_find" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - result = (SbBool)((SbDict const *)arg1)->find(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_makePList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbPList *arg2 = 0 ; - SbPList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_makePList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_makePList" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - (arg1)->makePList(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDict::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_remove" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uintptr_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_remove" "', argument " "2"" of type '" "SbDict::Key const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_remove" "', argument " "2"" of type '" "SbDict::Key const""'"); - } else { - SbDict::Key * temp = reinterpret_cast< SbDict::Key * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)(arg1)->remove(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_setHashingFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbDictHashingFunc *arg2 = (SbDictHashingFunc *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_setHashingFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_setHashingFunction" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbDictHashingFunc, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_setHashingFunction" "', argument " "2"" of type '" "SbDictHashingFunc *""'"); - } - arg2 = reinterpret_cast< SbDictHashingFunc * >(argp2); - (arg1)->setHashingFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDict_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDict, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoType_fromName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = SoType::fromName(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getName" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getParent" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getParent(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isDerivedFrom" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->isDerivedFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getAllDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoTypeList *arg2 = 0 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getAllDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (int)SoType::getAllDerivedFrom(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_canCreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_canCreateInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_canCreateInstance" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->canCreateInstance(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint16_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getData" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getData(); - resultobj = SWIG_NewPointerObj((new uint16_t(static_cast< const uint16_t& >(result))), SWIGTYPE_p_uint16_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int16_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getKey" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getKey(); - resultobj = SWIG_NewPointerObj((new int16_t(static_cast< const int16_t& >(result))), SWIGTYPE_p_int16_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___eq__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator ==(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ne__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator !=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___lt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___le__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ge__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___gt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_removeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_removeType",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbBool)SoType::removeType((SbName const &)*arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_init",0,0)) SWIG_fail; - SoType::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_fromKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint16_t arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromKey",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_uint16_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } else { - uint16_t * temp = reinterpret_cast< uint16_t * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = SoType::fromKey(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_badType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_badType",0,0)) SWIG_fail; - result = SoType::badType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isBad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isBad",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isBad" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isBad(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_makeInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_makeInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_makeInternal" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - (arg1)->makeInternal(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isInternal" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isInternal(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getNumTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getNumTypes",0,0)) SWIG_fail; - result = (int)SoType::getNumTypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getInstantiationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType::instantiationMethod result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getInstantiationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getInstantiationMethod" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SoType::instantiationMethod)((SoType const *)arg1)->getInstantiationMethod(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_createInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_createInstance" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (PyObject *)SoType_createInstance(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoType",0,0)) SWIG_fail; - result = (SoType *)new SoType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoType" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbPList *)new SbPList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",0,0)) SWIG_fail; - result = (SbPList *)new SbPList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (SbPList *)new SbPList((SbPList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPList__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPList__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPList'.\n" - " Possible C/C++ prototypes are:\n" - " SbPList(int const)\n" - " SbPList()\n" - " SbPList(SbPList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPList" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_copy" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - (arg1)->copy((SbPList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_fit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_fit" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - (arg1)->fit(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_append" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_append" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_find" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_find" "', argument " "2"" of type '" "void *""'"); - } - result = (int)((SbPList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_insert" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_insert" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeItem" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_removeItem" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_remove" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeFast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeFast" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_removeFast" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeFast(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getLength" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (int)((SbPList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_truncate'.\n" - " Possible C/C++ prototypes are:\n" - " truncate(SbPList *,int const,int const)\n" - " truncate(SbPList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_getArrayPtr" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void **)((SbPList const *)arg1)->getArrayPtr(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - void **result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (void **)((SbPList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_getArrayPtr'.\n" - " Possible C/C++ prototypes are:\n" - " getArrayPtr(SbPList const *,int const)\n" - " getArrayPtr(SbPList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___eq__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator ==((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___ne__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator !=((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_get" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbPList const *)arg1)->get(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_set" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList_set" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___getitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)SbPList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___setitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList___setitem__" "', argument " "3"" of type '" "void *""'"); - } - SbPList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",0,0)) SWIG_fail; - result = (SbIntList *)new SbIntList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbIntList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbIntList *)new SbIntList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbIntList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbIntList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbIntList'.\n" - " Possible C/C++ prototypes are:\n" - " SbIntList()\n" - " SbIntList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_append" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_find" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_insert" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_insert" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbIntList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___setitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbIntList___setitem__" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SbIntList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___getitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int &_result_ref = SbIntList___getitem__(arg1,arg2); - result = (int *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_get" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SbIntList_get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbIntList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbIntList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbIntList" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbIntList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbIntList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",0,0)) SWIG_fail; - result = (SbString *)new SbString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbString *)new SbString((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int arg2 ; - int arg3 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)new SbString((char const *)arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbString *)new SbString((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbString *)new SbString(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbString__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbString__SWIG_3(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbString'.\n" - " Possible C/C++ prototypes are:\n" - " SbString()\n" - " SbString(char const *)\n" - " SbString(char const *,int,int)\n" - " SbString(SbString const &)\n" - " SbString(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->hash(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SbString::hash((char const *)arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_hash'.\n" - " Possible C/C++ prototypes are:\n" - " hash(SbString const *)\n" - " SbString::hash(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getLength" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (int)((SbString const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_makeEmpty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->makeEmpty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_makeEmpty'.\n" - " Possible C/C++ prototypes are:\n" - " makeEmpty(SbString *,SbBool)\n" - " makeEmpty(SbString *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)((SbString const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_getSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = ((SbString const *)arg1)->getSubString(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbString const *)arg1)->getSubString(arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_getSubString'.\n" - " Possible C/C++ prototypes are:\n" - " getSubString(SbString const *,int,int)\n" - " getSubString(SbString const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_deleteSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteSubString(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteSubString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_deleteSubString'.\n" - " Possible C/C++ prototypes are:\n" - " deleteSubString(SbString *,int,int)\n" - " deleteSubString(SbString *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_addIntString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_addIntString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_addIntString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_addIntString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addIntString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->operator +=((char const *)arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - SbString &_result_ref = (arg1)->operator +=((SbString const &)*arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - { - SbString &_result_ref = (arg1)->operator +=(arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString___iadd____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___iadd____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___iadd____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___iadd__'.\n" - " Possible C/C++ prototypes are:\n" - " operator +=(SbString *,char const *)\n" - " operator +=(SbString *,SbString const &)\n" - " operator +=(SbString *,char const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_compareSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_compareSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_compareSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_compareSubString'.\n" - " Possible C/C++ prototypes are:\n" - " compareSubString(SbString const *,char const *,int)\n" - " compareSubString(SbString const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_sprintf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_sprintf" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_sprintf" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->sprintf((char const *)arg2,arg3); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SbString_sprintf__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SbString_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char (*arg2)(char) = (char (*)(char)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_apply" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_char__char); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbString_apply" "', argument " "2"" of type '" "char (*)(char)""'"); - } - } - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_find" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)((SbString const *)arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_findAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbIntList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_findAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_findAll" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (SbBool)((SbString const *)arg1)->findAll((SbString const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_lower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_lower",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_lower" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->lower(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_upper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_upper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_upper" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = ((SbString const *)arg1)->upper(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___eq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___nq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___eq____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___nq____SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___nq__'.\n" - " Possible C/C++ prototypes are:\n" - " __nq__(SbString *,SbString const &)\n" - " __nq__(SbString *,char *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___getitem__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbString___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___repr__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)SbString___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",0,0)) SWIG_fail; - result = (SbName *)new SbName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbName" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbName *)new SbName((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - PyObject * obj0 = 0 ; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbName__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbName__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbName'.\n" - " Possible C/C++ prototypes are:\n" - " SbName()\n" - " SbName(char const *)\n" - " SbName(SbString const &)\n" - " SbName(SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbName" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getString" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)((SbName const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getLength" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (int)((SbName const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_empty",0,0)) SWIG_fail; - { - SbName const &_result_ref = SbName::empty(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_2(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbName___nq__'.\n" - " Possible C/C++ prototypes are:\n" - " __nq__(SbName *,SbName const &)\n" - " __nq__(SbName *,char *)\n" - " __nq__(SbName *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char result; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___getitem__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbName___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___repr__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)SbName___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoError",0,0)) SWIG_fail; - result = (SoError *)new SoError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoError" "', argument " "1"" of type '" "SoError *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoError_setHandlerCallback" "', argument " "2"" of type '" "void *const""'"); - } - SoError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getDebugString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getDebugString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getDebugString" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - SbString const &_result_ref = ((SoError const *)arg1)->getDebugString(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getClassTypeId",0,0)) SWIG_fail; - result = SoError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getTypeId" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - result = ((SoError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_isOfType" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoError const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - void *arg2 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_post",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoError::post((char const *)arg1,arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,1); - varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); - resultobj = _wrap_SoError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoNode const *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = SoError::getString((SoNode const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoPath const *const""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = SoError::getString((SoPath const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) (SoEngine *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoEngine const *const""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = SoError::getString((SoEngine const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_2(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoError_getString'.\n" - " Possible C/C++ prototypes are:\n" - " getString(SoNode const *const)\n" - " getString(SoPath const *const)\n" - " SoError::getString(SoEngine const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClass",0,0)) SWIG_fail; - SoError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClasses",0,0)) SWIG_fail; - SoError::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDebugError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDebugError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_setHandlerCallback" "', argument " "2"" of type '" "void *const""'"); - } - SoDebugError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoDebugError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoDebugError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getClassTypeId",0,0)) SWIG_fail; - result = SoDebugError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getTypeId" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = ((SoDebugError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getSeverity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDebugError::Severity result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getSeverity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getSeverity" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = (SoDebugError::Severity)((SoDebugError const *)arg1)->getSeverity(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_post",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_post" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::post((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postWarning",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postWarning" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postWarning" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postWarning((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postWarning__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postInfo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postInfo" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postInfo" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postInfo((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postInfo__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_initClass",0,0)) SWIG_fail; - SoDebugError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDebugError",0,0)) SWIG_fail; - result = (SoDebugError *)new SoDebugError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDebugError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDebugError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDebugError" "', argument " "1"" of type '" "SoDebugError *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDebugError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDebugError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",0,0)) SWIG_fail; - result = (SbVec2s *)new SbVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - short temp1[2] ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2s *)new SbVec2s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbVec2s *)new SbVec2s(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2us *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2us, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2us const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2us const &""'"); - } - arg1 = reinterpret_cast< SbVec2us * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2us const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2b *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2b const &""'"); - } - arg1 = reinterpret_cast< SbVec2b * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2b const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2i32 *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2i32 const &""'"); - } - arg1 = reinterpret_cast< SbVec2i32 * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2i32 const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec2s" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (SbVec2s *)new SbVec2s((SbVec2d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_6(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec2s__SWIG_7(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2s'.\n" - " Possible C/C++ prototypes are:\n" - " SbVec2s()\n" - " SbVec2s(short const [2])\n" - " SbVec2s(short,short)\n" - " SbVec2s(SbVec2us const &)\n" - " SbVec2s(SbVec2b const &)\n" - " SbVec2s(SbVec2i32 const &)\n" - " SbVec2s(SbVec2f const &)\n" - " SbVec2s(SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - convert_SbVec2s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - { - SbVec2s &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2us *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2us, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2us const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2us const &""'"); - } - arg2 = reinterpret_cast< SbVec2us * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2us const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2b *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2b, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2b const &""'"); - } - arg2 = reinterpret_cast< SbVec2b * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2b const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2i32 *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2i32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2i32 const &""'"); - } - arg2 = reinterpret_cast< SbVec2i32 * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2i32 const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2f const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2s &_result_ref = (arg1)->setValue((SbVec2d const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2us, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2b, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2i32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbVec2s *,short const [2])\n" - " setValue(SbVec2s *,short,short)\n" - " setValue(SbVec2s *,SbVec2us const &)\n" - " setValue(SbVec2s *,SbVec2b const &)\n" - " setValue(SbVec2s *,SbVec2i32 const &)\n" - " setValue(SbVec2s *,SbVec2f const &)\n" - " setValue(SbVec2s *,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_getValue" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ((SbVec2s const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_dot" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = ((SbVec2s const *)arg1)->dot(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_negate" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___imul__'.\n" - " Possible C/C++ prototypes are:\n" - " operator *=(SbVec2s *,int)\n" - " operator *=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___idiv__'.\n" - " Possible C/C++ prototypes are:\n" - " operator /=(SbVec2s *,int)\n" - " operator /=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___iadd__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2s &_result_ref = (arg1)->operator +=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___isub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SbVec2s &_result_ref = (arg1)->operator -=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___neg__" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = ((SbVec2s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_output" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___add__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___add__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___sub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___sub__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___mul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___rmul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___div__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___eq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___eq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___nq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___nq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - short result; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___getitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec2s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___setitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec2s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2s" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",0,0)) SWIG_fail; - result = (SbTime *)new SbTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - result = (SbTime *)new SbTime(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - long arg2 ; - int val1 ; - int ecode1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbTime" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - result = (SbTime *)new SbTime(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - timeval *arg1 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbTime" "', argument " "1"" of type '" "timeval const *const""'"); - } - arg1 = reinterpret_cast< timeval * >(argp1); - result = (SbTime *)new SbTime((timeval const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTime__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTime__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTime'.\n" - " Possible C/C++ prototypes are:\n" - " SbTime()\n" - " SbTime(double const)\n" - " SbTime(int32_t const,long const)\n" - " SbTime(timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getTimeOfDay",0,0)) SWIG_fail; - result = SbTime::getTimeOfDay(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setToTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setToTimeOfDay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setToTimeOfDay" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - (arg1)->setToTimeOfDay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_zero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_zero",0,0)) SWIG_fail; - result = SbTime::zero(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_max",0,0)) SWIG_fail; - result = SbTime::max(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_maxTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_maxTime",0,0)) SWIG_fail; - result = SbTime::maxTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_sleep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_sleep",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbTime_sleep" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SbTime::sleep(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - int32_t arg2 ; - long arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - long val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbTime_setValue" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "timeval const *const""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - (arg1)->setValue((timeval const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_setValue'.\n" - " Possible C/C++ prototypes are:\n" - " setValue(SbTime *,double const)\n" - " setValue(SbTime *,int32_t const,long const)\n" - " setValue(SbTime *,timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setMsecValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setMsecValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setMsecValue" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - (arg1)->setMsecValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (double)((SbTime const *)arg1)->getValue(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - time_t *arg2 = 0 ; - long *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_time_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - arg2 = reinterpret_cast< time_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - arg3 = reinterpret_cast< long * >(argp3); - ((SbTime const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "timeval *""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - ((SbTime const *)arg1)->getValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_time_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_getValue'.\n" - " Possible C/C++ prototypes are:\n" - " getValue(SbTime const *)\n" - " getValue(SbTime const *,time_t &,long &)\n" - " getValue(SbTime const *,timeval *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned long result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getMsecValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getMsecValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (unsigned long)((SbTime const *)arg1)->getMsecValue(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_format" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->format((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->format(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_format'.\n" - " Possible C/C++ prototypes are:\n" - " format(SbTime const *,char const *const)\n" - " format(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_formatDate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->formatDate((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->formatDate(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_formatDate'.\n" - " Possible C/C++ prototypes are:\n" - " formatDate(SbTime const *,char const *const)\n" - " formatDate(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_parsedate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_parsedate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_parsedate" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_parsedate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->parsedate((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___iadd__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator +=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___isub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator -=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___neg__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___imul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator *=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___idiv__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator /=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - double result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (double)((SbTime const *)arg1)->operator /((SbTime const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mod__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mod__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mod__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = ((SbTime const *)arg1)->operator %((SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___eq__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator ==((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ne__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator !=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___lt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___gt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___le__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ge__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_output" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbTime const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___add__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___add__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___sub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___sub__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___rmul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___div____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime___div____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbTime___div____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTime" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEvent",0,0)) SWIG_fail; - result = (SoEvent *)new SoEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEvent" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_isOfType" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoEvent const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTypeId" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setTime" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTime" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setPosition" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPosition((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - SbVec2s const &_result_ref = ((SoEvent const *)arg1)->getPosition(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEvent_getPosition'.\n" - " Possible C/C++ prototypes are:\n" - " getPosition(SoEvent const *)\n" - " getPosition(SoEvent const *,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getNormalizedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getNormalizedPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getNormalizedPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getNormalizedPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setShiftDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setShiftDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setShiftDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShiftDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasShiftDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setCtrlDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setCtrlDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setCtrlDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCtrlDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasCtrlDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasCtrlDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasCtrlDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setAltDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setAltDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setAltDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAltDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasAltDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasAltDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasAltDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_initClass",0,0)) SWIG_fail; - SoEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotRec" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SoNotRec *)new SoNotRec(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setType" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotRec_setType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoBase *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getBase" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoBase *)((SoNotRec const *)arg1)->getBase(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getType" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec::Type)((SoNotRec const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getPrevious",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getPrevious" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec *)((SoNotRec const *)arg1)->getPrevious(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setPrevious",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setPrevious" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotRec_setPrevious" "', argument " "2"" of type '" "SoNotRec const *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->setPrevious((SoNotRec const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_output" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotRec const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotRec" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotRec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotRec, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",0,0)) SWIG_fail; - result = (SoNotList *)new SoNotList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotList" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotList *)new SoNotList((SoNotList const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNotList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNotList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNotList'.\n" - " Possible C/C++ prototypes are:\n" - " SoNotList()\n" - " SoNotList(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoField *arg3 = (SoField *) (SoField *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoField *const""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) (SoEngineOutput *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoEngineOutput *const""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_append'.\n" - " Possible C/C++ prototypes are:\n" - " append(SoNotList *,SoNotRec *const)\n" - " append(SoNotList *,SoNotRec *const,SoField *const)\n" - " append(SoNotList *,SoNotRec *const,SoEngineOutput *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_setLastType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_setLastType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_setLastType" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotList_setLastType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setLastType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getLastRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRecAtNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNotRec *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRecAtNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRecAtNode" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRecAtNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoField *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastField" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoField *)((SoNotList const *)arg1)->getLastField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastEngineOutput" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoEngineOutput *)((SoNotList const *)arg1)->getLastEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getTimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getTimeStamp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getTimeStamp" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = ((SoNotList const *)arg1)->getTimeStamp(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotList const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ((SoNotList const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_output'.\n" - " Possible C/C++ prototypes are:\n" - " print(SoNotList const *,FILE *const)\n" - " print(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotList" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoField" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClass",0,0)) SWIG_fail; - SoField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClasses",0,0)) SWIG_fail; - SoField::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_cleanupClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_cleanupClass",0,0)) SWIG_fail; - SoField::cleanupClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setIgnored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setIgnored" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setIgnored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setIgnored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isIgnored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isIgnored" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isIgnored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDefault" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDefault" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDefault(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isDefault",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isDefault" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getTypeId" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = ((SoField const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getClassTypeId",0,0)) SWIG_fail; - result = SoField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isOfType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoField const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableConnection" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectionEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectionEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectionEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectionEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromEngine(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedEngine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoEngineOutput, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - arg2 = reinterpret_cast< SoEngineOutput ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedEngine(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_connectFrom'.\n" - " Possible C/C++ prototypes are:\n" - " connectFrom(SoField *,SoEngineOutput *,SbBool,SbBool)\n" - " connectFrom(SoField *,SoEngineOutput *,SbBool)\n" - " connectFrom(SoField *,SoEngineOutput *)\n" - " connectFrom(SoField *,SoField *,SbBool,SbBool)\n" - " connectFrom(SoField *,SoField *,SbBool)\n" - " connectFrom(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_appendConnection'.\n" - " Possible C/C++ prototypes are:\n" - " appendConnection(SoField *,SoEngineOutput *,SbBool)\n" - " appendConnection(SoField *,SoEngineOutput *)\n" - " appendConnection(SoField *,SoField *,SbBool)\n" - " appendConnection(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromField(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField **arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoField, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - arg2 = reinterpret_cast< SoField ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedField(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getNumConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getForwardConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->disconnect(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_disconnect'.\n" - " Possible C/C++ prototypes are:\n" - " disconnect(SoField *,SoEngineOutput *)\n" - " disconnect(SoField *,SoField *)\n" - " disconnect(SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnected" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setContainer" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_setContainer" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoFieldContainer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getContainer" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SoFieldContainer *)((SoField const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_set" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_shouldWrite" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_touch" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_startNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_notify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isNotifyEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_addAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_addAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_removeAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_removeAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___eq__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator ==((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___ne__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator !=((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectionStatusChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectionStatusChanged",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectionStatusChanged" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_connectionStatusChanged" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->connectionStatusChanged(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isReadOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isReadOnly" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isReadOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isSame" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoField const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_fixCopy" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_referencesCopy" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyConnection" "', argument " "2"" of type '" "SoField const *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyConnection((SoField const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_read" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->read(arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_write" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ((SoField const *)arg1)->write(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_countWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_countWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_countWriteRefs" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_countWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ((SoField const *)arg1)->countWriteRefs(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setFieldType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setFieldType" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setFieldType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFieldType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getFieldType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getFieldType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getFieldType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getDirty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getDirty" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->getDirty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDirty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDirty" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDirty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDirty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_evaluate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_evaluate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_evaluate" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ((SoField const *)arg1)->evaluate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_get" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = SoField_get(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSField *arg1 = (SoSField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSField" "', argument " "1"" of type '" "SoSField *""'"); - } - arg1 = reinterpret_cast< SoSField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_initClass",0,0)) SWIG_fail; - SoSField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_getClassTypeId",0,0)) SWIG_fail; - result = SoSField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_atexit_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_atexit_cleanup",0,0)) SWIG_fail; - SoSField::atexit_cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoMField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMField" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getClassTypeId",0,0)) SWIG_fail; - result = SoMField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_atexit_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_atexit_cleanup",0,0)) SWIG_fail; - SoMField::atexit_cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_getNum" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)((SoMField const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_setNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_setNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_setNum" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_setNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNum(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMField_deleteValues'.\n" - " Possible C/C++ prototypes are:\n" - " deleteValues(SoMField *,int,int)\n" - " deleteValues(SoMField *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_insertSpace" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_set1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - char *arg3 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_set1",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_set1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_set1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMField_set1" "', argument " "3"" of type '" "char const *const""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set1(arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_initClass",0,0)) SWIG_fail; - SoMField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_enableDeleteValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_enableDeleteValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_enableDeleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - (arg1)->enableDeleteValues(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_isDeleteValuesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_isDeleteValuesEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_isDeleteValuesEnabled" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (SbBool)((SoMField const *)arg1)->isDeleteValuesEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField___len__" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)SoMField___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_get1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_get1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_get1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_get1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMField_get1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_QEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QEvent *arg1 = (QEvent *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_QEvent",1,1,&obj0)) SWIG_fail; - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *QEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_QEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_QWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_QWidget",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *QWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_QWidget, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtObject_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_initClass",0,0)) SWIG_fail; - SoQtObject::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_getClassTypeId",0,0)) SWIG_fail; - result = SoQtObject::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtObject_getTypeId" "', argument " "1"" of type '" "SoQtObject const *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - result = ((SoQtObject const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtObject_isOfType" "', argument " "1"" of type '" "SoQtObject const *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoQtObject const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_init",0,0)) SWIG_fail; - SoQtObject::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtObject" "', argument " "1"" of type '" "SoQtObject *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtObject, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtDevice_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_initClass",0,0)) SWIG_fail; - SoQtDevice::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getClassTypeId",0,0)) SWIG_fail; - result = SoQtDevice::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_getTypeId" "', argument " "1"" of type '" "SoQtDevice const *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - result = ((SoQtDevice const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtDevice",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtDevice" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_enable" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtDevice_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtDevice_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_disable" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtDevice_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtDevice_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_translateEvent" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_setWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_setWindowSize" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtDevice_setWindowSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtDevice_setWindowSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setWindowSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_getWindowSize" "', argument " "1"" of type '" "SoQtDevice const *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - result = ((SoQtDevice const *)arg1)->getWindowSize(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_initClasses",0,0)) SWIG_fail; - SoQtDevice::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtDevice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtDevice, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_initClass",0,0)) SWIG_fail; - SoQtKeyboard::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_getClassTypeId",0,0)) SWIG_fail; - result = SoQtKeyboard::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_getTypeId" "', argument " "1"" of type '" "SoQtKeyboard const *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - result = ((SoQtKeyboard const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtKeyboard::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoQtKeyboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtKeyboard",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtKeyboard" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoQtKeyboard *)new SoQtKeyboard(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtKeyboard",0,0)) SWIG_fail; - result = (SoQtKeyboard *)new SoQtKeyboard(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtKeyboard__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtKeyboard__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtKeyboard'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtKeyboard(int)\n" - " SoQtKeyboard()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtKeyboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtKeyboard",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtKeyboard" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_enable" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtKeyboard_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtKeyboard_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_disable" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtKeyboard_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtKeyboard_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_translateEvent" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtKeyboard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtKeyboard, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtMouse_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_initClass",0,0)) SWIG_fail; - SoQtMouse::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_getClassTypeId",0,0)) SWIG_fail; - result = SoQtMouse::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_getTypeId" "', argument " "1"" of type '" "SoQtMouse const *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - result = ((SoQtMouse const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtMouse::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoQtMouse *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtMouse",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtMouse" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoQtMouse *)new SoQtMouse(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtMouse, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtMouse",0,0)) SWIG_fail; - result = (SoQtMouse *)new SoQtMouse(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtMouse, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtMouse__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtMouse__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtMouse'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtMouse(int)\n" - " SoQtMouse()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtMouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtMouse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtMouse" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_enable" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtMouse_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtMouse_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_disable" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtMouse_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtMouse_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_translateEvent" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtMouse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtMouse, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (QWidget *)SoQt::init((char const *)arg1,(char const *)arg2); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (QWidget *)SoQt::init((char const *)arg1); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = 0 ; - char **arg2 = (char **) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char **""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_init" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQt_init" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - result = (QWidget *)SoQt::init(*arg1,arg2,(char const *)arg3,(char const *)arg4); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = 0 ; - char **arg2 = (char **) 0 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char **""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_init" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (QWidget *)SoQt::init(*arg1,arg2,(char const *)arg3); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::init(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_SoQt_init__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_init'.\n" - " Possible C/C++ prototypes are:\n" - " init(char const *,char const *)\n" - " init(char const *)\n" - " init(int &,char **,char const *,char const *)\n" - " init(int &,char **,char const *)\n" - " SoQt::init(QWidget *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_exitMainLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_exitMainLoop",0,0)) SWIG_fail; - SoQt::exitMainLoop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_done(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_done",0,0)) SWIG_fail; - SoQt::done(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getTopLevelWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getTopLevelWidget",0,0)) SWIG_fail; - result = (QWidget *)SoQt::getTopLevelWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getShellWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getShellWidget",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (QWidget *)SoQt::getShellWidget((QWidget const *)arg1); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_show",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::show(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_hide",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::hide(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_setWidgetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - SbVec2s arg2 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_setWidgetSize",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_setWidgetSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_setWidgetSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - SoQt::setWidgetSize(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getWidgetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getWidgetSize",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = SoQt::getWidgetSize((QWidget const *)arg1); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_createSimpleErrorDialog",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoQt::createSimpleErrorDialog(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_createSimpleErrorDialog",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - SoQt::createSimpleErrorDialog(arg1,(char const *)arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_createSimpleErrorDialog__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_createSimpleErrorDialog__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_createSimpleErrorDialog'.\n" - " Possible C/C++ prototypes are:\n" - " createSimpleErrorDialog(QWidget *,char const *,char const *,char const *)\n" - " SoQt::createSimpleErrorDialog(QWidget *,char const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_getVersionInfo" "', argument " "2"" of type '" "int *""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_getVersionInfo" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SoQt::getVersionInfo(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_getVersionInfo" "', argument " "2"" of type '" "int *""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - SoQt::getVersionInfo(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - SoQt::getVersionInfo(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",0,0)) SWIG_fail; - SoQt::getVersionInfo(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoQt_getVersionInfo__SWIG_3(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_getVersionInfo'.\n" - " Possible C/C++ prototypes are:\n" - " getVersionInfo(int *,int *,int *)\n" - " getVersionInfo(int *,int *)\n" - " getVersionInfo(int *)\n" - " SoQt::getVersionInfo()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionString",0,0)) SWIG_fail; - result = (char *)SoQt::getVersionString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionToolkitString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionToolkitString",0,0)) SWIG_fail; - // FIXME Version 1.4.1 of SoQt dont have this methode (Juergen) - //result = (char *)SoQt::getVersionToolkitString(); - return NULL; - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_setFatalErrorHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQt::FatalErrorCB *arg1 = (SoQt::FatalErrorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQt::FatalErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_setFatalErrorHandler",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQt_setFatalErrorHandler" "', argument " "1"" of type '" "SoQt::FatalErrorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_setFatalErrorHandler" "', argument " "2"" of type '" "void *""'"); - } - result = (SoQt::FatalErrorCB *)SoQt::setFatalErrorHandler(arg1,arg2); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_isDebugLibrary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_isDebugLibrary",0,0)) SWIG_fail; - result = (SbBool)SoQt::isDebugLibrary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_isCompatible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int arg2 ; - unsigned int val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_isCompatible",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoQt_isCompatible" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQt_isCompatible" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (SbBool)SoQt::isCompatible(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getABIType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQt::ABIType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getABIType",0,0)) SWIG_fail; - result = (SoQt::ABIType)SoQt::getABIType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_lockGL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_lockGL",0,0)) SWIG_fail; - // FIXME Version 1.4.1 of SoQt dont have this methode (Juergen) - //SoQt::lockGL(); - return NULL; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_unlockGL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_unlockGL",0,0)) SWIG_fail; - // FIXME Version 1.4.1 of SoQt dont have this methode (Juergen) - //SoQt::unlockGL(); - return NULL; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_mainLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_mainLoop",0,0)) SWIG_fail; - SoQt_mainLoop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQt, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtComponent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_initClass",0,0)) SWIG_fail; - SoQtComponent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getClassTypeId",0,0)) SWIG_fail; - result = SoQtComponent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getTypeId" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = ((SoQtComponent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtComponent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtComponent" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_show",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_show" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - (arg1)->show(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_hide",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_hide" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - (arg1)->hide(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setComponentCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setComponentCursor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setComponentCursor" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - (arg1)->setComponentCursor((SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWidgetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWidgetCursor",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setWidgetCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setWidgetCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - SoQtComponent::setWidgetCursor(arg1,(SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isFullScreen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isFullScreen" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)((SoQtComponent const *)arg1)->isFullScreen(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setFullScreen",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setFullScreen" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtComponent_setFullScreen" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->setFullScreen(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isVisible" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)(arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isTopLevelShell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isTopLevelShell",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isTopLevelShell" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)((SoQtComponent const *)arg1)->isTopLevelShell(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getBaseWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getBaseWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getBaseWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getBaseWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getShellWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getShellWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getShellWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getShellWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getParentWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getParentWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getParentWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getParentWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setSize" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getSize" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = ((SoQtComponent const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setTitle" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setTitle" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setTitle((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getTitle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getTitle" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getTitle(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setIconTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setIconTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setIconTitle" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setIconTitle" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setIconTitle((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getIconTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getIconTitle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getIconTitle" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getIconTitle(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getWidgetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getWidgetName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getWidgetName" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getWidgetName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getClassName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getClassName" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getClassName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtComponentCB *arg2 = (SoQtComponentCB *) (SoQtComponentCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWindowCloseCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "2"" of type '" "SoQtComponentCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setWindowCloseCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtComponentCB *arg2 = (SoQtComponentCB *) (SoQtComponentCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWindowCloseCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "2"" of type '" "SoQtComponentCB *const""'"); - } - } - (arg1)->setWindowCloseCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtComponent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtComponent_setWindowCloseCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtComponent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtComponent_setWindowCloseCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtComponent_setWindowCloseCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setWindowCloseCallback(SoQtComponent *,SoQtComponentCB *const,void *const)\n" - " setWindowCloseCallback(SoQtComponent *,SoQtComponentCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SoQtComponent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getComponent",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtComponent *)SoQtComponent::getComponent(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtComponent, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_initClasses",0,0)) SWIG_fail; - SoQtComponent::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtComponent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtComponent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_initClass",0,0)) SWIG_fail; - SoQtGLWidget::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getClassTypeId",0,0)) SWIG_fail; - result = SoQtGLWidget::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getTypeId" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = ((SoQtGLWidget const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setBorder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setBorder" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setBorder" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBorder(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isBorder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isBorder" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isBorder(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setDoubleBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setDoubleBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setDoubleBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoubleBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isDoubleBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isDoubleBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isDoubleBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setDrawToFrontBufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setDrawToFrontBufferEnable",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setDrawToFrontBufferEnable" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setDrawToFrontBufferEnable" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDrawToFrontBufferEnable(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isDrawToFrontBufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isDrawToFrontBufferEnable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isDrawToFrontBufferEnable" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isDrawToFrontBufferEnable(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setQuadBufferStereo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setQuadBufferStereo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setQuadBufferStereo" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setQuadBufferStereo" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setQuadBufferStereo(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isQuadBufferStereo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isQuadBufferStereo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isQuadBufferStereo" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isQuadBufferStereo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setAccumulationBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setAccumulationBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setAccumulationBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setAccumulationBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAccumulationBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getAccumulationBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getAccumulationBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getAccumulationBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getAccumulationBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setStencilBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setStencilBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setStencilBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setStencilBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStencilBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getStencilBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getStencilBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getStencilBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getStencilBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setAlphaChannel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setAlphaChannel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setAlphaChannel" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setAlphaChannel" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAlphaChannel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getAlphaChannel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getAlphaChannel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getAlphaChannel" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getAlphaChannel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setOverlayRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setOverlayRender" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setOverlayRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOverlayRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isOverlayRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isOverlayRender" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isOverlayRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setStealFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setStealFocus",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setStealFocus" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setStealFocus" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStealFocus(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isStealFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isStealFocus",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isStealFocus" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isStealFocus(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getGLWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getGLWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getGLWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getGLWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getNormalWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getNormalWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getNormalWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getNormalWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getOverlayWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getOverlayWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getOverlayWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getOverlayWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_hasOverlayGLArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_hasOverlayGLArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_hasOverlayGLArea" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->hasOverlayGLArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_hasNormalGLArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_hasNormalGLArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_hasNormalGLArea" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->hasNormalGLArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getOverlayTransparentPixel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - unsigned long result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getOverlayTransparentPixel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getOverlayTransparentPixel" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (unsigned long)(arg1)->getOverlayTransparentPixel(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getPointSizeLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbVec2f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getPointSizeLimits",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->getPointSizeLimits(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getLineWidthLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbVec2f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getLineWidthLimits",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->getLineWidthLimits(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtGLWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtGLWidget, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_initClass",0,0)) SWIG_fail; - SoQtRenderArea::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getClassTypeId",0,0)) SWIG_fail; - result = SoQtRenderArea::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getTypeId" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = ((SoQtRenderArea const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtRenderArea::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtRenderArea" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtRenderArea" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtRenderArea" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtRenderArea *)new SoQtRenderArea(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",0,0)) SWIG_fail; - result = (SoQtRenderArea *)new SoQtRenderArea(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtRenderArea__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtRenderArea'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtRenderArea(QWidget *,char const *,SbBool,SbBool,SbBool)\n" - " SoQtRenderArea(QWidget *,char const *,SbBool,SbBool)\n" - " SoQtRenderArea(QWidget *,char const *,SbBool)\n" - " SoQtRenderArea(QWidget *,char const *)\n" - " SoQtRenderArea(QWidget *)\n" - " SoQtRenderArea()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtRenderArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtRenderArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtRenderArea" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setSceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setSceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getSceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoNode *)(arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlaySceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlaySceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlaySceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setOverlaySceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlaySceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlaySceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoNode *)(arg1)->getOverlaySceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getBackgroundColor" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - SbColor const &_result_ref = ((SoQtRenderArea const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (int)((SoQtRenderArea const *)arg1)->getBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setOverlayBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setOverlayBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlayBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlayBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlayBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (int)((SoQtRenderArea const *)arg1)->getOverlayBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setColorMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - int arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setColorMap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setColorMap" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setColorMap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setColorMap" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtRenderArea_setColorMap" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - (arg1)->setColorMap(arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayColorMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - int arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayColorMap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - (arg1)->setOverlayColorMap(arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getViewportRegion" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoQtRenderArea const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction::TransparencyType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setTransparencyType" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setTransparencyType" "', argument " "2"" of type '" "SoGLRenderAction::TransparencyType""'"); - } - arg2 = static_cast< SoGLRenderAction::TransparencyType >(val2); - (arg1)->setTransparencyType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction::TransparencyType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getTransparencyType" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction::TransparencyType)((SoQtRenderArea const *)arg1)->getTransparencyType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setAntialiasing(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - ((SoQtRenderArea const *)arg1)->getAntialiasing(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeRender",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setClearBeforeRender(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setClearBeforeRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtRenderArea_setClearBeforeRender__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtRenderArea_setClearBeforeRender__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtRenderArea_setClearBeforeRender'.\n" - " Possible C/C++ prototypes are:\n" - " setClearBeforeRender(SoQtRenderArea *,SbBool,SbBool)\n" - " setClearBeforeRender(SoQtRenderArea *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearBeforeRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearBeforeRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearBeforeRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearZBufferBeforeRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearZBufferBeforeRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearZBufferBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearZBufferBeforeRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeOverlayRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeOverlayRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeOverlayRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setClearBeforeOverlayRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearBeforeOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearBeforeOverlayRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearBeforeOverlayRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearBeforeOverlayRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setAutoRedraw",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setAutoRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setAutoRedraw" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAutoRedraw(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isAutoRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isAutoRedraw" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isAutoRedraw(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setRedrawPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setRedrawPriority" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setRedrawPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setRedrawPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getRedrawPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getRedrawPriority" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = ((SoQtRenderArea const *)arg1)->getRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getDefaultRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getDefaultRedrawPriority",0,0)) SWIG_fail; - result = SoQtRenderArea::getDefaultRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_render(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_render",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_render" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->render(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_renderOverlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_renderOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_renderOverlay" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->renderOverlay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_scheduleRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_scheduleRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_scheduleRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->scheduleRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_scheduleOverlayRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_scheduleOverlayRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_scheduleOverlayRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->scheduleOverlayRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_redrawOnSelectionChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSelection *arg2 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_redrawOnSelectionChange",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_redrawOnSelectionChange" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_redrawOnSelectionChange" "', argument " "2"" of type '" "SoSelection *""'"); - } - arg2 = reinterpret_cast< SoSelection * >(argp2); - (arg1)->redrawOnSelectionChange(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_redrawOverlayOnSelectionChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSelection *arg2 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_redrawOverlayOnSelectionChange",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_redrawOverlayOnSelectionChange" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_redrawOverlayOnSelectionChange" "', argument " "2"" of type '" "SoSelection *""'"); - } - arg2 = reinterpret_cast< SoSelection * >(argp2); - (arg1)->redrawOverlayOnSelectionChange(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtRenderAreaEventCB *arg2 = (SoQtRenderAreaEventCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_QEvent__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "2"" of type '" "SoQtRenderAreaEventCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtRenderAreaEventCB *arg2 = (SoQtRenderAreaEventCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_QEvent__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "2"" of type '" "SoQtRenderAreaEventCB *""'"); - } - } - (arg1)->setEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *arg2 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setSceneManager",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setSceneManager" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setSceneManager" "', argument " "2"" of type '" "SoSceneManager *""'"); - } - arg2 = reinterpret_cast< SoSceneManager * >(argp2); - (arg1)->setSceneManager(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSceneManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getSceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getSceneManager" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoSceneManager *)((SoQtRenderArea const *)arg1)->getSceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlaySceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *arg2 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlaySceneManager",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlaySceneManager" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlaySceneManager" "', argument " "2"" of type '" "SoSceneManager *""'"); - } - arg2 = reinterpret_cast< SoSceneManager * >(argp2); - (arg1)->setOverlaySceneManager(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlaySceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoSceneManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlaySceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlaySceneManager" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoSceneManager *)((SoQtRenderArea const *)arg1)->getOverlaySceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction *)((SoQtRenderArea const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlayGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setOverlayGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlayGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoGLRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlayGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlayGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction *)((SoQtRenderArea const *)arg1)->getOverlayGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_sendSoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_sendSoEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_sendSoEvent" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_sendSoEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->sendSoEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_registerDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtDevice *arg2 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_registerDevice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_registerDevice" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_registerDevice" "', argument " "2"" of type '" "SoQtDevice *""'"); - } - arg2 = reinterpret_cast< SoQtDevice * >(argp2); - (arg1)->registerDevice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_unregisterDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtDevice *arg2 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_unregisterDevice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_unregisterDevice" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_unregisterDevice" "', argument " "2"" of type '" "SoQtDevice *""'"); - } - arg2 = reinterpret_cast< SoQtDevice * >(argp2); - (arg1)->unregisterDevice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoQtRenderArea_setEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoQtRenderArea_setEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_QEvent__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_QEvent__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtRenderArea_setEventCallback'.\n" - " Possible C/C++ prototypes are:\n" - " setEventCallback(SoQtRenderArea *,SoQtRenderAreaEventCB *,void *)\n" - " setEventCallback(SoQtRenderArea *,SoQtRenderAreaEventCB *)\n" - " setEventCallback(SoQtRenderArea *,PyObject *,PyObject *)\n" - " setEventCallback(SoQtRenderArea *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoQtRenderArea_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtRenderArea, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_initClass",0,0)) SWIG_fail; - SoQtViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getTypeId" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = ((SoQtViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCamera" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getCamera" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoCamera *)((SoQtViewer const *)arg1)->getCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCameraType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCameraType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setCameraType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getCameraType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getCameraType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = ((SoQtViewer const *)arg1)->getCameraType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_toggleCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_toggleCameraType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_toggleCameraType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->toggleCameraType(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_viewAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_viewAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_viewAll" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->viewAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_saveHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_saveHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_saveHomePosition" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->saveHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setHeadlight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setHeadlight" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setHeadlight" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setHeadlight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isHeadlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isHeadlight" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isHeadlight(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoDirectionalLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getHeadlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getHeadlight" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoDirectionalLight *)((SoQtViewer const *)arg1)->getHeadlight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::DrawType arg2 ; - SoQtViewer::DrawStyle arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDrawStyle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDrawStyle" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDrawStyle" "', argument " "2"" of type '" "SoQtViewer::DrawType""'"); - } - arg2 = static_cast< SoQtViewer::DrawType >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setDrawStyle" "', argument " "3"" of type '" "SoQtViewer::DrawStyle""'"); - } - arg3 = static_cast< SoQtViewer::DrawStyle >(val3); - (arg1)->setDrawStyle(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::DrawType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQtViewer::DrawStyle result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getDrawStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getDrawStyle" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_getDrawStyle" "', argument " "2"" of type '" "SoQtViewer::DrawType""'"); - } - arg2 = static_cast< SoQtViewer::DrawType >(val2); - result = (SoQtViewer::DrawStyle)((SoQtViewer const *)arg1)->getDrawStyle(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setBufferingType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::BufferType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setBufferingType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setBufferingType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setBufferingType" "', argument " "2"" of type '" "SoQtViewer::BufferType""'"); - } - arg2 = static_cast< SoQtViewer::BufferType >(val2); - (arg1)->setBufferingType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getBufferingType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoQtViewer::BufferType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getBufferingType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getBufferingType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoQtViewer::BufferType)((SoQtViewer const *)arg1)->getBufferingType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setViewing" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isViewing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isViewing" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isViewing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isCursorEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isCursorEnabled" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isCursorEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClipping",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClipping" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClipping" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAutoClipping(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isAutoClipping",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isAutoClipping" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isAutoClipping(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - SoQtAutoClippingCB *arg4 = (SoQtAutoClippingCB *) 0 ; - void *arg5 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "4"" of type '" "SoQtAutoClippingCB *""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "5"" of type '" "void *""'"); - } - (arg1)->setAutoClippingStrategy(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - SoQtAutoClippingCB *arg4 = (SoQtAutoClippingCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "4"" of type '" "SoQtAutoClippingCB *""'"); - } - } - (arg1)->setAutoClippingStrategy(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setAutoClippingStrategy(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - (arg1)->setAutoClippingStrategy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_setAutoClippingStrategy'.\n" - " Possible C/C++ prototypes are:\n" - " setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const,SoQtAutoClippingCB *,void *)\n" - " setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const,SoQtAutoClippingCB *)\n" - " setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const)\n" - " setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoViewing" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStereoViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isStereoViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isStereoViewing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isStereoViewing" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isStereoViewing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoOffset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoOffset" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoOffset" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setStereoOffset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getStereoOffset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getStereoOffset" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (float)((SoQtViewer const *)arg1)->getStereoOffset(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::StereoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoType" "', argument " "2"" of type '" "SoQtViewer::StereoType""'"); - } - arg2 = static_cast< SoQtViewer::StereoType >(val2); - result = (SbBool)(arg1)->setStereoType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getStereoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoQtViewer::StereoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getStereoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getStereoType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoQtViewer::StereoType)((SoQtViewer const *)arg1)->getStereoType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAnaglyphStereoColorMasks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool *arg2 ; - SbBool *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAnaglyphStereoColorMasks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "2"" of type '" "SbBool const [3]""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "3"" of type '" "SbBool const [3]""'"); - } - arg3 = reinterpret_cast< SbBool * >(argp3); - (arg1)->setAnaglyphStereoColorMasks((SbBool const (*))arg2,(SbBool const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getAnaglyphStereoColorMasks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool *arg2 ; - SbBool *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getAnaglyphStereoColorMasks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "2"" of type '" "SbBool [3]""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "3"" of type '" "SbBool [3]""'"); - } - arg3 = reinterpret_cast< SbBool * >(argp3); - (arg1)->getAnaglyphStereoColorMasks(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDetailSeek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDetailSeek",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDetailSeek" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDetailSeek" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDetailSeek(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isDetailSeek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isDetailSeek",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isDetailSeek" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isDetailSeek(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setSeekTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setSeekTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setSeekTime" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setSeekTime" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setSeekTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getSeekTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getSeekTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getSeekTime" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (float)((SoQtViewer const *)arg1)->getSeekTime(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_addStartCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_addStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addStartCallback(SoQtViewer *,SoQtViewerCB *,void *)\n" - " addStartCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_addFinishCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_addFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " addFinishCallback(SoQtViewer *,SoQtViewerCB *,void *)\n" - " addFinishCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_removeStartCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_removeStartCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeStartCallback(SoQtViewer *,SoQtViewerCB *,void *)\n" - " removeStartCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_removeFinishCallback'.\n" - " Possible C/C++ prototypes are:\n" - " removeFinishCallback(SoQtViewer *,SoQtViewerCB *,void *)\n" - " removeFinishCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setWireframeOverlayColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setWireframeOverlayColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setWireframeOverlayColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getWireframeOverlayColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getWireframeOverlayColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getWireframeOverlayColor" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - SbColor const &_result_ref = ((SoQtViewer const *)arg1)->getWireframeOverlayColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDoubleBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDoubleBuffer" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDoubleBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoubleBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setSceneGraph" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setSceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getSceneGraph" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoNode *)(arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_initClass",0,0)) SWIG_fail; - SoQtFullViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtFullViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getTypeId" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = ((SoQtFullViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setDecoration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setDecoration",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setDecoration" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setDecoration" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDecoration(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_isDecoration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_isDecoration",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_isDecoration" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (SbBool)((SoQtFullViewer const *)arg1)->isDecoration(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setPopupMenuEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setPopupMenuEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setPopupMenuEnabled" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setPopupMenuEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPopupMenuEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_isPopupMenuEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_isPopupMenuEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_isPopupMenuEnabled" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (SbBool)((SoQtFullViewer const *)arg1)->isPopupMenuEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getAppPushButtonParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getAppPushButtonParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getAppPushButtonParent" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (QWidget *)((SoQtFullViewer const *)arg1)->getAppPushButtonParent(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_addAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_addAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_addAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - (arg1)->addAppPushButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_insertAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_insertAppPushButton",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_insertAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtFullViewer_insertAppPushButton" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertAppPushButton(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_removeAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_removeAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_removeAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - (arg1)->removeAppPushButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_findAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_findAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_findAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (int)((SoQtFullViewer const *)arg1)->findAppPushButton(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_lengthAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_lengthAppPushButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_lengthAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (int)((SoQtFullViewer const *)arg1)->lengthAppPushButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getRenderAreaWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getRenderAreaWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getRenderAreaWidget" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (QWidget *)((SoQtFullViewer const *)arg1)->getRenderAreaWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setViewing" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setComponentCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setComponentCursor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - (arg1)->setComponentCursor((SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtFullViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtFullViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_initClass",0,0)) SWIG_fail; - SoQtPlaneViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtPlaneViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_getTypeId" "', argument " "1"" of type '" "SoQtPlaneViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - result = ((SoQtPlaneViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtPlaneViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtPlaneViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtPlaneViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtPlaneViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",0,0)) SWIG_fail; - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtPlaneViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtPlaneViewer'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtPlaneViewer(QWidget *,char const *const,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n" - " SoQtPlaneViewer(QWidget *,char const *const,SbBool,SoQtFullViewer::BuildFlag)\n" - " SoQtPlaneViewer(QWidget *,char const *const,SbBool)\n" - " SoQtPlaneViewer(QWidget *,char const *const)\n" - " SoQtPlaneViewer(QWidget *)\n" - " SoQtPlaneViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtPlaneViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtPlaneViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtPlaneViewer" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setViewing" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPlaneViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setCamera" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPlaneViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPlaneViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtPlaneViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtPlaneViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_initClass",0,0)) SWIG_fail; - SoQtExaminerViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtExaminerViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_getTypeId" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = ((SoQtExaminerViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtExaminerViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtExaminerViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtExaminerViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtExaminerViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",0,0)) SWIG_fail; - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtExaminerViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtExaminerViewer'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtExaminerViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n" - " SoQtExaminerViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag)\n" - " SoQtExaminerViewer(QWidget *,char const *,SbBool)\n" - " SoQtExaminerViewer(QWidget *,char const *)\n" - " SoQtExaminerViewer(QWidget *)\n" - " SoQtExaminerViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtExaminerViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtExaminerViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtExaminerViewer" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setAnimationEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setAnimationEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setAnimationEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAnimationEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isAnimationEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isAnimationEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isAnimationEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_stopAnimating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_stopAnimating",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_stopAnimating" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - (arg1)->stopAnimating(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isAnimating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isAnimating",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isAnimating" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isAnimating(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setFeedbackVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setFeedbackVisibility",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setFeedbackVisibility" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setFeedbackVisibility" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFeedbackVisibility(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isFeedbackVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isFeedbackVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isFeedbackVisible" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isFeedbackVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setFeedbackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setFeedbackSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setFeedbackSize" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setFeedbackSize" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFeedbackSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getFeedbackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getFeedbackSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_getFeedbackSize" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (int)((SoQtExaminerViewer const *)arg1)->getFeedbackSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setViewing" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setCamera" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtExaminerViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtExaminerViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtExaminerViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_initClass",0,0)) SWIG_fail; - SoQtConstrainedViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtConstrainedViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_getTypeId" "', argument " "1"" of type '" "SoQtConstrainedViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - result = ((SoQtConstrainedViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_setUpDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_setUpDirection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setUpDirection((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getUpDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getUpDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_getUpDirection" "', argument " "1"" of type '" "SoQtConstrainedViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - { - SbVec3f const &_result_ref = ((SoQtConstrainedViewer const *)arg1)->getUpDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_setCamera" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtConstrainedViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_saveHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_saveHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_saveHomePosition" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - (arg1)->saveHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtConstrainedViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtConstrainedViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_initClass",0,0)) SWIG_fail; - SoQtFlyViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtFlyViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_getTypeId" "', argument " "1"" of type '" "SoQtFlyViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - result = ((SoQtFlyViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtFlyViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtFlyViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtFlyViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtFlyViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",0,0)) SWIG_fail; - result = (SoQtFlyViewer *)new SoQtFlyViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtFlyViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtFlyViewer'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtFlyViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n" - " SoQtFlyViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag)\n" - " SoQtFlyViewer(QWidget *,char const *,SbBool)\n" - " SoQtFlyViewer(QWidget *,char const *)\n" - " SoQtFlyViewer(QWidget *)\n" - " SoQtFlyViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtFlyViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtFlyViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtFlyViewer" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setViewing" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFlyViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_viewAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_viewAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_viewAll" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - (arg1)->viewAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCamera" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFlyViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFlyViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCameraType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCameraType" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFlyViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtFlyViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setCameraType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtFlyViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtFlyViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_createInstance",0,0)) SWIG_fail; - result = (SoQtPopupMenu *)SoQtPopupMenu::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtPopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtPopupMenu",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtPopupMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenu",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_newMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)(arg1)->newMenu((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->newMenu((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newMenu__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newMenu__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newMenu'.\n" - " Possible C/C++ prototypes are:\n" - " newMenu(SoQtPopupMenu *,char const *,int)\n" - " newMenu(SoQtPopupMenu *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_getMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->getMenu((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuTitle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - (arg1)->setMenuTitle(arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char *)(arg1)->getMenuTitle(arg2); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenuItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)(arg1)->newMenuItem((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->newMenuItem((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newMenuItem__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newMenuItem__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newMenuItem'.\n" - " Possible C/C++ prototypes are:\n" - " newMenuItem(SoQtPopupMenu *,char const *,int)\n" - " newMenuItem(SoQtPopupMenu *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_getMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->getMenuItem((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemTitle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - (arg1)->setMenuItemTitle(arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char *)(arg1)->getMenuItemTitle(arg2); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setMenuItemEnabled(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemEnabled" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)(arg1)->getMenuItemEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemMarked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemMarked",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setMenuItemMarked(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemMarked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemMarked",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemMarked" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemMarked" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)(arg1)->getMenuItemMarked(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenu",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_addMenu" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addMenu(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenu",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addMenu(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenu__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenu__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addMenu'.\n" - " Possible C/C++ prototypes are:\n" - " addMenu(SoQtPopupMenu *,int,int,int)\n" - " addMenu(SoQtPopupMenu *,int,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuItem",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addMenuItem(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addMenuItem(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenuItem__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenuItem__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addMenuItem'.\n" - " Possible C/C++ prototypes are:\n" - " addMenuItem(SoQtPopupMenu *,int,int,int)\n" - " addMenuItem(SoQtPopupMenu *,int,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addSeparator",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addSeparator(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addSeparator",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addSeparator(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addSeparator__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addSeparator__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addSeparator'.\n" - " Possible C/C++ prototypes are:\n" - " addSeparator(SoQtPopupMenu *,int,int)\n" - " addSeparator(SoQtPopupMenu *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeMenu(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenuItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeMenuItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_popUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_popUp",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_popUp" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_popUp" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_popUp" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->popUp(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newRadioGroup",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->newRadioGroup(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newRadioGroup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - result = (int)(arg1)->newRadioGroup(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newRadioGroup__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newRadioGroup__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newRadioGroup'.\n" - " Possible C/C++ prototypes are:\n" - " newRadioGroup(SoQtPopupMenu *,int)\n" - " newRadioGroup(SoQtPopupMenu *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroup",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroup" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroup(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroupSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroupSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroupSize" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroupSize" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroupSize(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addRadioGroupItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addRadioGroupItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addRadioGroupItem(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeRadioGroupItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeRadioGroupItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeRadioGroupItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeRadioGroupItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeRadioGroupItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setRadioGroupMarkedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setRadioGroupMarkedItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setRadioGroupMarkedItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setRadioGroupMarkedItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setRadioGroupMarkedItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroupMarkedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroupMarkedItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroupMarkedItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroupMarkedItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroupMarkedItem(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuSelectionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - SoQtMenuSelectionCallback *arg2 = (SoQtMenuSelectionCallback *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuSelectionCallback" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtPopupMenu_addMenuSelectionCallback" "', argument " "2"" of type '" "SoQtMenuSelectionCallback *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addMenuSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenuSelectionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - SoQtMenuSelectionCallback *arg2 = (SoQtMenuSelectionCallback *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenuSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenuSelectionCallback" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtPopupMenu_removeMenuSelectionCallback" "', argument " "2"" of type '" "SoQtMenuSelectionCallback *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeMenuSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtPopupMenu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtPopupMenu, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtCursor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_initClass",0,0)) SWIG_fail; - SoQtCursor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",0,0)) SWIG_fail; - result = (SoQtCursor *)new SoQtCursor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor::Shape arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor::Shape""'"); - } - arg1 = static_cast< SoQtCursor::Shape >(val1); - result = (SoQtCursor *)new SoQtCursor(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - CustomCursor *arg1 = (CustomCursor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CustomCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "CustomCursor const *""'"); - } - arg1 = reinterpret_cast< CustomCursor * >(argp1); - result = (SoQtCursor *)new SoQtCursor((CustomCursor const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor const &""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - result = (SoQtCursor *)new SoQtCursor((SoQtCursor const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtCursor__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CustomCursor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtCursor__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoQtCursor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtCursor__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtCursor__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtCursor'.\n" - " Possible C/C++ prototypes are:\n" - " SoQtCursor()\n" - " SoQtCursor(SoQtCursor::Shape const)\n" - " SoQtCursor(CustomCursor const *)\n" - " SoQtCursor(SoQtCursor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SoQtCursor::Shape result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getShape",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_getShape" "', argument " "1"" of type '" "SoQtCursor const *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - result = (SoQtCursor::Shape)((SoQtCursor const *)arg1)->getShape(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_setShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - SoQtCursor::Shape arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_setShape",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_setShape" "', argument " "1"" of type '" "SoQtCursor *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtCursor_setShape" "', argument " "2"" of type '" "SoQtCursor::Shape""'"); - } - arg2 = static_cast< SoQtCursor::Shape >(val2); - (arg1)->setShape(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getCustomCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - CustomCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getCustomCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_getCustomCursor" "', argument " "1"" of type '" "SoQtCursor const *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - { - CustomCursor const &_result_ref = ((SoQtCursor const *)arg1)->getCustomCursor(); - result = (CustomCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CustomCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getZoomCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getZoomCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getZoomCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getPanCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getPanCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getPanCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getRotateCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getRotateCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getRotateCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getBlankCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getBlankCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getBlankCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtCursor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtCursor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -static PyMethodDef SwigMethods[] = { - { (char *)"cast", cast, METH_VARARGS, NULL}, - { (char *)"new_charp", _wrap_new_charp, METH_VARARGS, NULL}, - { (char *)"delete_charp", _wrap_delete_charp, METH_VARARGS, NULL}, - { (char *)"charp_assign", _wrap_charp_assign, METH_VARARGS, NULL}, - { (char *)"charp_value", _wrap_charp_value, METH_VARARGS, NULL}, - { (char *)"charp_cast", _wrap_charp_cast, METH_VARARGS, NULL}, - { (char *)"charp_frompointer", _wrap_charp_frompointer, METH_VARARGS, NULL}, - { (char *)"charp_swigregister", charp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_intp", _wrap_new_intp, METH_VARARGS, NULL}, - { (char *)"delete_intp", _wrap_delete_intp, METH_VARARGS, NULL}, - { (char *)"intp_assign", _wrap_intp_assign, METH_VARARGS, NULL}, - { (char *)"intp_value", _wrap_intp_value, METH_VARARGS, NULL}, - { (char *)"intp_cast", _wrap_intp_cast, METH_VARARGS, NULL}, - { (char *)"intp_frompointer", _wrap_intp_frompointer, METH_VARARGS, NULL}, - { (char *)"intp_swigregister", intp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_longp", _wrap_new_longp, METH_VARARGS, NULL}, - { (char *)"delete_longp", _wrap_delete_longp, METH_VARARGS, NULL}, - { (char *)"longp_assign", _wrap_longp_assign, METH_VARARGS, NULL}, - { (char *)"longp_value", _wrap_longp_value, METH_VARARGS, NULL}, - { (char *)"longp_cast", _wrap_longp_cast, METH_VARARGS, NULL}, - { (char *)"longp_frompointer", _wrap_longp_frompointer, METH_VARARGS, NULL}, - { (char *)"longp_swigregister", longp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_floatp", _wrap_new_floatp, METH_VARARGS, NULL}, - { (char *)"delete_floatp", _wrap_delete_floatp, METH_VARARGS, NULL}, - { (char *)"floatp_assign", _wrap_floatp_assign, METH_VARARGS, NULL}, - { (char *)"floatp_value", _wrap_floatp_value, METH_VARARGS, NULL}, - { (char *)"floatp_cast", _wrap_floatp_cast, METH_VARARGS, NULL}, - { (char *)"floatp_frompointer", _wrap_floatp_frompointer, METH_VARARGS, NULL}, - { (char *)"floatp_swigregister", floatp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_doublep", _wrap_new_doublep, METH_VARARGS, NULL}, - { (char *)"delete_doublep", _wrap_delete_doublep, METH_VARARGS, NULL}, - { (char *)"doublep_assign", _wrap_doublep_assign, METH_VARARGS, NULL}, - { (char *)"doublep_value", _wrap_doublep_value, METH_VARARGS, NULL}, - { (char *)"doublep_cast", _wrap_doublep_cast, METH_VARARGS, NULL}, - { (char *)"doublep_frompointer", _wrap_doublep_frompointer, METH_VARARGS, NULL}, - { (char *)"doublep_swigregister", doublep_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDict", _wrap_new_SbDict, METH_VARARGS, NULL}, - { (char *)"delete_SbDict", _wrap_delete_SbDict, METH_VARARGS, NULL}, - { (char *)"SbDict_applyToAll", _wrap_SbDict_applyToAll, METH_VARARGS, NULL}, - { (char *)"SbDict_clear", _wrap_SbDict_clear, METH_VARARGS, NULL}, - { (char *)"SbDict_enter", _wrap_SbDict_enter, METH_VARARGS, NULL}, - { (char *)"SbDict_find", _wrap_SbDict_find, METH_VARARGS, NULL}, - { (char *)"SbDict_makePList", _wrap_SbDict_makePList, METH_VARARGS, NULL}, - { (char *)"SbDict_remove", _wrap_SbDict_remove, METH_VARARGS, NULL}, - { (char *)"SbDict_setHashingFunction", _wrap_SbDict_setHashingFunction, METH_VARARGS, NULL}, - { (char *)"SbDict_swigregister", SbDict_swigregister, METH_VARARGS, NULL}, - { (char *)"SoType_fromName", _wrap_SoType_fromName, METH_VARARGS, NULL}, - { (char *)"SoType_getName", _wrap_SoType_getName, METH_VARARGS, NULL}, - { (char *)"SoType_getParent", _wrap_SoType_getParent, METH_VARARGS, NULL}, - { (char *)"SoType_isDerivedFrom", _wrap_SoType_isDerivedFrom, METH_VARARGS, NULL}, - { (char *)"SoType_getAllDerivedFrom", _wrap_SoType_getAllDerivedFrom, METH_VARARGS, NULL}, - { (char *)"SoType_canCreateInstance", _wrap_SoType_canCreateInstance, METH_VARARGS, NULL}, - { (char *)"SoType_getData", _wrap_SoType_getData, METH_VARARGS, NULL}, - { (char *)"SoType_getKey", _wrap_SoType_getKey, METH_VARARGS, NULL}, - { (char *)"SoType___eq__", _wrap_SoType___eq__, METH_VARARGS, NULL}, - { (char *)"SoType___ne__", _wrap_SoType___ne__, METH_VARARGS, NULL}, - { (char *)"SoType___lt__", _wrap_SoType___lt__, METH_VARARGS, NULL}, - { (char *)"SoType___le__", _wrap_SoType___le__, METH_VARARGS, NULL}, - { (char *)"SoType___ge__", _wrap_SoType___ge__, METH_VARARGS, NULL}, - { (char *)"SoType___gt__", _wrap_SoType___gt__, METH_VARARGS, NULL}, - { (char *)"SoType_removeType", _wrap_SoType_removeType, METH_VARARGS, NULL}, - { (char *)"SoType_init", _wrap_SoType_init, METH_VARARGS, NULL}, - { (char *)"SoType_fromKey", _wrap_SoType_fromKey, METH_VARARGS, NULL}, - { (char *)"SoType_badType", _wrap_SoType_badType, METH_VARARGS, NULL}, - { (char *)"SoType_isBad", _wrap_SoType_isBad, METH_VARARGS, NULL}, - { (char *)"SoType_makeInternal", _wrap_SoType_makeInternal, METH_VARARGS, NULL}, - { (char *)"SoType_isInternal", _wrap_SoType_isInternal, METH_VARARGS, NULL}, - { (char *)"SoType_getNumTypes", _wrap_SoType_getNumTypes, METH_VARARGS, NULL}, - { (char *)"SoType_getInstantiationMethod", _wrap_SoType_getInstantiationMethod, METH_VARARGS, NULL}, - { (char *)"SoType_createInstance", _wrap_SoType_createInstance, METH_VARARGS, NULL}, - { (char *)"new_SoType", _wrap_new_SoType, METH_VARARGS, (char *)"new_SoType() -> SoType"}, - { (char *)"delete_SoType", _wrap_delete_SoType, METH_VARARGS, (char *)"delete_SoType(SoType self)"}, - { (char *)"SoType_swigregister", SoType_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPList", _wrap_new_SbPList, METH_VARARGS, NULL}, - { (char *)"delete_SbPList", _wrap_delete_SbPList, METH_VARARGS, NULL}, - { (char *)"SbPList_copy", _wrap_SbPList_copy, METH_VARARGS, NULL}, - { (char *)"SbPList_fit", _wrap_SbPList_fit, METH_VARARGS, NULL}, - { (char *)"SbPList_append", _wrap_SbPList_append, METH_VARARGS, NULL}, - { (char *)"SbPList_find", _wrap_SbPList_find, METH_VARARGS, NULL}, - { (char *)"SbPList_insert", _wrap_SbPList_insert, METH_VARARGS, NULL}, - { (char *)"SbPList_removeItem", _wrap_SbPList_removeItem, METH_VARARGS, NULL}, - { (char *)"SbPList_remove", _wrap_SbPList_remove, METH_VARARGS, NULL}, - { (char *)"SbPList_removeFast", _wrap_SbPList_removeFast, METH_VARARGS, NULL}, - { (char *)"SbPList_getLength", _wrap_SbPList_getLength, METH_VARARGS, NULL}, - { (char *)"SbPList_truncate", _wrap_SbPList_truncate, METH_VARARGS, NULL}, - { (char *)"SbPList_getArrayPtr", _wrap_SbPList_getArrayPtr, METH_VARARGS, NULL}, - { (char *)"SbPList___eq__", _wrap_SbPList___eq__, METH_VARARGS, NULL}, - { (char *)"SbPList___ne__", _wrap_SbPList___ne__, METH_VARARGS, NULL}, - { (char *)"SbPList_get", _wrap_SbPList_get, METH_VARARGS, NULL}, - { (char *)"SbPList_set", _wrap_SbPList_set, METH_VARARGS, NULL}, - { (char *)"SbPList___getitem__", _wrap_SbPList___getitem__, METH_VARARGS, NULL}, - { (char *)"SbPList___setitem__", _wrap_SbPList___setitem__, METH_VARARGS, NULL}, - { (char *)"SbPList_swigregister", SbPList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbIntList", _wrap_new_SbIntList, METH_VARARGS, NULL}, - { (char *)"SbIntList_append", _wrap_SbIntList_append, METH_VARARGS, NULL}, - { (char *)"SbIntList_find", _wrap_SbIntList_find, METH_VARARGS, NULL}, - { (char *)"SbIntList_insert", _wrap_SbIntList_insert, METH_VARARGS, NULL}, - { (char *)"SbIntList___setitem__", _wrap_SbIntList___setitem__, METH_VARARGS, NULL}, - { (char *)"SbIntList___getitem__", _wrap_SbIntList___getitem__, METH_VARARGS, NULL}, - { (char *)"SbIntList_get", _wrap_SbIntList_get, METH_VARARGS, NULL}, - { (char *)"delete_SbIntList", _wrap_delete_SbIntList, METH_VARARGS, (char *)"delete_SbIntList(SbIntList self)"}, - { (char *)"SbIntList_swigregister", SbIntList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbString", _wrap_new_SbString, METH_VARARGS, NULL}, - { (char *)"delete_SbString", _wrap_delete_SbString, METH_VARARGS, NULL}, - { (char *)"SbString_hash", _wrap_SbString_hash, METH_VARARGS, NULL}, - { (char *)"SbString_getLength", _wrap_SbString_getLength, METH_VARARGS, NULL}, - { (char *)"SbString_makeEmpty", _wrap_SbString_makeEmpty, METH_VARARGS, NULL}, - { (char *)"SbString_getString", _wrap_SbString_getString, METH_VARARGS, NULL}, - { (char *)"SbString_getSubString", _wrap_SbString_getSubString, METH_VARARGS, NULL}, - { (char *)"SbString_deleteSubString", _wrap_SbString_deleteSubString, METH_VARARGS, NULL}, - { (char *)"SbString_addIntString", _wrap_SbString_addIntString, METH_VARARGS, NULL}, - { (char *)"SbString___iadd__", _wrap_SbString___iadd__, METH_VARARGS, NULL}, - { (char *)"SbString_compareSubString", _wrap_SbString_compareSubString, METH_VARARGS, NULL}, - { (char *)"SbString_sprintf", _wrap_SbString_sprintf, METH_VARARGS, NULL}, - { (char *)"SbString_apply", _wrap_SbString_apply, METH_VARARGS, NULL}, - { (char *)"SbString_find", _wrap_SbString_find, METH_VARARGS, NULL}, - { (char *)"SbString_findAll", _wrap_SbString_findAll, METH_VARARGS, NULL}, - { (char *)"SbString_lower", _wrap_SbString_lower, METH_VARARGS, NULL}, - { (char *)"SbString_upper", _wrap_SbString_upper, METH_VARARGS, NULL}, - { (char *)"SbString___eq__", _wrap_SbString___eq__, METH_VARARGS, NULL}, - { (char *)"SbString___nq__", _wrap_SbString___nq__, METH_VARARGS, NULL}, - { (char *)"SbString___getitem__", _wrap_SbString___getitem__, METH_VARARGS, NULL}, - { (char *)"SbString___repr__", _wrap_SbString___repr__, METH_VARARGS, NULL}, - { (char *)"SbString_swigregister", SbString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbName", _wrap_new_SbName, METH_VARARGS, NULL}, - { (char *)"delete_SbName", _wrap_delete_SbName, METH_VARARGS, NULL}, - { (char *)"SbName_getString", _wrap_SbName_getString, METH_VARARGS, NULL}, - { (char *)"SbName_getLength", _wrap_SbName_getLength, METH_VARARGS, NULL}, - { (char *)"SbName_isIdentStartChar", _wrap_SbName_isIdentStartChar, METH_VARARGS, NULL}, - { (char *)"SbName_isIdentChar", _wrap_SbName_isIdentChar, METH_VARARGS, NULL}, - { (char *)"SbName_isBaseNameStartChar", _wrap_SbName_isBaseNameStartChar, METH_VARARGS, NULL}, - { (char *)"SbName_isBaseNameChar", _wrap_SbName_isBaseNameChar, METH_VARARGS, NULL}, - { (char *)"SbName_empty", _wrap_SbName_empty, METH_VARARGS, NULL}, - { (char *)"SbName___eq__", _wrap_SbName___eq__, METH_VARARGS, NULL}, - { (char *)"SbName___nq__", _wrap_SbName___nq__, METH_VARARGS, NULL}, - { (char *)"SbName___getitem__", _wrap_SbName___getitem__, METH_VARARGS, NULL}, - { (char *)"SbName___repr__", _wrap_SbName___repr__, METH_VARARGS, NULL}, - { (char *)"SbName_swigregister", SbName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoError", _wrap_new_SoError, METH_VARARGS, NULL}, - { (char *)"delete_SoError", _wrap_delete_SoError, METH_VARARGS, NULL}, - { (char *)"SoError_setHandlerCallback", _wrap_SoError_setHandlerCallback, METH_VARARGS, NULL}, - { (char *)"SoError_getHandlerCallback", _wrap_SoError_getHandlerCallback, METH_VARARGS, NULL}, - { (char *)"SoError_getHandlerData", _wrap_SoError_getHandlerData, METH_VARARGS, NULL}, - { (char *)"SoError_getDebugString", _wrap_SoError_getDebugString, METH_VARARGS, NULL}, - { (char *)"SoError_getClassTypeId", _wrap_SoError_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoError_getTypeId", _wrap_SoError_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoError_isOfType", _wrap_SoError_isOfType, METH_VARARGS, NULL}, - { (char *)"SoError_post", _wrap_SoError_post, METH_VARARGS, NULL}, - { (char *)"SoError_getString", _wrap_SoError_getString, METH_VARARGS, NULL}, - { (char *)"SoError_initClass", _wrap_SoError_initClass, METH_VARARGS, NULL}, - { (char *)"SoError_initClasses", _wrap_SoError_initClasses, METH_VARARGS, NULL}, - { (char *)"SoError_swigregister", SoError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDebugError_setHandlerCallback", _wrap_SoDebugError_setHandlerCallback, METH_VARARGS, NULL}, - { (char *)"SoDebugError_getHandlerCallback", _wrap_SoDebugError_getHandlerCallback, METH_VARARGS, NULL}, - { (char *)"SoDebugError_getHandlerData", _wrap_SoDebugError_getHandlerData, METH_VARARGS, NULL}, - { (char *)"SoDebugError_getClassTypeId", _wrap_SoDebugError_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoDebugError_getTypeId", _wrap_SoDebugError_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoDebugError_getSeverity", _wrap_SoDebugError_getSeverity, METH_VARARGS, NULL}, - { (char *)"SoDebugError_post", _wrap_SoDebugError_post, METH_VARARGS, NULL}, - { (char *)"SoDebugError_postWarning", _wrap_SoDebugError_postWarning, METH_VARARGS, NULL}, - { (char *)"SoDebugError_postInfo", _wrap_SoDebugError_postInfo, METH_VARARGS, NULL}, - { (char *)"SoDebugError_initClass", _wrap_SoDebugError_initClass, METH_VARARGS, NULL}, - { (char *)"new_SoDebugError", _wrap_new_SoDebugError, METH_VARARGS, (char *)"new_SoDebugError() -> SoDebugError"}, - { (char *)"delete_SoDebugError", _wrap_delete_SoDebugError, METH_VARARGS, (char *)"delete_SoDebugError(SoDebugError self)"}, - { (char *)"SoDebugError_swigregister", SoDebugError_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2s", _wrap_new_SbVec2s, METH_VARARGS, NULL}, - { (char *)"SbVec2s_setValue", _wrap_SbVec2s_setValue, METH_VARARGS, NULL}, - { (char *)"SbVec2s_getValue", _wrap_SbVec2s_getValue, METH_VARARGS, NULL}, - { (char *)"SbVec2s_dot", _wrap_SbVec2s_dot, METH_VARARGS, NULL}, - { (char *)"SbVec2s_negate", _wrap_SbVec2s_negate, METH_VARARGS, NULL}, - { (char *)"SbVec2s___imul__", _wrap_SbVec2s___imul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___idiv__", _wrap_SbVec2s___idiv__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___iadd__", _wrap_SbVec2s___iadd__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___isub__", _wrap_SbVec2s___isub__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___neg__", _wrap_SbVec2s___neg__, METH_VARARGS, NULL}, - { (char *)"SbVec2s_output", _wrap_SbVec2s_output, METH_VARARGS, NULL}, - { (char *)"SbVec2s___add__", _wrap_SbVec2s___add__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___sub__", _wrap_SbVec2s___sub__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___mul__", _wrap_SbVec2s___mul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___rmul__", _wrap_SbVec2s___rmul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___div__", _wrap_SbVec2s___div__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___eq__", _wrap_SbVec2s___eq__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___nq__", _wrap_SbVec2s___nq__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___getitem__", _wrap_SbVec2s___getitem__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___setitem__", _wrap_SbVec2s___setitem__, METH_VARARGS, NULL}, - { (char *)"delete_SbVec2s", _wrap_delete_SbVec2s, METH_VARARGS, (char *)"delete_SbVec2s(SbVec2s self)"}, - { (char *)"SbVec2s_swigregister", SbVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTime", _wrap_new_SbTime, METH_VARARGS, NULL}, - { (char *)"SbTime_getTimeOfDay", _wrap_SbTime_getTimeOfDay, METH_VARARGS, NULL}, - { (char *)"SbTime_setToTimeOfDay", _wrap_SbTime_setToTimeOfDay, METH_VARARGS, NULL}, - { (char *)"SbTime_zero", _wrap_SbTime_zero, METH_VARARGS, NULL}, - { (char *)"SbTime_max", _wrap_SbTime_max, METH_VARARGS, NULL}, - { (char *)"SbTime_maxTime", _wrap_SbTime_maxTime, METH_VARARGS, NULL}, - { (char *)"SbTime_sleep", _wrap_SbTime_sleep, METH_VARARGS, NULL}, - { (char *)"SbTime_setValue", _wrap_SbTime_setValue, METH_VARARGS, NULL}, - { (char *)"SbTime_setMsecValue", _wrap_SbTime_setMsecValue, METH_VARARGS, NULL}, - { (char *)"SbTime_getValue", _wrap_SbTime_getValue, METH_VARARGS, NULL}, - { (char *)"SbTime_getMsecValue", _wrap_SbTime_getMsecValue, METH_VARARGS, NULL}, - { (char *)"SbTime_format", _wrap_SbTime_format, METH_VARARGS, NULL}, - { (char *)"SbTime_formatDate", _wrap_SbTime_formatDate, METH_VARARGS, NULL}, - { (char *)"SbTime_parsedate", _wrap_SbTime_parsedate, METH_VARARGS, NULL}, - { (char *)"SbTime___iadd__", _wrap_SbTime___iadd__, METH_VARARGS, NULL}, - { (char *)"SbTime___isub__", _wrap_SbTime___isub__, METH_VARARGS, NULL}, - { (char *)"SbTime___neg__", _wrap_SbTime___neg__, METH_VARARGS, NULL}, - { (char *)"SbTime___imul__", _wrap_SbTime___imul__, METH_VARARGS, NULL}, - { (char *)"SbTime___idiv__", _wrap_SbTime___idiv__, METH_VARARGS, NULL}, - { (char *)"SbTime___mod__", _wrap_SbTime___mod__, METH_VARARGS, NULL}, - { (char *)"SbTime___eq__", _wrap_SbTime___eq__, METH_VARARGS, NULL}, - { (char *)"SbTime___ne__", _wrap_SbTime___ne__, METH_VARARGS, NULL}, - { (char *)"SbTime___lt__", _wrap_SbTime___lt__, METH_VARARGS, NULL}, - { (char *)"SbTime___gt__", _wrap_SbTime___gt__, METH_VARARGS, NULL}, - { (char *)"SbTime___le__", _wrap_SbTime___le__, METH_VARARGS, NULL}, - { (char *)"SbTime___ge__", _wrap_SbTime___ge__, METH_VARARGS, NULL}, - { (char *)"SbTime_output", _wrap_SbTime_output, METH_VARARGS, NULL}, - { (char *)"SbTime___add__", _wrap_SbTime___add__, METH_VARARGS, NULL}, - { (char *)"SbTime___sub__", _wrap_SbTime___sub__, METH_VARARGS, NULL}, - { (char *)"SbTime___mul__", _wrap_SbTime___mul__, METH_VARARGS, NULL}, - { (char *)"SbTime___rmul__", _wrap_SbTime___rmul__, METH_VARARGS, NULL}, - { (char *)"SbTime___div__", _wrap_SbTime___div__, METH_VARARGS, NULL}, - { (char *)"delete_SbTime", _wrap_delete_SbTime, METH_VARARGS, (char *)"delete_SbTime(SbTime self)"}, - { (char *)"SbTime_swigregister", SbTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEvent", _wrap_new_SoEvent, METH_VARARGS, NULL}, - { (char *)"delete_SoEvent", _wrap_delete_SoEvent, METH_VARARGS, NULL}, - { (char *)"SoEvent_isOfType", _wrap_SoEvent_isOfType, METH_VARARGS, NULL}, - { (char *)"SoEvent_getClassTypeId", _wrap_SoEvent_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoEvent_getTypeId", _wrap_SoEvent_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoEvent_setTime", _wrap_SoEvent_setTime, METH_VARARGS, NULL}, - { (char *)"SoEvent_getTime", _wrap_SoEvent_getTime, METH_VARARGS, NULL}, - { (char *)"SoEvent_setPosition", _wrap_SoEvent_setPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_getPosition", _wrap_SoEvent_getPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_getNormalizedPosition", _wrap_SoEvent_getNormalizedPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_setShiftDown", _wrap_SoEvent_setShiftDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasShiftDown", _wrap_SoEvent_wasShiftDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_setCtrlDown", _wrap_SoEvent_setCtrlDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasCtrlDown", _wrap_SoEvent_wasCtrlDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_setAltDown", _wrap_SoEvent_setAltDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasAltDown", _wrap_SoEvent_wasAltDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_initClass", _wrap_SoEvent_initClass, METH_VARARGS, NULL}, - { (char *)"SoEvent_swigregister", SoEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotRec", _wrap_new_SoNotRec, METH_VARARGS, NULL}, - { (char *)"SoNotRec_setType", _wrap_SoNotRec_setType, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getBase", _wrap_SoNotRec_getBase, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getType", _wrap_SoNotRec_getType, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getPrevious", _wrap_SoNotRec_getPrevious, METH_VARARGS, NULL}, - { (char *)"SoNotRec_setPrevious", _wrap_SoNotRec_setPrevious, METH_VARARGS, NULL}, - { (char *)"SoNotRec_output", _wrap_SoNotRec_output, METH_VARARGS, NULL}, - { (char *)"delete_SoNotRec", _wrap_delete_SoNotRec, METH_VARARGS, (char *)"delete_SoNotRec(SoNotRec self)"}, - { (char *)"SoNotRec_swigregister", SoNotRec_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotList", _wrap_new_SoNotList, METH_VARARGS, NULL}, - { (char *)"SoNotList_append", _wrap_SoNotList_append, METH_VARARGS, NULL}, - { (char *)"SoNotList_setLastType", _wrap_SoNotList_setLastType, METH_VARARGS, NULL}, - { (char *)"SoNotList_getFirstRec", _wrap_SoNotList_getFirstRec, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastRec", _wrap_SoNotList_getLastRec, METH_VARARGS, NULL}, - { (char *)"SoNotList_getFirstRecAtNode", _wrap_SoNotList_getFirstRecAtNode, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastField", _wrap_SoNotList_getLastField, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastEngineOutput", _wrap_SoNotList_getLastEngineOutput, METH_VARARGS, NULL}, - { (char *)"SoNotList_getTimeStamp", _wrap_SoNotList_getTimeStamp, METH_VARARGS, NULL}, - { (char *)"SoNotList_output", _wrap_SoNotList_output, METH_VARARGS, NULL}, - { (char *)"delete_SoNotList", _wrap_delete_SoNotList, METH_VARARGS, (char *)"delete_SoNotList(SoNotList self)"}, - { (char *)"SoNotList_swigregister", SoNotList_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoField", _wrap_delete_SoField, METH_VARARGS, NULL}, - { (char *)"SoField_initClass", _wrap_SoField_initClass, METH_VARARGS, NULL}, - { (char *)"SoField_initClasses", _wrap_SoField_initClasses, METH_VARARGS, NULL}, - { (char *)"SoField_cleanupClass", _wrap_SoField_cleanupClass, METH_VARARGS, NULL}, - { (char *)"SoField_setIgnored", _wrap_SoField_setIgnored, METH_VARARGS, NULL}, - { (char *)"SoField_isIgnored", _wrap_SoField_isIgnored, METH_VARARGS, NULL}, - { (char *)"SoField_setDefault", _wrap_SoField_setDefault, METH_VARARGS, NULL}, - { (char *)"SoField_isDefault", _wrap_SoField_isDefault, METH_VARARGS, NULL}, - { (char *)"SoField_getTypeId", _wrap_SoField_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoField_getClassTypeId", _wrap_SoField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoField_isOfType", _wrap_SoField_isOfType, METH_VARARGS, NULL}, - { (char *)"SoField_enableConnection", _wrap_SoField_enableConnection, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectionEnabled", _wrap_SoField_isConnectionEnabled, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectedFromEngine", _wrap_SoField_isConnectedFromEngine, METH_VARARGS, NULL}, - { (char *)"SoField_getConnectedEngine", _wrap_SoField_getConnectedEngine, METH_VARARGS, NULL}, - { (char *)"SoField_connectFrom", _wrap_SoField_connectFrom, METH_VARARGS, NULL}, - { (char *)"SoField_appendConnection", _wrap_SoField_appendConnection, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectedFromField", _wrap_SoField_isConnectedFromField, METH_VARARGS, NULL}, - { (char *)"SoField_getConnectedField", _wrap_SoField_getConnectedField, METH_VARARGS, NULL}, - { (char *)"SoField_getNumConnections", _wrap_SoField_getNumConnections, METH_VARARGS, NULL}, - { (char *)"SoField_getForwardConnections", _wrap_SoField_getForwardConnections, METH_VARARGS, NULL}, - { (char *)"SoField_getConnections", _wrap_SoField_getConnections, METH_VARARGS, NULL}, - { (char *)"SoField_disconnect", _wrap_SoField_disconnect, METH_VARARGS, NULL}, - { (char *)"SoField_isConnected", _wrap_SoField_isConnected, METH_VARARGS, NULL}, - { (char *)"SoField_setContainer", _wrap_SoField_setContainer, METH_VARARGS, NULL}, - { (char *)"SoField_getContainer", _wrap_SoField_getContainer, METH_VARARGS, NULL}, - { (char *)"SoField_set", _wrap_SoField_set, METH_VARARGS, NULL}, - { (char *)"SoField_shouldWrite", _wrap_SoField_shouldWrite, METH_VARARGS, NULL}, - { (char *)"SoField_touch", _wrap_SoField_touch, METH_VARARGS, NULL}, - { (char *)"SoField_startNotify", _wrap_SoField_startNotify, METH_VARARGS, NULL}, - { (char *)"SoField_notify", _wrap_SoField_notify, METH_VARARGS, NULL}, - { (char *)"SoField_enableNotify", _wrap_SoField_enableNotify, METH_VARARGS, NULL}, - { (char *)"SoField_isNotifyEnabled", _wrap_SoField_isNotifyEnabled, METH_VARARGS, NULL}, - { (char *)"SoField_addAuditor", _wrap_SoField_addAuditor, METH_VARARGS, NULL}, - { (char *)"SoField_removeAuditor", _wrap_SoField_removeAuditor, METH_VARARGS, NULL}, - { (char *)"SoField___eq__", _wrap_SoField___eq__, METH_VARARGS, NULL}, - { (char *)"SoField___ne__", _wrap_SoField___ne__, METH_VARARGS, NULL}, - { (char *)"SoField_connectionStatusChanged", _wrap_SoField_connectionStatusChanged, METH_VARARGS, NULL}, - { (char *)"SoField_isReadOnly", _wrap_SoField_isReadOnly, METH_VARARGS, NULL}, - { (char *)"SoField_isSame", _wrap_SoField_isSame, METH_VARARGS, NULL}, - { (char *)"SoField_copyFrom", _wrap_SoField_copyFrom, METH_VARARGS, NULL}, - { (char *)"SoField_fixCopy", _wrap_SoField_fixCopy, METH_VARARGS, NULL}, - { (char *)"SoField_referencesCopy", _wrap_SoField_referencesCopy, METH_VARARGS, NULL}, - { (char *)"SoField_copyConnection", _wrap_SoField_copyConnection, METH_VARARGS, NULL}, - { (char *)"SoField_read", _wrap_SoField_read, METH_VARARGS, NULL}, - { (char *)"SoField_write", _wrap_SoField_write, METH_VARARGS, NULL}, - { (char *)"SoField_countWriteRefs", _wrap_SoField_countWriteRefs, METH_VARARGS, NULL}, - { (char *)"SoField_setFieldType", _wrap_SoField_setFieldType, METH_VARARGS, NULL}, - { (char *)"SoField_getFieldType", _wrap_SoField_getFieldType, METH_VARARGS, NULL}, - { (char *)"SoField_getDirty", _wrap_SoField_getDirty, METH_VARARGS, NULL}, - { (char *)"SoField_setDirty", _wrap_SoField_setDirty, METH_VARARGS, NULL}, - { (char *)"SoField_evaluate", _wrap_SoField_evaluate, METH_VARARGS, NULL}, - { (char *)"SoField_get", _wrap_SoField_get, METH_VARARGS, NULL}, - { (char *)"SoField_swigregister", SoField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSField", _wrap_delete_SoSField, METH_VARARGS, NULL}, - { (char *)"SoSField_initClass", _wrap_SoSField_initClass, METH_VARARGS, NULL}, - { (char *)"SoSField_getClassTypeId", _wrap_SoSField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoSField_atexit_cleanup", _wrap_SoSField_atexit_cleanup, METH_VARARGS, NULL}, - { (char *)"SoSField_swigregister", SoSField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoMField", _wrap_delete_SoMField, METH_VARARGS, NULL}, - { (char *)"SoMField_getClassTypeId", _wrap_SoMField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoMField_atexit_cleanup", _wrap_SoMField_atexit_cleanup, METH_VARARGS, NULL}, - { (char *)"SoMField_getNum", _wrap_SoMField_getNum, METH_VARARGS, NULL}, - { (char *)"SoMField_setNum", _wrap_SoMField_setNum, METH_VARARGS, NULL}, - { (char *)"SoMField_deleteValues", _wrap_SoMField_deleteValues, METH_VARARGS, NULL}, - { (char *)"SoMField_insertSpace", _wrap_SoMField_insertSpace, METH_VARARGS, NULL}, - { (char *)"SoMField_set1", _wrap_SoMField_set1, METH_VARARGS, NULL}, - { (char *)"SoMField_initClass", _wrap_SoMField_initClass, METH_VARARGS, NULL}, - { (char *)"SoMField_enableDeleteValues", _wrap_SoMField_enableDeleteValues, METH_VARARGS, NULL}, - { (char *)"SoMField_isDeleteValuesEnabled", _wrap_SoMField_isDeleteValuesEnabled, METH_VARARGS, NULL}, - { (char *)"SoMField___len__", _wrap_SoMField___len__, METH_VARARGS, NULL}, - { (char *)"SoMField_get1", _wrap_SoMField_get1, METH_VARARGS, NULL}, - { (char *)"SoMField_swigregister", SoMField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_QEvent", _wrap_delete_QEvent, METH_VARARGS, (char *)"delete_QEvent(QEvent self)"}, - { (char *)"QEvent_swigregister", QEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_QWidget", _wrap_delete_QWidget, METH_VARARGS, (char *)"delete_QWidget(QWidget self)"}, - { (char *)"QWidget_swigregister", QWidget_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtObject_initClass", _wrap_SoQtObject_initClass, METH_VARARGS, (char *)"SoQtObject_initClass()"}, - { (char *)"SoQtObject_getClassTypeId", _wrap_SoQtObject_getClassTypeId, METH_VARARGS, (char *)"SoQtObject_getClassTypeId() -> SoType"}, - { (char *)"SoQtObject_getTypeId", _wrap_SoQtObject_getTypeId, METH_VARARGS, (char *)"SoQtObject_getTypeId(SoQtObject self) -> SoType"}, - { (char *)"SoQtObject_isOfType", _wrap_SoQtObject_isOfType, METH_VARARGS, (char *)"SoQtObject_isOfType(SoQtObject self, SoType type) -> SbBool"}, - { (char *)"SoQtObject_init", _wrap_SoQtObject_init, METH_VARARGS, (char *)"SoQtObject_init()"}, - { (char *)"delete_SoQtObject", _wrap_delete_SoQtObject, METH_VARARGS, (char *)"delete_SoQtObject(SoQtObject self)"}, - { (char *)"SoQtObject_swigregister", SoQtObject_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtDevice_initClass", _wrap_SoQtDevice_initClass, METH_VARARGS, (char *)"SoQtDevice_initClass()"}, - { (char *)"SoQtDevice_getClassTypeId", _wrap_SoQtDevice_getClassTypeId, METH_VARARGS, (char *)"SoQtDevice_getClassTypeId() -> SoType"}, - { (char *)"SoQtDevice_getTypeId", _wrap_SoQtDevice_getTypeId, METH_VARARGS, (char *)"SoQtDevice_getTypeId(SoQtDevice self) -> SoType"}, - { (char *)"delete_SoQtDevice", _wrap_delete_SoQtDevice, METH_VARARGS, (char *)"delete_SoQtDevice(SoQtDevice self)"}, - { (char *)"SoQtDevice_enable", _wrap_SoQtDevice_enable, METH_VARARGS, (char *)"\n" - "SoQtDevice_enable(SoQtDevice self, QWidget w, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtDevice_disable", _wrap_SoQtDevice_disable, METH_VARARGS, (char *)"\n" - "SoQtDevice_disable(SoQtDevice self, QWidget w, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtDevice_translateEvent", _wrap_SoQtDevice_translateEvent, METH_VARARGS, (char *)"SoQtDevice_translateEvent(SoQtDevice self, QEvent event) -> SoEvent"}, - { (char *)"SoQtDevice_setWindowSize", _wrap_SoQtDevice_setWindowSize, METH_VARARGS, (char *)"SoQtDevice_setWindowSize(SoQtDevice self, SbVec2s size)"}, - { (char *)"SoQtDevice_getWindowSize", _wrap_SoQtDevice_getWindowSize, METH_VARARGS, (char *)"SoQtDevice_getWindowSize(SoQtDevice self) -> SbVec2s"}, - { (char *)"SoQtDevice_initClasses", _wrap_SoQtDevice_initClasses, METH_VARARGS, (char *)"SoQtDevice_initClasses()"}, - { (char *)"SoQtDevice_swigregister", SoQtDevice_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtKeyboard_initClass", _wrap_SoQtKeyboard_initClass, METH_VARARGS, (char *)"SoQtKeyboard_initClass()"}, - { (char *)"SoQtKeyboard_getClassTypeId", _wrap_SoQtKeyboard_getClassTypeId, METH_VARARGS, (char *)"SoQtKeyboard_getClassTypeId() -> SoType"}, - { (char *)"SoQtKeyboard_getTypeId", _wrap_SoQtKeyboard_getTypeId, METH_VARARGS, (char *)"SoQtKeyboard_getTypeId(SoQtKeyboard self) -> SoType"}, - { (char *)"SoQtKeyboard_createInstance", _wrap_SoQtKeyboard_createInstance, METH_VARARGS, (char *)"SoQtKeyboard_createInstance() -> void"}, - { (char *)"new_SoQtKeyboard", _wrap_new_SoQtKeyboard, METH_VARARGS, (char *)"\n" - "SoQtKeyboard(int eventmask=ALL_EVENTS)\n" - "new_SoQtKeyboard() -> SoQtKeyboard\n" - ""}, - { (char *)"delete_SoQtKeyboard", _wrap_delete_SoQtKeyboard, METH_VARARGS, (char *)"delete_SoQtKeyboard(SoQtKeyboard self)"}, - { (char *)"SoQtKeyboard_enable", _wrap_SoQtKeyboard_enable, METH_VARARGS, (char *)"\n" - "SoQtKeyboard_enable(SoQtKeyboard self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtKeyboard_disable", _wrap_SoQtKeyboard_disable, METH_VARARGS, (char *)"\n" - "SoQtKeyboard_disable(SoQtKeyboard self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtKeyboard_translateEvent", _wrap_SoQtKeyboard_translateEvent, METH_VARARGS, (char *)"SoQtKeyboard_translateEvent(SoQtKeyboard self, QEvent event) -> SoEvent"}, - { (char *)"SoQtKeyboard_swigregister", SoQtKeyboard_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtMouse_initClass", _wrap_SoQtMouse_initClass, METH_VARARGS, (char *)"SoQtMouse_initClass()"}, - { (char *)"SoQtMouse_getClassTypeId", _wrap_SoQtMouse_getClassTypeId, METH_VARARGS, (char *)"SoQtMouse_getClassTypeId() -> SoType"}, - { (char *)"SoQtMouse_getTypeId", _wrap_SoQtMouse_getTypeId, METH_VARARGS, (char *)"SoQtMouse_getTypeId(SoQtMouse self) -> SoType"}, - { (char *)"SoQtMouse_createInstance", _wrap_SoQtMouse_createInstance, METH_VARARGS, (char *)"SoQtMouse_createInstance() -> void"}, - { (char *)"new_SoQtMouse", _wrap_new_SoQtMouse, METH_VARARGS, (char *)"\n" - "SoQtMouse(int eventmask=ALL_EVENTS)\n" - "new_SoQtMouse() -> SoQtMouse\n" - ""}, - { (char *)"delete_SoQtMouse", _wrap_delete_SoQtMouse, METH_VARARGS, (char *)"delete_SoQtMouse(SoQtMouse self)"}, - { (char *)"SoQtMouse_enable", _wrap_SoQtMouse_enable, METH_VARARGS, (char *)"\n" - "SoQtMouse_enable(SoQtMouse self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtMouse_disable", _wrap_SoQtMouse_disable, METH_VARARGS, (char *)"\n" - "SoQtMouse_disable(SoQtMouse self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtMouse_translateEvent", _wrap_SoQtMouse_translateEvent, METH_VARARGS, (char *)"SoQtMouse_translateEvent(SoQtMouse self, QEvent event) -> SoEvent"}, - { (char *)"SoQtMouse_swigregister", SoQtMouse_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQt_init", _wrap_SoQt_init, METH_VARARGS, (char *)"\n" - "init(char appname, char classname=\"SoQt\") -> QWidget\n" - "init(char appname) -> QWidget\n" - "init(int argc, char argv, char appname, char classname=\"SoQt\") -> QWidget\n" - "init(int argc, char argv, char appname) -> QWidget\n" - "SoQt_init(QWidget toplevelwidget)\n" - ""}, - { (char *)"SoQt_exitMainLoop", _wrap_SoQt_exitMainLoop, METH_VARARGS, (char *)"SoQt_exitMainLoop()"}, - { (char *)"SoQt_done", _wrap_SoQt_done, METH_VARARGS, (char *)"SoQt_done()"}, - { (char *)"SoQt_getTopLevelWidget", _wrap_SoQt_getTopLevelWidget, METH_VARARGS, (char *)"SoQt_getTopLevelWidget() -> QWidget"}, - { (char *)"SoQt_getShellWidget", _wrap_SoQt_getShellWidget, METH_VARARGS, (char *)"SoQt_getShellWidget(QWidget w) -> QWidget"}, - { (char *)"SoQt_show", _wrap_SoQt_show, METH_VARARGS, (char *)"SoQt_show(QWidget widget)"}, - { (char *)"SoQt_hide", _wrap_SoQt_hide, METH_VARARGS, (char *)"SoQt_hide(QWidget widget)"}, - { (char *)"SoQt_setWidgetSize", _wrap_SoQt_setWidgetSize, METH_VARARGS, (char *)"SoQt_setWidgetSize(QWidget widget, SbVec2s size)"}, - { (char *)"SoQt_getWidgetSize", _wrap_SoQt_getWidgetSize, METH_VARARGS, (char *)"SoQt_getWidgetSize(QWidget widget) -> SbVec2s"}, - { (char *)"SoQt_createSimpleErrorDialog", _wrap_SoQt_createSimpleErrorDialog, METH_VARARGS, (char *)"\n" - "createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None)\n" - "SoQt_createSimpleErrorDialog(QWidget widget, char title, char string1)\n" - ""}, - { (char *)"SoQt_getVersionInfo", _wrap_SoQt_getVersionInfo, METH_VARARGS, (char *)"\n" - "getVersionInfo(int major=None, int minor=None, int micro=None)\n" - "getVersionInfo(int major=None, int minor=None)\n" - "getVersionInfo(int major=None)\n" - "SoQt_getVersionInfo()\n" - ""}, - { (char *)"SoQt_getVersionString", _wrap_SoQt_getVersionString, METH_VARARGS, (char *)"SoQt_getVersionString() -> char"}, - { (char *)"SoQt_getVersionToolkitString", _wrap_SoQt_getVersionToolkitString, METH_VARARGS, (char *)"SoQt_getVersionToolkitString() -> char"}, - { (char *)"SoQt_setFatalErrorHandler", _wrap_SoQt_setFatalErrorHandler, METH_VARARGS, (char *)"SoQt_setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB"}, - { (char *)"SoQt_isDebugLibrary", _wrap_SoQt_isDebugLibrary, METH_VARARGS, (char *)"SoQt_isDebugLibrary() -> SbBool"}, - { (char *)"SoQt_isCompatible", _wrap_SoQt_isCompatible, METH_VARARGS, (char *)"SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool"}, - { (char *)"SoQt_getABIType", _wrap_SoQt_getABIType, METH_VARARGS, (char *)"SoQt_getABIType() -> ABIType"}, - { (char *)"SoQt_lockGL", _wrap_SoQt_lockGL, METH_VARARGS, (char *)"SoQt_lockGL()"}, - { (char *)"SoQt_unlockGL", _wrap_SoQt_unlockGL, METH_VARARGS, (char *)"SoQt_unlockGL()"}, - { (char *)"SoQt_mainLoop", _wrap_SoQt_mainLoop, METH_VARARGS, (char *)"SoQt_mainLoop()"}, - { (char *)"SoQt_swigregister", SoQt_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtComponent_initClass", _wrap_SoQtComponent_initClass, METH_VARARGS, (char *)"SoQtComponent_initClass()"}, - { (char *)"SoQtComponent_getClassTypeId", _wrap_SoQtComponent_getClassTypeId, METH_VARARGS, (char *)"SoQtComponent_getClassTypeId() -> SoType"}, - { (char *)"SoQtComponent_getTypeId", _wrap_SoQtComponent_getTypeId, METH_VARARGS, (char *)"SoQtComponent_getTypeId(SoQtComponent self) -> SoType"}, - { (char *)"delete_SoQtComponent", _wrap_delete_SoQtComponent, METH_VARARGS, (char *)"delete_SoQtComponent(SoQtComponent self)"}, - { (char *)"SoQtComponent_show", _wrap_SoQtComponent_show, METH_VARARGS, (char *)"SoQtComponent_show(SoQtComponent self)"}, - { (char *)"SoQtComponent_hide", _wrap_SoQtComponent_hide, METH_VARARGS, (char *)"SoQtComponent_hide(SoQtComponent self)"}, - { (char *)"SoQtComponent_setComponentCursor", _wrap_SoQtComponent_setComponentCursor, METH_VARARGS, (char *)"SoQtComponent_setComponentCursor(SoQtComponent self, SoQtCursor cursor)"}, - { (char *)"SoQtComponent_setWidgetCursor", _wrap_SoQtComponent_setWidgetCursor, METH_VARARGS, (char *)"SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)"}, - { (char *)"SoQtComponent_isFullScreen", _wrap_SoQtComponent_isFullScreen, METH_VARARGS, (char *)"SoQtComponent_isFullScreen(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_setFullScreen", _wrap_SoQtComponent_setFullScreen, METH_VARARGS, (char *)"SoQtComponent_setFullScreen(SoQtComponent self, SbBool onoff) -> SbBool"}, - { (char *)"SoQtComponent_isVisible", _wrap_SoQtComponent_isVisible, METH_VARARGS, (char *)"SoQtComponent_isVisible(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_isTopLevelShell", _wrap_SoQtComponent_isTopLevelShell, METH_VARARGS, (char *)"SoQtComponent_isTopLevelShell(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_getWidget", _wrap_SoQtComponent_getWidget, METH_VARARGS, (char *)"SoQtComponent_getWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getBaseWidget", _wrap_SoQtComponent_getBaseWidget, METH_VARARGS, (char *)"SoQtComponent_getBaseWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getShellWidget", _wrap_SoQtComponent_getShellWidget, METH_VARARGS, (char *)"SoQtComponent_getShellWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getParentWidget", _wrap_SoQtComponent_getParentWidget, METH_VARARGS, (char *)"SoQtComponent_getParentWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_setSize", _wrap_SoQtComponent_setSize, METH_VARARGS, (char *)"SoQtComponent_setSize(SoQtComponent self, SbVec2s size)"}, - { (char *)"SoQtComponent_getSize", _wrap_SoQtComponent_getSize, METH_VARARGS, (char *)"SoQtComponent_getSize(SoQtComponent self) -> SbVec2s"}, - { (char *)"SoQtComponent_setTitle", _wrap_SoQtComponent_setTitle, METH_VARARGS, (char *)"SoQtComponent_setTitle(SoQtComponent self, char title)"}, - { (char *)"SoQtComponent_getTitle", _wrap_SoQtComponent_getTitle, METH_VARARGS, (char *)"SoQtComponent_getTitle(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_setIconTitle", _wrap_SoQtComponent_setIconTitle, METH_VARARGS, (char *)"SoQtComponent_setIconTitle(SoQtComponent self, char title)"}, - { (char *)"SoQtComponent_getIconTitle", _wrap_SoQtComponent_getIconTitle, METH_VARARGS, (char *)"SoQtComponent_getIconTitle(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_getWidgetName", _wrap_SoQtComponent_getWidgetName, METH_VARARGS, (char *)"SoQtComponent_getWidgetName(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_getClassName", _wrap_SoQtComponent_getClassName, METH_VARARGS, (char *)"SoQtComponent_getClassName(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_setWindowCloseCallback", _wrap_SoQtComponent_setWindowCloseCallback, METH_VARARGS, (char *)"\n" - "setWindowCloseCallback(SoQtComponentCB func, void user=None)\n" - "SoQtComponent_setWindowCloseCallback(SoQtComponent self, SoQtComponentCB func)\n" - ""}, - { (char *)"SoQtComponent_getComponent", _wrap_SoQtComponent_getComponent, METH_VARARGS, (char *)"SoQtComponent_getComponent(QWidget widget) -> SoQtComponent"}, - { (char *)"SoQtComponent_initClasses", _wrap_SoQtComponent_initClasses, METH_VARARGS, (char *)"SoQtComponent_initClasses()"}, - { (char *)"SoQtComponent_swigregister", SoQtComponent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtGLWidget_initClass", _wrap_SoQtGLWidget_initClass, METH_VARARGS, (char *)"SoQtGLWidget_initClass()"}, - { (char *)"SoQtGLWidget_getClassTypeId", _wrap_SoQtGLWidget_getClassTypeId, METH_VARARGS, (char *)"SoQtGLWidget_getClassTypeId() -> SoType"}, - { (char *)"SoQtGLWidget_getTypeId", _wrap_SoQtGLWidget_getTypeId, METH_VARARGS, (char *)"SoQtGLWidget_getTypeId(SoQtGLWidget self) -> SoType"}, - { (char *)"SoQtGLWidget_setBorder", _wrap_SoQtGLWidget_setBorder, METH_VARARGS, (char *)"SoQtGLWidget_setBorder(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isBorder", _wrap_SoQtGLWidget_isBorder, METH_VARARGS, (char *)"SoQtGLWidget_isBorder(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setDoubleBuffer", _wrap_SoQtGLWidget_setDoubleBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setDoubleBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isDoubleBuffer", _wrap_SoQtGLWidget_isDoubleBuffer, METH_VARARGS, (char *)"SoQtGLWidget_isDoubleBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setDrawToFrontBufferEnable", _wrap_SoQtGLWidget_setDrawToFrontBufferEnable, METH_VARARGS, (char *)"SoQtGLWidget_setDrawToFrontBufferEnable(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isDrawToFrontBufferEnable", _wrap_SoQtGLWidget_isDrawToFrontBufferEnable, METH_VARARGS, (char *)"SoQtGLWidget_isDrawToFrontBufferEnable(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setQuadBufferStereo", _wrap_SoQtGLWidget_setQuadBufferStereo, METH_VARARGS, (char *)"SoQtGLWidget_setQuadBufferStereo(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isQuadBufferStereo", _wrap_SoQtGLWidget_isQuadBufferStereo, METH_VARARGS, (char *)"SoQtGLWidget_isQuadBufferStereo(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setAccumulationBuffer", _wrap_SoQtGLWidget_setAccumulationBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setAccumulationBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getAccumulationBuffer", _wrap_SoQtGLWidget_getAccumulationBuffer, METH_VARARGS, (char *)"SoQtGLWidget_getAccumulationBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setStencilBuffer", _wrap_SoQtGLWidget_setStencilBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setStencilBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getStencilBuffer", _wrap_SoQtGLWidget_getStencilBuffer, METH_VARARGS, (char *)"SoQtGLWidget_getStencilBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setAlphaChannel", _wrap_SoQtGLWidget_setAlphaChannel, METH_VARARGS, (char *)"SoQtGLWidget_setAlphaChannel(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getAlphaChannel", _wrap_SoQtGLWidget_getAlphaChannel, METH_VARARGS, (char *)"SoQtGLWidget_getAlphaChannel(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setOverlayRender", _wrap_SoQtGLWidget_setOverlayRender, METH_VARARGS, (char *)"SoQtGLWidget_setOverlayRender(SoQtGLWidget self, SbBool onoff)"}, - { (char *)"SoQtGLWidget_isOverlayRender", _wrap_SoQtGLWidget_isOverlayRender, METH_VARARGS, (char *)"SoQtGLWidget_isOverlayRender(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setStealFocus", _wrap_SoQtGLWidget_setStealFocus, METH_VARARGS, (char *)"SoQtGLWidget_setStealFocus(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isStealFocus", _wrap_SoQtGLWidget_isStealFocus, METH_VARARGS, (char *)"SoQtGLWidget_isStealFocus(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_getGLWidget", _wrap_SoQtGLWidget_getGLWidget, METH_VARARGS, (char *)"SoQtGLWidget_getGLWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_getNormalWidget", _wrap_SoQtGLWidget_getNormalWidget, METH_VARARGS, (char *)"SoQtGLWidget_getNormalWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_getOverlayWidget", _wrap_SoQtGLWidget_getOverlayWidget, METH_VARARGS, (char *)"SoQtGLWidget_getOverlayWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_hasOverlayGLArea", _wrap_SoQtGLWidget_hasOverlayGLArea, METH_VARARGS, (char *)"SoQtGLWidget_hasOverlayGLArea(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_hasNormalGLArea", _wrap_SoQtGLWidget_hasNormalGLArea, METH_VARARGS, (char *)"SoQtGLWidget_hasNormalGLArea(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_getOverlayTransparentPixel", _wrap_SoQtGLWidget_getOverlayTransparentPixel, METH_VARARGS, (char *)"SoQtGLWidget_getOverlayTransparentPixel(SoQtGLWidget self) -> unsigned long"}, - { (char *)"SoQtGLWidget_getPointSizeLimits", _wrap_SoQtGLWidget_getPointSizeLimits, METH_VARARGS, (char *)"SoQtGLWidget_getPointSizeLimits(SoQtGLWidget self, SbVec2f range, float granularity)"}, - { (char *)"SoQtGLWidget_getLineWidthLimits", _wrap_SoQtGLWidget_getLineWidthLimits, METH_VARARGS, (char *)"SoQtGLWidget_getLineWidthLimits(SoQtGLWidget self, SbVec2f range, float granularity)"}, - { (char *)"SoQtGLWidget_swigregister", SoQtGLWidget_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtRenderArea_initClass", _wrap_SoQtRenderArea_initClass, METH_VARARGS, (char *)"SoQtRenderArea_initClass()"}, - { (char *)"SoQtRenderArea_getClassTypeId", _wrap_SoQtRenderArea_getClassTypeId, METH_VARARGS, (char *)"SoQtRenderArea_getClassTypeId() -> SoType"}, - { (char *)"SoQtRenderArea_getTypeId", _wrap_SoQtRenderArea_getTypeId, METH_VARARGS, (char *)"SoQtRenderArea_getTypeId(SoQtRenderArea self) -> SoType"}, - { (char *)"SoQtRenderArea_createInstance", _wrap_SoQtRenderArea_createInstance, METH_VARARGS, (char *)"SoQtRenderArea_createInstance() -> void"}, - { (char *)"new_SoQtRenderArea", _wrap_new_SoQtRenderArea, METH_VARARGS, (char *)"\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1, \n" - " SbBool mouseInput=1, SbBool keyboardInput=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1, \n" - " SbBool mouseInput=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None)\n" - "SoQtRenderArea(QWidget parent=None)\n" - "new_SoQtRenderArea() -> SoQtRenderArea\n" - ""}, - { (char *)"delete_SoQtRenderArea", _wrap_delete_SoQtRenderArea, METH_VARARGS, (char *)"delete_SoQtRenderArea(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_setSceneGraph", _wrap_SoQtRenderArea_setSceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_setSceneGraph(SoQtRenderArea self, SoNode scene)"}, - { (char *)"SoQtRenderArea_getSceneGraph", _wrap_SoQtRenderArea_getSceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_getSceneGraph(SoQtRenderArea self) -> SoNode"}, - { (char *)"SoQtRenderArea_setOverlaySceneGraph", _wrap_SoQtRenderArea_setOverlaySceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_setOverlaySceneGraph(SoQtRenderArea self, SoNode scene)"}, - { (char *)"SoQtRenderArea_getOverlaySceneGraph", _wrap_SoQtRenderArea_getOverlaySceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_getOverlaySceneGraph(SoQtRenderArea self) -> SoNode"}, - { (char *)"SoQtRenderArea_setBackgroundColor", _wrap_SoQtRenderArea_setBackgroundColor, METH_VARARGS, (char *)"SoQtRenderArea_setBackgroundColor(SoQtRenderArea self, SbColor color)"}, - { (char *)"SoQtRenderArea_getBackgroundColor", _wrap_SoQtRenderArea_getBackgroundColor, METH_VARARGS, (char *)"SoQtRenderArea_getBackgroundColor(SoQtRenderArea self) -> SbColor"}, - { (char *)"SoQtRenderArea_setBackgroundIndex", _wrap_SoQtRenderArea_setBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_setBackgroundIndex(SoQtRenderArea self, int idx)"}, - { (char *)"SoQtRenderArea_getBackgroundIndex", _wrap_SoQtRenderArea_getBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_getBackgroundIndex(SoQtRenderArea self) -> int"}, - { (char *)"SoQtRenderArea_setOverlayBackgroundIndex", _wrap_SoQtRenderArea_setOverlayBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayBackgroundIndex(SoQtRenderArea self, int idx)"}, - { (char *)"SoQtRenderArea_getOverlayBackgroundIndex", _wrap_SoQtRenderArea_getOverlayBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_getOverlayBackgroundIndex(SoQtRenderArea self) -> int"}, - { (char *)"SoQtRenderArea_setColorMap", _wrap_SoQtRenderArea_setColorMap, METH_VARARGS, (char *)"SoQtRenderArea_setColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"}, - { (char *)"SoQtRenderArea_setOverlayColorMap", _wrap_SoQtRenderArea_setOverlayColorMap, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"}, - { (char *)"SoQtRenderArea_setViewportRegion", _wrap_SoQtRenderArea_setViewportRegion, METH_VARARGS, (char *)"SoQtRenderArea_setViewportRegion(SoQtRenderArea self, SbViewportRegion newRegion)"}, - { (char *)"SoQtRenderArea_getViewportRegion", _wrap_SoQtRenderArea_getViewportRegion, METH_VARARGS, (char *)"SoQtRenderArea_getViewportRegion(SoQtRenderArea self) -> SbViewportRegion"}, - { (char *)"SoQtRenderArea_setTransparencyType", _wrap_SoQtRenderArea_setTransparencyType, METH_VARARGS, (char *)"SoQtRenderArea_setTransparencyType(SoQtRenderArea self, TransparencyType type)"}, - { (char *)"SoQtRenderArea_getTransparencyType", _wrap_SoQtRenderArea_getTransparencyType, METH_VARARGS, (char *)"SoQtRenderArea_getTransparencyType(SoQtRenderArea self) -> TransparencyType"}, - { (char *)"SoQtRenderArea_setAntialiasing", _wrap_SoQtRenderArea_setAntialiasing, METH_VARARGS, (char *)"SoQtRenderArea_setAntialiasing(SoQtRenderArea self, SbBool smoothing, int numPasses)"}, - { (char *)"SoQtRenderArea_getAntialiasing", _wrap_SoQtRenderArea_getAntialiasing, METH_VARARGS, (char *)"SoQtRenderArea_getAntialiasing(SoQtRenderArea self, SbBool smoothing, int numPasses)"}, - { (char *)"SoQtRenderArea_setClearBeforeRender", _wrap_SoQtRenderArea_setClearBeforeRender, METH_VARARGS, (char *)"\n" - "setClearBeforeRender(SbBool enable, SbBool zbEnable=1)\n" - "SoQtRenderArea_setClearBeforeRender(SoQtRenderArea self, SbBool enable)\n" - ""}, - { (char *)"SoQtRenderArea_isClearBeforeRender", _wrap_SoQtRenderArea_isClearBeforeRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearBeforeRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_isClearZBufferBeforeRender", _wrap_SoQtRenderArea_isClearZBufferBeforeRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearZBufferBeforeRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setClearBeforeOverlayRender", _wrap_SoQtRenderArea_setClearBeforeOverlayRender, METH_VARARGS, (char *)"SoQtRenderArea_setClearBeforeOverlayRender(SoQtRenderArea self, SbBool enable)"}, - { (char *)"SoQtRenderArea_isClearBeforeOverlayRender", _wrap_SoQtRenderArea_isClearBeforeOverlayRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearBeforeOverlayRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setAutoRedraw", _wrap_SoQtRenderArea_setAutoRedraw, METH_VARARGS, (char *)"SoQtRenderArea_setAutoRedraw(SoQtRenderArea self, SbBool enable)"}, - { (char *)"SoQtRenderArea_isAutoRedraw", _wrap_SoQtRenderArea_isAutoRedraw, METH_VARARGS, (char *)"SoQtRenderArea_isAutoRedraw(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setRedrawPriority", _wrap_SoQtRenderArea_setRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_setRedrawPriority(SoQtRenderArea self, uint32_t priority)"}, - { (char *)"SoQtRenderArea_getRedrawPriority", _wrap_SoQtRenderArea_getRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_getRedrawPriority(SoQtRenderArea self) -> uint32_t"}, - { (char *)"SoQtRenderArea_getDefaultRedrawPriority", _wrap_SoQtRenderArea_getDefaultRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t"}, - { (char *)"SoQtRenderArea_render", _wrap_SoQtRenderArea_render, METH_VARARGS, (char *)"SoQtRenderArea_render(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_renderOverlay", _wrap_SoQtRenderArea_renderOverlay, METH_VARARGS, (char *)"SoQtRenderArea_renderOverlay(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_scheduleRedraw", _wrap_SoQtRenderArea_scheduleRedraw, METH_VARARGS, (char *)"SoQtRenderArea_scheduleRedraw(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_scheduleOverlayRedraw", _wrap_SoQtRenderArea_scheduleOverlayRedraw, METH_VARARGS, (char *)"SoQtRenderArea_scheduleOverlayRedraw(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_redrawOnSelectionChange", _wrap_SoQtRenderArea_redrawOnSelectionChange, METH_VARARGS, (char *)"SoQtRenderArea_redrawOnSelectionChange(SoQtRenderArea self, SoSelection selection)"}, - { (char *)"SoQtRenderArea_redrawOverlayOnSelectionChange", _wrap_SoQtRenderArea_redrawOverlayOnSelectionChange, METH_VARARGS, (char *)"SoQtRenderArea_redrawOverlayOnSelectionChange(SoQtRenderArea self, SoSelection selection)"}, - { (char *)"SoQtRenderArea_setSceneManager", _wrap_SoQtRenderArea_setSceneManager, METH_VARARGS, (char *)"SoQtRenderArea_setSceneManager(SoQtRenderArea self, SoSceneManager manager)"}, - { (char *)"SoQtRenderArea_getSceneManager", _wrap_SoQtRenderArea_getSceneManager, METH_VARARGS, (char *)"SoQtRenderArea_getSceneManager(SoQtRenderArea self) -> SoSceneManager"}, - { (char *)"SoQtRenderArea_setOverlaySceneManager", _wrap_SoQtRenderArea_setOverlaySceneManager, METH_VARARGS, (char *)"SoQtRenderArea_setOverlaySceneManager(SoQtRenderArea self, SoSceneManager manager)"}, - { (char *)"SoQtRenderArea_getOverlaySceneManager", _wrap_SoQtRenderArea_getOverlaySceneManager, METH_VARARGS, (char *)"SoQtRenderArea_getOverlaySceneManager(SoQtRenderArea self) -> SoSceneManager"}, - { (char *)"SoQtRenderArea_setGLRenderAction", _wrap_SoQtRenderArea_setGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_setGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"}, - { (char *)"SoQtRenderArea_getGLRenderAction", _wrap_SoQtRenderArea_getGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_getGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"}, - { (char *)"SoQtRenderArea_setOverlayGLRenderAction", _wrap_SoQtRenderArea_setOverlayGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"}, - { (char *)"SoQtRenderArea_getOverlayGLRenderAction", _wrap_SoQtRenderArea_getOverlayGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_getOverlayGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"}, - { (char *)"SoQtRenderArea_sendSoEvent", _wrap_SoQtRenderArea_sendSoEvent, METH_VARARGS, (char *)"SoQtRenderArea_sendSoEvent(SoQtRenderArea self, SoEvent event) -> SbBool"}, - { (char *)"SoQtRenderArea_registerDevice", _wrap_SoQtRenderArea_registerDevice, METH_VARARGS, (char *)"SoQtRenderArea_registerDevice(SoQtRenderArea self, SoQtDevice device)"}, - { (char *)"SoQtRenderArea_unregisterDevice", _wrap_SoQtRenderArea_unregisterDevice, METH_VARARGS, (char *)"SoQtRenderArea_unregisterDevice(SoQtRenderArea self, SoQtDevice device)"}, - { (char *)"SoQtRenderArea_setEventCallback", _wrap_SoQtRenderArea_setEventCallback, METH_VARARGS, (char *)"\n" - "setEventCallback(SoQtRenderAreaEventCB func, void user=None)\n" - "setEventCallback(SoQtRenderAreaEventCB func)\n" - "setEventCallback(PyObject pyfunc, PyObject user=None)\n" - "SoQtRenderArea_setEventCallback(SoQtRenderArea self, PyObject pyfunc)\n" - ""}, - { (char *)"SoQtRenderArea_swigregister", SoQtRenderArea_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtViewer_initClass", _wrap_SoQtViewer_initClass, METH_VARARGS, (char *)"SoQtViewer_initClass()"}, - { (char *)"SoQtViewer_getClassTypeId", _wrap_SoQtViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtViewer_getTypeId", _wrap_SoQtViewer_getTypeId, METH_VARARGS, (char *)"SoQtViewer_getTypeId(SoQtViewer self) -> SoType"}, - { (char *)"SoQtViewer_setCamera", _wrap_SoQtViewer_setCamera, METH_VARARGS, (char *)"SoQtViewer_setCamera(SoQtViewer self, SoCamera camera)"}, - { (char *)"SoQtViewer_getCamera", _wrap_SoQtViewer_getCamera, METH_VARARGS, (char *)"SoQtViewer_getCamera(SoQtViewer self) -> SoCamera"}, - { (char *)"SoQtViewer_setCameraType", _wrap_SoQtViewer_setCameraType, METH_VARARGS, (char *)"SoQtViewer_setCameraType(SoQtViewer self, SoType type)"}, - { (char *)"SoQtViewer_getCameraType", _wrap_SoQtViewer_getCameraType, METH_VARARGS, (char *)"SoQtViewer_getCameraType(SoQtViewer self) -> SoType"}, - { (char *)"SoQtViewer_toggleCameraType", _wrap_SoQtViewer_toggleCameraType, METH_VARARGS, (char *)"SoQtViewer_toggleCameraType(SoQtViewer self)"}, - { (char *)"SoQtViewer_viewAll", _wrap_SoQtViewer_viewAll, METH_VARARGS, (char *)"SoQtViewer_viewAll(SoQtViewer self)"}, - { (char *)"SoQtViewer_saveHomePosition", _wrap_SoQtViewer_saveHomePosition, METH_VARARGS, (char *)"SoQtViewer_saveHomePosition(SoQtViewer self)"}, - { (char *)"SoQtViewer_resetToHomePosition", _wrap_SoQtViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtViewer_resetToHomePosition(SoQtViewer self)"}, - { (char *)"SoQtViewer_setHeadlight", _wrap_SoQtViewer_setHeadlight, METH_VARARGS, (char *)"SoQtViewer_setHeadlight(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isHeadlight", _wrap_SoQtViewer_isHeadlight, METH_VARARGS, (char *)"SoQtViewer_isHeadlight(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_getHeadlight", _wrap_SoQtViewer_getHeadlight, METH_VARARGS, (char *)"SoQtViewer_getHeadlight(SoQtViewer self) -> SoDirectionalLight"}, - { (char *)"SoQtViewer_setDrawStyle", _wrap_SoQtViewer_setDrawStyle, METH_VARARGS, (char *)"SoQtViewer_setDrawStyle(SoQtViewer self, DrawType type, DrawStyle style)"}, - { (char *)"SoQtViewer_getDrawStyle", _wrap_SoQtViewer_getDrawStyle, METH_VARARGS, (char *)"SoQtViewer_getDrawStyle(SoQtViewer self, DrawType type) -> DrawStyle"}, - { (char *)"SoQtViewer_setBufferingType", _wrap_SoQtViewer_setBufferingType, METH_VARARGS, (char *)"SoQtViewer_setBufferingType(SoQtViewer self, BufferType type)"}, - { (char *)"SoQtViewer_getBufferingType", _wrap_SoQtViewer_getBufferingType, METH_VARARGS, (char *)"SoQtViewer_getBufferingType(SoQtViewer self) -> BufferType"}, - { (char *)"SoQtViewer_setViewing", _wrap_SoQtViewer_setViewing, METH_VARARGS, (char *)"SoQtViewer_setViewing(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isViewing", _wrap_SoQtViewer_isViewing, METH_VARARGS, (char *)"SoQtViewer_isViewing(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setCursorEnabled", _wrap_SoQtViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtViewer_setCursorEnabled(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isCursorEnabled", _wrap_SoQtViewer_isCursorEnabled, METH_VARARGS, (char *)"SoQtViewer_isCursorEnabled(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setAutoClipping", _wrap_SoQtViewer_setAutoClipping, METH_VARARGS, (char *)"SoQtViewer_setAutoClipping(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isAutoClipping", _wrap_SoQtViewer_isAutoClipping, METH_VARARGS, (char *)"SoQtViewer_isAutoClipping(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setAutoClippingStrategy", _wrap_SoQtViewer_setAutoClippingStrategy, METH_VARARGS, (char *)"\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None, \n" - " void cbuserdata=None)\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None)\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6)\n" - "SoQtViewer_setAutoClippingStrategy(SoQtViewer self, AutoClippingStrategy strategy)\n" - ""}, - { (char *)"SoQtViewer_setStereoViewing", _wrap_SoQtViewer_setStereoViewing, METH_VARARGS, (char *)"SoQtViewer_setStereoViewing(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isStereoViewing", _wrap_SoQtViewer_isStereoViewing, METH_VARARGS, (char *)"SoQtViewer_isStereoViewing(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setStereoOffset", _wrap_SoQtViewer_setStereoOffset, METH_VARARGS, (char *)"SoQtViewer_setStereoOffset(SoQtViewer self, float dist)"}, - { (char *)"SoQtViewer_getStereoOffset", _wrap_SoQtViewer_getStereoOffset, METH_VARARGS, (char *)"SoQtViewer_getStereoOffset(SoQtViewer self) -> float"}, - { (char *)"SoQtViewer_setStereoType", _wrap_SoQtViewer_setStereoType, METH_VARARGS, (char *)"SoQtViewer_setStereoType(SoQtViewer self, StereoType s) -> SbBool"}, - { (char *)"SoQtViewer_getStereoType", _wrap_SoQtViewer_getStereoType, METH_VARARGS, (char *)"SoQtViewer_getStereoType(SoQtViewer self) -> StereoType"}, - { (char *)"SoQtViewer_setAnaglyphStereoColorMasks", _wrap_SoQtViewer_setAnaglyphStereoColorMasks, METH_VARARGS, (char *)"SoQtViewer_setAnaglyphStereoColorMasks(SoQtViewer self, SbBool left, SbBool right)"}, - { (char *)"SoQtViewer_getAnaglyphStereoColorMasks", _wrap_SoQtViewer_getAnaglyphStereoColorMasks, METH_VARARGS, (char *)"SoQtViewer_getAnaglyphStereoColorMasks(SoQtViewer self, SbBool left, SbBool right)"}, - { (char *)"SoQtViewer_setDetailSeek", _wrap_SoQtViewer_setDetailSeek, METH_VARARGS, (char *)"SoQtViewer_setDetailSeek(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isDetailSeek", _wrap_SoQtViewer_isDetailSeek, METH_VARARGS, (char *)"SoQtViewer_isDetailSeek(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setSeekTime", _wrap_SoQtViewer_setSeekTime, METH_VARARGS, (char *)"SoQtViewer_setSeekTime(SoQtViewer self, float seconds)"}, - { (char *)"SoQtViewer_getSeekTime", _wrap_SoQtViewer_getSeekTime, METH_VARARGS, (char *)"SoQtViewer_getSeekTime(SoQtViewer self) -> float"}, - { (char *)"SoQtViewer_addStartCallback", _wrap_SoQtViewer_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_addStartCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_addFinishCallback", _wrap_SoQtViewer_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_addFinishCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_removeStartCallback", _wrap_SoQtViewer_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_removeStartCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_removeFinishCallback", _wrap_SoQtViewer_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_removeFinishCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_setWireframeOverlayColor", _wrap_SoQtViewer_setWireframeOverlayColor, METH_VARARGS, (char *)"SoQtViewer_setWireframeOverlayColor(SoQtViewer self, SbColor color)"}, - { (char *)"SoQtViewer_getWireframeOverlayColor", _wrap_SoQtViewer_getWireframeOverlayColor, METH_VARARGS, (char *)"SoQtViewer_getWireframeOverlayColor(SoQtViewer self) -> SbColor"}, - { (char *)"SoQtViewer_setDoubleBuffer", _wrap_SoQtViewer_setDoubleBuffer, METH_VARARGS, (char *)"SoQtViewer_setDoubleBuffer(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_setSceneGraph", _wrap_SoQtViewer_setSceneGraph, METH_VARARGS, (char *)"SoQtViewer_setSceneGraph(SoQtViewer self, SoNode root)"}, - { (char *)"SoQtViewer_getSceneGraph", _wrap_SoQtViewer_getSceneGraph, METH_VARARGS, (char *)"SoQtViewer_getSceneGraph(SoQtViewer self) -> SoNode"}, - { (char *)"SoQtViewer_swigregister", SoQtViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtFullViewer_initClass", _wrap_SoQtFullViewer_initClass, METH_VARARGS, (char *)"SoQtFullViewer_initClass()"}, - { (char *)"SoQtFullViewer_getClassTypeId", _wrap_SoQtFullViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtFullViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtFullViewer_getTypeId", _wrap_SoQtFullViewer_getTypeId, METH_VARARGS, (char *)"SoQtFullViewer_getTypeId(SoQtFullViewer self) -> SoType"}, - { (char *)"SoQtFullViewer_setDecoration", _wrap_SoQtFullViewer_setDecoration, METH_VARARGS, (char *)"SoQtFullViewer_setDecoration(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_isDecoration", _wrap_SoQtFullViewer_isDecoration, METH_VARARGS, (char *)"SoQtFullViewer_isDecoration(SoQtFullViewer self) -> SbBool"}, - { (char *)"SoQtFullViewer_setPopupMenuEnabled", _wrap_SoQtFullViewer_setPopupMenuEnabled, METH_VARARGS, (char *)"SoQtFullViewer_setPopupMenuEnabled(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_isPopupMenuEnabled", _wrap_SoQtFullViewer_isPopupMenuEnabled, METH_VARARGS, (char *)"SoQtFullViewer_isPopupMenuEnabled(SoQtFullViewer self) -> SbBool"}, - { (char *)"SoQtFullViewer_getAppPushButtonParent", _wrap_SoQtFullViewer_getAppPushButtonParent, METH_VARARGS, (char *)"SoQtFullViewer_getAppPushButtonParent(SoQtFullViewer self) -> QWidget"}, - { (char *)"SoQtFullViewer_addAppPushButton", _wrap_SoQtFullViewer_addAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_addAppPushButton(SoQtFullViewer self, QWidget newButton)"}, - { (char *)"SoQtFullViewer_insertAppPushButton", _wrap_SoQtFullViewer_insertAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_insertAppPushButton(SoQtFullViewer self, QWidget newButton, int index)"}, - { (char *)"SoQtFullViewer_removeAppPushButton", _wrap_SoQtFullViewer_removeAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_removeAppPushButton(SoQtFullViewer self, QWidget oldButton)"}, - { (char *)"SoQtFullViewer_findAppPushButton", _wrap_SoQtFullViewer_findAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_findAppPushButton(SoQtFullViewer self, QWidget oldButton) -> int"}, - { (char *)"SoQtFullViewer_lengthAppPushButton", _wrap_SoQtFullViewer_lengthAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_lengthAppPushButton(SoQtFullViewer self) -> int"}, - { (char *)"SoQtFullViewer_getRenderAreaWidget", _wrap_SoQtFullViewer_getRenderAreaWidget, METH_VARARGS, (char *)"SoQtFullViewer_getRenderAreaWidget(SoQtFullViewer self) -> QWidget"}, - { (char *)"SoQtFullViewer_setViewing", _wrap_SoQtFullViewer_setViewing, METH_VARARGS, (char *)"SoQtFullViewer_setViewing(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_setComponentCursor", _wrap_SoQtFullViewer_setComponentCursor, METH_VARARGS, (char *)"SoQtFullViewer_setComponentCursor(SoQtFullViewer self, SoQtCursor cursor)"}, - { (char *)"SoQtFullViewer_swigregister", SoQtFullViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtPlaneViewer_initClass", _wrap_SoQtPlaneViewer_initClass, METH_VARARGS, (char *)"SoQtPlaneViewer_initClass()"}, - { (char *)"SoQtPlaneViewer_getClassTypeId", _wrap_SoQtPlaneViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtPlaneViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtPlaneViewer_getTypeId", _wrap_SoQtPlaneViewer_getTypeId, METH_VARARGS, (char *)"SoQtPlaneViewer_getTypeId(SoQtPlaneViewer self) -> SoType"}, - { (char *)"SoQtPlaneViewer_createInstance", _wrap_SoQtPlaneViewer_createInstance, METH_VARARGS, (char *)"SoQtPlaneViewer_createInstance() -> void"}, - { (char *)"new_SoQtPlaneViewer", _wrap_new_SoQtPlaneViewer, METH_VARARGS, (char *)"\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None)\n" - "SoQtPlaneViewer(QWidget parent=None)\n" - "new_SoQtPlaneViewer() -> SoQtPlaneViewer\n" - ""}, - { (char *)"delete_SoQtPlaneViewer", _wrap_delete_SoQtPlaneViewer, METH_VARARGS, (char *)"delete_SoQtPlaneViewer(SoQtPlaneViewer self)"}, - { (char *)"SoQtPlaneViewer_setViewing", _wrap_SoQtPlaneViewer_setViewing, METH_VARARGS, (char *)"SoQtPlaneViewer_setViewing(SoQtPlaneViewer self, SbBool enable)"}, - { (char *)"SoQtPlaneViewer_setCamera", _wrap_SoQtPlaneViewer_setCamera, METH_VARARGS, (char *)"SoQtPlaneViewer_setCamera(SoQtPlaneViewer self, SoCamera camera)"}, - { (char *)"SoQtPlaneViewer_setCursorEnabled", _wrap_SoQtPlaneViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtPlaneViewer_setCursorEnabled(SoQtPlaneViewer self, SbBool enable)"}, - { (char *)"SoQtPlaneViewer_swigregister", SoQtPlaneViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtExaminerViewer_initClass", _wrap_SoQtExaminerViewer_initClass, METH_VARARGS, (char *)"SoQtExaminerViewer_initClass()"}, - { (char *)"SoQtExaminerViewer_getClassTypeId", _wrap_SoQtExaminerViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtExaminerViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtExaminerViewer_getTypeId", _wrap_SoQtExaminerViewer_getTypeId, METH_VARARGS, (char *)"SoQtExaminerViewer_getTypeId(SoQtExaminerViewer self) -> SoType"}, - { (char *)"SoQtExaminerViewer_createInstance", _wrap_SoQtExaminerViewer_createInstance, METH_VARARGS, (char *)"SoQtExaminerViewer_createInstance() -> void"}, - { (char *)"new_SoQtExaminerViewer", _wrap_new_SoQtExaminerViewer, METH_VARARGS, (char *)"\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None)\n" - "SoQtExaminerViewer(QWidget parent=None)\n" - "new_SoQtExaminerViewer() -> SoQtExaminerViewer\n" - ""}, - { (char *)"delete_SoQtExaminerViewer", _wrap_delete_SoQtExaminerViewer, METH_VARARGS, (char *)"delete_SoQtExaminerViewer(SoQtExaminerViewer self)"}, - { (char *)"SoQtExaminerViewer_setAnimationEnabled", _wrap_SoQtExaminerViewer_setAnimationEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_setAnimationEnabled(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_isAnimationEnabled", _wrap_SoQtExaminerViewer_isAnimationEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_isAnimationEnabled(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_stopAnimating", _wrap_SoQtExaminerViewer_stopAnimating, METH_VARARGS, (char *)"SoQtExaminerViewer_stopAnimating(SoQtExaminerViewer self)"}, - { (char *)"SoQtExaminerViewer_isAnimating", _wrap_SoQtExaminerViewer_isAnimating, METH_VARARGS, (char *)"SoQtExaminerViewer_isAnimating(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_setFeedbackVisibility", _wrap_SoQtExaminerViewer_setFeedbackVisibility, METH_VARARGS, (char *)"SoQtExaminerViewer_setFeedbackVisibility(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_isFeedbackVisible", _wrap_SoQtExaminerViewer_isFeedbackVisible, METH_VARARGS, (char *)"SoQtExaminerViewer_isFeedbackVisible(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_setFeedbackSize", _wrap_SoQtExaminerViewer_setFeedbackSize, METH_VARARGS, (char *)"SoQtExaminerViewer_setFeedbackSize(SoQtExaminerViewer self, int size)"}, - { (char *)"SoQtExaminerViewer_getFeedbackSize", _wrap_SoQtExaminerViewer_getFeedbackSize, METH_VARARGS, (char *)"SoQtExaminerViewer_getFeedbackSize(SoQtExaminerViewer self) -> int"}, - { (char *)"SoQtExaminerViewer_setViewing", _wrap_SoQtExaminerViewer_setViewing, METH_VARARGS, (char *)"SoQtExaminerViewer_setViewing(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_setCamera", _wrap_SoQtExaminerViewer_setCamera, METH_VARARGS, (char *)"SoQtExaminerViewer_setCamera(SoQtExaminerViewer self, SoCamera camera)"}, - { (char *)"SoQtExaminerViewer_setCursorEnabled", _wrap_SoQtExaminerViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_setCursorEnabled(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_swigregister", SoQtExaminerViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtConstrainedViewer_initClass", _wrap_SoQtConstrainedViewer_initClass, METH_VARARGS, (char *)"SoQtConstrainedViewer_initClass()"}, - { (char *)"SoQtConstrainedViewer_getClassTypeId", _wrap_SoQtConstrainedViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtConstrainedViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtConstrainedViewer_getTypeId", _wrap_SoQtConstrainedViewer_getTypeId, METH_VARARGS, (char *)"SoQtConstrainedViewer_getTypeId(SoQtConstrainedViewer self) -> SoType"}, - { (char *)"SoQtConstrainedViewer_setUpDirection", _wrap_SoQtConstrainedViewer_setUpDirection, METH_VARARGS, (char *)"SoQtConstrainedViewer_setUpDirection(SoQtConstrainedViewer self, SbVec3f dir)"}, - { (char *)"SoQtConstrainedViewer_getUpDirection", _wrap_SoQtConstrainedViewer_getUpDirection, METH_VARARGS, (char *)"SoQtConstrainedViewer_getUpDirection(SoQtConstrainedViewer self) -> SbVec3f"}, - { (char *)"SoQtConstrainedViewer_setCamera", _wrap_SoQtConstrainedViewer_setCamera, METH_VARARGS, (char *)"SoQtConstrainedViewer_setCamera(SoQtConstrainedViewer self, SoCamera newcam)"}, - { (char *)"SoQtConstrainedViewer_saveHomePosition", _wrap_SoQtConstrainedViewer_saveHomePosition, METH_VARARGS, (char *)"SoQtConstrainedViewer_saveHomePosition(SoQtConstrainedViewer self)"}, - { (char *)"SoQtConstrainedViewer_resetToHomePosition", _wrap_SoQtConstrainedViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtConstrainedViewer_resetToHomePosition(SoQtConstrainedViewer self)"}, - { (char *)"SoQtConstrainedViewer_swigregister", SoQtConstrainedViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtFlyViewer_initClass", _wrap_SoQtFlyViewer_initClass, METH_VARARGS, (char *)"SoQtFlyViewer_initClass()"}, - { (char *)"SoQtFlyViewer_getClassTypeId", _wrap_SoQtFlyViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtFlyViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtFlyViewer_getTypeId", _wrap_SoQtFlyViewer_getTypeId, METH_VARARGS, (char *)"SoQtFlyViewer_getTypeId(SoQtFlyViewer self) -> SoType"}, - { (char *)"SoQtFlyViewer_createInstance", _wrap_SoQtFlyViewer_createInstance, METH_VARARGS, (char *)"SoQtFlyViewer_createInstance() -> void"}, - { (char *)"new_SoQtFlyViewer", _wrap_new_SoQtFlyViewer, METH_VARARGS, (char *)"\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None)\n" - "SoQtFlyViewer(QWidget parent=None)\n" - "new_SoQtFlyViewer() -> SoQtFlyViewer\n" - ""}, - { (char *)"delete_SoQtFlyViewer", _wrap_delete_SoQtFlyViewer, METH_VARARGS, (char *)"delete_SoQtFlyViewer(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_setViewing", _wrap_SoQtFlyViewer_setViewing, METH_VARARGS, (char *)"SoQtFlyViewer_setViewing(SoQtFlyViewer self, SbBool enable)"}, - { (char *)"SoQtFlyViewer_viewAll", _wrap_SoQtFlyViewer_viewAll, METH_VARARGS, (char *)"SoQtFlyViewer_viewAll(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_resetToHomePosition", _wrap_SoQtFlyViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtFlyViewer_resetToHomePosition(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_setCamera", _wrap_SoQtFlyViewer_setCamera, METH_VARARGS, (char *)"SoQtFlyViewer_setCamera(SoQtFlyViewer self, SoCamera camera)"}, - { (char *)"SoQtFlyViewer_setCursorEnabled", _wrap_SoQtFlyViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtFlyViewer_setCursorEnabled(SoQtFlyViewer self, SbBool enable)"}, - { (char *)"SoQtFlyViewer_setCameraType", _wrap_SoQtFlyViewer_setCameraType, METH_VARARGS, (char *)"SoQtFlyViewer_setCameraType(SoQtFlyViewer self, SoType type)"}, - { (char *)"SoQtFlyViewer_swigregister", SoQtFlyViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtPopupMenu_createInstance", _wrap_SoQtPopupMenu_createInstance, METH_VARARGS, (char *)"SoQtPopupMenu_createInstance() -> SoQtPopupMenu"}, - { (char *)"delete_SoQtPopupMenu", _wrap_delete_SoQtPopupMenu, METH_VARARGS, (char *)"delete_SoQtPopupMenu(SoQtPopupMenu self)"}, - { (char *)"SoQtPopupMenu_newMenu", _wrap_SoQtPopupMenu_newMenu, METH_VARARGS, (char *)"\n" - "newMenu(char name, int menuid=-1) -> int\n" - "SoQtPopupMenu_newMenu(SoQtPopupMenu self, char name) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getMenu", _wrap_SoQtPopupMenu_getMenu, METH_VARARGS, (char *)"SoQtPopupMenu_getMenu(SoQtPopupMenu self, char name) -> int"}, - { (char *)"SoQtPopupMenu_setMenuTitle", _wrap_SoQtPopupMenu_setMenuTitle, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuTitle(SoQtPopupMenu self, int id, char title)"}, - { (char *)"SoQtPopupMenu_getMenuTitle", _wrap_SoQtPopupMenu_getMenuTitle, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuTitle(SoQtPopupMenu self, int id) -> char"}, - { (char *)"SoQtPopupMenu_newMenuItem", _wrap_SoQtPopupMenu_newMenuItem, METH_VARARGS, (char *)"\n" - "newMenuItem(char name, int itemid=-1) -> int\n" - "SoQtPopupMenu_newMenuItem(SoQtPopupMenu self, char name) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getMenuItem", _wrap_SoQtPopupMenu_getMenuItem, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItem(SoQtPopupMenu self, char name) -> int"}, - { (char *)"SoQtPopupMenu_setMenuItemTitle", _wrap_SoQtPopupMenu_setMenuItemTitle, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemTitle(SoQtPopupMenu self, int itemid, char title)"}, - { (char *)"SoQtPopupMenu_getMenuItemTitle", _wrap_SoQtPopupMenu_getMenuItemTitle, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemTitle(SoQtPopupMenu self, int itemid) -> char"}, - { (char *)"SoQtPopupMenu_setMenuItemEnabled", _wrap_SoQtPopupMenu_setMenuItemEnabled, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemEnabled(SoQtPopupMenu self, int itemid, SbBool enabled)"}, - { (char *)"SoQtPopupMenu_getMenuItemEnabled", _wrap_SoQtPopupMenu_getMenuItemEnabled, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemEnabled(SoQtPopupMenu self, int itemid) -> SbBool"}, - { (char *)"SoQtPopupMenu_setMenuItemMarked", _wrap_SoQtPopupMenu_setMenuItemMarked, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemMarked(SoQtPopupMenu self, int itemid, SbBool marked)"}, - { (char *)"SoQtPopupMenu_getMenuItemMarked", _wrap_SoQtPopupMenu_getMenuItemMarked, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemMarked(SoQtPopupMenu self, int itemid) -> SbBool"}, - { (char *)"SoQtPopupMenu_addMenu", _wrap_SoQtPopupMenu_addMenu, METH_VARARGS, (char *)"\n" - "addMenu(int menuid, int submenuid, int pos=-1)\n" - "SoQtPopupMenu_addMenu(SoQtPopupMenu self, int menuid, int submenuid)\n" - ""}, - { (char *)"SoQtPopupMenu_addMenuItem", _wrap_SoQtPopupMenu_addMenuItem, METH_VARARGS, (char *)"\n" - "addMenuItem(int menuid, int itemid, int pos=-1)\n" - "SoQtPopupMenu_addMenuItem(SoQtPopupMenu self, int menuid, int itemid)\n" - ""}, - { (char *)"SoQtPopupMenu_addSeparator", _wrap_SoQtPopupMenu_addSeparator, METH_VARARGS, (char *)"\n" - "addSeparator(int menuid, int pos=-1)\n" - "SoQtPopupMenu_addSeparator(SoQtPopupMenu self, int menuid)\n" - ""}, - { (char *)"SoQtPopupMenu_removeMenu", _wrap_SoQtPopupMenu_removeMenu, METH_VARARGS, (char *)"SoQtPopupMenu_removeMenu(SoQtPopupMenu self, int menuid)"}, - { (char *)"SoQtPopupMenu_removeMenuItem", _wrap_SoQtPopupMenu_removeMenuItem, METH_VARARGS, (char *)"SoQtPopupMenu_removeMenuItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_popUp", _wrap_SoQtPopupMenu_popUp, METH_VARARGS, (char *)"SoQtPopupMenu_popUp(SoQtPopupMenu self, QWidget inside, int x, int y)"}, - { (char *)"SoQtPopupMenu_newRadioGroup", _wrap_SoQtPopupMenu_newRadioGroup, METH_VARARGS, (char *)"\n" - "newRadioGroup(int groupid=-1) -> int\n" - "SoQtPopupMenu_newRadioGroup(SoQtPopupMenu self) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getRadioGroup", _wrap_SoQtPopupMenu_getRadioGroup, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroup(SoQtPopupMenu self, int itemid) -> int"}, - { (char *)"SoQtPopupMenu_getRadioGroupSize", _wrap_SoQtPopupMenu_getRadioGroupSize, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroupSize(SoQtPopupMenu self, int groupid) -> int"}, - { (char *)"SoQtPopupMenu_addRadioGroupItem", _wrap_SoQtPopupMenu_addRadioGroupItem, METH_VARARGS, (char *)"SoQtPopupMenu_addRadioGroupItem(SoQtPopupMenu self, int groupid, int itemid)"}, - { (char *)"SoQtPopupMenu_removeRadioGroupItem", _wrap_SoQtPopupMenu_removeRadioGroupItem, METH_VARARGS, (char *)"SoQtPopupMenu_removeRadioGroupItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_setRadioGroupMarkedItem", _wrap_SoQtPopupMenu_setRadioGroupMarkedItem, METH_VARARGS, (char *)"SoQtPopupMenu_setRadioGroupMarkedItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_getRadioGroupMarkedItem", _wrap_SoQtPopupMenu_getRadioGroupMarkedItem, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroupMarkedItem(SoQtPopupMenu self, int groupid) -> int"}, - { (char *)"SoQtPopupMenu_addMenuSelectionCallback", _wrap_SoQtPopupMenu_addMenuSelectionCallback, METH_VARARGS, (char *)"\n" - "SoQtPopupMenu_addMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback callback, \n" - " void data)\n" - ""}, - { (char *)"SoQtPopupMenu_removeMenuSelectionCallback", _wrap_SoQtPopupMenu_removeMenuSelectionCallback, METH_VARARGS, (char *)"\n" - "SoQtPopupMenu_removeMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback callback, \n" - " void data)\n" - ""}, - { (char *)"SoQtPopupMenu_swigregister", SoQtPopupMenu_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtCursor_initClass", _wrap_SoQtCursor_initClass, METH_VARARGS, (char *)"SoQtCursor_initClass()"}, - { (char *)"new_SoQtCursor", _wrap_new_SoQtCursor, METH_VARARGS, (char *)"\n" - "SoQtCursor()\n" - "SoQtCursor(Shape shape)\n" - "SoQtCursor(CustomCursor cc)\n" - "new_SoQtCursor(SoQtCursor cursor) -> SoQtCursor\n" - ""}, - { (char *)"delete_SoQtCursor", _wrap_delete_SoQtCursor, METH_VARARGS, (char *)"delete_SoQtCursor(SoQtCursor self)"}, - { (char *)"SoQtCursor_getShape", _wrap_SoQtCursor_getShape, METH_VARARGS, (char *)"SoQtCursor_getShape(SoQtCursor self) -> Shape"}, - { (char *)"SoQtCursor_setShape", _wrap_SoQtCursor_setShape, METH_VARARGS, (char *)"SoQtCursor_setShape(SoQtCursor self, Shape shape)"}, - { (char *)"SoQtCursor_getCustomCursor", _wrap_SoQtCursor_getCustomCursor, METH_VARARGS, (char *)"SoQtCursor_getCustomCursor(SoQtCursor self) -> CustomCursor"}, - { (char *)"SoQtCursor_getZoomCursor", _wrap_SoQtCursor_getZoomCursor, METH_VARARGS, (char *)"SoQtCursor_getZoomCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getPanCursor", _wrap_SoQtCursor_getPanCursor, METH_VARARGS, (char *)"SoQtCursor_getPanCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getRotateCursor", _wrap_SoQtCursor_getRotateCursor, METH_VARARGS, (char *)"SoQtCursor_getRotateCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getBlankCursor", _wrap_SoQtCursor_getBlankCursor, METH_VARARGS, (char *)"SoQtCursor_getBlankCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_swigregister", SoQtCursor_swigregister, METH_VARARGS, NULL}, - { NULL, NULL, 0, NULL } -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ - -static void *_p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoNodeKitPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoFullPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoNodeKitPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoFullPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_SoTempPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) (SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoFullPathTo_p_SoPath(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoPath *) ((SoFullPath *) x)); -} -static void *_p_charpTo_p_char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char *) ((charp *) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_p_charpTo_p_p_char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char **) ((charp **) x)); -} -static void *_p_SoExtSelectionTo_p_SoSelection(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoDebugErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoDebugError *) x)); -} -static void *_p_SoReadErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoReadError *) x)); -} -static void *_p_SoMemoryErrorTo_p_SoError(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoError *) ((SoMemoryError *) x)); -} -static void *_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4fTo_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)) ((SbColor4f &(*)(void *,SbVec3f const &,SbVec3f const &)) x)); -} -static void *_p_SoQtKeyboardTo_p_SoQtDevice(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtDevice *) ((SoQtKeyboard *) x)); -} -static void *_p_SoQtMouseTo_p_SoQtDevice(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtDevice *) ((SoQtMouse *) x)); -} -static void *_p_SbColor4fTo_p_SbVec4f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec4f *) ((SbColor4f *) x)); -} -static void *_p_f_char__charpTo_p_f_char__char(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((char (*)(char)) ((charp (*)(char)) x)); -} -static void *_p_SoElapsedTimeTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoCounterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoCalculatorTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoGateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoGate *) x)); -} -static void *_p_SoInterpolateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoSelectOneTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoConcatenateTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoFieldConverterTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoOneShotTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoBoolOperationTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoOnOffTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoEngine(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtGLWidget(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoSFVec4sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4s *) x)); -} -static void *_p_SoSFNameTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFName *) x)); -} -static void *_p_SoSFVec4i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4i32 *) x)); -} -static void *_p_SoSFFloatTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec3sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoSFVec4ui32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4ui32 *) x)); -} -static void *_p_SoSFTimeTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFDoubleTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFDouble *) x)); -} -static void *_p_SoSFVec2sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFBox3dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3d *) x)); -} -static void *_p_SoSFEnumTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFBox3fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3f *) x)); -} -static void *_p_SoSFColorTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoSFRotationTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) (SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFPathTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFVec3i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3i32 *) x)); -} -static void *_p_SoSFPlaneTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFBox2dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2d *) x)); -} -static void *_p_SoSFStringTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFString *) x)); -} -static void *_p_SoSFBox2fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2f *) x)); -} -static void *_p_SoSFVec4ubTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4ub *) x)); -} -static void *_p_SoSFBox3i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3i32 *) x)); -} -static void *_p_SoSFVec4bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4b *) x)); -} -static void *_p_SoSFVec4dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4d *) x)); -} -static void *_p_SoSFEngineTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFVec4fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFUInt32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFVec3bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3b *) x)); -} -static void *_p_SoSFNodeTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFImage3To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFMatrixTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoSFTriggerTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec3dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoSFImageTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFUShortTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec3fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFVec2i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2i32 *) x)); -} -static void *_p_SoSFVec2bTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2b *) x)); -} -static void *_p_SoSFBox2sTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2s *) x)); -} -static void *_p_SoSFInt32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoSFColorRGBATo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFColorRGBA *) x)); -} -static void *_p_SoSFVec2dTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2d *) x)); -} -static void *_p_SoSFBox2i32To_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBox2i32 *) x)); -} -static void *_p_SoSFVec2fTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoSFBoolTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFShortTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoSFVec4usTo_p_SoSField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoSField *) ((SoSFVec4us *) x)); -} -static void *_p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SbString const &,SbImage *,void *)) ((intp (*)(SbString const &,SbImage *,void *)) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoGLRenderAction(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_intpTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int *) ((intp *) x)); -} -static void *_p_SoQtComponentTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) ((SoQtComponent *) x)); -} -static void *_p_SoQtKeyboardTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtDevice *) ((SoQtKeyboard *) x)); -} -static void *_p_SoQtMouseTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtDevice *) ((SoQtMouse *) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtGLWidgetTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *) ((SoQtGLWidget *) x)); -} -static void *_p_SoQtDeviceTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) ((SoQtDevice *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_a_4__a_4__floatpTo_p_a_4__a_4__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)[4][4]) ((floatp (*)[4][4]) x)); -} -static void *_p_f_p_void_p_SoGLRenderAction__floatpTo_p_f_p_void_p_SoGLRenderAction__float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float (*)(void *,SoGLRenderAction *)) ((floatp (*)(void *,SoGLRenderAction *)) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtViewer *) (SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtFullViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtFullViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtFullViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtFullViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtFullViewer *) (SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtConstrainedViewer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoMotion3EventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoMotion3Event *) x)); -} -static void *_p_SoButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoButtonEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoLocation2EventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) ((SoLocation2Event *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_SoClipPlaneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) ((SoPath *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoExtSelectionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoFullPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *) ((SoFullPath *) x)); -} -static void *_p_SoLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_SoConeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoFieldContainerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) ((SoFieldContainer *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoTempPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *)(SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoPickStyleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoTimeCounterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoCounterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoQuadMeshTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoInfo *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoBase(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoClipPlaneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoExtSelectionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoTexture2ConvertTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTexture2Convert *) x)); -} -static void *_p_SoConeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoHeightMapToNormalMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoTexture2Convert *) ((SoHeightMapToNormalMap *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoCounterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoPathSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoFieldContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoSFImage3To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoMFShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoSFShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoMFInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoSFInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoMFUShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoSFUShortTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec4ubTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4ub *) x)); -} -static void *_p_SoMFVec4ubTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4ub *) x)); -} -static void *_p_SoMFUInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoSFUInt32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFBox2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2d *) x)); -} -static void *_p_SoSFVec4bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4b *) x)); -} -static void *_p_SoMFVec4bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4b *) x)); -} -static void *_p_SoSFBox2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2f *) x)); -} -static void *_p_SoSFVec4dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4d *) x)); -} -static void *_p_SoMFVec4dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4d *) x)); -} -static void *_p_SoSFVec4fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoMFVec4fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoSFMatrixTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoMFMatrixTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoSFTimeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFVec4usTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4us *) x)); -} -static void *_p_SoSFVec4i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4i32 *) x)); -} -static void *_p_SoMFVec4usTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4us *) x)); -} -static void *_p_SoMFVec4i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4i32 *) x)); -} -static void *_p_SoSFPathTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFBox2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2s *) x)); -} -static void *_p_SoSFVec2bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2b *) x)); -} -static void *_p_SoMFVec2bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2b *) x)); -} -static void *_p_SoSFBox3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3i32 *) x)); -} -static void *_p_SoSFVec2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2d *) x)); -} -static void *_p_SoMFDoubleTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFDouble *) x)); -} -static void *_p_SoSFDoubleTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFDouble *) x)); -} -static void *_p_SoSFVec4sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4s *) x)); -} -static void *_p_SoMFVec2dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2d *) x)); -} -static void *_p_SoMFVec4sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4s *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *)(SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *)(SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFRotationTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoMFRotationTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoSFVec2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoMFVec2fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFTimeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFPathTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoMFEngineTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoSFEngineTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFieldTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) ((SoSField *) x)); -} -static void *_p_SoSFVec3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3i32 *) x)); -} -static void *_p_SoMFVec3i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3i32 *) x)); -} -static void *_p_SoSFTriggerTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFBox3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3d *) x)); -} -static void *_p_SoMFColorRGBATo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFColorRGBA *) x)); -} -static void *_p_SoSFColorRGBATo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFColorRGBA *) x)); -} -static void *_p_SoSFVec2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoMFVec2sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2s *) x)); -} -static void *_p_SoSFBox2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox2i32 *) x)); -} -static void *_p_SoMFPlaneTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoSFPlaneTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFBox3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3f *) x)); -} -static void *_p_SoMFColorTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoSFColorTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoMFieldTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) ((SoMField *) x)); -} -static void *_p_SoSFEnumTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFNodeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFVec2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2i32 *) x)); -} -static void *_p_SoSFImageTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoMFVec2i32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2i32 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFVec3bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3b *) x)); -} -static void *_p_SoMFVec3bTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3b *) x)); -} -static void *_p_SoSFVec3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoMFVec3dTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFEnumTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoSFVec3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoMFVec3fTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoSFBoolTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoMFNodeTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoSFFloatTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoMFFloatTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoSFStringTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFString *) x)); -} -static void *_p_SoMFStringTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFString *) x)); -} -static void *_p_SoSFNameTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFName *) x)); -} -static void *_p_SoMFBoolTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoSFVec3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoMFVec3sTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3s *) x)); -} -static void *_p_SoMFNameTo_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFName *) x)); -} -static void *_p_SoSFVec4ui32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4ui32 *) x)); -} -static void *_p_SoMFVec4ui32To_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4ui32 *) x)); -} -static void *_p_p_SoSFImage3To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFImage3 **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFShort **) x)); -} -static void *_p_p_SoSFShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFShort **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFInt32 **) x)); -} -static void *_p_p_SoSFInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFInt32 **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFUShort **) x)); -} -static void *_p_p_SoSFUShortTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFUShort **) x)); -} -static void *_p_p_SoSFVec4ubTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4ub **) x)); -} -static void *_p_p_SoMFVec4ubTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4ub **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoSFUInt32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFUInt32 **) x)); -} -static void *_p_p_SoSFBox2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2d **) x)); -} -static void *_p_p_SoSFVec4bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4b **) x)); -} -static void *_p_p_SoMFVec4bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4b **) x)); -} -static void *_p_p_SoSFBox2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2f **) x)); -} -static void *_p_p_SoSFVec4dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4d **) x)); -} -static void *_p_p_SoMFVec4dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4d **) x)); -} -static void *_p_p_SoSFVec4fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4f **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4f **) x)); -} -static void *_p_p_SoSFMatrixTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFMatrix **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFMatrix **) x)); -} -static void *_p_p_SoSFTimeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFTime **) x)); -} -static void *_p_p_SoSFVec4usTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4us **) x)); -} -static void *_p_p_SoSFVec4i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4i32 **) x)); -} -static void *_p_p_SoMFVec4usTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4us **) x)); -} -static void *_p_p_SoMFVec4i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4i32 **) x)); -} -static void *_p_p_SoSFPathTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFPath **) x)); -} -static void *_p_p_SoSFBox2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2s **) x)); -} -static void *_p_p_SoSFVec2bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2b **) x)); -} -static void *_p_p_SoMFVec2bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2b **) x)); -} -static void *_p_p_SoSFBox3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3i32 **) x)); -} -static void *_p_p_SoSFVec2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2d **) x)); -} -static void *_p_p_SoMFDoubleTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFDouble **) x)); -} -static void *_p_p_SoSFDoubleTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFDouble **) x)); -} -static void *_p_p_SoSFVec4sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4s **) x)); -} -static void *_p_p_SoMFVec2dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2d **) x)); -} -static void *_p_p_SoMFVec4sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4s **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *)(SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoSFBitMaskTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *)(SoSFEnum *) ((SoSFBitMask **) x)); -} -static void *_p_p_SoSFRotationTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFRotation **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFRotation **) x)); -} -static void *_p_p_SoSFVec2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2f **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2f **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFTime **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFPath **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFEngine **) x)); -} -static void *_p_p_SoSFEngineTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFEngine **) x)); -} -static void *_p_p_SoSFieldTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) ((SoSField **) x)); -} -static void *_p_p_SoSFVec3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3i32 **) x)); -} -static void *_p_p_SoMFVec3i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3i32 **) x)); -} -static void *_p_p_SoSFTriggerTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFTrigger **) x)); -} -static void *_p_p_SoSFBox3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3d **) x)); -} -static void *_p_p_SoMFColorRGBATo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFColorRGBA **) x)); -} -static void *_p_p_SoSFColorRGBATo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFColorRGBA **) x)); -} -static void *_p_p_SoSFVec2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2s **) x)); -} -static void *_p_p_SoMFVec2sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2s **) x)); -} -static void *_p_p_SoSFBox2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox2i32 **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFPlane **) x)); -} -static void *_p_p_SoSFPlaneTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFPlane **) x)); -} -static void *_p_p_SoSFBox3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3f **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFColor **) x)); -} -static void *_p_p_SoSFColorTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFColor **) x)); -} -static void *_p_p_SoMFieldTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) ((SoMField **) x)); -} -static void *_p_p_SoSFEnumTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFEnum **) x)); -} -static void *_p_p_SoSFNodeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFNode **) x)); -} -static void *_p_p_SoSFVec2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2i32 **) x)); -} -static void *_p_p_SoSFImageTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFImage **) x)); -} -static void *_p_p_SoMFVec2i32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2i32 **) x)); -} -static void *_p_p_SoSFBox3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3s **) x)); -} -static void *_p_p_SoSFVec3bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3b **) x)); -} -static void *_p_p_SoMFVec3bTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3b **) x)); -} -static void *_p_p_SoSFVec3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3d **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3d **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFEnum **) x)); -} -static void *_p_p_SoSFVec3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3f **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3f **) x)); -} -static void *_p_p_SoSFBoolTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFBool **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFNode **) x)); -} -static void *_p_p_SoSFFloatTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFFloat **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFFloat **) x)); -} -static void *_p_p_SoSFStringTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFString **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFString **) x)); -} -static void *_p_p_SoSFNameTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFName **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFBool **) x)); -} -static void *_p_p_SoSFVec3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3s **) x)); -} -static void *_p_p_SoMFVec3sTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3s **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFName **) x)); -} -static void *_p_p_SoSFVec4ui32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4ui32 **) x)); -} -static void *_p_p_SoMFVec4ui32To_p_p_SoField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4ui32 **) x)); -} -static void *_p_floatpTo_p_float(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((float *) ((floatp *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoCamera(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_longpTo_p_long(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((long *) ((longp *) x)); -} -static void *_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(SbString const &,void *,SoVRMLImageTexture *)) ((intp (*)(SbString const &,void *,SoVRMLImageTexture *)) x)); -} -static void *_p_SoAuditorListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoAuditorList *) x)); -} -static void *_p_SoPickedPointListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoPickedPointList *) x)); -} -static void *_p_SbIntListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbIntList *) x)); -} -static void *_p_SoTypeListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoTypeList *) x)); -} -static void *_p_SoPathListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SbVec3fListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbVec3fList *) x)); -} -static void *_p_SoBaseListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoBaseList *) x)); -} -static void *_p_SoEngineOutputListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoEngineOutputList *) x)); -} -static void *_p_SoChildListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *)(SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoFieldListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoFieldList *) x)); -} -static void *_p_SoNodeListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SbStringListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SbStringList *) x)); -} -static void *_p_SoActionMethodListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoActionMethodList *) x)); -} -static void *_p_SoEngineListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) (SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoDetailListTo_p_SbPList(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbPList *) ((SoDetailList *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) (SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtRenderArea(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtGLWidgetTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) ((SoQtGLWidget *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtComponent(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoClipPlaneTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoShaderParameter4fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4f *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoVertexAttributeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexAttribute *) x)); -} -static void *_p_SoBaseKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoShaderParameter4iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter4i *) x)); -} -static void *_p_SoComplexityTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoShaderParameterArray3fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3f *) x)); -} -static void *_p_SoLightModelTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoShaderParameterArray3iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray3i *) x)); -} -static void *_p_SoUnitsTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoRotationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoAnnotationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoLinearProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfile *) x)); -} -static void *_p_SoVRMLParentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoDepthBufferTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoDepthBuffer *) x)); -} -static void *_p_SoAsciiTextTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoShaderParameterMatrixArrayTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrixArray *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoResetTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoTextureMatrixTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureMatrixTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoIndexedPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedPointSet *) x)); -} -static void *_p_SoPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoShaderParameterArray4fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4f *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoShaderObjectTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderObject *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoIndexedMarkerSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *)(SoIndexedPointSet *) ((SoIndexedMarkerSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoShaderParameterArray4iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray4i *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoAntiSquishTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoListener *) x)); -} -static void *_p_SoConeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoImage *) x)); -} -static void *_p_SoTextureCubeMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTextureCubeMap *) x)); -} -static void *_p_SoSceneTextureCubeMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoSceneTextureCubeMap *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoEventCallbackTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCallback *) x)); -} -static void *_p_SoTextureCoordinateObjectTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateObject *) x)); -} -static void *_p_SoJackManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoFrustumCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoFrustumCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoShaderParameter1fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1f *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoEnvironmentTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoShaderParameter1iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter1i *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTextureCoordinateNormalMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateNormalMap *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoShaderProgramTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderProgram *) x)); -} -static void *_p_SoTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTexture *) x)); -} -static void *_p_SoCacheHintTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCacheHint *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoPendulumTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoSceneKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoFragmentShaderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderObject *) ((SoFragmentShader *) x)); -} -static void *_p_SoVertexShaderTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderObject *) ((SoVertexShader *) x)); -} -static void *_p_SoShapeHintsTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTexture *) ((SoTexture3 *) x)); -} -static void *_p_SoShaderParameter2fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2f *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoShaderParameterMatrixTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterMatrix *) x)); -} -static void *_p_SoTextureCoordinateReflectionMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateReflectionMap *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoShaderParameter2iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter2i *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoShaderParameterArray1fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1f *) x)); -} -static void *_p_SoInteractionKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoCoordinate3To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoShaderParameterArray1iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray1i *) x)); -} -static void *_p_SoVRMLLODTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *) ((SoCube *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoInfo *) x)); -} -static void *_p_SoVertexAttributeBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVertexAttributeBinding *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoSwitchTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoTranslationTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoNormal *) x)); -} -static void *_p_SoShaderParameter3fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3f *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoShaderParameter3iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameter3i *) x)); -} -static void *_p_SoWrapperKitTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShaderParameterArray2fTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2f *) x)); -} -static void *_p_SoScaleTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoShaderParameterArray2iTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderParameterArray2i *) x)); -} -static void *_p_SoLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoShaderParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoShaderParameter *) x)); -} -static void *_p_SoUniformShaderParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *) ((SoUniformShaderParameter *) x)); -} -static void *_p_SoShaderStateMatrixParameterTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoShaderParameter *)(SoUniformShaderParameter *) ((SoShaderStateMatrixParameter *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoProto *) x)); -} -static void *_p_SoCenterballManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoNode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoNode *) (SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoMFVec4sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4s *) x)); -} -static void *_p_SoMFVec4i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4i32 *) x)); -} -static void *_p_SoMFEnumTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFVec3sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3s *) x)); -} -static void *_p_SoMFFloatTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoMFVec4ui32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4ui32 *) x)); -} -static void *_p_SoMFPathTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoMFDoubleTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFDouble *) x)); -} -static void *_p_SoMFVec2sTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2s *) x)); -} -static void *_p_SoMFColorTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFRotationTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) (SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoMFVec3i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3i32 *) x)); -} -static void *_p_SoMFPlaneTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFNodeTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoMFStringTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFString *) x)); -} -static void *_p_SoMFVec4ubTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4ub *) x)); -} -static void *_p_SoMFVec4bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4b *) x)); -} -static void *_p_SoMFVec4dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4d *) x)); -} -static void *_p_SoMFEngineTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoMFVec4fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoMFVec3bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3b *) x)); -} -static void *_p_SoMFUInt32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFBoolTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoMFMatrixTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoMFVec3dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFUShortTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFVec2i32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2i32 *) x)); -} -static void *_p_SoMFNameTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFVec3fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoMFVec2bTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2b *) x)); -} -static void *_p_SoMFInt32To_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFVec2dTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2d *) x)); -} -static void *_p_SoMFColorRGBATo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFColorRGBA *) x)); -} -static void *_p_SoMFTimeTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFVec2fTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFShortTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoMFVec4usTo_p_SoMField(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoMField *) ((SoMFVec4us *) x)); -} -static void *_p_a_4__a_4__doublepTo_p_a_4__a_4__double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double (*)[4][4]) ((doublep (*)[4][4]) x)); -} -static void *_p_doublepTo_p_double(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((double *) ((doublep *) x)); -} -static void *_p_SbColorTo_p_SbVec3f(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SbVec3f *) ((SbColor *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoDirectionalLight(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_f_p_void_p_QEvent__intpTo_p_f_p_void_p_QEvent__int(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((int (*)(void *,QEvent *)) ((intp (*)(void *,QEvent *)) x)); -} -static swig_type_info _swigt__p_AttributeApplyFunc = {"_p_AttributeApplyFunc", "AttributeApplyFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ContextDestructionCB = {"_p_ContextDestructionCB", "ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_CustomCursor = {"_p_CustomCursor", "CustomCursor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FatalErrorCB = {"_p_FatalErrorCB", "FatalErrorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_Key = {"_p_Key", "Key *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProgressCallbackType = {"_p_ProgressCallbackType", "ProgressCallbackType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_QEvent = {"_p_QEvent", "QEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_QWidget = {"_p_QWidget", "QWidget *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor = {"_p_SbColor", "SbColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor4f = {"_p_SbColor4f", "SbColorRGBA *|SbColor4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDict = {"_p_SbDict", "SbDict *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictApplyDataFunc = {"_p_SbDictApplyDataFunc", "SbDictApplyDataFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictApplyFunc = {"_p_SbDictApplyFunc", "SbDictApplyFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDictHashingFunc = {"_p_SbDictHashingFunc", "SbDictHashingFunc *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbIntList = {"_p_SbIntList", "SbIntList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMatrix = {"_p_SbMatrix", "SbMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbName = {"_p_SbName", "SbName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPList = {"_p_SbPList", "SbPList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAuditorList = {"_p_SoAuditorList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPickedPointList = {"_p_SoPickedPointList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbVec3fList = {"_p_SbVec3fList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPathList = {"_p_SoPathList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseList = {"_p_SoBaseList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEngineOutputList = {"_p_SoEngineOutputList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoChildList = {"_p_SoChildList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeList = {"_p_SoNodeList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbStringList = {"_p_SbStringList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoActionMethodList = {"_p_SoActionMethodList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEngineList = {"_p_SoEngineList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDetailList = {"_p_SoDetailList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbPlane = {"_p_SbPlane", "SbPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRotation = {"_p_SbRotation", "SbRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbString = {"_p_SbString", "SbString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTime = {"_p_SbTime", "SbTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2b = {"_p_SbVec2b", "SbVec2b *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2d = {"_p_SbVec2d", "SbVec2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2f = {"_p_SbVec2f", "SbVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2i32 = {"_p_SbVec2i32", "SbVec2i32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2s = {"_p_SbVec2s", "SbVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2us = {"_p_SbVec2us", "SbVec2us *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3d = {"_p_SbVec3d", "SbVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3f = {"_p_SbVec3f", "SbVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4f = {"_p_SbVec4f", "SbVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewportRegion = {"_p_SbViewportRegion", "SbViewportRegion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBase = {"_p_SoBase", "SoBase *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlane = {"_p_SoClipPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinate = {"_p_SoBumpMapCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinate = {"_p_SoVRMLCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureCoordinate = {"_p_SoVRMLTextureCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCombine = {"_p_SoTextureCombine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLightKit = {"_p_SoLightKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedTriangleStripSet = {"_p_SoIndexedTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTriangleStripSet = {"_p_SoTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter4f = {"_p_SoShaderParameter4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLExtrusion = {"_p_SoVRMLExtrusion", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOnOff = {"_p_SoOnOff", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexAttribute = {"_p_SoVertexAttribute", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseKit = {"_p_SoBaseKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter4i = {"_p_SoShaderParameter4i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoExtSelection = {"_p_SoExtSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexProperty = {"_p_SoVertexProperty", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotationXYZ = {"_p_SoRotationXYZ", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComplexity = {"_p_SoComplexity", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBillboard = {"_p_SoVRMLBillboard", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray3f = {"_p_SoShaderParameterArray3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLightModel = {"_p_SoLightModel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray3i = {"_p_SoShaderParameterArray3i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoUnits = {"_p_SoUnits", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShapeKit = {"_p_SoShapeKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotation = {"_p_SoRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAnnotation = {"_p_SoAnnotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeRotation = {"_p_SoComposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeRotation = {"_p_SoDecomposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateRotation = {"_p_SoInterpolateRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsSurface = {"_p_SoNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsSurface = {"_p_SoIndexedNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfile = {"_p_SoProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLinearProfile = {"_p_SoLinearProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsProfile = {"_p_SoNurbsProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFieldConverter = {"_p_SoFieldConverter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLParent = {"_p_SoVRMLParent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec2f = {"_p_SoInterpolateVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLLight = {"_p_SoVRMLLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoClipPlaneManip = {"_p_SoClipPlaneManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDepthBuffer = {"_p_SoDepthBuffer", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAsciiText = {"_p_SoAsciiText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLGeometry = {"_p_SoVRMLGeometry", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterMatrixArray = {"_p_SoShaderParameterMatrixArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCylinder = {"_p_SoCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCylinder = {"_p_SoTextureCoordinateCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinder = {"_p_SoVRMLCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNavigationInfo = {"_p_SoVRMLNavigationInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComputeBoundingBox = {"_p_SoComputeBoundingBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMatrixTransform = {"_p_SoMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMapTransform = {"_p_SoBumpMapTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransform = {"_p_SoTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoResetTransform = {"_p_SoResetTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture2Transform = {"_p_SoTexture2Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture3Transform = {"_p_SoTexture3Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureMatrixTransform = {"_p_SoTextureMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureTransform = {"_p_SoVRMLTextureTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTransform = {"_p_SoVRMLTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec3f = {"_p_SoComposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec3f = {"_p_SoDecomposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSeparatorKit = {"_p_SoSeparatorKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexLine = {"_p_SoVRMLVertexLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFullPath = {"_p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLight = {"_p_SoLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSound = {"_p_SoVRMLSound", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeEngine = {"_p_SoNodeEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedPointSet = {"_p_SoIndexedPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointSet = {"_p_SoPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPointSet = {"_p_SoVRMLPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMaterial = {"_p_SoMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLMaterial = {"_p_SoVRMLMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseColor = {"_p_SoBaseColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTriggerAny = {"_p_SoTriggerAny", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoColorIndex = {"_p_SoColorIndex", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLColor = {"_p_SoVRMLColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLWorldInfo = {"_p_SoVRMLWorldInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLight = {"_p_SoSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSpotLight = {"_p_SoVRMLSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateDefault = {"_p_SoTextureCoordinateDefault", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBlinker = {"_p_SoBlinker", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShuttle = {"_p_SoShuttle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLGroup = {"_p_SoVRMLGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray4f = {"_p_SoShaderParameterArray4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderObject = {"_p_SoShaderObject", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAnchor = {"_p_SoVRMLAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSensor = {"_p_SoVRMLSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinderSensor = {"_p_SoVRMLCylinderSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTouchSensor = {"_p_SoVRMLTouchSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBoolOperation = {"_p_SoBoolOperation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMarkerSet = {"_p_SoMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedMarkerSet = {"_p_SoIndexedMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray4i = {"_p_SoShaderParameterArray4i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLightManip = {"_p_SoSpotLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLightManip = {"_p_SoPointLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightManip = {"_p_SoDirectionalLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsCurve = {"_p_SoIndexedNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsCurve = {"_p_SoNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedShape = {"_p_SoIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNonIndexedShape = {"_p_SoNonIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedShape = {"_p_SoVRMLIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotor = {"_p_SoRotor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCube = {"_p_SoTextureCoordinateCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLText = {"_p_SoVRMLText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOneShot = {"_p_SoOneShot", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformerManip = {"_p_SoTransformerManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec3f = {"_p_SoInterpolateVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateFloat = {"_p_SoInterpolateFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAntiSquish = {"_p_SoAntiSquish", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoGroup = {"_p_SoGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMultipleCopy = {"_p_SoMultipleCopy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoListener = {"_p_SoListener", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec4f = {"_p_SoComposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec4f = {"_p_SoDecomposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture2Convert = {"_p_SoTexture2Convert", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformation = {"_p_SoTransformation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFontStyle = {"_p_SoFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLFontStyle = {"_p_SoVRMLFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoImage = {"_p_SoImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAppearance = {"_p_SoVRMLAppearance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCubeMap = {"_p_SoTextureCubeMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSceneTextureCubeMap = {"_p_SoSceneTextureCubeMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLight = {"_p_SoPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPointLight = {"_p_SoVRMLPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformManip = {"_p_SoTransformManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPolygonOffset = {"_p_SoPolygonOffset", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBackground = {"_p_SoVRMLBackground", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWWWAnchor = {"_p_SoWWWAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEventCallback = {"_p_SoEventCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCallback = {"_p_SoCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateObject = {"_p_SoTextureCoordinateObject", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLDragSensor = {"_p_SoVRMLDragSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPlaneSensor = {"_p_SoVRMLPlaneSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLProximitySensor = {"_p_SoVRMLProximitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSphereSensor = {"_p_SoVRMLSphereSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTimeSensor = {"_p_SoVRMLTimeSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVisibilitySensor = {"_p_SoVRMLVisibilitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoJackManip = {"_p_SoJackManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPerspectiveCamera = {"_p_SoPerspectiveCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOrthographicCamera = {"_p_SoOrthographicCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFrustumCamera = {"_p_SoFrustumCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCameraKit = {"_p_SoCameraKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoArray = {"_p_SoArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter1f = {"_p_SoShaderParameter1f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoElapsedTime = {"_p_SoElapsedTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSphere = {"_p_SoVRMLSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateEnvironment = {"_p_SoTextureCoordinateEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEnvironment = {"_p_SoEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSelectOne = {"_p_SoSelectOne", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDrawStyle = {"_p_SoDrawStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter1i = {"_p_SoShaderParameter1i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBox = {"_p_SoVRMLBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoHeightMapToNormalMap = {"_p_SoHeightMapToNormalMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateNormalMap = {"_p_SoTextureCoordinateNormalMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransparencyType = {"_p_SoTransparencyType", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLFog = {"_p_SoVRMLFog", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec4f = {"_p_SoInterpolateVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoConcatenate = {"_p_SoConcatenate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSurroundScale = {"_p_SoSurroundScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexShape = {"_p_SoVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexShape = {"_p_SoVRMLVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCone = {"_p_SoCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureUnit = {"_p_SoTextureUnit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTempPath = {"_p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFile = {"_p_SoFile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAppearanceKit = {"_p_SoAppearanceKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLightDragger = {"_p_SoSpotLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScaleUniformDragger = {"_p_SoScaleUniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale2UniformDragger = {"_p_SoScale2UniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale2Dragger = {"_p_SoScale2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale1Dragger = {"_p_SoScale1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateSphericalDragger = {"_p_SoRotateSphericalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateDiscDragger = {"_p_SoRotateDiscDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateCylindricalDragger = {"_p_SoRotateCylindricalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLightDragger = {"_p_SoPointLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoJackDragger = {"_p_SoJackDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoHandleBoxDragger = {"_p_SoHandleBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDragPointDragger = {"_p_SoDragPointDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightDragger = {"_p_SoDirectionalLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCenterballDragger = {"_p_SoCenterballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDragger = {"_p_SoDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabBoxDragger = {"_p_SoTabBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabPlaneDragger = {"_p_SoTabPlaneDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTrackballDragger = {"_p_SoTrackballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformBoxDragger = {"_p_SoTransformBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformerDragger = {"_p_SoTransformerDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslate1Dragger = {"_p_SoTranslate1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslate2Dragger = {"_p_SoTranslate2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPickStyle = {"_p_SoPickStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLInterpolator = {"_p_SoVRMLInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLColorInterpolator = {"_p_SoVRMLColorInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinateInterpolator = {"_p_SoVRMLCoordinateInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNormalInterpolator = {"_p_SoVRMLNormalInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLOrientationInterpolator = {"_p_SoVRMLOrientationInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPositionInterpolator = {"_p_SoVRMLPositionInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLScalarInterpolator = {"_p_SoVRMLScalarInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCone = {"_p_SoVRMLCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLine = {"_p_SoVRMLIndexedLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderProgram = {"_p_SoShaderProgram", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture = {"_p_SoTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCacheHint = {"_p_SoCacheHint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTexture = {"_p_SoVRMLTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLImageTexture = {"_p_SoVRMLImageTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLMovieTexture = {"_p_SoVRMLMovieTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPixelTexture = {"_p_SoVRMLPixelTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformVec3f = {"_p_SoTransformVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateFunction = {"_p_SoTextureCoordinateFunction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeKitListPart = {"_p_SoNodeKitListPart", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSphere = {"_p_SoSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateSphere = {"_p_SoTextureCoordinateSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSceneKit = {"_p_SoSceneKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPendulum = {"_p_SoPendulum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFragmentShader = {"_p_SoFragmentShader", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexShader = {"_p_SoVertexShader", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShapeHints = {"_p_SoShapeHints", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture2 = {"_p_SoTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSceneTexture2 = {"_p_SoSceneTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture3 = {"_p_SoTexture3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter2f = {"_p_SoShaderParameter2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinatePlane = {"_p_SoTextureCoordinatePlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterMatrix = {"_p_SoShaderParameterMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateReflectionMap = {"_p_SoTextureCoordinateReflectionMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAudioClip = {"_p_SoVRMLAudioClip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTimeCounter = {"_p_SoTimeCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCounter = {"_p_SoCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoQuadMesh = {"_p_SoQuadMesh", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPathSwitch = {"_p_SoPathSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter2i = {"_p_SoShaderParameter2i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSwitch = {"_p_SoVRMLSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoText2 = {"_p_SoText2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSeparator = {"_p_SoSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoText3 = {"_p_SoText3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformSeparator = {"_p_SoTransformSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray1f = {"_p_SoShaderParameterArray1f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInteractionKit = {"_p_SoInteractionKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMap = {"_p_SoBumpMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate2 = {"_p_SoProfileCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate2 = {"_p_SoTextureCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNormal = {"_p_SoVRMLNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCoordinate3 = {"_p_SoCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate3 = {"_p_SoProfileCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate3 = {"_p_SoTextureCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCoordinate4 = {"_p_SoCoordinate4", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray1i = {"_p_SoShaderParameterArray1i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLLOD = {"_p_SoVRMLLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFont = {"_p_SoFont", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeRotationFromTo = {"_p_SoComposeRotationFromTo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLocateHighlight = {"_p_SoLocateHighlight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLElevationGrid = {"_p_SoVRMLElevationGrid", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLShape = {"_p_SoVRMLShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexPoint = {"_p_SoVRMLVertexPoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLViewpoint = {"_p_SoVRMLViewpoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMaterialBinding = {"_p_SoMaterialBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNormalBinding = {"_p_SoNormalBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBinding = {"_p_SoTextureCoordinateBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexAttributeBinding = {"_p_SoVertexAttributeBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolate = {"_p_SoInterpolate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformBoxManip = {"_p_SoTransformBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabBoxManip = {"_p_SoTabBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoHandleBoxManip = {"_p_SoHandleBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCollision = {"_p_SoVRMLCollision", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPackedColor = {"_p_SoPackedColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeMatrix = {"_p_SoComposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeMatrix = {"_p_SoDecomposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeKitPath = {"_p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSwitch = {"_p_SoSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedFaceSet = {"_p_SoIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFaceSet = {"_p_SoFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslation = {"_p_SoTranslation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedFaceSet = {"_p_SoVRMLIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShape = {"_p_SoShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureScalePolicy = {"_p_SoTextureScalePolicy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLScript = {"_p_SoVRMLScript", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNormal = {"_p_SoNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter3f = {"_p_SoShaderParameter3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLInline = {"_p_SoVRMLInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCalculator = {"_p_SoCalculator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter3i = {"_p_SoShaderParameter3i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCube = {"_p_SoCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWrapperKit = {"_p_SoWrapperKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoGate = {"_p_SoGate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray2f = {"_p_SoShaderParameterArray2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale = {"_p_SoScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameterArray2i = {"_p_SoShaderParameterArray2i", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLineSet = {"_p_SoLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedLineSet = {"_p_SoIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLabel = {"_p_SoLabel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLineSet = {"_p_SoVRMLIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProtoInstance = {"_p_SoProtoInstance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInfo = {"_p_SoInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderParameter = {"_p_SoShaderParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoUniformShaderParameter = {"_p_SoUniformShaderParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShaderStateMatrixParameter = {"_p_SoShaderStateMatrixParameter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec2f = {"_p_SoDecomposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec2f = {"_p_SoComposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLDirectionalLight = {"_p_SoVRMLDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProto = {"_p_SoProto", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCenterballManip = {"_p_SoCenterballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTrackballManip = {"_p_SoTrackballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWWWInline = {"_p_SoWWWInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLOD = {"_p_SoLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLevelOfDetail = {"_p_SoLevelOfDetail", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCallbackActionCB = {"_p_SoCallbackActionCB", "SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCamera = {"_p_SoCamera", "SoCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDebugError = {"_p_SoDebugError", "SoDebugError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLight = {"_p_SoDirectionalLight", "SoDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngine = {"_p_SoEngine", "SoEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutput = {"_p_SoEngineOutput", "SoEngineOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoError = {"_p_SoError", "SoError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReadError = {"_p_SoReadError", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMemoryError = {"_p_SoMemoryError", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEvent = {"_p_SoEvent", "SoEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMotion3Event = {"_p_SoMotion3Event", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoButtonEvent = {"_p_SoButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMouseButtonEvent = {"_p_SoMouseButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpaceballButtonEvent = {"_p_SoSpaceballButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLocation2Event = {"_p_SoLocation2Event", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoKeyboardEvent = {"_p_SoKeyboardEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoField = {"_p_SoField", "SoField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFImage3 = {"_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFShort = {"_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFShort = {"_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFInt32 = {"_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFInt32 = {"_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFUShort = {"_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFUShort = {"_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4ub = {"_p_SoSFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4ub = {"_p_SoMFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFUInt32 = {"_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFUInt32 = {"_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox2d = {"_p_SoSFBox2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4b = {"_p_SoSFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4b = {"_p_SoMFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox2f = {"_p_SoSFBox2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4d = {"_p_SoSFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4d = {"_p_SoMFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4f = {"_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFMatrix = {"_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFMatrix = {"_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFTime = {"_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4us = {"_p_SoSFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4us = {"_p_SoMFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4i32 = {"_p_SoSFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4i32 = {"_p_SoMFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFPath = {"_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox2s = {"_p_SoSFBox2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2b = {"_p_SoSFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec2b = {"_p_SoMFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox3i32 = {"_p_SoSFBox3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec2d = {"_p_SoMFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2d = {"_p_SoSFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFDouble = {"_p_SoMFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFDouble = {"_p_SoSFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4s = {"_p_SoSFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4s = {"_p_SoMFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFBitMask = {"_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBitMask = {"_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFRotation = {"_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFRotation = {"_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2f = {"_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFTime = {"_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFPath = {"_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFEngine = {"_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFEngine = {"_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec3i32 = {"_p_SoMFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3i32 = {"_p_SoSFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFTrigger = {"_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox3d = {"_p_SoSFBox3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFColorRGBA = {"_p_SoMFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFColorRGBA = {"_p_SoSFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2s = {"_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec2s = {"_p_SoMFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox2i32 = {"_p_SoSFBox2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFPlane = {"_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox3f = {"_p_SoSFBox3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFPlane = {"_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFColor = {"_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFColor = {"_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFEnum = {"_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFNode = {"_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2i32 = {"_p_SoSFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFImage = {"_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec2i32 = {"_p_SoMFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox3s = {"_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3b = {"_p_SoSFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec3b = {"_p_SoMFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3d = {"_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFEnum = {"_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3f = {"_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBool = {"_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFFloat = {"_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFFloat = {"_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFNode = {"_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFString = {"_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFString = {"_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFName = {"_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFBool = {"_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3s = {"_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec3s = {"_p_SoMFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4ui32 = {"_p_SoSFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFVec4ui32 = {"_p_SoMFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFName = {"_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFieldContainer = {"_p_SoFieldContainer", "SoFieldContainer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldList = {"_p_SoFieldList", "SoFieldList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLImageResizeCB = {"_p_SoGLImageResizeCB", "SoGLImageResizeCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAbortCB = {"_p_SoGLRenderAbortCB", "SoGLRenderAbortCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAction = {"_p_SoGLRenderAction", "SoGLRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoxHighlightRenderAction = {"_p_SoBoxHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLineHighlightRenderAction = {"_p_SoLineHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInput = {"_p_SoInput", "SoInput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionCB = {"_p_SoIntersectionCB", "SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionFilterCB = {"_p_SoIntersectionFilterCB", "SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionVisitationCB = {"_p_SoIntersectionVisitationCB", "SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2f = {"_p_SoMFVec2f", "SoMFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3d = {"_p_SoMFVec3d", "SoMFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3f = {"_p_SoMFVec3f", "SoMFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4f = {"_p_SoMFVec4f", "SoMFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMField = {"_p_SoMField", "SoMField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNode = {"_p_SoNode", "SoNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotList = {"_p_SoNotList", "SoNotList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotRec = {"_p_SoNotRec", "SoNotRec *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOutput = {"_p_SoOutput", "SoOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPath = {"_p_SoPath", "SoPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQt = {"_p_SoQt", "SoQt *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtComponent = {"_p_SoQtComponent", "SoQtComponent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtConstrainedViewer = {"_p_SoQtConstrainedViewer", "SoQtConstrainedViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtCursor = {"_p_SoQtCursor", "SoQtCursor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtDevice = {"_p_SoQtDevice", "SoQtDevice *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtExaminerViewer = {"_p_SoQtExaminerViewer", "SoQtExaminerViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtFlyViewer = {"_p_SoQtFlyViewer", "SoQtFlyViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtFullViewer = {"_p_SoQtFullViewer", "SoQtFullViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtGLWidget = {"_p_SoQtGLWidget", "SoQtGLWidget *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtKeyboard = {"_p_SoQtKeyboard", "SoQtKeyboard *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtMouse = {"_p_SoQtMouse", "SoQtMouse *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtObject = {"_p_SoQtObject", "SoQtObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtPlaneViewer = {"_p_SoQtPlaneViewer", "SoQtPlaneViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtPopupMenu = {"_p_SoQtPopupMenu", "SoQtPopupMenu *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtRenderArea = {"_p_SoQtRenderArea", "SoQtRenderArea *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtViewer = {"_p_SoQtViewer", "SoQtViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSField = {"_p_SoSField", "SoSField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneManager = {"_p_SoSceneManager", "SoSceneManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelection = {"_p_SoSelection", "SoSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoType = {"_p_SoType", "SoType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTypeList = {"_p_SoTypeList", "SoTypeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__double = {"_p_a_4__a_4__double", "double (*)[4][4]|SbDPMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__doublep = {"_p_a_4__a_4__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "float (*)[4][4]|SbMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__floatp = {"_p_a_4__a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_cc_glglue = {"_p_cc_glglue", "cc_glue *|cc_glglue *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_charp = {"_p_charp", "charp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_close_func = {"_p_close_func", "close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_doublep = {"_p_doublep", "doublep *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__char = {"_p_f_char__char", "char (*)(char)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__charp = {"_p_f_char__charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_float_p_void_p_SoQtViewer__void = {"_p_f_float_p_void_p_SoQtViewer__void", "void (*)(float,void *,SoQtViewer *)|SoQtViewerFPSCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_int_p_void__void = {"_p_f_int_p_void__void", "SoQtMenuSelectionCallback *|void (*)(int,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void = {"_p_f_p_QWidget_p_void_p_QEvent_p_bool__void", "void (*)(QWidget *,void *,QEvent *,bool *)|SoQtEventHandler *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto = {"_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto", "SoProto *(*)(SoInput *,SbString const *,int const,void *)|SoFetchExternProtoCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_q_const__SoError_p_void__void = {"_p_f_p_q_const__SoError_p_void__void", "SoErrorCB *|void (*)(SoError const *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "SoTexCoordTexgenCB *|void (*)(void *)|SoGLRenderPassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_int__void = {"_p_f_p_void_int__void", "SoQtComponentVisibilityCB *|void (*)(void *,int)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_QEvent__int = {"_p_f_p_void_p_QEvent__int", "int (*)(void *,QEvent *)|SoQtRenderAreaEventCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_QEvent__intp = {"_p_f_p_void_p_QEvent__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_ScXMLStateMachine__void = {"_p_f_p_void_p_ScXMLStateMachine__void", "void (*)(void *,ScXMLStateMachine *)|ScXMLStateMachineDeleteCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void = {"_p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void", "void (*)(void *,ScXMLStateMachine *,char const *,int,int)|ScXMLStateChangeCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoAction__void = {"_p_f_p_void_p_SoAction__void", "SoCallbackCB *|void (*)(void *,SoAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionPointCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void", "SoPointCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionLineSegmentCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "SoLineSegmentCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoExtSelectionTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoDragger__void = {"_p_f_p_void_p_SoDragger__void", "void (*)(void *,SoDragger *)|SoDraggerCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoEventCallback__void = {"_p_f_p_void_p_SoEventCallback__void", "void (*)(void *,SoEventCallback *)|SoEventCallbackCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__float = {"_p_f_p_void_p_SoGLRenderAction__float", "SoGLSortedObjectOrderCB *|float (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__floatp = {"_p_f_p_void_p_SoGLRenderAction__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__void = {"_p_f_p_void_p_SoGLRenderAction__void", "SoGLPreRenderCB *|void (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoInput__void = {"_p_f_p_void_p_SoInput__void", "void (*)(void *,SoInput *)|SoDBHeaderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoPath__void = {"_p_f_p_void_p_SoPath__void", "void (*)(void *,SoPath *)|SoSelectionPathCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoQtComponent__void = {"_p_f_p_void_p_SoQtComponent__void", "void (*)(void *,SoQtComponent *)|SoQtComponentCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoQtViewer__void = {"_p_f_p_void_p_SoQtViewer__void", "SoQtViewerCB *|void (*)(void *,SoQtViewer *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoRenderManager__void = {"_p_f_p_void_p_SoRenderManager__void", "void (*)(void *,SoRenderManager *)|SoRenderManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSceneManager__void = {"_p_f_p_void_p_SoSceneManager__void", "void (*)(void *,SoSceneManager *)|SoSceneManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSelection__void = {"_p_f_p_void_p_SoSelection__void", "void (*)(void *,SoSelection *)|SoSelectionClassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSensor__void = {"_p_f_p_void_p_SoSensor__void", "SoSensorCB *|void (*)(void *,SoSensor *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoState_q_const__int__void = {"_p_f_p_void_p_SoState_q_const__int__void", "SoShaderProgramEnableCB *|void (*)(void *,SoState *,int const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLScript__void = {"_p_f_p_void_p_SoVRMLScript__void", "SoVRMLScriptEvaluateCB *|void (*)(void *,SoVRMLScript *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoPath = {"_p_f_p_void_p_q_const__SoPath__p_SoPath", "SoPath *(*)(void *,SoPath const *)|SoLassoSelectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPath__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPath__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath", "SoPath *(*)(void *,SoPickedPoint const *)|SoSelectionPickCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "SbStorageApplyFunc *|SoCallbackListCB *|void (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void_p_void_p_void__void = {"_p_f_p_void_p_void_p_void_p_void__void", "SbTesselatorCB *|void (*)(void *,void *,void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f = {"_p_f_p_void_r_q_const__SbVec2f__SbVec2f", "SbVec2f (*)(void *,SbVec2f const &)|SoQtAutoClippingCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f", "SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)|SoTextureCoordinateFunctionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_size_t__p_void = {"_p_f_p_void_size_t__p_void", "void *(*)(void *,size_t)|SoOutputReallocCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_uint32_t__void = {"_p_f_p_void_uint32_t__void", "SoScheduleDeleteCB *|void (*)(void *,uint32_t)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void = {"_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void", "void (*)(SbString const,enum SoQt::FatalErrors,void *)|SoQt::FatalErrorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int = {"_p_f_r_q_const__SbString_p_SbImage_p_void__int", "SbImageScheduleReadCB *|SbImageReadImageCB *|int (*)(SbString const &,SbImage *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp = {"_p_f_r_q_const__SbString_p_SbImage_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void", "void (*)(SbString const &,void *,SoVRMLAnchor *)|SoVRMLAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int", "VRMLPrequalifyFileCallback *|int (*)(SbString const &,void *,SoVRMLImageTexture *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void", "void (*)(SbString const &,void *,SoVRMLInline *)|SoVRMLInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void", "void (*)(SbString const &,void *,SoWWWAnchor *)|SoWWWAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void", "void (*)(SbString const &,void *,SoWWWInline *)|SoWWWInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void = {"_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void", "SbClipCallback *|void *(*)(SbVec3f const &,void *,SbVec3f const &,void *,SbVec3f const &,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_void__p_void = {"_p_f_void__p_void", "SoType::instantiationMethod|void *(*)(void)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_floatp = {"_p_floatp", "floatp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "SbBool *|int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int16_t = {"_p_int16_t", "int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_intp = {"_p_intp", "intp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_longp = {"_p_longp", "longp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_open_func = {"_p_open_func", "open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoEngineOutput = {"_p_p_SoEngineOutput", "SoEngineOutput **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoField = {"_p_p_SoField", "SoField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoSFImage3 = {"_p_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFShort = {"_p_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFShort = {"_p_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFInt32 = {"_p_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFInt32 = {"_p_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUShort = {"_p_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUShort = {"_p_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4ub = {"_p_p_SoSFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4ub = {"_p_p_SoMFVec4ub", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUInt32 = {"_p_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUInt32 = {"_p_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2d = {"_p_p_SoSFBox2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4b = {"_p_p_SoSFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4b = {"_p_p_SoMFVec4b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2f = {"_p_p_SoSFBox2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4d = {"_p_p_SoSFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4d = {"_p_p_SoMFVec4d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4f = {"_p_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4f = {"_p_p_SoMFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFMatrix = {"_p_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFMatrix = {"_p_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTime = {"_p_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4us = {"_p_p_SoSFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4us = {"_p_p_SoMFVec4us", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4i32 = {"_p_p_SoSFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4i32 = {"_p_p_SoMFVec4i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPath = {"_p_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2s = {"_p_p_SoSFBox2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2b = {"_p_p_SoSFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2b = {"_p_p_SoMFVec2b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3i32 = {"_p_p_SoSFBox3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2d = {"_p_p_SoMFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2d = {"_p_p_SoSFVec2d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFDouble = {"_p_p_SoMFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFDouble = {"_p_p_SoSFDouble", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4s = {"_p_p_SoSFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4s = {"_p_p_SoMFVec4s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBitMask = {"_p_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBitMask = {"_p_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFRotation = {"_p_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFRotation = {"_p_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2f = {"_p_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2f = {"_p_p_SoMFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFTime = {"_p_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPath = {"_p_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEngine = {"_p_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEngine = {"_p_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSField = {"_p_p_SoSField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3i32 = {"_p_p_SoSFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3i32 = {"_p_p_SoMFVec3i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTrigger = {"_p_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3d = {"_p_p_SoSFBox3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColorRGBA = {"_p_p_SoMFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColorRGBA = {"_p_p_SoSFColorRGBA", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2s = {"_p_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2s = {"_p_p_SoMFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox2i32 = {"_p_p_SoSFBox2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPlane = {"_p_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPlane = {"_p_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3f = {"_p_p_SoSFBox3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColor = {"_p_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColor = {"_p_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMField = {"_p_p_SoMField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEnum = {"_p_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFNode = {"_p_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2i32 = {"_p_p_SoSFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2i32 = {"_p_p_SoMFVec2i32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage = {"_p_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3s = {"_p_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3b = {"_p_p_SoSFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3b = {"_p_p_SoMFVec3b", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3d = {"_p_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3d = {"_p_p_SoMFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEnum = {"_p_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3f = {"_p_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3f = {"_p_p_SoMFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBool = {"_p_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFNode = {"_p_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFFloat = {"_p_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFFloat = {"_p_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFString = {"_p_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFString = {"_p_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFName = {"_p_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBool = {"_p_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3s = {"_p_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3s = {"_p_p_SoMFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFName = {"_p_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4ui32 = {"_p_p_SoSFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4ui32 = {"_p_p_SoMFVec4ui32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_charp = {"_p_p_charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_read_func = {"_p_read_func", "read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_seek_func = {"_p_seek_func", "seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_tell_func = {"_p_tell_func", "tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_timeval = {"_p_timeval", "timeval *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uint16_t = {"_p_uint16_t", "uint16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_uintptr_t = {"_p_uintptr_t", "uintptr_t *|SbDictKeyType *|SbDict::Key *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; - -static swig_type_info *swig_type_initial[] = { - &_swigt__p_AttributeApplyFunc, - &_swigt__p_ContextDestructionCB, - &_swigt__p_CustomCursor, - &_swigt__p_FILE, - &_swigt__p_FatalErrorCB, - &_swigt__p_Key, - &_swigt__p_ProgressCallbackType, - &_swigt__p_QEvent, - &_swigt__p_QWidget, - &_swigt__p_SbColor, - &_swigt__p_SbColor4f, - &_swigt__p_SbDict, - &_swigt__p_SbDictApplyDataFunc, - &_swigt__p_SbDictApplyFunc, - &_swigt__p_SbDictHashingFunc, - &_swigt__p_SbIntList, - &_swigt__p_SbMatrix, - &_swigt__p_SbName, - &_swigt__p_SbPList, - &_swigt__p_SbPlane, - &_swigt__p_SbRotation, - &_swigt__p_SbString, - &_swigt__p_SbStringList, - &_swigt__p_SbTime, - &_swigt__p_SbVec2b, - &_swigt__p_SbVec2d, - &_swigt__p_SbVec2f, - &_swigt__p_SbVec2i32, - &_swigt__p_SbVec2s, - &_swigt__p_SbVec2us, - &_swigt__p_SbVec3d, - &_swigt__p_SbVec3f, - &_swigt__p_SbVec3fList, - &_swigt__p_SbVec4f, - &_swigt__p_SbViewportRegion, - &_swigt__p_SoActionMethodList, - &_swigt__p_SoAnnotation, - &_swigt__p_SoAntiSquish, - &_swigt__p_SoAppearanceKit, - &_swigt__p_SoArray, - &_swigt__p_SoAsciiText, - &_swigt__p_SoAuditorList, - &_swigt__p_SoBase, - &_swigt__p_SoBaseColor, - &_swigt__p_SoBaseKit, - &_swigt__p_SoBaseList, - &_swigt__p_SoBlinker, - &_swigt__p_SoBoolOperation, - &_swigt__p_SoBoxHighlightRenderAction, - &_swigt__p_SoBumpMap, - &_swigt__p_SoBumpMapCoordinate, - &_swigt__p_SoBumpMapTransform, - &_swigt__p_SoButtonEvent, - &_swigt__p_SoCacheHint, - &_swigt__p_SoCalculator, - &_swigt__p_SoCallback, - &_swigt__p_SoCallbackActionCB, - &_swigt__p_SoCamera, - &_swigt__p_SoCameraKit, - &_swigt__p_SoCenterballDragger, - &_swigt__p_SoCenterballManip, - &_swigt__p_SoChildList, - &_swigt__p_SoClipPlane, - &_swigt__p_SoClipPlaneManip, - &_swigt__p_SoColorIndex, - &_swigt__p_SoComplexity, - &_swigt__p_SoComposeMatrix, - &_swigt__p_SoComposeRotation, - &_swigt__p_SoComposeRotationFromTo, - &_swigt__p_SoComposeVec2f, - &_swigt__p_SoComposeVec3f, - &_swigt__p_SoComposeVec4f, - &_swigt__p_SoComputeBoundingBox, - &_swigt__p_SoConcatenate, - &_swigt__p_SoCone, - &_swigt__p_SoCoordinate3, - &_swigt__p_SoCoordinate4, - &_swigt__p_SoCounter, - &_swigt__p_SoCube, - &_swigt__p_SoCylinder, - &_swigt__p_SoDebugError, - &_swigt__p_SoDecomposeMatrix, - &_swigt__p_SoDecomposeRotation, - &_swigt__p_SoDecomposeVec2f, - &_swigt__p_SoDecomposeVec3f, - &_swigt__p_SoDecomposeVec4f, - &_swigt__p_SoDepthBuffer, - &_swigt__p_SoDetailList, - &_swigt__p_SoDirectionalLight, - &_swigt__p_SoDirectionalLightDragger, - &_swigt__p_SoDirectionalLightManip, - &_swigt__p_SoDragPointDragger, - &_swigt__p_SoDragger, - &_swigt__p_SoDrawStyle, - &_swigt__p_SoElapsedTime, - &_swigt__p_SoEngine, - &_swigt__p_SoEngineList, - &_swigt__p_SoEngineOutput, - &_swigt__p_SoEngineOutputList, - &_swigt__p_SoEnvironment, - &_swigt__p_SoError, - &_swigt__p_SoEvent, - &_swigt__p_SoEventCallback, - &_swigt__p_SoExtSelection, - &_swigt__p_SoFaceSet, - &_swigt__p_SoField, - &_swigt__p_SoFieldContainer, - &_swigt__p_SoFieldConverter, - &_swigt__p_SoFieldList, - &_swigt__p_SoFile, - &_swigt__p_SoFont, - &_swigt__p_SoFontStyle, - &_swigt__p_SoFragmentShader, - &_swigt__p_SoFrustumCamera, - &_swigt__p_SoFullPath, - &_swigt__p_SoGLImageResizeCB, - &_swigt__p_SoGLRenderAbortCB, - &_swigt__p_SoGLRenderAction, - &_swigt__p_SoGate, - &_swigt__p_SoGroup, - &_swigt__p_SoHandleBoxDragger, - &_swigt__p_SoHandleBoxManip, - &_swigt__p_SoHeightMapToNormalMap, - &_swigt__p_SoImage, - &_swigt__p_SoIndexedFaceSet, - &_swigt__p_SoIndexedLineSet, - &_swigt__p_SoIndexedMarkerSet, - &_swigt__p_SoIndexedNurbsCurve, - &_swigt__p_SoIndexedNurbsSurface, - &_swigt__p_SoIndexedPointSet, - &_swigt__p_SoIndexedShape, - &_swigt__p_SoIndexedTriangleStripSet, - &_swigt__p_SoInfo, - &_swigt__p_SoInput, - &_swigt__p_SoInteractionKit, - &_swigt__p_SoInterpolate, - &_swigt__p_SoInterpolateFloat, - &_swigt__p_SoInterpolateRotation, - &_swigt__p_SoInterpolateVec2f, - &_swigt__p_SoInterpolateVec3f, - &_swigt__p_SoInterpolateVec4f, - &_swigt__p_SoIntersectionCB, - &_swigt__p_SoIntersectionFilterCB, - &_swigt__p_SoIntersectionVisitationCB, - &_swigt__p_SoJackDragger, - &_swigt__p_SoJackManip, - &_swigt__p_SoKeyboardEvent, - &_swigt__p_SoLOD, - &_swigt__p_SoLabel, - &_swigt__p_SoLevelOfDetail, - &_swigt__p_SoLight, - &_swigt__p_SoLightKit, - &_swigt__p_SoLightModel, - &_swigt__p_SoLineHighlightRenderAction, - &_swigt__p_SoLineSet, - &_swigt__p_SoLinearProfile, - &_swigt__p_SoListener, - &_swigt__p_SoLocateHighlight, - &_swigt__p_SoLocation2Event, - &_swigt__p_SoMFBitMask, - &_swigt__p_SoMFBool, - &_swigt__p_SoMFColor, - &_swigt__p_SoMFColorRGBA, - &_swigt__p_SoMFDouble, - &_swigt__p_SoMFEngine, - &_swigt__p_SoMFEnum, - &_swigt__p_SoMFFloat, - &_swigt__p_SoMFInt32, - &_swigt__p_SoMFMatrix, - &_swigt__p_SoMFName, - &_swigt__p_SoMFNode, - &_swigt__p_SoMFPath, - &_swigt__p_SoMFPlane, - &_swigt__p_SoMFRotation, - &_swigt__p_SoMFShort, - &_swigt__p_SoMFString, - &_swigt__p_SoMFTime, - &_swigt__p_SoMFUInt32, - &_swigt__p_SoMFUShort, - &_swigt__p_SoMFVec2b, - &_swigt__p_SoMFVec2d, - &_swigt__p_SoMFVec2f, - &_swigt__p_SoMFVec2i32, - &_swigt__p_SoMFVec2s, - &_swigt__p_SoMFVec3b, - &_swigt__p_SoMFVec3d, - &_swigt__p_SoMFVec3f, - &_swigt__p_SoMFVec3i32, - &_swigt__p_SoMFVec3s, - &_swigt__p_SoMFVec4b, - &_swigt__p_SoMFVec4d, - &_swigt__p_SoMFVec4f, - &_swigt__p_SoMFVec4i32, - &_swigt__p_SoMFVec4s, - &_swigt__p_SoMFVec4ub, - &_swigt__p_SoMFVec4ui32, - &_swigt__p_SoMFVec4us, - &_swigt__p_SoMField, - &_swigt__p_SoMarkerSet, - &_swigt__p_SoMaterial, - &_swigt__p_SoMaterialBinding, - &_swigt__p_SoMatrixTransform, - &_swigt__p_SoMemoryError, - &_swigt__p_SoMotion3Event, - &_swigt__p_SoMouseButtonEvent, - &_swigt__p_SoMultipleCopy, - &_swigt__p_SoNode, - &_swigt__p_SoNodeEngine, - &_swigt__p_SoNodeKitListPart, - &_swigt__p_SoNodeKitPath, - &_swigt__p_SoNodeList, - &_swigt__p_SoNonIndexedShape, - &_swigt__p_SoNormal, - &_swigt__p_SoNormalBinding, - &_swigt__p_SoNotList, - &_swigt__p_SoNotRec, - &_swigt__p_SoNurbsCurve, - &_swigt__p_SoNurbsProfile, - &_swigt__p_SoNurbsSurface, - &_swigt__p_SoOnOff, - &_swigt__p_SoOneShot, - &_swigt__p_SoOrthographicCamera, - &_swigt__p_SoOutput, - &_swigt__p_SoPackedColor, - &_swigt__p_SoPath, - &_swigt__p_SoPathList, - &_swigt__p_SoPathSwitch, - &_swigt__p_SoPendulum, - &_swigt__p_SoPerspectiveCamera, - &_swigt__p_SoPickStyle, - &_swigt__p_SoPickedPointList, - &_swigt__p_SoPointLight, - &_swigt__p_SoPointLightDragger, - &_swigt__p_SoPointLightManip, - &_swigt__p_SoPointSet, - &_swigt__p_SoPolygonOffset, - &_swigt__p_SoProfile, - &_swigt__p_SoProfileCoordinate2, - &_swigt__p_SoProfileCoordinate3, - &_swigt__p_SoProto, - &_swigt__p_SoProtoInstance, - &_swigt__p_SoQt, - &_swigt__p_SoQtComponent, - &_swigt__p_SoQtConstrainedViewer, - &_swigt__p_SoQtCursor, - &_swigt__p_SoQtDevice, - &_swigt__p_SoQtExaminerViewer, - &_swigt__p_SoQtFlyViewer, - &_swigt__p_SoQtFullViewer, - &_swigt__p_SoQtGLWidget, - &_swigt__p_SoQtKeyboard, - &_swigt__p_SoQtMouse, - &_swigt__p_SoQtObject, - &_swigt__p_SoQtPlaneViewer, - &_swigt__p_SoQtPopupMenu, - &_swigt__p_SoQtRenderArea, - &_swigt__p_SoQtViewer, - &_swigt__p_SoQuadMesh, - &_swigt__p_SoReadError, - &_swigt__p_SoResetTransform, - &_swigt__p_SoRotateCylindricalDragger, - &_swigt__p_SoRotateDiscDragger, - &_swigt__p_SoRotateSphericalDragger, - &_swigt__p_SoRotation, - &_swigt__p_SoRotationXYZ, - &_swigt__p_SoRotor, - &_swigt__p_SoSFBitMask, - &_swigt__p_SoSFBool, - &_swigt__p_SoSFBox2d, - &_swigt__p_SoSFBox2f, - &_swigt__p_SoSFBox2i32, - &_swigt__p_SoSFBox2s, - &_swigt__p_SoSFBox3d, - &_swigt__p_SoSFBox3f, - &_swigt__p_SoSFBox3i32, - &_swigt__p_SoSFBox3s, - &_swigt__p_SoSFColor, - &_swigt__p_SoSFColorRGBA, - &_swigt__p_SoSFDouble, - &_swigt__p_SoSFEngine, - &_swigt__p_SoSFEnum, - &_swigt__p_SoSFFloat, - &_swigt__p_SoSFImage, - &_swigt__p_SoSFImage3, - &_swigt__p_SoSFInt32, - &_swigt__p_SoSFMatrix, - &_swigt__p_SoSFName, - &_swigt__p_SoSFNode, - &_swigt__p_SoSFPath, - &_swigt__p_SoSFPlane, - &_swigt__p_SoSFRotation, - &_swigt__p_SoSFShort, - &_swigt__p_SoSFString, - &_swigt__p_SoSFTime, - &_swigt__p_SoSFTrigger, - &_swigt__p_SoSFUInt32, - &_swigt__p_SoSFUShort, - &_swigt__p_SoSFVec2b, - &_swigt__p_SoSFVec2d, - &_swigt__p_SoSFVec2f, - &_swigt__p_SoSFVec2i32, - &_swigt__p_SoSFVec2s, - &_swigt__p_SoSFVec3b, - &_swigt__p_SoSFVec3d, - &_swigt__p_SoSFVec3f, - &_swigt__p_SoSFVec3i32, - &_swigt__p_SoSFVec3s, - &_swigt__p_SoSFVec4b, - &_swigt__p_SoSFVec4d, - &_swigt__p_SoSFVec4f, - &_swigt__p_SoSFVec4i32, - &_swigt__p_SoSFVec4s, - &_swigt__p_SoSFVec4ub, - &_swigt__p_SoSFVec4ui32, - &_swigt__p_SoSFVec4us, - &_swigt__p_SoSField, - &_swigt__p_SoScale, - &_swigt__p_SoScale1Dragger, - &_swigt__p_SoScale2Dragger, - &_swigt__p_SoScale2UniformDragger, - &_swigt__p_SoScaleUniformDragger, - &_swigt__p_SoSceneKit, - &_swigt__p_SoSceneManager, - &_swigt__p_SoSceneTexture2, - &_swigt__p_SoSceneTextureCubeMap, - &_swigt__p_SoSelectOne, - &_swigt__p_SoSelection, - &_swigt__p_SoSeparator, - &_swigt__p_SoSeparatorKit, - &_swigt__p_SoShaderObject, - &_swigt__p_SoShaderParameter, - &_swigt__p_SoShaderParameter1f, - &_swigt__p_SoShaderParameter1i, - &_swigt__p_SoShaderParameter2f, - &_swigt__p_SoShaderParameter2i, - &_swigt__p_SoShaderParameter3f, - &_swigt__p_SoShaderParameter3i, - &_swigt__p_SoShaderParameter4f, - &_swigt__p_SoShaderParameter4i, - &_swigt__p_SoShaderParameterArray1f, - &_swigt__p_SoShaderParameterArray1i, - &_swigt__p_SoShaderParameterArray2f, - &_swigt__p_SoShaderParameterArray2i, - &_swigt__p_SoShaderParameterArray3f, - &_swigt__p_SoShaderParameterArray3i, - &_swigt__p_SoShaderParameterArray4f, - &_swigt__p_SoShaderParameterArray4i, - &_swigt__p_SoShaderParameterMatrix, - &_swigt__p_SoShaderParameterMatrixArray, - &_swigt__p_SoShaderProgram, - &_swigt__p_SoShaderStateMatrixParameter, - &_swigt__p_SoShape, - &_swigt__p_SoShapeHints, - &_swigt__p_SoShapeKit, - &_swigt__p_SoShuttle, - &_swigt__p_SoSpaceballButtonEvent, - &_swigt__p_SoSphere, - &_swigt__p_SoSpotLight, - &_swigt__p_SoSpotLightDragger, - &_swigt__p_SoSpotLightManip, - &_swigt__p_SoSurroundScale, - &_swigt__p_SoSwitch, - &_swigt__p_SoTabBoxDragger, - &_swigt__p_SoTabBoxManip, - &_swigt__p_SoTabPlaneDragger, - &_swigt__p_SoTempPath, - &_swigt__p_SoText2, - &_swigt__p_SoText3, - &_swigt__p_SoTexture, - &_swigt__p_SoTexture2, - &_swigt__p_SoTexture2Convert, - &_swigt__p_SoTexture2Transform, - &_swigt__p_SoTexture3, - &_swigt__p_SoTexture3Transform, - &_swigt__p_SoTextureCombine, - &_swigt__p_SoTextureCoordinate2, - &_swigt__p_SoTextureCoordinate3, - &_swigt__p_SoTextureCoordinateBinding, - &_swigt__p_SoTextureCoordinateCube, - &_swigt__p_SoTextureCoordinateCylinder, - &_swigt__p_SoTextureCoordinateDefault, - &_swigt__p_SoTextureCoordinateEnvironment, - &_swigt__p_SoTextureCoordinateFunction, - &_swigt__p_SoTextureCoordinateNormalMap, - &_swigt__p_SoTextureCoordinateObject, - &_swigt__p_SoTextureCoordinatePlane, - &_swigt__p_SoTextureCoordinateReflectionMap, - &_swigt__p_SoTextureCoordinateSphere, - &_swigt__p_SoTextureCubeMap, - &_swigt__p_SoTextureMatrixTransform, - &_swigt__p_SoTextureScalePolicy, - &_swigt__p_SoTextureUnit, - &_swigt__p_SoTimeCounter, - &_swigt__p_SoTrackballDragger, - &_swigt__p_SoTrackballManip, - &_swigt__p_SoTransform, - &_swigt__p_SoTransformBoxDragger, - &_swigt__p_SoTransformBoxManip, - &_swigt__p_SoTransformManip, - &_swigt__p_SoTransformSeparator, - &_swigt__p_SoTransformVec3f, - &_swigt__p_SoTransformation, - &_swigt__p_SoTransformerDragger, - &_swigt__p_SoTransformerManip, - &_swigt__p_SoTranslate1Dragger, - &_swigt__p_SoTranslate2Dragger, - &_swigt__p_SoTranslation, - &_swigt__p_SoTransparencyType, - &_swigt__p_SoTriangleStripSet, - &_swigt__p_SoTriggerAny, - &_swigt__p_SoType, - &_swigt__p_SoTypeList, - &_swigt__p_SoUniformShaderParameter, - &_swigt__p_SoUnits, - &_swigt__p_SoVRMLAnchor, - &_swigt__p_SoVRMLAppearance, - &_swigt__p_SoVRMLAudioClip, - &_swigt__p_SoVRMLBackground, - &_swigt__p_SoVRMLBillboard, - &_swigt__p_SoVRMLBox, - &_swigt__p_SoVRMLCollision, - &_swigt__p_SoVRMLColor, - &_swigt__p_SoVRMLColorInterpolator, - &_swigt__p_SoVRMLCone, - &_swigt__p_SoVRMLCoordinate, - &_swigt__p_SoVRMLCoordinateInterpolator, - &_swigt__p_SoVRMLCylinder, - &_swigt__p_SoVRMLCylinderSensor, - &_swigt__p_SoVRMLDirectionalLight, - &_swigt__p_SoVRMLDragSensor, - &_swigt__p_SoVRMLElevationGrid, - &_swigt__p_SoVRMLExtrusion, - &_swigt__p_SoVRMLFog, - &_swigt__p_SoVRMLFontStyle, - &_swigt__p_SoVRMLGeometry, - &_swigt__p_SoVRMLGroup, - &_swigt__p_SoVRMLImageTexture, - &_swigt__p_SoVRMLIndexedFaceSet, - &_swigt__p_SoVRMLIndexedLine, - &_swigt__p_SoVRMLIndexedLineSet, - &_swigt__p_SoVRMLIndexedShape, - &_swigt__p_SoVRMLInline, - &_swigt__p_SoVRMLInterpolator, - &_swigt__p_SoVRMLLOD, - &_swigt__p_SoVRMLLight, - &_swigt__p_SoVRMLMaterial, - &_swigt__p_SoVRMLMovieTexture, - &_swigt__p_SoVRMLNavigationInfo, - &_swigt__p_SoVRMLNormal, - &_swigt__p_SoVRMLNormalInterpolator, - &_swigt__p_SoVRMLOrientationInterpolator, - &_swigt__p_SoVRMLParent, - &_swigt__p_SoVRMLPixelTexture, - &_swigt__p_SoVRMLPlaneSensor, - &_swigt__p_SoVRMLPointLight, - &_swigt__p_SoVRMLPointSet, - &_swigt__p_SoVRMLPositionInterpolator, - &_swigt__p_SoVRMLProximitySensor, - &_swigt__p_SoVRMLScalarInterpolator, - &_swigt__p_SoVRMLScript, - &_swigt__p_SoVRMLSensor, - &_swigt__p_SoVRMLShape, - &_swigt__p_SoVRMLSound, - &_swigt__p_SoVRMLSphere, - &_swigt__p_SoVRMLSphereSensor, - &_swigt__p_SoVRMLSpotLight, - &_swigt__p_SoVRMLSwitch, - &_swigt__p_SoVRMLText, - &_swigt__p_SoVRMLTexture, - &_swigt__p_SoVRMLTextureCoordinate, - &_swigt__p_SoVRMLTextureTransform, - &_swigt__p_SoVRMLTimeSensor, - &_swigt__p_SoVRMLTouchSensor, - &_swigt__p_SoVRMLTransform, - &_swigt__p_SoVRMLVertexLine, - &_swigt__p_SoVRMLVertexPoint, - &_swigt__p_SoVRMLVertexShape, - &_swigt__p_SoVRMLViewpoint, - &_swigt__p_SoVRMLVisibilitySensor, - &_swigt__p_SoVRMLWorldInfo, - &_swigt__p_SoVertexAttribute, - &_swigt__p_SoVertexAttributeBinding, - &_swigt__p_SoVertexProperty, - &_swigt__p_SoVertexShader, - &_swigt__p_SoVertexShape, - &_swigt__p_SoWWWAnchor, - &_swigt__p_SoWWWInline, - &_swigt__p_SoWrapperKit, - &_swigt__p_a_4__a_4__double, - &_swigt__p_a_4__a_4__doublep, - &_swigt__p_a_4__a_4__float, - &_swigt__p_a_4__a_4__floatp, - &_swigt__p_cc_glglue, - &_swigt__p_char, - &_swigt__p_charp, - &_swigt__p_close_func, - &_swigt__p_double, - &_swigt__p_doublep, - &_swigt__p_f_char__char, - &_swigt__p_f_char__charp, - &_swigt__p_f_float_p_void_p_SoQtViewer__void, - &_swigt__p_f_int_p_void__void, - &_swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, - &_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - &_swigt__p_f_p_q_const__SoError_p_void__void, - &_swigt__p_f_p_void__void, - &_swigt__p_f_p_void_int__void, - &_swigt__p_f_p_void_p_QEvent__int, - &_swigt__p_f_p_void_p_QEvent__intp, - &_swigt__p_f_p_void_p_ScXMLStateMachine__void, - &_swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, - &_swigt__p_f_p_void_p_SoAction__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoDragger__void, - &_swigt__p_f_p_void_p_SoEventCallback__void, - &_swigt__p_f_p_void_p_SoGLRenderAction__float, - &_swigt__p_f_p_void_p_SoGLRenderAction__floatp, - &_swigt__p_f_p_void_p_SoGLRenderAction__void, - &_swigt__p_f_p_void_p_SoInput__void, - &_swigt__p_f_p_void_p_SoPath__void, - &_swigt__p_f_p_void_p_SoQtComponent__void, - &_swigt__p_f_p_void_p_SoQtViewer__void, - &_swigt__p_f_p_void_p_SoRenderManager__void, - &_swigt__p_f_p_void_p_SoSceneManager__void, - &_swigt__p_f_p_void_p_SoSelection__void, - &_swigt__p_f_p_void_p_SoSensor__void, - &_swigt__p_f_p_void_p_SoState_q_const__int__void, - &_swigt__p_f_p_void_p_SoVRMLScript__void, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - &_swigt__p_f_p_void_p_void__void, - &_swigt__p_f_p_void_p_void_p_void_p_void__void, - &_swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - &_swigt__p_f_p_void_size_t__p_void, - &_swigt__p_f_p_void_uint32_t__void, - &_swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - &_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - &_swigt__p_f_void__p_void, - &_swigt__p_float, - &_swigt__p_floatp, - &_swigt__p_int, - &_swigt__p_int16_t, - &_swigt__p_intp, - &_swigt__p_long, - &_swigt__p_longp, - &_swigt__p_open_func, - &_swigt__p_p_SoEngineOutput, - &_swigt__p_p_SoField, - &_swigt__p_p_SoMFBitMask, - &_swigt__p_p_SoMFBool, - &_swigt__p_p_SoMFColor, - &_swigt__p_p_SoMFColorRGBA, - &_swigt__p_p_SoMFDouble, - &_swigt__p_p_SoMFEngine, - &_swigt__p_p_SoMFEnum, - &_swigt__p_p_SoMFFloat, - &_swigt__p_p_SoMFInt32, - &_swigt__p_p_SoMFMatrix, - &_swigt__p_p_SoMFName, - &_swigt__p_p_SoMFNode, - &_swigt__p_p_SoMFPath, - &_swigt__p_p_SoMFPlane, - &_swigt__p_p_SoMFRotation, - &_swigt__p_p_SoMFShort, - &_swigt__p_p_SoMFString, - &_swigt__p_p_SoMFTime, - &_swigt__p_p_SoMFUInt32, - &_swigt__p_p_SoMFUShort, - &_swigt__p_p_SoMFVec2b, - &_swigt__p_p_SoMFVec2d, - &_swigt__p_p_SoMFVec2f, - &_swigt__p_p_SoMFVec2i32, - &_swigt__p_p_SoMFVec2s, - &_swigt__p_p_SoMFVec3b, - &_swigt__p_p_SoMFVec3d, - &_swigt__p_p_SoMFVec3f, - &_swigt__p_p_SoMFVec3i32, - &_swigt__p_p_SoMFVec3s, - &_swigt__p_p_SoMFVec4b, - &_swigt__p_p_SoMFVec4d, - &_swigt__p_p_SoMFVec4f, - &_swigt__p_p_SoMFVec4i32, - &_swigt__p_p_SoMFVec4s, - &_swigt__p_p_SoMFVec4ub, - &_swigt__p_p_SoMFVec4ui32, - &_swigt__p_p_SoMFVec4us, - &_swigt__p_p_SoMField, - &_swigt__p_p_SoSFBitMask, - &_swigt__p_p_SoSFBool, - &_swigt__p_p_SoSFBox2d, - &_swigt__p_p_SoSFBox2f, - &_swigt__p_p_SoSFBox2i32, - &_swigt__p_p_SoSFBox2s, - &_swigt__p_p_SoSFBox3d, - &_swigt__p_p_SoSFBox3f, - &_swigt__p_p_SoSFBox3i32, - &_swigt__p_p_SoSFBox3s, - &_swigt__p_p_SoSFColor, - &_swigt__p_p_SoSFColorRGBA, - &_swigt__p_p_SoSFDouble, - &_swigt__p_p_SoSFEngine, - &_swigt__p_p_SoSFEnum, - &_swigt__p_p_SoSFFloat, - &_swigt__p_p_SoSFImage, - &_swigt__p_p_SoSFImage3, - &_swigt__p_p_SoSFInt32, - &_swigt__p_p_SoSFMatrix, - &_swigt__p_p_SoSFName, - &_swigt__p_p_SoSFNode, - &_swigt__p_p_SoSFPath, - &_swigt__p_p_SoSFPlane, - &_swigt__p_p_SoSFRotation, - &_swigt__p_p_SoSFShort, - &_swigt__p_p_SoSFString, - &_swigt__p_p_SoSFTime, - &_swigt__p_p_SoSFTrigger, - &_swigt__p_p_SoSFUInt32, - &_swigt__p_p_SoSFUShort, - &_swigt__p_p_SoSFVec2b, - &_swigt__p_p_SoSFVec2d, - &_swigt__p_p_SoSFVec2f, - &_swigt__p_p_SoSFVec2i32, - &_swigt__p_p_SoSFVec2s, - &_swigt__p_p_SoSFVec3b, - &_swigt__p_p_SoSFVec3d, - &_swigt__p_p_SoSFVec3f, - &_swigt__p_p_SoSFVec3i32, - &_swigt__p_p_SoSFVec3s, - &_swigt__p_p_SoSFVec4b, - &_swigt__p_p_SoSFVec4d, - &_swigt__p_p_SoSFVec4f, - &_swigt__p_p_SoSFVec4i32, - &_swigt__p_p_SoSFVec4s, - &_swigt__p_p_SoSFVec4ub, - &_swigt__p_p_SoSFVec4ui32, - &_swigt__p_p_SoSFVec4us, - &_swigt__p_p_SoSField, - &_swigt__p_p_char, - &_swigt__p_p_charp, - &_swigt__p_p_void, - &_swigt__p_read_func, - &_swigt__p_seek_func, - &_swigt__p_short, - &_swigt__p_tell_func, - &_swigt__p_time_t, - &_swigt__p_timeval, - &_swigt__p_uint16_t, - &_swigt__p_uintptr_t, - &_swigt__p_void, -}; - -static swig_cast_info _swigc__p_AttributeApplyFunc[] = { {&_swigt__p_AttributeApplyFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ContextDestructionCB[] = { {&_swigt__p_ContextDestructionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_CustomCursor[] = { {&_swigt__p_CustomCursor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FatalErrorCB[] = { {&_swigt__p_FatalErrorCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_Key[] = { {&_swigt__p_Key, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProgressCallbackType[] = { {&_swigt__p_ProgressCallbackType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_QEvent[] = { {&_swigt__p_QEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_QWidget[] = { {&_swigt__p_QWidget, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor[] = { {&_swigt__p_SbColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor4f[] = { {&_swigt__p_SbColor4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDict[] = { {&_swigt__p_SbDict, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictApplyDataFunc[] = { {&_swigt__p_SbDictApplyDataFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictApplyFunc[] = { {&_swigt__p_SbDictApplyFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDictHashingFunc[] = { {&_swigt__p_SbDictHashingFunc, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbIntList[] = { {&_swigt__p_SbIntList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMatrix[] = { {&_swigt__p_SbMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbName[] = { {&_swigt__p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAuditorList[] = {{&_swigt__p_SoAuditorList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPointList[] = {{&_swigt__p_SoPickedPointList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3fList[] = {{&_swigt__p_SbVec3fList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathList[] = {{&_swigt__p_SoPathList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseList[] = {{&_swigt__p_SoBaseList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputList[] = {{&_swigt__p_SoEngineOutputList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoChildList[] = {{&_swigt__p_SoChildList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeList[] = {{&_swigt__p_SoNodeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStringList[] = {{&_swigt__p_SbStringList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoActionMethodList[] = {{&_swigt__p_SoActionMethodList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineList[] = {{&_swigt__p_SoEngineList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetailList[] = {{&_swigt__p_SoDetailList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPList[] = { {&_swigt__p_SoAuditorList, _p_SoAuditorListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPickedPointList, _p_SoPickedPointListTo_p_SbPList, 0, 0}, {&_swigt__p_SbIntList, _p_SbIntListTo_p_SbPList, 0, 0}, {&_swigt__p_SoTypeList, _p_SoTypeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbVec3fList, _p_SbVec3fListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SbPList, 0, 0}, {&_swigt__p_SoBaseList, _p_SoBaseListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineOutputList, _p_SoEngineOutputListTo_p_SbPList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SbPList, 0, 0}, {&_swigt__p_SoFieldList, _p_SoFieldListTo_p_SbPList, 0, 0}, {&_swigt__p_SbPList, 0, 0, 0}, {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbStringList, _p_SbStringListTo_p_SbPList, 0, 0}, {&_swigt__p_SoActionMethodList, _p_SoActionMethodListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SbPList, 0, 0}, {&_swigt__p_SoDetailList, _p_SoDetailListTo_p_SbPList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlane[] = { {&_swigt__p_SbPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRotation[] = { {&_swigt__p_SbRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbString[] = { {&_swigt__p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTime[] = { {&_swigt__p_SbTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2b[] = { {&_swigt__p_SbVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2d[] = { {&_swigt__p_SbVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2f[] = { {&_swigt__p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2i32[] = { {&_swigt__p_SbVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2s[] = { {&_swigt__p_SbVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2us[] = { {&_swigt__p_SbVec2us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3d[] = { {&_swigt__p_SbVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3f[] = { {&_swigt__p_SbVec3f, 0, 0, 0}, {&_swigt__p_SbColor, _p_SbColorTo_p_SbVec3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4f[] = { {&_swigt__p_SbVec4f, 0, 0, 0}, {&_swigt__p_SbColor4f, _p_SbColor4fTo_p_SbVec4f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewportRegion[] = { {&_swigt__p_SbViewportRegion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlane[] = {{&_swigt__p_SoClipPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinate[] = {{&_swigt__p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinate[] = {{&_swigt__p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureCoordinate[] = {{&_swigt__p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombine[] = {{&_swigt__p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightKit[] = {{&_swigt__p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedTriangleStripSet[] = {{&_swigt__p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriangleStripSet[] = {{&_swigt__p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter4f[] = {{&_swigt__p_SoShaderParameter4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLExtrusion[] = {{&_swigt__p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOnOff[] = {{&_swigt__p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttribute[] = {{&_swigt__p_SoVertexAttribute, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseKit[] = {{&_swigt__p_SoBaseKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter4i[] = {{&_swigt__p_SoShaderParameter4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoExtSelection[] = {{&_swigt__p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexProperty[] = {{&_swigt__p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotationXYZ[] = {{&_swigt__p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexity[] = {{&_swigt__p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBillboard[] = {{&_swigt__p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray3f[] = {{&_swigt__p_SoShaderParameterArray3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModel[] = {{&_swigt__p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray3i[] = {{&_swigt__p_SoShaderParameterArray3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnits[] = {{&_swigt__p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeKit[] = {{&_swigt__p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotation[] = {{&_swigt__p_SoRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnotation[] = {{&_swigt__p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotation[] = {{&_swigt__p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeRotation[] = {{&_swigt__p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateRotation[] = {{&_swigt__p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsSurface[] = {{&_swigt__p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsSurface[] = {{&_swigt__p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfile[] = {{&_swigt__p_SoProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinearProfile[] = {{&_swigt__p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsProfile[] = {{&_swigt__p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldConverter[] = {{&_swigt__p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLParent[] = {{&_swigt__p_SoVRMLParent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec2f[] = {{&_swigt__p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLight[] = {{&_swigt__p_SoVRMLLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneManip[] = {{&_swigt__p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDepthBuffer[] = {{&_swigt__p_SoDepthBuffer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAsciiText[] = {{&_swigt__p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGeometry[] = {{&_swigt__p_SoVRMLGeometry, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterMatrixArray[] = {{&_swigt__p_SoShaderParameterMatrixArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinder[] = {{&_swigt__p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCylinder[] = {{&_swigt__p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinder[] = {{&_swigt__p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNavigationInfo[] = {{&_swigt__p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComputeBoundingBox[] = {{&_swigt__p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMatrixTransform[] = {{&_swigt__p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapTransform[] = {{&_swigt__p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransform[] = {{&_swigt__p_SoTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoResetTransform[] = {{&_swigt__p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Transform[] = {{&_swigt__p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3Transform[] = {{&_swigt__p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureMatrixTransform[] = {{&_swigt__p_SoTextureMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureTransform[] = {{&_swigt__p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTransform[] = {{&_swigt__p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec3f[] = {{&_swigt__p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec3f[] = {{&_swigt__p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparatorKit[] = {{&_swigt__p_SoSeparatorKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexLine[] = {{&_swigt__p_SoVRMLVertexLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFullPath[] = {{&_swigt__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLight[] = {{&_swigt__p_SoLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSound[] = {{&_swigt__p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeEngine[] = {{&_swigt__p_SoNodeEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedPointSet[] = {{&_swigt__p_SoIndexedPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSet[] = {{&_swigt__p_SoPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointSet[] = {{&_swigt__p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterial[] = {{&_swigt__p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMaterial[] = {{&_swigt__p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseColor[] = {{&_swigt__p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriggerAny[] = {{&_swigt__p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorIndex[] = {{&_swigt__p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColor[] = {{&_swigt__p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLWorldInfo[] = {{&_swigt__p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLight[] = {{&_swigt__p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSpotLight[] = {{&_swigt__p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateDefault[] = {{&_swigt__p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBlinker[] = {{&_swigt__p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShuttle[] = {{&_swigt__p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGroup[] = {{&_swigt__p_SoVRMLGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray4f[] = {{&_swigt__p_SoShaderParameterArray4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderObject[] = {{&_swigt__p_SoShaderObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAnchor[] = {{&_swigt__p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSensor[] = {{&_swigt__p_SoVRMLSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinderSensor[] = {{&_swigt__p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTouchSensor[] = {{&_swigt__p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoolOperation[] = {{&_swigt__p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMarkerSet[] = {{&_swigt__p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedMarkerSet[] = {{&_swigt__p_SoIndexedMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray4i[] = {{&_swigt__p_SoShaderParameterArray4i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightManip[] = {{&_swigt__p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightManip[] = {{&_swigt__p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightManip[] = {{&_swigt__p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsCurve[] = {{&_swigt__p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsCurve[] = {{&_swigt__p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedShape[] = {{&_swigt__p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNonIndexedShape[] = {{&_swigt__p_SoNonIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedShape[] = {{&_swigt__p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotor[] = {{&_swigt__p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCube[] = {{&_swigt__p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLText[] = {{&_swigt__p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShot[] = {{&_swigt__p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerManip[] = {{&_swigt__p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec3f[] = {{&_swigt__p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateFloat[] = {{&_swigt__p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAntiSquish[] = {{&_swigt__p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGroup[] = {{&_swigt__p_SoGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultipleCopy[] = {{&_swigt__p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListener[] = {{&_swigt__p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec4f[] = {{&_swigt__p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec4f[] = {{&_swigt__p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Convert[] = {{&_swigt__p_SoTexture2Convert, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformation[] = {{&_swigt__p_SoTransformation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontStyle[] = {{&_swigt__p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFontStyle[] = {{&_swigt__p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoImage[] = {{&_swigt__p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAppearance[] = {{&_swigt__p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCubeMap[] = {{&_swigt__p_SoTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTextureCubeMap[] = {{&_swigt__p_SoSceneTextureCubeMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLight[] = {{&_swigt__p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointLight[] = {{&_swigt__p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformManip[] = {{&_swigt__p_SoTransformManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffset[] = {{&_swigt__p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBackground[] = {{&_swigt__p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWAnchor[] = {{&_swigt__p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEventCallback[] = {{&_swigt__p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallback[] = {{&_swigt__p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateObject[] = {{&_swigt__p_SoTextureCoordinateObject, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDragSensor[] = {{&_swigt__p_SoVRMLDragSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPlaneSensor[] = {{&_swigt__p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLProximitySensor[] = {{&_swigt__p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphereSensor[] = {{&_swigt__p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTimeSensor[] = {{&_swigt__p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVisibilitySensor[] = {{&_swigt__p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackManip[] = {{&_swigt__p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPerspectiveCamera[] = {{&_swigt__p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOrthographicCamera[] = {{&_swigt__p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFrustumCamera[] = {{&_swigt__p_SoFrustumCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCameraKit[] = {{&_swigt__p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoArray[] = {{&_swigt__p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter1f[] = {{&_swigt__p_SoShaderParameter1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElapsedTime[] = {{&_swigt__p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphere[] = {{&_swigt__p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateEnvironment[] = {{&_swigt__p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironment[] = {{&_swigt__p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelectOne[] = {{&_swigt__p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyle[] = {{&_swigt__p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter1i[] = {{&_swigt__p_SoShaderParameter1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBox[] = {{&_swigt__p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHeightMapToNormalMap[] = {{&_swigt__p_SoHeightMapToNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateNormalMap[] = {{&_swigt__p_SoTextureCoordinateNormalMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyType[] = {{&_swigt__p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFog[] = {{&_swigt__p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec4f[] = {{&_swigt__p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConcatenate[] = {{&_swigt__p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSurroundScale[] = {{&_swigt__p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShape[] = {{&_swigt__p_SoVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexShape[] = {{&_swigt__p_SoVRMLVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCone[] = {{&_swigt__p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnit[] = {{&_swigt__p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTempPath[] = {{&_swigt__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFile[] = {{&_swigt__p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAppearanceKit[] = {{&_swigt__p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightDragger[] = {{&_swigt__p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScaleUniformDragger[] = {{&_swigt__p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2UniformDragger[] = {{&_swigt__p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2Dragger[] = {{&_swigt__p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale1Dragger[] = {{&_swigt__p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateSphericalDragger[] = {{&_swigt__p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateDiscDragger[] = {{&_swigt__p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateCylindricalDragger[] = {{&_swigt__p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightDragger[] = {{&_swigt__p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackDragger[] = {{&_swigt__p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxDragger[] = {{&_swigt__p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragPointDragger[] = {{&_swigt__p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightDragger[] = {{&_swigt__p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballDragger[] = {{&_swigt__p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragger[] = {{&_swigt__p_SoDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxDragger[] = {{&_swigt__p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabPlaneDragger[] = {{&_swigt__p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballDragger[] = {{&_swigt__p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxDragger[] = {{&_swigt__p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerDragger[] = {{&_swigt__p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate1Dragger[] = {{&_swigt__p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate2Dragger[] = {{&_swigt__p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyle[] = {{&_swigt__p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInterpolator[] = {{&_swigt__p_SoVRMLInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColorInterpolator[] = {{&_swigt__p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinateInterpolator[] = {{&_swigt__p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormalInterpolator[] = {{&_swigt__p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLOrientationInterpolator[] = {{&_swigt__p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPositionInterpolator[] = {{&_swigt__p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScalarInterpolator[] = {{&_swigt__p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCone[] = {{&_swigt__p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLine[] = {{&_swigt__p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderProgram[] = {{&_swigt__p_SoShaderProgram, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture[] = {{&_swigt__p_SoTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCacheHint[] = {{&_swigt__p_SoCacheHint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTexture[] = {{&_swigt__p_SoVRMLTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLImageTexture[] = {{&_swigt__p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMovieTexture[] = {{&_swigt__p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPixelTexture[] = {{&_swigt__p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformVec3f[] = {{&_swigt__p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateFunction[] = {{&_swigt__p_SoTextureCoordinateFunction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitListPart[] = {{&_swigt__p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSphere[] = {{&_swigt__p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateSphere[] = {{&_swigt__p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneKit[] = {{&_swigt__p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPendulum[] = {{&_swigt__p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFragmentShader[] = {{&_swigt__p_SoFragmentShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShader[] = {{&_swigt__p_SoVertexShader, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHints[] = {{&_swigt__p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2[] = {{&_swigt__p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTexture2[] = {{&_swigt__p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3[] = {{&_swigt__p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter2f[] = {{&_swigt__p_SoShaderParameter2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinatePlane[] = {{&_swigt__p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterMatrix[] = {{&_swigt__p_SoShaderParameterMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateReflectionMap[] = {{&_swigt__p_SoTextureCoordinateReflectionMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAudioClip[] = {{&_swigt__p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimeCounter[] = {{&_swigt__p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCounter[] = {{&_swigt__p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQuadMesh[] = {{&_swigt__p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSwitch[] = {{&_swigt__p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter2i[] = {{&_swigt__p_SoShaderParameter2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSwitch[] = {{&_swigt__p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText2[] = {{&_swigt__p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparator[] = {{&_swigt__p_SoSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText3[] = {{&_swigt__p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformSeparator[] = {{&_swigt__p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray1f[] = {{&_swigt__p_SoShaderParameterArray1f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteractionKit[] = {{&_swigt__p_SoInteractionKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMap[] = {{&_swigt__p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate2[] = {{&_swigt__p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate2[] = {{&_swigt__p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormal[] = {{&_swigt__p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate3[] = {{&_swigt__p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate3[] = {{&_swigt__p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate3[] = {{&_swigt__p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate4[] = {{&_swigt__p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray1i[] = {{&_swigt__p_SoShaderParameterArray1i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLOD[] = {{&_swigt__p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFont[] = {{&_swigt__p_SoFont, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotationFromTo[] = {{&_swigt__p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocateHighlight[] = {{&_swigt__p_SoLocateHighlight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLElevationGrid[] = {{&_swigt__p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLShape[] = {{&_swigt__p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexPoint[] = {{&_swigt__p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLViewpoint[] = {{&_swigt__p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBinding[] = {{&_swigt__p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBinding[] = {{&_swigt__p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBinding[] = {{&_swigt__p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexAttributeBinding[] = {{&_swigt__p_SoVertexAttributeBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolate[] = {{&_swigt__p_SoInterpolate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxManip[] = {{&_swigt__p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxManip[] = {{&_swigt__p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxManip[] = {{&_swigt__p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCollision[] = {{&_swigt__p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPackedColor[] = {{&_swigt__p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeMatrix[] = {{&_swigt__p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeMatrix[] = {{&_swigt__p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitPath[] = {{&_swigt__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitch[] = {{&_swigt__p_SoSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedFaceSet[] = {{&_swigt__p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceSet[] = {{&_swigt__p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslation[] = {{&_swigt__p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedFaceSet[] = {{&_swigt__p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShape[] = {{&_swigt__p_SoShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureScalePolicy[] = {{&_swigt__p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScript[] = {{&_swigt__p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormal[] = {{&_swigt__p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter3f[] = {{&_swigt__p_SoShaderParameter3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInline[] = {{&_swigt__p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCalculator[] = {{&_swigt__p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter3i[] = {{&_swigt__p_SoShaderParameter3i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCube[] = {{&_swigt__p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWrapperKit[] = {{&_swigt__p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGate[] = {{&_swigt__p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray2f[] = {{&_swigt__p_SoShaderParameterArray2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale[] = {{&_swigt__p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameterArray2i[] = {{&_swigt__p_SoShaderParameterArray2i, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineSet[] = {{&_swigt__p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedLineSet[] = {{&_swigt__p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLabel[] = {{&_swigt__p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLineSet[] = {{&_swigt__p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProtoInstance[] = {{&_swigt__p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInfo[] = {{&_swigt__p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderParameter[] = {{&_swigt__p_SoShaderParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUniformShaderParameter[] = {{&_swigt__p_SoUniformShaderParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShaderStateMatrixParameter[] = {{&_swigt__p_SoShaderStateMatrixParameter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec2f[] = {{&_swigt__p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec2f[] = {{&_swigt__p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDirectionalLight[] = {{&_swigt__p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProto[] = {{&_swigt__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballManip[] = {{&_swigt__p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballManip[] = {{&_swigt__p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWInline[] = {{&_swigt__p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLOD[] = {{&_swigt__p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLevelOfDetail[] = {{&_swigt__p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBase[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoBase, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoBase, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoBase, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoBase, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoBase, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoPath, _p_SoPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoBase, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoBase, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoBase, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoBase, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoBase, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoBase, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoBase, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoBase, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldContainer, _p_SoFieldContainerTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoBase, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoBase, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoBase, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoBase, 0, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoBase, 0, 0}, {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoBase, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoBase, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoBase, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoBase, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoBase, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoBase, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoBase, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoBase, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoBase, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoBase, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoBase, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackActionCB[] = { {&_swigt__p_SoCallbackActionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCamera[] = { {&_swigt__p_SoCamera, 0, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoCamera, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDebugError[] = { {&_swigt__p_SoDebugError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLight[] = { {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoDirectionalLight, 0, 0}, {&_swigt__p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngine[] = { {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoEngine, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoEngine, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoEngine, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoEngine, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutput[] = { {&_swigt__p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReadError[] = {{&_swigt__p_SoReadError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMemoryError[] = {{&_swigt__p_SoMemoryError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoError[] = { {&_swigt__p_SoDebugError, _p_SoDebugErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoReadError, _p_SoReadErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoError, 0, 0, 0}, {&_swigt__p_SoMemoryError, _p_SoMemoryErrorTo_p_SoError, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMotion3Event[] = {{&_swigt__p_SoMotion3Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoButtonEvent[] = {{&_swigt__p_SoButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMouseButtonEvent[] = {{&_swigt__p_SoMouseButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpaceballButtonEvent[] = {{&_swigt__p_SoSpaceballButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocation2Event[] = {{&_swigt__p_SoLocation2Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoKeyboardEvent[] = {{&_swigt__p_SoKeyboardEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEvent[] = { {&_swigt__p_SoMotion3Event, _p_SoMotion3EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoButtonEvent, _p_SoButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoEvent, 0, 0, 0}, {&_swigt__p_SoLocation2Event, _p_SoLocation2EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage3[] = {{&_swigt__p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFShort[] = {{&_swigt__p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFShort[] = {{&_swigt__p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFInt32[] = {{&_swigt__p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFInt32[] = {{&_swigt__p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUShort[] = {{&_swigt__p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUShort[] = {{&_swigt__p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4ub[] = {{&_swigt__p_SoSFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4ub[] = {{&_swigt__p_SoMFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUInt32[] = {{&_swigt__p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUInt32[] = {{&_swigt__p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2d[] = {{&_swigt__p_SoSFBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4b[] = {{&_swigt__p_SoSFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4b[] = {{&_swigt__p_SoMFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2f[] = {{&_swigt__p_SoSFBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4d[] = {{&_swigt__p_SoSFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4d[] = {{&_swigt__p_SoMFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4f[] = {{&_swigt__p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFMatrix[] = {{&_swigt__p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFMatrix[] = {{&_swigt__p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTime[] = {{&_swigt__p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4us[] = {{&_swigt__p_SoSFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4us[] = {{&_swigt__p_SoMFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4i32[] = {{&_swigt__p_SoSFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4i32[] = {{&_swigt__p_SoMFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPath[] = {{&_swigt__p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2s[] = {{&_swigt__p_SoSFBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2b[] = {{&_swigt__p_SoSFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2b[] = {{&_swigt__p_SoMFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3i32[] = {{&_swigt__p_SoSFBox3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2d[] = {{&_swigt__p_SoMFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2d[] = {{&_swigt__p_SoSFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFDouble[] = {{&_swigt__p_SoMFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFDouble[] = {{&_swigt__p_SoSFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4s[] = {{&_swigt__p_SoSFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4s[] = {{&_swigt__p_SoMFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBitMask[] = {{&_swigt__p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBitMask[] = {{&_swigt__p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFRotation[] = {{&_swigt__p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFRotation[] = {{&_swigt__p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2f[] = {{&_swigt__p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFTime[] = {{&_swigt__p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPath[] = {{&_swigt__p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEngine[] = {{&_swigt__p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEngine[] = {{&_swigt__p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3i32[] = {{&_swigt__p_SoMFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3i32[] = {{&_swigt__p_SoSFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTrigger[] = {{&_swigt__p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3d[] = {{&_swigt__p_SoSFBox3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColorRGBA[] = {{&_swigt__p_SoMFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColorRGBA[] = {{&_swigt__p_SoSFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2s[] = {{&_swigt__p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2s[] = {{&_swigt__p_SoMFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox2i32[] = {{&_swigt__p_SoSFBox2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPlane[] = {{&_swigt__p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3f[] = {{&_swigt__p_SoSFBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPlane[] = {{&_swigt__p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColor[] = {{&_swigt__p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColor[] = {{&_swigt__p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEnum[] = {{&_swigt__p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFNode[] = {{&_swigt__p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2i32[] = {{&_swigt__p_SoSFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage[] = {{&_swigt__p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2i32[] = {{&_swigt__p_SoMFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3s[] = {{&_swigt__p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3b[] = {{&_swigt__p_SoSFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3b[] = {{&_swigt__p_SoMFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3d[] = {{&_swigt__p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEnum[] = {{&_swigt__p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3f[] = {{&_swigt__p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBool[] = {{&_swigt__p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFFloat[] = {{&_swigt__p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFFloat[] = {{&_swigt__p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFNode[] = {{&_swigt__p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFString[] = {{&_swigt__p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFString[] = {{&_swigt__p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFName[] = {{&_swigt__p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBool[] = {{&_swigt__p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3s[] = {{&_swigt__p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3s[] = {{&_swigt__p_SoMFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4ui32[] = {{&_swigt__p_SoSFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4ui32[] = {{&_swigt__p_SoMFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFName[] = {{&_swigt__p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoField[] = { {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4ub, _p_SoSFVec4ubTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4ub, _p_SoMFVec4ubTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2d, _p_SoSFBox2dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4b, _p_SoSFVec4bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4b, _p_SoMFVec4bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2f, _p_SoSFBox2fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4d, _p_SoSFVec4dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4d, _p_SoMFVec4dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoField, 0, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4us, _p_SoSFVec4usTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4us, _p_SoMFVec4usTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4i32, _p_SoSFVec4i32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4i32, _p_SoMFVec4i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2s, _p_SoSFBox2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2b, _p_SoSFVec2bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2b, _p_SoMFVec2bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3i32, _p_SoSFBox3i32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2d, _p_SoMFVec2dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2d, _p_SoSFVec2dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFDouble, _p_SoMFDoubleTo_p_SoField, 0, 0}, {&_swigt__p_SoSFDouble, _p_SoSFDoubleTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4s, _p_SoSFVec4sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4s, _p_SoMFVec4sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoSField, _p_SoSFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3i32, _p_SoMFVec3i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3i32, _p_SoSFVec3i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3d, _p_SoSFBox3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColorRGBA, _p_SoMFColorRGBATo_p_SoField, 0, 0}, {&_swigt__p_SoSFColorRGBA, _p_SoSFColorRGBATo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2s, _p_SoMFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox2i32, _p_SoSFBox2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3f, _p_SoSFBox3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMField, _p_SoMFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2i32, _p_SoSFVec2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2i32, _p_SoMFVec2i32To_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3b, _p_SoSFVec3bTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3b, _p_SoMFVec3bTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3s, _p_SoMFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4ui32, _p_SoSFVec4ui32To_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4ui32, _p_SoMFVec4ui32To_p_SoField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldContainer[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Convert, _p_SoTexture2ConvertTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldContainer, 0, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHeightMapToNormalMap, _p_SoHeightMapToNormalMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoFieldContainer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldList[] = { {&_swigt__p_SoFieldList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLImageResizeCB[] = { {&_swigt__p_SoGLImageResizeCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAbortCB[] = { {&_swigt__p_SoGLRenderAbortCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoxHighlightRenderAction[] = {{&_swigt__p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineHighlightRenderAction[] = {{&_swigt__p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAction[] = { {&_swigt__p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInput[] = { {&_swigt__p_SoInput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionCB[] = { {&_swigt__p_SoIntersectionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionFilterCB[] = { {&_swigt__p_SoIntersectionFilterCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionVisitationCB[] = { {&_swigt__p_SoIntersectionVisitationCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2f[] = { {&_swigt__p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3d[] = { {&_swigt__p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3f[] = { {&_swigt__p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4f[] = { {&_swigt__p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMField[] = { {&_swigt__p_SoMFVec4s, _p_SoMFVec4sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4i32, _p_SoMFVec4i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3s, _p_SoMFVec3sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4ui32, _p_SoMFVec4ui32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFDouble, _p_SoMFDoubleTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2s, _p_SoMFVec2sTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoMField, 0, 0}, {&_swigt__p_SoMField, 0, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3i32, _p_SoMFVec3i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4ub, _p_SoMFVec4ubTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4b, _p_SoMFVec4bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4d, _p_SoMFVec4dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3b, _p_SoMFVec3bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2i32, _p_SoMFVec2i32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2b, _p_SoMFVec2bTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2d, _p_SoMFVec2dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColorRGBA, _p_SoMFColorRGBATo_p_SoMField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4us, _p_SoMFVec4usTo_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNode[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter4f, _p_SoShaderParameter4fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexAttribute, _p_SoVertexAttributeTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter4i, _p_SoShaderParameter4iTo_p_SoNode, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoNode, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray3f, _p_SoShaderParameterArray3fTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray3i, _p_SoShaderParameterArray3iTo_p_SoNode, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoDepthBuffer, _p_SoDepthBufferTo_p_SoNode, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterMatrixArray, _p_SoShaderParameterMatrixArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureMatrixTransform, _p_SoTextureMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedPointSet, _p_SoIndexedPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoNode, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoNode, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray4f, _p_SoShaderParameterArray4fTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderObject, _p_SoShaderObjectTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedMarkerSet, _p_SoIndexedMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray4i, _p_SoShaderParameterArray4iTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoNode, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoNode, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoNode, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCubeMap, _p_SoTextureCubeMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTextureCubeMap, _p_SoSceneTextureCubeMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateObject, _p_SoTextureCoordinateObjectTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoFrustumCamera, _p_SoFrustumCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter1f, _p_SoShaderParameter1fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter1i, _p_SoShaderParameter1iTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateNormalMap, _p_SoTextureCoordinateNormalMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoNode, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderProgram, _p_SoShaderProgramTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture, _p_SoTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoCacheHint, _p_SoCacheHintTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoFragmentShader, _p_SoFragmentShaderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShader, _p_SoVertexShaderTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter2f, _p_SoShaderParameter2fTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterMatrix, _p_SoShaderParameterMatrixTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateReflectionMap, _p_SoTextureCoordinateReflectionMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoNode, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNode, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter2i, _p_SoShaderParameter2iTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoNode, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoNode, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray1f, _p_SoShaderParameterArray1fTo_p_SoNode, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray1i, _p_SoShaderParameterArray1iTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoNode, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexAttributeBinding, _p_SoVertexAttributeBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoNode, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter3f, _p_SoShaderParameter3fTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter3i, _p_SoShaderParameter3iTo_p_SoNode, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray2f, _p_SoShaderParameterArray2fTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameterArray2i, _p_SoShaderParameterArray2iTo_p_SoNode, 0, 0}, {&_swigt__p_SoNode, 0, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderParameter, _p_SoShaderParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoUniformShaderParameter, _p_SoUniformShaderParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoShaderStateMatrixParameter, _p_SoShaderStateMatrixParameterTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotList[] = { {&_swigt__p_SoNotList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotRec[] = { {&_swigt__p_SoNotRec, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOutput[] = { {&_swigt__p_SoOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPath[] = { {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoPath, 0, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQt[] = { {&_swigt__p_SoQt, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtComponent[] = { {&_swigt__p_SoQtComponent, 0, 0, 0}, {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtGLWidget, _p_SoQtGLWidgetTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtComponent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtConstrainedViewer[] = { {&_swigt__p_SoQtConstrainedViewer, 0, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtConstrainedViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtCursor[] = { {&_swigt__p_SoQtCursor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtDevice[] = { {&_swigt__p_SoQtKeyboard, _p_SoQtKeyboardTo_p_SoQtDevice, 0, 0}, {&_swigt__p_SoQtMouse, _p_SoQtMouseTo_p_SoQtDevice, 0, 0}, {&_swigt__p_SoQtDevice, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtExaminerViewer[] = { {&_swigt__p_SoQtExaminerViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtFlyViewer[] = { {&_swigt__p_SoQtFlyViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtFullViewer[] = { {&_swigt__p_SoQtFullViewer, 0, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtFullViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtGLWidget[] = { {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtGLWidget, 0, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtGLWidget, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtKeyboard[] = { {&_swigt__p_SoQtKeyboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtMouse[] = { {&_swigt__p_SoQtMouse, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtObject[] = { {&_swigt__p_SoQtComponent, _p_SoQtComponentTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtKeyboard, _p_SoQtKeyboardTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtMouse, _p_SoQtMouseTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtObject, 0, 0, 0}, {&_swigt__p_SoQtGLWidget, _p_SoQtGLWidgetTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtDevice, _p_SoQtDeviceTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtObject, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtPlaneViewer[] = { {&_swigt__p_SoQtPlaneViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtPopupMenu[] = { {&_swigt__p_SoQtPopupMenu, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtRenderArea[] = { {&_swigt__p_SoQtRenderArea, 0, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtRenderArea, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtViewer[] = { {&_swigt__p_SoQtViewer, 0, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSField[] = { {&_swigt__p_SoSFVec4s, _p_SoSFVec4sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4i32, _p_SoSFVec4i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4ui32, _p_SoSFVec4ui32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFDouble, _p_SoSFDoubleTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3d, _p_SoSFBox3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3f, _p_SoSFBox3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3i32, _p_SoSFVec3i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2d, _p_SoSFBox2dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2f, _p_SoSFBox2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4ub, _p_SoSFVec4ubTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4b, _p_SoSFVec4bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3i32, _p_SoSFBox3i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4d, _p_SoSFVec4dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSField, 0, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3b, _p_SoSFVec3bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2i32, _p_SoSFVec2i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2b, _p_SoSFVec2bTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2s, _p_SoSFBox2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFColorRGBA, _p_SoSFColorRGBATo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2d, _p_SoSFVec2dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox2i32, _p_SoSFBox2i32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4us, _p_SoSFVec4usTo_p_SoSField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneManager[] = { {&_swigt__p_SoSceneManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelection[] = { {&_swigt__p_SoSelection, 0, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSelection, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoType[] = { {&_swigt__p_SoType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTypeList[] = { {&_swigt__p_SoTypeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__doublep[] = {{&_swigt__p_a_4__a_4__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__double[] = { {&_swigt__p_a_4__a_4__double, 0, 0, 0}, {&_swigt__p_a_4__a_4__doublep, _p_a_4__a_4__doublepTo_p_a_4__a_4__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__floatp[] = {{&_swigt__p_a_4__a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__float[] = { {&_swigt__p_a_4__a_4__float, 0, 0, 0}, {&_swigt__p_a_4__a_4__floatp, _p_a_4__a_4__floatpTo_p_a_4__a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_cc_glglue[] = { {&_swigt__p_cc_glglue, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_char[] = { {&_swigt__p_charp, _p_charpTo_p_char, 0, 0}, {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_charp[] = { {&_swigt__p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_close_func[] = { {&_swigt__p_close_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0}, {&_swigt__p_doublep, _p_doublepTo_p_double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_doublep[] = { {&_swigt__p_doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__charp[] = {{&_swigt__p_f_char__charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__char[] = { {&_swigt__p_f_char__charp, _p_f_char__charpTo_p_f_char__char, 0, 0}, {&_swigt__p_f_char__char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void_p_SoQtViewer__void[] = { {&_swigt__p_f_float_p_void_p_SoQtViewer__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_int_p_void__void[] = { {&_swigt__p_f_int_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_QWidget_p_void_p_QEvent_p_bool__void[] = { {&_swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto[] = { {&_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_q_const__SoError_p_void__void[] = { {&_swigt__p_f_p_q_const__SoError_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__void[] = { {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_int__void[] = { {&_swigt__p_f_p_void_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_QEvent__intp[] = {{&_swigt__p_f_p_void_p_QEvent__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_QEvent__int[] = { {&_swigt__p_f_p_void_p_QEvent__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_QEvent__intp, _p_f_p_void_p_QEvent__intpTo_p_f_p_void_p_QEvent__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_ScXMLStateMachine__void[] = { {&_swigt__p_f_p_void_p_ScXMLStateMachine__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void[] = { {&_swigt__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoAction__void[] = { {&_swigt__p_f_p_void_p_SoAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoDragger__void[] = { {&_swigt__p_f_p_void_p_SoDragger__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoEventCallback__void[] = { {&_swigt__p_f_p_void_p_SoEventCallback__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__floatp[] = {{&_swigt__p_f_p_void_p_SoGLRenderAction__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__float[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__float, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoGLRenderAction__floatp, _p_f_p_void_p_SoGLRenderAction__floatpTo_p_f_p_void_p_SoGLRenderAction__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__void[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoInput__void[] = { {&_swigt__p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoPath__void[] = { {&_swigt__p_f_p_void_p_SoPath__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoQtComponent__void[] = { {&_swigt__p_f_p_void_p_SoQtComponent__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoQtViewer__void[] = { {&_swigt__p_f_p_void_p_SoQtViewer__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoRenderManager__void[] = { {&_swigt__p_f_p_void_p_SoRenderManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSceneManager__void[] = { {&_swigt__p_f_p_void_p_SoSceneManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSelection__void[] = { {&_swigt__p_f_p_void_p_SoSelection__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSensor__void[] = { {&_swigt__p_f_p_void_p_SoSensor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoState_q_const__int__void[] = { {&_swigt__p_f_p_void_p_SoState_q_const__int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLScript__void[] = { {&_swigt__p_f_p_void_p_SoVRMLScript__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, _p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, _p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec2f__SbVec2f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f[] = {{&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0, 0}, {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, _p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4fTo_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_size_t__p_void[] = { {&_swigt__p_f_p_void_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_uint32_t__void[] = { {&_swigt__p_f_p_void_uint32_t__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void[] = { {&_swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int[] = { {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, _p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, _p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_void__p_void[] = { {&_swigt__p_f_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0}, {&_swigt__p_floatp, _p_floatpTo_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_floatp[] = { {&_swigt__p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int[] = { {&_swigt__p_intp, _p_intpTo_p_int, 0, 0}, {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int16_t[] = { {&_swigt__p_int16_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_intp[] = { {&_swigt__p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0}, {&_swigt__p_longp, _p_longpTo_p_long, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_longp[] = { {&_swigt__p_longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_open_func[] = { {&_swigt__p_open_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngineOutput[] = { {&_swigt__p_p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage3[] = {{&_swigt__p_p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFShort[] = {{&_swigt__p_p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFShort[] = {{&_swigt__p_p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFInt32[] = {{&_swigt__p_p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFInt32[] = {{&_swigt__p_p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUShort[] = {{&_swigt__p_p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUShort[] = {{&_swigt__p_p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4ub[] = {{&_swigt__p_p_SoSFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4ub[] = {{&_swigt__p_p_SoMFVec4ub, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUInt32[] = {{&_swigt__p_p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUInt32[] = {{&_swigt__p_p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2d[] = {{&_swigt__p_p_SoSFBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4b[] = {{&_swigt__p_p_SoSFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4b[] = {{&_swigt__p_p_SoMFVec4b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2f[] = {{&_swigt__p_p_SoSFBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4d[] = {{&_swigt__p_p_SoSFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4d[] = {{&_swigt__p_p_SoMFVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4f[] = {{&_swigt__p_p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4f[] = {{&_swigt__p_p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFMatrix[] = {{&_swigt__p_p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFMatrix[] = {{&_swigt__p_p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTime[] = {{&_swigt__p_p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4us[] = {{&_swigt__p_p_SoSFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4us[] = {{&_swigt__p_p_SoMFVec4us, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4i32[] = {{&_swigt__p_p_SoSFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4i32[] = {{&_swigt__p_p_SoMFVec4i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPath[] = {{&_swigt__p_p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2s[] = {{&_swigt__p_p_SoSFBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2b[] = {{&_swigt__p_p_SoSFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2b[] = {{&_swigt__p_p_SoMFVec2b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3i32[] = {{&_swigt__p_p_SoSFBox3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2d[] = {{&_swigt__p_p_SoMFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2d[] = {{&_swigt__p_p_SoSFVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFDouble[] = {{&_swigt__p_p_SoMFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFDouble[] = {{&_swigt__p_p_SoSFDouble, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4s[] = {{&_swigt__p_p_SoSFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4s[] = {{&_swigt__p_p_SoMFVec4s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBitMask[] = {{&_swigt__p_p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBitMask[] = {{&_swigt__p_p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFRotation[] = {{&_swigt__p_p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFRotation[] = {{&_swigt__p_p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2f[] = {{&_swigt__p_p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2f[] = {{&_swigt__p_p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFTime[] = {{&_swigt__p_p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPath[] = {{&_swigt__p_p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEngine[] = {{&_swigt__p_p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEngine[] = {{&_swigt__p_p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSField[] = {{&_swigt__p_p_SoSField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3i32[] = {{&_swigt__p_p_SoSFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3i32[] = {{&_swigt__p_p_SoMFVec3i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTrigger[] = {{&_swigt__p_p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3d[] = {{&_swigt__p_p_SoSFBox3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColorRGBA[] = {{&_swigt__p_p_SoMFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColorRGBA[] = {{&_swigt__p_p_SoSFColorRGBA, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2s[] = {{&_swigt__p_p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2s[] = {{&_swigt__p_p_SoMFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox2i32[] = {{&_swigt__p_p_SoSFBox2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPlane[] = {{&_swigt__p_p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPlane[] = {{&_swigt__p_p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3f[] = {{&_swigt__p_p_SoSFBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColor[] = {{&_swigt__p_p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColor[] = {{&_swigt__p_p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMField[] = {{&_swigt__p_p_SoMField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEnum[] = {{&_swigt__p_p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFNode[] = {{&_swigt__p_p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2i32[] = {{&_swigt__p_p_SoSFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2i32[] = {{&_swigt__p_p_SoMFVec2i32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage[] = {{&_swigt__p_p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3s[] = {{&_swigt__p_p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3b[] = {{&_swigt__p_p_SoSFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3b[] = {{&_swigt__p_p_SoMFVec3b, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3d[] = {{&_swigt__p_p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3d[] = {{&_swigt__p_p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEnum[] = {{&_swigt__p_p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3f[] = {{&_swigt__p_p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3f[] = {{&_swigt__p_p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBool[] = {{&_swigt__p_p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFNode[] = {{&_swigt__p_p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFFloat[] = {{&_swigt__p_p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFFloat[] = {{&_swigt__p_p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFString[] = {{&_swigt__p_p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFString[] = {{&_swigt__p_p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFName[] = {{&_swigt__p_p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBool[] = {{&_swigt__p_p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3s[] = {{&_swigt__p_p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3s[] = {{&_swigt__p_p_SoMFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFName[] = {{&_swigt__p_p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4ui32[] = {{&_swigt__p_p_SoSFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4ui32[] = {{&_swigt__p_p_SoMFVec4ui32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoField[] = { {&_swigt__p_p_SoSFImage3, _p_p_SoSFImage3To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFShort, _p_p_SoSFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFInt32, _p_p_SoSFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUShort, _p_p_SoSFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4ub, _p_p_SoSFVec4ubTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4ub, _p_p_SoMFVec4ubTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUInt32, _p_p_SoSFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2d, _p_p_SoSFBox2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4b, _p_p_SoSFVec4bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4b, _p_p_SoMFVec4bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2f, _p_p_SoSFBox2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4d, _p_p_SoSFVec4dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4d, _p_p_SoMFVec4dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4f, _p_p_SoSFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFMatrix, _p_p_SoSFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoField, 0, 0, 0}, {&_swigt__p_p_SoSFTime, _p_p_SoSFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4us, _p_p_SoSFVec4usTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4us, _p_p_SoMFVec4usTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4i32, _p_p_SoSFVec4i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4i32, _p_p_SoMFVec4i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPath, _p_p_SoSFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2s, _p_p_SoSFBox2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2b, _p_p_SoSFVec2bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2b, _p_p_SoMFVec2bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3i32, _p_p_SoSFBox3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2d, _p_p_SoMFVec2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2d, _p_p_SoSFVec2dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFDouble, _p_p_SoMFDoubleTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFDouble, _p_p_SoSFDoubleTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4s, _p_p_SoSFVec4sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4s, _p_p_SoMFVec4sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBitMask, _p_p_SoSFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFRotation, _p_p_SoSFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2f, _p_p_SoSFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEngine, _p_p_SoSFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSField, _p_p_SoSFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3i32, _p_p_SoSFVec3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3i32, _p_p_SoMFVec3i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFTrigger, _p_p_SoSFTriggerTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3d, _p_p_SoSFBox3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColorRGBA, _p_p_SoMFColorRGBATo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColorRGBA, _p_p_SoSFColorRGBATo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2s, _p_p_SoSFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2s, _p_p_SoMFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox2i32, _p_p_SoSFBox2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPlane, _p_p_SoSFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3f, _p_p_SoSFBox3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColor, _p_p_SoSFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMField, _p_p_SoMFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEnum, _p_p_SoSFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFNode, _p_p_SoSFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2i32, _p_p_SoSFVec2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2i32, _p_p_SoMFVec2i32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage, _p_p_SoSFImageTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3s, _p_p_SoSFBox3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3b, _p_p_SoSFVec3bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3b, _p_p_SoMFVec3bTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3d, _p_p_SoSFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3f, _p_p_SoSFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBool, _p_p_SoSFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFFloat, _p_p_SoSFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFString, _p_p_SoSFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFName, _p_p_SoSFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3s, _p_p_SoSFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3s, _p_p_SoMFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4ui32, _p_p_SoSFVec4ui32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4ui32, _p_p_SoMFVec4ui32To_p_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_charp[] = {{&_swigt__p_p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_charp, _p_p_charpTo_p_p_char, 0, 0}, {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_read_func[] = { {&_swigt__p_read_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_seek_func[] = { {&_swigt__p_seek_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_tell_func[] = { {&_swigt__p_tell_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_time_t[] = { {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_timeval[] = { {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uint16_t[] = { {&_swigt__p_uint16_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_uintptr_t[] = { {&_swigt__p_uintptr_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; - -static swig_cast_info *swig_cast_initial[] = { - _swigc__p_AttributeApplyFunc, - _swigc__p_ContextDestructionCB, - _swigc__p_CustomCursor, - _swigc__p_FILE, - _swigc__p_FatalErrorCB, - _swigc__p_Key, - _swigc__p_ProgressCallbackType, - _swigc__p_QEvent, - _swigc__p_QWidget, - _swigc__p_SbColor, - _swigc__p_SbColor4f, - _swigc__p_SbDict, - _swigc__p_SbDictApplyDataFunc, - _swigc__p_SbDictApplyFunc, - _swigc__p_SbDictHashingFunc, - _swigc__p_SbIntList, - _swigc__p_SbMatrix, - _swigc__p_SbName, - _swigc__p_SbPList, - _swigc__p_SbPlane, - _swigc__p_SbRotation, - _swigc__p_SbString, - _swigc__p_SbStringList, - _swigc__p_SbTime, - _swigc__p_SbVec2b, - _swigc__p_SbVec2d, - _swigc__p_SbVec2f, - _swigc__p_SbVec2i32, - _swigc__p_SbVec2s, - _swigc__p_SbVec2us, - _swigc__p_SbVec3d, - _swigc__p_SbVec3f, - _swigc__p_SbVec3fList, - _swigc__p_SbVec4f, - _swigc__p_SbViewportRegion, - _swigc__p_SoActionMethodList, - _swigc__p_SoAnnotation, - _swigc__p_SoAntiSquish, - _swigc__p_SoAppearanceKit, - _swigc__p_SoArray, - _swigc__p_SoAsciiText, - _swigc__p_SoAuditorList, - _swigc__p_SoBase, - _swigc__p_SoBaseColor, - _swigc__p_SoBaseKit, - _swigc__p_SoBaseList, - _swigc__p_SoBlinker, - _swigc__p_SoBoolOperation, - _swigc__p_SoBoxHighlightRenderAction, - _swigc__p_SoBumpMap, - _swigc__p_SoBumpMapCoordinate, - _swigc__p_SoBumpMapTransform, - _swigc__p_SoButtonEvent, - _swigc__p_SoCacheHint, - _swigc__p_SoCalculator, - _swigc__p_SoCallback, - _swigc__p_SoCallbackActionCB, - _swigc__p_SoCamera, - _swigc__p_SoCameraKit, - _swigc__p_SoCenterballDragger, - _swigc__p_SoCenterballManip, - _swigc__p_SoChildList, - _swigc__p_SoClipPlane, - _swigc__p_SoClipPlaneManip, - _swigc__p_SoColorIndex, - _swigc__p_SoComplexity, - _swigc__p_SoComposeMatrix, - _swigc__p_SoComposeRotation, - _swigc__p_SoComposeRotationFromTo, - _swigc__p_SoComposeVec2f, - _swigc__p_SoComposeVec3f, - _swigc__p_SoComposeVec4f, - _swigc__p_SoComputeBoundingBox, - _swigc__p_SoConcatenate, - _swigc__p_SoCone, - _swigc__p_SoCoordinate3, - _swigc__p_SoCoordinate4, - _swigc__p_SoCounter, - _swigc__p_SoCube, - _swigc__p_SoCylinder, - _swigc__p_SoDebugError, - _swigc__p_SoDecomposeMatrix, - _swigc__p_SoDecomposeRotation, - _swigc__p_SoDecomposeVec2f, - _swigc__p_SoDecomposeVec3f, - _swigc__p_SoDecomposeVec4f, - _swigc__p_SoDepthBuffer, - _swigc__p_SoDetailList, - _swigc__p_SoDirectionalLight, - _swigc__p_SoDirectionalLightDragger, - _swigc__p_SoDirectionalLightManip, - _swigc__p_SoDragPointDragger, - _swigc__p_SoDragger, - _swigc__p_SoDrawStyle, - _swigc__p_SoElapsedTime, - _swigc__p_SoEngine, - _swigc__p_SoEngineList, - _swigc__p_SoEngineOutput, - _swigc__p_SoEngineOutputList, - _swigc__p_SoEnvironment, - _swigc__p_SoError, - _swigc__p_SoEvent, - _swigc__p_SoEventCallback, - _swigc__p_SoExtSelection, - _swigc__p_SoFaceSet, - _swigc__p_SoField, - _swigc__p_SoFieldContainer, - _swigc__p_SoFieldConverter, - _swigc__p_SoFieldList, - _swigc__p_SoFile, - _swigc__p_SoFont, - _swigc__p_SoFontStyle, - _swigc__p_SoFragmentShader, - _swigc__p_SoFrustumCamera, - _swigc__p_SoFullPath, - _swigc__p_SoGLImageResizeCB, - _swigc__p_SoGLRenderAbortCB, - _swigc__p_SoGLRenderAction, - _swigc__p_SoGate, - _swigc__p_SoGroup, - _swigc__p_SoHandleBoxDragger, - _swigc__p_SoHandleBoxManip, - _swigc__p_SoHeightMapToNormalMap, - _swigc__p_SoImage, - _swigc__p_SoIndexedFaceSet, - _swigc__p_SoIndexedLineSet, - _swigc__p_SoIndexedMarkerSet, - _swigc__p_SoIndexedNurbsCurve, - _swigc__p_SoIndexedNurbsSurface, - _swigc__p_SoIndexedPointSet, - _swigc__p_SoIndexedShape, - _swigc__p_SoIndexedTriangleStripSet, - _swigc__p_SoInfo, - _swigc__p_SoInput, - _swigc__p_SoInteractionKit, - _swigc__p_SoInterpolate, - _swigc__p_SoInterpolateFloat, - _swigc__p_SoInterpolateRotation, - _swigc__p_SoInterpolateVec2f, - _swigc__p_SoInterpolateVec3f, - _swigc__p_SoInterpolateVec4f, - _swigc__p_SoIntersectionCB, - _swigc__p_SoIntersectionFilterCB, - _swigc__p_SoIntersectionVisitationCB, - _swigc__p_SoJackDragger, - _swigc__p_SoJackManip, - _swigc__p_SoKeyboardEvent, - _swigc__p_SoLOD, - _swigc__p_SoLabel, - _swigc__p_SoLevelOfDetail, - _swigc__p_SoLight, - _swigc__p_SoLightKit, - _swigc__p_SoLightModel, - _swigc__p_SoLineHighlightRenderAction, - _swigc__p_SoLineSet, - _swigc__p_SoLinearProfile, - _swigc__p_SoListener, - _swigc__p_SoLocateHighlight, - _swigc__p_SoLocation2Event, - _swigc__p_SoMFBitMask, - _swigc__p_SoMFBool, - _swigc__p_SoMFColor, - _swigc__p_SoMFColorRGBA, - _swigc__p_SoMFDouble, - _swigc__p_SoMFEngine, - _swigc__p_SoMFEnum, - _swigc__p_SoMFFloat, - _swigc__p_SoMFInt32, - _swigc__p_SoMFMatrix, - _swigc__p_SoMFName, - _swigc__p_SoMFNode, - _swigc__p_SoMFPath, - _swigc__p_SoMFPlane, - _swigc__p_SoMFRotation, - _swigc__p_SoMFShort, - _swigc__p_SoMFString, - _swigc__p_SoMFTime, - _swigc__p_SoMFUInt32, - _swigc__p_SoMFUShort, - _swigc__p_SoMFVec2b, - _swigc__p_SoMFVec2d, - _swigc__p_SoMFVec2f, - _swigc__p_SoMFVec2i32, - _swigc__p_SoMFVec2s, - _swigc__p_SoMFVec3b, - _swigc__p_SoMFVec3d, - _swigc__p_SoMFVec3f, - _swigc__p_SoMFVec3i32, - _swigc__p_SoMFVec3s, - _swigc__p_SoMFVec4b, - _swigc__p_SoMFVec4d, - _swigc__p_SoMFVec4f, - _swigc__p_SoMFVec4i32, - _swigc__p_SoMFVec4s, - _swigc__p_SoMFVec4ub, - _swigc__p_SoMFVec4ui32, - _swigc__p_SoMFVec4us, - _swigc__p_SoMField, - _swigc__p_SoMarkerSet, - _swigc__p_SoMaterial, - _swigc__p_SoMaterialBinding, - _swigc__p_SoMatrixTransform, - _swigc__p_SoMemoryError, - _swigc__p_SoMotion3Event, - _swigc__p_SoMouseButtonEvent, - _swigc__p_SoMultipleCopy, - _swigc__p_SoNode, - _swigc__p_SoNodeEngine, - _swigc__p_SoNodeKitListPart, - _swigc__p_SoNodeKitPath, - _swigc__p_SoNodeList, - _swigc__p_SoNonIndexedShape, - _swigc__p_SoNormal, - _swigc__p_SoNormalBinding, - _swigc__p_SoNotList, - _swigc__p_SoNotRec, - _swigc__p_SoNurbsCurve, - _swigc__p_SoNurbsProfile, - _swigc__p_SoNurbsSurface, - _swigc__p_SoOnOff, - _swigc__p_SoOneShot, - _swigc__p_SoOrthographicCamera, - _swigc__p_SoOutput, - _swigc__p_SoPackedColor, - _swigc__p_SoPath, - _swigc__p_SoPathList, - _swigc__p_SoPathSwitch, - _swigc__p_SoPendulum, - _swigc__p_SoPerspectiveCamera, - _swigc__p_SoPickStyle, - _swigc__p_SoPickedPointList, - _swigc__p_SoPointLight, - _swigc__p_SoPointLightDragger, - _swigc__p_SoPointLightManip, - _swigc__p_SoPointSet, - _swigc__p_SoPolygonOffset, - _swigc__p_SoProfile, - _swigc__p_SoProfileCoordinate2, - _swigc__p_SoProfileCoordinate3, - _swigc__p_SoProto, - _swigc__p_SoProtoInstance, - _swigc__p_SoQt, - _swigc__p_SoQtComponent, - _swigc__p_SoQtConstrainedViewer, - _swigc__p_SoQtCursor, - _swigc__p_SoQtDevice, - _swigc__p_SoQtExaminerViewer, - _swigc__p_SoQtFlyViewer, - _swigc__p_SoQtFullViewer, - _swigc__p_SoQtGLWidget, - _swigc__p_SoQtKeyboard, - _swigc__p_SoQtMouse, - _swigc__p_SoQtObject, - _swigc__p_SoQtPlaneViewer, - _swigc__p_SoQtPopupMenu, - _swigc__p_SoQtRenderArea, - _swigc__p_SoQtViewer, - _swigc__p_SoQuadMesh, - _swigc__p_SoReadError, - _swigc__p_SoResetTransform, - _swigc__p_SoRotateCylindricalDragger, - _swigc__p_SoRotateDiscDragger, - _swigc__p_SoRotateSphericalDragger, - _swigc__p_SoRotation, - _swigc__p_SoRotationXYZ, - _swigc__p_SoRotor, - _swigc__p_SoSFBitMask, - _swigc__p_SoSFBool, - _swigc__p_SoSFBox2d, - _swigc__p_SoSFBox2f, - _swigc__p_SoSFBox2i32, - _swigc__p_SoSFBox2s, - _swigc__p_SoSFBox3d, - _swigc__p_SoSFBox3f, - _swigc__p_SoSFBox3i32, - _swigc__p_SoSFBox3s, - _swigc__p_SoSFColor, - _swigc__p_SoSFColorRGBA, - _swigc__p_SoSFDouble, - _swigc__p_SoSFEngine, - _swigc__p_SoSFEnum, - _swigc__p_SoSFFloat, - _swigc__p_SoSFImage, - _swigc__p_SoSFImage3, - _swigc__p_SoSFInt32, - _swigc__p_SoSFMatrix, - _swigc__p_SoSFName, - _swigc__p_SoSFNode, - _swigc__p_SoSFPath, - _swigc__p_SoSFPlane, - _swigc__p_SoSFRotation, - _swigc__p_SoSFShort, - _swigc__p_SoSFString, - _swigc__p_SoSFTime, - _swigc__p_SoSFTrigger, - _swigc__p_SoSFUInt32, - _swigc__p_SoSFUShort, - _swigc__p_SoSFVec2b, - _swigc__p_SoSFVec2d, - _swigc__p_SoSFVec2f, - _swigc__p_SoSFVec2i32, - _swigc__p_SoSFVec2s, - _swigc__p_SoSFVec3b, - _swigc__p_SoSFVec3d, - _swigc__p_SoSFVec3f, - _swigc__p_SoSFVec3i32, - _swigc__p_SoSFVec3s, - _swigc__p_SoSFVec4b, - _swigc__p_SoSFVec4d, - _swigc__p_SoSFVec4f, - _swigc__p_SoSFVec4i32, - _swigc__p_SoSFVec4s, - _swigc__p_SoSFVec4ub, - _swigc__p_SoSFVec4ui32, - _swigc__p_SoSFVec4us, - _swigc__p_SoSField, - _swigc__p_SoScale, - _swigc__p_SoScale1Dragger, - _swigc__p_SoScale2Dragger, - _swigc__p_SoScale2UniformDragger, - _swigc__p_SoScaleUniformDragger, - _swigc__p_SoSceneKit, - _swigc__p_SoSceneManager, - _swigc__p_SoSceneTexture2, - _swigc__p_SoSceneTextureCubeMap, - _swigc__p_SoSelectOne, - _swigc__p_SoSelection, - _swigc__p_SoSeparator, - _swigc__p_SoSeparatorKit, - _swigc__p_SoShaderObject, - _swigc__p_SoShaderParameter, - _swigc__p_SoShaderParameter1f, - _swigc__p_SoShaderParameter1i, - _swigc__p_SoShaderParameter2f, - _swigc__p_SoShaderParameter2i, - _swigc__p_SoShaderParameter3f, - _swigc__p_SoShaderParameter3i, - _swigc__p_SoShaderParameter4f, - _swigc__p_SoShaderParameter4i, - _swigc__p_SoShaderParameterArray1f, - _swigc__p_SoShaderParameterArray1i, - _swigc__p_SoShaderParameterArray2f, - _swigc__p_SoShaderParameterArray2i, - _swigc__p_SoShaderParameterArray3f, - _swigc__p_SoShaderParameterArray3i, - _swigc__p_SoShaderParameterArray4f, - _swigc__p_SoShaderParameterArray4i, - _swigc__p_SoShaderParameterMatrix, - _swigc__p_SoShaderParameterMatrixArray, - _swigc__p_SoShaderProgram, - _swigc__p_SoShaderStateMatrixParameter, - _swigc__p_SoShape, - _swigc__p_SoShapeHints, - _swigc__p_SoShapeKit, - _swigc__p_SoShuttle, - _swigc__p_SoSpaceballButtonEvent, - _swigc__p_SoSphere, - _swigc__p_SoSpotLight, - _swigc__p_SoSpotLightDragger, - _swigc__p_SoSpotLightManip, - _swigc__p_SoSurroundScale, - _swigc__p_SoSwitch, - _swigc__p_SoTabBoxDragger, - _swigc__p_SoTabBoxManip, - _swigc__p_SoTabPlaneDragger, - _swigc__p_SoTempPath, - _swigc__p_SoText2, - _swigc__p_SoText3, - _swigc__p_SoTexture, - _swigc__p_SoTexture2, - _swigc__p_SoTexture2Convert, - _swigc__p_SoTexture2Transform, - _swigc__p_SoTexture3, - _swigc__p_SoTexture3Transform, - _swigc__p_SoTextureCombine, - _swigc__p_SoTextureCoordinate2, - _swigc__p_SoTextureCoordinate3, - _swigc__p_SoTextureCoordinateBinding, - _swigc__p_SoTextureCoordinateCube, - _swigc__p_SoTextureCoordinateCylinder, - _swigc__p_SoTextureCoordinateDefault, - _swigc__p_SoTextureCoordinateEnvironment, - _swigc__p_SoTextureCoordinateFunction, - _swigc__p_SoTextureCoordinateNormalMap, - _swigc__p_SoTextureCoordinateObject, - _swigc__p_SoTextureCoordinatePlane, - _swigc__p_SoTextureCoordinateReflectionMap, - _swigc__p_SoTextureCoordinateSphere, - _swigc__p_SoTextureCubeMap, - _swigc__p_SoTextureMatrixTransform, - _swigc__p_SoTextureScalePolicy, - _swigc__p_SoTextureUnit, - _swigc__p_SoTimeCounter, - _swigc__p_SoTrackballDragger, - _swigc__p_SoTrackballManip, - _swigc__p_SoTransform, - _swigc__p_SoTransformBoxDragger, - _swigc__p_SoTransformBoxManip, - _swigc__p_SoTransformManip, - _swigc__p_SoTransformSeparator, - _swigc__p_SoTransformVec3f, - _swigc__p_SoTransformation, - _swigc__p_SoTransformerDragger, - _swigc__p_SoTransformerManip, - _swigc__p_SoTranslate1Dragger, - _swigc__p_SoTranslate2Dragger, - _swigc__p_SoTranslation, - _swigc__p_SoTransparencyType, - _swigc__p_SoTriangleStripSet, - _swigc__p_SoTriggerAny, - _swigc__p_SoType, - _swigc__p_SoTypeList, - _swigc__p_SoUniformShaderParameter, - _swigc__p_SoUnits, - _swigc__p_SoVRMLAnchor, - _swigc__p_SoVRMLAppearance, - _swigc__p_SoVRMLAudioClip, - _swigc__p_SoVRMLBackground, - _swigc__p_SoVRMLBillboard, - _swigc__p_SoVRMLBox, - _swigc__p_SoVRMLCollision, - _swigc__p_SoVRMLColor, - _swigc__p_SoVRMLColorInterpolator, - _swigc__p_SoVRMLCone, - _swigc__p_SoVRMLCoordinate, - _swigc__p_SoVRMLCoordinateInterpolator, - _swigc__p_SoVRMLCylinder, - _swigc__p_SoVRMLCylinderSensor, - _swigc__p_SoVRMLDirectionalLight, - _swigc__p_SoVRMLDragSensor, - _swigc__p_SoVRMLElevationGrid, - _swigc__p_SoVRMLExtrusion, - _swigc__p_SoVRMLFog, - _swigc__p_SoVRMLFontStyle, - _swigc__p_SoVRMLGeometry, - _swigc__p_SoVRMLGroup, - _swigc__p_SoVRMLImageTexture, - _swigc__p_SoVRMLIndexedFaceSet, - _swigc__p_SoVRMLIndexedLine, - _swigc__p_SoVRMLIndexedLineSet, - _swigc__p_SoVRMLIndexedShape, - _swigc__p_SoVRMLInline, - _swigc__p_SoVRMLInterpolator, - _swigc__p_SoVRMLLOD, - _swigc__p_SoVRMLLight, - _swigc__p_SoVRMLMaterial, - _swigc__p_SoVRMLMovieTexture, - _swigc__p_SoVRMLNavigationInfo, - _swigc__p_SoVRMLNormal, - _swigc__p_SoVRMLNormalInterpolator, - _swigc__p_SoVRMLOrientationInterpolator, - _swigc__p_SoVRMLParent, - _swigc__p_SoVRMLPixelTexture, - _swigc__p_SoVRMLPlaneSensor, - _swigc__p_SoVRMLPointLight, - _swigc__p_SoVRMLPointSet, - _swigc__p_SoVRMLPositionInterpolator, - _swigc__p_SoVRMLProximitySensor, - _swigc__p_SoVRMLScalarInterpolator, - _swigc__p_SoVRMLScript, - _swigc__p_SoVRMLSensor, - _swigc__p_SoVRMLShape, - _swigc__p_SoVRMLSound, - _swigc__p_SoVRMLSphere, - _swigc__p_SoVRMLSphereSensor, - _swigc__p_SoVRMLSpotLight, - _swigc__p_SoVRMLSwitch, - _swigc__p_SoVRMLText, - _swigc__p_SoVRMLTexture, - _swigc__p_SoVRMLTextureCoordinate, - _swigc__p_SoVRMLTextureTransform, - _swigc__p_SoVRMLTimeSensor, - _swigc__p_SoVRMLTouchSensor, - _swigc__p_SoVRMLTransform, - _swigc__p_SoVRMLVertexLine, - _swigc__p_SoVRMLVertexPoint, - _swigc__p_SoVRMLVertexShape, - _swigc__p_SoVRMLViewpoint, - _swigc__p_SoVRMLVisibilitySensor, - _swigc__p_SoVRMLWorldInfo, - _swigc__p_SoVertexAttribute, - _swigc__p_SoVertexAttributeBinding, - _swigc__p_SoVertexProperty, - _swigc__p_SoVertexShader, - _swigc__p_SoVertexShape, - _swigc__p_SoWWWAnchor, - _swigc__p_SoWWWInline, - _swigc__p_SoWrapperKit, - _swigc__p_a_4__a_4__double, - _swigc__p_a_4__a_4__doublep, - _swigc__p_a_4__a_4__float, - _swigc__p_a_4__a_4__floatp, - _swigc__p_cc_glglue, - _swigc__p_char, - _swigc__p_charp, - _swigc__p_close_func, - _swigc__p_double, - _swigc__p_doublep, - _swigc__p_f_char__char, - _swigc__p_f_char__charp, - _swigc__p_f_float_p_void_p_SoQtViewer__void, - _swigc__p_f_int_p_void__void, - _swigc__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, - _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - _swigc__p_f_p_q_const__SoError_p_void__void, - _swigc__p_f_p_void__void, - _swigc__p_f_p_void_int__void, - _swigc__p_f_p_void_p_QEvent__int, - _swigc__p_f_p_void_p_QEvent__intp, - _swigc__p_f_p_void_p_ScXMLStateMachine__void, - _swigc__p_f_p_void_p_ScXMLStateMachine_p_q_const__char_int_int__void, - _swigc__p_f_p_void_p_SoAction__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoDragger__void, - _swigc__p_f_p_void_p_SoEventCallback__void, - _swigc__p_f_p_void_p_SoGLRenderAction__float, - _swigc__p_f_p_void_p_SoGLRenderAction__floatp, - _swigc__p_f_p_void_p_SoGLRenderAction__void, - _swigc__p_f_p_void_p_SoInput__void, - _swigc__p_f_p_void_p_SoPath__void, - _swigc__p_f_p_void_p_SoQtComponent__void, - _swigc__p_f_p_void_p_SoQtViewer__void, - _swigc__p_f_p_void_p_SoRenderManager__void, - _swigc__p_f_p_void_p_SoSceneManager__void, - _swigc__p_f_p_void_p_SoSelection__void, - _swigc__p_f_p_void_p_SoSensor__void, - _swigc__p_f_p_void_p_SoState_q_const__int__void, - _swigc__p_f_p_void_p_SoVRMLScript__void, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - _swigc__p_f_p_void_p_void__void, - _swigc__p_f_p_void_p_void_p_void_p_void__void, - _swigc__p_f_p_void_r_q_const__SbVec2f__SbVec2f, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbColor4f, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - _swigc__p_f_p_void_size_t__p_void, - _swigc__p_f_p_void_uint32_t__void, - _swigc__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - _swigc__p_f_void__p_void, - _swigc__p_float, - _swigc__p_floatp, - _swigc__p_int, - _swigc__p_int16_t, - _swigc__p_intp, - _swigc__p_long, - _swigc__p_longp, - _swigc__p_open_func, - _swigc__p_p_SoEngineOutput, - _swigc__p_p_SoField, - _swigc__p_p_SoMFBitMask, - _swigc__p_p_SoMFBool, - _swigc__p_p_SoMFColor, - _swigc__p_p_SoMFColorRGBA, - _swigc__p_p_SoMFDouble, - _swigc__p_p_SoMFEngine, - _swigc__p_p_SoMFEnum, - _swigc__p_p_SoMFFloat, - _swigc__p_p_SoMFInt32, - _swigc__p_p_SoMFMatrix, - _swigc__p_p_SoMFName, - _swigc__p_p_SoMFNode, - _swigc__p_p_SoMFPath, - _swigc__p_p_SoMFPlane, - _swigc__p_p_SoMFRotation, - _swigc__p_p_SoMFShort, - _swigc__p_p_SoMFString, - _swigc__p_p_SoMFTime, - _swigc__p_p_SoMFUInt32, - _swigc__p_p_SoMFUShort, - _swigc__p_p_SoMFVec2b, - _swigc__p_p_SoMFVec2d, - _swigc__p_p_SoMFVec2f, - _swigc__p_p_SoMFVec2i32, - _swigc__p_p_SoMFVec2s, - _swigc__p_p_SoMFVec3b, - _swigc__p_p_SoMFVec3d, - _swigc__p_p_SoMFVec3f, - _swigc__p_p_SoMFVec3i32, - _swigc__p_p_SoMFVec3s, - _swigc__p_p_SoMFVec4b, - _swigc__p_p_SoMFVec4d, - _swigc__p_p_SoMFVec4f, - _swigc__p_p_SoMFVec4i32, - _swigc__p_p_SoMFVec4s, - _swigc__p_p_SoMFVec4ub, - _swigc__p_p_SoMFVec4ui32, - _swigc__p_p_SoMFVec4us, - _swigc__p_p_SoMField, - _swigc__p_p_SoSFBitMask, - _swigc__p_p_SoSFBool, - _swigc__p_p_SoSFBox2d, - _swigc__p_p_SoSFBox2f, - _swigc__p_p_SoSFBox2i32, - _swigc__p_p_SoSFBox2s, - _swigc__p_p_SoSFBox3d, - _swigc__p_p_SoSFBox3f, - _swigc__p_p_SoSFBox3i32, - _swigc__p_p_SoSFBox3s, - _swigc__p_p_SoSFColor, - _swigc__p_p_SoSFColorRGBA, - _swigc__p_p_SoSFDouble, - _swigc__p_p_SoSFEngine, - _swigc__p_p_SoSFEnum, - _swigc__p_p_SoSFFloat, - _swigc__p_p_SoSFImage, - _swigc__p_p_SoSFImage3, - _swigc__p_p_SoSFInt32, - _swigc__p_p_SoSFMatrix, - _swigc__p_p_SoSFName, - _swigc__p_p_SoSFNode, - _swigc__p_p_SoSFPath, - _swigc__p_p_SoSFPlane, - _swigc__p_p_SoSFRotation, - _swigc__p_p_SoSFShort, - _swigc__p_p_SoSFString, - _swigc__p_p_SoSFTime, - _swigc__p_p_SoSFTrigger, - _swigc__p_p_SoSFUInt32, - _swigc__p_p_SoSFUShort, - _swigc__p_p_SoSFVec2b, - _swigc__p_p_SoSFVec2d, - _swigc__p_p_SoSFVec2f, - _swigc__p_p_SoSFVec2i32, - _swigc__p_p_SoSFVec2s, - _swigc__p_p_SoSFVec3b, - _swigc__p_p_SoSFVec3d, - _swigc__p_p_SoSFVec3f, - _swigc__p_p_SoSFVec3i32, - _swigc__p_p_SoSFVec3s, - _swigc__p_p_SoSFVec4b, - _swigc__p_p_SoSFVec4d, - _swigc__p_p_SoSFVec4f, - _swigc__p_p_SoSFVec4i32, - _swigc__p_p_SoSFVec4s, - _swigc__p_p_SoSFVec4ub, - _swigc__p_p_SoSFVec4ui32, - _swigc__p_p_SoSFVec4us, - _swigc__p_p_SoSField, - _swigc__p_p_char, - _swigc__p_p_charp, - _swigc__p_p_void, - _swigc__p_read_func, - _swigc__p_seek_func, - _swigc__p_short, - _swigc__p_tell_func, - _swigc__p_time_t, - _swigc__p_timeval, - _swigc__p_uint16_t, - _swigc__p_uintptr_t, - _swigc__p_void, -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ - -static swig_const_info swig_const_table[] = { -{0, 0, 0, 0.0, 0, 0}}; - -#ifdef __cplusplus -} -#endif -/* ----------------------------------------------------------------------------- - * Type initialization: - * This problem is tough by the requirement that no dynamic - * memory is used. Also, since swig_type_info structures store pointers to - * swig_cast_info structures and swig_cast_info structures store pointers back - * to swig_type_info structures, we need some lookup code at initialization. - * The idea is that swig generates all the structures that are needed. - * The runtime then collects these partially filled structures. - * The SWIG_InitializeModule function takes these initial arrays out of - * swig_module, and does all the lookup, filling in the swig_module.types - * array with the correct data and linking the correct swig_cast_info - * structures together. - * - * The generated swig_type_info structures are assigned staticly to an initial - * array. We just loop through that array, and handle each type individually. - * First we lookup if this type has been already loaded, and if so, use the - * loaded structure instead of the generated one. Then we have to fill in the - * cast linked list. The cast data is initially stored in something like a - * two-dimensional array. Each row corresponds to a type (there are the same - * number of rows as there are in the swig_type_initial array). Each entry in - * a column is one of the swig_cast_info structures for that type. - * The cast_initial array is actually an array of arrays, because each row has - * a variable number of columns. So to actually build the cast linked list, - * we find the array of casts associated with the type, and loop through it - * adding the casts to the list. The one last trick we need to do is making - * sure the type pointer in the swig_cast_info struct is correct. - * - * First off, we lookup the cast->type name to see if it is already loaded. - * There are three cases to handle: - * 1) If the cast->type has already been loaded AND the type we are adding - * casting info to has not been loaded (it is in this module), THEN we - * replace the cast->type pointer with the type pointer that has already - * been loaded. - * 2) If BOTH types (the one we are adding casting info to, and the - * cast->type) are loaded, THEN the cast info has already been loaded by - * the previous module so we just ignore it. - * 3) Finally, if cast->type has not already been loaded, then we add that - * swig_cast_info to the linked list (because the cast->type) pointer will - * be correct. - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* c-mode */ -#endif -#endif - -#if 0 -#define SWIGRUNTIME_DEBUG -#endif - - -SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { - size_t i; - swig_module_info *module_head, *iter; - int found, init; - - clientdata = clientdata; - - /* check to see if the circular list has been setup, if not, set it up */ - if (swig_module.next==0) { - /* Initialize the swig_module */ - swig_module.type_initial = swig_type_initial; - swig_module.cast_initial = swig_cast_initial; - swig_module.next = &swig_module; - init = 1; - } else { - init = 0; - } - - /* Try and load any already created modules */ - module_head = SWIG_GetModule(clientdata); - if (!module_head) { - /* This is the first module loaded for this interpreter */ - /* so set the swig module into the interpreter */ - SWIG_SetModule(clientdata, &swig_module); - module_head = &swig_module; - } else { - /* the interpreter has loaded a SWIG module, but has it loaded this one? */ - found=0; - iter=module_head; - do { - if (iter==&swig_module) { - found=1; - break; - } - iter=iter->next; - } while (iter!= module_head); - - /* if the is found in the list, then all is done and we may leave */ - if (found) return; - /* otherwise we must add out module into the list */ - swig_module.next = module_head->next; - module_head->next = &swig_module; - } - - /* When multiple interpeters are used, a module could have already been initialized in - a different interpreter, but not yet have a pointer in this interpreter. - In this case, we do not want to continue adding types... everything should be - set up already */ - if (init == 0) return; - - /* Now work on filling in swig_module.types */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: size %d\n", swig_module.size); -#endif - for (i = 0; i < swig_module.size; ++i) { - swig_type_info *type = 0; - swig_type_info *ret; - swig_cast_info *cast; - -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); -#endif - - /* if there is another module already loaded */ - if (swig_module.next != &swig_module) { - type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); - } - if (type) { - /* Overwrite clientdata field */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found type %s\n", type->name); -#endif - if (swig_module.type_initial[i]->clientdata) { - type->clientdata = swig_module.type_initial[i]->clientdata; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); -#endif - } - } else { - type = swig_module.type_initial[i]; - } - - /* Insert casting types */ - cast = swig_module.cast_initial[i]; - while (cast->type) { - /* Don't need to add information already in the list */ - ret = 0; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); -#endif - if (swig_module.next != &swig_module) { - ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); -#ifdef SWIGRUNTIME_DEBUG - if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); -#endif - } - if (ret) { - if (type == swig_module.type_initial[i]) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: skip old type %s\n", ret->name); -#endif - cast->type = ret; - ret = 0; - } else { - /* Check for casting already in the list */ - swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); -#ifdef SWIGRUNTIME_DEBUG - if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); -#endif - if (!ocast) ret = 0; - } - } - - if (!ret) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); -#endif - if (type->cast) { - type->cast->prev = cast; - cast->next = type->cast; - } - type->cast = cast; - } - cast++; - } - /* Set entry in modules->types array equal to the type */ - swig_module.types[i] = type; - } - swig_module.types[i] = 0; - -#ifdef SWIGRUNTIME_DEBUG - printf("**** SWIG_InitializeModule: Cast List ******\n"); - for (i = 0; i < swig_module.size; ++i) { - int j = 0; - swig_cast_info *cast = swig_module.cast_initial[i]; - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); - while (cast->type) { - printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); - cast++; - ++j; - } - printf("---- Total casts: %d\n",j); - } - printf("**** SWIG_InitializeModule: Cast List ******\n"); -#endif -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientData(void) { - size_t i; - swig_cast_info *equiv; - static int init_run = 0; - - if (init_run) return; - init_run = 1; - - for (i = 0; i < swig_module.size; i++) { - if (swig_module.types[i]->clientdata) { - equiv = swig_module.types[i]->cast; - while (equiv) { - if (!equiv->converter) { - if (equiv->type && !equiv->type->clientdata) - SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); - } - equiv = equiv->next; - } - } - } -} - -#ifdef __cplusplus -#if 0 -{ - /* c-mode */ -#endif -} -#endif - - - -#ifdef __cplusplus -extern "C" { -#endif - - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { - return PyString_FromString(""); - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); - return str; - } - - SWIGINTERN int - swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { - PyObject *str = swig_varlink_str(v); - fprintf(fp,"Swig global variables "); - fprintf(fp,"%s\n", PyString_AsString(str)); - Py_DECREF(str); - return 0; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* Number of items in variable part (ob_size) */ - (char *)"swigvarlink", /* Type name (tp_name) */ - sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ - 0, /* Itemsize (tp_itemsize) */ - (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ - (printfunc) swig_varlink_print, /* Print (tp_print) */ - (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ - (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc)swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - varlink_type = tmp; - varlink_type.ob_type = &PyType_Type; - type_init = 1; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - strncpy(gv->name,name,size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *_SWIG_globals = 0; - if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); - return _SWIG_globals; - } - - /* ----------------------------------------------------------------------------- - * constants/methods manipulation - * ----------------------------------------------------------------------------- */ - - /* Install Constants */ - SWIGINTERN void - SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { - PyObject *obj = 0; - size_t i; - for (i = 0; constants[i].type; ++i) { - switch(constants[i].type) { - case SWIG_PY_POINTER: - obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); - break; - case SWIG_PY_BINARY: - obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); - break; - default: - obj = 0; - break; - } - if (obj) { - PyDict_SetItemString(d, constants[i].name, obj); - Py_DECREF(obj); - } - } - } - - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ - - SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { - size_t i; - for (i = 0; methods[i].ml_name; ++i) { - const char *c = methods[i].ml_doc; - if (c && (c = strstr(c, "swig_ptr: "))) { - int j; - swig_const_info *ci = 0; - const char *name = c + 10; - for (j = 0; const_table[j].type; ++j) { - if (strncmp(const_table[j].name, name, - strlen(const_table[j].name)) == 0) { - ci = &(const_table[j]); - break; - } - } - if (ci) { - size_t shift = (ci->ptype) - types; - swig_type_info *ty = types_initial[shift]; - size_t ldoc = (c - methods[i].ml_doc); - size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; - char *ndoc = (char*)malloc(ldoc + lptr + 10); - if (ndoc) { - char *buff = ndoc; - void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; - if (ptr) { - strncpy(buff, methods[i].ml_doc, ldoc); - buff += ldoc; - strncpy(buff, "swig_ptr: ", 10); - buff += 10; - SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); - methods[i].ml_doc = ndoc; - } - } - } - } - } - } - -#ifdef __cplusplus -} -#endif - -/* -----------------------------------------------------------------------------* - * Partial Init method - * -----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIG_init(void) { - PyObject *m, *d; - - /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); - - m = Py_InitModule((char *) SWIG_name, SwigMethods); - d = PyModule_GetDict(m); - - SWIG_InitializeModule(0); - SWIG_InstallConstants(d,swig_const_table); - - - SWIG_Python_SetConstant(d, "FALSE",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "TRUE",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTTYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDINT_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_SYS_TYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDDEF_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "M_E",SWIG_From_double(static_cast< double >(2.7182818284590452354))); - SWIG_Python_SetConstant(d, "M_LOG2E",SWIG_From_double(static_cast< double >(1.4426950408889634074))); - SWIG_Python_SetConstant(d, "M_LOG10E",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LN2",SWIG_From_double(static_cast< double >(0.69314718055994530942))); - SWIG_Python_SetConstant(d, "M_LN10",SWIG_From_double(static_cast< double >(2.30258509299404568402))); - SWIG_Python_SetConstant(d, "M_PI",SWIG_From_double(static_cast< double >(3.14159265358979323846))); - SWIG_Python_SetConstant(d, "M_TWOPI",SWIG_From_double(static_cast< double >((3.14159265358979323846*2.0)))); - SWIG_Python_SetConstant(d, "M_PI_2",SWIG_From_double(static_cast< double >(1.57079632679489661923))); - SWIG_Python_SetConstant(d, "M_PI_4",SWIG_From_double(static_cast< double >(0.78539816339744830962))); - SWIG_Python_SetConstant(d, "M_3PI_4",SWIG_From_double(static_cast< double >(2.3561944901923448370E0))); - SWIG_Python_SetConstant(d, "M_SQRTPI",SWIG_From_double(static_cast< double >(1.77245385090551602792981))); - SWIG_Python_SetConstant(d, "M_1_PI",SWIG_From_double(static_cast< double >(0.31830988618379067154))); - SWIG_Python_SetConstant(d, "M_2_PI",SWIG_From_double(static_cast< double >(0.63661977236758134308))); - SWIG_Python_SetConstant(d, "M_2_SQRTPI",SWIG_From_double(static_cast< double >(1.12837916709551257390))); - SWIG_Python_SetConstant(d, "M_SQRT2",SWIG_From_double(static_cast< double >(1.41421356237309504880))); - SWIG_Python_SetConstant(d, "M_SQRT1_2",SWIG_From_double(static_cast< double >(0.70710678118654752440))); - SWIG_Python_SetConstant(d, "M_LN2LO",SWIG_From_double(static_cast< double >(1.9082149292705877000E-10))); - SWIG_Python_SetConstant(d, "M_LN2HI",SWIG_From_double(static_cast< double >(6.9314718036912381649E-1))); - SWIG_Python_SetConstant(d, "M_SQRT3",SWIG_From_double(static_cast< double >(1.73205080756887719000))); - SWIG_Python_SetConstant(d, "M_IVLN10",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LOG2_E",SWIG_From_double(static_cast< double >(0.693147180559945309417))); - SWIG_Python_SetConstant(d, "M_INVLN2",SWIG_From_double(static_cast< double >(1.4426950408889633870E0))); - SWIG_Python_SetConstant(d, "COIN_MAJOR_VERSION",SWIG_From_int(static_cast< int >(3))); - SWIG_Python_SetConstant(d, "COIN_MINOR_VERSION",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "COIN_MICRO_VERSION",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "COIN_VERSION",SWIG_FromCharPtr("3.1.0")); - SWIG_Python_SetConstant(d, "HAVE_HASH_QUOTING",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoDebugError_ERROR",SWIG_From_int(static_cast< int >(SoDebugError::ERROR))); - SWIG_Python_SetConstant(d, "SoDebugError_WARNING",SWIG_From_int(static_cast< int >(SoDebugError::WARNING))); - SWIG_Python_SetConstant(d, "SoDebugError_INFO",SWIG_From_int(static_cast< int >(SoDebugError::INFO))); - SWIG_Python_SetConstant(d, "SoNotRec_CONTAINER",SWIG_From_int(static_cast< int >(SoNotRec::CONTAINER))); - SWIG_Python_SetConstant(d, "SoNotRec_PARENT",SWIG_From_int(static_cast< int >(SoNotRec::PARENT))); - SWIG_Python_SetConstant(d, "SoNotRec_SENSOR",SWIG_From_int(static_cast< int >(SoNotRec::SENSOR))); - SWIG_Python_SetConstant(d, "SoNotRec_FIELD",SWIG_From_int(static_cast< int >(SoNotRec::FIELD))); - SWIG_Python_SetConstant(d, "SoNotRec_ENGINE",SWIG_From_int(static_cast< int >(SoNotRec::ENGINE))); - SWIG_Python_SetConstant(d, "SoField_NORMAL_FIELD",SWIG_From_int(static_cast< int >(SoField::NORMAL_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTIN_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTIN_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTOUT_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTOUT_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EXPOSED_FIELD",SWIG_From_int(static_cast< int >(SoField::EXPOSED_FIELD))); - SWIG_Python_SetConstant(d, "SOQT_MAJOR_VERSION",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SOQT_MINOR_VERSION",SWIG_From_int(static_cast< int >(4))); - SWIG_Python_SetConstant(d, "SOQT_MICRO_VERSION",SWIG_From_int(static_cast< int >(2))); - SWIG_Python_SetConstant(d, "SOQT_VERSION",SWIG_FromCharPtr("1.4.2a")); - SWIG_Python_SetConstant(d, "GUI_TOOLKIT_VERSION",SWIG_FromCharPtr("4.5.0")); - SWIG_Python_SetConstant(d, "SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_KEY_PRESS",SWIG_From_int(static_cast< int >(SoQtKeyboard::KEY_PRESS))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_KEY_RELEASE",SWIG_From_int(static_cast< int >(SoQtKeyboard::KEY_RELEASE))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_ALL_EVENTS",SWIG_From_int(static_cast< int >(SoQtKeyboard::ALL_EVENTS))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_PRESS",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_PRESS))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_RELEASE",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_RELEASE))); - SWIG_Python_SetConstant(d, "SoQtMouse_POINTER_MOTION",SWIG_From_int(static_cast< int >(SoQtMouse::POINTER_MOTION))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_MOTION",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_MOTION))); - SWIG_Python_SetConstant(d, "SoQtMouse_ALL_EVENTS",SWIG_From_int(static_cast< int >(SoQtMouse::ALL_EVENTS))); - SWIG_Python_SetConstant(d, "SoQt_UNSPECIFIED_ERROR",SWIG_From_int(static_cast< int >(SoQt::UNSPECIFIED_ERROR))); - SWIG_Python_SetConstant(d, "SoQt_NO_OPENGL_CANVAS",SWIG_From_int(static_cast< int >(SoQt::NO_OPENGL_CANVAS))); - SWIG_Python_SetConstant(d, "SoQt_INTERNAL_ASSERT",SWIG_From_int(static_cast< int >(SoQt::INTERNAL_ASSERT))); - SWIG_Python_SetConstant(d, "SoQt_DLL",SWIG_From_int(static_cast< int >(SoQt::DLL))); - SWIG_Python_SetConstant(d, "SoQt_LIB",SWIG_From_int(static_cast< int >(SoQt::LIB))); - SWIG_Python_SetConstant(d, "SoQt_UNKNOWN",SWIG_From_int(static_cast< int >(SoQt::UNKNOWN))); - SWIG_Python_SetConstant(d, "SO_GL_RGB",SWIG_From_int(static_cast< int >(SO_GL_RGB))); - SWIG_Python_SetConstant(d, "SO_GLX_RGB",SWIG_From_int(static_cast< int >(SO_GLX_RGB))); - SWIG_Python_SetConstant(d, "SO_GL_DOUBLE",SWIG_From_int(static_cast< int >(SO_GL_DOUBLE))); - SWIG_Python_SetConstant(d, "SO_GLX_DOUBLE",SWIG_From_int(static_cast< int >(SO_GLX_DOUBLE))); - SWIG_Python_SetConstant(d, "SO_GL_ZBUFFER",SWIG_From_int(static_cast< int >(SO_GL_ZBUFFER))); - SWIG_Python_SetConstant(d, "SO_GLX_ZBUFFER",SWIG_From_int(static_cast< int >(SO_GLX_ZBUFFER))); - SWIG_Python_SetConstant(d, "SO_GL_OVERLAY",SWIG_From_int(static_cast< int >(SO_GL_OVERLAY))); - SWIG_Python_SetConstant(d, "SO_GLX_OVERLAY",SWIG_From_int(static_cast< int >(SO_GLX_OVERLAY))); - SWIG_Python_SetConstant(d, "SO_GL_STEREO",SWIG_From_int(static_cast< int >(SO_GL_STEREO))); - SWIG_Python_SetConstant(d, "SO_GLX_STEREO",SWIG_From_int(static_cast< int >(SO_GLX_STEREO))); - SWIG_Python_SetConstant(d, "SoQtViewer_BROWSER",SWIG_From_int(static_cast< int >(SoQtViewer::BROWSER))); - SWIG_Python_SetConstant(d, "SoQtViewer_EDITOR",SWIG_From_int(static_cast< int >(SoQtViewer::EDITOR))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_AS_IS",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_AS_IS))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_HIDDEN_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_HIDDEN_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_NO_TEXTURE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_NO_TEXTURE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_COMPLEXITY",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_COMPLEXITY))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_POINT",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_POINT))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_BBOX",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_BBOX))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_RES_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_RES_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_RES_POINT",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_RES_POINT))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_SAME_AS_STILL",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_SAME_AS_STILL))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_WIREFRAME_OVERLAY",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_WIREFRAME_OVERLAY))); - SWIG_Python_SetConstant(d, "SoQtViewer_STILL",SWIG_From_int(static_cast< int >(SoQtViewer::STILL))); - SWIG_Python_SetConstant(d, "SoQtViewer_INTERACTIVE",SWIG_From_int(static_cast< int >(SoQtViewer::INTERACTIVE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_SINGLE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_SINGLE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_DOUBLE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_DOUBLE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_INTERACTIVE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_INTERACTIVE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VARIABLE_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoQtViewer::VARIABLE_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SoQtViewer_CONSTANT_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoQtViewer::CONSTANT_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_NONE",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_NONE))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_ANAGLYPH",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_ANAGLYPH))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_QUADBUFFER",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_QUADBUFFER))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_INTERLEAVED_ROWS",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_INTERLEAVED_ROWS))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_INTERLEAVED_COLUMNS",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_INTERLEAVED_COLUMNS))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_NONE",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_NONE))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_DECORATION",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_DECORATION))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_POPUP",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_POPUP))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_ALL",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_ALL))); - SWIG_Python_SetConstant(d, "SoQtCursor_CUSTOM_BITMAP",SWIG_From_int(static_cast< int >(SoQtCursor::CUSTOM_BITMAP))); - SWIG_Python_SetConstant(d, "SoQtCursor_DEFAULT",SWIG_From_int(static_cast< int >(SoQtCursor::DEFAULT))); - SWIG_Python_SetConstant(d, "SoQtCursor_BUSY",SWIG_From_int(static_cast< int >(SoQtCursor::BUSY))); - SWIG_Python_SetConstant(d, "SoQtCursor_CROSSHAIR",SWIG_From_int(static_cast< int >(SoQtCursor::CROSSHAIR))); - SWIG_Python_SetConstant(d, "SoQtCursor_UPARROW",SWIG_From_int(static_cast< int >(SoQtCursor::UPARROW))); -} - diff --git a/src/3rdParty/Pivy/AUTHORS b/src/3rdParty/Pivy/AUTHORS deleted file mode 100644 index fe8810fa89..0000000000 --- a/src/3rdParty/Pivy/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -Tamer Fahmy -Gerhard Reitmayr diff --git a/src/3rdParty/Pivy/CMakeLists.txt b/src/3rdParty/Pivy/CMakeLists.txt deleted file mode 100644 index 6abda6bbe0..0000000000 --- a/src/3rdParty/Pivy/CMakeLists.txt +++ /dev/null @@ -1,52 +0,0 @@ -add_definitions(-DCOIN_DLL) - -include_directories( - ../include - ${COIN3D_INCLUDE_DIR} - ${PYTHON_INCLUDE_PATH} - ${QT_INCLUDE_DIR} -) - -########################### CoinPy ########################### - -if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") -endif(MSVC) - -set(CoinPy_SRCS - coin_wrap.cpp - coin_header_includes.h -) - -if(MSVC) - set(CoinPy_LIBS - debug MSVCRTD.LIB - debug MSVCPRTD.LIB - optimized MSVCRT.LIB - optimized MSVCPRT.LIB - Rpcrt4.lib - debug ${COIN3D_LIBRARY_DEBUG} - optimized ${COIN3D_LIBRARY_RELEASE} - debug ${PYTHON_DEBUG_LIBRARY} - optimized ${PYTHON_LIBRARY}) -else(MSVC) - set(CoinPy_LIBS - ${COIN3D_LIBRARY} - ${PYTHON_LIBRARY}) -endif(MSVC) - -add_library(coin SHARED ${CoinPy_SRCS}) - -target_link_libraries(coin ${CoinPy_LIBS}) - -SET_BIN_DIR(coin _coin /bin/pivy) -SET_PYTHON_PREFIX_SUFFIX(coin) - -fc_copy_sources(coin "${CMAKE_BINARY_DIR}/bin/pivy" - __init__.py - coin.py - sogui.py -) - -install(TARGETS coin DESTINATION bin/pivy) -install(FILES __init__.py coin.py sogui.py DESTINATION bin/pivy) diff --git a/src/3rdParty/Pivy/CoinBinding.sln b/src/3rdParty/Pivy/CoinBinding.sln deleted file mode 100644 index e6606ad4b0..0000000000 --- a/src/3rdParty/Pivy/CoinBinding.sln +++ /dev/null @@ -1,29 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual C++ Express 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CoinPy", "CoinPy.vcproj", "{8D277C1C-0F1B-499A-9CBC-538DB457C8A6}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SoQtPy", "SoQtPy.vcproj", "{0BBCF110-A7E7-4670-A412-E4D7C39F0B28}" - ProjectSection(ProjectDependencies) = postProject - {8D277C1C-0F1B-499A-9CBC-538DB457C8A6} = {8D277C1C-0F1B-499A-9CBC-538DB457C8A6} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8D277C1C-0F1B-499A-9CBC-538DB457C8A6}.Debug|Win32.ActiveCfg = Debug|Win32 - {8D277C1C-0F1B-499A-9CBC-538DB457C8A6}.Debug|Win32.Build.0 = Debug|Win32 - {8D277C1C-0F1B-499A-9CBC-538DB457C8A6}.Release|Win32.ActiveCfg = Release|Win32 - {8D277C1C-0F1B-499A-9CBC-538DB457C8A6}.Release|Win32.Build.0 = Release|Win32 - {0BBCF110-A7E7-4670-A412-E4D7C39F0B28}.Debug|Win32.ActiveCfg = Debug|Win32 - {0BBCF110-A7E7-4670-A412-E4D7C39F0B28}.Debug|Win32.Build.0 = Debug|Win32 - {0BBCF110-A7E7-4670-A412-E4D7C39F0B28}.Release|Win32.ActiveCfg = Release|Win32 - {0BBCF110-A7E7-4670-A412-E4D7C39F0B28}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/src/3rdParty/Pivy/LICENSE b/src/3rdParty/Pivy/LICENSE deleted file mode 100644 index f695b76e1f..0000000000 --- a/src/3rdParty/Pivy/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2002-2007 Systems in Motion - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/src/3rdParty/Pivy/README b/src/3rdParty/Pivy/README deleted file mode 100644 index ba633a81bd..0000000000 --- a/src/3rdParty/Pivy/README +++ /dev/null @@ -1,25 +0,0 @@ -General build instructions: ---------------------------- - -Pivy uses distutils[0]. To build Pivy, run - - $ python setup.py build - $ python setup.py install - -Reporting bugs: --------------- - -Please submit bug reports, feature requests, etc. to the Pivy -issue tracker[1]. - -Contact: --------- - -If you have any questions regarding Pivy or simply want to discuss -with other Pivy users, you can do so at the general coin-discuss -mailinglist[2]. - - -[0] http://www.python.org/sigs/distutils-sig/ -[1] http://issue.coin3d.org/pivy/ -[2] https://www.coin3d.org/mailman/listinfo/coin-discuss/ diff --git a/src/3rdParty/Pivy/__init__.py b/src/3rdParty/Pivy/__init__.py deleted file mode 100644 index 8b13789179..0000000000 --- a/src/3rdParty/Pivy/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/3rdParty/Pivy/coin.py b/src/3rdParty/Pivy/coin.py deleted file mode 100644 index 1531ff6c25..0000000000 --- a/src/3rdParty/Pivy/coin.py +++ /dev/null @@ -1,48237 +0,0 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.33 -# -# Don't modify this file, modify the SWIG interface instead. - -""" -Pivy is a Coin binding for Python. Coin is a high-level 3D graphics -library with a C++ Application Programming Interface. Coin uses -scene-graph data structures to render real-time graphics suitable for -mostly all kinds of scientific and engineering visualization -applications. -""" - -import _coin -import new -new_instancemethod = new.instancemethod -try: - _swig_property = property -except NameError: - pass # Python < 2.2 doesn't have 'property'. -def _swig_setattr_nondynamic(self,class_type,name,value,static=1): - if (name == "thisown"): return self.this.own(value) - if (name == "this"): - if type(value).__name__ == 'PySwigObject': - self.__dict__[name] = value - return - method = class_type.__swig_setmethods__.get(name,None) - if method: return method(self,value) - if (not static) or hasattr(self,name): - self.__dict__[name] = value - else: - raise AttributeError("You cannot add attributes to %s" % self) - -def _swig_setattr(self,class_type,name,value): - return _swig_setattr_nondynamic(self,class_type,name,value,0) - -def _swig_getattr(self,class_type,name): - if (name == "thisown"): return self.this.own() - method = class_type.__swig_getmethods__.get(name,None) - if method: return method(self) - raise AttributeError,name - -def _swig_repr(self): - try: strthis = "proxy of " + self.this.__repr__() - except: strthis = "" - return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) - -import types -try: - _object = types.ObjectType - _newclass = 1 -except AttributeError: - class _object : pass - _newclass = 0 -del types - - -def _swig_setattr_nondynamic_method(set): - def set_attr(self,name,value): - if (name == "thisown"): return self.this.own(value) - if hasattr(self,name) or (name == "this"): - set(self,name,value) - else: - raise AttributeError("You cannot add attributes to %s" % self) - return set_attr - - -class charp(object): - """Proxy of C++ charp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> charp""" - this = _coin.new_charp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_charp - __del__ = lambda self : None; - def assign(*args): - """assign(self, char value)""" - return _coin.charp_assign(*args) - - def value(*args): - """value(self) -> char""" - return _coin.charp_value(*args) - - def cast(*args): - """cast(self) -> char""" - return _coin.charp_cast(*args) - - def frompointer(*args): - """frompointer(char t) -> charp""" - return _coin.charp_frompointer(*args) - - frompointer = staticmethod(frompointer) -charp_swigregister = _coin.charp_swigregister -charp_swigregister(charp) -cast = _coin.cast - -def charp_frompointer(*args): - """charp_frompointer(char t) -> charp""" - return _coin.charp_frompointer(*args) - -class intp(object): - """Proxy of C++ intp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> intp""" - this = _coin.new_intp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_intp - __del__ = lambda self : None; - def assign(*args): - """assign(self, int value)""" - return _coin.intp_assign(*args) - - def value(*args): - """value(self) -> int""" - return _coin.intp_value(*args) - - def cast(*args): - """cast(self) -> int""" - return _coin.intp_cast(*args) - - def frompointer(*args): - """frompointer(int t) -> intp""" - return _coin.intp_frompointer(*args) - - frompointer = staticmethod(frompointer) -intp_swigregister = _coin.intp_swigregister -intp_swigregister(intp) - -def intp_frompointer(*args): - """intp_frompointer(int t) -> intp""" - return _coin.intp_frompointer(*args) - -class longp(object): - """Proxy of C++ longp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> longp""" - this = _coin.new_longp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_longp - __del__ = lambda self : None; - def assign(*args): - """assign(self, long value)""" - return _coin.longp_assign(*args) - - def value(*args): - """value(self) -> long""" - return _coin.longp_value(*args) - - def cast(*args): - """cast(self) -> long""" - return _coin.longp_cast(*args) - - def frompointer(*args): - """frompointer(long t) -> longp""" - return _coin.longp_frompointer(*args) - - frompointer = staticmethod(frompointer) -longp_swigregister = _coin.longp_swigregister -longp_swigregister(longp) - -def longp_frompointer(*args): - """longp_frompointer(long t) -> longp""" - return _coin.longp_frompointer(*args) - -class floatp(object): - """Proxy of C++ floatp class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> floatp""" - this = _coin.new_floatp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_floatp - __del__ = lambda self : None; - def assign(*args): - """assign(self, float value)""" - return _coin.floatp_assign(*args) - - def value(*args): - """value(self) -> float""" - return _coin.floatp_value(*args) - - def cast(*args): - """cast(self) -> float""" - return _coin.floatp_cast(*args) - - def frompointer(*args): - """frompointer(float t) -> floatp""" - return _coin.floatp_frompointer(*args) - - frompointer = staticmethod(frompointer) -floatp_swigregister = _coin.floatp_swigregister -floatp_swigregister(floatp) - -def floatp_frompointer(*args): - """floatp_frompointer(float t) -> floatp""" - return _coin.floatp_frompointer(*args) - -class doublep(object): - """Proxy of C++ doublep class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> doublep""" - this = _coin.new_doublep(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_doublep - __del__ = lambda self : None; - def assign(*args): - """assign(self, double value)""" - return _coin.doublep_assign(*args) - - def value(*args): - """value(self) -> double""" - return _coin.doublep_value(*args) - - def cast(*args): - """cast(self) -> double""" - return _coin.doublep_cast(*args) - - def frompointer(*args): - """frompointer(double t) -> doublep""" - return _coin.doublep_frompointer(*args) - - frompointer = staticmethod(frompointer) -doublep_swigregister = _coin.doublep_swigregister -doublep_swigregister(doublep) - -def doublep_frompointer(*args): - """doublep_frompointer(double t) -> doublep""" - return _coin.doublep_frompointer(*args) - -FALSE = _coin.FALSE -TRUE = _coin.TRUE -HAVE_SYS_TYPES_H = _coin.HAVE_SYS_TYPES_H -HAVE_STDDEF_H = _coin.HAVE_STDDEF_H -HAVE_INT8_T = _coin.HAVE_INT8_T -HAVE_UINT8_T = _coin.HAVE_UINT8_T -HAVE_INT16_T = _coin.HAVE_INT16_T -HAVE_UINT16_T = _coin.HAVE_UINT16_T -HAVE_INT32_T = _coin.HAVE_INT32_T -HAVE_UINT32_T = _coin.HAVE_UINT32_T -HAVE_INT64_T = _coin.HAVE_INT64_T -HAVE_UINT64_T = _coin.HAVE_UINT64_T -HAVE_INTPTR_T = _coin.HAVE_INTPTR_T -HAVE_UINTPTR_T = _coin.HAVE_UINTPTR_T -M_E = _coin.M_E -M_LOG2E = _coin.M_LOG2E -M_LOG10E = _coin.M_LOG10E -M_LN2 = _coin.M_LN2 -M_LN10 = _coin.M_LN10 -M_PI = _coin.M_PI -M_TWOPI = _coin.M_TWOPI -M_PI_2 = _coin.M_PI_2 -M_PI_4 = _coin.M_PI_4 -M_3PI_4 = _coin.M_3PI_4 -M_SQRTPI = _coin.M_SQRTPI -M_1_PI = _coin.M_1_PI -M_2_PI = _coin.M_2_PI -M_2_SQRTPI = _coin.M_2_SQRTPI -M_SQRT2 = _coin.M_SQRT2 -M_SQRT1_2 = _coin.M_SQRT1_2 -M_LN2LO = _coin.M_LN2LO -M_LN2HI = _coin.M_LN2HI -M_SQRT3 = _coin.M_SQRT3 -M_IVLN10 = _coin.M_IVLN10 -M_LOG2_E = _coin.M_LOG2_E -M_INVLN2 = _coin.M_INVLN2 -COIN_MAJOR_VERSION = _coin.COIN_MAJOR_VERSION -COIN_MINOR_VERSION = _coin.COIN_MINOR_VERSION -COIN_MICRO_VERSION = _coin.COIN_MICRO_VERSION -COIN_VERSION = _coin.COIN_VERSION -HAVE_HASH_QUOTING = _coin.HAVE_HASH_QUOTING -SUN_CC_4_0_SOTYPE_INIT_BUG = _coin.SUN_CC_4_0_SOTYPE_INIT_BUG -class SbDict(object): - """Proxy of C++ SbDict class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int entries=251) -> SbDict - __init__(self) -> SbDict - __init__(self, SbDict from) -> SbDict - """ - this = _coin.new_SbDict(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDict - __del__ = lambda self : None; - def applyToAll(*args): - """ - applyToAll(self, void rtn) - applyToAll(self, void rtn, void data) - """ - return _coin.SbDict_applyToAll(*args) - - def clear(*args): - """clear(self)""" - return _coin.SbDict_clear(*args) - - def enter(*args): - """enter(self, unsigned long key, void value) -> SbBool""" - return _coin.SbDict_enter(*args) - - def find(*args): - """find(self, unsigned long key, void value) -> SbBool""" - return _coin.SbDict_find(*args) - - def makePList(*args): - """makePList(self, SbPList keys, SbPList values)""" - return _coin.SbDict_makePList(*args) - - def remove(*args): - """remove(self, unsigned long key) -> SbBool""" - return _coin.SbDict_remove(*args) - - def setHashingFunction(*args): - """setHashingFunction(self, unsigned long func)""" - return _coin.SbDict_setHashingFunction(*args) - -SbDict_swigregister = _coin.SbDict_swigregister -SbDict_swigregister(SbDict) - -class SoType(object): - """Proxy of C++ SoType class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def fromName(*args): - """fromName(SbName name) -> SoType""" - return _coin.SoType_fromName(*args) - - fromName = staticmethod(fromName) - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoType_getName(*args) - - def getParent(*args): - """getParent(self) -> SoType""" - return _coin.SoType_getParent(*args) - - def isDerivedFrom(*args): - """isDerivedFrom(self, SoType type) -> SbBool""" - return _coin.SoType_isDerivedFrom(*args) - - def getAllDerivedFrom(*args): - """getAllDerivedFrom(SoType type, SoTypeList list) -> int""" - return _coin.SoType_getAllDerivedFrom(*args) - - getAllDerivedFrom = staticmethod(getAllDerivedFrom) - def canCreateInstance(*args): - """canCreateInstance(self) -> SbBool""" - return _coin.SoType_canCreateInstance(*args) - - def getData(*args): - """getData(self) -> uint16_t""" - return _coin.SoType_getData(*args) - - def getKey(*args): - """getKey(self) -> int16_t""" - return _coin.SoType_getKey(*args) - - def __eq__(*args): - """__eq__(self, SoType type) -> SbBool""" - return _coin.SoType___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoType type) -> SbBool""" - return _coin.SoType___ne__(*args) - - def __lt__(*args): - """__lt__(self, SoType type) -> SbBool""" - return _coin.SoType___lt__(*args) - - def __le__(*args): - """__le__(self, SoType type) -> SbBool""" - return _coin.SoType___le__(*args) - - def __ge__(*args): - """__ge__(self, SoType type) -> SbBool""" - return _coin.SoType___ge__(*args) - - def __gt__(*args): - """__gt__(self, SoType type) -> SbBool""" - return _coin.SoType___gt__(*args) - - def init(*args): - """init()""" - return _coin.SoType_init(*args) - - init = staticmethod(init) - def fromKey(*args): - """fromKey(uint16_t key) -> SoType""" - return _coin.SoType_fromKey(*args) - - fromKey = staticmethod(fromKey) - def badType(*args): - """badType() -> SoType""" - return _coin.SoType_badType(*args) - - badType = staticmethod(badType) - def isBad(*args): - """isBad(self) -> SbBool""" - return _coin.SoType_isBad(*args) - - def makeInternal(*args): - """makeInternal(self)""" - return _coin.SoType_makeInternal(*args) - - def isInternal(*args): - """isInternal(self) -> SbBool""" - return _coin.SoType_isInternal(*args) - - def getNumTypes(*args): - """getNumTypes() -> int""" - return _coin.SoType_getNumTypes(*args) - - getNumTypes = staticmethod(getNumTypes) - def getInstantiationMethod(*args): - """getInstantiationMethod(self) -> instantiationMethod""" - return _coin.SoType_getInstantiationMethod(*args) - - def createInstance(*args): - """createInstance(self) -> PyObject""" - return _coin.SoType_createInstance(*args) - - def __init__(self, *args): - """__init__(self) -> SoType""" - this = _coin.new_SoType(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoType - __del__ = lambda self : None; -SoType_swigregister = _coin.SoType_swigregister -SoType_swigregister(SoType) - -def SoType_fromName(*args): - """SoType_fromName(SbName name) -> SoType""" - return _coin.SoType_fromName(*args) - -def SoType_getAllDerivedFrom(*args): - """SoType_getAllDerivedFrom(SoType type, SoTypeList list) -> int""" - return _coin.SoType_getAllDerivedFrom(*args) - -def SoType_init(*args): - """SoType_init()""" - return _coin.SoType_init(*args) - -def SoType_fromKey(*args): - """SoType_fromKey(uint16_t key) -> SoType""" - return _coin.SoType_fromKey(*args) - -def SoType_badType(*args): - """SoType_badType() -> SoType""" - return _coin.SoType_badType(*args) - -def SoType_getNumTypes(*args): - """SoType_getNumTypes() -> int""" - return _coin.SoType_getNumTypes(*args) - -class SbVec2s(object): - """Proxy of C++ SbVec2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2s - __init__(self, short v) -> SbVec2s - __init__(self, short x, short y) -> SbVec2s - """ - this = _coin.new_SbVec2s(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec2s v) -> int32_t""" - return _coin.SbVec2s_dot(*args) - - def getValue(*args): - """getValue(self, short x, short y)""" - return _coin.SbVec2s_getValue(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2s_negate(*args) - - def setValue(*args): - """ - setValue(self, short v) -> SbVec2s - setValue(self, short x, short y) -> SbVec2s - """ - return _coin.SbVec2s_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec2s - __imul__(self, double d) -> SbVec2s - """ - return _coin.SbVec2s___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec2s - __idiv__(self, double d) -> SbVec2s - """ - return _coin.SbVec2s___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2s""" - return _coin.SbVec2s___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2s_output(*args) - - def __add__(*args): - """__add__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2s u) -> SbVec2s""" - return _coin.SbVec2s___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec2s""" - return _coin.SbVec2s___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2s u) -> int""" - return _coin.SbVec2s___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2s u) -> int""" - return _coin.SbVec2s___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SbVec2s___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SbVec2s___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2s - __del__ = lambda self : None; -SbVec2s_swigregister = _coin.SbVec2s_swigregister -SbVec2s_swigregister(SbVec2s) - -class SbPList(object): - """Proxy of C++ SbPList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int sizehint=) -> SbPList - __init__(self) -> SbPList - __init__(self, SbPList l) -> SbPList - """ - this = _coin.new_SbPList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbPList - __del__ = lambda self : None; - def copy(*args): - """copy(self, SbPList l)""" - return _coin.SbPList_copy(*args) - - def fit(*args): - """fit(self)""" - return _coin.SbPList_fit(*args) - - def append(*args): - """append(self, void item)""" - return _coin.SbPList_append(*args) - - def find(*args): - """find(self, void item) -> int""" - return _coin.SbPList_find(*args) - - def insert(*args): - """insert(self, void item, int insertbefore)""" - return _coin.SbPList_insert(*args) - - def removeItem(*args): - """removeItem(self, void item)""" - return _coin.SbPList_removeItem(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SbPList_remove(*args) - - def removeFast(*args): - """removeFast(self, int index)""" - return _coin.SbPList_removeFast(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbPList_getLength(*args) - - def truncate(*args): - """ - truncate(self, int length, int fit=0) - truncate(self, int length) - """ - return _coin.SbPList_truncate(*args) - - def getArrayPtr(*args): - """ - getArrayPtr(self, int start=0) - getArrayPtr(self) -> void - """ - return _coin.SbPList_getArrayPtr(*args) - - def __eq__(*args): - """__eq__(self, SbPList l) -> int""" - return _coin.SbPList___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbPList l) -> int""" - return _coin.SbPList___ne__(*args) - - def get(*args): - """get(self, int index) -> void""" - return _coin.SbPList_get(*args) - - def set(*args): - """set(self, int index, void item)""" - return _coin.SbPList_set(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> void""" - return _coin.SbPList___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, void val)""" - return _coin.SbPList___setitem__(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self[i] - -SbPList_swigregister = _coin.SbPList_swigregister -SbPList_swigregister(SbPList) - -class SbIntList(SbPList): - """Proxy of C++ SbIntList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbIntList - __init__(self, int sizehint) -> SbIntList - """ - this = _coin.new_SbIntList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, int item)""" - return _coin.SbIntList_append(*args) - - def find(*args): - """find(self, int item) -> int""" - return _coin.SbIntList_find(*args) - - def insert(*args): - """insert(self, int item, int addbefore)""" - return _coin.SbIntList_insert(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int value)""" - return _coin.SbIntList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> int""" - return _coin.SbIntList___getitem__(*args) - - def get(*args): - """get(self, int i) -> int""" - return _coin.SbIntList_get(*args) - - __swig_destroy__ = _coin.delete_SbIntList - __del__ = lambda self : None; -SbIntList_swigregister = _coin.SbIntList_swigregister -SbIntList_swigregister(SbIntList) - -class SbString(object): - """Proxy of C++ SbString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - """ - __init__(self) -> SbString - __init__(self, char s) -> SbString - __init__(self, char s, int start, int end) -> SbString - __init__(self, SbString s) -> SbString - __init__(self, int digits) -> SbString - """ - this = _coin.new_SbString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbString - __del__ = lambda self : None; - def hash(*args): - """ - hash() -> uint32_t - hash(char s) -> uint32_t - """ - return _coin.SbString_hash(*args) - - hash = staticmethod(hash) - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbString_getLength(*args) - - def makeEmpty(*args): - """ - makeEmpty(self, SbBool freeold=1) - makeEmpty(self) - """ - return _coin.SbString_makeEmpty(*args) - - def getString(*args): - """getString(self) -> char""" - return _coin.SbString_getString(*args) - - def getSubString(*args): - """ - getSubString(self, int startidx, int endidx=-1) -> SbString - getSubString(self, int startidx) -> SbString - """ - return _coin.SbString_getSubString(*args) - - def deleteSubString(*args): - """ - deleteSubString(self, int startidx, int endidx=-1) - deleteSubString(self, int startidx) - """ - return _coin.SbString_deleteSubString(*args) - - def addIntString(*args): - """addIntString(self, int value)""" - return _coin.SbString_addIntString(*args) - - def __iadd__(*args): - """ - __iadd__(self, char s) -> SbString - __iadd__(self, SbString s) -> SbString - __iadd__(self, char c) -> SbString - """ - return _coin.SbString___iadd__(*args) - - def compareSubString(*args): - """ - compareSubString(self, char text, int offset=0) -> int - compareSubString(self, char text) -> int - """ - return _coin.SbString_compareSubString(*args) - - def sprintf(*args): - """sprintf(self, char formatstr, v(...) ?) -> SbString""" - return _coin.SbString_sprintf(*args) - - def apply(*args): - """apply(self, char func)""" - return _coin.SbString_apply(*args) - - def find(*args): - """find(self, SbString s) -> int""" - return _coin.SbString_find(*args) - - def findAll(*args): - """findAll(self, SbString s, SbIntList found) -> SbBool""" - return _coin.SbString_findAll(*args) - - def __eq__(*args): - """ - __eq__(self, SbString u) -> int - __eq__(self, char u) -> int - """ - return _coin.SbString___eq__(*args) - - def __nq__(*args): - """ - __nq__(self, SbString u) -> int - __nq__(self, char u) -> int - """ - return _coin.SbString___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> char""" - return _coin.SbString___getitem__(*args) - - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): - """__repr__(self, void ?) -> char""" - return _coin.SbString___repr__(*args) - -SbString_swigregister = _coin.SbString_swigregister -SbString_swigregister(SbString) - -def SbString_hash(*args): - """ - hash() -> uint32_t - SbString_hash(char s) -> uint32_t - """ - return _coin.SbString_hash(*args) - -class SbName(object): - """Proxy of C++ SbName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - """ - __init__(self) -> SbName - __init__(self, char nameString) -> SbName - __init__(self, SbString str) -> SbName - __init__(self, SbName name) -> SbName - """ - this = _coin.new_SbName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbName - __del__ = lambda self : None; - def getString(*args): - """getString(self) -> char""" - return _coin.SbName_getString(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SbName_getLength(*args) - - def isIdentStartChar(*args): - """isIdentStartChar(char c) -> SbBool""" - return _coin.SbName_isIdentStartChar(*args) - - isIdentStartChar = staticmethod(isIdentStartChar) - def isIdentChar(*args): - """isIdentChar(char c) -> SbBool""" - return _coin.SbName_isIdentChar(*args) - - isIdentChar = staticmethod(isIdentChar) - def isBaseNameStartChar(*args): - """isBaseNameStartChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameStartChar(*args) - - isBaseNameStartChar = staticmethod(isBaseNameStartChar) - def isBaseNameChar(*args): - """isBaseNameChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameChar(*args) - - isBaseNameChar = staticmethod(isBaseNameChar) - def __eq__(*args): - """ - __eq__(self, SbName u) -> int - __eq__(self, char u) -> int - __eq__(self, SbString u) -> int - """ - return _coin.SbName___eq__(*args) - - def __nq__(*args): - """ - __nq__(self, SbName u) -> int - __nq__(self, char u) -> int - __nq__(self, SbString u) -> int - """ - return _coin.SbName___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> char""" - return _coin.SbName___getitem__(*args) - - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): - """__repr__(self, void ?) -> char""" - return _coin.SbName___repr__(*args) - -SbName_swigregister = _coin.SbName_swigregister -SbName_swigregister(SbName) - -def SbName_isIdentStartChar(*args): - """SbName_isIdentStartChar(char c) -> SbBool""" - return _coin.SbName_isIdentStartChar(*args) - -def SbName_isIdentChar(*args): - """SbName_isIdentChar(char c) -> SbBool""" - return _coin.SbName_isIdentChar(*args) - -def SbName_isBaseNameStartChar(*args): - """SbName_isBaseNameStartChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameStartChar(*args) - -def SbName_isBaseNameChar(*args): - """SbName_isBaseNameChar(char c) -> SbBool""" - return _coin.SbName_isBaseNameChar(*args) - -class SbTime(object): - """Proxy of C++ SbTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbTime - __init__(self, double sec) -> SbTime - __init__(self, int32_t sec, long usec) -> SbTime - __init__(self, timeval tv) -> SbTime - """ - this = _coin.new_SbTime(*args) - try: self.this.append(this) - except: self.this = this - def getTimeOfDay(*args): - """getTimeOfDay() -> SbTime""" - return _coin.SbTime_getTimeOfDay(*args) - - getTimeOfDay = staticmethod(getTimeOfDay) - def setToTimeOfDay(*args): - """setToTimeOfDay(self)""" - return _coin.SbTime_setToTimeOfDay(*args) - - def zero(*args): - """zero() -> SbTime""" - return _coin.SbTime_zero(*args) - - zero = staticmethod(zero) - def max(*args): - """max() -> SbTime""" - return _coin.SbTime_max(*args) - - max = staticmethod(max) - def maxTime(*args): - """maxTime() -> SbTime""" - return _coin.SbTime_maxTime(*args) - - maxTime = staticmethod(maxTime) - def setValue(*args): - """ - setValue(self, double sec) - setValue(self, int32_t sec, long usec) - setValue(self, timeval tv) - """ - return _coin.SbTime_setValue(*args) - - def setMsecValue(*args): - """setMsecValue(self, unsigned long msec)""" - return _coin.SbTime_setMsecValue(*args) - - def getValue(*args): - """ - getValue(self) -> double - getValue(self, time_t sec, long usec) - getValue(self, timeval tv) - """ - return _coin.SbTime_getValue(*args) - - def getMsecValue(*args): - """getMsecValue(self) -> unsigned long""" - return _coin.SbTime_getMsecValue(*args) - - def format(*args): - """ - format(self, char fmt="%S.%i") -> SbString - format(self) -> SbString - """ - return _coin.SbTime_format(*args) - - def formatDate(*args): - """ - formatDate(self, char fmt=None) -> SbString - formatDate(self) -> SbString - """ - return _coin.SbTime_formatDate(*args) - - def parsedate(*args): - """parsedate(self, char date) -> SbBool""" - return _coin.SbTime_parsedate(*args) - - def __iadd__(*args): - """__iadd__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbTime""" - return _coin.SbTime___neg__(*args) - - def __imul__(*args): - """__imul__(self, double s) -> SbTime""" - return _coin.SbTime___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double s) -> SbTime""" - return _coin.SbTime___idiv__(*args) - - def __mod__(*args): - """__mod__(self, SbTime tm) -> SbTime""" - return _coin.SbTime___mod__(*args) - - def __eq__(*args): - """__eq__(self, SbTime tm) -> int""" - return _coin.SbTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbTime tm) -> int""" - return _coin.SbTime___ne__(*args) - - def __lt__(*args): - """__lt__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___lt__(*args) - - def __gt__(*args): - """__gt__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___gt__(*args) - - def __le__(*args): - """__le__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___le__(*args) - - def __ge__(*args): - """__ge__(self, SbTime tm) -> SbBool""" - return _coin.SbTime___ge__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbTime_output(*args) - - def __add__(*args): - """__add__(self, SbTime u) -> SbTime""" - return _coin.SbTime___add__(*args) - - def __sub__(*args): - """__sub__(self, SbTime u) -> SbTime""" - return _coin.SbTime___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbTime""" - return _coin.SbTime___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbTime""" - return _coin.SbTime___rmul__(*args) - - def __div__(*args): - """ - __div__(self, SbTime tm) -> double - __div__(self, double d) -> SbTime - """ - return _coin.SbTime___div__(*args) - - __swig_destroy__ = _coin.delete_SbTime - __del__ = lambda self : None; -SbTime_swigregister = _coin.SbTime_swigregister -SbTime_swigregister(SbTime) - -def SbTime_getTimeOfDay(*args): - """SbTime_getTimeOfDay() -> SbTime""" - return _coin.SbTime_getTimeOfDay(*args) - -def SbTime_zero(*args): - """SbTime_zero() -> SbTime""" - return _coin.SbTime_zero(*args) - -def SbTime_max(*args): - """SbTime_max() -> SbTime""" - return _coin.SbTime_max(*args) - -def SbTime_maxTime(*args): - """SbTime_maxTime() -> SbTime""" - return _coin.SbTime_maxTime(*args) - -class SoEvent(object): - """Proxy of C++ SoEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoEvent""" - this = _coin.new_SoEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEvent - __del__ = lambda self : None; - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoEvent_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEvent_getTypeId(*args) - - def setTime(*args): - """setTime(self, SbTime t)""" - return _coin.SoEvent_setTime(*args) - - def getTime(*args): - """getTime(self) -> SbTime""" - return _coin.SoEvent_getTime(*args) - - def setPosition(*args): - """setPosition(self, SbVec2s p)""" - return _coin.SoEvent_setPosition(*args) - - def getPosition(*args): - """ - getPosition(self) -> SbVec2s - getPosition(self, SbViewportRegion vpRgn) -> SbVec2s - """ - return _coin.SoEvent_getPosition(*args) - - def getNormalizedPosition(*args): - """getNormalizedPosition(self, SbViewportRegion vpRgn) -> SbVec2f""" - return _coin.SoEvent_getNormalizedPosition(*args) - - def setShiftDown(*args): - """setShiftDown(self, SbBool isDown)""" - return _coin.SoEvent_setShiftDown(*args) - - def wasShiftDown(*args): - """wasShiftDown(self) -> SbBool""" - return _coin.SoEvent_wasShiftDown(*args) - - def setCtrlDown(*args): - """setCtrlDown(self, SbBool isDown)""" - return _coin.SoEvent_setCtrlDown(*args) - - def wasCtrlDown(*args): - """wasCtrlDown(self) -> SbBool""" - return _coin.SoEvent_wasCtrlDown(*args) - - def setAltDown(*args): - """setAltDown(self, SbBool isDown)""" - return _coin.SoEvent_setAltDown(*args) - - def wasAltDown(*args): - """wasAltDown(self) -> SbBool""" - return _coin.SoEvent_wasAltDown(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoEvent_swigregister = _coin.SoEvent_swigregister -SoEvent_swigregister(SoEvent) - -def SoEvent_getClassTypeId(*args): - """SoEvent_getClassTypeId() -> SoType""" - return _coin.SoEvent_getClassTypeId(*args) - -def SoEvent_initClass(*args): - """SoEvent_initClass()""" - return _coin.SoEvent_initClass(*args) - -class SoNotRec(object): - """Proxy of C++ SoNotRec class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - CONTAINER = _coin.SoNotRec_CONTAINER - PARENT = _coin.SoNotRec_PARENT - SENSOR = _coin.SoNotRec_SENSOR - FIELD = _coin.SoNotRec_FIELD - ENGINE = _coin.SoNotRec_ENGINE - def __init__(self, *args): - """__init__(self, SoBase notifbase) -> SoNotRec""" - this = _coin.new_SoNotRec(*args) - try: self.this.append(this) - except: self.this = this - def setType(*args): - """setType(self, Type type)""" - return _coin.SoNotRec_setType(*args) - - def getBase(*args): - """getBase(self) -> SoBase""" - return _coin.SoNotRec_getBase(*args) - - def getType(*args): - """getType(self) -> Type""" - return _coin.SoNotRec_getType(*args) - - def getPrevious(*args): - """getPrevious(self) -> SoNotRec""" - return _coin.SoNotRec_getPrevious(*args) - - def setPrevious(*args): - """setPrevious(self, SoNotRec prev)""" - return _coin.SoNotRec_setPrevious(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoNotRec_output(*args) - - __swig_destroy__ = _coin.delete_SoNotRec - __del__ = lambda self : None; -SoNotRec_swigregister = _coin.SoNotRec_swigregister -SoNotRec_swigregister(SoNotRec) - -class SoNotList(object): - """Proxy of C++ SoNotList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoNotList - __init__(self, SoNotList nl) -> SoNotList - """ - this = _coin.new_SoNotList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """ - append(self, SoNotRec rec) - append(self, SoNotRec rec, SoField field) - append(self, SoNotRec rec, SoEngineOutput engineout) - """ - return _coin.SoNotList_append(*args) - - def setLastType(*args): - """setLastType(self, Type type)""" - return _coin.SoNotList_setLastType(*args) - - def getFirstRec(*args): - """getFirstRec(self) -> SoNotRec""" - return _coin.SoNotList_getFirstRec(*args) - - def getLastRec(*args): - """getLastRec(self) -> SoNotRec""" - return _coin.SoNotList_getLastRec(*args) - - def getFirstRecAtNode(*args): - """getFirstRecAtNode(self) -> SoNotRec""" - return _coin.SoNotList_getFirstRecAtNode(*args) - - def getLastField(*args): - """getLastField(self) -> SoField""" - return _coin.SoNotList_getLastField(*args) - - def getLastEngineOutput(*args): - """getLastEngineOutput(self) -> SoEngineOutput""" - return _coin.SoNotList_getLastEngineOutput(*args) - - def getTimeStamp(*args): - """getTimeStamp(self) -> uint32_t""" - return _coin.SoNotList_getTimeStamp(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoNotList_output(*args) - - __swig_destroy__ = _coin.delete_SoNotList - __del__ = lambda self : None; -SoNotList_swigregister = _coin.SoNotList_swigregister -SoNotList_swigregister(SoNotList) - -class SoField(object): - """Proxy of C++ SoField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoField - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoField_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoField_initClasses(*args) - - initClasses = staticmethod(initClasses) - def setIgnored(*args): - """setIgnored(self, SbBool ignore)""" - return _coin.SoField_setIgnored(*args) - - def isIgnored(*args): - """isIgnored(self) -> SbBool""" - return _coin.SoField_isIgnored(*args) - - def setDefault(*args): - """setDefault(self, SbBool def)""" - return _coin.SoField_setDefault(*args) - - def isDefault(*args): - """isDefault(self) -> SbBool""" - return _coin.SoField_isDefault(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoField_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoField_isOfType(*args) - - def enableConnection(*args): - """enableConnection(self, SbBool flag)""" - return _coin.SoField_enableConnection(*args) - - def isConnectionEnabled(*args): - """isConnectionEnabled(self) -> SbBool""" - return _coin.SoField_isConnectionEnabled(*args) - - def isConnectedFromEngine(*args): - """isConnectedFromEngine(self) -> SbBool""" - return _coin.SoField_isConnectedFromEngine(*args) - - def getConnectedEngine(*args): - """getConnectedEngine(self, SoEngineOutput master) -> SbBool""" - return _coin.SoField_getConnectedEngine(*args) - - def connectFrom(*args): - """ - connectFrom(self, SoEngineOutput master, SbBool notnotify=0, SbBool append=0) -> SbBool - connectFrom(self, SoEngineOutput master, SbBool notnotify=0) -> SbBool - connectFrom(self, SoEngineOutput master) -> SbBool - connectFrom(self, SoField master, SbBool notnotify=0, SbBool append=0) -> SbBool - connectFrom(self, SoField master, SbBool notnotify=0) -> SbBool - connectFrom(self, SoField master) -> SbBool - """ - return _coin.SoField_connectFrom(*args) - - def appendConnection(*args): - """ - appendConnection(self, SoEngineOutput master, SbBool notnotify=0) -> SbBool - appendConnection(self, SoEngineOutput master) -> SbBool - appendConnection(self, SoField master, SbBool notnotify=0) -> SbBool - appendConnection(self, SoField master) -> SbBool - """ - return _coin.SoField_appendConnection(*args) - - def isConnectedFromField(*args): - """isConnectedFromField(self) -> SbBool""" - return _coin.SoField_isConnectedFromField(*args) - - def getConnectedField(*args): - """getConnectedField(self, SoField master) -> SbBool""" - return _coin.SoField_getConnectedField(*args) - - def getNumConnections(*args): - """getNumConnections(self) -> int""" - return _coin.SoField_getNumConnections(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList slavelist) -> int""" - return _coin.SoField_getForwardConnections(*args) - - def getConnections(*args): - """getConnections(self, SoFieldList masterlist) -> int""" - return _coin.SoField_getConnections(*args) - - def disconnect(*args): - """ - disconnect(self, SoEngineOutput engineoutput) - disconnect(self, SoField field) - disconnect(self) - """ - return _coin.SoField_disconnect(*args) - - def isConnected(*args): - """isConnected(self) -> SbBool""" - return _coin.SoField_isConnected(*args) - - def setContainer(*args): - """setContainer(self, SoFieldContainer cont)""" - return _coin.SoField_setContainer(*args) - - def getContainer(*args): - """getContainer(self) -> SoFieldContainer""" - return _coin.SoField_getContainer(*args) - - def set(*args): - """set(self, char valuestring) -> SbBool""" - return _coin.SoField_set(*args) - - def shouldWrite(*args): - """shouldWrite(self) -> SbBool""" - return _coin.SoField_shouldWrite(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoField_touch(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoField_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList nlist)""" - return _coin.SoField_notify(*args) - - def enableNotify(*args): - """enableNotify(self, SbBool on) -> SbBool""" - return _coin.SoField_enableNotify(*args) - - def isNotifyEnabled(*args): - """isNotifyEnabled(self) -> SbBool""" - return _coin.SoField_isNotifyEnabled(*args) - - def addAuditor(*args): - """addAuditor(self, void f, Type type)""" - return _coin.SoField_addAuditor(*args) - - def removeAuditor(*args): - """removeAuditor(self, void f, Type type)""" - return _coin.SoField_removeAuditor(*args) - - def __eq__(*args): - """__eq__(self, SoField f) -> int""" - return _coin.SoField___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoField f) -> int""" - return _coin.SoField___ne__(*args) - - def connectionStatusChanged(*args): - """connectionStatusChanged(self, int numconnections)""" - return _coin.SoField_connectionStatusChanged(*args) - - def isReadOnly(*args): - """isReadOnly(self) -> SbBool""" - return _coin.SoField_isReadOnly(*args) - - def isSame(*args): - """isSame(self, SoField f) -> SbBool""" - return _coin.SoField_isSame(*args) - - def copyFrom(*args): - """copyFrom(self, SoField f)""" - return _coin.SoField_copyFrom(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoField_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoField_referencesCopy(*args) - - def copyConnection(*args): - """copyConnection(self, SoField fromfield)""" - return _coin.SoField_copyConnection(*args) - - def read(*args): - """read(self, SoInput in, SbName name) -> SbBool""" - return _coin.SoField_read(*args) - - def write(*args): - """write(self, SoOutput out, SbName name)""" - return _coin.SoField_write(*args) - - def countWriteRefs(*args): - """countWriteRefs(self, SoOutput out)""" - return _coin.SoField_countWriteRefs(*args) - - NORMAL_FIELD = _coin.SoField_NORMAL_FIELD - EVENTIN_FIELD = _coin.SoField_EVENTIN_FIELD - EVENTOUT_FIELD = _coin.SoField_EVENTOUT_FIELD - EXPOSED_FIELD = _coin.SoField_EXPOSED_FIELD - def setFieldType(*args): - """setFieldType(self, int type)""" - return _coin.SoField_setFieldType(*args) - - def getFieldType(*args): - """getFieldType(self) -> int""" - return _coin.SoField_getFieldType(*args) - - def getDirty(*args): - """getDirty(self) -> SbBool""" - return _coin.SoField_getDirty(*args) - - def setDirty(*args): - """setDirty(self, SbBool dirty)""" - return _coin.SoField_setDirty(*args) - - def evaluate(*args): - """evaluate(self)""" - return _coin.SoField_evaluate(*args) - - def get(*args): - """get(self) -> SbString""" - return _coin.SoField_get(*args) - -SoField_swigregister = _coin.SoField_swigregister -SoField_swigregister(SoField) - -def SoField_initClass(*args): - """SoField_initClass()""" - return _coin.SoField_initClass(*args) - -def SoField_initClasses(*args): - """SoField_initClasses()""" - return _coin.SoField_initClasses(*args) - -def SoField_getClassTypeId(*args): - """SoField_getClassTypeId() -> SoType""" - return _coin.SoField_getClassTypeId(*args) - -class SoSField(SoField): - """Proxy of C++ SoSField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoSField - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoSField_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) -SoSField_swigregister = _coin.SoSField_swigregister -SoSField_swigregister(SoSField) - -def SoSField_initClass(*args): - """SoSField_initClass()""" - return _coin.SoSField_initClass(*args) - -def SoSField_getClassTypeId(*args): - """SoSField_getClassTypeId() -> SoType""" - return _coin.SoSField_getClassTypeId(*args) - -class SoMField(SoField): - """Proxy of C++ SoMField class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoMField - __del__ = lambda self : None; - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMField_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoMField_getNum(*args) - - def setNum(*args): - """setNum(self, int num)""" - return _coin.SoMField_setNum(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMField_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMField_insertSpace(*args) - - def set1(*args): - """set1(self, int index, char valuestring) -> SbBool""" - return _coin.SoMField_set1(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMField_initClass(*args) - - initClass = staticmethod(initClass) - def enableDeleteValues(*args): - """enableDeleteValues(self)""" - return _coin.SoMField_enableDeleteValues(*args) - - def isDeleteValuesEnabled(*args): - """isDeleteValuesEnabled(self) -> SbBool""" - return _coin.SoMField_isDeleteValuesEnabled(*args) - - def __iter__(self): - i = 0 - while i < self.getNum(): - yield self[i] - i += 1 - - def __len__(*args): - """__len__(self, void ?) -> int""" - return _coin.SoMField___len__(*args) - - def get1(*args): - """get1(self, int index) -> SbString""" - return _coin.SoMField_get1(*args) - -SoMField_swigregister = _coin.SoMField_swigregister -SoMField_swigregister(SoMField) - -def SoMField_getClassTypeId(*args): - """SoMField_getClassTypeId() -> SoType""" - return _coin.SoMField_getClassTypeId(*args) - -def SoMField_initClass(*args): - """SoMField_initClass()""" - return _coin.SoMField_initClass(*args) - -class SoAuditorList(object): - """Proxy of C++ SoAuditorList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoAuditorList""" - this = _coin.new_SoAuditorList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoAuditorList - __del__ = lambda self : None; - def append(*args): - """append(self, void auditor, Type type)""" - return _coin.SoAuditorList_append(*args) - - def set(*args): - """set(self, int index, void auditor, Type type)""" - return _coin.SoAuditorList_set(*args) - - def getObject(*args): - """getObject(self, int index) -> void""" - return _coin.SoAuditorList_getObject(*args) - - def getType(*args): - """getType(self, int index) -> Type""" - return _coin.SoAuditorList_getType(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoAuditorList_getLength(*args) - - def find(*args): - """find(self, void auditor, Type type) -> int""" - return _coin.SoAuditorList_find(*args) - - def remove(*args): - """ - remove(self, int index) - remove(self, void auditor, Type type) - """ - return _coin.SoAuditorList_remove(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoAuditorList_notify(*args) - -SoAuditorList_swigregister = _coin.SoAuditorList_swigregister -SoAuditorList_swigregister(SoAuditorList) - -class SoBase(object): - """Proxy of C++ SoBase class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoBase_initClass(*args) - - initClass = staticmethod(initClass) - def ref(*args): - """ref(self)""" - return _coin.SoBase_ref(*args) - - def unref(*args): - """unref(self)""" - return _coin.SoBase_unref(*args) - - def unrefNoDelete(*args): - """unrefNoDelete(self)""" - return _coin.SoBase_unrefNoDelete(*args) - - def getRefCount(*args): - """getRefCount(self) -> int32_t""" - return _coin.SoBase_getRefCount(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoBase_touch(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBase_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoBase_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBase_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoBase_getName(*args) - - def setName(*args): - """setName(self, SbName newname)""" - return _coin.SoBase_setName(*args) - - def addName(*args): - """addName(SoBase base, char name)""" - return _coin.SoBase_addName(*args) - - addName = staticmethod(addName) - def removeName(*args): - """removeName(SoBase base, char name)""" - return _coin.SoBase_removeName(*args) - - removeName = staticmethod(removeName) - def startNotify(*args): - """startNotify(self)""" - return _coin.SoBase_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoBase_notify(*args) - - def addAuditor(*args): - """addAuditor(self, void auditor, Type type)""" - return _coin.SoBase_addAuditor(*args) - - def removeAuditor(*args): - """removeAuditor(self, void auditor, Type type)""" - return _coin.SoBase_removeAuditor(*args) - - def getAuditors(*args): - """getAuditors(self) -> SoAuditorList""" - return _coin.SoBase_getAuditors(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoBase_addWriteReference(*args) - - def shouldWrite(*args): - """shouldWrite(self) -> SbBool""" - return _coin.SoBase_shouldWrite(*args) - - def incrementCurrentWriteCounter(*args): - """incrementCurrentWriteCounter()""" - return _coin.SoBase_incrementCurrentWriteCounter(*args) - - incrementCurrentWriteCounter = staticmethod(incrementCurrentWriteCounter) - def decrementCurrentWriteCounter(*args): - """decrementCurrentWriteCounter()""" - return _coin.SoBase_decrementCurrentWriteCounter(*args) - - decrementCurrentWriteCounter = staticmethod(decrementCurrentWriteCounter) - def getNamedBase(*args): - """getNamedBase(SbName name, SoType type) -> SoBase""" - return _coin.SoBase_getNamedBase(*args) - - getNamedBase = staticmethod(getNamedBase) - def getNamedBases(*args): - """getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int""" - return _coin.SoBase_getNamedBases(*args) - - getNamedBases = staticmethod(getNamedBases) - def read(*args): - """read(SoInput in, SoBase base, SoType expectedtype) -> SbBool""" - return _coin.SoBase_read(*args) - - read = staticmethod(read) - def setInstancePrefix(*args): - """setInstancePrefix(SbString c)""" - return _coin.SoBase_setInstancePrefix(*args) - - setInstancePrefix = staticmethod(setInstancePrefix) - def setTraceRefs(*args): - """setTraceRefs(SbBool trace)""" - return _coin.SoBase_setTraceRefs(*args) - - setTraceRefs = staticmethod(setTraceRefs) - def getTraceRefs(*args): - """getTraceRefs() -> SbBool""" - return _coin.SoBase_getTraceRefs(*args) - - getTraceRefs = staticmethod(getTraceRefs) - def connectRoute(*args): - """ - connectRoute(SoInput in, SbName fromnodename, SbName fromfieldname, - SbName tonodename, SbName tofieldname) -> SbBool - """ - return _coin.SoBase_connectRoute(*args) - - connectRoute = staticmethod(connectRoute) - def assertAlive(*args): - """assertAlive(self)""" - return _coin.SoBase_assertAlive(*args) - - def readRoute(*args): - """readRoute(SoInput in) -> SbBool""" - return _coin.SoBase_readRoute(*args) - - readRoute = staticmethod(readRoute) - __swig_destroy__ = _coin.delete_SoBase - __del__ = lambda self : None; - def __eq__(self,other): - return other and (self.this == other.this) or False - def __ne__(self,other): - return other and (self.this != other.this) or True - def __nonzero__(self): - return True - -SoBase_swigregister = _coin.SoBase_swigregister -SoBase_swigregister(SoBase) - -def SoBase_initClass(*args): - """SoBase_initClass()""" - return _coin.SoBase_initClass(*args) - -def SoBase_getClassTypeId(*args): - """SoBase_getClassTypeId() -> SoType""" - return _coin.SoBase_getClassTypeId(*args) - -def SoBase_addName(*args): - """SoBase_addName(SoBase base, char name)""" - return _coin.SoBase_addName(*args) - -def SoBase_removeName(*args): - """SoBase_removeName(SoBase base, char name)""" - return _coin.SoBase_removeName(*args) - -def SoBase_incrementCurrentWriteCounter(*args): - """SoBase_incrementCurrentWriteCounter()""" - return _coin.SoBase_incrementCurrentWriteCounter(*args) - -def SoBase_decrementCurrentWriteCounter(*args): - """SoBase_decrementCurrentWriteCounter()""" - return _coin.SoBase_decrementCurrentWriteCounter(*args) - -def SoBase_getNamedBase(*args): - """SoBase_getNamedBase(SbName name, SoType type) -> SoBase""" - return _coin.SoBase_getNamedBase(*args) - -def SoBase_getNamedBases(*args): - """SoBase_getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int""" - return _coin.SoBase_getNamedBases(*args) - -def SoBase_read(*args): - """SoBase_read(SoInput in, SoBase base, SoType expectedtype) -> SbBool""" - return _coin.SoBase_read(*args) - -def SoBase_setInstancePrefix(*args): - """SoBase_setInstancePrefix(SbString c)""" - return _coin.SoBase_setInstancePrefix(*args) - -def SoBase_setTraceRefs(*args): - """SoBase_setTraceRefs(SbBool trace)""" - return _coin.SoBase_setTraceRefs(*args) - -def SoBase_getTraceRefs(*args): - """SoBase_getTraceRefs() -> SbBool""" - return _coin.SoBase_getTraceRefs(*args) - -def SoBase_connectRoute(*args): - """ - SoBase_connectRoute(SoInput in, SbName fromnodename, SbName fromfieldname, - SbName tonodename, SbName tofieldname) -> SbBool - """ - return _coin.SoBase_connectRoute(*args) - -def SoBase_readRoute(*args): - """SoBase_readRoute(SoInput in) -> SbBool""" - return _coin.SoBase_readRoute(*args) - -class SoBaseList(SbPList): - """Proxy of C++ SoBaseList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoBaseList - __init__(self, int size) -> SoBaseList - __init__(self, SoBaseList l) -> SoBaseList - """ - this = _coin.new_SoBaseList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBaseList - __del__ = lambda self : None; - def append(*args): - """append(self, SoBase ptr)""" - return _coin.SoBaseList_append(*args) - - def insert(*args): - """insert(self, SoBase ptr, int addbefore)""" - return _coin.SoBaseList_insert(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SoBaseList_remove(*args) - - def removeItem(*args): - """removeItem(self, SoBase item)""" - return _coin.SoBaseList_removeItem(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoBaseList_truncate(*args) - - def copy(*args): - """copy(self, SoBaseList l)""" - return _coin.SoBaseList_copy(*args) - - def set(*args): - """set(self, int i, SoBase ptr)""" - return _coin.SoBaseList_set(*args) - - def addReferences(*args): - """addReferences(self, SbBool flag)""" - return _coin.SoBaseList_addReferences(*args) - - def isReferencing(*args): - """isReferencing(self) -> SbBool""" - return _coin.SoBaseList_isReferencing(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoBase value)""" - return _coin.SoBaseList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoBase""" - return _coin.SoBaseList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoBase""" - return _coin.SoBaseList_get(*args) - -SoBaseList_swigregister = _coin.SoBaseList_swigregister -SoBaseList_swigregister(SoBaseList) - -class SoNodeList(SoBaseList): - """Proxy of C++ SoNodeList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoNodeList - __init__(self, int size) -> SoNodeList - __init__(self, SoNodeList nl) -> SoNodeList - """ - this = _coin.new_SoNodeList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeList - __del__ = lambda self : None; - def append(*args): - """append(self, SoNode ptr)""" - return _coin.SoNodeList_append(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoNode value)""" - return _coin.SoNodeList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoNode""" - return _coin.SoNodeList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoNode""" - return _coin.SoNodeList_get(*args) - -SoNodeList_swigregister = _coin.SoNodeList_swigregister -SoNodeList_swigregister(SoNodeList) - -class SoDetailList(SbPList): - """Proxy of C++ SoDetailList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoDetailList - __init__(self, int sizehint) -> SoDetailList - __init__(self, SoDetailList l) -> SoDetailList - """ - this = _coin.new_SoDetailList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDetailList - __del__ = lambda self : None; - def append(*args): - """append(self, SoDetail detail)""" - return _coin.SoDetailList_append(*args) - - def insert(*args): - """insert(self, SoDetail detail, int insertbefore)""" - return _coin.SoDetailList_insert(*args) - - def truncate(*args): - """ - truncate(self, int length, int fit=0) - truncate(self, int length) - """ - return _coin.SoDetailList_truncate(*args) - - def copy(*args): - """copy(self, SoDetailList l)""" - return _coin.SoDetailList_copy(*args) - - def set(*args): - """set(self, int index, SoDetail item)""" - return _coin.SoDetailList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoDetail value)""" - return _coin.SoDetailList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoDetail""" - return _coin.SoDetailList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoDetail""" - return _coin.SoDetailList_get(*args) - -SoDetailList_swigregister = _coin.SoDetailList_swigregister -SoDetailList_swigregister(SoDetailList) - -class SoTypeList(SbPList): - """Proxy of C++ SoTypeList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoTypeList - __init__(self, int sizehint) -> SoTypeList - __init__(self, SoTypeList l) -> SoTypeList - """ - this = _coin.new_SoTypeList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoType type)""" - return _coin.SoTypeList_append(*args) - - def find(*args): - """find(self, SoType type) -> int""" - return _coin.SoTypeList_find(*args) - - def insert(*args): - """insert(self, SoType type, int insertbefore)""" - return _coin.SoTypeList_insert(*args) - - def set(*args): - """set(self, int index, SoType item)""" - return _coin.SoTypeList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoType value)""" - return _coin.SoTypeList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoType""" - return _coin.SoTypeList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoType""" - return _coin.SoTypeList_get(*args) - - __swig_destroy__ = _coin.delete_SoTypeList - __del__ = lambda self : None; -SoTypeList_swigregister = _coin.SoTypeList_swigregister -SoTypeList_swigregister(SoTypeList) - -class SoEnabledElementsList(object): - """Proxy of C++ SoEnabledElementsList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoEnabledElementsList parentlist) -> SoEnabledElementsList""" - this = _coin.new_SoEnabledElementsList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEnabledElementsList - __del__ = lambda self : None; - def getElements(*args): - """getElements(self) -> SoTypeList""" - return _coin.SoEnabledElementsList_getElements(*args) - - def enable(*args): - """enable(self, SoType elementtype, int stackindex)""" - return _coin.SoEnabledElementsList_enable(*args) - - def merge(*args): - """merge(self, SoEnabledElementsList eel)""" - return _coin.SoEnabledElementsList_merge(*args) - - def getCounter(*args): - """getCounter() -> int""" - return _coin.SoEnabledElementsList_getCounter(*args) - - getCounter = staticmethod(getCounter) -SoEnabledElementsList_swigregister = _coin.SoEnabledElementsList_swigregister -SoEnabledElementsList_swigregister(SoEnabledElementsList) - -def SoEnabledElementsList_getCounter(*args): - """SoEnabledElementsList_getCounter() -> int""" - return _coin.SoEnabledElementsList_getCounter(*args) - -class SoEngineOutputList(SbPList): - """Proxy of C++ SoEngineOutputList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineOutputList - __init__(self, int sizehint) -> SoEngineOutputList - __init__(self, SoEngineOutputList l) -> SoEngineOutputList - """ - this = _coin.new_SoEngineOutputList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoEngineOutput output)""" - return _coin.SoEngineOutputList_append(*args) - - def insert(*args): - """insert(self, SoEngineOutput output, int insertbefore)""" - return _coin.SoEngineOutputList_insert(*args) - - def set(*args): - """set(self, int idx, SoEngineOutput item)""" - return _coin.SoEngineOutputList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngineOutput value)""" - return _coin.SoEngineOutputList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngineOutput""" - return _coin.SoEngineOutputList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoEngineOutput""" - return _coin.SoEngineOutputList_get(*args) - - __swig_destroy__ = _coin.delete_SoEngineOutputList - __del__ = lambda self : None; -SoEngineOutputList_swigregister = _coin.SoEngineOutputList_swigregister -SoEngineOutputList_swigregister(SoEngineOutputList) - -class SoEngineList(SoBaseList): - """Proxy of C++ SoEngineList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineList - __init__(self, int size) -> SoEngineList - __init__(self, SoEngineList el) -> SoEngineList - """ - this = _coin.new_SoEngineList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineList - __del__ = lambda self : None; - def append(*args): - """append(self, SoEngine ptr)""" - return _coin.SoEngineList_append(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngine value)""" - return _coin.SoEngineList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngine""" - return _coin.SoEngineList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoEngine""" - return _coin.SoEngineList_get(*args) - -SoEngineList_swigregister = _coin.SoEngineList_swigregister -SoEngineList_swigregister(SoEngineList) - -class SoFieldList(SbPList): - """Proxy of C++ SoFieldList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoFieldList - __init__(self, int sizehint) -> SoFieldList - __init__(self, SoFieldList l) -> SoFieldList - """ - this = _coin.new_SoFieldList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SoField field)""" - return _coin.SoFieldList_append(*args) - - def insert(*args): - """insert(self, SoField field, int insertbefore)""" - return _coin.SoFieldList_insert(*args) - - def set(*args): - """set(self, int idx, SoField field)""" - return _coin.SoFieldList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoField value)""" - return _coin.SoFieldList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoField""" - return _coin.SoFieldList___getitem__(*args) - - def get(*args): - """ - get(self, int idx) -> SoField - get(self, int i) -> SoField - """ - return _coin.SoFieldList_get(*args) - - __swig_destroy__ = _coin.delete_SoFieldList - __del__ = lambda self : None; -SoFieldList_swigregister = _coin.SoFieldList_swigregister -SoFieldList_swigregister(SoFieldList) - -class SoPathList(SoBaseList): - """Proxy of C++ SoPathList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPathList - __init__(self, int size) -> SoPathList - __init__(self, SoPathList pl) -> SoPathList - """ - this = _coin.new_SoPathList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPathList - __del__ = lambda self : None; - def append(*args): - """append(self, SoPath path)""" - return _coin.SoPathList_append(*args) - - def findPath(*args): - """findPath(self, SoPath path) -> int""" - return _coin.SoPathList_findPath(*args) - - def sort(*args): - """sort(self)""" - return _coin.SoPathList_sort(*args) - - def uniquify(*args): - """uniquify(self)""" - return _coin.SoPathList_uniquify(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPath value)""" - return _coin.SoPathList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPath""" - return _coin.SoPathList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoPath""" - return _coin.SoPathList_get(*args) - -SoPathList_swigregister = _coin.SoPathList_swigregister -SoPathList_swigregister(SoPathList) - -class SoPickedPointList(SbPList): - """Proxy of C++ SoPickedPointList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPickedPointList - __init__(self, int sizehint) -> SoPickedPointList - __init__(self, SoPickedPointList l) -> SoPickedPointList - """ - this = _coin.new_SoPickedPointList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPickedPointList - __del__ = lambda self : None; - def append(*args): - """append(self, SoPickedPoint pp)""" - return _coin.SoPickedPointList_append(*args) - - def insert(*args): - """insert(self, SoPickedPoint pp, int insertbefore)""" - return _coin.SoPickedPointList_insert(*args) - - def truncate(*args): - """ - truncate(self, int start, int fit=0) - truncate(self, int start) - """ - return _coin.SoPickedPointList_truncate(*args) - - def set(*args): - """set(self, int idx, SoPickedPoint pp)""" - return _coin.SoPickedPointList_set(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPickedPoint value)""" - return _coin.SoPickedPointList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPickedPoint""" - return _coin.SoPickedPointList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoPickedPoint""" - return _coin.SoPickedPointList_get(*args) - -SoPickedPointList_swigregister = _coin.SoPickedPointList_swigregister -SoPickedPointList_swigregister(SoPickedPointList) - -class SoPath(SoBase): - """Proxy of C++ SoPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoPath_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self, int approxlength=4) -> SoPath - __init__(self) -> SoPath - __init__(self, SoNode head) -> SoPath - __init__(self, SoPath rhs) -> SoPath - """ - this = _coin.new_SoPath(*args) - try: self.this.append(this) - except: self.this = this - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPath_getTypeId(*args) - - def setHead(*args): - """setHead(self, SoNode head)""" - return _coin.SoPath_setHead(*args) - - def getHead(*args): - """getHead(self) -> SoNode""" - return _coin.SoPath_getHead(*args) - - def append(*args): - """ - append(self, int childindex) - append(self, SoNode node) - append(self, SoPath frompath) - """ - return _coin.SoPath_append(*args) - - def push(*args): - """push(self, int childindex)""" - return _coin.SoPath_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoPath_pop(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoPath_getTail(*args) - - def getNode(*args): - """getNode(self, int index) -> SoNode""" - return _coin.SoPath_getNode(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int index) -> SoNode""" - return _coin.SoPath_getNodeFromTail(*args) - - def getIndex(*args): - """getIndex(self, int index) -> int""" - return _coin.SoPath_getIndex(*args) - - def getIndexFromTail(*args): - """getIndexFromTail(self, int index) -> int""" - return _coin.SoPath_getIndexFromTail(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoPath_getLength(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoPath_truncate(*args) - - def findFork(*args): - """findFork(self, SoPath path) -> int""" - return _coin.SoPath_findFork(*args) - - def findNode(*args): - """findNode(self, SoNode node) -> int""" - return _coin.SoPath_findNode(*args) - - def containsNode(*args): - """containsNode(self, SoNode node) -> SbBool""" - return _coin.SoPath_containsNode(*args) - - def containsPath(*args): - """containsPath(self, SoPath path) -> SbBool""" - return _coin.SoPath_containsPath(*args) - - def copy(*args): - """ - copy(self, int startfromnodeindex=0, int numnodes=0) -> SoPath - copy(self, int startfromnodeindex=0) -> SoPath - copy(self) -> SoPath - """ - return _coin.SoPath_copy(*args) - - def getByName(*args): - """ - getByName(SbName name) -> SoPath - getByName(SbName name, SoPathList l) -> int - """ - return _coin.SoPath_getByName(*args) - - getByName = staticmethod(getByName) - def insertIndex(*args): - """insertIndex(self, SoNode parent, int newindex)""" - return _coin.SoPath_insertIndex(*args) - - def removeIndex(*args): - """removeIndex(self, SoNode parent, int oldindex)""" - return _coin.SoPath_removeIndex(*args) - - def replaceIndex(*args): - """replaceIndex(self, SoNode parent, int index, SoNode newchild)""" - return _coin.SoPath_replaceIndex(*args) - - def isRelevantNotification(*args): - """isRelevantNotification(self, SoNotList l) -> SbBool""" - return _coin.SoPath_isRelevantNotification(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoPath_write(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self.getNode(i) - - def index(self): - for i in range(self.getLength()): - yield self.getIndex(i) - - def __eq__(*args): - """__eq__(self, SoPath u) -> int""" - return _coin.SoPath___eq__(*args) - - def __nq__(*args): - """__nq__(self, SoPath u) -> int""" - return _coin.SoPath___nq__(*args) - -SoPath_swigregister = _coin.SoPath_swigregister -SoPath_swigregister(SoPath) - -def SoPath_initClass(*args): - """SoPath_initClass()""" - return _coin.SoPath_initClass(*args) - -def SoPath_getClassTypeId(*args): - """SoPath_getClassTypeId() -> SoType""" - return _coin.SoPath_getClassTypeId(*args) - -def SoPath_getByName(*args): - """ - getByName(SbName name) -> SoPath - SoPath_getByName(SbName name, SoPathList l) -> int - """ - return _coin.SoPath_getByName(*args) - -class SoLightPath(object): - """Proxy of C++ SoLightPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoNode node, int approxlength) -> SoLightPath - __init__(self, int approxlength) -> SoLightPath - """ - this = _coin.new_SoLightPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLightPath - __del__ = lambda self : None; - def setHead(*args): - """setHead(self, SoNode node)""" - return _coin.SoLightPath_setHead(*args) - - def append(*args): - """append(self, int childindex)""" - return _coin.SoLightPath_append(*args) - - def push(*args): - """push(self, int childindex)""" - return _coin.SoLightPath_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoLightPath_pop(*args) - - def setTail(*args): - """setTail(self, int childindex)""" - return _coin.SoLightPath_setTail(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoLightPath_getTail(*args) - - def getHead(*args): - """getHead(self) -> SoNode""" - return _coin.SoLightPath_getHead(*args) - - def getNode(*args): - """getNode(self, int index) -> SoNode""" - return _coin.SoLightPath_getNode(*args) - - def getIndex(*args): - """getIndex(self, int index) -> int""" - return _coin.SoLightPath_getIndex(*args) - - def getFullLength(*args): - """getFullLength(self) -> int""" - return _coin.SoLightPath_getFullLength(*args) - - def truncate(*args): - """truncate(self, int startindex)""" - return _coin.SoLightPath_truncate(*args) - - def makeTempPath(*args): - """makeTempPath(self, SoTempPath path)""" - return _coin.SoLightPath_makeTempPath(*args) - -SoLightPath_swigregister = _coin.SoLightPath_swigregister -SoLightPath_swigregister(SoLightPath) - -class SoFullPath(SoPath): - """Proxy of C++ SoFullPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def pop(*args): - """pop(self)""" - return _coin.SoFullPath_pop(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoFullPath_getTail(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int index) -> SoNode""" - return _coin.SoFullPath_getNodeFromTail(*args) - - def getIndexFromTail(*args): - """getIndexFromTail(self, int index) -> int""" - return _coin.SoFullPath_getIndexFromTail(*args) - - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoFullPath_getLength(*args) - -SoFullPath_swigregister = _coin.SoFullPath_swigregister -SoFullPath_swigregister(SoFullPath) - -class SoTempPath(SoFullPath): - """Proxy of C++ SoTempPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, int approxlength) -> SoTempPath""" - this = _coin.new_SoTempPath(*args) - try: self.this.append(this) - except: self.this = this - def simpleAppend(*args): - """simpleAppend(self, SoNode node, int index)""" - return _coin.SoTempPath_simpleAppend(*args) - - def replaceTail(*args): - """replaceTail(self, SoNode node, int index)""" - return _coin.SoTempPath_replaceTail(*args) - -SoTempPath_swigregister = _coin.SoTempPath_swigregister -SoTempPath_swigregister(SoTempPath) - -class SoActionMethodList(SbPList): - """Proxy of C++ SoActionMethodList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoActionMethodList parentlist) -> SoActionMethodList""" - this = _coin.new_SoActionMethodList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoActionMethodList - __del__ = lambda self : None; - def addMethod(*args): - """addMethod(self, SoType node, SoActionMethod method)""" - return _coin.SoActionMethodList_addMethod(*args) - - def setUp(*args): - """setUp(self)""" - return _coin.SoActionMethodList_setUp(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoActionMethod value)""" - return _coin.SoActionMethodList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoActionMethod""" - return _coin.SoActionMethodList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SoActionMethod""" - return _coin.SoActionMethodList_get(*args) - -SoActionMethodList_swigregister = _coin.SoActionMethodList_swigregister -SoActionMethodList_swigregister(SoActionMethodList) - -class SoAction(object): - """Proxy of C++ SoAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - NODE = _coin.SoAction_NODE - PATH = _coin.SoAction_PATH - PATH_LIST = _coin.SoAction_PATH_LIST - NO_PATH = _coin.SoAction_NO_PATH - IN_PATH = _coin.SoAction_IN_PATH - BELOW_PATH = _coin.SoAction_BELOW_PATH - OFF_PATH = _coin.SoAction_OFF_PATH - __swig_destroy__ = _coin.delete_SoAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoAction_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoAction_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAction_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoAction_isOfType(*args) - - def apply(*args): - """ - apply(self, SoNode root) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - apply(self, SoAction beingApplied) - """ - return _coin.SoAction_apply(*args) - - def invalidateState(*args): - """invalidateState(self)""" - return _coin.SoAction_invalidateState(*args) - - def nullAction(*args): - """nullAction(SoAction action, SoNode node)""" - return _coin.SoAction_nullAction(*args) - - nullAction = staticmethod(nullAction) - def getWhatAppliedTo(*args): - """getWhatAppliedTo(self) -> AppliedCode""" - return _coin.SoAction_getWhatAppliedTo(*args) - - def getNodeAppliedTo(*args): - """getNodeAppliedTo(self) -> SoNode""" - return _coin.SoAction_getNodeAppliedTo(*args) - - def getPathAppliedTo(*args): - """getPathAppliedTo(self) -> SoPath""" - return _coin.SoAction_getPathAppliedTo(*args) - - def getPathListAppliedTo(*args): - """getPathListAppliedTo(self) -> SoPathList""" - return _coin.SoAction_getPathListAppliedTo(*args) - - def getOriginalPathListAppliedTo(*args): - """getOriginalPathListAppliedTo(self) -> SoPathList""" - return _coin.SoAction_getOriginalPathListAppliedTo(*args) - - def isLastPathListAppliedTo(*args): - """isLastPathListAppliedTo(self) -> SbBool""" - return _coin.SoAction_isLastPathListAppliedTo(*args) - - def getPathCode(*args): - """getPathCode(self, int numindices, int indices) -> PathCode""" - return _coin.SoAction_getPathCode(*args) - - def traverse(*args): - """traverse(self, SoNode node)""" - return _coin.SoAction_traverse(*args) - - def hasTerminated(*args): - """hasTerminated(self) -> SbBool""" - return _coin.SoAction_hasTerminated(*args) - - def getCurPath(*args): - """getCurPath(self) -> SoPath""" - return _coin.SoAction_getCurPath(*args) - - def getState(*args): - """getState(self) -> SoState""" - return _coin.SoAction_getState(*args) - - def getCurPathCode(*args): - """getCurPathCode(self) -> PathCode""" - return _coin.SoAction_getCurPathCode(*args) - - def getCurPathTail(*args): - """getCurPathTail(self) -> SoNode""" - return _coin.SoAction_getCurPathTail(*args) - - def usePathCode(*args): - """usePathCode(self, int numindices, int indices)""" - return _coin.SoAction_usePathCode(*args) - - def pushCurPath(*args): - """ - pushCurPath(self, int childindex, SoNode node=None) - pushCurPath(self, int childindex) - pushCurPath(self) - """ - return _coin.SoAction_pushCurPath(*args) - - def popPushCurPath(*args): - """ - popPushCurPath(self, int childindex, SoNode node=None) - popPushCurPath(self, int childindex) - """ - return _coin.SoAction_popPushCurPath(*args) - - def popCurPath(*args): - """ - popCurPath(self, PathCode prevpathcode) - popCurPath(self) - """ - return _coin.SoAction_popCurPath(*args) - - def switchToPathTraversal(*args): - """switchToPathTraversal(self, SoPath path)""" - return _coin.SoAction_switchToPathTraversal(*args) - - def switchToNodeTraversal(*args): - """switchToNodeTraversal(self, SoNode node)""" - return _coin.SoAction_switchToNodeTraversal(*args) - -SoAction_swigregister = _coin.SoAction_swigregister -SoAction_swigregister(SoAction) - -def SoAction_initClass(*args): - """SoAction_initClass()""" - return _coin.SoAction_initClass(*args) - -def SoAction_initClasses(*args): - """SoAction_initClasses()""" - return _coin.SoAction_initClasses(*args) - -def SoAction_getClassTypeId(*args): - """SoAction_getClassTypeId() -> SoType""" - return _coin.SoAction_getClassTypeId(*args) - -def SoAction_nullAction(*args): - """SoAction_nullAction(SoAction action, SoNode node)""" - return _coin.SoAction_nullAction(*args) - -class SoState(object): - """Proxy of C++ SoState class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoAction action, SoTypeList enabledelements) -> SoState""" - this = _coin.new_SoState(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoState - __del__ = lambda self : None; - def getAction(*args): - """getAction(self) -> SoAction""" - return _coin.SoState_getAction(*args) - - def getElement(*args): - """getElement(self, int stackindex) -> SoElement""" - return _coin.SoState_getElement(*args) - - def getConstElement(*args): - """getConstElement(self, int stackindex) -> SoElement""" - return _coin.SoState_getConstElement(*args) - - def push(*args): - """push(self)""" - return _coin.SoState_push(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoState_pop(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoState_output(*args) - - def isElementEnabled(*args): - """isElementEnabled(self, int stackindex) -> SbBool""" - return _coin.SoState_isElementEnabled(*args) - - def getDepth(*args): - """getDepth(self) -> int""" - return _coin.SoState_getDepth(*args) - - def setCacheOpen(*args): - """setCacheOpen(self, SbBool flag)""" - return _coin.SoState_setCacheOpen(*args) - - def isCacheOpen(*args): - """isCacheOpen(self) -> SbBool""" - return _coin.SoState_isCacheOpen(*args) - - def getElementNoPush(*args): - """getElementNoPush(self, int stackindex) -> SoElement""" - return _coin.SoState_getElementNoPush(*args) - -SoState_swigregister = _coin.SoState_swigregister -SoState_swigregister(SoState) - -class SoElement(object): - """Proxy of C++ SoElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoElement_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoElement_getTypeId(*args) - - def getStackIndex(*args): - """getStackIndex(self) -> int""" - return _coin.SoElement_getStackIndex(*args) - - def init(*args): - """init(self, SoState state)""" - return _coin.SoElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoElement_copyMatchInfo(*args) - - def initElements(*args): - """initElements()""" - return _coin.SoElement_initElements(*args) - - initElements = staticmethod(initElements) - def getNumStackIndices(*args): - """getNumStackIndices() -> int""" - return _coin.SoElement_getNumStackIndices(*args) - - getNumStackIndices = staticmethod(getNumStackIndices) - def getIdFromStackIndex(*args): - """getIdFromStackIndex(int stackIndex) -> SoType""" - return _coin.SoElement_getIdFromStackIndex(*args) - - getIdFromStackIndex = staticmethod(getIdFromStackIndex) - def setDepth(*args): - """setDepth(self, int depth)""" - return _coin.SoElement_setDepth(*args) - - def getDepth(*args): - """getDepth(self) -> int""" - return _coin.SoElement_getDepth(*args) - - def output(*args): - """ - output(self, FILE file=stdout) - output(self) - """ - return _coin.SoElement_output(*args) - - __swig_destroy__ = _coin.delete_SoElement - __del__ = lambda self : None; -SoElement_swigregister = _coin.SoElement_swigregister -SoElement_swigregister(SoElement) - -def SoElement_initClass(*args): - """SoElement_initClass()""" - return _coin.SoElement_initClass(*args) - -def SoElement_getClassTypeId(*args): - """SoElement_getClassTypeId() -> SoType""" - return _coin.SoElement_getClassTypeId(*args) - -def SoElement_getClassStackIndex(*args): - """SoElement_getClassStackIndex() -> int""" - return _coin.SoElement_getClassStackIndex(*args) - -def SoElement_initElements(*args): - """SoElement_initElements()""" - return _coin.SoElement_initElements(*args) - -def SoElement_getNumStackIndices(*args): - """SoElement_getNumStackIndices() -> int""" - return _coin.SoElement_getNumStackIndices(*args) - -def SoElement_getIdFromStackIndex(*args): - """SoElement_getIdFromStackIndex(int stackIndex) -> SoType""" - return _coin.SoElement_getIdFromStackIndex(*args) - -class SoInt32Element(SoElement): - """Proxy of C++ SoInt32Element class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInt32Element_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoInt32Element_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoInt32Element_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoInt32Element_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoInt32Element_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoInt32Element_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoInt32Element_output(*args) - - def set(*args): - """ - set(int index, SoState state, SoNode node, int32_t value) - set(int index, SoState state, int32_t value) - """ - return _coin.SoInt32Element_set(*args) - - set = staticmethod(set) - def get(*args): - """get(int index, SoState state) -> int32_t""" - return _coin.SoInt32Element_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoInt32Element_setElt(*args) - -SoInt32Element_swigregister = _coin.SoInt32Element_swigregister -SoInt32Element_swigregister(SoInt32Element) - -def SoInt32Element_getClassTypeId(*args): - """SoInt32Element_getClassTypeId() -> SoType""" - return _coin.SoInt32Element_getClassTypeId(*args) - -def SoInt32Element_getClassStackIndex(*args): - """SoInt32Element_getClassStackIndex() -> int""" - return _coin.SoInt32Element_getClassStackIndex(*args) - -def SoInt32Element_initClass(*args): - """SoInt32Element_initClass()""" - return _coin.SoInt32Element_initClass(*args) - -def SoInt32Element_set(*args): - """ - set(int index, SoState state, SoNode node, int32_t value) - SoInt32Element_set(int index, SoState state, int32_t value) - """ - return _coin.SoInt32Element_set(*args) - -def SoInt32Element_get(*args): - """SoInt32Element_get(int index, SoState state) -> int32_t""" - return _coin.SoInt32Element_get(*args) - -class SoDecimationTypeElement(SoInt32Element): - """Proxy of C++ SoDecimationTypeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecimationTypeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDecimationTypeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecimationTypeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDecimationTypeElement_initClass(*args) - - initClass = staticmethod(initClass) - AUTOMATIC = _coin.SoDecimationTypeElement_AUTOMATIC - HIGHEST = _coin.SoDecimationTypeElement_HIGHEST - LOWEST = _coin.SoDecimationTypeElement_LOWEST - PERCENTAGE = _coin.SoDecimationTypeElement_PERCENTAGE - def init(*args): - """init(self, SoState state)""" - return _coin.SoDecimationTypeElement_init(*args) - - def set(*args): - """ - set(SoState state, Type type) - set(SoState state, SoNode node, Type type) - """ - return _coin.SoDecimationTypeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Type""" - return _coin.SoDecimationTypeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Type""" - return _coin.SoDecimationTypeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDecimationTypeElement_swigregister = _coin.SoDecimationTypeElement_swigregister -SoDecimationTypeElement_swigregister(SoDecimationTypeElement) - -def SoDecimationTypeElement_getClassTypeId(*args): - """SoDecimationTypeElement_getClassTypeId() -> SoType""" - return _coin.SoDecimationTypeElement_getClassTypeId(*args) - -def SoDecimationTypeElement_getClassStackIndex(*args): - """SoDecimationTypeElement_getClassStackIndex() -> int""" - return _coin.SoDecimationTypeElement_getClassStackIndex(*args) - -def SoDecimationTypeElement_createInstance(*args): - """SoDecimationTypeElement_createInstance() -> void""" - return _coin.SoDecimationTypeElement_createInstance(*args) - -def SoDecimationTypeElement_initClass(*args): - """SoDecimationTypeElement_initClass()""" - return _coin.SoDecimationTypeElement_initClass(*args) - -def SoDecimationTypeElement_set(*args): - """ - set(SoState state, Type type) - SoDecimationTypeElement_set(SoState state, SoNode node, Type type) - """ - return _coin.SoDecimationTypeElement_set(*args) - -def SoDecimationTypeElement_get(*args): - """SoDecimationTypeElement_get(SoState state) -> Type""" - return _coin.SoDecimationTypeElement_get(*args) - -def SoDecimationTypeElement_getDefault(*args): - """SoDecimationTypeElement_getDefault() -> Type""" - return _coin.SoDecimationTypeElement_getDefault(*args) - -class SoFieldData(object): - """Proxy of C++ SoFieldData class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoFieldData - __init__(self, SoFieldData fd) -> SoFieldData - __init__(self, SoFieldData fd) -> SoFieldData - __init__(self, int numfields) -> SoFieldData - """ - this = _coin.new_SoFieldData(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoFieldData - __del__ = lambda self : None; - def addField(*args): - """addField(self, SoFieldContainer base, char name, SoField field)""" - return _coin.SoFieldData_addField(*args) - - def overlay(*args): - """overlay(self, SoFieldContainer to, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFieldData_overlay(*args) - - def getNumFields(*args): - """getNumFields(self) -> int""" - return _coin.SoFieldData_getNumFields(*args) - - def getFieldName(*args): - """getFieldName(self, int index) -> SbName""" - return _coin.SoFieldData_getFieldName(*args) - - def getField(*args): - """getField(self, SoFieldContainer object, int index) -> SoField""" - return _coin.SoFieldData_getField(*args) - - def getIndex(*args): - """getIndex(self, SoFieldContainer fc, SoField field) -> int""" - return _coin.SoFieldData_getIndex(*args) - - def addEnumValue(*args): - """addEnumValue(self, char enumname, char valuename, int value)""" - return _coin.SoFieldData_addEnumValue(*args) - - def getEnumData(*args): - """getEnumData(self, char enumname, int num, int values, SbName names)""" - return _coin.SoFieldData_getEnumData(*args) - - def read(*args): - """ - read(self, SoInput in, SoFieldContainer object, SbBool erroronunknownfield, - SbBool notbuiltin) -> SbBool - read(self, SoInput in, SoFieldContainer object, SbName fieldname, - SbBool foundname) -> SbBool - """ - return _coin.SoFieldData_read(*args) - - def write(*args): - """write(self, SoOutput out, SoFieldContainer object)""" - return _coin.SoFieldData_write(*args) - - def copy(*args): - """copy(self, SoFieldData src)""" - return _coin.SoFieldData_copy(*args) - - def isSame(*args): - """isSame(self, SoFieldContainer c1, SoFieldContainer c2) -> SbBool""" - return _coin.SoFieldData_isSame(*args) - - def readFieldDescriptions(*args): - """ - readFieldDescriptions(self, SoInput in, SoFieldContainer object, int numdescriptionsexpected, - SbBool readfieldvalues=1) -> SbBool - readFieldDescriptions(self, SoInput in, SoFieldContainer object, int numdescriptionsexpected) -> SbBool - """ - return _coin.SoFieldData_readFieldDescriptions(*args) - - def writeFieldDescriptions(*args): - """writeFieldDescriptions(self, SoOutput out, SoFieldContainer object)""" - return _coin.SoFieldData_writeFieldDescriptions(*args) - -SoFieldData_swigregister = _coin.SoFieldData_swigregister -SoFieldData_swigregister(SoFieldData) - -class SoFieldContainer(SoBase): - """Proxy of C++ SoFieldContainer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoFieldContainer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFieldContainer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def setToDefaults(*args): - """setToDefaults(self)""" - return _coin.SoFieldContainer_setToDefaults(*args) - - def hasDefaultValues(*args): - """hasDefaultValues(self) -> SbBool""" - return _coin.SoFieldContainer_hasDefaultValues(*args) - - def fieldsAreEqual(*args): - """fieldsAreEqual(self, SoFieldContainer container) -> SbBool""" - return _coin.SoFieldContainer_fieldsAreEqual(*args) - - def copyFieldValues(*args): - """ - copyFieldValues(self, SoFieldContainer container, SbBool copyconnections=0) - copyFieldValues(self, SoFieldContainer container) - """ - return _coin.SoFieldContainer_copyFieldValues(*args) - - def getFields(*args): - """getFields(self, SoFieldList l) -> int""" - return _coin.SoFieldContainer_getFields(*args) - - def getAllFields(*args): - """getAllFields(self, SoFieldList l) -> int""" - return _coin.SoFieldContainer_getAllFields(*args) - - def getField(*args): - """getField(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getField(*args) - - def getEventIn(*args): - """getEventIn(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getEventIn(*args) - - def getEventOut(*args): - """getEventOut(self, SbName name) -> SoField""" - return _coin.SoFieldContainer_getEventOut(*args) - - def enableNotify(*args): - """enableNotify(self, SbBool flag) -> SbBool""" - return _coin.SoFieldContainer_enableNotify(*args) - - def isNotifyEnabled(*args): - """isNotifyEnabled(self) -> SbBool""" - return _coin.SoFieldContainer_isNotifyEnabled(*args) - - def set(*args): - """ - set(self, char fielddata) -> SbBool - set(self, char fielddata, SoInput in) -> SbBool - """ - return _coin.SoFieldContainer_set(*args) - - def get(*args): - """ - get(self, SbString fielddata) - get(self, SbString fielddata, SoOutput out) - """ - return _coin.SoFieldContainer_get(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoFieldContainer_notify(*args) - - def validateNewFieldValue(*args): - """validateNewFieldValue(self, SoField field, void newval) -> SbBool""" - return _coin.SoFieldContainer_validateNewFieldValue(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoFieldContainer_addWriteReference(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoFieldContainer_writeInstance(*args) - - def getIsBuiltIn(*args): - """getIsBuiltIn(self) -> SbBool""" - return _coin.SoFieldContainer_getIsBuiltIn(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoFieldContainer_getFieldData(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFieldContainer_copyContents(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoFieldContainer_copyThroughConnection(*args) - - def initCopyDict(*args): - """initCopyDict()""" - return _coin.SoFieldContainer_initCopyDict(*args) - - initCopyDict = staticmethod(initCopyDict) - def addCopy(*args): - """addCopy(SoFieldContainer orig, SoFieldContainer copy)""" - return _coin.SoFieldContainer_addCopy(*args) - - addCopy = staticmethod(addCopy) - def checkCopy(*args): - """checkCopy(SoFieldContainer orig) -> SoFieldContainer""" - return _coin.SoFieldContainer_checkCopy(*args) - - checkCopy = staticmethod(checkCopy) - def findCopy(*args): - """findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer""" - return _coin.SoFieldContainer_findCopy(*args) - - findCopy = staticmethod(findCopy) - def copyDone(*args): - """copyDone()""" - return _coin.SoFieldContainer_copyDone(*args) - - copyDone = staticmethod(copyDone) - def setUserData(*args): - """setUserData(self, void userdata)""" - return _coin.SoFieldContainer_setUserData(*args) - - def getUserData(*args): - """getUserData(self) -> void""" - return _coin.SoFieldContainer_getUserData(*args) - - def getFieldName(*args): - """ - getFieldName(self, SoField field, SbName name) -> SbBool - getFieldName(self, SoField field) -> PyObject - """ - return _coin.SoFieldContainer_getFieldName(*args) - - def __getattr__(self, name): - try: - return SoBase.__getattribute__(self, name) - except AttributeError, e: - field = self.getField(name) - if field is None: - raise e - return field - - def __setattr__(self, name, value): - # I don't understand why we need this, but otherwise it does not work :/ - if name == 'this': - return SoBase.__setattr__(self, name, value) - field = self.getField(name) - if field is None: - return SoBase.__setattr__(self, name, value) - field.setValue(value) - return field - -SoFieldContainer_swigregister = _coin.SoFieldContainer_swigregister -SoFieldContainer_swigregister(SoFieldContainer) - -def SoFieldContainer_initClass(*args): - """SoFieldContainer_initClass()""" - return _coin.SoFieldContainer_initClass(*args) - -def SoFieldContainer_getClassTypeId(*args): - """SoFieldContainer_getClassTypeId() -> SoType""" - return _coin.SoFieldContainer_getClassTypeId(*args) - -def SoFieldContainer_initCopyDict(*args): - """SoFieldContainer_initCopyDict()""" - return _coin.SoFieldContainer_initCopyDict(*args) - -def SoFieldContainer_addCopy(*args): - """SoFieldContainer_addCopy(SoFieldContainer orig, SoFieldContainer copy)""" - return _coin.SoFieldContainer_addCopy(*args) - -def SoFieldContainer_checkCopy(*args): - """SoFieldContainer_checkCopy(SoFieldContainer orig) -> SoFieldContainer""" - return _coin.SoFieldContainer_checkCopy(*args) - -def SoFieldContainer_findCopy(*args): - """SoFieldContainer_findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer""" - return _coin.SoFieldContainer_findCopy(*args) - -def SoFieldContainer_copyDone(*args): - """SoFieldContainer_copyDone()""" - return _coin.SoFieldContainer_copyDone(*args) - -class SoNode(SoFieldContainer): - """Proxy of C++ SoNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - FIRST_INSTANCE = _coin.SoNode_FIRST_INSTANCE - PROTO_INSTANCE = _coin.SoNode_PROTO_INSTANCE - OTHER_INSTANCE = _coin.SoNode_OTHER_INSTANCE - def setOverride(*args): - """setOverride(self, SbBool state)""" - return _coin.SoNode_setOverride(*args) - - def isOverride(*args): - """isOverride(self) -> SbBool""" - return _coin.SoNode_isOverride(*args) - - INVENTOR = _coin.SoNode_INVENTOR - VRML1 = _coin.SoNode_VRML1 - VRML2 = _coin.SoNode_VRML2 - INVENTOR_1 = _coin.SoNode_INVENTOR_1 - INVENTOR_2_0 = _coin.SoNode_INVENTOR_2_0 - INVENTOR_2_1 = _coin.SoNode_INVENTOR_2_1 - INVENTOR_2_5 = _coin.SoNode_INVENTOR_2_5 - INVENTOR_2_6 = _coin.SoNode_INVENTOR_2_6 - COIN_1_0 = _coin.SoNode_COIN_1_0 - COIN_2_0 = _coin.SoNode_COIN_2_0 - EXTENSION = _coin.SoNode_EXTENSION - COIN_2_2 = _coin.SoNode_COIN_2_2 - COIN_2_3 = _coin.SoNode_COIN_2_3 - COIN_2_4 = _coin.SoNode_COIN_2_4 - INVENTOR_5_0 = _coin.SoNode_INVENTOR_5_0 - def getCompatibilityTypes(*args): - """getCompatibilityTypes(SoType nodetype) -> uint32_t""" - return _coin.SoNode_getCompatibilityTypes(*args) - - getCompatibilityTypes = staticmethod(getCompatibilityTypes) - def setNodeType(*args): - """setNodeType(self, NodeType type)""" - return _coin.SoNode_setNodeType(*args) - - def getNodeType(*args): - """getNodeType(self) -> NodeType""" - return _coin.SoNode_getNodeType(*args) - - def copy(*args): - """ - copy(self, SbBool copyconnections=0) -> SoNode - copy(self) -> SoNode - """ - return _coin.SoNode_copy(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoNode_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNode_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoNode_GLRenderOffPath(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNode_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNode_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoNode_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoNode_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNode_pick(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNode_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoNode_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoNode_write(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoNode_audioRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNode_getPrimitiveCount(*args) - - def grabEventsSetup(*args): - """grabEventsSetup(self)""" - return _coin.SoNode_grabEventsSetup(*args) - - def grabEventsCleanup(*args): - """grabEventsCleanup(self)""" - return _coin.SoNode_grabEventsCleanup(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoNode_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoNode_notify(*args) - - def getNodeId(*args): - """getNodeId(self) -> uint32_t""" - return _coin.SoNode_getNodeId(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoNode_getChildren(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoNode_writeInstance(*args) - - def addToCopyDict(*args): - """addToCopyDict(self) -> SoNode""" - return _coin.SoNode_addToCopyDict(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoNode_copyContents(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoNode_copyThroughConnection(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getByName(*args): - """ - getByName(SbName name) -> SoNode - getByName(SbName name, SoNodeList l) -> int - """ - return _coin.SoNode_getByName(*args) - - getByName = staticmethod(getByName) - def initClass(*args): - """initClass()""" - return _coin.SoNode_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoNode_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getNextNodeId(*args): - """getNextNodeId() -> uint32_t""" - return _coin.SoNode_getNextNodeId(*args) - - getNextNodeId = staticmethod(getNextNodeId) - def getActionMethodIndex(*args): - """getActionMethodIndex(SoType type) -> int""" - return _coin.SoNode_getActionMethodIndex(*args) - - getActionMethodIndex = staticmethod(getActionMethodIndex) - def getBoundingBoxS(*args): - """getBoundingBoxS(SoAction action, SoNode node)""" - return _coin.SoNode_getBoundingBoxS(*args) - - getBoundingBoxS = staticmethod(getBoundingBoxS) - def GLRenderS(*args): - """GLRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_GLRenderS(*args) - - GLRenderS = staticmethod(GLRenderS) - def callbackS(*args): - """callbackS(SoAction action, SoNode node)""" - return _coin.SoNode_callbackS(*args) - - callbackS = staticmethod(callbackS) - def getMatrixS(*args): - """getMatrixS(SoAction action, SoNode node)""" - return _coin.SoNode_getMatrixS(*args) - - getMatrixS = staticmethod(getMatrixS) - def handleEventS(*args): - """handleEventS(SoAction action, SoNode node)""" - return _coin.SoNode_handleEventS(*args) - - handleEventS = staticmethod(handleEventS) - def pickS(*args): - """pickS(SoAction action, SoNode node)""" - return _coin.SoNode_pickS(*args) - - pickS = staticmethod(pickS) - def rayPickS(*args): - """rayPickS(SoAction action, SoNode node)""" - return _coin.SoNode_rayPickS(*args) - - rayPickS = staticmethod(rayPickS) - def searchS(*args): - """searchS(SoAction action, SoNode node)""" - return _coin.SoNode_searchS(*args) - - searchS = staticmethod(searchS) - def writeS(*args): - """writeS(SoAction action, SoNode node)""" - return _coin.SoNode_writeS(*args) - - writeS = staticmethod(writeS) - def audioRenderS(*args): - """audioRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_audioRenderS(*args) - - audioRenderS = staticmethod(audioRenderS) - def getPrimitiveCountS(*args): - """getPrimitiveCountS(SoAction action, SoNode node)""" - return _coin.SoNode_getPrimitiveCountS(*args) - - getPrimitiveCountS = staticmethod(getPrimitiveCountS) -SoNode_swigregister = _coin.SoNode_swigregister -SoNode_swigregister(SoNode) - -def SoNode_getCompatibilityTypes(*args): - """SoNode_getCompatibilityTypes(SoType nodetype) -> uint32_t""" - return _coin.SoNode_getCompatibilityTypes(*args) - -def SoNode_getClassTypeId(*args): - """SoNode_getClassTypeId() -> SoType""" - return _coin.SoNode_getClassTypeId(*args) - -def SoNode_getByName(*args): - """ - getByName(SbName name) -> SoNode - SoNode_getByName(SbName name, SoNodeList l) -> int - """ - return _coin.SoNode_getByName(*args) - -def SoNode_initClass(*args): - """SoNode_initClass()""" - return _coin.SoNode_initClass(*args) - -def SoNode_initClasses(*args): - """SoNode_initClasses()""" - return _coin.SoNode_initClasses(*args) - -def SoNode_getNextNodeId(*args): - """SoNode_getNextNodeId() -> uint32_t""" - return _coin.SoNode_getNextNodeId(*args) - -def SoNode_getActionMethodIndex(*args): - """SoNode_getActionMethodIndex(SoType type) -> int""" - return _coin.SoNode_getActionMethodIndex(*args) - -def SoNode_getBoundingBoxS(*args): - """SoNode_getBoundingBoxS(SoAction action, SoNode node)""" - return _coin.SoNode_getBoundingBoxS(*args) - -def SoNode_GLRenderS(*args): - """SoNode_GLRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_GLRenderS(*args) - -def SoNode_callbackS(*args): - """SoNode_callbackS(SoAction action, SoNode node)""" - return _coin.SoNode_callbackS(*args) - -def SoNode_getMatrixS(*args): - """SoNode_getMatrixS(SoAction action, SoNode node)""" - return _coin.SoNode_getMatrixS(*args) - -def SoNode_handleEventS(*args): - """SoNode_handleEventS(SoAction action, SoNode node)""" - return _coin.SoNode_handleEventS(*args) - -def SoNode_pickS(*args): - """SoNode_pickS(SoAction action, SoNode node)""" - return _coin.SoNode_pickS(*args) - -def SoNode_rayPickS(*args): - """SoNode_rayPickS(SoAction action, SoNode node)""" - return _coin.SoNode_rayPickS(*args) - -def SoNode_searchS(*args): - """SoNode_searchS(SoAction action, SoNode node)""" - return _coin.SoNode_searchS(*args) - -def SoNode_writeS(*args): - """SoNode_writeS(SoAction action, SoNode node)""" - return _coin.SoNode_writeS(*args) - -def SoNode_audioRenderS(*args): - """SoNode_audioRenderS(SoAction action, SoNode node)""" - return _coin.SoNode_audioRenderS(*args) - -def SoNode_getPrimitiveCountS(*args): - """SoNode_getPrimitiveCountS(SoAction action, SoNode node)""" - return _coin.SoNode_getPrimitiveCountS(*args) - -class SoSensorManager(object): - """Proxy of C++ SoSensorManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSensorManager""" - this = _coin.new_SoSensorManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSensorManager - __del__ = lambda self : None; - def insertDelaySensor(*args): - """insertDelaySensor(self, SoDelayQueueSensor s)""" - return _coin.SoSensorManager_insertDelaySensor(*args) - - def insertTimerSensor(*args): - """insertTimerSensor(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_insertTimerSensor(*args) - - def removeDelaySensor(*args): - """removeDelaySensor(self, SoDelayQueueSensor s)""" - return _coin.SoSensorManager_removeDelaySensor(*args) - - def removeTimerSensor(*args): - """removeTimerSensor(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_removeTimerSensor(*args) - - def rescheduleTimer(*args): - """rescheduleTimer(self, SoTimerSensor s)""" - return _coin.SoSensorManager_rescheduleTimer(*args) - - def removeRescheduledTimer(*args): - """removeRescheduledTimer(self, SoTimerQueueSensor s)""" - return _coin.SoSensorManager_removeRescheduledTimer(*args) - - def processDelayQueue(*args): - """processDelayQueue(self, SbBool isidle)""" - return _coin.SoSensorManager_processDelayQueue(*args) - - def processImmediateQueue(*args): - """processImmediateQueue(self)""" - return _coin.SoSensorManager_processImmediateQueue(*args) - - def processTimerQueue(*args): - """processTimerQueue(self)""" - return _coin.SoSensorManager_processTimerQueue(*args) - - def isDelaySensorPending(*args): - """isDelaySensorPending(self) -> SbBool""" - return _coin.SoSensorManager_isDelaySensorPending(*args) - - def setDelaySensorTimeout(*args): - """setDelaySensorTimeout(self, SbTime t)""" - return _coin.SoSensorManager_setDelaySensorTimeout(*args) - - def getDelaySensorTimeout(*args): - """getDelaySensorTimeout(self) -> SbTime""" - return _coin.SoSensorManager_getDelaySensorTimeout(*args) - - def doSelect(*args): - """ - doSelect(self, int nfds, void readfds, void writefds, void exceptfds, - timeval userTimeOut) -> int - """ - return _coin.SoSensorManager_doSelect(*args) - - def setChangedCallback(*args): - """ - setChangedCallback(self, void sensorQueueChangedCB, void data) - setChangedCallback(self, PyObject pyfunc, PyObject data) - """ - return _coin.SoSensorManager_setChangedCallback(*args) - - def isTimerSensorPending(*args): - """ - isTimerSensorPending(self, SbTime tm) -> SbBool - isTimerSensorPending(self) -> PyObject - """ - return _coin.SoSensorManager_isTimerSensorPending(*args) - -SoSensorManager_swigregister = _coin.SoSensorManager_swigregister -SoSensorManager_swigregister(SoSensorManager) - -class SoDB(object): - """Proxy of C++ SoDB class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoDB_init(*args) - - init = staticmethod(init) - def finish(*args): - """finish()""" - return _coin.SoDB_finish(*args) - - finish = staticmethod(finish) - def cleanup(*args): - """cleanup()""" - return _coin.SoDB_cleanup(*args) - - cleanup = staticmethod(cleanup) - def getVersion(*args): - """getVersion() -> char""" - return _coin.SoDB_getVersion(*args) - - getVersion = staticmethod(getVersion) - def read(*args): - """ - read(SoInput in, SoPath path) -> SbBool - read(SoInput in, SoBase base) -> SbBool - read(SoInput in, SoNode rootnode) -> SbBool - """ - return _coin.SoDB_read(*args) - - read = staticmethod(read) - def readAll(*args): - """readAll(SoInput in) -> SoSeparator""" - return _coin.SoDB_readAll(*args) - - readAll = staticmethod(readAll) - def readAllVRML(*args): - """readAllVRML(SoInput in) -> SoVRMLGroup""" - return _coin.SoDB_readAllVRML(*args) - - readAllVRML = staticmethod(readAllVRML) - def isValidHeader(*args): - """isValidHeader(char teststring) -> SbBool""" - return _coin.SoDB_isValidHeader(*args) - - isValidHeader = staticmethod(isValidHeader) - def registerHeader(*args): - """ - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata=None) -> SbBool - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool - """ - return _coin.SoDB_registerHeader(*args) - - registerHeader = staticmethod(registerHeader) - def getHeaderData(*args): - """ - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata, SbBool substringok=0) -> SbBool - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata) -> SbBool - """ - return _coin.SoDB_getHeaderData(*args) - - getHeaderData = staticmethod(getHeaderData) - def getNumHeaders(*args): - """getNumHeaders() -> int""" - return _coin.SoDB_getNumHeaders(*args) - - getNumHeaders = staticmethod(getNumHeaders) - def getHeaderString(*args): - """getHeaderString(int i) -> SbString""" - return _coin.SoDB_getHeaderString(*args) - - getHeaderString = staticmethod(getHeaderString) - def createGlobalField(*args): - """createGlobalField(SbName name, SoType type) -> SoField""" - return _coin.SoDB_createGlobalField(*args) - - createGlobalField = staticmethod(createGlobalField) - def getGlobalField(*args): - """getGlobalField(SbName name) -> SoField""" - return _coin.SoDB_getGlobalField(*args) - - getGlobalField = staticmethod(getGlobalField) - def renameGlobalField(*args): - """renameGlobalField(SbName from, SbName to)""" - return _coin.SoDB_renameGlobalField(*args) - - renameGlobalField = staticmethod(renameGlobalField) - def setRealTimeInterval(*args): - """setRealTimeInterval(SbTime interval)""" - return _coin.SoDB_setRealTimeInterval(*args) - - setRealTimeInterval = staticmethod(setRealTimeInterval) - def getRealTimeInterval(*args): - """getRealTimeInterval() -> SbTime""" - return _coin.SoDB_getRealTimeInterval(*args) - - getRealTimeInterval = staticmethod(getRealTimeInterval) - def enableRealTimeSensor(*args): - """enableRealTimeSensor(SbBool on)""" - return _coin.SoDB_enableRealTimeSensor(*args) - - enableRealTimeSensor = staticmethod(enableRealTimeSensor) - def getSensorManager(*args): - """getSensorManager() -> SoSensorManager""" - return _coin.SoDB_getSensorManager(*args) - - getSensorManager = staticmethod(getSensorManager) - def setDelaySensorTimeout(*args): - """setDelaySensorTimeout(SbTime t)""" - return _coin.SoDB_setDelaySensorTimeout(*args) - - setDelaySensorTimeout = staticmethod(setDelaySensorTimeout) - def getDelaySensorTimeout(*args): - """getDelaySensorTimeout() -> SbTime""" - return _coin.SoDB_getDelaySensorTimeout(*args) - - getDelaySensorTimeout = staticmethod(getDelaySensorTimeout) - def doSelect(*args): - """ - doSelect(int nfds, void readfds, void writefds, void exceptfds, - timeval usertimeout) -> int - """ - return _coin.SoDB_doSelect(*args) - - doSelect = staticmethod(doSelect) - def addConverter(*args): - """addConverter(SoType from, SoType to, SoType converter)""" - return _coin.SoDB_addConverter(*args) - - addConverter = staticmethod(addConverter) - def getConverter(*args): - """getConverter(SoType from, SoType to) -> SoType""" - return _coin.SoDB_getConverter(*args) - - getConverter = staticmethod(getConverter) - def isInitialized(*args): - """isInitialized() -> SbBool""" - return _coin.SoDB_isInitialized(*args) - - isInitialized = staticmethod(isInitialized) - def startNotify(*args): - """startNotify()""" - return _coin.SoDB_startNotify(*args) - - startNotify = staticmethod(startNotify) - def isNotifying(*args): - """isNotifying() -> SbBool""" - return _coin.SoDB_isNotifying(*args) - - isNotifying = staticmethod(isNotifying) - def endNotify(*args): - """endNotify()""" - return _coin.SoDB_endNotify(*args) - - endNotify = staticmethod(endNotify) - def addProgressCallback(*args): - """addProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_addProgressCallback(*args) - - addProgressCallback = staticmethod(addProgressCallback) - def removeProgressCallback(*args): - """removeProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_removeProgressCallback(*args) - - removeProgressCallback = staticmethod(removeProgressCallback) - def isMultiThread(*args): - """isMultiThread() -> SbBool""" - return _coin.SoDB_isMultiThread(*args) - - isMultiThread = staticmethod(isMultiThread) - def readlock(*args): - """readlock()""" - return _coin.SoDB_readlock(*args) - - readlock = staticmethod(readlock) - def readunlock(*args): - """readunlock()""" - return _coin.SoDB_readunlock(*args) - - readunlock = staticmethod(readunlock) - def writelock(*args): - """writelock()""" - return _coin.SoDB_writelock(*args) - - writelock = staticmethod(writelock) - def writeunlock(*args): - """writeunlock()""" - return _coin.SoDB_writeunlock(*args) - - writeunlock = staticmethod(writeunlock) - def createRoute(*args): - """createRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_createRoute(*args) - - createRoute = staticmethod(createRoute) - def removeRoute(*args): - """removeRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_removeRoute(*args) - - removeRoute = staticmethod(removeRoute) - def __init__(self, *args): - """__init__(self) -> SoDB""" - this = _coin.new_SoDB(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDB - __del__ = lambda self : None; -SoDB_swigregister = _coin.SoDB_swigregister -SoDB_swigregister(SoDB) - -def SoDB_init(*args): - """SoDB_init()""" - return _coin.SoDB_init(*args) - -def SoDB_finish(*args): - """SoDB_finish()""" - return _coin.SoDB_finish(*args) - -def SoDB_cleanup(*args): - """SoDB_cleanup()""" - return _coin.SoDB_cleanup(*args) - -def SoDB_getVersion(*args): - """SoDB_getVersion() -> char""" - return _coin.SoDB_getVersion(*args) - -def SoDB_read(*args): - """ - read(SoInput in, SoPath path) -> SbBool - read(SoInput in, SoBase base) -> SbBool - SoDB_read(SoInput in, SoNode rootnode) -> SbBool - """ - return _coin.SoDB_read(*args) - -def SoDB_readAll(*args): - """SoDB_readAll(SoInput in) -> SoSeparator""" - return _coin.SoDB_readAll(*args) - -def SoDB_readAllVRML(*args): - """SoDB_readAllVRML(SoInput in) -> SoVRMLGroup""" - return _coin.SoDB_readAllVRML(*args) - -def SoDB_isValidHeader(*args): - """SoDB_isValidHeader(char teststring) -> SbBool""" - return _coin.SoDB_isValidHeader(*args) - -def SoDB_registerHeader(*args): - """ - registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata=None) -> SbBool - SoDB_registerHeader(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool - """ - return _coin.SoDB_registerHeader(*args) - -def SoDB_getHeaderData(*args): - """ - getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata, SbBool substringok=0) -> SbBool - SoDB_getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, - SoDBHeaderCB precallback, SoDBHeaderCB postcallback, - void userdata) -> SbBool - """ - return _coin.SoDB_getHeaderData(*args) - -def SoDB_getNumHeaders(*args): - """SoDB_getNumHeaders() -> int""" - return _coin.SoDB_getNumHeaders(*args) - -def SoDB_getHeaderString(*args): - """SoDB_getHeaderString(int i) -> SbString""" - return _coin.SoDB_getHeaderString(*args) - -def SoDB_createGlobalField(*args): - """SoDB_createGlobalField(SbName name, SoType type) -> SoField""" - return _coin.SoDB_createGlobalField(*args) - -def SoDB_getGlobalField(*args): - """SoDB_getGlobalField(SbName name) -> SoField""" - return _coin.SoDB_getGlobalField(*args) - -def SoDB_renameGlobalField(*args): - """SoDB_renameGlobalField(SbName from, SbName to)""" - return _coin.SoDB_renameGlobalField(*args) - -def SoDB_setRealTimeInterval(*args): - """SoDB_setRealTimeInterval(SbTime interval)""" - return _coin.SoDB_setRealTimeInterval(*args) - -def SoDB_getRealTimeInterval(*args): - """SoDB_getRealTimeInterval() -> SbTime""" - return _coin.SoDB_getRealTimeInterval(*args) - -def SoDB_enableRealTimeSensor(*args): - """SoDB_enableRealTimeSensor(SbBool on)""" - return _coin.SoDB_enableRealTimeSensor(*args) - -def SoDB_getSensorManager(*args): - """SoDB_getSensorManager() -> SoSensorManager""" - return _coin.SoDB_getSensorManager(*args) - -def SoDB_setDelaySensorTimeout(*args): - """SoDB_setDelaySensorTimeout(SbTime t)""" - return _coin.SoDB_setDelaySensorTimeout(*args) - -def SoDB_getDelaySensorTimeout(*args): - """SoDB_getDelaySensorTimeout() -> SbTime""" - return _coin.SoDB_getDelaySensorTimeout(*args) - -def SoDB_doSelect(*args): - """ - SoDB_doSelect(int nfds, void readfds, void writefds, void exceptfds, - timeval usertimeout) -> int - """ - return _coin.SoDB_doSelect(*args) - -def SoDB_addConverter(*args): - """SoDB_addConverter(SoType from, SoType to, SoType converter)""" - return _coin.SoDB_addConverter(*args) - -def SoDB_getConverter(*args): - """SoDB_getConverter(SoType from, SoType to) -> SoType""" - return _coin.SoDB_getConverter(*args) - -def SoDB_isInitialized(*args): - """SoDB_isInitialized() -> SbBool""" - return _coin.SoDB_isInitialized(*args) - -def SoDB_startNotify(*args): - """SoDB_startNotify()""" - return _coin.SoDB_startNotify(*args) - -def SoDB_isNotifying(*args): - """SoDB_isNotifying() -> SbBool""" - return _coin.SoDB_isNotifying(*args) - -def SoDB_endNotify(*args): - """SoDB_endNotify()""" - return _coin.SoDB_endNotify(*args) - -def SoDB_addProgressCallback(*args): - """SoDB_addProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_addProgressCallback(*args) - -def SoDB_removeProgressCallback(*args): - """SoDB_removeProgressCallback(ProgressCallbackType func, void userdata)""" - return _coin.SoDB_removeProgressCallback(*args) - -def SoDB_isMultiThread(*args): - """SoDB_isMultiThread() -> SbBool""" - return _coin.SoDB_isMultiThread(*args) - -def SoDB_readlock(*args): - """SoDB_readlock()""" - return _coin.SoDB_readlock(*args) - -def SoDB_readunlock(*args): - """SoDB_readunlock()""" - return _coin.SoDB_readunlock(*args) - -def SoDB_writelock(*args): - """SoDB_writelock()""" - return _coin.SoDB_writelock(*args) - -def SoDB_writeunlock(*args): - """SoDB_writeunlock()""" - return _coin.SoDB_writeunlock(*args) - -def SoDB_createRoute(*args): - """SoDB_createRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_createRoute(*args) - -def SoDB_removeRoute(*args): - """SoDB_removeRoute(SoNode from, char eventout, SoNode to, char eventin)""" - return _coin.SoDB_removeRoute(*args) - -class SoInput(object): - """Proxy of C++ SoInput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoInput - __init__(self, SoInput dictIn) -> SoInput - """ - this = _coin.new_SoInput(*args) - try: self.this.append(this) - except: self.this = this - def findProto(*args): - """findProto(self, SbName name) -> SoProto""" - return _coin.SoInput_findProto(*args) - - def addProto(*args): - """addProto(self, SoProto proto)""" - return _coin.SoInput_addProto(*args) - - def pushProto(*args): - """pushProto(self, SoProto proto)""" - return _coin.SoInput_pushProto(*args) - - def getCurrentProto(*args): - """getCurrentProto(self) -> SoProto""" - return _coin.SoInput_getCurrentProto(*args) - - def popProto(*args): - """popProto(self)""" - return _coin.SoInput_popProto(*args) - - def addRoute(*args): - """addRoute(self, SbName fromnode, SbName fromfield, SbName tonode, SbName tofield)""" - return _coin.SoInput_addRoute(*args) - - def checkISReference(*args): - """checkISReference(self, SoFieldContainer container, SbName fieldname, SbBool readok) -> SbBool""" - return _coin.SoInput_checkISReference(*args) - - __swig_destroy__ = _coin.delete_SoInput - __del__ = lambda self : None; - def setFilePointer(*args): - """setFilePointer(self, FILE newFP)""" - return _coin.SoInput_setFilePointer(*args) - - def openFile(*args): - """ - openFile(self, char fileName, SbBool okIfNotFound=0) -> SbBool - openFile(self, char fileName) -> SbBool - """ - return _coin.SoInput_openFile(*args) - - def pushFile(*args): - """pushFile(self, char fileName) -> SbBool""" - return _coin.SoInput_pushFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoInput_closeFile(*args) - - def isValidFile(*args): - """isValidFile(self) -> SbBool""" - return _coin.SoInput_isValidFile(*args) - - def isValidBuffer(*args): - """isValidBuffer(self) -> SbBool""" - return _coin.SoInput_isValidBuffer(*args) - - def getCurFile(*args): - """getCurFile(self) -> FILE""" - return _coin.SoInput_getCurFile(*args) - - def getCurFileName(*args): - """getCurFileName(self) -> char""" - return _coin.SoInput_getCurFileName(*args) - - def setBuffer(*args): - """setBuffer(self, void bufpointer)""" - return _coin.SoInput_setBuffer(*args) - - def setStringArray(*args): - """setStringArray(self, char strings)""" - return _coin.SoInput_setStringArray(*args) - - def getNumBytesRead(*args): - """getNumBytesRead(self) -> size_t""" - return _coin.SoInput_getNumBytesRead(*args) - - def getHeader(*args): - """getHeader(self) -> SbString""" - return _coin.SoInput_getHeader(*args) - - def getIVVersion(*args): - """getIVVersion(self) -> float""" - return _coin.SoInput_getIVVersion(*args) - - def isBinary(*args): - """isBinary(self) -> SbBool""" - return _coin.SoInput_isBinary(*args) - - def get(*args): - """get(self, char c) -> SbBool""" - return _coin.SoInput_get(*args) - - def getASCIIBuffer(*args): - """getASCIIBuffer(self, char c) -> SbBool""" - return _coin.SoInput_getASCIIBuffer(*args) - - def getASCIIFile(*args): - """getASCIIFile(self, char c) -> SbBool""" - return _coin.SoInput_getASCIIFile(*args) - - def readHex(*args): - """readHex(self, uint32_t l) -> SbBool""" - return _coin.SoInput_readHex(*args) - - def read(*args): - """ - read(self, char c) -> SbBool - read(self, char c, SbBool skip) -> SbBool - read(self, SbString s) -> SbBool - read(self, SbName n, SbBool validIdent=0) -> SbBool - read(self, SbName n) -> SbBool - read(self, int i) -> SbBool - read(self, unsigned int i) -> SbBool - read(self, short s) -> SbBool - read(self, unsigned short s) -> SbBool - read(self, float f) -> SbBool - read(self, double d) -> SbBool - """ - return _coin.SoInput_read(*args) - - def readBinaryArray(*args): - """ - readBinaryArray(self, unsigned char c, int length) -> SbBool - readBinaryArray(self, int32_t l, int length) -> SbBool - readBinaryArray(self, float f, int length) -> SbBool - readBinaryArray(self, double d, int length) -> SbBool - """ - return _coin.SoInput_readBinaryArray(*args) - - def eof(*args): - """eof(self) -> SbBool""" - return _coin.SoInput_eof(*args) - - def isFileVRML1(*args): - """isFileVRML1(self) -> SbBool""" - return _coin.SoInput_isFileVRML1(*args) - - def isFileVRML2(*args): - """isFileVRML2(self) -> SbBool""" - return _coin.SoInput_isFileVRML2(*args) - - def resetFilePointer(*args): - """resetFilePointer(self, FILE fptr)""" - return _coin.SoInput_resetFilePointer(*args) - - def getLocationString(*args): - """getLocationString(self, SbString string)""" - return _coin.SoInput_getLocationString(*args) - - def putBack(*args): - """ - putBack(self, char c) - putBack(self, char str) - """ - return _coin.SoInput_putBack(*args) - - def addReference(*args): - """ - addReference(self, SbName name, SoBase base, SbBool addToGlobalDict=1) - addReference(self, SbName name, SoBase base) - """ - return _coin.SoInput_addReference(*args) - - def removeReference(*args): - """removeReference(self, SbName name)""" - return _coin.SoInput_removeReference(*args) - - def findReference(*args): - """findReference(self, SbName name) -> SoBase""" - return _coin.SoInput_findReference(*args) - - def addDirectoryFirst(*args): - """addDirectoryFirst(char dirName)""" - return _coin.SoInput_addDirectoryFirst(*args) - - addDirectoryFirst = staticmethod(addDirectoryFirst) - def addDirectoryLast(*args): - """addDirectoryLast(char dirName)""" - return _coin.SoInput_addDirectoryLast(*args) - - addDirectoryLast = staticmethod(addDirectoryLast) - def addEnvDirectoriesFirst(*args): - """ - addEnvDirectoriesFirst(char envVarName, char separator=":\t ") - addEnvDirectoriesFirst(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesFirst(*args) - - addEnvDirectoriesFirst = staticmethod(addEnvDirectoriesFirst) - def addEnvDirectoriesLast(*args): - """ - addEnvDirectoriesLast(char envVarName, char separator=":\t ") - addEnvDirectoriesLast(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesLast(*args) - - addEnvDirectoriesLast = staticmethod(addEnvDirectoriesLast) - def removeDirectory(*args): - """removeDirectory(char dirName)""" - return _coin.SoInput_removeDirectory(*args) - - removeDirectory = staticmethod(removeDirectory) - def clearDirectories(*args): - """clearDirectories()""" - return _coin.SoInput_clearDirectories(*args) - - clearDirectories = staticmethod(clearDirectories) - def getDirectories(*args): - """getDirectories() -> SbStringList""" - return _coin.SoInput_getDirectories(*args) - - getDirectories = staticmethod(getDirectories) - def init(*args): - """init()""" - return _coin.SoInput_init(*args) - - init = staticmethod(init) - def getPathname(*args): - """ - getPathname(char filename) -> SbString - getPathname(SbString s) -> SbString - """ - return _coin.SoInput_getPathname(*args) - - getPathname = staticmethod(getPathname) - def getBasename(*args): - """ - getBasename(char filename) -> SbString - getBasename(SbString s) -> SbString - """ - return _coin.SoInput_getBasename(*args) - - getBasename = staticmethod(getBasename) - def searchForFile(*args): - """searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString""" - return _coin.SoInput_searchForFile(*args) - - searchForFile = staticmethod(searchForFile) -SoInput_swigregister = _coin.SoInput_swigregister -SoInput_swigregister(SoInput) - -def SoInput_addDirectoryFirst(*args): - """SoInput_addDirectoryFirst(char dirName)""" - return _coin.SoInput_addDirectoryFirst(*args) - -def SoInput_addDirectoryLast(*args): - """SoInput_addDirectoryLast(char dirName)""" - return _coin.SoInput_addDirectoryLast(*args) - -def SoInput_addEnvDirectoriesFirst(*args): - """ - addEnvDirectoriesFirst(char envVarName, char separator=":\t ") - SoInput_addEnvDirectoriesFirst(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesFirst(*args) - -def SoInput_addEnvDirectoriesLast(*args): - """ - addEnvDirectoriesLast(char envVarName, char separator=":\t ") - SoInput_addEnvDirectoriesLast(char envVarName) - """ - return _coin.SoInput_addEnvDirectoriesLast(*args) - -def SoInput_removeDirectory(*args): - """SoInput_removeDirectory(char dirName)""" - return _coin.SoInput_removeDirectory(*args) - -def SoInput_clearDirectories(*args): - """SoInput_clearDirectories()""" - return _coin.SoInput_clearDirectories(*args) - -def SoInput_getDirectories(*args): - """SoInput_getDirectories() -> SbStringList""" - return _coin.SoInput_getDirectories(*args) - -def SoInput_init(*args): - """SoInput_init()""" - return _coin.SoInput_init(*args) - -def SoInput_getPathname(*args): - """ - getPathname(char filename) -> SbString - SoInput_getPathname(SbString s) -> SbString - """ - return _coin.SoInput_getPathname(*args) - -def SoInput_getBasename(*args): - """ - getBasename(char filename) -> SbString - SoInput_getBasename(SbString s) -> SbString - """ - return _coin.SoInput_getBasename(*args) - -def SoInput_searchForFile(*args): - """SoInput_searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString""" - return _coin.SoInput_searchForFile(*args) - -class SoOutput(object): - """Proxy of C++ SoOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - COUNT_REFS = _coin.SoOutput_COUNT_REFS - WRITE = _coin.SoOutput_WRITE - ADDRESSES = _coin.SoOutput_ADDRESSES - REF_COUNTS = _coin.SoOutput_REF_COUNTS - def __init__(self, *args): - """ - __init__(self) -> SoOutput - __init__(self, SoOutput dictOut) -> SoOutput - """ - this = _coin.new_SoOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoOutput - __del__ = lambda self : None; - def setFilePointer(*args): - """setFilePointer(self, FILE newFP)""" - return _coin.SoOutput_setFilePointer(*args) - - def getFilePointer(*args): - """getFilePointer(self) -> FILE""" - return _coin.SoOutput_getFilePointer(*args) - - def openFile(*args): - """openFile(self, char fileName) -> SbBool""" - return _coin.SoOutput_openFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoOutput_closeFile(*args) - - def setCompression(*args): - """ - setCompression(self, SbName compmethod, float level=0.5) -> SbBool - setCompression(self, SbName compmethod) -> SbBool - """ - return _coin.SoOutput_setCompression(*args) - - def getAvailableCompressionMethods(*args): - """getAvailableCompressionMethods(unsigned int num) -> SbName""" - return _coin.SoOutput_getAvailableCompressionMethods(*args) - - getAvailableCompressionMethods = staticmethod(getAvailableCompressionMethods) - def setBuffer(*args): - """ - setBuffer(self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc, - int32_t offset=0) - setBuffer(self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc) - """ - return _coin.SoOutput_setBuffer(*args) - - def getBuffer(*args): - """getBuffer(self, void bufPointer, size_t nBytes) -> SbBool""" - return _coin.SoOutput_getBuffer(*args) - - def getBufferSize(*args): - """getBufferSize(self) -> size_t""" - return _coin.SoOutput_getBufferSize(*args) - - def resetBuffer(*args): - """resetBuffer(self)""" - return _coin.SoOutput_resetBuffer(*args) - - def setBinary(*args): - """setBinary(self, SbBool flag)""" - return _coin.SoOutput_setBinary(*args) - - def isBinary(*args): - """isBinary(self) -> SbBool""" - return _coin.SoOutput_isBinary(*args) - - def setHeaderString(*args): - """setHeaderString(self, SbString str)""" - return _coin.SoOutput_setHeaderString(*args) - - def resetHeaderString(*args): - """resetHeaderString(self)""" - return _coin.SoOutput_resetHeaderString(*args) - - def setFloatPrecision(*args): - """setFloatPrecision(self, int precision)""" - return _coin.SoOutput_setFloatPrecision(*args) - - def setStage(*args): - """setStage(self, Stage stage)""" - return _coin.SoOutput_setStage(*args) - - def getStage(*args): - """getStage(self) -> Stage""" - return _coin.SoOutput_getStage(*args) - - def incrementIndent(*args): - """ - incrementIndent(self, int levels=1) - incrementIndent(self) - """ - return _coin.SoOutput_incrementIndent(*args) - - def decrementIndent(*args): - """ - decrementIndent(self, int levels=1) - decrementIndent(self) - """ - return _coin.SoOutput_decrementIndent(*args) - - def write(*args): - """ - write(self, char c) - write(self, char s) - write(self, SbString s) - write(self, SbName n) - write(self, int i) - write(self, unsigned int i) - write(self, short s) - write(self, unsigned short s) - write(self, float f) - write(self, double d) - """ - return _coin.SoOutput_write(*args) - - def writeBinaryArray(*args): - """ - writeBinaryArray(self, unsigned char c, int length) - writeBinaryArray(self, int32_t l, int length) - writeBinaryArray(self, float f, int length) - writeBinaryArray(self, double d, int length) - """ - return _coin.SoOutput_writeBinaryArray(*args) - - def indent(*args): - """indent(self)""" - return _coin.SoOutput_indent(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoOutput_reset(*args) - - def setCompact(*args): - """setCompact(self, SbBool flag)""" - return _coin.SoOutput_setCompact(*args) - - def isCompact(*args): - """isCompact(self) -> SbBool""" - return _coin.SoOutput_isCompact(*args) - - def setAnnotation(*args): - """setAnnotation(self, uint32_t bits)""" - return _coin.SoOutput_setAnnotation(*args) - - def getAnnotation(*args): - """getAnnotation(self) -> uint32_t""" - return _coin.SoOutput_getAnnotation(*args) - - def getDefaultASCIIHeader(*args): - """getDefaultASCIIHeader() -> SbString""" - return _coin.SoOutput_getDefaultASCIIHeader(*args) - - getDefaultASCIIHeader = staticmethod(getDefaultASCIIHeader) - def getDefaultBinaryHeader(*args): - """getDefaultBinaryHeader() -> SbString""" - return _coin.SoOutput_getDefaultBinaryHeader(*args) - - getDefaultBinaryHeader = staticmethod(getDefaultBinaryHeader) - def addReference(*args): - """addReference(self, SoBase base) -> int""" - return _coin.SoOutput_addReference(*args) - - def findReference(*args): - """findReference(self, SoBase base) -> int""" - return _coin.SoOutput_findReference(*args) - - def setReference(*args): - """setReference(self, SoBase base, int refid)""" - return _coin.SoOutput_setReference(*args) - - def addDEFNode(*args): - """addDEFNode(self, SbName name)""" - return _coin.SoOutput_addDEFNode(*args) - - def lookupDEFNode(*args): - """lookupDEFNode(self, SbName name) -> SbBool""" - return _coin.SoOutput_lookupDEFNode(*args) - - def removeDEFNode(*args): - """removeDEFNode(self, SbName name)""" - return _coin.SoOutput_removeDEFNode(*args) - - def pushProto(*args): - """pushProto(self, SoProto proto)""" - return _coin.SoOutput_pushProto(*args) - - def getCurrentProto(*args): - """getCurrentProto(self) -> SoProto""" - return _coin.SoOutput_getCurrentProto(*args) - - def popProto(*args): - """popProto(self)""" - return _coin.SoOutput_popProto(*args) - - def addRoute(*args): - """ - addRoute(self, SoFieldContainer from, SbName fromfield, SoFieldContainer to, - SbName tofield) - """ - return _coin.SoOutput_addRoute(*args) - - def resolveRoutes(*args): - """resolveRoutes(self)""" - return _coin.SoOutput_resolveRoutes(*args) - -SoOutput_swigregister = _coin.SoOutput_swigregister -SoOutput_swigregister(SoOutput) - -def SoOutput_getAvailableCompressionMethods(*args): - """SoOutput_getAvailableCompressionMethods(unsigned int num) -> SbName""" - return _coin.SoOutput_getAvailableCompressionMethods(*args) - -def SoOutput_getDefaultASCIIHeader(*args): - """SoOutput_getDefaultASCIIHeader() -> SbString""" - return _coin.SoOutput_getDefaultASCIIHeader(*args) - -def SoOutput_getDefaultBinaryHeader(*args): - """SoOutput_getDefaultBinaryHeader() -> SbString""" - return _coin.SoOutput_getDefaultBinaryHeader(*args) - -class SoSFEnum(SoSField): - """Proxy of C++ SoSFEnum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFEnum""" - this = _coin.new_SoSFEnum(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFEnum - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFEnum_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFEnum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFEnum_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFEnum_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFEnum_isSame(*args) - - def getValue(*args): - """getValue(self) -> int""" - return _coin.SoSFEnum_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFEnum field) -> int""" - return _coin.SoSFEnum___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFEnum field) -> int""" - return _coin.SoSFEnum___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFEnum_initClass(*args) - - initClass = staticmethod(initClass) - def setEnums(*args): - """setEnums(self, int num, int vals, SbName names)""" - return _coin.SoSFEnum_setEnums(*args) - - def getNumEnums(*args): - """getNumEnums(self) -> int""" - return _coin.SoSFEnum_getNumEnums(*args) - - def getEnum(*args): - """getEnum(self, int idx, SbName name) -> int""" - return _coin.SoSFEnum_getEnum(*args) - - def setValue(*args): - """ - setValue(self, int newvalue) - setValue(self, SbName name) - setValue(self, SoSFEnum other) - """ - return _coin.SoSFEnum_setValue(*args) - -SoSFEnum_swigregister = _coin.SoSFEnum_swigregister -SoSFEnum_swigregister(SoSFEnum) - -def SoSFEnum_createInstance(*args): - """SoSFEnum_createInstance() -> void""" - return _coin.SoSFEnum_createInstance(*args) - -def SoSFEnum_getClassTypeId(*args): - """SoSFEnum_getClassTypeId() -> SoType""" - return _coin.SoSFEnum_getClassTypeId(*args) - -def SoSFEnum_initClass(*args): - """SoSFEnum_initClass()""" - return _coin.SoSFEnum_initClass(*args) - -class SoSFFloat(SoSField): - """Proxy of C++ SoSFFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFFloat""" - this = _coin.new_SoSFFloat(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFFloat - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFFloat_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFFloat_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFFloat_isSame(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SoSFFloat_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFFloat field) -> int""" - return _coin.SoSFFloat___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFFloat field) -> int""" - return _coin.SoSFFloat___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFFloat_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, float newvalue) - setValue(self, SoSFFloat other) - """ - return _coin.SoSFFloat_setValue(*args) - -SoSFFloat_swigregister = _coin.SoSFFloat_swigregister -SoSFFloat_swigregister(SoSFFloat) - -def SoSFFloat_createInstance(*args): - """SoSFFloat_createInstance() -> void""" - return _coin.SoSFFloat_createInstance(*args) - -def SoSFFloat_getClassTypeId(*args): - """SoSFFloat_getClassTypeId() -> SoType""" - return _coin.SoSFFloat_getClassTypeId(*args) - -def SoSFFloat_initClass(*args): - """SoSFFloat_initClass()""" - return _coin.SoSFFloat_initClass(*args) - -class SoComplexityTypeElement(SoInt32Element): - """Proxy of C++ SoComplexityTypeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexityTypeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoComplexityTypeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComplexityTypeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoComplexityTypeElement_initClass(*args) - - initClass = staticmethod(initClass) - OBJECT_SPACE = _coin.SoComplexityTypeElement_OBJECT_SPACE - SCREEN_SPACE = _coin.SoComplexityTypeElement_SCREEN_SPACE - BOUNDING_BOX = _coin.SoComplexityTypeElement_BOUNDING_BOX - def init(*args): - """init(self, SoState state)""" - return _coin.SoComplexityTypeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Type type) - set(SoState state, Type type) - """ - return _coin.SoComplexityTypeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Type""" - return _coin.SoComplexityTypeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Type""" - return _coin.SoComplexityTypeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoComplexityTypeElement_swigregister = _coin.SoComplexityTypeElement_swigregister -SoComplexityTypeElement_swigregister(SoComplexityTypeElement) - -def SoComplexityTypeElement_getClassTypeId(*args): - """SoComplexityTypeElement_getClassTypeId() -> SoType""" - return _coin.SoComplexityTypeElement_getClassTypeId(*args) - -def SoComplexityTypeElement_getClassStackIndex(*args): - """SoComplexityTypeElement_getClassStackIndex() -> int""" - return _coin.SoComplexityTypeElement_getClassStackIndex(*args) - -def SoComplexityTypeElement_createInstance(*args): - """SoComplexityTypeElement_createInstance() -> void""" - return _coin.SoComplexityTypeElement_createInstance(*args) - -def SoComplexityTypeElement_initClass(*args): - """SoComplexityTypeElement_initClass()""" - return _coin.SoComplexityTypeElement_initClass(*args) - -def SoComplexityTypeElement_set(*args): - """ - set(SoState state, SoNode node, Type type) - SoComplexityTypeElement_set(SoState state, Type type) - """ - return _coin.SoComplexityTypeElement_set(*args) - -def SoComplexityTypeElement_get(*args): - """SoComplexityTypeElement_get(SoState state) -> Type""" - return _coin.SoComplexityTypeElement_get(*args) - -def SoComplexityTypeElement_getDefault(*args): - """SoComplexityTypeElement_getDefault() -> Type""" - return _coin.SoComplexityTypeElement_getDefault(*args) - -class SoComplexity(SoNode): - """Proxy of C++ SoComplexity class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexity_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComplexity_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoComplexity_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoComplexity""" - this = _coin.new_SoComplexity(*args) - try: self.this.append(this) - except: self.this = this - OBJECT_SPACE = _coin.SoComplexity_OBJECT_SPACE - SCREEN_SPACE = _coin.SoComplexity_SCREEN_SPACE - BOUNDING_BOX = _coin.SoComplexity_BOUNDING_BOX - type = _swig_property(_coin.SoComplexity_type_get, _coin.SoComplexity_type_set) - value = _swig_property(_coin.SoComplexity_value_get, _coin.SoComplexity_value_set) - textureQuality = _swig_property(_coin.SoComplexity_textureQuality_get, _coin.SoComplexity_textureQuality_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoComplexity_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoComplexity_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoComplexity_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoComplexity_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoComplexity_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoComplexity_getPrimitiveCount(*args) - -SoComplexity_swigregister = _coin.SoComplexity_swigregister -SoComplexity_swigregister(SoComplexity) - -def SoComplexity_getClassTypeId(*args): - """SoComplexity_getClassTypeId() -> SoType""" - return _coin.SoComplexity_getClassTypeId(*args) - -def SoComplexity_initClass(*args): - """SoComplexity_initClass()""" - return _coin.SoComplexity_initClass(*args) - -class SoDrawStyleElement(SoInt32Element): - """Proxy of C++ SoDrawStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDrawStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDrawStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDrawStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDrawStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - FILLED = _coin.SoDrawStyleElement_FILLED - LINES = _coin.SoDrawStyleElement_LINES - POINTS = _coin.SoDrawStyleElement_POINTS - INVISIBLE = _coin.SoDrawStyleElement_INVISIBLE - def init(*args): - """init(self, SoState state)""" - return _coin.SoDrawStyleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Style style) - set(SoState state, Style style) - """ - return _coin.SoDrawStyleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Style""" - return _coin.SoDrawStyleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Style""" - return _coin.SoDrawStyleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDrawStyleElement_swigregister = _coin.SoDrawStyleElement_swigregister -SoDrawStyleElement_swigregister(SoDrawStyleElement) - -def SoDrawStyleElement_getClassTypeId(*args): - """SoDrawStyleElement_getClassTypeId() -> SoType""" - return _coin.SoDrawStyleElement_getClassTypeId(*args) - -def SoDrawStyleElement_getClassStackIndex(*args): - """SoDrawStyleElement_getClassStackIndex() -> int""" - return _coin.SoDrawStyleElement_getClassStackIndex(*args) - -def SoDrawStyleElement_createInstance(*args): - """SoDrawStyleElement_createInstance() -> void""" - return _coin.SoDrawStyleElement_createInstance(*args) - -def SoDrawStyleElement_initClass(*args): - """SoDrawStyleElement_initClass()""" - return _coin.SoDrawStyleElement_initClass(*args) - -def SoDrawStyleElement_set(*args): - """ - set(SoState state, SoNode node, Style style) - SoDrawStyleElement_set(SoState state, Style style) - """ - return _coin.SoDrawStyleElement_set(*args) - -def SoDrawStyleElement_get(*args): - """SoDrawStyleElement_get(SoState state) -> Style""" - return _coin.SoDrawStyleElement_get(*args) - -def SoDrawStyleElement_getDefault(*args): - """SoDrawStyleElement_getDefault() -> Style""" - return _coin.SoDrawStyleElement_getDefault(*args) - -class SoSFUShort(SoSField): - """Proxy of C++ SoSFUShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFUShort""" - this = _coin.new_SoSFUShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFUShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFUShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFUShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFUShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFUShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFUShort_isSame(*args) - - def getValue(*args): - """getValue(self) -> unsigned short""" - return _coin.SoSFUShort_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFUShort field) -> int""" - return _coin.SoSFUShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFUShort field) -> int""" - return _coin.SoSFUShort___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFUShort_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, unsigned short newvalue) - setValue(self, SoSFUShort other) - """ - return _coin.SoSFUShort_setValue(*args) - -SoSFUShort_swigregister = _coin.SoSFUShort_swigregister -SoSFUShort_swigregister(SoSFUShort) - -def SoSFUShort_createInstance(*args): - """SoSFUShort_createInstance() -> void""" - return _coin.SoSFUShort_createInstance(*args) - -def SoSFUShort_getClassTypeId(*args): - """SoSFUShort_getClassTypeId() -> SoType""" - return _coin.SoSFUShort_getClassTypeId(*args) - -def SoSFUShort_initClass(*args): - """SoSFUShort_initClass()""" - return _coin.SoSFUShort_initClass(*args) - -class SoDrawStyle(SoNode): - """Proxy of C++ SoDrawStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDrawStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDrawStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDrawStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDrawStyle""" - this = _coin.new_SoDrawStyle(*args) - try: self.this.append(this) - except: self.this = this - FILLED = _coin.SoDrawStyle_FILLED - LINES = _coin.SoDrawStyle_LINES - POINTS = _coin.SoDrawStyle_POINTS - INVISIBLE = _coin.SoDrawStyle_INVISIBLE - style = _swig_property(_coin.SoDrawStyle_style_get, _coin.SoDrawStyle_style_set) - pointSize = _swig_property(_coin.SoDrawStyle_pointSize_get, _coin.SoDrawStyle_pointSize_set) - lineWidth = _swig_property(_coin.SoDrawStyle_lineWidth_get, _coin.SoDrawStyle_lineWidth_set) - linePattern = _swig_property(_coin.SoDrawStyle_linePattern_get, _coin.SoDrawStyle_linePattern_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoDrawStyle_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDrawStyle_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDrawStyle_callback(*args) - -SoDrawStyle_swigregister = _coin.SoDrawStyle_swigregister -SoDrawStyle_swigregister(SoDrawStyle) - -def SoDrawStyle_getClassTypeId(*args): - """SoDrawStyle_getClassTypeId() -> SoType""" - return _coin.SoDrawStyle_getClassTypeId(*args) - -def SoDrawStyle_initClass(*args): - """SoDrawStyle_initClass()""" - return _coin.SoDrawStyle_initClass(*args) - -class SbVec3f(object): - """Proxy of C++ SbVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3f - __init__(self, float v) -> SbVec3f - __init__(self, float x, float y, float z) -> SbVec3f - __init__(self, SbPlane p0, SbPlane p1, SbPlane p2) -> SbVec3f - __init__(self, SbVec3d v) -> SbVec3f - """ - this = _coin.new_SbVec3f(*args) - try: self.this.append(this) - except: self.this = this - def cross(*args): - """cross(self, SbVec3f v) -> SbVec3f""" - return _coin.SbVec3f_cross(*args) - - def dot(*args): - """dot(self, SbVec3f v) -> float""" - return _coin.SbVec3f_dot(*args) - - def equals(*args): - """equals(self, SbVec3f v, float tolerance) -> SbBool""" - return _coin.SbVec3f_equals(*args) - - def getClosestAxis(*args): - """getClosestAxis(self) -> SbVec3f""" - return _coin.SbVec3f_getClosestAxis(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbVec3f_getValue(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec3f_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> float""" - return _coin.SbVec3f_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3f_negate(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec3f_normalize(*args) - - def setValue(*args): - """ - setValue(self, float v) -> SbVec3f - setValue(self, float x, float y, float z) -> SbVec3f - setValue(self, SbVec3f barycentric, SbVec3f v0, SbVec3f v1, SbVec3f v2) -> SbVec3f - setValue(self, SbVec3d v) -> SbVec3f - """ - return _coin.SbVec3f_setValue(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3f""" - return _coin.SbVec3f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3f_output(*args) - - def __add__(*args): - """__add__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbVec3f___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, float d) -> SbVec3f - __mul__(self, SbMatrix m) -> SbVec3f - """ - return _coin.SbVec3f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec3f""" - return _coin.SbVec3f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3f u) -> int""" - return _coin.SbVec3f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3f u) -> int""" - return _coin.SbVec3f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec3f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec3f___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3f - __del__ = lambda self : None; -SbVec3f_swigregister = _coin.SbVec3f_swigregister -SbVec3f_swigregister(SbVec3f) - -class SbColor(SbVec3f): - """Proxy of C++ SbColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbColor - __init__(self, SbVec3f v) -> SbColor - __init__(self, float rgb) -> SbColor - __init__(self, float r, float g, float b) -> SbColor - """ - this = _coin.new_SbColor(*args) - try: self.this.append(this) - except: self.this = this - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) -> SbColor - setHSVValue(self, float hsv) -> SbColor - """ - return _coin.SbColor_setHSVValue(*args) - - def getHSVValue(*args): - """getHSVValue(self, float h, float s, float v)""" - return _coin.SbColor_getHSVValue(*args) - - def setPackedValue(*args): - """setPackedValue(self, uint32_t rgba, float transparency) -> SbColor""" - return _coin.SbColor_setPackedValue(*args) - - def getPackedValue(*args): - """ - getPackedValue(self, float transparency=0.0) -> uint32_t - getPackedValue(self) -> uint32_t - """ - return _coin.SbColor_getPackedValue(*args) - - def __add__(*args): - """__add__(self, SbColor u) -> SbColor""" - return _coin.SbColor___add__(*args) - - def __sub__(*args): - """__sub__(self, SbColor u) -> SbColor""" - return _coin.SbColor___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbColor""" - return _coin.SbColor___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbColor""" - return _coin.SbColor___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbColor""" - return _coin.SbColor___div__(*args) - - def __eq__(*args): - """__eq__(self, SbColor u) -> int""" - return _coin.SbColor___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbColor u) -> int""" - return _coin.SbColor___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbColor___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbColor___setitem__(*args) - - __swig_destroy__ = _coin.delete_SbColor - __del__ = lambda self : None; -SbColor_swigregister = _coin.SbColor_swigregister -SbColor_swigregister(SbColor) - -SO_LAZY_SHINY_THRESHOLD = _coin.SO_LAZY_SHINY_THRESHOLD -class SoLazyElement(SoElement): - """Proxy of C++ SoLazyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLazyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLazyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLazyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLazyElement_initClass(*args) - - initClass = staticmethod(initClass) - LIGHT_MODEL_CASE = _coin.SoLazyElement_LIGHT_MODEL_CASE - COLOR_MATERIAL_CASE = _coin.SoLazyElement_COLOR_MATERIAL_CASE - DIFFUSE_CASE = _coin.SoLazyElement_DIFFUSE_CASE - AMBIENT_CASE = _coin.SoLazyElement_AMBIENT_CASE - EMISSIVE_CASE = _coin.SoLazyElement_EMISSIVE_CASE - SPECULAR_CASE = _coin.SoLazyElement_SPECULAR_CASE - SHININESS_CASE = _coin.SoLazyElement_SHININESS_CASE - BLENDING_CASE = _coin.SoLazyElement_BLENDING_CASE - TRANSPARENCY_CASE = _coin.SoLazyElement_TRANSPARENCY_CASE - VERTEXORDERING_CASE = _coin.SoLazyElement_VERTEXORDERING_CASE - TWOSIDE_CASE = _coin.SoLazyElement_TWOSIDE_CASE - CULLING_CASE = _coin.SoLazyElement_CULLING_CASE - SHADE_MODEL_CASE = _coin.SoLazyElement_SHADE_MODEL_CASE - GLIMAGE_CASE = _coin.SoLazyElement_GLIMAGE_CASE - ALPHATEST_CASE = _coin.SoLazyElement_ALPHATEST_CASE - LAZYCASES_LAST = _coin.SoLazyElement_LAZYCASES_LAST - LIGHT_MODEL_MASK = _coin.SoLazyElement_LIGHT_MODEL_MASK - COLOR_MATERIAL_MASK = _coin.SoLazyElement_COLOR_MATERIAL_MASK - DIFFUSE_MASK = _coin.SoLazyElement_DIFFUSE_MASK - AMBIENT_MASK = _coin.SoLazyElement_AMBIENT_MASK - EMISSIVE_MASK = _coin.SoLazyElement_EMISSIVE_MASK - SPECULAR_MASK = _coin.SoLazyElement_SPECULAR_MASK - SHININESS_MASK = _coin.SoLazyElement_SHININESS_MASK - TRANSPARENCY_MASK = _coin.SoLazyElement_TRANSPARENCY_MASK - BLENDING_MASK = _coin.SoLazyElement_BLENDING_MASK - VERTEXORDERING_MASK = _coin.SoLazyElement_VERTEXORDERING_MASK - TWOSIDE_MASK = _coin.SoLazyElement_TWOSIDE_MASK - CULLING_MASK = _coin.SoLazyElement_CULLING_MASK - SHADE_MODEL_MASK = _coin.SoLazyElement_SHADE_MODEL_MASK - GLIMAGE_MASK = _coin.SoLazyElement_GLIMAGE_MASK - ALPHATEST_MASK = _coin.SoLazyElement_ALPHATEST_MASK - ALL_MASK = _coin.SoLazyElement_ALL_MASK - OTHER_COLOR_MASK = _coin.SoLazyElement_OTHER_COLOR_MASK - ALL_COLOR_MASK = _coin.SoLazyElement_ALL_COLOR_MASK - NO_COLOR_MASK = _coin.SoLazyElement_NO_COLOR_MASK - ALL_BUT_DIFFUSE_MASK = _coin.SoLazyElement_ALL_BUT_DIFFUSE_MASK - DIFFUSE_ONLY_MASK = _coin.SoLazyElement_DIFFUSE_ONLY_MASK - BASE_COLOR = _coin.SoLazyElement_BASE_COLOR - PHONG = _coin.SoLazyElement_PHONG - CW = _coin.SoLazyElement_CW - CCW = _coin.SoLazyElement_CCW - def init(*args): - """init(self, SoState state)""" - return _coin.SoLazyElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLazyElement_push(*args) - - def matches(*args): - """matches(self, SoElement ?) -> SbBool""" - return _coin.SoLazyElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLazyElement_copyMatchInfo(*args) - - def setDiffuse(*args): - """ - setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setDiffuse(*args) - - setDiffuse = staticmethod(setDiffuse) - def setTransparency(*args): - """ - setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setTransparency(*args) - - setTransparency = staticmethod(setTransparency) - def setColorIndices(*args): - """setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoLazyElement_setColorIndices(*args) - - setColorIndices = staticmethod(setColorIndices) - def setAmbient(*args): - """setAmbient(SoState state, SbColor color)""" - return _coin.SoLazyElement_setAmbient(*args) - - setAmbient = staticmethod(setAmbient) - def setEmissive(*args): - """setEmissive(SoState state, SbColor color)""" - return _coin.SoLazyElement_setEmissive(*args) - - setEmissive = staticmethod(setEmissive) - def setSpecular(*args): - """setSpecular(SoState state, SbColor color)""" - return _coin.SoLazyElement_setSpecular(*args) - - setSpecular = staticmethod(setSpecular) - def setShininess(*args): - """setShininess(SoState state, float value)""" - return _coin.SoLazyElement_setShininess(*args) - - setShininess = staticmethod(setShininess) - def setColorMaterial(*args): - """setColorMaterial(SoState state, SbBool value)""" - return _coin.SoLazyElement_setColorMaterial(*args) - - setColorMaterial = staticmethod(setColorMaterial) - def enableBlending(*args): - """enableBlending(SoState state, int sfactor, int dfactor)""" - return _coin.SoLazyElement_enableBlending(*args) - - enableBlending = staticmethod(enableBlending) - def disableBlending(*args): - """disableBlending(SoState state)""" - return _coin.SoLazyElement_disableBlending(*args) - - disableBlending = staticmethod(disableBlending) - def setLightModel(*args): - """setLightModel(SoState state, int32_t model)""" - return _coin.SoLazyElement_setLightModel(*args) - - setLightModel = staticmethod(setLightModel) - def setVertexOrdering(*args): - """setVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoLazyElement_setVertexOrdering(*args) - - setVertexOrdering = staticmethod(setVertexOrdering) - def setBackfaceCulling(*args): - """setBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setBackfaceCulling(*args) - - setBackfaceCulling = staticmethod(setBackfaceCulling) - def setTwosideLighting(*args): - """setTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setTwosideLighting(*args) - - setTwosideLighting = staticmethod(setTwosideLighting) - def setShadeModel(*args): - """setShadeModel(SoState state, SbBool flatshading)""" - return _coin.SoLazyElement_setShadeModel(*args) - - setShadeModel = staticmethod(setShadeModel) - def setGLImageId(*args): - """setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoLazyElement_setGLImageId(*args) - - setGLImageId = staticmethod(setGLImageId) - def setAlphaTest(*args): - """setAlphaTest(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setAlphaTest(*args) - - setAlphaTest = staticmethod(setAlphaTest) - def getDiffuse(*args): - """getDiffuse(SoState state, int index) -> SbColor""" - return _coin.SoLazyElement_getDiffuse(*args) - - getDiffuse = staticmethod(getDiffuse) - def getTransparency(*args): - """getTransparency(SoState ?, int index) -> float""" - return _coin.SoLazyElement_getTransparency(*args) - - getTransparency = staticmethod(getTransparency) - def getPackedColors(*args): - """getPackedColors(SoState ?) -> uint32_t""" - return _coin.SoLazyElement_getPackedColors(*args) - - getPackedColors = staticmethod(getPackedColors) - def getColorIndices(*args): - """getColorIndices(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getColorIndices(*args) - - getColorIndices = staticmethod(getColorIndices) - def getColorIndex(*args): - """getColorIndex(SoState ?, int num) -> int32_t""" - return _coin.SoLazyElement_getColorIndex(*args) - - getColorIndex = staticmethod(getColorIndex) - def getAmbient(*args): - """getAmbient(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getAmbient(*args) - - getAmbient = staticmethod(getAmbient) - def getEmissive(*args): - """getEmissive(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getEmissive(*args) - - getEmissive = staticmethod(getEmissive) - def getSpecular(*args): - """getSpecular(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getSpecular(*args) - - getSpecular = staticmethod(getSpecular) - def getShininess(*args): - """getShininess(SoState ?) -> float""" - return _coin.SoLazyElement_getShininess(*args) - - getShininess = staticmethod(getShininess) - def getColorMaterial(*args): - """getColorMaterial(SoState ?) -> SbBool""" - return _coin.SoLazyElement_getColorMaterial(*args) - - getColorMaterial = staticmethod(getColorMaterial) - def getBlending(*args): - """getBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getBlending(*args) - - getBlending = staticmethod(getBlending) - def getLightModel(*args): - """getLightModel(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getLightModel(*args) - - getLightModel = staticmethod(getLightModel) - def getAlphaTest(*args): - """getAlphaTest(SoState state) -> SbBool""" - return _coin.SoLazyElement_getAlphaTest(*args) - - getAlphaTest = staticmethod(getAlphaTest) - def getNumDiffuse(*args): - """getNumDiffuse(self) -> int32_t""" - return _coin.SoLazyElement_getNumDiffuse(*args) - - def getNumTransparencies(*args): - """getNumTransparencies(self) -> int32_t""" - return _coin.SoLazyElement_getNumTransparencies(*args) - - def getNumColorIndices(*args): - """getNumColorIndices(self) -> int32_t""" - return _coin.SoLazyElement_getNumColorIndices(*args) - - def isPacked(*args): - """isPacked(self) -> SbBool""" - return _coin.SoLazyElement_isPacked(*args) - - def isTransparent(*args): - """isTransparent(self) -> SbBool""" - return _coin.SoLazyElement_isTransparent(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getDefaultAmbientIntensity(*args): - """getDefaultAmbientIntensity() -> float""" - return _coin.SoLazyElement_getDefaultAmbientIntensity(*args) - - getDefaultAmbientIntensity = staticmethod(getDefaultAmbientIntensity) - def getDefaultDiffuse(*args): - """getDefaultDiffuse() -> SbColor""" - return _coin.SoLazyElement_getDefaultDiffuse(*args) - - getDefaultDiffuse = staticmethod(getDefaultDiffuse) - def getDefaultAmbient(*args): - """getDefaultAmbient() -> SbColor""" - return _coin.SoLazyElement_getDefaultAmbient(*args) - - getDefaultAmbient = staticmethod(getDefaultAmbient) - def getDefaultSpecular(*args): - """getDefaultSpecular() -> SbColor""" - return _coin.SoLazyElement_getDefaultSpecular(*args) - - getDefaultSpecular = staticmethod(getDefaultSpecular) - def getDefaultEmissive(*args): - """getDefaultEmissive() -> SbColor""" - return _coin.SoLazyElement_getDefaultEmissive(*args) - - getDefaultEmissive = staticmethod(getDefaultEmissive) - def getDefaultShininess(*args): - """getDefaultShininess() -> float""" - return _coin.SoLazyElement_getDefaultShininess(*args) - - getDefaultShininess = staticmethod(getDefaultShininess) - def getDefaultPacked(*args): - """getDefaultPacked() -> uint32_t""" - return _coin.SoLazyElement_getDefaultPacked(*args) - - getDefaultPacked = staticmethod(getDefaultPacked) - def getDefaultTransparency(*args): - """getDefaultTransparency() -> float""" - return _coin.SoLazyElement_getDefaultTransparency(*args) - - getDefaultTransparency = staticmethod(getDefaultTransparency) - def getDefaultLightModel(*args): - """getDefaultLightModel() -> int32_t""" - return _coin.SoLazyElement_getDefaultLightModel(*args) - - getDefaultLightModel = staticmethod(getDefaultLightModel) - def getDefaultColorIndex(*args): - """getDefaultColorIndex() -> int32_t""" - return _coin.SoLazyElement_getDefaultColorIndex(*args) - - getDefaultColorIndex = staticmethod(getDefaultColorIndex) - def setMaterials(*args): - """ - setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, - SbColor diffuse, int numdiffuse, - float transp, int numtransp, SbColor ambient, - SbColor emissive, SbColor specular, float shininess, - SbBool istransparent) - """ - return _coin.SoLazyElement_setMaterials(*args) - - setMaterials = staticmethod(setMaterials) - def getWInstance(*args): - """getWInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getWInstance(*args) - - getWInstance = staticmethod(getWInstance) - def getPackedPointer(*args): - """getPackedPointer(self) -> uint32_t""" - return _coin.SoLazyElement_getPackedPointer(*args) - - def getDiffusePointer(*args): - """getDiffusePointer(self) -> SbColor""" - return _coin.SoLazyElement_getDiffusePointer(*args) - - def getColorIndexPointer(*args): - """getColorIndexPointer(self) -> int32_t""" - return _coin.SoLazyElement_getColorIndexPointer(*args) - - def getTransparencyPointer(*args): - """getTransparencyPointer(self) -> float""" - return _coin.SoLazyElement_getTransparencyPointer(*args) - - def setTransparencyType(*args): - """setTransparencyType(SoState state, int32_t type)""" - return _coin.SoLazyElement_setTransparencyType(*args) - - setTransparencyType = staticmethod(setTransparencyType) -SoLazyElement_swigregister = _coin.SoLazyElement_swigregister -SoLazyElement_swigregister(SoLazyElement) - -def SoLazyElement_getClassTypeId(*args): - """SoLazyElement_getClassTypeId() -> SoType""" - return _coin.SoLazyElement_getClassTypeId(*args) - -def SoLazyElement_getClassStackIndex(*args): - """SoLazyElement_getClassStackIndex() -> int""" - return _coin.SoLazyElement_getClassStackIndex(*args) - -def SoLazyElement_createInstance(*args): - """SoLazyElement_createInstance() -> void""" - return _coin.SoLazyElement_createInstance(*args) - -def SoLazyElement_initClass(*args): - """SoLazyElement_initClass()""" - return _coin.SoLazyElement_initClass(*args) - -def SoLazyElement_setDiffuse(*args): - """ - SoLazyElement_setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setDiffuse(*args) - -def SoLazyElement_setTransparency(*args): - """ - SoLazyElement_setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, - SoColorPacker packer) - """ - return _coin.SoLazyElement_setTransparency(*args) - -def SoLazyElement_setColorIndices(*args): - """SoLazyElement_setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoLazyElement_setColorIndices(*args) - -def SoLazyElement_setAmbient(*args): - """SoLazyElement_setAmbient(SoState state, SbColor color)""" - return _coin.SoLazyElement_setAmbient(*args) - -def SoLazyElement_setEmissive(*args): - """SoLazyElement_setEmissive(SoState state, SbColor color)""" - return _coin.SoLazyElement_setEmissive(*args) - -def SoLazyElement_setSpecular(*args): - """SoLazyElement_setSpecular(SoState state, SbColor color)""" - return _coin.SoLazyElement_setSpecular(*args) - -def SoLazyElement_setShininess(*args): - """SoLazyElement_setShininess(SoState state, float value)""" - return _coin.SoLazyElement_setShininess(*args) - -def SoLazyElement_setColorMaterial(*args): - """SoLazyElement_setColorMaterial(SoState state, SbBool value)""" - return _coin.SoLazyElement_setColorMaterial(*args) - -def SoLazyElement_enableBlending(*args): - """SoLazyElement_enableBlending(SoState state, int sfactor, int dfactor)""" - return _coin.SoLazyElement_enableBlending(*args) - -def SoLazyElement_disableBlending(*args): - """SoLazyElement_disableBlending(SoState state)""" - return _coin.SoLazyElement_disableBlending(*args) - -def SoLazyElement_setLightModel(*args): - """SoLazyElement_setLightModel(SoState state, int32_t model)""" - return _coin.SoLazyElement_setLightModel(*args) - -def SoLazyElement_setVertexOrdering(*args): - """SoLazyElement_setVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoLazyElement_setVertexOrdering(*args) - -def SoLazyElement_setBackfaceCulling(*args): - """SoLazyElement_setBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setBackfaceCulling(*args) - -def SoLazyElement_setTwosideLighting(*args): - """SoLazyElement_setTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setTwosideLighting(*args) - -def SoLazyElement_setShadeModel(*args): - """SoLazyElement_setShadeModel(SoState state, SbBool flatshading)""" - return _coin.SoLazyElement_setShadeModel(*args) - -def SoLazyElement_setGLImageId(*args): - """SoLazyElement_setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoLazyElement_setGLImageId(*args) - -def SoLazyElement_setAlphaTest(*args): - """SoLazyElement_setAlphaTest(SoState state, SbBool onoff)""" - return _coin.SoLazyElement_setAlphaTest(*args) - -def SoLazyElement_getDiffuse(*args): - """SoLazyElement_getDiffuse(SoState state, int index) -> SbColor""" - return _coin.SoLazyElement_getDiffuse(*args) - -def SoLazyElement_getTransparency(*args): - """SoLazyElement_getTransparency(SoState ?, int index) -> float""" - return _coin.SoLazyElement_getTransparency(*args) - -def SoLazyElement_getPackedColors(*args): - """SoLazyElement_getPackedColors(SoState ?) -> uint32_t""" - return _coin.SoLazyElement_getPackedColors(*args) - -def SoLazyElement_getColorIndices(*args): - """SoLazyElement_getColorIndices(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getColorIndices(*args) - -def SoLazyElement_getColorIndex(*args): - """SoLazyElement_getColorIndex(SoState ?, int num) -> int32_t""" - return _coin.SoLazyElement_getColorIndex(*args) - -def SoLazyElement_getAmbient(*args): - """SoLazyElement_getAmbient(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getAmbient(*args) - -def SoLazyElement_getEmissive(*args): - """SoLazyElement_getEmissive(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getEmissive(*args) - -def SoLazyElement_getSpecular(*args): - """SoLazyElement_getSpecular(SoState ?) -> SbColor""" - return _coin.SoLazyElement_getSpecular(*args) - -def SoLazyElement_getShininess(*args): - """SoLazyElement_getShininess(SoState ?) -> float""" - return _coin.SoLazyElement_getShininess(*args) - -def SoLazyElement_getColorMaterial(*args): - """SoLazyElement_getColorMaterial(SoState ?) -> SbBool""" - return _coin.SoLazyElement_getColorMaterial(*args) - -def SoLazyElement_getBlending(*args): - """SoLazyElement_getBlending(SoState ?, int sfactor, int dfactor) -> SbBool""" - return _coin.SoLazyElement_getBlending(*args) - -def SoLazyElement_getLightModel(*args): - """SoLazyElement_getLightModel(SoState ?) -> int32_t""" - return _coin.SoLazyElement_getLightModel(*args) - -def SoLazyElement_getAlphaTest(*args): - """SoLazyElement_getAlphaTest(SoState state) -> SbBool""" - return _coin.SoLazyElement_getAlphaTest(*args) - -def SoLazyElement_getInstance(*args): - """SoLazyElement_getInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getInstance(*args) - -def SoLazyElement_getDefaultAmbientIntensity(*args): - """SoLazyElement_getDefaultAmbientIntensity() -> float""" - return _coin.SoLazyElement_getDefaultAmbientIntensity(*args) - -def SoLazyElement_getDefaultDiffuse(*args): - """SoLazyElement_getDefaultDiffuse() -> SbColor""" - return _coin.SoLazyElement_getDefaultDiffuse(*args) - -def SoLazyElement_getDefaultAmbient(*args): - """SoLazyElement_getDefaultAmbient() -> SbColor""" - return _coin.SoLazyElement_getDefaultAmbient(*args) - -def SoLazyElement_getDefaultSpecular(*args): - """SoLazyElement_getDefaultSpecular() -> SbColor""" - return _coin.SoLazyElement_getDefaultSpecular(*args) - -def SoLazyElement_getDefaultEmissive(*args): - """SoLazyElement_getDefaultEmissive() -> SbColor""" - return _coin.SoLazyElement_getDefaultEmissive(*args) - -def SoLazyElement_getDefaultShininess(*args): - """SoLazyElement_getDefaultShininess() -> float""" - return _coin.SoLazyElement_getDefaultShininess(*args) - -def SoLazyElement_getDefaultPacked(*args): - """SoLazyElement_getDefaultPacked() -> uint32_t""" - return _coin.SoLazyElement_getDefaultPacked(*args) - -def SoLazyElement_getDefaultTransparency(*args): - """SoLazyElement_getDefaultTransparency() -> float""" - return _coin.SoLazyElement_getDefaultTransparency(*args) - -def SoLazyElement_getDefaultLightModel(*args): - """SoLazyElement_getDefaultLightModel() -> int32_t""" - return _coin.SoLazyElement_getDefaultLightModel(*args) - -def SoLazyElement_getDefaultColorIndex(*args): - """SoLazyElement_getDefaultColorIndex() -> int32_t""" - return _coin.SoLazyElement_getDefaultColorIndex(*args) - -def SoLazyElement_setMaterials(*args): - """ - SoLazyElement_setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, - SbColor diffuse, int numdiffuse, - float transp, int numtransp, SbColor ambient, - SbColor emissive, SbColor specular, float shininess, - SbBool istransparent) - """ - return _coin.SoLazyElement_setMaterials(*args) - -def SoLazyElement_getWInstance(*args): - """SoLazyElement_getWInstance(SoState state) -> SoLazyElement""" - return _coin.SoLazyElement_getWInstance(*args) - -def SoLazyElement_setTransparencyType(*args): - """SoLazyElement_setTransparencyType(SoState state, int32_t type)""" - return _coin.SoLazyElement_setTransparencyType(*args) - -class SoColorPacker(object): - """Proxy of C++ SoColorPacker class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoColorPacker""" - this = _coin.new_SoColorPacker(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoColorPacker - __del__ = lambda self : None; - def getPackedColors(*args): - """getPackedColors(self) -> uint32_t""" - return _coin.SoColorPacker_getPackedColors(*args) - - def diffuseMatch(*args): - """diffuseMatch(self, uint32_t nodeid) -> SbBool""" - return _coin.SoColorPacker_diffuseMatch(*args) - - def transpMatch(*args): - """transpMatch(self, uint32_t nodeid) -> SbBool""" - return _coin.SoColorPacker_transpMatch(*args) - - def setNodeIds(*args): - """setNodeIds(self, uint32_t diffuse, uint32_t transp)""" - return _coin.SoColorPacker_setNodeIds(*args) - - def getSize(*args): - """getSize(self) -> int32_t""" - return _coin.SoColorPacker_getSize(*args) - - def reallocate(*args): - """reallocate(self, int32_t size)""" - return _coin.SoColorPacker_reallocate(*args) - -SoColorPacker_swigregister = _coin.SoColorPacker_swigregister -SoColorPacker_swigregister(SoColorPacker) - -class SoLightModel(SoNode): - """Proxy of C++ SoLightModel class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightModel_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLightModel_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLightModel_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLightModel""" - this = _coin.new_SoLightModel(*args) - try: self.this.append(this) - except: self.this = this - BASE_COLOR = _coin.SoLightModel_BASE_COLOR - PHONG = _coin.SoLightModel_PHONG - model = _swig_property(_coin.SoLightModel_model_get, _coin.SoLightModel_model_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLightModel_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLightModel_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLightModel_callback(*args) - -SoLightModel_swigregister = _coin.SoLightModel_swigregister -SoLightModel_swigregister(SoLightModel) - -def SoLightModel_getClassTypeId(*args): - """SoLightModel_getClassTypeId() -> SoType""" - return _coin.SoLightModel_getClassTypeId(*args) - -def SoLightModel_initClass(*args): - """SoLightModel_initClass()""" - return _coin.SoLightModel_initClass(*args) - -class SoMaterialBindingElement(SoInt32Element): - """Proxy of C++ SoMaterialBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterialBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMaterialBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMaterialBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMaterialBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - OVERALL = _coin.SoMaterialBindingElement_OVERALL - PER_PART = _coin.SoMaterialBindingElement_PER_PART - PER_PART_INDEXED = _coin.SoMaterialBindingElement_PER_PART_INDEXED - PER_FACE = _coin.SoMaterialBindingElement_PER_FACE - PER_FACE_INDEXED = _coin.SoMaterialBindingElement_PER_FACE_INDEXED - PER_VERTEX = _coin.SoMaterialBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoMaterialBindingElement_PER_VERTEX_INDEXED - DEFAULT = _coin.SoMaterialBindingElement_DEFAULT - NONE = _coin.SoMaterialBindingElement_NONE - def init(*args): - """init(self, SoState state)""" - return _coin.SoMaterialBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoMaterialBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoMaterialBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoMaterialBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoMaterialBindingElement_swigregister = _coin.SoMaterialBindingElement_swigregister -SoMaterialBindingElement_swigregister(SoMaterialBindingElement) - -def SoMaterialBindingElement_getClassTypeId(*args): - """SoMaterialBindingElement_getClassTypeId() -> SoType""" - return _coin.SoMaterialBindingElement_getClassTypeId(*args) - -def SoMaterialBindingElement_getClassStackIndex(*args): - """SoMaterialBindingElement_getClassStackIndex() -> int""" - return _coin.SoMaterialBindingElement_getClassStackIndex(*args) - -def SoMaterialBindingElement_createInstance(*args): - """SoMaterialBindingElement_createInstance() -> void""" - return _coin.SoMaterialBindingElement_createInstance(*args) - -def SoMaterialBindingElement_initClass(*args): - """SoMaterialBindingElement_initClass()""" - return _coin.SoMaterialBindingElement_initClass(*args) - -def SoMaterialBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoMaterialBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoMaterialBindingElement_set(*args) - -def SoMaterialBindingElement_get(*args): - """SoMaterialBindingElement_get(SoState state) -> Binding""" - return _coin.SoMaterialBindingElement_get(*args) - -def SoMaterialBindingElement_getDefault(*args): - """SoMaterialBindingElement_getDefault() -> Binding""" - return _coin.SoMaterialBindingElement_getDefault(*args) - -class SoMaterialBinding(SoNode): - """Proxy of C++ SoMaterialBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterialBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMaterialBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMaterialBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMaterialBinding""" - this = _coin.new_SoMaterialBinding(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoMaterialBinding_OVERALL - PER_PART = _coin.SoMaterialBinding_PER_PART - PER_PART_INDEXED = _coin.SoMaterialBinding_PER_PART_INDEXED - PER_FACE = _coin.SoMaterialBinding_PER_FACE - PER_FACE_INDEXED = _coin.SoMaterialBinding_PER_FACE_INDEXED - PER_VERTEX = _coin.SoMaterialBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoMaterialBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoMaterialBinding_DEFAULT - NONE = _coin.SoMaterialBinding_NONE - value = _swig_property(_coin.SoMaterialBinding_value_get, _coin.SoMaterialBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMaterialBinding_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMaterialBinding_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMaterialBinding_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMaterialBinding_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMaterialBinding_getPrimitiveCount(*args) - -SoMaterialBinding_swigregister = _coin.SoMaterialBinding_swigregister -SoMaterialBinding_swigregister(SoMaterialBinding) - -def SoMaterialBinding_getClassTypeId(*args): - """SoMaterialBinding_getClassTypeId() -> SoType""" - return _coin.SoMaterialBinding_getClassTypeId(*args) - -def SoMaterialBinding_initClass(*args): - """SoMaterialBinding_initClass()""" - return _coin.SoMaterialBinding_initClass(*args) - -class SoNormalBindingElement(SoInt32Element): - """Proxy of C++ SoNormalBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoNormalBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoNormalBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoNormalBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - OVERALL = _coin.SoNormalBindingElement_OVERALL - PER_PART = _coin.SoNormalBindingElement_PER_PART - PER_PART_INDEXED = _coin.SoNormalBindingElement_PER_PART_INDEXED - PER_FACE = _coin.SoNormalBindingElement_PER_FACE - PER_FACE_INDEXED = _coin.SoNormalBindingElement_PER_FACE_INDEXED - PER_VERTEX = _coin.SoNormalBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoNormalBindingElement_PER_VERTEX_INDEXED - DEFAULT = _coin.SoNormalBindingElement_DEFAULT - NONE = _coin.SoNormalBindingElement_NONE - def init(*args): - """init(self, SoState state)""" - return _coin.SoNormalBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoNormalBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoNormalBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoNormalBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoNormalBindingElement_swigregister = _coin.SoNormalBindingElement_swigregister -SoNormalBindingElement_swigregister(SoNormalBindingElement) - -def SoNormalBindingElement_getClassTypeId(*args): - """SoNormalBindingElement_getClassTypeId() -> SoType""" - return _coin.SoNormalBindingElement_getClassTypeId(*args) - -def SoNormalBindingElement_getClassStackIndex(*args): - """SoNormalBindingElement_getClassStackIndex() -> int""" - return _coin.SoNormalBindingElement_getClassStackIndex(*args) - -def SoNormalBindingElement_createInstance(*args): - """SoNormalBindingElement_createInstance() -> void""" - return _coin.SoNormalBindingElement_createInstance(*args) - -def SoNormalBindingElement_initClass(*args): - """SoNormalBindingElement_initClass()""" - return _coin.SoNormalBindingElement_initClass(*args) - -def SoNormalBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoNormalBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoNormalBindingElement_set(*args) - -def SoNormalBindingElement_get(*args): - """SoNormalBindingElement_get(SoState state) -> Binding""" - return _coin.SoNormalBindingElement_get(*args) - -def SoNormalBindingElement_getDefault(*args): - """SoNormalBindingElement_getDefault() -> Binding""" - return _coin.SoNormalBindingElement_getDefault(*args) - -class SoNormalBinding(SoNode): - """Proxy of C++ SoNormalBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNormalBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNormalBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNormalBinding""" - this = _coin.new_SoNormalBinding(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoNormalBinding_OVERALL - PER_PART = _coin.SoNormalBinding_PER_PART - PER_PART_INDEXED = _coin.SoNormalBinding_PER_PART_INDEXED - PER_FACE = _coin.SoNormalBinding_PER_FACE - PER_FACE_INDEXED = _coin.SoNormalBinding_PER_FACE_INDEXED - PER_VERTEX = _coin.SoNormalBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoNormalBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoNormalBinding_DEFAULT - NONE = _coin.SoNormalBinding_NONE - value = _swig_property(_coin.SoNormalBinding_value_get, _coin.SoNormalBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNormalBinding_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNormalBinding_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNormalBinding_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNormalBinding_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNormalBinding_getPrimitiveCount(*args) - -SoNormalBinding_swigregister = _coin.SoNormalBinding_swigregister -SoNormalBinding_swigregister(SoNormalBinding) - -def SoNormalBinding_getClassTypeId(*args): - """SoNormalBinding_getClassTypeId() -> SoType""" - return _coin.SoNormalBinding_getClassTypeId(*args) - -def SoNormalBinding_initClass(*args): - """SoNormalBinding_initClass()""" - return _coin.SoNormalBinding_initClass(*args) - -class SoPickStyleElement(SoInt32Element): - """Proxy of C++ SoPickStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPickStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPickStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPickStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - SHAPE = _coin.SoPickStyleElement_SHAPE - BOUNDING_BOX = _coin.SoPickStyleElement_BOUNDING_BOX - UNPICKABLE = _coin.SoPickStyleElement_UNPICKABLE - def init(*args): - """init(self, SoState state)""" - return _coin.SoPickStyleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t style) - set(SoState state, Style style) - """ - return _coin.SoPickStyleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Style""" - return _coin.SoPickStyleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Style""" - return _coin.SoPickStyleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPickStyleElement_swigregister = _coin.SoPickStyleElement_swigregister -SoPickStyleElement_swigregister(SoPickStyleElement) - -def SoPickStyleElement_getClassTypeId(*args): - """SoPickStyleElement_getClassTypeId() -> SoType""" - return _coin.SoPickStyleElement_getClassTypeId(*args) - -def SoPickStyleElement_getClassStackIndex(*args): - """SoPickStyleElement_getClassStackIndex() -> int""" - return _coin.SoPickStyleElement_getClassStackIndex(*args) - -def SoPickStyleElement_createInstance(*args): - """SoPickStyleElement_createInstance() -> void""" - return _coin.SoPickStyleElement_createInstance(*args) - -def SoPickStyleElement_initClass(*args): - """SoPickStyleElement_initClass()""" - return _coin.SoPickStyleElement_initClass(*args) - -def SoPickStyleElement_set(*args): - """ - set(SoState state, SoNode node, int32_t style) - SoPickStyleElement_set(SoState state, Style style) - """ - return _coin.SoPickStyleElement_set(*args) - -def SoPickStyleElement_get(*args): - """SoPickStyleElement_get(SoState state) -> Style""" - return _coin.SoPickStyleElement_get(*args) - -def SoPickStyleElement_getDefault(*args): - """SoPickStyleElement_getDefault() -> Style""" - return _coin.SoPickStyleElement_getDefault(*args) - -class SoPickStyle(SoNode): - """Proxy of C++ SoPickStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPickStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPickStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPickStyle""" - this = _coin.new_SoPickStyle(*args) - try: self.this.append(this) - except: self.this = this - SHAPE = _coin.SoPickStyle_SHAPE - BOUNDING_BOX = _coin.SoPickStyle_BOUNDING_BOX - UNPICKABLE = _coin.SoPickStyle_UNPICKABLE - style = _swig_property(_coin.SoPickStyle_style_get, _coin.SoPickStyle_style_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPickStyle_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPickStyle_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPickStyle_pick(*args) - -SoPickStyle_swigregister = _coin.SoPickStyle_swigregister -SoPickStyle_swigregister(SoPickStyle) - -def SoPickStyle_getClassTypeId(*args): - """SoPickStyle_getClassTypeId() -> SoType""" - return _coin.SoPickStyle_getClassTypeId(*args) - -def SoPickStyle_initClass(*args): - """SoPickStyle_initClass()""" - return _coin.SoPickStyle_initClass(*args) - -class SoShapeHintsElement(SoElement): - """Proxy of C++ SoShapeHintsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeHintsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShapeHintsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShapeHintsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShapeHintsElement_initClass(*args) - - initClass = staticmethod(initClass) - UNKNOWN_ORDERING = _coin.SoShapeHintsElement_UNKNOWN_ORDERING - CLOCKWISE = _coin.SoShapeHintsElement_CLOCKWISE - COUNTERCLOCKWISE = _coin.SoShapeHintsElement_COUNTERCLOCKWISE - ORDERING_AS_IS = _coin.SoShapeHintsElement_ORDERING_AS_IS - UNKNOWN_SHAPE_TYPE = _coin.SoShapeHintsElement_UNKNOWN_SHAPE_TYPE - SOLID = _coin.SoShapeHintsElement_SOLID - SHAPE_TYPE_AS_IS = _coin.SoShapeHintsElement_SHAPE_TYPE_AS_IS - UNKNOWN_FACE_TYPE = _coin.SoShapeHintsElement_UNKNOWN_FACE_TYPE - CONVEX = _coin.SoShapeHintsElement_CONVEX - FACE_TYPE_AS_IS = _coin.SoShapeHintsElement_FACE_TYPE_AS_IS - def init(*args): - """init(self, SoState state)""" - return _coin.SoShapeHintsElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoShapeHintsElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoShapeHintsElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoShapeHintsElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoShapeHintsElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, SoNode node, VertexOrdering vertexOrdering, - ShapeType shapeType, FaceType faceType) - set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_get(*args) - - get = staticmethod(get) - def getVertexOrdering(*args): - """getVertexOrdering(SoState state) -> VertexOrdering""" - return _coin.SoShapeHintsElement_getVertexOrdering(*args) - - getVertexOrdering = staticmethod(getVertexOrdering) - def getShapeType(*args): - """getShapeType(SoState state) -> ShapeType""" - return _coin.SoShapeHintsElement_getShapeType(*args) - - getShapeType = staticmethod(getShapeType) - def getFaceType(*args): - """getFaceType(SoState state) -> FaceType""" - return _coin.SoShapeHintsElement_getFaceType(*args) - - getFaceType = staticmethod(getFaceType) - def getDefaultVertexOrdering(*args): - """getDefaultVertexOrdering() -> VertexOrdering""" - return _coin.SoShapeHintsElement_getDefaultVertexOrdering(*args) - - getDefaultVertexOrdering = staticmethod(getDefaultVertexOrdering) - def getDefaultShapeType(*args): - """getDefaultShapeType() -> ShapeType""" - return _coin.SoShapeHintsElement_getDefaultShapeType(*args) - - getDefaultShapeType = staticmethod(getDefaultShapeType) - def getDefaultFaceType(*args): - """getDefaultFaceType() -> FaceType""" - return _coin.SoShapeHintsElement_getDefaultFaceType(*args) - - getDefaultFaceType = staticmethod(getDefaultFaceType) - def output(*args): - """output(self, FILE file)""" - return _coin.SoShapeHintsElement_output(*args) - -SoShapeHintsElement_swigregister = _coin.SoShapeHintsElement_swigregister -SoShapeHintsElement_swigregister(SoShapeHintsElement) - -def SoShapeHintsElement_getClassTypeId(*args): - """SoShapeHintsElement_getClassTypeId() -> SoType""" - return _coin.SoShapeHintsElement_getClassTypeId(*args) - -def SoShapeHintsElement_getClassStackIndex(*args): - """SoShapeHintsElement_getClassStackIndex() -> int""" - return _coin.SoShapeHintsElement_getClassStackIndex(*args) - -def SoShapeHintsElement_createInstance(*args): - """SoShapeHintsElement_createInstance() -> void""" - return _coin.SoShapeHintsElement_createInstance(*args) - -def SoShapeHintsElement_initClass(*args): - """SoShapeHintsElement_initClass()""" - return _coin.SoShapeHintsElement_initClass(*args) - -def SoShapeHintsElement_set(*args): - """ - set(SoState state, SoNode node, VertexOrdering vertexOrdering, - ShapeType shapeType, FaceType faceType) - SoShapeHintsElement_set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_set(*args) - -def SoShapeHintsElement_get(*args): - """ - SoShapeHintsElement_get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, - FaceType faceType) - """ - return _coin.SoShapeHintsElement_get(*args) - -def SoShapeHintsElement_getVertexOrdering(*args): - """SoShapeHintsElement_getVertexOrdering(SoState state) -> VertexOrdering""" - return _coin.SoShapeHintsElement_getVertexOrdering(*args) - -def SoShapeHintsElement_getShapeType(*args): - """SoShapeHintsElement_getShapeType(SoState state) -> ShapeType""" - return _coin.SoShapeHintsElement_getShapeType(*args) - -def SoShapeHintsElement_getFaceType(*args): - """SoShapeHintsElement_getFaceType(SoState state) -> FaceType""" - return _coin.SoShapeHintsElement_getFaceType(*args) - -def SoShapeHintsElement_getDefaultVertexOrdering(*args): - """SoShapeHintsElement_getDefaultVertexOrdering() -> VertexOrdering""" - return _coin.SoShapeHintsElement_getDefaultVertexOrdering(*args) - -def SoShapeHintsElement_getDefaultShapeType(*args): - """SoShapeHintsElement_getDefaultShapeType() -> ShapeType""" - return _coin.SoShapeHintsElement_getDefaultShapeType(*args) - -def SoShapeHintsElement_getDefaultFaceType(*args): - """SoShapeHintsElement_getDefaultFaceType() -> FaceType""" - return _coin.SoShapeHintsElement_getDefaultFaceType(*args) - -class SoShapeHints(SoNode): - """Proxy of C++ SoShapeHints class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeHints_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShapeHints_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShapeHints_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoShapeHints""" - this = _coin.new_SoShapeHints(*args) - try: self.this.append(this) - except: self.this = this - UNKNOWN_ORDERING = _coin.SoShapeHints_UNKNOWN_ORDERING - CLOCKWISE = _coin.SoShapeHints_CLOCKWISE - COUNTERCLOCKWISE = _coin.SoShapeHints_COUNTERCLOCKWISE - UNKNOWN_SHAPE_TYPE = _coin.SoShapeHints_UNKNOWN_SHAPE_TYPE - SOLID = _coin.SoShapeHints_SOLID - UNKNOWN_FACE_TYPE = _coin.SoShapeHints_UNKNOWN_FACE_TYPE - CONVEX = _coin.SoShapeHints_CONVEX - vertexOrdering = _swig_property(_coin.SoShapeHints_vertexOrdering_get, _coin.SoShapeHints_vertexOrdering_set) - shapeType = _swig_property(_coin.SoShapeHints_shapeType_get, _coin.SoShapeHints_shapeType_set) - faceType = _swig_property(_coin.SoShapeHints_faceType_get, _coin.SoShapeHints_faceType_set) - creaseAngle = _swig_property(_coin.SoShapeHints_creaseAngle_get, _coin.SoShapeHints_creaseAngle_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoShapeHints_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShapeHints_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoShapeHints_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoShapeHints_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoShapeHints_pick(*args) - -SoShapeHints_swigregister = _coin.SoShapeHints_swigregister -SoShapeHints_swigregister(SoShapeHints) - -def SoShapeHints_getClassTypeId(*args): - """SoShapeHints_getClassTypeId() -> SoType""" - return _coin.SoShapeHints_getClassTypeId(*args) - -def SoShapeHints_initClass(*args): - """SoShapeHints_initClass()""" - return _coin.SoShapeHints_initClass(*args) - -class SoSFImage(SoSField): - """Proxy of C++ SoSFImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFImage""" - this = _coin.new_SoSFImage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFImage - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFImage_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFImage_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFImage_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFImage_isSame(*args) - - COPY = _coin.SoSFImage_COPY - NO_COPY = _coin.SoSFImage_NO_COPY - NO_COPY_AND_DELETE = _coin.SoSFImage_NO_COPY_AND_DELETE - NO_COPY_AND_FREE = _coin.SoSFImage_NO_COPY_AND_FREE - def initClass(*args): - """initClass()""" - return _coin.SoSFImage_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """getValue(self, SbVec2s size) -> unsigned char""" - return _coin.SoSFImage_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFImage field) -> int""" - return _coin.SoSFImage___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFImage field) -> int""" - return _coin.SoSFImage___ne__(*args) - - def startEditing(*args): - """startEditing(self, SbVec2s size) -> unsigned char""" - return _coin.SoSFImage_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoSFImage_finishEditing(*args) - - def setSubValue(*args): - """setSubValue(self, SbVec2s dims, SbVec2s offset, unsigned char pixels)""" - return _coin.SoSFImage_setSubValue(*args) - - def setSubValues(*args): - """setSubValues(self, SbVec2s dims, SbVec2s offsets, int num, unsigned char pixelblocks)""" - return _coin.SoSFImage_setSubValues(*args) - - def getSubTexture(*args): - """getSubTexture(self, int idx, SbVec2s dims, SbVec2s offset) -> unsigned char""" - return _coin.SoSFImage_getSubTexture(*args) - - def hasSubTextures(*args): - """hasSubTextures(self, int numsubtextures) -> SbBool""" - return _coin.SoSFImage_hasSubTextures(*args) - - def setNeverWrite(*args): - """setNeverWrite(self, SbBool flag)""" - return _coin.SoSFImage_setNeverWrite(*args) - - def isNeverWrite(*args): - """isNeverWrite(self) -> SbBool""" - return _coin.SoSFImage_isNeverWrite(*args) - - def hasTransparency(*args): - """hasTransparency(self) -> SbBool""" - return _coin.SoSFImage_hasTransparency(*args) - - def setValue(*args): - """ - setValue(self, SbVec2s size, int nc, unsigned char pixels, CopyPolicy copypolicy=COPY) - setValue(self, SbVec2s size, int nc, unsigned char pixels) - setValue(self, SbVec2s size, int nc, PyObject pixels) - setValue(self, SoSFImage other) - """ - return _coin.SoSFImage_setValue(*args) - -SoSFImage_swigregister = _coin.SoSFImage_swigregister -SoSFImage_swigregister(SoSFImage) - -def SoSFImage_createInstance(*args): - """SoSFImage_createInstance() -> void""" - return _coin.SoSFImage_createInstance(*args) - -def SoSFImage_getClassTypeId(*args): - """SoSFImage_getClassTypeId() -> SoType""" - return _coin.SoSFImage_getClassTypeId(*args) - -def SoSFImage_initClass(*args): - """SoSFImage_initClass()""" - return _coin.SoSFImage_initClass(*args) - -class SoSFString(SoSField): - """Proxy of C++ SoSFString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFString""" - this = _coin.new_SoSFString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFString - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFString_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFString_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFString_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFString_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFString_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbString""" - return _coin.SoSFString_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFString field) -> int""" - return _coin.SoSFString___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFString field) -> int""" - return _coin.SoSFString___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFString_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbString newvalue) - setValue(self, char str) - setValue(self, SoSFString other) - """ - return _coin.SoSFString_setValue(*args) - -SoSFString_swigregister = _coin.SoSFString_swigregister -SoSFString_swigregister(SoSFString) - -def SoSFString_createInstance(*args): - """SoSFString_createInstance() -> void""" - return _coin.SoSFString_createInstance(*args) - -def SoSFString_getClassTypeId(*args): - """SoSFString_getClassTypeId() -> SoType""" - return _coin.SoSFString_getClassTypeId(*args) - -def SoSFString_initClass(*args): - """SoSFString_initClass()""" - return _coin.SoSFString_initClass(*args) - -class SoSFColor(SoSField): - """Proxy of C++ SoSFColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFColor""" - this = _coin.new_SoSFColor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFColor - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFColor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFColor_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFColor_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFColor_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbColor""" - return _coin.SoSFColor_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFColor field) -> int""" - return _coin.SoSFColor___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFColor field) -> int""" - return _coin.SoSFColor___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFColor_initClass(*args) - - initClass = staticmethod(initClass) - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) - setHSVValue(self, float hsv) - """ - return _coin.SoSFColor_setHSVValue(*args) - - def setValue(*args): - """ - setValue(self, SbColor newvalue) - setValue(self, SbVec3f vec) - setValue(self, float red, float green, float blue) - setValue(self, float rgb) - setValue(self, SoSFColor other) - """ - return _coin.SoSFColor_setValue(*args) - -SoSFColor_swigregister = _coin.SoSFColor_swigregister -SoSFColor_swigregister(SoSFColor) - -def SoSFColor_createInstance(*args): - """SoSFColor_createInstance() -> void""" - return _coin.SoSFColor_createInstance(*args) - -def SoSFColor_getClassTypeId(*args): - """SoSFColor_getClassTypeId() -> SoType""" - return _coin.SoSFColor_getClassTypeId(*args) - -def SoSFColor_initClass(*args): - """SoSFColor_initClass()""" - return _coin.SoSFColor_initClass(*args) - -class SoReplacedElement(SoElement): - """Proxy of C++ SoReplacedElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoReplacedElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoReplacedElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoReplacedElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoReplacedElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoReplacedElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoReplacedElement_copyMatchInfo(*args) - - def getNodeId(*args): - """getNodeId(self) -> uint32_t""" - return _coin.SoReplacedElement_getNodeId(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoReplacedElement_output(*args) - -SoReplacedElement_swigregister = _coin.SoReplacedElement_swigregister -SoReplacedElement_swigregister(SoReplacedElement) - -def SoReplacedElement_getClassTypeId(*args): - """SoReplacedElement_getClassTypeId() -> SoType""" - return _coin.SoReplacedElement_getClassTypeId(*args) - -def SoReplacedElement_getClassStackIndex(*args): - """SoReplacedElement_getClassStackIndex() -> int""" - return _coin.SoReplacedElement_getClassStackIndex(*args) - -def SoReplacedElement_initClass(*args): - """SoReplacedElement_initClass()""" - return _coin.SoReplacedElement_initClass(*args) - -class SbVec3s(object): - """Proxy of C++ SbVec3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3s - __init__(self, short v) -> SbVec3s - __init__(self, short x, short y, short z) -> SbVec3s - """ - this = _coin.new_SbVec3s(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec3s v) -> int32_t""" - return _coin.SbVec3s_dot(*args) - - def getValue(*args): - """ - getValue(self) -> short - getValue(self, short x, short y, short z) - """ - return _coin.SbVec3s_getValue(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3s_negate(*args) - - def setValue(*args): - """ - setValue(self, short v) -> SbVec3s - setValue(self, short x, short y, short z) -> SbVec3s - """ - return _coin.SbVec3s_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, int d) -> SbVec3s - __imul__(self, double d) -> SbVec3s - """ - return _coin.SbVec3s___imul__(*args) - - def __idiv__(*args): - """ - __idiv__(self, int d) -> SbVec3s - __idiv__(self, double d) -> SbVec3s - """ - return _coin.SbVec3s___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3s""" - return _coin.SbVec3s___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3s_output(*args) - - def __add__(*args): - """__add__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3s u) -> SbVec3s""" - return _coin.SbVec3s___sub__(*args) - - def __mul__(*args): - """__mul__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec3s""" - return _coin.SbVec3s___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3s u) -> int""" - return _coin.SbVec3s___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3s u) -> int""" - return _coin.SbVec3s___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SbVec3s___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SbVec3s___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3s - __del__ = lambda self : None; -SbVec3s_swigregister = _coin.SbVec3s_swigregister -SbVec3s_swigregister(SbVec3s) - -class SoTextureImageElement(SoReplacedElement): - """Proxy of C++ SoTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - BLEND = _coin.SoTextureImageElement_BLEND - MODULATE = _coin.SoTextureImageElement_MODULATE - DECAL = _coin.SoTextureImageElement_DECAL - REPLACE = _coin.SoTextureImageElement_REPLACE - CLAMP = _coin.SoTextureImageElement_CLAMP - REPEAT = _coin.SoTextureImageElement_REPEAT - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureImageElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node)""" - return _coin.SoTextureImageElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def set(*args): - """ - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int wrapR, int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - get(SoState state, SbVec2s size, int numComponents, int wrapS, - int wrapT, int model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, int wrapS, - int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char - """ - return _coin.SoTextureImageElement_get(*args) - - get = staticmethod(get) - def getBlendColor(*args): - """getBlendColor(SoState state) -> SbColor""" - return _coin.SoTextureImageElement_getBlendColor(*args) - - getBlendColor = staticmethod(getBlendColor) - def getImage(*args): - """ - getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char - getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getImage(*args) - - getImage = staticmethod(getImage) - def getModel(*args): - """getModel(SoState state) -> Model""" - return _coin.SoTextureImageElement_getModel(*args) - - getModel = staticmethod(getModel) - def getWrapS(*args): - """getWrapS(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapS(*args) - - getWrapS = staticmethod(getWrapS) - def getWrapT(*args): - """getWrapT(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapT(*args) - - getWrapT = staticmethod(getWrapT) - def getWrapR(*args): - """getWrapR(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapR(*args) - - getWrapR = staticmethod(getWrapR) - def containsTransparency(*args): - """containsTransparency(SoState state) -> SbBool""" - return _coin.SoTextureImageElement_containsTransparency(*args) - - containsTransparency = staticmethod(containsTransparency) - def getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureImageElement_swigregister = _coin.SoTextureImageElement_swigregister -SoTextureImageElement_swigregister(SoTextureImageElement) - -def SoTextureImageElement_getClassTypeId(*args): - """SoTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoTextureImageElement_getClassTypeId(*args) - -def SoTextureImageElement_getClassStackIndex(*args): - """SoTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoTextureImageElement_getClassStackIndex(*args) - -def SoTextureImageElement_createInstance(*args): - """SoTextureImageElement_createInstance() -> void""" - return _coin.SoTextureImageElement_createInstance(*args) - -def SoTextureImageElement_initClass(*args): - """SoTextureImageElement_initClass()""" - return _coin.SoTextureImageElement_initClass(*args) - -def SoTextureImageElement_setDefault(*args): - """SoTextureImageElement_setDefault(SoState state, SoNode node)""" - return _coin.SoTextureImageElement_setDefault(*args) - -def SoTextureImageElement_set(*args): - """ - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, int wrapS, int wrapT, - int wrapR, int model, SbColor blendColor) - set(SoState state, SoNode node, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - SoTextureImageElement_set(SoState state, SoNode node, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoTextureImageElement_set(*args) - -def SoTextureImageElement_get(*args): - """ - get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - get(SoState state, SbVec2s size, int numComponents, int wrapS, - int wrapT, int model, SbColor blendColor) -> unsigned char - SoTextureImageElement_get(SoState state, SbVec3s size, int numComponents, int wrapS, - int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char - """ - return _coin.SoTextureImageElement_get(*args) - -def SoTextureImageElement_getBlendColor(*args): - """SoTextureImageElement_getBlendColor(SoState state) -> SbColor""" - return _coin.SoTextureImageElement_getBlendColor(*args) - -def SoTextureImageElement_getImage(*args): - """ - getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char - SoTextureImageElement_getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getImage(*args) - -def SoTextureImageElement_getModel(*args): - """SoTextureImageElement_getModel(SoState state) -> Model""" - return _coin.SoTextureImageElement_getModel(*args) - -def SoTextureImageElement_getWrapS(*args): - """SoTextureImageElement_getWrapS(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapS(*args) - -def SoTextureImageElement_getWrapT(*args): - """SoTextureImageElement_getWrapT(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapT(*args) - -def SoTextureImageElement_getWrapR(*args): - """SoTextureImageElement_getWrapR(SoState state) -> Wrap""" - return _coin.SoTextureImageElement_getWrapR(*args) - -def SoTextureImageElement_containsTransparency(*args): - """SoTextureImageElement_containsTransparency(SoState state) -> SbBool""" - return _coin.SoTextureImageElement_containsTransparency(*args) - -def SoTextureImageElement_getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - SoTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoTextureImageElement_getDefault(*args) - -class SoTexture2(SoNode): - """Proxy of C++ SoTexture2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture2""" - this = _coin.new_SoTexture2(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoTexture2_MODULATE - DECAL = _coin.SoTexture2_DECAL - BLEND = _coin.SoTexture2_BLEND - REPLACE = _coin.SoTexture2_REPLACE - REPEAT = _coin.SoTexture2_REPEAT - CLAMP = _coin.SoTexture2_CLAMP - filename = _swig_property(_coin.SoTexture2_filename_get, _coin.SoTexture2_filename_set) - image = _swig_property(_coin.SoTexture2_image_get, _coin.SoTexture2_image_set) - wrapS = _swig_property(_coin.SoTexture2_wrapS_get, _coin.SoTexture2_wrapS_set) - wrapT = _swig_property(_coin.SoTexture2_wrapT_get, _coin.SoTexture2_wrapT_set) - model = _swig_property(_coin.SoTexture2_model_get, _coin.SoTexture2_model_set) - blendColor = _swig_property(_coin.SoTexture2_blendColor_get, _coin.SoTexture2_blendColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture2_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoTexture2_rayPick(*args) - - def readImage(*args): - """readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTexture2_readImage(*args) - - readImage = staticmethod(readImage) -SoTexture2_swigregister = _coin.SoTexture2_swigregister -SoTexture2_swigregister(SoTexture2) - -def SoTexture2_getClassTypeId(*args): - """SoTexture2_getClassTypeId() -> SoType""" - return _coin.SoTexture2_getClassTypeId(*args) - -def SoTexture2_initClass(*args): - """SoTexture2_initClass()""" - return _coin.SoTexture2_initClass(*args) - -def SoTexture2_readImage(*args): - """SoTexture2_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoTexture2_readImage(*args) - -class SoTextureCoordinateBindingElement(SoInt32Element): - """Proxy of C++ SoTextureCoordinateBindingElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBindingElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateBindingElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCoordinateBindingElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateBindingElement_initClass(*args) - - initClass = staticmethod(initClass) - PER_VERTEX = _coin.SoTextureCoordinateBindingElement_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoTextureCoordinateBindingElement_PER_VERTEX_INDEXED - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCoordinateBindingElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Binding binding) - set(SoState state, Binding binding) - """ - return _coin.SoTextureCoordinateBindingElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Binding""" - return _coin.SoTextureCoordinateBindingElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Binding""" - return _coin.SoTextureCoordinateBindingElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureCoordinateBindingElement_swigregister = _coin.SoTextureCoordinateBindingElement_swigregister -SoTextureCoordinateBindingElement_swigregister(SoTextureCoordinateBindingElement) - -def SoTextureCoordinateBindingElement_getClassTypeId(*args): - """SoTextureCoordinateBindingElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBindingElement_getClassTypeId(*args) - -def SoTextureCoordinateBindingElement_getClassStackIndex(*args): - """SoTextureCoordinateBindingElement_getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateBindingElement_getClassStackIndex(*args) - -def SoTextureCoordinateBindingElement_createInstance(*args): - """SoTextureCoordinateBindingElement_createInstance() -> void""" - return _coin.SoTextureCoordinateBindingElement_createInstance(*args) - -def SoTextureCoordinateBindingElement_initClass(*args): - """SoTextureCoordinateBindingElement_initClass()""" - return _coin.SoTextureCoordinateBindingElement_initClass(*args) - -def SoTextureCoordinateBindingElement_set(*args): - """ - set(SoState state, SoNode node, Binding binding) - SoTextureCoordinateBindingElement_set(SoState state, Binding binding) - """ - return _coin.SoTextureCoordinateBindingElement_set(*args) - -def SoTextureCoordinateBindingElement_get(*args): - """SoTextureCoordinateBindingElement_get(SoState state) -> Binding""" - return _coin.SoTextureCoordinateBindingElement_get(*args) - -def SoTextureCoordinateBindingElement_getDefault(*args): - """SoTextureCoordinateBindingElement_getDefault() -> Binding""" - return _coin.SoTextureCoordinateBindingElement_getDefault(*args) - -class SoTextureCoordinateBinding(SoNode): - """Proxy of C++ SoTextureCoordinateBinding class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBinding_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateBinding_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateBinding_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateBinding""" - this = _coin.new_SoTextureCoordinateBinding(*args) - try: self.this.append(this) - except: self.this = this - PER_VERTEX = _coin.SoTextureCoordinateBinding_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoTextureCoordinateBinding_PER_VERTEX_INDEXED - DEFAULT = _coin.SoTextureCoordinateBinding_DEFAULT - value = _swig_property(_coin.SoTextureCoordinateBinding_value_get, _coin.SoTextureCoordinateBinding_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateBinding_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateBinding_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateBinding_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateBinding_pick(*args) - -SoTextureCoordinateBinding_swigregister = _coin.SoTextureCoordinateBinding_swigregister -SoTextureCoordinateBinding_swigregister(SoTextureCoordinateBinding) - -def SoTextureCoordinateBinding_getClassTypeId(*args): - """SoTextureCoordinateBinding_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateBinding_getClassTypeId(*args) - -def SoTextureCoordinateBinding_initClass(*args): - """SoTextureCoordinateBinding_initClass()""" - return _coin.SoTextureCoordinateBinding_initClass(*args) - -class SoTransformation(SoNode): - """Proxy of C++ SoTransformation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformation_initClass(*args) - - initClass = staticmethod(initClass) -SoTransformation_swigregister = _coin.SoTransformation_swigregister -SoTransformation_swigregister(SoTransformation) - -def SoTransformation_getClassTypeId(*args): - """SoTransformation_getClassTypeId() -> SoType""" - return _coin.SoTransformation_getClassTypeId(*args) - -def SoTransformation_initClass(*args): - """SoTransformation_initClass()""" - return _coin.SoTransformation_initClass(*args) - -class SoUnits(SoTransformation): - """Proxy of C++ SoUnits class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoUnits_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoUnits_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoUnits_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoUnits""" - this = _coin.new_SoUnits(*args) - try: self.this.append(this) - except: self.this = this - METERS = _coin.SoUnits_METERS - CENTIMETERS = _coin.SoUnits_CENTIMETERS - MILLIMETERS = _coin.SoUnits_MILLIMETERS - MICROMETERS = _coin.SoUnits_MICROMETERS - MICRONS = _coin.SoUnits_MICRONS - NANOMETERS = _coin.SoUnits_NANOMETERS - ANGSTROMS = _coin.SoUnits_ANGSTROMS - KILOMETERS = _coin.SoUnits_KILOMETERS - FEET = _coin.SoUnits_FEET - INCHES = _coin.SoUnits_INCHES - POINTS = _coin.SoUnits_POINTS - YARDS = _coin.SoUnits_YARDS - MILES = _coin.SoUnits_MILES - NAUTICAL_MILES = _coin.SoUnits_NAUTICAL_MILES - units = _swig_property(_coin.SoUnits_units_get, _coin.SoUnits_units_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoUnits_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoUnits_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoUnits_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoUnits_getMatrix(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoUnits_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoUnits_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoUnits_getPrimitiveCount(*args) - -SoUnits_swigregister = _coin.SoUnits_swigregister -SoUnits_swigregister(SoUnits) - -def SoUnits_getClassTypeId(*args): - """SoUnits_getClassTypeId() -> SoType""" - return _coin.SoUnits_getClassTypeId(*args) - -def SoUnits_initClass(*args): - """SoUnits_initClass()""" - return _coin.SoUnits_initClass(*args) - -class SoCallbackAction(SoAction): - """Proxy of C++ SoCallbackAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCallbackAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCallbackAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoCallbackAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoCallbackAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """ - __init__(self) -> SoCallbackAction - __init__(self, SbViewportRegion vp) -> SoCallbackAction - """ - this = _coin.new_SoCallbackAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCallbackAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoCallbackAction_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion vp)""" - return _coin.SoCallbackAction_setViewportRegion(*args) - - CONTINUE = _coin.SoCallbackAction_CONTINUE - ABORT = _coin.SoCallbackAction_ABORT - PRUNE = _coin.SoCallbackAction_PRUNE - def getDecimationType(*args): - """getDecimationType(self) -> Type""" - return _coin.SoCallbackAction_getDecimationType(*args) - - def getDecimationPercentage(*args): - """getDecimationPercentage(self) -> float""" - return _coin.SoCallbackAction_getDecimationPercentage(*args) - - def getComplexity(*args): - """getComplexity(self) -> float""" - return _coin.SoCallbackAction_getComplexity(*args) - - def getComplexityType(*args): - """getComplexityType(self) -> Type""" - return _coin.SoCallbackAction_getComplexityType(*args) - - def getNumCoordinates(*args): - """getNumCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumCoordinates(*args) - - def getCoordinate3(*args): - """getCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getCoordinate3(*args) - - def getCoordinate4(*args): - """getCoordinate4(self, int index) -> SbVec4f""" - return _coin.SoCallbackAction_getCoordinate4(*args) - - def getDrawStyle(*args): - """getDrawStyle(self) -> Style""" - return _coin.SoCallbackAction_getDrawStyle(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> unsigned short""" - return _coin.SoCallbackAction_getLinePattern(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoCallbackAction_getLineWidth(*args) - - def getPointSize(*args): - """getPointSize(self) -> float""" - return _coin.SoCallbackAction_getPointSize(*args) - - def getFontName(*args): - """getFontName(self) -> SbName""" - return _coin.SoCallbackAction_getFontName(*args) - - def getFontSize(*args): - """getFontSize(self) -> float""" - return _coin.SoCallbackAction_getFontSize(*args) - - def getLightModel(*args): - """getLightModel(self) -> Model""" - return _coin.SoCallbackAction_getLightModel(*args) - - def getLightAttenuation(*args): - """getLightAttenuation(self) -> SbVec3f""" - return _coin.SoCallbackAction_getLightAttenuation(*args) - - def getMaterialBinding(*args): - """getMaterialBinding(self) -> Binding""" - return _coin.SoCallbackAction_getMaterialBinding(*args) - - def getNumNormals(*args): - """getNumNormals(self) -> uint32_t""" - return _coin.SoCallbackAction_getNumNormals(*args) - - def getNormal(*args): - """getNormal(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getNormal(*args) - - def getNormalBinding(*args): - """getNormalBinding(self) -> Binding""" - return _coin.SoCallbackAction_getNormalBinding(*args) - - def getNumProfileCoordinates(*args): - """getNumProfileCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumProfileCoordinates(*args) - - def getProfileCoordinate2(*args): - """getProfileCoordinate2(self, int index) -> SbVec2f""" - return _coin.SoCallbackAction_getProfileCoordinate2(*args) - - def getProfileCoordinate3(*args): - """getProfileCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getProfileCoordinate3(*args) - - def getProfile(*args): - """getProfile(self) -> SoNodeList""" - return _coin.SoCallbackAction_getProfile(*args) - - def getVertexOrdering(*args): - """getVertexOrdering(self) -> VertexOrdering""" - return _coin.SoCallbackAction_getVertexOrdering(*args) - - def getShapeType(*args): - """getShapeType(self) -> ShapeType""" - return _coin.SoCallbackAction_getShapeType(*args) - - def getFaceType(*args): - """getFaceType(self) -> FaceType""" - return _coin.SoCallbackAction_getFaceType(*args) - - def getCreaseAngle(*args): - """getCreaseAngle(self) -> float""" - return _coin.SoCallbackAction_getCreaseAngle(*args) - - def getNumTextureCoordinates(*args): - """getNumTextureCoordinates(self) -> int32_t""" - return _coin.SoCallbackAction_getNumTextureCoordinates(*args) - - def getTextureCoordinate2(*args): - """getTextureCoordinate2(self, int index) -> SbVec2f""" - return _coin.SoCallbackAction_getTextureCoordinate2(*args) - - def getTextureCoordinate3(*args): - """getTextureCoordinate3(self, int index) -> SbVec3f""" - return _coin.SoCallbackAction_getTextureCoordinate3(*args) - - def getTextureCoordinate4(*args): - """getTextureCoordinate4(self, int index) -> SbVec4f""" - return _coin.SoCallbackAction_getTextureCoordinate4(*args) - - def getTextureCoordinateBinding(*args): - """getTextureCoordinateBinding(self) -> Binding""" - return _coin.SoCallbackAction_getTextureCoordinateBinding(*args) - - def getTextureBlendColor(*args): - """getTextureBlendColor(self) -> SbColor""" - return _coin.SoCallbackAction_getTextureBlendColor(*args) - - def getTextureImage(*args): - """ - getTextureImage(self, SbVec2s size, int numcomps) -> unsigned char - getTextureImage(self, SbVec3s size, int numcomps) -> unsigned char - """ - return _coin.SoCallbackAction_getTextureImage(*args) - - def getTextureMatrix(*args): - """getTextureMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getTextureMatrix(*args) - - def getTextureModel(*args): - """getTextureModel(self) -> Model""" - return _coin.SoCallbackAction_getTextureModel(*args) - - def getTextureWrapS(*args): - """getTextureWrapS(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapS(*args) - - def getTextureWrapT(*args): - """getTextureWrapT(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapT(*args) - - def getTextureWrapR(*args): - """getTextureWrapR(self) -> Wrap""" - return _coin.SoCallbackAction_getTextureWrapR(*args) - - def getModelMatrix(*args): - """getModelMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getModelMatrix(*args) - - def getUnits(*args): - """getUnits(self) -> Units""" - return _coin.SoCallbackAction_getUnits(*args) - - def getFocalDistance(*args): - """getFocalDistance(self) -> float""" - return _coin.SoCallbackAction_getFocalDistance(*args) - - def getProjectionMatrix(*args): - """getProjectionMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getProjectionMatrix(*args) - - def getViewingMatrix(*args): - """getViewingMatrix(self) -> SbMatrix""" - return _coin.SoCallbackAction_getViewingMatrix(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoCallbackAction_getViewVolume(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoCallbackAction_getViewportRegion(*args) - - def getPickStyle(*args): - """getPickStyle(self) -> Style""" - return _coin.SoCallbackAction_getPickStyle(*args) - - def getSwitch(*args): - """getSwitch(self) -> int32_t""" - return _coin.SoCallbackAction_getSwitch(*args) - - def getCurrentResponse(*args): - """getCurrentResponse(self) -> Response""" - return _coin.SoCallbackAction_getCurrentResponse(*args) - - def invokePreCallbacks(*args): - """invokePreCallbacks(self, SoNode node)""" - return _coin.SoCallbackAction_invokePreCallbacks(*args) - - def invokePostCallbacks(*args): - """invokePostCallbacks(self, SoNode node)""" - return _coin.SoCallbackAction_invokePostCallbacks(*args) - - def invokeTriangleCallbacks(*args): - """ - invokeTriangleCallbacks(self, SoShape shape, SoPrimitiveVertex v1, SoPrimitiveVertex v2, - SoPrimitiveVertex v3) - """ - return _coin.SoCallbackAction_invokeTriangleCallbacks(*args) - - def invokeLineSegmentCallbacks(*args): - """invokeLineSegmentCallbacks(self, SoShape shape, SoPrimitiveVertex v1, SoPrimitiveVertex v2)""" - return _coin.SoCallbackAction_invokeLineSegmentCallbacks(*args) - - def invokePointCallbacks(*args): - """invokePointCallbacks(self, SoShape shape, SoPrimitiveVertex v)""" - return _coin.SoCallbackAction_invokePointCallbacks(*args) - - def shouldGeneratePrimitives(*args): - """shouldGeneratePrimitives(self, SoShape shape) -> SbBool""" - return _coin.SoCallbackAction_shouldGeneratePrimitives(*args) - - def getCurPathTail(*args): - """getCurPathTail(self) -> SoNode""" - return _coin.SoCallbackAction_getCurPathTail(*args) - - def setCurrentNode(*args): - """setCurrentNode(self, SoNode node)""" - return _coin.SoCallbackAction_setCurrentNode(*args) - - def getMaterial(*args): - """ - getMaterial(self, int index=0) -> PyObject - getMaterial(self) -> PyObject - """ - return _coin.SoCallbackAction_getMaterial(*args) - - def addPreCallback(*args): - """ - addPreCallback(self, SoType type, SoCallbackActionCB cb, void userdata) - addPreCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPreCallback(*args) - - def addPostCallback(*args): - """ - addPostCallback(self, SoType type, SoCallbackActionCB cb, void userdata) - addPostCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPostCallback(*args) - - def addPreTailCallback(*args): - """ - addPreTailCallback(self, SoCallbackActionCB cb, void userdata) - addPreTailCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPreTailCallback(*args) - - def addPostTailCallback(*args): - """ - addPostTailCallback(self, SoCallbackActionCB cb, void userdata) - addPostTailCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPostTailCallback(*args) - - def addTriangleCallback(*args): - """ - addTriangleCallback(self, SoType type, SoTriangleCB cb, void userdata) - addTriangleCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addTriangleCallback(*args) - - def addLineSegmentCallback(*args): - """ - addLineSegmentCallback(self, SoType type, SoLineSegmentCB cb, void userdata) - addLineSegmentCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addLineSegmentCallback(*args) - - def addPointCallback(*args): - """ - addPointCallback(self, SoType type, SoPointCB cb, void userdata) - addPointCallback(self, SoType type, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoCallbackAction_addPointCallback(*args) - -SoCallbackAction_swigregister = _coin.SoCallbackAction_swigregister -SoCallbackAction_swigregister(SoCallbackAction) - -def SoCallbackAction_getClassTypeId(*args): - """SoCallbackAction_getClassTypeId() -> SoType""" - return _coin.SoCallbackAction_getClassTypeId(*args) - -def SoCallbackAction_addMethod(*args): - """SoCallbackAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoCallbackAction_addMethod(*args) - -def SoCallbackAction_enableElement(*args): - """SoCallbackAction_enableElement(SoType type, int stackindex)""" - return _coin.SoCallbackAction_enableElement(*args) - -def SoCallbackAction_initClass(*args): - """SoCallbackAction_initClass()""" - return _coin.SoCallbackAction_initClass(*args) - -class SbVec2f(object): - """Proxy of C++ SbVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2f - __init__(self, float v) -> SbVec2f - __init__(self, float x, float y) -> SbVec2f - """ - this = _coin.new_SbVec2f(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec2f v) -> float""" - return _coin.SbVec2f_dot(*args) - - def equals(*args): - """equals(self, SbVec2f v, float tolerance) -> SbBool""" - return _coin.SbVec2f_equals(*args) - - def getValue(*args): - """getValue(self, float x, float y)""" - return _coin.SbVec2f_getValue(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec2f_length(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2f_negate(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec2f_normalize(*args) - - def setValue(*args): - """ - setValue(self, float v) -> SbVec2f - setValue(self, float x, float y) -> SbVec2f - """ - return _coin.SbVec2f_setValue(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2f""" - return _coin.SbVec2f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2f_output(*args) - - def __add__(*args): - """__add__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2f u) -> SbVec2f""" - return _coin.SbVec2f___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec2f""" - return _coin.SbVec2f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2f u) -> int""" - return _coin.SbVec2f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2f u) -> int""" - return _coin.SbVec2f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec2f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec2f___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2f - __del__ = lambda self : None; -SbVec2f_swigregister = _coin.SbVec2f_swigregister -SbVec2f_swigregister(SbVec2f) - -class SbViewportRegion(object): - """Proxy of C++ SbViewportRegion class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbViewportRegion - __init__(self, short width, short height) -> SbViewportRegion - __init__(self, SbVec2s winSize) -> SbViewportRegion - __init__(self, SbViewportRegion vpReg) -> SbViewportRegion - """ - this = _coin.new_SbViewportRegion(*args) - try: self.this.append(this) - except: self.this = this - def setWindowSize(*args): - """ - setWindowSize(self, short width, short height) - setWindowSize(self, SbVec2s winSize) - """ - return _coin.SbViewportRegion_setWindowSize(*args) - - def setViewport(*args): - """ - setViewport(self, float left, float bottom, float width, float height) - setViewport(self, SbVec2f origin, SbVec2f size) - """ - return _coin.SbViewportRegion_setViewport(*args) - - def setViewportPixels(*args): - """ - setViewportPixels(self, short left, short bottom, short width, short height) - setViewportPixels(self, SbVec2s origin, SbVec2s size) - """ - return _coin.SbViewportRegion_setViewportPixels(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _coin.SbViewportRegion_getWindowSize(*args) - - def getViewportOrigin(*args): - """getViewportOrigin(self) -> SbVec2f""" - return _coin.SbViewportRegion_getViewportOrigin(*args) - - def getViewportOriginPixels(*args): - """getViewportOriginPixels(self) -> SbVec2s""" - return _coin.SbViewportRegion_getViewportOriginPixels(*args) - - def getViewportSize(*args): - """getViewportSize(self) -> SbVec2f""" - return _coin.SbViewportRegion_getViewportSize(*args) - - def getViewportSizePixels(*args): - """getViewportSizePixels(self) -> SbVec2s""" - return _coin.SbViewportRegion_getViewportSizePixels(*args) - - def getViewportAspectRatio(*args): - """getViewportAspectRatio(self) -> float""" - return _coin.SbViewportRegion_getViewportAspectRatio(*args) - - def scaleWidth(*args): - """scaleWidth(self, float ratio)""" - return _coin.SbViewportRegion_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, float ratio)""" - return _coin.SbViewportRegion_scaleHeight(*args) - - def setPixelsPerInch(*args): - """setPixelsPerInch(self, float ppi)""" - return _coin.SbViewportRegion_setPixelsPerInch(*args) - - def getPixelsPerInch(*args): - """getPixelsPerInch(self) -> float""" - return _coin.SbViewportRegion_getPixelsPerInch(*args) - - def getPixelsPerPoint(*args): - """getPixelsPerPoint(self) -> float""" - return _coin.SbViewportRegion_getPixelsPerPoint(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbViewportRegion_output(*args) - - def __eq__(*args): - """__eq__(self, SbViewportRegion u) -> int""" - return _coin.SbViewportRegion___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbViewportRegion u) -> int""" - return _coin.SbViewportRegion___ne__(*args) - - __swig_destroy__ = _coin.delete_SbViewportRegion - __del__ = lambda self : None; -SbViewportRegion_swigregister = _coin.SbViewportRegion_swigregister -SbViewportRegion_swigregister(SbViewportRegion) - -class SoGLRenderAction(SoAction): - """Proxy of C++ SoGLRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGLRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGLRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoGLRenderAction""" - this = _coin.new_SoGLRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGLRenderAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoGLRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - SCREEN_DOOR = _coin.SoGLRenderAction_SCREEN_DOOR - ADD = _coin.SoGLRenderAction_ADD - DELAYED_ADD = _coin.SoGLRenderAction_DELAYED_ADD - SORTED_OBJECT_ADD = _coin.SoGLRenderAction_SORTED_OBJECT_ADD - BLEND = _coin.SoGLRenderAction_BLEND - DELAYED_BLEND = _coin.SoGLRenderAction_DELAYED_BLEND - SORTED_OBJECT_BLEND = _coin.SoGLRenderAction_SORTED_OBJECT_BLEND - SORTED_OBJECT_SORTED_TRIANGLE_ADD = _coin.SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_ADD - SORTED_OBJECT_SORTED_TRIANGLE_BLEND = _coin.SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_BLEND - NONE = _coin.SoGLRenderAction_NONE - SORTED_LAYERS_BLEND = _coin.SoGLRenderAction_SORTED_LAYERS_BLEND - CONTINUE = _coin.SoGLRenderAction_CONTINUE - ABORT = _coin.SoGLRenderAction_ABORT - PRUNE = _coin.SoGLRenderAction_PRUNE - DELAY = _coin.SoGLRenderAction_DELAY - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoGLRenderAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGLRenderAction_getViewportRegion(*args) - - def setUpdateArea(*args): - """setUpdateArea(self, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLRenderAction_setUpdateArea(*args) - - def getUpdateArea(*args): - """getUpdateArea(self, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLRenderAction_getUpdateArea(*args) - - def setTransparencyType(*args): - """setTransparencyType(self, TransparencyType type)""" - return _coin.SoGLRenderAction_setTransparencyType(*args) - - def getTransparencyType(*args): - """getTransparencyType(self) -> TransparencyType""" - return _coin.SoGLRenderAction_getTransparencyType(*args) - - def setSmoothing(*args): - """setSmoothing(self, SbBool smooth)""" - return _coin.SoGLRenderAction_setSmoothing(*args) - - def isSmoothing(*args): - """isSmoothing(self) -> SbBool""" - return _coin.SoGLRenderAction_isSmoothing(*args) - - def setNumPasses(*args): - """setNumPasses(self, int num)""" - return _coin.SoGLRenderAction_setNumPasses(*args) - - def getNumPasses(*args): - """getNumPasses(self) -> int""" - return _coin.SoGLRenderAction_getNumPasses(*args) - - def setPassUpdate(*args): - """setPassUpdate(self, SbBool flag)""" - return _coin.SoGLRenderAction_setPassUpdate(*args) - - def isPassUpdate(*args): - """isPassUpdate(self) -> SbBool""" - return _coin.SoGLRenderAction_isPassUpdate(*args) - - def setCacheContext(*args): - """setCacheContext(self, uint32_t context)""" - return _coin.SoGLRenderAction_setCacheContext(*args) - - def getCacheContext(*args): - """getCacheContext(self) -> uint32_t""" - return _coin.SoGLRenderAction_getCacheContext(*args) - - def addDelayedPath(*args): - """addDelayedPath(self, SoPath path)""" - return _coin.SoGLRenderAction_addDelayedPath(*args) - - def isRenderingDelayedPaths(*args): - """isRenderingDelayedPaths(self) -> SbBool""" - return _coin.SoGLRenderAction_isRenderingDelayedPaths(*args) - - def handleTransparency(*args): - """ - handleTransparency(self, SbBool istransparent=0) -> SbBool - handleTransparency(self) -> SbBool - """ - return _coin.SoGLRenderAction_handleTransparency(*args) - - def getCurPass(*args): - """getCurPass(self) -> int""" - return _coin.SoGLRenderAction_getCurPass(*args) - - def abortNow(*args): - """abortNow(self) -> SbBool""" - return _coin.SoGLRenderAction_abortNow(*args) - - def setRenderingIsRemote(*args): - """setRenderingIsRemote(self, SbBool isremote)""" - return _coin.SoGLRenderAction_setRenderingIsRemote(*args) - - def getRenderingIsRemote(*args): - """getRenderingIsRemote(self) -> SbBool""" - return _coin.SoGLRenderAction_getRenderingIsRemote(*args) - - def invalidateState(*args): - """invalidateState(self)""" - return _coin.SoGLRenderAction_invalidateState(*args) - - def setSortedLayersNumPasses(*args): - """setSortedLayersNumPasses(self, int num)""" - return _coin.SoGLRenderAction_setSortedLayersNumPasses(*args) - - def getSortedLayersNumPasses(*args): - """getSortedLayersNumPasses(self) -> int""" - return _coin.SoGLRenderAction_getSortedLayersNumPasses(*args) - - def setPassCallback(*args): - """ - setPassCallback(self, SoGLRenderPassCB func, void userdata) - setPassCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_setPassCallback(*args) - - def setAbortCallback(*args): - """ - setAbortCallback(self, SoGLRenderAbortCB func, void userdata) - setAbortCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_setAbortCallback(*args) - - def addPreRenderCallback(*args): - """ - addPreRenderCallback(self, SoGLPreRenderCB func, void userdata) - addPreRenderCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_addPreRenderCallback(*args) - - def removePreRenderCallback(*args): - """ - removePreRenderCallback(self, SoGLPreRenderCB func, void userdata) - removePreRenderCallback(self, PyObject pyfunc, PyObject userdata) - """ - return _coin.SoGLRenderAction_removePreRenderCallback(*args) - -SoGLRenderAction_swigregister = _coin.SoGLRenderAction_swigregister -SoGLRenderAction_swigregister(SoGLRenderAction) - -def SoGLRenderAction_getClassTypeId(*args): - """SoGLRenderAction_getClassTypeId() -> SoType""" - return _coin.SoGLRenderAction_getClassTypeId(*args) - -def SoGLRenderAction_addMethod(*args): - """SoGLRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGLRenderAction_addMethod(*args) - -def SoGLRenderAction_enableElement(*args): - """SoGLRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGLRenderAction_enableElement(*args) - -def SoGLRenderAction_initClass(*args): - """SoGLRenderAction_initClass()""" - return _coin.SoGLRenderAction_initClass(*args) - -class SoBoxHighlightRenderAction(SoGLRenderAction): - """Proxy of C++ SoBoxHighlightRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBoxHighlightRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBoxHighlightRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoBoxHighlightRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoBoxHighlightRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """ - __init__(self) -> SoBoxHighlightRenderAction - __init__(self, SbViewportRegion viewportregion) -> SoBoxHighlightRenderAction - """ - this = _coin.new_SoBoxHighlightRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBoxHighlightRenderAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoBoxHighlightRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoBoxHighlightRenderAction_apply(*args) - - def setVisible(*args): - """setVisible(self, SbBool visible)""" - return _coin.SoBoxHighlightRenderAction_setVisible(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _coin.SoBoxHighlightRenderAction_isVisible(*args) - - def setColor(*args): - """setColor(self, SbColor color)""" - return _coin.SoBoxHighlightRenderAction_setColor(*args) - - def getColor(*args): - """getColor(self) -> SbColor""" - return _coin.SoBoxHighlightRenderAction_getColor(*args) - - def setLinePattern(*args): - """setLinePattern(self, unsigned short pattern)""" - return _coin.SoBoxHighlightRenderAction_setLinePattern(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> unsigned short""" - return _coin.SoBoxHighlightRenderAction_getLinePattern(*args) - - def setLineWidth(*args): - """setLineWidth(self, float width)""" - return _coin.SoBoxHighlightRenderAction_setLineWidth(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoBoxHighlightRenderAction_getLineWidth(*args) - -SoBoxHighlightRenderAction_swigregister = _coin.SoBoxHighlightRenderAction_swigregister -SoBoxHighlightRenderAction_swigregister(SoBoxHighlightRenderAction) - -def SoBoxHighlightRenderAction_getClassTypeId(*args): - """SoBoxHighlightRenderAction_getClassTypeId() -> SoType""" - return _coin.SoBoxHighlightRenderAction_getClassTypeId(*args) - -def SoBoxHighlightRenderAction_addMethod(*args): - """SoBoxHighlightRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoBoxHighlightRenderAction_addMethod(*args) - -def SoBoxHighlightRenderAction_enableElement(*args): - """SoBoxHighlightRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoBoxHighlightRenderAction_enableElement(*args) - -def SoBoxHighlightRenderAction_initClass(*args): - """SoBoxHighlightRenderAction_initClass()""" - return _coin.SoBoxHighlightRenderAction_initClass(*args) - -class SoLineHighlightRenderAction(SoGLRenderAction): - """Proxy of C++ SoLineHighlightRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineHighlightRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineHighlightRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoLineHighlightRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoLineHighlightRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """ - __init__(self) -> SoLineHighlightRenderAction - __init__(self, SbViewportRegion viewportregion) -> SoLineHighlightRenderAction - """ - this = _coin.new_SoLineHighlightRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLineHighlightRenderAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoLineHighlightRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoLineHighlightRenderAction_apply(*args) - - def setVisible(*args): - """setVisible(self, SbBool visible)""" - return _coin.SoLineHighlightRenderAction_setVisible(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _coin.SoLineHighlightRenderAction_isVisible(*args) - - def setColor(*args): - """setColor(self, SbColor color)""" - return _coin.SoLineHighlightRenderAction_setColor(*args) - - def getColor(*args): - """getColor(self) -> SbColor""" - return _coin.SoLineHighlightRenderAction_getColor(*args) - - def setLinePattern(*args): - """setLinePattern(self, uint16_t pattern)""" - return _coin.SoLineHighlightRenderAction_setLinePattern(*args) - - def getLinePattern(*args): - """getLinePattern(self) -> uint16_t""" - return _coin.SoLineHighlightRenderAction_getLinePattern(*args) - - def setLineWidth(*args): - """setLineWidth(self, float width)""" - return _coin.SoLineHighlightRenderAction_setLineWidth(*args) - - def getLineWidth(*args): - """getLineWidth(self) -> float""" - return _coin.SoLineHighlightRenderAction_getLineWidth(*args) - -SoLineHighlightRenderAction_swigregister = _coin.SoLineHighlightRenderAction_swigregister -SoLineHighlightRenderAction_swigregister(SoLineHighlightRenderAction) - -def SoLineHighlightRenderAction_getClassTypeId(*args): - """SoLineHighlightRenderAction_getClassTypeId() -> SoType""" - return _coin.SoLineHighlightRenderAction_getClassTypeId(*args) - -def SoLineHighlightRenderAction_addMethod(*args): - """SoLineHighlightRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoLineHighlightRenderAction_addMethod(*args) - -def SoLineHighlightRenderAction_enableElement(*args): - """SoLineHighlightRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoLineHighlightRenderAction_enableElement(*args) - -def SoLineHighlightRenderAction_initClass(*args): - """SoLineHighlightRenderAction_initClass()""" - return _coin.SoLineHighlightRenderAction_initClass(*args) - -class SbBox3f(object): - """Proxy of C++ SbBox3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3f - __init__(self, float minx, float miny, float minz, float maxx, float maxy, - float maxz) -> SbBox3f - __init__(self, SbVec3f min, SbVec3f max) -> SbBox3f - """ - this = _coin.new_SbBox3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBox3f - __del__ = lambda self : None; - def getMin(*args): - """ - getMin(self) -> SbVec3f - getMin(self) -> SbVec3f - """ - return _coin.SbBox3f_getMin(*args) - - def getMax(*args): - """ - getMax(self) -> SbVec3f - getMax(self) -> SbVec3f - """ - return _coin.SbBox3f_getMax(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbBox3f_getCenter(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3f point) - extendBy(self, SbBox3f box) - """ - return _coin.SbBox3f_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f point) -> SbBool - intersect(self, SbBox3f box) -> SbBool - """ - return _coin.SbBox3f_intersect(*args) - - def setBounds(*args): - """ - setBounds(self, float minx, float miny, float minz, float maxx, float maxy, - float maxz) - setBounds(self, SbVec3f min, SbVec3f max) - """ - return _coin.SbBox3f_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, float minx, float miny, float minz, float maxx, float maxy, - float maxz) - getBounds(self, SbVec3f min, SbVec3f max) - """ - return _coin.SbBox3f_getBounds(*args) - - def getOrigin(*args): - """getOrigin(self, float x0, float y0, float z0)""" - return _coin.SbBox3f_getOrigin(*args) - - def getSize(*args): - """getSize(self, float dx, float dy, float dz)""" - return _coin.SbBox3f_getSize(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3f_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox3f_isEmpty(*args) - - def hasVolume(*args): - """hasVolume(self) -> SbBool""" - return _coin.SbBox3f_hasVolume(*args) - - def getSpan(*args): - """getSpan(self, SbVec3f dir, float dmin, float dmax)""" - return _coin.SbBox3f_getSpan(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbBox3f_transform(*args) - - def getVolume(*args): - """getVolume(self) -> float""" - return _coin.SbBox3f_getVolume(*args) - - def outside(*args): - """outside(self, SbMatrix mvp, int cullbits) -> SbBool""" - return _coin.SbBox3f_outside(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f point) -> SbVec3f""" - return _coin.SbBox3f_getClosestPoint(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbBox3f_output(*args) - - def __eq__(*args): - """__eq__(self, SbBox3f u) -> int""" - return _coin.SbBox3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox3f u) -> int""" - return _coin.SbBox3f___ne__(*args) - -SbBox3f_swigregister = _coin.SbBox3f_swigregister -SbBox3f_swigregister(SbBox3f) - -class SbMatrix(object): - """Proxy of C++ SbMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbMatrix - __init__(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) -> SbMatrix - __init__(self, SbMat matrix) -> SbMatrix - __init__(self, SbMat matrix) -> SbMatrix - """ - this = _coin.new_SbMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbMatrix - __del__ = lambda self : None; - def setValue(*args): - """setValue(self, SbMat m)""" - return _coin.SbMatrix_setValue(*args) - - def makeIdentity(*args): - """makeIdentity(self)""" - return _coin.SbMatrix_makeIdentity(*args) - - def setRotate(*args): - """setRotate(self, SbRotation q)""" - return _coin.SbMatrix_setRotate(*args) - - def inverse(*args): - """inverse(self) -> SbMatrix""" - return _coin.SbMatrix_inverse(*args) - - def det3(*args): - """ - det3(self, int r1, int r2, int r3, int c1, int c2, int c3) -> float - det3(self) -> float - """ - return _coin.SbMatrix_det3(*args) - - def det4(*args): - """det4(self) -> float""" - return _coin.SbMatrix_det4(*args) - - def equals(*args): - """equals(self, SbMatrix m, float tolerance) -> SbBool""" - return _coin.SbMatrix_equals(*args) - - def __imul__(*args): - """__imul__(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix___imul__(*args) - - def getValue(*args): - """ - getValue(self) -> SbMat - getValue(self, SbMat m) - """ - return _coin.SbMatrix_getValue(*args) - - def identity(*args): - """identity() -> SbMatrix""" - return _coin.SbMatrix_identity(*args) - - identity = staticmethod(identity) - def setScale(*args): - """ - setScale(self, float s) - setScale(self, SbVec3f s) - """ - return _coin.SbMatrix_setScale(*args) - - def setTranslate(*args): - """setTranslate(self, SbVec3f t)""" - return _coin.SbMatrix_setTranslate(*args) - - def setTransform(*args): - """ - setTransform(self, SbVec3f t, SbRotation r, SbVec3f s) - setTransform(self, SbVec3f t, SbRotation r, SbVec3f s, SbRotation so) - setTransform(self, SbVec3f translation, SbRotation rotation, SbVec3f scaleFactor, - SbRotation scaleOrientation, SbVec3f center) - """ - return _coin.SbMatrix_setTransform(*args) - - def factor(*args): - """factor(self, SbMatrix r, SbVec3f s, SbMatrix u, SbVec3f t, SbMatrix proj) -> SbBool""" - return _coin.SbMatrix_factor(*args) - - def LUDecomposition(*args): - """LUDecomposition(self, int index, float d) -> SbBool""" - return _coin.SbMatrix_LUDecomposition(*args) - - def LUBackSubstitution(*args): - """LUBackSubstitution(self, int index, float b)""" - return _coin.SbMatrix_LUBackSubstitution(*args) - - def transpose(*args): - """transpose(self) -> SbMatrix""" - return _coin.SbMatrix_transpose(*args) - - def multRight(*args): - """multRight(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix_multRight(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix m) -> SbMatrix""" - return _coin.SbMatrix_multLeft(*args) - - def multMatrixVec(*args): - """multMatrixVec(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbMatrix_multMatrixVec(*args) - - def multDirMatrix(*args): - """multDirMatrix(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbMatrix_multDirMatrix(*args) - - def multLineMatrix(*args): - """multLineMatrix(self, SbLine src, SbLine dst)""" - return _coin.SbMatrix_multLineMatrix(*args) - - def multVecMatrix(*args): - """ - multVecMatrix(self, SbVec3f src, SbVec3f dst) - multVecMatrix(self, SbVec4f src, SbVec4f dst) - """ - return _coin.SbMatrix_multVecMatrix(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbMatrix_output(*args) - - def getTransform(*args): - """ - getTransform(self, SbVec3f t, SbRotation r, SbVec3f s, SbRotation so) - getTransform(self) -> PyObject - getTransform(self, SbVec3f center) -> PyObject - """ - return _coin.SbMatrix_getTransform(*args) - - def __mul__(*args): - """ - __mul__(self, SbMatrix u) -> SbMatrix - __mul__(self, SbVec3f u) -> SbVec3f - """ - return _coin.SbMatrix___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, SbVec3f u) -> SbVec3f""" - return _coin.SbMatrix___rmul__(*args) - - def __eq__(*args): - """__eq__(self, SbMatrix u) -> int""" - return _coin.SbMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbMatrix u) -> int""" - return _coin.SbMatrix___ne__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbMatrix___getitem__(*args) - -SbMatrix_swigregister = _coin.SbMatrix_swigregister -SbMatrix_swigregister(SbMatrix) - -def SbMatrix_identity(*args): - """SbMatrix_identity() -> SbMatrix""" - return _coin.SbMatrix_identity(*args) - -class SbXfBox3f(SbBox3f): - """Proxy of C++ SbXfBox3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbXfBox3f - __init__(self, SbVec3f boxmin, SbVec3f boxmax) -> SbXfBox3f - __init__(self, SbBox3f box) -> SbXfBox3f - """ - this = _coin.new_SbXfBox3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbXfBox3f - __del__ = lambda self : None; - def setTransform(*args): - """setTransform(self, SbMatrix m)""" - return _coin.SbXfBox3f_setTransform(*args) - - def getTransform(*args): - """getTransform(self) -> SbMatrix""" - return _coin.SbXfBox3f_getTransform(*args) - - def getInverse(*args): - """getInverse(self) -> SbMatrix""" - return _coin.SbXfBox3f_getInverse(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbXfBox3f_getCenter(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3f pt) - extendBy(self, SbBox3f bb) - extendBy(self, SbXfBox3f bb) - """ - return _coin.SbXfBox3f_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f pt) -> SbBool - intersect(self, SbBox3f bb) -> SbBool - intersect(self, SbXfBox3f bb) -> SbBool - """ - return _coin.SbXfBox3f_intersect(*args) - - def getSpan(*args): - """getSpan(self, SbVec3f direction, float dMin, float dMax)""" - return _coin.SbXfBox3f_getSpan(*args) - - def project(*args): - """project(self) -> SbBox3f""" - return _coin.SbXfBox3f_project(*args) - - def transform(*args): - """transform(self, SbMatrix m)""" - return _coin.SbXfBox3f_transform(*args) - - def getVolume(*args): - """getVolume(self) -> float""" - return _coin.SbXfBox3f_getVolume(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbXfBox3f_output(*args) - - def __eq__(*args): - """__eq__(self, SbXfBox3f u) -> int""" - return _coin.SbXfBox3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbXfBox3f u) -> int""" - return _coin.SbXfBox3f___ne__(*args) - -SbXfBox3f_swigregister = _coin.SbXfBox3f_swigregister -SbXfBox3f_swigregister(SbXfBox3f) - -class SoGetBoundingBoxAction(SoAction): - """Proxy of C++ SoGetBoundingBoxAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetBoundingBoxAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetBoundingBoxAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetBoundingBoxAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetBoundingBoxAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion vp) -> SoGetBoundingBoxAction""" - this = _coin.new_SoGetBoundingBoxAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetBoundingBoxAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoGetBoundingBoxAction_initClass(*args) - - initClass = staticmethod(initClass) - TRANSFORM = _coin.SoGetBoundingBoxAction_TRANSFORM - BBOX = _coin.SoGetBoundingBoxAction_BBOX - ALL = _coin.SoGetBoundingBoxAction_ALL - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoGetBoundingBoxAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGetBoundingBoxAction_getViewportRegion(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox3f""" - return _coin.SoGetBoundingBoxAction_getBoundingBox(*args) - - def getXfBoundingBox(*args): - """getXfBoundingBox(self) -> SbXfBox3f""" - return _coin.SoGetBoundingBoxAction_getXfBoundingBox(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SoGetBoundingBoxAction_getCenter(*args) - - def setInCameraSpace(*args): - """setInCameraSpace(self, SbBool flag)""" - return _coin.SoGetBoundingBoxAction_setInCameraSpace(*args) - - def isInCameraSpace(*args): - """isInCameraSpace(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isInCameraSpace(*args) - - def setResetPath(*args): - """ - setResetPath(self, SoPath path, SbBool resetbefore=1, ResetType what=ALL) - setResetPath(self, SoPath path, SbBool resetbefore=1) - setResetPath(self, SoPath path) - """ - return _coin.SoGetBoundingBoxAction_setResetPath(*args) - - def getResetPath(*args): - """getResetPath(self) -> SoPath""" - return _coin.SoGetBoundingBoxAction_getResetPath(*args) - - def isResetPath(*args): - """isResetPath(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isResetPath(*args) - - def isResetBefore(*args): - """isResetBefore(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isResetBefore(*args) - - def getWhatReset(*args): - """getWhatReset(self) -> ResetType""" - return _coin.SoGetBoundingBoxAction_getWhatReset(*args) - - def checkResetBefore(*args): - """checkResetBefore(self)""" - return _coin.SoGetBoundingBoxAction_checkResetBefore(*args) - - def checkResetAfter(*args): - """checkResetAfter(self)""" - return _coin.SoGetBoundingBoxAction_checkResetAfter(*args) - - def extendBy(*args): - """ - extendBy(self, SbBox3f box) - extendBy(self, SbXfBox3f box) - """ - return _coin.SoGetBoundingBoxAction_extendBy(*args) - - def setCenter(*args): - """setCenter(self, SbVec3f center, SbBool transformcenter)""" - return _coin.SoGetBoundingBoxAction_setCenter(*args) - - def isCenterSet(*args): - """isCenterSet(self) -> SbBool""" - return _coin.SoGetBoundingBoxAction_isCenterSet(*args) - - def resetCenter(*args): - """resetCenter(self)""" - return _coin.SoGetBoundingBoxAction_resetCenter(*args) - -SoGetBoundingBoxAction_swigregister = _coin.SoGetBoundingBoxAction_swigregister -SoGetBoundingBoxAction_swigregister(SoGetBoundingBoxAction) - -def SoGetBoundingBoxAction_getClassTypeId(*args): - """SoGetBoundingBoxAction_getClassTypeId() -> SoType""" - return _coin.SoGetBoundingBoxAction_getClassTypeId(*args) - -def SoGetBoundingBoxAction_addMethod(*args): - """SoGetBoundingBoxAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetBoundingBoxAction_addMethod(*args) - -def SoGetBoundingBoxAction_enableElement(*args): - """SoGetBoundingBoxAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetBoundingBoxAction_enableElement(*args) - -def SoGetBoundingBoxAction_initClass(*args): - """SoGetBoundingBoxAction_initClass()""" - return _coin.SoGetBoundingBoxAction_initClass(*args) - -class SbVec4f(object): - """Proxy of C++ SbVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4f - __init__(self, float v) -> SbVec4f - __init__(self, float x, float y, float z, float w) -> SbVec4f - """ - this = _coin.new_SbVec4f(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec4f v) -> float""" - return _coin.SbVec4f_dot(*args) - - def equals(*args): - """equals(self, SbVec4f v, float tolerance) -> SbBool""" - return _coin.SbVec4f_equals(*args) - - def getReal(*args): - """getReal(self, SbVec3f v)""" - return _coin.SbVec4f_getReal(*args) - - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbVec4f_getValue(*args) - - def length(*args): - """length(self) -> float""" - return _coin.SbVec4f_length(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4f_negate(*args) - - def normalize(*args): - """normalize(self) -> float""" - return _coin.SbVec4f_normalize(*args) - - def setValue(*args): - """ - setValue(self, float v) -> SbVec4f - setValue(self, float x, float y, float z, float w) -> SbVec4f - """ - return _coin.SbVec4f_setValue(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4f""" - return _coin.SbVec4f___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec4f_output(*args) - - def __add__(*args): - """__add__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec4f u) -> SbVec4f""" - return _coin.SbVec4f___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, float d) -> SbVec4f - __mul__(self, SbMatrix m) -> SbVec4f - """ - return _coin.SbVec4f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec4f""" - return _coin.SbVec4f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec4f u) -> int""" - return _coin.SbVec4f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec4f u) -> int""" - return _coin.SbVec4f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbVec4f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SbVec4f___setitem__(*args) - - def __iter__(self): - for i in range(4): - yield self[i] - - def __len__(self): - return 4 - - __swig_destroy__ = _coin.delete_SbVec4f - __del__ = lambda self : None; -SbVec4f_swigregister = _coin.SbVec4f_swigregister -SbVec4f_swigregister(SbVec4f) - -class SbRotation(object): - """Proxy of C++ SbRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbRotation - __init__(self, SbVec3f axis, float radians) -> SbRotation - __init__(self, float q) -> SbRotation - __init__(self, float q0, float q1, float q2, float q3) -> SbRotation - __init__(self, SbMatrix m) -> SbRotation - __init__(self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation - """ - this = _coin.new_SbRotation(*args) - try: self.this.append(this) - except: self.this = this - def getValue(*args): - """getValue(self) -> float""" - return _coin.SbRotation_getValue(*args) - - def getAxisAngle(*args): - """getAxisAngle(self, SbVec3f axis, float radians)""" - return _coin.SbRotation_getAxisAngle(*args) - - def getMatrix(*args): - """getMatrix(self, SbMatrix matrix)""" - return _coin.SbRotation_getMatrix(*args) - - def invert(*args): - """invert(self) -> SbRotation""" - return _coin.SbRotation_invert(*args) - - def inverse(*args): - """inverse(self) -> SbRotation""" - return _coin.SbRotation_inverse(*args) - - def setValue(*args): - """ - setValue(self, float q0, float q1, float q2, float q3) -> SbRotation - setValue(self, float q) -> SbRotation - setValue(self, SbMatrix m) -> SbRotation - setValue(self, SbVec3f axis, float radians) -> SbRotation - setValue(self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation - """ - return _coin.SbRotation_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, SbRotation q) -> SbRotation - __imul__(self, float s) -> SbRotation - """ - return _coin.SbRotation___imul__(*args) - - def equals(*args): - """equals(self, SbRotation r, float tolerance) -> SbBool""" - return _coin.SbRotation_equals(*args) - - def multVec(*args): - """multVec(self, SbVec3f src, SbVec3f dst)""" - return _coin.SbRotation_multVec(*args) - - def scaleAngle(*args): - """scaleAngle(self, float scaleFactor)""" - return _coin.SbRotation_scaleAngle(*args) - - def slerp(*args): - """slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation""" - return _coin.SbRotation_slerp(*args) - - slerp = staticmethod(slerp) - def identity(*args): - """identity() -> SbRotation""" - return _coin.SbRotation_identity(*args) - - identity = staticmethod(identity) - def output(*args): - """output(self, FILE fp)""" - return _coin.SbRotation_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbRotation u) -> SbRotation - __mul__(self, double d) -> SbRotation - __mul__(self, SbVec3f v) -> SbVec3f - """ - return _coin.SbRotation___mul__(*args) - - def __eq__(*args): - """__eq__(self, SbRotation u) -> int""" - return _coin.SbRotation___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbRotation u) -> int""" - return _coin.SbRotation___nq__(*args) - - __swig_destroy__ = _coin.delete_SbRotation - __del__ = lambda self : None; -SbRotation_swigregister = _coin.SbRotation_swigregister -SbRotation_swigregister(SbRotation) - -def SbRotation_slerp(*args): - """SbRotation_slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation""" - return _coin.SbRotation_slerp(*args) - -def SbRotation_identity(*args): - """SbRotation_identity() -> SbRotation""" - return _coin.SbRotation_identity(*args) - -class SoGetMatrixAction(SoAction): - """Proxy of C++ SoGetMatrixAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetMatrixAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetMatrixAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetMatrixAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetMatrixAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion region) -> SoGetMatrixAction""" - this = _coin.new_SoGetMatrixAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetMatrixAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoGetMatrixAction_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion region)""" - return _coin.SoGetMatrixAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoGetMatrixAction_getViewportRegion(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getMatrix(*args) - - def getInverse(*args): - """getInverse(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getInverse(*args) - - def getTextureMatrix(*args): - """getTextureMatrix(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getTextureMatrix(*args) - - def getTextureInverse(*args): - """getTextureInverse(self) -> SbMatrix""" - return _coin.SoGetMatrixAction_getTextureInverse(*args) - -SoGetMatrixAction_swigregister = _coin.SoGetMatrixAction_swigregister -SoGetMatrixAction_swigregister(SoGetMatrixAction) - -def SoGetMatrixAction_getClassTypeId(*args): - """SoGetMatrixAction_getClassTypeId() -> SoType""" - return _coin.SoGetMatrixAction_getClassTypeId(*args) - -def SoGetMatrixAction_addMethod(*args): - """SoGetMatrixAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetMatrixAction_addMethod(*args) - -def SoGetMatrixAction_enableElement(*args): - """SoGetMatrixAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetMatrixAction_enableElement(*args) - -def SoGetMatrixAction_initClass(*args): - """SoGetMatrixAction_initClass()""" - return _coin.SoGetMatrixAction_initClass(*args) - -class SoGetPrimitiveCountAction(SoAction): - """Proxy of C++ SoGetPrimitiveCountAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGetPrimitiveCountAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGetPrimitiveCountAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetPrimitiveCountAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoGetPrimitiveCountAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoGetPrimitiveCountAction""" - this = _coin.new_SoGetPrimitiveCountAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGetPrimitiveCountAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoGetPrimitiveCountAction_initClass(*args) - - initClass = staticmethod(initClass) - def getTriangleCount(*args): - """getTriangleCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getTriangleCount(*args) - - def getLineCount(*args): - """getLineCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getLineCount(*args) - - def getPointCount(*args): - """getPointCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getPointCount(*args) - - def getTextCount(*args): - """getTextCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getTextCount(*args) - - def getImageCount(*args): - """getImageCount(self) -> int""" - return _coin.SoGetPrimitiveCountAction_getImageCount(*args) - - def containsNoPrimitives(*args): - """containsNoPrimitives(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_containsNoPrimitives(*args) - - def containsNonTriangleShapes(*args): - """containsNonTriangleShapes(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_containsNonTriangleShapes(*args) - - def is3DTextCountedAsTriangles(*args): - """is3DTextCountedAsTriangles(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(*args) - - def setCount3DTextAsTriangles(*args): - """setCount3DTextAsTriangles(self, SbBool flag)""" - return _coin.SoGetPrimitiveCountAction_setCount3DTextAsTriangles(*args) - - def canApproximateCount(*args): - """canApproximateCount(self) -> SbBool""" - return _coin.SoGetPrimitiveCountAction_canApproximateCount(*args) - - def setCanApproximate(*args): - """setCanApproximate(self, SbBool flag)""" - return _coin.SoGetPrimitiveCountAction_setCanApproximate(*args) - - def setDecimationValue(*args): - """ - setDecimationValue(self, Type type, float percentage=1.0) - setDecimationValue(self, Type type) - """ - return _coin.SoGetPrimitiveCountAction_setDecimationValue(*args) - - def getDecimationType(*args): - """getDecimationType(self) -> Type""" - return _coin.SoGetPrimitiveCountAction_getDecimationType(*args) - - def getDecimationPercentage(*args): - """getDecimationPercentage(self) -> float""" - return _coin.SoGetPrimitiveCountAction_getDecimationPercentage(*args) - - def addNumTriangles(*args): - """addNumTriangles(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumTriangles(*args) - - def addNumLines(*args): - """addNumLines(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumLines(*args) - - def addNumPoints(*args): - """addNumPoints(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumPoints(*args) - - def addNumText(*args): - """addNumText(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumText(*args) - - def addNumImage(*args): - """addNumImage(self, int num)""" - return _coin.SoGetPrimitiveCountAction_addNumImage(*args) - - def incNumTriangles(*args): - """incNumTriangles(self)""" - return _coin.SoGetPrimitiveCountAction_incNumTriangles(*args) - - def incNumLines(*args): - """incNumLines(self)""" - return _coin.SoGetPrimitiveCountAction_incNumLines(*args) - - def incNumPoints(*args): - """incNumPoints(self)""" - return _coin.SoGetPrimitiveCountAction_incNumPoints(*args) - - def incNumText(*args): - """incNumText(self)""" - return _coin.SoGetPrimitiveCountAction_incNumText(*args) - - def incNumImage(*args): - """incNumImage(self)""" - return _coin.SoGetPrimitiveCountAction_incNumImage(*args) - -SoGetPrimitiveCountAction_swigregister = _coin.SoGetPrimitiveCountAction_swigregister -SoGetPrimitiveCountAction_swigregister(SoGetPrimitiveCountAction) - -def SoGetPrimitiveCountAction_getClassTypeId(*args): - """SoGetPrimitiveCountAction_getClassTypeId() -> SoType""" - return _coin.SoGetPrimitiveCountAction_getClassTypeId(*args) - -def SoGetPrimitiveCountAction_addMethod(*args): - """SoGetPrimitiveCountAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoGetPrimitiveCountAction_addMethod(*args) - -def SoGetPrimitiveCountAction_enableElement(*args): - """SoGetPrimitiveCountAction_enableElement(SoType type, int stackindex)""" - return _coin.SoGetPrimitiveCountAction_enableElement(*args) - -def SoGetPrimitiveCountAction_initClass(*args): - """SoGetPrimitiveCountAction_initClass()""" - return _coin.SoGetPrimitiveCountAction_initClass(*args) - -class SoHandleEventAction(SoAction): - """Proxy of C++ SoHandleEventAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleEventAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleEventAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoHandleEventAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoHandleEventAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoHandleEventAction""" - this = _coin.new_SoHandleEventAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoHandleEventAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoHandleEventAction_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoHandleEventAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoHandleEventAction_getViewportRegion(*args) - - def setEvent(*args): - """setEvent(self, SoEvent ev)""" - return _coin.SoHandleEventAction_setEvent(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoHandleEventAction_getEvent(*args) - - def setHandled(*args): - """setHandled(self)""" - return _coin.SoHandleEventAction_setHandled(*args) - - def isHandled(*args): - """isHandled(self) -> SbBool""" - return _coin.SoHandleEventAction_isHandled(*args) - - def setGrabber(*args): - """setGrabber(self, SoNode node)""" - return _coin.SoHandleEventAction_setGrabber(*args) - - def releaseGrabber(*args): - """releaseGrabber(self)""" - return _coin.SoHandleEventAction_releaseGrabber(*args) - - def getGrabber(*args): - """getGrabber(self) -> SoNode""" - return _coin.SoHandleEventAction_getGrabber(*args) - - def setPickRoot(*args): - """setPickRoot(self, SoNode node)""" - return _coin.SoHandleEventAction_setPickRoot(*args) - - def getPickRoot(*args): - """getPickRoot(self) -> SoNode""" - return _coin.SoHandleEventAction_getPickRoot(*args) - - def setPickRadius(*args): - """setPickRadius(self, float radiusinpixels)""" - return _coin.SoHandleEventAction_setPickRadius(*args) - - def getPickedPoint(*args): - """getPickedPoint(self) -> SoPickedPoint""" - return _coin.SoHandleEventAction_getPickedPoint(*args) - - def getPickedPointList(*args): - """getPickedPointList(self) -> SoPickedPointList""" - return _coin.SoHandleEventAction_getPickedPointList(*args) - -SoHandleEventAction_swigregister = _coin.SoHandleEventAction_swigregister -SoHandleEventAction_swigregister(SoHandleEventAction) - -def SoHandleEventAction_getClassTypeId(*args): - """SoHandleEventAction_getClassTypeId() -> SoType""" - return _coin.SoHandleEventAction_getClassTypeId(*args) - -def SoHandleEventAction_addMethod(*args): - """SoHandleEventAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoHandleEventAction_addMethod(*args) - -def SoHandleEventAction_enableElement(*args): - """SoHandleEventAction_enableElement(SoType type, int stackindex)""" - return _coin.SoHandleEventAction_enableElement(*args) - -def SoHandleEventAction_initClass(*args): - """SoHandleEventAction_initClass()""" - return _coin.SoHandleEventAction_initClass(*args) - -class SoPickAction(SoAction): - """Proxy of C++ SoPickAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPickAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoPickAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoPickAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoPickAction_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newregion)""" - return _coin.SoPickAction_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoPickAction_getViewportRegion(*args) - - def enableCulling(*args): - """enableCulling(self, SbBool flag)""" - return _coin.SoPickAction_enableCulling(*args) - - def isCullingEnabled(*args): - """isCullingEnabled(self) -> SbBool""" - return _coin.SoPickAction_isCullingEnabled(*args) - -SoPickAction_swigregister = _coin.SoPickAction_swigregister -SoPickAction_swigregister(SoPickAction) - -def SoPickAction_getClassTypeId(*args): - """SoPickAction_getClassTypeId() -> SoType""" - return _coin.SoPickAction_getClassTypeId(*args) - -def SoPickAction_addMethod(*args): - """SoPickAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoPickAction_addMethod(*args) - -def SoPickAction_enableElement(*args): - """SoPickAction_enableElement(SoType type, int stackindex)""" - return _coin.SoPickAction_enableElement(*args) - -def SoPickAction_initClass(*args): - """SoPickAction_initClass()""" - return _coin.SoPickAction_initClass(*args) - -class SoRayPickAction(SoPickAction): - """Proxy of C++ SoRayPickAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRayPickAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRayPickAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoRayPickAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoRayPickAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self, SbViewportRegion viewportregion) -> SoRayPickAction""" - this = _coin.new_SoRayPickAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoRayPickAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoRayPickAction_initClass(*args) - - initClass = staticmethod(initClass) - def setPoint(*args): - """setPoint(self, SbVec2s viewportPoint)""" - return _coin.SoRayPickAction_setPoint(*args) - - def setNormalizedPoint(*args): - """setNormalizedPoint(self, SbVec2f normpoint)""" - return _coin.SoRayPickAction_setNormalizedPoint(*args) - - def setRadius(*args): - """setRadius(self, float radiusinpixels)""" - return _coin.SoRayPickAction_setRadius(*args) - - def setRay(*args): - """ - setRay(self, SbVec3f start, SbVec3f direction, float neardistance=-1.0, - float fardistance=-1.0) - setRay(self, SbVec3f start, SbVec3f direction, float neardistance=-1.0) - setRay(self, SbVec3f start, SbVec3f direction) - """ - return _coin.SoRayPickAction_setRay(*args) - - def setPickAll(*args): - """setPickAll(self, SbBool flag)""" - return _coin.SoRayPickAction_setPickAll(*args) - - def isPickAll(*args): - """isPickAll(self) -> SbBool""" - return _coin.SoRayPickAction_isPickAll(*args) - - def getPickedPointList(*args): - """getPickedPointList(self) -> SoPickedPointList""" - return _coin.SoRayPickAction_getPickedPointList(*args) - - def getPickedPoint(*args): - """ - getPickedPoint(self, int index=0) -> SoPickedPoint - getPickedPoint(self) -> SoPickedPoint - """ - return _coin.SoRayPickAction_getPickedPoint(*args) - - def computeWorldSpaceRay(*args): - """computeWorldSpaceRay(self)""" - return _coin.SoRayPickAction_computeWorldSpaceRay(*args) - - def hasWorldSpaceRay(*args): - """hasWorldSpaceRay(self) -> SbBool""" - return _coin.SoRayPickAction_hasWorldSpaceRay(*args) - - def setObjectSpace(*args): - """ - setObjectSpace(self) - setObjectSpace(self, SbMatrix matrix) - """ - return _coin.SoRayPickAction_setObjectSpace(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f intersection, - SbVec3f barycentric, SbBool front) -> SbBool - intersect(self, SbVec3f v0, SbVec3f v1, SbVec3f intersection) -> SbBool - intersect(self, SbVec3f point) -> SbBool - intersect(self, SbBox3f box, SbBool usefullviewvolume=1) -> SbBool - intersect(self, SbBox3f box) -> SbBool - intersect(self, SbBox3f box, SbVec3f intersection, SbBool usefullviewvolume=1) -> SbBool - intersect(self, SbBox3f box, SbVec3f intersection) -> SbBool - """ - return _coin.SoRayPickAction_intersect(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoRayPickAction_getViewVolume(*args) - - def getLine(*args): - """getLine(self) -> SbLine""" - return _coin.SoRayPickAction_getLine(*args) - - def isBetweenPlanes(*args): - """isBetweenPlanes(self, SbVec3f intersection) -> SbBool""" - return _coin.SoRayPickAction_isBetweenPlanes(*args) - - def addIntersection(*args): - """addIntersection(self, SbVec3f objectspacepoint) -> SoPickedPoint""" - return _coin.SoRayPickAction_addIntersection(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoRayPickAction_reset(*args) - -SoRayPickAction_swigregister = _coin.SoRayPickAction_swigregister -SoRayPickAction_swigregister(SoRayPickAction) - -def SoRayPickAction_getClassTypeId(*args): - """SoRayPickAction_getClassTypeId() -> SoType""" - return _coin.SoRayPickAction_getClassTypeId(*args) - -def SoRayPickAction_addMethod(*args): - """SoRayPickAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoRayPickAction_addMethod(*args) - -def SoRayPickAction_enableElement(*args): - """SoRayPickAction_enableElement(SoType type, int stackindex)""" - return _coin.SoRayPickAction_enableElement(*args) - -def SoRayPickAction_initClass(*args): - """SoRayPickAction_initClass()""" - return _coin.SoRayPickAction_initClass(*args) - -class SoSearchAction(SoAction): - """Proxy of C++ SoSearchAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSearchAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSearchAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSearchAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoSearchAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoSearchAction""" - this = _coin.new_SoSearchAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSearchAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoSearchAction_initClass(*args) - - initClass = staticmethod(initClass) - NODE = _coin.SoSearchAction_NODE - TYPE = _coin.SoSearchAction_TYPE - NAME = _coin.SoSearchAction_NAME - FIRST = _coin.SoSearchAction_FIRST - LAST = _coin.SoSearchAction_LAST - ALL = _coin.SoSearchAction_ALL - def setNode(*args): - """setNode(self, SoNode node)""" - return _coin.SoSearchAction_setNode(*args) - - def getNode(*args): - """getNode(self) -> SoNode""" - return _coin.SoSearchAction_getNode(*args) - - def setType(*args): - """ - setType(self, SoType type, SbBool chkderived=1) - setType(self, SoType type) - """ - return _coin.SoSearchAction_setType(*args) - - def getType(*args): - """getType(self, SbBool chkderived) -> SoType""" - return _coin.SoSearchAction_getType(*args) - - def setName(*args): - """setName(self, SbName name)""" - return _coin.SoSearchAction_setName(*args) - - def getName(*args): - """getName(self) -> SbName""" - return _coin.SoSearchAction_getName(*args) - - def setFind(*args): - """setFind(self, int what)""" - return _coin.SoSearchAction_setFind(*args) - - def getFind(*args): - """getFind(self) -> int""" - return _coin.SoSearchAction_getFind(*args) - - def setInterest(*args): - """setInterest(self, Interest interest)""" - return _coin.SoSearchAction_setInterest(*args) - - def getInterest(*args): - """getInterest(self) -> Interest""" - return _coin.SoSearchAction_getInterest(*args) - - def setSearchingAll(*args): - """setSearchingAll(self, SbBool searchall)""" - return _coin.SoSearchAction_setSearchingAll(*args) - - def isSearchingAll(*args): - """isSearchingAll(self) -> SbBool""" - return _coin.SoSearchAction_isSearchingAll(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoSearchAction_getPath(*args) - - def getPaths(*args): - """getPaths(self) -> SoPathList""" - return _coin.SoSearchAction_getPaths(*args) - - def reset(*args): - """reset(self)""" - return _coin.SoSearchAction_reset(*args) - - def setFound(*args): - """setFound(self)""" - return _coin.SoSearchAction_setFound(*args) - - def isFound(*args): - """isFound(self) -> SbBool""" - return _coin.SoSearchAction_isFound(*args) - - def addPath(*args): - """addPath(self, SoPath path)""" - return _coin.SoSearchAction_addPath(*args) - - duringSearchAll = _swig_property(_coin.SoSearchAction_duringSearchAll_get, _coin.SoSearchAction_duringSearchAll_set) -SoSearchAction_swigregister = _coin.SoSearchAction_swigregister -SoSearchAction_swigregister(SoSearchAction) - -def SoSearchAction_getClassTypeId(*args): - """SoSearchAction_getClassTypeId() -> SoType""" - return _coin.SoSearchAction_getClassTypeId(*args) - -def SoSearchAction_addMethod(*args): - """SoSearchAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoSearchAction_addMethod(*args) - -def SoSearchAction_enableElement(*args): - """SoSearchAction_enableElement(SoType type, int stackindex)""" - return _coin.SoSearchAction_enableElement(*args) - -def SoSearchAction_initClass(*args): - """SoSearchAction_initClass()""" - return _coin.SoSearchAction_initClass(*args) -cvar = _coin.cvar - -class SoWriteAction(SoAction): - """Proxy of C++ SoWriteAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWriteAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWriteAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoWriteAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoWriteAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """ - __init__(self) -> SoWriteAction - __init__(self, SoOutput out) -> SoWriteAction - """ - this = _coin.new_SoWriteAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoWriteAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoWriteAction_initClass(*args) - - initClass = staticmethod(initClass) - def getOutput(*args): - """getOutput(self) -> SoOutput""" - return _coin.SoWriteAction_getOutput(*args) - - def continueToApply(*args): - """ - continueToApply(self, SoNode node) - continueToApply(self, SoPath path) - """ - return _coin.SoWriteAction_continueToApply(*args) - -SoWriteAction_swigregister = _coin.SoWriteAction_swigregister -SoWriteAction_swigregister(SoWriteAction) - -def SoWriteAction_getClassTypeId(*args): - """SoWriteAction_getClassTypeId() -> SoType""" - return _coin.SoWriteAction_getClassTypeId(*args) - -def SoWriteAction_addMethod(*args): - """SoWriteAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoWriteAction_addMethod(*args) - -def SoWriteAction_enableElement(*args): - """SoWriteAction_enableElement(SoType type, int stackindex)""" - return _coin.SoWriteAction_enableElement(*args) - -def SoWriteAction_initClass(*args): - """SoWriteAction_initClass()""" - return _coin.SoWriteAction_initClass(*args) - -class SoAudioRenderAction(SoAction): - """Proxy of C++ SoAudioRenderAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAudioRenderAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAudioRenderAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoAudioRenderAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoAudioRenderAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoAudioRenderAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAudioRenderAction""" - this = _coin.new_SoAudioRenderAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoAudioRenderAction - __del__ = lambda self : None; - def callDoAction(*args): - """callDoAction(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callDoAction(*args) - - callDoAction = staticmethod(callDoAction) - def callAudioRender(*args): - """callAudioRender(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callAudioRender(*args) - - callAudioRender = staticmethod(callAudioRender) -SoAudioRenderAction_swigregister = _coin.SoAudioRenderAction_swigregister -SoAudioRenderAction_swigregister(SoAudioRenderAction) - -def SoAudioRenderAction_getClassTypeId(*args): - """SoAudioRenderAction_getClassTypeId() -> SoType""" - return _coin.SoAudioRenderAction_getClassTypeId(*args) - -def SoAudioRenderAction_addMethod(*args): - """SoAudioRenderAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoAudioRenderAction_addMethod(*args) - -def SoAudioRenderAction_enableElement(*args): - """SoAudioRenderAction_enableElement(SoType type, int stackindex)""" - return _coin.SoAudioRenderAction_enableElement(*args) - -def SoAudioRenderAction_initClass(*args): - """SoAudioRenderAction_initClass()""" - return _coin.SoAudioRenderAction_initClass(*args) - -def SoAudioRenderAction_callDoAction(*args): - """SoAudioRenderAction_callDoAction(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callDoAction(*args) - -def SoAudioRenderAction_callAudioRender(*args): - """SoAudioRenderAction_callAudioRender(SoAction action, SoNode node)""" - return _coin.SoAudioRenderAction_callAudioRender(*args) - -class SoIntersectingPrimitive(object): - """Proxy of C++ SoIntersectingPrimitive class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - path = _swig_property(_coin.SoIntersectingPrimitive_path_get, _coin.SoIntersectingPrimitive_path_set) - SEGMENT = _coin.SoIntersectingPrimitive_SEGMENT - LINE_SEGMENT = _coin.SoIntersectingPrimitive_LINE_SEGMENT - TRIANGLE = _coin.SoIntersectingPrimitive_TRIANGLE - type = _swig_property(_coin.SoIntersectingPrimitive_type_get, _coin.SoIntersectingPrimitive_type_set) - vertex = _swig_property(_coin.SoIntersectingPrimitive_vertex_get, _coin.SoIntersectingPrimitive_vertex_set) - xf_vertex = _swig_property(_coin.SoIntersectingPrimitive_xf_vertex_get, _coin.SoIntersectingPrimitive_xf_vertex_set) - def __init__(self, *args): - """__init__(self) -> SoIntersectingPrimitive""" - this = _coin.new_SoIntersectingPrimitive(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoIntersectingPrimitive - __del__ = lambda self : None; -SoIntersectingPrimitive_swigregister = _coin.SoIntersectingPrimitive_swigregister -SoIntersectingPrimitive_swigregister(SoIntersectingPrimitive) - -class SoIntersectionDetectionAction(SoAction): - """Proxy of C++ SoIntersectionDetectionAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIntersectionDetectionAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIntersectionDetectionAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoIntersectionDetectionAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoIntersectionDetectionAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def initClass(*args): - """initClass()""" - return _coin.SoIntersectionDetectionAction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIntersectionDetectionAction""" - this = _coin.new_SoIntersectionDetectionAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoIntersectionDetectionAction - __del__ = lambda self : None; - NEXT_PRIMITIVE = _coin.SoIntersectionDetectionAction_NEXT_PRIMITIVE - NEXT_SHAPE = _coin.SoIntersectionDetectionAction_NEXT_SHAPE - ABORT = _coin.SoIntersectionDetectionAction_ABORT - def setIntersectionDetectionEpsilon(*args): - """setIntersectionDetectionEpsilon(self, float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(*args) - - def getIntersectionDetectionEpsilon(*args): - """getIntersectionDetectionEpsilon(self) -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(*args) - - def setIntersectionEpsilon(*args): - """setIntersectionEpsilon(float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionEpsilon(*args) - - setIntersectionEpsilon = staticmethod(setIntersectionEpsilon) - def getIntersectionEpsilon(*args): - """getIntersectionEpsilon() -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionEpsilon(*args) - - getIntersectionEpsilon = staticmethod(getIntersectionEpsilon) - def setTypeEnabled(*args): - """setTypeEnabled(self, SoType type, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setTypeEnabled(*args) - - def isTypeEnabled(*args): - """ - isTypeEnabled(self, SoType type, SbBool checkgroups=0) -> SbBool - isTypeEnabled(self, SoType type) -> SbBool - """ - return _coin.SoIntersectionDetectionAction_isTypeEnabled(*args) - - def setManipsEnabled(*args): - """setManipsEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setManipsEnabled(*args) - - def isManipsEnabled(*args): - """isManipsEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isManipsEnabled(*args) - - def setDraggersEnabled(*args): - """setDraggersEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setDraggersEnabled(*args) - - def isDraggersEnabled(*args): - """isDraggersEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isDraggersEnabled(*args) - - def setShapeInternalsEnabled(*args): - """setShapeInternalsEnabled(self, SbBool enable)""" - return _coin.SoIntersectionDetectionAction_setShapeInternalsEnabled(*args) - - def isShapeInternalsEnabled(*args): - """isShapeInternalsEnabled(self) -> SbBool""" - return _coin.SoIntersectionDetectionAction_isShapeInternalsEnabled(*args) - - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList paths, SbBool obeysRules=0) - apply(self, SoPathList paths) - """ - return _coin.SoIntersectionDetectionAction_apply(*args) - - def addVisitationCallback(*args): - """ - addVisitationCallback(self, SoType type, SoIntersectionVisitationCB cb, void closure) - addVisitationCallback(self, SoType type, PyObject pyfunc, PyObject closure) - """ - return _coin.SoIntersectionDetectionAction_addVisitationCallback(*args) - - def removeVisitationCallback(*args): - """ - removeVisitationCallback(self, SoType type, SoIntersectionVisitationCB cb, void closure) - removeVisitationCallback(self, SoType type, PyObject pyfunc, PyObject closure) - """ - return _coin.SoIntersectionDetectionAction_removeVisitationCallback(*args) - - def setFilterCallback(*args): - """ - setFilterCallback(self, SoIntersectionFilterCB cb, void closure=None) - setFilterCallback(self, SoIntersectionFilterCB cb) - setFilterCallback(self, PyObject pyfunc, PyObject closure=None) - setFilterCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_setFilterCallback(*args) - - def addIntersectionCallback(*args): - """ - addIntersectionCallback(self, SoIntersectionCB cb, void closure=None) - addIntersectionCallback(self, SoIntersectionCB cb) - addIntersectionCallback(self, PyObject pyfunc, PyObject closure=None) - addIntersectionCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_addIntersectionCallback(*args) - - def removeIntersectionCallback(*args): - """ - removeIntersectionCallback(self, SoIntersectionCB cb, void closure=None) - removeIntersectionCallback(self, SoIntersectionCB cb) - removeIntersectionCallback(self, PyObject pyfunc, PyObject closure=None) - removeIntersectionCallback(self, PyObject pyfunc) - """ - return _coin.SoIntersectionDetectionAction_removeIntersectionCallback(*args) - -SoIntersectionDetectionAction_swigregister = _coin.SoIntersectionDetectionAction_swigregister -SoIntersectionDetectionAction_swigregister(SoIntersectionDetectionAction) - -def SoIntersectionDetectionAction_getClassTypeId(*args): - """SoIntersectionDetectionAction_getClassTypeId() -> SoType""" - return _coin.SoIntersectionDetectionAction_getClassTypeId(*args) - -def SoIntersectionDetectionAction_addMethod(*args): - """SoIntersectionDetectionAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoIntersectionDetectionAction_addMethod(*args) - -def SoIntersectionDetectionAction_enableElement(*args): - """SoIntersectionDetectionAction_enableElement(SoType type, int stackindex)""" - return _coin.SoIntersectionDetectionAction_enableElement(*args) - -def SoIntersectionDetectionAction_initClass(*args): - """SoIntersectionDetectionAction_initClass()""" - return _coin.SoIntersectionDetectionAction_initClass(*args) - -def SoIntersectionDetectionAction_setIntersectionEpsilon(*args): - """SoIntersectionDetectionAction_setIntersectionEpsilon(float epsilon)""" - return _coin.SoIntersectionDetectionAction_setIntersectionEpsilon(*args) - -def SoIntersectionDetectionAction_getIntersectionEpsilon(*args): - """SoIntersectionDetectionAction_getIntersectionEpsilon() -> float""" - return _coin.SoIntersectionDetectionAction_getIntersectionEpsilon(*args) - -class SoToVRMLAction(SoAction): - """Proxy of C++ SoToVRMLAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoToVRMLAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoToVRMLAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRMLAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoToVRMLAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoToVRMLAction""" - this = _coin.new_SoToVRMLAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoToVRMLAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoToVRMLAction_initClass(*args) - - initClass = staticmethod(initClass) - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoToVRMLAction_apply(*args) - - def getVRMLSceneGraph(*args): - """getVRMLSceneGraph(self) -> SoNode""" - return _coin.SoToVRMLAction_getVRMLSceneGraph(*args) - - def expandSoFile(*args): - """expandSoFile(self, SbBool flag)""" - return _coin.SoToVRMLAction_expandSoFile(*args) - - def areSoFileExpanded(*args): - """areSoFileExpanded(self) -> SbBool""" - return _coin.SoToVRMLAction_areSoFileExpanded(*args) - - def setUrlName(*args): - """setUrlName(self, SbString name)""" - return _coin.SoToVRMLAction_setUrlName(*args) - - def getUrlName(*args): - """getUrlName(self) -> SbString""" - return _coin.SoToVRMLAction_getUrlName(*args) - - def writeTexCoords(*args): - """writeTexCoords(self, SbBool flag)""" - return _coin.SoToVRMLAction_writeTexCoords(*args) - - def areTexCoordWritten(*args): - """areTexCoordWritten(self) -> SbBool""" - return _coin.SoToVRMLAction_areTexCoordWritten(*args) - - def expandTexture2Node(*args): - """expandTexture2Node(self, SbBool flag)""" - return _coin.SoToVRMLAction_expandTexture2Node(*args) - - def areTexture2NodeExpanded(*args): - """areTexture2NodeExpanded(self) -> SbBool""" - return _coin.SoToVRMLAction_areTexture2NodeExpanded(*args) - - def keepUnknownNodes(*args): - """keepUnknownNodes(self, SbBool flag)""" - return _coin.SoToVRMLAction_keepUnknownNodes(*args) - - def areUnknownNodeKept(*args): - """areUnknownNodeKept(self) -> SbBool""" - return _coin.SoToVRMLAction_areUnknownNodeKept(*args) - - def convertInlineNodes(*args): - """convertInlineNodes(self, SbBool flag)""" - return _coin.SoToVRMLAction_convertInlineNodes(*args) - - def doConvertInlineNodes(*args): - """doConvertInlineNodes(self) -> SbBool""" - return _coin.SoToVRMLAction_doConvertInlineNodes(*args) - - def conditionalConversion(*args): - """conditionalConversion(self, SbBool flag)""" - return _coin.SoToVRMLAction_conditionalConversion(*args) - - def doConditionalConversion(*args): - """doConditionalConversion(self) -> SbBool""" - return _coin.SoToVRMLAction_doConditionalConversion(*args) - - def setVerbosity(*args): - """setVerbosity(self, SbBool flag)""" - return _coin.SoToVRMLAction_setVerbosity(*args) - - def isVerbose(*args): - """isVerbose(self) -> SbBool""" - return _coin.SoToVRMLAction_isVerbose(*args) - -SoToVRMLAction_swigregister = _coin.SoToVRMLAction_swigregister -SoToVRMLAction_swigregister(SoToVRMLAction) - -def SoToVRMLAction_getClassTypeId(*args): - """SoToVRMLAction_getClassTypeId() -> SoType""" - return _coin.SoToVRMLAction_getClassTypeId(*args) - -def SoToVRMLAction_addMethod(*args): - """SoToVRMLAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRMLAction_addMethod(*args) - -def SoToVRMLAction_enableElement(*args): - """SoToVRMLAction_enableElement(SoType type, int stackindex)""" - return _coin.SoToVRMLAction_enableElement(*args) - -def SoToVRMLAction_initClass(*args): - """SoToVRMLAction_initClass()""" - return _coin.SoToVRMLAction_initClass(*args) - -class SoToVRML2Action(SoToVRMLAction): - """Proxy of C++ SoToVRML2Action class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoToVRML2Action_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoToVRML2Action_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRML2Action_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoToVRML2Action_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoToVRML2Action""" - this = _coin.new_SoToVRML2Action(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoToVRML2Action - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoToVRML2Action_initClass(*args) - - initClass = staticmethod(initClass) - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoToVRML2Action_apply(*args) - - def getVRML2SceneGraph(*args): - """getVRML2SceneGraph(self) -> SoVRMLGroup""" - return _coin.SoToVRML2Action_getVRML2SceneGraph(*args) - - def reuseAppearanceNodes(*args): - """reuseAppearanceNodes(self, SbBool appearance)""" - return _coin.SoToVRML2Action_reuseAppearanceNodes(*args) - - def doReuseAppearanceNodes(*args): - """doReuseAppearanceNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReuseAppearanceNodes(*args) - - def reusePropertyNodes(*args): - """reusePropertyNodes(self, SbBool property)""" - return _coin.SoToVRML2Action_reusePropertyNodes(*args) - - def doReusePropertyNodes(*args): - """doReusePropertyNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReusePropertyNodes(*args) - - def reuseGeometryNodes(*args): - """reuseGeometryNodes(self, SbBool geometry)""" - return _coin.SoToVRML2Action_reuseGeometryNodes(*args) - - def doReuseGeometryNodes(*args): - """doReuseGeometryNodes(self) -> SbBool""" - return _coin.SoToVRML2Action_doReuseGeometryNodes(*args) - -SoToVRML2Action_swigregister = _coin.SoToVRML2Action_swigregister -SoToVRML2Action_swigregister(SoToVRML2Action) - -def SoToVRML2Action_getClassTypeId(*args): - """SoToVRML2Action_getClassTypeId() -> SoType""" - return _coin.SoToVRML2Action_getClassTypeId(*args) - -def SoToVRML2Action_addMethod(*args): - """SoToVRML2Action_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoToVRML2Action_addMethod(*args) - -def SoToVRML2Action_enableElement(*args): - """SoToVRML2Action_enableElement(SoType type, int stackindex)""" - return _coin.SoToVRML2Action_enableElement(*args) - -def SoToVRML2Action_initClass(*args): - """SoToVRML2Action_initClass()""" - return _coin.SoToVRML2Action_initClass(*args) - -class SoHardCopy(object): - """Proxy of C++ SoHardCopy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoHardCopy_init(*args) - - init = staticmethod(init) - def getProductName(*args): - """getProductName() -> char""" - return _coin.SoHardCopy_getProductName(*args) - - getProductName = staticmethod(getProductName) - def getVersion(*args): - """getVersion() -> char""" - return _coin.SoHardCopy_getVersion(*args) - - getVersion = staticmethod(getVersion) - def __init__(self, *args): - """__init__(self) -> SoHardCopy""" - this = _coin.new_SoHardCopy(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoHardCopy - __del__ = lambda self : None; -SoHardCopy_swigregister = _coin.SoHardCopy_swigregister -SoHardCopy_swigregister(SoHardCopy) - -def SoHardCopy_init(*args): - """SoHardCopy_init()""" - return _coin.SoHardCopy_init(*args) - -def SoHardCopy_getProductName(*args): - """SoHardCopy_getProductName() -> char""" - return _coin.SoHardCopy_getProductName(*args) - -def SoHardCopy_getVersion(*args): - """SoHardCopy_getVersion() -> char""" - return _coin.SoHardCopy_getVersion(*args) - -class SoVectorOutput(object): - """Proxy of C++ SoVectorOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoVectorOutput""" - this = _coin.new_SoVectorOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoVectorOutput - __del__ = lambda self : None; - def openFile(*args): - """openFile(self, char filename) -> SbBool""" - return _coin.SoVectorOutput_openFile(*args) - - def closeFile(*args): - """closeFile(self)""" - return _coin.SoVectorOutput_closeFile(*args) - - def getFilePointer(*args): - """getFilePointer(self) -> FILE""" - return _coin.SoVectorOutput_getFilePointer(*args) - -SoVectorOutput_swigregister = _coin.SoVectorOutput_swigregister -SoVectorOutput_swigregister(SoVectorOutput) - -class SoPSVectorOutput(SoVectorOutput): - """Proxy of C++ SoPSVectorOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoPSVectorOutput""" - this = _coin.new_SoPSVectorOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPSVectorOutput - __del__ = lambda self : None; - def setColored(*args): - """ - setColored(self, SbBool flag=1) - setColored(self) - """ - return _coin.SoPSVectorOutput_setColored(*args) - - def getColored(*args): - """getColored(self) -> SbBool""" - return _coin.SoPSVectorOutput_getColored(*args) - -SoPSVectorOutput_swigregister = _coin.SoPSVectorOutput_swigregister -SoPSVectorOutput_swigregister(SoPSVectorOutput) - -class SoVectorizeAction(SoCallbackAction): - """Proxy of C++ SoVectorizeAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVectorizeAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVectorizeAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizeAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizeAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - __swig_destroy__ = _coin.delete_SoVectorizeAction - __del__ = lambda self : None; - def getOutput(*args): - """getOutput(self) -> SoVectorOutput""" - return _coin.SoVectorizeAction_getOutput(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVectorizeAction_initClass(*args) - - initClass = staticmethod(initClass) - INCH = _coin.SoVectorizeAction_INCH - MM = _coin.SoVectorizeAction_MM - METER = _coin.SoVectorizeAction_METER - PORTRAIT = _coin.SoVectorizeAction_PORTRAIT - LANDSCAPE = _coin.SoVectorizeAction_LANDSCAPE - A0 = _coin.SoVectorizeAction_A0 - A1 = _coin.SoVectorizeAction_A1 - A2 = _coin.SoVectorizeAction_A2 - A3 = _coin.SoVectorizeAction_A3 - A4 = _coin.SoVectorizeAction_A4 - A5 = _coin.SoVectorizeAction_A5 - A6 = _coin.SoVectorizeAction_A6 - A7 = _coin.SoVectorizeAction_A7 - A8 = _coin.SoVectorizeAction_A8 - A9 = _coin.SoVectorizeAction_A9 - A10 = _coin.SoVectorizeAction_A10 - def apply(*args): - """ - apply(self, SoNode node) - apply(self, SoPath path) - apply(self, SoPathList pathlist, SbBool obeysrules=0) - apply(self, SoPathList pathlist) - """ - return _coin.SoVectorizeAction_apply(*args) - - def beginStandardPage(*args): - """ - beginStandardPage(self, PageSize pagesize, float border=10.0) - beginStandardPage(self, PageSize pagesize) - """ - return _coin.SoVectorizeAction_beginStandardPage(*args) - - def beginPage(*args): - """ - beginPage(self, SbVec2f startpagepos, SbVec2f pagesize, DimensionUnit u=MM) - beginPage(self, SbVec2f startpagepos, SbVec2f pagesize) - """ - return _coin.SoVectorizeAction_beginPage(*args) - - def endPage(*args): - """endPage(self)""" - return _coin.SoVectorizeAction_endPage(*args) - - def calibrate(*args): - """calibrate(self, SbViewportRegion vp)""" - return _coin.SoVectorizeAction_calibrate(*args) - - def beginViewport(*args): - """ - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f), - DimensionUnit u=MM) - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f)) - beginViewport(self, SbVec2f startpos=SbVec2f(-1.0f, 1.0f)) - beginViewport(self) - """ - return _coin.SoVectorizeAction_beginViewport(*args) - - def endViewport(*args): - """endViewport(self)""" - return _coin.SoVectorizeAction_endViewport(*args) - - def setOrientation(*args): - """setOrientation(self, Orientation o)""" - return _coin.SoVectorizeAction_setOrientation(*args) - - def getOrientation(*args): - """getOrientation(self) -> Orientation""" - return _coin.SoVectorizeAction_getOrientation(*args) - - def setBackgroundColor(*args): - """ - setBackgroundColor(self, SbBool bg, SbColor col=SbColor(0.0f, 0.0f, 0.0f)) - setBackgroundColor(self, SbBool bg) - """ - return _coin.SoVectorizeAction_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self, SbColor col) -> SbBool""" - return _coin.SoVectorizeAction_getBackgroundColor(*args) - - def setNominalWidth(*args): - """ - setNominalWidth(self, float w, DimensionUnit u=MM) - setNominalWidth(self, float w) - """ - return _coin.SoVectorizeAction_setNominalWidth(*args) - - def getNominalWidth(*args): - """ - getNominalWidth(self, DimensionUnit u=MM) -> float - getNominalWidth(self) -> float - """ - return _coin.SoVectorizeAction_getNominalWidth(*args) - - def setPixelImageSize(*args): - """ - setPixelImageSize(self, float w, DimensionUnit u=MM) - setPixelImageSize(self, float w) - """ - return _coin.SoVectorizeAction_setPixelImageSize(*args) - - def getPixelImageSize(*args): - """ - getPixelImageSize(self, DimensionUnit u=MM) -> float - getPixelImageSize(self) -> float - """ - return _coin.SoVectorizeAction_getPixelImageSize(*args) - - CIRCLE = _coin.SoVectorizeAction_CIRCLE - SQUARE = _coin.SoVectorizeAction_SQUARE - def setPointStyle(*args): - """setPointStyle(self, PointStyle style)""" - return _coin.SoVectorizeAction_setPointStyle(*args) - - def getPointStyle(*args): - """getPointStyle(self) -> PointStyle""" - return _coin.SoVectorizeAction_getPointStyle(*args) - - def getPageStartpos(*args): - """getPageStartpos(self) -> SbVec2f""" - return _coin.SoVectorizeAction_getPageStartpos(*args) - - def getPageSize(*args): - """getPageSize(self) -> SbVec2f""" - return _coin.SoVectorizeAction_getPageSize(*args) - - REVERSE_ONLY_BLACK_AND_WHITE = _coin.SoVectorizeAction_REVERSE_ONLY_BLACK_AND_WHITE - AS_IS = _coin.SoVectorizeAction_AS_IS - REVERSE = _coin.SoVectorizeAction_REVERSE - NO_JOIN = _coin.SoVectorizeAction_NO_JOIN - MITERED_JOIN = _coin.SoVectorizeAction_MITERED_JOIN - MITERED_BEVELED_JOIN = _coin.SoVectorizeAction_MITERED_BEVELED_JOIN - BEVELED_JOIN = _coin.SoVectorizeAction_BEVELED_JOIN - TRIANGULAR_JOIN = _coin.SoVectorizeAction_TRIANGULAR_JOIN - ROUNDED_JOIN = _coin.SoVectorizeAction_ROUNDED_JOIN - BUTT_END = _coin.SoVectorizeAction_BUTT_END - SQUARE_END = _coin.SoVectorizeAction_SQUARE_END - TRIANGULAR_END = _coin.SoVectorizeAction_TRIANGULAR_END - ROUND_END = _coin.SoVectorizeAction_ROUND_END - NO_HLHSR = _coin.SoVectorizeAction_NO_HLHSR - HLHSR_SIMPLE_PAINTER = _coin.SoVectorizeAction_HLHSR_SIMPLE_PAINTER - HLHSR_PAINTER = _coin.SoVectorizeAction_HLHSR_PAINTER - HLHSR_PAINTER_SURFACE_REMOVAL = _coin.SoVectorizeAction_HLHSR_PAINTER_SURFACE_REMOVAL - HIDDEN_LINES_REMOVAL = _coin.SoVectorizeAction_HIDDEN_LINES_REMOVAL - def setDrawingDimensions(*args): - """ - setDrawingDimensions(self, SbVec2f d, DimensionUnit u=MM) - setDrawingDimensions(self, SbVec2f d) - setDrawingDimensions(self, float w, float h, DimensionUnit u=MM) - setDrawingDimensions(self, float w, float h) - """ - return _coin.SoVectorizeAction_setDrawingDimensions(*args) - - def getDrawingDimensions(*args): - """ - getDrawingDimensions(self, DimensionUnit u=MM) -> SbVec2f - getDrawingDimensions(self) -> SbVec2f - """ - return _coin.SoVectorizeAction_getDrawingDimensions(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f p, DimensionUnit u=MM) - setStartPosition(self, SbVec2f p) - setStartPosition(self, float x, float y, DimensionUnit u=MM) - setStartPosition(self, float x, float y) - """ - return _coin.SoVectorizeAction_setStartPosition(*args) - - def getStartPosition(*args): - """ - getStartPosition(self, DimensionUnit u=MM) -> SbVec2f - getStartPosition(self) -> SbVec2f - """ - return _coin.SoVectorizeAction_getStartPosition(*args) - - def setColorTranslationMethod(*args): - """setColorTranslationMethod(self, ColorTranslationMethod method)""" - return _coin.SoVectorizeAction_setColorTranslationMethod(*args) - - def getColorTranslationMethod(*args): - """getColorTranslationMethod(self) -> ColorTranslationMethod""" - return _coin.SoVectorizeAction_getColorTranslationMethod(*args) - - def setLineEndStyle(*args): - """setLineEndStyle(self, EndLineStyle style)""" - return _coin.SoVectorizeAction_setLineEndStyle(*args) - - def getLineEndStyle(*args): - """getLineEndStyle(self) -> EndLineStyle""" - return _coin.SoVectorizeAction_getLineEndStyle(*args) - - def setLineJoinsStyle(*args): - """setLineJoinsStyle(self, JoinLineStyle style)""" - return _coin.SoVectorizeAction_setLineJoinsStyle(*args) - - def getLineJoinsStyle(*args): - """getLineJoinsStyle(self) -> JoinLineStyle""" - return _coin.SoVectorizeAction_getLineJoinsStyle(*args) - - def setHLHSRMode(*args): - """setHLHSRMode(self, HLHSRMode mode)""" - return _coin.SoVectorizeAction_setHLHSRMode(*args) - - def getHLHSRMode(*args): - """getHLHSRMode(self) -> HLHSRMode""" - return _coin.SoVectorizeAction_getHLHSRMode(*args) - - def setBorder(*args): - """ - setBorder(self, float width) - setBorder(self, float width, SbColor color) - """ - return _coin.SoVectorizeAction_setBorder(*args) - - def setMiterLimit(*args): - """setMiterLimit(self, float limit)""" - return _coin.SoVectorizeAction_setMiterLimit(*args) - - def getMiterLimit(*args): - """getMiterLimit(self) -> float""" - return _coin.SoVectorizeAction_getMiterLimit(*args) - - def setPenDescription(*args): - """ - setPenDescription(self, int num_pens, SbColor colors=0, float widths=0, DimensionUnit u=MM) - setPenDescription(self, int num_pens, SbColor colors=0, float widths=0) - setPenDescription(self, int num_pens, SbColor colors=0) - setPenDescription(self, int num_pens) - """ - return _coin.SoVectorizeAction_setPenDescription(*args) - - def getPenDescription(*args): - """ - getPenDescription(self, SbColor colors, float widths, DimensionUnit u=MM) - getPenDescription(self, SbColor colors, float widths) - """ - return _coin.SoVectorizeAction_getPenDescription(*args) - - def getPenNum(*args): - """getPenNum(self) -> int""" - return _coin.SoVectorizeAction_getPenNum(*args) - - def setColorPriority(*args): - """setColorPriority(self, SbBool priority)""" - return _coin.SoVectorizeAction_setColorPriority(*args) - - def getColorPriority(*args): - """getColorPriority(self) -> SbBool""" - return _coin.SoVectorizeAction_getColorPriority(*args) - - def enableLighting(*args): - """enableLighting(self, SbBool flag)""" - return _coin.SoVectorizeAction_enableLighting(*args) - - def isLightingEnabled(*args): - """isLightingEnabled(self) -> SbBool""" - return _coin.SoVectorizeAction_isLightingEnabled(*args) - -SoVectorizeAction_swigregister = _coin.SoVectorizeAction_swigregister -SoVectorizeAction_swigregister(SoVectorizeAction) - -def SoVectorizeAction_getClassTypeId(*args): - """SoVectorizeAction_getClassTypeId() -> SoType""" - return _coin.SoVectorizeAction_getClassTypeId(*args) - -def SoVectorizeAction_addMethod(*args): - """SoVectorizeAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizeAction_addMethod(*args) - -def SoVectorizeAction_enableElement(*args): - """SoVectorizeAction_enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizeAction_enableElement(*args) - -def SoVectorizeAction_initClass(*args): - """SoVectorizeAction_initClass()""" - return _coin.SoVectorizeAction_initClass(*args) - -class SoShape(SoNode): - """Proxy of C++ SoShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShape_initClass(*args) - - initClass = staticmethod(initClass) - TRIANGLE_STRIP = _coin.SoShape_TRIANGLE_STRIP - TRIANGLE_FAN = _coin.SoShape_TRIANGLE_FAN - TRIANGLES = _coin.SoShape_TRIANGLES - POLYGON = _coin.SoShape_POLYGON - QUADS = _coin.SoShape_QUADS - QUAD_STRIP = _coin.SoShape_QUAD_STRIP - POINTS = _coin.SoShape_POINTS - LINES = _coin.SoShape_LINES - LINE_STRIP = _coin.SoShape_LINE_STRIP - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoShape_affectsState(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoShape_notify(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoShape_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoShape_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoShape_rayPick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoShape_callback(*args) - - def computeBBox(*args): - """computeBBox(self, SoAction action, SbBox3f box, SbVec3f center)""" - return _coin.SoShape_computeBBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoShape_getPrimitiveCount(*args) - - def getScreenSize(*args): - """getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)""" - return _coin.SoShape_getScreenSize(*args) - - getScreenSize = staticmethod(getScreenSize) - def getDecimatedComplexity(*args): - """getDecimatedComplexity(SoState state, float complexity) -> float""" - return _coin.SoShape_getDecimatedComplexity(*args) - - getDecimatedComplexity = staticmethod(getDecimatedComplexity) - def getBoundingBoxCache(*args): - """getBoundingBoxCache(self) -> SoBoundingBoxCache""" - return _coin.SoShape_getBoundingBoxCache(*args) - -SoShape_swigregister = _coin.SoShape_swigregister -SoShape_swigregister(SoShape) - -def SoShape_getClassTypeId(*args): - """SoShape_getClassTypeId() -> SoType""" - return _coin.SoShape_getClassTypeId(*args) - -def SoShape_initClass(*args): - """SoShape_initClass()""" - return _coin.SoShape_initClass(*args) - -def SoShape_getScreenSize(*args): - """SoShape_getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)""" - return _coin.SoShape_getScreenSize(*args) - -def SoShape_getDecimatedComplexity(*args): - """SoShape_getDecimatedComplexity(SoState state, float complexity) -> float""" - return _coin.SoShape_getDecimatedComplexity(*args) - -class SoSFInt32(SoSField): - """Proxy of C++ SoSFInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFInt32""" - this = _coin.new_SoSFInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFInt32_isSame(*args) - - def getValue(*args): - """getValue(self) -> int32_t""" - return _coin.SoSFInt32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFInt32 field) -> int""" - return _coin.SoSFInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFInt32 field) -> int""" - return _coin.SoSFInt32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFInt32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, int32_t newvalue) - setValue(self, SoSFInt32 other) - """ - return _coin.SoSFInt32_setValue(*args) - -SoSFInt32_swigregister = _coin.SoSFInt32_swigregister -SoSFInt32_swigregister(SoSFInt32) - -def SoSFInt32_createInstance(*args): - """SoSFInt32_createInstance() -> void""" - return _coin.SoSFInt32_createInstance(*args) - -def SoSFInt32_getClassTypeId(*args): - """SoSFInt32_getClassTypeId() -> SoType""" - return _coin.SoSFInt32_getClassTypeId(*args) - -def SoSFInt32_initClass(*args): - """SoSFInt32_initClass()""" - return _coin.SoSFInt32_initClass(*args) - -class SoImage(SoShape): - """Proxy of C++ SoImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoImage_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoImage_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoImage""" - this = _coin.new_SoImage(*args) - try: self.this.append(this) - except: self.this = this - BOTTOM = _coin.SoImage_BOTTOM - HALF = _coin.SoImage_HALF - TOP = _coin.SoImage_TOP - LEFT = _coin.SoImage_LEFT - CENTER = _coin.SoImage_CENTER - RIGHT = _coin.SoImage_RIGHT - width = _swig_property(_coin.SoImage_width_get, _coin.SoImage_width_set) - height = _swig_property(_coin.SoImage_height_get, _coin.SoImage_height_set) - vertAlignment = _swig_property(_coin.SoImage_vertAlignment_get, _coin.SoImage_vertAlignment_set) - horAlignment = _swig_property(_coin.SoImage_horAlignment_get, _coin.SoImage_horAlignment_set) - image = _swig_property(_coin.SoImage_image_get, _coin.SoImage_image_set) - filename = _swig_property(_coin.SoImage_filename_get, _coin.SoImage_filename_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoImage_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoImage_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoImage_getPrimitiveCount(*args) - -SoImage_swigregister = _coin.SoImage_swigregister -SoImage_swigregister(SoImage) - -def SoImage_getClassTypeId(*args): - """SoImage_getClassTypeId() -> SoType""" - return _coin.SoImage_getClassTypeId(*args) - -def SoImage_initClass(*args): - """SoImage_initClass()""" - return _coin.SoImage_initClass(*args) - -class SoVectorizePSAction(SoVectorizeAction): - """Proxy of C++ SoVectorizePSAction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVectorizePSAction_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVectorizePSAction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def addMethod(*args): - """addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizePSAction_addMethod(*args) - - addMethod = staticmethod(addMethod) - def enableElement(*args): - """enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizePSAction_enableElement(*args) - - enableElement = staticmethod(enableElement) - def __init__(self, *args): - """__init__(self) -> SoVectorizePSAction""" - this = _coin.new_SoVectorizePSAction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoVectorizePSAction - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoVectorizePSAction_initClass(*args) - - initClass = staticmethod(initClass) - def setDefault2DFont(*args): - """setDefault2DFont(self, SbString fontname)""" - return _coin.SoVectorizePSAction_setDefault2DFont(*args) - - def getDefault2DFont(*args): - """getDefault2DFont(self) -> SbString""" - return _coin.SoVectorizePSAction_getDefault2DFont(*args) - - def setGouraudThreshold(*args): - """setGouraudThreshold(self, double eps)""" - return _coin.SoVectorizePSAction_setGouraudThreshold(*args) - - def getOutput(*args): - """getOutput(self) -> SoPSVectorOutput""" - return _coin.SoVectorizePSAction_getOutput(*args) - - def getPSOutput(*args): - """getPSOutput(self) -> SoPSVectorOutput""" - return _coin.SoVectorizePSAction_getPSOutput(*args) - -SoVectorizePSAction_swigregister = _coin.SoVectorizePSAction_swigregister -SoVectorizePSAction_swigregister(SoVectorizePSAction) - -def SoVectorizePSAction_getClassTypeId(*args): - """SoVectorizePSAction_getClassTypeId() -> SoType""" - return _coin.SoVectorizePSAction_getClassTypeId(*args) - -def SoVectorizePSAction_addMethod(*args): - """SoVectorizePSAction_addMethod(SoType type, SoActionMethod method)""" - return _coin.SoVectorizePSAction_addMethod(*args) - -def SoVectorizePSAction_enableElement(*args): - """SoVectorizePSAction_enableElement(SoType type, int stackindex)""" - return _coin.SoVectorizePSAction_enableElement(*args) - -def SoVectorizePSAction_initClass(*args): - """SoVectorizePSAction_initClass()""" - return _coin.SoVectorizePSAction_initClass(*args) - -class SoBundle(object): - """Proxy of C++ SoBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr -SoBundle_swigregister = _coin.SoBundle_swigregister -SoBundle_swigregister(SoBundle) - -class SoMaterialBundle(SoBundle): - """Proxy of C++ SoMaterialBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoAction action) -> SoMaterialBundle""" - this = _coin.new_SoMaterialBundle(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMaterialBundle - __del__ = lambda self : None; - def setUpMultiple(*args): - """setUpMultiple(self)""" - return _coin.SoMaterialBundle_setUpMultiple(*args) - - def sendFirst(*args): - """sendFirst(self)""" - return _coin.SoMaterialBundle_sendFirst(*args) - - def forceSend(*args): - """forceSend(self, int index)""" - return _coin.SoMaterialBundle_forceSend(*args) - - def isColorOnly(*args): - """isColorOnly(self) -> SbBool""" - return _coin.SoMaterialBundle_isColorOnly(*args) - - def send(*args): - """send(self, int index, SbBool betweenbeginend)""" - return _coin.SoMaterialBundle_send(*args) - -SoMaterialBundle_swigregister = _coin.SoMaterialBundle_swigregister -SoMaterialBundle_swigregister(SoMaterialBundle) - -class SbBSPTree(object): - """Proxy of C++ SbBSPTree class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, int maxnodepts=64, int initsize=4) -> SbBSPTree - __init__(self, int maxnodepts=64) -> SbBSPTree - __init__(self) -> SbBSPTree - """ - this = _coin.new_SbBSPTree(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBSPTree - __del__ = lambda self : None; - def numPoints(*args): - """numPoints(self) -> int""" - return _coin.SbBSPTree_numPoints(*args) - - def getPoint(*args): - """ - getPoint(self, int idx) -> SbVec3f - getPoint(self, int idx, SbVec3f pt) - """ - return _coin.SbBSPTree_getPoint(*args) - - def getUserData(*args): - """getUserData(self, int idx) -> void""" - return _coin.SbBSPTree_getUserData(*args) - - def setUserData(*args): - """setUserData(self, int idx, void data)""" - return _coin.SbBSPTree_setUserData(*args) - - def addPoint(*args): - """ - addPoint(self, SbVec3f pt, void userdata=None) -> int - addPoint(self, SbVec3f pt) -> int - """ - return _coin.SbBSPTree_addPoint(*args) - - def removePoint(*args): - """ - removePoint(self, SbVec3f pt) -> int - removePoint(self, int idx) - """ - return _coin.SbBSPTree_removePoint(*args) - - def findPoint(*args): - """findPoint(self, SbVec3f pos) -> int""" - return _coin.SbBSPTree_findPoint(*args) - - def clear(*args): - """ - clear(self, int initsize=4) - clear(self) - """ - return _coin.SbBSPTree_clear(*args) - - def getBBox(*args): - """getBBox(self) -> SbBox3f""" - return _coin.SbBSPTree_getBBox(*args) - - def getPointsArrayPtr(*args): - """getPointsArrayPtr(self) -> SbVec3f""" - return _coin.SbBSPTree_getPointsArrayPtr(*args) - - def findPoints(*args): - """ - findPoints(self, SbSphere sphere, SbIntList array) - findPoints(self, SbSphere sphere, SbList<(int)> array) - """ - return _coin.SbBSPTree_findPoints(*args) - - def findClosest(*args): - """ - findClosest(self, SbVec3f pos) -> int - findClosest(self, SbSphere sphere, SbIntList array) -> int - findClosest(self, SbSphere sphere, SbList<(int)> array) -> int - """ - return _coin.SbBSPTree_findClosest(*args) - -SbBSPTree_swigregister = _coin.SbBSPTree_swigregister -SbBSPTree_swigregister(SbBSPTree) - -class SoNormalGenerator(object): - """Proxy of C++ SoNormalGenerator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool ccw, int approxVertices=64) -> SoNormalGenerator - __init__(self, SbBool ccw) -> SoNormalGenerator - """ - this = _coin.new_SoNormalGenerator(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNormalGenerator - __del__ = lambda self : None; - def reset(*args): - """reset(self, SbBool ccw)""" - return _coin.SoNormalGenerator_reset(*args) - - def beginPolygon(*args): - """beginPolygon(self)""" - return _coin.SoNormalGenerator_beginPolygon(*args) - - def polygonVertex(*args): - """polygonVertex(self, SbVec3f v)""" - return _coin.SoNormalGenerator_polygonVertex(*args) - - def endPolygon(*args): - """endPolygon(self)""" - return _coin.SoNormalGenerator_endPolygon(*args) - - def triangle(*args): - """triangle(self, SbVec3f v0, SbVec3f v1, SbVec3f v2)""" - return _coin.SoNormalGenerator_triangle(*args) - - def quad(*args): - """quad(self, SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f v3)""" - return _coin.SoNormalGenerator_quad(*args) - - def generate(*args): - """ - generate(self, float creaseAngle, int32_t striplens=None, int numstrips=0) - generate(self, float creaseAngle, int32_t striplens=None) - generate(self, float creaseAngle) - """ - return _coin.SoNormalGenerator_generate(*args) - - def generatePerStrip(*args): - """generatePerStrip(self, int32_t striplens, int numstrips)""" - return _coin.SoNormalGenerator_generatePerStrip(*args) - - def generatePerFace(*args): - """generatePerFace(self)""" - return _coin.SoNormalGenerator_generatePerFace(*args) - - def generateOverall(*args): - """generateOverall(self)""" - return _coin.SoNormalGenerator_generateOverall(*args) - - def getNumNormals(*args): - """getNumNormals(self) -> int""" - return _coin.SoNormalGenerator_getNumNormals(*args) - - def setNumNormals(*args): - """setNumNormals(self, int num)""" - return _coin.SoNormalGenerator_setNumNormals(*args) - - def getNormals(*args): - """getNormals(self) -> SbVec3f""" - return _coin.SoNormalGenerator_getNormals(*args) - - def getNormal(*args): - """getNormal(self, int32_t i) -> SbVec3f""" - return _coin.SoNormalGenerator_getNormal(*args) - - def setNormal(*args): - """setNormal(self, int32_t index, SbVec3f normal)""" - return _coin.SoNormalGenerator_setNormal(*args) - -SoNormalGenerator_swigregister = _coin.SoNormalGenerator_swigregister -SoNormalGenerator_swigregister(SoNormalGenerator) - -class SoNormalElement(SoReplacedElement): - """Proxy of C++ SoNormalElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormalElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoNormalElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoNormalElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoNormalElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoNormalElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, - SbBool normalsAreUnitLength=0) - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals) - """ - return _coin.SoNormalElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoNormalElement""" - return _coin.SoNormalElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoNormalElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbVec3f""" - return _coin.SoNormalElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbVec3f""" - return _coin.SoNormalElement_getArrayPtr(*args) - - def areNormalsUnitLength(*args): - """areNormalsUnitLength(self) -> SbBool""" - return _coin.SoNormalElement_areNormalsUnitLength(*args) - -SoNormalElement_swigregister = _coin.SoNormalElement_swigregister -SoNormalElement_swigregister(SoNormalElement) - -def SoNormalElement_getClassTypeId(*args): - """SoNormalElement_getClassTypeId() -> SoType""" - return _coin.SoNormalElement_getClassTypeId(*args) - -def SoNormalElement_getClassStackIndex(*args): - """SoNormalElement_getClassStackIndex() -> int""" - return _coin.SoNormalElement_getClassStackIndex(*args) - -def SoNormalElement_createInstance(*args): - """SoNormalElement_createInstance() -> void""" - return _coin.SoNormalElement_createInstance(*args) - -def SoNormalElement_initClass(*args): - """SoNormalElement_initClass()""" - return _coin.SoNormalElement_initClass(*args) - -def SoNormalElement_set(*args): - """ - set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, - SbBool normalsAreUnitLength=0) - SoNormalElement_set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals) - """ - return _coin.SoNormalElement_set(*args) - -def SoNormalElement_getInstance(*args): - """SoNormalElement_getInstance(SoState state) -> SoNormalElement""" - return _coin.SoNormalElement_getInstance(*args) - -class SoGLNormalElement(SoNormalElement): - """Proxy of C++ SoGLNormalElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLNormalElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLNormalElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLNormalElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLNormalElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLNormalElement_init(*args) - - def send(*args): - """send(self, int index)""" - return _coin.SoGLNormalElement_send(*args) - -SoGLNormalElement_swigregister = _coin.SoGLNormalElement_swigregister -SoGLNormalElement_swigregister(SoGLNormalElement) - -def SoGLNormalElement_getClassTypeId(*args): - """SoGLNormalElement_getClassTypeId() -> SoType""" - return _coin.SoGLNormalElement_getClassTypeId(*args) - -def SoGLNormalElement_getClassStackIndex(*args): - """SoGLNormalElement_getClassStackIndex() -> int""" - return _coin.SoGLNormalElement_getClassStackIndex(*args) - -def SoGLNormalElement_createInstance(*args): - """SoGLNormalElement_createInstance() -> void""" - return _coin.SoGLNormalElement_createInstance(*args) - -def SoGLNormalElement_initClass(*args): - """SoGLNormalElement_initClass()""" - return _coin.SoGLNormalElement_initClass(*args) - -class SoNormalBundle(SoBundle): - """Proxy of C++ SoNormalBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - generator = _swig_property(_coin.SoNormalBundle_generator_get, _coin.SoNormalBundle_generator_set) -SoNormalBundle_swigregister = _coin.SoNormalBundle_swigregister -SoNormalBundle_swigregister(SoNormalBundle) - -class SoTextureCoordinateElement(SoReplacedElement): - """Proxy of C++ SoTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - NONE = _coin.SoTextureCoordinateElement_NONE - TEXGEN = _coin.SoTextureCoordinateElement_TEXGEN - EXPLICIT = _coin.SoTextureCoordinateElement_EXPLICIT - FUNCTION = _coin.SoTextureCoordinateElement_FUNCTION - DEFAULT = _coin.SoTextureCoordinateElement_DEFAULT - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCoordinateElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node)""" - return _coin.SoTextureCoordinateElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def setFunction(*args): - """ - setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoTextureCoordinateElement_setFunction(*args) - - setFunction = staticmethod(setFunction) - def set2(*args): - """set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoTextureCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoTextureCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoTextureCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getType(*args): - """ - getType(self, SoState state) -> CoordType - getType(self) -> CoordType - """ - return _coin.SoTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoTextureCoordinateElement""" - return _coin.SoTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def get(*args): - """get(self, SbVec3f point, SbVec3f normal) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_get(*args) - - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoTextureCoordinateElement_getNum(*args) - - def is2D(*args): - """is2D(self) -> SbBool""" - return _coin.SoTextureCoordinateElement_is2D(*args) - - def getDimension(*args): - """getDimension(self) -> int32_t""" - return _coin.SoTextureCoordinateElement_getDimension(*args) - - def get2(*args): - """get2(self, int index) -> SbVec2f""" - return _coin.SoTextureCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoTextureCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int index) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_get4(*args) - - def getArrayPtr2(*args): - """getArrayPtr2(self) -> SbVec2f""" - return _coin.SoTextureCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoTextureCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self) -> SbVec4f""" - return _coin.SoTextureCoordinateElement_getArrayPtr4(*args) - -SoTextureCoordinateElement_swigregister = _coin.SoTextureCoordinateElement_swigregister -SoTextureCoordinateElement_swigregister(SoTextureCoordinateElement) - -def SoTextureCoordinateElement_getClassTypeId(*args): - """SoTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateElement_getClassTypeId(*args) - -def SoTextureCoordinateElement_getClassStackIndex(*args): - """SoTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoTextureCoordinateElement_getClassStackIndex(*args) - -def SoTextureCoordinateElement_createInstance(*args): - """SoTextureCoordinateElement_createInstance() -> void""" - return _coin.SoTextureCoordinateElement_createInstance(*args) - -def SoTextureCoordinateElement_initClass(*args): - """SoTextureCoordinateElement_initClass()""" - return _coin.SoTextureCoordinateElement_initClass(*args) - -def SoTextureCoordinateElement_setDefault(*args): - """SoTextureCoordinateElement_setDefault(SoState state, SoNode node)""" - return _coin.SoTextureCoordinateElement_setDefault(*args) - -def SoTextureCoordinateElement_setFunction(*args): - """ - SoTextureCoordinateElement_setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoTextureCoordinateElement_setFunction(*args) - -def SoTextureCoordinateElement_set2(*args): - """SoTextureCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoTextureCoordinateElement_set2(*args) - -def SoTextureCoordinateElement_set3(*args): - """SoTextureCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoTextureCoordinateElement_set3(*args) - -def SoTextureCoordinateElement_set4(*args): - """SoTextureCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoTextureCoordinateElement_set4(*args) - -def SoTextureCoordinateElement_getInstance(*args): - """SoTextureCoordinateElement_getInstance(SoState state) -> SoTextureCoordinateElement""" - return _coin.SoTextureCoordinateElement_getInstance(*args) - -class SoGLTextureCoordinateElement(SoTextureCoordinateElement): - """Proxy of C++ SoGLTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureCoordinateElement_pop(*args) - - def setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLTextureCoordinateElement_setTexGen(*args) - - setTexGen = staticmethod(setTexGen) - def getType(*args): - """getType(self) -> CoordType""" - return _coin.SoGLTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoGLTextureCoordinateElement""" - return _coin.SoGLTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """ - send(self, int index) - send(self, int index, SbVec3f c, SbVec3f n) - """ - return _coin.SoGLTextureCoordinateElement_send(*args) - - def initMulti(*args): - """initMulti(self, SoState state)""" - return _coin.SoGLTextureCoordinateElement_initMulti(*args) - -SoGLTextureCoordinateElement_swigregister = _coin.SoGLTextureCoordinateElement_swigregister -SoGLTextureCoordinateElement_swigregister(SoGLTextureCoordinateElement) - -def SoGLTextureCoordinateElement_getClassTypeId(*args): - """SoGLTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureCoordinateElement_getClassTypeId(*args) - -def SoGLTextureCoordinateElement_getClassStackIndex(*args): - """SoGLTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureCoordinateElement_getClassStackIndex(*args) - -def SoGLTextureCoordinateElement_createInstance(*args): - """SoGLTextureCoordinateElement_createInstance() -> void""" - return _coin.SoGLTextureCoordinateElement_createInstance(*args) - -def SoGLTextureCoordinateElement_initClass(*args): - """SoGLTextureCoordinateElement_initClass()""" - return _coin.SoGLTextureCoordinateElement_initClass(*args) - -def SoGLTextureCoordinateElement_setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - SoGLTextureCoordinateElement_setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLTextureCoordinateElement_setTexGen(*args) - -def SoGLTextureCoordinateElement_getInstance(*args): - """SoGLTextureCoordinateElement_getInstance(SoState state) -> SoGLTextureCoordinateElement""" - return _coin.SoGLTextureCoordinateElement_getInstance(*args) - -class SoTextureCoordinateBundle(SoBundle): - """Proxy of C++ SoTextureCoordinateBundle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoAction action, SbBool forRendering, SbBool setUpDefault=1) -> SoTextureCoordinateBundle - __init__(self, SoAction action, SbBool forRendering) -> SoTextureCoordinateBundle - """ - this = _coin.new_SoTextureCoordinateBundle(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextureCoordinateBundle - __del__ = lambda self : None; - def needCoordinates(*args): - """needCoordinates(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_needCoordinates(*args) - - def isFunction(*args): - """isFunction(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_isFunction(*args) - - def get(*args): - """ - get(self, int index) -> SbVec4f - get(self, SbVec3f point, SbVec3f normal) -> SbVec4f - """ - return _coin.SoTextureCoordinateBundle_get(*args) - - def send(*args): - """ - send(self, int index) - send(self, int index, SbVec3f point, SbVec3f normal) - """ - return _coin.SoTextureCoordinateBundle_send(*args) - - def needIndices(*args): - """needIndices(self) -> SbBool""" - return _coin.SoTextureCoordinateBundle_needIndices(*args) - -SoTextureCoordinateBundle_swigregister = _coin.SoTextureCoordinateBundle_swigregister -SoTextureCoordinateBundle_swigregister(SoTextureCoordinateBundle) - -class SoCache(object): - """Proxy of C++ SoCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoCache""" - this = _coin.new_SoCache(*args) - try: self.this.append(this) - except: self.this = this - def ref(*args): - """ref(self)""" - return _coin.SoCache_ref(*args) - - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoCache_unref(*args) - - def addElement(*args): - """addElement(self, SoElement elem)""" - return _coin.SoCache_addElement(*args) - - def addCacheDependency(*args): - """addCacheDependency(self, SoState state, SoCache cache)""" - return _coin.SoCache_addCacheDependency(*args) - - def isValid(*args): - """isValid(self, SoState state) -> SbBool""" - return _coin.SoCache_isValid(*args) - - def getInvalidElement(*args): - """getInvalidElement(self, SoState state) -> SoElement""" - return _coin.SoCache_getInvalidElement(*args) - - def invalidate(*args): - """invalidate(self)""" - return _coin.SoCache_invalidate(*args) - -SoCache_swigregister = _coin.SoCache_swigregister -SoCache_swigregister(SoCache) - -class SoBoundingBoxCache(SoCache): - """Proxy of C++ SoBoundingBoxCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoBoundingBoxCache""" - this = _coin.new_SoBoundingBoxCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoBoundingBoxCache - __del__ = lambda self : None; - def set(*args): - """set(self, SbXfBox3f boundingbox, SbBool centerset, SbVec3f centerpoint)""" - return _coin.SoBoundingBoxCache_set(*args) - - def getBox(*args): - """getBox(self) -> SbXfBox3f""" - return _coin.SoBoundingBoxCache_getBox(*args) - - def getProjectedBox(*args): - """getProjectedBox(self) -> SbBox3f""" - return _coin.SoBoundingBoxCache_getProjectedBox(*args) - - def isCenterSet(*args): - """isCenterSet(self) -> SbBool""" - return _coin.SoBoundingBoxCache_isCenterSet(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SoBoundingBoxCache_getCenter(*args) - - def setHasLinesOrPoints(*args): - """setHasLinesOrPoints(SoState state)""" - return _coin.SoBoundingBoxCache_setHasLinesOrPoints(*args) - - setHasLinesOrPoints = staticmethod(setHasLinesOrPoints) - def hasLinesOrPoints(*args): - """hasLinesOrPoints(self) -> SbBool""" - return _coin.SoBoundingBoxCache_hasLinesOrPoints(*args) - -SoBoundingBoxCache_swigregister = _coin.SoBoundingBoxCache_swigregister -SoBoundingBoxCache_swigregister(SoBoundingBoxCache) - -def SoBoundingBoxCache_setHasLinesOrPoints(*args): - """SoBoundingBoxCache_setHasLinesOrPoints(SoState state)""" - return _coin.SoBoundingBoxCache_setHasLinesOrPoints(*args) - -class SoConvexDataCache(SoCache): - """Proxy of C++ SoConvexDataCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoConvexDataCache""" - this = _coin.new_SoConvexDataCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoConvexDataCache - __del__ = lambda self : None; - NONE = _coin.SoConvexDataCache_NONE - PER_FACE = _coin.SoConvexDataCache_PER_FACE - PER_FACE_INDEXED = _coin.SoConvexDataCache_PER_FACE_INDEXED - PER_VERTEX = _coin.SoConvexDataCache_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoConvexDataCache_PER_VERTEX_INDEXED - def generate(*args): - """ - generate(self, SoCoordinateElement coords, SbMatrix matrix, int32_t coordindices, - int numcoordindices, int32_t matindices, - int32_t normindices, int32_t texindices, - Binding matbinding, Binding normbinding, - Binding texbinding) - """ - return _coin.SoConvexDataCache_generate(*args) - - def getCoordIndices(*args): - """getCoordIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getCoordIndices(*args) - - def getNumCoordIndices(*args): - """getNumCoordIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumCoordIndices(*args) - - def getMaterialIndices(*args): - """getMaterialIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getMaterialIndices(*args) - - def getNumMaterialIndices(*args): - """getNumMaterialIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumMaterialIndices(*args) - - def getNormalIndices(*args): - """getNormalIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getNormalIndices(*args) - - def getNumNormalIndices(*args): - """getNumNormalIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumNormalIndices(*args) - - def getTexIndices(*args): - """getTexIndices(self) -> int32_t""" - return _coin.SoConvexDataCache_getTexIndices(*args) - - def getNumTexIndices(*args): - """getNumTexIndices(self) -> int""" - return _coin.SoConvexDataCache_getNumTexIndices(*args) - -SoConvexDataCache_swigregister = _coin.SoConvexDataCache_swigregister -SoConvexDataCache_swigregister(SoConvexDataCache) - -class SoGLCacheList(object): - """Proxy of C++ SoGLCacheList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr -SoGLCacheList_swigregister = _coin.SoGLCacheList_swigregister -SoGLCacheList_swigregister(SoGLCacheList) - -class SoGLLazyElement(SoLazyElement): - """Proxy of C++ SoGLLazyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLazyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLazyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLazyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLazyElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLazyElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLazyElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevtopelement)""" - return _coin.SoGLLazyElement_pop(*args) - - def sendAllMaterial(*args): - """sendAllMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendAllMaterial(*args) - - sendAllMaterial = staticmethod(sendAllMaterial) - def sendNoMaterial(*args): - """sendNoMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendNoMaterial(*args) - - sendNoMaterial = staticmethod(sendNoMaterial) - def sendOnlyDiffuseColor(*args): - """sendOnlyDiffuseColor(SoState state)""" - return _coin.SoGLLazyElement_sendOnlyDiffuseColor(*args) - - sendOnlyDiffuseColor = staticmethod(sendOnlyDiffuseColor) - def sendLightModel(*args): - """sendLightModel(SoState state, int32_t model)""" - return _coin.SoGLLazyElement_sendLightModel(*args) - - sendLightModel = staticmethod(sendLightModel) - def sendPackedDiffuse(*args): - """sendPackedDiffuse(SoState state, uint32_t diffuse)""" - return _coin.SoGLLazyElement_sendPackedDiffuse(*args) - - sendPackedDiffuse = staticmethod(sendPackedDiffuse) - def sendFlatshading(*args): - """sendFlatshading(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendFlatshading(*args) - - sendFlatshading = staticmethod(sendFlatshading) - def sendVertexOrdering(*args): - """sendVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_sendVertexOrdering(*args) - - sendVertexOrdering = staticmethod(sendVertexOrdering) - def sendTwosideLighting(*args): - """sendTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendTwosideLighting(*args) - - sendTwosideLighting = staticmethod(sendTwosideLighting) - def sendBackfaceCulling(*args): - """sendBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendBackfaceCulling(*args) - - sendBackfaceCulling = staticmethod(sendBackfaceCulling) - def sendDiffuseByIndex(*args): - """sendDiffuseByIndex(self, int index)""" - return _coin.SoGLLazyElement_sendDiffuseByIndex(*args) - - def isColorIndex(*args): - """isColorIndex(SoState state) -> SbBool""" - return _coin.SoGLLazyElement_isColorIndex(*args) - - isColorIndex = staticmethod(isColorIndex) - def getInstance(*args): - """getInstance(SoState state) -> SoGLLazyElement""" - return _coin.SoGLLazyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """send(self, SoState state, uint32_t mask)""" - return _coin.SoGLLazyElement_send(*args) - - def sendVPPacked(*args): - """sendVPPacked(self, SoState state, unsigned char pcolor)""" - return _coin.SoGLLazyElement_sendVPPacked(*args) - - def reset(*args): - """reset(self, SoState state, uint32_t bitmask)""" - return _coin.SoGLLazyElement_reset(*args) - - didsetbitmask = _swig_property(_coin.SoGLLazyElement_didsetbitmask_get, _coin.SoGLLazyElement_didsetbitmask_set) - didntsetbitmask = _swig_property(_coin.SoGLLazyElement_didntsetbitmask_get, _coin.SoGLLazyElement_didntsetbitmask_set) - cachebitmask = _swig_property(_coin.SoGLLazyElement_cachebitmask_get, _coin.SoGLLazyElement_cachebitmask_set) - forcediffuse = _swig_property(_coin.SoGLLazyElement_forcediffuse_get, _coin.SoGLLazyElement_forcediffuse_set) - glstate = _swig_property(_coin.SoGLLazyElement_glstate_get, _coin.SoGLLazyElement_glstate_set) - postcachestate = _swig_property(_coin.SoGLLazyElement_postcachestate_get, _coin.SoGLLazyElement_postcachestate_set) - precachestate = _swig_property(_coin.SoGLLazyElement_precachestate_get, _coin.SoGLLazyElement_precachestate_set) - colorindex = _swig_property(_coin.SoGLLazyElement_colorindex_get, _coin.SoGLLazyElement_colorindex_set) - colorpacker = _swig_property(_coin.SoGLLazyElement_colorpacker_get, _coin.SoGLLazyElement_colorpacker_set) - packedpointer = _swig_property(_coin.SoGLLazyElement_packedpointer_get, _coin.SoGLLazyElement_packedpointer_set) - transpmask = _swig_property(_coin.SoGLLazyElement_transpmask_get, _coin.SoGLLazyElement_transpmask_set) - state = _swig_property(_coin.SoGLLazyElement_state_get, _coin.SoGLLazyElement_state_set) - def setDiffuseElt(*args): - """setDiffuseElt(self, SoNode ?, int32_t numcolors, SbColor colors, SoColorPacker packer)""" - return _coin.SoGLLazyElement_setDiffuseElt(*args) - - def setPackedElt(*args): - """setPackedElt(self, SoNode node, int32_t numcolors, uint32_t colors, SbBool packedtransparency)""" - return _coin.SoGLLazyElement_setPackedElt(*args) - - def setColorIndexElt(*args): - """setColorIndexElt(self, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLLazyElement_setColorIndexElt(*args) - - def setTranspElt(*args): - """setTranspElt(self, SoNode node, int32_t numtransp, float transp, SoColorPacker packer)""" - return _coin.SoGLLazyElement_setTranspElt(*args) - - def setTranspTypeElt(*args): - """setTranspTypeElt(self, int32_t type)""" - return _coin.SoGLLazyElement_setTranspTypeElt(*args) - - def setAmbientElt(*args): - """setAmbientElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setAmbientElt(*args) - - def setEmissiveElt(*args): - """setEmissiveElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setEmissiveElt(*args) - - def setSpecularElt(*args): - """setSpecularElt(self, SbColor color)""" - return _coin.SoGLLazyElement_setSpecularElt(*args) - - def setShininessElt(*args): - """setShininessElt(self, float value)""" - return _coin.SoGLLazyElement_setShininessElt(*args) - - def setColorMaterialElt(*args): - """setColorMaterialElt(self, SbBool value)""" - return _coin.SoGLLazyElement_setColorMaterialElt(*args) - - def enableBlendingElt(*args): - """enableBlendingElt(self, int sfactor, int dfactor)""" - return _coin.SoGLLazyElement_enableBlendingElt(*args) - - def disableBlendingElt(*args): - """disableBlendingElt(self)""" - return _coin.SoGLLazyElement_disableBlendingElt(*args) - - def setLightModelElt(*args): - """setLightModelElt(self, SoState state, int32_t model)""" - return _coin.SoGLLazyElement_setLightModelElt(*args) - - def setMaterialElt(*args): - """ - setMaterialElt(self, SoNode node, uint32_t bitmask, SoColorPacker packer, - SbColor diffuse, int numdiffuse, float transp, - int numtransp, SbColor ambient, SbColor emissive, - SbColor specular, float shininess, SbBool istransparent) - """ - return _coin.SoGLLazyElement_setMaterialElt(*args) - - def setVertexOrderingElt(*args): - """setVertexOrderingElt(self, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_setVertexOrderingElt(*args) - - def setBackfaceCullingElt(*args): - """setBackfaceCullingElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setBackfaceCullingElt(*args) - - def setTwosideLightingElt(*args): - """setTwosideLightingElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setTwosideLightingElt(*args) - - def setShadeModelElt(*args): - """setShadeModelElt(self, SbBool flatshading)""" - return _coin.SoGLLazyElement_setShadeModelElt(*args) - - def setGLImageIdElt(*args): - """setGLImageIdElt(self, uint32_t glimageid, SbBool alphatest)""" - return _coin.SoGLLazyElement_setGLImageIdElt(*args) - - def setAlphaTestElt(*args): - """setAlphaTestElt(self, SbBool onoff)""" - return _coin.SoGLLazyElement_setAlphaTestElt(*args) - - def beginCaching(*args): - """beginCaching(SoState state, GLState prestate, GLState poststate)""" - return _coin.SoGLLazyElement_beginCaching(*args) - - beginCaching = staticmethod(beginCaching) - def endCaching(*args): - """endCaching(SoState state)""" - return _coin.SoGLLazyElement_endCaching(*args) - - endCaching = staticmethod(endCaching) - def preCacheCall(*args): - """preCacheCall(SoState state, GLState prestate) -> SbBool""" - return _coin.SoGLLazyElement_preCacheCall(*args) - - preCacheCall = staticmethod(preCacheCall) - def postCacheCall(*args): - """postCacheCall(SoState state, GLState poststate)""" - return _coin.SoGLLazyElement_postCacheCall(*args) - - postCacheCall = staticmethod(postCacheCall) -SoGLLazyElement_swigregister = _coin.SoGLLazyElement_swigregister -SoGLLazyElement_swigregister(SoGLLazyElement) - -def SoGLLazyElement_getClassTypeId(*args): - """SoGLLazyElement_getClassTypeId() -> SoType""" - return _coin.SoGLLazyElement_getClassTypeId(*args) - -def SoGLLazyElement_getClassStackIndex(*args): - """SoGLLazyElement_getClassStackIndex() -> int""" - return _coin.SoGLLazyElement_getClassStackIndex(*args) - -def SoGLLazyElement_createInstance(*args): - """SoGLLazyElement_createInstance() -> void""" - return _coin.SoGLLazyElement_createInstance(*args) - -def SoGLLazyElement_initClass(*args): - """SoGLLazyElement_initClass()""" - return _coin.SoGLLazyElement_initClass(*args) - -def SoGLLazyElement_sendAllMaterial(*args): - """SoGLLazyElement_sendAllMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendAllMaterial(*args) - -def SoGLLazyElement_sendNoMaterial(*args): - """SoGLLazyElement_sendNoMaterial(SoState state)""" - return _coin.SoGLLazyElement_sendNoMaterial(*args) - -def SoGLLazyElement_sendOnlyDiffuseColor(*args): - """SoGLLazyElement_sendOnlyDiffuseColor(SoState state)""" - return _coin.SoGLLazyElement_sendOnlyDiffuseColor(*args) - -def SoGLLazyElement_sendLightModel(*args): - """SoGLLazyElement_sendLightModel(SoState state, int32_t model)""" - return _coin.SoGLLazyElement_sendLightModel(*args) - -def SoGLLazyElement_sendPackedDiffuse(*args): - """SoGLLazyElement_sendPackedDiffuse(SoState state, uint32_t diffuse)""" - return _coin.SoGLLazyElement_sendPackedDiffuse(*args) - -def SoGLLazyElement_sendFlatshading(*args): - """SoGLLazyElement_sendFlatshading(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendFlatshading(*args) - -def SoGLLazyElement_sendVertexOrdering(*args): - """SoGLLazyElement_sendVertexOrdering(SoState state, VertexOrdering ordering)""" - return _coin.SoGLLazyElement_sendVertexOrdering(*args) - -def SoGLLazyElement_sendTwosideLighting(*args): - """SoGLLazyElement_sendTwosideLighting(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendTwosideLighting(*args) - -def SoGLLazyElement_sendBackfaceCulling(*args): - """SoGLLazyElement_sendBackfaceCulling(SoState state, SbBool onoff)""" - return _coin.SoGLLazyElement_sendBackfaceCulling(*args) - -def SoGLLazyElement_isColorIndex(*args): - """SoGLLazyElement_isColorIndex(SoState state) -> SbBool""" - return _coin.SoGLLazyElement_isColorIndex(*args) - -def SoGLLazyElement_getInstance(*args): - """SoGLLazyElement_getInstance(SoState state) -> SoGLLazyElement""" - return _coin.SoGLLazyElement_getInstance(*args) - -def SoGLLazyElement_beginCaching(*args): - """SoGLLazyElement_beginCaching(SoState state, GLState prestate, GLState poststate)""" - return _coin.SoGLLazyElement_beginCaching(*args) - -def SoGLLazyElement_endCaching(*args): - """SoGLLazyElement_endCaching(SoState state)""" - return _coin.SoGLLazyElement_endCaching(*args) - -def SoGLLazyElement_preCacheCall(*args): - """SoGLLazyElement_preCacheCall(SoState state, GLState prestate) -> SbBool""" - return _coin.SoGLLazyElement_preCacheCall(*args) - -def SoGLLazyElement_postCacheCall(*args): - """SoGLLazyElement_postCacheCall(SoState state, GLState poststate)""" - return _coin.SoGLLazyElement_postCacheCall(*args) - -class SoGLLazyElement_GLState(object): - """Proxy of C++ SoGLLazyElement_GLState class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - cachebitmask = _swig_property(_coin.SoGLLazyElement_GLState_cachebitmask_get, _coin.SoGLLazyElement_GLState_cachebitmask_set) - diffuse = _swig_property(_coin.SoGLLazyElement_GLState_diffuse_get, _coin.SoGLLazyElement_GLState_diffuse_set) - ambient = _swig_property(_coin.SoGLLazyElement_GLState_ambient_get, _coin.SoGLLazyElement_GLState_ambient_set) - emissive = _swig_property(_coin.SoGLLazyElement_GLState_emissive_get, _coin.SoGLLazyElement_GLState_emissive_set) - specular = _swig_property(_coin.SoGLLazyElement_GLState_specular_get, _coin.SoGLLazyElement_GLState_specular_set) - shininess = _swig_property(_coin.SoGLLazyElement_GLState_shininess_get, _coin.SoGLLazyElement_GLState_shininess_set) - lightmodel = _swig_property(_coin.SoGLLazyElement_GLState_lightmodel_get, _coin.SoGLLazyElement_GLState_lightmodel_set) - blending = _swig_property(_coin.SoGLLazyElement_GLState_blending_get, _coin.SoGLLazyElement_GLState_blending_set) - blend_sfactor = _swig_property(_coin.SoGLLazyElement_GLState_blend_sfactor_get, _coin.SoGLLazyElement_GLState_blend_sfactor_set) - blend_dfactor = _swig_property(_coin.SoGLLazyElement_GLState_blend_dfactor_get, _coin.SoGLLazyElement_GLState_blend_dfactor_set) - stipplenum = _swig_property(_coin.SoGLLazyElement_GLState_stipplenum_get, _coin.SoGLLazyElement_GLState_stipplenum_set) - vertexordering = _swig_property(_coin.SoGLLazyElement_GLState_vertexordering_get, _coin.SoGLLazyElement_GLState_vertexordering_set) - culling = _swig_property(_coin.SoGLLazyElement_GLState_culling_get, _coin.SoGLLazyElement_GLState_culling_set) - twoside = _swig_property(_coin.SoGLLazyElement_GLState_twoside_get, _coin.SoGLLazyElement_GLState_twoside_set) - flatshading = _swig_property(_coin.SoGLLazyElement_GLState_flatshading_get, _coin.SoGLLazyElement_GLState_flatshading_set) - glimageid = _swig_property(_coin.SoGLLazyElement_GLState_glimageid_get, _coin.SoGLLazyElement_GLState_glimageid_set) - alphatest = _swig_property(_coin.SoGLLazyElement_GLState_alphatest_get, _coin.SoGLLazyElement_GLState_alphatest_set) - def __init__(self, *args): - """__init__(self) -> SoGLLazyElement_GLState""" - this = _coin.new_SoGLLazyElement_GLState(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoGLLazyElement_GLState - __del__ = lambda self : None; -SoGLLazyElement_GLState_swigregister = _coin.SoGLLazyElement_GLState_swigregister -SoGLLazyElement_GLState_swigregister(SoGLLazyElement_GLState) - -class SoGLRenderCache(SoCache): - """Proxy of C++ SoGLRenderCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoGLRenderCache - __del__ = lambda self : None; - def isValid(*args): - """isValid(self, SoState state) -> SbBool""" - return _coin.SoGLRenderCache_isValid(*args) - - def addNestedCache(*args): - """addNestedCache(self, SoGLDisplayList child)""" - return _coin.SoGLRenderCache_addNestedCache(*args) - -SoGLRenderCache_swigregister = _coin.SoGLRenderCache_swigregister -SoGLRenderCache_swigregister(SoGLRenderCache) - -class SoNormalCache(SoCache): - """Proxy of C++ SoNormalCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoNormalCache""" - this = _coin.new_SoNormalCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNormalCache - __del__ = lambda self : None; - def set(*args): - """ - set(self, int num, SbVec3f normals) - set(self, SoNormalGenerator generator) - """ - return _coin.SoNormalCache_set(*args) - - def generatePerVertex(*args): - """ - generatePerVertex(self, SbVec3f coords, int32_t coordindices, int numcoordindices, - float crease_angle, SbVec3f facenormals=None, - SbBool ccw=1, SbBool tristrip=0) - generatePerVertex(self, SbVec3f coords, int32_t coordindices, int numcoordindices, - float crease_angle, SbVec3f facenormals=None, - SbBool ccw=1) - generatePerVertex(self, SbVec3f coords, int32_t coordindices, int numcoordindices, - float crease_angle, SbVec3f facenormals=None) - generatePerVertex(self, SbVec3f coords, int32_t coordindices, int numcoordindices, - float crease_angle) - """ - return _coin.SoNormalCache_generatePerVertex(*args) - - def generatePerFace(*args): - """ - generatePerFace(self, SbVec3f coords, int32_t coordindices, int numcoorindices, - SbBool ccw) - """ - return _coin.SoNormalCache_generatePerFace(*args) - - def generatePerFaceStrip(*args): - """ - generatePerFaceStrip(self, SbVec3f coords, int32_t coordindices, int numcoorindices, - SbBool ccw) - """ - return _coin.SoNormalCache_generatePerFaceStrip(*args) - - def generatePerStrip(*args): - """ - generatePerStrip(self, SbVec3f coords, int32_t coordindices, int numcoorindices, - SbBool ccw) - """ - return _coin.SoNormalCache_generatePerStrip(*args) - - def generatePerVertexQuad(*args): - """generatePerVertexQuad(self, SbVec3f coords, int vPerRow, int vPerColumn, SbBool ccw)""" - return _coin.SoNormalCache_generatePerVertexQuad(*args) - - def generatePerFaceQuad(*args): - """generatePerFaceQuad(self, SbVec3f coords, int vPerRow, int vPerColumn, SbBool ccw)""" - return _coin.SoNormalCache_generatePerFaceQuad(*args) - - def generatePerRowQuad(*args): - """generatePerRowQuad(self, SbVec3f coords, int vPerRow, int vPerColumn, SbBool ccw)""" - return _coin.SoNormalCache_generatePerRowQuad(*args) - - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoNormalCache_getNum(*args) - - def getNormals(*args): - """getNormals(self) -> SbVec3f""" - return _coin.SoNormalCache_getNormals(*args) - - def getNumIndices(*args): - """getNumIndices(self) -> int""" - return _coin.SoNormalCache_getNumIndices(*args) - - def getIndices(*args): - """getIndices(self) -> int32_t""" - return _coin.SoNormalCache_getIndices(*args) - -SoNormalCache_swigregister = _coin.SoNormalCache_swigregister -SoNormalCache_swigregister(SoNormalCache) - -class SoTextureCoordinateCache(SoCache): - """Proxy of C++ SoTextureCoordinateCache class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoState state) -> SoTextureCoordinateCache""" - this = _coin.new_SoTextureCoordinateCache(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextureCoordinateCache - __del__ = lambda self : None; - def generate(*args): - """generate(self, SbBox3f bbox, SbVec3f vertices, int numvertices)""" - return _coin.SoTextureCoordinateCache_generate(*args) - - def get(*args): - """get(self) -> SbVec2f""" - return _coin.SoTextureCoordinateCache_get(*args) - - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoTextureCoordinateCache_getNum(*args) - -SoTextureCoordinateCache_swigregister = _coin.SoTextureCoordinateCache_swigregister -SoTextureCoordinateCache_swigregister(SoTextureCoordinateCache) - -class SoDetail(object): - """Proxy of C++ SoDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoDetail_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoDetail_initClasses(*args) - - initClasses = staticmethod(initClasses) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoDetail_copy(*args) - - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDetail_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoDetail_isOfType(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) -SoDetail_swigregister = _coin.SoDetail_swigregister -SoDetail_swigregister(SoDetail) - -def SoDetail_initClass(*args): - """SoDetail_initClass()""" - return _coin.SoDetail_initClass(*args) - -def SoDetail_initClasses(*args): - """SoDetail_initClasses()""" - return _coin.SoDetail_initClasses(*args) - -def SoDetail_getClassTypeId(*args): - """SoDetail_getClassTypeId() -> SoType""" - return _coin.SoDetail_getClassTypeId(*args) - -class SoConeDetail(SoDetail): - """Proxy of C++ SoConeDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoConeDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoConeDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoConeDetail""" - this = _coin.new_SoConeDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoConeDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoConeDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoConeDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoConeDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoConeDetail_getPart(*args) - -SoConeDetail_swigregister = _coin.SoConeDetail_swigregister -SoConeDetail_swigregister(SoConeDetail) - -def SoConeDetail_getClassTypeId(*args): - """SoConeDetail_getClassTypeId() -> SoType""" - return _coin.SoConeDetail_getClassTypeId(*args) - -def SoConeDetail_initClass(*args): - """SoConeDetail_initClass()""" - return _coin.SoConeDetail_initClass(*args) - -class SoCubeDetail(SoDetail): - """Proxy of C++ SoCubeDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCubeDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCubeDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoCubeDetail""" - this = _coin.new_SoCubeDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCubeDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoCubeDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoCubeDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoCubeDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoCubeDetail_getPart(*args) - -SoCubeDetail_swigregister = _coin.SoCubeDetail_swigregister -SoCubeDetail_swigregister(SoCubeDetail) - -def SoCubeDetail_getClassTypeId(*args): - """SoCubeDetail_getClassTypeId() -> SoType""" - return _coin.SoCubeDetail_getClassTypeId(*args) - -def SoCubeDetail_initClass(*args): - """SoCubeDetail_initClass()""" - return _coin.SoCubeDetail_initClass(*args) - -class SoCylinderDetail(SoDetail): - """Proxy of C++ SoCylinderDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCylinderDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCylinderDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoCylinderDetail""" - this = _coin.new_SoCylinderDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCylinderDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoCylinderDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoCylinderDetail_copy(*args) - - def setPart(*args): - """setPart(self, int part)""" - return _coin.SoCylinderDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoCylinderDetail_getPart(*args) - -SoCylinderDetail_swigregister = _coin.SoCylinderDetail_swigregister -SoCylinderDetail_swigregister(SoCylinderDetail) - -def SoCylinderDetail_getClassTypeId(*args): - """SoCylinderDetail_getClassTypeId() -> SoType""" - return _coin.SoCylinderDetail_getClassTypeId(*args) - -def SoCylinderDetail_initClass(*args): - """SoCylinderDetail_initClass()""" - return _coin.SoCylinderDetail_initClass(*args) - -class SoPointDetail(SoDetail): - """Proxy of C++ SoPointDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoPointDetail""" - this = _coin.new_SoPointDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPointDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoPointDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoPointDetail_copy(*args) - - def getCoordinateIndex(*args): - """getCoordinateIndex(self) -> int""" - return _coin.SoPointDetail_getCoordinateIndex(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPointDetail_getMaterialIndex(*args) - - def getNormalIndex(*args): - """getNormalIndex(self) -> int""" - return _coin.SoPointDetail_getNormalIndex(*args) - - def getTextureCoordIndex(*args): - """getTextureCoordIndex(self) -> int""" - return _coin.SoPointDetail_getTextureCoordIndex(*args) - - def setCoordinateIndex(*args): - """setCoordinateIndex(self, int idx)""" - return _coin.SoPointDetail_setCoordinateIndex(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int idx)""" - return _coin.SoPointDetail_setMaterialIndex(*args) - - def setNormalIndex(*args): - """setNormalIndex(self, int idx)""" - return _coin.SoPointDetail_setNormalIndex(*args) - - def setTextureCoordIndex(*args): - """setTextureCoordIndex(self, int idx)""" - return _coin.SoPointDetail_setTextureCoordIndex(*args) - -SoPointDetail_swigregister = _coin.SoPointDetail_swigregister -SoPointDetail_swigregister(SoPointDetail) - -def SoPointDetail_getClassTypeId(*args): - """SoPointDetail_getClassTypeId() -> SoType""" - return _coin.SoPointDetail_getClassTypeId(*args) - -def SoPointDetail_initClass(*args): - """SoPointDetail_initClass()""" - return _coin.SoPointDetail_initClass(*args) - -class SoFaceDetail(SoDetail): - """Proxy of C++ SoFaceDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFaceDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFaceDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoFaceDetail""" - this = _coin.new_SoFaceDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoFaceDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoFaceDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoFaceDetail_copy(*args) - - def getNumPoints(*args): - """getNumPoints(self) -> int""" - return _coin.SoFaceDetail_getNumPoints(*args) - - def getPoint(*args): - """getPoint(self, int idx) -> SoPointDetail""" - return _coin.SoFaceDetail_getPoint(*args) - - def getPoints(*args): - """getPoints(self) -> SoPointDetail""" - return _coin.SoFaceDetail_getPoints(*args) - - def getFaceIndex(*args): - """getFaceIndex(self) -> int""" - return _coin.SoFaceDetail_getFaceIndex(*args) - - def getPartIndex(*args): - """getPartIndex(self) -> int""" - return _coin.SoFaceDetail_getPartIndex(*args) - - def setNumPoints(*args): - """setNumPoints(self, int num)""" - return _coin.SoFaceDetail_setNumPoints(*args) - - def setPoint(*args): - """setPoint(self, int idx, SoPointDetail detail)""" - return _coin.SoFaceDetail_setPoint(*args) - - def setFaceIndex(*args): - """setFaceIndex(self, int idx)""" - return _coin.SoFaceDetail_setFaceIndex(*args) - - def setPartIndex(*args): - """setPartIndex(self, int idx)""" - return _coin.SoFaceDetail_setPartIndex(*args) - - def incFaceIndex(*args): - """incFaceIndex(self)""" - return _coin.SoFaceDetail_incFaceIndex(*args) - - def incPartIndex(*args): - """incPartIndex(self)""" - return _coin.SoFaceDetail_incPartIndex(*args) - -SoFaceDetail_swigregister = _coin.SoFaceDetail_swigregister -SoFaceDetail_swigregister(SoFaceDetail) - -def SoFaceDetail_getClassTypeId(*args): - """SoFaceDetail_getClassTypeId() -> SoType""" - return _coin.SoFaceDetail_getClassTypeId(*args) - -def SoFaceDetail_initClass(*args): - """SoFaceDetail_initClass()""" - return _coin.SoFaceDetail_initClass(*args) - -class SoLineDetail(SoDetail): - """Proxy of C++ SoLineDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoLineDetail""" - this = _coin.new_SoLineDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLineDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoLineDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoLineDetail_copy(*args) - - def getPoint0(*args): - """getPoint0(self) -> SoPointDetail""" - return _coin.SoLineDetail_getPoint0(*args) - - def getPoint1(*args): - """getPoint1(self) -> SoPointDetail""" - return _coin.SoLineDetail_getPoint1(*args) - - def getLineIndex(*args): - """getLineIndex(self) -> int""" - return _coin.SoLineDetail_getLineIndex(*args) - - def getPartIndex(*args): - """getPartIndex(self) -> int""" - return _coin.SoLineDetail_getPartIndex(*args) - - def setPoint0(*args): - """setPoint0(self, SoPointDetail detail)""" - return _coin.SoLineDetail_setPoint0(*args) - - def setPoint1(*args): - """setPoint1(self, SoPointDetail detail)""" - return _coin.SoLineDetail_setPoint1(*args) - - def setLineIndex(*args): - """setLineIndex(self, int idx)""" - return _coin.SoLineDetail_setLineIndex(*args) - - def setPartIndex(*args): - """setPartIndex(self, int idx)""" - return _coin.SoLineDetail_setPartIndex(*args) - - def incLineIndex(*args): - """incLineIndex(self)""" - return _coin.SoLineDetail_incLineIndex(*args) - - def incPartIndex(*args): - """incPartIndex(self)""" - return _coin.SoLineDetail_incPartIndex(*args) - -SoLineDetail_swigregister = _coin.SoLineDetail_swigregister -SoLineDetail_swigregister(SoLineDetail) - -def SoLineDetail_getClassTypeId(*args): - """SoLineDetail_getClassTypeId() -> SoType""" - return _coin.SoLineDetail_getClassTypeId(*args) - -def SoLineDetail_initClass(*args): - """SoLineDetail_initClass()""" - return _coin.SoLineDetail_initClass(*args) - -class SoNodeKitDetail(SoDetail): - """Proxy of C++ SoNodeKitDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNodeKitDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeKitDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoNodeKitDetail""" - this = _coin.new_SoNodeKitDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeKitDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoNodeKitDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoNodeKitDetail_copy(*args) - - def setNodeKit(*args): - """setNodeKit(self, SoBaseKit kit)""" - return _coin.SoNodeKitDetail_setNodeKit(*args) - - def getNodeKit(*args): - """getNodeKit(self) -> SoBaseKit""" - return _coin.SoNodeKitDetail_getNodeKit(*args) - - def setPart(*args): - """setPart(self, SoNode part)""" - return _coin.SoNodeKitDetail_setPart(*args) - - def getPart(*args): - """getPart(self) -> SoNode""" - return _coin.SoNodeKitDetail_getPart(*args) - - def setPartName(*args): - """setPartName(self, SbName name)""" - return _coin.SoNodeKitDetail_setPartName(*args) - - def getPartName(*args): - """getPartName(self) -> SbName""" - return _coin.SoNodeKitDetail_getPartName(*args) - -SoNodeKitDetail_swigregister = _coin.SoNodeKitDetail_swigregister -SoNodeKitDetail_swigregister(SoNodeKitDetail) - -def SoNodeKitDetail_getClassTypeId(*args): - """SoNodeKitDetail_getClassTypeId() -> SoType""" - return _coin.SoNodeKitDetail_getClassTypeId(*args) - -def SoNodeKitDetail_initClass(*args): - """SoNodeKitDetail_initClass()""" - return _coin.SoNodeKitDetail_initClass(*args) - -class SoTextDetail(SoDetail): - """Proxy of C++ SoTextDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextDetail_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def __init__(self, *args): - """__init__(self) -> SoTextDetail""" - this = _coin.new_SoTextDetail(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTextDetail - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoTextDetail_initClass(*args) - - initClass = staticmethod(initClass) - def copy(*args): - """copy(self) -> SoDetail""" - return _coin.SoTextDetail_copy(*args) - - def getStringIndex(*args): - """getStringIndex(self) -> int""" - return _coin.SoTextDetail_getStringIndex(*args) - - def getCharacterIndex(*args): - """getCharacterIndex(self) -> int""" - return _coin.SoTextDetail_getCharacterIndex(*args) - - def getPart(*args): - """getPart(self) -> int""" - return _coin.SoTextDetail_getPart(*args) - - def setStringIndex(*args): - """setStringIndex(self, int idx)""" - return _coin.SoTextDetail_setStringIndex(*args) - - def setCharacterIndex(*args): - """setCharacterIndex(self, int idx)""" - return _coin.SoTextDetail_setCharacterIndex(*args) - - def setPart(*args): - """setPart(self, int idx)""" - return _coin.SoTextDetail_setPart(*args) - -SoTextDetail_swigregister = _coin.SoTextDetail_swigregister -SoTextDetail_swigregister(SoTextDetail) - -def SoTextDetail_getClassTypeId(*args): - """SoTextDetail_getClassTypeId() -> SoType""" - return _coin.SoTextDetail_getClassTypeId(*args) - -def SoTextDetail_initClass(*args): - """SoTextDetail_initClass()""" - return _coin.SoTextDetail_initClass(*args) - -class SoSFNode(SoSField): - """Proxy of C++ SoSFNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFNode""" - this = _coin.new_SoSFNode(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFNode - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFNode_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFNode_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFNode_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFNode_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoNode""" - return _coin.SoSFNode_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFNode field) -> int""" - return _coin.SoSFNode___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFNode field) -> int""" - return _coin.SoSFNode___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFNode_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFNode_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFNode_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoNode newvalue) - setValue(self, SoSFNode other) - """ - return _coin.SoSFNode_setValue(*args) - -SoSFNode_swigregister = _coin.SoSFNode_swigregister -SoSFNode_swigregister(SoSFNode) - -def SoSFNode_createInstance(*args): - """SoSFNode_createInstance() -> void""" - return _coin.SoSFNode_createInstance(*args) - -def SoSFNode_getClassTypeId(*args): - """SoSFNode_getClassTypeId() -> SoType""" - return _coin.SoSFNode_getClassTypeId(*args) - -def SoSFNode_initClass(*args): - """SoSFNode_initClass()""" - return _coin.SoSFNode_initClass(*args) - -SO_CATALOG_NAME_NOT_FOUND = _coin.SO_CATALOG_NAME_NOT_FOUND -class SoNodekitCatalog(object): - """Proxy of C++ SoNodekitCatalog class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoNodekitCatalog_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNodekitCatalog""" - this = _coin.new_SoNodekitCatalog(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodekitCatalog - __del__ = lambda self : None; - def getNumEntries(*args): - """getNumEntries(self) -> int""" - return _coin.SoNodekitCatalog_getNumEntries(*args) - - def getPartNumber(*args): - """getPartNumber(self, SbName name) -> int""" - return _coin.SoNodekitCatalog_getPartNumber(*args) - - def getName(*args): - """getName(self, int part) -> SbName""" - return _coin.SoNodekitCatalog_getName(*args) - - def getType(*args): - """ - getType(self, int part) -> SoType - getType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getType(*args) - - def getDefaultType(*args): - """ - getDefaultType(self, int part) -> SoType - getDefaultType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getDefaultType(*args) - - def isNullByDefault(*args): - """ - isNullByDefault(self, int part) -> SbBool - isNullByDefault(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isNullByDefault(*args) - - def isLeaf(*args): - """ - isLeaf(self, int part) -> SbBool - isLeaf(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isLeaf(*args) - - def getParentName(*args): - """ - getParentName(self, int part) -> SbName - getParentName(self, SbName name) -> SbName - """ - return _coin.SoNodekitCatalog_getParentName(*args) - - def getParentPartNumber(*args): - """ - getParentPartNumber(self, int part) -> int - getParentPartNumber(self, SbName name) -> int - """ - return _coin.SoNodekitCatalog_getParentPartNumber(*args) - - def getRightSiblingName(*args): - """ - getRightSiblingName(self, int part) -> SbName - getRightSiblingName(self, SbName name) -> SbName - """ - return _coin.SoNodekitCatalog_getRightSiblingName(*args) - - def getRightSiblingPartNumber(*args): - """ - getRightSiblingPartNumber(self, int part) -> int - getRightSiblingPartNumber(self, SbName name) -> int - """ - return _coin.SoNodekitCatalog_getRightSiblingPartNumber(*args) - - def isList(*args): - """ - isList(self, int part) -> SbBool - isList(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isList(*args) - - def getListContainerType(*args): - """ - getListContainerType(self, int part) -> SoType - getListContainerType(self, SbName name) -> SoType - """ - return _coin.SoNodekitCatalog_getListContainerType(*args) - - def getListItemTypes(*args): - """ - getListItemTypes(self, int part) -> SoTypeList - getListItemTypes(self, SbName name) -> SoTypeList - """ - return _coin.SoNodekitCatalog_getListItemTypes(*args) - - def isPublic(*args): - """ - isPublic(self, int part) -> SbBool - isPublic(self, SbName name) -> SbBool - """ - return _coin.SoNodekitCatalog_isPublic(*args) - - def clone(*args): - """clone(self, SoType type) -> SoNodekitCatalog""" - return _coin.SoNodekitCatalog_clone(*args) - - def addEntry(*args): - """ - addEntry(self, SbName name, SoType type, SoType defaulttype, SbBool isdefaultnull, - SbName parent, SbName rightsibling, - SbBool islist, SoType listcontainertype, - SoType listitemtype, SbBool ispublic) -> SbBool - """ - return _coin.SoNodekitCatalog_addEntry(*args) - - def addListItemType(*args): - """ - addListItemType(self, int part, SoType type) - addListItemType(self, SbName name, SoType type) - """ - return _coin.SoNodekitCatalog_addListItemType(*args) - - def narrowTypes(*args): - """narrowTypes(self, SbName name, SoType newtype, SoType newdefaulttype)""" - return _coin.SoNodekitCatalog_narrowTypes(*args) - - def setNullByDefault(*args): - """setNullByDefault(self, SbName name, SbBool nullbydefault)""" - return _coin.SoNodekitCatalog_setNullByDefault(*args) - - def recursiveSearch(*args): - """recursiveSearch(self, int part, SbName name, SoTypeList checked) -> SbBool""" - return _coin.SoNodekitCatalog_recursiveSearch(*args) - - def printCheck(*args): - """printCheck(self)""" - return _coin.SoNodekitCatalog_printCheck(*args) - -SoNodekitCatalog_swigregister = _coin.SoNodekitCatalog_swigregister -SoNodekitCatalog_swigregister(SoNodekitCatalog) - -def SoNodekitCatalog_initClass(*args): - """SoNodekitCatalog_initClass()""" - return _coin.SoNodekitCatalog_initClass(*args) - -class SoSFName(SoSField): - """Proxy of C++ SoSFName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFName""" - this = _coin.new_SoSFName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFName - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFName_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFName_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFName_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFName_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFName_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbName""" - return _coin.SoSFName_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFName field) -> int""" - return _coin.SoSFName___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFName field) -> int""" - return _coin.SoSFName___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFName_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbName newvalue) - setValue(self, char name) - setValue(self, SoSFName other) - """ - return _coin.SoSFName_setValue(*args) - -SoSFName_swigregister = _coin.SoSFName_swigregister -SoSFName_swigregister(SoSFName) - -def SoSFName_createInstance(*args): - """SoSFName_createInstance() -> void""" - return _coin.SoSFName_createInstance(*args) - -def SoSFName_getClassTypeId(*args): - """SoSFName_getClassTypeId() -> SoType""" - return _coin.SoSFName_getClassTypeId(*args) - -def SoSFName_initClass(*args): - """SoSFName_initClass()""" - return _coin.SoSFName_initClass(*args) - -class SoMFName(SoMField): - """Proxy of C++ SoMFName class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFName""" - this = _coin.new_SoMFName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFName - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFName_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFName_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFName_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFName_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFName_isSame(*args) - - def find(*args): - """ - find(self, SbName value, SbBool addifnotfound=0) -> int - find(self, SbName value) -> int - """ - return _coin.SoMFName_find(*args) - - def set1Value(*args): - """set1Value(self, int idx, SbName value)""" - return _coin.SoMFName_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFName field) -> SbBool""" - return _coin.SoMFName___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFName field) -> SbBool""" - return _coin.SoMFName___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbName""" - return _coin.SoMFName_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFName_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFName_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFName_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFName_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFName_setValues,args) - - - def __getitem__(*args): - """__getitem__(self, int i) -> SbName""" - return _coin.SoMFName___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbName value)""" - return _coin.SoMFName___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbName value) - setValue(self, char str) - setValue(self, SoMFName other) - """ - return _coin.SoMFName_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbName - getValues(self, int len) -> SbName - """ - return _coin.SoMFName_getValues(*args) - -SoMFName_swigregister = _coin.SoMFName_swigregister -SoMFName_swigregister(SoMFName) - -def SoMFName_createInstance(*args): - """SoMFName_createInstance() -> void""" - return _coin.SoMFName_createInstance(*args) - -def SoMFName_getClassTypeId(*args): - """SoMFName_getClassTypeId() -> SoType""" - return _coin.SoMFName_getClassTypeId(*args) - -def SoMFName_initClass(*args): - """SoMFName_initClass()""" - return _coin.SoMFName_initClass(*args) - -class SoNodeKitListPart(SoNode): - """Proxy of C++ SoNodeKitListPart class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeKitListPart_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNodeKitListPart_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNodeKitListPart_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNodeKitListPart""" - this = _coin.new_SoNodeKitListPart(*args) - try: self.this.append(this) - except: self.this = this - def getContainerType(*args): - """getContainerType(self) -> SoType""" - return _coin.SoNodeKitListPart_getContainerType(*args) - - def setContainerType(*args): - """setContainerType(self, SoType newContainerType)""" - return _coin.SoNodeKitListPart_setContainerType(*args) - - def getChildTypes(*args): - """getChildTypes(self) -> SoTypeList""" - return _coin.SoNodeKitListPart_getChildTypes(*args) - - def addChildType(*args): - """addChildType(self, SoType typeToAdd)""" - return _coin.SoNodeKitListPart_addChildType(*args) - - def isTypePermitted(*args): - """isTypePermitted(self, SoType typeToCheck) -> SbBool""" - return _coin.SoNodeKitListPart_isTypePermitted(*args) - - def isChildPermitted(*args): - """isChildPermitted(self, SoNode child) -> SbBool""" - return _coin.SoNodeKitListPart_isChildPermitted(*args) - - def containerSet(*args): - """containerSet(self, char fieldDataString)""" - return _coin.SoNodeKitListPart_containerSet(*args) - - def lockTypes(*args): - """lockTypes(self)""" - return _coin.SoNodeKitListPart_lockTypes(*args) - - def isTypeLocked(*args): - """isTypeLocked(self) -> SbBool""" - return _coin.SoNodeKitListPart_isTypeLocked(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoNodeKitListPart_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int childIndex)""" - return _coin.SoNodeKitListPart_insertChild(*args) - - def getChild(*args): - """getChild(self, int index) -> SoNode""" - return _coin.SoNodeKitListPart_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoNodeKitListPart_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoNodeKitListPart_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int index) - removeChild(self, SoNode child) - """ - return _coin.SoNodeKitListPart_removeChild(*args) - - def replaceChild(*args): - """ - replaceChild(self, int index, SoNode newChild) - replaceChild(self, SoNode oldChild, SoNode newChild) - """ - return _coin.SoNodeKitListPart_replaceChild(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoNodeKitListPart_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNodeKitListPart_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNodeKitListPart_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNodeKitListPart_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNodeKitListPart_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoNodeKitListPart_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoNodeKitListPart_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNodeKitListPart_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoNodeKitListPart_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNodeKitListPart_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoNodeKitListPart_getChildren(*args) - -SoNodeKitListPart_swigregister = _coin.SoNodeKitListPart_swigregister -SoNodeKitListPart_swigregister(SoNodeKitListPart) - -def SoNodeKitListPart_getClassTypeId(*args): - """SoNodeKitListPart_getClassTypeId() -> SoType""" - return _coin.SoNodeKitListPart_getClassTypeId(*args) - -def SoNodeKitListPart_initClass(*args): - """SoNodeKitListPart_initClass()""" - return _coin.SoNodeKitListPart_initClass(*args) - -class SoNodeKitPath(SoPath): - """Proxy of C++ SoNodeKitPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getLength(*args): - """getLength(self) -> int""" - return _coin.SoNodeKitPath_getLength(*args) - - def getTail(*args): - """getTail(self) -> SoNode""" - return _coin.SoNodeKitPath_getTail(*args) - - def getNode(*args): - """getNode(self, int idx) -> SoNode""" - return _coin.SoNodeKitPath_getNode(*args) - - def getNodeFromTail(*args): - """getNodeFromTail(self, int idx) -> SoNode""" - return _coin.SoNodeKitPath_getNodeFromTail(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoNodeKitPath_truncate(*args) - - def pop(*args): - """pop(self)""" - return _coin.SoNodeKitPath_pop(*args) - - def append(*args): - """ - append(self, SoBaseKit childKit) - append(self, SoNodeKitPath fromPath) - """ - return _coin.SoNodeKitPath_append(*args) - - def containsNode(*args): - """containsNode(self, SoBaseKit node) -> SbBool""" - return _coin.SoNodeKitPath_containsNode(*args) - - def findFork(*args): - """findFork(self, SoNodeKitPath path) -> int""" - return _coin.SoNodeKitPath_findFork(*args) - - def __iter__(self): - for i in range(self.getLength()): - yield self.getNode(i) - - def index(self): - for i in range(self.getLength()): - yield self.getIndex(i) - - def __eq__(*args): - """__eq__(self, SoNodeKitPath u) -> int""" - return _coin.SoNodeKitPath___eq__(*args) - - def __nq__(*args): - """__nq__(self, SoNodeKitPath u) -> int""" - return _coin.SoNodeKitPath___nq__(*args) - -SoNodeKitPath_swigregister = _coin.SoNodeKitPath_swigregister -SoNodeKitPath_swigregister(SoNodeKitPath) - -class SoChildList(SoNodeList): - """Proxy of C++ SoChildList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoNode parent) -> SoChildList - __init__(self, SoNode parent, int size) -> SoChildList - __init__(self, SoNode parent, SoChildList cl) -> SoChildList - """ - this = _coin.new_SoChildList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoChildList - __del__ = lambda self : None; - def append(*args): - """append(self, SoNode node)""" - return _coin.SoChildList_append(*args) - - def insert(*args): - """insert(self, SoNode ptr, int addbefore)""" - return _coin.SoChildList_insert(*args) - - def remove(*args): - """remove(self, int index)""" - return _coin.SoChildList_remove(*args) - - def truncate(*args): - """truncate(self, int length)""" - return _coin.SoChildList_truncate(*args) - - def copy(*args): - """copy(self, SoChildList cl)""" - return _coin.SoChildList_copy(*args) - - def set(*args): - """set(self, int index, SoNode node)""" - return _coin.SoChildList_set(*args) - - def traverseInPath(*args): - """traverseInPath(self, SoAction action, int numindices, int indices)""" - return _coin.SoChildList_traverseInPath(*args) - - def traverse(*args): - """ - traverse(self, SoAction action) - traverse(self, SoAction action, int index) - traverse(self, SoAction action, SoNode node) - traverse(self, SoAction action, int first, int last) - """ - return _coin.SoChildList_traverse(*args) - - def addPathAuditor(*args): - """addPathAuditor(self, SoPath path)""" - return _coin.SoChildList_addPathAuditor(*args) - - def removePathAuditor(*args): - """removePathAuditor(self, SoPath path)""" - return _coin.SoChildList_removePathAuditor(*args) - -SoChildList_swigregister = _coin.SoChildList_swigregister -SoChildList_swigregister(SoChildList) - -class SoBaseKit(SoNode): - """Proxy of C++ SoBaseKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBaseKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBaseKit_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBaseKit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBaseKit""" - this = _coin.new_SoBaseKit(*args) - try: self.this.append(this) - except: self.this = this - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoBaseKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoBaseKit_getNodekitCatalog(*args) - - def getPart(*args): - """getPart(self, SbName partname, SbBool makeifneeded) -> SoNode""" - return _coin.SoBaseKit_getPart(*args) - - def getPartString(*args): - """getPartString(self, SoBase part) -> SbString""" - return _coin.SoBaseKit_getPartString(*args) - - def createPathToPart(*args): - """ - createPathToPart(self, SbName partname, SbBool makeifneeded, SoPath pathtoextend=None) -> SoNodeKitPath - createPathToPart(self, SbName partname, SbBool makeifneeded) -> SoNodeKitPath - """ - return _coin.SoBaseKit_createPathToPart(*args) - - def setPart(*args): - """setPart(self, SbName partname, SoNode from) -> SbBool""" - return _coin.SoBaseKit_setPart(*args) - - def set(*args): - """ - set(self, char namevaluepairliststring) -> SbBool - set(self, char partnamestring, char parameterstring) -> SbBool - """ - return _coin.SoBaseKit_set(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBaseKit_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBaseKit_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBaseKit_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoBaseKit_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoBaseKit_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoBaseKit_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoBaseKit_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoBaseKit_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoBaseKit_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoBaseKit_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoBaseKit_getChildren(*args) - - def printDiagram(*args): - """printDiagram(self)""" - return _coin.SoBaseKit_printDiagram(*args) - - def printSubDiagram(*args): - """printSubDiagram(self, SbName rootname, int level)""" - return _coin.SoBaseKit_printSubDiagram(*args) - - def printTable(*args): - """printTable(self)""" - return _coin.SoBaseKit_printTable(*args) - - def addWriteReference(*args): - """ - addWriteReference(self, SoOutput out, SbBool isfromfield=0) - addWriteReference(self, SoOutput out) - """ - return _coin.SoBaseKit_addWriteReference(*args) - - def forceChildDrivenWriteRefs(*args): - """forceChildDrivenWriteRefs(self, SoOutput out) -> SbBool""" - return _coin.SoBaseKit_forceChildDrivenWriteRefs(*args) - - def isSearchingChildren(*args): - """isSearchingChildren() -> SbBool""" - return _coin.SoBaseKit_isSearchingChildren(*args) - - isSearchingChildren = staticmethod(isSearchingChildren) - def setSearchingChildren(*args): - """setSearchingChildren(SbBool newval)""" - return _coin.SoBaseKit_setSearchingChildren(*args) - - setSearchingChildren = staticmethod(setSearchingChildren) - def typeCheck(*args): - """typeCheck(SbName partname, SoType parttype, SoNode node) -> SoNode""" - return _coin.SoBaseKit_typeCheck(*args) - - typeCheck = staticmethod(typeCheck) - def __getattr__(self,name): - c = _coin.SoBaseKit_getNodekitCatalog(self) - if c.getPartNumber(name) >= 0: - part = self.getPart(name,1) - return part - return SoNode.__getattr__(self, name) - - def __setattr__(self,name,value): - if name == 'this': - return SoNode.__setattr__(self,name,value) - c = _coin.SoBaseKit_getNodekitCatalog(self) - if c.getPartNumber(name) >= 0: - return self.setPart(name, value) - return SoNode.__setattr__(self,name,value) - -SoBaseKit_swigregister = _coin.SoBaseKit_swigregister -SoBaseKit_swigregister(SoBaseKit) - -def SoBaseKit_getClassTypeId(*args): - """SoBaseKit_getClassTypeId() -> SoType""" - return _coin.SoBaseKit_getClassTypeId(*args) - -def SoBaseKit_initClass(*args): - """SoBaseKit_initClass()""" - return _coin.SoBaseKit_initClass(*args) - -def SoBaseKit_getClassNodekitCatalog(*args): - """SoBaseKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoBaseKit_getClassNodekitCatalog(*args) - -def SoBaseKit_isSearchingChildren(*args): - """SoBaseKit_isSearchingChildren() -> SbBool""" - return _coin.SoBaseKit_isSearchingChildren(*args) - -def SoBaseKit_setSearchingChildren(*args): - """SoBaseKit_setSearchingChildren(SbBool newval)""" - return _coin.SoBaseKit_setSearchingChildren(*args) - -def SoBaseKit_typeCheck(*args): - """SoBaseKit_typeCheck(SbName partname, SoType parttype, SoNode node) -> SoNode""" - return _coin.SoBaseKit_typeCheck(*args) - -class SoSensor(object): - """Proxy of C++ SoSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoSensor - __del__ = lambda self : None; - def setFunction(*args): - """setFunction(self, SoSensorCB callbackfunction)""" - return _coin.SoSensor_setFunction(*args) - - def getFunction(*args): - """getFunction(self) -> SoSensorCBPtr""" - return _coin.SoSensor_getFunction(*args) - - def setData(*args): - """setData(self, void callbackdata)""" - return _coin.SoSensor_setData(*args) - - def getData(*args): - """getData(self) -> void""" - return _coin.SoSensor_getData(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoSensor_isScheduled(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoSensor_trigger(*args) - - def isBefore(*args): - """isBefore(self, SoSensor s) -> SbBool""" - return _coin.SoSensor_isBefore(*args) - - def setNextInQueue(*args): - """setNextInQueue(self, SoSensor next)""" - return _coin.SoSensor_setNextInQueue(*args) - - def getNextInQueue(*args): - """getNextInQueue(self) -> SoSensor""" - return _coin.SoSensor_getNextInQueue(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoSensor_swigregister = _coin.SoSensor_swigregister -SoSensor_swigregister(SoSensor) - -def SoSensor_initClass(*args): - """SoSensor_initClass()""" - return _coin.SoSensor_initClass(*args) - -class SoDelayQueueSensor(SoSensor): - """Proxy of C++ SoDelayQueueSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoDelayQueueSensor *")) - newobj = apply(_coin.new_SoDelayQueueSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoDelayQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoDelayQueueSensor - __del__ = lambda self : None; - def setPriority(*args): - """setPriority(self, uint32_t pri)""" - return _coin.SoDelayQueueSensor_setPriority(*args) - - def getPriority(*args): - """getPriority(self) -> uint32_t""" - return _coin.SoDelayQueueSensor_getPriority(*args) - - def getDefaultPriority(*args): - """getDefaultPriority() -> uint32_t""" - return _coin.SoDelayQueueSensor_getDefaultPriority(*args) - - getDefaultPriority = staticmethod(getDefaultPriority) - def schedule(*args): - """schedule(self)""" - return _coin.SoDelayQueueSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoDelayQueueSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoDelayQueueSensor_isScheduled(*args) - - def isIdleOnly(*args): - """isIdleOnly(self) -> SbBool""" - return _coin.SoDelayQueueSensor_isIdleOnly(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoDelayQueueSensor_trigger(*args) - -SoDelayQueueSensor_swigregister = _coin.SoDelayQueueSensor_swigregister -SoDelayQueueSensor_swigregister(SoDelayQueueSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoDelayQueueSensor *")) - newobj = apply(_coin.new_SoDelayQueueSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoDelayQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -def SoDelayQueueSensor_getDefaultPriority(*args): - """SoDelayQueueSensor_getDefaultPriority() -> uint32_t""" - return _coin.SoDelayQueueSensor_getDefaultPriority(*args) - -class SoDataSensor(SoDelayQueueSensor): - """Proxy of C++ SoDataSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _coin.delete_SoDataSensor - __del__ = lambda self : None; - def setDeleteCallback(*args): - """ - setDeleteCallback(self, SoSensorCB function, void data=None) - setDeleteCallback(self, SoSensorCB function) - """ - return _coin.SoDataSensor_setDeleteCallback(*args) - - def getTriggerNode(*args): - """getTriggerNode(self) -> SoNode""" - return _coin.SoDataSensor_getTriggerNode(*args) - - def getTriggerField(*args): - """getTriggerField(self) -> SoField""" - return _coin.SoDataSensor_getTriggerField(*args) - - def getTriggerPath(*args): - """getTriggerPath(self) -> SoPath""" - return _coin.SoDataSensor_getTriggerPath(*args) - - def setTriggerPathFlag(*args): - """setTriggerPathFlag(self, SbBool flag)""" - return _coin.SoDataSensor_setTriggerPathFlag(*args) - - def getTriggerPathFlag(*args): - """getTriggerPathFlag(self) -> SbBool""" - return _coin.SoDataSensor_getTriggerPathFlag(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoDataSensor_trigger(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoDataSensor_notify(*args) - - def dyingReference(*args): - """dyingReference(self)""" - return _coin.SoDataSensor_dyingReference(*args) - -SoDataSensor_swigregister = _coin.SoDataSensor_swigregister -SoDataSensor_swigregister(SoDataSensor) - -class SoFieldSensor(SoDataSensor): - """Proxy of C++ SoFieldSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoFieldSensor *")) - newobj = apply(_coin.new_SoFieldSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoFieldSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoFieldSensor - __del__ = lambda self : None; - def attach(*args): - """attach(self, SoField field)""" - return _coin.SoFieldSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoFieldSensor_detach(*args) - - def getAttachedField(*args): - """getAttachedField(self) -> SoField""" - return _coin.SoFieldSensor_getAttachedField(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoFieldSensor_trigger(*args) - -SoFieldSensor_swigregister = _coin.SoFieldSensor_swigregister -SoFieldSensor_swigregister(SoFieldSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoFieldSensor *")) - newobj = apply(_coin.new_SoFieldSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoFieldSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoInteractionKit(SoBaseKit): - """Proxy of C++ SoInteractionKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInteractionKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInteractionKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getNodekitCatalog(*args) - - renderCaching = _swig_property(_coin.SoInteractionKit_renderCaching_get, _coin.SoInteractionKit_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoInteractionKit_boundingBoxCaching_get, _coin.SoInteractionKit_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoInteractionKit_renderCulling_get, _coin.SoInteractionKit_renderCulling_set) - pickCulling = _swig_property(_coin.SoInteractionKit_pickCulling_get, _coin.SoInteractionKit_pickCulling_set) - def __init__(self, *args): - """__init__(self) -> SoInteractionKit""" - this = _coin.new_SoInteractionKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInteractionKit_initClass(*args) - - initClass = staticmethod(initClass) - OFF = _coin.SoInteractionKit_OFF - ON = _coin.SoInteractionKit_ON - AUTO = _coin.SoInteractionKit_AUTO - def setPartAsPath(*args): - """setPartAsPath(self, SbName partname, SoPath path) -> SbBool""" - return _coin.SoInteractionKit_setPartAsPath(*args) - - def setPartAsDefault(*args): - """ - setPartAsDefault(self, SbName partname, SoNode node, SbBool onlyifdefault=1) -> SbBool - setPartAsDefault(self, SbName partname, SoNode node) -> SbBool - setPartAsDefault(self, SbName partname, SbName nodename, SbBool onlyifdefault=1) -> SbBool - setPartAsDefault(self, SbName partname, SbName nodename) -> SbBool - """ - return _coin.SoInteractionKit_setPartAsDefault(*args) - - def isPathSurrogateInMySubgraph(*args): - """ - isPathSurrogateInMySubgraph(self, SoPath path, SoPath pathToOwner, SbName surrogatename, - SoPath surrogatepath, SbBool fillargs=1) -> SbBool - isPathSurrogateInMySubgraph(self, SoPath path, SoPath pathToOwner, SbName surrogatename, - SoPath surrogatepath) -> SbBool - isPathSurrogateInMySubgraph(self, SoPath path) -> SbBool - """ - return _coin.SoInteractionKit_isPathSurrogateInMySubgraph(*args) - - def setSwitchValue(*args): - """setSwitchValue(SoNode node, int newVal)""" - return _coin.SoInteractionKit_setSwitchValue(*args) - - setSwitchValue = staticmethod(setSwitchValue) - def setPart(*args): - """setPart(self, SbName partname, SoNode from) -> SbBool""" - return _coin.SoInteractionKit_setPart(*args) - -SoInteractionKit_swigregister = _coin.SoInteractionKit_swigregister -SoInteractionKit_swigregister(SoInteractionKit) - -def SoInteractionKit_getClassTypeId(*args): - """SoInteractionKit_getClassTypeId() -> SoType""" - return _coin.SoInteractionKit_getClassTypeId(*args) - -def SoInteractionKit_getClassNodekitCatalog(*args): - """SoInteractionKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoInteractionKit_getClassNodekitCatalog(*args) - -def SoInteractionKit_initClass(*args): - """SoInteractionKit_initClass()""" - return _coin.SoInteractionKit_initClass(*args) - -def SoInteractionKit_setSwitchValue(*args): - """SoInteractionKit_setSwitchValue(SoNode node, int newVal)""" - return _coin.SoInteractionKit_setSwitchValue(*args) - -class SoSFBool(SoSField): - """Proxy of C++ SoSFBool class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBool""" - this = _coin.new_SoSFBool(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBool - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBool_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBool_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBool_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBool_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBool_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbBool""" - return _coin.SoSFBool_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFBool field) -> int""" - return _coin.SoSFBool___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBool field) -> int""" - return _coin.SoSFBool___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBool_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBool newvalue) - setValue(self, SoSFBool other) - """ - return _coin.SoSFBool_setValue(*args) - -SoSFBool_swigregister = _coin.SoSFBool_swigregister -SoSFBool_swigregister(SoSFBool) - -def SoSFBool_createInstance(*args): - """SoSFBool_createInstance() -> void""" - return _coin.SoSFBool_createInstance(*args) - -def SoSFBool_getClassTypeId(*args): - """SoSFBool_getClassTypeId() -> SoType""" - return _coin.SoSFBool_getClassTypeId(*args) - -def SoSFBool_initClass(*args): - """SoSFBool_initClass()""" - return _coin.SoSFBool_initClass(*args) - -class SoCallbackList(object): - """Proxy of C++ SoCallbackList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoCallbackList""" - this = _coin.new_SoCallbackList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoCallbackList - __del__ = lambda self : None; - def addCallback(*args): - """ - addCallback(self, SoCallbackListCB f, void userData=None) - addCallback(self, SoCallbackListCB f) - """ - return _coin.SoCallbackList_addCallback(*args) - - def removeCallback(*args): - """ - removeCallback(self, SoCallbackListCB f, void userdata=None) - removeCallback(self, SoCallbackListCB f) - """ - return _coin.SoCallbackList_removeCallback(*args) - - def clearCallbacks(*args): - """clearCallbacks(self)""" - return _coin.SoCallbackList_clearCallbacks(*args) - - def getNumCallbacks(*args): - """getNumCallbacks(self) -> int""" - return _coin.SoCallbackList_getNumCallbacks(*args) - - def invokeCallbacks(*args): - """invokeCallbacks(self, void callbackdata)""" - return _coin.SoCallbackList_invokeCallbacks(*args) - -SoCallbackList_swigregister = _coin.SoCallbackList_swigregister -SoCallbackList_swigregister(SoCallbackList) - -class SbVec3d(object): - """Proxy of C++ SbVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec3d - __init__(self, double v) -> SbVec3d - __init__(self, double x, double y, double z) -> SbVec3d - __init__(self, SbVec3f v) -> SbVec3d - """ - this = _coin.new_SbVec3d(*args) - try: self.this.append(this) - except: self.this = this - def cross(*args): - """cross(self, SbVec3d v) -> SbVec3d""" - return _coin.SbVec3d_cross(*args) - - def dot(*args): - """dot(self, SbVec3d v) -> double""" - return _coin.SbVec3d_dot(*args) - - def equals(*args): - """equals(self, SbVec3d v, double tolerance) -> SbBool""" - return _coin.SbVec3d_equals(*args) - - def getClosestAxis(*args): - """getClosestAxis(self) -> SbVec3d""" - return _coin.SbVec3d_getClosestAxis(*args) - - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbVec3d_getValue(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec3d_length(*args) - - def sqrLength(*args): - """sqrLength(self) -> double""" - return _coin.SbVec3d_sqrLength(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec3d_negate(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec3d_normalize(*args) - - def setValue(*args): - """ - setValue(self, double v) -> SbVec3d - setValue(self, double x, double y, double z) -> SbVec3d - setValue(self, SbVec3d barycentric, SbVec3d v0, SbVec3d v1, SbVec3d v2) -> SbVec3d - setValue(self, SbVec3f v) -> SbVec3d - """ - return _coin.SbVec3d_setValue(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec3d""" - return _coin.SbVec3d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec3d_output(*args) - - def __add__(*args): - """__add__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbVec3d___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, double d) -> SbVec3d - __mul__(self, SbDPMatrix m) -> SbVec3d - """ - return _coin.SbVec3d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec3d""" - return _coin.SbVec3d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec3d u) -> int""" - return _coin.SbVec3d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec3d u) -> int""" - return _coin.SbVec3d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec3d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec3d___setitem__(*args) - - def __iter__(self): - for i in range(3): - yield self[i] - - def __len__(self): - return 3 - - __swig_destroy__ = _coin.delete_SbVec3d - __del__ = lambda self : None; -SbVec3d_swigregister = _coin.SbVec3d_swigregister -SbVec3d_swigregister(SbVec3d) - -class SbDPViewVolume(object): - """Proxy of C++ SbDPViewVolume class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ORTHOGRAPHIC = _coin.SbDPViewVolume_ORTHOGRAPHIC - PERSPECTIVE = _coin.SbDPViewVolume_PERSPECTIVE - def __init__(self, *args): - """__init__(self) -> SbDPViewVolume""" - this = _coin.new_SbDPViewVolume(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDPViewVolume - __del__ = lambda self : None; - def getMatrices(*args): - """getMatrices(self, SbDPMatrix affine, SbDPMatrix proj)""" - return _coin.SbDPViewVolume_getMatrices(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbDPMatrix""" - return _coin.SbDPViewVolume_getMatrix(*args) - - def getCameraSpaceMatrix(*args): - """getCameraSpaceMatrix(self) -> SbDPMatrix""" - return _coin.SbDPViewVolume_getCameraSpaceMatrix(*args) - - def projectPointToLine(*args): - """ - projectPointToLine(self, SbVec2d pt, SbDPLine line) - projectPointToLine(self, SbVec2d pt, SbVec3d line0, SbVec3d line1) - """ - return _coin.SbDPViewVolume_projectPointToLine(*args) - - def projectToScreen(*args): - """projectToScreen(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPViewVolume_projectToScreen(*args) - - def getPlane(*args): - """getPlane(self, double distFromEye) -> SbPlane""" - return _coin.SbDPViewVolume_getPlane(*args) - - def getSightPoint(*args): - """getSightPoint(self, double distFromEye) -> SbVec3d""" - return _coin.SbDPViewVolume_getSightPoint(*args) - - def getPlanePoint(*args): - """getPlanePoint(self, double distFromEye, SbVec2d normPoint) -> SbVec3d""" - return _coin.SbDPViewVolume_getPlanePoint(*args) - - def getAlignRotation(*args): - """ - getAlignRotation(self, SbBool rightAngleOnly=0) -> SbDPRotation - getAlignRotation(self) -> SbDPRotation - """ - return _coin.SbDPViewVolume_getAlignRotation(*args) - - def getWorldToScreenScale(*args): - """getWorldToScreenScale(self, SbVec3d worldCenter, double normRadius) -> double""" - return _coin.SbDPViewVolume_getWorldToScreenScale(*args) - - def projectBox(*args): - """projectBox(self, SbBox3f box) -> SbVec2d""" - return _coin.SbDPViewVolume_projectBox(*args) - - def narrow(*args): - """ - narrow(self, double left, double bottom, double right, double top) -> SbDPViewVolume - narrow(self, SbBox3f box) -> SbDPViewVolume - """ - return _coin.SbDPViewVolume_narrow(*args) - - def ortho(*args): - """ - ortho(self, double left, double right, double bottom, double top, - double nearval, double farval) - """ - return _coin.SbDPViewVolume_ortho(*args) - - def perspective(*args): - """perspective(self, double fovy, double aspect, double nearval, double farval)""" - return _coin.SbDPViewVolume_perspective(*args) - - def frustum(*args): - """ - frustum(self, double left, double right, double bottom, double top, - double nearval, double farval) - """ - return _coin.SbDPViewVolume_frustum(*args) - - def rotateCamera(*args): - """rotateCamera(self, SbDPRotation q)""" - return _coin.SbDPViewVolume_rotateCamera(*args) - - def translateCamera(*args): - """translateCamera(self, SbVec3d v)""" - return _coin.SbDPViewVolume_translateCamera(*args) - - def zVector(*args): - """zVector(self) -> SbVec3d""" - return _coin.SbDPViewVolume_zVector(*args) - - def zNarrow(*args): - """zNarrow(self, double nearval, double farval) -> SbDPViewVolume""" - return _coin.SbDPViewVolume_zNarrow(*args) - - def scale(*args): - """scale(self, double factor)""" - return _coin.SbDPViewVolume_scale(*args) - - def scaleWidth(*args): - """scaleWidth(self, double ratio)""" - return _coin.SbDPViewVolume_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, double ratio)""" - return _coin.SbDPViewVolume_scaleHeight(*args) - - def getProjectionType(*args): - """getProjectionType(self) -> ProjectionType""" - return _coin.SbDPViewVolume_getProjectionType(*args) - - def getProjectionPoint(*args): - """getProjectionPoint(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getProjectionPoint(*args) - - def getProjectionDirection(*args): - """getProjectionDirection(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getProjectionDirection(*args) - - def getNearDist(*args): - """getNearDist(self) -> double""" - return _coin.SbDPViewVolume_getNearDist(*args) - - def getWidth(*args): - """getWidth(self) -> double""" - return _coin.SbDPViewVolume_getWidth(*args) - - def getHeight(*args): - """getHeight(self) -> double""" - return _coin.SbDPViewVolume_getHeight(*args) - - def getDepth(*args): - """getDepth(self) -> double""" - return _coin.SbDPViewVolume_getDepth(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPViewVolume_output(*args) - - def getViewVolumePlanes(*args): - """getViewVolumePlanes(self, SbPlane planes)""" - return _coin.SbDPViewVolume_getViewVolumePlanes(*args) - - def transform(*args): - """transform(self, SbDPMatrix matrix)""" - return _coin.SbDPViewVolume_transform(*args) - - def getViewUp(*args): - """getViewUp(self) -> SbVec3d""" - return _coin.SbDPViewVolume_getViewUp(*args) - - def copyValues(*args): - """copyValues(self, SbViewVolume vv)""" - return _coin.SbDPViewVolume_copyValues(*args) - -SbDPViewVolume_swigregister = _coin.SbDPViewVolume_swigregister -SbDPViewVolume_swigregister(SbDPViewVolume) - -class SbViewVolume(object): - """Proxy of C++ SbViewVolume class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ORTHOGRAPHIC = _coin.SbViewVolume_ORTHOGRAPHIC - PERSPECTIVE = _coin.SbViewVolume_PERSPECTIVE - def __init__(self, *args): - """__init__(self) -> SbViewVolume""" - this = _coin.new_SbViewVolume(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbViewVolume - __del__ = lambda self : None; - def getMatrices(*args): - """getMatrices(self, SbMatrix affine, SbMatrix proj)""" - return _coin.SbViewVolume_getMatrices(*args) - - def getMatrix(*args): - """getMatrix(self) -> SbMatrix""" - return _coin.SbViewVolume_getMatrix(*args) - - def getCameraSpaceMatrix(*args): - """getCameraSpaceMatrix(self) -> SbMatrix""" - return _coin.SbViewVolume_getCameraSpaceMatrix(*args) - - def getPlane(*args): - """getPlane(self, float distFromEye) -> SbPlane""" - return _coin.SbViewVolume_getPlane(*args) - - def getSightPoint(*args): - """getSightPoint(self, float distFromEye) -> SbVec3f""" - return _coin.SbViewVolume_getSightPoint(*args) - - def getPlanePoint(*args): - """getPlanePoint(self, float distFromEye, SbVec2f normPoint) -> SbVec3f""" - return _coin.SbViewVolume_getPlanePoint(*args) - - def getAlignRotation(*args): - """ - getAlignRotation(self, SbBool rightAngleOnly=0) -> SbRotation - getAlignRotation(self) -> SbRotation - """ - return _coin.SbViewVolume_getAlignRotation(*args) - - def getWorldToScreenScale(*args): - """getWorldToScreenScale(self, SbVec3f worldCenter, float normRadius) -> float""" - return _coin.SbViewVolume_getWorldToScreenScale(*args) - - def projectBox(*args): - """projectBox(self, SbBox3f box) -> SbVec2f""" - return _coin.SbViewVolume_projectBox(*args) - - def narrow(*args): - """ - narrow(self, float left, float bottom, float right, float top) -> SbViewVolume - narrow(self, SbBox3f box) -> SbViewVolume - """ - return _coin.SbViewVolume_narrow(*args) - - def ortho(*args): - """ - ortho(self, float left, float right, float bottom, float top, float nearval, - float farval) - """ - return _coin.SbViewVolume_ortho(*args) - - def perspective(*args): - """perspective(self, float fovy, float aspect, float nearval, float farval)""" - return _coin.SbViewVolume_perspective(*args) - - def frustum(*args): - """ - frustum(self, float left, float right, float bottom, float top, float nearval, - float farval) - """ - return _coin.SbViewVolume_frustum(*args) - - def rotateCamera(*args): - """rotateCamera(self, SbRotation q)""" - return _coin.SbViewVolume_rotateCamera(*args) - - def translateCamera(*args): - """translateCamera(self, SbVec3f v)""" - return _coin.SbViewVolume_translateCamera(*args) - - def zVector(*args): - """zVector(self) -> SbVec3f""" - return _coin.SbViewVolume_zVector(*args) - - def zNarrow(*args): - """zNarrow(self, float nearval, float farval) -> SbViewVolume""" - return _coin.SbViewVolume_zNarrow(*args) - - def scale(*args): - """scale(self, float factor)""" - return _coin.SbViewVolume_scale(*args) - - def scaleWidth(*args): - """scaleWidth(self, float ratio)""" - return _coin.SbViewVolume_scaleWidth(*args) - - def scaleHeight(*args): - """scaleHeight(self, float ratio)""" - return _coin.SbViewVolume_scaleHeight(*args) - - def getProjectionType(*args): - """getProjectionType(self) -> ProjectionType""" - return _coin.SbViewVolume_getProjectionType(*args) - - def getProjectionPoint(*args): - """getProjectionPoint(self) -> SbVec3f""" - return _coin.SbViewVolume_getProjectionPoint(*args) - - def getProjectionDirection(*args): - """getProjectionDirection(self) -> SbVec3f""" - return _coin.SbViewVolume_getProjectionDirection(*args) - - def getNearDist(*args): - """getNearDist(self) -> float""" - return _coin.SbViewVolume_getNearDist(*args) - - def getWidth(*args): - """getWidth(self) -> float""" - return _coin.SbViewVolume_getWidth(*args) - - def getHeight(*args): - """getHeight(self) -> float""" - return _coin.SbViewVolume_getHeight(*args) - - def getDepth(*args): - """getDepth(self) -> float""" - return _coin.SbViewVolume_getDepth(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbViewVolume_output(*args) - - def getViewVolumePlanes(*args): - """getViewVolumePlanes(self, SbPlane planes)""" - return _coin.SbViewVolume_getViewVolumePlanes(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbViewVolume_transform(*args) - - def getViewUp(*args): - """getViewUp(self) -> SbVec3f""" - return _coin.SbViewVolume_getViewUp(*args) - - def intersect(*args): - """ - intersect(self, SbVec3f p) -> SbBool - intersect(self, SbVec3f p0, SbVec3f p1, SbVec3f closestpoint) -> SbBool - intersect(self, SbBox3f box) -> SbBool - """ - return _coin.SbViewVolume_intersect(*args) - - def outsideTest(*args): - """outsideTest(self, SbPlane p, SbVec3f bmin, SbVec3f bmax) -> SbBool""" - return _coin.SbViewVolume_outsideTest(*args) - - type = _swig_property(_coin.SbViewVolume_type_get, _coin.SbViewVolume_type_set) - projPoint = _swig_property(_coin.SbViewVolume_projPoint_get, _coin.SbViewVolume_projPoint_set) - projDir = _swig_property(_coin.SbViewVolume_projDir_get, _coin.SbViewVolume_projDir_set) - nearDist = _swig_property(_coin.SbViewVolume_nearDist_get, _coin.SbViewVolume_nearDist_set) - nearToFar = _swig_property(_coin.SbViewVolume_nearToFar_get, _coin.SbViewVolume_nearToFar_set) - llf = _swig_property(_coin.SbViewVolume_llf_get, _coin.SbViewVolume_llf_set) - lrf = _swig_property(_coin.SbViewVolume_lrf_get, _coin.SbViewVolume_lrf_set) - ulf = _swig_property(_coin.SbViewVolume_ulf_get, _coin.SbViewVolume_ulf_set) - def projectPointToLine(*args): - """projectPointToLine() -> (SbVec3f, SbVec3f)""" - return _coin.SbViewVolume_projectPointToLine(*args) - - def projectToScreen(*args): - """projectToScreen() -> (SbVec3f, SbVec3f)""" - return _coin.SbViewVolume_projectToScreen(*args) - -SbViewVolume_swigregister = _coin.SbViewVolume_swigregister -SbViewVolume_swigregister(SbViewVolume) - -class SoSFVec3f(SoSField): - """Proxy of C++ SoSFVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3f""" - this = _coin.new_SoSFVec3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3f""" - return _coin.SoSFVec3f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3f field) -> int""" - return _coin.SoSFVec3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3f field) -> int""" - return _coin.SoSFVec3f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3f newvalue) - setValue(self, float x, float y, float z) - setValue(self, float xyz) - setValue(self, SoSFVec3f other) - """ - return _coin.SoSFVec3f_setValue(*args) - -SoSFVec3f_swigregister = _coin.SoSFVec3f_swigregister -SoSFVec3f_swigregister(SoSFVec3f) - -def SoSFVec3f_createInstance(*args): - """SoSFVec3f_createInstance() -> void""" - return _coin.SoSFVec3f_createInstance(*args) - -def SoSFVec3f_getClassTypeId(*args): - """SoSFVec3f_getClassTypeId() -> SoType""" - return _coin.SoSFVec3f_getClassTypeId(*args) - -def SoSFVec3f_initClass(*args): - """SoSFVec3f_initClass()""" - return _coin.SoSFVec3f_initClass(*args) - -class SoScale(SoTransformation): - """Proxy of C++ SoScale class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale""" - this = _coin.new_SoScale(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale_scaleFactor_get, _coin.SoScale_scaleFactor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoScale_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoScale_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoScale_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoScale_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoScale_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoScale_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoScale_getPrimitiveCount(*args) - -SoScale_swigregister = _coin.SoScale_swigregister -SoScale_swigregister(SoScale) - -def SoScale_getClassTypeId(*args): - """SoScale_getClassTypeId() -> SoType""" - return _coin.SoScale_getClassTypeId(*args) - -def SoScale_initClass(*args): - """SoScale_initClass()""" - return _coin.SoScale_initClass(*args) - -class SoDragger(SoInteractionKit): - """Proxy of C++ SoDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDragger_getNodekitCatalog(*args) - - isActive = _swig_property(_coin.SoDragger_isActive_get, _coin.SoDragger_isActive_set) - FRONT = _coin.SoDragger_FRONT - BACK = _coin.SoDragger_BACK - USE_PICK = _coin.SoDragger_USE_PICK - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDragger_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDragger_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoDragger_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoDragger_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoDragger_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoDragger_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoDragger_getPrimitiveCount(*args) - - def setMinGesture(*args): - """setMinGesture(self, int pixels)""" - return _coin.SoDragger_setMinGesture(*args) - - def getMinGesture(*args): - """getMinGesture(self) -> int""" - return _coin.SoDragger_getMinGesture(*args) - - def enableValueChangedCallbacks(*args): - """enableValueChangedCallbacks(self, SbBool newval) -> SbBool""" - return _coin.SoDragger_enableValueChangedCallbacks(*args) - - def getMotionMatrix(*args): - """getMotionMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getMotionMatrix(*args) - - def registerChildDragger(*args): - """registerChildDragger(self, SoDragger child)""" - return _coin.SoDragger_registerChildDragger(*args) - - def unregisterChildDragger(*args): - """unregisterChildDragger(self, SoDragger child)""" - return _coin.SoDragger_unregisterChildDragger(*args) - - def registerChildDraggerMovingIndependently(*args): - """registerChildDraggerMovingIndependently(self, SoDragger child)""" - return _coin.SoDragger_registerChildDraggerMovingIndependently(*args) - - def unregisterChildDraggerMovingIndependently(*args): - """unregisterChildDraggerMovingIndependently(self, SoDragger child)""" - return _coin.SoDragger_unregisterChildDraggerMovingIndependently(*args) - - def getLocalToWorldMatrix(*args): - """getLocalToWorldMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getLocalToWorldMatrix(*args) - - def getWorldToLocalMatrix(*args): - """getWorldToLocalMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getWorldToLocalMatrix(*args) - - def getLocalStartingPoint(*args): - """getLocalStartingPoint(self) -> SbVec3f""" - return _coin.SoDragger_getLocalStartingPoint(*args) - - def getWorldStartingPoint(*args): - """getWorldStartingPoint(self) -> SbVec3f""" - return _coin.SoDragger_getWorldStartingPoint(*args) - - def getPartToLocalMatrix(*args): - """getPartToLocalMatrix(self, SbName partname, SbMatrix parttolocalmatrix, SbMatrix localtopartmatrix)""" - return _coin.SoDragger_getPartToLocalMatrix(*args) - - def transformMatrixLocalToWorld(*args): - """transformMatrixLocalToWorld(self, SbMatrix frommatrix, SbMatrix tomatrix)""" - return _coin.SoDragger_transformMatrixLocalToWorld(*args) - - def transformMatrixWorldToLocal(*args): - """transformMatrixWorldToLocal(self, SbMatrix frommatrix, SbMatrix tomatrix)""" - return _coin.SoDragger_transformMatrixWorldToLocal(*args) - - def transformMatrixToLocalSpace(*args): - """transformMatrixToLocalSpace(self, SbMatrix frommatrix, SbMatrix tomatrix, SbName fromspacepartname)""" - return _coin.SoDragger_transformMatrixToLocalSpace(*args) - - def setMotionMatrix(*args): - """setMotionMatrix(self, SbMatrix newmatrix)""" - return _coin.SoDragger_setMotionMatrix(*args) - - def valueChanged(*args): - """valueChanged(self)""" - return _coin.SoDragger_valueChanged(*args) - - def getStartMotionMatrix(*args): - """getStartMotionMatrix(self) -> SbMatrix""" - return _coin.SoDragger_getStartMotionMatrix(*args) - - def saveStartParameters(*args): - """saveStartParameters(self)""" - return _coin.SoDragger_saveStartParameters(*args) - - def getPickPath(*args): - """getPickPath(self) -> SoPath""" - return _coin.SoDragger_getPickPath(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoDragger_getEvent(*args) - - def createPathToThis(*args): - """createPathToThis(self) -> SoPath""" - return _coin.SoDragger_createPathToThis(*args) - - def getSurrogatePartPickedOwner(*args): - """getSurrogatePartPickedOwner(self) -> SoPath""" - return _coin.SoDragger_getSurrogatePartPickedOwner(*args) - - def getSurrogatePartPickedName(*args): - """getSurrogatePartPickedName(self) -> SbName""" - return _coin.SoDragger_getSurrogatePartPickedName(*args) - - def getSurrogatePartPickedPath(*args): - """getSurrogatePartPickedPath(self) -> SoPath""" - return _coin.SoDragger_getSurrogatePartPickedPath(*args) - - def setStartingPoint(*args): - """ - setStartingPoint(self, SoPickedPoint newpoint) - setStartingPoint(self, SbVec3f newpoint) - """ - return _coin.SoDragger_setStartingPoint(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SoDragger_getViewVolume(*args) - - def setViewVolume(*args): - """setViewVolume(self, SbViewVolume vol)""" - return _coin.SoDragger_setViewVolume(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoDragger_getViewportRegion(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion reg)""" - return _coin.SoDragger_setViewportRegion(*args) - - def getHandleEventAction(*args): - """getHandleEventAction(self) -> SoHandleEventAction""" - return _coin.SoDragger_getHandleEventAction(*args) - - def setHandleEventAction(*args): - """setHandleEventAction(self, SoHandleEventAction newAction)""" - return _coin.SoDragger_setHandleEventAction(*args) - - def setTempPathToThis(*args): - """setTempPathToThis(self, SoPath somethingclose)""" - return _coin.SoDragger_setTempPathToThis(*args) - - def grabEventsSetup(*args): - """grabEventsSetup(self)""" - return _coin.SoDragger_grabEventsSetup(*args) - - def grabEventsCleanup(*args): - """grabEventsCleanup(self)""" - return _coin.SoDragger_grabEventsCleanup(*args) - - def workFieldsIntoTransform(*args): - """workFieldsIntoTransform(self, SbMatrix mtx)""" - return _coin.SoDragger_workFieldsIntoTransform(*args) - - def setFrontOnProjector(*args): - """setFrontOnProjector(self, ProjectorFrontSetting newval)""" - return _coin.SoDragger_setFrontOnProjector(*args) - - def getFrontOnProjector(*args): - """getFrontOnProjector(self) -> ProjectorFrontSetting""" - return _coin.SoDragger_getFrontOnProjector(*args) - - def setMinScale(*args): - """setMinScale(float newminscale)""" - return _coin.SoDragger_setMinScale(*args) - - setMinScale = staticmethod(setMinScale) - def getMinScale(*args): - """getMinScale() -> float""" - return _coin.SoDragger_getMinScale(*args) - - getMinScale = staticmethod(getMinScale) - def workValuesIntoTransform(*args): - """ - workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, - SbVec3f scalefactorptr, SbRotation scaleorientationptr, - SbVec3f centerptr) - """ - return _coin.SoDragger_workValuesIntoTransform(*args) - - workValuesIntoTransform = staticmethod(workValuesIntoTransform) - def getTransformFast(*args): - """ - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation, - SbVec3f center) - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation) - """ - return _coin.SoDragger_getTransformFast(*args) - - getTransformFast = staticmethod(getTransformFast) - def appendTranslation(*args): - """ - appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix - appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix - """ - return _coin.SoDragger_appendTranslation(*args) - - appendTranslation = staticmethod(appendTranslation) - def appendScale(*args): - """ - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix - """ - return _coin.SoDragger_appendScale(*args) - - appendScale = staticmethod(appendScale) - def appendRotation(*args): - """ - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix - """ - return _coin.SoDragger_appendRotation(*args) - - appendRotation = staticmethod(appendRotation) - def initClass(*args): - """initClass()""" - return _coin.SoDragger_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoDragger_initClasses(*args) - - initClasses = staticmethod(initClasses) - def addStartCallback(*args): - """ - addStartCallback(self, SoDraggerCB func, void data=None) - addStartCallback(self, SoDraggerCB func) - addStartCallback(self, PyObject pyfunc, PyObject data=None) - addStartCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addStartCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoDraggerCB func, void data=None) - removeStartCallback(self, SoDraggerCB func) - removeStartCallback(self, PyObject pyfunc, PyObject data=None) - removeStartCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeStartCallback(*args) - - def addMotionCallback(*args): - """ - addMotionCallback(self, SoDraggerCB func, void data=None) - addMotionCallback(self, SoDraggerCB func) - addMotionCallback(self, PyObject pyfunc, PyObject data=None) - addMotionCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addMotionCallback(*args) - - def removeMotionCallback(*args): - """ - removeMotionCallback(self, SoDraggerCB func, void data=None) - removeMotionCallback(self, SoDraggerCB func) - removeMotionCallback(self, PyObject pyfunc, PyObject data=None) - removeMotionCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeMotionCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoDraggerCB func, void data=None) - addFinishCallback(self, SoDraggerCB func) - addFinishCallback(self, PyObject pyfunc, PyObject data=None) - addFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addFinishCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoDraggerCB func, void data=None) - removeFinishCallback(self, SoDraggerCB func) - removeFinishCallback(self, PyObject pyfunc, PyObject data=None) - removeFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeFinishCallback(*args) - - def addValueChangedCallback(*args): - """ - addValueChangedCallback(self, SoDraggerCB func, void data=None) - addValueChangedCallback(self, SoDraggerCB func) - addValueChangedCallback(self, PyObject pyfunc, PyObject data=None) - addValueChangedCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addValueChangedCallback(*args) - - def removeValueChangedCallback(*args): - """ - removeValueChangedCallback(self, SoDraggerCB func, void data=None) - removeValueChangedCallback(self, SoDraggerCB func) - removeValueChangedCallback(self, PyObject pyfunc, PyObject data=None) - removeValueChangedCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeValueChangedCallback(*args) - - def addOtherEventCallback(*args): - """ - addOtherEventCallback(self, SoDraggerCB func, void data=None) - addOtherEventCallback(self, SoDraggerCB func) - addOtherEventCallback(self, PyObject pyfunc, PyObject data=None) - addOtherEventCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_addOtherEventCallback(*args) - - def removeOtherEventCallback(*args): - """ - removeOtherEventCallback(self, SoDraggerCB func, void data=None) - removeOtherEventCallback(self, SoDraggerCB func) - removeOtherEventCallback(self, PyObject pyfunc, PyObject data=None) - removeOtherEventCallback(self, PyObject pyfunc) - """ - return _coin.SoDragger_removeOtherEventCallback(*args) - -SoDragger_swigregister = _coin.SoDragger_swigregister -SoDragger_swigregister(SoDragger) - -def SoDragger_getClassTypeId(*args): - """SoDragger_getClassTypeId() -> SoType""" - return _coin.SoDragger_getClassTypeId(*args) - -def SoDragger_getClassNodekitCatalog(*args): - """SoDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragger_getClassNodekitCatalog(*args) - -def SoDragger_setMinScale(*args): - """SoDragger_setMinScale(float newminscale)""" - return _coin.SoDragger_setMinScale(*args) - -def SoDragger_getMinScale(*args): - """SoDragger_getMinScale() -> float""" - return _coin.SoDragger_getMinScale(*args) - -def SoDragger_workValuesIntoTransform(*args): - """ - SoDragger_workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, - SbVec3f scalefactorptr, SbRotation scaleorientationptr, - SbVec3f centerptr) - """ - return _coin.SoDragger_workValuesIntoTransform(*args) - -def SoDragger_getTransformFast(*args): - """ - getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation, - SbVec3f center) - SoDragger_getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, - SbVec3f scalefactor, SbRotation scaleorientation) - """ - return _coin.SoDragger_getTransformFast(*args) - -def SoDragger_appendTranslation(*args): - """ - appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix - """ - return _coin.SoDragger_appendTranslation(*args) - -def SoDragger_appendScale(*args): - """ - appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix - """ - return _coin.SoDragger_appendScale(*args) - -def SoDragger_appendRotation(*args): - """ - appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix - SoDragger_appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix - """ - return _coin.SoDragger_appendRotation(*args) - -def SoDragger_initClass(*args): - """SoDragger_initClass()""" - return _coin.SoDragger_initClass(*args) - -def SoDragger_initClasses(*args): - """SoDragger_initClasses()""" - return _coin.SoDragger_initClasses(*args) - -class SoSFRotation(SoSField): - """Proxy of C++ SoSFRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFRotation""" - this = _coin.new_SoSFRotation(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFRotation - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFRotation_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFRotation_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFRotation_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFRotation field) -> int""" - return _coin.SoSFRotation___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFRotation field) -> int""" - return _coin.SoSFRotation___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFRotation_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """ - getValue(self) -> SbRotation - getValue(self, SbVec3f axis, float angle) - """ - return _coin.SoSFRotation_getValue(*args) - - def setValue(*args): - """ - setValue(self, SbRotation newvalue) - setValue(self, float q0, float q1, float q2, float q3) - setValue(self, float q) - setValue(self, SbVec3f axis, float angle) - setValue(self, SoSFRotation other) - """ - return _coin.SoSFRotation_setValue(*args) - -SoSFRotation_swigregister = _coin.SoSFRotation_swigregister -SoSFRotation_swigregister(SoSFRotation) - -def SoSFRotation_createInstance(*args): - """SoSFRotation_createInstance() -> void""" - return _coin.SoSFRotation_createInstance(*args) - -def SoSFRotation_getClassTypeId(*args): - """SoSFRotation_getClassTypeId() -> SoType""" - return _coin.SoSFRotation_getClassTypeId(*args) - -def SoSFRotation_initClass(*args): - """SoSFRotation_initClass()""" - return _coin.SoSFRotation_initClass(*args) - -class SoCenterballDragger(SoDragger): - """Proxy of C++ SoCenterballDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCenterballDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCenterballDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCenterballDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCenterballDragger""" - this = _coin.new_SoCenterballDragger(*args) - try: self.this.append(this) - except: self.this = this - def saveStartParameters(*args): - """saveStartParameters(self)""" - return _coin.SoCenterballDragger_saveStartParameters(*args) - - rotation = _swig_property(_coin.SoCenterballDragger_rotation_get, _coin.SoCenterballDragger_rotation_set) - center = _swig_property(_coin.SoCenterballDragger_center_get, _coin.SoCenterballDragger_center_set) -SoCenterballDragger_swigregister = _coin.SoCenterballDragger_swigregister -SoCenterballDragger_swigregister(SoCenterballDragger) - -def SoCenterballDragger_getClassTypeId(*args): - """SoCenterballDragger_getClassTypeId() -> SoType""" - return _coin.SoCenterballDragger_getClassTypeId(*args) - -def SoCenterballDragger_getClassNodekitCatalog(*args): - """SoCenterballDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCenterballDragger_getClassNodekitCatalog(*args) - -def SoCenterballDragger_initClass(*args): - """SoCenterballDragger_initClass()""" - return _coin.SoCenterballDragger_initClass(*args) - -class SoDirectionalLightDragger(SoDragger): - """Proxy of C++ SoDirectionalLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLightDragger""" - this = _coin.new_SoDirectionalLightDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoDirectionalLightDragger_rotation_get, _coin.SoDirectionalLightDragger_rotation_set) - translation = _swig_property(_coin.SoDirectionalLightDragger_translation_get, _coin.SoDirectionalLightDragger_translation_set) -SoDirectionalLightDragger_swigregister = _coin.SoDirectionalLightDragger_swigregister -SoDirectionalLightDragger_swigregister(SoDirectionalLightDragger) - -def SoDirectionalLightDragger_getClassTypeId(*args): - """SoDirectionalLightDragger_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightDragger_getClassTypeId(*args) - -def SoDirectionalLightDragger_getClassNodekitCatalog(*args): - """SoDirectionalLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDirectionalLightDragger_getClassNodekitCatalog(*args) - -def SoDirectionalLightDragger_initClass(*args): - """SoDirectionalLightDragger_initClass()""" - return _coin.SoDirectionalLightDragger_initClass(*args) - -class SoDragPointDragger(SoDragger): - """Proxy of C++ SoDragPointDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDragPointDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDragPointDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDragPointDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDragPointDragger""" - this = _coin.new_SoDragPointDragger(*args) - try: self.this.append(this) - except: self.this = this - def setJumpLimit(*args): - """setJumpLimit(self, float limit)""" - return _coin.SoDragPointDragger_setJumpLimit(*args) - - def getJumpLimit(*args): - """getJumpLimit(self) -> float""" - return _coin.SoDragPointDragger_getJumpLimit(*args) - - def showNextDraggerSet(*args): - """showNextDraggerSet(self)""" - return _coin.SoDragPointDragger_showNextDraggerSet(*args) - - translation = _swig_property(_coin.SoDragPointDragger_translation_get, _coin.SoDragPointDragger_translation_set) -SoDragPointDragger_swigregister = _coin.SoDragPointDragger_swigregister -SoDragPointDragger_swigregister(SoDragPointDragger) - -def SoDragPointDragger_getClassTypeId(*args): - """SoDragPointDragger_getClassTypeId() -> SoType""" - return _coin.SoDragPointDragger_getClassTypeId(*args) - -def SoDragPointDragger_getClassNodekitCatalog(*args): - """SoDragPointDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoDragPointDragger_getClassNodekitCatalog(*args) - -def SoDragPointDragger_initClass(*args): - """SoDragPointDragger_initClass()""" - return _coin.SoDragPointDragger_initClass(*args) - -class SoHandleBoxDragger(SoDragger): - """Proxy of C++ SoHandleBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoHandleBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoHandleBoxDragger""" - this = _coin.new_SoHandleBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoHandleBoxDragger_scaleFactor_get, _coin.SoHandleBoxDragger_scaleFactor_set) - translation = _swig_property(_coin.SoHandleBoxDragger_translation_get, _coin.SoHandleBoxDragger_translation_set) -SoHandleBoxDragger_swigregister = _coin.SoHandleBoxDragger_swigregister -SoHandleBoxDragger_swigregister(SoHandleBoxDragger) - -def SoHandleBoxDragger_getClassTypeId(*args): - """SoHandleBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoHandleBoxDragger_getClassTypeId(*args) - -def SoHandleBoxDragger_getClassNodekitCatalog(*args): - """SoHandleBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoHandleBoxDragger_getClassNodekitCatalog(*args) - -def SoHandleBoxDragger_initClass(*args): - """SoHandleBoxDragger_initClass()""" - return _coin.SoHandleBoxDragger_initClass(*args) - -class SoJackDragger(SoDragger): - """Proxy of C++ SoJackDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoJackDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoJackDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoJackDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoJackDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoJackDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoJackDragger""" - this = _coin.new_SoJackDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoJackDragger_rotation_get, _coin.SoJackDragger_rotation_set) - translation = _swig_property(_coin.SoJackDragger_translation_get, _coin.SoJackDragger_translation_set) - scaleFactor = _swig_property(_coin.SoJackDragger_scaleFactor_get, _coin.SoJackDragger_scaleFactor_set) -SoJackDragger_swigregister = _coin.SoJackDragger_swigregister -SoJackDragger_swigregister(SoJackDragger) - -def SoJackDragger_getClassTypeId(*args): - """SoJackDragger_getClassTypeId() -> SoType""" - return _coin.SoJackDragger_getClassTypeId(*args) - -def SoJackDragger_getClassNodekitCatalog(*args): - """SoJackDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoJackDragger_getClassNodekitCatalog(*args) - -def SoJackDragger_initClass(*args): - """SoJackDragger_initClass()""" - return _coin.SoJackDragger_initClass(*args) - -class SoPointLightDragger(SoDragger): - """Proxy of C++ SoPointLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLightDragger""" - this = _coin.new_SoPointLightDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoPointLightDragger_translation_get, _coin.SoPointLightDragger_translation_set) -SoPointLightDragger_swigregister = _coin.SoPointLightDragger_swigregister -SoPointLightDragger_swigregister(SoPointLightDragger) - -def SoPointLightDragger_getClassTypeId(*args): - """SoPointLightDragger_getClassTypeId() -> SoType""" - return _coin.SoPointLightDragger_getClassTypeId(*args) - -def SoPointLightDragger_getClassNodekitCatalog(*args): - """SoPointLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoPointLightDragger_getClassNodekitCatalog(*args) - -def SoPointLightDragger_initClass(*args): - """SoPointLightDragger_initClass()""" - return _coin.SoPointLightDragger_initClass(*args) - -class SoRotateCylindricalDragger(SoDragger): - """Proxy of C++ SoRotateCylindricalDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateCylindricalDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateCylindricalDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateCylindricalDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateCylindricalDragger""" - this = _coin.new_SoRotateCylindricalDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateCylindricalDragger_rotation_get, _coin.SoRotateCylindricalDragger_rotation_set) - def setProjector(*args): - """setProjector(self, SbCylinderProjector p)""" - return _coin.SoRotateCylindricalDragger_setProjector(*args) - - def getProjector(*args): - """getProjector(self) -> SbCylinderProjector""" - return _coin.SoRotateCylindricalDragger_getProjector(*args) - -SoRotateCylindricalDragger_swigregister = _coin.SoRotateCylindricalDragger_swigregister -SoRotateCylindricalDragger_swigregister(SoRotateCylindricalDragger) - -def SoRotateCylindricalDragger_getClassTypeId(*args): - """SoRotateCylindricalDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateCylindricalDragger_getClassTypeId(*args) - -def SoRotateCylindricalDragger_getClassNodekitCatalog(*args): - """SoRotateCylindricalDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateCylindricalDragger_getClassNodekitCatalog(*args) - -def SoRotateCylindricalDragger_initClass(*args): - """SoRotateCylindricalDragger_initClass()""" - return _coin.SoRotateCylindricalDragger_initClass(*args) - -class SoRotateDiscDragger(SoDragger): - """Proxy of C++ SoRotateDiscDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateDiscDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateDiscDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateDiscDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateDiscDragger""" - this = _coin.new_SoRotateDiscDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateDiscDragger_rotation_get, _coin.SoRotateDiscDragger_rotation_set) -SoRotateDiscDragger_swigregister = _coin.SoRotateDiscDragger_swigregister -SoRotateDiscDragger_swigregister(SoRotateDiscDragger) - -def SoRotateDiscDragger_getClassTypeId(*args): - """SoRotateDiscDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateDiscDragger_getClassTypeId(*args) - -def SoRotateDiscDragger_getClassNodekitCatalog(*args): - """SoRotateDiscDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateDiscDragger_getClassNodekitCatalog(*args) - -def SoRotateDiscDragger_initClass(*args): - """SoRotateDiscDragger_initClass()""" - return _coin.SoRotateDiscDragger_initClass(*args) - -class SoRotateSphericalDragger(SoDragger): - """Proxy of C++ SoRotateSphericalDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotateSphericalDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotateSphericalDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotateSphericalDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotateSphericalDragger""" - this = _coin.new_SoRotateSphericalDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotateSphericalDragger_rotation_get, _coin.SoRotateSphericalDragger_rotation_set) - def setProjector(*args): - """setProjector(self, SbSphereProjector p)""" - return _coin.SoRotateSphericalDragger_setProjector(*args) - - def getProjector(*args): - """getProjector(self) -> SbSphereProjector""" - return _coin.SoRotateSphericalDragger_getProjector(*args) - -SoRotateSphericalDragger_swigregister = _coin.SoRotateSphericalDragger_swigregister -SoRotateSphericalDragger_swigregister(SoRotateSphericalDragger) - -def SoRotateSphericalDragger_getClassTypeId(*args): - """SoRotateSphericalDragger_getClassTypeId() -> SoType""" - return _coin.SoRotateSphericalDragger_getClassTypeId(*args) - -def SoRotateSphericalDragger_getClassNodekitCatalog(*args): - """SoRotateSphericalDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoRotateSphericalDragger_getClassNodekitCatalog(*args) - -def SoRotateSphericalDragger_initClass(*args): - """SoRotateSphericalDragger_initClass()""" - return _coin.SoRotateSphericalDragger_initClass(*args) - -class SoScale1Dragger(SoDragger): - """Proxy of C++ SoScale1Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale1Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale1Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale1Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale1Dragger""" - this = _coin.new_SoScale1Dragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale1Dragger_scaleFactor_get, _coin.SoScale1Dragger_scaleFactor_set) -SoScale1Dragger_swigregister = _coin.SoScale1Dragger_swigregister -SoScale1Dragger_swigregister(SoScale1Dragger) - -def SoScale1Dragger_getClassTypeId(*args): - """SoScale1Dragger_getClassTypeId() -> SoType""" - return _coin.SoScale1Dragger_getClassTypeId(*args) - -def SoScale1Dragger_getClassNodekitCatalog(*args): - """SoScale1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale1Dragger_getClassNodekitCatalog(*args) - -def SoScale1Dragger_initClass(*args): - """SoScale1Dragger_initClass()""" - return _coin.SoScale1Dragger_initClass(*args) - -class SoScale2Dragger(SoDragger): - """Proxy of C++ SoScale2Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale2Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale2Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale2Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale2Dragger""" - this = _coin.new_SoScale2Dragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale2Dragger_scaleFactor_get, _coin.SoScale2Dragger_scaleFactor_set) -SoScale2Dragger_swigregister = _coin.SoScale2Dragger_swigregister -SoScale2Dragger_swigregister(SoScale2Dragger) - -def SoScale2Dragger_getClassTypeId(*args): - """SoScale2Dragger_getClassTypeId() -> SoType""" - return _coin.SoScale2Dragger_getClassTypeId(*args) - -def SoScale2Dragger_getClassNodekitCatalog(*args): - """SoScale2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2Dragger_getClassNodekitCatalog(*args) - -def SoScale2Dragger_initClass(*args): - """SoScale2Dragger_initClass()""" - return _coin.SoScale2Dragger_initClass(*args) - -class SoScale2UniformDragger(SoDragger): - """Proxy of C++ SoScale2UniformDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScale2UniformDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScale2UniformDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScale2UniformDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScale2UniformDragger""" - this = _coin.new_SoScale2UniformDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScale2UniformDragger_scaleFactor_get, _coin.SoScale2UniformDragger_scaleFactor_set) -SoScale2UniformDragger_swigregister = _coin.SoScale2UniformDragger_swigregister -SoScale2UniformDragger_swigregister(SoScale2UniformDragger) - -def SoScale2UniformDragger_getClassTypeId(*args): - """SoScale2UniformDragger_getClassTypeId() -> SoType""" - return _coin.SoScale2UniformDragger_getClassTypeId(*args) - -def SoScale2UniformDragger_getClassNodekitCatalog(*args): - """SoScale2UniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScale2UniformDragger_getClassNodekitCatalog(*args) - -def SoScale2UniformDragger_initClass(*args): - """SoScale2UniformDragger_initClass()""" - return _coin.SoScale2UniformDragger_initClass(*args) - -class SoScaleUniformDragger(SoDragger): - """Proxy of C++ SoScaleUniformDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoScaleUniformDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoScaleUniformDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoScaleUniformDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoScaleUniformDragger""" - this = _coin.new_SoScaleUniformDragger(*args) - try: self.this.append(this) - except: self.this = this - scaleFactor = _swig_property(_coin.SoScaleUniformDragger_scaleFactor_get, _coin.SoScaleUniformDragger_scaleFactor_set) -SoScaleUniformDragger_swigregister = _coin.SoScaleUniformDragger_swigregister -SoScaleUniformDragger_swigregister(SoScaleUniformDragger) - -def SoScaleUniformDragger_getClassTypeId(*args): - """SoScaleUniformDragger_getClassTypeId() -> SoType""" - return _coin.SoScaleUniformDragger_getClassTypeId(*args) - -def SoScaleUniformDragger_getClassNodekitCatalog(*args): - """SoScaleUniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoScaleUniformDragger_getClassNodekitCatalog(*args) - -def SoScaleUniformDragger_initClass(*args): - """SoScaleUniformDragger_initClass()""" - return _coin.SoScaleUniformDragger_initClass(*args) - -class SoSpotLightDragger(SoDragger): - """Proxy of C++ SoSpotLightDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLightDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLightDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLightDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLightDragger""" - this = _coin.new_SoSpotLightDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoSpotLightDragger_rotation_get, _coin.SoSpotLightDragger_rotation_set) - translation = _swig_property(_coin.SoSpotLightDragger_translation_get, _coin.SoSpotLightDragger_translation_set) - angle = _swig_property(_coin.SoSpotLightDragger_angle_get, _coin.SoSpotLightDragger_angle_set) -SoSpotLightDragger_swigregister = _coin.SoSpotLightDragger_swigregister -SoSpotLightDragger_swigregister(SoSpotLightDragger) - -def SoSpotLightDragger_getClassTypeId(*args): - """SoSpotLightDragger_getClassTypeId() -> SoType""" - return _coin.SoSpotLightDragger_getClassTypeId(*args) - -def SoSpotLightDragger_getClassNodekitCatalog(*args): - """SoSpotLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSpotLightDragger_getClassNodekitCatalog(*args) - -def SoSpotLightDragger_initClass(*args): - """SoSpotLightDragger_initClass()""" - return _coin.SoSpotLightDragger_initClass(*args) - -class SoTabBoxDragger(SoDragger): - """Proxy of C++ SoTabBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabBoxDragger""" - this = _coin.new_SoTabBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTabBoxDragger_translation_get, _coin.SoTabBoxDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTabBoxDragger_scaleFactor_get, _coin.SoTabBoxDragger_scaleFactor_set) - def adjustScaleTabSize(*args): - """adjustScaleTabSize(self)""" - return _coin.SoTabBoxDragger_adjustScaleTabSize(*args) - -SoTabBoxDragger_swigregister = _coin.SoTabBoxDragger_swigregister -SoTabBoxDragger_swigregister(SoTabBoxDragger) - -def SoTabBoxDragger_getClassTypeId(*args): - """SoTabBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoTabBoxDragger_getClassTypeId(*args) - -def SoTabBoxDragger_getClassNodekitCatalog(*args): - """SoTabBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabBoxDragger_getClassNodekitCatalog(*args) - -def SoTabBoxDragger_initClass(*args): - """SoTabBoxDragger_initClass()""" - return _coin.SoTabBoxDragger_initClass(*args) - -class SoTabPlaneDragger(SoDragger): - """Proxy of C++ SoTabPlaneDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabPlaneDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabPlaneDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabPlaneDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabPlaneDragger""" - this = _coin.new_SoTabPlaneDragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTabPlaneDragger_translation_get, _coin.SoTabPlaneDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTabPlaneDragger_scaleFactor_get, _coin.SoTabPlaneDragger_scaleFactor_set) - def adjustScaleTabSize(*args): - """adjustScaleTabSize(self)""" - return _coin.SoTabPlaneDragger_adjustScaleTabSize(*args) - -SoTabPlaneDragger_swigregister = _coin.SoTabPlaneDragger_swigregister -SoTabPlaneDragger_swigregister(SoTabPlaneDragger) - -def SoTabPlaneDragger_getClassTypeId(*args): - """SoTabPlaneDragger_getClassTypeId() -> SoType""" - return _coin.SoTabPlaneDragger_getClassTypeId(*args) - -def SoTabPlaneDragger_getClassNodekitCatalog(*args): - """SoTabPlaneDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTabPlaneDragger_getClassNodekitCatalog(*args) - -def SoTabPlaneDragger_initClass(*args): - """SoTabPlaneDragger_initClass()""" - return _coin.SoTabPlaneDragger_initClass(*args) - -class SoTrackballDragger(SoDragger): - """Proxy of C++ SoTrackballDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTrackballDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTrackballDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTrackballDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTrackballDragger""" - this = _coin.new_SoTrackballDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTrackballDragger_rotation_get, _coin.SoTrackballDragger_rotation_set) - scaleFactor = _swig_property(_coin.SoTrackballDragger_scaleFactor_get, _coin.SoTrackballDragger_scaleFactor_set) - def isAnimationEnabled(*args): - """isAnimationEnabled(self) -> SbBool""" - return _coin.SoTrackballDragger_isAnimationEnabled(*args) - - def setAnimationEnabled(*args): - """setAnimationEnabled(self, SbBool newval)""" - return _coin.SoTrackballDragger_setAnimationEnabled(*args) - -SoTrackballDragger_swigregister = _coin.SoTrackballDragger_swigregister -SoTrackballDragger_swigregister(SoTrackballDragger) - -def SoTrackballDragger_getClassTypeId(*args): - """SoTrackballDragger_getClassTypeId() -> SoType""" - return _coin.SoTrackballDragger_getClassTypeId(*args) - -def SoTrackballDragger_getClassNodekitCatalog(*args): - """SoTrackballDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTrackballDragger_getClassNodekitCatalog(*args) - -def SoTrackballDragger_initClass(*args): - """SoTrackballDragger_initClass()""" - return _coin.SoTrackballDragger_initClass(*args) - -class SoTransformBoxDragger(SoDragger): - """Proxy of C++ SoTransformBoxDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformBoxDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformBoxDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformBoxDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformBoxDragger""" - this = _coin.new_SoTransformBoxDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTransformBoxDragger_rotation_get, _coin.SoTransformBoxDragger_rotation_set) - translation = _swig_property(_coin.SoTransformBoxDragger_translation_get, _coin.SoTransformBoxDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTransformBoxDragger_scaleFactor_get, _coin.SoTransformBoxDragger_scaleFactor_set) -SoTransformBoxDragger_swigregister = _coin.SoTransformBoxDragger_swigregister -SoTransformBoxDragger_swigregister(SoTransformBoxDragger) - -def SoTransformBoxDragger_getClassTypeId(*args): - """SoTransformBoxDragger_getClassTypeId() -> SoType""" - return _coin.SoTransformBoxDragger_getClassTypeId(*args) - -def SoTransformBoxDragger_getClassNodekitCatalog(*args): - """SoTransformBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformBoxDragger_getClassNodekitCatalog(*args) - -def SoTransformBoxDragger_initClass(*args): - """SoTransformBoxDragger_initClass()""" - return _coin.SoTransformBoxDragger_initClass(*args) - -class SoTransformerDragger(SoDragger): - """Proxy of C++ SoTransformerDragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformerDragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformerDragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformerDragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformerDragger""" - this = _coin.new_SoTransformerDragger(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoTransformerDragger_rotation_get, _coin.SoTransformerDragger_rotation_set) - translation = _swig_property(_coin.SoTransformerDragger_translation_get, _coin.SoTransformerDragger_translation_set) - scaleFactor = _swig_property(_coin.SoTransformerDragger_scaleFactor_get, _coin.SoTransformerDragger_scaleFactor_set) - minDiscRotDot = _swig_property(_coin.SoTransformerDragger_minDiscRotDot_get, _coin.SoTransformerDragger_minDiscRotDot_set) - INACTIVE = _coin.SoTransformerDragger_INACTIVE - RIT_X_ROTATE = _coin.SoTransformerDragger_RIT_X_ROTATE - TOP_Y_ROTATE = _coin.SoTransformerDragger_TOP_Y_ROTATE - FNT_Z_ROTATE = _coin.SoTransformerDragger_FNT_Z_ROTATE - LFT_X_ROTATE = _coin.SoTransformerDragger_LFT_X_ROTATE - BOT_Y_ROTATE = _coin.SoTransformerDragger_BOT_Y_ROTATE - BAK_Z_ROTATE = _coin.SoTransformerDragger_BAK_Z_ROTATE - PX_PY_PZ_3D_SCALE = _coin.SoTransformerDragger_PX_PY_PZ_3D_SCALE - PX_PY_NZ_3D_SCALE = _coin.SoTransformerDragger_PX_PY_NZ_3D_SCALE - PX_NY_PZ_3D_SCALE = _coin.SoTransformerDragger_PX_NY_PZ_3D_SCALE - PX_NY_NZ_3D_SCALE = _coin.SoTransformerDragger_PX_NY_NZ_3D_SCALE - NX_PY_PZ_3D_SCALE = _coin.SoTransformerDragger_NX_PY_PZ_3D_SCALE - NX_PY_NZ_3D_SCALE = _coin.SoTransformerDragger_NX_PY_NZ_3D_SCALE - NX_NY_PZ_3D_SCALE = _coin.SoTransformerDragger_NX_NY_PZ_3D_SCALE - NX_NY_NZ_3D_SCALE = _coin.SoTransformerDragger_NX_NY_NZ_3D_SCALE - RIT_TRANSLATE = _coin.SoTransformerDragger_RIT_TRANSLATE - TOP_TRANSLATE = _coin.SoTransformerDragger_TOP_TRANSLATE - FNT_TRANSLATE = _coin.SoTransformerDragger_FNT_TRANSLATE - LFT_TRANSLATE = _coin.SoTransformerDragger_LFT_TRANSLATE - BOT_TRANSLATE = _coin.SoTransformerDragger_BOT_TRANSLATE - BAK_TRANSLATE = _coin.SoTransformerDragger_BAK_TRANSLATE - def getCurrentState(*args): - """getCurrentState(self) -> State""" - return _coin.SoTransformerDragger_getCurrentState(*args) - - def unsquishKnobs(*args): - """unsquishKnobs(self)""" - return _coin.SoTransformerDragger_unsquishKnobs(*args) - - def isLocateHighlighting(*args): - """isLocateHighlighting(self) -> SbBool""" - return _coin.SoTransformerDragger_isLocateHighlighting(*args) - - def setLocateHighlighting(*args): - """setLocateHighlighting(self, SbBool onoff)""" - return _coin.SoTransformerDragger_setLocateHighlighting(*args) - - def setColinearThreshold(*args): - """setColinearThreshold(int newval)""" - return _coin.SoTransformerDragger_setColinearThreshold(*args) - - setColinearThreshold = staticmethod(setColinearThreshold) - def getColinearThreshold(*args): - """getColinearThreshold() -> int""" - return _coin.SoTransformerDragger_getColinearThreshold(*args) - - getColinearThreshold = staticmethod(getColinearThreshold) - def getBoxPointInWorldSpace(*args): - """getBoxPointInWorldSpace(self, SbVec3f pointonunitbox) -> SbVec3f""" - return _coin.SoTransformerDragger_getBoxPointInWorldSpace(*args) - - def getBoxDirInWorldSpace(*args): - """getBoxDirInWorldSpace(self, SbVec3f dironunitbox) -> SbVec3f""" - return _coin.SoTransformerDragger_getBoxDirInWorldSpace(*args) - - def getWorldPointInBoxSpace(*args): - """getWorldPointInBoxSpace(self, SbVec3f pointinworldspace) -> SbVec3f""" - return _coin.SoTransformerDragger_getWorldPointInBoxSpace(*args) - - def getWorldPointInPixelSpace(*args): - """getWorldPointInPixelSpace(self, SbVec3f thepoint) -> SbVec2f""" - return _coin.SoTransformerDragger_getWorldPointInPixelSpace(*args) - - def getInteractiveCenterInBoxSpace(*args): - """getInteractiveCenterInBoxSpace(self) -> SbVec3f""" - return _coin.SoTransformerDragger_getInteractiveCenterInBoxSpace(*args) - -SoTransformerDragger_swigregister = _coin.SoTransformerDragger_swigregister -SoTransformerDragger_swigregister(SoTransformerDragger) - -def SoTransformerDragger_getClassTypeId(*args): - """SoTransformerDragger_getClassTypeId() -> SoType""" - return _coin.SoTransformerDragger_getClassTypeId(*args) - -def SoTransformerDragger_getClassNodekitCatalog(*args): - """SoTransformerDragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTransformerDragger_getClassNodekitCatalog(*args) - -def SoTransformerDragger_initClass(*args): - """SoTransformerDragger_initClass()""" - return _coin.SoTransformerDragger_initClass(*args) - -def SoTransformerDragger_setColinearThreshold(*args): - """SoTransformerDragger_setColinearThreshold(int newval)""" - return _coin.SoTransformerDragger_setColinearThreshold(*args) - -def SoTransformerDragger_getColinearThreshold(*args): - """SoTransformerDragger_getColinearThreshold() -> int""" - return _coin.SoTransformerDragger_getColinearThreshold(*args) - -class SoTranslate1Dragger(SoDragger): - """Proxy of C++ SoTranslate1Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslate1Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslate1Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslate1Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslate1Dragger""" - this = _coin.new_SoTranslate1Dragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslate1Dragger_translation_get, _coin.SoTranslate1Dragger_translation_set) -SoTranslate1Dragger_swigregister = _coin.SoTranslate1Dragger_swigregister -SoTranslate1Dragger_swigregister(SoTranslate1Dragger) - -def SoTranslate1Dragger_getClassTypeId(*args): - """SoTranslate1Dragger_getClassTypeId() -> SoType""" - return _coin.SoTranslate1Dragger_getClassTypeId(*args) - -def SoTranslate1Dragger_getClassNodekitCatalog(*args): - """SoTranslate1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate1Dragger_getClassNodekitCatalog(*args) - -def SoTranslate1Dragger_initClass(*args): - """SoTranslate1Dragger_initClass()""" - return _coin.SoTranslate1Dragger_initClass(*args) - -class SoTranslate2Dragger(SoDragger): - """Proxy of C++ SoTranslate2Dragger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslate2Dragger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslate2Dragger_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslate2Dragger_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslate2Dragger""" - this = _coin.new_SoTranslate2Dragger(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslate2Dragger_translation_get, _coin.SoTranslate2Dragger_translation_set) -SoTranslate2Dragger_swigregister = _coin.SoTranslate2Dragger_swigregister -SoTranslate2Dragger_swigregister(SoTranslate2Dragger) - -def SoTranslate2Dragger_getClassTypeId(*args): - """SoTranslate2Dragger_getClassTypeId() -> SoType""" - return _coin.SoTranslate2Dragger_getClassTypeId(*args) - -def SoTranslate2Dragger_getClassNodekitCatalog(*args): - """SoTranslate2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoTranslate2Dragger_getClassNodekitCatalog(*args) - -def SoTranslate2Dragger_initClass(*args): - """SoTranslate2Dragger_initClass()""" - return _coin.SoTranslate2Dragger_initClass(*args) - -class SoAccumulatedElement(SoElement): - """Proxy of C++ SoAccumulatedElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAccumulatedElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAccumulatedElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoAccumulatedElement_initClass(*args) - - initClass = staticmethod(initClass) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoAccumulatedElement_matches(*args) - -SoAccumulatedElement_swigregister = _coin.SoAccumulatedElement_swigregister -SoAccumulatedElement_swigregister(SoAccumulatedElement) - -def SoAccumulatedElement_getClassTypeId(*args): - """SoAccumulatedElement_getClassTypeId() -> SoType""" - return _coin.SoAccumulatedElement_getClassTypeId(*args) - -def SoAccumulatedElement_getClassStackIndex(*args): - """SoAccumulatedElement_getClassStackIndex() -> int""" - return _coin.SoAccumulatedElement_getClassStackIndex(*args) - -def SoAccumulatedElement_initClass(*args): - """SoAccumulatedElement_initClass()""" - return _coin.SoAccumulatedElement_initClass(*args) - -class SoAmbientColorElement(SoReplacedElement): - """Proxy of C++ SoAmbientColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAmbientColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAmbientColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAmbientColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAmbientColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoAmbientColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoAmbientColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoAmbientColorElement""" - return _coin.SoAmbientColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoAmbientColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoAmbientColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoAmbientColorElement_getArrayPtr(*args) - -SoAmbientColorElement_swigregister = _coin.SoAmbientColorElement_swigregister -SoAmbientColorElement_swigregister(SoAmbientColorElement) - -def SoAmbientColorElement_getClassTypeId(*args): - """SoAmbientColorElement_getClassTypeId() -> SoType""" - return _coin.SoAmbientColorElement_getClassTypeId(*args) - -def SoAmbientColorElement_getClassStackIndex(*args): - """SoAmbientColorElement_getClassStackIndex() -> int""" - return _coin.SoAmbientColorElement_getClassStackIndex(*args) - -def SoAmbientColorElement_createInstance(*args): - """SoAmbientColorElement_createInstance() -> void""" - return _coin.SoAmbientColorElement_createInstance(*args) - -def SoAmbientColorElement_initClass(*args): - """SoAmbientColorElement_initClass()""" - return _coin.SoAmbientColorElement_initClass(*args) - -def SoAmbientColorElement_set(*args): - """SoAmbientColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoAmbientColorElement_set(*args) - -def SoAmbientColorElement_getInstance(*args): - """SoAmbientColorElement_getInstance(SoState state) -> SoAmbientColorElement""" - return _coin.SoAmbientColorElement_getInstance(*args) - -class SoAnnoText3CharOrientElement(SoInt32Element): - """Proxy of C++ SoAnnoText3CharOrientElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3CharOrientElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3CharOrientElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3CharOrientElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3CharOrientElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3CharOrientElement_init(*args) - - def set(*args): - """set(SoState state, SbBool isOriented)""" - return _coin.SoAnnoText3CharOrientElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoAnnoText3CharOrientElement_swigregister = _coin.SoAnnoText3CharOrientElement_swigregister -SoAnnoText3CharOrientElement_swigregister(SoAnnoText3CharOrientElement) - -def SoAnnoText3CharOrientElement_getClassTypeId(*args): - """SoAnnoText3CharOrientElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3CharOrientElement_getClassTypeId(*args) - -def SoAnnoText3CharOrientElement_getClassStackIndex(*args): - """SoAnnoText3CharOrientElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3CharOrientElement_getClassStackIndex(*args) - -def SoAnnoText3CharOrientElement_createInstance(*args): - """SoAnnoText3CharOrientElement_createInstance() -> void""" - return _coin.SoAnnoText3CharOrientElement_createInstance(*args) - -def SoAnnoText3CharOrientElement_initClass(*args): - """SoAnnoText3CharOrientElement_initClass()""" - return _coin.SoAnnoText3CharOrientElement_initClass(*args) - -def SoAnnoText3CharOrientElement_set(*args): - """SoAnnoText3CharOrientElement_set(SoState state, SbBool isOriented)""" - return _coin.SoAnnoText3CharOrientElement_set(*args) - -def SoAnnoText3CharOrientElement_get(*args): - """SoAnnoText3CharOrientElement_get(SoState state) -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_get(*args) - -def SoAnnoText3CharOrientElement_getDefault(*args): - """SoAnnoText3CharOrientElement_getDefault() -> SbBool""" - return _coin.SoAnnoText3CharOrientElement_getDefault(*args) - -class SoAnnoText3FontSizeHintElement(SoInt32Element): - """Proxy of C++ SoAnnoText3FontSizeHintElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3FontSizeHintElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3FontSizeHintElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3FontSizeHintElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3FontSizeHintElement_initClass(*args) - - initClass = staticmethod(initClass) - ANNOTATION = _coin.SoAnnoText3FontSizeHintElement_ANNOTATION - FIT_TEXT_VECTOR = _coin.SoAnnoText3FontSizeHintElement_FIT_TEXT_VECTOR - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3FontSizeHintElement_init(*args) - - def get(*args): - """get(SoState state) -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def set(*args): - """ - set(SoState state, FontSizeHint hint) - set(SoState state, SoNode node, FontSizeHint hint) - """ - return _coin.SoAnnoText3FontSizeHintElement_set(*args) - - set = staticmethod(set) -SoAnnoText3FontSizeHintElement_swigregister = _coin.SoAnnoText3FontSizeHintElement_swigregister -SoAnnoText3FontSizeHintElement_swigregister(SoAnnoText3FontSizeHintElement) - -def SoAnnoText3FontSizeHintElement_getClassTypeId(*args): - """SoAnnoText3FontSizeHintElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3FontSizeHintElement_getClassTypeId(*args) - -def SoAnnoText3FontSizeHintElement_getClassStackIndex(*args): - """SoAnnoText3FontSizeHintElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3FontSizeHintElement_getClassStackIndex(*args) - -def SoAnnoText3FontSizeHintElement_createInstance(*args): - """SoAnnoText3FontSizeHintElement_createInstance() -> void""" - return _coin.SoAnnoText3FontSizeHintElement_createInstance(*args) - -def SoAnnoText3FontSizeHintElement_initClass(*args): - """SoAnnoText3FontSizeHintElement_initClass()""" - return _coin.SoAnnoText3FontSizeHintElement_initClass(*args) - -def SoAnnoText3FontSizeHintElement_get(*args): - """SoAnnoText3FontSizeHintElement_get(SoState state) -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_get(*args) - -def SoAnnoText3FontSizeHintElement_getDefault(*args): - """SoAnnoText3FontSizeHintElement_getDefault() -> FontSizeHint""" - return _coin.SoAnnoText3FontSizeHintElement_getDefault(*args) - -def SoAnnoText3FontSizeHintElement_set(*args): - """ - set(SoState state, FontSizeHint hint) - SoAnnoText3FontSizeHintElement_set(SoState state, SoNode node, FontSizeHint hint) - """ - return _coin.SoAnnoText3FontSizeHintElement_set(*args) - -class SoAnnoText3RenderPrintElement(SoInt32Element): - """Proxy of C++ SoAnnoText3RenderPrintElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnoText3RenderPrintElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoAnnoText3RenderPrintElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoAnnoText3RenderPrintElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoAnnoText3RenderPrintElement_initClass(*args) - - initClass = staticmethod(initClass) - RENDER3D_PRINT_VECTOR = _coin.SoAnnoText3RenderPrintElement_RENDER3D_PRINT_VECTOR - RENDER3D_PRINT_RASTER = _coin.SoAnnoText3RenderPrintElement_RENDER3D_PRINT_RASTER - RENDER2D_PRINT_RASTER = _coin.SoAnnoText3RenderPrintElement_RENDER2D_PRINT_RASTER - def init(*args): - """init(self, SoState state)""" - return _coin.SoAnnoText3RenderPrintElement_init(*args) - - def get(*args): - """get(SoState state) -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def set(*args): - """ - set(SoState state, RenderPrintType hint) - set(SoState state, SoNode node, RenderPrintType type) - """ - return _coin.SoAnnoText3RenderPrintElement_set(*args) - - set = staticmethod(set) -SoAnnoText3RenderPrintElement_swigregister = _coin.SoAnnoText3RenderPrintElement_swigregister -SoAnnoText3RenderPrintElement_swigregister(SoAnnoText3RenderPrintElement) - -def SoAnnoText3RenderPrintElement_getClassTypeId(*args): - """SoAnnoText3RenderPrintElement_getClassTypeId() -> SoType""" - return _coin.SoAnnoText3RenderPrintElement_getClassTypeId(*args) - -def SoAnnoText3RenderPrintElement_getClassStackIndex(*args): - """SoAnnoText3RenderPrintElement_getClassStackIndex() -> int""" - return _coin.SoAnnoText3RenderPrintElement_getClassStackIndex(*args) - -def SoAnnoText3RenderPrintElement_createInstance(*args): - """SoAnnoText3RenderPrintElement_createInstance() -> void""" - return _coin.SoAnnoText3RenderPrintElement_createInstance(*args) - -def SoAnnoText3RenderPrintElement_initClass(*args): - """SoAnnoText3RenderPrintElement_initClass()""" - return _coin.SoAnnoText3RenderPrintElement_initClass(*args) - -def SoAnnoText3RenderPrintElement_get(*args): - """SoAnnoText3RenderPrintElement_get(SoState state) -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_get(*args) - -def SoAnnoText3RenderPrintElement_getDefault(*args): - """SoAnnoText3RenderPrintElement_getDefault() -> RenderPrintType""" - return _coin.SoAnnoText3RenderPrintElement_getDefault(*args) - -def SoAnnoText3RenderPrintElement_set(*args): - """ - set(SoState state, RenderPrintType hint) - SoAnnoText3RenderPrintElement_set(SoState state, SoNode node, RenderPrintType type) - """ - return _coin.SoAnnoText3RenderPrintElement_set(*args) - -class SoModelMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoModelMatrixElement_push(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoModelMatrixElement_matches(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoModelMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_set(*args) - - set = staticmethod(set) - def setCullMatrix(*args): - """setCullMatrix(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_setCullMatrix(*args) - - setCullMatrix = staticmethod(setCullMatrix) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoModelMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoModelMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoModelMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def pushMatrix(*args): - """pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) - def getCombinedCullMatrix(*args): - """getCombinedCullMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_getCombinedCullMatrix(*args) - - getCombinedCullMatrix = staticmethod(getCombinedCullMatrix) - def get(*args): - """ - get(SoState state) -> SbMatrix - get(SoState state, SbBool isIdentity) -> SbMatrix - """ - return _coin.SoModelMatrixElement_get(*args) - - get = staticmethod(get) - def getModelMatrix(*args): - """getModelMatrix(self) -> SbMatrix""" - return _coin.SoModelMatrixElement_getModelMatrix(*args) - -SoModelMatrixElement_swigregister = _coin.SoModelMatrixElement_swigregister -SoModelMatrixElement_swigregister(SoModelMatrixElement) - -def SoModelMatrixElement_getClassTypeId(*args): - """SoModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoModelMatrixElement_getClassTypeId(*args) - -def SoModelMatrixElement_getClassStackIndex(*args): - """SoModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoModelMatrixElement_getClassStackIndex(*args) - -def SoModelMatrixElement_createInstance(*args): - """SoModelMatrixElement_createInstance() -> void""" - return _coin.SoModelMatrixElement_createInstance(*args) - -def SoModelMatrixElement_initClass(*args): - """SoModelMatrixElement_initClass()""" - return _coin.SoModelMatrixElement_initClass(*args) - -def SoModelMatrixElement_makeIdentity(*args): - """SoModelMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoModelMatrixElement_makeIdentity(*args) - -def SoModelMatrixElement_set(*args): - """SoModelMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_set(*args) - -def SoModelMatrixElement_setCullMatrix(*args): - """SoModelMatrixElement_setCullMatrix(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_setCullMatrix(*args) - -def SoModelMatrixElement_mult(*args): - """SoModelMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_mult(*args) - -def SoModelMatrixElement_translateBy(*args): - """SoModelMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoModelMatrixElement_translateBy(*args) - -def SoModelMatrixElement_rotateBy(*args): - """SoModelMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoModelMatrixElement_rotateBy(*args) - -def SoModelMatrixElement_scaleBy(*args): - """SoModelMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoModelMatrixElement_scaleBy(*args) - -def SoModelMatrixElement_pushMatrix(*args): - """SoModelMatrixElement_pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_pushMatrix(*args) - -def SoModelMatrixElement_popMatrix(*args): - """SoModelMatrixElement_popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoModelMatrixElement_popMatrix(*args) - -def SoModelMatrixElement_getCombinedCullMatrix(*args): - """SoModelMatrixElement_getCombinedCullMatrix(SoState state) -> SbMatrix""" - return _coin.SoModelMatrixElement_getCombinedCullMatrix(*args) - -def SoModelMatrixElement_get(*args): - """ - get(SoState state) -> SbMatrix - SoModelMatrixElement_get(SoState state, SbBool isIdentity) -> SbMatrix - """ - return _coin.SoModelMatrixElement_get(*args) - -class SoBBoxModelMatrixElement(SoModelMatrixElement): - """Proxy of C++ SoBBoxModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBBoxModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBBoxModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBBoxModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBBoxModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBBoxModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoBBoxModelMatrixElement_push(*args) - - def reset(*args): - """reset(SoState state, SoNode node)""" - return _coin.SoBBoxModelMatrixElement_reset(*args) - - reset = staticmethod(reset) - def pushMatrix(*args): - """pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) -SoBBoxModelMatrixElement_swigregister = _coin.SoBBoxModelMatrixElement_swigregister -SoBBoxModelMatrixElement_swigregister(SoBBoxModelMatrixElement) - -def SoBBoxModelMatrixElement_getClassTypeId(*args): - """SoBBoxModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoBBoxModelMatrixElement_getClassTypeId(*args) - -def SoBBoxModelMatrixElement_getClassStackIndex(*args): - """SoBBoxModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoBBoxModelMatrixElement_getClassStackIndex(*args) - -def SoBBoxModelMatrixElement_createInstance(*args): - """SoBBoxModelMatrixElement_createInstance() -> void""" - return _coin.SoBBoxModelMatrixElement_createInstance(*args) - -def SoBBoxModelMatrixElement_initClass(*args): - """SoBBoxModelMatrixElement_initClass()""" - return _coin.SoBBoxModelMatrixElement_initClass(*args) - -def SoBBoxModelMatrixElement_reset(*args): - """SoBBoxModelMatrixElement_reset(SoState state, SoNode node)""" - return _coin.SoBBoxModelMatrixElement_reset(*args) - -def SoBBoxModelMatrixElement_pushMatrix(*args): - """SoBBoxModelMatrixElement_pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_pushMatrix(*args) - -def SoBBoxModelMatrixElement_popMatrix(*args): - """SoBBoxModelMatrixElement_popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)""" - return _coin.SoBBoxModelMatrixElement_popMatrix(*args) - -class SoBumpMapCoordinateElement(SoReplacedElement): - """Proxy of C++ SoBumpMapCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapCoordinateElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)""" - return _coin.SoBumpMapCoordinateElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoBumpMapCoordinateElement""" - return _coin.SoBumpMapCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoBumpMapCoordinateElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbVec2f""" - return _coin.SoBumpMapCoordinateElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbVec2f""" - return _coin.SoBumpMapCoordinateElement_getArrayPtr(*args) - -SoBumpMapCoordinateElement_swigregister = _coin.SoBumpMapCoordinateElement_swigregister -SoBumpMapCoordinateElement_swigregister(SoBumpMapCoordinateElement) - -def SoBumpMapCoordinateElement_getClassTypeId(*args): - """SoBumpMapCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinateElement_getClassTypeId(*args) - -def SoBumpMapCoordinateElement_getClassStackIndex(*args): - """SoBumpMapCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapCoordinateElement_getClassStackIndex(*args) - -def SoBumpMapCoordinateElement_createInstance(*args): - """SoBumpMapCoordinateElement_createInstance() -> void""" - return _coin.SoBumpMapCoordinateElement_createInstance(*args) - -def SoBumpMapCoordinateElement_initClass(*args): - """SoBumpMapCoordinateElement_initClass()""" - return _coin.SoBumpMapCoordinateElement_initClass(*args) - -def SoBumpMapCoordinateElement_set(*args): - """SoBumpMapCoordinateElement_set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)""" - return _coin.SoBumpMapCoordinateElement_set(*args) - -def SoBumpMapCoordinateElement_getInstance(*args): - """SoBumpMapCoordinateElement_getInstance(SoState state) -> SoBumpMapCoordinateElement""" - return _coin.SoBumpMapCoordinateElement_getInstance(*args) - -class SoBumpMapElement(SoReplacedElement): - """Proxy of C++ SoBumpMapElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SoGLImage image)""" - return _coin.SoBumpMapElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SoGLImage""" - return _coin.SoBumpMapElement_get(*args) - - get = staticmethod(get) -SoBumpMapElement_swigregister = _coin.SoBumpMapElement_swigregister -SoBumpMapElement_swigregister(SoBumpMapElement) - -def SoBumpMapElement_getClassTypeId(*args): - """SoBumpMapElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapElement_getClassTypeId(*args) - -def SoBumpMapElement_getClassStackIndex(*args): - """SoBumpMapElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapElement_getClassStackIndex(*args) - -def SoBumpMapElement_createInstance(*args): - """SoBumpMapElement_createInstance() -> void""" - return _coin.SoBumpMapElement_createInstance(*args) - -def SoBumpMapElement_initClass(*args): - """SoBumpMapElement_initClass()""" - return _coin.SoBumpMapElement_initClass(*args) - -def SoBumpMapElement_set(*args): - """SoBumpMapElement_set(SoState state, SoNode node, SoGLImage image)""" - return _coin.SoBumpMapElement_set(*args) - -def SoBumpMapElement_get(*args): - """SoBumpMapElement_get(SoState state) -> SoGLImage""" - return _coin.SoBumpMapElement_get(*args) - -class SoBumpMapMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoBumpMapMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoBumpMapMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBumpMapMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoBumpMapMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoBumpMapMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoBumpMapMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoBumpMapMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoBumpMapMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoBumpMapMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoBumpMapMatrixElement_get(*args) - - get = staticmethod(get) -SoBumpMapMatrixElement_swigregister = _coin.SoBumpMapMatrixElement_swigregister -SoBumpMapMatrixElement_swigregister(SoBumpMapMatrixElement) - -def SoBumpMapMatrixElement_getClassTypeId(*args): - """SoBumpMapMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoBumpMapMatrixElement_getClassTypeId(*args) - -def SoBumpMapMatrixElement_getClassStackIndex(*args): - """SoBumpMapMatrixElement_getClassStackIndex() -> int""" - return _coin.SoBumpMapMatrixElement_getClassStackIndex(*args) - -def SoBumpMapMatrixElement_createInstance(*args): - """SoBumpMapMatrixElement_createInstance() -> void""" - return _coin.SoBumpMapMatrixElement_createInstance(*args) - -def SoBumpMapMatrixElement_initClass(*args): - """SoBumpMapMatrixElement_initClass()""" - return _coin.SoBumpMapMatrixElement_initClass(*args) - -def SoBumpMapMatrixElement_makeIdentity(*args): - """SoBumpMapMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoBumpMapMatrixElement_makeIdentity(*args) - -def SoBumpMapMatrixElement_set(*args): - """SoBumpMapMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_set(*args) - -def SoBumpMapMatrixElement_mult(*args): - """SoBumpMapMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoBumpMapMatrixElement_mult(*args) - -def SoBumpMapMatrixElement_translateBy(*args): - """SoBumpMapMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoBumpMapMatrixElement_translateBy(*args) - -def SoBumpMapMatrixElement_rotateBy(*args): - """SoBumpMapMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoBumpMapMatrixElement_rotateBy(*args) - -def SoBumpMapMatrixElement_scaleBy(*args): - """SoBumpMapMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoBumpMapMatrixElement_scaleBy(*args) - -def SoBumpMapMatrixElement_get(*args): - """SoBumpMapMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoBumpMapMatrixElement_get(*args) - -class SoCacheElement(SoElement): - """Proxy of C++ SoCacheElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCacheElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCacheElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCacheElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCacheElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCacheElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoCacheElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoCacheElement_pop(*args) - - def set(*args): - """set(SoState state, SoCache cache)""" - return _coin.SoCacheElement_set(*args) - - set = staticmethod(set) - def getCache(*args): - """getCache(self) -> SoCache""" - return _coin.SoCacheElement_getCache(*args) - - def anyOpen(*args): - """anyOpen(SoState state) -> SbBool""" - return _coin.SoCacheElement_anyOpen(*args) - - anyOpen = staticmethod(anyOpen) - def invalidate(*args): - """invalidate(SoState state)""" - return _coin.SoCacheElement_invalidate(*args) - - invalidate = staticmethod(invalidate) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoCacheElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoCacheElement_copyMatchInfo(*args) - - def getNextCacheElement(*args): - """getNextCacheElement(self) -> SoCacheElement""" - return _coin.SoCacheElement_getNextCacheElement(*args) - - def addElement(*args): - """addElement(SoState state, SoElement element)""" - return _coin.SoCacheElement_addElement(*args) - - addElement = staticmethod(addElement) - def addCacheDependency(*args): - """addCacheDependency(SoState state, SoCache cache)""" - return _coin.SoCacheElement_addCacheDependency(*args) - - addCacheDependency = staticmethod(addCacheDependency) - def setInvalid(*args): - """setInvalid(SbBool newvalue) -> SbBool""" - return _coin.SoCacheElement_setInvalid(*args) - - setInvalid = staticmethod(setInvalid) - def getCurrentCache(*args): - """getCurrentCache(SoState state) -> SoCache""" - return _coin.SoCacheElement_getCurrentCache(*args) - - getCurrentCache = staticmethod(getCurrentCache) -SoCacheElement_swigregister = _coin.SoCacheElement_swigregister -SoCacheElement_swigregister(SoCacheElement) - -def SoCacheElement_getClassTypeId(*args): - """SoCacheElement_getClassTypeId() -> SoType""" - return _coin.SoCacheElement_getClassTypeId(*args) - -def SoCacheElement_getClassStackIndex(*args): - """SoCacheElement_getClassStackIndex() -> int""" - return _coin.SoCacheElement_getClassStackIndex(*args) - -def SoCacheElement_createInstance(*args): - """SoCacheElement_createInstance() -> void""" - return _coin.SoCacheElement_createInstance(*args) - -def SoCacheElement_initClass(*args): - """SoCacheElement_initClass()""" - return _coin.SoCacheElement_initClass(*args) - -def SoCacheElement_set(*args): - """SoCacheElement_set(SoState state, SoCache cache)""" - return _coin.SoCacheElement_set(*args) - -def SoCacheElement_anyOpen(*args): - """SoCacheElement_anyOpen(SoState state) -> SbBool""" - return _coin.SoCacheElement_anyOpen(*args) - -def SoCacheElement_invalidate(*args): - """SoCacheElement_invalidate(SoState state)""" - return _coin.SoCacheElement_invalidate(*args) - -def SoCacheElement_addElement(*args): - """SoCacheElement_addElement(SoState state, SoElement element)""" - return _coin.SoCacheElement_addElement(*args) - -def SoCacheElement_addCacheDependency(*args): - """SoCacheElement_addCacheDependency(SoState state, SoCache cache)""" - return _coin.SoCacheElement_addCacheDependency(*args) - -def SoCacheElement_setInvalid(*args): - """SoCacheElement_setInvalid(SbBool newvalue) -> SbBool""" - return _coin.SoCacheElement_setInvalid(*args) - -def SoCacheElement_getCurrentCache(*args): - """SoCacheElement_getCurrentCache(SoState state) -> SoCache""" - return _coin.SoCacheElement_getCurrentCache(*args) - -class SbPlane(object): - """Proxy of C++ SbPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbPlane - __init__(self, SbVec3f normal, float D) -> SbPlane - __init__(self, SbVec3f p0, SbVec3f p1, SbVec3f p2) -> SbPlane - __init__(self, SbVec3f normal, SbVec3f point) -> SbPlane - """ - this = _coin.new_SbPlane(*args) - try: self.this.append(this) - except: self.this = this - def offset(*args): - """offset(self, float d)""" - return _coin.SbPlane_offset(*args) - - def transform(*args): - """transform(self, SbMatrix matrix)""" - return _coin.SbPlane_transform(*args) - - def isInHalfSpace(*args): - """isInHalfSpace(self, SbVec3f point) -> SbBool""" - return _coin.SbPlane_isInHalfSpace(*args) - - def getDistance(*args): - """getDistance(self, SbVec3f point) -> float""" - return _coin.SbPlane_getDistance(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SbPlane_getNormal(*args) - - def getDistanceFromOrigin(*args): - """getDistanceFromOrigin(self) -> float""" - return _coin.SbPlane_getDistanceFromOrigin(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbPlane_output(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbPlane pl, SbLine line) -> SbBool - """ - return _coin.SbPlane_intersect(*args) - - def __eq__(*args): - """__eq__(self, SbPlane u) -> int""" - return _coin.SbPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbPlane u) -> int""" - return _coin.SbPlane___ne__(*args) - - __swig_destroy__ = _coin.delete_SbPlane - __del__ = lambda self : None; -SbPlane_swigregister = _coin.SbPlane_swigregister -SbPlane_swigregister(SbPlane) - -class SoClipPlaneElement(SoAccumulatedElement): - """Proxy of C++ SoClipPlaneElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlaneElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoClipPlaneElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoClipPlaneElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoClipPlaneElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoClipPlaneElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoClipPlaneElement_push(*args) - - def add(*args): - """add(SoState state, SoNode node, SbPlane plane)""" - return _coin.SoClipPlaneElement_add(*args) - - add = staticmethod(add) - def getInstance(*args): - """getInstance(SoState state) -> SoClipPlaneElement""" - return _coin.SoClipPlaneElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int""" - return _coin.SoClipPlaneElement_getNum(*args) - - def get(*args): - """ - get(self, int index, SbBool inworldspace=1) -> SbPlane - get(self, int index) -> SbPlane - """ - return _coin.SoClipPlaneElement_get(*args) - -SoClipPlaneElement_swigregister = _coin.SoClipPlaneElement_swigregister -SoClipPlaneElement_swigregister(SoClipPlaneElement) - -def SoClipPlaneElement_getClassTypeId(*args): - """SoClipPlaneElement_getClassTypeId() -> SoType""" - return _coin.SoClipPlaneElement_getClassTypeId(*args) - -def SoClipPlaneElement_getClassStackIndex(*args): - """SoClipPlaneElement_getClassStackIndex() -> int""" - return _coin.SoClipPlaneElement_getClassStackIndex(*args) - -def SoClipPlaneElement_createInstance(*args): - """SoClipPlaneElement_createInstance() -> void""" - return _coin.SoClipPlaneElement_createInstance(*args) - -def SoClipPlaneElement_initClass(*args): - """SoClipPlaneElement_initClass()""" - return _coin.SoClipPlaneElement_initClass(*args) - -def SoClipPlaneElement_add(*args): - """SoClipPlaneElement_add(SoState state, SoNode node, SbPlane plane)""" - return _coin.SoClipPlaneElement_add(*args) - -def SoClipPlaneElement_getInstance(*args): - """SoClipPlaneElement_getInstance(SoState state) -> SoClipPlaneElement""" - return _coin.SoClipPlaneElement_getInstance(*args) - -class SoFloatElement(SoElement): - """Proxy of C++ SoFloatElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFloatElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFloatElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def initClass(*args): - """initClass()""" - return _coin.SoFloatElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFloatElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoFloatElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoFloatElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoFloatElement_output(*args) - - def set(*args): - """ - set(int stackIndex, SoState state, SoNode node, float value) - set(int stackIndex, SoState state, float value) - """ - return _coin.SoFloatElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(int stackIndex, SoState state) -> float""" - return _coin.SoFloatElement_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, float value)""" - return _coin.SoFloatElement_setElt(*args) - -SoFloatElement_swigregister = _coin.SoFloatElement_swigregister -SoFloatElement_swigregister(SoFloatElement) - -def SoFloatElement_getClassTypeId(*args): - """SoFloatElement_getClassTypeId() -> SoType""" - return _coin.SoFloatElement_getClassTypeId(*args) - -def SoFloatElement_getClassStackIndex(*args): - """SoFloatElement_getClassStackIndex() -> int""" - return _coin.SoFloatElement_getClassStackIndex(*args) - -def SoFloatElement_initClass(*args): - """SoFloatElement_initClass()""" - return _coin.SoFloatElement_initClass(*args) - -def SoFloatElement_set(*args): - """ - set(int stackIndex, SoState state, SoNode node, float value) - SoFloatElement_set(int stackIndex, SoState state, float value) - """ - return _coin.SoFloatElement_set(*args) - -def SoFloatElement_get(*args): - """SoFloatElement_get(int stackIndex, SoState state) -> float""" - return _coin.SoFloatElement_get(*args) - -class SoComplexityElement(SoFloatElement): - """Proxy of C++ SoComplexityElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComplexityElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoComplexityElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComplexityElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoComplexityElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoComplexityElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoComplexityElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoComplexityElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoComplexityElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoComplexityElement_swigregister = _coin.SoComplexityElement_swigregister -SoComplexityElement_swigregister(SoComplexityElement) - -def SoComplexityElement_getClassTypeId(*args): - """SoComplexityElement_getClassTypeId() -> SoType""" - return _coin.SoComplexityElement_getClassTypeId(*args) - -def SoComplexityElement_getClassStackIndex(*args): - """SoComplexityElement_getClassStackIndex() -> int""" - return _coin.SoComplexityElement_getClassStackIndex(*args) - -def SoComplexityElement_createInstance(*args): - """SoComplexityElement_createInstance() -> void""" - return _coin.SoComplexityElement_createInstance(*args) - -def SoComplexityElement_initClass(*args): - """SoComplexityElement_initClass()""" - return _coin.SoComplexityElement_initClass(*args) - -def SoComplexityElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoComplexityElement_set(SoState state, float complexity) - """ - return _coin.SoComplexityElement_set(*args) - -def SoComplexityElement_get(*args): - """SoComplexityElement_get(SoState state) -> float""" - return _coin.SoComplexityElement_get(*args) - -def SoComplexityElement_getDefault(*args): - """SoComplexityElement_getDefault() -> float""" - return _coin.SoComplexityElement_getDefault(*args) - -class SoCoordinateElement(SoReplacedElement): - """Proxy of C++ SoCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCoordinateElement_init(*args) - - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getInstance(*args): - """getInstance(SoState state) -> SoCoordinateElement""" - return _coin.SoCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoCoordinateElement_getNum(*args) - - def is3D(*args): - """is3D(self) -> SbBool""" - return _coin.SoCoordinateElement_is3D(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int index) -> SbVec4f""" - return _coin.SoCoordinateElement_get4(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self) -> SbVec4f""" - return _coin.SoCoordinateElement_getArrayPtr4(*args) - - def getDefault3(*args): - """getDefault3() -> SbVec3f""" - return _coin.SoCoordinateElement_getDefault3(*args) - - getDefault3 = staticmethod(getDefault3) - def getDefault4(*args): - """getDefault4() -> SbVec4f""" - return _coin.SoCoordinateElement_getDefault4(*args) - - getDefault4 = staticmethod(getDefault4) - def output(*args): - """output(self, FILE file)""" - return _coin.SoCoordinateElement_output(*args) - -SoCoordinateElement_swigregister = _coin.SoCoordinateElement_swigregister -SoCoordinateElement_swigregister(SoCoordinateElement) - -def SoCoordinateElement_getClassTypeId(*args): - """SoCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoCoordinateElement_getClassTypeId(*args) - -def SoCoordinateElement_getClassStackIndex(*args): - """SoCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoCoordinateElement_getClassStackIndex(*args) - -def SoCoordinateElement_createInstance(*args): - """SoCoordinateElement_createInstance() -> void""" - return _coin.SoCoordinateElement_createInstance(*args) - -def SoCoordinateElement_initClass(*args): - """SoCoordinateElement_initClass()""" - return _coin.SoCoordinateElement_initClass(*args) - -def SoCoordinateElement_set3(*args): - """SoCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoCoordinateElement_set3(*args) - -def SoCoordinateElement_set4(*args): - """SoCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)""" - return _coin.SoCoordinateElement_set4(*args) - -def SoCoordinateElement_getInstance(*args): - """SoCoordinateElement_getInstance(SoState state) -> SoCoordinateElement""" - return _coin.SoCoordinateElement_getInstance(*args) - -def SoCoordinateElement_getDefault3(*args): - """SoCoordinateElement_getDefault3() -> SbVec3f""" - return _coin.SoCoordinateElement_getDefault3(*args) - -def SoCoordinateElement_getDefault4(*args): - """SoCoordinateElement_getDefault4() -> SbVec4f""" - return _coin.SoCoordinateElement_getDefault4(*args) - -class SoCreaseAngleElement(SoFloatElement): - """Proxy of C++ SoCreaseAngleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCreaseAngleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCreaseAngleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCreaseAngleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCreaseAngleElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCreaseAngleElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoCreaseAngleElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state) -> float - get(SoState state, SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """ - getDefault() -> float - getDefault(SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoCreaseAngleElement_swigregister = _coin.SoCreaseAngleElement_swigregister -SoCreaseAngleElement_swigregister(SoCreaseAngleElement) - -def SoCreaseAngleElement_getClassTypeId(*args): - """SoCreaseAngleElement_getClassTypeId() -> SoType""" - return _coin.SoCreaseAngleElement_getClassTypeId(*args) - -def SoCreaseAngleElement_getClassStackIndex(*args): - """SoCreaseAngleElement_getClassStackIndex() -> int""" - return _coin.SoCreaseAngleElement_getClassStackIndex(*args) - -def SoCreaseAngleElement_createInstance(*args): - """SoCreaseAngleElement_createInstance() -> void""" - return _coin.SoCreaseAngleElement_createInstance(*args) - -def SoCreaseAngleElement_initClass(*args): - """SoCreaseAngleElement_initClass()""" - return _coin.SoCreaseAngleElement_initClass(*args) - -def SoCreaseAngleElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoCreaseAngleElement_set(SoState state, float complexity) - """ - return _coin.SoCreaseAngleElement_set(*args) - -def SoCreaseAngleElement_get(*args): - """ - get(SoState state) -> float - SoCreaseAngleElement_get(SoState state, SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_get(*args) - -def SoCreaseAngleElement_getDefault(*args): - """ - getDefault() -> float - SoCreaseAngleElement_getDefault(SbBool isvrml1) -> float - """ - return _coin.SoCreaseAngleElement_getDefault(*args) - -class SoCullElement(SoElement): - """Proxy of C++ SoCullElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCullElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoCullElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCullElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCullElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoCullElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoCullElement_push(*args) - - def setViewVolume(*args): - """setViewVolume(SoState state, SbViewVolume vv)""" - return _coin.SoCullElement_setViewVolume(*args) - - setViewVolume = staticmethod(setViewVolume) - def addPlane(*args): - """addPlane(SoState state, SbPlane newplane)""" - return _coin.SoCullElement_addPlane(*args) - - addPlane = staticmethod(addPlane) - def cullBox(*args): - """ - cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - cullBox(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullBox(*args) - - cullBox = staticmethod(cullBox) - def cullTest(*args): - """ - cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - cullTest(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullTest(*args) - - cullTest = staticmethod(cullTest) - def completelyInside(*args): - """completelyInside(SoState state) -> SbBool""" - return _coin.SoCullElement_completelyInside(*args) - - completelyInside = staticmethod(completelyInside) - def matches(*args): - """matches(self, SoElement elt) -> SbBool""" - return _coin.SoCullElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoCullElement_copyMatchInfo(*args) - -SoCullElement_swigregister = _coin.SoCullElement_swigregister -SoCullElement_swigregister(SoCullElement) - -def SoCullElement_getClassTypeId(*args): - """SoCullElement_getClassTypeId() -> SoType""" - return _coin.SoCullElement_getClassTypeId(*args) - -def SoCullElement_getClassStackIndex(*args): - """SoCullElement_getClassStackIndex() -> int""" - return _coin.SoCullElement_getClassStackIndex(*args) - -def SoCullElement_createInstance(*args): - """SoCullElement_createInstance() -> void""" - return _coin.SoCullElement_createInstance(*args) - -def SoCullElement_initClass(*args): - """SoCullElement_initClass()""" - return _coin.SoCullElement_initClass(*args) - -def SoCullElement_setViewVolume(*args): - """SoCullElement_setViewVolume(SoState state, SbViewVolume vv)""" - return _coin.SoCullElement_setViewVolume(*args) - -def SoCullElement_addPlane(*args): - """SoCullElement_addPlane(SoState state, SbPlane newplane)""" - return _coin.SoCullElement_addPlane(*args) - -def SoCullElement_cullBox(*args): - """ - cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - SoCullElement_cullBox(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullBox(*args) - -def SoCullElement_cullTest(*args): - """ - cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool - SoCullElement_cullTest(SoState state, SbBox3f box) -> SbBool - """ - return _coin.SoCullElement_cullTest(*args) - -def SoCullElement_completelyInside(*args): - """SoCullElement_completelyInside(SoState state) -> SbBool""" - return _coin.SoCullElement_completelyInside(*args) - -class SoDecimationPercentageElement(SoFloatElement): - """Proxy of C++ SoDecimationPercentageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecimationPercentageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDecimationPercentageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecimationPercentageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDecimationPercentageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoDecimationPercentageElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float complexity) - set(SoState state, float complexity) - """ - return _coin.SoDecimationPercentageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoDecimationPercentageElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoDecimationPercentageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoDecimationPercentageElement_swigregister = _coin.SoDecimationPercentageElement_swigregister -SoDecimationPercentageElement_swigregister(SoDecimationPercentageElement) - -def SoDecimationPercentageElement_getClassTypeId(*args): - """SoDecimationPercentageElement_getClassTypeId() -> SoType""" - return _coin.SoDecimationPercentageElement_getClassTypeId(*args) - -def SoDecimationPercentageElement_getClassStackIndex(*args): - """SoDecimationPercentageElement_getClassStackIndex() -> int""" - return _coin.SoDecimationPercentageElement_getClassStackIndex(*args) - -def SoDecimationPercentageElement_createInstance(*args): - """SoDecimationPercentageElement_createInstance() -> void""" - return _coin.SoDecimationPercentageElement_createInstance(*args) - -def SoDecimationPercentageElement_initClass(*args): - """SoDecimationPercentageElement_initClass()""" - return _coin.SoDecimationPercentageElement_initClass(*args) - -def SoDecimationPercentageElement_set(*args): - """ - set(SoState state, SoNode node, float complexity) - SoDecimationPercentageElement_set(SoState state, float complexity) - """ - return _coin.SoDecimationPercentageElement_set(*args) - -def SoDecimationPercentageElement_get(*args): - """SoDecimationPercentageElement_get(SoState state) -> float""" - return _coin.SoDecimationPercentageElement_get(*args) - -def SoDecimationPercentageElement_getDefault(*args): - """SoDecimationPercentageElement_getDefault() -> float""" - return _coin.SoDecimationPercentageElement_getDefault(*args) - -class SoDiffuseColorElement(SoReplacedElement): - """Proxy of C++ SoDiffuseColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDiffuseColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoDiffuseColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDiffuseColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoDiffuseColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoDiffuseColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoDiffuseColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoDiffuseColorElement""" - return _coin.SoDiffuseColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoDiffuseColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoDiffuseColorElement_get(*args) - - def isPacked(*args): - """isPacked(self) -> SbBool""" - return _coin.SoDiffuseColorElement_isPacked(*args) - - def hasPackedTransparency(*args): - """hasPackedTransparency(self) -> SbBool""" - return _coin.SoDiffuseColorElement_hasPackedTransparency(*args) - - def getColorArrayPtr(*args): - """getColorArrayPtr(self) -> SbColor""" - return _coin.SoDiffuseColorElement_getColorArrayPtr(*args) - - def getPackedArrayPtr(*args): - """getPackedArrayPtr(self) -> uint32_t""" - return _coin.SoDiffuseColorElement_getPackedArrayPtr(*args) - -SoDiffuseColorElement_swigregister = _coin.SoDiffuseColorElement_swigregister -SoDiffuseColorElement_swigregister(SoDiffuseColorElement) - -def SoDiffuseColorElement_getClassTypeId(*args): - """SoDiffuseColorElement_getClassTypeId() -> SoType""" - return _coin.SoDiffuseColorElement_getClassTypeId(*args) - -def SoDiffuseColorElement_getClassStackIndex(*args): - """SoDiffuseColorElement_getClassStackIndex() -> int""" - return _coin.SoDiffuseColorElement_getClassStackIndex(*args) - -def SoDiffuseColorElement_createInstance(*args): - """SoDiffuseColorElement_createInstance() -> void""" - return _coin.SoDiffuseColorElement_createInstance(*args) - -def SoDiffuseColorElement_initClass(*args): - """SoDiffuseColorElement_initClass()""" - return _coin.SoDiffuseColorElement_initClass(*args) - -def SoDiffuseColorElement_set(*args): - """SoDiffuseColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoDiffuseColorElement_set(*args) - -def SoDiffuseColorElement_getInstance(*args): - """SoDiffuseColorElement_getInstance(SoState state) -> SoDiffuseColorElement""" - return _coin.SoDiffuseColorElement_getInstance(*args) - -class SoGLClipPlaneElement(SoClipPlaneElement): - """Proxy of C++ SoGLClipPlaneElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLClipPlaneElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLClipPlaneElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLClipPlaneElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLClipPlaneElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLClipPlaneElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLClipPlaneElement_pop(*args) - - def getMaxGLPlanes(*args): - """getMaxGLPlanes() -> int""" - return _coin.SoGLClipPlaneElement_getMaxGLPlanes(*args) - - getMaxGLPlanes = staticmethod(getMaxGLPlanes) -SoGLClipPlaneElement_swigregister = _coin.SoGLClipPlaneElement_swigregister -SoGLClipPlaneElement_swigregister(SoGLClipPlaneElement) - -def SoGLClipPlaneElement_getClassTypeId(*args): - """SoGLClipPlaneElement_getClassTypeId() -> SoType""" - return _coin.SoGLClipPlaneElement_getClassTypeId(*args) - -def SoGLClipPlaneElement_getClassStackIndex(*args): - """SoGLClipPlaneElement_getClassStackIndex() -> int""" - return _coin.SoGLClipPlaneElement_getClassStackIndex(*args) - -def SoGLClipPlaneElement_createInstance(*args): - """SoGLClipPlaneElement_createInstance() -> void""" - return _coin.SoGLClipPlaneElement_createInstance(*args) - -def SoGLClipPlaneElement_initClass(*args): - """SoGLClipPlaneElement_initClass()""" - return _coin.SoGLClipPlaneElement_initClass(*args) - -def SoGLClipPlaneElement_getMaxGLPlanes(*args): - """SoGLClipPlaneElement_getMaxGLPlanes() -> int""" - return _coin.SoGLClipPlaneElement_getMaxGLPlanes(*args) - -class SoLightElement(SoAccumulatedElement): - """Proxy of C++ SoLightElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLightElement_push(*args) - - def add(*args): - """add(SoState state, SoLight light, SbMatrix matrix)""" - return _coin.SoLightElement_add(*args) - - add = staticmethod(add) - def getLights(*args): - """getLights(SoState state) -> SoNodeList""" - return _coin.SoLightElement_getLights(*args) - - getLights = staticmethod(getLights) - def getMatrix(*args): - """getMatrix(SoState state, int index) -> SbMatrix""" - return _coin.SoLightElement_getMatrix(*args) - - getMatrix = staticmethod(getMatrix) -SoLightElement_swigregister = _coin.SoLightElement_swigregister -SoLightElement_swigregister(SoLightElement) - -def SoLightElement_getClassTypeId(*args): - """SoLightElement_getClassTypeId() -> SoType""" - return _coin.SoLightElement_getClassTypeId(*args) - -def SoLightElement_getClassStackIndex(*args): - """SoLightElement_getClassStackIndex() -> int""" - return _coin.SoLightElement_getClassStackIndex(*args) - -def SoLightElement_createInstance(*args): - """SoLightElement_createInstance() -> void""" - return _coin.SoLightElement_createInstance(*args) - -def SoLightElement_initClass(*args): - """SoLightElement_initClass()""" - return _coin.SoLightElement_initClass(*args) - -def SoLightElement_add(*args): - """SoLightElement_add(SoState state, SoLight light, SbMatrix matrix)""" - return _coin.SoLightElement_add(*args) - -def SoLightElement_getLights(*args): - """SoLightElement_getLights(SoState state) -> SoNodeList""" - return _coin.SoLightElement_getLights(*args) - -def SoLightElement_getMatrix(*args): - """SoLightElement_getMatrix(SoState state, int index) -> SbMatrix""" - return _coin.SoLightElement_getMatrix(*args) - -class SoGLModelMatrixElement(SoModelMatrixElement): - """Proxy of C++ SoGLModelMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLModelMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLModelMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLModelMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLModelMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLModelMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLModelMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLModelMatrixElement_pop(*args) - -SoGLModelMatrixElement_swigregister = _coin.SoGLModelMatrixElement_swigregister -SoGLModelMatrixElement_swigregister(SoGLModelMatrixElement) - -def SoGLModelMatrixElement_getClassTypeId(*args): - """SoGLModelMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLModelMatrixElement_getClassTypeId(*args) - -def SoGLModelMatrixElement_getClassStackIndex(*args): - """SoGLModelMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLModelMatrixElement_getClassStackIndex(*args) - -def SoGLModelMatrixElement_createInstance(*args): - """SoGLModelMatrixElement_createInstance() -> void""" - return _coin.SoGLModelMatrixElement_createInstance(*args) - -def SoGLModelMatrixElement_initClass(*args): - """SoGLModelMatrixElement_initClass()""" - return _coin.SoGLModelMatrixElement_initClass(*args) - -class SoProfileElement(SoAccumulatedElement): - """Proxy of C++ SoProfileElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProfileElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProfileElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProfileElement_initClass(*args) - - initClass = staticmethod(initClass) - START_FIRST = _coin.SoProfileElement_START_FIRST - START_NEW = _coin.SoProfileElement_START_NEW - ADD_TO_CURRENT = _coin.SoProfileElement_ADD_TO_CURRENT - def init(*args): - """init(self, SoState state)""" - return _coin.SoProfileElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoProfileElement_push(*args) - - def add(*args): - """add(SoState state, SoProfile profile)""" - return _coin.SoProfileElement_add(*args) - - add = staticmethod(add) - def get(*args): - """get(SoState state) -> SoNodeList""" - return _coin.SoProfileElement_get(*args) - - get = staticmethod(get) -SoProfileElement_swigregister = _coin.SoProfileElement_swigregister -SoProfileElement_swigregister(SoProfileElement) - -def SoProfileElement_getClassTypeId(*args): - """SoProfileElement_getClassTypeId() -> SoType""" - return _coin.SoProfileElement_getClassTypeId(*args) - -def SoProfileElement_getClassStackIndex(*args): - """SoProfileElement_getClassStackIndex() -> int""" - return _coin.SoProfileElement_getClassStackIndex(*args) - -def SoProfileElement_createInstance(*args): - """SoProfileElement_createInstance() -> void""" - return _coin.SoProfileElement_createInstance(*args) - -def SoProfileElement_initClass(*args): - """SoProfileElement_initClass()""" - return _coin.SoProfileElement_initClass(*args) - -def SoProfileElement_add(*args): - """SoProfileElement_add(SoState state, SoProfile profile)""" - return _coin.SoProfileElement_add(*args) - -def SoProfileElement_get(*args): - """SoProfileElement_get(SoState state) -> SoNodeList""" - return _coin.SoProfileElement_get(*args) - -class SoTextureMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state, SoNode node)""" - return _coin.SoTextureMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoTextureMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoTextureMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoTextureMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoTextureMatrixElement_get(*args) - - get = staticmethod(get) - def emptyMatrix(*args): - """emptyMatrix(SoState state)""" - return _coin.SoTextureMatrixElement_emptyMatrix(*args) - - emptyMatrix = staticmethod(emptyMatrix) -SoTextureMatrixElement_swigregister = _coin.SoTextureMatrixElement_swigregister -SoTextureMatrixElement_swigregister(SoTextureMatrixElement) - -def SoTextureMatrixElement_getClassTypeId(*args): - """SoTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoTextureMatrixElement_getClassTypeId(*args) - -def SoTextureMatrixElement_getClassStackIndex(*args): - """SoTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoTextureMatrixElement_getClassStackIndex(*args) - -def SoTextureMatrixElement_createInstance(*args): - """SoTextureMatrixElement_createInstance() -> void""" - return _coin.SoTextureMatrixElement_createInstance(*args) - -def SoTextureMatrixElement_initClass(*args): - """SoTextureMatrixElement_initClass()""" - return _coin.SoTextureMatrixElement_initClass(*args) - -def SoTextureMatrixElement_makeIdentity(*args): - """SoTextureMatrixElement_makeIdentity(SoState state, SoNode node)""" - return _coin.SoTextureMatrixElement_makeIdentity(*args) - -def SoTextureMatrixElement_set(*args): - """SoTextureMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_set(*args) - -def SoTextureMatrixElement_mult(*args): - """SoTextureMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoTextureMatrixElement_mult(*args) - -def SoTextureMatrixElement_translateBy(*args): - """SoTextureMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)""" - return _coin.SoTextureMatrixElement_translateBy(*args) - -def SoTextureMatrixElement_rotateBy(*args): - """SoTextureMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)""" - return _coin.SoTextureMatrixElement_rotateBy(*args) - -def SoTextureMatrixElement_scaleBy(*args): - """SoTextureMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)""" - return _coin.SoTextureMatrixElement_scaleBy(*args) - -def SoTextureMatrixElement_get(*args): - """SoTextureMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoTextureMatrixElement_get(*args) - -def SoTextureMatrixElement_emptyMatrix(*args): - """SoTextureMatrixElement_emptyMatrix(SoState state)""" - return _coin.SoTextureMatrixElement_emptyMatrix(*args) - -class SoGLTextureMatrixElement(SoTextureMatrixElement): - """Proxy of C++ SoGLTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureMatrixElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureMatrixElement_pop(*args) - - def setEltIdentity(*args): - """setEltIdentity()""" - return _coin.SoGLTextureMatrixElement_setEltIdentity(*args) - - setEltIdentity = staticmethod(setEltIdentity) - def setElt(*args): - """setElt(self, SbMatrix matrix)""" - return _coin.SoGLTextureMatrixElement_setElt(*args) - - def makeEltIdentity(*args): - """makeEltIdentity(self)""" - return _coin.SoGLTextureMatrixElement_makeEltIdentity(*args) - - def multElt(*args): - """multElt(self, SbMatrix matrix)""" - return _coin.SoGLTextureMatrixElement_multElt(*args) - - def translateEltBy(*args): - """translateEltBy(self, SbVec3f translation)""" - return _coin.SoGLTextureMatrixElement_translateEltBy(*args) - - def rotateEltBy(*args): - """rotateEltBy(self, SbRotation translation)""" - return _coin.SoGLTextureMatrixElement_rotateEltBy(*args) - - def scaleEltBy(*args): - """scaleEltBy(self, SbVec3f scaleFactor)""" - return _coin.SoGLTextureMatrixElement_scaleEltBy(*args) - -SoGLTextureMatrixElement_swigregister = _coin.SoGLTextureMatrixElement_swigregister -SoGLTextureMatrixElement_swigregister(SoGLTextureMatrixElement) - -def SoGLTextureMatrixElement_getClassTypeId(*args): - """SoGLTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureMatrixElement_getClassTypeId(*args) - -def SoGLTextureMatrixElement_getClassStackIndex(*args): - """SoGLTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureMatrixElement_getClassStackIndex(*args) - -def SoGLTextureMatrixElement_createInstance(*args): - """SoGLTextureMatrixElement_createInstance() -> void""" - return _coin.SoGLTextureMatrixElement_createInstance(*args) - -def SoGLTextureMatrixElement_initClass(*args): - """SoGLTextureMatrixElement_initClass()""" - return _coin.SoGLTextureMatrixElement_initClass(*args) - -def SoGLTextureMatrixElement_setEltIdentity(*args): - """SoGLTextureMatrixElement_setEltIdentity()""" - return _coin.SoGLTextureMatrixElement_setEltIdentity(*args) - -class SoGLDrawStyleElement(SoDrawStyleElement): - """Proxy of C++ SoGLDrawStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLDrawStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLDrawStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLDrawStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLDrawStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLDrawStyleElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLDrawStyleElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLDrawStyleElement_pop(*args) - -SoGLDrawStyleElement_swigregister = _coin.SoGLDrawStyleElement_swigregister -SoGLDrawStyleElement_swigregister(SoGLDrawStyleElement) - -def SoGLDrawStyleElement_getClassTypeId(*args): - """SoGLDrawStyleElement_getClassTypeId() -> SoType""" - return _coin.SoGLDrawStyleElement_getClassTypeId(*args) - -def SoGLDrawStyleElement_getClassStackIndex(*args): - """SoGLDrawStyleElement_getClassStackIndex() -> int""" - return _coin.SoGLDrawStyleElement_getClassStackIndex(*args) - -def SoGLDrawStyleElement_createInstance(*args): - """SoGLDrawStyleElement_createInstance() -> void""" - return _coin.SoGLDrawStyleElement_createInstance(*args) - -def SoGLDrawStyleElement_initClass(*args): - """SoGLDrawStyleElement_initClass()""" - return _coin.SoGLDrawStyleElement_initClass(*args) - -class SoGLLightIdElement(SoInt32Element): - """Proxy of C++ SoGLLightIdElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLightIdElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLightIdElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLightIdElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLightIdElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLightIdElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLightIdElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLightIdElement_pop(*args) - - def increment(*args): - """ - increment(SoState state, SoNode node) -> int32_t - increment(SoState state) -> int32_t - """ - return _coin.SoGLLightIdElement_increment(*args) - - increment = staticmethod(increment) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoGLLightIdElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoGLLightIdElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def getMaxGLSources(*args): - """getMaxGLSources() -> int32_t""" - return _coin.SoGLLightIdElement_getMaxGLSources(*args) - - getMaxGLSources = staticmethod(getMaxGLSources) -SoGLLightIdElement_swigregister = _coin.SoGLLightIdElement_swigregister -SoGLLightIdElement_swigregister(SoGLLightIdElement) - -def SoGLLightIdElement_getClassTypeId(*args): - """SoGLLightIdElement_getClassTypeId() -> SoType""" - return _coin.SoGLLightIdElement_getClassTypeId(*args) - -def SoGLLightIdElement_getClassStackIndex(*args): - """SoGLLightIdElement_getClassStackIndex() -> int""" - return _coin.SoGLLightIdElement_getClassStackIndex(*args) - -def SoGLLightIdElement_createInstance(*args): - """SoGLLightIdElement_createInstance() -> void""" - return _coin.SoGLLightIdElement_createInstance(*args) - -def SoGLLightIdElement_initClass(*args): - """SoGLLightIdElement_initClass()""" - return _coin.SoGLLightIdElement_initClass(*args) - -def SoGLLightIdElement_increment(*args): - """ - increment(SoState state, SoNode node) -> int32_t - SoGLLightIdElement_increment(SoState state) -> int32_t - """ - return _coin.SoGLLightIdElement_increment(*args) - -def SoGLLightIdElement_get(*args): - """SoGLLightIdElement_get(SoState state) -> int32_t""" - return _coin.SoGLLightIdElement_get(*args) - -def SoGLLightIdElement_getDefault(*args): - """SoGLLightIdElement_getDefault() -> int32_t""" - return _coin.SoGLLightIdElement_getDefault(*args) - -def SoGLLightIdElement_getMaxGLSources(*args): - """SoGLLightIdElement_getMaxGLSources() -> int32_t""" - return _coin.SoGLLightIdElement_getMaxGLSources(*args) - -class SoTextureEnabledElement(SoInt32Element): - """Proxy of C++ SoTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureEnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTextureEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTextureEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoTextureEnabledElement_setElt(*args) - -SoTextureEnabledElement_swigregister = _coin.SoTextureEnabledElement_swigregister -SoTextureEnabledElement_swigregister(SoTextureEnabledElement) - -def SoTextureEnabledElement_getClassTypeId(*args): - """SoTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTextureEnabledElement_getClassTypeId(*args) - -def SoTextureEnabledElement_getClassStackIndex(*args): - """SoTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoTextureEnabledElement_getClassStackIndex(*args) - -def SoTextureEnabledElement_createInstance(*args): - """SoTextureEnabledElement_createInstance() -> void""" - return _coin.SoTextureEnabledElement_createInstance(*args) - -def SoTextureEnabledElement_initClass(*args): - """SoTextureEnabledElement_initClass()""" - return _coin.SoTextureEnabledElement_initClass(*args) - -def SoTextureEnabledElement_set(*args): - """SoTextureEnabledElement_set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTextureEnabledElement_set(*args) - -def SoTextureEnabledElement_get(*args): - """SoTextureEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTextureEnabledElement_get(*args) - -def SoTextureEnabledElement_getDefault(*args): - """SoTextureEnabledElement_getDefault() -> SbBool""" - return _coin.SoTextureEnabledElement_getDefault(*args) - -class SoGLTextureEnabledElement(SoTextureEnabledElement): - """Proxy of C++ SoGLTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - DISABLED = _coin.SoGLTextureEnabledElement_DISABLED - TEXTURE2D = _coin.SoGLTextureEnabledElement_TEXTURE2D - RECTANGLE = _coin.SoGLTextureEnabledElement_RECTANGLE - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureEnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoGLTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoGLTextureEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoGLTextureEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoGLTextureEnabledElement_setElt(*args) - - def enableRectangle(*args): - """enableRectangle(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableRectangle(*args) - - enableRectangle = staticmethod(enableRectangle) - def getMode(*args): - """getMode(SoState state) -> Mode""" - return _coin.SoGLTextureEnabledElement_getMode(*args) - - getMode = staticmethod(getMode) -SoGLTextureEnabledElement_swigregister = _coin.SoGLTextureEnabledElement_swigregister -SoGLTextureEnabledElement_swigregister(SoGLTextureEnabledElement) - -def SoGLTextureEnabledElement_getClassTypeId(*args): - """SoGLTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureEnabledElement_getClassTypeId(*args) - -def SoGLTextureEnabledElement_getClassStackIndex(*args): - """SoGLTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureEnabledElement_getClassStackIndex(*args) - -def SoGLTextureEnabledElement_createInstance(*args): - """SoGLTextureEnabledElement_createInstance() -> void""" - return _coin.SoGLTextureEnabledElement_createInstance(*args) - -def SoGLTextureEnabledElement_initClass(*args): - """SoGLTextureEnabledElement_initClass()""" - return _coin.SoGLTextureEnabledElement_initClass(*args) - -def SoGLTextureEnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoGLTextureEnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoGLTextureEnabledElement_set(*args) - -def SoGLTextureEnabledElement_get(*args): - """SoGLTextureEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoGLTextureEnabledElement_get(*args) - -def SoGLTextureEnabledElement_getDefault(*args): - """SoGLTextureEnabledElement_getDefault() -> SbBool""" - return _coin.SoGLTextureEnabledElement_getDefault(*args) - -def SoGLTextureEnabledElement_enableRectangle(*args): - """SoGLTextureEnabledElement_enableRectangle(SoState state, SoNode node)""" - return _coin.SoGLTextureEnabledElement_enableRectangle(*args) - -def SoGLTextureEnabledElement_getMode(*args): - """SoGLTextureEnabledElement_getMode(SoState state) -> Mode""" - return _coin.SoGLTextureEnabledElement_getMode(*args) - -class SoTexture3EnabledElement(SoInt32Element): - """Proxy of C++ SoTexture3EnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3EnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTexture3EnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTexture3EnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTexture3EnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTexture3EnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTexture3EnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTexture3EnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTexture3EnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoTexture3EnabledElement_setElt(*args) - -SoTexture3EnabledElement_swigregister = _coin.SoTexture3EnabledElement_swigregister -SoTexture3EnabledElement_swigregister(SoTexture3EnabledElement) - -def SoTexture3EnabledElement_getClassTypeId(*args): - """SoTexture3EnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTexture3EnabledElement_getClassTypeId(*args) - -def SoTexture3EnabledElement_getClassStackIndex(*args): - """SoTexture3EnabledElement_getClassStackIndex() -> int""" - return _coin.SoTexture3EnabledElement_getClassStackIndex(*args) - -def SoTexture3EnabledElement_createInstance(*args): - """SoTexture3EnabledElement_createInstance() -> void""" - return _coin.SoTexture3EnabledElement_createInstance(*args) - -def SoTexture3EnabledElement_initClass(*args): - """SoTexture3EnabledElement_initClass()""" - return _coin.SoTexture3EnabledElement_initClass(*args) - -def SoTexture3EnabledElement_set(*args): - """SoTexture3EnabledElement_set(SoState state, SoNode node, SbBool enabled)""" - return _coin.SoTexture3EnabledElement_set(*args) - -def SoTexture3EnabledElement_get(*args): - """SoTexture3EnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTexture3EnabledElement_get(*args) - -def SoTexture3EnabledElement_getDefault(*args): - """SoTexture3EnabledElement_getDefault() -> SbBool""" - return _coin.SoTexture3EnabledElement_getDefault(*args) - -class SoGLTexture3EnabledElement(SoTexture3EnabledElement): - """Proxy of C++ SoGLTexture3EnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTexture3EnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTexture3EnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTexture3EnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTexture3EnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTexture3EnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTexture3EnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTexture3EnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoGLTexture3EnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoGLTexture3EnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoGLTexture3EnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def setElt(*args): - """setElt(self, int32_t value)""" - return _coin.SoGLTexture3EnabledElement_setElt(*args) - -SoGLTexture3EnabledElement_swigregister = _coin.SoGLTexture3EnabledElement_swigregister -SoGLTexture3EnabledElement_swigregister(SoGLTexture3EnabledElement) - -def SoGLTexture3EnabledElement_getClassTypeId(*args): - """SoGLTexture3EnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLTexture3EnabledElement_getClassTypeId(*args) - -def SoGLTexture3EnabledElement_getClassStackIndex(*args): - """SoGLTexture3EnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLTexture3EnabledElement_getClassStackIndex(*args) - -def SoGLTexture3EnabledElement_createInstance(*args): - """SoGLTexture3EnabledElement_createInstance() -> void""" - return _coin.SoGLTexture3EnabledElement_createInstance(*args) - -def SoGLTexture3EnabledElement_initClass(*args): - """SoGLTexture3EnabledElement_initClass()""" - return _coin.SoGLTexture3EnabledElement_initClass(*args) - -def SoGLTexture3EnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoGLTexture3EnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoGLTexture3EnabledElement_set(*args) - -def SoGLTexture3EnabledElement_get(*args): - """SoGLTexture3EnabledElement_get(SoState state) -> SbBool""" - return _coin.SoGLTexture3EnabledElement_get(*args) - -def SoGLTexture3EnabledElement_getDefault(*args): - """SoGLTexture3EnabledElement_getDefault() -> SbBool""" - return _coin.SoGLTexture3EnabledElement_getDefault(*args) - -class SoLinePatternElement(SoInt32Element): - """Proxy of C++ SoLinePatternElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLinePatternElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLinePatternElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLinePatternElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLinePatternElement_initClass(*args) - - initClass = staticmethod(initClass) - CONTINUOUS = _coin.SoLinePatternElement_CONTINUOUS - def init(*args): - """init(self, SoState state)""" - return _coin.SoLinePatternElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t pattern) - set(SoState state, int32_t pattern) - """ - return _coin.SoLinePatternElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoLinePatternElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoLinePatternElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoLinePatternElement_swigregister = _coin.SoLinePatternElement_swigregister -SoLinePatternElement_swigregister(SoLinePatternElement) - -def SoLinePatternElement_getClassTypeId(*args): - """SoLinePatternElement_getClassTypeId() -> SoType""" - return _coin.SoLinePatternElement_getClassTypeId(*args) - -def SoLinePatternElement_getClassStackIndex(*args): - """SoLinePatternElement_getClassStackIndex() -> int""" - return _coin.SoLinePatternElement_getClassStackIndex(*args) - -def SoLinePatternElement_createInstance(*args): - """SoLinePatternElement_createInstance() -> void""" - return _coin.SoLinePatternElement_createInstance(*args) - -def SoLinePatternElement_initClass(*args): - """SoLinePatternElement_initClass()""" - return _coin.SoLinePatternElement_initClass(*args) - -def SoLinePatternElement_set(*args): - """ - set(SoState state, SoNode node, int32_t pattern) - SoLinePatternElement_set(SoState state, int32_t pattern) - """ - return _coin.SoLinePatternElement_set(*args) - -def SoLinePatternElement_get(*args): - """SoLinePatternElement_get(SoState state) -> int32_t""" - return _coin.SoLinePatternElement_get(*args) - -def SoLinePatternElement_getDefault(*args): - """SoLinePatternElement_getDefault() -> int32_t""" - return _coin.SoLinePatternElement_getDefault(*args) - -class SoGLLinePatternElement(SoLinePatternElement): - """Proxy of C++ SoGLLinePatternElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLinePatternElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLinePatternElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLinePatternElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLinePatternElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLinePatternElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLinePatternElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLinePatternElement_pop(*args) - -SoGLLinePatternElement_swigregister = _coin.SoGLLinePatternElement_swigregister -SoGLLinePatternElement_swigregister(SoGLLinePatternElement) - -def SoGLLinePatternElement_getClassTypeId(*args): - """SoGLLinePatternElement_getClassTypeId() -> SoType""" - return _coin.SoGLLinePatternElement_getClassTypeId(*args) - -def SoGLLinePatternElement_getClassStackIndex(*args): - """SoGLLinePatternElement_getClassStackIndex() -> int""" - return _coin.SoGLLinePatternElement_getClassStackIndex(*args) - -def SoGLLinePatternElement_createInstance(*args): - """SoGLLinePatternElement_createInstance() -> void""" - return _coin.SoGLLinePatternElement_createInstance(*args) - -def SoGLLinePatternElement_initClass(*args): - """SoGLLinePatternElement_initClass()""" - return _coin.SoGLLinePatternElement_initClass(*args) - -class SoSwitchElement(SoInt32Element): - """Proxy of C++ SoSwitchElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSwitchElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSwitchElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSwitchElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSwitchElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSwitchElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int32_t index) - set(SoState state, int32_t index) - """ - return _coin.SoSwitchElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int32_t""" - return _coin.SoSwitchElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoSwitchElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoSwitchElement_swigregister = _coin.SoSwitchElement_swigregister -SoSwitchElement_swigregister(SoSwitchElement) - -def SoSwitchElement_getClassTypeId(*args): - """SoSwitchElement_getClassTypeId() -> SoType""" - return _coin.SoSwitchElement_getClassTypeId(*args) - -def SoSwitchElement_getClassStackIndex(*args): - """SoSwitchElement_getClassStackIndex() -> int""" - return _coin.SoSwitchElement_getClassStackIndex(*args) - -def SoSwitchElement_createInstance(*args): - """SoSwitchElement_createInstance() -> void""" - return _coin.SoSwitchElement_createInstance(*args) - -def SoSwitchElement_initClass(*args): - """SoSwitchElement_initClass()""" - return _coin.SoSwitchElement_initClass(*args) - -def SoSwitchElement_set(*args): - """ - set(SoState state, SoNode node, int32_t index) - SoSwitchElement_set(SoState state, int32_t index) - """ - return _coin.SoSwitchElement_set(*args) - -def SoSwitchElement_get(*args): - """SoSwitchElement_get(SoState state) -> int32_t""" - return _coin.SoSwitchElement_get(*args) - -def SoSwitchElement_getDefault(*args): - """SoSwitchElement_getDefault() -> int32_t""" - return _coin.SoSwitchElement_getDefault(*args) - -class SoTextOutlineEnabledElement(SoInt32Element): - """Proxy of C++ SoTextOutlineEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextOutlineEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextOutlineEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextOutlineEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextOutlineEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextOutlineEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextOutlineEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoTextOutlineEnabledElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - set(SoState state, SbBool enabled) - """ - return _coin.SoTextOutlineEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbBool""" - return _coin.SoTextOutlineEnabledElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbBool""" - return _coin.SoTextOutlineEnabledElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextOutlineEnabledElement_swigregister = _coin.SoTextOutlineEnabledElement_swigregister -SoTextOutlineEnabledElement_swigregister(SoTextOutlineEnabledElement) - -def SoTextOutlineEnabledElement_getClassTypeId(*args): - """SoTextOutlineEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoTextOutlineEnabledElement_getClassTypeId(*args) - -def SoTextOutlineEnabledElement_getClassStackIndex(*args): - """SoTextOutlineEnabledElement_getClassStackIndex() -> int""" - return _coin.SoTextOutlineEnabledElement_getClassStackIndex(*args) - -def SoTextOutlineEnabledElement_createInstance(*args): - """SoTextOutlineEnabledElement_createInstance() -> void""" - return _coin.SoTextOutlineEnabledElement_createInstance(*args) - -def SoTextOutlineEnabledElement_initClass(*args): - """SoTextOutlineEnabledElement_initClass()""" - return _coin.SoTextOutlineEnabledElement_initClass(*args) - -def SoTextOutlineEnabledElement_set(*args): - """ - set(SoState state, SoNode node, SbBool enabled) - SoTextOutlineEnabledElement_set(SoState state, SbBool enabled) - """ - return _coin.SoTextOutlineEnabledElement_set(*args) - -def SoTextOutlineEnabledElement_get(*args): - """SoTextOutlineEnabledElement_get(SoState state) -> SbBool""" - return _coin.SoTextOutlineEnabledElement_get(*args) - -def SoTextOutlineEnabledElement_getDefault(*args): - """SoTextOutlineEnabledElement_getDefault() -> SbBool""" - return _coin.SoTextOutlineEnabledElement_getDefault(*args) - -class SoUnitsElement(SoInt32Element): - """Proxy of C++ SoUnitsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoUnitsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoUnitsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoUnitsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoUnitsElement_initClass(*args) - - initClass = staticmethod(initClass) - METERS = _coin.SoUnitsElement_METERS - CENTIMETERS = _coin.SoUnitsElement_CENTIMETERS - MILLIMETERS = _coin.SoUnitsElement_MILLIMETERS - MICROMETERS = _coin.SoUnitsElement_MICROMETERS - MICRONS = _coin.SoUnitsElement_MICRONS - NANOMETERS = _coin.SoUnitsElement_NANOMETERS - ANGSTROMS = _coin.SoUnitsElement_ANGSTROMS - KILOMETERS = _coin.SoUnitsElement_KILOMETERS - FEET = _coin.SoUnitsElement_FEET - INCHES = _coin.SoUnitsElement_INCHES - POINTS = _coin.SoUnitsElement_POINTS - YARDS = _coin.SoUnitsElement_YARDS - MILES = _coin.SoUnitsElement_MILES - NAUTICAL_MILES = _coin.SoUnitsElement_NAUTICAL_MILES - def init(*args): - """init(self, SoState state)""" - return _coin.SoUnitsElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, Units units) - set(SoState state, Units units) - """ - return _coin.SoUnitsElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Units""" - return _coin.SoUnitsElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Units""" - return _coin.SoUnitsElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoUnitsElement_swigregister = _coin.SoUnitsElement_swigregister -SoUnitsElement_swigregister(SoUnitsElement) - -def SoUnitsElement_getClassTypeId(*args): - """SoUnitsElement_getClassTypeId() -> SoType""" - return _coin.SoUnitsElement_getClassTypeId(*args) - -def SoUnitsElement_getClassStackIndex(*args): - """SoUnitsElement_getClassStackIndex() -> int""" - return _coin.SoUnitsElement_getClassStackIndex(*args) - -def SoUnitsElement_createInstance(*args): - """SoUnitsElement_createInstance() -> void""" - return _coin.SoUnitsElement_createInstance(*args) - -def SoUnitsElement_initClass(*args): - """SoUnitsElement_initClass()""" - return _coin.SoUnitsElement_initClass(*args) - -def SoUnitsElement_set(*args): - """ - set(SoState state, SoNode node, Units units) - SoUnitsElement_set(SoState state, Units units) - """ - return _coin.SoUnitsElement_set(*args) - -def SoUnitsElement_get(*args): - """SoUnitsElement_get(SoState state) -> Units""" - return _coin.SoUnitsElement_get(*args) - -def SoUnitsElement_getDefault(*args): - """SoUnitsElement_getDefault() -> Units""" - return _coin.SoUnitsElement_getDefault(*args) - -class SoFocalDistanceElement(SoFloatElement): - """Proxy of C++ SoFocalDistanceElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFocalDistanceElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFocalDistanceElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFocalDistanceElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFocalDistanceElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFocalDistanceElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float distance) - set(SoState state, float distance) - """ - return _coin.SoFocalDistanceElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoFocalDistanceElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoFocalDistanceElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoFocalDistanceElement_swigregister = _coin.SoFocalDistanceElement_swigregister -SoFocalDistanceElement_swigregister(SoFocalDistanceElement) - -def SoFocalDistanceElement_getClassTypeId(*args): - """SoFocalDistanceElement_getClassTypeId() -> SoType""" - return _coin.SoFocalDistanceElement_getClassTypeId(*args) - -def SoFocalDistanceElement_getClassStackIndex(*args): - """SoFocalDistanceElement_getClassStackIndex() -> int""" - return _coin.SoFocalDistanceElement_getClassStackIndex(*args) - -def SoFocalDistanceElement_createInstance(*args): - """SoFocalDistanceElement_createInstance() -> void""" - return _coin.SoFocalDistanceElement_createInstance(*args) - -def SoFocalDistanceElement_initClass(*args): - """SoFocalDistanceElement_initClass()""" - return _coin.SoFocalDistanceElement_initClass(*args) - -def SoFocalDistanceElement_set(*args): - """ - set(SoState state, SoNode node, float distance) - SoFocalDistanceElement_set(SoState state, float distance) - """ - return _coin.SoFocalDistanceElement_set(*args) - -def SoFocalDistanceElement_get(*args): - """SoFocalDistanceElement_get(SoState state) -> float""" - return _coin.SoFocalDistanceElement_get(*args) - -def SoFocalDistanceElement_getDefault(*args): - """SoFocalDistanceElement_getDefault() -> float""" - return _coin.SoFocalDistanceElement_getDefault(*args) - -class SoFontSizeElement(SoFloatElement): - """Proxy of C++ SoFontSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFontSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFontSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFontSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFontSizeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float fontSize) - set(SoState state, float fontSize) - """ - return _coin.SoFontSizeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoFontSizeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoFontSizeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoFontSizeElement_swigregister = _coin.SoFontSizeElement_swigregister -SoFontSizeElement_swigregister(SoFontSizeElement) - -def SoFontSizeElement_getClassTypeId(*args): - """SoFontSizeElement_getClassTypeId() -> SoType""" - return _coin.SoFontSizeElement_getClassTypeId(*args) - -def SoFontSizeElement_getClassStackIndex(*args): - """SoFontSizeElement_getClassStackIndex() -> int""" - return _coin.SoFontSizeElement_getClassStackIndex(*args) - -def SoFontSizeElement_createInstance(*args): - """SoFontSizeElement_createInstance() -> void""" - return _coin.SoFontSizeElement_createInstance(*args) - -def SoFontSizeElement_initClass(*args): - """SoFontSizeElement_initClass()""" - return _coin.SoFontSizeElement_initClass(*args) - -def SoFontSizeElement_set(*args): - """ - set(SoState state, SoNode node, float fontSize) - SoFontSizeElement_set(SoState state, float fontSize) - """ - return _coin.SoFontSizeElement_set(*args) - -def SoFontSizeElement_get(*args): - """SoFontSizeElement_get(SoState state) -> float""" - return _coin.SoFontSizeElement_get(*args) - -def SoFontSizeElement_getDefault(*args): - """SoFontSizeElement_getDefault() -> float""" - return _coin.SoFontSizeElement_getDefault(*args) - -class SoLineWidthElement(SoFloatElement): - """Proxy of C++ SoLineWidthElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineWidthElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLineWidthElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLineWidthElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLineWidthElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLineWidthElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float lineWidth) - set(SoState state, float lineWidth) - """ - return _coin.SoLineWidthElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoLineWidthElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoLineWidthElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoLineWidthElement_swigregister = _coin.SoLineWidthElement_swigregister -SoLineWidthElement_swigregister(SoLineWidthElement) - -def SoLineWidthElement_getClassTypeId(*args): - """SoLineWidthElement_getClassTypeId() -> SoType""" - return _coin.SoLineWidthElement_getClassTypeId(*args) - -def SoLineWidthElement_getClassStackIndex(*args): - """SoLineWidthElement_getClassStackIndex() -> int""" - return _coin.SoLineWidthElement_getClassStackIndex(*args) - -def SoLineWidthElement_createInstance(*args): - """SoLineWidthElement_createInstance() -> void""" - return _coin.SoLineWidthElement_createInstance(*args) - -def SoLineWidthElement_initClass(*args): - """SoLineWidthElement_initClass()""" - return _coin.SoLineWidthElement_initClass(*args) - -def SoLineWidthElement_set(*args): - """ - set(SoState state, SoNode node, float lineWidth) - SoLineWidthElement_set(SoState state, float lineWidth) - """ - return _coin.SoLineWidthElement_set(*args) - -def SoLineWidthElement_get(*args): - """SoLineWidthElement_get(SoState state) -> float""" - return _coin.SoLineWidthElement_get(*args) - -def SoLineWidthElement_getDefault(*args): - """SoLineWidthElement_getDefault() -> float""" - return _coin.SoLineWidthElement_getDefault(*args) - -class SoGLLineWidthElement(SoLineWidthElement): - """Proxy of C++ SoGLLineWidthElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLLineWidthElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLLineWidthElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLLineWidthElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLLineWidthElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLLineWidthElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLLineWidthElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLLineWidthElement_pop(*args) - -SoGLLineWidthElement_swigregister = _coin.SoGLLineWidthElement_swigregister -SoGLLineWidthElement_swigregister(SoGLLineWidthElement) - -def SoGLLineWidthElement_getClassTypeId(*args): - """SoGLLineWidthElement_getClassTypeId() -> SoType""" - return _coin.SoGLLineWidthElement_getClassTypeId(*args) - -def SoGLLineWidthElement_getClassStackIndex(*args): - """SoGLLineWidthElement_getClassStackIndex() -> int""" - return _coin.SoGLLineWidthElement_getClassStackIndex(*args) - -def SoGLLineWidthElement_createInstance(*args): - """SoGLLineWidthElement_createInstance() -> void""" - return _coin.SoGLLineWidthElement_createInstance(*args) - -def SoGLLineWidthElement_initClass(*args): - """SoGLLineWidthElement_initClass()""" - return _coin.SoGLLineWidthElement_initClass(*args) - -class SoPointSizeElement(SoFloatElement): - """Proxy of C++ SoPointSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPointSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPointSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPointSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoPointSizeElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float pointSize) - set(SoState state, float pointSize) - """ - return _coin.SoPointSizeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoPointSizeElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoPointSizeElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPointSizeElement_swigregister = _coin.SoPointSizeElement_swigregister -SoPointSizeElement_swigregister(SoPointSizeElement) - -def SoPointSizeElement_getClassTypeId(*args): - """SoPointSizeElement_getClassTypeId() -> SoType""" - return _coin.SoPointSizeElement_getClassTypeId(*args) - -def SoPointSizeElement_getClassStackIndex(*args): - """SoPointSizeElement_getClassStackIndex() -> int""" - return _coin.SoPointSizeElement_getClassStackIndex(*args) - -def SoPointSizeElement_createInstance(*args): - """SoPointSizeElement_createInstance() -> void""" - return _coin.SoPointSizeElement_createInstance(*args) - -def SoPointSizeElement_initClass(*args): - """SoPointSizeElement_initClass()""" - return _coin.SoPointSizeElement_initClass(*args) - -def SoPointSizeElement_set(*args): - """ - set(SoState state, SoNode node, float pointSize) - SoPointSizeElement_set(SoState state, float pointSize) - """ - return _coin.SoPointSizeElement_set(*args) - -def SoPointSizeElement_get(*args): - """SoPointSizeElement_get(SoState state) -> float""" - return _coin.SoPointSizeElement_get(*args) - -def SoPointSizeElement_getDefault(*args): - """SoPointSizeElement_getDefault() -> float""" - return _coin.SoPointSizeElement_getDefault(*args) - -class SoGLPointSizeElement(SoPointSizeElement): - """Proxy of C++ SoGLPointSizeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLPointSizeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLPointSizeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLPointSizeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLPointSizeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLPointSizeElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLPointSizeElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLPointSizeElement_pop(*args) - -SoGLPointSizeElement_swigregister = _coin.SoGLPointSizeElement_swigregister -SoGLPointSizeElement_swigregister(SoGLPointSizeElement) - -def SoGLPointSizeElement_getClassTypeId(*args): - """SoGLPointSizeElement_getClassTypeId() -> SoType""" - return _coin.SoGLPointSizeElement_getClassTypeId(*args) - -def SoGLPointSizeElement_getClassStackIndex(*args): - """SoGLPointSizeElement_getClassStackIndex() -> int""" - return _coin.SoGLPointSizeElement_getClassStackIndex(*args) - -def SoGLPointSizeElement_createInstance(*args): - """SoGLPointSizeElement_createInstance() -> void""" - return _coin.SoGLPointSizeElement_createInstance(*args) - -def SoGLPointSizeElement_initClass(*args): - """SoGLPointSizeElement_initClass()""" - return _coin.SoGLPointSizeElement_initClass(*args) - -class SoTextureQualityElement(SoFloatElement): - """Proxy of C++ SoTextureQualityElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureQualityElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureQualityElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureQualityElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureQualityElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureQualityElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float quality) - set(SoState state, float quality) - """ - return _coin.SoTextureQualityElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoTextureQualityElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> float""" - return _coin.SoTextureQualityElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoTextureQualityElement_swigregister = _coin.SoTextureQualityElement_swigregister -SoTextureQualityElement_swigregister(SoTextureQualityElement) - -def SoTextureQualityElement_getClassTypeId(*args): - """SoTextureQualityElement_getClassTypeId() -> SoType""" - return _coin.SoTextureQualityElement_getClassTypeId(*args) - -def SoTextureQualityElement_getClassStackIndex(*args): - """SoTextureQualityElement_getClassStackIndex() -> int""" - return _coin.SoTextureQualityElement_getClassStackIndex(*args) - -def SoTextureQualityElement_createInstance(*args): - """SoTextureQualityElement_createInstance() -> void""" - return _coin.SoTextureQualityElement_createInstance(*args) - -def SoTextureQualityElement_initClass(*args): - """SoTextureQualityElement_initClass()""" - return _coin.SoTextureQualityElement_initClass(*args) - -def SoTextureQualityElement_set(*args): - """ - set(SoState state, SoNode node, float quality) - SoTextureQualityElement_set(SoState state, float quality) - """ - return _coin.SoTextureQualityElement_set(*args) - -def SoTextureQualityElement_get(*args): - """SoTextureQualityElement_get(SoState state) -> float""" - return _coin.SoTextureQualityElement_get(*args) - -def SoTextureQualityElement_getDefault(*args): - """SoTextureQualityElement_getDefault() -> float""" - return _coin.SoTextureQualityElement_getDefault(*args) - -class SoTextureOverrideElement(SoElement): - """Proxy of C++ SoTextureOverrideElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureOverrideElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureOverrideElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureOverrideElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureOverrideElement_initClass(*args) - - initClass = staticmethod(initClass) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoTextureOverrideElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoTextureOverrideElement_copyMatchInfo(*args) - - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureOverrideElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureOverrideElement_push(*args) - - def getQualityOverride(*args): - """getQualityOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getQualityOverride(*args) - - getQualityOverride = staticmethod(getQualityOverride) - def getImageOverride(*args): - """getImageOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getImageOverride(*args) - - getImageOverride = staticmethod(getImageOverride) - def getBumpMapOverride(*args): - """getBumpMapOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getBumpMapOverride(*args) - - getBumpMapOverride = staticmethod(getBumpMapOverride) - def setQualityOverride(*args): - """setQualityOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setQualityOverride(*args) - - setQualityOverride = staticmethod(setQualityOverride) - def setImageOverride(*args): - """setImageOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setImageOverride(*args) - - setImageOverride = staticmethod(setImageOverride) - def setBumpMapOverride(*args): - """setBumpMapOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setBumpMapOverride(*args) - - setBumpMapOverride = staticmethod(setBumpMapOverride) - def output(*args): - """output(self, FILE fp)""" - return _coin.SoTextureOverrideElement_output(*args) - -SoTextureOverrideElement_swigregister = _coin.SoTextureOverrideElement_swigregister -SoTextureOverrideElement_swigregister(SoTextureOverrideElement) - -def SoTextureOverrideElement_getClassTypeId(*args): - """SoTextureOverrideElement_getClassTypeId() -> SoType""" - return _coin.SoTextureOverrideElement_getClassTypeId(*args) - -def SoTextureOverrideElement_getClassStackIndex(*args): - """SoTextureOverrideElement_getClassStackIndex() -> int""" - return _coin.SoTextureOverrideElement_getClassStackIndex(*args) - -def SoTextureOverrideElement_createInstance(*args): - """SoTextureOverrideElement_createInstance() -> void""" - return _coin.SoTextureOverrideElement_createInstance(*args) - -def SoTextureOverrideElement_initClass(*args): - """SoTextureOverrideElement_initClass()""" - return _coin.SoTextureOverrideElement_initClass(*args) - -def SoTextureOverrideElement_getQualityOverride(*args): - """SoTextureOverrideElement_getQualityOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getQualityOverride(*args) - -def SoTextureOverrideElement_getImageOverride(*args): - """SoTextureOverrideElement_getImageOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getImageOverride(*args) - -def SoTextureOverrideElement_getBumpMapOverride(*args): - """SoTextureOverrideElement_getBumpMapOverride(SoState state) -> SbBool""" - return _coin.SoTextureOverrideElement_getBumpMapOverride(*args) - -def SoTextureOverrideElement_setQualityOverride(*args): - """SoTextureOverrideElement_setQualityOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setQualityOverride(*args) - -def SoTextureOverrideElement_setImageOverride(*args): - """SoTextureOverrideElement_setImageOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setImageOverride(*args) - -def SoTextureOverrideElement_setBumpMapOverride(*args): - """SoTextureOverrideElement_setBumpMapOverride(SoState state, SbBool value)""" - return _coin.SoTextureOverrideElement_setBumpMapOverride(*args) - -class SoGLRenderPassElement(SoElement): - """Proxy of C++ SoGLRenderPassElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLRenderPassElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLRenderPassElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLRenderPassElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLRenderPassElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLRenderPassElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoGLRenderPassElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLRenderPassElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, int pass)""" - return _coin.SoGLRenderPassElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoGLRenderPassElement_get(*args) - - get = staticmethod(get) -SoGLRenderPassElement_swigregister = _coin.SoGLRenderPassElement_swigregister -SoGLRenderPassElement_swigregister(SoGLRenderPassElement) - -def SoGLRenderPassElement_getClassTypeId(*args): - """SoGLRenderPassElement_getClassTypeId() -> SoType""" - return _coin.SoGLRenderPassElement_getClassTypeId(*args) - -def SoGLRenderPassElement_getClassStackIndex(*args): - """SoGLRenderPassElement_getClassStackIndex() -> int""" - return _coin.SoGLRenderPassElement_getClassStackIndex(*args) - -def SoGLRenderPassElement_createInstance(*args): - """SoGLRenderPassElement_createInstance() -> void""" - return _coin.SoGLRenderPassElement_createInstance(*args) - -def SoGLRenderPassElement_initClass(*args): - """SoGLRenderPassElement_initClass()""" - return _coin.SoGLRenderPassElement_initClass(*args) - -def SoGLRenderPassElement_set(*args): - """SoGLRenderPassElement_set(SoState state, int pass)""" - return _coin.SoGLRenderPassElement_set(*args) - -def SoGLRenderPassElement_get(*args): - """SoGLRenderPassElement_get(SoState state) -> int""" - return _coin.SoGLRenderPassElement_get(*args) - -class SoGLUpdateAreaElement(SoElement): - """Proxy of C++ SoGLUpdateAreaElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLUpdateAreaElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLUpdateAreaElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLUpdateAreaElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLUpdateAreaElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLUpdateAreaElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLUpdateAreaElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLUpdateAreaElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoGLUpdateAreaElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLUpdateAreaElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLUpdateAreaElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool""" - return _coin.SoGLUpdateAreaElement_get(*args) - - get = staticmethod(get) - def getDefaultOrigin(*args): - """getDefaultOrigin() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultOrigin(*args) - - getDefaultOrigin = staticmethod(getDefaultOrigin) - def getDefaultSize(*args): - """getDefaultSize() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultSize(*args) - - getDefaultSize = staticmethod(getDefaultSize) -SoGLUpdateAreaElement_swigregister = _coin.SoGLUpdateAreaElement_swigregister -SoGLUpdateAreaElement_swigregister(SoGLUpdateAreaElement) - -def SoGLUpdateAreaElement_getClassTypeId(*args): - """SoGLUpdateAreaElement_getClassTypeId() -> SoType""" - return _coin.SoGLUpdateAreaElement_getClassTypeId(*args) - -def SoGLUpdateAreaElement_getClassStackIndex(*args): - """SoGLUpdateAreaElement_getClassStackIndex() -> int""" - return _coin.SoGLUpdateAreaElement_getClassStackIndex(*args) - -def SoGLUpdateAreaElement_createInstance(*args): - """SoGLUpdateAreaElement_createInstance() -> void""" - return _coin.SoGLUpdateAreaElement_createInstance(*args) - -def SoGLUpdateAreaElement_initClass(*args): - """SoGLUpdateAreaElement_initClass()""" - return _coin.SoGLUpdateAreaElement_initClass(*args) - -def SoGLUpdateAreaElement_set(*args): - """SoGLUpdateAreaElement_set(SoState state, SbVec2f origin, SbVec2f size)""" - return _coin.SoGLUpdateAreaElement_set(*args) - -def SoGLUpdateAreaElement_get(*args): - """SoGLUpdateAreaElement_get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool""" - return _coin.SoGLUpdateAreaElement_get(*args) - -def SoGLUpdateAreaElement_getDefaultOrigin(*args): - """SoGLUpdateAreaElement_getDefaultOrigin() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultOrigin(*args) - -def SoGLUpdateAreaElement_getDefaultSize(*args): - """SoGLUpdateAreaElement_getDefaultSize() -> SbVec2f""" - return _coin.SoGLUpdateAreaElement_getDefaultSize(*args) - -class SoLocalBBoxMatrixElement(SoElement): - """Proxy of C++ SoLocalBBoxMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocalBBoxMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLocalBBoxMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLocalBBoxMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLocalBBoxMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLocalBBoxMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoLocalBBoxMatrixElement_push(*args) - - def makeIdentity(*args): - """makeIdentity(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_makeIdentity(*args) - - makeIdentity = staticmethod(makeIdentity) - def set(*args): - """set(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_set(*args) - - set = staticmethod(set) - def mult(*args): - """mult(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_mult(*args) - - mult = staticmethod(mult) - def translateBy(*args): - """translateBy(SoState state, SbVec3f translation)""" - return _coin.SoLocalBBoxMatrixElement_translateBy(*args) - - translateBy = staticmethod(translateBy) - def rotateBy(*args): - """rotateBy(SoState state, SbRotation rotation)""" - return _coin.SoLocalBBoxMatrixElement_rotateBy(*args) - - rotateBy = staticmethod(rotateBy) - def scaleBy(*args): - """scaleBy(SoState state, SbVec3f scaleFactor)""" - return _coin.SoLocalBBoxMatrixElement_scaleBy(*args) - - scaleBy = staticmethod(scaleBy) - def pushMatrix(*args): - """pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_pushMatrix(*args) - - pushMatrix = staticmethod(pushMatrix) - def popMatrix(*args): - """popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_popMatrix(*args) - - popMatrix = staticmethod(popMatrix) - def resetAll(*args): - """resetAll(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_resetAll(*args) - - resetAll = staticmethod(resetAll) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_get(*args) - - get = staticmethod(get) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoLocalBBoxMatrixElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLocalBBoxMatrixElement_copyMatchInfo(*args) - -SoLocalBBoxMatrixElement_swigregister = _coin.SoLocalBBoxMatrixElement_swigregister -SoLocalBBoxMatrixElement_swigregister(SoLocalBBoxMatrixElement) - -def SoLocalBBoxMatrixElement_getClassTypeId(*args): - """SoLocalBBoxMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoLocalBBoxMatrixElement_getClassTypeId(*args) - -def SoLocalBBoxMatrixElement_getClassStackIndex(*args): - """SoLocalBBoxMatrixElement_getClassStackIndex() -> int""" - return _coin.SoLocalBBoxMatrixElement_getClassStackIndex(*args) - -def SoLocalBBoxMatrixElement_createInstance(*args): - """SoLocalBBoxMatrixElement_createInstance() -> void""" - return _coin.SoLocalBBoxMatrixElement_createInstance(*args) - -def SoLocalBBoxMatrixElement_initClass(*args): - """SoLocalBBoxMatrixElement_initClass()""" - return _coin.SoLocalBBoxMatrixElement_initClass(*args) - -def SoLocalBBoxMatrixElement_makeIdentity(*args): - """SoLocalBBoxMatrixElement_makeIdentity(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_makeIdentity(*args) - -def SoLocalBBoxMatrixElement_set(*args): - """SoLocalBBoxMatrixElement_set(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_set(*args) - -def SoLocalBBoxMatrixElement_mult(*args): - """SoLocalBBoxMatrixElement_mult(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_mult(*args) - -def SoLocalBBoxMatrixElement_translateBy(*args): - """SoLocalBBoxMatrixElement_translateBy(SoState state, SbVec3f translation)""" - return _coin.SoLocalBBoxMatrixElement_translateBy(*args) - -def SoLocalBBoxMatrixElement_rotateBy(*args): - """SoLocalBBoxMatrixElement_rotateBy(SoState state, SbRotation rotation)""" - return _coin.SoLocalBBoxMatrixElement_rotateBy(*args) - -def SoLocalBBoxMatrixElement_scaleBy(*args): - """SoLocalBBoxMatrixElement_scaleBy(SoState state, SbVec3f scaleFactor)""" - return _coin.SoLocalBBoxMatrixElement_scaleBy(*args) - -def SoLocalBBoxMatrixElement_pushMatrix(*args): - """SoLocalBBoxMatrixElement_pushMatrix(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_pushMatrix(*args) - -def SoLocalBBoxMatrixElement_popMatrix(*args): - """SoLocalBBoxMatrixElement_popMatrix(SoState state, SbMatrix matrix)""" - return _coin.SoLocalBBoxMatrixElement_popMatrix(*args) - -def SoLocalBBoxMatrixElement_resetAll(*args): - """SoLocalBBoxMatrixElement_resetAll(SoState state)""" - return _coin.SoLocalBBoxMatrixElement_resetAll(*args) - -def SoLocalBBoxMatrixElement_get(*args): - """SoLocalBBoxMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoLocalBBoxMatrixElement_get(*args) - -class SoOverrideElement(SoElement): - """Proxy of C++ SoOverrideElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOverrideElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoOverrideElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOverrideElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOverrideElement_initClass(*args) - - initClass = staticmethod(initClass) - AMBIENT_COLOR = _coin.SoOverrideElement_AMBIENT_COLOR - COLOR_INDEX = _coin.SoOverrideElement_COLOR_INDEX - COMPLEXITY = _coin.SoOverrideElement_COMPLEXITY - COMPLEXITY_TYPE = _coin.SoOverrideElement_COMPLEXITY_TYPE - CREASE_ANGLE = _coin.SoOverrideElement_CREASE_ANGLE - DIFFUSE_COLOR = _coin.SoOverrideElement_DIFFUSE_COLOR - DRAW_STYLE = _coin.SoOverrideElement_DRAW_STYLE - EMISSIVE_COLOR = _coin.SoOverrideElement_EMISSIVE_COLOR - FONT_NAME = _coin.SoOverrideElement_FONT_NAME - FONT_SIZE = _coin.SoOverrideElement_FONT_SIZE - LIGHT_MODEL = _coin.SoOverrideElement_LIGHT_MODEL - LINE_PATTERN = _coin.SoOverrideElement_LINE_PATTERN - LINE_WIDTH = _coin.SoOverrideElement_LINE_WIDTH - MATERIAL_BINDING = _coin.SoOverrideElement_MATERIAL_BINDING - POINT_SIZE = _coin.SoOverrideElement_POINT_SIZE - PICK_STYLE = _coin.SoOverrideElement_PICK_STYLE - SHAPE_HINTS = _coin.SoOverrideElement_SHAPE_HINTS - SHININESS = _coin.SoOverrideElement_SHININESS - SPECULAR_COLOR = _coin.SoOverrideElement_SPECULAR_COLOR - POLYGON_OFFSET = _coin.SoOverrideElement_POLYGON_OFFSET - TRANSPARENCY = _coin.SoOverrideElement_TRANSPARENCY - TRANSPARENCY_TYPE = _coin.SoOverrideElement_TRANSPARENCY_TYPE - NORMAL_VECTOR = _coin.SoOverrideElement_NORMAL_VECTOR - NORMAL_BINDING = _coin.SoOverrideElement_NORMAL_BINDING - def init(*args): - """init(self, SoState state)""" - return _coin.SoOverrideElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoOverrideElement_push(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoOverrideElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoOverrideElement_copyMatchInfo(*args) - - def getFlags(*args): - """getFlags(SoState state) -> uint32_t""" - return _coin.SoOverrideElement_getFlags(*args) - - getFlags = staticmethod(getFlags) - def getAmbientColorOverride(*args): - """getAmbientColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getAmbientColorOverride(*args) - - getAmbientColorOverride = staticmethod(getAmbientColorOverride) - def getColorIndexOverride(*args): - """getColorIndexOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getColorIndexOverride(*args) - - getColorIndexOverride = staticmethod(getColorIndexOverride) - def getComplexityOverride(*args): - """getComplexityOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityOverride(*args) - - getComplexityOverride = staticmethod(getComplexityOverride) - def getComplexityTypeOverride(*args): - """getComplexityTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityTypeOverride(*args) - - getComplexityTypeOverride = staticmethod(getComplexityTypeOverride) - def getCreaseAngleOverride(*args): - """getCreaseAngleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getCreaseAngleOverride(*args) - - getCreaseAngleOverride = staticmethod(getCreaseAngleOverride) - def getDiffuseColorOverride(*args): - """getDiffuseColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDiffuseColorOverride(*args) - - getDiffuseColorOverride = staticmethod(getDiffuseColorOverride) - def getDrawStyleOverride(*args): - """getDrawStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDrawStyleOverride(*args) - - getDrawStyleOverride = staticmethod(getDrawStyleOverride) - def getEmissiveColorOverride(*args): - """getEmissiveColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getEmissiveColorOverride(*args) - - getEmissiveColorOverride = staticmethod(getEmissiveColorOverride) - def getFontNameOverride(*args): - """getFontNameOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontNameOverride(*args) - - getFontNameOverride = staticmethod(getFontNameOverride) - def getFontSizeOverride(*args): - """getFontSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontSizeOverride(*args) - - getFontSizeOverride = staticmethod(getFontSizeOverride) - def getLightModelOverride(*args): - """getLightModelOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLightModelOverride(*args) - - getLightModelOverride = staticmethod(getLightModelOverride) - def getLinePatternOverride(*args): - """getLinePatternOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLinePatternOverride(*args) - - getLinePatternOverride = staticmethod(getLinePatternOverride) - def getLineWidthOverride(*args): - """getLineWidthOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLineWidthOverride(*args) - - getLineWidthOverride = staticmethod(getLineWidthOverride) - def getMaterialBindingOverride(*args): - """getMaterialBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getMaterialBindingOverride(*args) - - getMaterialBindingOverride = staticmethod(getMaterialBindingOverride) - def getPickStyleOverride(*args): - """getPickStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPickStyleOverride(*args) - - getPickStyleOverride = staticmethod(getPickStyleOverride) - def getPointSizeOverride(*args): - """getPointSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPointSizeOverride(*args) - - getPointSizeOverride = staticmethod(getPointSizeOverride) - def getPolygonOffsetOverride(*args): - """getPolygonOffsetOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPolygonOffsetOverride(*args) - - getPolygonOffsetOverride = staticmethod(getPolygonOffsetOverride) - def getShapeHintsOverride(*args): - """getShapeHintsOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShapeHintsOverride(*args) - - getShapeHintsOverride = staticmethod(getShapeHintsOverride) - def getShininessOverride(*args): - """getShininessOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShininessOverride(*args) - - getShininessOverride = staticmethod(getShininessOverride) - def getSpecularColorOverride(*args): - """getSpecularColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getSpecularColorOverride(*args) - - getSpecularColorOverride = staticmethod(getSpecularColorOverride) - def getTransparencyOverride(*args): - """getTransparencyOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyOverride(*args) - - getTransparencyOverride = staticmethod(getTransparencyOverride) - def getTransparencyTypeOverride(*args): - """getTransparencyTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyTypeOverride(*args) - - getTransparencyTypeOverride = staticmethod(getTransparencyTypeOverride) - def getNormalVectorOverride(*args): - """getNormalVectorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalVectorOverride(*args) - - getNormalVectorOverride = staticmethod(getNormalVectorOverride) - def getNormalBindingOverride(*args): - """getNormalBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalBindingOverride(*args) - - getNormalBindingOverride = staticmethod(getNormalBindingOverride) - def setAmbientColorOverride(*args): - """setAmbientColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setAmbientColorOverride(*args) - - setAmbientColorOverride = staticmethod(setAmbientColorOverride) - def setColorIndexOverride(*args): - """setColorIndexOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setColorIndexOverride(*args) - - setColorIndexOverride = staticmethod(setColorIndexOverride) - def setComplexityOverride(*args): - """setComplexityOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityOverride(*args) - - setComplexityOverride = staticmethod(setComplexityOverride) - def setComplexityTypeOverride(*args): - """setComplexityTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityTypeOverride(*args) - - setComplexityTypeOverride = staticmethod(setComplexityTypeOverride) - def setCreaseAngleOverride(*args): - """setCreaseAngleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setCreaseAngleOverride(*args) - - setCreaseAngleOverride = staticmethod(setCreaseAngleOverride) - def setDiffuseColorOverride(*args): - """setDiffuseColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDiffuseColorOverride(*args) - - setDiffuseColorOverride = staticmethod(setDiffuseColorOverride) - def setDrawStyleOverride(*args): - """setDrawStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDrawStyleOverride(*args) - - setDrawStyleOverride = staticmethod(setDrawStyleOverride) - def setEmissiveColorOverride(*args): - """setEmissiveColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setEmissiveColorOverride(*args) - - setEmissiveColorOverride = staticmethod(setEmissiveColorOverride) - def setFontNameOverride(*args): - """setFontNameOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontNameOverride(*args) - - setFontNameOverride = staticmethod(setFontNameOverride) - def setFontSizeOverride(*args): - """setFontSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontSizeOverride(*args) - - setFontSizeOverride = staticmethod(setFontSizeOverride) - def setLightModelOverride(*args): - """setLightModelOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLightModelOverride(*args) - - setLightModelOverride = staticmethod(setLightModelOverride) - def setLinePatternOverride(*args): - """setLinePatternOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLinePatternOverride(*args) - - setLinePatternOverride = staticmethod(setLinePatternOverride) - def setLineWidthOverride(*args): - """setLineWidthOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLineWidthOverride(*args) - - setLineWidthOverride = staticmethod(setLineWidthOverride) - def setMaterialBindingOverride(*args): - """setMaterialBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setMaterialBindingOverride(*args) - - setMaterialBindingOverride = staticmethod(setMaterialBindingOverride) - def setPickStyleOverride(*args): - """setPickStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPickStyleOverride(*args) - - setPickStyleOverride = staticmethod(setPickStyleOverride) - def setPointSizeOverride(*args): - """setPointSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPointSizeOverride(*args) - - setPointSizeOverride = staticmethod(setPointSizeOverride) - def setPolygonOffsetOverride(*args): - """setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPolygonOffsetOverride(*args) - - setPolygonOffsetOverride = staticmethod(setPolygonOffsetOverride) - def setShapeHintsOverride(*args): - """setShapeHintsOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShapeHintsOverride(*args) - - setShapeHintsOverride = staticmethod(setShapeHintsOverride) - def setShininessOverride(*args): - """setShininessOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShininessOverride(*args) - - setShininessOverride = staticmethod(setShininessOverride) - def setSpecularColorOverride(*args): - """setSpecularColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setSpecularColorOverride(*args) - - setSpecularColorOverride = staticmethod(setSpecularColorOverride) - def setTransparencyOverride(*args): - """setTransparencyOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyOverride(*args) - - setTransparencyOverride = staticmethod(setTransparencyOverride) - def setTransparencyTypeOverride(*args): - """setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyTypeOverride(*args) - - setTransparencyTypeOverride = staticmethod(setTransparencyTypeOverride) - def setNormalVectorOverride(*args): - """setNormalVectorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalVectorOverride(*args) - - setNormalVectorOverride = staticmethod(setNormalVectorOverride) - def setNormalBindingOverride(*args): - """setNormalBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalBindingOverride(*args) - - setNormalBindingOverride = staticmethod(setNormalBindingOverride) - def output(*args): - """output(self, FILE file)""" - return _coin.SoOverrideElement_output(*args) - -SoOverrideElement_swigregister = _coin.SoOverrideElement_swigregister -SoOverrideElement_swigregister(SoOverrideElement) - -def SoOverrideElement_getClassTypeId(*args): - """SoOverrideElement_getClassTypeId() -> SoType""" - return _coin.SoOverrideElement_getClassTypeId(*args) - -def SoOverrideElement_getClassStackIndex(*args): - """SoOverrideElement_getClassStackIndex() -> int""" - return _coin.SoOverrideElement_getClassStackIndex(*args) - -def SoOverrideElement_createInstance(*args): - """SoOverrideElement_createInstance() -> void""" - return _coin.SoOverrideElement_createInstance(*args) - -def SoOverrideElement_initClass(*args): - """SoOverrideElement_initClass()""" - return _coin.SoOverrideElement_initClass(*args) - -def SoOverrideElement_getFlags(*args): - """SoOverrideElement_getFlags(SoState state) -> uint32_t""" - return _coin.SoOverrideElement_getFlags(*args) - -def SoOverrideElement_getAmbientColorOverride(*args): - """SoOverrideElement_getAmbientColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getAmbientColorOverride(*args) - -def SoOverrideElement_getColorIndexOverride(*args): - """SoOverrideElement_getColorIndexOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getColorIndexOverride(*args) - -def SoOverrideElement_getComplexityOverride(*args): - """SoOverrideElement_getComplexityOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityOverride(*args) - -def SoOverrideElement_getComplexityTypeOverride(*args): - """SoOverrideElement_getComplexityTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getComplexityTypeOverride(*args) - -def SoOverrideElement_getCreaseAngleOverride(*args): - """SoOverrideElement_getCreaseAngleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getCreaseAngleOverride(*args) - -def SoOverrideElement_getDiffuseColorOverride(*args): - """SoOverrideElement_getDiffuseColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDiffuseColorOverride(*args) - -def SoOverrideElement_getDrawStyleOverride(*args): - """SoOverrideElement_getDrawStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getDrawStyleOverride(*args) - -def SoOverrideElement_getEmissiveColorOverride(*args): - """SoOverrideElement_getEmissiveColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getEmissiveColorOverride(*args) - -def SoOverrideElement_getFontNameOverride(*args): - """SoOverrideElement_getFontNameOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontNameOverride(*args) - -def SoOverrideElement_getFontSizeOverride(*args): - """SoOverrideElement_getFontSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getFontSizeOverride(*args) - -def SoOverrideElement_getLightModelOverride(*args): - """SoOverrideElement_getLightModelOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLightModelOverride(*args) - -def SoOverrideElement_getLinePatternOverride(*args): - """SoOverrideElement_getLinePatternOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLinePatternOverride(*args) - -def SoOverrideElement_getLineWidthOverride(*args): - """SoOverrideElement_getLineWidthOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getLineWidthOverride(*args) - -def SoOverrideElement_getMaterialBindingOverride(*args): - """SoOverrideElement_getMaterialBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getMaterialBindingOverride(*args) - -def SoOverrideElement_getPickStyleOverride(*args): - """SoOverrideElement_getPickStyleOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPickStyleOverride(*args) - -def SoOverrideElement_getPointSizeOverride(*args): - """SoOverrideElement_getPointSizeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPointSizeOverride(*args) - -def SoOverrideElement_getPolygonOffsetOverride(*args): - """SoOverrideElement_getPolygonOffsetOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getPolygonOffsetOverride(*args) - -def SoOverrideElement_getShapeHintsOverride(*args): - """SoOverrideElement_getShapeHintsOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShapeHintsOverride(*args) - -def SoOverrideElement_getShininessOverride(*args): - """SoOverrideElement_getShininessOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getShininessOverride(*args) - -def SoOverrideElement_getSpecularColorOverride(*args): - """SoOverrideElement_getSpecularColorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getSpecularColorOverride(*args) - -def SoOverrideElement_getTransparencyOverride(*args): - """SoOverrideElement_getTransparencyOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyOverride(*args) - -def SoOverrideElement_getTransparencyTypeOverride(*args): - """SoOverrideElement_getTransparencyTypeOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getTransparencyTypeOverride(*args) - -def SoOverrideElement_getNormalVectorOverride(*args): - """SoOverrideElement_getNormalVectorOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalVectorOverride(*args) - -def SoOverrideElement_getNormalBindingOverride(*args): - """SoOverrideElement_getNormalBindingOverride(SoState state) -> SbBool""" - return _coin.SoOverrideElement_getNormalBindingOverride(*args) - -def SoOverrideElement_setAmbientColorOverride(*args): - """SoOverrideElement_setAmbientColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setAmbientColorOverride(*args) - -def SoOverrideElement_setColorIndexOverride(*args): - """SoOverrideElement_setColorIndexOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setColorIndexOverride(*args) - -def SoOverrideElement_setComplexityOverride(*args): - """SoOverrideElement_setComplexityOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityOverride(*args) - -def SoOverrideElement_setComplexityTypeOverride(*args): - """SoOverrideElement_setComplexityTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setComplexityTypeOverride(*args) - -def SoOverrideElement_setCreaseAngleOverride(*args): - """SoOverrideElement_setCreaseAngleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setCreaseAngleOverride(*args) - -def SoOverrideElement_setDiffuseColorOverride(*args): - """SoOverrideElement_setDiffuseColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDiffuseColorOverride(*args) - -def SoOverrideElement_setDrawStyleOverride(*args): - """SoOverrideElement_setDrawStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setDrawStyleOverride(*args) - -def SoOverrideElement_setEmissiveColorOverride(*args): - """SoOverrideElement_setEmissiveColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setEmissiveColorOverride(*args) - -def SoOverrideElement_setFontNameOverride(*args): - """SoOverrideElement_setFontNameOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontNameOverride(*args) - -def SoOverrideElement_setFontSizeOverride(*args): - """SoOverrideElement_setFontSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setFontSizeOverride(*args) - -def SoOverrideElement_setLightModelOverride(*args): - """SoOverrideElement_setLightModelOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLightModelOverride(*args) - -def SoOverrideElement_setLinePatternOverride(*args): - """SoOverrideElement_setLinePatternOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLinePatternOverride(*args) - -def SoOverrideElement_setLineWidthOverride(*args): - """SoOverrideElement_setLineWidthOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setLineWidthOverride(*args) - -def SoOverrideElement_setMaterialBindingOverride(*args): - """SoOverrideElement_setMaterialBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setMaterialBindingOverride(*args) - -def SoOverrideElement_setPickStyleOverride(*args): - """SoOverrideElement_setPickStyleOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPickStyleOverride(*args) - -def SoOverrideElement_setPointSizeOverride(*args): - """SoOverrideElement_setPointSizeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPointSizeOverride(*args) - -def SoOverrideElement_setPolygonOffsetOverride(*args): - """SoOverrideElement_setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setPolygonOffsetOverride(*args) - -def SoOverrideElement_setShapeHintsOverride(*args): - """SoOverrideElement_setShapeHintsOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShapeHintsOverride(*args) - -def SoOverrideElement_setShininessOverride(*args): - """SoOverrideElement_setShininessOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setShininessOverride(*args) - -def SoOverrideElement_setSpecularColorOverride(*args): - """SoOverrideElement_setSpecularColorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setSpecularColorOverride(*args) - -def SoOverrideElement_setTransparencyOverride(*args): - """SoOverrideElement_setTransparencyOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyOverride(*args) - -def SoOverrideElement_setTransparencyTypeOverride(*args): - """SoOverrideElement_setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setTransparencyTypeOverride(*args) - -def SoOverrideElement_setNormalVectorOverride(*args): - """SoOverrideElement_setNormalVectorOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalVectorOverride(*args) - -def SoOverrideElement_setNormalBindingOverride(*args): - """SoOverrideElement_setNormalBindingOverride(SoState state, SoNode node, SbBool override)""" - return _coin.SoOverrideElement_setNormalBindingOverride(*args) - -class SoPickRayElement(SoElement): - """Proxy of C++ SoPickRayElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPickRayElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPickRayElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPickRayElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPickRayElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoPickRayElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoPickRayElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoPickRayElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbViewVolume volume)""" - return _coin.SoPickRayElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewVolume""" - return _coin.SoPickRayElement_get(*args) - - get = staticmethod(get) -SoPickRayElement_swigregister = _coin.SoPickRayElement_swigregister -SoPickRayElement_swigregister(SoPickRayElement) - -def SoPickRayElement_getClassTypeId(*args): - """SoPickRayElement_getClassTypeId() -> SoType""" - return _coin.SoPickRayElement_getClassTypeId(*args) - -def SoPickRayElement_getClassStackIndex(*args): - """SoPickRayElement_getClassStackIndex() -> int""" - return _coin.SoPickRayElement_getClassStackIndex(*args) - -def SoPickRayElement_createInstance(*args): - """SoPickRayElement_createInstance() -> void""" - return _coin.SoPickRayElement_createInstance(*args) - -def SoPickRayElement_initClass(*args): - """SoPickRayElement_initClass()""" - return _coin.SoPickRayElement_initClass(*args) - -def SoPickRayElement_set(*args): - """SoPickRayElement_set(SoState state, SbViewVolume volume)""" - return _coin.SoPickRayElement_set(*args) - -def SoPickRayElement_get(*args): - """SoPickRayElement_get(SoState state) -> SbViewVolume""" - return _coin.SoPickRayElement_get(*args) - -class SoGLCoordinateElement(SoCoordinateElement): - """Proxy of C++ SoGLCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def getPtr3(*args): - """getPtr3(self) -> SbVec3f""" - return _coin.SoGLCoordinateElement_getPtr3(*args) - - def getPtr4(*args): - """getPtr4(self) -> SbVec4f""" - return _coin.SoGLCoordinateElement_getPtr4(*args) - - def send(*args): - """send(self, int index)""" - return _coin.SoGLCoordinateElement_send(*args) - -SoGLCoordinateElement_swigregister = _coin.SoGLCoordinateElement_swigregister -SoGLCoordinateElement_swigregister(SoGLCoordinateElement) - -def SoGLCoordinateElement_getClassTypeId(*args): - """SoGLCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLCoordinateElement_getClassTypeId(*args) - -def SoGLCoordinateElement_getClassStackIndex(*args): - """SoGLCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLCoordinateElement_getClassStackIndex(*args) - -def SoGLCoordinateElement_createInstance(*args): - """SoGLCoordinateElement_createInstance() -> void""" - return _coin.SoGLCoordinateElement_createInstance(*args) - -def SoGLCoordinateElement_initClass(*args): - """SoGLCoordinateElement_initClass()""" - return _coin.SoGLCoordinateElement_initClass(*args) - -class SoEnvironmentElement(SoReplacedElement): - """Proxy of C++ SoEnvironmentElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEnvironmentElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoEnvironmentElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoEnvironmentElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoEnvironmentElement_initClass(*args) - - initClass = staticmethod(initClass) - NONE = _coin.SoEnvironmentElement_NONE - HAZE = _coin.SoEnvironmentElement_HAZE - FOG = _coin.SoEnvironmentElement_FOG - SMOKE = _coin.SoEnvironmentElement_SMOKE - def init(*args): - """init(self, SoState state)""" - return _coin.SoEnvironmentElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, - float fogStart=0.0) - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility) - """ - return _coin.SoEnvironmentElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, float ambientIntensity, SbColor ambientColor, - SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, float fogStart) - """ - return _coin.SoEnvironmentElement_get(*args) - - get = staticmethod(get) - def getAmbientIntensity(*args): - """getAmbientIntensity(SoState state) -> float""" - return _coin.SoEnvironmentElement_getAmbientIntensity(*args) - - getAmbientIntensity = staticmethod(getAmbientIntensity) - def getFogVisibility(*args): - """getFogVisibility(SoState state) -> float""" - return _coin.SoEnvironmentElement_getFogVisibility(*args) - - getFogVisibility = staticmethod(getFogVisibility) - def getLightAttenuation(*args): - """getLightAttenuation(SoState state) -> SbVec3f""" - return _coin.SoEnvironmentElement_getLightAttenuation(*args) - - getLightAttenuation = staticmethod(getLightAttenuation) - def getAmbientColor(*args): - """getAmbientColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getAmbientColor(*args) - - getAmbientColor = staticmethod(getAmbientColor) - def getFogColor(*args): - """getFogColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getFogColor(*args) - - getFogColor = staticmethod(getFogColor) - def getFogType(*args): - """getFogType(SoState state) -> int32_t""" - return _coin.SoEnvironmentElement_getFogType(*args) - - getFogType = staticmethod(getFogType) - def getDefault(*args): - """ - getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, - int32_t fogType, SbColor fogColor, - float fogVisibility, float fogNear) - """ - return _coin.SoEnvironmentElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def output(*args): - """output(self, FILE file)""" - return _coin.SoEnvironmentElement_output(*args) - -SoEnvironmentElement_swigregister = _coin.SoEnvironmentElement_swigregister -SoEnvironmentElement_swigregister(SoEnvironmentElement) - -def SoEnvironmentElement_getClassTypeId(*args): - """SoEnvironmentElement_getClassTypeId() -> SoType""" - return _coin.SoEnvironmentElement_getClassTypeId(*args) - -def SoEnvironmentElement_getClassStackIndex(*args): - """SoEnvironmentElement_getClassStackIndex() -> int""" - return _coin.SoEnvironmentElement_getClassStackIndex(*args) - -def SoEnvironmentElement_createInstance(*args): - """SoEnvironmentElement_createInstance() -> void""" - return _coin.SoEnvironmentElement_createInstance(*args) - -def SoEnvironmentElement_initClass(*args): - """SoEnvironmentElement_initClass()""" - return _coin.SoEnvironmentElement_initClass(*args) - -def SoEnvironmentElement_set(*args): - """ - set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, - float fogStart=0.0) - SoEnvironmentElement_set(SoState state, SoNode node, float ambientIntensity, - SbColor ambientColor, SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility) - """ - return _coin.SoEnvironmentElement_set(*args) - -def SoEnvironmentElement_get(*args): - """ - SoEnvironmentElement_get(SoState state, float ambientIntensity, SbColor ambientColor, - SbVec3f attenuation, int32_t fogType, - SbColor fogColor, float fogVisibility, float fogStart) - """ - return _coin.SoEnvironmentElement_get(*args) - -def SoEnvironmentElement_getAmbientIntensity(*args): - """SoEnvironmentElement_getAmbientIntensity(SoState state) -> float""" - return _coin.SoEnvironmentElement_getAmbientIntensity(*args) - -def SoEnvironmentElement_getFogVisibility(*args): - """SoEnvironmentElement_getFogVisibility(SoState state) -> float""" - return _coin.SoEnvironmentElement_getFogVisibility(*args) - -def SoEnvironmentElement_getLightAttenuation(*args): - """SoEnvironmentElement_getLightAttenuation(SoState state) -> SbVec3f""" - return _coin.SoEnvironmentElement_getLightAttenuation(*args) - -def SoEnvironmentElement_getAmbientColor(*args): - """SoEnvironmentElement_getAmbientColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getAmbientColor(*args) - -def SoEnvironmentElement_getFogColor(*args): - """SoEnvironmentElement_getFogColor(SoState state) -> SbColor""" - return _coin.SoEnvironmentElement_getFogColor(*args) - -def SoEnvironmentElement_getFogType(*args): - """SoEnvironmentElement_getFogType(SoState state) -> int32_t""" - return _coin.SoEnvironmentElement_getFogType(*args) - -def SoEnvironmentElement_getDefault(*args): - """ - SoEnvironmentElement_getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, - int32_t fogType, SbColor fogColor, - float fogVisibility, float fogNear) - """ - return _coin.SoEnvironmentElement_getDefault(*args) - -class SoGLEnvironmentElement(SoEnvironmentElement): - """Proxy of C++ SoGLEnvironmentElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLEnvironmentElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLEnvironmentElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLEnvironmentElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLEnvironmentElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLEnvironmentElement_init(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLEnvironmentElement_pop(*args) - -SoGLEnvironmentElement_swigregister = _coin.SoGLEnvironmentElement_swigregister -SoGLEnvironmentElement_swigregister(SoGLEnvironmentElement) - -def SoGLEnvironmentElement_getClassTypeId(*args): - """SoGLEnvironmentElement_getClassTypeId() -> SoType""" - return _coin.SoGLEnvironmentElement_getClassTypeId(*args) - -def SoGLEnvironmentElement_getClassStackIndex(*args): - """SoGLEnvironmentElement_getClassStackIndex() -> int""" - return _coin.SoGLEnvironmentElement_getClassStackIndex(*args) - -def SoGLEnvironmentElement_createInstance(*args): - """SoGLEnvironmentElement_createInstance() -> void""" - return _coin.SoGLEnvironmentElement_createInstance(*args) - -def SoGLEnvironmentElement_initClass(*args): - """SoGLEnvironmentElement_initClass()""" - return _coin.SoGLEnvironmentElement_initClass(*args) - -class SoFontNameElement(SoReplacedElement): - """Proxy of C++ SoFontNameElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontNameElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoFontNameElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoFontNameElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoFontNameElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoFontNameElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbName fontName)""" - return _coin.SoFontNameElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbName""" - return _coin.SoFontNameElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbName""" - return _coin.SoFontNameElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoFontNameElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoFontNameElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoFontNameElement_output(*args) - -SoFontNameElement_swigregister = _coin.SoFontNameElement_swigregister -SoFontNameElement_swigregister(SoFontNameElement) - -def SoFontNameElement_getClassTypeId(*args): - """SoFontNameElement_getClassTypeId() -> SoType""" - return _coin.SoFontNameElement_getClassTypeId(*args) - -def SoFontNameElement_getClassStackIndex(*args): - """SoFontNameElement_getClassStackIndex() -> int""" - return _coin.SoFontNameElement_getClassStackIndex(*args) - -def SoFontNameElement_createInstance(*args): - """SoFontNameElement_createInstance() -> void""" - return _coin.SoFontNameElement_createInstance(*args) - -def SoFontNameElement_initClass(*args): - """SoFontNameElement_initClass()""" - return _coin.SoFontNameElement_initClass(*args) - -def SoFontNameElement_set(*args): - """SoFontNameElement_set(SoState state, SoNode node, SbName fontName)""" - return _coin.SoFontNameElement_set(*args) - -def SoFontNameElement_get(*args): - """SoFontNameElement_get(SoState state) -> SbName""" - return _coin.SoFontNameElement_get(*args) - -def SoFontNameElement_getDefault(*args): - """SoFontNameElement_getDefault() -> SbName""" - return _coin.SoFontNameElement_getDefault(*args) - -class SoLightAttenuationElement(SoReplacedElement): - """Proxy of C++ SoLightAttenuationElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightAttenuationElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightAttenuationElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightAttenuationElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightAttenuationElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightAttenuationElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbVec3f lightAttenuation)""" - return _coin.SoLightAttenuationElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbVec3f""" - return _coin.SoLightAttenuationElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> SbVec3f""" - return _coin.SoLightAttenuationElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoLightAttenuationElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoLightAttenuationElement_copyMatchInfo(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoLightAttenuationElement_output(*args) - -SoLightAttenuationElement_swigregister = _coin.SoLightAttenuationElement_swigregister -SoLightAttenuationElement_swigregister(SoLightAttenuationElement) - -def SoLightAttenuationElement_getClassTypeId(*args): - """SoLightAttenuationElement_getClassTypeId() -> SoType""" - return _coin.SoLightAttenuationElement_getClassTypeId(*args) - -def SoLightAttenuationElement_getClassStackIndex(*args): - """SoLightAttenuationElement_getClassStackIndex() -> int""" - return _coin.SoLightAttenuationElement_getClassStackIndex(*args) - -def SoLightAttenuationElement_createInstance(*args): - """SoLightAttenuationElement_createInstance() -> void""" - return _coin.SoLightAttenuationElement_createInstance(*args) - -def SoLightAttenuationElement_initClass(*args): - """SoLightAttenuationElement_initClass()""" - return _coin.SoLightAttenuationElement_initClass(*args) - -def SoLightAttenuationElement_set(*args): - """SoLightAttenuationElement_set(SoState state, SoNode node, SbVec3f lightAttenuation)""" - return _coin.SoLightAttenuationElement_set(*args) - -def SoLightAttenuationElement_get(*args): - """SoLightAttenuationElement_get(SoState state) -> SbVec3f""" - return _coin.SoLightAttenuationElement_get(*args) - -def SoLightAttenuationElement_getDefault(*args): - """SoLightAttenuationElement_getDefault() -> SbVec3f""" - return _coin.SoLightAttenuationElement_getDefault(*args) - -class SoPolygonOffsetElement(SoReplacedElement): - """Proxy of C++ SoPolygonOffsetElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPolygonOffsetElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoPolygonOffsetElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoPolygonOffsetElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoPolygonOffsetElement_initClass(*args) - - initClass = staticmethod(initClass) - FILLED = _coin.SoPolygonOffsetElement_FILLED - LINES = _coin.SoPolygonOffsetElement_LINES - POINTS = _coin.SoPolygonOffsetElement_POINTS - def init(*args): - """init(self, SoState state)""" - return _coin.SoPolygonOffsetElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float factor, float units, - Style styles, SbBool on) - """ - return _coin.SoPolygonOffsetElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, float factor, float units, Style styles, - SbBool on) - """ - return _coin.SoPolygonOffsetElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault(float factor, float units, Style styles, SbBool on)""" - return _coin.SoPolygonOffsetElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoPolygonOffsetElement_swigregister = _coin.SoPolygonOffsetElement_swigregister -SoPolygonOffsetElement_swigregister(SoPolygonOffsetElement) - -def SoPolygonOffsetElement_getClassTypeId(*args): - """SoPolygonOffsetElement_getClassTypeId() -> SoType""" - return _coin.SoPolygonOffsetElement_getClassTypeId(*args) - -def SoPolygonOffsetElement_getClassStackIndex(*args): - """SoPolygonOffsetElement_getClassStackIndex() -> int""" - return _coin.SoPolygonOffsetElement_getClassStackIndex(*args) - -def SoPolygonOffsetElement_createInstance(*args): - """SoPolygonOffsetElement_createInstance() -> void""" - return _coin.SoPolygonOffsetElement_createInstance(*args) - -def SoPolygonOffsetElement_initClass(*args): - """SoPolygonOffsetElement_initClass()""" - return _coin.SoPolygonOffsetElement_initClass(*args) - -def SoPolygonOffsetElement_set(*args): - """ - SoPolygonOffsetElement_set(SoState state, SoNode node, float factor, float units, - Style styles, SbBool on) - """ - return _coin.SoPolygonOffsetElement_set(*args) - -def SoPolygonOffsetElement_get(*args): - """ - SoPolygonOffsetElement_get(SoState state, float factor, float units, Style styles, - SbBool on) - """ - return _coin.SoPolygonOffsetElement_get(*args) - -def SoPolygonOffsetElement_getDefault(*args): - """SoPolygonOffsetElement_getDefault(float factor, float units, Style styles, SbBool on)""" - return _coin.SoPolygonOffsetElement_getDefault(*args) - -class SoGLPolygonOffsetElement(SoPolygonOffsetElement): - """Proxy of C++ SoGLPolygonOffsetElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLPolygonOffsetElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLPolygonOffsetElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLPolygonOffsetElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLPolygonOffsetElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLPolygonOffsetElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLPolygonOffsetElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLPolygonOffsetElement_pop(*args) - -SoGLPolygonOffsetElement_swigregister = _coin.SoGLPolygonOffsetElement_swigregister -SoGLPolygonOffsetElement_swigregister(SoGLPolygonOffsetElement) - -def SoGLPolygonOffsetElement_getClassTypeId(*args): - """SoGLPolygonOffsetElement_getClassTypeId() -> SoType""" - return _coin.SoGLPolygonOffsetElement_getClassTypeId(*args) - -def SoGLPolygonOffsetElement_getClassStackIndex(*args): - """SoGLPolygonOffsetElement_getClassStackIndex() -> int""" - return _coin.SoGLPolygonOffsetElement_getClassStackIndex(*args) - -def SoGLPolygonOffsetElement_createInstance(*args): - """SoGLPolygonOffsetElement_createInstance() -> void""" - return _coin.SoGLPolygonOffsetElement_createInstance(*args) - -def SoGLPolygonOffsetElement_initClass(*args): - """SoGLPolygonOffsetElement_initClass()""" - return _coin.SoGLPolygonOffsetElement_initClass(*args) - -class SoProjectionMatrixElement(SoReplacedElement): - """Proxy of C++ SoProjectionMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProjectionMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProjectionMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProjectionMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProjectionMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoProjectionMatrixElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoProjectionMatrixElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoProjectionMatrixElement_get(*args) - - get = staticmethod(get) -SoProjectionMatrixElement_swigregister = _coin.SoProjectionMatrixElement_swigregister -SoProjectionMatrixElement_swigregister(SoProjectionMatrixElement) - -def SoProjectionMatrixElement_getClassTypeId(*args): - """SoProjectionMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoProjectionMatrixElement_getClassTypeId(*args) - -def SoProjectionMatrixElement_getClassStackIndex(*args): - """SoProjectionMatrixElement_getClassStackIndex() -> int""" - return _coin.SoProjectionMatrixElement_getClassStackIndex(*args) - -def SoProjectionMatrixElement_createInstance(*args): - """SoProjectionMatrixElement_createInstance() -> void""" - return _coin.SoProjectionMatrixElement_createInstance(*args) - -def SoProjectionMatrixElement_initClass(*args): - """SoProjectionMatrixElement_initClass()""" - return _coin.SoProjectionMatrixElement_initClass(*args) - -def SoProjectionMatrixElement_set(*args): - """SoProjectionMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)""" - return _coin.SoProjectionMatrixElement_set(*args) - -def SoProjectionMatrixElement_get(*args): - """SoProjectionMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoProjectionMatrixElement_get(*args) - -class SoGLProjectionMatrixElement(SoProjectionMatrixElement): - """Proxy of C++ SoGLProjectionMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLProjectionMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLProjectionMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLProjectionMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLProjectionMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLProjectionMatrixElement_pop(*args) - -SoGLProjectionMatrixElement_swigregister = _coin.SoGLProjectionMatrixElement_swigregister -SoGLProjectionMatrixElement_swigregister(SoGLProjectionMatrixElement) - -def SoGLProjectionMatrixElement_getClassTypeId(*args): - """SoGLProjectionMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLProjectionMatrixElement_getClassTypeId(*args) - -def SoGLProjectionMatrixElement_getClassStackIndex(*args): - """SoGLProjectionMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLProjectionMatrixElement_getClassStackIndex(*args) - -def SoGLProjectionMatrixElement_createInstance(*args): - """SoGLProjectionMatrixElement_createInstance() -> void""" - return _coin.SoGLProjectionMatrixElement_createInstance(*args) - -def SoGLProjectionMatrixElement_initClass(*args): - """SoGLProjectionMatrixElement_initClass()""" - return _coin.SoGLProjectionMatrixElement_initClass(*args) - -class SoProfileCoordinateElement(SoReplacedElement): - """Proxy of C++ SoProfileCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoProfileCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoProfileCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoProfileCoordinateElement_init(*args) - - def set2(*args): - """set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoProfileCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoProfileCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def getInstance(*args): - """getInstance(SoState state) -> SoProfileCoordinateElement""" - return _coin.SoProfileCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoProfileCoordinateElement_getNum(*args) - - def get2(*args): - """get2(self, int index) -> SbVec2f""" - return _coin.SoProfileCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int index) -> SbVec3f""" - return _coin.SoProfileCoordinateElement_get3(*args) - - def is2D(*args): - """is2D(self) -> SbBool""" - return _coin.SoProfileCoordinateElement_is2D(*args) - - def getDefault2(*args): - """getDefault2() -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getDefault2(*args) - - getDefault2 = staticmethod(getDefault2) - def getDefault3(*args): - """getDefault3() -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getDefault3(*args) - - getDefault3 = staticmethod(getDefault3) - def getArrayPtr2(*args): - """getArrayPtr2(self) -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self) -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getArrayPtr3(*args) - -SoProfileCoordinateElement_swigregister = _coin.SoProfileCoordinateElement_swigregister -SoProfileCoordinateElement_swigregister(SoProfileCoordinateElement) - -def SoProfileCoordinateElement_getClassTypeId(*args): - """SoProfileCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinateElement_getClassTypeId(*args) - -def SoProfileCoordinateElement_getClassStackIndex(*args): - """SoProfileCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoProfileCoordinateElement_getClassStackIndex(*args) - -def SoProfileCoordinateElement_createInstance(*args): - """SoProfileCoordinateElement_createInstance() -> void""" - return _coin.SoProfileCoordinateElement_createInstance(*args) - -def SoProfileCoordinateElement_initClass(*args): - """SoProfileCoordinateElement_initClass()""" - return _coin.SoProfileCoordinateElement_initClass(*args) - -def SoProfileCoordinateElement_set2(*args): - """SoProfileCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)""" - return _coin.SoProfileCoordinateElement_set2(*args) - -def SoProfileCoordinateElement_set3(*args): - """SoProfileCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)""" - return _coin.SoProfileCoordinateElement_set3(*args) - -def SoProfileCoordinateElement_getInstance(*args): - """SoProfileCoordinateElement_getInstance(SoState state) -> SoProfileCoordinateElement""" - return _coin.SoProfileCoordinateElement_getInstance(*args) - -def SoProfileCoordinateElement_getDefault2(*args): - """SoProfileCoordinateElement_getDefault2() -> SbVec2f""" - return _coin.SoProfileCoordinateElement_getDefault2(*args) - -def SoProfileCoordinateElement_getDefault3(*args): - """SoProfileCoordinateElement_getDefault3() -> SbVec3f""" - return _coin.SoProfileCoordinateElement_getDefault3(*args) - -class SoGLTextureImageElement(SoTextureImageElement): - """Proxy of C++ SoGLTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLTextureImageElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLTextureImageElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLTextureImageElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SoGLImage image, Model model, - SbColor blendColor) - """ - return _coin.SoGLTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLTextureImageElement_get(*args) - - get = staticmethod(get) - def getMaxGLTextureSize(*args): - """getMaxGLTextureSize() -> int32_t""" - return _coin.SoGLTextureImageElement_getMaxGLTextureSize(*args) - - getMaxGLTextureSize = staticmethod(getMaxGLTextureSize) - def isTextureSizeLegal(*args): - """isTextureSizeLegal(self, int xsize, int ysize, int zsize, int bytespertexel) -> SbBool""" - return _coin.SoGLTextureImageElement_isTextureSizeLegal(*args) - -SoGLTextureImageElement_swigregister = _coin.SoGLTextureImageElement_swigregister -SoGLTextureImageElement_swigregister(SoGLTextureImageElement) - -def SoGLTextureImageElement_getClassTypeId(*args): - """SoGLTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoGLTextureImageElement_getClassTypeId(*args) - -def SoGLTextureImageElement_getClassStackIndex(*args): - """SoGLTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoGLTextureImageElement_getClassStackIndex(*args) - -def SoGLTextureImageElement_createInstance(*args): - """SoGLTextureImageElement_createInstance() -> void""" - return _coin.SoGLTextureImageElement_createInstance(*args) - -def SoGLTextureImageElement_initClass(*args): - """SoGLTextureImageElement_initClass()""" - return _coin.SoGLTextureImageElement_initClass(*args) - -def SoGLTextureImageElement_set(*args): - """ - SoGLTextureImageElement_set(SoState state, SoNode node, SoGLImage image, Model model, - SbColor blendColor) - """ - return _coin.SoGLTextureImageElement_set(*args) - -def SoGLTextureImageElement_get(*args): - """SoGLTextureImageElement_get(SoState state, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLTextureImageElement_get(*args) - -def SoGLTextureImageElement_getMaxGLTextureSize(*args): - """SoGLTextureImageElement_getMaxGLTextureSize() -> int32_t""" - return _coin.SoGLTextureImageElement_getMaxGLTextureSize(*args) - -class SoViewingMatrixElement(SoReplacedElement): - """Proxy of C++ SoViewingMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewingMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewingMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewingMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewingMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewingMatrixElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbMatrix ViewingMatrix)""" - return _coin.SoViewingMatrixElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbMatrix""" - return _coin.SoViewingMatrixElement_get(*args) - - get = staticmethod(get) -SoViewingMatrixElement_swigregister = _coin.SoViewingMatrixElement_swigregister -SoViewingMatrixElement_swigregister(SoViewingMatrixElement) - -def SoViewingMatrixElement_getClassTypeId(*args): - """SoViewingMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoViewingMatrixElement_getClassTypeId(*args) - -def SoViewingMatrixElement_getClassStackIndex(*args): - """SoViewingMatrixElement_getClassStackIndex() -> int""" - return _coin.SoViewingMatrixElement_getClassStackIndex(*args) - -def SoViewingMatrixElement_createInstance(*args): - """SoViewingMatrixElement_createInstance() -> void""" - return _coin.SoViewingMatrixElement_createInstance(*args) - -def SoViewingMatrixElement_initClass(*args): - """SoViewingMatrixElement_initClass()""" - return _coin.SoViewingMatrixElement_initClass(*args) - -def SoViewingMatrixElement_set(*args): - """SoViewingMatrixElement_set(SoState state, SoNode node, SbMatrix ViewingMatrix)""" - return _coin.SoViewingMatrixElement_set(*args) - -def SoViewingMatrixElement_get(*args): - """SoViewingMatrixElement_get(SoState state) -> SbMatrix""" - return _coin.SoViewingMatrixElement_get(*args) - -class SoGLViewingMatrixElement(SoViewingMatrixElement): - """Proxy of C++ SoGLViewingMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLViewingMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLViewingMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLViewingMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLViewingMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLViewingMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLViewingMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLViewingMatrixElement_pop(*args) - - def getNodeId(*args): - """getNodeId(SoState state) -> uint32_t""" - return _coin.SoGLViewingMatrixElement_getNodeId(*args) - - getNodeId = staticmethod(getNodeId) - def getResetMatrix(*args): - """getResetMatrix(SoState state) -> SbMatrix""" - return _coin.SoGLViewingMatrixElement_getResetMatrix(*args) - - getResetMatrix = staticmethod(getResetMatrix) -SoGLViewingMatrixElement_swigregister = _coin.SoGLViewingMatrixElement_swigregister -SoGLViewingMatrixElement_swigregister(SoGLViewingMatrixElement) - -def SoGLViewingMatrixElement_getClassTypeId(*args): - """SoGLViewingMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLViewingMatrixElement_getClassTypeId(*args) - -def SoGLViewingMatrixElement_getClassStackIndex(*args): - """SoGLViewingMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLViewingMatrixElement_getClassStackIndex(*args) - -def SoGLViewingMatrixElement_createInstance(*args): - """SoGLViewingMatrixElement_createInstance() -> void""" - return _coin.SoGLViewingMatrixElement_createInstance(*args) - -def SoGLViewingMatrixElement_initClass(*args): - """SoGLViewingMatrixElement_initClass()""" - return _coin.SoGLViewingMatrixElement_initClass(*args) - -def SoGLViewingMatrixElement_getNodeId(*args): - """SoGLViewingMatrixElement_getNodeId(SoState state) -> uint32_t""" - return _coin.SoGLViewingMatrixElement_getNodeId(*args) - -def SoGLViewingMatrixElement_getResetMatrix(*args): - """SoGLViewingMatrixElement_getResetMatrix(SoState state) -> SbMatrix""" - return _coin.SoGLViewingMatrixElement_getResetMatrix(*args) - -class SoViewVolumeElement(SoReplacedElement): - """Proxy of C++ SoViewVolumeElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewVolumeElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewVolumeElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewVolumeElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewVolumeElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewVolumeElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbViewVolume viewVolume)""" - return _coin.SoViewVolumeElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewVolume""" - return _coin.SoViewVolumeElement_get(*args) - - get = staticmethod(get) -SoViewVolumeElement_swigregister = _coin.SoViewVolumeElement_swigregister -SoViewVolumeElement_swigregister(SoViewVolumeElement) - -def SoViewVolumeElement_getClassTypeId(*args): - """SoViewVolumeElement_getClassTypeId() -> SoType""" - return _coin.SoViewVolumeElement_getClassTypeId(*args) - -def SoViewVolumeElement_getClassStackIndex(*args): - """SoViewVolumeElement_getClassStackIndex() -> int""" - return _coin.SoViewVolumeElement_getClassStackIndex(*args) - -def SoViewVolumeElement_createInstance(*args): - """SoViewVolumeElement_createInstance() -> void""" - return _coin.SoViewVolumeElement_createInstance(*args) - -def SoViewVolumeElement_initClass(*args): - """SoViewVolumeElement_initClass()""" - return _coin.SoViewVolumeElement_initClass(*args) - -def SoViewVolumeElement_set(*args): - """SoViewVolumeElement_set(SoState state, SoNode node, SbViewVolume viewVolume)""" - return _coin.SoViewVolumeElement_set(*args) - -def SoViewVolumeElement_get(*args): - """SoViewVolumeElement_get(SoState state) -> SbViewVolume""" - return _coin.SoViewVolumeElement_get(*args) - -class SoGLShapeHintsElement(SoShapeHintsElement): - """Proxy of C++ SoGLShapeHintsElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLShapeHintsElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLShapeHintsElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLShapeHintsElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLShapeHintsElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLShapeHintsElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLShapeHintsElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLShapeHintsElement_pop(*args) - - def forceSend(*args): - """ - forceSend(SoState state, SbBool twoside) - forceSend(SoState state, SbBool ccw, SbBool cull) - forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside) - """ - return _coin.SoGLShapeHintsElement_forceSend(*args) - - forceSend = staticmethod(forceSend) -SoGLShapeHintsElement_swigregister = _coin.SoGLShapeHintsElement_swigregister -SoGLShapeHintsElement_swigregister(SoGLShapeHintsElement) - -def SoGLShapeHintsElement_getClassTypeId(*args): - """SoGLShapeHintsElement_getClassTypeId() -> SoType""" - return _coin.SoGLShapeHintsElement_getClassTypeId(*args) - -def SoGLShapeHintsElement_getClassStackIndex(*args): - """SoGLShapeHintsElement_getClassStackIndex() -> int""" - return _coin.SoGLShapeHintsElement_getClassStackIndex(*args) - -def SoGLShapeHintsElement_createInstance(*args): - """SoGLShapeHintsElement_createInstance() -> void""" - return _coin.SoGLShapeHintsElement_createInstance(*args) - -def SoGLShapeHintsElement_initClass(*args): - """SoGLShapeHintsElement_initClass()""" - return _coin.SoGLShapeHintsElement_initClass(*args) - -def SoGLShapeHintsElement_forceSend(*args): - """ - forceSend(SoState state, SbBool twoside) - forceSend(SoState state, SbBool ccw, SbBool cull) - SoGLShapeHintsElement_forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside) - """ - return _coin.SoGLShapeHintsElement_forceSend(*args) - -class SoShapeStyleElement(SoElement): - """Proxy of C++ SoShapeStyleElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeStyleElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShapeStyleElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShapeStyleElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShapeStyleElement_initClass(*args) - - initClass = staticmethod(initClass) - LIGHTING = _coin.SoShapeStyleElement_LIGHTING - TEXENABLED = _coin.SoShapeStyleElement_TEXENABLED - TEXFUNC = _coin.SoShapeStyleElement_TEXFUNC - BBOXCMPLX = _coin.SoShapeStyleElement_BBOXCMPLX - INVISIBLE = _coin.SoShapeStyleElement_INVISIBLE - ABORTCB = _coin.SoShapeStyleElement_ABORTCB - OVERRIDE = _coin.SoShapeStyleElement_OVERRIDE - TEX3ENABLED = _coin.SoShapeStyleElement_TEX3ENABLED - BIGIMAGE = _coin.SoShapeStyleElement_BIGIMAGE - BUMPMAP = _coin.SoShapeStyleElement_BUMPMAP - VERTEXARRAY = _coin.SoShapeStyleElement_VERTEXARRAY - TRANSP_TEXTURE = _coin.SoShapeStyleElement_TRANSP_TEXTURE - TRANSP_MATERIAL = _coin.SoShapeStyleElement_TRANSP_MATERIAL - TRANSP_SORTED_TRIANGLES = _coin.SoShapeStyleElement_TRANSP_SORTED_TRIANGLES - def init(*args): - """init(self, SoState state)""" - return _coin.SoShapeStyleElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoShapeStyleElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoShapeStyleElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoShapeStyleElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoShapeStyleElement_copyMatchInfo(*args) - - def get(*args): - """get(SoState state) -> SoShapeStyleElement""" - return _coin.SoShapeStyleElement_get(*args) - - get = staticmethod(get) - def getFlags(*args): - """getFlags(self) -> unsigned int""" - return _coin.SoShapeStyleElement_getFlags(*args) - - def mightNotRender(*args): - """mightNotRender(self) -> SbBool""" - return _coin.SoShapeStyleElement_mightNotRender(*args) - - def needNormals(*args): - """needNormals(self) -> SbBool""" - return _coin.SoShapeStyleElement_needNormals(*args) - - def needTexCoords(*args): - """needTexCoords(self) -> SbBool""" - return _coin.SoShapeStyleElement_needTexCoords(*args) - - def getRenderCaseMask(*args): - """getRenderCaseMask(self) -> int""" - return _coin.SoShapeStyleElement_getRenderCaseMask(*args) - - def setDrawStyle(*args): - """setDrawStyle(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setDrawStyle(*args) - - setDrawStyle = staticmethod(setDrawStyle) - def setComplexityType(*args): - """setComplexityType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setComplexityType(*args) - - setComplexityType = staticmethod(setComplexityType) - def setTransparencyType(*args): - """setTransparencyType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setTransparencyType(*args) - - setTransparencyType = staticmethod(setTransparencyType) - def setTextureEnabled(*args): - """setTextureEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureEnabled(*args) - - setTextureEnabled = staticmethod(setTextureEnabled) - def setTexture3Enabled(*args): - """setTexture3Enabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTexture3Enabled(*args) - - setTexture3Enabled = staticmethod(setTexture3Enabled) - def setTextureFunction(*args): - """setTextureFunction(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureFunction(*args) - - setTextureFunction = staticmethod(setTextureFunction) - def setLightModel(*args): - """setLightModel(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setLightModel(*args) - - setLightModel = staticmethod(setLightModel) - def setOverrides(*args): - """setOverrides(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setOverrides(*args) - - setOverrides = staticmethod(setOverrides) - def isScreenDoor(*args): - """isScreenDoor(SoState state) -> SbBool""" - return _coin.SoShapeStyleElement_isScreenDoor(*args) - - isScreenDoor = staticmethod(isScreenDoor) - def getTransparencyType(*args): - """getTransparencyType(SoState state) -> int""" - return _coin.SoShapeStyleElement_getTransparencyType(*args) - - getTransparencyType = staticmethod(getTransparencyType) - def isTextureFunction(*args): - """isTextureFunction(self) -> SbBool""" - return _coin.SoShapeStyleElement_isTextureFunction(*args) - - def setBumpmapEnabled(*args): - """setBumpmapEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBumpmapEnabled(*args) - - setBumpmapEnabled = staticmethod(setBumpmapEnabled) - def setBigImageEnabled(*args): - """setBigImageEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBigImageEnabled(*args) - - setBigImageEnabled = staticmethod(setBigImageEnabled) - def setVertexArrayRendering(*args): - """setVertexArrayRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setVertexArrayRendering(*args) - - setVertexArrayRendering = staticmethod(setVertexArrayRendering) - def setTransparentMaterial(*args): - """setTransparentMaterial(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentMaterial(*args) - - setTransparentMaterial = staticmethod(setTransparentMaterial) - def setTransparentTexture(*args): - """setTransparentTexture(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentTexture(*args) - - setTransparentTexture = staticmethod(setTransparentTexture) -SoShapeStyleElement_swigregister = _coin.SoShapeStyleElement_swigregister -SoShapeStyleElement_swigregister(SoShapeStyleElement) - -def SoShapeStyleElement_getClassTypeId(*args): - """SoShapeStyleElement_getClassTypeId() -> SoType""" - return _coin.SoShapeStyleElement_getClassTypeId(*args) - -def SoShapeStyleElement_getClassStackIndex(*args): - """SoShapeStyleElement_getClassStackIndex() -> int""" - return _coin.SoShapeStyleElement_getClassStackIndex(*args) - -def SoShapeStyleElement_createInstance(*args): - """SoShapeStyleElement_createInstance() -> void""" - return _coin.SoShapeStyleElement_createInstance(*args) - -def SoShapeStyleElement_initClass(*args): - """SoShapeStyleElement_initClass()""" - return _coin.SoShapeStyleElement_initClass(*args) - -def SoShapeStyleElement_get(*args): - """SoShapeStyleElement_get(SoState state) -> SoShapeStyleElement""" - return _coin.SoShapeStyleElement_get(*args) - -def SoShapeStyleElement_setDrawStyle(*args): - """SoShapeStyleElement_setDrawStyle(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setDrawStyle(*args) - -def SoShapeStyleElement_setComplexityType(*args): - """SoShapeStyleElement_setComplexityType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setComplexityType(*args) - -def SoShapeStyleElement_setTransparencyType(*args): - """SoShapeStyleElement_setTransparencyType(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setTransparencyType(*args) - -def SoShapeStyleElement_setTextureEnabled(*args): - """SoShapeStyleElement_setTextureEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureEnabled(*args) - -def SoShapeStyleElement_setTexture3Enabled(*args): - """SoShapeStyleElement_setTexture3Enabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTexture3Enabled(*args) - -def SoShapeStyleElement_setTextureFunction(*args): - """SoShapeStyleElement_setTextureFunction(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTextureFunction(*args) - -def SoShapeStyleElement_setLightModel(*args): - """SoShapeStyleElement_setLightModel(SoState state, int32_t value)""" - return _coin.SoShapeStyleElement_setLightModel(*args) - -def SoShapeStyleElement_setOverrides(*args): - """SoShapeStyleElement_setOverrides(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setOverrides(*args) - -def SoShapeStyleElement_isScreenDoor(*args): - """SoShapeStyleElement_isScreenDoor(SoState state) -> SbBool""" - return _coin.SoShapeStyleElement_isScreenDoor(*args) - -def SoShapeStyleElement_getTransparencyType(*args): - """SoShapeStyleElement_getTransparencyType(SoState state) -> int""" - return _coin.SoShapeStyleElement_getTransparencyType(*args) - -def SoShapeStyleElement_setBumpmapEnabled(*args): - """SoShapeStyleElement_setBumpmapEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBumpmapEnabled(*args) - -def SoShapeStyleElement_setBigImageEnabled(*args): - """SoShapeStyleElement_setBigImageEnabled(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setBigImageEnabled(*args) - -def SoShapeStyleElement_setVertexArrayRendering(*args): - """SoShapeStyleElement_setVertexArrayRendering(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setVertexArrayRendering(*args) - -def SoShapeStyleElement_setTransparentMaterial(*args): - """SoShapeStyleElement_setTransparentMaterial(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentMaterial(*args) - -def SoShapeStyleElement_setTransparentTexture(*args): - """SoShapeStyleElement_setTransparentTexture(SoState state, SbBool value)""" - return _coin.SoShapeStyleElement_setTransparentTexture(*args) - -class SoViewportRegionElement(SoElement): - """Proxy of C++ SoViewportRegionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoViewportRegionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoViewportRegionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoViewportRegionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoViewportRegionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoViewportRegionElement_init(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoViewportRegionElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoViewportRegionElement_copyMatchInfo(*args) - - def set(*args): - """set(SoState state, SbViewportRegion viewportRegion)""" - return _coin.SoViewportRegionElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbViewportRegion""" - return _coin.SoViewportRegionElement_get(*args) - - get = staticmethod(get) - def output(*args): - """output(self, FILE file)""" - return _coin.SoViewportRegionElement_output(*args) - -SoViewportRegionElement_swigregister = _coin.SoViewportRegionElement_swigregister -SoViewportRegionElement_swigregister(SoViewportRegionElement) - -def SoViewportRegionElement_getClassTypeId(*args): - """SoViewportRegionElement_getClassTypeId() -> SoType""" - return _coin.SoViewportRegionElement_getClassTypeId(*args) - -def SoViewportRegionElement_getClassStackIndex(*args): - """SoViewportRegionElement_getClassStackIndex() -> int""" - return _coin.SoViewportRegionElement_getClassStackIndex(*args) - -def SoViewportRegionElement_createInstance(*args): - """SoViewportRegionElement_createInstance() -> void""" - return _coin.SoViewportRegionElement_createInstance(*args) - -def SoViewportRegionElement_initClass(*args): - """SoViewportRegionElement_initClass()""" - return _coin.SoViewportRegionElement_initClass(*args) - -def SoViewportRegionElement_set(*args): - """SoViewportRegionElement_set(SoState state, SbViewportRegion viewportRegion)""" - return _coin.SoViewportRegionElement_set(*args) - -def SoViewportRegionElement_get(*args): - """SoViewportRegionElement_get(SoState state) -> SbViewportRegion""" - return _coin.SoViewportRegionElement_get(*args) - -class SoGLViewportRegionElement(SoViewportRegionElement): - """Proxy of C++ SoGLViewportRegionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLViewportRegionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLViewportRegionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLViewportRegionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLViewportRegionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLViewportRegionElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLViewportRegionElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLViewportRegionElement_pop(*args) - -SoGLViewportRegionElement_swigregister = _coin.SoGLViewportRegionElement_swigregister -SoGLViewportRegionElement_swigregister(SoGLViewportRegionElement) - -def SoGLViewportRegionElement_getClassTypeId(*args): - """SoGLViewportRegionElement_getClassTypeId() -> SoType""" - return _coin.SoGLViewportRegionElement_getClassTypeId(*args) - -def SoGLViewportRegionElement_getClassStackIndex(*args): - """SoGLViewportRegionElement_getClassStackIndex() -> int""" - return _coin.SoGLViewportRegionElement_getClassStackIndex(*args) - -def SoGLViewportRegionElement_createInstance(*args): - """SoGLViewportRegionElement_createInstance() -> void""" - return _coin.SoGLViewportRegionElement_createInstance(*args) - -def SoGLViewportRegionElement_initClass(*args): - """SoGLViewportRegionElement_initClass()""" - return _coin.SoGLViewportRegionElement_initClass(*args) - -class SoWindowElement(SoElement): - """Proxy of C++ SoWindowElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWindowElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoWindowElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoWindowElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoWindowElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoWindowElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoWindowElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoWindowElement_pop(*args) - - def matches(*args): - """matches(self, SoElement element) -> SbBool""" - return _coin.SoWindowElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoWindowElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_get(*args) - - get = staticmethod(get) -SoWindowElement_swigregister = _coin.SoWindowElement_swigregister -SoWindowElement_swigregister(SoWindowElement) - -def SoWindowElement_getClassTypeId(*args): - """SoWindowElement_getClassTypeId() -> SoType""" - return _coin.SoWindowElement_getClassTypeId(*args) - -def SoWindowElement_getClassStackIndex(*args): - """SoWindowElement_getClassStackIndex() -> int""" - return _coin.SoWindowElement_getClassStackIndex(*args) - -def SoWindowElement_createInstance(*args): - """SoWindowElement_createInstance() -> void""" - return _coin.SoWindowElement_createInstance(*args) - -def SoWindowElement_initClass(*args): - """SoWindowElement_initClass()""" - return _coin.SoWindowElement_initClass(*args) - -def SoWindowElement_set(*args): - """ - SoWindowElement_set(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_set(*args) - -def SoWindowElement_get(*args): - """ - SoWindowElement_get(SoState state, void window, void context, void display, - SoGLRenderAction action) - """ - return _coin.SoWindowElement_get(*args) - -class SoGLCacheContextElement(SoElement): - """Proxy of C++ SoGLCacheContextElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLCacheContextElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLCacheContextElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLCacheContextElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLCacheContextElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLCacheContextElement_init(*args) - - def matches(*args): - """matches(self, SoElement elt) -> SbBool""" - return _coin.SoGLCacheContextElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoGLCacheContextElement_copyMatchInfo(*args) - - def set(*args): - """ - set(SoState state, int context, SbBool twopasstransparency, - SbBool remoterendering) - """ - return _coin.SoGLCacheContextElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoGLCacheContextElement_get(*args) - - get = staticmethod(get) - def getExtID(*args): - """getExtID(char str) -> int""" - return _coin.SoGLCacheContextElement_getExtID(*args) - - getExtID = staticmethod(getExtID) - def getOpenGLVersion(*args): - """getOpenGLVersion(SoState state, int major, int minor)""" - return _coin.SoGLCacheContextElement_getOpenGLVersion(*args) - - getOpenGLVersion = staticmethod(getOpenGLVersion) - def extSupported(*args): - """extSupported(SoState state, int extid) -> SbBool""" - return _coin.SoGLCacheContextElement_extSupported(*args) - - extSupported = staticmethod(extSupported) - def areMipMapsFast(*args): - """areMipMapsFast(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_areMipMapsFast(*args) - - areMipMapsFast = staticmethod(areMipMapsFast) - DO_AUTO_CACHE = _coin.SoGLCacheContextElement_DO_AUTO_CACHE - DONT_AUTO_CACHE = _coin.SoGLCacheContextElement_DONT_AUTO_CACHE - def shouldAutoCache(*args): - """shouldAutoCache(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_shouldAutoCache(*args) - - shouldAutoCache = staticmethod(shouldAutoCache) - def setAutoCacheBits(*args): - """setAutoCacheBits(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_setAutoCacheBits(*args) - - setAutoCacheBits = staticmethod(setAutoCacheBits) - def resetAutoCacheBits(*args): - """resetAutoCacheBits(SoState state) -> int""" - return _coin.SoGLCacheContextElement_resetAutoCacheBits(*args) - - resetAutoCacheBits = staticmethod(resetAutoCacheBits) - def getIsRemoteRendering(*args): - """getIsRemoteRendering(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_getIsRemoteRendering(*args) - - getIsRemoteRendering = staticmethod(getIsRemoteRendering) - def getUniqueCacheContext(*args): - """getUniqueCacheContext() -> uint32_t""" - return _coin.SoGLCacheContextElement_getUniqueCacheContext(*args) - - getUniqueCacheContext = staticmethod(getUniqueCacheContext) - def scheduleDeleteCallback(*args): - """scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)""" - return _coin.SoGLCacheContextElement_scheduleDeleteCallback(*args) - - scheduleDeleteCallback = staticmethod(scheduleDeleteCallback) -SoGLCacheContextElement_swigregister = _coin.SoGLCacheContextElement_swigregister -SoGLCacheContextElement_swigregister(SoGLCacheContextElement) - -def SoGLCacheContextElement_getClassTypeId(*args): - """SoGLCacheContextElement_getClassTypeId() -> SoType""" - return _coin.SoGLCacheContextElement_getClassTypeId(*args) - -def SoGLCacheContextElement_getClassStackIndex(*args): - """SoGLCacheContextElement_getClassStackIndex() -> int""" - return _coin.SoGLCacheContextElement_getClassStackIndex(*args) - -def SoGLCacheContextElement_createInstance(*args): - """SoGLCacheContextElement_createInstance() -> void""" - return _coin.SoGLCacheContextElement_createInstance(*args) - -def SoGLCacheContextElement_initClass(*args): - """SoGLCacheContextElement_initClass()""" - return _coin.SoGLCacheContextElement_initClass(*args) - -def SoGLCacheContextElement_set(*args): - """ - SoGLCacheContextElement_set(SoState state, int context, SbBool twopasstransparency, - SbBool remoterendering) - """ - return _coin.SoGLCacheContextElement_set(*args) - -def SoGLCacheContextElement_get(*args): - """SoGLCacheContextElement_get(SoState state) -> int""" - return _coin.SoGLCacheContextElement_get(*args) - -def SoGLCacheContextElement_getExtID(*args): - """SoGLCacheContextElement_getExtID(char str) -> int""" - return _coin.SoGLCacheContextElement_getExtID(*args) - -def SoGLCacheContextElement_getOpenGLVersion(*args): - """SoGLCacheContextElement_getOpenGLVersion(SoState state, int major, int minor)""" - return _coin.SoGLCacheContextElement_getOpenGLVersion(*args) - -def SoGLCacheContextElement_extSupported(*args): - """SoGLCacheContextElement_extSupported(SoState state, int extid) -> SbBool""" - return _coin.SoGLCacheContextElement_extSupported(*args) - -def SoGLCacheContextElement_areMipMapsFast(*args): - """SoGLCacheContextElement_areMipMapsFast(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_areMipMapsFast(*args) - -def SoGLCacheContextElement_shouldAutoCache(*args): - """SoGLCacheContextElement_shouldAutoCache(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_shouldAutoCache(*args) - -def SoGLCacheContextElement_setAutoCacheBits(*args): - """SoGLCacheContextElement_setAutoCacheBits(SoState state, int bits)""" - return _coin.SoGLCacheContextElement_setAutoCacheBits(*args) - -def SoGLCacheContextElement_resetAutoCacheBits(*args): - """SoGLCacheContextElement_resetAutoCacheBits(SoState state) -> int""" - return _coin.SoGLCacheContextElement_resetAutoCacheBits(*args) - -def SoGLCacheContextElement_getIsRemoteRendering(*args): - """SoGLCacheContextElement_getIsRemoteRendering(SoState state) -> SbBool""" - return _coin.SoGLCacheContextElement_getIsRemoteRendering(*args) - -def SoGLCacheContextElement_getUniqueCacheContext(*args): - """SoGLCacheContextElement_getUniqueCacheContext() -> uint32_t""" - return _coin.SoGLCacheContextElement_getUniqueCacheContext(*args) - -def SoGLCacheContextElement_scheduleDeleteCallback(*args): - """SoGLCacheContextElement_scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)""" - return _coin.SoGLCacheContextElement_scheduleDeleteCallback(*args) - -class SoGLDisplayList(object): - """Proxy of C++ SoGLDisplayList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - DISPLAY_LIST = _coin.SoGLDisplayList_DISPLAY_LIST - TEXTURE_OBJECT = _coin.SoGLDisplayList_TEXTURE_OBJECT - def __init__(self, *args): - """ - __init__(self, SoState state, Type type, int allocnum=1, SbBool mipmaptexobj=0) -> SoGLDisplayList - __init__(self, SoState state, Type type, int allocnum=1) -> SoGLDisplayList - __init__(self, SoState state, Type type) -> SoGLDisplayList - """ - this = _coin.new_SoGLDisplayList(*args) - try: self.this.append(this) - except: self.this = this - def ref(*args): - """ref(self)""" - return _coin.SoGLDisplayList_ref(*args) - - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLDisplayList_unref(*args) - - def open(*args): - """ - open(self, SoState state, int index=0) - open(self, SoState state) - """ - return _coin.SoGLDisplayList_open(*args) - - def close(*args): - """close(self, SoState state)""" - return _coin.SoGLDisplayList_close(*args) - - def call(*args): - """ - call(self, SoState state, int index=0) - call(self, SoState state) - """ - return _coin.SoGLDisplayList_call(*args) - - def addDependency(*args): - """addDependency(self, SoState state)""" - return _coin.SoGLDisplayList_addDependency(*args) - - def isMipMapTextureObject(*args): - """isMipMapTextureObject(self) -> SbBool""" - return _coin.SoGLDisplayList_isMipMapTextureObject(*args) - - def getType(*args): - """getType(self) -> Type""" - return _coin.SoGLDisplayList_getType(*args) - - def getNumAllocated(*args): - """getNumAllocated(self) -> int""" - return _coin.SoGLDisplayList_getNumAllocated(*args) - - def getFirstIndex(*args): - """getFirstIndex(self) -> unsigned int""" - return _coin.SoGLDisplayList_getFirstIndex(*args) - - def getContext(*args): - """getContext(self) -> int""" - return _coin.SoGLDisplayList_getContext(*args) - -SoGLDisplayList_swigregister = _coin.SoGLDisplayList_swigregister -SoGLDisplayList_swigregister(SoGLDisplayList) - -class SoGLColorIndexElement(SoReplacedElement): - """Proxy of C++ SoGLColorIndexElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLColorIndexElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLColorIndexElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLColorIndexElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLColorIndexElement_initClass(*args) - - initClass = staticmethod(initClass) - def isColorIndexMode(*args): - """isColorIndexMode(SoState state) -> SbBool""" - return _coin.SoGLColorIndexElement_isColorIndexMode(*args) - - isColorIndexMode = staticmethod(isColorIndexMode) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLColorIndexElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLColorIndexElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoGLColorIndexElement""" - return _coin.SoGLColorIndexElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoGLColorIndexElement_getNum(*args) - - def get(*args): - """get(self, int index) -> int32_t""" - return _coin.SoGLColorIndexElement_get(*args) - - def getDefault(*args): - """getDefault() -> int32_t""" - return _coin.SoGLColorIndexElement_getDefault(*args) - - getDefault = staticmethod(getDefault) -SoGLColorIndexElement_swigregister = _coin.SoGLColorIndexElement_swigregister -SoGLColorIndexElement_swigregister(SoGLColorIndexElement) - -def SoGLColorIndexElement_getClassTypeId(*args): - """SoGLColorIndexElement_getClassTypeId() -> SoType""" - return _coin.SoGLColorIndexElement_getClassTypeId(*args) - -def SoGLColorIndexElement_getClassStackIndex(*args): - """SoGLColorIndexElement_getClassStackIndex() -> int""" - return _coin.SoGLColorIndexElement_getClassStackIndex(*args) - -def SoGLColorIndexElement_createInstance(*args): - """SoGLColorIndexElement_createInstance() -> void""" - return _coin.SoGLColorIndexElement_createInstance(*args) - -def SoGLColorIndexElement_initClass(*args): - """SoGLColorIndexElement_initClass()""" - return _coin.SoGLColorIndexElement_initClass(*args) - -def SoGLColorIndexElement_isColorIndexMode(*args): - """SoGLColorIndexElement_isColorIndexMode(SoState state) -> SbBool""" - return _coin.SoGLColorIndexElement_isColorIndexMode(*args) - -def SoGLColorIndexElement_set(*args): - """SoGLColorIndexElement_set(SoState state, SoNode node, int32_t numindices, int32_t indices)""" - return _coin.SoGLColorIndexElement_set(*args) - -def SoGLColorIndexElement_getInstance(*args): - """SoGLColorIndexElement_getInstance(SoState state) -> SoGLColorIndexElement""" - return _coin.SoGLColorIndexElement_getInstance(*args) - -def SoGLColorIndexElement_getDefault(*args): - """SoGLColorIndexElement_getDefault() -> int32_t""" - return _coin.SoGLColorIndexElement_getDefault(*args) - -class SoListenerPositionElement(SoReplacedElement): - """Proxy of C++ SoListenerPositionElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerPositionElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerPositionElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerPositionElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerPositionElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerPositionElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)""" - return _coin.SoListenerPositionElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbVec3f""" - return _coin.SoListenerPositionElement_get(*args) - - get = staticmethod(get) - def isSetByListener(*args): - """isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerPositionElement_isSetByListener(*args) - - isSetByListener = staticmethod(isSetByListener) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerPositionElement_output(*args) - -SoListenerPositionElement_swigregister = _coin.SoListenerPositionElement_swigregister -SoListenerPositionElement_swigregister(SoListenerPositionElement) - -def SoListenerPositionElement_getClassTypeId(*args): - """SoListenerPositionElement_getClassTypeId() -> SoType""" - return _coin.SoListenerPositionElement_getClassTypeId(*args) - -def SoListenerPositionElement_getClassStackIndex(*args): - """SoListenerPositionElement_getClassStackIndex() -> int""" - return _coin.SoListenerPositionElement_getClassStackIndex(*args) - -def SoListenerPositionElement_createInstance(*args): - """SoListenerPositionElement_createInstance() -> void""" - return _coin.SoListenerPositionElement_createInstance(*args) - -def SoListenerPositionElement_initClass(*args): - """SoListenerPositionElement_initClass()""" - return _coin.SoListenerPositionElement_initClass(*args) - -def SoListenerPositionElement_set(*args): - """SoListenerPositionElement_set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)""" - return _coin.SoListenerPositionElement_set(*args) - -def SoListenerPositionElement_get(*args): - """SoListenerPositionElement_get(SoState state) -> SbVec3f""" - return _coin.SoListenerPositionElement_get(*args) - -def SoListenerPositionElement_isSetByListener(*args): - """SoListenerPositionElement_isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerPositionElement_isSetByListener(*args) - -class SoListenerOrientationElement(SoReplacedElement): - """Proxy of C++ SoListenerOrientationElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerOrientationElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerOrientationElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerOrientationElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerOrientationElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerOrientationElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbRotation orientation, - SbBool setbylistener) - """ - return _coin.SoListenerOrientationElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> SbRotation""" - return _coin.SoListenerOrientationElement_get(*args) - - get = staticmethod(get) - def isSetByListener(*args): - """isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerOrientationElement_isSetByListener(*args) - - isSetByListener = staticmethod(isSetByListener) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerOrientationElement_output(*args) - -SoListenerOrientationElement_swigregister = _coin.SoListenerOrientationElement_swigregister -SoListenerOrientationElement_swigregister(SoListenerOrientationElement) - -def SoListenerOrientationElement_getClassTypeId(*args): - """SoListenerOrientationElement_getClassTypeId() -> SoType""" - return _coin.SoListenerOrientationElement_getClassTypeId(*args) - -def SoListenerOrientationElement_getClassStackIndex(*args): - """SoListenerOrientationElement_getClassStackIndex() -> int""" - return _coin.SoListenerOrientationElement_getClassStackIndex(*args) - -def SoListenerOrientationElement_createInstance(*args): - """SoListenerOrientationElement_createInstance() -> void""" - return _coin.SoListenerOrientationElement_createInstance(*args) - -def SoListenerOrientationElement_initClass(*args): - """SoListenerOrientationElement_initClass()""" - return _coin.SoListenerOrientationElement_initClass(*args) - -def SoListenerOrientationElement_set(*args): - """ - SoListenerOrientationElement_set(SoState state, SoNode node, SbRotation orientation, - SbBool setbylistener) - """ - return _coin.SoListenerOrientationElement_set(*args) - -def SoListenerOrientationElement_get(*args): - """SoListenerOrientationElement_get(SoState state) -> SbRotation""" - return _coin.SoListenerOrientationElement_get(*args) - -def SoListenerOrientationElement_isSetByListener(*args): - """SoListenerOrientationElement_isSetByListener(SoState state) -> SbBool""" - return _coin.SoListenerOrientationElement_isSetByListener(*args) - -class SoListenerDopplerElement(SoReplacedElement): - """Proxy of C++ SoListenerDopplerElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerDopplerElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerDopplerElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerDopplerElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerDopplerElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerDopplerElement_init(*args) - - def setDopplerVelocity(*args): - """setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)""" - return _coin.SoListenerDopplerElement_setDopplerVelocity(*args) - - setDopplerVelocity = staticmethod(setDopplerVelocity) - def setDopplerFactor(*args): - """setDopplerFactor(SoState state, SoNode node, float factor)""" - return _coin.SoListenerDopplerElement_setDopplerFactor(*args) - - setDopplerFactor = staticmethod(setDopplerFactor) - def getDopplerVelocity(*args): - """getDopplerVelocity(SoState state) -> SbVec3f""" - return _coin.SoListenerDopplerElement_getDopplerVelocity(*args) - - getDopplerVelocity = staticmethod(getDopplerVelocity) - def getDopplerFactor(*args): - """getDopplerFactor(SoState state) -> float""" - return _coin.SoListenerDopplerElement_getDopplerFactor(*args) - - getDopplerFactor = staticmethod(getDopplerFactor) - def output(*args): - """output(self, FILE file)""" - return _coin.SoListenerDopplerElement_output(*args) - -SoListenerDopplerElement_swigregister = _coin.SoListenerDopplerElement_swigregister -SoListenerDopplerElement_swigregister(SoListenerDopplerElement) - -def SoListenerDopplerElement_getClassTypeId(*args): - """SoListenerDopplerElement_getClassTypeId() -> SoType""" - return _coin.SoListenerDopplerElement_getClassTypeId(*args) - -def SoListenerDopplerElement_getClassStackIndex(*args): - """SoListenerDopplerElement_getClassStackIndex() -> int""" - return _coin.SoListenerDopplerElement_getClassStackIndex(*args) - -def SoListenerDopplerElement_createInstance(*args): - """SoListenerDopplerElement_createInstance() -> void""" - return _coin.SoListenerDopplerElement_createInstance(*args) - -def SoListenerDopplerElement_initClass(*args): - """SoListenerDopplerElement_initClass()""" - return _coin.SoListenerDopplerElement_initClass(*args) - -def SoListenerDopplerElement_setDopplerVelocity(*args): - """SoListenerDopplerElement_setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)""" - return _coin.SoListenerDopplerElement_setDopplerVelocity(*args) - -def SoListenerDopplerElement_setDopplerFactor(*args): - """SoListenerDopplerElement_setDopplerFactor(SoState state, SoNode node, float factor)""" - return _coin.SoListenerDopplerElement_setDopplerFactor(*args) - -def SoListenerDopplerElement_getDopplerVelocity(*args): - """SoListenerDopplerElement_getDopplerVelocity(SoState state) -> SbVec3f""" - return _coin.SoListenerDopplerElement_getDopplerVelocity(*args) - -def SoListenerDopplerElement_getDopplerFactor(*args): - """SoListenerDopplerElement_getDopplerFactor(SoState state) -> float""" - return _coin.SoListenerDopplerElement_getDopplerFactor(*args) - -class SoListenerGainElement(SoFloatElement): - """Proxy of C++ SoListenerGainElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListenerGainElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoListenerGainElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoListenerGainElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoListenerGainElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoListenerGainElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, float gain) - set(SoState state, float gain) - """ - return _coin.SoListenerGainElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> float""" - return _coin.SoListenerGainElement_get(*args) - - get = staticmethod(get) -SoListenerGainElement_swigregister = _coin.SoListenerGainElement_swigregister -SoListenerGainElement_swigregister(SoListenerGainElement) - -def SoListenerGainElement_getClassTypeId(*args): - """SoListenerGainElement_getClassTypeId() -> SoType""" - return _coin.SoListenerGainElement_getClassTypeId(*args) - -def SoListenerGainElement_getClassStackIndex(*args): - """SoListenerGainElement_getClassStackIndex() -> int""" - return _coin.SoListenerGainElement_getClassStackIndex(*args) - -def SoListenerGainElement_createInstance(*args): - """SoListenerGainElement_createInstance() -> void""" - return _coin.SoListenerGainElement_createInstance(*args) - -def SoListenerGainElement_initClass(*args): - """SoListenerGainElement_initClass()""" - return _coin.SoListenerGainElement_initClass(*args) - -def SoListenerGainElement_set(*args): - """ - set(SoState state, SoNode node, float gain) - SoListenerGainElement_set(SoState state, float gain) - """ - return _coin.SoListenerGainElement_set(*args) - -def SoListenerGainElement_get(*args): - """SoListenerGainElement_get(SoState state) -> float""" - return _coin.SoListenerGainElement_get(*args) - -class SoSoundElement(SoReplacedElement): - """Proxy of C++ SoSoundElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSoundElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSoundElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSoundElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSoundElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSoundElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, SbBool scenegraphhassoundnode, - SbBool soundnodeisplaying, SbBool ispartofactivescenegraph) - """ - return _coin.SoSoundElement_set(*args) - - set = staticmethod(set) - def setSceneGraphHasSoundNode(*args): - """setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSceneGraphHasSoundNode(*args) - - setSceneGraphHasSoundNode = staticmethod(setSceneGraphHasSoundNode) - def sceneGraphHasSoundNode(*args): - """sceneGraphHasSoundNode(SoState state) -> SbBool""" - return _coin.SoSoundElement_sceneGraphHasSoundNode(*args) - - sceneGraphHasSoundNode = staticmethod(sceneGraphHasSoundNode) - def setSoundNodeIsPlaying(*args): - """setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSoundNodeIsPlaying(*args) - - setSoundNodeIsPlaying = staticmethod(setSoundNodeIsPlaying) - def soundNodeIsPlaying(*args): - """soundNodeIsPlaying(SoState state) -> SbBool""" - return _coin.SoSoundElement_soundNodeIsPlaying(*args) - - soundNodeIsPlaying = staticmethod(soundNodeIsPlaying) - def setIsPartOfActiveSceneGraph(*args): - """setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setIsPartOfActiveSceneGraph(*args) - - setIsPartOfActiveSceneGraph = staticmethod(setIsPartOfActiveSceneGraph) - def isPartOfActiveSceneGraph(*args): - """isPartOfActiveSceneGraph(SoState state) -> SbBool""" - return _coin.SoSoundElement_isPartOfActiveSceneGraph(*args) - - isPartOfActiveSceneGraph = staticmethod(isPartOfActiveSceneGraph) - def push(*args): - """push(self, SoState state)""" - return _coin.SoSoundElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoSoundElement_pop(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SoSoundElement_output(*args) - -SoSoundElement_swigregister = _coin.SoSoundElement_swigregister -SoSoundElement_swigregister(SoSoundElement) - -def SoSoundElement_getClassTypeId(*args): - """SoSoundElement_getClassTypeId() -> SoType""" - return _coin.SoSoundElement_getClassTypeId(*args) - -def SoSoundElement_getClassStackIndex(*args): - """SoSoundElement_getClassStackIndex() -> int""" - return _coin.SoSoundElement_getClassStackIndex(*args) - -def SoSoundElement_createInstance(*args): - """SoSoundElement_createInstance() -> void""" - return _coin.SoSoundElement_createInstance(*args) - -def SoSoundElement_initClass(*args): - """SoSoundElement_initClass()""" - return _coin.SoSoundElement_initClass(*args) - -def SoSoundElement_set(*args): - """ - SoSoundElement_set(SoState state, SoNode node, SbBool scenegraphhassoundnode, - SbBool soundnodeisplaying, SbBool ispartofactivescenegraph) - """ - return _coin.SoSoundElement_set(*args) - -def SoSoundElement_setSceneGraphHasSoundNode(*args): - """SoSoundElement_setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSceneGraphHasSoundNode(*args) - -def SoSoundElement_sceneGraphHasSoundNode(*args): - """SoSoundElement_sceneGraphHasSoundNode(SoState state) -> SbBool""" - return _coin.SoSoundElement_sceneGraphHasSoundNode(*args) - -def SoSoundElement_setSoundNodeIsPlaying(*args): - """SoSoundElement_setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setSoundNodeIsPlaying(*args) - -def SoSoundElement_soundNodeIsPlaying(*args): - """SoSoundElement_soundNodeIsPlaying(SoState state) -> SbBool""" - return _coin.SoSoundElement_soundNodeIsPlaying(*args) - -def SoSoundElement_setIsPartOfActiveSceneGraph(*args): - """SoSoundElement_setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool""" - return _coin.SoSoundElement_setIsPartOfActiveSceneGraph(*args) - -def SoSoundElement_isPartOfActiveSceneGraph(*args): - """SoSoundElement_isPartOfActiveSceneGraph(SoState state) -> SbBool""" - return _coin.SoSoundElement_isPartOfActiveSceneGraph(*args) - -class SoSpecularColorElement(SoReplacedElement): - """Proxy of C++ SoSpecularColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpecularColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoSpecularColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSpecularColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoSpecularColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoSpecularColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numColors, SbColor colors)""" - return _coin.SoSpecularColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoSpecularColorElement""" - return _coin.SoSpecularColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoSpecularColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoSpecularColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoSpecularColorElement_getArrayPtr(*args) - -SoSpecularColorElement_swigregister = _coin.SoSpecularColorElement_swigregister -SoSpecularColorElement_swigregister(SoSpecularColorElement) - -def SoSpecularColorElement_getClassTypeId(*args): - """SoSpecularColorElement_getClassTypeId() -> SoType""" - return _coin.SoSpecularColorElement_getClassTypeId(*args) - -def SoSpecularColorElement_getClassStackIndex(*args): - """SoSpecularColorElement_getClassStackIndex() -> int""" - return _coin.SoSpecularColorElement_getClassStackIndex(*args) - -def SoSpecularColorElement_createInstance(*args): - """SoSpecularColorElement_createInstance() -> void""" - return _coin.SoSpecularColorElement_createInstance(*args) - -def SoSpecularColorElement_initClass(*args): - """SoSpecularColorElement_initClass()""" - return _coin.SoSpecularColorElement_initClass(*args) - -def SoSpecularColorElement_set(*args): - """SoSpecularColorElement_set(SoState state, SoNode node, int32_t numColors, SbColor colors)""" - return _coin.SoSpecularColorElement_set(*args) - -def SoSpecularColorElement_getInstance(*args): - """SoSpecularColorElement_getInstance(SoState state) -> SoSpecularColorElement""" - return _coin.SoSpecularColorElement_getInstance(*args) - -class SoEmissiveColorElement(SoReplacedElement): - """Proxy of C++ SoEmissiveColorElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEmissiveColorElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoEmissiveColorElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoEmissiveColorElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoEmissiveColorElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoEmissiveColorElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoEmissiveColorElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoEmissiveColorElement""" - return _coin.SoEmissiveColorElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoEmissiveColorElement_getNum(*args) - - def get(*args): - """get(self, int index) -> SbColor""" - return _coin.SoEmissiveColorElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbColor""" - return _coin.SoEmissiveColorElement_getArrayPtr(*args) - -SoEmissiveColorElement_swigregister = _coin.SoEmissiveColorElement_swigregister -SoEmissiveColorElement_swigregister(SoEmissiveColorElement) - -def SoEmissiveColorElement_getClassTypeId(*args): - """SoEmissiveColorElement_getClassTypeId() -> SoType""" - return _coin.SoEmissiveColorElement_getClassTypeId(*args) - -def SoEmissiveColorElement_getClassStackIndex(*args): - """SoEmissiveColorElement_getClassStackIndex() -> int""" - return _coin.SoEmissiveColorElement_getClassStackIndex(*args) - -def SoEmissiveColorElement_createInstance(*args): - """SoEmissiveColorElement_createInstance() -> void""" - return _coin.SoEmissiveColorElement_createInstance(*args) - -def SoEmissiveColorElement_initClass(*args): - """SoEmissiveColorElement_initClass()""" - return _coin.SoEmissiveColorElement_initClass(*args) - -def SoEmissiveColorElement_set(*args): - """SoEmissiveColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)""" - return _coin.SoEmissiveColorElement_set(*args) - -def SoEmissiveColorElement_getInstance(*args): - """SoEmissiveColorElement_getInstance(SoState state) -> SoEmissiveColorElement""" - return _coin.SoEmissiveColorElement_getInstance(*args) - -class SoShininessElement(SoReplacedElement): - """Proxy of C++ SoShininessElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShininessElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoShininessElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoShininessElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoShininessElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoShininessElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoShininessElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoShininessElement""" - return _coin.SoShininessElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoShininessElement_getNum(*args) - - def get(*args): - """get(self, int index) -> float""" - return _coin.SoShininessElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> float""" - return _coin.SoShininessElement_getArrayPtr(*args) - -SoShininessElement_swigregister = _coin.SoShininessElement_swigregister -SoShininessElement_swigregister(SoShininessElement) - -def SoShininessElement_getClassTypeId(*args): - """SoShininessElement_getClassTypeId() -> SoType""" - return _coin.SoShininessElement_getClassTypeId(*args) - -def SoShininessElement_getClassStackIndex(*args): - """SoShininessElement_getClassStackIndex() -> int""" - return _coin.SoShininessElement_getClassStackIndex(*args) - -def SoShininessElement_createInstance(*args): - """SoShininessElement_createInstance() -> void""" - return _coin.SoShininessElement_createInstance(*args) - -def SoShininessElement_initClass(*args): - """SoShininessElement_initClass()""" - return _coin.SoShininessElement_initClass(*args) - -def SoShininessElement_set(*args): - """SoShininessElement_set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoShininessElement_set(*args) - -def SoShininessElement_getInstance(*args): - """SoShininessElement_getInstance(SoState state) -> SoShininessElement""" - return _coin.SoShininessElement_getInstance(*args) - -class SoTransparencyElement(SoReplacedElement): - """Proxy of C++ SoTransparencyElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransparencyElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTransparencyElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTransparencyElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTransparencyElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTransparencyElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoTransparencyElement_set(*args) - - set = staticmethod(set) - def getInstance(*args): - """getInstance(SoState state) -> SoTransparencyElement""" - return _coin.SoTransparencyElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def getNum(*args): - """getNum(self) -> int32_t""" - return _coin.SoTransparencyElement_getNum(*args) - - def get(*args): - """get(self, int index) -> float""" - return _coin.SoTransparencyElement_get(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> float""" - return _coin.SoTransparencyElement_getArrayPtr(*args) - -SoTransparencyElement_swigregister = _coin.SoTransparencyElement_swigregister -SoTransparencyElement_swigregister(SoTransparencyElement) - -def SoTransparencyElement_getClassTypeId(*args): - """SoTransparencyElement_getClassTypeId() -> SoType""" - return _coin.SoTransparencyElement_getClassTypeId(*args) - -def SoTransparencyElement_getClassStackIndex(*args): - """SoTransparencyElement_getClassStackIndex() -> int""" - return _coin.SoTransparencyElement_getClassStackIndex(*args) - -def SoTransparencyElement_createInstance(*args): - """SoTransparencyElement_createInstance() -> void""" - return _coin.SoTransparencyElement_createInstance(*args) - -def SoTransparencyElement_initClass(*args): - """SoTransparencyElement_initClass()""" - return _coin.SoTransparencyElement_initClass(*args) - -def SoTransparencyElement_set(*args): - """SoTransparencyElement_set(SoState state, SoNode node, int32_t numvalues, float values)""" - return _coin.SoTransparencyElement_set(*args) - -def SoTransparencyElement_getInstance(*args): - """SoTransparencyElement_getInstance(SoState state) -> SoTransparencyElement""" - return _coin.SoTransparencyElement_getInstance(*args) - -class SoLightModelElement(SoInt32Element): - """Proxy of C++ SoLightModelElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightModelElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoLightModelElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoLightModelElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoLightModelElement_initClass(*args) - - initClass = staticmethod(initClass) - BASE_COLOR = _coin.SoLightModelElement_BASE_COLOR - PHONG = _coin.SoLightModelElement_PHONG - def init(*args): - """init(self, SoState state)""" - return _coin.SoLightModelElement_init(*args) - - def set(*args): - """ - set(SoState state, Model model) - set(SoState state, SoNode node, Model model) - """ - return _coin.SoLightModelElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> Model""" - return _coin.SoLightModelElement_get(*args) - - get = staticmethod(get) - def getDefault(*args): - """getDefault() -> Model""" - return _coin.SoLightModelElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def getInstance(*args): - """getInstance(SoState state) -> SoLightModelElement""" - return _coin.SoLightModelElement_getInstance(*args) - - getInstance = staticmethod(getInstance) -SoLightModelElement_swigregister = _coin.SoLightModelElement_swigregister -SoLightModelElement_swigregister(SoLightModelElement) - -def SoLightModelElement_getClassTypeId(*args): - """SoLightModelElement_getClassTypeId() -> SoType""" - return _coin.SoLightModelElement_getClassTypeId(*args) - -def SoLightModelElement_getClassStackIndex(*args): - """SoLightModelElement_getClassStackIndex() -> int""" - return _coin.SoLightModelElement_getClassStackIndex(*args) - -def SoLightModelElement_createInstance(*args): - """SoLightModelElement_createInstance() -> void""" - return _coin.SoLightModelElement_createInstance(*args) - -def SoLightModelElement_initClass(*args): - """SoLightModelElement_initClass()""" - return _coin.SoLightModelElement_initClass(*args) - -def SoLightModelElement_set(*args): - """ - set(SoState state, Model model) - SoLightModelElement_set(SoState state, SoNode node, Model model) - """ - return _coin.SoLightModelElement_set(*args) - -def SoLightModelElement_get(*args): - """SoLightModelElement_get(SoState state) -> Model""" - return _coin.SoLightModelElement_get(*args) - -def SoLightModelElement_getDefault(*args): - """SoLightModelElement_getDefault() -> Model""" - return _coin.SoLightModelElement_getDefault(*args) - -def SoLightModelElement_getInstance(*args): - """SoLightModelElement_getInstance(SoState state) -> SoLightModelElement""" - return _coin.SoLightModelElement_getInstance(*args) - -class SoMultiTextureCoordinateElement(SoElement): - """Proxy of C++ SoMultiTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureCoordinateElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureCoordinateElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def setFunction(*args): - """ - setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoMultiTextureCoordinateElement_setFunction(*args) - - setFunction = staticmethod(setFunction) - def set2(*args): - """ - set2(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec2f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set2(*args) - - set2 = staticmethod(set2) - def set3(*args): - """ - set3(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec3f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set3(*args) - - set3 = staticmethod(set3) - def set4(*args): - """ - set4(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec4f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set4(*args) - - set4 = staticmethod(set4) - def getType(*args): - """ - getType(self, SoState state, int unit) -> CoordType - getType(self, int unit) -> CoordType - """ - return _coin.SoMultiTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoMultiTextureCoordinateElement""" - return _coin.SoMultiTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def get(*args): - """get(self, int unit, SbVec3f point, SbVec3f normal) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_get(*args) - - def getNum(*args): - """getNum(self, int unit) -> int32_t""" - return _coin.SoMultiTextureCoordinateElement_getNum(*args) - - def is2D(*args): - """is2D(self, int unit) -> SbBool""" - return _coin.SoMultiTextureCoordinateElement_is2D(*args) - - def getDimension(*args): - """getDimension(self, int unit) -> int32_t""" - return _coin.SoMultiTextureCoordinateElement_getDimension(*args) - - def get2(*args): - """get2(self, int unit, int index) -> SbVec2f""" - return _coin.SoMultiTextureCoordinateElement_get2(*args) - - def get3(*args): - """get3(self, int unit, int index) -> SbVec3f""" - return _coin.SoMultiTextureCoordinateElement_get3(*args) - - def get4(*args): - """get4(self, int unit, int index) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_get4(*args) - - def getArrayPtr2(*args): - """getArrayPtr2(self, int unit) -> SbVec2f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr2(*args) - - def getArrayPtr3(*args): - """getArrayPtr3(self, int unit) -> SbVec3f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr3(*args) - - def getArrayPtr4(*args): - """getArrayPtr4(self, int unit) -> SbVec4f""" - return _coin.SoMultiTextureCoordinateElement_getArrayPtr4(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureCoordinateElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureCoordinateElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureCoordinateElement_copyMatchInfo(*args) - -SoMultiTextureCoordinateElement_swigregister = _coin.SoMultiTextureCoordinateElement_swigregister -SoMultiTextureCoordinateElement_swigregister(SoMultiTextureCoordinateElement) - -def SoMultiTextureCoordinateElement_getClassTypeId(*args): - """SoMultiTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureCoordinateElement_getClassTypeId(*args) - -def SoMultiTextureCoordinateElement_getClassStackIndex(*args): - """SoMultiTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureCoordinateElement_getClassStackIndex(*args) - -def SoMultiTextureCoordinateElement_createInstance(*args): - """SoMultiTextureCoordinateElement_createInstance() -> void""" - return _coin.SoMultiTextureCoordinateElement_createInstance(*args) - -def SoMultiTextureCoordinateElement_initClass(*args): - """SoMultiTextureCoordinateElement_initClass()""" - return _coin.SoMultiTextureCoordinateElement_initClass(*args) - -def SoMultiTextureCoordinateElement_setDefault(*args): - """SoMultiTextureCoordinateElement_setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureCoordinateElement_setDefault(*args) - -def SoMultiTextureCoordinateElement_setFunction(*args): - """ - SoMultiTextureCoordinateElement_setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, - void userdata) - """ - return _coin.SoMultiTextureCoordinateElement_setFunction(*args) - -def SoMultiTextureCoordinateElement_set2(*args): - """ - SoMultiTextureCoordinateElement_set2(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec2f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set2(*args) - -def SoMultiTextureCoordinateElement_set3(*args): - """ - SoMultiTextureCoordinateElement_set3(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec3f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set3(*args) - -def SoMultiTextureCoordinateElement_set4(*args): - """ - SoMultiTextureCoordinateElement_set4(SoState state, SoNode node, int unit, int32_t numCoords, - SbVec4f coords) - """ - return _coin.SoMultiTextureCoordinateElement_set4(*args) - -def SoMultiTextureCoordinateElement_getInstance(*args): - """SoMultiTextureCoordinateElement_getInstance(SoState state) -> SoMultiTextureCoordinateElement""" - return _coin.SoMultiTextureCoordinateElement_getInstance(*args) - -class SoGLMultiTextureCoordinateElement(SoMultiTextureCoordinateElement): - """Proxy of C++ SoGLMultiTextureCoordinateElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureCoordinateElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureCoordinateElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureCoordinateElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureCoordinateElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureCoordinateElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureCoordinateElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureCoordinateElement_pop(*args) - - def setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLMultiTextureCoordinateElement_setTexGen(*args) - - setTexGen = staticmethod(setTexGen) - def getType(*args): - """getType(self, int unit) -> CoordType""" - return _coin.SoGLMultiTextureCoordinateElement_getType(*args) - - def getInstance(*args): - """getInstance(SoState state) -> SoGLMultiTextureCoordinateElement""" - return _coin.SoGLMultiTextureCoordinateElement_getInstance(*args) - - getInstance = staticmethod(getInstance) - def send(*args): - """ - send(self, int unit, int index) - send(self, int unit, int index, SbVec3f c, SbVec3f n) - """ - return _coin.SoGLMultiTextureCoordinateElement_send(*args) - - def initRender(*args): - """initRender(self, SbBool enabled, int maxenabled)""" - return _coin.SoGLMultiTextureCoordinateElement_initRender(*args) - -SoGLMultiTextureCoordinateElement_swigregister = _coin.SoGLMultiTextureCoordinateElement_swigregister -SoGLMultiTextureCoordinateElement_swigregister(SoGLMultiTextureCoordinateElement) - -def SoGLMultiTextureCoordinateElement_getClassTypeId(*args): - """SoGLMultiTextureCoordinateElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureCoordinateElement_getClassTypeId(*args) - -def SoGLMultiTextureCoordinateElement_getClassStackIndex(*args): - """SoGLMultiTextureCoordinateElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureCoordinateElement_getClassStackIndex(*args) - -def SoGLMultiTextureCoordinateElement_createInstance(*args): - """SoGLMultiTextureCoordinateElement_createInstance() -> void""" - return _coin.SoGLMultiTextureCoordinateElement_createInstance(*args) - -def SoGLMultiTextureCoordinateElement_initClass(*args): - """SoGLMultiTextureCoordinateElement_initClass()""" - return _coin.SoGLMultiTextureCoordinateElement_initClass(*args) - -def SoGLMultiTextureCoordinateElement_setTexGen(*args): - """ - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None, - void funcData=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None, SoTextureCoordinateFunctionCB func=None) - setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, - void texgenData=None) - SoGLMultiTextureCoordinateElement_setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc) - """ - return _coin.SoGLMultiTextureCoordinateElement_setTexGen(*args) - -def SoGLMultiTextureCoordinateElement_getInstance(*args): - """SoGLMultiTextureCoordinateElement_getInstance(SoState state) -> SoGLMultiTextureCoordinateElement""" - return _coin.SoGLMultiTextureCoordinateElement_getInstance(*args) - -class SoMultiTextureEnabledElement(SoElement): - """Proxy of C++ SoMultiTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - DISABLED = _coin.SoMultiTextureEnabledElement_DISABLED - TEXTURE2D = _coin.SoMultiTextureEnabledElement_TEXTURE2D - RECTANGLE = _coin.SoMultiTextureEnabledElement_RECTANGLE - CUBEMAP = _coin.SoMultiTextureEnabledElement_CUBEMAP - TEXTURE3D = _coin.SoMultiTextureEnabledElement_TEXTURE3D - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureEnabledElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int unit, SbBool enabled)""" - return _coin.SoMultiTextureEnabledElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state, int unit) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_get(*args) - - get = staticmethod(get) - def setElt(*args): - """setElt(self, int unit, SbBool enabled)""" - return _coin.SoMultiTextureEnabledElement_setElt(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureEnabledElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureEnabledElement_copyMatchInfo(*args) - - def getEnabledUnits(*args): - """getEnabledUnits(SoState state, int lastenabled) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_getEnabledUnits(*args) - - getEnabledUnits = staticmethod(getEnabledUnits) -SoMultiTextureEnabledElement_swigregister = _coin.SoMultiTextureEnabledElement_swigregister -SoMultiTextureEnabledElement_swigregister(SoMultiTextureEnabledElement) - -def SoMultiTextureEnabledElement_getClassTypeId(*args): - """SoMultiTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureEnabledElement_getClassTypeId(*args) - -def SoMultiTextureEnabledElement_getClassStackIndex(*args): - """SoMultiTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureEnabledElement_getClassStackIndex(*args) - -def SoMultiTextureEnabledElement_createInstance(*args): - """SoMultiTextureEnabledElement_createInstance() -> void""" - return _coin.SoMultiTextureEnabledElement_createInstance(*args) - -def SoMultiTextureEnabledElement_initClass(*args): - """SoMultiTextureEnabledElement_initClass()""" - return _coin.SoMultiTextureEnabledElement_initClass(*args) - -def SoMultiTextureEnabledElement_set(*args): - """SoMultiTextureEnabledElement_set(SoState state, SoNode node, int unit, SbBool enabled)""" - return _coin.SoMultiTextureEnabledElement_set(*args) - -def SoMultiTextureEnabledElement_get(*args): - """SoMultiTextureEnabledElement_get(SoState state, int unit) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_get(*args) - -def SoMultiTextureEnabledElement_getEnabledUnits(*args): - """SoMultiTextureEnabledElement_getEnabledUnits(SoState state, int lastenabled) -> SbBool""" - return _coin.SoMultiTextureEnabledElement_getEnabledUnits(*args) - -class SoGLMultiTextureEnabledElement(SoMultiTextureEnabledElement): - """Proxy of C++ SoGLMultiTextureEnabledElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureEnabledElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureEnabledElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureEnabledElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureEnabledElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureEnabledElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureEnabledElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureEnabledElement_pop(*args) - - def setElt(*args): - """setElt(self, int unit, SbBool onoff)""" - return _coin.SoGLMultiTextureEnabledElement_setElt(*args) - -SoGLMultiTextureEnabledElement_swigregister = _coin.SoGLMultiTextureEnabledElement_swigregister -SoGLMultiTextureEnabledElement_swigregister(SoGLMultiTextureEnabledElement) - -def SoGLMultiTextureEnabledElement_getClassTypeId(*args): - """SoGLMultiTextureEnabledElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureEnabledElement_getClassTypeId(*args) - -def SoGLMultiTextureEnabledElement_getClassStackIndex(*args): - """SoGLMultiTextureEnabledElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureEnabledElement_getClassStackIndex(*args) - -def SoGLMultiTextureEnabledElement_createInstance(*args): - """SoGLMultiTextureEnabledElement_createInstance() -> void""" - return _coin.SoGLMultiTextureEnabledElement_createInstance(*args) - -def SoGLMultiTextureEnabledElement_initClass(*args): - """SoGLMultiTextureEnabledElement_initClass()""" - return _coin.SoGLMultiTextureEnabledElement_initClass(*args) - -class SoMultiTextureImageElement(SoElement): - """Proxy of C++ SoMultiTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureImageElement_init(*args) - - def setDefault(*args): - """setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureImageElement_setDefault(*args) - - setDefault = staticmethod(setDefault) - def set(*args): - """ - set(SoState state, SoNode node, int unit, SbVec2s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) - set(SoState state, SoNode node, int unit, SbVec3s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_set(*args) - - set = staticmethod(set) - def get(*args): - """ - get(SoState state, int unit, SbVec2s size, int numComponents, - Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - get(SoState state, int unit, SbVec3s size, int numComponents, - Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_get(*args) - - get = staticmethod(get) - def getImage(*args): - """ - getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char - getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getImage(*args) - - getImage = staticmethod(getImage) - def getBlendColor(*args): - """getBlendColor(SoState state, int unit) -> SbColor""" - return _coin.SoMultiTextureImageElement_getBlendColor(*args) - - getBlendColor = staticmethod(getBlendColor) - def getModel(*args): - """getModel(SoState state, int unit) -> Model""" - return _coin.SoMultiTextureImageElement_getModel(*args) - - getModel = staticmethod(getModel) - def getWrapS(*args): - """getWrapS(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapS(*args) - - getWrapS = staticmethod(getWrapS) - def getWrapT(*args): - """getWrapT(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapT(*args) - - getWrapT = staticmethod(getWrapT) - def getWrapR(*args): - """getWrapR(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapR(*args) - - getWrapR = staticmethod(getWrapR) - def containsTransparency(*args): - """containsTransparency(SoState state) -> SbBool""" - return _coin.SoMultiTextureImageElement_containsTransparency(*args) - - containsTransparency = staticmethod(containsTransparency) - def getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getDefault(*args) - - getDefault = staticmethod(getDefault) - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureImageElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoMultiTextureImageElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoMultiTextureImageElement_copyMatchInfo(*args) - - def setElt(*args): - """ - setElt(self, int unit, uint32_t nodeid, SbVec2s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Model model, SbColor blendColor) - setElt(self, int unit, uint32_t nodeid, SbVec3s size, int numComponents, - unsigned char bytes, Wrap wrapS, Wrap wrapT, - Wrap wrapR, Model model, SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_setElt(*args) - - def hasTransparency(*args): - """hasTransparency(self, int unit) -> SbBool""" - return _coin.SoMultiTextureImageElement_hasTransparency(*args) - -SoMultiTextureImageElement_swigregister = _coin.SoMultiTextureImageElement_swigregister -SoMultiTextureImageElement_swigregister(SoMultiTextureImageElement) - -def SoMultiTextureImageElement_getClassTypeId(*args): - """SoMultiTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureImageElement_getClassTypeId(*args) - -def SoMultiTextureImageElement_getClassStackIndex(*args): - """SoMultiTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureImageElement_getClassStackIndex(*args) - -def SoMultiTextureImageElement_createInstance(*args): - """SoMultiTextureImageElement_createInstance() -> void""" - return _coin.SoMultiTextureImageElement_createInstance(*args) - -def SoMultiTextureImageElement_initClass(*args): - """SoMultiTextureImageElement_initClass()""" - return _coin.SoMultiTextureImageElement_initClass(*args) - -def SoMultiTextureImageElement_setDefault(*args): - """SoMultiTextureImageElement_setDefault(SoState state, SoNode node, int unit)""" - return _coin.SoMultiTextureImageElement_setDefault(*args) - -def SoMultiTextureImageElement_set(*args): - """ - set(SoState state, SoNode node, int unit, SbVec2s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Model model, SbColor blendColor) - SoMultiTextureImageElement_set(SoState state, SoNode node, int unit, SbVec3s size, - int numComponents, unsigned char bytes, Wrap wrapS, - Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) - """ - return _coin.SoMultiTextureImageElement_set(*args) - -def SoMultiTextureImageElement_get(*args): - """ - get(SoState state, int unit, SbVec2s size, int numComponents, - Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char - SoMultiTextureImageElement_get(SoState state, int unit, SbVec3s size, int numComponents, - Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, - SbColor blendColor) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_get(*args) - -def SoMultiTextureImageElement_getImage(*args): - """ - getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char - SoMultiTextureImageElement_getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getImage(*args) - -def SoMultiTextureImageElement_getBlendColor(*args): - """SoMultiTextureImageElement_getBlendColor(SoState state, int unit) -> SbColor""" - return _coin.SoMultiTextureImageElement_getBlendColor(*args) - -def SoMultiTextureImageElement_getModel(*args): - """SoMultiTextureImageElement_getModel(SoState state, int unit) -> Model""" - return _coin.SoMultiTextureImageElement_getModel(*args) - -def SoMultiTextureImageElement_getWrapS(*args): - """SoMultiTextureImageElement_getWrapS(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapS(*args) - -def SoMultiTextureImageElement_getWrapT(*args): - """SoMultiTextureImageElement_getWrapT(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapT(*args) - -def SoMultiTextureImageElement_getWrapR(*args): - """SoMultiTextureImageElement_getWrapR(SoState state, int unit) -> Wrap""" - return _coin.SoMultiTextureImageElement_getWrapR(*args) - -def SoMultiTextureImageElement_containsTransparency(*args): - """SoMultiTextureImageElement_containsTransparency(SoState state) -> SbBool""" - return _coin.SoMultiTextureImageElement_containsTransparency(*args) - -def SoMultiTextureImageElement_getDefault(*args): - """ - getDefault(SbVec2s size, int numComponents) -> unsigned char - SoMultiTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char - """ - return _coin.SoMultiTextureImageElement_getDefault(*args) - -class SoGLMultiTextureImageElement(SoMultiTextureImageElement): - """Proxy of C++ SoGLMultiTextureImageElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureImageElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureImageElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureImageElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureImageElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureImageElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureImageElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureImageElement_pop(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int unit, SoGLImage image, - Model model, SbColor blendColor) - """ - return _coin.SoGLMultiTextureImageElement_set(*args) - - set = staticmethod(set) - def restore(*args): - """restore(SoState state, int unit)""" - return _coin.SoGLMultiTextureImageElement_restore(*args) - - restore = staticmethod(restore) - def get(*args): - """get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLMultiTextureImageElement_get(*args) - - get = staticmethod(get) -SoGLMultiTextureImageElement_swigregister = _coin.SoGLMultiTextureImageElement_swigregister -SoGLMultiTextureImageElement_swigregister(SoGLMultiTextureImageElement) - -def SoGLMultiTextureImageElement_getClassTypeId(*args): - """SoGLMultiTextureImageElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureImageElement_getClassTypeId(*args) - -def SoGLMultiTextureImageElement_getClassStackIndex(*args): - """SoGLMultiTextureImageElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureImageElement_getClassStackIndex(*args) - -def SoGLMultiTextureImageElement_createInstance(*args): - """SoGLMultiTextureImageElement_createInstance() -> void""" - return _coin.SoGLMultiTextureImageElement_createInstance(*args) - -def SoGLMultiTextureImageElement_initClass(*args): - """SoGLMultiTextureImageElement_initClass()""" - return _coin.SoGLMultiTextureImageElement_initClass(*args) - -def SoGLMultiTextureImageElement_set(*args): - """ - SoGLMultiTextureImageElement_set(SoState state, SoNode node, int unit, SoGLImage image, - Model model, SbColor blendColor) - """ - return _coin.SoGLMultiTextureImageElement_set(*args) - -def SoGLMultiTextureImageElement_restore(*args): - """SoGLMultiTextureImageElement_restore(SoState state, int unit)""" - return _coin.SoGLMultiTextureImageElement_restore(*args) - -def SoGLMultiTextureImageElement_get(*args): - """SoGLMultiTextureImageElement_get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage""" - return _coin.SoGLMultiTextureImageElement_get(*args) - -class SoMultiTextureMatrixElement(SoAccumulatedElement): - """Proxy of C++ SoMultiTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultiTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoMultiTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMultiTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoMultiTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoMultiTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoMultiTextureMatrixElement_push(*args) - - def mult(*args): - """mult(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_mult(*args) - - mult = staticmethod(mult) - def get(*args): - """get(SoState state, int unit) -> SbMatrix""" - return _coin.SoMultiTextureMatrixElement_get(*args) - - get = staticmethod(get) -SoMultiTextureMatrixElement_swigregister = _coin.SoMultiTextureMatrixElement_swigregister -SoMultiTextureMatrixElement_swigregister(SoMultiTextureMatrixElement) - -def SoMultiTextureMatrixElement_getClassTypeId(*args): - """SoMultiTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoMultiTextureMatrixElement_getClassTypeId(*args) - -def SoMultiTextureMatrixElement_getClassStackIndex(*args): - """SoMultiTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoMultiTextureMatrixElement_getClassStackIndex(*args) - -def SoMultiTextureMatrixElement_createInstance(*args): - """SoMultiTextureMatrixElement_createInstance() -> void""" - return _coin.SoMultiTextureMatrixElement_createInstance(*args) - -def SoMultiTextureMatrixElement_initClass(*args): - """SoMultiTextureMatrixElement_initClass()""" - return _coin.SoMultiTextureMatrixElement_initClass(*args) - -def SoMultiTextureMatrixElement_mult(*args): - """SoMultiTextureMatrixElement_mult(SoState state, SoNode node, int unit, SbMatrix matrix)""" - return _coin.SoMultiTextureMatrixElement_mult(*args) - -def SoMultiTextureMatrixElement_get(*args): - """SoMultiTextureMatrixElement_get(SoState state, int unit) -> SbMatrix""" - return _coin.SoMultiTextureMatrixElement_get(*args) - -class SoGLMultiTextureMatrixElement(SoMultiTextureMatrixElement): - """Proxy of C++ SoGLMultiTextureMatrixElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureMatrixElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureMatrixElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGLMultiTextureMatrixElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGLMultiTextureMatrixElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoGLMultiTextureMatrixElement_init(*args) - - def push(*args): - """push(self, SoState state)""" - return _coin.SoGLMultiTextureMatrixElement_push(*args) - - def pop(*args): - """pop(self, SoState state, SoElement prevTopElement)""" - return _coin.SoGLMultiTextureMatrixElement_pop(*args) - - def multElt(*args): - """multElt(self, int unit, SbMatrix matrix)""" - return _coin.SoGLMultiTextureMatrixElement_multElt(*args) - -SoGLMultiTextureMatrixElement_swigregister = _coin.SoGLMultiTextureMatrixElement_swigregister -SoGLMultiTextureMatrixElement_swigregister(SoGLMultiTextureMatrixElement) - -def SoGLMultiTextureMatrixElement_getClassTypeId(*args): - """SoGLMultiTextureMatrixElement_getClassTypeId() -> SoType""" - return _coin.SoGLMultiTextureMatrixElement_getClassTypeId(*args) - -def SoGLMultiTextureMatrixElement_getClassStackIndex(*args): - """SoGLMultiTextureMatrixElement_getClassStackIndex() -> int""" - return _coin.SoGLMultiTextureMatrixElement_getClassStackIndex(*args) - -def SoGLMultiTextureMatrixElement_createInstance(*args): - """SoGLMultiTextureMatrixElement_createInstance() -> void""" - return _coin.SoGLMultiTextureMatrixElement_createInstance(*args) - -def SoGLMultiTextureMatrixElement_initClass(*args): - """SoGLMultiTextureMatrixElement_initClass()""" - return _coin.SoGLMultiTextureMatrixElement_initClass(*args) - -class SbColor4f(object): - """Proxy of C++ SbColor4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbColor4f - __init__(self, SbColor rgb, float alpha) -> SbColor4f - __init__(self, SbVec4f v) -> SbColor4f - __init__(self, float rgba) -> SbColor4f - __init__(self, float r, float g, float b, float a=1.0) -> SbColor4f - __init__(self, float r, float g, float b) -> SbColor4f - """ - this = _coin.new_SbColor4f(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """ - setValue(self, float r, float g, float b, float a=1.0) - setValue(self, float r, float g, float b) - setValue(self, float col) - """ - return _coin.SbColor4f_setValue(*args) - - def getValue(*args): - """getValue(self, float r, float g, float b, float a)""" - return _coin.SbColor4f_getValue(*args) - - def setRGB(*args): - """setRGB(self, SbColor col) -> SbColor4f""" - return _coin.SbColor4f_setRGB(*args) - - def getRGB(*args): - """getRGB(self, SbColor color)""" - return _coin.SbColor4f_getRGB(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v, float a=1.0) -> SbColor4f - setHSVValue(self, float h, float s, float v) -> SbColor4f - setHSVValue(self, float hsv, float alpha=1.0) -> SbColor4f - setHSVValue(self, float hsv) -> SbColor4f - """ - return _coin.SbColor4f_setHSVValue(*args) - - def getHSVValue(*args): - """getHSVValue(self, float h, float s, float v)""" - return _coin.SbColor4f_getHSVValue(*args) - - def setPackedValue(*args): - """setPackedValue(self, uint32_t rgba) -> SbColor4f""" - return _coin.SbColor4f_setPackedValue(*args) - - def getPackedValue(*args): - """getPackedValue(self) -> uint32_t""" - return _coin.SbColor4f_getPackedValue(*args) - - def __imul__(*args): - """__imul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbColor4f c) -> SbColor4f""" - return _coin.SbColor4f___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbColor4f c) -> SbColor4f""" - return _coin.SbColor4f___isub__(*args) - - def __add__(*args): - """__add__(self, SbColor4f u) -> SbColor4f""" - return _coin.SbColor4f___add__(*args) - - def __sub__(*args): - """__sub__(self, SbColor4f u) -> SbColor4f""" - return _coin.SbColor4f___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbColor4f""" - return _coin.SbColor4f___div__(*args) - - def __eq__(*args): - """__eq__(self, SbColor4f u) -> int""" - return _coin.SbColor4f___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbColor4f u) -> int""" - return _coin.SbColor4f___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SbColor4f___getitem__(*args) - - __swig_destroy__ = _coin.delete_SbColor4f - __del__ = lambda self : None; -SbColor4f_swigregister = _coin.SbColor4f_swigregister -SbColor4f_swigregister(SbColor4f) - -class SoTextureCombineElement(SoElement): - """Proxy of C++ SoTextureCombineElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCombineElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureCombineElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureCombineElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureCombineElement_initClass(*args) - - initClass = staticmethod(initClass) - PRIMARY_COLOR = _coin.SoTextureCombineElement_PRIMARY_COLOR - TEXTURE = _coin.SoTextureCombineElement_TEXTURE - CONSTANT = _coin.SoTextureCombineElement_CONSTANT - PREVIOUS = _coin.SoTextureCombineElement_PREVIOUS - SRC_COLOR = _coin.SoTextureCombineElement_SRC_COLOR - ONE_MINUS_SRC_COLOR = _coin.SoTextureCombineElement_ONE_MINUS_SRC_COLOR - SRC_ALPHA = _coin.SoTextureCombineElement_SRC_ALPHA - ONE_MINUS_SRC_ALPHA = _coin.SoTextureCombineElement_ONE_MINUS_SRC_ALPHA - REPLACE = _coin.SoTextureCombineElement_REPLACE - MODULATE = _coin.SoTextureCombineElement_MODULATE - ADD = _coin.SoTextureCombineElement_ADD - ADD_SIGNED = _coin.SoTextureCombineElement_ADD_SIGNED - SUBTRACT = _coin.SoTextureCombineElement_SUBTRACT - INTERPOLATE = _coin.SoTextureCombineElement_INTERPOLATE - DOT3_RGB = _coin.SoTextureCombineElement_DOT3_RGB - DOT3_RGBA = _coin.SoTextureCombineElement_DOT3_RGBA - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureCombineElement_init(*args) - - def set(*args): - """ - set(SoState state, SoNode node, int unit, Operation rgboperation, - Operation alphaoperation, Source rgbsource, - Source alphasource, Operand rgboperand, - Operand alphaoperand, SbColor4f constantcolor, - float rgbscale, float alphascale) - """ - return _coin.SoTextureCombineElement_set(*args) - - set = staticmethod(set) - def isDefault(*args): - """isDefault(SoState state, int unit) -> SbBool""" - return _coin.SoTextureCombineElement_isDefault(*args) - - isDefault = staticmethod(isDefault) - def get(*args): - """ - get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, - Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_get(*args) - - get = staticmethod(get) - def push(*args): - """push(self, SoState state)""" - return _coin.SoTextureCombineElement_push(*args) - - def matches(*args): - """matches(self, SoElement elem) -> SbBool""" - return _coin.SoTextureCombineElement_matches(*args) - - def copyMatchInfo(*args): - """copyMatchInfo(self) -> SoElement""" - return _coin.SoTextureCombineElement_copyMatchInfo(*args) - - def setElt(*args): - """ - setElt(self, int unit, uint32_t nodeid, Operation rgboperation, - Operation alphaoperation, Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_setElt(*args) - - def apply(*args): - """apply(SoState state, int unit)""" - return _coin.SoTextureCombineElement_apply(*args) - - apply = staticmethod(apply) -SoTextureCombineElement_swigregister = _coin.SoTextureCombineElement_swigregister -SoTextureCombineElement_swigregister(SoTextureCombineElement) - -def SoTextureCombineElement_getClassTypeId(*args): - """SoTextureCombineElement_getClassTypeId() -> SoType""" - return _coin.SoTextureCombineElement_getClassTypeId(*args) - -def SoTextureCombineElement_getClassStackIndex(*args): - """SoTextureCombineElement_getClassStackIndex() -> int""" - return _coin.SoTextureCombineElement_getClassStackIndex(*args) - -def SoTextureCombineElement_createInstance(*args): - """SoTextureCombineElement_createInstance() -> void""" - return _coin.SoTextureCombineElement_createInstance(*args) - -def SoTextureCombineElement_initClass(*args): - """SoTextureCombineElement_initClass()""" - return _coin.SoTextureCombineElement_initClass(*args) - -def SoTextureCombineElement_set(*args): - """ - SoTextureCombineElement_set(SoState state, SoNode node, int unit, Operation rgboperation, - Operation alphaoperation, Source rgbsource, - Source alphasource, Operand rgboperand, - Operand alphaoperand, SbColor4f constantcolor, - float rgbscale, float alphascale) - """ - return _coin.SoTextureCombineElement_set(*args) - -def SoTextureCombineElement_isDefault(*args): - """SoTextureCombineElement_isDefault(SoState state, int unit) -> SbBool""" - return _coin.SoTextureCombineElement_isDefault(*args) - -def SoTextureCombineElement_get(*args): - """ - SoTextureCombineElement_get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, - Source rgbsource, Source alphasource, - Operand rgboperand, Operand alphaoperand, - SbColor4f constantcolor, float rgbscale, - float alphascale) - """ - return _coin.SoTextureCombineElement_get(*args) - -def SoTextureCombineElement_apply(*args): - """SoTextureCombineElement_apply(SoState state, int unit)""" - return _coin.SoTextureCombineElement_apply(*args) - -class SoTextureUnitElement(SoInt32Element): - """Proxy of C++ SoTextureUnitElement class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureUnitElement_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getClassStackIndex(*args): - """getClassStackIndex() -> int""" - return _coin.SoTextureUnitElement_getClassStackIndex(*args) - - getClassStackIndex = staticmethod(getClassStackIndex) - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTextureUnitElement_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTextureUnitElement_initClass(*args) - - initClass = staticmethod(initClass) - def init(*args): - """init(self, SoState state)""" - return _coin.SoTextureUnitElement_init(*args) - - def set(*args): - """set(SoState state, SoNode node, int units)""" - return _coin.SoTextureUnitElement_set(*args) - - set = staticmethod(set) - def get(*args): - """get(SoState state) -> int""" - return _coin.SoTextureUnitElement_get(*args) - - get = staticmethod(get) -SoTextureUnitElement_swigregister = _coin.SoTextureUnitElement_swigregister -SoTextureUnitElement_swigregister(SoTextureUnitElement) - -def SoTextureUnitElement_getClassTypeId(*args): - """SoTextureUnitElement_getClassTypeId() -> SoType""" - return _coin.SoTextureUnitElement_getClassTypeId(*args) - -def SoTextureUnitElement_getClassStackIndex(*args): - """SoTextureUnitElement_getClassStackIndex() -> int""" - return _coin.SoTextureUnitElement_getClassStackIndex(*args) - -def SoTextureUnitElement_createInstance(*args): - """SoTextureUnitElement_createInstance() -> void""" - return _coin.SoTextureUnitElement_createInstance(*args) - -def SoTextureUnitElement_initClass(*args): - """SoTextureUnitElement_initClass()""" - return _coin.SoTextureUnitElement_initClass(*args) - -def SoTextureUnitElement_set(*args): - """SoTextureUnitElement_set(SoState state, SoNode node, int units)""" - return _coin.SoTextureUnitElement_set(*args) - -def SoTextureUnitElement_get(*args): - """SoTextureUnitElement_get(SoState state) -> int""" - return _coin.SoTextureUnitElement_get(*args) - -class SoEngine(SoFieldContainer): - """Proxy of C++ SoEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoEngine_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoEngine_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def evaluateWrapper(*args): - """evaluateWrapper(self)""" - return _coin.SoEngine_evaluateWrapper(*args) - - def getOutputs(*args): - """getOutputs(self, SoEngineOutputList l) -> int""" - return _coin.SoEngine_getOutputs(*args) - - def getOutput(*args): - """getOutput(self, SbName outputname) -> SoEngineOutput""" - return _coin.SoEngine_getOutput(*args) - - def getOutputName(*args): - """getOutputName(self, SoEngineOutput output, SbName outputname) -> SbBool""" - return _coin.SoEngine_getOutputName(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoEngine_getOutputData(*args) - - def getByName(*args): - """ - getByName(SbName name) -> SoEngine - getByName(SbName name, SoEngineList el) -> int - """ - return _coin.SoEngine_getByName(*args) - - getByName = staticmethod(getByName) - def isNotifying(*args): - """isNotifying(self) -> SbBool""" - return _coin.SoEngine_isNotifying(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoEngine_notify(*args) - - def copy(*args): - """copy(self) -> SoEngine""" - return _coin.SoEngine_copy(*args) - - def copyThroughConnection(*args): - """copyThroughConnection(self) -> SoFieldContainer""" - return _coin.SoEngine_copyThroughConnection(*args) - - def shouldCopy(*args): - """shouldCopy(self) -> SbBool""" - return _coin.SoEngine_shouldCopy(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoEngine_writeInstance(*args) - - def __getattr__(self, name): - try: - return SoFieldContainer.__getattr__(self, name) - except AttributeError, e: - out = self.getOutput(SbName(name)) - if out is None: - raise e - return out - - def __setattr__(self,name,value): - if name == 'this': - return SoFieldContainer.__setattr__(self, name, value) - out = self.getOutput(SbName(name)) - if out is None: - return SoFieldContainer.__setattr__(self, name, value) - raise AttributeError('Cannot set output %s on engine %s' %(name,self.__class__.__name__)) - - -SoEngine_swigregister = _coin.SoEngine_swigregister -SoEngine_swigregister(SoEngine) - -def SoEngine_initClass(*args): - """SoEngine_initClass()""" - return _coin.SoEngine_initClass(*args) - -def SoEngine_initClasses(*args): - """SoEngine_initClasses()""" - return _coin.SoEngine_initClasses(*args) - -def SoEngine_getClassTypeId(*args): - """SoEngine_getClassTypeId() -> SoType""" - return _coin.SoEngine_getClassTypeId(*args) - -def SoEngine_getByName(*args): - """ - getByName(SbName name) -> SoEngine - SoEngine_getByName(SbName name, SoEngineList el) -> int - """ - return _coin.SoEngine_getByName(*args) - -class SoEngineOutput(object): - """Proxy of C++ SoEngineOutput class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoEngineOutput""" - this = _coin.new_SoEngineOutput(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineOutput - __del__ = lambda self : None; - def getConnectionType(*args): - """getConnectionType(self) -> SoType""" - return _coin.SoEngineOutput_getConnectionType(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList fl) -> int""" - return _coin.SoEngineOutput_getForwardConnections(*args) - - def enable(*args): - """enable(self, SbBool flag)""" - return _coin.SoEngineOutput_enable(*args) - - def isEnabled(*args): - """isEnabled(self) -> SbBool""" - return _coin.SoEngineOutput_isEnabled(*args) - - def getContainer(*args): - """getContainer(self) -> SoEngine""" - return _coin.SoEngineOutput_getContainer(*args) - - def getNodeContainer(*args): - """getNodeContainer(self) -> SoNodeEngine""" - return _coin.SoEngineOutput_getNodeContainer(*args) - - def isNodeEngineOutput(*args): - """isNodeEngineOutput(self) -> SbBool""" - return _coin.SoEngineOutput_isNodeEngineOutput(*args) - - def setContainer(*args): - """setContainer(self, SoEngine engine)""" - return _coin.SoEngineOutput_setContainer(*args) - - def setNodeContainer(*args): - """setNodeContainer(self, SoNodeEngine nodeengine)""" - return _coin.SoEngineOutput_setNodeContainer(*args) - - def addConnection(*args): - """addConnection(self, SoField f)""" - return _coin.SoEngineOutput_addConnection(*args) - - def removeConnection(*args): - """removeConnection(self, SoField f)""" - return _coin.SoEngineOutput_removeConnection(*args) - - def getNumConnections(*args): - """getNumConnections(self) -> int""" - return _coin.SoEngineOutput_getNumConnections(*args) - - def prepareToWrite(*args): - """prepareToWrite(self)""" - return _coin.SoEngineOutput_prepareToWrite(*args) - - def doneWriting(*args): - """doneWriting(self)""" - return _coin.SoEngineOutput_doneWriting(*args) - - def touchSlaves(*args): - """touchSlaves(self, SoNotList nl, SbBool donotify)""" - return _coin.SoEngineOutput_touchSlaves(*args) - - def getFieldContainer(*args): - """getFieldContainer(self) -> SoFieldContainer""" - return _coin.SoEngineOutput_getFieldContainer(*args) - -SoEngineOutput_swigregister = _coin.SoEngineOutput_swigregister -SoEngineOutput_swigregister(SoEngineOutput) - -class SoEngineOutputData(object): - """Proxy of C++ SoEngineOutputData class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoEngineOutputData - __init__(self, SoEngineOutputData data) -> SoEngineOutputData - __init__(self, int approxnum) -> SoEngineOutputData - """ - this = _coin.new_SoEngineOutputData(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoEngineOutputData - __del__ = lambda self : None; - def addOutput(*args): - """ - addOutput(self, SoEngine base, char name, SoEngineOutput output, SoType type) - addOutput(self, SoNodeEngine base, char name, SoEngineOutput output, - SoType type) - """ - return _coin.SoEngineOutputData_addOutput(*args) - - def getNumOutputs(*args): - """getNumOutputs(self) -> int""" - return _coin.SoEngineOutputData_getNumOutputs(*args) - - def getOutputName(*args): - """getOutputName(self, int index) -> SbName""" - return _coin.SoEngineOutputData_getOutputName(*args) - - def getOutput(*args): - """ - getOutput(self, SoEngine engine, int index) -> SoEngineOutput - getOutput(self, SoNodeEngine engine, int index) -> SoEngineOutput - """ - return _coin.SoEngineOutputData_getOutput(*args) - - def getIndex(*args): - """ - getIndex(self, SoEngine engine, SoEngineOutput output) -> int - getIndex(self, SoNodeEngine engine, SoEngineOutput output) -> int - """ - return _coin.SoEngineOutputData_getIndex(*args) - - def getType(*args): - """getType(self, int index) -> SoType""" - return _coin.SoEngineOutputData_getType(*args) - - def readDescriptions(*args): - """readDescriptions(self, SoInput in, SoEngine engine) -> SbBool""" - return _coin.SoEngineOutputData_readDescriptions(*args) - - def writeDescriptions(*args): - """writeDescriptions(self, SoOutput out, SoEngine engine)""" - return _coin.SoEngineOutputData_writeDescriptions(*args) - -SoEngineOutputData_swigregister = _coin.SoEngineOutputData_swigregister -SoEngineOutputData_swigregister(SoEngineOutputData) - -class SoMFBool(SoMField): - """Proxy of C++ SoMFBool class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFBool""" - this = _coin.new_SoMFBool(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFBool - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFBool_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFBool_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFBool_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFBool_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFBool_isSame(*args) - - def find(*args): - """ - find(self, SbBool value, SbBool addifnotfound=0) -> int - find(self, SbBool value) -> int - """ - return _coin.SoMFBool_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFBool): - val = args[1].getValues() - return _coin.SoMFBool_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFBool_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFBool): - val = args[2].getValues() - return _coin.SoMFBool_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFBool_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFBool_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbBool value)""" - return _coin.SoMFBool_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFBool field) -> SbBool""" - return _coin.SoMFBool___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFBool field) -> SbBool""" - return _coin.SoMFBool___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbBool""" - return _coin.SoMFBool_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFBool_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbBool userdata) - setValuesPointer(self, int num, SbBool userdata) - """ - return _coin.SoMFBool_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFBool_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBool value) - setValue(self, SoMFBool other) - """ - return _coin.SoMFBool_setValue(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbBool""" - return _coin.SoMFBool___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbBool value)""" - return _coin.SoMFBool___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbBool - getValues(self, int len) -> SbBool - """ - return _coin.SoMFBool_getValues(*args) - -SoMFBool_swigregister = _coin.SoMFBool_swigregister -SoMFBool_swigregister(SoMFBool) - -def SoMFBool_createInstance(*args): - """SoMFBool_createInstance() -> void""" - return _coin.SoMFBool_createInstance(*args) - -def SoMFBool_getClassTypeId(*args): - """SoMFBool_getClassTypeId() -> SoType""" - return _coin.SoMFBool_getClassTypeId(*args) - -def SoMFBool_initClass(*args): - """SoMFBool_initClass()""" - return _coin.SoMFBool_initClass(*args) - -class SoMFEnum(SoMField): - """Proxy of C++ SoMFEnum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFEnum""" - this = _coin.new_SoMFEnum(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFEnum - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFEnum_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFEnum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFEnum_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFEnum_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFEnum_isSame(*args) - - def find(*args): - """ - find(self, int value, SbBool addifnotfound=0) -> int - find(self, int value) -> int - """ - return _coin.SoMFEnum_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFEnum): - val = args[1].getValues() - return _coin.SoMFEnum_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFEnum_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFEnum): - val = args[2].getValues() - return _coin.SoMFEnum_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFEnum_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFEnum_setValues(*args) - - - def __eq__(*args): - """__eq__(self, SoMFEnum field) -> SbBool""" - return _coin.SoMFEnum___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFEnum field) -> SbBool""" - return _coin.SoMFEnum___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> int""" - return _coin.SoMFEnum_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFEnum_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFEnum_initClass(*args) - - initClass = staticmethod(initClass) - def set1Value(*args): - """ - set1Value(self, int idx, int value) - set1Value(self, int idx, SbName name) - """ - return _coin.SoMFEnum_set1Value(*args) - - def setEnums(*args): - """setEnums(self, int num, int values, SbName names)""" - return _coin.SoMFEnum_setEnums(*args) - - def getNumEnums(*args): - """getNumEnums(self) -> int""" - return _coin.SoMFEnum_getNumEnums(*args) - - def getEnum(*args): - """getEnum(self, int idx, SbName name) -> int""" - return _coin.SoMFEnum_getEnum(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> int""" - return _coin.SoMFEnum___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int value)""" - return _coin.SoMFEnum___setitem__(*args) - - def setValue(*args): - """ - setValue(self, int value) - setValue(self, SbName name) - setValue(self, SoMFEnum other) - """ - return _coin.SoMFEnum_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> int - getValues(self, int len) -> int - """ - return _coin.SoMFEnum_getValues(*args) - -SoMFEnum_swigregister = _coin.SoMFEnum_swigregister -SoMFEnum_swigregister(SoMFEnum) - -def SoMFEnum_createInstance(*args): - """SoMFEnum_createInstance() -> void""" - return _coin.SoMFEnum_createInstance(*args) - -def SoMFEnum_getClassTypeId(*args): - """SoMFEnum_getClassTypeId() -> SoType""" - return _coin.SoMFEnum_getClassTypeId(*args) - -def SoMFEnum_initClass(*args): - """SoMFEnum_initClass()""" - return _coin.SoMFEnum_initClass(*args) - -class SoBoolOperation(SoEngine): - """Proxy of C++ SoBoolOperation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBoolOperation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBoolOperation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoBoolOperation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoBoolOperation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoBoolOperation_createInstance(*args) - - createInstance = staticmethod(createInstance) - CLEAR = _coin.SoBoolOperation_CLEAR - SET = _coin.SoBoolOperation_SET - A = _coin.SoBoolOperation_A - NOT_A = _coin.SoBoolOperation_NOT_A - B = _coin.SoBoolOperation_B - NOT_B = _coin.SoBoolOperation_NOT_B - A_OR_B = _coin.SoBoolOperation_A_OR_B - NOT_A_OR_B = _coin.SoBoolOperation_NOT_A_OR_B - A_OR_NOT_B = _coin.SoBoolOperation_A_OR_NOT_B - NOT_A_OR_NOT_B = _coin.SoBoolOperation_NOT_A_OR_NOT_B - A_AND_B = _coin.SoBoolOperation_A_AND_B - NOT_A_AND_B = _coin.SoBoolOperation_NOT_A_AND_B - A_AND_NOT_B = _coin.SoBoolOperation_A_AND_NOT_B - NOT_A_AND_NOT_B = _coin.SoBoolOperation_NOT_A_AND_NOT_B - A_EQUALS_B = _coin.SoBoolOperation_A_EQUALS_B - A_NOT_EQUALS_B = _coin.SoBoolOperation_A_NOT_EQUALS_B - a = _swig_property(_coin.SoBoolOperation_a_get, _coin.SoBoolOperation_a_set) - b = _swig_property(_coin.SoBoolOperation_b_get, _coin.SoBoolOperation_b_set) - operation = _swig_property(_coin.SoBoolOperation_operation_get, _coin.SoBoolOperation_operation_set) - output = _swig_property(_coin.SoBoolOperation_output_get, _coin.SoBoolOperation_output_set) - inverse = _swig_property(_coin.SoBoolOperation_inverse_get, _coin.SoBoolOperation_inverse_set) - def __init__(self, *args): - """__init__(self) -> SoBoolOperation""" - this = _coin.new_SoBoolOperation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoBoolOperation_initClass(*args) - - initClass = staticmethod(initClass) -SoBoolOperation_swigregister = _coin.SoBoolOperation_swigregister -SoBoolOperation_swigregister(SoBoolOperation) - -def SoBoolOperation_getClassTypeId(*args): - """SoBoolOperation_getClassTypeId() -> SoType""" - return _coin.SoBoolOperation_getClassTypeId(*args) - -def SoBoolOperation_createInstance(*args): - """SoBoolOperation_createInstance() -> void""" - return _coin.SoBoolOperation_createInstance(*args) - -def SoBoolOperation_initClass(*args): - """SoBoolOperation_initClass()""" - return _coin.SoBoolOperation_initClass(*args) - -class SoMFFloat(SoMField): - """Proxy of C++ SoMFFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFFloat""" - this = _coin.new_SoMFFloat(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFFloat - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFFloat_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFFloat_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFFloat_isSame(*args) - - def find(*args): - """ - find(self, float value, SbBool addifnotfound=0) -> int - find(self, float value) -> int - """ - return _coin.SoMFFloat_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFFloat): - val = args[1].getValues() - return _coin.SoMFFloat_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFFloat_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFFloat): - val = args[2].getValues() - return _coin.SoMFFloat_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFFloat_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFFloat_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, float value)""" - return _coin.SoMFFloat_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFFloat field) -> SbBool""" - return _coin.SoMFFloat___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFFloat field) -> SbBool""" - return _coin.SoMFFloat___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> float""" - return _coin.SoMFFloat_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFFloat_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFFloat_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFFloat_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> float""" - return _coin.SoMFFloat___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, float value)""" - return _coin.SoMFFloat___setitem__(*args) - - def setValue(*args): - """ - setValue(self, float value) - setValue(self, SoMFFloat other) - """ - return _coin.SoMFFloat_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> float - getValues(self, int len) -> float - """ - return _coin.SoMFFloat_getValues(*args) - -SoMFFloat_swigregister = _coin.SoMFFloat_swigregister -SoMFFloat_swigregister(SoMFFloat) - -def SoMFFloat_createInstance(*args): - """SoMFFloat_createInstance() -> void""" - return _coin.SoMFFloat_createInstance(*args) - -def SoMFFloat_getClassTypeId(*args): - """SoMFFloat_getClassTypeId() -> SoType""" - return _coin.SoMFFloat_getClassTypeId(*args) - -def SoMFFloat_initClass(*args): - """SoMFFloat_initClass()""" - return _coin.SoMFFloat_initClass(*args) - -class SoMFVec3f(SoMField): - """Proxy of C++ SoMFVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3f""" - this = _coin.new_SoMFVec3f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3f_isSame(*args) - - def find(*args): - """ - find(self, SbVec3f value, SbBool addifnotfound=0) -> int - find(self, SbVec3f value) -> int - """ - return _coin.SoMFVec3f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3f field) -> SbBool""" - return _coin.SoMFVec3f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3f field) -> SbBool""" - return _coin.SoMFVec3f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3f""" - return _coin.SoMFVec3f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, SbVec3f userdata) - setValuesPointer(self, int num, SbVec3f userdata) - """ - return _coin.SoMFVec3f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec3f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec3f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec3f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3f value) - set1Value(self, int idx, float x, float y, float z) - set1Value(self, int idx, float xyz) - """ - return _coin.SoMFVec3f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3f""" - return _coin.SoMFVec3f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3f value)""" - return _coin.SoMFVec3f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec3f value) - setValue(self, float x, float y, float z) - setValue(self, float xyz) - setValue(self, SoMFVec3f other) - """ - return _coin.SoMFVec3f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec3f - getValues(self, int len) -> SbVec3f - """ - return _coin.SoMFVec3f_getValues(*args) - -SoMFVec3f_swigregister = _coin.SoMFVec3f_swigregister -SoMFVec3f_swigregister(SoMFVec3f) - -def SoMFVec3f_createInstance(*args): - """SoMFVec3f_createInstance() -> void""" - return _coin.SoMFVec3f_createInstance(*args) - -def SoMFVec3f_getClassTypeId(*args): - """SoMFVec3f_getClassTypeId() -> SoType""" - return _coin.SoMFVec3f_getClassTypeId(*args) - -def SoMFVec3f_initClass(*args): - """SoMFVec3f_initClass()""" - return _coin.SoMFVec3f_initClass(*args) - -class SoMFString(SoMField): - """Proxy of C++ SoMFString class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFString""" - this = _coin.new_SoMFString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFString - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFString_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFString_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFString_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFString_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFString_isSame(*args) - - def find(*args): - """ - find(self, SbString value, SbBool addifnotfound=0) -> int - find(self, SbString value) -> int - """ - return _coin.SoMFString_find(*args) - - def set1Value(*args): - """set1Value(self, int idx, SbString value)""" - return _coin.SoMFString_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFString field) -> SbBool""" - return _coin.SoMFString___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFString field) -> SbBool""" - return _coin.SoMFString___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbString""" - return _coin.SoMFString_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFString_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFString_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFString_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFString_setValues(args[0], args[1], len(args[2]), args[2]) - return _coin.SoMFString_setValues(*args) - - - def deleteText(*args): - """deleteText(self, int fromline, int fromchar, int toline, int tochar)""" - return _coin.SoMFString_deleteText(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbString""" - return _coin.SoMFString___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbString value)""" - return _coin.SoMFString___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbString value) - setValue(self, char string) - setValue(self, SoMFString other) - """ - return _coin.SoMFString_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbString - getValues(self, int len) -> SbString - """ - return _coin.SoMFString_getValues(*args) - -SoMFString_swigregister = _coin.SoMFString_swigregister -SoMFString_swigregister(SoMFString) - -def SoMFString_createInstance(*args): - """SoMFString_createInstance() -> void""" - return _coin.SoMFString_createInstance(*args) - -def SoMFString_getClassTypeId(*args): - """SoMFString_getClassTypeId() -> SoType""" - return _coin.SoMFString_getClassTypeId(*args) - -def SoMFString_initClass(*args): - """SoMFString_initClass()""" - return _coin.SoMFString_initClass(*args) - -class SoCalculator(SoEngine): - """Proxy of C++ SoCalculator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCalculator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCalculator_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoCalculator_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoCalculator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCalculator_createInstance(*args) - - createInstance = staticmethod(createInstance) - a = _swig_property(_coin.SoCalculator_a_get, _coin.SoCalculator_a_set) - b = _swig_property(_coin.SoCalculator_b_get, _coin.SoCalculator_b_set) - c = _swig_property(_coin.SoCalculator_c_get, _coin.SoCalculator_c_set) - d = _swig_property(_coin.SoCalculator_d_get, _coin.SoCalculator_d_set) - e = _swig_property(_coin.SoCalculator_e_get, _coin.SoCalculator_e_set) - f = _swig_property(_coin.SoCalculator_f_get, _coin.SoCalculator_f_set) - g = _swig_property(_coin.SoCalculator_g_get, _coin.SoCalculator_g_set) - h = _swig_property(_coin.SoCalculator_h_get, _coin.SoCalculator_h_set) - A = _swig_property(_coin.SoCalculator_A_get, _coin.SoCalculator_A_set) - B = _swig_property(_coin.SoCalculator_B_get, _coin.SoCalculator_B_set) - C = _swig_property(_coin.SoCalculator_C_get, _coin.SoCalculator_C_set) - D = _swig_property(_coin.SoCalculator_D_get, _coin.SoCalculator_D_set) - E = _swig_property(_coin.SoCalculator_E_get, _coin.SoCalculator_E_set) - F = _swig_property(_coin.SoCalculator_F_get, _coin.SoCalculator_F_set) - G = _swig_property(_coin.SoCalculator_G_get, _coin.SoCalculator_G_set) - H = _swig_property(_coin.SoCalculator_H_get, _coin.SoCalculator_H_set) - expression = _swig_property(_coin.SoCalculator_expression_get, _coin.SoCalculator_expression_set) - oa = _swig_property(_coin.SoCalculator_oa_get, _coin.SoCalculator_oa_set) - ob = _swig_property(_coin.SoCalculator_ob_get, _coin.SoCalculator_ob_set) - oc = _swig_property(_coin.SoCalculator_oc_get, _coin.SoCalculator_oc_set) - od = _swig_property(_coin.SoCalculator_od_get, _coin.SoCalculator_od_set) - oA = _swig_property(_coin.SoCalculator_oA_get, _coin.SoCalculator_oA_set) - oB = _swig_property(_coin.SoCalculator_oB_get, _coin.SoCalculator_oB_set) - oC = _swig_property(_coin.SoCalculator_oC_get, _coin.SoCalculator_oC_set) - oD = _swig_property(_coin.SoCalculator_oD_get, _coin.SoCalculator_oD_set) - def __init__(self, *args): - """__init__(self) -> SoCalculator""" - this = _coin.new_SoCalculator(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoCalculator_initClass(*args) - - initClass = staticmethod(initClass) -SoCalculator_swigregister = _coin.SoCalculator_swigregister -SoCalculator_swigregister(SoCalculator) - -def SoCalculator_getClassTypeId(*args): - """SoCalculator_getClassTypeId() -> SoType""" - return _coin.SoCalculator_getClassTypeId(*args) - -def SoCalculator_createInstance(*args): - """SoCalculator_createInstance() -> void""" - return _coin.SoCalculator_createInstance(*args) - -def SoCalculator_initClass(*args): - """SoCalculator_initClass()""" - return _coin.SoCalculator_initClass(*args) - -class SoMFVec2f(SoMField): - """Proxy of C++ SoMFVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec2f""" - this = _coin.new_SoMFVec2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec2f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec2f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec2f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec2f_isSame(*args) - - def find(*args): - """ - find(self, SbVec2f value, SbBool addifnotfound=0) -> int - find(self, SbVec2f value) -> int - """ - return _coin.SoMFVec2f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec2f field) -> SbBool""" - return _coin.SoMFVec2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec2f field) -> SbBool""" - return _coin.SoMFVec2f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec2f""" - return _coin.SoMFVec2f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec2f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, SbVec2f userdata) - setValuesPointer(self, int num, SbVec2f userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - """ - return _coin.SoMFVec2f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec2f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec2f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec2f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec2f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec2f value) - set1Value(self, int idx, float x, float y) - set1Value(self, int idx, float xy) - """ - return _coin.SoMFVec2f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec2f""" - return _coin.SoMFVec2f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec2f value)""" - return _coin.SoMFVec2f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec2f value) - setValue(self, float x, float y) - setValue(self, float xy) - setValue(self, SoMFVec2f other) - """ - return _coin.SoMFVec2f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec2f - getValues(self, int len) -> SbVec2f - """ - return _coin.SoMFVec2f_getValues(*args) - -SoMFVec2f_swigregister = _coin.SoMFVec2f_swigregister -SoMFVec2f_swigregister(SoMFVec2f) - -def SoMFVec2f_createInstance(*args): - """SoMFVec2f_createInstance() -> void""" - return _coin.SoMFVec2f_createInstance(*args) - -def SoMFVec2f_getClassTypeId(*args): - """SoMFVec2f_getClassTypeId() -> SoType""" - return _coin.SoMFVec2f_getClassTypeId(*args) - -def SoMFVec2f_initClass(*args): - """SoMFVec2f_initClass()""" - return _coin.SoMFVec2f_initClass(*args) - -class SoComposeVec2f(SoEngine): - """Proxy of C++ SoComposeVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec2f""" - this = _coin.new_SoComposeVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec2f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec2f_x_get, _coin.SoComposeVec2f_x_set) - y = _swig_property(_coin.SoComposeVec2f_y_get, _coin.SoComposeVec2f_y_set) - vector = _swig_property(_coin.SoComposeVec2f_vector_get, _coin.SoComposeVec2f_vector_set) -SoComposeVec2f_swigregister = _coin.SoComposeVec2f_swigregister -SoComposeVec2f_swigregister(SoComposeVec2f) - -def SoComposeVec2f_getClassTypeId(*args): - """SoComposeVec2f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec2f_getClassTypeId(*args) - -def SoComposeVec2f_createInstance(*args): - """SoComposeVec2f_createInstance() -> void""" - return _coin.SoComposeVec2f_createInstance(*args) - -def SoComposeVec2f_initClass(*args): - """SoComposeVec2f_initClass()""" - return _coin.SoComposeVec2f_initClass(*args) - -class SoComposeVec3f(SoEngine): - """Proxy of C++ SoComposeVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec3f""" - this = _coin.new_SoComposeVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec3f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec3f_x_get, _coin.SoComposeVec3f_x_set) - y = _swig_property(_coin.SoComposeVec3f_y_get, _coin.SoComposeVec3f_y_set) - z = _swig_property(_coin.SoComposeVec3f_z_get, _coin.SoComposeVec3f_z_set) - vector = _swig_property(_coin.SoComposeVec3f_vector_get, _coin.SoComposeVec3f_vector_set) -SoComposeVec3f_swigregister = _coin.SoComposeVec3f_swigregister -SoComposeVec3f_swigregister(SoComposeVec3f) - -def SoComposeVec3f_getClassTypeId(*args): - """SoComposeVec3f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec3f_getClassTypeId(*args) - -def SoComposeVec3f_createInstance(*args): - """SoComposeVec3f_createInstance() -> void""" - return _coin.SoComposeVec3f_createInstance(*args) - -def SoComposeVec3f_initClass(*args): - """SoComposeVec3f_initClass()""" - return _coin.SoComposeVec3f_initClass(*args) - -class SoMFVec4f(SoMField): - """Proxy of C++ SoMFVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec4f""" - this = _coin.new_SoMFVec4f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec4f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec4f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec4f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec4f_isSame(*args) - - def find(*args): - """ - find(self, SbVec4f value, SbBool addifnotfound=0) -> int - find(self, SbVec4f value) -> int - """ - return _coin.SoMFVec4f_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec4f field) -> SbBool""" - return _coin.SoMFVec4f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec4f field) -> SbBool""" - return _coin.SoMFVec4f___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec4f""" - return _coin.SoMFVec4f_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec4f_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, SbVec4f userdata) - setValuesPointer(self, int num, SbVec4f userdata) - """ - return _coin.SoMFVec4f_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec4f_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec4f_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec4f_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec4f_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec4f value) - set1Value(self, int idx, float x, float y, float z, float w) - set1Value(self, int idx, float xyzw) - """ - return _coin.SoMFVec4f_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec4f""" - return _coin.SoMFVec4f___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec4f value)""" - return _coin.SoMFVec4f___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec4f value) - setValue(self, float x, float y, float z, float w) - setValue(self, float xyzw) - setValue(self, SoMFVec4f other) - """ - return _coin.SoMFVec4f_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec4f - getValues(self, int len) -> SbVec4f - """ - return _coin.SoMFVec4f_getValues(*args) - -SoMFVec4f_swigregister = _coin.SoMFVec4f_swigregister -SoMFVec4f_swigregister(SoMFVec4f) - -def SoMFVec4f_createInstance(*args): - """SoMFVec4f_createInstance() -> void""" - return _coin.SoMFVec4f_createInstance(*args) - -def SoMFVec4f_getClassTypeId(*args): - """SoMFVec4f_getClassTypeId() -> SoType""" - return _coin.SoMFVec4f_getClassTypeId(*args) - -def SoMFVec4f_initClass(*args): - """SoMFVec4f_initClass()""" - return _coin.SoMFVec4f_initClass(*args) - -class SoComposeVec4f(SoEngine): - """Proxy of C++ SoComposeVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeVec4f""" - this = _coin.new_SoComposeVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeVec4f_initClass(*args) - - initClass = staticmethod(initClass) - x = _swig_property(_coin.SoComposeVec4f_x_get, _coin.SoComposeVec4f_x_set) - y = _swig_property(_coin.SoComposeVec4f_y_get, _coin.SoComposeVec4f_y_set) - z = _swig_property(_coin.SoComposeVec4f_z_get, _coin.SoComposeVec4f_z_set) - w = _swig_property(_coin.SoComposeVec4f_w_get, _coin.SoComposeVec4f_w_set) - vector = _swig_property(_coin.SoComposeVec4f_vector_get, _coin.SoComposeVec4f_vector_set) -SoComposeVec4f_swigregister = _coin.SoComposeVec4f_swigregister -SoComposeVec4f_swigregister(SoComposeVec4f) - -def SoComposeVec4f_getClassTypeId(*args): - """SoComposeVec4f_getClassTypeId() -> SoType""" - return _coin.SoComposeVec4f_getClassTypeId(*args) - -def SoComposeVec4f_createInstance(*args): - """SoComposeVec4f_createInstance() -> void""" - return _coin.SoComposeVec4f_createInstance(*args) - -def SoComposeVec4f_initClass(*args): - """SoComposeVec4f_initClass()""" - return _coin.SoComposeVec4f_initClass(*args) - -class SoDecomposeVec2f(SoEngine): - """Proxy of C++ SoDecomposeVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec2f""" - this = _coin.new_SoDecomposeVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec2f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec2f_vector_get, _coin.SoDecomposeVec2f_vector_set) - x = _swig_property(_coin.SoDecomposeVec2f_x_get, _coin.SoDecomposeVec2f_x_set) - y = _swig_property(_coin.SoDecomposeVec2f_y_get, _coin.SoDecomposeVec2f_y_set) -SoDecomposeVec2f_swigregister = _coin.SoDecomposeVec2f_swigregister -SoDecomposeVec2f_swigregister(SoDecomposeVec2f) - -def SoDecomposeVec2f_getClassTypeId(*args): - """SoDecomposeVec2f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec2f_getClassTypeId(*args) - -def SoDecomposeVec2f_createInstance(*args): - """SoDecomposeVec2f_createInstance() -> void""" - return _coin.SoDecomposeVec2f_createInstance(*args) - -def SoDecomposeVec2f_initClass(*args): - """SoDecomposeVec2f_initClass()""" - return _coin.SoDecomposeVec2f_initClass(*args) - -class SoDecomposeVec3f(SoEngine): - """Proxy of C++ SoDecomposeVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec3f""" - this = _coin.new_SoDecomposeVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec3f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec3f_vector_get, _coin.SoDecomposeVec3f_vector_set) - x = _swig_property(_coin.SoDecomposeVec3f_x_get, _coin.SoDecomposeVec3f_x_set) - y = _swig_property(_coin.SoDecomposeVec3f_y_get, _coin.SoDecomposeVec3f_y_set) - z = _swig_property(_coin.SoDecomposeVec3f_z_get, _coin.SoDecomposeVec3f_z_set) -SoDecomposeVec3f_swigregister = _coin.SoDecomposeVec3f_swigregister -SoDecomposeVec3f_swigregister(SoDecomposeVec3f) - -def SoDecomposeVec3f_getClassTypeId(*args): - """SoDecomposeVec3f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec3f_getClassTypeId(*args) - -def SoDecomposeVec3f_createInstance(*args): - """SoDecomposeVec3f_createInstance() -> void""" - return _coin.SoDecomposeVec3f_createInstance(*args) - -def SoDecomposeVec3f_initClass(*args): - """SoDecomposeVec3f_initClass()""" - return _coin.SoDecomposeVec3f_initClass(*args) - -class SoDecomposeVec4f(SoEngine): - """Proxy of C++ SoDecomposeVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeVec4f""" - this = _coin.new_SoDecomposeVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeVec4f_initClass(*args) - - initClass = staticmethod(initClass) - vector = _swig_property(_coin.SoDecomposeVec4f_vector_get, _coin.SoDecomposeVec4f_vector_set) - x = _swig_property(_coin.SoDecomposeVec4f_x_get, _coin.SoDecomposeVec4f_x_set) - y = _swig_property(_coin.SoDecomposeVec4f_y_get, _coin.SoDecomposeVec4f_y_set) - z = _swig_property(_coin.SoDecomposeVec4f_z_get, _coin.SoDecomposeVec4f_z_set) - w = _swig_property(_coin.SoDecomposeVec4f_w_get, _coin.SoDecomposeVec4f_w_set) -SoDecomposeVec4f_swigregister = _coin.SoDecomposeVec4f_swigregister -SoDecomposeVec4f_swigregister(SoDecomposeVec4f) - -def SoDecomposeVec4f_getClassTypeId(*args): - """SoDecomposeVec4f_getClassTypeId() -> SoType""" - return _coin.SoDecomposeVec4f_getClassTypeId(*args) - -def SoDecomposeVec4f_createInstance(*args): - """SoDecomposeVec4f_createInstance() -> void""" - return _coin.SoDecomposeVec4f_createInstance(*args) - -def SoDecomposeVec4f_initClass(*args): - """SoDecomposeVec4f_initClass()""" - return _coin.SoDecomposeVec4f_initClass(*args) - -class SoComposeRotation(SoEngine): - """Proxy of C++ SoComposeRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeRotation""" - this = _coin.new_SoComposeRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeRotation_initClass(*args) - - initClass = staticmethod(initClass) - axis = _swig_property(_coin.SoComposeRotation_axis_get, _coin.SoComposeRotation_axis_set) - angle = _swig_property(_coin.SoComposeRotation_angle_get, _coin.SoComposeRotation_angle_set) - rotation = _swig_property(_coin.SoComposeRotation_rotation_get, _coin.SoComposeRotation_rotation_set) -SoComposeRotation_swigregister = _coin.SoComposeRotation_swigregister -SoComposeRotation_swigregister(SoComposeRotation) - -def SoComposeRotation_getClassTypeId(*args): - """SoComposeRotation_getClassTypeId() -> SoType""" - return _coin.SoComposeRotation_getClassTypeId(*args) - -def SoComposeRotation_createInstance(*args): - """SoComposeRotation_createInstance() -> void""" - return _coin.SoComposeRotation_createInstance(*args) - -def SoComposeRotation_initClass(*args): - """SoComposeRotation_initClass()""" - return _coin.SoComposeRotation_initClass(*args) - -class SoMFRotation(SoMField): - """Proxy of C++ SoMFRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFRotation""" - this = _coin.new_SoMFRotation(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFRotation - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFRotation_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFRotation_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFRotation_isSame(*args) - - def find(*args): - """ - find(self, SbRotation value, SbBool addifnotfound=0) -> int - find(self, SbRotation value) -> int - """ - return _coin.SoMFRotation_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFRotation field) -> SbBool""" - return _coin.SoMFRotation___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFRotation field) -> SbBool""" - return _coin.SoMFRotation___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbRotation""" - return _coin.SoMFRotation_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFRotation_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFRotation_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFRotation_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFRotation_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFRotation_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbRotation value) - set1Value(self, int idx, float q0, float q1, float q2, float q3) - set1Value(self, int idx, float q) - set1Value(self, int idx, SbVec3f axis, float angle) - """ - return _coin.SoMFRotation_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbRotation""" - return _coin.SoMFRotation___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbRotation value)""" - return _coin.SoMFRotation___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbRotation - getValues(self, int len) -> SbRotation - """ - return _coin.SoMFRotation_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbRotation value) - setValue(self, float q0, float q1, float q2, float q3) - setValue(self, float q) - setValue(self, SbVec3f axis, float angle) - setValue(self, SoMFRotation other) - """ - return _coin.SoMFRotation_setValue(*args) - -SoMFRotation_swigregister = _coin.SoMFRotation_swigregister -SoMFRotation_swigregister(SoMFRotation) - -def SoMFRotation_createInstance(*args): - """SoMFRotation_createInstance() -> void""" - return _coin.SoMFRotation_createInstance(*args) - -def SoMFRotation_getClassTypeId(*args): - """SoMFRotation_getClassTypeId() -> SoType""" - return _coin.SoMFRotation_getClassTypeId(*args) - -def SoMFRotation_initClass(*args): - """SoMFRotation_initClass()""" - return _coin.SoMFRotation_initClass(*args) - -class SoDecomposeRotation(SoEngine): - """Proxy of C++ SoDecomposeRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeRotation""" - this = _coin.new_SoDecomposeRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeRotation_initClass(*args) - - initClass = staticmethod(initClass) - rotation = _swig_property(_coin.SoDecomposeRotation_rotation_get, _coin.SoDecomposeRotation_rotation_set) - axis = _swig_property(_coin.SoDecomposeRotation_axis_get, _coin.SoDecomposeRotation_axis_set) - angle = _swig_property(_coin.SoDecomposeRotation_angle_get, _coin.SoDecomposeRotation_angle_set) -SoDecomposeRotation_swigregister = _coin.SoDecomposeRotation_swigregister -SoDecomposeRotation_swigregister(SoDecomposeRotation) - -def SoDecomposeRotation_getClassTypeId(*args): - """SoDecomposeRotation_getClassTypeId() -> SoType""" - return _coin.SoDecomposeRotation_getClassTypeId(*args) - -def SoDecomposeRotation_createInstance(*args): - """SoDecomposeRotation_createInstance() -> void""" - return _coin.SoDecomposeRotation_createInstance(*args) - -def SoDecomposeRotation_initClass(*args): - """SoDecomposeRotation_initClass()""" - return _coin.SoDecomposeRotation_initClass(*args) - -class SoComposeMatrix(SoEngine): - """Proxy of C++ SoComposeMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeMatrix_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeMatrix_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeMatrix_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeMatrix""" - this = _coin.new_SoComposeMatrix(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeMatrix_initClass(*args) - - initClass = staticmethod(initClass) - translation = _swig_property(_coin.SoComposeMatrix_translation_get, _coin.SoComposeMatrix_translation_set) - rotation = _swig_property(_coin.SoComposeMatrix_rotation_get, _coin.SoComposeMatrix_rotation_set) - scaleFactor = _swig_property(_coin.SoComposeMatrix_scaleFactor_get, _coin.SoComposeMatrix_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoComposeMatrix_scaleOrientation_get, _coin.SoComposeMatrix_scaleOrientation_set) - center = _swig_property(_coin.SoComposeMatrix_center_get, _coin.SoComposeMatrix_center_set) - matrix = _swig_property(_coin.SoComposeMatrix_matrix_get, _coin.SoComposeMatrix_matrix_set) -SoComposeMatrix_swigregister = _coin.SoComposeMatrix_swigregister -SoComposeMatrix_swigregister(SoComposeMatrix) - -def SoComposeMatrix_getClassTypeId(*args): - """SoComposeMatrix_getClassTypeId() -> SoType""" - return _coin.SoComposeMatrix_getClassTypeId(*args) - -def SoComposeMatrix_createInstance(*args): - """SoComposeMatrix_createInstance() -> void""" - return _coin.SoComposeMatrix_createInstance(*args) - -def SoComposeMatrix_initClass(*args): - """SoComposeMatrix_initClass()""" - return _coin.SoComposeMatrix_initClass(*args) - -class SoMFMatrix(SoMField): - """Proxy of C++ SoMFMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFMatrix""" - this = _coin.new_SoMFMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFMatrix - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFMatrix_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFMatrix_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFMatrix_isSame(*args) - - def find(*args): - """ - find(self, SbMatrix value, SbBool addifnotfound=0) -> int - find(self, SbMatrix value) -> int - """ - return _coin.SoMFMatrix_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFMatrix_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFMatrix_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFMatrix_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbMatrix value)""" - return _coin.SoMFMatrix_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFMatrix field) -> SbBool""" - return _coin.SoMFMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFMatrix field) -> SbBool""" - return _coin.SoMFMatrix___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbMatrix""" - return _coin.SoMFMatrix_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFMatrix_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFMatrix_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbMatrix""" - return _coin.SoMFMatrix___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbMatrix value)""" - return _coin.SoMFMatrix___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbMatrix - getValues(self, int len) -> SbMatrix - """ - return _coin.SoMFMatrix_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbMatrix value) - setValue(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) - setValue(self, SoMFMatrix other) - """ - return _coin.SoMFMatrix_setValue(*args) - -SoMFMatrix_swigregister = _coin.SoMFMatrix_swigregister -SoMFMatrix_swigregister(SoMFMatrix) - -def SoMFMatrix_createInstance(*args): - """SoMFMatrix_createInstance() -> void""" - return _coin.SoMFMatrix_createInstance(*args) - -def SoMFMatrix_getClassTypeId(*args): - """SoMFMatrix_getClassTypeId() -> SoType""" - return _coin.SoMFMatrix_getClassTypeId(*args) - -def SoMFMatrix_initClass(*args): - """SoMFMatrix_initClass()""" - return _coin.SoMFMatrix_initClass(*args) - -class SoDecomposeMatrix(SoEngine): - """Proxy of C++ SoDecomposeMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDecomposeMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDecomposeMatrix_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoDecomposeMatrix_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoDecomposeMatrix_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoDecomposeMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoDecomposeMatrix""" - this = _coin.new_SoDecomposeMatrix(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoDecomposeMatrix_initClass(*args) - - initClass = staticmethod(initClass) - matrix = _swig_property(_coin.SoDecomposeMatrix_matrix_get, _coin.SoDecomposeMatrix_matrix_set) - center = _swig_property(_coin.SoDecomposeMatrix_center_get, _coin.SoDecomposeMatrix_center_set) - translation = _swig_property(_coin.SoDecomposeMatrix_translation_get, _coin.SoDecomposeMatrix_translation_set) - rotation = _swig_property(_coin.SoDecomposeMatrix_rotation_get, _coin.SoDecomposeMatrix_rotation_set) - scaleFactor = _swig_property(_coin.SoDecomposeMatrix_scaleFactor_get, _coin.SoDecomposeMatrix_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoDecomposeMatrix_scaleOrientation_get, _coin.SoDecomposeMatrix_scaleOrientation_set) -SoDecomposeMatrix_swigregister = _coin.SoDecomposeMatrix_swigregister -SoDecomposeMatrix_swigregister(SoDecomposeMatrix) - -def SoDecomposeMatrix_getClassTypeId(*args): - """SoDecomposeMatrix_getClassTypeId() -> SoType""" - return _coin.SoDecomposeMatrix_getClassTypeId(*args) - -def SoDecomposeMatrix_createInstance(*args): - """SoDecomposeMatrix_createInstance() -> void""" - return _coin.SoDecomposeMatrix_createInstance(*args) - -def SoDecomposeMatrix_initClass(*args): - """SoDecomposeMatrix_initClass()""" - return _coin.SoDecomposeMatrix_initClass(*args) - -class SoComposeRotationFromTo(SoEngine): - """Proxy of C++ SoComposeRotationFromTo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComposeRotationFromTo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComposeRotationFromTo_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComposeRotationFromTo_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComposeRotationFromTo_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComposeRotationFromTo_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoComposeRotationFromTo""" - this = _coin.new_SoComposeRotationFromTo(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComposeRotationFromTo_initClass(*args) - - initClass = staticmethod(initClass) - srcFrom = _swig_property(_coin.SoComposeRotationFromTo_srcFrom_get, _coin.SoComposeRotationFromTo_srcFrom_set) - destTo = _swig_property(_coin.SoComposeRotationFromTo_destTo_get, _coin.SoComposeRotationFromTo_destTo_set) - rotation = _swig_property(_coin.SoComposeRotationFromTo_rotation_get, _coin.SoComposeRotationFromTo_rotation_set) -SoComposeRotationFromTo_swigregister = _coin.SoComposeRotationFromTo_swigregister -SoComposeRotationFromTo_swigregister(SoComposeRotationFromTo) - -def SoComposeRotationFromTo_getClassTypeId(*args): - """SoComposeRotationFromTo_getClassTypeId() -> SoType""" - return _coin.SoComposeRotationFromTo_getClassTypeId(*args) - -def SoComposeRotationFromTo_createInstance(*args): - """SoComposeRotationFromTo_createInstance() -> void""" - return _coin.SoComposeRotationFromTo_createInstance(*args) - -def SoComposeRotationFromTo_initClass(*args): - """SoComposeRotationFromTo_initClass()""" - return _coin.SoComposeRotationFromTo_initClass(*args) - -class SoSFPath(SoSField): - """Proxy of C++ SoSFPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFPath""" - this = _coin.new_SoSFPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFPath - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFPath_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFPath_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFPath_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFPath_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoPath""" - return _coin.SoSFPath_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFPath field) -> int""" - return _coin.SoSFPath___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFPath field) -> int""" - return _coin.SoSFPath___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFPath_initClass(*args) - - initClass = staticmethod(initClass) - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoSFPath_notify(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFPath_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFPath_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoPath newvalue) - setValue(self, SoSFPath other) - """ - return _coin.SoSFPath_setValue(*args) - -SoSFPath_swigregister = _coin.SoSFPath_swigregister -SoSFPath_swigregister(SoSFPath) - -def SoSFPath_createInstance(*args): - """SoSFPath_createInstance() -> void""" - return _coin.SoSFPath_createInstance(*args) - -def SoSFPath_getClassTypeId(*args): - """SoSFPath_getClassTypeId() -> SoType""" - return _coin.SoSFPath_getClassTypeId(*args) - -def SoSFPath_initClass(*args): - """SoSFPath_initClass()""" - return _coin.SoSFPath_initClass(*args) - -class SoComputeBoundingBox(SoEngine): - """Proxy of C++ SoComputeBoundingBox class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoComputeBoundingBox_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoComputeBoundingBox_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoComputeBoundingBox_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoComputeBoundingBox_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoComputeBoundingBox_createInstance(*args) - - createInstance = staticmethod(createInstance) - node = _swig_property(_coin.SoComputeBoundingBox_node_get, _coin.SoComputeBoundingBox_node_set) - path = _swig_property(_coin.SoComputeBoundingBox_path_get, _coin.SoComputeBoundingBox_path_set) - min = _swig_property(_coin.SoComputeBoundingBox_min_get, _coin.SoComputeBoundingBox_min_set) - max = _swig_property(_coin.SoComputeBoundingBox_max_get, _coin.SoComputeBoundingBox_max_set) - boxCenter = _swig_property(_coin.SoComputeBoundingBox_boxCenter_get, _coin.SoComputeBoundingBox_boxCenter_set) - objectCenter = _swig_property(_coin.SoComputeBoundingBox_objectCenter_get, _coin.SoComputeBoundingBox_objectCenter_set) - def __init__(self, *args): - """__init__(self) -> SoComputeBoundingBox""" - this = _coin.new_SoComputeBoundingBox(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoComputeBoundingBox_initClass(*args) - - initClass = staticmethod(initClass) - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion vpr)""" - return _coin.SoComputeBoundingBox_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoComputeBoundingBox_getViewportRegion(*args) - -SoComputeBoundingBox_swigregister = _coin.SoComputeBoundingBox_swigregister -SoComputeBoundingBox_swigregister(SoComputeBoundingBox) - -def SoComputeBoundingBox_getClassTypeId(*args): - """SoComputeBoundingBox_getClassTypeId() -> SoType""" - return _coin.SoComputeBoundingBox_getClassTypeId(*args) - -def SoComputeBoundingBox_createInstance(*args): - """SoComputeBoundingBox_createInstance() -> void""" - return _coin.SoComputeBoundingBox_createInstance(*args) - -def SoComputeBoundingBox_initClass(*args): - """SoComputeBoundingBox_initClass()""" - return _coin.SoComputeBoundingBox_initClass(*args) - -class SoConcatenate(SoEngine): - """Proxy of C++ SoConcatenate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoConcatenate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoConcatenate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoConcatenate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoConcatenate_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoConcatenate_createInstance(*args) - - createInstance = staticmethod(createInstance) - NUMINPUTS = _coin.SoConcatenate_NUMINPUTS - def initClass(*args): - """initClass()""" - return _coin.SoConcatenate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoType inputType) -> SoConcatenate""" - this = _coin.new_SoConcatenate(*args) - try: self.this.append(this) - except: self.this = this - input = _swig_property(_coin.SoConcatenate_input_get, _coin.SoConcatenate_input_set) - output = _swig_property(_coin.SoConcatenate_output_get, _coin.SoConcatenate_output_set) -SoConcatenate_swigregister = _coin.SoConcatenate_swigregister -SoConcatenate_swigregister(SoConcatenate) - -def SoConcatenate_getClassTypeId(*args): - """SoConcatenate_getClassTypeId() -> SoType""" - return _coin.SoConcatenate_getClassTypeId(*args) - -def SoConcatenate_createInstance(*args): - """SoConcatenate_createInstance() -> void""" - return _coin.SoConcatenate_createInstance(*args) - -def SoConcatenate_initClass(*args): - """SoConcatenate_initClass()""" - return _coin.SoConcatenate_initClass(*args) - -class SoSFTrigger(SoSField): - """Proxy of C++ SoSFTrigger class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFTrigger""" - this = _coin.new_SoSFTrigger(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFTrigger - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFTrigger_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFTrigger_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFTrigger_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFTrigger_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFTrigger_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFTrigger_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """getValue(self)""" - return _coin.SoSFTrigger_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFTrigger trigger) -> int""" - return _coin.SoSFTrigger___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFTrigger trigger) -> int""" - return _coin.SoSFTrigger___ne__(*args) - - def startNotify(*args): - """startNotify(self)""" - return _coin.SoSFTrigger_startNotify(*args) - - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoSFTrigger_notify(*args) - - def touch(*args): - """touch(self)""" - return _coin.SoSFTrigger_touch(*args) - - def setValue(*args): - """ - setValue(self) - setValue(self, SoSFTrigger other) - """ - return _coin.SoSFTrigger_setValue(*args) - -SoSFTrigger_swigregister = _coin.SoSFTrigger_swigregister -SoSFTrigger_swigregister(SoSFTrigger) - -def SoSFTrigger_createInstance(*args): - """SoSFTrigger_createInstance() -> void""" - return _coin.SoSFTrigger_createInstance(*args) - -def SoSFTrigger_getClassTypeId(*args): - """SoSFTrigger_getClassTypeId() -> SoType""" - return _coin.SoSFTrigger_getClassTypeId(*args) - -def SoSFTrigger_initClass(*args): - """SoSFTrigger_initClass()""" - return _coin.SoSFTrigger_initClass(*args) - -class SoSFShort(SoSField): - """Proxy of C++ SoSFShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFShort""" - this = _coin.new_SoSFShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFShort_isSame(*args) - - def getValue(*args): - """getValue(self) -> short""" - return _coin.SoSFShort_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFShort field) -> int""" - return _coin.SoSFShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFShort field) -> int""" - return _coin.SoSFShort___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFShort_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, short newvalue) - setValue(self, SoSFShort other) - """ - return _coin.SoSFShort_setValue(*args) - -SoSFShort_swigregister = _coin.SoSFShort_swigregister -SoSFShort_swigregister(SoSFShort) - -def SoSFShort_createInstance(*args): - """SoSFShort_createInstance() -> void""" - return _coin.SoSFShort_createInstance(*args) - -def SoSFShort_getClassTypeId(*args): - """SoSFShort_getClassTypeId() -> SoType""" - return _coin.SoSFShort_getClassTypeId(*args) - -def SoSFShort_initClass(*args): - """SoSFShort_initClass()""" - return _coin.SoSFShort_initClass(*args) - -class SoCounter(SoEngine): - """Proxy of C++ SoCounter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCounter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCounter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoCounter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoCounter_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoCounter_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoCounter_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCounter""" - this = _coin.new_SoCounter(*args) - try: self.this.append(this) - except: self.this = this - min = _swig_property(_coin.SoCounter_min_get, _coin.SoCounter_min_set) - max = _swig_property(_coin.SoCounter_max_get, _coin.SoCounter_max_set) - step = _swig_property(_coin.SoCounter_step_get, _coin.SoCounter_step_set) - trigger = _swig_property(_coin.SoCounter_trigger_get, _coin.SoCounter_trigger_set) - reset = _swig_property(_coin.SoCounter_reset_get, _coin.SoCounter_reset_set) - output = _swig_property(_coin.SoCounter_output_get, _coin.SoCounter_output_set) - syncOut = _swig_property(_coin.SoCounter_syncOut_get, _coin.SoCounter_syncOut_set) -SoCounter_swigregister = _coin.SoCounter_swigregister -SoCounter_swigregister(SoCounter) - -def SoCounter_getClassTypeId(*args): - """SoCounter_getClassTypeId() -> SoType""" - return _coin.SoCounter_getClassTypeId(*args) - -def SoCounter_createInstance(*args): - """SoCounter_createInstance() -> void""" - return _coin.SoCounter_createInstance(*args) - -def SoCounter_initClass(*args): - """SoCounter_initClass()""" - return _coin.SoCounter_initClass(*args) - -class SoSFTime(SoSField): - """Proxy of C++ SoSFTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFTime""" - this = _coin.new_SoSFTime(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFTime - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFTime_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFTime_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFTime_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbTime""" - return _coin.SoSFTime_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFTime field) -> int""" - return _coin.SoSFTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFTime field) -> int""" - return _coin.SoSFTime___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFTime_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbTime newvalue) - setValue(self, SoSFTime other) - """ - return _coin.SoSFTime_setValue(*args) - -SoSFTime_swigregister = _coin.SoSFTime_swigregister -SoSFTime_swigregister(SoSFTime) - -def SoSFTime_createInstance(*args): - """SoSFTime_createInstance() -> void""" - return _coin.SoSFTime_createInstance(*args) - -def SoSFTime_getClassTypeId(*args): - """SoSFTime_getClassTypeId() -> SoType""" - return _coin.SoSFTime_getClassTypeId(*args) - -def SoSFTime_initClass(*args): - """SoSFTime_initClass()""" - return _coin.SoSFTime_initClass(*args) - -class SoElapsedTime(SoEngine): - """Proxy of C++ SoElapsedTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoElapsedTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoElapsedTime_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoElapsedTime_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoElapsedTime_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoElapsedTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoElapsedTime_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoElapsedTime""" - this = _coin.new_SoElapsedTime(*args) - try: self.this.append(this) - except: self.this = this - timeIn = _swig_property(_coin.SoElapsedTime_timeIn_get, _coin.SoElapsedTime_timeIn_set) - speed = _swig_property(_coin.SoElapsedTime_speed_get, _coin.SoElapsedTime_speed_set) - on = _swig_property(_coin.SoElapsedTime_on_get, _coin.SoElapsedTime_on_set) - pause = _swig_property(_coin.SoElapsedTime_pause_get, _coin.SoElapsedTime_pause_set) - reset = _swig_property(_coin.SoElapsedTime_reset_get, _coin.SoElapsedTime_reset_set) - timeOut = _swig_property(_coin.SoElapsedTime_timeOut_get, _coin.SoElapsedTime_timeOut_set) -SoElapsedTime_swigregister = _coin.SoElapsedTime_swigregister -SoElapsedTime_swigregister(SoElapsedTime) - -def SoElapsedTime_getClassTypeId(*args): - """SoElapsedTime_getClassTypeId() -> SoType""" - return _coin.SoElapsedTime_getClassTypeId(*args) - -def SoElapsedTime_createInstance(*args): - """SoElapsedTime_createInstance() -> void""" - return _coin.SoElapsedTime_createInstance(*args) - -def SoElapsedTime_initClass(*args): - """SoElapsedTime_initClass()""" - return _coin.SoElapsedTime_initClass(*args) - -class SoFieldConverter(SoEngine): - """Proxy of C++ SoFieldConverter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFieldConverter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFieldConverter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoFieldConverter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoFieldConverter_getOutputData(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFieldConverter_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoFieldConverter_initClasses(*args) - - initClasses = staticmethod(initClasses) - def getInput(*args): - """getInput(self, SoType type) -> SoField""" - return _coin.SoFieldConverter_getInput(*args) - - def getOutput(*args): - """getOutput(self, SoType type) -> SoEngineOutput""" - return _coin.SoFieldConverter_getOutput(*args) - - def getConnectedInput(*args): - """getConnectedInput(self) -> SoField""" - return _coin.SoFieldConverter_getConnectedInput(*args) - - def getForwardConnections(*args): - """getForwardConnections(self, SoFieldList l) -> int""" - return _coin.SoFieldConverter_getForwardConnections(*args) - -SoFieldConverter_swigregister = _coin.SoFieldConverter_swigregister -SoFieldConverter_swigregister(SoFieldConverter) - -def SoFieldConverter_getClassTypeId(*args): - """SoFieldConverter_getClassTypeId() -> SoType""" - return _coin.SoFieldConverter_getClassTypeId(*args) - -def SoFieldConverter_initClass(*args): - """SoFieldConverter_initClass()""" - return _coin.SoFieldConverter_initClass(*args) - -def SoFieldConverter_initClasses(*args): - """SoFieldConverter_initClasses()""" - return _coin.SoFieldConverter_initClasses(*args) - -class SoGate(SoEngine): - """Proxy of C++ SoGate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoGate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoGate_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoGate_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoGate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoType type) -> SoGate""" - this = _coin.new_SoGate(*args) - try: self.this.append(this) - except: self.this = this - enable = _swig_property(_coin.SoGate_enable_get, _coin.SoGate_enable_set) - trigger = _swig_property(_coin.SoGate_trigger_get, _coin.SoGate_trigger_set) - input = _swig_property(_coin.SoGate_input_get, _coin.SoGate_input_set) - output = _swig_property(_coin.SoGate_output_get, _coin.SoGate_output_set) -SoGate_swigregister = _coin.SoGate_swigregister -SoGate_swigregister(SoGate) - -def SoGate_getClassTypeId(*args): - """SoGate_getClassTypeId() -> SoType""" - return _coin.SoGate_getClassTypeId(*args) - -def SoGate_createInstance(*args): - """SoGate_createInstance() -> void""" - return _coin.SoGate_createInstance(*args) - -def SoGate_initClass(*args): - """SoGate_initClass()""" - return _coin.SoGate_initClass(*args) - -class SoInterpolate(SoEngine): - """Proxy of C++ SoInterpolate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolate_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolate_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolate_getOutputData(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoInterpolate_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoInterpolate_initClasses(*args) - - initClasses = staticmethod(initClasses) - alpha = _swig_property(_coin.SoInterpolate_alpha_get, _coin.SoInterpolate_alpha_set) - output = _swig_property(_coin.SoInterpolate_output_get, _coin.SoInterpolate_output_set) -SoInterpolate_swigregister = _coin.SoInterpolate_swigregister -SoInterpolate_swigregister(SoInterpolate) - -def SoInterpolate_getClassTypeId(*args): - """SoInterpolate_getClassTypeId() -> SoType""" - return _coin.SoInterpolate_getClassTypeId(*args) - -def SoInterpolate_initClass(*args): - """SoInterpolate_initClass()""" - return _coin.SoInterpolate_initClass(*args) - -def SoInterpolate_initClasses(*args): - """SoInterpolate_initClasses()""" - return _coin.SoInterpolate_initClasses(*args) - -class SoInterpolateFloat(SoInterpolate): - """Proxy of C++ SoInterpolateFloat class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateFloat_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateFloat_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateFloat_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateFloat_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateFloat_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateFloat""" - this = _coin.new_SoInterpolateFloat(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateFloat_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateFloat_input0_get, _coin.SoInterpolateFloat_input0_set) - input1 = _swig_property(_coin.SoInterpolateFloat_input1_get, _coin.SoInterpolateFloat_input1_set) -SoInterpolateFloat_swigregister = _coin.SoInterpolateFloat_swigregister -SoInterpolateFloat_swigregister(SoInterpolateFloat) - -def SoInterpolateFloat_getClassTypeId(*args): - """SoInterpolateFloat_getClassTypeId() -> SoType""" - return _coin.SoInterpolateFloat_getClassTypeId(*args) - -def SoInterpolateFloat_createInstance(*args): - """SoInterpolateFloat_createInstance() -> void""" - return _coin.SoInterpolateFloat_createInstance(*args) - -def SoInterpolateFloat_initClass(*args): - """SoInterpolateFloat_initClass()""" - return _coin.SoInterpolateFloat_initClass(*args) - -class SoInterpolateVec2f(SoInterpolate): - """Proxy of C++ SoInterpolateVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec2f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec2f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec2f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec2f""" - this = _coin.new_SoInterpolateVec2f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec2f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec2f_input0_get, _coin.SoInterpolateVec2f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec2f_input1_get, _coin.SoInterpolateVec2f_input1_set) -SoInterpolateVec2f_swigregister = _coin.SoInterpolateVec2f_swigregister -SoInterpolateVec2f_swigregister(SoInterpolateVec2f) - -def SoInterpolateVec2f_getClassTypeId(*args): - """SoInterpolateVec2f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec2f_getClassTypeId(*args) - -def SoInterpolateVec2f_createInstance(*args): - """SoInterpolateVec2f_createInstance() -> void""" - return _coin.SoInterpolateVec2f_createInstance(*args) - -def SoInterpolateVec2f_initClass(*args): - """SoInterpolateVec2f_initClass()""" - return _coin.SoInterpolateVec2f_initClass(*args) - -class SoInterpolateVec3f(SoInterpolate): - """Proxy of C++ SoInterpolateVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec3f""" - this = _coin.new_SoInterpolateVec3f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec3f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec3f_input0_get, _coin.SoInterpolateVec3f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec3f_input1_get, _coin.SoInterpolateVec3f_input1_set) -SoInterpolateVec3f_swigregister = _coin.SoInterpolateVec3f_swigregister -SoInterpolateVec3f_swigregister(SoInterpolateVec3f) - -def SoInterpolateVec3f_getClassTypeId(*args): - """SoInterpolateVec3f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec3f_getClassTypeId(*args) - -def SoInterpolateVec3f_createInstance(*args): - """SoInterpolateVec3f_createInstance() -> void""" - return _coin.SoInterpolateVec3f_createInstance(*args) - -def SoInterpolateVec3f_initClass(*args): - """SoInterpolateVec3f_initClass()""" - return _coin.SoInterpolateVec3f_initClass(*args) - -class SoInterpolateVec4f(SoInterpolate): - """Proxy of C++ SoInterpolateVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateVec4f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateVec4f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateVec4f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateVec4f""" - this = _coin.new_SoInterpolateVec4f(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateVec4f_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateVec4f_input0_get, _coin.SoInterpolateVec4f_input0_set) - input1 = _swig_property(_coin.SoInterpolateVec4f_input1_get, _coin.SoInterpolateVec4f_input1_set) -SoInterpolateVec4f_swigregister = _coin.SoInterpolateVec4f_swigregister -SoInterpolateVec4f_swigregister(SoInterpolateVec4f) - -def SoInterpolateVec4f_getClassTypeId(*args): - """SoInterpolateVec4f_getClassTypeId() -> SoType""" - return _coin.SoInterpolateVec4f_getClassTypeId(*args) - -def SoInterpolateVec4f_createInstance(*args): - """SoInterpolateVec4f_createInstance() -> void""" - return _coin.SoInterpolateVec4f_createInstance(*args) - -def SoInterpolateVec4f_initClass(*args): - """SoInterpolateVec4f_initClass()""" - return _coin.SoInterpolateVec4f_initClass(*args) - -class SoInterpolateRotation(SoInterpolate): - """Proxy of C++ SoInterpolateRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInterpolateRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInterpolateRotation_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoInterpolateRotation_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoInterpolateRotation_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoInterpolateRotation_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """__init__(self) -> SoInterpolateRotation""" - this = _coin.new_SoInterpolateRotation(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoInterpolateRotation_initClass(*args) - - initClass = staticmethod(initClass) - input0 = _swig_property(_coin.SoInterpolateRotation_input0_get, _coin.SoInterpolateRotation_input0_set) - input1 = _swig_property(_coin.SoInterpolateRotation_input1_get, _coin.SoInterpolateRotation_input1_set) -SoInterpolateRotation_swigregister = _coin.SoInterpolateRotation_swigregister -SoInterpolateRotation_swigregister(SoInterpolateRotation) - -def SoInterpolateRotation_getClassTypeId(*args): - """SoInterpolateRotation_getClassTypeId() -> SoType""" - return _coin.SoInterpolateRotation_getClassTypeId(*args) - -def SoInterpolateRotation_createInstance(*args): - """SoInterpolateRotation_createInstance() -> void""" - return _coin.SoInterpolateRotation_createInstance(*args) - -def SoInterpolateRotation_initClass(*args): - """SoInterpolateRotation_initClass()""" - return _coin.SoInterpolateRotation_initClass(*args) - -class SoOnOff(SoEngine): - """Proxy of C++ SoOnOff class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOnOff_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOnOff_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoOnOff_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoOnOff_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOnOff_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOnOff_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOnOff""" - this = _coin.new_SoOnOff(*args) - try: self.this.append(this) - except: self.this = this - on = _swig_property(_coin.SoOnOff_on_get, _coin.SoOnOff_on_set) - off = _swig_property(_coin.SoOnOff_off_get, _coin.SoOnOff_off_set) - toggle = _swig_property(_coin.SoOnOff_toggle_get, _coin.SoOnOff_toggle_set) - isOn = _swig_property(_coin.SoOnOff_isOn_get, _coin.SoOnOff_isOn_set) - isOff = _swig_property(_coin.SoOnOff_isOff_get, _coin.SoOnOff_isOff_set) -SoOnOff_swigregister = _coin.SoOnOff_swigregister -SoOnOff_swigregister(SoOnOff) - -def SoOnOff_getClassTypeId(*args): - """SoOnOff_getClassTypeId() -> SoType""" - return _coin.SoOnOff_getClassTypeId(*args) - -def SoOnOff_createInstance(*args): - """SoOnOff_createInstance() -> void""" - return _coin.SoOnOff_createInstance(*args) - -def SoOnOff_initClass(*args): - """SoOnOff_initClass()""" - return _coin.SoOnOff_initClass(*args) - -class SoSFBitMask(SoSFEnum): - """Proxy of C++ SoSFBitMask class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBitMask""" - this = _coin.new_SoSFBitMask(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBitMask - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBitMask_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBitMask_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBitMask_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBitMask_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBitMask_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBitMask_initClass(*args) - - initClass = staticmethod(initClass) -SoSFBitMask_swigregister = _coin.SoSFBitMask_swigregister -SoSFBitMask_swigregister(SoSFBitMask) - -def SoSFBitMask_createInstance(*args): - """SoSFBitMask_createInstance() -> void""" - return _coin.SoSFBitMask_createInstance(*args) - -def SoSFBitMask_getClassTypeId(*args): - """SoSFBitMask_getClassTypeId() -> SoType""" - return _coin.SoSFBitMask_getClassTypeId(*args) - -def SoSFBitMask_initClass(*args): - """SoSFBitMask_initClass()""" - return _coin.SoSFBitMask_initClass(*args) - -class SoOneShot(SoEngine): - """Proxy of C++ SoOneShot class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOneShot_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOneShot_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoOneShot_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoOneShot_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoOneShot_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoOneShot_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOneShot""" - this = _coin.new_SoOneShot(*args) - try: self.this.append(this) - except: self.this = this - RETRIGGERABLE = _coin.SoOneShot_RETRIGGERABLE - HOLD_FINAL = _coin.SoOneShot_HOLD_FINAL - timeIn = _swig_property(_coin.SoOneShot_timeIn_get, _coin.SoOneShot_timeIn_set) - duration = _swig_property(_coin.SoOneShot_duration_get, _coin.SoOneShot_duration_set) - trigger = _swig_property(_coin.SoOneShot_trigger_get, _coin.SoOneShot_trigger_set) - flags = _swig_property(_coin.SoOneShot_flags_get, _coin.SoOneShot_flags_set) - disable = _swig_property(_coin.SoOneShot_disable_get, _coin.SoOneShot_disable_set) - timeOut = _swig_property(_coin.SoOneShot_timeOut_get, _coin.SoOneShot_timeOut_set) - isActive = _swig_property(_coin.SoOneShot_isActive_get, _coin.SoOneShot_isActive_set) - ramp = _swig_property(_coin.SoOneShot_ramp_get, _coin.SoOneShot_ramp_set) -SoOneShot_swigregister = _coin.SoOneShot_swigregister -SoOneShot_swigregister(SoOneShot) - -def SoOneShot_getClassTypeId(*args): - """SoOneShot_getClassTypeId() -> SoType""" - return _coin.SoOneShot_getClassTypeId(*args) - -def SoOneShot_createInstance(*args): - """SoOneShot_createInstance() -> void""" - return _coin.SoOneShot_createInstance(*args) - -def SoOneShot_initClass(*args): - """SoOneShot_initClass()""" - return _coin.SoOneShot_initClass(*args) - -class SoSelectOne(SoEngine): - """Proxy of C++ SoSelectOne class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSelectOne_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSelectOne_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoSelectOne_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoSelectOne_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSelectOne_createInstance(*args) - - createInstance = staticmethod(createInstance) - index = _swig_property(_coin.SoSelectOne_index_get, _coin.SoSelectOne_index_set) - input = _swig_property(_coin.SoSelectOne_input_get, _coin.SoSelectOne_input_set) - output = _swig_property(_coin.SoSelectOne_output_get, _coin.SoSelectOne_output_set) - def __init__(self, *args): - """__init__(self, SoType inputtype) -> SoSelectOne""" - this = _coin.new_SoSelectOne(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoSelectOne_initClass(*args) - - initClass = staticmethod(initClass) -SoSelectOne_swigregister = _coin.SoSelectOne_swigregister -SoSelectOne_swigregister(SoSelectOne) - -def SoSelectOne_getClassTypeId(*args): - """SoSelectOne_getClassTypeId() -> SoType""" - return _coin.SoSelectOne_getClassTypeId(*args) - -def SoSelectOne_createInstance(*args): - """SoSelectOne_createInstance() -> void""" - return _coin.SoSelectOne_createInstance(*args) - -def SoSelectOne_initClass(*args): - """SoSelectOne_initClass()""" - return _coin.SoSelectOne_initClass(*args) - -class SoTimeCounter(SoEngine): - """Proxy of C++ SoTimeCounter class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTimeCounter_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTimeCounter_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTimeCounter_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTimeCounter_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTimeCounter_createInstance(*args) - - createInstance = staticmethod(createInstance) - timeIn = _swig_property(_coin.SoTimeCounter_timeIn_get, _coin.SoTimeCounter_timeIn_set) - min = _swig_property(_coin.SoTimeCounter_min_get, _coin.SoTimeCounter_min_set) - max = _swig_property(_coin.SoTimeCounter_max_get, _coin.SoTimeCounter_max_set) - step = _swig_property(_coin.SoTimeCounter_step_get, _coin.SoTimeCounter_step_set) - on = _swig_property(_coin.SoTimeCounter_on_get, _coin.SoTimeCounter_on_set) - frequency = _swig_property(_coin.SoTimeCounter_frequency_get, _coin.SoTimeCounter_frequency_set) - duty = _swig_property(_coin.SoTimeCounter_duty_get, _coin.SoTimeCounter_duty_set) - reset = _swig_property(_coin.SoTimeCounter_reset_get, _coin.SoTimeCounter_reset_set) - syncIn = _swig_property(_coin.SoTimeCounter_syncIn_get, _coin.SoTimeCounter_syncIn_set) - output = _swig_property(_coin.SoTimeCounter_output_get, _coin.SoTimeCounter_output_set) - syncOut = _swig_property(_coin.SoTimeCounter_syncOut_get, _coin.SoTimeCounter_syncOut_set) - def __init__(self, *args): - """__init__(self) -> SoTimeCounter""" - this = _coin.new_SoTimeCounter(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoTimeCounter_initClass(*args) - - initClass = staticmethod(initClass) -SoTimeCounter_swigregister = _coin.SoTimeCounter_swigregister -SoTimeCounter_swigregister(SoTimeCounter) - -def SoTimeCounter_getClassTypeId(*args): - """SoTimeCounter_getClassTypeId() -> SoType""" - return _coin.SoTimeCounter_getClassTypeId(*args) - -def SoTimeCounter_createInstance(*args): - """SoTimeCounter_createInstance() -> void""" - return _coin.SoTimeCounter_createInstance(*args) - -def SoTimeCounter_initClass(*args): - """SoTimeCounter_initClass()""" - return _coin.SoTimeCounter_initClass(*args) - -class SoTransformVec3f(SoEngine): - """Proxy of C++ SoTransformVec3f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformVec3f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformVec3f_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTransformVec3f_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTransformVec3f_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTransformVec3f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTransformVec3f_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformVec3f""" - this = _coin.new_SoTransformVec3f(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoTransformVec3f_vector_get, _coin.SoTransformVec3f_vector_set) - matrix = _swig_property(_coin.SoTransformVec3f_matrix_get, _coin.SoTransformVec3f_matrix_set) - point = _swig_property(_coin.SoTransformVec3f_point_get, _coin.SoTransformVec3f_point_set) - direction = _swig_property(_coin.SoTransformVec3f_direction_get, _coin.SoTransformVec3f_direction_set) - normalDirection = _swig_property(_coin.SoTransformVec3f_normalDirection_get, _coin.SoTransformVec3f_normalDirection_set) -SoTransformVec3f_swigregister = _coin.SoTransformVec3f_swigregister -SoTransformVec3f_swigregister(SoTransformVec3f) - -def SoTransformVec3f_getClassTypeId(*args): - """SoTransformVec3f_getClassTypeId() -> SoType""" - return _coin.SoTransformVec3f_getClassTypeId(*args) - -def SoTransformVec3f_createInstance(*args): - """SoTransformVec3f_createInstance() -> void""" - return _coin.SoTransformVec3f_createInstance(*args) - -def SoTransformVec3f_initClass(*args): - """SoTransformVec3f_initClass()""" - return _coin.SoTransformVec3f_initClass(*args) - -class SoTriggerAny(SoEngine): - """Proxy of C++ SoTriggerAny class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTriggerAny_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTriggerAny_getTypeId(*args) - - def getFieldData(*args): - """getFieldData(self) -> SoFieldData""" - return _coin.SoTriggerAny_getFieldData(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoTriggerAny_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoTriggerAny_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoTriggerAny_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTriggerAny""" - this = _coin.new_SoTriggerAny(*args) - try: self.this.append(this) - except: self.this = this - input0 = _swig_property(_coin.SoTriggerAny_input0_get, _coin.SoTriggerAny_input0_set) - input1 = _swig_property(_coin.SoTriggerAny_input1_get, _coin.SoTriggerAny_input1_set) - input2 = _swig_property(_coin.SoTriggerAny_input2_get, _coin.SoTriggerAny_input2_set) - input3 = _swig_property(_coin.SoTriggerAny_input3_get, _coin.SoTriggerAny_input3_set) - input4 = _swig_property(_coin.SoTriggerAny_input4_get, _coin.SoTriggerAny_input4_set) - input5 = _swig_property(_coin.SoTriggerAny_input5_get, _coin.SoTriggerAny_input5_set) - input6 = _swig_property(_coin.SoTriggerAny_input6_get, _coin.SoTriggerAny_input6_set) - input7 = _swig_property(_coin.SoTriggerAny_input7_get, _coin.SoTriggerAny_input7_set) - input8 = _swig_property(_coin.SoTriggerAny_input8_get, _coin.SoTriggerAny_input8_set) - input9 = _swig_property(_coin.SoTriggerAny_input9_get, _coin.SoTriggerAny_input9_set) - output = _swig_property(_coin.SoTriggerAny_output_get, _coin.SoTriggerAny_output_set) -SoTriggerAny_swigregister = _coin.SoTriggerAny_swigregister -SoTriggerAny_swigregister(SoTriggerAny) - -def SoTriggerAny_getClassTypeId(*args): - """SoTriggerAny_getClassTypeId() -> SoType""" - return _coin.SoTriggerAny_getClassTypeId(*args) - -def SoTriggerAny_createInstance(*args): - """SoTriggerAny_createInstance() -> void""" - return _coin.SoTriggerAny_createInstance(*args) - -def SoTriggerAny_initClass(*args): - """SoTriggerAny_initClass()""" - return _coin.SoTriggerAny_initClass(*args) - -class SoNodeEngine(SoNode): - """Proxy of C++ SoNodeEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoNodeEngine_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNodeEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def evaluateWrapper(*args): - """evaluateWrapper(self)""" - return _coin.SoNodeEngine_evaluateWrapper(*args) - - def getOutputs(*args): - """getOutputs(self, SoEngineOutputList l) -> int""" - return _coin.SoNodeEngine_getOutputs(*args) - - def getOutput(*args): - """getOutput(self, SbName outputname) -> SoEngineOutput""" - return _coin.SoNodeEngine_getOutput(*args) - - def getOutputName(*args): - """getOutputName(self, SoEngineOutput output, SbName outputname) -> SbBool""" - return _coin.SoNodeEngine_getOutputName(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoNodeEngine_getOutputData(*args) - - def isNotifying(*args): - """isNotifying(self) -> SbBool""" - return _coin.SoNodeEngine_isNotifying(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoNodeEngine_notify(*args) - - def writeInstance(*args): - """writeInstance(self, SoOutput out)""" - return _coin.SoNodeEngine_writeInstance(*args) - -SoNodeEngine_swigregister = _coin.SoNodeEngine_swigregister -SoNodeEngine_swigregister(SoNodeEngine) - -def SoNodeEngine_initClass(*args): - """SoNodeEngine_initClass()""" - return _coin.SoNodeEngine_initClass(*args) - -def SoNodeEngine_getClassTypeId(*args): - """SoNodeEngine_getClassTypeId() -> SoType""" - return _coin.SoNodeEngine_getClassTypeId(*args) - -class SoError(object): - """Proxy of C++ SoError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoError""" - this = _coin.new_SoError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoError - __del__ = lambda self : None; - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB func, void data)""" - return _coin.SoError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getDebugString(*args): - """getDebugString(self) -> SbString""" - return _coin.SoError_getDebugString(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoError_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoError_isOfType(*args) - - def post(*args): - """post(char format, v(...) ?)""" - return _coin.SoError_post(*args) - - post = staticmethod(post) - def getString(*args): - """ - getString(SoNode node) -> SbString - getString(SoPath path) -> SbString - getString(SoEngine engine) -> SbString - """ - return _coin.SoError_getString(*args) - - getString = staticmethod(getString) - def initClass(*args): - """initClass()""" - return _coin.SoError_initClass(*args) - - initClass = staticmethod(initClass) - def initClasses(*args): - """initClasses()""" - return _coin.SoError_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoError_swigregister = _coin.SoError_swigregister -SoError_swigregister(SoError) - -def SoError_setHandlerCallback(*args): - """SoError_setHandlerCallback(SoErrorCB func, void data)""" - return _coin.SoError_setHandlerCallback(*args) - -def SoError_getHandlerCallback(*args): - """SoError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoError_getHandlerCallback(*args) - -def SoError_getHandlerData(*args): - """SoError_getHandlerData() -> void""" - return _coin.SoError_getHandlerData(*args) - -def SoError_getClassTypeId(*args): - """SoError_getClassTypeId() -> SoType""" - return _coin.SoError_getClassTypeId(*args) - -def SoError_post(*args): - """SoError_post(char format, v(...) ?)""" - return _coin.SoError_post(*args) - -def SoError_getString(*args): - """ - getString(SoNode node) -> SbString - getString(SoPath path) -> SbString - SoError_getString(SoEngine engine) -> SbString - """ - return _coin.SoError_getString(*args) - -def SoError_initClass(*args): - """SoError_initClass()""" - return _coin.SoError_initClass(*args) - -def SoError_initClasses(*args): - """SoError_initClasses()""" - return _coin.SoError_initClasses(*args) - -class SoDebugError(SoError): - """Proxy of C++ SoDebugError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - ERROR = _coin.SoDebugError_ERROR - WARNING = _coin.SoDebugError_WARNING - INFO = _coin.SoDebugError_INFO - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoDebugError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoDebugError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoDebugError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDebugError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDebugError_getTypeId(*args) - - def getSeverity(*args): - """getSeverity(self) -> Severity""" - return _coin.SoDebugError_getSeverity(*args) - - def post(*args): - """post(char source, char format, v(...) ?)""" - return _coin.SoDebugError_post(*args) - - post = staticmethod(post) - def postWarning(*args): - """postWarning(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postWarning(*args) - - postWarning = staticmethod(postWarning) - def postInfo(*args): - """postInfo(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postInfo(*args) - - postInfo = staticmethod(postInfo) - def initClass(*args): - """initClass()""" - return _coin.SoDebugError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDebugError""" - this = _coin.new_SoDebugError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoDebugError - __del__ = lambda self : None; -SoDebugError_swigregister = _coin.SoDebugError_swigregister -SoDebugError_swigregister(SoDebugError) - -def SoDebugError_setHandlerCallback(*args): - """SoDebugError_setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoDebugError_setHandlerCallback(*args) - -def SoDebugError_getHandlerCallback(*args): - """SoDebugError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoDebugError_getHandlerCallback(*args) - -def SoDebugError_getHandlerData(*args): - """SoDebugError_getHandlerData() -> void""" - return _coin.SoDebugError_getHandlerData(*args) - -def SoDebugError_getClassTypeId(*args): - """SoDebugError_getClassTypeId() -> SoType""" - return _coin.SoDebugError_getClassTypeId(*args) - -def SoDebugError_post(*args): - """SoDebugError_post(char source, char format, v(...) ?)""" - return _coin.SoDebugError_post(*args) - -def SoDebugError_postWarning(*args): - """SoDebugError_postWarning(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postWarning(*args) - -def SoDebugError_postInfo(*args): - """SoDebugError_postInfo(char source, char format, v(...) ?)""" - return _coin.SoDebugError_postInfo(*args) - -def SoDebugError_initClass(*args): - """SoDebugError_initClass()""" - return _coin.SoDebugError_initClass(*args) - -class SoMemoryError(SoError): - """Proxy of C++ SoMemoryError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB callback, void data)""" - return _coin.SoMemoryError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoMemoryError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoMemoryError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMemoryError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMemoryError_getTypeId(*args) - - def post(*args): - """post(char whatWasAllocated)""" - return _coin.SoMemoryError_post(*args) - - post = staticmethod(post) - def initClass(*args): - """initClass()""" - return _coin.SoMemoryError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMemoryError""" - this = _coin.new_SoMemoryError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMemoryError - __del__ = lambda self : None; -SoMemoryError_swigregister = _coin.SoMemoryError_swigregister -SoMemoryError_swigregister(SoMemoryError) - -def SoMemoryError_setHandlerCallback(*args): - """SoMemoryError_setHandlerCallback(SoErrorCB callback, void data)""" - return _coin.SoMemoryError_setHandlerCallback(*args) - -def SoMemoryError_getHandlerCallback(*args): - """SoMemoryError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoMemoryError_getHandlerCallback(*args) - -def SoMemoryError_getHandlerData(*args): - """SoMemoryError_getHandlerData() -> void""" - return _coin.SoMemoryError_getHandlerData(*args) - -def SoMemoryError_getClassTypeId(*args): - """SoMemoryError_getClassTypeId() -> SoType""" - return _coin.SoMemoryError_getClassTypeId(*args) - -def SoMemoryError_post(*args): - """SoMemoryError_post(char whatWasAllocated)""" - return _coin.SoMemoryError_post(*args) - -def SoMemoryError_initClass(*args): - """SoMemoryError_initClass()""" - return _coin.SoMemoryError_initClass(*args) - -class SoReadError(SoError): - """Proxy of C++ SoReadError class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def setHandlerCallback(*args): - """setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoReadError_setHandlerCallback(*args) - - setHandlerCallback = staticmethod(setHandlerCallback) - def getHandlerCallback(*args): - """getHandlerCallback() -> SoErrorCB""" - return _coin.SoReadError_getHandlerCallback(*args) - - getHandlerCallback = staticmethod(getHandlerCallback) - def getHandlerData(*args): - """getHandlerData() -> void""" - return _coin.SoReadError_getHandlerData(*args) - - getHandlerData = staticmethod(getHandlerData) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoReadError_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoReadError_getTypeId(*args) - - def post(*args): - """post(SoInput in, char format, v(...) ?)""" - return _coin.SoReadError_post(*args) - - post = staticmethod(post) - def initClass(*args): - """initClass()""" - return _coin.SoReadError_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoReadError""" - this = _coin.new_SoReadError(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoReadError - __del__ = lambda self : None; -SoReadError_swigregister = _coin.SoReadError_swigregister -SoReadError_swigregister(SoReadError) - -def SoReadError_setHandlerCallback(*args): - """SoReadError_setHandlerCallback(SoErrorCB function, void data)""" - return _coin.SoReadError_setHandlerCallback(*args) - -def SoReadError_getHandlerCallback(*args): - """SoReadError_getHandlerCallback() -> SoErrorCB""" - return _coin.SoReadError_getHandlerCallback(*args) - -def SoReadError_getHandlerData(*args): - """SoReadError_getHandlerData() -> void""" - return _coin.SoReadError_getHandlerData(*args) - -def SoReadError_getClassTypeId(*args): - """SoReadError_getClassTypeId() -> SoType""" - return _coin.SoReadError_getClassTypeId(*args) - -def SoReadError_post(*args): - """SoReadError_post(SoInput in, char format, v(...) ?)""" - return _coin.SoReadError_post(*args) - -def SoReadError_initClass(*args): - """SoReadError_initClass()""" - return _coin.SoReadError_initClass(*args) - -class SoButtonEvent(SoEvent): - """Proxy of C++ SoButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoButtonEvent_getTypeId(*args) - - UP = _coin.SoButtonEvent_UP - DOWN = _coin.SoButtonEvent_DOWN - UNKNOWN = _coin.SoButtonEvent_UNKNOWN - def __init__(self, *args): - """__init__(self) -> SoButtonEvent""" - this = _coin.new_SoButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoButtonEvent - __del__ = lambda self : None; - def setState(*args): - """setState(self, State state)""" - return _coin.SoButtonEvent_setState(*args) - - def getState(*args): - """getState(self) -> State""" - return _coin.SoButtonEvent_getState(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoButtonEvent_swigregister = _coin.SoButtonEvent_swigregister -SoButtonEvent_swigregister(SoButtonEvent) - -def SoButtonEvent_getClassTypeId(*args): - """SoButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoButtonEvent_getClassTypeId(*args) - -def SoButtonEvent_initClass(*args): - """SoButtonEvent_initClass()""" - return _coin.SoButtonEvent_initClass(*args) - -class SoLocation2Event(SoEvent): - """Proxy of C++ SoLocation2Event class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocation2Event_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLocation2Event_getTypeId(*args) - - __swig_destroy__ = _coin.delete_SoLocation2Event - __del__ = lambda self : None; - def initClass(*args): - """initClass()""" - return _coin.SoLocation2Event_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLocation2Event""" - this = _coin.new_SoLocation2Event(*args) - try: self.this.append(this) - except: self.this = this -SoLocation2Event_swigregister = _coin.SoLocation2Event_swigregister -SoLocation2Event_swigregister(SoLocation2Event) - -def SoLocation2Event_getClassTypeId(*args): - """SoLocation2Event_getClassTypeId() -> SoType""" - return _coin.SoLocation2Event_getClassTypeId(*args) - -def SoLocation2Event_initClass(*args): - """SoLocation2Event_initClass()""" - return _coin.SoLocation2Event_initClass(*args) - -class SoMotion3Event(SoEvent): - """Proxy of C++ SoMotion3Event class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMotion3Event_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMotion3Event_getTypeId(*args) - - def __init__(self, *args): - """__init__(self) -> SoMotion3Event""" - this = _coin.new_SoMotion3Event(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMotion3Event - __del__ = lambda self : None; - def setTranslation(*args): - """setTranslation(self, SbVec3f t)""" - return _coin.SoMotion3Event_setTranslation(*args) - - def getTranslation(*args): - """getTranslation(self) -> SbVec3f""" - return _coin.SoMotion3Event_getTranslation(*args) - - def setRotation(*args): - """setRotation(self, SbRotation r)""" - return _coin.SoMotion3Event_setRotation(*args) - - def getRotation(*args): - """getRotation(self) -> SbRotation""" - return _coin.SoMotion3Event_getRotation(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMotion3Event_initClass(*args) - - initClass = staticmethod(initClass) -SoMotion3Event_swigregister = _coin.SoMotion3Event_swigregister -SoMotion3Event_swigregister(SoMotion3Event) - -def SoMotion3Event_getClassTypeId(*args): - """SoMotion3Event_getClassTypeId() -> SoType""" - return _coin.SoMotion3Event_getClassTypeId(*args) - -def SoMotion3Event_initClass(*args): - """SoMotion3Event_initClass()""" - return _coin.SoMotion3Event_initClass(*args) - -class SoKeyboardEvent(SoButtonEvent): - """Proxy of C++ SoKeyboardEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoKeyboardEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoKeyboardEvent_getTypeId(*args) - - ANY = _coin.SoKeyboardEvent_ANY - UNDEFINED = _coin.SoKeyboardEvent_UNDEFINED - LEFT_SHIFT = _coin.SoKeyboardEvent_LEFT_SHIFT - RIGHT_SHIFT = _coin.SoKeyboardEvent_RIGHT_SHIFT - LEFT_CONTROL = _coin.SoKeyboardEvent_LEFT_CONTROL - RIGHT_CONTROL = _coin.SoKeyboardEvent_RIGHT_CONTROL - LEFT_ALT = _coin.SoKeyboardEvent_LEFT_ALT - RIGHT_ALT = _coin.SoKeyboardEvent_RIGHT_ALT - NUMBER_0 = _coin.SoKeyboardEvent_NUMBER_0 - NUMBER_1 = _coin.SoKeyboardEvent_NUMBER_1 - NUMBER_2 = _coin.SoKeyboardEvent_NUMBER_2 - NUMBER_3 = _coin.SoKeyboardEvent_NUMBER_3 - NUMBER_4 = _coin.SoKeyboardEvent_NUMBER_4 - NUMBER_5 = _coin.SoKeyboardEvent_NUMBER_5 - NUMBER_6 = _coin.SoKeyboardEvent_NUMBER_6 - NUMBER_7 = _coin.SoKeyboardEvent_NUMBER_7 - NUMBER_8 = _coin.SoKeyboardEvent_NUMBER_8 - NUMBER_9 = _coin.SoKeyboardEvent_NUMBER_9 - A = _coin.SoKeyboardEvent_A - B = _coin.SoKeyboardEvent_B - C = _coin.SoKeyboardEvent_C - D = _coin.SoKeyboardEvent_D - E = _coin.SoKeyboardEvent_E - F = _coin.SoKeyboardEvent_F - G = _coin.SoKeyboardEvent_G - H = _coin.SoKeyboardEvent_H - I = _coin.SoKeyboardEvent_I - J = _coin.SoKeyboardEvent_J - K = _coin.SoKeyboardEvent_K - L = _coin.SoKeyboardEvent_L - M = _coin.SoKeyboardEvent_M - N = _coin.SoKeyboardEvent_N - O = _coin.SoKeyboardEvent_O - P = _coin.SoKeyboardEvent_P - Q = _coin.SoKeyboardEvent_Q - R = _coin.SoKeyboardEvent_R - S = _coin.SoKeyboardEvent_S - T = _coin.SoKeyboardEvent_T - U = _coin.SoKeyboardEvent_U - V = _coin.SoKeyboardEvent_V - W = _coin.SoKeyboardEvent_W - X = _coin.SoKeyboardEvent_X - Y = _coin.SoKeyboardEvent_Y - Z = _coin.SoKeyboardEvent_Z - HOME = _coin.SoKeyboardEvent_HOME - LEFT_ARROW = _coin.SoKeyboardEvent_LEFT_ARROW - UP_ARROW = _coin.SoKeyboardEvent_UP_ARROW - RIGHT_ARROW = _coin.SoKeyboardEvent_RIGHT_ARROW - DOWN_ARROW = _coin.SoKeyboardEvent_DOWN_ARROW - PAGE_UP = _coin.SoKeyboardEvent_PAGE_UP - PAGE_DOWN = _coin.SoKeyboardEvent_PAGE_DOWN - END = _coin.SoKeyboardEvent_END - PRIOR = _coin.SoKeyboardEvent_PRIOR - NEXT = _coin.SoKeyboardEvent_NEXT - PAD_ENTER = _coin.SoKeyboardEvent_PAD_ENTER - PAD_F1 = _coin.SoKeyboardEvent_PAD_F1 - PAD_F2 = _coin.SoKeyboardEvent_PAD_F2 - PAD_F3 = _coin.SoKeyboardEvent_PAD_F3 - PAD_F4 = _coin.SoKeyboardEvent_PAD_F4 - PAD_0 = _coin.SoKeyboardEvent_PAD_0 - PAD_1 = _coin.SoKeyboardEvent_PAD_1 - PAD_2 = _coin.SoKeyboardEvent_PAD_2 - PAD_3 = _coin.SoKeyboardEvent_PAD_3 - PAD_4 = _coin.SoKeyboardEvent_PAD_4 - PAD_5 = _coin.SoKeyboardEvent_PAD_5 - PAD_6 = _coin.SoKeyboardEvent_PAD_6 - PAD_7 = _coin.SoKeyboardEvent_PAD_7 - PAD_8 = _coin.SoKeyboardEvent_PAD_8 - PAD_9 = _coin.SoKeyboardEvent_PAD_9 - PAD_ADD = _coin.SoKeyboardEvent_PAD_ADD - PAD_SUBTRACT = _coin.SoKeyboardEvent_PAD_SUBTRACT - PAD_MULTIPLY = _coin.SoKeyboardEvent_PAD_MULTIPLY - PAD_DIVIDE = _coin.SoKeyboardEvent_PAD_DIVIDE - PAD_SPACE = _coin.SoKeyboardEvent_PAD_SPACE - PAD_TAB = _coin.SoKeyboardEvent_PAD_TAB - PAD_INSERT = _coin.SoKeyboardEvent_PAD_INSERT - PAD_DELETE = _coin.SoKeyboardEvent_PAD_DELETE - PAD_PERIOD = _coin.SoKeyboardEvent_PAD_PERIOD - F1 = _coin.SoKeyboardEvent_F1 - F2 = _coin.SoKeyboardEvent_F2 - F3 = _coin.SoKeyboardEvent_F3 - F4 = _coin.SoKeyboardEvent_F4 - F5 = _coin.SoKeyboardEvent_F5 - F6 = _coin.SoKeyboardEvent_F6 - F7 = _coin.SoKeyboardEvent_F7 - F8 = _coin.SoKeyboardEvent_F8 - F9 = _coin.SoKeyboardEvent_F9 - F10 = _coin.SoKeyboardEvent_F10 - F11 = _coin.SoKeyboardEvent_F11 - F12 = _coin.SoKeyboardEvent_F12 - BACKSPACE = _coin.SoKeyboardEvent_BACKSPACE - TAB = _coin.SoKeyboardEvent_TAB - RETURN = _coin.SoKeyboardEvent_RETURN - ENTER = _coin.SoKeyboardEvent_ENTER - PAUSE = _coin.SoKeyboardEvent_PAUSE - SCROLL_LOCK = _coin.SoKeyboardEvent_SCROLL_LOCK - ESCAPE = _coin.SoKeyboardEvent_ESCAPE - DELETE = _coin.SoKeyboardEvent_DELETE - KEY_DELETE = _coin.SoKeyboardEvent_KEY_DELETE - PRINT = _coin.SoKeyboardEvent_PRINT - INSERT = _coin.SoKeyboardEvent_INSERT - NUM_LOCK = _coin.SoKeyboardEvent_NUM_LOCK - CAPS_LOCK = _coin.SoKeyboardEvent_CAPS_LOCK - SHIFT_LOCK = _coin.SoKeyboardEvent_SHIFT_LOCK - SPACE = _coin.SoKeyboardEvent_SPACE - APOSTROPHE = _coin.SoKeyboardEvent_APOSTROPHE - COMMA = _coin.SoKeyboardEvent_COMMA - MINUS = _coin.SoKeyboardEvent_MINUS - PERIOD = _coin.SoKeyboardEvent_PERIOD - SLASH = _coin.SoKeyboardEvent_SLASH - SEMICOLON = _coin.SoKeyboardEvent_SEMICOLON - EQUAL = _coin.SoKeyboardEvent_EQUAL - BRACKETLEFT = _coin.SoKeyboardEvent_BRACKETLEFT - BACKSLASH = _coin.SoKeyboardEvent_BACKSLASH - BRACKETRIGHT = _coin.SoKeyboardEvent_BRACKETRIGHT - GRAVE = _coin.SoKeyboardEvent_GRAVE - def __init__(self, *args): - """__init__(self) -> SoKeyboardEvent""" - this = _coin.new_SoKeyboardEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoKeyboardEvent - __del__ = lambda self : None; - def setKey(*args): - """setKey(self, Key key)""" - return _coin.SoKeyboardEvent_setKey(*args) - - def getKey(*args): - """getKey(self) -> Key""" - return _coin.SoKeyboardEvent_getKey(*args) - - def setPrintableCharacter(*args): - """setPrintableCharacter(self, char c)""" - return _coin.SoKeyboardEvent_setPrintableCharacter(*args) - - def getPrintableCharacter(*args): - """getPrintableCharacter(self) -> char""" - return _coin.SoKeyboardEvent_getPrintableCharacter(*args) - - def isKeyPressEvent(*args): - """isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyPressEvent(*args) - - isKeyPressEvent = staticmethod(isKeyPressEvent) - def isKeyReleaseEvent(*args): - """isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyReleaseEvent(*args) - - isKeyReleaseEvent = staticmethod(isKeyReleaseEvent) - def initClass(*args): - """initClass()""" - return _coin.SoKeyboardEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoKeyboardEvent_swigregister = _coin.SoKeyboardEvent_swigregister -SoKeyboardEvent_swigregister(SoKeyboardEvent) - -def SoKeyboardEvent_getClassTypeId(*args): - """SoKeyboardEvent_getClassTypeId() -> SoType""" - return _coin.SoKeyboardEvent_getClassTypeId(*args) - -def SoKeyboardEvent_isKeyPressEvent(*args): - """SoKeyboardEvent_isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyPressEvent(*args) - -def SoKeyboardEvent_isKeyReleaseEvent(*args): - """SoKeyboardEvent_isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool""" - return _coin.SoKeyboardEvent_isKeyReleaseEvent(*args) - -def SoKeyboardEvent_initClass(*args): - """SoKeyboardEvent_initClass()""" - return _coin.SoKeyboardEvent_initClass(*args) - -class SoMouseButtonEvent(SoButtonEvent): - """Proxy of C++ SoMouseButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMouseButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMouseButtonEvent_getTypeId(*args) - - ANY = _coin.SoMouseButtonEvent_ANY - BUTTON1 = _coin.SoMouseButtonEvent_BUTTON1 - BUTTON2 = _coin.SoMouseButtonEvent_BUTTON2 - BUTTON3 = _coin.SoMouseButtonEvent_BUTTON3 - BUTTON4 = _coin.SoMouseButtonEvent_BUTTON4 - BUTTON5 = _coin.SoMouseButtonEvent_BUTTON5 - def __init__(self, *args): - """__init__(self) -> SoMouseButtonEvent""" - this = _coin.new_SoMouseButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMouseButtonEvent - __del__ = lambda self : None; - def setButton(*args): - """setButton(self, Button button)""" - return _coin.SoMouseButtonEvent_setButton(*args) - - def getButton(*args): - """getButton(self) -> Button""" - return _coin.SoMouseButtonEvent_getButton(*args) - - def isButtonPressEvent(*args): - """isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonPressEvent(*args) - - isButtonPressEvent = staticmethod(isButtonPressEvent) - def isButtonReleaseEvent(*args): - """isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonReleaseEvent(*args) - - isButtonReleaseEvent = staticmethod(isButtonReleaseEvent) - def initClass(*args): - """initClass()""" - return _coin.SoMouseButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoMouseButtonEvent_swigregister = _coin.SoMouseButtonEvent_swigregister -SoMouseButtonEvent_swigregister(SoMouseButtonEvent) - -def SoMouseButtonEvent_getClassTypeId(*args): - """SoMouseButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoMouseButtonEvent_getClassTypeId(*args) - -def SoMouseButtonEvent_isButtonPressEvent(*args): - """SoMouseButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonPressEvent(*args) - -def SoMouseButtonEvent_isButtonReleaseEvent(*args): - """SoMouseButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoMouseButtonEvent_isButtonReleaseEvent(*args) - -def SoMouseButtonEvent_initClass(*args): - """SoMouseButtonEvent_initClass()""" - return _coin.SoMouseButtonEvent_initClass(*args) - -class SoSpaceballButtonEvent(SoButtonEvent): - """Proxy of C++ SoSpaceballButtonEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpaceballButtonEvent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpaceballButtonEvent_getTypeId(*args) - - ANY = _coin.SoSpaceballButtonEvent_ANY - BUTTON1 = _coin.SoSpaceballButtonEvent_BUTTON1 - BUTTON2 = _coin.SoSpaceballButtonEvent_BUTTON2 - BUTTON3 = _coin.SoSpaceballButtonEvent_BUTTON3 - BUTTON4 = _coin.SoSpaceballButtonEvent_BUTTON4 - BUTTON5 = _coin.SoSpaceballButtonEvent_BUTTON5 - BUTTON6 = _coin.SoSpaceballButtonEvent_BUTTON6 - BUTTON7 = _coin.SoSpaceballButtonEvent_BUTTON7 - BUTTON8 = _coin.SoSpaceballButtonEvent_BUTTON8 - PICK = _coin.SoSpaceballButtonEvent_PICK - def __init__(self, *args): - """__init__(self) -> SoSpaceballButtonEvent""" - this = _coin.new_SoSpaceballButtonEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSpaceballButtonEvent - __del__ = lambda self : None; - def setButton(*args): - """setButton(self, Button button)""" - return _coin.SoSpaceballButtonEvent_setButton(*args) - - def getButton(*args): - """getButton(self) -> Button""" - return _coin.SoSpaceballButtonEvent_getButton(*args) - - def isButtonPressEvent(*args): - """isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonPressEvent(*args) - - isButtonPressEvent = staticmethod(isButtonPressEvent) - def isButtonReleaseEvent(*args): - """isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonReleaseEvent(*args) - - isButtonReleaseEvent = staticmethod(isButtonReleaseEvent) - def initClass(*args): - """initClass()""" - return _coin.SoSpaceballButtonEvent_initClass(*args) - - initClass = staticmethod(initClass) -SoSpaceballButtonEvent_swigregister = _coin.SoSpaceballButtonEvent_swigregister -SoSpaceballButtonEvent_swigregister(SoSpaceballButtonEvent) - -def SoSpaceballButtonEvent_getClassTypeId(*args): - """SoSpaceballButtonEvent_getClassTypeId() -> SoType""" - return _coin.SoSpaceballButtonEvent_getClassTypeId(*args) - -def SoSpaceballButtonEvent_isButtonPressEvent(*args): - """SoSpaceballButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonPressEvent(*args) - -def SoSpaceballButtonEvent_isButtonReleaseEvent(*args): - """SoSpaceballButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool""" - return _coin.SoSpaceballButtonEvent_isButtonReleaseEvent(*args) - -def SoSpaceballButtonEvent_initClass(*args): - """SoSpaceballButtonEvent_initClass()""" - return _coin.SoSpaceballButtonEvent_initClass(*args) - -class SbBox3s(object): - """Proxy of C++ SbBox3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox3s - __init__(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) -> SbBox3s - __init__(self, SbVec3s minvec, SbVec3s maxvec) -> SbBox3s - """ - this = _coin.new_SbBox3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBox3s - __del__ = lambda self : None; - def getMin(*args): - """getMin(self) -> SbVec3s""" - return _coin.SbBox3s_getMin(*args) - - def getMax(*args): - """getMax(self) -> SbVec3s""" - return _coin.SbBox3s_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec3s point) - extendBy(self, SbBox3s box) - """ - return _coin.SbBox3s_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec3s point) -> SbBool - intersect(self, SbBox3s box) -> SbBool - """ - return _coin.SbBox3s_intersect(*args) - - def setBounds(*args): - """ - setBounds(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) - setBounds(self, SbVec3s minvec, SbVec3s maxvec) - """ - return _coin.SbBox3s_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) - getBounds(self, SbVec3s minvec, SbVec3s maxvec) - """ - return _coin.SbBox3s_getBounds(*args) - - def getOrigin(*args): - """getOrigin(self, short originX, short originY, short originZ)""" - return _coin.SbBox3s_getOrigin(*args) - - def getSize(*args): - """getSize(self, short sizeX, short sizeY, short sizeZ)""" - return _coin.SbBox3s_getSize(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox3s_makeEmpty(*args) - - def __eq__(*args): - """__eq__(self, SbBox3s u) -> int""" - return _coin.SbBox3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox3s u) -> int""" - return _coin.SbBox3s___ne__(*args) - -SbBox3s_swigregister = _coin.SbBox3s_swigregister -SbBox3s_swigregister(SbBox3s) - -class SoSFBox3s(SoSField): - """Proxy of C++ SoSFBox3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFBox3s""" - this = _coin.new_SoSFBox3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFBox3s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFBox3s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFBox3s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFBox3s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFBox3s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFBox3s_isSame(*args) - - def __eq__(*args): - """__eq__(self, SoSFBox3s field) -> int""" - return _coin.SoSFBox3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFBox3s field) -> int""" - return _coin.SoSFBox3s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFBox3s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbBox3s newvalue) - setValue(self, short xmin, short ymin, short zmin, short xmax, short ymax, - short zmax) - setValue(self, SbVec3s minvec, SbVec3s maxvec) - """ - return _coin.SoSFBox3s_setValue(*args) - - def getValue(*args): - """ - getValue(self) -> SbBox3s - getValue(self, SbBox3s box) - """ - return _coin.SoSFBox3s_getValue(*args) - -SoSFBox3s_swigregister = _coin.SoSFBox3s_swigregister -SoSFBox3s_swigregister(SoSFBox3s) - -def SoSFBox3s_createInstance(*args): - """SoSFBox3s_createInstance() -> void""" - return _coin.SoSFBox3s_createInstance(*args) - -def SoSFBox3s_getClassTypeId(*args): - """SoSFBox3s_getClassTypeId() -> SoType""" - return _coin.SoSFBox3s_getClassTypeId(*args) - -def SoSFBox3s_initClass(*args): - """SoSFBox3s_initClass()""" - return _coin.SoSFBox3s_initClass(*args) - -class SoSFImage3(SoSField): - """Proxy of C++ SoSFImage3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFImage3""" - this = _coin.new_SoSFImage3(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFImage3 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFImage3_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFImage3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFImage3_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFImage3_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFImage3_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFImage3_initClass(*args) - - initClass = staticmethod(initClass) - def getValue(*args): - """getValue(self, SbVec3s size) -> unsigned char""" - return _coin.SoSFImage3_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFImage3 field) -> int""" - return _coin.SoSFImage3___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFImage3 field) -> int""" - return _coin.SoSFImage3___ne__(*args) - - def startEditing(*args): - """startEditing(self, SbVec3s size) -> unsigned char""" - return _coin.SoSFImage3_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoSFImage3_finishEditing(*args) - - def setValue(*args): - """ - setValue(self, SbVec3s size, int nc, unsigned char bytes) - setValue(self, SbVec3s size, int nc, PyObject pixels) - setValue(self, SoSFImage3 other) - """ - return _coin.SoSFImage3_setValue(*args) - -SoSFImage3_swigregister = _coin.SoSFImage3_swigregister -SoSFImage3_swigregister(SoSFImage3) - -def SoSFImage3_createInstance(*args): - """SoSFImage3_createInstance() -> void""" - return _coin.SoSFImage3_createInstance(*args) - -def SoSFImage3_getClassTypeId(*args): - """SoSFImage3_getClassTypeId() -> SoType""" - return _coin.SoSFImage3_getClassTypeId(*args) - -def SoSFImage3_initClass(*args): - """SoSFImage3_initClass()""" - return _coin.SoSFImage3_initClass(*args) - -class SoSFMatrix(SoSField): - """Proxy of C++ SoSFMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFMatrix""" - this = _coin.new_SoSFMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFMatrix - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFMatrix_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFMatrix_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFMatrix_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFMatrix_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFMatrix_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbMatrix""" - return _coin.SoSFMatrix_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFMatrix field) -> int""" - return _coin.SoSFMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFMatrix field) -> int""" - return _coin.SoSFMatrix___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFMatrix_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbMatrix newvalue) - setValue(self, float a11, float a12, float a13, float a14, float a21, - float a22, float a23, float a24, float a31, - float a32, float a33, float a34, float a41, - float a42, float a43, float a44) - setValue(self, SoSFMatrix other) - """ - return _coin.SoSFMatrix_setValue(*args) - -SoSFMatrix_swigregister = _coin.SoSFMatrix_swigregister -SoSFMatrix_swigregister(SoSFMatrix) - -def SoSFMatrix_createInstance(*args): - """SoSFMatrix_createInstance() -> void""" - return _coin.SoSFMatrix_createInstance(*args) - -def SoSFMatrix_getClassTypeId(*args): - """SoSFMatrix_getClassTypeId() -> SoType""" - return _coin.SoSFMatrix_getClassTypeId(*args) - -def SoSFMatrix_initClass(*args): - """SoSFMatrix_initClass()""" - return _coin.SoSFMatrix_initClass(*args) - -class SoSFPlane(SoSField): - """Proxy of C++ SoSFPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFPlane""" - this = _coin.new_SoSFPlane(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFPlane - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFPlane_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFPlane_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFPlane_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFPlane_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbPlane""" - return _coin.SoSFPlane_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFPlane field) -> int""" - return _coin.SoSFPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFPlane field) -> int""" - return _coin.SoSFPlane___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFPlane_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbPlane newvalue) - setValue(self, SoSFPlane other) - """ - return _coin.SoSFPlane_setValue(*args) - -SoSFPlane_swigregister = _coin.SoSFPlane_swigregister -SoSFPlane_swigregister(SoSFPlane) - -def SoSFPlane_createInstance(*args): - """SoSFPlane_createInstance() -> void""" - return _coin.SoSFPlane_createInstance(*args) - -def SoSFPlane_getClassTypeId(*args): - """SoSFPlane_getClassTypeId() -> SoType""" - return _coin.SoSFPlane_getClassTypeId(*args) - -def SoSFPlane_initClass(*args): - """SoSFPlane_initClass()""" - return _coin.SoSFPlane_initClass(*args) - -class SoSFUInt32(SoSField): - """Proxy of C++ SoSFUInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFUInt32""" - this = _coin.new_SoSFUInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFUInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFUInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFUInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFUInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFUInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFUInt32_isSame(*args) - - def getValue(*args): - """getValue(self) -> uint32_t""" - return _coin.SoSFUInt32_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFUInt32 field) -> int""" - return _coin.SoSFUInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFUInt32 field) -> int""" - return _coin.SoSFUInt32___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFUInt32_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, uint32_t newvalue) - setValue(self, SoSFUInt32 other) - """ - return _coin.SoSFUInt32_setValue(*args) - -SoSFUInt32_swigregister = _coin.SoSFUInt32_swigregister -SoSFUInt32_swigregister(SoSFUInt32) - -def SoSFUInt32_createInstance(*args): - """SoSFUInt32_createInstance() -> void""" - return _coin.SoSFUInt32_createInstance(*args) - -def SoSFUInt32_getClassTypeId(*args): - """SoSFUInt32_getClassTypeId() -> SoType""" - return _coin.SoSFUInt32_getClassTypeId(*args) - -def SoSFUInt32_initClass(*args): - """SoSFUInt32_initClass()""" - return _coin.SoSFUInt32_initClass(*args) - -class SoSFVec2f(SoSField): - """Proxy of C++ SoSFVec2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2f""" - this = _coin.new_SoSFVec2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2f""" - return _coin.SoSFVec2f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2f field) -> int""" - return _coin.SoSFVec2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2f field) -> int""" - return _coin.SoSFVec2f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2f newvalue) - setValue(self, float x, float y) - setValue(self, float xy) - setValue(self, SoSFVec2f other) - """ - return _coin.SoSFVec2f_setValue(*args) - -SoSFVec2f_swigregister = _coin.SoSFVec2f_swigregister -SoSFVec2f_swigregister(SoSFVec2f) - -def SoSFVec2f_createInstance(*args): - """SoSFVec2f_createInstance() -> void""" - return _coin.SoSFVec2f_createInstance(*args) - -def SoSFVec2f_getClassTypeId(*args): - """SoSFVec2f_getClassTypeId() -> SoType""" - return _coin.SoSFVec2f_getClassTypeId(*args) - -def SoSFVec2f_initClass(*args): - """SoSFVec2f_initClass()""" - return _coin.SoSFVec2f_initClass(*args) - -class SoSFVec2s(SoSField): - """Proxy of C++ SoSFVec2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec2s""" - this = _coin.new_SoSFVec2s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec2s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec2s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec2s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec2s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec2s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec2s_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec2s""" - return _coin.SoSFVec2s_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec2s field) -> int""" - return _coin.SoSFVec2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec2s field) -> int""" - return _coin.SoSFVec2s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec2s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec2s newvalue) - setValue(self, short x, short y) - setValue(self, short xy) - """ - return _coin.SoSFVec2s_setValue(*args) - -SoSFVec2s_swigregister = _coin.SoSFVec2s_swigregister -SoSFVec2s_swigregister(SoSFVec2s) - -def SoSFVec2s_createInstance(*args): - """SoSFVec2s_createInstance() -> void""" - return _coin.SoSFVec2s_createInstance(*args) - -def SoSFVec2s_getClassTypeId(*args): - """SoSFVec2s_getClassTypeId() -> SoType""" - return _coin.SoSFVec2s_getClassTypeId(*args) - -def SoSFVec2s_initClass(*args): - """SoSFVec2s_initClass()""" - return _coin.SoSFVec2s_initClass(*args) - -class SoSFVec3d(SoSField): - """Proxy of C++ SoSFVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3d""" - this = _coin.new_SoSFVec3d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3d_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3d""" - return _coin.SoSFVec3d_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3d field) -> int""" - return _coin.SoSFVec3d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3d field) -> int""" - return _coin.SoSFVec3d___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3d_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3d newvalue) - setValue(self, double x, double y, double z) - setValue(self, double xyz) - """ - return _coin.SoSFVec3d_setValue(*args) - -SoSFVec3d_swigregister = _coin.SoSFVec3d_swigregister -SoSFVec3d_swigregister(SoSFVec3d) - -def SoSFVec3d_createInstance(*args): - """SoSFVec3d_createInstance() -> void""" - return _coin.SoSFVec3d_createInstance(*args) - -def SoSFVec3d_getClassTypeId(*args): - """SoSFVec3d_getClassTypeId() -> SoType""" - return _coin.SoSFVec3d_getClassTypeId(*args) - -def SoSFVec3d_initClass(*args): - """SoSFVec3d_initClass()""" - return _coin.SoSFVec3d_initClass(*args) - -class SoSFVec3s(SoSField): - """Proxy of C++ SoSFVec3s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec3s""" - this = _coin.new_SoSFVec3s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec3s - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec3s_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec3s_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec3s_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec3s_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec3s_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec3s""" - return _coin.SoSFVec3s_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec3s field) -> int""" - return _coin.SoSFVec3s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec3s field) -> int""" - return _coin.SoSFVec3s___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec3s_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec3s newvalue) - setValue(self, short x, short y, short z) - setValue(self, short xyz) - """ - return _coin.SoSFVec3s_setValue(*args) - -SoSFVec3s_swigregister = _coin.SoSFVec3s_swigregister -SoSFVec3s_swigregister(SoSFVec3s) - -def SoSFVec3s_createInstance(*args): - """SoSFVec3s_createInstance() -> void""" - return _coin.SoSFVec3s_createInstance(*args) - -def SoSFVec3s_getClassTypeId(*args): - """SoSFVec3s_getClassTypeId() -> SoType""" - return _coin.SoSFVec3s_getClassTypeId(*args) - -def SoSFVec3s_initClass(*args): - """SoSFVec3s_initClass()""" - return _coin.SoSFVec3s_initClass(*args) - -class SoSFVec4f(SoSField): - """Proxy of C++ SoSFVec4f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFVec4f""" - this = _coin.new_SoSFVec4f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFVec4f - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFVec4f_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFVec4f_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFVec4f_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFVec4f_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFVec4f_isSame(*args) - - def getValue(*args): - """getValue(self) -> SbVec4f""" - return _coin.SoSFVec4f_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFVec4f field) -> int""" - return _coin.SoSFVec4f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFVec4f field) -> int""" - return _coin.SoSFVec4f___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFVec4f_initClass(*args) - - initClass = staticmethod(initClass) - def setValue(*args): - """ - setValue(self, SbVec4f newvalue) - setValue(self, float x, float y, float z, float w) - setValue(self, float xyzw) - setValue(self, SoSFVec4f other) - """ - return _coin.SoSFVec4f_setValue(*args) - -SoSFVec4f_swigregister = _coin.SoSFVec4f_swigregister -SoSFVec4f_swigregister(SoSFVec4f) - -def SoSFVec4f_createInstance(*args): - """SoSFVec4f_createInstance() -> void""" - return _coin.SoSFVec4f_createInstance(*args) - -def SoSFVec4f_getClassTypeId(*args): - """SoSFVec4f_getClassTypeId() -> SoType""" - return _coin.SoSFVec4f_getClassTypeId(*args) - -def SoSFVec4f_initClass(*args): - """SoSFVec4f_initClass()""" - return _coin.SoSFVec4f_initClass(*args) - -class SoSFEngine(SoSField): - """Proxy of C++ SoSFEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSFEngine""" - this = _coin.new_SoSFEngine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSFEngine - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoSFEngine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSFEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSFEngine_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoSFEngine_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoSFEngine_isSame(*args) - - def getValue(*args): - """getValue(self) -> SoEngine""" - return _coin.SoSFEngine_getValue(*args) - - def __eq__(*args): - """__eq__(self, SoSFEngine field) -> int""" - return _coin.SoSFEngine___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoSFEngine field) -> int""" - return _coin.SoSFEngine___ne__(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSFEngine_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoSFEngine_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoSFEngine_referencesCopy(*args) - - def setValue(*args): - """ - setValue(self, SoEngine newvalue) - setValue(self, SoSFEngine other) - """ - return _coin.SoSFEngine_setValue(*args) - -SoSFEngine_swigregister = _coin.SoSFEngine_swigregister -SoSFEngine_swigregister(SoSFEngine) - -def SoSFEngine_createInstance(*args): - """SoSFEngine_createInstance() -> void""" - return _coin.SoSFEngine_createInstance(*args) - -def SoSFEngine_getClassTypeId(*args): - """SoSFEngine_getClassTypeId() -> SoType""" - return _coin.SoSFEngine_getClassTypeId(*args) - -def SoSFEngine_initClass(*args): - """SoSFEngine_initClass()""" - return _coin.SoSFEngine_initClass(*args) - -class SoMFColor(SoMField): - """Proxy of C++ SoMFColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFColor""" - this = _coin.new_SoMFColor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFColor - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFColor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFColor_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFColor_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFColor_isSame(*args) - - def find(*args): - """ - find(self, SbColor value, SbBool addifnotfound=0) -> int - find(self, SbColor value) -> int - """ - return _coin.SoMFColor_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFColor field) -> SbBool""" - return _coin.SoMFColor___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFColor field) -> SbBool""" - return _coin.SoMFColor___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbColor""" - return _coin.SoMFColor_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFColor_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, float userdata) - setValuesPointer(self, int num, SbColor userdata) - setValuesPointer(self, int num, SbColor userdata) - """ - return _coin.SoMFColor_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFColor_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFColor_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFColor_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFColor_setValues,args) - - - def setHSVValues(*args): - """setHSVValues(self, int start, int num, float hsv)""" - return _coin.SoMFColor_setHSVValues(*args) - - def setHSVValue(*args): - """ - setHSVValue(self, float h, float s, float v) - setHSVValue(self, float hsv) - """ - return _coin.SoMFColor_setHSVValue(*args) - - def set1Value(*args): - """ - set1Value(self, int idx, SbColor value) - set1Value(self, int idx, SbVec3f vec) - set1Value(self, int idx, float r, float g, float b) - set1Value(self, int idx, float rgb) - """ - return _coin.SoMFColor_set1Value(*args) - - def set1HSVValue(*args): - """ - set1HSVValue(self, int idx, float h, float s, float v) - set1HSVValue(self, int idx, float hsv) - """ - return _coin.SoMFColor_set1HSVValue(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbColor""" - return _coin.SoMFColor___getitem__(*args) - - def __setitem__(*args): - """ - __setitem__(self, int i, SbColor value) - __setitem__(self, int i, float rgb) - """ - return _coin.SoMFColor___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbColor value) - setValue(self, SbVec3f vec) - setValue(self, float r, float g, float b) - setValue(self, float rgb) - setValue(self, SoMFColor other) - """ - return _coin.SoMFColor_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbColor - getValues(self, int len) -> SbColor - """ - return _coin.SoMFColor_getValues(*args) - -SoMFColor_swigregister = _coin.SoMFColor_swigregister -SoMFColor_swigregister(SoMFColor) - -def SoMFColor_createInstance(*args): - """SoMFColor_createInstance() -> void""" - return _coin.SoMFColor_createInstance(*args) - -def SoMFColor_getClassTypeId(*args): - """SoMFColor_getClassTypeId() -> SoType""" - return _coin.SoMFColor_getClassTypeId(*args) - -def SoMFColor_initClass(*args): - """SoMFColor_initClass()""" - return _coin.SoMFColor_initClass(*args) - -class SoMFEngine(SoMField): - """Proxy of C++ SoMFEngine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFEngine""" - this = _coin.new_SoMFEngine(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFEngine - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFEngine_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFEngine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFEngine_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFEngine_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFEngine_isSame(*args) - - def find(*args): - """ - find(self, SoEngine value, SbBool addifnotfound=0) -> int - find(self, SoEngine value) -> int - """ - return _coin.SoMFEngine_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFEngine_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFEngine_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFEngine_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoEngine value)""" - return _coin.SoMFEngine_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFEngine field) -> SbBool""" - return _coin.SoMFEngine___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFEngine field) -> SbBool""" - return _coin.SoMFEngine___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoEngine""" - return _coin.SoMFEngine_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFEngine_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFEngine_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFEngine_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFEngine_referencesCopy(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFEngine_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFEngine_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoEngine""" - return _coin.SoMFEngine___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoEngine value)""" - return _coin.SoMFEngine___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoEngine value) - setValue(self, SoMFEngine other) - """ - return _coin.SoMFEngine_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoEngine - getValues(self, int len) -> SoEngine - """ - return _coin.SoMFEngine_getValues(*args) - -SoMFEngine_swigregister = _coin.SoMFEngine_swigregister -SoMFEngine_swigregister(SoMFEngine) - -def SoMFEngine_createInstance(*args): - """SoMFEngine_createInstance() -> void""" - return _coin.SoMFEngine_createInstance(*args) - -def SoMFEngine_getClassTypeId(*args): - """SoMFEngine_getClassTypeId() -> SoType""" - return _coin.SoMFEngine_getClassTypeId(*args) - -def SoMFEngine_initClass(*args): - """SoMFEngine_initClass()""" - return _coin.SoMFEngine_initClass(*args) - -class SoMFBitMask(SoMFEnum): - """Proxy of C++ SoMFBitMask class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFBitMask""" - this = _coin.new_SoMFBitMask(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFBitMask - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFBitMask_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFBitMask_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFBitMask_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFBitMask_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFBitMask_isSame(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFBitMask_initClass(*args) - - initClass = staticmethod(initClass) -SoMFBitMask_swigregister = _coin.SoMFBitMask_swigregister -SoMFBitMask_swigregister(SoMFBitMask) - -def SoMFBitMask_createInstance(*args): - """SoMFBitMask_createInstance() -> void""" - return _coin.SoMFBitMask_createInstance(*args) - -def SoMFBitMask_getClassTypeId(*args): - """SoMFBitMask_getClassTypeId() -> SoType""" - return _coin.SoMFBitMask_getClassTypeId(*args) - -def SoMFBitMask_initClass(*args): - """SoMFBitMask_initClass()""" - return _coin.SoMFBitMask_initClass(*args) - -class SoMFInt32(SoMField): - """Proxy of C++ SoMFInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFInt32""" - this = _coin.new_SoMFInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFInt32_isSame(*args) - - def find(*args): - """ - find(self, int32_t value, SbBool addifnotfound=0) -> int - find(self, int32_t value) -> int - """ - return _coin.SoMFInt32_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFInt32): - val = args[1].getValues() - return _coin.SoMFInt32_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFInt32_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFInt32): - val = args[2].getValues() - return _coin.SoMFInt32_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFInt32_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFInt32_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, int32_t value)""" - return _coin.SoMFInt32_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFInt32 field) -> SbBool""" - return _coin.SoMFInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFInt32 field) -> SbBool""" - return _coin.SoMFInt32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> int32_t""" - return _coin.SoMFInt32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFInt32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, int32_t userdata) - setValuesPointer(self, int num, int32_t userdata) - """ - return _coin.SoMFInt32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFInt32_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> int32_t""" - return _coin.SoMFInt32___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, int32_t value)""" - return _coin.SoMFInt32___setitem__(*args) - - def setValue(*args): - """ - setValue(self, int32_t value) - setValue(self, SoMFInt32 other) - """ - return _coin.SoMFInt32_setValue(*args) - - def getValues(*args): - """ - getValues(self, int32_t len, int32_t i=0) -> int32_t - getValues(self, int32_t len) -> int32_t - """ - return _coin.SoMFInt32_getValues(*args) - -SoMFInt32_swigregister = _coin.SoMFInt32_swigregister -SoMFInt32_swigregister(SoMFInt32) - -def SoMFInt32_createInstance(*args): - """SoMFInt32_createInstance() -> void""" - return _coin.SoMFInt32_createInstance(*args) - -def SoMFInt32_getClassTypeId(*args): - """SoMFInt32_getClassTypeId() -> SoType""" - return _coin.SoMFInt32_getClassTypeId(*args) - -def SoMFInt32_initClass(*args): - """SoMFInt32_initClass()""" - return _coin.SoMFInt32_initClass(*args) - -class SoMFNode(SoMField): - """Proxy of C++ SoMFNode class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFNode""" - this = _coin.new_SoMFNode(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFNode - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFNode_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFNode_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFNode_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFNode_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFNode_isSame(*args) - - def find(*args): - """ - find(self, SoNode value, SbBool addifnotfound=0) -> int - find(self, SoNode value) -> int - """ - return _coin.SoMFNode_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFNode_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFNode_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFNode_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoNode value)""" - return _coin.SoMFNode_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFNode field) -> SbBool""" - return _coin.SoMFNode___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFNode field) -> SbBool""" - return _coin.SoMFNode___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoNode""" - return _coin.SoMFNode_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFNode_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFNode_initClass(*args) - - initClass = staticmethod(initClass) - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFNode_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFNode_referencesCopy(*args) - - def addNode(*args): - """addNode(self, SoNode node)""" - return _coin.SoMFNode_addNode(*args) - - def insertNode(*args): - """insertNode(self, SoNode node, int idx)""" - return _coin.SoMFNode_insertNode(*args) - - def getNode(*args): - """getNode(self, int idx) -> SoNode""" - return _coin.SoMFNode_getNode(*args) - - def findNode(*args): - """findNode(self, SoNode node) -> int""" - return _coin.SoMFNode_findNode(*args) - - def getNumNodes(*args): - """getNumNodes(self) -> int""" - return _coin.SoMFNode_getNumNodes(*args) - - def removeNode(*args): - """ - removeNode(self, int index) - removeNode(self, SoNode node) - """ - return _coin.SoMFNode_removeNode(*args) - - def removeAllNodes(*args): - """removeAllNodes(self)""" - return _coin.SoMFNode_removeAllNodes(*args) - - def replaceNode(*args): - """ - replaceNode(self, int idx, SoNode newnode) - replaceNode(self, SoNode oldnode, SoNode newnode) - """ - return _coin.SoMFNode_replaceNode(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFNode_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFNode_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoNode""" - return _coin.SoMFNode___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoNode value)""" - return _coin.SoMFNode___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoNode value) - setValue(self, SoMFNode other) - """ - return _coin.SoMFNode_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoNode - getValues(self, int len) -> SoNode - """ - return _coin.SoMFNode_getValues(*args) - -SoMFNode_swigregister = _coin.SoMFNode_swigregister -SoMFNode_swigregister(SoMFNode) - -def SoMFNode_createInstance(*args): - """SoMFNode_createInstance() -> void""" - return _coin.SoMFNode_createInstance(*args) - -def SoMFNode_getClassTypeId(*args): - """SoMFNode_getClassTypeId() -> SoType""" - return _coin.SoMFNode_getClassTypeId(*args) - -def SoMFNode_initClass(*args): - """SoMFNode_initClass()""" - return _coin.SoMFNode_initClass(*args) - -class SoMFPath(SoMField): - """Proxy of C++ SoMFPath class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFPath""" - this = _coin.new_SoMFPath(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFPath - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFPath_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFPath_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFPath_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFPath_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFPath_isSame(*args) - - def find(*args): - """ - find(self, SoPath value, SbBool addifnotfound=0) -> int - find(self, SoPath value) -> int - """ - return _coin.SoMFPath_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFPath_setValues(args[0], 0, len(args[1]), args[1]) - elif len(args) == 3: - return _coin.SoMFPath_setValues(args[0], args[1], len(args[2]), args[2]) - return apply(_coin.SoMFPath_setValues,args) - - - def set1Value(*args): - """set1Value(self, int idx, SoPath value)""" - return _coin.SoMFPath_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFPath field) -> SbBool""" - return _coin.SoMFPath___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFPath field) -> SbBool""" - return _coin.SoMFPath___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SoPath""" - return _coin.SoMFPath_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFPath_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFPath_initClass(*args) - - initClass = staticmethod(initClass) - def notify(*args): - """notify(self, SoNotList l)""" - return _coin.SoMFPath_notify(*args) - - def fixCopy(*args): - """fixCopy(self, SbBool copyconnections)""" - return _coin.SoMFPath_fixCopy(*args) - - def referencesCopy(*args): - """referencesCopy(self) -> SbBool""" - return _coin.SoMFPath_referencesCopy(*args) - - def deleteValues(*args): - """ - deleteValues(self, int start, int num=-1) - deleteValues(self, int start) - """ - return _coin.SoMFPath_deleteValues(*args) - - def insertSpace(*args): - """insertSpace(self, int start, int num)""" - return _coin.SoMFPath_insertSpace(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SoPath""" - return _coin.SoMFPath___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SoPath value)""" - return _coin.SoMFPath___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SoPath value) - setValue(self, SoMFPath other) - """ - return _coin.SoMFPath_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SoPath - getValues(self, int len) -> SoPath - """ - return _coin.SoMFPath_getValues(*args) - -SoMFPath_swigregister = _coin.SoMFPath_swigregister -SoMFPath_swigregister(SoMFPath) - -def SoMFPath_createInstance(*args): - """SoMFPath_createInstance() -> void""" - return _coin.SoMFPath_createInstance(*args) - -def SoMFPath_getClassTypeId(*args): - """SoMFPath_getClassTypeId() -> SoType""" - return _coin.SoMFPath_getClassTypeId(*args) - -def SoMFPath_initClass(*args): - """SoMFPath_initClass()""" - return _coin.SoMFPath_initClass(*args) - -class SoMFPlane(SoMField): - """Proxy of C++ SoMFPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFPlane""" - this = _coin.new_SoMFPlane(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFPlane - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFPlane_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFPlane_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFPlane_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFPlane_isSame(*args) - - def find(*args): - """ - find(self, SbPlane value, SbBool addifnotfound=0) -> int - find(self, SbPlane value) -> int - """ - return _coin.SoMFPlane_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFPlane_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFPlane_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFPlane_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbPlane value)""" - return _coin.SoMFPlane_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFPlane field) -> SbBool""" - return _coin.SoMFPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFPlane field) -> SbBool""" - return _coin.SoMFPlane___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbPlane""" - return _coin.SoMFPlane_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFPlane_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFPlane_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbPlane""" - return _coin.SoMFPlane___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbPlane value)""" - return _coin.SoMFPlane___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbPlane - getValues(self, int len) -> SbPlane - """ - return _coin.SoMFPlane_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbPlane value) - setValue(self, SoMFPlane other) - """ - return _coin.SoMFPlane_setValue(*args) - -SoMFPlane_swigregister = _coin.SoMFPlane_swigregister -SoMFPlane_swigregister(SoMFPlane) - -def SoMFPlane_createInstance(*args): - """SoMFPlane_createInstance() -> void""" - return _coin.SoMFPlane_createInstance(*args) - -def SoMFPlane_getClassTypeId(*args): - """SoMFPlane_getClassTypeId() -> SoType""" - return _coin.SoMFPlane_getClassTypeId(*args) - -def SoMFPlane_initClass(*args): - """SoMFPlane_initClass()""" - return _coin.SoMFPlane_initClass(*args) - -class SoMFShort(SoMField): - """Proxy of C++ SoMFShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFShort""" - this = _coin.new_SoMFShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFShort_isSame(*args) - - def find(*args): - """ - find(self, short value, SbBool addifnotfound=0) -> int - find(self, short value) -> int - """ - return _coin.SoMFShort_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFShort_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFShort_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFShort_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, short value)""" - return _coin.SoMFShort_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFShort field) -> SbBool""" - return _coin.SoMFShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFShort field) -> SbBool""" - return _coin.SoMFShort___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> short""" - return _coin.SoMFShort_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFShort_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, short userdata) - setValuesPointer(self, int num, short userdata) - """ - return _coin.SoMFShort_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFShort_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SoMFShort___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SoMFShort___setitem__(*args) - - def setValue(*args): - """ - setValue(self, short value) - setValue(self, SoMFShort other) - """ - return _coin.SoMFShort_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> short - getValues(self, int len) -> short - """ - return _coin.SoMFShort_getValues(*args) - -SoMFShort_swigregister = _coin.SoMFShort_swigregister -SoMFShort_swigregister(SoMFShort) - -def SoMFShort_createInstance(*args): - """SoMFShort_createInstance() -> void""" - return _coin.SoMFShort_createInstance(*args) - -def SoMFShort_getClassTypeId(*args): - """SoMFShort_getClassTypeId() -> SoType""" - return _coin.SoMFShort_getClassTypeId(*args) - -def SoMFShort_initClass(*args): - """SoMFShort_initClass()""" - return _coin.SoMFShort_initClass(*args) - -class SoMFTime(SoMField): - """Proxy of C++ SoMFTime class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFTime""" - this = _coin.new_SoMFTime(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFTime - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFTime_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFTime_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFTime_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFTime_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFTime_isSame(*args) - - def find(*args): - """ - find(self, SbTime value, SbBool addifnotfound=0) -> int - find(self, SbTime value) -> int - """ - return _coin.SoMFTime_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFTime_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFTime_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFTime_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, SbTime value)""" - return _coin.SoMFTime_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFTime field) -> SbBool""" - return _coin.SoMFTime___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFTime field) -> SbBool""" - return _coin.SoMFTime___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbTime""" - return _coin.SoMFTime_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFTime_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFTime_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> SbTime""" - return _coin.SoMFTime___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbTime value)""" - return _coin.SoMFTime___setitem__(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbTime - getValues(self, int len) -> SbTime - """ - return _coin.SoMFTime_getValues(*args) - - def setValue(*args): - """ - setValue(self, SbTime value) - setValue(self, SoMFTime other) - """ - return _coin.SoMFTime_setValue(*args) - -SoMFTime_swigregister = _coin.SoMFTime_swigregister -SoMFTime_swigregister(SoMFTime) - -def SoMFTime_createInstance(*args): - """SoMFTime_createInstance() -> void""" - return _coin.SoMFTime_createInstance(*args) - -def SoMFTime_getClassTypeId(*args): - """SoMFTime_getClassTypeId() -> SoType""" - return _coin.SoMFTime_getClassTypeId(*args) - -def SoMFTime_initClass(*args): - """SoMFTime_initClass()""" - return _coin.SoMFTime_initClass(*args) - -class SoMFUInt32(SoMField): - """Proxy of C++ SoMFUInt32 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFUInt32""" - this = _coin.new_SoMFUInt32(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFUInt32 - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFUInt32_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFUInt32_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFUInt32_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFUInt32_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFUInt32_isSame(*args) - - def find(*args): - """ - find(self, uint32_t value, SbBool addifnotfound=0) -> int - find(self, uint32_t value) -> int - """ - return _coin.SoMFUInt32_find(*args) - - def setValues(*args): - if len(args) == 2: - if isinstance(args[1], SoMFUInt32): - val = args[1].getValues() - return _coin.SoMFUInt32_setValues(args[0],0,len(val),val) - else: - return _coin.SoMFUInt32_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - if isinstance(args[2], SoMFUInt32): - val = args[2].getValues() - return _coin.SoMFUInt32_setValues(args[0],args[1],len(val),val) - else: - return _coin.SoMFUInt32_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFUInt32_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, uint32_t value)""" - return _coin.SoMFUInt32_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFUInt32 field) -> SbBool""" - return _coin.SoMFUInt32___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFUInt32 field) -> SbBool""" - return _coin.SoMFUInt32___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> uint32_t""" - return _coin.SoMFUInt32_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFUInt32_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, uint32_t userdata) - setValuesPointer(self, int num, uint32_t userdata) - """ - return _coin.SoMFUInt32_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFUInt32_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> uint32_t""" - return _coin.SoMFUInt32___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, uint32_t value)""" - return _coin.SoMFUInt32___setitem__(*args) - - def setValue(*args): - """ - setValue(self, uint32_t value) - setValue(self, SoMFUInt32 other) - """ - return _coin.SoMFUInt32_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> uint32_t - getValues(self, int len) -> uint32_t - """ - return _coin.SoMFUInt32_getValues(*args) - -SoMFUInt32_swigregister = _coin.SoMFUInt32_swigregister -SoMFUInt32_swigregister(SoMFUInt32) - -def SoMFUInt32_createInstance(*args): - """SoMFUInt32_createInstance() -> void""" - return _coin.SoMFUInt32_createInstance(*args) - -def SoMFUInt32_getClassTypeId(*args): - """SoMFUInt32_getClassTypeId() -> SoType""" - return _coin.SoMFUInt32_getClassTypeId(*args) - -def SoMFUInt32_initClass(*args): - """SoMFUInt32_initClass()""" - return _coin.SoMFUInt32_initClass(*args) - -class SoMFUShort(SoMField): - """Proxy of C++ SoMFUShort class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFUShort""" - this = _coin.new_SoMFUShort(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFUShort - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFUShort_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFUShort_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFUShort_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFUShort_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFUShort_isSame(*args) - - def find(*args): - """ - find(self, unsigned short value, SbBool addifnotfound=0) -> int - find(self, unsigned short value) -> int - """ - return _coin.SoMFUShort_find(*args) - - def setValues(*args): - if len(args) == 2: - return _coin.SoMFUShort_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFUShort_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFUShort_setValues(*args) - - - def set1Value(*args): - """set1Value(self, int idx, unsigned short value)""" - return _coin.SoMFUShort_set1Value(*args) - - def __eq__(*args): - """__eq__(self, SoMFUShort field) -> SbBool""" - return _coin.SoMFUShort___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFUShort field) -> SbBool""" - return _coin.SoMFUShort___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> unsigned short""" - return _coin.SoMFUShort_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFUShort_finishEditing(*args) - - def setValuesPointer(*args): - """ - setValuesPointer(self, int num, unsigned short userdata) - setValuesPointer(self, int num, unsigned short userdata) - """ - return _coin.SoMFUShort_setValuesPointer(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFUShort_initClass(*args) - - initClass = staticmethod(initClass) - def __getitem__(*args): - """__getitem__(self, int i) -> short""" - return _coin.SoMFUShort___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, short value)""" - return _coin.SoMFUShort___setitem__(*args) - - def setValue(*args): - """ - setValue(self, unsigned short value) - setValue(self, SoMFUShort other) - """ - return _coin.SoMFUShort_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> unsigned short - getValues(self, int len) -> unsigned short - """ - return _coin.SoMFUShort_getValues(*args) - -SoMFUShort_swigregister = _coin.SoMFUShort_swigregister -SoMFUShort_swigregister(SoMFUShort) - -def SoMFUShort_createInstance(*args): - """SoMFUShort_createInstance() -> void""" - return _coin.SoMFUShort_createInstance(*args) - -def SoMFUShort_getClassTypeId(*args): - """SoMFUShort_getClassTypeId() -> SoType""" - return _coin.SoMFUShort_getClassTypeId(*args) - -def SoMFUShort_initClass(*args): - """SoMFUShort_initClass()""" - return _coin.SoMFUShort_initClass(*args) - -class SoMFVec3d(SoMField): - """Proxy of C++ SoMFVec3d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoMFVec3d""" - this = _coin.new_SoMFVec3d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoMFVec3d - __del__ = lambda self : None; - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoMFVec3d_createInstance(*args) - - createInstance = staticmethod(createInstance) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMFVec3d_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMFVec3d_getTypeId(*args) - - def copyFrom(*args): - """copyFrom(self, SoField field)""" - return _coin.SoMFVec3d_copyFrom(*args) - - def isSame(*args): - """isSame(self, SoField field) -> SbBool""" - return _coin.SoMFVec3d_isSame(*args) - - def find(*args): - """ - find(self, SbVec3d value, SbBool addifnotfound=0) -> int - find(self, SbVec3d value) -> int - """ - return _coin.SoMFVec3d_find(*args) - - def __eq__(*args): - """__eq__(self, SoMFVec3d field) -> SbBool""" - return _coin.SoMFVec3d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SoMFVec3d field) -> SbBool""" - return _coin.SoMFVec3d___ne__(*args) - - def startEditing(*args): - """startEditing(self) -> SbVec3d""" - return _coin.SoMFVec3d_startEditing(*args) - - def finishEditing(*args): - """finishEditing(self)""" - return _coin.SoMFVec3d_finishEditing(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMFVec3d_initClass(*args) - - initClass = staticmethod(initClass) - def setValues(*args): - if len(args) == 2: - return _coin.SoMFVec3d_setValues(args[0],0,len(args[1]),args[1]) - elif len(args) == 3: - return _coin.SoMFVec3d_setValues(args[0],args[1],len(args[2]),args[2]) - return _coin.SoMFVec3d_setValues(*args) - - - def set1Value(*args): - """ - set1Value(self, int idx, SbVec3d value) - set1Value(self, int idx, double x, double y, double z) - set1Value(self, int idx, double xyz) - """ - return _coin.SoMFVec3d_set1Value(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3d""" - return _coin.SoMFVec3d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3d value)""" - return _coin.SoMFVec3d___setitem__(*args) - - def setValue(*args): - """ - setValue(self, SbVec3d value) - setValue(self, double x, double y, double z) - setValue(self, double xyz) - setValue(self, SoMFVec3d other) - """ - return _coin.SoMFVec3d_setValue(*args) - - def getValues(*args): - """ - getValues(self, int len, int i=0) -> SbVec3d - getValues(self, int len) -> SbVec3d - """ - return _coin.SoMFVec3d_getValues(*args) - -SoMFVec3d_swigregister = _coin.SoMFVec3d_swigregister -SoMFVec3d_swigregister(SoMFVec3d) - -def SoMFVec3d_createInstance(*args): - """SoMFVec3d_createInstance() -> void""" - return _coin.SoMFVec3d_createInstance(*args) - -def SoMFVec3d_getClassTypeId(*args): - """SoMFVec3d_getClassTypeId() -> SoType""" - return _coin.SoMFVec3d_getClassTypeId(*args) - -def SoMFVec3d_initClass(*args): - """SoMFVec3d_initClass()""" - return _coin.SoMFVec3d_initClass(*args) - -class SbStringList(SbPList): - """Proxy of C++ SbStringList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbStringList - __init__(self, int sizehint) -> SbStringList - """ - this = _coin.new_SbStringList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): - """append(self, SbString string)""" - return _coin.SbStringList_append(*args) - - def find(*args): - """find(self, SbString string) -> int""" - return _coin.SbStringList_find(*args) - - def insert(*args): - """insert(self, SbString string, int insertbefore)""" - return _coin.SbStringList_insert(*args) - - def getArrayPtr(*args): - """getArrayPtr(self) -> SbString""" - return _coin.SbStringList_getArrayPtr(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbString value)""" - return _coin.SbStringList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbString""" - return _coin.SbStringList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SbString""" - return _coin.SbStringList_get(*args) - - __swig_destroy__ = _coin.delete_SbStringList - __del__ = lambda self : None; -SbStringList_swigregister = _coin.SbStringList_swigregister -SbStringList_swigregister(SbStringList) - -class SbVec3fList(SbPList): - """Proxy of C++ SbVec3fList class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbVec3fList""" - this = _coin.new_SbVec3fList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbVec3fList - __del__ = lambda self : None; - def append(*args): - """append(self, SbVec3f item)""" - return _coin.SbVec3fList_append(*args) - - def insert(*args): - """insert(self, SbVec3f item, int insertbefore)""" - return _coin.SbVec3fList_insert(*args) - - def __setitem__(*args): - """__setitem__(self, int i, SbVec3f value)""" - return _coin.SbVec3fList___setitem__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> SbVec3f""" - return _coin.SbVec3fList___getitem__(*args) - - def get(*args): - """get(self, int i) -> SbVec3f""" - return _coin.SbVec3fList_get(*args) - -SbVec3fList_swigregister = _coin.SbVec3fList_swigregister -SbVec3fList_swigregister(SbVec3fList) - -class SoLockManager(object): - """Proxy of C++ SoLockManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def SetUnlockString(*args): - """SetUnlockString(char unlockstr)""" - return _coin.SoLockManager_SetUnlockString(*args) - - SetUnlockString = staticmethod(SetUnlockString) - def GetUnlockString(*args): - """GetUnlockString() -> char""" - return _coin.SoLockManager_GetUnlockString(*args) - - GetUnlockString = staticmethod(GetUnlockString) - def __init__(self, *args): - """__init__(self) -> SoLockManager""" - this = _coin.new_SoLockManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoLockManager - __del__ = lambda self : None; -SoLockManager_swigregister = _coin.SoLockManager_swigregister -SoLockManager_swigregister(SoLockManager) - -def SoLockManager_SetUnlockString(*args): - """SoLockManager_SetUnlockString(char unlockstr)""" - return _coin.SoLockManager_SetUnlockString(*args) - -def SoLockManager_GetUnlockString(*args): - """SoLockManager_GetUnlockString() -> char""" - return _coin.SoLockManager_GetUnlockString(*args) - -class SoTransform(SoTransformation): - """Proxy of C++ SoTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransform""" - this = _coin.new_SoTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTransform_translation_get, _coin.SoTransform_translation_set) - rotation = _swig_property(_coin.SoTransform_rotation_get, _coin.SoTransform_rotation_set) - scaleFactor = _swig_property(_coin.SoTransform_scaleFactor_get, _coin.SoTransform_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoTransform_scaleOrientation_get, _coin.SoTransform_scaleOrientation_set) - center = _swig_property(_coin.SoTransform_center_get, _coin.SoTransform_center_set) - def pointAt(*args): - """pointAt(self, SbVec3f frompoint, SbVec3f topoint)""" - return _coin.SoTransform_pointAt(*args) - - def getScaleSpaceMatrix(*args): - """getScaleSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getScaleSpaceMatrix(*args) - - def getRotationSpaceMatrix(*args): - """getRotationSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getRotationSpaceMatrix(*args) - - def getTranslationSpaceMatrix(*args): - """getTranslationSpaceMatrix(self, SbMatrix mat, SbMatrix inv)""" - return _coin.SoTransform_getTranslationSpaceMatrix(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix mat)""" - return _coin.SoTransform_multLeft(*args) - - def multRight(*args): - """multRight(self, SbMatrix mat)""" - return _coin.SoTransform_multRight(*args) - - def combineLeft(*args): - """combineLeft(self, SoTransformation nodeonright)""" - return _coin.SoTransform_combineLeft(*args) - - def combineRight(*args): - """combineRight(self, SoTransformation nodeonleft)""" - return _coin.SoTransform_combineRight(*args) - - def setMatrix(*args): - """setMatrix(self, SbMatrix mat)""" - return _coin.SoTransform_setMatrix(*args) - - def recenter(*args): - """recenter(self, SbVec3f newcenter)""" - return _coin.SoTransform_recenter(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransform_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransform_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransform_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTransform_getPrimitiveCount(*args) - -SoTransform_swigregister = _coin.SoTransform_swigregister -SoTransform_swigregister(SoTransform) - -def SoTransform_getClassTypeId(*args): - """SoTransform_getClassTypeId() -> SoType""" - return _coin.SoTransform_getClassTypeId(*args) - -def SoTransform_initClass(*args): - """SoTransform_initClass()""" - return _coin.SoTransform_initClass(*args) - -class SoTransformManip(SoTransform): - """Proxy of C++ SoTransformManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformManip""" - this = _coin.new_SoTransformManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoTransformManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoTransformManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoTransform newone) -> SbBool""" - return _coin.SoTransformManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransformManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransformManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransformManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransformManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransformManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoTransformManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransformManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoTransformManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoTransformManip_getChildren(*args) - -SoTransformManip_swigregister = _coin.SoTransformManip_swigregister -SoTransformManip_swigregister(SoTransformManip) - -def SoTransformManip_getClassTypeId(*args): - """SoTransformManip_getClassTypeId() -> SoType""" - return _coin.SoTransformManip_getClassTypeId(*args) - -def SoTransformManip_initClass(*args): - """SoTransformManip_initClass()""" - return _coin.SoTransformManip_initClass(*args) - -class SoCenterballManip(SoTransformManip): - """Proxy of C++ SoCenterballManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCenterballManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCenterballManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCenterballManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCenterballManip""" - this = _coin.new_SoCenterballManip(*args) - try: self.this.append(this) - except: self.this = this -SoCenterballManip_swigregister = _coin.SoCenterballManip_swigregister -SoCenterballManip_swigregister(SoCenterballManip) - -def SoCenterballManip_getClassTypeId(*args): - """SoCenterballManip_getClassTypeId() -> SoType""" - return _coin.SoCenterballManip_getClassTypeId(*args) - -def SoCenterballManip_initClass(*args): - """SoCenterballManip_initClass()""" - return _coin.SoCenterballManip_initClass(*args) - -class SoClipPlane(SoNode): - """Proxy of C++ SoClipPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoClipPlane_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoClipPlane_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoClipPlane""" - this = _coin.new_SoClipPlane(*args) - try: self.this.append(this) - except: self.this = this - plane = _swig_property(_coin.SoClipPlane_plane_get, _coin.SoClipPlane_plane_set) - on = _swig_property(_coin.SoClipPlane_on_get, _coin.SoClipPlane_on_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoClipPlane_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoClipPlane_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoClipPlane_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoClipPlane_pick(*args) - -SoClipPlane_swigregister = _coin.SoClipPlane_swigregister -SoClipPlane_swigregister(SoClipPlane) - -def SoClipPlane_getClassTypeId(*args): - """SoClipPlane_getClassTypeId() -> SoType""" - return _coin.SoClipPlane_getClassTypeId(*args) - -def SoClipPlane_initClass(*args): - """SoClipPlane_initClass()""" - return _coin.SoClipPlane_initClass(*args) - -class SoClipPlaneManip(SoClipPlane): - """Proxy of C++ SoClipPlaneManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoClipPlaneManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoClipPlaneManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoClipPlaneManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoClipPlaneManip""" - this = _coin.new_SoClipPlaneManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoClipPlaneManip_getDragger(*args) - - def setValue(*args): - """setValue(self, SbBox3f box, SbVec3f planenormal, float draggerscalefactor)""" - return _coin.SoClipPlaneManip_setValue(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoClipPlaneManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoClipPlane newone) -> SbBool""" - return _coin.SoClipPlaneManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoClipPlaneManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoClipPlaneManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoClipPlaneManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoClipPlaneManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoClipPlaneManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoClipPlaneManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoClipPlaneManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoClipPlaneManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoClipPlaneManip_getChildren(*args) - - draggerPosition = _swig_property(_coin.SoClipPlaneManip_draggerPosition_get, _coin.SoClipPlaneManip_draggerPosition_set) -SoClipPlaneManip_swigregister = _coin.SoClipPlaneManip_swigregister -SoClipPlaneManip_swigregister(SoClipPlaneManip) - -def SoClipPlaneManip_getClassTypeId(*args): - """SoClipPlaneManip_getClassTypeId() -> SoType""" - return _coin.SoClipPlaneManip_getClassTypeId(*args) - -def SoClipPlaneManip_initClass(*args): - """SoClipPlaneManip_initClass()""" - return _coin.SoClipPlaneManip_initClass(*args) - -class SoLight(SoNode): - """Proxy of C++ SoLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLight_initClass(*args) - - initClass = staticmethod(initClass) - on = _swig_property(_coin.SoLight_on_get, _coin.SoLight_on_set) - intensity = _swig_property(_coin.SoLight_intensity_get, _coin.SoLight_intensity_set) - color = _swig_property(_coin.SoLight_color_get, _coin.SoLight_color_set) - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLight_callback(*args) - -SoLight_swigregister = _coin.SoLight_swigregister -SoLight_swigregister(SoLight) - -def SoLight_getClassTypeId(*args): - """SoLight_getClassTypeId() -> SoType""" - return _coin.SoLight_getClassTypeId(*args) - -def SoLight_initClass(*args): - """SoLight_initClass()""" - return _coin.SoLight_initClass(*args) - -class SoDirectionalLight(SoLight): - """Proxy of C++ SoDirectionalLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLight""" - this = _coin.new_SoDirectionalLight(*args) - try: self.this.append(this) - except: self.this = this - direction = _swig_property(_coin.SoDirectionalLight_direction_get, _coin.SoDirectionalLight_direction_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDirectionalLight_GLRender(*args) - -SoDirectionalLight_swigregister = _coin.SoDirectionalLight_swigregister -SoDirectionalLight_swigregister(SoDirectionalLight) - -def SoDirectionalLight_getClassTypeId(*args): - """SoDirectionalLight_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLight_getClassTypeId(*args) - -def SoDirectionalLight_initClass(*args): - """SoDirectionalLight_initClass()""" - return _coin.SoDirectionalLight_initClass(*args) - -class SoDirectionalLightManip(SoDirectionalLight): - """Proxy of C++ SoDirectionalLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoDirectionalLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoDirectionalLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoDirectionalLightManip""" - this = _coin.new_SoDirectionalLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoDirectionalLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath path) -> SbBool""" - return _coin.SoDirectionalLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath path, SoDirectionalLight newone) -> SbBool""" - return _coin.SoDirectionalLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoDirectionalLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoDirectionalLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoDirectionalLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoDirectionalLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoDirectionalLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoDirectionalLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoDirectionalLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoDirectionalLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoDirectionalLightManip_getChildren(*args) - -SoDirectionalLightManip_swigregister = _coin.SoDirectionalLightManip_swigregister -SoDirectionalLightManip_swigregister(SoDirectionalLightManip) - -def SoDirectionalLightManip_getClassTypeId(*args): - """SoDirectionalLightManip_getClassTypeId() -> SoType""" - return _coin.SoDirectionalLightManip_getClassTypeId(*args) - -def SoDirectionalLightManip_initClass(*args): - """SoDirectionalLightManip_initClass()""" - return _coin.SoDirectionalLightManip_initClass(*args) - -class SoHandleBoxManip(SoTransformManip): - """Proxy of C++ SoHandleBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoHandleBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoHandleBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoHandleBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoHandleBoxManip""" - this = _coin.new_SoHandleBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoHandleBoxManip_swigregister = _coin.SoHandleBoxManip_swigregister -SoHandleBoxManip_swigregister(SoHandleBoxManip) - -def SoHandleBoxManip_getClassTypeId(*args): - """SoHandleBoxManip_getClassTypeId() -> SoType""" - return _coin.SoHandleBoxManip_getClassTypeId(*args) - -def SoHandleBoxManip_initClass(*args): - """SoHandleBoxManip_initClass()""" - return _coin.SoHandleBoxManip_initClass(*args) - -class SoJackManip(SoTransformManip): - """Proxy of C++ SoJackManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoJackManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoJackManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoJackManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoJackManip""" - this = _coin.new_SoJackManip(*args) - try: self.this.append(this) - except: self.this = this -SoJackManip_swigregister = _coin.SoJackManip_swigregister -SoJackManip_swigregister(SoJackManip) - -def SoJackManip_getClassTypeId(*args): - """SoJackManip_getClassTypeId() -> SoType""" - return _coin.SoJackManip_getClassTypeId(*args) - -def SoJackManip_initClass(*args): - """SoJackManip_initClass()""" - return _coin.SoJackManip_initClass(*args) - -class SoPointLight(SoLight): - """Proxy of C++ SoPointLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLight""" - this = _coin.new_SoPointLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoPointLight_location_get, _coin.SoPointLight_location_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointLight_GLRender(*args) - -SoPointLight_swigregister = _coin.SoPointLight_swigregister -SoPointLight_swigregister(SoPointLight) - -def SoPointLight_getClassTypeId(*args): - """SoPointLight_getClassTypeId() -> SoType""" - return _coin.SoPointLight_getClassTypeId(*args) - -def SoPointLight_initClass(*args): - """SoPointLight_initClass()""" - return _coin.SoPointLight_initClass(*args) - -class SoPointLightManip(SoPointLight): - """Proxy of C++ SoPointLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointLightManip""" - this = _coin.new_SoPointLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoPointLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath path) -> SbBool""" - return _coin.SoPointLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath path, SoPointLight newone) -> SbBool""" - return _coin.SoPointLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPointLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPointLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPointLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoPointLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoPointLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPointLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoPointLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoPointLightManip_getChildren(*args) - -SoPointLightManip_swigregister = _coin.SoPointLightManip_swigregister -SoPointLightManip_swigregister(SoPointLightManip) - -def SoPointLightManip_getClassTypeId(*args): - """SoPointLightManip_getClassTypeId() -> SoType""" - return _coin.SoPointLightManip_getClassTypeId(*args) - -def SoPointLightManip_initClass(*args): - """SoPointLightManip_initClass()""" - return _coin.SoPointLightManip_initClass(*args) - -class SoSpotLight(SoLight): - """Proxy of C++ SoSpotLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLight""" - this = _coin.new_SoSpotLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoSpotLight_location_get, _coin.SoSpotLight_location_set) - direction = _swig_property(_coin.SoSpotLight_direction_get, _coin.SoSpotLight_direction_set) - dropOffRate = _swig_property(_coin.SoSpotLight_dropOffRate_get, _coin.SoSpotLight_dropOffRate_set) - cutOffAngle = _swig_property(_coin.SoSpotLight_cutOffAngle_get, _coin.SoSpotLight_cutOffAngle_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSpotLight_GLRender(*args) - -SoSpotLight_swigregister = _coin.SoSpotLight_swigregister -SoSpotLight_swigregister(SoSpotLight) - -def SoSpotLight_getClassTypeId(*args): - """SoSpotLight_getClassTypeId() -> SoType""" - return _coin.SoSpotLight_getClassTypeId(*args) - -def SoSpotLight_initClass(*args): - """SoSpotLight_initClass()""" - return _coin.SoSpotLight_initClass(*args) - -class SoSpotLightManip(SoSpotLight): - """Proxy of C++ SoSpotLightManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSpotLightManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSpotLightManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSpotLightManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSpotLightManip""" - this = _coin.new_SoSpotLightManip(*args) - try: self.this.append(this) - except: self.this = this - def getDragger(*args): - """getDragger(self) -> SoDragger""" - return _coin.SoSpotLightManip_getDragger(*args) - - def replaceNode(*args): - """replaceNode(self, SoPath p) -> SbBool""" - return _coin.SoSpotLightManip_replaceNode(*args) - - def replaceManip(*args): - """replaceManip(self, SoPath p, SoSpotLight newone) -> SbBool""" - return _coin.SoSpotLightManip_replaceManip(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSpotLightManip_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSpotLightManip_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSpotLightManip_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSpotLightManip_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSpotLightManip_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSpotLightManip_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoSpotLightManip_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSpotLightManip_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoSpotLightManip_getChildren(*args) - -SoSpotLightManip_swigregister = _coin.SoSpotLightManip_swigregister -SoSpotLightManip_swigregister(SoSpotLightManip) - -def SoSpotLightManip_getClassTypeId(*args): - """SoSpotLightManip_getClassTypeId() -> SoType""" - return _coin.SoSpotLightManip_getClassTypeId(*args) - -def SoSpotLightManip_initClass(*args): - """SoSpotLightManip_initClass()""" - return _coin.SoSpotLightManip_initClass(*args) - -class SoTabBoxManip(SoTransformManip): - """Proxy of C++ SoTabBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTabBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTabBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTabBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTabBoxManip""" - this = _coin.new_SoTabBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoTabBoxManip_swigregister = _coin.SoTabBoxManip_swigregister -SoTabBoxManip_swigregister(SoTabBoxManip) - -def SoTabBoxManip_getClassTypeId(*args): - """SoTabBoxManip_getClassTypeId() -> SoType""" - return _coin.SoTabBoxManip_getClassTypeId(*args) - -def SoTabBoxManip_initClass(*args): - """SoTabBoxManip_initClass()""" - return _coin.SoTabBoxManip_initClass(*args) - -class SoTrackballManip(SoTransformManip): - """Proxy of C++ SoTrackballManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTrackballManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTrackballManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTrackballManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTrackballManip""" - this = _coin.new_SoTrackballManip(*args) - try: self.this.append(this) - except: self.this = this -SoTrackballManip_swigregister = _coin.SoTrackballManip_swigregister -SoTrackballManip_swigregister(SoTrackballManip) - -def SoTrackballManip_getClassTypeId(*args): - """SoTrackballManip_getClassTypeId() -> SoType""" - return _coin.SoTrackballManip_getClassTypeId(*args) - -def SoTrackballManip_initClass(*args): - """SoTrackballManip_initClass()""" - return _coin.SoTrackballManip_initClass(*args) - -class SoTransformBoxManip(SoTransformManip): - """Proxy of C++ SoTransformBoxManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformBoxManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformBoxManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformBoxManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformBoxManip""" - this = _coin.new_SoTransformBoxManip(*args) - try: self.this.append(this) - except: self.this = this -SoTransformBoxManip_swigregister = _coin.SoTransformBoxManip_swigregister -SoTransformBoxManip_swigregister(SoTransformBoxManip) - -def SoTransformBoxManip_getClassTypeId(*args): - """SoTransformBoxManip_getClassTypeId() -> SoType""" - return _coin.SoTransformBoxManip_getClassTypeId(*args) - -def SoTransformBoxManip_initClass(*args): - """SoTransformBoxManip_initClass()""" - return _coin.SoTransformBoxManip_initClass(*args) - -class SoTransformerManip(SoTransformManip): - """Proxy of C++ SoTransformerManip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformerManip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformerManip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformerManip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransformerManip""" - this = _coin.new_SoTransformerManip(*args) - try: self.this.append(this) - except: self.this = this - def isLocateHighlighting(*args): - """isLocateHighlighting(self) -> SbBool""" - return _coin.SoTransformerManip_isLocateHighlighting(*args) - - def setLocateHighlighting(*args): - """setLocateHighlighting(self, SbBool onoff)""" - return _coin.SoTransformerManip_setLocateHighlighting(*args) - - def unsquishKnobs(*args): - """unsquishKnobs(self)""" - return _coin.SoTransformerManip_unsquishKnobs(*args) - -SoTransformerManip_swigregister = _coin.SoTransformerManip_swigregister -SoTransformerManip_swigregister(SoTransformerManip) - -def SoTransformerManip_getClassTypeId(*args): - """SoTransformerManip_getClassTypeId() -> SoType""" - return _coin.SoTransformerManip_getClassTypeId(*args) - -def SoTransformerManip_initClass(*args): - """SoTransformerManip_initClass()""" - return _coin.SoTransformerManip_initClass(*args) - -class SoAudioDevice(object): - """Proxy of C++ SoAudioDevice class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def instance(*args): - """instance() -> SoAudioDevice""" - return _coin.SoAudioDevice_instance(*args) - - instance = staticmethod(instance) - def init(*args): - """init(self, SbString devicetype, SbString devicename) -> SbBool""" - return _coin.SoAudioDevice_init(*args) - - def enable(*args): - """enable(self) -> SbBool""" - return _coin.SoAudioDevice_enable(*args) - - def disable(*args): - """disable(self)""" - return _coin.SoAudioDevice_disable(*args) - - def isEnabled(*args): - """isEnabled(self) -> SbBool""" - return _coin.SoAudioDevice_isEnabled(*args) - - def haveSound(*args): - """haveSound(self) -> SbBool""" - return _coin.SoAudioDevice_haveSound(*args) - - def setGain(*args): - """setGain(self, float gain)""" - return _coin.SoAudioDevice_setGain(*args) - - def mute(*args): - """ - mute(self, SbBool mute=1) - mute(self) - """ - return _coin.SoAudioDevice_mute(*args) - - def cleanup(*args): - """cleanup(self)""" - return _coin.SoAudioDevice_cleanup(*args) - -SoAudioDevice_swigregister = _coin.SoAudioDevice_swigregister -SoAudioDevice_swigregister(SoAudioDevice) - -def SoAudioDevice_instance(*args): - """SoAudioDevice_instance() -> SoAudioDevice""" - return _coin.SoAudioDevice_instance(*args) - -class SoByteStream(object): - """Proxy of C++ SoByteStream class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoByteStream""" - this = _coin.new_SoByteStream(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoByteStream - __del__ = lambda self : None; - def convert(*args): - """ - convert(self, SoNode node, SbBool binary=1) - convert(self, SoNode node) - convert(self, SoPath path, SbBool binary=1) - convert(self, SoPath path) - convert(self, SoPathList pl, SbBool binary=1) - convert(self, SoPathList pl) - """ - return _coin.SoByteStream_convert(*args) - - def getData(*args): - """getData(self) -> void""" - return _coin.SoByteStream_getData(*args) - - def getNumBytes(*args): - """getNumBytes(self) -> uint32_t""" - return _coin.SoByteStream_getNumBytes(*args) - - def unconvert(*args): - """ - unconvert(SoByteStream stream) -> SoPathList - unconvert(void data, uint32_t bytesinstream) -> SoPathList - """ - return _coin.SoByteStream_unconvert(*args) - - unconvert = staticmethod(unconvert) - def copy(*args): - """copy(self, void d, size_t len)""" - return _coin.SoByteStream_copy(*args) - - def isRawData(*args): - """isRawData(self) -> SbBool""" - return _coin.SoByteStream_isRawData(*args) - -SoByteStream_swigregister = _coin.SoByteStream_swigregister -SoByteStream_swigregister(SoByteStream) - -def SoByteStream_unconvert(*args): - """ - unconvert(SoByteStream stream) -> SoPathList - SoByteStream_unconvert(void data, uint32_t bytesinstream) -> SoPathList - """ - return _coin.SoByteStream_unconvert(*args) - -class SoContextHandler(object): - """Proxy of C++ SoContextHandler class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def destructingContext(*args): - """destructingContext(uint32_t contextid)""" - return _coin.SoContextHandler_destructingContext(*args) - - destructingContext = staticmethod(destructingContext) - def addContextDestructionCallback(*args): - """addContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_addContextDestructionCallback(*args) - - addContextDestructionCallback = staticmethod(addContextDestructionCallback) - def removeContextDestructionCallback(*args): - """removeContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_removeContextDestructionCallback(*args) - - removeContextDestructionCallback = staticmethod(removeContextDestructionCallback) - def __init__(self, *args): - """__init__(self) -> SoContextHandler""" - this = _coin.new_SoContextHandler(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoContextHandler - __del__ = lambda self : None; -SoContextHandler_swigregister = _coin.SoContextHandler_swigregister -SoContextHandler_swigregister(SoContextHandler) - -def SoContextHandler_destructingContext(*args): - """SoContextHandler_destructingContext(uint32_t contextid)""" - return _coin.SoContextHandler_destructingContext(*args) - -def SoContextHandler_addContextDestructionCallback(*args): - """SoContextHandler_addContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_addContextDestructionCallback(*args) - -def SoContextHandler_removeContextDestructionCallback(*args): - """SoContextHandler_removeContextDestructionCallback(ContextDestructionCB func, void closure)""" - return _coin.SoContextHandler_removeContextDestructionCallback(*args) - -class SoGLImage(object): - """Proxy of C++ SoGLImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoGLImage""" - this = _coin.new_SoGLImage(*args) - try: self.this.append(this) - except: self.this = this - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLImage_unref(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLImage_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _coin.SoGLImage_isOfType(*args) - - REPEAT = _coin.SoGLImage_REPEAT - CLAMP = _coin.SoGLImage_CLAMP - CLAMP_TO_EDGE = _coin.SoGLImage_CLAMP_TO_EDGE - def setPBuffer(*args): - """ - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setPBuffer(self, SoState state, void context, Wrap wraps=REPEAT) - setPBuffer(self, SoState state, void context) - """ - return _coin.SoGLImage_setPBuffer(*args) - - def setData(*args): - """ - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, - int border=0, SoState createinstate=None) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, - int border=0) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents, - Wrap wraps=REPEAT) - setData(self, unsigned char bytes, SbVec2s size, int numcomponents) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5, int border=0, - SoState createinstate=None) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5, int border=0) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, - float quality=0.5) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents, - Wrap wraps=REPEAT) - setData(self, unsigned char bytes, SbVec3s size, int numcomponents) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, SbImage image, Wrap wraps=REPEAT) - setData(self, SbImage image) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr) - """ - return _coin.SoGLImage_setData(*args) - - SCALE_DOWN = _coin.SoGLImage_SCALE_DOWN - NO_MIPMAP = _coin.SoGLImage_NO_MIPMAP - LINEAR_MAG_FILTER = _coin.SoGLImage_LINEAR_MAG_FILTER - LINEAR_MIN_FILTER = _coin.SoGLImage_LINEAR_MIN_FILTER - LINEAR_MIPMAP_FILTER = _coin.SoGLImage_LINEAR_MIPMAP_FILTER - FORCE_TRANSPARENCY_TRUE = _coin.SoGLImage_FORCE_TRANSPARENCY_TRUE - FORCE_TRANSPARENCY_FALSE = _coin.SoGLImage_FORCE_TRANSPARENCY_FALSE - FORCE_ALPHA_TEST_TRUE = _coin.SoGLImage_FORCE_ALPHA_TEST_TRUE - FORCE_ALPHA_TEST_FALSE = _coin.SoGLImage_FORCE_ALPHA_TEST_FALSE - INVINCIBLE = _coin.SoGLImage_INVINCIBLE - RECTANGLE = _coin.SoGLImage_RECTANGLE - COMPRESSED = _coin.SoGLImage_COMPRESSED - USE_QUALITY_VALUE = _coin.SoGLImage_USE_QUALITY_VALUE - def setFlags(*args): - """setFlags(self, uint32_t flags)""" - return _coin.SoGLImage_setFlags(*args) - - def getFlags(*args): - """getFlags(self) -> uint32_t""" - return _coin.SoGLImage_getFlags(*args) - - def getImage(*args): - """getImage(self) -> SbImage""" - return _coin.SoGLImage_getImage(*args) - - def getGLDisplayList(*args): - """getGLDisplayList(self, SoState state) -> SoGLDisplayList""" - return _coin.SoGLImage_getGLDisplayList(*args) - - def hasTransparency(*args): - """hasTransparency(self) -> SbBool""" - return _coin.SoGLImage_hasTransparency(*args) - - def useAlphaTest(*args): - """useAlphaTest(self) -> SbBool""" - return _coin.SoGLImage_useAlphaTest(*args) - - def getWrapS(*args): - """getWrapS(self) -> Wrap""" - return _coin.SoGLImage_getWrapS(*args) - - def getWrapT(*args): - """getWrapT(self) -> Wrap""" - return _coin.SoGLImage_getWrapT(*args) - - def getWrapR(*args): - """getWrapR(self) -> Wrap""" - return _coin.SoGLImage_getWrapR(*args) - - def getGLImageId(*args): - """getGLImageId(self) -> uint32_t""" - return _coin.SoGLImage_getGLImageId(*args) - - def beginFrame(*args): - """beginFrame(SoState state)""" - return _coin.SoGLImage_beginFrame(*args) - - beginFrame = staticmethod(beginFrame) - def tagImage(*args): - """tagImage(SoState state, SoGLImage image)""" - return _coin.SoGLImage_tagImage(*args) - - tagImage = staticmethod(tagImage) - def endFrame(*args): - """endFrame(SoState state)""" - return _coin.SoGLImage_endFrame(*args) - - endFrame = staticmethod(endFrame) - def setDisplayListMaxAge(*args): - """setDisplayListMaxAge(uint32_t maxage)""" - return _coin.SoGLImage_setDisplayListMaxAge(*args) - - setDisplayListMaxAge = staticmethod(setDisplayListMaxAge) - def freeAllImages(*args): - """ - freeAllImages(SoState state=None) - freeAllImages() - """ - return _coin.SoGLImage_freeAllImages(*args) - - freeAllImages = staticmethod(freeAllImages) - def setEndFrameCallback(*args): - """setEndFrameCallback(self, void cb, void closure)""" - return _coin.SoGLImage_setEndFrameCallback(*args) - - def getNumFramesSinceUsed(*args): - """getNumFramesSinceUsed(self) -> int""" - return _coin.SoGLImage_getNumFramesSinceUsed(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGLImage_initClass(*args) - - initClass = staticmethod(initClass) -SoGLImage_swigregister = _coin.SoGLImage_swigregister -SoGLImage_swigregister(SoGLImage) - -def SoGLImage_getClassTypeId(*args): - """SoGLImage_getClassTypeId() -> SoType""" - return _coin.SoGLImage_getClassTypeId(*args) - -def SoGLImage_beginFrame(*args): - """SoGLImage_beginFrame(SoState state)""" - return _coin.SoGLImage_beginFrame(*args) - -def SoGLImage_tagImage(*args): - """SoGLImage_tagImage(SoState state, SoGLImage image)""" - return _coin.SoGLImage_tagImage(*args) - -def SoGLImage_endFrame(*args): - """SoGLImage_endFrame(SoState state)""" - return _coin.SoGLImage_endFrame(*args) - -def SoGLImage_setDisplayListMaxAge(*args): - """SoGLImage_setDisplayListMaxAge(uint32_t maxage)""" - return _coin.SoGLImage_setDisplayListMaxAge(*args) - -def SoGLImage_freeAllImages(*args): - """ - freeAllImages(SoState state=None) - SoGLImage_freeAllImages() - """ - return _coin.SoGLImage_freeAllImages(*args) - -def SoGLImage_initClass(*args): - """SoGLImage_initClass()""" - return _coin.SoGLImage_initClass(*args) - -class SoGLBigImage(SoGLImage): - """Proxy of C++ SoGLBigImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoGLBigImage""" - this = _coin.new_SoGLBigImage(*args) - try: self.this.append(this) - except: self.this = this - def unref(*args): - """ - unref(self, SoState state=None) - unref(self) - """ - return _coin.SoGLBigImage_unref(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGLBigImage_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGLBigImage_getTypeId(*args) - - def setData(*args): - """ - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, - float quality=0.5) - setData(self, SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT) - setData(self, SbImage image, Wrap wraps=REPEAT) - setData(self, SbImage image) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0, SoState createinstate=None) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5, int border=0) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, - float quality=0.5) - setData(self, SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr) - """ - return _coin.SoGLBigImage_setData(*args) - - def initSubImages(*args): - """initSubImages(self, SbVec2s subimagesize) -> int""" - return _coin.SoGLBigImage_initSubImages(*args) - - def handleSubImage(*args): - """handleSubImage(self, int idx, SbVec2f start, SbVec2f end, SbVec2f tcmul)""" - return _coin.SoGLBigImage_handleSubImage(*args) - - def applySubImage(*args): - """applySubImage(self, SoState state, int idx, float quality, SbVec2s projsize)""" - return _coin.SoGLBigImage_applySubImage(*args) - - def exceededChangeLimit(*args): - """exceededChangeLimit(self) -> SbBool""" - return _coin.SoGLBigImage_exceededChangeLimit(*args) - - def setChangeLimit(*args): - """setChangeLimit(int limit) -> int""" - return _coin.SoGLBigImage_setChangeLimit(*args) - - setChangeLimit = staticmethod(setChangeLimit) - def getGLDisplayList(*args): - """getGLDisplayList(self, SoState state) -> SoGLDisplayList""" - return _coin.SoGLBigImage_getGLDisplayList(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGLBigImage_initClass(*args) - - initClass = staticmethod(initClass) -SoGLBigImage_swigregister = _coin.SoGLBigImage_swigregister -SoGLBigImage_swigregister(SoGLBigImage) - -def SoGLBigImage_getClassTypeId(*args): - """SoGLBigImage_getClassTypeId() -> SoType""" - return _coin.SoGLBigImage_getClassTypeId(*args) - -def SoGLBigImage_setChangeLimit(*args): - """SoGLBigImage_setChangeLimit(int limit) -> int""" - return _coin.SoGLBigImage_setChangeLimit(*args) - -def SoGLBigImage_initClass(*args): - """SoGLBigImage_initClass()""" - return _coin.SoGLBigImage_initClass(*args) - -class SbBox2f(object): - """Proxy of C++ SbBox2f class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2f - __init__(self, float xmin, float ymin, float xmax, float ymax) -> SbBox2f - __init__(self, SbVec2f min, SbVec2f max) -> SbBox2f - """ - this = _coin.new_SbBox2f(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBox2f - __del__ = lambda self : None; - def getMin(*args): - """getMin(self) -> SbVec2f""" - return _coin.SbBox2f_getMin(*args) - - def getMax(*args): - """getMax(self) -> SbVec2f""" - return _coin.SbBox2f_getMax(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2f""" - return _coin.SbBox2f_getCenter(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2f point) - extendBy(self, SbBox2f box) - """ - return _coin.SbBox2f_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec2f point) -> SbBool - intersect(self, SbBox2f box) -> SbBool - """ - return _coin.SbBox2f_intersect(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec2f p) -> SbVec2f""" - return _coin.SbBox2f_getClosestPoint(*args) - - def setBounds(*args): - """ - setBounds(self, float xmin, float ymin, float xmax, float ymax) - setBounds(self, SbVec2f min, SbVec2f max) - """ - return _coin.SbBox2f_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, float xmin, float ymin, float xmax, float ymax) - getBounds(self, SbVec2f min, SbVec2f max) - """ - return _coin.SbBox2f_getBounds(*args) - - def getOrigin(*args): - """getOrigin(self, float x0, float y0)""" - return _coin.SbBox2f_getOrigin(*args) - - def getSize(*args): - """getSize(self, float w, float h)""" - return _coin.SbBox2f_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> float""" - return _coin.SbBox2f_getAspectRatio(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2f_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2f_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2f_hasArea(*args) - - def __eq__(*args): - """__eq__(self, SbBox2f u) -> int""" - return _coin.SbBox2f___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2f u) -> int""" - return _coin.SbBox2f___ne__(*args) - -SbBox2f_swigregister = _coin.SbBox2f_swigregister -SbBox2f_swigregister(SbBox2f) - -class SoGlyph(object): - """Proxy of C++ SoGlyph class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - FONT2D = _coin.SoGlyph_FONT2D - FONT3D = _coin.SoGlyph_FONT3D - def unref(*args): - """unref(self)""" - return _coin.SoGlyph_unref(*args) - - def getCoords(*args): - """getCoords(self) -> SbVec2f""" - return _coin.SoGlyph_getCoords(*args) - - def getFaceIndices(*args): - """getFaceIndices(self) -> int""" - return _coin.SoGlyph_getFaceIndices(*args) - - def getEdgeIndices(*args): - """getEdgeIndices(self) -> int""" - return _coin.SoGlyph_getEdgeIndices(*args) - - def getNextCWEdge(*args): - """getNextCWEdge(self, int edgeidx) -> int""" - return _coin.SoGlyph_getNextCWEdge(*args) - - def getNextCCWEdge(*args): - """getNextCCWEdge(self, int edgeidx) -> int""" - return _coin.SoGlyph_getNextCCWEdge(*args) - - def getWidth(*args): - """getWidth(self) -> float""" - return _coin.SoGlyph_getWidth(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox2f""" - return _coin.SoGlyph_getBoundingBox(*args) - - def getGlyph(*args): - """ - getGlyph(char character, SbName font) -> SoGlyph - getGlyph(SoState state, unsigned int character, SbVec2s size, - float angle) -> SoGlyph - """ - return _coin.SoGlyph_getGlyph(*args) - - getGlyph = staticmethod(getGlyph) - def getAdvance(*args): - """getAdvance(self) -> SbVec2s""" - return _coin.SoGlyph_getAdvance(*args) - - def getKerning(*args): - """getKerning(self, SoGlyph rightglyph) -> SbVec2s""" - return _coin.SoGlyph_getKerning(*args) - - def getBitmap(*args): - """getBitmap(self, SbVec2s size, SbVec2s pos, SbBool antialiased) -> unsigned char""" - return _coin.SoGlyph_getBitmap(*args) - -SoGlyph_swigregister = _coin.SoGlyph_swigregister -SoGlyph_swigregister(SoGlyph) - -def SoGlyph_getGlyph(*args): - """ - getGlyph(char character, SbName font) -> SoGlyph - SoGlyph_getGlyph(SoState state, unsigned int character, SbVec2s size, - float angle) -> SoGlyph - """ - return _coin.SoGlyph_getGlyph(*args) - -class SoProto(SoNode): - """Proxy of C++ SoProto class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool externproto=0) -> SoProto - __init__(self) -> SoProto - """ - this = _coin.new_SoProto(*args) - try: self.this.append(this) - except: self.this = this - def setFetchExternProtoCallback(*args): - """setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)""" - return _coin.SoProto_setFetchExternProtoCallback(*args) - - setFetchExternProtoCallback = staticmethod(setFetchExternProtoCallback) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProto_getTypeId(*args) - - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProto_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def findProto(*args): - """findProto(SbName name) -> SoProto""" - return _coin.SoProto_findProto(*args) - - findProto = staticmethod(findProto) - def initClass(*args): - """initClass()""" - return _coin.SoProto_initClass(*args) - - initClass = staticmethod(initClass) - def createProtoInstance(*args): - """createProtoInstance(self) -> SoProtoInstance""" - return _coin.SoProto_createProtoInstance(*args) - - def addISReference(*args): - """addISReference(self, SoNode container, SbName fieldname, SbName interfacename)""" - return _coin.SoProto_addISReference(*args) - - def findISReference(*args): - """findISReference(self, SoFieldContainer container, SbName fieldname) -> SbName""" - return _coin.SoProto_findISReference(*args) - - def addReference(*args): - """addReference(self, SbName name, SoBase base)""" - return _coin.SoProto_addReference(*args) - - def removeReference(*args): - """removeReference(self, SbName name)""" - return _coin.SoProto_removeReference(*args) - - def findReference(*args): - """findReference(self, SbName name) -> SoBase""" - return _coin.SoProto_findReference(*args) - - def addRoute(*args): - """addRoute(self, SbName fromnode, SbName fromfield, SbName tonode, SbName tofield)""" - return _coin.SoProto_addRoute(*args) - - def getProtoName(*args): - """getProtoName(self) -> SbName""" - return _coin.SoProto_getProtoName(*args) - - def readInstance(*args): - """readInstance(self, SoInput in, unsigned short flags) -> SbBool""" - return _coin.SoProto_readInstance(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoProto_write(*args) - -SoProto_swigregister = _coin.SoProto_swigregister -SoProto_swigregister(SoProto) - -def SoProto_setFetchExternProtoCallback(*args): - """SoProto_setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)""" - return _coin.SoProto_setFetchExternProtoCallback(*args) - -def SoProto_getClassTypeId(*args): - """SoProto_getClassTypeId() -> SoType""" - return _coin.SoProto_getClassTypeId(*args) - -def SoProto_findProto(*args): - """SoProto_findProto(SbName name) -> SoProto""" - return _coin.SoProto_findProto(*args) - -def SoProto_initClass(*args): - """SoProto_initClass()""" - return _coin.SoProto_initClass(*args) - -class SoProtoInstance(SoNode): - """Proxy of C++ SoProtoInstance class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProtoInstance_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProtoInstance_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProtoInstance_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self, SoProto proto, SoFieldData deffielddata) -> SoProtoInstance""" - this = _coin.new_SoProtoInstance(*args) - try: self.this.append(this) - except: self.this = this - def findProtoInstance(*args): - """findProtoInstance(SoNode rootnode) -> SoProtoInstance""" - return _coin.SoProtoInstance_findProtoInstance(*args) - - findProtoInstance = staticmethod(findProtoInstance) - def setRootNode(*args): - """setRootNode(self, SoNode root)""" - return _coin.SoProtoInstance_setRootNode(*args) - - def getRootNode(*args): - """getRootNode(self) -> SoNode""" - return _coin.SoProtoInstance_getRootNode(*args) - - def getProtoDefinition(*args): - """getProtoDefinition(self) -> SoProto""" - return _coin.SoProtoInstance_getProtoDefinition(*args) - - def getProtoName(*args): - """getProtoName(self) -> SbName""" - return _coin.SoProtoInstance_getProtoName(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoProtoInstance_write(*args) - -SoProtoInstance_swigregister = _coin.SoProtoInstance_swigregister -SoProtoInstance_swigregister(SoProtoInstance) - -def SoProtoInstance_getClassTypeId(*args): - """SoProtoInstance_getClassTypeId() -> SoType""" - return _coin.SoProtoInstance_getClassTypeId(*args) - -def SoProtoInstance_initClass(*args): - """SoProtoInstance_initClass()""" - return _coin.SoProtoInstance_initClass(*args) - -def SoProtoInstance_findProtoInstance(*args): - """SoProtoInstance_findProtoInstance(SoNode rootnode) -> SoProtoInstance""" - return _coin.SoProtoInstance_findProtoInstance(*args) - -class SoTranReceiver(object): - """Proxy of C++ SoTranReceiver class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoGroup root) -> SoTranReceiver""" - this = _coin.new_SoTranReceiver(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTranReceiver - __del__ = lambda self : None; - def interpret(*args): - """interpret(self, SoInput in) -> SbBool""" - return _coin.SoTranReceiver_interpret(*args) - -SoTranReceiver_swigregister = _coin.SoTranReceiver_swigregister -SoTranReceiver_swigregister(SoTranReceiver) - -class SoTranSender(object): - """Proxy of C++ SoTranSender class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SoOutput output) -> SoTranSender""" - this = _coin.new_SoTranSender(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoTranSender - __del__ = lambda self : None; - def getOutput(*args): - """getOutput(self) -> SoOutput""" - return _coin.SoTranSender_getOutput(*args) - - def insert(*args): - """ - insert(self, SoNode node) - insert(self, SoNode node, SoNode parent, int n) - """ - return _coin.SoTranSender_insert(*args) - - def remove(*args): - """remove(self, SoNode parent, int n)""" - return _coin.SoTranSender_remove(*args) - - def replace(*args): - """replace(self, SoNode parent, int n, SoNode newnode)""" - return _coin.SoTranSender_replace(*args) - - def modify(*args): - """modify(self, SoNode node)""" - return _coin.SoTranSender_modify(*args) - - def prepareToSend(*args): - """prepareToSend(self)""" - return _coin.SoTranSender_prepareToSend(*args) - -SoTranSender_swigregister = _coin.SoTranSender_swigregister -SoTranSender_swigregister(SoTranSender) - -class SoAppearanceKit(SoBaseKit): - """Proxy of C++ SoAppearanceKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAppearanceKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAppearanceKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoAppearanceKit""" - this = _coin.new_SoAppearanceKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoAppearanceKit_initClass(*args) - - initClass = staticmethod(initClass) -SoAppearanceKit_swigregister = _coin.SoAppearanceKit_swigregister -SoAppearanceKit_swigregister(SoAppearanceKit) - -def SoAppearanceKit_getClassTypeId(*args): - """SoAppearanceKit_getClassTypeId() -> SoType""" - return _coin.SoAppearanceKit_getClassTypeId(*args) - -def SoAppearanceKit_getClassNodekitCatalog(*args): - """SoAppearanceKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoAppearanceKit_getClassNodekitCatalog(*args) - -def SoAppearanceKit_initClass(*args): - """SoAppearanceKit_initClass()""" - return _coin.SoAppearanceKit_initClass(*args) - -class SoCameraKit(SoBaseKit): - """Proxy of C++ SoCameraKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCameraKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCameraKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCameraKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoCameraKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoCameraKit""" - this = _coin.new_SoCameraKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoCameraKit_initClass(*args) - - initClass = staticmethod(initClass) -SoCameraKit_swigregister = _coin.SoCameraKit_swigregister -SoCameraKit_swigregister(SoCameraKit) - -def SoCameraKit_getClassTypeId(*args): - """SoCameraKit_getClassTypeId() -> SoType""" - return _coin.SoCameraKit_getClassTypeId(*args) - -def SoCameraKit_getClassNodekitCatalog(*args): - """SoCameraKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoCameraKit_getClassNodekitCatalog(*args) - -def SoCameraKit_initClass(*args): - """SoCameraKit_initClass()""" - return _coin.SoCameraKit_initClass(*args) - -class SoLightKit(SoBaseKit): - """Proxy of C++ SoLightKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLightKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLightKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoLightKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoLightKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoLightKit""" - this = _coin.new_SoLightKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoLightKit_initClass(*args) - - initClass = staticmethod(initClass) -SoLightKit_swigregister = _coin.SoLightKit_swigregister -SoLightKit_swigregister(SoLightKit) - -def SoLightKit_getClassTypeId(*args): - """SoLightKit_getClassTypeId() -> SoType""" - return _coin.SoLightKit_getClassTypeId(*args) - -def SoLightKit_getClassNodekitCatalog(*args): - """SoLightKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoLightKit_getClassNodekitCatalog(*args) - -def SoLightKit_initClass(*args): - """SoLightKit_initClass()""" - return _coin.SoLightKit_initClass(*args) - -class SoNodeKit(object): - """Proxy of C++ SoNodeKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoNodeKit_init(*args) - - init = staticmethod(init) - def __init__(self, *args): - """__init__(self) -> SoNodeKit""" - this = _coin.new_SoNodeKit(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoNodeKit - __del__ = lambda self : None; -SoNodeKit_swigregister = _coin.SoNodeKit_swigregister -SoNodeKit_swigregister(SoNodeKit) - -def SoNodeKit_init(*args): - """SoNodeKit_init()""" - return _coin.SoNodeKit_init(*args) - -class SoSceneKit(SoBaseKit): - """Proxy of C++ SoSceneKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSceneKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSceneKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSceneKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSceneKit_getNodekitCatalog(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSceneKit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSceneKit""" - this = _coin.new_SoSceneKit(*args) - try: self.this.append(this) - except: self.this = this - def getCameraNumber(*args): - """getCameraNumber(self) -> int""" - return _coin.SoSceneKit_getCameraNumber(*args) - - def setCameraNumber(*args): - """setCameraNumber(self, int camNum)""" - return _coin.SoSceneKit_setCameraNumber(*args) - - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSceneKit_affectsState(*args) - -SoSceneKit_swigregister = _coin.SoSceneKit_swigregister -SoSceneKit_swigregister(SoSceneKit) - -def SoSceneKit_getClassTypeId(*args): - """SoSceneKit_getClassTypeId() -> SoType""" - return _coin.SoSceneKit_getClassTypeId(*args) - -def SoSceneKit_getClassNodekitCatalog(*args): - """SoSceneKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSceneKit_getClassNodekitCatalog(*args) - -def SoSceneKit_initClass(*args): - """SoSceneKit_initClass()""" - return _coin.SoSceneKit_initClass(*args) - -class SoSeparatorKit(SoBaseKit): - """Proxy of C++ SoSeparatorKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSeparatorKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSeparatorKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoSeparatorKit""" - this = _coin.new_SoSeparatorKit(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoSeparatorKit_OFF - ON = _coin.SoSeparatorKit_ON - AUTO = _coin.SoSeparatorKit_AUTO - renderCaching = _swig_property(_coin.SoSeparatorKit_renderCaching_get, _coin.SoSeparatorKit_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoSeparatorKit_boundingBoxCaching_get, _coin.SoSeparatorKit_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoSeparatorKit_renderCulling_get, _coin.SoSeparatorKit_renderCulling_set) - pickCulling = _swig_property(_coin.SoSeparatorKit_pickCulling_get, _coin.SoSeparatorKit_pickCulling_set) - def initClass(*args): - """initClass()""" - return _coin.SoSeparatorKit_initClass(*args) - - initClass = staticmethod(initClass) -SoSeparatorKit_swigregister = _coin.SoSeparatorKit_swigregister -SoSeparatorKit_swigregister(SoSeparatorKit) - -def SoSeparatorKit_getClassTypeId(*args): - """SoSeparatorKit_getClassTypeId() -> SoType""" - return _coin.SoSeparatorKit_getClassTypeId(*args) - -def SoSeparatorKit_getClassNodekitCatalog(*args): - """SoSeparatorKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoSeparatorKit_getClassNodekitCatalog(*args) - -def SoSeparatorKit_initClass(*args): - """SoSeparatorKit_initClass()""" - return _coin.SoSeparatorKit_initClass(*args) - -class SoShapeKit(SoSeparatorKit): - """Proxy of C++ SoShapeKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShapeKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShapeKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoShapeKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoShapeKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoShapeKit""" - this = _coin.new_SoShapeKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoShapeKit_initClass(*args) - - initClass = staticmethod(initClass) -SoShapeKit_swigregister = _coin.SoShapeKit_swigregister -SoShapeKit_swigregister(SoShapeKit) - -def SoShapeKit_getClassTypeId(*args): - """SoShapeKit_getClassTypeId() -> SoType""" - return _coin.SoShapeKit_getClassTypeId(*args) - -def SoShapeKit_getClassNodekitCatalog(*args): - """SoShapeKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoShapeKit_getClassNodekitCatalog(*args) - -def SoShapeKit_initClass(*args): - """SoShapeKit_initClass()""" - return _coin.SoShapeKit_initClass(*args) - -class SoWrapperKit(SoSeparatorKit): - """Proxy of C++ SoWrapperKit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWrapperKit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWrapperKit_getTypeId(*args) - - def getClassNodekitCatalog(*args): - """getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getClassNodekitCatalog(*args) - - getClassNodekitCatalog = staticmethod(getClassNodekitCatalog) - def getNodekitCatalog(*args): - """getNodekitCatalog(self) -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getNodekitCatalog(*args) - - def __init__(self, *args): - """__init__(self) -> SoWrapperKit""" - this = _coin.new_SoWrapperKit(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoWrapperKit_initClass(*args) - - initClass = staticmethod(initClass) -SoWrapperKit_swigregister = _coin.SoWrapperKit_swigregister -SoWrapperKit_swigregister(SoWrapperKit) - -def SoWrapperKit_getClassTypeId(*args): - """SoWrapperKit_getClassTypeId() -> SoType""" - return _coin.SoWrapperKit_getClassTypeId(*args) - -def SoWrapperKit_getClassNodekitCatalog(*args): - """SoWrapperKit_getClassNodekitCatalog() -> SoNodekitCatalog""" - return _coin.SoWrapperKit_getClassNodekitCatalog(*args) - -def SoWrapperKit_initClass(*args): - """SoWrapperKit_initClass()""" - return _coin.SoWrapperKit_initClass(*args) - -class SoGroup(SoNode): - """Proxy of C++ SoGroup class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoGroup_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoGroup_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoGroup_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoGroup - __init__(self, int nchildren) -> SoGroup - """ - this = _coin.new_SoGroup(*args) - try: self.this.append(this) - except: self.this = this - def addChild(*args): - """addChild(self, SoNode node)""" - return _coin.SoGroup_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int newchildindex)""" - return _coin.SoGroup_insertChild(*args) - - def getChild(*args): - """getChild(self, int index) -> SoNode""" - return _coin.SoGroup_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode node) -> int""" - return _coin.SoGroup_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoGroup_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int childindex) - removeChild(self, SoNode child) - """ - return _coin.SoGroup_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoGroup_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int index, SoNode newchild) - replaceChild(self, SoNode oldchild, SoNode newchild) - """ - return _coin.SoGroup_replaceChild(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoGroup_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoGroup_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoGroup_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoGroup_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoGroup_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoGroup_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoGroup_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoGroup_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoGroup_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoGroup_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoGroup_audioRender(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoGroup_getChildren(*args) - - def __iter__(self): - i = 0 - while i < self.getNumChildren(): - yield self.getChild(i) - i += 1 - - def __len__(*args): - """__len__(self, void ?) -> int""" - return _coin.SoGroup___len__(*args) - - def __contains__(*args): - """__contains__(self, SoNode node) -> int""" - return _coin.SoGroup___contains__(*args) - - def __getitem__(*args): - """__getitem__(self, int index) -> SoNode""" - return _coin.SoGroup___getitem__(*args) - -SoGroup_swigregister = _coin.SoGroup_swigregister -SoGroup_swigregister(SoGroup) - -def SoGroup_getClassTypeId(*args): - """SoGroup_getClassTypeId() -> SoType""" - return _coin.SoGroup_getClassTypeId(*args) - -def SoGroup_initClass(*args): - """SoGroup_initClass()""" - return _coin.SoGroup_initClass(*args) - -class SoSeparator(SoGroup): - """Proxy of C++ SoSeparator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSeparator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSeparator_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSeparator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoSeparator - __init__(self, int nchildren) -> SoSeparator - """ - this = _coin.new_SoSeparator(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoSeparator_OFF - ON = _coin.SoSeparator_ON - AUTO = _coin.SoSeparator_AUTO - renderCaching = _swig_property(_coin.SoSeparator_renderCaching_get, _coin.SoSeparator_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoSeparator_boundingBoxCaching_get, _coin.SoSeparator_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoSeparator_renderCulling_get, _coin.SoSeparator_renderCulling_set) - pickCulling = _swig_property(_coin.SoSeparator_pickCulling_get, _coin.SoSeparator_pickCulling_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSeparator_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoSeparator_GLRenderOffPath(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSeparator_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSeparator_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSeparator_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSeparator_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSeparator_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSeparator_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSeparator_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoSeparator_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoSeparator_notify(*args) - - def setNumRenderCaches(*args): - """setNumRenderCaches(int howmany)""" - return _coin.SoSeparator_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoSeparator_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSeparator_affectsState(*args) - -SoSeparator_swigregister = _coin.SoSeparator_swigregister -SoSeparator_swigregister(SoSeparator) - -def SoSeparator_getClassTypeId(*args): - """SoSeparator_getClassTypeId() -> SoType""" - return _coin.SoSeparator_getClassTypeId(*args) - -def SoSeparator_initClass(*args): - """SoSeparator_initClass()""" - return _coin.SoSeparator_initClass(*args) - -def SoSeparator_setNumRenderCaches(*args): - """SoSeparator_setNumRenderCaches(int howmany)""" - return _coin.SoSeparator_setNumRenderCaches(*args) - -def SoSeparator_getNumRenderCaches(*args): - """SoSeparator_getNumRenderCaches() -> int""" - return _coin.SoSeparator_getNumRenderCaches(*args) - -class SoAnnotation(SoSeparator): - """Proxy of C++ SoAnnotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAnnotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAnnotation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAnnotation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAnnotation""" - this = _coin.new_SoAnnotation(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoAnnotation_GLRenderOffPath(*args) - -SoAnnotation_swigregister = _coin.SoAnnotation_swigregister -SoAnnotation_swigregister(SoAnnotation) - -def SoAnnotation_getClassTypeId(*args): - """SoAnnotation_getClassTypeId() -> SoType""" - return _coin.SoAnnotation_getClassTypeId(*args) - -def SoAnnotation_initClass(*args): - """SoAnnotation_initClass()""" - return _coin.SoAnnotation_initClass(*args) - -class SoAntiSquish(SoTransformation): - """Proxy of C++ SoAntiSquish class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAntiSquish_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAntiSquish_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAntiSquish_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAntiSquish""" - this = _coin.new_SoAntiSquish(*args) - try: self.this.append(this) - except: self.this = this - X = _coin.SoAntiSquish_X - Y = _coin.SoAntiSquish_Y - Z = _coin.SoAntiSquish_Z - AVERAGE_DIMENSION = _coin.SoAntiSquish_AVERAGE_DIMENSION - BIGGEST_DIMENSION = _coin.SoAntiSquish_BIGGEST_DIMENSION - SMALLEST_DIMENSION = _coin.SoAntiSquish_SMALLEST_DIMENSION - LONGEST_DIAGONAL = _coin.SoAntiSquish_LONGEST_DIAGONAL - sizing = _swig_property(_coin.SoAntiSquish_sizing_get, _coin.SoAntiSquish_sizing_set) - recalcAlways = _swig_property(_coin.SoAntiSquish_recalcAlways_get, _coin.SoAntiSquish_recalcAlways_set) - def recalc(*args): - """recalc(self)""" - return _coin.SoAntiSquish_recalc(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoAntiSquish_doAction(*args) - -SoAntiSquish_swigregister = _coin.SoAntiSquish_swigregister -SoAntiSquish_swigregister(SoAntiSquish) - -def SoAntiSquish_getClassTypeId(*args): - """SoAntiSquish_getClassTypeId() -> SoType""" - return _coin.SoAntiSquish_getClassTypeId(*args) - -def SoAntiSquish_initClass(*args): - """SoAntiSquish_initClass()""" - return _coin.SoAntiSquish_initClass(*args) - -class SoArray(SoGroup): - """Proxy of C++ SoArray class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoArray_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoArray_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoArray_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoArray""" - this = _coin.new_SoArray(*args) - try: self.this.append(this) - except: self.this = this - FIRST = _coin.SoArray_FIRST - CENTER = _coin.SoArray_CENTER - LAST = _coin.SoArray_LAST - origin = _swig_property(_coin.SoArray_origin_get, _coin.SoArray_origin_set) - numElements1 = _swig_property(_coin.SoArray_numElements1_get, _coin.SoArray_numElements1_set) - numElements2 = _swig_property(_coin.SoArray_numElements2_get, _coin.SoArray_numElements2_set) - numElements3 = _swig_property(_coin.SoArray_numElements3_get, _coin.SoArray_numElements3_set) - separation1 = _swig_property(_coin.SoArray_separation1_get, _coin.SoArray_separation1_set) - separation2 = _swig_property(_coin.SoArray_separation2_get, _coin.SoArray_separation2_set) - separation3 = _swig_property(_coin.SoArray_separation3_get, _coin.SoArray_separation3_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoArray_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoArray_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoArray_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoArray_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoArray_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoArray_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoArray_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoArray_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoArray_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoArray_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoArray_audioRender(*args) - -SoArray_swigregister = _coin.SoArray_swigregister -SoArray_swigregister(SoArray) - -def SoArray_getClassTypeId(*args): - """SoArray_getClassTypeId() -> SoType""" - return _coin.SoArray_getClassTypeId(*args) - -def SoArray_initClass(*args): - """SoArray_initClass()""" - return _coin.SoArray_initClass(*args) - -class SoAsciiText(SoShape): - """Proxy of C++ SoAsciiText class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoAsciiText_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoAsciiText_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoAsciiText_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoAsciiText""" - this = _coin.new_SoAsciiText(*args) - try: self.this.append(this) - except: self.this = this - LEFT = _coin.SoAsciiText_LEFT - RIGHT = _coin.SoAsciiText_RIGHT - CENTER = _coin.SoAsciiText_CENTER - string = _swig_property(_coin.SoAsciiText_string_get, _coin.SoAsciiText_string_set) - spacing = _swig_property(_coin.SoAsciiText_spacing_get, _coin.SoAsciiText_spacing_set) - justification = _swig_property(_coin.SoAsciiText_justification_get, _coin.SoAsciiText_justification_set) - width = _swig_property(_coin.SoAsciiText_width_get, _coin.SoAsciiText_width_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoAsciiText_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoAsciiText_getPrimitiveCount(*args) - -SoAsciiText_swigregister = _coin.SoAsciiText_swigregister -SoAsciiText_swigregister(SoAsciiText) - -def SoAsciiText_getClassTypeId(*args): - """SoAsciiText_getClassTypeId() -> SoType""" - return _coin.SoAsciiText_getClassTypeId(*args) - -def SoAsciiText_initClass(*args): - """SoAsciiText_initClass()""" - return _coin.SoAsciiText_initClass(*args) - -class SoBaseColor(SoNode): - """Proxy of C++ SoBaseColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBaseColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBaseColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBaseColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBaseColor""" - this = _coin.new_SoBaseColor(*args) - try: self.this.append(this) - except: self.this = this - rgb = _swig_property(_coin.SoBaseColor_rgb_get, _coin.SoBaseColor_rgb_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBaseColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBaseColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBaseColor_callback(*args) - -SoBaseColor_swigregister = _coin.SoBaseColor_swigregister -SoBaseColor_swigregister(SoBaseColor) - -def SoBaseColor_getClassTypeId(*args): - """SoBaseColor_getClassTypeId() -> SoType""" - return _coin.SoBaseColor_getClassTypeId(*args) - -def SoBaseColor_initClass(*args): - """SoBaseColor_initClass()""" - return _coin.SoBaseColor_initClass(*args) - -SO_SWITCH_NONE = _coin.SO_SWITCH_NONE -SO_SWITCH_INHERIT = _coin.SO_SWITCH_INHERIT -SO_SWITCH_ALL = _coin.SO_SWITCH_ALL -class SoSwitch(SoGroup): - """Proxy of C++ SoSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoSwitch - __init__(self, int numchildren) -> SoSwitch - """ - this = _coin.new_SoSwitch(*args) - try: self.this.append(this) - except: self.this = this - whichChild = _swig_property(_coin.SoSwitch_whichChild_get, _coin.SoSwitch_whichChild_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoSwitch_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSwitch_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSwitch_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoSwitch_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoSwitch_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSwitch_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoSwitch_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoSwitch_notify(*args) - -SoSwitch_swigregister = _coin.SoSwitch_swigregister -SoSwitch_swigregister(SoSwitch) - -def SoSwitch_getClassTypeId(*args): - """SoSwitch_getClassTypeId() -> SoType""" - return _coin.SoSwitch_getClassTypeId(*args) - -def SoSwitch_initClass(*args): - """SoSwitch_initClass()""" - return _coin.SoSwitch_initClass(*args) - -class SoBlinker(SoSwitch): - """Proxy of C++ SoBlinker class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBlinker_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBlinker_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBlinker_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBlinker""" - this = _coin.new_SoBlinker(*args) - try: self.this.append(this) - except: self.this = this - speed = _swig_property(_coin.SoBlinker_speed_get, _coin.SoBlinker_speed_set) - on = _swig_property(_coin.SoBlinker_on_get, _coin.SoBlinker_on_set) - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoBlinker_getBoundingBox(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoBlinker_write(*args) - -SoBlinker_swigregister = _coin.SoBlinker_swigregister -SoBlinker_swigregister(SoBlinker) - -def SoBlinker_getClassTypeId(*args): - """SoBlinker_getClassTypeId() -> SoType""" - return _coin.SoBlinker_getClassTypeId(*args) - -def SoBlinker_initClass(*args): - """SoBlinker_initClass()""" - return _coin.SoBlinker_initClass(*args) - -class SoBumpMapCoordinate(SoNode): - """Proxy of C++ SoBumpMapCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMapCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMapCoordinate""" - this = _coin.new_SoBumpMapCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoBumpMapCoordinate_point_get, _coin.SoBumpMapCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMapCoordinate_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMapCoordinate_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMapCoordinate_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoBumpMapCoordinate_pick(*args) - -SoBumpMapCoordinate_swigregister = _coin.SoBumpMapCoordinate_swigregister -SoBumpMapCoordinate_swigregister(SoBumpMapCoordinate) - -def SoBumpMapCoordinate_getClassTypeId(*args): - """SoBumpMapCoordinate_getClassTypeId() -> SoType""" - return _coin.SoBumpMapCoordinate_getClassTypeId(*args) - -def SoBumpMapCoordinate_initClass(*args): - """SoBumpMapCoordinate_initClass()""" - return _coin.SoBumpMapCoordinate_initClass(*args) - -class SoBumpMap(SoNode): - """Proxy of C++ SoBumpMap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMap_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMap_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMap_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMap""" - this = _coin.new_SoBumpMap(*args) - try: self.this.append(this) - except: self.this = this - REPEAT = _coin.SoBumpMap_REPEAT - CLAMP = _coin.SoBumpMap_CLAMP - filename = _swig_property(_coin.SoBumpMap_filename_get, _coin.SoBumpMap_filename_set) - image = _swig_property(_coin.SoBumpMap_image_get, _coin.SoBumpMap_image_set) - wrapS = _swig_property(_coin.SoBumpMap_wrapS_get, _coin.SoBumpMap_wrapS_set) - wrapT = _swig_property(_coin.SoBumpMap_wrapT_get, _coin.SoBumpMap_wrapT_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMap_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMap_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMap_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoBumpMap_rayPick(*args) - - def readImage(*args): - """readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoBumpMap_readImage(*args) - - readImage = staticmethod(readImage) -SoBumpMap_swigregister = _coin.SoBumpMap_swigregister -SoBumpMap_swigregister(SoBumpMap) - -def SoBumpMap_getClassTypeId(*args): - """SoBumpMap_getClassTypeId() -> SoType""" - return _coin.SoBumpMap_getClassTypeId(*args) - -def SoBumpMap_initClass(*args): - """SoBumpMap_initClass()""" - return _coin.SoBumpMap_initClass(*args) - -def SoBumpMap_readImage(*args): - """SoBumpMap_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool""" - return _coin.SoBumpMap_readImage(*args) - -class SoBumpMapTransform(SoNode): - """Proxy of C++ SoBumpMapTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoBumpMapTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoBumpMapTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoBumpMapTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoBumpMapTransform""" - this = _coin.new_SoBumpMapTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoBumpMapTransform_translation_get, _coin.SoBumpMapTransform_translation_set) - rotation = _swig_property(_coin.SoBumpMapTransform_rotation_get, _coin.SoBumpMapTransform_rotation_set) - scaleFactor = _swig_property(_coin.SoBumpMapTransform_scaleFactor_get, _coin.SoBumpMapTransform_scaleFactor_set) - center = _swig_property(_coin.SoBumpMapTransform_center_get, _coin.SoBumpMapTransform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoBumpMapTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoBumpMapTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoBumpMapTransform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoBumpMapTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoBumpMapTransform_pick(*args) - -SoBumpMapTransform_swigregister = _coin.SoBumpMapTransform_swigregister -SoBumpMapTransform_swigregister(SoBumpMapTransform) - -def SoBumpMapTransform_getClassTypeId(*args): - """SoBumpMapTransform_getClassTypeId() -> SoType""" - return _coin.SoBumpMapTransform_getClassTypeId(*args) - -def SoBumpMapTransform_initClass(*args): - """SoBumpMapTransform_initClass()""" - return _coin.SoBumpMapTransform_initClass(*args) - -class SoCallback(SoNode): - """Proxy of C++ SoCallback class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCallback_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCallback_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCallback_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCallback""" - this = _coin.new_SoCallback(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCallback_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCallback_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCallback_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCallback_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoCallback_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoCallback_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCallback_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoCallback_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoCallback_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCallback_getPrimitiveCount(*args) - - def setCallback(*args): - """ - setCallback(self, SoCallbackCB function, void userdata=None) - setCallback(self, SoCallbackCB function) - setCallback(self, PyObject pyfunc, PyObject userdata=None) - setCallback(self, PyObject pyfunc) - """ - return _coin.SoCallback_setCallback(*args) - -SoCallback_swigregister = _coin.SoCallback_swigregister -SoCallback_swigregister(SoCallback) - -def SoCallback_getClassTypeId(*args): - """SoCallback_getClassTypeId() -> SoType""" - return _coin.SoCallback_getClassTypeId(*args) - -def SoCallback_initClass(*args): - """SoCallback_initClass()""" - return _coin.SoCallback_initClass(*args) - -SO_ASPECT_SQUARE = _coin.SO_ASPECT_SQUARE -SO_ASPECT_VIDEO = _coin.SO_ASPECT_VIDEO -SO_ASPECT_35mm_ACADEMY = _coin.SO_ASPECT_35mm_ACADEMY -SO_ASPECT_16mm = _coin.SO_ASPECT_16mm -SO_ASPECT_35mm_FULL = _coin.SO_ASPECT_35mm_FULL -SO_ASPECT_70mm = _coin.SO_ASPECT_70mm -SO_ASPECT_CINEMASCOPE = _coin.SO_ASPECT_CINEMASCOPE -SO_ASPECT_HDTV = _coin.SO_ASPECT_HDTV -SO_ASPECT_PANAVISION = _coin.SO_ASPECT_PANAVISION -SO_ASPECT_35mm = _coin.SO_ASPECT_35mm -SO_ASPECT_VISTAVISION = _coin.SO_ASPECT_VISTAVISION -class SoCamera(SoNode): - """Proxy of C++ SoCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCamera_initClass(*args) - - initClass = staticmethod(initClass) - CROP_VIEWPORT_FILL_FRAME = _coin.SoCamera_CROP_VIEWPORT_FILL_FRAME - CROP_VIEWPORT_LINE_FRAME = _coin.SoCamera_CROP_VIEWPORT_LINE_FRAME - CROP_VIEWPORT_NO_FRAME = _coin.SoCamera_CROP_VIEWPORT_NO_FRAME - ADJUST_CAMERA = _coin.SoCamera_ADJUST_CAMERA - LEAVE_ALONE = _coin.SoCamera_LEAVE_ALONE - viewportMapping = _swig_property(_coin.SoCamera_viewportMapping_get, _coin.SoCamera_viewportMapping_set) - position = _swig_property(_coin.SoCamera_position_get, _coin.SoCamera_position_set) - orientation = _swig_property(_coin.SoCamera_orientation_get, _coin.SoCamera_orientation_set) - aspectRatio = _swig_property(_coin.SoCamera_aspectRatio_get, _coin.SoCamera_aspectRatio_set) - nearDistance = _swig_property(_coin.SoCamera_nearDistance_get, _coin.SoCamera_nearDistance_set) - farDistance = _swig_property(_coin.SoCamera_farDistance_get, _coin.SoCamera_farDistance_set) - focalDistance = _swig_property(_coin.SoCamera_focalDistance_get, _coin.SoCamera_focalDistance_set) - def pointAt(*args): - """ - pointAt(self, SbVec3f targetpoint) - pointAt(self, SbVec3f targetpoint, SbVec3f upvector) - """ - return _coin.SoCamera_pointAt(*args) - - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoCamera_getViewVolume(*args) - - def viewAll(*args): - """ - viewAll(self, SoNode sceneroot, SbViewportRegion vpregion, float slack=1.0) - viewAll(self, SoNode sceneroot, SbViewportRegion vpregion) - viewAll(self, SoPath path, SbViewportRegion vpregion, float slack=1.0) - viewAll(self, SoPath path, SbViewportRegion vpregion) - """ - return _coin.SoCamera_viewAll(*args) - - def getViewportBounds(*args): - """getViewportBounds(self, SbViewportRegion region) -> SbViewportRegion""" - return _coin.SoCamera_getViewportBounds(*args) - - MONOSCOPIC = _coin.SoCamera_MONOSCOPIC - LEFT_VIEW = _coin.SoCamera_LEFT_VIEW - RIGHT_VIEW = _coin.SoCamera_RIGHT_VIEW - def setStereoMode(*args): - """setStereoMode(self, StereoMode mode)""" - return _coin.SoCamera_setStereoMode(*args) - - def getStereoMode(*args): - """getStereoMode(self) -> StereoMode""" - return _coin.SoCamera_getStereoMode(*args) - - def setStereoAdjustment(*args): - """setStereoAdjustment(self, float adjustment)""" - return _coin.SoCamera_setStereoAdjustment(*args) - - def getStereoAdjustment(*args): - """getStereoAdjustment(self) -> float""" - return _coin.SoCamera_getStereoAdjustment(*args) - - def setBalanceAdjustment(*args): - """setBalanceAdjustment(self, float adjustment)""" - return _coin.SoCamera_setBalanceAdjustment(*args) - - def getBalanceAdjustment(*args): - """getBalanceAdjustment(self) -> float""" - return _coin.SoCamera_getBalanceAdjustment(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCamera_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCamera_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCamera_GLRender(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoCamera_audioRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCamera_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoCamera_handleEvent(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCamera_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCamera_getPrimitiveCount(*args) - -SoCamera_swigregister = _coin.SoCamera_swigregister -SoCamera_swigregister(SoCamera) - -def SoCamera_getClassTypeId(*args): - """SoCamera_getClassTypeId() -> SoType""" - return _coin.SoCamera_getClassTypeId(*args) - -def SoCamera_initClass(*args): - """SoCamera_initClass()""" - return _coin.SoCamera_initClass(*args) - -class SoColorIndex(SoNode): - """Proxy of C++ SoColorIndex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoColorIndex_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoColorIndex_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoColorIndex_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoColorIndex""" - this = _coin.new_SoColorIndex(*args) - try: self.this.append(this) - except: self.this = this - index = _swig_property(_coin.SoColorIndex_index_get, _coin.SoColorIndex_index_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoColorIndex_GLRender(*args) - -SoColorIndex_swigregister = _coin.SoColorIndex_swigregister -SoColorIndex_swigregister(SoColorIndex) - -def SoColorIndex_getClassTypeId(*args): - """SoColorIndex_getClassTypeId() -> SoType""" - return _coin.SoColorIndex_getClassTypeId(*args) - -def SoColorIndex_initClass(*args): - """SoColorIndex_initClass()""" - return _coin.SoColorIndex_initClass(*args) - -class SoCone(SoShape): - """Proxy of C++ SoCone class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCone_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCone_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCone_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCone""" - this = _coin.new_SoCone(*args) - try: self.this.append(this) - except: self.this = this - SIDES = _coin.SoCone_SIDES - BOTTOM = _coin.SoCone_BOTTOM - ALL = _coin.SoCone_ALL - parts = _swig_property(_coin.SoCone_parts_get, _coin.SoCone_parts_set) - bottomRadius = _swig_property(_coin.SoCone_bottomRadius_get, _coin.SoCone_bottomRadius_set) - height = _swig_property(_coin.SoCone_height_get, _coin.SoCone_height_set) - def addPart(*args): - """addPart(self, Part part)""" - return _coin.SoCone_addPart(*args) - - def removePart(*args): - """removePart(self, Part part)""" - return _coin.SoCone_removePart(*args) - - def hasPart(*args): - """hasPart(self, Part part) -> SbBool""" - return _coin.SoCone_hasPart(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCone_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCone_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCone_getPrimitiveCount(*args) - -SoCone_swigregister = _coin.SoCone_swigregister -SoCone_swigregister(SoCone) - -def SoCone_getClassTypeId(*args): - """SoCone_getClassTypeId() -> SoType""" - return _coin.SoCone_getClassTypeId(*args) - -def SoCone_initClass(*args): - """SoCone_initClass()""" - return _coin.SoCone_initClass(*args) - -class SoCoordinate3(SoNode): - """Proxy of C++ SoCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCoordinate3""" - this = _coin.new_SoCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoCoordinate3_point_get, _coin.SoCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCoordinate3_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCoordinate3_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCoordinate3_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCoordinate3_getPrimitiveCount(*args) - -SoCoordinate3_swigregister = _coin.SoCoordinate3_swigregister -SoCoordinate3_swigregister(SoCoordinate3) - -def SoCoordinate3_getClassTypeId(*args): - """SoCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoCoordinate3_getClassTypeId(*args) - -def SoCoordinate3_initClass(*args): - """SoCoordinate3_initClass()""" - return _coin.SoCoordinate3_initClass(*args) - -class SoCoordinate4(SoNode): - """Proxy of C++ SoCoordinate4 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCoordinate4_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCoordinate4_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCoordinate4_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCoordinate4""" - this = _coin.new_SoCoordinate4(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoCoordinate4_point_get, _coin.SoCoordinate4_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoCoordinate4_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCoordinate4_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoCoordinate4_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoCoordinate4_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoCoordinate4_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCoordinate4_getPrimitiveCount(*args) - -SoCoordinate4_swigregister = _coin.SoCoordinate4_swigregister -SoCoordinate4_swigregister(SoCoordinate4) - -def SoCoordinate4_getClassTypeId(*args): - """SoCoordinate4_getClassTypeId() -> SoType""" - return _coin.SoCoordinate4_getClassTypeId(*args) - -def SoCoordinate4_initClass(*args): - """SoCoordinate4_initClass()""" - return _coin.SoCoordinate4_initClass(*args) - -class SoCube(SoShape): - """Proxy of C++ SoCube class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCube_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCube_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCube_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCube""" - this = _coin.new_SoCube(*args) - try: self.this.append(this) - except: self.this = this - width = _swig_property(_coin.SoCube_width_get, _coin.SoCube_width_set) - height = _swig_property(_coin.SoCube_height_get, _coin.SoCube_height_set) - depth = _swig_property(_coin.SoCube_depth_get, _coin.SoCube_depth_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCube_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCube_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCube_getPrimitiveCount(*args) - -SoCube_swigregister = _coin.SoCube_swigregister -SoCube_swigregister(SoCube) - -def SoCube_getClassTypeId(*args): - """SoCube_getClassTypeId() -> SoType""" - return _coin.SoCube_getClassTypeId(*args) - -def SoCube_initClass(*args): - """SoCube_initClass()""" - return _coin.SoCube_initClass(*args) - -class SoCylinder(SoShape): - """Proxy of C++ SoCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoCylinder""" - this = _coin.new_SoCylinder(*args) - try: self.this.append(this) - except: self.this = this - SIDES = _coin.SoCylinder_SIDES - TOP = _coin.SoCylinder_TOP - BOTTOM = _coin.SoCylinder_BOTTOM - ALL = _coin.SoCylinder_ALL - radius = _swig_property(_coin.SoCylinder_radius_get, _coin.SoCylinder_radius_set) - height = _swig_property(_coin.SoCylinder_height_get, _coin.SoCylinder_height_set) - parts = _swig_property(_coin.SoCylinder_parts_get, _coin.SoCylinder_parts_set) - def addPart(*args): - """addPart(self, Part part)""" - return _coin.SoCylinder_addPart(*args) - - def removePart(*args): - """removePart(self, Part part)""" - return _coin.SoCylinder_removePart(*args) - - def hasPart(*args): - """hasPart(self, Part part) -> SbBool""" - return _coin.SoCylinder_hasPart(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoCylinder_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoCylinder_getPrimitiveCount(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoCylinder_GLRender(*args) - -SoCylinder_swigregister = _coin.SoCylinder_swigregister -SoCylinder_swigregister(SoCylinder) - -def SoCylinder_getClassTypeId(*args): - """SoCylinder_getClassTypeId() -> SoType""" - return _coin.SoCylinder_getClassTypeId(*args) - -def SoCylinder_initClass(*args): - """SoCylinder_initClass()""" - return _coin.SoCylinder_initClass(*args) - -class SoEnvironment(SoNode): - """Proxy of C++ SoEnvironment class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEnvironment_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEnvironment_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEnvironment_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoEnvironment""" - this = _coin.new_SoEnvironment(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoEnvironment_NONE - HAZE = _coin.SoEnvironment_HAZE - FOG = _coin.SoEnvironment_FOG - SMOKE = _coin.SoEnvironment_SMOKE - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoEnvironment_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoEnvironment_callback(*args) - - ambientIntensity = _swig_property(_coin.SoEnvironment_ambientIntensity_get, _coin.SoEnvironment_ambientIntensity_set) - ambientColor = _swig_property(_coin.SoEnvironment_ambientColor_get, _coin.SoEnvironment_ambientColor_set) - attenuation = _swig_property(_coin.SoEnvironment_attenuation_get, _coin.SoEnvironment_attenuation_set) - fogType = _swig_property(_coin.SoEnvironment_fogType_get, _coin.SoEnvironment_fogType_set) - fogColor = _swig_property(_coin.SoEnvironment_fogColor_get, _coin.SoEnvironment_fogColor_set) - fogVisibility = _swig_property(_coin.SoEnvironment_fogVisibility_get, _coin.SoEnvironment_fogVisibility_set) -SoEnvironment_swigregister = _coin.SoEnvironment_swigregister -SoEnvironment_swigregister(SoEnvironment) - -def SoEnvironment_getClassTypeId(*args): - """SoEnvironment_getClassTypeId() -> SoType""" - return _coin.SoEnvironment_getClassTypeId(*args) - -def SoEnvironment_initClass(*args): - """SoEnvironment_initClass()""" - return _coin.SoEnvironment_initClass(*args) - -class SoEventCallback(SoNode): - """Proxy of C++ SoEventCallback class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoEventCallback_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoEventCallback_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoEventCallback_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoEventCallback""" - this = _coin.new_SoEventCallback(*args) - try: self.this.append(this) - except: self.this = this - def setPath(*args): - """setPath(self, SoPath path)""" - return _coin.SoEventCallback_setPath(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoEventCallback_getPath(*args) - - def getAction(*args): - """getAction(self) -> SoHandleEventAction""" - return _coin.SoEventCallback_getAction(*args) - - def getEvent(*args): - """getEvent(self) -> SoEvent""" - return _coin.SoEventCallback_getEvent(*args) - - def getPickedPoint(*args): - """getPickedPoint(self) -> SoPickedPoint""" - return _coin.SoEventCallback_getPickedPoint(*args) - - def setHandled(*args): - """setHandled(self)""" - return _coin.SoEventCallback_setHandled(*args) - - def isHandled(*args): - """isHandled(self) -> SbBool""" - return _coin.SoEventCallback_isHandled(*args) - - def grabEvents(*args): - """grabEvents(self)""" - return _coin.SoEventCallback_grabEvents(*args) - - def releaseEvents(*args): - """releaseEvents(self)""" - return _coin.SoEventCallback_releaseEvents(*args) - - def addEventCallback(*args): - """ - addEventCallback(self, SoType eventtype, SoEventCallbackCB f, void userdata=None) - addEventCallback(self, SoType eventtype, SoEventCallbackCB f) - addEventCallback(self, SoType eventtype, PyObject pyfunc, PyObject userdata=None) - addEventCallback(self, SoType eventtype, PyObject pyfunc) - """ - return _coin.SoEventCallback_addEventCallback(*args) - - def removeEventCallback(*args): - """ - removeEventCallback(self, SoType eventtype, SoEventCallbackCB f, void userdata=None) - removeEventCallback(self, SoType eventtype, SoEventCallbackCB f) - removeEventCallback(self, SoType eventtype, PyObject pyfunc, PyObject userdata=None) - removeEventCallback(self, SoType eventtype, PyObject pyfunc) - """ - return _coin.SoEventCallback_removeEventCallback(*args) - -SoEventCallback_swigregister = _coin.SoEventCallback_swigregister -SoEventCallback_swigregister(SoEventCallback) - -def SoEventCallback_getClassTypeId(*args): - """SoEventCallback_getClassTypeId() -> SoType""" - return _coin.SoEventCallback_getClassTypeId(*args) - -def SoEventCallback_initClass(*args): - """SoEventCallback_initClass()""" - return _coin.SoEventCallback_initClass(*args) - -class SoSelection(SoSeparator): - """Proxy of C++ SoSelection class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSelection_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSelection_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSelection_initClass(*args) - - initClass = staticmethod(initClass) - SINGLE = _coin.SoSelection_SINGLE - TOGGLE = _coin.SoSelection_TOGGLE - SHIFT = _coin.SoSelection_SHIFT - policy = _swig_property(_coin.SoSelection_policy_get, _coin.SoSelection_policy_set) - def __init__(self, *args): - """ - __init__(self) -> SoSelection - __init__(self, int nChildren) -> SoSelection - """ - this = _coin.new_SoSelection(*args) - try: self.this.append(this) - except: self.this = this - def select(*args): - """ - select(self, SoPath path) - select(self, SoNode node) - """ - return _coin.SoSelection_select(*args) - - def deselect(*args): - """ - deselect(self, SoPath path) - deselect(self, int which) - deselect(self, SoNode node) - """ - return _coin.SoSelection_deselect(*args) - - def toggle(*args): - """ - toggle(self, SoPath path) - toggle(self, SoNode node) - """ - return _coin.SoSelection_toggle(*args) - - def isSelected(*args): - """ - isSelected(self, SoPath path) -> SbBool - isSelected(self, SoNode node) -> SbBool - """ - return _coin.SoSelection_isSelected(*args) - - def deselectAll(*args): - """deselectAll(self)""" - return _coin.SoSelection_deselectAll(*args) - - def getNumSelected(*args): - """getNumSelected(self) -> int""" - return _coin.SoSelection_getNumSelected(*args) - - def getList(*args): - """getList(self) -> SoPathList""" - return _coin.SoSelection_getList(*args) - - def getPath(*args): - """getPath(self, int index) -> SoPath""" - return _coin.SoSelection_getPath(*args) - - def setPickMatching(*args): - """setPickMatching(self, SbBool pickMatching)""" - return _coin.SoSelection_setPickMatching(*args) - - def isPickMatching(*args): - """isPickMatching(self) -> SbBool""" - return _coin.SoSelection_isPickMatching(*args) - - def getPickMatching(*args): - """getPickMatching(self) -> SbBool""" - return _coin.SoSelection_getPickMatching(*args) - - def addSelectionCallback(*args): - """ - addSelectionCallback(self, SoSelectionPathCB f, void userData=None) - addSelectionCallback(self, SoSelectionPathCB f) - addSelectionCallback(self, PyObject pyfunc, PyObject userdata=None) - addSelectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addSelectionCallback(*args) - - def removeSelectionCallback(*args): - """ - removeSelectionCallback(self, SoSelectionPathCB f, void userData=None) - removeSelectionCallback(self, SoSelectionPathCB f) - removeSelectionCallback(self, PyObject pyfunc, PyObject userdata=None) - removeSelectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeSelectionCallback(*args) - - def addDeselectionCallback(*args): - """ - addDeselectionCallback(self, SoSelectionPathCB f, void userData=None) - addDeselectionCallback(self, SoSelectionPathCB f) - addDeselectionCallback(self, PyObject pyfunc, PyObject userdata=None) - addDeselectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addDeselectionCallback(*args) - - def removeDeselectionCallback(*args): - """ - removeDeselectionCallback(self, SoSelectionPathCB f, void userData=None) - removeDeselectionCallback(self, SoSelectionPathCB f) - removeDeselectionCallback(self, PyObject pyfunc, PyObject userdata=None) - removeDeselectionCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeDeselectionCallback(*args) - - def addStartCallback(*args): - """ - addStartCallback(self, SoSelectionClassCB f, void userData=None) - addStartCallback(self, SoSelectionClassCB f) - addStartCallback(self, PyObject pyfunc, PyObject userdata=None) - addStartCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addStartCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoSelectionClassCB f, void userData=None) - removeStartCallback(self, SoSelectionClassCB f) - removeStartCallback(self, PyObject pyfunc, PyObject userdata=None) - removeStartCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeStartCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoSelectionClassCB f, void userData=None) - addFinishCallback(self, SoSelectionClassCB f) - addFinishCallback(self, PyObject pyfunc, PyObject userdata=None) - addFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addFinishCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoSelectionClassCB f, void userData=None) - removeFinishCallback(self, SoSelectionClassCB f) - removeFinishCallback(self, PyObject pyfunc, PyObject userdata=None) - removeFinishCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeFinishCallback(*args) - - def setPickFilterCallback(*args): - """ - setPickFilterCallback(self, SoSelectionPickCB f, void userData=None, SbBool callOnlyIfSelectable=1) - setPickFilterCallback(self, SoSelectionPickCB f, void userData=None) - setPickFilterCallback(self, SoSelectionPickCB f) - setPickFilterCallback(self, PyObject pyfunc, PyObject userdata=None, int callOnlyIfSelectable=1) - setPickFilterCallback(self, PyObject pyfunc, PyObject userdata=None) - setPickFilterCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_setPickFilterCallback(*args) - - def addChangeCallback(*args): - """ - addChangeCallback(self, SoSelectionClassCB f, void userData=None) - addChangeCallback(self, SoSelectionClassCB f) - addChangeCallback(self, PyObject pyfunc, PyObject userdata=None) - addChangeCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_addChangeCallback(*args) - - def removeChangeCallback(*args): - """ - removeChangeCallback(self, SoSelectionClassCB f, void userData=None) - removeChangeCallback(self, SoSelectionClassCB f) - removeChangeCallback(self, PyObject pyfunc, PyObject userdata=None) - removeChangeCallback(self, PyObject pyfunc) - """ - return _coin.SoSelection_removeChangeCallback(*args) - -SoSelection_swigregister = _coin.SoSelection_swigregister -SoSelection_swigregister(SoSelection) - -def SoSelection_getClassTypeId(*args): - """SoSelection_getClassTypeId() -> SoType""" - return _coin.SoSelection_getClassTypeId(*args) - -def SoSelection_initClass(*args): - """SoSelection_initClass()""" - return _coin.SoSelection_initClass(*args) - -class SoExtSelection(SoSelection): - """Proxy of C++ SoExtSelection class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoExtSelection_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoExtSelection_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoExtSelection_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoExtSelection""" - this = _coin.new_SoExtSelection(*args) - try: self.this.append(this) - except: self.this = this - NOLASSO = _coin.SoExtSelection_NOLASSO - LASSO = _coin.SoExtSelection_LASSO - RECTANGLE = _coin.SoExtSelection_RECTANGLE - FULL_BBOX = _coin.SoExtSelection_FULL_BBOX - PART_BBOX = _coin.SoExtSelection_PART_BBOX - FULL = _coin.SoExtSelection_FULL - PART = _coin.SoExtSelection_PART - ALL_SHAPES = _coin.SoExtSelection_ALL_SHAPES - VISIBLE_SHAPES = _coin.SoExtSelection_VISIBLE_SHAPES - lassoType = _swig_property(_coin.SoExtSelection_lassoType_get, _coin.SoExtSelection_lassoType_set) - lassoPolicy = _swig_property(_coin.SoExtSelection_lassoPolicy_get, _coin.SoExtSelection_lassoPolicy_set) - lassoMode = _swig_property(_coin.SoExtSelection_lassoMode_get, _coin.SoExtSelection_lassoMode_set) - def useOverlay(*args): - """ - useOverlay(self, SbBool overlay=1) - useOverlay(self) - """ - return _coin.SoExtSelection_useOverlay(*args) - - def isUsingOverlay(*args): - """isUsingOverlay(self) -> SbBool""" - return _coin.SoExtSelection_isUsingOverlay(*args) - - def getOverlaySceneGraph(*args): - """getOverlaySceneGraph(self) -> SoSeparator""" - return _coin.SoExtSelection_getOverlaySceneGraph(*args) - - def setOverlayLassoColorIndex(*args): - """setOverlayLassoColorIndex(self, int index)""" - return _coin.SoExtSelection_setOverlayLassoColorIndex(*args) - - def getOverlayLassoColorIndex(*args): - """getOverlayLassoColorIndex(self) -> int""" - return _coin.SoExtSelection_getOverlayLassoColorIndex(*args) - - def setLassoColor(*args): - """setLassoColor(self, SbColor color)""" - return _coin.SoExtSelection_setLassoColor(*args) - - def getLassoColor(*args): - """getLassoColor(self) -> SbColor""" - return _coin.SoExtSelection_getLassoColor(*args) - - def setLassoWidth(*args): - """setLassoWidth(self, float width)""" - return _coin.SoExtSelection_setLassoWidth(*args) - - def getLassoWidth(*args): - """getLassoWidth(self) -> float""" - return _coin.SoExtSelection_getLassoWidth(*args) - - def setOverlayLassoPattern(*args): - """setOverlayLassoPattern(self, unsigned short pattern)""" - return _coin.SoExtSelection_setOverlayLassoPattern(*args) - - def getOverlayLassoPattern(*args): - """getOverlayLassoPattern(self) -> unsigned short""" - return _coin.SoExtSelection_getOverlayLassoPattern(*args) - - def animateOverlayLasso(*args): - """ - animateOverlayLasso(self, SbBool animate=1) - animateOverlayLasso(self) - """ - return _coin.SoExtSelection_animateOverlayLasso(*args) - - def isOverlayLassoAnimated(*args): - """isOverlayLassoAnimated(self) -> SbBool""" - return _coin.SoExtSelection_isOverlayLassoAnimated(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoExtSelection_handleEvent(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoExtSelection_GLRenderBelowPath(*args) - - def setLassoFilterCallback(*args): - """ - setLassoFilterCallback(self, SoLassoSelectionFilterCB f, void userdata=None, SbBool callonlyifselectable=1) - setLassoFilterCallback(self, SoLassoSelectionFilterCB f, void userdata=None) - setLassoFilterCallback(self, SoLassoSelectionFilterCB f) - """ - return _coin.SoExtSelection_setLassoFilterCallback(*args) - - def setTriangleFilterCallback(*args): - """ - setTriangleFilterCallback(self, SoExtSelectionTriangleCB func, void userdata=None) - setTriangleFilterCallback(self, SoExtSelectionTriangleCB func) - """ - return _coin.SoExtSelection_setTriangleFilterCallback(*args) - - def setLineSegmentFilterCallback(*args): - """ - setLineSegmentFilterCallback(self, SoExtSelectionLineSegmentCB func, void userdata=None) - setLineSegmentFilterCallback(self, SoExtSelectionLineSegmentCB func) - """ - return _coin.SoExtSelection_setLineSegmentFilterCallback(*args) - - def setPointFilterCallback(*args): - """ - setPointFilterCallback(self, SoExtSelectionPointCB func, void userdata=None) - setPointFilterCallback(self, SoExtSelectionPointCB func) - """ - return _coin.SoExtSelection_setPointFilterCallback(*args) - - def wasShiftDown(*args): - """wasShiftDown(self) -> SbBool""" - return _coin.SoExtSelection_wasShiftDown(*args) - -SoExtSelection_swigregister = _coin.SoExtSelection_swigregister -SoExtSelection_swigregister(SoExtSelection) - -def SoExtSelection_getClassTypeId(*args): - """SoExtSelection_getClassTypeId() -> SoType""" - return _coin.SoExtSelection_getClassTypeId(*args) - -def SoExtSelection_initClass(*args): - """SoExtSelection_initClass()""" - return _coin.SoExtSelection_initClass(*args) - -class SoVertexProperty(SoNode): - """Proxy of C++ SoVertexProperty class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexProperty_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexProperty_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexProperty_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVertexProperty""" - this = _coin.new_SoVertexProperty(*args) - try: self.this.append(this) - except: self.this = this - OVERALL = _coin.SoVertexProperty_OVERALL - PER_PART = _coin.SoVertexProperty_PER_PART - PER_PART_INDEXED = _coin.SoVertexProperty_PER_PART_INDEXED - PER_FACE = _coin.SoVertexProperty_PER_FACE - PER_FACE_INDEXED = _coin.SoVertexProperty_PER_FACE_INDEXED - PER_VERTEX = _coin.SoVertexProperty_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVertexProperty_PER_VERTEX_INDEXED - vertex = _swig_property(_coin.SoVertexProperty_vertex_get, _coin.SoVertexProperty_vertex_set) - texCoord = _swig_property(_coin.SoVertexProperty_texCoord_get, _coin.SoVertexProperty_texCoord_set) - texCoord3 = _swig_property(_coin.SoVertexProperty_texCoord3_get, _coin.SoVertexProperty_texCoord3_set) - normal = _swig_property(_coin.SoVertexProperty_normal_get, _coin.SoVertexProperty_normal_set) - normalBinding = _swig_property(_coin.SoVertexProperty_normalBinding_get, _coin.SoVertexProperty_normalBinding_set) - orderedRGBA = _swig_property(_coin.SoVertexProperty_orderedRGBA_get, _coin.SoVertexProperty_orderedRGBA_set) - materialBinding = _swig_property(_coin.SoVertexProperty_materialBinding_get, _coin.SoVertexProperty_materialBinding_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVertexProperty_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVertexProperty_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVertexProperty_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVertexProperty_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVertexProperty_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVertexProperty_getPrimitiveCount(*args) - -SoVertexProperty_swigregister = _coin.SoVertexProperty_swigregister -SoVertexProperty_swigregister(SoVertexProperty) - -def SoVertexProperty_getClassTypeId(*args): - """SoVertexProperty_getClassTypeId() -> SoType""" - return _coin.SoVertexProperty_getClassTypeId(*args) - -def SoVertexProperty_initClass(*args): - """SoVertexProperty_initClass()""" - return _coin.SoVertexProperty_initClass(*args) - -class SoVertexShape(SoShape): - """Proxy of C++ SoVertexShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVertexShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVertexShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVertexShape_initClass(*args) - - initClass = staticmethod(initClass) - vertexProperty = _swig_property(_coin.SoVertexShape_vertexProperty_get, _coin.SoVertexShape_vertexProperty_set) - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoVertexShape_notify(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState state, SoNormalBundle bundle) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache cache) -> SbBool - """ - return _coin.SoVertexShape_generateDefaultNormals(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVertexShape_write(*args) - -SoVertexShape_swigregister = _coin.SoVertexShape_swigregister -SoVertexShape_swigregister(SoVertexShape) - -def SoVertexShape_getClassTypeId(*args): - """SoVertexShape_getClassTypeId() -> SoType""" - return _coin.SoVertexShape_getClassTypeId(*args) - -def SoVertexShape_initClass(*args): - """SoVertexShape_initClass()""" - return _coin.SoVertexShape_initClass(*args) - -class SoNonIndexedShape(SoVertexShape): - """Proxy of C++ SoNonIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNonIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNonIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNonIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - startIndex = _swig_property(_coin.SoNonIndexedShape_startIndex_get, _coin.SoNonIndexedShape_startIndex_set) -SoNonIndexedShape_swigregister = _coin.SoNonIndexedShape_swigregister -SoNonIndexedShape_swigregister(SoNonIndexedShape) - -def SoNonIndexedShape_getClassTypeId(*args): - """SoNonIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoNonIndexedShape_getClassTypeId(*args) - -def SoNonIndexedShape_initClass(*args): - """SoNonIndexedShape_initClass()""" - return _coin.SoNonIndexedShape_initClass(*args) - -class SoFaceSet(SoNonIndexedShape): - """Proxy of C++ SoFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFaceSet""" - this = _coin.new_SoFaceSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoFaceSet_numVertices_get, _coin.SoFaceSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFaceSet_GLRender(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoFaceSet_generateDefaultNormals(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFaceSet_getPrimitiveCount(*args) - -SoFaceSet_swigregister = _coin.SoFaceSet_swigregister -SoFaceSet_swigregister(SoFaceSet) - -def SoFaceSet_getClassTypeId(*args): - """SoFaceSet_getClassTypeId() -> SoType""" - return _coin.SoFaceSet_getClassTypeId(*args) - -def SoFaceSet_initClass(*args): - """SoFaceSet_initClass()""" - return _coin.SoFaceSet_initClass(*args) - -class SoFile(SoNode): - """Proxy of C++ SoFile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFile""" - this = _coin.new_SoFile(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoFile_name_get, _coin.SoFile_name_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFile_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFile_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFile_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFile_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoFile_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoFile_handleEvent(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFile_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFile_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoFile_audioRender(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoFile_copyChildren(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoFile_getChildren(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyconnections)""" - return _coin.SoFile_copyContents(*args) - - def getFullName(*args): - """getFullName(self) -> SbString""" - return _coin.SoFile_getFullName(*args) - -SoFile_swigregister = _coin.SoFile_swigregister -SoFile_swigregister(SoFile) - -def SoFile_getClassTypeId(*args): - """SoFile_getClassTypeId() -> SoType""" - return _coin.SoFile_getClassTypeId(*args) - -def SoFile_initClass(*args): - """SoFile_initClass()""" - return _coin.SoFile_initClass(*args) - -class SoFont(SoNode): - """Proxy of C++ SoFont class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFont_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFont_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFont_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFont""" - this = _coin.new_SoFont(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoFont_name_get, _coin.SoFont_name_set) - size = _swig_property(_coin.SoFont_size_get, _coin.SoFont_size_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFont_doAction(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFont_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFont_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFont_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFont_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFont_getPrimitiveCount(*args) - -SoFont_swigregister = _coin.SoFont_swigregister -SoFont_swigregister(SoFont) - -def SoFont_getClassTypeId(*args): - """SoFont_getClassTypeId() -> SoType""" - return _coin.SoFont_getClassTypeId(*args) - -def SoFont_initClass(*args): - """SoFont_initClass()""" - return _coin.SoFont_initClass(*args) - -class SoFontStyle(SoFont): - """Proxy of C++ SoFontStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoFontStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoFontStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoFontStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoFontStyle""" - this = _coin.new_SoFontStyle(*args) - try: self.this.append(this) - except: self.this = this - SERIF = _coin.SoFontStyle_SERIF - SANS = _coin.SoFontStyle_SANS - TYPEWRITER = _coin.SoFontStyle_TYPEWRITER - NONE = _coin.SoFontStyle_NONE - BOLD = _coin.SoFontStyle_BOLD - ITALIC = _coin.SoFontStyle_ITALIC - family = _swig_property(_coin.SoFontStyle_family_get, _coin.SoFontStyle_family_set) - style = _swig_property(_coin.SoFontStyle_style_get, _coin.SoFontStyle_style_set) - def getFontName(*args): - """getFontName(self) -> SbString""" - return _coin.SoFontStyle_getFontName(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoFontStyle_doAction(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoFontStyle_getBoundingBox(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoFontStyle_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoFontStyle_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoFontStyle_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoFontStyle_getPrimitiveCount(*args) - -SoFontStyle_swigregister = _coin.SoFontStyle_swigregister -SoFontStyle_swigregister(SoFontStyle) - -def SoFontStyle_getClassTypeId(*args): - """SoFontStyle_getClassTypeId() -> SoType""" - return _coin.SoFontStyle_getClassTypeId(*args) - -def SoFontStyle_initClass(*args): - """SoFontStyle_initClass()""" - return _coin.SoFontStyle_initClass(*args) - -class SoIndexedShape(SoVertexShape): - """Proxy of C++ SoIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoIndexedShape_coordIndex_get, _coin.SoIndexedShape_coordIndex_set) - materialIndex = _swig_property(_coin.SoIndexedShape_materialIndex_get, _coin.SoIndexedShape_materialIndex_set) - normalIndex = _swig_property(_coin.SoIndexedShape_normalIndex_get, _coin.SoIndexedShape_normalIndex_set) - textureCoordIndex = _swig_property(_coin.SoIndexedShape_textureCoordIndex_get, _coin.SoIndexedShape_textureCoordIndex_set) -SoIndexedShape_swigregister = _coin.SoIndexedShape_swigregister -SoIndexedShape_swigregister(SoIndexedShape) - -def SoIndexedShape_getClassTypeId(*args): - """SoIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoIndexedShape_getClassTypeId(*args) - -def SoIndexedShape_initClass(*args): - """SoIndexedShape_initClass()""" - return _coin.SoIndexedShape_initClass(*args) - -SO_END_FACE_INDEX = _coin.SO_END_FACE_INDEX -class SoIndexedFaceSet(SoIndexedShape): - """Proxy of C++ SoIndexedFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedFaceSet""" - this = _coin.new_SoIndexedFaceSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedFaceSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedFaceSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState state, SoNormalBundle bundle) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache cache) -> SbBool - """ - return _coin.SoIndexedFaceSet_generateDefaultNormals(*args) - -SoIndexedFaceSet_swigregister = _coin.SoIndexedFaceSet_swigregister -SoIndexedFaceSet_swigregister(SoIndexedFaceSet) - -def SoIndexedFaceSet_getClassTypeId(*args): - """SoIndexedFaceSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedFaceSet_getClassTypeId(*args) - -def SoIndexedFaceSet_initClass(*args): - """SoIndexedFaceSet_initClass()""" - return _coin.SoIndexedFaceSet_initClass(*args) - -SO_END_LINE_INDEX = _coin.SO_END_LINE_INDEX -class SoIndexedLineSet(SoIndexedShape): - """Proxy of C++ SoIndexedLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedLineSet""" - this = _coin.new_SoIndexedLineSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedLineSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoIndexedLineSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedLineSet_getPrimitiveCount(*args) - -SoIndexedLineSet_swigregister = _coin.SoIndexedLineSet_swigregister -SoIndexedLineSet_swigregister(SoIndexedLineSet) - -def SoIndexedLineSet_getClassTypeId(*args): - """SoIndexedLineSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedLineSet_getClassTypeId(*args) - -def SoIndexedLineSet_initClass(*args): - """SoIndexedLineSet_initClass()""" - return _coin.SoIndexedLineSet_initClass(*args) - -class SoIndexedNurbsCurve(SoShape): - """Proxy of C++ SoIndexedNurbsCurve class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsCurve_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedNurbsCurve_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedNurbsCurve_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedNurbsCurve""" - this = _coin.new_SoIndexedNurbsCurve(*args) - try: self.this.append(this) - except: self.this = this - numControlPoints = _swig_property(_coin.SoIndexedNurbsCurve_numControlPoints_get, _coin.SoIndexedNurbsCurve_numControlPoints_set) - coordIndex = _swig_property(_coin.SoIndexedNurbsCurve_coordIndex_get, _coin.SoIndexedNurbsCurve_coordIndex_set) - knotVector = _swig_property(_coin.SoIndexedNurbsCurve_knotVector_get, _coin.SoIndexedNurbsCurve_knotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedNurbsCurve_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoIndexedNurbsCurve_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedNurbsCurve_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoIndexedNurbsCurve_getBoundingBox(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoIndexedNurbsCurve_sendPrimitive(*args) - -SoIndexedNurbsCurve_swigregister = _coin.SoIndexedNurbsCurve_swigregister -SoIndexedNurbsCurve_swigregister(SoIndexedNurbsCurve) - -def SoIndexedNurbsCurve_getClassTypeId(*args): - """SoIndexedNurbsCurve_getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsCurve_getClassTypeId(*args) - -def SoIndexedNurbsCurve_initClass(*args): - """SoIndexedNurbsCurve_initClass()""" - return _coin.SoIndexedNurbsCurve_initClass(*args) - -class SoIndexedNurbsSurface(SoShape): - """Proxy of C++ SoIndexedNurbsSurface class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsSurface_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedNurbsSurface_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedNurbsSurface_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedNurbsSurface""" - this = _coin.new_SoIndexedNurbsSurface(*args) - try: self.this.append(this) - except: self.this = this - numUControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numUControlPoints_get, _coin.SoIndexedNurbsSurface_numUControlPoints_set) - numVControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numVControlPoints_get, _coin.SoIndexedNurbsSurface_numVControlPoints_set) - coordIndex = _swig_property(_coin.SoIndexedNurbsSurface_coordIndex_get, _coin.SoIndexedNurbsSurface_coordIndex_set) - uKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_uKnotVector_get, _coin.SoIndexedNurbsSurface_uKnotVector_set) - vKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_vKnotVector_get, _coin.SoIndexedNurbsSurface_vKnotVector_set) - numSControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numSControlPoints_get, _coin.SoIndexedNurbsSurface_numSControlPoints_set) - numTControlPoints = _swig_property(_coin.SoIndexedNurbsSurface_numTControlPoints_get, _coin.SoIndexedNurbsSurface_numTControlPoints_set) - textureCoordIndex = _swig_property(_coin.SoIndexedNurbsSurface_textureCoordIndex_get, _coin.SoIndexedNurbsSurface_textureCoordIndex_set) - sKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_sKnotVector_get, _coin.SoIndexedNurbsSurface_sKnotVector_set) - tKnotVector = _swig_property(_coin.SoIndexedNurbsSurface_tKnotVector_get, _coin.SoIndexedNurbsSurface_tKnotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedNurbsSurface_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoIndexedNurbsSurface_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedNurbsSurface_getPrimitiveCount(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoIndexedNurbsSurface_sendPrimitive(*args) - -SoIndexedNurbsSurface_swigregister = _coin.SoIndexedNurbsSurface_swigregister -SoIndexedNurbsSurface_swigregister(SoIndexedNurbsSurface) - -def SoIndexedNurbsSurface_getClassTypeId(*args): - """SoIndexedNurbsSurface_getClassTypeId() -> SoType""" - return _coin.SoIndexedNurbsSurface_getClassTypeId(*args) - -def SoIndexedNurbsSurface_initClass(*args): - """SoIndexedNurbsSurface_initClass()""" - return _coin.SoIndexedNurbsSurface_initClass(*args) - -SO_END_STRIP_INDEX = _coin.SO_END_STRIP_INDEX -class SoIndexedTriangleStripSet(SoIndexedShape): - """Proxy of C++ SoIndexedTriangleStripSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoIndexedTriangleStripSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoIndexedTriangleStripSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoIndexedTriangleStripSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoIndexedTriangleStripSet""" - this = _coin.new_SoIndexedTriangleStripSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoIndexedTriangleStripSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoIndexedTriangleStripSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoIndexedTriangleStripSet_generateDefaultNormals(*args) - -SoIndexedTriangleStripSet_swigregister = _coin.SoIndexedTriangleStripSet_swigregister -SoIndexedTriangleStripSet_swigregister(SoIndexedTriangleStripSet) - -def SoIndexedTriangleStripSet_getClassTypeId(*args): - """SoIndexedTriangleStripSet_getClassTypeId() -> SoType""" - return _coin.SoIndexedTriangleStripSet_getClassTypeId(*args) - -def SoIndexedTriangleStripSet_initClass(*args): - """SoIndexedTriangleStripSet_initClass()""" - return _coin.SoIndexedTriangleStripSet_initClass(*args) - -class SoInfo(SoNode): - """Proxy of C++ SoInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoInfo""" - this = _coin.new_SoInfo(*args) - try: self.this.append(this) - except: self.this = this - string = _swig_property(_coin.SoInfo_string_get, _coin.SoInfo_string_set) -SoInfo_swigregister = _coin.SoInfo_swigregister -SoInfo_swigregister(SoInfo) - -def SoInfo_getClassTypeId(*args): - """SoInfo_getClassTypeId() -> SoType""" - return _coin.SoInfo_getClassTypeId(*args) - -def SoInfo_initClass(*args): - """SoInfo_initClass()""" - return _coin.SoInfo_initClass(*args) - -class SoLabel(SoNode): - """Proxy of C++ SoLabel class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLabel_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLabel_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLabel_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLabel""" - this = _coin.new_SoLabel(*args) - try: self.this.append(this) - except: self.this = this - label = _swig_property(_coin.SoLabel_label_get, _coin.SoLabel_label_set) -SoLabel_swigregister = _coin.SoLabel_swigregister -SoLabel_swigregister(SoLabel) - -def SoLabel_getClassTypeId(*args): - """SoLabel_getClassTypeId() -> SoType""" - return _coin.SoLabel_getClassTypeId(*args) - -def SoLabel_initClass(*args): - """SoLabel_initClass()""" - return _coin.SoLabel_initClass(*args) - -class SoLevelOfDetail(SoGroup): - """Proxy of C++ SoLevelOfDetail class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLevelOfDetail_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLevelOfDetail_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLevelOfDetail_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoLevelOfDetail - __init__(self, int numchildren) -> SoLevelOfDetail - """ - this = _coin.new_SoLevelOfDetail(*args) - try: self.this.append(this) - except: self.this = this - screenArea = _swig_property(_coin.SoLevelOfDetail_screenArea_get, _coin.SoLevelOfDetail_screenArea_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLevelOfDetail_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLevelOfDetail_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLevelOfDetail_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoLevelOfDetail_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLevelOfDetail_getBoundingBox(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoLevelOfDetail_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoLevelOfDetail_notify(*args) - -SoLevelOfDetail_swigregister = _coin.SoLevelOfDetail_swigregister -SoLevelOfDetail_swigregister(SoLevelOfDetail) - -def SoLevelOfDetail_getClassTypeId(*args): - """SoLevelOfDetail_getClassTypeId() -> SoType""" - return _coin.SoLevelOfDetail_getClassTypeId(*args) - -def SoLevelOfDetail_initClass(*args): - """SoLevelOfDetail_initClass()""" - return _coin.SoLevelOfDetail_initClass(*args) - -class SoProfile(SoNode): - """Proxy of C++ SoProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfile_initClass(*args) - - initClass = staticmethod(initClass) - START_FIRST = _coin.SoProfile_START_FIRST - START_NEW = _coin.SoProfile_START_NEW - ADD_TO_CURRENT = _coin.SoProfile_ADD_TO_CURRENT - index = _swig_property(_coin.SoProfile_index_get, _coin.SoProfile_index_set) - linkage = _swig_property(_coin.SoProfile_linkage_get, _coin.SoProfile_linkage_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfile_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfile_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfile_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoProfile_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfile_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfile_getPrimitiveCount(*args) - - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoProfile_getVertices(*args) - -SoProfile_swigregister = _coin.SoProfile_swigregister -SoProfile_swigregister(SoProfile) - -def SoProfile_getClassTypeId(*args): - """SoProfile_getClassTypeId() -> SoType""" - return _coin.SoProfile_getClassTypeId(*args) - -def SoProfile_initClass(*args): - """SoProfile_initClass()""" - return _coin.SoProfile_initClass(*args) - -class SoLinearProfile(SoProfile): - """Proxy of C++ SoLinearProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLinearProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLinearProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLinearProfile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLinearProfile""" - this = _coin.new_SoLinearProfile(*args) - try: self.this.append(this) - except: self.this = this - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoLinearProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoLinearProfile_getVertices(*args) - -SoLinearProfile_swigregister = _coin.SoLinearProfile_swigregister -SoLinearProfile_swigregister(SoLinearProfile) - -def SoLinearProfile_getClassTypeId(*args): - """SoLinearProfile_getClassTypeId() -> SoType""" - return _coin.SoLinearProfile_getClassTypeId(*args) - -def SoLinearProfile_initClass(*args): - """SoLinearProfile_initClass()""" - return _coin.SoLinearProfile_initClass(*args) - -class SoLineSet(SoNonIndexedShape): - """Proxy of C++ SoLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLineSet""" - this = _coin.new_SoLineSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoLineSet_numVertices_get, _coin.SoLineSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLineSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLineSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoLineSet_getPrimitiveCount(*args) - -SoLineSet_swigregister = _coin.SoLineSet_swigregister -SoLineSet_swigregister(SoLineSet) - -def SoLineSet_getClassTypeId(*args): - """SoLineSet_getClassTypeId() -> SoType""" - return _coin.SoLineSet_getClassTypeId(*args) - -def SoLineSet_initClass(*args): - """SoLineSet_initClass()""" - return _coin.SoLineSet_initClass(*args) - -class SoListener(SoNode): - """Proxy of C++ SoListener class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoListener_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoListener_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoListener_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoListener""" - this = _coin.new_SoListener(*args) - try: self.this.append(this) - except: self.this = this - position = _swig_property(_coin.SoListener_position_get, _coin.SoListener_position_set) - orientation = _swig_property(_coin.SoListener_orientation_get, _coin.SoListener_orientation_set) - gain = _swig_property(_coin.SoListener_gain_get, _coin.SoListener_gain_set) - dopplerVelocity = _swig_property(_coin.SoListener_dopplerVelocity_get, _coin.SoListener_dopplerVelocity_set) - dopplerFactor = _swig_property(_coin.SoListener_dopplerFactor_get, _coin.SoListener_dopplerFactor_set) -SoListener_swigregister = _coin.SoListener_swigregister -SoListener_swigregister(SoListener) - -def SoListener_getClassTypeId(*args): - """SoListener_getClassTypeId() -> SoType""" - return _coin.SoListener_getClassTypeId(*args) - -def SoListener_initClass(*args): - """SoListener_initClass()""" - return _coin.SoListener_initClass(*args) - -class SoLocateHighlight(SoSeparator): - """Proxy of C++ SoLocateHighlight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLocateHighlight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLocateHighlight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoLocateHighlight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoLocateHighlight""" - this = _coin.new_SoLocateHighlight(*args) - try: self.this.append(this) - except: self.this = this - AUTO = _coin.SoLocateHighlight_AUTO - ON = _coin.SoLocateHighlight_ON - OFF = _coin.SoLocateHighlight_OFF - EMISSIVE = _coin.SoLocateHighlight_EMISSIVE - EMISSIVE_DIFFUSE = _coin.SoLocateHighlight_EMISSIVE_DIFFUSE - color = _swig_property(_coin.SoLocateHighlight_color_get, _coin.SoLocateHighlight_color_set) - style = _swig_property(_coin.SoLocateHighlight_style_get, _coin.SoLocateHighlight_style_set) - mode = _swig_property(_coin.SoLocateHighlight_mode_get, _coin.SoLocateHighlight_mode_set) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoLocateHighlight_handleEvent(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoLocateHighlight_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoLocateHighlight_GLRenderInPath(*args) - - def turnOffCurrentHighlight(*args): - """turnOffCurrentHighlight(SoGLRenderAction action)""" - return _coin.SoLocateHighlight_turnOffCurrentHighlight(*args) - - turnOffCurrentHighlight = staticmethod(turnOffCurrentHighlight) -SoLocateHighlight_swigregister = _coin.SoLocateHighlight_swigregister -SoLocateHighlight_swigregister(SoLocateHighlight) - -def SoLocateHighlight_getClassTypeId(*args): - """SoLocateHighlight_getClassTypeId() -> SoType""" - return _coin.SoLocateHighlight_getClassTypeId(*args) - -def SoLocateHighlight_initClass(*args): - """SoLocateHighlight_initClass()""" - return _coin.SoLocateHighlight_initClass(*args) - -def SoLocateHighlight_turnOffCurrentHighlight(*args): - """SoLocateHighlight_turnOffCurrentHighlight(SoGLRenderAction action)""" - return _coin.SoLocateHighlight_turnOffCurrentHighlight(*args) - -class SoLOD(SoGroup): - """Proxy of C++ SoLOD class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoLOD_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoLOD_getTypeId(*args) - - def __init__(self, *args): - """ - __init__(self) -> SoLOD - __init__(self, int numchildren) -> SoLOD - """ - this = _coin.new_SoLOD(*args) - try: self.this.append(this) - except: self.this = this - def initClass(*args): - """initClass()""" - return _coin.SoLOD_initClass(*args) - - initClass = staticmethod(initClass) - range = _swig_property(_coin.SoLOD_range_get, _coin.SoLOD_range_set) - center = _swig_property(_coin.SoLOD_center_get, _coin.SoLOD_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoLOD_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoLOD_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoLOD_GLRenderOffPath(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoLOD_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoLOD_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoLOD_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoLOD_audioRender(*args) - - def notify(*args): - """notify(self, SoNotList nl)""" - return _coin.SoLOD_notify(*args) - -SoLOD_swigregister = _coin.SoLOD_swigregister -SoLOD_swigregister(SoLOD) - -def SoLOD_getClassTypeId(*args): - """SoLOD_getClassTypeId() -> SoType""" - return _coin.SoLOD_getClassTypeId(*args) - -def SoLOD_initClass(*args): - """SoLOD_initClass()""" - return _coin.SoLOD_initClass(*args) - -class SoPointSet(SoNonIndexedShape): - """Proxy of C++ SoPointSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPointSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPointSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPointSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPointSet""" - this = _coin.new_SoPointSet(*args) - try: self.this.append(this) - except: self.this = this - numPoints = _swig_property(_coin.SoPointSet_numPoints_get, _coin.SoPointSet_numPoints_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPointSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPointSet_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoPointSet_getPrimitiveCount(*args) - -SoPointSet_swigregister = _coin.SoPointSet_swigregister -SoPointSet_swigregister(SoPointSet) - -def SoPointSet_getClassTypeId(*args): - """SoPointSet_getClassTypeId() -> SoType""" - return _coin.SoPointSet_getClassTypeId(*args) - -def SoPointSet_initClass(*args): - """SoPointSet_initClass()""" - return _coin.SoPointSet_initClass(*args) - -class SoMarkerSet(SoPointSet): - """Proxy of C++ SoMarkerSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMarkerSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMarkerSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMarkerSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMarkerSet""" - this = _coin.new_SoMarkerSet(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoMarkerSet_NONE - CROSS_5_5 = _coin.SoMarkerSet_CROSS_5_5 - PLUS_5_5 = _coin.SoMarkerSet_PLUS_5_5 - MINUS_5_5 = _coin.SoMarkerSet_MINUS_5_5 - SLASH_5_5 = _coin.SoMarkerSet_SLASH_5_5 - BACKSLASH_5_5 = _coin.SoMarkerSet_BACKSLASH_5_5 - BAR_5_5 = _coin.SoMarkerSet_BAR_5_5 - STAR_5_5 = _coin.SoMarkerSet_STAR_5_5 - Y_5_5 = _coin.SoMarkerSet_Y_5_5 - LIGHTNING_5_5 = _coin.SoMarkerSet_LIGHTNING_5_5 - WELL_5_5 = _coin.SoMarkerSet_WELL_5_5 - CIRCLE_LINE_5_5 = _coin.SoMarkerSet_CIRCLE_LINE_5_5 - SQUARE_LINE_5_5 = _coin.SoMarkerSet_SQUARE_LINE_5_5 - DIAMOND_LINE_5_5 = _coin.SoMarkerSet_DIAMOND_LINE_5_5 - TRIANGLE_LINE_5_5 = _coin.SoMarkerSet_TRIANGLE_LINE_5_5 - RHOMBUS_LINE_5_5 = _coin.SoMarkerSet_RHOMBUS_LINE_5_5 - HOURGLASS_LINE_5_5 = _coin.SoMarkerSet_HOURGLASS_LINE_5_5 - SATELLITE_LINE_5_5 = _coin.SoMarkerSet_SATELLITE_LINE_5_5 - PINE_TREE_LINE_5_5 = _coin.SoMarkerSet_PINE_TREE_LINE_5_5 - CAUTION_LINE_5_5 = _coin.SoMarkerSet_CAUTION_LINE_5_5 - SHIP_LINE_5_5 = _coin.SoMarkerSet_SHIP_LINE_5_5 - CIRCLE_FILLED_5_5 = _coin.SoMarkerSet_CIRCLE_FILLED_5_5 - SQUARE_FILLED_5_5 = _coin.SoMarkerSet_SQUARE_FILLED_5_5 - DIAMOND_FILLED_5_5 = _coin.SoMarkerSet_DIAMOND_FILLED_5_5 - TRIANGLE_FILLED_5_5 = _coin.SoMarkerSet_TRIANGLE_FILLED_5_5 - RHOMBUS_FILLED_5_5 = _coin.SoMarkerSet_RHOMBUS_FILLED_5_5 - HOURGLASS_FILLED_5_5 = _coin.SoMarkerSet_HOURGLASS_FILLED_5_5 - SATELLITE_FILLED_5_5 = _coin.SoMarkerSet_SATELLITE_FILLED_5_5 - PINE_TREE_FILLED_5_5 = _coin.SoMarkerSet_PINE_TREE_FILLED_5_5 - CAUTION_FILLED_5_5 = _coin.SoMarkerSet_CAUTION_FILLED_5_5 - SHIP_FILLED_5_5 = _coin.SoMarkerSet_SHIP_FILLED_5_5 - CROSS_7_7 = _coin.SoMarkerSet_CROSS_7_7 - PLUS_7_7 = _coin.SoMarkerSet_PLUS_7_7 - MINUS_7_7 = _coin.SoMarkerSet_MINUS_7_7 - SLASH_7_7 = _coin.SoMarkerSet_SLASH_7_7 - BACKSLASH_7_7 = _coin.SoMarkerSet_BACKSLASH_7_7 - BAR_7_7 = _coin.SoMarkerSet_BAR_7_7 - STAR_7_7 = _coin.SoMarkerSet_STAR_7_7 - Y_7_7 = _coin.SoMarkerSet_Y_7_7 - LIGHTNING_7_7 = _coin.SoMarkerSet_LIGHTNING_7_7 - WELL_7_7 = _coin.SoMarkerSet_WELL_7_7 - CIRCLE_LINE_7_7 = _coin.SoMarkerSet_CIRCLE_LINE_7_7 - SQUARE_LINE_7_7 = _coin.SoMarkerSet_SQUARE_LINE_7_7 - DIAMOND_LINE_7_7 = _coin.SoMarkerSet_DIAMOND_LINE_7_7 - TRIANGLE_LINE_7_7 = _coin.SoMarkerSet_TRIANGLE_LINE_7_7 - RHOMBUS_LINE_7_7 = _coin.SoMarkerSet_RHOMBUS_LINE_7_7 - HOURGLASS_LINE_7_7 = _coin.SoMarkerSet_HOURGLASS_LINE_7_7 - SATELLITE_LINE_7_7 = _coin.SoMarkerSet_SATELLITE_LINE_7_7 - PINE_TREE_LINE_7_7 = _coin.SoMarkerSet_PINE_TREE_LINE_7_7 - CAUTION_LINE_7_7 = _coin.SoMarkerSet_CAUTION_LINE_7_7 - SHIP_LINE_7_7 = _coin.SoMarkerSet_SHIP_LINE_7_7 - CIRCLE_FILLED_7_7 = _coin.SoMarkerSet_CIRCLE_FILLED_7_7 - SQUARE_FILLED_7_7 = _coin.SoMarkerSet_SQUARE_FILLED_7_7 - DIAMOND_FILLED_7_7 = _coin.SoMarkerSet_DIAMOND_FILLED_7_7 - TRIANGLE_FILLED_7_7 = _coin.SoMarkerSet_TRIANGLE_FILLED_7_7 - RHOMBUS_FILLED_7_7 = _coin.SoMarkerSet_RHOMBUS_FILLED_7_7 - HOURGLASS_FILLED_7_7 = _coin.SoMarkerSet_HOURGLASS_FILLED_7_7 - SATELLITE_FILLED_7_7 = _coin.SoMarkerSet_SATELLITE_FILLED_7_7 - PINE_TREE_FILLED_7_7 = _coin.SoMarkerSet_PINE_TREE_FILLED_7_7 - CAUTION_FILLED_7_7 = _coin.SoMarkerSet_CAUTION_FILLED_7_7 - SHIP_FILLED_7_7 = _coin.SoMarkerSet_SHIP_FILLED_7_7 - CROSS_9_9 = _coin.SoMarkerSet_CROSS_9_9 - PLUS_9_9 = _coin.SoMarkerSet_PLUS_9_9 - MINUS_9_9 = _coin.SoMarkerSet_MINUS_9_9 - SLASH_9_9 = _coin.SoMarkerSet_SLASH_9_9 - BACKSLASH_9_9 = _coin.SoMarkerSet_BACKSLASH_9_9 - BAR_9_9 = _coin.SoMarkerSet_BAR_9_9 - STAR_9_9 = _coin.SoMarkerSet_STAR_9_9 - Y_9_9 = _coin.SoMarkerSet_Y_9_9 - LIGHTNING_9_9 = _coin.SoMarkerSet_LIGHTNING_9_9 - WELL_9_9 = _coin.SoMarkerSet_WELL_9_9 - CIRCLE_LINE_9_9 = _coin.SoMarkerSet_CIRCLE_LINE_9_9 - SQUARE_LINE_9_9 = _coin.SoMarkerSet_SQUARE_LINE_9_9 - DIAMOND_LINE_9_9 = _coin.SoMarkerSet_DIAMOND_LINE_9_9 - TRIANGLE_LINE_9_9 = _coin.SoMarkerSet_TRIANGLE_LINE_9_9 - RHOMBUS_LINE_9_9 = _coin.SoMarkerSet_RHOMBUS_LINE_9_9 - HOURGLASS_LINE_9_9 = _coin.SoMarkerSet_HOURGLASS_LINE_9_9 - SATELLITE_LINE_9_9 = _coin.SoMarkerSet_SATELLITE_LINE_9_9 - PINE_TREE_LINE_9_9 = _coin.SoMarkerSet_PINE_TREE_LINE_9_9 - CAUTION_LINE_9_9 = _coin.SoMarkerSet_CAUTION_LINE_9_9 - SHIP_LINE_9_9 = _coin.SoMarkerSet_SHIP_LINE_9_9 - CIRCLE_FILLED_9_9 = _coin.SoMarkerSet_CIRCLE_FILLED_9_9 - SQUARE_FILLED_9_9 = _coin.SoMarkerSet_SQUARE_FILLED_9_9 - DIAMOND_FILLED_9_9 = _coin.SoMarkerSet_DIAMOND_FILLED_9_9 - TRIANGLE_FILLED_9_9 = _coin.SoMarkerSet_TRIANGLE_FILLED_9_9 - RHOMBUS_FILLED_9_9 = _coin.SoMarkerSet_RHOMBUS_FILLED_9_9 - HOURGLASS_FILLED_9_9 = _coin.SoMarkerSet_HOURGLASS_FILLED_9_9 - SATELLITE_FILLED_9_9 = _coin.SoMarkerSet_SATELLITE_FILLED_9_9 - PINE_TREE_FILLED_9_9 = _coin.SoMarkerSet_PINE_TREE_FILLED_9_9 - CAUTION_FILLED_9_9 = _coin.SoMarkerSet_CAUTION_FILLED_9_9 - SHIP_FILLED_9_9 = _coin.SoMarkerSet_SHIP_FILLED_9_9 - NUM_MARKERS = _coin.SoMarkerSet_NUM_MARKERS - markerIndex = _swig_property(_coin.SoMarkerSet_markerIndex_get, _coin.SoMarkerSet_markerIndex_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMarkerSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMarkerSet_getPrimitiveCount(*args) - - def getNumDefinedMarkers(*args): - """getNumDefinedMarkers() -> int""" - return _coin.SoMarkerSet_getNumDefinedMarkers(*args) - - getNumDefinedMarkers = staticmethod(getNumDefinedMarkers) - def addMarker(*args): - """ - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, - SbBool isUpToDown=1) - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1) - addMarker(int idx, SbVec2s size, unsigned char bytes) - """ - return _coin.SoMarkerSet_addMarker(*args) - - addMarker = staticmethod(addMarker) - def getMarker(*args): - """getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool""" - return _coin.SoMarkerSet_getMarker(*args) - - getMarker = staticmethod(getMarker) - def removeMarker(*args): - """removeMarker(int idx) -> SbBool""" - return _coin.SoMarkerSet_removeMarker(*args) - - removeMarker = staticmethod(removeMarker) - def isMarkerBitSet(*args): - """isMarkerBitSet(int idx, int bitNumber) -> SbBool""" - return _coin.SoMarkerSet_isMarkerBitSet(*args) - - isMarkerBitSet = staticmethod(isMarkerBitSet) -SoMarkerSet_swigregister = _coin.SoMarkerSet_swigregister -SoMarkerSet_swigregister(SoMarkerSet) - -def SoMarkerSet_getClassTypeId(*args): - """SoMarkerSet_getClassTypeId() -> SoType""" - return _coin.SoMarkerSet_getClassTypeId(*args) - -def SoMarkerSet_initClass(*args): - """SoMarkerSet_initClass()""" - return _coin.SoMarkerSet_initClass(*args) - -def SoMarkerSet_getNumDefinedMarkers(*args): - """SoMarkerSet_getNumDefinedMarkers() -> int""" - return _coin.SoMarkerSet_getNumDefinedMarkers(*args) - -def SoMarkerSet_addMarker(*args): - """ - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, - SbBool isUpToDown=1) - addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1) - SoMarkerSet_addMarker(int idx, SbVec2s size, unsigned char bytes) - """ - return _coin.SoMarkerSet_addMarker(*args) - -def SoMarkerSet_getMarker(*args): - """SoMarkerSet_getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool""" - return _coin.SoMarkerSet_getMarker(*args) - -def SoMarkerSet_removeMarker(*args): - """SoMarkerSet_removeMarker(int idx) -> SbBool""" - return _coin.SoMarkerSet_removeMarker(*args) - -def SoMarkerSet_isMarkerBitSet(*args): - """SoMarkerSet_isMarkerBitSet(int idx, int bitNumber) -> SbBool""" - return _coin.SoMarkerSet_isMarkerBitSet(*args) - -class SoMaterial(SoNode): - """Proxy of C++ SoMaterial class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMaterial_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMaterial_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMaterial_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMaterial""" - this = _coin.new_SoMaterial(*args) - try: self.this.append(this) - except: self.this = this - ambientColor = _swig_property(_coin.SoMaterial_ambientColor_get, _coin.SoMaterial_ambientColor_set) - diffuseColor = _swig_property(_coin.SoMaterial_diffuseColor_get, _coin.SoMaterial_diffuseColor_set) - specularColor = _swig_property(_coin.SoMaterial_specularColor_get, _coin.SoMaterial_specularColor_set) - emissiveColor = _swig_property(_coin.SoMaterial_emissiveColor_get, _coin.SoMaterial_emissiveColor_set) - shininess = _swig_property(_coin.SoMaterial_shininess_get, _coin.SoMaterial_shininess_set) - transparency = _swig_property(_coin.SoMaterial_transparency_get, _coin.SoMaterial_transparency_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMaterial_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMaterial_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMaterial_callback(*args) - -SoMaterial_swigregister = _coin.SoMaterial_swigregister -SoMaterial_swigregister(SoMaterial) - -def SoMaterial_getClassTypeId(*args): - """SoMaterial_getClassTypeId() -> SoType""" - return _coin.SoMaterial_getClassTypeId(*args) - -def SoMaterial_initClass(*args): - """SoMaterial_initClass()""" - return _coin.SoMaterial_initClass(*args) - -class SoMatrixTransform(SoTransformation): - """Proxy of C++ SoMatrixTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMatrixTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMatrixTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMatrixTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMatrixTransform""" - this = _coin.new_SoMatrixTransform(*args) - try: self.this.append(this) - except: self.this = this - matrix = _swig_property(_coin.SoMatrixTransform_matrix_get, _coin.SoMatrixTransform_matrix_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMatrixTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMatrixTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMatrixTransform_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoMatrixTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoMatrixTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMatrixTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMatrixTransform_getPrimitiveCount(*args) - -SoMatrixTransform_swigregister = _coin.SoMatrixTransform_swigregister -SoMatrixTransform_swigregister(SoMatrixTransform) - -def SoMatrixTransform_getClassTypeId(*args): - """SoMatrixTransform_getClassTypeId() -> SoType""" - return _coin.SoMatrixTransform_getClassTypeId(*args) - -def SoMatrixTransform_initClass(*args): - """SoMatrixTransform_initClass()""" - return _coin.SoMatrixTransform_initClass(*args) - -class SoMultipleCopy(SoGroup): - """Proxy of C++ SoMultipleCopy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoMultipleCopy_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoMultipleCopy_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoMultipleCopy_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoMultipleCopy""" - this = _coin.new_SoMultipleCopy(*args) - try: self.this.append(this) - except: self.this = this - matrix = _swig_property(_coin.SoMultipleCopy_matrix_get, _coin.SoMultipleCopy_matrix_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoMultipleCopy_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoMultipleCopy_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoMultipleCopy_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoMultipleCopy_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoMultipleCopy_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoMultipleCopy_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoMultipleCopy_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoMultipleCopy_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoMultipleCopy_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoMultipleCopy_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoMultipleCopy_audioRender(*args) - -SoMultipleCopy_swigregister = _coin.SoMultipleCopy_swigregister -SoMultipleCopy_swigregister(SoMultipleCopy) - -def SoMultipleCopy_getClassTypeId(*args): - """SoMultipleCopy_getClassTypeId() -> SoType""" - return _coin.SoMultipleCopy_getClassTypeId(*args) - -def SoMultipleCopy_initClass(*args): - """SoMultipleCopy_initClass()""" - return _coin.SoMultipleCopy_initClass(*args) - -class SoPerspectiveCamera(SoCamera): - """Proxy of C++ SoPerspectiveCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPerspectiveCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPerspectiveCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPerspectiveCamera_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPerspectiveCamera""" - this = _coin.new_SoPerspectiveCamera(*args) - try: self.this.append(this) - except: self.this = this - heightAngle = _swig_property(_coin.SoPerspectiveCamera_heightAngle_get, _coin.SoPerspectiveCamera_heightAngle_set) - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoPerspectiveCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoPerspectiveCamera_getViewVolume(*args) - -SoPerspectiveCamera_swigregister = _coin.SoPerspectiveCamera_swigregister -SoPerspectiveCamera_swigregister(SoPerspectiveCamera) - -def SoPerspectiveCamera_getClassTypeId(*args): - """SoPerspectiveCamera_getClassTypeId() -> SoType""" - return _coin.SoPerspectiveCamera_getClassTypeId(*args) - -def SoPerspectiveCamera_initClass(*args): - """SoPerspectiveCamera_initClass()""" - return _coin.SoPerspectiveCamera_initClass(*args) - -class SoOrthographicCamera(SoCamera): - """Proxy of C++ SoOrthographicCamera class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoOrthographicCamera_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoOrthographicCamera_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoOrthographicCamera_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoOrthographicCamera""" - this = _coin.new_SoOrthographicCamera(*args) - try: self.this.append(this) - except: self.this = this - height = _swig_property(_coin.SoOrthographicCamera_height_get, _coin.SoOrthographicCamera_height_set) - def scaleHeight(*args): - """scaleHeight(self, float scalefactor)""" - return _coin.SoOrthographicCamera_scaleHeight(*args) - - def getViewVolume(*args): - """ - getViewVolume(self, float useaspectratio=0.0) -> SbViewVolume - getViewVolume(self) -> SbViewVolume - """ - return _coin.SoOrthographicCamera_getViewVolume(*args) - -SoOrthographicCamera_swigregister = _coin.SoOrthographicCamera_swigregister -SoOrthographicCamera_swigregister(SoOrthographicCamera) - -def SoOrthographicCamera_getClassTypeId(*args): - """SoOrthographicCamera_getClassTypeId() -> SoType""" - return _coin.SoOrthographicCamera_getClassTypeId(*args) - -def SoOrthographicCamera_initClass(*args): - """SoOrthographicCamera_initClass()""" - return _coin.SoOrthographicCamera_initClass(*args) - -class SoQuadMesh(SoNonIndexedShape): - """Proxy of C++ SoQuadMesh class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoQuadMesh_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoQuadMesh_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoQuadMesh_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoQuadMesh""" - this = _coin.new_SoQuadMesh(*args) - try: self.this.append(this) - except: self.this = this - verticesPerColumn = _swig_property(_coin.SoQuadMesh_verticesPerColumn_get, _coin.SoQuadMesh_verticesPerColumn_set) - verticesPerRow = _swig_property(_coin.SoQuadMesh_verticesPerRow_get, _coin.SoQuadMesh_verticesPerRow_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoQuadMesh_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoQuadMesh_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoQuadMesh_generateDefaultNormals(*args) - -SoQuadMesh_swigregister = _coin.SoQuadMesh_swigregister -SoQuadMesh_swigregister(SoQuadMesh) - -def SoQuadMesh_getClassTypeId(*args): - """SoQuadMesh_getClassTypeId() -> SoType""" - return _coin.SoQuadMesh_getClassTypeId(*args) - -def SoQuadMesh_initClass(*args): - """SoQuadMesh_initClass()""" - return _coin.SoQuadMesh_initClass(*args) - -class SoTriangleStripSet(SoNonIndexedShape): - """Proxy of C++ SoTriangleStripSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTriangleStripSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTriangleStripSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTriangleStripSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTriangleStripSet""" - this = _coin.new_SoTriangleStripSet(*args) - try: self.this.append(this) - except: self.this = this - numVertices = _swig_property(_coin.SoTriangleStripSet_numVertices_get, _coin.SoTriangleStripSet_numVertices_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTriangleStripSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTriangleStripSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """generateDefaultNormals(self, SoState state, SoNormalBundle nb) -> SbBool""" - return _coin.SoTriangleStripSet_generateDefaultNormals(*args) - -SoTriangleStripSet_swigregister = _coin.SoTriangleStripSet_swigregister -SoTriangleStripSet_swigregister(SoTriangleStripSet) - -def SoTriangleStripSet_getClassTypeId(*args): - """SoTriangleStripSet_getClassTypeId() -> SoType""" - return _coin.SoTriangleStripSet_getClassTypeId(*args) - -def SoTriangleStripSet_initClass(*args): - """SoTriangleStripSet_initClass()""" - return _coin.SoTriangleStripSet_initClass(*args) - -class SoNurbsCurve(SoShape): - """Proxy of C++ SoNurbsCurve class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsCurve_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsCurve_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsCurve_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsCurve""" - this = _coin.new_SoNurbsCurve(*args) - try: self.this.append(this) - except: self.this = this - numControlPoints = _swig_property(_coin.SoNurbsCurve_numControlPoints_get, _coin.SoNurbsCurve_numControlPoints_set) - knotVector = _swig_property(_coin.SoNurbsCurve_knotVector_get, _coin.SoNurbsCurve_knotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNurbsCurve_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNurbsCurve_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNurbsCurve_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoNurbsCurve_getBoundingBox(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoNurbsCurve_sendPrimitive(*args) - -SoNurbsCurve_swigregister = _coin.SoNurbsCurve_swigregister -SoNurbsCurve_swigregister(SoNurbsCurve) - -def SoNurbsCurve_getClassTypeId(*args): - """SoNurbsCurve_getClassTypeId() -> SoType""" - return _coin.SoNurbsCurve_getClassTypeId(*args) - -def SoNurbsCurve_initClass(*args): - """SoNurbsCurve_initClass()""" - return _coin.SoNurbsCurve_initClass(*args) - -class SoNurbsSurface(SoShape): - """Proxy of C++ SoNurbsSurface class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsSurface_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsSurface_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsSurface_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsSurface""" - this = _coin.new_SoNurbsSurface(*args) - try: self.this.append(this) - except: self.this = this - numUControlPoints = _swig_property(_coin.SoNurbsSurface_numUControlPoints_get, _coin.SoNurbsSurface_numUControlPoints_set) - numVControlPoints = _swig_property(_coin.SoNurbsSurface_numVControlPoints_get, _coin.SoNurbsSurface_numVControlPoints_set) - numSControlPoints = _swig_property(_coin.SoNurbsSurface_numSControlPoints_get, _coin.SoNurbsSurface_numSControlPoints_set) - numTControlPoints = _swig_property(_coin.SoNurbsSurface_numTControlPoints_get, _coin.SoNurbsSurface_numTControlPoints_set) - uKnotVector = _swig_property(_coin.SoNurbsSurface_uKnotVector_get, _coin.SoNurbsSurface_uKnotVector_set) - vKnotVector = _swig_property(_coin.SoNurbsSurface_vKnotVector_get, _coin.SoNurbsSurface_vKnotVector_set) - sKnotVector = _swig_property(_coin.SoNurbsSurface_sKnotVector_get, _coin.SoNurbsSurface_sKnotVector_set) - tKnotVector = _swig_property(_coin.SoNurbsSurface_tKnotVector_get, _coin.SoNurbsSurface_tKnotVector_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNurbsSurface_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoNurbsSurface_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNurbsSurface_getPrimitiveCount(*args) - - def sendPrimitive(*args): - """sendPrimitive(self, SoAction ?, SoPrimitiveVertex ?)""" - return _coin.SoNurbsSurface_sendPrimitive(*args) - -SoNurbsSurface_swigregister = _coin.SoNurbsSurface_swigregister -SoNurbsSurface_swigregister(SoNurbsSurface) - -def SoNurbsSurface_getClassTypeId(*args): - """SoNurbsSurface_getClassTypeId() -> SoType""" - return _coin.SoNurbsSurface_getClassTypeId(*args) - -def SoNurbsSurface_initClass(*args): - """SoNurbsSurface_initClass()""" - return _coin.SoNurbsSurface_initClass(*args) - -class SoSphere(SoShape): - """Proxy of C++ SoSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSphere""" - this = _coin.new_SoSphere(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoSphere_radius_get, _coin.SoSphere_radius_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSphere_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSphere_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoSphere_getPrimitiveCount(*args) - -SoSphere_swigregister = _coin.SoSphere_swigregister -SoSphere_swigregister(SoSphere) - -def SoSphere_getClassTypeId(*args): - """SoSphere_getClassTypeId() -> SoType""" - return _coin.SoSphere_getClassTypeId(*args) - -def SoSphere_initClass(*args): - """SoSphere_initClass()""" - return _coin.SoSphere_initClass(*args) - -class SoText2(SoShape): - """Proxy of C++ SoText2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoText2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoText2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoText2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoText2""" - this = _coin.new_SoText2(*args) - try: self.this.append(this) - except: self.this = this - LEFT = _coin.SoText2_LEFT - RIGHT = _coin.SoText2_RIGHT - CENTER = _coin.SoText2_CENTER - string = _swig_property(_coin.SoText2_string_get, _coin.SoText2_string_set) - spacing = _swig_property(_coin.SoText2_spacing_get, _coin.SoText2_spacing_set) - justification = _swig_property(_coin.SoText2_justification_get, _coin.SoText2_justification_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoText2_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoText2_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoText2_getPrimitiveCount(*args) - -SoText2_swigregister = _coin.SoText2_swigregister -SoText2_swigregister(SoText2) - -def SoText2_getClassTypeId(*args): - """SoText2_getClassTypeId() -> SoType""" - return _coin.SoText2_getClassTypeId(*args) - -def SoText2_initClass(*args): - """SoText2_initClass()""" - return _coin.SoText2_initClass(*args) - -class SoText3(SoShape): - """Proxy of C++ SoText3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoText3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoText3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoText3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoText3""" - this = _coin.new_SoText3(*args) - try: self.this.append(this) - except: self.this = this - FRONT = _coin.SoText3_FRONT - SIDES = _coin.SoText3_SIDES - BACK = _coin.SoText3_BACK - ALL = _coin.SoText3_ALL - LEFT = _coin.SoText3_LEFT - RIGHT = _coin.SoText3_RIGHT - CENTER = _coin.SoText3_CENTER - string = _swig_property(_coin.SoText3_string_get, _coin.SoText3_string_set) - spacing = _swig_property(_coin.SoText3_spacing_get, _coin.SoText3_spacing_set) - justification = _swig_property(_coin.SoText3_justification_get, _coin.SoText3_justification_set) - parts = _swig_property(_coin.SoText3_parts_get, _coin.SoText3_parts_set) - def getCharacterBounds(*args): - """getCharacterBounds(self, SoState state, int stringindex, int charindex) -> SbBox3f""" - return _coin.SoText3_getCharacterBounds(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoText3_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoText3_getPrimitiveCount(*args) - -SoText3_swigregister = _coin.SoText3_swigregister -SoText3_swigregister(SoText3) - -def SoText3_getClassTypeId(*args): - """SoText3_getClassTypeId() -> SoType""" - return _coin.SoText3_getClassTypeId(*args) - -def SoText3_initClass(*args): - """SoText3_initClass()""" - return _coin.SoText3_initClass(*args) - -class SoWWWAnchor(SoLocateHighlight): - """Proxy of C++ SoWWWAnchor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWWWAnchor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWWWAnchor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoWWWAnchor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoWWWAnchor""" - this = _coin.new_SoWWWAnchor(*args) - try: self.this.append(this) - except: self.this = this - NONE = _coin.SoWWWAnchor_NONE - POINT = _coin.SoWWWAnchor_POINT - name = _swig_property(_coin.SoWWWAnchor_name_get, _coin.SoWWWAnchor_name_set) - description = _swig_property(_coin.SoWWWAnchor_description_get, _coin.SoWWWAnchor_description_set) - map = _swig_property(_coin.SoWWWAnchor_map_get, _coin.SoWWWAnchor_map_set) - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoWWWAnchor_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoWWWAnchor_getFullURLName(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoWWWAnchor_handleEvent(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setHighlightURLCallBack(*args): - """setHighlightURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setHighlightURLCallBack(*args) - - setHighlightURLCallBack = staticmethod(setHighlightURLCallBack) -SoWWWAnchor_swigregister = _coin.SoWWWAnchor_swigregister -SoWWWAnchor_swigregister(SoWWWAnchor) - -def SoWWWAnchor_getClassTypeId(*args): - """SoWWWAnchor_getClassTypeId() -> SoType""" - return _coin.SoWWWAnchor_getClassTypeId(*args) - -def SoWWWAnchor_initClass(*args): - """SoWWWAnchor_initClass()""" - return _coin.SoWWWAnchor_initClass(*args) - -def SoWWWAnchor_setFetchURLCallBack(*args): - """SoWWWAnchor_setFetchURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setFetchURLCallBack(*args) - -def SoWWWAnchor_setHighlightURLCallBack(*args): - """SoWWWAnchor_setHighlightURLCallBack(SoWWWAnchorCB f, void userData)""" - return _coin.SoWWWAnchor_setHighlightURLCallBack(*args) - -class SoPathSwitch(SoGroup): - """Proxy of C++ SoPathSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPathSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPathSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPathSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoPathSwitch - __init__(self, int numchildren) -> SoPathSwitch - """ - this = _coin.new_SoPathSwitch(*args) - try: self.this.append(this) - except: self.this = this - path = _swig_property(_coin.SoPathSwitch_path_get, _coin.SoPathSwitch_path_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPathSwitch_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPathSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoPathSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoPathSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoPathSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoPathSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoPathSwitch_search(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoPathSwitch_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoPathSwitch_audioRender(*args) - -SoPathSwitch_swigregister = _coin.SoPathSwitch_swigregister -SoPathSwitch_swigregister(SoPathSwitch) - -def SoPathSwitch_getClassTypeId(*args): - """SoPathSwitch_getClassTypeId() -> SoType""" - return _coin.SoPathSwitch_getClassTypeId(*args) - -def SoPathSwitch_initClass(*args): - """SoPathSwitch_initClass()""" - return _coin.SoPathSwitch_initClass(*args) - -class SoTransformSeparator(SoGroup): - """Proxy of C++ SoTransformSeparator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransformSeparator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransformSeparator_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransformSeparator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoTransformSeparator - __init__(self, int nChildren) -> SoTransformSeparator - """ - this = _coin.new_SoTransformSeparator(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransformSeparator_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransformSeparator_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransformSeparator_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTransformSeparator_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTransformSeparator_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTransformSeparator_getMatrix(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTransformSeparator_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoTransformSeparator_audioRender(*args) - -SoTransformSeparator_swigregister = _coin.SoTransformSeparator_swigregister -SoTransformSeparator_swigregister(SoTransformSeparator) - -def SoTransformSeparator_getClassTypeId(*args): - """SoTransformSeparator_getClassTypeId() -> SoType""" - return _coin.SoTransformSeparator_getClassTypeId(*args) - -def SoTransformSeparator_initClass(*args): - """SoTransformSeparator_initClass()""" - return _coin.SoTransformSeparator_initClass(*args) - -class SoRotation(SoTransformation): - """Proxy of C++ SoRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotation""" - this = _coin.new_SoRotation(*args) - try: self.this.append(this) - except: self.this = this - rotation = _swig_property(_coin.SoRotation_rotation_get, _coin.SoRotation_rotation_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoRotation_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoRotation_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoRotation_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoRotation_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoRotation_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoRotation_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoRotation_getPrimitiveCount(*args) - -SoRotation_swigregister = _coin.SoRotation_swigregister -SoRotation_swigregister(SoRotation) - -def SoRotation_getClassTypeId(*args): - """SoRotation_getClassTypeId() -> SoType""" - return _coin.SoRotation_getClassTypeId(*args) - -def SoRotation_initClass(*args): - """SoRotation_initClass()""" - return _coin.SoRotation_initClass(*args) - -class SoPendulum(SoRotation): - """Proxy of C++ SoPendulum class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPendulum_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPendulum_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPendulum_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPendulum""" - this = _coin.new_SoPendulum(*args) - try: self.this.append(this) - except: self.this = this - rotation0 = _swig_property(_coin.SoPendulum_rotation0_get, _coin.SoPendulum_rotation0_set) - rotation1 = _swig_property(_coin.SoPendulum_rotation1_get, _coin.SoPendulum_rotation1_set) - speed = _swig_property(_coin.SoPendulum_speed_get, _coin.SoPendulum_speed_set) - on = _swig_property(_coin.SoPendulum_on_get, _coin.SoPendulum_on_set) - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoPendulum_write(*args) - -SoPendulum_swigregister = _coin.SoPendulum_swigregister -SoPendulum_swigregister(SoPendulum) - -def SoPendulum_getClassTypeId(*args): - """SoPendulum_getClassTypeId() -> SoType""" - return _coin.SoPendulum_getClassTypeId(*args) - -def SoPendulum_initClass(*args): - """SoPendulum_initClass()""" - return _coin.SoPendulum_initClass(*args) - -class SoRotor(SoRotation): - """Proxy of C++ SoRotor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotor""" - this = _coin.new_SoRotor(*args) - try: self.this.append(this) - except: self.this = this - speed = _swig_property(_coin.SoRotor_speed_get, _coin.SoRotor_speed_set) - on = _swig_property(_coin.SoRotor_on_get, _coin.SoRotor_on_set) -SoRotor_swigregister = _coin.SoRotor_swigregister -SoRotor_swigregister(SoRotor) - -def SoRotor_getClassTypeId(*args): - """SoRotor_getClassTypeId() -> SoType""" - return _coin.SoRotor_getClassTypeId(*args) - -def SoRotor_initClass(*args): - """SoRotor_initClass()""" - return _coin.SoRotor_initClass(*args) - -class SoResetTransform(SoTransformation): - """Proxy of C++ SoResetTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoResetTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoResetTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoResetTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoResetTransform""" - this = _coin.new_SoResetTransform(*args) - try: self.this.append(this) - except: self.this = this - TRANSFORM = _coin.SoResetTransform_TRANSFORM - BBOX = _coin.SoResetTransform_BBOX - whatToReset = _swig_property(_coin.SoResetTransform_whatToReset_get, _coin.SoResetTransform_whatToReset_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoResetTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoResetTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoResetTransform_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoResetTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoResetTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoResetTransform_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoResetTransform_getPrimitiveCount(*args) - -SoResetTransform_swigregister = _coin.SoResetTransform_swigregister -SoResetTransform_swigregister(SoResetTransform) - -def SoResetTransform_getClassTypeId(*args): - """SoResetTransform_getClassTypeId() -> SoType""" - return _coin.SoResetTransform_getClassTypeId(*args) - -def SoResetTransform_initClass(*args): - """SoResetTransform_initClass()""" - return _coin.SoResetTransform_initClass(*args) - -class SoRotationXYZ(SoTransformation): - """Proxy of C++ SoRotationXYZ class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoRotationXYZ_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoRotationXYZ_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoRotationXYZ_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoRotationXYZ""" - this = _coin.new_SoRotationXYZ(*args) - try: self.this.append(this) - except: self.this = this - X = _coin.SoRotationXYZ_X - Y = _coin.SoRotationXYZ_Y - Z = _coin.SoRotationXYZ_Z - axis = _swig_property(_coin.SoRotationXYZ_axis_get, _coin.SoRotationXYZ_axis_set) - angle = _swig_property(_coin.SoRotationXYZ_angle_get, _coin.SoRotationXYZ_angle_set) - def getRotation(*args): - """getRotation(self) -> SbRotation""" - return _coin.SoRotationXYZ_getRotation(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoRotationXYZ_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoRotationXYZ_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoRotationXYZ_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoRotationXYZ_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoRotationXYZ_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoRotationXYZ_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoRotationXYZ_getPrimitiveCount(*args) - -SoRotationXYZ_swigregister = _coin.SoRotationXYZ_swigregister -SoRotationXYZ_swigregister(SoRotationXYZ) - -def SoRotationXYZ_getClassTypeId(*args): - """SoRotationXYZ_getClassTypeId() -> SoType""" - return _coin.SoRotationXYZ_getClassTypeId(*args) - -def SoRotationXYZ_initClass(*args): - """SoRotationXYZ_initClass()""" - return _coin.SoRotationXYZ_initClass(*args) - -class SoTranslation(SoTransformation): - """Proxy of C++ SoTranslation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTranslation_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTranslation_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTranslation_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTranslation""" - this = _coin.new_SoTranslation(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTranslation_translation_get, _coin.SoTranslation_translation_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTranslation_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTranslation_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTranslation_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoTranslation_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTranslation_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTranslation_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoTranslation_getPrimitiveCount(*args) - -SoTranslation_swigregister = _coin.SoTranslation_swigregister -SoTranslation_swigregister(SoTranslation) - -def SoTranslation_getClassTypeId(*args): - """SoTranslation_getClassTypeId() -> SoType""" - return _coin.SoTranslation_getClassTypeId(*args) - -def SoTranslation_initClass(*args): - """SoTranslation_initClass()""" - return _coin.SoTranslation_initClass(*args) - -class SoShuttle(SoTranslation): - """Proxy of C++ SoShuttle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoShuttle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoShuttle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoShuttle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoShuttle""" - this = _coin.new_SoShuttle(*args) - try: self.this.append(this) - except: self.this = this - translation0 = _swig_property(_coin.SoShuttle_translation0_get, _coin.SoShuttle_translation0_set) - translation1 = _swig_property(_coin.SoShuttle_translation1_get, _coin.SoShuttle_translation1_set) - speed = _swig_property(_coin.SoShuttle_speed_get, _coin.SoShuttle_speed_set) - on = _swig_property(_coin.SoShuttle_on_get, _coin.SoShuttle_on_set) - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoShuttle_write(*args) - -SoShuttle_swigregister = _coin.SoShuttle_swigregister -SoShuttle_swigregister(SoShuttle) - -def SoShuttle_getClassTypeId(*args): - """SoShuttle_getClassTypeId() -> SoType""" - return _coin.SoShuttle_getClassTypeId(*args) - -def SoShuttle_initClass(*args): - """SoShuttle_initClass()""" - return _coin.SoShuttle_initClass(*args) - -class SoSurroundScale(SoTransformation): - """Proxy of C++ SoSurroundScale class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSurroundScale_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSurroundScale_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSurroundScale_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSurroundScale""" - this = _coin.new_SoSurroundScale(*args) - try: self.this.append(this) - except: self.this = this - numNodesUpToContainer = _swig_property(_coin.SoSurroundScale_numNodesUpToContainer_get, _coin.SoSurroundScale_numNodesUpToContainer_set) - numNodesUpToReset = _swig_property(_coin.SoSurroundScale_numNodesUpToReset_get, _coin.SoSurroundScale_numNodesUpToReset_set) - def invalidate(*args): - """invalidate(self)""" - return _coin.SoSurroundScale_invalidate(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSurroundScale_doAction(*args) - - def setDoingTranslations(*args): - """setDoingTranslations(self, SbBool val)""" - return _coin.SoSurroundScale_setDoingTranslations(*args) - - def isDoingTranslations(*args): - """isDoingTranslations(self) -> SbBool""" - return _coin.SoSurroundScale_isDoingTranslations(*args) - -SoSurroundScale_swigregister = _coin.SoSurroundScale_swigregister -SoSurroundScale_swigregister(SoSurroundScale) - -def SoSurroundScale_getClassTypeId(*args): - """SoSurroundScale_getClassTypeId() -> SoType""" - return _coin.SoSurroundScale_getClassTypeId(*args) - -def SoSurroundScale_initClass(*args): - """SoSurroundScale_initClass()""" - return _coin.SoSurroundScale_initClass(*args) - -class SoNurbsProfile(SoProfile): - """Proxy of C++ SoNurbsProfile class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNurbsProfile_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNurbsProfile_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNurbsProfile_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNurbsProfile""" - this = _coin.new_SoNurbsProfile(*args) - try: self.this.append(this) - except: self.this = this - knotVector = _swig_property(_coin.SoNurbsProfile_knotVector_get, _coin.SoNurbsProfile_knotVector_set) - def getTrimCurve(*args): - """ - getTrimCurve(self, SoState state, int32_t numpoints, float points, int floatspervec, - int32_t numknots, float knotvector) - """ - return _coin.SoNurbsProfile_getTrimCurve(*args) - - def getVertices(*args): - """getVertices(self, SoState state, int32_t numvertices, SbVec2f vertices)""" - return _coin.SoNurbsProfile_getVertices(*args) - -SoNurbsProfile_swigregister = _coin.SoNurbsProfile_swigregister -SoNurbsProfile_swigregister(SoNurbsProfile) - -def SoNurbsProfile_getClassTypeId(*args): - """SoNurbsProfile_getClassTypeId() -> SoType""" - return _coin.SoNurbsProfile_getClassTypeId(*args) - -def SoNurbsProfile_initClass(*args): - """SoNurbsProfile_initClass()""" - return _coin.SoNurbsProfile_initClass(*args) - -class SoNormal(SoNode): - """Proxy of C++ SoNormal class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoNormal_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoNormal_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoNormal_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoNormal""" - this = _coin.new_SoNormal(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoNormal_vector_get, _coin.SoNormal_vector_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoNormal_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoNormal_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoNormal_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoNormal_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoNormal_getPrimitiveCount(*args) - -SoNormal_swigregister = _coin.SoNormal_swigregister -SoNormal_swigregister(SoNormal) - -def SoNormal_getClassTypeId(*args): - """SoNormal_getClassTypeId() -> SoType""" - return _coin.SoNormal_getClassTypeId(*args) - -def SoNormal_initClass(*args): - """SoNormal_initClass()""" - return _coin.SoNormal_initClass(*args) - -class SoPackedColor(SoNode): - """Proxy of C++ SoPackedColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPackedColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPackedColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPackedColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPackedColor""" - this = _coin.new_SoPackedColor(*args) - try: self.this.append(this) - except: self.this = this - orderedRGBA = _swig_property(_coin.SoPackedColor_orderedRGBA_get, _coin.SoPackedColor_orderedRGBA_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPackedColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPackedColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPackedColor_callback(*args) - - def isTransparent(*args): - """isTransparent(self) -> SbBool""" - return _coin.SoPackedColor_isTransparent(*args) - -SoPackedColor_swigregister = _coin.SoPackedColor_swigregister -SoPackedColor_swigregister(SoPackedColor) - -def SoPackedColor_getClassTypeId(*args): - """SoPackedColor_getClassTypeId() -> SoType""" - return _coin.SoPackedColor_getClassTypeId(*args) - -def SoPackedColor_initClass(*args): - """SoPackedColor_initClass()""" - return _coin.SoPackedColor_initClass(*args) - -class SoPolygonOffset(SoNode): - """Proxy of C++ SoPolygonOffset class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoPolygonOffset_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoPolygonOffset_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoPolygonOffset_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoPolygonOffset""" - this = _coin.new_SoPolygonOffset(*args) - try: self.this.append(this) - except: self.this = this - FILLED = _coin.SoPolygonOffset_FILLED - LINES = _coin.SoPolygonOffset_LINES - POINTS = _coin.SoPolygonOffset_POINTS - factor = _swig_property(_coin.SoPolygonOffset_factor_get, _coin.SoPolygonOffset_factor_set) - units = _swig_property(_coin.SoPolygonOffset_units_get, _coin.SoPolygonOffset_units_set) - styles = _swig_property(_coin.SoPolygonOffset_styles_get, _coin.SoPolygonOffset_styles_set) - on = _swig_property(_coin.SoPolygonOffset_on_get, _coin.SoPolygonOffset_on_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoPolygonOffset_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoPolygonOffset_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoPolygonOffset_GLRender(*args) - -SoPolygonOffset_swigregister = _coin.SoPolygonOffset_swigregister -SoPolygonOffset_swigregister(SoPolygonOffset) - -def SoPolygonOffset_getClassTypeId(*args): - """SoPolygonOffset_getClassTypeId() -> SoType""" - return _coin.SoPolygonOffset_getClassTypeId(*args) - -def SoPolygonOffset_initClass(*args): - """SoPolygonOffset_initClass()""" - return _coin.SoPolygonOffset_initClass(*args) - -class SoProfileCoordinate2(SoNode): - """Proxy of C++ SoProfileCoordinate2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfileCoordinate2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinate2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoProfileCoordinate2""" - this = _coin.new_SoProfileCoordinate2(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoProfileCoordinate2_point_get, _coin.SoProfileCoordinate2_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfileCoordinate2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfileCoordinate2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfileCoordinate2_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfileCoordinate2_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoProfileCoordinate2_getBoundingBox(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfileCoordinate2_getPrimitiveCount(*args) - -SoProfileCoordinate2_swigregister = _coin.SoProfileCoordinate2_swigregister -SoProfileCoordinate2_swigregister(SoProfileCoordinate2) - -def SoProfileCoordinate2_getClassTypeId(*args): - """SoProfileCoordinate2_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate2_getClassTypeId(*args) - -def SoProfileCoordinate2_initClass(*args): - """SoProfileCoordinate2_initClass()""" - return _coin.SoProfileCoordinate2_initClass(*args) - -class SoProfileCoordinate3(SoNode): - """Proxy of C++ SoProfileCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoProfileCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoProfileCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoProfileCoordinate3""" - this = _coin.new_SoProfileCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoProfileCoordinate3_point_get, _coin.SoProfileCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoProfileCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoProfileCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoProfileCoordinate3_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoProfileCoordinate3_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoProfileCoordinate3_getPrimitiveCount(*args) - -SoProfileCoordinate3_swigregister = _coin.SoProfileCoordinate3_swigregister -SoProfileCoordinate3_swigregister(SoProfileCoordinate3) - -def SoProfileCoordinate3_getClassTypeId(*args): - """SoProfileCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoProfileCoordinate3_getClassTypeId(*args) - -def SoProfileCoordinate3_initClass(*args): - """SoProfileCoordinate3_initClass()""" - return _coin.SoProfileCoordinate3_initClass(*args) - -class SoTexture3(SoNode): - """Proxy of C++ SoTexture3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture3""" - this = _coin.new_SoTexture3(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoTexture3_MODULATE - DECAL = _coin.SoTexture3_DECAL - BLEND = _coin.SoTexture3_BLEND - REPEAT = _coin.SoTexture3_REPEAT - CLAMP = _coin.SoTexture3_CLAMP - filenames = _swig_property(_coin.SoTexture3_filenames_get, _coin.SoTexture3_filenames_set) - images = _swig_property(_coin.SoTexture3_images_get, _coin.SoTexture3_images_set) - wrapR = _swig_property(_coin.SoTexture3_wrapR_get, _coin.SoTexture3_wrapR_set) - wrapS = _swig_property(_coin.SoTexture3_wrapS_get, _coin.SoTexture3_wrapS_set) - wrapT = _swig_property(_coin.SoTexture3_wrapT_get, _coin.SoTexture3_wrapT_set) - model = _swig_property(_coin.SoTexture3_model_get, _coin.SoTexture3_model_set) - blendColor = _swig_property(_coin.SoTexture3_blendColor_get, _coin.SoTexture3_blendColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture3_callback(*args) - -SoTexture3_swigregister = _coin.SoTexture3_swigregister -SoTexture3_swigregister(SoTexture3) - -def SoTexture3_getClassTypeId(*args): - """SoTexture3_getClassTypeId() -> SoType""" - return _coin.SoTexture3_getClassTypeId(*args) - -def SoTexture3_initClass(*args): - """SoTexture3_initClass()""" - return _coin.SoTexture3_initClass(*args) - -class SoTexture2Transform(SoNode): - """Proxy of C++ SoTexture2Transform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture2Transform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture2Transform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture2Transform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture2Transform""" - this = _coin.new_SoTexture2Transform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTexture2Transform_translation_get, _coin.SoTexture2Transform_translation_set) - rotation = _swig_property(_coin.SoTexture2Transform_rotation_get, _coin.SoTexture2Transform_rotation_set) - scaleFactor = _swig_property(_coin.SoTexture2Transform_scaleFactor_get, _coin.SoTexture2Transform_scaleFactor_set) - center = _swig_property(_coin.SoTexture2Transform_center_get, _coin.SoTexture2Transform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture2Transform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture2Transform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture2Transform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTexture2Transform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTexture2Transform_pick(*args) - -SoTexture2Transform_swigregister = _coin.SoTexture2Transform_swigregister -SoTexture2Transform_swigregister(SoTexture2Transform) - -def SoTexture2Transform_getClassTypeId(*args): - """SoTexture2Transform_getClassTypeId() -> SoType""" - return _coin.SoTexture2Transform_getClassTypeId(*args) - -def SoTexture2Transform_initClass(*args): - """SoTexture2Transform_initClass()""" - return _coin.SoTexture2Transform_initClass(*args) - -class SoTexture3Transform(SoNode): - """Proxy of C++ SoTexture3Transform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTexture3Transform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTexture3Transform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTexture3Transform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTexture3Transform""" - this = _coin.new_SoTexture3Transform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoTexture3Transform_translation_get, _coin.SoTexture3Transform_translation_set) - rotation = _swig_property(_coin.SoTexture3Transform_rotation_get, _coin.SoTexture3Transform_rotation_set) - scaleFactor = _swig_property(_coin.SoTexture3Transform_scaleFactor_get, _coin.SoTexture3Transform_scaleFactor_set) - scaleOrientation = _swig_property(_coin.SoTexture3Transform_scaleOrientation_get, _coin.SoTexture3Transform_scaleOrientation_set) - center = _swig_property(_coin.SoTexture3Transform_center_get, _coin.SoTexture3Transform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTexture3Transform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTexture3Transform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTexture3Transform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoTexture3Transform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTexture3Transform_pick(*args) - -SoTexture3Transform_swigregister = _coin.SoTexture3Transform_swigregister -SoTexture3Transform_swigregister(SoTexture3Transform) - -def SoTexture3Transform_getClassTypeId(*args): - """SoTexture3Transform_getClassTypeId() -> SoType""" - return _coin.SoTexture3Transform_getClassTypeId(*args) - -def SoTexture3Transform_initClass(*args): - """SoTexture3Transform_initClass()""" - return _coin.SoTexture3Transform_initClass(*args) - -class SoTextureCoordinate2(SoNode): - """Proxy of C++ SoTextureCoordinate2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinate2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinate2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinate2""" - this = _coin.new_SoTextureCoordinate2(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoTextureCoordinate2_point_get, _coin.SoTextureCoordinate2_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinate2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinate2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinate2_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinate2_pick(*args) - -SoTextureCoordinate2_swigregister = _coin.SoTextureCoordinate2_swigregister -SoTextureCoordinate2_swigregister(SoTextureCoordinate2) - -def SoTextureCoordinate2_getClassTypeId(*args): - """SoTextureCoordinate2_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate2_getClassTypeId(*args) - -def SoTextureCoordinate2_initClass(*args): - """SoTextureCoordinate2_initClass()""" - return _coin.SoTextureCoordinate2_initClass(*args) - -class SoTextureCoordinate3(SoNode): - """Proxy of C++ SoTextureCoordinate3 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate3_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinate3_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinate3_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinate3""" - this = _coin.new_SoTextureCoordinate3(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoTextureCoordinate3_point_get, _coin.SoTextureCoordinate3_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinate3_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinate3_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinate3_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinate3_pick(*args) - -SoTextureCoordinate3_swigregister = _coin.SoTextureCoordinate3_swigregister -SoTextureCoordinate3_swigregister(SoTextureCoordinate3) - -def SoTextureCoordinate3_getClassTypeId(*args): - """SoTextureCoordinate3_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinate3_getClassTypeId(*args) - -def SoTextureCoordinate3_initClass(*args): - """SoTextureCoordinate3_initClass()""" - return _coin.SoTextureCoordinate3_initClass(*args) - -class SoTextureCoordinateFunction(SoNode): - """Proxy of C++ SoTextureCoordinateFunction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateFunction_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateFunction_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateFunction_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateFunction""" - this = _coin.new_SoTextureCoordinateFunction(*args) - try: self.this.append(this) - except: self.this = this -SoTextureCoordinateFunction_swigregister = _coin.SoTextureCoordinateFunction_swigregister -SoTextureCoordinateFunction_swigregister(SoTextureCoordinateFunction) - -def SoTextureCoordinateFunction_getClassTypeId(*args): - """SoTextureCoordinateFunction_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateFunction_getClassTypeId(*args) - -def SoTextureCoordinateFunction_initClass(*args): - """SoTextureCoordinateFunction_initClass()""" - return _coin.SoTextureCoordinateFunction_initClass(*args) - -class SoTextureCoordinateDefault(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateDefault class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateDefault_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateDefault_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateDefault_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateDefault""" - this = _coin.new_SoTextureCoordinateDefault(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateDefault_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateDefault_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateDefault_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateDefault_pick(*args) - -SoTextureCoordinateDefault_swigregister = _coin.SoTextureCoordinateDefault_swigregister -SoTextureCoordinateDefault_swigregister(SoTextureCoordinateDefault) - -def SoTextureCoordinateDefault_getClassTypeId(*args): - """SoTextureCoordinateDefault_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateDefault_getClassTypeId(*args) - -def SoTextureCoordinateDefault_initClass(*args): - """SoTextureCoordinateDefault_initClass()""" - return _coin.SoTextureCoordinateDefault_initClass(*args) - -class SoTextureCoordinateEnvironment(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinateEnvironment class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateEnvironment_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateEnvironment""" - this = _coin.new_SoTextureCoordinateEnvironment(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateEnvironment_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateEnvironment_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateEnvironment_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateEnvironment_callback(*args) - -SoTextureCoordinateEnvironment_swigregister = _coin.SoTextureCoordinateEnvironment_swigregister -SoTextureCoordinateEnvironment_swigregister(SoTextureCoordinateEnvironment) - -def SoTextureCoordinateEnvironment_getClassTypeId(*args): - """SoTextureCoordinateEnvironment_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateEnvironment_getClassTypeId(*args) - -def SoTextureCoordinateEnvironment_initClass(*args): - """SoTextureCoordinateEnvironment_initClass()""" - return _coin.SoTextureCoordinateEnvironment_initClass(*args) - -class SoTextureCoordinatePlane(SoTextureCoordinateFunction): - """Proxy of C++ SoTextureCoordinatePlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinatePlane_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinatePlane_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinatePlane_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinatePlane""" - this = _coin.new_SoTextureCoordinatePlane(*args) - try: self.this.append(this) - except: self.this = this - directionS = _swig_property(_coin.SoTextureCoordinatePlane_directionS_get, _coin.SoTextureCoordinatePlane_directionS_set) - directionT = _swig_property(_coin.SoTextureCoordinatePlane_directionT_get, _coin.SoTextureCoordinatePlane_directionT_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinatePlane_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinatePlane_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinatePlane_pick(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinatePlane_callback(*args) - -SoTextureCoordinatePlane_swigregister = _coin.SoTextureCoordinatePlane_swigregister -SoTextureCoordinatePlane_swigregister(SoTextureCoordinatePlane) - -def SoTextureCoordinatePlane_getClassTypeId(*args): - """SoTextureCoordinatePlane_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinatePlane_getClassTypeId(*args) - -def SoTextureCoordinatePlane_initClass(*args): - """SoTextureCoordinatePlane_initClass()""" - return _coin.SoTextureCoordinatePlane_initClass(*args) - -class SoWWWInline(SoNode): - """Proxy of C++ SoWWWInline class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoWWWInline_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoWWWInline_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoWWWInline_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoWWWInline""" - this = _coin.new_SoWWWInline(*args) - try: self.this.append(this) - except: self.this = this - name = _swig_property(_coin.SoWWWInline_name_get, _coin.SoWWWInline_name_set) - bboxCenter = _swig_property(_coin.SoWWWInline_bboxCenter_get, _coin.SoWWWInline_bboxCenter_set) - bboxSize = _swig_property(_coin.SoWWWInline_bboxSize_get, _coin.SoWWWInline_bboxSize_set) - alternateRep = _swig_property(_coin.SoWWWInline_alternateRep_get, _coin.SoWWWInline_alternateRep_set) - NEVER = _coin.SoWWWInline_NEVER - UNTIL_LOADED = _coin.SoWWWInline_UNTIL_LOADED - ALWAYS = _coin.SoWWWInline_ALWAYS - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoWWWInline_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoWWWInline_getFullURLName(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoWWWInline_copyChildren(*args) - - def requestURLData(*args): - """requestURLData(self)""" - return _coin.SoWWWInline_requestURLData(*args) - - def isURLDataRequested(*args): - """isURLDataRequested(self) -> SbBool""" - return _coin.SoWWWInline_isURLDataRequested(*args) - - def isURLDataHere(*args): - """isURLDataHere(self) -> SbBool""" - return _coin.SoWWWInline_isURLDataHere(*args) - - def cancelURLDataRequest(*args): - """cancelURLDataRequest(self)""" - return _coin.SoWWWInline_cancelURLDataRequest(*args) - - def setChildData(*args): - """setChildData(self, SoNode urldata)""" - return _coin.SoWWWInline_setChildData(*args) - - def getChildData(*args): - """getChildData(self) -> SoNode""" - return _coin.SoWWWInline_getChildData(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoWWWInline_getChildren(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)""" - return _coin.SoWWWInline_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setBoundingBoxVisibility(*args): - """setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoWWWInline_setBoundingBoxVisibility(*args) - - setBoundingBoxVisibility = staticmethod(setBoundingBoxVisibility) - def getBoundingBoxVisibility(*args): - """getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoWWWInline_getBoundingBoxVisibility(*args) - - getBoundingBoxVisibility = staticmethod(getBoundingBoxVisibility) - def setBoundingBoxColor(*args): - """setBoundingBoxColor(SbColor c)""" - return _coin.SoWWWInline_setBoundingBoxColor(*args) - - setBoundingBoxColor = staticmethod(setBoundingBoxColor) - def getBoundingBoxColor(*args): - """getBoundingBoxColor() -> SbColor""" - return _coin.SoWWWInline_getBoundingBoxColor(*args) - - getBoundingBoxColor = staticmethod(getBoundingBoxColor) - def setReadAsSoFile(*args): - """setReadAsSoFile(SbBool onoff)""" - return _coin.SoWWWInline_setReadAsSoFile(*args) - - setReadAsSoFile = staticmethod(setReadAsSoFile) - def getReadAsSoFile(*args): - """getReadAsSoFile() -> SbBool""" - return _coin.SoWWWInline_getReadAsSoFile(*args) - - getReadAsSoFile = staticmethod(getReadAsSoFile) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoWWWInline_doAction(*args) - - def doActionOnKidsOrBox(*args): - """doActionOnKidsOrBox(self, SoAction action)""" - return _coin.SoWWWInline_doActionOnKidsOrBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoWWWInline_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoWWWInline_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoWWWInline_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoWWWInline_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoWWWInline_handleEvent(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoWWWInline_search(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoWWWInline_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoWWWInline_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoWWWInline_audioRender(*args) - -SoWWWInline_swigregister = _coin.SoWWWInline_swigregister -SoWWWInline_swigregister(SoWWWInline) - -def SoWWWInline_getClassTypeId(*args): - """SoWWWInline_getClassTypeId() -> SoType""" - return _coin.SoWWWInline_getClassTypeId(*args) - -def SoWWWInline_initClass(*args): - """SoWWWInline_initClass()""" - return _coin.SoWWWInline_initClass(*args) - -def SoWWWInline_setFetchURLCallBack(*args): - """SoWWWInline_setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)""" - return _coin.SoWWWInline_setFetchURLCallBack(*args) - -def SoWWWInline_setBoundingBoxVisibility(*args): - """SoWWWInline_setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoWWWInline_setBoundingBoxVisibility(*args) - -def SoWWWInline_getBoundingBoxVisibility(*args): - """SoWWWInline_getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoWWWInline_getBoundingBoxVisibility(*args) - -def SoWWWInline_setBoundingBoxColor(*args): - """SoWWWInline_setBoundingBoxColor(SbColor c)""" - return _coin.SoWWWInline_setBoundingBoxColor(*args) - -def SoWWWInline_getBoundingBoxColor(*args): - """SoWWWInline_getBoundingBoxColor() -> SbColor""" - return _coin.SoWWWInline_getBoundingBoxColor(*args) - -def SoWWWInline_setReadAsSoFile(*args): - """SoWWWInline_setReadAsSoFile(SbBool onoff)""" - return _coin.SoWWWInline_setReadAsSoFile(*args) - -def SoWWWInline_getReadAsSoFile(*args): - """SoWWWInline_getReadAsSoFile() -> SbBool""" - return _coin.SoWWWInline_getReadAsSoFile(*args) - -class SoTransparencyType(SoNode): - """Proxy of C++ SoTransparencyType class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTransparencyType_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTransparencyType_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTransparencyType_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTransparencyType""" - this = _coin.new_SoTransparencyType(*args) - try: self.this.append(this) - except: self.this = this - SCREEN_DOOR = _coin.SoTransparencyType_SCREEN_DOOR - ADD = _coin.SoTransparencyType_ADD - DELAYED_ADD = _coin.SoTransparencyType_DELAYED_ADD - SORTED_OBJECT_ADD = _coin.SoTransparencyType_SORTED_OBJECT_ADD - BLEND = _coin.SoTransparencyType_BLEND - DELAYED_BLEND = _coin.SoTransparencyType_DELAYED_BLEND - SORTED_OBJECT_BLEND = _coin.SoTransparencyType_SORTED_OBJECT_BLEND - SORTED_OBJECT_SORTED_TRIANGLE_ADD = _coin.SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_ADD - SORTED_OBJECT_SORTED_TRIANGLE_BLEND = _coin.SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_BLEND - NONE = _coin.SoTransparencyType_NONE - value = _swig_property(_coin.SoTransparencyType_value_get, _coin.SoTransparencyType_value_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTransparencyType_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTransparencyType_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTransparencyType_callback(*args) - -SoTransparencyType_swigregister = _coin.SoTransparencyType_swigregister -SoTransparencyType_swigregister(SoTransparencyType) - -def SoTransparencyType_getClassTypeId(*args): - """SoTransparencyType_getClassTypeId() -> SoType""" - return _coin.SoTransparencyType_getClassTypeId(*args) - -def SoTransparencyType_initClass(*args): - """SoTransparencyType_initClass()""" - return _coin.SoTransparencyType_initClass(*args) - -class SoTextureScalePolicy(SoNode): - """Proxy of C++ SoTextureScalePolicy class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureScalePolicy_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureScalePolicy_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureScalePolicy_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureScalePolicy""" - this = _coin.new_SoTextureScalePolicy(*args) - try: self.this.append(this) - except: self.this = this - USE_TEXTURE_QUALITY = _coin.SoTextureScalePolicy_USE_TEXTURE_QUALITY - SCALE_DOWN = _coin.SoTextureScalePolicy_SCALE_DOWN - SCALE_UP = _coin.SoTextureScalePolicy_SCALE_UP - FRACTURE = _coin.SoTextureScalePolicy_FRACTURE - policy = _swig_property(_coin.SoTextureScalePolicy_policy_get, _coin.SoTextureScalePolicy_policy_set) - quality = _swig_property(_coin.SoTextureScalePolicy_quality_get, _coin.SoTextureScalePolicy_quality_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureScalePolicy_GLRender(*args) - -SoTextureScalePolicy_swigregister = _coin.SoTextureScalePolicy_swigregister -SoTextureScalePolicy_swigregister(SoTextureScalePolicy) - -def SoTextureScalePolicy_getClassTypeId(*args): - """SoTextureScalePolicy_getClassTypeId() -> SoType""" - return _coin.SoTextureScalePolicy_getClassTypeId(*args) - -def SoTextureScalePolicy_initClass(*args): - """SoTextureScalePolicy_initClass()""" - return _coin.SoTextureScalePolicy_initClass(*args) - -class SoTextureUnit(SoNode): - """Proxy of C++ SoTextureUnit class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureUnit_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureUnit_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureUnit_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureUnit""" - this = _coin.new_SoTextureUnit(*args) - try: self.this.append(this) - except: self.this = this - BUMP_MAPPING = _coin.SoTextureUnit_BUMP_MAPPING - IMAGE_MAPPING = _coin.SoTextureUnit_IMAGE_MAPPING - unit = _swig_property(_coin.SoTextureUnit_unit_get, _coin.SoTextureUnit_unit_set) - mappingMethod = _swig_property(_coin.SoTextureUnit_mappingMethod_get, _coin.SoTextureUnit_mappingMethod_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureUnit_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureUnit_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureUnit_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureUnit_pick(*args) - - def getMaxTextureUnit(*args): - """getMaxTextureUnit() -> uint32_t""" - return _coin.SoTextureUnit_getMaxTextureUnit(*args) - - getMaxTextureUnit = staticmethod(getMaxTextureUnit) -SoTextureUnit_swigregister = _coin.SoTextureUnit_swigregister -SoTextureUnit_swigregister(SoTextureUnit) - -def SoTextureUnit_getClassTypeId(*args): - """SoTextureUnit_getClassTypeId() -> SoType""" - return _coin.SoTextureUnit_getClassTypeId(*args) - -def SoTextureUnit_initClass(*args): - """SoTextureUnit_initClass()""" - return _coin.SoTextureUnit_initClass(*args) - -def SoTextureUnit_getMaxTextureUnit(*args): - """SoTextureUnit_getMaxTextureUnit() -> uint32_t""" - return _coin.SoTextureUnit_getMaxTextureUnit(*args) - -class SoSceneTexture2(SoNode): - """Proxy of C++ SoSceneTexture2 class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoSceneTexture2_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoSceneTexture2_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoSceneTexture2_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoSceneTexture2""" - this = _coin.new_SoSceneTexture2(*args) - try: self.this.append(this) - except: self.this = this - MODULATE = _coin.SoSceneTexture2_MODULATE - DECAL = _coin.SoSceneTexture2_DECAL - BLEND = _coin.SoSceneTexture2_BLEND - REPLACE = _coin.SoSceneTexture2_REPLACE - REPEAT = _coin.SoSceneTexture2_REPEAT - CLAMP = _coin.SoSceneTexture2_CLAMP - NONE = _coin.SoSceneTexture2_NONE - ALPHA_BLEND = _coin.SoSceneTexture2_ALPHA_BLEND - ALPHA_TEST = _coin.SoSceneTexture2_ALPHA_TEST - wrapS = _swig_property(_coin.SoSceneTexture2_wrapS_get, _coin.SoSceneTexture2_wrapS_set) - wrapT = _swig_property(_coin.SoSceneTexture2_wrapT_get, _coin.SoSceneTexture2_wrapT_set) - model = _swig_property(_coin.SoSceneTexture2_model_get, _coin.SoSceneTexture2_model_set) - blendColor = _swig_property(_coin.SoSceneTexture2_blendColor_get, _coin.SoSceneTexture2_blendColor_set) - backgroundColor = _swig_property(_coin.SoSceneTexture2_backgroundColor_get, _coin.SoSceneTexture2_backgroundColor_set) - size = _swig_property(_coin.SoSceneTexture2_size_get, _coin.SoSceneTexture2_size_set) - scene = _swig_property(_coin.SoSceneTexture2_scene_get, _coin.SoSceneTexture2_scene_set) - transparencyFunction = _swig_property(_coin.SoSceneTexture2_transparencyFunction_get, _coin.SoSceneTexture2_transparencyFunction_set) - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoSceneTexture2_notify(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoSceneTexture2_write(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoSceneTexture2_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoSceneTexture2_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoSceneTexture2_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoSceneTexture2_rayPick(*args) - -SoSceneTexture2_swigregister = _coin.SoSceneTexture2_swigregister -SoSceneTexture2_swigregister(SoSceneTexture2) - -def SoSceneTexture2_getClassTypeId(*args): - """SoSceneTexture2_getClassTypeId() -> SoType""" - return _coin.SoSceneTexture2_getClassTypeId(*args) - -def SoSceneTexture2_initClass(*args): - """SoSceneTexture2_initClass()""" - return _coin.SoSceneTexture2_initClass(*args) - -class SoTextureCoordinateCube(SoNode): - """Proxy of C++ SoTextureCoordinateCube class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCube_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateCube_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateCube_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateCube""" - this = _coin.new_SoTextureCoordinateCube(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateCube_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateCube_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateCube_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateCube_pick(*args) - -SoTextureCoordinateCube_swigregister = _coin.SoTextureCoordinateCube_swigregister -SoTextureCoordinateCube_swigregister(SoTextureCoordinateCube) - -def SoTextureCoordinateCube_getClassTypeId(*args): - """SoTextureCoordinateCube_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCube_getClassTypeId(*args) - -def SoTextureCoordinateCube_initClass(*args): - """SoTextureCoordinateCube_initClass()""" - return _coin.SoTextureCoordinateCube_initClass(*args) - -class SoTextureCoordinateSphere(SoNode): - """Proxy of C++ SoTextureCoordinateSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateSphere""" - this = _coin.new_SoTextureCoordinateSphere(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateSphere_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateSphere_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateSphere_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateSphere_pick(*args) - -SoTextureCoordinateSphere_swigregister = _coin.SoTextureCoordinateSphere_swigregister -SoTextureCoordinateSphere_swigregister(SoTextureCoordinateSphere) - -def SoTextureCoordinateSphere_getClassTypeId(*args): - """SoTextureCoordinateSphere_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateSphere_getClassTypeId(*args) - -def SoTextureCoordinateSphere_initClass(*args): - """SoTextureCoordinateSphere_initClass()""" - return _coin.SoTextureCoordinateSphere_initClass(*args) - -class SoTextureCoordinateCylinder(SoNode): - """Proxy of C++ SoTextureCoordinateCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCoordinateCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCoordinateCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCoordinateCylinder""" - this = _coin.new_SoTextureCoordinateCylinder(*args) - try: self.this.append(this) - except: self.this = this - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCoordinateCylinder_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCoordinateCylinder_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCoordinateCylinder_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCoordinateCylinder_pick(*args) - -SoTextureCoordinateCylinder_swigregister = _coin.SoTextureCoordinateCylinder_swigregister -SoTextureCoordinateCylinder_swigregister(SoTextureCoordinateCylinder) - -def SoTextureCoordinateCylinder_getClassTypeId(*args): - """SoTextureCoordinateCylinder_getClassTypeId() -> SoType""" - return _coin.SoTextureCoordinateCylinder_getClassTypeId(*args) - -def SoTextureCoordinateCylinder_initClass(*args): - """SoTextureCoordinateCylinder_initClass()""" - return _coin.SoTextureCoordinateCylinder_initClass(*args) - -class SoTextureCombine(SoNode): - """Proxy of C++ SoTextureCombine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoTextureCombine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoTextureCombine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoTextureCombine_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoTextureCombine""" - this = _coin.new_SoTextureCombine(*args) - try: self.this.append(this) - except: self.this = this - PRIMARY_COLOR = _coin.SoTextureCombine_PRIMARY_COLOR - TEXTURE = _coin.SoTextureCombine_TEXTURE - CONSTANT = _coin.SoTextureCombine_CONSTANT - PREVIOUS = _coin.SoTextureCombine_PREVIOUS - SRC_COLOR = _coin.SoTextureCombine_SRC_COLOR - ONE_MINUS_SRC_COLOR = _coin.SoTextureCombine_ONE_MINUS_SRC_COLOR - SRC_ALPHA = _coin.SoTextureCombine_SRC_ALPHA - ONE_MINUS_SRC_ALPHA = _coin.SoTextureCombine_ONE_MINUS_SRC_ALPHA - REPLACE = _coin.SoTextureCombine_REPLACE - MODULATE = _coin.SoTextureCombine_MODULATE - ADD = _coin.SoTextureCombine_ADD - ADD_SIGNED = _coin.SoTextureCombine_ADD_SIGNED - SUBTRACT = _coin.SoTextureCombine_SUBTRACT - INTERPOLATE = _coin.SoTextureCombine_INTERPOLATE - DOT3_RGB = _coin.SoTextureCombine_DOT3_RGB - DOT3_RGBA = _coin.SoTextureCombine_DOT3_RGBA - rgbSource = _swig_property(_coin.SoTextureCombine_rgbSource_get, _coin.SoTextureCombine_rgbSource_set) - alphaSource = _swig_property(_coin.SoTextureCombine_alphaSource_get, _coin.SoTextureCombine_alphaSource_set) - rgbOperand = _swig_property(_coin.SoTextureCombine_rgbOperand_get, _coin.SoTextureCombine_rgbOperand_set) - alphaOperand = _swig_property(_coin.SoTextureCombine_alphaOperand_get, _coin.SoTextureCombine_alphaOperand_set) - rgbOperation = _swig_property(_coin.SoTextureCombine_rgbOperation_get, _coin.SoTextureCombine_rgbOperation_set) - alphaOperation = _swig_property(_coin.SoTextureCombine_alphaOperation_get, _coin.SoTextureCombine_alphaOperation_set) - rgbScale = _swig_property(_coin.SoTextureCombine_rgbScale_get, _coin.SoTextureCombine_rgbScale_set) - alphaScale = _swig_property(_coin.SoTextureCombine_alphaScale_get, _coin.SoTextureCombine_alphaScale_set) - constantColor = _swig_property(_coin.SoTextureCombine_constantColor_get, _coin.SoTextureCombine_constantColor_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoTextureCombine_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoTextureCombine_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoTextureCombine_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoTextureCombine_pick(*args) - -SoTextureCombine_swigregister = _coin.SoTextureCombine_swigregister -SoTextureCombine_swigregister(SoTextureCombine) - -def SoTextureCombine_getClassTypeId(*args): - """SoTextureCombine_getClassTypeId() -> SoType""" - return _coin.SoTextureCombine_getClassTypeId(*args) - -def SoTextureCombine_initClass(*args): - """SoTextureCombine_initClass()""" - return _coin.SoTextureCombine_initClass(*args) - -class SbLine(object): - """Proxy of C++ SbLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbLine - __init__(self, SbVec3f origin, SbVec3f point) -> SbLine - """ - this = _coin.new_SbLine(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3f origin, SbVec3f point)""" - return _coin.SbLine_setValue(*args) - - def getClosestPoints(*args): - """getClosestPoints(self, SbLine line2, SbVec3f ptOnThis, SbVec3f ptOnLine2) -> SbBool""" - return _coin.SbLine_getClosestPoints(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3f point) -> SbVec3f""" - return _coin.SbLine_getClosestPoint(*args) - - def getPosition(*args): - """getPosition(self) -> SbVec3f""" - return _coin.SbLine_getPosition(*args) - - def getDirection(*args): - """getDirection(self) -> SbVec3f""" - return _coin.SbLine_getDirection(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbLine_output(*args) - - __swig_destroy__ = _coin.delete_SbLine - __del__ = lambda self : None; -SbLine_swigregister = _coin.SbLine_swigregister -SbLine_swigregister(SbLine) - -class SbProjector(object): - """Proxy of C++ SbProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbProjector_project(*args) - - def setViewVolume(*args): - """setViewVolume(self, SbViewVolume vol)""" - return _coin.SbProjector_setViewVolume(*args) - - def getViewVolume(*args): - """getViewVolume(self) -> SbViewVolume""" - return _coin.SbProjector_getViewVolume(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbProjector_setWorkingSpace(*args) - - def getWorkingSpace(*args): - """getWorkingSpace(self) -> SbMatrix""" - return _coin.SbProjector_getWorkingSpace(*args) - - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbProjector_copy(*args) - -SbProjector_swigregister = _coin.SbProjector_swigregister -SbProjector_swigregister(SbProjector) - -class SbCylinder(object): - """Proxy of C++ SbCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbCylinder - __init__(self, SbLine a, float r) -> SbCylinder - """ - this = _coin.new_SbCylinder(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbLine a, float r)""" - return _coin.SbCylinder_setValue(*args) - - def setAxis(*args): - """setAxis(self, SbLine a)""" - return _coin.SbCylinder_setAxis(*args) - - def setRadius(*args): - """setRadius(self, float r)""" - return _coin.SbCylinder_setRadius(*args) - - def getAxis(*args): - """getAxis(self) -> SbLine""" - return _coin.SbCylinder_getAxis(*args) - - def getRadius(*args): - """getRadius(self) -> float""" - return _coin.SbCylinder_getRadius(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool - """ - return _coin.SbCylinder_intersect(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbCylinder_output(*args) - - __swig_destroy__ = _coin.delete_SbCylinder - __del__ = lambda self : None; -SbCylinder_swigregister = _coin.SbCylinder_swigregister -SbCylinder_swigregister(SbCylinder) - -class SbCylinderProjector(SbProjector): - """Proxy of C++ SbCylinderProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderProjector_project(*args) - - def projectAndGetRotation(*args): - """projectAndGetRotation(self, SbVec2f point, SbRotation rot) -> SbVec3f""" - return _coin.SbCylinderProjector_projectAndGetRotation(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderProjector_getRotation(*args) - - def setCylinder(*args): - """setCylinder(self, SbCylinder cyl)""" - return _coin.SbCylinderProjector_setCylinder(*args) - - def getCylinder(*args): - """getCylinder(self) -> SbCylinder""" - return _coin.SbCylinderProjector_getCylinder(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbCylinderProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbCylinderProjector_isOrientToEye(*args) - - def setFront(*args): - """setFront(self, SbBool infront)""" - return _coin.SbCylinderProjector_setFront(*args) - - def isFront(*args): - """isFront(self) -> SbBool""" - return _coin.SbCylinderProjector_isFront(*args) - - def isPointInFront(*args): - """isPointInFront(self, SbVec3f point) -> SbBool""" - return _coin.SbCylinderProjector_isPointInFront(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbCylinderProjector_setWorkingSpace(*args) - - __swig_destroy__ = _coin.delete_SbCylinderProjector - __del__ = lambda self : None; -SbCylinderProjector_swigregister = _coin.SbCylinderProjector_swigregister -SbCylinderProjector_swigregister(SbCylinderProjector) - -class SbCylinderSectionProjector(SbCylinderProjector): - """Proxy of C++ SbCylinderSectionProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderSectionProjector - __init__(self, float edgetol=0.9) -> SbCylinderSectionProjector - __init__(self) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl, float edgetol=0.9) -> SbCylinderSectionProjector - __init__(self, SbCylinder cyl) -> SbCylinderSectionProjector - """ - this = _coin.new_SbCylinderSectionProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderSectionProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderSectionProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderSectionProjector_getRotation(*args) - - def setTolerance(*args): - """setTolerance(self, float edgetol)""" - return _coin.SbCylinderSectionProjector_setTolerance(*args) - - def getTolerance(*args): - """getTolerance(self) -> float""" - return _coin.SbCylinderSectionProjector_getTolerance(*args) - - def isWithinTolerance(*args): - """isWithinTolerance(self, SbVec3f point) -> SbBool""" - return _coin.SbCylinderSectionProjector_isWithinTolerance(*args) - - __swig_destroy__ = _coin.delete_SbCylinderSectionProjector - __del__ = lambda self : None; -SbCylinderSectionProjector_swigregister = _coin.SbCylinderSectionProjector_swigregister -SbCylinderSectionProjector_swigregister(SbCylinderSectionProjector) - -class SbCylinderPlaneProjector(SbCylinderSectionProjector): - """Proxy of C++ SbCylinderPlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderPlaneProjector - __init__(self, float edgetol=0.9) -> SbCylinderPlaneProjector - __init__(self) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl, float edgetol=0.9) -> SbCylinderPlaneProjector - __init__(self, SbCylinder cyl) -> SbCylinderPlaneProjector - """ - this = _coin.new_SbCylinderPlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderPlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderPlaneProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderPlaneProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbCylinderPlaneProjector - __del__ = lambda self : None; -SbCylinderPlaneProjector_swigregister = _coin.SbCylinderPlaneProjector_swigregister -SbCylinderPlaneProjector_swigregister(SbCylinderPlaneProjector) - -class SbCylinderSheetProjector(SbCylinderProjector): - """Proxy of C++ SbCylinderSheetProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orienttoeye=1) -> SbCylinderSheetProjector - __init__(self) -> SbCylinderSheetProjector - __init__(self, SbCylinder cyl, SbBool orienttoeye=1) -> SbCylinderSheetProjector - __init__(self, SbCylinder cyl) -> SbCylinderSheetProjector - """ - this = _coin.new_SbCylinderSheetProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbCylinderSheetProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbCylinderSheetProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbCylinderSheetProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbCylinderSheetProjector - __del__ = lambda self : None; -SbCylinderSheetProjector_swigregister = _coin.SbCylinderSheetProjector_swigregister -SbCylinderSheetProjector_swigregister(SbCylinderSheetProjector) - -class SbLineProjector(SbProjector): - """Proxy of C++ SbLineProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbLineProjector""" - this = _coin.new_SbLineProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbLineProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbLineProjector_project(*args) - - def setLine(*args): - """setLine(self, SbLine line)""" - return _coin.SbLineProjector_setLine(*args) - - def getLine(*args): - """getLine(self) -> SbLine""" - return _coin.SbLineProjector_getLine(*args) - - def getVector(*args): - """ - getVector(self, SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f - getVector(self, SbVec2f viewpos) -> SbVec3f - """ - return _coin.SbLineProjector_getVector(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f viewpos) - setStartPosition(self, SbVec3f point) - """ - return _coin.SbLineProjector_setStartPosition(*args) - - __swig_destroy__ = _coin.delete_SbLineProjector - __del__ = lambda self : None; -SbLineProjector_swigregister = _coin.SbLineProjector_swigregister -SbLineProjector_swigregister(SbLineProjector) - -class SbPlaneProjector(SbProjector): - """Proxy of C++ SbPlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orient=0) -> SbPlaneProjector - __init__(self) -> SbPlaneProjector - __init__(self, SbPlane plane, SbBool orient=0) -> SbPlaneProjector - __init__(self, SbPlane plane) -> SbPlaneProjector - """ - this = _coin.new_SbPlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbPlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbPlaneProjector_project(*args) - - def setPlane(*args): - """setPlane(self, SbPlane plane)""" - return _coin.SbPlaneProjector_setPlane(*args) - - def getPlane(*args): - """getPlane(self) -> SbPlane""" - return _coin.SbPlaneProjector_getPlane(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbPlaneProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbPlaneProjector_isOrientToEye(*args) - - def getVector(*args): - """ - getVector(self, SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f - getVector(self, SbVec2f viewpos) -> SbVec3f - """ - return _coin.SbPlaneProjector_getVector(*args) - - def setStartPosition(*args): - """ - setStartPosition(self, SbVec2f viewpos) - setStartPosition(self, SbVec3f point) - """ - return _coin.SbPlaneProjector_setStartPosition(*args) - - __swig_destroy__ = _coin.delete_SbPlaneProjector - __del__ = lambda self : None; -SbPlaneProjector_swigregister = _coin.SbPlaneProjector_swigregister -SbPlaneProjector_swigregister(SbPlaneProjector) - -class SbSphere(object): - """Proxy of C++ SbSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbSphere - __init__(self, SbVec3f center, float radius) -> SbSphere - """ - this = _coin.new_SbSphere(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3f center, float radius)""" - return _coin.SbSphere_setValue(*args) - - def setCenter(*args): - """setCenter(self, SbVec3f center)""" - return _coin.SbSphere_setCenter(*args) - - def setRadius(*args): - """setRadius(self, float radius)""" - return _coin.SbSphere_setRadius(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec3f""" - return _coin.SbSphere_getCenter(*args) - - def getRadius(*args): - """getRadius(self) -> float""" - return _coin.SbSphere_getRadius(*args) - - def circumscribe(*args): - """circumscribe(self, SbBox3f box)""" - return _coin.SbSphere_circumscribe(*args) - - def intersect(*args): - """ - intersect(self, SbLine l, SbVec3f intersection) -> SbBool - intersect(self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool - """ - return _coin.SbSphere_intersect(*args) - - def pointInside(*args): - """pointInside(self, SbVec3f p) -> SbBool""" - return _coin.SbSphere_pointInside(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbSphere_output(*args) - - __swig_destroy__ = _coin.delete_SbSphere - __del__ = lambda self : None; -SbSphere_swigregister = _coin.SbSphere_swigregister -SbSphere_swigregister(SbSphere) - -class SbSphereProjector(SbProjector): - """Proxy of C++ SbSphereProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def projectAndGetRotation(*args): - """projectAndGetRotation(self, SbVec2f point, SbRotation rot) -> SbVec3f""" - return _coin.SbSphereProjector_projectAndGetRotation(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereProjector_getRotation(*args) - - def setSphere(*args): - """setSphere(self, SbSphere sph)""" - return _coin.SbSphereProjector_setSphere(*args) - - def getSphere(*args): - """getSphere(self) -> SbSphere""" - return _coin.SbSphereProjector_getSphere(*args) - - def setOrientToEye(*args): - """setOrientToEye(self, SbBool orienttoeye)""" - return _coin.SbSphereProjector_setOrientToEye(*args) - - def isOrientToEye(*args): - """isOrientToEye(self) -> SbBool""" - return _coin.SbSphereProjector_isOrientToEye(*args) - - def setFront(*args): - """setFront(self, SbBool infront)""" - return _coin.SbSphereProjector_setFront(*args) - - def isFront(*args): - """isFront(self) -> SbBool""" - return _coin.SbSphereProjector_isFront(*args) - - def isPointInFront(*args): - """isPointInFront(self, SbVec3f point) -> SbBool""" - return _coin.SbSphereProjector_isPointInFront(*args) - - def setWorkingSpace(*args): - """setWorkingSpace(self, SbMatrix space)""" - return _coin.SbSphereProjector_setWorkingSpace(*args) - - __swig_destroy__ = _coin.delete_SbSphereProjector - __del__ = lambda self : None; -SbSphereProjector_swigregister = _coin.SbSphereProjector_swigregister -SbSphereProjector_swigregister(SbSphereProjector) - -class SbSphereSheetProjector(SbSphereProjector): - """Proxy of C++ SbSphereSheetProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBool orienttoeye=1) -> SbSphereSheetProjector - __init__(self) -> SbSphereSheetProjector - __init__(self, SbSphere sph, SbBool orienttoeye=1) -> SbSphereSheetProjector - __init__(self, SbSphere sph) -> SbSphereSheetProjector - """ - this = _coin.new_SbSphereSheetProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSphereSheetProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSphereSheetProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereSheetProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbSphereSheetProjector - __del__ = lambda self : None; -SbSphereSheetProjector_swigregister = _coin.SbSphereSheetProjector_swigregister -SbSphereSheetProjector_swigregister(SbSphereSheetProjector) - -class SbSphereSectionProjector(SbSphereProjector): - """Proxy of C++ SbSphereSectionProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbSphereSectionProjector - __init__(self, float edgetol=0.9) -> SbSphereSectionProjector - __init__(self) -> SbSphereSectionProjector - __init__(self, SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1) -> SbSphereSectionProjector - __init__(self, SbSphere sph, float edgetol=0.9) -> SbSphereSectionProjector - __init__(self, SbSphere sph) -> SbSphereSectionProjector - """ - this = _coin.new_SbSphereSectionProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSphereSectionProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSphereSectionProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSphereSectionProjector_getRotation(*args) - - def setTolerance(*args): - """setTolerance(self, float edgetol)""" - return _coin.SbSphereSectionProjector_setTolerance(*args) - - def getTolerance(*args): - """getTolerance(self) -> float""" - return _coin.SbSphereSectionProjector_getTolerance(*args) - - def setRadialFactor(*args): - """ - setRadialFactor(self, float rad=0.0) - setRadialFactor(self) - """ - return _coin.SbSphereSectionProjector_setRadialFactor(*args) - - def getRadialFactor(*args): - """getRadialFactor(self) -> float""" - return _coin.SbSphereSectionProjector_getRadialFactor(*args) - - def isWithinTolerance(*args): - """isWithinTolerance(self, SbVec3f point) -> SbBool""" - return _coin.SbSphereSectionProjector_isWithinTolerance(*args) - - __swig_destroy__ = _coin.delete_SbSphereSectionProjector - __del__ = lambda self : None; -SbSphereSectionProjector_swigregister = _coin.SbSphereSectionProjector_swigregister -SbSphereSectionProjector_swigregister(SbSphereSectionProjector) - -class SbSpherePlaneProjector(SbSphereSectionProjector): - """Proxy of C++ SbSpherePlaneProjector class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, float edgetol=0.9, SbBool orienttoeye=1) -> SbSpherePlaneProjector - __init__(self, float edgetol=0.9) -> SbSpherePlaneProjector - __init__(self) -> SbSpherePlaneProjector - __init__(self, SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1) -> SbSpherePlaneProjector - __init__(self, SbSphere sph, float edgetol=0.9) -> SbSpherePlaneProjector - __init__(self, SbSphere sph) -> SbSpherePlaneProjector - """ - this = _coin.new_SbSpherePlaneProjector(*args) - try: self.this.append(this) - except: self.this = this - def copy(*args): - """copy(self) -> SbProjector""" - return _coin.SbSpherePlaneProjector_copy(*args) - - def project(*args): - """project(self, SbVec2f point) -> SbVec3f""" - return _coin.SbSpherePlaneProjector_project(*args) - - def getRotation(*args): - """getRotation(self, SbVec3f point1, SbVec3f point2) -> SbRotation""" - return _coin.SbSpherePlaneProjector_getRotation(*args) - - __swig_destroy__ = _coin.delete_SbSpherePlaneProjector - __del__ = lambda self : None; -SbSpherePlaneProjector_swigregister = _coin.SbSpherePlaneProjector_swigregister -SbSpherePlaneProjector_swigregister(SbSpherePlaneProjector) - -class SbVec2d(object): - """Proxy of C++ SbVec2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec2d - __init__(self, double v) -> SbVec2d - __init__(self, double x, double y) -> SbVec2d - """ - this = _coin.new_SbVec2d(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec2d v) -> double""" - return _coin.SbVec2d_dot(*args) - - def equals(*args): - """equals(self, SbVec2d v, double tolerance) -> SbBool""" - return _coin.SbVec2d_equals(*args) - - def getValue(*args): - """getValue(self, double x, double y)""" - return _coin.SbVec2d_getValue(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec2d_length(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec2d_negate(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec2d_normalize(*args) - - def setValue(*args): - """ - setValue(self, double v) -> SbVec2d - setValue(self, double x, double y) -> SbVec2d - """ - return _coin.SbVec2d_setValue(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec2d""" - return _coin.SbVec2d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec2d""" - return _coin.SbVec2d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec2d""" - return _coin.SbVec2d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec2d_output(*args) - - def __add__(*args): - """__add__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec2d u) -> SbVec2d""" - return _coin.SbVec2d___sub__(*args) - - def __mul__(*args): - """__mul__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___rmul__(*args) - - def __div__(*args): - """__div__(self, float d) -> SbVec2d""" - return _coin.SbVec2d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec2d u) -> int""" - return _coin.SbVec2d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec2d u) -> int""" - return _coin.SbVec2d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec2d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec2d___setitem__(*args) - - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _coin.delete_SbVec2d - __del__ = lambda self : None; -SbVec2d_swigregister = _coin.SbVec2d_swigregister -SbVec2d_swigregister(SbVec2d) - -class SbBox2d(object): - """Proxy of C++ SbBox2d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2d - __init__(self, double xmin, double ymin, double xmax, double ymax) -> SbBox2d - __init__(self, SbVec2d min, SbVec2d max) -> SbBox2d - """ - this = _coin.new_SbBox2d(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBox2d - __del__ = lambda self : None; - def getMin(*args): - """getMin(self) -> SbVec2d""" - return _coin.SbBox2d_getMin(*args) - - def getMax(*args): - """getMax(self) -> SbVec2d""" - return _coin.SbBox2d_getMax(*args) - - def getCenter(*args): - """getCenter(self) -> SbVec2d""" - return _coin.SbBox2d_getCenter(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2d point) - extendBy(self, SbBox2d box) - """ - return _coin.SbBox2d_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec2d point) -> SbBool - intersect(self, SbBox2d box) -> SbBool - """ - return _coin.SbBox2d_intersect(*args) - - def findIntersection(*args): - """findIntersection(self, SbVec2d a, SbVec2d b, SbVec2d ia, SbVec2d ib) -> SbBool""" - return _coin.SbBox2d_findIntersection(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec2d p) -> SbVec2d""" - return _coin.SbBox2d_getClosestPoint(*args) - - def setBounds(*args): - """ - setBounds(self, double xmin, double ymin, double xmax, double ymax) - setBounds(self, SbVec2d min, SbVec2d max) - """ - return _coin.SbBox2d_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, double xmin, double ymin, double xmax, double ymax) - getBounds(self, SbVec2d min, SbVec2d max) - """ - return _coin.SbBox2d_getBounds(*args) - - def getOrigin(*args): - """getOrigin(self, double x0, double y0)""" - return _coin.SbBox2d_getOrigin(*args) - - def getSize(*args): - """getSize(self, double w, double h)""" - return _coin.SbBox2d_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> double""" - return _coin.SbBox2d_getAspectRatio(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2d_makeEmpty(*args) - - def isEmpty(*args): - """isEmpty(self) -> SbBool""" - return _coin.SbBox2d_isEmpty(*args) - - def hasArea(*args): - """hasArea(self) -> SbBool""" - return _coin.SbBox2d_hasArea(*args) - - def __eq__(*args): - """__eq__(self, SbBox2d u) -> int""" - return _coin.SbBox2d___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2d u) -> int""" - return _coin.SbBox2d___ne__(*args) - - def setValue(*args): - """setValue(self, SbBox2d u) -> SbBox2d""" - return _coin.SbBox2d_setValue(*args) - -SbBox2d_swigregister = _coin.SbBox2d_swigregister -SbBox2d_swigregister(SbBox2d) - -class SbBox2s(object): - """Proxy of C++ SbBox2s class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbBox2s - __init__(self, short xmin, short ymin, short xmax, short ymax) -> SbBox2s - __init__(self, SbVec2s boxmin, SbVec2s boxmax) -> SbBox2s - """ - this = _coin.new_SbBox2s(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBox2s - __del__ = lambda self : None; - def getMin(*args): - """getMin(self) -> SbVec2s""" - return _coin.SbBox2s_getMin(*args) - - def getMax(*args): - """getMax(self) -> SbVec2s""" - return _coin.SbBox2s_getMax(*args) - - def extendBy(*args): - """ - extendBy(self, SbVec2s point) - extendBy(self, SbBox2s box) - """ - return _coin.SbBox2s_extendBy(*args) - - def intersect(*args): - """ - intersect(self, SbVec2s point) -> SbBool - intersect(self, SbBox2s box) -> SbBool - """ - return _coin.SbBox2s_intersect(*args) - - def setBounds(*args): - """ - setBounds(self, short xmin, short ymin, short xmax, short ymax) - setBounds(self, SbVec2s boxmin, SbVec2s boxmax) - """ - return _coin.SbBox2s_setBounds(*args) - - def getBounds(*args): - """ - getBounds(self, short xmin, short ymin, short xmax, short ymax) - getBounds(self, SbVec2s boxmin, SbVec2s boxmax) - """ - return _coin.SbBox2s_getBounds(*args) - - def getOrigin(*args): - """getOrigin(self, short originX, short originY)""" - return _coin.SbBox2s_getOrigin(*args) - - def getSize(*args): - """getSize(self, short sizeX, short sizeY)""" - return _coin.SbBox2s_getSize(*args) - - def getAspectRatio(*args): - """getAspectRatio(self) -> float""" - return _coin.SbBox2s_getAspectRatio(*args) - - def makeEmpty(*args): - """makeEmpty(self)""" - return _coin.SbBox2s_makeEmpty(*args) - - def __eq__(*args): - """__eq__(self, SbBox2s u) -> int""" - return _coin.SbBox2s___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbBox2s u) -> int""" - return _coin.SbBox2s___ne__(*args) - -SbBox2s_swigregister = _coin.SbBox2s_swigregister -SbBox2s_swigregister(SbBox2s) - -class SbClip(object): - """Proxy of C++ SbClip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbClipCallback callback=None, void userdata=None) -> SbClip - __init__(self, SbClipCallback callback=None) -> SbClip - __init__(self) -> SbClip - """ - this = _coin.new_SbClip(*args) - try: self.this.append(this) - except: self.this = this - def addVertex(*args): - """ - addVertex(self, SbVec3f v, void vdata=None) - addVertex(self, SbVec3f v) - """ - return _coin.SbClip_addVertex(*args) - - def reset(*args): - """reset(self)""" - return _coin.SbClip_reset(*args) - - def clip(*args): - """clip(self, SbPlane plane)""" - return _coin.SbClip_clip(*args) - - def getNumVertices(*args): - """getNumVertices(self) -> int""" - return _coin.SbClip_getNumVertices(*args) - - def getVertex(*args): - """ - getVertex(self, int idx, SbVec3f v, void vdata=None) - getVertex(self, int idx, SbVec3f v) - """ - return _coin.SbClip_getVertex(*args) - - def getVertexData(*args): - """getVertexData(self, int idx) -> void""" - return _coin.SbClip_getVertexData(*args) - - __swig_destroy__ = _coin.delete_SbClip - __del__ = lambda self : None; -SbClip_swigregister = _coin.SbClip_swigregister -SbClip_swigregister(SbClip) - -class SbVec4d(object): - """Proxy of C++ SbVec4d class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbVec4d - __init__(self, double v) -> SbVec4d - __init__(self, double x, double y, double z, double w) -> SbVec4d - """ - this = _coin.new_SbVec4d(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): - """dot(self, SbVec4d v) -> double""" - return _coin.SbVec4d_dot(*args) - - def equals(*args): - """equals(self, SbVec4d v, double tolerance) -> SbBool""" - return _coin.SbVec4d_equals(*args) - - def getReal(*args): - """getReal(self, SbVec3d v)""" - return _coin.SbVec4d_getReal(*args) - - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbVec4d_getValue(*args) - - def length(*args): - """length(self) -> double""" - return _coin.SbVec4d_length(*args) - - def negate(*args): - """negate(self)""" - return _coin.SbVec4d_negate(*args) - - def normalize(*args): - """normalize(self) -> double""" - return _coin.SbVec4d_normalize(*args) - - def setValue(*args): - """ - setValue(self, double v) -> SbVec4d - setValue(self, double x, double y, double z, double w) -> SbVec4d - """ - return _coin.SbVec4d_setValue(*args) - - def __imul__(*args): - """__imul__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___imul__(*args) - - def __idiv__(*args): - """__idiv__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___idiv__(*args) - - def __iadd__(*args): - """__iadd__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___iadd__(*args) - - def __isub__(*args): - """__isub__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___isub__(*args) - - def __neg__(*args): - """__neg__(self) -> SbVec4d""" - return _coin.SbVec4d___neg__(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbVec4d_output(*args) - - def __add__(*args): - """__add__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___add__(*args) - - def __sub__(*args): - """__sub__(self, SbVec4d u) -> SbVec4d""" - return _coin.SbVec4d___sub__(*args) - - def __mul__(*args): - """ - __mul__(self, double d) -> SbVec4d - __mul__(self, SbDPMatrix m) -> SbVec4d - """ - return _coin.SbVec4d___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___rmul__(*args) - - def __div__(*args): - """__div__(self, double d) -> SbVec4d""" - return _coin.SbVec4d___div__(*args) - - def __eq__(*args): - """__eq__(self, SbVec4d u) -> int""" - return _coin.SbVec4d___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbVec4d u) -> int""" - return _coin.SbVec4d___nq__(*args) - - def __getitem__(*args): - """__getitem__(self, int i) -> double""" - return _coin.SbVec4d___getitem__(*args) - - def __setitem__(*args): - """__setitem__(self, int i, double value)""" - return _coin.SbVec4d___setitem__(*args) - - def __iter__(self): - for i in range(4): - yield self[i] - - def __len__(self): - return 4 - - __swig_destroy__ = _coin.delete_SbVec4d - __del__ = lambda self : None; -SbVec4d_swigregister = _coin.SbVec4d_swigregister -SbVec4d_swigregister(SbVec4d) - -class SbDPRotation(object): - """Proxy of C++ SbDPRotation class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPRotation - __init__(self, SbVec3d axis, double radians) -> SbDPRotation - __init__(self, double q) -> SbDPRotation - __init__(self, double q0, double q1, double q2, double q3) -> SbDPRotation - __init__(self, SbDPMatrix m) -> SbDPRotation - __init__(self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation - """ - this = _coin.new_SbDPRotation(*args) - try: self.this.append(this) - except: self.this = this - def getValue(*args): - """getValue(self) -> double""" - return _coin.SbDPRotation_getValue(*args) - - def getAxisAngle(*args): - """getAxisAngle(self, SbVec3d axis, double radians)""" - return _coin.SbDPRotation_getAxisAngle(*args) - - def getMatrix(*args): - """getMatrix(self, SbDPMatrix matrix)""" - return _coin.SbDPRotation_getMatrix(*args) - - def invert(*args): - """invert(self) -> SbDPRotation""" - return _coin.SbDPRotation_invert(*args) - - def inverse(*args): - """inverse(self) -> SbDPRotation""" - return _coin.SbDPRotation_inverse(*args) - - def setValue(*args): - """ - setValue(self, double q0, double q1, double q2, double q3) -> SbDPRotation - setValue(self, double q) -> SbDPRotation - setValue(self, SbDPMatrix m) -> SbDPRotation - setValue(self, SbVec3d axis, double radians) -> SbDPRotation - setValue(self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation - """ - return _coin.SbDPRotation_setValue(*args) - - def __imul__(*args): - """ - __imul__(self, SbDPRotation q) -> SbDPRotation - __imul__(self, double s) -> SbDPRotation - """ - return _coin.SbDPRotation___imul__(*args) - - def equals(*args): - """equals(self, SbDPRotation r, double tolerance) -> SbBool""" - return _coin.SbDPRotation_equals(*args) - - def multVec(*args): - """multVec(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPRotation_multVec(*args) - - def scaleAngle(*args): - """scaleAngle(self, double scaleFactor)""" - return _coin.SbDPRotation_scaleAngle(*args) - - def slerp(*args): - """slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation""" - return _coin.SbDPRotation_slerp(*args) - - slerp = staticmethod(slerp) - def identity(*args): - """identity() -> SbDPRotation""" - return _coin.SbDPRotation_identity(*args) - - identity = staticmethod(identity) - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPRotation_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbDPRotation u) -> SbDPRotation - __mul__(self, double d) -> SbDPRotation - __mul__(self, SbVec3d v) -> SbVec3d - """ - return _coin.SbDPRotation___mul__(*args) - - def __eq__(*args): - """__eq__(self, SbDPRotation u) -> int""" - return _coin.SbDPRotation___eq__(*args) - - def __nq__(*args): - """__nq__(self, SbDPRotation u) -> int""" - return _coin.SbDPRotation___nq__(*args) - - __swig_destroy__ = _coin.delete_SbDPRotation - __del__ = lambda self : None; -SbDPRotation_swigregister = _coin.SbDPRotation_swigregister -SbDPRotation_swigregister(SbDPRotation) - -def SbDPRotation_slerp(*args): - """SbDPRotation_slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation""" - return _coin.SbDPRotation_slerp(*args) - -def SbDPRotation_identity(*args): - """SbDPRotation_identity() -> SbDPRotation""" - return _coin.SbDPRotation_identity(*args) - -class SbDPMatrix(object): - """Proxy of C++ SbDPMatrix class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPMatrix - __init__(self, double a11, double a12, double a13, double a14, double a21, - double a22, double a23, double a24, - double a31, double a32, double a33, double a34, - double a41, double a42, double a43, double a44) -> SbDPMatrix - __init__(self, SbDPMat matrix) -> SbDPMatrix - __init__(self, SbDPMat matrix) -> SbDPMatrix - __init__(self, SbMatrix matrix) -> SbDPMatrix - """ - this = _coin.new_SbDPMatrix(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbDPMatrix - __del__ = lambda self : None; - def setValue(*args): - """setValue(self, SbDPMat m)""" - return _coin.SbDPMatrix_setValue(*args) - - def makeIdentity(*args): - """makeIdentity(self)""" - return _coin.SbDPMatrix_makeIdentity(*args) - - def setRotate(*args): - """setRotate(self, SbDPRotation q)""" - return _coin.SbDPMatrix_setRotate(*args) - - def inverse(*args): - """inverse(self) -> SbDPMatrix""" - return _coin.SbDPMatrix_inverse(*args) - - def det3(*args): - """ - det3(self, int r1, int r2, int r3, int c1, int c2, int c3) -> double - det3(self) -> double - """ - return _coin.SbDPMatrix_det3(*args) - - def det4(*args): - """det4(self) -> double""" - return _coin.SbDPMatrix_det4(*args) - - def equals(*args): - """equals(self, SbDPMatrix m, double tolerance) -> SbBool""" - return _coin.SbDPMatrix_equals(*args) - - def __imul__(*args): - """__imul__(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix___imul__(*args) - - def getValue(*args): - """ - getValue(self) -> SbDPMat - getValue(self, SbDPMat m) - """ - return _coin.SbDPMatrix_getValue(*args) - - def identity(*args): - """identity() -> SbDPMatrix""" - return _coin.SbDPMatrix_identity(*args) - - identity = staticmethod(identity) - def setScale(*args): - """ - setScale(self, double s) - setScale(self, SbVec3d s) - """ - return _coin.SbDPMatrix_setScale(*args) - - def setTranslate(*args): - """setTranslate(self, SbVec3d t)""" - return _coin.SbDPMatrix_setTranslate(*args) - - def setTransform(*args): - """ - setTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s) - setTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so) - setTransform(self, SbVec3d translation, SbDPRotation rotation, SbVec3d scaleFactor, - SbDPRotation scaleOrientation, - SbVec3d center) - """ - return _coin.SbDPMatrix_setTransform(*args) - - def getTransform(*args): - """ - getTransform(self, SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so) - getTransform(self, SbVec3d translation, SbDPRotation rotation, SbVec3d scaleFactor, - SbDPRotation scaleOrientation, - SbVec3d center) - """ - return _coin.SbDPMatrix_getTransform(*args) - - def factor(*args): - """factor(self, SbDPMatrix r, SbVec3d s, SbDPMatrix u, SbVec3d t, SbDPMatrix proj) -> SbBool""" - return _coin.SbDPMatrix_factor(*args) - - def LUDecomposition(*args): - """LUDecomposition(self, int index, double d) -> SbBool""" - return _coin.SbDPMatrix_LUDecomposition(*args) - - def LUBackSubstitution(*args): - """LUBackSubstitution(self, int index, double b)""" - return _coin.SbDPMatrix_LUBackSubstitution(*args) - - def transpose(*args): - """transpose(self) -> SbDPMatrix""" - return _coin.SbDPMatrix_transpose(*args) - - def multRight(*args): - """multRight(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix_multRight(*args) - - def multLeft(*args): - """multLeft(self, SbDPMatrix m) -> SbDPMatrix""" - return _coin.SbDPMatrix_multLeft(*args) - - def multMatrixVec(*args): - """multMatrixVec(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPMatrix_multMatrixVec(*args) - - def multDirMatrix(*args): - """multDirMatrix(self, SbVec3d src, SbVec3d dst)""" - return _coin.SbDPMatrix_multDirMatrix(*args) - - def multLineMatrix(*args): - """multLineMatrix(self, SbDPLine src, SbDPLine dst)""" - return _coin.SbDPMatrix_multLineMatrix(*args) - - def multVecMatrix(*args): - """ - multVecMatrix(self, SbVec3d src, SbVec3d dst) - multVecMatrix(self, SbVec4d src, SbVec4d dst) - """ - return _coin.SbDPMatrix_multVecMatrix(*args) - - def output(*args): - """output(self, FILE fp)""" - return _coin.SbDPMatrix_output(*args) - - def __mul__(*args): - """ - __mul__(self, SbDPMatrix u) -> SbDPMatrix - __mul__(self, SbVec3d u) -> SbVec3d - """ - return _coin.SbDPMatrix___mul__(*args) - - def __rmul__(*args): - """__rmul__(self, SbVec3d u) -> SbVec3d""" - return _coin.SbDPMatrix___rmul__(*args) - - def __eq__(*args): - """__eq__(self, SbDPMatrix u) -> int""" - return _coin.SbDPMatrix___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbDPMatrix u) -> int""" - return _coin.SbDPMatrix___ne__(*args) - -SbDPMatrix_swigregister = _coin.SbDPMatrix_swigregister -SbDPMatrix_swigregister(SbDPMatrix) - -def SbDPMatrix_identity(*args): - """SbDPMatrix_identity() -> SbDPMatrix""" - return _coin.SbDPMatrix_identity(*args) - -class SbDPLine(object): - """Proxy of C++ SbDPLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPLine - __init__(self, SbVec3d p0, SbVec3d p1) -> SbDPLine - """ - this = _coin.new_SbDPLine(*args) - try: self.this.append(this) - except: self.this = this - def setValue(*args): - """setValue(self, SbVec3d p0, SbVec3d p1)""" - return _coin.SbDPLine_setValue(*args) - - def getClosestPoints(*args): - """getClosestPoints(self, SbDPLine line2, SbVec3d ptOnThis, SbVec3d ptOnLine2) -> SbBool""" - return _coin.SbDPLine_getClosestPoints(*args) - - def getClosestPoint(*args): - """getClosestPoint(self, SbVec3d point) -> SbVec3d""" - return _coin.SbDPLine_getClosestPoint(*args) - - def getPosition(*args): - """getPosition(self) -> SbVec3d""" - return _coin.SbDPLine_getPosition(*args) - - def getDirection(*args): - """getDirection(self) -> SbVec3d""" - return _coin.SbDPLine_getDirection(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbDPLine_output(*args) - - __swig_destroy__ = _coin.delete_SbDPLine - __del__ = lambda self : None; -SbDPLine_swigregister = _coin.SbDPLine_swigregister -SbDPLine_swigregister(SbDPLine) - -class SbDPPlane(object): - """Proxy of C++ SbDPPlane class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbDPPlane - __init__(self, SbVec3d normal, double D) -> SbDPPlane - __init__(self, SbVec3d p0, SbVec3d p1, SbVec3d p2) -> SbDPPlane - __init__(self, SbVec3d normal, SbVec3d point) -> SbDPPlane - """ - this = _coin.new_SbDPPlane(*args) - try: self.this.append(this) - except: self.this = this - def offset(*args): - """offset(self, double d)""" - return _coin.SbDPPlane_offset(*args) - - def transform(*args): - """transform(self, SbDPMatrix matrix)""" - return _coin.SbDPPlane_transform(*args) - - def isInHalfSpace(*args): - """isInHalfSpace(self, SbVec3d point) -> SbBool""" - return _coin.SbDPPlane_isInHalfSpace(*args) - - def getDistance(*args): - """getDistance(self, SbVec3d point) -> double""" - return _coin.SbDPPlane_getDistance(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3d""" - return _coin.SbDPPlane_getNormal(*args) - - def getDistanceFromOrigin(*args): - """getDistanceFromOrigin(self) -> double""" - return _coin.SbDPPlane_getDistanceFromOrigin(*args) - - def output(*args): - """output(self, FILE file)""" - return _coin.SbDPPlane_output(*args) - - def intersect(*args): - """ - intersect(self, SbDPLine l, SbVec3d intersection) -> SbBool - intersect(self, SbDPPlane pl, SbDPLine line) -> SbBool - """ - return _coin.SbDPPlane_intersect(*args) - - def __eq__(*args): - """__eq__(self, SbDPPlane u) -> int""" - return _coin.SbDPPlane___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbDPPlane u) -> int""" - return _coin.SbDPPlane___ne__(*args) - - __swig_destroy__ = _coin.delete_SbDPPlane - __del__ = lambda self : None; -SbDPPlane_swigregister = _coin.SbDPPlane_swigregister -SbDPPlane_swigregister(SbDPPlane) - -class SbHeapFuncs(object): - """Proxy of C++ SbHeapFuncs class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - eval_func = _swig_property(_coin.SbHeapFuncs_eval_func_get, _coin.SbHeapFuncs_eval_func_set) - get_index_func = _swig_property(_coin.SbHeapFuncs_get_index_func_get, _coin.SbHeapFuncs_get_index_func_set) - set_index_func = _swig_property(_coin.SbHeapFuncs_set_index_func_get, _coin.SbHeapFuncs_set_index_func_set) - def __init__(self, *args): - """__init__(self) -> SbHeapFuncs""" - this = _coin.new_SbHeapFuncs(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbHeapFuncs - __del__ = lambda self : None; -SbHeapFuncs_swigregister = _coin.SbHeapFuncs_swigregister -SbHeapFuncs_swigregister(SbHeapFuncs) - -class SbHeap(object): - """Proxy of C++ SbHeap class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbHeapFuncs SbHeapFuncs, int initsize=1024) -> SbHeap - __init__(self, SbHeapFuncs SbHeapFuncs) -> SbHeap - """ - this = _coin.new_SbHeap(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbHeap - __del__ = lambda self : None; - def emptyHeap(*args): - """emptyHeap(self)""" - return _coin.SbHeap_emptyHeap(*args) - - def size(*args): - """size(self) -> int""" - return _coin.SbHeap_size(*args) - - def add(*args): - """add(self, void obj) -> int""" - return _coin.SbHeap_add(*args) - - def remove(*args): - """ - remove(self, int pos) - remove(self, void obj) - """ - return _coin.SbHeap_remove(*args) - - def extractMin(*args): - """extractMin(self) -> void""" - return _coin.SbHeap_extractMin(*args) - - def getMin(*args): - """getMin(self) -> void""" - return _coin.SbHeap_getMin(*args) - - def newWeight(*args): - """ - newWeight(self, void obj, int hpos=-1) - newWeight(self, void obj) - """ - return _coin.SbHeap_newWeight(*args) - - def buildHeap(*args): - """ - buildHeap(self, SbBool progresscb=None, void data=None) -> SbBool - buildHeap(self, SbBool progresscb=None) -> SbBool - buildHeap(self) -> SbBool - """ - return _coin.SbHeap_buildHeap(*args) - - def traverseHeap(*args): - """traverseHeap(self, SbBool func, void userdata) -> SbBool""" - return _coin.SbHeap_traverseHeap(*args) - -SbHeap_swigregister = _coin.SbHeap_swigregister -SbHeap_swigregister(SbHeap) - -class SbImage(object): - """Proxy of C++ SbImage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SbImage - __init__(self, unsigned char bytes) -> SbImage - __init__(self, unsigned char bytes) -> SbImage - """ - this = _coin.new_SbImage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbImage - __del__ = lambda self : None; - def setValue(*args): - """ - setValue(self, SbVec2s size) - setValue(self, SbVec3s size) - """ - return _coin.SbImage_setValue(*args) - - def setValuePtr(*args): - """ - setValuePtr(self, SbVec2s size) - setValuePtr(self, SbVec3s size) - """ - return _coin.SbImage_setValuePtr(*args) - - def getSize(*args): - """getSize(self) -> SbVec3s""" - return _coin.SbImage_getSize(*args) - - def readFile(*args): - """ - readFile(self, SbString filename, SbString searchdirectories=None, - int numdirectories=0) -> SbBool - readFile(self, SbString filename, SbString searchdirectories=None) -> SbBool - readFile(self, SbString filename) -> SbBool - """ - return _coin.SbImage_readFile(*args) - - def __eq__(*args): - """__eq__(self, SbImage image) -> int""" - return _coin.SbImage___eq__(*args) - - def __ne__(*args): - """__ne__(self, SbImage image) -> int""" - return _coin.SbImage___ne__(*args) - - def searchForFile(*args): - """searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString""" - return _coin.SbImage_searchForFile(*args) - - searchForFile = staticmethod(searchForFile) - def hasData(*args): - """hasData(self) -> SbBool""" - return _coin.SbImage_hasData(*args) - - def readLock(*args): - """readLock(self)""" - return _coin.SbImage_readLock(*args) - - def readUnlock(*args): - """readUnlock(self)""" - return _coin.SbImage_readUnlock(*args) - - def scheduleReadFile(*args): - """ - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename, - SbString searchdirectories=None, int numdirectories=0) -> SbBool - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename, - SbString searchdirectories=None) -> SbBool - scheduleReadFile(self, SbImageScheduleReadCB cb, void closure, SbString filename) -> SbBool - """ - return _coin.SbImage_scheduleReadFile(*args) - - def getValue(*args): - """ - getValue(self, SbVec2s size, int bytesperpixel) -> unsigned char - getValue(self, SbVec3s size, int bytesperpixel) -> unsigned char - getValue(self) -> PyObject - """ - return _coin.SbImage_getValue(*args) - -SbImage_swigregister = _coin.SbImage_swigregister -SbImage_swigregister(SbImage) - -def SbImage_searchForFile(*args): - """SbImage_searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString""" - return _coin.SbImage_searchForFile(*args) - -class SbOctTreeFuncs(object): - """Proxy of C++ SbOctTreeFuncs class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - bboxfunc = _swig_property(_coin.SbOctTreeFuncs_bboxfunc_get, _coin.SbOctTreeFuncs_bboxfunc_set) - ptinsidefunc = _swig_property(_coin.SbOctTreeFuncs_ptinsidefunc_get, _coin.SbOctTreeFuncs_ptinsidefunc_set) - insideboxfunc = _swig_property(_coin.SbOctTreeFuncs_insideboxfunc_get, _coin.SbOctTreeFuncs_insideboxfunc_set) - insidespherefunc = _swig_property(_coin.SbOctTreeFuncs_insidespherefunc_get, _coin.SbOctTreeFuncs_insidespherefunc_set) - insideplanesfunc = _swig_property(_coin.SbOctTreeFuncs_insideplanesfunc_get, _coin.SbOctTreeFuncs_insideplanesfunc_set) - def __init__(self, *args): - """__init__(self) -> SbOctTreeFuncs""" - this = _coin.new_SbOctTreeFuncs(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbOctTreeFuncs - __del__ = lambda self : None; -SbOctTreeFuncs_swigregister = _coin.SbOctTreeFuncs_swigregister -SbOctTreeFuncs_swigregister(SbOctTreeFuncs) - -class SbOctTree(object): - """Proxy of C++ SbOctTree class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SbBox3f bbox, SbOctTreeFuncs itemfuncs, int maxitemspernode=64) -> SbOctTree - __init__(self, SbBox3f bbox, SbOctTreeFuncs itemfuncs) -> SbOctTree - """ - this = _coin.new_SbOctTree(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbOctTree - __del__ = lambda self : None; - def addItem(*args): - """addItem(self, void item)""" - return _coin.SbOctTree_addItem(*args) - - def removeItem(*args): - """removeItem(self, void item)""" - return _coin.SbOctTree_removeItem(*args) - - def findItems(*args): - """ - findItems(self, SbVec3f pos, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbVec3f pos, SbList<(p.void)> destarray) - findItems(self, SbBox3f box, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbBox3f box, SbList<(p.void)> destarray) - findItems(self, SbSphere sphere, SbList<(p.void)> destarray, SbBool removeduplicates=1) - findItems(self, SbSphere sphere, SbList<(p.void)> destarray) - findItems(self, SbPlane planes, int numplanes, SbList<(p.void)> destarray, - SbBool removeduplicates=1) - findItems(self, SbPlane planes, int numplanes, SbList<(p.void)> destarray) - """ - return _coin.SbOctTree_findItems(*args) - - def getBoundingBox(*args): - """getBoundingBox(self) -> SbBox3f""" - return _coin.SbOctTree_getBoundingBox(*args) - - def clear(*args): - """clear(self)""" - return _coin.SbOctTree_clear(*args) - - def debugTree(*args): - """debugTree(self, FILE fp)""" - return _coin.SbOctTree_debugTree(*args) - -SbOctTree_swigregister = _coin.SbOctTree_swigregister -SbOctTree_swigregister(SbOctTree) - -class SbTesselator(object): - """Proxy of C++ SbTesselator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, void callback=None, void userdata=None) -> SbTesselator - __init__(self, void callback=None) -> SbTesselator - __init__(self) -> SbTesselator - """ - this = _coin.new_SbTesselator(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbTesselator - __del__ = lambda self : None; - def beginPolygon(*args): - """ - beginPolygon(self, SbBool keepVertices=0, SbVec3f normal=SbVec3f(0.0f, 0.0f, 0.0f)) - beginPolygon(self, SbBool keepVertices=0) - beginPolygon(self) - """ - return _coin.SbTesselator_beginPolygon(*args) - - def addVertex(*args): - """addVertex(self, SbVec3f v, void data)""" - return _coin.SbTesselator_addVertex(*args) - - def endPolygon(*args): - """endPolygon(self)""" - return _coin.SbTesselator_endPolygon(*args) - - def setCallback(*args): - """setCallback(self, void callback, void data)""" - return _coin.SbTesselator_setCallback(*args) - -SbTesselator_swigregister = _coin.SbTesselator_swigregister -SbTesselator_swigregister(SbTesselator) - -class SoTimerQueueSensor(SoSensor): - """Proxy of C++ SoTimerQueueSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerQueueSensor *")) - newobj = apply(_coin.new_SoTimerQueueSensor_scb_v, args) - else: - self.this = apply(_coin.new_SoTimerQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoTimerQueueSensor - __del__ = lambda self : None; - def getTriggerTime(*args): - """getTriggerTime(self) -> SbTime""" - return _coin.SoTimerQueueSensor_getTriggerTime(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoTimerQueueSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoTimerQueueSensor_unschedule(*args) - - def isScheduled(*args): - """isScheduled(self) -> SbBool""" - return _coin.SoTimerQueueSensor_isScheduled(*args) - - def trigger(*args): - """trigger(self)""" - return _coin.SoTimerQueueSensor_trigger(*args) - -SoTimerQueueSensor_swigregister = _coin.SoTimerQueueSensor_swigregister -SoTimerQueueSensor_swigregister(SoTimerQueueSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerQueueSensor *")) - newobj = apply(_coin.new_SoTimerQueueSensor_scb_v, args) - else: - self.this = apply(_coin.new_SoTimerQueueSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoAlarmSensor(SoTimerQueueSensor): - """Proxy of C++ SoAlarmSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoAlarmSensor *")) - newobj = apply(_coin.new_SoAlarmSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoAlarmSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoAlarmSensor - __del__ = lambda self : None; - def setTime(*args): - """setTime(self, SbTime abstime)""" - return _coin.SoAlarmSensor_setTime(*args) - - def setTimeFromNow(*args): - """setTimeFromNow(self, SbTime reltime)""" - return _coin.SoAlarmSensor_setTimeFromNow(*args) - - def getTime(*args): - """getTime(self) -> SbTime""" - return _coin.SoAlarmSensor_getTime(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoAlarmSensor_schedule(*args) - -SoAlarmSensor_swigregister = _coin.SoAlarmSensor_swigregister -SoAlarmSensor_swigregister(SoAlarmSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoAlarmSensor *")) - newobj = apply(_coin.new_SoAlarmSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoAlarmSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoIdleSensor(SoDelayQueueSensor): - """Proxy of C++ SoIdleSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoIdleSensor *")) - newobj = apply(_coin.new_SoIdleSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoIdleSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoIdleSensor - __del__ = lambda self : None; -SoIdleSensor_swigregister = _coin.SoIdleSensor_swigregister -SoIdleSensor_swigregister(SoIdleSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoIdleSensor *")) - newobj = apply(_coin.new_SoIdleSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoIdleSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoNodeSensor(SoDataSensor): - """Proxy of C++ SoNodeSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoNodeSensor *")) - newobj = apply(_coin.new_SoNodeSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoNodeSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoNodeSensor - __del__ = lambda self : None; - def attach(*args): - """attach(self, SoNode node)""" - return _coin.SoNodeSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoNodeSensor_detach(*args) - - def getAttachedNode(*args): - """getAttachedNode(self) -> SoNode""" - return _coin.SoNodeSensor_getAttachedNode(*args) - -SoNodeSensor_swigregister = _coin.SoNodeSensor_swigregister -SoNodeSensor_swigregister(SoNodeSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoNodeSensor *")) - newobj = apply(_coin.new_SoNodeSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoNodeSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoOneShotSensor(SoDelayQueueSensor): - """Proxy of C++ SoOneShotSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoOneShotSensor *")) - newobj = apply(_coin.new_SoOneShotSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoOneShotSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoOneShotSensor - __del__ = lambda self : None; -SoOneShotSensor_swigregister = _coin.SoOneShotSensor_swigregister -SoOneShotSensor_swigregister(SoOneShotSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoOneShotSensor *")) - newobj = apply(_coin.new_SoOneShotSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoOneShotSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoPathSensor(SoDataSensor): - """Proxy of C++ SoPathSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoPathSensor *")) - newobj = apply(_coin.new_SoPathSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoPathSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoPathSensor - __del__ = lambda self : None; - PATH = _coin.SoPathSensor_PATH - NODES = _coin.SoPathSensor_NODES - PATH_AND_NODES = _coin.SoPathSensor_PATH_AND_NODES - def setTriggerFilter(*args): - """setTriggerFilter(self, TriggerFilter type)""" - return _coin.SoPathSensor_setTriggerFilter(*args) - - def getTriggerFilter(*args): - """getTriggerFilter(self) -> TriggerFilter""" - return _coin.SoPathSensor_getTriggerFilter(*args) - - def attach(*args): - """attach(self, SoPath path)""" - return _coin.SoPathSensor_attach(*args) - - def detach(*args): - """detach(self)""" - return _coin.SoPathSensor_detach(*args) - - def getAttachedPath(*args): - """getAttachedPath(self) -> SoPath""" - return _coin.SoPathSensor_getAttachedPath(*args) - -SoPathSensor_swigregister = _coin.SoPathSensor_swigregister -SoPathSensor_swigregister(SoPathSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoPathSensor *")) - newobj = apply(_coin.new_SoPathSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoPathSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoTimerSensor(SoTimerQueueSensor): - """Proxy of C++ SoTimerSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerSensor *")) - newobj = apply(_coin.new_SoTimerSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoTimerSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - __swig_destroy__ = _coin.delete_SoTimerSensor - __del__ = lambda self : None; - def setBaseTime(*args): - """setBaseTime(self, SbTime base)""" - return _coin.SoTimerSensor_setBaseTime(*args) - - def getBaseTime(*args): - """getBaseTime(self) -> SbTime""" - return _coin.SoTimerSensor_getBaseTime(*args) - - def setInterval(*args): - """setInterval(self, SbTime interval)""" - return _coin.SoTimerSensor_setInterval(*args) - - def getInterval(*args): - """getInterval(self) -> SbTime""" - return _coin.SoTimerSensor_getInterval(*args) - - def schedule(*args): - """schedule(self)""" - return _coin.SoTimerSensor_schedule(*args) - - def unschedule(*args): - """unschedule(self)""" - return _coin.SoTimerSensor_unschedule(*args) - - def reschedule(*args): - """reschedule(self, SbTime schedtime)""" - return _coin.SoTimerSensor_reschedule(*args) - -SoTimerSensor_swigregister = _coin.SoTimerSensor_swigregister -SoTimerSensor_swigregister(SoTimerSensor) -def __init__(self, *args): - newobj = None - if len(args) == 2: - args = (args[0], (args[0], args[1], "SoTimerSensor *")) - newobj = apply(_coin.new_SoTimerSensor_scb_v, args) - else: - newobj = apply(_coin.new_SoTimerSensor, args) - if newobj: - self.this = newobj.this - self.thisown = 1 - - - -class SoInteraction(object): - """Proxy of C++ SoInteraction class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def init(*args): - """init()""" - return _coin.SoInteraction_init(*args) - - init = staticmethod(init) - def __init__(self, *args): - """__init__(self) -> SoInteraction""" - this = _coin.new_SoInteraction(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoInteraction - __del__ = lambda self : None; -SoInteraction_swigregister = _coin.SoInteraction_swigregister -SoInteraction_swigregister(SoInteraction) - -def SoInteraction_init(*args): - """SoInteraction_init()""" - return _coin.SoInteraction_init(*args) - -class SoOffscreenRenderer(object): - """Proxy of C++ SoOffscreenRenderer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - LUMINANCE = _coin.SoOffscreenRenderer_LUMINANCE - LUMINANCE_TRANSPARENCY = _coin.SoOffscreenRenderer_LUMINANCE_TRANSPARENCY - RGB = _coin.SoOffscreenRenderer_RGB - RGB_TRANSPARENCY = _coin.SoOffscreenRenderer_RGB_TRANSPARENCY - def __init__(self, *args): - """ - __init__(self, SbViewportRegion viewportregion) -> SoOffscreenRenderer - __init__(self, SoGLRenderAction action) -> SoOffscreenRenderer - """ - this = _coin.new_SoOffscreenRenderer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoOffscreenRenderer - __del__ = lambda self : None; - def getScreenPixelsPerInch(*args): - """getScreenPixelsPerInch() -> float""" - return _coin.SoOffscreenRenderer_getScreenPixelsPerInch(*args) - - getScreenPixelsPerInch = staticmethod(getScreenPixelsPerInch) - def getMaximumResolution(*args): - """getMaximumResolution() -> SbVec2s""" - return _coin.SoOffscreenRenderer_getMaximumResolution(*args) - - getMaximumResolution = staticmethod(getMaximumResolution) - def setComponents(*args): - """setComponents(self, Components components)""" - return _coin.SoOffscreenRenderer_setComponents(*args) - - def getComponents(*args): - """getComponents(self) -> Components""" - return _coin.SoOffscreenRenderer_getComponents(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion region)""" - return _coin.SoOffscreenRenderer_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoOffscreenRenderer_getViewportRegion(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _coin.SoOffscreenRenderer_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _coin.SoOffscreenRenderer_getBackgroundColor(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _coin.SoOffscreenRenderer_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _coin.SoOffscreenRenderer_getGLRenderAction(*args) - - def render(*args): - """ - render(self, SoNode scene) -> SbBool - render(self, SoPath scene) -> SbBool - """ - return _coin.SoOffscreenRenderer_render(*args) - - def writeToRGB(*args): - """ - writeToRGB(self, FILE fp) -> SbBool - writeToRGB(self, char filename) -> SbBool - """ - return _coin.SoOffscreenRenderer_writeToRGB(*args) - - def writeToPostScript(*args): - """ - writeToPostScript(self, FILE fp) -> SbBool - writeToPostScript(self, FILE fp, SbVec2f printsize) -> SbBool - writeToPostScript(self, char filename) -> SbBool - writeToPostScript(self, char filename, SbVec2f printsize) -> SbBool - """ - return _coin.SoOffscreenRenderer_writeToPostScript(*args) - - def isWriteSupported(*args): - """isWriteSupported(self, SbName filetypeextension) -> SbBool""" - return _coin.SoOffscreenRenderer_isWriteSupported(*args) - - def getNumWriteFiletypes(*args): - """getNumWriteFiletypes(self) -> int""" - return _coin.SoOffscreenRenderer_getNumWriteFiletypes(*args) - - def writeToFile(*args): - """writeToFile(self, SbString filename, SbName filetypeextension) -> SbBool""" - return _coin.SoOffscreenRenderer_writeToFile(*args) - - def getWriteFiletypeInfo(*args): - """ - getWriteFiletypeInfo(self, int idx, SbPList extlist, SbString fullname, SbString description) - getWriteFiletypeInfo(self, int idx, SbList<(SbName)> extlist, SbString fullname, - SbString description) - """ - return _coin.SoOffscreenRenderer_getWriteFiletypeInfo(*args) - - def getBuffer(*args): - """ - getBuffer(self) -> unsigned char - getBuffer(self) -> PyObject - """ - return _coin.SoOffscreenRenderer_getBuffer(*args) - -SoOffscreenRenderer_swigregister = _coin.SoOffscreenRenderer_swigregister -SoOffscreenRenderer_swigregister(SoOffscreenRenderer) - -def SoOffscreenRenderer_getScreenPixelsPerInch(*args): - """SoOffscreenRenderer_getScreenPixelsPerInch() -> float""" - return _coin.SoOffscreenRenderer_getScreenPixelsPerInch(*args) - -def SoOffscreenRenderer_getMaximumResolution(*args): - """SoOffscreenRenderer_getMaximumResolution() -> SbVec2s""" - return _coin.SoOffscreenRenderer_getMaximumResolution(*args) - -class SoPickedPoint(object): - """Proxy of C++ SoPickedPoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, SoPickedPoint pp) -> SoPickedPoint - __init__(self, SoPath path, SoState state, SbVec3f objSpacePoint) -> SoPickedPoint - """ - this = _coin.new_SoPickedPoint(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPickedPoint - __del__ = lambda self : None; - def copy(*args): - """copy(self) -> SoPickedPoint""" - return _coin.SoPickedPoint_copy(*args) - - def getPoint(*args): - """getPoint(self) -> SbVec3f""" - return _coin.SoPickedPoint_getPoint(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SoPickedPoint_getNormal(*args) - - def getTextureCoords(*args): - """getTextureCoords(self) -> SbVec4f""" - return _coin.SoPickedPoint_getTextureCoords(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPickedPoint_getMaterialIndex(*args) - - def getPath(*args): - """getPath(self) -> SoPath""" - return _coin.SoPickedPoint_getPath(*args) - - def isOnGeometry(*args): - """isOnGeometry(self) -> SbBool""" - return _coin.SoPickedPoint_isOnGeometry(*args) - - def getDetail(*args): - """ - getDetail(self, SoNode node=None) -> SoDetail - getDetail(self) -> SoDetail - """ - return _coin.SoPickedPoint_getDetail(*args) - - def getObjectToWorld(*args): - """ - getObjectToWorld(self, SoNode node=None) -> SbMatrix - getObjectToWorld(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getObjectToWorld(*args) - - def getWorldToObject(*args): - """ - getWorldToObject(self, SoNode node=None) -> SbMatrix - getWorldToObject(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getWorldToObject(*args) - - def getObjectToImage(*args): - """ - getObjectToImage(self, SoNode node=None) -> SbMatrix - getObjectToImage(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getObjectToImage(*args) - - def getImageToObject(*args): - """ - getImageToObject(self, SoNode node=None) -> SbMatrix - getImageToObject(self) -> SbMatrix - """ - return _coin.SoPickedPoint_getImageToObject(*args) - - def getObjectPoint(*args): - """ - getObjectPoint(self, SoNode node=None) -> SbVec3f - getObjectPoint(self) -> SbVec3f - """ - return _coin.SoPickedPoint_getObjectPoint(*args) - - def getObjectNormal(*args): - """ - getObjectNormal(self, SoNode node=None) -> SbVec3f - getObjectNormal(self) -> SbVec3f - """ - return _coin.SoPickedPoint_getObjectNormal(*args) - - def getObjectTextureCoords(*args): - """ - getObjectTextureCoords(self, SoNode node=None) -> SbVec4f - getObjectTextureCoords(self) -> SbVec4f - """ - return _coin.SoPickedPoint_getObjectTextureCoords(*args) - - def setObjectNormal(*args): - """setObjectNormal(self, SbVec3f normal)""" - return _coin.SoPickedPoint_setObjectNormal(*args) - - def setObjectTextureCoords(*args): - """setObjectTextureCoords(self, SbVec4f texCoords)""" - return _coin.SoPickedPoint_setObjectTextureCoords(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int index)""" - return _coin.SoPickedPoint_setMaterialIndex(*args) - - def setDetail(*args): - """setDetail(self, SoDetail detail, SoNode node)""" - return _coin.SoPickedPoint_setDetail(*args) - -SoPickedPoint_swigregister = _coin.SoPickedPoint_swigregister -SoPickedPoint_swigregister(SoPickedPoint) - -class SoPrimitiveVertex(object): - """Proxy of C++ SoPrimitiveVertex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self) -> SoPrimitiveVertex - __init__(self, SoPrimitiveVertex pv) -> SoPrimitiveVertex - """ - this = _coin.new_SoPrimitiveVertex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoPrimitiveVertex - __del__ = lambda self : None; - def getPoint(*args): - """getPoint(self) -> SbVec3f""" - return _coin.SoPrimitiveVertex_getPoint(*args) - - def getNormal(*args): - """getNormal(self) -> SbVec3f""" - return _coin.SoPrimitiveVertex_getNormal(*args) - - def getTextureCoords(*args): - """getTextureCoords(self) -> SbVec4f""" - return _coin.SoPrimitiveVertex_getTextureCoords(*args) - - def getMaterialIndex(*args): - """getMaterialIndex(self) -> int""" - return _coin.SoPrimitiveVertex_getMaterialIndex(*args) - - def getDetail(*args): - """getDetail(self) -> SoDetail""" - return _coin.SoPrimitiveVertex_getDetail(*args) - - def setPoint(*args): - """setPoint(self, SbVec3f point)""" - return _coin.SoPrimitiveVertex_setPoint(*args) - - def setNormal(*args): - """setNormal(self, SbVec3f normal)""" - return _coin.SoPrimitiveVertex_setNormal(*args) - - def setTextureCoords(*args): - """ - setTextureCoords(self, SbVec2f texcoords) - setTextureCoords(self, SbVec3f texcoords) - setTextureCoords(self, SbVec4f texcoords) - """ - return _coin.SoPrimitiveVertex_setTextureCoords(*args) - - def setMaterialIndex(*args): - """setMaterialIndex(self, int index)""" - return _coin.SoPrimitiveVertex_setMaterialIndex(*args) - - def setDetail(*args): - """setDetail(self, SoDetail detail)""" - return _coin.SoPrimitiveVertex_setDetail(*args) - -SoPrimitiveVertex_swigregister = _coin.SoPrimitiveVertex_swigregister -SoPrimitiveVertex_swigregister(SoPrimitiveVertex) - -class SoSceneManager(object): - """Proxy of C++ SoSceneManager class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SoSceneManager""" - this = _coin.new_SoSceneManager(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SoSceneManager - __del__ = lambda self : None; - def render(*args): - """ - render(self, SbBool clearwindow=1, SbBool clearzbuffer=1) - render(self, SbBool clearwindow=1) - render(self) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, - SbBool clearzbuffer=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1) - render(self, SoGLRenderAction action, SbBool initmatrices=1) - render(self, SoGLRenderAction action) - """ - return _coin.SoSceneManager_render(*args) - - def processEvent(*args): - """processEvent(self, SoEvent event) -> SbBool""" - return _coin.SoSceneManager_processEvent(*args) - - def reinitialize(*args): - """reinitialize(self)""" - return _coin.SoSceneManager_reinitialize(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _coin.SoSceneManager_scheduleRedraw(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode sceneroot)""" - return _coin.SoSceneManager_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _coin.SoSceneManager_getSceneGraph(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s newsize)""" - return _coin.SoSceneManager_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _coin.SoSceneManager_getWindowSize(*args) - - def setSize(*args): - """setSize(self, SbVec2s newsize)""" - return _coin.SoSceneManager_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _coin.SoSceneManager_getSize(*args) - - def setOrigin(*args): - """setOrigin(self, SbVec2s newOrigin)""" - return _coin.SoSceneManager_setOrigin(*args) - - def getOrigin(*args): - """getOrigin(self) -> SbVec2s""" - return _coin.SoSceneManager_getOrigin(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _coin.SoSceneManager_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _coin.SoSceneManager_getViewportRegion(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _coin.SoSceneManager_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _coin.SoSceneManager_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int index)""" - return _coin.SoSceneManager_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _coin.SoSceneManager_getBackgroundIndex(*args) - - def setRGBMode(*args): - """setRGBMode(self, SbBool onOrOff)""" - return _coin.SoSceneManager_setRGBMode(*args) - - def isRGBMode(*args): - """isRGBMode(self) -> SbBool""" - return _coin.SoSceneManager_isRGBMode(*args) - - def activate(*args): - """activate(self)""" - return _coin.SoSceneManager_activate(*args) - - def deactivate(*args): - """deactivate(self)""" - return _coin.SoSceneManager_deactivate(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _coin.SoSceneManager_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _coin.SoSceneManager_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _coin.SoSceneManager_getRedrawPriority(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoSceneManager_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _coin.SoSceneManager_getAntialiasing(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _coin.SoSceneManager_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _coin.SoSceneManager_getGLRenderAction(*args) - - def setAudioRenderAction(*args): - """setAudioRenderAction(self, SoAudioRenderAction action)""" - return _coin.SoSceneManager_setAudioRenderAction(*args) - - def getAudioRenderAction(*args): - """getAudioRenderAction(self) -> SoAudioRenderAction""" - return _coin.SoSceneManager_getAudioRenderAction(*args) - - def setHandleEventAction(*args): - """setHandleEventAction(self, SoHandleEventAction hea)""" - return _coin.SoSceneManager_setHandleEventAction(*args) - - def getHandleEventAction(*args): - """getHandleEventAction(self) -> SoHandleEventAction""" - return _coin.SoSceneManager_getHandleEventAction(*args) - - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoSceneManager_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def enableRealTimeUpdate(*args): - """enableRealTimeUpdate(SbBool flag)""" - return _coin.SoSceneManager_enableRealTimeUpdate(*args) - - enableRealTimeUpdate = staticmethod(enableRealTimeUpdate) - def isRealTimeUpdateEnabled(*args): - """isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoSceneManager_isRealTimeUpdateEnabled(*args) - - isRealTimeUpdateEnabled = staticmethod(isRealTimeUpdateEnabled) - def setRenderCallback(*args): - """ - setRenderCallback(self, SoSceneManagerRenderCB f, void userData=None) - setRenderCallback(self, SoSceneManagerRenderCB f) - setRenderCallback(self, PyObject pyfunc, PyObject userData=None) - setRenderCallback(self, PyObject pyfunc) - """ - return _coin.SoSceneManager_setRenderCallback(*args) - -SoSceneManager_swigregister = _coin.SoSceneManager_swigregister -SoSceneManager_swigregister(SoSceneManager) - -def SoSceneManager_getDefaultRedrawPriority(*args): - """SoSceneManager_getDefaultRedrawPriority() -> uint32_t""" - return _coin.SoSceneManager_getDefaultRedrawPriority(*args) - -def SoSceneManager_enableRealTimeUpdate(*args): - """SoSceneManager_enableRealTimeUpdate(SbBool flag)""" - return _coin.SoSceneManager_enableRealTimeUpdate(*args) - -def SoSceneManager_isRealTimeUpdateEnabled(*args): - """SoSceneManager_isRealTimeUpdateEnabled() -> SbBool""" - return _coin.SoSceneManager_isRealTimeUpdateEnabled(*args) - -GL_GLEXT_PROTOTYPES = _coin.GL_GLEXT_PROTOTYPES -GL_CLAMP_TO_EDGE = _coin.GL_CLAMP_TO_EDGE -GL_REPLACE = _coin.GL_REPLACE -GL_MAX_3D_TEXTURE_SIZE = _coin.GL_MAX_3D_TEXTURE_SIZE -GL_PACK_IMAGE_HEIGHT = _coin.GL_PACK_IMAGE_HEIGHT -GL_PACK_SKIP_IMAGES = _coin.GL_PACK_SKIP_IMAGES -GL_PROXY_TEXTURE_2D = _coin.GL_PROXY_TEXTURE_2D -GL_PROXY_TEXTURE_3D = _coin.GL_PROXY_TEXTURE_3D -GL_TEXTURE_3D = _coin.GL_TEXTURE_3D -GL_TEXTURE_DEPTH = _coin.GL_TEXTURE_DEPTH -GL_TEXTURE_WRAP_R = _coin.GL_TEXTURE_WRAP_R -GL_UNPACK_IMAGE_HEIGHT = _coin.GL_UNPACK_IMAGE_HEIGHT -GL_UNPACK_SKIP_IMAGES = _coin.GL_UNPACK_SKIP_IMAGES -GL_COLOR_TABLE_WIDTH = _coin.GL_COLOR_TABLE_WIDTH -GL_TEXTURE0 = _coin.GL_TEXTURE0 -GL_TEXTURE1 = _coin.GL_TEXTURE1 -GL_TEXTURE2 = _coin.GL_TEXTURE2 -GL_TEXTURE3 = _coin.GL_TEXTURE3 -GL_TEXTURE4 = _coin.GL_TEXTURE4 -GL_TEXTURE5 = _coin.GL_TEXTURE5 -GL_TEXTURE6 = _coin.GL_TEXTURE6 -GL_TEXTURE7 = _coin.GL_TEXTURE7 -GL_TEXTURE8 = _coin.GL_TEXTURE8 -GL_TEXTURE9 = _coin.GL_TEXTURE9 -GL_TEXTURE10 = _coin.GL_TEXTURE10 -GL_TEXTURE11 = _coin.GL_TEXTURE11 -GL_TEXTURE12 = _coin.GL_TEXTURE12 -GL_TEXTURE13 = _coin.GL_TEXTURE13 -GL_TEXTURE14 = _coin.GL_TEXTURE14 -GL_TEXTURE15 = _coin.GL_TEXTURE15 -GL_MAX_TEXTURE_UNITS = _coin.GL_MAX_TEXTURE_UNITS -GL_ACTIVE_TEXTURE = _coin.GL_ACTIVE_TEXTURE -GL_CLIENT_ACTIVE_TEXTURE = _coin.GL_CLIENT_ACTIVE_TEXTURE -GL_POLYGON_OFFSET_EXT = _coin.GL_POLYGON_OFFSET_EXT -GL_COLOR_TABLE = _coin.GL_COLOR_TABLE -GL_COLOR_INDEX1_EXT = _coin.GL_COLOR_INDEX1_EXT -GL_COLOR_INDEX2_EXT = _coin.GL_COLOR_INDEX2_EXT -GL_COLOR_INDEX4_EXT = _coin.GL_COLOR_INDEX4_EXT -GL_COLOR_INDEX8_EXT = _coin.GL_COLOR_INDEX8_EXT -GL_COLOR_INDEX12_EXT = _coin.GL_COLOR_INDEX12_EXT -GL_COLOR_INDEX16_EXT = _coin.GL_COLOR_INDEX16_EXT -GL_COLOR_TABLE_FORMAT_EXT = _coin.GL_COLOR_TABLE_FORMAT_EXT -GL_COLOR_TABLE_RED_SIZE_EXT = _coin.GL_COLOR_TABLE_RED_SIZE_EXT -GL_COLOR_TABLE_GREEN_SIZE_EXT = _coin.GL_COLOR_TABLE_GREEN_SIZE_EXT -GL_COLOR_TABLE_BLUE_SIZE_EXT = _coin.GL_COLOR_TABLE_BLUE_SIZE_EXT -GL_COLOR_TABLE_ALPHA_SIZE_EXT = _coin.GL_COLOR_TABLE_ALPHA_SIZE_EXT -GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = _coin.GL_COLOR_TABLE_LUMINANCE_SIZE_EXT -GL_COLOR_TABLE_INTENSITY_SIZE_EXT = _coin.GL_COLOR_TABLE_INTENSITY_SIZE_EXT -GL_TEXTURE_INDEX_SIZE_EXT = _coin.GL_TEXTURE_INDEX_SIZE_EXT -GL_COMPRESSED_ALPHA_ARB = _coin.GL_COMPRESSED_ALPHA_ARB -GL_COMPRESSED_LUMINANCE_ARB = _coin.GL_COMPRESSED_LUMINANCE_ARB -GL_COMPRESSED_LUMINANCE_ALPHA_ARB = _coin.GL_COMPRESSED_LUMINANCE_ALPHA_ARB -GL_COMPRESSED_INTENSITY_ARB = _coin.GL_COMPRESSED_INTENSITY_ARB -GL_COMPRESSED_RGB_ARB = _coin.GL_COMPRESSED_RGB_ARB -GL_COMPRESSED_RGBA_ARB = _coin.GL_COMPRESSED_RGBA_ARB -GL_TEXTURE_COMPRESSION_HINT_ARB = _coin.GL_TEXTURE_COMPRESSION_HINT_ARB -GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = _coin.GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB -GL_TEXTURE_COMPRESSED_ARB = _coin.GL_TEXTURE_COMPRESSED_ARB -GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = _coin.GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB -GL_COMPRESSED_TEXTURE_FORMATS_ARB = _coin.GL_COMPRESSED_TEXTURE_FORMATS_ARB -GL_DEPTH_COMPONENT16 = _coin.GL_DEPTH_COMPONENT16 -GL_DEPTH_COMPONENT24 = _coin.GL_DEPTH_COMPONENT24 -GL_DEPTH_COMPONENT32 = _coin.GL_DEPTH_COMPONENT32 -GL_TEXTURE_DEPTH_SIZE = _coin.GL_TEXTURE_DEPTH_SIZE -GL_DEPTH_TEXTURE_MODE = _coin.GL_DEPTH_TEXTURE_MODE -GL_TEXTURE_COMPARE_MODE = _coin.GL_TEXTURE_COMPARE_MODE -GL_TEXTURE_COMPARE_FUNC = _coin.GL_TEXTURE_COMPARE_FUNC -GL_COMPARE_R_TO_TEXTURE = _coin.GL_COMPARE_R_TO_TEXTURE -GL_MIN = _coin.GL_MIN -GL_MAX = _coin.GL_MAX -GL_FUNC_ADD = _coin.GL_FUNC_ADD -GL_FUNC_SUBTRACT = _coin.GL_FUNC_SUBTRACT -GL_FUNC_REVERSE_SUBTRACT = _coin.GL_FUNC_REVERSE_SUBTRACT -GL_VERTEX_ARRAY = _coin.GL_VERTEX_ARRAY -GL_NORMAL_ARRAY = _coin.GL_NORMAL_ARRAY -GL_COLOR_ARRAY = _coin.GL_COLOR_ARRAY -GL_INDEX_ARRAY = _coin.GL_INDEX_ARRAY -GL_TEXTURE_COORD_ARRAY = _coin.GL_TEXTURE_COORD_ARRAY -GL_V3F = _coin.GL_V3F -GL_C4UB_V3F = _coin.GL_C4UB_V3F -GL_C3F_V3F = _coin.GL_C3F_V3F -GL_N3F_V3F = _coin.GL_N3F_V3F -GL_C4F_N3F_V3F = _coin.GL_C4F_N3F_V3F -GL_T2F_V3F = _coin.GL_T2F_V3F -GL_T2F_C4UB_V3F = _coin.GL_T2F_C4UB_V3F -GL_T2F_C3F_V3F = _coin.GL_T2F_C3F_V3F -GL_T2F_N3F_V3F = _coin.GL_T2F_N3F_V3F -GL_T2F_C4F_N3F_V3F = _coin.GL_T2F_C4F_N3F_V3F -GL_VERTEX_ARRAY_RANGE_NV = _coin.GL_VERTEX_ARRAY_RANGE_NV -GL_VERTEX_ARRAY_RANGE_LENGTH_NV = _coin.GL_VERTEX_ARRAY_RANGE_LENGTH_NV -GL_VERTEX_ARRAY_RANGE_VALID_NV = _coin.GL_VERTEX_ARRAY_RANGE_VALID_NV -GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = _coin.GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV -GL_VERTEX_ARRAY_RANGE_POINTER_NV = _coin.GL_VERTEX_ARRAY_RANGE_POINTER_NV -GL_ARRAY_BUFFER = _coin.GL_ARRAY_BUFFER -GL_ELEMENT_ARRAY_BUFFER = _coin.GL_ELEMENT_ARRAY_BUFFER -GL_READ_ONLY = _coin.GL_READ_ONLY -GL_WRITE_ONLY = _coin.GL_WRITE_ONLY -GL_READ_WRITE = _coin.GL_READ_WRITE -GL_BUFFER_ACCESS = _coin.GL_BUFFER_ACCESS -GL_BUFFER_MAPPED = _coin.GL_BUFFER_MAPPED -GL_BUFFER_MAP_POINTER = _coin.GL_BUFFER_MAP_POINTER -GL_STREAM_DRAW = _coin.GL_STREAM_DRAW -GL_STREAM_READ = _coin.GL_STREAM_READ -GL_STREAM_COPY = _coin.GL_STREAM_COPY -GL_STATIC_DRAW = _coin.GL_STATIC_DRAW -GL_STATIC_READ = _coin.GL_STATIC_READ -GL_STATIC_COPY = _coin.GL_STATIC_COPY -GL_DYNAMIC_DRAW = _coin.GL_DYNAMIC_DRAW -GL_DYNAMIC_READ = _coin.GL_DYNAMIC_READ -GL_DYNAMIC_COPY = _coin.GL_DYNAMIC_COPY -GL_REGISTER_COMBINERS_NV = _coin.GL_REGISTER_COMBINERS_NV -GL_COMBINER0_NV = _coin.GL_COMBINER0_NV -GL_COMBINER1_NV = _coin.GL_COMBINER1_NV -GL_COMBINER2_NV = _coin.GL_COMBINER2_NV -GL_COMBINER3_NV = _coin.GL_COMBINER3_NV -GL_COMBINER4_NV = _coin.GL_COMBINER4_NV -GL_COMBINER5_NV = _coin.GL_COMBINER5_NV -GL_COMBINER6_NV = _coin.GL_COMBINER6_NV -GL_COMBINER7_NV = _coin.GL_COMBINER7_NV -GL_VARIABLE_A_NV = _coin.GL_VARIABLE_A_NV -GL_VARIABLE_B_NV = _coin.GL_VARIABLE_B_NV -GL_VARIABLE_C_NV = _coin.GL_VARIABLE_C_NV -GL_VARIABLE_D_NV = _coin.GL_VARIABLE_D_NV -GL_VARIABLE_E_NV = _coin.GL_VARIABLE_E_NV -GL_VARIABLE_F_NV = _coin.GL_VARIABLE_F_NV -GL_VARIABLE_G_NV = _coin.GL_VARIABLE_G_NV -GL_CONSTANT_COLOR0_NV = _coin.GL_CONSTANT_COLOR0_NV -GL_CONSTANT_COLOR1_NV = _coin.GL_CONSTANT_COLOR1_NV -GL_PRIMARY_COLOR_NV = _coin.GL_PRIMARY_COLOR_NV -GL_SECONDARY_COLOR_NV = _coin.GL_SECONDARY_COLOR_NV -GL_SPARE0_NV = _coin.GL_SPARE0_NV -GL_SPARE1_NV = _coin.GL_SPARE1_NV -GL_UNSIGNED_IDENTITY_NV = _coin.GL_UNSIGNED_IDENTITY_NV -GL_UNSIGNED_INVERT_NV = _coin.GL_UNSIGNED_INVERT_NV -GL_EXPAND_NORMAL_NV = _coin.GL_EXPAND_NORMAL_NV -GL_EXPAND_NEGATE_NV = _coin.GL_EXPAND_NEGATE_NV -GL_HALF_BIAS_NORMAL_NV = _coin.GL_HALF_BIAS_NORMAL_NV -GL_HALF_BIAS_NEGATE_NV = _coin.GL_HALF_BIAS_NEGATE_NV -GL_SIGNED_IDENTITY_NV = _coin.GL_SIGNED_IDENTITY_NV -GL_SIGNED_NEGATE_NV = _coin.GL_SIGNED_NEGATE_NV -GL_E_TIMES_F_NV = _coin.GL_E_TIMES_F_NV -GL_SPARE0_PLUS_SECONDARY_COLOR_NV = _coin.GL_SPARE0_PLUS_SECONDARY_COLOR_NV -GL_SCALE_BY_TWO_NV = _coin.GL_SCALE_BY_TWO_NV -GL_SCALE_BY_FOUR_NV = _coin.GL_SCALE_BY_FOUR_NV -GL_SCALE_BY_ONE_HALF_NV = _coin.GL_SCALE_BY_ONE_HALF_NV -GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = _coin.GL_BIAS_BY_NEGATIVE_ONE_HALF_NV -GL_DISCARD_NV = _coin.GL_DISCARD_NV -GL_COMBINER_INPUT_NV = _coin.GL_COMBINER_INPUT_NV -GL_COMBINER_MAPPING_NV = _coin.GL_COMBINER_MAPPING_NV -GL_COMBINER_COMPONENT_USAGE_NV = _coin.GL_COMBINER_COMPONENT_USAGE_NV -GL_COMBINER_AB_DOT_PRODUCT_NV = _coin.GL_COMBINER_AB_DOT_PRODUCT_NV -GL_COMBINER_CD_DOT_PRODUCT_NV = _coin.GL_COMBINER_CD_DOT_PRODUCT_NV -GL_COMBINER_MUX_SUM_NV = _coin.GL_COMBINER_MUX_SUM_NV -GL_COMBINER_SCALE_NV = _coin.GL_COMBINER_SCALE_NV -GL_COMBINER_BIAS_NV = _coin.GL_COMBINER_BIAS_NV -GL_COMBINER_AB_OUTPUT_NV = _coin.GL_COMBINER_AB_OUTPUT_NV -GL_COMBINER_CD_OUTPUT_NV = _coin.GL_COMBINER_CD_OUTPUT_NV -GL_COMBINER_SUM_OUTPUT_NV = _coin.GL_COMBINER_SUM_OUTPUT_NV -GL_MAX_GENERAL_COMBINERS_NV = _coin.GL_MAX_GENERAL_COMBINERS_NV -GL_NUM_GENERAL_COMBINERS_NV = _coin.GL_NUM_GENERAL_COMBINERS_NV -GL_COLOR_SUM_CLAMP_NV = _coin.GL_COLOR_SUM_CLAMP_NV -GL_TEXTURE_RECTANGLE_NV = _coin.GL_TEXTURE_RECTANGLE_NV -GL_TEXTURE_BINDING_RECTANGLE_NV = _coin.GL_TEXTURE_BINDING_RECTANGLE_NV -GL_PROXY_TEXTURE_RECTANGLE_NV = _coin.GL_PROXY_TEXTURE_RECTANGLE_NV -GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = _coin.GL_MAX_RECTANGLE_TEXTURE_SIZE_NV -GL_TEXTURE_RECTANGLE_EXT = _coin.GL_TEXTURE_RECTANGLE_EXT -GL_TEXTURE_BINDING_RECTANGLE_EXT = _coin.GL_TEXTURE_BINDING_RECTANGLE_EXT -GL_PROXY_TEXTURE_RECTANGLE_EXT = _coin.GL_PROXY_TEXTURE_RECTANGLE_EXT -GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT = _coin.GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT -GL_OFFSET_TEXTURE_RECTANGLE_NV = _coin.GL_OFFSET_TEXTURE_RECTANGLE_NV -GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = _coin.GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV -GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = _coin.GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV -GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = _coin.GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV -GL_UNSIGNED_INT_S8_S8_8_8_NV = _coin.GL_UNSIGNED_INT_S8_S8_8_8_NV -GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = _coin.GL_UNSIGNED_INT_8_8_S8_S8_REV_NV -GL_DSDT_MAG_INTENSITY_NV = _coin.GL_DSDT_MAG_INTENSITY_NV -GL_SHADER_CONSISTENT_NV = _coin.GL_SHADER_CONSISTENT_NV -GL_TEXTURE_SHADER_NV = _coin.GL_TEXTURE_SHADER_NV -GL_SHADER_OPERATION_NV = _coin.GL_SHADER_OPERATION_NV -GL_CULL_MODES_NV = _coin.GL_CULL_MODES_NV -GL_OFFSET_TEXTURE_MATRIX_NV = _coin.GL_OFFSET_TEXTURE_MATRIX_NV -GL_OFFSET_TEXTURE_SCALE_NV = _coin.GL_OFFSET_TEXTURE_SCALE_NV -GL_OFFSET_TEXTURE_BIAS_NV = _coin.GL_OFFSET_TEXTURE_BIAS_NV -GL_OFFSET_TEXTURE_2D_MATRIX_NV = _coin.GL_OFFSET_TEXTURE_2D_MATRIX_NV -GL_OFFSET_TEXTURE_2D_SCALE_NV = _coin.GL_OFFSET_TEXTURE_2D_SCALE_NV -GL_OFFSET_TEXTURE_2D_BIAS_NV = _coin.GL_OFFSET_TEXTURE_2D_BIAS_NV -GL_PREVIOUS_TEXTURE_INPUT_NV = _coin.GL_PREVIOUS_TEXTURE_INPUT_NV -GL_CONST_EYE_NV = _coin.GL_CONST_EYE_NV -GL_PASS_THROUGH_NV = _coin.GL_PASS_THROUGH_NV -GL_CULL_FRAGMENT_NV = _coin.GL_CULL_FRAGMENT_NV -GL_OFFSET_TEXTURE_2D_NV = _coin.GL_OFFSET_TEXTURE_2D_NV -GL_DEPENDENT_AR_TEXTURE_2D_NV = _coin.GL_DEPENDENT_AR_TEXTURE_2D_NV -GL_DEPENDENT_GB_TEXTURE_2D_NV = _coin.GL_DEPENDENT_GB_TEXTURE_2D_NV -GL_DOT_PRODUCT_NV = _coin.GL_DOT_PRODUCT_NV -GL_DOT_PRODUCT_DEPTH_REPLACE_NV = _coin.GL_DOT_PRODUCT_DEPTH_REPLACE_NV -GL_DOT_PRODUCT_TEXTURE_2D_NV = _coin.GL_DOT_PRODUCT_TEXTURE_2D_NV -GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV -GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV -GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV -GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = _coin.GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV -GL_HILO_NV = _coin.GL_HILO_NV -GL_DSDT_NV = _coin.GL_DSDT_NV -GL_DSDT_MAG_NV = _coin.GL_DSDT_MAG_NV -GL_DSDT_MAG_VIB_NV = _coin.GL_DSDT_MAG_VIB_NV -GL_HILO16_NV = _coin.GL_HILO16_NV -GL_SIGNED_HILO_NV = _coin.GL_SIGNED_HILO_NV -GL_SIGNED_HILO16_NV = _coin.GL_SIGNED_HILO16_NV -GL_SIGNED_RGBA_NV = _coin.GL_SIGNED_RGBA_NV -GL_SIGNED_RGBA8_NV = _coin.GL_SIGNED_RGBA8_NV -GL_SIGNED_RGB_NV = _coin.GL_SIGNED_RGB_NV -GL_SIGNED_RGB8_NV = _coin.GL_SIGNED_RGB8_NV -GL_SIGNED_LUMINANCE_NV = _coin.GL_SIGNED_LUMINANCE_NV -GL_SIGNED_LUMINANCE8_NV = _coin.GL_SIGNED_LUMINANCE8_NV -GL_SIGNED_LUMINANCE_ALPHA_NV = _coin.GL_SIGNED_LUMINANCE_ALPHA_NV -GL_SIGNED_LUMINANCE8_ALPHA8_NV = _coin.GL_SIGNED_LUMINANCE8_ALPHA8_NV -GL_SIGNED_ALPHA_NV = _coin.GL_SIGNED_ALPHA_NV -GL_SIGNED_ALPHA8_NV = _coin.GL_SIGNED_ALPHA8_NV -GL_SIGNED_INTENSITY_NV = _coin.GL_SIGNED_INTENSITY_NV -GL_SIGNED_INTENSITY8_NV = _coin.GL_SIGNED_INTENSITY8_NV -GL_DSDT8_NV = _coin.GL_DSDT8_NV -GL_DSDT8_MAG8_NV = _coin.GL_DSDT8_MAG8_NV -GL_DSDT8_MAG8_INTENSITY8_NV = _coin.GL_DSDT8_MAG8_INTENSITY8_NV -GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = _coin.GL_SIGNED_RGB_UNSIGNED_ALPHA_NV -GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = _coin.GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV -GL_HI_SCALE_NV = _coin.GL_HI_SCALE_NV -GL_LO_SCALE_NV = _coin.GL_LO_SCALE_NV -GL_DS_SCALE_NV = _coin.GL_DS_SCALE_NV -GL_DT_SCALE_NV = _coin.GL_DT_SCALE_NV -GL_MAGNITUDE_SCALE_NV = _coin.GL_MAGNITUDE_SCALE_NV -GL_VIBRANCE_SCALE_NV = _coin.GL_VIBRANCE_SCALE_NV -GL_HI_BIAS_NV = _coin.GL_HI_BIAS_NV -GL_LO_BIAS_NV = _coin.GL_LO_BIAS_NV -GL_DS_BIAS_NV = _coin.GL_DS_BIAS_NV -GL_DT_BIAS_NV = _coin.GL_DT_BIAS_NV -GL_MAGNITUDE_BIAS_NV = _coin.GL_MAGNITUDE_BIAS_NV -GL_VIBRANCE_BIAS_NV = _coin.GL_VIBRANCE_BIAS_NV -GL_TEXTURE_BORDER_VALUES_NV = _coin.GL_TEXTURE_BORDER_VALUES_NV -GL_TEXTURE_HI_SIZE_NV = _coin.GL_TEXTURE_HI_SIZE_NV -GL_TEXTURE_LO_SIZE_NV = _coin.GL_TEXTURE_LO_SIZE_NV -GL_TEXTURE_DS_SIZE_NV = _coin.GL_TEXTURE_DS_SIZE_NV -GL_TEXTURE_DT_SIZE_NV = _coin.GL_TEXTURE_DT_SIZE_NV -GL_TEXTURE_MAG_SIZE_NV = _coin.GL_TEXTURE_MAG_SIZE_NV -GL_NORMAL_MAP = _coin.GL_NORMAL_MAP -GL_REFLECTION_MAP = _coin.GL_REFLECTION_MAP -GL_TEXTURE_CUBE_MAP = _coin.GL_TEXTURE_CUBE_MAP -GL_TEXTURE_BINDING_CUBE_MAP = _coin.GL_TEXTURE_BINDING_CUBE_MAP -GL_TEXTURE_CUBE_MAP_POSITIVE_X = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_X -GL_TEXTURE_CUBE_MAP_NEGATIVE_X = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_X -GL_TEXTURE_CUBE_MAP_POSITIVE_Y = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_Y -GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -GL_TEXTURE_CUBE_MAP_POSITIVE_Z = _coin.GL_TEXTURE_CUBE_MAP_POSITIVE_Z -GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = _coin.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -GL_MAX_CUBE_MAP_TEXTURE_SIZE = _coin.GL_MAX_CUBE_MAP_TEXTURE_SIZE -GL_COMBINE = _coin.GL_COMBINE -GL_COMBINE_RGB = _coin.GL_COMBINE_RGB -GL_COMBINE_ALPHA = _coin.GL_COMBINE_ALPHA -GL_RGB_SCALE = _coin.GL_RGB_SCALE -GL_ADD_SIGNED = _coin.GL_ADD_SIGNED -GL_INTERPOLATE = _coin.GL_INTERPOLATE -GL_CONSTANT = _coin.GL_CONSTANT -GL_PRIMARY_COLOR = _coin.GL_PRIMARY_COLOR -GL_PREVIOUS = _coin.GL_PREVIOUS -GL_SOURCE0_RGB = _coin.GL_SOURCE0_RGB -GL_SOURCE1_RGB = _coin.GL_SOURCE1_RGB -GL_SOURCE2_RGB = _coin.GL_SOURCE2_RGB -GL_SOURCE0_ALPHA = _coin.GL_SOURCE0_ALPHA -GL_SOURCE1_ALPHA = _coin.GL_SOURCE1_ALPHA -GL_SOURCE2_ALPHA = _coin.GL_SOURCE2_ALPHA -GL_OPERAND0_RGB = _coin.GL_OPERAND0_RGB -GL_OPERAND1_RGB = _coin.GL_OPERAND1_RGB -GL_OPERAND2_RGB = _coin.GL_OPERAND2_RGB -GL_OPERAND0_ALPHA = _coin.GL_OPERAND0_ALPHA -GL_OPERAND1_ALPHA = _coin.GL_OPERAND1_ALPHA -GL_OPERAND2_ALPHA = _coin.GL_OPERAND2_ALPHA -GL_SUBTRACT = _coin.GL_SUBTRACT -GL_DOT3_RGB = _coin.GL_DOT3_RGB -GL_DOT3_RGBA = _coin.GL_DOT3_RGBA -GL_GENERATE_MIPMAP_SGIS = _coin.GL_GENERATE_MIPMAP_SGIS -GL_GENERATE_MIPMAP_HINT_SGIS = _coin.GL_GENERATE_MIPMAP_HINT_SGIS -GL_FRAGMENT_PROGRAM_ARB = _coin.GL_FRAGMENT_PROGRAM_ARB -GL_PROGRAM_FORMAT_ASCII_ARB = _coin.GL_PROGRAM_FORMAT_ASCII_ARB -GL_PROGRAM_LENGTH_ARB = _coin.GL_PROGRAM_LENGTH_ARB -GL_PROGRAM_FORMAT_ARB = _coin.GL_PROGRAM_FORMAT_ARB -GL_PROGRAM_BINDING_ARB = _coin.GL_PROGRAM_BINDING_ARB -GL_PROGRAM_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB -GL_PROGRAM_TEMPORARIES_ARB = _coin.GL_PROGRAM_TEMPORARIES_ARB -GL_MAX_PROGRAM_TEMPORARIES_ARB = _coin.GL_MAX_PROGRAM_TEMPORARIES_ARB -GL_PROGRAM_NATIVE_TEMPORARIES_ARB = _coin.GL_PROGRAM_NATIVE_TEMPORARIES_ARB -GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB -GL_PROGRAM_PARAMETERS_ARB = _coin.GL_PROGRAM_PARAMETERS_ARB -GL_MAX_PROGRAM_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_PARAMETERS_ARB -GL_PROGRAM_NATIVE_PARAMETERS_ARB = _coin.GL_PROGRAM_NATIVE_PARAMETERS_ARB -GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB -GL_PROGRAM_ATTRIBS_ARB = _coin.GL_PROGRAM_ATTRIBS_ARB -GL_MAX_PROGRAM_ATTRIBS_ARB = _coin.GL_MAX_PROGRAM_ATTRIBS_ARB -GL_PROGRAM_NATIVE_ATTRIBS_ARB = _coin.GL_PROGRAM_NATIVE_ATTRIBS_ARB -GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB -GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB -GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = _coin.GL_MAX_PROGRAM_ENV_PARAMETERS_ARB -GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = _coin.GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB -GL_PROGRAM_ALU_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_ALU_INSTRUCTIONS_ARB -GL_PROGRAM_TEX_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_TEX_INSTRUCTIONS_ARB -GL_PROGRAM_TEX_INDIRECTIONS_ARB = _coin.GL_PROGRAM_TEX_INDIRECTIONS_ARB -GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = _coin.GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB -GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = _coin.GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB -GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = _coin.GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB -GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB -GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB -GL_PROGRAM_STRING_ARB = _coin.GL_PROGRAM_STRING_ARB -GL_PROGRAM_ERROR_POSITION_ARB = _coin.GL_PROGRAM_ERROR_POSITION_ARB -GL_CURRENT_MATRIX_ARB = _coin.GL_CURRENT_MATRIX_ARB -GL_TRANSPOSE_CURRENT_MATRIX_ARB = _coin.GL_TRANSPOSE_CURRENT_MATRIX_ARB -GL_CURRENT_MATRIX_STACK_DEPTH_ARB = _coin.GL_CURRENT_MATRIX_STACK_DEPTH_ARB -GL_MAX_PROGRAM_MATRICES_ARB = _coin.GL_MAX_PROGRAM_MATRICES_ARB -GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = _coin.GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB -GL_MAX_TEXTURE_COORDS_ARB = _coin.GL_MAX_TEXTURE_COORDS_ARB -GL_MAX_TEXTURE_IMAGE_UNITS_ARB = _coin.GL_MAX_TEXTURE_IMAGE_UNITS_ARB -GL_PROGRAM_ERROR_STRING_ARB = _coin.GL_PROGRAM_ERROR_STRING_ARB -GL_MATRIX0_ARB = _coin.GL_MATRIX0_ARB -GL_MATRIX1_ARB = _coin.GL_MATRIX1_ARB -GL_MATRIX2_ARB = _coin.GL_MATRIX2_ARB -GL_MATRIX3_ARB = _coin.GL_MATRIX3_ARB -GL_MATRIX4_ARB = _coin.GL_MATRIX4_ARB -GL_MATRIX5_ARB = _coin.GL_MATRIX5_ARB -GL_MATRIX6_ARB = _coin.GL_MATRIX6_ARB -GL_MATRIX7_ARB = _coin.GL_MATRIX7_ARB -GL_MATRIX8_ARB = _coin.GL_MATRIX8_ARB -GL_MATRIX9_ARB = _coin.GL_MATRIX9_ARB -GL_MATRIX10_ARB = _coin.GL_MATRIX10_ARB -GL_MATRIX11_ARB = _coin.GL_MATRIX11_ARB -GL_MATRIX12_ARB = _coin.GL_MATRIX12_ARB -GL_MATRIX13_ARB = _coin.GL_MATRIX13_ARB -GL_MATRIX14_ARB = _coin.GL_MATRIX14_ARB -GL_MATRIX15_ARB = _coin.GL_MATRIX15_ARB -GL_MATRIX16_ARB = _coin.GL_MATRIX16_ARB -GL_MATRIX17_ARB = _coin.GL_MATRIX17_ARB -GL_MATRIX18_ARB = _coin.GL_MATRIX18_ARB -GL_MATRIX19_ARB = _coin.GL_MATRIX19_ARB -GL_MATRIX20_ARB = _coin.GL_MATRIX20_ARB -GL_MATRIX21_ARB = _coin.GL_MATRIX21_ARB -GL_MATRIX22_ARB = _coin.GL_MATRIX22_ARB -GL_MATRIX23_ARB = _coin.GL_MATRIX23_ARB -GL_MATRIX24_ARB = _coin.GL_MATRIX24_ARB -GL_MATRIX25_ARB = _coin.GL_MATRIX25_ARB -GL_MATRIX26_ARB = _coin.GL_MATRIX26_ARB -GL_MATRIX27_ARB = _coin.GL_MATRIX27_ARB -GL_MATRIX28_ARB = _coin.GL_MATRIX28_ARB -GL_MATRIX29_ARB = _coin.GL_MATRIX29_ARB -GL_MATRIX30_ARB = _coin.GL_MATRIX30_ARB -GL_MATRIX31_ARB = _coin.GL_MATRIX31_ARB -GL_VERTEX_PROGRAM_ARB = _coin.GL_VERTEX_PROGRAM_ARB -GL_VERTEX_PROGRAM_POINT_SIZE_ARB = _coin.GL_VERTEX_PROGRAM_POINT_SIZE_ARB -GL_VERTEX_PROGRAM_TWO_SIDE_ARB = _coin.GL_VERTEX_PROGRAM_TWO_SIDE_ARB -GL_COLOR_SUM_ARB = _coin.GL_COLOR_SUM_ARB -GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB -GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB -GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB -GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB -GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB -GL_CURRENT_VERTEX_ATTRIB_ARB = _coin.GL_CURRENT_VERTEX_ATTRIB_ARB -GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = _coin.GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB -GL_PROGRAM_ADDRESS_REGISTERS_ARB = _coin.GL_PROGRAM_ADDRESS_REGISTERS_ARB -GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = _coin.GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB -GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = _coin.GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB -GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = _coin.GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB -GL_MAX_VERTEX_ATTRIBS_ARB = _coin.GL_MAX_VERTEX_ATTRIBS_ARB -GL_VERTEX_SHADER_ARB = _coin.GL_VERTEX_SHADER_ARB -GL_FRAGMENT_SHADER_ARB = _coin.GL_FRAGMENT_SHADER_ARB -GL_OBJECT_ACTIVE_UNIFORMS_ARB = _coin.GL_OBJECT_ACTIVE_UNIFORMS_ARB -GL_INT_VEC2_ARB = _coin.GL_INT_VEC2_ARB -GL_INT_VEC3_ARB = _coin.GL_INT_VEC3_ARB -GL_INT_VEC4_ARB = _coin.GL_INT_VEC4_ARB -GL_FLOAT_VEC2_ARB = _coin.GL_FLOAT_VEC2_ARB -GL_FLOAT_VEC3_ARB = _coin.GL_FLOAT_VEC3_ARB -GL_FLOAT_VEC4_ARB = _coin.GL_FLOAT_VEC4_ARB -GL_FLOAT_MAT2_ARB = _coin.GL_FLOAT_MAT2_ARB -GL_FLOAT_MAT3_ARB = _coin.GL_FLOAT_MAT3_ARB -GL_FLOAT_MAT4_ARB = _coin.GL_FLOAT_MAT4_ARB -GL_SAMPLER_1D_ARB = _coin.GL_SAMPLER_1D_ARB -GL_SAMPLER_2D_ARB = _coin.GL_SAMPLER_2D_ARB -GL_SAMPLER_3D_ARB = _coin.GL_SAMPLER_3D_ARB -GL_SAMPLER_CUBE_ARB = _coin.GL_SAMPLER_CUBE_ARB -GL_SAMPLER_1D_SHADOW_ARB = _coin.GL_SAMPLER_1D_SHADOW_ARB -GL_SAMPLER_2D_SHADOW_ARB = _coin.GL_SAMPLER_2D_SHADOW_ARB -GL_SAMPLER_2D_RECT_ARB = _coin.GL_SAMPLER_2D_RECT_ARB -GL_SAMPLER_2D_RECT_SHADOW_ARB = _coin.GL_SAMPLER_2D_RECT_SHADOW_ARB -GL_OBJECT_COMPILE_STATUS_ARB = _coin.GL_OBJECT_COMPILE_STATUS_ARB -GL_OBJECT_INFO_LOG_LENGTH_ARB = _coin.GL_OBJECT_INFO_LOG_LENGTH_ARB -GL_OBJECT_LINK_STATUS_ARB = _coin.GL_OBJECT_LINK_STATUS_ARB -GL_TEXTURE_MAX_ANISOTROPY_EXT = _coin.GL_TEXTURE_MAX_ANISOTROPY_EXT -GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = _coin.GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT -GL_SAMPLES_PASSED = _coin.GL_SAMPLES_PASSED -GL_QUERY_COUNTER_BITS = _coin.GL_QUERY_COUNTER_BITS -GL_CURRENT_QUERY = _coin.GL_CURRENT_QUERY -GL_QUERY_RESULT = _coin.GL_QUERY_RESULT -GL_QUERY_RESULT_AVAILABLE = _coin.GL_QUERY_RESULT_AVAILABLE -GL_CLIENT_PIXEL_STORE_BIT = _coin.GL_CLIENT_PIXEL_STORE_BIT -GL_CLIENT_VERTEX_ARRAY_BIT = _coin.GL_CLIENT_VERTEX_ARRAY_BIT -GL_CLIENT_ALL_ATTRIB_BITS = _coin.GL_CLIENT_ALL_ATTRIB_BITS -GL_ALL_CLIENT_ATTRIB_BITS = _coin.GL_ALL_CLIENT_ATTRIB_BITS -GL_INVALID_FRAMEBUFFER_OPERATION_EXT = _coin.GL_INVALID_FRAMEBUFFER_OPERATION_EXT -GL_MAX_RENDERBUFFER_SIZE_EXT = _coin.GL_MAX_RENDERBUFFER_SIZE_EXT -GL_FRAMEBUFFER_BINDING_EXT = _coin.GL_FRAMEBUFFER_BINDING_EXT -GL_RENDERBUFFER_BINDING_EXT = _coin.GL_RENDERBUFFER_BINDING_EXT -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT -GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT -GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = _coin.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT -GL_FRAMEBUFFER_COMPLETE_EXT = _coin.GL_FRAMEBUFFER_COMPLETE_EXT -GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT -GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT -GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT -GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT -GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = _coin.GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT -GL_FRAMEBUFFER_UNSUPPORTED_EXT = _coin.GL_FRAMEBUFFER_UNSUPPORTED_EXT -GL_MAX_COLOR_ATTACHMENTS_EXT = _coin.GL_MAX_COLOR_ATTACHMENTS_EXT -GL_COLOR_ATTACHMENT0_EXT = _coin.GL_COLOR_ATTACHMENT0_EXT -GL_COLOR_ATTACHMENT1_EXT = _coin.GL_COLOR_ATTACHMENT1_EXT -GL_COLOR_ATTACHMENT2_EXT = _coin.GL_COLOR_ATTACHMENT2_EXT -GL_COLOR_ATTACHMENT3_EXT = _coin.GL_COLOR_ATTACHMENT3_EXT -GL_COLOR_ATTACHMENT4_EXT = _coin.GL_COLOR_ATTACHMENT4_EXT -GL_COLOR_ATTACHMENT5_EXT = _coin.GL_COLOR_ATTACHMENT5_EXT -GL_COLOR_ATTACHMENT6_EXT = _coin.GL_COLOR_ATTACHMENT6_EXT -GL_COLOR_ATTACHMENT7_EXT = _coin.GL_COLOR_ATTACHMENT7_EXT -GL_COLOR_ATTACHMENT8_EXT = _coin.GL_COLOR_ATTACHMENT8_EXT -GL_COLOR_ATTACHMENT9_EXT = _coin.GL_COLOR_ATTACHMENT9_EXT -GL_COLOR_ATTACHMENT10_EXT = _coin.GL_COLOR_ATTACHMENT10_EXT -GL_COLOR_ATTACHMENT11_EXT = _coin.GL_COLOR_ATTACHMENT11_EXT -GL_COLOR_ATTACHMENT12_EXT = _coin.GL_COLOR_ATTACHMENT12_EXT -GL_COLOR_ATTACHMENT13_EXT = _coin.GL_COLOR_ATTACHMENT13_EXT -GL_COLOR_ATTACHMENT14_EXT = _coin.GL_COLOR_ATTACHMENT14_EXT -GL_COLOR_ATTACHMENT15_EXT = _coin.GL_COLOR_ATTACHMENT15_EXT -GL_DEPTH_ATTACHMENT_EXT = _coin.GL_DEPTH_ATTACHMENT_EXT -GL_STENCIL_ATTACHMENT_EXT = _coin.GL_STENCIL_ATTACHMENT_EXT -GL_FRAMEBUFFER_EXT = _coin.GL_FRAMEBUFFER_EXT -GL_RENDERBUFFER_EXT = _coin.GL_RENDERBUFFER_EXT -GL_RENDERBUFFER_WIDTH_EXT = _coin.GL_RENDERBUFFER_WIDTH_EXT -GL_RENDERBUFFER_HEIGHT_EXT = _coin.GL_RENDERBUFFER_HEIGHT_EXT -GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = _coin.GL_RENDERBUFFER_INTERNAL_FORMAT_EXT -GL_STENCIL_INDEX1_EXT = _coin.GL_STENCIL_INDEX1_EXT -GL_STENCIL_INDEX4_EXT = _coin.GL_STENCIL_INDEX4_EXT -GL_STENCIL_INDEX8_EXT = _coin.GL_STENCIL_INDEX8_EXT -GL_STENCIL_INDEX16_EXT = _coin.GL_STENCIL_INDEX16_EXT -GL_RENDERBUFFER_RED_SIZE_EXT = _coin.GL_RENDERBUFFER_RED_SIZE_EXT -GL_RENDERBUFFER_GREEN_SIZE_EXT = _coin.GL_RENDERBUFFER_GREEN_SIZE_EXT -GL_RENDERBUFFER_BLUE_SIZE_EXT = _coin.GL_RENDERBUFFER_BLUE_SIZE_EXT -GL_RENDERBUFFER_ALPHA_SIZE_EXT = _coin.GL_RENDERBUFFER_ALPHA_SIZE_EXT -GL_RENDERBUFFER_DEPTH_SIZE_EXT = _coin.GL_RENDERBUFFER_DEPTH_SIZE_EXT -GL_RENDERBUFFER_STENCIL_SIZE_EXT = _coin.GL_RENDERBUFFER_STENCIL_SIZE_EXT -GLX_PBUFFER_WIDTH = _coin.GLX_PBUFFER_WIDTH -GLX_PBUFFER_HEIGHT = _coin.GLX_PBUFFER_HEIGHT -GLX_DRAWABLE_TYPE = _coin.GLX_DRAWABLE_TYPE -GLX_RENDER_TYPE = _coin.GLX_RENDER_TYPE -GLX_RGBA_TYPE = _coin.GLX_RGBA_TYPE -GLX_RGBA_BIT = _coin.GLX_RGBA_BIT -GLX_PBUFFER_BIT = _coin.GLX_PBUFFER_BIT -GLX_MAX_PBUFFER_WIDTH = _coin.GLX_MAX_PBUFFER_WIDTH -GLX_MAX_PBUFFER_HEIGHT = _coin.GLX_MAX_PBUFFER_HEIGHT -GLX_MAX_PBUFFER_PIXELS = _coin.GLX_MAX_PBUFFER_PIXELS -GLU_VERSION = _coin.GLU_VERSION -GLU_EXTENSIONS = _coin.GLU_EXTENSIONS -GLU_OUTLINE_POLYGON = _coin.GLU_OUTLINE_POLYGON -GLU_OUTLINE_PATCH = _coin.GLU_OUTLINE_PATCH -GLU_NURBS_ERROR = _coin.GLU_NURBS_ERROR -GLU_ERROR = _coin.GLU_ERROR -GLU_NURBS_BEGIN = _coin.GLU_NURBS_BEGIN -GLU_NURBS_VERTEX = _coin.GLU_NURBS_VERTEX -GLU_NURBS_NORMAL = _coin.GLU_NURBS_NORMAL -GLU_NURBS_COLOR = _coin.GLU_NURBS_COLOR -GLU_NURBS_TEXTURE_COORD = _coin.GLU_NURBS_TEXTURE_COORD -GLU_NURBS_END = _coin.GLU_NURBS_END -GLU_NURBS_BEGIN_DATA = _coin.GLU_NURBS_BEGIN_DATA -GLU_NURBS_VERTEX_DATA = _coin.GLU_NURBS_VERTEX_DATA -GLU_NURBS_NORMAL_DATA = _coin.GLU_NURBS_NORMAL_DATA -GLU_NURBS_COLOR_DATA = _coin.GLU_NURBS_COLOR_DATA -GLU_NURBS_TEXTURE_COORD_DATA = _coin.GLU_NURBS_TEXTURE_COORD_DATA -GLU_NURBS_END_DATA = _coin.GLU_NURBS_END_DATA -GLU_AUTO_LOAD_MATRIX = _coin.GLU_AUTO_LOAD_MATRIX -GLU_CULLING = _coin.GLU_CULLING -GLU_SAMPLING_TOLERANCE = _coin.GLU_SAMPLING_TOLERANCE -GLU_DISPLAY_MODE = _coin.GLU_DISPLAY_MODE -GLU_PARAMETRIC_TOLERANCE = _coin.GLU_PARAMETRIC_TOLERANCE -GLU_SAMPLING_METHOD = _coin.GLU_SAMPLING_METHOD -GLU_U_STEP = _coin.GLU_U_STEP -GLU_V_STEP = _coin.GLU_V_STEP -GLU_NURBS_MODE = _coin.GLU_NURBS_MODE -GLU_NURBS_TESSELLATOR = _coin.GLU_NURBS_TESSELLATOR -GLU_NURBS_RENDERER = _coin.GLU_NURBS_RENDERER -GLU_OBJECT_PARAMETRIC_ERROR = _coin.GLU_OBJECT_PARAMETRIC_ERROR -GLU_OBJECT_PATH_LENGTH = _coin.GLU_OBJECT_PATH_LENGTH -GLU_PATH_LENGTH = _coin.GLU_PATH_LENGTH -GLU_PARAMETRIC_ERROR = _coin.GLU_PARAMETRIC_ERROR -GLU_DOMAIN_DISTANCE = _coin.GLU_DOMAIN_DISTANCE -GLU_MAP1_TRIM_2 = _coin.GLU_MAP1_TRIM_2 -GLU_MAP1_TRIM_3 = _coin.GLU_MAP1_TRIM_3 -GLU_POINT = _coin.GLU_POINT -GLU_LINE = _coin.GLU_LINE -GLU_FILL = _coin.GLU_FILL -GLU_SILHOUETTE = _coin.GLU_SILHOUETTE -GLU_TESS_BEGIN = _coin.GLU_TESS_BEGIN -GLU_TESS_VERTEX = _coin.GLU_TESS_VERTEX -GLU_TESS_END = _coin.GLU_TESS_END -GLU_TESS_ERROR = _coin.GLU_TESS_ERROR -GLU_TESS_COMBINE = _coin.GLU_TESS_COMBINE -GLU_TESS_BEGIN_DATA = _coin.GLU_TESS_BEGIN_DATA -GLU_TESS_VERTEX_DATA = _coin.GLU_TESS_VERTEX_DATA -GLU_TESS_END_DATA = _coin.GLU_TESS_END_DATA -GLU_TESS_ERROR_DATA = _coin.GLU_TESS_ERROR_DATA -GLU_TESS_MISSING_BEGIN_POLYGON = _coin.GLU_TESS_MISSING_BEGIN_POLYGON -GLU_TESS_MISSING_BEGIN_CONTOUR = _coin.GLU_TESS_MISSING_BEGIN_CONTOUR -GLU_TESS_MISSING_END_POLYGON = _coin.GLU_TESS_MISSING_END_POLYGON -GLU_TESS_MISSING_END_CONTOUR = _coin.GLU_TESS_MISSING_END_CONTOUR -GLU_TESS_NEED_COMBINE_CALLBACK = _coin.GLU_TESS_NEED_COMBINE_CALLBACK -WGL_COLOR_BITS_ARB = _coin.WGL_COLOR_BITS_ARB -WGL_ALPHA_BITS_ARB = _coin.WGL_ALPHA_BITS_ARB -WGL_DEPTH_BITS_ARB = _coin.WGL_DEPTH_BITS_ARB -WGL_STENCIL_BITS_ARB = _coin.WGL_STENCIL_BITS_ARB -WGL_DRAW_TO_PBUFFER_ARB = _coin.WGL_DRAW_TO_PBUFFER_ARB -WGL_PBUFFER_WIDTH_ARB = _coin.WGL_PBUFFER_WIDTH_ARB -WGL_PBUFFER_HEIGHT_ARB = _coin.WGL_PBUFFER_HEIGHT_ARB -WGL_BIND_TO_TEXTURE_RGB_ARB = _coin.WGL_BIND_TO_TEXTURE_RGB_ARB -WGL_BIND_TO_TEXTURE_RGBA_ARB = _coin.WGL_BIND_TO_TEXTURE_RGBA_ARB -WGL_TEXTURE_FORMAT_ARB = _coin.WGL_TEXTURE_FORMAT_ARB -WGL_TEXTURE_TARGET_ARB = _coin.WGL_TEXTURE_TARGET_ARB -WGL_MIPMAP_TEXTURE_ARB = _coin.WGL_MIPMAP_TEXTURE_ARB -WGL_TEXTURE_RGB_ARB = _coin.WGL_TEXTURE_RGB_ARB -WGL_TEXTURE_RGBA_ARB = _coin.WGL_TEXTURE_RGBA_ARB -WGL_NO_TEXTURE_ARB = _coin.WGL_NO_TEXTURE_ARB -WGL_TEXTURE_CUBE_MAP_ARB = _coin.WGL_TEXTURE_CUBE_MAP_ARB -WGL_TEXTURE_1D_ARB = _coin.WGL_TEXTURE_1D_ARB -WGL_TEXTURE_2D_ARB = _coin.WGL_TEXTURE_2D_ARB -WGL_MIPMAP_LEVEL_ARB = _coin.WGL_MIPMAP_LEVEL_ARB -WGL_FRONT_LEFT_ARB = _coin.WGL_FRONT_LEFT_ARB -WGL_FRONT_RIGHT_ARB = _coin.WGL_FRONT_RIGHT_ARB -WGL_BACK_LEFT_ARB = _coin.WGL_BACK_LEFT_ARB -WGL_BACK_RIGHT_ARB = _coin.WGL_BACK_RIGHT_ARB -WGL_MAX_PBUFFER_PIXELS_ARB = _coin.WGL_MAX_PBUFFER_PIXELS_ARB -WGL_MAX_PBUFFER_WIDTH_ARB = _coin.WGL_MAX_PBUFFER_WIDTH_ARB -WGL_MAX_PBUFFER_HEIGHT_ARB = _coin.WGL_MAX_PBUFFER_HEIGHT_ARB -class SbBarrier(object): - """Proxy of C++ SbBarrier class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, unsigned int count) -> SbBarrier""" - this = _coin.new_SbBarrier(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbBarrier - __del__ = lambda self : None; - def enter(*args): - """enter(self) -> int""" - return _coin.SbBarrier_enter(*args) - -SbBarrier_swigregister = _coin.SbBarrier_swigregister -SbBarrier_swigregister(SbBarrier) - -class SbMutex(object): - """Proxy of C++ SbMutex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbMutex""" - this = _coin.new_SbMutex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbMutex - __del__ = lambda self : None; - def lock(*args): - """lock(self) -> int""" - return _coin.SbMutex_lock(*args) - - def tryLock(*args): - """tryLock(self) -> SbBool""" - return _coin.SbMutex_tryLock(*args) - - def unlock(*args): - """unlock(self) -> int""" - return _coin.SbMutex_unlock(*args) - -SbMutex_swigregister = _coin.SbMutex_swigregister -SbMutex_swigregister(SbMutex) - -class SbThreadAutoLock(object): - """Proxy of C++ SbThreadAutoLock class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self, SbMutex mutexptr) -> SbThreadAutoLock""" - this = _coin.new_SbThreadAutoLock(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbThreadAutoLock - __del__ = lambda self : None; -SbThreadAutoLock_swigregister = _coin.SbThreadAutoLock_swigregister -SbThreadAutoLock_swigregister(SbThreadAutoLock) - -class SbCondVar(object): - """Proxy of C++ SbCondVar class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbCondVar""" - this = _coin.new_SbCondVar(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbCondVar - __del__ = lambda self : None; - def wait(*args): - """wait(self, SbMutex mutex) -> SbBool""" - return _coin.SbCondVar_wait(*args) - - def timedWait(*args): - """timedWait(self, SbMutex mutex, SbTime period) -> SbBool""" - return _coin.SbCondVar_timedWait(*args) - - def wakeOne(*args): - """wakeOne(self)""" - return _coin.SbCondVar_wakeOne(*args) - - def wakeAll(*args): - """wakeAll(self)""" - return _coin.SbCondVar_wakeAll(*args) - -SbCondVar_swigregister = _coin.SbCondVar_swigregister -SbCondVar_swigregister(SbCondVar) - -class SbFifo(object): - """Proxy of C++ SbFifo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """__init__(self) -> SbFifo""" - this = _coin.new_SbFifo(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbFifo - __del__ = lambda self : None; - def assign(*args): - """assign(self, void ptr, uint32_t type)""" - return _coin.SbFifo_assign(*args) - - def retrieve(*args): - """retrieve(self, void ptr, uint32_t type)""" - return _coin.SbFifo_retrieve(*args) - - def tryRetrieve(*args): - """tryRetrieve(self, void ptr, uint32_t type) -> SbBool""" - return _coin.SbFifo_tryRetrieve(*args) - - def size(*args): - """size(self) -> unsigned int""" - return _coin.SbFifo_size(*args) - - def lock(*args): - """lock(self)""" - return _coin.SbFifo_lock(*args) - - def unlock(*args): - """unlock(self)""" - return _coin.SbFifo_unlock(*args) - - def peek(*args): - """peek(self, void item, uint32_t type) -> SbBool""" - return _coin.SbFifo_peek(*args) - - def contains(*args): - """contains(self, void item) -> SbBool""" - return _coin.SbFifo_contains(*args) - - def reclaim(*args): - """reclaim(self, void item) -> SbBool""" - return _coin.SbFifo_reclaim(*args) - -SbFifo_swigregister = _coin.SbFifo_swigregister -SbFifo_swigregister(SbFifo) - -class SbRWMutex(object): - """Proxy of C++ SbRWMutex class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - READ_PRECEDENCE = _coin.SbRWMutex_READ_PRECEDENCE - WRITE_PRECEDENCE = _coin.SbRWMutex_WRITE_PRECEDENCE - def __init__(self, *args): - """__init__(self, Precedence policy) -> SbRWMutex""" - this = _coin.new_SbRWMutex(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbRWMutex - __del__ = lambda self : None; - def writeLock(*args): - """writeLock(self) -> int""" - return _coin.SbRWMutex_writeLock(*args) - - def tryWriteLock(*args): - """tryWriteLock(self) -> SbBool""" - return _coin.SbRWMutex_tryWriteLock(*args) - - def writeUnlock(*args): - """writeUnlock(self) -> int""" - return _coin.SbRWMutex_writeUnlock(*args) - - def readLock(*args): - """readLock(self) -> int""" - return _coin.SbRWMutex_readLock(*args) - - def tryReadLock(*args): - """tryReadLock(self) -> int""" - return _coin.SbRWMutex_tryReadLock(*args) - - def readUnlock(*args): - """readUnlock(self) -> int""" - return _coin.SbRWMutex_readUnlock(*args) - -SbRWMutex_swigregister = _coin.SbRWMutex_swigregister -SbRWMutex_swigregister(SbRWMutex) - -class SbStorage(object): - """Proxy of C++ SbStorage class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - """ - __init__(self, unsigned int size) -> SbStorage - __init__(self, unsigned int size, void constr, void destr) -> SbStorage - """ - this = _coin.new_SbStorage(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _coin.delete_SbStorage - __del__ = lambda self : None; - def get(*args): - """get(self) -> void""" - return _coin.SbStorage_get(*args) - - def applyToAll(*args): - """applyToAll(self, SbStorageApplyFunc func, void closure)""" - return _coin.SbStorage_applyToAll(*args) - -SbStorage_swigregister = _coin.SbStorage_swigregister -SbStorage_swigregister(SbStorage) - -class SbThread(object): - """Proxy of C++ SbThread class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def create(*args): - """create(void func, void closure) -> SbThread""" - return _coin.SbThread_create(*args) - - create = staticmethod(create) - def destroy(*args): - """destroy(SbThread thread)""" - return _coin.SbThread_destroy(*args) - - destroy = staticmethod(destroy) - def join(*args): - """ - join(void retval=0L) -> SbBool - join() -> SbBool - join(SbThread thread, void retval=0L) -> SbBool - join(SbThread thread) -> SbBool - """ - return _coin.SbThread_join(*args) - - join = staticmethod(join) -SbThread_swigregister = _coin.SbThread_swigregister -SbThread_swigregister(SbThread) - -def SbThread_create(*args): - """SbThread_create(void func, void closure) -> SbThread""" - return _coin.SbThread_create(*args) - -def SbThread_destroy(*args): - """SbThread_destroy(SbThread thread)""" - return _coin.SbThread_destroy(*args) - -def SbThread_join(*args): - """ - join(void retval=0L) -> SbBool - join() -> SbBool - join(SbThread thread, void retval=0L) -> SbBool - SbThread_join(SbThread thread) -> SbBool - """ - return _coin.SbThread_join(*args) - -class SoVRMLParent(SoGroup): - """Proxy of C++ SoVRMLParent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLParent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLParent_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLParent_initClass(*args) - - initClass = staticmethod(initClass) - children = _swig_property(_coin.SoVRMLParent_children_get, _coin.SoVRMLParent_children_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLParent_affectsState(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLParent_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLParent_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLParent_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLParent_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLParent_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLParent_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLParent_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode child) - replaceChild(self, SoNode old, SoNode child) - """ - return _coin.SoVRMLParent_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLParent_getChildren(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLParent_doAction(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLParent_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLParent_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLParent_getPrimitiveCount(*args) - - def updateChildList(*args): - """ - updateChildList(SoNode nodes, int numnodes, SoChildList cl) - updateChildList(SoNode nodewithsfnode, SoChildList cl) - """ - return _coin.SoVRMLParent_updateChildList(*args) - - updateChildList = staticmethod(updateChildList) -SoVRMLParent_swigregister = _coin.SoVRMLParent_swigregister -SoVRMLParent_swigregister(SoVRMLParent) - -def SoVRMLParent_getClassTypeId(*args): - """SoVRMLParent_getClassTypeId() -> SoType""" - return _coin.SoVRMLParent_getClassTypeId(*args) - -def SoVRMLParent_initClass(*args): - """SoVRMLParent_initClass()""" - return _coin.SoVRMLParent_initClass(*args) - -def SoVRMLParent_updateChildList(*args): - """ - updateChildList(SoNode nodes, int numnodes, SoChildList cl) - SoVRMLParent_updateChildList(SoNode nodewithsfnode, SoChildList cl) - """ - return _coin.SoVRMLParent_updateChildList(*args) - -class SoVRMLAnchor(SoVRMLParent): - """Proxy of C++ SoVRMLAnchor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAnchor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAnchor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAnchor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAnchor""" - this = _coin.new_SoVRMLAnchor(*args) - try: self.this.append(this) - except: self.this = this - url = _swig_property(_coin.SoVRMLAnchor_url_get, _coin.SoVRMLAnchor_url_set) - description = _swig_property(_coin.SoVRMLAnchor_description_get, _coin.SoVRMLAnchor_description_set) - parameter = _swig_property(_coin.SoVRMLAnchor_parameter_get, _coin.SoVRMLAnchor_parameter_set) - bboxCenter = _swig_property(_coin.SoVRMLAnchor_bboxCenter_get, _coin.SoVRMLAnchor_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLAnchor_bboxSize_get, _coin.SoVRMLAnchor_bboxSize_set) - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)""" - return _coin.SoVRMLAnchor_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLAnchor_handleEvent(*args) - -SoVRMLAnchor_swigregister = _coin.SoVRMLAnchor_swigregister -SoVRMLAnchor_swigregister(SoVRMLAnchor) - -def SoVRMLAnchor_getClassTypeId(*args): - """SoVRMLAnchor_getClassTypeId() -> SoType""" - return _coin.SoVRMLAnchor_getClassTypeId(*args) - -def SoVRMLAnchor_initClass(*args): - """SoVRMLAnchor_initClass()""" - return _coin.SoVRMLAnchor_initClass(*args) - -def SoVRMLAnchor_setFetchURLCallBack(*args): - """SoVRMLAnchor_setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)""" - return _coin.SoVRMLAnchor_setFetchURLCallBack(*args) - -class SoVRMLAppearance(SoNode): - """Proxy of C++ SoVRMLAppearance class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAppearance_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAppearance_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAppearance_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAppearance""" - this = _coin.new_SoVRMLAppearance(*args) - try: self.this.append(this) - except: self.this = this - material = _swig_property(_coin.SoVRMLAppearance_material_get, _coin.SoVRMLAppearance_material_set) - texture = _swig_property(_coin.SoVRMLAppearance_texture_get, _coin.SoVRMLAppearance_texture_set) - textureTransform = _swig_property(_coin.SoVRMLAppearance_textureTransform_get, _coin.SoVRMLAppearance_textureTransform_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLAppearance_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLAppearance_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLAppearance_GLRender(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLAppearance_search(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLAppearance_getChildren(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLAppearance_notify(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLAppearance_copyContents(*args) - -SoVRMLAppearance_swigregister = _coin.SoVRMLAppearance_swigregister -SoVRMLAppearance_swigregister(SoVRMLAppearance) - -def SoVRMLAppearance_getClassTypeId(*args): - """SoVRMLAppearance_getClassTypeId() -> SoType""" - return _coin.SoVRMLAppearance_getClassTypeId(*args) - -def SoVRMLAppearance_initClass(*args): - """SoVRMLAppearance_initClass()""" - return _coin.SoVRMLAppearance_initClass(*args) - -class SoVRMLAudioClip(SoNode): - """Proxy of C++ SoVRMLAudioClip class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLAudioClip_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLAudioClip_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLAudioClip_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLAudioClip""" - this = _coin.new_SoVRMLAudioClip(*args) - try: self.this.append(this) - except: self.this = this - description = _swig_property(_coin.SoVRMLAudioClip_description_get, _coin.SoVRMLAudioClip_description_set) - loop = _swig_property(_coin.SoVRMLAudioClip_loop_get, _coin.SoVRMLAudioClip_loop_set) - pitch = _swig_property(_coin.SoVRMLAudioClip_pitch_get, _coin.SoVRMLAudioClip_pitch_set) - startTime = _swig_property(_coin.SoVRMLAudioClip_startTime_get, _coin.SoVRMLAudioClip_startTime_set) - stopTime = _swig_property(_coin.SoVRMLAudioClip_stopTime_get, _coin.SoVRMLAudioClip_stopTime_set) - url = _swig_property(_coin.SoVRMLAudioClip_url_get, _coin.SoVRMLAudioClip_url_set) - def setSubdirectories(*args): - """setSubdirectories(SbList<(SbString)> subdirectories)""" - return _coin.SoVRMLAudioClip_setSubdirectories(*args) - - setSubdirectories = staticmethod(setSubdirectories) - def getSubdirectories(*args): - """getSubdirectories() -> SbStringList""" - return _coin.SoVRMLAudioClip_getSubdirectories(*args) - - getSubdirectories = staticmethod(getSubdirectories) - def setDefaultPauseBetweenTracks(*args): - """setDefaultPauseBetweenTracks(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args) - - setDefaultPauseBetweenTracks = staticmethod(setDefaultPauseBetweenTracks) - def getDefaultPauseBetweenTracks(*args): - """getDefaultPauseBetweenTracks() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args) - - getDefaultPauseBetweenTracks = staticmethod(getDefaultPauseBetweenTracks) - def setDefaultIntroPause(*args): - """setDefaultIntroPause(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultIntroPause(*args) - - setDefaultIntroPause = staticmethod(setDefaultIntroPause) - def getDefaultIntroPause(*args): - """getDefaultIntroPause() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultIntroPause(*args) - - getDefaultIntroPause = staticmethod(getDefaultIntroPause) - def setDefaultSampleRate(*args): - """setDefaultSampleRate(int samplerate)""" - return _coin.SoVRMLAudioClip_setDefaultSampleRate(*args) - - setDefaultSampleRate = staticmethod(setDefaultSampleRate) - def getDefaultSampleRate(*args): - """getDefaultSampleRate() -> int""" - return _coin.SoVRMLAudioClip_getDefaultSampleRate(*args) - - getDefaultSampleRate = staticmethod(getDefaultSampleRate) - def setDefaultTimerInterval(*args): - """setDefaultTimerInterval(SbTime interval)""" - return _coin.SoVRMLAudioClip_setDefaultTimerInterval(*args) - - setDefaultTimerInterval = staticmethod(setDefaultTimerInterval) - def getDefaultTimerInterval(*args): - """getDefaultTimerInterval() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultTimerInterval(*args) - - getDefaultTimerInterval = staticmethod(getDefaultTimerInterval) - def getSampleRate(*args): - """getSampleRate(self) -> int""" - return _coin.SoVRMLAudioClip_getSampleRate(*args) - - def open(*args): - """open(self, SbStringList url) -> void""" - return _coin.SoVRMLAudioClip_open(*args) - - def read(*args): - """read(self, void datasource, void buffer, int numframes, int channels) -> size_t""" - return _coin.SoVRMLAudioClip_read(*args) - - def seek(*args): - """seek(self, void datasource, long offset, int whence) -> int""" - return _coin.SoVRMLAudioClip_seek(*args) - - def tell(*args): - """tell(self, void datasource) -> long""" - return _coin.SoVRMLAudioClip_tell(*args) - - def close(*args): - """close(self, void datasource) -> int""" - return _coin.SoVRMLAudioClip_close(*args) - - def setCallbacks(*args): - """ - setCallbacks(self, open_func opencb, read_func readcb, seek_func seekcb, - tell_func tellcb, close_func closecb, void userdataptr) - """ - return _coin.SoVRMLAudioClip_setCallbacks(*args) - -SoVRMLAudioClip_swigregister = _coin.SoVRMLAudioClip_swigregister -SoVRMLAudioClip_swigregister(SoVRMLAudioClip) - -def SoVRMLAudioClip_getClassTypeId(*args): - """SoVRMLAudioClip_getClassTypeId() -> SoType""" - return _coin.SoVRMLAudioClip_getClassTypeId(*args) - -def SoVRMLAudioClip_initClass(*args): - """SoVRMLAudioClip_initClass()""" - return _coin.SoVRMLAudioClip_initClass(*args) - -def SoVRMLAudioClip_setSubdirectories(*args): - """SoVRMLAudioClip_setSubdirectories(SbList<(SbString)> subdirectories)""" - return _coin.SoVRMLAudioClip_setSubdirectories(*args) - -def SoVRMLAudioClip_getSubdirectories(*args): - """SoVRMLAudioClip_getSubdirectories() -> SbStringList""" - return _coin.SoVRMLAudioClip_getSubdirectories(*args) - -def SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args): - """SoVRMLAudioClip_setDefaultPauseBetweenTracks(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultPauseBetweenTracks(*args) - -def SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args): - """SoVRMLAudioClip_getDefaultPauseBetweenTracks() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultPauseBetweenTracks(*args) - -def SoVRMLAudioClip_setDefaultIntroPause(*args): - """SoVRMLAudioClip_setDefaultIntroPause(SbTime pause)""" - return _coin.SoVRMLAudioClip_setDefaultIntroPause(*args) - -def SoVRMLAudioClip_getDefaultIntroPause(*args): - """SoVRMLAudioClip_getDefaultIntroPause() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultIntroPause(*args) - -def SoVRMLAudioClip_setDefaultSampleRate(*args): - """SoVRMLAudioClip_setDefaultSampleRate(int samplerate)""" - return _coin.SoVRMLAudioClip_setDefaultSampleRate(*args) - -def SoVRMLAudioClip_getDefaultSampleRate(*args): - """SoVRMLAudioClip_getDefaultSampleRate() -> int""" - return _coin.SoVRMLAudioClip_getDefaultSampleRate(*args) - -def SoVRMLAudioClip_setDefaultTimerInterval(*args): - """SoVRMLAudioClip_setDefaultTimerInterval(SbTime interval)""" - return _coin.SoVRMLAudioClip_setDefaultTimerInterval(*args) - -def SoVRMLAudioClip_getDefaultTimerInterval(*args): - """SoVRMLAudioClip_getDefaultTimerInterval() -> SbTime""" - return _coin.SoVRMLAudioClip_getDefaultTimerInterval(*args) - -class SoVRMLBackground(SoNode): - """Proxy of C++ SoVRMLBackground class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBackground_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBackground_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBackground_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLBackground""" - this = _coin.new_SoVRMLBackground(*args) - try: self.this.append(this) - except: self.this = this - groundColor = _swig_property(_coin.SoVRMLBackground_groundColor_get, _coin.SoVRMLBackground_groundColor_set) - groundAngle = _swig_property(_coin.SoVRMLBackground_groundAngle_get, _coin.SoVRMLBackground_groundAngle_set) - skyColor = _swig_property(_coin.SoVRMLBackground_skyColor_get, _coin.SoVRMLBackground_skyColor_set) - skyAngle = _swig_property(_coin.SoVRMLBackground_skyAngle_get, _coin.SoVRMLBackground_skyAngle_set) - backUrl = _swig_property(_coin.SoVRMLBackground_backUrl_get, _coin.SoVRMLBackground_backUrl_set) - bottomUrl = _swig_property(_coin.SoVRMLBackground_bottomUrl_get, _coin.SoVRMLBackground_bottomUrl_set) - frontUrl = _swig_property(_coin.SoVRMLBackground_frontUrl_get, _coin.SoVRMLBackground_frontUrl_set) - leftUrl = _swig_property(_coin.SoVRMLBackground_leftUrl_get, _coin.SoVRMLBackground_leftUrl_set) - rightUrl = _swig_property(_coin.SoVRMLBackground_rightUrl_get, _coin.SoVRMLBackground_rightUrl_set) - topUrl = _swig_property(_coin.SoVRMLBackground_topUrl_get, _coin.SoVRMLBackground_topUrl_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBackground_GLRender(*args) - -SoVRMLBackground_swigregister = _coin.SoVRMLBackground_swigregister -SoVRMLBackground_swigregister(SoVRMLBackground) - -def SoVRMLBackground_getClassTypeId(*args): - """SoVRMLBackground_getClassTypeId() -> SoType""" - return _coin.SoVRMLBackground_getClassTypeId(*args) - -def SoVRMLBackground_initClass(*args): - """SoVRMLBackground_initClass()""" - return _coin.SoVRMLBackground_initClass(*args) - -class SoVRMLBillboard(SoVRMLParent): - """Proxy of C++ SoVRMLBillboard class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBillboard_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBillboard_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBillboard_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLBillboard - __init__(self, int numchildren) -> SoVRMLBillboard - """ - this = _coin.new_SoVRMLBillboard(*args) - try: self.this.append(this) - except: self.this = this - axisOfRotation = _swig_property(_coin.SoVRMLBillboard_axisOfRotation_get, _coin.SoVRMLBillboard_axisOfRotation_set) - bboxCenter = _swig_property(_coin.SoVRMLBillboard_bboxCenter_get, _coin.SoVRMLBillboard_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLBillboard_bboxSize_get, _coin.SoVRMLBillboard_bboxSize_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLBillboard_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLBillboard_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLBillboard_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLBillboard_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLBillboard_pick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLBillboard_search(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLBillboard_GLRenderOffPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLBillboard_notify(*args) - -SoVRMLBillboard_swigregister = _coin.SoVRMLBillboard_swigregister -SoVRMLBillboard_swigregister(SoVRMLBillboard) - -def SoVRMLBillboard_getClassTypeId(*args): - """SoVRMLBillboard_getClassTypeId() -> SoType""" - return _coin.SoVRMLBillboard_getClassTypeId(*args) - -def SoVRMLBillboard_initClass(*args): - """SoVRMLBillboard_initClass()""" - return _coin.SoVRMLBillboard_initClass(*args) - -class SoVRMLGeometry(SoShape): - """Proxy of C++ SoVRMLGeometry class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLGeometry_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLGeometry_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLGeometry_initClass(*args) - - initClass = staticmethod(initClass) - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLGeometry_search(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLGeometry_copyContents(*args) - -SoVRMLGeometry_swigregister = _coin.SoVRMLGeometry_swigregister -SoVRMLGeometry_swigregister(SoVRMLGeometry) - -def SoVRMLGeometry_getClassTypeId(*args): - """SoVRMLGeometry_getClassTypeId() -> SoType""" - return _coin.SoVRMLGeometry_getClassTypeId(*args) - -def SoVRMLGeometry_initClass(*args): - """SoVRMLGeometry_initClass()""" - return _coin.SoVRMLGeometry_initClass(*args) - -class SoVRMLBox(SoVRMLGeometry): - """Proxy of C++ SoVRMLBox class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLBox_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLBox_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLBox_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLBox""" - this = _coin.new_SoVRMLBox(*args) - try: self.this.append(this) - except: self.this = this - size = _swig_property(_coin.SoVRMLBox_size_get, _coin.SoVRMLBox_size_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLBox_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLBox_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLBox_getPrimitiveCount(*args) - -SoVRMLBox_swigregister = _coin.SoVRMLBox_swigregister -SoVRMLBox_swigregister(SoVRMLBox) - -def SoVRMLBox_getClassTypeId(*args): - """SoVRMLBox_getClassTypeId() -> SoType""" - return _coin.SoVRMLBox_getClassTypeId(*args) - -def SoVRMLBox_initClass(*args): - """SoVRMLBox_initClass()""" - return _coin.SoVRMLBox_initClass(*args) - -class SoVRMLGroup(SoVRMLParent): - """Proxy of C++ SoVRMLGroup class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLGroup_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLGroup_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLGroup_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLGroup - __init__(self, int numChildren) -> SoVRMLGroup - """ - this = _coin.new_SoVRMLGroup(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoVRMLGroup_OFF - ON = _coin.SoVRMLGroup_ON - AUTO = _coin.SoVRMLGroup_AUTO - renderCaching = _swig_property(_coin.SoVRMLGroup_renderCaching_get, _coin.SoVRMLGroup_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoVRMLGroup_boundingBoxCaching_get, _coin.SoVRMLGroup_boundingBoxCaching_set) - renderCulling = _swig_property(_coin.SoVRMLGroup_renderCulling_get, _coin.SoVRMLGroup_renderCulling_set) - pickCulling = _swig_property(_coin.SoVRMLGroup_pickCulling_get, _coin.SoVRMLGroup_pickCulling_set) - bboxCenter = _swig_property(_coin.SoVRMLGroup_bboxCenter_get, _coin.SoVRMLGroup_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLGroup_bboxSize_get, _coin.SoVRMLGroup_bboxSize_set) - def setNumRenderCaches(*args): - """setNumRenderCaches(int num)""" - return _coin.SoVRMLGroup_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoVRMLGroup_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLGroup_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLGroup_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLGroup_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLGroup_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLGroup_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLGroup_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLGroup_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLGroup_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLGroup_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLGroup_GLRenderOffPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLGroup_notify(*args) - -SoVRMLGroup_swigregister = _coin.SoVRMLGroup_swigregister -SoVRMLGroup_swigregister(SoVRMLGroup) - -def SoVRMLGroup_getClassTypeId(*args): - """SoVRMLGroup_getClassTypeId() -> SoType""" - return _coin.SoVRMLGroup_getClassTypeId(*args) - -def SoVRMLGroup_initClass(*args): - """SoVRMLGroup_initClass()""" - return _coin.SoVRMLGroup_initClass(*args) - -def SoVRMLGroup_setNumRenderCaches(*args): - """SoVRMLGroup_setNumRenderCaches(int num)""" - return _coin.SoVRMLGroup_setNumRenderCaches(*args) - -def SoVRMLGroup_getNumRenderCaches(*args): - """SoVRMLGroup_getNumRenderCaches() -> int""" - return _coin.SoVRMLGroup_getNumRenderCaches(*args) - -class SoVRMLCollision(SoVRMLGroup): - """Proxy of C++ SoVRMLCollision class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCollision_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCollision_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCollision_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLCollision - __init__(self, int numchildren) -> SoVRMLCollision - """ - this = _coin.new_SoVRMLCollision(*args) - try: self.this.append(this) - except: self.this = this - collide = _swig_property(_coin.SoVRMLCollision_collide_get, _coin.SoVRMLCollision_collide_set) - proxy = _swig_property(_coin.SoVRMLCollision_proxy_get, _coin.SoVRMLCollision_proxy_set) - collideTime = _swig_property(_coin.SoVRMLCollision_collideTime_get, _coin.SoVRMLCollision_collideTime_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCollision_GLRender(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLCollision_notify(*args) - -SoVRMLCollision_swigregister = _coin.SoVRMLCollision_swigregister -SoVRMLCollision_swigregister(SoVRMLCollision) - -def SoVRMLCollision_getClassTypeId(*args): - """SoVRMLCollision_getClassTypeId() -> SoType""" - return _coin.SoVRMLCollision_getClassTypeId(*args) - -def SoVRMLCollision_initClass(*args): - """SoVRMLCollision_initClass()""" - return _coin.SoVRMLCollision_initClass(*args) - -class SoVRMLColor(SoNode): - """Proxy of C++ SoVRMLColor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLColor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLColor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLColor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLColor""" - this = _coin.new_SoVRMLColor(*args) - try: self.this.append(this) - except: self.this = this - color = _swig_property(_coin.SoVRMLColor_color_get, _coin.SoVRMLColor_color_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLColor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLColor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLColor_callback(*args) - -SoVRMLColor_swigregister = _coin.SoVRMLColor_swigregister -SoVRMLColor_swigregister(SoVRMLColor) - -def SoVRMLColor_getClassTypeId(*args): - """SoVRMLColor_getClassTypeId() -> SoType""" - return _coin.SoVRMLColor_getClassTypeId(*args) - -def SoVRMLColor_initClass(*args): - """SoVRMLColor_initClass()""" - return _coin.SoVRMLColor_initClass(*args) - -class SoVRMLInterpolator(SoNodeEngine): - """Proxy of C++ SoVRMLInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLInterpolator_getOutputData(*args) - - key = _swig_property(_coin.SoVRMLInterpolator_key_get, _coin.SoVRMLInterpolator_key_set) - set_fraction = _swig_property(_coin.SoVRMLInterpolator_set_fraction_get, _coin.SoVRMLInterpolator_set_fraction_set) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLInterpolator_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLInterpolator_swigregister = _coin.SoVRMLInterpolator_swigregister -SoVRMLInterpolator_swigregister(SoVRMLInterpolator) - -def SoVRMLInterpolator_getClassTypeId(*args): - """SoVRMLInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLInterpolator_getClassTypeId(*args) - -def SoVRMLInterpolator_initClass(*args): - """SoVRMLInterpolator_initClass()""" - return _coin.SoVRMLInterpolator_initClass(*args) - -class SoVRMLColorInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLColorInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLColorInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLColorInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLColorInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLColorInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLColorInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLColorInterpolator""" - this = _coin.new_SoVRMLColorInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLColorInterpolator_keyValue_get, _coin.SoVRMLColorInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLColorInterpolator_value_changed_get, _coin.SoVRMLColorInterpolator_value_changed_set) -SoVRMLColorInterpolator_swigregister = _coin.SoVRMLColorInterpolator_swigregister -SoVRMLColorInterpolator_swigregister(SoVRMLColorInterpolator) - -def SoVRMLColorInterpolator_getClassTypeId(*args): - """SoVRMLColorInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLColorInterpolator_getClassTypeId(*args) - -def SoVRMLColorInterpolator_createInstance(*args): - """SoVRMLColorInterpolator_createInstance() -> void""" - return _coin.SoVRMLColorInterpolator_createInstance(*args) - -def SoVRMLColorInterpolator_initClass(*args): - """SoVRMLColorInterpolator_initClass()""" - return _coin.SoVRMLColorInterpolator_initClass(*args) - -class SoVRMLCone(SoVRMLGeometry): - """Proxy of C++ SoVRMLCone class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCone_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCone_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCone_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCone""" - this = _coin.new_SoVRMLCone(*args) - try: self.this.append(this) - except: self.this = this - bottomRadius = _swig_property(_coin.SoVRMLCone_bottomRadius_get, _coin.SoVRMLCone_bottomRadius_set) - height = _swig_property(_coin.SoVRMLCone_height_get, _coin.SoVRMLCone_height_set) - side = _swig_property(_coin.SoVRMLCone_side_get, _coin.SoVRMLCone_side_set) - bottom = _swig_property(_coin.SoVRMLCone_bottom_get, _coin.SoVRMLCone_bottom_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCone_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLCone_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLCone_getPrimitiveCount(*args) - -SoVRMLCone_swigregister = _coin.SoVRMLCone_swigregister -SoVRMLCone_swigregister(SoVRMLCone) - -def SoVRMLCone_getClassTypeId(*args): - """SoVRMLCone_getClassTypeId() -> SoType""" - return _coin.SoVRMLCone_getClassTypeId(*args) - -def SoVRMLCone_initClass(*args): - """SoVRMLCone_initClass()""" - return _coin.SoVRMLCone_initClass(*args) - -class SoVRMLCoordinate(SoNode): - """Proxy of C++ SoVRMLCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCoordinate""" - this = _coin.new_SoVRMLCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoVRMLCoordinate_point_get, _coin.SoVRMLCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLCoordinate_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCoordinate_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLCoordinate_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLCoordinate_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLCoordinate_pick(*args) - -SoVRMLCoordinate_swigregister = _coin.SoVRMLCoordinate_swigregister -SoVRMLCoordinate_swigregister(SoVRMLCoordinate) - -def SoVRMLCoordinate_getClassTypeId(*args): - """SoVRMLCoordinate_getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinate_getClassTypeId(*args) - -def SoVRMLCoordinate_initClass(*args): - """SoVRMLCoordinate_initClass()""" - return _coin.SoVRMLCoordinate_initClass(*args) - -class SoVRMLCoordinateInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLCoordinateInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLCoordinateInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLCoordinateInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCoordinateInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCoordinateInterpolator""" - this = _coin.new_SoVRMLCoordinateInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLCoordinateInterpolator_keyValue_get, _coin.SoVRMLCoordinateInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLCoordinateInterpolator_value_changed_get, _coin.SoVRMLCoordinateInterpolator_value_changed_set) -SoVRMLCoordinateInterpolator_swigregister = _coin.SoVRMLCoordinateInterpolator_swigregister -SoVRMLCoordinateInterpolator_swigregister(SoVRMLCoordinateInterpolator) - -def SoVRMLCoordinateInterpolator_getClassTypeId(*args): - """SoVRMLCoordinateInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLCoordinateInterpolator_getClassTypeId(*args) - -def SoVRMLCoordinateInterpolator_createInstance(*args): - """SoVRMLCoordinateInterpolator_createInstance() -> void""" - return _coin.SoVRMLCoordinateInterpolator_createInstance(*args) - -def SoVRMLCoordinateInterpolator_initClass(*args): - """SoVRMLCoordinateInterpolator_initClass()""" - return _coin.SoVRMLCoordinateInterpolator_initClass(*args) - -class SoVRMLCylinder(SoVRMLGeometry): - """Proxy of C++ SoVRMLCylinder class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinder_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCylinder_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCylinder_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCylinder""" - this = _coin.new_SoVRMLCylinder(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoVRMLCylinder_radius_get, _coin.SoVRMLCylinder_radius_set) - height = _swig_property(_coin.SoVRMLCylinder_height_get, _coin.SoVRMLCylinder_height_set) - side = _swig_property(_coin.SoVRMLCylinder_side_get, _coin.SoVRMLCylinder_side_set) - top = _swig_property(_coin.SoVRMLCylinder_top_get, _coin.SoVRMLCylinder_top_set) - bottom = _swig_property(_coin.SoVRMLCylinder_bottom_get, _coin.SoVRMLCylinder_bottom_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLCylinder_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLCylinder_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLCylinder_getPrimitiveCount(*args) - -SoVRMLCylinder_swigregister = _coin.SoVRMLCylinder_swigregister -SoVRMLCylinder_swigregister(SoVRMLCylinder) - -def SoVRMLCylinder_getClassTypeId(*args): - """SoVRMLCylinder_getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinder_getClassTypeId(*args) - -def SoVRMLCylinder_initClass(*args): - """SoVRMLCylinder_initClass()""" - return _coin.SoVRMLCylinder_initClass(*args) - -class SoVRMLSensor(SoNode): - """Proxy of C++ SoVRMLSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSensor_getTypeId(*args) - - isActive = _swig_property(_coin.SoVRMLSensor_isActive_get, _coin.SoVRMLSensor_isActive_set) - enabled = _swig_property(_coin.SoVRMLSensor_enabled_get, _coin.SoVRMLSensor_enabled_set) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLSensor_swigregister = _coin.SoVRMLSensor_swigregister -SoVRMLSensor_swigregister(SoVRMLSensor) - -def SoVRMLSensor_getClassTypeId(*args): - """SoVRMLSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLSensor_getClassTypeId(*args) - -def SoVRMLSensor_initClass(*args): - """SoVRMLSensor_initClass()""" - return _coin.SoVRMLSensor_initClass(*args) - -class SoVRMLDragSensor(SoVRMLSensor): - """Proxy of C++ SoVRMLDragSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLDragSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLDragSensor_getTypeId(*args) - - trackPoint_changed = _swig_property(_coin.SoVRMLDragSensor_trackPoint_changed_get, _coin.SoVRMLDragSensor_trackPoint_changed_set) - autoOffset = _swig_property(_coin.SoVRMLDragSensor_autoOffset_get, _coin.SoVRMLDragSensor_autoOffset_set) - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLDragSensor_handleEvent(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLDragSensor_initClass(*args) - - initClass = staticmethod(initClass) -SoVRMLDragSensor_swigregister = _coin.SoVRMLDragSensor_swigregister -SoVRMLDragSensor_swigregister(SoVRMLDragSensor) - -def SoVRMLDragSensor_getClassTypeId(*args): - """SoVRMLDragSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLDragSensor_getClassTypeId(*args) - -def SoVRMLDragSensor_initClass(*args): - """SoVRMLDragSensor_initClass()""" - return _coin.SoVRMLDragSensor_initClass(*args) - -class SoVRMLCylinderSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLCylinderSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinderSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLCylinderSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLCylinderSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLCylinderSensor""" - this = _coin.new_SoVRMLCylinderSensor(*args) - try: self.this.append(this) - except: self.this = this - diskAngle = _swig_property(_coin.SoVRMLCylinderSensor_diskAngle_get, _coin.SoVRMLCylinderSensor_diskAngle_set) - maxAngle = _swig_property(_coin.SoVRMLCylinderSensor_maxAngle_get, _coin.SoVRMLCylinderSensor_maxAngle_set) - minAngle = _swig_property(_coin.SoVRMLCylinderSensor_minAngle_get, _coin.SoVRMLCylinderSensor_minAngle_set) - offset = _swig_property(_coin.SoVRMLCylinderSensor_offset_get, _coin.SoVRMLCylinderSensor_offset_set) - rotation_changed = _swig_property(_coin.SoVRMLCylinderSensor_rotation_changed_get, _coin.SoVRMLCylinderSensor_rotation_changed_set) -SoVRMLCylinderSensor_swigregister = _coin.SoVRMLCylinderSensor_swigregister -SoVRMLCylinderSensor_swigregister(SoVRMLCylinderSensor) - -def SoVRMLCylinderSensor_getClassTypeId(*args): - """SoVRMLCylinderSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLCylinderSensor_getClassTypeId(*args) - -def SoVRMLCylinderSensor_initClass(*args): - """SoVRMLCylinderSensor_initClass()""" - return _coin.SoVRMLCylinderSensor_initClass(*args) - -class SoVRMLLight(SoNode): - """Proxy of C++ SoVRMLLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLLight_initClass(*args) - - initClass = staticmethod(initClass) - on = _swig_property(_coin.SoVRMLLight_on_get, _coin.SoVRMLLight_on_set) - intensity = _swig_property(_coin.SoVRMLLight_intensity_get, _coin.SoVRMLLight_intensity_set) - color = _swig_property(_coin.SoVRMLLight_color_get, _coin.SoVRMLLight_color_set) - ambientIntensity = _swig_property(_coin.SoVRMLLight_ambientIntensity_get, _coin.SoVRMLLight_ambientIntensity_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLLight_GLRender(*args) - -SoVRMLLight_swigregister = _coin.SoVRMLLight_swigregister -SoVRMLLight_swigregister(SoVRMLLight) - -def SoVRMLLight_getClassTypeId(*args): - """SoVRMLLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLLight_getClassTypeId(*args) - -def SoVRMLLight_initClass(*args): - """SoVRMLLight_initClass()""" - return _coin.SoVRMLLight_initClass(*args) - -class SoVRMLDirectionalLight(SoVRMLLight): - """Proxy of C++ SoVRMLDirectionalLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLDirectionalLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLDirectionalLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLDirectionalLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLDirectionalLight""" - this = _coin.new_SoVRMLDirectionalLight(*args) - try: self.this.append(this) - except: self.this = this - direction = _swig_property(_coin.SoVRMLDirectionalLight_direction_get, _coin.SoVRMLDirectionalLight_direction_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLDirectionalLight_GLRender(*args) - -SoVRMLDirectionalLight_swigregister = _coin.SoVRMLDirectionalLight_swigregister -SoVRMLDirectionalLight_swigregister(SoVRMLDirectionalLight) - -def SoVRMLDirectionalLight_getClassTypeId(*args): - """SoVRMLDirectionalLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLDirectionalLight_getClassTypeId(*args) - -def SoVRMLDirectionalLight_initClass(*args): - """SoVRMLDirectionalLight_initClass()""" - return _coin.SoVRMLDirectionalLight_initClass(*args) - -class SoVRMLElevationGrid(SoVRMLGeometry): - """Proxy of C++ SoVRMLElevationGrid class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLElevationGrid_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLElevationGrid_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLElevationGrid_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLElevationGrid""" - this = _coin.new_SoVRMLElevationGrid(*args) - try: self.this.append(this) - except: self.this = this - ccw = _swig_property(_coin.SoVRMLElevationGrid_ccw_get, _coin.SoVRMLElevationGrid_ccw_set) - solid = _swig_property(_coin.SoVRMLElevationGrid_solid_get, _coin.SoVRMLElevationGrid_solid_set) - creaseAngle = _swig_property(_coin.SoVRMLElevationGrid_creaseAngle_get, _coin.SoVRMLElevationGrid_creaseAngle_set) - zDimension = _swig_property(_coin.SoVRMLElevationGrid_zDimension_get, _coin.SoVRMLElevationGrid_zDimension_set) - xDimension = _swig_property(_coin.SoVRMLElevationGrid_xDimension_get, _coin.SoVRMLElevationGrid_xDimension_set) - zSpacing = _swig_property(_coin.SoVRMLElevationGrid_zSpacing_get, _coin.SoVRMLElevationGrid_zSpacing_set) - xSpacing = _swig_property(_coin.SoVRMLElevationGrid_xSpacing_get, _coin.SoVRMLElevationGrid_xSpacing_set) - height = _swig_property(_coin.SoVRMLElevationGrid_height_get, _coin.SoVRMLElevationGrid_height_set) - texCoord = _swig_property(_coin.SoVRMLElevationGrid_texCoord_get, _coin.SoVRMLElevationGrid_texCoord_set) - normal = _swig_property(_coin.SoVRMLElevationGrid_normal_get, _coin.SoVRMLElevationGrid_normal_set) - color = _swig_property(_coin.SoVRMLElevationGrid_color_get, _coin.SoVRMLElevationGrid_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLElevationGrid_colorPerVertex_get, _coin.SoVRMLElevationGrid_colorPerVertex_set) - normalPerVertex = _swig_property(_coin.SoVRMLElevationGrid_normalPerVertex_get, _coin.SoVRMLElevationGrid_normalPerVertex_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLElevationGrid_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLElevationGrid_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLElevationGrid_getPrimitiveCount(*args) - -SoVRMLElevationGrid_swigregister = _coin.SoVRMLElevationGrid_swigregister -SoVRMLElevationGrid_swigregister(SoVRMLElevationGrid) - -def SoVRMLElevationGrid_getClassTypeId(*args): - """SoVRMLElevationGrid_getClassTypeId() -> SoType""" - return _coin.SoVRMLElevationGrid_getClassTypeId(*args) - -def SoVRMLElevationGrid_initClass(*args): - """SoVRMLElevationGrid_initClass()""" - return _coin.SoVRMLElevationGrid_initClass(*args) - -class SoVRMLExtrusion(SoVRMLGeometry): - """Proxy of C++ SoVRMLExtrusion class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLExtrusion_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLExtrusion_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLExtrusion_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLExtrusion""" - this = _coin.new_SoVRMLExtrusion(*args) - try: self.this.append(this) - except: self.this = this - beginCap = _swig_property(_coin.SoVRMLExtrusion_beginCap_get, _coin.SoVRMLExtrusion_beginCap_set) - ccw = _swig_property(_coin.SoVRMLExtrusion_ccw_get, _coin.SoVRMLExtrusion_ccw_set) - convex = _swig_property(_coin.SoVRMLExtrusion_convex_get, _coin.SoVRMLExtrusion_convex_set) - creaseAngle = _swig_property(_coin.SoVRMLExtrusion_creaseAngle_get, _coin.SoVRMLExtrusion_creaseAngle_set) - crossSection = _swig_property(_coin.SoVRMLExtrusion_crossSection_get, _coin.SoVRMLExtrusion_crossSection_set) - endCap = _swig_property(_coin.SoVRMLExtrusion_endCap_get, _coin.SoVRMLExtrusion_endCap_set) - orientation = _swig_property(_coin.SoVRMLExtrusion_orientation_get, _coin.SoVRMLExtrusion_orientation_set) - scale = _swig_property(_coin.SoVRMLExtrusion_scale_get, _coin.SoVRMLExtrusion_scale_set) - solid = _swig_property(_coin.SoVRMLExtrusion_solid_get, _coin.SoVRMLExtrusion_solid_set) - spine = _swig_property(_coin.SoVRMLExtrusion_spine_get, _coin.SoVRMLExtrusion_spine_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLExtrusion_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLExtrusion_getPrimitiveCount(*args) - - def computeBBox(*args): - """computeBBox(self, SoAction action, SbBox3f bbox, SbVec3f center)""" - return _coin.SoVRMLExtrusion_computeBBox(*args) - -SoVRMLExtrusion_swigregister = _coin.SoVRMLExtrusion_swigregister -SoVRMLExtrusion_swigregister(SoVRMLExtrusion) - -def SoVRMLExtrusion_getClassTypeId(*args): - """SoVRMLExtrusion_getClassTypeId() -> SoType""" - return _coin.SoVRMLExtrusion_getClassTypeId(*args) - -def SoVRMLExtrusion_initClass(*args): - """SoVRMLExtrusion_initClass()""" - return _coin.SoVRMLExtrusion_initClass(*args) - -class SoVRMLFog(SoNode): - """Proxy of C++ SoVRMLFog class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLFog_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLFog_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLFog_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLFog""" - this = _coin.new_SoVRMLFog(*args) - try: self.this.append(this) - except: self.this = this - fogType = _swig_property(_coin.SoVRMLFog_fogType_get, _coin.SoVRMLFog_fogType_set) - visibilityRange = _swig_property(_coin.SoVRMLFog_visibilityRange_get, _coin.SoVRMLFog_visibilityRange_set) - color = _swig_property(_coin.SoVRMLFog_color_get, _coin.SoVRMLFog_color_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLFog_GLRender(*args) - -SoVRMLFog_swigregister = _coin.SoVRMLFog_swigregister -SoVRMLFog_swigregister(SoVRMLFog) - -def SoVRMLFog_getClassTypeId(*args): - """SoVRMLFog_getClassTypeId() -> SoType""" - return _coin.SoVRMLFog_getClassTypeId(*args) - -def SoVRMLFog_initClass(*args): - """SoVRMLFog_initClass()""" - return _coin.SoVRMLFog_initClass(*args) - -class SoVRMLFontStyle(SoNode): - """Proxy of C++ SoVRMLFontStyle class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLFontStyle_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLFontStyle_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLFontStyle_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLFontStyle""" - this = _coin.new_SoVRMLFontStyle(*args) - try: self.this.append(this) - except: self.this = this - SERIF = _coin.SoVRMLFontStyle_SERIF - SANS = _coin.SoVRMLFontStyle_SANS - TYPEWRITER = _coin.SoVRMLFontStyle_TYPEWRITER - PLAIN = _coin.SoVRMLFontStyle_PLAIN - BOLD = _coin.SoVRMLFontStyle_BOLD - ITALIC = _coin.SoVRMLFontStyle_ITALIC - BOLDITALIC = _coin.SoVRMLFontStyle_BOLDITALIC - size = _swig_property(_coin.SoVRMLFontStyle_size_get, _coin.SoVRMLFontStyle_size_set) - family = _swig_property(_coin.SoVRMLFontStyle_family_get, _coin.SoVRMLFontStyle_family_set) - style = _swig_property(_coin.SoVRMLFontStyle_style_get, _coin.SoVRMLFontStyle_style_set) - horizontal = _swig_property(_coin.SoVRMLFontStyle_horizontal_get, _coin.SoVRMLFontStyle_horizontal_set) - leftToRight = _swig_property(_coin.SoVRMLFontStyle_leftToRight_get, _coin.SoVRMLFontStyle_leftToRight_set) - topToBottom = _swig_property(_coin.SoVRMLFontStyle_topToBottom_get, _coin.SoVRMLFontStyle_topToBottom_set) - language = _swig_property(_coin.SoVRMLFontStyle_language_get, _coin.SoVRMLFontStyle_language_set) - justify = _swig_property(_coin.SoVRMLFontStyle_justify_get, _coin.SoVRMLFontStyle_justify_set) - spacing = _swig_property(_coin.SoVRMLFontStyle_spacing_get, _coin.SoVRMLFontStyle_spacing_set) - def getFontName(*args): - """getFontName(self) -> SbString""" - return _coin.SoVRMLFontStyle_getFontName(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLFontStyle_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLFontStyle_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLFontStyle_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLFontStyle_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLFontStyle_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLFontStyle_getPrimitiveCount(*args) - -SoVRMLFontStyle_swigregister = _coin.SoVRMLFontStyle_swigregister -SoVRMLFontStyle_swigregister(SoVRMLFontStyle) - -def SoVRMLFontStyle_getClassTypeId(*args): - """SoVRMLFontStyle_getClassTypeId() -> SoType""" - return _coin.SoVRMLFontStyle_getClassTypeId(*args) - -def SoVRMLFontStyle_initClass(*args): - """SoVRMLFontStyle_initClass()""" - return _coin.SoVRMLFontStyle_initClass(*args) - - -def so_vrml_init(*args): - """so_vrml_init()""" - return _coin.so_vrml_init(*args) -class SoVRMLTexture(SoNode): - """Proxy of C++ SoVRMLTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTexture_initClass(*args) - - initClass = staticmethod(initClass) - repeatS = _swig_property(_coin.SoVRMLTexture_repeatS_get, _coin.SoVRMLTexture_repeatS_set) - repeatT = _swig_property(_coin.SoVRMLTexture_repeatT_get, _coin.SoVRMLTexture_repeatT_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTexture_GLRender(*args) - -SoVRMLTexture_swigregister = _coin.SoVRMLTexture_swigregister -SoVRMLTexture_swigregister(SoVRMLTexture) - -def SoVRMLTexture_getClassTypeId(*args): - """SoVRMLTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLTexture_getClassTypeId(*args) - -def SoVRMLTexture_initClass(*args): - """SoVRMLTexture_initClass()""" - return _coin.SoVRMLTexture_initClass(*args) - -class SoVRMLImageTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLImageTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLImageTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLImageTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLImageTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLImageTexture""" - this = _coin.new_SoVRMLImageTexture(*args) - try: self.this.append(this) - except: self.this = this - url = _swig_property(_coin.SoVRMLImageTexture_url_get, _coin.SoVRMLImageTexture_url_set) - def setDelayFetchURL(*args): - """setDelayFetchURL(SbBool onoff)""" - return _coin.SoVRMLImageTexture_setDelayFetchURL(*args) - - setDelayFetchURL = staticmethod(setDelayFetchURL) - def setPrequalifyFileCallBack(*args): - """setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)""" - return _coin.SoVRMLImageTexture_setPrequalifyFileCallBack(*args) - - setPrequalifyFileCallBack = staticmethod(setPrequalifyFileCallBack) - def allowPrequalifyFile(*args): - """allowPrequalifyFile(self, SbBool enable)""" - return _coin.SoVRMLImageTexture_allowPrequalifyFile(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLImageTexture_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLImageTexture_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLImageTexture_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLImageTexture_rayPick(*args) - - def setImage(*args): - """setImage(self, SbImage image)""" - return _coin.SoVRMLImageTexture_setImage(*args) - - def getImage(*args): - """getImage(self) -> SbImage""" - return _coin.SoVRMLImageTexture_getImage(*args) - - def setImageDataMaxAge(*args): - """setImageDataMaxAge(uint32_t maxage)""" - return _coin.SoVRMLImageTexture_setImageDataMaxAge(*args) - - setImageDataMaxAge = staticmethod(setImageDataMaxAge) -SoVRMLImageTexture_swigregister = _coin.SoVRMLImageTexture_swigregister -SoVRMLImageTexture_swigregister(SoVRMLImageTexture) - -def SoVRMLImageTexture_getClassTypeId(*args): - """SoVRMLImageTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLImageTexture_getClassTypeId(*args) - -def SoVRMLImageTexture_initClass(*args): - """SoVRMLImageTexture_initClass()""" - return _coin.SoVRMLImageTexture_initClass(*args) - -def SoVRMLImageTexture_setDelayFetchURL(*args): - """SoVRMLImageTexture_setDelayFetchURL(SbBool onoff)""" - return _coin.SoVRMLImageTexture_setDelayFetchURL(*args) - -def SoVRMLImageTexture_setPrequalifyFileCallBack(*args): - """SoVRMLImageTexture_setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)""" - return _coin.SoVRMLImageTexture_setPrequalifyFileCallBack(*args) - -def SoVRMLImageTexture_setImageDataMaxAge(*args): - """SoVRMLImageTexture_setImageDataMaxAge(uint32_t maxage)""" - return _coin.SoVRMLImageTexture_setImageDataMaxAge(*args) - -class SoVRMLVertexShape(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexShape_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexShape_coord_get, _coin.SoVRMLVertexShape_coord_set) - texCoord = _swig_property(_coin.SoVRMLVertexShape_texCoord_get, _coin.SoVRMLVertexShape_texCoord_set) - normal = _swig_property(_coin.SoVRMLVertexShape_normal_get, _coin.SoVRMLVertexShape_normal_set) - color = _swig_property(_coin.SoVRMLVertexShape_color_get, _coin.SoVRMLVertexShape_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLVertexShape_colorPerVertex_get, _coin.SoVRMLVertexShape_colorPerVertex_set) - normalPerVertex = _swig_property(_coin.SoVRMLVertexShape_normalPerVertex_get, _coin.SoVRMLVertexShape_normalPerVertex_set) - OVERALL = _coin.SoVRMLVertexShape_OVERALL - PER_PART = _coin.SoVRMLVertexShape_PER_PART - PER_PART_INDEXED = _coin.SoVRMLVertexShape_PER_PART_INDEXED - PER_FACE = _coin.SoVRMLVertexShape_PER_FACE - PER_FACE_INDEXED = _coin.SoVRMLVertexShape_PER_FACE_INDEXED - PER_VERTEX = _coin.SoVRMLVertexShape_PER_VERTEX - PER_VERTEX_INDEXED = _coin.SoVRMLVertexShape_PER_VERTEX_INDEXED - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState s, SoNormalBundle nb) -> SbBool - generateDefaultNormals(self, SoState s, SoNormalCache nc) -> SbBool - """ - return _coin.SoVRMLVertexShape_generateDefaultNormals(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexShape_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexShape_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexShape_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexShape_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexShape_pick(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexShape_notify(*args) - -SoVRMLVertexShape_swigregister = _coin.SoVRMLVertexShape_swigregister -SoVRMLVertexShape_swigregister(SoVRMLVertexShape) - -def SoVRMLVertexShape_getClassTypeId(*args): - """SoVRMLVertexShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexShape_getClassTypeId(*args) - -def SoVRMLVertexShape_initClass(*args): - """SoVRMLVertexShape_initClass()""" - return _coin.SoVRMLVertexShape_initClass(*args) - -class SoVRMLIndexedShape(SoVRMLVertexShape): - """Proxy of C++ SoVRMLIndexedShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedShape_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoVRMLIndexedShape_coordIndex_get, _coin.SoVRMLIndexedShape_coordIndex_set) - colorIndex = _swig_property(_coin.SoVRMLIndexedShape_colorIndex_get, _coin.SoVRMLIndexedShape_colorIndex_set) - normalIndex = _swig_property(_coin.SoVRMLIndexedShape_normalIndex_get, _coin.SoVRMLIndexedShape_normalIndex_set) - texCoordIndex = _swig_property(_coin.SoVRMLIndexedShape_texCoordIndex_get, _coin.SoVRMLIndexedShape_texCoordIndex_set) -SoVRMLIndexedShape_swigregister = _coin.SoVRMLIndexedShape_swigregister -SoVRMLIndexedShape_swigregister(SoVRMLIndexedShape) - -def SoVRMLIndexedShape_getClassTypeId(*args): - """SoVRMLIndexedShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedShape_getClassTypeId(*args) - -def SoVRMLIndexedShape_initClass(*args): - """SoVRMLIndexedShape_initClass()""" - return _coin.SoVRMLIndexedShape_initClass(*args) - -class SoVRMLIndexedFaceSet(SoVRMLIndexedShape): - """Proxy of C++ SoVRMLIndexedFaceSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedFaceSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLIndexedFaceSet""" - this = _coin.new_SoVRMLIndexedFaceSet(*args) - try: self.this.append(this) - except: self.this = this - ccw = _swig_property(_coin.SoVRMLIndexedFaceSet_ccw_get, _coin.SoVRMLIndexedFaceSet_ccw_set) - solid = _swig_property(_coin.SoVRMLIndexedFaceSet_solid_get, _coin.SoVRMLIndexedFaceSet_solid_set) - convex = _swig_property(_coin.SoVRMLIndexedFaceSet_convex_get, _coin.SoVRMLIndexedFaceSet_convex_set) - creaseAngle = _swig_property(_coin.SoVRMLIndexedFaceSet_creaseAngle_get, _coin.SoVRMLIndexedFaceSet_creaseAngle_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLIndexedFaceSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLIndexedFaceSet_getPrimitiveCount(*args) - - def generateDefaultNormals(*args): - """ - generateDefaultNormals(self, SoState s, SoNormalBundle nb) -> SbBool - generateDefaultNormals(self, SoState state, SoNormalCache nc) -> SbBool - """ - return _coin.SoVRMLIndexedFaceSet_generateDefaultNormals(*args) - -SoVRMLIndexedFaceSet_swigregister = _coin.SoVRMLIndexedFaceSet_swigregister -SoVRMLIndexedFaceSet_swigregister(SoVRMLIndexedFaceSet) - -def SoVRMLIndexedFaceSet_getClassTypeId(*args): - """SoVRMLIndexedFaceSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedFaceSet_getClassTypeId(*args) - -def SoVRMLIndexedFaceSet_initClass(*args): - """SoVRMLIndexedFaceSet_initClass()""" - return _coin.SoVRMLIndexedFaceSet_initClass(*args) - -class SoVRMLVertexLine(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexLine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexLine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexLine_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexLine_coord_get, _coin.SoVRMLVertexLine_coord_set) - color = _swig_property(_coin.SoVRMLVertexLine_color_get, _coin.SoVRMLVertexLine_color_set) - colorPerVertex = _swig_property(_coin.SoVRMLVertexLine_colorPerVertex_get, _coin.SoVRMLVertexLine_colorPerVertex_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexLine_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexLine_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexLine_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexLine_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexLine_pick(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexLine_notify(*args) - -SoVRMLVertexLine_swigregister = _coin.SoVRMLVertexLine_swigregister -SoVRMLVertexLine_swigregister(SoVRMLVertexLine) - -def SoVRMLVertexLine_getClassTypeId(*args): - """SoVRMLVertexLine_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexLine_getClassTypeId(*args) - -def SoVRMLVertexLine_initClass(*args): - """SoVRMLVertexLine_initClass()""" - return _coin.SoVRMLVertexLine_initClass(*args) - -class SoVRMLIndexedLine(SoVRMLVertexLine): - """Proxy of C++ SoVRMLIndexedLine class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLine_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedLine_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedLine_initClass(*args) - - initClass = staticmethod(initClass) - coordIndex = _swig_property(_coin.SoVRMLIndexedLine_coordIndex_get, _coin.SoVRMLIndexedLine_coordIndex_set) - colorIndex = _swig_property(_coin.SoVRMLIndexedLine_colorIndex_get, _coin.SoVRMLIndexedLine_colorIndex_set) -SoVRMLIndexedLine_swigregister = _coin.SoVRMLIndexedLine_swigregister -SoVRMLIndexedLine_swigregister(SoVRMLIndexedLine) - -def SoVRMLIndexedLine_getClassTypeId(*args): - """SoVRMLIndexedLine_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLine_getClassTypeId(*args) - -def SoVRMLIndexedLine_initClass(*args): - """SoVRMLIndexedLine_initClass()""" - return _coin.SoVRMLIndexedLine_initClass(*args) - -class SoVRMLIndexedLineSet(SoVRMLIndexedLine): - """Proxy of C++ SoVRMLIndexedLineSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLineSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLIndexedLineSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLIndexedLineSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLIndexedLineSet""" - this = _coin.new_SoVRMLIndexedLineSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLIndexedLineSet_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLIndexedLineSet_getPrimitiveCount(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLIndexedLineSet_getBoundingBox(*args) - -SoVRMLIndexedLineSet_swigregister = _coin.SoVRMLIndexedLineSet_swigregister -SoVRMLIndexedLineSet_swigregister(SoVRMLIndexedLineSet) - -def SoVRMLIndexedLineSet_getClassTypeId(*args): - """SoVRMLIndexedLineSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLIndexedLineSet_getClassTypeId(*args) - -def SoVRMLIndexedLineSet_initClass(*args): - """SoVRMLIndexedLineSet_initClass()""" - return _coin.SoVRMLIndexedLineSet_initClass(*args) - -class SoVRMLInline(SoNode): - """Proxy of C++ SoVRMLInline class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLInline_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLInline_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLInline_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLInline""" - this = _coin.new_SoVRMLInline(*args) - try: self.this.append(this) - except: self.this = this - NEVER = _coin.SoVRMLInline_NEVER - UNTIL_LOADED = _coin.SoVRMLInline_UNTIL_LOADED - ALWAYS = _coin.SoVRMLInline_ALWAYS - bboxCenter = _swig_property(_coin.SoVRMLInline_bboxCenter_get, _coin.SoVRMLInline_bboxCenter_set) - bboxSize = _swig_property(_coin.SoVRMLInline_bboxSize_get, _coin.SoVRMLInline_bboxSize_set) - url = _swig_property(_coin.SoVRMLInline_url_get, _coin.SoVRMLInline_url_set) - def setFullURLName(*args): - """setFullURLName(self, SbString url)""" - return _coin.SoVRMLInline_setFullURLName(*args) - - def getFullURLName(*args): - """getFullURLName(self) -> SbString""" - return _coin.SoVRMLInline_getFullURLName(*args) - - def copyChildren(*args): - """copyChildren(self) -> SoGroup""" - return _coin.SoVRMLInline_copyChildren(*args) - - def requestURLData(*args): - """requestURLData(self)""" - return _coin.SoVRMLInline_requestURLData(*args) - - def isURLDataRequested(*args): - """isURLDataRequested(self) -> SbBool""" - return _coin.SoVRMLInline_isURLDataRequested(*args) - - def isURLDataHere(*args): - """isURLDataHere(self) -> SbBool""" - return _coin.SoVRMLInline_isURLDataHere(*args) - - def cancelURLDataRequest(*args): - """cancelURLDataRequest(self)""" - return _coin.SoVRMLInline_cancelURLDataRequest(*args) - - def setChildData(*args): - """setChildData(self, SoNode urlData)""" - return _coin.SoVRMLInline_setChildData(*args) - - def getChildData(*args): - """getChildData(self) -> SoNode""" - return _coin.SoVRMLInline_getChildData(*args) - - def setFetchURLCallBack(*args): - """setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)""" - return _coin.SoVRMLInline_setFetchURLCallBack(*args) - - setFetchURLCallBack = staticmethod(setFetchURLCallBack) - def setBoundingBoxVisibility(*args): - """setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoVRMLInline_setBoundingBoxVisibility(*args) - - setBoundingBoxVisibility = staticmethod(setBoundingBoxVisibility) - def getBoundingBoxVisibility(*args): - """getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoVRMLInline_getBoundingBoxVisibility(*args) - - getBoundingBoxVisibility = staticmethod(getBoundingBoxVisibility) - def setBoundingBoxColor(*args): - """setBoundingBoxColor(SbColor color)""" - return _coin.SoVRMLInline_setBoundingBoxColor(*args) - - setBoundingBoxColor = staticmethod(setBoundingBoxColor) - def getBoundingBoxColor(*args): - """getBoundingBoxColor() -> SbColor""" - return _coin.SoVRMLInline_getBoundingBoxColor(*args) - - getBoundingBoxColor = staticmethod(getBoundingBoxColor) - def setReadAsSoFile(*args): - """setReadAsSoFile(SbBool enable)""" - return _coin.SoVRMLInline_setReadAsSoFile(*args) - - setReadAsSoFile = staticmethod(setReadAsSoFile) - def getReadAsSoFile(*args): - """getReadAsSoFile() -> SbBool""" - return _coin.SoVRMLInline_getReadAsSoFile(*args) - - getReadAsSoFile = staticmethod(getReadAsSoFile) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLInline_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLInline_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLInline_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLInline_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLInline_getMatrix(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLInline_handleEvent(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLInline_search(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLInline_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLInline_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLInline_getChildren(*args) - -SoVRMLInline_swigregister = _coin.SoVRMLInline_swigregister -SoVRMLInline_swigregister(SoVRMLInline) - -def SoVRMLInline_getClassTypeId(*args): - """SoVRMLInline_getClassTypeId() -> SoType""" - return _coin.SoVRMLInline_getClassTypeId(*args) - -def SoVRMLInline_initClass(*args): - """SoVRMLInline_initClass()""" - return _coin.SoVRMLInline_initClass(*args) - -def SoVRMLInline_setFetchURLCallBack(*args): - """SoVRMLInline_setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)""" - return _coin.SoVRMLInline_setFetchURLCallBack(*args) - -def SoVRMLInline_setBoundingBoxVisibility(*args): - """SoVRMLInline_setBoundingBoxVisibility(BboxVisibility b)""" - return _coin.SoVRMLInline_setBoundingBoxVisibility(*args) - -def SoVRMLInline_getBoundingBoxVisibility(*args): - """SoVRMLInline_getBoundingBoxVisibility() -> BboxVisibility""" - return _coin.SoVRMLInline_getBoundingBoxVisibility(*args) - -def SoVRMLInline_setBoundingBoxColor(*args): - """SoVRMLInline_setBoundingBoxColor(SbColor color)""" - return _coin.SoVRMLInline_setBoundingBoxColor(*args) - -def SoVRMLInline_getBoundingBoxColor(*args): - """SoVRMLInline_getBoundingBoxColor() -> SbColor""" - return _coin.SoVRMLInline_getBoundingBoxColor(*args) - -def SoVRMLInline_setReadAsSoFile(*args): - """SoVRMLInline_setReadAsSoFile(SbBool enable)""" - return _coin.SoVRMLInline_setReadAsSoFile(*args) - -def SoVRMLInline_getReadAsSoFile(*args): - """SoVRMLInline_getReadAsSoFile() -> SbBool""" - return _coin.SoVRMLInline_getReadAsSoFile(*args) - -class SoVRMLLOD(SoGroup): - """Proxy of C++ SoVRMLLOD class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLLOD_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLLOD_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLLOD_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLLOD - __init__(self, int levels) -> SoVRMLLOD - """ - this = _coin.new_SoVRMLLOD(*args) - try: self.this.append(this) - except: self.this = this - range = _swig_property(_coin.SoVRMLLOD_range_get, _coin.SoVRMLLOD_range_set) - center = _swig_property(_coin.SoVRMLLOD_center_get, _coin.SoVRMLLOD_center_set) - level = _swig_property(_coin.SoVRMLLOD_level_get, _coin.SoVRMLLOD_level_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLLOD_affectsState(*args) - - def addLevel(*args): - """addLevel(self, SoNode level)""" - return _coin.SoVRMLLOD_addLevel(*args) - - def insertLevel(*args): - """insertLevel(self, SoNode level, int idx)""" - return _coin.SoVRMLLOD_insertLevel(*args) - - def getLevel(*args): - """getLevel(self, int idx) -> SoNode""" - return _coin.SoVRMLLOD_getLevel(*args) - - def findLevel(*args): - """findLevel(self, SoNode level) -> int""" - return _coin.SoVRMLLOD_findLevel(*args) - - def getNumLevels(*args): - """getNumLevels(self) -> int""" - return _coin.SoVRMLLOD_getNumLevels(*args) - - def removeLevel(*args): - """ - removeLevel(self, int idx) - removeLevel(self, SoNode level) - """ - return _coin.SoVRMLLOD_removeLevel(*args) - - def removeAllLevels(*args): - """removeAllLevels(self)""" - return _coin.SoVRMLLOD_removeAllLevels(*args) - - def replaceLevel(*args): - """ - replaceLevel(self, int idx, SoNode level) - replaceLevel(self, SoNode old, SoNode level) - """ - return _coin.SoVRMLLOD_replaceLevel(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLLOD_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLLOD_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLLOD_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLLOD_getBoundingBox(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLLOD_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLLOD_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLLOD_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLLOD_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderInPath(*args) - - def GLRenderOffPath(*args): - """GLRenderOffPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLLOD_GLRenderOffPath(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLLOD_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLLOD_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLLOD_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLLOD_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLLOD_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLLOD_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLLOD_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode child) - replaceChild(self, SoNode old, SoNode child) - """ - return _coin.SoVRMLLOD_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLLOD_getChildren(*args) - -SoVRMLLOD_swigregister = _coin.SoVRMLLOD_swigregister -SoVRMLLOD_swigregister(SoVRMLLOD) - -def SoVRMLLOD_getClassTypeId(*args): - """SoVRMLLOD_getClassTypeId() -> SoType""" - return _coin.SoVRMLLOD_getClassTypeId(*args) - -def SoVRMLLOD_initClass(*args): - """SoVRMLLOD_initClass()""" - return _coin.SoVRMLLOD_initClass(*args) - -class SoVRMLMaterial(SoNode): - """Proxy of C++ SoVRMLMaterial class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLMaterial_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLMaterial_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLMaterial_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLMaterial""" - this = _coin.new_SoVRMLMaterial(*args) - try: self.this.append(this) - except: self.this = this - diffuseColor = _swig_property(_coin.SoVRMLMaterial_diffuseColor_get, _coin.SoVRMLMaterial_diffuseColor_set) - ambientIntensity = _swig_property(_coin.SoVRMLMaterial_ambientIntensity_get, _coin.SoVRMLMaterial_ambientIntensity_set) - specularColor = _swig_property(_coin.SoVRMLMaterial_specularColor_get, _coin.SoVRMLMaterial_specularColor_set) - emissiveColor = _swig_property(_coin.SoVRMLMaterial_emissiveColor_get, _coin.SoVRMLMaterial_emissiveColor_set) - shininess = _swig_property(_coin.SoVRMLMaterial_shininess_get, _coin.SoVRMLMaterial_shininess_set) - transparency = _swig_property(_coin.SoVRMLMaterial_transparency_get, _coin.SoVRMLMaterial_transparency_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLMaterial_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLMaterial_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLMaterial_callback(*args) - -SoVRMLMaterial_swigregister = _coin.SoVRMLMaterial_swigregister -SoVRMLMaterial_swigregister(SoVRMLMaterial) - -def SoVRMLMaterial_getClassTypeId(*args): - """SoVRMLMaterial_getClassTypeId() -> SoType""" - return _coin.SoVRMLMaterial_getClassTypeId(*args) - -def SoVRMLMaterial_initClass(*args): - """SoVRMLMaterial_initClass()""" - return _coin.SoVRMLMaterial_initClass(*args) - -class SoVRMLMovieTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLMovieTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLMovieTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLMovieTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLMovieTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLMovieTexture""" - this = _coin.new_SoVRMLMovieTexture(*args) - try: self.this.append(this) - except: self.this = this - loop = _swig_property(_coin.SoVRMLMovieTexture_loop_get, _coin.SoVRMLMovieTexture_loop_set) - speed = _swig_property(_coin.SoVRMLMovieTexture_speed_get, _coin.SoVRMLMovieTexture_speed_set) - startTime = _swig_property(_coin.SoVRMLMovieTexture_startTime_get, _coin.SoVRMLMovieTexture_startTime_set) - stopTime = _swig_property(_coin.SoVRMLMovieTexture_stopTime_get, _coin.SoVRMLMovieTexture_stopTime_set) - url = _swig_property(_coin.SoVRMLMovieTexture_url_get, _coin.SoVRMLMovieTexture_url_set) - duration_changed = _swig_property(_coin.SoVRMLMovieTexture_duration_changed_get, _coin.SoVRMLMovieTexture_duration_changed_set) - isActive = _swig_property(_coin.SoVRMLMovieTexture_isActive_get, _coin.SoVRMLMovieTexture_isActive_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLMovieTexture_GLRender(*args) - -SoVRMLMovieTexture_swigregister = _coin.SoVRMLMovieTexture_swigregister -SoVRMLMovieTexture_swigregister(SoVRMLMovieTexture) - -def SoVRMLMovieTexture_getClassTypeId(*args): - """SoVRMLMovieTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLMovieTexture_getClassTypeId(*args) - -def SoVRMLMovieTexture_initClass(*args): - """SoVRMLMovieTexture_initClass()""" - return _coin.SoVRMLMovieTexture_initClass(*args) - -class SoVRMLNavigationInfo(SoNode): - """Proxy of C++ SoVRMLNavigationInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNavigationInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNavigationInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNavigationInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNavigationInfo""" - this = _coin.new_SoVRMLNavigationInfo(*args) - try: self.this.append(this) - except: self.this = this - type = _swig_property(_coin.SoVRMLNavigationInfo_type_get, _coin.SoVRMLNavigationInfo_type_set) - speed = _swig_property(_coin.SoVRMLNavigationInfo_speed_get, _coin.SoVRMLNavigationInfo_speed_set) - avatarSize = _swig_property(_coin.SoVRMLNavigationInfo_avatarSize_get, _coin.SoVRMLNavigationInfo_avatarSize_set) - visibilityLimit = _swig_property(_coin.SoVRMLNavigationInfo_visibilityLimit_get, _coin.SoVRMLNavigationInfo_visibilityLimit_set) - headlight = _swig_property(_coin.SoVRMLNavigationInfo_headlight_get, _coin.SoVRMLNavigationInfo_headlight_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLNavigationInfo_GLRender(*args) - -SoVRMLNavigationInfo_swigregister = _coin.SoVRMLNavigationInfo_swigregister -SoVRMLNavigationInfo_swigregister(SoVRMLNavigationInfo) - -def SoVRMLNavigationInfo_getClassTypeId(*args): - """SoVRMLNavigationInfo_getClassTypeId() -> SoType""" - return _coin.SoVRMLNavigationInfo_getClassTypeId(*args) - -def SoVRMLNavigationInfo_initClass(*args): - """SoVRMLNavigationInfo_initClass()""" - return _coin.SoVRMLNavigationInfo_initClass(*args) - -class SoVRMLNormal(SoNode): - """Proxy of C++ SoVRMLNormal class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNormal_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNormal_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNormal_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNormal""" - this = _coin.new_SoVRMLNormal(*args) - try: self.this.append(this) - except: self.this = this - vector = _swig_property(_coin.SoVRMLNormal_vector_get, _coin.SoVRMLNormal_vector_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLNormal_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLNormal_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLNormal_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLNormal_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLNormal_getPrimitiveCount(*args) - -SoVRMLNormal_swigregister = _coin.SoVRMLNormal_swigregister -SoVRMLNormal_swigregister(SoVRMLNormal) - -def SoVRMLNormal_getClassTypeId(*args): - """SoVRMLNormal_getClassTypeId() -> SoType""" - return _coin.SoVRMLNormal_getClassTypeId(*args) - -def SoVRMLNormal_initClass(*args): - """SoVRMLNormal_initClass()""" - return _coin.SoVRMLNormal_initClass(*args) - -class SoVRMLNormalInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLNormalInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLNormalInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLNormalInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLNormalInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLNormalInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLNormalInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLNormalInterpolator""" - this = _coin.new_SoVRMLNormalInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLNormalInterpolator_keyValue_get, _coin.SoVRMLNormalInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLNormalInterpolator_value_changed_get, _coin.SoVRMLNormalInterpolator_value_changed_set) -SoVRMLNormalInterpolator_swigregister = _coin.SoVRMLNormalInterpolator_swigregister -SoVRMLNormalInterpolator_swigregister(SoVRMLNormalInterpolator) - -def SoVRMLNormalInterpolator_getClassTypeId(*args): - """SoVRMLNormalInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLNormalInterpolator_getClassTypeId(*args) - -def SoVRMLNormalInterpolator_createInstance(*args): - """SoVRMLNormalInterpolator_createInstance() -> void""" - return _coin.SoVRMLNormalInterpolator_createInstance(*args) - -def SoVRMLNormalInterpolator_initClass(*args): - """SoVRMLNormalInterpolator_initClass()""" - return _coin.SoVRMLNormalInterpolator_initClass(*args) - -class SoVRMLOrientationInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLOrientationInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLOrientationInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLOrientationInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLOrientationInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLOrientationInterpolator""" - this = _coin.new_SoVRMLOrientationInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLOrientationInterpolator_keyValue_get, _coin.SoVRMLOrientationInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLOrientationInterpolator_value_changed_get, _coin.SoVRMLOrientationInterpolator_value_changed_set) -SoVRMLOrientationInterpolator_swigregister = _coin.SoVRMLOrientationInterpolator_swigregister -SoVRMLOrientationInterpolator_swigregister(SoVRMLOrientationInterpolator) - -def SoVRMLOrientationInterpolator_getClassTypeId(*args): - """SoVRMLOrientationInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLOrientationInterpolator_getClassTypeId(*args) - -def SoVRMLOrientationInterpolator_createInstance(*args): - """SoVRMLOrientationInterpolator_createInstance() -> void""" - return _coin.SoVRMLOrientationInterpolator_createInstance(*args) - -def SoVRMLOrientationInterpolator_initClass(*args): - """SoVRMLOrientationInterpolator_initClass()""" - return _coin.SoVRMLOrientationInterpolator_initClass(*args) - -class SoVRMLPixelTexture(SoVRMLTexture): - """Proxy of C++ SoVRMLPixelTexture class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPixelTexture_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPixelTexture_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPixelTexture_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPixelTexture""" - this = _coin.new_SoVRMLPixelTexture(*args) - try: self.this.append(this) - except: self.this = this - image = _swig_property(_coin.SoVRMLPixelTexture_image_get, _coin.SoVRMLPixelTexture_image_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLPixelTexture_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPixelTexture_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLPixelTexture_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLPixelTexture_rayPick(*args) - -SoVRMLPixelTexture_swigregister = _coin.SoVRMLPixelTexture_swigregister -SoVRMLPixelTexture_swigregister(SoVRMLPixelTexture) - -def SoVRMLPixelTexture_getClassTypeId(*args): - """SoVRMLPixelTexture_getClassTypeId() -> SoType""" - return _coin.SoVRMLPixelTexture_getClassTypeId(*args) - -def SoVRMLPixelTexture_initClass(*args): - """SoVRMLPixelTexture_initClass()""" - return _coin.SoVRMLPixelTexture_initClass(*args) - -class SoVRMLPlaneSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLPlaneSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPlaneSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPlaneSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPlaneSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPlaneSensor""" - this = _coin.new_SoVRMLPlaneSensor(*args) - try: self.this.append(this) - except: self.this = this - minPosition = _swig_property(_coin.SoVRMLPlaneSensor_minPosition_get, _coin.SoVRMLPlaneSensor_minPosition_set) - maxPosition = _swig_property(_coin.SoVRMLPlaneSensor_maxPosition_get, _coin.SoVRMLPlaneSensor_maxPosition_set) - offset = _swig_property(_coin.SoVRMLPlaneSensor_offset_get, _coin.SoVRMLPlaneSensor_offset_set) - translation_changed = _swig_property(_coin.SoVRMLPlaneSensor_translation_changed_get, _coin.SoVRMLPlaneSensor_translation_changed_set) -SoVRMLPlaneSensor_swigregister = _coin.SoVRMLPlaneSensor_swigregister -SoVRMLPlaneSensor_swigregister(SoVRMLPlaneSensor) - -def SoVRMLPlaneSensor_getClassTypeId(*args): - """SoVRMLPlaneSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLPlaneSensor_getClassTypeId(*args) - -def SoVRMLPlaneSensor_initClass(*args): - """SoVRMLPlaneSensor_initClass()""" - return _coin.SoVRMLPlaneSensor_initClass(*args) - -class SoVRMLPointLight(SoVRMLLight): - """Proxy of C++ SoVRMLPointLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPointLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPointLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPointLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPointLight""" - this = _coin.new_SoVRMLPointLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoVRMLPointLight_location_get, _coin.SoVRMLPointLight_location_set) - radius = _swig_property(_coin.SoVRMLPointLight_radius_get, _coin.SoVRMLPointLight_radius_set) - attenuation = _swig_property(_coin.SoVRMLPointLight_attenuation_get, _coin.SoVRMLPointLight_attenuation_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPointLight_GLRender(*args) - -SoVRMLPointLight_swigregister = _coin.SoVRMLPointLight_swigregister -SoVRMLPointLight_swigregister(SoVRMLPointLight) - -def SoVRMLPointLight_getClassTypeId(*args): - """SoVRMLPointLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLPointLight_getClassTypeId(*args) - -def SoVRMLPointLight_initClass(*args): - """SoVRMLPointLight_initClass()""" - return _coin.SoVRMLPointLight_initClass(*args) - -class SoVRMLVertexPoint(SoVRMLGeometry): - """Proxy of C++ SoVRMLVertexPoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexPoint_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVertexPoint_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVertexPoint_initClass(*args) - - initClass = staticmethod(initClass) - coord = _swig_property(_coin.SoVRMLVertexPoint_coord_get, _coin.SoVRMLVertexPoint_coord_set) - color = _swig_property(_coin.SoVRMLVertexPoint_color_get, _coin.SoVRMLVertexPoint_color_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLVertexPoint_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVertexPoint_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLVertexPoint_getBoundingBox(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLVertexPoint_callback(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLVertexPoint_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLVertexPoint_getPrimitiveCount(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLVertexPoint_notify(*args) - -SoVRMLVertexPoint_swigregister = _coin.SoVRMLVertexPoint_swigregister -SoVRMLVertexPoint_swigregister(SoVRMLVertexPoint) - -def SoVRMLVertexPoint_getClassTypeId(*args): - """SoVRMLVertexPoint_getClassTypeId() -> SoType""" - return _coin.SoVRMLVertexPoint_getClassTypeId(*args) - -def SoVRMLVertexPoint_initClass(*args): - """SoVRMLVertexPoint_initClass()""" - return _coin.SoVRMLVertexPoint_initClass(*args) - -class SoVRMLPointSet(SoVRMLVertexPoint): - """Proxy of C++ SoVRMLPointSet class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPointSet_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPointSet_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPointSet_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPointSet""" - this = _coin.new_SoVRMLPointSet(*args) - try: self.this.append(this) - except: self.this = this - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLPointSet_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLPointSet_getBoundingBox(*args) - -SoVRMLPointSet_swigregister = _coin.SoVRMLPointSet_swigregister -SoVRMLPointSet_swigregister(SoVRMLPointSet) - -def SoVRMLPointSet_getClassTypeId(*args): - """SoVRMLPointSet_getClassTypeId() -> SoType""" - return _coin.SoVRMLPointSet_getClassTypeId(*args) - -def SoVRMLPointSet_initClass(*args): - """SoVRMLPointSet_initClass()""" - return _coin.SoVRMLPointSet_initClass(*args) - -class SoVRMLPositionInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLPositionInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLPositionInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLPositionInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLPositionInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLPositionInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLPositionInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLPositionInterpolator""" - this = _coin.new_SoVRMLPositionInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLPositionInterpolator_keyValue_get, _coin.SoVRMLPositionInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLPositionInterpolator_value_changed_get, _coin.SoVRMLPositionInterpolator_value_changed_set) -SoVRMLPositionInterpolator_swigregister = _coin.SoVRMLPositionInterpolator_swigregister -SoVRMLPositionInterpolator_swigregister(SoVRMLPositionInterpolator) - -def SoVRMLPositionInterpolator_getClassTypeId(*args): - """SoVRMLPositionInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLPositionInterpolator_getClassTypeId(*args) - -def SoVRMLPositionInterpolator_createInstance(*args): - """SoVRMLPositionInterpolator_createInstance() -> void""" - return _coin.SoVRMLPositionInterpolator_createInstance(*args) - -def SoVRMLPositionInterpolator_initClass(*args): - """SoVRMLPositionInterpolator_initClass()""" - return _coin.SoVRMLPositionInterpolator_initClass(*args) - -class SoVRMLProximitySensor(SoNode): - """Proxy of C++ SoVRMLProximitySensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLProximitySensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLProximitySensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLProximitySensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLProximitySensor""" - this = _coin.new_SoVRMLProximitySensor(*args) - try: self.this.append(this) - except: self.this = this - center = _swig_property(_coin.SoVRMLProximitySensor_center_get, _coin.SoVRMLProximitySensor_center_set) - size = _swig_property(_coin.SoVRMLProximitySensor_size_get, _coin.SoVRMLProximitySensor_size_set) - enabled = _swig_property(_coin.SoVRMLProximitySensor_enabled_get, _coin.SoVRMLProximitySensor_enabled_set) - isActive = _swig_property(_coin.SoVRMLProximitySensor_isActive_get, _coin.SoVRMLProximitySensor_isActive_set) - position_changed = _swig_property(_coin.SoVRMLProximitySensor_position_changed_get, _coin.SoVRMLProximitySensor_position_changed_set) - orientation_changed = _swig_property(_coin.SoVRMLProximitySensor_orientation_changed_get, _coin.SoVRMLProximitySensor_orientation_changed_set) - enterTime = _swig_property(_coin.SoVRMLProximitySensor_enterTime_get, _coin.SoVRMLProximitySensor_enterTime_set) - exitTime = _swig_property(_coin.SoVRMLProximitySensor_exitTime_get, _coin.SoVRMLProximitySensor_exitTime_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLProximitySensor_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLProximitySensor_doAction(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLProximitySensor_GLRender(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLProximitySensor_callback(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLProximitySensor_rayPick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLProximitySensor_getBoundingBox(*args) - -SoVRMLProximitySensor_swigregister = _coin.SoVRMLProximitySensor_swigregister -SoVRMLProximitySensor_swigregister(SoVRMLProximitySensor) - -def SoVRMLProximitySensor_getClassTypeId(*args): - """SoVRMLProximitySensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLProximitySensor_getClassTypeId(*args) - -def SoVRMLProximitySensor_initClass(*args): - """SoVRMLProximitySensor_initClass()""" - return _coin.SoVRMLProximitySensor_initClass(*args) - -class SoVRMLScalarInterpolator(SoVRMLInterpolator): - """Proxy of C++ SoVRMLScalarInterpolator class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLScalarInterpolator_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLScalarInterpolator_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLScalarInterpolator_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLScalarInterpolator_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLScalarInterpolator_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLScalarInterpolator""" - this = _coin.new_SoVRMLScalarInterpolator(*args) - try: self.this.append(this) - except: self.this = this - keyValue = _swig_property(_coin.SoVRMLScalarInterpolator_keyValue_get, _coin.SoVRMLScalarInterpolator_keyValue_set) - value_changed = _swig_property(_coin.SoVRMLScalarInterpolator_value_changed_get, _coin.SoVRMLScalarInterpolator_value_changed_set) -SoVRMLScalarInterpolator_swigregister = _coin.SoVRMLScalarInterpolator_swigregister -SoVRMLScalarInterpolator_swigregister(SoVRMLScalarInterpolator) - -def SoVRMLScalarInterpolator_getClassTypeId(*args): - """SoVRMLScalarInterpolator_getClassTypeId() -> SoType""" - return _coin.SoVRMLScalarInterpolator_getClassTypeId(*args) - -def SoVRMLScalarInterpolator_createInstance(*args): - """SoVRMLScalarInterpolator_createInstance() -> void""" - return _coin.SoVRMLScalarInterpolator_createInstance(*args) - -def SoVRMLScalarInterpolator_initClass(*args): - """SoVRMLScalarInterpolator_initClass()""" - return _coin.SoVRMLScalarInterpolator_initClass(*args) - -class SoVRMLScript(SoNode): - """Proxy of C++ SoVRMLScript class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _coin.SoVRMLScript_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLScript""" - this = _coin.new_SoVRMLScript(*args) - try: self.this.append(this) - except: self.this = this - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLScript_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLScript_getTypeId(*args) - - url = _swig_property(_coin.SoVRMLScript_url_get, _coin.SoVRMLScript_url_set) - directOutput = _swig_property(_coin.SoVRMLScript_directOutput_get, _coin.SoVRMLScript_directOutput_set) - mustEvaluate = _swig_property(_coin.SoVRMLScript_mustEvaluate_get, _coin.SoVRMLScript_mustEvaluate_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLScript_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLScript_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLScript_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLScript_getBoundingBox(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLScript_pick(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLScript_handleEvent(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLScript_write(*args) - - def setScriptEvaluateCB(*args): - """setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)""" - return _coin.SoVRMLScript_setScriptEvaluateCB(*args) - - setScriptEvaluateCB = staticmethod(setScriptEvaluateCB) -SoVRMLScript_swigregister = _coin.SoVRMLScript_swigregister -SoVRMLScript_swigregister(SoVRMLScript) - -def SoVRMLScript_initClass(*args): - """SoVRMLScript_initClass()""" - return _coin.SoVRMLScript_initClass(*args) - -def SoVRMLScript_getClassTypeId(*args): - """SoVRMLScript_getClassTypeId() -> SoType""" - return _coin.SoVRMLScript_getClassTypeId(*args) - -def SoVRMLScript_setScriptEvaluateCB(*args): - """SoVRMLScript_setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)""" - return _coin.SoVRMLScript_setScriptEvaluateCB(*args) - -class SoVRMLShape(SoNode): - """Proxy of C++ SoVRMLShape class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLShape_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLShape_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLShape_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLShape""" - this = _coin.new_SoVRMLShape(*args) - try: self.this.append(this) - except: self.this = this - OFF = _coin.SoVRMLShape_OFF - ON = _coin.SoVRMLShape_ON - AUTO = _coin.SoVRMLShape_AUTO - appearance = _swig_property(_coin.SoVRMLShape_appearance_get, _coin.SoVRMLShape_appearance_set) - geometry = _swig_property(_coin.SoVRMLShape_geometry_get, _coin.SoVRMLShape_geometry_set) - renderCaching = _swig_property(_coin.SoVRMLShape_renderCaching_get, _coin.SoVRMLShape_renderCaching_set) - boundingBoxCaching = _swig_property(_coin.SoVRMLShape_boundingBoxCaching_get, _coin.SoVRMLShape_boundingBoxCaching_set) - def setNumRenderCaches(*args): - """setNumRenderCaches(int num)""" - return _coin.SoVRMLShape_setNumRenderCaches(*args) - - setNumRenderCaches = staticmethod(setNumRenderCaches) - def getNumRenderCaches(*args): - """getNumRenderCaches() -> int""" - return _coin.SoVRMLShape_getNumRenderCaches(*args) - - getNumRenderCaches = staticmethod(getNumRenderCaches) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLShape_affectsState(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLShape_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLShape_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLShape_GLRender(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLShape_getBoundingBox(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLShape_rayPick(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLShape_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLShape_write(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLShape_getPrimitiveCount(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLShape_getChildren(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLShape_notify(*args) - - def copyContents(*args): - """copyContents(self, SoFieldContainer from, SbBool copyConn)""" - return _coin.SoVRMLShape_copyContents(*args) - -SoVRMLShape_swigregister = _coin.SoVRMLShape_swigregister -SoVRMLShape_swigregister(SoVRMLShape) - -def SoVRMLShape_getClassTypeId(*args): - """SoVRMLShape_getClassTypeId() -> SoType""" - return _coin.SoVRMLShape_getClassTypeId(*args) - -def SoVRMLShape_initClass(*args): - """SoVRMLShape_initClass()""" - return _coin.SoVRMLShape_initClass(*args) - -def SoVRMLShape_setNumRenderCaches(*args): - """SoVRMLShape_setNumRenderCaches(int num)""" - return _coin.SoVRMLShape_setNumRenderCaches(*args) - -def SoVRMLShape_getNumRenderCaches(*args): - """SoVRMLShape_getNumRenderCaches() -> int""" - return _coin.SoVRMLShape_getNumRenderCaches(*args) - -class SoVRMLSound(SoNode): - """Proxy of C++ SoVRMLSound class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSound_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSound_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSound_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSound""" - this = _coin.new_SoVRMLSound(*args) - try: self.this.append(this) - except: self.this = this - source = _swig_property(_coin.SoVRMLSound_source_get, _coin.SoVRMLSound_source_set) - intensity = _swig_property(_coin.SoVRMLSound_intensity_get, _coin.SoVRMLSound_intensity_set) - priority = _swig_property(_coin.SoVRMLSound_priority_get, _coin.SoVRMLSound_priority_set) - location = _swig_property(_coin.SoVRMLSound_location_get, _coin.SoVRMLSound_location_set) - direction = _swig_property(_coin.SoVRMLSound_direction_get, _coin.SoVRMLSound_direction_set) - minFront = _swig_property(_coin.SoVRMLSound_minFront_get, _coin.SoVRMLSound_minFront_set) - maxFront = _swig_property(_coin.SoVRMLSound_maxFront_get, _coin.SoVRMLSound_maxFront_set) - minBack = _swig_property(_coin.SoVRMLSound_minBack_get, _coin.SoVRMLSound_minBack_set) - maxBack = _swig_property(_coin.SoVRMLSound_maxBack_get, _coin.SoVRMLSound_maxBack_set) - spatialize = _swig_property(_coin.SoVRMLSound_spatialize_get, _coin.SoVRMLSound_spatialize_set) - def setDopplerVelocity(*args): - """setDopplerVelocity(self, float velocity)""" - return _coin.SoVRMLSound_setDopplerVelocity(*args) - - def getDopplerVelocity(*args): - """getDopplerVelocity(self) -> float""" - return _coin.SoVRMLSound_getDopplerVelocity(*args) - - def setDopplerFactor(*args): - """setDopplerFactor(self, float factor)""" - return _coin.SoVRMLSound_setDopplerFactor(*args) - - def getDopplerFactor(*args): - """getDopplerFactor(self) -> float""" - return _coin.SoVRMLSound_getDopplerFactor(*args) - - def startPlaying(*args): - """startPlaying(self, SoPath path, void userdataptr)""" - return _coin.SoVRMLSound_startPlaying(*args) - - def stopPlaying(*args): - """stopPlaying(self, SoPath path, void userdataptr)""" - return _coin.SoVRMLSound_stopPlaying(*args) - - def setDefaultBufferingProperties(*args): - """setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setDefaultBufferingProperties(*args) - - setDefaultBufferingProperties = staticmethod(setDefaultBufferingProperties) - def setBufferingProperties(*args): - """setBufferingProperties(self, int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setBufferingProperties(*args) - - def getBufferingProperties(*args): - """getBufferingProperties(self, int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_getBufferingProperties(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLSound_audioRender(*args) - -SoVRMLSound_swigregister = _coin.SoVRMLSound_swigregister -SoVRMLSound_swigregister(SoVRMLSound) - -def SoVRMLSound_getClassTypeId(*args): - """SoVRMLSound_getClassTypeId() -> SoType""" - return _coin.SoVRMLSound_getClassTypeId(*args) - -def SoVRMLSound_initClass(*args): - """SoVRMLSound_initClass()""" - return _coin.SoVRMLSound_initClass(*args) - -def SoVRMLSound_setDefaultBufferingProperties(*args): - """SoVRMLSound_setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)""" - return _coin.SoVRMLSound_setDefaultBufferingProperties(*args) - -class SoVRMLSphere(SoVRMLGeometry): - """Proxy of C++ SoVRMLSphere class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSphere_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSphere_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSphere_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSphere""" - this = _coin.new_SoVRMLSphere(*args) - try: self.this.append(this) - except: self.this = this - radius = _swig_property(_coin.SoVRMLSphere_radius_get, _coin.SoVRMLSphere_radius_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSphere_GLRender(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLSphere_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLSphere_getPrimitiveCount(*args) - -SoVRMLSphere_swigregister = _coin.SoVRMLSphere_swigregister -SoVRMLSphere_swigregister(SoVRMLSphere) - -def SoVRMLSphere_getClassTypeId(*args): - """SoVRMLSphere_getClassTypeId() -> SoType""" - return _coin.SoVRMLSphere_getClassTypeId(*args) - -def SoVRMLSphere_initClass(*args): - """SoVRMLSphere_initClass()""" - return _coin.SoVRMLSphere_initClass(*args) - -class SoVRMLSphereSensor(SoVRMLDragSensor): - """Proxy of C++ SoVRMLSphereSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSphereSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSphereSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSphereSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSphereSensor""" - this = _coin.new_SoVRMLSphereSensor(*args) - try: self.this.append(this) - except: self.this = this - offset = _swig_property(_coin.SoVRMLSphereSensor_offset_get, _coin.SoVRMLSphereSensor_offset_set) - rotation_changed = _swig_property(_coin.SoVRMLSphereSensor_rotation_changed_get, _coin.SoVRMLSphereSensor_rotation_changed_set) -SoVRMLSphereSensor_swigregister = _coin.SoVRMLSphereSensor_swigregister -SoVRMLSphereSensor_swigregister(SoVRMLSphereSensor) - -def SoVRMLSphereSensor_getClassTypeId(*args): - """SoVRMLSphereSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLSphereSensor_getClassTypeId(*args) - -def SoVRMLSphereSensor_initClass(*args): - """SoVRMLSphereSensor_initClass()""" - return _coin.SoVRMLSphereSensor_initClass(*args) - -class SoVRMLSpotLight(SoVRMLLight): - """Proxy of C++ SoVRMLSpotLight class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSpotLight_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSpotLight_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSpotLight_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLSpotLight""" - this = _coin.new_SoVRMLSpotLight(*args) - try: self.this.append(this) - except: self.this = this - location = _swig_property(_coin.SoVRMLSpotLight_location_get, _coin.SoVRMLSpotLight_location_set) - direction = _swig_property(_coin.SoVRMLSpotLight_direction_get, _coin.SoVRMLSpotLight_direction_set) - beamWidth = _swig_property(_coin.SoVRMLSpotLight_beamWidth_get, _coin.SoVRMLSpotLight_beamWidth_set) - cutOffAngle = _swig_property(_coin.SoVRMLSpotLight_cutOffAngle_get, _coin.SoVRMLSpotLight_cutOffAngle_set) - radius = _swig_property(_coin.SoVRMLSpotLight_radius_get, _coin.SoVRMLSpotLight_radius_set) - attenuation = _swig_property(_coin.SoVRMLSpotLight_attenuation_get, _coin.SoVRMLSpotLight_attenuation_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSpotLight_GLRender(*args) - -SoVRMLSpotLight_swigregister = _coin.SoVRMLSpotLight_swigregister -SoVRMLSpotLight_swigregister(SoVRMLSpotLight) - -def SoVRMLSpotLight_getClassTypeId(*args): - """SoVRMLSpotLight_getClassTypeId() -> SoType""" - return _coin.SoVRMLSpotLight_getClassTypeId(*args) - -def SoVRMLSpotLight_initClass(*args): - """SoVRMLSpotLight_initClass()""" - return _coin.SoVRMLSpotLight_initClass(*args) - -class SoVRMLSwitch(SoGroup): - """Proxy of C++ SoVRMLSwitch class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLSwitch_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLSwitch_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLSwitch_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLSwitch - __init__(self, int choices) -> SoVRMLSwitch - """ - this = _coin.new_SoVRMLSwitch(*args) - try: self.this.append(this) - except: self.this = this - choice = _swig_property(_coin.SoVRMLSwitch_choice_get, _coin.SoVRMLSwitch_choice_set) - whichChoice = _swig_property(_coin.SoVRMLSwitch_whichChoice_get, _coin.SoVRMLSwitch_whichChoice_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLSwitch_affectsState(*args) - - def addChoice(*args): - """addChoice(self, SoNode choice)""" - return _coin.SoVRMLSwitch_addChoice(*args) - - def insertChoice(*args): - """insertChoice(self, SoNode choice, int idx)""" - return _coin.SoVRMLSwitch_insertChoice(*args) - - def getChoice(*args): - """getChoice(self, int idx) -> SoNode""" - return _coin.SoVRMLSwitch_getChoice(*args) - - def findChoice(*args): - """findChoice(self, SoNode choice) -> int""" - return _coin.SoVRMLSwitch_findChoice(*args) - - def getNumChoices(*args): - """getNumChoices(self) -> int""" - return _coin.SoVRMLSwitch_getNumChoices(*args) - - def removeChoice(*args): - """ - removeChoice(self, int idx) - removeChoice(self, SoNode node) - """ - return _coin.SoVRMLSwitch_removeChoice(*args) - - def removeAllChoices(*args): - """removeAllChoices(self)""" - return _coin.SoVRMLSwitch_removeAllChoices(*args) - - def replaceChoice(*args): - """ - replaceChoice(self, int idx, SoNode choice) - replaceChoice(self, SoNode old, SoNode choice) - """ - return _coin.SoVRMLSwitch_replaceChoice(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLSwitch_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLSwitch_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLSwitch_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLSwitch_pick(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLSwitch_getBoundingBox(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLSwitch_handleEvent(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLSwitch_getMatrix(*args) - - def search(*args): - """search(self, SoSearchAction action)""" - return _coin.SoVRMLSwitch_search(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLSwitch_write(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLSwitch_audioRender(*args) - - def addChild(*args): - """addChild(self, SoNode child)""" - return _coin.SoVRMLSwitch_addChild(*args) - - def insertChild(*args): - """insertChild(self, SoNode child, int idx)""" - return _coin.SoVRMLSwitch_insertChild(*args) - - def getChild(*args): - """getChild(self, int idx) -> SoNode""" - return _coin.SoVRMLSwitch_getChild(*args) - - def findChild(*args): - """findChild(self, SoNode child) -> int""" - return _coin.SoVRMLSwitch_findChild(*args) - - def getNumChildren(*args): - """getNumChildren(self) -> int""" - return _coin.SoVRMLSwitch_getNumChildren(*args) - - def removeChild(*args): - """ - removeChild(self, int idx) - removeChild(self, SoNode child) - """ - return _coin.SoVRMLSwitch_removeChild(*args) - - def removeAllChildren(*args): - """removeAllChildren(self)""" - return _coin.SoVRMLSwitch_removeAllChildren(*args) - - def replaceChild(*args): - """ - replaceChild(self, int idx, SoNode node) - replaceChild(self, SoNode old, SoNode node) - """ - return _coin.SoVRMLSwitch_replaceChild(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLSwitch_getChildren(*args) - -SoVRMLSwitch_swigregister = _coin.SoVRMLSwitch_swigregister -SoVRMLSwitch_swigregister(SoVRMLSwitch) - -def SoVRMLSwitch_getClassTypeId(*args): - """SoVRMLSwitch_getClassTypeId() -> SoType""" - return _coin.SoVRMLSwitch_getClassTypeId(*args) - -def SoVRMLSwitch_initClass(*args): - """SoVRMLSwitch_initClass()""" - return _coin.SoVRMLSwitch_initClass(*args) - -class SoVRMLText(SoVRMLGeometry): - """Proxy of C++ SoVRMLText class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLText_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLText_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLText_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLText""" - this = _coin.new_SoVRMLText(*args) - try: self.this.append(this) - except: self.this = this - string = _swig_property(_coin.SoVRMLText_string_get, _coin.SoVRMLText_string_set) - fontStyle = _swig_property(_coin.SoVRMLText_fontStyle_get, _coin.SoVRMLText_fontStyle_set) - maxExtent = _swig_property(_coin.SoVRMLText_maxExtent_get, _coin.SoVRMLText_maxExtent_set) - length = _swig_property(_coin.SoVRMLText_length_get, _coin.SoVRMLText_length_set) - BEGIN = _coin.SoVRMLText_BEGIN - END = _coin.SoVRMLText_END - MIDDLE = _coin.SoVRMLText_MIDDLE - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLText_GLRender(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLText_getPrimitiveCount(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLText_notify(*args) - - def getChildren(*args): - """getChildren(self) -> SoChildList""" - return _coin.SoVRMLText_getChildren(*args) - -SoVRMLText_swigregister = _coin.SoVRMLText_swigregister -SoVRMLText_swigregister(SoVRMLText) - -def SoVRMLText_getClassTypeId(*args): - """SoVRMLText_getClassTypeId() -> SoType""" - return _coin.SoVRMLText_getClassTypeId(*args) - -def SoVRMLText_initClass(*args): - """SoVRMLText_initClass()""" - return _coin.SoVRMLText_initClass(*args) - -class SoVRMLTextureCoordinate(SoNode): - """Proxy of C++ SoVRMLTextureCoordinate class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureCoordinate_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTextureCoordinate_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTextureCoordinate_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTextureCoordinate""" - this = _coin.new_SoVRMLTextureCoordinate(*args) - try: self.this.append(this) - except: self.this = this - point = _swig_property(_coin.SoVRMLTextureCoordinate_point_get, _coin.SoVRMLTextureCoordinate_point_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTextureCoordinate_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTextureCoordinate_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTextureCoordinate_GLRender(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLTextureCoordinate_pick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLTextureCoordinate_getPrimitiveCount(*args) - -SoVRMLTextureCoordinate_swigregister = _coin.SoVRMLTextureCoordinate_swigregister -SoVRMLTextureCoordinate_swigregister(SoVRMLTextureCoordinate) - -def SoVRMLTextureCoordinate_getClassTypeId(*args): - """SoVRMLTextureCoordinate_getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureCoordinate_getClassTypeId(*args) - -def SoVRMLTextureCoordinate_initClass(*args): - """SoVRMLTextureCoordinate_initClass()""" - return _coin.SoVRMLTextureCoordinate_initClass(*args) - -class SoVRMLTextureTransform(SoNode): - """Proxy of C++ SoVRMLTextureTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTextureTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTextureTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTextureTransform""" - this = _coin.new_SoVRMLTextureTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoVRMLTextureTransform_translation_get, _coin.SoVRMLTextureTransform_translation_set) - rotation = _swig_property(_coin.SoVRMLTextureTransform_rotation_get, _coin.SoVRMLTextureTransform_rotation_set) - scale = _swig_property(_coin.SoVRMLTextureTransform_scale_get, _coin.SoVRMLTextureTransform_scale_set) - center = _swig_property(_coin.SoVRMLTextureTransform_center_get, _coin.SoVRMLTextureTransform_center_set) - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTextureTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTextureTransform_callback(*args) - - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLTextureTransform_GLRender(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLTextureTransform_getMatrix(*args) - - def pick(*args): - """pick(self, SoPickAction action)""" - return _coin.SoVRMLTextureTransform_pick(*args) - -SoVRMLTextureTransform_swigregister = _coin.SoVRMLTextureTransform_swigregister -SoVRMLTextureTransform_swigregister(SoVRMLTextureTransform) - -def SoVRMLTextureTransform_getClassTypeId(*args): - """SoVRMLTextureTransform_getClassTypeId() -> SoType""" - return _coin.SoVRMLTextureTransform_getClassTypeId(*args) - -def SoVRMLTextureTransform_initClass(*args): - """SoVRMLTextureTransform_initClass()""" - return _coin.SoVRMLTextureTransform_initClass(*args) - -class SoVRMLTimeSensor(SoNodeEngine): - """Proxy of C++ SoVRMLTimeSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTimeSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTimeSensor_getTypeId(*args) - - def getOutputData(*args): - """getOutputData(self) -> SoEngineOutputData""" - return _coin.SoVRMLTimeSensor_getOutputData(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _coin.SoVRMLTimeSensor_createInstance(*args) - - createInstance = staticmethod(createInstance) - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTimeSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTimeSensor""" - this = _coin.new_SoVRMLTimeSensor(*args) - try: self.this.append(this) - except: self.this = this - cycleInterval = _swig_property(_coin.SoVRMLTimeSensor_cycleInterval_get, _coin.SoVRMLTimeSensor_cycleInterval_set) - enabled = _swig_property(_coin.SoVRMLTimeSensor_enabled_get, _coin.SoVRMLTimeSensor_enabled_set) - loop = _swig_property(_coin.SoVRMLTimeSensor_loop_get, _coin.SoVRMLTimeSensor_loop_set) - startTime = _swig_property(_coin.SoVRMLTimeSensor_startTime_get, _coin.SoVRMLTimeSensor_startTime_set) - stopTime = _swig_property(_coin.SoVRMLTimeSensor_stopTime_get, _coin.SoVRMLTimeSensor_stopTime_set) - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLTimeSensor_notify(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLTimeSensor_handleEvent(*args) - - def write(*args): - """write(self, SoWriteAction action)""" - return _coin.SoVRMLTimeSensor_write(*args) - - cycleTime = _swig_property(_coin.SoVRMLTimeSensor_cycleTime_get, _coin.SoVRMLTimeSensor_cycleTime_set) - fraction_changed = _swig_property(_coin.SoVRMLTimeSensor_fraction_changed_get, _coin.SoVRMLTimeSensor_fraction_changed_set) - isActive = _swig_property(_coin.SoVRMLTimeSensor_isActive_get, _coin.SoVRMLTimeSensor_isActive_set) - time = _swig_property(_coin.SoVRMLTimeSensor_time_get, _coin.SoVRMLTimeSensor_time_set) -SoVRMLTimeSensor_swigregister = _coin.SoVRMLTimeSensor_swigregister -SoVRMLTimeSensor_swigregister(SoVRMLTimeSensor) - -def SoVRMLTimeSensor_getClassTypeId(*args): - """SoVRMLTimeSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLTimeSensor_getClassTypeId(*args) - -def SoVRMLTimeSensor_createInstance(*args): - """SoVRMLTimeSensor_createInstance() -> void""" - return _coin.SoVRMLTimeSensor_createInstance(*args) - -def SoVRMLTimeSensor_initClass(*args): - """SoVRMLTimeSensor_initClass()""" - return _coin.SoVRMLTimeSensor_initClass(*args) - -class SoVRMLTouchSensor(SoNode): - """Proxy of C++ SoVRMLTouchSensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTouchSensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTouchSensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTouchSensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLTouchSensor""" - this = _coin.new_SoVRMLTouchSensor(*args) - try: self.this.append(this) - except: self.this = this - enabled = _swig_property(_coin.SoVRMLTouchSensor_enabled_get, _coin.SoVRMLTouchSensor_enabled_set) - hitNormal_changed = _swig_property(_coin.SoVRMLTouchSensor_hitNormal_changed_get, _coin.SoVRMLTouchSensor_hitNormal_changed_set) - hitPoint_changed = _swig_property(_coin.SoVRMLTouchSensor_hitPoint_changed_get, _coin.SoVRMLTouchSensor_hitPoint_changed_set) - hitTexCoord_changed = _swig_property(_coin.SoVRMLTouchSensor_hitTexCoord_changed_get, _coin.SoVRMLTouchSensor_hitTexCoord_changed_set) - isActive = _swig_property(_coin.SoVRMLTouchSensor_isActive_get, _coin.SoVRMLTouchSensor_isActive_set) - isOver = _swig_property(_coin.SoVRMLTouchSensor_isOver_get, _coin.SoVRMLTouchSensor_isOver_set) - touchTime = _swig_property(_coin.SoVRMLTouchSensor_touchTime_get, _coin.SoVRMLTouchSensor_touchTime_set) - def affectsState(*args): - """affectsState(self) -> SbBool""" - return _coin.SoVRMLTouchSensor_affectsState(*args) - - def handleEvent(*args): - """handleEvent(self, SoHandleEventAction action)""" - return _coin.SoVRMLTouchSensor_handleEvent(*args) - -SoVRMLTouchSensor_swigregister = _coin.SoVRMLTouchSensor_swigregister -SoVRMLTouchSensor_swigregister(SoVRMLTouchSensor) - -def SoVRMLTouchSensor_getClassTypeId(*args): - """SoVRMLTouchSensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLTouchSensor_getClassTypeId(*args) - -def SoVRMLTouchSensor_initClass(*args): - """SoVRMLTouchSensor_initClass()""" - return _coin.SoVRMLTouchSensor_initClass(*args) - -class SoVRMLTransform(SoVRMLGroup): - """Proxy of C++ SoVRMLTransform class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLTransform_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLTransform_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLTransform_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """ - __init__(self) -> SoVRMLTransform - __init__(self, int children) -> SoVRMLTransform - """ - this = _coin.new_SoVRMLTransform(*args) - try: self.this.append(this) - except: self.this = this - translation = _swig_property(_coin.SoVRMLTransform_translation_get, _coin.SoVRMLTransform_translation_set) - rotation = _swig_property(_coin.SoVRMLTransform_rotation_get, _coin.SoVRMLTransform_rotation_set) - scale = _swig_property(_coin.SoVRMLTransform_scale_get, _coin.SoVRMLTransform_scale_set) - scaleOrientation = _swig_property(_coin.SoVRMLTransform_scaleOrientation_get, _coin.SoVRMLTransform_scaleOrientation_set) - center = _swig_property(_coin.SoVRMLTransform_center_get, _coin.SoVRMLTransform_center_set) - def pointAt(*args): - """pointAt(self, SbVec3f from, SbVec3f to)""" - return _coin.SoVRMLTransform_pointAt(*args) - - def getScaleSpaceMatrix(*args): - """getScaleSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getScaleSpaceMatrix(*args) - - def getRotationSpaceMatrix(*args): - """getRotationSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getRotationSpaceMatrix(*args) - - def getTranslationSpaceMatrix(*args): - """getTranslationSpaceMatrix(self, SbMatrix matrix, SbMatrix inverse)""" - return _coin.SoVRMLTransform_getTranslationSpaceMatrix(*args) - - def multLeft(*args): - """multLeft(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_multLeft(*args) - - def multRight(*args): - """multRight(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_multRight(*args) - - def combineLeft(*args): - """combineLeft(self, SoVRMLTransform leftnode)""" - return _coin.SoVRMLTransform_combineLeft(*args) - - def combineRight(*args): - """combineRight(self, SoVRMLTransform rightnode)""" - return _coin.SoVRMLTransform_combineRight(*args) - - def setMatrix(*args): - """setMatrix(self, SbMatrix matrix)""" - return _coin.SoVRMLTransform_setMatrix(*args) - - def recenter(*args): - """recenter(self, SbVec3f newcenter)""" - return _coin.SoVRMLTransform_recenter(*args) - - def doAction(*args): - """doAction(self, SoAction action)""" - return _coin.SoVRMLTransform_doAction(*args) - - def callback(*args): - """callback(self, SoCallbackAction action)""" - return _coin.SoVRMLTransform_callback(*args) - - def getBoundingBox(*args): - """getBoundingBox(self, SoGetBoundingBoxAction action)""" - return _coin.SoVRMLTransform_getBoundingBox(*args) - - def getMatrix(*args): - """getMatrix(self, SoGetMatrixAction action)""" - return _coin.SoVRMLTransform_getMatrix(*args) - - def rayPick(*args): - """rayPick(self, SoRayPickAction action)""" - return _coin.SoVRMLTransform_rayPick(*args) - - def getPrimitiveCount(*args): - """getPrimitiveCount(self, SoGetPrimitiveCountAction action)""" - return _coin.SoVRMLTransform_getPrimitiveCount(*args) - - def audioRender(*args): - """audioRender(self, SoAudioRenderAction action)""" - return _coin.SoVRMLTransform_audioRender(*args) - - def GLRenderBelowPath(*args): - """GLRenderBelowPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLTransform_GLRenderBelowPath(*args) - - def GLRenderInPath(*args): - """GLRenderInPath(self, SoGLRenderAction action)""" - return _coin.SoVRMLTransform_GLRenderInPath(*args) - - def notify(*args): - """notify(self, SoNotList list)""" - return _coin.SoVRMLTransform_notify(*args) - -SoVRMLTransform_swigregister = _coin.SoVRMLTransform_swigregister -SoVRMLTransform_swigregister(SoVRMLTransform) - -def SoVRMLTransform_getClassTypeId(*args): - """SoVRMLTransform_getClassTypeId() -> SoType""" - return _coin.SoVRMLTransform_getClassTypeId(*args) - -def SoVRMLTransform_initClass(*args): - """SoVRMLTransform_initClass()""" - return _coin.SoVRMLTransform_initClass(*args) - -class SoVRMLViewpoint(SoNode): - """Proxy of C++ SoVRMLViewpoint class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLViewpoint_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLViewpoint_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLViewpoint_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLViewpoint""" - this = _coin.new_SoVRMLViewpoint(*args) - try: self.this.append(this) - except: self.this = this - position = _swig_property(_coin.SoVRMLViewpoint_position_get, _coin.SoVRMLViewpoint_position_set) - orientation = _swig_property(_coin.SoVRMLViewpoint_orientation_get, _coin.SoVRMLViewpoint_orientation_set) - fieldOfView = _swig_property(_coin.SoVRMLViewpoint_fieldOfView_get, _coin.SoVRMLViewpoint_fieldOfView_set) - description = _swig_property(_coin.SoVRMLViewpoint_description_get, _coin.SoVRMLViewpoint_description_set) - jump = _swig_property(_coin.SoVRMLViewpoint_jump_get, _coin.SoVRMLViewpoint_jump_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLViewpoint_GLRender(*args) - -SoVRMLViewpoint_swigregister = _coin.SoVRMLViewpoint_swigregister -SoVRMLViewpoint_swigregister(SoVRMLViewpoint) - -def SoVRMLViewpoint_getClassTypeId(*args): - """SoVRMLViewpoint_getClassTypeId() -> SoType""" - return _coin.SoVRMLViewpoint_getClassTypeId(*args) - -def SoVRMLViewpoint_initClass(*args): - """SoVRMLViewpoint_initClass()""" - return _coin.SoVRMLViewpoint_initClass(*args) - -class SoVRMLVisibilitySensor(SoNode): - """Proxy of C++ SoVRMLVisibilitySensor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLVisibilitySensor_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLVisibilitySensor_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLVisibilitySensor_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLVisibilitySensor""" - this = _coin.new_SoVRMLVisibilitySensor(*args) - try: self.this.append(this) - except: self.this = this - center = _swig_property(_coin.SoVRMLVisibilitySensor_center_get, _coin.SoVRMLVisibilitySensor_center_set) - size = _swig_property(_coin.SoVRMLVisibilitySensor_size_get, _coin.SoVRMLVisibilitySensor_size_set) - enabled = _swig_property(_coin.SoVRMLVisibilitySensor_enabled_get, _coin.SoVRMLVisibilitySensor_enabled_set) - def GLRender(*args): - """GLRender(self, SoGLRenderAction action)""" - return _coin.SoVRMLVisibilitySensor_GLRender(*args) - -SoVRMLVisibilitySensor_swigregister = _coin.SoVRMLVisibilitySensor_swigregister -SoVRMLVisibilitySensor_swigregister(SoVRMLVisibilitySensor) - -def SoVRMLVisibilitySensor_getClassTypeId(*args): - """SoVRMLVisibilitySensor_getClassTypeId() -> SoType""" - return _coin.SoVRMLVisibilitySensor_getClassTypeId(*args) - -def SoVRMLVisibilitySensor_initClass(*args): - """SoVRMLVisibilitySensor_initClass()""" - return _coin.SoVRMLVisibilitySensor_initClass(*args) - -class SoVRMLWorldInfo(SoNode): - """Proxy of C++ SoVRMLWorldInfo class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _coin.SoVRMLWorldInfo_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _coin.SoVRMLWorldInfo_getTypeId(*args) - - def initClass(*args): - """initClass()""" - return _coin.SoVRMLWorldInfo_initClass(*args) - - initClass = staticmethod(initClass) - def __init__(self, *args): - """__init__(self) -> SoVRMLWorldInfo""" - this = _coin.new_SoVRMLWorldInfo(*args) - try: self.this.append(this) - except: self.this = this - title = _swig_property(_coin.SoVRMLWorldInfo_title_get, _coin.SoVRMLWorldInfo_title_set) - info = _swig_property(_coin.SoVRMLWorldInfo_info_get, _coin.SoVRMLWorldInfo_info_set) -SoVRMLWorldInfo_swigregister = _coin.SoVRMLWorldInfo_swigregister -SoVRMLWorldInfo_swigregister(SoVRMLWorldInfo) - -def SoVRMLWorldInfo_getClassTypeId(*args): - """SoVRMLWorldInfo_getClassTypeId() -> SoType""" - return _coin.SoVRMLWorldInfo_getClassTypeId(*args) - -def SoVRMLWorldInfo_initClass(*args): - """SoVRMLWorldInfo_initClass()""" - return _coin.SoVRMLWorldInfo_initClass(*args) - -for x in locals().values(): - if isinstance(x, type) and issubclass(x, SoFieldContainer): - for name, thing in x.__dict__.items(): - if isinstance(thing, property): - delattr(x, name) - - - diff --git a/src/3rdParty/Pivy/coin_header_includes.h b/src/3rdParty/Pivy/coin_header_includes.h deleted file mode 100644 index e608da03a7..0000000000 --- a/src/3rdParty/Pivy/coin_header_includes.h +++ /dev/null @@ -1,662 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include diff --git a/src/3rdParty/Pivy/coin_wrap.cpp b/src/3rdParty/Pivy/coin_wrap.cpp deleted file mode 100644 index 94c55912ac..0000000000 --- a/src/3rdParty/Pivy/coin_wrap.cpp +++ /dev/null @@ -1,335644 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.33 - * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. - * ----------------------------------------------------------------------------- */ - -#define SWIGPYTHON -#define SWIG_PYTHON_DIRECTOR_NO_VTABLE - -#ifdef _MSC_VER -#pragma warning(disable:4312) -#pragma warning(disable:4311) -#pragma warning(disable:4244) -#pragma warning(disable:4700) -#endif - - -#ifdef __cplusplus -template class SwigValueWrapper { - T *tt; -public: - SwigValueWrapper() : tt(0) { } - SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { } - SwigValueWrapper(const T& t) : tt(new T(t)) { } - ~SwigValueWrapper() { delete tt; } - SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } - operator T&() const { return *tt; } - T *operator&() { return tt; } -private: - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); -}; - -template T SwigValueInit() { - return T(); -} -#endif - -/* ----------------------------------------------------------------------------- - * This section contains generic SWIG labels for method/variable - * declarations/attributes, and other compiler dependent labels. - * ----------------------------------------------------------------------------- */ - -/* template workaround for compilers that cannot correctly implement the C++ standard */ -#ifndef SWIGTEMPLATEDISAMBIGUATOR -# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) -# define SWIGTEMPLATEDISAMBIGUATOR template -# elif defined(__HP_aCC) -/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ -/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ -# define SWIGTEMPLATEDISAMBIGUATOR template -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif -#endif - -/* inline attribute */ -#ifndef SWIGINLINE -# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -# else -# define SWIGINLINE -# endif -#endif - -/* attribute recognised by some compilers to avoid 'unused' warnings */ -#ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -#endif - -#ifndef SWIGUNUSEDPARM -# ifdef __cplusplus -# define SWIGUNUSEDPARM(p) -# else -# define SWIGUNUSEDPARM(p) p SWIGUNUSED -# endif -#endif - -/* internal SWIG method */ -#ifndef SWIGINTERN -# define SWIGINTERN static SWIGUNUSED -#endif - -/* internal inline SWIG method */ -#ifndef SWIGINTERNINLINE -# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE -#endif - -/* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY -# endif -#endif - -#ifndef SWIGEXPORT -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT -# else -# define SWIGEXPORT __declspec(dllexport) -# endif -# else -# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) -# define SWIGEXPORT __attribute__ ((visibility("default"))) -# else -# define SWIGEXPORT -# endif -# endif -#endif - -/* calling conventions for Windows */ -#ifndef SWIGSTDCALL -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# define SWIGSTDCALL __stdcall -# else -# define SWIGSTDCALL -# endif -#endif - -/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ -#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif - -/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ -#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) -# define _SCL_SECURE_NO_DEPRECATE -#endif - - - -/* Python.h has to appear first */ -#include - -/* ----------------------------------------------------------------------------- - * swigrun.swg - * - * This file contains generic CAPI SWIG runtime support for pointer - * type checking. - * ----------------------------------------------------------------------------- */ - -/* This should only be incremented when either the layout of swig_type_info changes, - or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "3" - -/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ -#ifdef SWIG_TYPE_TABLE -# define SWIG_QUOTE_STRING(x) #x -# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -# define SWIG_TYPE_TABLE_NAME -#endif - -/* - You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for - creating a static or dynamic library from the swig runtime code. - In 99.9% of the cases, swig just needs to declare them as 'static'. - - But only do this if is strictly necessary, ie, if you have problems - with your compiler or so. -*/ - -#ifndef SWIGRUNTIME -# define SWIGRUNTIME SWIGINTERN -#endif - -#ifndef SWIGRUNTIMEINLINE -# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE -#endif - -/* Generic buffer size */ -#ifndef SWIG_BUFFER_SIZE -# define SWIG_BUFFER_SIZE 1024 -#endif - -/* Flags for pointer conversions */ -#define SWIG_POINTER_DISOWN 0x1 - -/* Flags for new pointer objects */ -#define SWIG_POINTER_OWN 0x1 - - -/* - Flags/methods for returning states. - - The swig conversion methods, as ConvertPtr, return and integer - that tells if the conversion was successful or not. And if not, - an error code can be returned (see swigerrors.swg for the codes). - - Use the following macros/flags to set or process the returning - states. - - In old swig versions, you usually write code as: - - if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { - // success code - } else { - //fail code - } - - Now you can be more explicit as: - - int res = SWIG_ConvertPtr(obj,vptr,ty.flags); - if (SWIG_IsOK(res)) { - // success code - } else { - // fail code - } - - that seems to be the same, but now you can also do - - Type *ptr; - int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); - if (SWIG_IsOK(res)) { - // success code - if (SWIG_IsNewObj(res) { - ... - delete *ptr; - } else { - ... - } - } else { - // fail code - } - - I.e., now SWIG_ConvertPtr can return new objects and you can - identify the case and take care of the deallocation. Of course that - requires also to SWIG_ConvertPtr to return new result values, as - - int SWIG_ConvertPtr(obj, ptr,...) { - if () { - if () { - *ptr = ; - return SWIG_NEWOBJ; - } else { - *ptr = ; - return SWIG_OLDOBJ; - } - } else { - return SWIG_BADOBJ; - } - } - - Of course, returning the plain '0(success)/-1(fail)' still works, but you can be - more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the - swig errors code. - - Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this - - int food(double) - int fooi(int); - - and you call - - food(1) // cast rank '1' (1 -> 1.0) - fooi(1) // cast rank '0' - - just use the SWIG_AddCast()/SWIG_CheckState() - - - */ -#define SWIG_OK (0) -#define SWIG_ERROR (-1) -#define SWIG_IsOK(r) (r >= 0) -#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) - -/* The CastRankLimit says how many bits are used for the cast rank */ -#define SWIG_CASTRANKLIMIT (1 << 8) -/* The NewMask denotes the object was created (using new/malloc) */ -#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) -/* The TmpMask is for in/out typemaps that use temporal objects */ -#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) -/* Simple returning values */ -#define SWIG_BADOBJ (SWIG_ERROR) -#define SWIG_OLDOBJ (SWIG_OK) -#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) -#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ -#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) -#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) -#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) -#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) -#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) -#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) - - -/* Cast-Rank Mode */ -#if defined(SWIG_CASTRANK_MODE) -# ifndef SWIG_TypeRank -# define SWIG_TypeRank unsigned long -# endif -# ifndef SWIG_MAXCASTRANK /* Default cast allowed */ -# define SWIG_MAXCASTRANK (2) -# endif -# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) -# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) -SWIGINTERNINLINE int SWIG_AddCast(int r) { - return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; -} -SWIGINTERNINLINE int SWIG_CheckState(int r) { - return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; -} -#else /* no cast-rank mode */ -# define SWIG_AddCast -# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) -#endif - - - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef void *(*swig_converter_func)(void *); -typedef struct swig_type_info *(*swig_dycast_func)(void **); - -/* Structure to store inforomation on one type */ -typedef struct swig_type_info { - const char *name; /* mangled name of this type */ - const char *str; /* human readable name of this type */ - swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ - struct swig_cast_info *cast; /* linked list of types that can cast into this type */ - void *clientdata; /* language specific type data */ - int owndata; /* flag if the structure owns the clientdata */ -} swig_type_info; - -/* Structure to store a type and conversion function used for casting */ -typedef struct swig_cast_info { - swig_type_info *type; /* pointer to type that is equivalent to this type */ - swig_converter_func converter; /* function to cast the void pointers */ - struct swig_cast_info *next; /* pointer to next cast in linked list */ - struct swig_cast_info *prev; /* pointer to the previous cast */ -} swig_cast_info; - -/* Structure used to store module information - * Each module generates one structure like this, and the runtime collects - * all of these structures and stores them in a circularly linked list.*/ -typedef struct swig_module_info { - swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ - size_t size; /* Number of types in this module */ - struct swig_module_info *next; /* Pointer to next element in circularly linked list */ - swig_type_info **type_initial; /* Array of initially generated type structures */ - swig_cast_info **cast_initial; /* Array of initially generated casting structures */ - void *clientdata; /* Language specific module data */ -} swig_module_info; - -/* - Compare two type names skipping the space characters, therefore - "char*" == "char *" and "Class" == "Class", etc. - - Return 0 when the two name types are equivalent, as in - strncmp, but skipping ' '. -*/ -SWIGRUNTIME int -SWIG_TypeNameComp(const char *f1, const char *l1, - const char *f2, const char *l2) { - for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { - while ((*f1 == ' ') && (f1 != l1)) ++f1; - while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; - } - return (int)((l1 - f1) - (l2 - f2)); -} - -/* - Check type equivalence in a name list like ||... - Return 0 if not equal, 1 if equal -*/ -SWIGRUNTIME int -SWIG_TypeEquiv(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - -/* - Check type equivalence in a name list like ||... - Return 0 if equal, -1 if nb < tb, 1 if nb > tb -*/ -SWIGRUNTIME int -SWIG_TypeCompare(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - - -/* think of this as a c++ template<> or a scheme macro */ -#define SWIG_TypeCheck_Template(comparison, ty) \ - if (ty) { \ - swig_cast_info *iter = ty->cast; \ - while (iter) { \ - if (comparison) { \ - if (iter == ty->cast) return iter; \ - /* Move iter to the top of the linked list */ \ - iter->prev->next = iter->next; \ - if (iter->next) \ - iter->next->prev = iter->prev; \ - iter->next = ty->cast; \ - iter->prev = 0; \ - if (ty->cast) ty->cast->prev = iter; \ - ty->cast = iter; \ - return iter; \ - } \ - iter = iter->next; \ - } \ - } \ - return 0 - -/* - Check the typename -*/ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheck(const char *c, swig_type_info *ty) { - SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); -} - -/* Same as previous function, except strcmp is replaced with a pointer comparison */ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { - SWIG_TypeCheck_Template(iter->type == from, into); -} - -/* - Cast a pointer up an inheritance hierarchy -*/ -SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_cast_info *ty, void *ptr) { - return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); -} - -/* - Dynamic pointer casting. Down an inheritance hierarchy -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { - swig_type_info *lastty = ty; - if (!ty || !ty->dcast) return ty; - while (ty && (ty->dcast)) { - ty = (*ty->dcast)(ptr); - if (ty) lastty = ty; - } - return lastty; -} - -/* - Return the name associated with this type -*/ -SWIGRUNTIMEINLINE const char * -SWIG_TypeName(const swig_type_info *ty) { - return ty->name; -} - -/* - Return the pretty name associated with this type, - that is an unmangled type name in a form presentable to the user. -*/ -SWIGRUNTIME const char * -SWIG_TypePrettyName(const swig_type_info *type) { - /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ - if (!type) return NULL; - if (type->str != NULL) { - const char *last_name = type->str; - const char *s; - for (s = type->str; *s; s++) - if (*s == '|') last_name = s+1; - return last_name; - } - else - return type->name; -} - -/* - Set the clientdata field for a type -*/ -SWIGRUNTIME void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - swig_cast_info *cast = ti->cast; - /* if (ti->clientdata == clientdata) return; */ - ti->clientdata = clientdata; - - while (cast) { - if (!cast->converter) { - swig_type_info *tc = cast->type; - if (!tc->clientdata) { - SWIG_TypeClientData(tc, clientdata); - } - } - cast = cast->next; - } -} -SWIGRUNTIME void -SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientData(ti, clientdata); - ti->owndata = 1; -} - -/* - Search for a swig_type_info structure only by mangled name - Search is a O(log #types) - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_MangledTypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - swig_module_info *iter = start; - do { - if (iter->size) { - register size_t l = 0; - register size_t r = iter->size - 1; - do { - /* since l+r >= 0, we can (>> 1) instead (/ 2) */ - register size_t i = (l + r) >> 1; - const char *iname = iter->types[i]->name; - if (iname) { - register int compare = strcmp(name, iname); - if (compare == 0) { - return iter->types[i]; - } else if (compare < 0) { - if (i) { - r = i - 1; - } else { - break; - } - } else if (compare > 0) { - l = i + 1; - } - } else { - break; /* should never happen */ - } - } while (l <= r); - } - iter = iter->next; - } while (iter != end); - return 0; -} - -/* - Search for a swig_type_info structure for either a mangled name or a human readable name. - It first searches the mangled names of the types, which is a O(log #types) - If a type is not found it then searches the human readable names, which is O(#types). - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - /* STEP 1: Search the name field using binary search */ - swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); - if (ret) { - return ret; - } else { - /* STEP 2: If the type hasn't been found, do a complete search - of the str field (the human readable name) */ - swig_module_info *iter = start; - do { - register size_t i = 0; - for (; i < iter->size; ++i) { - if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) - return iter->types[i]; - } - iter = iter->next; - } while (iter != end); - } - - /* neither found a match */ - return 0; -} - -/* - Pack binary data into a string -*/ -SWIGRUNTIME char * -SWIG_PackData(char *c, void *ptr, size_t sz) { - static const char hex[17] = "0123456789abcdef"; - register const unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register unsigned char uu = *u; - *(c++) = hex[(uu & 0xf0) >> 4]; - *(c++) = hex[uu & 0xf]; - } - return c; -} - -/* - Unpack binary data from a string -*/ -SWIGRUNTIME const char * -SWIG_UnpackData(const char *c, void *ptr, size_t sz) { - register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register char d = *(c++); - register unsigned char uu; - if ((d >= '0') && (d <= '9')) - uu = ((d - '0') << 4); - else if ((d >= 'a') && (d <= 'f')) - uu = ((d - ('a'-10)) << 4); - else - return (char *) 0; - d = *(c++); - if ((d >= '0') && (d <= '9')) - uu |= (d - '0'); - else if ((d >= 'a') && (d <= 'f')) - uu |= (d - ('a'-10)); - else - return (char *) 0; - *u = uu; - } - return c; -} - -/* - Pack 'void *' into a string buffer. -*/ -SWIGRUNTIME char * -SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { - char *r = buff; - if ((2*sizeof(void *) + 2) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,&ptr,sizeof(void *)); - if (strlen(name) + 1 > (bsz - (r - buff))) return 0; - strcpy(r,name); - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - *ptr = (void *) 0; - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sizeof(void *)); -} - -SWIGRUNTIME char * -SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { - char *r = buff; - size_t lname = (name ? strlen(name) : 0); - if ((2*sz + 2 + lname) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,ptr,sz); - if (lname) { - strncpy(r,name,lname+1); - } else { - *r = 0; - } - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - memset(ptr,0,sz); - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sz); -} - -#ifdef __cplusplus -} -#endif - -/* Errors in SWIG */ -#define SWIG_UnknownError -1 -#define SWIG_IOError -2 -#define SWIG_RuntimeError -3 -#define SWIG_IndexError -4 -#define SWIG_TypeError -5 -#define SWIG_DivisionByZero -6 -#define SWIG_OverflowError -7 -#define SWIG_SyntaxError -8 -#define SWIG_ValueError -9 -#define SWIG_SystemError -10 -#define SWIG_AttributeError -11 -#define SWIG_MemoryError -12 -#define SWIG_NullReferenceError -13 - - - - -/* Add PyOS_snprintf for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) -# define PyOS_snprintf _snprintf -# else -# define PyOS_snprintf snprintf -# endif -#endif - -/* A crude PyString_FromFormat implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 - -#ifndef SWIG_PYBUFFER_SIZE -# define SWIG_PYBUFFER_SIZE 1024 -#endif - -static PyObject * -PyString_FromFormat(const char *fmt, ...) { - va_list ap; - char buf[SWIG_PYBUFFER_SIZE * 2]; - int res; - va_start(ap, fmt); - res = vsnprintf(buf, sizeof(buf), fmt, ap); - va_end(ap); - return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); -} -#endif - -/* Add PyObject_Del for old Pythons */ -#if PY_VERSION_HEX < 0x01060000 -# define PyObject_Del(op) PyMem_DEL((op)) -#endif -#ifndef PyObject_DEL -# define PyObject_DEL PyObject_Del -#endif - -/* A crude PyExc_StopIteration exception for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# ifndef PyExc_StopIteration -# define PyExc_StopIteration PyExc_RuntimeError -# endif -# ifndef PyObject_GenericGetAttr -# define PyObject_GenericGetAttr 0 -# endif -#endif -/* Py_NotImplemented is defined in 2.1 and up. */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef Py_NotImplemented -# define Py_NotImplemented PyExc_RuntimeError -# endif -#endif - - -/* A crude PyString_AsStringAndSize implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef PyString_AsStringAndSize -# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} -# endif -#endif - -/* PySequence_Size for old Pythons */ -#if PY_VERSION_HEX < 0x02000000 -# ifndef PySequence_Size -# define PySequence_Size PySequence_Length -# endif -#endif - - -/* PyBool_FromLong for old Pythons */ -#if PY_VERSION_HEX < 0x02030000 -static -PyObject *PyBool_FromLong(long ok) -{ - PyObject *result = ok ? Py_True : Py_False; - Py_INCREF(result); - return result; -} -#endif - -/* Py_ssize_t for old Pythons */ -/* This code is as recommended by: */ -/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ -#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) -typedef int Py_ssize_t; -# define PY_SSIZE_T_MAX INT_MAX -# define PY_SSIZE_T_MIN INT_MIN -#endif - -/* ----------------------------------------------------------------------------- - * error manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIME PyObject* -SWIG_Python_ErrorType(int code) { - PyObject* type = 0; - switch(code) { - case SWIG_MemoryError: - type = PyExc_MemoryError; - break; - case SWIG_IOError: - type = PyExc_IOError; - break; - case SWIG_RuntimeError: - type = PyExc_RuntimeError; - break; - case SWIG_IndexError: - type = PyExc_IndexError; - break; - case SWIG_TypeError: - type = PyExc_TypeError; - break; - case SWIG_DivisionByZero: - type = PyExc_ZeroDivisionError; - break; - case SWIG_OverflowError: - type = PyExc_OverflowError; - break; - case SWIG_SyntaxError: - type = PyExc_SyntaxError; - break; - case SWIG_ValueError: - type = PyExc_ValueError; - break; - case SWIG_SystemError: - type = PyExc_SystemError; - break; - case SWIG_AttributeError: - type = PyExc_AttributeError; - break; - default: - type = PyExc_RuntimeError; - } - return type; -} - - -SWIGRUNTIME void -SWIG_Python_AddErrorMsg(const char* mesg) -{ - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - - if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - PyErr_Clear(); - Py_XINCREF(type); - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - Py_DECREF(old_str); - Py_DECREF(value); - } else { - PyErr_Format(PyExc_RuntimeError, mesg); - } -} - - - -#if defined(SWIG_PYTHON_NO_THREADS) -# if defined(SWIG_PYTHON_THREADS) -# undef SWIG_PYTHON_THREADS -# endif -#endif -#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ -# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) -# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ -# define SWIG_PYTHON_USE_GIL -# endif -# endif -# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# ifndef SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() -# endif -# ifdef __cplusplus /* C++ code */ - class SWIG_Python_Thread_Block { - bool status; - PyGILState_STATE state; - public: - void end() { if (status) { PyGILState_Release(state); status = false;} } - SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} - ~SWIG_Python_Thread_Block() { end(); } - }; - class SWIG_Python_Thread_Allow { - bool status; - PyThreadState *save; - public: - void end() { if (status) { PyEval_RestoreThread(save); status = false; }} - SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} - ~SWIG_Python_Thread_Allow() { end(); } - }; -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block -# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow -# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() -# else /* C code */ -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() -# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() -# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) -# endif -# else /* Old thread way, not implemented, user must provide it */ -# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) -# define SWIG_PYTHON_INITIALIZE_THREADS -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_END_BLOCK) -# define SWIG_PYTHON_THREAD_END_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# endif -# if !defined(SWIG_PYTHON_THREAD_END_ALLOW) -# define SWIG_PYTHON_THREAD_END_ALLOW -# endif -# endif -#else /* No thread support */ -# define SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# define SWIG_PYTHON_THREAD_END_BLOCK -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# define SWIG_PYTHON_THREAD_END_ALLOW -#endif - -/* ----------------------------------------------------------------------------- - * Python API portion that goes into the runtime - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* ----------------------------------------------------------------------------- - * Constant declarations - * ----------------------------------------------------------------------------- */ - -/* Constant Types */ -#define SWIG_PY_POINTER 4 -#define SWIG_PY_BINARY 5 - -/* Constant information structure */ -typedef struct swig_const_info { - int type; - char *name; - long lvalue; - double dvalue; - void *pvalue; - swig_type_info **ptype; -} swig_const_info; - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. - * - * pyrun.swg - * - * This file contains the runtime support for Python modules - * and includes code for managing global variables and pointer - * type checking. - * - * ----------------------------------------------------------------------------- */ - -/* Common SWIG API */ - -/* for raw pointers */ -#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) -#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) -#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) -#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) -#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) -#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) -#define swig_owntype int - -/* for raw packed data */ -#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - -/* for class or struct pointers */ -#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) -#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) - -/* for C or C++ function pointers */ -#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) -#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) - -/* for C++ member pointers, ie, member methods */ -#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - - -/* Runtime API */ - -#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() -#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) -#define SWIG_NewClientData(obj) PySwigClientData_New(obj) - -#define SWIG_SetErrorObj SWIG_Python_SetErrorObj -#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg -#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) -#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) -#define SWIG_fail goto fail - - -/* Runtime API implementation */ - -/* Error manipulation */ - -SWIGINTERN void -SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetObject(errtype, obj); - Py_DECREF(obj); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -SWIGINTERN void -SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetString(errtype, (char *) msg); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) - -/* Set a constant value */ - -SWIGINTERN void -SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { - PyDict_SetItemString(d, (char*) name, obj); - Py_DECREF(obj); -} - -/* Append a value to the result obj */ - -SWIGINTERN PyObject* -SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { -#if !defined(SWIG_PYTHON_OUTPUT_TUPLE) - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyList_Check(result)) { - PyObject *o2 = result; - result = PyList_New(1); - PyList_SetItem(result, 0, o2); - } - PyList_Append(result,obj); - Py_DECREF(obj); - } - return result; -#else - PyObject* o2; - PyObject* o3; - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyTuple_Check(result)) { - o2 = result; - result = PyTuple_New(1); - PyTuple_SET_ITEM(result, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SET_ITEM(o3, 0, obj); - o2 = result; - result = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return result; -#endif -} - -/* Unpack the argument tuple */ - -SWIGINTERN int -SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) -{ - if (!args) { - if (!min && !max) { - return 1; - } else { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", - name, (min == max ? "" : "at least "), (int)min); - return 0; - } - } - if (!PyTuple_Check(args)) { - PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); - return 0; - } else { - register Py_ssize_t l = PyTuple_GET_SIZE(args); - if (l < min) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at least "), (int)min, (int)l); - return 0; - } else if (l > max) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at most "), (int)max, (int)l); - return 0; - } else { - register int i; - for (i = 0; i < l; ++i) { - objs[i] = PyTuple_GET_ITEM(args, i); - } - for (; l < max; ++l) { - objs[l] = 0; - } - return i + 1; - } - } -} - -/* A functor is a function object with one single object argument */ -#if PY_VERSION_HEX >= 0x02020000 -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); -#else -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); -#endif - -/* - Helper for static pointer initialization for both C and C++ code, for example - static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); -*/ -#ifdef __cplusplus -#define SWIG_STATIC_POINTER(var) var -#else -#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var -#endif - -/* ----------------------------------------------------------------------------- - * Pointer declarations - * ----------------------------------------------------------------------------- */ - -/* Flags for new pointer objects */ -#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) -#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) - -#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* How to access Py_None */ -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# ifndef SWIG_PYTHON_NO_BUILD_NONE -# ifndef SWIG_PYTHON_BUILD_NONE -# define SWIG_PYTHON_BUILD_NONE -# endif -# endif -#endif - -#ifdef SWIG_PYTHON_BUILD_NONE -# ifdef Py_None -# undef Py_None -# define Py_None SWIG_Py_None() -# endif -SWIGRUNTIMEINLINE PyObject * -_SWIG_Py_None(void) -{ - PyObject *none = Py_BuildValue((char*)""); - Py_DECREF(none); - return none; -} -SWIGRUNTIME PyObject * -SWIG_Py_None(void) -{ - static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); - return none; -} -#endif - -/* The python void return value */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Py_Void(void) -{ - PyObject *none = Py_None; - Py_INCREF(none); - return none; -} - -/* PySwigClientData */ - -typedef struct { - PyObject *klass; - PyObject *newraw; - PyObject *newargs; - PyObject *destroy; - int delargs; - int implicitconv; -} PySwigClientData; - -SWIGRUNTIMEINLINE int -SWIG_Python_CheckImplicit(swig_type_info *ty) -{ - PySwigClientData *data = (PySwigClientData *)ty->clientdata; - return data ? data->implicitconv : 0; -} - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_ExceptionType(swig_type_info *desc) { - PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; - PyObject *klass = data ? data->klass : 0; - return (klass ? klass : PyExc_RuntimeError); -} - - -SWIGRUNTIME PySwigClientData * -PySwigClientData_New(PyObject* obj) -{ - if (!obj) { - return 0; - } else { - PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); - /* the klass element */ - data->klass = obj; - Py_INCREF(data->klass); - /* the newraw method and newargs arguments used to create a new raw instance */ - if (PyClass_Check(obj)) { - data->newraw = 0; - data->newargs = obj; - Py_INCREF(obj); - } else { -#if (PY_VERSION_HEX < 0x02020000) - data->newraw = 0; -#else - data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); -#endif - if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); - } else { - data->newargs = obj; - } - Py_INCREF(data->newargs); - } - /* the destroy method, aka as the C++ delete method */ - data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); - if (PyErr_Occurred()) { - PyErr_Clear(); - data->destroy = 0; - } - if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); -#ifdef METH_O - data->delargs = !(flags & (METH_O)); -#else - data->delargs = 0; -#endif - } else { - data->delargs = 0; - } - data->implicitconv = 0; - return data; - } -} - -SWIGRUNTIME void -PySwigClientData_Del(PySwigClientData* data) -{ - Py_XDECREF(data->newraw); - Py_XDECREF(data->newargs); - Py_XDECREF(data->destroy); -} - -/* =============== PySwigObject =====================*/ - -typedef struct { - PyObject_HEAD - void *ptr; - swig_type_info *ty; - int own; - PyObject *next; -} PySwigObject; - -SWIGRUNTIME PyObject * -PySwigObject_long(PySwigObject *v) -{ - return PyLong_FromVoidPtr(v->ptr); -} - -SWIGRUNTIME PyObject * -PySwigObject_format(const char* fmt, PySwigObject *v) -{ - PyObject *res = NULL; - PyObject *args = PyTuple_New(1); - if (args) { - if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { - PyObject *ofmt = PyString_FromString(fmt); - if (ofmt) { - res = PyString_Format(ofmt,args); - Py_DECREF(ofmt); - } - Py_DECREF(args); - } - } - return res; -} - -SWIGRUNTIME PyObject * -PySwigObject_oct(PySwigObject *v) -{ - return PySwigObject_format("%o",v); -} - -SWIGRUNTIME PyObject * -PySwigObject_hex(PySwigObject *v) -{ - return PySwigObject_format("%x",v); -} - -SWIGRUNTIME PyObject * -#ifdef METH_NOARGS -PySwigObject_repr(PySwigObject *v) -#else -PySwigObject_repr(PySwigObject *v, PyObject *args) -#endif -{ - const char *name = SWIG_TypePrettyName(v->ty); - PyObject *hex = PySwigObject_hex(v); - PyObject *repr = PyString_FromFormat("", name, PyString_AsString(hex)); - Py_DECREF(hex); - if (v->next) { -#ifdef METH_NOARGS - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); -#else - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); -#endif - PyString_ConcatAndDel(&repr,nrep); - } - return repr; -} - -SWIGRUNTIME int -PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ -#ifdef METH_NOARGS - PyObject *repr = PySwigObject_repr(v); -#else - PyObject *repr = PySwigObject_repr(v, NULL); -#endif - if (repr) { - fputs(PyString_AsString(repr), fp); - Py_DECREF(repr); - return 0; - } else { - return 1; - } -} - -SWIGRUNTIME PyObject * -PySwigObject_str(PySwigObject *v) -{ - char result[SWIG_BUFFER_SIZE]; - return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? - PyString_FromString(result) : 0; -} - -SWIGRUNTIME int -PySwigObject_compare(PySwigObject *v, PySwigObject *w) -{ - void *i = v->ptr; - void *j = w->ptr; - return (i < j) ? -1 : ((i > j) ? 1 : 0); -} - -SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigObject_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own); - -SWIGRUNTIME void -PySwigObject_dealloc(PyObject *v) -{ - PySwigObject *sobj = (PySwigObject *) v; - PyObject *next = sobj->next; - if (sobj->own) { - swig_type_info *ty = sobj->ty; - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - PyObject *destroy = data ? data->destroy : 0; - if (destroy) { - /* destroy is always a VARARGS method */ - PyObject *res; - if (data->delargs) { - /* we need to create a temporal object to carry the destroy operation */ - PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); - } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); - } - Py_XDECREF(res); - } else { - const char *name = SWIG_TypePrettyName(ty); -#if !defined(SWIG_PYTHON_SILENT_MEMLEAK) - printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); -#endif - } - } - Py_XDECREF(next); - PyObject_DEL(v); -} - -SWIGRUNTIME PyObject* -PySwigObject_append(PyObject* v, PyObject* next) -{ - PySwigObject *sobj = (PySwigObject *) v; -#ifndef METH_O - PyObject *tmp = 0; - if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; - next = tmp; -#endif - if (!PySwigObject_Check(next)) { - return NULL; - } - sobj->next = next; - Py_INCREF(next); - return SWIG_Py_Void(); -} - -SWIGRUNTIME PyObject* -#ifdef METH_NOARGS -PySwigObject_next(PyObject* v) -#else -PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *) v; - if (sobj->next) { - Py_INCREF(sobj->next); - return sobj->next; - } else { - return SWIG_Py_Void(); - } -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_disown(PyObject *v) -#else -PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = 0; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_acquire(PyObject *v) -#else -PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = SWIG_POINTER_OWN; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -PySwigObject_own(PyObject *v, PyObject *args) -{ - PyObject *val = 0; -#if (PY_VERSION_HEX < 0x02020000) - if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) -#else - if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) -#endif - { - return NULL; - } - else - { - PySwigObject *sobj = (PySwigObject *)v; - PyObject *obj = PyBool_FromLong(sobj->own); - if (val) { -#ifdef METH_NOARGS - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v); - } else { - PySwigObject_disown(v); - } -#else - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v,args); - } else { - PySwigObject_disown(v,args); - } -#endif - } - return obj; - } -} - -#ifdef METH_O -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#else -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#endif - -#if PY_VERSION_HEX < 0x02020000 -SWIGINTERN PyObject * -PySwigObject_getattr(PySwigObject *sobj,char *name) -{ - return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); -} -#endif - -SWIGRUNTIME PyTypeObject* -_PySwigObject_type(void) { - static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; - - static PyNumberMethods PySwigObject_as_number = { - (binaryfunc)0, /*nb_add*/ - (binaryfunc)0, /*nb_subtract*/ - (binaryfunc)0, /*nb_multiply*/ - (binaryfunc)0, /*nb_divide*/ - (binaryfunc)0, /*nb_remainder*/ - (binaryfunc)0, /*nb_divmod*/ - (ternaryfunc)0,/*nb_power*/ - (unaryfunc)0, /*nb_negative*/ - (unaryfunc)0, /*nb_positive*/ - (unaryfunc)0, /*nb_absolute*/ - (inquiry)0, /*nb_nonzero*/ - 0, /*nb_invert*/ - 0, /*nb_lshift*/ - 0, /*nb_rshift*/ - 0, /*nb_and*/ - 0, /*nb_xor*/ - 0, /*nb_or*/ - (coercion)0, /*nb_coerce*/ - (unaryfunc)PySwigObject_long, /*nb_int*/ - (unaryfunc)PySwigObject_long, /*nb_long*/ - (unaryfunc)0, /*nb_float*/ - (unaryfunc)PySwigObject_oct, /*nb_oct*/ - (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ -#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ -#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ - 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ -#endif - }; - - static PyTypeObject pyswigobject_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigObject", /* tp_name */ - sizeof(PySwigObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigObject_dealloc, /* tp_dealloc */ - (printfunc)PySwigObject_print, /* tp_print */ -#if PY_VERSION_HEX < 0x02020000 - (getattrfunc)PySwigObject_getattr, /* tp_getattr */ -#else - (getattrfunc)0, /* tp_getattr */ -#endif - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigObject_compare, /* tp_compare */ - (reprfunc)PySwigObject_repr, /* tp_repr */ - &PySwigObject_as_number, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigObject_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigobject_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - swigobject_methods, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigobject_type = tmp; - pyswigobject_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigobject_type; -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own) -{ - PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); - if (sobj) { - sobj->ptr = ptr; - sobj->ty = ty; - sobj->own = own; - sobj->next = 0; - } - return (PyObject *)sobj; -} - -/* ----------------------------------------------------------------------------- - * Implements a simple Swig Packed type, and use it instead of string - * ----------------------------------------------------------------------------- */ - -typedef struct { - PyObject_HEAD - void *pack; - swig_type_info *ty; - size_t size; -} PySwigPacked; - -SWIGRUNTIME int -PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ - char result[SWIG_BUFFER_SIZE]; - fputs("pack, v->size, 0, sizeof(result))) { - fputs("at ", fp); - fputs(result, fp); - } - fputs(v->ty->name,fp); - fputs(">", fp); - return 0; -} - -SWIGRUNTIME PyObject * -PySwigPacked_repr(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { - return PyString_FromFormat("", result, v->ty->name); - } else { - return PyString_FromFormat("", v->ty->name); - } -} - -SWIGRUNTIME PyObject * -PySwigPacked_str(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ - return PyString_FromFormat("%s%s", result, v->ty->name); - } else { - return PyString_FromString(v->ty->name); - } -} - -SWIGRUNTIME int -PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) -{ - size_t i = v->size; - size_t j = w->size; - int s = (i < j) ? -1 : ((i > j) ? 1 : 0); - return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); -} - -SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigPacked_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == _PySwigPacked_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); -} - -SWIGRUNTIME void -PySwigPacked_dealloc(PyObject *v) -{ - if (PySwigPacked_Check(v)) { - PySwigPacked *sobj = (PySwigPacked *) v; - free(sobj->pack); - } - PyObject_DEL(v); -} - -SWIGRUNTIME PyTypeObject* -_PySwigPacked_type(void) { - static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; - static PyTypeObject pyswigpacked_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigPacked", /* tp_name */ - sizeof(PySwigPacked), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigPacked_dealloc, /* tp_dealloc */ - (printfunc)PySwigPacked_print, /* tp_print */ - (getattrfunc)0, /* tp_getattr */ - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigPacked_compare, /* tp_compare */ - (reprfunc)PySwigPacked_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigPacked_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigpacked_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigpacked_type = tmp; - pyswigpacked_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigpacked_type; -} - -SWIGRUNTIME PyObject * -PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) -{ - PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); - if (sobj) { - void *pack = malloc(size); - if (pack) { - memcpy(pack, ptr, size); - sobj->pack = pack; - sobj->ty = ty; - sobj->size = size; - } else { - PyObject_DEL((PyObject *) sobj); - sobj = 0; - } - } - return (PyObject *) sobj; -} - -SWIGRUNTIME swig_type_info * -PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) -{ - if (PySwigPacked_Check(obj)) { - PySwigPacked *sobj = (PySwigPacked *)obj; - if (sobj->size != size) return 0; - memcpy(ptr, sobj->pack, size); - return sobj->ty; - } else { - return 0; - } -} - -/* ----------------------------------------------------------------------------- - * pointers/data manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIMEINLINE PyObject * -_SWIG_This(void) -{ - return PyString_FromString("this"); -} - -SWIGRUNTIME PyObject * -SWIG_This(void) -{ - static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); - return swig_this; -} - -/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ - -SWIGRUNTIME PySwigObject * -SWIG_Python_GetSwigThis(PyObject *pyobj) -{ - if (PySwigObject_Check(pyobj)) { - return (PySwigObject *) pyobj; - } else { - PyObject *obj = 0; -#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) - if (PyInstance_Check(pyobj)) { - obj = _PyInstance_Lookup(pyobj, SWIG_This()); - } else { - PyObject **dictptr = _PyObject_GetDictPtr(pyobj); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; - } else { -#ifdef PyWeakref_CheckProxy - if (PyWeakref_CheckProxy(pyobj)) { - PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); - return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; - } -#endif - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } - } - } -#else - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } -#endif - if (obj && !PySwigObject_Check(obj)) { - /* a PyObject is called 'this', try to get the 'real this' - PySwigObject from it */ - return SWIG_Python_GetSwigThis(obj); - } - return (PySwigObject *)obj; - } -} - -/* Acquire a pointer value */ - -SWIGRUNTIME int -SWIG_Python_AcquirePtr(PyObject *obj, int own) { - if (own) { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (sobj) { - int oldown = sobj->own; - sobj->own = own; - return oldown; - } - } - return 0; -} - -/* Convert a pointer value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { - if (!obj) return SWIG_ERROR; - if (obj == Py_None) { - if (ptr) *ptr = 0; - return SWIG_OK; - } else { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - while (sobj) { - void *vptr = sobj->ptr; - if (ty) { - swig_type_info *to = sobj->ty; - if (to == ty) { - /* no type cast needed */ - if (ptr) *ptr = vptr; - break; - } else { - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) { - sobj = (PySwigObject *)sobj->next; - } else { - if (ptr) *ptr = SWIG_TypeCast(tc,vptr); - break; - } - } - } else { - if (ptr) *ptr = vptr; - break; - } - } - if (sobj) { - if (own) *own = sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; - } - return SWIG_OK; - } else { - int res = SWIG_ERROR; - if (flags & SWIG_POINTER_IMPLICIT_CONV) { - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - if (data && !data->implicitconv) { - PyObject *klass = data->klass; - if (klass) { - PyObject *impconv; - data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ - impconv = SWIG_Python_CallFunctor(klass, obj); - data->implicitconv = 0; - if (PyErr_Occurred()) { - PyErr_Clear(); - impconv = 0; - } - if (impconv) { - PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); - if (iobj) { - void *vptr; - res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); - if (SWIG_IsOK(res)) { - if (ptr) { - *ptr = vptr; - /* transfer the ownership to 'ptr' */ - iobj->own = 0; - res = SWIG_AddCast(res); - res = SWIG_AddNewMask(res); - } else { - res = SWIG_AddCast(res); - } - } - } - Py_DECREF(impconv); - } - } - } - } - return res; - } - } -} - -/* Convert a function ptr value */ - -SWIGRUNTIME int -SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { - if (!PyCFunction_Check(obj)) { - return SWIG_ConvertPtr(obj, ptr, ty, 0); - } else { - void *vptr = 0; - - /* here we get the method pointer for callbacks */ - const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); - const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; - if (desc) { - desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; - if (!desc) return SWIG_ERROR; - } - if (ty) { - swig_cast_info *tc = SWIG_TypeCheck(desc,ty); - if (!tc) return SWIG_ERROR; - *ptr = SWIG_TypeCast(tc,vptr); - } else { - *ptr = vptr; - } - return SWIG_OK; - } -} - -/* Convert a packed value value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { - swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); - if (!to) return SWIG_ERROR; - if (ty) { - if (to != ty) { - /* check type cast? */ - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) return SWIG_ERROR; - } - } - return SWIG_OK; -} - -/* ----------------------------------------------------------------------------- - * Create a new pointer object - * ----------------------------------------------------------------------------- */ - -/* - Create a new instance object, whitout calling __init__, and set the - 'this' attribute. -*/ - -SWIGRUNTIME PyObject* -SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) -{ -#if (PY_VERSION_HEX >= 0x02020000) - PyObject *inst = 0; - PyObject *newraw = data->newraw; - if (newraw) { - inst = PyObject_Call(newraw, data->newargs, NULL); - if (inst) { -#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } - } -#else - PyObject *key = SWIG_This(); - PyObject_SetAttr(inst, key, swig_this); -#endif - } - } else { - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - } - return inst; -#else -#if (PY_VERSION_HEX >= 0x02010000) - PyObject *inst; - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - return (PyObject *) inst; -#else - PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); - if (inst == NULL) { - return NULL; - } - inst->in_class = (PyClassObject *)data->newargs; - Py_INCREF(inst->in_class); - inst->in_dict = PyDict_New(); - if (inst->in_dict == NULL) { - Py_DECREF(inst); - return NULL; - } -#ifdef Py_TPFLAGS_HAVE_WEAKREFS - inst->in_weakreflist = NULL; -#endif -#ifdef Py_TPFLAGS_GC - PyObject_GC_Init(inst); -#endif - PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); - return (PyObject *) inst; -#endif -#endif -} - -SWIGRUNTIME void -SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) -{ - PyObject *dict; -#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - PyDict_SetItem(dict, SWIG_This(), swig_this); - return; - } -#endif - dict = PyObject_GetAttrString(inst, (char*)"__dict__"); - PyDict_SetItem(dict, SWIG_This(), swig_this); - Py_DECREF(dict); -} - - -SWIGINTERN PyObject * -SWIG_Python_InitShadowInstance(PyObject *args) { - PyObject *obj[2]; - if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { - return NULL; - } else { - PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); - if (sthis) { - PySwigObject_append((PyObject*) sthis, obj[1]); - } else { - SWIG_Python_SetSwigThis(obj[0], obj[1]); - } - return SWIG_Py_Void(); - } -} - -/* Create a new pointer object */ - -SWIGRUNTIME PyObject * -SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { - if (!ptr) { - return SWIG_Py_Void(); - } else { - int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; - PyObject *robj = PySwigObject_New(ptr, type, own); - PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; - if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { - PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); - if (inst) { - Py_DECREF(robj); - robj = inst; - } - } - return robj; - } -} - -/* Create a new packed object */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { - return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); -} - -/* -----------------------------------------------------------------------------* - * Get type list - * -----------------------------------------------------------------------------*/ - -#ifdef SWIG_LINK_RUNTIME -void *SWIG_ReturnGlobalTypeList(void *); -#endif - -SWIGRUNTIME swig_module_info * -SWIG_Python_GetModule(void) { - static void *type_pointer = (void *)0; - /* first check if module already created */ - if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME - type_pointer = SWIG_ReturnGlobalTypeList((void *)0); -#else - type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif - } - return (swig_module_info *) type_pointer; -} - -#if PY_MAJOR_VERSION < 2 -/* PyModule_AddObject function was introduced in Python 2.0. The following function - is copied out of Python/modsupport.c in python version 2.3.4 */ -SWIGINTERN int -PyModule_AddObject(PyObject *m, char *name, PyObject *o) -{ - PyObject *dict; - if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs module as first arg"); - return SWIG_ERROR; - } - if (!o) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs non-NULL value"); - return SWIG_ERROR; - } - - dict = PyModule_GetDict(m); - if (dict == NULL) { - /* Internal error -- modules must have a dict! */ - PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", - PyModule_GetName(m)); - return SWIG_ERROR; - } - if (PyDict_SetItemString(dict, name, o)) - return SWIG_ERROR; - Py_DECREF(o); - return SWIG_OK; -} -#endif - -SWIGRUNTIME void -SWIG_Python_DestroyModule(void *vptr) -{ - swig_module_info *swig_module = (swig_module_info *) vptr; - swig_type_info **types = swig_module->types; - size_t i; - for (i =0; i < swig_module->size; ++i) { - swig_type_info *ty = types[i]; - if (ty->owndata) { - PySwigClientData *data = (PySwigClientData *) ty->clientdata; - if (data) PySwigClientData_Del(data); - } - } - Py_DECREF(SWIG_This()); -} - -SWIGRUNTIME void -SWIG_Python_SetModule(swig_module_info *swig_module) { - static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ - - PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - swig_empty_runtime_method_table); - PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); - if (pointer && module) { - PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); - } else { - Py_XDECREF(pointer); - } -} - -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - -SWIGRUNTIME swig_type_info * -SWIG_Python_TypeQuery(const char *type) -{ - PyObject *cache = SWIG_Python_TypeCache(); - PyObject *key = PyString_FromString(type); - PyObject *obj = PyDict_GetItem(cache, key); - swig_type_info *descriptor; - if (obj) { - descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); - } else { - swig_module_info *swig_module = SWIG_Python_GetModule(); - descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); - if (descriptor) { - obj = PyCObject_FromVoidPtr(descriptor, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } - } - Py_DECREF(key); - return descriptor; -} - -/* - For backward compatibility only -*/ -#define SWIG_POINTER_EXCEPTION 0 -#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) -#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) - -SWIGRUNTIME int -SWIG_Python_AddErrMesg(const char* mesg, int infront) -{ - if (PyErr_Occurred()) { - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - Py_XINCREF(type); - PyErr_Clear(); - if (infront) { - PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); - } else { - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - } - Py_DECREF(old_str); - } - return 1; - } else { - return 0; - } -} - -SWIGRUNTIME int -SWIG_Python_ArgFail(int argnum) -{ - if (PyErr_Occurred()) { - /* add information about failing argument */ - char mesg[256]; - PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); - return SWIG_Python_AddErrMesg(mesg, 1); - } else { - return 0; - } -} - -SWIGRUNTIMEINLINE const char * -PySwigObject_GetDesc(PyObject *self) -{ - PySwigObject *v = (PySwigObject *)self; - swig_type_info *ty = v ? v->ty : 0; - return ty ? ty->str : (char*)""; -} - -SWIGRUNTIME void -SWIG_Python_TypeError(const char *type, PyObject *obj) -{ - if (type) { -#if defined(SWIG_COBJECT_TYPES) - if (obj && PySwigObject_Check(obj)) { - const char *otype = (const char *) PySwigObject_GetDesc(obj); - if (otype) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", - type, otype); - return; - } - } else -#endif - { - const char *otype = (obj ? obj->ob_type->tp_name : 0); - if (otype) { - PyObject *str = PyObject_Str(obj); - const char *cstr = str ? PyString_AsString(str) : 0; - if (cstr) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", - type, otype, cstr); - } else { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", - type, otype); - } - Py_XDECREF(str); - return; - } - } - PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); - } else { - PyErr_Format(PyExc_TypeError, "unexpected type is received"); - } -} - - -/* Convert a pointer value, signal an exception on a type mismatch */ -SWIGRUNTIME void * -SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { - void *result; - if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { - PyErr_Clear(); - if (flags & SWIG_POINTER_EXCEPTION) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } - } - return result; -} - - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - - -#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) - -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -/* -------- TYPES TABLE (BEGIN) -------- */ - -#define SWIGTYPE_p_ContextDestructionCB swig_types[0] -#define SWIGTYPE_p_FILE swig_types[1] -#define SWIGTYPE_p_GLState swig_types[2] -#define SWIGTYPE_p_ProgressCallbackType swig_types[3] -#define SWIGTYPE_p_SbBSPTree swig_types[4] -#define SWIGTYPE_p_SbBarrier swig_types[5] -#define SWIGTYPE_p_SbBox2d swig_types[6] -#define SWIGTYPE_p_SbBox2f swig_types[7] -#define SWIGTYPE_p_SbBox2s swig_types[8] -#define SWIGTYPE_p_SbBox3f swig_types[9] -#define SWIGTYPE_p_SbBox3s swig_types[10] -#define SWIGTYPE_p_SbClip swig_types[11] -#define SWIGTYPE_p_SbColor swig_types[12] -#define SWIGTYPE_p_SbColor4f swig_types[13] -#define SWIGTYPE_p_SbCondVar swig_types[14] -#define SWIGTYPE_p_SbCylinder swig_types[15] -#define SWIGTYPE_p_SbCylinderPlaneProjector swig_types[16] -#define SWIGTYPE_p_SbCylinderProjector swig_types[17] -#define SWIGTYPE_p_SbCylinderSectionProjector swig_types[18] -#define SWIGTYPE_p_SbCylinderSheetProjector swig_types[19] -#define SWIGTYPE_p_SbDPLine swig_types[20] -#define SWIGTYPE_p_SbDPMatrix swig_types[21] -#define SWIGTYPE_p_SbDPPlane swig_types[22] -#define SWIGTYPE_p_SbDPRotation swig_types[23] -#define SWIGTYPE_p_SbDPViewVolume swig_types[24] -#define SWIGTYPE_p_SbDict swig_types[25] -#define SWIGTYPE_p_SbFifo swig_types[26] -#define SWIGTYPE_p_SbHeap swig_types[27] -#define SWIGTYPE_p_SbHeapFuncs swig_types[28] -#define SWIGTYPE_p_SbImage swig_types[29] -#define SWIGTYPE_p_SbIntList swig_types[30] -#define SWIGTYPE_p_SbLine swig_types[31] -#define SWIGTYPE_p_SbLineProjector swig_types[32] -#define SWIGTYPE_p_SbListTSbName_t swig_types[33] -#define SWIGTYPE_p_SbListTSbString_t swig_types[34] -#define SWIGTYPE_p_SbListTint_t swig_types[35] -#define SWIGTYPE_p_SbListTvoid_p_t swig_types[36] -#define SWIGTYPE_p_SbMatrix swig_types[37] -#define SWIGTYPE_p_SbMutex swig_types[38] -#define SWIGTYPE_p_SbName swig_types[39] -#define SWIGTYPE_p_SbOctTree swig_types[40] -#define SWIGTYPE_p_SbOctTreeFuncs swig_types[41] -#define SWIGTYPE_p_SbPList swig_types[42] -#define SWIGTYPE_p_SbPlane swig_types[43] -#define SWIGTYPE_p_SbPlaneProjector swig_types[44] -#define SWIGTYPE_p_SbProjector swig_types[45] -#define SWIGTYPE_p_SbRWMutex swig_types[46] -#define SWIGTYPE_p_SbRotation swig_types[47] -#define SWIGTYPE_p_SbSphere swig_types[48] -#define SWIGTYPE_p_SbSpherePlaneProjector swig_types[49] -#define SWIGTYPE_p_SbSphereProjector swig_types[50] -#define SWIGTYPE_p_SbSphereSectionProjector swig_types[51] -#define SWIGTYPE_p_SbSphereSheetProjector swig_types[52] -#define SWIGTYPE_p_SbStorage swig_types[53] -#define SWIGTYPE_p_SbString swig_types[54] -#define SWIGTYPE_p_SbStringList swig_types[55] -#define SWIGTYPE_p_SbTesselator swig_types[56] -#define SWIGTYPE_p_SbThread swig_types[57] -#define SWIGTYPE_p_SbThreadAutoLock swig_types[58] -#define SWIGTYPE_p_SbTime swig_types[59] -#define SWIGTYPE_p_SbVec2d swig_types[60] -#define SWIGTYPE_p_SbVec2f swig_types[61] -#define SWIGTYPE_p_SbVec2s swig_types[62] -#define SWIGTYPE_p_SbVec3d swig_types[63] -#define SWIGTYPE_p_SbVec3f swig_types[64] -#define SWIGTYPE_p_SbVec3fList swig_types[65] -#define SWIGTYPE_p_SbVec3s swig_types[66] -#define SWIGTYPE_p_SbVec4d swig_types[67] -#define SWIGTYPE_p_SbVec4f swig_types[68] -#define SWIGTYPE_p_SbViewVolume swig_types[69] -#define SWIGTYPE_p_SbViewportRegion swig_types[70] -#define SWIGTYPE_p_SbXfBox3f swig_types[71] -#define SWIGTYPE_p_SoAccumulatedElement swig_types[72] -#define SWIGTYPE_p_SoAction swig_types[73] -#define SWIGTYPE_p_SoActionMethodList swig_types[74] -#define SWIGTYPE_p_SoAlarmSensor swig_types[75] -#define SWIGTYPE_p_SoAmbientColorElement swig_types[76] -#define SWIGTYPE_p_SoAnnoText3CharOrientElement swig_types[77] -#define SWIGTYPE_p_SoAnnoText3FontSizeHintElement swig_types[78] -#define SWIGTYPE_p_SoAnnoText3RenderPrintElement swig_types[79] -#define SWIGTYPE_p_SoAnnotation swig_types[80] -#define SWIGTYPE_p_SoAntiSquish swig_types[81] -#define SWIGTYPE_p_SoAppearanceKit swig_types[82] -#define SWIGTYPE_p_SoArray swig_types[83] -#define SWIGTYPE_p_SoAsciiText swig_types[84] -#define SWIGTYPE_p_SoAudioDevice swig_types[85] -#define SWIGTYPE_p_SoAudioRenderAction swig_types[86] -#define SWIGTYPE_p_SoAuditorList swig_types[87] -#define SWIGTYPE_p_SoBBoxModelMatrixElement swig_types[88] -#define SWIGTYPE_p_SoBase swig_types[89] -#define SWIGTYPE_p_SoBaseColor swig_types[90] -#define SWIGTYPE_p_SoBaseKit swig_types[91] -#define SWIGTYPE_p_SoBaseList swig_types[92] -#define SWIGTYPE_p_SoBlinker swig_types[93] -#define SWIGTYPE_p_SoBoolOperation swig_types[94] -#define SWIGTYPE_p_SoBoundingBoxCache swig_types[95] -#define SWIGTYPE_p_SoBoxHighlightRenderAction swig_types[96] -#define SWIGTYPE_p_SoBumpMap swig_types[97] -#define SWIGTYPE_p_SoBumpMapCoordinate swig_types[98] -#define SWIGTYPE_p_SoBumpMapCoordinateElement swig_types[99] -#define SWIGTYPE_p_SoBumpMapElement swig_types[100] -#define SWIGTYPE_p_SoBumpMapMatrixElement swig_types[101] -#define SWIGTYPE_p_SoBumpMapTransform swig_types[102] -#define SWIGTYPE_p_SoBundle swig_types[103] -#define SWIGTYPE_p_SoButtonEvent swig_types[104] -#define SWIGTYPE_p_SoByteStream swig_types[105] -#define SWIGTYPE_p_SoCache swig_types[106] -#define SWIGTYPE_p_SoCacheElement swig_types[107] -#define SWIGTYPE_p_SoCalculator swig_types[108] -#define SWIGTYPE_p_SoCallback swig_types[109] -#define SWIGTYPE_p_SoCallbackAction swig_types[110] -#define SWIGTYPE_p_SoCallbackActionCB swig_types[111] -#define SWIGTYPE_p_SoCallbackList swig_types[112] -#define SWIGTYPE_p_SoCamera swig_types[113] -#define SWIGTYPE_p_SoCameraKit swig_types[114] -#define SWIGTYPE_p_SoCenterballDragger swig_types[115] -#define SWIGTYPE_p_SoCenterballManip swig_types[116] -#define SWIGTYPE_p_SoChildList swig_types[117] -#define SWIGTYPE_p_SoClipPlane swig_types[118] -#define SWIGTYPE_p_SoClipPlaneElement swig_types[119] -#define SWIGTYPE_p_SoClipPlaneManip swig_types[120] -#define SWIGTYPE_p_SoColorIndex swig_types[121] -#define SWIGTYPE_p_SoColorPacker swig_types[122] -#define SWIGTYPE_p_SoComplexity swig_types[123] -#define SWIGTYPE_p_SoComplexityElement swig_types[124] -#define SWIGTYPE_p_SoComplexityTypeElement swig_types[125] -#define SWIGTYPE_p_SoComposeMatrix swig_types[126] -#define SWIGTYPE_p_SoComposeRotation swig_types[127] -#define SWIGTYPE_p_SoComposeRotationFromTo swig_types[128] -#define SWIGTYPE_p_SoComposeVec2f swig_types[129] -#define SWIGTYPE_p_SoComposeVec3f swig_types[130] -#define SWIGTYPE_p_SoComposeVec4f swig_types[131] -#define SWIGTYPE_p_SoComputeBoundingBox swig_types[132] -#define SWIGTYPE_p_SoConcatenate swig_types[133] -#define SWIGTYPE_p_SoCone swig_types[134] -#define SWIGTYPE_p_SoConeDetail swig_types[135] -#define SWIGTYPE_p_SoContextHandler swig_types[136] -#define SWIGTYPE_p_SoConvexDataCache swig_types[137] -#define SWIGTYPE_p_SoCoordinate3 swig_types[138] -#define SWIGTYPE_p_SoCoordinate4 swig_types[139] -#define SWIGTYPE_p_SoCoordinateElement swig_types[140] -#define SWIGTYPE_p_SoCounter swig_types[141] -#define SWIGTYPE_p_SoCreaseAngleElement swig_types[142] -#define SWIGTYPE_p_SoCube swig_types[143] -#define SWIGTYPE_p_SoCubeDetail swig_types[144] -#define SWIGTYPE_p_SoCullElement swig_types[145] -#define SWIGTYPE_p_SoCylinder swig_types[146] -#define SWIGTYPE_p_SoCylinderDetail swig_types[147] -#define SWIGTYPE_p_SoDB swig_types[148] -#define SWIGTYPE_p_SoDataSensor swig_types[149] -#define SWIGTYPE_p_SoDebugError swig_types[150] -#define SWIGTYPE_p_SoDecimationPercentageElement swig_types[151] -#define SWIGTYPE_p_SoDecimationTypeElement swig_types[152] -#define SWIGTYPE_p_SoDecomposeMatrix swig_types[153] -#define SWIGTYPE_p_SoDecomposeRotation swig_types[154] -#define SWIGTYPE_p_SoDecomposeVec2f swig_types[155] -#define SWIGTYPE_p_SoDecomposeVec3f swig_types[156] -#define SWIGTYPE_p_SoDecomposeVec4f swig_types[157] -#define SWIGTYPE_p_SoDelayQueueSensor swig_types[158] -#define SWIGTYPE_p_SoDetail swig_types[159] -#define SWIGTYPE_p_SoDetailList swig_types[160] -#define SWIGTYPE_p_SoDiffuseColorElement swig_types[161] -#define SWIGTYPE_p_SoDirectionalLight swig_types[162] -#define SWIGTYPE_p_SoDirectionalLightDragger swig_types[163] -#define SWIGTYPE_p_SoDirectionalLightManip swig_types[164] -#define SWIGTYPE_p_SoDragPointDragger swig_types[165] -#define SWIGTYPE_p_SoDragger swig_types[166] -#define SWIGTYPE_p_SoDrawStyle swig_types[167] -#define SWIGTYPE_p_SoDrawStyleElement swig_types[168] -#define SWIGTYPE_p_SoElapsedTime swig_types[169] -#define SWIGTYPE_p_SoElement swig_types[170] -#define SWIGTYPE_p_SoEmissiveColorElement swig_types[171] -#define SWIGTYPE_p_SoEnabledElementsList swig_types[172] -#define SWIGTYPE_p_SoEngine swig_types[173] -#define SWIGTYPE_p_SoEngineList swig_types[174] -#define SWIGTYPE_p_SoEngineOutput swig_types[175] -#define SWIGTYPE_p_SoEngineOutputData swig_types[176] -#define SWIGTYPE_p_SoEngineOutputList swig_types[177] -#define SWIGTYPE_p_SoEnvironment swig_types[178] -#define SWIGTYPE_p_SoEnvironmentElement swig_types[179] -#define SWIGTYPE_p_SoError swig_types[180] -#define SWIGTYPE_p_SoEvent swig_types[181] -#define SWIGTYPE_p_SoEventCallback swig_types[182] -#define SWIGTYPE_p_SoExtSelection swig_types[183] -#define SWIGTYPE_p_SoFaceDetail swig_types[184] -#define SWIGTYPE_p_SoFaceSet swig_types[185] -#define SWIGTYPE_p_SoField swig_types[186] -#define SWIGTYPE_p_SoFieldContainer swig_types[187] -#define SWIGTYPE_p_SoFieldConverter swig_types[188] -#define SWIGTYPE_p_SoFieldData swig_types[189] -#define SWIGTYPE_p_SoFieldList swig_types[190] -#define SWIGTYPE_p_SoFieldSensor swig_types[191] -#define SWIGTYPE_p_SoFile swig_types[192] -#define SWIGTYPE_p_SoFloatElement swig_types[193] -#define SWIGTYPE_p_SoFocalDistanceElement swig_types[194] -#define SWIGTYPE_p_SoFont swig_types[195] -#define SWIGTYPE_p_SoFontNameElement swig_types[196] -#define SWIGTYPE_p_SoFontSizeElement swig_types[197] -#define SWIGTYPE_p_SoFontStyle swig_types[198] -#define SWIGTYPE_p_SoFullPath swig_types[199] -#define SWIGTYPE_p_SoGLBigImage swig_types[200] -#define SWIGTYPE_p_SoGLCacheContextElement swig_types[201] -#define SWIGTYPE_p_SoGLCacheList swig_types[202] -#define SWIGTYPE_p_SoGLClipPlaneElement swig_types[203] -#define SWIGTYPE_p_SoGLColorIndexElement swig_types[204] -#define SWIGTYPE_p_SoGLCoordinateElement swig_types[205] -#define SWIGTYPE_p_SoGLDisplayList swig_types[206] -#define SWIGTYPE_p_SoGLDrawStyleElement swig_types[207] -#define SWIGTYPE_p_SoGLEnvironmentElement swig_types[208] -#define SWIGTYPE_p_SoGLImage swig_types[209] -#define SWIGTYPE_p_SoGLLazyElement swig_types[210] -#define SWIGTYPE_p_SoGLLazyElement_GLState swig_types[211] -#define SWIGTYPE_p_SoGLLazyElement__GLState swig_types[212] -#define SWIGTYPE_p_SoGLLightIdElement swig_types[213] -#define SWIGTYPE_p_SoGLLinePatternElement swig_types[214] -#define SWIGTYPE_p_SoGLLineWidthElement swig_types[215] -#define SWIGTYPE_p_SoGLModelMatrixElement swig_types[216] -#define SWIGTYPE_p_SoGLMultiTextureCoordinateElement swig_types[217] -#define SWIGTYPE_p_SoGLMultiTextureEnabledElement swig_types[218] -#define SWIGTYPE_p_SoGLMultiTextureImageElement swig_types[219] -#define SWIGTYPE_p_SoGLMultiTextureMatrixElement swig_types[220] -#define SWIGTYPE_p_SoGLNormalElement swig_types[221] -#define SWIGTYPE_p_SoGLPointSizeElement swig_types[222] -#define SWIGTYPE_p_SoGLPolygonOffsetElement swig_types[223] -#define SWIGTYPE_p_SoGLProjectionMatrixElement swig_types[224] -#define SWIGTYPE_p_SoGLRenderAbortCB swig_types[225] -#define SWIGTYPE_p_SoGLRenderAction swig_types[226] -#define SWIGTYPE_p_SoGLRenderCache swig_types[227] -#define SWIGTYPE_p_SoGLRenderPassElement swig_types[228] -#define SWIGTYPE_p_SoGLShapeHintsElement swig_types[229] -#define SWIGTYPE_p_SoGLTexture3EnabledElement swig_types[230] -#define SWIGTYPE_p_SoGLTextureCoordinateElement swig_types[231] -#define SWIGTYPE_p_SoGLTextureEnabledElement swig_types[232] -#define SWIGTYPE_p_SoGLTextureImageElement swig_types[233] -#define SWIGTYPE_p_SoGLTextureMatrixElement swig_types[234] -#define SWIGTYPE_p_SoGLUpdateAreaElement swig_types[235] -#define SWIGTYPE_p_SoGLViewingMatrixElement swig_types[236] -#define SWIGTYPE_p_SoGLViewportRegionElement swig_types[237] -#define SWIGTYPE_p_SoGate swig_types[238] -#define SWIGTYPE_p_SoGetBoundingBoxAction swig_types[239] -#define SWIGTYPE_p_SoGetMatrixAction swig_types[240] -#define SWIGTYPE_p_SoGetPrimitiveCountAction swig_types[241] -#define SWIGTYPE_p_SoGlyph swig_types[242] -#define SWIGTYPE_p_SoGroup swig_types[243] -#define SWIGTYPE_p_SoHandleBoxDragger swig_types[244] -#define SWIGTYPE_p_SoHandleBoxManip swig_types[245] -#define SWIGTYPE_p_SoHandleEventAction swig_types[246] -#define SWIGTYPE_p_SoHardCopy swig_types[247] -#define SWIGTYPE_p_SoIdleSensor swig_types[248] -#define SWIGTYPE_p_SoImage swig_types[249] -#define SWIGTYPE_p_SoIndexedFaceSet swig_types[250] -#define SWIGTYPE_p_SoIndexedLineSet swig_types[251] -#define SWIGTYPE_p_SoIndexedNurbsCurve swig_types[252] -#define SWIGTYPE_p_SoIndexedNurbsSurface swig_types[253] -#define SWIGTYPE_p_SoIndexedShape swig_types[254] -#define SWIGTYPE_p_SoIndexedTriangleStripSet swig_types[255] -#define SWIGTYPE_p_SoInfo swig_types[256] -#define SWIGTYPE_p_SoInput swig_types[257] -#define SWIGTYPE_p_SoInt32Element swig_types[258] -#define SWIGTYPE_p_SoInteraction swig_types[259] -#define SWIGTYPE_p_SoInteractionKit swig_types[260] -#define SWIGTYPE_p_SoInterpolate swig_types[261] -#define SWIGTYPE_p_SoInterpolateFloat swig_types[262] -#define SWIGTYPE_p_SoInterpolateRotation swig_types[263] -#define SWIGTYPE_p_SoInterpolateVec2f swig_types[264] -#define SWIGTYPE_p_SoInterpolateVec3f swig_types[265] -#define SWIGTYPE_p_SoInterpolateVec4f swig_types[266] -#define SWIGTYPE_p_SoIntersectingPrimitive swig_types[267] -#define SWIGTYPE_p_SoIntersectionCB swig_types[268] -#define SWIGTYPE_p_SoIntersectionDetectionAction swig_types[269] -#define SWIGTYPE_p_SoIntersectionFilterCB swig_types[270] -#define SWIGTYPE_p_SoIntersectionVisitationCB swig_types[271] -#define SWIGTYPE_p_SoJackDragger swig_types[272] -#define SWIGTYPE_p_SoJackManip swig_types[273] -#define SWIGTYPE_p_SoKeyboardEvent swig_types[274] -#define SWIGTYPE_p_SoLOD swig_types[275] -#define SWIGTYPE_p_SoLabel swig_types[276] -#define SWIGTYPE_p_SoLazyElement swig_types[277] -#define SWIGTYPE_p_SoLevelOfDetail swig_types[278] -#define SWIGTYPE_p_SoLight swig_types[279] -#define SWIGTYPE_p_SoLightAttenuationElement swig_types[280] -#define SWIGTYPE_p_SoLightElement swig_types[281] -#define SWIGTYPE_p_SoLightKit swig_types[282] -#define SWIGTYPE_p_SoLightModel swig_types[283] -#define SWIGTYPE_p_SoLightModelElement swig_types[284] -#define SWIGTYPE_p_SoLightPath swig_types[285] -#define SWIGTYPE_p_SoLineDetail swig_types[286] -#define SWIGTYPE_p_SoLineHighlightRenderAction swig_types[287] -#define SWIGTYPE_p_SoLinePatternElement swig_types[288] -#define SWIGTYPE_p_SoLineSet swig_types[289] -#define SWIGTYPE_p_SoLineWidthElement swig_types[290] -#define SWIGTYPE_p_SoLinearProfile swig_types[291] -#define SWIGTYPE_p_SoListener swig_types[292] -#define SWIGTYPE_p_SoListenerDopplerElement swig_types[293] -#define SWIGTYPE_p_SoListenerGainElement swig_types[294] -#define SWIGTYPE_p_SoListenerOrientationElement swig_types[295] -#define SWIGTYPE_p_SoListenerPositionElement swig_types[296] -#define SWIGTYPE_p_SoLocalBBoxMatrixElement swig_types[297] -#define SWIGTYPE_p_SoLocateHighlight swig_types[298] -#define SWIGTYPE_p_SoLocation2Event swig_types[299] -#define SWIGTYPE_p_SoLockManager swig_types[300] -#define SWIGTYPE_p_SoMFBitMask swig_types[301] -#define SWIGTYPE_p_SoMFBool swig_types[302] -#define SWIGTYPE_p_SoMFColor swig_types[303] -#define SWIGTYPE_p_SoMFEngine swig_types[304] -#define SWIGTYPE_p_SoMFEnum swig_types[305] -#define SWIGTYPE_p_SoMFFloat swig_types[306] -#define SWIGTYPE_p_SoMFInt32 swig_types[307] -#define SWIGTYPE_p_SoMFMatrix swig_types[308] -#define SWIGTYPE_p_SoMFName swig_types[309] -#define SWIGTYPE_p_SoMFNode swig_types[310] -#define SWIGTYPE_p_SoMFPath swig_types[311] -#define SWIGTYPE_p_SoMFPlane swig_types[312] -#define SWIGTYPE_p_SoMFRotation swig_types[313] -#define SWIGTYPE_p_SoMFShort swig_types[314] -#define SWIGTYPE_p_SoMFString swig_types[315] -#define SWIGTYPE_p_SoMFTime swig_types[316] -#define SWIGTYPE_p_SoMFUInt32 swig_types[317] -#define SWIGTYPE_p_SoMFUShort swig_types[318] -#define SWIGTYPE_p_SoMFVec2f swig_types[319] -#define SWIGTYPE_p_SoMFVec3d swig_types[320] -#define SWIGTYPE_p_SoMFVec3f swig_types[321] -#define SWIGTYPE_p_SoMFVec4f swig_types[322] -#define SWIGTYPE_p_SoMField swig_types[323] -#define SWIGTYPE_p_SoMarkerSet swig_types[324] -#define SWIGTYPE_p_SoMaterial swig_types[325] -#define SWIGTYPE_p_SoMaterialBinding swig_types[326] -#define SWIGTYPE_p_SoMaterialBindingElement swig_types[327] -#define SWIGTYPE_p_SoMaterialBundle swig_types[328] -#define SWIGTYPE_p_SoMatrixTransform swig_types[329] -#define SWIGTYPE_p_SoMemoryError swig_types[330] -#define SWIGTYPE_p_SoModelMatrixElement swig_types[331] -#define SWIGTYPE_p_SoMotion3Event swig_types[332] -#define SWIGTYPE_p_SoMouseButtonEvent swig_types[333] -#define SWIGTYPE_p_SoMultiTextureCoordinateElement swig_types[334] -#define SWIGTYPE_p_SoMultiTextureEnabledElement swig_types[335] -#define SWIGTYPE_p_SoMultiTextureImageElement swig_types[336] -#define SWIGTYPE_p_SoMultiTextureMatrixElement swig_types[337] -#define SWIGTYPE_p_SoMultipleCopy swig_types[338] -#define SWIGTYPE_p_SoNode swig_types[339] -#define SWIGTYPE_p_SoNodeEngine swig_types[340] -#define SWIGTYPE_p_SoNodeKit swig_types[341] -#define SWIGTYPE_p_SoNodeKitDetail swig_types[342] -#define SWIGTYPE_p_SoNodeKitListPart swig_types[343] -#define SWIGTYPE_p_SoNodeKitPath swig_types[344] -#define SWIGTYPE_p_SoNodeList swig_types[345] -#define SWIGTYPE_p_SoNodeSensor swig_types[346] -#define SWIGTYPE_p_SoNodekitCatalog swig_types[347] -#define SWIGTYPE_p_SoNonIndexedShape swig_types[348] -#define SWIGTYPE_p_SoNormal swig_types[349] -#define SWIGTYPE_p_SoNormalBinding swig_types[350] -#define SWIGTYPE_p_SoNormalBindingElement swig_types[351] -#define SWIGTYPE_p_SoNormalBundle swig_types[352] -#define SWIGTYPE_p_SoNormalCache swig_types[353] -#define SWIGTYPE_p_SoNormalElement swig_types[354] -#define SWIGTYPE_p_SoNormalGenerator swig_types[355] -#define SWIGTYPE_p_SoNotList swig_types[356] -#define SWIGTYPE_p_SoNotRec swig_types[357] -#define SWIGTYPE_p_SoNurbsCurve swig_types[358] -#define SWIGTYPE_p_SoNurbsProfile swig_types[359] -#define SWIGTYPE_p_SoNurbsSurface swig_types[360] -#define SWIGTYPE_p_SoOffscreenRenderer swig_types[361] -#define SWIGTYPE_p_SoOnOff swig_types[362] -#define SWIGTYPE_p_SoOneShot swig_types[363] -#define SWIGTYPE_p_SoOneShotSensor swig_types[364] -#define SWIGTYPE_p_SoOrthographicCamera swig_types[365] -#define SWIGTYPE_p_SoOutput swig_types[366] -#define SWIGTYPE_p_SoOverrideElement swig_types[367] -#define SWIGTYPE_p_SoPSVectorOutput swig_types[368] -#define SWIGTYPE_p_SoPackedColor swig_types[369] -#define SWIGTYPE_p_SoPath swig_types[370] -#define SWIGTYPE_p_SoPathList swig_types[371] -#define SWIGTYPE_p_SoPathSensor swig_types[372] -#define SWIGTYPE_p_SoPathSwitch swig_types[373] -#define SWIGTYPE_p_SoPendulum swig_types[374] -#define SWIGTYPE_p_SoPerspectiveCamera swig_types[375] -#define SWIGTYPE_p_SoPickAction swig_types[376] -#define SWIGTYPE_p_SoPickRayElement swig_types[377] -#define SWIGTYPE_p_SoPickStyle swig_types[378] -#define SWIGTYPE_p_SoPickStyleElement swig_types[379] -#define SWIGTYPE_p_SoPickedPoint swig_types[380] -#define SWIGTYPE_p_SoPickedPointList swig_types[381] -#define SWIGTYPE_p_SoPointDetail swig_types[382] -#define SWIGTYPE_p_SoPointLight swig_types[383] -#define SWIGTYPE_p_SoPointLightDragger swig_types[384] -#define SWIGTYPE_p_SoPointLightManip swig_types[385] -#define SWIGTYPE_p_SoPointSet swig_types[386] -#define SWIGTYPE_p_SoPointSizeElement swig_types[387] -#define SWIGTYPE_p_SoPolygonOffset swig_types[388] -#define SWIGTYPE_p_SoPolygonOffsetElement swig_types[389] -#define SWIGTYPE_p_SoPolygonOffsetElement__Style swig_types[390] -#define SWIGTYPE_p_SoPrimitiveVertex swig_types[391] -#define SWIGTYPE_p_SoProfile swig_types[392] -#define SWIGTYPE_p_SoProfileCoordinate2 swig_types[393] -#define SWIGTYPE_p_SoProfileCoordinate3 swig_types[394] -#define SWIGTYPE_p_SoProfileCoordinateElement swig_types[395] -#define SWIGTYPE_p_SoProfileElement swig_types[396] -#define SWIGTYPE_p_SoProjectionMatrixElement swig_types[397] -#define SWIGTYPE_p_SoProto swig_types[398] -#define SWIGTYPE_p_SoProtoInstance swig_types[399] -#define SWIGTYPE_p_SoQuadMesh swig_types[400] -#define SWIGTYPE_p_SoRayPickAction swig_types[401] -#define SWIGTYPE_p_SoReadError swig_types[402] -#define SWIGTYPE_p_SoReplacedElement swig_types[403] -#define SWIGTYPE_p_SoResetTransform swig_types[404] -#define SWIGTYPE_p_SoRotateCylindricalDragger swig_types[405] -#define SWIGTYPE_p_SoRotateDiscDragger swig_types[406] -#define SWIGTYPE_p_SoRotateSphericalDragger swig_types[407] -#define SWIGTYPE_p_SoRotation swig_types[408] -#define SWIGTYPE_p_SoRotationXYZ swig_types[409] -#define SWIGTYPE_p_SoRotor swig_types[410] -#define SWIGTYPE_p_SoSFBitMask swig_types[411] -#define SWIGTYPE_p_SoSFBool swig_types[412] -#define SWIGTYPE_p_SoSFBox3s swig_types[413] -#define SWIGTYPE_p_SoSFColor swig_types[414] -#define SWIGTYPE_p_SoSFEngine swig_types[415] -#define SWIGTYPE_p_SoSFEnum swig_types[416] -#define SWIGTYPE_p_SoSFFloat swig_types[417] -#define SWIGTYPE_p_SoSFImage swig_types[418] -#define SWIGTYPE_p_SoSFImage3 swig_types[419] -#define SWIGTYPE_p_SoSFInt32 swig_types[420] -#define SWIGTYPE_p_SoSFMatrix swig_types[421] -#define SWIGTYPE_p_SoSFName swig_types[422] -#define SWIGTYPE_p_SoSFNode swig_types[423] -#define SWIGTYPE_p_SoSFPath swig_types[424] -#define SWIGTYPE_p_SoSFPlane swig_types[425] -#define SWIGTYPE_p_SoSFRotation swig_types[426] -#define SWIGTYPE_p_SoSFShort swig_types[427] -#define SWIGTYPE_p_SoSFString swig_types[428] -#define SWIGTYPE_p_SoSFTime swig_types[429] -#define SWIGTYPE_p_SoSFTrigger swig_types[430] -#define SWIGTYPE_p_SoSFUInt32 swig_types[431] -#define SWIGTYPE_p_SoSFUShort swig_types[432] -#define SWIGTYPE_p_SoSFVec2f swig_types[433] -#define SWIGTYPE_p_SoSFVec2s swig_types[434] -#define SWIGTYPE_p_SoSFVec3d swig_types[435] -#define SWIGTYPE_p_SoSFVec3f swig_types[436] -#define SWIGTYPE_p_SoSFVec3s swig_types[437] -#define SWIGTYPE_p_SoSFVec4f swig_types[438] -#define SWIGTYPE_p_SoSField swig_types[439] -#define SWIGTYPE_p_SoScale swig_types[440] -#define SWIGTYPE_p_SoScale1Dragger swig_types[441] -#define SWIGTYPE_p_SoScale2Dragger swig_types[442] -#define SWIGTYPE_p_SoScale2UniformDragger swig_types[443] -#define SWIGTYPE_p_SoScaleUniformDragger swig_types[444] -#define SWIGTYPE_p_SoSceneKit swig_types[445] -#define SWIGTYPE_p_SoSceneManager swig_types[446] -#define SWIGTYPE_p_SoSceneTexture2 swig_types[447] -#define SWIGTYPE_p_SoSearchAction swig_types[448] -#define SWIGTYPE_p_SoSelectOne swig_types[449] -#define SWIGTYPE_p_SoSelection swig_types[450] -#define SWIGTYPE_p_SoSensor swig_types[451] -#define SWIGTYPE_p_SoSensorManager swig_types[452] -#define SWIGTYPE_p_SoSeparator swig_types[453] -#define SWIGTYPE_p_SoSeparatorKit swig_types[454] -#define SWIGTYPE_p_SoShape swig_types[455] -#define SWIGTYPE_p_SoShapeHints swig_types[456] -#define SWIGTYPE_p_SoShapeHintsElement swig_types[457] -#define SWIGTYPE_p_SoShapeHintsElement__FaceType swig_types[458] -#define SWIGTYPE_p_SoShapeHintsElement__ShapeType swig_types[459] -#define SWIGTYPE_p_SoShapeHintsElement__VertexOrdering swig_types[460] -#define SWIGTYPE_p_SoShapeKit swig_types[461] -#define SWIGTYPE_p_SoShapeStyleElement swig_types[462] -#define SWIGTYPE_p_SoShininessElement swig_types[463] -#define SWIGTYPE_p_SoShuttle swig_types[464] -#define SWIGTYPE_p_SoSoundElement swig_types[465] -#define SWIGTYPE_p_SoSpaceballButtonEvent swig_types[466] -#define SWIGTYPE_p_SoSpecularColorElement swig_types[467] -#define SWIGTYPE_p_SoSphere swig_types[468] -#define SWIGTYPE_p_SoSpotLight swig_types[469] -#define SWIGTYPE_p_SoSpotLightDragger swig_types[470] -#define SWIGTYPE_p_SoSpotLightManip swig_types[471] -#define SWIGTYPE_p_SoState swig_types[472] -#define SWIGTYPE_p_SoSurroundScale swig_types[473] -#define SWIGTYPE_p_SoSwitch swig_types[474] -#define SWIGTYPE_p_SoSwitchElement swig_types[475] -#define SWIGTYPE_p_SoTabBoxDragger swig_types[476] -#define SWIGTYPE_p_SoTabBoxManip swig_types[477] -#define SWIGTYPE_p_SoTabPlaneDragger swig_types[478] -#define SWIGTYPE_p_SoTempPath swig_types[479] -#define SWIGTYPE_p_SoText2 swig_types[480] -#define SWIGTYPE_p_SoText3 swig_types[481] -#define SWIGTYPE_p_SoTextDetail swig_types[482] -#define SWIGTYPE_p_SoTextOutlineEnabledElement swig_types[483] -#define SWIGTYPE_p_SoTexture2 swig_types[484] -#define SWIGTYPE_p_SoTexture2Transform swig_types[485] -#define SWIGTYPE_p_SoTexture3 swig_types[486] -#define SWIGTYPE_p_SoTexture3EnabledElement swig_types[487] -#define SWIGTYPE_p_SoTexture3Transform swig_types[488] -#define SWIGTYPE_p_SoTextureCombine swig_types[489] -#define SWIGTYPE_p_SoTextureCombineElement swig_types[490] -#define SWIGTYPE_p_SoTextureCombineElement__Operand swig_types[491] -#define SWIGTYPE_p_SoTextureCombineElement__Operation swig_types[492] -#define SWIGTYPE_p_SoTextureCombineElement__Source swig_types[493] -#define SWIGTYPE_p_SoTextureCoordinate2 swig_types[494] -#define SWIGTYPE_p_SoTextureCoordinate3 swig_types[495] -#define SWIGTYPE_p_SoTextureCoordinateBinding swig_types[496] -#define SWIGTYPE_p_SoTextureCoordinateBindingElement swig_types[497] -#define SWIGTYPE_p_SoTextureCoordinateBundle swig_types[498] -#define SWIGTYPE_p_SoTextureCoordinateCache swig_types[499] -#define SWIGTYPE_p_SoTextureCoordinateCube swig_types[500] -#define SWIGTYPE_p_SoTextureCoordinateCylinder swig_types[501] -#define SWIGTYPE_p_SoTextureCoordinateDefault swig_types[502] -#define SWIGTYPE_p_SoTextureCoordinateElement swig_types[503] -#define SWIGTYPE_p_SoTextureCoordinateEnvironment swig_types[504] -#define SWIGTYPE_p_SoTextureCoordinateFunction swig_types[505] -#define SWIGTYPE_p_SoTextureCoordinatePlane swig_types[506] -#define SWIGTYPE_p_SoTextureCoordinateSphere swig_types[507] -#define SWIGTYPE_p_SoTextureEnabledElement swig_types[508] -#define SWIGTYPE_p_SoTextureImageElement swig_types[509] -#define SWIGTYPE_p_SoTextureImageElement__Model swig_types[510] -#define SWIGTYPE_p_SoTextureImageElement__Wrap swig_types[511] -#define SWIGTYPE_p_SoTextureMatrixElement swig_types[512] -#define SWIGTYPE_p_SoTextureOverrideElement swig_types[513] -#define SWIGTYPE_p_SoTextureQualityElement swig_types[514] -#define SWIGTYPE_p_SoTextureScalePolicy swig_types[515] -#define SWIGTYPE_p_SoTextureUnit swig_types[516] -#define SWIGTYPE_p_SoTextureUnitElement swig_types[517] -#define SWIGTYPE_p_SoTimeCounter swig_types[518] -#define SWIGTYPE_p_SoTimerQueueSensor swig_types[519] -#define SWIGTYPE_p_SoTimerSensor swig_types[520] -#define SWIGTYPE_p_SoToVRML2Action swig_types[521] -#define SWIGTYPE_p_SoToVRMLAction swig_types[522] -#define SWIGTYPE_p_SoTrackballDragger swig_types[523] -#define SWIGTYPE_p_SoTrackballManip swig_types[524] -#define SWIGTYPE_p_SoTranReceiver swig_types[525] -#define SWIGTYPE_p_SoTranSender swig_types[526] -#define SWIGTYPE_p_SoTransform swig_types[527] -#define SWIGTYPE_p_SoTransformBoxDragger swig_types[528] -#define SWIGTYPE_p_SoTransformBoxManip swig_types[529] -#define SWIGTYPE_p_SoTransformManip swig_types[530] -#define SWIGTYPE_p_SoTransformSeparator swig_types[531] -#define SWIGTYPE_p_SoTransformVec3f swig_types[532] -#define SWIGTYPE_p_SoTransformation swig_types[533] -#define SWIGTYPE_p_SoTransformerDragger swig_types[534] -#define SWIGTYPE_p_SoTransformerManip swig_types[535] -#define SWIGTYPE_p_SoTranslate1Dragger swig_types[536] -#define SWIGTYPE_p_SoTranslate2Dragger swig_types[537] -#define SWIGTYPE_p_SoTranslation swig_types[538] -#define SWIGTYPE_p_SoTransparencyElement swig_types[539] -#define SWIGTYPE_p_SoTransparencyType swig_types[540] -#define SWIGTYPE_p_SoTriangleStripSet swig_types[541] -#define SWIGTYPE_p_SoTriggerAny swig_types[542] -#define SWIGTYPE_p_SoType swig_types[543] -#define SWIGTYPE_p_SoTypeList swig_types[544] -#define SWIGTYPE_p_SoUnits swig_types[545] -#define SWIGTYPE_p_SoUnitsElement swig_types[546] -#define SWIGTYPE_p_SoVRMLAnchor swig_types[547] -#define SWIGTYPE_p_SoVRMLAppearance swig_types[548] -#define SWIGTYPE_p_SoVRMLAudioClip swig_types[549] -#define SWIGTYPE_p_SoVRMLBackground swig_types[550] -#define SWIGTYPE_p_SoVRMLBillboard swig_types[551] -#define SWIGTYPE_p_SoVRMLBox swig_types[552] -#define SWIGTYPE_p_SoVRMLCollision swig_types[553] -#define SWIGTYPE_p_SoVRMLColor swig_types[554] -#define SWIGTYPE_p_SoVRMLColorInterpolator swig_types[555] -#define SWIGTYPE_p_SoVRMLCone swig_types[556] -#define SWIGTYPE_p_SoVRMLCoordinate swig_types[557] -#define SWIGTYPE_p_SoVRMLCoordinateInterpolator swig_types[558] -#define SWIGTYPE_p_SoVRMLCylinder swig_types[559] -#define SWIGTYPE_p_SoVRMLCylinderSensor swig_types[560] -#define SWIGTYPE_p_SoVRMLDirectionalLight swig_types[561] -#define SWIGTYPE_p_SoVRMLDragSensor swig_types[562] -#define SWIGTYPE_p_SoVRMLElevationGrid swig_types[563] -#define SWIGTYPE_p_SoVRMLExtrusion swig_types[564] -#define SWIGTYPE_p_SoVRMLFog swig_types[565] -#define SWIGTYPE_p_SoVRMLFontStyle swig_types[566] -#define SWIGTYPE_p_SoVRMLGeometry swig_types[567] -#define SWIGTYPE_p_SoVRMLGroup swig_types[568] -#define SWIGTYPE_p_SoVRMLImageTexture swig_types[569] -#define SWIGTYPE_p_SoVRMLIndexedFaceSet swig_types[570] -#define SWIGTYPE_p_SoVRMLIndexedLine swig_types[571] -#define SWIGTYPE_p_SoVRMLIndexedLineSet swig_types[572] -#define SWIGTYPE_p_SoVRMLIndexedShape swig_types[573] -#define SWIGTYPE_p_SoVRMLInline swig_types[574] -#define SWIGTYPE_p_SoVRMLInterpolator swig_types[575] -#define SWIGTYPE_p_SoVRMLLOD swig_types[576] -#define SWIGTYPE_p_SoVRMLLight swig_types[577] -#define SWIGTYPE_p_SoVRMLMaterial swig_types[578] -#define SWIGTYPE_p_SoVRMLMovieTexture swig_types[579] -#define SWIGTYPE_p_SoVRMLNavigationInfo swig_types[580] -#define SWIGTYPE_p_SoVRMLNormal swig_types[581] -#define SWIGTYPE_p_SoVRMLNormalInterpolator swig_types[582] -#define SWIGTYPE_p_SoVRMLOrientationInterpolator swig_types[583] -#define SWIGTYPE_p_SoVRMLParent swig_types[584] -#define SWIGTYPE_p_SoVRMLPixelTexture swig_types[585] -#define SWIGTYPE_p_SoVRMLPlaneSensor swig_types[586] -#define SWIGTYPE_p_SoVRMLPointLight swig_types[587] -#define SWIGTYPE_p_SoVRMLPointSet swig_types[588] -#define SWIGTYPE_p_SoVRMLPositionInterpolator swig_types[589] -#define SWIGTYPE_p_SoVRMLProximitySensor swig_types[590] -#define SWIGTYPE_p_SoVRMLScalarInterpolator swig_types[591] -#define SWIGTYPE_p_SoVRMLScript swig_types[592] -#define SWIGTYPE_p_SoVRMLSensor swig_types[593] -#define SWIGTYPE_p_SoVRMLShape swig_types[594] -#define SWIGTYPE_p_SoVRMLSound swig_types[595] -#define SWIGTYPE_p_SoVRMLSphere swig_types[596] -#define SWIGTYPE_p_SoVRMLSphereSensor swig_types[597] -#define SWIGTYPE_p_SoVRMLSpotLight swig_types[598] -#define SWIGTYPE_p_SoVRMLSwitch swig_types[599] -#define SWIGTYPE_p_SoVRMLText swig_types[600] -#define SWIGTYPE_p_SoVRMLTexture swig_types[601] -#define SWIGTYPE_p_SoVRMLTextureCoordinate swig_types[602] -#define SWIGTYPE_p_SoVRMLTextureTransform swig_types[603] -#define SWIGTYPE_p_SoVRMLTimeSensor swig_types[604] -#define SWIGTYPE_p_SoVRMLTouchSensor swig_types[605] -#define SWIGTYPE_p_SoVRMLTransform swig_types[606] -#define SWIGTYPE_p_SoVRMLVertexLine swig_types[607] -#define SWIGTYPE_p_SoVRMLVertexPoint swig_types[608] -#define SWIGTYPE_p_SoVRMLVertexShape swig_types[609] -#define SWIGTYPE_p_SoVRMLViewpoint swig_types[610] -#define SWIGTYPE_p_SoVRMLVisibilitySensor swig_types[611] -#define SWIGTYPE_p_SoVRMLWorldInfo swig_types[612] -#define SWIGTYPE_p_SoVectorOutput swig_types[613] -#define SWIGTYPE_p_SoVectorizeAction swig_types[614] -#define SWIGTYPE_p_SoVectorizePSAction swig_types[615] -#define SWIGTYPE_p_SoVertexProperty swig_types[616] -#define SWIGTYPE_p_SoVertexShape swig_types[617] -#define SWIGTYPE_p_SoViewVolumeElement swig_types[618] -#define SWIGTYPE_p_SoViewingMatrixElement swig_types[619] -#define SWIGTYPE_p_SoViewportRegionElement swig_types[620] -#define SWIGTYPE_p_SoWWWAnchor swig_types[621] -#define SWIGTYPE_p_SoWWWInline swig_types[622] -#define SWIGTYPE_p_SoWindowElement swig_types[623] -#define SWIGTYPE_p_SoWrapperKit swig_types[624] -#define SWIGTYPE_p_SoWriteAction swig_types[625] -#define SWIGTYPE_p___int64 swig_types[626] -#define SWIGTYPE_p_a_4__a_4__double swig_types[627] -#define SWIGTYPE_p_a_4__a_4__doublep swig_types[628] -#define SWIGTYPE_p_a_4__a_4__float swig_types[629] -#define SWIGTYPE_p_a_4__a_4__floatp swig_types[630] -#define SWIGTYPE_p_a_4__float swig_types[631] -#define SWIGTYPE_p_a_4__floatp swig_types[632] -#define SWIGTYPE_p_cc_glglue swig_types[633] -#define SWIGTYPE_p_char swig_types[634] -#define SWIGTYPE_p_charp swig_types[635] -#define SWIGTYPE_p_close_func swig_types[636] -#define SWIGTYPE_p_double swig_types[637] -#define SWIGTYPE_p_doublep swig_types[638] -#define SWIGTYPE_p_f_char__char swig_types[639] -#define SWIGTYPE_p_f_char__charp swig_types[640] -#define SWIGTYPE_p_f_float_p_void__int swig_types[641] -#define SWIGTYPE_p_f_float_p_void__intp swig_types[642] -#define SWIGTYPE_p_f_p_SoAction_p_SoNode__void swig_types[643] -#define SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto swig_types[644] -#define SWIGTYPE_p_f_p_q_const__SoError_p_void__void swig_types[645] -#define SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode swig_types[646] -#define SWIGTYPE_p_f_p_void__float swig_types[647] -#define SWIGTYPE_p_f_p_void__floatp swig_types[648] -#define SWIGTYPE_p_f_p_void__int swig_types[649] -#define SWIGTYPE_p_f_p_void__intp swig_types[650] -#define SWIGTYPE_p_f_p_void__p_void swig_types[651] -#define SWIGTYPE_p_f_p_void__void swig_types[652] -#define SWIGTYPE_p_f_p_void_int__void swig_types[653] -#define SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int swig_types[654] -#define SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp swig_types[655] -#define SWIGTYPE_p_f_p_void_p_SoAction__void swig_types[656] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response swig_types[657] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int swig_types[658] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp swig_types[659] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void swig_types[660] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[661] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[662] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[663] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[664] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[665] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[666] -#define SWIGTYPE_p_f_p_void_p_SoDragger__void swig_types[667] -#define SWIGTYPE_p_f_p_void_p_SoEventCallback__void swig_types[668] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void swig_types[669] -#define SWIGTYPE_p_f_p_void_p_SoInput__void swig_types[670] -#define SWIGTYPE_p_f_p_void_p_SoPath__void swig_types[671] -#define SWIGTYPE_p_f_p_void_p_SoSceneManager__void swig_types[672] -#define SWIGTYPE_p_f_p_void_p_SoSelection__void swig_types[673] -#define SWIGTYPE_p_f_p_void_p_SoSensor__void swig_types[674] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__int swig_types[675] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__intp swig_types[676] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__long swig_types[677] -#define SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__longp swig_types[678] -#define SWIGTYPE_p_f_p_void_p_SoVRMLScript__void swig_types[679] -#define SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp swig_types[680] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response swig_types[681] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoFullPath swig_types[682] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath swig_types[683] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath swig_types[684] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoTempPath swig_types[685] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int swig_types[686] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp swig_types[687] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath swig_types[688] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath swig_types[689] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath swig_types[690] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath swig_types[691] -#define SWIGTYPE_p_f_p_void_p_void__int swig_types[692] -#define SWIGTYPE_p_f_p_void_p_void__intp swig_types[693] -#define SWIGTYPE_p_f_p_void_p_void__void swig_types[694] -#define SWIGTYPE_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t swig_types[695] -#define SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void swig_types[696] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f swig_types[697] -#define SWIGTYPE_p_f_p_void_size_t__p_void swig_types[698] -#define SWIGTYPE_p_f_p_void_unsigned_int__void swig_types[699] -#define SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int swig_types[700] -#define SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp swig_types[701] -#define SWIGTYPE_p_f_q_const__p_void_r_SbBox3f__void swig_types[702] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int swig_types[703] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__intp swig_types[704] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int swig_types[705] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__intp swig_types[706] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int swig_types[707] -#define SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__intp swig_types[708] -#define SWIGTYPE_p_f_q_const__unsigned_long__unsigned_long swig_types[709] -#define SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int swig_types[710] -#define SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__intp swig_types[711] -#define SWIGTYPE_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void swig_types[712] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int swig_types[713] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__intp swig_types[714] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void swig_types[715] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int swig_types[716] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp swig_types[717] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void swig_types[718] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void swig_types[719] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void swig_types[720] -#define SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void swig_types[721] -#define SWIGTYPE_p_f_unsigned_int_p_void__void swig_types[722] -#define SWIGTYPE_p_f_unsigned_long_p_void__void swig_types[723] -#define SWIGTYPE_p_f_unsigned_long_p_void_p_void__void swig_types[724] -#define SWIGTYPE_p_f_void__p_void swig_types[725] -#define SWIGTYPE_p_float swig_types[726] -#define SWIGTYPE_p_floatp swig_types[727] -#define SWIGTYPE_p_int swig_types[728] -#define SWIGTYPE_p_intp swig_types[729] -#define SWIGTYPE_p_long swig_types[730] -#define SWIGTYPE_p_longp swig_types[731] -#define SWIGTYPE_p_open_func swig_types[732] -#define SWIGTYPE_p_p_SbName swig_types[733] -#define SWIGTYPE_p_p_SbString swig_types[734] -#define SWIGTYPE_p_p_SbVec2f swig_types[735] -#define SWIGTYPE_p_p_SoAnnotation swig_types[736] -#define SWIGTYPE_p_p_SoAntiSquish swig_types[737] -#define SWIGTYPE_p_p_SoAppearanceKit swig_types[738] -#define SWIGTYPE_p_p_SoArray swig_types[739] -#define SWIGTYPE_p_p_SoAsciiText swig_types[740] -#define SWIGTYPE_p_p_SoBase swig_types[741] -#define SWIGTYPE_p_p_SoBaseColor swig_types[742] -#define SWIGTYPE_p_p_SoBaseKit swig_types[743] -#define SWIGTYPE_p_p_SoBlinker swig_types[744] -#define SWIGTYPE_p_p_SoBoolOperation swig_types[745] -#define SWIGTYPE_p_p_SoBoxHighlightRenderAction swig_types[746] -#define SWIGTYPE_p_p_SoBumpMap swig_types[747] -#define SWIGTYPE_p_p_SoBumpMapCoordinate swig_types[748] -#define SWIGTYPE_p_p_SoBumpMapTransform swig_types[749] -#define SWIGTYPE_p_p_SoCalculator swig_types[750] -#define SWIGTYPE_p_p_SoCallback swig_types[751] -#define SWIGTYPE_p_p_SoCamera swig_types[752] -#define SWIGTYPE_p_p_SoCameraKit swig_types[753] -#define SWIGTYPE_p_p_SoCenterballDragger swig_types[754] -#define SWIGTYPE_p_p_SoCenterballManip swig_types[755] -#define SWIGTYPE_p_p_SoClipPlane swig_types[756] -#define SWIGTYPE_p_p_SoClipPlaneManip swig_types[757] -#define SWIGTYPE_p_p_SoColorIndex swig_types[758] -#define SWIGTYPE_p_p_SoComplexity swig_types[759] -#define SWIGTYPE_p_p_SoComposeMatrix swig_types[760] -#define SWIGTYPE_p_p_SoComposeRotation swig_types[761] -#define SWIGTYPE_p_p_SoComposeRotationFromTo swig_types[762] -#define SWIGTYPE_p_p_SoComposeVec2f swig_types[763] -#define SWIGTYPE_p_p_SoComposeVec3f swig_types[764] -#define SWIGTYPE_p_p_SoComposeVec4f swig_types[765] -#define SWIGTYPE_p_p_SoComputeBoundingBox swig_types[766] -#define SWIGTYPE_p_p_SoConcatenate swig_types[767] -#define SWIGTYPE_p_p_SoCone swig_types[768] -#define SWIGTYPE_p_p_SoCoordinate3 swig_types[769] -#define SWIGTYPE_p_p_SoCoordinate4 swig_types[770] -#define SWIGTYPE_p_p_SoCounter swig_types[771] -#define SWIGTYPE_p_p_SoCube swig_types[772] -#define SWIGTYPE_p_p_SoCylinder swig_types[773] -#define SWIGTYPE_p_p_SoDecomposeMatrix swig_types[774] -#define SWIGTYPE_p_p_SoDecomposeRotation swig_types[775] -#define SWIGTYPE_p_p_SoDecomposeVec2f swig_types[776] -#define SWIGTYPE_p_p_SoDecomposeVec3f swig_types[777] -#define SWIGTYPE_p_p_SoDecomposeVec4f swig_types[778] -#define SWIGTYPE_p_p_SoDirectionalLight swig_types[779] -#define SWIGTYPE_p_p_SoDirectionalLightDragger swig_types[780] -#define SWIGTYPE_p_p_SoDirectionalLightManip swig_types[781] -#define SWIGTYPE_p_p_SoDragPointDragger swig_types[782] -#define SWIGTYPE_p_p_SoDragger swig_types[783] -#define SWIGTYPE_p_p_SoDrawStyle swig_types[784] -#define SWIGTYPE_p_p_SoElapsedTime swig_types[785] -#define SWIGTYPE_p_p_SoEngine swig_types[786] -#define SWIGTYPE_p_p_SoEngineOutput swig_types[787] -#define SWIGTYPE_p_p_SoEnvironment swig_types[788] -#define SWIGTYPE_p_p_SoEventCallback swig_types[789] -#define SWIGTYPE_p_p_SoExtSelection swig_types[790] -#define SWIGTYPE_p_p_SoFaceSet swig_types[791] -#define SWIGTYPE_p_p_SoField swig_types[792] -#define SWIGTYPE_p_p_SoFieldContainer swig_types[793] -#define SWIGTYPE_p_p_SoFieldConverter swig_types[794] -#define SWIGTYPE_p_p_SoFile swig_types[795] -#define SWIGTYPE_p_p_SoFont swig_types[796] -#define SWIGTYPE_p_p_SoFontStyle swig_types[797] -#define SWIGTYPE_p_p_SoFullPath swig_types[798] -#define SWIGTYPE_p_p_SoGLRenderAction swig_types[799] -#define SWIGTYPE_p_p_SoGate swig_types[800] -#define SWIGTYPE_p_p_SoGroup swig_types[801] -#define SWIGTYPE_p_p_SoHandleBoxDragger swig_types[802] -#define SWIGTYPE_p_p_SoHandleBoxManip swig_types[803] -#define SWIGTYPE_p_p_SoImage swig_types[804] -#define SWIGTYPE_p_p_SoIndexedFaceSet swig_types[805] -#define SWIGTYPE_p_p_SoIndexedLineSet swig_types[806] -#define SWIGTYPE_p_p_SoIndexedNurbsCurve swig_types[807] -#define SWIGTYPE_p_p_SoIndexedNurbsSurface swig_types[808] -#define SWIGTYPE_p_p_SoIndexedShape swig_types[809] -#define SWIGTYPE_p_p_SoIndexedTriangleStripSet swig_types[810] -#define SWIGTYPE_p_p_SoInfo swig_types[811] -#define SWIGTYPE_p_p_SoInteractionKit swig_types[812] -#define SWIGTYPE_p_p_SoInterpolate swig_types[813] -#define SWIGTYPE_p_p_SoInterpolateFloat swig_types[814] -#define SWIGTYPE_p_p_SoInterpolateRotation swig_types[815] -#define SWIGTYPE_p_p_SoInterpolateVec2f swig_types[816] -#define SWIGTYPE_p_p_SoInterpolateVec3f swig_types[817] -#define SWIGTYPE_p_p_SoInterpolateVec4f swig_types[818] -#define SWIGTYPE_p_p_SoJackDragger swig_types[819] -#define SWIGTYPE_p_p_SoJackManip swig_types[820] -#define SWIGTYPE_p_p_SoLOD swig_types[821] -#define SWIGTYPE_p_p_SoLabel swig_types[822] -#define SWIGTYPE_p_p_SoLevelOfDetail swig_types[823] -#define SWIGTYPE_p_p_SoLight swig_types[824] -#define SWIGTYPE_p_p_SoLightKit swig_types[825] -#define SWIGTYPE_p_p_SoLightModel swig_types[826] -#define SWIGTYPE_p_p_SoLineHighlightRenderAction swig_types[827] -#define SWIGTYPE_p_p_SoLineSet swig_types[828] -#define SWIGTYPE_p_p_SoLinearProfile swig_types[829] -#define SWIGTYPE_p_p_SoListener swig_types[830] -#define SWIGTYPE_p_p_SoLocateHighlight swig_types[831] -#define SWIGTYPE_p_p_SoMFBitMask swig_types[832] -#define SWIGTYPE_p_p_SoMFBool swig_types[833] -#define SWIGTYPE_p_p_SoMFColor swig_types[834] -#define SWIGTYPE_p_p_SoMFEngine swig_types[835] -#define SWIGTYPE_p_p_SoMFEnum swig_types[836] -#define SWIGTYPE_p_p_SoMFFloat swig_types[837] -#define SWIGTYPE_p_p_SoMFInt32 swig_types[838] -#define SWIGTYPE_p_p_SoMFMatrix swig_types[839] -#define SWIGTYPE_p_p_SoMFName swig_types[840] -#define SWIGTYPE_p_p_SoMFNode swig_types[841] -#define SWIGTYPE_p_p_SoMFPath swig_types[842] -#define SWIGTYPE_p_p_SoMFPlane swig_types[843] -#define SWIGTYPE_p_p_SoMFRotation swig_types[844] -#define SWIGTYPE_p_p_SoMFShort swig_types[845] -#define SWIGTYPE_p_p_SoMFString swig_types[846] -#define SWIGTYPE_p_p_SoMFTime swig_types[847] -#define SWIGTYPE_p_p_SoMFUInt32 swig_types[848] -#define SWIGTYPE_p_p_SoMFUShort swig_types[849] -#define SWIGTYPE_p_p_SoMFVec2f swig_types[850] -#define SWIGTYPE_p_p_SoMFVec3d swig_types[851] -#define SWIGTYPE_p_p_SoMFVec3f swig_types[852] -#define SWIGTYPE_p_p_SoMFVec4f swig_types[853] -#define SWIGTYPE_p_p_SoMField swig_types[854] -#define SWIGTYPE_p_p_SoMarkerSet swig_types[855] -#define SWIGTYPE_p_p_SoMaterial swig_types[856] -#define SWIGTYPE_p_p_SoMaterialBinding swig_types[857] -#define SWIGTYPE_p_p_SoMatrixTransform swig_types[858] -#define SWIGTYPE_p_p_SoMultipleCopy swig_types[859] -#define SWIGTYPE_p_p_SoNode swig_types[860] -#define SWIGTYPE_p_p_SoNodeEngine swig_types[861] -#define SWIGTYPE_p_p_SoNodeKitListPart swig_types[862] -#define SWIGTYPE_p_p_SoNodeKitPath swig_types[863] -#define SWIGTYPE_p_p_SoNonIndexedShape swig_types[864] -#define SWIGTYPE_p_p_SoNormal swig_types[865] -#define SWIGTYPE_p_p_SoNormalBinding swig_types[866] -#define SWIGTYPE_p_p_SoNurbsCurve swig_types[867] -#define SWIGTYPE_p_p_SoNurbsProfile swig_types[868] -#define SWIGTYPE_p_p_SoNurbsSurface swig_types[869] -#define SWIGTYPE_p_p_SoOnOff swig_types[870] -#define SWIGTYPE_p_p_SoOneShot swig_types[871] -#define SWIGTYPE_p_p_SoOrthographicCamera swig_types[872] -#define SWIGTYPE_p_p_SoPackedColor swig_types[873] -#define SWIGTYPE_p_p_SoPath swig_types[874] -#define SWIGTYPE_p_p_SoPathSwitch swig_types[875] -#define SWIGTYPE_p_p_SoPendulum swig_types[876] -#define SWIGTYPE_p_p_SoPerspectiveCamera swig_types[877] -#define SWIGTYPE_p_p_SoPickStyle swig_types[878] -#define SWIGTYPE_p_p_SoPointLight swig_types[879] -#define SWIGTYPE_p_p_SoPointLightDragger swig_types[880] -#define SWIGTYPE_p_p_SoPointLightManip swig_types[881] -#define SWIGTYPE_p_p_SoPointSet swig_types[882] -#define SWIGTYPE_p_p_SoPolygonOffset swig_types[883] -#define SWIGTYPE_p_p_SoProfile swig_types[884] -#define SWIGTYPE_p_p_SoProfileCoordinate2 swig_types[885] -#define SWIGTYPE_p_p_SoProfileCoordinate3 swig_types[886] -#define SWIGTYPE_p_p_SoProto swig_types[887] -#define SWIGTYPE_p_p_SoProtoInstance swig_types[888] -#define SWIGTYPE_p_p_SoQuadMesh swig_types[889] -#define SWIGTYPE_p_p_SoResetTransform swig_types[890] -#define SWIGTYPE_p_p_SoRotateCylindricalDragger swig_types[891] -#define SWIGTYPE_p_p_SoRotateDiscDragger swig_types[892] -#define SWIGTYPE_p_p_SoRotateSphericalDragger swig_types[893] -#define SWIGTYPE_p_p_SoRotation swig_types[894] -#define SWIGTYPE_p_p_SoRotationXYZ swig_types[895] -#define SWIGTYPE_p_p_SoRotor swig_types[896] -#define SWIGTYPE_p_p_SoSFBitMask swig_types[897] -#define SWIGTYPE_p_p_SoSFBool swig_types[898] -#define SWIGTYPE_p_p_SoSFBox3s swig_types[899] -#define SWIGTYPE_p_p_SoSFColor swig_types[900] -#define SWIGTYPE_p_p_SoSFEngine swig_types[901] -#define SWIGTYPE_p_p_SoSFEnum swig_types[902] -#define SWIGTYPE_p_p_SoSFFloat swig_types[903] -#define SWIGTYPE_p_p_SoSFImage swig_types[904] -#define SWIGTYPE_p_p_SoSFImage3 swig_types[905] -#define SWIGTYPE_p_p_SoSFInt32 swig_types[906] -#define SWIGTYPE_p_p_SoSFMatrix swig_types[907] -#define SWIGTYPE_p_p_SoSFName swig_types[908] -#define SWIGTYPE_p_p_SoSFNode swig_types[909] -#define SWIGTYPE_p_p_SoSFPath swig_types[910] -#define SWIGTYPE_p_p_SoSFPlane swig_types[911] -#define SWIGTYPE_p_p_SoSFRotation swig_types[912] -#define SWIGTYPE_p_p_SoSFShort swig_types[913] -#define SWIGTYPE_p_p_SoSFString swig_types[914] -#define SWIGTYPE_p_p_SoSFTime swig_types[915] -#define SWIGTYPE_p_p_SoSFTrigger swig_types[916] -#define SWIGTYPE_p_p_SoSFUInt32 swig_types[917] -#define SWIGTYPE_p_p_SoSFUShort swig_types[918] -#define SWIGTYPE_p_p_SoSFVec2f swig_types[919] -#define SWIGTYPE_p_p_SoSFVec2s swig_types[920] -#define SWIGTYPE_p_p_SoSFVec3d swig_types[921] -#define SWIGTYPE_p_p_SoSFVec3f swig_types[922] -#define SWIGTYPE_p_p_SoSFVec3s swig_types[923] -#define SWIGTYPE_p_p_SoSFVec4f swig_types[924] -#define SWIGTYPE_p_p_SoSField swig_types[925] -#define SWIGTYPE_p_p_SoScale swig_types[926] -#define SWIGTYPE_p_p_SoScale1Dragger swig_types[927] -#define SWIGTYPE_p_p_SoScale2Dragger swig_types[928] -#define SWIGTYPE_p_p_SoScale2UniformDragger swig_types[929] -#define SWIGTYPE_p_p_SoScaleUniformDragger swig_types[930] -#define SWIGTYPE_p_p_SoSceneKit swig_types[931] -#define SWIGTYPE_p_p_SoSceneTexture2 swig_types[932] -#define SWIGTYPE_p_p_SoSelectOne swig_types[933] -#define SWIGTYPE_p_p_SoSelection swig_types[934] -#define SWIGTYPE_p_p_SoSeparator swig_types[935] -#define SWIGTYPE_p_p_SoSeparatorKit swig_types[936] -#define SWIGTYPE_p_p_SoShape swig_types[937] -#define SWIGTYPE_p_p_SoShapeHints swig_types[938] -#define SWIGTYPE_p_p_SoShapeKit swig_types[939] -#define SWIGTYPE_p_p_SoShuttle swig_types[940] -#define SWIGTYPE_p_p_SoSphere swig_types[941] -#define SWIGTYPE_p_p_SoSpotLight swig_types[942] -#define SWIGTYPE_p_p_SoSpotLightDragger swig_types[943] -#define SWIGTYPE_p_p_SoSpotLightManip swig_types[944] -#define SWIGTYPE_p_p_SoSurroundScale swig_types[945] -#define SWIGTYPE_p_p_SoSwitch swig_types[946] -#define SWIGTYPE_p_p_SoTabBoxDragger swig_types[947] -#define SWIGTYPE_p_p_SoTabBoxManip swig_types[948] -#define SWIGTYPE_p_p_SoTabPlaneDragger swig_types[949] -#define SWIGTYPE_p_p_SoTempPath swig_types[950] -#define SWIGTYPE_p_p_SoText2 swig_types[951] -#define SWIGTYPE_p_p_SoText3 swig_types[952] -#define SWIGTYPE_p_p_SoTexture2 swig_types[953] -#define SWIGTYPE_p_p_SoTexture2Transform swig_types[954] -#define SWIGTYPE_p_p_SoTexture3 swig_types[955] -#define SWIGTYPE_p_p_SoTexture3Transform swig_types[956] -#define SWIGTYPE_p_p_SoTextureCombine swig_types[957] -#define SWIGTYPE_p_p_SoTextureCoordinate2 swig_types[958] -#define SWIGTYPE_p_p_SoTextureCoordinate3 swig_types[959] -#define SWIGTYPE_p_p_SoTextureCoordinateBinding swig_types[960] -#define SWIGTYPE_p_p_SoTextureCoordinateCube swig_types[961] -#define SWIGTYPE_p_p_SoTextureCoordinateCylinder swig_types[962] -#define SWIGTYPE_p_p_SoTextureCoordinateDefault swig_types[963] -#define SWIGTYPE_p_p_SoTextureCoordinateEnvironment swig_types[964] -#define SWIGTYPE_p_p_SoTextureCoordinateFunction swig_types[965] -#define SWIGTYPE_p_p_SoTextureCoordinatePlane swig_types[966] -#define SWIGTYPE_p_p_SoTextureCoordinateSphere swig_types[967] -#define SWIGTYPE_p_p_SoTextureScalePolicy swig_types[968] -#define SWIGTYPE_p_p_SoTextureUnit swig_types[969] -#define SWIGTYPE_p_p_SoTimeCounter swig_types[970] -#define SWIGTYPE_p_p_SoTrackballDragger swig_types[971] -#define SWIGTYPE_p_p_SoTrackballManip swig_types[972] -#define SWIGTYPE_p_p_SoTransform swig_types[973] -#define SWIGTYPE_p_p_SoTransformBoxDragger swig_types[974] -#define SWIGTYPE_p_p_SoTransformBoxManip swig_types[975] -#define SWIGTYPE_p_p_SoTransformManip swig_types[976] -#define SWIGTYPE_p_p_SoTransformSeparator swig_types[977] -#define SWIGTYPE_p_p_SoTransformVec3f swig_types[978] -#define SWIGTYPE_p_p_SoTransformation swig_types[979] -#define SWIGTYPE_p_p_SoTransformerDragger swig_types[980] -#define SWIGTYPE_p_p_SoTransformerManip swig_types[981] -#define SWIGTYPE_p_p_SoTranslate1Dragger swig_types[982] -#define SWIGTYPE_p_p_SoTranslate2Dragger swig_types[983] -#define SWIGTYPE_p_p_SoTranslation swig_types[984] -#define SWIGTYPE_p_p_SoTransparencyType swig_types[985] -#define SWIGTYPE_p_p_SoTriangleStripSet swig_types[986] -#define SWIGTYPE_p_p_SoTriggerAny swig_types[987] -#define SWIGTYPE_p_p_SoUnits swig_types[988] -#define SWIGTYPE_p_p_SoVRMLAnchor swig_types[989] -#define SWIGTYPE_p_p_SoVRMLAppearance swig_types[990] -#define SWIGTYPE_p_p_SoVRMLAudioClip swig_types[991] -#define SWIGTYPE_p_p_SoVRMLBackground swig_types[992] -#define SWIGTYPE_p_p_SoVRMLBillboard swig_types[993] -#define SWIGTYPE_p_p_SoVRMLBox swig_types[994] -#define SWIGTYPE_p_p_SoVRMLCollision swig_types[995] -#define SWIGTYPE_p_p_SoVRMLColor swig_types[996] -#define SWIGTYPE_p_p_SoVRMLColorInterpolator swig_types[997] -#define SWIGTYPE_p_p_SoVRMLCone swig_types[998] -#define SWIGTYPE_p_p_SoVRMLCoordinate swig_types[999] -#define SWIGTYPE_p_p_SoVRMLCoordinateInterpolator swig_types[1000] -#define SWIGTYPE_p_p_SoVRMLCylinder swig_types[1001] -#define SWIGTYPE_p_p_SoVRMLCylinderSensor swig_types[1002] -#define SWIGTYPE_p_p_SoVRMLDirectionalLight swig_types[1003] -#define SWIGTYPE_p_p_SoVRMLDragSensor swig_types[1004] -#define SWIGTYPE_p_p_SoVRMLElevationGrid swig_types[1005] -#define SWIGTYPE_p_p_SoVRMLExtrusion swig_types[1006] -#define SWIGTYPE_p_p_SoVRMLFog swig_types[1007] -#define SWIGTYPE_p_p_SoVRMLFontStyle swig_types[1008] -#define SWIGTYPE_p_p_SoVRMLGeometry swig_types[1009] -#define SWIGTYPE_p_p_SoVRMLGroup swig_types[1010] -#define SWIGTYPE_p_p_SoVRMLImageTexture swig_types[1011] -#define SWIGTYPE_p_p_SoVRMLIndexedFaceSet swig_types[1012] -#define SWIGTYPE_p_p_SoVRMLIndexedLine swig_types[1013] -#define SWIGTYPE_p_p_SoVRMLIndexedLineSet swig_types[1014] -#define SWIGTYPE_p_p_SoVRMLIndexedShape swig_types[1015] -#define SWIGTYPE_p_p_SoVRMLInline swig_types[1016] -#define SWIGTYPE_p_p_SoVRMLInterpolator swig_types[1017] -#define SWIGTYPE_p_p_SoVRMLLOD swig_types[1018] -#define SWIGTYPE_p_p_SoVRMLLight swig_types[1019] -#define SWIGTYPE_p_p_SoVRMLMaterial swig_types[1020] -#define SWIGTYPE_p_p_SoVRMLMovieTexture swig_types[1021] -#define SWIGTYPE_p_p_SoVRMLNavigationInfo swig_types[1022] -#define SWIGTYPE_p_p_SoVRMLNormal swig_types[1023] -#define SWIGTYPE_p_p_SoVRMLNormalInterpolator swig_types[1024] -#define SWIGTYPE_p_p_SoVRMLOrientationInterpolator swig_types[1025] -#define SWIGTYPE_p_p_SoVRMLParent swig_types[1026] -#define SWIGTYPE_p_p_SoVRMLPixelTexture swig_types[1027] -#define SWIGTYPE_p_p_SoVRMLPlaneSensor swig_types[1028] -#define SWIGTYPE_p_p_SoVRMLPointLight swig_types[1029] -#define SWIGTYPE_p_p_SoVRMLPointSet swig_types[1030] -#define SWIGTYPE_p_p_SoVRMLPositionInterpolator swig_types[1031] -#define SWIGTYPE_p_p_SoVRMLProximitySensor swig_types[1032] -#define SWIGTYPE_p_p_SoVRMLScalarInterpolator swig_types[1033] -#define SWIGTYPE_p_p_SoVRMLScript swig_types[1034] -#define SWIGTYPE_p_p_SoVRMLSensor swig_types[1035] -#define SWIGTYPE_p_p_SoVRMLShape swig_types[1036] -#define SWIGTYPE_p_p_SoVRMLSound swig_types[1037] -#define SWIGTYPE_p_p_SoVRMLSphere swig_types[1038] -#define SWIGTYPE_p_p_SoVRMLSphereSensor swig_types[1039] -#define SWIGTYPE_p_p_SoVRMLSpotLight swig_types[1040] -#define SWIGTYPE_p_p_SoVRMLSwitch swig_types[1041] -#define SWIGTYPE_p_p_SoVRMLText swig_types[1042] -#define SWIGTYPE_p_p_SoVRMLTexture swig_types[1043] -#define SWIGTYPE_p_p_SoVRMLTextureCoordinate swig_types[1044] -#define SWIGTYPE_p_p_SoVRMLTextureTransform swig_types[1045] -#define SWIGTYPE_p_p_SoVRMLTimeSensor swig_types[1046] -#define SWIGTYPE_p_p_SoVRMLTouchSensor swig_types[1047] -#define SWIGTYPE_p_p_SoVRMLTransform swig_types[1048] -#define SWIGTYPE_p_p_SoVRMLVertexLine swig_types[1049] -#define SWIGTYPE_p_p_SoVRMLVertexPoint swig_types[1050] -#define SWIGTYPE_p_p_SoVRMLVertexShape swig_types[1051] -#define SWIGTYPE_p_p_SoVRMLViewpoint swig_types[1052] -#define SWIGTYPE_p_p_SoVRMLVisibilitySensor swig_types[1053] -#define SWIGTYPE_p_p_SoVRMLWorldInfo swig_types[1054] -#define SWIGTYPE_p_p_SoVertexProperty swig_types[1055] -#define SWIGTYPE_p_p_SoVertexShape swig_types[1056] -#define SWIGTYPE_p_p_SoWWWAnchor swig_types[1057] -#define SWIGTYPE_p_p_SoWWWInline swig_types[1058] -#define SWIGTYPE_p_p_SoWrapperKit swig_types[1059] -#define SWIGTYPE_p_p_char swig_types[1060] -#define SWIGTYPE_p_p_charp swig_types[1061] -#define SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void swig_types[1062] -#define SWIGTYPE_p_p_f_p_void_p_SoInput__void swig_types[1063] -#define SWIGTYPE_p_p_float swig_types[1064] -#define SWIGTYPE_p_p_floatp swig_types[1065] -#define SWIGTYPE_p_p_int swig_types[1066] -#define SWIGTYPE_p_p_intp swig_types[1067] -#define SWIGTYPE_p_p_unsigned_char swig_types[1068] -#define SWIGTYPE_p_p_void swig_types[1069] -#define SWIGTYPE_p_read_func swig_types[1070] -#define SWIGTYPE_p_seek_func swig_types[1071] -#define SWIGTYPE_p_short swig_types[1072] -#define SWIGTYPE_p_size_t swig_types[1073] -#define SWIGTYPE_p_tell_func swig_types[1074] -#define SWIGTYPE_p_time_t swig_types[1075] -#define SWIGTYPE_p_timeval swig_types[1076] -#define SWIGTYPE_p_unsigned___int64 swig_types[1077] -#define SWIGTYPE_p_unsigned_char swig_types[1078] -#define SWIGTYPE_p_unsigned_int swig_types[1079] -#define SWIGTYPE_p_unsigned_short swig_types[1080] -#define SWIGTYPE_p_void swig_types[1081] -static swig_type_info *swig_types[1083]; -static swig_module_info swig_module = {swig_types, 1082, 0, 0, 0, 0}; -#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) -#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) - -/* -------- TYPES TABLE (END) -------- */ - -#if (PY_VERSION_HEX <= 0x02000000) -# if !defined(SWIG_PYTHON_CLASSIC) -# error "This python version requires swig to be run with the '-classic' option" -# endif -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodern' option" -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodernargs' option" -#endif - -/*----------------------------------------------- - @(target):= _coin.so - ------------------------------------------------*/ -#define SWIG_init init_coin - -#define SWIG_name "_coin" - -#define SWIGVERSION 0x010333 -#define SWIG_VERSION SWIGVERSION - - -#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) -#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) - - -#include - - -namespace swig { - class PyObject_ptr { - protected: - PyObject *_obj; - - public: - PyObject_ptr() :_obj(0) - { - } - - PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) - { - Py_XINCREF(_obj); - } - - PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) - { - if (initial_ref) Py_XINCREF(_obj); - } - - PyObject_ptr & operator=(const PyObject_ptr& item) - { - Py_XINCREF(item._obj); - Py_XDECREF(_obj); - _obj = item._obj; - return *this; - } - - ~PyObject_ptr() - { - Py_XDECREF(_obj); - } - - operator PyObject *() const - { - return _obj; - } - - PyObject *operator->() const - { - return _obj; - } - }; -} - - -namespace swig { - struct PyObject_var : PyObject_ptr { - PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } - - PyObject_var & operator = (PyObject* obj) - { - Py_XDECREF(_obj); - _obj = obj; - return *this; - } - }; -} - - -#if defined(_WIN32) || defined(__WIN32__) -#include -#undef max -#undef ERROR -#undef DELETE -#endif - -#undef ANY - -#include "coin_header_includes.h" - -/* make GLState in SoGLLazyElement known to SWIG */ -typedef SoGLLazyElement::GLState GLState; - - -#include - -#if (PY_VERSION_HEX < 0x02050000) -/* Py_ssize_t needed for Python 2.5 compatibility, but isn't defined - * in earlier Python versions. */ -typedef int Py_ssize_t; -#endif - -/* a casting helper function */ -SWIGEXPORT PyObject * -cast(PyObject * self, PyObject * args) -{ - swig_type_info * swig_type = 0; - void * cast_obj = 0; - char * type_name, * ptr_type; - int type_len; - PyObject * obj = 0; - - if (!PyArg_ParseTuple(args, "Os#:cast", &obj, &type_name, &type_len)) { - SWIG_fail; - } - - /* - * add a pointer sign to the string coming from the interpreter - * e.g. "SoSeparator" becomes "SoSeparator *" - so that SWIG_TypeQuery() - * can do its job. - */ - if (!(ptr_type = (char*)malloc(type_len+3))) { SWIG_fail; } - - memset(ptr_type, 0, type_len+3); - strncpy(ptr_type, type_name, type_len); - strcat(ptr_type, " *"); - - if (!(swig_type = SWIG_TypeQuery(ptr_type))) { - /* the britney maneuver: "baby one more time" by prefixing 'So' */ - char * cast_name = (char*)malloc(type_len + 5); - memset(cast_name, 0, type_len + 5); - cast_name[0] = 'S'; cast_name[1] = 'o'; - strncpy(cast_name+2, ptr_type, type_len+2); - - if (!(swig_type = SWIG_TypeQuery(cast_name))) { - free(cast_name); free(ptr_type); - SWIG_fail; - } - - free(cast_name); - } - - free(ptr_type); - - SWIG_ConvertPtr(obj, (void**)&cast_obj, NULL, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) { SWIG_fail; } - - return SWIG_NewPointerObj((void*)cast_obj, swig_type, 0); - fail: - return NULL; -} - -/* autocasting helper function for SoBase */ -SWIGEXPORT PyObject * -autocast_base(SoBase * base) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (base && base->isOfType(SoFieldContainer::getClassTypeId())) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = base->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)base, SWIGTYPE_p_SoBase, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoPath */ -SWIGEXPORT PyObject * -autocast_path(SoPath * path) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (path) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = path->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)path, SWIGTYPE_p_SoPath, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoField */ -SWIGEXPORT PyObject * -autocast_field(SoField * field) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (field) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = field->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)field, SWIGTYPE_p_SoField, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoEvent */ -SWIGEXPORT PyObject * -autocast_event(SoEvent * event) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (event) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = event->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)event, SWIGTYPE_p_SoEvent, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - - -typedef char charp; - -SWIGINTERN charp *new_charp(){ - return (new char); - } -SWIGINTERN void delete_charp(charp *self){ - if (self) delete self; - } - -SWIGINTERN swig_type_info* -SWIG_pchar_descriptor(void) -{ - static int init = 0; - static swig_type_info* info = 0; - if (!init) { - info = SWIG_TypeQuery("_p_char"); - init = 1; - } - return info; -} - - -SWIGINTERN int -SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) -{ - if (PyString_Check(obj)) { - char *cstr; Py_ssize_t len; - PyString_AsStringAndSize(obj, &cstr, &len); - if (cptr) { - if (alloc) { - /* - In python the user should not be able to modify the inner - string representation. To warranty that, if you define - SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string - buffer is always returned. - - The default behavior is just to return the pointer value, - so, be careful. - */ -#if defined(SWIG_PYTHON_SAFE_CSTRINGS) - if (*alloc != SWIG_OLDOBJ) -#else - if (*alloc == SWIG_NEWOBJ) -#endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } - else { - *cptr = cstr; - *alloc = SWIG_OLDOBJ; - } - } else { - *cptr = PyString_AsString(obj); - } - } - if (psize) *psize = len + 1; - return SWIG_OK; - } else { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - if (pchar_descriptor) { - void* vptr = 0; - if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { - if (cptr) *cptr = (char *) vptr; - if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; - if (alloc) *alloc = SWIG_OLDOBJ; - return SWIG_OK; - } - } - } - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsCharArray(PyObject * obj, char *val, size_t size) -{ - char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; - int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); - if (SWIG_IsOK(res)) { - if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize; - if (csize <= size) { - if (val) { - if (csize) memcpy(val, cptr, csize*sizeof(char)); - if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); - } - if (alloc == SWIG_NEWOBJ) { - delete[] cptr; - res = SWIG_DelNewMask(res); - } - return res; - } - if (alloc == SWIG_NEWOBJ) delete[] cptr; - } - return SWIG_TypeError; -} - - -#include -#if !defined(SWIG_NO_LLONG_MAX) -# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) -# define LLONG_MAX __LONG_LONG_MAX__ -# define LLONG_MIN (-LLONG_MAX - 1LL) -# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) -# endif -#endif - - -SWIGINTERN int -SWIG_AsVal_double (PyObject *obj, double *val) -{ - int res = SWIG_TypeError; - if (PyFloat_Check(obj)) { - if (val) *val = PyFloat_AsDouble(obj); - return SWIG_OK; - } else if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - double v = PyLong_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - double d = PyFloat_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = d; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); - } else { - PyErr_Clear(); - } - } - } -#endif - return res; -} - - -#include - - -#include - - -SWIGINTERNINLINE int -SWIG_CanCastAsInteger(double *d, double min, double max) { - double x = *d; - if ((min <= x && x <= max)) { - double fx = floor(x); - double cx = ceil(x); - double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ - if ((errno == EDOM) || (errno == ERANGE)) { - errno = 0; - } else { - double summ, reps, diff; - if (rd < x) { - diff = x - rd; - } else if (rd > x) { - diff = rd - x; - } else { - return 1; - } - summ = rd + x; - reps = diff/summ; - if (reps < 8*DBL_EPSILON) { - *d = rd; - return 1; - } - } - } - return 0; -} - - -SWIGINTERN int -SWIG_AsVal_long (PyObject *obj, long* val) -{ - if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - long v = PyInt_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { - if (val) *val = (long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsVal_char (PyObject * obj, char *val) -{ - int res = SWIG_AsCharArray(obj, val, 1); - if (!SWIG_IsOK(res)) { - long v; - res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); - if (SWIG_IsOK(res)) { - if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { - if (val) *val = static_cast< char >(v); - } else { - res = SWIG_OverflowError; - } - } - } - return res; -} - -SWIGINTERN void charp_assign(charp *self,char value){ - *self = value; - } -SWIGINTERN char charp_value(charp *self){ - return *self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtrAndSize(const char* carray, size_t size) -{ - if (carray) { - if (size > INT_MAX) { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - return pchar_descriptor ? - SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void(); - } else { - return PyString_FromStringAndSize(carray, static_cast< int >(size)); - } - } else { - return SWIG_Py_Void(); - } -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_char (char c) -{ - return SWIG_FromCharPtrAndSize(&c,1); -} - -SWIGINTERN char *charp_cast(charp *self){ - return self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtr(const char *cptr) -{ - return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); -} - - - - -SWIGINTERN charp *charp_frompointer(char *t){ - return (charp *) t; - } - -typedef int intp; - -SWIGINTERN intp *new_intp(){ - return (new int); - } -SWIGINTERN void delete_intp(intp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_int (PyObject * obj, int *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < INT_MIN || v > INT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< int >(v); - } - } - return res; -} - -SWIGINTERN void intp_assign(intp *self,int value){ - *self = value; - } -SWIGINTERN int intp_value(intp *self){ - return *self; - } - - #define SWIG_From_long PyInt_FromLong - - -SWIGINTERNINLINE PyObject * -SWIG_From_int (int value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN int *intp_cast(intp *self){ - return self; - } -SWIGINTERN intp *intp_frompointer(int *t){ - return (intp *) t; - } - -typedef long longp; - -SWIGINTERN longp *new_longp(){ - return (new long); - } -SWIGINTERN void delete_longp(longp *self){ - if (self) delete self; - } -SWIGINTERN void longp_assign(longp *self,long value){ - *self = value; - } -SWIGINTERN long longp_value(longp *self){ - return *self; - } -SWIGINTERN long *longp_cast(longp *self){ - return self; - } -SWIGINTERN longp *longp_frompointer(long *t){ - return (longp *) t; - } - -typedef float floatp; - -SWIGINTERN floatp *new_floatp(){ - return (new float); - } -SWIGINTERN void delete_floatp(floatp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_float (PyObject * obj, float *val) -{ - double v; - int res = SWIG_AsVal_double (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < -FLT_MAX || v > FLT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< float >(v); - } - } - return res; -} - -SWIGINTERN void floatp_assign(floatp *self,float value){ - *self = value; - } -SWIGINTERN float floatp_value(floatp *self){ - return *self; - } - - #define SWIG_From_double PyFloat_FromDouble - - -SWIGINTERNINLINE PyObject * -SWIG_From_float (float value) -{ - return SWIG_From_double (value); -} - -SWIGINTERN float *floatp_cast(floatp *self){ - return self; - } -SWIGINTERN floatp *floatp_frompointer(float *t){ - return (floatp *) t; - } - -typedef double doublep; - -SWIGINTERN doublep *new_doublep(){ - return (new double); - } -SWIGINTERN void delete_doublep(doublep *self){ - if (self) delete self; - } -SWIGINTERN void doublep_assign(doublep *self,double value){ - *self = value; - } -SWIGINTERN double doublep_value(doublep *self){ - return *self; - } -SWIGINTERN double *doublep_cast(doublep *self){ - return self; - } -SWIGINTERN doublep *doublep_frompointer(double *t){ - return (doublep *) t; - } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) -{ - if (PyInt_Check(obj)) { - long v = PyInt_AsLong(obj); - if (v >= 0) { - if (val) *val = v; - return SWIG_OK; - } else { - return SWIG_OverflowError; - } - } else if (PyLong_Check(obj)) { - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { - if (val) *val = (unsigned long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) -{ - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_short (unsigned short value) -{ - return SWIG_From_unsigned_SS_long (value); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_short (short value) -{ - return SWIG_From_long (value); -} - - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > USHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned short >(v); - } - } - return res; -} - -SWIGINTERN PyObject *SoType_createInstance(SoType *self){ - if (self->isDerivedFrom(SoField::getClassTypeId())) { - return autocast_field((SoField*)self->createInstance()); - } else if (self->isDerivedFrom(SoPath::getClassTypeId())) { - return autocast_path((SoPath*)self->createInstance()); - } - return autocast_base((SoBase*)self->createInstance()); - } - -static void -convert_SbVec2s_array(PyObject *input, short temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 shorts"); - PyErr_Print(); - } -} - - -SWIGINTERN int -SWIG_AsVal_short (PyObject * obj, short *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < SHRT_MIN || v > SHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< short >(v); - } - } - return res; -} - -SWIGINTERN SbVec2s SbVec2s___add__(SbVec2s *self,SbVec2s const &u){ return *self + u; } -SWIGINTERN SbVec2s SbVec2s___sub__(SbVec2s *self,SbVec2s const &u){ return *self - u; } -SWIGINTERN SbVec2s SbVec2s___mul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___rmul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___div__(SbVec2s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec2s___eq__(SbVec2s *self,SbVec2s const &u){ return *self == u; } -SWIGINTERN int SbVec2s___nq__(SbVec2s *self,SbVec2s const &u){ return *self != u; } -SWIGINTERN short SbVec2s___getitem__(SbVec2s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2s___setitem__(SbVec2s *self,int i,short value){ (*self)[i] = value; } -SWIGINTERN void *SbPList___getitem__(SbPList *self,int i){ return self->get(i); } -SWIGINTERN void SbPList___setitem__(SbPList *self,int i,void *val){ self->set(i,val); } -SWIGINTERN void SbIntList___setitem__(SbIntList *self,int const i,int *value){ self->set(i,value); } -SWIGINTERN int &SbIntList___getitem__(SbIntList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SbIntList_get(SbIntList *self,int const i){ return (*self)[i]; } - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_int (unsigned int value) -{ - return SWIG_From_unsigned_SS_long (value); -} - -SWIGINTERN int SbString___eq____SWIG_0(SbString *self,SbString const &u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_0(SbString *self,SbString const &u){ return *self != u; } -SWIGINTERN int SbString___eq____SWIG_1(SbString *self,char *u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_1(SbString *self,char *u){ return *self != u; } -SWIGINTERN char SbString___getitem__(SbString *self,int i){ return (*self)[i]; } -SWIGINTERN char const *SbString___repr__(SbString *self){ return self->getString(); } -SWIGINTERN int SbName___eq____SWIG_0(SbName *self,SbName const &u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_0(SbName *self,SbName const &u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_1(SbName *self,char *u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_1(SbName *self,char *u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_2(SbName *self,SbString const &u){ return *self == u.getString(); } -SWIGINTERN int SbName___nq____SWIG_2(SbName *self,SbString const &u){ return *self != u.getString(); } -SWIGINTERN char SbName___getitem__(SbName *self,int i){ return self->getString()[i]; } -SWIGINTERN char const *SbName___repr__(SbName *self){ return self->getString(); } -SWIGINTERN SbTime SbTime___add__(SbTime *self,SbTime const &u){ return *self + u; } -SWIGINTERN SbTime SbTime___sub__(SbTime *self,SbTime const &u){ return *self - u; } -SWIGINTERN SbTime SbTime___mul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___rmul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___div____SWIG_1(SbTime *self,double const d){ return *self / d; } -SWIGINTERN SbString SoField_get(SoField *self){ - SbString valuestring; - self->get(valuestring); - return valuestring; - } -SWIGINTERN int SoMField___len__(SoMField *self){ return self->getNum(); } -SWIGINTERN SbString SoMField_get1(SoMField *self,int const index){ - SbString valuestring; - self->get1(index, valuestring); - return valuestring; - } -SWIGINTERN void delete_SoBase(SoBase *self){ self->unref(); } -SWIGINTERN void SoBaseList___setitem__(SoBaseList *self,int const i,SoBase *value){ self->set(i,value); } -SWIGINTERN SoBase *SoBaseList___getitem__(SoBaseList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoBase *SoBaseList_get(SoBaseList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoNodeList___setitem__(SoNodeList *self,int const i,SoNode *value){ self->set(i,value); } -SWIGINTERN SoNode *SoNodeList___getitem__(SoNodeList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoNode *SoNodeList_get(SoNodeList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoDetailList___setitem__(SoDetailList *self,int const i,SoDetail *value){ self->set(i,value); } -SWIGINTERN SoDetail *SoDetailList___getitem__(SoDetailList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoDetail *SoDetailList_get(SoDetailList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoTypeList___setitem__(SoTypeList *self,int const i,SoType value){ self->set(i,value); } -SWIGINTERN SoType SoTypeList___getitem__(SoTypeList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoType SoTypeList_get(SoTypeList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoEngineOutputList___setitem__(SoEngineOutputList *self,int const i,SoEngineOutput *value){ self->set(i,value); } -SWIGINTERN SoEngineOutput *SoEngineOutputList___getitem__(SoEngineOutputList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoEngineOutput *SoEngineOutputList_get(SoEngineOutputList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoEngineList___setitem__(SoEngineList *self,int const i,SoEngine *value){ self->set(i,value); } -SWIGINTERN SoEngine *SoEngineList___getitem__(SoEngineList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoEngine *SoEngineList_get(SoEngineList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoFieldList___setitem__(SoFieldList *self,int const i,SoField *value){ self->set(i,value); } -SWIGINTERN SoField *SoFieldList___getitem__(SoFieldList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoField *SoFieldList_get__SWIG_1(SoFieldList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoPathList___setitem__(SoPathList *self,int const i,SoPath *value){ self->set(i,value); } -SWIGINTERN SoPath *SoPathList___getitem__(SoPathList *self,int i){ return (*self)[i]; } -SWIGINTERN SoPath *SoPathList_get(SoPathList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SoPickedPointList___setitem__(SoPickedPointList *self,int const i,SoPickedPoint *value){ self->set(i,value); } -SWIGINTERN SoPickedPoint *SoPickedPointList___getitem__(SoPickedPointList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoPickedPoint *SoPickedPointList_get(SoPickedPointList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SoPath___eq__(SoPath *self,SoPath const &u){ return *self == u; } -SWIGINTERN int SoPath___nq__(SoPath *self,SoPath const &u){ return *self != u; } -SWIGINTERN void SoActionMethodList___setitem__(SoActionMethodList *self,int const i,SoActionMethod *value){ self->set(i,value); } -SWIGINTERN SoActionMethod &SoActionMethodList___getitem__(SoActionMethodList *self,int const i){ return (*self)[i]; } -SWIGINTERN SoActionMethod SoActionMethodList_get(SoActionMethodList *self,int const i){ return (*self)[i]; } - -static SoCallbackAction::Response -SoCallbackActionPythonCB(void * userdata, - SoCallbackAction * action, - const SoNode * node) { - PyObject *func, *arglist; - PyObject *result, *acCB, *pynode; - int iresult = 0; - - acCB = SWIG_NewPointerObj((void *)action, SWIGTYPE_p_SoCallbackAction, 0); - pynode = autocast_base((SoBase*)node); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, pynode); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); - - return (SoCallbackAction::Response)iresult; -} - -static void -SoTrianglePythonCB(void * userdata, SoCallbackAction * action, - const SoPrimitiveVertex * v1, - const SoPrimitiveVertex * v2, - const SoPrimitiveVertex * v3) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex1, *vertex2, *vertex3; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex1 = SWIG_NewPointerObj((void *) v1, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex2 = SWIG_NewPointerObj((void *) v2, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex3 = SWIG_NewPointerObj((void *) v3, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOOOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex1, vertex2, vertex3); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex1); - Py_DECREF(vertex2); - Py_DECREF(vertex3); - Py_XDECREF(result); -} - -static void -SoLineSegmentPythonCB(void * userdata, SoCallbackAction * action, - const SoPrimitiveVertex * v1, - const SoPrimitiveVertex * v2) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex1, *vertex2; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex1 = SWIG_NewPointerObj((void *) v1, SWIGTYPE_p_SoPrimitiveVertex, 0); - vertex2 = SWIG_NewPointerObj((void *) v2, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex1, vertex2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex1); - Py_DECREF(vertex2); - Py_XDECREF(result); -} - -static void -SoPointPythonCB(void * userdata, SoCallbackAction * action, const SoPrimitiveVertex * v) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - PyObject *vertex; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoCallbackAction, 0); - vertex = SWIG_NewPointerObj((void *) v, SWIGTYPE_p_SoPrimitiveVertex, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB, vertex); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_DECREF(vertex); - Py_XDECREF(result); -} - -SWIGINTERN PyObject *SoFieldContainer_getFieldName__SWIG_1(SoFieldContainer *self,SoField *field){ - SbName name; - if (!self->getFieldName(field, name)) { - Py_INCREF(Py_None); - return Py_None; - } - return Py_BuildValue("s", name.getString()); - } - -static void -sensorQueueChangedPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(O)", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - Py_DECREF(arglist); - Py_XDECREF(result); -} - -SWIGINTERN void SoSensorManager_setChangedCallback__SWIG_1(SoSensorManager *self,PyObject *pyfunc,PyObject *data){ - self->setChangedCallback(sensorQueueChangedPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN PyObject *SoSensorManager_isTimerSensorPending__SWIG_1(SoSensorManager *self){ - SbTime tm; - if (!self->isTimerSensorPending(tm)) { - Py_INCREF(Py_None); - return Py_None; - } - SbTime * retTm = new SbTime(tm.getValue()); - return SWIG_NewPointerObj((void *)retTm, SWIGTYPE_p_SbTime, 1); - } - -SWIGINTERNINLINE int -SWIG_AsVal_size_t (PyObject * obj, size_t *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); - if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); - return res; -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_size_t (size_t value) -{ - return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); -} - - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UINT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned int >(v); - } - } - return res; -} - -SWIGINTERN void SoSFEnum_setValue__SWIG_2(SoSFEnum *self,SoSFEnum const *other){ *self = *other; } -SWIGINTERN void SoSFFloat_setValue__SWIG_1(SoSFFloat *self,SoSFFloat const *other){ *self = *other; } -SWIGINTERN void SoSFUShort_setValue__SWIG_1(SoSFUShort *self,SoSFUShort const *other){ *self = *other; } - -static void -convert_SbVec3f_array(PyObject * input, float temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3f SbVec3f___add__(SbVec3f *self,SbVec3f const &u){ return *self + u; } -SWIGINTERN SbVec3f SbVec3f___sub__(SbVec3f *self,SbVec3f const &u){ return *self - u; } -SWIGINTERN SbVec3f SbVec3f___mul____SWIG_0(SbVec3f *self,float const d){ return *self * d; } -SWIGINTERN SbVec3f SbVec3f___mul____SWIG_1(SbVec3f *self,SbMatrix const &m){ SbVec3f res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec3f SbVec3f___rmul__(SbVec3f *self,float const d){ return *self * d; } -SWIGINTERN SbVec3f SbVec3f___div__(SbVec3f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec3f___eq__(SbVec3f *self,SbVec3f const &u){ return *self == u; } -SWIGINTERN int SbVec3f___nq__(SbVec3f *self,SbVec3f const &u){ return *self != u; } -SWIGINTERN float SbVec3f___getitem__(SbVec3f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3f___setitem__(SbVec3f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN SbColor SbColor___add__(SbColor *self,SbColor const &u){ return *self + u; } -SWIGINTERN SbColor SbColor___sub__(SbColor *self,SbColor const &u){ return *self - u; } -SWIGINTERN SbColor SbColor___mul__(SbColor *self,float const d){ return *self * d; } -SWIGINTERN SbColor SbColor___rmul__(SbColor *self,float const d){ return *self * d; } -SWIGINTERN SbColor SbColor___div__(SbColor *self,float const d){ return *self / d; } -SWIGINTERN int SbColor___eq__(SbColor *self,SbColor const &u){ return *self == u; } -SWIGINTERN int SbColor___nq__(SbColor *self,SbColor const &u){ return *self != u; } -SWIGINTERN float SbColor___getitem__(SbColor *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbColor___setitem__(SbColor *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN void SoSFImage_setValue__SWIG_2(SoSFImage *self,SbVec2s const &size,int const nc,PyObject *pixels){ - Py_ssize_t len = size[0] * size[1] * nc; - unsigned char * image; - - PyString_AsStringAndSize(pixels, (char **)&image, &len); - self->setValue(size, nc, image); - } -SWIGINTERN void SoSFImage_setValue__SWIG_3(SoSFImage *self,SoSFImage const *other){ *self = *other; } -SWIGINTERN void SoSFString_setValue__SWIG_2(SoSFString *self,SoSFString const *other){ *self = *other; } -SWIGINTERN void SoSFColor_setValue__SWIG_4(SoSFColor *self,SoSFColor const *other){ *self = *other; } - -static void -convert_SbVec3s_array(PyObject * input, short temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - temp[2] = PyInt_AsLong(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 shorts"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3s SbVec3s___add__(SbVec3s *self,SbVec3s const &u){ return *self + u; } -SWIGINTERN SbVec3s SbVec3s___sub__(SbVec3s *self,SbVec3s const &u){ return *self - u; } -SWIGINTERN SbVec3s SbVec3s___mul__(SbVec3s *self,double const d){ return *self * d; } -SWIGINTERN SbVec3s SbVec3s___rmul__(SbVec3s *self,double const d){ return *self * d; } -SWIGINTERN SbVec3s SbVec3s___div__(SbVec3s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec3s___eq__(SbVec3s *self,SbVec3s const &u){ return *self == u; } -SWIGINTERN int SbVec3s___nq__(SbVec3s *self,SbVec3s const &u){ return *self != u; } -SWIGINTERN short SbVec3s___getitem__(SbVec3s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3s___setitem__(SbVec3s *self,int i,short value){ (*self)[i] = value; } -SWIGINTERN PyObject *SoCallbackAction_getMaterial__SWIG_0(SoCallbackAction *self,int const index=0){ - SbColor * ambient = new SbColor; - SbColor * diffuse = new SbColor; - SbColor * specular = new SbColor; - SbColor * emission = new SbColor; - float shininess, transparency; - - self->getMaterial(*ambient, *diffuse, *specular, *emission, shininess, transparency, index); - - return Py_BuildValue("(OOOOff)", - SWIG_NewPointerObj(ambient, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(diffuse, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(specular, SWIGTYPE_p_SbColor, 1), - SWIG_NewPointerObj(emission, SWIGTYPE_p_SbColor, 1), - shininess, - transparency); - } -SWIGINTERN void SoCallbackAction_addPreCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPreCallback(type, SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPostCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPostCallback(type, SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPreTailCallback__SWIG_1(SoCallbackAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPreTailCallback(SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPostTailCallback__SWIG_1(SoCallbackAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPostTailCallback(SoCallbackActionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addTriangleCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addTriangleCallback(type, SoTrianglePythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addLineSegmentCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addLineSegmentCallback(type, SoLineSegmentPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoCallbackAction_addPointCallback__SWIG_1(SoCallbackAction *self,SoType const type,PyObject *pyfunc,PyObject *userdata){ - self->addPointCallback(type, SoPointPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoGLRenderPassPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("O", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_XDECREF(result); -} - -static SoGLRenderAction::AbortCode -SoGLRenderAbortPythonCB(void * userdata) -{ - PyObject *func, *arglist; - PyObject *result; - SoGLRenderAction::AbortCode res; - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("O", PyTuple_GetItem((PyObject *)userdata, 1)); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - res = (SoGLRenderAction::AbortCode)PyInt_AsLong(result); - - Py_DECREF(arglist); - Py_XDECREF(result); - - return res; -} - -static void -SoGLPreRenderPythonCB(void * userdata, class SoGLRenderAction * action) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoGLRenderAction, 1); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); -} - - -static void -convert_SbVec2f_array(PyObject *input, float temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec2f SbVec2f___add__(SbVec2f *self,SbVec2f const &u){ return *self + u; } -SWIGINTERN SbVec2f SbVec2f___sub__(SbVec2f *self,SbVec2f const &u){ return *self - u; } -SWIGINTERN SbVec2f SbVec2f___mul__(SbVec2f *self,float const d){ return *self * d; } -SWIGINTERN SbVec2f SbVec2f___rmul__(SbVec2f *self,float const d){ return *self * d; } -SWIGINTERN SbVec2f SbVec2f___div__(SbVec2f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec2f___eq__(SbVec2f *self,SbVec2f const &u){ return *self == u; } -SWIGINTERN int SbVec2f___nq__(SbVec2f *self,SbVec2f const &u){ return *self != u; } -SWIGINTERN float SbVec2f___getitem__(SbVec2f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2f___setitem__(SbVec2f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN int SbViewportRegion___eq__(SbViewportRegion *self,SbViewportRegion const &u){ return *self == u; } -SWIGINTERN int SbViewportRegion___ne__(SbViewportRegion *self,SbViewportRegion const &u){ return !(*self == u ); } -SWIGINTERN void SoGLRenderAction_setPassCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->setPassCallback(SoGLRenderPassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_setAbortCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->setAbortCallback(SoGLRenderAbortPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_addPreRenderCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->addPreRenderCallback(SoGLPreRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoGLRenderAction_removePreRenderCallback__SWIG_1(SoGLRenderAction *self,PyObject *pyfunc,PyObject *userdata){ - self->removePreRenderCallback(SoGLPreRenderPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN int SbBox3f___eq__(SbBox3f *self,SbBox3f const &u){ return *self == u; } -SWIGINTERN int SbBox3f___ne__(SbBox3f *self,SbBox3f const &u){ return *self != u; } - -static void -convert_SbMat_array(PyObject * input, SbMat temp) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - (PySequence_Size(PySequence_GetItem(input, 0)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 1)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 2)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 3)) == 4)) { - int i,j; - for (i=0; i < 4; i++) { - for (j=0; j < 4; j++) { - PyObject * oij = PySequence_GetItem(PySequence_GetItem(input, i), j); - if (!PyNumber_Check(oij)) { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - return; - } - temp[i][j] = PyFloat_AsDouble(oij); - Py_DECREF(oij); - } - } - } else { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN PyObject *SbMatrix_getTransform__SWIG_1(SbMatrix *self){ - SbVec3f * t = new SbVec3f; - SbVec3f * s = new SbVec3f; - SbRotation * r = new SbRotation; - SbRotation * so = new SbRotation; - - self->getTransform(*t, *r, *s, *so); - - return Py_BuildValue("(OOOO)", - SWIG_NewPointerObj((void *)t, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)r, SWIGTYPE_p_SbRotation, 1), - SWIG_NewPointerObj((void *)s, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)so, SWIGTYPE_p_SbRotation, 1)); - } -SWIGINTERN PyObject *SbMatrix_getTransform__SWIG_2(SbMatrix *self,SbVec3f ¢er){ - SbVec3f * t = new SbVec3f; - SbVec3f * s = new SbVec3f; - SbRotation * r = new SbRotation; - SbRotation * so = new SbRotation; - - self->getTransform(*t, *r, *s, *so, center); - - return Py_BuildValue("(OOOO)", - SWIG_NewPointerObj((void *)t, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)r, SWIGTYPE_p_SbRotation, 1), - SWIG_NewPointerObj((void *)s, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)so, SWIGTYPE_p_SbRotation, 1)); - } -SWIGINTERN SbMatrix SbMatrix___mul____SWIG_0(SbMatrix *self,SbMatrix const &u){ return *self * u; } -SWIGINTERN SbVec3f SbMatrix___mul____SWIG_1(SbMatrix *self,SbVec3f const &u){ SbVec3f res; self->multMatrixVec(u, res); return res; } -SWIGINTERN SbVec3f SbMatrix___rmul__(SbMatrix *self,SbVec3f const &u){ SbVec3f res; self->multVecMatrix(u, res); return res; } -SWIGINTERN int SbMatrix___eq__(SbMatrix *self,SbMatrix const &u){ return *self == u; } -SWIGINTERN int SbMatrix___ne__(SbMatrix *self,SbMatrix const &u){ return *self != u; } -SWIGINTERN float const *SbMatrix___getitem__(SbMatrix *self,int i){ return (self->getValue())[i]; } -SWIGINTERN int SbXfBox3f___eq__(SbXfBox3f *self,SbXfBox3f const &u){ return *self == u; } -SWIGINTERN int SbXfBox3f___ne__(SbXfBox3f *self,SbXfBox3f const &u){ return *self != u; } - -static void -convert_SbVec4f_array(PyObject * input, float temp[4]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2)) && - PyNumber_Check(PySequence_GetItem(input, 3))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - temp[3] = PyFloat_AsDouble(PySequence_GetItem(input, 3)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec4f SbVec4f___add__(SbVec4f *self,SbVec4f const &u){ return *self + u; } -SWIGINTERN SbVec4f SbVec4f___sub__(SbVec4f *self,SbVec4f const &u){ return *self - u; } -SWIGINTERN SbVec4f SbVec4f___mul____SWIG_0(SbVec4f *self,float const d){ return *self * d; } -SWIGINTERN SbVec4f SbVec4f___mul____SWIG_1(SbVec4f *self,SbMatrix const &m){ SbVec4f res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec4f SbVec4f___rmul__(SbVec4f *self,float const d){ return *self * d; } -SWIGINTERN SbVec4f SbVec4f___div__(SbVec4f *self,float const d){ return *self / d; } -SWIGINTERN int SbVec4f___eq__(SbVec4f *self,SbVec4f const &u){ return *self == u; } -SWIGINTERN int SbVec4f___nq__(SbVec4f *self,SbVec4f const &u){ return *self != u; } -SWIGINTERN float SbVec4f___getitem__(SbVec4f *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec4f___setitem__(SbVec4f *self,int i,float value){ (*self)[i] = value; } -SWIGINTERN SbRotation SbRotation___mul____SWIG_0(SbRotation *self,SbRotation const &u){ return *self * u; } -SWIGINTERN SbRotation SbRotation___mul____SWIG_1(SbRotation *self,double const d){ SbRotation res(*self); return (res *= d); } -SWIGINTERN SbVec3f SbRotation___mul____SWIG_2(SbRotation *self,SbVec3f const &v){ SbVec3f res; self->multVec(v, res); return res; } -SWIGINTERN int SbRotation___eq__(SbRotation *self,SbRotation const &u){ return *self == u; } -SWIGINTERN int SbRotation___nq__(SbRotation *self,SbRotation const &u){ return *self != u; } - -static SoCallbackAction::Response -SoIntersectionVisitationPythonCB(void * closure, - const SoPath * where) -{ - PyObject *func, *arglist; - PyObject *result, *path; - int iresult = 0; - - path = SWIG_NewPointerObj((void *) where, SWIGTYPE_p_SoPath, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)closure, 1), path); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(path); - Py_XDECREF(result); - - return (SoCallbackAction::Response)iresult; -} - -static SbBool -SoIntersectionFilterPythonCB(void * closure, - const SoPath * p1, - const SoPath * p2) -{ - PyObject *func, *arglist; - PyObject *result, *path1, *path2; - int iresult = 0; - - path1 = SWIG_NewPointerObj((void *) p1, SWIGTYPE_p_SoPath, 0); - path2 = SWIG_NewPointerObj((void *) p2, SWIGTYPE_p_SoPath, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)closure, 1), path1, path2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(path1); - Py_DECREF(path2); - Py_XDECREF(result); - - return (SbBool)iresult; -} - -static SoIntersectionDetectionAction::Resp -SoIntersectionPythonCB(void * closure, - const SoIntersectingPrimitive * p1, - const SoIntersectingPrimitive * p2) -{ - PyObject *func, *arglist; - PyObject *result, *primitive1, *primitive2; - int iresult = 0; - - primitive1 = SWIG_NewPointerObj((void *) p1, SWIGTYPE_p_SoIntersectingPrimitive, 0); - primitive2 = SWIG_NewPointerObj((void *) p2, SWIGTYPE_p_SoIntersectingPrimitive, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OOO)", PyTuple_GetItem((PyObject *)closure, 1), primitive1, primitive2); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - iresult = PyInt_AsLong(result); - } - - Py_DECREF(arglist); - Py_DECREF(primitive1); - Py_DECREF(primitive2); - Py_XDECREF(result); - - return (SoIntersectionDetectionAction::Resp)iresult; -} - -SWIGINTERN void SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(SoIntersectionDetectionAction *self,SoType type,PyObject *pyfunc,PyObject *closure){ - self->addVisitationCallback(type, SoIntersectionVisitationPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(SoIntersectionDetectionAction *self,SoType type,PyObject *pyfunc,PyObject *closure){ - self->removeVisitationCallback(type, SoIntersectionVisitationPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_setFilterCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->setFilterCallback(SoIntersectionFilterPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->addIntersectionCallback(SoIntersectionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(SoIntersectionDetectionAction *self,PyObject *pyfunc,PyObject *closure=NULL){ - self->removeIntersectionCallback(SoIntersectionPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - closure ? closure : Py_None)); - } -SWIGINTERN void SoSFInt32_setValue__SWIG_1(SoSFInt32 *self,SoSFInt32 const *other){ *self = *other; } - -typedef struct { - uint32_t cachebitmask; - uint32_t diffuse; - SbColor ambient; - SbColor emissive; - SbColor specular; - float shininess; - int32_t lightmodel; - int32_t blending; - int32_t blend_sfactor; - int32_t blend_dfactor; - int32_t stipplenum; - int32_t vertexordering; - int32_t culling; - int32_t twoside; - int32_t flatshading; - int32_t glimageid; - int32_t alphatest; - } SoGLLazyElement_GLState; - - - -static void -SoDraggerPythonCB(void * data, SoDragger * dragger) -{ - PyObject *func, *arglist; - PyObject *result, *dragCB; - - dragCB = SWIG_NewPointerObj((void *) dragger, SWIGTYPE_p_SoDragger, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), dragCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(dragCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoSFNode_setValue__SWIG_1(SoSFNode *self,SoSFNode const *other){ *self = *other; } -SWIGINTERN void SoSFName_setValue__SWIG_2(SoSFName *self,SoSFName const *other){ *self = *other; } -SWIGINTERN SbName const &SoMFName___getitem__(SoMFName *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFName___setitem__(SoMFName *self,int i,SbName const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFName_setValue__SWIG_2(SoMFName *self,SoMFName const *other){ *self = *other; } -SWIGINTERN SbName const *SoMFName___getValuesHelper____SWIG_0(SoMFName *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN int SoNodeKitPath___eq__(SoNodeKitPath *self,SoNodeKitPath const &u){ return *self == u; } -SWIGINTERN int SoNodeKitPath___nq__(SoNodeKitPath *self,SoNodeKitPath const &u){ return !(*self == u); } - -static void -SoSensorPythonCB(void * data, SoSensor * sensor) -{ - swig_type_info * swig_type = 0; - char * sensor_cast_name = NULL; - PyObject * func, * arglist; - PyObject * result, * pysensor; - - /* the first item in the data sequence is the python callback - * function; the second item is the supplied data python object; the - * third item contains the sensor type that we should create */ - sensor_cast_name = PyString_AsString(PyTuple_GetItem((PyObject *)data, 2)); - if (!(swig_type = SWIG_TypeQuery(sensor_cast_name))) { - PyErr_SetString(PyExc_TypeError, "Sensor type query failed."); - return; - } - pysensor = SWIG_NewPointerObj((void *)sensor, swig_type, 0); - - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), pysensor); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(pysensor); - Py_XDECREF(result); -} - -SWIGINTERN void SoSFBool_setValue__SWIG_1(SoSFBool *self,SoSFBool const *other){ *self = *other; } - -static void -convert_SbVec3d_array(PyObject *input, double temp[3]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 3) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 3 doubles"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec3d SbVec3d___add__(SbVec3d *self,SbVec3d const &u){ return *self + u; } -SWIGINTERN SbVec3d SbVec3d___sub__(SbVec3d *self,SbVec3d const &u){ return *self - u; } -SWIGINTERN SbVec3d SbVec3d___mul____SWIG_0(SbVec3d *self,double const d){ return *self * d; } -SWIGINTERN SbVec3d SbVec3d___mul____SWIG_1(SbVec3d *self,SbDPMatrix const &m){ SbVec3d res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec3d SbVec3d___rmul__(SbVec3d *self,double const d){ return *self * d; } -SWIGINTERN SbVec3d SbVec3d___div__(SbVec3d *self,double const d){ return *self / d; } -SWIGINTERN int SbVec3d___eq__(SbVec3d *self,SbVec3d const &u){ return *self == u; } -SWIGINTERN int SbVec3d___nq__(SbVec3d *self,SbVec3d const &u){ return *self != u; } -SWIGINTERN double SbVec3d___getitem__(SbVec3d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec3d___setitem__(SbVec3d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN PyObject *SbViewVolume_projectPointToLine(SbViewVolume *self,SbVec2f const &pt){ - SbVec3f * line0 = new SbVec3f; - SbVec3f * line1 = new SbVec3f; - - self->projectPointToLine(pt, *line0, *line1); - - return Py_BuildValue("(OO)", - SWIG_NewPointerObj((void *)line0, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)line1, SWIGTYPE_p_SbVec3f, 1)); - } -SWIGINTERN PyObject *SbViewVolume_projectToScreen(SbViewVolume *self){ - SbVec3f * src = new SbVec3f; - SbVec3f * dst = new SbVec3f; - - self->projectToScreen(*src, *dst); - - return Py_BuildValue("(OO)", - SWIG_NewPointerObj((void *)src, SWIGTYPE_p_SbVec3f, 1), - SWIG_NewPointerObj((void *)dst, SWIGTYPE_p_SbVec3f, 1)); - } -SWIGINTERN void SoSFVec3f_setValue__SWIG_3(SoSFVec3f *self,SoSFVec3f const *other){ *self = *other; } -SWIGINTERN void SoDragger_addStartCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addStartCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeStartCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeStartCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addMotionCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addMotionCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeMotionCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeMotionCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addFinishCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addFinishCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeFinishCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeFinishCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addValueChangedCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addValueChangedCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeValueChangedCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeValueChangedCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_addOtherEventCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->addOtherEventCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoDragger_removeOtherEventCallback__SWIG_2(SoDragger *self,PyObject *pyfunc,PyObject *data=NULL){ - self->removeOtherEventCallback(SoDraggerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - data ? data : Py_None)); - } -SWIGINTERN void SoSFRotation_setValue__SWIG_4(SoSFRotation *self,SoSFRotation const *other){ *self = *other; } -SWIGINTERN int SbPlane___eq__(SbPlane *self,SbPlane const &u){ return *self == u; } -SWIGINTERN int SbPlane___ne__(SbPlane *self,SbPlane const &u){ return *self != u; } -SWIGINTERN SbColor4f SbColor4f___add__(SbColor4f *self,SbColor4f const &u){ return *self + u; } -SWIGINTERN SbColor4f SbColor4f___sub__(SbColor4f *self,SbColor4f const &u){ return *self - u; } -SWIGINTERN SbColor4f SbColor4f___mul__(SbColor4f *self,float const d){ return *self * d; } -SWIGINTERN SbColor4f SbColor4f___rmul__(SbColor4f *self,float const d){ return *self * d; } -SWIGINTERN SbColor4f SbColor4f___div__(SbColor4f *self,float const d){ return *self / d; } -SWIGINTERN int SbColor4f___eq__(SbColor4f *self,SbColor4f const &u){ return *self == u; } -SWIGINTERN int SbColor4f___nq__(SbColor4f *self,SbColor4f const &u){ return *self != u; } -SWIGINTERN float SbColor4f___getitem__(SbColor4f *self,int i){ return (self->getValue())[i]; } - -static void -convert_SoMFBool_array(PyObject * input, int len, SbBool * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN SbBool const *SoMFBool___getValuesHelper____SWIG_0(SoMFBool *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFEnum_array(PyObject * input, int len, int * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFEnum_setValue__SWIG_2(SoMFEnum *self,SoMFEnum const *other){ *self = *other; } -SWIGINTERN int const *SoMFEnum___getValuesHelper____SWIG_0(SoMFEnum *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFFloat_array(PyObject * input, int len, float * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFFloat_setValue__SWIG_1(SoMFFloat *self,SoMFFloat const *other){ *self = *other; } -SWIGINTERN float const *SoMFFloat___getValuesHelper____SWIG_0(SoMFFloat *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec3f_array(PyObject * input, int len, float temp[][3]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec3f_setValue__SWIG_3(SoMFVec3f *self,SoMFVec3f const *other){ *self = *other; } -SWIGINTERN SbVec3f const *SoMFVec3f___getValuesHelper____SWIG_0(SoMFVec3f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbString const &SoMFString___getitem__(SoMFString *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFString___setitem__(SoMFString *self,int i,SbString const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFString_setValue__SWIG_2(SoMFString *self,SoMFString const *other){ *self = *other; } -SWIGINTERN SbString const *SoMFString___getValuesHelper____SWIG_0(SoMFString *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec2f_array(PyObject * input, int len, float temp[][2]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec2f_setValue__SWIG_3(SoMFVec2f *self,SoMFVec2f const *other){ *self = *other; } -SWIGINTERN SbVec2f const *SoMFVec2f___getValuesHelper____SWIG_0(SoMFVec2f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec4f_array(PyObject * input, int len, float temp[][4]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec4f_setValue__SWIG_3(SoMFVec4f *self,SoMFVec4f const *other){ *self = *other; } -SWIGINTERN SbVec4f const *SoMFVec4f___getValuesHelper____SWIG_0(SoMFVec4f *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbRotation const &SoMFRotation___getitem__(SoMFRotation *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFRotation___setitem__(SoMFRotation *self,int i,SbRotation const &value){ self->set1Value(i, value); } -SWIGINTERN SbRotation const *SoMFRotation___getValuesHelper____SWIG_0(SoMFRotation *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFRotation_setValue__SWIG_4(SoMFRotation *self,SoMFRotation const *other){ *self = *other; } -SWIGINTERN SbMatrix const &SoMFMatrix___getitem__(SoMFMatrix *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFMatrix___setitem__(SoMFMatrix *self,int i,SbMatrix const &value){ self->set1Value(i, value); } -SWIGINTERN SbMatrix const *SoMFMatrix___getValuesHelper____SWIG_0(SoMFMatrix *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFMatrix_setValue__SWIG_2(SoMFMatrix *self,SoMFMatrix const *other){ *self = *other; } -SWIGINTERN void SoSFPath_setValue__SWIG_1(SoSFPath *self,SoSFPath const *other){ *self = *other; } -SWIGINTERN void SoSFTrigger_setValue__SWIG_1(SoSFTrigger *self,SoSFTrigger const *other){ *self = *other; } -SWIGINTERN void SoSFShort_setValue__SWIG_1(SoSFShort *self,SoSFShort const *other){ *self = *other; } -SWIGINTERN void SoSFTime_setValue__SWIG_1(SoSFTime *self,SoSFTime const *other){ *self = *other; } -SWIGINTERN int SbBox3s___eq__(SbBox3s *self,SbBox3s const &u){ return *self == u; } -SWIGINTERN int SbBox3s___ne__(SbBox3s *self,SbBox3s const &u){ return *self != u; } -SWIGINTERN void SoSFImage3_setValue__SWIG_1(SoSFImage3 *self,SbVec3s const &size,int const nc,PyObject *pixels){ - Py_ssize_t len = size[0] * size[1] * size[2] * nc; - unsigned char * image; - - PyString_AsStringAndSize(pixels, (char **)&image, &len); - self->setValue(size, nc, image); - } -SWIGINTERN void SoSFImage3_setValue__SWIG_2(SoSFImage3 *self,SoSFImage3 const *other){ *self = *other; } -SWIGINTERN void SoSFMatrix_setValue__SWIG_2(SoSFMatrix *self,SoSFMatrix const *other){ *self = *other; } -SWIGINTERN void SoSFPlane_setValue__SWIG_1(SoSFPlane *self,SoSFPlane const *other){ *self = *other; } -SWIGINTERN void SoSFUInt32_setValue__SWIG_1(SoSFUInt32 *self,SoSFUInt32 const *other){ *self = *other; } -SWIGINTERN void SoSFVec2f_setValue__SWIG_3(SoSFVec2f *self,SoSFVec2f const *other){ *self = *other; } -SWIGINTERN void SoSFVec4f_setValue__SWIG_3(SoSFVec4f *self,SoSFVec4f const *other){ *self = *other; } -SWIGINTERN void SoSFEngine_setValue__SWIG_1(SoSFEngine *self,SoSFEngine const *other){ *self = *other; } -SWIGINTERN SbColor const &SoMFColor___getitem__(SoMFColor *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFColor___setitem____SWIG_0(SoMFColor *self,int i,SbColor const &value){ self->set1Value(i, value); } -SWIGINTERN void SoMFColor___setitem____SWIG_1(SoMFColor *self,int i,float const rgb[3]){ self->set1Value(i, rgb); } -SWIGINTERN void SoMFColor_setValue__SWIG_4(SoMFColor *self,SoMFColor const *other){ *self = *other; } -SWIGINTERN SbColor const *SoMFColor___getValuesHelper____SWIG_0(SoMFColor *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoEngine const *SoMFEngine___getitem__(SoMFEngine *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFEngine___setitem__(SoMFEngine *self,int i,SoEngine *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFEngine_setValue__SWIG_1(SoMFEngine *self,SoMFEngine const *other){ *self = *other; } -SWIGINTERN SoEngine const **SoMFEngine___getValuesHelper____SWIG_0(SoMFEngine *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFInt32_array(PyObject * input, int len, int32_t * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFInt32_setValue__SWIG_1(SoMFInt32 *self,SoMFInt32 const *other){ *self = *other; } -SWIGINTERN int32_t const *SoMFInt32___getValuesHelper____SWIG_0(SoMFInt32 *self,int32_t &len,int32_t i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoNode const *SoMFNode___getitem__(SoMFNode *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFNode___setitem__(SoMFNode *self,int i,SoNode *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFNode_setValue__SWIG_1(SoMFNode *self,SoMFNode const *other){ *self = *other; } -SWIGINTERN SoNode const **SoMFNode___getValuesHelper____SWIG_0(SoMFNode *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SoPath const *SoMFPath___getitem__(SoMFPath *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFPath___setitem__(SoMFPath *self,int i,SoPath *value){ self->set1Value(i, value); } -SWIGINTERN void SoMFPath_setValue__SWIG_1(SoMFPath *self,SoMFPath const *other){ *self = *other; } -SWIGINTERN SoPath const **SoMFPath___getValuesHelper____SWIG_0(SoMFPath *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbPlane const &SoMFPlane___getitem__(SoMFPlane *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFPlane___setitem__(SoMFPlane *self,int i,SbPlane const &value){ self->set1Value(i, value); } -SWIGINTERN SbPlane const *SoMFPlane___getValuesHelper____SWIG_0(SoMFPlane *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFPlane_setValue__SWIG_1(SoMFPlane *self,SoMFPlane const *other){ *self = *other; } - -static void -convert_SoMFShort_array(PyObject * input, int len, short * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFShort_setValue__SWIG_1(SoMFShort *self,SoMFShort const *other){ *self = *other; } -SWIGINTERN short const *SoMFShort___getValuesHelper____SWIG_0(SoMFShort *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN SbTime const &SoMFTime___getitem__(SoMFTime *self,int i){ return (*self)[i]; } -SWIGINTERN void SoMFTime___setitem__(SoMFTime *self,int i,SbTime const &value){ self->set1Value(i, value); } -SWIGINTERN SbTime const *SoMFTime___getValuesHelper____SWIG_0(SoMFTime *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SoMFTime_setValue__SWIG_1(SoMFTime *self,SoMFTime const *other){ *self = *other; } - -static void -convert_SoMFUInt32_array(PyObject * input, int len, uint32_t * temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFUInt32_setValue__SWIG_1(SoMFUInt32 *self,SoMFUInt32 const *other){ *self = *other; } -SWIGINTERN uint32_t const *SoMFUInt32___getValuesHelper____SWIG_0(SoMFUInt32 *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFUShort_array(PyObject *input, int len, unsigned short *temp) -{ - int i; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFUShort_setValue__SWIG_1(SoMFUShort *self,SoMFUShort const *other){ *self = *other; } -SWIGINTERN unsigned short const *SoMFUShort___getValuesHelper____SWIG_0(SoMFUShort *self,int &len,int i=0){ - if (i < 0 || i > self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } - -static void -convert_SoMFVec3d_array(PyObject * input, int len, double temp[][3]) -{ - int i,j; - for (i=0; iset1Value(i, value); } -SWIGINTERN void SoMFVec3d_setValue__SWIG_3(SoMFVec3d *self,SoMFVec3d const *other){ *self = *other; } -SWIGINTERN SbVec3d const *SoMFVec3d___getValuesHelper____SWIG_0(SoMFVec3d *self,int &len,int i=0){ - if (i < 0 || i >= self->getNum()) { return NULL; } - len = self->getNum() - i; - return self->getValues(i); - } -SWIGINTERN void SbStringList___setitem__(SbStringList *self,int const i,SbString *value){ self->set(i,value); } -SWIGINTERN SbString *SbStringList___getitem__(SbStringList *self,int i){ return (*self)[i]; } -SWIGINTERN SbString *SbStringList_get(SbStringList *self,int const i){ return (*self)[i]; } -SWIGINTERN void SbVec3fList___setitem__(SbVec3fList *self,int const i,SbVec3f *value){ self->set(i,value); } -SWIGINTERN SbVec3f *SbVec3fList___getitem__(SbVec3fList *self,int i){ return (*self)[i]; } -SWIGINTERN SbVec3f *SbVec3fList_get(SbVec3fList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SbBox2f___eq__(SbBox2f *self,SbBox2f const &u){ return *self == u; } -SWIGINTERN int SbBox2f___ne__(SbBox2f *self,SbBox2f const &u){ return *self != u; } -SWIGINTERN int SoGroup___len__(SoGroup *self){ return self->getNumChildren(); } -SWIGINTERN int SoGroup___contains__(SoGroup *self,SoNode const *node){ return (self->findChild(node) != -1); } -SWIGINTERN SoNode *SoGroup___getitem__(SoGroup *self,int index){ return self->getChild(index); } - -static void -SoPythonCallBack(void * userdata, SoAction * action) -{ - PyObject *func, *arglist; - PyObject *result, *acCB; - - acCB = SWIG_NewPointerObj((void *) action, SWIGTYPE_p_SoAction, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), acCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(acCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoCallback_setCallback__SWIG_2(SoCallback *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->setCallback(SoPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoEventPythonCallBack(void * userdata, SoEventCallback * node) -{ - PyObject *func, *arglist; - PyObject *result, *evCB; - - evCB = SWIG_NewPointerObj((void *) node, SWIGTYPE_p_SoEventCallback, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)userdata, 1), evCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(evCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoEventCallback_addEventCallback__SWIG_2(SoEventCallback *self,SoType eventtype,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addEventCallback(eventtype, SoEventPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoEventCallback_removeEventCallback__SWIG_2(SoEventCallback *self,SoType eventtype,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeEventCallback(eventtype, SoEventPythonCallBack, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -SoSelectionPathPythonCB(void * data, SoPath * path) -{ - PyObject *func, *arglist; - PyObject *result, *pathCB; - - pathCB = SWIG_NewPointerObj((void *) path, SWIGTYPE_p_SoPath, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)data, 1), pathCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(pathCB); - Py_XDECREF(result); -} - -static void -SoSelectionClassPythonCB(void * data, SoSelection * sel) -{ - PyObject *func, *arglist; - PyObject *result, *selCB; - - selCB = SWIG_NewPointerObj((void *) sel, SWIGTYPE_p_SoSelection, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)data, 1), selCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(selCB); - Py_XDECREF(result); -} - -static SoPath * -SoSelectionPickPythonCB(void * data, const SoPickedPoint * pick) -{ - PyObject *func, *arglist; - PyObject *result, *pickCB; - SoPath *resultobj; - - pickCB = SWIG_NewPointerObj((void *) pick, SWIGTYPE_p_SoPickedPoint, 0); - - /* the first item in the data sequence is the python callback - * function; the second is the supplied data python object */ - func = PyTuple_GetItem((PyObject *)data, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)data, 1), pickCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - else { - SWIG_ConvertPtr(result, (void **) &resultobj, SWIGTYPE_p_SoPath, 1); - } - - Py_DECREF(arglist); - Py_DECREF(pickCB); - Py_XDECREF(result); - - return resultobj; -} - -SWIGINTERN void SoSelection_addSelectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addSelectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeSelectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeSelectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addDeselectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addDeselectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeDeselectionCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeDeselectionCallback(SoSelectionPathPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addStartCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addStartCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeStartCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeStartCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_addFinishCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addFinishCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeFinishCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeFinishCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_setPickFilterCallback__SWIG_3(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL,int callOnlyIfSelectable=1){ - self->setPickFilterCallback(SoSelectionPickPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None), - callOnlyIfSelectable); - } -SWIGINTERN void SoSelection_addChangeCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->addChangeCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } -SWIGINTERN void SoSelection_removeChangeCallback__SWIG_2(SoSelection *self,PyObject *pyfunc,PyObject *userdata=NULL){ - self->removeChangeCallback(SoSelectionClassPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userdata ? userdata : Py_None)); - } - -static void -convert_SbVec2d_array(PyObject *input, double temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec2d SbVec2d___add__(SbVec2d *self,SbVec2d const &u){ return *self + u; } -SWIGINTERN SbVec2d SbVec2d___sub__(SbVec2d *self,SbVec2d const &u){ return *self - u; } -SWIGINTERN SbVec2d SbVec2d___mul__(SbVec2d *self,float const d){ return *self * d; } -SWIGINTERN SbVec2d SbVec2d___rmul__(SbVec2d *self,float const d){ return *self * d; } -SWIGINTERN SbVec2d SbVec2d___div__(SbVec2d *self,float const d){ return *self / d; } -SWIGINTERN int SbVec2d___eq__(SbVec2d *self,SbVec2d const &u){ return *self == u; } -SWIGINTERN int SbVec2d___nq__(SbVec2d *self,SbVec2d const &u){ return *self != u; } -SWIGINTERN double SbVec2d___getitem__(SbVec2d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2d___setitem__(SbVec2d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN int SbBox2d___eq__(SbBox2d *self,SbBox2d const &u){ return *self == u; } -SWIGINTERN int SbBox2d___ne__(SbBox2d *self,SbBox2d const &u){ return *self != u; } -SWIGINTERN SbBox2d &SbBox2d_setValue(SbBox2d *self,SbBox2d const &u){ - self->setBounds(u.getMin(), u.getMax()); - return *self; - } -SWIGINTERN int SbBox2s___eq__(SbBox2s *self,SbBox2s const &u){ return *self == u; } -SWIGINTERN int SbBox2s___ne__(SbBox2s *self,SbBox2s const &u){ return *self != u; } - -static void -convert_SbVec4d_array(PyObject * input, double temp[4]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1)) && - PyNumber_Check(PySequence_GetItem(input, 2)) && - PyNumber_Check(PySequence_GetItem(input, 3))) { - temp[0] = PyFloat_AsDouble(PySequence_GetItem(input, 0)); - temp[1] = PyFloat_AsDouble(PySequence_GetItem(input, 1)); - temp[2] = PyFloat_AsDouble(PySequence_GetItem(input, 2)); - temp[3] = PyFloat_AsDouble(PySequence_GetItem(input, 3)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbVec4d SbVec4d___add__(SbVec4d *self,SbVec4d const &u){ return *self + u; } -SWIGINTERN SbVec4d SbVec4d___sub__(SbVec4d *self,SbVec4d const &u){ return *self - u; } -SWIGINTERN SbVec4d SbVec4d___mul____SWIG_0(SbVec4d *self,double const d){ return *self * d; } -SWIGINTERN SbVec4d SbVec4d___mul____SWIG_1(SbVec4d *self,SbDPMatrix const &m){ SbVec4d res; m.multVecMatrix(*self,res); return res; } -SWIGINTERN SbVec4d SbVec4d___rmul__(SbVec4d *self,double const d){ return *self * d; } -SWIGINTERN SbVec4d SbVec4d___div__(SbVec4d *self,double const d){ return *self / d; } -SWIGINTERN int SbVec4d___eq__(SbVec4d *self,SbVec4d const &u){ return *self == u; } -SWIGINTERN int SbVec4d___nq__(SbVec4d *self,SbVec4d const &u){ return *self != u; } -SWIGINTERN double SbVec4d___getitem__(SbVec4d *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec4d___setitem__(SbVec4d *self,int i,double value){ (*self)[i] = value; } -SWIGINTERN SbDPRotation SbDPRotation___mul____SWIG_0(SbDPRotation *self,SbDPRotation const &u){ return *self * u; } -SWIGINTERN SbDPRotation SbDPRotation___mul____SWIG_1(SbDPRotation *self,double const d){ SbDPRotation res(*self); return (res *= d); } -SWIGINTERN SbVec3d SbDPRotation___mul____SWIG_2(SbDPRotation *self,SbVec3d const &v){ SbVec3d res; self->multVec(v, res); return res; } -SWIGINTERN int SbDPRotation___eq__(SbDPRotation *self,SbDPRotation const &u){ return *self == u; } -SWIGINTERN int SbDPRotation___nq__(SbDPRotation *self,SbDPRotation const &u){ return *self != u; } - -static void -convert_SbDPMat_array(PyObject * input, SbDPMat temp) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 4) && - (PySequence_Size(PySequence_GetItem(input, 0)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 1)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 2)) == 4) && - (PySequence_Size(PySequence_GetItem(input, 3)) == 4)) { - int i,j; - for (i=0; i < 4; i++) { - for (j=0; j < 4; j++) { - PyObject * oij = PySequence_GetItem(PySequence_GetItem(input, i), j); - if (!PyNumber_Check(oij)) { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - return; - } - temp[i][j] = PyFloat_AsDouble(oij); - Py_DECREF(oij); - } - } - } else { - PyErr_SetString(PyExc_TypeError, - "sequence must contain 4 sequences where every sequence contains 4 floats"); - PyErr_Print(); - } -} - -SWIGINTERN SbDPMatrix SbDPMatrix___mul____SWIG_0(SbDPMatrix *self,SbDPMatrix const &u){ return *self * u; } -SWIGINTERN SbVec3d SbDPMatrix___mul____SWIG_1(SbDPMatrix *self,SbVec3d const &u){ SbVec3d res; self->multMatrixVec(u, res); return res; } -SWIGINTERN SbVec3d SbDPMatrix___rmul__(SbDPMatrix *self,SbVec3d const &u){ SbVec3d res; self->multVecMatrix(u, res); return res; } -SWIGINTERN int SbDPMatrix___eq__(SbDPMatrix *self,SbDPMatrix const &u){ return *self == u; } -SWIGINTERN int SbDPMatrix___ne__(SbDPMatrix *self,SbDPMatrix const &u){ return *self != u; } -SWIGINTERN int SbDPPlane___eq__(SbDPPlane *self,SbDPPlane const &u){ return *self == u; } -SWIGINTERN int SbDPPlane___ne__(SbDPPlane *self,SbDPPlane const &u){ return *self != u; } -SWIGINTERN PyObject *SbImage_getValue__SWIG_2(SbImage *self){ - int nc; - SbVec3s size; - PyObject * result; - - const unsigned char * image = self->getValue(size, nc); - - /* check for 3D image */ - if (size[2] == 0) { - SbVec2s * vec2s = new SbVec2s(size[0], size[1]); - result = Py_BuildValue("(s#Oi)", - (const char*)image, - (*vec2s)[0] * (*vec2s)[1] * nc, - SWIG_NewPointerObj((void *)vec2s, SWIGTYPE_p_SbVec2s, 1), - nc); - } else { - SbVec3s * vec3s = new SbVec3s(size[0], size[1], size[2]); - result = Py_BuildValue("(s#Oi)", - (const char*)image, - (*vec3s)[0] * (*vec3s)[1] * (*vec3s)[2] * nc, - SWIG_NewPointerObj((void *)vec3s, SWIGTYPE_p_SbVec3s, 1), - nc); - } - - return result; - } -SWIGINTERN PyObject *SoOffscreenRenderer_getBuffer__SWIG_1(SoOffscreenRenderer *self){ - SbVec2s size = self->getViewportRegion().getWindowSize(); - - return PyString_FromStringAndSize((char *)self->getBuffer(), - size[0] * size[1] * self->getComponents()); - } - -static void -SoSceneManagerPythonCB(void * userdata, SoSceneManager * mgr) -{ - PyObject *func, *arglist; - PyObject *result, *mgrCB; - - mgrCB = SWIG_NewPointerObj((void *)mgr, SWIGTYPE_p_SoSceneManager, 0); - - /* the first item in the userdata sequence is the python callback - * function; the second is the supplied userdata python object */ - func = PyTuple_GetItem((PyObject *)userdata, 0); - arglist = Py_BuildValue("OO", PyTuple_GetItem((PyObject *)userdata, 1), mgrCB); - - if ((result = PyEval_CallObject(func, arglist)) == NULL) { - PyErr_Print(); - } - - Py_DECREF(arglist); - Py_DECREF(mgrCB); - Py_XDECREF(result); -} - -SWIGINTERN void SoSceneManager_setRenderCallback__SWIG_2(SoSceneManager *self,PyObject *pyfunc,PyObject *userData=NULL){ - self->setRenderCallback(SoSceneManagerPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - userData ? userData : Py_None)); - } -#ifdef __cplusplus -extern "C" { -#endif -SWIGINTERN PyObject *_wrap_new_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_charp",0,0)) SWIG_fail; - result = (charp *)new_charp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_charp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_charp" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - delete_charp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_assign" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charp_assign" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - charp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_value" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char)charp_value(arg1); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_cast" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char *)charp_cast(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - charp *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_frompointer" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (charp *)charp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *charp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_charp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_intp",0,0)) SWIG_fail; - result = (intp *)new_intp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_intp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intp" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - delete_intp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_assign" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intp_assign" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - intp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_value" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int)intp_value(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_cast" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int *)intp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - intp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_frompointer" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - result = (intp *)intp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *intp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_intp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_longp",0,0)) SWIG_fail; - result = (longp *)new_longp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_longp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_longp" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - delete_longp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_assign" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longp_assign" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - longp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_value" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long)longp_value(arg1); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_cast" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long *)longp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - long *arg1 = (long *) 0 ; - longp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_long, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_frompointer" "', argument " "1"" of type '" "long *""'"); - } - arg1 = reinterpret_cast< long * >(argp1); - result = (longp *)longp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *longp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_longp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_floatp",0,0)) SWIG_fail; - result = (floatp *)new_floatp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_floatp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_floatp" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - delete_floatp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_assign" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatp_assign" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - floatp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_value" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float)floatp_value(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_cast" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float *)floatp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) 0 ; - floatp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_frompointer" "', argument " "1"" of type '" "float *""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - result = (floatp *)floatp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *floatp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_floatp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_doublep",0,0)) SWIG_fail; - result = (doublep *)new_doublep(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_doublep",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doublep" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - delete_doublep(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_assign" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doublep_assign" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - doublep_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_value" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double)doublep_value(arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_cast" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double *)doublep_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 = (double *) 0 ; - doublep *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_frompointer" "', argument " "1"" of type '" "double *""'"); - } - arg1 = reinterpret_cast< double * >(argp1); - result = (doublep *)doublep_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *doublep_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_doublep, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbDict *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDict" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbDict *)new SbDict(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",0,0)) SWIG_fail; - result = (SbDict *)new SbDict(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = 0 ; - SbDict *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDict, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - result = (SbDict *)new SbDict((SbDict const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDict__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDict__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDict__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDict'.\n Possible C/C++ prototypes are:\n"" SbDict(int const)\n"" SbDict()\n"" SbDict(SbDict const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDict" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void (*arg2)(unsigned long,void *) = (void (*)(unsigned long,void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_unsigned_long_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "void (*)(unsigned long,void *)""'"); - } - } - ((SbDict const *)arg1)->applyToAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void (*arg2)(unsigned long,void *,void *) = (void (*)(unsigned long,void *,void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_unsigned_long_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "void (*)(unsigned long,void *,void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - ((SbDict const *)arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_unsigned_long_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_unsigned_long_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDict_applyToAll'.\n Possible C/C++ prototypes are:\n"" applyToAll(SbDict const *,void (*)(unsigned long,void *))\n"" applyToAll(SbDict const *,void (*)(unsigned long,void *,void *),void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_clear" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - void *arg3 = (void *) (void *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_enter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_enter" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_enter" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_enter" "', argument " "3"" of type '" "void *const""'"); - } - result = (SbBool)(arg1)->enter(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - void **arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_find" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_find" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - result = (SbBool)((SbDict const *)arg1)->find(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_makePList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbPList *arg2 = 0 ; - SbPList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_makePList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_makePList" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - (arg1)->makePList(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_remove" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_remove" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - result = (SbBool)(arg1)->remove(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_setHashingFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long (*arg2)(unsigned long const) = (unsigned long (*)(unsigned long const)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_setHashingFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_setHashingFunction" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__unsigned_long__unsigned_long); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_setHashingFunction" "', argument " "2"" of type '" "unsigned long (*)(unsigned long const)""'"); - } - } - (arg1)->setHashingFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDict_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDict, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoType_fromName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - SoType result; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = SoType::fromName(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getName" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getParent" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getParent(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isDerivedFrom" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->isDerivedFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getAllDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoTypeList *arg2 = 0 ; - int result; - void *argp1 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getAllDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (int)SoType::getAllDerivedFrom(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_canCreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_canCreateInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_canCreateInstance" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->canCreateInstance(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - uint16_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getData" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (uint16_t)((SoType const *)arg1)->getData(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - int16_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getKey" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (int16_t)((SoType const *)arg1)->getKey(); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___eq__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator ==(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ne__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator !=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___lt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___le__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ge__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___gt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_init",0,0)) SWIG_fail; - SoType::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_fromKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint16_t arg1 ; - SoType result; - unsigned short val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromKey",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } - arg1 = static_cast< uint16_t >(val1); - result = SoType::fromKey(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_badType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_badType",0,0)) SWIG_fail; - result = SoType::badType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isBad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isBad",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isBad" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isBad(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_makeInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_makeInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_makeInternal" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - (arg1)->makeInternal(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isInternal" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isInternal(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getNumTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getNumTypes",0,0)) SWIG_fail; - result = (int)SoType::getNumTypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getInstantiationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType::instantiationMethod result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getInstantiationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getInstantiationMethod" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SoType::instantiationMethod)((SoType const *)arg1)->getInstantiationMethod(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_createInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_createInstance" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (PyObject *)SoType_createInstance(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoType",0,0)) SWIG_fail; - result = (SoType *)new SoType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoType" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",0,0)) SWIG_fail; - result = (SbVec2s *)new SbVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - SbVec2s *result = 0 ; - short temp1[2] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2s *)new SbVec2s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - SbVec2s *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbVec2s *)new SbVec2s(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2s'.\n Possible C/C++ prototypes are:\n"" SbVec2s()\n"" SbVec2s(short const [2])\n"" SbVec2s(short const,short const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_dot" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int32_t)((SbVec2s const *)arg1)->dot((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_getValue" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ((SbVec2s const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_negate" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - convert_SbVec2s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short arg2 ; - short arg3 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - { - SbVec2s &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec2s *,short const [2])\n"" setValue(SbVec2s *,short,short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___imul__'.\n Possible C/C++ prototypes are:\n"" operator *=(SbVec2s *,int)\n"" operator *=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___idiv__'.\n Possible C/C++ prototypes are:\n"" operator /=(SbVec2s *,int)\n"" operator /=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___iadd__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2s &_result_ref = (arg1)->operator +=((SbVec2s const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___isub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2s &_result_ref = (arg1)->operator -=((SbVec2s const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___neg__" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = ((SbVec2s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_output" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___add__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___add__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___sub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___sub__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___mul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___rmul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___div__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___eq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___eq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___nq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___nq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___getitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec2s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___setitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec2s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2s" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbPList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbPList *)new SbPList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",0,0)) SWIG_fail; - result = (SbPList *)new SbPList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = 0 ; - SbPList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (SbPList *)new SbPList((SbPList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPList__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPList__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPList'.\n Possible C/C++ prototypes are:\n"" SbPList(int const)\n"" SbPList()\n"" SbPList(SbPList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPList" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_copy" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - (arg1)->copy((SbPList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_fit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_fit" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - (arg1)->fit(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_append" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_append" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_find" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_find" "', argument " "2"" of type '" "void *""'"); - } - result = (int)((SbPList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_insert" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_insert" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeItem" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_removeItem" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_remove" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeFast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeFast" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_removeFast" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeFast(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getLength" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (int)((SbPList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_truncate'.\n Possible C/C++ prototypes are:\n"" truncate(SbPList *,int const,int const)\n"" truncate(SbPList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_getArrayPtr" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void **)((SbPList const *)arg1)->getArrayPtr(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (void **)((SbPList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_getArrayPtr'.\n Possible C/C++ prototypes are:\n"" getArrayPtr(SbPList const *,int const)\n"" getArrayPtr(SbPList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___eq__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator ==((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___ne__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator !=((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_get" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbPList const *)arg1)->get(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_set" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList_set" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___getitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)SbPList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___setitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList___setitem__" "', argument " "3"" of type '" "void *""'"); - } - SbPList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",0,0)) SWIG_fail; - result = (SbIntList *)new SbIntList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbIntList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbIntList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbIntList *)new SbIntList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbIntList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbIntList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbIntList'.\n Possible C/C++ prototypes are:\n"" SbIntList()\n"" SbIntList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_append" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_find" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_insert" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_insert" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbIntList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___setitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbIntList___setitem__" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SbIntList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___getitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int &_result_ref = SbIntList___getitem__(arg1,arg2); - result = (int *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_get" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SbIntList_get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbIntList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbIntList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbIntList" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbIntList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbIntList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",0,0)) SWIG_fail; - result = (SbString *)new SbString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - SbString *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbString *)new SbString((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int arg2 ; - int arg3 ; - SbString *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)new SbString((char const *)arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbString *)new SbString((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbString *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbString *)new SbString(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbString__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbString__SWIG_3(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbString'.\n Possible C/C++ prototypes are:\n"" SbString()\n"" SbString(char const *)\n"" SbString(char const *,int,int)\n"" SbString(SbString const &)\n"" SbString(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (uint32_t)((SbString const *)arg1)->hash(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - uint32_t result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (uint32_t)SbString::hash((char const *)arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_hash'.\n Possible C/C++ prototypes are:\n"" hash(SbString const *)\n"" SbString::hash(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getLength" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (int)((SbString const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_makeEmpty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->makeEmpty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_makeEmpty'.\n Possible C/C++ prototypes are:\n"" makeEmpty(SbString *,SbBool)\n"" makeEmpty(SbString *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)((SbString const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_getSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = ((SbString const *)arg1)->getSubString(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbString const *)arg1)->getSubString(arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_getSubString'.\n Possible C/C++ prototypes are:\n"" getSubString(SbString const *,int,int)\n"" getSubString(SbString const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_deleteSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteSubString(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteSubString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_deleteSubString'.\n Possible C/C++ prototypes are:\n"" deleteSubString(SbString *,int,int)\n"" deleteSubString(SbString *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_addIntString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_addIntString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_addIntString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_addIntString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addIntString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->operator +=((char const *)arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - SbString &_result_ref = (arg1)->operator +=((SbString const &)*arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char arg2 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - { - SbString &_result_ref = (arg1)->operator +=(arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString___iadd____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___iadd____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___iadd____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___iadd__'.\n Possible C/C++ prototypes are:\n"" operator +=(SbString *,char const *)\n"" operator +=(SbString *,SbString const &)\n"" operator +=(SbString *,char const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_compareSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_compareSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_compareSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_compareSubString'.\n Possible C/C++ prototypes are:\n"" compareSubString(SbString const *,char const *,int)\n"" compareSubString(SbString const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_sprintf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_sprintf" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_sprintf" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->sprintf((char const *)arg2,arg3); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SbString_sprintf__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SbString_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char (*arg2)(char) = (char (*)(char)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_apply" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_char__char); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbString_apply" "', argument " "2"" of type '" "char (*)(char)""'"); - } - } - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_find" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)((SbString const *)arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_findAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbIntList *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_findAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_findAll" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (SbBool)((SbString const *)arg1)->findAll((SbString const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___eq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___nq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___eq____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___nq____SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___nq__'.\n Possible C/C++ prototypes are:\n"" __nq__(SbString *,SbString const &)\n"" __nq__(SbString *,char *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___getitem__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbString___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___repr__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)SbString___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",0,0)) SWIG_fail; - result = (SbName *)new SbName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - SbName *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbName" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbName *)new SbName((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbName *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SbName *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbName__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbName__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbName'.\n Possible C/C++ prototypes are:\n"" SbName()\n"" SbName(char const *)\n"" SbName(SbString const &)\n"" SbName(SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbName" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getString" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)((SbName const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getLength" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (int)((SbName const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_2(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbName___nq__'.\n Possible C/C++ prototypes are:\n"" __nq__(SbName *,SbName const &)\n"" __nq__(SbName *,char *)\n"" __nq__(SbName *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int arg2 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___getitem__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbName___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___repr__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)SbName___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",0,0)) SWIG_fail; - result = (SbTime *)new SbTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - SbTime *result = 0 ; - double val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - result = (SbTime *)new SbTime(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - long arg2 ; - SbTime *result = 0 ; - int val1 ; - int ecode1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbTime" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - result = (SbTime *)new SbTime(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - timeval *arg1 = (timeval *) (timeval *)0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbTime" "', argument " "1"" of type '" "timeval const *const""'"); - } - arg1 = reinterpret_cast< timeval * >(argp1); - result = (SbTime *)new SbTime((timeval const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTime__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTime__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTime'.\n Possible C/C++ prototypes are:\n"" SbTime()\n"" SbTime(double const)\n"" SbTime(int32_t const,long const)\n"" SbTime(timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getTimeOfDay",0,0)) SWIG_fail; - result = SbTime::getTimeOfDay(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setToTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setToTimeOfDay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setToTimeOfDay" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - (arg1)->setToTimeOfDay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_zero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_zero",0,0)) SWIG_fail; - result = SbTime::zero(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_max",0,0)) SWIG_fail; - result = SbTime::max(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_maxTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_maxTime",0,0)) SWIG_fail; - result = SbTime::maxTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - int32_t arg2 ; - long arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - long val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbTime_setValue" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "timeval const *const""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - (arg1)->setValue((timeval const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbTime *,double const)\n"" setValue(SbTime *,int32_t const,long const)\n"" setValue(SbTime *,timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setMsecValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setMsecValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setMsecValue" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - (arg1)->setMsecValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (double)((SbTime const *)arg1)->getValue(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - time_t *arg2 = 0 ; - long *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_time_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - arg2 = reinterpret_cast< time_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - arg3 = reinterpret_cast< long * >(argp3); - ((SbTime const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "timeval *""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - ((SbTime const *)arg1)->getValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_time_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbTime const *)\n"" getValue(SbTime const *,time_t &,long &)\n"" getValue(SbTime const *,timeval *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getMsecValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getMsecValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (unsigned long)((SbTime const *)arg1)->getMsecValue(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_format" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->format((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->format(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_format'.\n Possible C/C++ prototypes are:\n"" format(SbTime const *,char const *const)\n"" format(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_formatDate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->formatDate((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->formatDate(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_formatDate'.\n Possible C/C++ prototypes are:\n"" formatDate(SbTime const *,char const *const)\n"" formatDate(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_parsedate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_parsedate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_parsedate" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_parsedate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->parsedate((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___iadd__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator +=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___isub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator -=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___neg__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___imul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator *=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___idiv__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator /=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (double)((SbTime const *)arg1)->operator /((SbTime const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mod__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mod__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mod__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = ((SbTime const *)arg1)->operator %((SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___eq__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator ==((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ne__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator !=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___lt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___gt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___le__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ge__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_output" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbTime const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___add__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___add__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___sub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___sub__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___rmul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___div____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime___div____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbTime___div____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTime" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEvent",0,0)) SWIG_fail; - result = (SoEvent *)new SoEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEvent" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_isOfType" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoEvent const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTypeId" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setTime" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTime" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setPosition" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPosition((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - SbVec2s const &_result_ref = ((SoEvent const *)arg1)->getPosition(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEvent_getPosition'.\n Possible C/C++ prototypes are:\n"" getPosition(SoEvent const *)\n"" getPosition(SoEvent const *,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getNormalizedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getNormalizedPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getNormalizedPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getNormalizedPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setShiftDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setShiftDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setShiftDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShiftDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasShiftDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setCtrlDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setCtrlDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setCtrlDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCtrlDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasCtrlDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasCtrlDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasCtrlDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setAltDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setAltDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setAltDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAltDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasAltDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasAltDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasAltDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_initClass",0,0)) SWIG_fail; - SoEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotRec" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SoNotRec *)new SoNotRec(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setType" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotRec_setType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getBase" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoBase *)((SoNotRec const *)arg1)->getBase(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getType" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec::Type)((SoNotRec const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getPrevious",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getPrevious" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec *)((SoNotRec const *)arg1)->getPrevious(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setPrevious",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setPrevious" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotRec_setPrevious" "', argument " "2"" of type '" "SoNotRec const *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->setPrevious((SoNotRec const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_output" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotRec const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotRec" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotRec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotRec, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",0,0)) SWIG_fail; - result = (SoNotList *)new SoNotList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotList" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotList *)new SoNotList((SoNotList const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNotList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNotList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNotList'.\n Possible C/C++ prototypes are:\n"" SoNotList()\n"" SoNotList(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoField *arg3 = (SoField *) (SoField *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoField *const""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) (SoEngineOutput *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoEngineOutput *const""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_append'.\n Possible C/C++ prototypes are:\n"" append(SoNotList *,SoNotRec *const)\n"" append(SoNotList *,SoNotRec *const,SoField *const)\n"" append(SoNotList *,SoNotRec *const,SoEngineOutput *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_setLastType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_setLastType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_setLastType" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotList_setLastType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setLastType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getLastRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRecAtNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRecAtNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRecAtNode" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRecAtNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastField" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoField *)((SoNotList const *)arg1)->getLastField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastEngineOutput" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoEngineOutput *)((SoNotList const *)arg1)->getLastEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getTimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getTimeStamp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getTimeStamp" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (uint32_t)((SoNotList const *)arg1)->getTimeStamp(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotList const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ((SoNotList const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_output'.\n Possible C/C++ prototypes are:\n"" print(SoNotList const *,FILE *const)\n"" print(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotList" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoField" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClass",0,0)) SWIG_fail; - SoField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClasses",0,0)) SWIG_fail; - SoField::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setIgnored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setIgnored" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setIgnored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setIgnored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isIgnored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isIgnored" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isIgnored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDefault" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDefault" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDefault(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isDefault",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isDefault" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getTypeId" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = ((SoField const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getClassTypeId",0,0)) SWIG_fail; - result = SoField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isOfType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoField const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableConnection" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectionEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectionEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectionEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectionEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromEngine(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedEngine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoEngineOutput, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - arg2 = reinterpret_cast< SoEngineOutput ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedEngine(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_connectFrom'.\n Possible C/C++ prototypes are:\n"" connectFrom(SoField *,SoEngineOutput *,SbBool,SbBool)\n"" connectFrom(SoField *,SoEngineOutput *,SbBool)\n"" connectFrom(SoField *,SoEngineOutput *)\n"" connectFrom(SoField *,SoField *,SbBool,SbBool)\n"" connectFrom(SoField *,SoField *,SbBool)\n"" connectFrom(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_appendConnection'.\n Possible C/C++ prototypes are:\n"" appendConnection(SoField *,SoEngineOutput *,SbBool)\n"" appendConnection(SoField *,SoEngineOutput *)\n"" appendConnection(SoField *,SoField *,SbBool)\n"" appendConnection(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromField(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoField, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - arg2 = reinterpret_cast< SoField ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedField(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getNumConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getForwardConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->disconnect(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_disconnect'.\n Possible C/C++ prototypes are:\n"" disconnect(SoField *,SoEngineOutput *)\n"" disconnect(SoField *,SoField *)\n"" disconnect(SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnected" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setContainer" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_setContainer" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getContainer" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SoFieldContainer *)((SoField const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_set" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_shouldWrite" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_touch" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_startNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_notify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isNotifyEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_addAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_addAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_removeAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_removeAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___eq__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator ==((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___ne__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator !=((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectionStatusChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectionStatusChanged",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectionStatusChanged" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_connectionStatusChanged" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->connectionStatusChanged(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isReadOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isReadOnly" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isReadOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isSame" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoField const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_fixCopy" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_referencesCopy" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyConnection" "', argument " "2"" of type '" "SoField const *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyConnection((SoField const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_read" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->read(arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_write" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ((SoField const *)arg1)->write(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_countWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_countWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_countWriteRefs" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_countWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ((SoField const *)arg1)->countWriteRefs(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setFieldType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setFieldType" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setFieldType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFieldType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getFieldType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getFieldType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getFieldType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getDirty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getDirty" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->getDirty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDirty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDirty" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDirty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDirty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_evaluate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_evaluate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_evaluate" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ((SoField const *)arg1)->evaluate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_get" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = SoField_get(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSField *arg1 = (SoSField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSField" "', argument " "1"" of type '" "SoSField *""'"); - } - arg1 = reinterpret_cast< SoSField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_initClass",0,0)) SWIG_fail; - SoSField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_getClassTypeId",0,0)) SWIG_fail; - result = SoSField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoMField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMField" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getClassTypeId",0,0)) SWIG_fail; - result = SoMField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_getNum" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)((SoMField const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_setNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_setNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_setNum" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_setNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNum(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMField_deleteValues'.\n Possible C/C++ prototypes are:\n"" deleteValues(SoMField *,int,int)\n"" deleteValues(SoMField *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_insertSpace" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_set1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - char *arg3 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_set1",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_set1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_set1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMField_set1" "', argument " "3"" of type '" "char const *const""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set1(arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_initClass",0,0)) SWIG_fail; - SoMField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_enableDeleteValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_enableDeleteValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_enableDeleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - (arg1)->enableDeleteValues(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_isDeleteValuesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_isDeleteValuesEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_isDeleteValuesEnabled" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (SbBool)(arg1)->isDeleteValuesEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField___len__" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)SoMField___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_get1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_get1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_get1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_get1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMField_get1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoAuditorList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAuditorList",0,0)) SWIG_fail; - result = (SoAuditorList *)new SoAuditorList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAuditorList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAuditorList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAuditorList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAuditorList" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_append" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_append" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_append" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *arg3 = (void *) (void *)0 ; - SoNotRec::Type arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_set" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAuditorList_set" "', argument " "3"" of type '" "void *const""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoAuditorList_set" "', argument " "4"" of type '" "SoNotRec::Type""'"); - } - arg4 = static_cast< SoNotRec::Type >(val4); - (arg1)->set(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getObject" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_getObject" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SoAuditorList const *)arg1)->getObject(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - SoNotRec::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getType" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNotRec::Type)((SoAuditorList const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_getLength" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - result = (int)((SoAuditorList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_find" "', argument " "1"" of type '" "SoAuditorList const *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_find" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_find" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - result = (int)((SoAuditorList const *)arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_remove" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAuditorList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_remove",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_remove" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_remove" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAuditorList_remove" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->remove(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_remove(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAuditorList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAuditorList_remove__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAuditorList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAuditorList_remove__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAuditorList_remove'.\n Possible C/C++ prototypes are:\n"" remove(SoAuditorList *,int const)\n"" remove(SoAuditorList *,void *const,SoNotRec::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAuditorList_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAuditorList *arg1 = (SoAuditorList *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAuditorList_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAuditorList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAuditorList_notify" "', argument " "1"" of type '" "SoAuditorList *""'"); - } - arg1 = reinterpret_cast< SoAuditorList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAuditorList_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAuditorList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAuditorList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBase_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_initClass",0,0)) SWIG_fail; - SoBase::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_ref" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_unref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_unref" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_unrefNoDelete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_unrefNoDelete",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_unrefNoDelete" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->unrefNoDelete(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getRefCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getRefCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getRefCount" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (int32_t)((SoBase const *)arg1)->getRefCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_touch" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getTypeId" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = ((SoBase const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_isOfType" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoBase const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getClassTypeId",0,0)) SWIG_fail; - result = SoBase::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getName" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = ((SoBase const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_setName" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setName((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addName" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addName" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoBase::addName(arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_removeName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_removeName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_removeName" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_removeName" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoBase::removeName(arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_startNotify" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_notify" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addAuditor" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addAuditor" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *arg2 = (void *) (void *)0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_removeAuditor" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_removeAuditor" "', argument " "2"" of type '" "void *const""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getAuditors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoAuditorList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getAuditors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_getAuditors" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - { - SoAuditorList const &_result_ref = ((SoBase const *)arg1)->getAuditors(); - result = (SoAuditorList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAuditorList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addWriteReference" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBase_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_addWriteReference" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBase_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBase_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBase_addWriteReference'.\n Possible C/C++ prototypes are:\n"" addWriteReference(SoBase *,SoOutput *,SbBool)\n"" addWriteReference(SoBase *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_shouldWrite" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SbBool)(arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_incrementCurrentWriteCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_incrementCurrentWriteCounter",0,0)) SWIG_fail; - SoBase::incrementCurrentWriteCounter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_decrementCurrentWriteCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_decrementCurrentWriteCounter",0,0)) SWIG_fail; - SoBase::decrementCurrentWriteCounter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getNamedBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoType arg2 ; - SoBase *result = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getNamedBase",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_getNamedBase" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBase" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoBase *)SoBase::getNamedBase((SbName const &)*arg1,arg2); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getNamedBases(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoBaseList *arg2 = 0 ; - SoType arg3 ; - int result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getNamedBases",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoBaseList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_getNamedBases" "', argument " "2"" of type '" "SoBaseList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBases" "', argument " "2"" of type '" "SoBaseList &""'"); - } - arg2 = reinterpret_cast< SoBaseList * >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBase_getNamedBases" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_getNamedBases" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (int)SoBase::getNamedBases((SbName const &)*arg1,*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoBase **arg2 = 0 ; - SoType arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoBase, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBase_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - arg2 = reinterpret_cast< SoBase ** >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBase_read" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBase_read" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (SbBool)SoBase::read(arg1,*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setInstancePrefix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setInstancePrefix",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - SoBase::setInstancePrefix((SbString const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_setTraceRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_setTraceRefs",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoBase_setTraceRefs" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoBase::setTraceRefs(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_getTraceRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_getTraceRefs",0,0)) SWIG_fail; - result = (SbBool)SoBase::getTraceRefs(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_connectRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_connectRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_connectRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - result = (SbBool)SoBase::connectRoute(arg1,(SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_assertAlive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_assertAlive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_assertAlive" "', argument " "1"" of type '" "SoBase const *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - ((SoBase const *)arg1)->assertAlive(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBase_readRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBase_readRoute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBase_readRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)SoBase::readRoute(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBase" "', argument " "1"" of type '" "SoBase *""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - delete_SoBase(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBase, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",0,0)) SWIG_fail; - result = (SoBaseList *)new SoBaseList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoBaseList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoBaseList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoBaseList *)new SoBaseList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = 0 ; - SoBaseList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoBaseList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBaseList" "', argument " "1"" of type '" "SoBaseList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoBaseList" "', argument " "1"" of type '" "SoBaseList const &""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - result = (SoBaseList *)new SoBaseList((SoBaseList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoBaseList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoBaseList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoBaseList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoBaseList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoBaseList'.\n Possible C/C++ prototypes are:\n"" SoBaseList()\n"" SoBaseList(int const)\n"" SoBaseList(SoBaseList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBaseList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBaseList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBaseList" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_append" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_append" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_insert" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_insert" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_remove" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_removeItem" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_removeItem" "', argument " "2"" of type '" "SoBase *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_truncate" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SoBaseList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_copy" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoBaseList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseList_copy" "', argument " "2"" of type '" "SoBaseList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBaseList_copy" "', argument " "2"" of type '" "SoBaseList const &""'"); - } - arg2 = reinterpret_cast< SoBaseList * >(argp2); - (arg1)->copy((SoBaseList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *arg3 = (SoBase *) (SoBase *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_set" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseList_set" "', argument " "3"" of type '" "SoBase *const""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_addReferences(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_addReferences",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_addReferences" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_addReferences" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->addReferences(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_isReferencing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_isReferencing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_isReferencing" "', argument " "1"" of type '" "SoBaseList const *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - result = (SbBool)((SoBaseList const *)arg1)->isReferencing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList___setitem__" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseList___setitem__" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - SoBaseList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList___getitem__" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoBase *)SoBaseList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseList *arg1 = (SoBaseList *) 0 ; - int arg2 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseList_get" "', argument " "1"" of type '" "SoBaseList *""'"); - } - arg1 = reinterpret_cast< SoBaseList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBaseList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoBase *)SoBaseList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBaseList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",0,0)) SWIG_fail; - result = (SoNodeList *)new SoNodeList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoNodeList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNodeList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoNodeList *)new SoNodeList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = 0 ; - SoNodeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoNodeList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNodeList" "', argument " "1"" of type '" "SoNodeList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoNodeList" "', argument " "1"" of type '" "SoNodeList const &""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - result = (SoNodeList *)new SoNodeList((SoNodeList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNodeList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoNodeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNodeList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNodeList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNodeList'.\n Possible C/C++ prototypes are:\n"" SoNodeList()\n"" SoNodeList(int const)\n"" SoNodeList(SoNodeList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeList" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList_append" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeList_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList___setitem__" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeList___setitem__" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - SoNodeList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList___getitem__" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoNodeList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeList *arg1 = (SoNodeList *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeList_get" "', argument " "1"" of type '" "SoNodeList *""'"); - } - arg1 = reinterpret_cast< SoNodeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoNodeList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",0,0)) SWIG_fail; - result = (SoDetailList *)new SoDetailList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoDetailList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoDetailList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoDetailList *)new SoDetailList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = 0 ; - SoDetailList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDetailList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoDetailList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoDetailList" "', argument " "1"" of type '" "SoDetailList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoDetailList" "', argument " "1"" of type '" "SoDetailList const &""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - result = (SoDetailList *)new SoDetailList((SoDetailList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetailList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDetailList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoDetailList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoDetailList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoDetailList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoDetailList'.\n Possible C/C++ prototypes are:\n"" SoDetailList()\n"" SoDetailList(int const)\n"" SoDetailList(SoDetailList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDetailList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDetailList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDetailList" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_append" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_append" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_insert" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_insert" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDetailList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_truncate" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDetailList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_truncate" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDetailList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDetailList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDetailList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDetailList_truncate'.\n Possible C/C++ prototypes are:\n"" truncate(SoDetailList *,int const,int const)\n"" truncate(SoDetailList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - SoDetailList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_copy" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoDetailList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetailList_copy" "', argument " "2"" of type '" "SoDetailList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDetailList_copy" "', argument " "2"" of type '" "SoDetailList const &""'"); - } - arg2 = reinterpret_cast< SoDetailList * >(argp2); - (arg1)->copy((SoDetailList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *arg3 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_set" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDetailList_set" "', argument " "3"" of type '" "SoDetail *""'"); - } - arg3 = reinterpret_cast< SoDetail * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *arg3 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList___setitem__" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDetailList___setitem__" "', argument " "3"" of type '" "SoDetail *""'"); - } - arg3 = reinterpret_cast< SoDetail * >(argp3); - SoDetailList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList___getitem__" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoDetail *)SoDetailList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetailList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetailList *arg1 = (SoDetailList *) 0 ; - int arg2 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetailList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetailList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetailList_get" "', argument " "1"" of type '" "SoDetailList *""'"); - } - arg1 = reinterpret_cast< SoDetailList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDetailList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoDetail *)SoDetailList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDetailList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDetailList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",0,0)) SWIG_fail; - result = (SoTypeList *)new SoTypeList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoTypeList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTypeList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTypeList *)new SoTypeList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = 0 ; - SoTypeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTypeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoTypeList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTypeList" "', argument " "1"" of type '" "SoTypeList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoTypeList" "', argument " "1"" of type '" "SoTypeList const &""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - result = (SoTypeList *)new SoTypeList((SoTypeList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTypeList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoTypeList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoTypeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoTypeList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTypeList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTypeList'.\n Possible C/C++ prototypes are:\n"" SoTypeList()\n"" SoTypeList(int const)\n"" SoTypeList(SoTypeList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_append" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_append" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_append" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_find" "', argument " "1"" of type '" "SoTypeList const *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_find" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_find" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (int)((SoTypeList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - SoType arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_insert" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTypeList_insert" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_insert" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTypeList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_set" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTypeList_set" "', argument " "3"" of type '" "SoType const""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList_set" "', argument " "3"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList___setitem__" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTypeList___setitem__" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTypeList___setitem__" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoTypeList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList___getitem__" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoTypeList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTypeList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - int arg2 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTypeList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTypeList_get" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTypeList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoTypeList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTypeList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTypeList *arg1 = (SoTypeList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTypeList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTypeList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTypeList" "', argument " "1"" of type '" "SoTypeList *""'"); - } - arg1 = reinterpret_cast< SoTypeList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTypeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTypeList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEnabledElementsList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) (SoEnabledElementsList *)0 ; - SoEnabledElementsList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEnabledElementsList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEnabledElementsList" "', argument " "1"" of type '" "SoEnabledElementsList *const""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - result = (SoEnabledElementsList *)new SoEnabledElementsList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEnabledElementsList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEnabledElementsList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEnabledElementsList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEnabledElementsList" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_getElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - SoTypeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_getElements",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_getElements" "', argument " "1"" of type '" "SoEnabledElementsList const *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - { - SoTypeList const &_result_ref = ((SoEnabledElementsList const *)arg1)->getElements(); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - SoType arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_enable",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_enable" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnabledElementsList_enable" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnabledElementsList_enable" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnabledElementsList_enable" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->enable(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnabledElementsList *arg1 = (SoEnabledElementsList *) 0 ; - SoEnabledElementsList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_merge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnabledElementsList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnabledElementsList_merge" "', argument " "1"" of type '" "SoEnabledElementsList *""'"); - } - arg1 = reinterpret_cast< SoEnabledElementsList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEnabledElementsList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnabledElementsList_merge" "', argument " "2"" of type '" "SoEnabledElementsList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnabledElementsList_merge" "', argument " "2"" of type '" "SoEnabledElementsList const &""'"); - } - arg2 = reinterpret_cast< SoEnabledElementsList * >(argp2); - (arg1)->merge((SoEnabledElementsList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnabledElementsList_getCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnabledElementsList_getCounter",0,0)) SWIG_fail; - result = (int)SoEnabledElementsList::getCounter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnabledElementsList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnabledElementsList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",0,0)) SWIG_fail; - result = (SoEngineOutputList *)new SoEngineOutputList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoEngineOutputList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineOutputList *)new SoEngineOutputList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = 0 ; - SoEngineOutputList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoEngineOutputList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList const &""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - result = (SoEngineOutputList *)new SoEngineOutputList((SoEngineOutputList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineOutputList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoEngineOutputList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineOutputList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineOutputList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineOutputList'.\n Possible C/C++ prototypes are:\n"" SoEngineOutputList()\n"" SoEngineOutputList(int const)\n"" SoEngineOutputList(SoEngineOutputList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_append" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputList_append" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_insert" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputList_insert" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_set" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputList_set" "', argument " "3"" of type '" "SoEngineOutput *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList___setitem__" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputList___setitem__" "', argument " "3"" of type '" "SoEngineOutput *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - SoEngineOutputList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList___getitem__" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngineOutput *)SoEngineOutputList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - int arg2 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputList_get" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngineOutput *)SoEngineOutputList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutputList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputList *arg1 = (SoEngineOutputList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutputList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutputList" "', argument " "1"" of type '" "SoEngineOutputList *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutputList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutputList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",0,0)) SWIG_fail; - result = (SoEngineList *)new SoEngineList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoEngineList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineList *)new SoEngineList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = 0 ; - SoEngineList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoEngineList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineList" "', argument " "1"" of type '" "SoEngineList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoEngineList" "', argument " "1"" of type '" "SoEngineList const &""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - result = (SoEngineList *)new SoEngineList((SoEngineList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoEngineList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineList'.\n Possible C/C++ prototypes are:\n"" SoEngineList()\n"" SoEngineList(int const)\n"" SoEngineList(SoEngineList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineList" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - SoEngine *arg2 = (SoEngine *) (SoEngine *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList_append" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineList_append" "', argument " "2"" of type '" "SoEngine *const""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList___setitem__" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineList___setitem__" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - SoEngineList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList___getitem__" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoEngineList___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineList *arg1 = (SoEngineList *) 0 ; - int arg2 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineList_get" "', argument " "1"" of type '" "SoEngineList *""'"); - } - arg1 = reinterpret_cast< SoEngineList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoEngineList_get(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",0,0)) SWIG_fail; - result = (SoFieldList *)new SoFieldList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoFieldList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoFieldList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoFieldList *)new SoFieldList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = 0 ; - SoFieldList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoFieldList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldList" "', argument " "1"" of type '" "SoFieldList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoFieldList" "', argument " "1"" of type '" "SoFieldList const &""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - result = (SoFieldList *)new SoFieldList((SoFieldList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoFieldList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoFieldList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoFieldList'.\n Possible C/C++ prototypes are:\n"" SoFieldList()\n"" SoFieldList(int const)\n"" SoFieldList(SoFieldList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_append" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldList_append" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - SoField *arg2 = (SoField *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_insert" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldList_insert" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *arg3 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_set" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldList_set" "', argument " "3"" of type '" "SoField *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_get" "', argument " "1"" of type '" "SoFieldList const *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)((SoFieldList const *)arg1)->get(arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *arg3 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList___setitem__" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldList___setitem__" "', argument " "3"" of type '" "SoField *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - SoFieldList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList___getitem__" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)SoFieldList___getitem__(arg1,arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - int arg2 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldList_get" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoField *)SoFieldList_get__SWIG_1(arg1,arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldList_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldList_get__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldList_get__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldList_get'.\n Possible C/C++ prototypes are:\n"" get(SoFieldList const *,int const)\n"" get(SoFieldList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldList *arg1 = (SoFieldList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldList" "', argument " "1"" of type '" "SoFieldList *""'"); - } - arg1 = reinterpret_cast< SoFieldList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",0,0)) SWIG_fail; - result = (SoPathList *)new SoPathList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoPathList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPathList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPathList *)new SoPathList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPathList" "', argument " "1"" of type '" "SoPathList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPathList" "', argument " "1"" of type '" "SoPathList const &""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - result = (SoPathList *)new SoPathList((SoPathList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPathList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPathList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPathList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPathList'.\n Possible C/C++ prototypes are:\n"" SoPathList()\n"" SoPathList(int const)\n"" SoPathList(SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPathList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPathList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPathList" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_append" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathList_append" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_findPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - SoPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_findPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_findPath" "', argument " "1"" of type '" "SoPathList const *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathList_findPath" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPathList_findPath" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)((SoPathList const *)arg1)->findPath((SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_sort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_sort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_sort" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - (arg1)->sort(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_uniquify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_uniquify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_uniquify" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - (arg1)->uniquify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList___setitem__" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPathList___setitem__" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - SoPathList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList___getitem__" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoPathList___getitem__(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathList *arg1 = (SoPathList *) 0 ; - int arg2 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathList_get" "', argument " "1"" of type '" "SoPathList *""'"); - } - arg1 = reinterpret_cast< SoPathList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoPathList_get(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",0,0)) SWIG_fail; - result = (SoPickedPointList *)new SoPickedPointList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoPickedPointList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPickedPointList *)new SoPickedPointList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = 0 ; - SoPickedPointList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPickedPointList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList const &""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - result = (SoPickedPointList *)new SoPickedPointList((SoPickedPointList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPointList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPickedPointList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPointList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPickedPointList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPickedPointList'.\n Possible C/C++ prototypes are:\n"" SoPickedPointList()\n"" SoPickedPointList(int const)\n"" SoPickedPointList(SoPickedPointList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPickedPointList" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_append" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPointList_append" "', argument " "2"" of type '" "SoPickedPoint *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_insert" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPointList_insert" "', argument " "2"" of type '" "SoPickedPoint *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickedPointList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_truncate" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickedPointList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_truncate" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickedPointList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPointList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickedPointList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPointList_truncate'.\n Possible C/C++ prototypes are:\n"" truncate(SoPickedPointList *,int const,int const)\n"" truncate(SoPickedPointList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *arg3 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_set" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPointList_set" "', argument " "3"" of type '" "SoPickedPoint *""'"); - } - arg3 = reinterpret_cast< SoPickedPoint * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *arg3 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList___setitem__" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPointList___setitem__" "', argument " "3"" of type '" "SoPickedPoint *""'"); - } - arg3 = reinterpret_cast< SoPickedPoint * >(argp3); - SoPickedPointList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList___getitem__" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)SoPickedPointList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPointList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPointList *arg1 = (SoPickedPointList *) 0 ; - int arg2 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPointList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPointList_get" "', argument " "1"" of type '" "SoPickedPointList *""'"); - } - arg1 = reinterpret_cast< SoPickedPointList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPointList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)SoPickedPointList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickedPointList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickedPointList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_initClass",0,0)) SWIG_fail; - SoPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoPath *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPath *)new SoPath(arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",0,0)) SWIG_fail; - result = (SoPath *)new SoPath(); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPath" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoPath *)new SoPath(arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPath" "', argument " "1"" of type '" "SoPath const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPath" "', argument " "1"" of type '" "SoPath const &""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoPath *)new SoPath((SoPath const &)*arg1); - { - resultobj = autocast_path(result); - } - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPath__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPath__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPath__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPath__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPath'.\n Possible C/C++ prototypes are:\n"" SoPath(int const)\n"" SoPath()\n"" SoPath(SoNode *const)\n"" SoPath(SoPath const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getClassTypeId",0,0)) SWIG_fail; - result = SoPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getTypeId" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = ((SoPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_setHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_setHead",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_setHead" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_setHead" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setHead(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getHead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getHead" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoNode *)((SoPath const *)arg1)->getHead(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_append" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_append" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->append((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_append__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_append__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_append__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_append'.\n Possible C/C++ prototypes are:\n"" append(SoPath *,int const)\n"" append(SoPath *,SoNode *const)\n"" append(SoPath *,SoPath const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_push" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_push" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_pop" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoNode *)((SoPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getNodeFromTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getIndex" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoPath const *)arg1)->getIndex(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getIndexFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getIndexFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getIndexFromTail" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_getIndexFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoPath const *)arg1)->getIndexFromTail(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_getLength" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (int)((SoPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_truncate" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_findFork(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_findFork",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_findFork" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_findFork" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)((SoPath const *)arg1)->findFork((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_findNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_findNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_findNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_findNode" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoPath const *)arg1)->findNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_containsNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_containsNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_containsNode" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_containsNode" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoPath const *)arg1)->containsNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_containsPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_containsPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_containsPath" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_containsPath" "', argument " "2"" of type '" "SoPath const *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)((SoPath const *)arg1)->containsPath((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - int arg3 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_copy" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_copy" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoPath *)((SoPath const *)arg1)->copy(arg2,arg3); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - int arg2 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPath_copy" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)((SoPath const *)arg1)->copy(arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_copy" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = (SoPath *)((SoPath const *)arg1)->copy(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_copy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_copy__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_copy__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPath_copy__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_copy'.\n Possible C/C++ prototypes are:\n"" copy(SoPath const *,int const,int)\n"" copy(SoPath const *,int const)\n"" copy(SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - SoPath *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = (SoPath *)SoPath::getByName(arg1); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - SoPathList *arg2 = 0 ; - int result; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_getByName" "', argument " "2"" of type '" "SoPathList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath_getByName" "', argument " "2"" of type '" "SoPathList &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - result = (int)SoPath::getByName(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoPath_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPath_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPath_getByName'.\n Possible C/C++ prototypes are:\n"" getByName(SbName const)\n"" SoPath::getByName(SbName const,SoPathList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_insertIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_insertIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_insertIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_insertIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_insertIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertIndex(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_removeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_removeIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_removeIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_removeIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_removeIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->removeIndex(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_replaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoNode *arg4 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_replaceIndex",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_replaceIndex" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_replaceIndex" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPath_replaceIndex" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPath_replaceIndex" "', argument " "4"" of type '" "SoNode *const""'"); - } - arg4 = reinterpret_cast< SoNode * >(argp4); - (arg1)->replaceIndex(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_isRelevantNotification(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoNotList *arg2 = (SoNotList *) (SoNotList *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_isRelevantNotification",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_isRelevantNotification" "', argument " "1"" of type '" "SoPath const *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_isRelevantNotification" "', argument " "2"" of type '" "SoNotList *const""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - result = (SbBool)((SoPath const *)arg1)->isRelevantNotification(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath_write" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath___eq__" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath___eq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath___eq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)SoPath___eq__(arg1,(SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPath___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) 0 ; - SoPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPath___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPath___nq__" "', argument " "1"" of type '" "SoPath *""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPath___nq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPath___nq__" "', argument " "2"" of type '" "SoPath const &""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)SoPath___nq__(arg1,(SoPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoLightPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - int arg2 ; - SoLightPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoLightPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoLightPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoLightPath *)new SoLightPath(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoLightPath *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLightPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLightPath *)new SoLightPath(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLightPath__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLightPath__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLightPath'.\n Possible C/C++ prototypes are:\n"" SoLightPath(SoNode *,int const)\n"" SoLightPath(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLightPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLightPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLightPath" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_setHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_setHead",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_setHead" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightPath_setHead" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setHead(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_append" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_push" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_push" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_pop" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_setTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_setTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_setTail" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_setTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setTail(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getTail" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (SoNode *)((SoLightPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getHead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getHead" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (SoNode *)((SoLightPath const *)arg1)->getHead(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getNode" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoLightPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getIndex" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_getIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoLightPath const *)arg1)->getIndex(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_getFullLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_getFullLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_getFullLength" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - result = (int)((SoLightPath const *)arg1)->getFullLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_truncate" "', argument " "1"" of type '" "SoLightPath *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightPath_makeTempPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightPath *arg1 = (SoLightPath *) 0 ; - SoTempPath *arg2 = (SoTempPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightPath_makeTempPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightPath_makeTempPath" "', argument " "1"" of type '" "SoLightPath const *""'"); - } - arg1 = reinterpret_cast< SoLightPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightPath_makeTempPath" "', argument " "2"" of type '" "SoTempPath *""'"); - } - arg2 = reinterpret_cast< SoTempPath * >(argp2); - ((SoLightPath const *)arg1)->makeTempPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFullPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_pop" "', argument " "1"" of type '" "SoFullPath *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - result = (SoNode *)((SoFullPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getNodeFromTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFullPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoFullPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getIndexFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getIndexFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getIndexFromTail" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFullPath_getIndexFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoFullPath const *)arg1)->getIndexFromTail(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFullPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFullPath *arg1 = (SoFullPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFullPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFullPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFullPath_getLength" "', argument " "1"" of type '" "SoFullPath const *""'"); - } - arg1 = reinterpret_cast< SoFullPath * >(argp1); - result = (int)((SoFullPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFullPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFullPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTempPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoTempPath *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTempPath",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTempPath" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTempPath *)new SoTempPath(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTempPath, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTempPath_simpleAppend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTempPath *arg1 = (SoTempPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTempPath_simpleAppend",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTempPath_simpleAppend" "', argument " "1"" of type '" "SoTempPath *""'"); - } - arg1 = reinterpret_cast< SoTempPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTempPath_simpleAppend" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTempPath_simpleAppend" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->simpleAppend(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTempPath_replaceTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTempPath *arg1 = (SoTempPath *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTempPath_replaceTail",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTempPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTempPath_replaceTail" "', argument " "1"" of type '" "SoTempPath *""'"); - } - arg1 = reinterpret_cast< SoTempPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTempPath_replaceTail" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTempPath_replaceTail" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->replaceTail(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTempPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTempPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoActionMethodList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) (SoActionMethodList *)0 ; - SoActionMethodList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoActionMethodList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoActionMethodList" "', argument " "1"" of type '" "SoActionMethodList *const""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - result = (SoActionMethodList *)new SoActionMethodList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoActionMethodList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoActionMethodList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoActionMethodList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoActionMethodList" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - SoType arg2 ; - SoActionMethod arg3 = (SoActionMethod) (SoActionMethod)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_addMethod",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_addMethod" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoActionMethodList_addMethod" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoActionMethodList_addMethod" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoActionMethodList_addMethod" "', argument " "3"" of type '" "SoActionMethod const""'"); - } - } - (arg1)->addMethod(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_setUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_setUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_setUp" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - (arg1)->setUp(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - SoActionMethod *arg3 = (SoActionMethod *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList___setitem__" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoActionMethodList___setitem__" "', argument " "3"" of type '" "SoActionMethod *""'"); - } - arg3 = reinterpret_cast< SoActionMethod * >(argp3); - SoActionMethodList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - SoActionMethod *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList___getitem__" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoActionMethod &_result_ref = SoActionMethodList___getitem__(arg1,arg2); - result = (SoActionMethod *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_f_p_SoAction_p_SoNode__void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoActionMethodList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoActionMethodList *arg1 = (SoActionMethodList *) 0 ; - int arg2 ; - SoActionMethod result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoActionMethodList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoActionMethodList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoActionMethodList_get" "', argument " "1"" of type '" "SoActionMethodList *""'"); - } - arg1 = reinterpret_cast< SoActionMethodList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoActionMethodList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoActionMethod)SoActionMethodList_get(arg1,arg2); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoActionMethodList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoActionMethodList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_initClass",0,0)) SWIG_fail; - SoAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_initClasses",0,0)) SWIG_fail; - SoAction::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getClassTypeId",0,0)) SWIG_fail; - result = SoAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getTypeId" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = ((SoAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_isOfType" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoAction const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_apply" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_apply" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_apply__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoAction *,SoNode *)\n"" apply(SoAction *,SoPath *)\n"" apply(SoAction *,SoPathList const &,SbBool)\n"" apply(SoAction *,SoPathList const &)\n"" apply(SoAction *,SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_invalidateState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_invalidateState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_invalidateState" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->invalidateState(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_nullAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_nullAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_nullAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_nullAction" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAction::nullAction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getWhatAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction::AppliedCode result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getWhatAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getWhatAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoAction::AppliedCode)((SoAction const *)arg1)->getWhatAppliedTo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getNodeAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getNodeAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getNodeAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoNode *)((SoAction const *)arg1)->getNodeAppliedTo(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPath *)((SoAction const *)arg1)->getPathAppliedTo(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPathList *)((SoAction const *)arg1)->getPathListAppliedTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getOriginalPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getOriginalPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getOriginalPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPathList *)((SoAction const *)arg1)->getOriginalPathListAppliedTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_isLastPathListAppliedTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_isLastPathListAppliedTo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_isLastPathListAppliedTo" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SbBool)((SoAction const *)arg1)->isLastPathListAppliedTo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getPathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int *arg2 = 0 ; - int **arg3 = 0 ; - SoAction::PathCode result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getPathCode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getPathCode" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_getPathCode" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_getPathCode" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_getPathCode" "', argument " "3"" of type '" "int const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_getPathCode" "', argument " "3"" of type '" "int const *&""'"); - } - arg3 = reinterpret_cast< int ** >(argp3); - result = (SoAction::PathCode)(arg1)->getPathCode(*arg2,(int const *&)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_traverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_traverse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_traverse" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_traverse" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->traverse(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_hasTerminated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_hasTerminated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_hasTerminated" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SbBool)((SoAction const *)arg1)->hasTerminated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoPath *)(arg1)->getCurPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoState *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getState" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoState *)((SoAction const *)arg1)->getState(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoState, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction::PathCode result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPathCode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPathCode" "', argument " "1"" of type '" "SoAction const *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoAction::PathCode)((SoAction const *)arg1)->getCurPathCode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_getCurPathTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_getCurPathTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_getCurPathTail" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoNode *)(arg1)->getCurPathTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_usePathCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int *arg2 = 0 ; - int **arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_usePathCode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_usePathCode" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_usePathCode" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_usePathCode" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_usePathCode" "', argument " "3"" of type '" "int const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAction_usePathCode" "', argument " "3"" of type '" "int const *&""'"); - } - arg3 = reinterpret_cast< int ** >(argp3); - (arg1)->usePathCode(*arg2,(int const *&)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_pushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_pushCurPath" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->pushCurPath(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_pushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->pushCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoAction::PathCode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popCurPath" "', argument " "2"" of type '" "SoAction::PathCode""'"); - } - arg2 = static_cast< SoAction::PathCode >(val2); - (arg1)->popCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_pushCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_pushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->pushCurPath(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_pushCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_pushCurPath__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_pushCurPath'.\n Possible C/C++ prototypes are:\n"" pushCurPath(SoAction *,int const,SoNode *)\n"" pushCurPath(SoAction *,int const)\n"" pushCurPath(SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popPushCurPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popPushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popPushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoAction_popPushCurPath" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->popPushCurPath(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popPushCurPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popPushCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAction_popPushCurPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->popPushCurPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popPushCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_popPushCurPath__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_popPushCurPath__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_popPushCurPath'.\n Possible C/C++ prototypes are:\n"" popPushCurPath(SoAction *,int const,SoNode *)\n"" popPushCurPath(SoAction *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_popCurPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_popCurPath" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - (arg1)->popCurPath(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_popCurPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAction_popCurPath__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAction_popCurPath__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAction_popCurPath'.\n Possible C/C++ prototypes are:\n"" popCurPath(SoAction *,SoAction::PathCode const)\n"" popCurPath(SoAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_switchToPathTraversal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_switchToPathTraversal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_switchToPathTraversal" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_switchToPathTraversal" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->switchToPathTraversal(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAction_switchToNodeTraversal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAction_switchToNodeTraversal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAction_switchToNodeTraversal" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAction_switchToNodeTraversal" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->switchToNodeTraversal(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoTypeList *arg2 = 0 ; - SoState *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoState" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoState" "', argument " "2"" of type '" "SoTypeList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoState" "', argument " "2"" of type '" "SoTypeList const &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (SoState *)new SoState(arg1,(SoTypeList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoState, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoState" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getAction" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAction *)((SoState const *)arg1)->getAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getElement" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)(arg1)->getElement(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getConstElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getConstElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getConstElement" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getConstElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)((SoState const *)arg1)->getConstElement(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_push",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_push" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - (arg1)->push(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_pop" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_output" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoState const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_output" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ((SoState const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoState_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoState_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoState_output'.\n Possible C/C++ prototypes are:\n"" print(SoState const *,FILE *const)\n"" print(SoState const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_isElementEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_isElementEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_isElementEnabled" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_isElementEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoState const *)arg1)->isElementEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getDepth" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)((SoState const *)arg1)->getDepth(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_setCacheOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_setCacheOpen",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_setCacheOpen" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_setCacheOpen" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCacheOpen(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_isCacheOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_isCacheOpen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_isCacheOpen" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)((SoState const *)arg1)->isCacheOpen(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoState_getElementNoPush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoState_getElementNoPush",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoState_getElementNoPush" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoState_getElementNoPush" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoElement *)((SoState const *)arg1)->getElementNoPush(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoState, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_initClass",0,0)) SWIG_fail; - SoElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getClassTypeId",0,0)) SWIG_fail; - result = SoElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getTypeId" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = ((SoElement const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getStackIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getStackIndex" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (int)((SoElement const *)arg1)->getStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_init" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_push" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_pop" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_matches" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_copyMatchInfo" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (SoElement *)((SoElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_initElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_initElements",0,0)) SWIG_fail; - SoElement::initElements(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getNumStackIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getNumStackIndices",0,0)) SWIG_fail; - result = (int)SoElement::getNumStackIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getIdFromStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoType result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getIdFromStackIndex",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoElement_getIdFromStackIndex" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = SoElement::getIdFromStackIndex(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_setDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_setDepth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_setDepth" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoElement_setDepth" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setDepth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_getDepth" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - result = (int)((SoElement const *)arg1)->getDepth(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_output" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElement_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElement_output" "', argument " "1"" of type '" "SoElement const *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - ((SoElement const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElement_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoElement_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoElement_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoElement_output'.\n Possible C/C++ prototypes are:\n"" print(SoElement const *,FILE *)\n"" print(SoElement const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElement *arg1 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoElement",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElement, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoElement" "', argument " "1"" of type '" "SoElement *""'"); - } - arg1 = reinterpret_cast< SoElement * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInt32Element_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_getClassTypeId",0,0)) SWIG_fail; - result = SoInt32Element::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoInt32Element::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_initClass",0,0)) SWIG_fail; - SoInt32Element::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_init" "', argument " "1"" of type '" "SoInt32Element *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_matches" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoInt32Element const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_copyMatchInfo" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - result = (SoElement *)((SoInt32Element const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_output" "', argument " "1"" of type '" "SoInt32Element const *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoInt32Element const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - int32_t arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInt32Element_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInt32Element_set" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - SoInt32Element::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - int32_t arg3 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInt32Element_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoInt32Element::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInt32Element_set__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInt32Element_set__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInt32Element_set'.\n Possible C/C++ prototypes are:\n"" set(int const,SoState *const,SoNode *const,int32_t const)\n"" SoInt32Element::set(int const,SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - int32_t result; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_get",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoInt32Element_get" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInt32Element_get" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (int32_t)SoInt32Element::get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInt32Element_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInt32Element *arg1 = (SoInt32Element *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInt32Element_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInt32Element, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInt32Element_setElt" "', argument " "1"" of type '" "SoInt32Element *""'"); - } - arg1 = reinterpret_cast< SoInt32Element * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInt32Element_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInt32Element_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInt32Element, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDecimationTypeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDecimationTypeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecimationTypeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_initClass",0,0)) SWIG_fail; - SoDecimationTypeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationTypeElement *arg1 = (SoDecimationTypeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecimationTypeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_init" "', argument " "1"" of type '" "SoDecimationTypeElement *""'"); - } - arg1 = reinterpret_cast< SoDecimationTypeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationTypeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDecimationTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDecimationTypeElement_set" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - SoDecimationTypeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoDecimationTypeElement::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationTypeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDecimationTypeElement_set" "', argument " "3"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg3 = static_cast< SoDecimationTypeElement::Type >(val3); - SoDecimationTypeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationTypeElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationTypeElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDecimationTypeElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoDecimationTypeElement::Type const)\n"" SoDecimationTypeElement::set(SoState *const,SoNode *const,SoDecimationTypeElement::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDecimationTypeElement::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationTypeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDecimationTypeElement::Type)SoDecimationTypeElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationTypeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationTypeElement_getDefault",0,0)) SWIG_fail; - result = (SoDecimationTypeElement::Type)SoDecimationTypeElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecimationTypeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecimationTypeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",0,0)) SWIG_fail; - result = (SoFieldData *)new SoFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoFieldData, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const &""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (SoFieldData *)new SoFieldData((SoFieldData const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (SoFieldData *)new SoFieldData((SoFieldData const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoFieldData *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldData",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoFieldData" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoFieldData *)new SoFieldData(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoFieldData__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldData__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoFieldData__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoFieldData__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoFieldData'.\n Possible C/C++ prototypes are:\n"" SoFieldData()\n"" SoFieldData(SoFieldData const &)\n"" SoFieldData(SoFieldData const *)\n"" SoFieldData(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldData" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_addField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - char *arg3 = (char *) 0 ; - SoField *arg4 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_addField",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_addField" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_addField" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_addField" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoFieldData_addField" "', argument " "4"" of type '" "SoField const *""'"); - } - arg4 = reinterpret_cast< SoField * >(argp4); - (arg1)->addField(arg2,(char const *)arg3,(SoField const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_overlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_overlay",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_overlay" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_overlay" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_overlay" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_overlay" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SoFieldData const *)arg1)->overlay(arg2,(SoFieldContainer const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getNumFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getNumFields",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getNumFields" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - result = (int)((SoFieldData const *)arg1)->getNumFields(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getFieldName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getFieldName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getFieldName" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldData_getFieldName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoFieldData const *)arg1)->getFieldName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - int arg3 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getField",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getField" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getField" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldData_getField" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoField *)((SoFieldData const *)arg1)->getField((SoFieldContainer const *)arg2,arg3); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoField *arg3 = (SoField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getIndex" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getIndex" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_getIndex" "', argument " "3"" of type '" "SoField const *""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - result = (int)((SoFieldData const *)arg1)->getIndex((SoFieldContainer const *)arg2,(SoField const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_addEnumValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_addEnumValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_addEnumValue" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_addEnumValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_addEnumValue" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_addEnumValue" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addEnumValue((char const *)arg2,(char const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_getEnumData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - char *arg2 = (char *) 0 ; - int *arg3 = 0 ; - int **arg4 = 0 ; - SbName **arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_getEnumData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_getEnumData" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_getEnumData" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_getEnumData" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoFieldData_getEnumData" "', argument " "4"" of type '" "int const *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "4"" of type '" "int const *&""'"); - } - arg4 = reinterpret_cast< int ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SbName, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_getEnumData" "', argument " "5"" of type '" "SbName const *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_getEnumData" "', argument " "5"" of type '" "SbName const *&""'"); - } - arg5 = reinterpret_cast< SbName ** >(argp5); - (arg1)->getEnumData((char const *)arg2,*arg3,(int const *&)*arg4,(SbName const *&)*arg5); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbBool arg4 ; - SbBool *arg5 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_read" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_read" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_read" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - result = (SbBool)((SoFieldData const *)arg1)->read(arg2,arg3,arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbName *arg4 = 0 ; - SbBool *arg5 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_read" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_read" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldData_read" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - result = (SbBool)((SoFieldData const *)arg1)->read(arg2,arg3,(SbName const &)*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldData_read__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldData_read__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldData_read'.\n Possible C/C++ prototypes are:\n"" read(SoFieldData const *,SoInput *,SoFieldContainer *,SbBool,SbBool &)\n"" read(SoFieldData const *,SoInput *,SoFieldContainer *,SbName const &,SbBool &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_write" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_write" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ((SoFieldData const *)arg1)->write(arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldData *arg2 = (SoFieldData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_copy" "', argument " "1"" of type '" "SoFieldData *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_copy" "', argument " "2"" of type '" "SoFieldData const *""'"); - } - arg2 = reinterpret_cast< SoFieldData * >(argp2); - (arg1)->copy((SoFieldData const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_isSame",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_isSame" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_isSame" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_isSame" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - result = (SbBool)((SoFieldData const *)arg1)->isSame((SoFieldContainer const *)arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - int arg4 ; - SbBool arg5 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_readFieldDescriptions",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - result = (SbBool)((SoFieldData const *)arg1)->readFieldDescriptions(arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - int arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_readFieldDescriptions",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFieldData_readFieldDescriptions" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (SbBool)((SoFieldData const *)arg1)->readFieldDescriptions(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_readFieldDescriptions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldData_readFieldDescriptions__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldData_readFieldDescriptions__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldData_readFieldDescriptions'.\n Possible C/C++ prototypes are:\n"" readFieldDescriptions(SoFieldData const *,SoInput *,SoFieldContainer *,int,SbBool const)\n"" readFieldDescriptions(SoFieldData const *,SoInput *,SoFieldContainer *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldData_writeFieldDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldData *arg1 = (SoFieldData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoFieldContainer *arg3 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldData_writeFieldDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "1"" of type '" "SoFieldData const *""'"); - } - arg1 = reinterpret_cast< SoFieldData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldData_writeFieldDescriptions" "', argument " "3"" of type '" "SoFieldContainer const *""'"); - } - arg3 = reinterpret_cast< SoFieldContainer * >(argp3); - ((SoFieldData const *)arg1)->writeFieldDescriptions(arg2,(SoFieldContainer const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldData, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFieldContainer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_initClass",0,0)) SWIG_fail; - SoFieldContainer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getClassTypeId",0,0)) SWIG_fail; - result = SoFieldContainer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_setToDefaults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_setToDefaults",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_setToDefaults" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - (arg1)->setToDefaults(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_hasDefaultValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_hasDefaultValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_hasDefaultValues" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->hasDefaultValues(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_fieldsAreEqual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_fieldsAreEqual",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_fieldsAreEqual" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_fieldsAreEqual" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - result = (SbBool)((SoFieldContainer const *)arg1)->fieldsAreEqual((SoFieldContainer const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyFieldValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyFieldValues((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyFieldValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyFieldValues" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->copyFieldValues((SoFieldContainer const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyFieldValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_copyFieldValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldContainer_copyFieldValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_copyFieldValues'.\n Possible C/C++ prototypes are:\n"" copyFieldValues(SoFieldContainer *,SoFieldContainer const *,SbBool)\n"" copyFieldValues(SoFieldContainer *,SoFieldContainer const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_set" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_set" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_get" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->get(*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFields",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFields" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldContainer const *)arg1)->getFields(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getAllFields(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getAllFields",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getAllFields" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getAllFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldContainer_getAllFields" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldContainer const *)arg1)->getAllFields(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getField" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getField((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getEventIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getEventIn",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getEventIn" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getEventIn((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getEventOut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbName *arg2 = 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getEventOut",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getEventOut" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoField *)((SoFieldContainer const *)arg1)->getEventOut((SbName const &)*arg2); - { - resultobj = autocast_field(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) (SoField *)0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldName" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFieldName" "', argument " "2"" of type '" "SoField const *const""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoFieldContainer const *)arg1)->getFieldName((SoField const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_enableNotify" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldContainer_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_isNotifyEnabled" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - char *arg2 = (char *) 0 ; - SoInput *arg3 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_set" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_set" "', argument " "3"" of type '" "SoInput *""'"); - } - arg3 = reinterpret_cast< SoInput * >(argp3); - result = (SbBool)(arg1)->set((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_set'.\n Possible C/C++ prototypes are:\n"" set(SoFieldContainer *,char const *const)\n"" set(SoFieldContainer *,char const *,SoInput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbString *arg2 = 0 ; - SoOutput *arg3 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_get" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_get" "', argument " "3"" of type '" "SoOutput *""'"); - } - arg3 = reinterpret_cast< SoOutput * >(argp3); - (arg1)->get(*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoFieldContainer_get__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_get__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_get'.\n Possible C/C++ prototypes are:\n"" get(SoFieldContainer *,SbString &)\n"" get(SoFieldContainer *,SbString &,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_notify" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_validateNewFieldValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *arg3 = (void *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_validateNewFieldValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFieldContainer_validateNewFieldValue" "', argument " "3"" of type '" "void *""'"); - } - result = (SbBool)(arg1)->validateNewFieldValue(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addWriteReference" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addWriteReference" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFieldContainer_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_addWriteReference'.\n Possible C/C++ prototypes are:\n"" addWriteReference(SoFieldContainer *,SoOutput *,SbBool)\n"" addWriteReference(SoFieldContainer *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_writeInstance" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getIsBuiltIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getIsBuiltIn",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getIsBuiltIn" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SbBool)((SoFieldContainer const *)arg1)->getIsBuiltIn(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldData *)((SoFieldContainer const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyContents" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFieldContainer_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_copyThroughConnection" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldContainer *)((SoFieldContainer const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_initCopyDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_initCopyDict",0,0)) SWIG_fail; - SoFieldContainer::initCopyDict(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_addCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_addCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_addCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_addCopy" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - SoFieldContainer::addCopy((SoFieldContainer const *)arg1,(SoFieldContainer const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_checkCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_checkCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_checkCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (SoFieldContainer *)SoFieldContainer::checkCopy((SoFieldContainer const *)arg1); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_findCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SbBool arg2 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_findCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_findCopy" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFieldContainer_findCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoFieldContainer *)SoFieldContainer::findCopy((SoFieldContainer const *)arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_copyDone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_copyDone",0,0)) SWIG_fail; - SoFieldContainer::copyDone(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_setUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_setUserData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_setUserData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_setUserData" "', argument " "2"" of type '" "void *""'"); - } - ((SoFieldContainer const *)arg1)->setUserData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getUserData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getUserData" "', argument " "1"" of type '" "SoFieldContainer const *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - result = (void *)((SoFieldContainer const *)arg1)->getUserData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldContainer *arg1 = (SoFieldContainer *) 0 ; - SoField *arg2 = (SoField *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldContainer_getFieldName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldContainer_getFieldName" "', argument " "1"" of type '" "SoFieldContainer *""'"); - } - arg1 = reinterpret_cast< SoFieldContainer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldContainer_getFieldName" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (PyObject *)SoFieldContainer_getFieldName__SWIG_1(arg1,arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldContainer_getFieldName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoFieldContainer_getFieldName__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoFieldContainer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoFieldContainer_getFieldName__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFieldContainer_getFieldName'.\n Possible C/C++ prototypes are:\n"" getFieldName(SoFieldContainer const *,SoField const *const,SbName &)\n"" getFieldName(SoFieldContainer *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoFieldContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldContainer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNode_setOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_setOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_setOverride" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_setOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOverride(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_isOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_isOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_isOverride" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SbBool)((SoNode const *)arg1)->isOverride(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getCompatibilityTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getCompatibilityTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getCompatibilityTypes" "', argument " "1"" of type '" "SoType const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getCompatibilityTypes" "', argument " "1"" of type '" "SoType const &""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (uint32_t)SoNode::getCompatibilityTypes((SoType const &)*arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_setNodeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNode::NodeType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_setNodeType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_setNodeType" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_setNodeType" "', argument " "2"" of type '" "SoNode::NodeType""'"); - } - arg2 = static_cast< SoNode::NodeType >(val2); - (arg1)->setNodeType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNodeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNode::NodeType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNodeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getNodeType" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode::NodeType)((SoNode const *)arg1)->getNodeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copy" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNode_copy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoNode *)((SoNode const *)arg1)->copy(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copy" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode *)((SoNode const *)arg1)->copy(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNode_copy__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNode_copy__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNode_copy'.\n Possible C/C++ prototypes are:\n"" copy(SoNode const *,SbBool)\n"" copy(SoNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_affectsState" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SbBool)((SoNode const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_doAction" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRender" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderBelowPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderInPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderOffPath" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_callback" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getBoundingBox" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getMatrix" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_handleEvent" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_pick" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_rayPick" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_search" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_write" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_audioRender" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getPrimitiveCount" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_grabEventsSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_grabEventsSetup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_grabEventsSetup" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->grabEventsSetup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_grabEventsCleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_grabEventsCleanup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_grabEventsCleanup" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->grabEventsCleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_startNotify" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_notify" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getNodeId" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (uint32_t)((SoNode const *)arg1)->getNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getChildren" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoChildList *)((SoNode const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_writeInstance" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_addToCopyDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_addToCopyDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_addToCopyDict" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoNode *)((SoNode const *)arg1)->addToCopyDict(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copyContents" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNode_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_copyThroughConnection" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoFieldContainer *)((SoNode const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getClassTypeId",0,0)) SWIG_fail; - result = SoNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoNode *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoNode *)SoNode::getByName((SbName const &)*arg1); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoNodeList *arg2 = 0 ; - int result; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getByName" "', argument " "2"" of type '" "SoNodeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getByName" "', argument " "2"" of type '" "SoNodeList &""'"); - } - arg2 = reinterpret_cast< SoNodeList * >(argp2); - result = (int)SoNode::getByName((SbName const &)*arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNode_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNode_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNode_getByName'.\n Possible C/C++ prototypes are:\n"" getByName(SbName const &)\n"" SoNode::getByName(SbName const &,SoNodeList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_initClass",0,0)) SWIG_fail; - SoNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_initClasses",0,0)) SWIG_fail; - SoNode::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getNextNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getNextNodeId",0,0)) SWIG_fail; - result = (uint32_t)SoNode::getNextNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getActionMethodIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int result; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getActionMethodIndex",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getActionMethodIndex" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNode_getActionMethodIndex" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (int)SoNode::getActionMethodIndex(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getBoundingBoxS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getBoundingBoxS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getBoundingBoxS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getBoundingBoxS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getBoundingBoxS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_GLRenderS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_GLRenderS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_GLRenderS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_GLRenderS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::GLRenderS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_callbackS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_callbackS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_callbackS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_callbackS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::callbackS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getMatrixS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getMatrixS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getMatrixS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getMatrixS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getMatrixS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_handleEventS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_handleEventS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_handleEventS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_handleEventS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::handleEventS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_pickS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_pickS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_pickS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_pickS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::pickS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_rayPickS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_rayPickS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_rayPickS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_rayPickS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::rayPickS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_searchS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_searchS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_searchS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_searchS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::searchS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_writeS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_writeS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_writeS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_writeS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::writeS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_audioRenderS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_audioRenderS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_audioRenderS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_audioRenderS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::audioRenderS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNode_getPrimitiveCountS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNode_getPrimitiveCountS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNode_getPrimitiveCountS" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNode_getPrimitiveCountS" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoNode::getPrimitiveCountS(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSensorManager",0,0)) SWIG_fail; - result = (SoSensorManager *)new SoSensorManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensorManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSensorManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSensorManager" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_insertDelaySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoDelayQueueSensor *arg2 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_insertDelaySensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_insertDelaySensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_insertDelaySensor" "', argument " "2"" of type '" "SoDelayQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoDelayQueueSensor * >(argp2); - (arg1)->insertDelaySensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_insertTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_insertTimerSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_insertTimerSensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_insertTimerSensor" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->insertTimerSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeDelaySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoDelayQueueSensor *arg2 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeDelaySensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeDelaySensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeDelaySensor" "', argument " "2"" of type '" "SoDelayQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoDelayQueueSensor * >(argp2); - (arg1)->removeDelaySensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeTimerSensor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeTimerSensor" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeTimerSensor" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->removeTimerSensor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void (*arg2)(void *) = (void (*)(void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setChangedCallback" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSensorManager_setChangedCallback" "', argument " "2"" of type '" "void (*)(void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSensorManager_setChangedCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_rescheduleTimer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerSensor *arg2 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_rescheduleTimer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_rescheduleTimer" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_rescheduleTimer" "', argument " "2"" of type '" "SoTimerSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerSensor * >(argp2); - (arg1)->rescheduleTimer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_removeRescheduledTimer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SoTimerQueueSensor *arg2 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_removeRescheduledTimer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_removeRescheduledTimer" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensorManager_removeRescheduledTimer" "', argument " "2"" of type '" "SoTimerQueueSensor *""'"); - } - arg2 = reinterpret_cast< SoTimerQueueSensor * >(argp2); - (arg1)->removeRescheduledTimer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processDelayQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processDelayQueue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processDelayQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSensorManager_processDelayQueue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->processDelayQueue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processImmediateQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processImmediateQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processImmediateQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - (arg1)->processImmediateQueue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_processTimerQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_processTimerQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_processTimerQueue" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - (arg1)->processTimerQueue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isDelaySensorPending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isDelaySensorPending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isDelaySensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - result = (SbBool)(arg1)->isDelaySensorPending(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isTimerSensorPending",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isTimerSensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->isTimerSensorPending(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setDelaySensorTimeout",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setDelaySensorTimeout" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setDelaySensorTimeout((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_getDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_getDelaySensorTimeout",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_getDelaySensorTimeout" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - SbTime const &_result_ref = (arg1)->getDelaySensorTimeout(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_doSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - void *arg5 = (void *) 0 ; - timeval *arg6 = (timeval *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - int res4 ; - int res5 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_doSelect",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_doSelect" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSensorManager_doSelect" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSensorManager_doSelect" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSensorManager_doSelect" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSensorManager_doSelect" "', argument " "5"" of type '" "void *""'"); - } - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoSensorManager_doSelect" "', argument " "6"" of type '" "timeval *""'"); - } - arg6 = reinterpret_cast< timeval * >(argp6); - result = (int)(arg1)->doSelect(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_setChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_setChangedCallback" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSensorManager_setChangedCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_setChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSensorManager_setChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSensorManager_setChangedCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSensorManager_setChangedCallback'.\n Possible C/C++ prototypes are:\n"" setChangedCallback(SoSensorManager *,void (*)(void *),void *)\n"" setChangedCallback(SoSensorManager *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *arg1 = (SoSensorManager *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensorManager_isTimerSensorPending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensorManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensorManager_isTimerSensorPending" "', argument " "1"" of type '" "SoSensorManager *""'"); - } - arg1 = reinterpret_cast< SoSensorManager * >(argp1); - result = (PyObject *)SoSensorManager_isTimerSensorPending__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensorManager_isTimerSensorPending(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSensorManager_isTimerSensorPending__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSensorManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSensorManager_isTimerSensorPending__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSensorManager_isTimerSensorPending'.\n Possible C/C++ prototypes are:\n"" isTimerSensorPending(SoSensorManager *,SbTime &)\n"" isTimerSensorPending(SoSensorManager *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSensorManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSensorManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDB_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_init",0,0)) SWIG_fail; - SoDB::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_finish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_finish",0,0)) SWIG_fail; - SoDB::finish(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_cleanup",0,0)) SWIG_fail; - SoDB::cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getVersion",0,0)) SWIG_fail; - result = (char *)SoDB::getVersion(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoPath **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoPath *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoPath *&""'"); - } - arg2 = reinterpret_cast< SoPath ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoBase **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoBase, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoBase *&""'"); - } - arg2 = reinterpret_cast< SoBase ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoNode **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoNode, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_read" "', argument " "2"" of type '" "SoNode *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_read" "', argument " "2"" of type '" "SoNode *&""'"); - } - arg2 = reinterpret_cast< SoNode ** >(argp2); - result = (SbBool)SoDB::read(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_read__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_read'.\n Possible C/C++ prototypes are:\n"" read(SoInput *,SoPath *&)\n"" read(SoInput *,SoBase *&)\n"" SoDB::read(SoInput *,SoNode *&)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoSeparator *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_readAll" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoSeparator *)SoDB::readAll(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readAllVRML(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoVRMLGroup *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readAllVRML",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_readAllVRML" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoVRMLGroup *)SoDB::readAllVRML(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isValidHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - SbBool result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isValidHeader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_isValidHeader" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbBool)SoDB::isValidHeader((char const *)arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool arg2 ; - float arg3 ; - SoDBHeaderCB *arg4 = (SoDBHeaderCB *) 0 ; - SoDBHeaderCB *arg5 = (SoDBHeaderCB *) 0 ; - void *arg6 = (void *) 0 ; - SbBool result; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int res6 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_registerHeader",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDB_registerHeader" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDB_registerHeader" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "4"" of type '" "SoDBHeaderCB *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "5"" of type '" "SoDBHeaderCB *""'"); - } - } - res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_registerHeader" "', argument " "6"" of type '" "void *""'"); - } - result = (SbBool)SoDB::registerHeader((SbString const &)*arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool arg2 ; - float arg3 ; - SoDBHeaderCB *arg4 = (SoDBHeaderCB *) 0 ; - SoDBHeaderCB *arg5 = (SoDBHeaderCB *) 0 ; - SbBool result; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_registerHeader",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDB_registerHeader" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDB_registerHeader" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "4"" of type '" "SoDBHeaderCB *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoInput__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_registerHeader" "', argument " "5"" of type '" "SoDBHeaderCB *""'"); - } - } - result = (SbBool)SoDB::registerHeader((SbString const &)*arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_registerHeader(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_registerHeader__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_p_SoInput__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[5], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_registerHeader__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_registerHeader'.\n Possible C/C++ prototypes are:\n"" registerHeader(SbString const &,SbBool,float,SoDBHeaderCB *,SoDBHeaderCB *,void *)\n"" SoDB::registerHeader(SbString const &,SbBool,float,SoDBHeaderCB *,SoDBHeaderCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool *arg2 = 0 ; - float *arg3 = 0 ; - SoDBHeaderCB **arg4 = 0 ; - SoDBHeaderCB **arg5 = 0 ; - void **arg6 = 0 ; - SbBool arg7 ; - SbBool result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - arg4 = reinterpret_cast< SoDBHeaderCB ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - arg5 = reinterpret_cast< SoDBHeaderCB ** >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - arg6 = reinterpret_cast< void ** >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoDB_getHeaderData" "', argument " "7"" of type '" "SbBool""'"); - } - arg7 = static_cast< SbBool >(val7); - result = (SbBool)SoDB::getHeaderData((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5,*arg6,arg7); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbBool *arg2 = 0 ; - float *arg3 = 0 ; - SoDBHeaderCB **arg4 = 0 ; - SoDBHeaderCB **arg5 = 0 ; - void **arg6 = 0 ; - SbBool result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "4"" of type '" "SoDBHeaderCB *&""'"); - } - arg4 = reinterpret_cast< SoDBHeaderCB ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "5"" of type '" "SoDBHeaderCB *&""'"); - } - arg5 = reinterpret_cast< SoDBHeaderCB ** >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getHeaderData" "', argument " "6"" of type '" "void *&""'"); - } - arg6 = reinterpret_cast< void ** >(argp6); - result = (SbBool)SoDB::getHeaderData((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 6) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDB_getHeaderData__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_f_p_void_p_SoInput__void, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDB_getHeaderData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDB_getHeaderData'.\n Possible C/C++ prototypes are:\n"" getHeaderData(SbString const &,SbBool &,float &,SoDBHeaderCB *&,SoDBHeaderCB *&,void *&,SbBool)\n"" SoDB::getHeaderData(SbString const &,SbBool &,float &,SoDBHeaderCB *&,SoDBHeaderCB *&,void *&)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getNumHeaders(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getNumHeaders",0,0)) SWIG_fail; - result = (int)SoDB::getNumHeaders(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbString result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getHeaderString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_getHeaderString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = SoDB::getHeaderString(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_createGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoType arg2 ; - SoField *result = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_createGlobalField",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_createGlobalField" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_createGlobalField" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoField *)SoDB::createGlobalField((SbName const &)*arg1,arg2); - { - resultobj = autocast_field(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoField *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getGlobalField",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoField *)SoDB::getGlobalField((SbName const &)*arg1); - { - resultobj = autocast_field(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_renameGlobalField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SbName *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_renameGlobalField",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - SoDB::renameGlobalField((SbName const &)*arg1,(SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_setRealTimeInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_setRealTimeInterval",1,1,&obj0)) SWIG_fail; - { - if (PyFloat_Check(obj0)) { - arg1 = new SbTime(PyFloat_AsDouble(obj0)); - } else { - SbTime * tmp = NULL; - arg1 = new SbTime; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg1 = *tmp; - } - } - SoDB::setRealTimeInterval((SbTime const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getRealTimeInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getRealTimeInterval",0,0)) SWIG_fail; - { - SbTime const &_result_ref = SoDB::getRealTimeInterval(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_enableRealTimeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_enableRealTimeSensor",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_enableRealTimeSensor" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoDB::enableRealTimeSensor(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getSensorManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getSensorManager",0,0)) SWIG_fail; - result = (SoSensorManager *)SoDB::getSensorManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensorManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_setDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_setDelaySensorTimeout",1,1,&obj0)) SWIG_fail; - { - if (PyFloat_Check(obj0)) { - arg1 = new SbTime(PyFloat_AsDouble(obj0)); - } else { - SbTime * tmp = NULL; - arg1 = new SbTime; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg1 = *tmp; - } - } - SoDB::setDelaySensorTimeout((SbTime const &)*arg1); - resultobj = SWIG_Py_Void(); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getDelaySensorTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getDelaySensorTimeout",0,0)) SWIG_fail; - { - SbTime const &_result_ref = SoDB::getDelaySensorTimeout(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_doSelect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - timeval *arg5 = (timeval *) 0 ; - int result; - int val1 ; - int ecode1 = 0 ; - int res2 ; - int res3 ; - int res4 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_doSelect",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDB_doSelect" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_doSelect" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_doSelect" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_doSelect" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDB_doSelect" "', argument " "5"" of type '" "timeval *""'"); - } - arg5 = reinterpret_cast< timeval * >(argp5); - result = (int)SoDB::doSelect(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_addConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoType arg2 ; - SoType arg3 ; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_addConverter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_addConverter" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_addConverter" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_addConverter" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_addConverter" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoDB::addConverter(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_getConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoType arg2 ; - SoType result; - void *argp1 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_getConverter",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_getConverter" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getConverter" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_getConverter" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDB_getConverter" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = SoDB::getConverter(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isInitialized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isInitialized",0,0)) SWIG_fail; - result = (SbBool)SoDB::isInitialized(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_startNotify",0,0)) SWIG_fail; - SoDB::startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isNotifying",0,0)) SWIG_fail; - result = (SbBool)SoDB::isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_endNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_endNotify",0,0)) SWIG_fail; - SoDB::endNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_addProgressCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB::ProgressCallbackType *arg1 = (SoDB::ProgressCallbackType *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_addProgressCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_addProgressCallback" "', argument " "1"" of type '" "SoDB::ProgressCallbackType *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_addProgressCallback" "', argument " "2"" of type '" "void *""'"); - } - SoDB::addProgressCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_removeProgressCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB::ProgressCallbackType *arg1 = (SoDB::ProgressCallbackType *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_removeProgressCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbName_float_int_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDB_removeProgressCallback" "', argument " "1"" of type '" "SoDB::ProgressCallbackType *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_removeProgressCallback" "', argument " "2"" of type '" "void *""'"); - } - SoDB::removeProgressCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_isMultiThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_isMultiThread",0,0)) SWIG_fail; - result = (SbBool)SoDB::isMultiThread(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readlock",0,0)) SWIG_fail; - SoDB::readlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_readunlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_readunlock",0,0)) SWIG_fail; - SoDB::readunlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_writelock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_writelock",0,0)) SWIG_fail; - SoDB::writelock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_writeunlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_writeunlock",0,0)) SWIG_fail; - SoDB::writeunlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_createRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - char *arg2 = (char *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - char *arg4 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_createRoute",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_createRoute" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_createRoute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_createRoute" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_createRoute" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoDB::createRoute(arg1,(char const *)arg2,arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDB_removeRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - char *arg2 = (char *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - char *arg4 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDB_removeRoute",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDB_removeRoute" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDB_removeRoute" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDB_removeRoute" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDB_removeRoute" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoDB::removeRoute(arg1,(char const *)arg2,arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDB",0,0)) SWIG_fail; - result = (SoDB *)new SoDB(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDB, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDB *arg1 = (SoDB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDB",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDB, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDB" "', argument " "1"" of type '" "SoDB *""'"); - } - arg1 = reinterpret_cast< SoDB * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDB_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDB, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoInput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInput",0,0)) SWIG_fail; - result = (SoInput *)new SoInput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoInput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoInput" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoInput *)new SoInput(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoInput__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoInput__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoInput'.\n Possible C/C++ prototypes are:\n"" SoInput()\n"" SoInput(SoInput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_findProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoProto *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_findProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_findProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoProto *)(arg1)->findProto((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->addProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_pushProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_pushProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_pushProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_pushProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->pushProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurrentProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoProto *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurrentProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurrentProto" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SoProto *)((SoInput const *)arg1)->getCurrentProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_popProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_popProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_popProto" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - (arg1)->popProto(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addRoute" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute((SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_checkISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - SbBool *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_checkISReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_checkISReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_checkISReference" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoInput_checkISReference" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_checkISReference" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - result = (SbBool)(arg1)->checkISReference(arg2,(SbName const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoInput" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setFilePointer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->setFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_openFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_openFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_openFile" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->openFile((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_openFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_openFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_openFile__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_openFile__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_openFile'.\n Possible C/C++ prototypes are:\n"" openFile(SoInput *,char const *,SbBool)\n"" openFile(SoInput *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_pushFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_pushFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_pushFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_pushFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->pushFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_closeFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isValidFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isValidFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isValidFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isValidFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isValidBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isValidBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isValidBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isValidBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - FILE *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurFile" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (FILE *)((SoInput const *)arg1)->getCurFile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getCurFileName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getCurFileName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getCurFileName" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (char *)((SoInput const *)arg1)->getCurFileName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (!PyString_Check(obj1)) { - PyErr_SetString(PyExc_ValueError, "Expecting a string"); - return NULL; - } - arg2 = (void *) PyString_AsString(obj1); - arg3 = PyString_Size(obj1); - } - (arg1)->setBuffer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_setStringArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char **arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_setStringArray",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_setStringArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_setStringArray" "', argument " "2"" of type '" "char const *[]""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - (arg1)->setStringArray((char const *(*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getNumBytesRead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - size_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getNumBytesRead",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getNumBytesRead" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = ((SoInput const *)arg1)->getNumBytesRead(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getHeader",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getHeader" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (arg1)->getHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getIVVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getIVVersion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getIVVersion" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (float)(arg1)->getIVVersion(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isBinary",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isBinary" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isBinary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_get" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_get" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_get" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->get(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getASCIIBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getASCIIBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getASCIIBuffer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_getASCIIBuffer" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_getASCIIBuffer" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->getASCIIBuffer(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getASCIIFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getASCIIFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getASCIIFile" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_getASCIIFile" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_getASCIIFile" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->getASCIIFile(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readHex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - uint32_t *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readHex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readHex" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readHex" "', argument " "2"" of type '" "uint32_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_readHex" "', argument " "2"" of type '" "uint32_t &""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - result = (SbBool)(arg1)->readHex(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "char &""'"); - } - arg2 = reinterpret_cast< char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_read" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->read(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbString *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_read" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->read(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - int *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned int *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned int &""'"); - } - arg2 = reinterpret_cast< unsigned int * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - short *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned short *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "unsigned short &""'"); - } - arg2 = reinterpret_cast< unsigned short * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - float *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - double *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_read",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_read" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_read" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_read" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - result = (SbBool)(arg1)->read(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_read(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_7(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_8(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_9(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_read__SWIG_10(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_read__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_read__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_read__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_read__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_read'.\n Possible C/C++ prototypes are:\n"" read(SoInput *,char &)\n"" read(SoInput *,char &,SbBool)\n"" read(SoInput *,SbString &)\n"" read(SoInput *,SbName &,SbBool)\n"" read(SoInput *,SbName &)\n"" read(SoInput *,int &)\n"" read(SoInput *,unsigned int &)\n"" read(SoInput *,short &)\n"" read(SoInput *,unsigned short &)\n"" read(SoInput *,float &)\n"" read(SoInput *,double &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - int arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "unsigned char *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - int arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "int32_t *""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - float *arg2 = (float *) 0 ; - int arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "float *""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - double *arg2 = (double *) 0 ; - int arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_readBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_readBinaryArray" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_readBinaryArray" "', argument " "2"" of type '" "double *""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoInput_readBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool)(arg1)->readBinaryArray(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_readBinaryArray(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_readBinaryArray__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_readBinaryArray'.\n Possible C/C++ prototypes are:\n"" readBinaryArray(SoInput *,unsigned char *,int)\n"" readBinaryArray(SoInput *,int32_t *,int)\n"" readBinaryArray(SoInput *,float *,int)\n"" readBinaryArray(SoInput *,double *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_eof(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_eof",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_eof" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)((SoInput const *)arg1)->eof(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isFileVRML1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isFileVRML1",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isFileVRML1" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isFileVRML1(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_isFileVRML2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_isFileVRML2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_isFileVRML2" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - result = (SbBool)(arg1)->isFileVRML2(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_resetFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_resetFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_resetFilePointer" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->resetFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getLocationString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getLocationString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getLocationString" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - ((SoInput const *)arg1)->getLocationString(*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_putBack",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_putBack" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInput_putBack" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->putBack(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_putBack",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_putBack" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_putBack" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->putBack((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_putBack(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_putBack__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_putBack__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_putBack'.\n Possible C/C++ prototypes are:\n"" putBack(SoInput *,char const)\n"" putBack(SoInput *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInput_addReference" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->addReference((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->addReference((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addReference__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoBase, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInput_addReference__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addReference'.\n Possible C/C++ prototypes are:\n"" addReference(SoInput *,SbName const &,SoBase *,SbBool)\n"" addReference(SoInput *,SbName const &,SoBase *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_removeReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_removeReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_removeReference" "', argument " "1"" of type '" "SoInput *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->removeReference((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) 0 ; - SbName *arg2 = 0 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_findReference" "', argument " "1"" of type '" "SoInput const *""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoBase *)((SoInput const *)arg1)->findReference((SbName const &)*arg2); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addDirectoryFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addDirectoryFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addDirectoryFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addDirectoryFirst((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addDirectoryLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addDirectoryLast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addDirectoryLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addDirectoryLast((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesFirst",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoInput::addEnvDirectoriesFirst((char const *)arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesFirst" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addEnvDirectoriesFirst((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesFirst(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesFirst__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesFirst__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addEnvDirectoriesFirst'.\n Possible C/C++ prototypes are:\n"" addEnvDirectoriesFirst(char const *,char const *)\n"" SoInput::addEnvDirectoriesFirst(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesLast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoInput::addEnvDirectoriesLast((char const *)arg1,(char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_addEnvDirectoriesLast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_addEnvDirectoriesLast" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::addEnvDirectoriesLast((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_addEnvDirectoriesLast(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesLast__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_addEnvDirectoriesLast__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_addEnvDirectoriesLast'.\n Possible C/C++ prototypes are:\n"" addEnvDirectoriesLast(char const *,char const *)\n"" SoInput::addEnvDirectoriesLast(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_removeDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_removeDirectory",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_removeDirectory" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoInput::removeDirectory((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_clearDirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_clearDirectories",0,0)) SWIG_fail; - SoInput::clearDirectories(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getDirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getDirectories",0,0)) SWIG_fail; - { - SbStringList const &_result_ref = SoInput::getDirectories(); - result = (SbStringList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_init",0,0)) SWIG_fail; - SoInput::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - SbString result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getPathname",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getPathname" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SoInput::getPathname((char const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString result; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getPathname",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = SoInput::getPathname((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getPathname(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_getPathname__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_getPathname__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_getPathname'.\n Possible C/C++ prototypes are:\n"" getPathname(char const *const)\n"" SoInput::getPathname(SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - SbString result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getBasename",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInput_getBasename" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = SoInput::getBasename((char const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString result; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_getBasename",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = SoInput::getBasename((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_getBasename(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInput_getBasename__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInput_getBasename__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInput_getBasename'.\n Possible C/C++ prototypes are:\n"" getBasename(char const *const)\n"" SoInput::getBasename(SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInput_searchForFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbStringList *arg2 = 0 ; - SbStringList *arg3 = 0 ; - SbString result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInput_searchForFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInput_searchForFile" "', argument " "2"" of type '" "SbStringList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_searchForFile" "', argument " "2"" of type '" "SbStringList const &""'"); - } - arg2 = reinterpret_cast< SbStringList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInput_searchForFile" "', argument " "3"" of type '" "SbStringList const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInput_searchForFile" "', argument " "3"" of type '" "SbStringList const &""'"); - } - arg3 = reinterpret_cast< SbStringList * >(argp3); - result = SoInput::searchForFile((SbString const &)*arg1,(SbStringList const &)*arg2,(SbStringList const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoInput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOutput",0,0)) SWIG_fail; - result = (SoOutput *)new SoOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOutput" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoOutput *)new SoOutput(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoOutput__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOutput__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoOutput'.\n Possible C/C++ prototypes are:\n"" SoOutput()\n"" SoOutput(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOutput" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setFilePointer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setFilePointer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->setFilePointer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - FILE *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getFilePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getFilePointer" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (FILE *)((SoOutput const *)arg1)->getFilePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_openFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_openFile" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_openFile" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_closeFile" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompression",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompression" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setCompression" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)(arg1)->setCompression((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompression",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompression" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->setCompression((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompression(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_setCompression__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_setCompression__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_setCompression'.\n Possible C/C++ prototypes are:\n"" setCompression(SoOutput *,SbName const &,float const)\n"" setCompression(SoOutput *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getAvailableCompressionMethods(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int *arg1 = 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getAvailableCompressionMethods",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getAvailableCompressionMethods" "', argument " "1"" of type '" "unsigned int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getAvailableCompressionMethods" "', argument " "1"" of type '" "unsigned int &""'"); - } - arg1 = reinterpret_cast< unsigned int * >(argp1); - result = (SbName *)SoOutput::getAvailableCompressionMethods(*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - SoOutputReallocCB *arg4 = (SoOutputReallocCB *) 0 ; - int32_t arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBuffer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setBuffer" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setBuffer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_size_t__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoOutput_setBuffer" "', argument " "4"" of type '" "SoOutputReallocCB *""'"); - } - } - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoOutput_setBuffer" "', argument " "5"" of type '" "int32_t""'"); - } - arg5 = static_cast< int32_t >(val5); - (arg1)->setBuffer(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - SoOutputReallocCB *arg4 = (SoOutputReallocCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBuffer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setBuffer" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setBuffer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_size_t__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoOutput_setBuffer" "', argument " "4"" of type '" "SoOutputReallocCB *""'"); - } - } - (arg1)->setBuffer(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_size_t(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_size_t__p_void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_setBuffer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_size_t(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_size_t__p_void); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_setBuffer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_setBuffer'.\n Possible C/C++ prototypes are:\n"" setBuffer(SoOutput *,void *,size_t,SoOutputReallocCB *,int32_t)\n"" setBuffer(SoOutput *,void *,size_t,SoOutputReallocCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void **arg2 = 0 ; - size_t *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getBuffer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getBuffer" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_getBuffer" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getBuffer" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_size_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOutput_getBuffer" "', argument " "3"" of type '" "size_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOutput_getBuffer" "', argument " "3"" of type '" "size_t &""'"); - } - arg3 = reinterpret_cast< size_t * >(argp3); - result = (SbBool)((SoOutput const *)arg1)->getBuffer(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - size_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getBufferSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getBufferSize" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = ((SoOutput const *)arg1)->getBufferSize(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resetBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resetBuffer" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resetBuffer(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setBinary",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setBinary" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setBinary" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBinary(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_isBinary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_isBinary",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_isBinary" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SbBool)((SoOutput const *)arg1)->isBinary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setHeaderString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setHeaderString" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setHeaderString((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resetHeaderString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resetHeaderString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resetHeaderString" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resetHeaderString(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setFloatPrecision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setFloatPrecision",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setFloatPrecision" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setFloatPrecision" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFloatPrecision(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setStage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoOutput::Stage arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setStage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setStage" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setStage" "', argument " "2"" of type '" "SoOutput::Stage""'"); - } - arg2 = static_cast< SoOutput::Stage >(val2); - (arg1)->setStage(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getStage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoOutput::Stage result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getStage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getStage" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoOutput::Stage)((SoOutput const *)arg1)->getStage(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_incrementIndent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_incrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_incrementIndent" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->incrementIndent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_incrementIndent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_incrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->incrementIndent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_incrementIndent(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_incrementIndent__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_incrementIndent__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_incrementIndent'.\n Possible C/C++ prototypes are:\n"" incrementIndent(SoOutput *,int const)\n"" incrementIndent(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_decrementIndent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_decrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_decrementIndent" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->decrementIndent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_decrementIndent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_decrementIndent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->decrementIndent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_decrementIndent(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_decrementIndent__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_decrementIndent__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_decrementIndent'.\n Possible C/C++ prototypes are:\n"" decrementIndent(SoOutput *,int const)\n"" decrementIndent(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->write((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->write((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->write((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_write" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_write" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_write(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_7(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_8(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_9(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_write__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOutput_write__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_write__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOutput_write__SWIG_3(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_write'.\n Possible C/C++ prototypes are:\n"" write(SoOutput *,char const)\n"" write(SoOutput *,char const *)\n"" write(SoOutput *,SbString const &)\n"" write(SoOutput *,SbName const &)\n"" write(SoOutput *,int const)\n"" write(SoOutput *,unsigned int const)\n"" write(SoOutput *,short const)\n"" write(SoOutput *,unsigned short const)\n"" write(SoOutput *,float const)\n"" write(SoOutput *,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((unsigned char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - int32_t *arg2 = (int32_t *) (int32_t *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "int32_t const *const""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((int32_t const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - float *arg2 = (float *) (float *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "float const *const""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((float const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - double *arg2 = (double *) (double *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_writeBinaryArray",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_writeBinaryArray" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_writeBinaryArray" "', argument " "2"" of type '" "double const *const""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_writeBinaryArray" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->writeBinaryArray((double const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_writeBinaryArray(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOutput_writeBinaryArray__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOutput_writeBinaryArray'.\n Possible C/C++ prototypes are:\n"" writeBinaryArray(SoOutput *,unsigned char const *,int const)\n"" writeBinaryArray(SoOutput *,int32_t const *const,int const)\n"" writeBinaryArray(SoOutput *,float const *const,int const)\n"" writeBinaryArray(SoOutput *,double const *const,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_indent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_indent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_indent" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->indent(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_reset" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setCompact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setCompact",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setCompact" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setCompact" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCompact(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_isCompact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_isCompact",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_isCompact" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SbBool)((SoOutput const *)arg1)->isCompact(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setAnnotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setAnnotation" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOutput_setAnnotation" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setAnnotation(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getAnnotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getAnnotation" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (uint32_t)(arg1)->getAnnotation(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getDefaultASCIIHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getDefaultASCIIHeader",0,0)) SWIG_fail; - result = SoOutput::getDefaultASCIIHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getDefaultBinaryHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getDefaultBinaryHeader",0,0)) SWIG_fail; - result = SoOutput::getDefaultBinaryHeader(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addReference" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_addReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (int)(arg1)->addReference((SoBase const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_findReference" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_findReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (int)((SoOutput const *)arg1)->findReference((SoBase const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_setReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_setReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_setReference" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_setReference" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOutput_setReference" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setReference((SoBase const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->addDEFNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_lookupDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_lookupDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_lookupDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - result = (SbBool)(arg1)->lookupDEFNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_removeDEFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_removeDEFNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_removeDEFNode" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->removeDEFNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_pushProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoProto *arg2 = (SoProto *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_pushProto",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_pushProto" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_pushProto" "', argument " "2"" of type '" "SoProto *""'"); - } - arg2 = reinterpret_cast< SoProto * >(argp2); - (arg1)->pushProto(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_getCurrentProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoProto *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_getCurrentProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_getCurrentProto" "', argument " "1"" of type '" "SoOutput const *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoProto *)((SoOutput const *)arg1)->getCurrentProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_popProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_popProto",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_popProto" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->popProto(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - SoFieldContainer *arg4 = (SoFieldContainer *) 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_addRoute" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOutput_addRoute" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoOutput_addRoute" "', argument " "4"" of type '" "SoFieldContainer *""'"); - } - arg4 = reinterpret_cast< SoFieldContainer * >(argp4); - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute(arg2,(SbName const &)*arg3,arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOutput_resolveRoutes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOutput_resolveRoutes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOutput_resolveRoutes" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - (arg1)->resolveRoutes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFEnum",0,0)) SWIG_fail; - result = (SoSFEnum *)new SoSFEnum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFEnum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFEnum" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFEnum::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getClassTypeId",0,0)) SWIG_fail; - result = SoSFEnum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getTypeId" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = ((SoSFEnum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_copyFrom" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_isSame" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFEnum const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getValue" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = (int)((SoSFEnum const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_setValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum___eq__" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum___eq__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum___eq__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - result = (int)((SoSFEnum const *)arg1)->operator ==((SoSFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum___ne__" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum___ne__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEnum___ne__" "', argument " "2"" of type '" "SoSFEnum const &""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - result = (int)((SoSFEnum const *)arg1)->operator !=((SoSFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_initClass",0,0)) SWIG_fail; - SoSFEnum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - SbName *arg4 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setEnums",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setEnums" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_setEnums" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFEnum_setEnums" "', argument " "3"" of type '" "int const *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFEnum_setEnums" "', argument " "4"" of type '" "SbName const *""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setEnums(arg2,(int const *)arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getNumEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getNumEnums",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getNumEnums" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - result = (int)((SoSFEnum const *)arg1)->getNumEnums(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_getEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_getEnum",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_getEnum" "', argument " "1"" of type '" "SoSFEnum const *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEnum_getEnum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (int)((SoSFEnum const *)arg1)->getEnum(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEnum *arg1 = (SoSFEnum *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEnum_setValue" "', argument " "1"" of type '" "SoSFEnum *""'"); - } - arg1 = reinterpret_cast< SoSFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEnum_setValue" "', argument " "2"" of type '" "SoSFEnum const *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - SoSFEnum_setValue__SWIG_2(arg1,(SoSFEnum const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEnum_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFEnum_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFEnum_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFEnum *,int)\n"" setValue(SoSFEnum *,SbName const)\n"" setValue(SoSFEnum *,SoSFEnum const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFEnum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFEnum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFFloat",0,0)) SWIG_fail; - result = (SoSFFloat *)new SoSFFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFFloat",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFFloat" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoSFFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_getTypeId" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - result = ((SoSFFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_copyFrom" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_isSame" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFFloat const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_getValue" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - result = (float)((SoSFFloat const *)arg1)->getValue(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_setValue" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFFloat_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat___eq__" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat___eq__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat___eq__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - result = (int)((SoSFFloat const *)arg1)->operator ==((SoSFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat___ne__" "', argument " "1"" of type '" "SoSFFloat const *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat___ne__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFFloat___ne__" "', argument " "2"" of type '" "SoSFFloat const &""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - result = (int)((SoSFFloat const *)arg1)->operator !=((SoSFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_initClass",0,0)) SWIG_fail; - SoSFFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFFloat *arg1 = (SoSFFloat *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFFloat_setValue" "', argument " "1"" of type '" "SoSFFloat *""'"); - } - arg1 = reinterpret_cast< SoSFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFFloat_setValue" "', argument " "2"" of type '" "SoSFFloat const *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - SoSFFloat_setValue__SWIG_1(arg1,(SoSFFloat const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFFloat_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFFloat_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFFloat_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFFloat_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFFloat *,float)\n"" setValue(SoSFFloat *,SoSFFloat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexityTypeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoComplexityTypeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoComplexityTypeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_initClass",0,0)) SWIG_fail; - SoComplexityTypeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityTypeElement *arg1 = (SoComplexityTypeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexityTypeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_init" "', argument " "1"" of type '" "SoComplexityTypeElement *""'"); - } - arg1 = reinterpret_cast< SoComplexityTypeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityTypeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoComplexityTypeElement::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityTypeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoComplexityTypeElement_set" "', argument " "3"" of type '" "SoComplexityTypeElement::Type""'"); - } - arg3 = static_cast< SoComplexityTypeElement::Type >(val3); - SoComplexityTypeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoComplexityTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoComplexityTypeElement_set" "', argument " "2"" of type '" "SoComplexityTypeElement::Type""'"); - } - arg2 = static_cast< SoComplexityTypeElement::Type >(val2); - SoComplexityTypeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityTypeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityTypeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoComplexityTypeElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoComplexityTypeElement::Type const)\n"" SoComplexityTypeElement::set(SoState *const,SoComplexityTypeElement::Type const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoComplexityTypeElement::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityTypeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoComplexityTypeElement::Type)SoComplexityTypeElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityTypeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityTypeElement::Type result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityTypeElement_getDefault",0,0)) SWIG_fail; - result = (SoComplexityTypeElement::Type)SoComplexityTypeElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexityTypeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexityTypeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexity_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexity::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getTypeId" "', argument " "1"" of type '" "SoComplexity const *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = ((SoComplexity const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_initClass",0,0)) SWIG_fail; - SoComplexity::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComplexity",0,0)) SWIG_fail; - result = (SoComplexity *)new SoComplexity(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComplexity, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_type_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_type_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->type = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_type_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFEnum *)& ((arg1)->type); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_value_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_value_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->value = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_value_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFFloat *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_textureQuality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_textureQuality_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_textureQuality_set" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_textureQuality_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->textureQuality = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_textureQuality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_textureQuality_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_textureQuality_get" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - result = (SoSFFloat *)& ((arg1)->textureQuality); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_doAction" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_callback" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getBoundingBox" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_GLRender" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_pick" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexity_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexity *arg1 = (SoComplexity *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexity_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexity, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexity_getPrimitiveCount" "', argument " "1"" of type '" "SoComplexity *""'"); - } - arg1 = reinterpret_cast< SoComplexity * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexity_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexity_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexity, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDrawStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDrawStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDrawStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_initClass",0,0)) SWIG_fail; - SoDrawStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyleElement *arg1 = (SoDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_init" "', argument " "1"" of type '" "SoDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoDrawStyleElement::Style arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDrawStyleElement_set" "', argument " "3"" of type '" "SoDrawStyleElement::Style""'"); - } - arg3 = static_cast< SoDrawStyleElement::Style >(val3); - SoDrawStyleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDrawStyleElement::Style arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDrawStyleElement_set" "', argument " "2"" of type '" "SoDrawStyleElement::Style""'"); - } - arg2 = static_cast< SoDrawStyleElement::Style >(val2); - SoDrawStyleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDrawStyleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDrawStyleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDrawStyleElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoDrawStyleElement::Style const)\n"" SoDrawStyleElement::set(SoState *const,SoDrawStyleElement::Style const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoDrawStyleElement::Style result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDrawStyleElement::Style)SoDrawStyleElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyleElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyleElement_getDefault",0,0)) SWIG_fail; - result = (SoDrawStyleElement::Style)SoDrawStyleElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDrawStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDrawStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFUShort",0,0)) SWIG_fail; - result = (SoSFUShort *)new SoSFUShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFUShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFUShort" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFUShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getClassTypeId",0,0)) SWIG_fail; - result = SoSFUShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_getTypeId" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - result = ((SoSFUShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_copyFrom" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_isSame" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFUShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - unsigned short result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_getValue" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - result = (unsigned short)((SoSFUShort const *)arg1)->getValue(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_setValue" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFUShort_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort___eq__" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort___eq__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort___eq__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - result = (int)((SoSFUShort const *)arg1)->operator ==((SoSFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort___ne__" "', argument " "1"" of type '" "SoSFUShort const *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort___ne__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUShort___ne__" "', argument " "2"" of type '" "SoSFUShort const &""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - result = (int)((SoSFUShort const *)arg1)->operator !=((SoSFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_initClass",0,0)) SWIG_fail; - SoSFUShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUShort *arg1 = (SoSFUShort *) 0 ; - SoSFUShort *arg2 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUShort_setValue" "', argument " "1"" of type '" "SoSFUShort *""'"); - } - arg1 = reinterpret_cast< SoSFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUShort_setValue" "', argument " "2"" of type '" "SoSFUShort const *""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - SoSFUShort_setValue__SWIG_1(arg1,(SoSFUShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFUShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFUShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFUShort_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFUShort *,unsigned short)\n"" setValue(SoSFUShort *,SoSFUShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFUShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFUShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDrawStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoDrawStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_getTypeId" "', argument " "1"" of type '" "SoDrawStyle const *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = ((SoDrawStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_initClass",0,0)) SWIG_fail; - SoDrawStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDrawStyle",0,0)) SWIG_fail; - result = (SoDrawStyle *)new SoDrawStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDrawStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_style_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_style_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_pointSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_pointSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_pointSize_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_pointSize_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->pointSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_pointSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_pointSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_pointSize_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->pointSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_lineWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_lineWidth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_lineWidth_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_lineWidth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->lineWidth = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_lineWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_lineWidth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_lineWidth_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->lineWidth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePattern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFUShort *arg2 = (SoSFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePattern_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePattern_set" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_linePattern_set" "', argument " "2"" of type '" "SoSFUShort *""'"); - } - arg2 = reinterpret_cast< SoSFUShort * >(argp2); - if (arg1) (arg1)->linePattern = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_linePattern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoSFUShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_linePattern_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_linePattern_get" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - result = (SoSFUShort *)& ((arg1)->linePattern); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_doAction" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_GLRender" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDrawStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDrawStyle *arg1 = (SoDrawStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDrawStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDrawStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDrawStyle_callback" "', argument " "1"" of type '" "SoDrawStyle *""'"); - } - arg1 = reinterpret_cast< SoDrawStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDrawStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDrawStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDrawStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",0,0)) SWIG_fail; - result = (SbVec3f *)new SbVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - SbVec3f *result = 0 ; - float temp1[3] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3f *)new SbVec3f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - SbVec3f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbVec3f *)new SbVec3f(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - SbPlane *arg2 = 0 ; - SbPlane *arg3 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbVec3f" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbVec3f" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - result = (SbVec3f *)new SbVec3f((SbPlane const &)*arg1,(SbPlane const &)*arg2,(SbPlane const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3f" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (SbVec3f *)new SbVec3f((SbVec3d const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3f__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3f__SWIG_3(self, args); - } - } - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3f__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3f'.\n Possible C/C++ prototypes are:\n"" SbVec3f()\n"" SbVec3f(float const [3])\n"" SbVec3f(float const,float const,float const)\n"" SbVec3f(SbPlane const &,SbPlane const &,SbPlane const &)\n"" SbVec3f(SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_cross(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_cross",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_cross" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_cross" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_cross" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbVec3f const *)arg1)->cross((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_dot" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_dot" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_dot" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (float)((SbVec3f const *)arg1)->dot((SbVec3f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_equals" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_equals" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_equals" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec3f const *)arg1)->equals((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_getClosestAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_getClosestAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_getClosestAxis" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = ((SbVec3f const *)arg1)->getClosestAxis(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_getValue" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float *)((SbVec3f const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_length" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)((SbVec3f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_sqrLength" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)((SbVec3f const *)arg1)->sqrLength(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_negate" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_normalize" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float *arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbVec3f &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec3f_setValue" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_setValue" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3f &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec3f *,float const [3])\n"" setValue(SbVec3f *,float const,float const,float const)\n"" setValue(SbVec3f *,SbVec3f const &,SbVec3f const &,SbVec3f const &,SbVec3f const &)\n"" setValue(SbVec3f *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___imul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec3f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___idiv__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec3f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___iadd__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___iadd__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___iadd__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3f &_result_ref = (arg1)->operator +=((SbVec3f const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___isub__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___isub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___isub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3f &_result_ref = (arg1)->operator -=((SbVec3f const &)*arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___neg__" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = ((SbVec3f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f_output" "', argument " "1"" of type '" "SbVec3f const *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___add__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___add__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___add__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbVec3f___add__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___sub__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___sub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___sub__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbVec3f___sub__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___mul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbMatrix *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___mul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbVec3f___mul____SWIG_1(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3f___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3f___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___rmul__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - float arg2 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___div__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec3f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___eq__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___eq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___eq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)SbVec3f___eq__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___nq__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3f___nq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3f___nq__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)SbVec3f___nq__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___getitem__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec3f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3f___setitem__" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec3f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3f" "', argument " "1"" of type '" "SbVec3f *""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",0,0)) SWIG_fail; - result = (SbColor *)new SbColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbColor *)new SbColor((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) (float *)0 ; - SbColor *result = 0 ; - float temp1[3] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbColor *)new SbColor((float const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - SbColor *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbColor *)new SbColor(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbColor__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbColor__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbColor__SWIG_2(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbColor'.\n Possible C/C++ prototypes are:\n"" SbColor()\n"" SbColor(SbVec3f const &)\n"" SbColor(float const *const)\n"" SbColor(float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setHSVValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbColor &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float *arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setHSVValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbColor &_result_ref = (arg1)->setHSVValue((float const (*))arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor_setHSVValue'.\n Possible C/C++ prototypes are:\n"" setHSVValue(SbColor *,float,float,float)\n"" setHSVValue(SbColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getHSVValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getHSVValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getHSVValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ((SbColor const *)arg1)->getHSVValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_setPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - uint32_t arg2 ; - float *arg3 = 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_setPackedValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_setPackedValue" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_setPackedValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbColor_setPackedValue" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor_setPackedValue" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - { - SbColor &_result_ref = (arg1)->setPackedValue(arg2,*arg3); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getPackedValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getPackedValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor_getPackedValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (uint32_t)((SbColor const *)arg1)->getPackedValue(arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor_getPackedValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor_getPackedValue" "', argument " "1"" of type '" "SbColor const *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - result = (uint32_t)((SbColor const *)arg1)->getPackedValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor_getPackedValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbColor_getPackedValue__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor_getPackedValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor_getPackedValue'.\n Possible C/C++ prototypes are:\n"" getPackedValue(SbColor const *,float const)\n"" getPackedValue(SbColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - SbColor result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___add__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___add__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___add__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = SbColor___add__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - SbColor result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___sub__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___sub__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___sub__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = SbColor___sub__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - SbColor result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___mul__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - SbColor result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___rmul__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - float arg2 ; - SbColor result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___div__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___eq__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___eq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___eq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)SbColor___eq__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - SbColor *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___nq__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor___nq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor___nq__" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)SbColor___nq__(arg1,(SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___getitem__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbColor___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor___setitem__" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbColor___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbColor" "', argument " "1"" of type '" "SbColor *""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLazyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLazyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLazyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLazyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_initClass",0,0)) SWIG_fail; - SoLazyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_init" "', argument " "1"" of type '" "SoLazyElement *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_push" "', argument " "1"" of type '" "SoLazyElement *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_matches" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLazyElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_copyMatchInfo" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SoElement *)((SoLazyElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setDiffuse",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setDiffuse" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setDiffuse" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setDiffuse" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setDiffuse" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - SoLazyElement::setDiffuse(arg1,arg2,arg3,(SbColor const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - float *arg4 = (float *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTransparency",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setTransparency" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setTransparency" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setTransparency" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setTransparency" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - SoLazyElement::setTransparency(arg1,arg2,arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setColorIndices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setColorIndices" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setColorIndices" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setColorIndices" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setColorIndices" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - SoLazyElement::setColorIndices(arg1,arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setAmbient",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setAmbient" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setAmbient" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setAmbient(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setEmissive",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setEmissive" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setEmissive" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setEmissive(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setSpecular",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setSpecular" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setSpecular" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - SoLazyElement::setSpecular(arg1,(SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setShininess",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setShininess" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setShininess" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoLazyElement::setShininess(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setColorMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setColorMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setColorMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setColorMaterial" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setColorMaterial(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_enableBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_enableBlending",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_enableBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_enableBlending" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_enableBlending" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoLazyElement::enableBlending(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_disableBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_disableBlending",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_disableBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLazyElement::disableBlending(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLazyElement::setLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setVertexOrdering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setVertexOrdering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setVertexOrdering" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - SoLazyElement::setVertexOrdering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setBackfaceCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setBackfaceCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setBackfaceCulling" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setBackfaceCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setBackfaceCulling(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTwosideLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTwosideLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTwosideLighting" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setTwosideLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setTwosideLighting(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setShadeModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setShadeModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setShadeModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setShadeModel" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setShadeModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setGLImageId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setGLImageId",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setGLImageId" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setGLImageId" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setGLImageId" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoLazyElement::setGLImageId(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setAlphaTest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setAlphaTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setAlphaTest" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoLazyElement::setAlphaTest(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDiffuse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getDiffuse" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoLazyElement::getDiffuse(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getTransparency" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getTransparency" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SoLazyElement::getTransparency(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getPackedColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getPackedColors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getPackedColors" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (uint32_t *)SoLazyElement::getPackedColors(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndices" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t *)SoLazyElement::getColorIndices(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndex" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_getColorIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int32_t)SoLazyElement::getColorIndex(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getAmbient",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getAmbient" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getAmbient(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getEmissive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getEmissive" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getEmissive(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getSpecular",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getSpecular" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoLazyElement::getSpecular(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getShininess",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getShininess" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoLazyElement::getShininess(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoLazyElement::getColorMaterial(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getBlending(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getBlending",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getBlending" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_getBlending" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getBlending" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLazyElement_getBlending" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_getBlending" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)SoLazyElement::getBlending(arg1,*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getLightModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoLazyElement::getLightModel(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getAlphaTest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getAlphaTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoLazyElement::getAlphaTest(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumDiffuse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumDiffuse" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (int32_t)((SoLazyElement const *)arg1)->getNumDiffuse(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumTransparencies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumTransparencies",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumTransparencies" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (int32_t)((SoLazyElement const *)arg1)->getNumTransparencies(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getNumColorIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getNumColorIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getNumColorIndices" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (int32_t)((SoLazyElement const *)arg1)->getNumColorIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_isPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_isPacked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_isPacked" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbBool)((SoLazyElement const *)arg1)->isPacked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_isTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_isTransparent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_isTransparent" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbBool)((SoLazyElement const *)arg1)->isTransparent(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLazyElement *)SoLazyElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultAmbientIntensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultAmbientIntensity",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultAmbientIntensity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultDiffuse",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultDiffuse(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultAmbient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultAmbient",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultAmbient(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultSpecular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultSpecular",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultSpecular(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultEmissive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultEmissive",0,0)) SWIG_fail; - result = SoLazyElement::getDefaultEmissive(); - resultobj = SWIG_NewPointerObj((new SbColor(static_cast< const SbColor& >(result))), SWIGTYPE_p_SbColor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultShininess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultShininess",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultShininess(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultPacked",0,0)) SWIG_fail; - result = (uint32_t)SoLazyElement::getDefaultPacked(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultTransparency",0,0)) SWIG_fail; - result = (float)SoLazyElement::getDefaultTransparency(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultLightModel",0,0)) SWIG_fail; - result = (int32_t)SoLazyElement::getDefaultLightModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDefaultColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDefaultColorIndex",0,0)) SWIG_fail; - result = (int32_t)SoLazyElement::getDefaultColorIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setMaterials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - uint32_t arg3 ; - SoColorPacker *arg4 = (SoColorPacker *) 0 ; - SbColor *arg5 = (SbColor *) 0 ; - int arg6 ; - float *arg7 = (float *) 0 ; - int arg8 ; - SbColor *arg9 = 0 ; - SbColor *arg10 = 0 ; - SbColor *arg11 = 0 ; - float arg12 ; - SbBool arg13 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - float val12 ; - int ecode12 = 0 ; - int val13 ; - int ecode13 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setMaterials",13,13,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setMaterials" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLazyElement_setMaterials" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLazyElement_setMaterials" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLazyElement_setMaterials" "', argument " "4"" of type '" "SoColorPacker *""'"); - } - arg4 = reinterpret_cast< SoColorPacker * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLazyElement_setMaterials" "', argument " "5"" of type '" "SbColor const *""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoLazyElement_setMaterials" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoLazyElement_setMaterials" "', argument " "7"" of type '" "float const *""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoLazyElement_setMaterials" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoLazyElement_setMaterials" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoLazyElement_setMaterials" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoLazyElement_setMaterials" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLazyElement_setMaterials" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoLazyElement_setMaterials" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_int(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoLazyElement_setMaterials" "', argument " "13"" of type '" "SbBool""'"); - } - arg13 = static_cast< SbBool >(val13); - SoLazyElement::setMaterials(arg1,arg2,arg3,arg4,(SbColor const *)arg5,arg6,(float const *)arg7,arg8,(SbColor const &)*arg9,(SbColor const &)*arg10,(SbColor const &)*arg11,arg12,arg13); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getWInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getWInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getWInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLazyElement *)SoLazyElement::getWInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getPackedPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getPackedPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getPackedPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (uint32_t *)((SoLazyElement const *)arg1)->getPackedPointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getDiffusePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getDiffusePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getDiffusePointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (SbColor *)((SoLazyElement const *)arg1)->getDiffusePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getColorIndexPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getColorIndexPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getColorIndexPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (int32_t *)((SoLazyElement const *)arg1)->getColorIndexPointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_getTransparencyPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLazyElement *arg1 = (SoLazyElement *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_getTransparencyPointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_getTransparencyPointer" "', argument " "1"" of type '" "SoLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoLazyElement * >(argp1); - result = (float *)((SoLazyElement const *)arg1)->getTransparencyPointer(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLazyElement_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLazyElement_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLazyElement_setTransparencyType" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLazyElement_setTransparencyType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLazyElement::setTransparencyType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLazyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLazyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoColorPacker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoColorPacker",0,0)) SWIG_fail; - result = (SoColorPacker *)new SoColorPacker(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoColorPacker, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoColorPacker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoColorPacker",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoColorPacker" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getPackedColors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getPackedColors",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getPackedColors" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = (uint32_t *)((SoColorPacker const *)arg1)->getPackedColors(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_diffuseMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_diffuseMatch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_diffuseMatch" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_diffuseMatch" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SbBool)((SoColorPacker const *)arg1)->diffuseMatch(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_transpMatch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_transpMatch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_transpMatch" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_transpMatch" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SbBool)((SoColorPacker const *)arg1)->transpMatch(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_setNodeIds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_setNodeIds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_setNodeIds" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_setNodeIds" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoColorPacker_setNodeIds" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->setNodeIds(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_getSize" "', argument " "1"" of type '" "SoColorPacker const *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - result = (int32_t)((SoColorPacker const *)arg1)->getSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorPacker_reallocate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorPacker *arg1 = (SoColorPacker *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorPacker_reallocate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorPacker_reallocate" "', argument " "1"" of type '" "SoColorPacker *""'"); - } - arg1 = reinterpret_cast< SoColorPacker * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoColorPacker_reallocate" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->reallocate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoColorPacker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoColorPacker, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightModel_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_getClassTypeId",0,0)) SWIG_fail; - result = SoLightModel::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_getTypeId" "', argument " "1"" of type '" "SoLightModel const *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - result = ((SoLightModel const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_initClass",0,0)) SWIG_fail; - SoLightModel::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightModel",0,0)) SWIG_fail; - result = (SoLightModel *)new SoLightModel(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightModel, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_model_set" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_model_get" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_doAction" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_GLRender" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModel_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModel *arg1 = (SoLightModel *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModel_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModel_callback" "', argument " "1"" of type '" "SoLightModel *""'"); - } - arg1 = reinterpret_cast< SoLightModel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModel_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightModel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightModel, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterialBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMaterialBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMaterialBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_initClass",0,0)) SWIG_fail; - SoMaterialBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBindingElement *arg1 = (SoMaterialBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_init" "', argument " "1"" of type '" "SoMaterialBindingElement *""'"); - } - arg1 = reinterpret_cast< SoMaterialBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoMaterialBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMaterialBindingElement_set" "', argument " "3"" of type '" "SoMaterialBindingElement::Binding""'"); - } - arg3 = static_cast< SoMaterialBindingElement::Binding >(val3); - SoMaterialBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoMaterialBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBindingElement_set" "', argument " "2"" of type '" "SoMaterialBindingElement::Binding""'"); - } - arg2 = static_cast< SoMaterialBindingElement::Binding >(val2); - SoMaterialBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMaterialBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMaterialBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMaterialBindingElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoMaterialBindingElement::Binding const)\n"" SoMaterialBindingElement::set(SoState *const,SoMaterialBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoMaterialBindingElement::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoMaterialBindingElement::Binding)SoMaterialBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoMaterialBindingElement::Binding)SoMaterialBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterialBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_getTypeId" "', argument " "1"" of type '" "SoMaterialBinding const *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - result = ((SoMaterialBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_initClass",0,0)) SWIG_fail; - SoMaterialBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMaterialBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterialBinding",0,0)) SWIG_fail; - result = (SoMaterialBinding *)new SoMaterialBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterialBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_value_set" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_value_get" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_doAction" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_GLRender" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_callback" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_pick" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBinding_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBinding *arg1 = (SoMaterialBinding *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBinding_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBinding_getPrimitiveCount" "', argument " "1"" of type '" "SoMaterialBinding *""'"); - } - arg1 = reinterpret_cast< SoMaterialBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterialBinding_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoNormalBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoNormalBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_initClass",0,0)) SWIG_fail; - SoNormalBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBindingElement *arg1 = (SoNormalBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_init" "', argument " "1"" of type '" "SoNormalBindingElement *""'"); - } - arg1 = reinterpret_cast< SoNormalBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoNormalBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalBindingElement_set" "', argument " "3"" of type '" "SoNormalBindingElement::Binding""'"); - } - arg3 = static_cast< SoNormalBindingElement::Binding >(val3); - SoNormalBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNormalBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalBindingElement_set" "', argument " "2"" of type '" "SoNormalBindingElement::Binding""'"); - } - arg2 = static_cast< SoNormalBindingElement::Binding >(val2); - SoNormalBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalBindingElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoNormalBindingElement::Binding const)\n"" SoNormalBindingElement::set(SoState *const,SoNormalBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNormalBindingElement::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalBindingElement::Binding)SoNormalBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoNormalBindingElement::Binding)SoNormalBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_getTypeId" "', argument " "1"" of type '" "SoNormalBinding const *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - result = ((SoNormalBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_initClass",0,0)) SWIG_fail; - SoNormalBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalBinding",0,0)) SWIG_fail; - result = (SoNormalBinding *)new SoNormalBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_value_set" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_value_get" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_doAction" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_GLRender" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_callback" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_pick" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBinding_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBinding *arg1 = (SoNormalBinding *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBinding_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBinding_getPrimitiveCount" "', argument " "1"" of type '" "SoNormalBinding *""'"); - } - arg1 = reinterpret_cast< SoNormalBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBinding_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPickStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPickStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPickStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_initClass",0,0)) SWIG_fail; - SoPickStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyleElement *arg1 = (SoPickStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_init" "', argument " "1"" of type '" "SoPickStyleElement *""'"); - } - arg1 = reinterpret_cast< SoPickStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPickStyleElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoPickStyleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoPickStyleElement::Style arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickStyleElement_set" "', argument " "2"" of type '" "SoPickStyleElement::Style""'"); - } - arg2 = static_cast< SoPickStyleElement::Style >(val2); - SoPickStyleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickStyleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPickStyleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickStyleElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,int32_t const)\n"" SoPickStyleElement::set(SoState *const,SoPickStyleElement::Style const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoPickStyleElement::Style result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoPickStyleElement::Style)SoPickStyleElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyleElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyleElement::Style result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyleElement_getDefault",0,0)) SWIG_fail; - result = (SoPickStyleElement::Style)SoPickStyleElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoPickStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_getTypeId" "', argument " "1"" of type '" "SoPickStyle const *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - result = ((SoPickStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_initClass",0,0)) SWIG_fail; - SoPickStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickStyle",0,0)) SWIG_fail; - result = (SoPickStyle *)new SoPickStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_style_set" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_style_get" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_doAction" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_callback" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickStyle *arg1 = (SoPickStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickStyle_pick" "', argument " "1"" of type '" "SoPickStyle *""'"); - } - arg1 = reinterpret_cast< SoPickStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeHintsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShapeHintsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShapeHintsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_initClass",0,0)) SWIG_fail; - SoShapeHintsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_init" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_push" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_pop" "', argument " "1"" of type '" "SoShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeHintsElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_matches" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoShapeHintsElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_copyMatchInfo" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - result = (SoElement *)((SoShapeHintsElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoShapeHintsElement::VertexOrdering arg3 ; - SoShapeHintsElement::ShapeType arg4 ; - SoShapeHintsElement::FaceType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShapeHintsElement_set" "', argument " "3"" of type '" "SoShapeHintsElement::VertexOrdering""'"); - } - arg3 = static_cast< SoShapeHintsElement::VertexOrdering >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoShapeHintsElement_set" "', argument " "4"" of type '" "SoShapeHintsElement::ShapeType""'"); - } - arg4 = static_cast< SoShapeHintsElement::ShapeType >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoShapeHintsElement_set" "', argument " "5"" of type '" "SoShapeHintsElement::FaceType""'"); - } - arg5 = static_cast< SoShapeHintsElement::FaceType >(val5); - SoShapeHintsElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::VertexOrdering arg2 ; - SoShapeHintsElement::ShapeType arg3 ; - SoShapeHintsElement::FaceType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeHintsElement_set" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering""'"); - } - arg2 = static_cast< SoShapeHintsElement::VertexOrdering >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShapeHintsElement_set" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType""'"); - } - arg3 = static_cast< SoShapeHintsElement::ShapeType >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoShapeHintsElement_set" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType""'"); - } - arg4 = static_cast< SoShapeHintsElement::FaceType >(val4); - SoShapeHintsElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoShapeHintsElement_set__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoShapeHintsElement_set__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoShapeHintsElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoShapeHintsElement::VertexOrdering const,SoShapeHintsElement::ShapeType const,SoShapeHintsElement::FaceType const)\n"" SoShapeHintsElement::set(SoState *const,SoShapeHintsElement::VertexOrdering const,SoShapeHintsElement::ShapeType const,SoShapeHintsElement::FaceType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::VertexOrdering *arg2 = 0 ; - SoShapeHintsElement::ShapeType *arg3 = 0 ; - SoShapeHintsElement::FaceType *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoShapeHintsElement__VertexOrdering, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHintsElement_get" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "2"" of type '" "SoShapeHintsElement::VertexOrdering &""'"); - } - arg2 = reinterpret_cast< SoShapeHintsElement::VertexOrdering * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoShapeHintsElement__ShapeType, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeHintsElement_get" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "3"" of type '" "SoShapeHintsElement::ShapeType &""'"); - } - arg3 = reinterpret_cast< SoShapeHintsElement::ShapeType * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoShapeHintsElement__FaceType, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShapeHintsElement_get" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShapeHintsElement_get" "', argument " "4"" of type '" "SoShapeHintsElement::FaceType &""'"); - } - arg4 = reinterpret_cast< SoShapeHintsElement::FaceType * >(argp4); - SoShapeHintsElement::get(arg1,*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::VertexOrdering result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getVertexOrdering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getVertexOrdering" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::VertexOrdering)SoShapeHintsElement::getVertexOrdering(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::ShapeType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getShapeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getShapeType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::ShapeType)SoShapeHintsElement::getShapeType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeHintsElement::FaceType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getFaceType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_getFaceType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeHintsElement::FaceType)SoShapeHintsElement::getFaceType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::VertexOrdering result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultVertexOrdering",0,0)) SWIG_fail; - result = (SoShapeHintsElement::VertexOrdering)SoShapeHintsElement::getDefaultVertexOrdering(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::ShapeType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultShapeType",0,0)) SWIG_fail; - result = (SoShapeHintsElement::ShapeType)SoShapeHintsElement::getDefaultShapeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_getDefaultFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement::FaceType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_getDefaultFaceType",0,0)) SWIG_fail; - result = (SoShapeHintsElement::FaceType)SoShapeHintsElement::getDefaultFaceType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHintsElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHintsElement *arg1 = (SoShapeHintsElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHintsElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHintsElement_output" "', argument " "1"" of type '" "SoShapeHintsElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeHintsElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoShapeHintsElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeHintsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeHintsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeHints_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeHints::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_getTypeId" "', argument " "1"" of type '" "SoShapeHints const *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = ((SoShapeHints const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_initClass",0,0)) SWIG_fail; - SoShapeHints::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShapeHints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShapeHints",0,0)) SWIG_fail; - result = (SoShapeHints *)new SoShapeHints(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeHints, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_vertexOrdering_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_vertexOrdering_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_vertexOrdering_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_vertexOrdering_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->vertexOrdering = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_vertexOrdering_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_vertexOrdering_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_vertexOrdering_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->vertexOrdering); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_shapeType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_shapeType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_shapeType_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_shapeType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->shapeType = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_shapeType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_shapeType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_shapeType_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->shapeType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_faceType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_faceType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_faceType_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_faceType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->faceType = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_faceType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_faceType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_faceType_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFEnum *)& ((arg1)->faceType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_creaseAngle_set" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_creaseAngle_get" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_doAction" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_GLRender" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_callback" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_getBoundingBox" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeHints_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeHints *arg1 = (SoShapeHints *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeHints_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeHints, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeHints_pick" "', argument " "1"" of type '" "SoShapeHints *""'"); - } - arg1 = reinterpret_cast< SoShapeHints * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeHints_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeHints_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeHints, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFImage",0,0)) SWIG_fail; - result = (SoSFImage *)new SoSFImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFImage" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFImage::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getClassTypeId",0,0)) SWIG_fail; - result = SoSFImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getTypeId" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = ((SoSFImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_copyFrom" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_isSame" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFImage const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_initClass",0,0)) SWIG_fail; - SoSFImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec2s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getValue" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (unsigned char *)((SoSFImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec2s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - SoSFImage::CopyPolicy arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFImage_setValue" "', argument " "5"" of type '" "SoSFImage::CopyPolicy""'"); - } - arg5 = static_cast< SoSFImage::CopyPolicy >(val5); - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage___eq__" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage___eq__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage___eq__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - result = (int)((SoSFImage const *)arg1)->operator ==((SoSFImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage___ne__" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage___ne__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage___ne__" "', argument " "2"" of type '" "SoSFImage const &""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - result = (int)((SoSFImage const *)arg1)->operator !=((SoSFImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec2s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_startEditing" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (unsigned char *)(arg1)->startEditing(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec2s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_finishEditing" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setSubValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setSubValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setSubValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setSubValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setSubValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_setSubValue" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setSubValue" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_setSubValue" "', argument " "4"" of type '" "unsigned char *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setSubValue((SbVec2s const &)*arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setSubValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = (SbVec2s *) 0 ; - SbVec2s *arg3 = (SbVec2s *) 0 ; - int arg4 ; - unsigned char **arg5 = (unsigned char **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setSubValues",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setSubValues" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setSubValues" "', argument " "2"" of type '" "SbVec2s const *""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_setSubValues" "', argument " "3"" of type '" "SbVec2s const *""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFImage_setSubValues" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoSFImage_setSubValues" "', argument " "5"" of type '" "unsigned char **""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - (arg1)->setSubValues((SbVec2s const *)arg2,(SbVec2s const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_getSubTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - SbVec2s *arg4 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_getSubTexture",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_getSubTexture" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFImage_getSubTexture" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFImage_getSubTexture" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_getSubTexture" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage_getSubTexture" "', argument " "4"" of type '" "SbVec2s &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_getSubTexture" "', argument " "4"" of type '" "SbVec2s &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - result = (unsigned char *)((SoSFImage const *)arg1)->getSubTexture(arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_hasSubTextures(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - int *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_hasSubTextures",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_hasSubTextures" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_hasSubTextures" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_hasSubTextures" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool)(arg1)->hasSubTextures(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setNeverWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setNeverWrite",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setNeverWrite" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFImage_setNeverWrite" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setNeverWrite(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_isNeverWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_isNeverWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_isNeverWrite" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (SbBool)((SoSFImage const *)arg1)->isNeverWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_hasTransparency" "', argument " "1"" of type '" "SoSFImage const *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - result = (SbBool)((SoSFImage const *)arg1)->hasTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - arg4 = obj3; - SoSFImage_setValue__SWIG_2(arg1,(SbVec2s const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage *arg1 = (SoSFImage *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage_setValue" "', argument " "1"" of type '" "SoSFImage *""'"); - } - arg1 = reinterpret_cast< SoSFImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage_setValue" "', argument " "2"" of type '" "SoSFImage const *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - SoSFImage_setValue__SWIG_3(arg1,(SoSFImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFImage_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFImage_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFImage *,SbVec2s const &,int const,unsigned char const *,SoSFImage::CopyPolicy)\n"" setValue(SoSFImage *,SbVec2s const &,int const,unsigned char const *)\n"" setValue(SoSFImage *,SbVec2s const &,int const,PyObject *)\n"" setValue(SoSFImage *,SoSFImage const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFString",0,0)) SWIG_fail; - result = (SoSFString *)new SoSFString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFString" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFString::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getClassTypeId",0,0)) SWIG_fail; - result = SoSFString::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_getTypeId" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - result = ((SoSFString const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_copyFrom" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_isSame" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFString const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_getValue" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - { - SbString const &_result_ref = ((SoSFString const *)arg1)->getValue(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString___eq__" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString___eq__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString___eq__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - result = (int)((SoSFString const *)arg1)->operator ==((SoSFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString___ne__" "', argument " "1"" of type '" "SoSFString const *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString___ne__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFString___ne__" "', argument " "2"" of type '" "SoSFString const &""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - result = (int)((SoSFString const *)arg1)->operator !=((SoSFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_initClass",0,0)) SWIG_fail; - SoSFString::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFString *arg1 = (SoSFString *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFString_setValue" "', argument " "1"" of type '" "SoSFString *""'"); - } - arg1 = reinterpret_cast< SoSFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFString_setValue" "', argument " "2"" of type '" "SoSFString const *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - SoSFString_setValue__SWIG_2(arg1,(SoSFString const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFString_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFString_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFString_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFString_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFString_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFString *,SbString const &)\n"" setValue(SoSFString *,char const *)\n"" setValue(SoSFString *,SoSFString const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFColor",0,0)) SWIG_fail; - result = (SoSFColor *)new SoSFColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFColor" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFColor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getClassTypeId",0,0)) SWIG_fail; - result = SoSFColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_getTypeId" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - result = ((SoSFColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_copyFrom" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_isSame" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFColor const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_getValue" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - SbColor const &_result_ref = ((SoSFColor const *)arg1)->getValue(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setValue((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor___eq__" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor___eq__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor___eq__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - result = (int)((SoSFColor const *)arg1)->operator ==((SoSFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor___ne__" "', argument " "1"" of type '" "SoSFColor const *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor___ne__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor___ne__" "', argument " "2"" of type '" "SoSFColor const &""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - result = (int)((SoSFColor const *)arg1)->operator !=((SoSFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_initClass",0,0)) SWIG_fail; - SoSFColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColor_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColor_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setHSVValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setHSVValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setHSVValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColor_setHSVValue'.\n Possible C/C++ prototypes are:\n"" setHSVValue(SoSFColor *,float const,float const,float const)\n"" setHSVValue(SoSFColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFColor *arg1 = (SoSFColor *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFColor_setValue" "', argument " "1"" of type '" "SoSFColor *""'"); - } - arg1 = reinterpret_cast< SoSFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFColor_setValue" "', argument " "2"" of type '" "SoSFColor const *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - SoSFColor_setValue__SWIG_4(arg1,(SoSFColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFColor_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFColor_setValue__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFColor_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFColor *,SbColor const &)\n"" setValue(SoSFColor *,SbVec3f const &)\n"" setValue(SoSFColor *,float const,float const,float const)\n"" setValue(SoSFColor *,float const [3])\n"" setValue(SoSFColor *,SoSFColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getClassTypeId",0,0)) SWIG_fail; - result = SoReplacedElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoReplacedElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_initClass",0,0)) SWIG_fail; - SoReplacedElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_init" "', argument " "1"" of type '" "SoReplacedElement *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReplacedElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_matches" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReplacedElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoReplacedElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_copyMatchInfo" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - result = (SoElement *)((SoReplacedElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_getNodeId" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - result = (uint32_t)((SoReplacedElement const *)arg1)->getNodeId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReplacedElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReplacedElement *arg1 = (SoReplacedElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReplacedElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReplacedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReplacedElement_output" "', argument " "1"" of type '" "SoReplacedElement const *""'"); - } - arg1 = reinterpret_cast< SoReplacedElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoReplacedElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoReplacedElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoReplacedElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",0,0)) SWIG_fail; - result = (SbVec3s *)new SbVec3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - SbVec3s *result = 0 ; - short temp1[3] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3s *)new SbVec3s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - SbVec3s *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3s",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - result = (SbVec3s *)new SbVec3s(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3s__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3s__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3s'.\n Possible C/C++ prototypes are:\n"" SbVec3s()\n"" SbVec3s(short const [3])\n"" SbVec3s(short const,short const,short const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_dot" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s_dot" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s_dot" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int32_t)((SbVec3s const *)arg1)->dot((SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_getValue" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = (short *)((SbVec3s const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - short temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_getValue" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ((SbVec3s const *)arg1)->getValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_getValue__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3s_getValue__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbVec3s const *)\n"" getValue(SbVec3s const *,short &,short &,short &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_negate" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short *arg2 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - { - convert_SbVec3s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_setValue" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - { - SbVec3s &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec3s *,short const [3])\n"" setValue(SbVec3s *,short const,short const,short const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___imul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___imul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s___imul__'.\n Possible C/C++ prototypes are:\n"" operator *=(SbVec3s *,int)\n"" operator *=(SbVec3s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___idiv__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___idiv__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3s___idiv__'.\n Possible C/C++ prototypes are:\n"" operator /=(SbVec3s *,int)\n"" operator /=(SbVec3s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___iadd__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___iadd__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___iadd__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3s &_result_ref = (arg1)->operator +=((SbVec3s const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___isub__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___isub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___isub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - { - SbVec3s &_result_ref = (arg1)->operator -=((SbVec3s const &)*arg2); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___neg__" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - result = ((SbVec3s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s_output" "', argument " "1"" of type '" "SbVec3s const *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___add__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___add__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___add__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = SbVec3s___add__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___sub__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___sub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___sub__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = SbVec3s___sub__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___mul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___rmul__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - double arg2 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___div__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___eq__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___eq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___eq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int)SbVec3s___eq__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___nq__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3s___nq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3s___nq__" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (int)SbVec3s___nq__(arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___getitem__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec3s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3s___setitem__" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec3s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = (SbVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3s" "', argument " "1"" of type '" "SbVec3s *""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_initClass",0,0)) SWIG_fail; - SoTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureImageElement *arg1 = (SoTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_init" "', argument " "1"" of type '" "SoTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureImageElement::setDefault(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - int arg6 ; - int arg7 ; - int arg8 ; - SbColor *arg9 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - SoTextureImageElement::set(arg1,arg2,(SbVec2s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,(SbColor const &)*arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - int arg6 ; - int arg7 ; - int arg8 ; - int arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoTextureImageElement::set(arg1,arg2,(SbVec3s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg6 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Model arg8 ; - SbColor *arg9 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg6 = static_cast< SoTextureImageElement::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Model""'"); - } - arg8 = static_cast< SoTextureImageElement::Model >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - SoTextureImageElement::set(arg1,arg2,(SbVec2s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,(SbColor const &)*arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg6 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureImageElement_set" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_set" "', argument " "5"" of type '" "unsigned char const *""'"); - } - arg5 = reinterpret_cast< unsigned char * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoTextureImageElement_set" "', argument " "6"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg6 = static_cast< SoTextureImageElement::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoTextureImageElement::set(arg1,arg2,(SbVec3s const &)*arg3,arg4,(unsigned char const *)arg5,arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[11]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 10); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_2(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_set__SWIG_3(self, args); - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SbVec2s const &,int const,unsigned char const *,int const,int const,int const,SbColor const &)\n"" set(SoState *const,SoNode *const,SbVec3s const &,int const,unsigned char const *,int const,int const,int const,int const,SbColor const &)\n"" set(SoState *const,SoNode *const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"" SoTextureImageElement::set(SoState *const,SoNode *const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - SoTextureImageElement::Wrap *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Model *arg6 = 0 ; - SbColor *arg7 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg4 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Model &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Model * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - SoTextureImageElement::Wrap *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Model *arg7 = 0 ; - SbColor *arg8 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg4 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Model * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - int *arg5 = 0 ; - int *arg6 = 0 ; - SbColor *arg7 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - arg6 = reinterpret_cast< int * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "SbColor &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - int *arg5 = 0 ; - int *arg6 = 0 ; - int *arg7 = 0 ; - SbColor *arg8 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "6"" of type '" "int &""'"); - } - arg6 = reinterpret_cast< int * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "int &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "7"" of type '" "int &""'"); - } - arg7 = reinterpret_cast< int * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoTextureImageElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[9]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 8); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_0(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_2(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_get__SWIG_3(self, args); - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_get'.\n Possible C/C++ prototypes are:\n"" get(SoState *const,SbVec2s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n"" get(SoState *const,SbVec3s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n"" get(SoState *const,SbVec2s &,int &,int &,int &,int &,SbColor &)\n"" SoTextureImageElement::get(SoState *const,SbVec3s &,int &,int &,int &,int &,int &,SbColor &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getBlendColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getBlendColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoTextureImageElement::getBlendColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)SoTextureImageElement::getImage(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)SoTextureImageElement::getImage(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getImage__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getImage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_getImage'.\n Possible C/C++ prototypes are:\n"" getImage(SoState *const,SbVec2s &,int &)\n"" SoTextureImageElement::getImage(SoState *const,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureImageElement::Model result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Model)SoTextureImageElement::getModel(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapS" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapS(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapT" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapT(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getWrapR" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureImageElement::Wrap)SoTextureImageElement::getWrapR(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_containsTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_containsTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_containsTransparency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureImageElement::containsTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - int *arg2 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - int *arg2 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureImageElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureImageElement_getDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureImageElement_getDefault'.\n Possible C/C++ prototypes are:\n"" getDefault(SbVec2s &,int &)\n"" SoTextureImageElement::getDefault(SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_getTypeId" "', argument " "1"" of type '" "SoTexture2 const *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = ((SoTexture2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_initClass",0,0)) SWIG_fail; - SoTexture2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture2",0,0)) SWIG_fail; - result = (SoTexture2 *)new SoTexture2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_filename_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_filename_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_image_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_image_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapS_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapS_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapT_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_wrapT_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_model_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_model_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_blendColor_set" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_blendColor_get" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_doAction" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_GLRender" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_callback" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2 *arg1 = (SoTexture2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2_rayPick" "', argument " "1"" of type '" "SoTexture2 *""'"); - } - arg1 = reinterpret_cast< SoTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2_readImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char **arg5 = 0 ; - SbBool result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2_readImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2_readImage" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTexture2_readImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTexture2_readImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTexture2_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTexture2_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - result = (SbBool)SoTexture2::readImage((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoTexture2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateBindingElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCoordinateBindingElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCoordinateBindingElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_initClass",0,0)) SWIG_fail; - SoTextureCoordinateBindingElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBindingElement *arg1 = (SoTextureCoordinateBindingElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBindingElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_init" "', argument " "1"" of type '" "SoTextureCoordinateBindingElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBindingElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBindingElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTextureCoordinateBindingElement::Binding arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "3"" of type '" "SoTextureCoordinateBindingElement::Binding""'"); - } - arg3 = static_cast< SoTextureCoordinateBindingElement::Binding >(val3); - SoTextureCoordinateBindingElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateBindingElement::Binding arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBindingElement_set" "', argument " "2"" of type '" "SoTextureCoordinateBindingElement::Binding""'"); - } - arg2 = static_cast< SoTextureCoordinateBindingElement::Binding >(val2); - SoTextureCoordinateBindingElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBindingElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBindingElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBindingElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoTextureCoordinateBindingElement::Binding const)\n"" SoTextureCoordinateBindingElement::set(SoState *const,SoTextureCoordinateBindingElement::Binding const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateBindingElement::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBindingElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateBindingElement::Binding)SoTextureCoordinateBindingElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBindingElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBindingElement::Binding result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBindingElement_getDefault",0,0)) SWIG_fail; - result = (SoTextureCoordinateBindingElement::Binding)SoTextureCoordinateBindingElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBindingElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBindingElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateBinding::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateBinding const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - result = ((SoTextureCoordinateBinding const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_initClass",0,0)) SWIG_fail; - SoTextureCoordinateBinding::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBinding",0,0)) SWIG_fail; - result = (SoTextureCoordinateBinding *)new SoTextureCoordinateBinding(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBinding, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_value_set" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_value_get" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_doAction" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_callback" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBinding_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBinding *arg1 = (SoTextureCoordinateBinding *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBinding_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBinding, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBinding_pick" "', argument " "1"" of type '" "SoTextureCoordinateBinding *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBinding * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBinding_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBinding_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBinding, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformation *arg1 = (SoTransformation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformation_getTypeId" "', argument " "1"" of type '" "SoTransformation const *""'"); - } - arg1 = reinterpret_cast< SoTransformation * >(argp1); - result = ((SoTransformation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformation_initClass",0,0)) SWIG_fail; - SoTransformation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoUnits_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getClassTypeId",0,0)) SWIG_fail; - result = SoUnits::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getTypeId" "', argument " "1"" of type '" "SoUnits const *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - result = ((SoUnits const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_initClass",0,0)) SWIG_fail; - SoUnits::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoUnits",0,0)) SWIG_fail; - result = (SoUnits *)new SoUnits(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoUnits, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_units_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_units_set" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_units_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->units = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_units_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_units_get" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - result = (SoSFEnum *)& ((arg1)->units); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_doAction" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_callback" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getBoundingBox" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getMatrix" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_GLRender" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_pick" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnits_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnits *arg1 = (SoUnits *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnits_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnits, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnits_getPrimitiveCount" "', argument " "1"" of type '" "SoUnits *""'"); - } - arg1 = reinterpret_cast< SoUnits * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnits_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoUnits_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoUnits, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTypeId" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = ((SoCallbackAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getClassTypeId",0,0)) SWIG_fail; - result = SoCallbackAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoCallbackAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoCallbackAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackAction",0,0)) SWIG_fail; - result = (SoCallbackAction *)new SoCallbackAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoCallbackAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoCallbackAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoCallbackAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoCallbackAction *)new SoCallbackAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallbackAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoCallbackAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoCallbackAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoCallbackAction'.\n Possible C/C++ prototypes are:\n"" SoCallbackAction()\n"" SoCallbackAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCallbackAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCallbackAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCallbackAction" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_initClass",0,0)) SWIG_fail; - SoCallbackAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_setViewportRegion" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoCallbackAction::SoCallbackActionCB *arg3 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPreCallback" "', argument " "3"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPreCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPreCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoCallbackAction::SoCallbackActionCB *arg3 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPostCallback" "', argument " "3"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPostCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPostCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoCallbackAction::SoCallbackActionCB *arg2 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "2"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPreTailCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoCallbackAction::SoCallbackActionCB *arg2 = (SoCallbackAction::SoCallbackActionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "2"" of type '" "SoCallbackAction::SoCallbackActionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPostTailCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoTriangleCB *arg3 = (SoTriangleCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addTriangleCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "3"" of type '" "SoTriangleCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addTriangleCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoLineSegmentCB *arg3 = (SoLineSegmentCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addLineSegmentCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "3"" of type '" "SoLineSegmentCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addLineSegmentCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - SoPointCB *arg3 = (SoPointCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPointCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPointCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackAction_addPointCallback" "', argument " "3"" of type '" "SoPointCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_addPointCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addPointCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDecimationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoDecimationTypeElement::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDecimationType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDecimationType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoDecimationTypeElement::Type)((SoCallbackAction const *)arg1)->getDecimationType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDecimationPercentage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDecimationPercentage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDecimationPercentage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getDecimationPercentage(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getComplexity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getComplexity" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getComplexity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getComplexityType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoComplexity::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getComplexityType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getComplexityType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoComplexity::Type)((SoCallbackAction const *)arg1)->getComplexityType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (int32_t)((SoCallbackAction const *)arg1)->getNumCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCoordinate4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCoordinate4" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getCoordinate4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCallbackAction const *)arg1)->getCoordinate4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoDrawStyle::Style result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getDrawStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getDrawStyle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoDrawStyle::Style)((SoCallbackAction const *)arg1)->getDrawStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - unsigned short result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLinePattern" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (unsigned short)((SoCallbackAction const *)arg1)->getLinePattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLineWidth" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getPointSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getPointSize" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getPointSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFontName" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbName const &_result_ref = ((SoCallbackAction const *)arg1)->getFontName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFontSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFontSize" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getFontSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoLightModel::Model result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLightModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLightModel" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoLightModel::Model)((SoCallbackAction const *)arg1)->getLightModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getLightAttenuation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getLightAttenuation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getLightAttenuation" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getLightAttenuation(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterialBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoMaterialBinding::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterialBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterialBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoMaterialBinding::Binding)((SoCallbackAction const *)arg1)->getMaterialBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumNormals" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (uint32_t)((SoCallbackAction const *)arg1)->getNumNormals(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNormal" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getNormal" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getNormal(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNormalBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNormalBinding::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNormalBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNormalBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoNormalBinding::Binding)((SoCallbackAction const *)arg1)->getNormalBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumProfileCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumProfileCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumProfileCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (int32_t)((SoCallbackAction const *)arg1)->getNumProfileCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfileCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfileCoordinate2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfileCoordinate2" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getProfileCoordinate2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoCallbackAction const *)arg1)->getProfileCoordinate2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfileCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfileCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfileCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getProfileCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getProfileCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNodeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProfile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProfile" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SoNodeList const &_result_ref = ((SoCallbackAction const *)arg1)->getProfile(); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShapeHints::VertexOrdering result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getVertexOrdering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getVertexOrdering" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::VertexOrdering)((SoCallbackAction const *)arg1)->getVertexOrdering(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getShapeType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShapeHints::ShapeType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getShapeType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getShapeType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::ShapeType)((SoCallbackAction const *)arg1)->getShapeType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFaceType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShapeHints::FaceType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFaceType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFaceType" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoShapeHints::FaceType)((SoCallbackAction const *)arg1)->getFaceType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCreaseAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCreaseAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCreaseAngle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getCreaseAngle(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getNumTextureCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getNumTextureCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getNumTextureCoordinates" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (int32_t)((SoCallbackAction const *)arg1)->getNumTextureCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate2" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate3" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinate4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinate4" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getTextureCoordinate4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureCoordinate4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureCoordinateBinding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoTextureCoordinateBinding::Binding result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureCoordinateBinding",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureCoordinateBinding" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTextureCoordinateBinding::Binding)((SoCallbackAction const *)arg1)->getTextureCoordinateBinding(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureBlendColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureBlendColor" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbColor const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureBlendColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureImage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SoCallbackAction const *)arg1)->getTextureImage(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureImage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureImage" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_getTextureImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SoCallbackAction const *)arg1)->getTextureImage(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getTextureImage__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getTextureImage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_getTextureImage'.\n Possible C/C++ prototypes are:\n"" getTextureImage(SoCallbackAction const *,SbVec2s &,int &)\n"" getTextureImage(SoCallbackAction const *,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getTextureMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoTexture2::Model result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureModel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureModel" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Model)((SoCallbackAction const *)arg1)->getTextureModel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoTexture2::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapS" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapS(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoTexture2::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapT" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapT(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getTextureWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoTexture2::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getTextureWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getTextureWrapR" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoTexture2::Wrap)((SoCallbackAction const *)arg1)->getTextureWrapR(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getModelMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getModelMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getModelMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getModelMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoUnits::Units result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getUnits",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getUnits" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoUnits::Units)((SoCallbackAction const *)arg1)->getUnits(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getFocalDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getFocalDistance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getFocalDistance" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (float)((SoCallbackAction const *)arg1)->getFocalDistance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getProjectionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getProjectionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getProjectionMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getProjectionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewingMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewingMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewingMatrix" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbMatrix const &_result_ref = ((SoCallbackAction const *)arg1)->getViewingMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewVolume" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbViewVolume const &_result_ref = ((SoCallbackAction const *)arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getViewportRegion" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoCallbackAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getPickStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoPickStyle::Style result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getPickStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getPickStyle" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoPickStyle::Style)((SoCallbackAction const *)arg1)->getPickStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getSwitch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getSwitch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getSwitch" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (int32_t)((SoCallbackAction const *)arg1)->getSwitch(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCurrentResponse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoCallbackAction::Response result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCurrentResponse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCurrentResponse" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoCallbackAction::Response)((SoCallbackAction const *)arg1)->getCurrentResponse(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePreCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePreCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePreCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePreCallbacks" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->invokePreCallbacks((SoNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePostCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePostCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePostCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePostCallbacks" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->invokePostCallbacks((SoNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokeTriangleCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg4 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg5 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokeTriangleCallbacks",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "4"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg4 = reinterpret_cast< SoPrimitiveVertex * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoCallbackAction_invokeTriangleCallbacks" "', argument " "5"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg5 = reinterpret_cast< SoPrimitiveVertex * >(argp5); - (arg1)->invokeTriangleCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3,(SoPrimitiveVertex const *)arg4,(SoPrimitiveVertex const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokeLineSegmentCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - SoPrimitiveVertex *arg4 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokeLineSegmentCallbacks",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCallbackAction_invokeLineSegmentCallbacks" "', argument " "4"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg4 = reinterpret_cast< SoPrimitiveVertex * >(argp4); - (arg1)->invokeLineSegmentCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3,(SoPrimitiveVertex const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_invokePointCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) (SoShape *)0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) (SoPrimitiveVertex *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_invokePointCallbacks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "2"" of type '" "SoShape const *const""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackAction_invokePointCallbacks" "', argument " "3"" of type '" "SoPrimitiveVertex const *const""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->invokePointCallbacks((SoShape const *)arg2,(SoPrimitiveVertex const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_shouldGeneratePrimitives(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoShape *arg2 = (SoShape *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_shouldGeneratePrimitives",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_shouldGeneratePrimitives" "', argument " "1"" of type '" "SoCallbackAction const *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_shouldGeneratePrimitives" "', argument " "2"" of type '" "SoShape const *""'"); - } - arg2 = reinterpret_cast< SoShape * >(argp2); - result = (SbBool)((SoCallbackAction const *)arg1)->shouldGeneratePrimitives((SoShape const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getCurPathTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getCurPathTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getCurPathTail" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (SoNode *)(arg1)->getCurPathTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_setCurrentNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_setCurrentNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_setCurrentNode" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_setCurrentNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setCurrentNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - int arg2 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterial" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCallbackAction_getMaterial" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (PyObject *)SoCallbackAction_getMaterial__SWIG_0(arg1,arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_getMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_getMaterial" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - result = (PyObject *)SoCallbackAction_getMaterial__SWIG_0(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_getMaterial(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_getMaterial__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCallbackAction_getMaterial__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_getMaterial'.\n Possible C/C++ prototypes are:\n"" getMaterial(SoCallbackAction *,int const)\n"" getMaterial(SoCallbackAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPreCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPreCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPreCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPreCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPreCallback'.\n Possible C/C++ prototypes are:\n"" addPreCallback(SoCallbackAction *,SoType const,SoCallbackAction::SoCallbackActionCB *,void *)\n"" addPreCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPostCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPostCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPostCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPostCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPostCallback'.\n Possible C/C++ prototypes are:\n"" addPostCallback(SoCallbackAction *,SoType const,SoCallbackAction::SoCallbackActionCB *,void *)\n"" addPostCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPreTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPreTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallbackAction_addPreTailCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPreTailCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPreTailCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPreTailCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPreTailCallback'.\n Possible C/C++ prototypes are:\n"" addPreTailCallback(SoCallbackAction *,SoCallbackAction::SoCallbackActionCB *,void *)\n"" addPreTailCallback(SoCallbackAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPostTailCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPostTailCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallbackAction_addPostTailCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPostTailCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPostTailCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPostTailCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPostTailCallback'.\n Possible C/C++ prototypes are:\n"" addPostTailCallback(SoCallbackAction *,SoCallbackAction::SoCallbackActionCB *,void *)\n"" addPostTailCallback(SoCallbackAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addTriangleCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addTriangleCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addTriangleCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addTriangleCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addTriangleCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addTriangleCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addTriangleCallback'.\n Possible C/C++ prototypes are:\n"" addTriangleCallback(SoCallbackAction *,SoType const,SoTriangleCB *,void *)\n"" addTriangleCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addLineSegmentCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addLineSegmentCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addLineSegmentCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addLineSegmentCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addLineSegmentCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addLineSegmentCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addLineSegmentCallback'.\n Possible C/C++ prototypes are:\n"" addLineSegmentCallback(SoCallbackAction *,SoType const,SoLineSegmentCB *,void *)\n"" addLineSegmentCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackAction *arg1 = (SoCallbackAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackAction_addPointCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackAction_addPointCallback" "', argument " "1"" of type '" "SoCallbackAction *""'"); - } - arg1 = reinterpret_cast< SoCallbackAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCallbackAction_addPointCallback" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoCallbackAction_addPointCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackAction_addPointCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackAction_addPointCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoCallbackAction_addPointCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackAction_addPointCallback'.\n Possible C/C++ prototypes are:\n"" addPointCallback(SoCallbackAction *,SoType const,SoPointCB *,void *)\n"" addPointCallback(SoCallbackAction *,SoType const,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCallbackAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallbackAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",0,0)) SWIG_fail; - result = (SbVec2f *)new SbVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - SbVec2f *result = 0 ; - float temp1[2] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2f *)new SbVec2f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - SbVec2f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2f",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbVec2f *)new SbVec2f(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2f__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2f__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2f'.\n Possible C/C++ prototypes are:\n"" SbVec2f()\n"" SbVec2f(float const [2])\n"" SbVec2f(float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_dot" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_dot" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_dot" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (float)((SbVec2f const *)arg1)->dot((SbVec2f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_equals" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f_equals" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f_equals" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec2f const *)arg1)->equals((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_getValue" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ((SbVec2f const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_length" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (float)((SbVec2f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_negate" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_normalize" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float *arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - float arg3 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_setValue" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbVec2f &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec2f *,float const [2])\n"" setValue(SbVec2f *,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___imul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec2f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___idiv__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec2f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___iadd__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___iadd__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___iadd__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2f &_result_ref = (arg1)->operator +=((SbVec2f const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___isub__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___isub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___isub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - { - SbVec2f &_result_ref = (arg1)->operator -=((SbVec2f const &)*arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___neg__" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - result = ((SbVec2f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f_output" "', argument " "1"" of type '" "SbVec2f const *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___add__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___add__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___add__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = SbVec2f___add__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___sub__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___sub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___sub__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = SbVec2f___sub__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___mul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___rmul__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - float arg2 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___div__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___eq__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___eq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___eq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)SbVec2f___eq__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___nq__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2f___nq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2f___nq__" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)SbVec2f___nq__(arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___getitem__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec2f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2f___setitem__" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec2f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2f" "', argument " "1"" of type '" "SbVec2f *""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",0,0)) SWIG_fail; - result = (SbViewportRegion *)new SbViewportRegion(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - SbViewportRegion *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbViewportRegion" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbViewportRegion *)new SbViewportRegion(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s arg1 ; - SbViewportRegion *result = 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbVec2s""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SbViewportRegion *)new SbViewportRegion(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SbViewportRegion *)new SbViewportRegion((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbViewportRegion(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbViewportRegion__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbViewportRegion__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbViewportRegion'.\n Possible C/C++ prototypes are:\n"" SbViewportRegion()\n"" SbViewportRegion(short,short)\n"" SbViewportRegion(SbVec2s)\n"" SbViewportRegion(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setWindowSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setWindowSize" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setWindowSize" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->setWindowSize(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setWindowSize" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setWindowSize" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setWindowSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setWindowSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setWindowSize__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setWindowSize__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setWindowSize'.\n Possible C/C++ prototypes are:\n"" setWindowSize(SbViewportRegion *,short,short)\n"" setWindowSize(SbViewportRegion *,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewport",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewport" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewportRegion_setViewport" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewportRegion_setViewport" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setViewport(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2f arg2 ; - SbVec2f arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewport",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewport" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "SbVec2f""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewport" "', argument " "2"" of type '" "SbVec2f""'"); - } else { - SbVec2f * temp = reinterpret_cast< SbVec2f * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "SbVec2f""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewport" "', argument " "3"" of type '" "SbVec2f""'"); - } else { - SbVec2f * temp = reinterpret_cast< SbVec2f * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setViewport(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewport(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setViewport__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setViewport__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setViewport'.\n Possible C/C++ prototypes are:\n"" setViewport(SbViewportRegion *,float,float,float,float)\n"" setViewport(SbViewportRegion *,SbVec2f,SbVec2f)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewportPixels",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setViewportPixels(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s arg2 ; - SbVec2s arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setViewportPixels",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "SbVec2s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewportPixels" "', argument " "2"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "SbVec2s""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion_setViewportPixels" "', argument " "3"" of type '" "SbVec2s""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setViewportPixels(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setViewportPixels(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewportRegion_setViewportPixels__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewportRegion_setViewportPixels__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewportRegion_setViewportPixels'.\n Possible C/C++ prototypes are:\n"" setViewportPixels(SbViewportRegion *,short,short,short,short)\n"" setViewportPixels(SbViewportRegion *,SbVec2s,SbVec2s)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getWindowSize" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getWindowSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportOrigin" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2f const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportOrigin(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportOriginPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportOriginPixels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportOriginPixels" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportOriginPixels(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportSize" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2f const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportSize(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportSizePixels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportSizePixels" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - SbVec2s const &_result_ref = ((SbViewportRegion const *)arg1)->getViewportSizePixels(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getViewportAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getViewportAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getViewportAspectRatio" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getViewportAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_scaleWidth" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_scaleWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_scaleHeight" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_setPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_setPixelsPerInch",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_setPixelsPerInch" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewportRegion_setPixelsPerInch" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPixelsPerInch(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getPixelsPerInch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getPixelsPerInch" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getPixelsPerInch(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_getPixelsPerPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_getPixelsPerPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_getPixelsPerPoint" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (float)((SbViewportRegion const *)arg1)->getPixelsPerPoint(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion_output" "', argument " "1"" of type '" "SbViewportRegion const *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbViewportRegion const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbViewportRegion *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion___eq__" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion___eq__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion___eq__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = (int)SbViewportRegion___eq__(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewportRegion___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - SbViewportRegion *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewportRegion___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewportRegion___ne__" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewportRegion___ne__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewportRegion___ne__" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = (int)SbViewportRegion___ne__(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = (SbViewportRegion *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbViewportRegion" "', argument " "1"" of type '" "SbViewportRegion *""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbViewportRegion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbViewportRegion, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getTypeId" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = ((SoGLRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGLRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGLRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoGLRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGLRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGLRenderAction *)new SoGLRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLRenderAction" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_initClass",0,0)) SWIG_fail; - SoGLRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getViewportRegion" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGLRenderAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setUpdateArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setUpdateArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_setUpdateArea" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setUpdateArea((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getUpdateArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getUpdateArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLRenderAction_getUpdateArea" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ((SoGLRenderAction const *)arg1)->getUpdateArea(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::SoGLRenderAbortCB *arg2 = (SoGLRenderAction::SoGLRenderAbortCB *) (SoGLRenderAction::SoGLRenderAbortCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setAbortCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "2"" of type '" "SoGLRenderAction::SoGLRenderAbortCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setAbortCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::TransparencyType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setTransparencyType" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setTransparencyType" "', argument " "2"" of type '" "SoGLRenderAction::TransparencyType""'"); - } - arg2 = static_cast< SoGLRenderAction::TransparencyType >(val2); - (arg1)->setTransparencyType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderAction::TransparencyType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getTransparencyType" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SoGLRenderAction::TransparencyType)((SoGLRenderAction const *)arg1)->getTransparencyType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSmoothing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSmoothing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSmoothing" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSmoothing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setSmoothing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isSmoothing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isSmoothing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isSmoothing" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isSmoothing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setNumPasses",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setNumPasses" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setNumPasses" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumPasses(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getNumPasses",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getNumPasses" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getNumPasses(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassUpdate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassUpdate" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setPassUpdate" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPassUpdate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isPassUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isPassUpdate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isPassUpdate" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isPassUpdate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLRenderPassCB *arg2 = (SoGLRenderPassCB *) (SoGLRenderPassCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "2"" of type '" "SoGLRenderPassCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setPassCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setCacheContext",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setCacheContext" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setCacheContext" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setCacheContext(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getCacheContext",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getCacheContext" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (uint32_t)((SoGLRenderAction const *)arg1)->getCacheContext(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addDelayedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addDelayedPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addDelayedPath" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderAction_addDelayedPath" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addDelayedPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_isRenderingDelayedPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_isRenderingDelayedPaths",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_isRenderingDelayedPaths" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->isRenderingDelayedPaths(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_handleTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->handleTransparency(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_handleTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_handleTransparency" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)(arg1)->handleTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_handleTransparency(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_handleTransparency__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLRenderAction_handleTransparency__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_handleTransparency'.\n Possible C/C++ prototypes are:\n"" handleTransparency(SoGLRenderAction *,SbBool)\n"" handleTransparency(SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getCurPass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getCurPass",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getCurPass" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getCurPass(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_abortNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_abortNow",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_abortNow" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)(arg1)->abortNow(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setRenderingIsRemote(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setRenderingIsRemote",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setRenderingIsRemote" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setRenderingIsRemote" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setRenderingIsRemote(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getRenderingIsRemote(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getRenderingIsRemote",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getRenderingIsRemote" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SbBool)((SoGLRenderAction const *)arg1)->getRenderingIsRemote(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_invalidateState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_invalidateState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_invalidateState" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - (arg1)->invalidateState(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLPreRenderCB *arg2 = (SoGLPreRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "2"" of type '" "SoGLPreRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addPreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoGLPreRenderCB *arg2 = (SoGLPreRenderCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "2"" of type '" "SoGLPreRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removePreRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setSortedLayersNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setSortedLayersNumPasses",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setSortedLayersNumPasses" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderAction_setSortedLayersNumPasses" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setSortedLayersNumPasses(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_getSortedLayersNumPasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_getSortedLayersNumPasses",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_getSortedLayersNumPasses" "', argument " "1"" of type '" "SoGLRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (int)((SoGLRenderAction const *)arg1)->getSortedLayersNumPasses(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setPassCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setPassCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_setPassCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setPassCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setPassCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_setPassCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_setPassCallback'.\n Possible C/C++ prototypes are:\n"" setPassCallback(SoGLRenderAction *,SoGLRenderPassCB *const,void *const)\n"" setPassCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_setAbortCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_setAbortCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_setAbortCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_setAbortCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__SoGLRenderAction__AbortCode); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_setAbortCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_setAbortCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_setAbortCallback'.\n Possible C/C++ prototypes are:\n"" setAbortCallback(SoGLRenderAction *,SoGLRenderAction::SoGLRenderAbortCB *const,void *const)\n"" setAbortCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_addPreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_addPreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_addPreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_addPreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_addPreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_addPreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_addPreRenderCallback'.\n Possible C/C++ prototypes are:\n"" addPreRenderCallback(SoGLRenderAction *,SoGLPreRenderCB *,void *)\n"" addPreRenderCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderAction_removePreRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderAction_removePreRenderCallback" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoGLRenderAction_removePreRenderCallback__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderAction_removePreRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLRenderAction_removePreRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoGLRenderAction_removePreRenderCallback__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLRenderAction_removePreRenderCallback'.\n Possible C/C++ prototypes are:\n"" removePreRenderCallback(SoGLRenderAction *,SoGLPreRenderCB *,void *)\n"" removePreRenderCallback(SoGLRenderAction *,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getTypeId" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = ((SoBoxHighlightRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoBoxHighlightRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoBoxHighlightRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoBoxHighlightRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoBoxHighlightRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoxHighlightRenderAction",0,0)) SWIG_fail; - result = (SoBoxHighlightRenderAction *)new SoBoxHighlightRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoBoxHighlightRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoxHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoBoxHighlightRenderAction *)new SoBoxHighlightRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoxHighlightRenderAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoBoxHighlightRenderAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoBoxHighlightRenderAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoBoxHighlightRenderAction'.\n Possible C/C++ prototypes are:\n"" SoBoxHighlightRenderAction()\n"" SoBoxHighlightRenderAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBoxHighlightRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBoxHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBoxHighlightRenderAction" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_initClass",0,0)) SWIG_fail; - SoBoxHighlightRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBoxHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBoxHighlightRenderAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBoxHighlightRenderAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoBoxHighlightRenderAction *,SoNode *)\n"" apply(SoBoxHighlightRenderAction *,SoPath *)\n"" apply(SoBoxHighlightRenderAction *,SoPathList const &,SbBool)\n"" apply(SoBoxHighlightRenderAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setVisible",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setVisible" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setVisible" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVisible(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_isVisible" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (SbBool)((SoBoxHighlightRenderAction const *)arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoxHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getColor" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - { - SbColor const &_result_ref = (arg1)->getColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setLinePattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setLinePattern" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setLinePattern" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setLinePattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - unsigned short result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getLinePattern" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (unsigned short)((SoBoxHighlightRenderAction const *)arg1)->getLinePattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_setLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_setLineWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_setLineWidth" "', argument " "1"" of type '" "SoBoxHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBoxHighlightRenderAction_setLineWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLineWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoxHighlightRenderAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoxHighlightRenderAction *arg1 = (SoBoxHighlightRenderAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoxHighlightRenderAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoxHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoxHighlightRenderAction_getLineWidth" "', argument " "1"" of type '" "SoBoxHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoBoxHighlightRenderAction * >(argp1); - result = (float)((SoBoxHighlightRenderAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoxHighlightRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoxHighlightRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getTypeId" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = ((SoLineHighlightRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoLineHighlightRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoLineHighlightRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoLineHighlightRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoLineHighlightRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineHighlightRenderAction",0,0)) SWIG_fail; - result = (SoLineHighlightRenderAction *)new SoLineHighlightRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoLineHighlightRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoLineHighlightRenderAction *)new SoLineHighlightRenderAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineHighlightRenderAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLineHighlightRenderAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoLineHighlightRenderAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLineHighlightRenderAction'.\n Possible C/C++ prototypes are:\n"" SoLineHighlightRenderAction()\n"" SoLineHighlightRenderAction(SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLineHighlightRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLineHighlightRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLineHighlightRenderAction" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_initClass",0,0)) SWIG_fail; - SoLineHighlightRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoLineHighlightRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineHighlightRenderAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLineHighlightRenderAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoLineHighlightRenderAction *,SoNode *)\n"" apply(SoLineHighlightRenderAction *,SoPath *)\n"" apply(SoLineHighlightRenderAction *,SoPathList const &,SbBool)\n"" apply(SoLineHighlightRenderAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setVisible",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setVisible" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_setVisible" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVisible(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_isVisible" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = (SbBool)((SoLineHighlightRenderAction const *)arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLineHighlightRenderAction_setColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getColor" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - { - SbColor const &_result_ref = (arg1)->getColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - uint16_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setLinePattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setLinePattern" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_setLinePattern" "', argument " "2"" of type '" "uint16_t""'"); - } - arg2 = static_cast< uint16_t >(val2); - (arg1)->setLinePattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getLinePattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - uint16_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getLinePattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getLinePattern" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = (uint16_t)((SoLineHighlightRenderAction const *)arg1)->getLinePattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_setLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_setLineWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_setLineWidth" "', argument " "1"" of type '" "SoLineHighlightRenderAction *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineHighlightRenderAction_setLineWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLineWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineHighlightRenderAction_getLineWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineHighlightRenderAction *arg1 = (SoLineHighlightRenderAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineHighlightRenderAction_getLineWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineHighlightRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineHighlightRenderAction_getLineWidth" "', argument " "1"" of type '" "SoLineHighlightRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoLineHighlightRenderAction * >(argp1); - result = (float)((SoLineHighlightRenderAction const *)arg1)->getLineWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineHighlightRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineHighlightRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",0,0)) SWIG_fail; - result = (SbBox3f *)new SbBox3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - SbBox3f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3f" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3f" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - result = (SbBox3f *)new SbBox3f(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBox3f *)new SbBox3f((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3f__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3f__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3f__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3f'.\n Possible C/C++ prototypes are:\n"" SbBox3f()\n"" SbBox3f(float const,float const,float const,float const,float const,float const)\n"" SbBox3f(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3f" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMin" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f const &_result_ref = ((SbBox3f const *)arg1)->getMin(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMax" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f const &_result_ref = ((SbBox3f const *)arg1)->getMax(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMin" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f &_result_ref = (arg1)->getMin(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMin(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMin__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMin__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getMin'.\n Possible C/C++ prototypes are:\n"" getMin(SbBox3f const *)\n"" getMin(SbBox3f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getMax" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - SbVec3f &_result_ref = (arg1)->getMax(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getMax(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMax__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getMax__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getMax'.\n Possible C/C++ prototypes are:\n"" getMax(SbBox3f const *)\n"" getMax(SbBox3f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getCenter" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = ((SbBox3f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_extendBy" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->extendBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_extendBy" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbBox3f *,SbVec3f const &)\n"" extendBy(SbBox3f *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_intersect" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbBox3f const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_intersect" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbBox3f const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbBox3f const *,SbVec3f const &)\n"" intersect(SbBox3f const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3f_setBounds" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3f_setBounds" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3f_setBounds" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3f_setBounds" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_setBounds" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_setBounds" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setBounds((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3f_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_setBounds'.\n Possible C/C++ prototypes are:\n"" setBounds(SbBox3f *,float const,float const,float const,float const,float const,float const)\n"" setBounds(SbBox3f *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - float *arg6 = 0 ; - float *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getBounds" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - arg5 = reinterpret_cast< float * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3f_getBounds" "', argument " "6"" of type '" "float &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "6"" of type '" "float &""'"); - } - arg6 = reinterpret_cast< float * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3f_getBounds" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ((SbBox3f const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getBounds" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getBounds" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbBox3f const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3f_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3f_getBounds'.\n Possible C/C++ prototypes are:\n"" getBounds(SbBox3f const *,float &,float &,float &,float &,float &,float &)\n"" getBounds(SbBox3f const *,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getOrigin" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getOrigin" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getOrigin" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getSize" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getSize" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getSize" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getSize" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSize" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getSize(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_makeEmpty" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_isEmpty" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBool)((SbBox3f const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_hasVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_hasVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_hasVolume" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbBool)((SbBox3f const *)arg1)->hasVolume(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getSpan" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbBox3f const *)arg1)->getSpan((SbVec3f const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_transform" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getVolume" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (float)((SbBox3f const *)arg1)->getVolume(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_outside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - int *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_outside",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_outside" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_outside" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3f_outside" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_outside" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (SbBool)((SbBox3f const *)arg1)->outside((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_getClosestPoint" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbBox3f const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f_output" "', argument " "1"" of type '" "SbBox3f const *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbBox3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f___eq__" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f___eq__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f___eq__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (int)SbBox3f___eq__(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = (SbBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3f___ne__" "', argument " "1"" of type '" "SbBox3f *""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3f___ne__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3f___ne__" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (int)SbBox3f___ne__(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",0,0)) SWIG_fail; - result = (SbMatrix *)new SbMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - SbMatrix *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",16,16,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbMatrix" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbMatrix" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbMatrix" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbMatrix" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbMatrix" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbMatrix" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SbMatrix" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SbMatrix" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SbMatrix" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_SbMatrix" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_SbMatrix" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SbMatrix" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SbMatrix" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SbMatrix" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SbMatrix" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "new_SbMatrix" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - result = (SbMatrix *)new SbMatrix(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMat *arg1 = 0 ; - SbMatrix *result = 0 ; - SbMat temp1 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",1,1,&obj0)) SWIG_fail; - { - convert_SbMat_array(obj0, temp1); - arg1 = &temp1; - } - result = (SbMatrix *)new SbMatrix((SbMat const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMat *arg1 = (SbMat *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_a_4__a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbMatrix" "', argument " "1"" of type '" "SbMat const *""'"); - } - arg1 = reinterpret_cast< SbMat * >(argp1); - result = (SbMatrix *)new SbMatrix((SbMat const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[17]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 16); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbMatrix__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_4__a_4__float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbMatrix__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbMatrix__SWIG_2(self, args); - } - } - if (argc == 16) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbMatrix__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbMatrix'.\n Possible C/C++ prototypes are:\n"" SbMatrix()\n"" SbMatrix(float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n"" SbMatrix(SbMat const &)\n"" SbMatrix(SbMat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbMatrix" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setValue" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - convert_SbMat_array(obj1, temp2); - arg2 = &temp2; - } - (arg1)->setValue((SbMat const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getValue" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - SbMat const &_result_ref = ((SbMatrix const *)arg1)->getValue(); - result = (SbMat *) &_result_ref; - } - { - resultobj = Py_BuildValue("([ffff][ffff][ffff][ffff])", - (double)(*result)[0][0], - (double)(*result)[0][1], - (double)(*result)[0][2], - (double)(*result)[0][3], - - (double)(*result)[1][0], - (double)(*result)[1][1], - (double)(*result)[1][2], - (double)(*result)[1][3], - - (double)(*result)[2][0], - (double)(*result)[2][1], - (double)(*result)[2][2], - (double)(*result)[2][3], - - (double)(*result)[3][0], - (double)(*result)[3][1], - (double)(*result)[3][2], - (double)(*result)[3][3]); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_makeIdentity" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - (arg1)->makeIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setRotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setRotate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setRotate" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setRotate" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setRotate" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setRotate((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_inverse" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = ((SbMatrix const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - int arg6 ; - int arg7 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det3",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det3" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix_det3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbMatrix_det3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbMatrix_det3" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbMatrix_det3" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbMatrix_det3" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbMatrix_det3" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - result = (float)((SbMatrix const *)arg1)->det3(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det3" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (float)((SbMatrix const *)arg1)->det3(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det3(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_det3__SWIG_1(self, args); - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbMatrix_det3__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_det3'.\n Possible C/C++ prototypes are:\n"" det3(SbMatrix const *,int,int,int,int,int,int)\n"" det3(SbMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_det4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_det4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_det4" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (float)((SbMatrix const *)arg1)->det4(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_equals" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_equals" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_equals" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbMatrix_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbMatrix const *)arg1)->equals((SbMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___imul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___imul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___imul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->operator *=((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getValue" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - convert_SbMat_array(obj1, temp2); - arg2 = &temp2; - } - ((SbMatrix const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbMatrix_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbMatrix const *)\n"" getValue(SbMatrix const *,SbMat &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_identity",0,0)) SWIG_fail; - result = SbMatrix::identity(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setScale" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setScale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setScale" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setScale((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setScale__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbMatrix_setScale__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_setScale'.\n Possible C/C++ prototypes are:\n"" setScale(SbMatrix *,float const)\n"" setScale(SbMatrix *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTranslate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTranslate" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTranslate((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4,(SbRotation const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_setTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_setTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "5"" of type '" "SbRotation const &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbMatrix_setTransform" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_setTransform" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - (arg1)->setTransform((SbVec3f const &)*arg2,(SbRotation const &)*arg3,(SbVec3f const &)*arg4,(SbRotation const &)*arg5,(SbVec3f const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_setTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_0(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_setTransform__SWIG_2(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_setTransform'.\n Possible C/C++ prototypes are:\n"" setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &)\n"" setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &,SbRotation const &)\n"" setTransform(SbMatrix *,SbVec3f const &,SbRotation const &,SbVec3f const &,SbRotation const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_getTransform" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_getTransform" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_getTransform" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - ((SbMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_factor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - SbMatrix *arg6 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_factor",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_factor" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_factor" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_factor" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbMatrix_factor" "', argument " "4"" of type '" "SbMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "4"" of type '" "SbMatrix &""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbMatrix_factor" "', argument " "5"" of type '" "SbVec3f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "5"" of type '" "SbVec3f &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbMatrix_factor" "', argument " "6"" of type '" "SbMatrix &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_factor" "', argument " "6"" of type '" "SbMatrix &""'"); - } - arg6 = reinterpret_cast< SbMatrix * >(argp6); - result = (SbBool)(arg1)->factor(*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_LUDecomposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int *arg2 ; - float *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_LUDecomposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_LUDecomposition" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_LUDecomposition" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_LUDecomposition" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_LUDecomposition" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - result = (SbBool)(arg1)->LUDecomposition(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_LUBackSubstitution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int *arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_LUBackSubstitution",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_LUBackSubstitution" "', argument " "3"" of type '" "float [4]""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SbMatrix const *)arg1)->LUBackSubstitution(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_transpose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_transpose" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = ((SbMatrix const *)arg1)->transpose(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multRight" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->multRight((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multLeft" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbMatrix &_result_ref = (arg1)->multLeft((SbMatrix const &)*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multMatrixVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multMatrixVec",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multMatrixVec" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multMatrixVec((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multVecMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multVecMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multVecMatrix((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multDirMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multDirMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multDirMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbMatrix const *)arg1)->multDirMatrix((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multLineMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbLine *arg2 = 0 ; - SbLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multLineMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multLineMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multLineMatrix" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLineMatrix" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbMatrix_multLineMatrix" "', argument " "3"" of type '" "SbLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multLineMatrix" "', argument " "3"" of type '" "SbLine &""'"); - } - arg3 = reinterpret_cast< SbLine * >(argp3); - ((SbMatrix const *)arg1)->multLineMatrix((SbLine const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec4f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_multVecMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_multVecMatrix" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ((SbMatrix const *)arg1)->multVecMatrix((SbVec4f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec4f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_multVecMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_multVecMatrix__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_multVecMatrix__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_multVecMatrix'.\n Possible C/C++ prototypes are:\n"" multVecMatrix(SbMatrix const *,SbVec3f const &,SbVec3f &)\n"" multVecMatrix(SbMatrix const *,SbVec4f const &,SbVec4f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_output" "', argument " "1"" of type '" "SbMatrix const *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbMatrix const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (PyObject *)SbMatrix_getTransform__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix_getTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix_getTransform" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix_getTransform" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (PyObject *)SbMatrix_getTransform__SWIG_2(arg1,*arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix_getTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix_getTransform__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbMatrix_getTransform'.\n Possible C/C++ prototypes are:\n"" getTransform(SbMatrix const *,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &)\n"" getTransform(SbMatrix *)\n"" getTransform(SbMatrix *,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___mul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbMatrix___mul____SWIG_0(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___mul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbMatrix___mul____SWIG_1(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbMatrix___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___rmul__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___rmul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___rmul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbMatrix___rmul__(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___eq__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___eq__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___eq__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)SbMatrix___eq__(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___ne__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbMatrix___ne__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbMatrix___ne__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)SbMatrix___ne__(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMatrix___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = (SbMatrix *) 0 ; - int arg2 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMatrix___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMatrix___getitem__" "', argument " "1"" of type '" "SbMatrix *""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbMatrix___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float *)SbMatrix___getitem__(arg1,arg2); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",0,0)) SWIG_fail; - result = (SbXfBox3f *)new SbXfBox3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbXfBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbXfBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbXfBox3f *)new SbXfBox3f((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - SbXfBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbXfBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbXfBox3f" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - result = (SbXfBox3f *)new SbXfBox3f((SbBox3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbXfBox3f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbXfBox3f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbXfBox3f__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbXfBox3f__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbXfBox3f'.\n Possible C/C++ prototypes are:\n"" SbXfBox3f()\n"" SbXfBox3f(SbVec3f const &,SbVec3f const &)\n"" SbXfBox3f(SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbXfBox3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbXfBox3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbXfBox3f" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_setTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_setTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_setTransform" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_setTransform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_setTransform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setTransform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getTransform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getTransform" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - SbMatrix const &_result_ref = ((SbXfBox3f const *)arg1)->getTransform(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getInverse" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - SbMatrix const &_result_ref = ((SbXfBox3f const *)arg1)->getInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getCenter" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = ((SbXfBox3f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->extendBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_extendBy" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - (arg1)->extendBy((SbXfBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbXfBox3f_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbXfBox3f *,SbVec3f const &)\n"" extendBy(SbXfBox3f *,SbBox3f const &)\n"" extendBy(SbXfBox3f *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_intersect" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_intersect" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (SbBool)((SbXfBox3f const *)arg1)->intersect((SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbXfBox3f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbXfBox3f_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbXfBox3f const *,SbVec3f const &)\n"" intersect(SbXfBox3f const *,SbBox3f const &)\n"" intersect(SbXfBox3f const *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getSpan",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getSpan" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbXfBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbXfBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_getSpan" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ((SbXfBox3f const *)arg1)->getSpan((SbVec3f const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbBox3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_project",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_project" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = ((SbXfBox3f const *)arg1)->project(); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_transform" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f_transform" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_getVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_getVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_getVolume" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - result = (float)((SbXfBox3f const *)arg1)->getVolume(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f_output" "', argument " "1"" of type '" "SbXfBox3f const *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbXfBox3f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f___eq__" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f___eq__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f___eq__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (int)SbXfBox3f___eq__(arg1,(SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbXfBox3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbXfBox3f *arg1 = (SbXfBox3f *) 0 ; - SbXfBox3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbXfBox3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbXfBox3f___ne__" "', argument " "1"" of type '" "SbXfBox3f *""'"); - } - arg1 = reinterpret_cast< SbXfBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbXfBox3f___ne__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbXfBox3f___ne__" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - result = (int)SbXfBox3f___ne__(arg1,(SbXfBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbXfBox3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbXfBox3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getTypeId" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = ((SoGetBoundingBoxAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetBoundingBoxAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetBoundingBoxAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetBoundingBoxAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetBoundingBoxAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetBoundingBoxAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetBoundingBoxAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoGetBoundingBoxAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetBoundingBoxAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGetBoundingBoxAction *)new SoGetBoundingBoxAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetBoundingBoxAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetBoundingBoxAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetBoundingBoxAction" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_initClass",0,0)) SWIG_fail; - SoGetBoundingBoxAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getViewportRegion" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGetBoundingBoxAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBox3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getBoundingBox" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = ((SoGetBoundingBoxAction const *)arg1)->getBoundingBox(); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getXfBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbXfBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getXfBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getXfBoundingBox" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbXfBox3f &_result_ref = (arg1)->getXfBoundingBox(); - result = (SbXfBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - { - SbVec3f const &_result_ref = ((SoGetBoundingBoxAction const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setInCameraSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setInCameraSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setInCameraSpace" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetBoundingBoxAction_setInCameraSpace" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setInCameraSpace(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isInCameraSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isInCameraSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isInCameraSpace" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isInCameraSpace(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - SoGetBoundingBoxAction::ResetType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "4"" of type '" "SoGetBoundingBoxAction::ResetType""'"); - } - arg4 = static_cast< SoGetBoundingBoxAction::ResetType >(val4); - (arg1)->setResetPath((SoPath const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setResetPath((SoPath const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setResetPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setResetPath" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setResetPath((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setResetPath(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetBoundingBoxAction_setResetPath__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetBoundingBoxAction_setResetPath'.\n Possible C/C++ prototypes are:\n"" setResetPath(SoGetBoundingBoxAction *,SoPath const *,SbBool const,SoGetBoundingBoxAction::ResetType const)\n"" setResetPath(SoGetBoundingBoxAction *,SoPath const *,SbBool const)\n"" setResetPath(SoGetBoundingBoxAction *,SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getResetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getResetPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SoPath *)((SoGetBoundingBoxAction const *)arg1)->getResetPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isResetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isResetPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isResetPath" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isResetPath(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isResetBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isResetBefore",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isResetBefore" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isResetBefore(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_getWhatReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SoGetBoundingBoxAction::ResetType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_getWhatReset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_getWhatReset" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SoGetBoundingBoxAction::ResetType)((SoGetBoundingBoxAction const *)arg1)->getWhatReset(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_checkResetBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_checkResetBefore",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_checkResetBefore" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->checkResetBefore(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_checkResetAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_checkResetAfter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_checkResetAfter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->checkResetAfter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->extendBy((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbXfBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_extendBy" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - (arg1)->extendBy((SbXfBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbXfBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_extendBy__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetBoundingBoxAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGetBoundingBoxAction_extendBy__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetBoundingBoxAction_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SoGetBoundingBoxAction *,SbBox3f const &)\n"" extendBy(SoGetBoundingBoxAction *,SbXfBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_setCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_setCenter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetBoundingBoxAction_setCenter" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setCenter((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_isCenterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_isCenterSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_isCenterSet" "', argument " "1"" of type '" "SoGetBoundingBoxAction const *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - result = (SbBool)((SoGetBoundingBoxAction const *)arg1)->isCenterSet(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetBoundingBoxAction_resetCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetBoundingBoxAction *arg1 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetBoundingBoxAction_resetCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetBoundingBoxAction_resetCenter" "', argument " "1"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg1 = reinterpret_cast< SoGetBoundingBoxAction * >(argp1); - (arg1)->resetCenter(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetBoundingBoxAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetBoundingBoxAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",0,0)) SWIG_fail; - result = (SbVec4f *)new SbVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - SbVec4f *result = 0 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec4f *)new SbVec4f((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbVec4f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbVec4f *)new SbVec4f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec4f__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4f__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4f'.\n Possible C/C++ prototypes are:\n"" SbVec4f()\n"" SbVec4f(float const [4])\n"" SbVec4f(float const,float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_dot" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_dot" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_dot" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (float)((SbVec4f const *)arg1)->dot((SbVec4f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_equals" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_equals" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_equals" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbVec4f const *)arg1)->equals((SbVec4f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_getReal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_getReal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_getReal" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f_getReal" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f_getReal" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbVec4f const *)arg1)->getReal(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_getValue" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float *)((SbVec4f const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_length" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float)((SbVec4f const *)arg1)->length(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_negate" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_normalize" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (float)(arg1)->normalize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float *arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec4f &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_setValue" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbVec4f &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec4f *,float const [4])\n"" setValue(SbVec4f *,float const,float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___imul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec4f &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___idiv__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbVec4f &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___iadd__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___iadd__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___iadd__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4f &_result_ref = (arg1)->operator +=((SbVec4f const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___isub__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___isub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___isub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - { - SbVec4f &_result_ref = (arg1)->operator -=((SbVec4f const &)*arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___neg__" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = ((SbVec4f const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f_output" "', argument " "1"" of type '" "SbVec4f const *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec4f const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___add__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___add__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___add__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = SbVec4f___add__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___sub__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___sub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___sub__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = SbVec4f___sub__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___mul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbMatrix *arg2 = 0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___mul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___mul__" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = SbVec4f___mul____SWIG_1(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4f___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4f___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___rmul__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - float arg2 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___div__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec4f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___eq__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___eq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___eq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)SbVec4f___eq__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___nq__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4f___nq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4f___nq__" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)SbVec4f___nq__(arg1,(SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___getitem__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbVec4f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4f___setitem__" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4f___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SbVec4f___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4f" "', argument " "1"" of type '" "SbVec4f *""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",0,0)) SWIG_fail; - result = (SbRotation *)new SbRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbRotation *)new SbRotation((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 ; - SbRotation *result = 0 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbRotation *)new SbRotation((float const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbRotation *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbRotation" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbRotation" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbRotation *)new SbRotation(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - result = (SbRotation *)new SbRotation((SbMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbRotation *)new SbRotation((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbRotation__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbRotation__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbRotation__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbRotation__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbRotation__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbRotation__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbRotation'.\n Possible C/C++ prototypes are:\n"" SbRotation()\n"" SbRotation(SbVec3f const &,float const)\n"" SbRotation(float const [4])\n"" SbRotation(float const,float const,float const,float const)\n"" SbRotation(SbMatrix const &)\n"" SbRotation(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getValue" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - result = (float *)((SbRotation const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbRotation &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3f(); - } - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getAxisAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getAxisAngle" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ((SbRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3f, 1); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_getMatrix" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ((SbRotation const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_invert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_invert" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - SbRotation &_result_ref = (arg1)->invert(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_inverse" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - result = ((SbRotation const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float *arg2 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - { - SbRotation &_result_ref = (arg1)->setValue((float const (*))arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbMatrix *arg2 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - { - SbRotation &_result_ref = (arg1)->setValue((SbMatrix const &)*arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbRotation &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,arg3); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_setValue" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbRotation &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation_setValue__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbRotation_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbRotation *,float const,float const,float const,float const)\n"" setValue(SbRotation *,float const [4])\n"" setValue(SbRotation *,SbMatrix const &)\n"" setValue(SbRotation *,SbVec3f const &,float const)\n"" setValue(SbRotation *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___imul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - { - SbRotation &_result_ref = (arg1)->operator *=((SbRotation const &)*arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___imul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbRotation &_result_ref = (arg1)->operator *=(arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbRotation___imul__'.\n Possible C/C++ prototypes are:\n"" operator *=(SbRotation *,SbRotation const &)\n"" operator *=(SbRotation *,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - float arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_equals" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_equals" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_equals" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_equals" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbBool)((SbRotation const *)arg1)->equals((SbRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_multVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_multVec",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_multVec" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_multVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_multVec" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ((SbRotation const *)arg1)->multVec((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_scaleAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_scaleAngle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_scaleAngle" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation_scaleAngle" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleAngle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_slerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = 0 ; - SbRotation *arg2 = 0 ; - float arg3 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_slerp",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_slerp" "', argument " "1"" of type '" "SbRotation const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_slerp" "', argument " "1"" of type '" "SbRotation const &""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation_slerp" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation_slerp" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbRotation_slerp" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = SbRotation::slerp((SbRotation const &)*arg1,(SbRotation const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_identity",0,0)) SWIG_fail; - result = SbRotation::identity(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation_output" "', argument " "1"" of type '" "SbRotation const *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbRotation const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = SbRotation___mul____SWIG_0(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - double arg2 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbRotation___mul____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___mul__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___mul__" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SbRotation___mul____SWIG_2(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbRotation___mul____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbRotation___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___eq__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___eq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___eq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)SbRotation___eq__(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRotation___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - SbRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRotation___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRotation___nq__" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbRotation___nq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbRotation___nq__" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)SbRotation___nq__(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRotation *arg1 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbRotation" "', argument " "1"" of type '" "SbRotation *""'"); - } - arg1 = reinterpret_cast< SbRotation * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTypeId" "', argument " "1"" of type '" "SoGetMatrixAction const *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - result = ((SoGetMatrixAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetMatrixAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetMatrixAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetMatrixAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetMatrixAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetMatrixAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetMatrixAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoGetMatrixAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetMatrixAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGetMatrixAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGetMatrixAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoGetMatrixAction *)new SoGetMatrixAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetMatrixAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetMatrixAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetMatrixAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetMatrixAction" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_initClass",0,0)) SWIG_fail; - SoGetMatrixAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetMatrixAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getViewportRegion" "', argument " "1"" of type '" "SoGetMatrixAction const *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoGetMatrixAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getMatrix" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getInverse" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTextureMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTextureMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTextureMatrix" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getTextureMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetMatrixAction_getTextureInverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetMatrixAction *arg1 = (SoGetMatrixAction *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetMatrixAction_getTextureInverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetMatrixAction_getTextureInverse" "', argument " "1"" of type '" "SoGetMatrixAction *""'"); - } - arg1 = reinterpret_cast< SoGetMatrixAction * >(argp1); - { - SbMatrix &_result_ref = (arg1)->getTextureInverse(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetMatrixAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetMatrixAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTypeId" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = ((SoGetPrimitiveCountAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getClassTypeId",0,0)) SWIG_fail; - result = SoGetPrimitiveCountAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGetPrimitiveCountAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoGetPrimitiveCountAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGetPrimitiveCountAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGetPrimitiveCountAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGetPrimitiveCountAction",0,0)) SWIG_fail; - result = (SoGetPrimitiveCountAction *)new SoGetPrimitiveCountAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGetPrimitiveCountAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGetPrimitiveCountAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGetPrimitiveCountAction" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_initClass",0,0)) SWIG_fail; - SoGetPrimitiveCountAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTriangleCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTriangleCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTriangleCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getTriangleCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getLineCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getLineCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getLineCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getPointCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getPointCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getPointCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getPointCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getTextCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getTextCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getTextCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getTextCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getImageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getImageCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getImageCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction const *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (int)((SoGetPrimitiveCountAction const *)arg1)->getImageCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_containsNoPrimitives(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_containsNoPrimitives",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_containsNoPrimitives" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->containsNoPrimitives(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_containsNonTriangleShapes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_containsNonTriangleShapes" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->containsNonTriangleShapes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_is3DTextCountedAsTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->is3DTextCountedAsTriangles(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setCount3DTextAsTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setCount3DTextAsTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setCount3DTextAsTriangles" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCount3DTextAsTriangles(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_canApproximateCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_canApproximateCount",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_canApproximateCount" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SbBool)(arg1)->canApproximateCount(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setCanApproximate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setCanApproximate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setCanApproximate" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setCanApproximate" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCanApproximate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoDecimationTypeElement::Type arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setDecimationValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setDecimationValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoDecimationTypeElement::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_setDecimationValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_setDecimationValue" "', argument " "2"" of type '" "SoDecimationTypeElement::Type""'"); - } - arg2 = static_cast< SoDecimationTypeElement::Type >(val2); - (arg1)->setDecimationValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_setDecimationValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetPrimitiveCountAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGetPrimitiveCountAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGetPrimitiveCountAction_setDecimationValue__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGetPrimitiveCountAction_setDecimationValue'.\n Possible C/C++ prototypes are:\n"" setDecimationValue(SoGetPrimitiveCountAction *,SoDecimationTypeElement::Type,float)\n"" setDecimationValue(SoGetPrimitiveCountAction *,SoDecimationTypeElement::Type)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getDecimationType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - SoDecimationTypeElement::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getDecimationType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getDecimationType" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (SoDecimationTypeElement::Type)(arg1)->getDecimationType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_getDecimationPercentage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_getDecimationPercentage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_getDecimationPercentage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - result = (float)(arg1)->getDecimationPercentage(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumTriangles",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumTriangles" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumTriangles(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumLines",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumLines" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumLines" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumLines(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumPoints",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumPoints" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumPoints" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumPoints(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumText",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumText" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumText" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumText(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_addNumImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_addNumImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_addNumImage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGetPrimitiveCountAction_addNumImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addNumImage(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumTriangles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumTriangles",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumTriangles" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumTriangles(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumLines",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumLines" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumLines(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumPoints" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumPoints(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumText",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumText" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumText(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGetPrimitiveCountAction_incNumImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGetPrimitiveCountAction *arg1 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGetPrimitiveCountAction_incNumImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGetPrimitiveCountAction_incNumImage" "', argument " "1"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg1 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp1); - (arg1)->incNumImage(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGetPrimitiveCountAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGetPrimitiveCountAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getTypeId" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = ((SoHandleEventAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleEventAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoHandleEventAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoHandleEventAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoHandleEventAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoHandleEventAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoHandleEventAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoHandleEventAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoHandleEventAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoHandleEventAction *)new SoHandleEventAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoHandleEventAction" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_initClass",0,0)) SWIG_fail; - SoHandleEventAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoHandleEventAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getViewportRegion" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoHandleEventAction const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setEvent" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - (arg1)->setEvent((SoEvent const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getEvent" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoEvent *)((SoHandleEventAction const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setHandled" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - (arg1)->setHandled(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_isHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_isHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_isHandled" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SbBool)((SoHandleEventAction const *)arg1)->isHandled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setGrabber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setGrabber" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setGrabber" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setGrabber(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_releaseGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_releaseGrabber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_releaseGrabber" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - (arg1)->releaseGrabber(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getGrabber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getGrabber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getGrabber" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoNode *)((SoHandleEventAction const *)arg1)->getGrabber(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setPickRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setPickRoot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setPickRoot" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleEventAction_setPickRoot" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setPickRoot(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickRoot",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickRoot" "', argument " "1"" of type '" "SoHandleEventAction const *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoNode *)((SoHandleEventAction const *)arg1)->getPickRoot(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_setPickRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_setPickRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_setPickRadius" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoHandleEventAction_setPickRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPickRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickedPoint" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - result = (SoPickedPoint *)(arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleEventAction_getPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleEventAction *arg1 = (SoHandleEventAction *) 0 ; - SoPickedPointList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleEventAction_getPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleEventAction_getPickedPointList" "', argument " "1"" of type '" "SoHandleEventAction *""'"); - } - arg1 = reinterpret_cast< SoHandleEventAction * >(argp1); - { - SoPickedPointList const &_result_ref = (arg1)->getPickedPointList(); - result = (SoPickedPointList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleEventAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleEventAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_getTypeId" "', argument " "1"" of type '" "SoPickAction const *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - result = ((SoPickAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getClassTypeId",0,0)) SWIG_fail; - result = SoPickAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoPickAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoPickAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoPickAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_initClass",0,0)) SWIG_fail; - SoPickAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_setViewportRegion" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickAction_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_getViewportRegion" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - { - SbViewportRegion const &_result_ref = (arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_enableCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_enableCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_enableCulling" "', argument " "1"" of type '" "SoPickAction *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickAction_enableCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableCulling(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickAction_isCullingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickAction *arg1 = (SoPickAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickAction_isCullingEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickAction_isCullingEnabled" "', argument " "1"" of type '" "SoPickAction const *""'"); - } - arg1 = reinterpret_cast< SoPickAction * >(argp1); - result = (SbBool)((SoPickAction const *)arg1)->isCullingEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getTypeId" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = ((SoRayPickAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getClassTypeId",0,0)) SWIG_fail; - result = SoRayPickAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoRayPickAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoRayPickAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoRayPickAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRayPickAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoRayPickAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRayPickAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoRayPickAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoRayPickAction" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoRayPickAction *)new SoRayPickAction((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRayPickAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoRayPickAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoRayPickAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoRayPickAction" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_initClass",0,0)) SWIG_fail; - SoRayPickAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setPoint" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setPoint" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setPoint" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPoint((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setNormalizedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setNormalizedPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setNormalizedPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setNormalizedPoint((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRadius" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_setRay" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoRayPickAction_setRay" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_setRay" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setRay",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_setRay" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setRay((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setRay(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_setRay__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_setRay'.\n Possible C/C++ prototypes are:\n"" setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &,float,float)\n"" setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &,float)\n"" setRay(SoRayPickAction *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setPickAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setPickAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setPickAll" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_setPickAll" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPickAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_isPickAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_isPickAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_isPickAll" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SbBool)((SoRayPickAction const *)arg1)->isPickAll(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPointList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SoPickedPointList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPointList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPointList" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SoPickedPointList const &_result_ref = ((SoRayPickAction const *)arg1)->getPickedPointList(); - result = (SoPickedPointList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPointList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - int arg2 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPickedPoint *)((SoRayPickAction const *)arg1)->getPickedPoint(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getPickedPoint" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SoPickedPoint *)((SoRayPickAction const *)arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getPickedPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_getPickedPoint__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_getPickedPoint__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_getPickedPoint'.\n Possible C/C++ prototypes are:\n"" getPickedPoint(SoRayPickAction const *,int const)\n"" getPickedPoint(SoRayPickAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_computeWorldSpaceRay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_computeWorldSpaceRay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_computeWorldSpaceRay" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->computeWorldSpaceRay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_hasWorldSpaceRay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_hasWorldSpaceRay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_hasWorldSpaceRay" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - result = (SbBool)((SoRayPickAction const *)arg1)->hasWorldSpaceRay(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setObjectSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setObjectSpace" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->setObjectSpace(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_setObjectSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_setObjectSpace" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->setObjectSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_setObjectSpace(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setObjectSpace__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_setObjectSpace__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_setObjectSpace'.\n Possible C/C++ prototypes are:\n"" setObjectSpace(SoRayPickAction *)\n"" setObjectSpace(SoRayPickAction *,SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - SbBool *arg7 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoRayPickAction_intersect" "', argument " "5"" of type '" "SbVec3f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "5"" of type '" "SbVec3f &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoRayPickAction_intersect" "', argument " "6"" of type '" "SbVec3f &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "6"" of type '" "SbVec3f &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoRayPickAction_intersect" "', argument " "7"" of type '" "SbBool &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "7"" of type '" "SbBool &""'"); - } - arg7 = reinterpret_cast< SbBool * >(argp7); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SoRayPickAction const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoRayPickAction_intersect" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_intersect" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)(arg1)->intersect((SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_4(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_6(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_5(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_1(self, args); - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoRayPickAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoRayPickAction_intersect__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoRayPickAction_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SoRayPickAction const *,SbVec3f const &,SbVec3f const &,SbVec3f const &,SbVec3f &,SbVec3f &,SbBool &)\n"" intersect(SoRayPickAction const *,SbVec3f const &,SbVec3f const &,SbVec3f &)\n"" intersect(SoRayPickAction const *,SbVec3f const &)\n"" intersect(SoRayPickAction *,SbBox3f const &,SbBool const)\n"" intersect(SoRayPickAction *,SbBox3f const &)\n"" intersect(SoRayPickAction *,SbBox3f const &,SbVec3f &,SbBool const)\n"" intersect(SoRayPickAction *,SbBox3f const &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getViewVolume" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SbViewVolume const &_result_ref = (arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_getLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbLine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_getLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_getLine" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - { - SbLine const &_result_ref = (arg1)->getLine(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_isBetweenPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_isBetweenPlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "1"" of type '" "SoRayPickAction const *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_isBetweenPlanes" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SoRayPickAction const *)arg1)->isBetweenPlanes((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_addIntersection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - SbVec3f *arg2 = 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_addIntersection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_addIntersection" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoRayPickAction_addIntersection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SoPickedPoint *)(arg1)->addIntersection((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRayPickAction_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRayPickAction *arg1 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRayPickAction_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRayPickAction_reset" "', argument " "1"" of type '" "SoRayPickAction *""'"); - } - arg1 = reinterpret_cast< SoRayPickAction * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRayPickAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRayPickAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSearchAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getTypeId" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = ((SoSearchAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getClassTypeId",0,0)) SWIG_fail; - result = SoSearchAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSearchAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoSearchAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoSearchAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSearchAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSearchAction",0,0)) SWIG_fail; - result = (SoSearchAction *)new SoSearchAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSearchAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSearchAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSearchAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSearchAction" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_initClass",0,0)) SWIG_fail; - SoSearchAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setNode" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getNode" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoNode *)((SoSearchAction const *)arg1)->getNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setType" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSearchAction_setType" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setType(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setType" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_setType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSearchAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSearchAction_setType__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSearchAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSearchAction_setType__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSearchAction_setType'.\n Possible C/C++ prototypes are:\n"" setType(SoSearchAction *,SoType const,SbBool const)\n"" setType(SoSearchAction *,SoType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool *arg2 = 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getType" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_getType" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSearchAction_getType" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - result = ((SoSearchAction const *)arg1)->getType(*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setName" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setName(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getName" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = ((SoSearchAction const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setFind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setFind",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setFind" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setFind" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFind(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getFind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getFind",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getFind" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (int)((SoSearchAction const *)arg1)->getFind(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setInterest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoSearchAction::Interest arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setInterest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setInterest" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setInterest" "', argument " "2"" of type '" "SoSearchAction::Interest""'"); - } - arg2 = static_cast< SoSearchAction::Interest >(val2); - (arg1)->setInterest(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getInterest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoSearchAction::Interest result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getInterest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getInterest" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoSearchAction::Interest)((SoSearchAction const *)arg1)->getInterest(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setSearchingAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setSearchingAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setSearchingAll" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSearchAction_setSearchingAll" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setSearchingAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_isSearchingAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_isSearchingAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_isSearchingAll" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SbBool)((SoSearchAction const *)arg1)->isSearchingAll(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getPath" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SoPath *)((SoSearchAction const *)arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_getPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_getPaths",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_getPaths" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - { - SoPathList &_result_ref = (arg1)->getPaths(); - result = (SoPathList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_reset" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_setFound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_setFound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_setFound" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - (arg1)->setFound(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_isFound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_isFound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_isFound" "', argument " "1"" of type '" "SoSearchAction const *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - result = (SbBool)((SoSearchAction const *)arg1)->isFound(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_addPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSearchAction *arg1 = (SoSearchAction *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSearchAction_addPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSearchAction_addPath" "', argument " "1"" of type '" "SoSearchAction *""'"); - } - arg1 = reinterpret_cast< SoSearchAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSearchAction_addPath" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN int Swig_var_SoSearchAction_duringSearchAll_set(PyObject *_val) { - { - int val; - int res = SWIG_AsVal_int(_val, &val); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in variable '""SoSearchAction::duringSearchAll""' of type '""SbBool""'"); - } - SoSearchAction::duringSearchAll = static_cast< SbBool >(val); - } - return 0; -fail: - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SoSearchAction_duringSearchAll_get(void) { - PyObject *pyobj = 0; - - pyobj = SWIG_From_int(static_cast< int >(SoSearchAction::duringSearchAll)); - return pyobj; -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_duringSearchAll_get(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(args)) { - return Swig_var_SoSearchAction_duringSearchAll_get(); -} - - -SWIGINTERN PyObject *_wrap_SoSearchAction_duringSearchAll_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *value; - int res; - - if (!PyArg_ParseTuple(args,(char *)"O:set",&value)) return NULL; - res = Swig_var_SoSearchAction_duringSearchAll_set(value); - return !res ? SWIG_Py_Void() : NULL; -} - - -SWIGINTERN PyObject *SoSearchAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSearchAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWriteAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_getTypeId" "', argument " "1"" of type '" "SoWriteAction const *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - result = ((SoWriteAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getClassTypeId",0,0)) SWIG_fail; - result = SoWriteAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWriteAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWriteAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoWriteAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWriteAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoWriteAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoWriteAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWriteAction",0,0)) SWIG_fail; - result = (SoWriteAction *)new SoWriteAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWriteAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoWriteAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWriteAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoWriteAction" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoWriteAction *)new SoWriteAction(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWriteAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWriteAction(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoWriteAction__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoWriteAction__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoWriteAction'.\n Possible C/C++ prototypes are:\n"" SoWriteAction()\n"" SoWriteAction(SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoWriteAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoWriteAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoWriteAction" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_initClass",0,0)) SWIG_fail; - SoWriteAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_getOutput" "', argument " "1"" of type '" "SoWriteAction const *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - result = (SoOutput *)((SoWriteAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_continueToApply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_continueToApply" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWriteAction_continueToApply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->continueToApply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWriteAction *arg1 = (SoWriteAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWriteAction_continueToApply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWriteAction_continueToApply" "', argument " "1"" of type '" "SoWriteAction *""'"); - } - arg1 = reinterpret_cast< SoWriteAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWriteAction_continueToApply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->continueToApply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWriteAction_continueToApply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoWriteAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoWriteAction_continueToApply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoWriteAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoWriteAction_continueToApply__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoWriteAction_continueToApply'.\n Possible C/C++ prototypes are:\n"" continueToApply(SoWriteAction *,SoNode *)\n"" continueToApply(SoWriteAction *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoWriteAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWriteAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *arg1 = (SoAudioRenderAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_getTypeId" "', argument " "1"" of type '" "SoAudioRenderAction const *""'"); - } - arg1 = reinterpret_cast< SoAudioRenderAction * >(argp1); - result = ((SoAudioRenderAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_getClassTypeId",0,0)) SWIG_fail; - result = SoAudioRenderAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAudioRenderAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoAudioRenderAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoAudioRenderAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoAudioRenderAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioRenderAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoAudioRenderAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_initClass",0,0)) SWIG_fail; - SoAudioRenderAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAudioRenderAction",0,0)) SWIG_fail; - result = (SoAudioRenderAction *)new SoAudioRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioRenderAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioRenderAction *arg1 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAudioRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioRenderAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAudioRenderAction" "', argument " "1"" of type '" "SoAudioRenderAction *""'"); - } - arg1 = reinterpret_cast< SoAudioRenderAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_callDoAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_callDoAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_callDoAction" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAudioRenderAction_callDoAction" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAudioRenderAction::callDoAction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioRenderAction_callAudioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioRenderAction_callAudioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioRenderAction_callAudioRender" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAudioRenderAction_callAudioRender" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoAudioRenderAction::callAudioRender(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAudioRenderAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAudioRenderAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_path_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_path_set" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - if (arg1) (arg1)->path = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_path_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SoPath *) ((arg1)->path); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - enum SoIntersectingPrimitive::PrimitiveType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_type_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectingPrimitive_type_set" "', argument " "2"" of type '" "enum SoIntersectingPrimitive::PrimitiveType""'"); - } - arg2 = static_cast< enum SoIntersectingPrimitive::PrimitiveType >(val2); - if (arg1) (arg1)->type = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - enum SoIntersectingPrimitive::PrimitiveType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_type_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (enum SoIntersectingPrimitive::PrimitiveType) ((arg1)->type); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_vertex_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_vertex_set" "', argument " "2"" of type '" "SbVec3f [3]""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)3; ++ii) arg1->vertex[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""vertex""' of type '""SbVec3f [3]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_vertex_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SbVec3f *)(SbVec3f *) ((arg1)->vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_xf_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_xf_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_xf_vertex_set" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectingPrimitive_xf_vertex_set" "', argument " "2"" of type '" "SbVec3f [3]""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)3; ++ii) arg1->xf_vertex[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""xf_vertex""' of type '""SbVec3f [3]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectingPrimitive_xf_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectingPrimitive_xf_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectingPrimitive_xf_vertex_get" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - result = (SbVec3f *)(SbVec3f *) ((arg1)->xf_vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIntersectingPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIntersectingPrimitive",0,0)) SWIG_fail; - result = (SoIntersectingPrimitive *)new SoIntersectingPrimitive(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIntersectingPrimitive, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIntersectingPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectingPrimitive *arg1 = (SoIntersectingPrimitive *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIntersectingPrimitive",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectingPrimitive, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIntersectingPrimitive" "', argument " "1"" of type '" "SoIntersectingPrimitive *""'"); - } - arg1 = reinterpret_cast< SoIntersectingPrimitive * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIntersectingPrimitive_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIntersectingPrimitive, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_getTypeId" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = ((SoIntersectionDetectionAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getClassTypeId",0,0)) SWIG_fail; - result = SoIntersectionDetectionAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoIntersectionDetectionAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoIntersectionDetectionAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_initClass",0,0)) SWIG_fail; - SoIntersectionDetectionAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIntersectionDetectionAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIntersectionDetectionAction",0,0)) SWIG_fail; - result = (SoIntersectionDetectionAction *)new SoIntersectionDetectionAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIntersectionDetectionAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIntersectionDetectionAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIntersectionDetectionAction" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setIntersectionDetectionEpsilon" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setIntersectionDetectionEpsilon" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setIntersectionDetectionEpsilon(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_getIntersectionDetectionEpsilon" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (float)((SoIntersectionDetectionAction const *)arg1)->getIntersectionDetectionEpsilon(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setIntersectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setIntersectionEpsilon",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoIntersectionDetectionAction_setIntersectionEpsilon" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - SoIntersectionDetectionAction::setIntersectionEpsilon(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_getIntersectionEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_getIntersectionEpsilon",0,0)) SWIG_fail; - result = (float)SoIntersectionDetectionAction::getIntersectionEpsilon(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setTypeEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setTypeEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_setTypeEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setTypeEnabled(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isTypeEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isTypeEnabled(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isTypeEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_isTypeEnabled" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isTypeEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isTypeEnabled(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_isTypeEnabled__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_isTypeEnabled'.\n Possible C/C++ prototypes are:\n"" isTypeEnabled(SoIntersectionDetectionAction const *,SoType,SbBool)\n"" isTypeEnabled(SoIntersectionDetectionAction const *,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setManipsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setManipsEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setManipsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setManipsEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setManipsEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isManipsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isManipsEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isManipsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isManipsEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setDraggersEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setDraggersEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setDraggersEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setDraggersEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDraggersEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isDraggersEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isDraggersEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isDraggersEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isDraggersEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setShapeInternalsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setShapeInternalsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoIntersectionDetectionAction_setShapeInternalsEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShapeInternalsEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_isShapeInternalsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_isShapeInternalsEnabled" "', argument " "1"" of type '" "SoIntersectionDetectionAction const *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - result = (SbBool)((SoIntersectionDetectionAction const *)arg1)->isShapeInternalsEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SoIntersectionDetectionAction::SoIntersectionVisitationCB *arg3 = (SoIntersectionDetectionAction::SoIntersectionVisitationCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "3"" of type '" "SoIntersectionDetectionAction::SoIntersectionVisitationCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addVisitationCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - SoIntersectionDetectionAction::SoIntersectionVisitationCB *arg3 = (SoIntersectionDetectionAction::SoIntersectionVisitationCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "3"" of type '" "SoIntersectionDetectionAction::SoIntersectionVisitationCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->removeVisitationCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoIntersectionDetectionAction *,SoNode *)\n"" apply(SoIntersectionDetectionAction *,SoPath *)\n"" apply(SoIntersectionDetectionAction *,SoPathList const &,SbBool)\n"" apply(SoIntersectionDetectionAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionFilterCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionFilterCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionFilterCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionFilterCB *""'"); - } - } - (arg1)->setFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addIntersectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - (arg1)->addIntersectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeIntersectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoIntersectionDetectionAction::SoIntersectionCB *arg2 = (SoIntersectionDetectionAction::SoIntersectionCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "2"" of type '" "SoIntersectionDetectionAction::SoIntersectionCB *""'"); - } - } - (arg1)->removeIntersectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_addVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addVisitationCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addVisitationCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_addVisitationCallback'.\n Possible C/C++ prototypes are:\n"" addVisitationCallback(SoIntersectionDetectionAction *,SoType,SoIntersectionDetectionAction::SoIntersectionVisitationCB *,void *)\n"" addVisitationCallback(SoIntersectionDetectionAction *,SoType,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeVisitationCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoIntersectionDetectionAction_removeVisitationCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeVisitationCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeVisitationCallback__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_removeVisitationCallback'.\n Possible C/C++ prototypes are:\n"" removeVisitationCallback(SoIntersectionDetectionAction *,SoType,SoIntersectionDetectionAction::SoIntersectionVisitationCB *,void *)\n"" removeVisitationCallback(SoIntersectionDetectionAction *,SoType,PyObject *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_setFilterCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_setFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_setFilterCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_setFilterCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_setFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_setFilterCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_setFilterCallback'.\n Possible C/C++ prototypes are:\n"" setFilterCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionFilterCB *,void *)\n"" setFilterCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionFilterCB *)\n"" setFilterCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n"" setFilterCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_addIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_addIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_addIntersectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_addIntersectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_addIntersectionCallback'.\n Possible C/C++ prototypes are:\n"" addIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *,void *)\n"" addIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *)\n"" addIntersectionCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n"" addIntersectionCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIntersectionDetectionAction *arg1 = (SoIntersectionDetectionAction *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIntersectionDetectionAction_removeIntersectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIntersectionDetectionAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIntersectionDetectionAction_removeIntersectionCallback" "', argument " "1"" of type '" "SoIntersectionDetectionAction *""'"); - } - arg1 = reinterpret_cast< SoIntersectionDetectionAction * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIntersectionDetectionAction_removeIntersectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIntersectionDetectionAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoIntersectionDetectionAction_removeIntersectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIntersectionDetectionAction_removeIntersectionCallback'.\n Possible C/C++ prototypes are:\n"" removeIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *,void *)\n"" removeIntersectionCallback(SoIntersectionDetectionAction *,SoIntersectionDetectionAction::SoIntersectionCB *)\n"" removeIntersectionCallback(SoIntersectionDetectionAction *,PyObject *,PyObject *)\n"" removeIntersectionCallback(SoIntersectionDetectionAction *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoIntersectionDetectionAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIntersectionDetectionAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getTypeId" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = ((SoToVRMLAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getClassTypeId",0,0)) SWIG_fail; - result = SoToVRMLAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoToVRMLAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoToVRMLAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoToVRMLAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoToVRMLAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoToVRMLAction",0,0)) SWIG_fail; - result = (SoToVRMLAction *)new SoToVRMLAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoToVRMLAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoToVRMLAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoToVRMLAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoToVRMLAction" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_initClass",0,0)) SWIG_fail; - SoToVRMLAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoToVRMLAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_apply" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRMLAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoToVRMLAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoToVRMLAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoToVRMLAction *,SoNode *)\n"" apply(SoToVRMLAction *,SoPath *)\n"" apply(SoToVRMLAction *,SoPathList const &,SbBool)\n"" apply(SoToVRMLAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getVRMLSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getVRMLSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getVRMLSceneGraph" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SoNode *)((SoToVRMLAction const *)arg1)->getVRMLSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_expandSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_expandSoFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_expandSoFile" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_expandSoFile" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->expandSoFile(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areSoFileExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areSoFileExpanded",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areSoFileExpanded" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areSoFileExpanded(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_setUrlName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbString arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_setUrlName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_setUrlName" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRMLAction_setUrlName" "', argument " "2"" of type '" "SbString const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRMLAction_setUrlName" "', argument " "2"" of type '" "SbString const""'"); - } else { - SbString * temp = reinterpret_cast< SbString * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setUrlName(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_getUrlName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_getUrlName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_getUrlName" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = ((SoToVRMLAction const *)arg1)->getUrlName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_writeTexCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_writeTexCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_writeTexCoords" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_writeTexCoords" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->writeTexCoords(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areTexCoordWritten(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areTexCoordWritten",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areTexCoordWritten" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areTexCoordWritten(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_expandTexture2Node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_expandTexture2Node",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_expandTexture2Node" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_expandTexture2Node" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->expandTexture2Node(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areTexture2NodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areTexture2NodeExpanded",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areTexture2NodeExpanded" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areTexture2NodeExpanded(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_keepUnknownNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_keepUnknownNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_keepUnknownNodes" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_keepUnknownNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->keepUnknownNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_areUnknownNodeKept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_areUnknownNodeKept",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_areUnknownNodeKept" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->areUnknownNodeKept(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_convertInlineNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_convertInlineNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_convertInlineNodes" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_convertInlineNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->convertInlineNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_doConvertInlineNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_doConvertInlineNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_doConvertInlineNodes" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->doConvertInlineNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_conditionalConversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_conditionalConversion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_conditionalConversion" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_conditionalConversion" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->conditionalConversion(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_doConditionalConversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_doConditionalConversion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_doConditionalConversion" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->doConditionalConversion(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_setVerbosity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_setVerbosity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_setVerbosity" "', argument " "1"" of type '" "SoToVRMLAction *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRMLAction_setVerbosity" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setVerbosity(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRMLAction_isVerbose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRMLAction *arg1 = (SoToVRMLAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRMLAction_isVerbose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRMLAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRMLAction_isVerbose" "', argument " "1"" of type '" "SoToVRMLAction const *""'"); - } - arg1 = reinterpret_cast< SoToVRMLAction * >(argp1); - result = (SbBool)((SoToVRMLAction const *)arg1)->isVerbose(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoToVRMLAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoToVRMLAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_getTypeId" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = ((SoToVRML2Action const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getClassTypeId",0,0)) SWIG_fail; - result = SoToVRML2Action::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoToVRML2Action_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoToVRML2Action::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoToVRML2Action::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoToVRML2Action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoToVRML2Action",0,0)) SWIG_fail; - result = (SoToVRML2Action *)new SoToVRML2Action(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoToVRML2Action, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoToVRML2Action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoToVRML2Action",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoToVRML2Action" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_initClass",0,0)) SWIG_fail; - SoToVRML2Action::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoToVRML2Action_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_apply" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoToVRML2Action_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoToVRML2Action, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoToVRML2Action_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoToVRML2Action_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoToVRML2Action *,SoNode *)\n"" apply(SoToVRML2Action *,SoPath *)\n"" apply(SoToVRML2Action *,SoPathList const &,SbBool)\n"" apply(SoToVRML2Action *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_getVRML2SceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SoVRMLGroup *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_getVRML2SceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_getVRML2SceneGraph" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SoVRMLGroup *)((SoToVRML2Action const *)arg1)->getVRML2SceneGraph(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reuseAppearanceNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reuseAppearanceNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reuseAppearanceNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reuseAppearanceNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reuseAppearanceNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReuseAppearanceNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReuseAppearanceNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReuseAppearanceNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReuseAppearanceNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reusePropertyNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reusePropertyNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reusePropertyNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reusePropertyNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reusePropertyNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReusePropertyNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReusePropertyNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReusePropertyNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReusePropertyNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_reuseGeometryNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_reuseGeometryNodes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_reuseGeometryNodes" "', argument " "1"" of type '" "SoToVRML2Action *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoToVRML2Action_reuseGeometryNodes" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reuseGeometryNodes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoToVRML2Action_doReuseGeometryNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoToVRML2Action *arg1 = (SoToVRML2Action *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoToVRML2Action_doReuseGeometryNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoToVRML2Action, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoToVRML2Action_doReuseGeometryNodes" "', argument " "1"" of type '" "SoToVRML2Action const *""'"); - } - arg1 = reinterpret_cast< SoToVRML2Action * >(argp1); - result = (SbBool)((SoToVRML2Action const *)arg1)->doReuseGeometryNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoToVRML2Action_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoToVRML2Action, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHardCopy_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_init",0,0)) SWIG_fail; - SoHardCopy::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHardCopy_getProductName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_getProductName",0,0)) SWIG_fail; - result = (char *)SoHardCopy::getProductName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHardCopy_getVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHardCopy_getVersion",0,0)) SWIG_fail; - result = (char *)SoHardCopy::getVersion(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHardCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHardCopy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHardCopy",0,0)) SWIG_fail; - result = (SoHardCopy *)new SoHardCopy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHardCopy, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoHardCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHardCopy *arg1 = (SoHardCopy *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoHardCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHardCopy, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoHardCopy" "', argument " "1"" of type '" "SoHardCopy *""'"); - } - arg1 = reinterpret_cast< SoHardCopy * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHardCopy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHardCopy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVectorOutput",0,0)) SWIG_fail; - result = (SoVectorOutput *)new SoVectorOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorOutput" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_openFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_openFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_openFile" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorOutput_openFile" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->openFile((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_closeFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_closeFile",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_closeFile" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - (arg1)->closeFile(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorOutput_getFilePointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorOutput *arg1 = (SoVectorOutput *) 0 ; - FILE *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorOutput_getFilePointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorOutput_getFilePointer" "', argument " "1"" of type '" "SoVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoVectorOutput * >(argp1); - result = (FILE *)(arg1)->getFilePointer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPSVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPSVectorOutput",0,0)) SWIG_fail; - result = (SoPSVectorOutput *)new SoPSVectorOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPSVectorOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPSVectorOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPSVectorOutput" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_setColored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_setColored" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPSVectorOutput_setColored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_setColored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_setColored" "', argument " "1"" of type '" "SoPSVectorOutput *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - (arg1)->setColored(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_setColored(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPSVectorOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPSVectorOutput_setColored__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPSVectorOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPSVectorOutput_setColored__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPSVectorOutput_setColored'.\n Possible C/C++ prototypes are:\n"" setColored(SoPSVectorOutput *,SbBool)\n"" setColored(SoPSVectorOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPSVectorOutput_getColored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPSVectorOutput *arg1 = (SoPSVectorOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPSVectorOutput_getColored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPSVectorOutput_getColored" "', argument " "1"" of type '" "SoPSVectorOutput const *""'"); - } - arg1 = reinterpret_cast< SoPSVectorOutput * >(argp1); - result = (SbBool)((SoPSVectorOutput const *)arg1)->getColored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPSVectorOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPSVectorOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getTypeId" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getClassTypeId",0,0)) SWIG_fail; - result = SoVectorizeAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVectorizeAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoVectorizeAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoVectorizeAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorizeAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorizeAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorizeAction" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getOutput" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorOutput *)((SoVectorizeAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_initClass",0,0)) SWIG_fail; - SoVectorizeAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPathList *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_apply" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->apply((SoPathList const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoPathList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_apply" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoPathList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_apply" "', argument " "2"" of type '" "SoPathList const &""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->apply((SoPathList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_apply(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_apply__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_apply'.\n Possible C/C++ prototypes are:\n"" apply(SoVectorizeAction *,SoNode *)\n"" apply(SoVectorizeAction *,SoPath *)\n"" apply(SoVectorizeAction *,SoPathList const &,SbBool)\n"" apply(SoVectorizeAction *,SoPathList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PageSize *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PageSize temp2 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginStandardPage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "2"" of type '" "SoVectorizeAction::PageSize const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PageSize >(val2); - arg2 = &temp2; - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->beginStandardPage((SoVectorizeAction::PageSize const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PageSize *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PageSize temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginStandardPage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_beginStandardPage" "', argument " "2"" of type '" "SoVectorizeAction::PageSize const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PageSize >(val2); - arg2 = &temp2; - } - (arg1)->beginStandardPage((SoVectorizeAction::PageSize const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginStandardPage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginStandardPage__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginStandardPage__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginStandardPage'.\n Possible C/C++ prototypes are:\n"" beginStandardPage(SoVectorizeAction *,SoVectorizeAction::PageSize const &,float const)\n"" beginStandardPage(SoVectorizeAction *,SoVectorizeAction::PageSize const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginPage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_beginPage" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->beginPage((SbVec2f const &)*arg2,(SbVec2f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginPage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginPage" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->beginPage((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginPage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginPage__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginPage__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginPage'.\n Possible C/C++ prototypes are:\n"" beginPage(SoVectorizeAction *,SbVec2f const &,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n"" beginPage(SoVectorizeAction *,SbVec2f const &,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_endPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_endPage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_endPage" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->endPage(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_calibrate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_calibrate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_calibrate" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_calibrate" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_calibrate" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->calibrate((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_beginViewport" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->beginViewport((SbVec2f const &)*arg2,(SbVec2f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->beginViewport((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_beginViewport" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->beginViewport((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_beginViewport",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_beginViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->beginViewport(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_beginViewport(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_beginViewport__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_beginViewport'.\n Possible C/C++ prototypes are:\n"" beginViewport(SoVectorizeAction *,SbVec2f const &,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n"" beginViewport(SoVectorizeAction *,SbVec2f const &,SbVec2f const &)\n"" beginViewport(SoVectorizeAction *,SbVec2f const &)\n"" beginViewport(SoVectorizeAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_endViewport(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_endViewport",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_endViewport" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - (arg1)->endViewport(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::Orientation arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setOrientation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setOrientation" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setOrientation" "', argument " "2"" of type '" "SoVectorizeAction::Orientation""'"); - } - arg2 = static_cast< SoVectorizeAction::Orientation >(val2); - (arg1)->setOrientation(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::Orientation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getOrientation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getOrientation" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::Orientation)((SoVectorizeAction const *)arg1)->getOrientation(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBackgroundColor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setBackgroundColor(arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBackgroundColor" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBackgroundColor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBackgroundColor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setBackgroundColor__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setBackgroundColor__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setBackgroundColor'.\n Possible C/C++ prototypes are:\n"" setBackgroundColor(SoVectorizeAction *,SbBool,SbColor const &)\n"" setBackgroundColor(SoVectorizeAction *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_getBackgroundColor" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (SbBool)((SoVectorizeAction const *)arg1)->getBackgroundColor(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setNominalWidth",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setNominalWidth(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setNominalWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setNominalWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setNominalWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setNominalWidth(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setNominalWidth__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setNominalWidth__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setNominalWidth'.\n Possible C/C++ prototypes are:\n"" setNominalWidth(SoVectorizeAction *,float,SoVectorizeAction::DimensionUnit)\n"" setNominalWidth(SoVectorizeAction *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getNominalWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = (float)((SoVectorizeAction const *)arg1)->getNominalWidth(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getNominalWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getNominalWidth" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getNominalWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getNominalWidth(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getNominalWidth__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getNominalWidth__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getNominalWidth'.\n Possible C/C++ prototypes are:\n"" getNominalWidth(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n"" getNominalWidth(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPixelImageSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setPixelImageSize(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPixelImageSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPixelImageSize" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setPixelImageSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPixelImageSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPixelImageSize__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPixelImageSize__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setPixelImageSize'.\n Possible C/C++ prototypes are:\n"" setPixelImageSize(SoVectorizeAction *,float,SoVectorizeAction::DimensionUnit)\n"" setPixelImageSize(SoVectorizeAction *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPixelImageSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = (float)((SoVectorizeAction const *)arg1)->getPixelImageSize(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPixelImageSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPixelImageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getPixelImageSize(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPixelImageSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getPixelImageSize__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getPixelImageSize__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getPixelImageSize'.\n Possible C/C++ prototypes are:\n"" getPixelImageSize(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n"" getPixelImageSize(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPointStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PointStyle *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 ; - SoVectorizeAction::PointStyle temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPointStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPointStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int (obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPointStyle" "', argument " "2"" of type '" "SoVectorizeAction::PointStyle const &""'"); - } else { - temp2 = static_cast< SoVectorizeAction::PointStyle >(val2); - arg2 = &temp2; - } - (arg1)->setPointStyle((SoVectorizeAction::PointStyle const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPointStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::PointStyle result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPointStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPointStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::PointStyle)((SoVectorizeAction const *)arg1)->getPointStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPageStartpos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPageStartpos",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPageStartpos" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - { - SbVec2f const &_result_ref = ((SoVectorizeAction const *)arg1)->getPageStartpos(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPageSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPageSize" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - { - SbVec2f const &_result_ref = ((SoVectorizeAction const *)arg1)->getPageSize(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setDrawingDimensions((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setDrawingDimensions((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->setDrawingDimensions(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setDrawingDimensions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setDrawingDimensions" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setDrawingDimensions(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setDrawingDimensions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setDrawingDimensions__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setDrawingDimensions'.\n Possible C/C++ prototypes are:\n"" setDrawingDimensions(SoVectorizeAction *,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n"" setDrawingDimensions(SoVectorizeAction *,SbVec2f const &)\n"" setDrawingDimensions(SoVectorizeAction *,float,float,SoVectorizeAction::DimensionUnit)\n"" setDrawingDimensions(SoVectorizeAction *,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getDrawingDimensions",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = ((SoVectorizeAction const *)arg1)->getDrawingDimensions(arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getDrawingDimensions",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getDrawingDimensions" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getDrawingDimensions(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getDrawingDimensions(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getDrawingDimensions__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getDrawingDimensions__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getDrawingDimensions'.\n Possible C/C++ prototypes are:\n"" getDrawingDimensions(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n"" getDrawingDimensions(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - SoVectorizeAction::DimensionUnit arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg3 = static_cast< SoVectorizeAction::DimensionUnit >(val3); - (arg1)->setStartPosition((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - (arg1)->setStartPosition(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setStartPosition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVectorizeAction_setStartPosition" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setStartPosition(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setStartPosition__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setStartPosition'.\n Possible C/C++ prototypes are:\n"" setStartPosition(SoVectorizeAction *,SbVec2f const &,SoVectorizeAction::DimensionUnit)\n"" setStartPosition(SoVectorizeAction *,SbVec2f const &)\n"" setStartPosition(SoVectorizeAction *,float,float,SoVectorizeAction::DimensionUnit)\n"" setStartPosition(SoVectorizeAction *,float,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::DimensionUnit arg2 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "2"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg2 = static_cast< SoVectorizeAction::DimensionUnit >(val2); - result = ((SoVectorizeAction const *)arg1)->getStartPosition(arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getStartPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getStartPosition" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = ((SoVectorizeAction const *)arg1)->getStartPosition(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getStartPosition__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getStartPosition__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getStartPosition'.\n Possible C/C++ prototypes are:\n"" getStartPosition(SoVectorizeAction const *,SoVectorizeAction::DimensionUnit)\n"" getStartPosition(SoVectorizeAction const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setColorTranslationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::ColorTranslationMethod arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setColorTranslationMethod",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setColorTranslationMethod" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setColorTranslationMethod" "', argument " "2"" of type '" "SoVectorizeAction::ColorTranslationMethod""'"); - } - arg2 = static_cast< SoVectorizeAction::ColorTranslationMethod >(val2); - (arg1)->setColorTranslationMethod(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getColorTranslationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::ColorTranslationMethod result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getColorTranslationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getColorTranslationMethod" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::ColorTranslationMethod)((SoVectorizeAction const *)arg1)->getColorTranslationMethod(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setLineEndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::EndLineStyle arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setLineEndStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setLineEndStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setLineEndStyle" "', argument " "2"" of type '" "SoVectorizeAction::EndLineStyle""'"); - } - arg2 = static_cast< SoVectorizeAction::EndLineStyle >(val2); - (arg1)->setLineEndStyle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getLineEndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::EndLineStyle result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getLineEndStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getLineEndStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::EndLineStyle)((SoVectorizeAction const *)arg1)->getLineEndStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setLineJoinsStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::JoinLineStyle arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setLineJoinsStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setLineJoinsStyle" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setLineJoinsStyle" "', argument " "2"" of type '" "SoVectorizeAction::JoinLineStyle""'"); - } - arg2 = static_cast< SoVectorizeAction::JoinLineStyle >(val2); - (arg1)->setLineJoinsStyle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getLineJoinsStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::JoinLineStyle result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getLineJoinsStyle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getLineJoinsStyle" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::JoinLineStyle)((SoVectorizeAction const *)arg1)->getLineJoinsStyle(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setHLHSRMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::HLHSRMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setHLHSRMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setHLHSRMode" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setHLHSRMode" "', argument " "2"" of type '" "SoVectorizeAction::HLHSRMode""'"); - } - arg2 = static_cast< SoVectorizeAction::HLHSRMode >(val2); - (arg1)->setHLHSRMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getHLHSRMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SoVectorizeAction::HLHSRMode result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getHLHSRMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getHLHSRMode" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SoVectorizeAction::HLHSRMode)((SoVectorizeAction const *)arg1)->getHLHSRMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBorder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBorder" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBorder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setBorder(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - SbColor arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setBorder",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setBorder" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setBorder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setBorder" "', argument " "3"" of type '" "SbColor""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizeAction_setBorder" "', argument " "3"" of type '" "SbColor""'"); - } else { - SbColor * temp = reinterpret_cast< SbColor * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->setBorder(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setBorder(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setBorder__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setBorder__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setBorder'.\n Possible C/C++ prototypes are:\n"" setBorder(SoVectorizeAction *,float)\n"" setBorder(SoVectorizeAction *,float,SbColor)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setMiterLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setMiterLimit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setMiterLimit" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setMiterLimit" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setMiterLimit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getMiterLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getMiterLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getMiterLimit" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (float)((SoVectorizeAction const *)arg1)->getMiterLimit(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - float *arg4 = (float *) 0 ; - SoVectorizeAction::DimensionUnit arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "5"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg5 = static_cast< SoVectorizeAction::DimensionUnit >(val5); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - float *arg4 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setPenDescription(arg2,(SbColor const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setPenDescription",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setPenDescription" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPenDescription(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setPenDescription(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_setPenDescription__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_setPenDescription'.\n Possible C/C++ prototypes are:\n"" setPenDescription(SoVectorizeAction *,int,SbColor const *,float const *,SoVectorizeAction::DimensionUnit)\n"" setPenDescription(SoVectorizeAction *,int,SbColor const *,float const *)\n"" setPenDescription(SoVectorizeAction *,int,SbColor const *)\n"" setPenDescription(SoVectorizeAction *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - float *arg3 = (float *) 0 ; - SoVectorizeAction::DimensionUnit arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenDescription",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "3"" of type '" "float *""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "4"" of type '" "SoVectorizeAction::DimensionUnit""'"); - } - arg4 = static_cast< SoVectorizeAction::DimensionUnit >(val4); - ((SoVectorizeAction const *)arg1)->getPenDescription(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenDescription",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVectorizeAction_getPenDescription" "', argument " "3"" of type '" "float *""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SoVectorizeAction const *)arg1)->getPenDescription(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenDescription(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVectorizeAction_getPenDescription__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVectorizeAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVectorizeAction_getPenDescription__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVectorizeAction_getPenDescription'.\n Possible C/C++ prototypes are:\n"" getPenDescription(SoVectorizeAction const *,SbColor *,float *,SoVectorizeAction::DimensionUnit)\n"" getPenDescription(SoVectorizeAction const *,SbColor *,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getPenNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getPenNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getPenNum" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (int)((SoVectorizeAction const *)arg1)->getPenNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_setColorPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_setColorPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_setColorPriority" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_setColorPriority" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColorPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_getColorPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_getColorPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_getColorPriority" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SbBool)((SoVectorizeAction const *)arg1)->getColorPriority(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_enableLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_enableLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_enableLighting" "', argument " "1"" of type '" "SoVectorizeAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizeAction_enableLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableLighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizeAction_isLightingEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizeAction *arg1 = (SoVectorizeAction *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizeAction_isLightingEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizeAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizeAction_isLightingEnabled" "', argument " "1"" of type '" "SoVectorizeAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizeAction * >(argp1); - result = (SbBool)((SoVectorizeAction const *)arg1)->isLightingEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorizeAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorizeAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getClassTypeId",0,0)) SWIG_fail; - result = SoShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getTypeId" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = ((SoShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_initClass",0,0)) SWIG_fail; - SoShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_affectsState" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = (SbBool)((SoShape const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_notify" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getBoundingBox" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_GLRender" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_rayPick" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_callback" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_computeBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SbBox3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_computeBBox",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_computeBBox" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_computeBBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbBox3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShape_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - arg3 = reinterpret_cast< SbBox3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShape_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->computeBBox(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getPrimitiveCount" "', argument " "1"" of type '" "SoShape *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getScreenSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBox3f *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getScreenSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getScreenSize" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShape_getScreenSize" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_getScreenSize" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShape_getScreenSize" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoShape_getScreenSize" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - SoShape::getScreenSize(arg1,(SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getDecimatedComplexity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getDecimatedComplexity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getDecimatedComplexity" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShape_getDecimatedComplexity" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (float)SoShape::getDecimatedComplexity(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShape_getBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShape *arg1 = (SoShape *) 0 ; - SoBoundingBoxCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShape_getBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShape_getBoundingBoxCache" "', argument " "1"" of type '" "SoShape const *""'"); - } - arg1 = reinterpret_cast< SoShape * >(argp1); - result = (SoBoundingBoxCache *)((SoShape const *)arg1)->getBoundingBoxCache(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFInt32",0,0)) SWIG_fail; - result = (SoSFInt32 *)new SoSFInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFInt32" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_getTypeId" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - result = ((SoSFInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_copyFrom" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_isSame" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_getValue" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - result = (int32_t)((SoSFInt32 const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_setValue" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFInt32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32___eq__" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32___eq__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32___eq__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - result = (int)((SoSFInt32 const *)arg1)->operator ==((SoSFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32___ne__" "', argument " "1"" of type '" "SoSFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32___ne__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFInt32___ne__" "', argument " "2"" of type '" "SoSFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - result = (int)((SoSFInt32 const *)arg1)->operator !=((SoSFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_initClass",0,0)) SWIG_fail; - SoSFInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFInt32 *arg1 = (SoSFInt32 *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFInt32_setValue" "', argument " "1"" of type '" "SoSFInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFInt32_setValue" "', argument " "2"" of type '" "SoSFInt32 const *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - SoSFInt32_setValue__SWIG_1(arg1,(SoSFInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFInt32_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFInt32 *,int32_t)\n"" setValue(SoSFInt32 *,SoSFInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getClassTypeId",0,0)) SWIG_fail; - result = SoImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_getTypeId" "', argument " "1"" of type '" "SoImage const *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = ((SoImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_initClass",0,0)) SWIG_fail; - SoImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoImage",0,0)) SWIG_fail; - result = (SoImage *)new SoImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoImage, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_width_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_width_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->width = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_width_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFInt32 *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_height_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_height_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_height_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFInt32 *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_vertAlignment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_vertAlignment_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_vertAlignment_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_vertAlignment_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->vertAlignment = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_vertAlignment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_vertAlignment_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_vertAlignment_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFEnum *)& ((arg1)->vertAlignment); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_horAlignment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_horAlignment_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_horAlignment_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_horAlignment_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->horAlignment = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_horAlignment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_horAlignment_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_horAlignment_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFEnum *)& ((arg1)->horAlignment); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_image_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_image_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_filename_set" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_filename_get" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_GLRender" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_rayPick" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoImage_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoImage *arg1 = (SoImage *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoImage_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoImage_getPrimitiveCount" "', argument " "1"" of type '" "SoImage *""'"); - } - arg1 = reinterpret_cast< SoImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoImage_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getTypeId" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = ((SoVectorizePSAction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getClassTypeId",0,0)) SWIG_fail; - result = SoVectorizePSAction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_addMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoActionMethod arg2 = (SoActionMethod) 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_addMethod",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizePSAction_addMethod" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_SoAction_p_SoNode__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVectorizePSAction_addMethod" "', argument " "2"" of type '" "SoActionMethod""'"); - } - } - SoVectorizePSAction::addMethod(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_enableElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - int arg2 ; - void *argp1 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_enableElement",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVectorizePSAction_enableElement" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizePSAction_enableElement" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoVectorizePSAction::enableElement(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVectorizePSAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVectorizePSAction",0,0)) SWIG_fail; - result = (SoVectorizePSAction *)new SoVectorizePSAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVectorizePSAction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoVectorizePSAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoVectorizePSAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoVectorizePSAction" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_initClass",0,0)) SWIG_fail; - SoVectorizePSAction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_setDefault2DFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_setDefault2DFont",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_setDefault2DFont" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setDefault2DFont((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getDefault2DFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getDefault2DFont",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getDefault2DFont" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - { - SbString const &_result_ref = ((SoVectorizePSAction const *)arg1)->getDefault2DFont(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_setGouraudThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_setGouraudThreshold",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_setGouraudThreshold" "', argument " "1"" of type '" "SoVectorizePSAction *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVectorizePSAction_setGouraudThreshold" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setGouraudThreshold(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SoPSVectorOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getOutput" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = (SoPSVectorOutput *)((SoVectorizePSAction const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVectorizePSAction_getPSOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVectorizePSAction *arg1 = (SoVectorizePSAction *) 0 ; - SoPSVectorOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVectorizePSAction_getPSOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVectorizePSAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVectorizePSAction_getPSOutput" "', argument " "1"" of type '" "SoVectorizePSAction const *""'"); - } - arg1 = reinterpret_cast< SoVectorizePSAction * >(argp1); - result = (SoPSVectorOutput *)((SoVectorizePSAction const *)arg1)->getPSOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPSVectorOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVectorizePSAction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVectorizePSAction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *SoBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMaterialBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) 0 ; - SoMaterialBundle *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterialBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoMaterialBundle" "', argument " "1"" of type '" "SoAction *""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - result = (SoMaterialBundle *)new SoMaterialBundle(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterialBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMaterialBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMaterialBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMaterialBundle" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_setUpMultiple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_setUpMultiple",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_setUpMultiple" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - (arg1)->setUpMultiple(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_sendFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_sendFirst",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_sendFirst" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - (arg1)->sendFirst(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_forceSend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_forceSend",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_forceSend" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBundle_forceSend" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->forceSend(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_isColorOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_isColorOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_isColorOnly" "', argument " "1"" of type '" "SoMaterialBundle const *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - result = (SbBool)((SoMaterialBundle const *)arg1)->isColorOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterialBundle_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterialBundle *arg1 = (SoMaterialBundle *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterialBundle_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterialBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterialBundle_send" "', argument " "1"" of type '" "SoMaterialBundle *""'"); - } - arg1 = reinterpret_cast< SoMaterialBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMaterialBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMaterialBundle_send" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->send(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterialBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterialBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - SbBSPTree *result = 0 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBSPTree" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBSPTree" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBSPTree *)new SbBSPTree(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbBSPTree *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBSPTree" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbBSPTree *)new SbBSPTree(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBSPTree",0,0)) SWIG_fail; - result = (SbBSPTree *)new SbBSPTree(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBSPTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBSPTree(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBSPTree__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBSPTree__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBSPTree__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBSPTree'.\n Possible C/C++ prototypes are:\n"" SbBSPTree(int const,int const)\n"" SbBSPTree(int const)\n"" SbBSPTree()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBSPTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBSPTree",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBSPTree" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_numPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_numPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_numPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - result = (int)((SbBSPTree const *)arg1)->numPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbBSPTree const *)arg1)->getPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_getPoint" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_getPoint" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbBSPTree const *)arg1)->getPoint(arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_getPoint__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_getPoint__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_getPoint'.\n Possible C/C++ prototypes are:\n"" getPoint(SbBSPTree const *,int const)\n"" getPoint(SbBSPTree const *,int const,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getUserData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getUserData" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_getUserData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbBSPTree const *)arg1)->getUserData(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_setUserData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_setUserData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_setUserData" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_setUserData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_setUserData" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setUserData(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) (void *)0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_addPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_addPoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_addPoint" "', argument " "3"" of type '" "void *const""'"); - } - result = (int)(arg1)->addPoint((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_addPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_addPoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_addPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->addPoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_addPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_addPoint__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_addPoint__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_addPoint'.\n Possible C/C++ prototypes are:\n"" addPoint(SbBSPTree *,SbVec3f const &,void *const)\n"" addPoint(SbBSPTree *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_removePoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_removePoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->removePoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_removePoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_removePoint" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_removePoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removePoint(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_removePoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_removePoint__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_removePoint__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_removePoint'.\n Possible C/C++ prototypes are:\n"" removePoint(SbBSPTree *,SbVec3f const &)\n"" removePoint(SbBSPTree *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoint" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)((SbBSPTree const *)arg1)->findPoint((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_clear",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_clear" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBSPTree_clear" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->clear(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_clear" "', argument " "1"" of type '" "SbBSPTree *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_clear(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_clear__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBSPTree_clear__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_clear'.\n Possible C/C++ prototypes are:\n"" clear(SbBSPTree *,int const)\n"" clear(SbBSPTree *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbIntList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoints",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - ((SbBSPTree const *)arg1)->findPoints((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbIntList *arg3 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getBBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getBBox" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - { - SbBox3f const &_result_ref = ((SbBSPTree const *)arg1)->getBBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_getPointsArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_getPointsArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_getPointsArrayPtr" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - result = (SbVec3f *)((SbBSPTree const *)arg1)->getPointsArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findPoints",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findPoints" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTint_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findPoints" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ((SbBSPTree const *)arg1)->findPoints((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findPoints(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbIntList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findPoints__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTint_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findPoints__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_findPoints'.\n Possible C/C++ prototypes are:\n"" findPoints(SbBSPTree const *,SbSphere const &,SbIntList &)\n"" findPoints(SbBSPTree const *,SbSphere const &,SbList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBSPTree *arg1 = (SbBSPTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList *arg3 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBSPTree_findClosest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBSPTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBSPTree_findClosest" "', argument " "1"" of type '" "SbBSPTree const *""'"); - } - arg1 = reinterpret_cast< SbBSPTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTint_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBSPTree_findClosest" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - result = (int)((SbBSPTree const *)arg1)->findClosest((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBSPTree_findClosest(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbIntList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBSPTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTint_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBSPTree_findClosest__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBSPTree_findClosest'.\n Possible C/C++ prototypes are:\n"" findClosest(SbBSPTree const *,SbVec3f const &)\n"" findClosest(SbBSPTree const *,SbSphere const &,SbIntList &)\n"" findClosest(SbBSPTree const *,SbSphere const &,SbList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbBSPTree_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBSPTree, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int arg2 ; - SoNormalGenerator *result = 0 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalGenerator",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNormalGenerator" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoNormalGenerator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNormalGenerator *)new SoNormalGenerator(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SoNormalGenerator *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalGenerator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoNormalGenerator" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SoNormalGenerator *)new SoNormalGenerator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormalGenerator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNormalGenerator__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoNormalGenerator__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNormalGenerator'.\n Possible C/C++ prototypes are:\n"" SoNormalGenerator(SbBool const,int const)\n"" SoNormalGenerator(SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNormalGenerator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNormalGenerator",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNormalGenerator" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_reset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_reset" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_reset" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->reset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_beginPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_beginPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_beginPolygon" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->beginPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_polygonVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_polygonVertex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_polygonVertex" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_polygonVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_polygonVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->polygonVertex((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_endPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_endPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_endPolygon" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->endPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_triangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_triangle",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_triangle" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_triangle" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_triangle" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalGenerator_triangle" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_triangle" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->triangle((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_quad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_quad",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_quad" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_quad" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_quad" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalGenerator_quad" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoNormalGenerator_quad" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_quad" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - (arg1)->quad((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_generate" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalGenerator_generate" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->generate(arg2,(int32_t const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_generate" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - (arg1)->generate(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generate" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_generate" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->generate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalGenerator_generate__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalGenerator_generate'.\n Possible C/C++ prototypes are:\n"" generate(SoNormalGenerator *,float const,int32_t const *,int const)\n"" generate(SoNormalGenerator *,float const,int32_t const *)\n"" generate(SoNormalGenerator *,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generatePerStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generatePerStrip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "2"" of type '" "int32_t const *""'"); - } - arg2 = reinterpret_cast< int32_t * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalGenerator_generatePerStrip" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->generatePerStrip((int32_t const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generatePerFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generatePerFace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generatePerFace" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->generatePerFace(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_generateOverall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_generateOverall",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_generateOverall" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - (arg1)->generateOverall(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNumNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNumNormals" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - result = (int)((SoNormalGenerator const *)arg1)->getNumNormals(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_setNumNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_setNumNormals",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_setNumNormals" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_setNumNormals" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumNormals(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNormals" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - result = (SbVec3f *)((SoNormalGenerator const *)arg1)->getNormals(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_getNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_getNormal" "', argument " "1"" of type '" "SoNormalGenerator const *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_getNormal" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - { - SbVec3f const &_result_ref = ((SoNormalGenerator const *)arg1)->getNormal(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalGenerator_setNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalGenerator *arg1 = (SoNormalGenerator *) 0 ; - int32_t arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalGenerator_setNormal",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalGenerator_setNormal" "', argument " "1"" of type '" "SoNormalGenerator *""'"); - } - arg1 = reinterpret_cast< SoNormalGenerator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalGenerator_setNormal" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalGenerator_setNormal" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNormalGenerator_setNormal" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setNormal(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalGenerator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalGenerator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getClassTypeId",0,0)) SWIG_fail; - result = SoNormalElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoNormalElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoNormalElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_initClass",0,0)) SWIG_fail; - SoNormalElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_init" "', argument " "1"" of type '" "SoNormalElement *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalElement_set" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalElement_set" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoNormalElement::set(arg1,arg2,arg3,(SbVec3f const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNormalElement_set" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoNormalElement::set(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalElement_set__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalElement_set__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,int32_t const,SbVec3f const *const,SbBool const)\n"" SoNormalElement::set(SoState *const,SoNode *const,int32_t const,SbVec3f const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNormalElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalElement *)SoNormalElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getNum" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = (int32_t)((SoNormalElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_get" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoNormalElement const *)arg1)->get(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_getArrayPtr" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = (SbVec3f *)((SoNormalElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalElement_areNormalsUnitLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalElement *arg1 = (SoNormalElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalElement_areNormalsUnitLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalElement_areNormalsUnitLength" "', argument " "1"" of type '" "SoNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoNormalElement * >(argp1); - result = (SbBool)((SoNormalElement const *)arg1)->areNormalsUnitLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLNormalElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLNormalElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLNormalElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_initClass",0,0)) SWIG_fail; - SoGLNormalElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLNormalElement *arg1 = (SoGLNormalElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLNormalElement_init" "', argument " "1"" of type '" "SoGLNormalElement *""'"); - } - arg1 = reinterpret_cast< SoGLNormalElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLNormalElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLNormalElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLNormalElement *arg1 = (SoGLNormalElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLNormalElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLNormalElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLNormalElement_send" "', argument " "1"" of type '" "SoGLNormalElement const *""'"); - } - arg1 = reinterpret_cast< SoGLNormalElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLNormalElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLNormalElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLNormalElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLNormalElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormalBundle_generator_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBundle *arg1 = (SoNormalBundle *) 0 ; - SoNormalGenerator *arg2 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBundle_generator_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBundle_generator_set" "', argument " "1"" of type '" "SoNormalBundle *""'"); - } - arg1 = reinterpret_cast< SoNormalBundle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNormalGenerator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalBundle_generator_set" "', argument " "2"" of type '" "SoNormalGenerator *""'"); - } - arg2 = reinterpret_cast< SoNormalGenerator * >(argp2); - if (arg1) (arg1)->generator = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalBundle_generator_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalBundle *arg1 = (SoNormalBundle *) 0 ; - SoNormalGenerator *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalBundle_generator_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalBundle_generator_get" "', argument " "1"" of type '" "SoNormalBundle *""'"); - } - arg1 = reinterpret_cast< SoNormalBundle * >(argp1); - result = (SoNormalGenerator *) ((arg1)->generator); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_init" "', argument " "1"" of type '" "SoTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureCoordinateElement::setDefault(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTextureCoordinateFunctionCB *arg3 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg4 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_setFunction",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "3"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_setFunction" "', argument " "4"" of type '" "void *const""'"); - } - SoTextureCoordinateElement::setFunction(arg1,arg2,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set2",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set2" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set2" "', argument " "4"" of type '" "SbVec2f const *const""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoTextureCoordinateElement::set2(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoTextureCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec4f *arg4 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_set4",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCoordinateElement_set4" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateElement_set4" "', argument " "4"" of type '" "SbVec4f const *const""'"); - } - arg4 = reinterpret_cast< SbVec4f * >(argp4); - SoTextureCoordinateElement::set4(arg1,arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateElement::CoordType)SoTextureCoordinateElement::getType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SoTextureCoordinateElement::CoordType)((SoTextureCoordinateElement const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateElement_getType__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateElement_getType__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateElement_getType'.\n Possible C/C++ prototypes are:\n"" getType(SoState *const)\n"" getType(SoTextureCoordinateElement const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateElement *)SoTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateElement_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateElement_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbVec4f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getNum" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (int32_t)((SoTextureCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_is2D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_is2D" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbBool)((SoTextureCoordinateElement const *)arg1)->is2D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getDimension",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getDimension" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (int32_t)((SoTextureCoordinateElement const *)arg1)->getDimension(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get2" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get3" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_get4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_get4" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoTextureCoordinateElement const *)arg1)->get4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec2f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec3f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateElement *arg1 = (SoTextureCoordinateElement *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateElement_getArrayPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateElement * >(argp1); - result = (SbVec4f *)((SoTextureCoordinateElement const *)arg1)->getArrayPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_init" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_push" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "1"" of type '" "SoGLTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureCoordinateElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg5 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg6 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - int res6 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res6 = SWIG_ConvertPtr(obj5,SWIG_as_voidptrptr(&arg6), 0, 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "void *const""'"); - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg5 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg4 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "void *const""'"); - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoTexCoordTexgenCB *arg3 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_setTexGen",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - SoGLTextureCoordinateElement::setTexGen(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_setTexGen(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[4], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[5], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_setTexGen__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureCoordinateElement_setTexGen'.\n Possible C/C++ prototypes are:\n"" setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const,void *const)\n"" setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const)\n"" setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const,void *const)\n"" SoGLTextureCoordinateElement::setTexGen(SoState *const,SoNode *const,SoTexCoordTexgenCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - result = (SoTextureCoordinateElement::CoordType)((SoGLTextureCoordinateElement const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoGLTextureCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLTextureCoordinateElement *)SoGLTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLTextureCoordinateElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_send",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureCoordinateElement_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ((SoGLTextureCoordinateElement const *)arg1)->send(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureCoordinateElement_send__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLTextureCoordinateElement_send__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureCoordinateElement_send'.\n Possible C/C++ prototypes are:\n"" send(SoGLTextureCoordinateElement const *,int const)\n"" send(SoGLTextureCoordinateElement const *,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureCoordinateElement_initMulti(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureCoordinateElement *arg1 = (SoGLTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureCoordinateElement_initMulti",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureCoordinateElement_initMulti" "', argument " "1"" of type '" "SoGLTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureCoordinateElement_initMulti" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ((SoGLTextureCoordinateElement const *)arg1)->initMulti(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) (SoAction *)0 ; - SbBool arg2 ; - SbBool arg3 ; - SoTextureCoordinateBundle *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBundle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoAction *const""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoTextureCoordinateBundle" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoTextureCoordinateBundle" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoTextureCoordinateBundle *)new SoTextureCoordinateBundle(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAction *arg1 = (SoAction *) (SoAction *)0 ; - SbBool arg2 ; - SoTextureCoordinateBundle *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateBundle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoAction *const""'"); - } - arg1 = reinterpret_cast< SoAction * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoTextureCoordinateBundle" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SoTextureCoordinateBundle *)new SoTextureCoordinateBundle(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateBundle(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTextureCoordinateBundle__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTextureCoordinateBundle__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTextureCoordinateBundle'.\n Possible C/C++ prototypes are:\n"" SoTextureCoordinateBundle(SoAction *const,SbBool const,SbBool const)\n"" SoTextureCoordinateBundle(SoAction *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextureCoordinateBundle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextureCoordinateBundle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextureCoordinateBundle" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_needCoordinates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_needCoordinates",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_needCoordinates" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->needCoordinates(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_isFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_isFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_isFunction" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->isFunction(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_get" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = (arg1)->get(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_get" "', argument " "1"" of type '" "SoTextureCoordinateBundle *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_get" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateBundle_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - { - SbVec4f const &_result_ref = (arg1)->get((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBundle_get__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateBundle_get__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBundle_get'.\n Possible C/C++ prototypes are:\n"" get(SoTextureCoordinateBundle *,int const)\n"" get(SoTextureCoordinateBundle *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_send" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoTextureCoordinateBundle const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_send",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_send" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCoordinateBundle_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateBundle_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_send" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCoordinateBundle_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateBundle_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - ((SoTextureCoordinateBundle const *)arg1)->send(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureCoordinateBundle_send__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTextureCoordinateBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTextureCoordinateBundle_send__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureCoordinateBundle_send'.\n Possible C/C++ prototypes are:\n"" send(SoTextureCoordinateBundle const *,int const)\n"" send(SoTextureCoordinateBundle const *,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateBundle_needIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateBundle *arg1 = (SoTextureCoordinateBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateBundle_needIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateBundle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateBundle_needIndices" "', argument " "1"" of type '" "SoTextureCoordinateBundle const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateBundle * >(argp1); - result = (SbBool)((SoTextureCoordinateBundle const *)arg1)->needIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateBundle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateBundle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCache *)new SoCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_ref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_unref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_unref" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCache_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCache_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCache_unref'.\n Possible C/C++ prototypes are:\n"" unref(SoCache *,SoState *)\n"" unref(SoCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_addElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoElement *arg2 = (SoElement *) (SoElement *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_addElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_addElement" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_addElement" "', argument " "2"" of type '" "SoElement const *const""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - (arg1)->addElement((SoElement const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_addCacheDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoCache *arg3 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_addCacheDependency",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_addCacheDependency" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_addCacheDependency" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCache_addCacheDependency" "', argument " "3"" of type '" "SoCache *""'"); - } - arg3 = reinterpret_cast< SoCache * >(argp3); - (arg1)->addCacheDependency((SoState const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_isValid",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_isValid" "', argument " "1"" of type '" "SoCache const *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_isValid" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SbBool)((SoCache const *)arg1)->isValid((SoState const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_getInvalidElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_getInvalidElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_getInvalidElement" "', argument " "1"" of type '" "SoCache const *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCache_getInvalidElement" "', argument " "2"" of type '" "SoState const *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoElement *)((SoCache const *)arg1)->getInvalidElement((SoState const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCache_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCache *arg1 = (SoCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCache_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCache_invalidate" "', argument " "1"" of type '" "SoCache *""'"); - } - arg1 = reinterpret_cast< SoCache * >(argp1); - (arg1)->invalidate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoBoundingBoxCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoBoundingBoxCache" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoBoundingBoxCache *)new SoBoundingBoxCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoundingBoxCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoBoundingBoxCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoBoundingBoxCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoBoundingBoxCache" "', argument " "1"" of type '" "SoBoundingBoxCache *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbXfBox3f *arg2 = 0 ; - SbBool arg3 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_set" "', argument " "1"" of type '" "SoBoundingBoxCache *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbXfBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoundingBoxCache_set" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoundingBoxCache_set" "', argument " "2"" of type '" "SbXfBox3f const &""'"); - } - arg2 = reinterpret_cast< SbXfBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBoundingBoxCache_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBoundingBoxCache_set" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBoundingBoxCache_set" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->set((SbXfBox3f const &)*arg2,arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbXfBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getBox" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbXfBox3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getBox(); - result = (SbXfBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbXfBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getProjectedBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getProjectedBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getProjectedBox" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbBox3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getProjectedBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_isCenterSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_isCenterSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_isCenterSet" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - result = (SbBool)((SoBoundingBoxCache const *)arg1)->isCenterSet(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_getCenter" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - { - SbVec3f const &_result_ref = ((SoBoundingBoxCache const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_setHasLinesOrPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_setHasLinesOrPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_setHasLinesOrPoints" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoBoundingBoxCache::setHasLinesOrPoints(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoundingBoxCache_hasLinesOrPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoundingBoxCache *arg1 = (SoBoundingBoxCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoundingBoxCache_hasLinesOrPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoundingBoxCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoundingBoxCache_hasLinesOrPoints" "', argument " "1"" of type '" "SoBoundingBoxCache const *""'"); - } - arg1 = reinterpret_cast< SoBoundingBoxCache * >(argp1); - result = (SbBool)((SoBoundingBoxCache const *)arg1)->hasLinesOrPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoundingBoxCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoundingBoxCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoConvexDataCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoConvexDataCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConvexDataCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoConvexDataCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoConvexDataCache *)new SoConvexDataCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConvexDataCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoConvexDataCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoConvexDataCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoConvexDataCache" "', argument " "1"" of type '" "SoConvexDataCache *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - SoCoordinateElement *arg2 = (SoCoordinateElement *) (SoCoordinateElement *)0 ; - SbMatrix *arg3 = 0 ; - int32_t *arg4 = (int32_t *) 0 ; - int arg5 ; - int32_t *arg6 = (int32_t *) 0 ; - int32_t *arg7 = (int32_t *) 0 ; - int32_t *arg8 = (int32_t *) 0 ; - SoConvexDataCache::Binding arg9 ; - SoConvexDataCache::Binding arg10 ; - SoConvexDataCache::Binding arg11 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - int val11 ; - int ecode11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_generate",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_generate" "', argument " "1"" of type '" "SoConvexDataCache *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConvexDataCache_generate" "', argument " "2"" of type '" "SoCoordinateElement const *const""'"); - } - arg2 = reinterpret_cast< SoCoordinateElement * >(argp2); - res4 = SWIG_ConvertPtr(obj2, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoConvexDataCache_generate" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj3, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoConvexDataCache_generate" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj4, &argp6,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoConvexDataCache_generate" "', argument " "6"" of type '" "int32_t const *""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj5, &argp7,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoConvexDataCache_generate" "', argument " "7"" of type '" "int32_t const *""'"); - } - arg7 = reinterpret_cast< int32_t * >(argp7); - res8 = SWIG_ConvertPtr(obj6, &argp8,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoConvexDataCache_generate" "', argument " "8"" of type '" "int32_t const *""'"); - } - arg8 = reinterpret_cast< int32_t * >(argp8); - ecode9 = SWIG_AsVal_int(obj7, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoConvexDataCache_generate" "', argument " "9"" of type '" "SoConvexDataCache::Binding""'"); - } - arg9 = static_cast< SoConvexDataCache::Binding >(val9); - ecode10 = SWIG_AsVal_int(obj8, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoConvexDataCache_generate" "', argument " "10"" of type '" "SoConvexDataCache::Binding""'"); - } - arg10 = static_cast< SoConvexDataCache::Binding >(val10); - ecode11 = SWIG_AsVal_int(obj9, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoConvexDataCache_generate" "', argument " "11"" of type '" "SoConvexDataCache::Binding""'"); - } - arg11 = static_cast< SoConvexDataCache::Binding >(val11); - (arg1)->generate((SoCoordinateElement const *)arg2,(SbMatrix const &)*arg3,(int32_t const *)arg4,arg5,(int32_t const *)arg6,(int32_t const *)arg7,(int32_t const *)arg8,arg9,arg10,arg11); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getCoordIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getCoordIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getCoordIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getCoordIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumCoordIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumCoordIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumCoordIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumCoordIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getMaterialIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getMaterialIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getMaterialIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getMaterialIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumMaterialIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumMaterialIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumMaterialIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumMaterialIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNormalIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNormalIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNormalIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getNormalIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumNormalIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumNormalIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumNormalIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumNormalIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getTexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getTexIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getTexIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int32_t *)((SoConvexDataCache const *)arg1)->getTexIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConvexDataCache_getNumTexIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConvexDataCache *arg1 = (SoConvexDataCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConvexDataCache_getNumTexIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConvexDataCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConvexDataCache_getNumTexIndices" "', argument " "1"" of type '" "SoConvexDataCache const *""'"); - } - arg1 = reinterpret_cast< SoConvexDataCache * >(argp1); - result = (int)((SoConvexDataCache const *)arg1)->getNumTexIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConvexDataCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConvexDataCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *SoGLCacheList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCacheList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLazyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLazyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLazyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_initClass",0,0)) SWIG_fail; - SoGLLazyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_init" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_push" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_pop" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendAllMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendAllMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendAllMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendAllMaterial(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendNoMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendNoMaterial",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendNoMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendNoMaterial(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendOnlyDiffuseColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendOnlyDiffuseColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendOnlyDiffuseColor" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::sendOnlyDiffuseColor(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendLightModel" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoGLLazyElement::sendLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendPackedDiffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendPackedDiffuse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendPackedDiffuse" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendPackedDiffuse" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - SoGLLazyElement::sendPackedDiffuse(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendFlatshading(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendFlatshading",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendFlatshading" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendFlatshading" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendFlatshading(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendVertexOrdering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendVertexOrdering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendVertexOrdering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendVertexOrdering" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - SoGLLazyElement::sendVertexOrdering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendTwosideLighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendTwosideLighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendTwosideLighting" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendTwosideLighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendTwosideLighting(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendBackfaceCulling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendBackfaceCulling",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendBackfaceCulling" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendBackfaceCulling" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLLazyElement::sendBackfaceCulling(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendDiffuseByIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendDiffuseByIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendDiffuseByIndex" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_sendDiffuseByIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLLazyElement const *)arg1)->sendDiffuseByIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_isColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_isColorIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_isColorIndex" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLLazyElement::isColorIndex(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_getInstance" "', argument " "1"" of type '" "SoState const *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLLazyElement *)SoGLLazyElement::getInstance((SoState const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_send" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_send" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_send" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ((SoGLLazyElement const *)arg1)->send((SoState const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_sendVPPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_sendVPPacked",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_sendVPPacked" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - (arg1)->sendVPPacked(arg2,(unsigned char const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_reset",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_reset" "', argument " "1"" of type '" "SoGLLazyElement const *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_reset" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_reset" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ((SoGLLazyElement const *)arg1)->reset(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_didsetbitmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_didsetbitmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_didsetbitmask_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_didsetbitmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->didsetbitmask = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_didsetbitmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_didsetbitmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_didsetbitmask_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (uint32_t) ((arg1)->didsetbitmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_didntsetbitmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_didntsetbitmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_didntsetbitmask_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_didntsetbitmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->didntsetbitmask = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_didntsetbitmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_didntsetbitmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_didntsetbitmask_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (uint32_t) ((arg1)->didntsetbitmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_cachebitmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_cachebitmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_cachebitmask_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_cachebitmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->cachebitmask = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_cachebitmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_cachebitmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_cachebitmask_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (uint32_t) ((arg1)->cachebitmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_forcediffuse_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_forcediffuse_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_forcediffuse_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_forcediffuse_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - if (arg1) (arg1)->forcediffuse = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_forcediffuse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_forcediffuse_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_forcediffuse_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (SbBool) ((arg1)->forcediffuse); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_glstate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_glstate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_glstate_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GLState, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_glstate_set" "', argument " "2"" of type '" "GLState""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_glstate_set" "', argument " "2"" of type '" "GLState""'"); - } else { - GLState * temp = reinterpret_cast< GLState * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - if (arg1) (arg1)->glstate = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_glstate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_glstate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_glstate_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = ((arg1)->glstate); - resultobj = SWIG_NewPointerObj((new GLState(static_cast< const GLState& >(result))), SWIGTYPE_p_GLState, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_postcachestate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState *arg2 = (GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_postcachestate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_postcachestate_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GLState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_postcachestate_set" "', argument " "2"" of type '" "GLState *""'"); - } - arg2 = reinterpret_cast< GLState * >(argp2); - if (arg1) (arg1)->postcachestate = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_postcachestate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_postcachestate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_postcachestate_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (GLState *) ((arg1)->postcachestate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLState, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_precachestate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState *arg2 = (GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_precachestate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_precachestate_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GLState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_precachestate_set" "', argument " "2"" of type '" "GLState *""'"); - } - arg2 = reinterpret_cast< GLState * >(argp2); - if (arg1) (arg1)->precachestate = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_precachestate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - GLState *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_precachestate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_precachestate_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (GLState *) ((arg1)->precachestate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLState, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_colorindex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_colorindex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_colorindex_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_colorindex_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - if (arg1) (arg1)->colorindex = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_colorindex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_colorindex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_colorindex_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (SbBool) ((arg1)->colorindex); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_colorpacker_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoColorPacker *arg2 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_colorpacker_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_colorpacker_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoColorPacker, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_colorpacker_set" "', argument " "2"" of type '" "SoColorPacker *""'"); - } - arg2 = reinterpret_cast< SoColorPacker * >(argp2); - if (arg1) (arg1)->colorpacker = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_colorpacker_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoColorPacker *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_colorpacker_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_colorpacker_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (SoColorPacker *) ((arg1)->colorpacker); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoColorPacker, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_packedpointer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t *arg2 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_packedpointer_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_packedpointer_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_packedpointer_set" "', argument " "2"" of type '" "uint32_t const *""'"); - } - arg2 = reinterpret_cast< uint32_t * >(argp2); - if (arg1) (arg1)->packedpointer = (uint32_t const *)arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_packedpointer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_packedpointer_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_packedpointer_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (uint32_t *) ((arg1)->packedpointer); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_transpmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_transpmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_transpmask_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_transpmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->transpmask = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_transpmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_transpmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_transpmask_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (uint32_t) ((arg1)->transpmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_state_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_state_set" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_state_set" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - if (arg1) (arg1)->state = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_state_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_state_get" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - result = (SoState *) ((arg1)->state); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoState, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setDiffuseElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setDiffuseElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setDiffuseElt" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - (arg1)->setDiffuseElt(arg2,arg3,(SbColor const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setPackedElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - uint32_t *arg4 = (uint32_t *) 0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setPackedElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "4"" of type '" "uint32_t const *""'"); - } - arg4 = reinterpret_cast< uint32_t * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLLazyElement_setPackedElt" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->setPackedElt(arg2,arg3,(uint32_t const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setColorIndexElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setColorIndexElt",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setColorIndexElt" "', argument " "4"" of type '" "int32_t const *""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - (arg1)->setColorIndexElt(arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTranspElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - float *arg4 = (float *) 0 ; - SoColorPacker *arg5 = (SoColorPacker *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTranspElt",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "4"" of type '" "float const *""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setTranspElt" "', argument " "5"" of type '" "SoColorPacker *""'"); - } - arg5 = reinterpret_cast< SoColorPacker * >(argp5); - (arg1)->setTranspElt(arg2,arg3,(float const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTranspTypeElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTranspTypeElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTranspTypeElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setTranspTypeElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setTranspTypeElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setAmbientElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setAmbientElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setAmbientElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setAmbientElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setAmbientElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setEmissiveElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setEmissiveElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setEmissiveElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setEmissiveElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setEmissiveElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setSpecularElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setSpecularElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setSpecularElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setSpecularElt" "', argument " "2"" of type '" "SbColor const *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setSpecularElt((SbColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setShininessElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setShininessElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setShininessElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setShininessElt" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setShininessElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setColorMaterialElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setColorMaterialElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setColorMaterialElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setColorMaterialElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setColorMaterialElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_enableBlendingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_enableBlendingElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_enableBlendingElt" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->enableBlendingElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_disableBlendingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_disableBlendingElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_disableBlendingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - (arg1)->disableBlendingElt(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setLightModelElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setLightModelElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setLightModelElt" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->setLightModelElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setMaterialElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - uint32_t arg3 ; - SoColorPacker *arg4 = (SoColorPacker *) 0 ; - SbColor *arg5 = (SbColor *) 0 ; - int arg6 ; - float *arg7 = (float *) 0 ; - int arg8 ; - SbColor *arg9 = 0 ; - SbColor *arg10 = 0 ; - SbColor *arg11 = 0 ; - float arg12 ; - SbBool arg13 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - float val12 ; - int ecode12 = 0 ; - int val13 ; - int ecode13 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setMaterialElt",13,13,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoColorPacker, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "4"" of type '" "SoColorPacker *""'"); - } - arg4 = reinterpret_cast< SoColorPacker * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "5"" of type '" "SbColor const *""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "7"" of type '" "float const *""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "9"" of type '" "SbColor const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "9"" of type '" "SbColor const &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_int(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoGLLazyElement_setMaterialElt" "', argument " "13"" of type '" "SbBool""'"); - } - arg13 = static_cast< SbBool >(val13); - (arg1)->setMaterialElt(arg2,arg3,arg4,(SbColor const *)arg5,arg6,(float const *)arg7,arg8,(SbColor const &)*arg9,(SbColor const &)*arg10,(SbColor const &)*arg11,arg12,arg13); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setVertexOrderingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SoLazyElement::VertexOrdering arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setVertexOrderingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setVertexOrderingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setVertexOrderingElt" "', argument " "2"" of type '" "SoLazyElement::VertexOrdering""'"); - } - arg2 = static_cast< SoLazyElement::VertexOrdering >(val2); - (arg1)->setVertexOrderingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setBackfaceCullingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setBackfaceCullingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setBackfaceCullingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setBackfaceCullingElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBackfaceCullingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setTwosideLightingElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setTwosideLightingElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setTwosideLightingElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setTwosideLightingElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setTwosideLightingElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setShadeModelElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setShadeModelElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setShadeModelElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setShadeModelElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShadeModelElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setGLImageIdElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setGLImageIdElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLLazyElement_setGLImageIdElt" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setGLImageIdElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_setAlphaTestElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement *arg1 = (SoGLLazyElement *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_setAlphaTestElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_setAlphaTestElt" "', argument " "1"" of type '" "SoGLLazyElement *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_setAlphaTestElt" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAlphaTestElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_beginCaching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - SoGLLazyElement::GLState *arg3 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_beginCaching",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_beginCaching" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_beginCaching" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLazyElement_beginCaching" "', argument " "3"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg3 = reinterpret_cast< SoGLLazyElement::GLState * >(argp3); - SoGLLazyElement::beginCaching(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_endCaching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_endCaching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_endCaching" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLLazyElement::endCaching(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_preCacheCall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_preCacheCall",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_preCacheCall" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_preCacheCall" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - result = (SbBool)SoGLLazyElement::preCacheCall(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_postCacheCall(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLLazyElement::GLState *arg2 = (SoGLLazyElement::GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_postCacheCall",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_postCacheCall" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLLazyElement__GLState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_postCacheCall" "', argument " "2"" of type '" "SoGLLazyElement::GLState *""'"); - } - arg2 = reinterpret_cast< SoGLLazyElement::GLState * >(argp2); - SoGLLazyElement::postCacheCall(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLazyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLazyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_cachebitmask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_cachebitmask_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_cachebitmask_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_cachebitmask_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->cachebitmask = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_cachebitmask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_cachebitmask_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_cachebitmask_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (uint32_t) ((arg1)->cachebitmask); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffuse_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffuse_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffuse_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_diffuse_set" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - if (arg1) (arg1)->diffuse = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_diffuse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_diffuse_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_diffuse_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (uint32_t) ((arg1)->diffuse); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_ambient_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_ambient_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_ambient_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_ambient_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->ambient = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_ambient_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_ambient_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_ambient_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->ambient); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_emissive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_emissive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_emissive_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_emissive_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->emissive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_emissive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_emissive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_emissive_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->emissive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_specular_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *arg2 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_specular_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_specular_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLazyElement_GLState_specular_set" "', argument " "2"" of type '" "SbColor *""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - if (arg1) (arg1)->specular = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_specular_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_specular_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_specular_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (SbColor *)& ((arg1)->specular); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_shininess_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_shininess_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->shininess = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_shininess_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (float) ((arg1)->shininess); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_lightmodel_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_lightmodel_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_lightmodel_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_lightmodel_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->lightmodel = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_lightmodel_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_lightmodel_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_lightmodel_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->lightmodel); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blending_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blending_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blending_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blending_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blending = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blending_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blending_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blending_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->blending); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_sfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_sfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_sfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blend_sfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blend_sfactor = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_sfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_sfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_sfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->blend_sfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_dfactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_dfactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_dfactor_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_blend_dfactor_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->blend_dfactor = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_blend_dfactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_blend_dfactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_blend_dfactor_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->blend_dfactor); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_stipplenum_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_stipplenum_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_stipplenum_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_stipplenum_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->stipplenum = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_stipplenum_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_stipplenum_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_stipplenum_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->stipplenum); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_vertexordering_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_vertexordering_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_vertexordering_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_vertexordering_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->vertexordering = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_vertexordering_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_vertexordering_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_vertexordering_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->vertexordering); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_culling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_culling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_culling_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_culling_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->culling = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_culling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_culling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_culling_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->culling); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_twoside_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_twoside_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_twoside_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_twoside_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->twoside = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_twoside_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_twoside_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_twoside_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->twoside); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_flatshading_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_flatshading_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_flatshading_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_flatshading_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->flatshading = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_flatshading_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_flatshading_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_flatshading_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->flatshading); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_glimageid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_glimageid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_glimageid_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_glimageid_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->glimageid = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_glimageid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_glimageid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_glimageid_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->glimageid); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alphatest_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alphatest_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alphatest_set" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLLazyElement_GLState_alphatest_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - if (arg1) (arg1)->alphatest = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLazyElement_GLState_alphatest_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLazyElement_GLState_alphatest_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLazyElement_GLState_alphatest_get" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - result = (int32_t) ((arg1)->alphatest); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLLazyElement_GLState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLLazyElement_GLState",0,0)) SWIG_fail; - result = (SoGLLazyElement_GLState *)new SoGLLazyElement_GLState(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoGLLazyElement_GLState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLazyElement_GLState *arg1 = (SoGLLazyElement_GLState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLLazyElement_GLState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLLazyElement_GLState" "', argument " "1"" of type '" "SoGLLazyElement_GLState *""'"); - } - arg1 = reinterpret_cast< SoGLLazyElement_GLState * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLazyElement_GLState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLazyElement_GLState, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoGLRenderCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoGLRenderCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoGLRenderCache" "', argument " "1"" of type '" "SoGLRenderCache *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderCache_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderCache_isValid",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderCache_isValid" "', argument " "1"" of type '" "SoGLRenderCache const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderCache_isValid" "', argument " "2"" of type '" "SoState const *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SbBool)((SoGLRenderCache const *)arg1)->isValid((SoState const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderCache_addNestedCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderCache *arg1 = (SoGLRenderCache *) 0 ; - SoGLDisplayList *arg2 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderCache_addNestedCache",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderCache_addNestedCache" "', argument " "1"" of type '" "SoGLRenderCache *""'"); - } - arg1 = reinterpret_cast< SoGLRenderCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderCache_addNestedCache" "', argument " "2"" of type '" "SoGLDisplayList *""'"); - } - arg2 = reinterpret_cast< SoGLDisplayList * >(argp2); - (arg1)->addNestedCache(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNormalCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNormalCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormalCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNormalCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoNormalCache *)new SoNormalCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormalCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNormalCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNormalCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNormalCache" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_set" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNormalCache_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_set" "', argument " "3"" of type '" "SbVec3f const *const""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set(arg2,(SbVec3f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SoNormalGenerator *arg2 = (SoNormalGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_set" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNormalGenerator, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_set" "', argument " "2"" of type '" "SoNormalGenerator *""'"); - } - arg2 = reinterpret_cast< SoNormalGenerator * >(argp2); - (arg1)->set(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNormalGenerator, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalCache_set'.\n Possible C/C++ prototypes are:\n"" set(SoNormalCache *,int const,SbVec3f const *const)\n"" set(SoNormalCache *,SoNormalGenerator *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - float arg5 ; - SbVec3f *arg6 = (SbVec3f *) 0 ; - SbBool arg7 ; - SbBool arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "SbVec3f const *""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbBool""'"); - } - arg7 = static_cast< SbBool >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNormalCache_generatePerVertex" "', argument " "8"" of type '" "SbBool""'"); - } - arg8 = static_cast< SbBool >(val8); - (arg1)->generatePerVertex((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5,(SbVec3f const *)arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - float arg5 ; - SbVec3f *arg6 = (SbVec3f *) 0 ; - SbBool arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "SbVec3f const *""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoNormalCache_generatePerVertex" "', argument " "7"" of type '" "SbBool""'"); - } - arg7 = static_cast< SbBool >(val7); - (arg1)->generatePerVertex((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5,(SbVec3f const *)arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - float arg5 ; - SbVec3f *arg6 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoNormalCache_generatePerVertex" "', argument " "6"" of type '" "SbVec3f const *""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - (arg1)->generatePerVertex((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5,(SbVec3f const *)arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertex",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertex" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertex" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerVertex" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertex" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertex" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->generatePerVertex((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[9]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 8); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_3(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_2(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_1(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNormalCache_generatePerVertex__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNormalCache_generatePerVertex'.\n Possible C/C++ prototypes are:\n"" generatePerVertex(SoNormalCache *,SbVec3f const *const,int32_t const *,int const,float const,SbVec3f const *,SbBool const,SbBool const)\n"" generatePerVertex(SoNormalCache *,SbVec3f const *const,int32_t const *,int const,float const,SbVec3f const *,SbBool const)\n"" generatePerVertex(SoNormalCache *,SbVec3f const *const,int32_t const *,int const,float const,SbVec3f const *)\n"" generatePerVertex(SoNormalCache *,SbVec3f const *const,int32_t const *,int const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFace",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFace" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFace" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerFace" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerFace" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFace" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerFace((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFaceStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFaceStrip",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFaceStrip" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerFaceStrip((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerStrip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int32_t *arg3 = (int32_t *) 0 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerStrip",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerStrip" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerStrip" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNormalCache_generatePerStrip" "', argument " "3"" of type '" "int32_t const *""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerStrip" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerStrip" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerStrip((SbVec3f const *)arg2,(int32_t const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerVertexQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int arg3 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerVertexQuad",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerVertexQuad" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerVertexQuad((SbVec3f const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerFaceQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int arg3 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerFaceQuad",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerFaceQuad" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerFaceQuad((SbVec3f const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_generatePerRowQuad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *arg2 = (SbVec3f *) (SbVec3f *)0 ; - int arg3 ; - int arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_generatePerRowQuad",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "1"" of type '" "SoNormalCache *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "2"" of type '" "SbVec3f const *const""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNormalCache_generatePerRowQuad" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->generatePerRowQuad((SbVec3f const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNum" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int)((SoNormalCache const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNormals" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (SbVec3f *)((SoNormalCache const *)arg1)->getNormals(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getNumIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getNumIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getNumIndices" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int)((SoNormalCache const *)arg1)->getNumIndices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormalCache_getIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormalCache *arg1 = (SoNormalCache *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormalCache_getIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormalCache_getIndices" "', argument " "1"" of type '" "SoNormalCache const *""'"); - } - arg1 = reinterpret_cast< SoNormalCache * >(argp1); - result = (int32_t *)((SoNormalCache const *)arg1)->getIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormalCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormalCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoTextureCoordinateCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTextureCoordinateCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTextureCoordinateCache *)new SoTextureCoordinateCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCache, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextureCoordinateCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextureCoordinateCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextureCoordinateCache" "', argument " "1"" of type '" "SoTextureCoordinateCache *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_generate",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_generate" "', argument " "1"" of type '" "SoTextureCoordinateCache *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCache_generate" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCoordinateCache_generate" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCoordinateCache_generate" "', argument " "3"" of type '" "SbVec3f const *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCoordinateCache_generate" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->generate((SbBox3f const &)*arg2,(SbVec3f const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_get" "', argument " "1"" of type '" "SoTextureCoordinateCache const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - result = (SbVec2f *)((SoTextureCoordinateCache const *)arg1)->get(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCache_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCache *arg1 = (SoTextureCoordinateCache *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCache_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCache, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCache_getNum" "', argument " "1"" of type '" "SoTextureCoordinateCache const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCache * >(argp1); - result = (int)((SoTextureCoordinateCache const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCache_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCache, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDetail" "', argument " "1"" of type '" "SoDetail *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_initClass",0,0)) SWIG_fail; - SoDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_initClasses",0,0)) SWIG_fail; - SoDetail::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_copy" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - result = (SoDetail *)((SoDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_getTypeId" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - result = ((SoDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDetail *arg1 = (SoDetail *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDetail_isOfType" "', argument " "1"" of type '" "SoDetail const *""'"); - } - arg1 = reinterpret_cast< SoDetail * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDetail_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDetail_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoDetail const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoConeDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_getTypeId" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = ((SoConeDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoConeDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoConeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConeDetail",0,0)) SWIG_fail; - result = (SoConeDetail *)new SoConeDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConeDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoConeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoConeDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoConeDetail" "', argument " "1"" of type '" "SoConeDetail *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_initClass",0,0)) SWIG_fail; - SoConeDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_copy" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = (SoDetail *)((SoConeDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_setPart" "', argument " "1"" of type '" "SoConeDetail *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoConeDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConeDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConeDetail *arg1 = (SoConeDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConeDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConeDetail_getPart" "', argument " "1"" of type '" "SoConeDetail const *""'"); - } - arg1 = reinterpret_cast< SoConeDetail * >(argp1); - result = (int)((SoConeDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConeDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConeDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_getTypeId" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = ((SoCubeDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoCubeDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCubeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCubeDetail",0,0)) SWIG_fail; - result = (SoCubeDetail *)new SoCubeDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCubeDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCubeDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCubeDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCubeDetail" "', argument " "1"" of type '" "SoCubeDetail *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_initClass",0,0)) SWIG_fail; - SoCubeDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_copy" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = (SoDetail *)((SoCubeDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_setPart" "', argument " "1"" of type '" "SoCubeDetail *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCubeDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCubeDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCubeDetail *arg1 = (SoCubeDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCubeDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCubeDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCubeDetail_getPart" "', argument " "1"" of type '" "SoCubeDetail const *""'"); - } - arg1 = reinterpret_cast< SoCubeDetail * >(argp1); - result = (int)((SoCubeDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCubeDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCubeDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_getTypeId" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = ((SoCylinderDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoCylinderDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCylinderDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCylinderDetail",0,0)) SWIG_fail; - result = (SoCylinderDetail *)new SoCylinderDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCylinderDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCylinderDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCylinderDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCylinderDetail" "', argument " "1"" of type '" "SoCylinderDetail *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_initClass",0,0)) SWIG_fail; - SoCylinderDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_copy" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = (SoDetail *)((SoCylinderDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_setPart" "', argument " "1"" of type '" "SoCylinderDetail *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinderDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinderDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinderDetail *arg1 = (SoCylinderDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinderDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinderDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinderDetail_getPart" "', argument " "1"" of type '" "SoCylinderDetail const *""'"); - } - arg1 = reinterpret_cast< SoCylinderDetail * >(argp1); - result = (int)((SoCylinderDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCylinderDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCylinderDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getTypeId" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = ((SoPointDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoPointDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointDetail",0,0)) SWIG_fail; - result = (SoPointDetail *)new SoPointDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPointDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPointDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPointDetail" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_initClass",0,0)) SWIG_fail; - SoPointDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_copy" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (SoDetail *)((SoPointDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getCoordinateIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getCoordinateIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getCoordinateIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getCoordinateIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getMaterialIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getNormalIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getNormalIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getNormalIndex" "', argument " "1"" of type '" "SoPointDetail const *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)((SoPointDetail const *)arg1)->getNormalIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_getTextureCoordIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_getTextureCoordIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_getTextureCoordIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - result = (int)(arg1)->getTextureCoordIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setCoordinateIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setCoordinateIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setCoordinateIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setCoordinateIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCoordinateIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setMaterialIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setNormalIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setNormalIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setNormalIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setNormalIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNormalIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointDetail_setTextureCoordIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointDetail *arg1 = (SoPointDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointDetail_setTextureCoordIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointDetail_setTextureCoordIndex" "', argument " "1"" of type '" "SoPointDetail *""'"); - } - arg1 = reinterpret_cast< SoPointDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointDetail_setTextureCoordIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setTextureCoordIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getTypeId" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = ((SoFaceDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoFaceDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFaceDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFaceDetail",0,0)) SWIG_fail; - result = (SoFaceDetail *)new SoFaceDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFaceDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFaceDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFaceDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFaceDetail" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_initClass",0,0)) SWIG_fail; - SoFaceDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_copy" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (SoDetail *)((SoFaceDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getNumPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getNumPoints" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getNumPoints(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - SoPointDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPoint" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_getPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPointDetail *)((SoFaceDetail const *)arg1)->getPoint(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - SoPointDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPoints",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPoints" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (SoPointDetail *)(arg1)->getPoints(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getFaceIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getFaceIndex" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getFaceIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_getPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_getPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_getPartIndex" "', argument " "1"" of type '" "SoFaceDetail const *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - result = (int)((SoFaceDetail const *)arg1)->getPartIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setNumPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setNumPoints",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setNumPoints" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setNumPoints" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNumPoints(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - SoPointDetail *arg3 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setPoint" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setPoint" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFaceDetail_setPoint" "', argument " "3"" of type '" "SoPointDetail const *const""'"); - } - arg3 = reinterpret_cast< SoPointDetail * >(argp3); - (arg1)->setPoint(arg2,(SoPointDetail const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setFaceIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setFaceIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setFaceIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFaceIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_setPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_setPartIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_setPartIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFaceDetail_setPartIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPartIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_incFaceIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_incFaceIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_incFaceIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - (arg1)->incFaceIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceDetail_incPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceDetail *arg1 = (SoFaceDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceDetail_incPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceDetail_incPartIndex" "', argument " "1"" of type '" "SoFaceDetail *""'"); - } - arg1 = reinterpret_cast< SoFaceDetail * >(argp1); - (arg1)->incPartIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFaceDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFaceDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getTypeId" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = ((SoLineDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoLineDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineDetail",0,0)) SWIG_fail; - result = (SoLineDetail *)new SoLineDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLineDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLineDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLineDetail" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_initClass",0,0)) SWIG_fail; - SoLineDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_copy" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoDetail *)((SoLineDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPoint0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPoint0",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPoint0" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoPointDetail *)((SoLineDetail const *)arg1)->getPoint0(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPoint1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPoint1",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPoint1" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (SoPointDetail *)((SoLineDetail const *)arg1)->getPoint1(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getLineIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getLineIndex" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (int)((SoLineDetail const *)arg1)->getLineIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_getPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_getPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_getPartIndex" "', argument " "1"" of type '" "SoLineDetail const *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - result = (int)((SoLineDetail const *)arg1)->getPartIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPoint0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *arg2 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPoint0",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPoint0" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineDetail_setPoint0" "', argument " "2"" of type '" "SoPointDetail const *const""'"); - } - arg2 = reinterpret_cast< SoPointDetail * >(argp2); - (arg1)->setPoint0((SoPointDetail const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPoint1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - SoPointDetail *arg2 = (SoPointDetail *) (SoPointDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPoint1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPoint1" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPointDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineDetail_setPoint1" "', argument " "2"" of type '" "SoPointDetail const *const""'"); - } - arg2 = reinterpret_cast< SoPointDetail * >(argp2); - (arg1)->setPoint1((SoPointDetail const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setLineIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setLineIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineDetail_setLineIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setLineIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_setPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_setPartIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_setPartIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineDetail_setPartIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPartIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_incLineIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_incLineIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_incLineIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - (arg1)->incLineIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineDetail_incPartIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineDetail *arg1 = (SoLineDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineDetail_incPartIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineDetail_incPartIndex" "', argument " "1"" of type '" "SoLineDetail *""'"); - } - arg1 = reinterpret_cast< SoLineDetail * >(argp1); - (arg1)->incPartIndex(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getTypeId" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = ((SoNodeKitDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeKitDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKitDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKitDetail",0,0)) SWIG_fail; - result = (SoNodeKitDetail *)new SoNodeKitDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeKitDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeKitDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeKitDetail" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_initClass",0,0)) SWIG_fail; - SoNodeKitDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_copy" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoDetail *)((SoNodeKitDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setNodeKit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setNodeKit" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitDetail_setNodeKit" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - (arg1)->setNodeKit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoBaseKit *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getNodeKit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getNodeKit" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoBaseKit *)((SoNodeKitDetail const *)arg1)->getNodeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseKit, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setPart" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitDetail_setPart" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getPart" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - result = (SoNode *)((SoNodeKitDetail const *)arg1)->getPart(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_setPartName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_setPartName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_setPartName" "', argument " "1"" of type '" "SoNodeKitDetail *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setPartName((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitDetail_getPartName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitDetail *arg1 = (SoNodeKitDetail *) 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitDetail_getPartName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitDetail_getPartName" "', argument " "1"" of type '" "SoNodeKitDetail const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitDetail * >(argp1); - { - SbName const &_result_ref = ((SoNodeKitDetail const *)arg1)->getPartName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getTypeId" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = ((SoTextDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoTextDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextDetail",0,0)) SWIG_fail; - result = (SoTextDetail *)new SoTextDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextDetail, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTextDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTextDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTextDetail" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_initClass",0,0)) SWIG_fail; - SoTextDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_copy" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (SoDetail *)((SoTextDetail const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getStringIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getStringIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getStringIndex" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getStringIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getCharacterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getCharacterIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getCharacterIndex" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getCharacterIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_getPart",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_getPart" "', argument " "1"" of type '" "SoTextDetail const *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - result = (int)((SoTextDetail const *)arg1)->getPart(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setStringIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setStringIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setStringIndex" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setStringIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setStringIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setCharacterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setCharacterIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setCharacterIndex" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setCharacterIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCharacterIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextDetail_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextDetail *arg1 = (SoTextDetail *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextDetail_setPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextDetail_setPart" "', argument " "1"" of type '" "SoTextDetail *""'"); - } - arg1 = reinterpret_cast< SoTextDetail * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextDetail_setPart" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFNode",0,0)) SWIG_fail; - result = (SoSFNode *)new SoSFNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFNode" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFNode::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getClassTypeId",0,0)) SWIG_fail; - result = SoSFNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_getTypeId" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = ((SoSFNode const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_copyFrom" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_isSame" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFNode const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_getValue" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = (SoNode *)((SoSFNode const *)arg1)->getValue(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_setValue" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_setValue" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode___eq__" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode___eq__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode___eq__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - result = (int)((SoSFNode const *)arg1)->operator ==((SoSFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode___ne__" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode___ne__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFNode___ne__" "', argument " "2"" of type '" "SoSFNode const &""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - result = (int)((SoSFNode const *)arg1)->operator !=((SoSFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_initClass",0,0)) SWIG_fail; - SoSFNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_fixCopy" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFNode_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_referencesCopy" "', argument " "1"" of type '" "SoSFNode const *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - result = (SbBool)((SoSFNode const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFNode *arg1 = (SoSFNode *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFNode_setValue" "', argument " "1"" of type '" "SoSFNode *""'"); - } - arg1 = reinterpret_cast< SoSFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFNode_setValue" "', argument " "2"" of type '" "SoSFNode const *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - SoSFNode_setValue__SWIG_1(arg1,(SoSFNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFNode_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFNode_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFNode_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFNode_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFNode *,SoNode *)\n"" setValue(SoSFNode *,SoSFNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_initClass",0,0)) SWIG_fail; - SoNodekitCatalog::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)new SoNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodekitCatalog" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getNumEntries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getNumEntries",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getNumEntries" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - result = (int)((SoNodekitCatalog const *)arg1)->getNumEntries(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getPartNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getType'.\n Possible C/C++ prototypes are:\n"" getType(SoNodekitCatalog const *,int)\n"" getType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getDefaultType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getDefaultType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getDefaultType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getDefaultType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getDefaultType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getDefaultType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getDefaultType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getDefaultType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getDefaultType'.\n Possible C/C++ prototypes are:\n"" getDefaultType(SoNodekitCatalog const *,int)\n"" getDefaultType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isNullByDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isNullByDefault(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isNullByDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isNullByDefault((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isNullByDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isNullByDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isNullByDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isNullByDefault'.\n Possible C/C++ prototypes are:\n"" isNullByDefault(SoNodekitCatalog const *,int)\n"" isNullByDefault(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isLeaf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isLeaf(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isLeaf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isLeaf" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isLeaf((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isLeaf(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isLeaf__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isLeaf__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isLeaf'.\n Possible C/C++ prototypes are:\n"" isLeaf(SoNodekitCatalog const *,int)\n"" isLeaf(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getParentName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getParentName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getParentName((SbName const &)*arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentName__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getParentName'.\n Possible C/C++ prototypes are:\n"" getParentName(SoNodekitCatalog const *,int)\n"" getParentName(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoNodekitCatalog const *)arg1)->getParentPartNumber(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getParentPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getParentPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getParentPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getParentPartNumber(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentPartNumber__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getParentPartNumber__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getParentPartNumber'.\n Possible C/C++ prototypes are:\n"" getParentPartNumber(SoNodekitCatalog const *,int)\n"" getParentPartNumber(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getRightSiblingName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingName" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SbName const &_result_ref = ((SoNodekitCatalog const *)arg1)->getRightSiblingName((SbName const &)*arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingName__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getRightSiblingName'.\n Possible C/C++ prototypes are:\n"" getRightSiblingName(SoNodekitCatalog const *,int)\n"" getRightSiblingName(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)((SoNodekitCatalog const *)arg1)->getRightSiblingPartNumber(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getRightSiblingPartNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getRightSiblingPartNumber" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)((SoNodekitCatalog const *)arg1)->getRightSiblingPartNumber((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getRightSiblingPartNumber(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getRightSiblingPartNumber__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getRightSiblingPartNumber'.\n Possible C/C++ prototypes are:\n"" getRightSiblingPartNumber(SoNodekitCatalog const *,int)\n"" getRightSiblingPartNumber(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isList" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isList(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isList" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isList((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isList__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isList__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isList'.\n Possible C/C++ prototypes are:\n"" isList(SoNodekitCatalog const *,int)\n"" isList(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SoNodekitCatalog const *)arg1)->getListContainerType(arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListContainerType" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = ((SoNodekitCatalog const *)arg1)->getListContainerType((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListContainerType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getListContainerType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getListContainerType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getListContainerType'.\n Possible C/C++ prototypes are:\n"" getListContainerType(SoNodekitCatalog const *,int)\n"" getListContainerType(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoTypeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListItemTypes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoTypeList const &_result_ref = ((SoNodekitCatalog const *)arg1)->getListItemTypes(arg2); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoTypeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_getListItemTypes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_getListItemTypes" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - SoTypeList const &_result_ref = ((SoNodekitCatalog const *)arg1)->getListItemTypes((SbName const &)*arg2); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_getListItemTypes(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_getListItemTypes__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_getListItemTypes__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_getListItemTypes'.\n Possible C/C++ prototypes are:\n"" getListItemTypes(SoNodekitCatalog const *,int)\n"" getListItemTypes(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isPublic",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isPublic" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_isPublic" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoNodekitCatalog const *)arg1)->isPublic(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_isPublic",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_isPublic" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoNodekitCatalog const *)arg1)->isPublic((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_isPublic(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodekitCatalog_isPublic__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoNodekitCatalog_isPublic__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_isPublic'.\n Possible C/C++ prototypes are:\n"" isPublic(SoNodekitCatalog const *,int)\n"" isPublic(SoNodekitCatalog const *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SoType arg2 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_clone",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_clone" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodekitCatalog_clone" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_clone" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoNodekitCatalog *)((SoNodekitCatalog const *)arg1)->clone(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addEntry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - SoType arg4 ; - SbBool arg5 ; - SbName *arg6 = 0 ; - SbName *arg7 = 0 ; - SbBool arg8 ; - SoType arg9 ; - SoType arg10 ; - SbBool arg11 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 ; - int res9 = 0 ; - void *argp10 ; - int res10 = 0 ; - int val11 ; - int ecode11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addEntry",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addEntry" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addEntry" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_addEntry" "', argument " "4"" of type '" "SoType""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "4"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoNodekitCatalog_addEntry" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - { - if (PyString_Check(obj5)) { - arg6 = new SbName(PyString_AsString(obj5)); - } else { - SbName * tmp = NULL; - arg6 = new SbName; - SWIG_ConvertPtr(obj5, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg6 = *tmp; - } - } - { - if (PyString_Check(obj6)) { - arg7 = new SbName(PyString_AsString(obj6)); - } else { - SbName * tmp = NULL; - arg7 = new SbName; - SWIG_ConvertPtr(obj6, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg7 = *tmp; - } - } - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoNodekitCatalog_addEntry" "', argument " "8"" of type '" "SbBool""'"); - } - arg8 = static_cast< SbBool >(val8); - { - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoNodekitCatalog_addEntry" "', argument " "9"" of type '" "SoType""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "9"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp9); - arg9 = *temp; - if (SWIG_IsNewObj(res9)) delete temp; - } - } - { - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoNodekitCatalog_addEntry" "', argument " "10"" of type '" "SoType""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addEntry" "', argument " "10"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp10); - arg10 = *temp; - if (SWIG_IsNewObj(res10)) delete temp; - } - } - ecode11 = SWIG_AsVal_int(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoNodekitCatalog_addEntry" "', argument " "11"" of type '" "SbBool""'"); - } - arg11 = static_cast< SbBool >(val11); - result = (SbBool)(arg1)->addEntry((SbName const &)*arg2,arg3,arg4,arg5,(SbName const &)*arg6,(SbName const &)*arg7,arg8,arg9,arg10,arg11); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg6) { - delete arg6; - } - } - { - if (arg7) { - delete arg7; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg6) { - delete arg6; - } - } - { - if (arg7) { - delete arg7; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addListItemType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->addListItemType(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_addListItemType",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_addListItemType" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - (arg1)->addListItemType((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_addListItemType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodekitCatalog_addListItemType__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodekitCatalog, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodekitCatalog_addListItemType__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodekitCatalog_addListItemType'.\n Possible C/C++ prototypes are:\n"" addListItemType(SoNodekitCatalog *,int,SoType)\n"" addListItemType(SoNodekitCatalog *,SbName const &,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_narrowTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SoType arg3 ; - SoType arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 ; - int res3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_narrowTypes",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "3"" of type '" "SoType""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "3"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "4"" of type '" "SoType""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodekitCatalog_narrowTypes" "', argument " "4"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->narrowTypes((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_setNullByDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_setNullByDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_setNullByDefault" "', argument " "1"" of type '" "SoNodekitCatalog *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNodekitCatalog_setNullByDefault" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setNullByDefault((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_recursiveSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - SoTypeList *arg4 = (SoTypeList *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_recursiveSearch",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoTypeList, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNodekitCatalog_recursiveSearch" "', argument " "4"" of type '" "SoTypeList *""'"); - } - arg4 = reinterpret_cast< SoTypeList * >(argp4); - result = (SbBool)((SoNodekitCatalog const *)arg1)->recursiveSearch(arg2,(SbName const &)*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodekitCatalog_printCheck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *arg1 = (SoNodekitCatalog *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodekitCatalog_printCheck",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodekitCatalog_printCheck" "', argument " "1"" of type '" "SoNodekitCatalog const *""'"); - } - arg1 = reinterpret_cast< SoNodekitCatalog * >(argp1); - ((SoNodekitCatalog const *)arg1)->printCheck(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodekitCatalog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodekitCatalog, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFName",0,0)) SWIG_fail; - result = (SoSFName *)new SoSFName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFName" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFName::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getClassTypeId",0,0)) SWIG_fail; - result = SoSFName::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_getTypeId" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - result = ((SoSFName const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_copyFrom" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_isSame" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFName const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_getValue" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - { - SbName const &_result_ref = ((SoSFName const *)arg1)->getValue(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName___eq__" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName___eq__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName___eq__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - result = (int)((SoSFName const *)arg1)->operator ==((SoSFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName___ne__" "', argument " "1"" of type '" "SoSFName const *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName___ne__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFName___ne__" "', argument " "2"" of type '" "SoSFName const &""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - result = (int)((SoSFName const *)arg1)->operator !=((SoSFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_initClass",0,0)) SWIG_fail; - SoSFName::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_setValue" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFName *arg1 = (SoSFName *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFName_setValue" "', argument " "1"" of type '" "SoSFName *""'"); - } - arg1 = reinterpret_cast< SoSFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFName_setValue" "', argument " "2"" of type '" "SoSFName const *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - SoSFName_setValue__SWIG_2(arg1,(SoSFName const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFName_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFName_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFName_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFName_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFName_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFName *,SbName const &)\n"" setValue(SoSFName *,char const *const)\n"" setValue(SoSFName *,SoSFName const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFName",0,0)) SWIG_fail; - result = (SoMFName *)new SoMFName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFName" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFName::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getClassTypeId",0,0)) SWIG_fail; - result = SoMFName::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getTypeId" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = ((SoMFName const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_copyFrom" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_isSame" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_find" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_find" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFName_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFName_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFName *,SbName const &,SbBool)\n"" find(SoMFName *,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - int arg3 ; - SbName *arg4 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFName_setValues" "', argument " "4"" of type '" "SbName const *""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setValues(arg2,arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_set1Value" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___eq__" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName___eq__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName___eq__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->operator ==((SoMFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___ne__" "', argument " "1"" of type '" "SoMFName const *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFName, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName___ne__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFName___ne__" "', argument " "2"" of type '" "SoMFName const &""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - result = (SbBool)((SoMFName const *)arg1)->operator !=((SoMFName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_startEditing" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = (SbName *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_finishEditing" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_initClass",0,0)) SWIG_fail; - SoMFName::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - int arg3 ; - char **arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (char **)malloc(len * sizeof(char *)); - for (int i = 0; i < len; i++) { - PyObject * item = PyObject_Str(PySequence_GetItem(obj3,i)); - arg4[i] = PyString_AsString(item); - Py_DECREF(item); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(char const *(*))arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFName_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFName *,int const,int const,SbName const *)\n"" setValues(SoMFName *,int const,int const,char const *[])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___getitem__" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = SoMFName___getitem__(arg1,arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName___setitem__" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFName___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - SoMFName___setitem__(arg1,arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - SoMFName *arg2 = (SoMFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_setValue" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFName_setValue" "', argument " "2"" of type '" "SoMFName const *""'"); - } - arg2 = reinterpret_cast< SoMFName * >(argp2); - SoMFName_setValue__SWIG_2(arg1,(SoMFName const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFName_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFName *,SbName const &)\n"" setValue(SoMFName *,char const *)\n"" setValue(SoMFName *,SoMFName const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFName_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbName *)SoMFName___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFName *arg1 = (SoMFName *) 0 ; - int *arg2 = 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFName_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFName_getValues" "', argument " "1"" of type '" "SoMFName *""'"); - } - arg1 = reinterpret_cast< SoMFName * >(argp1); - result = (SbName *)SoMFName___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFName_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFName_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFName_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFName_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFName *,int &,int)\n"" __getValuesHelper__(SoMFName *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeKitListPart::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getTypeId" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = ((SoNodeKitListPart const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_initClass",0,0)) SWIG_fail; - SoNodeKitListPart::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKitListPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKitListPart",0,0)) SWIG_fail; - result = (SoNodeKitListPart *)new SoNodeKitListPart(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitListPart, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getContainerType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getContainerType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getContainerType" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = ((SoNodeKitListPart const *)arg1)->getContainerType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_setContainerType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_setContainerType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_setContainerType" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_setContainerType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_setContainerType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setContainerType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChildTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoTypeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChildTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChildTypes" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - SoTypeList const &_result_ref = ((SoNodeKitListPart const *)arg1)->getChildTypes(); - result = (SoTypeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTypeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_addChildType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_addChildType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_addChildType" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_addChildType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_addChildType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->addChildType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isTypePermitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isTypePermitted",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitListPart_isTypePermitted" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoNodeKitListPart const *)arg1)->isTypePermitted(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isChildPermitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isChildPermitted",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isChildPermitted" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_isChildPermitted" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoNodeKitListPart const *)arg1)->isChildPermitted((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_containerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_containerSet",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_containerSet" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_containerSet" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->containerSet((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_lockTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_lockTypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_lockTypes" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - (arg1)->lockTypes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_isTypeLocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_isTypeLocked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_isTypeLocked" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SbBool)((SoNodeKitListPart const *)arg1)->isTypeLocked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_addChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_insertChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoNodeKitListPart_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChild" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitListPart const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_findChild" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_findChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoNodeKitListPart const *)arg1)->findChild(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getNumChildren" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (int)((SoNodeKitListPart const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_removeChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_removeChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoNodeKitListPart_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitListPart_removeChild'.\n Possible C/C++ prototypes are:\n"" removeChild(SoNodeKitListPart *,int)\n"" removeChild(SoNodeKitListPart *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNodeKitListPart_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitListPart, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitListPart_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitListPart_replaceChild'.\n Possible C/C++ prototypes are:\n"" replaceChild(SoNodeKitListPart *,int,SoNode *)\n"" replaceChild(SoNodeKitListPart *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_affectsState" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SbBool)((SoNodeKitListPart const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_doAction" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_callback" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_GLRender" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getBoundingBox" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getMatrix" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_handleEvent" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_pick" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_search" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getPrimitiveCount" "', argument " "1"" of type '" "SoNodeKitListPart *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitListPart_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitListPart_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitListPart *arg1 = (SoNodeKitListPart *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitListPart_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitListPart, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitListPart_getChildren" "', argument " "1"" of type '" "SoNodeKitListPart const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitListPart * >(argp1); - result = (SoChildList *)((SoNodeKitListPart const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitListPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitListPart, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getLength" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - result = (int)((SoNodeKitPath const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getTail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getTail" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getTail(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getNode" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_getNodeFromTail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_getNodeFromTail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_getNodeFromTail" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_getNodeFromTail" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoNodeKitPath const *)arg1)->getNodeFromTail(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_truncate" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNodeKitPath_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_pop",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_pop" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - (arg1)->pop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_append" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_append" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = (SoNodeKitPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_append" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_append" "', argument " "2"" of type '" "SoNodeKitPath const *""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - (arg1)->append((SoNodeKitPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitPath_append__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeKitPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNodeKitPath_append__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNodeKitPath_append'.\n Possible C/C++ prototypes are:\n"" append(SoNodeKitPath *,SoBaseKit *)\n"" append(SoNodeKitPath *,SoNodeKitPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_containsNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoBaseKit *arg2 = (SoBaseKit *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_containsNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_containsNode" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_containsNode" "', argument " "2"" of type '" "SoBaseKit *""'"); - } - arg2 = reinterpret_cast< SoBaseKit * >(argp2); - result = (SbBool)((SoNodeKitPath const *)arg1)->containsNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath_findFork(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = (SoNodeKitPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath_findFork",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath_findFork" "', argument " "1"" of type '" "SoNodeKitPath const *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath_findFork" "', argument " "2"" of type '" "SoNodeKitPath const *""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)((SoNodeKitPath const *)arg1)->findFork((SoNodeKitPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath___eq__" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeKitPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath___eq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitPath___eq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)SoNodeKitPath___eq__(arg1,(SoNodeKitPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeKitPath___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKitPath *arg1 = (SoNodeKitPath *) 0 ; - SoNodeKitPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKitPath___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeKitPath___nq__" "', argument " "1"" of type '" "SoNodeKitPath *""'"); - } - arg1 = reinterpret_cast< SoNodeKitPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoNodeKitPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeKitPath___nq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeKitPath___nq__" "', argument " "2"" of type '" "SoNodeKitPath const &""'"); - } - arg2 = reinterpret_cast< SoNodeKitPath * >(argp2); - result = (int)SoNodeKitPath___nq__(arg1,(SoNodeKitPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKitPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKitPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoChildList *)new SoChildList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - int arg2 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoChildList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoChildList *)new SoChildList(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - SoChildList *arg2 = 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoChildList" "', argument " "1"" of type '" "SoNode *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoChildList" "', argument " "2"" of type '" "SoChildList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoChildList" "', argument " "2"" of type '" "SoChildList const &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - result = (SoChildList *)new SoChildList(arg1,(SoChildList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoChildList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoChildList__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoChildList__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoChildList__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoChildList'.\n Possible C/C++ prototypes are:\n"" SoChildList(SoNode *const)\n"" SoChildList(SoNode *const,int const)\n"" SoChildList(SoNode *const,SoChildList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoChildList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoChildList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoChildList" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_append" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_append" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_insert" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_insert" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_remove" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_truncate" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoChildList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_copy" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_copy" "', argument " "2"" of type '" "SoChildList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoChildList_copy" "', argument " "2"" of type '" "SoChildList const &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - (arg1)->copy((SoChildList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_set" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoChildList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoChildList_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverseInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - int *arg4 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverseInPath",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverseInPath" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverseInPath" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverseInPath" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoChildList_traverseInPath" "', argument " "4"" of type '" "int const *""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - (arg1)->traverseInPath(arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->traverse(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->traverse(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->traverse(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoAction *arg2 = (SoAction *) (SoAction *)0 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_traverse",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_traverse" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_traverse" "', argument " "2"" of type '" "SoAction *const""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoChildList_traverse" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoChildList_traverse" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->traverse(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_traverse(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoChildList_traverse__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoChildList_traverse__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoChildList_traverse__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoChildList_traverse__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoChildList_traverse'.\n Possible C/C++ prototypes are:\n"" traverse(SoChildList *,SoAction *const)\n"" traverse(SoChildList *,SoAction *const,int const)\n"" traverse(SoChildList *,SoAction *const,SoNode *)\n"" traverse(SoChildList *,SoAction *const,int const,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_addPathAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_addPathAuditor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_addPathAuditor" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_addPathAuditor" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->addPathAuditor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoChildList_removePathAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoChildList *arg1 = (SoChildList *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoChildList_removePathAuditor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoChildList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoChildList_removePathAuditor" "', argument " "1"" of type '" "SoChildList *""'"); - } - arg1 = reinterpret_cast< SoChildList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoChildList_removePathAuditor" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->removePathAuditor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoChildList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoChildList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBaseKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getClassTypeId",0,0)) SWIG_fail; - result = SoBaseKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getTypeId" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = ((SoBaseKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_initClass",0,0)) SWIG_fail; - SoBaseKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseKit",0,0)) SWIG_fail; - result = (SoBaseKit *)new SoBaseKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoBaseKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getNodekitCatalog" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = (SoNodekitCatalog *)((SoBaseKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_getPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoNode *)(arg1)->getPart((SbName const &)*arg2,arg3); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPartString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoBase *arg2 = (SoBase *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPartString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPartString" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getPartString" "', argument " "2"" of type '" "SoBase const *""'"); - } - arg2 = reinterpret_cast< SoBase * >(argp2); - result = (arg1)->getPartString((SoBase const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - SoPath *arg4 = (SoPath *) 0 ; - SoNodeKitPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_createPathToPart",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_createPathToPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_createPathToPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBaseKit_createPathToPart" "', argument " "4"" of type '" "SoPath const *""'"); - } - arg4 = reinterpret_cast< SoPath * >(argp4); - result = (SoNodeKitPath *)(arg1)->createPathToPart((SbName const &)*arg2,arg3,(SoPath const *)arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SbBool arg3 ; - SoNodeKitPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_createPathToPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_createPathToPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_createPathToPart" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoNodeKitPath *)(arg1)->createPathToPart((SbName const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKitPath, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_createPathToPart(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBaseKit_createPathToPart__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_createPathToPart__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_createPathToPart'.\n Possible C/C++ prototypes are:\n"" createPathToPart(SoBaseKit *,SbName const &,SbBool,SoPath const *)\n"" createPathToPart(SoBaseKit *,SbName const &,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_setPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_setPart" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseKit_setPart" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPart((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_set" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_set" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseKit_set" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set((char const *)arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_set'.\n Possible C/C++ prototypes are:\n"" set(SoBaseKit *,char const *)\n"" set(SoBaseKit *,char const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_doAction" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_callback" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_GLRender" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getBoundingBox" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getMatrix" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_handleEvent" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_rayPick" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_search" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_write" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getPrimitiveCount" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_getChildren" "', argument " "1"" of type '" "SoBaseKit const *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - result = (SoChildList *)((SoBaseKit const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printDiagram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printDiagram",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printDiagram" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - (arg1)->printDiagram(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printSubDiagram(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SbName *arg2 = 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printSubDiagram",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printSubDiagram" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_printSubDiagram" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->printSubDiagram((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_printTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_printTable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_printTable" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - (arg1)->printTable(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_addWriteReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_addWriteReference" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBaseKit_addWriteReference" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->addWriteReference(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_addWriteReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_addWriteReference" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_addWriteReference" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->addWriteReference(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_addWriteReference(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoBaseKit_addWriteReference__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoBaseKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoBaseKit_addWriteReference__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoBaseKit_addWriteReference'.\n Possible C/C++ prototypes are:\n"" addWriteReference(SoBaseKit *,SoOutput *,SbBool)\n"" addWriteReference(SoBaseKit *,SoOutput *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_forceChildDrivenWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseKit *arg1 = (SoBaseKit *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_forceChildDrivenWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseKit_forceChildDrivenWriteRefs" "', argument " "1"" of type '" "SoBaseKit *""'"); - } - arg1 = reinterpret_cast< SoBaseKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_forceChildDrivenWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - result = (SbBool)(arg1)->forceChildDrivenWriteRefs(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_isSearchingChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_isSearchingChildren",0,0)) SWIG_fail; - result = (SbBool)SoBaseKit::isSearchingChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_setSearchingChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_setSearchingChildren",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoBaseKit_setSearchingChildren" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoBaseKit::setSearchingChildren(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseKit_typeCheck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoType *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SoNode *result = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseKit_typeCheck",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseKit_typeCheck" "', argument " "2"" of type '" "SoType const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBaseKit_typeCheck" "', argument " "2"" of type '" "SoType const &""'"); - } - arg2 = reinterpret_cast< SoType * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBaseKit_typeCheck" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SoNode *)SoBaseKit::typeCheck((SbName const &)*arg1,(SoType const &)*arg2,arg3); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoBaseKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSensor" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setFunction" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSensor_setFunction" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - (arg1)->setFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensorCBPtr result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getFunction" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SoSensorCBPtr)((SoSensor const *)arg1)->getFunction(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_SoSensor__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setData" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_setData" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->setData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getData" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (void *)((SoSensor const *)arg1)->getData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_schedule" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_unschedule" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_isScheduled" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SbBool)((SoSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_trigger" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_isBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensor *arg2 = (SoSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_isBefore",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_isBefore" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_isBefore" "', argument " "2"" of type '" "SoSensor const *""'"); - } - arg2 = reinterpret_cast< SoSensor * >(argp2); - result = (SbBool)((SoSensor const *)arg1)->isBefore((SoSensor const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_setNextInQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensor *arg2 = (SoSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_setNextInQueue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_setNextInQueue" "', argument " "1"" of type '" "SoSensor *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSensor_setNextInQueue" "', argument " "2"" of type '" "SoSensor *""'"); - } - arg2 = reinterpret_cast< SoSensor * >(argp2); - (arg1)->setNextInQueue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_getNextInQueue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensor *arg1 = (SoSensor *) 0 ; - SoSensor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_getNextInQueue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSensor_getNextInQueue" "', argument " "1"" of type '" "SoSensor const *""'"); - } - arg1 = reinterpret_cast< SoSensor * >(argp1); - result = (SoSensor *)((SoSensor const *)arg1)->getNextInQueue(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSensor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSensor_initClass",0,0)) SWIG_fail; - SoSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoDelayQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDelayQueueSensor",0,0)) SWIG_fail; - result = (SoDelayQueueSensor *)new SoDelayQueueSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDelayQueueSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoDelayQueueSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDelayQueueSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoDelayQueueSensor *)new SoDelayQueueSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDelayQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDelayQueueSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDelayQueueSensor" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_setPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_setPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_setPriority" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDelayQueueSensor_setPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_getPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_getPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_getPriority" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = (uint32_t)((SoDelayQueueSensor const *)arg1)->getPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_getDefaultPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_getDefaultPriority",0,0)) SWIG_fail; - result = (uint32_t)SoDelayQueueSensor::getDefaultPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_schedule" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_unschedule" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_isScheduled" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = (SbBool)((SoDelayQueueSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_isIdleOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_isIdleOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_isIdleOnly" "', argument " "1"" of type '" "SoDelayQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - result = (SbBool)((SoDelayQueueSensor const *)arg1)->isIdleOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDelayQueueSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDelayQueueSensor *arg1 = (SoDelayQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDelayQueueSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDelayQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDelayQueueSensor_trigger" "', argument " "1"" of type '" "SoDelayQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoDelayQueueSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDelayQueueSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDelayQueueSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoDataSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDataSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDataSensor" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->setDeleteCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoSensorCB *arg2 = (SoSensorCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setDeleteCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSensor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDataSensor_setDeleteCallback" "', argument " "2"" of type '" "SoSensorCB *""'"); - } - } - (arg1)->setDeleteCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setDeleteCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDataSensor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSensor__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDataSensor_setDeleteCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDataSensor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSensor__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDataSensor_setDeleteCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDataSensor_setDeleteCallback'.\n Possible C/C++ prototypes are:\n"" setDeleteCallback(SoDataSensor *,SoSensorCB *,void *)\n"" setDeleteCallback(SoDataSensor *,SoSensorCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerNode" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoNode *)((SoDataSensor const *)arg1)->getTriggerNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerField" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoField *)((SoDataSensor const *)arg1)->getTriggerField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerPath" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SoPath *)((SoDataSensor const *)arg1)->getTriggerPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_setTriggerPathFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_setTriggerPathFlag",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_setTriggerPathFlag" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDataSensor_setTriggerPathFlag" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setTriggerPathFlag(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_getTriggerPathFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_getTriggerPathFlag",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_getTriggerPathFlag" "', argument " "1"" of type '" "SoDataSensor const *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - result = (SbBool)((SoDataSensor const *)arg1)->getTriggerPathFlag(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_trigger" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_notify" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDataSensor_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDataSensor_dyingReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDataSensor *arg1 = (SoDataSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDataSensor_dyingReference",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDataSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDataSensor_dyingReference" "', argument " "1"" of type '" "SoDataSensor *""'"); - } - arg1 = reinterpret_cast< SoDataSensor * >(argp1); - (arg1)->dyingReference(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDataSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDataSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoFieldSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldSensor",0,0)) SWIG_fail; - result = (SoFieldSensor *)new SoFieldSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFieldSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoFieldSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFieldSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoFieldSensor *)new SoFieldSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoFieldSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoFieldSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoFieldSensor" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_attach" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldSensor_attach" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_detach" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_getAttachedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_getAttachedField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_getAttachedField" "', argument " "1"" of type '" "SoFieldSensor const *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - result = (SoField *)((SoFieldSensor const *)arg1)->getAttachedField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldSensor *arg1 = (SoFieldSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldSensor_trigger" "', argument " "1"" of type '" "SoFieldSensor *""'"); - } - arg1 = reinterpret_cast< SoFieldSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getClassTypeId",0,0)) SWIG_fail; - result = SoInteractionKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_getTypeId" "', argument " "1"" of type '" "SoInteractionKit const *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = ((SoInteractionKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoInteractionKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_getNodekitCatalog" "', argument " "1"" of type '" "SoInteractionKit const *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoNodekitCatalog *)((SoInteractionKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCaching_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCaching_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_boundingBoxCaching_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_boundingBoxCaching_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCulling_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_renderCulling_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_pickCulling_set" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_pickCulling_get" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInteractionKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInteractionKit",0,0)) SWIG_fail; - result = (SoInteractionKit *)new SoInteractionKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInteractionKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_initClass",0,0)) SWIG_fail; - SoInteractionKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoPath *arg3 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsPath",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsPath" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsPath" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - result = (SbBool)(arg1)->setPartAsPath((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,(SbName const &)*arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPartAsDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPartAsDefault" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->setPartAsDefault((SbName const &)*arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPartAsDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_setPartAsDefault__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInteractionKit_setPartAsDefault'.\n Possible C/C++ prototypes are:\n"" setPartAsDefault(SoInteractionKit *,SbName const &,SoNode *,SbBool)\n"" setPartAsDefault(SoInteractionKit *,SbName const &,SoNode *)\n"" setPartAsDefault(SoInteractionKit *,SbName const &,SbName const &,SbBool)\n"" setPartAsDefault(SoInteractionKit *,SbName const &,SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPath **arg3 = 0 ; - SbName *arg4 = 0 ; - SoPath **arg5 = 0 ; - SbBool arg6 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - arg3 = reinterpret_cast< SoPath ** >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - arg5 = reinterpret_cast< SoPath ** >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2,*arg3,*arg4,*arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPath **arg3 = 0 ; - SbName *arg4 = 0 ; - SoPath **arg5 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "3"" of type '" "SoPath *&""'"); - } - arg3 = reinterpret_cast< SoPath ** >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoPath, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "5"" of type '" "SoPath *&""'"); - } - arg5 = reinterpret_cast< SoPath ** >(argp5); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_isPathSurrogateInMySubgraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInteractionKit_isPathSurrogateInMySubgraph" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->isPathSurrogateInMySubgraph((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_isPathSurrogateInMySubgraph(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_2(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoInteractionKit, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoInteractionKit_isPathSurrogateInMySubgraph__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoInteractionKit_isPathSurrogateInMySubgraph'.\n Possible C/C++ prototypes are:\n"" isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *,SoPath *&,SbName &,SoPath *&,SbBool)\n"" isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *,SoPath *&,SbName &,SoPath *&)\n"" isPathSurrogateInMySubgraph(SoInteractionKit *,SoPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setSwitchValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setSwitchValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setSwitchValue" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoInteractionKit_setSwitchValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoInteractionKit::setSwitchValue(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInteractionKit_setPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteractionKit *arg1 = (SoInteractionKit *) 0 ; - SbName *arg2 = 0 ; - SoNode *arg3 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteractionKit_setPart",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteractionKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInteractionKit_setPart" "', argument " "1"" of type '" "SoInteractionKit *""'"); - } - arg1 = reinterpret_cast< SoInteractionKit * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoInteractionKit_setPart" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - result = (SbBool)(arg1)->setPart((SbName const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoInteractionKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInteractionKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBool",0,0)) SWIG_fail; - result = (SoSFBool *)new SoSFBool(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBool",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBool" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBool::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBool::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_getTypeId" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - result = ((SoSFBool const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_copyFrom" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_isSame" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBool const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_getValue" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - result = (SbBool)((SoSFBool const *)arg1)->getValue(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_setValue" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBool_setValue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool___eq__" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool___eq__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool___eq__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - result = (int)((SoSFBool const *)arg1)->operator ==((SoSFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool___ne__" "', argument " "1"" of type '" "SoSFBool const *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool___ne__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBool___ne__" "', argument " "2"" of type '" "SoSFBool const &""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - result = (int)((SoSFBool const *)arg1)->operator !=((SoSFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_initClass",0,0)) SWIG_fail; - SoSFBool::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBool *arg1 = (SoSFBool *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBool_setValue" "', argument " "1"" of type '" "SoSFBool *""'"); - } - arg1 = reinterpret_cast< SoSFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBool_setValue" "', argument " "2"" of type '" "SoSFBool const *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - SoSFBool_setValue__SWIG_1(arg1,(SoSFBool const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBool_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBool_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBool_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBool_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFBool *,SbBool)\n"" setValue(SoSFBool *,SoSFBool const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBool_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBool, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoCallbackList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallbackList",0,0)) SWIG_fail; - result = (SoCallbackList *)new SoCallbackList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallbackList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoCallbackList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoCallbackList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoCallbackList" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_addCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_addCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_addCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackList_addCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_addCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_addCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_addCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - (arg1)->addCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_addCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_addCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_addCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackList_addCallback'.\n Possible C/C++ prototypes are:\n"" addCallback(SoCallbackList *,SoCallbackListCB *,void *)\n"" addCallback(SoCallbackList *,SoCallbackListCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_removeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_removeCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_removeCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallbackList_removeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - SoCallbackListCB *arg2 = (SoCallbackListCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_removeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_removeCallback" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallbackList_removeCallback" "', argument " "2"" of type '" "SoCallbackListCB *""'"); - } - } - (arg1)->removeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_removeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_removeCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallbackList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallbackList_removeCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallbackList_removeCallback'.\n Possible C/C++ prototypes are:\n"" removeCallback(SoCallbackList *,SoCallbackListCB *,void *)\n"" removeCallback(SoCallbackList *,SoCallbackListCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_clearCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_clearCallbacks",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_clearCallbacks" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - (arg1)->clearCallbacks(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_getNumCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_getNumCallbacks",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_getNumCallbacks" "', argument " "1"" of type '" "SoCallbackList const *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - result = (int)((SoCallbackList const *)arg1)->getNumCallbacks(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallbackList_invokeCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallbackList *arg1 = (SoCallbackList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallbackList_invokeCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallbackList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallbackList_invokeCallbacks" "', argument " "1"" of type '" "SoCallbackList *""'"); - } - arg1 = reinterpret_cast< SoCallbackList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallbackList_invokeCallbacks" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->invokeCallbacks(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCallbackList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallbackList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",0,0)) SWIG_fail; - result = (SbVec3d *)new SbVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - SbVec3d *result = 0 ; - double temp1[3] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec3d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec3d *)new SbVec3d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - SbVec3d *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec3d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec3d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbVec3d *)new SbVec3d(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbVec3d" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - result = (SbVec3d *)new SbVec3d((SbVec3f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec3d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec3d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbVec3d__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec3d__SWIG_1(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec3d__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec3d'.\n Possible C/C++ prototypes are:\n"" SbVec3d()\n"" SbVec3d(double const [3])\n"" SbVec3d(double const,double const,double const)\n"" SbVec3d(SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_cross(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_cross",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_cross" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_cross" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_cross" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = ((SbVec3d const *)arg1)->cross((SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_dot" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_dot" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_dot" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (double)((SbVec3d const *)arg1)->dot((SbVec3d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_equals" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_equals" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_equals" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec3d const *)arg1)->equals((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_getClosestAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_getClosestAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_getClosestAxis" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = ((SbVec3d const *)arg1)->getClosestAxis(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_getValue" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double *)((SbVec3d const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(fff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_length" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)((SbVec3d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_sqrLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_sqrLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_sqrLength" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)((SbVec3d const *)arg1)->sqrLength(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_negate" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_normalize" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double *arg2 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - { - convert_SbVec3d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec3d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - { - SbVec3d &_result_ref = (arg1)->setValue(arg2,arg3,arg4); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbVec3d *arg5 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbVec3d_setValue" "', argument " "5"" of type '" "SbVec3d const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "5"" of type '" "SbVec3d const &""'"); - } - arg5 = reinterpret_cast< SbVec3d * >(argp5); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3,(SbVec3d const &)*arg4,(SbVec3d const &)*arg5); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_setValue" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - SbVec3d &_result_ref = (arg1)->setValue((SbVec3f const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d_setValue__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec3d_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec3d *,double const [3])\n"" setValue(SbVec3d *,double const,double const,double const)\n"" setValue(SbVec3d *,SbVec3d const &,SbVec3d const &,SbVec3d const &,SbVec3d const &)\n"" setValue(SbVec3d *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___imul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___idiv__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec3d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___iadd__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___iadd__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___iadd__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3d &_result_ref = (arg1)->operator +=((SbVec3d const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___isub__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___isub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___isub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - { - SbVec3d &_result_ref = (arg1)->operator -=((SbVec3d const &)*arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___neg__" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - result = ((SbVec3d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d_output" "', argument " "1"" of type '" "SbVec3d const *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec3d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___add__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___add__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___add__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbVec3d___add__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___sub__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___sub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___sub__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbVec3d___sub__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___mul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___mul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbVec3d___mul____SWIG_1(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec3d___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec3d___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___rmul__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - double arg2 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___div__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec3d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___eq__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___eq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___eq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)SbVec3d___eq__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___nq__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3d___nq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec3d___nq__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)SbVec3d___nq__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - int arg2 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___getitem__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec3d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3d___setitem__" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec3d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3d" "', argument " "1"" of type '" "SbVec3d *""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPViewVolume",0,0)) SWIG_fail; - result = (SbDPViewVolume *)new SbDPViewVolume(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPViewVolume" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getMatrices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getMatrices",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getMatrices" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getMatrices" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getMatrices" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_getMatrices" "', argument " "3"" of type '" "SbDPMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getMatrices" "', argument " "3"" of type '" "SbDPMatrix &""'"); - } - arg3 = reinterpret_cast< SbDPMatrix * >(argp3); - ((SbDPViewVolume const *)arg1)->getMatrices(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getMatrix" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getMatrix(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getCameraSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getCameraSpaceMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getCameraSpaceMatrix" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getCameraSpaceMatrix(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec2d *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectPointToLine",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - ((SbDPViewVolume const *)arg1)->projectPointToLine((SbVec2d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectPointToLine",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectPointToLine" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - ((SbDPViewVolume const *)arg1)->projectPointToLine((SbVec2d const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectPointToLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_projectPointToLine__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_projectPointToLine__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_projectPointToLine'.\n Possible C/C++ prototypes are:\n"" projectPointToLine(SbDPViewVolume const *,SbVec2d const &,SbDPLine &)\n"" projectPointToLine(SbDPViewVolume const *,SbVec2d const &,SbVec3d &,SbVec3d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectToScreen",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectToScreen" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_projectToScreen" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectToScreen" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPViewVolume const *)arg1)->projectToScreen((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - SbPlane result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getPlane" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getPlane" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = ((SbDPViewVolume const *)arg1)->getPlane(arg2); - resultobj = SWIG_NewPointerObj((new SbPlane(static_cast< const SbPlane& >(result))), SWIGTYPE_p_SbPlane, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getSightPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getSightPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getSightPoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getSightPoint" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = ((SbDPViewVolume const *)arg1)->getSightPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getPlanePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - SbVec2d *arg3 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getPlanePoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - result = ((SbDPViewVolume const *)arg1)->getPlanePoint(arg2,(SbVec2d const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBool arg2 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getAlignRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = ((SbDPViewVolume const *)arg1)->getAlignRotation(arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getAlignRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getAlignRotation(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getAlignRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_getAlignRotation__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPViewVolume_getAlignRotation__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_getAlignRotation'.\n Possible C/C++ prototypes are:\n"" getAlignRotation(SbDPViewVolume const *,SbBool)\n"" getAlignRotation(SbDPViewVolume const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getWorldToScreenScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getWorldToScreenScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_getWorldToScreenScale" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (double)((SbDPViewVolume const *)arg1)->getWorldToScreenScale((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_projectBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_projectBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_projectBox" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbDPViewVolume const *)arg1)->projectBox((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - SbDPViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_narrow",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_narrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_narrow" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_narrow" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_narrow" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - result = ((SbDPViewVolume const *)arg1)->narrow(arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - SbDPViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_narrow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_narrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbDPViewVolume const *)arg1)->narrow((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_narrow(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPViewVolume_narrow__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPViewVolume_narrow__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPViewVolume_narrow'.\n Possible C/C++ prototypes are:\n"" narrow(SbDPViewVolume const *,double,double,double,double)\n"" narrow(SbDPViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_ortho(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_ortho",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_ortho" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_ortho" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_ortho" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_ortho" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_ortho" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPViewVolume_ortho" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPViewVolume_ortho" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - (arg1)->ortho(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_perspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_perspective",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_perspective" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_perspective" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_perspective" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_perspective" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_perspective" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->perspective(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_frustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_frustum",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_frustum" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_frustum" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_frustum" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPViewVolume_frustum" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPViewVolume_frustum" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPViewVolume_frustum" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPViewVolume_frustum" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - (arg1)->frustum(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_rotateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_rotateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_rotateCamera" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_rotateCamera" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_rotateCamera" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - (arg1)->rotateCamera((SbDPRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_translateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_translateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_translateCamera" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->translateCamera((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_zVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_zVector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_zVector" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->zVector(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_zNarrow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - double arg3 ; - SbDPViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_zNarrow",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_zNarrow" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_zNarrow" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPViewVolume_zNarrow" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = ((SbDPViewVolume const *)arg1)->zNarrow(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbDPViewVolume(static_cast< const SbDPViewVolume& >(result))), SWIGTYPE_p_SbDPViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scale" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scale" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scaleWidth" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scaleWidth" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_scaleHeight" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPViewVolume_scaleHeight" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPViewVolume::ProjectionType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionType" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (SbDPViewVolume::ProjectionType)((SbDPViewVolume const *)arg1)->getProjectionType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionPoint" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPViewVolume const *)arg1)->getProjectionPoint(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getProjectionDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getProjectionDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getProjectionDirection" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPViewVolume const *)arg1)->getProjectionDirection(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getNearDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getNearDist",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getNearDist" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getNearDist(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getWidth" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getWidth(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getHeight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getHeight" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getHeight(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getDepth" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = (double)((SbDPViewVolume const *)arg1)->getDepth(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_output" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPViewVolume const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getViewVolumePlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbPlane *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getViewVolumePlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getViewVolumePlanes" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_getViewVolumePlanes" "', argument " "2"" of type '" "SbPlane [6]""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ((SbDPViewVolume const *)arg1)->getViewVolumePlanes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_transform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_transform" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_transform" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - (arg1)->transform((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_getViewUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_getViewUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_getViewUp" "', argument " "1"" of type '" "SbDPViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - result = ((SbDPViewVolume const *)arg1)->getViewUp(); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPViewVolume_copyValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPViewVolume *arg1 = (SbDPViewVolume *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPViewVolume_copyValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPViewVolume_copyValues" "', argument " "1"" of type '" "SbDPViewVolume *""'"); - } - arg1 = reinterpret_cast< SbDPViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPViewVolume_copyValues" "', argument " "2"" of type '" "SbViewVolume &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPViewVolume_copyValues" "', argument " "2"" of type '" "SbViewVolume &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->copyValues(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPViewVolume_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPViewVolume, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbViewVolume",0,0)) SWIG_fail; - result = (SbViewVolume *)new SbViewVolume(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbViewVolume" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getMatrices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getMatrices",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getMatrices" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getMatrices" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getMatrices" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_getMatrices" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getMatrices" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SbViewVolume const *)arg1)->getMatrices(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getMatrix" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getCameraSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getCameraSpaceMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getCameraSpaceMatrix" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getCameraSpaceMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - SbPlane result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getPlane" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getPlane" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SbViewVolume const *)arg1)->getPlane(arg2); - resultobj = SWIG_NewPointerObj((new SbPlane(static_cast< const SbPlane& >(result))), SWIGTYPE_p_SbPlane, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getSightPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getSightPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getSightPoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getSightPoint" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SbViewVolume const *)arg1)->getSightPoint(arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getPlanePoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - SbVec2f *arg3 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getPlanePoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getPlanePoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getPlanePoint" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getPlanePoint" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = ((SbViewVolume const *)arg1)->getPlanePoint(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBool arg2 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getAlignRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_getAlignRotation" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = ((SbViewVolume const *)arg1)->getAlignRotation(arg2); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getAlignRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getAlignRotation" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getAlignRotation(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getAlignRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_getAlignRotation__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewVolume_getAlignRotation__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_getAlignRotation'.\n Possible C/C++ prototypes are:\n"" getAlignRotation(SbViewVolume const *,SbBool)\n"" getAlignRotation(SbViewVolume const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getWorldToScreenScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getWorldToScreenScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_getWorldToScreenScale" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (float)((SbViewVolume const *)arg1)->getWorldToScreenScale((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectBox" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_projectBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbViewVolume const *)arg1)->projectBox((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_narrow",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_narrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_narrow" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_narrow" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_narrow" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - result = ((SbViewVolume const *)arg1)->narrow(arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_narrow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_narrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_narrow" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = ((SbViewVolume const *)arg1)->narrow((SbBox3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_narrow(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_narrow__SWIG_1(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbViewVolume_narrow__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_narrow'.\n Possible C/C++ prototypes are:\n"" narrow(SbViewVolume const *,float,float,float,float)\n"" narrow(SbViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ortho(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ortho",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ortho" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_ortho" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_ortho" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_ortho" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_ortho" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbViewVolume_ortho" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbViewVolume_ortho" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->ortho(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_perspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_perspective",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_perspective" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_perspective" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_perspective" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_perspective" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_perspective" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->perspective(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_frustum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_frustum",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_frustum" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_frustum" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_frustum" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbViewVolume_frustum" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbViewVolume_frustum" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbViewVolume_frustum" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbViewVolume_frustum" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->frustum(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_rotateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_rotateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_rotateCamera" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_rotateCamera" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_rotateCamera" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->rotateCamera((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_translateCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_translateCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_translateCamera" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_translateCamera" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->translateCamera((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_zVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_zVector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_zVector" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->zVector(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_zNarrow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - float arg3 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_zNarrow",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_zNarrow" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_zNarrow" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbViewVolume_zNarrow" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = ((SbViewVolume const *)arg1)->zNarrow(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scale" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scale" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scaleWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scaleWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scaleWidth" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scaleWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_scaleHeight" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbViewVolume::ProjectionType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionType" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbViewVolume::ProjectionType)((SbViewVolume const *)arg1)->getProjectionType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionPoint" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - SbVec3f const &_result_ref = ((SbViewVolume const *)arg1)->getProjectionPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getProjectionDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getProjectionDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getProjectionDirection" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - SbVec3f const &_result_ref = ((SbViewVolume const *)arg1)->getProjectionDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getNearDist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getNearDist",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getNearDist" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getNearDist(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getWidth" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getHeight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getHeight" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getHeight(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getDepth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getDepth" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float)((SbViewVolume const *)arg1)->getDepth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_output" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbViewVolume const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getViewVolumePlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbPlane *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getViewVolumePlanes",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getViewVolumePlanes" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_getViewVolumePlanes" "', argument " "2"" of type '" "SbPlane [6]""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ((SbViewVolume const *)arg1)->getViewVolumePlanes(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_transform" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_getViewUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_getViewUp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_getViewUp" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = ((SbViewVolume const *)arg1)->getViewUp(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbViewVolume_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbVec3f const &)*arg2,(SbVec3f const &)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_intersect" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_intersect" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)((SbViewVolume const *)arg1)->intersect((SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbViewVolume, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbViewVolume_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbViewVolume_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbViewVolume const *,SbVec3f const &)\n"" intersect(SbViewVolume const *,SbVec3f const &,SbVec3f const &,SbVec3f &)\n"" intersect(SbViewVolume const *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_outsideTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbPlane *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_outsideTest",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_outsideTest" "', argument " "1"" of type '" "SbViewVolume const *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_outsideTest" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbViewVolume_outsideTest" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbViewVolume_outsideTest" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_outsideTest" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbViewVolume const *)arg1)->outsideTest((SbPlane const &)*arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbViewVolume::ProjectionType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_type_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_type_set" "', argument " "2"" of type '" "SbViewVolume::ProjectionType""'"); - } - arg2 = static_cast< SbViewVolume::ProjectionType >(val2); - if (arg1) (arg1)->type = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbViewVolume::ProjectionType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_type_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbViewVolume::ProjectionType) ((arg1)->type); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projPoint_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projPoint_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projPoint_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projPoint_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->projPoint = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projPoint_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projPoint_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projPoint_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->projPoint); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projDir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projDir_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projDir_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projDir_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->projDir = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projDir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projDir_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projDir_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->projDir); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearDist_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearDist_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearDist_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_nearDist_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->nearDist = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearDist_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearDist_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearDist_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float) ((arg1)->nearDist); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearToFar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearToFar_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearToFar_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbViewVolume_nearToFar_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - if (arg1) (arg1)->nearToFar = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_nearToFar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_nearToFar_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_nearToFar_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (float) ((arg1)->nearToFar); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_llf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_llf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_llf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_llf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->llf = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_llf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_llf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_llf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->llf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_lrf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_lrf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_lrf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_lrf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->lrf = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_lrf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_lrf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_lrf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->lrf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ulf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ulf_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ulf_set" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_ulf_set" "', argument " "2"" of type '" "SbVec3f *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - if (arg1) (arg1)->ulf = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_ulf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_ulf_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_ulf_get" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (SbVec3f *)& ((arg1)->ulf); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectPointToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - SbVec2f *arg2 = 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectPointToLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectPointToLine" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbViewVolume_projectPointToLine" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (PyObject *)SbViewVolume_projectPointToLine(arg1,(SbVec2f const &)*arg2); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbViewVolume_projectToScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewVolume *arg1 = (SbViewVolume *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbViewVolume_projectToScreen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbViewVolume, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbViewVolume_projectToScreen" "', argument " "1"" of type '" "SbViewVolume *""'"); - } - arg1 = reinterpret_cast< SbViewVolume * >(argp1); - result = (PyObject *)SbViewVolume_projectToScreen(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbViewVolume_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbViewVolume, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3f",0,0)) SWIG_fail; - result = (SoSFVec3f *)new SoSFVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3f" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_getTypeId" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - result = ((SoSFVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_copyFrom" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_isSame" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_getValue" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - { - SbVec3f const &_result_ref = ((SoSFVec3f const *)arg1)->getValue(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f___eq__" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f___eq__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f___eq__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - result = (int)((SoSFVec3f const *)arg1)->operator ==((SoSFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f___ne__" "', argument " "1"" of type '" "SoSFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f___ne__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3f___ne__" "', argument " "2"" of type '" "SoSFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - result = (int)((SoSFVec3f const *)arg1)->operator !=((SoSFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_initClass",0,0)) SWIG_fail; - SoSFVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3f *arg1 = (SoSFVec3f *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3f_setValue" "', argument " "1"" of type '" "SoSFVec3f *""'"); - } - arg1 = reinterpret_cast< SoSFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3f_setValue" "', argument " "2"" of type '" "SoSFVec3f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - SoSFVec3f_setValue__SWIG_3(arg1,(SoSFVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec3f *,SbVec3f const &)\n"" setValue(SoSFVec3f *,float const,float const,float const)\n"" setValue(SoSFVec3f *,float const [3])\n"" setValue(SoSFVec3f *,SoSFVec3f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getClassTypeId",0,0)) SWIG_fail; - result = SoScale::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getTypeId" "', argument " "1"" of type '" "SoScale const *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - result = ((SoScale const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_initClass",0,0)) SWIG_fail; - SoScale::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale",0,0)) SWIG_fail; - result = (SoScale *)new SoScale(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_scaleFactor_set" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_scaleFactor_get" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_doAction" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_callback" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_GLRender" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getBoundingBox" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getMatrix" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_pick" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale *arg1 = (SoScale *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale_getPrimitiveCount" "', argument " "1"" of type '" "SoScale *""'"); - } - arg1 = reinterpret_cast< SoScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTypeId" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = ((SoDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_isActive_set" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_isActive_get" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_callback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_GLRender" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_rayPick" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_search" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_write" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPrimitiveCount" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeStartCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addMotionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addMotionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeMotionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeMotionCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeMotionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeFinishCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addValueChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addValueChangedCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeValueChangedCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeValueChangedCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMinGesture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMinGesture",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setMinGesture" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_setMinGesture" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMinGesture(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMinGesture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMinGesture",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMinGesture" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (int)((SoDragger const *)arg1)->getMinGesture(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_enableValueChangedCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_enableValueChangedCallbacks",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_enableValueChangedCallbacks" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_enableValueChangedCallbacks" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableValueChangedCallbacks(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMotionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbMatrix const &_result_ref = (arg1)->getMotionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addOtherEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_addOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->addOtherEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeOtherEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDraggerCB *arg2 = (SoDraggerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoDragger__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "2"" of type '" "SoDraggerCB *""'"); - } - } - (arg1)->removeOtherEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_registerChildDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_registerChildDragger",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_registerChildDragger" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_registerChildDragger" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->registerChildDragger(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_unregisterChildDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_unregisterChildDragger",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_unregisterChildDragger" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_unregisterChildDragger" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->unregisterChildDragger(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_registerChildDraggerMovingIndependently(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_registerChildDraggerMovingIndependently",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_registerChildDraggerMovingIndependently" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_registerChildDraggerMovingIndependently" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->registerChildDraggerMovingIndependently(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_unregisterChildDraggerMovingIndependently(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger *arg2 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_unregisterChildDraggerMovingIndependently",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_unregisterChildDraggerMovingIndependently" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_unregisterChildDraggerMovingIndependently" "', argument " "2"" of type '" "SoDragger *""'"); - } - arg2 = reinterpret_cast< SoDragger * >(argp2); - (arg1)->unregisterChildDraggerMovingIndependently(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getLocalToWorldMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getLocalToWorldMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getLocalToWorldMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getLocalToWorldMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getWorldToLocalMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getWorldToLocalMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getWorldToLocalMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getWorldToLocalMatrix(); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getLocalStartingPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getLocalStartingPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getLocalStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getLocalStartingPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getWorldStartingPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getWorldStartingPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getWorldStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (arg1)->getWorldStartingPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPartToLocalMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbName *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - SbMatrix *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPartToLocalMatrix",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "4"" of type '" "SbMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getPartToLocalMatrix" "', argument " "4"" of type '" "SbMatrix &""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - (arg1)->getPartToLocalMatrix((SbName const &)*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixLocalToWorld(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixLocalToWorld",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixLocalToWorld" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->transformMatrixLocalToWorld((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixWorldToLocal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixWorldToLocal",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixWorldToLocal" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->transformMatrixWorldToLocal((SbMatrix const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_transformMatrixToLocalSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - SbName *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_transformMatrixToLocalSpace",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_transformMatrixToLocalSpace" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - (arg1)->transformMatrixToLocalSpace((SbMatrix const &)*arg2,*arg3,(SbName const &)*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMotionMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setMotionMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setMotionMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setMotionMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_valueChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_valueChanged",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_valueChanged" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->valueChanged(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getStartMotionMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getStartMotionMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getStartMotionMatrix" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbMatrix const &_result_ref = (arg1)->getStartMotionMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_saveStartParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_saveStartParameters",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_saveStartParameters" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->saveStartParameters(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getPickPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getPickPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getPickPath" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getPickPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getEvent" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoEvent *)((SoDragger const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_createPathToThis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_createPathToThis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_createPathToThis" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)(arg1)->createPathToThis(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedOwner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedOwner",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedOwner" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getSurrogatePartPickedOwner(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedName" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbName const &_result_ref = ((SoDragger const *)arg1)->getSurrogatePartPickedName(); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getSurrogatePartPickedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getSurrogatePartPickedPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getSurrogatePartPickedPath" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoPath *)((SoDragger const *)arg1)->getSurrogatePartPickedPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPickedPoint *arg2 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setStartingPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SoPickedPoint const *""'"); - } - arg2 = reinterpret_cast< SoPickedPoint * >(argp2); - (arg1)->setStartingPoint((SoPickedPoint const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setStartingPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setStartingPoint" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setStartingPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartingPoint((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setStartingPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_setStartingPoint__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_setStartingPoint__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_setStartingPoint'.\n Possible C/C++ prototypes are:\n"" setStartingPoint(SoDragger *,SoPickedPoint const *)\n"" setStartingPoint(SoDragger *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getViewVolume" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbViewVolume const &_result_ref = (arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setViewVolume" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->setViewVolume((SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getViewportRegion" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - SbViewportRegion const &_result_ref = (arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setViewportRegion" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoHandleEventAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getHandleEventAction" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoHandleEventAction *)((SoDragger const *)arg1)->getHandleEventAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setHandleEventAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setHandleEventAction" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setHandleEventAction" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->setHandleEventAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setTempPathToThis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setTempPathToThis",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setTempPathToThis" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_setTempPathToThis" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setTempPathToThis((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_grabEventsSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_grabEventsSetup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_grabEventsSetup" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->grabEventsSetup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_grabEventsCleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_grabEventsCleanup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_grabEventsCleanup" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - (arg1)->grabEventsCleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_workFieldsIntoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_workFieldsIntoTransform",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_workFieldsIntoTransform" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->workFieldsIntoTransform(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setFrontOnProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger::ProjectorFrontSetting arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setFrontOnProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_setFrontOnProjector" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragger_setFrontOnProjector" "', argument " "2"" of type '" "SoDragger::ProjectorFrontSetting""'"); - } - arg2 = static_cast< SoDragger::ProjectorFrontSetting >(val2); - (arg1)->setFrontOnProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getFrontOnProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - SoDragger::ProjectorFrontSetting result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getFrontOnProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getFrontOnProjector" "', argument " "1"" of type '" "SoDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - result = (SoDragger::ProjectorFrontSetting)((SoDragger const *)arg1)->getFrontOnProjector(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_setMinScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_setMinScale",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoDragger_setMinScale" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - SoDragger::setMinScale(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getMinScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getMinScale",0,0)) SWIG_fail; - result = (float)SoDragger::getMinScale(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_workValuesIntoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - SbRotation *arg3 = (SbRotation *) 0 ; - SbVec3f *arg4 = (SbVec3f *) 0 ; - SbRotation *arg5 = (SbRotation *) 0 ; - SbVec3f *arg6 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_workValuesIntoTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_workValuesIntoTransform" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "3"" of type '" "SbRotation const *""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "4"" of type '" "SbVec3f const *""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbRotation, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "5"" of type '" "SbRotation const *""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDragger_workValuesIntoTransform" "', argument " "6"" of type '" "SbVec3f const *""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - SoDragger::workValuesIntoTransform(*arg1,(SbVec3f const *)arg2,(SbRotation const *)arg3,(SbVec3f const *)arg4,(SbRotation const *)arg5,(SbVec3f const *)arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - SbVec3f *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTransformFast",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoDragger_getTransformFast" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "6"" of type '" "SbVec3f const &""'"); - } - arg6 = reinterpret_cast< SbVec3f * >(argp6); - SoDragger::getTransformFast(*arg1,*arg2,*arg3,*arg4,*arg5,(SbVec3f const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_getTransformFast",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "1"" of type '" "SbMatrix &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "2"" of type '" "SbVec3f &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_getTransformFast" "', argument " "5"" of type '" "SbRotation &""'"); - } - arg5 = reinterpret_cast< SbRotation * >(argp5); - SoDragger::getTransformFast(*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_getTransformFast(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_getTransformFast__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_getTransformFast__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_getTransformFast'.\n Possible C/C++ prototypes are:\n"" getTransformFast(SbMatrix &,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &,SbVec3f const &)\n"" SoDragger::getTransformFast(SbMatrix &,SbVec3f &,SbRotation &,SbVec3f &,SbRotation &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbMatrix *arg3 = (SbMatrix *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendTranslation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendTranslation" "', argument " "3"" of type '" "SbMatrix const *""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - result = SoDragger::appendTranslation((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbMatrix const *)arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendTranslation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = SoDragger::appendTranslation((SbMatrix const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendTranslation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendTranslation__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendTranslation__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendTranslation'.\n Possible C/C++ prototypes are:\n"" appendTranslation(SbMatrix const &,SbVec3f const &,SbMatrix const *)\n"" SoDragger::appendTranslation(SbMatrix const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendScale",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_appendScale" "', argument " "4"" of type '" "SbMatrix const *""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - result = SoDragger::appendScale((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3,(SbMatrix const *)arg4); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendScale",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendScale" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = SoDragger::appendScale((SbMatrix const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendScale__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendScale__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendScale'.\n Possible C/C++ prototypes are:\n"" appendScale(SbMatrix const &,SbVec3f const &,SbVec3f const &,SbMatrix const *)\n"" SoDragger::appendScale(SbMatrix const &,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbRotation *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbMatrix, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDragger_appendRotation" "', argument " "4"" of type '" "SbMatrix const *""'"); - } - arg4 = reinterpret_cast< SbMatrix * >(argp4); - result = SoDragger::appendRotation((SbMatrix const &)*arg1,(SbRotation const &)*arg2,(SbVec3f const &)*arg3,(SbMatrix const *)arg4); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbRotation *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_appendRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "1"" of type '" "SbMatrix const &""'"); - } - arg1 = reinterpret_cast< SbMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoDragger_appendRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = SoDragger::appendRotation((SbMatrix const &)*arg1,(SbRotation const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_appendRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendRotation__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_appendRotation__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_appendRotation'.\n Possible C/C++ prototypes are:\n"" appendRotation(SbMatrix const &,SbRotation const &,SbVec3f const &,SbMatrix const *)\n"" SoDragger::appendRotation(SbMatrix const &,SbRotation const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_initClass",0,0)) SWIG_fail; - SoDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_initClasses",0,0)) SWIG_fail; - SoDragger::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addStartCallback'.\n Possible C/C++ prototypes are:\n"" addStartCallback(SoDragger *,SoDraggerCB *,void *)\n"" addStartCallback(SoDragger *,SoDraggerCB *)\n"" addStartCallback(SoDragger *,PyObject *,PyObject *)\n"" addStartCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeStartCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeStartCallback'.\n Possible C/C++ prototypes are:\n"" removeStartCallback(SoDragger *,SoDraggerCB *,void *)\n"" removeStartCallback(SoDragger *,SoDraggerCB *)\n"" removeStartCallback(SoDragger *,PyObject *,PyObject *)\n"" removeStartCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addMotionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addMotionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addMotionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addMotionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addMotionCallback'.\n Possible C/C++ prototypes are:\n"" addMotionCallback(SoDragger *,SoDraggerCB *,void *)\n"" addMotionCallback(SoDragger *,SoDraggerCB *)\n"" addMotionCallback(SoDragger *,PyObject *,PyObject *)\n"" addMotionCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeMotionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeMotionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeMotionCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeMotionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeMotionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeMotionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeMotionCallback'.\n Possible C/C++ prototypes are:\n"" removeMotionCallback(SoDragger *,SoDraggerCB *,void *)\n"" removeMotionCallback(SoDragger *,SoDraggerCB *)\n"" removeMotionCallback(SoDragger *,PyObject *,PyObject *)\n"" removeMotionCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addFinishCallback'.\n Possible C/C++ prototypes are:\n"" addFinishCallback(SoDragger *,SoDraggerCB *,void *)\n"" addFinishCallback(SoDragger *,SoDraggerCB *)\n"" addFinishCallback(SoDragger *,PyObject *,PyObject *)\n"" addFinishCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeFinishCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeFinishCallback'.\n Possible C/C++ prototypes are:\n"" removeFinishCallback(SoDragger *,SoDraggerCB *,void *)\n"" removeFinishCallback(SoDragger *,SoDraggerCB *)\n"" removeFinishCallback(SoDragger *,PyObject *,PyObject *)\n"" removeFinishCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addValueChangedCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addValueChangedCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addValueChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addValueChangedCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addValueChangedCallback'.\n Possible C/C++ prototypes are:\n"" addValueChangedCallback(SoDragger *,SoDraggerCB *,void *)\n"" addValueChangedCallback(SoDragger *,SoDraggerCB *)\n"" addValueChangedCallback(SoDragger *,PyObject *,PyObject *)\n"" addValueChangedCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeValueChangedCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeValueChangedCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeValueChangedCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeValueChangedCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeValueChangedCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeValueChangedCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeValueChangedCallback'.\n Possible C/C++ prototypes are:\n"" removeValueChangedCallback(SoDragger *,SoDraggerCB *,void *)\n"" removeValueChangedCallback(SoDragger *,SoDraggerCB *)\n"" removeValueChangedCallback(SoDragger *,PyObject *,PyObject *)\n"" removeValueChangedCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_addOtherEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_addOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_addOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_addOtherEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_addOtherEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_addOtherEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_addOtherEventCallback'.\n Possible C/C++ prototypes are:\n"" addOtherEventCallback(SoDragger *,SoDraggerCB *,void *)\n"" addOtherEventCallback(SoDragger *,SoDraggerCB *)\n"" addOtherEventCallback(SoDragger *,PyObject *,PyObject *)\n"" addOtherEventCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoDragger_removeOtherEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragger *arg1 = (SoDragger *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragger_removeOtherEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragger_removeOtherEventCallback" "', argument " "1"" of type '" "SoDragger *""'"); - } - arg1 = reinterpret_cast< SoDragger * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoDragger_removeOtherEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragger_removeOtherEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoDragger__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoDragger, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoDragger_removeOtherEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDragger_removeOtherEventCallback'.\n Possible C/C++ prototypes are:\n"" removeOtherEventCallback(SoDragger *,SoDraggerCB *,void *)\n"" removeOtherEventCallback(SoDragger *,SoDraggerCB *)\n"" removeOtherEventCallback(SoDragger *,PyObject *,PyObject *)\n"" removeOtherEventCallback(SoDragger *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFRotation",0,0)) SWIG_fail; - result = (SoSFRotation *)new SoSFRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFRotation" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoSFRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getTypeId" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - result = ((SoSFRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_copyFrom" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_isSame" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFRotation const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getValue" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - { - SbRotation const &_result_ref = ((SoSFRotation const *)arg1)->getValue(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setValue((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation___eq__" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation___eq__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation___eq__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - result = (int)((SoSFRotation const *)arg1)->operator ==((SoSFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation___ne__" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation___ne__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation___ne__" "', argument " "2"" of type '" "SoSFRotation const &""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - result = (int)((SoSFRotation const *)arg1)->operator !=((SoSFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_initClass",0,0)) SWIG_fail; - SoSFRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbVec3f(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_getValue" "', argument " "1"" of type '" "SoSFRotation const *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFRotation_getValue" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_getValue" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SoSFRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3f, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFRotation_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SoSFRotation const *)\n"" getValue(SoSFRotation const *,SbVec3f &,float &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFRotation *arg1 = (SoSFRotation *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFRotation_setValue" "', argument " "1"" of type '" "SoSFRotation *""'"); - } - arg1 = reinterpret_cast< SoSFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFRotation_setValue" "', argument " "2"" of type '" "SoSFRotation const *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - SoSFRotation_setValue__SWIG_4(arg1,(SoSFRotation const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFRotation_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFRotation_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFRotation *,SbRotation const &)\n"" setValue(SoSFRotation *,float const,float const,float const,float const)\n"" setValue(SoSFRotation *,float const [4])\n"" setValue(SoSFRotation *,SbVec3f const &,float const)\n"" setValue(SoSFRotation *,SoSFRotation const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoCenterballDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_getTypeId" "', argument " "1"" of type '" "SoCenterballDragger const *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = ((SoCenterballDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoCenterballDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoCenterballDragger const *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoNodekitCatalog *)((SoCenterballDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_initClass",0,0)) SWIG_fail; - SoCenterballDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCenterballDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCenterballDragger",0,0)) SWIG_fail; - result = (SoCenterballDragger *)new SoCenterballDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCenterballDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_saveStartParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_saveStartParameters",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_saveStartParameters" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - (arg1)->saveStartParameters(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_rotation_set" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCenterballDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_rotation_get" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_center_set" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCenterballDragger_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballDragger_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballDragger *arg1 = (SoCenterballDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballDragger_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballDragger_center_get" "', argument " "1"" of type '" "SoCenterballDragger *""'"); - } - arg1 = reinterpret_cast< SoCenterballDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCenterballDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCenterballDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_getTypeId" "', argument " "1"" of type '" "SoDirectionalLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = ((SoDirectionalLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDirectionalLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDirectionalLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDirectionalLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_initClass",0,0)) SWIG_fail; - SoDirectionalLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLightDragger",0,0)) SWIG_fail; - result = (SoDirectionalLightDragger *)new SoDirectionalLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_rotation_set" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_rotation_get" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_translation_set" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightDragger *arg1 = (SoDirectionalLightDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightDragger_translation_get" "', argument " "1"" of type '" "SoDirectionalLightDragger *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoDragPointDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getTypeId" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = ((SoDragPointDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoDragPointDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (SoNodekitCatalog *)((SoDragPointDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_initClass",0,0)) SWIG_fail; - SoDragPointDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDragPointDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDragPointDragger",0,0)) SWIG_fail; - result = (SoDragPointDragger *)new SoDragPointDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragPointDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_setJumpLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_setJumpLimit",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_setJumpLimit" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDragPointDragger_setJumpLimit" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setJumpLimit(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_getJumpLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_getJumpLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_getJumpLimit" "', argument " "1"" of type '" "SoDragPointDragger const *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (float)((SoDragPointDragger const *)arg1)->getJumpLimit(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_showNextDraggerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_showNextDraggerSet",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_showNextDraggerSet" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - (arg1)->showNextDraggerSet(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_translation_set" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDragPointDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDragPointDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDragPointDragger *arg1 = (SoDragPointDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDragPointDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDragPointDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDragPointDragger_translation_get" "', argument " "1"" of type '" "SoDragPointDragger *""'"); - } - arg1 = reinterpret_cast< SoDragPointDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDragPointDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDragPointDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_getTypeId" "', argument " "1"" of type '" "SoHandleBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = ((SoHandleBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoHandleBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoHandleBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoHandleBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_initClass",0,0)) SWIG_fail; - SoHandleBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleBoxDragger",0,0)) SWIG_fail; - result = (SoHandleBoxDragger *)new SoHandleBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_translation_set" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoHandleBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxDragger *arg1 = (SoHandleBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxDragger_translation_get" "', argument " "1"" of type '" "SoHandleBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoJackDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoJackDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_getTypeId" "', argument " "1"" of type '" "SoJackDragger const *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = ((SoJackDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoJackDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoJackDragger const *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoNodekitCatalog *)((SoJackDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_initClass",0,0)) SWIG_fail; - SoJackDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoJackDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoJackDragger",0,0)) SWIG_fail; - result = (SoJackDragger *)new SoJackDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoJackDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_rotation_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_rotation_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_translation_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_translation_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_scaleFactor_set" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoJackDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackDragger *arg1 = (SoJackDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackDragger_scaleFactor_get" "', argument " "1"" of type '" "SoJackDragger *""'"); - } - arg1 = reinterpret_cast< SoJackDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoJackDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoJackDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_getTypeId" "', argument " "1"" of type '" "SoPointLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = ((SoPointLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoPointLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoPointLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoPointLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_initClass",0,0)) SWIG_fail; - SoPointLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLightDragger",0,0)) SWIG_fail; - result = (SoPointLightDragger *)new SoPointLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_translation_set" "', argument " "1"" of type '" "SoPointLightDragger *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightDragger *arg1 = (SoPointLightDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightDragger_translation_get" "', argument " "1"" of type '" "SoPointLightDragger *""'"); - } - arg1 = reinterpret_cast< SoPointLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateCylindricalDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getTypeId" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = ((SoRotateCylindricalDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateCylindricalDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateCylindricalDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_initClass",0,0)) SWIG_fail; - SoRotateCylindricalDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateCylindricalDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateCylindricalDragger",0,0)) SWIG_fail; - result = (SoRotateCylindricalDragger *)new SoRotateCylindricalDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateCylindricalDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_rotation_set" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateCylindricalDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_rotation_get" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_setProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SbCylinderProjector *arg2 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_setProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_setProjector" "', argument " "1"" of type '" "SoRotateCylindricalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateCylindricalDragger_setProjector" "', argument " "2"" of type '" "SbCylinderProjector *""'"); - } - arg2 = reinterpret_cast< SbCylinderProjector * >(argp2); - (arg1)->setProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateCylindricalDragger_getProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateCylindricalDragger *arg1 = (SoRotateCylindricalDragger *) 0 ; - SbCylinderProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateCylindricalDragger_getProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateCylindricalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateCylindricalDragger_getProjector" "', argument " "1"" of type '" "SoRotateCylindricalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateCylindricalDragger * >(argp1); - result = (SbCylinderProjector *)((SoRotateCylindricalDragger const *)arg1)->getProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateCylindricalDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateCylindricalDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateDiscDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_getTypeId" "', argument " "1"" of type '" "SoRotateDiscDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = ((SoRotateDiscDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateDiscDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateDiscDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateDiscDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_initClass",0,0)) SWIG_fail; - SoRotateDiscDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateDiscDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateDiscDragger",0,0)) SWIG_fail; - result = (SoRotateDiscDragger *)new SoRotateDiscDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateDiscDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_rotation_set" "', argument " "1"" of type '" "SoRotateDiscDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateDiscDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateDiscDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateDiscDragger *arg1 = (SoRotateDiscDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateDiscDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateDiscDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateDiscDragger_rotation_get" "', argument " "1"" of type '" "SoRotateDiscDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateDiscDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateDiscDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateDiscDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoRotateSphericalDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getTypeId" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = ((SoRotateSphericalDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoRotateSphericalDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SoNodekitCatalog *)((SoRotateSphericalDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_initClass",0,0)) SWIG_fail; - SoRotateSphericalDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotateSphericalDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotateSphericalDragger",0,0)) SWIG_fail; - result = (SoRotateSphericalDragger *)new SoRotateSphericalDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotateSphericalDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_rotation_set" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateSphericalDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_rotation_get" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_setProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SbSphereProjector *arg2 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_setProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_setProjector" "', argument " "1"" of type '" "SoRotateSphericalDragger *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotateSphericalDragger_setProjector" "', argument " "2"" of type '" "SbSphereProjector *""'"); - } - arg2 = reinterpret_cast< SbSphereProjector * >(argp2); - (arg1)->setProjector(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotateSphericalDragger_getProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotateSphericalDragger *arg1 = (SoRotateSphericalDragger *) 0 ; - SbSphereProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotateSphericalDragger_getProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotateSphericalDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotateSphericalDragger_getProjector" "', argument " "1"" of type '" "SoRotateSphericalDragger const *""'"); - } - arg1 = reinterpret_cast< SoRotateSphericalDragger * >(argp1); - result = (SbSphereProjector *)((SoRotateSphericalDragger const *)arg1)->getProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotateSphericalDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotateSphericalDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale1Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_getTypeId" "', argument " "1"" of type '" "SoScale1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = ((SoScale1Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale1Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale1Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_initClass",0,0)) SWIG_fail; - SoScale1Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale1Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale1Dragger",0,0)) SWIG_fail; - result = (SoScale1Dragger *)new SoScale1Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale1Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale1Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale1Dragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale1Dragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale1Dragger *arg1 = (SoScale1Dragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale1Dragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale1Dragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale1Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale1Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale1Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale1Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale2Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_getTypeId" "', argument " "1"" of type '" "SoScale2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = ((SoScale2Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale2Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale2Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_initClass",0,0)) SWIG_fail; - SoScale2Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale2Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale2Dragger",0,0)) SWIG_fail; - result = (SoScale2Dragger *)new SoScale2Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale2Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale2Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale2Dragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2Dragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2Dragger *arg1 = (SoScale2Dragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2Dragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2Dragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale2Dragger *""'"); - } - arg1 = reinterpret_cast< SoScale2Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale2Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale2Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScale2UniformDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_getTypeId" "', argument " "1"" of type '" "SoScale2UniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = ((SoScale2UniformDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScale2UniformDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScale2UniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = (SoNodekitCatalog *)((SoScale2UniformDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_initClass",0,0)) SWIG_fail; - SoScale2UniformDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScale2UniformDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScale2UniformDragger",0,0)) SWIG_fail; - result = (SoScale2UniformDragger *)new SoScale2UniformDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScale2UniformDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_scaleFactor_set" "', argument " "1"" of type '" "SoScale2UniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScale2UniformDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScale2UniformDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScale2UniformDragger *arg1 = (SoScale2UniformDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScale2UniformDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScale2UniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScale2UniformDragger_scaleFactor_get" "', argument " "1"" of type '" "SoScale2UniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScale2UniformDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScale2UniformDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScale2UniformDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoScaleUniformDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_getTypeId" "', argument " "1"" of type '" "SoScaleUniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = ((SoScaleUniformDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoScaleUniformDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoScaleUniformDragger const *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = (SoNodekitCatalog *)((SoScaleUniformDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_initClass",0,0)) SWIG_fail; - SoScaleUniformDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoScaleUniformDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoScaleUniformDragger",0,0)) SWIG_fail; - result = (SoScaleUniformDragger *)new SoScaleUniformDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoScaleUniformDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_scaleFactor_set" "', argument " "1"" of type '" "SoScaleUniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoScaleUniformDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoScaleUniformDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoScaleUniformDragger *arg1 = (SoScaleUniformDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoScaleUniformDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoScaleUniformDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoScaleUniformDragger_scaleFactor_get" "', argument " "1"" of type '" "SoScaleUniformDragger *""'"); - } - arg1 = reinterpret_cast< SoScaleUniformDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoScaleUniformDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoScaleUniformDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLightDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_getTypeId" "', argument " "1"" of type '" "SoSpotLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = ((SoSpotLightDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSpotLightDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoSpotLightDragger const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoNodekitCatalog *)((SoSpotLightDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_initClass",0,0)) SWIG_fail; - SoSpotLightDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLightDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLightDragger",0,0)) SWIG_fail; - result = (SoSpotLightDragger *)new SoSpotLightDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLightDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_rotation_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_rotation_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_translation_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_translation_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_angle_set" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightDragger_angle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightDragger_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightDragger *arg1 = (SoSpotLightDragger *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightDragger_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightDragger_angle_get" "', argument " "1"" of type '" "SoSpotLightDragger *""'"); - } - arg1 = reinterpret_cast< SoSpotLightDragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLightDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLightDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTabBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_getTypeId" "', argument " "1"" of type '" "SoTabBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = ((SoTabBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTabBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTabBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTabBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_initClass",0,0)) SWIG_fail; - SoTabBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabBoxDragger",0,0)) SWIG_fail; - result = (SoTabBoxDragger *)new SoTabBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_translation_set" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_translation_get" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxDragger_adjustScaleTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxDragger *arg1 = (SoTabBoxDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxDragger_adjustScaleTabSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxDragger_adjustScaleTabSize" "', argument " "1"" of type '" "SoTabBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTabBoxDragger * >(argp1); - (arg1)->adjustScaleTabSize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTabPlaneDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_getTypeId" "', argument " "1"" of type '" "SoTabPlaneDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = ((SoTabPlaneDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTabPlaneDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTabPlaneDragger const *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTabPlaneDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_initClass",0,0)) SWIG_fail; - SoTabPlaneDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabPlaneDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabPlaneDragger",0,0)) SWIG_fail; - result = (SoTabPlaneDragger *)new SoTabPlaneDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabPlaneDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_translation_set" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabPlaneDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_translation_get" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTabPlaneDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabPlaneDragger_adjustScaleTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabPlaneDragger *arg1 = (SoTabPlaneDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabPlaneDragger_adjustScaleTabSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabPlaneDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabPlaneDragger_adjustScaleTabSize" "', argument " "1"" of type '" "SoTabPlaneDragger *""'"); - } - arg1 = reinterpret_cast< SoTabPlaneDragger * >(argp1); - (arg1)->adjustScaleTabSize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabPlaneDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabPlaneDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTrackballDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_getTypeId" "', argument " "1"" of type '" "SoTrackballDragger const *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = ((SoTrackballDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTrackballDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTrackballDragger const *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTrackballDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_initClass",0,0)) SWIG_fail; - SoTrackballDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTrackballDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTrackballDragger",0,0)) SWIG_fail; - result = (SoTrackballDragger *)new SoTrackballDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTrackballDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_rotation_set" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTrackballDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_rotation_get" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTrackballDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_isAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_isAnimationEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_isAnimationEnabled" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - result = (SbBool)(arg1)->isAnimationEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballDragger_setAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballDragger *arg1 = (SoTrackballDragger *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballDragger_setAnimationEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballDragger_setAnimationEnabled" "', argument " "1"" of type '" "SoTrackballDragger *""'"); - } - arg1 = reinterpret_cast< SoTrackballDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTrackballDragger_setAnimationEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAnimationEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTrackballDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTrackballDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformBoxDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_getTypeId" "', argument " "1"" of type '" "SoTransformBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = ((SoTransformBoxDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTransformBoxDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTransformBoxDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTransformBoxDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_initClass",0,0)) SWIG_fail; - SoTransformBoxDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformBoxDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformBoxDragger",0,0)) SWIG_fail; - result = (SoTransformBoxDragger *)new SoTransformBoxDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformBoxDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_rotation_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_rotation_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_translation_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_translation_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformBoxDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxDragger *arg1 = (SoTransformBoxDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTransformBoxDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformBoxDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformBoxDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformerDragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getTypeId" "', argument " "1"" of type '" "SoTransformerDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = ((SoTransformerDragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTransformerDragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTransformerDragger const *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoNodekitCatalog *)((SoTransformerDragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_initClass",0,0)) SWIG_fail; - SoTransformerDragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformerDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformerDragger",0,0)) SWIG_fail; - result = (SoTransformerDragger *)new SoTransformerDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformerDragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_rotation_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_rotation_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_translation_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_translation_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_scaleFactor_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_scaleFactor_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_minDiscRotDot_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_minDiscRotDot_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_minDiscRotDot_set" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_minDiscRotDot_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minDiscRotDot = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_minDiscRotDot_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_minDiscRotDot_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_minDiscRotDot_get" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoSFFloat *)& ((arg1)->minDiscRotDot); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getCurrentState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SoTransformerDragger::State result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getCurrentState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getCurrentState" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SoTransformerDragger::State)(arg1)->getCurrentState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_unsquishKnobs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_unsquishKnobs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_unsquishKnobs" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - (arg1)->unsquishKnobs(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_isLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_isLocateHighlighting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_isLocateHighlighting" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (SbBool)(arg1)->isLocateHighlighting(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_setLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_setLocateHighlighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_setLocateHighlighting" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransformerDragger_setLocateHighlighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setLocateHighlighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_setColinearThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_setColinearThreshold",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoTransformerDragger_setColinearThreshold" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoTransformerDragger::setColinearThreshold(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getColinearThreshold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getColinearThreshold",0,0)) SWIG_fail; - result = (int)SoTransformerDragger::getColinearThreshold(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getBoxPointInWorldSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getBoxPointInWorldSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getBoxPointInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getBoxPointInWorldSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getBoxDirInWorldSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getBoxDirInWorldSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getBoxDirInWorldSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getBoxDirInWorldSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getWorldPointInBoxSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getWorldPointInBoxSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getWorldPointInBoxSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getWorldPointInBoxSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getWorldPointInPixelSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getWorldPointInPixelSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransformerDragger_getWorldPointInPixelSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (arg1)->getWorldPointInPixelSpace((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerDragger_getInteractiveCenterInBoxSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerDragger *arg1 = (SoTransformerDragger *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerDragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerDragger_getInteractiveCenterInBoxSpace" "', argument " "1"" of type '" "SoTransformerDragger *""'"); - } - arg1 = reinterpret_cast< SoTransformerDragger * >(argp1); - result = (arg1)->getInteractiveCenterInBoxSpace(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformerDragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformerDragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslate1Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_getTypeId" "', argument " "1"" of type '" "SoTranslate1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = ((SoTranslate1Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTranslate1Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTranslate1Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoTranslate1Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_initClass",0,0)) SWIG_fail; - SoTranslate1Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslate1Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslate1Dragger",0,0)) SWIG_fail; - result = (SoTranslate1Dragger *)new SoTranslate1Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslate1Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_translation_set" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate1Dragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate1Dragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate1Dragger *arg1 = (SoTranslate1Dragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate1Dragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate1Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate1Dragger_translation_get" "', argument " "1"" of type '" "SoTranslate1Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate1Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslate1Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslate1Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslate2Dragger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_getTypeId" "', argument " "1"" of type '" "SoTranslate2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = ((SoTranslate2Dragger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoTranslate2Dragger::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_getNodekitCatalog" "', argument " "1"" of type '" "SoTranslate2Dragger const *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoNodekitCatalog *)((SoTranslate2Dragger const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_initClass",0,0)) SWIG_fail; - SoTranslate2Dragger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslate2Dragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslate2Dragger",0,0)) SWIG_fail; - result = (SoTranslate2Dragger *)new SoTranslate2Dragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslate2Dragger, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_translation_set" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslate2Dragger_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslate2Dragger_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslate2Dragger *arg1 = (SoTranslate2Dragger *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslate2Dragger_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslate2Dragger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslate2Dragger_translation_get" "', argument " "1"" of type '" "SoTranslate2Dragger *""'"); - } - arg1 = reinterpret_cast< SoTranslate2Dragger * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslate2Dragger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslate2Dragger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAccumulatedElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAccumulatedElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_initClass",0,0)) SWIG_fail; - SoAccumulatedElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAccumulatedElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAccumulatedElement *arg1 = (SoAccumulatedElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAccumulatedElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAccumulatedElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAccumulatedElement_matches" "', argument " "1"" of type '" "SoAccumulatedElement const *""'"); - } - arg1 = reinterpret_cast< SoAccumulatedElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAccumulatedElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoAccumulatedElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAccumulatedElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAccumulatedElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAmbientColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAmbientColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAmbientColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_initClass",0,0)) SWIG_fail; - SoAmbientColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_init" "', argument " "1"" of type '" "SoAmbientColorElement *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAmbientColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAmbientColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAmbientColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoAmbientColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoAmbientColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoAmbientColorElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAmbientColorElement *)SoAmbientColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getNum" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - result = (int32_t)((SoAmbientColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_get" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAmbientColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoAmbientColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAmbientColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAmbientColorElement *arg1 = (SoAmbientColorElement *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAmbientColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAmbientColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAmbientColorElement_getArrayPtr" "', argument " "1"" of type '" "SoAmbientColorElement const *""'"); - } - arg1 = reinterpret_cast< SoAmbientColorElement * >(argp1); - result = (SbColor *)((SoAmbientColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAmbientColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAmbientColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3CharOrientElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3CharOrientElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3CharOrientElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_initClass",0,0)) SWIG_fail; - SoAnnoText3CharOrientElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3CharOrientElement *arg1 = (SoAnnoText3CharOrientElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3CharOrientElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_init" "', argument " "1"" of type '" "SoAnnoText3CharOrientElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3CharOrientElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3CharOrientElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3CharOrientElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoAnnoText3CharOrientElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3CharOrientElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoAnnoText3CharOrientElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3CharOrientElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3CharOrientElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoAnnoText3CharOrientElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3CharOrientElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3CharOrientElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3FontSizeHintElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3FontSizeHintElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3FontSizeHintElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_initClass",0,0)) SWIG_fail; - SoAnnoText3FontSizeHintElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3FontSizeHintElement *arg1 = (SoAnnoText3FontSizeHintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3FontSizeHintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_init" "', argument " "1"" of type '" "SoAnnoText3FontSizeHintElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3FontSizeHintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3FontSizeHintElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "2"" of type '" "SoAnnoText3FontSizeHintElement::FontSizeHint""'"); - } - arg2 = static_cast< SoAnnoText3FontSizeHintElement::FontSizeHint >(val2); - SoAnnoText3FontSizeHintElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAnnoText3FontSizeHintElement::FontSizeHint)SoAnnoText3FontSizeHintElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3FontSizeHintElement::FontSizeHint result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_getDefault",0,0)) SWIG_fail; - result = (SoAnnoText3FontSizeHintElement::FontSizeHint)SoAnnoText3FontSizeHintElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoAnnoText3FontSizeHintElement::FontSizeHint arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3FontSizeHintElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAnnoText3FontSizeHintElement_set" "', argument " "3"" of type '" "SoAnnoText3FontSizeHintElement::FontSizeHint""'"); - } - arg3 = static_cast< SoAnnoText3FontSizeHintElement::FontSizeHint >(val3); - SoAnnoText3FontSizeHintElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3FontSizeHintElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3FontSizeHintElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3FontSizeHintElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAnnoText3FontSizeHintElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoAnnoText3FontSizeHintElement::FontSizeHint const)\n"" SoAnnoText3FontSizeHintElement::set(SoState *const,SoNode *const,SoAnnoText3FontSizeHintElement::FontSizeHint const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3FontSizeHintElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3FontSizeHintElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnoText3RenderPrintElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoAnnoText3RenderPrintElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoAnnoText3RenderPrintElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_initClass",0,0)) SWIG_fail; - SoAnnoText3RenderPrintElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3RenderPrintElement *arg1 = (SoAnnoText3RenderPrintElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnoText3RenderPrintElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_init" "', argument " "1"" of type '" "SoAnnoText3RenderPrintElement *""'"); - } - arg1 = reinterpret_cast< SoAnnoText3RenderPrintElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3RenderPrintElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3RenderPrintElement::RenderPrintType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "2"" of type '" "SoAnnoText3RenderPrintElement::RenderPrintType""'"); - } - arg2 = static_cast< SoAnnoText3RenderPrintElement::RenderPrintType >(val2); - SoAnnoText3RenderPrintElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoAnnoText3RenderPrintElement::RenderPrintType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoAnnoText3RenderPrintElement::RenderPrintType)SoAnnoText3RenderPrintElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnoText3RenderPrintElement::RenderPrintType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_getDefault",0,0)) SWIG_fail; - result = (SoAnnoText3RenderPrintElement::RenderPrintType)SoAnnoText3RenderPrintElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoAnnoText3RenderPrintElement::RenderPrintType arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnoText3RenderPrintElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoAnnoText3RenderPrintElement_set" "', argument " "3"" of type '" "SoAnnoText3RenderPrintElement::RenderPrintType""'"); - } - arg3 = static_cast< SoAnnoText3RenderPrintElement::RenderPrintType >(val3); - SoAnnoText3RenderPrintElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnoText3RenderPrintElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3RenderPrintElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAnnoText3RenderPrintElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAnnoText3RenderPrintElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoAnnoText3RenderPrintElement::RenderPrintType const)\n"" SoAnnoText3RenderPrintElement::set(SoState *const,SoNode *const,SoAnnoText3RenderPrintElement::RenderPrintType const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoAnnoText3RenderPrintElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnoText3RenderPrintElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_initClass",0,0)) SWIG_fail; - SoModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_init" "', argument " "1"" of type '" "SoModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_push" "', argument " "1"" of type '" "SoModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_matches" "', argument " "1"" of type '" "SoModelMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoModelMatrixElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_setCullMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_setCullMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_setCullMatrix" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_setCullMatrix" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::setCullMatrix(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoModelMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoModelMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoModelMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoModelMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoModelMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_pushMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoModelMatrixElement::pushMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_popMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoModelMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getCombinedCullMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getCombinedCullMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_getCombinedCullMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoModelMatrixElement::getCombinedCullMatrix(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoModelMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool *arg2 = 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoModelMatrixElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoModelMatrixElement_get" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - { - SbMatrix const &_result_ref = SoModelMatrixElement::get(arg1,*arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoModelMatrixElement_get__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoModelMatrixElement_get__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoModelMatrixElement_get'.\n Possible C/C++ prototypes are:\n"" get(SoState *const)\n"" SoModelMatrixElement::get(SoState *const,SbBool &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoModelMatrixElement_getModelMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoModelMatrixElement *arg1 = (SoModelMatrixElement *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoModelMatrixElement_getModelMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoModelMatrixElement_getModelMatrix" "', argument " "1"" of type '" "SoModelMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoModelMatrixElement * >(argp1); - { - SbMatrix const &_result_ref = ((SoModelMatrixElement const *)arg1)->getModelMatrix(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBBoxModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBBoxModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBBoxModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_initClass",0,0)) SWIG_fail; - SoBBoxModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBBoxModelMatrixElement *arg1 = (SoBBoxModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBBoxModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_init" "', argument " "1"" of type '" "SoBBoxModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBBoxModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBBoxModelMatrixElement *arg1 = (SoBBoxModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBBoxModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_push" "', argument " "1"" of type '" "SoBBoxModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBBoxModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_reset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_reset" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBBoxModelMatrixElement_reset" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBBoxModelMatrixElement::reset(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_pushMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBBoxModelMatrixElement_pushMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoBBoxModelMatrixElement::pushMatrix(arg1,*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBBoxModelMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBBoxModelMatrixElement_popMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBBoxModelMatrixElement_popMatrix" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoBBoxModelMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBBoxModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBBoxModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_initClass",0,0)) SWIG_fail; - SoBumpMapCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_init" "', argument " "1"" of type '" "SoBumpMapCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBumpMapCoordinateElement_set" "', argument " "4"" of type '" "SbVec2f const *""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoBumpMapCoordinateElement::set(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoBumpMapCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoBumpMapCoordinateElement *)SoBumpMapCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getNum" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - result = (int32_t)((SoBumpMapCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_get" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoBumpMapCoordinateElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoBumpMapCoordinateElement const *)arg1)->get(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinateElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinateElement *arg1 = (SoBumpMapCoordinateElement *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinateElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinateElement_getArrayPtr" "', argument " "1"" of type '" "SoBumpMapCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinateElement * >(argp1); - result = (SbVec2f *)((SoBumpMapCoordinateElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_initClass",0,0)) SWIG_fail; - SoBumpMapElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapElement *arg1 = (SoBumpMapElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_init" "', argument " "1"" of type '" "SoBumpMapElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoGLImage *arg3 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapElement_set" "', argument " "3"" of type '" "SoGLImage *""'"); - } - arg3 = reinterpret_cast< SoGLImage * >(argp3); - SoBumpMapElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoGLImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLImage *)SoBumpMapElement::get(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoBumpMapMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoBumpMapMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_initClass",0,0)) SWIG_fail; - SoBumpMapMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapMatrixElement *arg1 = (SoBumpMapMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_init" "', argument " "1"" of type '" "SoBumpMapMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapMatrixElement *arg1 = (SoBumpMapMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_push" "', argument " "1"" of type '" "SoBumpMapMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoBumpMapMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoBumpMapMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoBumpMapMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoBumpMapMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMapMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoBumpMapMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoBumpMapMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCacheElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCacheElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCacheElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCacheElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_initClass",0,0)) SWIG_fail; - SoCacheElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_init" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_push" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_pop" "', argument " "1"" of type '" "SoCacheElement *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCacheElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *arg2 = (SoCache *) (SoCache *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_set" "', argument " "2"" of type '" "SoCache *const""'"); - } - arg2 = reinterpret_cast< SoCache * >(argp2); - SoCacheElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getCache" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoCache *)((SoCacheElement const *)arg1)->getCache(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_anyOpen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_anyOpen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_anyOpen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoCacheElement::anyOpen(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_invalidate" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoCacheElement::invalidate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_matches" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoCacheElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_copyMatchInfo" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoElement *)((SoCacheElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getNextCacheElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCacheElement *arg1 = (SoCacheElement *) 0 ; - SoCacheElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getNextCacheElement",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCacheElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getNextCacheElement" "', argument " "1"" of type '" "SoCacheElement const *""'"); - } - arg1 = reinterpret_cast< SoCacheElement * >(argp1); - result = (SoCacheElement *)((SoCacheElement const *)arg1)->getNextCacheElement(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCacheElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_addElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoElement *arg2 = (SoElement *) (SoElement *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_addElement",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_addElement" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_addElement" "', argument " "2"" of type '" "SoElement const *const""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - SoCacheElement::addElement(arg1,(SoElement const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_addCacheDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *arg2 = (SoCache *) (SoCache *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_addCacheDependency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_addCacheDependency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCache, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCacheElement_addCacheDependency" "', argument " "2"" of type '" "SoCache *const""'"); - } - arg2 = reinterpret_cast< SoCache * >(argp2); - SoCacheElement::addCacheDependency(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_setInvalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SbBool result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_setInvalid",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoCacheElement_setInvalid" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbBool)SoCacheElement::setInvalid(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCacheElement_getCurrentCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCache *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCacheElement_getCurrentCache",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCacheElement_getCurrentCache" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCache *)SoCacheElement::getCurrentCache(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCache, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCacheElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCacheElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",0,0)) SWIG_fail; - result = (SbPlane *)new SbPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbPlane" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,(SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlane" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbPlane *)new SbPlane((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlane(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPlane__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlane__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlane__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlane__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPlane'.\n Possible C/C++ prototypes are:\n"" SbPlane()\n"" SbPlane(SbVec3f const &,float const)\n"" SbPlane(SbVec3f const &,SbVec3f const &,SbVec3f const &)\n"" SbPlane(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_offset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_offset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_offset" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPlane_offset" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->offset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_intersect" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbPlane const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_transform" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - (arg1)->transform((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_isInHalfSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_isInHalfSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_isInHalfSpace" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbPlane const *)arg1)->isInHalfSpace((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbVec3f *arg2 = 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getDistance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getDistance" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_getDistance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_getDistance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (float)((SbPlane const *)arg1)->getDistance((SbVec3f const &)*arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getNormal" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - { - SbVec3f const &_result_ref = ((SbPlane const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_getDistanceFromOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_getDistanceFromOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_getDistanceFromOrigin" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - result = (float)((SbPlane const *)arg1)->getDistanceFromOrigin(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_output" "', argument " "1"" of type '" "SbPlane const *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbPlane const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - SbLine *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane_intersect" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane_intersect" "', argument " "3"" of type '" "SbLine &""'"); - } - arg3 = reinterpret_cast< SbLine * >(argp3); - result = (SbBool)(arg1)->intersect((SbPlane const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlane_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlane_intersect__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlane_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbPlane const *,SbLine const &,SbVec3f &)\n"" intersect(SbPlane *,SbPlane const &,SbLine &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane___eq__" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane___eq__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane___eq__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)SbPlane___eq__(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - SbPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlane___ne__" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlane___ne__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlane___ne__" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)SbPlane___ne__(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPlane" "', argument " "1"" of type '" "SbPlane *""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlaneElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoClipPlaneElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoClipPlaneElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_initClass",0,0)) SWIG_fail; - SoClipPlaneElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_init" "', argument " "1"" of type '" "SoClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_push" "', argument " "1"" of type '" "SoClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_add",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneElement_add" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneElement_add" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneElement_add" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - SoClipPlaneElement::add(arg1,arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoClipPlaneElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoClipPlaneElement *)SoClipPlaneElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_getNum" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - result = (int)((SoClipPlaneElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - int arg2 ; - SbBool arg3 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_get" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoClipPlaneElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoClipPlaneElement_get" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - { - SbPlane const &_result_ref = ((SoClipPlaneElement const *)arg1)->get(arg2,arg3); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneElement *arg1 = (SoClipPlaneElement *) 0 ; - int arg2 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneElement_get" "', argument " "1"" of type '" "SoClipPlaneElement const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoClipPlaneElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbPlane const &_result_ref = ((SoClipPlaneElement const *)arg1)->get(arg2); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoClipPlaneElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoClipPlaneElement_get__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoClipPlaneElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoClipPlaneElement_get__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoClipPlaneElement_get'.\n Possible C/C++ prototypes are:\n"" get(SoClipPlaneElement const *,int const,SbBool const)\n"" get(SoClipPlaneElement const *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlaneElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlaneElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFloatElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFloatElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFloatElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_initClass",0,0)) SWIG_fail; - SoFloatElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_init" "', argument " "1"" of type '" "SoFloatElement *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_matches" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoFloatElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_copyMatchInfo" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - result = (SoElement *)((SoFloatElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_output" "', argument " "1"" of type '" "SoFloatElement const *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoFloatElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SoNode *arg3 = (SoNode *) (SoNode *)0 ; - float arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFloatElement_set" "', argument " "3"" of type '" "SoNode *const""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoFloatElement_set" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - SoFloatElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - float arg3 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_set" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_set" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFloatElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFloatElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFloatElement_set__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFloatElement_set__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFloatElement_set'.\n Possible C/C++ prototypes are:\n"" set(int const,SoState *const,SoNode *const,float const)\n"" SoFloatElement::set(int const,SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - float result; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_get",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoFloatElement_get" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFloatElement_get" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (float)SoFloatElement::get(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFloatElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFloatElement *arg1 = (SoFloatElement *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFloatElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFloatElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFloatElement_setElt" "', argument " "1"" of type '" "SoFloatElement *""'"); - } - arg1 = reinterpret_cast< SoFloatElement * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFloatElement_setElt" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFloatElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFloatElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getClassTypeId",0,0)) SWIG_fail; - result = SoComplexityElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoComplexityElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoComplexityElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_initClass",0,0)) SWIG_fail; - SoComplexityElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComplexityElement *arg1 = (SoComplexityElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComplexityElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_init" "', argument " "1"" of type '" "SoComplexityElement *""'"); - } - arg1 = reinterpret_cast< SoComplexityElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComplexityElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoComplexityElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoComplexityElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoComplexityElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoComplexityElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoComplexityElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoComplexityElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoComplexityElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComplexityElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoComplexityElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComplexityElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComplexityElement_getDefault",0,0)) SWIG_fail; - result = (float)SoComplexityElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComplexityElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComplexityElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_initClass",0,0)) SWIG_fail; - SoCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_init" "', argument " "1"" of type '" "SoCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec4f *arg4 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_set4",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCoordinateElement_set4" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoCoordinateElement_set4" "', argument " "4"" of type '" "SbVec4f const *const""'"); - } - arg4 = reinterpret_cast< SbVec4f * >(argp4); - SoCoordinateElement::set4(arg1,arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoCoordinateElement *)SoCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getNum" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (int32_t)((SoCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_is3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_is3D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_is3D" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbBool)((SoCoordinateElement const *)arg1)->is3D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_get3" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_get4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_get4" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = ((SoCoordinateElement const *)arg1)->get4(arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbVec3f *)((SoCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getArrayPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - result = (SbVec4f *)((SoCoordinateElement const *)arg1)->getArrayPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getDefault3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getDefault3",0,0)) SWIG_fail; - result = SoCoordinateElement::getDefault3(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_getDefault4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_getDefault4",0,0)) SWIG_fail; - result = SoCoordinateElement::getDefault4(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinateElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinateElement *arg1 = (SoCoordinateElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinateElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinateElement_output" "', argument " "1"" of type '" "SoCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoCoordinateElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoCoordinateElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCreaseAngleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCreaseAngleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCreaseAngleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_initClass",0,0)) SWIG_fail; - SoCreaseAngleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCreaseAngleElement *arg1 = (SoCreaseAngleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCreaseAngleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_init" "', argument " "1"" of type '" "SoCreaseAngleElement *""'"); - } - arg1 = reinterpret_cast< SoCreaseAngleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCreaseAngleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCreaseAngleElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCreaseAngleElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoCreaseAngleElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCreaseAngleElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoCreaseAngleElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoCreaseAngleElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoCreaseAngleElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCreaseAngleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCreaseAngleElement_get" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (float)SoCreaseAngleElement::get(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCreaseAngleElement_get__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_get__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_get'.\n Possible C/C++ prototypes are:\n"" get(SoState *const)\n"" SoCreaseAngleElement::get(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getDefault",0,0)) SWIG_fail; - result = (float)SoCreaseAngleElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - float result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCreaseAngleElement_getDefault",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoCreaseAngleElement_getDefault" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (float)SoCreaseAngleElement::getDefault(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCreaseAngleElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoCreaseAngleElement_getDefault__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCreaseAngleElement_getDefault__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCreaseAngleElement_getDefault'.\n Possible C/C++ prototypes are:\n"" getDefault()\n"" SoCreaseAngleElement::getDefault(SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCreaseAngleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCreaseAngleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCullElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_getClassTypeId",0,0)) SWIG_fail; - result = SoCullElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoCullElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoCullElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_initClass",0,0)) SWIG_fail; - SoCullElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_init" "', argument " "1"" of type '" "SoCullElement *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_push" "', argument " "1"" of type '" "SoCullElement *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_setViewVolume" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - SoCullElement::setViewVolume(arg1,(SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_addPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_addPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_addPlane" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_addPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_addPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - SoCullElement::addPlane(arg1,(SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullBox",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullBox" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCullElement_cullBox" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoCullElement::cullBox(arg1,(SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullBox" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullBox" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)SoCullElement::cullBox(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullBox(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCullElement_cullBox__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCullElement_cullBox__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCullElement_cullBox'.\n Possible C/C++ prototypes are:\n"" cullBox(SoState *,SbBox3f const &,SbBool const)\n"" SoCullElement::cullBox(SoState *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullTest",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoCullElement_cullTest" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoCullElement::cullTest(arg1,(SbBox3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBox3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_cullTest",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_cullTest" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCullElement_cullTest" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - result = (SbBool)SoCullElement::cullTest(arg1,(SbBox3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_cullTest(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCullElement_cullTest__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCullElement_cullTest__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCullElement_cullTest'.\n Possible C/C++ prototypes are:\n"" cullTest(SoState *,SbBox3f const &,SbBool const)\n"" SoCullElement::cullTest(SoState *,SbBox3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_completelyInside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_completelyInside",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_completelyInside" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoCullElement::completelyInside(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_matches" "', argument " "1"" of type '" "SoCullElement const *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCullElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoCullElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCullElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCullElement *arg1 = (SoCullElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCullElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCullElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCullElement_copyMatchInfo" "', argument " "1"" of type '" "SoCullElement const *""'"); - } - arg1 = reinterpret_cast< SoCullElement * >(argp1); - result = (SoElement *)((SoCullElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCullElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCullElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDecimationPercentageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDecimationPercentageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecimationPercentageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_initClass",0,0)) SWIG_fail; - SoDecimationPercentageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecimationPercentageElement *arg1 = (SoDecimationPercentageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecimationPercentageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_init" "', argument " "1"" of type '" "SoDecimationPercentageElement *""'"); - } - arg1 = reinterpret_cast< SoDecimationPercentageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationPercentageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecimationPercentageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDecimationPercentageElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoDecimationPercentageElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDecimationPercentageElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoDecimationPercentageElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationPercentageElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoDecimationPercentageElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoDecimationPercentageElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoDecimationPercentageElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecimationPercentageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoDecimationPercentageElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecimationPercentageElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecimationPercentageElement_getDefault",0,0)) SWIG_fail; - result = (float)SoDecimationPercentageElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecimationPercentageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecimationPercentageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoDiffuseColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoDiffuseColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoDiffuseColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_initClass",0,0)) SWIG_fail; - SoDiffuseColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_init" "', argument " "1"" of type '" "SoDiffuseColorElement *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDiffuseColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDiffuseColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoDiffuseColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoDiffuseColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoDiffuseColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoDiffuseColorElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoDiffuseColorElement *)SoDiffuseColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getNum" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (int32_t)((SoDiffuseColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_get" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoDiffuseColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoDiffuseColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_isPacked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_isPacked",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_isPacked" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbBool)((SoDiffuseColorElement const *)arg1)->isPacked(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_hasPackedTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_hasPackedTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_hasPackedTransparency" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbBool)((SoDiffuseColorElement const *)arg1)->hasPackedTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getColorArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getColorArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getColorArrayPtr" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (SbColor *)((SoDiffuseColorElement const *)arg1)->getColorArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDiffuseColorElement_getPackedArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDiffuseColorElement *arg1 = (SoDiffuseColorElement *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDiffuseColorElement_getPackedArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDiffuseColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDiffuseColorElement_getPackedArrayPtr" "', argument " "1"" of type '" "SoDiffuseColorElement const *""'"); - } - arg1 = reinterpret_cast< SoDiffuseColorElement * >(argp1); - result = (uint32_t *)((SoDiffuseColorElement const *)arg1)->getPackedArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDiffuseColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDiffuseColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLClipPlaneElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLClipPlaneElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLClipPlaneElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_initClass",0,0)) SWIG_fail; - SoGLClipPlaneElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLClipPlaneElement *arg1 = (SoGLClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLClipPlaneElement_init" "', argument " "1"" of type '" "SoGLClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoGLClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLClipPlaneElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLClipPlaneElement *arg1 = (SoGLClipPlaneElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLClipPlaneElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLClipPlaneElement_pop" "', argument " "1"" of type '" "SoGLClipPlaneElement *""'"); - } - arg1 = reinterpret_cast< SoGLClipPlaneElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLClipPlaneElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLClipPlaneElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLClipPlaneElement_getMaxGLPlanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLClipPlaneElement_getMaxGLPlanes",0,0)) SWIG_fail; - result = (int)SoGLClipPlaneElement::getMaxGLPlanes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLClipPlaneElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLClipPlaneElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_initClass",0,0)) SWIG_fail; - SoLightElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightElement *arg1 = (SoLightElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_init" "', argument " "1"" of type '" "SoLightElement *""'"); - } - arg1 = reinterpret_cast< SoLightElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightElement *arg1 = (SoLightElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_push" "', argument " "1"" of type '" "SoLightElement *""'"); - } - arg1 = reinterpret_cast< SoLightElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoLight *arg2 = (SoLight *) (SoLight *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightElement_add" "', argument " "2"" of type '" "SoLight *const""'"); - } - arg2 = reinterpret_cast< SoLight * >(argp2); - SoLightElement::add(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getLights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNodeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getLights",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_getLights" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SoNodeList const &_result_ref = SoLightElement::getLights(arg1); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightElement_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightElement_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightElement_getMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightElement_getMatrix" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoLightElement::getMatrix(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLModelMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLModelMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLModelMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_initClass",0,0)) SWIG_fail; - SoGLModelMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_init" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_push" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLModelMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLModelMatrixElement *arg1 = (SoGLModelMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLModelMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLModelMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLModelMatrixElement_pop" "', argument " "1"" of type '" "SoGLModelMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLModelMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLModelMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLModelMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLModelMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLModelMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProfileElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProfileElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_initClass",0,0)) SWIG_fail; - SoProfileElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileElement *arg1 = (SoProfileElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_init" "', argument " "1"" of type '" "SoProfileElement *""'"); - } - arg1 = reinterpret_cast< SoProfileElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileElement *arg1 = (SoProfileElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_push" "', argument " "1"" of type '" "SoProfileElement *""'"); - } - arg1 = reinterpret_cast< SoProfileElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoProfile *arg2 = (SoProfile *) (SoProfile *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_add" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileElement_add" "', argument " "2"" of type '" "SoProfile *const""'"); - } - arg2 = reinterpret_cast< SoProfile * >(argp2); - SoProfileElement::add(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNodeList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SoNodeList const &_result_ref = SoProfileElement::get(arg1); - result = (SoNodeList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixElement *arg1 = (SoTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_init" "', argument " "1"" of type '" "SoTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureMatrixElement *arg1 = (SoTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_push" "', argument " "1"" of type '" "SoTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_makeIdentity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_makeIdentity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::makeIdentity(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_mult",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoTextureMatrixElement::mult(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_translateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_translateBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoTextureMatrixElement::translateBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_rotateBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_rotateBy" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoTextureMatrixElement::rotateBy(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_scaleBy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureMatrixElement_scaleBy" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoTextureMatrixElement::scaleBy(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoTextureMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureMatrixElement_emptyMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureMatrixElement_emptyMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureMatrixElement_emptyMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoTextureMatrixElement::emptyMatrix(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoGLTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_init" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_setEltIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_setEltIdentity",0,0)) SWIG_fail; - SoGLTextureMatrixElement::setEltIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_setElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_setElt" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->setElt((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_makeEltIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_makeEltIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_makeEltIdentity" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->makeEltIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_multElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_multElt",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_multElt" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - (arg1)->multElt((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_translateEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_translateEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_translateEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->translateEltBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_rotateEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_rotateEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_rotateEltBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->rotateEltBy((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureMatrixElement_scaleEltBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureMatrixElement *arg1 = (SoGLTextureMatrixElement *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureMatrixElement_scaleEltBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "1"" of type '" "SoGLTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureMatrixElement_scaleEltBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->scaleEltBy((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLDrawStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLDrawStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLDrawStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_initClass",0,0)) SWIG_fail; - SoGLDrawStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_init" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_push" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDrawStyleElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDrawStyleElement *arg1 = (SoGLDrawStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDrawStyleElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDrawStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDrawStyleElement_pop" "', argument " "1"" of type '" "SoGLDrawStyleElement *""'"); - } - arg1 = reinterpret_cast< SoGLDrawStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDrawStyleElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLDrawStyleElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLDrawStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLDrawStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLightIdElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLightIdElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLightIdElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_initClass",0,0)) SWIG_fail; - SoGLLightIdElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_init" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_push" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLightIdElement *arg1 = (SoGLLightIdElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLightIdElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_pop" "', argument " "1"" of type '" "SoGLLightIdElement *""'"); - } - arg1 = reinterpret_cast< SoGLLightIdElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLightIdElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_increment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_increment" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLightIdElement_increment" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int32_t)SoGLLightIdElement::increment(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_increment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_increment" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoGLLightIdElement::increment(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_increment(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLLightIdElement_increment__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLLightIdElement_increment__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLLightIdElement_increment'.\n Possible C/C++ prototypes are:\n"" increment(SoState *const,SoNode *const)\n"" SoGLLightIdElement::increment(SoState *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLightIdElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoGLLightIdElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getDefault",0,0)) SWIG_fail; - result = (int32_t)SoGLLightIdElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLightIdElement_getMaxGLSources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLightIdElement_getMaxGLSources",0,0)) SWIG_fail; - result = (int32_t)SoGLLightIdElement::getMaxGLSources(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLightIdElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLightIdElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureEnabledElement *arg1 = (SoTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_init" "', argument " "1"" of type '" "SoTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTextureEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTextureEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureEnabledElement *arg1 = (SoTextureEnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureEnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureEnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoGLTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_init" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_push" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTextureEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLTextureEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureEnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLTextureEnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureEnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTextureEnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTextureEnabledElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SbBool const)\n"" SoGLTextureEnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLTextureEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoGLTextureEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureEnabledElement *arg1 = (SoGLTextureEnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoGLTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureEnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_enableRectangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_enableRectangle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_enableRectangle" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureEnabledElement_enableRectangle" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoGLTextureEnabledElement::enableRectangle(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureEnabledElement_getMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLTextureEnabledElement::Mode result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureEnabledElement_getMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureEnabledElement_getMode" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLTextureEnabledElement::Mode)SoGLTextureEnabledElement::getMode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3EnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTexture3EnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTexture3EnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_initClass",0,0)) SWIG_fail; - SoTexture3EnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3EnabledElement *arg1 = (SoTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_init" "', argument " "1"" of type '" "SoTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3EnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3EnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTexture3EnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTexture3EnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTexture3EnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTexture3EnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3EnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3EnabledElement *arg1 = (SoTexture3EnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3EnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3EnabledElement_setElt" "', argument " "1"" of type '" "SoTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTexture3EnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTexture3EnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3EnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3EnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTexture3EnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTexture3EnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTexture3EnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_initClass",0,0)) SWIG_fail; - SoGLTexture3EnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_init" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_push" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTexture3EnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLTexture3EnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTexture3EnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLTexture3EnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTexture3EnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLTexture3EnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLTexture3EnabledElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SbBool const)\n"" SoGLTexture3EnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLTexture3EnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoGLTexture3EnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTexture3EnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTexture3EnabledElement *arg1 = (SoGLTexture3EnabledElement *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTexture3EnabledElement_setElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTexture3EnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTexture3EnabledElement_setElt" "', argument " "1"" of type '" "SoGLTexture3EnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLTexture3EnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTexture3EnabledElement_setElt" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setElt(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTexture3EnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTexture3EnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLinePatternElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLinePatternElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLinePatternElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_initClass",0,0)) SWIG_fail; - SoLinePatternElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinePatternElement *arg1 = (SoLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_init" "', argument " "1"" of type '" "SoLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinePatternElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinePatternElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLinePatternElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoLinePatternElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLinePatternElement_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoLinePatternElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLinePatternElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLinePatternElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLinePatternElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,int32_t const)\n"" SoLinePatternElement::set(SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinePatternElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoLinePatternElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinePatternElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinePatternElement_getDefault",0,0)) SWIG_fail; - result = (int32_t)SoLinePatternElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLinePatternElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLinePatternElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLinePatternElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLinePatternElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLinePatternElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_initClass",0,0)) SWIG_fail; - SoGLLinePatternElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_init" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_push" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLinePatternElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLinePatternElement *arg1 = (SoGLLinePatternElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLinePatternElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLinePatternElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLinePatternElement_pop" "', argument " "1"" of type '" "SoGLLinePatternElement *""'"); - } - arg1 = reinterpret_cast< SoGLLinePatternElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLinePatternElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLinePatternElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLinePatternElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLinePatternElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSwitchElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSwitchElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSwitchElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_initClass",0,0)) SWIG_fail; - SoSwitchElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitchElement *arg1 = (SoSwitchElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitchElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_init" "', argument " "1"" of type '" "SoSwitchElement *""'"); - } - arg1 = reinterpret_cast< SoSwitchElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitchElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitchElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSwitchElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoSwitchElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSwitchElement_set" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoSwitchElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSwitchElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSwitchElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSwitchElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,int32_t const)\n"" SoSwitchElement::set(SoState *const,int32_t const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitchElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoSwitchElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitchElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitchElement_getDefault",0,0)) SWIG_fail; - result = (int32_t)SoSwitchElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSwitchElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSwitchElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextOutlineEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextOutlineEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextOutlineEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_initClass",0,0)) SWIG_fail; - SoTextOutlineEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_init" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_push" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextOutlineEnabledElement *arg1 = (SoTextOutlineEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextOutlineEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "1"" of type '" "SoTextOutlineEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoTextOutlineEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextOutlineEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoTextOutlineEnabledElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextOutlineEnabledElement_set" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextOutlineEnabledElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextOutlineEnabledElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextOutlineEnabledElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextOutlineEnabledElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SbBool const)\n"" SoTextOutlineEnabledElement::set(SoState *const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextOutlineEnabledElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextOutlineEnabledElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextOutlineEnabledElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextOutlineEnabledElement_getDefault",0,0)) SWIG_fail; - result = (SbBool)SoTextOutlineEnabledElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextOutlineEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextOutlineEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoUnitsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoUnitsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoUnitsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_initClass",0,0)) SWIG_fail; - SoUnitsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnitsElement *arg1 = (SoUnitsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoUnitsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_init" "', argument " "1"" of type '" "SoUnitsElement *""'"); - } - arg1 = reinterpret_cast< SoUnitsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnitsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoUnitsElement::Units arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoUnitsElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoUnitsElement_set" "', argument " "3"" of type '" "SoUnitsElement::Units""'"); - } - arg3 = static_cast< SoUnitsElement::Units >(val3); - SoUnitsElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoUnitsElement::Units arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoUnitsElement_set" "', argument " "2"" of type '" "SoUnitsElement::Units""'"); - } - arg2 = static_cast< SoUnitsElement::Units >(val2); - SoUnitsElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoUnitsElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoUnitsElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoUnitsElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,SoUnitsElement::Units const)\n"" SoUnitsElement::set(SoState *const,SoUnitsElement::Units const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoUnitsElement::Units result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoUnitsElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoUnitsElement::Units)SoUnitsElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoUnitsElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoUnitsElement::Units result; - - if(!PyArg_UnpackTuple(args,(char *)"SoUnitsElement_getDefault",0,0)) SWIG_fail; - result = (SoUnitsElement::Units)SoUnitsElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoUnitsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoUnitsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFocalDistanceElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFocalDistanceElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFocalDistanceElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_initClass",0,0)) SWIG_fail; - SoFocalDistanceElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFocalDistanceElement *arg1 = (SoFocalDistanceElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFocalDistanceElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_init" "', argument " "1"" of type '" "SoFocalDistanceElement *""'"); - } - arg1 = reinterpret_cast< SoFocalDistanceElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFocalDistanceElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFocalDistanceElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFocalDistanceElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFocalDistanceElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFocalDistanceElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoFocalDistanceElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFocalDistanceElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFocalDistanceElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFocalDistanceElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoFocalDistanceElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFocalDistanceElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoFocalDistanceElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFocalDistanceElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFocalDistanceElement_getDefault",0,0)) SWIG_fail; - result = (float)SoFocalDistanceElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFocalDistanceElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFocalDistanceElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFontSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFontSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFontSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_initClass",0,0)) SWIG_fail; - SoFontSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontSizeElement *arg1 = (SoFontSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_init" "', argument " "1"" of type '" "SoFontSizeElement *""'"); - } - arg1 = reinterpret_cast< SoFontSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontSizeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFontSizeElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoFontSizeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoFontSizeElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoFontSizeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFontSizeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoFontSizeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoFontSizeElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoFontSizeElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontSizeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoFontSizeElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontSizeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontSizeElement_getDefault",0,0)) SWIG_fail; - result = (float)SoFontSizeElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLineWidthElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLineWidthElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLineWidthElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_initClass",0,0)) SWIG_fail; - SoLineWidthElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineWidthElement *arg1 = (SoLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_init" "', argument " "1"" of type '" "SoLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineWidthElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineWidthElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLineWidthElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoLineWidthElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLineWidthElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoLineWidthElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineWidthElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLineWidthElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLineWidthElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoLineWidthElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineWidthElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoLineWidthElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineWidthElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineWidthElement_getDefault",0,0)) SWIG_fail; - result = (float)SoLineWidthElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineWidthElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineWidthElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLLineWidthElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLLineWidthElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLLineWidthElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_initClass",0,0)) SWIG_fail; - SoGLLineWidthElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_init" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_push" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLLineWidthElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLLineWidthElement *arg1 = (SoGLLineWidthElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLLineWidthElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLLineWidthElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLLineWidthElement_pop" "', argument " "1"" of type '" "SoGLLineWidthElement *""'"); - } - arg1 = reinterpret_cast< SoGLLineWidthElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLLineWidthElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLLineWidthElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLLineWidthElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLLineWidthElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPointSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPointSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPointSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_initClass",0,0)) SWIG_fail; - SoPointSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSizeElement *arg1 = (SoPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_init" "', argument " "1"" of type '" "SoPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSizeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPointSizeElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoPointSizeElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPointSizeElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoPointSizeElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPointSizeElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPointSizeElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPointSizeElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoPointSizeElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSizeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoPointSizeElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSizeElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSizeElement_getDefault",0,0)) SWIG_fail; - result = (float)SoPointSizeElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLPointSizeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLPointSizeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLPointSizeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_initClass",0,0)) SWIG_fail; - SoGLPointSizeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_init" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_push" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPointSizeElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPointSizeElement *arg1 = (SoGLPointSizeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPointSizeElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPointSizeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPointSizeElement_pop" "', argument " "1"" of type '" "SoGLPointSizeElement *""'"); - } - arg1 = reinterpret_cast< SoGLPointSizeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPointSizeElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLPointSizeElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLPointSizeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLPointSizeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureQualityElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureQualityElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureQualityElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_initClass",0,0)) SWIG_fail; - SoTextureQualityElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureQualityElement *arg1 = (SoTextureQualityElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureQualityElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_init" "', argument " "1"" of type '" "SoTextureQualityElement *""'"); - } - arg1 = reinterpret_cast< SoTextureQualityElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureQualityElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureQualityElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureQualityElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoTextureQualityElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureQualityElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoTextureQualityElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureQualityElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTextureQualityElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTextureQualityElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoTextureQualityElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureQualityElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoTextureQualityElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureQualityElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureQualityElement_getDefault",0,0)) SWIG_fail; - result = (float)SoTextureQualityElement::getDefault(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureQualityElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureQualityElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureOverrideElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureOverrideElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureOverrideElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_initClass",0,0)) SWIG_fail; - SoTextureOverrideElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_matches" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoTextureOverrideElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_copyMatchInfo" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - result = (SoElement *)((SoTextureOverrideElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_init" "', argument " "1"" of type '" "SoTextureOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_push" "', argument " "1"" of type '" "SoTextureOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureOverrideElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getQualityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getQualityOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getQualityOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getQualityOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getImageOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getImageOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getImageOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getImageOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_getBumpMapOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_getBumpMapOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_getBumpMapOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoTextureOverrideElement::getBumpMapOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setQualityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setQualityOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setQualityOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setQualityOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setQualityOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setImageOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setImageOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setImageOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setImageOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setImageOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_setBumpMapOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_setBumpMapOverride",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_setBumpMapOverride" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureOverrideElement_setBumpMapOverride" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoTextureOverrideElement::setBumpMapOverride(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureOverrideElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureOverrideElement *arg1 = (SoTextureOverrideElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureOverrideElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureOverrideElement_output" "', argument " "1"" of type '" "SoTextureOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureOverrideElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoTextureOverrideElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureOverrideElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureOverrideElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLRenderPassElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLRenderPassElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLRenderPassElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_initClass",0,0)) SWIG_fail; - SoGLRenderPassElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_init" "', argument " "1"" of type '" "SoGLRenderPassElement *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderPassElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_matches" "', argument " "1"" of type '" "SoGLRenderPassElement const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLRenderPassElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLRenderPassElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderPassElement *arg1 = (SoGLRenderPassElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderPassElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLRenderPassElement const *""'"); - } - arg1 = reinterpret_cast< SoGLRenderPassElement * >(argp1); - result = (SoElement *)((SoGLRenderPassElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLRenderPassElement_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLRenderPassElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLRenderPassElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLRenderPassElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLRenderPassElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLRenderPassElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLRenderPassElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLRenderPassElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLUpdateAreaElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLUpdateAreaElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_initClass",0,0)) SWIG_fail; - SoGLUpdateAreaElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_init" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_push" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "1"" of type '" "SoGLUpdateAreaElement *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_matches" "', argument " "1"" of type '" "SoGLUpdateAreaElement const *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLUpdateAreaElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLUpdateAreaElement *arg1 = (SoGLUpdateAreaElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLUpdateAreaElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLUpdateAreaElement const *""'"); - } - arg1 = reinterpret_cast< SoGLUpdateAreaElement * >(argp1); - result = (SoElement *)((SoGLUpdateAreaElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_set" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_set" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_set" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_set" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - SoGLUpdateAreaElement::set(arg1,(SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLUpdateAreaElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLUpdateAreaElement_get" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_get" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLUpdateAreaElement_get" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLUpdateAreaElement_get" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)SoGLUpdateAreaElement::get(arg1,*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getDefaultOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getDefaultOrigin",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getDefaultOrigin(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLUpdateAreaElement_getDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLUpdateAreaElement_getDefaultSize",0,0)) SWIG_fail; - result = SoGLUpdateAreaElement::getDefaultSize(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLUpdateAreaElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLUpdateAreaElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLocalBBoxMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLocalBBoxMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLocalBBoxMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_initClass",0,0)) SWIG_fail; - SoLocalBBoxMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_init" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_push" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_makeIdentity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::makeIdentity(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_set",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::set(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_mult",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::mult(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_translateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_translateBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_translateBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - SoLocalBBoxMatrixElement::translateBy(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_rotateBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_rotateBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_rotateBy" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - SoLocalBBoxMatrixElement::rotateBy(arg1,(SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_scaleBy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_scaleBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLocalBBoxMatrixElement_scaleBy" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - SoLocalBBoxMatrixElement::scaleBy(arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_pushMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_pushMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_pushMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoLocalBBoxMatrixElement::pushMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_popMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_popMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_popMatrix" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::popMatrix(arg1,(SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_resetAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_resetAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_resetAll" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoLocalBBoxMatrixElement::resetAll(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoLocalBBoxMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_matches" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocalBBoxMatrixElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLocalBBoxMatrixElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocalBBoxMatrixElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocalBBoxMatrixElement *arg1 = (SoLocalBBoxMatrixElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocalBBoxMatrixElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocalBBoxMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocalBBoxMatrixElement_copyMatchInfo" "', argument " "1"" of type '" "SoLocalBBoxMatrixElement const *""'"); - } - arg1 = reinterpret_cast< SoLocalBBoxMatrixElement * >(argp1); - result = (SoElement *)((SoLocalBBoxMatrixElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocalBBoxMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocalBBoxMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getClassTypeId",0,0)) SWIG_fail; - result = SoOverrideElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoOverrideElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoOverrideElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_initClass",0,0)) SWIG_fail; - SoOverrideElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_init" "', argument " "1"" of type '" "SoOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_push" "', argument " "1"" of type '" "SoOverrideElement *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_matches" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoOverrideElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_copyMatchInfo" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - result = (SoElement *)((SoOverrideElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFlags" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (uint32_t)SoOverrideElement::getFlags(arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getAmbientColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getAmbientColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getAmbientColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getAmbientColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getColorIndexOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getColorIndexOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getColorIndexOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getColorIndexOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getComplexityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getComplexityOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getComplexityOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getComplexityOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getComplexityTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getComplexityTypeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getComplexityTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getComplexityTypeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getCreaseAngleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getCreaseAngleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getCreaseAngleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getCreaseAngleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getDiffuseColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getDiffuseColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getDiffuseColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getDiffuseColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getDrawStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getDrawStyleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getDrawStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getDrawStyleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getEmissiveColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getEmissiveColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getEmissiveColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getEmissiveColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFontNameOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFontNameOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFontNameOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getFontNameOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getFontSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getFontSizeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getFontSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getFontSizeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLightModelOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLightModelOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLightModelOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLightModelOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLinePatternOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLinePatternOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLinePatternOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLinePatternOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getLineWidthOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getLineWidthOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getLineWidthOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getLineWidthOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getMaterialBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getMaterialBindingOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getMaterialBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getMaterialBindingOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPickStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPickStyleOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPickStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPickStyleOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPointSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPointSizeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPointSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPointSizeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getPolygonOffsetOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getPolygonOffsetOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getPolygonOffsetOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getPolygonOffsetOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getShapeHintsOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getShapeHintsOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getShapeHintsOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getShapeHintsOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getShininessOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getShininessOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getShininessOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getShininessOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getSpecularColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getSpecularColorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getSpecularColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getSpecularColorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getTransparencyOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getTransparencyOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getTransparencyOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getTransparencyOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getTransparencyTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getTransparencyTypeOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getTransparencyTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getTransparencyTypeOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getNormalVectorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getNormalVectorOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getNormalVectorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getNormalVectorOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_getNormalBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_getNormalBindingOverride",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_getNormalBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoOverrideElement::getNormalBindingOverride(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setAmbientColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setAmbientColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setAmbientColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setAmbientColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setColorIndexOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setColorIndexOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setColorIndexOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setColorIndexOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setComplexityOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setComplexityOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setComplexityOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setComplexityOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setComplexityTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setComplexityTypeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setComplexityTypeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setComplexityTypeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setCreaseAngleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setCreaseAngleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setCreaseAngleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setCreaseAngleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setDiffuseColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setDiffuseColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setDiffuseColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setDiffuseColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setDrawStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setDrawStyleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setDrawStyleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setDrawStyleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setEmissiveColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setEmissiveColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setEmissiveColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setEmissiveColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setFontNameOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setFontNameOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setFontNameOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setFontNameOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setFontSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setFontSizeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setFontSizeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setFontSizeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLightModelOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLightModelOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLightModelOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLightModelOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLinePatternOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLinePatternOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLinePatternOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLinePatternOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setLineWidthOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setLineWidthOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setLineWidthOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setLineWidthOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setMaterialBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setMaterialBindingOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setMaterialBindingOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setMaterialBindingOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPickStyleOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPickStyleOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPickStyleOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPickStyleOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPointSizeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPointSizeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPointSizeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPointSizeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setPolygonOffsetOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setPolygonOffsetOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setPolygonOffsetOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setPolygonOffsetOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setShapeHintsOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setShapeHintsOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setShapeHintsOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setShapeHintsOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setShininessOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setShininessOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setShininessOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setShininessOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setSpecularColorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setSpecularColorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setSpecularColorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setSpecularColorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setTransparencyOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setTransparencyOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setTransparencyOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setTransparencyOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setTransparencyTypeOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setTransparencyTypeOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setTransparencyTypeOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setTransparencyTypeOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setNormalVectorOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setNormalVectorOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setNormalVectorOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setNormalVectorOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_setNormalBindingOverride(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_setNormalBindingOverride",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoOverrideElement_setNormalBindingOverride" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoOverrideElement::setNormalBindingOverride(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOverrideElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOverrideElement *arg1 = (SoOverrideElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOverrideElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOverrideElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOverrideElement_output" "', argument " "1"" of type '" "SoOverrideElement const *""'"); - } - arg1 = reinterpret_cast< SoOverrideElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoOverrideElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOverrideElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOverrideElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPickRayElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPickRayElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPickRayElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPickRayElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_initClass",0,0)) SWIG_fail; - SoPickRayElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_init" "', argument " "1"" of type '" "SoPickRayElement *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_matches" "', argument " "1"" of type '" "SoPickRayElement const *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoPickRayElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickRayElement *arg1 = (SoPickRayElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickRayElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_copyMatchInfo" "', argument " "1"" of type '" "SoPickRayElement const *""'"); - } - arg1 = reinterpret_cast< SoPickRayElement * >(argp1); - result = (SoElement *)((SoPickRayElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickRayElement_set" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickRayElement_set" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - SoPickRayElement::set(arg1,(SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickRayElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickRayElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickRayElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewVolume const &_result_ref = SoPickRayElement::get(arg1); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickRayElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickRayElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_getPtr3" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - result = (SbVec3f *)((SoGLCoordinateElement const *)arg1)->getPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_getPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_getPtr4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_getPtr4" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - result = (SbVec4f *)((SoGLCoordinateElement const *)arg1)->getPtr4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCoordinateElement_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCoordinateElement *arg1 = (SoGLCoordinateElement *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCoordinateElement_send",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCoordinateElement_send" "', argument " "1"" of type '" "SoGLCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ((SoGLCoordinateElement const *)arg1)->send(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getClassTypeId",0,0)) SWIG_fail; - result = SoEnvironmentElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoEnvironmentElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoEnvironmentElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_initClass",0,0)) SWIG_fail; - SoEnvironmentElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironmentElement *arg1 = (SoEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_init" "', argument " "1"" of type '" "SoEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - SbColor *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - int32_t arg6 ; - SbColor *arg7 = 0 ; - float arg8 ; - float arg9 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_set",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnvironmentElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoEnvironmentElement_set" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoEnvironmentElement_set" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoEnvironmentElement_set" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - SoEnvironmentElement::set(arg1,arg2,arg3,(SbColor const &)*arg4,(SbVec3f const &)*arg5,arg6,(SbColor const &)*arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - SbColor *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - int32_t arg6 ; - SbColor *arg7 = 0 ; - float arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - float val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_set",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEnvironmentElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "4"" of type '" "SbColor const &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoEnvironmentElement_set" "', argument " "6"" of type '" "int32_t""'"); - } - arg6 = static_cast< int32_t >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_set" "', argument " "7"" of type '" "SbColor const &""'"); - } - arg7 = reinterpret_cast< SbColor * >(argp7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoEnvironmentElement_set" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - SoEnvironmentElement::set(arg1,arg2,arg3,(SbColor const &)*arg4,(SbVec3f const &)*arg5,arg6,(SbColor const &)*arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[10]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 9); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEnvironmentElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEnvironmentElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEnvironmentElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const,SbColor const &,SbVec3f const &,int32_t const,SbColor const &,float const,float const)\n"" SoEnvironmentElement::set(SoState *const,SoNode *const,float const,SbColor const &,SbVec3f const &,int32_t const,SbColor const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float *arg2 = 0 ; - SbColor *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - int32_t *arg5 = 0 ; - SbColor *arg6 = 0 ; - float *arg7 = 0 ; - float *arg8 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_get" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEnvironmentElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_get" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_get" "', argument " "5"" of type '" "int32_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "5"" of type '" "int32_t &""'"); - } - arg5 = reinterpret_cast< int32_t * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoEnvironmentElement_get" "', argument " "6"" of type '" "SbColor &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "6"" of type '" "SbColor &""'"); - } - arg6 = reinterpret_cast< SbColor * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_get" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoEnvironmentElement_get" "', argument " "8"" of type '" "float &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_get" "', argument " "8"" of type '" "float &""'"); - } - arg8 = reinterpret_cast< float * >(argp8); - SoEnvironmentElement::get(arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getAmbientIntensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getAmbientIntensity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getAmbientIntensity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoEnvironmentElement::getAmbientIntensity(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogVisibility",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogVisibility" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoEnvironmentElement::getFogVisibility(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getLightAttenuation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getLightAttenuation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getLightAttenuation" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoEnvironmentElement::getLightAttenuation(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getAmbientColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getAmbientColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getAmbientColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoEnvironmentElement::getAmbientColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbColor const &_result_ref = SoEnvironmentElement::getFogColor(arg1); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getFogType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getFogType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getFogType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int32_t)SoEnvironmentElement::getFogType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = 0 ; - SbColor *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - int32_t *arg4 = 0 ; - SbColor *arg5 = 0 ; - float *arg6 = 0 ; - float *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_getDefault",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironmentElement_getDefault" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEnvironmentElement_getDefault" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEnvironmentElement_getDefault" "', argument " "4"" of type '" "int32_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "4"" of type '" "int32_t &""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEnvironmentElement_getDefault" "', argument " "5"" of type '" "SbColor &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "5"" of type '" "SbColor &""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoEnvironmentElement_getDefault" "', argument " "6"" of type '" "float &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "6"" of type '" "float &""'"); - } - arg6 = reinterpret_cast< float * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoEnvironmentElement_getDefault" "', argument " "7"" of type '" "float &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEnvironmentElement_getDefault" "', argument " "7"" of type '" "float &""'"); - } - arg7 = reinterpret_cast< float * >(argp7); - SoEnvironmentElement::getDefault(*arg1,*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironmentElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironmentElement *arg1 = (SoEnvironmentElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironmentElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironmentElement_output" "', argument " "1"" of type '" "SoEnvironmentElement const *""'"); - } - arg1 = reinterpret_cast< SoEnvironmentElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoEnvironmentElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnvironmentElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnvironmentElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLEnvironmentElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLEnvironmentElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLEnvironmentElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_initClass",0,0)) SWIG_fail; - SoGLEnvironmentElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLEnvironmentElement *arg1 = (SoGLEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLEnvironmentElement_init" "', argument " "1"" of type '" "SoGLEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoGLEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLEnvironmentElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLEnvironmentElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLEnvironmentElement *arg1 = (SoGLEnvironmentElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLEnvironmentElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLEnvironmentElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLEnvironmentElement_pop" "', argument " "1"" of type '" "SoGLEnvironmentElement *""'"); - } - arg1 = reinterpret_cast< SoGLEnvironmentElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLEnvironmentElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLEnvironmentElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLEnvironmentElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLEnvironmentElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getClassTypeId",0,0)) SWIG_fail; - result = SoFontNameElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoFontNameElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoFontNameElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_initClass",0,0)) SWIG_fail; - SoFontNameElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_init" "', argument " "1"" of type '" "SoFontNameElement *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbName arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = SbName(PyString_AsString(obj2)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj2, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg3 = *namePtr; - } - } - SoFontNameElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbName const &_result_ref = SoFontNameElement::get(arg1); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_getDefault",0,0)) SWIG_fail; - result = SoFontNameElement::getDefault(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_matches" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontNameElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoFontNameElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_copyMatchInfo" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - result = (SoElement *)((SoFontNameElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontNameElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontNameElement *arg1 = (SoFontNameElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontNameElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontNameElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontNameElement_output" "', argument " "1"" of type '" "SoFontNameElement const *""'"); - } - arg1 = reinterpret_cast< SoFontNameElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoFontNameElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontNameElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontNameElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightAttenuationElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightAttenuationElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightAttenuationElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_initClass",0,0)) SWIG_fail; - SoLightAttenuationElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_init" "', argument " "1"" of type '" "SoLightAttenuationElement *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLightAttenuationElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLightAttenuationElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoLightAttenuationElement::set(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoLightAttenuationElement::get(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_getDefault",0,0)) SWIG_fail; - { - SbVec3f const &_result_ref = SoLightAttenuationElement::getDefault(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_matches" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightAttenuationElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoLightAttenuationElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_copyMatchInfo" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - result = (SoElement *)((SoLightAttenuationElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightAttenuationElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightAttenuationElement *arg1 = (SoLightAttenuationElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightAttenuationElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightAttenuationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightAttenuationElement_output" "', argument " "1"" of type '" "SoLightAttenuationElement const *""'"); - } - arg1 = reinterpret_cast< SoLightAttenuationElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoLightAttenuationElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightAttenuationElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightAttenuationElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getClassTypeId",0,0)) SWIG_fail; - result = SoPolygonOffsetElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoPolygonOffsetElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoPolygonOffsetElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_initClass",0,0)) SWIG_fail; - SoPolygonOffsetElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffsetElement *arg1 = (SoPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_init" "', argument " "1"" of type '" "SoPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - float arg3 ; - float arg4 ; - SoPolygonOffsetElement::Style arg5 ; - SbBool arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_set",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoPolygonOffsetElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoPolygonOffsetElement_set" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoPolygonOffsetElement_set" "', argument " "5"" of type '" "SoPolygonOffsetElement::Style""'"); - } - arg5 = static_cast< SoPolygonOffsetElement::Style >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoPolygonOffsetElement_set" "', argument " "6"" of type '" "SbBool""'"); - } - arg6 = static_cast< SbBool >(val6); - SoPolygonOffsetElement::set(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - SoPolygonOffsetElement::Style *arg4 = 0 ; - SbBool *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_get",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_get" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPolygonOffsetElement_get" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoPolygonOffsetElement__Style, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPolygonOffsetElement_get" "', argument " "4"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "4"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - arg4 = reinterpret_cast< SoPolygonOffsetElement::Style * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoPolygonOffsetElement_get" "', argument " "5"" of type '" "SbBool &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_get" "', argument " "5"" of type '" "SbBool &""'"); - } - arg5 = reinterpret_cast< SbBool * >(argp5); - SoPolygonOffsetElement::get(arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffsetElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = 0 ; - float *arg2 = 0 ; - SoPolygonOffsetElement::Style *arg3 = 0 ; - SbBool *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffsetElement_getDefault",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "1"" of type '" "float &""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoPolygonOffsetElement__Style, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "3"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "3"" of type '" "SoPolygonOffsetElement::Style &""'"); - } - arg3 = reinterpret_cast< SoPolygonOffsetElement::Style * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPolygonOffsetElement_getDefault" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - SoPolygonOffsetElement::getDefault(*arg1,*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPolygonOffsetElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPolygonOffsetElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLPolygonOffsetElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLPolygonOffsetElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLPolygonOffsetElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_initClass",0,0)) SWIG_fail; - SoGLPolygonOffsetElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_init" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_push" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLPolygonOffsetElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLPolygonOffsetElement *arg1 = (SoGLPolygonOffsetElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLPolygonOffsetElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLPolygonOffsetElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "1"" of type '" "SoGLPolygonOffsetElement *""'"); - } - arg1 = reinterpret_cast< SoGLPolygonOffsetElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLPolygonOffsetElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLPolygonOffsetElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLPolygonOffsetElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProjectionMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProjectionMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProjectionMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_initClass",0,0)) SWIG_fail; - SoProjectionMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProjectionMatrixElement *arg1 = (SoProjectionMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProjectionMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_init" "', argument " "1"" of type '" "SoProjectionMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoProjectionMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProjectionMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProjectionMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - SoProjectionMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProjectionMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProjectionMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProjectionMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoProjectionMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProjectionMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProjectionMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLProjectionMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLProjectionMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLProjectionMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_initClass",0,0)) SWIG_fail; - SoGLProjectionMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLProjectionMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLProjectionMatrixElement *arg1 = (SoGLProjectionMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLProjectionMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLProjectionMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "1"" of type '" "SoGLProjectionMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLProjectionMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLProjectionMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLProjectionMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLProjectionMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoProfileCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoProfileCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_initClass",0,0)) SWIG_fail; - SoProfileCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_init" "', argument " "1"" of type '" "SoProfileCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec2f *arg4 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_set2",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProfileCoordinateElement_set2" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfileCoordinateElement_set2" "', argument " "4"" of type '" "SbVec2f const *const""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - SoProfileCoordinateElement::set2(arg1,arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbVec3f *arg4 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_set3",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProfileCoordinateElement_set3" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfileCoordinateElement_set3" "', argument " "4"" of type '" "SbVec3f const *const""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - SoProfileCoordinateElement::set3(arg1,arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoProfileCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoProfileCoordinateElement *)SoProfileCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getNum" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (int32_t)((SoProfileCoordinateElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_get2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_get2" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoProfileCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = ((SoProfileCoordinateElement const *)arg1)->get2(arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_get3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_get3" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoProfileCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = ((SoProfileCoordinateElement const *)arg1)->get3(arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_is2D",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_is2D" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbBool)((SoProfileCoordinateElement const *)arg1)->is2D(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getDefault2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getDefault2",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getDefault2(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getDefault3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getDefault3",0,0)) SWIG_fail; - result = SoProfileCoordinateElement::getDefault3(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getArrayPtr2",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbVec2f *)((SoProfileCoordinateElement const *)arg1)->getArrayPtr2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinateElement *arg1 = (SoProfileCoordinateElement *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinateElement_getArrayPtr3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoProfileCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinateElement * >(argp1); - result = (SbVec3f *)((SoProfileCoordinateElement const *)arg1)->getArrayPtr3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_initClass",0,0)) SWIG_fail; - SoGLTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_init" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_push" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_pop" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoGLImage *arg3 = (SoGLImage *) 0 ; - SoTextureImageElement::Model arg4 ; - SbColor *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_set" "', argument " "3"" of type '" "SoGLImage *""'"); - } - arg3 = reinterpret_cast< SoGLImage * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLTextureImageElement_set" "', argument " "4"" of type '" "SoTextureImageElement::Model""'"); - } - arg4 = static_cast< SoTextureImageElement::Model >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLTextureImageElement_set" "', argument " "5"" of type '" "SbColor const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_set" "', argument " "5"" of type '" "SbColor const &""'"); - } - arg5 = reinterpret_cast< SbColor * >(argp5); - SoGLTextureImageElement::set(arg1,arg2,arg3,arg4,(SbColor const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoTextureImageElement::Model *arg2 = 0 ; - SbColor *arg3 = 0 ; - SoGLImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_get",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLTextureImageElement_get" "', argument " "2"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_get" "', argument " "2"" of type '" "SoTextureImageElement::Model &""'"); - } - arg2 = reinterpret_cast< SoTextureImageElement::Model * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLTextureImageElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLTextureImageElement_get" "', argument " "3"" of type '" "SbColor &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - result = (SoGLImage *)SoGLTextureImageElement::get(arg1,*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_getMaxGLTextureSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_getMaxGLTextureSize",0,0)) SWIG_fail; - result = (int32_t)SoGLTextureImageElement::getMaxGLTextureSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLTextureImageElement_isTextureSizeLegal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLTextureImageElement *arg1 = (SoGLTextureImageElement *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLTextureImageElement_isTextureSizeLegal",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "1"" of type '" "SoGLTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLTextureImageElement_isTextureSizeLegal" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - result = (SbBool)(arg1)->isTextureSizeLegal(arg2,arg3,arg4,arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewingMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewingMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewingMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_initClass",0,0)) SWIG_fail; - SoViewingMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewingMatrixElement *arg1 = (SoViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_init" "', argument " "1"" of type '" "SoViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewingMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewingMatrixElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoViewingMatrixElement_set" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewingMatrixElement_set" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoViewingMatrixElement::set(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewingMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewingMatrixElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewingMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbMatrix const &_result_ref = SoViewingMatrixElement::get(arg1); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewingMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewingMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLViewingMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLViewingMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLViewingMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_initClass",0,0)) SWIG_fail; - SoGLViewingMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_init" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_push" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewingMatrixElement *arg1 = (SoGLViewingMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewingMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "1"" of type '" "SoGLViewingMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewingMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLViewingMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getNodeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getNodeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_getNodeId" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (uint32_t)SoGLViewingMatrixElement::getNodeId(arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewingMatrixElement_getResetMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewingMatrixElement_getResetMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewingMatrixElement_getResetMatrix" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = SoGLViewingMatrixElement::getResetMatrix(arg1); - resultobj = SWIG_NewPointerObj((new SbMatrix(static_cast< const SbMatrix& >(result))), SWIGTYPE_p_SbMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLViewingMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLViewingMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewVolumeElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewVolumeElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewVolumeElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_initClass",0,0)) SWIG_fail; - SoViewVolumeElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewVolumeElement *arg1 = (SoViewVolumeElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewVolumeElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_init" "', argument " "1"" of type '" "SoViewVolumeElement *""'"); - } - arg1 = reinterpret_cast< SoViewVolumeElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewVolumeElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewVolume *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewVolumeElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoViewVolumeElement_set" "', argument " "3"" of type '" "SbViewVolume const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewVolumeElement_set" "', argument " "3"" of type '" "SbViewVolume const &""'"); - } - arg3 = reinterpret_cast< SbViewVolume * >(argp3); - SoViewVolumeElement::set(arg1,arg2,(SbViewVolume const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewVolumeElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewVolumeElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewVolumeElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewVolume const &_result_ref = SoViewVolumeElement::get(arg1); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewVolumeElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewVolumeElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLShapeHintsElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLShapeHintsElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLShapeHintsElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_initClass",0,0)) SWIG_fail; - SoGLShapeHintsElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_init" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_push" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLShapeHintsElement *arg1 = (SoGLShapeHintsElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLShapeHintsElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_pop" "', argument " "1"" of type '" "SoGLShapeHintsElement *""'"); - } - arg1 = reinterpret_cast< SoGLShapeHintsElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLShapeHintsElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLShapeHintsElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoGLShapeHintsElement::forceSend(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoGLShapeHintsElement::forceSend(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLShapeHintsElement_forceSend",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLShapeHintsElement_forceSend" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoGLShapeHintsElement::forceSend(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLShapeHintsElement_forceSend(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLShapeHintsElement_forceSend__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLShapeHintsElement_forceSend'.\n Possible C/C++ prototypes are:\n"" forceSend(SoState *const,SbBool const)\n"" forceSend(SoState *const,SbBool const,SbBool const)\n"" SoGLShapeHintsElement::forceSend(SoState *const,SbBool const,SbBool const,SbBool const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoGLShapeHintsElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLShapeHintsElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeStyleElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShapeStyleElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShapeStyleElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_initClass",0,0)) SWIG_fail; - SoShapeStyleElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_init" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_push" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_pop" "', argument " "1"" of type '" "SoShapeStyleElement *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoShapeStyleElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_matches" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShapeStyleElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoShapeStyleElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_copyMatchInfo" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SoElement *)((SoShapeStyleElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoShapeStyleElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShapeStyleElement *)SoShapeStyleElement::get(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - unsigned int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getFlags" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (unsigned int)((SoShapeStyleElement const *)arg1)->getFlags(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_mightNotRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_mightNotRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_mightNotRender" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->mightNotRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_needNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_needNormals",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_needNormals" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->needNormals(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_needTexCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_needTexCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_needTexCoords" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->needTexCoords(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getRenderCaseMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getRenderCaseMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getRenderCaseMask" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (int)((SoShapeStyleElement const *)arg1)->getRenderCaseMask(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setDrawStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setDrawStyle" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setDrawStyle" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setDrawStyle(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setComplexityType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setComplexityType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setComplexityType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setComplexityType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setComplexityType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparencyType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparencyType" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setTransparencyType(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTextureEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTextureEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTextureEnabled" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTextureEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTextureEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTexture3Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTexture3Enabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTexture3Enabled" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTexture3Enabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTexture3Enabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTextureFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTextureFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTextureFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTextureFunction" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTextureFunction(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setLightModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setLightModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setLightModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setLightModel" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - SoShapeStyleElement::setLightModel(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setOverrides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setOverrides",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setOverrides" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setOverrides" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setOverrides(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_isScreenDoor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_isScreenDoor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_isScreenDoor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoShapeStyleElement::isScreenDoor(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_getTransparencyType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoShapeStyleElement::getTransparencyType(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_isTextureFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeStyleElement *arg1 = (SoShapeStyleElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_isTextureFunction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeStyleElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_isTextureFunction" "', argument " "1"" of type '" "SoShapeStyleElement const *""'"); - } - arg1 = reinterpret_cast< SoShapeStyleElement * >(argp1); - result = (SbBool)((SoShapeStyleElement const *)arg1)->isTextureFunction(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setBumpmapEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setBumpmapEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setBumpmapEnabled" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setBumpmapEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setBumpmapEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setBigImageEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setBigImageEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setBigImageEnabled" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setBigImageEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setBigImageEnabled(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setVertexArrayRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setVertexArrayRendering",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setVertexArrayRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setVertexArrayRendering" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setVertexArrayRendering(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparentMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparentMaterial",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparentMaterial" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparentMaterial" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTransparentMaterial(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeStyleElement_setTransparentTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeStyleElement_setTransparentTexture",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeStyleElement_setTransparentTexture" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShapeStyleElement_setTransparentTexture" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - SoShapeStyleElement::setTransparentTexture(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeStyleElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeStyleElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoViewportRegionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoViewportRegionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoViewportRegionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_initClass",0,0)) SWIG_fail; - SoViewportRegionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_init" "', argument " "1"" of type '" "SoViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_matches" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoViewportRegionElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_copyMatchInfo" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - result = (SoElement *)((SoViewportRegionElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoViewportRegionElement_set" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoViewportRegionElement_set" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - SoViewportRegionElement::set(arg1,(SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbViewportRegion const &_result_ref = SoViewportRegionElement::get(arg1); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoViewportRegionElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoViewportRegionElement *arg1 = (SoViewportRegionElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoViewportRegionElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoViewportRegionElement_output" "', argument " "1"" of type '" "SoViewportRegionElement const *""'"); - } - arg1 = reinterpret_cast< SoViewportRegionElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoViewportRegionElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoViewportRegionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoViewportRegionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLViewportRegionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLViewportRegionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLViewportRegionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_initClass",0,0)) SWIG_fail; - SoGLViewportRegionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_init" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_push" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLViewportRegionElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLViewportRegionElement *arg1 = (SoGLViewportRegionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLViewportRegionElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLViewportRegionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLViewportRegionElement_pop" "', argument " "1"" of type '" "SoGLViewportRegionElement *""'"); - } - arg1 = reinterpret_cast< SoGLViewportRegionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLViewportRegionElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLViewportRegionElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLViewportRegionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLViewportRegionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWindowElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_getClassTypeId",0,0)) SWIG_fail; - result = SoWindowElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoWindowElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoWindowElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_initClass",0,0)) SWIG_fail; - SoWindowElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_init" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_push" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_pop" "', argument " "1"" of type '" "SoWindowElement *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_matches" "', argument " "1"" of type '" "SoWindowElement const *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoWindowElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWindowElement *arg1 = (SoWindowElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWindowElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_copyMatchInfo" "', argument " "1"" of type '" "SoWindowElement const *""'"); - } - arg1 = reinterpret_cast< SoWindowElement * >(argp1); - result = (SoElement *)((SoWindowElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - void *arg4 = (void *) 0 ; - SoGLRenderAction *arg5 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int res3 ; - int res4 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_set" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_set" "', argument " "3"" of type '" "void *""'"); - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoWindowElement_set" "', argument " "4"" of type '" "void *""'"); - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoWindowElement_set" "', argument " "5"" of type '" "SoGLRenderAction *""'"); - } - arg5 = reinterpret_cast< SoGLRenderAction * >(argp5); - SoWindowElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWindowElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void **arg2 = 0 ; - void **arg3 = 0 ; - void **arg4 = 0 ; - SoGLRenderAction **arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWindowElement_get",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWindowElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWindowElement_get" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoWindowElement_get" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoWindowElement_get" "', argument " "4"" of type '" "void *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "4"" of type '" "void *&""'"); - } - arg4 = reinterpret_cast< void ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_SoGLRenderAction, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoWindowElement_get" "', argument " "5"" of type '" "SoGLRenderAction *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWindowElement_get" "', argument " "5"" of type '" "SoGLRenderAction *&""'"); - } - arg5 = reinterpret_cast< SoGLRenderAction ** >(argp5); - SoWindowElement::get(arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWindowElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWindowElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLCacheContextElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLCacheContextElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLCacheContextElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_initClass",0,0)) SWIG_fail; - SoGLCacheContextElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_init" "', argument " "1"" of type '" "SoGLCacheContextElement *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_matches" "', argument " "1"" of type '" "SoGLCacheContextElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoGLCacheContextElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLCacheContextElement *arg1 = (SoGLCacheContextElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLCacheContextElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_copyMatchInfo" "', argument " "1"" of type '" "SoGLCacheContextElement const *""'"); - } - arg1 = reinterpret_cast< SoGLCacheContextElement * >(argp1); - result = (SoElement *)((SoGLCacheContextElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLCacheContextElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLCacheContextElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoGLCacheContextElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getExtID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getExtID",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getExtID" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (int)SoGLCacheContextElement::getExtID((char const *)arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getOpenGLVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getOpenGLVersion",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLCacheContextElement_getOpenGLVersion" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SoGLCacheContextElement::getOpenGLVersion(arg1,*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_extSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_extSupported",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_extSupported" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_extSupported" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoGLCacheContextElement::extSupported(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_areMipMapsFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_areMipMapsFast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_areMipMapsFast" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLCacheContextElement::areMipMapsFast(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_shouldAutoCache(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_shouldAutoCache",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_shouldAutoCache" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_shouldAutoCache" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLCacheContextElement::shouldAutoCache(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_setAutoCacheBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_setAutoCacheBits",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_setAutoCacheBits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLCacheContextElement_setAutoCacheBits" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLCacheContextElement::setAutoCacheBits(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_resetAutoCacheBits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_resetAutoCacheBits",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_resetAutoCacheBits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoGLCacheContextElement::resetAutoCacheBits(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getIsRemoteRendering(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getIsRemoteRendering",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLCacheContextElement_getIsRemoteRendering" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLCacheContextElement::getIsRemoteRendering(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_getUniqueCacheContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_getUniqueCacheContext",0,0)) SWIG_fail; - result = (uint32_t)SoGLCacheContextElement::getUniqueCacheContext(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLCacheContextElement_scheduleDeleteCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - SoScheduleDeleteCB *arg2 = (SoScheduleDeleteCB *) 0 ; - void *arg3 = (void *) 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLCacheContextElement_scheduleDeleteCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_unsigned_int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "2"" of type '" "SoScheduleDeleteCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLCacheContextElement_scheduleDeleteCallback" "', argument " "3"" of type '" "void *""'"); - } - SoGLCacheContextElement::scheduleDeleteCallback(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLCacheContextElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLCacheContextElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - int arg3 ; - SbBool arg4 ; - SoGLDisplayList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoGLDisplayList" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoGLDisplayList" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - int arg3 ; - SoGLDisplayList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoGLDisplayList" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLDisplayList::Type arg2 ; - SoGLDisplayList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGLDisplayList" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SoGLDisplayList" "', argument " "2"" of type '" "SoGLDisplayList::Type""'"); - } - arg2 = static_cast< SoGLDisplayList::Type >(val2); - result = (SoGLDisplayList *)new SoGLDisplayList(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGLDisplayList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGLDisplayList__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoGLDisplayList'.\n Possible C/C++ prototypes are:\n"" SoGLDisplayList(SoState *,SoGLDisplayList::Type,int,SbBool)\n"" SoGLDisplayList(SoState *,SoGLDisplayList::Type,int)\n"" SoGLDisplayList(SoState *,SoGLDisplayList::Type)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_ref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_ref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - (arg1)->ref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_unref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_unref" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_unref'.\n Possible C/C++ prototypes are:\n"" unref(SoGLDisplayList *,SoState *)\n"" unref(SoGLDisplayList *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_open",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_open" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_open" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLDisplayList_open" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->open(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_open",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_open" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_open" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->open(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_open(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_open__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLDisplayList_open__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_open'.\n Possible C/C++ prototypes are:\n"" open(SoGLDisplayList *,SoState *,int)\n"" open(SoGLDisplayList *,SoState *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_close",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_close" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_close" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->close(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_call",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_call" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_call" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLDisplayList_call" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->call(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_call",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_call" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_call" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->call(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_call(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLDisplayList_call__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLDisplayList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLDisplayList_call__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLDisplayList_call'.\n Possible C/C++ prototypes are:\n"" call(SoGLDisplayList *,SoState *,int)\n"" call(SoGLDisplayList *,SoState *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_addDependency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_addDependency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_addDependency" "', argument " "1"" of type '" "SoGLDisplayList *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLDisplayList_addDependency" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->addDependency(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_isMipMapTextureObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_isMipMapTextureObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_isMipMapTextureObject" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (SbBool)((SoGLDisplayList const *)arg1)->isMipMapTextureObject(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - SoGLDisplayList::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getType" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (SoGLDisplayList::Type)((SoGLDisplayList const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getNumAllocated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getNumAllocated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getNumAllocated" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (int)((SoGLDisplayList const *)arg1)->getNumAllocated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getFirstIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - unsigned int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getFirstIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getFirstIndex" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (unsigned int)((SoGLDisplayList const *)arg1)->getFirstIndex(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLDisplayList_getContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLDisplayList *arg1 = (SoGLDisplayList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLDisplayList_getContext",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLDisplayList_getContext" "', argument " "1"" of type '" "SoGLDisplayList const *""'"); - } - arg1 = reinterpret_cast< SoGLDisplayList * >(argp1); - result = (int)((SoGLDisplayList const *)arg1)->getContext(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLDisplayList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLDisplayList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLColorIndexElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLColorIndexElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLColorIndexElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_initClass",0,0)) SWIG_fail; - SoGLColorIndexElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_isColorIndexMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_isColorIndexMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_isColorIndexMode" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoGLColorIndexElement::isColorIndexMode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_init" "', argument " "1"" of type '" "SoGLColorIndexElement *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLColorIndexElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - int32_t *arg4 = (int32_t *) (int32_t *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLColorIndexElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLColorIndexElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLColorIndexElement_set" "', argument " "4"" of type '" "int32_t const *const""'"); - } - arg4 = reinterpret_cast< int32_t * >(argp4); - SoGLColorIndexElement::set(arg1,arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLColorIndexElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLColorIndexElement *)SoGLColorIndexElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_getNum" "', argument " "1"" of type '" "SoGLColorIndexElement const *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - result = (int32_t)((SoGLColorIndexElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLColorIndexElement *arg1 = (SoGLColorIndexElement *) 0 ; - int arg2 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLColorIndexElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLColorIndexElement_get" "', argument " "1"" of type '" "SoGLColorIndexElement const *""'"); - } - arg1 = reinterpret_cast< SoGLColorIndexElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLColorIndexElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int32_t)((SoGLColorIndexElement const *)arg1)->get(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLColorIndexElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLColorIndexElement_getDefault",0,0)) SWIG_fail; - result = (int32_t)SoGLColorIndexElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLColorIndexElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLColorIndexElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerPositionElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerPositionElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerPositionElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_initClass",0,0)) SWIG_fail; - SoListenerPositionElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerPositionElement *arg1 = (SoListenerPositionElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerPositionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_init" "', argument " "1"" of type '" "SoListenerPositionElement *""'"); - } - arg1 = reinterpret_cast< SoListenerPositionElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerPositionElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerPositionElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerPositionElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerPositionElement_set" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoListenerPositionElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoListenerPositionElement::set(arg1,arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoListenerPositionElement::get(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_isSetByListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_isSetByListener",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_isSetByListener" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoListenerPositionElement::isSetByListener(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerPositionElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerPositionElement *arg1 = (SoListenerPositionElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerPositionElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerPositionElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerPositionElement_output" "', argument " "1"" of type '" "SoListenerPositionElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerPositionElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerPositionElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerPositionElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerPositionElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerOrientationElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerOrientationElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerOrientationElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_initClass",0,0)) SWIG_fail; - SoListenerOrientationElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerOrientationElement *arg1 = (SoListenerOrientationElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerOrientationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_init" "', argument " "1"" of type '" "SoListenerOrientationElement *""'"); - } - arg1 = reinterpret_cast< SoListenerOrientationElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerOrientationElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbRotation *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerOrientationElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerOrientationElement_set" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerOrientationElement_set" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoListenerOrientationElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoListenerOrientationElement::set(arg1,arg2,(SbRotation const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbRotation const &_result_ref = SoListenerOrientationElement::get(arg1); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_isSetByListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_isSetByListener",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_isSetByListener" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoListenerOrientationElement::isSetByListener(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerOrientationElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerOrientationElement *arg1 = (SoListenerOrientationElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerOrientationElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerOrientationElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerOrientationElement_output" "', argument " "1"" of type '" "SoListenerOrientationElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerOrientationElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerOrientationElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerOrientationElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerOrientationElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerDopplerElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerDopplerElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerDopplerElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_initClass",0,0)) SWIG_fail; - SoListenerDopplerElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerDopplerElement *arg1 = (SoListenerDopplerElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerDopplerElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_init" "', argument " "1"" of type '" "SoListenerDopplerElement *""'"); - } - arg1 = reinterpret_cast< SoListenerDopplerElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_setDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_setDopplerVelocity",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoListenerDopplerElement_setDopplerVelocity" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoListenerDopplerElement::setDopplerVelocity(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_setDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_setDopplerFactor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoListenerDopplerElement_setDopplerFactor" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoListenerDopplerElement::setDopplerFactor(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getDopplerVelocity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_getDopplerVelocity" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - { - SbVec3f const &_result_ref = SoListenerDopplerElement::getDopplerVelocity(arg1); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_getDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_getDopplerFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_getDopplerFactor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoListenerDopplerElement::getDopplerFactor(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerDopplerElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerDopplerElement *arg1 = (SoListenerDopplerElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerDopplerElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerDopplerElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerDopplerElement_output" "', argument " "1"" of type '" "SoListenerDopplerElement const *""'"); - } - arg1 = reinterpret_cast< SoListenerDopplerElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoListenerDopplerElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerDopplerElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerDopplerElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_getClassTypeId",0,0)) SWIG_fail; - result = SoListenerGainElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoListenerGainElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoListenerGainElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_initClass",0,0)) SWIG_fail; - SoListenerGainElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListenerGainElement *arg1 = (SoListenerGainElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListenerGainElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_init" "', argument " "1"" of type '" "SoListenerGainElement *""'"); - } - arg1 = reinterpret_cast< SoListenerGainElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerGainElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListenerGainElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoListenerGainElement_set" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoListenerGainElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoListenerGainElement_set" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - SoListenerGainElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoListenerGainElement_set__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoListenerGainElement_set__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoListenerGainElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,float const)\n"" SoListenerGainElement::set(SoState *const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListenerGainElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListenerGainElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListenerGainElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (float)SoListenerGainElement::get(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListenerGainElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListenerGainElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSoundElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSoundElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSoundElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSoundElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_initClass",0,0)) SWIG_fail; - SoSoundElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_init" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_set",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_set" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSoundElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSoundElement_set" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoSoundElement::set(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setSceneGraphHasSoundNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setSceneGraphHasSoundNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setSceneGraphHasSoundNode" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setSceneGraphHasSoundNode(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_sceneGraphHasSoundNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_sceneGraphHasSoundNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_sceneGraphHasSoundNode" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::sceneGraphHasSoundNode(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setSoundNodeIsPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setSoundNodeIsPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setSoundNodeIsPlaying" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setSoundNodeIsPlaying(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_soundNodeIsPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_soundNodeIsPlaying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_soundNodeIsPlaying" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::soundNodeIsPlaying(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_setIsPartOfActiveSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_setIsPartOfActiveSceneGraph",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSoundElement_setIsPartOfActiveSceneGraph" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)SoSoundElement::setIsPartOfActiveSceneGraph(arg1,arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_isPartOfActiveSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_isPartOfActiveSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_isPartOfActiveSceneGraph" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoSoundElement::isPartOfActiveSceneGraph(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_push" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_pop" "', argument " "1"" of type '" "SoSoundElement *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSoundElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSoundElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSoundElement_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSoundElement *arg1 = (SoSoundElement *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSoundElement_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSoundElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSoundElement_output" "', argument " "1"" of type '" "SoSoundElement const *""'"); - } - arg1 = reinterpret_cast< SoSoundElement * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoSoundElement const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSoundElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSoundElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoSpecularColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoSpecularColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoSpecularColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_initClass",0,0)) SWIG_fail; - SoSpecularColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_init" "', argument " "1"" of type '" "SoSpecularColorElement *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpecularColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpecularColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSpecularColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSpecularColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoSpecularColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoSpecularColorElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoSpecularColorElement *)SoSpecularColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getNum" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - result = (int32_t)((SoSpecularColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_get" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpecularColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoSpecularColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpecularColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpecularColorElement *arg1 = (SoSpecularColorElement *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpecularColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpecularColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpecularColorElement_getArrayPtr" "', argument " "1"" of type '" "SoSpecularColorElement const *""'"); - } - arg1 = reinterpret_cast< SoSpecularColorElement * >(argp1); - result = (SbColor *)((SoSpecularColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpecularColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpecularColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getClassTypeId",0,0)) SWIG_fail; - result = SoEmissiveColorElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoEmissiveColorElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoEmissiveColorElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_initClass",0,0)) SWIG_fail; - SoEmissiveColorElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_init" "', argument " "1"" of type '" "SoEmissiveColorElement *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEmissiveColorElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - SbColor *arg4 = (SbColor *) (SbColor *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEmissiveColorElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEmissiveColorElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEmissiveColorElement_set" "', argument " "4"" of type '" "SbColor const *const""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - SoEmissiveColorElement::set(arg1,arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoEmissiveColorElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoEmissiveColorElement *)SoEmissiveColorElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getNum" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - result = (int32_t)((SoEmissiveColorElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_get" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEmissiveColorElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = ((SoEmissiveColorElement const *)arg1)->get(arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEmissiveColorElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEmissiveColorElement *arg1 = (SoEmissiveColorElement *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEmissiveColorElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEmissiveColorElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEmissiveColorElement_getArrayPtr" "', argument " "1"" of type '" "SoEmissiveColorElement const *""'"); - } - arg1 = reinterpret_cast< SoEmissiveColorElement * >(argp1); - result = (SbColor *)((SoEmissiveColorElement const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEmissiveColorElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEmissiveColorElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShininessElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getClassTypeId",0,0)) SWIG_fail; - result = SoShininessElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoShininessElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoShininessElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_initClass",0,0)) SWIG_fail; - SoShininessElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_init" "', argument " "1"" of type '" "SoShininessElement *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShininessElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - float *arg4 = (float *) (float *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShininessElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoShininessElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoShininessElement_set" "', argument " "4"" of type '" "float const *const""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - SoShininessElement::set(arg1,arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoShininessElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoShininessElement *)SoShininessElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShininessElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getNum" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - result = (int32_t)((SoShininessElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_get" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoShininessElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)((SoShininessElement const *)arg1)->get(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShininessElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShininessElement *arg1 = (SoShininessElement *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShininessElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShininessElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShininessElement_getArrayPtr" "', argument " "1"" of type '" "SoShininessElement const *""'"); - } - arg1 = reinterpret_cast< SoShininessElement * >(argp1); - result = (float *)((SoShininessElement const *)arg1)->getArrayPtr(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShininessElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShininessElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTransparencyElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTransparencyElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTransparencyElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_initClass",0,0)) SWIG_fail; - SoTransparencyElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_init" "', argument " "1"" of type '" "SoTransparencyElement *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int32_t arg3 ; - float *arg4 = (float *) (float *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTransparencyElement_set" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTransparencyElement_set" "', argument " "4"" of type '" "float const *const""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - SoTransparencyElement::set(arg1,arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoTransparencyElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoTransparencyElement *)SoTransparencyElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getNum" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - result = (int32_t)((SoTransparencyElement const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_get" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransparencyElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)((SoTransparencyElement const *)arg1)->get(arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyElement_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyElement *arg1 = (SoTransparencyElement *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyElement_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyElement_getArrayPtr" "', argument " "1"" of type '" "SoTransparencyElement const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyElement * >(argp1); - result = (float *)((SoTransparencyElement const *)arg1)->getArrayPtr(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransparencyElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransparencyElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getClassTypeId",0,0)) SWIG_fail; - result = SoLightModelElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoLightModelElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoLightModelElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_initClass",0,0)) SWIG_fail; - SoLightModelElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModelElement *arg1 = (SoLightModelElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightModelElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_init" "', argument " "1"" of type '" "SoLightModelElement *""'"); - } - arg1 = reinterpret_cast< SoLightModelElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModelElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoLightModelElement::Model arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoLightModelElement_set" "', argument " "2"" of type '" "SoLightModelElement::Model""'"); - } - arg2 = static_cast< SoLightModelElement::Model >(val2); - SoLightModelElement::set(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoLightModelElement::Model arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLightModelElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoLightModelElement_set" "', argument " "3"" of type '" "SoLightModelElement::Model""'"); - } - arg3 = static_cast< SoLightModelElement::Model >(val3); - SoLightModelElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLightModelElement_set__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoLightModelElement_set__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoLightModelElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoLightModelElement::Model const)\n"" SoLightModelElement::set(SoState *const,SoNode *const,SoLightModelElement::Model const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoLightModelElement::Model result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLightModelElement::Model)SoLightModelElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightModelElement::Model result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getDefault",0,0)) SWIG_fail; - result = (SoLightModelElement::Model)SoLightModelElement::getDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightModelElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoLightModelElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightModelElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightModelElement_getInstance" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoLightModelElement *)SoLightModelElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightModelElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightModelElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightModelElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoMultiTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_init" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_setDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_setDefault" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureCoordinateElement::setDefault(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_setFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTextureCoordinateFunctionCB *arg4 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg5 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_setFunction",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "4"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_setFunction" "', argument " "5"" of type '" "void *const""'"); - } - SoMultiTextureCoordinateElement::setFunction(arg1,arg2,arg3,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec2f *arg5 = (SbVec2f *) (SbVec2f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set2",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set2" "', argument " "5"" of type '" "SbVec2f const *const""'"); - } - arg5 = reinterpret_cast< SbVec2f * >(argp5); - SoMultiTextureCoordinateElement::set2(arg1,arg2,arg3,arg4,(SbVec2f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec3f *arg5 = (SbVec3f *) (SbVec3f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set3",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set3" "', argument " "5"" of type '" "SbVec3f const *const""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - SoMultiTextureCoordinateElement::set3(arg1,arg2,arg3,arg4,(SbVec3f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_set4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - int32_t arg4 ; - SbVec4f *arg5 = (SbVec4f *) (SbVec4f *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_set4",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "4"" of type '" "int32_t""'"); - } - arg4 = static_cast< int32_t >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureCoordinateElement_set4" "', argument " "5"" of type '" "SbVec4f const *const""'"); - } - arg5 = reinterpret_cast< SbVec4f * >(argp5); - SoMultiTextureCoordinateElement::set4(arg1,arg2,arg3,arg4,(SbVec4f const *)arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)SoMultiTextureCoordinateElement::getType(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)((SoMultiTextureCoordinateElement const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getType(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMultiTextureCoordinateElement_getType__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMultiTextureCoordinateElement_getType__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureCoordinateElement_getType'.\n Possible C/C++ prototypes are:\n"" getType(SoState *const,int const)\n"" getType(SoMultiTextureCoordinateElement const *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoMultiTextureCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoMultiTextureCoordinateElement *)SoMultiTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureCoordinateElement_get" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - { - SbVec4f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get(arg2,(SbVec3f const &)*arg3,(SbVec3f const &)*arg4); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getNum" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int32_t)((SoMultiTextureCoordinateElement const *)arg1)->getNum(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_is2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_is2D",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_is2D" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_is2D" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoMultiTextureCoordinateElement const *)arg1)->is2D(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getDimension",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getDimension" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getDimension" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int32_t)((SoMultiTextureCoordinateElement const *)arg1)->getDimension(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get2",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get2" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec2f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get2(arg2,arg3); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get3",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec3f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get3(arg2,arg3); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_get4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_get4",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureCoordinateElement_get4" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - SbVec4f const &_result_ref = ((SoMultiTextureCoordinateElement const *)arg1)->get4(arg2,arg3); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr2",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr2" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr2" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec2f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr2(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr3",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr3" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr3(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_getArrayPtr4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_getArrayPtr4",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr4" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureCoordinateElement_getArrayPtr4" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec4f *)((SoMultiTextureCoordinateElement const *)arg1)->getArrayPtr4(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_push" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_matches" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureCoordinateElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureCoordinateElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureCoordinateElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureCoordinateElement *arg1 = (SoMultiTextureCoordinateElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureCoordinateElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureCoordinateElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureCoordinateElement * >(argp1); - result = (SoElement *)((SoMultiTextureCoordinateElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureCoordinateElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureCoordinateElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureCoordinateElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureCoordinateElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_init" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_push" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureCoordinateElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg6 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *arg7 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - int res7 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - res7 = SWIG_ConvertPtr(obj6,SWIG_as_voidptrptr(&arg7), 0, 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "7"" of type '" "void *const""'"); - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - SoTextureCoordinateFunctionCB *arg6 = (SoTextureCoordinateFunctionCB *) (SoTextureCoordinateFunctionCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "6"" of type '" "SoTextureCoordinateFunctionCB *const""'"); - } - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5,(SbVec4f const &(*)(void *,SbVec3f const &,SbVec3f const &))*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *arg5 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "5"" of type '" "void *const""'"); - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTexCoordTexgenCB *arg4 = (SoTexCoordTexgenCB *) (SoTexCoordTexgenCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_setTexGen",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLMultiTextureCoordinateElement_setTexGen" "', argument " "4"" of type '" "SoTexCoordTexgenCB *const""'"); - } - } - SoGLMultiTextureCoordinateElement::setTexGen(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_setTexGen(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_3(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_2(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[5], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[5], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[6], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_setTexGen__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLMultiTextureCoordinateElement_setTexGen'.\n Possible C/C++ prototypes are:\n"" setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const,void *const)\n"" setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const,SoTextureCoordinateFunctionCB *const)\n"" setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const,void *const)\n"" SoGLMultiTextureCoordinateElement::setTexGen(SoState *const,SoNode *const,int const,SoTexCoordTexgenCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - SoTextureCoordinateElement::CoordType result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_getType" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureCoordinateElement::CoordType)((SoGLMultiTextureCoordinateElement const *)arg1)->getType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoGLMultiTextureCoordinateElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_getInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_getInstance" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SoGLMultiTextureCoordinateElement *)SoGLMultiTextureCoordinateElement::getInstance(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_send",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ((SoGLMultiTextureCoordinateElement const *)arg1)->send(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - int arg2 ; - int arg3 ; - SbVec3f *arg4 = 0 ; - SbVec3f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_send",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "4"" of type '" "SbVec3f const &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureCoordinateElement_send" "', argument " "5"" of type '" "SbVec3f const &""'"); - } - arg5 = reinterpret_cast< SbVec3f * >(argp5); - ((SoGLMultiTextureCoordinateElement const *)arg1)->send(arg2,arg3,(SbVec3f const &)*arg4,(SbVec3f const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_send(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_send__SWIG_0(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLMultiTextureCoordinateElement_send__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLMultiTextureCoordinateElement_send'.\n Possible C/C++ prototypes are:\n"" send(SoGLMultiTextureCoordinateElement const *,int const,int const)\n"" send(SoGLMultiTextureCoordinateElement const *,int const,int const,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureCoordinateElement_initRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureCoordinateElement *arg1 = (SoGLMultiTextureCoordinateElement *) 0 ; - SbBool *arg2 = (SbBool *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureCoordinateElement_initRender",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureCoordinateElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "1"" of type '" "SoGLMultiTextureCoordinateElement const *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureCoordinateElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "2"" of type '" "SbBool const *""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureCoordinateElement_initRender" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ((SoGLMultiTextureCoordinateElement const *)arg1)->initRender((SbBool const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureCoordinateElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureCoordinateElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoMultiTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_init" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_set",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMultiTextureEnabledElement_set" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoMultiTextureEnabledElement::set(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureEnabledElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMultiTextureEnabledElement::get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_setElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureEnabledElement_setElt" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_push" "', argument " "1"" of type '" "SoMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_matches" "', argument " "1"" of type '" "SoMultiTextureEnabledElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureEnabledElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureEnabledElement *arg1 = (SoMultiTextureEnabledElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureEnabledElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureEnabledElement * >(argp1); - result = (SoElement *)((SoMultiTextureEnabledElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureEnabledElement_getEnabledUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int *arg2 = 0 ; - SbBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureEnabledElement_getEnabledUnits",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureEnabledElement_getEnabledUnits" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (SbBool *)SoMultiTextureEnabledElement::getEnabledUnits(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureEnabledElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureEnabledElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureEnabledElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureEnabledElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_init" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_push" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureEnabledElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureEnabledElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureEnabledElement *arg1 = (SoGLMultiTextureEnabledElement *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureEnabledElement_setElt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureEnabledElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "1"" of type '" "SoGLMultiTextureEnabledElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureEnabledElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureEnabledElement_setElt" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setElt(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureEnabledElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureEnabledElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_initClass",0,0)) SWIG_fail; - SoMultiTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_init" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setDefault",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setDefault" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureImageElement::setDefault(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbVec2s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_set",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_set" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_set" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - SoMultiTextureImageElement::set(arg1,arg2,arg3,(SbVec2s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbVec3s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Wrap arg9 ; - SoTextureImageElement::Model arg10 ; - SbColor *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_set",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - arg4 = reinterpret_cast< SbVec3s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_set" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_set" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_set" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_set" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_set" "', argument " "9"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg9 = static_cast< SoTextureImageElement::Wrap >(val9); - ecode10 = SWIG_AsVal_int(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMultiTextureImageElement_set" "', argument " "10"" of type '" "SoTextureImageElement::Model""'"); - } - arg10 = static_cast< SoTextureImageElement::Model >(val10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoMultiTextureImageElement_set" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_set" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - SoMultiTextureImageElement::set(arg1,arg2,arg3,(SbVec3s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,arg10,(SbColor const &)*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_set(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[12]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 11); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_set__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 11) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_set__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_set'.\n Possible C/C++ prototypes are:\n"" set(SoState *const,SoNode *const,int const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"" SoMultiTextureImageElement::set(SoState *const,SoNode *const,int const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - int *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Model *arg7 = 0 ; - SbColor *arg8 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_get",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Model &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Model * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SbColor &""'"); - } - arg8 = reinterpret_cast< SbColor * >(argp8); - result = (unsigned char *)SoMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec3s *arg3 = 0 ; - int *arg4 = 0 ; - SoTextureImageElement::Wrap *arg5 = 0 ; - SoTextureImageElement::Wrap *arg6 = 0 ; - SoTextureImageElement::Wrap *arg7 = 0 ; - SoTextureImageElement::Model *arg8 = 0 ; - SbColor *arg9 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_get",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "5"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg5 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "6"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg6 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_SoTextureImageElement__Wrap, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Wrap &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "7"" of type '" "SoTextureImageElement::Wrap &""'"); - } - arg7 = reinterpret_cast< SoTextureImageElement::Wrap * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "8"" of type '" "SoTextureImageElement::Model &""'"); - } - arg8 = reinterpret_cast< SoTextureImageElement::Model * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoMultiTextureImageElement_get" "', argument " "9"" of type '" "SbColor &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_get" "', argument " "9"" of type '" "SbColor &""'"); - } - arg9 = reinterpret_cast< SbColor * >(argp9); - result = (unsigned char *)SoMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8,*arg9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_get(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[10]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 9); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_get__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoTextureImageElement__Wrap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoTextureImageElement__Model, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_get__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_get'.\n Possible C/C++ prototypes are:\n"" get(SoState *const,int const,SbVec2s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n"" SoMultiTextureImageElement::get(SoState *const,int const,SbVec3s &,int &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Wrap &,SoTextureImageElement::Model &,SbColor &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec2s *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getImage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - result = (unsigned char *)SoMultiTextureImageElement::getImage(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbVec3s *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getImage",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - result = (unsigned char *)SoMultiTextureImageElement::getImage(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getImage__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getImage__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_getImage'.\n Possible C/C++ prototypes are:\n"" getImage(SoState *const,int const,SbVec2s &,int &)\n"" SoMultiTextureImageElement::getImage(SoState *const,int const,SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getBlendColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getBlendColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getBlendColor" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getBlendColor" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoMultiTextureImageElement::getBlendColor(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureImageElement::Model result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getModel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getModel" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getModel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Model)SoMultiTextureImageElement::getModel(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapS",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapS" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapS" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapS(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapT",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapT" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapT" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapT(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureImageElement::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getWrapR",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getWrapR" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_getWrapR" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoTextureImageElement::Wrap)SoMultiTextureImageElement::getWrapR(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_containsTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_containsTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_containsTransparency" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (SbBool)SoMultiTextureImageElement::containsTransparency(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - int *arg2 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec2s &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoMultiTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - int *arg2 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_getDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "1"" of type '" "SbVec3s &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_getDefault" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - result = (unsigned char *)SoMultiTextureImageElement::getDefault(*arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_getDefault(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getDefault__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_getDefault__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_getDefault'.\n Possible C/C++ prototypes are:\n"" getDefault(SbVec2s &,int &)\n"" SoMultiTextureImageElement::getDefault(SbVec3s &,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_push" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_matches" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureImageElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoMultiTextureImageElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_copyMatchInfo" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - result = (SoElement *)((SoMultiTextureImageElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SbVec2s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Model arg9 ; - SbColor *arg10 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setElt",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec2s const &""'"); - } - arg4 = reinterpret_cast< SbVec2s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "9"" of type '" "SoTextureImageElement::Model""'"); - } - arg9 = static_cast< SoTextureImageElement::Model >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SbColor const &""'"); - } - arg10 = reinterpret_cast< SbColor * >(argp10); - (arg1)->setElt(arg2,arg3,(SbVec2s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,(SbColor const &)*arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SbVec3s *arg4 = 0 ; - int arg5 ; - unsigned char *arg6 = (unsigned char *) 0 ; - SoTextureImageElement::Wrap arg7 ; - SoTextureImageElement::Wrap arg8 ; - SoTextureImageElement::Wrap arg9 ; - SoTextureImageElement::Model arg10 ; - SbColor *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - int val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - int val10 ; - int ecode10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_setElt",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "1"" of type '" "SoMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "4"" of type '" "SbVec3s const &""'"); - } - arg4 = reinterpret_cast< SbVec3s * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "6"" of type '" "unsigned char const *""'"); - } - arg6 = reinterpret_cast< unsigned char * >(argp6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "7"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg7 = static_cast< SoTextureImageElement::Wrap >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "8"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg8 = static_cast< SoTextureImageElement::Wrap >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "9"" of type '" "SoTextureImageElement::Wrap""'"); - } - arg9 = static_cast< SoTextureImageElement::Wrap >(val9); - ecode10 = SWIG_AsVal_int(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "10"" of type '" "SoTextureImageElement::Model""'"); - } - arg10 = static_cast< SoTextureImageElement::Model >(val10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoMultiTextureImageElement_setElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMultiTextureImageElement_setElt" "', argument " "11"" of type '" "SbColor const &""'"); - } - arg11 = reinterpret_cast< SbColor * >(argp11); - (arg1)->setElt(arg2,arg3,(SbVec3s const &)*arg4,arg5,(unsigned char const *)arg6,arg7,arg8,arg9,arg10,(SbColor const &)*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_setElt(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[12]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 11); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureImageElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_setElt__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - } - if (argc == 11) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMultiTextureImageElement, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMultiTextureImageElement_setElt__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMultiTextureImageElement_setElt'.\n Possible C/C++ prototypes are:\n"" setElt(SoMultiTextureImageElement *,int const,uint32_t const,SbVec2s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"" setElt(SoMultiTextureImageElement *,int const,uint32_t const,SbVec3s const &,int const,unsigned char const *,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Wrap const,SoTextureImageElement::Model const,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureImageElement_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureImageElement *arg1 = (SoMultiTextureImageElement *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureImageElement_hasTransparency",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureImageElement_hasTransparency" "', argument " "1"" of type '" "SoMultiTextureImageElement const *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureImageElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureImageElement_hasTransparency" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)((SoMultiTextureImageElement const *)arg1)->hasTransparency(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureImageElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureImageElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureImageElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureImageElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_init" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_push" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureImageElement *arg1 = (SoGLMultiTextureImageElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureImageElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureImageElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureImageElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureImageElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoGLImage *arg4 = (SoGLImage *) 0 ; - SoTextureImageElement::Model arg5 ; - SbColor *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_set",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "4"" of type '" "SoGLImage *""'"); - } - arg4 = reinterpret_cast< SoGLImage * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "5"" of type '" "SoTextureImageElement::Model""'"); - } - arg5 = static_cast< SoTextureImageElement::Model >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoGLMultiTextureImageElement_set" "', argument " "6"" of type '" "SbColor const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_set" "', argument " "6"" of type '" "SbColor const &""'"); - } - arg6 = reinterpret_cast< SbColor * >(argp6); - SoGLMultiTextureImageElement::set(arg1,arg2,arg3,arg4,arg5,(SbColor const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_restore",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_restore" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureImageElement_restore" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoGLMultiTextureImageElement::restore(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureImageElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - SoTextureImageElement::Model *arg3 = 0 ; - SbColor *arg4 = 0 ; - SoGLImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureImageElement_get",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoTextureImageElement__Model, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "3"" of type '" "SoTextureImageElement::Model &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_get" "', argument " "3"" of type '" "SoTextureImageElement::Model &""'"); - } - arg3 = reinterpret_cast< SoTextureImageElement::Model * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLMultiTextureImageElement_get" "', argument " "4"" of type '" "SbColor &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLMultiTextureImageElement_get" "', argument " "4"" of type '" "SbColor &""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - result = (SoGLImage *)SoGLMultiTextureImageElement::get(arg1,arg2,*arg3,*arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureImageElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureImageElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoMultiTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoMultiTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoMultiTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoMultiTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureMatrixElement *arg1 = (SoMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_init" "', argument " "1"" of type '" "SoMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultiTextureMatrixElement *arg1 = (SoMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_push" "', argument " "1"" of type '" "SoMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_mult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SbMatrix *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - { - arg4 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_mult",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMultiTextureMatrixElement_mult" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMultiTextureMatrixElement::mult(arg1,arg2,arg3,(SbMatrix const &)*arg4); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg4, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultiTextureMatrixElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultiTextureMatrixElement_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultiTextureMatrixElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMultiTextureMatrixElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoMultiTextureMatrixElement::get(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultiTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultiTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_getClassTypeId",0,0)) SWIG_fail; - result = SoGLMultiTextureMatrixElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoGLMultiTextureMatrixElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoGLMultiTextureMatrixElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_initClass",0,0)) SWIG_fail; - SoGLMultiTextureMatrixElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_init" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_push" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoElement *arg3 = (SoElement *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_pop",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLMultiTextureMatrixElement_pop" "', argument " "3"" of type '" "SoElement const *""'"); - } - arg3 = reinterpret_cast< SoElement * >(argp3); - (arg1)->pop(arg2,(SoElement const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLMultiTextureMatrixElement_multElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLMultiTextureMatrixElement *arg1 = (SoGLMultiTextureMatrixElement *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg3 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoGLMultiTextureMatrixElement_multElt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLMultiTextureMatrixElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLMultiTextureMatrixElement_multElt" "', argument " "1"" of type '" "SoGLMultiTextureMatrixElement *""'"); - } - arg1 = reinterpret_cast< SoGLMultiTextureMatrixElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLMultiTextureMatrixElement_multElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->multElt(arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg3, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLMultiTextureMatrixElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLMultiTextureMatrixElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",0,0)) SWIG_fail; - result = (SbColor4f *)new SbColor4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - float arg2 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbColor const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbColor const &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbColor4f *)new SbColor4f((SbColor const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4f *arg1 = 0 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbColor4f" "', argument " "1"" of type '" "SbVec4f const &""'"); - } - arg1 = reinterpret_cast< SbVec4f * >(argp1); - result = (SbColor4f *)new SbColor4f((SbVec4f const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) (float *)0 ; - SbColor4f *result = 0 ; - float temp1[4] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4f_array(obj0, temp1); - arg1 = temp1; - } - result = (SbColor4f *)new SbColor4f((float const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbColor4f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbColor4f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbColor4f *)new SbColor4f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - SbColor4f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbColor4f",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbColor4f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbColor4f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbColor4f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - result = (SbColor4f *)new SbColor4f(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbColor4f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbColor4f__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbColor4f__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_5(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbColor4f__SWIG_4(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbColor4f'.\n Possible C/C++ prototypes are:\n"" SbColor4f()\n"" SbColor4f(SbColor const &,float const)\n"" SbColor4f(SbVec4f const &)\n"" SbColor4f(float const *const)\n"" SbColor4f(float const,float const,float const,float const)\n"" SbColor4f(float const,float const,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbColor4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor4f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbColor4f *,float const,float const,float const,float const)\n"" setValue(SbColor4f *,float const,float const,float const)\n"" setValue(SbColor4f *,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - float temp5 ; - int res5 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - arg5 = &temp5; - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - (arg1)->getValue(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res5)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg5))); - } else { - int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor *arg2 = 0 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setRGB" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f_setRGB" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f_setRGB" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - { - SbColor4f &_result_ref = (arg1)->setRGB((SbColor const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getRGB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getRGB" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f_getRGB" "', argument " "2"" of type '" "SbColor &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f_getRGB" "', argument " "2"" of type '" "SbColor &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->getRGB(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbColor4f_setHSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - { - SbColor4f &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4,arg5); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbColor4f_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - { - SbColor4f &_result_ref = (arg1)->setHSVValue(arg2,arg3,arg4); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - float arg3 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbColor4f_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - SbColor4f &_result_ref = (arg1)->setHSVValue((float const (*))arg2,arg3); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setHSVValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - { - SbColor4f &_result_ref = (arg1)->setHSVValue((float const (*))arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbColor4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbColor4f_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbColor4f_setHSVValue'.\n Possible C/C++ prototypes are:\n"" setHSVValue(SbColor4f *,float,float,float,float)\n"" setHSVValue(SbColor4f *,float,float,float)\n"" setHSVValue(SbColor4f *,float const [3],float)\n"" setHSVValue(SbColor4f *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getHSVValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - float temp4 ; - int res4 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - arg4 = &temp4; - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getHSVValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getHSVValue" "', argument " "1"" of type '" "SbColor4f const *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ((SbColor4f const *)arg1)->getHSVValue(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg4))); - } else { - int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_setPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - uint32_t arg2 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_setPackedValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_setPackedValue" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f_setPackedValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - { - SbColor4f &_result_ref = (arg1)->setPackedValue(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f_getPackedValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f_getPackedValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f_getPackedValue" "', argument " "1"" of type '" "SbColor4f const *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - result = (uint32_t)((SbColor4f const *)arg1)->getPackedValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___imul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___imul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbColor4f &_result_ref = (arg1)->operator *=(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___idiv__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___idiv__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - { - SbColor4f &_result_ref = (arg1)->operator /=(arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___iadd__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___iadd__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___iadd__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - { - SbColor4f &_result_ref = (arg1)->operator +=((SbColor4f const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - SbColor4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___isub__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___isub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___isub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - { - SbColor4f &_result_ref = (arg1)->operator -=((SbColor4f const &)*arg2); - result = (SbColor4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - SbColor4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___add__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___add__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___add__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = SbColor4f___add__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - SbColor4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___sub__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___sub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___sub__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = SbColor4f___sub__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - SbColor4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___mul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - SbColor4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___rmul__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - float arg2 ; - SbColor4f result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___div__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbColor4f___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbColor4f(static_cast< const SbColor4f& >(result))), SWIGTYPE_p_SbColor4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___eq__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___eq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___eq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = (int)SbColor4f___eq__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - SbColor4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___nq__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbColor4f___nq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbColor4f___nq__" "', argument " "2"" of type '" "SbColor4f const &""'"); - } - arg2 = reinterpret_cast< SbColor4f * >(argp2); - result = (int)SbColor4f___nq__(arg1,(SbColor4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbColor4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbColor4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbColor4f___getitem__" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbColor4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SbColor4f___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbColor4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor4f *arg1 = (SbColor4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbColor4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbColor4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbColor4f" "', argument " "1"" of type '" "SbColor4f *""'"); - } - arg1 = reinterpret_cast< SbColor4f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbColor4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbColor4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCombineElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureCombineElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureCombineElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_initClass",0,0)) SWIG_fail; - SoTextureCombineElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_init" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - SoTextureCombineElement::Operation arg4 ; - SoTextureCombineElement::Operation arg5 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg7 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg9 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg10 = 0 ; - float arg11 ; - float arg12 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_set",12,12,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCombineElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCombineElement_set" "', argument " "4"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg4 = static_cast< SoTextureCombineElement::Operation >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoTextureCombineElement_set" "', argument " "5"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg5 = static_cast< SoTextureCombineElement::Operation >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_set" "', argument " "6"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_set" "', argument " "7"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Source * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_set" "', argument " "8"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_set" "', argument " "9"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg9 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_set" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_set" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - arg10 = reinterpret_cast< SbColor4f * >(argp10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoTextureCombineElement_set" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoTextureCombineElement_set" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - SoTextureCombineElement::set(arg1,arg2,arg3,arg4,arg5,(enum SoTextureCombineElement::Source const *)arg6,(enum SoTextureCombineElement::Source const *)arg7,(enum SoTextureCombineElement::Operand const *)arg8,(enum SoTextureCombineElement::Operand const *)arg9,(SbColor4f const &)*arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_isDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_isDefault" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_isDefault" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoTextureCombineElement::isDefault(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - int arg2 ; - SoTextureCombineElement::Operation *arg3 = 0 ; - SoTextureCombineElement::Operation *arg4 = 0 ; - SoTextureCombineElement::Source *arg5 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg7 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg9 = 0 ; - float *arg10 = 0 ; - float *arg11 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_get",11,11,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_get" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoTextureCombineElement__Operation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTextureCombineElement_get" "', argument " "3"" of type '" "SoTextureCombineElement::Operation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "3"" of type '" "SoTextureCombineElement::Operation &""'"); - } - arg3 = reinterpret_cast< SoTextureCombineElement::Operation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SoTextureCombineElement__Operation, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTextureCombineElement_get" "', argument " "4"" of type '" "SoTextureCombineElement::Operation &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "4"" of type '" "SoTextureCombineElement::Operation &""'"); - } - arg4 = reinterpret_cast< SoTextureCombineElement::Operation * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoTextureCombineElement_get" "', argument " "5"" of type '" "SoTextureCombineElement::Source *""'"); - } - arg5 = reinterpret_cast< SoTextureCombineElement::Source * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_get" "', argument " "6"" of type '" "SoTextureCombineElement::Source *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_get" "', argument " "7"" of type '" "SoTextureCombineElement::Operand *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_get" "', argument " "8"" of type '" "SoTextureCombineElement::Operand *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_SbColor4f, 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_get" "', argument " "9"" of type '" "SbColor4f &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "9"" of type '" "SbColor4f &""'"); - } - arg9 = reinterpret_cast< SbColor4f * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_get" "', argument " "10"" of type '" "float &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "10"" of type '" "float &""'"); - } - arg10 = reinterpret_cast< float * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SoTextureCombineElement_get" "', argument " "11"" of type '" "float &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_get" "', argument " "11"" of type '" "float &""'"); - } - arg11 = reinterpret_cast< float * >(argp11); - SoTextureCombineElement::get(arg1,arg2,*arg3,*arg4,arg5,arg6,arg7,arg8,*arg9,*arg10,*arg11); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_push",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_push" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_push" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->push(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_matches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoElement *arg2 = (SoElement *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_matches",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_matches" "', argument " "1"" of type '" "SoTextureCombineElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoElement, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombineElement_matches" "', argument " "2"" of type '" "SoElement const *""'"); - } - arg2 = reinterpret_cast< SoElement * >(argp2); - result = (SbBool)((SoTextureCombineElement const *)arg1)->matches((SoElement const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_copyMatchInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - SoElement *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_copyMatchInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_copyMatchInfo" "', argument " "1"" of type '" "SoTextureCombineElement const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - result = (SoElement *)((SoTextureCombineElement const *)arg1)->copyMatchInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElement, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_setElt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombineElement *arg1 = (SoTextureCombineElement *) 0 ; - int arg2 ; - uint32_t arg3 ; - SoTextureCombineElement::Operation arg4 ; - SoTextureCombineElement::Operation arg5 ; - SoTextureCombineElement::Source *arg6 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Source *arg7 = (SoTextureCombineElement::Source *) 0 ; - SoTextureCombineElement::Operand *arg8 = (SoTextureCombineElement::Operand *) 0 ; - SoTextureCombineElement::Operand *arg9 = (SoTextureCombineElement::Operand *) 0 ; - SbColor4f *arg10 = 0 ; - float arg11 ; - float arg12 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_setElt",12,12,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombineElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_setElt" "', argument " "1"" of type '" "SoTextureCombineElement *""'"); - } - arg1 = reinterpret_cast< SoTextureCombineElement * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_setElt" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureCombineElement_setElt" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTextureCombineElement_setElt" "', argument " "4"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg4 = static_cast< SoTextureCombineElement::Operation >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoTextureCombineElement_setElt" "', argument " "5"" of type '" "SoTextureCombineElement::Operation""'"); - } - arg5 = static_cast< SoTextureCombineElement::Operation >(val5); - res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoTextureCombineElement_setElt" "', argument " "6"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg6 = reinterpret_cast< SoTextureCombineElement::Source * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoTextureCombineElement__Source, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoTextureCombineElement_setElt" "', argument " "7"" of type '" "SoTextureCombineElement::Source const *""'"); - } - arg7 = reinterpret_cast< SoTextureCombineElement::Source * >(argp7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoTextureCombineElement_setElt" "', argument " "8"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg8 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoTextureCombineElement__Operand, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoTextureCombineElement_setElt" "', argument " "9"" of type '" "SoTextureCombineElement::Operand const *""'"); - } - arg9 = reinterpret_cast< SoTextureCombineElement::Operand * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_SbColor4f, 0 | 0); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoTextureCombineElement_setElt" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTextureCombineElement_setElt" "', argument " "10"" of type '" "SbColor4f const &""'"); - } - arg10 = reinterpret_cast< SbColor4f * >(argp10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoTextureCombineElement_setElt" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoTextureCombineElement_setElt" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - (arg1)->setElt(arg2,arg3,arg4,arg5,(SoTextureCombineElement::Source const *)arg6,(SoTextureCombineElement::Source const *)arg7,(SoTextureCombineElement::Operand const *)arg8,(SoTextureCombineElement::Operand const *)arg9,(SbColor4f const &)*arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombineElement_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombineElement_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombineElement_apply" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTextureCombineElement_apply" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - SoTextureCombineElement::apply(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCombineElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCombineElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureUnitElement::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_getClassStackIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_getClassStackIndex",0,0)) SWIG_fail; - result = (int)SoTextureUnitElement::getClassStackIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_createInstance",0,0)) SWIG_fail; - result = (void *)SoTextureUnitElement::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_initClass",0,0)) SWIG_fail; - SoTextureUnitElement::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnitElement *arg1 = (SoTextureUnitElement *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnitElement, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_init" "', argument " "1"" of type '" "SoTextureUnitElement *""'"); - } - arg1 = reinterpret_cast< SoTextureUnitElement * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnitElement_init" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->init(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) (SoState *)0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_set" "', argument " "1"" of type '" "SoState *const""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnitElement_set" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTextureUnitElement_set" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoTextureUnitElement::set(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnitElement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnitElement_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnitElement_get" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - result = (int)SoTextureUnitElement::get(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureUnitElement_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureUnitElement, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_initClass",0,0)) SWIG_fail; - SoEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_initClasses",0,0)) SWIG_fail; - SoEngine::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_evaluateWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_evaluateWrapper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_evaluateWrapper" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - (arg1)->evaluateWrapper(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngineOutputList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputs" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineOutputList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - arg2 = reinterpret_cast< SoEngineOutputList * >(argp2); - result = (int)((SoEngine const *)arg1)->getOutputs(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SbName *arg2 = 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutput" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoEngineOutput *)((SoEngine const *)arg1)->getOutput((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputName" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getOutputName" "', argument " "2"" of type '" "SoEngineOutput const *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoEngine const *)arg1)->getOutputName((SoEngineOutput const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_getOutputData" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoEngineOutputData *)((SoEngine const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoEngine *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getByName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoEngine *)SoEngine::getByName((SbName const &)*arg1); - { - resultobj = autocast_base(result); - } - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoEngineList *arg2 = 0 ; - int result; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_getByName",2,2,&obj0,&obj1)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_getByName" "', argument " "2"" of type '" "SoEngineList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngine_getByName" "', argument " "2"" of type '" "SoEngineList &""'"); - } - arg2 = reinterpret_cast< SoEngineList * >(argp2); - result = (int)SoEngine::getByName((SbName const &)*arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_getByName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoEngine_getByName__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngine_getByName__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngine_getByName'.\n Possible C/C++ prototypes are:\n"" getByName(SbName const &)\n"" SoEngine::getByName(SbName const &,SoEngineList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_isNotifying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_isNotifying" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SbBool)((SoEngine const *)arg1)->isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_notify" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_copy" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoEngine *)((SoEngine const *)arg1)->copy(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_copyThroughConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_copyThroughConnection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_copyThroughConnection" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SoFieldContainer *)((SoEngine const *)arg1)->copyThroughConnection(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_shouldCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_shouldCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_shouldCopy" "', argument " "1"" of type '" "SoEngine const *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = (SbBool)((SoEngine const *)arg1)->shouldCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngine_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngine_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngine_writeInstance" "', argument " "1"" of type '" "SoEngine *""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngine_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutput",0,0)) SWIG_fail; - result = (SoEngineOutput *)new SoEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutput" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getConnectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getConnectionType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getConnectionType" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = ((SoEngineOutput const *)arg1)->getConnectionType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getForwardConnections" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutput_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoEngineOutput const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_enable",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_enable" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutput_enable" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enable(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_isEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_isEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_isEnabled" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SbBool)((SoEngineOutput const *)arg1)->isEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getContainer" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoEngine *)((SoEngineOutput const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getNodeContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoNodeEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getNodeContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getNodeContainer" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoNodeEngine *)((SoEngineOutput const *)arg1)->getNodeContainer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_isNodeEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_isNodeEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_isNodeEngineOutput" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SbBool)((SoEngineOutput const *)arg1)->isNodeEngineOutput(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_setContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_setContainer" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_setNodeContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_setNodeContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_setNodeContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_setNodeContainer" "', argument " "2"" of type '" "SoNodeEngine *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - (arg1)->setNodeContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_addConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_addConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_addConnection" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_addConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->addConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_removeConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_removeConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_removeConnection" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_removeConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->removeConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getNumConnections" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (int)((SoEngineOutput const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_prepareToWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_prepareToWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_prepareToWrite" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ((SoEngineOutput const *)arg1)->prepareToWrite(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_doneWriting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_doneWriting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_doneWriting" "', argument " "1"" of type '" "SoEngineOutput const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - ((SoEngineOutput const *)arg1)->doneWriting(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_touchSlaves(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_touchSlaves",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_touchSlaves" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutput_touchSlaves" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutput_touchSlaves" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->touchSlaves(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutput_getFieldContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutput *arg1 = (SoEngineOutput *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutput_getFieldContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutput_getFieldContainer" "', argument " "1"" of type '" "SoEngineOutput *""'"); - } - arg1 = reinterpret_cast< SoEngineOutput * >(argp1); - result = (SoFieldContainer *)(arg1)->getFieldContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutput_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutput, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",0,0)) SWIG_fail; - result = (SoEngineOutputData *)new SoEngineOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoEngineOutputData" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - result = (SoEngineOutputData *)new SoEngineOutputData((SoEngineOutputData const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoEngineOutputData *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoEngineOutputData" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoEngineOutputData *)new SoEngineOutputData(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEngineOutputData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoEngineOutputData__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoEngineOutputData__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoEngineOutputData__SWIG_2(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoEngineOutputData'.\n Possible C/C++ prototypes are:\n"" SoEngineOutputData()\n"" SoEngineOutputData(SoEngineOutputData const *)\n"" SoEngineOutputData(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEngineOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEngineOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEngineOutputData" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - char *arg3 = (char *) 0 ; - SoEngineOutput *arg4 = (SoEngineOutput *) 0 ; - SoType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_addOutput",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_addOutput" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_addOutput" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_addOutput" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEngineOutputData_addOutput" "', argument " "4"" of type '" "SoEngineOutput const *""'"); - } - arg4 = reinterpret_cast< SoEngineOutput * >(argp4); - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->addOutput((SoEngine const *)arg2,(char const *)arg3,(SoEngineOutput const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - char *arg3 = (char *) 0 ; - SoEngineOutput *arg4 = (SoEngineOutput *) 0 ; - SoType arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_addOutput",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_addOutput" "', argument " "1"" of type '" "SoEngineOutputData *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_addOutput" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_addOutput" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEngineOutputData_addOutput" "', argument " "4"" of type '" "SoEngineOutput const *""'"); - } - arg4 = reinterpret_cast< SoEngineOutput * >(argp4); - { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEngineOutputData_addOutput" "', argument " "5"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp5); - arg5 = *temp; - if (SWIG_IsNewObj(res5)) delete temp; - } - } - (arg1)->addOutput((SoNodeEngine const *)arg2,(char const *)arg3,(SoEngineOutput const *)arg4,arg5); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_addOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_addOutput__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_addOutput__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_addOutput'.\n Possible C/C++ prototypes are:\n"" addOutput(SoEngineOutputData *,SoEngine const *,char const *,SoEngineOutput const *,SoType)\n"" addOutput(SoEngineOutputData *,SoNodeEngine const *,char const *,SoEngineOutput const *,SoType)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getNumOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getNumOutputs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getNumOutputs" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - result = (int)((SoEngineOutputData const *)arg1)->getNumOutputs(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - int arg2 ; - SbName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutputName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutputName" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputData_getOutputName" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbName const &_result_ref = ((SoEngineOutputData const *)arg1)->getOutputName(arg2); - result = (SbName *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - int arg3 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutput",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutput" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getOutput" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputData_getOutput" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngineOutput *)((SoEngineOutputData const *)arg1)->getOutput((SoEngine const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - int arg3 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getOutput",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getOutput" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getOutput" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoEngineOutputData_getOutput" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngineOutput *)((SoEngineOutputData const *)arg1)->getOutput((SoNodeEngine const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getOutput(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEngineOutputData_getOutput__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoEngineOutputData_getOutput__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_getOutput'.\n Possible C/C++ prototypes are:\n"" getOutput(SoEngineOutputData const *,SoEngine const *,int)\n"" getOutput(SoEngineOutputData const *,SoNodeEngine const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getIndex" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getIndex" "', argument " "2"" of type '" "SoEngine const *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_getIndex" "', argument " "3"" of type '" "SoEngineOutput const *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - result = (int)((SoEngineOutputData const *)arg1)->getIndex((SoEngine const *)arg2,(SoEngineOutput const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoNodeEngine *arg2 = (SoNodeEngine *) 0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getIndex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getIndex" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_getIndex" "', argument " "2"" of type '" "SoNodeEngine const *""'"); - } - arg2 = reinterpret_cast< SoNodeEngine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_getIndex" "', argument " "3"" of type '" "SoEngineOutput const *""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - result = (int)((SoEngineOutputData const *)arg1)->getIndex((SoNodeEngine const *)arg2,(SoEngineOutput const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getIndex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_getIndex__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngineOutputData, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNodeEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEngineOutputData_getIndex__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEngineOutputData_getIndex'.\n Possible C/C++ prototypes are:\n"" getIndex(SoEngineOutputData const *,SoEngine const *,SoEngineOutput const *)\n"" getIndex(SoEngineOutputData const *,SoNodeEngine const *,SoEngineOutput const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - int arg2 ; - SoType *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_getType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_getType" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEngineOutputData_getType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SoType const &_result_ref = ((SoEngineOutputData const *)arg1)->getType(arg2); - result = (SoType *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_readDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SoEngine *arg3 = (SoEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_readDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_readDescriptions" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - result = (SbBool)((SoEngineOutputData const *)arg1)->readDescriptions(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEngineOutputData_writeDescriptions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngineOutputData *arg1 = (SoEngineOutputData *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEngineOutputData_writeDescriptions",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "1"" of type '" "SoEngineOutputData const *""'"); - } - arg1 = reinterpret_cast< SoEngineOutputData * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoEngineOutputData_writeDescriptions" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - ((SoEngineOutputData const *)arg1)->writeDescriptions(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEngineOutputData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEngineOutputData, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFBool",0,0)) SWIG_fail; - result = (SoMFBool *)new SoMFBool(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFBool(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFBool",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFBool" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFBool::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getClassTypeId",0,0)) SWIG_fail; - result = SoMFBool::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getTypeId" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = ((SoMFBool const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_copyFrom" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_isSame" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_find" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_find" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_find" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_find" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFBool *,SbBool,SbBool)\n"" find(SoMFBool *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - int arg3 ; - SbBool *arg4 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - SbBool *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbBool const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_set1Value" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_set1Value" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValue" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValue" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___eq__" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool___eq__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool___eq__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->operator ==((SoMFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___ne__" "', argument " "1"" of type '" "SoMFBool const *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFBool, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool___ne__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBool___ne__" "', argument " "2"" of type '" "SoMFBool const &""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - result = (SbBool)((SoMFBool const *)arg1)->operator !=((SoMFBool const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SbBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_startEditing" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = (SbBool *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_finishEditing" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool *arg3 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - SbBool *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValuesPointer" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(SbBool const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool *arg3 = (SbBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - SbBool *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValuesPointer" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFBool_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFBool *,int const,SbBool const *)\n"" setValuesPointer(SoMFBool *,int const,SbBool *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_initClass",0,0)) SWIG_fail; - SoMFBool::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_setValue" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBool_setValue" "', argument " "2"" of type '" "SoMFBool const *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - SoMFBool_setValue__SWIG_1(arg1,(SoMFBool const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFBool *,SbBool)\n"" setValue(SoMFBool *,SoMFBool const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___getitem__" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMFBool___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool___setitem__" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFBool___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool___setitem__" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - SoMFBool___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFBool_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbBool *)SoMFBool___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBool *arg1 = (SoMFBool *) 0 ; - int *arg2 = 0 ; - SbBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFBool_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBool_getValues" "', argument " "1"" of type '" "SoMFBool *""'"); - } - arg1 = reinterpret_cast< SoMFBool * >(argp1); - result = (SbBool *)SoMFBool___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBool_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFBool_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFBool, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFBool_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFBool_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFBool *,int &,int)\n"" __getValuesHelper__(SoMFBool *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFBool_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFBool, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFEnum",0,0)) SWIG_fail; - result = (SoMFEnum *)new SoMFEnum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFEnum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFEnum" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFEnum::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getClassTypeId",0,0)) SWIG_fail; - result = SoMFEnum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getTypeId" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = ((SoMFEnum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_copyFrom" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_isSame" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_find" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_find" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFEnum *,int,SbBool)\n"" find(SoMFEnum *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - int *arg4 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int*)malloc(len*sizeof(int)); - convert_SoMFEnum_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(int const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_set1Value" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_set1Value" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___eq__" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum___eq__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum___eq__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->operator ==((SoMFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___ne__" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEnum, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum___ne__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEnum___ne__" "', argument " "2"" of type '" "SoMFEnum const &""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - result = (SbBool)((SoMFEnum const *)arg1)->operator !=((SoMFEnum const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_startEditing" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_finishEditing" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_initClass",0,0)) SWIG_fail; - SoMFEnum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SbName arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = SbName(PyString_AsString(obj1)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj1, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg2 = *namePtr; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbName arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_set1Value" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = SbName(PyString_AsString(obj2)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj2, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg3 = *namePtr; - } - } - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[2]) && (SWIG_ConvertPtr(argv[2], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFEnum_set1Value__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFEnum *,int const,int)\n"" set1Value(SoMFEnum *,int const,SbName const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int *arg3 = (int *) (int *)0 ; - SbName *arg4 = (SbName *) (SbName *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setEnums",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setEnums" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_setEnums" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEnum_setEnums" "', argument " "3"" of type '" "int const *const""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFEnum_setEnums" "', argument " "4"" of type '" "SbName const *const""'"); - } - arg4 = reinterpret_cast< SbName * >(argp4); - (arg1)->setEnums(arg2,(int const *)arg3,(SbName const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getNumEnums(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getNumEnums",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getNumEnums" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int)((SoMFEnum const *)arg1)->getNumEnums(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getEnum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - SbName *arg3 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getEnum",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getEnum" "', argument " "1"" of type '" "SoMFEnum const *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum_getEnum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (int)((SoMFEnum const *)arg1)->getEnum(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___getitem__" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SoMFEnum___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum___setitem__" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEnum___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum___setitem__" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - SoMFEnum___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_setValue" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEnum_setValue" "', argument " "2"" of type '" "SoMFEnum const *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - SoMFEnum_setValue__SWIG_2(arg1,(SoMFEnum const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFEnum_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFEnum *,int)\n"" setValue(SoMFEnum *,SbName const)\n"" setValue(SoMFEnum *,SoMFEnum const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int *arg2 = 0 ; - int arg3 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEnum_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int *)SoMFEnum___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEnum *arg1 = (SoMFEnum *) 0 ; - int *arg2 = 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEnum_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEnum_getValues" "', argument " "1"" of type '" "SoMFEnum *""'"); - } - arg1 = reinterpret_cast< SoMFEnum * >(argp1); - result = (int *)SoMFEnum___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEnum_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEnum_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEnum, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEnum_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEnum_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFEnum *,int &,int)\n"" __getValuesHelper__(SoMFEnum *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFEnum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFEnum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getClassTypeId",0,0)) SWIG_fail; - result = SoBoolOperation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getTypeId" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = ((SoBoolOperation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getFieldData" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoFieldData *)((SoBoolOperation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_getOutputData" "', argument " "1"" of type '" "SoBoolOperation const *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutputData *)((SoBoolOperation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_createInstance",0,0)) SWIG_fail; - result = (void *)SoBoolOperation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_a_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_a_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_a_set" "', argument " "2"" of type '" "SoMFBool *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - if (arg1) (arg1)->a = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_a_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_a_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFBool *)& ((arg1)->a); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *arg2 = (SoMFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_b_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_b_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_b_set" "', argument " "2"" of type '" "SoMFBool *""'"); - } - arg2 = reinterpret_cast< SoMFBool * >(argp2); - if (arg1) (arg1)->b = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_b_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_b_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFBool *)& ((arg1)->b); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_operation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_operation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_operation_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_operation_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->operation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_operation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoMFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_operation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_operation_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoMFEnum *)& ((arg1)->operation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_output_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_output_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_inverse_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_inverse_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_inverse_set" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBoolOperation_inverse_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->inverse = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_inverse_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *arg1 = (SoBoolOperation *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_inverse_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBoolOperation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBoolOperation_inverse_get" "', argument " "1"" of type '" "SoBoolOperation *""'"); - } - arg1 = reinterpret_cast< SoBoolOperation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->inverse); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBoolOperation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBoolOperation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBoolOperation",0,0)) SWIG_fail; - result = (SoBoolOperation *)new SoBoolOperation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBoolOperation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBoolOperation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBoolOperation_initClass",0,0)) SWIG_fail; - SoBoolOperation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBoolOperation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBoolOperation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFFloat",0,0)) SWIG_fail; - result = (SoMFFloat *)new SoMFFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFFloat",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFFloat" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoMFFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getTypeId" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = ((SoMFFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_copyFrom" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_isSame" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_find" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_find" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_find" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_find" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFFloat *,float,SbBool)\n"" find(SoMFFloat *,float)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - int arg3 ; - float *arg4 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(float const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_set1Value" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValue" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___eq__" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat___eq__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat___eq__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->operator ==((SoMFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___ne__" "', argument " "1"" of type '" "SoMFFloat const *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFFloat, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat___ne__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFFloat___ne__" "', argument " "2"" of type '" "SoMFFloat const &""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - result = (SbBool)((SoMFFloat const *)arg1)->operator !=((SoMFFloat const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_startEditing" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = (float *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_finishEditing" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValuesPointer" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValuesPointer" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFFloat *,int const,float const *)\n"" setValuesPointer(SoMFFloat *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_initClass",0,0)) SWIG_fail; - SoMFFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___getitem__" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (float)SoMFFloat___getitem__(arg1,arg2); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat___setitem__" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFFloat___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat___setitem__" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - SoMFFloat___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_setValue" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFFloat_setValue" "', argument " "2"" of type '" "SoMFFloat const *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - SoMFFloat_setValue__SWIG_1(arg1,(SoMFFloat const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFFloat *,float)\n"" setValue(SoMFFloat *,SoMFFloat const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int *arg2 = 0 ; - int arg3 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFFloat_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (float *)SoMFFloat___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyFloat_FromDouble((double)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFFloat *arg1 = (SoMFFloat *) 0 ; - int *arg2 = 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFFloat_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFFloat_getValues" "', argument " "1"" of type '" "SoMFFloat *""'"); - } - arg1 = reinterpret_cast< SoMFFloat * >(argp1); - result = (float *)SoMFFloat___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyFloat_FromDouble((double)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFFloat_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFFloat_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFFloat, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFFloat_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFFloat_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFFloat *,int &,int)\n"" __getValuesHelper__(SoMFFloat *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3f",0,0)) SWIG_fail; - result = (SoMFVec3f *)new SoMFVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3f" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getTypeId" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = ((SoMFVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_copyFrom" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_isSame" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_find" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_find" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_find" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (int)(arg1)->find((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFVec3f *,SbVec3f const &,SbBool)\n"" find(SoMFVec3f *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - int arg3 ; - SbVec3f *arg4 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec3f[len]; - for (int i = 0; i < len; i++) { - SbVec3f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec3f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec3f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___eq__" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f___eq__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___eq__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->operator ==((SoMFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___ne__" "', argument " "1"" of type '" "SoMFVec3f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f___ne__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___ne__" "', argument " "2"" of type '" "SoMFVec3f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - result = (SbBool)((SoMFVec3f const *)arg1)->operator !=((SoMFVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_startEditing" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = (SbVec3f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_finishEditing" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "3"" of type '" "SbVec3f const *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec3f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f_setValuesPointer" "', argument " "3"" of type '" "SbVec3f *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFVec3f *,int const,float const *)\n"" setValuesPointer(SoMFVec3f *,int const,float *)\n"" setValuesPointer(SoMFVec3f *,int const,SbVec3f const *)\n"" setValuesPointer(SoMFVec3f *,int const,SbVec3f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_initClass",0,0)) SWIG_fail; - SoMFVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3f, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFVec3f *,int const,int const,SbVec3f const *)\n"" setValues(SoMFVec3f *,int const,int const,float const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3f_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_set1Value" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec3f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFVec3f *,int const,SbVec3f const &)\n"" set1Value(SoMFVec3f *,int const,float const,float const,float const)\n"" set1Value(SoMFVec3f *,int const,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___getitem__" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3f const &_result_ref = SoMFVec3f___getitem__(arg1,arg2); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f___setitem__" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3f___setitem__" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3f___setitem__" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SoMFVec3f___setitem__(arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_setValue" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3f_setValue" "', argument " "2"" of type '" "SoMFVec3f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - SoMFVec3f_setValue__SWIG_3(arg1,(SoMFVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec3f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFVec3f *,SbVec3f const &)\n"" setValue(SoMFVec3f *,float const,float const,float const)\n"" setValue(SoMFVec3f *,float const [3])\n"" setValue(SoMFVec3f *,SoMFVec3f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec3f *)SoMFVec3f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3f * Vec3fPtr = new SbVec3f(result[i]); - PyObject * obj = SWIG_NewPointerObj(Vec3fPtr, SWIGTYPE_p_SbVec3f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3f *arg1 = (SoMFVec3f *) 0 ; - int *arg2 = 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3f_getValues" "', argument " "1"" of type '" "SoMFVec3f *""'"); - } - arg1 = reinterpret_cast< SoMFVec3f * >(argp1); - result = (SbVec3f *)SoMFVec3f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3f * Vec3fPtr = new SbVec3f(result[i]); - PyObject * obj = SWIG_NewPointerObj(Vec3fPtr, SWIGTYPE_p_SbVec3f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3f_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFVec3f *,int &,int)\n"" __getValuesHelper__(SoMFVec3f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFString",0,0)) SWIG_fail; - result = (SoMFString *)new SoMFString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFString" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFString::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getClassTypeId",0,0)) SWIG_fail; - result = SoMFString::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getTypeId" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = ((SoMFString const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_copyFrom" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_isSame" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_find" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbString const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_find" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFString_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFString_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFString *,SbString const &,SbBool)\n"" find(SoMFString *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - SbString *arg4 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFString_setValues" "', argument " "4"" of type '" "SbString const *""'"); - } - arg4 = reinterpret_cast< SbString * >(argp4); - (arg1)->setValues(arg2,arg3,(SbString const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - SbString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_set1Value" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbString const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___eq__" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString___eq__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString___eq__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->operator ==((SoMFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___ne__" "', argument " "1"" of type '" "SoMFString const *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFString, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString___ne__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFString___ne__" "', argument " "2"" of type '" "SoMFString const &""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - result = (SbBool)((SoMFString const *)arg1)->operator !=((SoMFString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_startEditing" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = (SbString *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_finishEditing" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_initClass",0,0)) SWIG_fail; - SoMFString::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - char **arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (char **)malloc(len * sizeof(char *)); - for (int i = 0; i < len; i++) { - PyObject * item = PyObject_Str(PySequence_GetItem(obj3,i)); - arg4[i] = PyString_AsString(item); - Py_DECREF(item); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(char const *(*))arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFString_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFString *,int const,int const,SbString const *)\n"" setValues(SoMFString *,int const,int const,char const *[])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - char *arg2 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_setValue" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setValue((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_deleteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_deleteText",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_deleteText" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString_deleteText" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_deleteText" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFString_deleteText" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFString_deleteText" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - (arg1)->deleteText(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___getitem__" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbString const &_result_ref = SoMFString___getitem__(arg1,arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int arg2 ; - SbString *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString___setitem__" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFString___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - SoMFString___setitem__(arg1,arg2,(SbString const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_setValue" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFString_setValue" "', argument " "2"" of type '" "SoMFString const *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - SoMFString_setValue__SWIG_2(arg1,(SoMFString const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFString_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFString *,SbString const &)\n"" setValue(SoMFString *,char const *)\n"" setValue(SoMFString *,SoMFString const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFString_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)SoMFString___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFString *arg1 = (SoMFString *) 0 ; - int *arg2 = 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFString_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFString_getValues" "', argument " "1"" of type '" "SoMFString *""'"); - } - arg1 = reinterpret_cast< SoMFString * >(argp1); - result = (SbString *)SoMFString___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyObject * str = PyString_FromString(result[i].getString()); - PyList_SetItem(resultobj, i, str); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFString_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFString_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFString_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFString_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFString *,int &,int)\n"" __getValuesHelper__(SoMFString *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCalculator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getClassTypeId",0,0)) SWIG_fail; - result = SoCalculator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getTypeId" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = ((SoCalculator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getFieldData" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoFieldData *)((SoCalculator const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_getOutputData" "', argument " "1"" of type '" "SoCalculator const *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutputData *)((SoCalculator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_createInstance",0,0)) SWIG_fail; - result = (void *)SoCalculator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_a_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_a_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_a_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->a = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_a_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_a_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->a); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_b_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_b_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_b_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->b = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_b_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_b_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->b); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_c_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_c_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_c_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_c_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->c = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_c_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_c_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_c_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->c); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_d_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_d_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_d_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_d_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->d = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_d_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_d_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_d_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->d); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_e_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_e_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_e_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_e_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->e = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_e_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_e_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_e_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->e); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_f_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_f_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_f_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_f_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->f = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_f_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_f_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_f_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->f); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_g_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_g_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_g_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_g_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->g = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_g_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_g_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_g_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->g); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_h_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_h_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_h_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_h_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->h = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_h_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_h_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_h_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFFloat *)& ((arg1)->h); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_A_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_A_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_A_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_A_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->A = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_A_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_A_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_A_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->A); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_B_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_B_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_B_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_B_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->B = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_B_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_B_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_B_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->B); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_C_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_C_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_C_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_C_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->C = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_C_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_C_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_C_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->C); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_D_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_D_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_D_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_D_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->D = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_D_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_D_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_D_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->D); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_E_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_E_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_E_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_E_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->E = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_E_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_E_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_E_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->E); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_F_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_F_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_F_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_F_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->F = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_F_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_F_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_F_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->F); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_G_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_G_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_G_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_G_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->G = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_G_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_G_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_G_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->G); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_H_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_H_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_H_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_H_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->H = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_H_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_H_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_H_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->H); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_expression_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_expression_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_expression_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_expression_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->expression = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_expression_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_expression_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_expression_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoMFString *)& ((arg1)->expression); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oa_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oa_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oa_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oa_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oa = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oa_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oa_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oa_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oa); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_ob_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_ob_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_ob_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_ob_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->ob = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_ob_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_ob_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_ob_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->ob); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oc_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oc_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oc = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oc_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oc); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_od_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_od_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_od_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_od_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->od = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_od_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_od_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_od_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->od); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oA_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oA_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oA = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oA_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oB_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oB_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oB_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oB_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oB = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oB_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oB_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oB_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oB); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oC_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oC_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oC_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oC_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oC = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oC_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oC_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oC_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oC); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oD_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oD_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oD_set" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCalculator_oD_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->oD = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_oD_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *arg1 = (SoCalculator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_oD_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCalculator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCalculator_oD_get" "', argument " "1"" of type '" "SoCalculator *""'"); - } - arg1 = reinterpret_cast< SoCalculator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->oD); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCalculator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCalculator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCalculator",0,0)) SWIG_fail; - result = (SoCalculator *)new SoCalculator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCalculator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCalculator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCalculator_initClass",0,0)) SWIG_fail; - SoCalculator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCalculator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCalculator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec2f",0,0)) SWIG_fail; - result = (SoMFVec2f *)new SoMFVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec2f" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getTypeId" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = ((SoMFVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_copyFrom" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_isSame" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_find" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec2f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_find" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_find" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (int)(arg1)->find((SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFVec2f *,SbVec2f const &,SbBool)\n"" find(SoMFVec2f *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - int arg3 ; - SbVec2f *arg4 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec2f[len]; - for (int i = 0; i < len; i++) { - SbVec2f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec2f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec2f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->set1Value(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setValue((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___eq__" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f___eq__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___eq__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->operator ==((SoMFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___ne__" "', argument " "1"" of type '" "SoMFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f___ne__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___ne__" "', argument " "2"" of type '" "SoMFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - result = (SbBool)((SoMFVec2f const *)arg1)->operator !=((SoMFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_startEditing" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = (SbVec2f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_finishEditing" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "3"" of type '" "SbVec2f const *""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec2f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = (SbVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec2f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "3"" of type '" "SbVec2f *""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFVec2f *,int const,SbVec2f const *)\n"" setValuesPointer(SoMFVec2f *,int const,SbVec2f *)\n"" setValuesPointer(SoMFVec2f *,int const,float const *)\n"" setValuesPointer(SoMFVec2f *,int const,float *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_initClass",0,0)) SWIG_fail; - SoMFVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[2] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float (*)[2]) malloc(len*2*sizeof(float)); - convert_SoMFVec2f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[2])arg4); - resultobj = SWIG_Py_Void(); - { - if(arg4) delete[] arg4; - } - return resultobj; -fail: - { - if(arg4) delete[] arg4; - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec2f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec2f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec2f, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec2f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFVec2f *,int const,int const,SbVec2f const *)\n"" setValues(SoMFVec2f *,int const,int const,float const [][2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec2f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->set1Value(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_set1Value" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec2f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec2f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_set1Value__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFVec2f *,int const,SbVec2f const &)\n"" set1Value(SoMFVec2f *,int const,float const,float const)\n"" set1Value(SoMFVec2f *,int const,float const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___getitem__" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2f const &_result_ref = SoMFVec2f___getitem__(arg1,arg2); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f___setitem__" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec2f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec2f___setitem__" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec2f___setitem__" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - SoMFVec2f___setitem__(arg1,arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_setValue" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec2f_setValue" "', argument " "2"" of type '" "SoMFVec2f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - SoMFVec2f_setValue__SWIG_3(arg1,(SoMFVec2f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec2f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFVec2f *,SbVec2f const &)\n"" setValue(SoMFVec2f *,float const,float const)\n"" setValue(SoMFVec2f *,float const [2])\n"" setValue(SoMFVec2f *,SoMFVec2f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec2f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec2f *)SoMFVec2f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec2f * Vec2fPtr = new SbVec2f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec2fPtr, SWIGTYPE_p_SbVec2f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec2f *arg1 = (SoMFVec2f *) 0 ; - int *arg2 = 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec2f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec2f_getValues" "', argument " "1"" of type '" "SoMFVec2f *""'"); - } - arg1 = reinterpret_cast< SoMFVec2f * >(argp1); - result = (SbVec2f *)SoMFVec2f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec2f * Vec2fPtr = new SbVec2f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec2fPtr, SWIGTYPE_p_SbVec2f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec2f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec2f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec2f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec2f_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFVec2f *,int &,int)\n"" __getValuesHelper__(SoMFVec2f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getTypeId" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = ((SoComposeVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getFieldData" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoFieldData *)((SoComposeVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_getOutputData" "', argument " "1"" of type '" "SoComposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec2f",0,0)) SWIG_fail; - result = (SoComposeVec2f *)new SoComposeVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_initClass",0,0)) SWIG_fail; - SoComposeVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_x_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_x_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_y_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_y_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_vector_set" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec2f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec2f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec2f *arg1 = (SoComposeVec2f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec2f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec2f_vector_get" "', argument " "1"" of type '" "SoComposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getTypeId" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = ((SoComposeVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getFieldData" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoFieldData *)((SoComposeVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_getOutputData" "', argument " "1"" of type '" "SoComposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec3f",0,0)) SWIG_fail; - result = (SoComposeVec3f *)new SoComposeVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_initClass",0,0)) SWIG_fail; - SoComposeVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_x_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_x_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_y_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_y_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_z_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_z_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->z = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_z_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoMFFloat *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_vector_set" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec3f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec3f *arg1 = (SoComposeVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec3f_vector_get" "', argument " "1"" of type '" "SoComposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec4f",0,0)) SWIG_fail; - result = (SoMFVec4f *)new SoMFVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec4f" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getTypeId" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = ((SoMFVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_copyFrom" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_isSame" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_find" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec4f const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_find" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_find" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - result = (int)(arg1)->find((SbVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFVec4f *,SbVec4f const &,SbBool)\n"" find(SoMFVec4f *,SbVec4f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - int arg3 ; - SbVec4f *arg4 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec4f[len]; - for (int i = 0; i < len; i++) { - SbVec4f * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec4f, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec4f const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->set1Value(arg2,(SbVec4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___eq__" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f___eq__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___eq__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->operator ==((SoMFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___ne__" "', argument " "1"" of type '" "SoMFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f___ne__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___ne__" "', argument " "2"" of type '" "SoMFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - result = (SbBool)((SoMFVec4f const *)arg1)->operator !=((SoMFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_startEditing" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = (SbVec4f *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_finishEditing" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "3"" of type '" "SbVec4f const *""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->setValuesPointer(arg2,(SbVec4f const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = (SbVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec4f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f_setValuesPointer" "', argument " "3"" of type '" "SbVec4f *""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFVec4f *,int const,float const *)\n"" setValuesPointer(SoMFVec4f *,int const,float *)\n"" setValuesPointer(SoMFVec4f *,int const,SbVec4f const *)\n"" setValuesPointer(SoMFVec4f *,int const,SbVec4f *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_initClass",0,0)) SWIG_fail; - SoMFVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (float(*)[4])malloc(len*4*sizeof(float)); - convert_SoMFVec4f_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } else { - PyObject * obj = PySequence_GetItem(argv[3],0); - void *ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec4f, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec4f_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = 0; - if (PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ) { - PyObject * obj = PySequence_GetItem(argv[3],0); - void *ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec4f, 0) == -1) { - _v = 1; - } - Py_DECREF(obj); - } - } - if (_v) { - return _wrap_SoMFVec4f_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFVec4f *,int const,int const,SbVec4f const *)\n"" setValues(SoMFVec4f *,int const,int const,float const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4f_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4f_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFVec4f_set1Value" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_set1Value" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec4f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFVec4f *,int const,SbVec4f const &)\n"" set1Value(SoMFVec4f *,int const,float const,float const,float const,float const)\n"" set1Value(SoMFVec4f *,int const,float const [4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___getitem__" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec4f const &_result_ref = SoMFVec4f___getitem__(arg1,arg2); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int arg2 ; - SbVec4f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f___setitem__" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec4f___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec4f___setitem__" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec4f___setitem__" "', argument " "3"" of type '" "SbVec4f const &""'"); - } - arg3 = reinterpret_cast< SbVec4f * >(argp3); - SoMFVec4f___setitem__(arg1,arg2,(SbVec4f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_setValue" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec4f_setValue" "', argument " "2"" of type '" "SoMFVec4f const *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - SoMFVec4f_setValue__SWIG_3(arg1,(SoMFVec4f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFVec4f *,SbVec4f const &)\n"" setValue(SoMFVec4f *,float const,float const,float const,float const)\n"" setValue(SoMFVec4f *,float const [4])\n"" setValue(SoMFVec4f *,SoMFVec4f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec4f_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec4f *)SoMFVec4f___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec4f * Vec4fPtr = new SbVec4f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec4fPtr, SWIGTYPE_p_SbVec4f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec4f *arg1 = (SoMFVec4f *) 0 ; - int *arg2 = 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec4f_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec4f_getValues" "', argument " "1"" of type '" "SoMFVec4f *""'"); - } - arg1 = reinterpret_cast< SoMFVec4f * >(argp1); - result = (SbVec4f *)SoMFVec4f___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec4f * Vec4fPtr = new SbVec4f( result[i] ); - PyObject * obj = SWIG_NewPointerObj(Vec4fPtr, SWIGTYPE_p_SbVec4f, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec4f_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec4f_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec4f_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec4f_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFVec4f *,int &,int)\n"" __getValuesHelper__(SoMFVec4f *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getTypeId" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = ((SoComposeVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getFieldData" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoFieldData *)((SoComposeVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_getOutputData" "', argument " "1"" of type '" "SoComposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoEngineOutputData *)((SoComposeVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeVec4f",0,0)) SWIG_fail; - result = (SoComposeVec4f *)new SoComposeVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_initClass",0,0)) SWIG_fail; - SoComposeVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_x_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_x_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_x_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_y_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_y_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_y_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_z_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_z_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->z = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_z_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_w_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_w_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_w_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->w = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_w_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_w_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoMFFloat *)& ((arg1)->w); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_vector_set" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeVec4f_vector_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeVec4f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeVec4f *arg1 = (SoComposeVec4f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeVec4f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeVec4f_vector_get" "', argument " "1"" of type '" "SoComposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoComposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = ((SoDecomposeVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec2f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec2f",0,0)) SWIG_fail; - result = (SoDecomposeVec2f *)new SoDecomposeVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_initClass",0,0)) SWIG_fail; - SoDecomposeVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_vector_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_x_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_x_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_y_set" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec2f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec2f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec2f *arg1 = (SoDecomposeVec2f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec2f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec2f_y_get" "', argument " "1"" of type '" "SoDecomposeVec2f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec2f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = ((SoDecomposeVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec3f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec3f",0,0)) SWIG_fail; - result = (SoDecomposeVec3f *)new SoDecomposeVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_initClass",0,0)) SWIG_fail; - SoDecomposeVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_x_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_x_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_y_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_y_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_z_set" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec3f_z_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->z = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec3f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec3f *arg1 = (SoDecomposeVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec3f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec3f_z_get" "', argument " "1"" of type '" "SoDecomposeVec3f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getTypeId" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = ((SoDecomposeVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getFieldData" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoFieldData *)((SoDecomposeVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_getOutputData" "', argument " "1"" of type '" "SoDecomposeVec4f const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeVec4f",0,0)) SWIG_fail; - result = (SoDecomposeVec4f *)new SoDecomposeVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_initClass",0,0)) SWIG_fail; - SoDecomposeVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_vector_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_vector_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoMFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_vector_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_x_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_x_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_x_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->x = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_x_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_x_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->x); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_y_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_y_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_y_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->y = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_y_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_y_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->y); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_z_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_z_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_z_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->z = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_z_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_z_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->z); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_w_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_w_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_w_set" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeVec4f_w_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->w = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeVec4f_w_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeVec4f *arg1 = (SoDecomposeVec4f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeVec4f_w_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeVec4f_w_get" "', argument " "1"" of type '" "SoDecomposeVec4f *""'"); - } - arg1 = reinterpret_cast< SoDecomposeVec4f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->w); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getTypeId" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = ((SoComposeRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getFieldData" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoFieldData *)((SoComposeRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_getOutputData" "', argument " "1"" of type '" "SoComposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoEngineOutputData *)((SoComposeRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeRotation",0,0)) SWIG_fail; - result = (SoComposeRotation *)new SoComposeRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_initClass",0,0)) SWIG_fail; - SoComposeRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_axis_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_axis_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->axis = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_axis_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoMFVec3f *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_angle_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_angle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_angle_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoMFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_rotation_set" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotation_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotation *arg1 = (SoComposeRotation *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotation_rotation_get" "', argument " "1"" of type '" "SoComposeRotation *""'"); - } - arg1 = reinterpret_cast< SoComposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFRotation",0,0)) SWIG_fail; - result = (SoMFRotation *)new SoMFRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFRotation" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoMFRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getTypeId" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = ((SoMFRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_copyFrom" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_isSame" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_find" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_find" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_find" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - result = (int)(arg1)->find((SbRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFRotation *,SbRotation const &,SbBool)\n"" find(SoMFRotation *,SbRotation const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - int arg3 ; - SbRotation *arg4 = (SbRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbRotation[len]; - for (int i = 0; i < len; i++) { - SbRotation * RotationPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &RotationPtr, SWIGTYPE_p_SbRotation, 1); - if( RotationPtr != NULL ) - arg4[i] = *RotationPtr; - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbRotation const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - (arg1)->set1Value(arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setValue((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___eq__" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation___eq__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___eq__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->operator ==((SoMFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___ne__" "', argument " "1"" of type '" "SoMFRotation const *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation___ne__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___ne__" "', argument " "2"" of type '" "SoMFRotation const &""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - result = (SbBool)((SoMFRotation const *)arg1)->operator !=((SoMFRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_startEditing" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = (SbRotation *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_finishEditing" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_initClass",0,0)) SWIG_fail; - SoMFRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[4] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_a_4__float, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMFRotation_setValues" "', argument " "4"" of type '" "float const [][4]""'"); - } - arg4 = reinterpret_cast< float (*)[4] >(argp4); - (arg1)->setValues(arg2,arg3,(float const (*)[4])arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[3]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_4__float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFRotation *,int const,int const,SbRotation const *)\n"" setValues(SoMFRotation *,int const,int const,float const [][4])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFRotation_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFRotation_set1Value" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->set1Value(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec4f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_set1Value",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_set1Value" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_3(self, args); - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFRotation *,int const,SbRotation const &)\n"" set1Value(SoMFRotation *,int const,float const,float const,float const,float const)\n"" set1Value(SoMFRotation *,int const,float const [4])\n"" set1Value(SoMFRotation *,int const,SbVec3f const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFRotation_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFRotation_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___getitem__" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbRotation const &_result_ref = SoMFRotation___getitem__(arg1,arg2); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int arg2 ; - SbRotation *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation___setitem__" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFRotation___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFRotation___setitem__" "', argument " "3"" of type '" "SbRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFRotation___setitem__" "', argument " "3"" of type '" "SbRotation const &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - SoMFRotation___setitem__(arg1,arg2,(SbRotation const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFRotation_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbRotation *)SoMFRotation___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbRotation * RotationPtr = new SbRotation( result[i] ); - PyObject * obj = SWIG_NewPointerObj(RotationPtr, SWIGTYPE_p_SbRotation, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - int *arg2 = 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_getValues" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - result = (SbRotation *)SoMFRotation___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbRotation * RotationPtr = new SbRotation( result[i] ); - PyObject * obj = SWIG_NewPointerObj(RotationPtr, SWIGTYPE_p_SbRotation, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFRotation *,int &,int)\n"" __getValuesHelper__(SoMFRotation *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFRotation *arg1 = (SoMFRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFRotation_setValue" "', argument " "1"" of type '" "SoMFRotation *""'"); - } - arg1 = reinterpret_cast< SoMFRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFRotation_setValue" "', argument " "2"" of type '" "SoMFRotation const *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - SoMFRotation_setValue__SWIG_4(arg1,(SoMFRotation const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFRotation_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFRotation_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFRotation *,SbRotation const &)\n"" setValue(SoMFRotation *,float const,float const,float const,float const)\n"" setValue(SoMFRotation *,float const [4])\n"" setValue(SoMFRotation *,SbVec3f const &,float const)\n"" setValue(SoMFRotation *,SoMFRotation const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getTypeId" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = ((SoDecomposeRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getFieldData" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoFieldData *)((SoDecomposeRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_getOutputData" "', argument " "1"" of type '" "SoDecomposeRotation const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeRotation",0,0)) SWIG_fail; - result = (SoDecomposeRotation *)new SoDecomposeRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_initClass",0,0)) SWIG_fail; - SoDecomposeRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_rotation_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_rotation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_rotation_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_axis_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_axis_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->axis = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_axis_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_angle_set" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeRotation_angle_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->angle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeRotation_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeRotation *arg1 = (SoDecomposeRotation *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeRotation_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeRotation_angle_get" "', argument " "1"" of type '" "SoDecomposeRotation *""'"); - } - arg1 = reinterpret_cast< SoDecomposeRotation * >(argp1); - result = (SoEngineOutput *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getTypeId" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = ((SoComposeMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getFieldData" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoFieldData *)((SoComposeMatrix const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_getOutputData" "', argument " "1"" of type '" "SoComposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoEngineOutputData *)((SoComposeMatrix const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeMatrix",0,0)) SWIG_fail; - result = (SoComposeMatrix *)new SoComposeMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeMatrix, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_initClass",0,0)) SWIG_fail; - SoComposeMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_translation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_translation_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_translation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_rotation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_rotation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_rotation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleFactor_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_scaleFactor_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleFactor_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleOrientation_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_scaleOrientation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_scaleOrientation_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_center_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_center_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_center_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_matrix_set" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeMatrix_matrix_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeMatrix_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeMatrix *arg1 = (SoComposeMatrix *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeMatrix_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeMatrix_matrix_get" "', argument " "1"" of type '" "SoComposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoComposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFMatrix",0,0)) SWIG_fail; - result = (SoMFMatrix *)new SoMFMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFMatrix" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoMFMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getTypeId" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = ((SoMFMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_copyFrom" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_isSame" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_find" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_find" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_find" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - result = (int)(arg1)->find((SbMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFMatrix *,SbMatrix const &,SbBool)\n"" find(SoMFMatrix *,SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - int arg3 ; - SbMatrix *arg4 = (SbMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbMatrix[len]; - for (int i = 0; i < len; i++) { - SbMatrix * matPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &matPtr, SWIGTYPE_p_SbMatrix, 1); - if (matPtr != NULL) { - arg4[i] = *matPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbMatrix const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_set1Value" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFMatrix_set1Value" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_set1Value" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - (arg1)->set1Value(arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setValue((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___eq__" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix___eq__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___eq__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->operator ==((SoMFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___ne__" "', argument " "1"" of type '" "SoMFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix___ne__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___ne__" "', argument " "2"" of type '" "SoMFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - result = (SbBool)((SoMFMatrix const *)arg1)->operator !=((SoMFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_startEditing" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = (SbMatrix *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_finishEditing" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_initClass",0,0)) SWIG_fail; - SoMFMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - float arg17 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - float val17 ; - int ecode17 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - PyObject * obj16 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",17,17,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFMatrix_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFMatrix_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoMFMatrix_setValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoMFMatrix_setValue" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoMFMatrix_setValue" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoMFMatrix_setValue" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoMFMatrix_setValue" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoMFMatrix_setValue" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoMFMatrix_setValue" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoMFMatrix_setValue" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "SoMFMatrix_setValue" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "SoMFMatrix_setValue" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "SoMFMatrix_setValue" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - ecode17 = SWIG_AsVal_float(obj16, &val17); - if (!SWIG_IsOK(ecode17)) { - SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "SoMFMatrix_setValue" "', argument " "17"" of type '" "float""'"); - } - arg17 = static_cast< float >(val17); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___getitem__" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbMatrix const &_result_ref = SoMFMatrix___getitem__(arg1,arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int arg2 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix___setitem__" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFMatrix___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFMatrix___setitem__" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFMatrix___setitem__" "', argument " "3"" of type '" "SbMatrix const &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - SoMFMatrix___setitem__(arg1,arg2,(SbMatrix const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFMatrix_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbMatrix *)SoMFMatrix___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbMatrix * matPtr = new SbMatrix( result[i] ); - PyObject * obj = SWIG_NewPointerObj(matPtr, SWIGTYPE_p_SbMatrix, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - int *arg2 = 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_getValues" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - result = (SbMatrix *)SoMFMatrix___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbMatrix * matPtr = new SbMatrix( result[i] ); - PyObject * obj = SWIG_NewPointerObj(matPtr, SWIGTYPE_p_SbMatrix, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFMatrix *,int &,int)\n"" __getValuesHelper__(SoMFMatrix *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFMatrix *arg1 = (SoMFMatrix *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFMatrix_setValue" "', argument " "1"" of type '" "SoMFMatrix *""'"); - } - arg1 = reinterpret_cast< SoMFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFMatrix_setValue" "', argument " "2"" of type '" "SoMFMatrix const *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - SoMFMatrix_setValue__SWIG_2(arg1,(SoMFMatrix const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFMatrix_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[18]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 17); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_2(self, args); - } - } - } - if (argc == 17) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[16], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFMatrix_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFMatrix_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFMatrix *,SbMatrix const &)\n"" setValue(SoMFMatrix *,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n"" setValue(SoMFMatrix *,SoMFMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoDecomposeMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getTypeId" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = ((SoDecomposeMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getFieldData" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoFieldData *)((SoDecomposeMatrix const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_getOutputData" "', argument " "1"" of type '" "SoDecomposeMatrix const *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutputData *)((SoDecomposeMatrix const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoDecomposeMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDecomposeMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDecomposeMatrix",0,0)) SWIG_fail; - result = (SoDecomposeMatrix *)new SoDecomposeMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDecomposeMatrix, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_initClass",0,0)) SWIG_fail; - SoDecomposeMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_matrix_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_matrix_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_center_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_center_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_center_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoMFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_translation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_translation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_translation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_rotation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_rotation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleFactor_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_scaleFactor_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleFactor_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleOrientation_set" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDecomposeMatrix_scaleOrientation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDecomposeMatrix_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDecomposeMatrix *arg1 = (SoDecomposeMatrix *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDecomposeMatrix_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDecomposeMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDecomposeMatrix_scaleOrientation_get" "', argument " "1"" of type '" "SoDecomposeMatrix *""'"); - } - arg1 = reinterpret_cast< SoDecomposeMatrix * >(argp1); - result = (SoEngineOutput *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDecomposeMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDecomposeMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getClassTypeId",0,0)) SWIG_fail; - result = SoComposeRotationFromTo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getTypeId" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = ((SoComposeRotationFromTo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getFieldData" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoFieldData *)((SoComposeRotationFromTo const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_getOutputData" "', argument " "1"" of type '" "SoComposeRotationFromTo const *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoEngineOutputData *)((SoComposeRotationFromTo const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_createInstance",0,0)) SWIG_fail; - result = (void *)SoComposeRotationFromTo::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComposeRotationFromTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComposeRotationFromTo",0,0)) SWIG_fail; - result = (SoComposeRotationFromTo *)new SoComposeRotationFromTo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComposeRotationFromTo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_initClass",0,0)) SWIG_fail; - SoComposeRotationFromTo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_srcFrom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_srcFrom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_srcFrom_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_srcFrom_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->from = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_srcFrom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_srcFrom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_srcFrom_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoMFVec3f *)& ((arg1)->from); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_destTo_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_destTo_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_destTo_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_destTo_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->to = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_destTo_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_destTo_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_destTo_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoMFVec3f *)& ((arg1)->to); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_rotation_set" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComposeRotationFromTo_rotation_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComposeRotationFromTo_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComposeRotationFromTo *arg1 = (SoComposeRotationFromTo *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComposeRotationFromTo_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComposeRotationFromTo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComposeRotationFromTo_rotation_get" "', argument " "1"" of type '" "SoComposeRotationFromTo *""'"); - } - arg1 = reinterpret_cast< SoComposeRotationFromTo * >(argp1); - result = (SoEngineOutput *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComposeRotationFromTo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComposeRotationFromTo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFPath",0,0)) SWIG_fail; - result = (SoSFPath *)new SoSFPath(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFPath" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFPath::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getClassTypeId",0,0)) SWIG_fail; - result = SoSFPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_getTypeId" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = ((SoSFPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_copyFrom" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_isSame" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFPath const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_getValue" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = (SoPath *)((SoSFPath const *)arg1)->getValue(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_setValue" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_setValue" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath___eq__" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath___eq__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath___eq__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - result = (int)((SoSFPath const *)arg1)->operator ==((SoSFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath___ne__" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath___ne__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPath___ne__" "', argument " "2"" of type '" "SoSFPath const &""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - result = (int)((SoSFPath const *)arg1)->operator !=((SoSFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_initClass",0,0)) SWIG_fail; - SoSFPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_notify" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_fixCopy" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFPath_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_referencesCopy" "', argument " "1"" of type '" "SoSFPath const *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - result = (SbBool)((SoSFPath const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPath *arg1 = (SoSFPath *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPath_setValue" "', argument " "1"" of type '" "SoSFPath *""'"); - } - arg1 = reinterpret_cast< SoSFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPath_setValue" "', argument " "2"" of type '" "SoSFPath const *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - SoSFPath_setValue__SWIG_1(arg1,(SoSFPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPath_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPath_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPath_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFPath_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFPath *,SoPath *)\n"" setValue(SoSFPath *,SoSFPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getClassTypeId",0,0)) SWIG_fail; - result = SoComputeBoundingBox::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getTypeId" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = ((SoComputeBoundingBox const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getFieldData" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoFieldData *)((SoComputeBoundingBox const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getOutputData" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutputData *)((SoComputeBoundingBox const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_createInstance",0,0)) SWIG_fail; - result = (void *)SoComputeBoundingBox::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_node_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_node_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_node_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_node_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->node = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_node_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_node_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_node_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoSFNode *)& ((arg1)->node); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_path_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_path_set" "', argument " "2"" of type '" "SoSFPath *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - if (arg1) (arg1)->path = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoSFPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_path_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoSFPath *)& ((arg1)->path); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_min_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_min_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->min = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_min_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_max_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_max_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->max = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_max_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_boxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_boxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_boxCenter_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_boxCenter_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->boxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_boxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_boxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_boxCenter_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->boxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_objectCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_objectCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_objectCenter_set" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_objectCenter_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->objectCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_objectCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_objectCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_objectCenter_get" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - result = (SoEngineOutput *)& ((arg1)->objectCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoComputeBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoComputeBoundingBox",0,0)) SWIG_fail; - result = (SoComputeBoundingBox *)new SoComputeBoundingBox(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoComputeBoundingBox, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_initClass",0,0)) SWIG_fail; - SoComputeBoundingBox::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "1"" of type '" "SoComputeBoundingBox *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoComputeBoundingBox_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoComputeBoundingBox_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoComputeBoundingBox *arg1 = (SoComputeBoundingBox *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoComputeBoundingBox_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoComputeBoundingBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoComputeBoundingBox_getViewportRegion" "', argument " "1"" of type '" "SoComputeBoundingBox const *""'"); - } - arg1 = reinterpret_cast< SoComputeBoundingBox * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoComputeBoundingBox const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoComputeBoundingBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoComputeBoundingBox, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoConcatenate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getClassTypeId",0,0)) SWIG_fail; - result = SoConcatenate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getTypeId" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = ((SoConcatenate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getFieldData" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoFieldData *)((SoConcatenate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_getOutputData" "', argument " "1"" of type '" "SoConcatenate const *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoEngineOutputData *)((SoConcatenate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_createInstance",0,0)) SWIG_fail; - result = (void *)SoConcatenate::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_initClass",0,0)) SWIG_fail; - SoConcatenate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoConcatenate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoConcatenate *result = 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoConcatenate",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoConcatenate" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoConcatenate" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoConcatenate *)new SoConcatenate(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoConcatenate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoMField **arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_input_set" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConcatenate_input_set" "', argument " "2"" of type '" "SoMField *[SoConcatenate::NUMINPUTS]""'"); - } - arg2 = reinterpret_cast< SoMField ** >(argp2); - { - if (arg2) { - size_t ii = 0; - for (; ii < (size_t)SoConcatenate::NUMINPUTS; ++ii) arg1->input[ii] = arg2[ii]; - } else { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""input""' of type '""SoMField *[SoConcatenate::NUMINPUTS]""'"); - } - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoMField **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_input_get" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoMField **)(SoMField **) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_output_set" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoConcatenate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoConcatenate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoConcatenate *arg1 = (SoConcatenate *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoConcatenate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoConcatenate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoConcatenate_output_get" "', argument " "1"" of type '" "SoConcatenate *""'"); - } - arg1 = reinterpret_cast< SoConcatenate * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoConcatenate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoConcatenate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFTrigger",0,0)) SWIG_fail; - result = (SoSFTrigger *)new SoSFTrigger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFTrigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFTrigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFTrigger" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFTrigger::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getClassTypeId",0,0)) SWIG_fail; - result = SoSFTrigger::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_getTypeId" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - result = ((SoSFTrigger const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_copyFrom" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_isSame" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFTrigger const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_initClass",0,0)) SWIG_fail; - SoSFTrigger::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_setValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_setValue" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->setValue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_getValue" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - ((SoSFTrigger const *)arg1)->getValue(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger___eq__" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTrigger, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger___eq__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger___eq__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - result = (int)((SoSFTrigger const *)arg1)->operator ==((SoSFTrigger const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger___ne__" "', argument " "1"" of type '" "SoSFTrigger const *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTrigger, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger___ne__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTrigger___ne__" "', argument " "2"" of type '" "SoSFTrigger const &""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - result = (int)((SoSFTrigger const *)arg1)->operator !=((SoSFTrigger const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_startNotify" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_notify" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_touch" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTrigger *arg1 = (SoSFTrigger *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTrigger_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTrigger_setValue" "', argument " "1"" of type '" "SoSFTrigger *""'"); - } - arg1 = reinterpret_cast< SoSFTrigger * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTrigger_setValue" "', argument " "2"" of type '" "SoSFTrigger const *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - SoSFTrigger_setValue__SWIG_1(arg1,(SoSFTrigger const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTrigger_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTrigger_setValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFTrigger, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTrigger_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFTrigger_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFTrigger *)\n"" setValue(SoSFTrigger *,SoSFTrigger const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFTrigger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFTrigger, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFShort",0,0)) SWIG_fail; - result = (SoSFShort *)new SoSFShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFShort" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getClassTypeId",0,0)) SWIG_fail; - result = SoSFShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_getTypeId" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - result = ((SoSFShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_copyFrom" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_isSame" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_getValue" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - result = (short)((SoSFShort const *)arg1)->getValue(); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_setValue" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFShort_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort___eq__" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort___eq__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort___eq__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - result = (int)((SoSFShort const *)arg1)->operator ==((SoSFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort___ne__" "', argument " "1"" of type '" "SoSFShort const *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort___ne__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFShort___ne__" "', argument " "2"" of type '" "SoSFShort const &""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - result = (int)((SoSFShort const *)arg1)->operator !=((SoSFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_initClass",0,0)) SWIG_fail; - SoSFShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFShort *arg1 = (SoSFShort *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFShort_setValue" "', argument " "1"" of type '" "SoSFShort *""'"); - } - arg1 = reinterpret_cast< SoSFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFShort_setValue" "', argument " "2"" of type '" "SoSFShort const *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - SoSFShort_setValue__SWIG_1(arg1,(SoSFShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFShort_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFShort *,short)\n"" setValue(SoSFShort *,SoSFShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCounter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getClassTypeId",0,0)) SWIG_fail; - result = SoCounter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getTypeId" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = ((SoCounter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getFieldData" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoFieldData *)((SoCounter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_getOutputData" "', argument " "1"" of type '" "SoCounter const *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutputData *)((SoCounter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_createInstance",0,0)) SWIG_fail; - result = (void *)SoCounter::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_initClass",0,0)) SWIG_fail; - SoCounter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCounter",0,0)) SWIG_fail; - result = (SoCounter *)new SoCounter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCounter, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_min_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_min_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->min = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_min_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_max_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_max_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->max = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_max_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_step_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_step_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_step_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_step_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->step = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_step_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_step_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_step_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->step); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_trigger_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_trigger_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_reset_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_reset_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->reset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_reset_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_output_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_output_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_syncOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_syncOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_syncOut_set" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCounter_syncOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->syncOut = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCounter_syncOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCounter *arg1 = (SoCounter *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCounter_syncOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCounter_syncOut_get" "', argument " "1"" of type '" "SoCounter *""'"); - } - arg1 = reinterpret_cast< SoCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->syncOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCounter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCounter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFTime",0,0)) SWIG_fail; - result = (SoSFTime *)new SoSFTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFTime" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getClassTypeId",0,0)) SWIG_fail; - result = SoSFTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_getTypeId" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - result = ((SoSFTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_copyFrom" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_isSame" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFTime const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_getValue" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - { - SbTime const &_result_ref = ((SoSFTime const *)arg1)->getValue(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_setValue" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime___eq__" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime___eq__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime___eq__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - result = (int)((SoSFTime const *)arg1)->operator ==((SoSFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime___ne__" "', argument " "1"" of type '" "SoSFTime const *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime___ne__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFTime___ne__" "', argument " "2"" of type '" "SoSFTime const &""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - result = (int)((SoSFTime const *)arg1)->operator !=((SoSFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_initClass",0,0)) SWIG_fail; - SoSFTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFTime *arg1 = (SoSFTime *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFTime_setValue" "', argument " "1"" of type '" "SoSFTime *""'"); - } - arg1 = reinterpret_cast< SoSFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFTime_setValue" "', argument " "2"" of type '" "SoSFTime const *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - SoSFTime_setValue__SWIG_1(arg1,(SoSFTime const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFTime_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoSFTime_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFTime_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFTime *,SbTime const &)\n"" setValue(SoSFTime *,SoSFTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getClassTypeId",0,0)) SWIG_fail; - result = SoElapsedTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getTypeId" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = ((SoElapsedTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getFieldData" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoFieldData *)((SoElapsedTime const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_getOutputData" "', argument " "1"" of type '" "SoElapsedTime const *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoEngineOutputData *)((SoElapsedTime const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoElapsedTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_initClass",0,0)) SWIG_fail; - SoElapsedTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoElapsedTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoElapsedTime",0,0)) SWIG_fail; - result = (SoElapsedTime *)new SoElapsedTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoElapsedTime, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeIn_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeIn_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_speed_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_speed_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_on_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_on_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_pause_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_pause_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_pause_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_pause_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->pause = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_pause_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_pause_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_pause_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFBool *)& ((arg1)->pause); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_reset_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_reset_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->reset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_reset_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoSFTrigger *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeOut_set" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoElapsedTime_timeOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->timeOut = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoElapsedTime_timeOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoElapsedTime *arg1 = (SoElapsedTime *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoElapsedTime_timeOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoElapsedTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoElapsedTime_timeOut_get" "', argument " "1"" of type '" "SoElapsedTime *""'"); - } - arg1 = reinterpret_cast< SoElapsedTime * >(argp1); - result = (SoEngineOutput *)& ((arg1)->timeOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoElapsedTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoElapsedTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getClassTypeId",0,0)) SWIG_fail; - result = SoFieldConverter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getTypeId" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = ((SoFieldConverter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getFieldData" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoFieldData *)((SoFieldConverter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getOutputData" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoEngineOutputData *)((SoFieldConverter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_initClass",0,0)) SWIG_fail; - SoFieldConverter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_initClasses",0,0)) SWIG_fail; - SoFieldConverter::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoType arg2 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getInput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getInput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getInput" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getInput" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoField *)(arg1)->getInput(arg2); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoType arg2 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getOutput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getOutput" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getOutput" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SoEngineOutput *)(arg1)->getOutput(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getConnectedInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getConnectedInput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getConnectedInput" "', argument " "1"" of type '" "SoFieldConverter *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - result = (SoField *)(arg1)->getConnectedInput(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFieldConverter_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFieldConverter *arg1 = (SoFieldConverter *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFieldConverter_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFieldConverter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFieldConverter_getForwardConnections" "', argument " "1"" of type '" "SoFieldConverter const *""'"); - } - arg1 = reinterpret_cast< SoFieldConverter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFieldConverter_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoFieldConverter_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoFieldConverter const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFieldConverter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFieldConverter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getClassTypeId",0,0)) SWIG_fail; - result = SoGate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getTypeId" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = ((SoGate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getFieldData" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoFieldData *)((SoGate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_getOutputData" "', argument " "1"" of type '" "SoGate const *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoEngineOutputData *)((SoGate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_createInstance",0,0)) SWIG_fail; - result = (void *)SoGate::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_initClass",0,0)) SWIG_fail; - SoGate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoGate *result = 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGate",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoGate" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoGate" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoGate *)new SoGate(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_enable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_enable_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_enable_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_enable_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enable = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_enable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_enable_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_enable_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoSFBool *)& ((arg1)->enable); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_trigger_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_trigger_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoMField *arg2 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_input_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_input_set" "', argument " "2"" of type '" "SoMField *""'"); - } - arg2 = reinterpret_cast< SoMField * >(argp2); - if (arg1) (arg1)->input = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoMField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_input_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoMField *) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_output_set" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGate *arg1 = (SoGate *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGate_output_get" "', argument " "1"" of type '" "SoGate *""'"); - } - arg1 = reinterpret_cast< SoGate * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getTypeId" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = ((SoInterpolate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getFieldData" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoFieldData *)((SoInterpolate const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_getOutputData" "', argument " "1"" of type '" "SoInterpolate const *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoEngineOutputData *)((SoInterpolate const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_initClass",0,0)) SWIG_fail; - SoInterpolate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_initClasses",0,0)) SWIG_fail; - SoInterpolate::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_alpha_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_alpha_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_alpha_set" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolate_alpha_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->alpha = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_alpha_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_alpha_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_alpha_get" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoSFFloat *)& ((arg1)->alpha); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_output_set" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolate_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolate_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolate *arg1 = (SoInterpolate *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolate_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolate_output_get" "', argument " "1"" of type '" "SoInterpolate *""'"); - } - arg1 = reinterpret_cast< SoInterpolate * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateFloat::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getTypeId" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = ((SoInterpolateFloat const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getFieldData" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoFieldData *)((SoInterpolateFloat const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_getOutputData" "', argument " "1"" of type '" "SoInterpolateFloat const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateFloat const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateFloat::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateFloat",0,0)) SWIG_fail; - result = (SoInterpolateFloat *)new SoInterpolateFloat(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateFloat, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_initClass",0,0)) SWIG_fail; - SoInterpolateFloat::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input0_set" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateFloat_input0_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input0_get" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoMFFloat *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input1_set" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateFloat_input1_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateFloat_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateFloat *arg1 = (SoInterpolateFloat *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateFloat_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateFloat, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateFloat_input1_get" "', argument " "1"" of type '" "SoInterpolateFloat *""'"); - } - arg1 = reinterpret_cast< SoInterpolateFloat * >(argp1); - result = (SoMFFloat *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateFloat, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = ((SoInterpolateVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec2f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec2f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec2f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec2f",0,0)) SWIG_fail; - result = (SoInterpolateVec2f *)new SoInterpolateVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec2f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_initClass",0,0)) SWIG_fail; - SoInterpolateVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec2f_input0_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec2f_input1_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec2f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec2f *arg1 = (SoInterpolateVec2f *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec2f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec2f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec2f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec2f * >(argp1); - result = (SoMFVec2f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = ((SoInterpolateVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec3f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec3f",0,0)) SWIG_fail; - result = (SoInterpolateVec3f *)new SoInterpolateVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_initClass",0,0)) SWIG_fail; - SoInterpolateVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec3f_input0_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec3f_input1_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec3f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec3f *arg1 = (SoInterpolateVec3f *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec3f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec3f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec3f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getTypeId" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = ((SoInterpolateVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getFieldData" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoFieldData *)((SoInterpolateVec4f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_getOutputData" "', argument " "1"" of type '" "SoInterpolateVec4f const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateVec4f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateVec4f",0,0)) SWIG_fail; - result = (SoInterpolateVec4f *)new SoInterpolateVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateVec4f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_initClass",0,0)) SWIG_fail; - SoInterpolateVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input0_set" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec4f_input0_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input0_get" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input1_set" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateVec4f_input1_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateVec4f_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateVec4f *arg1 = (SoInterpolateVec4f *) 0 ; - SoMFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateVec4f_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateVec4f_input1_get" "', argument " "1"" of type '" "SoInterpolateVec4f *""'"); - } - arg1 = reinterpret_cast< SoInterpolateVec4f * >(argp1); - result = (SoMFVec4f *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoInterpolateRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getTypeId" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = ((SoInterpolateRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getFieldData" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoFieldData *)((SoInterpolateRotation const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_getOutputData" "', argument " "1"" of type '" "SoInterpolateRotation const *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoEngineOutputData *)((SoInterpolateRotation const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_createInstance",0,0)) SWIG_fail; - result = (void *)SoInterpolateRotation::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInterpolateRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInterpolateRotation",0,0)) SWIG_fail; - result = (SoInterpolateRotation *)new SoInterpolateRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInterpolateRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_initClass",0,0)) SWIG_fail; - SoInterpolateRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input0_set" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateRotation_input0_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input0_get" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input1_set" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInterpolateRotation_input1_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInterpolateRotation_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInterpolateRotation *arg1 = (SoInterpolateRotation *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInterpolateRotation_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInterpolateRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInterpolateRotation_input1_get" "', argument " "1"" of type '" "SoInterpolateRotation *""'"); - } - arg1 = reinterpret_cast< SoInterpolateRotation * >(argp1); - result = (SoMFRotation *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInterpolateRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInterpolateRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOnOff_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getClassTypeId",0,0)) SWIG_fail; - result = SoOnOff::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getTypeId" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = ((SoOnOff const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getFieldData" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoFieldData *)((SoOnOff const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_getOutputData" "', argument " "1"" of type '" "SoOnOff const *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutputData *)((SoOnOff const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_createInstance",0,0)) SWIG_fail; - result = (void *)SoOnOff::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_initClass",0,0)) SWIG_fail; - SoOnOff::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOnOff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOnOff",0,0)) SWIG_fail; - result = (SoOnOff *)new SoOnOff(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOnOff, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_on_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_on_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_on_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_off_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_off_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_off_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_off_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->off = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_off_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_off_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_off_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->off); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_toggle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_toggle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_toggle_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_toggle_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->toggle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_toggle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_toggle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_toggle_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoSFTrigger *)& ((arg1)->toggle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOn_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_isOn_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isOn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOn_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isOn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOff_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOff_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOff_set" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOnOff_isOff_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isOff = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOnOff_isOff_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOnOff *arg1 = (SoOnOff *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOnOff_isOff_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOnOff, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOnOff_isOff_get" "', argument " "1"" of type '" "SoOnOff *""'"); - } - arg1 = reinterpret_cast< SoOnOff * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isOff); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOnOff_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOnOff, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBitMask",0,0)) SWIG_fail; - result = (SoSFBitMask *)new SoSFBitMask(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBitMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBitMask" "', argument " "1"" of type '" "SoSFBitMask *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBitMask::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBitMask::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_getTypeId" "', argument " "1"" of type '" "SoSFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - result = ((SoSFBitMask const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_copyFrom" "', argument " "1"" of type '" "SoSFBitMask *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBitMask *arg1 = (SoSFBitMask *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBitMask_isSame" "', argument " "1"" of type '" "SoSFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoSFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBitMask const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBitMask_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBitMask_initClass",0,0)) SWIG_fail; - SoSFBitMask::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSFBitMask_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBitMask, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOneShot_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getClassTypeId",0,0)) SWIG_fail; - result = SoOneShot::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getTypeId" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = ((SoOneShot const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getFieldData" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoFieldData *)((SoOneShot const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_getOutputData" "', argument " "1"" of type '" "SoOneShot const *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutputData *)((SoOneShot const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_createInstance",0,0)) SWIG_fail; - result = (void *)SoOneShot::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_initClass",0,0)) SWIG_fail; - SoOneShot::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOneShot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShot",0,0)) SWIG_fail; - result = (SoOneShot *)new SoOneShot(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShot, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeIn_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeIn_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_duration_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_duration_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_duration_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_duration_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->duration = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_duration_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_duration_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_duration_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTime *)& ((arg1)->duration); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_trigger_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_trigger_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_trigger_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_trigger_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->trigger = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_trigger_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_trigger_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_trigger_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFTrigger *)& ((arg1)->trigger); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_flags_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_flags_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_flags_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->flags = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_flags_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_flags_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFBitMask *)& ((arg1)->flags); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_disable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_disable_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_disable_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_disable_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->disable = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_disable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_disable_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_disable_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoSFBool *)& ((arg1)->disable); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeOut_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_timeOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->timeOut = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_timeOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_timeOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_timeOut_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->timeOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_isActive_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_isActive_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_isActive_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_ramp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_ramp_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_ramp_set" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOneShot_ramp_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->ramp = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOneShot_ramp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShot *arg1 = (SoOneShot *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOneShot_ramp_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShot, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOneShot_ramp_get" "', argument " "1"" of type '" "SoOneShot *""'"); - } - arg1 = reinterpret_cast< SoOneShot * >(argp1); - result = (SoEngineOutput *)& ((arg1)->ramp); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOneShot_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOneShot, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSelectOne_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getClassTypeId",0,0)) SWIG_fail; - result = SoSelectOne::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getTypeId" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = ((SoSelectOne const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getFieldData" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoFieldData *)((SoSelectOne const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_getOutputData" "', argument " "1"" of type '" "SoSelectOne const *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoEngineOutputData *)((SoSelectOne const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_createInstance",0,0)) SWIG_fail; - result = (void *)SoSelectOne::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_index_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_index_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_index_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoSFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_input_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoMField *arg2 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_input_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_input_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_input_set" "', argument " "2"" of type '" "SoMField *""'"); - } - arg2 = reinterpret_cast< SoMField * >(argp2); - if (arg1) (arg1)->input = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_input_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoMField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_input_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_input_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoMField *) ((arg1)->input); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMField, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_output_set" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelectOne_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelectOne *arg1 = (SoSelectOne *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelectOne, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelectOne_output_get" "', argument " "1"" of type '" "SoSelectOne *""'"); - } - arg1 = reinterpret_cast< SoSelectOne * >(argp1); - result = (SoEngineOutput *) ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelectOne(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoSelectOne *result = 0 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelectOne",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoSelectOne" "', argument " "1"" of type '" "SoType""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoSelectOne" "', argument " "1"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - result = (SoSelectOne *)new SoSelectOne(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelectOne, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelectOne_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelectOne_initClass",0,0)) SWIG_fail; - SoSelectOne::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSelectOne_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSelectOne, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getClassTypeId",0,0)) SWIG_fail; - result = SoTimeCounter::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getTypeId" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = ((SoTimeCounter const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getFieldData" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoFieldData *)((SoTimeCounter const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_getOutputData" "', argument " "1"" of type '" "SoTimeCounter const *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutputData *)((SoTimeCounter const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_createInstance",0,0)) SWIG_fail; - result = (void *)SoTimeCounter::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_timeIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_timeIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_timeIn_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_timeIn_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->timeIn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_timeIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_timeIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_timeIn_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFTime *)& ((arg1)->timeIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_min_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_min_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_min_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->min = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_min_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_min_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->min); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_max_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_max_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_max_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->max = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_max_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_max_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->max); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_step_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_step_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_step_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_step_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->step = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_step_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_step_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_step_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->step); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_on_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_on_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_frequency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_frequency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_frequency_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_frequency_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->frequency = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_frequency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_frequency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_frequency_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFFloat *)& ((arg1)->frequency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_duty_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_duty_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_duty_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_duty_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->duty = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_duty_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_duty_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_duty_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoMFFloat *)& ((arg1)->duty); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_reset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_reset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_reset_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_reset_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->reset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_reset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_reset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_reset_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFShort *)& ((arg1)->reset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncIn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncIn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncIn_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_syncIn_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->syncIn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncIn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncIn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncIn_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoSFTrigger *)& ((arg1)->syncIn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_output_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_output_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncOut_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncOut_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncOut_set" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTimeCounter_syncOut_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->syncOut = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_syncOut_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *arg1 = (SoTimeCounter *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_syncOut_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimeCounter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimeCounter_syncOut_get" "', argument " "1"" of type '" "SoTimeCounter *""'"); - } - arg1 = reinterpret_cast< SoTimeCounter * >(argp1); - result = (SoEngineOutput *)& ((arg1)->syncOut); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimeCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimeCounter *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimeCounter",0,0)) SWIG_fail; - result = (SoTimeCounter *)new SoTimeCounter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimeCounter, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimeCounter_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimeCounter_initClass",0,0)) SWIG_fail; - SoTimeCounter::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTimeCounter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimeCounter, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformVec3f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getTypeId" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = ((SoTransformVec3f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getFieldData" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoFieldData *)((SoTransformVec3f const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_getOutputData" "', argument " "1"" of type '" "SoTransformVec3f const *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutputData *)((SoTransformVec3f const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_createInstance",0,0)) SWIG_fail; - result = (void *)SoTransformVec3f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_initClass",0,0)) SWIG_fail; - SoTransformVec3f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformVec3f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformVec3f",0,0)) SWIG_fail; - result = (SoTransformVec3f *)new SoTransformVec3f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformVec3f, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_vector_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_vector_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_matrix_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoMFMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_matrix_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_point_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_point_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_point_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_direction_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_direction_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_direction_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_normalDirection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_normalDirection_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_normalDirection_set" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformVec3f_normalDirection_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->normalDirection = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformVec3f_normalDirection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformVec3f *arg1 = (SoTransformVec3f *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformVec3f_normalDirection_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformVec3f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformVec3f_normalDirection_get" "', argument " "1"" of type '" "SoTransformVec3f *""'"); - } - arg1 = reinterpret_cast< SoTransformVec3f * >(argp1); - result = (SoEngineOutput *)& ((arg1)->normalDirection); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformVec3f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformVec3f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getClassTypeId",0,0)) SWIG_fail; - result = SoTriggerAny::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getTypeId" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = ((SoTriggerAny const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getFieldData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoFieldData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getFieldData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getFieldData" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoFieldData *)((SoTriggerAny const *)arg1)->getFieldData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFieldData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_getOutputData" "', argument " "1"" of type '" "SoTriggerAny const *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoEngineOutputData *)((SoTriggerAny const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_createInstance",0,0)) SWIG_fail; - result = (void *)SoTriggerAny::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_initClass",0,0)) SWIG_fail; - SoTriggerAny::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTriggerAny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTriggerAny",0,0)) SWIG_fail; - result = (SoTriggerAny *)new SoTriggerAny(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTriggerAny, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input0_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input0_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input0_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input1_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input1_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input1_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input2_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input2_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input2 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input2_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input3_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input3_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input3 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input3_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input4_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input4_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input4_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input4 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input4_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input4_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input5_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input5_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input5_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input5_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input5 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input5_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input5_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input5_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input6_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input6_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input6_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input6_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input6 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input6_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input6_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input6_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input7_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input7_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input7_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input7_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input7 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input7_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input7_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input7_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input8_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input8_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input8_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input8_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input8 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input8_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input8_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input8_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input9_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *arg2 = (SoSFTrigger *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input9_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input9_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_input9_set" "', argument " "2"" of type '" "SoSFTrigger *""'"); - } - arg2 = reinterpret_cast< SoSFTrigger * >(argp2); - if (arg1) (arg1)->input9 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_input9_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoSFTrigger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_input9_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_input9_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoSFTrigger *)& ((arg1)->input9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTrigger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_output_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_output_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_output_set" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriggerAny_output_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->output = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriggerAny_output_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriggerAny *arg1 = (SoTriggerAny *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriggerAny_output_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriggerAny, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriggerAny_output_get" "', argument " "1"" of type '" "SoTriggerAny *""'"); - } - arg1 = reinterpret_cast< SoTriggerAny * >(argp1); - result = (SoEngineOutput *)& ((arg1)->output); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTriggerAny_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTriggerAny, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_initClass",0,0)) SWIG_fail; - SoNodeEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoNodeEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_evaluateWrapper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_evaluateWrapper",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_evaluateWrapper" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - (arg1)->evaluateWrapper(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoEngineOutputList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputs" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoEngineOutputList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNodeEngine_getOutputs" "', argument " "2"" of type '" "SoEngineOutputList &""'"); - } - arg2 = reinterpret_cast< SoEngineOutputList * >(argp2); - result = (int)((SoNodeEngine const *)arg1)->getOutputs(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SbName *arg2 = 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutput",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutput" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoEngineOutput *)((SoNodeEngine const *)arg1)->getOutput((SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputName",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputName" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_getOutputName" "', argument " "2"" of type '" "SoEngineOutput const *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoNodeEngine const *)arg1)->getOutputName((SoEngineOutput const *)arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_getOutputData" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - result = (SoEngineOutputData *)((SoNodeEngine const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_isNotifying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_isNotifying",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_isNotifying" "', argument " "1"" of type '" "SoNodeEngine const *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - result = (SbBool)((SoNodeEngine const *)arg1)->isNotifying(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_notify" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeEngine_writeInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeEngine *arg1 = (SoNodeEngine *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeEngine_writeInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeEngine_writeInstance" "', argument " "1"" of type '" "SoNodeEngine *""'"); - } - arg1 = reinterpret_cast< SoNodeEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeEngine_writeInstance" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - (arg1)->writeInstance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoError",0,0)) SWIG_fail; - result = (SoError *)new SoError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoError" "', argument " "1"" of type '" "SoError *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getDebugString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getDebugString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getDebugString" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - SbString const &_result_ref = ((SoError const *)arg1)->getDebugString(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getClassTypeId",0,0)) SWIG_fail; - result = SoError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getTypeId" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - result = ((SoError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoError *arg1 = (SoError *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_isOfType" "', argument " "1"" of type '" "SoError const *""'"); - } - arg1 = reinterpret_cast< SoError * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoError_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoError const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - void *arg2 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_post",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoError::post((char const *)arg1,arg2); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,1); - varargs = PyTuple_GetSlice(args,1,PyTuple_Size(args)+1); - resultobj = _wrap_SoError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) (SoNode *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoNode const *const""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = SoError::getString((SoNode const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) (SoPath *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoPath const *const""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - result = SoError::getString((SoPath const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEngine *arg1 = (SoEngine *) (SoEngine *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoError_getString" "', argument " "1"" of type '" "SoEngine const *const""'"); - } - arg1 = reinterpret_cast< SoEngine * >(argp1); - result = SoError::getString((SoEngine const *)arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_getString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoError_getString__SWIG_2(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoError_getString'.\n Possible C/C++ prototypes are:\n"" getString(SoNode const *const)\n"" getString(SoPath const *const)\n"" SoError::getString(SoEngine const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClass",0,0)) SWIG_fail; - SoError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoError_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoError_initClasses",0,0)) SWIG_fail; - SoError::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDebugError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoDebugError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoDebugError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoDebugError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoDebugError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getClassTypeId",0,0)) SWIG_fail; - result = SoDebugError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getTypeId" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = ((SoDebugError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_getSeverity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - SoDebugError::Severity result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_getSeverity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_getSeverity" "', argument " "1"" of type '" "SoDebugError const *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - result = (SoDebugError::Severity)((SoDebugError const *)arg1)->getSeverity(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_post",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_post" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::post((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postWarning",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postWarning" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postWarning" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postWarning((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postWarning(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postWarning__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_postInfo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDebugError_postInfo" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDebugError_postInfo" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoDebugError::postInfo((char const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_postInfo(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoDebugError_postInfo__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoDebugError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDebugError_initClass",0,0)) SWIG_fail; - SoDebugError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDebugError",0,0)) SWIG_fail; - result = (SoDebugError *)new SoDebugError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDebugError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDebugError *arg1 = (SoDebugError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoDebugError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDebugError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoDebugError" "', argument " "1"" of type '" "SoDebugError *""'"); - } - arg1 = reinterpret_cast< SoDebugError * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDebugError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDebugError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMemoryError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoMemoryError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoMemoryError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoMemoryError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoMemoryError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getClassTypeId",0,0)) SWIG_fail; - result = SoMemoryError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *arg1 = (SoMemoryError *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMemoryError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMemoryError_getTypeId" "', argument " "1"" of type '" "SoMemoryError const *""'"); - } - arg1 = reinterpret_cast< SoMemoryError * >(argp1); - result = ((SoMemoryError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_post(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) (char *)0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_post",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMemoryError_post" "', argument " "1"" of type '" "char const *const""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoMemoryError::post((char const *)arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMemoryError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMemoryError_initClass",0,0)) SWIG_fail; - SoMemoryError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMemoryError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMemoryError",0,0)) SWIG_fail; - result = (SoMemoryError *)new SoMemoryError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMemoryError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMemoryError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMemoryError *arg1 = (SoMemoryError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMemoryError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMemoryError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMemoryError" "', argument " "1"" of type '" "SoMemoryError *""'"); - } - arg1 = reinterpret_cast< SoMemoryError * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMemoryError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMemoryError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoReadError_setHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *arg1 = (SoErrorCB *) (SoErrorCB *)0 ; - void *arg2 = (void *) (void *)0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_setHandlerCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoReadError_setHandlerCallback" "', argument " "1"" of type '" "SoErrorCB *const""'"); - } - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - SoReadError::setHandlerCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getHandlerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoErrorCB *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getHandlerCallback",0,0)) SWIG_fail; - result = (SoErrorCB *)SoReadError::getHandlerCallback(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__SoError_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getHandlerData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getHandlerData",0,0)) SWIG_fail; - result = (void *)SoReadError::getHandlerData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getClassTypeId",0,0)) SWIG_fail; - result = SoReadError::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *arg1 = (SoReadError *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReadError, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReadError_getTypeId" "', argument " "1"" of type '" "SoReadError const *""'"); - } - arg1 = reinterpret_cast< SoReadError * >(argp1); - result = ((SoReadError const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_post__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SoInput *arg1 = (SoInput *) (SoInput *)0 ; - char *arg2 = (char *) (char *)0 ; - void *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_post",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoReadError_post" "', argument " "1"" of type '" "SoInput const *const""'"); - } - arg1 = reinterpret_cast< SoInput * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoReadError_post" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - SoReadError::post((SoInput const *)arg1,(char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_post(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SoReadError_post__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SoReadError_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoReadError_initClass",0,0)) SWIG_fail; - SoReadError::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoReadError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoReadError",0,0)) SWIG_fail; - result = (SoReadError *)new SoReadError(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoReadError, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoReadError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoReadError *arg1 = (SoReadError *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoReadError",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoReadError, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoReadError" "', argument " "1"" of type '" "SoReadError *""'"); - } - arg1 = reinterpret_cast< SoReadError * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoReadError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoReadError, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_getTypeId" "', argument " "1"" of type '" "SoButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - result = ((SoButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoButtonEvent",0,0)) SWIG_fail; - result = (SoButtonEvent *)new SoButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoButtonEvent" "', argument " "1"" of type '" "SoButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_setState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - SoButtonEvent::State arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_setState",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_setState" "', argument " "1"" of type '" "SoButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoButtonEvent_setState" "', argument " "2"" of type '" "SoButtonEvent::State""'"); - } - arg2 = static_cast< SoButtonEvent::State >(val2); - (arg1)->setState(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_getState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoButtonEvent *arg1 = (SoButtonEvent *) 0 ; - SoButtonEvent::State result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_getState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoButtonEvent_getState" "', argument " "1"" of type '" "SoButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoButtonEvent * >(argp1); - result = (SoButtonEvent::State)((SoButtonEvent const *)arg1)->getState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoButtonEvent_initClass",0,0)) SWIG_fail; - SoButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocation2Event_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_getClassTypeId",0,0)) SWIG_fail; - result = SoLocation2Event::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocation2Event_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *arg1 = (SoLocation2Event *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocation2Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocation2Event_getTypeId" "', argument " "1"" of type '" "SoLocation2Event const *""'"); - } - arg1 = reinterpret_cast< SoLocation2Event * >(argp1); - result = ((SoLocation2Event const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLocation2Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *arg1 = (SoLocation2Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLocation2Event",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocation2Event, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLocation2Event" "', argument " "1"" of type '" "SoLocation2Event *""'"); - } - arg1 = reinterpret_cast< SoLocation2Event * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocation2Event_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocation2Event_initClass",0,0)) SWIG_fail; - SoLocation2Event::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLocation2Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocation2Event *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLocation2Event",0,0)) SWIG_fail; - result = (SoLocation2Event *)new SoLocation2Event(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLocation2Event, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocation2Event_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocation2Event, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getClassTypeId",0,0)) SWIG_fail; - result = SoMotion3Event::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getTypeId" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - result = ((SoMotion3Event const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMotion3Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMotion3Event",0,0)) SWIG_fail; - result = (SoMotion3Event *)new SoMotion3Event(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMotion3Event, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMotion3Event(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMotion3Event",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMotion3Event" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_setTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_setTranslation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_setTranslation" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMotion3Event_setTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMotion3Event_setTranslation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTranslation((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getTranslation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getTranslation" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - { - SbVec3f const &_result_ref = ((SoMotion3Event const *)arg1)->getTranslation(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_setRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_setRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_setRotation" "', argument " "1"" of type '" "SoMotion3Event *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMotion3Event_setRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMotion3Event_setRotation" "', argument " "2"" of type '" "SbRotation const &""'"); - } - arg2 = reinterpret_cast< SbRotation * >(argp2); - (arg1)->setRotation((SbRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMotion3Event *arg1 = (SoMotion3Event *) 0 ; - SbRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_getRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMotion3Event, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMotion3Event_getRotation" "', argument " "1"" of type '" "SoMotion3Event const *""'"); - } - arg1 = reinterpret_cast< SoMotion3Event * >(argp1); - { - SbRotation const &_result_ref = ((SoMotion3Event const *)arg1)->getRotation(); - result = (SbRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMotion3Event_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMotion3Event_initClass",0,0)) SWIG_fail; - SoMotion3Event::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMotion3Event_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMotion3Event, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoKeyboardEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getTypeId" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = ((SoKeyboardEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoKeyboardEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoKeyboardEvent",0,0)) SWIG_fail; - result = (SoKeyboardEvent *)new SoKeyboardEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoKeyboardEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoKeyboardEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoKeyboardEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoKeyboardEvent" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_setKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_setKey",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_setKey" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_setKey" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - (arg1)->setKey(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - SoKeyboardEvent::Key result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getKey" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = (SoKeyboardEvent::Key)((SoKeyboardEvent const *)arg1)->getKey(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_setPrintableCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_setPrintableCharacter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_setPrintableCharacter" "', argument " "1"" of type '" "SoKeyboardEvent *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_setPrintableCharacter" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - (arg1)->setPrintableCharacter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_getPrintableCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoKeyboardEvent *arg1 = (SoKeyboardEvent *) 0 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_getPrintableCharacter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoKeyboardEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_getPrintableCharacter" "', argument " "1"" of type '" "SoKeyboardEvent const *""'"); - } - arg1 = reinterpret_cast< SoKeyboardEvent * >(argp1); - result = (char)((SoKeyboardEvent const *)arg1)->getPrintableCharacter(); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_isKeyPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_isKeyPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_isKeyPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_isKeyPressEvent" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - result = (SbBool)SoKeyboardEvent::isKeyPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_isKeyReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoKeyboardEvent::Key arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_isKeyReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoKeyboardEvent_isKeyReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoKeyboardEvent_isKeyReleaseEvent" "', argument " "2"" of type '" "SoKeyboardEvent::Key""'"); - } - arg2 = static_cast< SoKeyboardEvent::Key >(val2); - result = (SbBool)SoKeyboardEvent::isKeyReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoKeyboardEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoKeyboardEvent_initClass",0,0)) SWIG_fail; - SoKeyboardEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoKeyboardEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoKeyboardEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoMouseButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_getTypeId" "', argument " "1"" of type '" "SoMouseButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - result = ((SoMouseButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMouseButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMouseButtonEvent",0,0)) SWIG_fail; - result = (SoMouseButtonEvent *)new SoMouseButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMouseButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMouseButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMouseButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMouseButtonEvent" "', argument " "1"" of type '" "SoMouseButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_setButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_setButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_setButton" "', argument " "1"" of type '" "SoMouseButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_setButton" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - (arg1)->setButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_getButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMouseButtonEvent *arg1 = (SoMouseButtonEvent *) 0 ; - SoMouseButtonEvent::Button result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_getButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMouseButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_getButton" "', argument " "1"" of type '" "SoMouseButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoMouseButtonEvent * >(argp1); - result = (SoMouseButtonEvent::Button)((SoMouseButtonEvent const *)arg1)->getButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_isButtonPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_isButtonPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_isButtonPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_isButtonPressEvent" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - result = (SbBool)SoMouseButtonEvent::isButtonPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_isButtonReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoMouseButtonEvent::Button arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_isButtonReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMouseButtonEvent_isButtonReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMouseButtonEvent_isButtonReleaseEvent" "', argument " "2"" of type '" "SoMouseButtonEvent::Button""'"); - } - arg2 = static_cast< SoMouseButtonEvent::Button >(val2); - result = (SbBool)SoMouseButtonEvent::isButtonReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMouseButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMouseButtonEvent_initClass",0,0)) SWIG_fail; - SoMouseButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMouseButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMouseButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoSpaceballButtonEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_getTypeId" "', argument " "1"" of type '" "SoSpaceballButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - result = ((SoSpaceballButtonEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpaceballButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpaceballButtonEvent",0,0)) SWIG_fail; - result = (SoSpaceballButtonEvent *)new SoSpaceballButtonEvent(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSpaceballButtonEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSpaceballButtonEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSpaceballButtonEvent" "', argument " "1"" of type '" "SoSpaceballButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_setButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_setButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_setButton" "', argument " "1"" of type '" "SoSpaceballButtonEvent *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_setButton" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - (arg1)->setButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_getButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpaceballButtonEvent *arg1 = (SoSpaceballButtonEvent *) 0 ; - SoSpaceballButtonEvent::Button result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_getButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpaceballButtonEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_getButton" "', argument " "1"" of type '" "SoSpaceballButtonEvent const *""'"); - } - arg1 = reinterpret_cast< SoSpaceballButtonEvent * >(argp1); - result = (SoSpaceballButtonEvent::Button)((SoSpaceballButtonEvent const *)arg1)->getButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_isButtonPressEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_isButtonPressEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_isButtonPressEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_isButtonPressEvent" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - result = (SbBool)SoSpaceballButtonEvent::isButtonPressEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_isButtonReleaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoSpaceballButtonEvent::Button arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_isButtonReleaseEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpaceballButtonEvent_isButtonReleaseEvent" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSpaceballButtonEvent_isButtonReleaseEvent" "', argument " "2"" of type '" "SoSpaceballButtonEvent::Button""'"); - } - arg2 = static_cast< SoSpaceballButtonEvent::Button >(val2); - result = (SbBool)SoSpaceballButtonEvent::isButtonReleaseEvent((SoEvent const *)arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpaceballButtonEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpaceballButtonEvent_initClass",0,0)) SWIG_fail; - SoSpaceballButtonEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpaceballButtonEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpaceballButtonEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",0,0)) SWIG_fail; - result = (SbBox3s *)new SbBox3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - SbBox3s *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox3s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox3s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox3s" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbBox3s" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbBox3s" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - result = (SbBox3s *)new SbBox3s(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3s *arg1 = 0 ; - SbVec3s *arg2 = 0 ; - SbBox3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox3s",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "1"" of type '" "SbVec3s const &""'"); - } - arg1 = reinterpret_cast< SbVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox3s" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox3s" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (SbBox3s *)new SbBox3s((SbVec3s const &)*arg1,(SbVec3s const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox3s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox3s__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox3s__SWIG_2(self, args); - } - } - } - if (argc == 6) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox3s__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox3s'.\n Possible C/C++ prototypes are:\n"" SbBox3s()\n"" SbBox3s(short,short,short,short,short,short)\n"" SbBox3s(SbVec3s const &,SbVec3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox3s" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMin" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s const &_result_ref = ((SbBox3s const *)arg1)->getMin(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getMax" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - { - SbVec3s const &_result_ref = ((SbBox3s const *)arg1)->getMax(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_extendBy" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - (arg1)->extendBy((SbVec3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_extendBy" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_extendBy" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - (arg1)->extendBy((SbBox3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbBox3s *,SbVec3s const &)\n"" extendBy(SbBox3s *,SbBox3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_intersect" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - result = (SbBool)((SbBox3s const *)arg1)->intersect((SbVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_intersect" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_intersect" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (SbBool)((SbBox3s const *)arg1)->intersect((SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbBox3s const *,SbVec3s const &)\n"" intersect(SbBox3s const *,SbBox3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - short arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - short val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox3s_setBounds" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox3s_setBounds" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbBox3s_setBounds" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - ecode7 = SWIG_AsVal_short(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbBox3s_setBounds" "', argument " "7"" of type '" "short""'"); - } - arg7 = static_cast< short >(val7); - (arg1)->setBounds(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_setBounds" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_setBounds" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->setBounds((SbVec3s const &)*arg2,(SbVec3s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox3s_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_setBounds'.\n Possible C/C++ prototypes are:\n"" setBounds(SbBox3s *,short,short,short,short,short,short)\n"" setBounds(SbBox3s *,SbVec3s const &,SbVec3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - short *arg5 = 0 ; - short *arg6 = 0 ; - short *arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getBounds",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getBounds" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox3s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - arg5 = reinterpret_cast< short * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbBox3s_getBounds" "', argument " "6"" of type '" "short &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "6"" of type '" "short &""'"); - } - arg6 = reinterpret_cast< short * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SbBox3s_getBounds" "', argument " "7"" of type '" "short &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "7"" of type '" "short &""'"); - } - arg7 = reinterpret_cast< short * >(argp7); - ((SbBox3s const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getBounds" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "SbVec3s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getBounds" "', argument " "3"" of type '" "SbVec3s &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ((SbBox3s const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox3s_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox3s_getBounds'.\n Possible C/C++ prototypes are:\n"" getBounds(SbBox3s const *,short &,short &,short &,short &,short &,short &)\n"" getBounds(SbBox3s const *,SbVec3s &,SbVec3s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getOrigin",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getOrigin" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getOrigin" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getOrigin" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - ((SbBox3s const *)arg1)->getOrigin(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_getSize",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_getSize" "', argument " "1"" of type '" "SbBox3s const *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s_getSize" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox3s_getSize" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox3s_getSize" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s_getSize" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - ((SbBox3s const *)arg1)->getSize(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s_makeEmpty" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s___eq__" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s___eq__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s___eq__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (int)SbBox3s___eq__(arg1,(SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3s *arg1 = (SbBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox3s___ne__" "', argument " "1"" of type '" "SbBox3s *""'"); - } - arg1 = reinterpret_cast< SbBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox3s___ne__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox3s___ne__" "', argument " "2"" of type '" "SbBox3s const &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - result = (int)SbBox3s___ne__(arg1,(SbBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFBox3s",0,0)) SWIG_fail; - result = (SoSFBox3s *)new SoSFBox3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBox3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFBox3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFBox3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFBox3s" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFBox3s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFBox3s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getTypeId" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - result = ((SoSFBox3s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_copyFrom" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_isSame" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFBox3s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbBox3s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getValue" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - result = ((SoSFBox3s const *)arg1)->getValue(); - resultobj = SWIG_NewPointerObj((new SbBox3s(static_cast< const SbBox3s& >(result))), SWIGTYPE_p_SbBox3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbBox3s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbBox3s""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbBox3s""'"); - } else { - SbBox3s * temp = reinterpret_cast< SbBox3s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoSFBox3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s___eq__" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s___eq__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s___eq__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3s * >(argp2); - result = (int)((SoSFBox3s const *)arg1)->operator ==((SoSFBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SoSFBox3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s___ne__" "', argument " "1"" of type '" "SoSFBox3s const *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFBox3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s___ne__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s___ne__" "', argument " "2"" of type '" "SoSFBox3s const &""'"); - } - arg2 = reinterpret_cast< SoSFBox3s * >(argp2); - result = (int)((SoSFBox3s const *)arg1)->operator !=((SoSFBox3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_initClass",0,0)) SWIG_fail; - SoSFBox3s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - short arg6 ; - short arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - short val6 ; - int ecode6 = 0 ; - short val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFBox3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFBox3s_setValue" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - ecode6 = SWIG_AsVal_short(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFBox3s_setValue" "', argument " "6"" of type '" "short""'"); - } - arg6 = static_cast< short >(val6); - ecode7 = SWIG_AsVal_short(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFBox3s_setValue" "', argument " "7"" of type '" "short""'"); - } - arg7 = static_cast< short >(val7); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbVec3s *arg2 = 0 ; - SbVec3s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_setValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_setValue" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - (arg1)->setValue((SbVec3s const &)*arg2,(SbVec3s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_2(self, args); - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFBox3s_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFBox3s *,SbBox3s)\n"" setValue(SoSFBox3s *,short,short,short,short,short,short)\n"" setValue(SoSFBox3s *,SbVec3s const &,SbVec3s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFBox3s *arg1 = (SoSFBox3s *) 0 ; - SbBox3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFBox3s_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFBox3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFBox3s_getValue" "', argument " "1"" of type '" "SoSFBox3s *""'"); - } - arg1 = reinterpret_cast< SoSFBox3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFBox3s_getValue" "', argument " "2"" of type '" "SbBox3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFBox3s_getValue" "', argument " "2"" of type '" "SbBox3s &""'"); - } - arg2 = reinterpret_cast< SbBox3s * >(argp2); - (arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFBox3s_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbBox3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFBox3s_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFBox3s_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SoSFBox3s const *)\n"" getValue(SoSFBox3s *,SbBox3s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFBox3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFBox3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFImage3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFImage3",0,0)) SWIG_fail; - result = (SoSFImage3 *)new SoSFImage3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage3, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFImage3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFImage3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFImage3" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFImage3::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getClassTypeId",0,0)) SWIG_fail; - result = SoSFImage3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_getTypeId" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = ((SoSFImage3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_copyFrom" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_isSame" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFImage3 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_initClass",0,0)) SWIG_fail; - SoSFImage3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_getValue" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = (unsigned char *)((SoSFImage3 const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec3s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage3_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoSFImage3_setValue" "', argument " "4"" of type '" "unsigned char const *""'"); - } - arg4 = reinterpret_cast< unsigned char * >(argp4); - (arg1)->setValue((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3___eq__" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage3, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3___eq__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3___eq__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - result = (int)((SoSFImage3 const *)arg1)->operator ==((SoSFImage3 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3___ne__" "', argument " "1"" of type '" "SoSFImage3 const *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFImage3, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3___ne__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3___ne__" "', argument " "2"" of type '" "SoSFImage3 const &""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - result = (int)((SoSFImage3 const *)arg1)->operator !=((SoSFImage3 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3s(); - arg3 = &temp2; - } - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_startEditing" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - result = (unsigned char *)(arg1)->startEditing(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = Py_BuildValue("(s#Oi)", - (const char *)result, - (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * (*arg3), - SWIG_NewPointerObj((void *)arg2, SWIGTYPE_p_SbVec3s, 1), - *arg3); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_finishEditing" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFImage3_setValue" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - arg4 = obj3; - SoSFImage3_setValue__SWIG_1(arg1,(SbVec3s const &)*arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFImage3 *arg1 = (SoSFImage3 *) 0 ; - SoSFImage3 *arg2 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFImage3_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFImage3_setValue" "', argument " "1"" of type '" "SoSFImage3 *""'"); - } - arg1 = reinterpret_cast< SoSFImage3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFImage3_setValue" "', argument " "2"" of type '" "SoSFImage3 const *""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - SoSFImage3_setValue__SWIG_2(arg1,(SoSFImage3 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFImage3_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFImage3, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoSFImage3_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFImage3_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFImage3 *,SbVec3s const &,int const,unsigned char const *)\n"" setValue(SoSFImage3 *,SbVec3s const &,int const,PyObject *)\n"" setValue(SoSFImage3 *,SoSFImage3 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFImage3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFImage3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFMatrix",0,0)) SWIG_fail; - result = (SoSFMatrix *)new SoSFMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFMatrix" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFMatrix::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getClassTypeId",0,0)) SWIG_fail; - result = SoSFMatrix::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_getTypeId" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - result = ((SoSFMatrix const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_copyFrom" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_isSame" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFMatrix const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_getValue" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - { - SbMatrix const &_result_ref = ((SoSFMatrix const *)arg1)->getValue(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setValue((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix___eq__" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix___eq__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix___eq__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - result = (int)((SoSFMatrix const *)arg1)->operator ==((SoSFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix___ne__" "', argument " "1"" of type '" "SoSFMatrix const *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix___ne__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFMatrix___ne__" "', argument " "2"" of type '" "SoSFMatrix const &""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - result = (int)((SoSFMatrix const *)arg1)->operator !=((SoSFMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_initClass",0,0)) SWIG_fail; - SoSFMatrix::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - float arg6 ; - float arg7 ; - float arg8 ; - float arg9 ; - float arg10 ; - float arg11 ; - float arg12 ; - float arg13 ; - float arg14 ; - float arg15 ; - float arg16 ; - float arg17 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - float val9 ; - int ecode9 = 0 ; - float val10 ; - int ecode10 = 0 ; - float val11 ; - int ecode11 = 0 ; - float val12 ; - int ecode12 = 0 ; - float val13 ; - int ecode13 = 0 ; - float val14 ; - int ecode14 = 0 ; - float val15 ; - int ecode15 = 0 ; - float val16 ; - int ecode16 = 0 ; - float val17 ; - int ecode17 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - PyObject * obj16 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",17,17,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFMatrix_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFMatrix_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFMatrix_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoSFMatrix_setValue" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoSFMatrix_setValue" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoSFMatrix_setValue" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_float(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoSFMatrix_setValue" "', argument " "9"" of type '" "float""'"); - } - arg9 = static_cast< float >(val9); - ecode10 = SWIG_AsVal_float(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SoSFMatrix_setValue" "', argument " "10"" of type '" "float""'"); - } - arg10 = static_cast< float >(val10); - ecode11 = SWIG_AsVal_float(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "SoSFMatrix_setValue" "', argument " "11"" of type '" "float""'"); - } - arg11 = static_cast< float >(val11); - ecode12 = SWIG_AsVal_float(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "SoSFMatrix_setValue" "', argument " "12"" of type '" "float""'"); - } - arg12 = static_cast< float >(val12); - ecode13 = SWIG_AsVal_float(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "SoSFMatrix_setValue" "', argument " "13"" of type '" "float""'"); - } - arg13 = static_cast< float >(val13); - ecode14 = SWIG_AsVal_float(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "SoSFMatrix_setValue" "', argument " "14"" of type '" "float""'"); - } - arg14 = static_cast< float >(val14); - ecode15 = SWIG_AsVal_float(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "SoSFMatrix_setValue" "', argument " "15"" of type '" "float""'"); - } - arg15 = static_cast< float >(val15); - ecode16 = SWIG_AsVal_float(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "SoSFMatrix_setValue" "', argument " "16"" of type '" "float""'"); - } - arg16 = static_cast< float >(val16); - ecode17 = SWIG_AsVal_float(obj16, &val17); - if (!SWIG_IsOK(ecode17)) { - SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "SoSFMatrix_setValue" "', argument " "17"" of type '" "float""'"); - } - arg17 = static_cast< float >(val17); - (arg1)->setValue(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFMatrix *arg1 = (SoSFMatrix *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFMatrix_setValue" "', argument " "1"" of type '" "SoSFMatrix *""'"); - } - arg1 = reinterpret_cast< SoSFMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFMatrix_setValue" "', argument " "2"" of type '" "SoSFMatrix const *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - SoSFMatrix_setValue__SWIG_2(arg1,(SoSFMatrix const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFMatrix_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[18]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 17); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_2(self, args); - } - } - } - if (argc == 17) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[16], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFMatrix_setValue__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFMatrix_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFMatrix *,SbMatrix const &)\n"" setValue(SoSFMatrix *,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const,float const)\n"" setValue(SoSFMatrix *,SoSFMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFPlane",0,0)) SWIG_fail; - result = (SoSFPlane *)new SoSFPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFPlane" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFPlane::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoSFPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_getTypeId" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - result = ((SoSFPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_copyFrom" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_isSame" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFPlane const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_getValue" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - { - SbPlane const &_result_ref = ((SoSFPlane const *)arg1)->getValue(); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_setValue" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setValue((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane___eq__" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane___eq__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane___eq__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - result = (int)((SoSFPlane const *)arg1)->operator ==((SoSFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane___ne__" "', argument " "1"" of type '" "SoSFPlane const *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane___ne__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFPlane___ne__" "', argument " "2"" of type '" "SoSFPlane const &""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - result = (int)((SoSFPlane const *)arg1)->operator !=((SoSFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_initClass",0,0)) SWIG_fail; - SoSFPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFPlane *arg1 = (SoSFPlane *) 0 ; - SoSFPlane *arg2 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFPlane_setValue" "', argument " "1"" of type '" "SoSFPlane *""'"); - } - arg1 = reinterpret_cast< SoSFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFPlane_setValue" "', argument " "2"" of type '" "SoSFPlane const *""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - SoSFPlane_setValue__SWIG_1(arg1,(SoSFPlane const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFPlane_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPlane_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFPlane_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFPlane_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFPlane *,SbPlane const &)\n"" setValue(SoSFPlane *,SoSFPlane const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFUInt32",0,0)) SWIG_fail; - result = (SoSFUInt32 *)new SoSFUInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFUInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFUInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFUInt32" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFUInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoSFUInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_getTypeId" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - result = ((SoSFUInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_copyFrom" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_isSame" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFUInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_getValue" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - result = (uint32_t)((SoSFUInt32 const *)arg1)->getValue(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_setValue" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFUInt32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32___eq__" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32___eq__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32___eq__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - result = (int)((SoSFUInt32 const *)arg1)->operator ==((SoSFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32___ne__" "', argument " "1"" of type '" "SoSFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32___ne__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFUInt32___ne__" "', argument " "2"" of type '" "SoSFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - result = (int)((SoSFUInt32 const *)arg1)->operator !=((SoSFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_initClass",0,0)) SWIG_fail; - SoSFUInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFUInt32 *arg1 = (SoSFUInt32 *) 0 ; - SoSFUInt32 *arg2 = (SoSFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFUInt32_setValue" "', argument " "1"" of type '" "SoSFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoSFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFUInt32_setValue" "', argument " "2"" of type '" "SoSFUInt32 const *""'"); - } - arg2 = reinterpret_cast< SoSFUInt32 * >(argp2); - SoSFUInt32_setValue__SWIG_1(arg1,(SoSFUInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFUInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFUInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFUInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFUInt32_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFUInt32 *,uint32_t)\n"" setValue(SoSFUInt32 *,SoSFUInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFUInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFUInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2f",0,0)) SWIG_fail; - result = (SoSFVec2f *)new SoSFVec2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2f" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_getTypeId" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - result = ((SoSFVec2f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_copyFrom" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_isSame" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_getValue" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - { - SbVec2f const &_result_ref = ((SoSFVec2f const *)arg1)->getValue(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setValue((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f___eq__" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f___eq__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f___eq__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - result = (int)((SoSFVec2f const *)arg1)->operator ==((SoSFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f___ne__" "', argument " "1"" of type '" "SoSFVec2f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f___ne__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2f___ne__" "', argument " "2"" of type '" "SoSFVec2f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - result = (int)((SoSFVec2f const *)arg1)->operator !=((SoSFVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_initClass",0,0)) SWIG_fail; - SoSFVec2f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - float arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - { - convert_SbVec2f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2f *arg1 = (SoSFVec2f *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2f_setValue" "', argument " "1"" of type '" "SoSFVec2f *""'"); - } - arg1 = reinterpret_cast< SoSFVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2f_setValue" "', argument " "2"" of type '" "SoSFVec2f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - SoSFVec2f_setValue__SWIG_3(arg1,(SoSFVec2f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec2f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2f_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec2f *,SbVec2f const &)\n"" setValue(SoSFVec2f *,float const,float const)\n"" setValue(SoSFVec2f *,float const [2])\n"" setValue(SoSFVec2f *,SoSFVec2f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec2s",0,0)) SWIG_fail; - result = (SoSFVec2s *)new SoSFVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec2s" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec2s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec2s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_getTypeId" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - result = ((SoSFVec2s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_copyFrom" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_isSame" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec2s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_getValue" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - { - SbVec2s const &_result_ref = ((SoSFVec2s const *)arg1)->getValue(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setValue((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoSFVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s___eq__" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s___eq__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s___eq__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - result = (int)((SoSFVec2s const *)arg1)->operator ==((SoSFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - SoSFVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s___ne__" "', argument " "1"" of type '" "SoSFVec2s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s___ne__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec2s___ne__" "', argument " "2"" of type '" "SoSFVec2s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - result = (int)((SoSFVec2s const *)arg1)->operator !=((SoSFVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_initClass",0,0)) SWIG_fail; - SoSFVec2s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - short arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec2s *arg1 = (SoSFVec2s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec2s_setValue" "', argument " "1"" of type '" "SoSFVec2s *""'"); - } - arg1 = reinterpret_cast< SoSFVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec2s_setValue" "', argument " "2"" of type '" "short const [2]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec2s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec2s *,SbVec2s const &)\n"" setValue(SoSFVec2s *,short const,short const)\n"" setValue(SoSFVec2s *,short const [2])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3d",0,0)) SWIG_fail; - result = (SoSFVec3d *)new SoSFVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3d" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_getTypeId" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - result = ((SoSFVec3d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_copyFrom" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_isSame" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_getValue" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - { - SbVec3d const &_result_ref = ((SoSFVec3d const *)arg1)->getValue(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setValue((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoSFVec3d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d___eq__" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d___eq__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d___eq__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3d * >(argp2); - result = (int)((SoSFVec3d const *)arg1)->operator ==((SoSFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - SoSFVec3d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d___ne__" "', argument " "1"" of type '" "SoSFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d___ne__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3d___ne__" "', argument " "2"" of type '" "SoSFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3d * >(argp2); - result = (int)((SoSFVec3d const *)arg1)->operator !=((SoSFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_initClass",0,0)) SWIG_fail; - SoSFVec3d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3d *arg1 = (SoSFVec3d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3d_setValue" "', argument " "1"" of type '" "SoSFVec3d *""'"); - } - arg1 = reinterpret_cast< SoSFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3d_setValue" "', argument " "2"" of type '" "double const [3]""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3d_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec3d *,SbVec3d const &)\n"" setValue(SoSFVec3d *,double const,double const,double const)\n"" setValue(SoSFVec3d *,double const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec3s",0,0)) SWIG_fail; - result = (SoSFVec3s *)new SoSFVec3s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec3s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec3s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec3s" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec3s::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec3s::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_getTypeId" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - result = ((SoSFVec3s const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_copyFrom" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_isSame" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec3s const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SbVec3s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_getValue" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - { - SbVec3s const &_result_ref = ((SoSFVec3s const *)arg1)->getValue(); - result = (SbVec3s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SbVec3s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "SbVec3s const &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - (arg1)->setValue((SbVec3s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoSFVec3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s___eq__" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s___eq__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s___eq__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3s * >(argp2); - result = (int)((SoSFVec3s const *)arg1)->operator ==((SoSFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - SoSFVec3s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s___ne__" "', argument " "1"" of type '" "SoSFVec3s const *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec3s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s___ne__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec3s___ne__" "', argument " "2"" of type '" "SoSFVec3s const &""'"); - } - arg2 = reinterpret_cast< SoSFVec3s * >(argp2); - result = (int)((SoSFVec3s const *)arg1)->operator !=((SoSFVec3s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_initClass",0,0)) SWIG_fail; - SoSFVec3s::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec3s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec3s_setValue" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec3s *arg1 = (SoSFVec3s *) 0 ; - short *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec3s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec3s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec3s_setValue" "', argument " "1"" of type '" "SoSFVec3s *""'"); - } - arg1 = reinterpret_cast< SoSFVec3s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec3s_setValue" "', argument " "2"" of type '" "short const [3]""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - (arg1)->setValue((short const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec3s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec3s_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec3s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec3s *,SbVec3s const &)\n"" setValue(SoSFVec3s *,short const,short const,short const)\n"" setValue(SoSFVec3s *,short const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec3s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec3s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFVec4f",0,0)) SWIG_fail; - result = (SoSFVec4f *)new SoSFVec4f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFVec4f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFVec4f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFVec4f" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFVec4f::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getClassTypeId",0,0)) SWIG_fail; - result = SoSFVec4f::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_getTypeId" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - result = ((SoSFVec4f const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_copyFrom" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_isSame" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFVec4f const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_getValue" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - { - SbVec4f const &_result_ref = ((SoSFVec4f const *)arg1)->getValue(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setValue((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f___eq__" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f___eq__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f___eq__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - result = (int)((SoSFVec4f const *)arg1)->operator ==((SoSFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f___ne__" "', argument " "1"" of type '" "SoSFVec4f const *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f___ne__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFVec4f___ne__" "', argument " "2"" of type '" "SoSFVec4f const &""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - result = (int)((SoSFVec4f const *)arg1)->operator !=((SoSFVec4f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_initClass",0,0)) SWIG_fail; - SoSFVec4f::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSFVec4f_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSFVec4f_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSFVec4f_setValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - { - convert_SbVec4f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFVec4f *arg1 = (SoSFVec4f *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFVec4f_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFVec4f_setValue" "', argument " "1"" of type '" "SoSFVec4f *""'"); - } - arg1 = reinterpret_cast< SoSFVec4f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFVec4f_setValue" "', argument " "2"" of type '" "SoSFVec4f const *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - SoSFVec4f_setValue__SWIG_3(arg1,(SoSFVec4f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFVec4f_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec4f, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_3(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSFVec4f_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFVec4f_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFVec4f *,SbVec4f const &)\n"" setValue(SoSFVec4f *,float const,float const,float const,float const)\n"" setValue(SoSFVec4f *,float const [4])\n"" setValue(SoSFVec4f *,SoSFVec4f const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFVec4f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFVec4f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSFEngine",0,0)) SWIG_fail; - result = (SoSFEngine *)new SoSFEngine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEngine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSFEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSFEngine" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_createInstance",0,0)) SWIG_fail; - result = (void *)SoSFEngine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoSFEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_getTypeId" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = ((SoSFEngine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_copyFrom" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_isSame" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoSFEngine const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_getValue" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = (SoEngine *)((SoSFEngine const *)arg1)->getValue(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_setValue" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_setValue" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine___eq__" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine___eq__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine___eq__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - result = (int)((SoSFEngine const *)arg1)->operator ==((SoSFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine___ne__" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoSFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine___ne__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSFEngine___ne__" "', argument " "2"" of type '" "SoSFEngine const &""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - result = (int)((SoSFEngine const *)arg1)->operator !=((SoSFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_initClass",0,0)) SWIG_fail; - SoSFEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_fixCopy" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSFEngine_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_referencesCopy" "', argument " "1"" of type '" "SoSFEngine const *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - result = (SbBool)((SoSFEngine const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSFEngine *arg1 = (SoSFEngine *) 0 ; - SoSFEngine *arg2 = (SoSFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSFEngine_setValue" "', argument " "1"" of type '" "SoSFEngine *""'"); - } - arg1 = reinterpret_cast< SoSFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSFEngine_setValue" "', argument " "2"" of type '" "SoSFEngine const *""'"); - } - arg2 = reinterpret_cast< SoSFEngine * >(argp2); - SoSFEngine_setValue__SWIG_1(arg1,(SoSFEngine const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSFEngine_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEngine_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoSFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSFEngine_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSFEngine_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoSFEngine *,SoEngine *)\n"" setValue(SoSFEngine *,SoSFEngine const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSFEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSFEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFColor",0,0)) SWIG_fail; - result = (SoMFColor *)new SoMFColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFColor" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFColor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getClassTypeId",0,0)) SWIG_fail; - result = SoMFColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getTypeId" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = ((SoMFColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_copyFrom" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_isSame" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_find" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbColor const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_find" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_find" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - result = (int)(arg1)->find((SbColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFColor *,SbColor const &,SbBool)\n"" find(SoMFColor *,SbColor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->set1Value(arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setValue((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___eq__" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor___eq__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___eq__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->operator ==((SoMFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___ne__" "', argument " "1"" of type '" "SoMFColor const *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor___ne__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___ne__" "', argument " "2"" of type '" "SoMFColor const &""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - result = (SbBool)((SoMFColor const *)arg1)->operator !=((SoMFColor const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_startEditing" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = (SbColor *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_finishEditing" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(float const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 = (float *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (float *)malloc(len*sizeof(float)); - convert_SoMFFloat_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_setValuesPointer" "', argument " "3"" of type '" "SbColor const *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setValuesPointer(arg2,(SbColor const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValuesPointer" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_setValuesPointer" "', argument " "3"" of type '" "SbColor *""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValuesPointer__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFColor *,int const,float const *)\n"" setValuesPointer(SoMFColor *,int const,float *)\n"" setValuesPointer(SoMFColor *,int const,SbColor const *)\n"" setValuesPointer(SoMFColor *,int const,SbColor *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_initClass",0,0)) SWIG_fail; - SoMFColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - } else { - temp4 = NULL; - } - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - int arg3 ; - float (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setHSVValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setHSVValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - temp4 = (float (*)[3]) malloc(len*3*sizeof(float)); - convert_SoMFVec3f_array(obj3, len, temp4); - } else { - temp4 = NULL; - } - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setHSVValues(arg2,arg3,(float const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setValue((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_setHSVValue" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_setHSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_setHSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setHSVValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - float *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setHSVValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setHSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - { - convert_SbVec3f_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setHSVValue((float const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setHSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_setHSVValue__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_setHSVValue__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setHSVValue'.\n Possible C/C++ prototypes are:\n"" setHSVValue(SoMFColor *,float const,float const,float const)\n"" setHSVValue(SoMFColor *,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->set1Value(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_set1Value" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_set1Value" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColor_set1Value" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1Value" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_set1Value__SWIG_2(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFColor *,int const,SbColor const &)\n"" set1Value(SoMFColor *,int const,SbVec3f const &)\n"" set1Value(SoMFColor *,int const,float const,float const,float const)\n"" set1Value(SoMFColor *,int const,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1HSVValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1HSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_set1HSVValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFColor_set1HSVValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFColor_set1HSVValue" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->set1HSVValue(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_set1HSVValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_set1HSVValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor_set1HSVValue" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1HSVValue(arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_set1HSVValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_set1HSVValue__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_set1HSVValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_set1HSVValue'.\n Possible C/C++ prototypes are:\n"" set1HSVValue(SoMFColor *,int const,float const,float const,float const)\n"" set1HSVValue(SoMFColor *,int const,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___getitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbColor const &_result_ref = SoMFColor___getitem__(arg1,arg2); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - SbColor *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___setitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFColor___setitem__" "', argument " "3"" of type '" "SbColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFColor___setitem__" "', argument " "3"" of type '" "SbColor const &""'"); - } - arg3 = reinterpret_cast< SbColor * >(argp3); - SoMFColor___setitem____SWIG_0(arg1,arg2,(SbColor const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int arg2 ; - float *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor___setitem__" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFColor___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3f_array(obj2, temp3); - arg3 = temp3; - } - SoMFColor___setitem____SWIG_1(arg1,arg2,(float const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor___setitem__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor___setitem____SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - _v = PySequence_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor___setitem____SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor___setitem__'.\n Possible C/C++ prototypes are:\n"" __setitem__(SoMFColor *,int,SbColor const &)\n"" __setitem__(SoMFColor *,int,float const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_setValue" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFColor_setValue" "', argument " "2"" of type '" "SoMFColor const *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - SoMFColor_setValue__SWIG_4(arg1,(SoMFColor const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_setValue__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFColor *,SbColor const &)\n"" setValue(SoMFColor *,SbVec3f const &)\n"" setValue(SoMFColor *,float const,float const,float const)\n"" setValue(SoMFColor *,float const [3])\n"" setValue(SoMFColor *,SoMFColor const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFColor_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbColor *)SoMFColor___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, - SWIG_NewPointerObj((void*)(result+i), SWIGTYPE_p_SbColor, 0)); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFColor *arg1 = (SoMFColor *) 0 ; - int *arg2 = 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFColor_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFColor_getValues" "', argument " "1"" of type '" "SoMFColor *""'"); - } - arg1 = reinterpret_cast< SoMFColor * >(argp1); - result = (SbColor *)SoMFColor___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, - SWIG_NewPointerObj((void*)(result+i), SWIGTYPE_p_SbColor, 0)); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFColor_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFColor_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFColor, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFColor_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFColor_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFColor *,int &,int)\n"" __getValuesHelper__(SoMFColor *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFEngine",0,0)) SWIG_fail; - result = (SoMFEngine *)new SoMFEngine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEngine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFEngine" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFEngine::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getClassTypeId",0,0)) SWIG_fail; - result = SoMFEngine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getTypeId" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = ((SoMFEngine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_copyFrom" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_isSame" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_find" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_find" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_find" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_find" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFEngine *,SoEngine *,SbBool)\n"" find(SoMFEngine *,SoEngine *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - SoEngine **arg4 = (SoEngine **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (SoEngine **)malloc(len * sizeof(SoEngine *)); - for (int i = 0; i < len; i++ ) { - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoEngine,1); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoEngine const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_set1Value" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEngine_set1Value" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine *arg2 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValue" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_setValue" "', argument " "2"" of type '" "SoEngine *""'"); - } - arg2 = reinterpret_cast< SoEngine * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___eq__" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine___eq__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine___eq__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->operator ==((SoMFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___ne__" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFEngine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine___ne__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFEngine___ne__" "', argument " "2"" of type '" "SoMFEngine const &""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - result = (SbBool)((SoMFEngine const *)arg1)->operator !=((SoMFEngine const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoEngine **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_startEditing" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SoEngine **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_finishEditing" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_initClass",0,0)) SWIG_fail; - SoMFEngine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_fixCopy" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_referencesCopy" "', argument " "1"" of type '" "SoMFEngine const *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SbBool)((SoMFEngine const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_deleteValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_deleteValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_deleteValues'.\n Possible C/C++ prototypes are:\n"" deleteValues(SoMFEngine *,int,int)\n"" deleteValues(SoMFEngine *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_insertSpace" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - SoEngine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___getitem__" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoEngine *)SoMFEngine___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int arg2 ; - SoEngine *arg3 = (SoEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine___setitem__" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFEngine___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngine, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFEngine___setitem__" "', argument " "3"" of type '" "SoEngine *""'"); - } - arg3 = reinterpret_cast< SoEngine * >(argp3); - SoMFEngine___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - SoMFEngine *arg2 = (SoMFEngine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_setValue" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFEngine_setValue" "', argument " "2"" of type '" "SoMFEngine const *""'"); - } - arg2 = reinterpret_cast< SoMFEngine * >(argp2); - SoMFEngine_setValue__SWIG_1(arg1,(SoMFEngine const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFEngine *,SoEngine *)\n"" setValue(SoMFEngine *,SoMFEngine const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SoEngine **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFEngine_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoEngine **)SoMFEngine___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFEngine *arg1 = (SoMFEngine *) 0 ; - int *arg2 = 0 ; - SoEngine **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFEngine_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFEngine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFEngine_getValues" "', argument " "1"" of type '" "SoMFEngine *""'"); - } - arg1 = reinterpret_cast< SoMFEngine * >(argp1); - result = (SoEngine **)SoMFEngine___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoEngine, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFEngine_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFEngine_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFEngine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFEngine_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFEngine_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFEngine *,int &,int)\n"" __getValuesHelper__(SoMFEngine *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFEngine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFEngine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFBitMask",0,0)) SWIG_fail; - result = (SoMFBitMask *)new SoMFBitMask(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFBitMask, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFBitMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFBitMask",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFBitMask" "', argument " "1"" of type '" "SoMFBitMask *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFBitMask::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_getClassTypeId",0,0)) SWIG_fail; - result = SoMFBitMask::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_getTypeId" "', argument " "1"" of type '" "SoMFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - result = ((SoMFBitMask const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_copyFrom" "', argument " "1"" of type '" "SoMFBitMask *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBitMask_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFBitMask *arg1 = (SoMFBitMask *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFBitMask_isSame" "', argument " "1"" of type '" "SoMFBitMask const *""'"); - } - arg1 = reinterpret_cast< SoMFBitMask * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFBitMask_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFBitMask const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFBitMask_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFBitMask_initClass",0,0)) SWIG_fail; - SoMFBitMask::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMFBitMask_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFBitMask, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFInt32",0,0)) SWIG_fail; - result = (SoMFInt32 *)new SoMFInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFInt32" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getTypeId" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = ((SoMFInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_copyFrom" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_isSame" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_find" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_find" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_find" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_find" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFInt32 *,int32_t,SbBool)\n"" find(SoMFInt32 *,int32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int arg3 ; - int32_t *arg4 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int32_t *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(int32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_set1Value" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_set1Value" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValue" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___eq__" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32___eq__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32___eq__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->operator ==((SoMFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___ne__" "', argument " "1"" of type '" "SoMFInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32___ne__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFInt32___ne__" "', argument " "2"" of type '" "SoMFInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - result = (SbBool)((SoMFInt32 const *)arg1)->operator !=((SoMFInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_startEditing" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = (int32_t *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_finishEditing" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(int32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t *arg3 = (int32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (int32_t*)malloc(len*sizeof(int32_t)); - convert_SoMFInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFInt32 *,int const,int32_t const *)\n"" setValuesPointer(SoMFInt32 *,int const,int32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_initClass",0,0)) SWIG_fail; - SoMFInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___getitem__" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int32_t)SoMFInt32___getitem__(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int arg2 ; - int32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32___setitem__" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFInt32___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32___setitem__" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - SoMFInt32___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_setValue" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFInt32_setValue" "', argument " "2"" of type '" "SoMFInt32 const *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - SoMFInt32_setValue__SWIG_1(arg1,(SoMFInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFInt32 *,int32_t)\n"" setValue(SoMFInt32 *,SoMFInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t arg3 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int32_t temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFInt32_getValues" "', argument " "3"" of type '" "int32_t""'"); - } - arg3 = static_cast< int32_t >(val3); - result = (int32_t *)SoMFInt32___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFInt32 *arg1 = (SoMFInt32 *) 0 ; - int32_t *arg2 = 0 ; - int32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int32_t temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFInt32_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFInt32_getValues" "', argument " "1"" of type '" "SoMFInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFInt32 * >(argp1); - result = (int32_t *)SoMFInt32___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFInt32_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFInt32_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFInt32_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFInt32_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFInt32 *,int32_t &,int32_t)\n"" __getValuesHelper__(SoMFInt32 *,int32_t &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFNode",0,0)) SWIG_fail; - result = (SoMFNode *)new SoMFNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFNode::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getClassTypeId",0,0)) SWIG_fail; - result = SoMFNode::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getTypeId" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = ((SoMFNode const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_copyFrom" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_isSame" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_find" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_find" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_find" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_find" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFNode *,SoNode *,SbBool)\n"" find(SoMFNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - SoNode **arg4 = (SoNode **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if( len > 0 ) { - arg4 = (SoNode **)malloc(len * sizeof(SoNode *)); - for(int i = 0; i < len; i++ ) - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoNode,1); - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoNode const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_set1Value" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_set1Value" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValue" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_setValue" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___eq__" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode___eq__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode___eq__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->operator ==((SoMFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___ne__" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFNode, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode___ne__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFNode___ne__" "', argument " "2"" of type '" "SoMFNode const &""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - result = (SbBool)((SoMFNode const *)arg1)->operator !=((SoMFNode const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_startEditing" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SoNode **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_finishEditing" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_initClass",0,0)) SWIG_fail; - SoMFNode::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_fixCopy" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_referencesCopy" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SbBool)((SoMFNode const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_addNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_addNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_addNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_addNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_insertNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_insertNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_insertNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_insertNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_insertNode" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getNode" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_getNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoMFNode const *)arg1)->getNode(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_findNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_findNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_findNode" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_findNode" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoMFNode const *)arg1)->findNode((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getNumNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getNumNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getNumNodes" "', argument " "1"" of type '" "SoMFNode const *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (int)((SoMFNode const *)arg1)->getNumNodes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_removeNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_removeNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeNode(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_removeNode__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_removeNode__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_removeNode'.\n Possible C/C++ prototypes are:\n"" removeNode(SoMFNode *,int)\n"" removeNode(SoMFNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_removeAllNodes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_removeAllNodes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_removeAllNodes" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - (arg1)->removeAllNodes(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_replaceNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_replaceNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_replaceNode" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_replaceNode" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_replaceNode",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_replaceNode" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_replaceNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode_replaceNode" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceNode(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_replaceNode(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_replaceNode__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_replaceNode__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_replaceNode'.\n Possible C/C++ prototypes are:\n"" replaceNode(SoMFNode *,int,SoNode *)\n"" replaceNode(SoMFNode *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_deleteValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_deleteValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_deleteValues'.\n Possible C/C++ prototypes are:\n"" deleteValues(SoMFNode *,int,int)\n"" deleteValues(SoMFNode *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_insertSpace" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___getitem__" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoMFNode___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode___setitem__" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFNode___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFNode___setitem__" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - SoMFNode___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_setValue" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFNode_setValue" "', argument " "2"" of type '" "SoMFNode const *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - SoMFNode_setValue__SWIG_1(arg1,(SoMFNode const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFNode *,SoNode *)\n"" setValue(SoMFNode *,SoMFNode const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SoNode **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFNode_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoNode **)SoMFNode___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFNode *arg1 = (SoMFNode *) 0 ; - int *arg2 = 0 ; - SoNode **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFNode_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFNode_getValues" "', argument " "1"" of type '" "SoMFNode *""'"); - } - arg1 = reinterpret_cast< SoMFNode * >(argp1); - result = (SoNode **)SoMFNode___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoNode, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_base(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFNode_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFNode_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFNode_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFNode_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFNode *,int &,int)\n"" __getValuesHelper__(SoMFNode *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFNode_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFNode, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFPath",0,0)) SWIG_fail; - result = (SoMFPath *)new SoMFPath(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFPath, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFPath" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFPath::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getClassTypeId",0,0)) SWIG_fail; - result = SoMFPath::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getTypeId" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = ((SoMFPath const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_copyFrom" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_isSame" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_find" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_find" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_find" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_find" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFPath *,SoPath *,SbBool)\n"" find(SoMFPath *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - SoPath **arg4 = (SoPath **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = (SoPath **)malloc(len * sizeof(SoPath *)); - for (int i = 0; i < len; i++ ) { - SWIG_ConvertPtr(PyList_GetItem(obj3,i), (void **) arg4 + i, SWIGTYPE_p_SoPath,1); - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - return NULL; - } - } - (arg1)->setValues(arg2,arg3,(SoPath const **)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - free(arg4); - } - } - return resultobj; -fail: - { - if (arg4) { - free(arg4); - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_set1Value" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPath_set1Value" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValue" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_setValue" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___eq__" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath___eq__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath___eq__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->operator ==((SoMFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___ne__" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPath, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath___ne__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPath___ne__" "', argument " "2"" of type '" "SoMFPath const &""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - result = (SbBool)((SoMFPath const *)arg1)->operator !=((SoMFPath const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoPath **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_startEditing" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SoPath **)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_finishEditing" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_initClass",0,0)) SWIG_fail; - SoMFPath::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_notify" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_fixCopy" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_referencesCopy" "', argument " "1"" of type '" "SoMFPath const *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SbBool)((SoMFPath const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_deleteValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_deleteValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_deleteValues'.\n Possible C/C++ prototypes are:\n"" deleteValues(SoMFPath *,int,int)\n"" deleteValues(SoMFPath *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_insertSpace" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___getitem__" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)SoMFPath___getitem__(arg1,arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int arg2 ; - SoPath *arg3 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath___setitem__" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPath___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPath___setitem__" "', argument " "3"" of type '" "SoPath *""'"); - } - arg3 = reinterpret_cast< SoPath * >(argp3); - SoMFPath___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - SoMFPath *arg2 = (SoMFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_setValue" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPath_setValue" "', argument " "2"" of type '" "SoMFPath const *""'"); - } - arg2 = reinterpret_cast< SoMFPath * >(argp2); - SoMFPath_setValue__SWIG_1(arg1,(SoMFPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFPath *,SoPath *)\n"" setValue(SoMFPath *,SoMFPath const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SoPath **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPath_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SoPath **)SoMFPath___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_path(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPath *arg1 = (SoMFPath *) 0 ; - int *arg2 = 0 ; - SoPath **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPath_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPath_getValues" "', argument " "1"" of type '" "SoMFPath *""'"); - } - arg1 = reinterpret_cast< SoMFPath * >(argp1); - result = (SoPath **)SoMFPath___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SoPath, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, autocast_path(result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPath_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPath_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPath_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPath_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFPath *,int &,int)\n"" __getValuesHelper__(SoMFPath *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFPath_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFPath, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFPlane",0,0)) SWIG_fail; - result = (SoMFPlane *)new SoMFPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFPlane" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFPlane::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoMFPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getTypeId" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = ((SoMFPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_copyFrom" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_isSame" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_find" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbPlane const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_find" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_find" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - result = (int)(arg1)->find((SbPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPlane_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFPlane *,SbPlane const &,SbBool)\n"" find(SoMFPlane *,SbPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - int arg3 ; - SbPlane *arg4 = (SbPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbPlane[len]; - for (int i = 0; i < len; i++) { - SbPlane * plane = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &plane, SWIGTYPE_p_SbPlane, 1); - if (time != NULL) { - arg4[i] = *plane; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbPlane const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_set1Value" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPlane_set1Value" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_set1Value" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - (arg1)->set1Value(arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValue" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setValue((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___eq__" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane___eq__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___eq__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->operator ==((SoMFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___ne__" "', argument " "1"" of type '" "SoMFPlane const *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane___ne__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___ne__" "', argument " "2"" of type '" "SoMFPlane const &""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - result = (SbBool)((SoMFPlane const *)arg1)->operator !=((SoMFPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_startEditing" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = (SbPlane *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_finishEditing" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_initClass",0,0)) SWIG_fail; - SoMFPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___getitem__" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbPlane const &_result_ref = SoMFPlane___getitem__(arg1,arg2); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int arg2 ; - SbPlane *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane___setitem__" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFPlane___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFPlane___setitem__" "', argument " "3"" of type '" "SbPlane const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFPlane___setitem__" "', argument " "3"" of type '" "SbPlane const &""'"); - } - arg3 = reinterpret_cast< SbPlane * >(argp3); - SoMFPlane___setitem__(arg1,arg2,(SbPlane const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFPlane_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbPlane *)SoMFPlane___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbPlane * plane = new SbPlane( result[i] ); - PyObject * obj = SWIG_NewPointerObj(plane, SWIGTYPE_p_SbPlane, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - int *arg2 = 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_getValues" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - result = (SbPlane *)SoMFPlane___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbPlane * plane = new SbPlane( result[i] ); - PyObject * obj = SWIG_NewPointerObj(plane, SWIGTYPE_p_SbPlane, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFPlane_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFPlane *,int &,int)\n"" __getValuesHelper__(SoMFPlane *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFPlane *arg1 = (SoMFPlane *) 0 ; - SoMFPlane *arg2 = (SoMFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFPlane_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFPlane_setValue" "', argument " "1"" of type '" "SoMFPlane *""'"); - } - arg1 = reinterpret_cast< SoMFPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFPlane_setValue" "', argument " "2"" of type '" "SoMFPlane const *""'"); - } - arg2 = reinterpret_cast< SoMFPlane * >(argp2); - SoMFPlane_setValue__SWIG_1(arg1,(SoMFPlane const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFPlane_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFPlane_setValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFPlane_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFPlane *,SbPlane const &)\n"" setValue(SoMFPlane *,SoMFPlane const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFShort",0,0)) SWIG_fail; - result = (SoMFShort *)new SoMFShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFShort" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getClassTypeId",0,0)) SWIG_fail; - result = SoMFShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getTypeId" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = ((SoMFShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_copyFrom" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_isSame" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_find" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_find" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_find" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_find" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFShort *,short,SbBool)\n"" find(SoMFShort *,short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - int arg3 ; - short *arg4 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - short *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(short const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_set1Value" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_set1Value" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValue" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___eq__" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort___eq__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort___eq__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->operator ==((SoMFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___ne__" "', argument " "1"" of type '" "SoMFShort const *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort___ne__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFShort___ne__" "', argument " "2"" of type '" "SoMFShort const &""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - result = (SbBool)((SoMFShort const *)arg1)->operator !=((SoMFShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_startEditing" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = (short *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_finishEditing" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValuesPointer" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short *arg3 = (short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValuesPointer" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (short*)malloc(len*sizeof(short)); - convert_SoMFShort_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFShort *,int const,short const *)\n"" setValuesPointer(SoMFShort *,int const,short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_initClass",0,0)) SWIG_fail; - SoMFShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___getitem__" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SoMFShort___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort___setitem__" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFShort___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SoMFShort___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - SoMFShort *arg2 = (SoMFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_setValue" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFShort_setValue" "', argument " "2"" of type '" "SoMFShort const *""'"); - } - arg2 = reinterpret_cast< SoMFShort * >(argp2); - SoMFShort_setValue__SWIG_1(arg1,(SoMFShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFShort *,short)\n"" setValue(SoMFShort *,SoMFShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int *arg2 = 0 ; - int arg3 ; - short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFShort_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (short *)SoMFShort___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFShort *arg1 = (SoMFShort *) 0 ; - int *arg2 = 0 ; - short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFShort_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFShort_getValues" "', argument " "1"" of type '" "SoMFShort *""'"); - } - arg1 = reinterpret_cast< SoMFShort * >(argp1); - result = (short *)SoMFShort___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFShort_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFShort_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFShort_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFShort_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFShort *,int &,int)\n"" __getValuesHelper__(SoMFShort *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFTime",0,0)) SWIG_fail; - result = (SoMFTime *)new SoMFTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFTime" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFTime::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getClassTypeId",0,0)) SWIG_fail; - result = SoMFTime::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getTypeId" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = ((SoMFTime const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_copyFrom" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_isSame" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_find" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbTime const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_find" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)(arg1)->find((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFTime_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFTime_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFTime *,SbTime const &,SbBool)\n"" find(SoMFTime *,SbTime const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - int arg3 ; - SbTime *arg4 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbTime[len]; - for (int i = 0; i < len; i++) { - SbTime * time = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &time, SWIGTYPE_p_SbTime, 1); - if (time != NULL) { - arg4[i] = *time; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbTime const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - SbTime *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_set1Value" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyFloat_Check(obj2)) { - arg3 = new SbTime(PyFloat_AsDouble(obj2)); - } else { - SbTime * tmp = NULL; - arg3 = new SbTime; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg3 = *tmp; - } - } - (arg1)->set1Value(arg2,(SbTime const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValue" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setValue((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___eq__" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime___eq__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime___eq__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->operator ==((SoMFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___ne__" "', argument " "1"" of type '" "SoMFTime const *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime___ne__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFTime___ne__" "', argument " "2"" of type '" "SoMFTime const &""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - result = (SbBool)((SoMFTime const *)arg1)->operator !=((SoMFTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_startEditing" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = (SbTime *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_finishEditing" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_initClass",0,0)) SWIG_fail; - SoMFTime::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___getitem__" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbTime const &_result_ref = SoMFTime___getitem__(arg1,arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int arg2 ; - SbTime *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime___setitem__" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFTime___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - if (PyFloat_Check(obj2)) { - arg3 = new SbTime(PyFloat_AsDouble(obj2)); - } else { - SbTime * tmp = NULL; - arg3 = new SbTime; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg3 = *tmp; - } - } - SoMFTime___setitem__(arg1,arg2,(SbTime const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFTime_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbTime *)SoMFTime___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - SbTime * time = new SbTime( result[i] ); - PyObject * obj = SWIG_NewPointerObj(time, SWIGTYPE_p_SbTime, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - int *arg2 = 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_getValues" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - result = (SbTime *)SoMFTime___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - SbTime * time = new SbTime( result[i] ); - PyObject * obj = SWIG_NewPointerObj(time, SWIGTYPE_p_SbTime, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFTime_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFTime_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFTime *,int &,int)\n"" __getValuesHelper__(SoMFTime *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFTime *arg1 = (SoMFTime *) 0 ; - SoMFTime *arg2 = (SoMFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFTime_setValue" "', argument " "1"" of type '" "SoMFTime *""'"); - } - arg1 = reinterpret_cast< SoMFTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFTime_setValue" "', argument " "2"" of type '" "SoMFTime const *""'"); - } - arg2 = reinterpret_cast< SoMFTime * >(argp2); - SoMFTime_setValue__SWIG_1(arg1,(SoMFTime const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFTime_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFTime_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFTime_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFTime *,SbTime const &)\n"" setValue(SoMFTime *,SoMFTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFUInt32",0,0)) SWIG_fail; - result = (SoMFUInt32 *)new SoMFUInt32(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFUInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFUInt32",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFUInt32" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFUInt32::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getClassTypeId",0,0)) SWIG_fail; - result = SoMFUInt32::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getTypeId" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = ((SoMFUInt32 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_copyFrom" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_isSame" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_find" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_find" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_find" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_find" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFUInt32 *,uint32_t,SbBool)\n"" find(SoMFUInt32 *,uint32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - int arg3 ; - uint32_t *arg4 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - uint32_t *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(uint32_t const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_set1Value" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_set1Value" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValue" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValue" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___eq__" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32___eq__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32___eq__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->operator ==((SoMFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___ne__" "', argument " "1"" of type '" "SoMFUInt32 const *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUInt32, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32___ne__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUInt32___ne__" "', argument " "2"" of type '" "SoMFUInt32 const &""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - result = (SbBool)((SoMFUInt32 const *)arg1)->operator !=((SoMFUInt32 const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_startEditing" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = (uint32_t *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_finishEditing" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(uint32_t const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t *arg3 = (uint32_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - uint32_t *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (uint32_t*)malloc(len*sizeof(uint32_t)); - convert_SoMFUInt32_array(obj2, len, temp3); - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFUInt32 *,int const,uint32_t const *)\n"" setValuesPointer(SoMFUInt32 *,int const,uint32_t *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_initClass",0,0)) SWIG_fail; - SoMFUInt32::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___getitem__" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (uint32_t)SoMFUInt32___getitem__(arg1,arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int arg2 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32___setitem__" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUInt32___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32___setitem__" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - SoMFUInt32___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_setValue" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUInt32_setValue" "', argument " "2"" of type '" "SoMFUInt32 const *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - SoMFUInt32_setValue__SWIG_1(arg1,(SoMFUInt32 const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFUInt32 *,uint32_t)\n"" setValue(SoMFUInt32 *,SoMFUInt32 const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int *arg2 = 0 ; - int arg3 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUInt32_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (uint32_t *)SoMFUInt32___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUInt32 *arg1 = (SoMFUInt32 *) 0 ; - int *arg2 = 0 ; - uint32_t *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUInt32_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUInt32_getValues" "', argument " "1"" of type '" "SoMFUInt32 *""'"); - } - arg1 = reinterpret_cast< SoMFUInt32 * >(argp1); - result = (uint32_t *)SoMFUInt32___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUInt32_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUInt32_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUInt32, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUInt32_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUInt32_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFUInt32 *,int &,int)\n"" __getValuesHelper__(SoMFUInt32 *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFUInt32_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFUInt32, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFUShort",0,0)) SWIG_fail; - result = (SoMFUShort *)new SoMFUShort(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUShort, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFUShort",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFUShort" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFUShort::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getClassTypeId",0,0)) SWIG_fail; - result = SoMFUShort::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getTypeId" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = ((SoMFUShort const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_copyFrom" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_isSame" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_find" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_find" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_find" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_find" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFUShort *,unsigned short,SbBool)\n"" find(SoMFUShort *,unsigned short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - int arg3 ; - unsigned short *arg4 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - unsigned short *temp4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj3, len, temp4); - - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(unsigned short const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_set1Value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_set1Value" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_set1Value" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - (arg1)->set1Value(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValue" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValue" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___eq__" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort___eq__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort___eq__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->operator ==((SoMFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___ne__" "', argument " "1"" of type '" "SoMFUShort const *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFUShort, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort___ne__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFUShort___ne__" "', argument " "2"" of type '" "SoMFUShort const &""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - result = (SbBool)((SoMFUShort const *)arg1)->operator !=((SoMFUShort const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - unsigned short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_startEditing" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = (unsigned short *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_finishEditing" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValuesPointer" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,(unsigned short const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - unsigned short *arg3 = (unsigned short *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - unsigned short *temp3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValuesPointer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValuesPointer" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort_setValuesPointer" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int len; - - if (PySequence_Check(obj2)) { - len = PySequence_Length(obj2); - temp3 = (unsigned short*)malloc(len*sizeof(unsigned short)); - convert_SoMFUShort_array(obj2, len, temp3); - - arg3 = temp3; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValuesPointer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValuesPointer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValuesPointer__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValuesPointer__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_setValuesPointer'.\n Possible C/C++ prototypes are:\n"" setValuesPointer(SoMFUShort *,int const,unsigned short const *)\n"" setValuesPointer(SoMFUShort *,int const,unsigned short *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_initClass",0,0)) SWIG_fail; - SoMFUShort::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___getitem__" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SoMFUShort___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort___setitem__" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFUShort___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SoMFUShort___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - SoMFUShort *arg2 = (SoMFUShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_setValue" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFUShort_setValue" "', argument " "2"" of type '" "SoMFUShort const *""'"); - } - arg2 = reinterpret_cast< SoMFUShort * >(argp2); - SoMFUShort_setValue__SWIG_1(arg1,(SoMFUShort const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_setValue__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_setValue__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFUShort *,unsigned short)\n"" setValue(SoMFUShort *,SoMFUShort const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int *arg2 = 0 ; - int arg3 ; - unsigned short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFUShort_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (unsigned short *)SoMFUShort___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFUShort *arg1 = (SoMFUShort *) 0 ; - int *arg2 = 0 ; - unsigned short *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFUShort_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFUShort, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFUShort_getValues" "', argument " "1"" of type '" "SoMFUShort *""'"); - } - arg1 = reinterpret_cast< SoMFUShort * >(argp1); - result = (unsigned short *)SoMFUShort___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++){ - PyList_SetItem(resultobj, i, PyInt_FromLong((long)result[i])); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFUShort_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFUShort_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFUShort, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFUShort_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFUShort_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFUShort *,int &,int)\n"" __getValuesHelper__(SoMFUShort *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFUShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFUShort, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoMFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMFVec3d",0,0)) SWIG_fail; - result = (SoMFVec3d *)new SoMFVec3d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoMFVec3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMFVec3d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMFVec3d" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_createInstance",0,0)) SWIG_fail; - result = (void *)SoMFVec3d::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getClassTypeId",0,0)) SWIG_fail; - result = SoMFVec3d::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getTypeId" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = ((SoMFVec3d const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_copyFrom" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_isSame" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - SbBool arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_find" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_find" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (int)(arg1)->find((SbVec3d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_find" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_find" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (int)(arg1)->find((SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_find(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_find__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_find__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_find'.\n Possible C/C++ prototypes are:\n"" find(SoMFVec3d *,SbVec3d const &,SbBool)\n"" find(SoMFVec3d *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - int arg3 ; - SbVec3d *arg4 = (SbVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - if (len > 0) { - arg4 = new SbVec3d[len]; - for (int i = 0; i < len; i++) { - SbVec3d * VecPtr = NULL; - PyObject * item = PyList_GetItem(obj3,i); - SWIG_ConvertPtr(item, (void **) &VecPtr, SWIGTYPE_p_SbVec3d, 1); - if (VecPtr != NULL) { - arg4[i] = *VecPtr; - } - } - } else { - arg4 = NULL; - } - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - } - } - (arg1)->setValues(arg2,arg3,(SbVec3d const *)arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->set1Value(arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setValue((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___eq__" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d___eq__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___eq__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->operator ==((SoMFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___ne__" "', argument " "1"" of type '" "SoMFVec3d const *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoMFVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d___ne__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___ne__" "', argument " "2"" of type '" "SoMFVec3d const &""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - result = (SbBool)((SoMFVec3d const *)arg1)->operator !=((SoMFVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_startEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_startEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_startEditing" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = (SbVec3d *)(arg1)->startEditing(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_finishEditing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_finishEditing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_finishEditing" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - (arg1)->finishEditing(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_initClass",0,0)) SWIG_fail; - SoMFVec3d::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - int arg3 ; - double (*arg4)[3] ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - double (*temp4)[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValues",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - int len; - if (PySequence_Check(obj3)) { - len = PySequence_Length(obj3); - temp4 = (double (*)[3]) malloc(len*3*sizeof(double)); - convert_SoMFVec3d_array(obj3, len, temp4); - arg4 = temp4; - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence."); - arg4 = NULL; - } - } - (arg1)->setValues(arg2,arg3,(double const (*)[3])arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete[] arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete[] arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if (PySequence_Check(argv[3])) { - if (PySequence_Size(argv[3]) == 0) { - _v = 1; - } - else { - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3d, 0) != -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } - } - else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3d_setValues__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - if(PySequence_Check(argv[3]) && PySequence_Size(argv[3]) > 0 ){ - PyObject * obj = PySequence_GetItem(argv[3], 0); - void * ptr; - if (SWIG_ConvertPtr(obj, &ptr, SWIGTYPE_p_SbVec3d, 0) == -1) { - _v = 1; - } - else { - _v = 0; - } - Py_DECREF(obj); - } else { - _v = 0; - } - } - if (_v) { - return _wrap_SoMFVec3d_setValues__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_setValues'.\n Possible C/C++ prototypes are:\n"" setValues(SoMFVec3d *,int const,int const,SbVec3d const *)\n"" setValues(SoMFVec3d *,int const,int const,double const [][3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_set1Value" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3d_set1Value" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMFVec3d_set1Value" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->set1Value(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double temp3[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_set1Value",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_set1Value" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_set1Value" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - convert_SbVec3d_array(obj2, temp3); - arg3 = temp3; - } - (arg1)->set1Value(arg2,(double const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_set1Value(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[2]) && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_SoMFVec3d, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_2(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_set1Value__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_set1Value'.\n Possible C/C++ prototypes are:\n"" set1Value(SoMFVec3d *,int const,SbVec3d const &)\n"" set1Value(SoMFVec3d *,int const,double const,double const,double const)\n"" set1Value(SoMFVec3d *,int const,double const [3])\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMFVec3d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - (arg1)->setValue(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - double *arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[3] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - { - convert_SbVec3d_array(obj1, temp2); - arg2 = temp2; - } - (arg1)->setValue((double const (*))arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___getitem__" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec3d const &_result_ref = SoMFVec3d___getitem__(arg1,arg2); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int arg2 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d___setitem__" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMFVec3d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMFVec3d___setitem__" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMFVec3d___setitem__" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - SoMFVec3d___setitem__(arg1,arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - SoMFVec3d *arg2 = (SoMFVec3d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_setValue" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMFVec3d_setValue" "', argument " "2"" of type '" "SoMFVec3d const *""'"); - } - arg2 = reinterpret_cast< SoMFVec3d * >(argp2); - SoMFVec3d_setValue__SWIG_3(arg1,(SoMFVec3d const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void * ptr; - _v = (PySequence_Check(argv[1]) && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_SoMFVec3d, 0) == -1) ? 1 : 0; - } - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_3(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SoMFVec3d *,SbVec3d const &)\n"" setValue(SoMFVec3d *,double const,double const,double const)\n"" setValue(SoMFVec3d *,double const [3])\n"" setValue(SoMFVec3d *,SoMFVec3d const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int *arg2 = 0 ; - int arg3 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - ecode3 = SWIG_AsVal_int(obj1, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMFVec3d_getValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbVec3d *)SoMFVec3d___getValuesHelper____SWIG_0(arg1,*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3d * VecPtr = new SbVec3d(result[i]); - PyObject * obj = SWIG_NewPointerObj(VecPtr, SWIGTYPE_p_SbVec3d, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMFVec3d *arg1 = (SoMFVec3d *) 0 ; - int *arg2 = 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int temp2 ; - PyObject * obj0 = 0 ; - - { - arg2 = &temp2; - *arg2 = 0; - } - if(!PyArg_UnpackTuple(args,(char *)"SoMFVec3d_getValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMFVec3d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMFVec3d_getValues" "', argument " "1"" of type '" "SoMFVec3d *""'"); - } - arg1 = reinterpret_cast< SoMFVec3d * >(argp1); - result = (SbVec3d *)SoMFVec3d___getValuesHelper____SWIG_0(arg1,*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - { - Py_XDECREF(resultobj); /* free up any previous result */ - resultobj = PyList_New(*arg2); - if (result) { - for (int i = 0; i < *arg2; i++) { - SbVec3d * VecPtr = new SbVec3d(result[i]); - PyObject * obj = SWIG_NewPointerObj(VecPtr, SWIGTYPE_p_SbVec3d, 1); - PyList_SetItem(resultobj, i, obj); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMFVec3d_getValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMFVec3d_getValues__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMFVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMFVec3d_getValues__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMFVec3d_getValues'.\n Possible C/C++ prototypes are:\n"" __getValuesHelper__(SoMFVec3d *,int &,int)\n"" __getValuesHelper__(SoMFVec3d *,int &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoMFVec3d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMFVec3d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbStringList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStringList",0,0)) SWIG_fail; - result = (SbStringList *)new SbStringList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStringList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbStringList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStringList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStringList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbStringList *)new SbStringList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStringList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbStringList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbStringList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbStringList'.\n Possible C/C++ prototypes are:\n"" SbStringList()\n"" SbStringList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_append" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_append" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_find" "', argument " "1"" of type '" "SbStringList const *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_find" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - result = (int)((SbStringList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString *arg2 = (SbString *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_insert" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbStringList_insert" "', argument " "2"" of type '" "SbString *""'"); - } - arg2 = reinterpret_cast< SbString * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbStringList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_getArrayPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - SbString **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_getArrayPtr" "', argument " "1"" of type '" "SbStringList const *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - result = (SbString **)((SbStringList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - SbString *arg3 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList___setitem__" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbStringList___setitem__" "', argument " "3"" of type '" "SbString *""'"); - } - arg3 = reinterpret_cast< SbString * >(argp3); - SbStringList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList___getitem__" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbString *)SbStringList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStringList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - int arg2 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStringList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStringList_get" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbStringList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbString *)SbStringList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbStringList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *arg1 = (SbStringList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbStringList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStringList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbStringList" "', argument " "1"" of type '" "SbStringList *""'"); - } - arg1 = reinterpret_cast< SbStringList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbStringList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbStringList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec3fList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec3fList",0,0)) SWIG_fail; - result = (SbVec3fList *)new SbVec3fList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3fList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec3fList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec3fList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec3fList" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_append" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3fList_append" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->append((SbVec3f const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - SbVec3f *arg2 = (SbVec3f *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_insert" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec3fList_insert" "', argument " "2"" of type '" "SbVec3f const *""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec3fList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert((SbVec3f const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - SbVec3f *arg3 = (SbVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList___setitem__" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SbVec3f, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbVec3fList___setitem__" "', argument " "3"" of type '" "SbVec3f *""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - SbVec3fList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList___getitem__" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)SbVec3fList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec3fList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3fList *arg1 = (SbVec3fList *) 0 ; - int arg2 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec3fList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec3fList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec3fList_get" "', argument " "1"" of type '" "SbVec3fList *""'"); - } - arg1 = reinterpret_cast< SbVec3fList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec3fList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbVec3f *)SbVec3fList_get(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec3fList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec3fList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLockManager_SetUnlockString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLockManager_SetUnlockString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLockManager_SetUnlockString" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - SoLockManager::SetUnlockString(arg1); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLockManager_GetUnlockString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLockManager_GetUnlockString",0,0)) SWIG_fail; - result = (char *)SoLockManager::GetUnlockString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLockManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLockManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLockManager",0,0)) SWIG_fail; - result = (SoLockManager *)new SoLockManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLockManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoLockManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLockManager *arg1 = (SoLockManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoLockManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLockManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoLockManager" "', argument " "1"" of type '" "SoLockManager *""'"); - } - arg1 = reinterpret_cast< SoLockManager * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLockManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLockManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getTypeId" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = ((SoTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_initClass",0,0)) SWIG_fail; - SoTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransform",0,0)) SWIG_fail; - result = (SoTransform *)new SoTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_translation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_translation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_rotation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_rotation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleFactor_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleFactor_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleOrientation_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_scaleOrientation_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_center_set" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_center_get" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_pointAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_pointAt" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getScaleSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getScaleSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getScaleSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getRotationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getRotationSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getRotationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getTranslationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getTranslationSpaceMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "1"" of type '" "SoTransform const *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "2"" of type '" "SbMatrix &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoTransform const *)arg1)->getTranslationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_multLeft" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_multLeft" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->multLeft((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_multRight" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_multRight" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->multRight((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_combineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoTransformation *arg2 = (SoTransformation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_combineLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_combineLeft" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_combineLeft" "', argument " "2"" of type '" "SoTransformation *""'"); - } - arg2 = reinterpret_cast< SoTransformation * >(argp2); - (arg1)->combineLeft(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_combineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoTransformation *arg2 = (SoTransformation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_combineRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_combineRight" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoTransformation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_combineRight" "', argument " "2"" of type '" "SoTransformation *""'"); - } - arg2 = reinterpret_cast< SoTransformation * >(argp2); - (arg1)->combineRight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_setMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_setMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_setMatrix" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_setMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_setMatrix" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_recenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_recenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_recenter" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->recenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_doAction" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_GLRender" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_callback" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getBoundingBox" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getMatrix" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_pick" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransform *arg1 = (SoTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoTransform *""'"); - } - arg1 = reinterpret_cast< SoTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getTypeId" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = ((SoTransformManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_initClass",0,0)) SWIG_fail; - SoTransformManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformManip",0,0)) SWIG_fail; - result = (SoTransformManip *)new SoTransformManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoDragger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getDragger" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_replaceNode" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoTransform *arg3 = (SoTransform *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_replaceManip" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoTransform, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTransformManip_replaceManip" "', argument " "3"" of type '" "SoTransform *""'"); - } - arg3 = reinterpret_cast< SoTransform * >(argp3); - result = (SbBool)((SoTransformManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_doAction" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_callback" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_GLRender" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getBoundingBox" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getMatrix" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_handleEvent" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_pick" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_search" "', argument " "1"" of type '" "SoTransformManip *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformManip *arg1 = (SoTransformManip *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformManip_getChildren" "', argument " "1"" of type '" "SoTransformManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformManip * >(argp1); - result = (SoChildList *)((SoTransformManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCenterballManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_getClassTypeId",0,0)) SWIG_fail; - result = SoCenterballManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballManip *arg1 = (SoCenterballManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCenterballManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCenterballManip_getTypeId" "', argument " "1"" of type '" "SoCenterballManip const *""'"); - } - arg1 = reinterpret_cast< SoCenterballManip * >(argp1); - result = ((SoCenterballManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCenterballManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCenterballManip_initClass",0,0)) SWIG_fail; - SoCenterballManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCenterballManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCenterballManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCenterballManip",0,0)) SWIG_fail; - result = (SoCenterballManip *)new SoCenterballManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCenterballManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCenterballManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCenterballManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_getTypeId" "', argument " "1"" of type '" "SoClipPlane const *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = ((SoClipPlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_initClass",0,0)) SWIG_fail; - SoClipPlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoClipPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoClipPlane",0,0)) SWIG_fail; - result = (SoClipPlane *)new SoClipPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlane, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_plane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFPlane *arg2 = (SoSFPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_plane_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_plane_set" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_plane_set" "', argument " "2"" of type '" "SoSFPlane *""'"); - } - arg2 = reinterpret_cast< SoSFPlane * >(argp2); - if (arg1) (arg1)->plane = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_plane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_plane_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_plane_get" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = (SoSFPlane *)& ((arg1)->plane); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_on_set" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_on_get" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_doAction" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_GLRender" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_callback" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlane_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlane *arg1 = (SoClipPlane *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlane_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlane_pick" "', argument " "1"" of type '" "SoClipPlane *""'"); - } - arg1 = reinterpret_cast< SoClipPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlane_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getClassTypeId",0,0)) SWIG_fail; - result = SoClipPlaneManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getTypeId" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = ((SoClipPlaneManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_initClass",0,0)) SWIG_fail; - SoClipPlaneManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoClipPlaneManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoClipPlaneManip",0,0)) SWIG_fail; - result = (SoClipPlaneManip *)new SoClipPlaneManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoClipPlaneManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoDragger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getDragger" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SbBox3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_setValue",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_setValue" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneManip_setValue" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneManip_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoClipPlaneManip_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoClipPlaneManip_setValue" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->setValue((SbBox3f const &)*arg2,(SbVec3f const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_replaceNode" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoClipPlane *arg3 = (SoClipPlane *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoClipPlane, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoClipPlaneManip_replaceManip" "', argument " "3"" of type '" "SoClipPlane *""'"); - } - arg3 = reinterpret_cast< SoClipPlane * >(argp3); - result = (SbBool)((SoClipPlaneManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_doAction" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_callback" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_GLRender" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getBoundingBox" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getMatrix" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_handleEvent" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_pick" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_search" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_getChildren" "', argument " "1"" of type '" "SoClipPlaneManip const *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoChildList *)((SoClipPlaneManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_draggerPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_draggerPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_draggerPosition_set" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoClipPlaneManip_draggerPosition_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->draggerPosition = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoClipPlaneManip_draggerPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoClipPlaneManip *arg1 = (SoClipPlaneManip *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoClipPlaneManip_draggerPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoClipPlaneManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoClipPlaneManip_draggerPosition_get" "', argument " "1"" of type '" "SoClipPlaneManip *""'"); - } - arg1 = reinterpret_cast< SoClipPlaneManip * >(argp1); - result = (SoSFVec3f *)& ((arg1)->draggerPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoClipPlaneManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoClipPlaneManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_getClassTypeId",0,0)) SWIG_fail; - result = SoLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_getTypeId" "', argument " "1"" of type '" "SoLight const *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = ((SoLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_initClass",0,0)) SWIG_fail; - SoLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_on_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_on_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_intensity_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_intensity_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_color_set" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_color_get" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLight_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLight *arg1 = (SoLight *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLight_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLight_callback" "', argument " "1"" of type '" "SoLight *""'"); - } - arg1 = reinterpret_cast< SoLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLight_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_getTypeId" "', argument " "1"" of type '" "SoDirectionalLight const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - result = ((SoDirectionalLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_initClass",0,0)) SWIG_fail; - SoDirectionalLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLight",0,0)) SWIG_fail; - result = (SoDirectionalLight *)new SoDirectionalLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_direction_set" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_direction_get" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLight *arg1 = (SoDirectionalLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLight_GLRender" "', argument " "1"" of type '" "SoDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoDirectionalLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getTypeId" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = ((SoDirectionalLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_initClass",0,0)) SWIG_fail; - SoDirectionalLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoDirectionalLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoDirectionalLightManip",0,0)) SWIG_fail; - result = (SoDirectionalLightManip *)new SoDirectionalLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoDragger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getDragger" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_replaceNode" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoDirectionalLight *arg3 = (SoDirectionalLight *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoDirectionalLightManip_replaceManip" "', argument " "3"" of type '" "SoDirectionalLight *""'"); - } - arg3 = reinterpret_cast< SoDirectionalLight * >(argp3); - result = (SbBool)((SoDirectionalLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_doAction" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_callback" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_GLRender" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getBoundingBox" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getMatrix" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_handleEvent" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_pick" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_search" "', argument " "1"" of type '" "SoDirectionalLightManip *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoDirectionalLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoDirectionalLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoDirectionalLightManip *arg1 = (SoDirectionalLightManip *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoDirectionalLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoDirectionalLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoDirectionalLightManip_getChildren" "', argument " "1"" of type '" "SoDirectionalLightManip const *""'"); - } - arg1 = reinterpret_cast< SoDirectionalLightManip * >(argp1); - result = (SoChildList *)((SoDirectionalLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoDirectionalLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoDirectionalLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoHandleBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxManip *arg1 = (SoHandleBoxManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoHandleBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoHandleBoxManip_getTypeId" "', argument " "1"" of type '" "SoHandleBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoHandleBoxManip * >(argp1); - result = ((SoHandleBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoHandleBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoHandleBoxManip_initClass",0,0)) SWIG_fail; - SoHandleBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoHandleBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoHandleBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoHandleBoxManip",0,0)) SWIG_fail; - result = (SoHandleBoxManip *)new SoHandleBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoHandleBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoHandleBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoJackManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_getClassTypeId",0,0)) SWIG_fail; - result = SoJackManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackManip *arg1 = (SoJackManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoJackManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoJackManip_getTypeId" "', argument " "1"" of type '" "SoJackManip const *""'"); - } - arg1 = reinterpret_cast< SoJackManip * >(argp1); - result = ((SoJackManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoJackManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoJackManip_initClass",0,0)) SWIG_fail; - SoJackManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoJackManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoJackManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoJackManip",0,0)) SWIG_fail; - result = (SoJackManip *)new SoJackManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoJackManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoJackManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoJackManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_getTypeId" "', argument " "1"" of type '" "SoPointLight const *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - result = ((SoPointLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_initClass",0,0)) SWIG_fail; - SoPointLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLight",0,0)) SWIG_fail; - result = (SoPointLight *)new SoPointLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_location_set" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_location_get" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLight *arg1 = (SoPointLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLight_GLRender" "', argument " "1"" of type '" "SoPointLight *""'"); - } - arg1 = reinterpret_cast< SoPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoPointLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getTypeId" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = ((SoPointLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_initClass",0,0)) SWIG_fail; - SoPointLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointLightManip",0,0)) SWIG_fail; - result = (SoPointLightManip *)new SoPointLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoDragger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getDragger" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_replaceNode" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoPointLight *arg3 = (SoPointLight *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_replaceManip" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPointLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPointLightManip_replaceManip" "', argument " "3"" of type '" "SoPointLight *""'"); - } - arg3 = reinterpret_cast< SoPointLight * >(argp3); - result = (SbBool)((SoPointLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_doAction" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_callback" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_GLRender" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getBoundingBox" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getMatrix" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_handleEvent" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_pick" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_search" "', argument " "1"" of type '" "SoPointLightManip *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointLightManip *arg1 = (SoPointLightManip *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointLightManip_getChildren" "', argument " "1"" of type '" "SoPointLightManip const *""'"); - } - arg1 = reinterpret_cast< SoPointLightManip * >(argp1); - result = (SoChildList *)((SoPointLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_getTypeId" "', argument " "1"" of type '" "SoSpotLight const *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = ((SoSpotLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_initClass",0,0)) SWIG_fail; - SoSpotLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLight",0,0)) SWIG_fail; - result = (SoSpotLight *)new SoSpotLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_location_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_location_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_direction_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_direction_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_dropOffRate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_dropOffRate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_dropOffRate_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_dropOffRate_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dropOffRate = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_dropOffRate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_dropOffRate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_dropOffRate_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->dropOffRate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_cutOffAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_cutOffAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_cutOffAngle_set" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_cutOffAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->cutOffAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_cutOffAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_cutOffAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_cutOffAngle_get" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->cutOffAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLight *arg1 = (SoSpotLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLight_GLRender" "', argument " "1"" of type '" "SoSpotLight *""'"); - } - arg1 = reinterpret_cast< SoSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getClassTypeId",0,0)) SWIG_fail; - result = SoSpotLightManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getTypeId" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = ((SoSpotLightManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_initClass",0,0)) SWIG_fail; - SoSpotLightManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSpotLightManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSpotLightManip",0,0)) SWIG_fail; - result = (SoSpotLightManip *)new SoSpotLightManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSpotLightManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getDragger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoDragger *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getDragger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getDragger" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = (SoDragger *)(arg1)->getDragger(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDragger, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_replaceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_replaceNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_replaceNode" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_replaceNode" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->replaceNode(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_replaceManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SoSpotLight *arg3 = (SoSpotLight *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_replaceManip",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_replaceManip" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_replaceManip" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSpotLightManip_replaceManip" "', argument " "3"" of type '" "SoSpotLight *""'"); - } - arg3 = reinterpret_cast< SoSpotLight * >(argp3); - result = (SbBool)((SoSpotLightManip const *)arg1)->replaceManip(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_doAction" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_callback" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_GLRender" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getBoundingBox" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getMatrix" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_handleEvent" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_pick" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_search" "', argument " "1"" of type '" "SoSpotLightManip *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSpotLightManip_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSpotLightManip_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSpotLightManip *arg1 = (SoSpotLightManip *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSpotLightManip_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSpotLightManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSpotLightManip_getChildren" "', argument " "1"" of type '" "SoSpotLightManip const *""'"); - } - arg1 = reinterpret_cast< SoSpotLightManip * >(argp1); - result = (SoChildList *)((SoSpotLightManip const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSpotLightManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSpotLightManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTabBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxManip *arg1 = (SoTabBoxManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTabBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTabBoxManip_getTypeId" "', argument " "1"" of type '" "SoTabBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoTabBoxManip * >(argp1); - result = ((SoTabBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTabBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTabBoxManip_initClass",0,0)) SWIG_fail; - SoTabBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTabBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTabBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTabBoxManip",0,0)) SWIG_fail; - result = (SoTabBoxManip *)new SoTabBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTabBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTabBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTabBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTrackballManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTrackballManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballManip *arg1 = (SoTrackballManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTrackballManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTrackballManip_getTypeId" "', argument " "1"" of type '" "SoTrackballManip const *""'"); - } - arg1 = reinterpret_cast< SoTrackballManip * >(argp1); - result = ((SoTrackballManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTrackballManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTrackballManip_initClass",0,0)) SWIG_fail; - SoTrackballManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTrackballManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTrackballManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTrackballManip",0,0)) SWIG_fail; - result = (SoTrackballManip *)new SoTrackballManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTrackballManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTrackballManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTrackballManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformBoxManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxManip *arg1 = (SoTransformBoxManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformBoxManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformBoxManip_getTypeId" "', argument " "1"" of type '" "SoTransformBoxManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformBoxManip * >(argp1); - result = ((SoTransformBoxManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformBoxManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformBoxManip_initClass",0,0)) SWIG_fail; - SoTransformBoxManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformBoxManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformBoxManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformBoxManip",0,0)) SWIG_fail; - result = (SoTransformBoxManip *)new SoTransformBoxManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformBoxManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformBoxManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformBoxManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformerManip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformerManip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_getTypeId" "', argument " "1"" of type '" "SoTransformerManip const *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - result = ((SoTransformerManip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_initClass",0,0)) SWIG_fail; - SoTransformerManip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformerManip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformerManip",0,0)) SWIG_fail; - result = (SoTransformerManip *)new SoTransformerManip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformerManip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_isLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_isLocateHighlighting",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_isLocateHighlighting" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - result = (SbBool)(arg1)->isLocateHighlighting(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_setLocateHighlighting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_setLocateHighlighting",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_setLocateHighlighting" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoTransformerManip_setLocateHighlighting" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setLocateHighlighting(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformerManip_unsquishKnobs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformerManip *arg1 = (SoTransformerManip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformerManip_unsquishKnobs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformerManip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformerManip_unsquishKnobs" "', argument " "1"" of type '" "SoTransformerManip *""'"); - } - arg1 = reinterpret_cast< SoTransformerManip * >(argp1); - (arg1)->unsquishKnobs(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformerManip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformerManip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAudioDevice_instance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_instance",0,0)) SWIG_fail; - result = (SoAudioDevice *)SoAudioDevice::instance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbString *arg2 = 0 ; - SbString *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_init",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_init" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbString(PyString_AsString(obj2)); - } else { - SbString * tmp = NULL; - arg3 = new SbString; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->init((SbString const &)*arg2,(SbString const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_enable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_enable" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->enable(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_disable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_disable" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - (arg1)->disable(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_isEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_isEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_isEnabled" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->isEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_haveSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_haveSound",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_haveSound" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - result = (SbBool)(arg1)->haveSound(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_setGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_setGain",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_setGain" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioDevice_setGain" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setGain(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_mute",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_mute" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoAudioDevice_mute" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->mute(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_mute",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_mute" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - (arg1)->mute(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_mute(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAudioDevice, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoAudioDevice_mute__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoAudioDevice, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoAudioDevice_mute__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoAudioDevice_mute'.\n Possible C/C++ prototypes are:\n"" mute(SoAudioDevice *,SbBool)\n"" mute(SoAudioDevice *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAudioDevice_cleanup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAudioDevice *arg1 = (SoAudioDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAudioDevice_cleanup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAudioDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAudioDevice_cleanup" "', argument " "1"" of type '" "SoAudioDevice *""'"); - } - arg1 = reinterpret_cast< SoAudioDevice * >(argp1); - (arg1)->cleanup(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAudioDevice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAudioDevice, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoByteStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoByteStream",0,0)) SWIG_fail; - result = (SoByteStream *)new SoByteStream(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoByteStream, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoByteStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoByteStream",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoByteStream" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPathList *arg2 = (SoPathList *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPathList *""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_convert" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->convert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPathList *arg2 = (SoPathList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_convert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_convert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPathList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_convert" "', argument " "2"" of type '" "SoPathList *""'"); - } - arg2 = reinterpret_cast< SoPathList * >(argp2); - (arg1)->convert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_convert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_convert__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPathList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_convert__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoByteStream_convert'.\n Possible C/C++ prototypes are:\n"" convert(SoByteStream *,SoNode *,SbBool)\n"" convert(SoByteStream *,SoNode *)\n"" convert(SoByteStream *,SoPath *,SbBool)\n"" convert(SoByteStream *,SoPath *)\n"" convert(SoByteStream *,SoPathList *,SbBool)\n"" convert(SoByteStream *,SoPathList *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_getData" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (void *)(arg1)->getData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_getNumBytes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_getNumBytes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_getNumBytes" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (uint32_t)(arg1)->getNumBytes(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_unconvert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_unconvert" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (SoPathList *)SoByteStream::unconvert(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *arg1 = (void *) 0 ; - uint32_t arg2 ; - SoPathList *result = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_unconvert",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyTuple_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj0); - arg1 = (void *)obj0; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoByteStream_unconvert" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - result = (SoPathList *)SoByteStream::unconvert(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_unconvert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoByteStream, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoByteStream_unconvert__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - { - _v = PyTuple_Check(argv[0]) ? 1 : 0; - } - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoByteStream_unconvert__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoByteStream_unconvert'.\n Possible C/C++ prototypes are:\n"" unconvert(SoByteStream *)\n"" SoByteStream::unconvert(void *,uint32_t)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - void *arg2 = (void *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - size_t val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_copy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_copy" "', argument " "1"" of type '" "SoByteStream *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoByteStream_copy" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_size_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoByteStream_copy" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->copy(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoByteStream_isRawData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoByteStream *arg1 = (SoByteStream *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoByteStream_isRawData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoByteStream, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoByteStream_isRawData" "', argument " "1"" of type '" "SoByteStream const *""'"); - } - arg1 = reinterpret_cast< SoByteStream * >(argp1); - result = (SbBool)((SoByteStream const *)arg1)->isRawData(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoByteStream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoByteStream, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoContextHandler_destructingContext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_destructingContext",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoContextHandler_destructingContext" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoContextHandler::destructingContext(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoContextHandler_addContextDestructionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler::ContextDestructionCB *arg1 = (SoContextHandler::ContextDestructionCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_addContextDestructionCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_unsigned_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoContextHandler_addContextDestructionCallback" "', argument " "1"" of type '" "SoContextHandler::ContextDestructionCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoContextHandler_addContextDestructionCallback" "', argument " "2"" of type '" "void *""'"); - } - SoContextHandler::addContextDestructionCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoContextHandler_removeContextDestructionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler::ContextDestructionCB *arg1 = (SoContextHandler::ContextDestructionCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoContextHandler_removeContextDestructionCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_unsigned_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoContextHandler_removeContextDestructionCallback" "', argument " "1"" of type '" "SoContextHandler::ContextDestructionCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoContextHandler_removeContextDestructionCallback" "', argument " "2"" of type '" "void *""'"); - } - SoContextHandler::removeContextDestructionCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoContextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoContextHandler",0,0)) SWIG_fail; - result = (SoContextHandler *)new SoContextHandler(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoContextHandler, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoContextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoContextHandler *arg1 = (SoContextHandler *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoContextHandler",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoContextHandler, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoContextHandler" "', argument " "1"" of type '" "SoContextHandler *""'"); - } - arg1 = reinterpret_cast< SoContextHandler * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoContextHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoContextHandler, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLImage",0,0)) SWIG_fail; - result = (SoGLImage *)new SoGLImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_unref" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_unref" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_unref'.\n Possible C/C++ prototypes are:\n"" unref(SoGLImage *,SoState *)\n"" unref(SoGLImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getClassTypeId",0,0)) SWIG_fail; - result = SoGLImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getTypeId" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = ((SoGLImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_isOfType" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoGLImage const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setPBuffer" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setPBuffer" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setPBuffer(arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setPBuffer" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setPBuffer(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setPBuffer" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setPBuffer(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setPBuffer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setPBuffer" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setPBuffer" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setPBuffer" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPBuffer(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setPBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setPBuffer__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_setPBuffer'.\n Possible C/C++ prototypes are:\n"" setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setPBuffer(SoGLImage *,SoState *,void *,SoGLImage::Wrap const)\n"" setPBuffer(SoGLImage *,SoState *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - int arg8 ; - SoState *arg9 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "SoState *""'"); - } - arg9 = reinterpret_cast< SoState * >(argp9); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - int arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "int""'"); - } - arg8 = static_cast< int >(val8); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - float arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - float val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_float(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "float""'"); - } - arg7 = static_cast< float >(val7); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec2s *arg3 = 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->setData((unsigned char const *)arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - int arg9 ; - SoState *arg10 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",10,10,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SoGLImage_setData" "', argument " "10"" of type '" "SoState *""'"); - } - arg10 = reinterpret_cast< SoState * >(argp10); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - int arg9 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - int val9 ; - int ecode9 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",9,9,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - ecode9 = SWIG_AsVal_int(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SoGLImage_setData" "', argument " "9"" of type '" "int""'"); - } - arg9 = static_cast< int >(val9); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - float arg8 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - float val8 ; - int ecode8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - ecode8 = SWIG_AsVal_float(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "float""'"); - } - arg8 = static_cast< float >(val8); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - SoGLImage::Wrap arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoGLImage::Wrap""'"); - } - arg7 = static_cast< SoGLImage::Wrap >(val7); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - SoGLImage::Wrap arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "SoGLImage::Wrap""'"); - } - arg6 = static_cast< SoGLImage::Wrap >(val6); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - SbVec3s *arg3 = 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "unsigned char const *""'"); - } - arg2 = reinterpret_cast< unsigned char * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SbVec3s const &""'"); - } - arg3 = reinterpret_cast< SbVec3s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->setData((unsigned char const *)arg2,(SbVec3s const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - SoState *arg7 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "SoState *""'"); - } - arg7 = reinterpret_cast< SoState * >(argp7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setData((SbImage const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - (arg1)->setData((SbImage const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setData((SbImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - SoState *arg8 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoGLImage_setData" "', argument " "8"" of type '" "SoState *""'"); - } - arg8 = reinterpret_cast< SoState * >(argp8); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_21(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData__SWIG_22(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setData" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[11]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 10); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_18(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_17(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_16(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_5(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_12(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_11(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_4(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_22(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_15(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_21(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_3(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_14(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_10(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_2(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_20(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_13(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_9(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_8(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_19(self, args); - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLImage_setData__SWIG_7(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 9) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - } - } - if (argc == 10) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_setData__SWIG_6(self, args); - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_setData'.\n Possible C/C++ prototypes are:\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,unsigned char const *,SbVec2s const &,int const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,unsigned char const *,SbVec3s const &,int const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const)\n"" setData(SoGLImage *,SbImage const *)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setFlags",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setFlags" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLImage_setFlags" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setFlags(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getFlags",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getFlags" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (uint32_t)((SoGLImage const *)arg1)->getFlags(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getImage" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbImage *)((SoGLImage const *)arg1)->getImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getGLDisplayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoGLDisplayList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getGLDisplayList" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_getGLDisplayList" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoGLDisplayList *)(arg1)->getGLDisplayList(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_hasTransparency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_hasTransparency",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_hasTransparency" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbBool)((SoGLImage const *)arg1)->hasTransparency(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_useAlphaTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_useAlphaTest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_useAlphaTest" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SbBool)((SoGLImage const *)arg1)->useAlphaTest(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLImage::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapS",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapS" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapS(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLImage::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapT",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapT" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapT(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getWrapR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - SoGLImage::Wrap result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getWrapR",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getWrapR" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (SoGLImage::Wrap)((SoGLImage const *)arg1)->getWrapR(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getGLImageId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getGLImageId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getGLImageId" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (uint32_t)((SoGLImage const *)arg1)->getGLImageId(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_beginFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_beginFrame",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_beginFrame" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::beginFrame(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_tagImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - SoGLImage *arg2 = (SoGLImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_tagImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_tagImage" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLImage_tagImage" "', argument " "2"" of type '" "SoGLImage *""'"); - } - arg2 = reinterpret_cast< SoGLImage * >(argp2); - SoGLImage::tagImage(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_endFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_endFrame",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_endFrame" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::endFrame(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setDisplayListMaxAge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setDisplayListMaxAge",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLImage_setDisplayListMaxAge" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoGLImage::setDisplayListMaxAge(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_freeAllImages",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_freeAllImages" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - SoGLImage::freeAllImages(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_freeAllImages",0,0)) SWIG_fail; - SoGLImage::freeAllImages(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_freeAllImages(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoGLImage_freeAllImages__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLImage_freeAllImages__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLImage_freeAllImages'.\n Possible C/C++ prototypes are:\n"" freeAllImages(SoState *)\n"" SoGLImage::freeAllImages()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_setEndFrameCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - void (*arg2)(void *) = (void (*)(void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_setEndFrameCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "1"" of type '" "SoGLImage *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "2"" of type '" "void (*)(void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLImage_setEndFrameCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setEndFrameCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_getNumFramesSinceUsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLImage *arg1 = (SoGLImage *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_getNumFramesSinceUsed",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLImage_getNumFramesSinceUsed" "', argument " "1"" of type '" "SoGLImage const *""'"); - } - arg1 = reinterpret_cast< SoGLImage * >(argp1); - result = (int)((SoGLImage const *)arg1)->getNumFramesSinceUsed(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLImage_initClass",0,0)) SWIG_fail; - SoGLImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoGLBigImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGLBigImage",0,0)) SWIG_fail; - result = (SoGLBigImage *)new SoGLBigImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLBigImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_unref",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_unref" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_unref" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - (arg1)->unref(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_unref" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - (arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_unref(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_unref__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_unref__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLBigImage_unref'.\n Possible C/C++ prototypes are:\n"" unref(SoGLBigImage *,SoState *)\n"" unref(SoGLBigImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getClassTypeId",0,0)) SWIG_fail; - result = SoGLBigImage::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_getTypeId" "', argument " "1"" of type '" "SoGLBigImage const *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - result = ((SoGLBigImage const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - SoState *arg7 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "SoState *""'"); - } - arg7 = reinterpret_cast< SoState * >(argp7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - int arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - (arg1)->setData((SbImage const *)arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - (arg1)->setData((SbImage const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setData((SbImage const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - SoState *arg8 = (SoState *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",8,8,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SoGLBigImage_setData" "', argument " "8"" of type '" "SoState *""'"); - } - arg8 = reinterpret_cast< SoState * >(argp8); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - int arg7 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SoGLBigImage_setData" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - float arg6 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - float val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - ecode6 = SWIG_AsVal_float(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SoGLBigImage_setData" "', argument " "6"" of type '" "float""'"); - } - arg6 = static_cast< float >(val6); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbImage *arg2 = (SbImage *) 0 ; - SoGLImage::Wrap arg3 ; - SoGLImage::Wrap arg4 ; - SoGLImage::Wrap arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setData",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_setData" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_setData" "', argument " "2"" of type '" "SbImage const *""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_setData" "', argument " "3"" of type '" "SoGLImage::Wrap""'"); - } - arg3 = static_cast< SoGLImage::Wrap >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_setData" "', argument " "4"" of type '" "SoGLImage::Wrap""'"); - } - arg4 = static_cast< SoGLImage::Wrap >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoGLBigImage_setData" "', argument " "5"" of type '" "SoGLImage::Wrap""'"); - } - arg5 = static_cast< SoGLImage::Wrap >(val5); - (arg1)->setData((SbImage const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setData(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[9]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 8); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_4(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_3(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_9(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_2(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_8(self, args); - } - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_1(self, args); - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_7(self, args); - } - } - } - } - } - } - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_0(self, args); - } - } - } - } - } - } - } - } - if (argc == 8) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLBigImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGLBigImage_setData__SWIG_6(self, args); - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGLBigImage_setData'.\n Possible C/C++ prototypes are:\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const)\n"" setData(SoGLBigImage *,SbImage const *)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const,SoState *)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const,int const)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const,float const)\n"" setData(SoGLBigImage *,SbImage const *,SoGLImage::Wrap const,SoGLImage::Wrap const,SoGLImage::Wrap const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_initSubImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_initSubImages",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_initSubImages" "', argument " "1"" of type '" "SoGLBigImage const *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_initSubImages" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_initSubImages" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)((SoGLBigImage const *)arg1)->initSubImages((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_handleSubImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - int arg2 ; - SbVec2f *arg3 = 0 ; - SbVec2f *arg4 = 0 ; - SbVec2f *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_handleSubImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_handleSubImage" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGLBigImage_handleSubImage" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGLBigImage_handleSubImage" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoGLBigImage_handleSubImage" "', argument " "4"" of type '" "SbVec2f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "4"" of type '" "SbVec2f &""'"); - } - arg4 = reinterpret_cast< SbVec2f * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLBigImage_handleSubImage" "', argument " "5"" of type '" "SbVec2f &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_handleSubImage" "', argument " "5"" of type '" "SbVec2f &""'"); - } - arg5 = reinterpret_cast< SbVec2f * >(argp5); - (arg1)->handleSubImage(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_applySubImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - float arg4 ; - SbVec2s *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_applySubImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_applySubImage" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_applySubImage" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGLBigImage_applySubImage" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGLBigImage_applySubImage" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoGLBigImage_applySubImage" "', argument " "5"" of type '" "SbVec2s const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGLBigImage_applySubImage" "', argument " "5"" of type '" "SbVec2s const &""'"); - } - arg5 = reinterpret_cast< SbVec2s * >(argp5); - (arg1)->applySubImage(arg2,arg3,arg4,(SbVec2s const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_exceededChangeLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_exceededChangeLimit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_exceededChangeLimit" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - result = (SbBool)(arg1)->exceededChangeLimit(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_setChangeLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_setChangeLimit",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGLBigImage_setChangeLimit" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (int)SoGLBigImage::setChangeLimit(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_getGLDisplayList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLBigImage *arg1 = (SoGLBigImage *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoGLDisplayList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_getGLDisplayList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLBigImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGLBigImage_getGLDisplayList" "', argument " "1"" of type '" "SoGLBigImage *""'"); - } - arg1 = reinterpret_cast< SoGLBigImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGLBigImage_getGLDisplayList" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - result = (SoGLDisplayList *)(arg1)->getGLDisplayList(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLDisplayList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGLBigImage_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGLBigImage_initClass",0,0)) SWIG_fail; - SoGLBigImage::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGLBigImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGLBigImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",0,0)) SWIG_fail; - result = (SbBox2f *)new SbBox2f(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - float arg2 ; - float arg3 ; - float arg4 ; - SbBox2f *result = 0 ; - float val1 ; - int ecode1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2f" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2f" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2f" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SbBox2f *)new SbBox2f(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2f *arg1 = 0 ; - SbVec2f *arg2 = 0 ; - SbBox2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2f",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "1"" of type '" "SbVec2f const &""'"); - } - arg1 = reinterpret_cast< SbVec2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2f" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2f" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (SbBox2f *)new SbBox2f((SbVec2f const &)*arg1,(SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2f(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2f__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2f__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2f__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2f'.\n Possible C/C++ prototypes are:\n"" SbBox2f()\n"" SbBox2f(float,float,float,float)\n"" SbBox2f(SbVec2f const &,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2f(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2f",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2f" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMin" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f const &_result_ref = ((SbBox2f const *)arg1)->getMin(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getMax" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - { - SbVec2f const &_result_ref = ((SbBox2f const *)arg1)->getMax(); - result = (SbVec2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getCenter" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = ((SbBox2f const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_extendBy" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->extendBy((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_extendBy" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_extendBy" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - (arg1)->extendBy((SbBox2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbBox2f *,SbVec2f const &)\n"" extendBy(SbBox2f *,SbBox2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_intersect" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (SbBool)((SbBox2f const *)arg1)->intersect((SbVec2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_intersect" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_intersect" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (SbBool)((SbBox2f const *)arg1)->intersect((SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbBox2f const *,SbVec2f const &)\n"" intersect(SbBox2f const *,SbBox2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getClosestPoint" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getClosestPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getClosestPoint" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = ((SbBox2f const *)arg1)->getClosestPoint((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float arg2 ; - float arg3 ; - float arg4 ; - float arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - float val4 ; - int ecode4 = 0 ; - float val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2f_setBounds" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - ecode5 = SWIG_AsVal_float(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2f_setBounds" "', argument " "5"" of type '" "float""'"); - } - arg5 = static_cast< float >(val5); - (arg1)->setBounds(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_setBounds" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_setBounds" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - (arg1)->setBounds((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2f_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_setBounds'.\n Possible C/C++ prototypes are:\n"" setBounds(SbBox2f *,float,float,float,float)\n"" setBounds(SbBox2f *,SbVec2f const &,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - float *arg4 = 0 ; - float *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getBounds" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "4"" of type '" "float &""'"); - } - arg4 = reinterpret_cast< float * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "5"" of type '" "float &""'"); - } - arg5 = reinterpret_cast< float * >(argp5); - ((SbBox2f const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getBounds" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "SbVec2f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getBounds" "', argument " "3"" of type '" "SbVec2f &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - ((SbBox2f const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2f_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2f_getBounds'.\n Possible C/C++ prototypes are:\n"" getBounds(SbBox2f const *,float &,float &,float &,float &)\n"" getBounds(SbBox2f const *,SbVec2f &,SbVec2f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getOrigin" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getOrigin" "', argument " "2"" of type '" "float &""'"); - } - arg2 = reinterpret_cast< float * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f_getOrigin" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - ((SbBox2f const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float temp2 ; - int res2 = SWIG_TMPOBJ ; - float temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getSize" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - ((SbBox2f const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_getAspectRatio" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (float)((SbBox2f const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_makeEmpty" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_isEmpty" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBool)((SbBox2f const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f_hasArea" "', argument " "1"" of type '" "SbBox2f const *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - result = (SbBool)((SbBox2f const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f___eq__" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f___eq__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f___eq__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (int)SbBox2f___eq__(arg1,(SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2f___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2f *arg1 = (SbBox2f *) 0 ; - SbBox2f *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2f___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2f, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2f___ne__" "', argument " "1"" of type '" "SbBox2f *""'"); - } - arg1 = reinterpret_cast< SbBox2f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2f___ne__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2f___ne__" "', argument " "2"" of type '" "SbBox2f const &""'"); - } - arg2 = reinterpret_cast< SbBox2f * >(argp2); - result = (int)SbBox2f___ne__(arg1,(SbBox2f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2f_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2f, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGlyph_unref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_unref",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_unref" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ((SoGlyph const *)arg1)->unref(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbName *arg2 = 0 ; - SoGlyph *result = 0 ; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getGlyph",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoGlyph_getGlyph" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoGlyph *)SoGlyph::getGlyph(arg1,(SbName const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGlyph, 0 | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SbVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getCoords" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (SbVec2f *)((SoGlyph const *)arg1)->getCoords(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getFaceIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getFaceIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getFaceIndices" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (int *)((SoGlyph const *)arg1)->getFaceIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getEdgeIndices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getEdgeIndices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getEdgeIndices" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (int *)((SoGlyph const *)arg1)->getEdgeIndices(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getNextCWEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int arg2 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getNextCWEdge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getNextCWEdge" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getNextCWEdge" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int *)((SoGlyph const *)arg1)->getNextCWEdge(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getNextCCWEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - int arg2 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getNextCCWEdge",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getNextCCWEdge" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getNextCCWEdge" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int *)((SoGlyph const *)arg1)->getNextCCWEdge(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getWidth" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = (float)((SoGlyph const *)arg1)->getWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SbBox2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getBoundingBox" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - { - SbBox2f const &_result_ref = ((SoGlyph const *)arg1)->getBoundingBox(); - result = (SbBox2f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoState *arg1 = (SoState *) 0 ; - unsigned int arg2 ; - SbVec2s *arg3 = 0 ; - float arg4 ; - SoGlyph *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getGlyph",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getGlyph" "', argument " "1"" of type '" "SoState *""'"); - } - arg1 = reinterpret_cast< SoState * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGlyph_getGlyph" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGlyph_getGlyph" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getGlyph" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGlyph_getGlyph" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - result = (SoGlyph *)SoGlyph::getGlyph(arg1,arg2,(SbVec2s const &)*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGlyph, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getGlyph(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoGlyph_getGlyph__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGlyph_getGlyph__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGlyph_getGlyph'.\n Possible C/C++ prototypes are:\n"" getGlyph(char const,SbName const &)\n"" SoGlyph::getGlyph(SoState *,unsigned int const,SbVec2s const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getAdvance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getAdvance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getAdvance" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - result = ((SoGlyph const *)arg1)->getAdvance(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getKerning(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SoGlyph *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getKerning",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getKerning" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoGlyph, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGlyph_getKerning" "', argument " "2"" of type '" "SoGlyph const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getKerning" "', argument " "2"" of type '" "SoGlyph const &""'"); - } - arg2 = reinterpret_cast< SoGlyph * >(argp2); - result = ((SoGlyph const *)arg1)->getKerning((SoGlyph const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGlyph_getBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGlyph *arg1 = (SoGlyph *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - SbBool arg4 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGlyph_getBitmap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGlyph, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGlyph_getBitmap" "', argument " "1"" of type '" "SoGlyph const *""'"); - } - arg1 = reinterpret_cast< SoGlyph * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGlyph_getBitmap" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getBitmap" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGlyph_getBitmap" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoGlyph_getBitmap" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoGlyph_getBitmap" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (unsigned char *)((SoGlyph const *)arg1)->getBitmap(*arg2,*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGlyph_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGlyph, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoProto__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SoProto *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProto",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoProto" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SoProto *)new SoProto(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProto__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProto",0,0)) SWIG_fail; - result = (SoProto *)new SoProto(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProto(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoProto__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoProto__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoProto'.\n Possible C/C++ prototypes are:\n"" SoProto(SbBool const)\n"" SoProto()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_setFetchExternProtoCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFetchExternProtoCB *arg1 = (SoFetchExternProtoCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_setFetchExternProtoCallback",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoProto_setFetchExternProtoCallback" "', argument " "1"" of type '" "SoFetchExternProtoCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_setFetchExternProtoCallback" "', argument " "2"" of type '" "void *""'"); - } - SoProto::setFetchExternProtoCallback(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_getTypeId" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = ((SoProto const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getClassTypeId",0,0)) SWIG_fail; - result = SoProto::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findProto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SoProto *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findProto",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SoProto *)SoProto::findProto((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_initClass",0,0)) SWIG_fail; - SoProto::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_createProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoProtoInstance *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_createProtoInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_createProtoInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = (SoProtoInstance *)(arg1)->createProtoInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addISReference",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addISReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_addISReference" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - (arg1)->addISReference(arg2,(SbName const &)*arg3,(SbName const &)*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findISReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbName *arg3 = 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findISReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_findISReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_findISReference" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (arg1)->findISReference((SoFieldContainer const *)arg2,(SbName const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - SoBase *arg3 = (SoBase *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addReference",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProto_addReference" "', argument " "3"" of type '" "SoBase *""'"); - } - arg3 = reinterpret_cast< SoBase * >(argp3); - (arg1)->addReference((SbName const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_removeReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_removeReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_removeReference" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - (arg1)->removeReference((SbName const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_findReference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_findReference",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_findReference" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SoBase *)((SoProto const *)arg1)->findReference((SbName const &)*arg2); - { - resultobj = autocast_base(result); - } - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_addRoute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName *arg2 = 0 ; - SbName *arg3 = 0 ; - SbName *arg4 = 0 ; - SbName *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_addRoute",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_addRoute" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - { - if (PyString_Check(obj3)) { - arg4 = new SbName(PyString_AsString(obj3)); - } else { - SbName * tmp = NULL; - arg4 = new SbName; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbName(PyString_AsString(obj4)); - } else { - SbName * tmp = NULL; - arg5 = new SbName; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg5 = *tmp; - } - } - (arg1)->addRoute((SbName const &)*arg2,(SbName const &)*arg3,(SbName const &)*arg4,(SbName const &)*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_getProtoName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_getProtoName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_getProtoName" "', argument " "1"" of type '" "SoProto const *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - result = ((SoProto const *)arg1)->getProtoName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_readInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - unsigned short arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_readInstance",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_readInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_readInstance" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoProto_readInstance" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - result = (SbBool)(arg1)->readInstance(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProto_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProto_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProto_write" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProto_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProto_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProto, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getClassTypeId",0,0)) SWIG_fail; - result = SoProtoInstance::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getTypeId" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = ((SoProtoInstance const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_initClass",0,0)) SWIG_fail; - SoProtoInstance::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProto *arg1 = (SoProto *) 0 ; - SoFieldData *arg2 = (SoFieldData *) 0 ; - SoProtoInstance *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProtoInstance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProto, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoProtoInstance" "', argument " "1"" of type '" "SoProto *""'"); - } - arg1 = reinterpret_cast< SoProto * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldData, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoProtoInstance" "', argument " "2"" of type '" "SoFieldData const *""'"); - } - arg2 = reinterpret_cast< SoFieldData * >(argp2); - result = (SoProtoInstance *)new SoProtoInstance(arg1,(SoFieldData const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_findProtoInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoProtoInstance *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_findProtoInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_findProtoInstance" "', argument " "1"" of type '" "SoNode const *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - result = (SoProtoInstance *)SoProtoInstance::findProtoInstance((SoNode const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_setRootNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_setRootNode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_setRootNode" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProtoInstance_setRootNode" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setRootNode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getRootNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getRootNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getRootNode" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = (SoNode *)(arg1)->getRootNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getProtoDefinition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoProto *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getProtoDefinition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getProtoDefinition" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = (SoProto *)((SoProtoInstance const *)arg1)->getProtoDefinition(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProto, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_getProtoName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_getProtoName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_getProtoName" "', argument " "1"" of type '" "SoProtoInstance const *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - result = ((SoProtoInstance const *)arg1)->getProtoName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProtoInstance_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProtoInstance *arg1 = (SoProtoInstance *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProtoInstance_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProtoInstance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProtoInstance_write" "', argument " "1"" of type '" "SoProtoInstance *""'"); - } - arg1 = reinterpret_cast< SoProtoInstance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProtoInstance_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProtoInstance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProtoInstance, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTranReceiver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoTranReceiver *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranReceiver",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTranReceiver" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (SoTranReceiver *)new SoTranReceiver(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranReceiver, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTranReceiver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranReceiver *arg1 = (SoTranReceiver *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTranReceiver",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranReceiver, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTranReceiver" "', argument " "1"" of type '" "SoTranReceiver *""'"); - } - arg1 = reinterpret_cast< SoTranReceiver * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranReceiver_interpret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranReceiver *arg1 = (SoTranReceiver *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranReceiver_interpret",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranReceiver, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranReceiver_interpret" "', argument " "1"" of type '" "SoTranReceiver *""'"); - } - arg1 = reinterpret_cast< SoTranReceiver * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranReceiver_interpret" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - result = (SbBool)(arg1)->interpret(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranReceiver_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranReceiver, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTranSender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOutput *arg1 = (SoOutput *) 0 ; - SoTranSender *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranSender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoTranSender" "', argument " "1"" of type '" "SoOutput *""'"); - } - arg1 = reinterpret_cast< SoOutput * >(argp1); - result = (SoTranSender *)new SoTranSender(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranSender, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTranSender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTranSender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTranSender" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_getOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_getOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_getOutput" "', argument " "1"" of type '" "SoTranSender const *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - result = (SoOutput *)((SoTranSender const *)arg1)->getOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_insert",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_insert" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_insert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->insert(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_insert",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_insert" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_insert" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTranSender_insert" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoTranSender_insert" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->insert(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_insert(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTranSender, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoTranSender_insert__SWIG_0(self, args); - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoTranSender, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoTranSender_insert__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoTranSender_insert'.\n Possible C/C++ prototypes are:\n"" insert(SoTranSender *,SoNode *)\n"" insert(SoTranSender *,SoNode *,SoNode *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_remove",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_remove" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_remove" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTranSender_remove" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->remove(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - SoNode *arg4 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_replace",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_replace" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_replace" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoTranSender_replace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoTranSender_replace" "', argument " "4"" of type '" "SoNode *""'"); - } - arg4 = reinterpret_cast< SoNode * >(argp4); - (arg1)->replace(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_modify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_modify" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranSender_modify" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->modify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranSender_prepareToSend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranSender *arg1 = (SoTranSender *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranSender_prepareToSend",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranSender, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranSender_prepareToSend" "', argument " "1"" of type '" "SoTranSender *""'"); - } - arg1 = reinterpret_cast< SoTranSender * >(argp1); - (arg1)->prepareToSend(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranSender_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranSender, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getClassTypeId",0,0)) SWIG_fail; - result = SoAppearanceKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *arg1 = (SoAppearanceKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAppearanceKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAppearanceKit_getTypeId" "', argument " "1"" of type '" "SoAppearanceKit const *""'"); - } - arg1 = reinterpret_cast< SoAppearanceKit * >(argp1); - result = ((SoAppearanceKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoAppearanceKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *arg1 = (SoAppearanceKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAppearanceKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAppearanceKit_getNodekitCatalog" "', argument " "1"" of type '" "SoAppearanceKit const *""'"); - } - arg1 = reinterpret_cast< SoAppearanceKit * >(argp1); - result = (SoNodekitCatalog *)((SoAppearanceKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAppearanceKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAppearanceKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAppearanceKit",0,0)) SWIG_fail; - result = (SoAppearanceKit *)new SoAppearanceKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAppearanceKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAppearanceKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAppearanceKit_initClass",0,0)) SWIG_fail; - SoAppearanceKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAppearanceKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAppearanceKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCameraKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getClassTypeId",0,0)) SWIG_fail; - result = SoCameraKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *arg1 = (SoCameraKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCameraKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCameraKit_getTypeId" "', argument " "1"" of type '" "SoCameraKit const *""'"); - } - arg1 = reinterpret_cast< SoCameraKit * >(argp1); - result = ((SoCameraKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoCameraKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *arg1 = (SoCameraKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCameraKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCameraKit_getNodekitCatalog" "', argument " "1"" of type '" "SoCameraKit const *""'"); - } - arg1 = reinterpret_cast< SoCameraKit * >(argp1); - result = (SoNodekitCatalog *)((SoCameraKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCameraKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCameraKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCameraKit",0,0)) SWIG_fail; - result = (SoCameraKit *)new SoCameraKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCameraKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCameraKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCameraKit_initClass",0,0)) SWIG_fail; - SoCameraKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCameraKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCameraKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLightKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getClassTypeId",0,0)) SWIG_fail; - result = SoLightKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *arg1 = (SoLightKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightKit_getTypeId" "', argument " "1"" of type '" "SoLightKit const *""'"); - } - arg1 = reinterpret_cast< SoLightKit * >(argp1); - result = ((SoLightKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoLightKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *arg1 = (SoLightKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLightKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLightKit_getNodekitCatalog" "', argument " "1"" of type '" "SoLightKit const *""'"); - } - arg1 = reinterpret_cast< SoLightKit * >(argp1); - result = (SoNodekitCatalog *)((SoLightKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLightKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLightKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLightKit",0,0)) SWIG_fail; - result = (SoLightKit *)new SoLightKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLightKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLightKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLightKit_initClass",0,0)) SWIG_fail; - SoLightKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLightKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLightKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNodeKit_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeKit_init",0,0)) SWIG_fail; - SoNodeKit::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeKit",0,0)) SWIG_fail; - result = (SoNodeKit *)new SoNodeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeKit, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeKit *arg1 = (SoNodeKit *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeKit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeKit, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeKit" "', argument " "1"" of type '" "SoNodeKit *""'"); - } - arg1 = reinterpret_cast< SoNodeKit * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSceneKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getClassTypeId",0,0)) SWIG_fail; - result = SoSceneKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getTypeId" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = ((SoSceneKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSceneKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getNodekitCatalog" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (SoNodekitCatalog *)((SoSceneKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_initClass",0,0)) SWIG_fail; - SoSceneKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSceneKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneKit",0,0)) SWIG_fail; - result = (SoSceneKit *)new SoSceneKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_getCameraNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_getCameraNumber",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_getCameraNumber" "', argument " "1"" of type '" "SoSceneKit *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (int)(arg1)->getCameraNumber(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_setCameraNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_setCameraNumber",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_setCameraNumber" "', argument " "1"" of type '" "SoSceneKit *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneKit_setCameraNumber" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setCameraNumber(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneKit_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneKit *arg1 = (SoSceneKit *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneKit_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneKit_affectsState" "', argument " "1"" of type '" "SoSceneKit const *""'"); - } - arg1 = reinterpret_cast< SoSceneKit * >(argp1); - result = (SbBool)((SoSceneKit const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSceneKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getClassTypeId",0,0)) SWIG_fail; - result = SoSeparatorKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_getTypeId" "', argument " "1"" of type '" "SoSeparatorKit const *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = ((SoSeparatorKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoSeparatorKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_getNodekitCatalog" "', argument " "1"" of type '" "SoSeparatorKit const *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoNodekitCatalog *)((SoSeparatorKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparatorKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparatorKit",0,0)) SWIG_fail; - result = (SoSeparatorKit *)new SoSeparatorKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparatorKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCaching_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCaching_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_boundingBoxCaching_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_boundingBoxCaching_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCulling_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_renderCulling_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_pickCulling_set" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparatorKit_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparatorKit *arg1 = (SoSeparatorKit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparatorKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparatorKit_pickCulling_get" "', argument " "1"" of type '" "SoSeparatorKit *""'"); - } - arg1 = reinterpret_cast< SoSeparatorKit * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparatorKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparatorKit_initClass",0,0)) SWIG_fail; - SoSeparatorKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSeparatorKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSeparatorKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShapeKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getClassTypeId",0,0)) SWIG_fail; - result = SoShapeKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *arg1 = (SoShapeKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeKit_getTypeId" "', argument " "1"" of type '" "SoShapeKit const *""'"); - } - arg1 = reinterpret_cast< SoShapeKit * >(argp1); - result = ((SoShapeKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoShapeKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *arg1 = (SoShapeKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShapeKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShapeKit_getNodekitCatalog" "', argument " "1"" of type '" "SoShapeKit const *""'"); - } - arg1 = reinterpret_cast< SoShapeKit * >(argp1); - result = (SoNodekitCatalog *)((SoShapeKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShapeKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShapeKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShapeKit",0,0)) SWIG_fail; - result = (SoShapeKit *)new SoShapeKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShapeKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShapeKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShapeKit_initClass",0,0)) SWIG_fail; - SoShapeKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShapeKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShapeKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getClassTypeId",0,0)) SWIG_fail; - result = SoWrapperKit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *arg1 = (SoWrapperKit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWrapperKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWrapperKit_getTypeId" "', argument " "1"" of type '" "SoWrapperKit const *""'"); - } - arg1 = reinterpret_cast< SoWrapperKit * >(argp1); - result = ((SoWrapperKit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getClassNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodekitCatalog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getClassNodekitCatalog",0,0)) SWIG_fail; - result = (SoNodekitCatalog *)SoWrapperKit::getClassNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_getNodekitCatalog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *arg1 = (SoWrapperKit *) 0 ; - SoNodekitCatalog *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_getNodekitCatalog",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWrapperKit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWrapperKit_getNodekitCatalog" "', argument " "1"" of type '" "SoWrapperKit const *""'"); - } - arg1 = reinterpret_cast< SoWrapperKit * >(argp1); - result = (SoNodekitCatalog *)((SoWrapperKit const *)arg1)->getNodekitCatalog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodekitCatalog, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWrapperKit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWrapperKit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWrapperKit",0,0)) SWIG_fail; - result = (SoWrapperKit *)new SoWrapperKit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWrapperKit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWrapperKit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWrapperKit_initClass",0,0)) SWIG_fail; - SoWrapperKit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWrapperKit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWrapperKit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoGroup_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getClassTypeId",0,0)) SWIG_fail; - result = SoGroup::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getTypeId" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = ((SoGroup const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_initClass",0,0)) SWIG_fail; - SoGroup::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGroup",0,0)) SWIG_fail; - result = (SoGroup *)new SoGroup(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoGroup *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoGroup",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoGroup" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoGroup *)new SoGroup(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoGroup__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoGroup__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoGroup'.\n Possible C/C++ prototypes are:\n"" SoGroup()\n"" SoGroup(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_addChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_insertChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoGroup_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getChild" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoGroup const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_findChild" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoGroup const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getNumChildren" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (int)((SoGroup const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoGroup_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGroup_removeChild'.\n Possible C/C++ prototypes are:\n"" removeChild(SoGroup *,int)\n"" removeChild(SoGroup *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_removeAllChildren" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_replaceChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGroup_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_replaceChild" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoGroup_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGroup, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoGroup_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoGroup_replaceChild'.\n Possible C/C++ prototypes are:\n"" replaceChild(SoGroup *,int,SoNode *)\n"" replaceChild(SoGroup *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_doAction" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_GLRender" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_callback" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getBoundingBox" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getMatrix" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_handleEvent" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_pick" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_search" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_write" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getPrimitiveCount" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_audioRender" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup_getChildren" "', argument " "1"" of type '" "SoGroup const *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (SoChildList *)((SoGroup const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___len__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - result = (int)SoGroup___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___contains__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___contains__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoGroup___contains__" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)SoGroup___contains__(arg1,(SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoGroup___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGroup *arg1 = (SoGroup *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoGroup___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoGroup___getitem__" "', argument " "1"" of type '" "SoGroup *""'"); - } - arg1 = reinterpret_cast< SoGroup * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoGroup___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)SoGroup___getitem__(arg1,arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoGroup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoGroup, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSeparator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getClassTypeId",0,0)) SWIG_fail; - result = SoSeparator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getTypeId" "', argument " "1"" of type '" "SoSeparator const *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = ((SoSeparator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_initClass",0,0)) SWIG_fail; - SoSeparator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparator",0,0)) SWIG_fail; - result = (SoSeparator *)new SoSeparator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoSeparator *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSeparator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSeparator" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSeparator *)new SoSeparator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSeparator__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSeparator__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSeparator'.\n Possible C/C++ prototypes are:\n"" SoSeparator()\n"" SoSeparator(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCaching_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCaching_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_boundingBoxCaching_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_boundingBoxCaching_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCulling_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_renderCulling_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_pickCulling_set" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_pickCulling_get" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_doAction" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRender" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderBelowPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderInPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_GLRenderOffPath" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_callback" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getBoundingBox" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getMatrix" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_handleEvent" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_rayPick" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_search" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_getPrimitiveCount" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_audioRender" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_notify" "', argument " "1"" of type '" "SoSeparator *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSeparator_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoSeparator_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoSeparator::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoSeparator::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSeparator_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSeparator *arg1 = (SoSeparator *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSeparator_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSeparator_affectsState" "', argument " "1"" of type '" "SoSeparator const *""'"); - } - arg1 = reinterpret_cast< SoSeparator * >(argp1); - result = (SbBool)((SoSeparator const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSeparator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSeparator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAnnotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_getClassTypeId",0,0)) SWIG_fail; - result = SoAnnotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_getTypeId" "', argument " "1"" of type '" "SoAnnotation const *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - result = ((SoAnnotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_initClass",0,0)) SWIG_fail; - SoAnnotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAnnotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAnnotation",0,0)) SWIG_fail; - result = (SoAnnotation *)new SoAnnotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAnnotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRender" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderBelowPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderInPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAnnotation_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAnnotation *arg1 = (SoAnnotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAnnotation_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAnnotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAnnotation_GLRenderOffPath" "', argument " "1"" of type '" "SoAnnotation *""'"); - } - arg1 = reinterpret_cast< SoAnnotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAnnotation_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAnnotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAnnotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAntiSquish_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_getClassTypeId",0,0)) SWIG_fail; - result = SoAntiSquish::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_getTypeId" "', argument " "1"" of type '" "SoAntiSquish const *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = ((SoAntiSquish const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_initClass",0,0)) SWIG_fail; - SoAntiSquish::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAntiSquish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAntiSquish",0,0)) SWIG_fail; - result = (SoAntiSquish *)new SoAntiSquish(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAntiSquish, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_sizing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_sizing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_sizing_set" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_sizing_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->sizing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_sizing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_sizing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_sizing_get" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = (SoSFEnum *)& ((arg1)->sizing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalcAlways_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalcAlways_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalcAlways_set" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_recalcAlways_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->recalcAlways = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalcAlways_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalcAlways_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalcAlways_get" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - result = (SoSFBool *)& ((arg1)->recalcAlways); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_recalc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_recalc",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_recalc" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - (arg1)->recalc(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAntiSquish_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAntiSquish *arg1 = (SoAntiSquish *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAntiSquish_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAntiSquish, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAntiSquish_doAction" "', argument " "1"" of type '" "SoAntiSquish *""'"); - } - arg1 = reinterpret_cast< SoAntiSquish * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAntiSquish_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAntiSquish_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAntiSquish, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoArray_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getClassTypeId",0,0)) SWIG_fail; - result = SoArray::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getTypeId" "', argument " "1"" of type '" "SoArray const *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = ((SoArray const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_initClass",0,0)) SWIG_fail; - SoArray::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoArray",0,0)) SWIG_fail; - result = (SoArray *)new SoArray(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoArray, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_origin_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_origin_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_origin_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_origin_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->origin = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_origin_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_origin_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_origin_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFEnum *)& ((arg1)->origin); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements1_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements1_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements1_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements2_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements2_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements2 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements2_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *arg2 = (SoSFShort *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements3_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFShort, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_numElements3_set" "', argument " "2"" of type '" "SoSFShort *""'"); - } - arg2 = reinterpret_cast< SoSFShort * >(argp2); - if (arg1) (arg1)->numElements3 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_numElements3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFShort *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_numElements3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_numElements3_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFShort *)& ((arg1)->numElements3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFShort, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation1_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation1_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation1_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation2_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation2_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation2_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation2 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation2_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation2_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation3_set" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_separation3_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->separation3 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_separation3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_separation3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_separation3_get" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SoSFVec3f *)& ((arg1)->separation3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_affectsState" "', argument " "1"" of type '" "SoArray const *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - result = (SbBool)((SoArray const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_doAction" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_callback" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_GLRender" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_pick" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getBoundingBox" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_handleEvent" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getMatrix" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_search" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_getPrimitiveCount" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoArray_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoArray *arg1 = (SoArray *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoArray_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoArray, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoArray_audioRender" "', argument " "1"" of type '" "SoArray *""'"); - } - arg1 = reinterpret_cast< SoArray * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoArray_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoArray, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoAsciiText_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getClassTypeId",0,0)) SWIG_fail; - result = SoAsciiText::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_getTypeId" "', argument " "1"" of type '" "SoAsciiText const *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = ((SoAsciiText const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_initClass",0,0)) SWIG_fail; - SoAsciiText::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAsciiText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAsciiText",0,0)) SWIG_fail; - result = (SoAsciiText *)new SoAsciiText(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAsciiText, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_string_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_string_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_spacing_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_spacing_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_justification_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_justification_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_width_set" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_width_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->width = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_width_get" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - result = (SoMFFloat *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_GLRender" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAsciiText_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAsciiText *arg1 = (SoAsciiText *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAsciiText_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAsciiText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAsciiText_getPrimitiveCount" "', argument " "1"" of type '" "SoAsciiText *""'"); - } - arg1 = reinterpret_cast< SoAsciiText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoAsciiText_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAsciiText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAsciiText, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBaseColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_getClassTypeId",0,0)) SWIG_fail; - result = SoBaseColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_getTypeId" "', argument " "1"" of type '" "SoBaseColor const *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - result = ((SoBaseColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_initClass",0,0)) SWIG_fail; - SoBaseColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBaseColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBaseColor",0,0)) SWIG_fail; - result = (SoBaseColor *)new SoBaseColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBaseColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_rgb_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_rgb_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_rgb_set" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_rgb_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->rgb = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_rgb_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_rgb_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_rgb_get" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - result = (SoMFColor *)& ((arg1)->rgb); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_doAction" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_GLRender" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBaseColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBaseColor *arg1 = (SoBaseColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBaseColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBaseColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBaseColor_callback" "', argument " "1"" of type '" "SoBaseColor *""'"); - } - arg1 = reinterpret_cast< SoBaseColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBaseColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBaseColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBaseColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getTypeId" "', argument " "1"" of type '" "SoSwitch const *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = ((SoSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_initClass",0,0)) SWIG_fail; - SoSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSwitch",0,0)) SWIG_fail; - result = (SoSwitch *)new SoSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoSwitch *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSwitch *)new SoSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSwitch'.\n Possible C/C++ prototypes are:\n"" SoSwitch()\n"" SoSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_whichChild_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_whichChild_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_whichChild_set" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_whichChild_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->whichChild = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_whichChild_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_whichChild_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_whichChild_get" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = (SoSFInt32 *)& ((arg1)->whichChild); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_affectsState" "', argument " "1"" of type '" "SoSwitch const *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - result = (SbBool)((SoSwitch const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_doAction" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_callback" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_GLRender" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_pick" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getBoundingBox" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_handleEvent" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getMatrix" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_search" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_write" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_getPrimitiveCount" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_audioRender" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSwitch_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSwitch *arg1 = (SoSwitch *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSwitch_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSwitch_notify" "', argument " "1"" of type '" "SoSwitch *""'"); - } - arg1 = reinterpret_cast< SoSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSwitch_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBlinker_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getClassTypeId",0,0)) SWIG_fail; - result = SoBlinker::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_getTypeId" "', argument " "1"" of type '" "SoBlinker const *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = ((SoBlinker const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_initClass",0,0)) SWIG_fail; - SoBlinker::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBlinker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBlinker",0,0)) SWIG_fail; - result = (SoBlinker *)new SoBlinker(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBlinker, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_speed_set" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_speed_get" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_on_set" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_on_get" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_getBoundingBox" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBlinker_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBlinker *arg1 = (SoBlinker *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBlinker_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBlinker, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBlinker_write" "', argument " "1"" of type '" "SoBlinker *""'"); - } - arg1 = reinterpret_cast< SoBlinker * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBlinker_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBlinker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBlinker, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_getTypeId" "', argument " "1"" of type '" "SoBumpMapCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - result = ((SoBumpMapCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_initClass",0,0)) SWIG_fail; - SoBumpMapCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMapCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMapCoordinate",0,0)) SWIG_fail; - result = (SoBumpMapCoordinate *)new SoBumpMapCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_point_set" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_point_get" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_doAction" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_GLRender" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_callback" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapCoordinate *arg1 = (SoBumpMapCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapCoordinate_pick" "', argument " "1"" of type '" "SoBumpMapCoordinate *""'"); - } - arg1 = reinterpret_cast< SoBumpMapCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMap_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMap::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_getTypeId" "', argument " "1"" of type '" "SoBumpMap const *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = ((SoBumpMap const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_initClass",0,0)) SWIG_fail; - SoBumpMap::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMap",0,0)) SWIG_fail; - result = (SoBumpMap *)new SoBumpMap(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMap, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_filename_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_filename_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_filename_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->filename = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_filename_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_filename_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFString *)& ((arg1)->filename); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_image_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_image_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapS_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapS_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapT_set" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_wrapT_get" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_doAction" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_GLRender" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_callback" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMap *arg1 = (SoBumpMap *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMap_rayPick" "', argument " "1"" of type '" "SoBumpMap *""'"); - } - arg1 = reinterpret_cast< SoBumpMap * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMap_readImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - int *arg4 = 0 ; - unsigned char **arg5 = 0 ; - SbBool result; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMap_readImage",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMap_readImage" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMap_readImage" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoBumpMap_readImage" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMap_readImage" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoBumpMap_readImage" "', argument " "4"" of type '" "int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMap_readImage" "', argument " "4"" of type '" "int &""'"); - } - arg4 = reinterpret_cast< int * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoBumpMap_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoBumpMap_readImage" "', argument " "5"" of type '" "unsigned char *&""'"); - } - arg5 = reinterpret_cast< unsigned char ** >(argp5); - result = (SbBool)SoBumpMap::readImage((SbString const &)*arg1,*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoBumpMapTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_getTypeId" "', argument " "1"" of type '" "SoBumpMapTransform const *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = ((SoBumpMapTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_initClass",0,0)) SWIG_fail; - SoBumpMapTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoBumpMapTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoBumpMapTransform",0,0)) SWIG_fail; - result = (SoBumpMapTransform *)new SoBumpMapTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoBumpMapTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_translation_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_translation_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_rotation_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_rotation_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_scaleFactor_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_scaleFactor_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_center_set" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_center_get" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_doAction" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_callback" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_GLRender" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_getMatrix" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoBumpMapTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBumpMapTransform *arg1 = (SoBumpMapTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoBumpMapTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBumpMapTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoBumpMapTransform_pick" "', argument " "1"" of type '" "SoBumpMapTransform *""'"); - } - arg1 = reinterpret_cast< SoBumpMapTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoBumpMapTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoBumpMapTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoBumpMapTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCallback_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getClassTypeId",0,0)) SWIG_fail; - result = SoCallback::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getTypeId" "', argument " "1"" of type '" "SoCallback const *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - result = ((SoCallback const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_initClass",0,0)) SWIG_fail; - SoCallback::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCallback",0,0)) SWIG_fail; - result = (SoCallback *)new SoCallback(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCallback, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackCB *arg2 = (SoCallbackCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallback_setCallback" "', argument " "2"" of type '" "SoCallbackCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCallback_setCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackCB *arg2 = (SoCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoAction__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoCallback_setCallback" "', argument " "2"" of type '" "SoCallbackCB *""'"); - } - } - (arg1)->setCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_doAction" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_callback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_GLRender" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getBoundingBox" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getMatrix" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_handleEvent" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_pick" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_search" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_write" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_getPrimitiveCount" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCallback_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoCallback_setCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCallback *arg1 = (SoCallback *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCallback_setCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCallback_setCallback" "', argument " "1"" of type '" "SoCallback *""'"); - } - arg1 = reinterpret_cast< SoCallback * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoCallback_setCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCallback_setCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoAction__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoAction__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoCallback_setCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCallback_setCallback'.\n Possible C/C++ prototypes are:\n"" setCallback(SoCallback *,SoCallbackCB *,void *)\n"" setCallback(SoCallback *,SoCallbackCB *)\n"" setCallback(SoCallback *,PyObject *,PyObject *)\n"" setCallback(SoCallback *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCallback, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getTypeId" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = ((SoCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_initClass",0,0)) SWIG_fail; - SoCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewportMapping_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewportMapping_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewportMapping_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewportMapping_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->viewportMapping = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewportMapping_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewportMapping_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewportMapping_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFEnum *)& ((arg1)->viewportMapping); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_position_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_position_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_orientation_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_orientation_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_aspectRatio_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_aspectRatio_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_aspectRatio_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_aspectRatio_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->aspectRatio = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_aspectRatio_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_aspectRatio_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_aspectRatio_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->aspectRatio); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_nearDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_nearDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_nearDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_nearDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->nearDistance = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_nearDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_nearDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_nearDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->nearDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_farDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_farDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_farDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_farDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->farDistance = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_farDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_farDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_farDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->farDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_focalDistance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_focalDistance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_focalDistance_set" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_focalDistance_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->focalDistance = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_focalDistance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_focalDistance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_focalDistance_get" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->focalDistance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_pointAt",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_pointAt" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->pointAt((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_pointAt" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_pointAt(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_pointAt__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_pointAt__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_pointAt'.\n Possible C/C++ prototypes are:\n"" pointAt(SoCamera *,SbVec3f const &)\n"" pointAt(SoCamera *,SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_scaleHeight" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewVolume" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewVolume" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = ((SoCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_getViewVolume'.\n Possible C/C++ prototypes are:\n"" getViewVolume(SoCamera const *,float)\n"" getViewVolume(SoCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewportRegion *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoCamera_viewAll" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbViewportRegion *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - SbViewportRegion *arg3 = 0 ; - float arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - float val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - ecode4 = SWIG_AsVal_float(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoCamera_viewAll" "', argument " "4"" of type '" "float""'"); - } - arg4 = static_cast< float >(val4); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoPath *arg2 = (SoPath *) (SoPath *)0 ; - SbViewportRegion *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_viewAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_viewAll" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_viewAll" "', argument " "2"" of type '" "SoPath *const""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_viewAll" "', argument " "3"" of type '" "SbViewportRegion const &""'"); - } - arg3 = reinterpret_cast< SbViewportRegion * >(argp3); - (arg1)->viewAll(arg2,(SbViewportRegion const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_viewAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoCamera_viewAll__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoCamera_viewAll'.\n Possible C/C++ prototypes are:\n"" viewAll(SoCamera *,SoNode *const,SbViewportRegion const &,float const)\n"" viewAll(SoCamera *,SoNode *const,SbViewportRegion const &)\n"" viewAll(SoCamera *,SoPath *const,SbViewportRegion const &,float const)\n"" viewAll(SoCamera *,SoPath *const,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getViewportBounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SbViewportRegion *arg2 = 0 ; - SbViewportRegion result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getViewportBounds",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getViewportBounds" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getViewportBounds" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoCamera_getViewportBounds" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoCamera const *)arg1)->getViewportBounds((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbViewportRegion(static_cast< const SbViewportRegion& >(result))), SWIGTYPE_p_SbViewportRegion, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoCamera::StereoMode arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setStereoMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setStereoMode" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setStereoMode" "', argument " "2"" of type '" "SoCamera::StereoMode""'"); - } - arg2 = static_cast< SoCamera::StereoMode >(val2); - (arg1)->setStereoMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getStereoMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoCamera::StereoMode result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getStereoMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getStereoMode" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (SoCamera::StereoMode)((SoCamera const *)arg1)->getStereoMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setStereoAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setStereoAdjustment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setStereoAdjustment" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setStereoAdjustment" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setStereoAdjustment(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getStereoAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getStereoAdjustment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getStereoAdjustment" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (float)((SoCamera const *)arg1)->getStereoAdjustment(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_setBalanceAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_setBalanceAdjustment",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_setBalanceAdjustment" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCamera_setBalanceAdjustment" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setBalanceAdjustment(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getBalanceAdjustment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getBalanceAdjustment",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getBalanceAdjustment" "', argument " "1"" of type '" "SoCamera const *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - result = (float)((SoCamera const *)arg1)->getBalanceAdjustment(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_doAction" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_callback" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_GLRender" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_audioRender" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getBoundingBox" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_handleEvent" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_rayPick" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCamera_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCamera *arg1 = (SoCamera *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCamera_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCamera_getPrimitiveCount" "', argument " "1"" of type '" "SoCamera *""'"); - } - arg1 = reinterpret_cast< SoCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCamera_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoColorIndex_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_getClassTypeId",0,0)) SWIG_fail; - result = SoColorIndex::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_getTypeId" "', argument " "1"" of type '" "SoColorIndex const *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - result = ((SoColorIndex const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_initClass",0,0)) SWIG_fail; - SoColorIndex::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoColorIndex",0,0)) SWIG_fail; - result = (SoColorIndex *)new SoColorIndex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoColorIndex, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_index_set" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoColorIndex_index_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_index_get" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - result = (SoMFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoColorIndex_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoColorIndex *arg1 = (SoColorIndex *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoColorIndex_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoColorIndex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoColorIndex_GLRender" "', argument " "1"" of type '" "SoColorIndex *""'"); - } - arg1 = reinterpret_cast< SoColorIndex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoColorIndex_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoColorIndex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoColorIndex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCone_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getClassTypeId",0,0)) SWIG_fail; - result = SoCone::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_getTypeId" "', argument " "1"" of type '" "SoCone const *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = ((SoCone const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_initClass",0,0)) SWIG_fail; - SoCone::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCone",0,0)) SWIG_fail; - result = (SoCone *)new SoCone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCone, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_parts_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_parts_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_bottomRadius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_bottomRadius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_bottomRadius_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_bottomRadius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->bottomRadius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_bottomRadius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_bottomRadius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_bottomRadius_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->bottomRadius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_height_set" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_height_get" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_addPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_addPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_addPart" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_addPart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - (arg1)->addPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_removePart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_removePart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_removePart" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_removePart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - (arg1)->removePart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_hasPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoCone::Part arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_hasPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_hasPart" "', argument " "1"" of type '" "SoCone const *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCone_hasPart" "', argument " "2"" of type '" "SoCone::Part""'"); - } - arg2 = static_cast< SoCone::Part >(val2); - result = (SbBool)((SoCone const *)arg1)->hasPart(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_GLRender" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_rayPick" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCone_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCone *arg1 = (SoCone *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCone_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCone_getPrimitiveCount" "', argument " "1"" of type '" "SoCone *""'"); - } - arg1 = reinterpret_cast< SoCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCone_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCone, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getTypeId" "', argument " "1"" of type '" "SoCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - result = ((SoCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_initClass",0,0)) SWIG_fail; - SoCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCoordinate3",0,0)) SWIG_fail; - result = (SoCoordinate3 *)new SoCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_point_set" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_point_get" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_doAction" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_GLRender" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_callback" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getBoundingBox" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_pick" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate3 *arg1 = (SoCoordinate3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate3_getPrimitiveCount" "', argument " "1"" of type '" "SoCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getClassTypeId",0,0)) SWIG_fail; - result = SoCoordinate4::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getTypeId" "', argument " "1"" of type '" "SoCoordinate4 const *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - result = ((SoCoordinate4 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_initClass",0,0)) SWIG_fail; - SoCoordinate4::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCoordinate4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCoordinate4",0,0)) SWIG_fail; - result = (SoCoordinate4 *)new SoCoordinate4(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCoordinate4, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoMFVec4f *arg2 = (SoMFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_point_set" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_point_set" "', argument " "2"" of type '" "SoMFVec4f *""'"); - } - arg2 = reinterpret_cast< SoMFVec4f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoMFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_point_get" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - result = (SoMFVec4f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_doAction" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_GLRender" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getBoundingBox" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_callback" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_pick" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCoordinate4_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCoordinate4 *arg1 = (SoCoordinate4 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCoordinate4_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCoordinate4, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCoordinate4_getPrimitiveCount" "', argument " "1"" of type '" "SoCoordinate4 *""'"); - } - arg1 = reinterpret_cast< SoCoordinate4 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCoordinate4_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCoordinate4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCoordinate4, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCube_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getClassTypeId",0,0)) SWIG_fail; - result = SoCube::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_getTypeId" "', argument " "1"" of type '" "SoCube const *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = ((SoCube const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_initClass",0,0)) SWIG_fail; - SoCube::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCube",0,0)) SWIG_fail; - result = (SoCube *)new SoCube(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCube, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_width_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_width_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_width_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->width = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_width_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_width_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->width); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_height_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_height_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_depth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_depth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_depth_set" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_depth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->depth = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_depth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_depth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_depth_get" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - result = (SoSFFloat *)& ((arg1)->depth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_GLRender" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_rayPick" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCube_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCube *arg1 = (SoCube *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCube_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCube_getPrimitiveCount" "', argument " "1"" of type '" "SoCube *""'"); - } - arg1 = reinterpret_cast< SoCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCube_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCube_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCube, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_getTypeId" "', argument " "1"" of type '" "SoCylinder const *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = ((SoCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_initClass",0,0)) SWIG_fail; - SoCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoCylinder",0,0)) SWIG_fail; - result = (SoCylinder *)new SoCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_radius_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_radius_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_height_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_height_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_parts_set" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_parts_get" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_addPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_addPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_addPart" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_addPart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - (arg1)->addPart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_removePart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_removePart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_removePart" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_removePart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - (arg1)->removePart(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_hasPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoCylinder::Part arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_hasPart",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_hasPart" "', argument " "1"" of type '" "SoCylinder const *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoCylinder_hasPart" "', argument " "2"" of type '" "SoCylinder::Part""'"); - } - arg2 = static_cast< SoCylinder::Part >(val2); - result = (SbBool)((SoCylinder const *)arg1)->hasPart(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_rayPick" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_getPrimitiveCount" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoCylinder *arg1 = (SoCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoCylinder_GLRender" "', argument " "1"" of type '" "SoCylinder *""'"); - } - arg1 = reinterpret_cast< SoCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEnvironment_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_getClassTypeId",0,0)) SWIG_fail; - result = SoEnvironment::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_getTypeId" "', argument " "1"" of type '" "SoEnvironment const *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = ((SoEnvironment const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_initClass",0,0)) SWIG_fail; - SoEnvironment::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEnvironment",0,0)) SWIG_fail; - result = (SoEnvironment *)new SoEnvironment(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEnvironment, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_GLRender" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_callback" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientIntensity_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientIntensity_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientColor_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_ambientColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->ambientColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_ambientColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_ambientColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_ambientColor_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFColor *)& ((arg1)->ambientColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_attenuation_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_attenuation_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogType_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->fogType = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogType_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFEnum *)& ((arg1)->fogType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogColor_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->fogColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogColor_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFColor *)& ((arg1)->fogColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogVisibility_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogVisibility_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogVisibility_set" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEnvironment_fogVisibility_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->fogVisibility = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEnvironment_fogVisibility_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEnvironment *arg1 = (SoEnvironment *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEnvironment_fogVisibility_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEnvironment_fogVisibility_get" "', argument " "1"" of type '" "SoEnvironment *""'"); - } - arg1 = reinterpret_cast< SoEnvironment * >(argp1); - result = (SoSFFloat *)& ((arg1)->fogVisibility); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEnvironment, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoEventCallback_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getClassTypeId",0,0)) SWIG_fail; - result = SoEventCallback::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getTypeId" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = ((SoEventCallback const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_initClass",0,0)) SWIG_fail; - SoEventCallback::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoEventCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEventCallback",0,0)) SWIG_fail; - result = (SoEventCallback *)new SoEventCallback(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEventCallback, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_setPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_setPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_setPath" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_setPath" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->setPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getPath" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoPath *)(arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_addEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEventCallback_addEventCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->addEventCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_addEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - (arg1)->addEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_removeEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoEventCallback_removeEventCallback" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->removeEventCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - SoEventCallbackCB *arg3 = (SoEventCallbackCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoEventCallback_removeEventCallback" "', argument " "3"" of type '" "SoEventCallbackCB *""'"); - } - } - (arg1)->removeEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoHandleEventAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getAction" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoHandleEventAction *)((SoEventCallback const *)arg1)->getAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getEvent" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoEvent *)((SoEventCallback const *)arg1)->getEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_getPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_getPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_getPickedPoint" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SoPickedPoint *)((SoEventCallback const *)arg1)->getPickedPoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_setHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_setHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_setHandled" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->setHandled(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_isHandled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_isHandled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_isHandled" "', argument " "1"" of type '" "SoEventCallback const *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - result = (SbBool)((SoEventCallback const *)arg1)->isHandled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_grabEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_grabEvents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_grabEvents" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->grabEvents(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_releaseEvents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_releaseEvents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_releaseEvents" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - (arg1)->releaseEvents(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoEventCallback_addEventCallback__SWIG_2(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_addEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_addEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_addEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - SoEventCallback_addEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_addEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoEventCallback_addEventCallback__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEventCallback_addEventCallback'.\n Possible C/C++ prototypes are:\n"" addEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *,void *)\n"" addEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *)\n"" addEventCallback(SoEventCallback *,SoType,PyObject *,PyObject *)\n"" addEventCallback(SoEventCallback *,SoType,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - arg4 = obj3; - SoEventCallback_removeEventCallback__SWIG_2(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEventCallback *arg1 = (SoEventCallback *) 0 ; - SoType arg2 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEventCallback_removeEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEventCallback, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEventCallback_removeEventCallback" "', argument " "1"" of type '" "SoEventCallback *""'"); - } - arg1 = reinterpret_cast< SoEventCallback * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEventCallback_removeEventCallback" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - if (!PyCallable_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg3 = obj2; - } - SoEventCallback_removeEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEventCallback_removeEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void_p_SoEventCallback__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[3], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEventCallback, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SoType, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[2]) ? 1 : 0; - } - if (_v) { - _v = (argv[3] != 0); - if (_v) { - return _wrap_SoEventCallback_removeEventCallback__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEventCallback_removeEventCallback'.\n Possible C/C++ prototypes are:\n"" removeEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *,void *)\n"" removeEventCallback(SoEventCallback *,SoType,SoEventCallbackCB *)\n"" removeEventCallback(SoEventCallback *,SoType,PyObject *,PyObject *)\n"" removeEventCallback(SoEventCallback *,SoType,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoEventCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEventCallback, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSelection_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getClassTypeId",0,0)) SWIG_fail; - result = SoSelection::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getTypeId" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = ((SoSelection const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_initClass",0,0)) SWIG_fail; - SoSelection::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelection",0,0)) SWIG_fail; - result = (SoSelection *)new SoSelection(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_policy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_policy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_policy_set" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_policy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->policy = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_policy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_policy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_policy_get" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->policy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoSelection *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSelection",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoSelection" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoSelection *)new SoSelection(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSelection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoSelection__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoSelection__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoSelection'.\n Possible C/C++ prototypes are:\n"" SoSelection()\n"" SoSelection(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_select",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_select" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_select" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->select((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_select",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_select" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_select" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->select(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_select(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_select__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_select__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_select'.\n Possible C/C++ prototypes are:\n"" select(SoSelection *,SoPath const *)\n"" select(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->deselect((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deselect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselect" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_deselect" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->deselect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_deselect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_deselect__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_deselect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_deselect'.\n Possible C/C++ prototypes are:\n"" deselect(SoSelection *,SoPath const *)\n"" deselect(SoSelection *,int const)\n"" deselect(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_toggle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_toggle" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_toggle" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->toggle((SoPath const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_toggle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_toggle" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_toggle" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->toggle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_toggle(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_toggle__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_toggle__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_toggle'.\n Possible C/C++ prototypes are:\n"" toggle(SoSelection *,SoPath const *)\n"" toggle(SoSelection *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isSelected",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_isSelected" "', argument " "2"" of type '" "SoPath const *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)((SoSelection const *)arg1)->isSelected((SoPath const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isSelected",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSelection_isSelected" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)((SoSelection const *)arg1)->isSelected(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isSelected(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_isSelected__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_isSelected__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_isSelected'.\n Possible C/C++ prototypes are:\n"" isSelected(SoSelection const *,SoPath const *)\n"" isSelected(SoSelection const *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_deselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_deselectAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_deselectAll" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - (arg1)->deselectAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getNumSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getNumSelected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getNumSelected" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (int)((SoSelection const *)arg1)->getNumSelected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoPathList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getList" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SoPathList *)((SoSelection const *)arg1)->getList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - int arg2 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getPath" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_getPath" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoPath *)((SoSelection const *)arg1)->getPath(arg2); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addSelectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->addSelectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeSelectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeSelectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->removeSelectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addDeselectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addDeselectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->addDeselectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeDeselectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPathCB *arg2 = (SoSelectionPathCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoPath__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "2"" of type '" "SoSelectionPathCB *""'"); - } - } - (arg1)->removeDeselectionCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addStartCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeStartCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeStartCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addFinishCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeFinishCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeFinishCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *arg3 = (void *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_setPickFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSelection_setPickFilterCallback" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->setPickFilterCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_setPickFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPickFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionPickCB *arg2 = (SoSelectionPickCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_setPickFilterCallback" "', argument " "2"" of type '" "SoSelectionPickCB *""'"); - } - } - (arg1)->setPickFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickMatching",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickMatching" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSelection_setPickMatching" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPickMatching(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_isPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_isPickMatching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_isPickMatching" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SbBool)((SoSelection const *)arg1)->isPickMatching(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_getPickMatching(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_getPickMatching",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_getPickMatching" "', argument " "1"" of type '" "SoSelection const *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - result = (SbBool)((SoSelection const *)arg1)->getPickMatching(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_addChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_addChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->addChangeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSelection_removeChangeCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->removeChangeCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - SoSelectionClassCB *arg2 = (SoSelectionClassCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSelection__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSelection_removeChangeCallback" "', argument " "2"" of type '" "SoSelectionClassCB *""'"); - } - } - (arg1)->removeChangeCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addSelectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addSelectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addSelectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addSelectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addSelectionCallback'.\n Possible C/C++ prototypes are:\n"" addSelectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n"" addSelectionCallback(SoSelection *,SoSelectionPathCB *)\n"" addSelectionCallback(SoSelection *,PyObject *,PyObject *)\n"" addSelectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeSelectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeSelectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeSelectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeSelectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeSelectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeSelectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeSelectionCallback'.\n Possible C/C++ prototypes are:\n"" removeSelectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n"" removeSelectionCallback(SoSelection *,SoSelectionPathCB *)\n"" removeSelectionCallback(SoSelection *,PyObject *,PyObject *)\n"" removeSelectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addDeselectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addDeselectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addDeselectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addDeselectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addDeselectionCallback'.\n Possible C/C++ prototypes are:\n"" addDeselectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n"" addDeselectionCallback(SoSelection *,SoSelectionPathCB *)\n"" addDeselectionCallback(SoSelection *,PyObject *,PyObject *)\n"" addDeselectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeDeselectionCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeDeselectionCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeDeselectionCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeDeselectionCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeDeselectionCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoPath__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeDeselectionCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeDeselectionCallback'.\n Possible C/C++ prototypes are:\n"" removeDeselectionCallback(SoSelection *,SoSelectionPathCB *,void *)\n"" removeDeselectionCallback(SoSelection *,SoSelectionPathCB *)\n"" removeDeselectionCallback(SoSelection *,PyObject *,PyObject *)\n"" removeDeselectionCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addStartCallback'.\n Possible C/C++ prototypes are:\n"" addStartCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" addStartCallback(SoSelection *,SoSelectionClassCB *)\n"" addStartCallback(SoSelection *,PyObject *,PyObject *)\n"" addStartCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeStartCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeStartCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeStartCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeStartCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeStartCallback'.\n Possible C/C++ prototypes are:\n"" removeStartCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" removeStartCallback(SoSelection *,SoSelectionClassCB *)\n"" removeStartCallback(SoSelection *,PyObject *,PyObject *)\n"" removeStartCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addFinishCallback'.\n Possible C/C++ prototypes are:\n"" addFinishCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" addFinishCallback(SoSelection *,SoSelectionClassCB *)\n"" addFinishCallback(SoSelection *,PyObject *,PyObject *)\n"" addFinishCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeFinishCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeFinishCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeFinishCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeFinishCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeFinishCallback'.\n Possible C/C++ prototypes are:\n"" removeFinishCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" removeFinishCallback(SoSelection *,SoSelectionClassCB *)\n"" removeFinishCallback(SoSelection *,PyObject *,PyObject *)\n"" removeFinishCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSelection_setPickFilterCallback" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_setPickFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_setPickFilterCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_setPickFilterCallback__SWIG_3(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_setPickFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_4(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSelection_setPickFilterCallback__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_setPickFilterCallback'.\n Possible C/C++ prototypes are:\n"" setPickFilterCallback(SoSelection *,SoSelectionPickCB *,void *,SbBool const)\n"" setPickFilterCallback(SoSelection *,SoSelectionPickCB *,void *)\n"" setPickFilterCallback(SoSelection *,SoSelectionPickCB *)\n"" setPickFilterCallback(SoSelection *,PyObject *,PyObject *,int)\n"" setPickFilterCallback(SoSelection *,PyObject *,PyObject *)\n"" setPickFilterCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_addChangeCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_addChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_addChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_addChangeCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_addChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_addChangeCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_addChangeCallback'.\n Possible C/C++ prototypes are:\n"" addChangeCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" addChangeCallback(SoSelection *,SoSelectionClassCB *)\n"" addChangeCallback(SoSelection *,PyObject *,PyObject *)\n"" addChangeCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSelection_removeChangeCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSelection *arg1 = (SoSelection *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSelection_removeChangeCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSelection_removeChangeCallback" "', argument " "1"" of type '" "SoSelection *""'"); - } - arg1 = reinterpret_cast< SoSelection * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSelection_removeChangeCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSelection_removeChangeCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSelection__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSelection_removeChangeCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSelection_removeChangeCallback'.\n Possible C/C++ prototypes are:\n"" removeChangeCallback(SoSelection *,SoSelectionClassCB *,void *)\n"" removeChangeCallback(SoSelection *,SoSelectionClassCB *)\n"" removeChangeCallback(SoSelection *,PyObject *,PyObject *)\n"" removeChangeCallback(SoSelection *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSelection, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoExtSelection_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getClassTypeId",0,0)) SWIG_fail; - result = SoExtSelection::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getTypeId" "', argument " "1"" of type '" "SoExtSelection const *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = ((SoExtSelection const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_initClass",0,0)) SWIG_fail; - SoExtSelection::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoExtSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoExtSelection",0,0)) SWIG_fail; - result = (SoExtSelection *)new SoExtSelection(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoExtSelection, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoType_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoType_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoType = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoType_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoPolicy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoPolicy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoPolicy_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoPolicy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoPolicy = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoPolicy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoPolicy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoPolicy_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoPolicy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoMode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoMode_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoMode_set" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_lassoMode_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->lassoMode = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_lassoMode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_lassoMode_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_lassoMode_get" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSFEnum *)& ((arg1)->lassoMode); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_useOverlay",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_useOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_useOverlay" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->useOverlay(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_useOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_useOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - (arg1)->useOverlay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_useOverlay(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_useOverlay__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_useOverlay__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_useOverlay'.\n Possible C/C++ prototypes are:\n"" useOverlay(SoExtSelection *,SbBool)\n"" useOverlay(SoExtSelection *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_isUsingOverlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_isUsingOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_isUsingOverlay" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)(arg1)->isUsingOverlay(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoSeparator *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlaySceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlaySceneGraph" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SoSeparator *)(arg1)->getOverlaySceneGraph(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSeparator, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setOverlayLassoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setOverlayLassoColorIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setOverlayLassoColorIndex" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setOverlayLassoColorIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setOverlayLassoColorIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlayLassoColorIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlayLassoColorIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlayLassoColorIndex" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (int)(arg1)->getOverlayLassoColorIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoColor" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_setLassoColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoExtSelection_setLassoColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setLassoColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoColor" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - SbColor const &_result_ref = (arg1)->getLassoColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoWidth",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoWidth" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setLassoWidth" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setLassoWidth(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getLassoWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getLassoWidth",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getLassoWidth" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (float)(arg1)->getLassoWidth(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setOverlayLassoPattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setOverlayLassoPattern",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setOverlayLassoPattern" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_setOverlayLassoPattern" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - (arg1)->setOverlayLassoPattern(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_getOverlayLassoPattern(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - unsigned short result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_getOverlayLassoPattern",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_getOverlayLassoPattern" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (unsigned short)(arg1)->getOverlayLassoPattern(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_animateOverlayLasso",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->animateOverlayLasso(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_animateOverlayLasso",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_animateOverlayLasso" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - (arg1)->animateOverlayLasso(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_animateOverlayLasso(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_animateOverlayLasso__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_animateOverlayLasso__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_animateOverlayLasso'.\n Possible C/C++ prototypes are:\n"" animateOverlayLasso(SoExtSelection *,SbBool const)\n"" animateOverlayLasso(SoExtSelection *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_isOverlayLassoAnimated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_isOverlayLassoAnimated",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_isOverlayLassoAnimated" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)(arg1)->isOverlayLassoAnimated(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_handleEvent" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_GLRenderBelowPath" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoExtSelection_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->setLassoFilterCallback(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setLassoFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoLassoSelectionFilterCB *arg2 = (SoLassoSelectionFilterCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLassoFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLassoFilterCallback" "', argument " "2"" of type '" "SoLassoSelectionFilterCB *""'"); - } - } - (arg1)->setLassoFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLassoFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoExtSelection_setLassoFilterCallback__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setLassoFilterCallback'.\n Possible C/C++ prototypes are:\n"" setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *,void *,SbBool const)\n"" setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *,void *)\n"" setLassoFilterCallback(SoExtSelection *,SoLassoSelectionFilterCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionTriangleCB *arg2 = (SoExtSelectionTriangleCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setTriangleFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "2"" of type '" "SoExtSelectionTriangleCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setTriangleFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionTriangleCB *arg2 = (SoExtSelectionTriangleCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setTriangleFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setTriangleFilterCallback" "', argument " "2"" of type '" "SoExtSelectionTriangleCB *""'"); - } - } - (arg1)->setTriangleFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setTriangleFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setTriangleFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setTriangleFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setTriangleFilterCallback'.\n Possible C/C++ prototypes are:\n"" setTriangleFilterCallback(SoExtSelection *,SoExtSelectionTriangleCB *,void *)\n"" setTriangleFilterCallback(SoExtSelection *,SoExtSelectionTriangleCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionLineSegmentCB *arg2 = (SoExtSelectionLineSegmentCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLineSegmentFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "2"" of type '" "SoExtSelectionLineSegmentCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setLineSegmentFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionLineSegmentCB *arg2 = (SoExtSelectionLineSegmentCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setLineSegmentFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setLineSegmentFilterCallback" "', argument " "2"" of type '" "SoExtSelectionLineSegmentCB *""'"); - } - } - (arg1)->setLineSegmentFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setLineSegmentFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setLineSegmentFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setLineSegmentFilterCallback'.\n Possible C/C++ prototypes are:\n"" setLineSegmentFilterCallback(SoExtSelection *,SoExtSelectionLineSegmentCB *,void *)\n"" setLineSegmentFilterCallback(SoExtSelection *,SoExtSelectionLineSegmentCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionPointCB *arg2 = (SoExtSelectionPointCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setPointFilterCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "2"" of type '" "SoExtSelectionPointCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setPointFilterCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SoExtSelectionPointCB *arg2 = (SoExtSelectionPointCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_setPointFilterCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "1"" of type '" "SoExtSelection *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoExtSelection_setPointFilterCallback" "', argument " "2"" of type '" "SoExtSelectionPointCB *""'"); - } - } - (arg1)->setPointFilterCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_setPointFilterCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setPointFilterCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoExtSelection, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoExtSelection_setPointFilterCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoExtSelection_setPointFilterCallback'.\n Possible C/C++ prototypes are:\n"" setPointFilterCallback(SoExtSelection *,SoExtSelectionPointCB *,void *)\n"" setPointFilterCallback(SoExtSelection *,SoExtSelectionPointCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoExtSelection_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoExtSelection *arg1 = (SoExtSelection *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoExtSelection_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoExtSelection, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoExtSelection_wasShiftDown" "', argument " "1"" of type '" "SoExtSelection const *""'"); - } - arg1 = reinterpret_cast< SoExtSelection * >(argp1); - result = (SbBool)((SoExtSelection const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoExtSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoExtSelection, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexProperty::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getTypeId" "', argument " "1"" of type '" "SoVertexProperty const *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = ((SoVertexProperty const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_initClass",0,0)) SWIG_fail; - SoVertexProperty::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVertexProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVertexProperty",0,0)) SWIG_fail; - result = (SoVertexProperty *)new SoVertexProperty(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVertexProperty, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_vertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_vertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_vertex_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_vertex_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_vertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_vertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_vertex_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_texCoord_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec2f *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord3_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord3_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_texCoord3_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->texCoord3 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_texCoord3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_texCoord3_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_texCoord3_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->texCoord3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normal_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_normal_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->normal = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normal_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFVec3f *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normalBinding_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normalBinding_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normalBinding_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_normalBinding_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->normalBinding = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_normalBinding_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_normalBinding_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_normalBinding_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoSFEnum *)& ((arg1)->normalBinding); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_orderedRGBA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_orderedRGBA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_orderedRGBA_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_orderedRGBA_set" "', argument " "2"" of type '" "SoMFUInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - if (arg1) (arg1)->orderedRGBA = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_orderedRGBA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoMFUInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_orderedRGBA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_orderedRGBA_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoMFUInt32 *)& ((arg1)->orderedRGBA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_materialBinding_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_materialBinding_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_materialBinding_set" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_materialBinding_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->materialBinding = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_materialBinding_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_materialBinding_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_materialBinding_get" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - result = (SoSFEnum *)& ((arg1)->materialBinding); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_doAction" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_GLRender" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getBoundingBox" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_callback" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_pick" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexProperty_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexProperty *arg1 = (SoVertexProperty *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexProperty_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexProperty, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexProperty_getPrimitiveCount" "', argument " "1"" of type '" "SoVertexProperty *""'"); - } - arg1 = reinterpret_cast< SoVertexProperty * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexProperty_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexProperty_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexProperty, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVertexShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVertexShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_getTypeId" "', argument " "1"" of type '" "SoVertexShape const *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - result = ((SoVertexShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_initClass",0,0)) SWIG_fail; - SoVertexShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_vertexProperty_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_vertexProperty_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_vertexProperty_set" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_vertexProperty_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->vertexProperty = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_vertexProperty_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_vertexProperty_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_vertexProperty_get" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->vertexProperty); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_notify" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVertexShape_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVertexShape_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVertexShape_generateDefaultNormals'.\n Possible C/C++ prototypes are:\n"" generateDefaultNormals(SoVertexShape *,SoState *,SoNormalBundle *)\n"" generateDefaultNormals(SoVertexShape *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVertexShape_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVertexShape *arg1 = (SoVertexShape *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVertexShape_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVertexShape_write" "', argument " "1"" of type '" "SoVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVertexShape_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVertexShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVertexShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoNonIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_getTypeId" "', argument " "1"" of type '" "SoNonIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - result = ((SoNonIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_initClass",0,0)) SWIG_fail; - SoNonIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_startIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_startIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_startIndex_set" "', argument " "1"" of type '" "SoNonIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNonIndexedShape_startIndex_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->startIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNonIndexedShape_startIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNonIndexedShape *arg1 = (SoNonIndexedShape *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNonIndexedShape_startIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNonIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNonIndexedShape_startIndex_get" "', argument " "1"" of type '" "SoNonIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoNonIndexedShape * >(argp1); - result = (SoSFInt32 *)& ((arg1)->startIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNonIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNonIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_getTypeId" "', argument " "1"" of type '" "SoFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - result = ((SoFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_initClass",0,0)) SWIG_fail; - SoFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFaceSet",0,0)) SWIG_fail; - result = (SoFaceSet *)new SoFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_numVertices_set" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_numVertices_get" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_GLRender" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFaceSet *arg1 = (SoFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoFaceSet *""'"); - } - arg1 = reinterpret_cast< SoFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getClassTypeId",0,0)) SWIG_fail; - result = SoFile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getTypeId" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = ((SoFile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_initClass",0,0)) SWIG_fail; - SoFile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFile",0,0)) SWIG_fail; - result = (SoFile *)new SoFile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_name_set" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_name_get" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_doAction" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_callback" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_GLRender" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getBoundingBox" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getMatrix" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_handleEvent" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_pick" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getPrimitiveCount" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_audioRender" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoGroup *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_copyChildren" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoGroup *)((SoFile const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getChildren" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - result = (SoChildList *)((SoFile const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_copyContents" "', argument " "1"" of type '" "SoFile *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFile_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoFile_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFile_getFullName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFile *arg1 = (SoFile *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFile_getFullName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFile_getFullName" "', argument " "1"" of type '" "SoFile const *""'"); - } - arg1 = reinterpret_cast< SoFile * >(argp1); - { - SbString const &_result_ref = ((SoFile const *)arg1)->getFullName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFont_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getClassTypeId",0,0)) SWIG_fail; - result = SoFont::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getTypeId" "', argument " "1"" of type '" "SoFont const *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = ((SoFont const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_initClass",0,0)) SWIG_fail; - SoFont::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFont",0,0)) SWIG_fail; - result = (SoFont *)new SoFont(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFont, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_name_set" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_name_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->name = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_name_get" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = (SoSFName *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_size_set" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_size_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_size_get" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - result = (SoSFFloat *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_doAction" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getBoundingBox" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_GLRender" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_callback" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_pick" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFont_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFont *arg1 = (SoFont *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFont_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFont, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFont_getPrimitiveCount" "', argument " "1"" of type '" "SoFont *""'"); - } - arg1 = reinterpret_cast< SoFont * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFont_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFont_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFont, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoFontStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoFontStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getTypeId" "', argument " "1"" of type '" "SoFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = ((SoFontStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_initClass",0,0)) SWIG_fail; - SoFontStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoFontStyle",0,0)) SWIG_fail; - result = (SoFontStyle *)new SoFontStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoFontStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_family_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_family_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_family_set" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_family_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->family = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_family_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_family_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_family_get" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = (SoSFEnum *)& ((arg1)->family); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_style_set" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_style_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->style = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_style_get" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = (SoSFBitMask *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getFontName" "', argument " "1"" of type '" "SoFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - result = ((SoFontStyle const *)arg1)->getFontName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_doAction" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getBoundingBox" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_GLRender" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_callback" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_pick" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoFontStyle_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoFontStyle *arg1 = (SoFontStyle *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoFontStyle_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoFontStyle_getPrimitiveCount" "', argument " "1"" of type '" "SoFontStyle *""'"); - } - arg1 = reinterpret_cast< SoFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoFontStyle_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoFontStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoFontStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_getTypeId" "', argument " "1"" of type '" "SoIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = ((SoIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_initClass",0,0)) SWIG_fail; - SoIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_coordIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_coordIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_materialIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_materialIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_materialIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_materialIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->materialIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_materialIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_materialIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_materialIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->materialIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_normalIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_normalIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_normalIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_normalIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->normalIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_normalIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_normalIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_normalIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->normalIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_textureCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_textureCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_textureCoordIndex_set" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedShape_textureCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->textureCoordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedShape_textureCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedShape *arg1 = (SoIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedShape_textureCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedShape_textureCoordIndex_get" "', argument " "1"" of type '" "SoIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->textureCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_getTypeId" "', argument " "1"" of type '" "SoIndexedFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - result = ((SoIndexedFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_initClass",0,0)) SWIG_fail; - SoIndexedFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedFaceSet",0,0)) SWIG_fail; - result = (SoIndexedFaceSet *)new SoIndexedFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_GLRender" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedFaceSet *arg1 = (SoIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedFaceSet_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoIndexedFaceSet_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoIndexedFaceSet_generateDefaultNormals'.\n Possible C/C++ prototypes are:\n"" generateDefaultNormals(SoIndexedFaceSet *,SoState *,SoNormalBundle *)\n"" generateDefaultNormals(SoIndexedFaceSet *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getTypeId" "', argument " "1"" of type '" "SoIndexedLineSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - result = ((SoIndexedLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_initClass",0,0)) SWIG_fail; - SoIndexedLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedLineSet",0,0)) SWIG_fail; - result = (SoIndexedLineSet *)new SoIndexedLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_GLRender" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getBoundingBox" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedLineSet *arg1 = (SoIndexedLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedNurbsCurve::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getTypeId" "', argument " "1"" of type '" "SoIndexedNurbsCurve const *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = ((SoIndexedNurbsCurve const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_initClass",0,0)) SWIG_fail; - SoIndexedNurbsCurve::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedNurbsCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedNurbsCurve",0,0)) SWIG_fail; - result = (SoIndexedNurbsCurve *)new SoIndexedNurbsCurve(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedNurbsCurve, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_numControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_numControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_numControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_numControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_numControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_numControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_numControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_coordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_coordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_knotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_knotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_GLRender" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_rayPick" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_getBoundingBox" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsCurve_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsCurve *arg1 = (SoIndexedNurbsCurve *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsCurve_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "1"" of type '" "SoIndexedNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedNurbsCurve_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedNurbsCurve_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedNurbsCurve, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedNurbsSurface::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_getTypeId" "', argument " "1"" of type '" "SoIndexedNurbsSurface const *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = ((SoIndexedNurbsSurface const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_initClass",0,0)) SWIG_fail; - SoIndexedNurbsSurface::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedNurbsSurface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedNurbsSurface",0,0)) SWIG_fail; - result = (SoIndexedNurbsSurface *)new SoIndexedNurbsSurface(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedNurbsSurface, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numUControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numUControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numUControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numUControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numUControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numUControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numUControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numUControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numUControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numVControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numVControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numVControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numVControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numVControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numVControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numVControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numVControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numVControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_coordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_coordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_uKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_uKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_uKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_uKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->uKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_uKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_uKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_uKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->uKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_vKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_vKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_vKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_vKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->vKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_vKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_vKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_vKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->vKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numSControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numSControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numSControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numSControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numSControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numSControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numSControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numSControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numSControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numTControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numTControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numTControlPoints_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_numTControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numTControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_numTControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_numTControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_numTControlPoints_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numTControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_textureCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_textureCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->textureCoordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_textureCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_textureCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_textureCoordIndex_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFInt32 *)& ((arg1)->textureCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_sKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->sKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->sKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_tKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_tKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_tKnotVector_set" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_tKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->tKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_tKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_tKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_tKnotVector_get" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->tKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_GLRender" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_rayPick" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedNurbsSurface_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedNurbsSurface *arg1 = (SoIndexedNurbsSurface *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedNurbsSurface_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "1"" of type '" "SoIndexedNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoIndexedNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedNurbsSurface_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedNurbsSurface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedNurbsSurface, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getClassTypeId",0,0)) SWIG_fail; - result = SoIndexedTriangleStripSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_getTypeId" "', argument " "1"" of type '" "SoIndexedTriangleStripSet const *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - result = ((SoIndexedTriangleStripSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_initClass",0,0)) SWIG_fail; - SoIndexedTriangleStripSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIndexedTriangleStripSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIndexedTriangleStripSet",0,0)) SWIG_fail; - result = (SoIndexedTriangleStripSet *)new SoIndexedTriangleStripSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIndexedTriangleStripSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_GLRender" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_getPrimitiveCount" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoIndexedTriangleStripSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIndexedTriangleStripSet *arg1 = (SoIndexedTriangleStripSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoIndexedTriangleStripSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIndexedTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "1"" of type '" "SoIndexedTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoIndexedTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoIndexedTriangleStripSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIndexedTriangleStripSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIndexedTriangleStripSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_getTypeId" "', argument " "1"" of type '" "SoInfo const *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - result = ((SoInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_initClass",0,0)) SWIG_fail; - SoInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInfo",0,0)) SWIG_fail; - result = (SoInfo *)new SoInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_string_set" "', argument " "1"" of type '" "SoInfo *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoInfo_string_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoInfo_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInfo *arg1 = (SoInfo *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoInfo_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoInfo_string_get" "', argument " "1"" of type '" "SoInfo *""'"); - } - arg1 = reinterpret_cast< SoInfo * >(argp1); - result = (SoSFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLabel_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_getClassTypeId",0,0)) SWIG_fail; - result = SoLabel::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_getTypeId" "', argument " "1"" of type '" "SoLabel const *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - result = ((SoLabel const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_initClass",0,0)) SWIG_fail; - SoLabel::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLabel",0,0)) SWIG_fail; - result = (SoLabel *)new SoLabel(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLabel, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_label_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - SoSFName *arg2 = (SoSFName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_label_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_label_set" "', argument " "1"" of type '" "SoLabel *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFName, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLabel_label_set" "', argument " "2"" of type '" "SoSFName *""'"); - } - arg2 = reinterpret_cast< SoSFName * >(argp2); - if (arg1) (arg1)->label = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLabel_label_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLabel *arg1 = (SoLabel *) 0 ; - SoSFName *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLabel_label_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLabel, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLabel_label_get" "', argument " "1"" of type '" "SoLabel *""'"); - } - arg1 = reinterpret_cast< SoLabel * >(argp1); - result = (SoSFName *)& ((arg1)->label); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFName, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLabel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLabel, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getClassTypeId",0,0)) SWIG_fail; - result = SoLevelOfDetail::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_getTypeId" "', argument " "1"" of type '" "SoLevelOfDetail const *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - result = ((SoLevelOfDetail const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_initClass",0,0)) SWIG_fail; - SoLevelOfDetail::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLevelOfDetail",0,0)) SWIG_fail; - result = (SoLevelOfDetail *)new SoLevelOfDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLevelOfDetail, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoLevelOfDetail *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLevelOfDetail",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLevelOfDetail" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLevelOfDetail *)new SoLevelOfDetail(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLevelOfDetail, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLevelOfDetail(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLevelOfDetail__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLevelOfDetail__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLevelOfDetail'.\n Possible C/C++ prototypes are:\n"" SoLevelOfDetail()\n"" SoLevelOfDetail(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_screenArea_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_screenArea_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_screenArea_set" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_screenArea_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->screenArea = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_screenArea_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_screenArea_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_screenArea_get" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - result = (SoMFFloat *)& ((arg1)->screenArea); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_doAction" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_callback" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_GLRender" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_rayPick" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_getBoundingBox" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_audioRender" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLevelOfDetail_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLevelOfDetail *arg1 = (SoLevelOfDetail *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLevelOfDetail_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLevelOfDetail, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLevelOfDetail_notify" "', argument " "1"" of type '" "SoLevelOfDetail *""'"); - } - arg1 = reinterpret_cast< SoLevelOfDetail * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLevelOfDetail_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLevelOfDetail_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLevelOfDetail, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getTypeId" "', argument " "1"" of type '" "SoProfile const *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = ((SoProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_initClass",0,0)) SWIG_fail; - SoProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_index_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_index_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_index_set" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_index_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->index = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_index_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_index_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_index_get" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = (SoMFInt32 *)& ((arg1)->index); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_linkage_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_linkage_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_linkage_set" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_linkage_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->linkage = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_linkage_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_linkage_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_linkage_get" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - result = (SoSFEnum *)& ((arg1)->linkage); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_doAction" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_callback" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_GLRender" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getBoundingBox" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_pick" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getPrimitiveCount" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getTrimCurve" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfile *arg1 = (SoProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfile_getVertices" "', argument " "1"" of type '" "SoProfile *""'"); - } - arg1 = reinterpret_cast< SoProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoLinearProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getTypeId" "', argument " "1"" of type '" "SoLinearProfile const *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - result = ((SoLinearProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_initClass",0,0)) SWIG_fail; - SoLinearProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLinearProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLinearProfile",0,0)) SWIG_fail; - result = (SoLinearProfile *)new SoLinearProfile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLinearProfile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "1"" of type '" "SoLinearProfile *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoLinearProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLinearProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLinearProfile *arg1 = (SoLinearProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLinearProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLinearProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLinearProfile_getVertices" "', argument " "1"" of type '" "SoLinearProfile *""'"); - } - arg1 = reinterpret_cast< SoLinearProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLinearProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoLinearProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoLinearProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoLinearProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLinearProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLinearProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getTypeId" "', argument " "1"" of type '" "SoLineSet const *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - result = ((SoLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_initClass",0,0)) SWIG_fail; - SoLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLineSet",0,0)) SWIG_fail; - result = (SoLineSet *)new SoLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_numVertices_set" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_numVertices_get" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_GLRender" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getBoundingBox" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLineSet *arg1 = (SoLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoLineSet *""'"); - } - arg1 = reinterpret_cast< SoLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoListener_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_getClassTypeId",0,0)) SWIG_fail; - result = SoListener::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_getTypeId" "', argument " "1"" of type '" "SoListener const *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = ((SoListener const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_initClass",0,0)) SWIG_fail; - SoListener::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoListener(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoListener",0,0)) SWIG_fail; - result = (SoListener *)new SoListener(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoListener, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_position_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_position_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_orientation_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_orientation_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_gain_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_gain_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_gain_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_gain_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->gain = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_gain_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_gain_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_gain_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFFloat *)& ((arg1)->gain); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerVelocity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerVelocity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerVelocity_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_dopplerVelocity_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->dopplerVelocity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerVelocity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerVelocity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerVelocity_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFVec3f *)& ((arg1)->dopplerVelocity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerFactor_set" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoListener_dopplerFactor_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->dopplerFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoListener_dopplerFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoListener *arg1 = (SoListener *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoListener_dopplerFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoListener, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoListener_dopplerFactor_get" "', argument " "1"" of type '" "SoListener *""'"); - } - arg1 = reinterpret_cast< SoListener * >(argp1); - result = (SoSFFloat *)& ((arg1)->dopplerFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoListener, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_getClassTypeId",0,0)) SWIG_fail; - result = SoLocateHighlight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_getTypeId" "', argument " "1"" of type '" "SoLocateHighlight const *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = ((SoLocateHighlight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_initClass",0,0)) SWIG_fail; - SoLocateHighlight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLocateHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLocateHighlight",0,0)) SWIG_fail; - result = (SoLocateHighlight *)new SoLocateHighlight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLocateHighlight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_color_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_color_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_style_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_style_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->style = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_style_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFEnum *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_mode_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_mode_set" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_mode_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->mode = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_mode_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_mode_get" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - result = (SoSFEnum *)& ((arg1)->mode); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_handleEvent" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_GLRenderBelowPath" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLocateHighlight *arg1 = (SoLocateHighlight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLocateHighlight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_GLRenderInPath" "', argument " "1"" of type '" "SoLocateHighlight *""'"); - } - arg1 = reinterpret_cast< SoLocateHighlight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLocateHighlight_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLocateHighlight_turnOffCurrentHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLocateHighlight_turnOffCurrentHighlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLocateHighlight_turnOffCurrentHighlight" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - SoLocateHighlight::turnOffCurrentHighlight(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLocateHighlight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLocateHighlight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoLOD_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getClassTypeId",0,0)) SWIG_fail; - result = SoLOD::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getTypeId" "', argument " "1"" of type '" "SoLOD const *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = ((SoLOD const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLOD",0,0)) SWIG_fail; - result = (SoLOD *)new SoLOD(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoLOD *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoLOD",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoLOD" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoLOD *)new SoLOD(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoLOD(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoLOD__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoLOD__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoLOD'.\n Possible C/C++ prototypes are:\n"" SoLOD()\n"" SoLOD(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_initClass",0,0)) SWIG_fail; - SoLOD::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_range_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_range_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_range_set" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_range_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->range = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_range_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_range_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_range_get" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = (SoMFFloat *)& ((arg1)->range); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_center_set" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_center_get" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_doAction" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_callback" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRender" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderBelowPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderInPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_GLRenderOffPath" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_rayPick" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getBoundingBox" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_getPrimitiveCount" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_audioRender" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoLOD_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoLOD *arg1 = (SoLOD *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoLOD_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoLOD_notify" "', argument " "1"" of type '" "SoLOD *""'"); - } - arg1 = reinterpret_cast< SoLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoLOD_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoLOD_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoLOD, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPointSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getClassTypeId",0,0)) SWIG_fail; - result = SoPointSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getTypeId" "', argument " "1"" of type '" "SoPointSet const *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - result = ((SoPointSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_initClass",0,0)) SWIG_fail; - SoPointSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPointSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPointSet",0,0)) SWIG_fail; - result = (SoPointSet *)new SoPointSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPointSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_numPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_numPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_numPoints_set" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_numPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_numPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_numPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_numPoints_get" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_GLRender" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getBoundingBox" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPointSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPointSet *arg1 = (SoPointSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPointSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPointSet_getPrimitiveCount" "', argument " "1"" of type '" "SoPointSet *""'"); - } - arg1 = reinterpret_cast< SoPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPointSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPointSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPointSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getClassTypeId",0,0)) SWIG_fail; - result = SoMarkerSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_getTypeId" "', argument " "1"" of type '" "SoMarkerSet const *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - result = ((SoMarkerSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_initClass",0,0)) SWIG_fail; - SoMarkerSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMarkerSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMarkerSet",0,0)) SWIG_fail; - result = (SoMarkerSet *)new SoMarkerSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMarkerSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_markerIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_markerIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_markerIndex_set" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_markerIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->markerIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_markerIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_markerIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_markerIndex_get" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->markerIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_GLRender" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMarkerSet *arg1 = (SoMarkerSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMarkerSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMarkerSet_getPrimitiveCount" "', argument " "1"" of type '" "SoMarkerSet *""'"); - } - arg1 = reinterpret_cast< SoMarkerSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getNumDefinedMarkers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getNumDefinedMarkers",0,0)) SWIG_fail; - result = (int)SoMarkerSet::getNumDefinedMarkers(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - SbBool arg4 ; - SbBool arg5 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMarkerSet_addMarker" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoMarkerSet_addMarker" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - SbBool arg4 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoMarkerSet_addMarker" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_addMarker",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_addMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_addMarker" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_addMarker" "', argument " "3"" of type '" "unsigned char const *""'"); - } - arg3 = reinterpret_cast< unsigned char * >(argp3); - SoMarkerSet::addMarker(arg1,(SbVec2s const &)*arg2,(unsigned char const *)arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_addMarker(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMarkerSet_addMarker__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMarkerSet_addMarker'.\n Possible C/C++ prototypes are:\n"" addMarker(int,SbVec2s const &,unsigned char const *,SbBool,SbBool)\n"" addMarker(int,SbVec2s const &,unsigned char const *,SbBool)\n"" SoMarkerSet::addMarker(int,SbVec2s const &,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_getMarker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbVec2s *arg2 = 0 ; - unsigned char **arg3 = 0 ; - SbBool *arg4 = 0 ; - SbBool result; - int val1 ; - int ecode1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_getMarker",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_getMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMarkerSet_getMarker" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_unsigned_char, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMarkerSet_getMarker" "', argument " "3"" of type '" "unsigned char const *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "3"" of type '" "unsigned char const *&""'"); - } - arg3 = reinterpret_cast< unsigned char ** >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoMarkerSet_getMarker" "', argument " "4"" of type '" "SbBool &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoMarkerSet_getMarker" "', argument " "4"" of type '" "SbBool &""'"); - } - arg4 = reinterpret_cast< SbBool * >(argp4); - result = (SbBool)SoMarkerSet::getMarker(arg1,*arg2,(unsigned char const *&)*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_removeMarker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbBool result; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_removeMarker",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_removeMarker" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbBool)SoMarkerSet::removeMarker(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMarkerSet_isMarkerBitSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - SbBool result; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMarkerSet_isMarkerBitSet",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoMarkerSet_isMarkerBitSet" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMarkerSet_isMarkerBitSet" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)SoMarkerSet::isMarkerBitSet(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMarkerSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMarkerSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMaterial_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_getClassTypeId",0,0)) SWIG_fail; - result = SoMaterial::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_getTypeId" "', argument " "1"" of type '" "SoMaterial const *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = ((SoMaterial const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_initClass",0,0)) SWIG_fail; - SoMaterial::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMaterial",0,0)) SWIG_fail; - result = (SoMaterial *)new SoMaterial(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMaterial, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_ambientColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_ambientColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_ambientColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_ambientColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->ambientColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_ambientColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_ambientColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_ambientColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->ambientColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_diffuseColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_diffuseColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_diffuseColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_diffuseColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->diffuseColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_diffuseColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_diffuseColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_diffuseColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->diffuseColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_specularColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_specularColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_specularColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_specularColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->specularColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_specularColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_specularColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_specularColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->specularColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_emissiveColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_emissiveColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_emissiveColor_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_emissiveColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->emissiveColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_emissiveColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_emissiveColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_emissiveColor_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFColor *)& ((arg1)->emissiveColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_shininess_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_shininess_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->shininess = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_shininess_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFFloat *)& ((arg1)->shininess); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_transparency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_transparency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_transparency_set" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_transparency_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->transparency = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_transparency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_transparency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_transparency_get" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - result = (SoMFFloat *)& ((arg1)->transparency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_doAction" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_GLRender" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMaterial_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMaterial *arg1 = (SoMaterial *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMaterial_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMaterial_callback" "', argument " "1"" of type '" "SoMaterial *""'"); - } - arg1 = reinterpret_cast< SoMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMaterial_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMaterial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMaterial, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoMatrixTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getTypeId" "', argument " "1"" of type '" "SoMatrixTransform const *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - result = ((SoMatrixTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_initClass",0,0)) SWIG_fail; - SoMatrixTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMatrixTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMatrixTransform",0,0)) SWIG_fail; - result = (SoMatrixTransform *)new SoMatrixTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMatrixTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoSFMatrix *arg2 = (SoSFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_matrix_set" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_matrix_set" "', argument " "2"" of type '" "SoSFMatrix *""'"); - } - arg2 = reinterpret_cast< SoSFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoSFMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_matrix_get" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - result = (SoSFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_doAction" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_callback" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_GLRender" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getBoundingBox" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getMatrix" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_pick" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMatrixTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMatrixTransform *arg1 = (SoMatrixTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMatrixTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMatrixTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMatrixTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoMatrixTransform *""'"); - } - arg1 = reinterpret_cast< SoMatrixTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMatrixTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMatrixTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMatrixTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getClassTypeId",0,0)) SWIG_fail; - result = SoMultipleCopy::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getTypeId" "', argument " "1"" of type '" "SoMultipleCopy const *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = ((SoMultipleCopy const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_initClass",0,0)) SWIG_fail; - SoMultipleCopy::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoMultipleCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoMultipleCopy",0,0)) SWIG_fail; - result = (SoMultipleCopy *)new SoMultipleCopy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMultipleCopy, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_matrix_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoMFMatrix *arg2 = (SoMFMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_matrix_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_matrix_set" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_matrix_set" "', argument " "2"" of type '" "SoMFMatrix *""'"); - } - arg2 = reinterpret_cast< SoMFMatrix * >(argp2); - if (arg1) (arg1)->matrix = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_matrix_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoMFMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_matrix_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_matrix_get" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = (SoMFMatrix *)& ((arg1)->matrix); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_affectsState" "', argument " "1"" of type '" "SoMultipleCopy const *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - result = (SbBool)((SoMultipleCopy const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_doAction" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_callback" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_GLRender" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_pick" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getBoundingBox" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_handleEvent" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getMatrix" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_search" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_getPrimitiveCount" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMultipleCopy_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMultipleCopy *arg1 = (SoMultipleCopy *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMultipleCopy_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMultipleCopy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMultipleCopy_audioRender" "', argument " "1"" of type '" "SoMultipleCopy *""'"); - } - arg1 = reinterpret_cast< SoMultipleCopy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoMultipleCopy_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMultipleCopy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMultipleCopy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoPerspectiveCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getTypeId" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = ((SoPerspectiveCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_initClass",0,0)) SWIG_fail; - SoPerspectiveCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPerspectiveCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPerspectiveCamera",0,0)) SWIG_fail; - result = (SoPerspectiveCamera *)new SoPerspectiveCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPerspectiveCamera, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_heightAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_heightAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_heightAngle_set" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPerspectiveCamera_heightAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->heightAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_heightAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_heightAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_heightAngle_get" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->heightAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_scaleHeight" "', argument " "1"" of type '" "SoPerspectiveCamera *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPerspectiveCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - float arg2 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoPerspectiveCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPerspectiveCamera *arg1 = (SoPerspectiveCamera *) 0 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPerspectiveCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPerspectiveCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPerspectiveCamera_getViewVolume" "', argument " "1"" of type '" "SoPerspectiveCamera const *""'"); - } - arg1 = reinterpret_cast< SoPerspectiveCamera * >(argp1); - result = ((SoPerspectiveCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPerspectiveCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPerspectiveCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPerspectiveCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPerspectiveCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoPerspectiveCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPerspectiveCamera_getViewVolume'.\n Possible C/C++ prototypes are:\n"" getViewVolume(SoPerspectiveCamera const *,float)\n"" getViewVolume(SoPerspectiveCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoPerspectiveCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPerspectiveCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getClassTypeId",0,0)) SWIG_fail; - result = SoOrthographicCamera::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getTypeId" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = ((SoOrthographicCamera const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_initClass",0,0)) SWIG_fail; - SoOrthographicCamera::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOrthographicCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOrthographicCamera",0,0)) SWIG_fail; - result = (SoOrthographicCamera *)new SoOrthographicCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOrthographicCamera, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_height_set" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOrthographicCamera_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_height_get" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_scaleHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_scaleHeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_scaleHeight" "', argument " "1"" of type '" "SoOrthographicCamera *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOrthographicCamera_scaleHeight" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->scaleHeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - float arg2 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = ((SoOrthographicCamera const *)arg1)->getViewVolume(arg2); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOrthographicCamera *arg1 = (SoOrthographicCamera *) 0 ; - SbViewVolume result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOrthographicCamera_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOrthographicCamera, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOrthographicCamera_getViewVolume" "', argument " "1"" of type '" "SoOrthographicCamera const *""'"); - } - arg1 = reinterpret_cast< SoOrthographicCamera * >(argp1); - result = ((SoOrthographicCamera const *)arg1)->getViewVolume(); - resultobj = SWIG_NewPointerObj((new SbViewVolume(static_cast< const SbViewVolume& >(result))), SWIGTYPE_p_SbViewVolume, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOrthographicCamera_getViewVolume(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOrthographicCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOrthographicCamera_getViewVolume__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOrthographicCamera, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoOrthographicCamera_getViewVolume__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOrthographicCamera_getViewVolume'.\n Possible C/C++ prototypes are:\n"" getViewVolume(SoOrthographicCamera const *,float)\n"" getViewVolume(SoOrthographicCamera const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoOrthographicCamera_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOrthographicCamera, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getClassTypeId",0,0)) SWIG_fail; - result = SoQuadMesh::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_getTypeId" "', argument " "1"" of type '" "SoQuadMesh const *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = ((SoQuadMesh const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_initClass",0,0)) SWIG_fail; - SoQuadMesh::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQuadMesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQuadMesh",0,0)) SWIG_fail; - result = (SoQuadMesh *)new SoQuadMesh(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQuadMesh, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerColumn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerColumn_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerColumn_set" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_verticesPerColumn_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->verticesPerColumn = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerColumn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerColumn_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerColumn_get" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = (SoSFInt32 *)& ((arg1)->verticesPerColumn); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerRow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerRow_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerRow_set" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_verticesPerRow_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->verticesPerRow = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_verticesPerRow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_verticesPerRow_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_verticesPerRow_get" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - result = (SoSFInt32 *)& ((arg1)->verticesPerRow); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_GLRender" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_getPrimitiveCount" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQuadMesh_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQuadMesh *arg1 = (SoQuadMesh *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQuadMesh_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQuadMesh, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "1"" of type '" "SoQuadMesh *""'"); - } - arg1 = reinterpret_cast< SoQuadMesh * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQuadMesh_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQuadMesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQuadMesh, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getClassTypeId",0,0)) SWIG_fail; - result = SoTriangleStripSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_getTypeId" "', argument " "1"" of type '" "SoTriangleStripSet const *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - result = ((SoTriangleStripSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_initClass",0,0)) SWIG_fail; - SoTriangleStripSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTriangleStripSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTriangleStripSet",0,0)) SWIG_fail; - result = (SoTriangleStripSet *)new SoTriangleStripSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTriangleStripSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_numVertices_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_numVertices_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_numVertices_set" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_numVertices_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->numVertices = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_numVertices_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_numVertices_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_numVertices_get" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - result = (SoMFInt32 *)& ((arg1)->numVertices); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_GLRender" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_getPrimitiveCount" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTriangleStripSet_generateDefaultNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTriangleStripSet *arg1 = (SoTriangleStripSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTriangleStripSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTriangleStripSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "1"" of type '" "SoTriangleStripSet *""'"); - } - arg1 = reinterpret_cast< SoTriangleStripSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoTriangleStripSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTriangleStripSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTriangleStripSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsCurve::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getTypeId" "', argument " "1"" of type '" "SoNurbsCurve const *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = ((SoNurbsCurve const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_initClass",0,0)) SWIG_fail; - SoNurbsCurve::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsCurve",0,0)) SWIG_fail; - result = (SoNurbsCurve *)new SoNurbsCurve(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsCurve, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_numControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_numControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_numControlPoints_set" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_numControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_numControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_numControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_numControlPoints_get" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_knotVector_set" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_knotVector_get" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_GLRender" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_rayPick" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getPrimitiveCount" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_getBoundingBox" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsCurve_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsCurve *arg1 = (SoNurbsCurve *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsCurve_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsCurve, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "1"" of type '" "SoNurbsCurve *""'"); - } - arg1 = reinterpret_cast< SoNurbsCurve * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsCurve_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsCurve_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsCurve, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsSurface::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_getTypeId" "', argument " "1"" of type '" "SoNurbsSurface const *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = ((SoNurbsSurface const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_initClass",0,0)) SWIG_fail; - SoNurbsSurface::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsSurface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsSurface",0,0)) SWIG_fail; - result = (SoNurbsSurface *)new SoNurbsSurface(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsSurface, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numUControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numUControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numUControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numUControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numUControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numUControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numUControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numUControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numUControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numVControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numVControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numVControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numVControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numVControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numVControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numVControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numVControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numVControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numSControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numSControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numSControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numSControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numSControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numSControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numSControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numSControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numSControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numTControlPoints_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numTControlPoints_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numTControlPoints_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_numTControlPoints_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numTControlPoints = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_numTControlPoints_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_numTControlPoints_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_numTControlPoints_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numTControlPoints); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_uKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_uKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_uKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_uKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->uKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_uKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_uKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_uKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->uKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_vKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_vKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_vKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_vKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->vKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_vKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_vKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_vKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->vKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_sKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->sKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->sKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_tKnotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_tKnotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_tKnotVector_set" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_tKnotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->tKnotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_tKnotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_tKnotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_tKnotVector_get" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - result = (SoMFFloat *)& ((arg1)->tKnotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_GLRender" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_rayPick" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_getPrimitiveCount" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsSurface_sendPrimitive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsSurface *arg1 = (SoNurbsSurface *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SoPrimitiveVertex *arg3 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsSurface_sendPrimitive",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsSurface, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "1"" of type '" "SoNurbsSurface *""'"); - } - arg1 = reinterpret_cast< SoNurbsSurface * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsSurface_sendPrimitive" "', argument " "3"" of type '" "SoPrimitiveVertex *""'"); - } - arg3 = reinterpret_cast< SoPrimitiveVertex * >(argp3); - (arg1)->sendPrimitive(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsSurface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsSurface, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_getTypeId" "', argument " "1"" of type '" "SoSphere const *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - result = ((SoSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_initClass",0,0)) SWIG_fail; - SoSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSphere",0,0)) SWIG_fail; - result = (SoSphere *)new SoSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_radius_set" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_radius_get" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_GLRender" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_rayPick" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSphere_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSphere *arg1 = (SoSphere *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSphere_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSphere_getPrimitiveCount" "', argument " "1"" of type '" "SoSphere *""'"); - } - arg1 = reinterpret_cast< SoSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSphere_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoText2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getClassTypeId",0,0)) SWIG_fail; - result = SoText2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_getTypeId" "', argument " "1"" of type '" "SoText2 const *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = ((SoText2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_initClass",0,0)) SWIG_fail; - SoText2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoText2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoText2",0,0)) SWIG_fail; - result = (SoText2 *)new SoText2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoText2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_string_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_string_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_spacing_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_spacing_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_justification_set" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_justification_get" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_GLRender" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_rayPick" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText2_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText2 *arg1 = (SoText2 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText2_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText2_getPrimitiveCount" "', argument " "1"" of type '" "SoText2 *""'"); - } - arg1 = reinterpret_cast< SoText2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText2_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoText2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoText2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoText3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getClassTypeId",0,0)) SWIG_fail; - result = SoText3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getTypeId" "', argument " "1"" of type '" "SoText3 const *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = ((SoText3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_initClass",0,0)) SWIG_fail; - SoText3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoText3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoText3",0,0)) SWIG_fail; - result = (SoText3 *)new SoText3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoText3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_string_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_string_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_spacing_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_spacing_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_justification_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_justification_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_justification_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_justification_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->justification = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_justification_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_justification_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_justification_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->justification); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_parts_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_parts_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_parts_set" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_parts_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->parts = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_parts_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_parts_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_parts_get" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - result = (SoSFBitMask *)& ((arg1)->parts); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getCharacterBounds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int arg3 ; - int arg4 ; - SbBox3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getCharacterBounds",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getCharacterBounds" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_getCharacterBounds" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoText3_getCharacterBounds" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoText3_getCharacterBounds" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (arg1)->getCharacterBounds(arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj((new SbBox3f(static_cast< const SbBox3f& >(result))), SWIGTYPE_p_SbBox3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_GLRender" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoText3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoText3 *arg1 = (SoText3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoText3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoText3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoText3_getPrimitiveCount" "', argument " "1"" of type '" "SoText3 *""'"); - } - arg1 = reinterpret_cast< SoText3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoText3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoText3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoText3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getClassTypeId",0,0)) SWIG_fail; - result = SoWWWAnchor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_getTypeId" "', argument " "1"" of type '" "SoWWWAnchor const *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = ((SoWWWAnchor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_initClass",0,0)) SWIG_fail; - SoWWWAnchor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWWWAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWWWAnchor",0,0)) SWIG_fail; - result = (SoWWWAnchor *)new SoWWWAnchor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWWWAnchor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_name_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_name_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_description_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_description_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_map_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_map_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_map_set" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_map_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->map = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_map_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_map_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_map_get" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - result = (SoSFEnum *)& ((arg1)->map); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_setFullURLName" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_getFullURLName" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchor *arg1 = (SoWWWAnchor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWAnchor_handleEvent" "', argument " "1"" of type '" "SoWWWAnchor *""'"); - } - arg1 = reinterpret_cast< SoWWWAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchorCB *arg1 = (SoWWWAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWAnchor_setFetchURLCallBack" "', argument " "1"" of type '" "SoWWWAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWAnchor::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWAnchor_setHighlightURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWAnchorCB *arg1 = (SoWWWAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWAnchor_setHighlightURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWAnchor_setHighlightURLCallBack" "', argument " "1"" of type '" "SoWWWAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWAnchor_setHighlightURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWAnchor::setHighlightURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWWWAnchor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWWWAnchor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoPathSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getTypeId" "', argument " "1"" of type '" "SoPathSwitch const *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - result = ((SoPathSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_initClass",0,0)) SWIG_fail; - SoPathSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSwitch",0,0)) SWIG_fail; - result = (SoPathSwitch *)new SoPathSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoPathSwitch *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoPathSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoPathSwitch *)new SoPathSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPathSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoPathSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPathSwitch'.\n Possible C/C++ prototypes are:\n"" SoPathSwitch()\n"" SoPathSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoSFPath *arg2 = (SoSFPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_path_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_path_set" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_path_set" "', argument " "2"" of type '" "SoSFPath *""'"); - } - arg2 = reinterpret_cast< SoSFPath * >(argp2); - if (arg1) (arg1)->path = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoSFPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_path_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_path_get" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - result = (SoSFPath *)& ((arg1)->path); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFPath, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_doAction" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_GLRender" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_pick" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getBoundingBox" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_handleEvent" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getMatrix" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_search" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_getPrimitiveCount" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSwitch *arg1 = (SoPathSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSwitch_audioRender" "', argument " "1"" of type '" "SoPathSwitch *""'"); - } - arg1 = reinterpret_cast< SoPathSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getClassTypeId",0,0)) SWIG_fail; - result = SoTransformSeparator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getTypeId" "', argument " "1"" of type '" "SoTransformSeparator const *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - result = ((SoTransformSeparator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_initClass",0,0)) SWIG_fail; - SoTransformSeparator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformSeparator",0,0)) SWIG_fail; - result = (SoTransformSeparator *)new SoTransformSeparator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoTransformSeparator *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransformSeparator",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoTransformSeparator" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoTransformSeparator *)new SoTransformSeparator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransformSeparator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransformSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoTransformSeparator__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoTransformSeparator__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoTransformSeparator'.\n Possible C/C++ prototypes are:\n"" SoTransformSeparator()\n"" SoTransformSeparator(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_doAction" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_callback" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_GLRender" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_pick" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getBoundingBox" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getMatrix" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_getPrimitiveCount" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransformSeparator_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransformSeparator *arg1 = (SoTransformSeparator *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransformSeparator_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransformSeparator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransformSeparator_audioRender" "', argument " "1"" of type '" "SoTransformSeparator *""'"); - } - arg1 = reinterpret_cast< SoTransformSeparator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransformSeparator_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransformSeparator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransformSeparator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getClassTypeId",0,0)) SWIG_fail; - result = SoRotation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getTypeId" "', argument " "1"" of type '" "SoRotation const *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - result = ((SoRotation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_initClass",0,0)) SWIG_fail; - SoRotation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotation",0,0)) SWIG_fail; - result = (SoRotation *)new SoRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_rotation_set" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_rotation_get" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_doAction" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_GLRender" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_callback" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getBoundingBox" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getMatrix" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_pick" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotation_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotation *arg1 = (SoRotation *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotation_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotation_getPrimitiveCount" "', argument " "1"" of type '" "SoRotation *""'"); - } - arg1 = reinterpret_cast< SoRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotation_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPendulum_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_getClassTypeId",0,0)) SWIG_fail; - result = SoPendulum::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_getTypeId" "', argument " "1"" of type '" "SoPendulum const *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = ((SoPendulum const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_initClass",0,0)) SWIG_fail; - SoPendulum::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPendulum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPendulum",0,0)) SWIG_fail; - result = (SoPendulum *)new SoPendulum(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPendulum, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation0_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_rotation0_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation0_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation1_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_rotation1_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_rotation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_rotation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_rotation1_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_speed_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_speed_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_on_set" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_on_get" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPendulum_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPendulum *arg1 = (SoPendulum *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPendulum_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPendulum, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPendulum_write" "', argument " "1"" of type '" "SoPendulum *""'"); - } - arg1 = reinterpret_cast< SoPendulum * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPendulum_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPendulum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPendulum, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_getClassTypeId",0,0)) SWIG_fail; - result = SoRotor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_getTypeId" "', argument " "1"" of type '" "SoRotor const *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = ((SoRotor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_initClass",0,0)) SWIG_fail; - SoRotor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotor",0,0)) SWIG_fail; - result = (SoRotor *)new SoRotor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_speed_set" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotor_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_speed_get" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_on_set" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotor_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotor_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotor *arg1 = (SoRotor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotor_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotor_on_get" "', argument " "1"" of type '" "SoRotor *""'"); - } - arg1 = reinterpret_cast< SoRotor * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoResetTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoResetTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getTypeId" "', argument " "1"" of type '" "SoResetTransform const *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - result = ((SoResetTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_initClass",0,0)) SWIG_fail; - SoResetTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoResetTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoResetTransform",0,0)) SWIG_fail; - result = (SoResetTransform *)new SoResetTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoResetTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_whatToReset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_whatToReset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_whatToReset_set" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_whatToReset_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->whatToReset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_whatToReset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_whatToReset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_whatToReset_get" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - result = (SoSFBitMask *)& ((arg1)->whatToReset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_doAction" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_callback" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_GLRender" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getBoundingBox" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getMatrix" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_pick" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoResetTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoResetTransform *arg1 = (SoResetTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoResetTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoResetTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoResetTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoResetTransform *""'"); - } - arg1 = reinterpret_cast< SoResetTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoResetTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoResetTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoResetTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getClassTypeId",0,0)) SWIG_fail; - result = SoRotationXYZ::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getTypeId" "', argument " "1"" of type '" "SoRotationXYZ const *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = ((SoRotationXYZ const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_initClass",0,0)) SWIG_fail; - SoRotationXYZ::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoRotationXYZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoRotationXYZ",0,0)) SWIG_fail; - result = (SoRotationXYZ *)new SoRotationXYZ(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoRotationXYZ, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_axis_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_axis_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_axis_set" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_axis_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->axis = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_axis_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_axis_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_axis_get" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = (SoSFEnum *)& ((arg1)->axis); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_angle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_angle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_angle_set" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_angle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->angle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_angle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_angle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_angle_get" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = (SoSFFloat *)& ((arg1)->angle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getRotation" "', argument " "1"" of type '" "SoRotationXYZ const *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - result = ((SoRotationXYZ const *)arg1)->getRotation(); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_doAction" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_GLRender" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_callback" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getBoundingBox" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getMatrix" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_pick" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoRotationXYZ_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoRotationXYZ *arg1 = (SoRotationXYZ *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoRotationXYZ_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoRotationXYZ, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoRotationXYZ_getPrimitiveCount" "', argument " "1"" of type '" "SoRotationXYZ *""'"); - } - arg1 = reinterpret_cast< SoRotationXYZ * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoRotationXYZ_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoRotationXYZ_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoRotationXYZ, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTranslation_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getClassTypeId",0,0)) SWIG_fail; - result = SoTranslation::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getTypeId" "', argument " "1"" of type '" "SoTranslation const *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - result = ((SoTranslation const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_initClass",0,0)) SWIG_fail; - SoTranslation::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTranslation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTranslation",0,0)) SWIG_fail; - result = (SoTranslation *)new SoTranslation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTranslation, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_translation_set" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_translation_get" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_doAction" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_callback" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_GLRender" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getBoundingBox" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getMatrix" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_pick" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTranslation_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTranslation *arg1 = (SoTranslation *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTranslation_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTranslation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTranslation_getPrimitiveCount" "', argument " "1"" of type '" "SoTranslation *""'"); - } - arg1 = reinterpret_cast< SoTranslation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTranslation_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTranslation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTranslation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoShuttle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_getClassTypeId",0,0)) SWIG_fail; - result = SoShuttle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_getTypeId" "', argument " "1"" of type '" "SoShuttle const *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = ((SoShuttle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_initClass",0,0)) SWIG_fail; - SoShuttle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoShuttle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoShuttle",0,0)) SWIG_fail; - result = (SoShuttle *)new SoShuttle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoShuttle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation0_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation0_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_translation0_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation0 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation0_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation0_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation0); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation1_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation1_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_translation1_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation1 = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_translation1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_translation1_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_translation1_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_speed_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_speed_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_on_set" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_on_get" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoShuttle_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoShuttle *arg1 = (SoShuttle *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoShuttle_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoShuttle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoShuttle_write" "', argument " "1"" of type '" "SoShuttle *""'"); - } - arg1 = reinterpret_cast< SoShuttle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoShuttle_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoShuttle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoShuttle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSurroundScale_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_getClassTypeId",0,0)) SWIG_fail; - result = SoSurroundScale::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_getTypeId" "', argument " "1"" of type '" "SoSurroundScale const *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = ((SoSurroundScale const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_initClass",0,0)) SWIG_fail; - SoSurroundScale::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSurroundScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSurroundScale",0,0)) SWIG_fail; - result = (SoSurroundScale *)new SoSurroundScale(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSurroundScale, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToContainer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToContainer_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToContainer_set" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_numNodesUpToContainer_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numNodesUpToContainer = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToContainer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToContainer_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToContainer_get" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numNodesUpToContainer); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToReset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToReset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToReset_set" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_numNodesUpToReset_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->numNodesUpToReset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_numNodesUpToReset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_numNodesUpToReset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_numNodesUpToReset_get" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SoSFInt32 *)& ((arg1)->numNodesUpToReset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_invalidate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_invalidate" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - (arg1)->invalidate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_doAction" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSurroundScale_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_setDoingTranslations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_setDoingTranslations",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_setDoingTranslations" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSurroundScale_setDoingTranslations" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoingTranslations(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSurroundScale_isDoingTranslations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSurroundScale *arg1 = (SoSurroundScale *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSurroundScale_isDoingTranslations",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSurroundScale, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSurroundScale_isDoingTranslations" "', argument " "1"" of type '" "SoSurroundScale *""'"); - } - arg1 = reinterpret_cast< SoSurroundScale * >(argp1); - result = (SbBool)(arg1)->isDoingTranslations(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSurroundScale_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSurroundScale, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getClassTypeId",0,0)) SWIG_fail; - result = SoNurbsProfile::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getTypeId" "', argument " "1"" of type '" "SoNurbsProfile const *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - result = ((SoNurbsProfile const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_initClass",0,0)) SWIG_fail; - SoNurbsProfile::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNurbsProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNurbsProfile",0,0)) SWIG_fail; - result = (SoNurbsProfile *)new SoNurbsProfile(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNurbsProfile, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_knotVector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_knotVector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_knotVector_set" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_knotVector_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->knotVector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_knotVector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_knotVector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_knotVector_get" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - result = (SoMFFloat *)& ((arg1)->knotVector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getTrimCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - float **arg4 = 0 ; - int *arg5 = 0 ; - int32_t *arg6 = 0 ; - float **arg7 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getTrimCurve",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "4"" of type '" "float *&""'"); - } - arg4 = reinterpret_cast< float ** >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "6"" of type '" "int32_t &""'"); - } - arg6 = reinterpret_cast< int32_t * >(argp6); - res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_p_float, 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getTrimCurve" "', argument " "7"" of type '" "float *&""'"); - } - arg7 = reinterpret_cast< float ** >(argp7); - (arg1)->getTrimCurve(arg2,*arg3,*arg4,*arg5,*arg6,*arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNurbsProfile_getVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNurbsProfile *arg1 = (SoNurbsProfile *) 0 ; - SoState *arg2 = (SoState *) 0 ; - int32_t *arg3 = 0 ; - SbVec2f **arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNurbsProfile_getVertices",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNurbsProfile, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNurbsProfile_getVertices" "', argument " "1"" of type '" "SoNurbsProfile *""'"); - } - arg1 = reinterpret_cast< SoNurbsProfile * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNurbsProfile_getVertices" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNurbsProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getVertices" "', argument " "3"" of type '" "int32_t &""'"); - } - arg3 = reinterpret_cast< int32_t * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoNurbsProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoNurbsProfile_getVertices" "', argument " "4"" of type '" "SbVec2f *&""'"); - } - arg4 = reinterpret_cast< SbVec2f ** >(argp4); - (arg1)->getVertices(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNurbsProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNurbsProfile, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoNormal_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getClassTypeId",0,0)) SWIG_fail; - result = SoNormal::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_getTypeId" "', argument " "1"" of type '" "SoNormal const *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - result = ((SoNormal const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_initClass",0,0)) SWIG_fail; - SoNormal::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNormal",0,0)) SWIG_fail; - result = (SoNormal *)new SoNormal(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNormal, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_vector_set" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_vector_get" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_doAction" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_GLRender" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_callback" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_pick" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNormal_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNormal *arg1 = (SoNormal *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNormal_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNormal_getPrimitiveCount" "', argument " "1"" of type '" "SoNormal *""'"); - } - arg1 = reinterpret_cast< SoNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNormal_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNormal, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPackedColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_getClassTypeId",0,0)) SWIG_fail; - result = SoPackedColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_getTypeId" "', argument " "1"" of type '" "SoPackedColor const *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = ((SoPackedColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_initClass",0,0)) SWIG_fail; - SoPackedColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPackedColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPackedColor",0,0)) SWIG_fail; - result = (SoPackedColor *)new SoPackedColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPackedColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_orderedRGBA_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoMFUInt32 *arg2 = (SoMFUInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_orderedRGBA_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_orderedRGBA_set" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_orderedRGBA_set" "', argument " "2"" of type '" "SoMFUInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFUInt32 * >(argp2); - if (arg1) (arg1)->orderedRGBA = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_orderedRGBA_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoMFUInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_orderedRGBA_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_orderedRGBA_get" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = (SoMFUInt32 *)& ((arg1)->orderedRGBA); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFUInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_doAction" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_GLRender" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_callback" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPackedColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPackedColor_isTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPackedColor *arg1 = (SoPackedColor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPackedColor_isTransparent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPackedColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPackedColor_isTransparent" "', argument " "1"" of type '" "SoPackedColor *""'"); - } - arg1 = reinterpret_cast< SoPackedColor * >(argp1); - result = (SbBool)(arg1)->isTransparent(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPackedColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPackedColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_getClassTypeId",0,0)) SWIG_fail; - result = SoPolygonOffset::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_getTypeId" "', argument " "1"" of type '" "SoPolygonOffset const *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = ((SoPolygonOffset const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_initClass",0,0)) SWIG_fail; - SoPolygonOffset::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPolygonOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPolygonOffset",0,0)) SWIG_fail; - result = (SoPolygonOffset *)new SoPolygonOffset(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPolygonOffset, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_factor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_factor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_factor_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_factor_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->factor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_factor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_factor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_factor_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFFloat *)& ((arg1)->factor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_units_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_units_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_units_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->units = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_units_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_units_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFFloat *)& ((arg1)->units); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_styles_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBitMask *arg2 = (SoSFBitMask *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_styles_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_styles_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_styles_set" "', argument " "2"" of type '" "SoSFBitMask *""'"); - } - arg2 = reinterpret_cast< SoSFBitMask * >(argp2); - if (arg1) (arg1)->styles = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_styles_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBitMask *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_styles_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_styles_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFBitMask *)& ((arg1)->styles); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBitMask, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_on_set" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_on_get" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_doAction" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_callback" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPolygonOffset_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPolygonOffset *arg1 = (SoPolygonOffset *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPolygonOffset_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPolygonOffset, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPolygonOffset_GLRender" "', argument " "1"" of type '" "SoPolygonOffset *""'"); - } - arg1 = reinterpret_cast< SoPolygonOffset * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPolygonOffset_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPolygonOffset_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPolygonOffset, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinate2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getTypeId" "', argument " "1"" of type '" "SoProfileCoordinate2 const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - result = ((SoProfileCoordinate2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_initClass",0,0)) SWIG_fail; - SoProfileCoordinate2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProfileCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProfileCoordinate2",0,0)) SWIG_fail; - result = (SoProfileCoordinate2 *)new SoProfileCoordinate2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinate2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_point_set" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_point_get" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_doAction" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_GLRender" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_callback" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_pick" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getBoundingBox" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate2_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate2 *arg1 = (SoProfileCoordinate2 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate2_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate2_getPrimitiveCount" "', argument " "1"" of type '" "SoProfileCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate2_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinate2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinate2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoProfileCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_getTypeId" "', argument " "1"" of type '" "SoProfileCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - result = ((SoProfileCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_initClass",0,0)) SWIG_fail; - SoProfileCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoProfileCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoProfileCoordinate3",0,0)) SWIG_fail; - result = (SoProfileCoordinate3 *)new SoProfileCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoProfileCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_point_set" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_point_get" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_doAction" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_GLRender" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_callback" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_pick" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoProfileCoordinate3_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoProfileCoordinate3 *arg1 = (SoProfileCoordinate3 *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoProfileCoordinate3_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoProfileCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoProfileCoordinate3_getPrimitiveCount" "', argument " "1"" of type '" "SoProfileCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoProfileCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoProfileCoordinate3_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoProfileCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoProfileCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_getTypeId" "', argument " "1"" of type '" "SoTexture3 const *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = ((SoTexture3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_initClass",0,0)) SWIG_fail; - SoTexture3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture3",0,0)) SWIG_fail; - result = (SoTexture3 *)new SoTexture3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_filenames_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_filenames_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_filenames_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_filenames_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->filenames = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_filenames_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_filenames_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_filenames_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoMFString *)& ((arg1)->filenames); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_images_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFImage3 *arg2 = (SoSFImage3 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_images_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_images_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage3, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_images_set" "', argument " "2"" of type '" "SoSFImage3 *""'"); - } - arg2 = reinterpret_cast< SoSFImage3 * >(argp2); - if (arg1) (arg1)->images = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_images_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFImage3 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_images_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_images_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFImage3 *)& ((arg1)->images); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage3, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapR_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapR_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapR_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapR_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapR = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapR_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapR_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapR_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapR); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapS_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapS_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapT_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_wrapT_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_model_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_model_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_blendColor_set" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_blendColor_get" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_doAction" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_GLRender" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3 *arg1 = (SoTexture3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3_callback" "', argument " "1"" of type '" "SoTexture3 *""'"); - } - arg1 = reinterpret_cast< SoTexture3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture2Transform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_getTypeId" "', argument " "1"" of type '" "SoTexture2Transform const *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = ((SoTexture2Transform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_initClass",0,0)) SWIG_fail; - SoTexture2Transform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture2Transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture2Transform",0,0)) SWIG_fail; - result = (SoTexture2Transform *)new SoTexture2Transform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture2Transform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_translation_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_translation_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_rotation_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_rotation_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_scaleFactor_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_scaleFactor_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_center_set" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_center_get" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_doAction" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_callback" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_GLRender" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_getMatrix" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture2Transform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture2Transform *arg1 = (SoTexture2Transform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture2Transform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture2Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture2Transform_pick" "', argument " "1"" of type '" "SoTexture2Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture2Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture2Transform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture2Transform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture2Transform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getClassTypeId",0,0)) SWIG_fail; - result = SoTexture3Transform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_getTypeId" "', argument " "1"" of type '" "SoTexture3Transform const *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = ((SoTexture3Transform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_initClass",0,0)) SWIG_fail; - SoTexture3Transform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTexture3Transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTexture3Transform",0,0)) SWIG_fail; - result = (SoTexture3Transform *)new SoTexture3Transform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTexture3Transform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_translation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_translation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_rotation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_rotation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleFactor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleFactor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleFactor_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_scaleFactor_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scaleFactor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleFactor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleFactor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleFactor_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scaleFactor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleOrientation_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_scaleOrientation_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_center_set" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_center_get" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_doAction" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_callback" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_GLRender" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_getMatrix" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTexture3Transform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTexture3Transform *arg1 = (SoTexture3Transform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTexture3Transform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTexture3Transform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTexture3Transform_pick" "', argument " "1"" of type '" "SoTexture3Transform *""'"); - } - arg1 = reinterpret_cast< SoTexture3Transform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTexture3Transform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTexture3Transform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTexture3Transform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinate2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinate2 const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - result = ((SoTextureCoordinate2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_initClass",0,0)) SWIG_fail; - SoTextureCoordinate2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinate2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinate2",0,0)) SWIG_fail; - result = (SoTextureCoordinate2 *)new SoTextureCoordinate2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinate2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_point_set" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_point_get" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_doAction" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_GLRender" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_callback" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate2_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate2 *arg1 = (SoTextureCoordinate2 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate2_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate2_pick" "', argument " "1"" of type '" "SoTextureCoordinate2 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate2_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinate2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinate2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinate3::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinate3 const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - result = ((SoTextureCoordinate3 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_initClass",0,0)) SWIG_fail; - SoTextureCoordinate3::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinate3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinate3",0,0)) SWIG_fail; - result = (SoTextureCoordinate3 *)new SoTextureCoordinate3(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinate3, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_point_set" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_point_get" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_doAction" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_GLRender" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_callback" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinate3_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinate3 *arg1 = (SoTextureCoordinate3 *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinate3_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinate3, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinate3_pick" "', argument " "1"" of type '" "SoTextureCoordinate3 *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinate3 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinate3_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinate3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinate3, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateFunction::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateFunction *arg1 = (SoTextureCoordinateFunction *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateFunction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateFunction_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateFunction const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateFunction * >(argp1); - result = ((SoTextureCoordinateFunction const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateFunction_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateFunction_initClass",0,0)) SWIG_fail; - SoTextureCoordinateFunction::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateFunction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateFunction",0,0)) SWIG_fail; - result = (SoTextureCoordinateFunction *)new SoTextureCoordinateFunction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateFunction, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateFunction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateFunction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateDefault::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateDefault const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - result = ((SoTextureCoordinateDefault const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_initClass",0,0)) SWIG_fail; - SoTextureCoordinateDefault::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateDefault",0,0)) SWIG_fail; - result = (SoTextureCoordinateDefault *)new SoTextureCoordinateDefault(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateDefault, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_doAction" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_callback" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateDefault_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateDefault *arg1 = (SoTextureCoordinateDefault *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateDefault_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateDefault, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateDefault_pick" "', argument " "1"" of type '" "SoTextureCoordinateDefault *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateDefault * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateDefault_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateDefault_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateDefault, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateEnvironment::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - result = ((SoTextureCoordinateEnvironment const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_initClass",0,0)) SWIG_fail; - SoTextureCoordinateEnvironment::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateEnvironment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateEnvironment",0,0)) SWIG_fail; - result = (SoTextureCoordinateEnvironment *)new SoTextureCoordinateEnvironment(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateEnvironment, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_doAction" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_pick" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateEnvironment_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateEnvironment *arg1 = (SoTextureCoordinateEnvironment *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateEnvironment_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateEnvironment, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateEnvironment_callback" "', argument " "1"" of type '" "SoTextureCoordinateEnvironment *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateEnvironment * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateEnvironment_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateEnvironment, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinatePlane::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinatePlane const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = ((SoTextureCoordinatePlane const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_initClass",0,0)) SWIG_fail; - SoTextureCoordinatePlane::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinatePlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinatePlane",0,0)) SWIG_fail; - result = (SoTextureCoordinatePlane *)new SoTextureCoordinatePlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinatePlane, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionS_set" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_directionS_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->directionS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionS_get" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = (SoSFVec3f *)& ((arg1)->directionS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionT_set" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_directionT_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->directionT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_directionT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_directionT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_directionT_get" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - result = (SoSFVec3f *)& ((arg1)->directionT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_doAction" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_GLRender" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_pick" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinatePlane_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinatePlane *arg1 = (SoTextureCoordinatePlane *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinatePlane_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinatePlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinatePlane_callback" "', argument " "1"" of type '" "SoTextureCoordinatePlane *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinatePlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinatePlane_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinatePlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinatePlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoWWWInline_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getClassTypeId",0,0)) SWIG_fail; - result = SoWWWInline::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getTypeId" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = ((SoWWWInline const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_initClass",0,0)) SWIG_fail; - SoWWWInline::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoWWWInline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoWWWInline",0,0)) SWIG_fail; - result = (SoWWWInline *)new SoWWWInline(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoWWWInline, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_name_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_name_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_name_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->name = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_name_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_name_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFString *)& ((arg1)->name); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxCenter_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxCenter_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxSize_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_bboxSize_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_alternateRep_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_alternateRep_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_alternateRep_set" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_alternateRep_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->alternateRep = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_alternateRep_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_alternateRep_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_alternateRep_get" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoSFNode *)& ((arg1)->alternateRep); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setFullURLName" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getFullURLName" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGroup *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_copyChildren" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoGroup *)((SoWWWInline const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_requestURLData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_requestURLData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_requestURLData" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - (arg1)->requestURLData(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_isURLDataRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_isURLDataRequested",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_isURLDataRequested" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SbBool)((SoWWWInline const *)arg1)->isURLDataRequested(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_isURLDataHere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_isURLDataHere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_isURLDataHere" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SbBool)((SoWWWInline const *)arg1)->isURLDataHere(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_cancelURLDataRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_cancelURLDataRequest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_cancelURLDataRequest" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - (arg1)->cancelURLDataRequest(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setChildData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setChildData" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_setChildData" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setChildData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getChildData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getChildData" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoNode *)((SoWWWInline const *)arg1)->getChildData(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getChildren" "', argument " "1"" of type '" "SoWWWInline const *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - result = (SoChildList *)((SoWWWInline const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInlineFetchURLCB *arg1 = (SoWWWInlineFetchURLCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoWWWInline_setFetchURLCallBack" "', argument " "1"" of type '" "SoWWWInlineFetchURLCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoWWWInline::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline::BboxVisibility arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setBoundingBoxVisibility",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoWWWInline_setBoundingBoxVisibility" "', argument " "1"" of type '" "SoWWWInline::BboxVisibility""'"); - } - arg1 = static_cast< SoWWWInline::BboxVisibility >(val1); - SoWWWInline::setBoundingBoxVisibility(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline::BboxVisibility result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBoxVisibility",0,0)) SWIG_fail; - result = (SoWWWInline::BboxVisibility)SoWWWInline::getBoundingBoxVisibility(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setBoundingBoxColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoWWWInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - SoWWWInline::setBoundingBoxColor(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBoxColor",0,0)) SWIG_fail; - { - SbColor const &_result_ref = SoWWWInline::getBoundingBoxColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_setReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_setReadAsSoFile",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoWWWInline_setReadAsSoFile" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoWWWInline::setReadAsSoFile(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getReadAsSoFile",0,0)) SWIG_fail; - result = (SbBool)SoWWWInline::getReadAsSoFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_doAction" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_doActionOnKidsOrBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_doActionOnKidsOrBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_doActionOnKidsOrBox" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_doActionOnKidsOrBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doActionOnKidsOrBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_callback" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_GLRender" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getBoundingBox" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getMatrix" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_handleEvent" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_search" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_pick" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_getPrimitiveCount" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoWWWInline_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoWWWInline *arg1 = (SoWWWInline *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoWWWInline_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoWWWInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoWWWInline_audioRender" "', argument " "1"" of type '" "SoWWWInline *""'"); - } - arg1 = reinterpret_cast< SoWWWInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoWWWInline_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoWWWInline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoWWWInline, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTransparencyType_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_getClassTypeId",0,0)) SWIG_fail; - result = SoTransparencyType::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_getTypeId" "', argument " "1"" of type '" "SoTransparencyType const *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - result = ((SoTransparencyType const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_initClass",0,0)) SWIG_fail; - SoTransparencyType::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTransparencyType",0,0)) SWIG_fail; - result = (SoTransparencyType *)new SoTransparencyType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTransparencyType, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_value_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_value_set" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_value_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->value = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_value_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_value_get" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - result = (SoSFEnum *)& ((arg1)->value); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_doAction" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_GLRender" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTransparencyType_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTransparencyType *arg1 = (SoTransparencyType *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTransparencyType_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTransparencyType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTransparencyType_callback" "', argument " "1"" of type '" "SoTransparencyType *""'"); - } - arg1 = reinterpret_cast< SoTransparencyType * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTransparencyType_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTransparencyType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTransparencyType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureScalePolicy::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_getTypeId" "', argument " "1"" of type '" "SoTextureScalePolicy const *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = ((SoTextureScalePolicy const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_initClass",0,0)) SWIG_fail; - SoTextureScalePolicy::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureScalePolicy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureScalePolicy",0,0)) SWIG_fail; - result = (SoTextureScalePolicy *)new SoTextureScalePolicy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureScalePolicy, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_policy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_policy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_policy_set" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_policy_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->policy = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_policy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_policy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_policy_get" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = (SoSFEnum *)& ((arg1)->policy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_quality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_quality_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_quality_set" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_quality_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->quality = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_quality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_quality_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_quality_get" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - result = (SoSFFloat *)& ((arg1)->quality); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureScalePolicy_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureScalePolicy *arg1 = (SoTextureScalePolicy *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureScalePolicy_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureScalePolicy, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureScalePolicy_GLRender" "', argument " "1"" of type '" "SoTextureScalePolicy *""'"); - } - arg1 = reinterpret_cast< SoTextureScalePolicy * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureScalePolicy_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureScalePolicy_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureScalePolicy, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureUnit::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_getTypeId" "', argument " "1"" of type '" "SoTextureUnit const *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = ((SoTextureUnit const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_initClass",0,0)) SWIG_fail; - SoTextureUnit::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureUnit",0,0)) SWIG_fail; - result = (SoTextureUnit *)new SoTextureUnit(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureUnit, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_unit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_unit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_unit_set" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_unit_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->unit = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_unit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_unit_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_unit_get" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = (SoSFInt32 *)& ((arg1)->unit); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_mappingMethod_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_mappingMethod_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_mappingMethod_set" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_mappingMethod_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->mappingMethod = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_mappingMethod_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_mappingMethod_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_mappingMethod_get" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - result = (SoSFEnum *)& ((arg1)->mappingMethod); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_doAction" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_callback" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_GLRender" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureUnit *arg1 = (SoTextureUnit *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureUnit, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureUnit_pick" "', argument " "1"" of type '" "SoTextureUnit *""'"); - } - arg1 = reinterpret_cast< SoTextureUnit * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureUnit_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureUnit_getMaxTextureUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureUnit_getMaxTextureUnit",0,0)) SWIG_fail; - result = (uint32_t)SoTextureUnit::getMaxTextureUnit(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureUnit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureUnit, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_getClassTypeId",0,0)) SWIG_fail; - result = SoSceneTexture2::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_getTypeId" "', argument " "1"" of type '" "SoSceneTexture2 const *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = ((SoSceneTexture2 const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_initClass",0,0)) SWIG_fail; - SoSceneTexture2::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoSceneTexture2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneTexture2",0,0)) SWIG_fail; - result = (SoSceneTexture2 *)new SoSceneTexture2(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneTexture2, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapS_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_wrapS_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapS_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapT_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_wrapT_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->wrapT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_wrapT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_wrapT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_wrapT_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->wrapT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_model_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_model_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_model_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_model_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->model = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_model_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_model_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_model_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->model); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_blendColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_blendColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_blendColor_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_blendColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->blendColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_blendColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_blendColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_blendColor_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFColor *)& ((arg1)->blendColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_backgroundColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_backgroundColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_backgroundColor_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_backgroundColor_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->backgroundColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_backgroundColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_backgroundColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_backgroundColor_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFVec4f *)& ((arg1)->backgroundColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec2s *arg2 = (SoSFVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_size_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_size_set" "', argument " "2"" of type '" "SoSFVec2s *""'"); - } - arg2 = reinterpret_cast< SoSFVec2s * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_size_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFVec2s *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_scene_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_scene_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_scene_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_scene_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->scene = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_scene_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_scene_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_scene_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFNode *)& ((arg1)->scene); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_transparencyFunction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_transparencyFunction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_transparencyFunction_set" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_transparencyFunction_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->transparencyFunction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_transparencyFunction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_transparencyFunction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_transparencyFunction_get" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - result = (SoSFEnum *)& ((arg1)->transparencyFunction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_notify" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_write" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_doAction" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_GLRender" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_callback" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneTexture2_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneTexture2 *arg1 = (SoSceneTexture2 *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneTexture2_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneTexture2, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneTexture2_rayPick" "', argument " "1"" of type '" "SoSceneTexture2 *""'"); - } - arg1 = reinterpret_cast< SoSceneTexture2 * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneTexture2_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSceneTexture2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneTexture2, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateCube::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateCube const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - result = ((SoTextureCoordinateCube const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_initClass",0,0)) SWIG_fail; - SoTextureCoordinateCube::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCube",0,0)) SWIG_fail; - result = (SoTextureCoordinateCube *)new SoTextureCoordinateCube(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCube, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_doAction" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_callback" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCube_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCube *arg1 = (SoTextureCoordinateCube *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCube_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCube, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCube_pick" "', argument " "1"" of type '" "SoTextureCoordinateCube *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCube * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCube_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCube_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCube, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateSphere const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - result = ((SoTextureCoordinateSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_initClass",0,0)) SWIG_fail; - SoTextureCoordinateSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateSphere",0,0)) SWIG_fail; - result = (SoTextureCoordinateSphere *)new SoTextureCoordinateSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_doAction" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_callback" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateSphere_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateSphere *arg1 = (SoTextureCoordinateSphere *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateSphere_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateSphere_pick" "', argument " "1"" of type '" "SoTextureCoordinateSphere *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateSphere_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCoordinateCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_getTypeId" "', argument " "1"" of type '" "SoTextureCoordinateCylinder const *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - result = ((SoTextureCoordinateCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_initClass",0,0)) SWIG_fail; - SoTextureCoordinateCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCoordinateCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCoordinateCylinder",0,0)) SWIG_fail; - result = (SoTextureCoordinateCylinder *)new SoTextureCoordinateCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCoordinateCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_doAction" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_GLRender" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_callback" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCoordinateCylinder_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCoordinateCylinder *arg1 = (SoTextureCoordinateCylinder *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCoordinateCylinder_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCoordinateCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCoordinateCylinder_pick" "', argument " "1"" of type '" "SoTextureCoordinateCylinder *""'"); - } - arg1 = reinterpret_cast< SoTextureCoordinateCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCoordinateCylinder_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCoordinateCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCoordinateCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoTextureCombine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_getClassTypeId",0,0)) SWIG_fail; - result = SoTextureCombine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_getTypeId" "', argument " "1"" of type '" "SoTextureCombine const *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = ((SoTextureCombine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_initClass",0,0)) SWIG_fail; - SoTextureCombine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTextureCombine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTextureCombine",0,0)) SWIG_fail; - result = (SoTextureCombine *)new SoTextureCombine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTextureCombine, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbSource_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbSource_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbSource_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbSource_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->rgbSource = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbSource_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbSource_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbSource_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->rgbSource); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaSource_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaSource_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaSource_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaSource_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->alphaSource = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaSource_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaSource_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaSource_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->alphaSource); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperand_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperand_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperand_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbOperand_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->rgbOperand = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperand_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperand_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperand_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->rgbOperand); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperand_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *arg2 = (SoMFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperand_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperand_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaOperand_set" "', argument " "2"" of type '" "SoMFEnum *""'"); - } - arg2 = reinterpret_cast< SoMFEnum * >(argp2); - if (arg1) (arg1)->alphaOperand = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperand_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoMFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperand_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperand_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoMFEnum *)& ((arg1)->alphaOperand); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperation_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbOperation_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->rgbOperation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbOperation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbOperation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbOperation_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFEnum *)& ((arg1)->rgbOperation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperation_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaOperation_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->alphaOperation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaOperation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaOperation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaOperation_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFEnum *)& ((arg1)->alphaOperation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbScale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbScale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbScale_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_rgbScale_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rgbScale = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_rgbScale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_rgbScale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_rgbScale_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFFloat *)& ((arg1)->rgbScale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaScale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaScale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaScale_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_alphaScale_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->alphaScale = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_alphaScale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_alphaScale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_alphaScale_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFFloat *)& ((arg1)->alphaScale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_constantColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFVec4f *arg2 = (SoSFVec4f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_constantColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_constantColor_set" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_constantColor_set" "', argument " "2"" of type '" "SoSFVec4f *""'"); - } - arg2 = reinterpret_cast< SoSFVec4f * >(argp2); - if (arg1) (arg1)->constantColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_constantColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoSFVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_constantColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_constantColor_get" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - result = (SoSFVec4f *)& ((arg1)->constantColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_doAction" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_callback" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_GLRender" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTextureCombine_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTextureCombine *arg1 = (SoTextureCombine *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTextureCombine_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTextureCombine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTextureCombine_pick" "', argument " "1"" of type '" "SoTextureCombine *""'"); - } - arg1 = reinterpret_cast< SoTextureCombine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoTextureCombine_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTextureCombine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTextureCombine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLine",0,0)) SWIG_fail; - result = (SbLine *)new SbLine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - SbVec3f *arg2 = 0 ; - SbLine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbLine" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbLine" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbLine" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbLine" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbLine *)new SbLine((SbVec3f const &)*arg1,(SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbLine__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbLine__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbLine'.\n Possible C/C++ prototypes are:\n"" SbLine()\n"" SbLine(SbVec3f const &,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_setValue" "', argument " "1"" of type '" "SbLine *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLine_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_setValue" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->setValue((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getClosestPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getClosestPoints",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getClosestPoints" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_getClosestPoints" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbLine const *)arg1)->getClosestPoints((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getClosestPoint" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = ((SbLine const *)arg1)->getClosestPoint((SbVec3f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getPosition" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - SbVec3f const &_result_ref = ((SbLine const *)arg1)->getPosition(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_getDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_getDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_getDirection" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - SbVec3f const &_result_ref = ((SbLine const *)arg1)->getDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLine_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLine_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLine_output" "', argument " "1"" of type '" "SbLine const *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbLine const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = (SbLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbLine" "', argument " "1"" of type '" "SbLine *""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_project" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_setViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbViewVolume *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_setViewVolume",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_setViewVolume" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewVolume, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_setViewVolume" "', argument " "2"" of type '" "SbViewVolume const &""'"); - } - arg2 = reinterpret_cast< SbViewVolume * >(argp2); - (arg1)->setViewVolume((SbViewVolume const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_getViewVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbViewVolume *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_getViewVolume",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_getViewVolume" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - { - SbViewVolume const &_result_ref = ((SbProjector const *)arg1)->getViewVolume(); - result = (SbViewVolume *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewVolume, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_setWorkingSpace" "', argument " "1"" of type '" "SbProjector *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_getWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_getWorkingSpace",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_getWorkingSpace" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - { - SbMatrix const &_result_ref = ((SbProjector const *)arg1)->getWorkingSpace(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbProjector *arg1 = (SbProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbProjector_copy" "', argument " "1"" of type '" "SbProjector const *""'"); - } - arg1 = reinterpret_cast< SbProjector * >(argp1); - result = (SbProjector *)((SbProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinder",0,0)) SWIG_fail; - result = (SbCylinder *)new SbCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLine *arg1 = 0 ; - float arg2 ; - SbCylinder *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinder" "', argument " "1"" of type '" "SbLine const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinder" "', argument " "1"" of type '" "SbLine const &""'"); - } - arg1 = reinterpret_cast< SbLine * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinder" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinder *)new SbCylinder((SbLine const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinder(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinder__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinder__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinder'.\n Possible C/C++ prototypes are:\n"" SbCylinder()\n"" SbCylinder(SbLine const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setValue" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_setValue" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_setValue" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbCylinder_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbLine const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setAxis",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setAxis" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_setAxis" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_setAxis" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - (arg1)->setAxis((SbLine const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_setRadius" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinder_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_getAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_getAxis",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_getAxis" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - { - SbLine const &_result_ref = ((SbCylinder const *)arg1)->getAxis(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_getRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_getRadius",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_getRadius" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (float)((SbCylinder const *)arg1)->getRadius(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_intersect" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbCylinder const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_intersect" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbCylinder_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinder_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbCylinder const *)arg1)->intersect((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbCylinder_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbCylinder_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbCylinder_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbCylinder const *,SbLine const &,SbVec3f &)\n"" intersect(SbCylinder const *,SbLine const &,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinder_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinder_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinder_output" "', argument " "1"" of type '" "SbCylinder const *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbCylinder const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = (SbCylinder *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinder, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinder" "', argument " "1"" of type '" "SbCylinder *""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_project" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_projectAndGetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_projectAndGetRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - result = (arg1)->projectAndGetRotation((SbVec2f const &)*arg2,*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_getRotation" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbCylinder *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setCylinder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setCylinder" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_setCylinder" "', argument " "2"" of type '" "SbCylinder const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_setCylinder" "', argument " "2"" of type '" "SbCylinder const &""'"); - } - arg2 = reinterpret_cast< SbCylinder * >(argp2); - (arg1)->setCylinder((SbCylinder const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_getCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbCylinder *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_getCylinder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_getCylinder" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - { - SbCylinder const &_result_ref = ((SbCylinderProjector const *)arg1)->getCylinder(); - result = (SbCylinder *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinder, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setOrientToEye" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isOrientToEye" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - result = (SbBool)((SbCylinderProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setFront" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderProjector_setFront" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFront(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isFront",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isFront" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - result = (SbBool)((SbCylinderProjector const *)arg1)->isFront(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_isPointInFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_isPointInFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_isPointInFront" "', argument " "1"" of type '" "SbCylinderProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbCylinderProjector const *)arg1)->isPointInFront((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderProjector *arg1 = (SbCylinderProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderProjector" "', argument " "1"" of type '" "SbCylinderProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - SbCylinderSectionProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbCylinderSectionProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",0,0)) SWIG_fail; - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - SbCylinderSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbCylinderSectionProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbCylinderSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - SbCylinderSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderSectionProjector *)new SbCylinderSectionProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSectionProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderSectionProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSectionProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderSectionProjector'.\n Possible C/C++ prototypes are:\n"" SbCylinderSectionProjector(float const,SbBool const)\n"" SbCylinderSectionProjector(float const)\n"" SbCylinderSectionProjector()\n"" SbCylinderSectionProjector(SbCylinder const &,float const,SbBool const)\n"" SbCylinderSectionProjector(SbCylinder const &,float const)\n"" SbCylinderSectionProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_copy" "', argument " "1"" of type '" "SbCylinderSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - result = (SbProjector *)((SbCylinderSectionProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_project" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_setTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_setTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_setTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbCylinderSectionProjector_setTolerance" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setTolerance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_getTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_getTolerance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_getTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - result = (float)((SbCylinderSectionProjector const *)arg1)->getTolerance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSectionProjector_isWithinTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSectionProjector_isWithinTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)(arg1)->isWithinTolerance((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderSectionProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSectionProjector *arg1 = (SbCylinderSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSectionProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderSectionProjector" "', argument " "1"" of type '" "SbCylinderSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSectionProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderSectionProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderSectionProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - SbCylinderPlaneProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbCylinderPlaneProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",0,0)) SWIG_fail; - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - SbCylinderPlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbCylinderPlaneProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - float arg2 ; - SbCylinderPlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderPlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - SbCylinderPlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderPlaneProjector *)new SbCylinderPlaneProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderPlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderPlaneProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderPlaneProjector'.\n Possible C/C++ prototypes are:\n"" SbCylinderPlaneProjector(float const,SbBool const)\n"" SbCylinderPlaneProjector(float const)\n"" SbCylinderPlaneProjector()\n"" SbCylinderPlaneProjector(SbCylinder const &,float const,SbBool const)\n"" SbCylinderPlaneProjector(SbCylinder const &,float const)\n"" SbCylinderPlaneProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_copy" "', argument " "1"" of type '" "SbCylinderPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - result = (SbProjector *)((SbCylinderPlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_project" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderPlaneProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderPlaneProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderPlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderPlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderPlaneProjector *arg1 = (SbCylinderPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderPlaneProjector" "', argument " "1"" of type '" "SbCylinderPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderPlaneProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderPlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderPlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SbCylinderSheetProjector *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",0,0)) SWIG_fail; - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - SbBool arg2 ; - SbCylinderSheetProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbCylinderSheetProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector((SbCylinder const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinder *arg1 = 0 ; - SbCylinderSheetProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbCylinder, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinder const &""'"); - } - arg1 = reinterpret_cast< SbCylinder * >(argp1); - result = (SbCylinderSheetProjector *)new SbCylinderSheetProjector((SbCylinder const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbCylinderSheetProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbCylinderSheetProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbCylinder, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbCylinderSheetProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbCylinderSheetProjector'.\n Possible C/C++ prototypes are:\n"" SbCylinderSheetProjector(SbBool const)\n"" SbCylinderSheetProjector()\n"" SbCylinderSheetProjector(SbCylinder const &,SbBool const)\n"" SbCylinderSheetProjector(SbCylinder const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_copy" "', argument " "1"" of type '" "SbCylinderSheetProjector const *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - result = (SbProjector *)((SbCylinderSheetProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_project" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCylinderSheetProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCylinderSheetProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCylinderSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCylinderSheetProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCylinderSheetProjector *arg1 = (SbCylinderSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCylinderSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCylinderSheetProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCylinderSheetProjector" "', argument " "1"" of type '" "SbCylinderSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbCylinderSheetProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCylinderSheetProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCylinderSheetProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbLineProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbLineProjector",0,0)) SWIG_fail; - result = (SbLineProjector *)new SbLineProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLineProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_copy" "', argument " "1"" of type '" "SbLineProjector const *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - result = (SbProjector *)((SbLineProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_project" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbLine *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setLine" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setLine" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setLine" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - (arg1)->setLine((SbLine const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbLine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getLine" "', argument " "1"" of type '" "SbLineProjector const *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - { - SbLine const &_result_ref = ((SbLineProjector const *)arg1)->getLine(); - result = (SbLine *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbLine, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getVector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getVector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbLineProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (arg1)->getVector((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_getVector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_getVector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->getVector((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_getVector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_getVector__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_getVector__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbLineProjector_getVector'.\n Possible C/C++ prototypes are:\n"" getVector(SbLineProjector *,SbVec2f const &,SbVec2f const &)\n"" getVector(SbLineProjector *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setStartPosition" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbLineProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbLineProjector_setStartPosition" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbLineProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartPosition((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbLineProjector_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_setStartPosition__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbLineProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbLineProjector_setStartPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbLineProjector_setStartPosition'.\n Possible C/C++ prototypes are:\n"" setStartPosition(SbLineProjector *,SbVec2f const &)\n"" setStartPosition(SbLineProjector *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbLineProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbLineProjector *arg1 = (SbLineProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbLineProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbLineProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbLineProjector" "', argument " "1"" of type '" "SbLineProjector *""'"); - } - arg1 = reinterpret_cast< SbLineProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbLineProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbLineProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SbPlaneProjector *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbPlaneProjector *)new SbPlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",0,0)) SWIG_fail; - result = (SbPlaneProjector *)new SbPlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - SbBool arg2 ; - SbPlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbPlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbPlaneProjector *)new SbPlaneProjector((SbPlane const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlane *arg1 = 0 ; - SbPlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPlaneProjector" "', argument " "1"" of type '" "SbPlane const &""'"); - } - arg1 = reinterpret_cast< SbPlane * >(argp1); - result = (SbPlaneProjector *)new SbPlaneProjector((SbPlane const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPlaneProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPlaneProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPlaneProjector'.\n Possible C/C++ prototypes are:\n"" SbPlaneProjector(SbBool const)\n"" SbPlaneProjector()\n"" SbPlaneProjector(SbPlane const &,SbBool const)\n"" SbPlaneProjector(SbPlane const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_copy" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - result = (SbProjector *)((SbPlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_project" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setPlane" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setPlane" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->setPlane((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getPlane" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - { - SbPlane const &_result_ref = ((SbPlaneProjector const *)arg1)->getPlane(); - result = (SbPlane *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPlane, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setOrientToEye" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPlaneProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_isOrientToEye" "', argument " "1"" of type '" "SbPlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - result = (SbBool)((SbPlaneProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec2f *arg3 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getVector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getVector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPlaneProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (arg1)->getVector((SbVec2f const &)*arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_getVector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_getVector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_getVector" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->getVector((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_getVector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_getVector__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_getVector__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlaneProjector_getVector'.\n Possible C/C++ prototypes are:\n"" getVector(SbPlaneProjector *,SbVec2f const &,SbVec2f const &)\n"" getVector(SbPlaneProjector *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setStartPosition((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPlaneProjector_setStartPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPlaneProjector_setStartPosition" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setStartPosition((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPlaneProjector_setStartPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_setStartPosition__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPlaneProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPlaneProjector_setStartPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPlaneProjector_setStartPosition'.\n Possible C/C++ prototypes are:\n"" setStartPosition(SbPlaneProjector *,SbVec2f const &)\n"" setStartPosition(SbPlaneProjector *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPlaneProjector *arg1 = (SbPlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPlaneProjector" "', argument " "1"" of type '" "SbPlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbPlaneProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphere__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphere",0,0)) SWIG_fail; - result = (SbSphere *)new SbSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphere__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3f *arg1 = 0 ; - float arg2 ; - SbSphere *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphere",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphere" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphere" "', argument " "1"" of type '" "SbVec3f const &""'"); - } - arg1 = reinterpret_cast< SbVec3f * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphere" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSphere *)new SbSphere((SbVec3f const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphere(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphere__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphere__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphere'.\n Possible C/C++ prototypes are:\n"" SbSphere()\n"" SbSphere(SbVec3f const &,float const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setValue" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_setValue" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbSphere_setValue" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setValue((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setCenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setCenter" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_setCenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setCenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_setRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_setRadius",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_setRadius" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphere_setRadius" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadius(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_getCenter" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - { - SbVec3f const &_result_ref = ((SbSphere const *)arg1)->getCenter(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_getRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_getRadius",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_getRadius" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (float)((SbSphere const *)arg1)->getRadius(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_circumscribe(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbBox3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_circumscribe",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_circumscribe" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_circumscribe" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_circumscribe" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - (arg1)->circumscribe((SbBox3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_intersect" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SbBool)((SbSphere const *)arg1)->intersect((SbLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbLine *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_intersect",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_intersect" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "2"" of type '" "SbLine const &""'"); - } - arg2 = reinterpret_cast< SbLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbSphere_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_intersect" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - result = (SbBool)((SbSphere const *)arg1)->intersect((SbLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphere_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphere_intersect__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbSphere_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbSphere const *,SbLine const &,SbVec3f &)\n"" intersect(SbSphere const *,SbLine const &,SbVec3f &,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_pointInside(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_pointInside",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_pointInside" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphere_pointInside" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphere_pointInside" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbSphere const *)arg1)->pointInside((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphere_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphere_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphere_output" "', argument " "1"" of type '" "SbSphere const *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbSphere const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = (SbSphere *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphere, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphere" "', argument " "1"" of type '" "SbSphere *""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbSphereProjector_projectAndGetRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbRotation *arg3 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_projectAndGetRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_projectAndGetRotation" "', argument " "3"" of type '" "SbRotation &""'"); - } - arg3 = reinterpret_cast< SbRotation * >(argp3); - result = (arg1)->projectAndGetRotation((SbVec2f const &)*arg2,*arg3); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_getRotation" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbSphere *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setSphere",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setSphere" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_setSphere" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_setSphere" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - (arg1)->setSphere((SbSphere const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_getSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbSphere *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_getSphere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_getSphere" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - { - SbSphere const &_result_ref = ((SbSphereProjector const *)arg1)->getSphere(); - result = (SbSphere *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphere, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setOrientToEye",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setOrientToEye" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereProjector_setOrientToEye" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOrientToEye(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isOrientToEye(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isOrientToEye",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isOrientToEye" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - result = (SbBool)((SbSphereProjector const *)arg1)->isOrientToEye(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setFront" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereProjector_setFront" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFront(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isFront",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isFront" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - result = (SbBool)((SbSphereProjector const *)arg1)->isFront(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_isPointInFront(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_isPointInFront",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_isPointInFront" "', argument " "1"" of type '" "SbSphereProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_isPointInFront" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)((SbSphereProjector const *)arg1)->isPointInFront((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereProjector_setWorkingSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereProjector_setWorkingSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereProjector_setWorkingSpace" "', argument " "2"" of type '" "SbMatrix const &""'"); - } - arg2 = reinterpret_cast< SbMatrix * >(argp2); - (arg1)->setWorkingSpace((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereProjector *arg1 = (SbSphereProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereProjector" "', argument " "1"" of type '" "SbSphereProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - SbSphereSheetProjector *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",0,0)) SWIG_fail; - result = (SbSphereSheetProjector *)new SbSphereSheetProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - SbBool arg2 ; - SbSphereSheetProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSheetProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - SbSphereSheetProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSphereSheetProjector *)new SbSphereSheetProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSheetProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphereSheetProjector__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSheetProjector__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphereSheetProjector'.\n Possible C/C++ prototypes are:\n"" SbSphereSheetProjector(SbBool const)\n"" SbSphereSheetProjector()\n"" SbSphereSheetProjector(SbSphere const &,SbBool const)\n"" SbSphereSheetProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_copy" "', argument " "1"" of type '" "SbSphereSheetProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - result = (SbProjector *)((SbSphereSheetProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_project" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSheetProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSheetProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSheetProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereSheetProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSheetProjector *arg1 = (SbSphereSheetProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereSheetProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSheetProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereSheetProjector" "', argument " "1"" of type '" "SbSphereSheetProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSheetProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereSheetProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereSheetProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - SbSphereSectionProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbSphereSectionProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",0,0)) SWIG_fail; - result = (SbSphereSectionProjector *)new SbSphereSectionProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - SbSphereSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbSphereSectionProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbSphereSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSphereSectionProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - SbSphereSectionProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSphereSectionProjector *)new SbSphereSectionProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSphereSectionProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSphereSectionProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSphereSectionProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSphereSectionProjector'.\n Possible C/C++ prototypes are:\n"" SbSphereSectionProjector(float const,SbBool const)\n"" SbSphereSectionProjector(float const)\n"" SbSphereSectionProjector()\n"" SbSphereSectionProjector(SbSphere const &,float const,SbBool const)\n"" SbSphereSectionProjector(SbSphere const &,float const)\n"" SbSphereSectionProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_copy" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (SbProjector *)((SbSphereSectionProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_project" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSphereSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereSectionProjector_setTolerance" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setTolerance(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getTolerance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (float)((SbSphereSectionProjector const *)arg1)->getTolerance(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setRadialFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRadialFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_setRadialFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_setRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - (arg1)->setRadialFactor(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_setRadialFactor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphereSectionProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbSphereSectionProjector_setRadialFactor__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbSphereSectionProjector, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbSphereSectionProjector_setRadialFactor__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbSphereSectionProjector_setRadialFactor'.\n Possible C/C++ prototypes are:\n"" setRadialFactor(SbSphereSectionProjector *,float const)\n"" setRadialFactor(SbSphereSectionProjector *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_getRadialFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_getRadialFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_getRadialFactor" "', argument " "1"" of type '" "SbSphereSectionProjector const *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - result = (float)((SbSphereSectionProjector const *)arg1)->getRadialFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSphereSectionProjector_isWithinTolerance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSphereSectionProjector_isWithinTolerance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSphereSectionProjector_isWithinTolerance" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - result = (SbBool)(arg1)->isWithinTolerance((SbVec3f const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSphereSectionProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphereSectionProjector *arg1 = (SbSphereSectionProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSphereSectionProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSphereSectionProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSphereSectionProjector" "', argument " "1"" of type '" "SbSphereSectionProjector *""'"); - } - arg1 = reinterpret_cast< SbSphereSectionProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSphereSectionProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSphereSectionProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbBool arg2 ; - SbSpherePlaneProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float arg1 ; - SbSpherePlaneProjector *result = 0 ; - float val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_float(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "float""'"); - } - arg1 = static_cast< float >(val1); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",0,0)) SWIG_fail; - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbBool arg3 ; - SbSpherePlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbSpherePlaneProjector" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - float arg2 ; - SbSpherePlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbSpherePlaneProjector" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSphere *arg1 = 0 ; - SbSpherePlaneProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSphere const &""'"); - } - arg1 = reinterpret_cast< SbSphere * >(argp1); - result = (SbSpherePlaneProjector *)new SbSpherePlaneProjector((SbSphere const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbSpherePlaneProjector(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbSpherePlaneProjector__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_5(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_4(self, args); - } - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_float(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_float(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbSpherePlaneProjector__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbSpherePlaneProjector'.\n Possible C/C++ prototypes are:\n"" SbSpherePlaneProjector(float const,SbBool const)\n"" SbSpherePlaneProjector(float const)\n"" SbSpherePlaneProjector()\n"" SbSpherePlaneProjector(SbSphere const &,float const,SbBool const)\n"" SbSpherePlaneProjector(SbSphere const &,float const)\n"" SbSpherePlaneProjector(SbSphere const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - SbProjector *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_copy" "', argument " "1"" of type '" "SbSpherePlaneProjector const *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - result = (SbProjector *)((SbSpherePlaneProjector const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbProjector, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_project(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - SbVec2f *arg2 = 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_project",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_project" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSpherePlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_project" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - result = (arg1)->project((SbVec2f const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbSpherePlaneProjector_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - SbRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbSpherePlaneProjector_getRotation",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbSpherePlaneProjector_getRotation" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (arg1)->getRotation((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj((new SbRotation(static_cast< const SbRotation& >(result))), SWIGTYPE_p_SbRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbSpherePlaneProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbSpherePlaneProjector *arg1 = (SbSpherePlaneProjector *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbSpherePlaneProjector",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbSpherePlaneProjector, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbSpherePlaneProjector" "', argument " "1"" of type '" "SbSpherePlaneProjector *""'"); - } - arg1 = reinterpret_cast< SbSpherePlaneProjector * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbSpherePlaneProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbSpherePlaneProjector, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",0,0)) SWIG_fail; - result = (SbVec2d *)new SbVec2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - SbVec2d *result = 0 ; - double temp1[2] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2d *)new SbVec2d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - SbVec2d *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2d",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbVec2d *)new SbVec2d(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2d__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2d__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2d'.\n Possible C/C++ prototypes are:\n"" SbVec2d()\n"" SbVec2d(double const [2])\n"" SbVec2d(double const,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_dot" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_dot" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_dot" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (double)((SbVec2d const *)arg1)->dot((SbVec2d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - double arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_equals" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d_equals" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d_equals" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec2d const *)arg1)->equals((SbVec2d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2 ; - int res2 = SWIG_TMPOBJ ; - double temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_getValue" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ((SbVec2d const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_length" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (double)((SbVec2d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_negate" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_normalize" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double *arg2 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - { - convert_SbVec2d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - double arg3 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_setValue" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - { - SbVec2d &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2d_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2d_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec2d *,double const [2])\n"" setValue(SbVec2d *,double const,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___imul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - double arg2 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___idiv__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___iadd__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___iadd__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___iadd__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2d &_result_ref = (arg1)->operator +=((SbVec2d const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___isub__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___isub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___isub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - { - SbVec2d &_result_ref = (arg1)->operator -=((SbVec2d const &)*arg2); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___neg__" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - result = ((SbVec2d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d_output" "', argument " "1"" of type '" "SbVec2d const *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___add__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___add__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___add__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = SbVec2d___add__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___sub__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___sub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___sub__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = SbVec2d___sub__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___mul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___mul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___rmul__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___rmul__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - float arg2 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___div__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___div__" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - result = SbVec2d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___eq__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___eq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___eq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (int)SbVec2d___eq__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - SbVec2d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___nq__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2d___nq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2d___nq__" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (int)SbVec2d___nq__(arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - int arg2 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___getitem__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec2d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2d___setitem__" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec2d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = (SbVec2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2d" "', argument " "1"" of type '" "SbVec2d *""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",0,0)) SWIG_fail; - result = (SbBox2d *)new SbBox2d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - SbBox2d *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2d" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbBox2d *)new SbBox2d(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2d *arg1 = 0 ; - SbVec2d *arg2 = 0 ; - SbBox2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2d",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "1"" of type '" "SbVec2d const &""'"); - } - arg1 = reinterpret_cast< SbVec2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2d" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2d" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (SbBox2d *)new SbBox2d((SbVec2d const &)*arg1,(SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2d__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2d__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2d__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2d'.\n Possible C/C++ prototypes are:\n"" SbBox2d()\n"" SbBox2d(double,double,double,double)\n"" SbBox2d(SbVec2d const &,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2d" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMin" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d const &_result_ref = ((SbBox2d const *)arg1)->getMin(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getMax" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - { - SbVec2d const &_result_ref = ((SbBox2d const *)arg1)->getMax(); - result = (SbVec2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getCenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getCenter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getCenter" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = ((SbBox2d const *)arg1)->getCenter(); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_extendBy" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - (arg1)->extendBy((SbVec2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_extendBy" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_extendBy" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - (arg1)->extendBy((SbBox2d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbBox2d *,SbVec2d const &)\n"" extendBy(SbBox2d *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_intersect" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = (SbBool)((SbBox2d const *)arg1)->intersect((SbVec2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_intersect" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_intersect" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (SbBool)((SbBox2d const *)arg1)->intersect((SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbBox2d const *,SbVec2d const &)\n"" intersect(SbBox2d const *,SbBox2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_findIntersection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - SbVec2d *arg4 = 0 ; - SbVec2d *arg5 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_findIntersection",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_findIntersection" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_findIntersection" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_findIntersection" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2d_findIntersection" "', argument " "4"" of type '" "SbVec2d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "4"" of type '" "SbVec2d &""'"); - } - arg4 = reinterpret_cast< SbVec2d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2d_findIntersection" "', argument " "5"" of type '" "SbVec2d &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_findIntersection" "', argument " "5"" of type '" "SbVec2d &""'"); - } - arg5 = reinterpret_cast< SbVec2d * >(argp5); - result = (SbBool)((SbBox2d const *)arg1)->findIntersection((SbVec2d const &)*arg2,(SbVec2d const &)*arg3,*arg4,*arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getClosestPoint" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getClosestPoint" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getClosestPoint" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - result = ((SbBox2d const *)arg1)->getClosestPoint((SbVec2d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2d(static_cast< const SbVec2d& >(result))), SWIGTYPE_p_SbVec2d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2d_setBounds" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2d_setBounds" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - (arg1)->setBounds(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setBounds" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "2"" of type '" "SbVec2d const &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setBounds" "', argument " "3"" of type '" "SbVec2d const &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - (arg1)->setBounds((SbVec2d const &)*arg2,(SbVec2d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2d_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_setBounds'.\n Possible C/C++ prototypes are:\n"" setBounds(SbBox2d *,double,double,double,double)\n"" setBounds(SbBox2d *,SbVec2d const &,SbVec2d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - double *arg4 = 0 ; - double *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getBounds" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "4"" of type '" "double &""'"); - } - arg4 = reinterpret_cast< double * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "5"" of type '" "double &""'"); - } - arg5 = reinterpret_cast< double * >(argp5); - ((SbBox2d const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbVec2d *arg2 = 0 ; - SbVec2d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getBounds" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "SbVec2d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "2"" of type '" "SbVec2d &""'"); - } - arg2 = reinterpret_cast< SbVec2d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "SbVec2d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getBounds" "', argument " "3"" of type '" "SbVec2d &""'"); - } - arg3 = reinterpret_cast< SbVec2d * >(argp3); - ((SbBox2d const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2d_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2d_getBounds'.\n Possible C/C++ prototypes are:\n"" getBounds(SbBox2d const *,double &,double &,double &,double &)\n"" getBounds(SbBox2d const *,SbVec2d &,SbVec2d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getOrigin" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getOrigin" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getOrigin" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbBox2d const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getSize" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_getSize" "', argument " "2"" of type '" "double &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getSize" "', argument " "2"" of type '" "double &""'"); - } - arg2 = reinterpret_cast< double * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2d_getSize" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_getSize" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbBox2d const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_getAspectRatio" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (double)((SbBox2d const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_makeEmpty" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_isEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_isEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_isEmpty" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBool)((SbBox2d const *)arg1)->isEmpty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_hasArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_hasArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_hasArea" "', argument " "1"" of type '" "SbBox2d const *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - result = (SbBool)((SbBox2d const *)arg1)->hasArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d___eq__" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d___eq__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d___eq__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (int)SbBox2d___eq__(arg1,(SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d___ne__" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d___ne__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d___ne__" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - result = (int)SbBox2d___ne__(arg1,(SbBox2d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2d_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2d *arg1 = (SbBox2d *) 0 ; - SbBox2d *arg2 = 0 ; - SbBox2d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2d_setValue" "', argument " "1"" of type '" "SbBox2d *""'"); - } - arg1 = reinterpret_cast< SbBox2d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2d_setValue" "', argument " "2"" of type '" "SbBox2d const &""'"); - } - arg2 = reinterpret_cast< SbBox2d * >(argp2); - { - SbBox2d &_result_ref = SbBox2d_setValue(arg1,(SbBox2d const &)*arg2); - result = (SbBox2d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",0,0)) SWIG_fail; - result = (SbBox2s *)new SbBox2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - short arg3 ; - short arg4 ; - SbBox2s *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbBox2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbBox2s" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbBox2s" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - result = (SbBox2s *)new SbBox2s(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = 0 ; - SbVec2s *arg2 = 0 ; - SbBox2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBox2s",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "1"" of type '" "SbVec2s const &""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbBox2s" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbBox2s" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (SbBox2s *)new SbBox2s((SbVec2s const &)*arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbBox2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbBox2s__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbBox2s__SWIG_2(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbBox2s__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbBox2s'.\n Possible C/C++ prototypes are:\n"" SbBox2s()\n"" SbBox2s(short,short,short,short)\n"" SbBox2s(SbVec2s const &,SbVec2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBox2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBox2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBox2s" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMin" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s const &_result_ref = ((SbBox2s const *)arg1)->getMin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getMax",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getMax" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - { - SbVec2s const &_result_ref = ((SbBox2s const *)arg1)->getMax(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_extendBy" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->extendBy((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_extendBy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_extendBy" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_extendBy" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - (arg1)->extendBy((SbBox2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_extendBy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_extendBy__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_extendBy__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_extendBy'.\n Possible C/C++ prototypes are:\n"" extendBy(SbBox2s *,SbVec2s const &)\n"" extendBy(SbBox2s *,SbBox2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_intersect" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (SbBool)((SbBox2s const *)arg1)->intersect((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_intersect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_intersect" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_intersect" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (SbBool)((SbBox2s const *)arg1)->intersect((SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_intersect__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_intersect__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbBox2s const *,SbVec2s const &)\n"" intersect(SbBox2s const *,SbBox2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short arg2 ; - short arg3 ; - short arg4 ; - short arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - short val4 ; - int ecode4 = 0 ; - short val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - ecode4 = SWIG_AsVal_short(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbBox2s_setBounds" "', argument " "4"" of type '" "short""'"); - } - arg4 = static_cast< short >(val4); - ecode5 = SWIG_AsVal_short(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbBox2s_setBounds" "', argument " "5"" of type '" "short""'"); - } - arg5 = static_cast< short >(val5); - (arg1)->setBounds(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_setBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_setBounds" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_setBounds" "', argument " "3"" of type '" "SbVec2s const &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - (arg1)->setBounds((SbVec2s const &)*arg2,(SbVec2s const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_setBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbBox2s_setBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_setBounds'.\n Possible C/C++ prototypes are:\n"" setBounds(SbBox2s *,short,short,short,short)\n"" setBounds(SbBox2s *,SbVec2s const &,SbVec2s const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - short *arg4 = 0 ; - short *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getBounds",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getBounds" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbBox2s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "4"" of type '" "short &""'"); - } - arg4 = reinterpret_cast< short * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbBox2s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "5"" of type '" "short &""'"); - } - arg5 = reinterpret_cast< short * >(argp5); - ((SbBox2s const *)arg1)->getBounds(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getBounds",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getBounds" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "SbVec2s &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getBounds" "', argument " "3"" of type '" "SbVec2s &""'"); - } - arg3 = reinterpret_cast< SbVec2s * >(argp3); - ((SbBox2s const *)arg1)->getBounds(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getBounds(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getBounds__SWIG_1(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbBox2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_short, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbBox2s_getBounds__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbBox2s_getBounds'.\n Possible C/C++ prototypes are:\n"" getBounds(SbBox2s const *,short &,short &,short &,short &)\n"" getBounds(SbBox2s const *,SbVec2s &,SbVec2s &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getOrigin",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getOrigin" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getOrigin" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getOrigin" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - ((SbBox2s const *)arg1)->getOrigin(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getSize",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getSize" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s_getSize" "', argument " "2"" of type '" "short &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getSize" "', argument " "2"" of type '" "short &""'"); - } - arg2 = reinterpret_cast< short * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_short, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbBox2s_getSize" "', argument " "3"" of type '" "short &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s_getSize" "', argument " "3"" of type '" "short &""'"); - } - arg3 = reinterpret_cast< short * >(argp3); - ((SbBox2s const *)arg1)->getSize(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_getAspectRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_getAspectRatio",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_getAspectRatio" "', argument " "1"" of type '" "SbBox2s const *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - result = (float)((SbBox2s const *)arg1)->getAspectRatio(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s_makeEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s_makeEmpty" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s___eq__" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s___eq__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s___eq__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (int)SbBox2s___eq__(arg1,(SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBox2s___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox2s *arg1 = (SbBox2s *) 0 ; - SbBox2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBox2s___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBox2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBox2s___ne__" "', argument " "1"" of type '" "SbBox2s *""'"); - } - arg1 = reinterpret_cast< SbBox2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbBox2s___ne__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbBox2s___ne__" "', argument " "2"" of type '" "SbBox2s const &""'"); - } - arg2 = reinterpret_cast< SbBox2s * >(argp2); - result = (int)SbBox2s___ne__(arg1,(SbBox2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBox2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBox2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClipCallback *arg1 = (SbClipCallback *) 0 ; - void *arg2 = (void *) 0 ; - SbClip *result = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbClip" "', argument " "1"" of type '" "SbClipCallback *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbClip" "', argument " "2"" of type '" "void *""'"); - } - result = (SbClip *)new SbClip(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClipCallback *arg1 = (SbClipCallback *) 0 ; - SbClip *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",1,1,&obj0)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbClip" "', argument " "1"" of type '" "SbClipCallback *""'"); - } - } - result = (SbClip *)new SbClip(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbClip",0,0)) SWIG_fail; - result = (SbClip *)new SbClip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbClip, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbClip(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbClip__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbClip__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbClip__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbClip'.\n Possible C/C++ prototypes are:\n"" SbClip(SbClipCallback *,void *)\n"" SbClip(SbClipCallback *)\n"" SbClip()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_addVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_addVertex" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_addVertex" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->addVertex((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_addVertex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_addVertex" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->addVertex((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_addVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_addVertex__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_addVertex__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbClip_addVertex'.\n Possible C/C++ prototypes are:\n"" addVertex(SbClip *,SbVec3f const &,void *)\n"" addVertex(SbClip *,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_reset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_reset" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - (arg1)->reset(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_clip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - SbPlane *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_clip",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_clip" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbClip_clip" "', argument " "2"" of type '" "SbPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_clip" "', argument " "2"" of type '" "SbPlane const &""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - (arg1)->clip((SbPlane const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getNumVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getNumVertices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getNumVertices" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - result = (int)((SbClip const *)arg1)->getNumVertices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void **arg4 = (void **) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertex",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertex" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbClip_getVertex" "', argument " "4"" of type '" "void **""'"); - } - arg4 = reinterpret_cast< void ** >(argp4); - ((SbClip const *)arg1)->getVertex(arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertex" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbClip_getVertex" "', argument " "3"" of type '" "SbVec3f &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - ((SbClip const *)arg1)->getVertex(arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_getVertex__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbClip, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbClip_getVertex__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbClip_getVertex'.\n Possible C/C++ prototypes are:\n"" getVertex(SbClip const *,int const,SbVec3f &,void **)\n"" getVertex(SbClip const *,int const,SbVec3f &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbClip_getVertexData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbClip_getVertexData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbClip_getVertexData" "', argument " "1"" of type '" "SbClip const *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbClip_getVertexData" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbClip const *)arg1)->getVertexData(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbClip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbClip *arg1 = (SbClip *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbClip",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbClip, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbClip" "', argument " "1"" of type '" "SbClip *""'"); - } - arg1 = reinterpret_cast< SbClip * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbClip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbClip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",0,0)) SWIG_fail; - result = (SbVec4d *)new SbVec4d(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - SbVec4d *result = 0 ; - double temp1[4] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec4d *)new SbVec4d((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - SbVec4d *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec4d",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec4d" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec4d" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbVec4d" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbVec4d" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbVec4d *)new SbVec4d(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec4d(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec4d__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0 ; - } - if (_v) { - return _wrap_new_SbVec4d__SWIG_1(self, args); - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec4d__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec4d'.\n Possible C/C++ prototypes are:\n"" SbVec4d()\n"" SbVec4d(double const [4])\n"" SbVec4d(double const,double const,double const,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_dot" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_dot" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_dot" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (double)((SbVec4d const *)arg1)->dot((SbVec4d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - double arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_equals" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_equals" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_equals" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbVec4d const *)arg1)->equals((SbVec4d const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_getReal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_getReal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_getReal" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d_getReal" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d_getReal" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ((SbVec4d const *)arg1)->getReal(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_getValue" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double *)((SbVec4d const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_length",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_length" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double)((SbVec4d const *)arg1)->length(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_negate" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_normalize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_normalize" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = (double)(arg1)->normalize(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double *arg2 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - { - convert_SbVec4d_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec4d &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_setValue" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbVec4d_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbVec4d_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - { - SbVec4d &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0 ; - } - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_0(self, args); - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4d_setValue__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec4d_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec4d *,double const [4])\n"" setValue(SbVec4d *,double const,double const,double const,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___imul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4d &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___idiv__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec4d &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___iadd__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___iadd__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___iadd__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4d &_result_ref = (arg1)->operator +=((SbVec4d const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___isub__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___isub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___isub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - { - SbVec4d &_result_ref = (arg1)->operator -=((SbVec4d const &)*arg2); - result = (SbVec4d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___neg__" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - result = ((SbVec4d const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d_output" "', argument " "1"" of type '" "SbVec4d const *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec4d const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___add__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___add__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___add__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = SbVec4d___add__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___sub__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___sub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___sub__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = SbVec4d___sub__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___mul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___mul____SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___mul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbVec4d___mul____SWIG_1(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbVec4d___mul____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec4d___mul____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___rmul__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - double arg2 ; - SbVec4d result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___div__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec4d___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec4d(static_cast< const SbVec4d& >(result))), SWIGTYPE_p_SbVec4d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___eq__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___eq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___eq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (int)SbVec4d___eq__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - SbVec4d *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___nq__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec4d___nq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec4d___nq__" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - result = (int)SbVec4d___nq__(arg1,(SbVec4d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - int arg2 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___getitem__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (double)SbVec4d___getitem__(arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec4d___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - int arg2 ; - double arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec4d___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec4d___setitem__" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec4d___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec4d___setitem__" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - SbVec4d___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec4d(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec4d *arg1 = (SbVec4d *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec4d",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec4d, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec4d" "', argument " "1"" of type '" "SbVec4d *""'"); - } - arg1 = reinterpret_cast< SbVec4d * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec4d_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec4d, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",0,0)) SWIG_fail; - result = (SbDPRotation *)new SbDPRotation(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - double arg2 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbDPRotation *)new SbDPRotation((SbVec3d const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 ; - SbDPRotation *result = 0 ; - double temp1[4] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",1,1,&obj0)) SWIG_fail; - { - convert_SbVec4d_array(obj0, temp1); - arg1 = temp1; - } - result = (SbDPRotation *)new SbDPRotation((double const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - SbDPRotation *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbDPRotation" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbDPRotation" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - result = (SbDPRotation *)new SbDPRotation(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbDPMatrix const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbDPMatrix const &""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (SbDPRotation *)new SbDPRotation((SbDPMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPRotation",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPRotation" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPRotation *)new SbDPRotation((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPRotation(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPRotation__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPRotation__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPRotation__SWIG_5(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_1(self, args); - } - } - } - if (argc == 4) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPRotation__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPRotation'.\n Possible C/C++ prototypes are:\n"" SbDPRotation()\n"" SbDPRotation(SbVec3d const &,double const)\n"" SbDPRotation(double const [4])\n"" SbDPRotation(double const,double const,double const,double const)\n"" SbDPRotation(SbDPMatrix const &)\n"" SbDPRotation(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getValue" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - result = (double *)((SbDPRotation const *)arg1)->getValue(); - { - resultobj = Py_BuildValue("(ffff)", - (double)(*(result)), - (double)(*(result+1)), - (double)(*(result+2)), - (double)(*(result+3))); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPRotation_setValue" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPRotation_setValue" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - { - SbDPRotation &_result_ref = (arg1)->setValue(arg2,arg3,arg4,arg5); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getAxisAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - double *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbVec3d(); - } - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getAxisAngle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getAxisAngle" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ((SbDPRotation const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbVec3d, 1); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbDPMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_getMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_getMatrix" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ((SbDPRotation const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbDPMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_invert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_invert",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_invert" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - SbDPRotation &_result_ref = (arg1)->invert(); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_inverse" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - result = ((SbDPRotation const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double *arg2 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double temp2[4] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - convert_SbVec4d_array(obj1, temp2); - arg2 = temp2; - } - { - SbDPRotation &_result_ref = (arg1)->setValue((double const (*))arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbDPMatrix const &)*arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - double arg3 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,arg3); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - { - - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_setValue" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - { - SbDPRotation &_result_ref = (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_3(self, args); - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation_setValue__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPRotation_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbDPRotation *,double const,double const,double const,double const)\n"" setValue(SbDPRotation *,double const [4])\n"" setValue(SbDPRotation *,SbDPMatrix const &)\n"" setValue(SbDPRotation *,SbVec3d const &,double const)\n"" setValue(SbDPRotation *,SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___imul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - { - SbDPRotation &_result_ref = (arg1)->operator *=((SbDPRotation const &)*arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - SbDPRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___imul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbDPRotation &_result_ref = (arg1)->operator *=(arg2); - result = (SbDPRotation *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPRotation___imul__'.\n Possible C/C++ prototypes are:\n"" operator *=(SbDPRotation *,SbDPRotation const &)\n"" operator *=(SbDPRotation *,double const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - double arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_equals" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_equals" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_equals" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbDPRotation const *)arg1)->equals((SbDPRotation const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_multVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_multVec",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_multVec" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_multVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_multVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPRotation_multVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_multVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPRotation const *)arg1)->multVec((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_scaleAngle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_scaleAngle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_scaleAngle" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation_scaleAngle" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->scaleAngle(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_slerp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = 0 ; - SbDPRotation *arg2 = 0 ; - double arg3 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_slerp",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_slerp" "', argument " "1"" of type '" "SbDPRotation const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_slerp" "', argument " "1"" of type '" "SbDPRotation const &""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation_slerp" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation_slerp" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPRotation_slerp" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = SbDPRotation::slerp((SbDPRotation const &)*arg1,(SbDPRotation const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_identity",0,0)) SWIG_fail; - result = SbDPRotation::identity(); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation_output" "', argument " "1"" of type '" "SbDPRotation const *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPRotation const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = SbDPRotation___mul____SWIG_0(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - double arg2 ; - SbDPRotation result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbDPRotation___mul____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbDPRotation(static_cast< const SbDPRotation& >(result))), SWIGTYPE_p_SbDPRotation, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___mul__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPRotation___mul____SWIG_2(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPRotation___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___eq__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___eq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___eq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = (int)SbDPRotation___eq__(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPRotation___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - SbDPRotation *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPRotation___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPRotation___nq__" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPRotation___nq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPRotation___nq__" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - result = (int)SbDPRotation___nq__(arg1,(SbDPRotation const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPRotation *arg1 = (SbDPRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPRotation",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPRotation, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPRotation" "', argument " "1"" of type '" "SbDPRotation *""'"); - } - arg1 = reinterpret_cast< SbDPRotation * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPRotation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPRotation, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",0,0)) SWIG_fail; - result = (SbDPMatrix *)new SbDPMatrix(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double arg4 ; - double arg5 ; - double arg6 ; - double arg7 ; - double arg8 ; - double arg9 ; - double arg10 ; - double arg11 ; - double arg12 ; - double arg13 ; - double arg14 ; - double arg15 ; - double arg16 ; - SbDPMatrix *result = 0 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - double val4 ; - int ecode4 = 0 ; - double val5 ; - int ecode5 = 0 ; - double val6 ; - int ecode6 = 0 ; - double val7 ; - int ecode7 = 0 ; - double val8 ; - int ecode8 = 0 ; - double val9 ; - int ecode9 = 0 ; - double val10 ; - int ecode10 = 0 ; - double val11 ; - int ecode11 = 0 ; - double val12 ; - int ecode12 = 0 ; - double val13 ; - int ecode13 = 0 ; - double val14 ; - int ecode14 = 0 ; - double val15 ; - int ecode15 = 0 ; - double val16 ; - int ecode16 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; - PyObject * obj11 = 0 ; - PyObject * obj12 = 0 ; - PyObject * obj13 = 0 ; - PyObject * obj14 = 0 ; - PyObject * obj15 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",16,16,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDPMatrix" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPMatrix" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbDPMatrix" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - ecode4 = SWIG_AsVal_double(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SbDPMatrix" "', argument " "4"" of type '" "double""'"); - } - arg4 = static_cast< double >(val4); - ecode5 = SWIG_AsVal_double(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SbDPMatrix" "', argument " "5"" of type '" "double""'"); - } - arg5 = static_cast< double >(val5); - ecode6 = SWIG_AsVal_double(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SbDPMatrix" "', argument " "6"" of type '" "double""'"); - } - arg6 = static_cast< double >(val6); - ecode7 = SWIG_AsVal_double(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SbDPMatrix" "', argument " "7"" of type '" "double""'"); - } - arg7 = static_cast< double >(val7); - ecode8 = SWIG_AsVal_double(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SbDPMatrix" "', argument " "8"" of type '" "double""'"); - } - arg8 = static_cast< double >(val8); - ecode9 = SWIG_AsVal_double(obj8, &val9); - if (!SWIG_IsOK(ecode9)) { - SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SbDPMatrix" "', argument " "9"" of type '" "double""'"); - } - arg9 = static_cast< double >(val9); - ecode10 = SWIG_AsVal_double(obj9, &val10); - if (!SWIG_IsOK(ecode10)) { - SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_SbDPMatrix" "', argument " "10"" of type '" "double""'"); - } - arg10 = static_cast< double >(val10); - ecode11 = SWIG_AsVal_double(obj10, &val11); - if (!SWIG_IsOK(ecode11)) { - SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_SbDPMatrix" "', argument " "11"" of type '" "double""'"); - } - arg11 = static_cast< double >(val11); - ecode12 = SWIG_AsVal_double(obj11, &val12); - if (!SWIG_IsOK(ecode12)) { - SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SbDPMatrix" "', argument " "12"" of type '" "double""'"); - } - arg12 = static_cast< double >(val12); - ecode13 = SWIG_AsVal_double(obj12, &val13); - if (!SWIG_IsOK(ecode13)) { - SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SbDPMatrix" "', argument " "13"" of type '" "double""'"); - } - arg13 = static_cast< double >(val13); - ecode14 = SWIG_AsVal_double(obj13, &val14); - if (!SWIG_IsOK(ecode14)) { - SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SbDPMatrix" "', argument " "14"" of type '" "double""'"); - } - arg14 = static_cast< double >(val14); - ecode15 = SWIG_AsVal_double(obj14, &val15); - if (!SWIG_IsOK(ecode15)) { - SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SbDPMatrix" "', argument " "15"" of type '" "double""'"); - } - arg15 = static_cast< double >(val15); - ecode16 = SWIG_AsVal_double(obj15, &val16); - if (!SWIG_IsOK(ecode16)) { - SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "new_SbDPMatrix" "', argument " "16"" of type '" "double""'"); - } - arg16 = static_cast< double >(val16); - result = (SbDPMatrix *)new SbDPMatrix(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMat *arg1 = 0 ; - SbDPMatrix *result = 0 ; - SbDPMat temp1 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",1,1,&obj0)) SWIG_fail; - { - convert_SbDPMat_array(obj0, temp1); - arg1 = &temp1; - } - result = (SbDPMatrix *)new SbDPMatrix((SbDPMat const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMat *arg1 = (SbDPMat *) 0 ; - SbDPMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_a_4__a_4__double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPMatrix" "', argument " "1"" of type '" "SbDPMat const *""'"); - } - arg1 = reinterpret_cast< SbDPMat * >(argp1); - result = (SbDPMatrix *)new SbDPMatrix((SbDPMat const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMatrix *arg1 = 0 ; - SbDPMatrix *result = 0 ; - - { - arg1 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPMatrix",0,0)) SWIG_fail; - result = (SbDPMatrix *)new SbDPMatrix((SbMatrix const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_NEW | 0 ); - { - resultobj = SWIG_NewPointerObj((void *) arg1, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[17]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 16); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPMatrix__SWIG_0(self, args); - } - if (argc == 0) { - return _wrap_new_SbDPMatrix__SWIG_4(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_4__a_4__double, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_2(self, args); - } - } - if (argc == 16) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[7], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[8], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[9], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[10], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[11], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[12], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[13], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[14], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[15], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPMatrix__SWIG_1(self, args); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPMatrix'.\n Possible C/C++ prototypes are:\n"" SbDPMatrix()\n"" SbDPMatrix(double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const,double const)\n"" SbDPMatrix(SbDPMat const &)\n"" SbDPMatrix(SbDPMat const *)\n"" SbDPMatrix(SbMatrix const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPMatrix" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbDPMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setValue" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - convert_SbDPMat_array(obj1, temp2); - arg2 = &temp2; - } - (arg1)->setValue((SbDPMat const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getValue" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - SbDPMat const &_result_ref = ((SbDPMatrix const *)arg1)->getValue(); - result = (SbDPMat *) &_result_ref; - } - { - resultobj = Py_BuildValue("((ffff)(ffff)(ffff)(ffff))", - (double)(*result)[0][0], - (double)(*result)[0][1], - (double)(*result)[0][2], - (double)(*result)[0][3], - - (double)(*result)[1][0], - (double)(*result)[1][1], - (double)(*result)[1][2], - (double)(*result)[1][3], - - (double)(*result)[2][0], - (double)(*result)[2][1], - (double)(*result)[2][2], - (double)(*result)[2][3], - - (double)(*result)[3][0], - (double)(*result)[3][1], - (double)(*result)[3][2], - (double)(*result)[3][3]); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_makeIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_makeIdentity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_makeIdentity" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - (arg1)->makeIdentity(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setRotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPRotation *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setRotate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setRotate" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setRotate" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setRotate" "', argument " "2"" of type '" "SbDPRotation const &""'"); - } - arg2 = reinterpret_cast< SbDPRotation * >(argp2); - (arg1)->setRotate((SbDPRotation const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_inverse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_inverse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_inverse" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = ((SbDPMatrix const *)arg1)->inverse(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - int arg6 ; - int arg7 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - int val6 ; - int ecode6 = 0 ; - int val7 ; - int ecode7 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det3",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det3" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPMatrix_det3" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPMatrix_det3" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbDPMatrix_det3" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbDPMatrix_det3" "', argument " "5"" of type '" "int""'"); - } - arg5 = static_cast< int >(val5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbDPMatrix_det3" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - ecode7 = SWIG_AsVal_int(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SbDPMatrix_det3" "', argument " "7"" of type '" "int""'"); - } - arg7 = static_cast< int >(val7); - result = (double)((SbDPMatrix const *)arg1)->det3(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det3",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det3" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (double)((SbDPMatrix const *)arg1)->det3(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det3(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[8]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 7); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_det3__SWIG_1(self, args); - } - } - if (argc == 7) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[6], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPMatrix_det3__SWIG_0(self, args); - } - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_det3'.\n Possible C/C++ prototypes are:\n"" det3(SbDPMatrix const *,int,int,int,int,int,int)\n"" det3(SbDPMatrix const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_det4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_det4",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_det4" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = (double)((SbDPMatrix const *)arg1)->det4(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_equals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - double arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_equals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_equals" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_equals" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_equals" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - ecode3 = SWIG_AsVal_double(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbDPMatrix_equals" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (SbBool)((SbDPMatrix const *)arg1)->equals((SbDPMatrix const &)*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___imul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___imul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___imul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->operator *=((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMat *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SbDPMat temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getValue" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - convert_SbDPMat_array(obj1, temp2); - arg2 = &temp2; - } - ((SbDPMatrix const *)arg1)->getValue(*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbDPMatrix_getValue__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbDPMatrix const *)\n"" getValue(SbDPMatrix const *,SbDPMat &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_identity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix result; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_identity",0,0)) SWIG_fail; - result = SbDPMatrix::identity(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setScale" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setScale(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setScale",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setScale" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setScale" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setScale((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setScale(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setScale__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbDPMatrix_setScale__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_setScale'.\n Possible C/C++ prototypes are:\n"" setScale(SbDPMatrix *,double const)\n"" setScale(SbDPMatrix *,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTranslate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTranslate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTranslate" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTranslate" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - (arg1)->setTranslate((SbVec3d const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4,(SbDPRotation const &)*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - SbVec3d *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_setTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_setTransform" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "3"" of type '" "SbDPRotation const &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "4"" of type '" "SbVec3d const &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "5"" of type '" "SbDPRotation const &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_setTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_setTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - arg6 = reinterpret_cast< SbVec3d * >(argp6); - (arg1)->setTransform((SbVec3d const &)*arg2,(SbDPRotation const &)*arg3,(SbVec3d const &)*arg4,(SbDPRotation const &)*arg5,(SbVec3d const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_setTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_0(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_setTransform__SWIG_2(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_setTransform'.\n Possible C/C++ prototypes are:\n"" setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &)\n"" setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &,SbDPRotation const &)\n"" setTransform(SbDPMatrix *,SbVec3d const &,SbDPRotation const &,SbVec3d const &,SbDPRotation const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getTransform",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getTransform" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - ((SbDPMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbDPRotation *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbDPRotation *arg5 = 0 ; - SbVec3d *arg6 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_getTransform",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_getTransform" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "2"" of type '" "SbVec3d &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "3"" of type '" "SbDPRotation &""'"); - } - arg3 = reinterpret_cast< SbDPRotation * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbDPRotation, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "5"" of type '" "SbDPRotation &""'"); - } - arg5 = reinterpret_cast< SbDPRotation * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_getTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_getTransform" "', argument " "6"" of type '" "SbVec3d const &""'"); - } - arg6 = reinterpret_cast< SbVec3d * >(argp6); - ((SbDPMatrix const *)arg1)->getTransform(*arg2,*arg3,*arg4,*arg5,(SbVec3d const &)*arg6); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_getTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getTransform__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_SbDPRotation, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_getTransform__SWIG_1(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_getTransform'.\n Possible C/C++ prototypes are:\n"" getTransform(SbDPMatrix const *,SbVec3d &,SbDPRotation &,SbVec3d &,SbDPRotation &)\n"" getTransform(SbDPMatrix const *,SbVec3d &,SbDPRotation &,SbVec3d &,SbDPRotation &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_factor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbDPMatrix *arg4 = 0 ; - SbVec3d *arg5 = 0 ; - SbDPMatrix *arg6 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_factor",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_factor" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_factor" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "2"" of type '" "SbDPMatrix &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_factor" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPMatrix_factor" "', argument " "4"" of type '" "SbDPMatrix &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "4"" of type '" "SbDPMatrix &""'"); - } - arg4 = reinterpret_cast< SbDPMatrix * >(argp4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbDPMatrix_factor" "', argument " "5"" of type '" "SbVec3d &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "5"" of type '" "SbVec3d &""'"); - } - arg5 = reinterpret_cast< SbVec3d * >(argp5); - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_SbDPMatrix, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SbDPMatrix_factor" "', argument " "6"" of type '" "SbDPMatrix &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_factor" "', argument " "6"" of type '" "SbDPMatrix &""'"); - } - arg6 = reinterpret_cast< SbDPMatrix * >(argp6); - result = (SbBool)(arg1)->factor(*arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_LUDecomposition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int *arg2 ; - double *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_LUDecomposition",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_double, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_LUDecomposition" "', argument " "3"" of type '" "double &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_LUDecomposition" "', argument " "3"" of type '" "double &""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - result = (SbBool)(arg1)->LUDecomposition(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_LUBackSubstitution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - int *arg2 ; - double *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_LUBackSubstitution",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "2"" of type '" "int [4]""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_LUBackSubstitution" "', argument " "3"" of type '" "double [4]""'"); - } - arg3 = reinterpret_cast< double * >(argp3); - ((SbDPMatrix const *)arg1)->LUBackSubstitution(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_transpose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_transpose",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_transpose" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - result = ((SbDPMatrix const *)arg1)->transpose(); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multRight" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multRight" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multRight" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->multRight((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multLeft" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multLeft" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLeft" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - { - SbDPMatrix &_result_ref = (arg1)->multLeft((SbDPMatrix const &)*arg2); - result = (SbDPMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multMatrixVec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multMatrixVec",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multMatrixVec" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multMatrixVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multMatrixVec" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multMatrixVec((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multVecMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multVecMatrix((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multDirMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multDirMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multDirMatrix" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multDirMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multDirMatrix" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - ((SbDPMatrix const *)arg1)->multDirMatrix((SbVec3d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multLineMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPLine *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multLineMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLineMatrix" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multLineMatrix" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multLineMatrix" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - ((SbDPMatrix const *)arg1)->multLineMatrix((SbDPLine const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec4d *arg2 = 0 ; - SbVec4d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_multVecMatrix",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "2"" of type '" "SbVec4d const &""'"); - } - arg2 = reinterpret_cast< SbVec4d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec4d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec4d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix_multVecMatrix" "', argument " "3"" of type '" "SbVec4d &""'"); - } - arg3 = reinterpret_cast< SbVec4d * >(argp3); - ((SbDPMatrix const *)arg1)->multVecMatrix((SbVec4d const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_multVecMatrix(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_multVecMatrix__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec4d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix_multVecMatrix__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPMatrix_multVecMatrix'.\n Possible C/C++ prototypes are:\n"" multVecMatrix(SbDPMatrix const *,SbVec3d const &,SbVec3d &)\n"" multVecMatrix(SbDPMatrix const *,SbVec4d const &,SbVec4d &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix_output" "', argument " "1"" of type '" "SbDPMatrix const *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPMatrix const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - SbDPMatrix result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___mul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = SbDPMatrix___mul____SWIG_0(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbDPMatrix(static_cast< const SbDPMatrix& >(result))), SWIGTYPE_p_SbDPMatrix, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___mul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___mul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPMatrix___mul____SWIG_1(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___mul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix___mul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPMatrix, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPMatrix___mul____SWIG_1(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___rmul__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___rmul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___rmul__" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = SbDPMatrix___rmul__(arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___eq__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___eq__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___eq__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = (int)SbDPMatrix___eq__(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPMatrix *arg1 = (SbDPMatrix *) 0 ; - SbDPMatrix *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPMatrix___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPMatrix, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPMatrix___ne__" "', argument " "1"" of type '" "SbDPMatrix *""'"); - } - arg1 = reinterpret_cast< SbDPMatrix * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPMatrix, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPMatrix___ne__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPMatrix___ne__" "', argument " "2"" of type '" "SbDPMatrix const &""'"); - } - arg2 = reinterpret_cast< SbDPMatrix * >(argp2); - result = (int)SbDPMatrix___ne__(arg1,(SbDPMatrix const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPMatrix, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPLine__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPLine",0,0)) SWIG_fail; - result = (SbDPLine *)new SbDPLine(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPLine__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - SbDPLine *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPLine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPLine" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPLine" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPLine" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPLine" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPLine *)new SbDPLine((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPLine, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPLine(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPLine__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPLine__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPLine'.\n Possible C/C++ prototypes are:\n"" SbDPLine()\n"" SbDPLine(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_setValue" "', argument " "1"" of type '" "SbDPLine *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_setValue" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPLine_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_setValue" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - (arg1)->setValue((SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getClosestPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbDPLine *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbVec3d *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getClosestPoints",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getClosestPoints" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_getClosestPoints" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbDPLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3d &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoints" "', argument " "4"" of type '" "SbVec3d &""'"); - } - arg4 = reinterpret_cast< SbVec3d * >(argp4); - result = (SbBool)((SbDPLine const *)arg1)->getClosestPoints((SbDPLine const &)*arg2,*arg3,*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getClosestPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getClosestPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getClosestPoint" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPLine_getClosestPoint" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = ((SbDPLine const *)arg1)->getClosestPoint((SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec3d(static_cast< const SbVec3d& >(result))), SWIGTYPE_p_SbVec3d, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getPosition" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPLine const *)arg1)->getPosition(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_getDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_getDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_getDirection" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPLine const *)arg1)->getDirection(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPLine_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPLine_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPLine_output" "', argument " "1"" of type '" "SbDPLine const *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPLine const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPLine *arg1 = (SbDPLine *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPLine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPLine, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPLine" "', argument " "1"" of type '" "SbDPLine *""'"); - } - arg1 = reinterpret_cast< SbDPLine * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",0,0)) SWIG_fail; - result = (SbDPPlane *)new SbDPPlane(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - double arg2 ; - SbDPPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbDPPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SbDPPlane" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "3"" of type '" "SbVec3d const &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,(SbVec3d const &)*arg2,(SbVec3d const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec3d *arg1 = 0 ; - SbVec3d *arg2 = 0 ; - SbDPPlane *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDPPlane",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "1"" of type '" "SbVec3d const &""'"); - } - arg1 = reinterpret_cast< SbVec3d * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDPPlane" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbDPPlane *)new SbDPPlane((SbVec3d const &)*arg1,(SbVec3d const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDPPlane, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDPPlane(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDPPlane__SWIG_0(self, args); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPPlane__SWIG_3(self, args); - } - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDPPlane__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDPPlane__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDPPlane'.\n Possible C/C++ prototypes are:\n"" SbDPPlane()\n"" SbDPPlane(SbVec3d const &,double const)\n"" SbDPPlane(SbVec3d const &,SbVec3d const &,SbVec3d const &)\n"" SbDPPlane(SbVec3d const &,SbVec3d const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_offset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_offset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_offset" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDPPlane_offset" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->offset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPLine *arg2 = 0 ; - SbVec3d *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_intersect" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPLine, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPLine const &""'"); - } - arg2 = reinterpret_cast< SbDPLine * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3d, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbVec3d &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbVec3d &""'"); - } - arg3 = reinterpret_cast< SbVec3d * >(argp3); - result = (SbBool)((SbDPPlane const *)arg1)->intersect((SbDPLine const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_transform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbDPMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_transform",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_transform" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - (arg1)->transform((SbDPMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbDPMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_isInHalfSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbVec3d *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_isInHalfSpace",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_isInHalfSpace" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_isInHalfSpace" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (SbBool)((SbDPPlane const *)arg1)->isInHalfSpace((SbVec3d const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbVec3d *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getDistance",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getDistance" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3d, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_getDistance" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_getDistance" "', argument " "2"" of type '" "SbVec3d const &""'"); - } - arg2 = reinterpret_cast< SbVec3d * >(argp2); - result = (double)((SbDPPlane const *)arg1)->getDistance((SbVec3d const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbVec3d *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getNormal" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - { - SbVec3d const &_result_ref = ((SbDPPlane const *)arg1)->getNormal(); - result = (SbVec3d *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3d, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_getDistanceFromOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_getDistanceFromOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_getDistanceFromOrigin" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - result = (double)((SbDPPlane const *)arg1)->getDistanceFromOrigin(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_output" "', argument " "1"" of type '" "SbDPPlane const *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbDPPlane const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - SbDPLine *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane_intersect",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane_intersect" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbDPLine, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbDPLine &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane_intersect" "', argument " "3"" of type '" "SbDPLine &""'"); - } - arg3 = reinterpret_cast< SbDPLine * >(argp3); - result = (SbBool)(arg1)->intersect((SbDPPlane const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane_intersect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbVec3d, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPPlane_intersect__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbDPPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbDPLine, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDPPlane_intersect__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDPPlane_intersect'.\n Possible C/C++ prototypes are:\n"" intersect(SbDPPlane const *,SbDPLine const &,SbVec3d &)\n"" intersect(SbDPPlane *,SbDPPlane const &,SbDPLine &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane___eq__" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane___eq__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane___eq__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - result = (int)SbDPPlane___eq__(arg1,(SbDPPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDPPlane___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - SbDPPlane *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDPPlane___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDPPlane___ne__" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbDPPlane, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDPPlane___ne__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDPPlane___ne__" "', argument " "2"" of type '" "SbDPPlane const &""'"); - } - arg2 = reinterpret_cast< SbDPPlane * >(argp2); - result = (int)SbDPPlane___ne__(arg1,(SbDPPlane const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDPPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDPPlane *arg1 = (SbDPPlane *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDPPlane",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDPPlane, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDPPlane" "', argument " "1"" of type '" "SbDPPlane *""'"); - } - arg1 = reinterpret_cast< SbDPPlane * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDPPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDPPlane, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_eval_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - float (*arg2)(void *) = (float (*)(void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_eval_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_eval_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__float); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_eval_func_set" "', argument " "2"" of type '" "float (*)(void *)""'"); - } - } - if (arg1) (arg1)->eval_func = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_eval_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - float (*result)(void *) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_eval_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_eval_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (float (*)(void *)) ((arg1)->eval_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__float); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_get_index_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - int (*arg2)(void *) = (int (*)(void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_get_index_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_get_index_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_get_index_func_set" "', argument " "2"" of type '" "int (*)(void *)""'"); - } - } - if (arg1) (arg1)->get_index_func = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_get_index_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - int (*result)(void *) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_get_index_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_get_index_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (int (*)(void *)) ((arg1)->get_index_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_set_index_func_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void (*arg2)(void *,int) = (void (*)(void *,int)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_set_index_func_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_set_index_func_set" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_int__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeapFuncs_set_index_func_set" "', argument " "2"" of type '" "void (*)(void *,int)""'"); - } - } - if (arg1) (arg1)->set_index_func = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeapFuncs_set_index_func_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void (*result)(void *,int) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeapFuncs_set_index_func_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeapFuncs_set_index_func_get" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (void (*)(void *,int)) ((arg1)->set_index_func); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_int__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeapFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeapFuncs",0,0)) SWIG_fail; - result = (SbHeapFuncs *)new SbHeapFuncs(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeapFuncs, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbHeapFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = (SbHeapFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbHeapFuncs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeapFuncs, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbHeapFuncs" "', argument " "1"" of type '" "SbHeapFuncs *""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbHeapFuncs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbHeapFuncs, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbHeap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = 0 ; - int arg2 ; - SbHeap *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeap",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbHeapFuncs, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbHeap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbHeap *)new SbHeap((SbHeapFuncs const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeap, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeapFuncs *arg1 = 0 ; - SbHeap *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbHeapFuncs, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbHeap" "', argument " "1"" of type '" "SbHeapFuncs const &""'"); - } - arg1 = reinterpret_cast< SbHeapFuncs * >(argp1); - result = (SbHeap *)new SbHeap((SbHeapFuncs const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbHeap, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbHeap(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbHeapFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbHeap__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbHeapFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbHeap__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbHeap'.\n Possible C/C++ prototypes are:\n"" SbHeap(SbHeapFuncs const &,int const)\n"" SbHeap(SbHeapFuncs const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_emptyHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_emptyHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_emptyHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - (arg1)->emptyHeap(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_size",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_size" "', argument " "1"" of type '" "SbHeap const *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (int)((SbHeap const *)arg1)->size(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_add",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_add" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_add" "', argument " "2"" of type '" "void *""'"); - } - result = (int)(arg1)->add(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_remove" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbHeap_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_remove" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_remove" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_remove(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_remove__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbHeap_remove__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_remove'.\n Possible C/C++ prototypes are:\n"" remove(SbHeap *,int const)\n"" remove(SbHeap *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_extractMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_extractMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_extractMin" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (void *)(arg1)->extractMin(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_getMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_getMin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_getMin" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (void *)(arg1)->getMin(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_newWeight",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_newWeight" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_newWeight" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbHeap_newWeight" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->newWeight(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_newWeight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_newWeight" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbHeap_newWeight" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->newWeight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_newWeight(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_newWeight__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbHeap_newWeight__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_newWeight'.\n Possible C/C++ prototypes are:\n"" newWeight(SbHeap *,void *,int)\n"" newWeight(SbHeap *,void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(float,void *) = (SbBool (*)(float,void *)) 0 ; - void *arg3 = (void *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_float_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_buildHeap" "', argument " "2"" of type '" "SbBool (*)(float,void *)""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - result = (SbBool)(arg1)->buildHeap(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(float,void *) = (SbBool (*)(float,void *)) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_float_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_buildHeap" "', argument " "2"" of type '" "SbBool (*)(float,void *)""'"); - } - } - result = (SbBool)(arg1)->buildHeap(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_buildHeap",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_buildHeap" "', argument " "1"" of type '" "SbHeap *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - result = (SbBool)(arg1)->buildHeap(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_buildHeap(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_float_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbHeap, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_float_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SbHeap_buildHeap__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbHeap_buildHeap'.\n Possible C/C++ prototypes are:\n"" buildHeap(SbHeap *,SbBool (*)(float,void *),void *)\n"" buildHeap(SbHeap *,SbBool (*)(float,void *))\n"" buildHeap(SbHeap *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbHeap_traverseHeap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbHeap *arg1 = (SbHeap *) 0 ; - SbBool (*arg2)(void *,void *) = (SbBool (*)(void *,void *)) 0 ; - void *arg3 = (void *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbHeap_traverseHeap",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbHeap, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbHeap_traverseHeap" "', argument " "1"" of type '" "SbHeap const *""'"); - } - arg1 = reinterpret_cast< SbHeap * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbHeap_traverseHeap" "', argument " "2"" of type '" "SbBool (*)(void *,void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbHeap_traverseHeap" "', argument " "3"" of type '" "void *""'"); - } - result = (SbBool)((SbHeap const *)arg1)->traverseHeap(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbHeap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbHeap, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",0,0)) SWIG_fail; - result = (SbImage *)new SbImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned char *arg1 = (unsigned char *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - SbImage *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",1,1,&obj0)) SWIG_fail; - { - unsigned char * image; - PyObject * buf = obj0; - PyObject * vec2s = obj0; - PyObject * nc = obj0; - - if ((SWIG_ConvertPtr(vec2s, (void **) &arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg1 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - result = (SbImage *)new SbImage((unsigned char const *)arg1,(SbVec2s const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned char *arg1 = (unsigned char *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - SbImage *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbImage",1,1,&obj0)) SWIG_fail; - { - unsigned char * image; - PyObject * buf = obj0; - PyObject * vec3s = obj0; - PyObject * nc = obj0; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * (*arg2)[2] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg1 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - result = (SbImage *)new SbImage((unsigned char const *)arg1,(SbVec3s const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbImage__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 1) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbImage__SWIG_1(self, args); - } - } - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 1) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbImage__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbImage'.\n Possible C/C++ prototypes are:\n"" SbImage()\n"" SbImage(unsigned char const *,SbVec2s const &,int const)\n"" SbImage(unsigned char const *,SbVec3s const &,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbImage" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec2s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec2s, (void **)&arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValue((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec3s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * ((*arg2)[2] ? (*arg2)[2] : 1) * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValue((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValue__SWIG_0(self, args); - } - } - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValue__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbImage *,SbVec2s const &,int const,unsigned char const *)\n"" setValue(SbImage *,SbVec3s const &,int const,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValuePtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValuePtr" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec2s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec2s, (void **)&arg2, SWIGTYPE_p_SbVec2s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValuePtr((SbVec2s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int arg3 ; - unsigned char *arg4 = (unsigned char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_setValuePtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_setValuePtr" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - unsigned char * image; - PyObject * vec3s = obj1; - PyObject * nc = obj1; - PyObject * buf = obj1; - - if ((SWIG_ConvertPtr(vec3s, (void **)&arg2, SWIGTYPE_p_SbVec3s, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - arg3 = PyInt_AsLong(nc); - if (PyString_Check(buf)) { - Py_ssize_t len = (*arg2)[0] * (*arg2)[1] * ((*arg2)[2] ? (*arg2)[2] : 1) * arg3; - PyString_AsStringAndSize(buf, (char **)&image, &len); - arg4 = image; - } else { - PyErr_SetString(PyExc_TypeError, "expected a string."); SWIG_fail; - } - } - (arg1)->setValuePtr((SbVec3s const &)*arg2,arg3,(unsigned char const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_setValuePtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValuePtr__SWIG_0(self, args); - } - } - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - if (argc <= 2) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - if (argc <= 3) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_setValuePtr__SWIG_1(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_setValuePtr'.\n Possible C/C++ prototypes are:\n"" setValuePtr(SbImage *,SbVec2s const &,int const,unsigned char const *)\n"" setValuePtr(SbImage *,SbVec3s const &,int const,unsigned char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec2s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec2s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec2s &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SbImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s *arg2 = 0 ; - int *arg3 = 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3s, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec3s &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "2"" of type '" "SbVec3s &""'"); - } - arg2 = reinterpret_cast< SbVec3s * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage_getValue" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - result = (unsigned char *)((SbImage const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbVec3s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getSize" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = ((SbImage const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec3s(static_cast< const SbVec3s& >(result))), SWIGTYPE_p_SbVec3s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - SbString **arg3 = (SbString **) 0 ; - int arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_readFile" "', argument " "3"" of type '" "SbString const *const *""'"); - } - arg3 = reinterpret_cast< SbString ** >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbImage_readFile" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (SbBool)(arg1)->readFile((SbString const &)*arg2,(SbString const *const *)arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - SbString **arg3 = (SbString **) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_readFile" "', argument " "3"" of type '" "SbString const *const *""'"); - } - arg3 = reinterpret_cast< SbString ** >(argp3); - result = (SbBool)(arg1)->readFile((SbString const &)*arg2,(SbString const *const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbString *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (SbBool)(arg1)->readFile((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbImage_readFile__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_readFile__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbImage_readFile__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_readFile'.\n Possible C/C++ prototypes are:\n"" readFile(SbImage *,SbString const &,SbString const *const *,int const)\n"" readFile(SbImage *,SbString const &,SbString const *const *)\n"" readFile(SbImage *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImage *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage___eq__" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage___eq__" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage___eq__" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - result = (int)((SbImage const *)arg1)->operator ==((SbImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImage *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage___ne__" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage___ne__" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbImage___ne__" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - result = (int)((SbImage const *)arg1)->operator !=((SbImage const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_searchForFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString **arg2 = (SbString **) 0 ; - int arg3 ; - SbString result; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_searchForFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbImage_searchForFile" "', argument " "2"" of type '" "SbString const *const *""'"); - } - arg2 = reinterpret_cast< SbString ** >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbImage_searchForFile" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = SbImage::searchForFile((SbString const &)*arg1,(SbString const *const *)arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_hasData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_hasData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_hasData" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = (SbBool)((SbImage const *)arg1)->hasData(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readLock" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - ((SbImage const *)arg1)->readLock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_readUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_readUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_readUnlock" "', argument " "1"" of type '" "SbImage const *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - ((SbImage const *)arg1)->readUnlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - SbString **arg5 = (SbString **) 0 ; - int arg6 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - void *argp5 = 0 ; - int res5 = 0 ; - int val6 ; - int ecode6 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",6,6,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbImage_scheduleReadFile" "', argument " "5"" of type '" "SbString const *const *""'"); - } - arg5 = reinterpret_cast< SbString ** >(argp5); - ecode6 = SWIG_AsVal_int(obj5, &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SbImage_scheduleReadFile" "', argument " "6"" of type '" "int""'"); - } - arg6 = static_cast< int >(val6); - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4,(SbString const *const *)arg5,arg6); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - SbString **arg5 = (SbString **) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SbImage_scheduleReadFile" "', argument " "5"" of type '" "SbString const *const *""'"); - } - arg5 = reinterpret_cast< SbString ** >(argp5); - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4,(SbString const *const *)arg5); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - SbImageScheduleReadCB *arg2 = (SbImageScheduleReadCB *) 0 ; - void *arg3 = (void *) 0 ; - SbString *arg4 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_scheduleReadFile",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_scheduleReadFile" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbImage_scheduleReadFile" "', argument " "2"" of type '" "SbImageScheduleReadCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbImage_scheduleReadFile" "', argument " "3"" of type '" "void *""'"); - } - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - result = (SbBool)(arg1)->scheduleReadFile(arg2,arg3,(SbString const &)*arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_scheduleReadFile(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[7]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 6); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_2(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_1(self, args); - } - } - } - } - } - } - if (argc == 6) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[5], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbImage_scheduleReadFile__SWIG_0(self, args); - } - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_scheduleReadFile'.\n Possible C/C++ prototypes are:\n"" scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &,SbString const *const *,int const)\n"" scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &,SbString const *const *)\n"" scheduleReadFile(SbImage *,SbImageScheduleReadCB *,void *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbImage *arg1 = (SbImage *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbImage_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbImage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbImage_getValue" "', argument " "1"" of type '" "SbImage *""'"); - } - arg1 = reinterpret_cast< SbImage * >(argp1); - result = (PyObject *)SbImage_getValue__SWIG_2(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbImage_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_2(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec3s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbImage, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbImage_getValue__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbImage_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbImage const *,SbVec2s &,int &)\n"" getValue(SbImage const *,SbVec3s &,int &)\n"" getValue(SbImage *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbImage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_bboxfunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void (*arg2)(void *const,SbBox3f &) = (void (*)(void *const,SbBox3f &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_bboxfunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_bboxfunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_SbBox3f__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_bboxfunc_set" "', argument " "2"" of type '" "void (*)(void *const,SbBox3f &)""'"); - } - } - if (arg1) (arg1)->bboxfunc = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_bboxfunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void (*result)(void *const,SbBox3f &) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_bboxfunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_bboxfunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (void (*)(void *const,SbBox3f &)) ((arg1)->bboxfunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_SbBox3f__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_ptinsidefunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbVec3f const &) = (SbBool (*)(void *const,SbVec3f const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_ptinsidefunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_ptinsidefunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_ptinsidefunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbVec3f const &)""'"); - } - } - if (arg1) (arg1)->ptinsidefunc = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_ptinsidefunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*result)(void *const,SbVec3f const &) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_ptinsidefunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_ptinsidefunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbVec3f const &)) ((arg1)->ptinsidefunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbVec3f__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideboxfunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbBox3f const &) = (SbBool (*)(void *const,SbBox3f const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideboxfunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideboxfunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insideboxfunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbBox3f const &)""'"); - } - } - if (arg1) (arg1)->insideboxfunc = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideboxfunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*result)(void *const,SbBox3f const &) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideboxfunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideboxfunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbBox3f const &)) ((arg1)->insideboxfunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbBox3f__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insidespherefunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbSphere const &) = (SbBool (*)(void *const,SbSphere const &)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insidespherefunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insidespherefunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insidespherefunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbSphere const &)""'"); - } - } - if (arg1) (arg1)->insidespherefunc = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insidespherefunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*result)(void *const,SbSphere const &) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insidespherefunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insidespherefunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbSphere const &)) ((arg1)->insidespherefunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_r_q_const__SbSphere__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideplanesfunc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*arg2)(void *const,SbPlane const *const,int const) = (SbBool (*)(void *const,SbPlane const *const,int const)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideplanesfunc_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideplanesfunc_set" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbOctTreeFuncs_insideplanesfunc_set" "', argument " "2"" of type '" "SbBool (*)(void *const,SbPlane const *const,int const)""'"); - } - } - if (arg1) (arg1)->insideplanesfunc = arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTreeFuncs_insideplanesfunc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - SbBool (*result)(void *const,SbPlane const *const,int const) = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTreeFuncs_insideplanesfunc_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTreeFuncs_insideplanesfunc_get" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - result = (SbBool (*)(void *const,SbPlane const *const,int const)) ((arg1)->insideplanesfunc); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTreeFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTreeFuncs",0,0)) SWIG_fail; - result = (SbOctTreeFuncs *)new SbOctTreeFuncs(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTreeFuncs, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbOctTreeFuncs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTreeFuncs *arg1 = (SbOctTreeFuncs *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbOctTreeFuncs",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTreeFuncs, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbOctTreeFuncs" "', argument " "1"" of type '" "SbOctTreeFuncs *""'"); - } - arg1 = reinterpret_cast< SbOctTreeFuncs * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbOctTreeFuncs_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbOctTreeFuncs, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbOctTree__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - SbOctTreeFuncs *arg2 = 0 ; - int arg3 ; - SbOctTree *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTree",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbOctTreeFuncs, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - arg2 = reinterpret_cast< SbOctTreeFuncs * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbOctTree" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbOctTree *)new SbOctTree((SbBox3f const &)*arg1,(SbOctTreeFuncs const &)*arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTree__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBox3f *arg1 = 0 ; - SbOctTreeFuncs *arg2 = 0 ; - SbOctTree *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbOctTree",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "1"" of type '" "SbBox3f const &""'"); - } - arg1 = reinterpret_cast< SbBox3f * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbOctTreeFuncs, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbOctTree" "', argument " "2"" of type '" "SbOctTreeFuncs const &""'"); - } - arg2 = reinterpret_cast< SbOctTreeFuncs * >(argp2); - result = (SbOctTree *)new SbOctTree((SbBox3f const &)*arg1,(SbOctTreeFuncs const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbOctTree, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbOctTree(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbOctTreeFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbOctTree__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbOctTreeFuncs, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbOctTree__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbOctTree'.\n Possible C/C++ prototypes are:\n"" SbOctTree(SbBox3f const &,SbOctTreeFuncs const &,int const)\n"" SbOctTree(SbBox3f const &,SbOctTreeFuncs const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbOctTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbOctTree",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbOctTree" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_addItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *arg2 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_addItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_addItem" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_addItem" "', argument " "2"" of type '" "void *const""'"); - } - (arg1)->addItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *arg2 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_removeItem" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_removeItem" "', argument " "2"" of type '" "void *const""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbVec3f *arg2 = 0 ; - SbList *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbVec3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbVec3f *arg2 = 0 ; - SbList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbVec3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbBox3f *arg2 = 0 ; - SbList *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbBox3f const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbBox3f *arg2 = 0 ; - SbList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbBox3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbBox3f const &""'"); - } - arg2 = reinterpret_cast< SbBox3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbBox3f const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList *arg3 = 0 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ((SbOctTree const *)arg1)->findItems((SbSphere const &)*arg2,*arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbSphere *arg2 = 0 ; - SbList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbSphere, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbSphere const &""'"); - } - arg2 = reinterpret_cast< SbSphere * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - ((SbOctTree const *)arg1)->findItems((SbSphere const &)*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbPlane *arg2 = (SbPlane *) (SbPlane *)0 ; - int arg3 ; - SbList *arg4 = 0 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbPlane const *const""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList &""'"); - } - arg4 = reinterpret_cast< SbList * >(argp4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SbOctTree_findItems" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - ((SbOctTree const *)arg1)->findItems((SbPlane const *)arg2,arg3,*arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbPlane *arg2 = (SbPlane *) (SbPlane *)0 ; - int arg3 ; - SbList *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_findItems",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_findItems" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SbPlane, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbOctTree_findItems" "', argument " "2"" of type '" "SbPlane const *const""'"); - } - arg2 = reinterpret_cast< SbPlane * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbOctTree_findItems" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbListTvoid_p_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbOctTree_findItems" "', argument " "4"" of type '" "SbList &""'"); - } - arg4 = reinterpret_cast< SbList * >(argp4); - ((SbOctTree const *)arg1)->findItems((SbPlane const *)arg2,arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_findItems(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_3(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_5(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbSphere, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_4(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbBox3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_2(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_7(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbOctTree, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SbPlane, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SbListTvoid_p_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbOctTree_findItems__SWIG_6(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbOctTree_findItems'.\n Possible C/C++ prototypes are:\n"" findItems(SbOctTree const *,SbVec3f const &,SbList &,SbBool const)\n"" findItems(SbOctTree const *,SbVec3f const &,SbList &)\n"" findItems(SbOctTree const *,SbBox3f const &,SbList &,SbBool const)\n"" findItems(SbOctTree const *,SbBox3f const &,SbList &)\n"" findItems(SbOctTree const *,SbSphere const &,SbList &,SbBool const)\n"" findItems(SbOctTree const *,SbSphere const &,SbList &)\n"" findItems(SbOctTree const *,SbPlane const *const,int const,SbList &,SbBool const)\n"" findItems(SbOctTree const *,SbPlane const *const,int const,SbList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - SbBox3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_getBoundingBox",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_getBoundingBox" "', argument " "1"" of type '" "SbOctTree const *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - { - SbBox3f const &_result_ref = ((SbOctTree const *)arg1)->getBoundingBox(); - result = (SbBox3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBox3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_clear" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbOctTree_debugTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbOctTree *arg1 = (SbOctTree *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbOctTree_debugTree",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbOctTree, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbOctTree_debugTree" "', argument " "1"" of type '" "SbOctTree *""'"); - } - arg1 = reinterpret_cast< SbOctTree * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - (arg1)->debugTree(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbOctTree_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbOctTree, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void (*arg1)(void *,void *,void *,void *) = (void (*)(void *,void *,void *,void *)) 0 ; - void *arg2 = (void *) 0 ; - SbTesselator *result = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbTesselator" "', argument " "1"" of type '" "void (*)(void *,void *,void *,void *)""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SbTesselator" "', argument " "2"" of type '" "void *""'"); - } - result = (SbTesselator *)new SbTesselator(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void (*arg1)(void *,void *,void *,void *) = (void (*)(void *,void *,void *,void *)) 0 ; - SbTesselator *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",1,1,&obj0)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbTesselator" "', argument " "1"" of type '" "void (*)(void *,void *,void *,void *)""'"); - } - } - result = (SbTesselator *)new SbTesselator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTesselator",0,0)) SWIG_fail; - result = (SbTesselator *)new SbTesselator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTesselator, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTesselator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTesselator__SWIG_2(self, args); - } - if (argc == 1) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTesselator__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[0], &ptr, SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTesselator__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTesselator'.\n Possible C/C++ prototypes are:\n"" SbTesselator(void (*)(void *,void *,void *,void *),void *)\n"" SbTesselator(void (*)(void *,void *,void *,void *))\n"" SbTesselator()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTesselator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTesselator",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTesselator" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbBool arg2 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTesselator_beginPolygon" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTesselator_beginPolygon" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTesselator_beginPolygon" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->beginPolygon(arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTesselator_beginPolygon" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->beginPolygon(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_beginPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_beginPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - (arg1)->beginPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_beginPolygon(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTesselator, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTesselator_beginPolygon__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTesselator_beginPolygon'.\n Possible C/C++ prototypes are:\n"" beginPolygon(SbTesselator *,SbBool,SbVec3f const &)\n"" beginPolygon(SbTesselator *,SbBool)\n"" beginPolygon(SbTesselator *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_addVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - SbVec3f *arg2 = 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_addVertex",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_addVertex" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTesselator_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTesselator_addVertex" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addVertex((SbVec3f const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_endPolygon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_endPolygon",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_endPolygon" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - (arg1)->endPolygon(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTesselator_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTesselator *arg1 = (SbTesselator *) 0 ; - void (*arg2)(void *,void *,void *,void *) = (void (*)(void *,void *,void *,void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTesselator_setCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTesselator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTesselator_setCallback" "', argument " "1"" of type '" "SbTesselator *""'"); - } - arg1 = reinterpret_cast< SbTesselator * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbTesselator_setCallback" "', argument " "2"" of type '" "void (*)(void *,void *,void *,void *)""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->setCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTesselator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTesselator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTimerQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerQueueSensor",0,0)) SWIG_fail; - result = (SoTimerQueueSensor *)new SoTimerQueueSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimerQueueSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoTimerQueueSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerQueueSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoTimerQueueSensor *)new SoTimerQueueSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTimerQueueSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTimerQueueSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTimerQueueSensor" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_getTriggerTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_getTriggerTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_getTriggerTime" "', argument " "1"" of type '" "SoTimerQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerQueueSensor const *)arg1)->getTriggerTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_schedule" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_unschedule" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_isScheduled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_isScheduled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_isScheduled" "', argument " "1"" of type '" "SoTimerQueueSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - result = (SbBool)((SoTimerQueueSensor const *)arg1)->isScheduled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerQueueSensor_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerQueueSensor *arg1 = (SoTimerQueueSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerQueueSensor_trigger",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerQueueSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerQueueSensor_trigger" "', argument " "1"" of type '" "SoTimerQueueSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerQueueSensor * >(argp1); - (arg1)->trigger(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoTimerQueueSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimerQueueSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoAlarmSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAlarmSensor",0,0)) SWIG_fail; - result = (SoAlarmSensor *)new SoAlarmSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoAlarmSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoAlarmSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoAlarmSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoAlarmSensor *)new SoAlarmSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoAlarmSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoAlarmSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoAlarmSensor" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_setTime" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setTime((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_setTimeFromNow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_setTimeFromNow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_setTimeFromNow" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setTimeFromNow((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_getTime" "', argument " "1"" of type '" "SoAlarmSensor const *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - { - SbTime const &_result_ref = ((SoAlarmSensor const *)arg1)->getTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoAlarmSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoAlarmSensor *arg1 = (SoAlarmSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoAlarmSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoAlarmSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoAlarmSensor_schedule" "', argument " "1"" of type '" "SoAlarmSensor *""'"); - } - arg1 = reinterpret_cast< SoAlarmSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoAlarmSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoAlarmSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoIdleSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIdleSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIdleSensor",0,0)) SWIG_fail; - result = (SoIdleSensor *)new SoIdleSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoIdleSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoIdleSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoIdleSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoIdleSensor *)new SoIdleSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoIdleSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoIdleSensor *arg1 = (SoIdleSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoIdleSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoIdleSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoIdleSensor" "', argument " "1"" of type '" "SoIdleSensor *""'"); - } - arg1 = reinterpret_cast< SoIdleSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoIdleSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoIdleSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNodeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeSensor",0,0)) SWIG_fail; - result = (SoNodeSensor *)new SoNodeSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNodeSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoNodeSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNodeSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoNodeSensor *)new SoNodeSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNodeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNodeSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNodeSensor" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_attach" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNodeSensor_attach" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_detach" "', argument " "1"" of type '" "SoNodeSensor *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNodeSensor_getAttachedNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNodeSensor *arg1 = (SoNodeSensor *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNodeSensor_getAttachedNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNodeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNodeSensor_getAttachedNode" "', argument " "1"" of type '" "SoNodeSensor const *""'"); - } - arg1 = reinterpret_cast< SoNodeSensor * >(argp1); - result = (SoNode *)((SoNodeSensor const *)arg1)->getAttachedNode(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNodeSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNodeSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOneShotSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShotSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShotSensor",0,0)) SWIG_fail; - result = (SoOneShotSensor *)new SoOneShotSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOneShotSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoOneShotSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOneShotSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoOneShotSensor *)new SoOneShotSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOneShotSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOneShotSensor *arg1 = (SoOneShotSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOneShotSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOneShotSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOneShotSensor" "', argument " "1"" of type '" "SoOneShotSensor *""'"); - } - arg1 = reinterpret_cast< SoOneShotSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoOneShotSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOneShotSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPathSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSensor",0,0)) SWIG_fail; - result = (SoPathSensor *)new SoPathSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPathSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoPathSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPathSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoPathSensor *)new SoPathSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPathSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPathSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPathSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPathSensor" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_setTriggerFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPathSensor::TriggerFilter arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_setTriggerFilter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_setTriggerFilter" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPathSensor_setTriggerFilter" "', argument " "2"" of type '" "SoPathSensor::TriggerFilter""'"); - } - arg2 = static_cast< SoPathSensor::TriggerFilter >(val2); - (arg1)->setTriggerFilter(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_getTriggerFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPathSensor::TriggerFilter result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_getTriggerFilter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_getTriggerFilter" "', argument " "1"" of type '" "SoPathSensor const *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - result = (SoPathSensor::TriggerFilter)((SoPathSensor const *)arg1)->getTriggerFilter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_attach",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_attach" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPathSensor_attach" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - (arg1)->attach(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_detach",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_detach" "', argument " "1"" of type '" "SoPathSensor *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - (arg1)->detach(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPathSensor_getAttachedPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPathSensor *arg1 = (SoPathSensor *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPathSensor_getAttachedPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPathSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPathSensor_getAttachedPath" "', argument " "1"" of type '" "SoPathSensor const *""'"); - } - arg1 = reinterpret_cast< SoPathSensor * >(argp1); - result = (SoPath *)((SoPathSensor const *)arg1)->getAttachedPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPathSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPathSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerSensor",0,0)) SWIG_fail; - result = (SoTimerSensor *)new SoTimerSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoTimerSensor_scb_v(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSensorCB *arg1 = (SoSensorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoTimerSensor *result = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoTimerSensor_scb_v",2,2,&obj0,&obj1)) SWIG_fail; - { - if (!PyCallable_Check(obj0)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg1 = SoSensorPythonCB; - } - { - if (!PyTuple_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj1); - arg2 = (void *)obj1; - } - result = (SoTimerSensor *)new SoTimerSensor(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoTimerSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoTimerSensor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoTimerSensor" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_setBaseTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_setBaseTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_setBaseTime" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setBaseTime((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_getBaseTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_getBaseTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_getBaseTime" "', argument " "1"" of type '" "SoTimerSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerSensor const *)arg1)->getBaseTime(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_setInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_setInterval",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_setInterval" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->setInterval((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_getInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_getInterval",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_getInterval" "', argument " "1"" of type '" "SoTimerSensor const *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - SbTime const &_result_ref = ((SoTimerSensor const *)arg1)->getInterval(); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_schedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_schedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - (arg1)->schedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_unschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_unschedule",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_unschedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - (arg1)->unschedule(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoTimerSensor_reschedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoTimerSensor *arg1 = (SoTimerSensor *) 0 ; - SbTime *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoTimerSensor_reschedule",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoTimerSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoTimerSensor_reschedule" "', argument " "1"" of type '" "SoTimerSensor *""'"); - } - arg1 = reinterpret_cast< SoTimerSensor * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - (arg1)->reschedule((SbTime const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *SoTimerSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoTimerSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoInteraction_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoInteraction_init",0,0)) SWIG_fail; - SoInteraction::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoInteraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteraction *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoInteraction",0,0)) SWIG_fail; - result = (SoInteraction *)new SoInteraction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoInteraction, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoInteraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoInteraction *arg1 = (SoInteraction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoInteraction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoInteraction, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoInteraction" "', argument " "1"" of type '" "SoInteraction *""'"); - } - arg1 = reinterpret_cast< SoInteraction * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoInteraction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoInteraction, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbViewportRegion *arg1 = 0 ; - SoOffscreenRenderer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SbViewportRegion const &""'"); - } - arg1 = reinterpret_cast< SbViewportRegion * >(argp1); - result = (SoOffscreenRenderer *)new SoOffscreenRenderer((SbViewportRegion const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoGLRenderAction *arg1 = (SoGLRenderAction *) 0 ; - SoOffscreenRenderer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoOffscreenRenderer" "', argument " "1"" of type '" "SoGLRenderAction *""'"); - } - arg1 = reinterpret_cast< SoGLRenderAction * >(argp1); - result = (SoOffscreenRenderer *)new SoOffscreenRenderer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoOffscreenRenderer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOffscreenRenderer__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoOffscreenRenderer__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoOffscreenRenderer'.\n Possible C/C++ prototypes are:\n"" SoOffscreenRenderer(SbViewportRegion const &)\n"" SoOffscreenRenderer(SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoOffscreenRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoOffscreenRenderer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoOffscreenRenderer" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getScreenPixelsPerInch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getScreenPixelsPerInch",0,0)) SWIG_fail; - result = (float)SoOffscreenRenderer::getScreenPixelsPerInch(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getMaximumResolution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s result; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getMaximumResolution",0,0)) SWIG_fail; - result = SoOffscreenRenderer::getMaximumResolution(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoOffscreenRenderer::Components arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setComponents",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setComponents" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_setComponents" "', argument " "2"" of type '" "SoOffscreenRenderer::Components""'"); - } - arg2 = static_cast< SoOffscreenRenderer::Components >(val2); - (arg1)->setComponents(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoOffscreenRenderer::Components result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getComponents",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getComponents" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (SoOffscreenRenderer::Components)((SoOffscreenRenderer const *)arg1)->getComponents(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getViewportRegion" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoOffscreenRenderer const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBackgroundColor" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - SbColor const &_result_ref = ((SoOffscreenRenderer const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_setGLRenderAction" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoGLRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getGLRenderAction" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (SoGLRenderAction *)((SoOffscreenRenderer const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_render" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_render" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SbBool)(arg1)->render(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_render" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_render" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - result = (SbBool)(arg1)->render(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_render(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_render__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_render__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_render'.\n Possible C/C++ prototypes are:\n"" render(SoOffscreenRenderer *,SoNode *)\n"" render(SoOffscreenRenderer *,SoPath *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - unsigned char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBuffer" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (unsigned char *)((SoOffscreenRenderer const *)arg1)->getBuffer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToRGB(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - FILE *arg2 = (FILE *) 0 ; - SbVec2f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript(arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToRGB",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToRGB" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToRGB((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToRGB(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToRGB__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToRGB__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_writeToRGB'.\n Possible C/C++ prototypes are:\n"" writeToRGB(SoOffscreenRenderer const *,FILE *)\n"" writeToRGB(SoOffscreenRenderer const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - char *arg2 = (char *) 0 ; - SbVec2f *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToPostScript",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_writeToPostScript" "', argument " "3"" of type '" "SbVec2f const &""'"); - } - arg3 = reinterpret_cast< SbVec2f * >(argp3); - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToPostScript((char const *)arg2,(SbVec2f const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToPostScript(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_writeToPostScript__SWIG_3(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_writeToPostScript'.\n Possible C/C++ prototypes are:\n"" writeToPostScript(SoOffscreenRenderer const *,FILE *)\n"" writeToPostScript(SoOffscreenRenderer const *,FILE *,SbVec2f const &)\n"" writeToPostScript(SoOffscreenRenderer const *,char const *)\n"" writeToPostScript(SoOffscreenRenderer const *,char const *,SbVec2f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_isWriteSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbName *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_isWriteSupported",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_isWriteSupported" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->isWriteSupported((SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getNumWriteFiletypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getNumWriteFiletypes",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getNumWriteFiletypes" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (int)((SoOffscreenRenderer const *)arg1)->getNumWriteFiletypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - int arg2 ; - SbPList *arg3 = 0 ; - SbString *arg4 = 0 ; - SbString *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getWriteFiletypeInfo",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbString(PyString_AsString(obj4)); - } else { - SbString * tmp = NULL; - arg5 = new SbString; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg5 = *tmp; - } - } - (arg1)->getWriteFiletypeInfo(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_writeToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - SbString *arg2 = 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_writeToFile",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_writeToFile" "', argument " "1"" of type '" "SoOffscreenRenderer const *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)((SoOffscreenRenderer const *)arg1)->writeToFile((SbString const &)*arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - int arg2 ; - SbList *arg3 = 0 ; - SbString *arg4 = 0 ; - SbString *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getWriteFiletypeInfo",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbListTSbName_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoOffscreenRenderer_getWriteFiletypeInfo" "', argument " "3"" of type '" "SbList &""'"); - } - arg3 = reinterpret_cast< SbList * >(argp3); - { - if (PyString_Check(obj3)) { - arg4 = new SbString(PyString_AsString(obj3)); - } else { - SbString * tmp = NULL; - arg4 = new SbString; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg4 = *tmp; - } - } - { - if (PyString_Check(obj4)) { - arg5 = new SbString(PyString_AsString(obj4)); - } else { - SbString * tmp = NULL; - arg5 = new SbString; - SWIG_ConvertPtr(obj4, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg5 = *tmp; - } - } - (arg1)->getWriteFiletypeInfo(arg2,*arg3,*arg4,*arg5); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - { - if (arg5) { - delete arg5; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getWriteFiletypeInfo(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[4]) && (SWIG_ConvertPtr(argv[4], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_0(self, args); - } - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SbListTSbName_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[3]) && (SWIG_ConvertPtr(argv[3], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[4]) && (SWIG_ConvertPtr(argv[4], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SoOffscreenRenderer_getWriteFiletypeInfo__SWIG_1(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_getWriteFiletypeInfo'.\n Possible C/C++ prototypes are:\n"" getWriteFiletypeInfo(SoOffscreenRenderer *,int const,SbPList &,SbString &,SbString &)\n"" getWriteFiletypeInfo(SoOffscreenRenderer *,int const,SbList &,SbString &,SbString &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoOffscreenRenderer *arg1 = (SoOffscreenRenderer *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoOffscreenRenderer_getBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoOffscreenRenderer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoOffscreenRenderer_getBuffer" "', argument " "1"" of type '" "SoOffscreenRenderer *""'"); - } - arg1 = reinterpret_cast< SoOffscreenRenderer * >(argp1); - result = (PyObject *)SoOffscreenRenderer_getBuffer__SWIG_1(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoOffscreenRenderer_getBuffer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_getBuffer__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoOffscreenRenderer, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoOffscreenRenderer_getBuffer__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoOffscreenRenderer_getBuffer'.\n Possible C/C++ prototypes are:\n"" getBuffer(SoOffscreenRenderer const *)\n"" getBuffer(SoOffscreenRenderer *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoOffscreenRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoOffscreenRenderer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPickedPoint, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint const &""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPickedPoint *)new SoPickedPoint((SoPickedPoint const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPath *arg1 = (SoPath *) (SoPath *)0 ; - SoState *arg2 = (SoState *) (SoState *)0 ; - SbVec3f *arg3 = 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPickedPoint",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPickedPoint" "', argument " "1"" of type '" "SoPath const *const""'"); - } - arg1 = reinterpret_cast< SoPath * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoPickedPoint" "', argument " "2"" of type '" "SoState *const""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SoPickedPoint" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPickedPoint" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - result = (SoPickedPoint *)new SoPickedPoint((SoPath const *)arg1,arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPickedPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPoint__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPath, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPickedPoint__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPickedPoint'.\n Possible C/C++ prototypes are:\n"" SoPickedPoint(SoPickedPoint const &)\n"" SoPickedPoint(SoPath const *const,SoState *const,SbVec3f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPickedPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPickedPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPickedPoint" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoPickedPoint *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_copy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_copy" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPickedPoint *)((SoPickedPoint const *)arg1)->copy(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec3f const &_result_ref = ((SoPickedPoint const *)arg1)->getPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec3f const &_result_ref = ((SoPickedPoint const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbVec4f const &_result_ref = ((SoPickedPoint const *)arg1)->getTextureCoords(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getMaterialIndex" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (int)((SoPickedPoint const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoPath *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getPath",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getPath" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoPath *)((SoPickedPoint const *)arg1)->getPath(); - { - resultobj = autocast_path(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_isOnGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_isOnGeometry",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_isOnGeometry" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SbBool)((SoPickedPoint const *)arg1)->isOnGeometry(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getDetail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getDetail" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getDetail" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (SoDetail *)((SoPickedPoint const *)arg1)->getDetail((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getDetail" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = (SoDetail *)((SoPickedPoint const *)arg1)->getDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getDetail(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getDetail__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getDetail__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getDetail'.\n Possible C/C++ prototypes are:\n"" getDetail(SoPickedPoint const *,SoNode const *const)\n"" getDetail(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToWorld",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToWorld((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToWorld",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToWorld" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToWorld(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToWorld(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToWorld__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToWorld__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectToWorld'.\n Possible C/C++ prototypes are:\n"" getObjectToWorld(SoPickedPoint const *,SoNode const *const)\n"" getObjectToWorld(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getWorldToObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getWorldToObject((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getWorldToObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getWorldToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getWorldToObject(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getWorldToObject(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getWorldToObject__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getWorldToObject__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getWorldToObject'.\n Possible C/C++ prototypes are:\n"" getWorldToObject(SoPickedPoint const *,SoNode const *const)\n"" getWorldToObject(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToImage((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectToImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectToImage" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getObjectToImage(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectToImage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToImage__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectToImage__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectToImage'.\n Possible C/C++ prototypes are:\n"" getObjectToImage(SoPickedPoint const *,SoNode const *const)\n"" getObjectToImage(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getImageToObject",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getImageToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getImageToObject" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getImageToObject((SoNode const *)arg2); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbMatrix *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getImageToObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getImageToObject" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - { - SbMatrix const &_result_ref = ((SoPickedPoint const *)arg1)->getImageToObject(); - result = (SbMatrix *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMatrix, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getImageToObject(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getImageToObject__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getImageToObject__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getImageToObject'.\n Possible C/C++ prototypes are:\n"" getImageToObject(SoPickedPoint const *,SoNode const *const)\n"" getImageToObject(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectPoint((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectPoint" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectPoint(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectPoint(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectPoint__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectPoint__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectPoint'.\n Possible C/C++ prototypes are:\n"" getObjectPoint(SoPickedPoint const *,SoNode const *const)\n"" getObjectPoint(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectNormal((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectNormal" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectNormal(); - resultobj = SWIG_NewPointerObj((new SbVec3f(static_cast< const SbVec3f& >(result))), SWIGTYPE_p_SbVec3f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectNormal(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectNormal__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectNormal__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectNormal'.\n Possible C/C++ prototypes are:\n"" getObjectNormal(SoPickedPoint const *,SoNode const *const)\n"" getObjectNormal(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "2"" of type '" "SoNode const *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = ((SoPickedPoint const *)arg1)->getObjectTextureCoords((SoNode const *)arg2); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec4f result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_getObjectTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_getObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint const *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - result = ((SoPickedPoint const *)arg1)->getObjectTextureCoords(); - resultobj = SWIG_NewPointerObj((new SbVec4f(static_cast< const SbVec4f& >(result))), SWIGTYPE_p_SbVec4f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_getObjectTextureCoords(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectTextureCoords__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPickedPoint, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPickedPoint_getObjectTextureCoords__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPickedPoint_getObjectTextureCoords'.\n Possible C/C++ prototypes are:\n"" getObjectTextureCoords(SoPickedPoint const *,SoNode const *const)\n"" getObjectTextureCoords(SoPickedPoint const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setObjectNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setObjectNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setObjectNormal" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setObjectNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickedPoint_setObjectNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setObjectNormal((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setObjectTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setObjectTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPickedPoint_setObjectTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setObjectTextureCoords((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setMaterialIndex" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPickedPoint_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPickedPoint_setDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPickedPoint *arg1 = (SoPickedPoint *) 0 ; - SoDetail *arg2 = (SoDetail *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPickedPoint_setDetail",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPickedPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPickedPoint_setDetail" "', argument " "1"" of type '" "SoPickedPoint *""'"); - } - arg1 = reinterpret_cast< SoPickedPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPickedPoint_setDetail" "', argument " "2"" of type '" "SoDetail *""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoPickedPoint_setDetail" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->setDetail(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPickedPoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPickedPoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPrimitiveVertex",0,0)) SWIG_fail; - result = (SoPrimitiveVertex *)new SoPrimitiveVertex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = 0 ; - SoPrimitiveVertex *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoPrimitiveVertex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoPrimitiveVertex, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex const &""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (SoPrimitiveVertex *)new SoPrimitiveVertex((SoPrimitiveVertex const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoPrimitiveVertex(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoPrimitiveVertex__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoPrimitiveVertex__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoPrimitiveVertex'.\n Possible C/C++ prototypes are:\n"" SoPrimitiveVertex()\n"" SoPrimitiveVertex(SoPrimitiveVertex const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoPrimitiveVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoPrimitiveVertex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoPrimitiveVertex" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getPoint",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getPoint" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec3f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getPoint(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getNormal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getNormal" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec3f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getNormal(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getTextureCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec4f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getTextureCoords",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - { - SbVec4f const &_result_ref = ((SoPrimitiveVertex const *)arg1)->getTextureCoords(); - result = (SbVec4f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec4f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getMaterialIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getMaterialIndex" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (int)((SoPrimitiveVertex const *)arg1)->getMaterialIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_getDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SoDetail *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_getDetail",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_getDetail" "', argument " "1"" of type '" "SoPrimitiveVertex const *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - result = (SoDetail *)((SoPrimitiveVertex const *)arg1)->getDetail(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDetail, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setPoint",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setPoint" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setPoint((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setNormal",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setNormal" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setNormal((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec2f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec2f const &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - (arg1)->setTextureCoords((SbVec2f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setTextureCoords((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SbVec4f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setTextureCoords",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec4f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoPrimitiveVertex_setTextureCoords" "', argument " "2"" of type '" "SbVec4f const &""'"); - } - arg2 = reinterpret_cast< SbVec4f * >(argp2); - (arg1)->setTextureCoords((SbVec4f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setTextureCoords(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec2f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec3f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoPrimitiveVertex, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbVec4f, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoPrimitiveVertex_setTextureCoords__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoPrimitiveVertex_setTextureCoords'.\n Possible C/C++ prototypes are:\n"" setTextureCoords(SoPrimitiveVertex *,SbVec2f const &)\n"" setTextureCoords(SoPrimitiveVertex *,SbVec3f const &)\n"" setTextureCoords(SoPrimitiveVertex *,SbVec4f const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setMaterialIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setMaterialIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setMaterialIndex" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoPrimitiveVertex_setMaterialIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setMaterialIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoPrimitiveVertex_setDetail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoPrimitiveVertex *arg1 = (SoPrimitiveVertex *) 0 ; - SoDetail *arg2 = (SoDetail *) (SoDetail *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoPrimitiveVertex_setDetail",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoPrimitiveVertex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoPrimitiveVertex_setDetail" "', argument " "1"" of type '" "SoPrimitiveVertex *""'"); - } - arg1 = reinterpret_cast< SoPrimitiveVertex * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoDetail, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoPrimitiveVertex_setDetail" "', argument " "2"" of type '" "SoDetail *const""'"); - } - arg2 = reinterpret_cast< SoDetail * >(argp2); - (arg1)->setDetail(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoPrimitiveVertex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoPrimitiveVertex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoSceneManager",0,0)) SWIG_fail; - result = (SoSceneManager *)new SoSceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSceneManager" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->render(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSceneManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SoSceneManager_render" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - (arg1)->render(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoSceneManager_render" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - (arg1)->render(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_render" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->render(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_render",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_render" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_render" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->render(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_render(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_render__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_render__SWIG_6(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_5(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_0(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_4(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoGLRenderAction, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoSceneManager_render__SWIG_3(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSceneManager_render'.\n Possible C/C++ prototypes are:\n"" render(SoSceneManager *,SbBool const,SbBool const)\n"" render(SoSceneManager *,SbBool const)\n"" render(SoSceneManager *)\n"" render(SoSceneManager *,SoGLRenderAction *,SbBool const,SbBool const,SbBool const)\n"" render(SoSceneManager *,SoGLRenderAction *,SbBool const,SbBool const)\n"" render(SoSceneManager *,SoGLRenderAction *,SbBool const)\n"" render(SoSceneManager *,SoGLRenderAction *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_processEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoEvent *arg2 = (SoEvent *) (SoEvent *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_processEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_processEvent" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_processEvent" "', argument " "2"" of type '" "SoEvent const *const""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->processEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_reinitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_reinitialize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_reinitialize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->reinitialize(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_scheduleRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_scheduleRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_scheduleRedraw" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->scheduleRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoNode *arg2 = (SoNode *) (SoNode *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setSceneGraph" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setSceneGraph" "', argument " "2"" of type '" "SoNode *const""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getSceneGraph" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoNode *)((SoSceneManager const *)arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setWindowSize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setWindowSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setWindowSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getWindowSize" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getWindowSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setSize" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setSize" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setSize((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getSize" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getSize(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setOrigin",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setOrigin" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setOrigin" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setOrigin((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getOrigin",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getOrigin" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbVec2s const &_result_ref = ((SoSceneManager const *)arg1)->getOrigin(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setViewportRegion" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getViewportRegion" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoSceneManager const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setBackgroundColor" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getBackgroundColor" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - SbColor const &_result_ref = ((SoSceneManager const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setBackgroundIndex" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getBackgroundIndex" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (int)((SoSceneManager const *)arg1)->getBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRGBMode",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRGBMode" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setRGBMode" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setRGBMode(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isRGBMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isRGBMode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_isRGBMode" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SbBool)((SoSceneManager const *)arg1)->isRGBMode(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_activate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_activate" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->activate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_deactivate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_deactivate" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - (arg1)->deactivate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoSceneManagerRenderCB *arg2 = (SoSceneManagerRenderCB *) 0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSceneManager_setRenderCallback" "', argument " "2"" of type '" "SoSceneManagerRenderCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSceneManager_setRenderCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setRenderCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoSceneManagerRenderCB *arg2 = (SoSceneManagerRenderCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoSceneManager_setRenderCallback" "', argument " "2"" of type '" "SoSceneManagerRenderCB *""'"); - } - } - (arg1)->setRenderCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isAutoRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_isAutoRedraw" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SbBool)((SoSceneManager const *)arg1)->isAutoRedraw(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRedrawPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRedrawPriority" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setRedrawPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setRedrawPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getRedrawPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getRedrawPriority" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (uint32_t)((SoSceneManager const *)arg1)->getRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setAntialiasing" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoSceneManager_setAntialiasing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoSceneManager_setAntialiasing" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setAntialiasing(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SbBool *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getAntialiasing" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoSceneManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoSceneManager_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - ((SoSceneManager const *)arg1)->getAntialiasing(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) (SoGLRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setGLRenderAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoGLRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getGLRenderAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoGLRenderAction *)((SoSceneManager const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) (SoAudioRenderAction *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setAudioRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setAudioRenderAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setAudioRenderAction" "', argument " "2"" of type '" "SoAudioRenderAction *const""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->setAudioRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getAudioRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoAudioRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getAudioRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getAudioRenderAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoAudioRenderAction *)((SoSceneManager const *)arg1)->getAudioRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setHandleEventAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setHandleEventAction" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoSceneManager_setHandleEventAction" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->setHandleEventAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getHandleEventAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - SoHandleEventAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getHandleEventAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_getHandleEventAction" "', argument " "1"" of type '" "SoSceneManager const *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - result = (SoHandleEventAction *)((SoSceneManager const *)arg1)->getHandleEventAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_getDefaultRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_getDefaultRedrawPriority",0,0)) SWIG_fail; - result = (uint32_t)SoSceneManager::getDefaultRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_enableRealTimeUpdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_enableRealTimeUpdate",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoSceneManager_enableRealTimeUpdate" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoSceneManager::enableRealTimeUpdate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_isRealTimeUpdateEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_isRealTimeUpdateEnabled",0,0)) SWIG_fail; - result = (SbBool)SoSceneManager::isRealTimeUpdateEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoSceneManager_setRenderCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSceneManager *arg1 = (SoSceneManager *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoSceneManager_setRenderCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoSceneManager_setRenderCallback" "', argument " "1"" of type '" "SoSceneManager *""'"); - } - arg1 = reinterpret_cast< SoSceneManager * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoSceneManager_setRenderCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSceneManager_setRenderCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoSceneManager__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoSceneManager, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoSceneManager_setRenderCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoSceneManager_setRenderCallback'.\n Possible C/C++ prototypes are:\n"" setRenderCallback(SoSceneManager *,SoSceneManagerRenderCB *,void *const)\n"" setRenderCallback(SoSceneManager *,SoSceneManagerRenderCB *)\n"" setRenderCallback(SoSceneManager *,PyObject *,PyObject *)\n"" setRenderCallback(SoSceneManager *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoSceneManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSceneManager, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbBarrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - SbBarrier *result = 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbBarrier",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbBarrier" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (SbBarrier *)new SbBarrier(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbBarrier, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbBarrier(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBarrier *arg1 = (SbBarrier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbBarrier",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBarrier, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbBarrier" "', argument " "1"" of type '" "SbBarrier *""'"); - } - arg1 = reinterpret_cast< SbBarrier * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbBarrier_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBarrier *arg1 = (SbBarrier *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbBarrier_enter",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbBarrier, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbBarrier_enter" "', argument " "1"" of type '" "SbBarrier *""'"); - } - arg1 = reinterpret_cast< SbBarrier * >(argp1); - result = (int)(arg1)->enter(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbBarrier_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbBarrier, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbMutex",0,0)) SWIG_fail; - result = (SbMutex *)new SbMutex(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbMutex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbMutex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbMutex" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_lock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_lock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (int)(arg1)->lock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_tryLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_tryLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_tryLock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (SbBool)(arg1)->tryLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbMutex_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbMutex_unlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbMutex_unlock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (int)(arg1)->unlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbMutex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbMutex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbThreadAutoLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbMutex *arg1 = (SbMutex *) 0 ; - SbThreadAutoLock *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbThreadAutoLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbThreadAutoLock" "', argument " "1"" of type '" "SbMutex *""'"); - } - arg1 = reinterpret_cast< SbMutex * >(argp1); - result = (SbThreadAutoLock *)new SbThreadAutoLock(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThreadAutoLock, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbThreadAutoLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThreadAutoLock *arg1 = (SbThreadAutoLock *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbThreadAutoLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThreadAutoLock, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbThreadAutoLock" "', argument " "1"" of type '" "SbThreadAutoLock *""'"); - } - arg1 = reinterpret_cast< SbThreadAutoLock * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbThreadAutoLock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbThreadAutoLock, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbCondVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbCondVar",0,0)) SWIG_fail; - result = (SbCondVar *)new SbCondVar(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbCondVar, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbCondVar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbCondVar",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbCondVar" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wait(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - SbMutex *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wait",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wait" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMutex, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCondVar_wait" "', argument " "2"" of type '" "SbMutex &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_wait" "', argument " "2"" of type '" "SbMutex &""'"); - } - arg2 = reinterpret_cast< SbMutex * >(argp2); - result = (SbBool)(arg1)->wait(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_timedWait(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - SbMutex *arg2 = 0 ; - SbTime arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_timedWait",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_timedWait" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbMutex, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbCondVar_timedWait" "', argument " "2"" of type '" "SbMutex &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_timedWait" "', argument " "2"" of type '" "SbMutex &""'"); - } - arg2 = reinterpret_cast< SbMutex * >(argp2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbCondVar_timedWait" "', argument " "3"" of type '" "SbTime""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbCondVar_timedWait" "', argument " "3"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - result = (SbBool)(arg1)->timedWait(*arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wakeOne(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wakeOne",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wakeOne" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - (arg1)->wakeOne(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbCondVar_wakeAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbCondVar *arg1 = (SbCondVar *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbCondVar_wakeAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbCondVar, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbCondVar_wakeAll" "', argument " "1"" of type '" "SbCondVar *""'"); - } - arg1 = reinterpret_cast< SbCondVar * >(argp1); - (arg1)->wakeAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbCondVar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbCondVar, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbFifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbFifo",0,0)) SWIG_fail; - result = (SbFifo *)new SbFifo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbFifo, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbFifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbFifo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbFifo" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - uint32_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - unsigned int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_assign",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_assign" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_assign" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbFifo_assign" "', argument " "3"" of type '" "uint32_t""'"); - } - arg3 = static_cast< uint32_t >(val3); - (arg1)->assign(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_retrieve",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_retrieve" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_retrieve" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_retrieve" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_retrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_retrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - (arg1)->retrieve(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_tryRetrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_tryRetrieve",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_tryRetrieve" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_tryRetrieve" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_tryRetrieve" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_tryRetrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_tryRetrieve" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - result = (SbBool)(arg1)->tryRetrieve(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - unsigned int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_size",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_size" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - result = (unsigned int)((SbFifo const *)arg1)->size(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_lock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_lock" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - ((SbFifo const *)arg1)->lock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_unlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_unlock" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - ((SbFifo const *)arg1)->unlock(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_peek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void **arg2 = 0 ; - uint32_t *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_peek",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_peek" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_peek" "', argument " "2"" of type '" "void *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_peek" "', argument " "2"" of type '" "void *&""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbFifo_peek" "', argument " "3"" of type '" "uint32_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbFifo_peek" "', argument " "3"" of type '" "uint32_t &""'"); - } - arg3 = reinterpret_cast< uint32_t * >(argp3); - result = (SbBool)((SbFifo const *)arg1)->peek(*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_contains",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_contains" "', argument " "1"" of type '" "SbFifo const *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_contains" "', argument " "2"" of type '" "void *""'"); - } - result = (SbBool)((SbFifo const *)arg1)->contains(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbFifo_reclaim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbFifo *arg1 = (SbFifo *) 0 ; - void *arg2 = (void *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbFifo_reclaim",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbFifo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbFifo_reclaim" "', argument " "1"" of type '" "SbFifo *""'"); - } - arg1 = reinterpret_cast< SbFifo * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbFifo_reclaim" "', argument " "2"" of type '" "void *""'"); - } - result = (SbBool)(arg1)->reclaim(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbFifo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbFifo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbRWMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex::Precedence arg1 ; - SbRWMutex *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbRWMutex",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbRWMutex" "', argument " "1"" of type '" "SbRWMutex::Precedence""'"); - } - arg1 = static_cast< SbRWMutex::Precedence >(val1); - result = (SbRWMutex *)new SbRWMutex(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbRWMutex, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbRWMutex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbRWMutex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbRWMutex" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_writeLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_writeLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_writeLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->writeLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_tryWriteLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_tryWriteLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_tryWriteLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (SbBool)(arg1)->tryWriteLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_writeUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_writeUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_writeUnlock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->writeUnlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_readLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_readLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_readLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->readLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_tryReadLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_tryReadLock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_tryReadLock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->tryReadLock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbRWMutex_readUnlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbRWMutex *arg1 = (SbRWMutex *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbRWMutex_readUnlock",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbRWMutex, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbRWMutex_readUnlock" "', argument " "1"" of type '" "SbRWMutex *""'"); - } - arg1 = reinterpret_cast< SbRWMutex * >(argp1); - result = (int)(arg1)->readUnlock(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbRWMutex_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbRWMutex, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbStorage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - SbStorage *result = 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStorage",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStorage" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (SbStorage *)new SbStorage(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStorage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStorage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - void (*arg2)(void *) = (void (*)(void *)) 0 ; - void (*arg3)(void *) = (void (*)(void *)) 0 ; - SbStorage *result = 0 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbStorage",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbStorage" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbStorage" "', argument " "2"" of type '" "void (*)(void *)""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_SbStorage" "', argument " "3"" of type '" "void (*)(void *)""'"); - } - } - result = (SbStorage *)new SbStorage(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStorage, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbStorage(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbStorage__SWIG_0(self, args); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[2], &ptr, SWIGTYPE_p_f_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbStorage__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbStorage'.\n Possible C/C++ prototypes are:\n"" SbStorage(unsigned int)\n"" SbStorage(unsigned int,void (*)(void *),void (*)(void *))\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbStorage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbStorage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbStorage" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStorage_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStorage_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStorage_get" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - result = (void *)(arg1)->get(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbStorage_applyToAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStorage *arg1 = (SbStorage *) 0 ; - SbStorageApplyFunc *arg2 = (SbStorageApplyFunc *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbStorage_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbStorage, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbStorage_applyToAll" "', argument " "1"" of type '" "SbStorage *""'"); - } - arg1 = reinterpret_cast< SbStorage * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbStorage_applyToAll" "', argument " "2"" of type '" "SbStorageApplyFunc *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbStorage_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbStorage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbStorage, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SbThread_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *(*arg1)(void *) = (void *(*)(void *)) 0 ; - void *arg2 = (void *) 0 ; - SbThread *result = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_create",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbThread_create" "', argument " "1"" of type '" "void *(*)(void *)""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_create" "', argument " "2"" of type '" "void *""'"); - } - result = (SbThread *)SbThread::create(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbThread, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_destroy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_destroy" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - SbThread::destroy(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void **arg2 = (void **) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_join" "', argument " "2"" of type '" "void **""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - result = (SbBool)(arg1)->join(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - result = (SbBool)(arg1)->join(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - void **arg2 = (void **) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_void, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbThread_join" "', argument " "2"" of type '" "void **""'"); - } - arg2 = reinterpret_cast< void ** >(argp2); - result = (SbBool)SbThread::join(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbThread *arg1 = (SbThread *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbThread_join",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbThread, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbThread_join" "', argument " "1"" of type '" "SbThread *""'"); - } - arg1 = reinterpret_cast< SbThread * >(argp1); - result = (SbBool)SbThread::join(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbThread_join(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_3(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbThread, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_void, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbThread_join__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbThread_join'.\n Possible C/C++ prototypes are:\n"" join(SbThread *,void **)\n"" join(SbThread *)\n"" join(SbThread *,void **)\n"" SbThread::join(SbThread *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SbThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbThread, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLParent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getTypeId" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = ((SoVRMLParent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_initClass",0,0)) SWIG_fail; - SoVRMLParent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_children_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_children_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_children_set" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_children_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->children = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_children_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoMFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_children_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_children_get" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SoMFNode *)& ((arg1)->children); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_affectsState" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SbBool)((SoVRMLParent const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_addChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_insertChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLParent_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getChild" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLParent const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_findChild" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLParent const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getNumChildren" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (int)((SoVRMLParent const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLParent_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_removeChild'.\n Possible C/C++ prototypes are:\n"" removeChild(SoVRMLParent *,int)\n"" removeChild(SoVRMLParent *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_removeAllChildren" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_replaceChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_replaceChild" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLParent, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_replaceChild'.\n Possible C/C++ prototypes are:\n"" replaceChild(SoVRMLParent *,int,SoNode *)\n"" replaceChild(SoVRMLParent *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getChildren" "', argument " "1"" of type '" "SoVRMLParent const *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - result = (SoChildList *)((SoVRMLParent const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_doAction" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_search" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_write" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLParent *arg1 = (SoVRMLParent *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLParent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLParent *""'"); - } - arg1 = reinterpret_cast< SoVRMLParent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode **arg1 = (SoNode **) 0 ; - int arg2 ; - SoChildList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_updateChildList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_updateChildList" "', argument " "1"" of type '" "SoNode const *const *""'"); - } - arg1 = reinterpret_cast< SoNode ** >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SoChildList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLParent_updateChildList" "', argument " "3"" of type '" "SoChildList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLParent_updateChildList" "', argument " "3"" of type '" "SoChildList &""'"); - } - arg3 = reinterpret_cast< SoChildList * >(argp3); - SoVRMLParent::updateChildList((SoNode const *const *)arg1,arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNode *arg1 = (SoNode *) 0 ; - SoChildList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLParent_updateChildList",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLParent_updateChildList" "', argument " "1"" of type '" "SoNode *""'"); - } - arg1 = reinterpret_cast< SoNode * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoChildList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "SoChildList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLParent_updateChildList" "', argument " "2"" of type '" "SoChildList &""'"); - } - arg2 = reinterpret_cast< SoChildList * >(argp2); - SoVRMLParent::updateChildList(arg1,*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLParent_updateChildList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_updateChildList__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoChildList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLParent_updateChildList__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLParent_updateChildList'.\n Possible C/C++ prototypes are:\n"" updateChildList(SoNode const *const *,int const,SoChildList &)\n"" SoVRMLParent::updateChildList(SoNode *,SoChildList &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLParent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLParent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAnchor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_getTypeId" "', argument " "1"" of type '" "SoVRMLAnchor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = ((SoVRMLAnchor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_initClass",0,0)) SWIG_fail; - SoVRMLAnchor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAnchor",0,0)) SWIG_fail; - result = (SoVRMLAnchor *)new SoVRMLAnchor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAnchor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_url_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_url_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_description_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_description_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_parameter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_parameter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_parameter_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_parameter_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->parameter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_parameter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_parameter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_parameter_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoMFString *)& ((arg1)->parameter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxSize_set" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_bboxSize_get" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchorCB *arg1 = (SoVRMLAnchorCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAnchor_setFetchURLCallBack" "', argument " "1"" of type '" "SoVRMLAnchorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLAnchor::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAnchor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAnchor *arg1 = (SoVRMLAnchor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAnchor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAnchor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAnchor_handleEvent" "', argument " "1"" of type '" "SoVRMLAnchor *""'"); - } - arg1 = reinterpret_cast< SoVRMLAnchor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAnchor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAnchor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAnchor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAppearance::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_getTypeId" "', argument " "1"" of type '" "SoVRMLAppearance const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = ((SoVRMLAppearance const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_initClass",0,0)) SWIG_fail; - SoVRMLAppearance::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAppearance",0,0)) SWIG_fail; - result = (SoVRMLAppearance *)new SoVRMLAppearance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAppearance, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_material_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_material_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_material_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_material_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->material = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_material_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_material_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_material_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->material); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_texture_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_texture_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_texture_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_texture_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texture = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_texture_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_texture_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_texture_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->texture); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_textureTransform_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_textureTransform_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_textureTransform_set" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_textureTransform_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->textureTransform = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_textureTransform_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_textureTransform_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_textureTransform_get" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoSFNode *)& ((arg1)->textureTransform); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_doAction" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_callback" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_GLRender" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_search" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_getChildren" "', argument " "1"" of type '" "SoVRMLAppearance const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - result = (SoChildList *)((SoVRMLAppearance const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_notify" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAppearance_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAppearance *arg1 = (SoVRMLAppearance *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAppearance_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAppearance, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAppearance_copyContents" "', argument " "1"" of type '" "SoVRMLAppearance *""'"); - } - arg1 = reinterpret_cast< SoVRMLAppearance * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAppearance_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLAppearance_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAppearance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAppearance, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_getTypeId" "', argument " "1"" of type '" "SoVRMLAudioClip const *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = ((SoVRMLAudioClip const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_initClass",0,0)) SWIG_fail; - SoVRMLAudioClip::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLAudioClip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLAudioClip",0,0)) SWIG_fail; - result = (SoVRMLAudioClip *)new SoVRMLAudioClip(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLAudioClip, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_description_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_description_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_loop_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_loop_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_pitch_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_pitch_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_pitch_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_pitch_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->pitch = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_pitch_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_pitch_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_pitch_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFFloat *)& ((arg1)->pitch); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_startTime_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_startTime_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_stopTime_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_stopTime_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_url_set" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_url_get" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setSubdirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbList *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setSubdirectories",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbListTSbString_t, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setSubdirectories" "', argument " "1"" of type '" "SbList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setSubdirectories" "', argument " "1"" of type '" "SbList const &""'"); - } - arg1 = reinterpret_cast< SbList * >(argp1); - SoVRMLAudioClip::setSubdirectories((SbList const &)*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getSubdirectories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbStringList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getSubdirectories",0,0)) SWIG_fail; - { - SbStringList const &_result_ref = SoVRMLAudioClip::getSubdirectories(); - result = (SbStringList *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbStringList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultPauseBetweenTracks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultPauseBetweenTracks" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultPauseBetweenTracks" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultPauseBetweenTracks(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultPauseBetweenTracks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultPauseBetweenTracks(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultIntroPause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultIntroPause",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultIntroPause" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultIntroPause" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultIntroPause(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultIntroPause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultIntroPause",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultIntroPause(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultSampleRate",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLAudioClip_setDefaultSampleRate" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLAudioClip::setDefaultSampleRate(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultSampleRate",0,0)) SWIG_fail; - result = (int)SoVRMLAudioClip::getDefaultSampleRate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setDefaultTimerInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime arg1 ; - void *argp1 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setDefaultTimerInterval",1,1,&obj0)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setDefaultTimerInterval" "', argument " "1"" of type '" "SbTime""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_setDefaultTimerInterval" "', argument " "1"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - SoVRMLAudioClip::setDefaultTimerInterval(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getDefaultTimerInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getDefaultTimerInterval",0,0)) SWIG_fail; - result = SoVRMLAudioClip::getDefaultTimerInterval(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_getSampleRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_getSampleRate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_getSampleRate" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - result = (int)(arg1)->getSampleRate(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_open(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SbStringList *arg2 = 0 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_open",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_open" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbStringList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_open" "', argument " "2"" of type '" "SbStringList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_open" "', argument " "2"" of type '" "SbStringList const &""'"); - } - arg2 = reinterpret_cast< SbStringList * >(argp2); - result = (void *)(arg1)->open((SbStringList const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - void *arg3 = (void *) 0 ; - int arg4 ; - int *arg5 = 0 ; - size_t result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int res3 ; - int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_read",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_read" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_read" "', argument " "2"" of type '" "void *""'"); - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLAudioClip_read" "', argument " "3"" of type '" "void *""'"); - } - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVRMLAudioClip_read" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoVRMLAudioClip_read" "', argument " "5"" of type '" "int &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLAudioClip_read" "', argument " "5"" of type '" "int &""'"); - } - arg5 = reinterpret_cast< int * >(argp5); - result = (arg1)->read(arg2,arg3,arg4,*arg5); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_seek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - long arg3 ; - int arg4 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - long val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_seek",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_seek" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_seek" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLAudioClip_seek" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoVRMLAudioClip_seek" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - result = (int)(arg1)->seek(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_tell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - long result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_tell",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_tell" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_tell" "', argument " "2"" of type '" "void *""'"); - } - result = (long)(arg1)->tell(arg2); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - void *arg2 = (void *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_close",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_close" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLAudioClip_close" "', argument " "2"" of type '" "void *""'"); - } - result = (int)(arg1)->close(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLAudioClip_setCallbacks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLAudioClip *arg1 = (SoVRMLAudioClip *) 0 ; - SoVRMLAudioClip::open_func *arg2 = (SoVRMLAudioClip::open_func *) 0 ; - SoVRMLAudioClip::read_func *arg3 = (SoVRMLAudioClip::read_func *) 0 ; - SoVRMLAudioClip::seek_func *arg4 = (SoVRMLAudioClip::seek_func *) 0 ; - SoVRMLAudioClip::tell_func *arg5 = (SoVRMLAudioClip::tell_func *) 0 ; - SoVRMLAudioClip::close_func *arg6 = (SoVRMLAudioClip::close_func *) 0 ; - void *arg7 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res7 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLAudioClip_setCallbacks",7,7,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLAudioClip, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "1"" of type '" "SoVRMLAudioClip *""'"); - } - arg1 = reinterpret_cast< SoVRMLAudioClip * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "2"" of type '" "SoVRMLAudioClip::open_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "3"" of type '" "SoVRMLAudioClip::read_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "4"" of type '" "SoVRMLAudioClip::seek_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj4, (void**)(&arg5), SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__long); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "5"" of type '" "SoVRMLAudioClip::tell_func *""'"); - } - } - { - int res = SWIG_ConvertFunctionPtr(obj5, (void**)(&arg6), SWIGTYPE_p_f_p_void_p_SoVRMLAudioClip_p_void__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "6"" of type '" "SoVRMLAudioClip::close_func *""'"); - } - } - res7 = SWIG_ConvertPtr(obj6,SWIG_as_voidptrptr(&arg7), 0, 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SoVRMLAudioClip_setCallbacks" "', argument " "7"" of type '" "void *""'"); - } - (arg1)->setCallbacks(arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLAudioClip_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLAudioClip, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBackground::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_getTypeId" "', argument " "1"" of type '" "SoVRMLBackground const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = ((SoVRMLBackground const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_initClass",0,0)) SWIG_fail; - SoVRMLBackground::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBackground",0,0)) SWIG_fail; - result = (SoVRMLBackground *)new SoVRMLBackground(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBackground, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundColor_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_groundColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->groundColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundColor_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFColor *)& ((arg1)->groundColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundAngle_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_groundAngle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->groundAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_groundAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_groundAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_groundAngle_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFFloat *)& ((arg1)->groundAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyColor_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_skyColor_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->skyColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyColor_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFColor *)& ((arg1)->skyColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyAngle_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_skyAngle_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->skyAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_skyAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_skyAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_skyAngle_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFFloat *)& ((arg1)->skyAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_backUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_backUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_backUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_backUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->backUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_backUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_backUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_backUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->backUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_bottomUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_bottomUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_bottomUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_bottomUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->bottomUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_bottomUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_bottomUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_bottomUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->bottomUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_frontUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_frontUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_frontUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_frontUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->frontUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_frontUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_frontUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_frontUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->frontUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_leftUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_leftUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_leftUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_leftUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->leftUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_leftUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_leftUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_leftUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->leftUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_rightUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_rightUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_rightUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_rightUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->rightUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_rightUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_rightUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_rightUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->rightUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_topUrl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_topUrl_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_topUrl_set" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_topUrl_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->topUrl = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_topUrl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_topUrl_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_topUrl_get" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - result = (SoMFString *)& ((arg1)->topUrl); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBackground_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBackground *arg1 = (SoVRMLBackground *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBackground_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBackground, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBackground_GLRender" "', argument " "1"" of type '" "SoVRMLBackground *""'"); - } - arg1 = reinterpret_cast< SoVRMLBackground * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBackground_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBackground_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBackground, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBillboard::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getTypeId" "', argument " "1"" of type '" "SoVRMLBillboard const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = ((SoVRMLBillboard const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_initClass",0,0)) SWIG_fail; - SoVRMLBillboard::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBillboard",0,0)) SWIG_fail; - result = (SoVRMLBillboard *)new SoVRMLBillboard(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBillboard, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLBillboard *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBillboard",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLBillboard" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLBillboard *)new SoVRMLBillboard(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBillboard, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBillboard(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLBillboard__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLBillboard__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLBillboard'.\n Possible C/C++ prototypes are:\n"" SoVRMLBillboard()\n"" SoVRMLBillboard(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_axisOfRotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_axisOfRotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_axisOfRotation_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_axisOfRotation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->axisOfRotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_axisOfRotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_axisOfRotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_axisOfRotation_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->axisOfRotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxSize_set" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_bboxSize_get" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_doAction" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_callback" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRender" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getBoundingBox" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_getMatrix" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_pick" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_search" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBillboard_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBillboard *arg1 = (SoVRMLBillboard *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBillboard_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBillboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBillboard_notify" "', argument " "1"" of type '" "SoVRMLBillboard *""'"); - } - arg1 = reinterpret_cast< SoVRMLBillboard * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBillboard_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBillboard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBillboard, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLGeometry::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_getTypeId" "', argument " "1"" of type '" "SoVRMLGeometry const *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - result = ((SoVRMLGeometry const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_initClass",0,0)) SWIG_fail; - SoVRMLGeometry::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_search" "', argument " "1"" of type '" "SoVRMLGeometry *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGeometry_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGeometry_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGeometry *arg1 = (SoVRMLGeometry *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGeometry_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGeometry, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGeometry_copyContents" "', argument " "1"" of type '" "SoVRMLGeometry *""'"); - } - arg1 = reinterpret_cast< SoVRMLGeometry * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGeometry_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLGeometry_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLGeometry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLGeometry, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLBox::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_getTypeId" "', argument " "1"" of type '" "SoVRMLBox const *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - result = ((SoVRMLBox const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_initClass",0,0)) SWIG_fail; - SoVRMLBox::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLBox",0,0)) SWIG_fail; - result = (SoVRMLBox *)new SoVRMLBox(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLBox, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_size_set" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_size_get" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_GLRender" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_rayPick" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLBox_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLBox *arg1 = (SoVRMLBox *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLBox_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLBox, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLBox_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLBox *""'"); - } - arg1 = reinterpret_cast< SoVRMLBox * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLBox_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLBox, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLGroup::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getTypeId" "', argument " "1"" of type '" "SoVRMLGroup const *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = ((SoVRMLGroup const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_initClass",0,0)) SWIG_fail; - SoVRMLGroup::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLGroup",0,0)) SWIG_fail; - result = (SoVRMLGroup *)new SoVRMLGroup(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLGroup *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLGroup",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLGroup" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLGroup *)new SoVRMLGroup(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLGroup, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLGroup__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLGroup__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLGroup'.\n Possible C/C++ prototypes are:\n"" SoVRMLGroup()\n"" SoVRMLGroup(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCaching_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCaching_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_boundingBoxCaching_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_boundingBoxCaching_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCulling_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_renderCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_renderCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_renderCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_renderCulling_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_pickCulling_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_pickCulling_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_pickCulling_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_pickCulling_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->pickCulling = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_pickCulling_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_pickCulling_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_pickCulling_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFEnum *)& ((arg1)->pickCulling); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxSize_set" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_bboxSize_get" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLGroup_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLGroup::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoVRMLGroup::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_doAction" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_callback" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRender" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getBoundingBox" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getMatrix" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_rayPick" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_search" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_write" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_audioRender" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLGroup_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLGroup *arg1 = (SoVRMLGroup *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLGroup_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLGroup, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLGroup_notify" "', argument " "1"" of type '" "SoVRMLGroup *""'"); - } - arg1 = reinterpret_cast< SoVRMLGroup * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLGroup_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLGroup_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLGroup, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCollision::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_getTypeId" "', argument " "1"" of type '" "SoVRMLCollision const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = ((SoVRMLCollision const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_initClass",0,0)) SWIG_fail; - SoVRMLCollision::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCollision",0,0)) SWIG_fail; - result = (SoVRMLCollision *)new SoVRMLCollision(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCollision, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLCollision *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCollision",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLCollision" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLCollision *)new SoVRMLCollision(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCollision, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCollision(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLCollision__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLCollision__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLCollision'.\n Possible C/C++ prototypes are:\n"" SoVRMLCollision()\n"" SoVRMLCollision(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collide_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collide_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collide_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_collide_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->collide = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collide_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collide_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collide_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFBool *)& ((arg1)->collide); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_proxy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_proxy_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_proxy_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_proxy_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->proxy = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_proxy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_proxy_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_proxy_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFNode *)& ((arg1)->proxy); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collideTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collideTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collideTime_set" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_collideTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->collideTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_collideTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_collideTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_collideTime_get" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - result = (SoSFTime *)& ((arg1)->collideTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_GLRender" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCollision_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCollision *arg1 = (SoVRMLCollision *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCollision_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCollision, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCollision_notify" "', argument " "1"" of type '" "SoVRMLCollision *""'"); - } - arg1 = reinterpret_cast< SoVRMLCollision * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCollision_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCollision_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCollision, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLColor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLColor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_getTypeId" "', argument " "1"" of type '" "SoVRMLColor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - result = ((SoVRMLColor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_initClass",0,0)) SWIG_fail; - SoVRMLColor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLColor",0,0)) SWIG_fail; - result = (SoVRMLColor *)new SoVRMLColor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLColor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_color_set" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_color_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_color_get" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - result = (SoMFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_doAction" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_GLRender" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColor *arg1 = (SoVRMLColor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColor_callback" "', argument " "1"" of type '" "SoVRMLColor *""'"); - } - arg1 = reinterpret_cast< SoVRMLColor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLColor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = ((SoVRMLInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_key_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_key_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_key_set" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInterpolator_key_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->key = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_key_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_key_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_key_get" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoMFFloat *)& ((arg1)->key); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_set_fraction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_set_fraction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_set_fraction_set" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInterpolator_set_fraction_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->set_fraction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_set_fraction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInterpolator *arg1 = (SoVRMLInterpolator *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_set_fraction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInterpolator_set_fraction_get" "', argument " "1"" of type '" "SoVRMLInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLInterpolator * >(argp1); - result = (SoSFFloat *)& ((arg1)->set_fraction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLColorInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLColorInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = ((SoVRMLColorInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLColorInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLColorInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLColorInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLColorInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLColorInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLColorInterpolator",0,0)) SWIG_fail; - result = (SoVRMLColorInterpolator *)new SoVRMLColorInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLColorInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoMFColor *arg2 = (SoMFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColorInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFColor *""'"); - } - arg2 = reinterpret_cast< SoMFColor * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoMFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoMFColor *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLColorInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLColorInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLColorInterpolator *arg1 = (SoVRMLColorInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLColorInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLColorInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLColorInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLColorInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLColorInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLColorInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLColorInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCone::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_getTypeId" "', argument " "1"" of type '" "SoVRMLCone const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = ((SoVRMLCone const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_initClass",0,0)) SWIG_fail; - SoVRMLCone::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCone",0,0)) SWIG_fail; - result = (SoVRMLCone *)new SoVRMLCone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCone, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottomRadius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottomRadius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottomRadius_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_bottomRadius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->bottomRadius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottomRadius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottomRadius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottomRadius_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->bottomRadius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_height_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_height_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_side_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_side_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_side_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_side_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->side = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_side_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_side_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_side_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFBool *)& ((arg1)->side); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottom_set" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_bottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->bottom = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_bottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_bottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_bottom_get" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - result = (SoSFBool *)& ((arg1)->bottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_GLRender" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_rayPick" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCone_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCone *arg1 = (SoVRMLCone *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCone_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCone, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCone_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLCone *""'"); - } - arg1 = reinterpret_cast< SoVRMLCone * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCone_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCone, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_getTypeId" "', argument " "1"" of type '" "SoVRMLCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - result = ((SoVRMLCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_initClass",0,0)) SWIG_fail; - SoVRMLCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCoordinate",0,0)) SWIG_fail; - result = (SoVRMLCoordinate *)new SoVRMLCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_point_set" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_point_get" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - result = (SoMFVec3f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_doAction" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_GLRender" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_getBoundingBox" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_callback" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinate *arg1 = (SoVRMLCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinate_pick" "', argument " "1"" of type '" "SoVRMLCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCoordinateInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = ((SoVRMLCoordinateInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLCoordinateInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLCoordinateInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLCoordinateInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCoordinateInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCoordinateInterpolator",0,0)) SWIG_fail; - result = (SoVRMLCoordinateInterpolator *)new SoVRMLCoordinateInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCoordinateInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinateInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCoordinateInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCoordinateInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCoordinateInterpolator *arg1 = (SoVRMLCoordinateInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCoordinateInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCoordinateInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCoordinateInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLCoordinateInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLCoordinateInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCoordinateInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCoordinateInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCylinder::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_getTypeId" "', argument " "1"" of type '" "SoVRMLCylinder const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = ((SoVRMLCylinder const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_initClass",0,0)) SWIG_fail; - SoVRMLCylinder::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCylinder",0,0)) SWIG_fail; - result = (SoVRMLCylinder *)new SoVRMLCylinder(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCylinder, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_radius_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_radius_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_height_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_height_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_height_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_side_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_side_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_side_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_side_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->side = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_side_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_side_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_side_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->side); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_top_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_top_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_top_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_top_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->top = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_top_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_top_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_top_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->top); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_bottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_bottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_bottom_set" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_bottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->bottom = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_bottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_bottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_bottom_get" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - result = (SoSFBool *)& ((arg1)->bottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_GLRender" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_rayPick" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinder_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinder *arg1 = (SoVRMLCylinder *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinder_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinder, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinder_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLCylinder *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinder * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinder_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCylinder, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = ((SoVRMLSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSensor *arg1 = (SoVRMLSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSensor_initClass",0,0)) SWIG_fail; - SoVRMLSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLDragSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLDragSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = ((SoVRMLDragSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_trackPoint_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_trackPoint_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_trackPoint_changed_set" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_trackPoint_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->trackPoint_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_trackPoint_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_trackPoint_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_trackPoint_changed_get" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->trackPoint_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_autoOffset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_autoOffset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_autoOffset_set" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_autoOffset_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->autoOffset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_autoOffset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_autoOffset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_autoOffset_get" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->autoOffset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDragSensor *arg1 = (SoVRMLDragSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDragSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDragSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLDragSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLDragSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDragSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDragSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDragSensor_initClass",0,0)) SWIG_fail; - SoVRMLDragSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLDragSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLDragSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLCylinderSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLCylinderSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = ((SoVRMLCylinderSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_initClass",0,0)) SWIG_fail; - SoVRMLCylinderSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLCylinderSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLCylinderSensor",0,0)) SWIG_fail; - result = (SoVRMLCylinderSensor *)new SoVRMLCylinderSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLCylinderSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_diskAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_diskAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_diskAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_diskAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->diskAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_diskAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_diskAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_diskAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->diskAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_maxAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_maxAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_maxAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_maxAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_maxAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_maxAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_maxAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_minAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_minAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_minAngle_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_minAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_minAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_minAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_minAngle_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->minAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_offset_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_offset_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->offset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_offset_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFFloat *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_rotation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_rotation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_rotation_changed_set" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLCylinderSensor_rotation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLCylinderSensor_rotation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLCylinderSensor *arg1 = (SoVRMLCylinderSensor *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLCylinderSensor_rotation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLCylinderSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLCylinderSensor_rotation_changed_get" "', argument " "1"" of type '" "SoVRMLCylinderSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLCylinderSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLCylinderSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLCylinderSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_getTypeId" "', argument " "1"" of type '" "SoVRMLLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = ((SoVRMLLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_initClass",0,0)) SWIG_fail; - SoVRMLLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_on_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_on_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_on_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_on_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->on = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_on_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_on_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_on_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFBool *)& ((arg1)->on); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_intensity_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_intensity_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_color_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_color_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_ambientIntensity_set" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_ambientIntensity_get" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLight *arg1 = (SoVRMLLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLight_GLRender" "', argument " "1"" of type '" "SoVRMLLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLDirectionalLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_getTypeId" "', argument " "1"" of type '" "SoVRMLDirectionalLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - result = ((SoVRMLDirectionalLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_initClass",0,0)) SWIG_fail; - SoVRMLDirectionalLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLDirectionalLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLDirectionalLight",0,0)) SWIG_fail; - result = (SoVRMLDirectionalLight *)new SoVRMLDirectionalLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLDirectionalLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_direction_set" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDirectionalLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_direction_get" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLDirectionalLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLDirectionalLight *arg1 = (SoVRMLDirectionalLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLDirectionalLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLDirectionalLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLDirectionalLight_GLRender" "', argument " "1"" of type '" "SoVRMLDirectionalLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLDirectionalLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLDirectionalLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLDirectionalLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLDirectionalLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLElevationGrid::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_getTypeId" "', argument " "1"" of type '" "SoVRMLElevationGrid const *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = ((SoVRMLElevationGrid const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_initClass",0,0)) SWIG_fail; - SoVRMLElevationGrid::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLElevationGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLElevationGrid",0,0)) SWIG_fail; - result = (SoVRMLElevationGrid *)new SoVRMLElevationGrid(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLElevationGrid, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_ccw_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_ccw_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_solid_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_solid_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zDimension_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zDimension_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zDimension_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_zDimension_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->zDimension = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zDimension_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zDimension_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zDimension_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFInt32 *)& ((arg1)->zDimension); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xDimension_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xDimension_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xDimension_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_xDimension_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->xDimension = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xDimension_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xDimension_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xDimension_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFInt32 *)& ((arg1)->xDimension); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zSpacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zSpacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zSpacing_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_zSpacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->zSpacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_zSpacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_zSpacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_zSpacing_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->zSpacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xSpacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xSpacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xSpacing_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_xSpacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->xSpacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_xSpacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_xSpacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_xSpacing_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFFloat *)& ((arg1)->xSpacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_height_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_height_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_height_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->height = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_height_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_height_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoMFFloat *)& ((arg1)->height); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_texCoord_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_texCoord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_texCoord_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normal_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_normal_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->normal = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normal_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_color_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_color_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normalPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normalPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normalPerVertex_set" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_normalPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->normalPerVertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_normalPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_normalPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_normalPerVertex_get" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - result = (SoSFBool *)& ((arg1)->normalPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_GLRender" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_rayPick" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLElevationGrid_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLElevationGrid *arg1 = (SoVRMLElevationGrid *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLElevationGrid_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLElevationGrid, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLElevationGrid_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLElevationGrid *""'"); - } - arg1 = reinterpret_cast< SoVRMLElevationGrid * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLElevationGrid_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLElevationGrid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLElevationGrid, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLExtrusion::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_getTypeId" "', argument " "1"" of type '" "SoVRMLExtrusion const *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = ((SoVRMLExtrusion const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_initClass",0,0)) SWIG_fail; - SoVRMLExtrusion::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLExtrusion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLExtrusion",0,0)) SWIG_fail; - result = (SoVRMLExtrusion *)new SoVRMLExtrusion(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLExtrusion, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_beginCap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_beginCap_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_beginCap_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_beginCap_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->beginCap = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_beginCap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_beginCap_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_beginCap_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->beginCap); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_ccw_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_ccw_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_convex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_convex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_convex_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_convex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->convex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_convex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_convex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_convex_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->convex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_crossSection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_crossSection_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_crossSection_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_crossSection_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->crossSection = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_crossSection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_crossSection_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_crossSection_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec2f *)& ((arg1)->crossSection); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_endCap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_endCap_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_endCap_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_endCap_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->endCap = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_endCap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_endCap_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_endCap_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->endCap); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_orientation_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_orientation_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_orientation_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_scale_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_scale_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_scale_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec2f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_solid_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_solid_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_spine_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_spine_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_spine_set" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_spine_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->spine = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_spine_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_spine_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_spine_get" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - result = (SoMFVec3f *)& ((arg1)->spine); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_GLRender" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLExtrusion_computeBBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLExtrusion *arg1 = (SoVRMLExtrusion *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - SbBox3f *arg3 = 0 ; - SbVec3f *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLExtrusion_computeBBox",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLExtrusion, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "1"" of type '" "SoVRMLExtrusion *""'"); - } - arg1 = reinterpret_cast< SoVRMLExtrusion * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbBox3f, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "3"" of type '" "SbBox3f &""'"); - } - arg3 = reinterpret_cast< SbBox3f * >(argp3); - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbVec3f, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLExtrusion_computeBBox" "', argument " "4"" of type '" "SbVec3f &""'"); - } - arg4 = reinterpret_cast< SbVec3f * >(argp4); - (arg1)->computeBBox(arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLExtrusion_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLExtrusion, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLFog_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLFog::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_getTypeId" "', argument " "1"" of type '" "SoVRMLFog const *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = ((SoVRMLFog const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_initClass",0,0)) SWIG_fail; - SoVRMLFog::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLFog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLFog",0,0)) SWIG_fail; - result = (SoVRMLFog *)new SoVRMLFog(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLFog, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_fogType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_fogType_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_fogType_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_fogType_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->fogType = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_fogType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_fogType_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_fogType_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFString *)& ((arg1)->fogType); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_visibilityRange_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_visibilityRange_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_visibilityRange_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_visibilityRange_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->visibilityRange = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_visibilityRange_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_visibilityRange_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_visibilityRange_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFFloat *)& ((arg1)->visibilityRange); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_color_set" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_color_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_color_get" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - result = (SoSFColor *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFog_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFog *arg1 = (SoVRMLFog *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFog_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFog, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFog_GLRender" "', argument " "1"" of type '" "SoVRMLFog *""'"); - } - arg1 = reinterpret_cast< SoVRMLFog * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFog_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLFog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLFog, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLFontStyle::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getTypeId" "', argument " "1"" of type '" "SoVRMLFontStyle const *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = ((SoVRMLFontStyle const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_initClass",0,0)) SWIG_fail; - SoVRMLFontStyle::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLFontStyle",0,0)) SWIG_fail; - result = (SoVRMLFontStyle *)new SoVRMLFontStyle(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLFontStyle, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_size_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_size_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_size_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_family_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_family_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_family_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_family_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->family = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_family_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_family_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_family_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->family); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_style_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_style_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_style_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->style = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_style_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_style_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->style); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_horizontal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_horizontal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_horizontal_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_horizontal_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->horizontal = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_horizontal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_horizontal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_horizontal_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->horizontal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_leftToRight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_leftToRight_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_leftToRight_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_leftToRight_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->leftToRight = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_leftToRight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_leftToRight_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_leftToRight_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->leftToRight); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_topToBottom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_topToBottom_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_topToBottom_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_topToBottom_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->topToBottom = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_topToBottom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_topToBottom_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_topToBottom_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFBool *)& ((arg1)->topToBottom); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_language_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_language_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_language_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_language_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->language = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_language_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_language_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_language_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFString *)& ((arg1)->language); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_justify_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_justify_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_justify_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_justify_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->justify = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_justify_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_justify_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_justify_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoMFString *)& ((arg1)->justify); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_spacing_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_spacing_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_spacing_set" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_spacing_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->spacing = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_spacing_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_spacing_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_spacing_get" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (SoSFFloat *)& ((arg1)->spacing); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getFontName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getFontName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getFontName" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - result = (arg1)->getFontName(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_doAction" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_callback" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_GLRender" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getBoundingBox" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_pick" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLFontStyle_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLFontStyle *arg1 = (SoVRMLFontStyle *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLFontStyle_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLFontStyle, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLFontStyle_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLFontStyle *""'"); - } - arg1 = reinterpret_cast< SoVRMLFontStyle * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLFontStyle_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLFontStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLFontStyle, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_so_vrml_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"so_vrml_init",0,0)) SWIG_fail; - so_vrml_init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = ((SoVRMLTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_initClass",0,0)) SWIG_fail; - SoVRMLTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatS_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatS_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatS_set" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_repeatS_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->repeatS = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatS_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatS_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatS_get" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->repeatS); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatT_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatT_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatT_set" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_repeatT_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->repeatT = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_repeatT_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_repeatT_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_repeatT_get" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->repeatT); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTexture *arg1 = (SoVRMLTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTexture_GLRender" "', argument " "1"" of type '" "SoVRMLTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLImageTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLImageTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = ((SoVRMLImageTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_initClass",0,0)) SWIG_fail; - SoVRMLImageTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLImageTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLImageTexture",0,0)) SWIG_fail; - result = (SoVRMLImageTexture *)new SoVRMLImageTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLImageTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_url_set" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_url_get" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setDelayFetchURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setDelayFetchURL",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLImageTexture_setDelayFetchURL" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoVRMLImageTexture::setDelayFetchURL(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setPrequalifyFileCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - VRMLPrequalifyFileCallback *arg1 = (VRMLPrequalifyFileCallback *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setPrequalifyFileCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLImageTexture_setPrequalifyFileCallBack" "', argument " "1"" of type '" "VRMLPrequalifyFileCallback *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_setPrequalifyFileCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLImageTexture::setPrequalifyFileCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_allowPrequalifyFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_allowPrequalifyFile",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_allowPrequalifyFile" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLImageTexture_allowPrequalifyFile" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->allowPrequalifyFile(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_doAction" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_GLRender" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_callback" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_rayPick" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SbImage *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setImage",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_setImage" "', argument " "1"" of type '" "SoVRMLImageTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbImage, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLImageTexture_setImage" "', argument " "2"" of type '" "SbImage const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLImageTexture_setImage" "', argument " "2"" of type '" "SbImage const &""'"); - } - arg2 = reinterpret_cast< SbImage * >(argp2); - (arg1)->setImage((SbImage const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_getImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLImageTexture *arg1 = (SoVRMLImageTexture *) 0 ; - SbImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_getImage",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLImageTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLImageTexture_getImage" "', argument " "1"" of type '" "SoVRMLImageTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLImageTexture * >(argp1); - result = (SbImage *)((SoVRMLImageTexture const *)arg1)->getImage(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLImageTexture_setImageDataMaxAge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLImageTexture_setImageDataMaxAge",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLImageTexture_setImageDataMaxAge" "', argument " "1"" of type '" "uint32_t""'"); - } - arg1 = static_cast< uint32_t >(val1); - SoVRMLImageTexture::setImageDataMaxAge(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLImageTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLImageTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = ((SoVRMLVertexShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_initClass",0,0)) SWIG_fail; - SoVRMLVertexShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_coord_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_coord_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_texCoord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_texCoord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_texCoord_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_texCoord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->texCoord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_texCoord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_texCoord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_texCoord_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->texCoord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normal_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normal_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normal_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_normal_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->normal = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normal_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normal_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normal_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->normal); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_color_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_color_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normalPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normalPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normalPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_normalPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->normalPerVertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_normalPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_normalPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_normalPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - result = (SoSFBool *)& ((arg1)->normalPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLVertexShape_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLVertexShape, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLVertexShape_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLVertexShape_generateDefaultNormals'.\n Possible C/C++ prototypes are:\n"" generateDefaultNormals(SoVRMLVertexShape *,SoState *,SoNormalBundle *)\n"" generateDefaultNormals(SoVRMLVertexShape *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_doAction" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_GLRender" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_callback" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_pick" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexShape *arg1 = (SoVRMLVertexShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexShape_notify" "', argument " "1"" of type '" "SoVRMLVertexShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = ((SoVRMLIndexedShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_initClass",0,0)) SWIG_fail; - SoVRMLIndexedShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_coordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_coordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_colorIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_colorIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_colorIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_colorIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->colorIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_colorIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_colorIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_colorIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->colorIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_normalIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_normalIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_normalIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_normalIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->normalIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_normalIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_normalIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_normalIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->normalIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_texCoordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_texCoordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_texCoordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedShape_texCoordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->texCoordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedShape_texCoordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedShape *arg1 = (SoVRMLIndexedShape *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedShape_texCoordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedShape_texCoordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedShape * >(argp1); - result = (SoMFInt32 *)& ((arg1)->texCoordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedFaceSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = ((SoVRMLIndexedFaceSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_initClass",0,0)) SWIG_fail; - SoVRMLIndexedFaceSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLIndexedFaceSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLIndexedFaceSet",0,0)) SWIG_fail; - result = (SoVRMLIndexedFaceSet *)new SoVRMLIndexedFaceSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLIndexedFaceSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_ccw_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_ccw_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_ccw_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_ccw_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->ccw = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_ccw_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_ccw_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_ccw_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->ccw); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_solid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_solid_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_solid_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_solid_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->solid = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_solid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_solid_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_solid_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->solid); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_convex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_convex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_convex_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_convex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->convex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_convex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_convex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_convex_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFBool *)& ((arg1)->convex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_creaseAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_creaseAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_set" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->creaseAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_creaseAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_creaseAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_creaseAngle_get" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - result = (SoSFFloat *)& ((arg1)->creaseAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_GLRender" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalBundle *arg3 = (SoNormalBundle *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalBundle, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalBundle *""'"); - } - arg3 = reinterpret_cast< SoNormalBundle * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedFaceSet *arg1 = (SoVRMLIndexedFaceSet *) 0 ; - SoState *arg2 = (SoState *) 0 ; - SoNormalCache *arg3 = (SoNormalCache *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedFaceSet_generateDefaultNormals",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedFaceSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "1"" of type '" "SoVRMLIndexedFaceSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedFaceSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoState, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "2"" of type '" "SoState *""'"); - } - arg2 = reinterpret_cast< SoState * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNormalCache, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLIndexedFaceSet_generateDefaultNormals" "', argument " "3"" of type '" "SoNormalCache *""'"); - } - arg3 = reinterpret_cast< SoNormalCache * >(argp3); - result = (SbBool)(arg1)->generateDefaultNormals(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedFaceSet_generateDefaultNormals(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalBundle, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLIndexedFaceSet, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoState, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNormalCache, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLIndexedFaceSet_generateDefaultNormals'.\n Possible C/C++ prototypes are:\n"" generateDefaultNormals(SoVRMLIndexedFaceSet *,SoState *,SoNormalBundle *)\n"" generateDefaultNormals(SoVRMLIndexedFaceSet *,SoState *,SoNormalCache *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedFaceSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedFaceSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexLine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexLine const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = ((SoVRMLVertexLine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_initClass",0,0)) SWIG_fail; - SoVRMLVertexLine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_coord_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_coord_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_color_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_color_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_colorPerVertex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_colorPerVertex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_colorPerVertex_set" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_colorPerVertex_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->colorPerVertex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_colorPerVertex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_colorPerVertex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_colorPerVertex_get" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - result = (SoSFBool *)& ((arg1)->colorPerVertex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_doAction" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_GLRender" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_callback" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_pick" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexLine_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexLine *arg1 = (SoVRMLVertexLine *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexLine_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexLine_notify" "', argument " "1"" of type '" "SoVRMLVertexLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexLine_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedLine::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedLine const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = ((SoVRMLIndexedLine const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_initClass",0,0)) SWIG_fail; - SoVRMLIndexedLine::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_coordIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_coordIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_coordIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLine_coordIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->coordIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_coordIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_coordIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_coordIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = (SoMFInt32 *)& ((arg1)->coordIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_colorIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *arg2 = (SoMFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_colorIndex_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_colorIndex_set" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLine_colorIndex_set" "', argument " "2"" of type '" "SoMFInt32 *""'"); - } - arg2 = reinterpret_cast< SoMFInt32 * >(argp2); - if (arg1) (arg1)->colorIndex = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLine_colorIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLine *arg1 = (SoVRMLIndexedLine *) 0 ; - SoMFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLine_colorIndex_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLine, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLine_colorIndex_get" "', argument " "1"" of type '" "SoVRMLIndexedLine *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLine * >(argp1); - result = (SoMFInt32 *)& ((arg1)->colorIndex); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedLine, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLIndexedLineSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getTypeId" "', argument " "1"" of type '" "SoVRMLIndexedLineSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - result = ((SoVRMLIndexedLineSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_initClass",0,0)) SWIG_fail; - SoVRMLIndexedLineSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLIndexedLineSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLIndexedLineSet",0,0)) SWIG_fail; - result = (SoVRMLIndexedLineSet *)new SoVRMLIndexedLineSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLIndexedLineSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_GLRender" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLIndexedLineSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLIndexedLineSet *arg1 = (SoVRMLIndexedLineSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLIndexedLineSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLIndexedLineSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLIndexedLineSet_getBoundingBox" "', argument " "1"" of type '" "SoVRMLIndexedLineSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLIndexedLineSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLIndexedLineSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLIndexedLineSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLIndexedLineSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLInline::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getTypeId" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = ((SoVRMLInline const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_initClass",0,0)) SWIG_fail; - SoVRMLInline::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLInline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLInline",0,0)) SWIG_fail; - result = (SoVRMLInline *)new SoVRMLInline(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLInline, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxCenter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxCenter_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxCenter_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_bboxCenter_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxCenter = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxCenter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxCenter_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxCenter_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxCenter); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxSize_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_bboxSize_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->bboxSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_bboxSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_bboxSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_bboxSize_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoSFVec3f *)& ((arg1)->bboxSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_url_set" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_url_get" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SbString *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setFullURLName",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setFullURLName" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - (arg1)->setFullURLName((SbString const &)*arg2); - resultobj = SWIG_Py_Void(); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getFullURLName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getFullURLName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getFullURLName" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - { - SbString const &_result_ref = (arg1)->getFullURLName(); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_copyChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGroup *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_copyChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_copyChildren" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoGroup *)((SoVRMLInline const *)arg1)->copyChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGroup, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_requestURLData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_requestURLData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_requestURLData" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - (arg1)->requestURLData(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_isURLDataRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_isURLDataRequested",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_isURLDataRequested" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SbBool)((SoVRMLInline const *)arg1)->isURLDataRequested(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_isURLDataHere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_isURLDataHere",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_isURLDataHere" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SbBool)((SoVRMLInline const *)arg1)->isURLDataHere(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_cancelURLDataRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_cancelURLDataRequest",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_cancelURLDataRequest" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - (arg1)->cancelURLDataRequest(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setChildData",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setChildData" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_setChildData" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setChildData(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getChildData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getChildData" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoNode *)((SoVRMLInline const *)arg1)->getChildData(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setFetchURLCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInlineFetchURLCB *arg1 = (SoVRMLInlineFetchURLCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setFetchURLCallBack",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLInline_setFetchURLCallBack" "', argument " "1"" of type '" "SoVRMLInlineFetchURLCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_setFetchURLCallBack" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLInline::setFetchURLCallBack(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline::BboxVisibility arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setBoundingBoxVisibility",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLInline_setBoundingBoxVisibility" "', argument " "1"" of type '" "SoVRMLInline::BboxVisibility""'"); - } - arg1 = static_cast< SoVRMLInline::BboxVisibility >(val1); - SoVRMLInline::setBoundingBoxVisibility(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBoxVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline::BboxVisibility result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBoxVisibility",0,0)) SWIG_fail; - result = (SoVRMLInline::BboxVisibility)SoVRMLInline::getBoundingBoxVisibility(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setBoundingBoxColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbColor, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLInline_setBoundingBoxColor" "', argument " "1"" of type '" "SbColor &""'"); - } - arg1 = reinterpret_cast< SbColor * >(argp1); - SoVRMLInline::setBoundingBoxColor(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBoxColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbColor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBoxColor",0,0)) SWIG_fail; - { - SbColor &_result_ref = SoVRMLInline::getBoundingBoxColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_setReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_setReadAsSoFile",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLInline_setReadAsSoFile" "', argument " "1"" of type '" "SbBool""'"); - } - arg1 = static_cast< SbBool >(val1); - SoVRMLInline::setReadAsSoFile(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getReadAsSoFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getReadAsSoFile",0,0)) SWIG_fail; - result = (SbBool)SoVRMLInline::getReadAsSoFile(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_doAction" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_callback" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_GLRender" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getBoundingBox" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getMatrix" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_handleEvent" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_search" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_pick" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLInline *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLInline_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLInline_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLInline *arg1 = (SoVRMLInline *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLInline_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLInline, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLInline_getChildren" "', argument " "1"" of type '" "SoVRMLInline const *""'"); - } - arg1 = reinterpret_cast< SoVRMLInline * >(argp1); - result = (SoChildList *)((SoVRMLInline const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLInline_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLInline, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLLOD::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getTypeId" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = ((SoVRMLLOD const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_initClass",0,0)) SWIG_fail; - SoVRMLLOD::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLLOD",0,0)) SWIG_fail; - result = (SoVRMLLOD *)new SoVRMLLOD(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLLOD *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLLOD",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLLOD" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLLOD *)new SoVRMLLOD(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLLOD, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLLOD(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLLOD__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLLOD__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLLOD'.\n Possible C/C++ prototypes are:\n"" SoVRMLLOD()\n"" SoVRMLLOD(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_range_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_range_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_range_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_range_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->range = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_range_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_range_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_range_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoMFFloat *)& ((arg1)->range); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_center_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_center_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_level_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_level_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_level_set" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_level_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->level = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_level_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoMFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_level_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_level_get" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoMFNode *)& ((arg1)->level); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_affectsState" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SbBool)((SoVRMLLOD const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_addLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_addLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_addLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_addLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_insertLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_insertLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_insertLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_insertLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLLOD_insertLevel" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getLevel" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_getLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLLOD const *)arg1)->getLevel(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_findLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_findLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_findLevel" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_findLevel" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLLOD const *)arg1)->findLevel((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getNumLevels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getNumLevels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getNumLevels" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (int)((SoVRMLLOD const *)arg1)->getNumLevels(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_removeLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeLevel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_removeLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeLevel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeLevel(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_removeLevel__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLLOD_removeLevel__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_removeLevel'.\n Possible C/C++ prototypes are:\n"" removeLevel(SoVRMLLOD *,int)\n"" removeLevel(SoVRMLLOD *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeAllLevels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeAllLevels",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeAllLevels" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - (arg1)->removeAllLevels(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceLevel",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceLevel" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceLevel(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceLevel(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceLevel__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceLevel__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_replaceLevel'.\n Possible C/C++ prototypes are:\n"" replaceLevel(SoVRMLLOD *,int,SoNode *)\n"" replaceLevel(SoVRMLLOD *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_doAction" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_callback" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRender" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_rayPick" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getBoundingBox" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_search" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_write" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_audioRender" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_GLRenderOffPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_GLRenderOffPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_GLRenderOffPath" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_GLRenderOffPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderOffPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_addChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_insertChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLLOD_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getChild" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLLOD const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_findChild" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLLOD const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getNumChildren" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (int)((SoVRMLLOD const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLLOD_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_removeChild'.\n Possible C/C++ prototypes are:\n"" removeChild(SoVRMLLOD *,int)\n"" removeChild(SoVRMLLOD *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_removeAllChildren" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLLOD_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_replaceChild" "', argument " "1"" of type '" "SoVRMLLOD *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLLOD_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLLOD_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLLOD, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLLOD_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLLOD_replaceChild'.\n Possible C/C++ prototypes are:\n"" replaceChild(SoVRMLLOD *,int,SoNode *)\n"" replaceChild(SoVRMLLOD *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLLOD_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLLOD *arg1 = (SoVRMLLOD *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLLOD_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLLOD, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLLOD_getChildren" "', argument " "1"" of type '" "SoVRMLLOD const *""'"); - } - arg1 = reinterpret_cast< SoVRMLLOD * >(argp1); - result = (SoChildList *)((SoVRMLLOD const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLLOD_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLLOD, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLMaterial::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_getTypeId" "', argument " "1"" of type '" "SoVRMLMaterial const *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = ((SoVRMLMaterial const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_initClass",0,0)) SWIG_fail; - SoVRMLMaterial::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLMaterial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLMaterial",0,0)) SWIG_fail; - result = (SoVRMLMaterial *)new SoVRMLMaterial(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLMaterial, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_diffuseColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_diffuseColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_diffuseColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_diffuseColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->diffuseColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_diffuseColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_diffuseColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_diffuseColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->diffuseColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_ambientIntensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_ambientIntensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_ambientIntensity_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_ambientIntensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->ambientIntensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_ambientIntensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_ambientIntensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_ambientIntensity_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->ambientIntensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_specularColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_specularColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_specularColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_specularColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->specularColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_specularColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_specularColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_specularColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->specularColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_emissiveColor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *arg2 = (SoSFColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_emissiveColor_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_emissiveColor_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFColor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_emissiveColor_set" "', argument " "2"" of type '" "SoSFColor *""'"); - } - arg2 = reinterpret_cast< SoSFColor * >(argp2); - if (arg1) (arg1)->emissiveColor = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_emissiveColor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_emissiveColor_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_emissiveColor_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFColor *)& ((arg1)->emissiveColor); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_shininess_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_shininess_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_shininess_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_shininess_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->shininess = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_shininess_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_shininess_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_shininess_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->shininess); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_transparency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_transparency_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_transparency_set" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_transparency_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->transparency = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_transparency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_transparency_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_transparency_get" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - result = (SoSFFloat *)& ((arg1)->transparency); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_doAction" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_GLRender" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMaterial_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMaterial *arg1 = (SoVRMLMaterial *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMaterial_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMaterial, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMaterial_callback" "', argument " "1"" of type '" "SoVRMLMaterial *""'"); - } - arg1 = reinterpret_cast< SoVRMLMaterial * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMaterial_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLMaterial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLMaterial, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLMovieTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLMovieTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = ((SoVRMLMovieTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_initClass",0,0)) SWIG_fail; - SoVRMLMovieTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLMovieTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLMovieTexture",0,0)) SWIG_fail; - result = (SoVRMLMovieTexture *)new SoVRMLMovieTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLMovieTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_loop_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_loop_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_speed_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_speed_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_startTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_startTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_stopTime_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_stopTime_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_url_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_url_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_duration_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_duration_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_duration_changed_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_duration_changed_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->duration_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_duration_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_duration_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_duration_changed_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFTime *)& ((arg1)->duration_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_isActive_set" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_isActive_get" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLMovieTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLMovieTexture *arg1 = (SoVRMLMovieTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLMovieTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLMovieTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLMovieTexture_GLRender" "', argument " "1"" of type '" "SoVRMLMovieTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLMovieTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLMovieTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLMovieTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLMovieTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNavigationInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_getTypeId" "', argument " "1"" of type '" "SoVRMLNavigationInfo const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = ((SoVRMLNavigationInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_initClass",0,0)) SWIG_fail; - SoVRMLNavigationInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNavigationInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNavigationInfo",0,0)) SWIG_fail; - result = (SoVRMLNavigationInfo *)new SoVRMLNavigationInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNavigationInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_type_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_type_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_type_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->type = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_type_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_type_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoMFString *)& ((arg1)->type); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_speed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_speed_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_speed_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->speed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_speed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_speed_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFFloat *)& ((arg1)->speed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_avatarSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_avatarSize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_avatarSize_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_avatarSize_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->avatarSize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_avatarSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_avatarSize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_avatarSize_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoMFFloat *)& ((arg1)->avatarSize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_visibilityLimit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_visibilityLimit_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_visibilityLimit_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_visibilityLimit_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->visibilityLimit = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_visibilityLimit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_visibilityLimit_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_visibilityLimit_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFFloat *)& ((arg1)->visibilityLimit); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_headlight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_headlight_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_headlight_set" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_headlight_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->headlight = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_headlight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_headlight_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_headlight_get" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - result = (SoSFBool *)& ((arg1)->headlight); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNavigationInfo_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNavigationInfo *arg1 = (SoVRMLNavigationInfo *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNavigationInfo_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNavigationInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNavigationInfo_GLRender" "', argument " "1"" of type '" "SoVRMLNavigationInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLNavigationInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNavigationInfo_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNavigationInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNavigationInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNormal::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_getTypeId" "', argument " "1"" of type '" "SoVRMLNormal const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - result = ((SoVRMLNormal const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_initClass",0,0)) SWIG_fail; - SoVRMLNormal::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNormal",0,0)) SWIG_fail; - result = (SoVRMLNormal *)new SoVRMLNormal(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNormal, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_vector_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_vector_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_vector_set" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_vector_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->vector = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_vector_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_vector_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_vector_get" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - result = (SoMFVec3f *)& ((arg1)->vector); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_doAction" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_GLRender" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_callback" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_pick" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormal_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormal *arg1 = (SoVRMLNormal *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormal_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormal, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormal_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLNormal *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormal * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormal_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNormal, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLNormalInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLNormalInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = ((SoVRMLNormalInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLNormalInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLNormalInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLNormalInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLNormalInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLNormalInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLNormalInterpolator",0,0)) SWIG_fail; - result = (SoVRMLNormalInterpolator *)new SoVRMLNormalInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLNormalInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormalInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLNormalInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLNormalInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLNormalInterpolator *arg1 = (SoVRMLNormalInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLNormalInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLNormalInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLNormalInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLNormalInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLNormalInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLNormalInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLNormalInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLOrientationInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = ((SoVRMLOrientationInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLOrientationInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLOrientationInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLOrientationInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLOrientationInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLOrientationInterpolator",0,0)) SWIG_fail; - result = (SoVRMLOrientationInterpolator *)new SoVRMLOrientationInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLOrientationInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoMFRotation *arg2 = (SoMFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLOrientationInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFRotation *""'"); - } - arg2 = reinterpret_cast< SoMFRotation * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoMFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoMFRotation *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLOrientationInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLOrientationInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLOrientationInterpolator *arg1 = (SoVRMLOrientationInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLOrientationInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLOrientationInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLOrientationInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLOrientationInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLOrientationInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLOrientationInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLOrientationInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPixelTexture::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_getTypeId" "', argument " "1"" of type '" "SoVRMLPixelTexture const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - result = ((SoVRMLPixelTexture const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_initClass",0,0)) SWIG_fail; - SoVRMLPixelTexture::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPixelTexture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPixelTexture",0,0)) SWIG_fail; - result = (SoVRMLPixelTexture *)new SoVRMLPixelTexture(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPixelTexture, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoSFImage *arg2 = (SoSFImage *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_image_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_image_set" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFImage, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_image_set" "', argument " "2"" of type '" "SoSFImage *""'"); - } - arg2 = reinterpret_cast< SoSFImage * >(argp2); - if (arg1) (arg1)->image = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoSFImage *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_image_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_image_get" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - result = (SoSFImage *)& ((arg1)->image); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFImage, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_doAction" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_GLRender" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_callback" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPixelTexture_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPixelTexture *arg1 = (SoVRMLPixelTexture *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPixelTexture_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPixelTexture, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPixelTexture_rayPick" "', argument " "1"" of type '" "SoVRMLPixelTexture *""'"); - } - arg1 = reinterpret_cast< SoVRMLPixelTexture * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPixelTexture_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPixelTexture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPixelTexture, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPlaneSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLPlaneSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = ((SoVRMLPlaneSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_initClass",0,0)) SWIG_fail; - SoVRMLPlaneSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPlaneSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPlaneSensor",0,0)) SWIG_fail; - result = (SoVRMLPlaneSensor *)new SoVRMLPlaneSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPlaneSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_minPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_minPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_minPosition_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_minPosition_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->minPosition = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_minPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_minPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_minPosition_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->minPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_maxPosition_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_maxPosition_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_maxPosition_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_maxPosition_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->maxPosition = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_maxPosition_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_maxPosition_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_maxPosition_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->maxPosition); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_offset_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_offset_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->offset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_offset_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_translation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_translation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_translation_changed_set" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPlaneSensor_translation_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPlaneSensor_translation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPlaneSensor *arg1 = (SoVRMLPlaneSensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPlaneSensor_translation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPlaneSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPlaneSensor_translation_changed_get" "', argument " "1"" of type '" "SoVRMLPlaneSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLPlaneSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPlaneSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPlaneSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPointLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_getTypeId" "', argument " "1"" of type '" "SoVRMLPointLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = ((SoVRMLPointLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_initClass",0,0)) SWIG_fail; - SoVRMLPointLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPointLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPointLight",0,0)) SWIG_fail; - result = (SoVRMLPointLight *)new SoVRMLPointLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPointLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_location_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_location_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_radius_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_radius_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_attenuation_set" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_attenuation_get" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointLight *arg1 = (SoVRMLPointLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointLight_GLRender" "', argument " "1"" of type '" "SoVRMLPointLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPointLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPointLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVertexPoint::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getTypeId" "', argument " "1"" of type '" "SoVRMLVertexPoint const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = ((SoVRMLVertexPoint const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_initClass",0,0)) SWIG_fail; - SoVRMLVertexPoint::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_coord_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_coord_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_coord_set" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_coord_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->coord = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_coord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_coord_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_coord_get" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = (SoSFNode *)& ((arg1)->coord); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_color_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_color_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_color_set" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_color_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->color = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_color_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_color_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_color_get" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - result = (SoSFNode *)& ((arg1)->color); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_doAction" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_GLRender" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getBoundingBox" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_callback" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_pick" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVertexPoint_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVertexPoint *arg1 = (SoVRMLVertexPoint *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVertexPoint_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVertexPoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVertexPoint_notify" "', argument " "1"" of type '" "SoVRMLVertexPoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLVertexPoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVertexPoint_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVertexPoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVertexPoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPointSet::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_getTypeId" "', argument " "1"" of type '" "SoVRMLPointSet const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - result = ((SoVRMLPointSet const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_initClass",0,0)) SWIG_fail; - SoVRMLPointSet::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPointSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPointSet",0,0)) SWIG_fail; - result = (SoVRMLPointSet *)new SoVRMLPointSet(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPointSet, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_GLRender" "', argument " "1"" of type '" "SoVRMLPointSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointSet_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPointSet_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPointSet *arg1 = (SoVRMLPointSet *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPointSet_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPointSet, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPointSet_getBoundingBox" "', argument " "1"" of type '" "SoVRMLPointSet *""'"); - } - arg1 = reinterpret_cast< SoVRMLPointSet * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPointSet_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPointSet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPointSet, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLPositionInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLPositionInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = ((SoVRMLPositionInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLPositionInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLPositionInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLPositionInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLPositionInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLPositionInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLPositionInterpolator",0,0)) SWIG_fail; - result = (SoVRMLPositionInterpolator *)new SoVRMLPositionInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLPositionInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoMFVec3f *arg2 = (SoMFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPositionInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFVec3f *""'"); - } - arg2 = reinterpret_cast< SoMFVec3f * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoMFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoMFVec3f *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLPositionInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLPositionInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLPositionInterpolator *arg1 = (SoVRMLPositionInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLPositionInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLPositionInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLPositionInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLPositionInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLPositionInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLPositionInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLPositionInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLProximitySensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_getTypeId" "', argument " "1"" of type '" "SoVRMLProximitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = ((SoVRMLProximitySensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_initClass",0,0)) SWIG_fail; - SoVRMLProximitySensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLProximitySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLProximitySensor",0,0)) SWIG_fail; - result = (SoVRMLProximitySensor *)new SoVRMLProximitySensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLProximitySensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_center_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_center_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_size_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_size_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enabled_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enabled_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_isActive_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_isActive_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_position_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_position_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_position_changed_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_position_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_position_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_position_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_position_changed_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_orientation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_orientation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_orientation_changed_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_orientation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_orientation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_orientation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_orientation_changed_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enterTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enterTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enterTime_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_enterTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->enterTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_enterTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_enterTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_enterTime_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->enterTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_exitTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_exitTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_exitTime_set" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_exitTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->exitTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_exitTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_exitTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_exitTime_get" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SoSFTime *)& ((arg1)->exitTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_affectsState" "', argument " "1"" of type '" "SoVRMLProximitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - result = (SbBool)((SoVRMLProximitySensor const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_doAction" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_GLRender" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_callback" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_rayPick" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLProximitySensor_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLProximitySensor *arg1 = (SoVRMLProximitySensor *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLProximitySensor_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLProximitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLProximitySensor_getBoundingBox" "', argument " "1"" of type '" "SoVRMLProximitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLProximitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLProximitySensor_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLProximitySensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLProximitySensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLScalarInterpolator::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_getTypeId" "', argument " "1"" of type '" "SoVRMLScalarInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = ((SoVRMLScalarInterpolator const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_getOutputData" "', argument " "1"" of type '" "SoVRMLScalarInterpolator const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoEngineOutputData *)((SoVRMLScalarInterpolator const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLScalarInterpolator::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_initClass",0,0)) SWIG_fail; - SoVRMLScalarInterpolator::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLScalarInterpolator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLScalarInterpolator",0,0)) SWIG_fail; - result = (SoVRMLScalarInterpolator *)new SoVRMLScalarInterpolator(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLScalarInterpolator, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_keyValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_keyValue_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_keyValue_set" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScalarInterpolator_keyValue_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->keyValue = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_keyValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_keyValue_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_keyValue_get" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoMFFloat *)& ((arg1)->keyValue); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_value_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_value_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_value_changed_set" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScalarInterpolator_value_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->value_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScalarInterpolator_value_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScalarInterpolator *arg1 = (SoVRMLScalarInterpolator *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScalarInterpolator_value_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScalarInterpolator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScalarInterpolator_value_changed_get" "', argument " "1"" of type '" "SoVRMLScalarInterpolator *""'"); - } - arg1 = reinterpret_cast< SoVRMLScalarInterpolator * >(argp1); - result = (SoEngineOutput *)& ((arg1)->value_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLScalarInterpolator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLScalarInterpolator, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLScript_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_initClass",0,0)) SWIG_fail; - SoVRMLScript::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLScript(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLScript",0,0)) SWIG_fail; - result = (SoVRMLScript *)new SoVRMLScript(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLScript, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLScript::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_getTypeId" "', argument " "1"" of type '" "SoVRMLScript const *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = ((SoVRMLScript const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_url_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_url_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_url_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_url_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->url = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_url_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_url_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_url_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoMFString *)& ((arg1)->url); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_directOutput_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_directOutput_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_directOutput_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_directOutput_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->directOutput = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_directOutput_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_directOutput_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_directOutput_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoSFBool *)& ((arg1)->directOutput); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_mustEvaluate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_mustEvaluate_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_mustEvaluate_set" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_mustEvaluate_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->mustEvaluate = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_mustEvaluate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_mustEvaluate_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_mustEvaluate_get" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - result = (SoSFBool *)& ((arg1)->mustEvaluate); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_doAction" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_callback" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_GLRender" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_getBoundingBox" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_pick" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_handleEvent" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScript *arg1 = (SoVRMLScript *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLScript, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLScript_write" "', argument " "1"" of type '" "SoVRMLScript *""'"); - } - arg1 = reinterpret_cast< SoVRMLScript * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLScript_setScriptEvaluateCB(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLScriptEvaluateCB *arg1 = (SoVRMLScriptEvaluateCB *) 0 ; - void *arg2 = (void *) 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLScript_setScriptEvaluateCB",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_void_p_SoVRMLScript__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoVRMLScript_setScriptEvaluateCB" "', argument " "1"" of type '" "SoVRMLScriptEvaluateCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLScript_setScriptEvaluateCB" "', argument " "2"" of type '" "void *""'"); - } - SoVRMLScript::setScriptEvaluateCB(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLScript_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLScript, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLShape::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getTypeId" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = ((SoVRMLShape const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_initClass",0,0)) SWIG_fail; - SoVRMLShape::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLShape",0,0)) SWIG_fail; - result = (SoVRMLShape *)new SoVRMLShape(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLShape, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_appearance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_appearance_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_appearance_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_appearance_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->appearance = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_appearance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_appearance_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_appearance_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFNode *)& ((arg1)->appearance); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_geometry_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_geometry_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_geometry_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_geometry_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->geometry = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_geometry_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_geometry_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_geometry_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFNode *)& ((arg1)->geometry); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_renderCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_renderCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_renderCaching_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_renderCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->renderCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_renderCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_renderCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_renderCaching_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFEnum *)& ((arg1)->renderCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_boundingBoxCaching_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *arg2 = (SoSFEnum *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_boundingBoxCaching_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_boundingBoxCaching_set" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFEnum, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_boundingBoxCaching_set" "', argument " "2"" of type '" "SoSFEnum *""'"); - } - arg2 = reinterpret_cast< SoSFEnum * >(argp2); - if (arg1) (arg1)->boundingBoxCaching = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_boundingBoxCaching_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSFEnum *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_boundingBoxCaching_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_boundingBoxCaching_get" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoSFEnum *)& ((arg1)->boundingBoxCaching); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFEnum, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_setNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_setNumRenderCaches",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLShape_setNumRenderCaches" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - SoVRMLShape::setNumRenderCaches(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getNumRenderCaches(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getNumRenderCaches",0,0)) SWIG_fail; - result = (int)SoVRMLShape::getNumRenderCaches(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_affectsState" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SbBool)((SoVRMLShape const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_doAction" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_callback" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_GLRender" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getBoundingBox" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_rayPick" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_search" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_write" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_getChildren" "', argument " "1"" of type '" "SoVRMLShape const *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - result = (SoChildList *)((SoVRMLShape const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_notify" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLShape_copyContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLShape *arg1 = (SoVRMLShape *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLShape_copyContents",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLShape, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLShape_copyContents" "', argument " "1"" of type '" "SoVRMLShape *""'"); - } - arg1 = reinterpret_cast< SoVRMLShape * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLShape_copyContents" "', argument " "2"" of type '" "SoFieldContainer const *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLShape_copyContents" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->copyContents((SoFieldContainer const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLShape_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLShape, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSound::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getTypeId" "', argument " "1"" of type '" "SoVRMLSound const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = ((SoVRMLSound const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_initClass",0,0)) SWIG_fail; - SoVRMLSound::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSound",0,0)) SWIG_fail; - result = (SoVRMLSound *)new SoVRMLSound(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSound, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_source_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_source_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_source_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->source = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_source_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_source_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFNode *)& ((arg1)->source); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_intensity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_intensity_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_intensity_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_intensity_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->intensity = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_intensity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_intensity_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_intensity_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->intensity); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_priority_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_priority_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_priority_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_priority_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->priority = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_priority_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_priority_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_priority_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->priority); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_location_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_location_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_direction_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_direction_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minFront_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minFront_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minFront_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_minFront_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minFront = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minFront_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minFront_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minFront_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->minFront); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxFront_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxFront_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxFront_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_maxFront_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxFront = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxFront_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxFront_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxFront_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxFront); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minBack_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minBack_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minBack_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_minBack_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->minBack = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_minBack_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_minBack_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_minBack_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->minBack); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxBack_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxBack_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxBack_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_maxBack_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxBack = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_maxBack_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_maxBack_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_maxBack_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxBack); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_spatialize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_spatialize_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_spatialize_set" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_spatialize_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->spatialize = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_spatialize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_spatialize_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_spatialize_get" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (SoSFBool *)& ((arg1)->spatialize); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDopplerVelocity",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setDopplerVelocity" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDopplerVelocity" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setDopplerVelocity(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getDopplerVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getDopplerVelocity",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getDopplerVelocity" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (float)(arg1)->getDopplerVelocity(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDopplerFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setDopplerFactor" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDopplerFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setDopplerFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getDopplerFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getDopplerFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getDopplerFactor" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - result = (float)(arg1)->getDopplerFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_startPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_startPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_startPlaying" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_startPlaying" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_startPlaying" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->startPlaying(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_stopPlaying(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoPath *arg2 = (SoPath *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_stopPlaying",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_stopPlaying" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPath, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_stopPlaying" "', argument " "2"" of type '" "SoPath *""'"); - } - arg2 = reinterpret_cast< SoPath * >(argp2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_stopPlaying" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->stopPlaying(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setDefaultBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - int arg2 ; - SbTime arg3 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setDefaultBufferingProperties",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "3"" of type '" "SbTime""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_setDefaultBufferingProperties" "', argument " "3"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp3); - arg3 = *temp; - if (SWIG_IsNewObj(res3)) delete temp; - } - } - SoVRMLSound::setDefaultBufferingProperties(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_setBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - int arg2 ; - int arg3 ; - SbTime arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_setBufferingProperties",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - { - res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "4"" of type '" "SbTime""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_setBufferingProperties" "', argument " "4"" of type '" "SbTime""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp4); - arg4 = *temp; - if (SWIG_IsNewObj(res4)) delete temp; - } - } - (arg1)->setBufferingProperties(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_getBufferingProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - int *arg2 = 0 ; - int *arg3 = 0 ; - SbTime *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_getBufferingProperties",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "2"" of type '" "int &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "2"" of type '" "int &""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLSound_getBufferingProperties" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - { - if (PyFloat_Check(obj3)) { - arg4 = new SbTime(PyFloat_AsDouble(obj3)); - } else { - SbTime * tmp = NULL; - arg4 = new SbTime; - SWIG_ConvertPtr(obj3, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg4 = *tmp; - } - } - (arg1)->getBufferingProperties(*arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - { - if (arg4) { - delete arg4; - } - } - return resultobj; -fail: - { - if (arg4) { - delete arg4; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSound_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSound *arg1 = (SoVRMLSound *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSound_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSound, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSound_audioRender" "', argument " "1"" of type '" "SoVRMLSound *""'"); - } - arg1 = reinterpret_cast< SoVRMLSound * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSound_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSound_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSound, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSphere::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_getTypeId" "', argument " "1"" of type '" "SoVRMLSphere const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - result = ((SoVRMLSphere const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_initClass",0,0)) SWIG_fail; - SoVRMLSphere::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSphere",0,0)) SWIG_fail; - result = (SoVRMLSphere *)new SoVRMLSphere(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSphere, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_radius_set" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_radius_get" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_GLRender" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_rayPick" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphere_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphere *arg1 = (SoVRMLSphere *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphere_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphere, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphere_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLSphere *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphere * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphere_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSphere, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSphereSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLSphereSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = ((SoVRMLSphereSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_initClass",0,0)) SWIG_fail; - SoVRMLSphereSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSphereSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSphereSensor",0,0)) SWIG_fail; - result = (SoVRMLSphereSensor *)new SoVRMLSphereSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSphereSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_offset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_offset_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_offset_set" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphereSensor_offset_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->offset = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_offset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_offset_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_offset_get" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->offset); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_rotation_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_rotation_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_rotation_changed_set" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSphereSensor_rotation_changed_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSphereSensor_rotation_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSphereSensor *arg1 = (SoVRMLSphereSensor *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSphereSensor_rotation_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSphereSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSphereSensor_rotation_changed_get" "', argument " "1"" of type '" "SoVRMLSphereSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLSphereSensor * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSphereSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSphereSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSpotLight::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_getTypeId" "', argument " "1"" of type '" "SoVRMLSpotLight const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = ((SoVRMLSpotLight const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_initClass",0,0)) SWIG_fail; - SoVRMLSpotLight::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSpotLight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSpotLight",0,0)) SWIG_fail; - result = (SoVRMLSpotLight *)new SoVRMLSpotLight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSpotLight, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_location_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_location_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_location_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->location = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_location_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_location_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->location); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_direction_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_direction_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_direction_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->direction = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_direction_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_direction_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->direction); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_beamWidth_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_beamWidth_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_beamWidth_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_beamWidth_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->beamWidth = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_beamWidth_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_beamWidth_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_beamWidth_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->beamWidth); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_cutOffAngle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_cutOffAngle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_cutOffAngle_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_cutOffAngle_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->cutOffAngle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_cutOffAngle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_cutOffAngle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_cutOffAngle_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->cutOffAngle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_radius_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_radius_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_radius_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_radius_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->radius = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_radius_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_radius_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_radius_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFFloat *)& ((arg1)->radius); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_attenuation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_attenuation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_attenuation_set" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_attenuation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->attenuation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_attenuation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_attenuation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_attenuation_get" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - result = (SoSFVec3f *)& ((arg1)->attenuation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSpotLight_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSpotLight *arg1 = (SoVRMLSpotLight *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSpotLight_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSpotLight, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSpotLight_GLRender" "', argument " "1"" of type '" "SoVRMLSpotLight *""'"); - } - arg1 = reinterpret_cast< SoVRMLSpotLight * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSpotLight_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSpotLight_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSpotLight, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLSwitch::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getTypeId" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = ((SoVRMLSwitch const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_initClass",0,0)) SWIG_fail; - SoVRMLSwitch::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSwitch",0,0)) SWIG_fail; - result = (SoVRMLSwitch *)new SoVRMLSwitch(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLSwitch *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLSwitch",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLSwitch" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLSwitch *)new SoVRMLSwitch(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLSwitch, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLSwitch(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLSwitch__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLSwitch__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLSwitch'.\n Possible C/C++ prototypes are:\n"" SoVRMLSwitch()\n"" SoVRMLSwitch(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_choice_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoMFNode *arg2 = (SoMFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_choice_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_choice_set" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_choice_set" "', argument " "2"" of type '" "SoMFNode *""'"); - } - arg2 = reinterpret_cast< SoMFNode * >(argp2); - if (arg1) (arg1)->choice = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_choice_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoMFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_choice_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_choice_get" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoMFNode *)& ((arg1)->choice); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_whichChoice_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoSFInt32 *arg2 = (SoSFInt32 *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_whichChoice_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_whichChoice_set" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFInt32, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_whichChoice_set" "', argument " "2"" of type '" "SoSFInt32 *""'"); - } - arg2 = reinterpret_cast< SoSFInt32 * >(argp2); - if (arg1) (arg1)->whichChoice = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_whichChoice_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoSFInt32 *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_whichChoice_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_whichChoice_get" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoSFInt32 *)& ((arg1)->whichChoice); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFInt32, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_affectsState" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SbBool)((SoVRMLSwitch const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_addChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_addChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_addChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_addChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_insertChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_insertChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSwitch_insertChoice" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChoice" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_getChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLSwitch const *)arg1)->getChoice(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_findChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_findChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_findChoice" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_findChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLSwitch const *)arg1)->findChoice(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getNumChoices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getNumChoices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getNumChoices" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (int)((SoVRMLSwitch const *)arg1)->getNumChoices(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChoice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_removeChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChoice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChoice(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_removeChoice__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLSwitch_removeChoice__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_removeChoice'.\n Possible C/C++ prototypes are:\n"" removeChoice(SoVRMLSwitch *,int)\n"" removeChoice(SoVRMLSwitch *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeAllChoices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeAllChoices",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeAllChoices" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - (arg1)->removeAllChoices(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChoice",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChoice" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChoice(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChoice(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChoice__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChoice__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_replaceChoice'.\n Possible C/C++ prototypes are:\n"" replaceChoice(SoVRMLSwitch *,int,SoNode *)\n"" replaceChoice(SoVRMLSwitch *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_doAction" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_callback" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_GLRender" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_pick" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getBoundingBox" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_handleEvent" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getMatrix" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoSearchAction *arg2 = (SoSearchAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_search",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_search" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSearchAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_search" "', argument " "2"" of type '" "SoSearchAction *""'"); - } - arg2 = reinterpret_cast< SoSearchAction * >(argp2); - (arg1)->search(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_write" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_audioRender" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_addChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_addChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_addChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_addChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->addChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_insertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_insertChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_insertChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_insertChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoVRMLSwitch_insertChild" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChild" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_getChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SoNode *)((SoVRMLSwitch const *)arg1)->getChild(arg2); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_findChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_findChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_findChild" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_findChild" "', argument " "2"" of type '" "SoNode const *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - result = (int)((SoVRMLSwitch const *)arg1)->findChild((SoNode const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getNumChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getNumChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getNumChildren" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (int)((SoVRMLSwitch const *)arg1)->getNumChildren(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_removeChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeChild",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_removeChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->removeChild(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_removeChild__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoVRMLSwitch_removeChild__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_removeChild'.\n Possible C/C++ prototypes are:\n"" removeChild(SoVRMLSwitch *,int)\n"" removeChild(SoVRMLSwitch *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_removeAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_removeAllChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_removeAllChildren" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - (arg1)->removeAllChildren(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - int arg2 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - SoNode *arg3 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_replaceChild",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "1"" of type '" "SoVRMLSwitch *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLSwitch_replaceChild" "', argument " "3"" of type '" "SoNode *""'"); - } - arg3 = reinterpret_cast< SoNode * >(argp3); - (arg1)->replaceChild(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_replaceChild(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChild__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoVRMLSwitch, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoNode, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoVRMLSwitch_replaceChild__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoVRMLSwitch_replaceChild'.\n Possible C/C++ prototypes are:\n"" replaceChild(SoVRMLSwitch *,int,SoNode *)\n"" replaceChild(SoVRMLSwitch *,SoNode *,SoNode *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLSwitch_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLSwitch *arg1 = (SoVRMLSwitch *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLSwitch_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLSwitch, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLSwitch_getChildren" "', argument " "1"" of type '" "SoVRMLSwitch const *""'"); - } - arg1 = reinterpret_cast< SoVRMLSwitch * >(argp1); - result = (SoChildList *)((SoVRMLSwitch const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLSwitch_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLSwitch, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLText_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLText::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getTypeId" "', argument " "1"" of type '" "SoVRMLText const *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = ((SoVRMLText const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_initClass",0,0)) SWIG_fail; - SoVRMLText::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLText",0,0)) SWIG_fail; - result = (SoVRMLText *)new SoVRMLText(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLText, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_string_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_string_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_string_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->string = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_string_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_string_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoMFString *)& ((arg1)->string); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_fontStyle_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFNode *arg2 = (SoSFNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_fontStyle_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_fontStyle_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_fontStyle_set" "', argument " "2"" of type '" "SoSFNode *""'"); - } - arg2 = reinterpret_cast< SoSFNode * >(argp2); - if (arg1) (arg1)->fontStyle = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_fontStyle_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_fontStyle_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_fontStyle_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoSFNode *)& ((arg1)->fontStyle); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFNode, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_maxExtent_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_maxExtent_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_maxExtent_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_maxExtent_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->maxExtent = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_maxExtent_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_maxExtent_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_maxExtent_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoSFFloat *)& ((arg1)->maxExtent); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_length_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFFloat *arg2 = (SoMFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_length_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_length_set" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_length_set" "', argument " "2"" of type '" "SoMFFloat *""'"); - } - arg2 = reinterpret_cast< SoMFFloat * >(argp2); - if (arg1) (arg1)->length = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_length_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoMFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_length_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_length_get" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoMFFloat *)& ((arg1)->length); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_GLRender" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_notify" "', argument " "1"" of type '" "SoVRMLText *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLText_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLText_getChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLText *arg1 = (SoVRMLText *) 0 ; - SoChildList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLText_getChildren",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLText, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLText_getChildren" "', argument " "1"" of type '" "SoVRMLText const *""'"); - } - arg1 = reinterpret_cast< SoVRMLText * >(argp1); - result = (SoChildList *)((SoVRMLText const *)arg1)->getChildren(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoChildList, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLText, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTextureCoordinate::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_getTypeId" "', argument " "1"" of type '" "SoVRMLTextureCoordinate const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - result = ((SoVRMLTextureCoordinate const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_initClass",0,0)) SWIG_fail; - SoVRMLTextureCoordinate::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTextureCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTextureCoordinate",0,0)) SWIG_fail; - result = (SoVRMLTextureCoordinate *)new SoVRMLTextureCoordinate(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTextureCoordinate, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoMFVec2f *arg2 = (SoMFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_point_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_point_set" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_point_set" "', argument " "2"" of type '" "SoMFVec2f *""'"); - } - arg2 = reinterpret_cast< SoMFVec2f * >(argp2); - if (arg1) (arg1)->point = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoMFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_point_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_point_get" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - result = (SoMFVec2f *)& ((arg1)->point); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_doAction" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_callback" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_GLRender" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_pick" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureCoordinate_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureCoordinate *arg1 = (SoVRMLTextureCoordinate *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureCoordinate_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureCoordinate, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureCoordinate_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLTextureCoordinate *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureCoordinate * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureCoordinate_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTextureCoordinate_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTextureCoordinate, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTextureTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_getTypeId" "', argument " "1"" of type '" "SoVRMLTextureTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = ((SoVRMLTextureTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_initClass",0,0)) SWIG_fail; - SoVRMLTextureTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTextureTransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTextureTransform",0,0)) SWIG_fail; - result = (SoVRMLTextureTransform *)new SoVRMLTextureTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTextureTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_translation_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_translation_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_translation_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_rotation_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_rotation_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_rotation_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFFloat *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_scale_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_scale_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_scale_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_center_set" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_center_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_center_get" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - result = (SoSFVec2f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_doAction" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_callback" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_GLRender" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_getMatrix" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTextureTransform_pick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTextureTransform *arg1 = (SoVRMLTextureTransform *) 0 ; - SoPickAction *arg2 = (SoPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTextureTransform_pick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTextureTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTextureTransform_pick" "', argument " "1"" of type '" "SoVRMLTextureTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTextureTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTextureTransform_pick" "', argument " "2"" of type '" "SoPickAction *""'"); - } - arg2 = reinterpret_cast< SoPickAction * >(argp2); - (arg1)->pick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTextureTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTextureTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTimeSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLTimeSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = ((SoVRMLTimeSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_getOutputData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutputData *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_getOutputData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_getOutputData" "', argument " "1"" of type '" "SoVRMLTimeSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutputData *)((SoVRMLTimeSensor const *)arg1)->getOutputData(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutputData, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_createInstance",0,0)) SWIG_fail; - result = (void *)SoVRMLTimeSensor::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_initClass",0,0)) SWIG_fail; - SoVRMLTimeSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTimeSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTimeSensor",0,0)) SWIG_fail; - result = (SoVRMLTimeSensor *)new SoVRMLTimeSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTimeSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleInterval_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleInterval_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleInterval_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_cycleInterval_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->cycleInterval = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleInterval_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleInterval_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleInterval_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->cycleInterval); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_loop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_loop_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_loop_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_loop_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->loop = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_loop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_loop_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_loop_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->loop); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_startTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_startTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_startTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->startTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_startTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_startTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->startTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_stopTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_stopTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_stopTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_stopTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->stopTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_stopTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_stopTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_stopTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->stopTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_notify" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoWriteAction *arg2 = (SoWriteAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_write",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_write" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoWriteAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_write" "', argument " "2"" of type '" "SoWriteAction *""'"); - } - arg2 = reinterpret_cast< SoWriteAction * >(argp2); - (arg1)->write(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleTime_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_cycleTime_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->cycleTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_cycleTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_cycleTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_cycleTime_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->cycleTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_fraction_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_fraction_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_fraction_changed_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_fraction_changed_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->fraction_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_fraction_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_fraction_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_fraction_changed_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->fraction_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_isActive_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_time_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_time_set" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTimeSensor_time_set" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - if (arg1) (arg1)->time = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTimeSensor_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTimeSensor *arg1 = (SoVRMLTimeSensor *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTimeSensor_time_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTimeSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTimeSensor_time_get" "', argument " "1"" of type '" "SoVRMLTimeSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTimeSensor * >(argp1); - result = (SoEngineOutput *)& ((arg1)->time); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTimeSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTimeSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTouchSensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_getTypeId" "', argument " "1"" of type '" "SoVRMLTouchSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = ((SoVRMLTouchSensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_initClass",0,0)) SWIG_fail; - SoVRMLTouchSensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTouchSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTouchSensor",0,0)) SWIG_fail; - result = (SoVRMLTouchSensor *)new SoVRMLTouchSensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTouchSensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_enabled_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_enabled_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitNormal_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitNormal_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitNormal_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitNormal_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->hitNormal_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitNormal_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitNormal_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitNormal_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->hitNormal_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitPoint_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitPoint_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitPoint_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitPoint_changed_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->hitPoint_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitPoint_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitPoint_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitPoint_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->hitPoint_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitTexCoord_changed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec2f *arg2 = (SoSFVec2f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitTexCoord_changed_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_set" "', argument " "2"" of type '" "SoSFVec2f *""'"); - } - arg2 = reinterpret_cast< SoSFVec2f * >(argp2); - if (arg1) (arg1)->hitTexCoord_changed = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_hitTexCoord_changed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFVec2f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_hitTexCoord_changed_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_hitTexCoord_changed_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFVec2f *)& ((arg1)->hitTexCoord_changed); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec2f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isActive_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isActive_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isActive_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_isActive_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isActive = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isActive_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isActive_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isActive_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isActive); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isOver_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isOver_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isOver_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_isOver_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->isOver = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_isOver_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_isOver_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_isOver_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFBool *)& ((arg1)->isOver); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_touchTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFTime *arg2 = (SoSFTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_touchTime_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_touchTime_set" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFTime, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_touchTime_set" "', argument " "2"" of type '" "SoSFTime *""'"); - } - arg2 = reinterpret_cast< SoSFTime * >(argp2); - if (arg1) (arg1)->touchTime = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_touchTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoSFTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_touchTime_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_touchTime_get" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SoSFTime *)& ((arg1)->touchTime); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFTime, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_affectsState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_affectsState",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_affectsState" "', argument " "1"" of type '" "SoVRMLTouchSensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - result = (SbBool)((SoVRMLTouchSensor const *)arg1)->affectsState(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTouchSensor_handleEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTouchSensor *arg1 = (SoVRMLTouchSensor *) 0 ; - SoHandleEventAction *arg2 = (SoHandleEventAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTouchSensor_handleEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTouchSensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTouchSensor_handleEvent" "', argument " "1"" of type '" "SoVRMLTouchSensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLTouchSensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoHandleEventAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTouchSensor_handleEvent" "', argument " "2"" of type '" "SoHandleEventAction *""'"); - } - arg2 = reinterpret_cast< SoHandleEventAction * >(argp2); - (arg1)->handleEvent(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTouchSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTouchSensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLTransform::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getTypeId" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = ((SoVRMLTransform const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_initClass",0,0)) SWIG_fail; - SoVRMLTransform::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTransform",0,0)) SWIG_fail; - result = (SoVRMLTransform *)new SoVRMLTransform(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoVRMLTransform *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLTransform",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoVRMLTransform" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoVRMLTransform *)new SoVRMLTransform(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLTransform, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLTransform(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoVRMLTransform__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoVRMLTransform__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoVRMLTransform'.\n Possible C/C++ prototypes are:\n"" SoVRMLTransform()\n"" SoVRMLTransform(int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_translation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_translation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_translation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_translation_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->translation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_translation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_translation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_translation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->translation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rotation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rotation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rotation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_rotation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->rotation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rotation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rotation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rotation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->rotation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scale_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scale_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scale_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_scale_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->scale = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scale_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scale_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scale_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->scale); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scaleOrientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scaleOrientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scaleOrientation_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_scaleOrientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->scaleOrientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_scaleOrientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_scaleOrientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_scaleOrientation_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFRotation *)& ((arg1)->scaleOrientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_center_set" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_center_get" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_pointAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbVec3f *arg2 = 0 ; - SbVec3f *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_pointAt",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_pointAt" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_pointAt" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_pointAt" "', argument " "3"" of type '" "SbVec3f const &""'"); - } - arg3 = reinterpret_cast< SbVec3f * >(argp3); - (arg1)->pointAt((SbVec3f const &)*arg2,(SbVec3f const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getScaleSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getScaleSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getScaleSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getScaleSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getRotationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getRotationSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getRotationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getRotationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getTranslationSpaceMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - SbMatrix *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getTranslationSpaceMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "1"" of type '" "SoVRMLTransform const *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res3 = SWIG_ConvertPtr(obj1, &argp3, SWIGTYPE_p_SbMatrix, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_getTranslationSpaceMatrix" "', argument " "3"" of type '" "SbMatrix &""'"); - } - arg3 = reinterpret_cast< SbMatrix * >(argp3); - ((SoVRMLTransform const *)arg1)->getTranslationSpaceMatrix(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_multLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_multLeft",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_multLeft" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->multLeft((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_multRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_multRight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_multRight" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->multRight((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_combineLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoVRMLTransform *arg2 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_combineLeft",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_combineLeft" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_combineLeft" "', argument " "2"" of type '" "SoVRMLTransform *""'"); - } - arg2 = reinterpret_cast< SoVRMLTransform * >(argp2); - (arg1)->combineLeft(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_combineRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoVRMLTransform *arg2 = (SoVRMLTransform *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_combineRight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_combineRight" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_combineRight" "', argument " "2"" of type '" "SoVRMLTransform *""'"); - } - arg2 = reinterpret_cast< SoVRMLTransform * >(argp2); - (arg1)->combineRight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_setMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbMatrix *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - { - arg2 = new SbMatrix(); - } - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_setMatrix",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_setMatrix" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - (arg1)->setMatrix((SbMatrix const &)*arg2); - resultobj = SWIG_Py_Void(); - { - resultobj = SWIG_NewPointerObj((void *) arg2, SWIGTYPE_p_SbMatrix, 1); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_recenter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_recenter",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_recenter" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoVRMLTransform_recenter" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->recenter((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_doAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoAction *arg2 = (SoAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_doAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_doAction" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_doAction" "', argument " "2"" of type '" "SoAction *""'"); - } - arg2 = reinterpret_cast< SoAction * >(argp2); - (arg1)->doAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_callback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoCallbackAction *arg2 = (SoCallbackAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_callback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_callback" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCallbackAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_callback" "', argument " "2"" of type '" "SoCallbackAction *""'"); - } - arg2 = reinterpret_cast< SoCallbackAction * >(argp2); - (arg1)->callback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetBoundingBoxAction *arg2 = (SoGetBoundingBoxAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getBoundingBox",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getBoundingBox" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetBoundingBoxAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getBoundingBox" "', argument " "2"" of type '" "SoGetBoundingBoxAction *""'"); - } - arg2 = reinterpret_cast< SoGetBoundingBoxAction * >(argp2); - (arg1)->getBoundingBox(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetMatrixAction *arg2 = (SoGetMatrixAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getMatrix",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getMatrix" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetMatrixAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getMatrix" "', argument " "2"" of type '" "SoGetMatrixAction *""'"); - } - arg2 = reinterpret_cast< SoGetMatrixAction * >(argp2); - (arg1)->getMatrix(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_rayPick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoRayPickAction *arg2 = (SoRayPickAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_rayPick",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_rayPick" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoRayPickAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_rayPick" "', argument " "2"" of type '" "SoRayPickAction *""'"); - } - arg2 = reinterpret_cast< SoRayPickAction * >(argp2); - (arg1)->rayPick(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_getPrimitiveCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGetPrimitiveCountAction *arg2 = (SoGetPrimitiveCountAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_getPrimitiveCount",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_getPrimitiveCount" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGetPrimitiveCountAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_getPrimitiveCount" "', argument " "2"" of type '" "SoGetPrimitiveCountAction *""'"); - } - arg2 = reinterpret_cast< SoGetPrimitiveCountAction * >(argp2); - (arg1)->getPrimitiveCount(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_audioRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoAudioRenderAction *arg2 = (SoAudioRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_audioRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_audioRender" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoAudioRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_audioRender" "', argument " "2"" of type '" "SoAudioRenderAction *""'"); - } - arg2 = reinterpret_cast< SoAudioRenderAction * >(argp2); - (arg1)->audioRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_GLRenderBelowPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_GLRenderBelowPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_GLRenderBelowPath" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_GLRenderBelowPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderBelowPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_GLRenderInPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_GLRenderInPath",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_GLRenderInPath" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_GLRenderInPath" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRenderInPath(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLTransform_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLTransform *arg1 = (SoVRMLTransform *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLTransform_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLTransform, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLTransform_notify" "', argument " "1"" of type '" "SoVRMLTransform *""'"); - } - arg1 = reinterpret_cast< SoVRMLTransform * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLTransform_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLTransform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLTransform, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLViewpoint::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_getTypeId" "', argument " "1"" of type '" "SoVRMLViewpoint const *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = ((SoVRMLViewpoint const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_initClass",0,0)) SWIG_fail; - SoVRMLViewpoint::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLViewpoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLViewpoint",0,0)) SWIG_fail; - result = (SoVRMLViewpoint *)new SoVRMLViewpoint(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLViewpoint, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_position_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_position_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_position_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->position = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_position_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_position_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFVec3f *)& ((arg1)->position); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFRotation *arg2 = (SoSFRotation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_orientation_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_orientation_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFRotation, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_orientation_set" "', argument " "2"" of type '" "SoSFRotation *""'"); - } - arg2 = reinterpret_cast< SoSFRotation * >(argp2); - if (arg1) (arg1)->orientation = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFRotation *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_orientation_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_orientation_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFRotation *)& ((arg1)->orientation); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFRotation, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_fieldOfView_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFFloat *arg2 = (SoSFFloat *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_fieldOfView_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_fieldOfView_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFFloat, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_fieldOfView_set" "', argument " "2"" of type '" "SoSFFloat *""'"); - } - arg2 = reinterpret_cast< SoSFFloat * >(argp2); - if (arg1) (arg1)->fieldOfView = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_fieldOfView_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFFloat *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_fieldOfView_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_fieldOfView_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFFloat *)& ((arg1)->fieldOfView); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFFloat, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_description_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_description_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_description_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_description_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->description = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_description_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_description_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_description_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFString *)& ((arg1)->description); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_jump_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_jump_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_jump_set" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_jump_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->jump = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_jump_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_jump_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_jump_get" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - result = (SoSFBool *)& ((arg1)->jump); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLViewpoint_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLViewpoint *arg1 = (SoVRMLViewpoint *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLViewpoint_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLViewpoint, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLViewpoint_GLRender" "', argument " "1"" of type '" "SoVRMLViewpoint *""'"); - } - arg1 = reinterpret_cast< SoVRMLViewpoint * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLViewpoint_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLViewpoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLViewpoint, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLVisibilitySensor::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_getTypeId" "', argument " "1"" of type '" "SoVRMLVisibilitySensor const *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = ((SoVRMLVisibilitySensor const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_initClass",0,0)) SWIG_fail; - SoVRMLVisibilitySensor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLVisibilitySensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLVisibilitySensor",0,0)) SWIG_fail; - result = (SoVRMLVisibilitySensor *)new SoVRMLVisibilitySensor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLVisibilitySensor, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_center_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_center_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_center_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_center_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->center = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_center_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_center_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_center_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->center); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *arg2 = (SoSFVec3f *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_size_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_size_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_size_set" "', argument " "2"" of type '" "SoSFVec3f *""'"); - } - arg2 = reinterpret_cast< SoSFVec3f * >(argp2); - if (arg1) (arg1)->size = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_size_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_size_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFVec3f *)& ((arg1)->size); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enabled_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFBool *arg2 = (SoSFBool *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enabled_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enabled_set" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFBool, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_enabled_set" "', argument " "2"" of type '" "SoSFBool *""'"); - } - arg2 = reinterpret_cast< SoSFBool * >(argp2); - if (arg1) (arg1)->enabled = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_enabled_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoSFBool *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_enabled_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_enabled_get" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - result = (SoSFBool *)& ((arg1)->enabled); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFBool, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLVisibilitySensor_GLRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLVisibilitySensor *arg1 = (SoVRMLVisibilitySensor *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLVisibilitySensor_GLRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLVisibilitySensor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLVisibilitySensor_GLRender" "', argument " "1"" of type '" "SoVRMLVisibilitySensor *""'"); - } - arg1 = reinterpret_cast< SoVRMLVisibilitySensor * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLVisibilitySensor_GLRender" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->GLRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLVisibilitySensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLVisibilitySensor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_getClassTypeId",0,0)) SWIG_fail; - result = SoVRMLWorldInfo::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_getTypeId" "', argument " "1"" of type '" "SoVRMLWorldInfo const *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = ((SoVRMLWorldInfo const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_initClass",0,0)) SWIG_fail; - SoVRMLWorldInfo::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoVRMLWorldInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoVRMLWorldInfo",0,0)) SWIG_fail; - result = (SoVRMLWorldInfo *)new SoVRMLWorldInfo(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoVRMLWorldInfo, SWIG_POINTER_NEW | 0 ); - result->ref(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_title_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoSFString *arg2 = (SoSFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_title_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_title_set" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLWorldInfo_title_set" "', argument " "2"" of type '" "SoSFString *""'"); - } - arg2 = reinterpret_cast< SoSFString * >(argp2); - if (arg1) (arg1)->title = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_title_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoSFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_title_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_title_get" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = (SoSFString *)& ((arg1)->title); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_info_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoMFString *arg2 = (SoMFString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_info_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_info_set" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoMFString, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoVRMLWorldInfo_info_set" "', argument " "2"" of type '" "SoMFString *""'"); - } - arg2 = reinterpret_cast< SoMFString * >(argp2); - if (arg1) (arg1)->info = *arg2; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoVRMLWorldInfo_info_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoVRMLWorldInfo *arg1 = (SoVRMLWorldInfo *) 0 ; - SoMFString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoVRMLWorldInfo_info_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoVRMLWorldInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoVRMLWorldInfo_info_get" "', argument " "1"" of type '" "SoVRMLWorldInfo *""'"); - } - arg1 = reinterpret_cast< SoVRMLWorldInfo * >(argp1); - result = (SoMFString *)& ((arg1)->info); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoMFString, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoVRMLWorldInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoVRMLWorldInfo, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -static PyMethodDef SwigMethods[] = { - { (char *)"cast", cast, METH_VARARGS, NULL}, - { (char *)"new_charp", _wrap_new_charp, METH_VARARGS, (char *)"new_charp() -> charp"}, - { (char *)"delete_charp", _wrap_delete_charp, METH_VARARGS, (char *)"delete_charp(charp self)"}, - { (char *)"charp_assign", _wrap_charp_assign, METH_VARARGS, (char *)"charp_assign(charp self, char value)"}, - { (char *)"charp_value", _wrap_charp_value, METH_VARARGS, (char *)"charp_value(charp self) -> char"}, - { (char *)"charp_cast", _wrap_charp_cast, METH_VARARGS, (char *)"charp_cast(charp self) -> char"}, - { (char *)"charp_frompointer", _wrap_charp_frompointer, METH_VARARGS, (char *)"charp_frompointer(char t) -> charp"}, - { (char *)"charp_swigregister", charp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_intp", _wrap_new_intp, METH_VARARGS, (char *)"new_intp() -> intp"}, - { (char *)"delete_intp", _wrap_delete_intp, METH_VARARGS, (char *)"delete_intp(intp self)"}, - { (char *)"intp_assign", _wrap_intp_assign, METH_VARARGS, (char *)"intp_assign(intp self, int value)"}, - { (char *)"intp_value", _wrap_intp_value, METH_VARARGS, (char *)"intp_value(intp self) -> int"}, - { (char *)"intp_cast", _wrap_intp_cast, METH_VARARGS, (char *)"intp_cast(intp self) -> int"}, - { (char *)"intp_frompointer", _wrap_intp_frompointer, METH_VARARGS, (char *)"intp_frompointer(int t) -> intp"}, - { (char *)"intp_swigregister", intp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_longp", _wrap_new_longp, METH_VARARGS, (char *)"new_longp() -> longp"}, - { (char *)"delete_longp", _wrap_delete_longp, METH_VARARGS, (char *)"delete_longp(longp self)"}, - { (char *)"longp_assign", _wrap_longp_assign, METH_VARARGS, (char *)"longp_assign(longp self, long value)"}, - { (char *)"longp_value", _wrap_longp_value, METH_VARARGS, (char *)"longp_value(longp self) -> long"}, - { (char *)"longp_cast", _wrap_longp_cast, METH_VARARGS, (char *)"longp_cast(longp self) -> long"}, - { (char *)"longp_frompointer", _wrap_longp_frompointer, METH_VARARGS, (char *)"longp_frompointer(long t) -> longp"}, - { (char *)"longp_swigregister", longp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_floatp", _wrap_new_floatp, METH_VARARGS, (char *)"new_floatp() -> floatp"}, - { (char *)"delete_floatp", _wrap_delete_floatp, METH_VARARGS, (char *)"delete_floatp(floatp self)"}, - { (char *)"floatp_assign", _wrap_floatp_assign, METH_VARARGS, (char *)"floatp_assign(floatp self, float value)"}, - { (char *)"floatp_value", _wrap_floatp_value, METH_VARARGS, (char *)"floatp_value(floatp self) -> float"}, - { (char *)"floatp_cast", _wrap_floatp_cast, METH_VARARGS, (char *)"floatp_cast(floatp self) -> float"}, - { (char *)"floatp_frompointer", _wrap_floatp_frompointer, METH_VARARGS, (char *)"floatp_frompointer(float t) -> floatp"}, - { (char *)"floatp_swigregister", floatp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_doublep", _wrap_new_doublep, METH_VARARGS, (char *)"new_doublep() -> doublep"}, - { (char *)"delete_doublep", _wrap_delete_doublep, METH_VARARGS, (char *)"delete_doublep(doublep self)"}, - { (char *)"doublep_assign", _wrap_doublep_assign, METH_VARARGS, (char *)"doublep_assign(doublep self, double value)"}, - { (char *)"doublep_value", _wrap_doublep_value, METH_VARARGS, (char *)"doublep_value(doublep self) -> double"}, - { (char *)"doublep_cast", _wrap_doublep_cast, METH_VARARGS, (char *)"doublep_cast(doublep self) -> double"}, - { (char *)"doublep_frompointer", _wrap_doublep_frompointer, METH_VARARGS, (char *)"doublep_frompointer(double t) -> doublep"}, - { (char *)"doublep_swigregister", doublep_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDict", _wrap_new_SbDict, METH_VARARGS, (char *)"\n" - "SbDict(int entries=251)\n" - "SbDict()\n" - "new_SbDict(SbDict from) -> SbDict\n" - ""}, - { (char *)"delete_SbDict", _wrap_delete_SbDict, METH_VARARGS, (char *)"delete_SbDict(SbDict self)"}, - { (char *)"SbDict_applyToAll", _wrap_SbDict_applyToAll, METH_VARARGS, (char *)"\n" - "applyToAll(void rtn)\n" - "SbDict_applyToAll(SbDict self, void rtn, void data)\n" - ""}, - { (char *)"SbDict_clear", _wrap_SbDict_clear, METH_VARARGS, (char *)"SbDict_clear(SbDict self)"}, - { (char *)"SbDict_enter", _wrap_SbDict_enter, METH_VARARGS, (char *)"SbDict_enter(SbDict self, unsigned long key, void value) -> SbBool"}, - { (char *)"SbDict_find", _wrap_SbDict_find, METH_VARARGS, (char *)"SbDict_find(SbDict self, unsigned long key, void value) -> SbBool"}, - { (char *)"SbDict_makePList", _wrap_SbDict_makePList, METH_VARARGS, (char *)"SbDict_makePList(SbDict self, SbPList keys, SbPList values)"}, - { (char *)"SbDict_remove", _wrap_SbDict_remove, METH_VARARGS, (char *)"SbDict_remove(SbDict self, unsigned long key) -> SbBool"}, - { (char *)"SbDict_setHashingFunction", _wrap_SbDict_setHashingFunction, METH_VARARGS, (char *)"SbDict_setHashingFunction(SbDict self, unsigned long func)"}, - { (char *)"SbDict_swigregister", SbDict_swigregister, METH_VARARGS, NULL}, - { (char *)"SoType_fromName", _wrap_SoType_fromName, METH_VARARGS, (char *)"SoType_fromName(SbName name) -> SoType"}, - { (char *)"SoType_getName", _wrap_SoType_getName, METH_VARARGS, (char *)"SoType_getName(SoType self) -> SbName"}, - { (char *)"SoType_getParent", _wrap_SoType_getParent, METH_VARARGS, (char *)"SoType_getParent(SoType self) -> SoType"}, - { (char *)"SoType_isDerivedFrom", _wrap_SoType_isDerivedFrom, METH_VARARGS, (char *)"SoType_isDerivedFrom(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType_getAllDerivedFrom", _wrap_SoType_getAllDerivedFrom, METH_VARARGS, (char *)"SoType_getAllDerivedFrom(SoType type, SoTypeList list) -> int"}, - { (char *)"SoType_canCreateInstance", _wrap_SoType_canCreateInstance, METH_VARARGS, (char *)"SoType_canCreateInstance(SoType self) -> SbBool"}, - { (char *)"SoType_getData", _wrap_SoType_getData, METH_VARARGS, (char *)"SoType_getData(SoType self) -> uint16_t"}, - { (char *)"SoType_getKey", _wrap_SoType_getKey, METH_VARARGS, (char *)"SoType_getKey(SoType self) -> int16_t"}, - { (char *)"SoType___eq__", _wrap_SoType___eq__, METH_VARARGS, (char *)"SoType___eq__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___ne__", _wrap_SoType___ne__, METH_VARARGS, (char *)"SoType___ne__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___lt__", _wrap_SoType___lt__, METH_VARARGS, (char *)"SoType___lt__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___le__", _wrap_SoType___le__, METH_VARARGS, (char *)"SoType___le__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___ge__", _wrap_SoType___ge__, METH_VARARGS, (char *)"SoType___ge__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType___gt__", _wrap_SoType___gt__, METH_VARARGS, (char *)"SoType___gt__(SoType self, SoType type) -> SbBool"}, - { (char *)"SoType_init", _wrap_SoType_init, METH_VARARGS, (char *)"SoType_init()"}, - { (char *)"SoType_fromKey", _wrap_SoType_fromKey, METH_VARARGS, (char *)"SoType_fromKey(uint16_t key) -> SoType"}, - { (char *)"SoType_badType", _wrap_SoType_badType, METH_VARARGS, (char *)"SoType_badType() -> SoType"}, - { (char *)"SoType_isBad", _wrap_SoType_isBad, METH_VARARGS, (char *)"SoType_isBad(SoType self) -> SbBool"}, - { (char *)"SoType_makeInternal", _wrap_SoType_makeInternal, METH_VARARGS, (char *)"SoType_makeInternal(SoType self)"}, - { (char *)"SoType_isInternal", _wrap_SoType_isInternal, METH_VARARGS, (char *)"SoType_isInternal(SoType self) -> SbBool"}, - { (char *)"SoType_getNumTypes", _wrap_SoType_getNumTypes, METH_VARARGS, (char *)"SoType_getNumTypes() -> int"}, - { (char *)"SoType_getInstantiationMethod", _wrap_SoType_getInstantiationMethod, METH_VARARGS, (char *)"SoType_getInstantiationMethod(SoType self) -> instantiationMethod"}, - { (char *)"SoType_createInstance", _wrap_SoType_createInstance, METH_VARARGS, (char *)"SoType_createInstance(SoType self) -> PyObject"}, - { (char *)"new_SoType", _wrap_new_SoType, METH_VARARGS, (char *)"new_SoType() -> SoType"}, - { (char *)"delete_SoType", _wrap_delete_SoType, METH_VARARGS, (char *)"delete_SoType(SoType self)"}, - { (char *)"SoType_swigregister", SoType_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2s", _wrap_new_SbVec2s, METH_VARARGS, (char *)"\n" - "SbVec2s()\n" - "SbVec2s(short v)\n" - "new_SbVec2s(short x, short y) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s_dot", _wrap_SbVec2s_dot, METH_VARARGS, (char *)"SbVec2s_dot(SbVec2s self, SbVec2s v) -> int32_t"}, - { (char *)"SbVec2s_getValue", _wrap_SbVec2s_getValue, METH_VARARGS, (char *)"SbVec2s_getValue(SbVec2s self, short x, short y)"}, - { (char *)"SbVec2s_negate", _wrap_SbVec2s_negate, METH_VARARGS, (char *)"SbVec2s_negate(SbVec2s self)"}, - { (char *)"SbVec2s_setValue", _wrap_SbVec2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(short v) -> SbVec2s\n" - "SbVec2s_setValue(SbVec2s self, short x, short y) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s___imul__", _wrap_SbVec2s___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec2s\n" - "SbVec2s___imul__(SbVec2s self, double d) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s___idiv__", _wrap_SbVec2s___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec2s\n" - "SbVec2s___idiv__(SbVec2s self, double d) -> SbVec2s\n" - ""}, - { (char *)"SbVec2s___iadd__", _wrap_SbVec2s___iadd__, METH_VARARGS, (char *)"SbVec2s___iadd__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___isub__", _wrap_SbVec2s___isub__, METH_VARARGS, (char *)"SbVec2s___isub__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___neg__", _wrap_SbVec2s___neg__, METH_VARARGS, (char *)"SbVec2s___neg__(SbVec2s self) -> SbVec2s"}, - { (char *)"SbVec2s_output", _wrap_SbVec2s_output, METH_VARARGS, (char *)"SbVec2s_output(SbVec2s self, FILE fp)"}, - { (char *)"SbVec2s___add__", _wrap_SbVec2s___add__, METH_VARARGS, (char *)"SbVec2s___add__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___sub__", _wrap_SbVec2s___sub__, METH_VARARGS, (char *)"SbVec2s___sub__(SbVec2s self, SbVec2s u) -> SbVec2s"}, - { (char *)"SbVec2s___mul__", _wrap_SbVec2s___mul__, METH_VARARGS, (char *)"SbVec2s___mul__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___rmul__", _wrap_SbVec2s___rmul__, METH_VARARGS, (char *)"SbVec2s___rmul__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___div__", _wrap_SbVec2s___div__, METH_VARARGS, (char *)"SbVec2s___div__(SbVec2s self, double d) -> SbVec2s"}, - { (char *)"SbVec2s___eq__", _wrap_SbVec2s___eq__, METH_VARARGS, (char *)"SbVec2s___eq__(SbVec2s self, SbVec2s u) -> int"}, - { (char *)"SbVec2s___nq__", _wrap_SbVec2s___nq__, METH_VARARGS, (char *)"SbVec2s___nq__(SbVec2s self, SbVec2s u) -> int"}, - { (char *)"SbVec2s___getitem__", _wrap_SbVec2s___getitem__, METH_VARARGS, (char *)"SbVec2s___getitem__(SbVec2s self, int i) -> short"}, - { (char *)"SbVec2s___setitem__", _wrap_SbVec2s___setitem__, METH_VARARGS, (char *)"SbVec2s___setitem__(SbVec2s self, int i, short value)"}, - { (char *)"delete_SbVec2s", _wrap_delete_SbVec2s, METH_VARARGS, (char *)"delete_SbVec2s(SbVec2s self)"}, - { (char *)"SbVec2s_swigregister", SbVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPList", _wrap_new_SbPList, METH_VARARGS, (char *)"\n" - "SbPList(int sizehint=)\n" - "SbPList()\n" - "new_SbPList(SbPList l) -> SbPList\n" - ""}, - { (char *)"delete_SbPList", _wrap_delete_SbPList, METH_VARARGS, (char *)"delete_SbPList(SbPList self)"}, - { (char *)"SbPList_copy", _wrap_SbPList_copy, METH_VARARGS, (char *)"SbPList_copy(SbPList self, SbPList l)"}, - { (char *)"SbPList_fit", _wrap_SbPList_fit, METH_VARARGS, (char *)"SbPList_fit(SbPList self)"}, - { (char *)"SbPList_append", _wrap_SbPList_append, METH_VARARGS, (char *)"SbPList_append(SbPList self, void item)"}, - { (char *)"SbPList_find", _wrap_SbPList_find, METH_VARARGS, (char *)"SbPList_find(SbPList self, void item) -> int"}, - { (char *)"SbPList_insert", _wrap_SbPList_insert, METH_VARARGS, (char *)"SbPList_insert(SbPList self, void item, int insertbefore)"}, - { (char *)"SbPList_removeItem", _wrap_SbPList_removeItem, METH_VARARGS, (char *)"SbPList_removeItem(SbPList self, void item)"}, - { (char *)"SbPList_remove", _wrap_SbPList_remove, METH_VARARGS, (char *)"SbPList_remove(SbPList self, int index)"}, - { (char *)"SbPList_removeFast", _wrap_SbPList_removeFast, METH_VARARGS, (char *)"SbPList_removeFast(SbPList self, int index)"}, - { (char *)"SbPList_getLength", _wrap_SbPList_getLength, METH_VARARGS, (char *)"SbPList_getLength(SbPList self) -> int"}, - { (char *)"SbPList_truncate", _wrap_SbPList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int length, int fit=0)\n" - "SbPList_truncate(SbPList self, int length)\n" - ""}, - { (char *)"SbPList_getArrayPtr", _wrap_SbPList_getArrayPtr, METH_VARARGS, (char *)"\n" - "getArrayPtr(int start=0)\n" - "SbPList_getArrayPtr(SbPList self) -> void\n" - ""}, - { (char *)"SbPList___eq__", _wrap_SbPList___eq__, METH_VARARGS, (char *)"SbPList___eq__(SbPList self, SbPList l) -> int"}, - { (char *)"SbPList___ne__", _wrap_SbPList___ne__, METH_VARARGS, (char *)"SbPList___ne__(SbPList self, SbPList l) -> int"}, - { (char *)"SbPList_get", _wrap_SbPList_get, METH_VARARGS, (char *)"SbPList_get(SbPList self, int index) -> void"}, - { (char *)"SbPList_set", _wrap_SbPList_set, METH_VARARGS, (char *)"SbPList_set(SbPList self, int index, void item)"}, - { (char *)"SbPList___getitem__", _wrap_SbPList___getitem__, METH_VARARGS, (char *)"SbPList___getitem__(SbPList self, int i) -> void"}, - { (char *)"SbPList___setitem__", _wrap_SbPList___setitem__, METH_VARARGS, (char *)"SbPList___setitem__(SbPList self, int i, void val)"}, - { (char *)"SbPList_swigregister", SbPList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbIntList", _wrap_new_SbIntList, METH_VARARGS, (char *)"\n" - "SbIntList()\n" - "new_SbIntList(int sizehint) -> SbIntList\n" - ""}, - { (char *)"SbIntList_append", _wrap_SbIntList_append, METH_VARARGS, (char *)"SbIntList_append(SbIntList self, int item)"}, - { (char *)"SbIntList_find", _wrap_SbIntList_find, METH_VARARGS, (char *)"SbIntList_find(SbIntList self, int item) -> int"}, - { (char *)"SbIntList_insert", _wrap_SbIntList_insert, METH_VARARGS, (char *)"SbIntList_insert(SbIntList self, int item, int addbefore)"}, - { (char *)"SbIntList___setitem__", _wrap_SbIntList___setitem__, METH_VARARGS, (char *)"SbIntList___setitem__(SbIntList self, int i, int value)"}, - { (char *)"SbIntList___getitem__", _wrap_SbIntList___getitem__, METH_VARARGS, (char *)"SbIntList___getitem__(SbIntList self, int i) -> int"}, - { (char *)"SbIntList_get", _wrap_SbIntList_get, METH_VARARGS, (char *)"SbIntList_get(SbIntList self, int i) -> int"}, - { (char *)"delete_SbIntList", _wrap_delete_SbIntList, METH_VARARGS, (char *)"delete_SbIntList(SbIntList self)"}, - { (char *)"SbIntList_swigregister", SbIntList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbString", _wrap_new_SbString, METH_VARARGS, (char *)"\n" - "SbString()\n" - "SbString(char s)\n" - "SbString(char s, int start, int end)\n" - "SbString(SbString s)\n" - "new_SbString(int digits) -> SbString\n" - ""}, - { (char *)"delete_SbString", _wrap_delete_SbString, METH_VARARGS, (char *)"delete_SbString(SbString self)"}, - { (char *)"SbString_hash", _wrap_SbString_hash, METH_VARARGS, (char *)"\n" - "hash() -> uint32_t\n" - "SbString_hash(char s) -> uint32_t\n" - ""}, - { (char *)"SbString_getLength", _wrap_SbString_getLength, METH_VARARGS, (char *)"SbString_getLength(SbString self) -> int"}, - { (char *)"SbString_makeEmpty", _wrap_SbString_makeEmpty, METH_VARARGS, (char *)"\n" - "makeEmpty(SbBool freeold=1)\n" - "SbString_makeEmpty(SbString self)\n" - ""}, - { (char *)"SbString_getString", _wrap_SbString_getString, METH_VARARGS, (char *)"SbString_getString(SbString self) -> char"}, - { (char *)"SbString_getSubString", _wrap_SbString_getSubString, METH_VARARGS, (char *)"\n" - "getSubString(int startidx, int endidx=-1) -> SbString\n" - "SbString_getSubString(SbString self, int startidx) -> SbString\n" - ""}, - { (char *)"SbString_deleteSubString", _wrap_SbString_deleteSubString, METH_VARARGS, (char *)"\n" - "deleteSubString(int startidx, int endidx=-1)\n" - "SbString_deleteSubString(SbString self, int startidx)\n" - ""}, - { (char *)"SbString_addIntString", _wrap_SbString_addIntString, METH_VARARGS, (char *)"SbString_addIntString(SbString self, int value)"}, - { (char *)"SbString___iadd__", _wrap_SbString___iadd__, METH_VARARGS, (char *)"\n" - "__iadd__(char s) -> SbString\n" - "__iadd__(SbString s) -> SbString\n" - "SbString___iadd__(SbString self, char c) -> SbString\n" - ""}, - { (char *)"SbString_compareSubString", _wrap_SbString_compareSubString, METH_VARARGS, (char *)"\n" - "compareSubString(char text, int offset=0) -> int\n" - "SbString_compareSubString(SbString self, char text) -> int\n" - ""}, - { (char *)"SbString_sprintf", _wrap_SbString_sprintf, METH_VARARGS, (char *)"SbString_sprintf(SbString self, char formatstr, v(...) ?) -> SbString"}, - { (char *)"SbString_apply", _wrap_SbString_apply, METH_VARARGS, (char *)"SbString_apply(SbString self, char func)"}, - { (char *)"SbString_find", _wrap_SbString_find, METH_VARARGS, (char *)"SbString_find(SbString self, SbString s) -> int"}, - { (char *)"SbString_findAll", _wrap_SbString_findAll, METH_VARARGS, (char *)"SbString_findAll(SbString self, SbString s, SbIntList found) -> SbBool"}, - { (char *)"SbString___eq__", _wrap_SbString___eq__, METH_VARARGS, (char *)"\n" - "__eq__(SbString u) -> int\n" - "SbString___eq__(SbString self, char u) -> int\n" - ""}, - { (char *)"SbString___nq__", _wrap_SbString___nq__, METH_VARARGS, (char *)"\n" - "__nq__(SbString u) -> int\n" - "SbString___nq__(SbString self, char u) -> int\n" - ""}, - { (char *)"SbString___getitem__", _wrap_SbString___getitem__, METH_VARARGS, (char *)"SbString___getitem__(SbString self, int i) -> char"}, - { (char *)"SbString___repr__", _wrap_SbString___repr__, METH_VARARGS, (char *)"SbString___repr__(SbString self) -> char"}, - { (char *)"SbString_swigregister", SbString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbName", _wrap_new_SbName, METH_VARARGS, (char *)"\n" - "SbName()\n" - "SbName(char nameString)\n" - "SbName(SbString str)\n" - "new_SbName(SbName name) -> SbName\n" - ""}, - { (char *)"delete_SbName", _wrap_delete_SbName, METH_VARARGS, (char *)"delete_SbName(SbName self)"}, - { (char *)"SbName_getString", _wrap_SbName_getString, METH_VARARGS, (char *)"SbName_getString(SbName self) -> char"}, - { (char *)"SbName_getLength", _wrap_SbName_getLength, METH_VARARGS, (char *)"SbName_getLength(SbName self) -> int"}, - { (char *)"SbName_isIdentStartChar", _wrap_SbName_isIdentStartChar, METH_VARARGS, (char *)"SbName_isIdentStartChar(char c) -> SbBool"}, - { (char *)"SbName_isIdentChar", _wrap_SbName_isIdentChar, METH_VARARGS, (char *)"SbName_isIdentChar(char c) -> SbBool"}, - { (char *)"SbName_isBaseNameStartChar", _wrap_SbName_isBaseNameStartChar, METH_VARARGS, (char *)"SbName_isBaseNameStartChar(char c) -> SbBool"}, - { (char *)"SbName_isBaseNameChar", _wrap_SbName_isBaseNameChar, METH_VARARGS, (char *)"SbName_isBaseNameChar(char c) -> SbBool"}, - { (char *)"SbName___eq__", _wrap_SbName___eq__, METH_VARARGS, (char *)"\n" - "__eq__(SbName u) -> int\n" - "__eq__(char u) -> int\n" - "SbName___eq__(SbName self, SbString u) -> int\n" - ""}, - { (char *)"SbName___nq__", _wrap_SbName___nq__, METH_VARARGS, (char *)"\n" - "__nq__(SbName u) -> int\n" - "__nq__(char u) -> int\n" - "SbName___nq__(SbName self, SbString u) -> int\n" - ""}, - { (char *)"SbName___getitem__", _wrap_SbName___getitem__, METH_VARARGS, (char *)"SbName___getitem__(SbName self, int i) -> char"}, - { (char *)"SbName___repr__", _wrap_SbName___repr__, METH_VARARGS, (char *)"SbName___repr__(SbName self) -> char"}, - { (char *)"SbName_swigregister", SbName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTime", _wrap_new_SbTime, METH_VARARGS, (char *)"\n" - "SbTime()\n" - "SbTime(double sec)\n" - "SbTime(int32_t sec, long usec)\n" - "new_SbTime(timeval tv) -> SbTime\n" - ""}, - { (char *)"SbTime_getTimeOfDay", _wrap_SbTime_getTimeOfDay, METH_VARARGS, (char *)"SbTime_getTimeOfDay() -> SbTime"}, - { (char *)"SbTime_setToTimeOfDay", _wrap_SbTime_setToTimeOfDay, METH_VARARGS, (char *)"SbTime_setToTimeOfDay(SbTime self)"}, - { (char *)"SbTime_zero", _wrap_SbTime_zero, METH_VARARGS, (char *)"SbTime_zero() -> SbTime"}, - { (char *)"SbTime_max", _wrap_SbTime_max, METH_VARARGS, (char *)"SbTime_max() -> SbTime"}, - { (char *)"SbTime_maxTime", _wrap_SbTime_maxTime, METH_VARARGS, (char *)"SbTime_maxTime() -> SbTime"}, - { (char *)"SbTime_setValue", _wrap_SbTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(double sec)\n" - "setValue(int32_t sec, long usec)\n" - "SbTime_setValue(SbTime self, timeval tv)\n" - ""}, - { (char *)"SbTime_setMsecValue", _wrap_SbTime_setMsecValue, METH_VARARGS, (char *)"SbTime_setMsecValue(SbTime self, unsigned long msec)"}, - { (char *)"SbTime_getValue", _wrap_SbTime_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> double\n" - "getValue(time_t sec, long usec)\n" - "SbTime_getValue(SbTime self, timeval tv)\n" - ""}, - { (char *)"SbTime_getMsecValue", _wrap_SbTime_getMsecValue, METH_VARARGS, (char *)"SbTime_getMsecValue(SbTime self) -> unsigned long"}, - { (char *)"SbTime_format", _wrap_SbTime_format, METH_VARARGS, (char *)"\n" - "format(char fmt=\"%S.%i\") -> SbString\n" - "SbTime_format(SbTime self) -> SbString\n" - ""}, - { (char *)"SbTime_formatDate", _wrap_SbTime_formatDate, METH_VARARGS, (char *)"\n" - "formatDate(char fmt=None) -> SbString\n" - "SbTime_formatDate(SbTime self) -> SbString\n" - ""}, - { (char *)"SbTime_parsedate", _wrap_SbTime_parsedate, METH_VARARGS, (char *)"SbTime_parsedate(SbTime self, char date) -> SbBool"}, - { (char *)"SbTime___iadd__", _wrap_SbTime___iadd__, METH_VARARGS, (char *)"SbTime___iadd__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___isub__", _wrap_SbTime___isub__, METH_VARARGS, (char *)"SbTime___isub__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___neg__", _wrap_SbTime___neg__, METH_VARARGS, (char *)"SbTime___neg__(SbTime self) -> SbTime"}, - { (char *)"SbTime___imul__", _wrap_SbTime___imul__, METH_VARARGS, (char *)"SbTime___imul__(SbTime self, double s) -> SbTime"}, - { (char *)"SbTime___idiv__", _wrap_SbTime___idiv__, METH_VARARGS, (char *)"SbTime___idiv__(SbTime self, double s) -> SbTime"}, - { (char *)"SbTime___mod__", _wrap_SbTime___mod__, METH_VARARGS, (char *)"SbTime___mod__(SbTime self, SbTime tm) -> SbTime"}, - { (char *)"SbTime___eq__", _wrap_SbTime___eq__, METH_VARARGS, (char *)"SbTime___eq__(SbTime self, SbTime tm) -> int"}, - { (char *)"SbTime___ne__", _wrap_SbTime___ne__, METH_VARARGS, (char *)"SbTime___ne__(SbTime self, SbTime tm) -> int"}, - { (char *)"SbTime___lt__", _wrap_SbTime___lt__, METH_VARARGS, (char *)"SbTime___lt__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___gt__", _wrap_SbTime___gt__, METH_VARARGS, (char *)"SbTime___gt__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___le__", _wrap_SbTime___le__, METH_VARARGS, (char *)"SbTime___le__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime___ge__", _wrap_SbTime___ge__, METH_VARARGS, (char *)"SbTime___ge__(SbTime self, SbTime tm) -> SbBool"}, - { (char *)"SbTime_output", _wrap_SbTime_output, METH_VARARGS, (char *)"SbTime_output(SbTime self, FILE fp)"}, - { (char *)"SbTime___add__", _wrap_SbTime___add__, METH_VARARGS, (char *)"SbTime___add__(SbTime self, SbTime u) -> SbTime"}, - { (char *)"SbTime___sub__", _wrap_SbTime___sub__, METH_VARARGS, (char *)"SbTime___sub__(SbTime self, SbTime u) -> SbTime"}, - { (char *)"SbTime___mul__", _wrap_SbTime___mul__, METH_VARARGS, (char *)"SbTime___mul__(SbTime self, double d) -> SbTime"}, - { (char *)"SbTime___rmul__", _wrap_SbTime___rmul__, METH_VARARGS, (char *)"SbTime___rmul__(SbTime self, double d) -> SbTime"}, - { (char *)"SbTime___div__", _wrap_SbTime___div__, METH_VARARGS, (char *)"\n" - "__div__(SbTime tm) -> double\n" - "SbTime___div__(SbTime self, double d) -> SbTime\n" - ""}, - { (char *)"delete_SbTime", _wrap_delete_SbTime, METH_VARARGS, (char *)"delete_SbTime(SbTime self)"}, - { (char *)"SbTime_swigregister", SbTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEvent", _wrap_new_SoEvent, METH_VARARGS, (char *)"new_SoEvent() -> SoEvent"}, - { (char *)"delete_SoEvent", _wrap_delete_SoEvent, METH_VARARGS, (char *)"delete_SoEvent(SoEvent self)"}, - { (char *)"SoEvent_isOfType", _wrap_SoEvent_isOfType, METH_VARARGS, (char *)"SoEvent_isOfType(SoEvent self, SoType type) -> SbBool"}, - { (char *)"SoEvent_getClassTypeId", _wrap_SoEvent_getClassTypeId, METH_VARARGS, (char *)"SoEvent_getClassTypeId() -> SoType"}, - { (char *)"SoEvent_getTypeId", _wrap_SoEvent_getTypeId, METH_VARARGS, (char *)"SoEvent_getTypeId(SoEvent self) -> SoType"}, - { (char *)"SoEvent_setTime", _wrap_SoEvent_setTime, METH_VARARGS, (char *)"SoEvent_setTime(SoEvent self, SbTime t)"}, - { (char *)"SoEvent_getTime", _wrap_SoEvent_getTime, METH_VARARGS, (char *)"SoEvent_getTime(SoEvent self) -> SbTime"}, - { (char *)"SoEvent_setPosition", _wrap_SoEvent_setPosition, METH_VARARGS, (char *)"SoEvent_setPosition(SoEvent self, SbVec2s p)"}, - { (char *)"SoEvent_getPosition", _wrap_SoEvent_getPosition, METH_VARARGS, (char *)"\n" - "getPosition() -> SbVec2s\n" - "SoEvent_getPosition(SoEvent self, SbViewportRegion vpRgn) -> SbVec2s\n" - ""}, - { (char *)"SoEvent_getNormalizedPosition", _wrap_SoEvent_getNormalizedPosition, METH_VARARGS, (char *)"SoEvent_getNormalizedPosition(SoEvent self, SbViewportRegion vpRgn) -> SbVec2f"}, - { (char *)"SoEvent_setShiftDown", _wrap_SoEvent_setShiftDown, METH_VARARGS, (char *)"SoEvent_setShiftDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasShiftDown", _wrap_SoEvent_wasShiftDown, METH_VARARGS, (char *)"SoEvent_wasShiftDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_setCtrlDown", _wrap_SoEvent_setCtrlDown, METH_VARARGS, (char *)"SoEvent_setCtrlDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasCtrlDown", _wrap_SoEvent_wasCtrlDown, METH_VARARGS, (char *)"SoEvent_wasCtrlDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_setAltDown", _wrap_SoEvent_setAltDown, METH_VARARGS, (char *)"SoEvent_setAltDown(SoEvent self, SbBool isDown)"}, - { (char *)"SoEvent_wasAltDown", _wrap_SoEvent_wasAltDown, METH_VARARGS, (char *)"SoEvent_wasAltDown(SoEvent self) -> SbBool"}, - { (char *)"SoEvent_initClass", _wrap_SoEvent_initClass, METH_VARARGS, (char *)"SoEvent_initClass()"}, - { (char *)"SoEvent_swigregister", SoEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotRec", _wrap_new_SoNotRec, METH_VARARGS, (char *)"new_SoNotRec(SoBase notifbase) -> SoNotRec"}, - { (char *)"SoNotRec_setType", _wrap_SoNotRec_setType, METH_VARARGS, (char *)"SoNotRec_setType(SoNotRec self, Type type)"}, - { (char *)"SoNotRec_getBase", _wrap_SoNotRec_getBase, METH_VARARGS, (char *)"SoNotRec_getBase(SoNotRec self) -> SoBase"}, - { (char *)"SoNotRec_getType", _wrap_SoNotRec_getType, METH_VARARGS, (char *)"SoNotRec_getType(SoNotRec self) -> Type"}, - { (char *)"SoNotRec_getPrevious", _wrap_SoNotRec_getPrevious, METH_VARARGS, (char *)"SoNotRec_getPrevious(SoNotRec self) -> SoNotRec"}, - { (char *)"SoNotRec_setPrevious", _wrap_SoNotRec_setPrevious, METH_VARARGS, (char *)"SoNotRec_setPrevious(SoNotRec self, SoNotRec prev)"}, - { (char *)"SoNotRec_output", _wrap_SoNotRec_output, METH_VARARGS, (char *)"SoNotRec_output(SoNotRec self, FILE file)"}, - { (char *)"delete_SoNotRec", _wrap_delete_SoNotRec, METH_VARARGS, (char *)"delete_SoNotRec(SoNotRec self)"}, - { (char *)"SoNotRec_swigregister", SoNotRec_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotList", _wrap_new_SoNotList, METH_VARARGS, (char *)"\n" - "SoNotList()\n" - "new_SoNotList(SoNotList nl) -> SoNotList\n" - ""}, - { (char *)"SoNotList_append", _wrap_SoNotList_append, METH_VARARGS, (char *)"\n" - "append(SoNotRec rec)\n" - "append(SoNotRec rec, SoField field)\n" - "SoNotList_append(SoNotList self, SoNotRec rec, SoEngineOutput engineout)\n" - ""}, - { (char *)"SoNotList_setLastType", _wrap_SoNotList_setLastType, METH_VARARGS, (char *)"SoNotList_setLastType(SoNotList self, Type type)"}, - { (char *)"SoNotList_getFirstRec", _wrap_SoNotList_getFirstRec, METH_VARARGS, (char *)"SoNotList_getFirstRec(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getLastRec", _wrap_SoNotList_getLastRec, METH_VARARGS, (char *)"SoNotList_getLastRec(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getFirstRecAtNode", _wrap_SoNotList_getFirstRecAtNode, METH_VARARGS, (char *)"SoNotList_getFirstRecAtNode(SoNotList self) -> SoNotRec"}, - { (char *)"SoNotList_getLastField", _wrap_SoNotList_getLastField, METH_VARARGS, (char *)"SoNotList_getLastField(SoNotList self) -> SoField"}, - { (char *)"SoNotList_getLastEngineOutput", _wrap_SoNotList_getLastEngineOutput, METH_VARARGS, (char *)"SoNotList_getLastEngineOutput(SoNotList self) -> SoEngineOutput"}, - { (char *)"SoNotList_getTimeStamp", _wrap_SoNotList_getTimeStamp, METH_VARARGS, (char *)"SoNotList_getTimeStamp(SoNotList self) -> uint32_t"}, - { (char *)"SoNotList_output", _wrap_SoNotList_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoNotList_output(SoNotList self)\n" - ""}, - { (char *)"delete_SoNotList", _wrap_delete_SoNotList, METH_VARARGS, (char *)"delete_SoNotList(SoNotList self)"}, - { (char *)"SoNotList_swigregister", SoNotList_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoField", _wrap_delete_SoField, METH_VARARGS, (char *)"delete_SoField(SoField self)"}, - { (char *)"SoField_initClass", _wrap_SoField_initClass, METH_VARARGS, (char *)"SoField_initClass()"}, - { (char *)"SoField_initClasses", _wrap_SoField_initClasses, METH_VARARGS, (char *)"SoField_initClasses()"}, - { (char *)"SoField_setIgnored", _wrap_SoField_setIgnored, METH_VARARGS, (char *)"SoField_setIgnored(SoField self, SbBool ignore)"}, - { (char *)"SoField_isIgnored", _wrap_SoField_isIgnored, METH_VARARGS, (char *)"SoField_isIgnored(SoField self) -> SbBool"}, - { (char *)"SoField_setDefault", _wrap_SoField_setDefault, METH_VARARGS, (char *)"SoField_setDefault(SoField self, SbBool def)"}, - { (char *)"SoField_isDefault", _wrap_SoField_isDefault, METH_VARARGS, (char *)"SoField_isDefault(SoField self) -> SbBool"}, - { (char *)"SoField_getTypeId", _wrap_SoField_getTypeId, METH_VARARGS, (char *)"SoField_getTypeId(SoField self) -> SoType"}, - { (char *)"SoField_getClassTypeId", _wrap_SoField_getClassTypeId, METH_VARARGS, (char *)"SoField_getClassTypeId() -> SoType"}, - { (char *)"SoField_isOfType", _wrap_SoField_isOfType, METH_VARARGS, (char *)"SoField_isOfType(SoField self, SoType type) -> SbBool"}, - { (char *)"SoField_enableConnection", _wrap_SoField_enableConnection, METH_VARARGS, (char *)"SoField_enableConnection(SoField self, SbBool flag)"}, - { (char *)"SoField_isConnectionEnabled", _wrap_SoField_isConnectionEnabled, METH_VARARGS, (char *)"SoField_isConnectionEnabled(SoField self) -> SbBool"}, - { (char *)"SoField_isConnectedFromEngine", _wrap_SoField_isConnectedFromEngine, METH_VARARGS, (char *)"SoField_isConnectedFromEngine(SoField self) -> SbBool"}, - { (char *)"SoField_getConnectedEngine", _wrap_SoField_getConnectedEngine, METH_VARARGS, (char *)"SoField_getConnectedEngine(SoField self, SoEngineOutput master) -> SbBool"}, - { (char *)"SoField_connectFrom", _wrap_SoField_connectFrom, METH_VARARGS, (char *)"\n" - "connectFrom(SoEngineOutput master, SbBool notnotify=0, SbBool append=0) -> SbBool\n" - "connectFrom(SoEngineOutput master, SbBool notnotify=0) -> SbBool\n" - "connectFrom(SoEngineOutput master) -> SbBool\n" - "connectFrom(SoField master, SbBool notnotify=0, SbBool append=0) -> SbBool\n" - "connectFrom(SoField master, SbBool notnotify=0) -> SbBool\n" - "SoField_connectFrom(SoField self, SoField master) -> SbBool\n" - ""}, - { (char *)"SoField_appendConnection", _wrap_SoField_appendConnection, METH_VARARGS, (char *)"\n" - "appendConnection(SoEngineOutput master, SbBool notnotify=0) -> SbBool\n" - "appendConnection(SoEngineOutput master) -> SbBool\n" - "appendConnection(SoField master, SbBool notnotify=0) -> SbBool\n" - "SoField_appendConnection(SoField self, SoField master) -> SbBool\n" - ""}, - { (char *)"SoField_isConnectedFromField", _wrap_SoField_isConnectedFromField, METH_VARARGS, (char *)"SoField_isConnectedFromField(SoField self) -> SbBool"}, - { (char *)"SoField_getConnectedField", _wrap_SoField_getConnectedField, METH_VARARGS, (char *)"SoField_getConnectedField(SoField self, SoField master) -> SbBool"}, - { (char *)"SoField_getNumConnections", _wrap_SoField_getNumConnections, METH_VARARGS, (char *)"SoField_getNumConnections(SoField self) -> int"}, - { (char *)"SoField_getForwardConnections", _wrap_SoField_getForwardConnections, METH_VARARGS, (char *)"SoField_getForwardConnections(SoField self, SoFieldList slavelist) -> int"}, - { (char *)"SoField_getConnections", _wrap_SoField_getConnections, METH_VARARGS, (char *)"SoField_getConnections(SoField self, SoFieldList masterlist) -> int"}, - { (char *)"SoField_disconnect", _wrap_SoField_disconnect, METH_VARARGS, (char *)"\n" - "disconnect(SoEngineOutput engineoutput)\n" - "disconnect(SoField field)\n" - "SoField_disconnect(SoField self)\n" - ""}, - { (char *)"SoField_isConnected", _wrap_SoField_isConnected, METH_VARARGS, (char *)"SoField_isConnected(SoField self) -> SbBool"}, - { (char *)"SoField_setContainer", _wrap_SoField_setContainer, METH_VARARGS, (char *)"SoField_setContainer(SoField self, SoFieldContainer cont)"}, - { (char *)"SoField_getContainer", _wrap_SoField_getContainer, METH_VARARGS, (char *)"SoField_getContainer(SoField self) -> SoFieldContainer"}, - { (char *)"SoField_set", _wrap_SoField_set, METH_VARARGS, (char *)"SoField_set(SoField self, char valuestring) -> SbBool"}, - { (char *)"SoField_shouldWrite", _wrap_SoField_shouldWrite, METH_VARARGS, (char *)"SoField_shouldWrite(SoField self) -> SbBool"}, - { (char *)"SoField_touch", _wrap_SoField_touch, METH_VARARGS, (char *)"SoField_touch(SoField self)"}, - { (char *)"SoField_startNotify", _wrap_SoField_startNotify, METH_VARARGS, (char *)"SoField_startNotify(SoField self)"}, - { (char *)"SoField_notify", _wrap_SoField_notify, METH_VARARGS, (char *)"SoField_notify(SoField self, SoNotList nlist)"}, - { (char *)"SoField_enableNotify", _wrap_SoField_enableNotify, METH_VARARGS, (char *)"SoField_enableNotify(SoField self, SbBool on) -> SbBool"}, - { (char *)"SoField_isNotifyEnabled", _wrap_SoField_isNotifyEnabled, METH_VARARGS, (char *)"SoField_isNotifyEnabled(SoField self) -> SbBool"}, - { (char *)"SoField_addAuditor", _wrap_SoField_addAuditor, METH_VARARGS, (char *)"SoField_addAuditor(SoField self, void f, Type type)"}, - { (char *)"SoField_removeAuditor", _wrap_SoField_removeAuditor, METH_VARARGS, (char *)"SoField_removeAuditor(SoField self, void f, Type type)"}, - { (char *)"SoField___eq__", _wrap_SoField___eq__, METH_VARARGS, (char *)"SoField___eq__(SoField self, SoField f) -> int"}, - { (char *)"SoField___ne__", _wrap_SoField___ne__, METH_VARARGS, (char *)"SoField___ne__(SoField self, SoField f) -> int"}, - { (char *)"SoField_connectionStatusChanged", _wrap_SoField_connectionStatusChanged, METH_VARARGS, (char *)"SoField_connectionStatusChanged(SoField self, int numconnections)"}, - { (char *)"SoField_isReadOnly", _wrap_SoField_isReadOnly, METH_VARARGS, (char *)"SoField_isReadOnly(SoField self) -> SbBool"}, - { (char *)"SoField_isSame", _wrap_SoField_isSame, METH_VARARGS, (char *)"SoField_isSame(SoField self, SoField f) -> SbBool"}, - { (char *)"SoField_copyFrom", _wrap_SoField_copyFrom, METH_VARARGS, (char *)"SoField_copyFrom(SoField self, SoField f)"}, - { (char *)"SoField_fixCopy", _wrap_SoField_fixCopy, METH_VARARGS, (char *)"SoField_fixCopy(SoField self, SbBool copyconnections)"}, - { (char *)"SoField_referencesCopy", _wrap_SoField_referencesCopy, METH_VARARGS, (char *)"SoField_referencesCopy(SoField self) -> SbBool"}, - { (char *)"SoField_copyConnection", _wrap_SoField_copyConnection, METH_VARARGS, (char *)"SoField_copyConnection(SoField self, SoField fromfield)"}, - { (char *)"SoField_read", _wrap_SoField_read, METH_VARARGS, (char *)"SoField_read(SoField self, SoInput in, SbName name) -> SbBool"}, - { (char *)"SoField_write", _wrap_SoField_write, METH_VARARGS, (char *)"SoField_write(SoField self, SoOutput out, SbName name)"}, - { (char *)"SoField_countWriteRefs", _wrap_SoField_countWriteRefs, METH_VARARGS, (char *)"SoField_countWriteRefs(SoField self, SoOutput out)"}, - { (char *)"SoField_setFieldType", _wrap_SoField_setFieldType, METH_VARARGS, (char *)"SoField_setFieldType(SoField self, int type)"}, - { (char *)"SoField_getFieldType", _wrap_SoField_getFieldType, METH_VARARGS, (char *)"SoField_getFieldType(SoField self) -> int"}, - { (char *)"SoField_getDirty", _wrap_SoField_getDirty, METH_VARARGS, (char *)"SoField_getDirty(SoField self) -> SbBool"}, - { (char *)"SoField_setDirty", _wrap_SoField_setDirty, METH_VARARGS, (char *)"SoField_setDirty(SoField self, SbBool dirty)"}, - { (char *)"SoField_evaluate", _wrap_SoField_evaluate, METH_VARARGS, (char *)"SoField_evaluate(SoField self)"}, - { (char *)"SoField_get", _wrap_SoField_get, METH_VARARGS, (char *)"SoField_get(SoField self) -> SbString"}, - { (char *)"SoField_swigregister", SoField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSField", _wrap_delete_SoSField, METH_VARARGS, (char *)"delete_SoSField(SoSField self)"}, - { (char *)"SoSField_initClass", _wrap_SoSField_initClass, METH_VARARGS, (char *)"SoSField_initClass()"}, - { (char *)"SoSField_getClassTypeId", _wrap_SoSField_getClassTypeId, METH_VARARGS, (char *)"SoSField_getClassTypeId() -> SoType"}, - { (char *)"SoSField_swigregister", SoSField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoMField", _wrap_delete_SoMField, METH_VARARGS, (char *)"delete_SoMField(SoMField self)"}, - { (char *)"SoMField_getClassTypeId", _wrap_SoMField_getClassTypeId, METH_VARARGS, (char *)"SoMField_getClassTypeId() -> SoType"}, - { (char *)"SoMField_getNum", _wrap_SoMField_getNum, METH_VARARGS, (char *)"SoMField_getNum(SoMField self) -> int"}, - { (char *)"SoMField_setNum", _wrap_SoMField_setNum, METH_VARARGS, (char *)"SoMField_setNum(SoMField self, int num)"}, - { (char *)"SoMField_deleteValues", _wrap_SoMField_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMField_deleteValues(SoMField self, int start)\n" - ""}, - { (char *)"SoMField_insertSpace", _wrap_SoMField_insertSpace, METH_VARARGS, (char *)"SoMField_insertSpace(SoMField self, int start, int num)"}, - { (char *)"SoMField_set1", _wrap_SoMField_set1, METH_VARARGS, (char *)"SoMField_set1(SoMField self, int index, char valuestring) -> SbBool"}, - { (char *)"SoMField_initClass", _wrap_SoMField_initClass, METH_VARARGS, (char *)"SoMField_initClass()"}, - { (char *)"SoMField_enableDeleteValues", _wrap_SoMField_enableDeleteValues, METH_VARARGS, (char *)"SoMField_enableDeleteValues(SoMField self)"}, - { (char *)"SoMField_isDeleteValuesEnabled", _wrap_SoMField_isDeleteValuesEnabled, METH_VARARGS, (char *)"SoMField_isDeleteValuesEnabled(SoMField self) -> SbBool"}, - { (char *)"SoMField___len__", _wrap_SoMField___len__, METH_VARARGS, (char *)"SoMField___len__(SoMField self) -> int"}, - { (char *)"SoMField_get1", _wrap_SoMField_get1, METH_VARARGS, (char *)"SoMField_get1(SoMField self, int index) -> SbString"}, - { (char *)"SoMField_swigregister", SoMField_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoAuditorList", _wrap_new_SoAuditorList, METH_VARARGS, (char *)"new_SoAuditorList() -> SoAuditorList"}, - { (char *)"delete_SoAuditorList", _wrap_delete_SoAuditorList, METH_VARARGS, (char *)"delete_SoAuditorList(SoAuditorList self)"}, - { (char *)"SoAuditorList_append", _wrap_SoAuditorList_append, METH_VARARGS, (char *)"SoAuditorList_append(SoAuditorList self, void auditor, Type type)"}, - { (char *)"SoAuditorList_set", _wrap_SoAuditorList_set, METH_VARARGS, (char *)"SoAuditorList_set(SoAuditorList self, int index, void auditor, Type type)"}, - { (char *)"SoAuditorList_getObject", _wrap_SoAuditorList_getObject, METH_VARARGS, (char *)"SoAuditorList_getObject(SoAuditorList self, int index) -> void"}, - { (char *)"SoAuditorList_getType", _wrap_SoAuditorList_getType, METH_VARARGS, (char *)"SoAuditorList_getType(SoAuditorList self, int index) -> Type"}, - { (char *)"SoAuditorList_getLength", _wrap_SoAuditorList_getLength, METH_VARARGS, (char *)"SoAuditorList_getLength(SoAuditorList self) -> int"}, - { (char *)"SoAuditorList_find", _wrap_SoAuditorList_find, METH_VARARGS, (char *)"SoAuditorList_find(SoAuditorList self, void auditor, Type type) -> int"}, - { (char *)"SoAuditorList_remove", _wrap_SoAuditorList_remove, METH_VARARGS, (char *)"\n" - "remove(int index)\n" - "SoAuditorList_remove(SoAuditorList self, void auditor, Type type)\n" - ""}, - { (char *)"SoAuditorList_notify", _wrap_SoAuditorList_notify, METH_VARARGS, (char *)"SoAuditorList_notify(SoAuditorList self, SoNotList l)"}, - { (char *)"SoAuditorList_swigregister", SoAuditorList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBase_initClass", _wrap_SoBase_initClass, METH_VARARGS, (char *)"SoBase_initClass()"}, - { (char *)"SoBase_ref", _wrap_SoBase_ref, METH_VARARGS, (char *)"SoBase_ref(SoBase self)"}, - { (char *)"SoBase_unref", _wrap_SoBase_unref, METH_VARARGS, (char *)"SoBase_unref(SoBase self)"}, - { (char *)"SoBase_unrefNoDelete", _wrap_SoBase_unrefNoDelete, METH_VARARGS, (char *)"SoBase_unrefNoDelete(SoBase self)"}, - { (char *)"SoBase_getRefCount", _wrap_SoBase_getRefCount, METH_VARARGS, (char *)"SoBase_getRefCount(SoBase self) -> int32_t"}, - { (char *)"SoBase_touch", _wrap_SoBase_touch, METH_VARARGS, (char *)"SoBase_touch(SoBase self)"}, - { (char *)"SoBase_getTypeId", _wrap_SoBase_getTypeId, METH_VARARGS, (char *)"SoBase_getTypeId(SoBase self) -> SoType"}, - { (char *)"SoBase_isOfType", _wrap_SoBase_isOfType, METH_VARARGS, (char *)"SoBase_isOfType(SoBase self, SoType type) -> SbBool"}, - { (char *)"SoBase_getClassTypeId", _wrap_SoBase_getClassTypeId, METH_VARARGS, (char *)"SoBase_getClassTypeId() -> SoType"}, - { (char *)"SoBase_getName", _wrap_SoBase_getName, METH_VARARGS, (char *)"SoBase_getName(SoBase self) -> SbName"}, - { (char *)"SoBase_setName", _wrap_SoBase_setName, METH_VARARGS, (char *)"SoBase_setName(SoBase self, SbName newname)"}, - { (char *)"SoBase_addName", _wrap_SoBase_addName, METH_VARARGS, (char *)"SoBase_addName(SoBase base, char name)"}, - { (char *)"SoBase_removeName", _wrap_SoBase_removeName, METH_VARARGS, (char *)"SoBase_removeName(SoBase base, char name)"}, - { (char *)"SoBase_startNotify", _wrap_SoBase_startNotify, METH_VARARGS, (char *)"SoBase_startNotify(SoBase self)"}, - { (char *)"SoBase_notify", _wrap_SoBase_notify, METH_VARARGS, (char *)"SoBase_notify(SoBase self, SoNotList l)"}, - { (char *)"SoBase_addAuditor", _wrap_SoBase_addAuditor, METH_VARARGS, (char *)"SoBase_addAuditor(SoBase self, void auditor, Type type)"}, - { (char *)"SoBase_removeAuditor", _wrap_SoBase_removeAuditor, METH_VARARGS, (char *)"SoBase_removeAuditor(SoBase self, void auditor, Type type)"}, - { (char *)"SoBase_getAuditors", _wrap_SoBase_getAuditors, METH_VARARGS, (char *)"SoBase_getAuditors(SoBase self) -> SoAuditorList"}, - { (char *)"SoBase_addWriteReference", _wrap_SoBase_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoBase_addWriteReference(SoBase self, SoOutput out)\n" - ""}, - { (char *)"SoBase_shouldWrite", _wrap_SoBase_shouldWrite, METH_VARARGS, (char *)"SoBase_shouldWrite(SoBase self) -> SbBool"}, - { (char *)"SoBase_incrementCurrentWriteCounter", _wrap_SoBase_incrementCurrentWriteCounter, METH_VARARGS, (char *)"SoBase_incrementCurrentWriteCounter()"}, - { (char *)"SoBase_decrementCurrentWriteCounter", _wrap_SoBase_decrementCurrentWriteCounter, METH_VARARGS, (char *)"SoBase_decrementCurrentWriteCounter()"}, - { (char *)"SoBase_getNamedBase", _wrap_SoBase_getNamedBase, METH_VARARGS, (char *)"SoBase_getNamedBase(SbName name, SoType type) -> SoBase"}, - { (char *)"SoBase_getNamedBases", _wrap_SoBase_getNamedBases, METH_VARARGS, (char *)"SoBase_getNamedBases(SbName name, SoBaseList baselist, SoType type) -> int"}, - { (char *)"SoBase_read", _wrap_SoBase_read, METH_VARARGS, (char *)"SoBase_read(SoInput in, SoBase base, SoType expectedtype) -> SbBool"}, - { (char *)"SoBase_setInstancePrefix", _wrap_SoBase_setInstancePrefix, METH_VARARGS, (char *)"SoBase_setInstancePrefix(SbString c)"}, - { (char *)"SoBase_setTraceRefs", _wrap_SoBase_setTraceRefs, METH_VARARGS, (char *)"SoBase_setTraceRefs(SbBool trace)"}, - { (char *)"SoBase_getTraceRefs", _wrap_SoBase_getTraceRefs, METH_VARARGS, (char *)"SoBase_getTraceRefs() -> SbBool"}, - { (char *)"SoBase_connectRoute", _wrap_SoBase_connectRoute, METH_VARARGS, (char *)"\n" - "SoBase_connectRoute(SoInput in, SbName fromnodename, SbName fromfieldname, \n" - " SbName tonodename, SbName tofieldname) -> SbBool\n" - ""}, - { (char *)"SoBase_assertAlive", _wrap_SoBase_assertAlive, METH_VARARGS, (char *)"SoBase_assertAlive(SoBase self)"}, - { (char *)"SoBase_readRoute", _wrap_SoBase_readRoute, METH_VARARGS, (char *)"SoBase_readRoute(SoInput in) -> SbBool"}, - { (char *)"delete_SoBase", _wrap_delete_SoBase, METH_VARARGS, (char *)"delete_SoBase(SoBase self)"}, - { (char *)"SoBase_swigregister", SoBase_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoBaseList", _wrap_new_SoBaseList, METH_VARARGS, (char *)"\n" - "SoBaseList()\n" - "SoBaseList(int size)\n" - "new_SoBaseList(SoBaseList l) -> SoBaseList\n" - ""}, - { (char *)"delete_SoBaseList", _wrap_delete_SoBaseList, METH_VARARGS, (char *)"delete_SoBaseList(SoBaseList self)"}, - { (char *)"SoBaseList_append", _wrap_SoBaseList_append, METH_VARARGS, (char *)"SoBaseList_append(SoBaseList self, SoBase ptr)"}, - { (char *)"SoBaseList_insert", _wrap_SoBaseList_insert, METH_VARARGS, (char *)"SoBaseList_insert(SoBaseList self, SoBase ptr, int addbefore)"}, - { (char *)"SoBaseList_remove", _wrap_SoBaseList_remove, METH_VARARGS, (char *)"SoBaseList_remove(SoBaseList self, int index)"}, - { (char *)"SoBaseList_removeItem", _wrap_SoBaseList_removeItem, METH_VARARGS, (char *)"SoBaseList_removeItem(SoBaseList self, SoBase item)"}, - { (char *)"SoBaseList_truncate", _wrap_SoBaseList_truncate, METH_VARARGS, (char *)"SoBaseList_truncate(SoBaseList self, int length)"}, - { (char *)"SoBaseList_copy", _wrap_SoBaseList_copy, METH_VARARGS, (char *)"SoBaseList_copy(SoBaseList self, SoBaseList l)"}, - { (char *)"SoBaseList_set", _wrap_SoBaseList_set, METH_VARARGS, (char *)"SoBaseList_set(SoBaseList self, int i, SoBase ptr)"}, - { (char *)"SoBaseList_addReferences", _wrap_SoBaseList_addReferences, METH_VARARGS, (char *)"SoBaseList_addReferences(SoBaseList self, SbBool flag)"}, - { (char *)"SoBaseList_isReferencing", _wrap_SoBaseList_isReferencing, METH_VARARGS, (char *)"SoBaseList_isReferencing(SoBaseList self) -> SbBool"}, - { (char *)"SoBaseList___setitem__", _wrap_SoBaseList___setitem__, METH_VARARGS, (char *)"SoBaseList___setitem__(SoBaseList self, int i, SoBase value)"}, - { (char *)"SoBaseList___getitem__", _wrap_SoBaseList___getitem__, METH_VARARGS, (char *)"SoBaseList___getitem__(SoBaseList self, int i) -> SoBase"}, - { (char *)"SoBaseList_get", _wrap_SoBaseList_get, METH_VARARGS, (char *)"SoBaseList_get(SoBaseList self, int i) -> SoBase"}, - { (char *)"SoBaseList_swigregister", SoBaseList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNodeList", _wrap_new_SoNodeList, METH_VARARGS, (char *)"\n" - "SoNodeList()\n" - "SoNodeList(int size)\n" - "new_SoNodeList(SoNodeList nl) -> SoNodeList\n" - ""}, - { (char *)"delete_SoNodeList", _wrap_delete_SoNodeList, METH_VARARGS, (char *)"delete_SoNodeList(SoNodeList self)"}, - { (char *)"SoNodeList_append", _wrap_SoNodeList_append, METH_VARARGS, (char *)"SoNodeList_append(SoNodeList self, SoNode ptr)"}, - { (char *)"SoNodeList___setitem__", _wrap_SoNodeList___setitem__, METH_VARARGS, (char *)"SoNodeList___setitem__(SoNodeList self, int i, SoNode value)"}, - { (char *)"SoNodeList___getitem__", _wrap_SoNodeList___getitem__, METH_VARARGS, (char *)"SoNodeList___getitem__(SoNodeList self, int i) -> SoNode"}, - { (char *)"SoNodeList_get", _wrap_SoNodeList_get, METH_VARARGS, (char *)"SoNodeList_get(SoNodeList self, int i) -> SoNode"}, - { (char *)"SoNodeList_swigregister", SoNodeList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoDetailList", _wrap_new_SoDetailList, METH_VARARGS, (char *)"\n" - "SoDetailList()\n" - "SoDetailList(int sizehint)\n" - "new_SoDetailList(SoDetailList l) -> SoDetailList\n" - ""}, - { (char *)"delete_SoDetailList", _wrap_delete_SoDetailList, METH_VARARGS, (char *)"delete_SoDetailList(SoDetailList self)"}, - { (char *)"SoDetailList_append", _wrap_SoDetailList_append, METH_VARARGS, (char *)"SoDetailList_append(SoDetailList self, SoDetail detail)"}, - { (char *)"SoDetailList_insert", _wrap_SoDetailList_insert, METH_VARARGS, (char *)"SoDetailList_insert(SoDetailList self, SoDetail detail, int insertbefore)"}, - { (char *)"SoDetailList_truncate", _wrap_SoDetailList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int length, int fit=0)\n" - "SoDetailList_truncate(SoDetailList self, int length)\n" - ""}, - { (char *)"SoDetailList_copy", _wrap_SoDetailList_copy, METH_VARARGS, (char *)"SoDetailList_copy(SoDetailList self, SoDetailList l)"}, - { (char *)"SoDetailList_set", _wrap_SoDetailList_set, METH_VARARGS, (char *)"SoDetailList_set(SoDetailList self, int index, SoDetail item)"}, - { (char *)"SoDetailList___setitem__", _wrap_SoDetailList___setitem__, METH_VARARGS, (char *)"SoDetailList___setitem__(SoDetailList self, int i, SoDetail value)"}, - { (char *)"SoDetailList___getitem__", _wrap_SoDetailList___getitem__, METH_VARARGS, (char *)"SoDetailList___getitem__(SoDetailList self, int i) -> SoDetail"}, - { (char *)"SoDetailList_get", _wrap_SoDetailList_get, METH_VARARGS, (char *)"SoDetailList_get(SoDetailList self, int i) -> SoDetail"}, - { (char *)"SoDetailList_swigregister", SoDetailList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTypeList", _wrap_new_SoTypeList, METH_VARARGS, (char *)"\n" - "SoTypeList()\n" - "SoTypeList(int sizehint)\n" - "new_SoTypeList(SoTypeList l) -> SoTypeList\n" - ""}, - { (char *)"SoTypeList_append", _wrap_SoTypeList_append, METH_VARARGS, (char *)"SoTypeList_append(SoTypeList self, SoType type)"}, - { (char *)"SoTypeList_find", _wrap_SoTypeList_find, METH_VARARGS, (char *)"SoTypeList_find(SoTypeList self, SoType type) -> int"}, - { (char *)"SoTypeList_insert", _wrap_SoTypeList_insert, METH_VARARGS, (char *)"SoTypeList_insert(SoTypeList self, SoType type, int insertbefore)"}, - { (char *)"SoTypeList_set", _wrap_SoTypeList_set, METH_VARARGS, (char *)"SoTypeList_set(SoTypeList self, int index, SoType item)"}, - { (char *)"SoTypeList___setitem__", _wrap_SoTypeList___setitem__, METH_VARARGS, (char *)"SoTypeList___setitem__(SoTypeList self, int i, SoType value)"}, - { (char *)"SoTypeList___getitem__", _wrap_SoTypeList___getitem__, METH_VARARGS, (char *)"SoTypeList___getitem__(SoTypeList self, int i) -> SoType"}, - { (char *)"SoTypeList_get", _wrap_SoTypeList_get, METH_VARARGS, (char *)"SoTypeList_get(SoTypeList self, int i) -> SoType"}, - { (char *)"delete_SoTypeList", _wrap_delete_SoTypeList, METH_VARARGS, (char *)"delete_SoTypeList(SoTypeList self)"}, - { (char *)"SoTypeList_swigregister", SoTypeList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEnabledElementsList", _wrap_new_SoEnabledElementsList, METH_VARARGS, (char *)"new_SoEnabledElementsList(SoEnabledElementsList parentlist) -> SoEnabledElementsList"}, - { (char *)"delete_SoEnabledElementsList", _wrap_delete_SoEnabledElementsList, METH_VARARGS, (char *)"delete_SoEnabledElementsList(SoEnabledElementsList self)"}, - { (char *)"SoEnabledElementsList_getElements", _wrap_SoEnabledElementsList_getElements, METH_VARARGS, (char *)"SoEnabledElementsList_getElements(SoEnabledElementsList self) -> SoTypeList"}, - { (char *)"SoEnabledElementsList_enable", _wrap_SoEnabledElementsList_enable, METH_VARARGS, (char *)"SoEnabledElementsList_enable(SoEnabledElementsList self, SoType elementtype, int stackindex)"}, - { (char *)"SoEnabledElementsList_merge", _wrap_SoEnabledElementsList_merge, METH_VARARGS, (char *)"SoEnabledElementsList_merge(SoEnabledElementsList self, SoEnabledElementsList eel)"}, - { (char *)"SoEnabledElementsList_getCounter", _wrap_SoEnabledElementsList_getCounter, METH_VARARGS, (char *)"SoEnabledElementsList_getCounter() -> int"}, - { (char *)"SoEnabledElementsList_swigregister", SoEnabledElementsList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutputList", _wrap_new_SoEngineOutputList, METH_VARARGS, (char *)"\n" - "SoEngineOutputList()\n" - "SoEngineOutputList(int sizehint)\n" - "new_SoEngineOutputList(SoEngineOutputList l) -> SoEngineOutputList\n" - ""}, - { (char *)"SoEngineOutputList_append", _wrap_SoEngineOutputList_append, METH_VARARGS, (char *)"SoEngineOutputList_append(SoEngineOutputList self, SoEngineOutput output)"}, - { (char *)"SoEngineOutputList_insert", _wrap_SoEngineOutputList_insert, METH_VARARGS, (char *)"SoEngineOutputList_insert(SoEngineOutputList self, SoEngineOutput output, int insertbefore)"}, - { (char *)"SoEngineOutputList_set", _wrap_SoEngineOutputList_set, METH_VARARGS, (char *)"SoEngineOutputList_set(SoEngineOutputList self, int idx, SoEngineOutput item)"}, - { (char *)"SoEngineOutputList___setitem__", _wrap_SoEngineOutputList___setitem__, METH_VARARGS, (char *)"SoEngineOutputList___setitem__(SoEngineOutputList self, int i, SoEngineOutput value)"}, - { (char *)"SoEngineOutputList___getitem__", _wrap_SoEngineOutputList___getitem__, METH_VARARGS, (char *)"SoEngineOutputList___getitem__(SoEngineOutputList self, int i) -> SoEngineOutput"}, - { (char *)"SoEngineOutputList_get", _wrap_SoEngineOutputList_get, METH_VARARGS, (char *)"SoEngineOutputList_get(SoEngineOutputList self, int i) -> SoEngineOutput"}, - { (char *)"delete_SoEngineOutputList", _wrap_delete_SoEngineOutputList, METH_VARARGS, (char *)"delete_SoEngineOutputList(SoEngineOutputList self)"}, - { (char *)"SoEngineOutputList_swigregister", SoEngineOutputList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineList", _wrap_new_SoEngineList, METH_VARARGS, (char *)"\n" - "SoEngineList()\n" - "SoEngineList(int size)\n" - "new_SoEngineList(SoEngineList el) -> SoEngineList\n" - ""}, - { (char *)"delete_SoEngineList", _wrap_delete_SoEngineList, METH_VARARGS, (char *)"delete_SoEngineList(SoEngineList self)"}, - { (char *)"SoEngineList_append", _wrap_SoEngineList_append, METH_VARARGS, (char *)"SoEngineList_append(SoEngineList self, SoEngine ptr)"}, - { (char *)"SoEngineList___setitem__", _wrap_SoEngineList___setitem__, METH_VARARGS, (char *)"SoEngineList___setitem__(SoEngineList self, int i, SoEngine value)"}, - { (char *)"SoEngineList___getitem__", _wrap_SoEngineList___getitem__, METH_VARARGS, (char *)"SoEngineList___getitem__(SoEngineList self, int i) -> SoEngine"}, - { (char *)"SoEngineList_get", _wrap_SoEngineList_get, METH_VARARGS, (char *)"SoEngineList_get(SoEngineList self, int i) -> SoEngine"}, - { (char *)"SoEngineList_swigregister", SoEngineList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldList", _wrap_new_SoFieldList, METH_VARARGS, (char *)"\n" - "SoFieldList()\n" - "SoFieldList(int sizehint)\n" - "new_SoFieldList(SoFieldList l) -> SoFieldList\n" - ""}, - { (char *)"SoFieldList_append", _wrap_SoFieldList_append, METH_VARARGS, (char *)"SoFieldList_append(SoFieldList self, SoField field)"}, - { (char *)"SoFieldList_insert", _wrap_SoFieldList_insert, METH_VARARGS, (char *)"SoFieldList_insert(SoFieldList self, SoField field, int insertbefore)"}, - { (char *)"SoFieldList_set", _wrap_SoFieldList_set, METH_VARARGS, (char *)"SoFieldList_set(SoFieldList self, int idx, SoField field)"}, - { (char *)"SoFieldList___setitem__", _wrap_SoFieldList___setitem__, METH_VARARGS, (char *)"SoFieldList___setitem__(SoFieldList self, int i, SoField value)"}, - { (char *)"SoFieldList___getitem__", _wrap_SoFieldList___getitem__, METH_VARARGS, (char *)"SoFieldList___getitem__(SoFieldList self, int i) -> SoField"}, - { (char *)"SoFieldList_get", _wrap_SoFieldList_get, METH_VARARGS, (char *)"\n" - "get(int idx) -> SoField\n" - "SoFieldList_get(SoFieldList self, int i) -> SoField\n" - ""}, - { (char *)"delete_SoFieldList", _wrap_delete_SoFieldList, METH_VARARGS, (char *)"delete_SoFieldList(SoFieldList self)"}, - { (char *)"SoFieldList_swigregister", SoFieldList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPathList", _wrap_new_SoPathList, METH_VARARGS, (char *)"\n" - "SoPathList()\n" - "SoPathList(int size)\n" - "new_SoPathList(SoPathList pl) -> SoPathList\n" - ""}, - { (char *)"delete_SoPathList", _wrap_delete_SoPathList, METH_VARARGS, (char *)"delete_SoPathList(SoPathList self)"}, - { (char *)"SoPathList_append", _wrap_SoPathList_append, METH_VARARGS, (char *)"SoPathList_append(SoPathList self, SoPath path)"}, - { (char *)"SoPathList_findPath", _wrap_SoPathList_findPath, METH_VARARGS, (char *)"SoPathList_findPath(SoPathList self, SoPath path) -> int"}, - { (char *)"SoPathList_sort", _wrap_SoPathList_sort, METH_VARARGS, (char *)"SoPathList_sort(SoPathList self)"}, - { (char *)"SoPathList_uniquify", _wrap_SoPathList_uniquify, METH_VARARGS, (char *)"SoPathList_uniquify(SoPathList self)"}, - { (char *)"SoPathList___setitem__", _wrap_SoPathList___setitem__, METH_VARARGS, (char *)"SoPathList___setitem__(SoPathList self, int i, SoPath value)"}, - { (char *)"SoPathList___getitem__", _wrap_SoPathList___getitem__, METH_VARARGS, (char *)"SoPathList___getitem__(SoPathList self, int i) -> SoPath"}, - { (char *)"SoPathList_get", _wrap_SoPathList_get, METH_VARARGS, (char *)"SoPathList_get(SoPathList self, int i) -> SoPath"}, - { (char *)"SoPathList_swigregister", SoPathList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPickedPointList", _wrap_new_SoPickedPointList, METH_VARARGS, (char *)"\n" - "SoPickedPointList()\n" - "SoPickedPointList(int sizehint)\n" - "new_SoPickedPointList(SoPickedPointList l) -> SoPickedPointList\n" - ""}, - { (char *)"delete_SoPickedPointList", _wrap_delete_SoPickedPointList, METH_VARARGS, (char *)"delete_SoPickedPointList(SoPickedPointList self)"}, - { (char *)"SoPickedPointList_append", _wrap_SoPickedPointList_append, METH_VARARGS, (char *)"SoPickedPointList_append(SoPickedPointList self, SoPickedPoint pp)"}, - { (char *)"SoPickedPointList_insert", _wrap_SoPickedPointList_insert, METH_VARARGS, (char *)"SoPickedPointList_insert(SoPickedPointList self, SoPickedPoint pp, int insertbefore)"}, - { (char *)"SoPickedPointList_truncate", _wrap_SoPickedPointList_truncate, METH_VARARGS, (char *)"\n" - "truncate(int start, int fit=0)\n" - "SoPickedPointList_truncate(SoPickedPointList self, int start)\n" - ""}, - { (char *)"SoPickedPointList_set", _wrap_SoPickedPointList_set, METH_VARARGS, (char *)"SoPickedPointList_set(SoPickedPointList self, int idx, SoPickedPoint pp)"}, - { (char *)"SoPickedPointList___setitem__", _wrap_SoPickedPointList___setitem__, METH_VARARGS, (char *)"SoPickedPointList___setitem__(SoPickedPointList self, int i, SoPickedPoint value)"}, - { (char *)"SoPickedPointList___getitem__", _wrap_SoPickedPointList___getitem__, METH_VARARGS, (char *)"SoPickedPointList___getitem__(SoPickedPointList self, int i) -> SoPickedPoint"}, - { (char *)"SoPickedPointList_get", _wrap_SoPickedPointList_get, METH_VARARGS, (char *)"SoPickedPointList_get(SoPickedPointList self, int i) -> SoPickedPoint"}, - { (char *)"SoPickedPointList_swigregister", SoPickedPointList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPath_initClass", _wrap_SoPath_initClass, METH_VARARGS, (char *)"SoPath_initClass()"}, - { (char *)"new_SoPath", _wrap_new_SoPath, METH_VARARGS, (char *)"\n" - "SoPath(int approxlength=4)\n" - "SoPath()\n" - "SoPath(SoNode head)\n" - "new_SoPath(SoPath rhs) -> SoPath\n" - ""}, - { (char *)"SoPath_getClassTypeId", _wrap_SoPath_getClassTypeId, METH_VARARGS, (char *)"SoPath_getClassTypeId() -> SoType"}, - { (char *)"SoPath_getTypeId", _wrap_SoPath_getTypeId, METH_VARARGS, (char *)"SoPath_getTypeId(SoPath self) -> SoType"}, - { (char *)"SoPath_setHead", _wrap_SoPath_setHead, METH_VARARGS, (char *)"SoPath_setHead(SoPath self, SoNode head)"}, - { (char *)"SoPath_getHead", _wrap_SoPath_getHead, METH_VARARGS, (char *)"SoPath_getHead(SoPath self) -> SoNode"}, - { (char *)"SoPath_append", _wrap_SoPath_append, METH_VARARGS, (char *)"\n" - "append(int childindex)\n" - "append(SoNode node)\n" - "SoPath_append(SoPath self, SoPath frompath)\n" - ""}, - { (char *)"SoPath_push", _wrap_SoPath_push, METH_VARARGS, (char *)"SoPath_push(SoPath self, int childindex)"}, - { (char *)"SoPath_pop", _wrap_SoPath_pop, METH_VARARGS, (char *)"SoPath_pop(SoPath self)"}, - { (char *)"SoPath_getTail", _wrap_SoPath_getTail, METH_VARARGS, (char *)"SoPath_getTail(SoPath self) -> SoNode"}, - { (char *)"SoPath_getNode", _wrap_SoPath_getNode, METH_VARARGS, (char *)"SoPath_getNode(SoPath self, int index) -> SoNode"}, - { (char *)"SoPath_getNodeFromTail", _wrap_SoPath_getNodeFromTail, METH_VARARGS, (char *)"SoPath_getNodeFromTail(SoPath self, int index) -> SoNode"}, - { (char *)"SoPath_getIndex", _wrap_SoPath_getIndex, METH_VARARGS, (char *)"SoPath_getIndex(SoPath self, int index) -> int"}, - { (char *)"SoPath_getIndexFromTail", _wrap_SoPath_getIndexFromTail, METH_VARARGS, (char *)"SoPath_getIndexFromTail(SoPath self, int index) -> int"}, - { (char *)"SoPath_getLength", _wrap_SoPath_getLength, METH_VARARGS, (char *)"SoPath_getLength(SoPath self) -> int"}, - { (char *)"SoPath_truncate", _wrap_SoPath_truncate, METH_VARARGS, (char *)"SoPath_truncate(SoPath self, int length)"}, - { (char *)"SoPath_findFork", _wrap_SoPath_findFork, METH_VARARGS, (char *)"SoPath_findFork(SoPath self, SoPath path) -> int"}, - { (char *)"SoPath_findNode", _wrap_SoPath_findNode, METH_VARARGS, (char *)"SoPath_findNode(SoPath self, SoNode node) -> int"}, - { (char *)"SoPath_containsNode", _wrap_SoPath_containsNode, METH_VARARGS, (char *)"SoPath_containsNode(SoPath self, SoNode node) -> SbBool"}, - { (char *)"SoPath_containsPath", _wrap_SoPath_containsPath, METH_VARARGS, (char *)"SoPath_containsPath(SoPath self, SoPath path) -> SbBool"}, - { (char *)"SoPath_copy", _wrap_SoPath_copy, METH_VARARGS, (char *)"\n" - "copy(int startfromnodeindex=0, int numnodes=0) -> SoPath\n" - "copy(int startfromnodeindex=0) -> SoPath\n" - "SoPath_copy(SoPath self) -> SoPath\n" - ""}, - { (char *)"SoPath_getByName", _wrap_SoPath_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoPath\n" - "SoPath_getByName(SbName name, SoPathList l) -> int\n" - ""}, - { (char *)"SoPath_insertIndex", _wrap_SoPath_insertIndex, METH_VARARGS, (char *)"SoPath_insertIndex(SoPath self, SoNode parent, int newindex)"}, - { (char *)"SoPath_removeIndex", _wrap_SoPath_removeIndex, METH_VARARGS, (char *)"SoPath_removeIndex(SoPath self, SoNode parent, int oldindex)"}, - { (char *)"SoPath_replaceIndex", _wrap_SoPath_replaceIndex, METH_VARARGS, (char *)"SoPath_replaceIndex(SoPath self, SoNode parent, int index, SoNode newchild)"}, - { (char *)"SoPath_isRelevantNotification", _wrap_SoPath_isRelevantNotification, METH_VARARGS, (char *)"SoPath_isRelevantNotification(SoPath self, SoNotList l) -> SbBool"}, - { (char *)"SoPath_write", _wrap_SoPath_write, METH_VARARGS, (char *)"SoPath_write(SoPath self, SoWriteAction action)"}, - { (char *)"SoPath___eq__", _wrap_SoPath___eq__, METH_VARARGS, (char *)"SoPath___eq__(SoPath self, SoPath u) -> int"}, - { (char *)"SoPath___nq__", _wrap_SoPath___nq__, METH_VARARGS, (char *)"SoPath___nq__(SoPath self, SoPath u) -> int"}, - { (char *)"SoPath_swigregister", SoPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoLightPath", _wrap_new_SoLightPath, METH_VARARGS, (char *)"\n" - "SoLightPath(SoNode node, int approxlength)\n" - "new_SoLightPath(int approxlength) -> SoLightPath\n" - ""}, - { (char *)"delete_SoLightPath", _wrap_delete_SoLightPath, METH_VARARGS, (char *)"delete_SoLightPath(SoLightPath self)"}, - { (char *)"SoLightPath_setHead", _wrap_SoLightPath_setHead, METH_VARARGS, (char *)"SoLightPath_setHead(SoLightPath self, SoNode node)"}, - { (char *)"SoLightPath_append", _wrap_SoLightPath_append, METH_VARARGS, (char *)"SoLightPath_append(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_push", _wrap_SoLightPath_push, METH_VARARGS, (char *)"SoLightPath_push(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_pop", _wrap_SoLightPath_pop, METH_VARARGS, (char *)"SoLightPath_pop(SoLightPath self)"}, - { (char *)"SoLightPath_setTail", _wrap_SoLightPath_setTail, METH_VARARGS, (char *)"SoLightPath_setTail(SoLightPath self, int childindex)"}, - { (char *)"SoLightPath_getTail", _wrap_SoLightPath_getTail, METH_VARARGS, (char *)"SoLightPath_getTail(SoLightPath self) -> SoNode"}, - { (char *)"SoLightPath_getHead", _wrap_SoLightPath_getHead, METH_VARARGS, (char *)"SoLightPath_getHead(SoLightPath self) -> SoNode"}, - { (char *)"SoLightPath_getNode", _wrap_SoLightPath_getNode, METH_VARARGS, (char *)"SoLightPath_getNode(SoLightPath self, int index) -> SoNode"}, - { (char *)"SoLightPath_getIndex", _wrap_SoLightPath_getIndex, METH_VARARGS, (char *)"SoLightPath_getIndex(SoLightPath self, int index) -> int"}, - { (char *)"SoLightPath_getFullLength", _wrap_SoLightPath_getFullLength, METH_VARARGS, (char *)"SoLightPath_getFullLength(SoLightPath self) -> int"}, - { (char *)"SoLightPath_truncate", _wrap_SoLightPath_truncate, METH_VARARGS, (char *)"SoLightPath_truncate(SoLightPath self, int startindex)"}, - { (char *)"SoLightPath_makeTempPath", _wrap_SoLightPath_makeTempPath, METH_VARARGS, (char *)"SoLightPath_makeTempPath(SoLightPath self, SoTempPath path)"}, - { (char *)"SoLightPath_swigregister", SoLightPath_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFullPath_pop", _wrap_SoFullPath_pop, METH_VARARGS, (char *)"SoFullPath_pop(SoFullPath self)"}, - { (char *)"SoFullPath_getTail", _wrap_SoFullPath_getTail, METH_VARARGS, (char *)"SoFullPath_getTail(SoFullPath self) -> SoNode"}, - { (char *)"SoFullPath_getNodeFromTail", _wrap_SoFullPath_getNodeFromTail, METH_VARARGS, (char *)"SoFullPath_getNodeFromTail(SoFullPath self, int index) -> SoNode"}, - { (char *)"SoFullPath_getIndexFromTail", _wrap_SoFullPath_getIndexFromTail, METH_VARARGS, (char *)"SoFullPath_getIndexFromTail(SoFullPath self, int index) -> int"}, - { (char *)"SoFullPath_getLength", _wrap_SoFullPath_getLength, METH_VARARGS, (char *)"SoFullPath_getLength(SoFullPath self) -> int"}, - { (char *)"SoFullPath_swigregister", SoFullPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTempPath", _wrap_new_SoTempPath, METH_VARARGS, (char *)"new_SoTempPath(int approxlength) -> SoTempPath"}, - { (char *)"SoTempPath_simpleAppend", _wrap_SoTempPath_simpleAppend, METH_VARARGS, (char *)"SoTempPath_simpleAppend(SoTempPath self, SoNode node, int index)"}, - { (char *)"SoTempPath_replaceTail", _wrap_SoTempPath_replaceTail, METH_VARARGS, (char *)"SoTempPath_replaceTail(SoTempPath self, SoNode node, int index)"}, - { (char *)"SoTempPath_swigregister", SoTempPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoActionMethodList", _wrap_new_SoActionMethodList, METH_VARARGS, (char *)"new_SoActionMethodList(SoActionMethodList parentlist) -> SoActionMethodList"}, - { (char *)"delete_SoActionMethodList", _wrap_delete_SoActionMethodList, METH_VARARGS, (char *)"delete_SoActionMethodList(SoActionMethodList self)"}, - { (char *)"SoActionMethodList_addMethod", _wrap_SoActionMethodList_addMethod, METH_VARARGS, (char *)"SoActionMethodList_addMethod(SoActionMethodList self, SoType node, SoActionMethod method)"}, - { (char *)"SoActionMethodList_setUp", _wrap_SoActionMethodList_setUp, METH_VARARGS, (char *)"SoActionMethodList_setUp(SoActionMethodList self)"}, - { (char *)"SoActionMethodList___setitem__", _wrap_SoActionMethodList___setitem__, METH_VARARGS, (char *)"SoActionMethodList___setitem__(SoActionMethodList self, int i, SoActionMethod value)"}, - { (char *)"SoActionMethodList___getitem__", _wrap_SoActionMethodList___getitem__, METH_VARARGS, (char *)"SoActionMethodList___getitem__(SoActionMethodList self, int i) -> SoActionMethod"}, - { (char *)"SoActionMethodList_get", _wrap_SoActionMethodList_get, METH_VARARGS, (char *)"SoActionMethodList_get(SoActionMethodList self, int i) -> SoActionMethod"}, - { (char *)"SoActionMethodList_swigregister", SoActionMethodList_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoAction", _wrap_delete_SoAction, METH_VARARGS, (char *)"delete_SoAction(SoAction self)"}, - { (char *)"SoAction_initClass", _wrap_SoAction_initClass, METH_VARARGS, (char *)"SoAction_initClass()"}, - { (char *)"SoAction_initClasses", _wrap_SoAction_initClasses, METH_VARARGS, (char *)"SoAction_initClasses()"}, - { (char *)"SoAction_getClassTypeId", _wrap_SoAction_getClassTypeId, METH_VARARGS, (char *)"SoAction_getClassTypeId() -> SoType"}, - { (char *)"SoAction_getTypeId", _wrap_SoAction_getTypeId, METH_VARARGS, (char *)"SoAction_getTypeId(SoAction self) -> SoType"}, - { (char *)"SoAction_isOfType", _wrap_SoAction_isOfType, METH_VARARGS, (char *)"SoAction_isOfType(SoAction self, SoType type) -> SbBool"}, - { (char *)"SoAction_apply", _wrap_SoAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode root)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "apply(SoPathList pathlist)\n" - "SoAction_apply(SoAction self, SoAction beingApplied)\n" - ""}, - { (char *)"SoAction_invalidateState", _wrap_SoAction_invalidateState, METH_VARARGS, (char *)"SoAction_invalidateState(SoAction self)"}, - { (char *)"SoAction_nullAction", _wrap_SoAction_nullAction, METH_VARARGS, (char *)"SoAction_nullAction(SoAction action, SoNode node)"}, - { (char *)"SoAction_getWhatAppliedTo", _wrap_SoAction_getWhatAppliedTo, METH_VARARGS, (char *)"SoAction_getWhatAppliedTo(SoAction self) -> AppliedCode"}, - { (char *)"SoAction_getNodeAppliedTo", _wrap_SoAction_getNodeAppliedTo, METH_VARARGS, (char *)"SoAction_getNodeAppliedTo(SoAction self) -> SoNode"}, - { (char *)"SoAction_getPathAppliedTo", _wrap_SoAction_getPathAppliedTo, METH_VARARGS, (char *)"SoAction_getPathAppliedTo(SoAction self) -> SoPath"}, - { (char *)"SoAction_getPathListAppliedTo", _wrap_SoAction_getPathListAppliedTo, METH_VARARGS, (char *)"SoAction_getPathListAppliedTo(SoAction self) -> SoPathList"}, - { (char *)"SoAction_getOriginalPathListAppliedTo", _wrap_SoAction_getOriginalPathListAppliedTo, METH_VARARGS, (char *)"SoAction_getOriginalPathListAppliedTo(SoAction self) -> SoPathList"}, - { (char *)"SoAction_isLastPathListAppliedTo", _wrap_SoAction_isLastPathListAppliedTo, METH_VARARGS, (char *)"SoAction_isLastPathListAppliedTo(SoAction self) -> SbBool"}, - { (char *)"SoAction_getPathCode", _wrap_SoAction_getPathCode, METH_VARARGS, (char *)"SoAction_getPathCode(SoAction self, int numindices, int indices) -> PathCode"}, - { (char *)"SoAction_traverse", _wrap_SoAction_traverse, METH_VARARGS, (char *)"SoAction_traverse(SoAction self, SoNode node)"}, - { (char *)"SoAction_hasTerminated", _wrap_SoAction_hasTerminated, METH_VARARGS, (char *)"SoAction_hasTerminated(SoAction self) -> SbBool"}, - { (char *)"SoAction_getCurPath", _wrap_SoAction_getCurPath, METH_VARARGS, (char *)"SoAction_getCurPath(SoAction self) -> SoPath"}, - { (char *)"SoAction_getState", _wrap_SoAction_getState, METH_VARARGS, (char *)"SoAction_getState(SoAction self) -> SoState"}, - { (char *)"SoAction_getCurPathCode", _wrap_SoAction_getCurPathCode, METH_VARARGS, (char *)"SoAction_getCurPathCode(SoAction self) -> PathCode"}, - { (char *)"SoAction_getCurPathTail", _wrap_SoAction_getCurPathTail, METH_VARARGS, (char *)"SoAction_getCurPathTail(SoAction self) -> SoNode"}, - { (char *)"SoAction_usePathCode", _wrap_SoAction_usePathCode, METH_VARARGS, (char *)"SoAction_usePathCode(SoAction self, int numindices, int indices)"}, - { (char *)"SoAction_pushCurPath", _wrap_SoAction_pushCurPath, METH_VARARGS, (char *)"\n" - "pushCurPath(int childindex, SoNode node=None)\n" - "pushCurPath(int childindex)\n" - "SoAction_pushCurPath(SoAction self)\n" - ""}, - { (char *)"SoAction_popPushCurPath", _wrap_SoAction_popPushCurPath, METH_VARARGS, (char *)"\n" - "popPushCurPath(int childindex, SoNode node=None)\n" - "SoAction_popPushCurPath(SoAction self, int childindex)\n" - ""}, - { (char *)"SoAction_popCurPath", _wrap_SoAction_popCurPath, METH_VARARGS, (char *)"\n" - "popCurPath(PathCode prevpathcode)\n" - "SoAction_popCurPath(SoAction self)\n" - ""}, - { (char *)"SoAction_switchToPathTraversal", _wrap_SoAction_switchToPathTraversal, METH_VARARGS, (char *)"SoAction_switchToPathTraversal(SoAction self, SoPath path)"}, - { (char *)"SoAction_switchToNodeTraversal", _wrap_SoAction_switchToNodeTraversal, METH_VARARGS, (char *)"SoAction_switchToNodeTraversal(SoAction self, SoNode node)"}, - { (char *)"SoAction_swigregister", SoAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoState", _wrap_new_SoState, METH_VARARGS, (char *)"new_SoState(SoAction action, SoTypeList enabledelements) -> SoState"}, - { (char *)"delete_SoState", _wrap_delete_SoState, METH_VARARGS, (char *)"delete_SoState(SoState self)"}, - { (char *)"SoState_getAction", _wrap_SoState_getAction, METH_VARARGS, (char *)"SoState_getAction(SoState self) -> SoAction"}, - { (char *)"SoState_getElement", _wrap_SoState_getElement, METH_VARARGS, (char *)"SoState_getElement(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_getConstElement", _wrap_SoState_getConstElement, METH_VARARGS, (char *)"SoState_getConstElement(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_push", _wrap_SoState_push, METH_VARARGS, (char *)"SoState_push(SoState self)"}, - { (char *)"SoState_pop", _wrap_SoState_pop, METH_VARARGS, (char *)"SoState_pop(SoState self)"}, - { (char *)"SoState_output", _wrap_SoState_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoState_output(SoState self)\n" - ""}, - { (char *)"SoState_isElementEnabled", _wrap_SoState_isElementEnabled, METH_VARARGS, (char *)"SoState_isElementEnabled(SoState self, int stackindex) -> SbBool"}, - { (char *)"SoState_getDepth", _wrap_SoState_getDepth, METH_VARARGS, (char *)"SoState_getDepth(SoState self) -> int"}, - { (char *)"SoState_setCacheOpen", _wrap_SoState_setCacheOpen, METH_VARARGS, (char *)"SoState_setCacheOpen(SoState self, SbBool flag)"}, - { (char *)"SoState_isCacheOpen", _wrap_SoState_isCacheOpen, METH_VARARGS, (char *)"SoState_isCacheOpen(SoState self) -> SbBool"}, - { (char *)"SoState_getElementNoPush", _wrap_SoState_getElementNoPush, METH_VARARGS, (char *)"SoState_getElementNoPush(SoState self, int stackindex) -> SoElement"}, - { (char *)"SoState_swigregister", SoState_swigregister, METH_VARARGS, NULL}, - { (char *)"SoElement_initClass", _wrap_SoElement_initClass, METH_VARARGS, (char *)"SoElement_initClass()"}, - { (char *)"SoElement_getClassTypeId", _wrap_SoElement_getClassTypeId, METH_VARARGS, (char *)"SoElement_getClassTypeId() -> SoType"}, - { (char *)"SoElement_getClassStackIndex", _wrap_SoElement_getClassStackIndex, METH_VARARGS, (char *)"SoElement_getClassStackIndex() -> int"}, - { (char *)"SoElement_getTypeId", _wrap_SoElement_getTypeId, METH_VARARGS, (char *)"SoElement_getTypeId(SoElement self) -> SoType"}, - { (char *)"SoElement_getStackIndex", _wrap_SoElement_getStackIndex, METH_VARARGS, (char *)"SoElement_getStackIndex(SoElement self) -> int"}, - { (char *)"SoElement_init", _wrap_SoElement_init, METH_VARARGS, (char *)"SoElement_init(SoElement self, SoState state)"}, - { (char *)"SoElement_push", _wrap_SoElement_push, METH_VARARGS, (char *)"SoElement_push(SoElement self, SoState state)"}, - { (char *)"SoElement_pop", _wrap_SoElement_pop, METH_VARARGS, (char *)"SoElement_pop(SoElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoElement_matches", _wrap_SoElement_matches, METH_VARARGS, (char *)"SoElement_matches(SoElement self, SoElement element) -> SbBool"}, - { (char *)"SoElement_copyMatchInfo", _wrap_SoElement_copyMatchInfo, METH_VARARGS, (char *)"SoElement_copyMatchInfo(SoElement self) -> SoElement"}, - { (char *)"SoElement_initElements", _wrap_SoElement_initElements, METH_VARARGS, (char *)"SoElement_initElements()"}, - { (char *)"SoElement_getNumStackIndices", _wrap_SoElement_getNumStackIndices, METH_VARARGS, (char *)"SoElement_getNumStackIndices() -> int"}, - { (char *)"SoElement_getIdFromStackIndex", _wrap_SoElement_getIdFromStackIndex, METH_VARARGS, (char *)"SoElement_getIdFromStackIndex(int stackIndex) -> SoType"}, - { (char *)"SoElement_setDepth", _wrap_SoElement_setDepth, METH_VARARGS, (char *)"SoElement_setDepth(SoElement self, int depth)"}, - { (char *)"SoElement_getDepth", _wrap_SoElement_getDepth, METH_VARARGS, (char *)"SoElement_getDepth(SoElement self) -> int"}, - { (char *)"SoElement_output", _wrap_SoElement_output, METH_VARARGS, (char *)"\n" - "output(FILE file=stdout)\n" - "SoElement_output(SoElement self)\n" - ""}, - { (char *)"delete_SoElement", _wrap_delete_SoElement, METH_VARARGS, (char *)"delete_SoElement(SoElement self)"}, - { (char *)"SoElement_swigregister", SoElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInt32Element_getClassTypeId", _wrap_SoInt32Element_getClassTypeId, METH_VARARGS, (char *)"SoInt32Element_getClassTypeId() -> SoType"}, - { (char *)"SoInt32Element_getClassStackIndex", _wrap_SoInt32Element_getClassStackIndex, METH_VARARGS, (char *)"SoInt32Element_getClassStackIndex() -> int"}, - { (char *)"SoInt32Element_initClass", _wrap_SoInt32Element_initClass, METH_VARARGS, (char *)"SoInt32Element_initClass()"}, - { (char *)"SoInt32Element_init", _wrap_SoInt32Element_init, METH_VARARGS, (char *)"SoInt32Element_init(SoInt32Element self, SoState state)"}, - { (char *)"SoInt32Element_matches", _wrap_SoInt32Element_matches, METH_VARARGS, (char *)"SoInt32Element_matches(SoInt32Element self, SoElement element) -> SbBool"}, - { (char *)"SoInt32Element_copyMatchInfo", _wrap_SoInt32Element_copyMatchInfo, METH_VARARGS, (char *)"SoInt32Element_copyMatchInfo(SoInt32Element self) -> SoElement"}, - { (char *)"SoInt32Element_output", _wrap_SoInt32Element_output, METH_VARARGS, (char *)"SoInt32Element_output(SoInt32Element self, FILE file)"}, - { (char *)"SoInt32Element_set", _wrap_SoInt32Element_set, METH_VARARGS, (char *)"\n" - "set(int index, SoState state, SoNode node, int32_t value)\n" - "SoInt32Element_set(int index, SoState state, int32_t value)\n" - ""}, - { (char *)"SoInt32Element_get", _wrap_SoInt32Element_get, METH_VARARGS, (char *)"SoInt32Element_get(int index, SoState state) -> int32_t"}, - { (char *)"SoInt32Element_setElt", _wrap_SoInt32Element_setElt, METH_VARARGS, (char *)"SoInt32Element_setElt(SoInt32Element self, int32_t value)"}, - { (char *)"SoInt32Element_swigregister", SoInt32Element_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecimationTypeElement_getClassTypeId", _wrap_SoDecimationTypeElement_getClassTypeId, METH_VARARGS, (char *)"SoDecimationTypeElement_getClassTypeId() -> SoType"}, - { (char *)"SoDecimationTypeElement_getClassStackIndex", _wrap_SoDecimationTypeElement_getClassStackIndex, METH_VARARGS, (char *)"SoDecimationTypeElement_getClassStackIndex() -> int"}, - { (char *)"SoDecimationTypeElement_createInstance", _wrap_SoDecimationTypeElement_createInstance, METH_VARARGS, (char *)"SoDecimationTypeElement_createInstance() -> void"}, - { (char *)"SoDecimationTypeElement_initClass", _wrap_SoDecimationTypeElement_initClass, METH_VARARGS, (char *)"SoDecimationTypeElement_initClass()"}, - { (char *)"SoDecimationTypeElement_init", _wrap_SoDecimationTypeElement_init, METH_VARARGS, (char *)"SoDecimationTypeElement_init(SoDecimationTypeElement self, SoState state)"}, - { (char *)"SoDecimationTypeElement_set", _wrap_SoDecimationTypeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, Type type)\n" - "SoDecimationTypeElement_set(SoState state, SoNode node, Type type)\n" - ""}, - { (char *)"SoDecimationTypeElement_get", _wrap_SoDecimationTypeElement_get, METH_VARARGS, (char *)"SoDecimationTypeElement_get(SoState state) -> Type"}, - { (char *)"SoDecimationTypeElement_getDefault", _wrap_SoDecimationTypeElement_getDefault, METH_VARARGS, (char *)"SoDecimationTypeElement_getDefault() -> Type"}, - { (char *)"SoDecimationTypeElement_swigregister", SoDecimationTypeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldData", _wrap_new_SoFieldData, METH_VARARGS, (char *)"\n" - "SoFieldData()\n" - "SoFieldData(SoFieldData fd)\n" - "SoFieldData(SoFieldData fd)\n" - "new_SoFieldData(int numfields) -> SoFieldData\n" - ""}, - { (char *)"delete_SoFieldData", _wrap_delete_SoFieldData, METH_VARARGS, (char *)"delete_SoFieldData(SoFieldData self)"}, - { (char *)"SoFieldData_addField", _wrap_SoFieldData_addField, METH_VARARGS, (char *)"\n" - "SoFieldData_addField(SoFieldData self, SoFieldContainer base, char name, \n" - " SoField field)\n" - ""}, - { (char *)"SoFieldData_overlay", _wrap_SoFieldData_overlay, METH_VARARGS, (char *)"\n" - "SoFieldData_overlay(SoFieldData self, SoFieldContainer to, SoFieldContainer from, \n" - " SbBool copyconnections)\n" - ""}, - { (char *)"SoFieldData_getNumFields", _wrap_SoFieldData_getNumFields, METH_VARARGS, (char *)"SoFieldData_getNumFields(SoFieldData self) -> int"}, - { (char *)"SoFieldData_getFieldName", _wrap_SoFieldData_getFieldName, METH_VARARGS, (char *)"SoFieldData_getFieldName(SoFieldData self, int index) -> SbName"}, - { (char *)"SoFieldData_getField", _wrap_SoFieldData_getField, METH_VARARGS, (char *)"SoFieldData_getField(SoFieldData self, SoFieldContainer object, int index) -> SoField"}, - { (char *)"SoFieldData_getIndex", _wrap_SoFieldData_getIndex, METH_VARARGS, (char *)"SoFieldData_getIndex(SoFieldData self, SoFieldContainer fc, SoField field) -> int"}, - { (char *)"SoFieldData_addEnumValue", _wrap_SoFieldData_addEnumValue, METH_VARARGS, (char *)"SoFieldData_addEnumValue(SoFieldData self, char enumname, char valuename, int value)"}, - { (char *)"SoFieldData_getEnumData", _wrap_SoFieldData_getEnumData, METH_VARARGS, (char *)"\n" - "SoFieldData_getEnumData(SoFieldData self, char enumname, int num, int values, \n" - " SbName names)\n" - ""}, - { (char *)"SoFieldData_read", _wrap_SoFieldData_read, METH_VARARGS, (char *)"\n" - "read(SoInput in, SoFieldContainer object, SbBool erroronunknownfield, \n" - " SbBool notbuiltin) -> SbBool\n" - "SoFieldData_read(SoFieldData self, SoInput in, SoFieldContainer object, \n" - " SbName fieldname, SbBool foundname) -> SbBool\n" - ""}, - { (char *)"SoFieldData_write", _wrap_SoFieldData_write, METH_VARARGS, (char *)"SoFieldData_write(SoFieldData self, SoOutput out, SoFieldContainer object)"}, - { (char *)"SoFieldData_copy", _wrap_SoFieldData_copy, METH_VARARGS, (char *)"SoFieldData_copy(SoFieldData self, SoFieldData src)"}, - { (char *)"SoFieldData_isSame", _wrap_SoFieldData_isSame, METH_VARARGS, (char *)"SoFieldData_isSame(SoFieldData self, SoFieldContainer c1, SoFieldContainer c2) -> SbBool"}, - { (char *)"SoFieldData_readFieldDescriptions", _wrap_SoFieldData_readFieldDescriptions, METH_VARARGS, (char *)"\n" - "readFieldDescriptions(SoInput in, SoFieldContainer object, int numdescriptionsexpected, \n" - " SbBool readfieldvalues=1) -> SbBool\n" - "SoFieldData_readFieldDescriptions(SoFieldData self, SoInput in, SoFieldContainer object, \n" - " int numdescriptionsexpected) -> SbBool\n" - ""}, - { (char *)"SoFieldData_writeFieldDescriptions", _wrap_SoFieldData_writeFieldDescriptions, METH_VARARGS, (char *)"SoFieldData_writeFieldDescriptions(SoFieldData self, SoOutput out, SoFieldContainer object)"}, - { (char *)"SoFieldData_swigregister", SoFieldData_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFieldContainer_initClass", _wrap_SoFieldContainer_initClass, METH_VARARGS, (char *)"SoFieldContainer_initClass()"}, - { (char *)"SoFieldContainer_getClassTypeId", _wrap_SoFieldContainer_getClassTypeId, METH_VARARGS, (char *)"SoFieldContainer_getClassTypeId() -> SoType"}, - { (char *)"SoFieldContainer_setToDefaults", _wrap_SoFieldContainer_setToDefaults, METH_VARARGS, (char *)"SoFieldContainer_setToDefaults(SoFieldContainer self)"}, - { (char *)"SoFieldContainer_hasDefaultValues", _wrap_SoFieldContainer_hasDefaultValues, METH_VARARGS, (char *)"SoFieldContainer_hasDefaultValues(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_fieldsAreEqual", _wrap_SoFieldContainer_fieldsAreEqual, METH_VARARGS, (char *)"SoFieldContainer_fieldsAreEqual(SoFieldContainer self, SoFieldContainer container) -> SbBool"}, - { (char *)"SoFieldContainer_copyFieldValues", _wrap_SoFieldContainer_copyFieldValues, METH_VARARGS, (char *)"\n" - "copyFieldValues(SoFieldContainer container, SbBool copyconnections=0)\n" - "SoFieldContainer_copyFieldValues(SoFieldContainer self, SoFieldContainer container)\n" - ""}, - { (char *)"SoFieldContainer_getFields", _wrap_SoFieldContainer_getFields, METH_VARARGS, (char *)"SoFieldContainer_getFields(SoFieldContainer self, SoFieldList l) -> int"}, - { (char *)"SoFieldContainer_getAllFields", _wrap_SoFieldContainer_getAllFields, METH_VARARGS, (char *)"SoFieldContainer_getAllFields(SoFieldContainer self, SoFieldList l) -> int"}, - { (char *)"SoFieldContainer_getField", _wrap_SoFieldContainer_getField, METH_VARARGS, (char *)"SoFieldContainer_getField(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_getEventIn", _wrap_SoFieldContainer_getEventIn, METH_VARARGS, (char *)"SoFieldContainer_getEventIn(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_getEventOut", _wrap_SoFieldContainer_getEventOut, METH_VARARGS, (char *)"SoFieldContainer_getEventOut(SoFieldContainer self, SbName name) -> SoField"}, - { (char *)"SoFieldContainer_enableNotify", _wrap_SoFieldContainer_enableNotify, METH_VARARGS, (char *)"SoFieldContainer_enableNotify(SoFieldContainer self, SbBool flag) -> SbBool"}, - { (char *)"SoFieldContainer_isNotifyEnabled", _wrap_SoFieldContainer_isNotifyEnabled, METH_VARARGS, (char *)"SoFieldContainer_isNotifyEnabled(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_set", _wrap_SoFieldContainer_set, METH_VARARGS, (char *)"\n" - "set(char fielddata) -> SbBool\n" - "SoFieldContainer_set(SoFieldContainer self, char fielddata, SoInput in) -> SbBool\n" - ""}, - { (char *)"SoFieldContainer_get", _wrap_SoFieldContainer_get, METH_VARARGS, (char *)"\n" - "get(SbString fielddata)\n" - "SoFieldContainer_get(SoFieldContainer self, SbString fielddata, SoOutput out)\n" - ""}, - { (char *)"SoFieldContainer_notify", _wrap_SoFieldContainer_notify, METH_VARARGS, (char *)"SoFieldContainer_notify(SoFieldContainer self, SoNotList l)"}, - { (char *)"SoFieldContainer_validateNewFieldValue", _wrap_SoFieldContainer_validateNewFieldValue, METH_VARARGS, (char *)"SoFieldContainer_validateNewFieldValue(SoFieldContainer self, SoField field, void newval) -> SbBool"}, - { (char *)"SoFieldContainer_addWriteReference", _wrap_SoFieldContainer_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoFieldContainer_addWriteReference(SoFieldContainer self, SoOutput out)\n" - ""}, - { (char *)"SoFieldContainer_writeInstance", _wrap_SoFieldContainer_writeInstance, METH_VARARGS, (char *)"SoFieldContainer_writeInstance(SoFieldContainer self, SoOutput out)"}, - { (char *)"SoFieldContainer_getIsBuiltIn", _wrap_SoFieldContainer_getIsBuiltIn, METH_VARARGS, (char *)"SoFieldContainer_getIsBuiltIn(SoFieldContainer self) -> SbBool"}, - { (char *)"SoFieldContainer_getFieldData", _wrap_SoFieldContainer_getFieldData, METH_VARARGS, (char *)"SoFieldContainer_getFieldData(SoFieldContainer self) -> SoFieldData"}, - { (char *)"SoFieldContainer_copyContents", _wrap_SoFieldContainer_copyContents, METH_VARARGS, (char *)"SoFieldContainer_copyContents(SoFieldContainer self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoFieldContainer_copyThroughConnection", _wrap_SoFieldContainer_copyThroughConnection, METH_VARARGS, (char *)"SoFieldContainer_copyThroughConnection(SoFieldContainer self) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_initCopyDict", _wrap_SoFieldContainer_initCopyDict, METH_VARARGS, (char *)"SoFieldContainer_initCopyDict()"}, - { (char *)"SoFieldContainer_addCopy", _wrap_SoFieldContainer_addCopy, METH_VARARGS, (char *)"SoFieldContainer_addCopy(SoFieldContainer orig, SoFieldContainer copy)"}, - { (char *)"SoFieldContainer_checkCopy", _wrap_SoFieldContainer_checkCopy, METH_VARARGS, (char *)"SoFieldContainer_checkCopy(SoFieldContainer orig) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_findCopy", _wrap_SoFieldContainer_findCopy, METH_VARARGS, (char *)"SoFieldContainer_findCopy(SoFieldContainer orig, SbBool copyconnections) -> SoFieldContainer"}, - { (char *)"SoFieldContainer_copyDone", _wrap_SoFieldContainer_copyDone, METH_VARARGS, (char *)"SoFieldContainer_copyDone()"}, - { (char *)"SoFieldContainer_setUserData", _wrap_SoFieldContainer_setUserData, METH_VARARGS, (char *)"SoFieldContainer_setUserData(SoFieldContainer self, void userdata)"}, - { (char *)"SoFieldContainer_getUserData", _wrap_SoFieldContainer_getUserData, METH_VARARGS, (char *)"SoFieldContainer_getUserData(SoFieldContainer self) -> void"}, - { (char *)"SoFieldContainer_getFieldName", _wrap_SoFieldContainer_getFieldName, METH_VARARGS, (char *)"\n" - "getFieldName(SoField field, SbName name) -> SbBool\n" - "SoFieldContainer_getFieldName(SoFieldContainer self, SoField field) -> PyObject\n" - ""}, - { (char *)"SoFieldContainer_swigregister", SoFieldContainer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNode_setOverride", _wrap_SoNode_setOverride, METH_VARARGS, (char *)"SoNode_setOverride(SoNode self, SbBool state)"}, - { (char *)"SoNode_isOverride", _wrap_SoNode_isOverride, METH_VARARGS, (char *)"SoNode_isOverride(SoNode self) -> SbBool"}, - { (char *)"SoNode_getCompatibilityTypes", _wrap_SoNode_getCompatibilityTypes, METH_VARARGS, (char *)"SoNode_getCompatibilityTypes(SoType nodetype) -> uint32_t"}, - { (char *)"SoNode_setNodeType", _wrap_SoNode_setNodeType, METH_VARARGS, (char *)"SoNode_setNodeType(SoNode self, NodeType type)"}, - { (char *)"SoNode_getNodeType", _wrap_SoNode_getNodeType, METH_VARARGS, (char *)"SoNode_getNodeType(SoNode self) -> NodeType"}, - { (char *)"SoNode_copy", _wrap_SoNode_copy, METH_VARARGS, (char *)"\n" - "copy(SbBool copyconnections=0) -> SoNode\n" - "SoNode_copy(SoNode self) -> SoNode\n" - ""}, - { (char *)"SoNode_affectsState", _wrap_SoNode_affectsState, METH_VARARGS, (char *)"SoNode_affectsState(SoNode self) -> SbBool"}, - { (char *)"SoNode_doAction", _wrap_SoNode_doAction, METH_VARARGS, (char *)"SoNode_doAction(SoNode self, SoAction action)"}, - { (char *)"SoNode_GLRender", _wrap_SoNode_GLRender, METH_VARARGS, (char *)"SoNode_GLRender(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderBelowPath", _wrap_SoNode_GLRenderBelowPath, METH_VARARGS, (char *)"SoNode_GLRenderBelowPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderInPath", _wrap_SoNode_GLRenderInPath, METH_VARARGS, (char *)"SoNode_GLRenderInPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_GLRenderOffPath", _wrap_SoNode_GLRenderOffPath, METH_VARARGS, (char *)"SoNode_GLRenderOffPath(SoNode self, SoGLRenderAction action)"}, - { (char *)"SoNode_callback", _wrap_SoNode_callback, METH_VARARGS, (char *)"SoNode_callback(SoNode self, SoCallbackAction action)"}, - { (char *)"SoNode_getBoundingBox", _wrap_SoNode_getBoundingBox, METH_VARARGS, (char *)"SoNode_getBoundingBox(SoNode self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNode_getMatrix", _wrap_SoNode_getMatrix, METH_VARARGS, (char *)"SoNode_getMatrix(SoNode self, SoGetMatrixAction action)"}, - { (char *)"SoNode_handleEvent", _wrap_SoNode_handleEvent, METH_VARARGS, (char *)"SoNode_handleEvent(SoNode self, SoHandleEventAction action)"}, - { (char *)"SoNode_pick", _wrap_SoNode_pick, METH_VARARGS, (char *)"SoNode_pick(SoNode self, SoPickAction action)"}, - { (char *)"SoNode_rayPick", _wrap_SoNode_rayPick, METH_VARARGS, (char *)"SoNode_rayPick(SoNode self, SoRayPickAction action)"}, - { (char *)"SoNode_search", _wrap_SoNode_search, METH_VARARGS, (char *)"SoNode_search(SoNode self, SoSearchAction action)"}, - { (char *)"SoNode_write", _wrap_SoNode_write, METH_VARARGS, (char *)"SoNode_write(SoNode self, SoWriteAction action)"}, - { (char *)"SoNode_audioRender", _wrap_SoNode_audioRender, METH_VARARGS, (char *)"SoNode_audioRender(SoNode self, SoAudioRenderAction action)"}, - { (char *)"SoNode_getPrimitiveCount", _wrap_SoNode_getPrimitiveCount, METH_VARARGS, (char *)"SoNode_getPrimitiveCount(SoNode self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNode_grabEventsSetup", _wrap_SoNode_grabEventsSetup, METH_VARARGS, (char *)"SoNode_grabEventsSetup(SoNode self)"}, - { (char *)"SoNode_grabEventsCleanup", _wrap_SoNode_grabEventsCleanup, METH_VARARGS, (char *)"SoNode_grabEventsCleanup(SoNode self)"}, - { (char *)"SoNode_startNotify", _wrap_SoNode_startNotify, METH_VARARGS, (char *)"SoNode_startNotify(SoNode self)"}, - { (char *)"SoNode_notify", _wrap_SoNode_notify, METH_VARARGS, (char *)"SoNode_notify(SoNode self, SoNotList l)"}, - { (char *)"SoNode_getNodeId", _wrap_SoNode_getNodeId, METH_VARARGS, (char *)"SoNode_getNodeId(SoNode self) -> uint32_t"}, - { (char *)"SoNode_getChildren", _wrap_SoNode_getChildren, METH_VARARGS, (char *)"SoNode_getChildren(SoNode self) -> SoChildList"}, - { (char *)"SoNode_writeInstance", _wrap_SoNode_writeInstance, METH_VARARGS, (char *)"SoNode_writeInstance(SoNode self, SoOutput out)"}, - { (char *)"SoNode_addToCopyDict", _wrap_SoNode_addToCopyDict, METH_VARARGS, (char *)"SoNode_addToCopyDict(SoNode self) -> SoNode"}, - { (char *)"SoNode_copyContents", _wrap_SoNode_copyContents, METH_VARARGS, (char *)"SoNode_copyContents(SoNode self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoNode_copyThroughConnection", _wrap_SoNode_copyThroughConnection, METH_VARARGS, (char *)"SoNode_copyThroughConnection(SoNode self) -> SoFieldContainer"}, - { (char *)"SoNode_getClassTypeId", _wrap_SoNode_getClassTypeId, METH_VARARGS, (char *)"SoNode_getClassTypeId() -> SoType"}, - { (char *)"SoNode_getByName", _wrap_SoNode_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoNode\n" - "SoNode_getByName(SbName name, SoNodeList l) -> int\n" - ""}, - { (char *)"SoNode_initClass", _wrap_SoNode_initClass, METH_VARARGS, (char *)"SoNode_initClass()"}, - { (char *)"SoNode_initClasses", _wrap_SoNode_initClasses, METH_VARARGS, (char *)"SoNode_initClasses()"}, - { (char *)"SoNode_getNextNodeId", _wrap_SoNode_getNextNodeId, METH_VARARGS, (char *)"SoNode_getNextNodeId() -> uint32_t"}, - { (char *)"SoNode_getActionMethodIndex", _wrap_SoNode_getActionMethodIndex, METH_VARARGS, (char *)"SoNode_getActionMethodIndex(SoType type) -> int"}, - { (char *)"SoNode_getBoundingBoxS", _wrap_SoNode_getBoundingBoxS, METH_VARARGS, (char *)"SoNode_getBoundingBoxS(SoAction action, SoNode node)"}, - { (char *)"SoNode_GLRenderS", _wrap_SoNode_GLRenderS, METH_VARARGS, (char *)"SoNode_GLRenderS(SoAction action, SoNode node)"}, - { (char *)"SoNode_callbackS", _wrap_SoNode_callbackS, METH_VARARGS, (char *)"SoNode_callbackS(SoAction action, SoNode node)"}, - { (char *)"SoNode_getMatrixS", _wrap_SoNode_getMatrixS, METH_VARARGS, (char *)"SoNode_getMatrixS(SoAction action, SoNode node)"}, - { (char *)"SoNode_handleEventS", _wrap_SoNode_handleEventS, METH_VARARGS, (char *)"SoNode_handleEventS(SoAction action, SoNode node)"}, - { (char *)"SoNode_pickS", _wrap_SoNode_pickS, METH_VARARGS, (char *)"SoNode_pickS(SoAction action, SoNode node)"}, - { (char *)"SoNode_rayPickS", _wrap_SoNode_rayPickS, METH_VARARGS, (char *)"SoNode_rayPickS(SoAction action, SoNode node)"}, - { (char *)"SoNode_searchS", _wrap_SoNode_searchS, METH_VARARGS, (char *)"SoNode_searchS(SoAction action, SoNode node)"}, - { (char *)"SoNode_writeS", _wrap_SoNode_writeS, METH_VARARGS, (char *)"SoNode_writeS(SoAction action, SoNode node)"}, - { (char *)"SoNode_audioRenderS", _wrap_SoNode_audioRenderS, METH_VARARGS, (char *)"SoNode_audioRenderS(SoAction action, SoNode node)"}, - { (char *)"SoNode_getPrimitiveCountS", _wrap_SoNode_getPrimitiveCountS, METH_VARARGS, (char *)"SoNode_getPrimitiveCountS(SoAction action, SoNode node)"}, - { (char *)"SoNode_swigregister", SoNode_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSensorManager", _wrap_new_SoSensorManager, METH_VARARGS, (char *)"new_SoSensorManager() -> SoSensorManager"}, - { (char *)"delete_SoSensorManager", _wrap_delete_SoSensorManager, METH_VARARGS, (char *)"delete_SoSensorManager(SoSensorManager self)"}, - { (char *)"SoSensorManager_insertDelaySensor", _wrap_SoSensorManager_insertDelaySensor, METH_VARARGS, (char *)"SoSensorManager_insertDelaySensor(SoSensorManager self, SoDelayQueueSensor s)"}, - { (char *)"SoSensorManager_insertTimerSensor", _wrap_SoSensorManager_insertTimerSensor, METH_VARARGS, (char *)"SoSensorManager_insertTimerSensor(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_removeDelaySensor", _wrap_SoSensorManager_removeDelaySensor, METH_VARARGS, (char *)"SoSensorManager_removeDelaySensor(SoSensorManager self, SoDelayQueueSensor s)"}, - { (char *)"SoSensorManager_removeTimerSensor", _wrap_SoSensorManager_removeTimerSensor, METH_VARARGS, (char *)"SoSensorManager_removeTimerSensor(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_rescheduleTimer", _wrap_SoSensorManager_rescheduleTimer, METH_VARARGS, (char *)"SoSensorManager_rescheduleTimer(SoSensorManager self, SoTimerSensor s)"}, - { (char *)"SoSensorManager_removeRescheduledTimer", _wrap_SoSensorManager_removeRescheduledTimer, METH_VARARGS, (char *)"SoSensorManager_removeRescheduledTimer(SoSensorManager self, SoTimerQueueSensor s)"}, - { (char *)"SoSensorManager_processDelayQueue", _wrap_SoSensorManager_processDelayQueue, METH_VARARGS, (char *)"SoSensorManager_processDelayQueue(SoSensorManager self, SbBool isidle)"}, - { (char *)"SoSensorManager_processImmediateQueue", _wrap_SoSensorManager_processImmediateQueue, METH_VARARGS, (char *)"SoSensorManager_processImmediateQueue(SoSensorManager self)"}, - { (char *)"SoSensorManager_processTimerQueue", _wrap_SoSensorManager_processTimerQueue, METH_VARARGS, (char *)"SoSensorManager_processTimerQueue(SoSensorManager self)"}, - { (char *)"SoSensorManager_isDelaySensorPending", _wrap_SoSensorManager_isDelaySensorPending, METH_VARARGS, (char *)"SoSensorManager_isDelaySensorPending(SoSensorManager self) -> SbBool"}, - { (char *)"SoSensorManager_setDelaySensorTimeout", _wrap_SoSensorManager_setDelaySensorTimeout, METH_VARARGS, (char *)"SoSensorManager_setDelaySensorTimeout(SoSensorManager self, SbTime t)"}, - { (char *)"SoSensorManager_getDelaySensorTimeout", _wrap_SoSensorManager_getDelaySensorTimeout, METH_VARARGS, (char *)"SoSensorManager_getDelaySensorTimeout(SoSensorManager self) -> SbTime"}, - { (char *)"SoSensorManager_doSelect", _wrap_SoSensorManager_doSelect, METH_VARARGS, (char *)"\n" - "SoSensorManager_doSelect(SoSensorManager self, int nfds, void readfds, void writefds, \n" - " void exceptfds, timeval userTimeOut) -> int\n" - ""}, - { (char *)"SoSensorManager_setChangedCallback", _wrap_SoSensorManager_setChangedCallback, METH_VARARGS, (char *)"\n" - "setChangedCallback(void sensorQueueChangedCB, void data)\n" - "SoSensorManager_setChangedCallback(SoSensorManager self, PyObject pyfunc, PyObject data)\n" - ""}, - { (char *)"SoSensorManager_isTimerSensorPending", _wrap_SoSensorManager_isTimerSensorPending, METH_VARARGS, (char *)"\n" - "isTimerSensorPending(SbTime tm) -> SbBool\n" - "SoSensorManager_isTimerSensorPending(SoSensorManager self) -> PyObject\n" - ""}, - { (char *)"SoSensorManager_swigregister", SoSensorManager_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDB_init", _wrap_SoDB_init, METH_VARARGS, (char *)"SoDB_init()"}, - { (char *)"SoDB_finish", _wrap_SoDB_finish, METH_VARARGS, (char *)"SoDB_finish()"}, - { (char *)"SoDB_cleanup", _wrap_SoDB_cleanup, METH_VARARGS, (char *)"SoDB_cleanup()"}, - { (char *)"SoDB_getVersion", _wrap_SoDB_getVersion, METH_VARARGS, (char *)"SoDB_getVersion() -> char"}, - { (char *)"SoDB_read", _wrap_SoDB_read, METH_VARARGS, (char *)"\n" - "read(SoInput in, SoPath path) -> SbBool\n" - "read(SoInput in, SoBase base) -> SbBool\n" - "SoDB_read(SoInput in, SoNode rootnode) -> SbBool\n" - ""}, - { (char *)"SoDB_readAll", _wrap_SoDB_readAll, METH_VARARGS, (char *)"SoDB_readAll(SoInput in) -> SoSeparator"}, - { (char *)"SoDB_readAllVRML", _wrap_SoDB_readAllVRML, METH_VARARGS, (char *)"SoDB_readAllVRML(SoInput in) -> SoVRMLGroup"}, - { (char *)"SoDB_isValidHeader", _wrap_SoDB_isValidHeader, METH_VARARGS, (char *)"SoDB_isValidHeader(char teststring) -> SbBool"}, - { (char *)"SoDB_registerHeader", _wrap_SoDB_registerHeader, METH_VARARGS, (char *)"\n" - "registerHeader(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata=None) -> SbBool\n" - "SoDB_registerHeader(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback) -> SbBool\n" - ""}, - { (char *)"SoDB_getHeaderData", _wrap_SoDB_getHeaderData, METH_VARARGS, (char *)"\n" - "getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata, SbBool substringok=0) -> SbBool\n" - "SoDB_getHeaderData(SbString headerstring, SbBool isbinary, float ivversion, \n" - " SoDBHeaderCB precallback, SoDBHeaderCB postcallback, \n" - " void userdata) -> SbBool\n" - ""}, - { (char *)"SoDB_getNumHeaders", _wrap_SoDB_getNumHeaders, METH_VARARGS, (char *)"SoDB_getNumHeaders() -> int"}, - { (char *)"SoDB_getHeaderString", _wrap_SoDB_getHeaderString, METH_VARARGS, (char *)"SoDB_getHeaderString(int i) -> SbString"}, - { (char *)"SoDB_createGlobalField", _wrap_SoDB_createGlobalField, METH_VARARGS, (char *)"SoDB_createGlobalField(SbName name, SoType type) -> SoField"}, - { (char *)"SoDB_getGlobalField", _wrap_SoDB_getGlobalField, METH_VARARGS, (char *)"SoDB_getGlobalField(SbName name) -> SoField"}, - { (char *)"SoDB_renameGlobalField", _wrap_SoDB_renameGlobalField, METH_VARARGS, (char *)"SoDB_renameGlobalField(SbName from, SbName to)"}, - { (char *)"SoDB_setRealTimeInterval", _wrap_SoDB_setRealTimeInterval, METH_VARARGS, (char *)"SoDB_setRealTimeInterval(SbTime interval)"}, - { (char *)"SoDB_getRealTimeInterval", _wrap_SoDB_getRealTimeInterval, METH_VARARGS, (char *)"SoDB_getRealTimeInterval() -> SbTime"}, - { (char *)"SoDB_enableRealTimeSensor", _wrap_SoDB_enableRealTimeSensor, METH_VARARGS, (char *)"SoDB_enableRealTimeSensor(SbBool on)"}, - { (char *)"SoDB_getSensorManager", _wrap_SoDB_getSensorManager, METH_VARARGS, (char *)"SoDB_getSensorManager() -> SoSensorManager"}, - { (char *)"SoDB_setDelaySensorTimeout", _wrap_SoDB_setDelaySensorTimeout, METH_VARARGS, (char *)"SoDB_setDelaySensorTimeout(SbTime t)"}, - { (char *)"SoDB_getDelaySensorTimeout", _wrap_SoDB_getDelaySensorTimeout, METH_VARARGS, (char *)"SoDB_getDelaySensorTimeout() -> SbTime"}, - { (char *)"SoDB_doSelect", _wrap_SoDB_doSelect, METH_VARARGS, (char *)"\n" - "SoDB_doSelect(int nfds, void readfds, void writefds, void exceptfds, \n" - " timeval usertimeout) -> int\n" - ""}, - { (char *)"SoDB_addConverter", _wrap_SoDB_addConverter, METH_VARARGS, (char *)"SoDB_addConverter(SoType from, SoType to, SoType converter)"}, - { (char *)"SoDB_getConverter", _wrap_SoDB_getConverter, METH_VARARGS, (char *)"SoDB_getConverter(SoType from, SoType to) -> SoType"}, - { (char *)"SoDB_isInitialized", _wrap_SoDB_isInitialized, METH_VARARGS, (char *)"SoDB_isInitialized() -> SbBool"}, - { (char *)"SoDB_startNotify", _wrap_SoDB_startNotify, METH_VARARGS, (char *)"SoDB_startNotify()"}, - { (char *)"SoDB_isNotifying", _wrap_SoDB_isNotifying, METH_VARARGS, (char *)"SoDB_isNotifying() -> SbBool"}, - { (char *)"SoDB_endNotify", _wrap_SoDB_endNotify, METH_VARARGS, (char *)"SoDB_endNotify()"}, - { (char *)"SoDB_addProgressCallback", _wrap_SoDB_addProgressCallback, METH_VARARGS, (char *)"SoDB_addProgressCallback(ProgressCallbackType func, void userdata)"}, - { (char *)"SoDB_removeProgressCallback", _wrap_SoDB_removeProgressCallback, METH_VARARGS, (char *)"SoDB_removeProgressCallback(ProgressCallbackType func, void userdata)"}, - { (char *)"SoDB_isMultiThread", _wrap_SoDB_isMultiThread, METH_VARARGS, (char *)"SoDB_isMultiThread() -> SbBool"}, - { (char *)"SoDB_readlock", _wrap_SoDB_readlock, METH_VARARGS, (char *)"SoDB_readlock()"}, - { (char *)"SoDB_readunlock", _wrap_SoDB_readunlock, METH_VARARGS, (char *)"SoDB_readunlock()"}, - { (char *)"SoDB_writelock", _wrap_SoDB_writelock, METH_VARARGS, (char *)"SoDB_writelock()"}, - { (char *)"SoDB_writeunlock", _wrap_SoDB_writeunlock, METH_VARARGS, (char *)"SoDB_writeunlock()"}, - { (char *)"SoDB_createRoute", _wrap_SoDB_createRoute, METH_VARARGS, (char *)"SoDB_createRoute(SoNode from, char eventout, SoNode to, char eventin)"}, - { (char *)"SoDB_removeRoute", _wrap_SoDB_removeRoute, METH_VARARGS, (char *)"SoDB_removeRoute(SoNode from, char eventout, SoNode to, char eventin)"}, - { (char *)"new_SoDB", _wrap_new_SoDB, METH_VARARGS, (char *)"new_SoDB() -> SoDB"}, - { (char *)"delete_SoDB", _wrap_delete_SoDB, METH_VARARGS, (char *)"delete_SoDB(SoDB self)"}, - { (char *)"SoDB_swigregister", SoDB_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoInput", _wrap_new_SoInput, METH_VARARGS, (char *)"\n" - "SoInput()\n" - "new_SoInput(SoInput dictIn) -> SoInput\n" - ""}, - { (char *)"SoInput_findProto", _wrap_SoInput_findProto, METH_VARARGS, (char *)"SoInput_findProto(SoInput self, SbName name) -> SoProto"}, - { (char *)"SoInput_addProto", _wrap_SoInput_addProto, METH_VARARGS, (char *)"SoInput_addProto(SoInput self, SoProto proto)"}, - { (char *)"SoInput_pushProto", _wrap_SoInput_pushProto, METH_VARARGS, (char *)"SoInput_pushProto(SoInput self, SoProto proto)"}, - { (char *)"SoInput_getCurrentProto", _wrap_SoInput_getCurrentProto, METH_VARARGS, (char *)"SoInput_getCurrentProto(SoInput self) -> SoProto"}, - { (char *)"SoInput_popProto", _wrap_SoInput_popProto, METH_VARARGS, (char *)"SoInput_popProto(SoInput self)"}, - { (char *)"SoInput_addRoute", _wrap_SoInput_addRoute, METH_VARARGS, (char *)"\n" - "SoInput_addRoute(SoInput self, SbName fromnode, SbName fromfield, SbName tonode, \n" - " SbName tofield)\n" - ""}, - { (char *)"SoInput_checkISReference", _wrap_SoInput_checkISReference, METH_VARARGS, (char *)"\n" - "SoInput_checkISReference(SoInput self, SoFieldContainer container, SbName fieldname, \n" - " SbBool readok) -> SbBool\n" - ""}, - { (char *)"delete_SoInput", _wrap_delete_SoInput, METH_VARARGS, (char *)"delete_SoInput(SoInput self)"}, - { (char *)"SoInput_setFilePointer", _wrap_SoInput_setFilePointer, METH_VARARGS, (char *)"SoInput_setFilePointer(SoInput self, FILE newFP)"}, - { (char *)"SoInput_openFile", _wrap_SoInput_openFile, METH_VARARGS, (char *)"\n" - "openFile(char fileName, SbBool okIfNotFound=0) -> SbBool\n" - "SoInput_openFile(SoInput self, char fileName) -> SbBool\n" - ""}, - { (char *)"SoInput_pushFile", _wrap_SoInput_pushFile, METH_VARARGS, (char *)"SoInput_pushFile(SoInput self, char fileName) -> SbBool"}, - { (char *)"SoInput_closeFile", _wrap_SoInput_closeFile, METH_VARARGS, (char *)"SoInput_closeFile(SoInput self)"}, - { (char *)"SoInput_isValidFile", _wrap_SoInput_isValidFile, METH_VARARGS, (char *)"SoInput_isValidFile(SoInput self) -> SbBool"}, - { (char *)"SoInput_isValidBuffer", _wrap_SoInput_isValidBuffer, METH_VARARGS, (char *)"SoInput_isValidBuffer(SoInput self) -> SbBool"}, - { (char *)"SoInput_getCurFile", _wrap_SoInput_getCurFile, METH_VARARGS, (char *)"SoInput_getCurFile(SoInput self) -> FILE"}, - { (char *)"SoInput_getCurFileName", _wrap_SoInput_getCurFileName, METH_VARARGS, (char *)"SoInput_getCurFileName(SoInput self) -> char"}, - { (char *)"SoInput_setBuffer", _wrap_SoInput_setBuffer, METH_VARARGS, (char *)"SoInput_setBuffer(SoInput self, void bufpointer)"}, - { (char *)"SoInput_setStringArray", _wrap_SoInput_setStringArray, METH_VARARGS, (char *)"SoInput_setStringArray(SoInput self, char strings)"}, - { (char *)"SoInput_getNumBytesRead", _wrap_SoInput_getNumBytesRead, METH_VARARGS, (char *)"SoInput_getNumBytesRead(SoInput self) -> size_t"}, - { (char *)"SoInput_getHeader", _wrap_SoInput_getHeader, METH_VARARGS, (char *)"SoInput_getHeader(SoInput self) -> SbString"}, - { (char *)"SoInput_getIVVersion", _wrap_SoInput_getIVVersion, METH_VARARGS, (char *)"SoInput_getIVVersion(SoInput self) -> float"}, - { (char *)"SoInput_isBinary", _wrap_SoInput_isBinary, METH_VARARGS, (char *)"SoInput_isBinary(SoInput self) -> SbBool"}, - { (char *)"SoInput_get", _wrap_SoInput_get, METH_VARARGS, (char *)"SoInput_get(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_getASCIIBuffer", _wrap_SoInput_getASCIIBuffer, METH_VARARGS, (char *)"SoInput_getASCIIBuffer(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_getASCIIFile", _wrap_SoInput_getASCIIFile, METH_VARARGS, (char *)"SoInput_getASCIIFile(SoInput self, char c) -> SbBool"}, - { (char *)"SoInput_readHex", _wrap_SoInput_readHex, METH_VARARGS, (char *)"SoInput_readHex(SoInput self, uint32_t l) -> SbBool"}, - { (char *)"SoInput_read", _wrap_SoInput_read, METH_VARARGS, (char *)"\n" - "read(char c) -> SbBool\n" - "read(char c, SbBool skip) -> SbBool\n" - "read(SbString s) -> SbBool\n" - "read(SbName n, SbBool validIdent=0) -> SbBool\n" - "read(SbName n) -> SbBool\n" - "read(int i) -> SbBool\n" - "read(unsigned int i) -> SbBool\n" - "read(short s) -> SbBool\n" - "read(unsigned short s) -> SbBool\n" - "read(float f) -> SbBool\n" - "SoInput_read(SoInput self, double d) -> SbBool\n" - ""}, - { (char *)"SoInput_readBinaryArray", _wrap_SoInput_readBinaryArray, METH_VARARGS, (char *)"\n" - "readBinaryArray(unsigned char c, int length) -> SbBool\n" - "readBinaryArray(int32_t l, int length) -> SbBool\n" - "readBinaryArray(float f, int length) -> SbBool\n" - "SoInput_readBinaryArray(SoInput self, double d, int length) -> SbBool\n" - ""}, - { (char *)"SoInput_eof", _wrap_SoInput_eof, METH_VARARGS, (char *)"SoInput_eof(SoInput self) -> SbBool"}, - { (char *)"SoInput_isFileVRML1", _wrap_SoInput_isFileVRML1, METH_VARARGS, (char *)"SoInput_isFileVRML1(SoInput self) -> SbBool"}, - { (char *)"SoInput_isFileVRML2", _wrap_SoInput_isFileVRML2, METH_VARARGS, (char *)"SoInput_isFileVRML2(SoInput self) -> SbBool"}, - { (char *)"SoInput_resetFilePointer", _wrap_SoInput_resetFilePointer, METH_VARARGS, (char *)"SoInput_resetFilePointer(SoInput self, FILE fptr)"}, - { (char *)"SoInput_getLocationString", _wrap_SoInput_getLocationString, METH_VARARGS, (char *)"SoInput_getLocationString(SoInput self, SbString string)"}, - { (char *)"SoInput_putBack", _wrap_SoInput_putBack, METH_VARARGS, (char *)"\n" - "putBack(char c)\n" - "SoInput_putBack(SoInput self, char str)\n" - ""}, - { (char *)"SoInput_addReference", _wrap_SoInput_addReference, METH_VARARGS, (char *)"\n" - "addReference(SbName name, SoBase base, SbBool addToGlobalDict=1)\n" - "SoInput_addReference(SoInput self, SbName name, SoBase base)\n" - ""}, - { (char *)"SoInput_removeReference", _wrap_SoInput_removeReference, METH_VARARGS, (char *)"SoInput_removeReference(SoInput self, SbName name)"}, - { (char *)"SoInput_findReference", _wrap_SoInput_findReference, METH_VARARGS, (char *)"SoInput_findReference(SoInput self, SbName name) -> SoBase"}, - { (char *)"SoInput_addDirectoryFirst", _wrap_SoInput_addDirectoryFirst, METH_VARARGS, (char *)"SoInput_addDirectoryFirst(char dirName)"}, - { (char *)"SoInput_addDirectoryLast", _wrap_SoInput_addDirectoryLast, METH_VARARGS, (char *)"SoInput_addDirectoryLast(char dirName)"}, - { (char *)"SoInput_addEnvDirectoriesFirst", _wrap_SoInput_addEnvDirectoriesFirst, METH_VARARGS, (char *)"\n" - "addEnvDirectoriesFirst(char envVarName, char separator=\":\\t \")\n" - "SoInput_addEnvDirectoriesFirst(char envVarName)\n" - ""}, - { (char *)"SoInput_addEnvDirectoriesLast", _wrap_SoInput_addEnvDirectoriesLast, METH_VARARGS, (char *)"\n" - "addEnvDirectoriesLast(char envVarName, char separator=\":\\t \")\n" - "SoInput_addEnvDirectoriesLast(char envVarName)\n" - ""}, - { (char *)"SoInput_removeDirectory", _wrap_SoInput_removeDirectory, METH_VARARGS, (char *)"SoInput_removeDirectory(char dirName)"}, - { (char *)"SoInput_clearDirectories", _wrap_SoInput_clearDirectories, METH_VARARGS, (char *)"SoInput_clearDirectories()"}, - { (char *)"SoInput_getDirectories", _wrap_SoInput_getDirectories, METH_VARARGS, (char *)"SoInput_getDirectories() -> SbStringList"}, - { (char *)"SoInput_init", _wrap_SoInput_init, METH_VARARGS, (char *)"SoInput_init()"}, - { (char *)"SoInput_getPathname", _wrap_SoInput_getPathname, METH_VARARGS, (char *)"\n" - "getPathname(char filename) -> SbString\n" - "SoInput_getPathname(SbString s) -> SbString\n" - ""}, - { (char *)"SoInput_getBasename", _wrap_SoInput_getBasename, METH_VARARGS, (char *)"\n" - "getBasename(char filename) -> SbString\n" - "SoInput_getBasename(SbString s) -> SbString\n" - ""}, - { (char *)"SoInput_searchForFile", _wrap_SoInput_searchForFile, METH_VARARGS, (char *)"SoInput_searchForFile(SbString basename, SbStringList directories, SbStringList subdirectories) -> SbString"}, - { (char *)"SoInput_swigregister", SoInput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOutput", _wrap_new_SoOutput, METH_VARARGS, (char *)"\n" - "SoOutput()\n" - "new_SoOutput(SoOutput dictOut) -> SoOutput\n" - ""}, - { (char *)"delete_SoOutput", _wrap_delete_SoOutput, METH_VARARGS, (char *)"delete_SoOutput(SoOutput self)"}, - { (char *)"SoOutput_setFilePointer", _wrap_SoOutput_setFilePointer, METH_VARARGS, (char *)"SoOutput_setFilePointer(SoOutput self, FILE newFP)"}, - { (char *)"SoOutput_getFilePointer", _wrap_SoOutput_getFilePointer, METH_VARARGS, (char *)"SoOutput_getFilePointer(SoOutput self) -> FILE"}, - { (char *)"SoOutput_openFile", _wrap_SoOutput_openFile, METH_VARARGS, (char *)"SoOutput_openFile(SoOutput self, char fileName) -> SbBool"}, - { (char *)"SoOutput_closeFile", _wrap_SoOutput_closeFile, METH_VARARGS, (char *)"SoOutput_closeFile(SoOutput self)"}, - { (char *)"SoOutput_setCompression", _wrap_SoOutput_setCompression, METH_VARARGS, (char *)"\n" - "setCompression(SbName compmethod, float level=0.5) -> SbBool\n" - "SoOutput_setCompression(SoOutput self, SbName compmethod) -> SbBool\n" - ""}, - { (char *)"SoOutput_getAvailableCompressionMethods", _wrap_SoOutput_getAvailableCompressionMethods, METH_VARARGS, (char *)"SoOutput_getAvailableCompressionMethods(unsigned int num) -> SbName"}, - { (char *)"SoOutput_setBuffer", _wrap_SoOutput_setBuffer, METH_VARARGS, (char *)"\n" - "setBuffer(void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc, \n" - " int32_t offset=0)\n" - "SoOutput_setBuffer(SoOutput self, void bufPointer, size_t initSize, SoOutputReallocCB reallocFunc)\n" - ""}, - { (char *)"SoOutput_getBuffer", _wrap_SoOutput_getBuffer, METH_VARARGS, (char *)"SoOutput_getBuffer(SoOutput self, void bufPointer, size_t nBytes) -> SbBool"}, - { (char *)"SoOutput_getBufferSize", _wrap_SoOutput_getBufferSize, METH_VARARGS, (char *)"SoOutput_getBufferSize(SoOutput self) -> size_t"}, - { (char *)"SoOutput_resetBuffer", _wrap_SoOutput_resetBuffer, METH_VARARGS, (char *)"SoOutput_resetBuffer(SoOutput self)"}, - { (char *)"SoOutput_setBinary", _wrap_SoOutput_setBinary, METH_VARARGS, (char *)"SoOutput_setBinary(SoOutput self, SbBool flag)"}, - { (char *)"SoOutput_isBinary", _wrap_SoOutput_isBinary, METH_VARARGS, (char *)"SoOutput_isBinary(SoOutput self) -> SbBool"}, - { (char *)"SoOutput_setHeaderString", _wrap_SoOutput_setHeaderString, METH_VARARGS, (char *)"SoOutput_setHeaderString(SoOutput self, SbString str)"}, - { (char *)"SoOutput_resetHeaderString", _wrap_SoOutput_resetHeaderString, METH_VARARGS, (char *)"SoOutput_resetHeaderString(SoOutput self)"}, - { (char *)"SoOutput_setFloatPrecision", _wrap_SoOutput_setFloatPrecision, METH_VARARGS, (char *)"SoOutput_setFloatPrecision(SoOutput self, int precision)"}, - { (char *)"SoOutput_setStage", _wrap_SoOutput_setStage, METH_VARARGS, (char *)"SoOutput_setStage(SoOutput self, Stage stage)"}, - { (char *)"SoOutput_getStage", _wrap_SoOutput_getStage, METH_VARARGS, (char *)"SoOutput_getStage(SoOutput self) -> Stage"}, - { (char *)"SoOutput_incrementIndent", _wrap_SoOutput_incrementIndent, METH_VARARGS, (char *)"\n" - "incrementIndent(int levels=1)\n" - "SoOutput_incrementIndent(SoOutput self)\n" - ""}, - { (char *)"SoOutput_decrementIndent", _wrap_SoOutput_decrementIndent, METH_VARARGS, (char *)"\n" - "decrementIndent(int levels=1)\n" - "SoOutput_decrementIndent(SoOutput self)\n" - ""}, - { (char *)"SoOutput_write", _wrap_SoOutput_write, METH_VARARGS, (char *)"\n" - "write(char c)\n" - "write(char s)\n" - "write(SbString s)\n" - "write(SbName n)\n" - "write(int i)\n" - "write(unsigned int i)\n" - "write(short s)\n" - "write(unsigned short s)\n" - "write(float f)\n" - "SoOutput_write(SoOutput self, double d)\n" - ""}, - { (char *)"SoOutput_writeBinaryArray", _wrap_SoOutput_writeBinaryArray, METH_VARARGS, (char *)"\n" - "writeBinaryArray(unsigned char c, int length)\n" - "writeBinaryArray(int32_t l, int length)\n" - "writeBinaryArray(float f, int length)\n" - "SoOutput_writeBinaryArray(SoOutput self, double d, int length)\n" - ""}, - { (char *)"SoOutput_indent", _wrap_SoOutput_indent, METH_VARARGS, (char *)"SoOutput_indent(SoOutput self)"}, - { (char *)"SoOutput_reset", _wrap_SoOutput_reset, METH_VARARGS, (char *)"SoOutput_reset(SoOutput self)"}, - { (char *)"SoOutput_setCompact", _wrap_SoOutput_setCompact, METH_VARARGS, (char *)"SoOutput_setCompact(SoOutput self, SbBool flag)"}, - { (char *)"SoOutput_isCompact", _wrap_SoOutput_isCompact, METH_VARARGS, (char *)"SoOutput_isCompact(SoOutput self) -> SbBool"}, - { (char *)"SoOutput_setAnnotation", _wrap_SoOutput_setAnnotation, METH_VARARGS, (char *)"SoOutput_setAnnotation(SoOutput self, uint32_t bits)"}, - { (char *)"SoOutput_getAnnotation", _wrap_SoOutput_getAnnotation, METH_VARARGS, (char *)"SoOutput_getAnnotation(SoOutput self) -> uint32_t"}, - { (char *)"SoOutput_getDefaultASCIIHeader", _wrap_SoOutput_getDefaultASCIIHeader, METH_VARARGS, (char *)"SoOutput_getDefaultASCIIHeader() -> SbString"}, - { (char *)"SoOutput_getDefaultBinaryHeader", _wrap_SoOutput_getDefaultBinaryHeader, METH_VARARGS, (char *)"SoOutput_getDefaultBinaryHeader() -> SbString"}, - { (char *)"SoOutput_addReference", _wrap_SoOutput_addReference, METH_VARARGS, (char *)"SoOutput_addReference(SoOutput self, SoBase base) -> int"}, - { (char *)"SoOutput_findReference", _wrap_SoOutput_findReference, METH_VARARGS, (char *)"SoOutput_findReference(SoOutput self, SoBase base) -> int"}, - { (char *)"SoOutput_setReference", _wrap_SoOutput_setReference, METH_VARARGS, (char *)"SoOutput_setReference(SoOutput self, SoBase base, int refid)"}, - { (char *)"SoOutput_addDEFNode", _wrap_SoOutput_addDEFNode, METH_VARARGS, (char *)"SoOutput_addDEFNode(SoOutput self, SbName name)"}, - { (char *)"SoOutput_lookupDEFNode", _wrap_SoOutput_lookupDEFNode, METH_VARARGS, (char *)"SoOutput_lookupDEFNode(SoOutput self, SbName name) -> SbBool"}, - { (char *)"SoOutput_removeDEFNode", _wrap_SoOutput_removeDEFNode, METH_VARARGS, (char *)"SoOutput_removeDEFNode(SoOutput self, SbName name)"}, - { (char *)"SoOutput_pushProto", _wrap_SoOutput_pushProto, METH_VARARGS, (char *)"SoOutput_pushProto(SoOutput self, SoProto proto)"}, - { (char *)"SoOutput_getCurrentProto", _wrap_SoOutput_getCurrentProto, METH_VARARGS, (char *)"SoOutput_getCurrentProto(SoOutput self) -> SoProto"}, - { (char *)"SoOutput_popProto", _wrap_SoOutput_popProto, METH_VARARGS, (char *)"SoOutput_popProto(SoOutput self)"}, - { (char *)"SoOutput_addRoute", _wrap_SoOutput_addRoute, METH_VARARGS, (char *)"\n" - "SoOutput_addRoute(SoOutput self, SoFieldContainer from, SbName fromfield, \n" - " SoFieldContainer to, SbName tofield)\n" - ""}, - { (char *)"SoOutput_resolveRoutes", _wrap_SoOutput_resolveRoutes, METH_VARARGS, (char *)"SoOutput_resolveRoutes(SoOutput self)"}, - { (char *)"SoOutput_swigregister", SoOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFEnum", _wrap_new_SoSFEnum, METH_VARARGS, (char *)"new_SoSFEnum() -> SoSFEnum"}, - { (char *)"delete_SoSFEnum", _wrap_delete_SoSFEnum, METH_VARARGS, (char *)"delete_SoSFEnum(SoSFEnum self)"}, - { (char *)"SoSFEnum_createInstance", _wrap_SoSFEnum_createInstance, METH_VARARGS, (char *)"SoSFEnum_createInstance() -> void"}, - { (char *)"SoSFEnum_getClassTypeId", _wrap_SoSFEnum_getClassTypeId, METH_VARARGS, (char *)"SoSFEnum_getClassTypeId() -> SoType"}, - { (char *)"SoSFEnum_getTypeId", _wrap_SoSFEnum_getTypeId, METH_VARARGS, (char *)"SoSFEnum_getTypeId(SoSFEnum self) -> SoType"}, - { (char *)"SoSFEnum_copyFrom", _wrap_SoSFEnum_copyFrom, METH_VARARGS, (char *)"SoSFEnum_copyFrom(SoSFEnum self, SoField field)"}, - { (char *)"SoSFEnum_isSame", _wrap_SoSFEnum_isSame, METH_VARARGS, (char *)"SoSFEnum_isSame(SoSFEnum self, SoField field) -> SbBool"}, - { (char *)"SoSFEnum_getValue", _wrap_SoSFEnum_getValue, METH_VARARGS, (char *)"SoSFEnum_getValue(SoSFEnum self) -> int"}, - { (char *)"SoSFEnum___eq__", _wrap_SoSFEnum___eq__, METH_VARARGS, (char *)"SoSFEnum___eq__(SoSFEnum self, SoSFEnum field) -> int"}, - { (char *)"SoSFEnum___ne__", _wrap_SoSFEnum___ne__, METH_VARARGS, (char *)"SoSFEnum___ne__(SoSFEnum self, SoSFEnum field) -> int"}, - { (char *)"SoSFEnum_initClass", _wrap_SoSFEnum_initClass, METH_VARARGS, (char *)"SoSFEnum_initClass()"}, - { (char *)"SoSFEnum_setEnums", _wrap_SoSFEnum_setEnums, METH_VARARGS, (char *)"SoSFEnum_setEnums(SoSFEnum self, int num, int vals, SbName names)"}, - { (char *)"SoSFEnum_getNumEnums", _wrap_SoSFEnum_getNumEnums, METH_VARARGS, (char *)"SoSFEnum_getNumEnums(SoSFEnum self) -> int"}, - { (char *)"SoSFEnum_getEnum", _wrap_SoSFEnum_getEnum, METH_VARARGS, (char *)"SoSFEnum_getEnum(SoSFEnum self, int idx, SbName name) -> int"}, - { (char *)"SoSFEnum_setValue", _wrap_SoSFEnum_setValue, METH_VARARGS, (char *)"\n" - "setValue(int newvalue)\n" - "setValue(SbName name)\n" - "SoSFEnum_setValue(SoSFEnum self, SoSFEnum other)\n" - ""}, - { (char *)"SoSFEnum_swigregister", SoSFEnum_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFFloat", _wrap_new_SoSFFloat, METH_VARARGS, (char *)"new_SoSFFloat() -> SoSFFloat"}, - { (char *)"delete_SoSFFloat", _wrap_delete_SoSFFloat, METH_VARARGS, (char *)"delete_SoSFFloat(SoSFFloat self)"}, - { (char *)"SoSFFloat_createInstance", _wrap_SoSFFloat_createInstance, METH_VARARGS, (char *)"SoSFFloat_createInstance() -> void"}, - { (char *)"SoSFFloat_getClassTypeId", _wrap_SoSFFloat_getClassTypeId, METH_VARARGS, (char *)"SoSFFloat_getClassTypeId() -> SoType"}, - { (char *)"SoSFFloat_getTypeId", _wrap_SoSFFloat_getTypeId, METH_VARARGS, (char *)"SoSFFloat_getTypeId(SoSFFloat self) -> SoType"}, - { (char *)"SoSFFloat_copyFrom", _wrap_SoSFFloat_copyFrom, METH_VARARGS, (char *)"SoSFFloat_copyFrom(SoSFFloat self, SoField field)"}, - { (char *)"SoSFFloat_isSame", _wrap_SoSFFloat_isSame, METH_VARARGS, (char *)"SoSFFloat_isSame(SoSFFloat self, SoField field) -> SbBool"}, - { (char *)"SoSFFloat_getValue", _wrap_SoSFFloat_getValue, METH_VARARGS, (char *)"SoSFFloat_getValue(SoSFFloat self) -> float"}, - { (char *)"SoSFFloat___eq__", _wrap_SoSFFloat___eq__, METH_VARARGS, (char *)"SoSFFloat___eq__(SoSFFloat self, SoSFFloat field) -> int"}, - { (char *)"SoSFFloat___ne__", _wrap_SoSFFloat___ne__, METH_VARARGS, (char *)"SoSFFloat___ne__(SoSFFloat self, SoSFFloat field) -> int"}, - { (char *)"SoSFFloat_initClass", _wrap_SoSFFloat_initClass, METH_VARARGS, (char *)"SoSFFloat_initClass()"}, - { (char *)"SoSFFloat_setValue", _wrap_SoSFFloat_setValue, METH_VARARGS, (char *)"\n" - "setValue(float newvalue)\n" - "SoSFFloat_setValue(SoSFFloat self, SoSFFloat other)\n" - ""}, - { (char *)"SoSFFloat_swigregister", SoSFFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexityTypeElement_getClassTypeId", _wrap_SoComplexityTypeElement_getClassTypeId, METH_VARARGS, (char *)"SoComplexityTypeElement_getClassTypeId() -> SoType"}, - { (char *)"SoComplexityTypeElement_getClassStackIndex", _wrap_SoComplexityTypeElement_getClassStackIndex, METH_VARARGS, (char *)"SoComplexityTypeElement_getClassStackIndex() -> int"}, - { (char *)"SoComplexityTypeElement_createInstance", _wrap_SoComplexityTypeElement_createInstance, METH_VARARGS, (char *)"SoComplexityTypeElement_createInstance() -> void"}, - { (char *)"SoComplexityTypeElement_initClass", _wrap_SoComplexityTypeElement_initClass, METH_VARARGS, (char *)"SoComplexityTypeElement_initClass()"}, - { (char *)"SoComplexityTypeElement_init", _wrap_SoComplexityTypeElement_init, METH_VARARGS, (char *)"SoComplexityTypeElement_init(SoComplexityTypeElement self, SoState state)"}, - { (char *)"SoComplexityTypeElement_set", _wrap_SoComplexityTypeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Type type)\n" - "SoComplexityTypeElement_set(SoState state, Type type)\n" - ""}, - { (char *)"SoComplexityTypeElement_get", _wrap_SoComplexityTypeElement_get, METH_VARARGS, (char *)"SoComplexityTypeElement_get(SoState state) -> Type"}, - { (char *)"SoComplexityTypeElement_getDefault", _wrap_SoComplexityTypeElement_getDefault, METH_VARARGS, (char *)"SoComplexityTypeElement_getDefault() -> Type"}, - { (char *)"SoComplexityTypeElement_swigregister", SoComplexityTypeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexity_getClassTypeId", _wrap_SoComplexity_getClassTypeId, METH_VARARGS, (char *)"SoComplexity_getClassTypeId() -> SoType"}, - { (char *)"SoComplexity_getTypeId", _wrap_SoComplexity_getTypeId, METH_VARARGS, (char *)"SoComplexity_getTypeId(SoComplexity self) -> SoType"}, - { (char *)"SoComplexity_initClass", _wrap_SoComplexity_initClass, METH_VARARGS, (char *)"SoComplexity_initClass()"}, - { (char *)"new_SoComplexity", _wrap_new_SoComplexity, METH_VARARGS, (char *)"new_SoComplexity() -> SoComplexity"}, - { (char *)"SoComplexity_type_set", _wrap_SoComplexity_type_set, METH_VARARGS, (char *)"SoComplexity_type_set(SoComplexity self, SoSFEnum type)"}, - { (char *)"SoComplexity_type_get", _wrap_SoComplexity_type_get, METH_VARARGS, (char *)"SoComplexity_type_get(SoComplexity self) -> SoSFEnum"}, - { (char *)"SoComplexity_value_set", _wrap_SoComplexity_value_set, METH_VARARGS, (char *)"SoComplexity_value_set(SoComplexity self, SoSFFloat value)"}, - { (char *)"SoComplexity_value_get", _wrap_SoComplexity_value_get, METH_VARARGS, (char *)"SoComplexity_value_get(SoComplexity self) -> SoSFFloat"}, - { (char *)"SoComplexity_textureQuality_set", _wrap_SoComplexity_textureQuality_set, METH_VARARGS, (char *)"SoComplexity_textureQuality_set(SoComplexity self, SoSFFloat textureQuality)"}, - { (char *)"SoComplexity_textureQuality_get", _wrap_SoComplexity_textureQuality_get, METH_VARARGS, (char *)"SoComplexity_textureQuality_get(SoComplexity self) -> SoSFFloat"}, - { (char *)"SoComplexity_doAction", _wrap_SoComplexity_doAction, METH_VARARGS, (char *)"SoComplexity_doAction(SoComplexity self, SoAction action)"}, - { (char *)"SoComplexity_callback", _wrap_SoComplexity_callback, METH_VARARGS, (char *)"SoComplexity_callback(SoComplexity self, SoCallbackAction action)"}, - { (char *)"SoComplexity_getBoundingBox", _wrap_SoComplexity_getBoundingBox, METH_VARARGS, (char *)"SoComplexity_getBoundingBox(SoComplexity self, SoGetBoundingBoxAction action)"}, - { (char *)"SoComplexity_GLRender", _wrap_SoComplexity_GLRender, METH_VARARGS, (char *)"SoComplexity_GLRender(SoComplexity self, SoGLRenderAction action)"}, - { (char *)"SoComplexity_pick", _wrap_SoComplexity_pick, METH_VARARGS, (char *)"SoComplexity_pick(SoComplexity self, SoPickAction action)"}, - { (char *)"SoComplexity_getPrimitiveCount", _wrap_SoComplexity_getPrimitiveCount, METH_VARARGS, (char *)"SoComplexity_getPrimitiveCount(SoComplexity self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoComplexity_swigregister", SoComplexity_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDrawStyleElement_getClassTypeId", _wrap_SoDrawStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoDrawStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoDrawStyleElement_getClassStackIndex", _wrap_SoDrawStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoDrawStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoDrawStyleElement_createInstance", _wrap_SoDrawStyleElement_createInstance, METH_VARARGS, (char *)"SoDrawStyleElement_createInstance() -> void"}, - { (char *)"SoDrawStyleElement_initClass", _wrap_SoDrawStyleElement_initClass, METH_VARARGS, (char *)"SoDrawStyleElement_initClass()"}, - { (char *)"SoDrawStyleElement_init", _wrap_SoDrawStyleElement_init, METH_VARARGS, (char *)"SoDrawStyleElement_init(SoDrawStyleElement self, SoState state)"}, - { (char *)"SoDrawStyleElement_set", _wrap_SoDrawStyleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Style style)\n" - "SoDrawStyleElement_set(SoState state, Style style)\n" - ""}, - { (char *)"SoDrawStyleElement_get", _wrap_SoDrawStyleElement_get, METH_VARARGS, (char *)"SoDrawStyleElement_get(SoState state) -> Style"}, - { (char *)"SoDrawStyleElement_getDefault", _wrap_SoDrawStyleElement_getDefault, METH_VARARGS, (char *)"SoDrawStyleElement_getDefault() -> Style"}, - { (char *)"SoDrawStyleElement_swigregister", SoDrawStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFUShort", _wrap_new_SoSFUShort, METH_VARARGS, (char *)"new_SoSFUShort() -> SoSFUShort"}, - { (char *)"delete_SoSFUShort", _wrap_delete_SoSFUShort, METH_VARARGS, (char *)"delete_SoSFUShort(SoSFUShort self)"}, - { (char *)"SoSFUShort_createInstance", _wrap_SoSFUShort_createInstance, METH_VARARGS, (char *)"SoSFUShort_createInstance() -> void"}, - { (char *)"SoSFUShort_getClassTypeId", _wrap_SoSFUShort_getClassTypeId, METH_VARARGS, (char *)"SoSFUShort_getClassTypeId() -> SoType"}, - { (char *)"SoSFUShort_getTypeId", _wrap_SoSFUShort_getTypeId, METH_VARARGS, (char *)"SoSFUShort_getTypeId(SoSFUShort self) -> SoType"}, - { (char *)"SoSFUShort_copyFrom", _wrap_SoSFUShort_copyFrom, METH_VARARGS, (char *)"SoSFUShort_copyFrom(SoSFUShort self, SoField field)"}, - { (char *)"SoSFUShort_isSame", _wrap_SoSFUShort_isSame, METH_VARARGS, (char *)"SoSFUShort_isSame(SoSFUShort self, SoField field) -> SbBool"}, - { (char *)"SoSFUShort_getValue", _wrap_SoSFUShort_getValue, METH_VARARGS, (char *)"SoSFUShort_getValue(SoSFUShort self) -> unsigned short"}, - { (char *)"SoSFUShort___eq__", _wrap_SoSFUShort___eq__, METH_VARARGS, (char *)"SoSFUShort___eq__(SoSFUShort self, SoSFUShort field) -> int"}, - { (char *)"SoSFUShort___ne__", _wrap_SoSFUShort___ne__, METH_VARARGS, (char *)"SoSFUShort___ne__(SoSFUShort self, SoSFUShort field) -> int"}, - { (char *)"SoSFUShort_initClass", _wrap_SoSFUShort_initClass, METH_VARARGS, (char *)"SoSFUShort_initClass()"}, - { (char *)"SoSFUShort_setValue", _wrap_SoSFUShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(unsigned short newvalue)\n" - "SoSFUShort_setValue(SoSFUShort self, SoSFUShort other)\n" - ""}, - { (char *)"SoSFUShort_swigregister", SoSFUShort_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDrawStyle_getClassTypeId", _wrap_SoDrawStyle_getClassTypeId, METH_VARARGS, (char *)"SoDrawStyle_getClassTypeId() -> SoType"}, - { (char *)"SoDrawStyle_getTypeId", _wrap_SoDrawStyle_getTypeId, METH_VARARGS, (char *)"SoDrawStyle_getTypeId(SoDrawStyle self) -> SoType"}, - { (char *)"SoDrawStyle_initClass", _wrap_SoDrawStyle_initClass, METH_VARARGS, (char *)"SoDrawStyle_initClass()"}, - { (char *)"new_SoDrawStyle", _wrap_new_SoDrawStyle, METH_VARARGS, (char *)"new_SoDrawStyle() -> SoDrawStyle"}, - { (char *)"SoDrawStyle_style_set", _wrap_SoDrawStyle_style_set, METH_VARARGS, (char *)"SoDrawStyle_style_set(SoDrawStyle self, SoSFEnum style)"}, - { (char *)"SoDrawStyle_style_get", _wrap_SoDrawStyle_style_get, METH_VARARGS, (char *)"SoDrawStyle_style_get(SoDrawStyle self) -> SoSFEnum"}, - { (char *)"SoDrawStyle_pointSize_set", _wrap_SoDrawStyle_pointSize_set, METH_VARARGS, (char *)"SoDrawStyle_pointSize_set(SoDrawStyle self, SoSFFloat pointSize)"}, - { (char *)"SoDrawStyle_pointSize_get", _wrap_SoDrawStyle_pointSize_get, METH_VARARGS, (char *)"SoDrawStyle_pointSize_get(SoDrawStyle self) -> SoSFFloat"}, - { (char *)"SoDrawStyle_lineWidth_set", _wrap_SoDrawStyle_lineWidth_set, METH_VARARGS, (char *)"SoDrawStyle_lineWidth_set(SoDrawStyle self, SoSFFloat lineWidth)"}, - { (char *)"SoDrawStyle_lineWidth_get", _wrap_SoDrawStyle_lineWidth_get, METH_VARARGS, (char *)"SoDrawStyle_lineWidth_get(SoDrawStyle self) -> SoSFFloat"}, - { (char *)"SoDrawStyle_linePattern_set", _wrap_SoDrawStyle_linePattern_set, METH_VARARGS, (char *)"SoDrawStyle_linePattern_set(SoDrawStyle self, SoSFUShort linePattern)"}, - { (char *)"SoDrawStyle_linePattern_get", _wrap_SoDrawStyle_linePattern_get, METH_VARARGS, (char *)"SoDrawStyle_linePattern_get(SoDrawStyle self) -> SoSFUShort"}, - { (char *)"SoDrawStyle_doAction", _wrap_SoDrawStyle_doAction, METH_VARARGS, (char *)"SoDrawStyle_doAction(SoDrawStyle self, SoAction action)"}, - { (char *)"SoDrawStyle_GLRender", _wrap_SoDrawStyle_GLRender, METH_VARARGS, (char *)"SoDrawStyle_GLRender(SoDrawStyle self, SoGLRenderAction action)"}, - { (char *)"SoDrawStyle_callback", _wrap_SoDrawStyle_callback, METH_VARARGS, (char *)"SoDrawStyle_callback(SoDrawStyle self, SoCallbackAction action)"}, - { (char *)"SoDrawStyle_swigregister", SoDrawStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3f", _wrap_new_SbVec3f, METH_VARARGS, (char *)"\n" - "SbVec3f()\n" - "SbVec3f(float v)\n" - "SbVec3f(float x, float y, float z)\n" - "SbVec3f(SbPlane p0, SbPlane p1, SbPlane p2)\n" - "new_SbVec3f(SbVec3d v) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f_cross", _wrap_SbVec3f_cross, METH_VARARGS, (char *)"SbVec3f_cross(SbVec3f self, SbVec3f v) -> SbVec3f"}, - { (char *)"SbVec3f_dot", _wrap_SbVec3f_dot, METH_VARARGS, (char *)"SbVec3f_dot(SbVec3f self, SbVec3f v) -> float"}, - { (char *)"SbVec3f_equals", _wrap_SbVec3f_equals, METH_VARARGS, (char *)"SbVec3f_equals(SbVec3f self, SbVec3f v, float tolerance) -> SbBool"}, - { (char *)"SbVec3f_getClosestAxis", _wrap_SbVec3f_getClosestAxis, METH_VARARGS, (char *)"SbVec3f_getClosestAxis(SbVec3f self) -> SbVec3f"}, - { (char *)"SbVec3f_getValue", _wrap_SbVec3f_getValue, METH_VARARGS, (char *)"SbVec3f_getValue(SbVec3f self) -> float"}, - { (char *)"SbVec3f_length", _wrap_SbVec3f_length, METH_VARARGS, (char *)"SbVec3f_length(SbVec3f self) -> float"}, - { (char *)"SbVec3f_sqrLength", _wrap_SbVec3f_sqrLength, METH_VARARGS, (char *)"SbVec3f_sqrLength(SbVec3f self) -> float"}, - { (char *)"SbVec3f_negate", _wrap_SbVec3f_negate, METH_VARARGS, (char *)"SbVec3f_negate(SbVec3f self)"}, - { (char *)"SbVec3f_normalize", _wrap_SbVec3f_normalize, METH_VARARGS, (char *)"SbVec3f_normalize(SbVec3f self) -> float"}, - { (char *)"SbVec3f_setValue", _wrap_SbVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec3f\n" - "setValue(float x, float y, float z) -> SbVec3f\n" - "setValue(SbVec3f barycentric, SbVec3f v0, SbVec3f v1, SbVec3f v2) -> SbVec3f\n" - "SbVec3f_setValue(SbVec3f self, SbVec3d v) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f___imul__", _wrap_SbVec3f___imul__, METH_VARARGS, (char *)"SbVec3f___imul__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___idiv__", _wrap_SbVec3f___idiv__, METH_VARARGS, (char *)"SbVec3f___idiv__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___iadd__", _wrap_SbVec3f___iadd__, METH_VARARGS, (char *)"SbVec3f___iadd__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___isub__", _wrap_SbVec3f___isub__, METH_VARARGS, (char *)"SbVec3f___isub__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___neg__", _wrap_SbVec3f___neg__, METH_VARARGS, (char *)"SbVec3f___neg__(SbVec3f self) -> SbVec3f"}, - { (char *)"SbVec3f_output", _wrap_SbVec3f_output, METH_VARARGS, (char *)"SbVec3f_output(SbVec3f self, FILE fp)"}, - { (char *)"SbVec3f___add__", _wrap_SbVec3f___add__, METH_VARARGS, (char *)"SbVec3f___add__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___sub__", _wrap_SbVec3f___sub__, METH_VARARGS, (char *)"SbVec3f___sub__(SbVec3f self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbVec3f___mul__", _wrap_SbVec3f___mul__, METH_VARARGS, (char *)"\n" - "__mul__(float d) -> SbVec3f\n" - "SbVec3f___mul__(SbVec3f self, SbMatrix m) -> SbVec3f\n" - ""}, - { (char *)"SbVec3f___rmul__", _wrap_SbVec3f___rmul__, METH_VARARGS, (char *)"SbVec3f___rmul__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___div__", _wrap_SbVec3f___div__, METH_VARARGS, (char *)"SbVec3f___div__(SbVec3f self, float d) -> SbVec3f"}, - { (char *)"SbVec3f___eq__", _wrap_SbVec3f___eq__, METH_VARARGS, (char *)"SbVec3f___eq__(SbVec3f self, SbVec3f u) -> int"}, - { (char *)"SbVec3f___nq__", _wrap_SbVec3f___nq__, METH_VARARGS, (char *)"SbVec3f___nq__(SbVec3f self, SbVec3f u) -> int"}, - { (char *)"SbVec3f___getitem__", _wrap_SbVec3f___getitem__, METH_VARARGS, (char *)"SbVec3f___getitem__(SbVec3f self, int i) -> float"}, - { (char *)"SbVec3f___setitem__", _wrap_SbVec3f___setitem__, METH_VARARGS, (char *)"SbVec3f___setitem__(SbVec3f self, int i, float value)"}, - { (char *)"delete_SbVec3f", _wrap_delete_SbVec3f, METH_VARARGS, (char *)"delete_SbVec3f(SbVec3f self)"}, - { (char *)"SbVec3f_swigregister", SbVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbColor", _wrap_new_SbColor, METH_VARARGS, (char *)"\n" - "SbColor()\n" - "SbColor(SbVec3f v)\n" - "SbColor(float rgb)\n" - "new_SbColor(float r, float g, float b) -> SbColor\n" - ""}, - { (char *)"SbColor_setHSVValue", _wrap_SbColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v) -> SbColor\n" - "SbColor_setHSVValue(SbColor self, float hsv) -> SbColor\n" - ""}, - { (char *)"SbColor_getHSVValue", _wrap_SbColor_getHSVValue, METH_VARARGS, (char *)"SbColor_getHSVValue(SbColor self, float h, float s, float v)"}, - { (char *)"SbColor_setPackedValue", _wrap_SbColor_setPackedValue, METH_VARARGS, (char *)"SbColor_setPackedValue(SbColor self, uint32_t rgba, float transparency) -> SbColor"}, - { (char *)"SbColor_getPackedValue", _wrap_SbColor_getPackedValue, METH_VARARGS, (char *)"\n" - "getPackedValue(float transparency=0.0) -> uint32_t\n" - "SbColor_getPackedValue(SbColor self) -> uint32_t\n" - ""}, - { (char *)"SbColor___add__", _wrap_SbColor___add__, METH_VARARGS, (char *)"SbColor___add__(SbColor self, SbColor u) -> SbColor"}, - { (char *)"SbColor___sub__", _wrap_SbColor___sub__, METH_VARARGS, (char *)"SbColor___sub__(SbColor self, SbColor u) -> SbColor"}, - { (char *)"SbColor___mul__", _wrap_SbColor___mul__, METH_VARARGS, (char *)"SbColor___mul__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___rmul__", _wrap_SbColor___rmul__, METH_VARARGS, (char *)"SbColor___rmul__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___div__", _wrap_SbColor___div__, METH_VARARGS, (char *)"SbColor___div__(SbColor self, float d) -> SbColor"}, - { (char *)"SbColor___eq__", _wrap_SbColor___eq__, METH_VARARGS, (char *)"SbColor___eq__(SbColor self, SbColor u) -> int"}, - { (char *)"SbColor___nq__", _wrap_SbColor___nq__, METH_VARARGS, (char *)"SbColor___nq__(SbColor self, SbColor u) -> int"}, - { (char *)"SbColor___getitem__", _wrap_SbColor___getitem__, METH_VARARGS, (char *)"SbColor___getitem__(SbColor self, int i) -> float"}, - { (char *)"SbColor___setitem__", _wrap_SbColor___setitem__, METH_VARARGS, (char *)"SbColor___setitem__(SbColor self, int i, float value)"}, - { (char *)"delete_SbColor", _wrap_delete_SbColor, METH_VARARGS, (char *)"delete_SbColor(SbColor self)"}, - { (char *)"SbColor_swigregister", SbColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLazyElement_getClassTypeId", _wrap_SoLazyElement_getClassTypeId, METH_VARARGS, (char *)"SoLazyElement_getClassTypeId() -> SoType"}, - { (char *)"SoLazyElement_getClassStackIndex", _wrap_SoLazyElement_getClassStackIndex, METH_VARARGS, (char *)"SoLazyElement_getClassStackIndex() -> int"}, - { (char *)"SoLazyElement_createInstance", _wrap_SoLazyElement_createInstance, METH_VARARGS, (char *)"SoLazyElement_createInstance() -> void"}, - { (char *)"SoLazyElement_initClass", _wrap_SoLazyElement_initClass, METH_VARARGS, (char *)"SoLazyElement_initClass()"}, - { (char *)"SoLazyElement_init", _wrap_SoLazyElement_init, METH_VARARGS, (char *)"SoLazyElement_init(SoLazyElement self, SoState state)"}, - { (char *)"SoLazyElement_push", _wrap_SoLazyElement_push, METH_VARARGS, (char *)"SoLazyElement_push(SoLazyElement self, SoState state)"}, - { (char *)"SoLazyElement_matches", _wrap_SoLazyElement_matches, METH_VARARGS, (char *)"SoLazyElement_matches(SoLazyElement self, SoElement ?) -> SbBool"}, - { (char *)"SoLazyElement_copyMatchInfo", _wrap_SoLazyElement_copyMatchInfo, METH_VARARGS, (char *)"SoLazyElement_copyMatchInfo(SoLazyElement self) -> SoElement"}, - { (char *)"SoLazyElement_setDiffuse", _wrap_SoLazyElement_setDiffuse, METH_VARARGS, (char *)"\n" - "SoLazyElement_setDiffuse(SoState state, SoNode node, int32_t numcolors, SbColor colors, \n" - " SoColorPacker packer)\n" - ""}, - { (char *)"SoLazyElement_setTransparency", _wrap_SoLazyElement_setTransparency, METH_VARARGS, (char *)"\n" - "SoLazyElement_setTransparency(SoState state, SoNode node, int32_t numvalues, float transparency, \n" - " SoColorPacker packer)\n" - ""}, - { (char *)"SoLazyElement_setColorIndices", _wrap_SoLazyElement_setColorIndices, METH_VARARGS, (char *)"SoLazyElement_setColorIndices(SoState state, SoNode node, int32_t numindices, int32_t indices)"}, - { (char *)"SoLazyElement_setAmbient", _wrap_SoLazyElement_setAmbient, METH_VARARGS, (char *)"SoLazyElement_setAmbient(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setEmissive", _wrap_SoLazyElement_setEmissive, METH_VARARGS, (char *)"SoLazyElement_setEmissive(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setSpecular", _wrap_SoLazyElement_setSpecular, METH_VARARGS, (char *)"SoLazyElement_setSpecular(SoState state, SbColor color)"}, - { (char *)"SoLazyElement_setShininess", _wrap_SoLazyElement_setShininess, METH_VARARGS, (char *)"SoLazyElement_setShininess(SoState state, float value)"}, - { (char *)"SoLazyElement_setColorMaterial", _wrap_SoLazyElement_setColorMaterial, METH_VARARGS, (char *)"SoLazyElement_setColorMaterial(SoState state, SbBool value)"}, - { (char *)"SoLazyElement_enableBlending", _wrap_SoLazyElement_enableBlending, METH_VARARGS, (char *)"SoLazyElement_enableBlending(SoState state, int sfactor, int dfactor)"}, - { (char *)"SoLazyElement_disableBlending", _wrap_SoLazyElement_disableBlending, METH_VARARGS, (char *)"SoLazyElement_disableBlending(SoState state)"}, - { (char *)"SoLazyElement_setLightModel", _wrap_SoLazyElement_setLightModel, METH_VARARGS, (char *)"SoLazyElement_setLightModel(SoState state, int32_t model)"}, - { (char *)"SoLazyElement_setVertexOrdering", _wrap_SoLazyElement_setVertexOrdering, METH_VARARGS, (char *)"SoLazyElement_setVertexOrdering(SoState state, VertexOrdering ordering)"}, - { (char *)"SoLazyElement_setBackfaceCulling", _wrap_SoLazyElement_setBackfaceCulling, METH_VARARGS, (char *)"SoLazyElement_setBackfaceCulling(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_setTwosideLighting", _wrap_SoLazyElement_setTwosideLighting, METH_VARARGS, (char *)"SoLazyElement_setTwosideLighting(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_setShadeModel", _wrap_SoLazyElement_setShadeModel, METH_VARARGS, (char *)"SoLazyElement_setShadeModel(SoState state, SbBool flatshading)"}, - { (char *)"SoLazyElement_setGLImageId", _wrap_SoLazyElement_setGLImageId, METH_VARARGS, (char *)"SoLazyElement_setGLImageId(SoState state, uint32_t glimageid, SbBool alphatest)"}, - { (char *)"SoLazyElement_setAlphaTest", _wrap_SoLazyElement_setAlphaTest, METH_VARARGS, (char *)"SoLazyElement_setAlphaTest(SoState state, SbBool onoff)"}, - { (char *)"SoLazyElement_getDiffuse", _wrap_SoLazyElement_getDiffuse, METH_VARARGS, (char *)"SoLazyElement_getDiffuse(SoState state, int index) -> SbColor"}, - { (char *)"SoLazyElement_getTransparency", _wrap_SoLazyElement_getTransparency, METH_VARARGS, (char *)"SoLazyElement_getTransparency(SoState ?, int index) -> float"}, - { (char *)"SoLazyElement_getPackedColors", _wrap_SoLazyElement_getPackedColors, METH_VARARGS, (char *)"SoLazyElement_getPackedColors(SoState ?) -> uint32_t"}, - { (char *)"SoLazyElement_getColorIndices", _wrap_SoLazyElement_getColorIndices, METH_VARARGS, (char *)"SoLazyElement_getColorIndices(SoState ?) -> int32_t"}, - { (char *)"SoLazyElement_getColorIndex", _wrap_SoLazyElement_getColorIndex, METH_VARARGS, (char *)"SoLazyElement_getColorIndex(SoState ?, int num) -> int32_t"}, - { (char *)"SoLazyElement_getAmbient", _wrap_SoLazyElement_getAmbient, METH_VARARGS, (char *)"SoLazyElement_getAmbient(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getEmissive", _wrap_SoLazyElement_getEmissive, METH_VARARGS, (char *)"SoLazyElement_getEmissive(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getSpecular", _wrap_SoLazyElement_getSpecular, METH_VARARGS, (char *)"SoLazyElement_getSpecular(SoState ?) -> SbColor"}, - { (char *)"SoLazyElement_getShininess", _wrap_SoLazyElement_getShininess, METH_VARARGS, (char *)"SoLazyElement_getShininess(SoState ?) -> float"}, - { (char *)"SoLazyElement_getColorMaterial", _wrap_SoLazyElement_getColorMaterial, METH_VARARGS, (char *)"SoLazyElement_getColorMaterial(SoState ?) -> SbBool"}, - { (char *)"SoLazyElement_getBlending", _wrap_SoLazyElement_getBlending, METH_VARARGS, (char *)"SoLazyElement_getBlending(SoState ?, int sfactor, int dfactor) -> SbBool"}, - { (char *)"SoLazyElement_getLightModel", _wrap_SoLazyElement_getLightModel, METH_VARARGS, (char *)"SoLazyElement_getLightModel(SoState ?) -> int32_t"}, - { (char *)"SoLazyElement_getAlphaTest", _wrap_SoLazyElement_getAlphaTest, METH_VARARGS, (char *)"SoLazyElement_getAlphaTest(SoState state) -> SbBool"}, - { (char *)"SoLazyElement_getNumDiffuse", _wrap_SoLazyElement_getNumDiffuse, METH_VARARGS, (char *)"SoLazyElement_getNumDiffuse(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getNumTransparencies", _wrap_SoLazyElement_getNumTransparencies, METH_VARARGS, (char *)"SoLazyElement_getNumTransparencies(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getNumColorIndices", _wrap_SoLazyElement_getNumColorIndices, METH_VARARGS, (char *)"SoLazyElement_getNumColorIndices(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_isPacked", _wrap_SoLazyElement_isPacked, METH_VARARGS, (char *)"SoLazyElement_isPacked(SoLazyElement self) -> SbBool"}, - { (char *)"SoLazyElement_isTransparent", _wrap_SoLazyElement_isTransparent, METH_VARARGS, (char *)"SoLazyElement_isTransparent(SoLazyElement self) -> SbBool"}, - { (char *)"SoLazyElement_getInstance", _wrap_SoLazyElement_getInstance, METH_VARARGS, (char *)"SoLazyElement_getInstance(SoState state) -> SoLazyElement"}, - { (char *)"SoLazyElement_getDefaultAmbientIntensity", _wrap_SoLazyElement_getDefaultAmbientIntensity, METH_VARARGS, (char *)"SoLazyElement_getDefaultAmbientIntensity() -> float"}, - { (char *)"SoLazyElement_getDefaultDiffuse", _wrap_SoLazyElement_getDefaultDiffuse, METH_VARARGS, (char *)"SoLazyElement_getDefaultDiffuse() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultAmbient", _wrap_SoLazyElement_getDefaultAmbient, METH_VARARGS, (char *)"SoLazyElement_getDefaultAmbient() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultSpecular", _wrap_SoLazyElement_getDefaultSpecular, METH_VARARGS, (char *)"SoLazyElement_getDefaultSpecular() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultEmissive", _wrap_SoLazyElement_getDefaultEmissive, METH_VARARGS, (char *)"SoLazyElement_getDefaultEmissive() -> SbColor"}, - { (char *)"SoLazyElement_getDefaultShininess", _wrap_SoLazyElement_getDefaultShininess, METH_VARARGS, (char *)"SoLazyElement_getDefaultShininess() -> float"}, - { (char *)"SoLazyElement_getDefaultPacked", _wrap_SoLazyElement_getDefaultPacked, METH_VARARGS, (char *)"SoLazyElement_getDefaultPacked() -> uint32_t"}, - { (char *)"SoLazyElement_getDefaultTransparency", _wrap_SoLazyElement_getDefaultTransparency, METH_VARARGS, (char *)"SoLazyElement_getDefaultTransparency() -> float"}, - { (char *)"SoLazyElement_getDefaultLightModel", _wrap_SoLazyElement_getDefaultLightModel, METH_VARARGS, (char *)"SoLazyElement_getDefaultLightModel() -> int32_t"}, - { (char *)"SoLazyElement_getDefaultColorIndex", _wrap_SoLazyElement_getDefaultColorIndex, METH_VARARGS, (char *)"SoLazyElement_getDefaultColorIndex() -> int32_t"}, - { (char *)"SoLazyElement_setMaterials", _wrap_SoLazyElement_setMaterials, METH_VARARGS, (char *)"\n" - "SoLazyElement_setMaterials(SoState state, SoNode node, uint32_t bitmask, SoColorPacker cPacker, \n" - " SbColor diffuse, int numdiffuse, \n" - " float transp, int numtransp, SbColor ambient, \n" - " SbColor emissive, SbColor specular, float shininess, \n" - " SbBool istransparent)\n" - ""}, - { (char *)"SoLazyElement_getWInstance", _wrap_SoLazyElement_getWInstance, METH_VARARGS, (char *)"SoLazyElement_getWInstance(SoState state) -> SoLazyElement"}, - { (char *)"SoLazyElement_getPackedPointer", _wrap_SoLazyElement_getPackedPointer, METH_VARARGS, (char *)"SoLazyElement_getPackedPointer(SoLazyElement self) -> uint32_t"}, - { (char *)"SoLazyElement_getDiffusePointer", _wrap_SoLazyElement_getDiffusePointer, METH_VARARGS, (char *)"SoLazyElement_getDiffusePointer(SoLazyElement self) -> SbColor"}, - { (char *)"SoLazyElement_getColorIndexPointer", _wrap_SoLazyElement_getColorIndexPointer, METH_VARARGS, (char *)"SoLazyElement_getColorIndexPointer(SoLazyElement self) -> int32_t"}, - { (char *)"SoLazyElement_getTransparencyPointer", _wrap_SoLazyElement_getTransparencyPointer, METH_VARARGS, (char *)"SoLazyElement_getTransparencyPointer(SoLazyElement self) -> float"}, - { (char *)"SoLazyElement_setTransparencyType", _wrap_SoLazyElement_setTransparencyType, METH_VARARGS, (char *)"SoLazyElement_setTransparencyType(SoState state, int32_t type)"}, - { (char *)"SoLazyElement_swigregister", SoLazyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoColorPacker", _wrap_new_SoColorPacker, METH_VARARGS, (char *)"new_SoColorPacker() -> SoColorPacker"}, - { (char *)"delete_SoColorPacker", _wrap_delete_SoColorPacker, METH_VARARGS, (char *)"delete_SoColorPacker(SoColorPacker self)"}, - { (char *)"SoColorPacker_getPackedColors", _wrap_SoColorPacker_getPackedColors, METH_VARARGS, (char *)"SoColorPacker_getPackedColors(SoColorPacker self) -> uint32_t"}, - { (char *)"SoColorPacker_diffuseMatch", _wrap_SoColorPacker_diffuseMatch, METH_VARARGS, (char *)"SoColorPacker_diffuseMatch(SoColorPacker self, uint32_t nodeid) -> SbBool"}, - { (char *)"SoColorPacker_transpMatch", _wrap_SoColorPacker_transpMatch, METH_VARARGS, (char *)"SoColorPacker_transpMatch(SoColorPacker self, uint32_t nodeid) -> SbBool"}, - { (char *)"SoColorPacker_setNodeIds", _wrap_SoColorPacker_setNodeIds, METH_VARARGS, (char *)"SoColorPacker_setNodeIds(SoColorPacker self, uint32_t diffuse, uint32_t transp)"}, - { (char *)"SoColorPacker_getSize", _wrap_SoColorPacker_getSize, METH_VARARGS, (char *)"SoColorPacker_getSize(SoColorPacker self) -> int32_t"}, - { (char *)"SoColorPacker_reallocate", _wrap_SoColorPacker_reallocate, METH_VARARGS, (char *)"SoColorPacker_reallocate(SoColorPacker self, int32_t size)"}, - { (char *)"SoColorPacker_swigregister", SoColorPacker_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightModel_getClassTypeId", _wrap_SoLightModel_getClassTypeId, METH_VARARGS, (char *)"SoLightModel_getClassTypeId() -> SoType"}, - { (char *)"SoLightModel_getTypeId", _wrap_SoLightModel_getTypeId, METH_VARARGS, (char *)"SoLightModel_getTypeId(SoLightModel self) -> SoType"}, - { (char *)"SoLightModel_initClass", _wrap_SoLightModel_initClass, METH_VARARGS, (char *)"SoLightModel_initClass()"}, - { (char *)"new_SoLightModel", _wrap_new_SoLightModel, METH_VARARGS, (char *)"new_SoLightModel() -> SoLightModel"}, - { (char *)"SoLightModel_model_set", _wrap_SoLightModel_model_set, METH_VARARGS, (char *)"SoLightModel_model_set(SoLightModel self, SoSFEnum model)"}, - { (char *)"SoLightModel_model_get", _wrap_SoLightModel_model_get, METH_VARARGS, (char *)"SoLightModel_model_get(SoLightModel self) -> SoSFEnum"}, - { (char *)"SoLightModel_doAction", _wrap_SoLightModel_doAction, METH_VARARGS, (char *)"SoLightModel_doAction(SoLightModel self, SoAction action)"}, - { (char *)"SoLightModel_GLRender", _wrap_SoLightModel_GLRender, METH_VARARGS, (char *)"SoLightModel_GLRender(SoLightModel self, SoGLRenderAction action)"}, - { (char *)"SoLightModel_callback", _wrap_SoLightModel_callback, METH_VARARGS, (char *)"SoLightModel_callback(SoLightModel self, SoCallbackAction action)"}, - { (char *)"SoLightModel_swigregister", SoLightModel_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterialBindingElement_getClassTypeId", _wrap_SoMaterialBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoMaterialBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoMaterialBindingElement_getClassStackIndex", _wrap_SoMaterialBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoMaterialBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoMaterialBindingElement_createInstance", _wrap_SoMaterialBindingElement_createInstance, METH_VARARGS, (char *)"SoMaterialBindingElement_createInstance() -> void"}, - { (char *)"SoMaterialBindingElement_initClass", _wrap_SoMaterialBindingElement_initClass, METH_VARARGS, (char *)"SoMaterialBindingElement_initClass()"}, - { (char *)"SoMaterialBindingElement_init", _wrap_SoMaterialBindingElement_init, METH_VARARGS, (char *)"SoMaterialBindingElement_init(SoMaterialBindingElement self, SoState state)"}, - { (char *)"SoMaterialBindingElement_set", _wrap_SoMaterialBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoMaterialBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoMaterialBindingElement_get", _wrap_SoMaterialBindingElement_get, METH_VARARGS, (char *)"SoMaterialBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoMaterialBindingElement_getDefault", _wrap_SoMaterialBindingElement_getDefault, METH_VARARGS, (char *)"SoMaterialBindingElement_getDefault() -> Binding"}, - { (char *)"SoMaterialBindingElement_swigregister", SoMaterialBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterialBinding_getClassTypeId", _wrap_SoMaterialBinding_getClassTypeId, METH_VARARGS, (char *)"SoMaterialBinding_getClassTypeId() -> SoType"}, - { (char *)"SoMaterialBinding_getTypeId", _wrap_SoMaterialBinding_getTypeId, METH_VARARGS, (char *)"SoMaterialBinding_getTypeId(SoMaterialBinding self) -> SoType"}, - { (char *)"SoMaterialBinding_initClass", _wrap_SoMaterialBinding_initClass, METH_VARARGS, (char *)"SoMaterialBinding_initClass()"}, - { (char *)"new_SoMaterialBinding", _wrap_new_SoMaterialBinding, METH_VARARGS, (char *)"new_SoMaterialBinding() -> SoMaterialBinding"}, - { (char *)"SoMaterialBinding_value_set", _wrap_SoMaterialBinding_value_set, METH_VARARGS, (char *)"SoMaterialBinding_value_set(SoMaterialBinding self, SoSFEnum value)"}, - { (char *)"SoMaterialBinding_value_get", _wrap_SoMaterialBinding_value_get, METH_VARARGS, (char *)"SoMaterialBinding_value_get(SoMaterialBinding self) -> SoSFEnum"}, - { (char *)"SoMaterialBinding_doAction", _wrap_SoMaterialBinding_doAction, METH_VARARGS, (char *)"SoMaterialBinding_doAction(SoMaterialBinding self, SoAction action)"}, - { (char *)"SoMaterialBinding_GLRender", _wrap_SoMaterialBinding_GLRender, METH_VARARGS, (char *)"SoMaterialBinding_GLRender(SoMaterialBinding self, SoGLRenderAction action)"}, - { (char *)"SoMaterialBinding_callback", _wrap_SoMaterialBinding_callback, METH_VARARGS, (char *)"SoMaterialBinding_callback(SoMaterialBinding self, SoCallbackAction action)"}, - { (char *)"SoMaterialBinding_pick", _wrap_SoMaterialBinding_pick, METH_VARARGS, (char *)"SoMaterialBinding_pick(SoMaterialBinding self, SoPickAction action)"}, - { (char *)"SoMaterialBinding_getPrimitiveCount", _wrap_SoMaterialBinding_getPrimitiveCount, METH_VARARGS, (char *)"SoMaterialBinding_getPrimitiveCount(SoMaterialBinding self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMaterialBinding_swigregister", SoMaterialBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBindingElement_getClassTypeId", _wrap_SoNormalBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoNormalBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoNormalBindingElement_getClassStackIndex", _wrap_SoNormalBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoNormalBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoNormalBindingElement_createInstance", _wrap_SoNormalBindingElement_createInstance, METH_VARARGS, (char *)"SoNormalBindingElement_createInstance() -> void"}, - { (char *)"SoNormalBindingElement_initClass", _wrap_SoNormalBindingElement_initClass, METH_VARARGS, (char *)"SoNormalBindingElement_initClass()"}, - { (char *)"SoNormalBindingElement_init", _wrap_SoNormalBindingElement_init, METH_VARARGS, (char *)"SoNormalBindingElement_init(SoNormalBindingElement self, SoState state)"}, - { (char *)"SoNormalBindingElement_set", _wrap_SoNormalBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoNormalBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoNormalBindingElement_get", _wrap_SoNormalBindingElement_get, METH_VARARGS, (char *)"SoNormalBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoNormalBindingElement_getDefault", _wrap_SoNormalBindingElement_getDefault, METH_VARARGS, (char *)"SoNormalBindingElement_getDefault() -> Binding"}, - { (char *)"SoNormalBindingElement_swigregister", SoNormalBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBinding_getClassTypeId", _wrap_SoNormalBinding_getClassTypeId, METH_VARARGS, (char *)"SoNormalBinding_getClassTypeId() -> SoType"}, - { (char *)"SoNormalBinding_getTypeId", _wrap_SoNormalBinding_getTypeId, METH_VARARGS, (char *)"SoNormalBinding_getTypeId(SoNormalBinding self) -> SoType"}, - { (char *)"SoNormalBinding_initClass", _wrap_SoNormalBinding_initClass, METH_VARARGS, (char *)"SoNormalBinding_initClass()"}, - { (char *)"new_SoNormalBinding", _wrap_new_SoNormalBinding, METH_VARARGS, (char *)"new_SoNormalBinding() -> SoNormalBinding"}, - { (char *)"SoNormalBinding_value_set", _wrap_SoNormalBinding_value_set, METH_VARARGS, (char *)"SoNormalBinding_value_set(SoNormalBinding self, SoSFEnum value)"}, - { (char *)"SoNormalBinding_value_get", _wrap_SoNormalBinding_value_get, METH_VARARGS, (char *)"SoNormalBinding_value_get(SoNormalBinding self) -> SoSFEnum"}, - { (char *)"SoNormalBinding_doAction", _wrap_SoNormalBinding_doAction, METH_VARARGS, (char *)"SoNormalBinding_doAction(SoNormalBinding self, SoAction action)"}, - { (char *)"SoNormalBinding_GLRender", _wrap_SoNormalBinding_GLRender, METH_VARARGS, (char *)"SoNormalBinding_GLRender(SoNormalBinding self, SoGLRenderAction action)"}, - { (char *)"SoNormalBinding_callback", _wrap_SoNormalBinding_callback, METH_VARARGS, (char *)"SoNormalBinding_callback(SoNormalBinding self, SoCallbackAction action)"}, - { (char *)"SoNormalBinding_pick", _wrap_SoNormalBinding_pick, METH_VARARGS, (char *)"SoNormalBinding_pick(SoNormalBinding self, SoPickAction action)"}, - { (char *)"SoNormalBinding_getPrimitiveCount", _wrap_SoNormalBinding_getPrimitiveCount, METH_VARARGS, (char *)"SoNormalBinding_getPrimitiveCount(SoNormalBinding self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNormalBinding_swigregister", SoNormalBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickStyleElement_getClassTypeId", _wrap_SoPickStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoPickStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoPickStyleElement_getClassStackIndex", _wrap_SoPickStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoPickStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoPickStyleElement_createInstance", _wrap_SoPickStyleElement_createInstance, METH_VARARGS, (char *)"SoPickStyleElement_createInstance() -> void"}, - { (char *)"SoPickStyleElement_initClass", _wrap_SoPickStyleElement_initClass, METH_VARARGS, (char *)"SoPickStyleElement_initClass()"}, - { (char *)"SoPickStyleElement_init", _wrap_SoPickStyleElement_init, METH_VARARGS, (char *)"SoPickStyleElement_init(SoPickStyleElement self, SoState state)"}, - { (char *)"SoPickStyleElement_set", _wrap_SoPickStyleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t style)\n" - "SoPickStyleElement_set(SoState state, Style style)\n" - ""}, - { (char *)"SoPickStyleElement_get", _wrap_SoPickStyleElement_get, METH_VARARGS, (char *)"SoPickStyleElement_get(SoState state) -> Style"}, - { (char *)"SoPickStyleElement_getDefault", _wrap_SoPickStyleElement_getDefault, METH_VARARGS, (char *)"SoPickStyleElement_getDefault() -> Style"}, - { (char *)"SoPickStyleElement_swigregister", SoPickStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickStyle_getClassTypeId", _wrap_SoPickStyle_getClassTypeId, METH_VARARGS, (char *)"SoPickStyle_getClassTypeId() -> SoType"}, - { (char *)"SoPickStyle_getTypeId", _wrap_SoPickStyle_getTypeId, METH_VARARGS, (char *)"SoPickStyle_getTypeId(SoPickStyle self) -> SoType"}, - { (char *)"SoPickStyle_initClass", _wrap_SoPickStyle_initClass, METH_VARARGS, (char *)"SoPickStyle_initClass()"}, - { (char *)"new_SoPickStyle", _wrap_new_SoPickStyle, METH_VARARGS, (char *)"new_SoPickStyle() -> SoPickStyle"}, - { (char *)"SoPickStyle_style_set", _wrap_SoPickStyle_style_set, METH_VARARGS, (char *)"SoPickStyle_style_set(SoPickStyle self, SoSFEnum style)"}, - { (char *)"SoPickStyle_style_get", _wrap_SoPickStyle_style_get, METH_VARARGS, (char *)"SoPickStyle_style_get(SoPickStyle self) -> SoSFEnum"}, - { (char *)"SoPickStyle_doAction", _wrap_SoPickStyle_doAction, METH_VARARGS, (char *)"SoPickStyle_doAction(SoPickStyle self, SoAction action)"}, - { (char *)"SoPickStyle_callback", _wrap_SoPickStyle_callback, METH_VARARGS, (char *)"SoPickStyle_callback(SoPickStyle self, SoCallbackAction action)"}, - { (char *)"SoPickStyle_pick", _wrap_SoPickStyle_pick, METH_VARARGS, (char *)"SoPickStyle_pick(SoPickStyle self, SoPickAction action)"}, - { (char *)"SoPickStyle_swigregister", SoPickStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeHintsElement_getClassTypeId", _wrap_SoShapeHintsElement_getClassTypeId, METH_VARARGS, (char *)"SoShapeHintsElement_getClassTypeId() -> SoType"}, - { (char *)"SoShapeHintsElement_getClassStackIndex", _wrap_SoShapeHintsElement_getClassStackIndex, METH_VARARGS, (char *)"SoShapeHintsElement_getClassStackIndex() -> int"}, - { (char *)"SoShapeHintsElement_createInstance", _wrap_SoShapeHintsElement_createInstance, METH_VARARGS, (char *)"SoShapeHintsElement_createInstance() -> void"}, - { (char *)"SoShapeHintsElement_initClass", _wrap_SoShapeHintsElement_initClass, METH_VARARGS, (char *)"SoShapeHintsElement_initClass()"}, - { (char *)"SoShapeHintsElement_init", _wrap_SoShapeHintsElement_init, METH_VARARGS, (char *)"SoShapeHintsElement_init(SoShapeHintsElement self, SoState state)"}, - { (char *)"SoShapeHintsElement_push", _wrap_SoShapeHintsElement_push, METH_VARARGS, (char *)"SoShapeHintsElement_push(SoShapeHintsElement self, SoState state)"}, - { (char *)"SoShapeHintsElement_pop", _wrap_SoShapeHintsElement_pop, METH_VARARGS, (char *)"SoShapeHintsElement_pop(SoShapeHintsElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoShapeHintsElement_matches", _wrap_SoShapeHintsElement_matches, METH_VARARGS, (char *)"SoShapeHintsElement_matches(SoShapeHintsElement self, SoElement element) -> SbBool"}, - { (char *)"SoShapeHintsElement_copyMatchInfo", _wrap_SoShapeHintsElement_copyMatchInfo, METH_VARARGS, (char *)"SoShapeHintsElement_copyMatchInfo(SoShapeHintsElement self) -> SoElement"}, - { (char *)"SoShapeHintsElement_set", _wrap_SoShapeHintsElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, VertexOrdering vertexOrdering, \n" - " ShapeType shapeType, FaceType faceType)\n" - "SoShapeHintsElement_set(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, \n" - " FaceType faceType)\n" - ""}, - { (char *)"SoShapeHintsElement_get", _wrap_SoShapeHintsElement_get, METH_VARARGS, (char *)"\n" - "SoShapeHintsElement_get(SoState state, VertexOrdering vertexOrdering, ShapeType shapeType, \n" - " FaceType faceType)\n" - ""}, - { (char *)"SoShapeHintsElement_getVertexOrdering", _wrap_SoShapeHintsElement_getVertexOrdering, METH_VARARGS, (char *)"SoShapeHintsElement_getVertexOrdering(SoState state) -> VertexOrdering"}, - { (char *)"SoShapeHintsElement_getShapeType", _wrap_SoShapeHintsElement_getShapeType, METH_VARARGS, (char *)"SoShapeHintsElement_getShapeType(SoState state) -> ShapeType"}, - { (char *)"SoShapeHintsElement_getFaceType", _wrap_SoShapeHintsElement_getFaceType, METH_VARARGS, (char *)"SoShapeHintsElement_getFaceType(SoState state) -> FaceType"}, - { (char *)"SoShapeHintsElement_getDefaultVertexOrdering", _wrap_SoShapeHintsElement_getDefaultVertexOrdering, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultVertexOrdering() -> VertexOrdering"}, - { (char *)"SoShapeHintsElement_getDefaultShapeType", _wrap_SoShapeHintsElement_getDefaultShapeType, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultShapeType() -> ShapeType"}, - { (char *)"SoShapeHintsElement_getDefaultFaceType", _wrap_SoShapeHintsElement_getDefaultFaceType, METH_VARARGS, (char *)"SoShapeHintsElement_getDefaultFaceType() -> FaceType"}, - { (char *)"SoShapeHintsElement_output", _wrap_SoShapeHintsElement_output, METH_VARARGS, (char *)"SoShapeHintsElement_output(SoShapeHintsElement self, FILE file)"}, - { (char *)"SoShapeHintsElement_swigregister", SoShapeHintsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeHints_getClassTypeId", _wrap_SoShapeHints_getClassTypeId, METH_VARARGS, (char *)"SoShapeHints_getClassTypeId() -> SoType"}, - { (char *)"SoShapeHints_getTypeId", _wrap_SoShapeHints_getTypeId, METH_VARARGS, (char *)"SoShapeHints_getTypeId(SoShapeHints self) -> SoType"}, - { (char *)"SoShapeHints_initClass", _wrap_SoShapeHints_initClass, METH_VARARGS, (char *)"SoShapeHints_initClass()"}, - { (char *)"new_SoShapeHints", _wrap_new_SoShapeHints, METH_VARARGS, (char *)"new_SoShapeHints() -> SoShapeHints"}, - { (char *)"SoShapeHints_vertexOrdering_set", _wrap_SoShapeHints_vertexOrdering_set, METH_VARARGS, (char *)"SoShapeHints_vertexOrdering_set(SoShapeHints self, SoSFEnum vertexOrdering)"}, - { (char *)"SoShapeHints_vertexOrdering_get", _wrap_SoShapeHints_vertexOrdering_get, METH_VARARGS, (char *)"SoShapeHints_vertexOrdering_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_shapeType_set", _wrap_SoShapeHints_shapeType_set, METH_VARARGS, (char *)"SoShapeHints_shapeType_set(SoShapeHints self, SoSFEnum shapeType)"}, - { (char *)"SoShapeHints_shapeType_get", _wrap_SoShapeHints_shapeType_get, METH_VARARGS, (char *)"SoShapeHints_shapeType_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_faceType_set", _wrap_SoShapeHints_faceType_set, METH_VARARGS, (char *)"SoShapeHints_faceType_set(SoShapeHints self, SoSFEnum faceType)"}, - { (char *)"SoShapeHints_faceType_get", _wrap_SoShapeHints_faceType_get, METH_VARARGS, (char *)"SoShapeHints_faceType_get(SoShapeHints self) -> SoSFEnum"}, - { (char *)"SoShapeHints_creaseAngle_set", _wrap_SoShapeHints_creaseAngle_set, METH_VARARGS, (char *)"SoShapeHints_creaseAngle_set(SoShapeHints self, SoSFFloat creaseAngle)"}, - { (char *)"SoShapeHints_creaseAngle_get", _wrap_SoShapeHints_creaseAngle_get, METH_VARARGS, (char *)"SoShapeHints_creaseAngle_get(SoShapeHints self) -> SoSFFloat"}, - { (char *)"SoShapeHints_doAction", _wrap_SoShapeHints_doAction, METH_VARARGS, (char *)"SoShapeHints_doAction(SoShapeHints self, SoAction action)"}, - { (char *)"SoShapeHints_GLRender", _wrap_SoShapeHints_GLRender, METH_VARARGS, (char *)"SoShapeHints_GLRender(SoShapeHints self, SoGLRenderAction action)"}, - { (char *)"SoShapeHints_callback", _wrap_SoShapeHints_callback, METH_VARARGS, (char *)"SoShapeHints_callback(SoShapeHints self, SoCallbackAction action)"}, - { (char *)"SoShapeHints_getBoundingBox", _wrap_SoShapeHints_getBoundingBox, METH_VARARGS, (char *)"SoShapeHints_getBoundingBox(SoShapeHints self, SoGetBoundingBoxAction action)"}, - { (char *)"SoShapeHints_pick", _wrap_SoShapeHints_pick, METH_VARARGS, (char *)"SoShapeHints_pick(SoShapeHints self, SoPickAction action)"}, - { (char *)"SoShapeHints_swigregister", SoShapeHints_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFImage", _wrap_new_SoSFImage, METH_VARARGS, (char *)"new_SoSFImage() -> SoSFImage"}, - { (char *)"delete_SoSFImage", _wrap_delete_SoSFImage, METH_VARARGS, (char *)"delete_SoSFImage(SoSFImage self)"}, - { (char *)"SoSFImage_createInstance", _wrap_SoSFImage_createInstance, METH_VARARGS, (char *)"SoSFImage_createInstance() -> void"}, - { (char *)"SoSFImage_getClassTypeId", _wrap_SoSFImage_getClassTypeId, METH_VARARGS, (char *)"SoSFImage_getClassTypeId() -> SoType"}, - { (char *)"SoSFImage_getTypeId", _wrap_SoSFImage_getTypeId, METH_VARARGS, (char *)"SoSFImage_getTypeId(SoSFImage self) -> SoType"}, - { (char *)"SoSFImage_copyFrom", _wrap_SoSFImage_copyFrom, METH_VARARGS, (char *)"SoSFImage_copyFrom(SoSFImage self, SoField field)"}, - { (char *)"SoSFImage_isSame", _wrap_SoSFImage_isSame, METH_VARARGS, (char *)"SoSFImage_isSame(SoSFImage self, SoField field) -> SbBool"}, - { (char *)"SoSFImage_initClass", _wrap_SoSFImage_initClass, METH_VARARGS, (char *)"SoSFImage_initClass()"}, - { (char *)"SoSFImage_getValue", _wrap_SoSFImage_getValue, METH_VARARGS, (char *)"SoSFImage_getValue(SoSFImage self, SbVec2s size) -> unsigned char"}, - { (char *)"SoSFImage___eq__", _wrap_SoSFImage___eq__, METH_VARARGS, (char *)"SoSFImage___eq__(SoSFImage self, SoSFImage field) -> int"}, - { (char *)"SoSFImage___ne__", _wrap_SoSFImage___ne__, METH_VARARGS, (char *)"SoSFImage___ne__(SoSFImage self, SoSFImage field) -> int"}, - { (char *)"SoSFImage_startEditing", _wrap_SoSFImage_startEditing, METH_VARARGS, (char *)"SoSFImage_startEditing(SoSFImage self, SbVec2s size) -> unsigned char"}, - { (char *)"SoSFImage_finishEditing", _wrap_SoSFImage_finishEditing, METH_VARARGS, (char *)"SoSFImage_finishEditing(SoSFImage self)"}, - { (char *)"SoSFImage_setSubValue", _wrap_SoSFImage_setSubValue, METH_VARARGS, (char *)"SoSFImage_setSubValue(SoSFImage self, SbVec2s dims, SbVec2s offset, unsigned char pixels)"}, - { (char *)"SoSFImage_setSubValues", _wrap_SoSFImage_setSubValues, METH_VARARGS, (char *)"\n" - "SoSFImage_setSubValues(SoSFImage self, SbVec2s dims, SbVec2s offsets, int num, \n" - " unsigned char pixelblocks)\n" - ""}, - { (char *)"SoSFImage_getSubTexture", _wrap_SoSFImage_getSubTexture, METH_VARARGS, (char *)"SoSFImage_getSubTexture(SoSFImage self, int idx, SbVec2s dims, SbVec2s offset) -> unsigned char"}, - { (char *)"SoSFImage_hasSubTextures", _wrap_SoSFImage_hasSubTextures, METH_VARARGS, (char *)"SoSFImage_hasSubTextures(SoSFImage self, int numsubtextures) -> SbBool"}, - { (char *)"SoSFImage_setNeverWrite", _wrap_SoSFImage_setNeverWrite, METH_VARARGS, (char *)"SoSFImage_setNeverWrite(SoSFImage self, SbBool flag)"}, - { (char *)"SoSFImage_isNeverWrite", _wrap_SoSFImage_isNeverWrite, METH_VARARGS, (char *)"SoSFImage_isNeverWrite(SoSFImage self) -> SbBool"}, - { (char *)"SoSFImage_hasTransparency", _wrap_SoSFImage_hasTransparency, METH_VARARGS, (char *)"SoSFImage_hasTransparency(SoSFImage self) -> SbBool"}, - { (char *)"SoSFImage_setValue", _wrap_SoSFImage_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s size, int nc, unsigned char pixels, CopyPolicy copypolicy=COPY)\n" - "setValue(SbVec2s size, int nc, unsigned char pixels)\n" - "setValue(SbVec2s size, int nc, PyObject pixels)\n" - "SoSFImage_setValue(SoSFImage self, SoSFImage other)\n" - ""}, - { (char *)"SoSFImage_swigregister", SoSFImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFString", _wrap_new_SoSFString, METH_VARARGS, (char *)"new_SoSFString() -> SoSFString"}, - { (char *)"delete_SoSFString", _wrap_delete_SoSFString, METH_VARARGS, (char *)"delete_SoSFString(SoSFString self)"}, - { (char *)"SoSFString_createInstance", _wrap_SoSFString_createInstance, METH_VARARGS, (char *)"SoSFString_createInstance() -> void"}, - { (char *)"SoSFString_getClassTypeId", _wrap_SoSFString_getClassTypeId, METH_VARARGS, (char *)"SoSFString_getClassTypeId() -> SoType"}, - { (char *)"SoSFString_getTypeId", _wrap_SoSFString_getTypeId, METH_VARARGS, (char *)"SoSFString_getTypeId(SoSFString self) -> SoType"}, - { (char *)"SoSFString_copyFrom", _wrap_SoSFString_copyFrom, METH_VARARGS, (char *)"SoSFString_copyFrom(SoSFString self, SoField field)"}, - { (char *)"SoSFString_isSame", _wrap_SoSFString_isSame, METH_VARARGS, (char *)"SoSFString_isSame(SoSFString self, SoField field) -> SbBool"}, - { (char *)"SoSFString_getValue", _wrap_SoSFString_getValue, METH_VARARGS, (char *)"SoSFString_getValue(SoSFString self) -> SbString"}, - { (char *)"SoSFString___eq__", _wrap_SoSFString___eq__, METH_VARARGS, (char *)"SoSFString___eq__(SoSFString self, SoSFString field) -> int"}, - { (char *)"SoSFString___ne__", _wrap_SoSFString___ne__, METH_VARARGS, (char *)"SoSFString___ne__(SoSFString self, SoSFString field) -> int"}, - { (char *)"SoSFString_initClass", _wrap_SoSFString_initClass, METH_VARARGS, (char *)"SoSFString_initClass()"}, - { (char *)"SoSFString_setValue", _wrap_SoSFString_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbString newvalue)\n" - "setValue(char str)\n" - "SoSFString_setValue(SoSFString self, SoSFString other)\n" - ""}, - { (char *)"SoSFString_swigregister", SoSFString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFColor", _wrap_new_SoSFColor, METH_VARARGS, (char *)"new_SoSFColor() -> SoSFColor"}, - { (char *)"delete_SoSFColor", _wrap_delete_SoSFColor, METH_VARARGS, (char *)"delete_SoSFColor(SoSFColor self)"}, - { (char *)"SoSFColor_createInstance", _wrap_SoSFColor_createInstance, METH_VARARGS, (char *)"SoSFColor_createInstance() -> void"}, - { (char *)"SoSFColor_getClassTypeId", _wrap_SoSFColor_getClassTypeId, METH_VARARGS, (char *)"SoSFColor_getClassTypeId() -> SoType"}, - { (char *)"SoSFColor_getTypeId", _wrap_SoSFColor_getTypeId, METH_VARARGS, (char *)"SoSFColor_getTypeId(SoSFColor self) -> SoType"}, - { (char *)"SoSFColor_copyFrom", _wrap_SoSFColor_copyFrom, METH_VARARGS, (char *)"SoSFColor_copyFrom(SoSFColor self, SoField field)"}, - { (char *)"SoSFColor_isSame", _wrap_SoSFColor_isSame, METH_VARARGS, (char *)"SoSFColor_isSame(SoSFColor self, SoField field) -> SbBool"}, - { (char *)"SoSFColor_getValue", _wrap_SoSFColor_getValue, METH_VARARGS, (char *)"SoSFColor_getValue(SoSFColor self) -> SbColor"}, - { (char *)"SoSFColor___eq__", _wrap_SoSFColor___eq__, METH_VARARGS, (char *)"SoSFColor___eq__(SoSFColor self, SoSFColor field) -> int"}, - { (char *)"SoSFColor___ne__", _wrap_SoSFColor___ne__, METH_VARARGS, (char *)"SoSFColor___ne__(SoSFColor self, SoSFColor field) -> int"}, - { (char *)"SoSFColor_initClass", _wrap_SoSFColor_initClass, METH_VARARGS, (char *)"SoSFColor_initClass()"}, - { (char *)"SoSFColor_setHSVValue", _wrap_SoSFColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v)\n" - "SoSFColor_setHSVValue(SoSFColor self, float hsv)\n" - ""}, - { (char *)"SoSFColor_setValue", _wrap_SoSFColor_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor newvalue)\n" - "setValue(SbVec3f vec)\n" - "setValue(float red, float green, float blue)\n" - "setValue(float rgb)\n" - "SoSFColor_setValue(SoSFColor self, SoSFColor other)\n" - ""}, - { (char *)"SoSFColor_swigregister", SoSFColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoReplacedElement_getClassTypeId", _wrap_SoReplacedElement_getClassTypeId, METH_VARARGS, (char *)"SoReplacedElement_getClassTypeId() -> SoType"}, - { (char *)"SoReplacedElement_getClassStackIndex", _wrap_SoReplacedElement_getClassStackIndex, METH_VARARGS, (char *)"SoReplacedElement_getClassStackIndex() -> int"}, - { (char *)"SoReplacedElement_initClass", _wrap_SoReplacedElement_initClass, METH_VARARGS, (char *)"SoReplacedElement_initClass()"}, - { (char *)"SoReplacedElement_init", _wrap_SoReplacedElement_init, METH_VARARGS, (char *)"SoReplacedElement_init(SoReplacedElement self, SoState state)"}, - { (char *)"SoReplacedElement_matches", _wrap_SoReplacedElement_matches, METH_VARARGS, (char *)"SoReplacedElement_matches(SoReplacedElement self, SoElement element) -> SbBool"}, - { (char *)"SoReplacedElement_copyMatchInfo", _wrap_SoReplacedElement_copyMatchInfo, METH_VARARGS, (char *)"SoReplacedElement_copyMatchInfo(SoReplacedElement self) -> SoElement"}, - { (char *)"SoReplacedElement_getNodeId", _wrap_SoReplacedElement_getNodeId, METH_VARARGS, (char *)"SoReplacedElement_getNodeId(SoReplacedElement self) -> uint32_t"}, - { (char *)"SoReplacedElement_output", _wrap_SoReplacedElement_output, METH_VARARGS, (char *)"SoReplacedElement_output(SoReplacedElement self, FILE file)"}, - { (char *)"SoReplacedElement_swigregister", SoReplacedElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3s", _wrap_new_SbVec3s, METH_VARARGS, (char *)"\n" - "SbVec3s()\n" - "SbVec3s(short v)\n" - "new_SbVec3s(short x, short y, short z) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s_dot", _wrap_SbVec3s_dot, METH_VARARGS, (char *)"SbVec3s_dot(SbVec3s self, SbVec3s v) -> int32_t"}, - { (char *)"SbVec3s_getValue", _wrap_SbVec3s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> short\n" - "SbVec3s_getValue(SbVec3s self, short x, short y, short z)\n" - ""}, - { (char *)"SbVec3s_negate", _wrap_SbVec3s_negate, METH_VARARGS, (char *)"SbVec3s_negate(SbVec3s self)"}, - { (char *)"SbVec3s_setValue", _wrap_SbVec3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(short v) -> SbVec3s\n" - "SbVec3s_setValue(SbVec3s self, short x, short y, short z) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s___imul__", _wrap_SbVec3s___imul__, METH_VARARGS, (char *)"\n" - "__imul__(int d) -> SbVec3s\n" - "SbVec3s___imul__(SbVec3s self, double d) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s___idiv__", _wrap_SbVec3s___idiv__, METH_VARARGS, (char *)"\n" - "__idiv__(int d) -> SbVec3s\n" - "SbVec3s___idiv__(SbVec3s self, double d) -> SbVec3s\n" - ""}, - { (char *)"SbVec3s___iadd__", _wrap_SbVec3s___iadd__, METH_VARARGS, (char *)"SbVec3s___iadd__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___isub__", _wrap_SbVec3s___isub__, METH_VARARGS, (char *)"SbVec3s___isub__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___neg__", _wrap_SbVec3s___neg__, METH_VARARGS, (char *)"SbVec3s___neg__(SbVec3s self) -> SbVec3s"}, - { (char *)"SbVec3s_output", _wrap_SbVec3s_output, METH_VARARGS, (char *)"SbVec3s_output(SbVec3s self, FILE fp)"}, - { (char *)"SbVec3s___add__", _wrap_SbVec3s___add__, METH_VARARGS, (char *)"SbVec3s___add__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___sub__", _wrap_SbVec3s___sub__, METH_VARARGS, (char *)"SbVec3s___sub__(SbVec3s self, SbVec3s u) -> SbVec3s"}, - { (char *)"SbVec3s___mul__", _wrap_SbVec3s___mul__, METH_VARARGS, (char *)"SbVec3s___mul__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___rmul__", _wrap_SbVec3s___rmul__, METH_VARARGS, (char *)"SbVec3s___rmul__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___div__", _wrap_SbVec3s___div__, METH_VARARGS, (char *)"SbVec3s___div__(SbVec3s self, double d) -> SbVec3s"}, - { (char *)"SbVec3s___eq__", _wrap_SbVec3s___eq__, METH_VARARGS, (char *)"SbVec3s___eq__(SbVec3s self, SbVec3s u) -> int"}, - { (char *)"SbVec3s___nq__", _wrap_SbVec3s___nq__, METH_VARARGS, (char *)"SbVec3s___nq__(SbVec3s self, SbVec3s u) -> int"}, - { (char *)"SbVec3s___getitem__", _wrap_SbVec3s___getitem__, METH_VARARGS, (char *)"SbVec3s___getitem__(SbVec3s self, int i) -> short"}, - { (char *)"SbVec3s___setitem__", _wrap_SbVec3s___setitem__, METH_VARARGS, (char *)"SbVec3s___setitem__(SbVec3s self, int i, short value)"}, - { (char *)"delete_SbVec3s", _wrap_delete_SbVec3s, METH_VARARGS, (char *)"delete_SbVec3s(SbVec3s self)"}, - { (char *)"SbVec3s_swigregister", SbVec3s_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureImageElement_getClassTypeId", _wrap_SoTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureImageElement_getClassStackIndex", _wrap_SoTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureImageElement_createInstance", _wrap_SoTextureImageElement_createInstance, METH_VARARGS, (char *)"SoTextureImageElement_createInstance() -> void"}, - { (char *)"SoTextureImageElement_initClass", _wrap_SoTextureImageElement_initClass, METH_VARARGS, (char *)"SoTextureImageElement_initClass()"}, - { (char *)"SoTextureImageElement_init", _wrap_SoTextureImageElement_init, METH_VARARGS, (char *)"SoTextureImageElement_init(SoTextureImageElement self, SoState state)"}, - { (char *)"SoTextureImageElement_setDefault", _wrap_SoTextureImageElement_setDefault, METH_VARARGS, (char *)"SoTextureImageElement_setDefault(SoState state, SoNode node)"}, - { (char *)"SoTextureImageElement_set", _wrap_SoTextureImageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbVec2s size, int numComponents, \n" - " unsigned char bytes, int wrapS, int wrapT, \n" - " int model, SbColor blendColor)\n" - "set(SoState state, SoNode node, SbVec3s size, int numComponents, \n" - " unsigned char bytes, int wrapS, int wrapT, \n" - " int wrapR, int model, SbColor blendColor)\n" - "set(SoState state, SoNode node, SbVec2s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Model model, SbColor blendColor)\n" - "SoTextureImageElement_set(SoState state, SoNode node, SbVec3s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Wrap wrapR, Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoTextureImageElement_get", _wrap_SoTextureImageElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state, SbVec2s size, int numComponents, Wrap wrapS, \n" - " Wrap wrapT, Model model, SbColor blendColor) -> unsigned char\n" - "get(SoState state, SbVec3s size, int numComponents, Wrap wrapS, \n" - " Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor) -> unsigned char\n" - "get(SoState state, SbVec2s size, int numComponents, int wrapS, \n" - " int wrapT, int model, SbColor blendColor) -> unsigned char\n" - "SoTextureImageElement_get(SoState state, SbVec3s size, int numComponents, int wrapS, \n" - " int wrapT, int wrapR, int model, SbColor blendColor) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_getBlendColor", _wrap_SoTextureImageElement_getBlendColor, METH_VARARGS, (char *)"SoTextureImageElement_getBlendColor(SoState state) -> SbColor"}, - { (char *)"SoTextureImageElement_getImage", _wrap_SoTextureImageElement_getImage, METH_VARARGS, (char *)"\n" - "getImage(SoState state, SbVec2s size, int numComponents) -> unsigned char\n" - "SoTextureImageElement_getImage(SoState state, SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_getModel", _wrap_SoTextureImageElement_getModel, METH_VARARGS, (char *)"SoTextureImageElement_getModel(SoState state) -> Model"}, - { (char *)"SoTextureImageElement_getWrapS", _wrap_SoTextureImageElement_getWrapS, METH_VARARGS, (char *)"SoTextureImageElement_getWrapS(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_getWrapT", _wrap_SoTextureImageElement_getWrapT, METH_VARARGS, (char *)"SoTextureImageElement_getWrapT(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_getWrapR", _wrap_SoTextureImageElement_getWrapR, METH_VARARGS, (char *)"SoTextureImageElement_getWrapR(SoState state) -> Wrap"}, - { (char *)"SoTextureImageElement_containsTransparency", _wrap_SoTextureImageElement_containsTransparency, METH_VARARGS, (char *)"SoTextureImageElement_containsTransparency(SoState state) -> SbBool"}, - { (char *)"SoTextureImageElement_getDefault", _wrap_SoTextureImageElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault(SbVec2s size, int numComponents) -> unsigned char\n" - "SoTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoTextureImageElement_swigregister", SoTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture2_getClassTypeId", _wrap_SoTexture2_getClassTypeId, METH_VARARGS, (char *)"SoTexture2_getClassTypeId() -> SoType"}, - { (char *)"SoTexture2_getTypeId", _wrap_SoTexture2_getTypeId, METH_VARARGS, (char *)"SoTexture2_getTypeId(SoTexture2 self) -> SoType"}, - { (char *)"SoTexture2_initClass", _wrap_SoTexture2_initClass, METH_VARARGS, (char *)"SoTexture2_initClass()"}, - { (char *)"new_SoTexture2", _wrap_new_SoTexture2, METH_VARARGS, (char *)"new_SoTexture2() -> SoTexture2"}, - { (char *)"SoTexture2_filename_set", _wrap_SoTexture2_filename_set, METH_VARARGS, (char *)"SoTexture2_filename_set(SoTexture2 self, SoSFString filename)"}, - { (char *)"SoTexture2_filename_get", _wrap_SoTexture2_filename_get, METH_VARARGS, (char *)"SoTexture2_filename_get(SoTexture2 self) -> SoSFString"}, - { (char *)"SoTexture2_image_set", _wrap_SoTexture2_image_set, METH_VARARGS, (char *)"SoTexture2_image_set(SoTexture2 self, SoSFImage image)"}, - { (char *)"SoTexture2_image_get", _wrap_SoTexture2_image_get, METH_VARARGS, (char *)"SoTexture2_image_get(SoTexture2 self) -> SoSFImage"}, - { (char *)"SoTexture2_wrapS_set", _wrap_SoTexture2_wrapS_set, METH_VARARGS, (char *)"SoTexture2_wrapS_set(SoTexture2 self, SoSFEnum wrapS)"}, - { (char *)"SoTexture2_wrapS_get", _wrap_SoTexture2_wrapS_get, METH_VARARGS, (char *)"SoTexture2_wrapS_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_wrapT_set", _wrap_SoTexture2_wrapT_set, METH_VARARGS, (char *)"SoTexture2_wrapT_set(SoTexture2 self, SoSFEnum wrapT)"}, - { (char *)"SoTexture2_wrapT_get", _wrap_SoTexture2_wrapT_get, METH_VARARGS, (char *)"SoTexture2_wrapT_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_model_set", _wrap_SoTexture2_model_set, METH_VARARGS, (char *)"SoTexture2_model_set(SoTexture2 self, SoSFEnum model)"}, - { (char *)"SoTexture2_model_get", _wrap_SoTexture2_model_get, METH_VARARGS, (char *)"SoTexture2_model_get(SoTexture2 self) -> SoSFEnum"}, - { (char *)"SoTexture2_blendColor_set", _wrap_SoTexture2_blendColor_set, METH_VARARGS, (char *)"SoTexture2_blendColor_set(SoTexture2 self, SoSFColor blendColor)"}, - { (char *)"SoTexture2_blendColor_get", _wrap_SoTexture2_blendColor_get, METH_VARARGS, (char *)"SoTexture2_blendColor_get(SoTexture2 self) -> SoSFColor"}, - { (char *)"SoTexture2_doAction", _wrap_SoTexture2_doAction, METH_VARARGS, (char *)"SoTexture2_doAction(SoTexture2 self, SoAction action)"}, - { (char *)"SoTexture2_GLRender", _wrap_SoTexture2_GLRender, METH_VARARGS, (char *)"SoTexture2_GLRender(SoTexture2 self, SoGLRenderAction action)"}, - { (char *)"SoTexture2_callback", _wrap_SoTexture2_callback, METH_VARARGS, (char *)"SoTexture2_callback(SoTexture2 self, SoCallbackAction action)"}, - { (char *)"SoTexture2_rayPick", _wrap_SoTexture2_rayPick, METH_VARARGS, (char *)"SoTexture2_rayPick(SoTexture2 self, SoRayPickAction action)"}, - { (char *)"SoTexture2_readImage", _wrap_SoTexture2_readImage, METH_VARARGS, (char *)"SoTexture2_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool"}, - { (char *)"SoTexture2_swigregister", SoTexture2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateBindingElement_getClassTypeId", _wrap_SoTextureCoordinateBindingElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateBindingElement_getClassStackIndex", _wrap_SoTextureCoordinateBindingElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCoordinateBindingElement_createInstance", _wrap_SoTextureCoordinateBindingElement_createInstance, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_createInstance() -> void"}, - { (char *)"SoTextureCoordinateBindingElement_initClass", _wrap_SoTextureCoordinateBindingElement_initClass, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_initClass()"}, - { (char *)"SoTextureCoordinateBindingElement_init", _wrap_SoTextureCoordinateBindingElement_init, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_init(SoTextureCoordinateBindingElement self, SoState state)"}, - { (char *)"SoTextureCoordinateBindingElement_set", _wrap_SoTextureCoordinateBindingElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Binding binding)\n" - "SoTextureCoordinateBindingElement_set(SoState state, Binding binding)\n" - ""}, - { (char *)"SoTextureCoordinateBindingElement_get", _wrap_SoTextureCoordinateBindingElement_get, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_get(SoState state) -> Binding"}, - { (char *)"SoTextureCoordinateBindingElement_getDefault", _wrap_SoTextureCoordinateBindingElement_getDefault, METH_VARARGS, (char *)"SoTextureCoordinateBindingElement_getDefault() -> Binding"}, - { (char *)"SoTextureCoordinateBindingElement_swigregister", SoTextureCoordinateBindingElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateBinding_getClassTypeId", _wrap_SoTextureCoordinateBinding_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBinding_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateBinding_getTypeId", _wrap_SoTextureCoordinateBinding_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateBinding_getTypeId(SoTextureCoordinateBinding self) -> SoType"}, - { (char *)"SoTextureCoordinateBinding_initClass", _wrap_SoTextureCoordinateBinding_initClass, METH_VARARGS, (char *)"SoTextureCoordinateBinding_initClass()"}, - { (char *)"new_SoTextureCoordinateBinding", _wrap_new_SoTextureCoordinateBinding, METH_VARARGS, (char *)"new_SoTextureCoordinateBinding() -> SoTextureCoordinateBinding"}, - { (char *)"SoTextureCoordinateBinding_value_set", _wrap_SoTextureCoordinateBinding_value_set, METH_VARARGS, (char *)"SoTextureCoordinateBinding_value_set(SoTextureCoordinateBinding self, SoSFEnum value)"}, - { (char *)"SoTextureCoordinateBinding_value_get", _wrap_SoTextureCoordinateBinding_value_get, METH_VARARGS, (char *)"SoTextureCoordinateBinding_value_get(SoTextureCoordinateBinding self) -> SoSFEnum"}, - { (char *)"SoTextureCoordinateBinding_doAction", _wrap_SoTextureCoordinateBinding_doAction, METH_VARARGS, (char *)"SoTextureCoordinateBinding_doAction(SoTextureCoordinateBinding self, SoAction action)"}, - { (char *)"SoTextureCoordinateBinding_callback", _wrap_SoTextureCoordinateBinding_callback, METH_VARARGS, (char *)"SoTextureCoordinateBinding_callback(SoTextureCoordinateBinding self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateBinding_GLRender", _wrap_SoTextureCoordinateBinding_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateBinding_GLRender(SoTextureCoordinateBinding self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateBinding_pick", _wrap_SoTextureCoordinateBinding_pick, METH_VARARGS, (char *)"SoTextureCoordinateBinding_pick(SoTextureCoordinateBinding self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateBinding_swigregister", SoTextureCoordinateBinding_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformation_getClassTypeId", _wrap_SoTransformation_getClassTypeId, METH_VARARGS, (char *)"SoTransformation_getClassTypeId() -> SoType"}, - { (char *)"SoTransformation_getTypeId", _wrap_SoTransformation_getTypeId, METH_VARARGS, (char *)"SoTransformation_getTypeId(SoTransformation self) -> SoType"}, - { (char *)"SoTransformation_initClass", _wrap_SoTransformation_initClass, METH_VARARGS, (char *)"SoTransformation_initClass()"}, - { (char *)"SoTransformation_swigregister", SoTransformation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoUnits_getClassTypeId", _wrap_SoUnits_getClassTypeId, METH_VARARGS, (char *)"SoUnits_getClassTypeId() -> SoType"}, - { (char *)"SoUnits_getTypeId", _wrap_SoUnits_getTypeId, METH_VARARGS, (char *)"SoUnits_getTypeId(SoUnits self) -> SoType"}, - { (char *)"SoUnits_initClass", _wrap_SoUnits_initClass, METH_VARARGS, (char *)"SoUnits_initClass()"}, - { (char *)"new_SoUnits", _wrap_new_SoUnits, METH_VARARGS, (char *)"new_SoUnits() -> SoUnits"}, - { (char *)"SoUnits_units_set", _wrap_SoUnits_units_set, METH_VARARGS, (char *)"SoUnits_units_set(SoUnits self, SoSFEnum units)"}, - { (char *)"SoUnits_units_get", _wrap_SoUnits_units_get, METH_VARARGS, (char *)"SoUnits_units_get(SoUnits self) -> SoSFEnum"}, - { (char *)"SoUnits_doAction", _wrap_SoUnits_doAction, METH_VARARGS, (char *)"SoUnits_doAction(SoUnits self, SoAction action)"}, - { (char *)"SoUnits_callback", _wrap_SoUnits_callback, METH_VARARGS, (char *)"SoUnits_callback(SoUnits self, SoCallbackAction action)"}, - { (char *)"SoUnits_getBoundingBox", _wrap_SoUnits_getBoundingBox, METH_VARARGS, (char *)"SoUnits_getBoundingBox(SoUnits self, SoGetBoundingBoxAction action)"}, - { (char *)"SoUnits_getMatrix", _wrap_SoUnits_getMatrix, METH_VARARGS, (char *)"SoUnits_getMatrix(SoUnits self, SoGetMatrixAction action)"}, - { (char *)"SoUnits_GLRender", _wrap_SoUnits_GLRender, METH_VARARGS, (char *)"SoUnits_GLRender(SoUnits self, SoGLRenderAction action)"}, - { (char *)"SoUnits_pick", _wrap_SoUnits_pick, METH_VARARGS, (char *)"SoUnits_pick(SoUnits self, SoPickAction action)"}, - { (char *)"SoUnits_getPrimitiveCount", _wrap_SoUnits_getPrimitiveCount, METH_VARARGS, (char *)"SoUnits_getPrimitiveCount(SoUnits self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoUnits_swigregister", SoUnits_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCallbackAction_getTypeId", _wrap_SoCallbackAction_getTypeId, METH_VARARGS, (char *)"SoCallbackAction_getTypeId(SoCallbackAction self) -> SoType"}, - { (char *)"SoCallbackAction_getClassTypeId", _wrap_SoCallbackAction_getClassTypeId, METH_VARARGS, (char *)"SoCallbackAction_getClassTypeId() -> SoType"}, - { (char *)"SoCallbackAction_addMethod", _wrap_SoCallbackAction_addMethod, METH_VARARGS, (char *)"SoCallbackAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoCallbackAction_enableElement", _wrap_SoCallbackAction_enableElement, METH_VARARGS, (char *)"SoCallbackAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoCallbackAction", _wrap_new_SoCallbackAction, METH_VARARGS, (char *)"\n" - "SoCallbackAction()\n" - "new_SoCallbackAction(SbViewportRegion vp) -> SoCallbackAction\n" - ""}, - { (char *)"delete_SoCallbackAction", _wrap_delete_SoCallbackAction, METH_VARARGS, (char *)"delete_SoCallbackAction(SoCallbackAction self)"}, - { (char *)"SoCallbackAction_initClass", _wrap_SoCallbackAction_initClass, METH_VARARGS, (char *)"SoCallbackAction_initClass()"}, - { (char *)"SoCallbackAction_setViewportRegion", _wrap_SoCallbackAction_setViewportRegion, METH_VARARGS, (char *)"SoCallbackAction_setViewportRegion(SoCallbackAction self, SbViewportRegion vp)"}, - { (char *)"SoCallbackAction_getDecimationType", _wrap_SoCallbackAction_getDecimationType, METH_VARARGS, (char *)"SoCallbackAction_getDecimationType(SoCallbackAction self) -> Type"}, - { (char *)"SoCallbackAction_getDecimationPercentage", _wrap_SoCallbackAction_getDecimationPercentage, METH_VARARGS, (char *)"SoCallbackAction_getDecimationPercentage(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getComplexity", _wrap_SoCallbackAction_getComplexity, METH_VARARGS, (char *)"SoCallbackAction_getComplexity(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getComplexityType", _wrap_SoCallbackAction_getComplexityType, METH_VARARGS, (char *)"SoCallbackAction_getComplexityType(SoCallbackAction self) -> Type"}, - { (char *)"SoCallbackAction_getNumCoordinates", _wrap_SoCallbackAction_getNumCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getCoordinate3", _wrap_SoCallbackAction_getCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getCoordinate4", _wrap_SoCallbackAction_getCoordinate4, METH_VARARGS, (char *)"SoCallbackAction_getCoordinate4(SoCallbackAction self, int index) -> SbVec4f"}, - { (char *)"SoCallbackAction_getDrawStyle", _wrap_SoCallbackAction_getDrawStyle, METH_VARARGS, (char *)"SoCallbackAction_getDrawStyle(SoCallbackAction self) -> Style"}, - { (char *)"SoCallbackAction_getLinePattern", _wrap_SoCallbackAction_getLinePattern, METH_VARARGS, (char *)"SoCallbackAction_getLinePattern(SoCallbackAction self) -> unsigned short"}, - { (char *)"SoCallbackAction_getLineWidth", _wrap_SoCallbackAction_getLineWidth, METH_VARARGS, (char *)"SoCallbackAction_getLineWidth(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getPointSize", _wrap_SoCallbackAction_getPointSize, METH_VARARGS, (char *)"SoCallbackAction_getPointSize(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getFontName", _wrap_SoCallbackAction_getFontName, METH_VARARGS, (char *)"SoCallbackAction_getFontName(SoCallbackAction self) -> SbName"}, - { (char *)"SoCallbackAction_getFontSize", _wrap_SoCallbackAction_getFontSize, METH_VARARGS, (char *)"SoCallbackAction_getFontSize(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getLightModel", _wrap_SoCallbackAction_getLightModel, METH_VARARGS, (char *)"SoCallbackAction_getLightModel(SoCallbackAction self) -> Model"}, - { (char *)"SoCallbackAction_getLightAttenuation", _wrap_SoCallbackAction_getLightAttenuation, METH_VARARGS, (char *)"SoCallbackAction_getLightAttenuation(SoCallbackAction self) -> SbVec3f"}, - { (char *)"SoCallbackAction_getMaterialBinding", _wrap_SoCallbackAction_getMaterialBinding, METH_VARARGS, (char *)"SoCallbackAction_getMaterialBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getNumNormals", _wrap_SoCallbackAction_getNumNormals, METH_VARARGS, (char *)"SoCallbackAction_getNumNormals(SoCallbackAction self) -> uint32_t"}, - { (char *)"SoCallbackAction_getNormal", _wrap_SoCallbackAction_getNormal, METH_VARARGS, (char *)"SoCallbackAction_getNormal(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getNormalBinding", _wrap_SoCallbackAction_getNormalBinding, METH_VARARGS, (char *)"SoCallbackAction_getNormalBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getNumProfileCoordinates", _wrap_SoCallbackAction_getNumProfileCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumProfileCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getProfileCoordinate2", _wrap_SoCallbackAction_getProfileCoordinate2, METH_VARARGS, (char *)"SoCallbackAction_getProfileCoordinate2(SoCallbackAction self, int index) -> SbVec2f"}, - { (char *)"SoCallbackAction_getProfileCoordinate3", _wrap_SoCallbackAction_getProfileCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getProfileCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getProfile", _wrap_SoCallbackAction_getProfile, METH_VARARGS, (char *)"SoCallbackAction_getProfile(SoCallbackAction self) -> SoNodeList"}, - { (char *)"SoCallbackAction_getVertexOrdering", _wrap_SoCallbackAction_getVertexOrdering, METH_VARARGS, (char *)"SoCallbackAction_getVertexOrdering(SoCallbackAction self) -> VertexOrdering"}, - { (char *)"SoCallbackAction_getShapeType", _wrap_SoCallbackAction_getShapeType, METH_VARARGS, (char *)"SoCallbackAction_getShapeType(SoCallbackAction self) -> ShapeType"}, - { (char *)"SoCallbackAction_getFaceType", _wrap_SoCallbackAction_getFaceType, METH_VARARGS, (char *)"SoCallbackAction_getFaceType(SoCallbackAction self) -> FaceType"}, - { (char *)"SoCallbackAction_getCreaseAngle", _wrap_SoCallbackAction_getCreaseAngle, METH_VARARGS, (char *)"SoCallbackAction_getCreaseAngle(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getNumTextureCoordinates", _wrap_SoCallbackAction_getNumTextureCoordinates, METH_VARARGS, (char *)"SoCallbackAction_getNumTextureCoordinates(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getTextureCoordinate2", _wrap_SoCallbackAction_getTextureCoordinate2, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate2(SoCallbackAction self, int index) -> SbVec2f"}, - { (char *)"SoCallbackAction_getTextureCoordinate3", _wrap_SoCallbackAction_getTextureCoordinate3, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate3(SoCallbackAction self, int index) -> SbVec3f"}, - { (char *)"SoCallbackAction_getTextureCoordinate4", _wrap_SoCallbackAction_getTextureCoordinate4, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinate4(SoCallbackAction self, int index) -> SbVec4f"}, - { (char *)"SoCallbackAction_getTextureCoordinateBinding", _wrap_SoCallbackAction_getTextureCoordinateBinding, METH_VARARGS, (char *)"SoCallbackAction_getTextureCoordinateBinding(SoCallbackAction self) -> Binding"}, - { (char *)"SoCallbackAction_getTextureBlendColor", _wrap_SoCallbackAction_getTextureBlendColor, METH_VARARGS, (char *)"SoCallbackAction_getTextureBlendColor(SoCallbackAction self) -> SbColor"}, - { (char *)"SoCallbackAction_getTextureImage", _wrap_SoCallbackAction_getTextureImage, METH_VARARGS, (char *)"\n" - "getTextureImage(SbVec2s size, int numcomps) -> unsigned char\n" - "SoCallbackAction_getTextureImage(SoCallbackAction self, SbVec3s size, int numcomps) -> unsigned char\n" - ""}, - { (char *)"SoCallbackAction_getTextureMatrix", _wrap_SoCallbackAction_getTextureMatrix, METH_VARARGS, (char *)"SoCallbackAction_getTextureMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getTextureModel", _wrap_SoCallbackAction_getTextureModel, METH_VARARGS, (char *)"SoCallbackAction_getTextureModel(SoCallbackAction self) -> Model"}, - { (char *)"SoCallbackAction_getTextureWrapS", _wrap_SoCallbackAction_getTextureWrapS, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapS(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getTextureWrapT", _wrap_SoCallbackAction_getTextureWrapT, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapT(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getTextureWrapR", _wrap_SoCallbackAction_getTextureWrapR, METH_VARARGS, (char *)"SoCallbackAction_getTextureWrapR(SoCallbackAction self) -> Wrap"}, - { (char *)"SoCallbackAction_getModelMatrix", _wrap_SoCallbackAction_getModelMatrix, METH_VARARGS, (char *)"SoCallbackAction_getModelMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getUnits", _wrap_SoCallbackAction_getUnits, METH_VARARGS, (char *)"SoCallbackAction_getUnits(SoCallbackAction self) -> Units"}, - { (char *)"SoCallbackAction_getFocalDistance", _wrap_SoCallbackAction_getFocalDistance, METH_VARARGS, (char *)"SoCallbackAction_getFocalDistance(SoCallbackAction self) -> float"}, - { (char *)"SoCallbackAction_getProjectionMatrix", _wrap_SoCallbackAction_getProjectionMatrix, METH_VARARGS, (char *)"SoCallbackAction_getProjectionMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getViewingMatrix", _wrap_SoCallbackAction_getViewingMatrix, METH_VARARGS, (char *)"SoCallbackAction_getViewingMatrix(SoCallbackAction self) -> SbMatrix"}, - { (char *)"SoCallbackAction_getViewVolume", _wrap_SoCallbackAction_getViewVolume, METH_VARARGS, (char *)"SoCallbackAction_getViewVolume(SoCallbackAction self) -> SbViewVolume"}, - { (char *)"SoCallbackAction_getViewportRegion", _wrap_SoCallbackAction_getViewportRegion, METH_VARARGS, (char *)"SoCallbackAction_getViewportRegion(SoCallbackAction self) -> SbViewportRegion"}, - { (char *)"SoCallbackAction_getPickStyle", _wrap_SoCallbackAction_getPickStyle, METH_VARARGS, (char *)"SoCallbackAction_getPickStyle(SoCallbackAction self) -> Style"}, - { (char *)"SoCallbackAction_getSwitch", _wrap_SoCallbackAction_getSwitch, METH_VARARGS, (char *)"SoCallbackAction_getSwitch(SoCallbackAction self) -> int32_t"}, - { (char *)"SoCallbackAction_getCurrentResponse", _wrap_SoCallbackAction_getCurrentResponse, METH_VARARGS, (char *)"SoCallbackAction_getCurrentResponse(SoCallbackAction self) -> Response"}, - { (char *)"SoCallbackAction_invokePreCallbacks", _wrap_SoCallbackAction_invokePreCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePreCallbacks(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_invokePostCallbacks", _wrap_SoCallbackAction_invokePostCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePostCallbacks(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_invokeTriangleCallbacks", _wrap_SoCallbackAction_invokeTriangleCallbacks, METH_VARARGS, (char *)"\n" - "SoCallbackAction_invokeTriangleCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v1, \n" - " SoPrimitiveVertex v2, SoPrimitiveVertex v3)\n" - ""}, - { (char *)"SoCallbackAction_invokeLineSegmentCallbacks", _wrap_SoCallbackAction_invokeLineSegmentCallbacks, METH_VARARGS, (char *)"\n" - "SoCallbackAction_invokeLineSegmentCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v1, \n" - " SoPrimitiveVertex v2)\n" - ""}, - { (char *)"SoCallbackAction_invokePointCallbacks", _wrap_SoCallbackAction_invokePointCallbacks, METH_VARARGS, (char *)"SoCallbackAction_invokePointCallbacks(SoCallbackAction self, SoShape shape, SoPrimitiveVertex v)"}, - { (char *)"SoCallbackAction_shouldGeneratePrimitives", _wrap_SoCallbackAction_shouldGeneratePrimitives, METH_VARARGS, (char *)"SoCallbackAction_shouldGeneratePrimitives(SoCallbackAction self, SoShape shape) -> SbBool"}, - { (char *)"SoCallbackAction_getCurPathTail", _wrap_SoCallbackAction_getCurPathTail, METH_VARARGS, (char *)"SoCallbackAction_getCurPathTail(SoCallbackAction self) -> SoNode"}, - { (char *)"SoCallbackAction_setCurrentNode", _wrap_SoCallbackAction_setCurrentNode, METH_VARARGS, (char *)"SoCallbackAction_setCurrentNode(SoCallbackAction self, SoNode node)"}, - { (char *)"SoCallbackAction_getMaterial", _wrap_SoCallbackAction_getMaterial, METH_VARARGS, (char *)"\n" - "getMaterial(int index=0) -> PyObject\n" - "SoCallbackAction_getMaterial(SoCallbackAction self) -> PyObject\n" - ""}, - { (char *)"SoCallbackAction_addPreCallback", _wrap_SoCallbackAction_addPreCallback, METH_VARARGS, (char *)"\n" - "addPreCallback(SoType type, SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPreCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPostCallback", _wrap_SoCallbackAction_addPostCallback, METH_VARARGS, (char *)"\n" - "addPostCallback(SoType type, SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPostCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPreTailCallback", _wrap_SoCallbackAction_addPreTailCallback, METH_VARARGS, (char *)"\n" - "addPreTailCallback(SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPreTailCallback(SoCallbackAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPostTailCallback", _wrap_SoCallbackAction_addPostTailCallback, METH_VARARGS, (char *)"\n" - "addPostTailCallback(SoCallbackActionCB cb, void userdata)\n" - "SoCallbackAction_addPostTailCallback(SoCallbackAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addTriangleCallback", _wrap_SoCallbackAction_addTriangleCallback, METH_VARARGS, (char *)"\n" - "addTriangleCallback(SoType type, SoTriangleCB cb, void userdata)\n" - "SoCallbackAction_addTriangleCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addLineSegmentCallback", _wrap_SoCallbackAction_addLineSegmentCallback, METH_VARARGS, (char *)"\n" - "addLineSegmentCallback(SoType type, SoLineSegmentCB cb, void userdata)\n" - "SoCallbackAction_addLineSegmentCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_addPointCallback", _wrap_SoCallbackAction_addPointCallback, METH_VARARGS, (char *)"\n" - "addPointCallback(SoType type, SoPointCB cb, void userdata)\n" - "SoCallbackAction_addPointCallback(SoCallbackAction self, SoType type, PyObject pyfunc, \n" - " PyObject userdata)\n" - ""}, - { (char *)"SoCallbackAction_swigregister", SoCallbackAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2f", _wrap_new_SbVec2f, METH_VARARGS, (char *)"\n" - "SbVec2f()\n" - "SbVec2f(float v)\n" - "new_SbVec2f(float x, float y) -> SbVec2f\n" - ""}, - { (char *)"SbVec2f_dot", _wrap_SbVec2f_dot, METH_VARARGS, (char *)"SbVec2f_dot(SbVec2f self, SbVec2f v) -> float"}, - { (char *)"SbVec2f_equals", _wrap_SbVec2f_equals, METH_VARARGS, (char *)"SbVec2f_equals(SbVec2f self, SbVec2f v, float tolerance) -> SbBool"}, - { (char *)"SbVec2f_getValue", _wrap_SbVec2f_getValue, METH_VARARGS, (char *)"SbVec2f_getValue(SbVec2f self, float x, float y)"}, - { (char *)"SbVec2f_length", _wrap_SbVec2f_length, METH_VARARGS, (char *)"SbVec2f_length(SbVec2f self) -> float"}, - { (char *)"SbVec2f_negate", _wrap_SbVec2f_negate, METH_VARARGS, (char *)"SbVec2f_negate(SbVec2f self)"}, - { (char *)"SbVec2f_normalize", _wrap_SbVec2f_normalize, METH_VARARGS, (char *)"SbVec2f_normalize(SbVec2f self) -> float"}, - { (char *)"SbVec2f_setValue", _wrap_SbVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec2f\n" - "SbVec2f_setValue(SbVec2f self, float x, float y) -> SbVec2f\n" - ""}, - { (char *)"SbVec2f___imul__", _wrap_SbVec2f___imul__, METH_VARARGS, (char *)"SbVec2f___imul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___idiv__", _wrap_SbVec2f___idiv__, METH_VARARGS, (char *)"SbVec2f___idiv__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___iadd__", _wrap_SbVec2f___iadd__, METH_VARARGS, (char *)"SbVec2f___iadd__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___isub__", _wrap_SbVec2f___isub__, METH_VARARGS, (char *)"SbVec2f___isub__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___neg__", _wrap_SbVec2f___neg__, METH_VARARGS, (char *)"SbVec2f___neg__(SbVec2f self) -> SbVec2f"}, - { (char *)"SbVec2f_output", _wrap_SbVec2f_output, METH_VARARGS, (char *)"SbVec2f_output(SbVec2f self, FILE fp)"}, - { (char *)"SbVec2f___add__", _wrap_SbVec2f___add__, METH_VARARGS, (char *)"SbVec2f___add__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___sub__", _wrap_SbVec2f___sub__, METH_VARARGS, (char *)"SbVec2f___sub__(SbVec2f self, SbVec2f u) -> SbVec2f"}, - { (char *)"SbVec2f___mul__", _wrap_SbVec2f___mul__, METH_VARARGS, (char *)"SbVec2f___mul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___rmul__", _wrap_SbVec2f___rmul__, METH_VARARGS, (char *)"SbVec2f___rmul__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___div__", _wrap_SbVec2f___div__, METH_VARARGS, (char *)"SbVec2f___div__(SbVec2f self, float d) -> SbVec2f"}, - { (char *)"SbVec2f___eq__", _wrap_SbVec2f___eq__, METH_VARARGS, (char *)"SbVec2f___eq__(SbVec2f self, SbVec2f u) -> int"}, - { (char *)"SbVec2f___nq__", _wrap_SbVec2f___nq__, METH_VARARGS, (char *)"SbVec2f___nq__(SbVec2f self, SbVec2f u) -> int"}, - { (char *)"SbVec2f___getitem__", _wrap_SbVec2f___getitem__, METH_VARARGS, (char *)"SbVec2f___getitem__(SbVec2f self, int i) -> float"}, - { (char *)"SbVec2f___setitem__", _wrap_SbVec2f___setitem__, METH_VARARGS, (char *)"SbVec2f___setitem__(SbVec2f self, int i, float value)"}, - { (char *)"delete_SbVec2f", _wrap_delete_SbVec2f, METH_VARARGS, (char *)"delete_SbVec2f(SbVec2f self)"}, - { (char *)"SbVec2f_swigregister", SbVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbViewportRegion", _wrap_new_SbViewportRegion, METH_VARARGS, (char *)"\n" - "SbViewportRegion()\n" - "SbViewportRegion(short width, short height)\n" - "SbViewportRegion(SbVec2s winSize)\n" - "new_SbViewportRegion(SbViewportRegion vpReg) -> SbViewportRegion\n" - ""}, - { (char *)"SbViewportRegion_setWindowSize", _wrap_SbViewportRegion_setWindowSize, METH_VARARGS, (char *)"\n" - "setWindowSize(short width, short height)\n" - "SbViewportRegion_setWindowSize(SbViewportRegion self, SbVec2s winSize)\n" - ""}, - { (char *)"SbViewportRegion_setViewport", _wrap_SbViewportRegion_setViewport, METH_VARARGS, (char *)"\n" - "setViewport(float left, float bottom, float width, float height)\n" - "SbViewportRegion_setViewport(SbViewportRegion self, SbVec2f origin, SbVec2f size)\n" - ""}, - { (char *)"SbViewportRegion_setViewportPixels", _wrap_SbViewportRegion_setViewportPixels, METH_VARARGS, (char *)"\n" - "setViewportPixels(short left, short bottom, short width, short height)\n" - "SbViewportRegion_setViewportPixels(SbViewportRegion self, SbVec2s origin, SbVec2s size)\n" - ""}, - { (char *)"SbViewportRegion_getWindowSize", _wrap_SbViewportRegion_getWindowSize, METH_VARARGS, (char *)"SbViewportRegion_getWindowSize(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportOrigin", _wrap_SbViewportRegion_getViewportOrigin, METH_VARARGS, (char *)"SbViewportRegion_getViewportOrigin(SbViewportRegion self) -> SbVec2f"}, - { (char *)"SbViewportRegion_getViewportOriginPixels", _wrap_SbViewportRegion_getViewportOriginPixels, METH_VARARGS, (char *)"SbViewportRegion_getViewportOriginPixels(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportSize", _wrap_SbViewportRegion_getViewportSize, METH_VARARGS, (char *)"SbViewportRegion_getViewportSize(SbViewportRegion self) -> SbVec2f"}, - { (char *)"SbViewportRegion_getViewportSizePixels", _wrap_SbViewportRegion_getViewportSizePixels, METH_VARARGS, (char *)"SbViewportRegion_getViewportSizePixels(SbViewportRegion self) -> SbVec2s"}, - { (char *)"SbViewportRegion_getViewportAspectRatio", _wrap_SbViewportRegion_getViewportAspectRatio, METH_VARARGS, (char *)"SbViewportRegion_getViewportAspectRatio(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_scaleWidth", _wrap_SbViewportRegion_scaleWidth, METH_VARARGS, (char *)"SbViewportRegion_scaleWidth(SbViewportRegion self, float ratio)"}, - { (char *)"SbViewportRegion_scaleHeight", _wrap_SbViewportRegion_scaleHeight, METH_VARARGS, (char *)"SbViewportRegion_scaleHeight(SbViewportRegion self, float ratio)"}, - { (char *)"SbViewportRegion_setPixelsPerInch", _wrap_SbViewportRegion_setPixelsPerInch, METH_VARARGS, (char *)"SbViewportRegion_setPixelsPerInch(SbViewportRegion self, float ppi)"}, - { (char *)"SbViewportRegion_getPixelsPerInch", _wrap_SbViewportRegion_getPixelsPerInch, METH_VARARGS, (char *)"SbViewportRegion_getPixelsPerInch(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_getPixelsPerPoint", _wrap_SbViewportRegion_getPixelsPerPoint, METH_VARARGS, (char *)"SbViewportRegion_getPixelsPerPoint(SbViewportRegion self) -> float"}, - { (char *)"SbViewportRegion_output", _wrap_SbViewportRegion_output, METH_VARARGS, (char *)"SbViewportRegion_output(SbViewportRegion self, FILE file)"}, - { (char *)"SbViewportRegion___eq__", _wrap_SbViewportRegion___eq__, METH_VARARGS, (char *)"SbViewportRegion___eq__(SbViewportRegion self, SbViewportRegion u) -> int"}, - { (char *)"SbViewportRegion___ne__", _wrap_SbViewportRegion___ne__, METH_VARARGS, (char *)"SbViewportRegion___ne__(SbViewportRegion self, SbViewportRegion u) -> int"}, - { (char *)"delete_SbViewportRegion", _wrap_delete_SbViewportRegion, METH_VARARGS, (char *)"delete_SbViewportRegion(SbViewportRegion self)"}, - { (char *)"SbViewportRegion_swigregister", SbViewportRegion_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLRenderAction_getTypeId", _wrap_SoGLRenderAction_getTypeId, METH_VARARGS, (char *)"SoGLRenderAction_getTypeId(SoGLRenderAction self) -> SoType"}, - { (char *)"SoGLRenderAction_getClassTypeId", _wrap_SoGLRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoGLRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoGLRenderAction_addMethod", _wrap_SoGLRenderAction_addMethod, METH_VARARGS, (char *)"SoGLRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGLRenderAction_enableElement", _wrap_SoGLRenderAction_enableElement, METH_VARARGS, (char *)"SoGLRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoGLRenderAction", _wrap_new_SoGLRenderAction, METH_VARARGS, (char *)"new_SoGLRenderAction(SbViewportRegion viewportregion) -> SoGLRenderAction"}, - { (char *)"delete_SoGLRenderAction", _wrap_delete_SoGLRenderAction, METH_VARARGS, (char *)"delete_SoGLRenderAction(SoGLRenderAction self)"}, - { (char *)"SoGLRenderAction_initClass", _wrap_SoGLRenderAction_initClass, METH_VARARGS, (char *)"SoGLRenderAction_initClass()"}, - { (char *)"SoGLRenderAction_setViewportRegion", _wrap_SoGLRenderAction_setViewportRegion, METH_VARARGS, (char *)"SoGLRenderAction_setViewportRegion(SoGLRenderAction self, SbViewportRegion newregion)"}, - { (char *)"SoGLRenderAction_getViewportRegion", _wrap_SoGLRenderAction_getViewportRegion, METH_VARARGS, (char *)"SoGLRenderAction_getViewportRegion(SoGLRenderAction self) -> SbViewportRegion"}, - { (char *)"SoGLRenderAction_setUpdateArea", _wrap_SoGLRenderAction_setUpdateArea, METH_VARARGS, (char *)"SoGLRenderAction_setUpdateArea(SoGLRenderAction self, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLRenderAction_getUpdateArea", _wrap_SoGLRenderAction_getUpdateArea, METH_VARARGS, (char *)"SoGLRenderAction_getUpdateArea(SoGLRenderAction self, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLRenderAction_setTransparencyType", _wrap_SoGLRenderAction_setTransparencyType, METH_VARARGS, (char *)"SoGLRenderAction_setTransparencyType(SoGLRenderAction self, TransparencyType type)"}, - { (char *)"SoGLRenderAction_getTransparencyType", _wrap_SoGLRenderAction_getTransparencyType, METH_VARARGS, (char *)"SoGLRenderAction_getTransparencyType(SoGLRenderAction self) -> TransparencyType"}, - { (char *)"SoGLRenderAction_setSmoothing", _wrap_SoGLRenderAction_setSmoothing, METH_VARARGS, (char *)"SoGLRenderAction_setSmoothing(SoGLRenderAction self, SbBool smooth)"}, - { (char *)"SoGLRenderAction_isSmoothing", _wrap_SoGLRenderAction_isSmoothing, METH_VARARGS, (char *)"SoGLRenderAction_isSmoothing(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setNumPasses", _wrap_SoGLRenderAction_setNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_setNumPasses(SoGLRenderAction self, int num)"}, - { (char *)"SoGLRenderAction_getNumPasses", _wrap_SoGLRenderAction_getNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_getNumPasses(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_setPassUpdate", _wrap_SoGLRenderAction_setPassUpdate, METH_VARARGS, (char *)"SoGLRenderAction_setPassUpdate(SoGLRenderAction self, SbBool flag)"}, - { (char *)"SoGLRenderAction_isPassUpdate", _wrap_SoGLRenderAction_isPassUpdate, METH_VARARGS, (char *)"SoGLRenderAction_isPassUpdate(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setCacheContext", _wrap_SoGLRenderAction_setCacheContext, METH_VARARGS, (char *)"SoGLRenderAction_setCacheContext(SoGLRenderAction self, uint32_t context)"}, - { (char *)"SoGLRenderAction_getCacheContext", _wrap_SoGLRenderAction_getCacheContext, METH_VARARGS, (char *)"SoGLRenderAction_getCacheContext(SoGLRenderAction self) -> uint32_t"}, - { (char *)"SoGLRenderAction_addDelayedPath", _wrap_SoGLRenderAction_addDelayedPath, METH_VARARGS, (char *)"SoGLRenderAction_addDelayedPath(SoGLRenderAction self, SoPath path)"}, - { (char *)"SoGLRenderAction_isRenderingDelayedPaths", _wrap_SoGLRenderAction_isRenderingDelayedPaths, METH_VARARGS, (char *)"SoGLRenderAction_isRenderingDelayedPaths(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_handleTransparency", _wrap_SoGLRenderAction_handleTransparency, METH_VARARGS, (char *)"\n" - "handleTransparency(SbBool istransparent=0) -> SbBool\n" - "SoGLRenderAction_handleTransparency(SoGLRenderAction self) -> SbBool\n" - ""}, - { (char *)"SoGLRenderAction_getCurPass", _wrap_SoGLRenderAction_getCurPass, METH_VARARGS, (char *)"SoGLRenderAction_getCurPass(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_abortNow", _wrap_SoGLRenderAction_abortNow, METH_VARARGS, (char *)"SoGLRenderAction_abortNow(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_setRenderingIsRemote", _wrap_SoGLRenderAction_setRenderingIsRemote, METH_VARARGS, (char *)"SoGLRenderAction_setRenderingIsRemote(SoGLRenderAction self, SbBool isremote)"}, - { (char *)"SoGLRenderAction_getRenderingIsRemote", _wrap_SoGLRenderAction_getRenderingIsRemote, METH_VARARGS, (char *)"SoGLRenderAction_getRenderingIsRemote(SoGLRenderAction self) -> SbBool"}, - { (char *)"SoGLRenderAction_invalidateState", _wrap_SoGLRenderAction_invalidateState, METH_VARARGS, (char *)"SoGLRenderAction_invalidateState(SoGLRenderAction self)"}, - { (char *)"SoGLRenderAction_setSortedLayersNumPasses", _wrap_SoGLRenderAction_setSortedLayersNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_setSortedLayersNumPasses(SoGLRenderAction self, int num)"}, - { (char *)"SoGLRenderAction_getSortedLayersNumPasses", _wrap_SoGLRenderAction_getSortedLayersNumPasses, METH_VARARGS, (char *)"SoGLRenderAction_getSortedLayersNumPasses(SoGLRenderAction self) -> int"}, - { (char *)"SoGLRenderAction_setPassCallback", _wrap_SoGLRenderAction_setPassCallback, METH_VARARGS, (char *)"\n" - "setPassCallback(SoGLRenderPassCB func, void userdata)\n" - "SoGLRenderAction_setPassCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_setAbortCallback", _wrap_SoGLRenderAction_setAbortCallback, METH_VARARGS, (char *)"\n" - "setAbortCallback(SoGLRenderAbortCB func, void userdata)\n" - "SoGLRenderAction_setAbortCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_addPreRenderCallback", _wrap_SoGLRenderAction_addPreRenderCallback, METH_VARARGS, (char *)"\n" - "addPreRenderCallback(SoGLPreRenderCB func, void userdata)\n" - "SoGLRenderAction_addPreRenderCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_removePreRenderCallback", _wrap_SoGLRenderAction_removePreRenderCallback, METH_VARARGS, (char *)"\n" - "removePreRenderCallback(SoGLPreRenderCB func, void userdata)\n" - "SoGLRenderAction_removePreRenderCallback(SoGLRenderAction self, PyObject pyfunc, PyObject userdata)\n" - ""}, - { (char *)"SoGLRenderAction_swigregister", SoGLRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBoxHighlightRenderAction_getTypeId", _wrap_SoBoxHighlightRenderAction_getTypeId, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getTypeId(SoBoxHighlightRenderAction self) -> SoType"}, - { (char *)"SoBoxHighlightRenderAction_getClassTypeId", _wrap_SoBoxHighlightRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoBoxHighlightRenderAction_addMethod", _wrap_SoBoxHighlightRenderAction_addMethod, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoBoxHighlightRenderAction_enableElement", _wrap_SoBoxHighlightRenderAction_enableElement, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoBoxHighlightRenderAction", _wrap_new_SoBoxHighlightRenderAction, METH_VARARGS, (char *)"\n" - "SoBoxHighlightRenderAction()\n" - "new_SoBoxHighlightRenderAction(SbViewportRegion viewportregion) -> SoBoxHighlightRenderAction\n" - ""}, - { (char *)"delete_SoBoxHighlightRenderAction", _wrap_delete_SoBoxHighlightRenderAction, METH_VARARGS, (char *)"delete_SoBoxHighlightRenderAction(SoBoxHighlightRenderAction self)"}, - { (char *)"SoBoxHighlightRenderAction_initClass", _wrap_SoBoxHighlightRenderAction_initClass, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_initClass()"}, - { (char *)"SoBoxHighlightRenderAction_apply", _wrap_SoBoxHighlightRenderAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoBoxHighlightRenderAction_apply(SoBoxHighlightRenderAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoBoxHighlightRenderAction_setVisible", _wrap_SoBoxHighlightRenderAction_setVisible, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setVisible(SoBoxHighlightRenderAction self, SbBool visible)"}, - { (char *)"SoBoxHighlightRenderAction_isVisible", _wrap_SoBoxHighlightRenderAction_isVisible, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_isVisible(SoBoxHighlightRenderAction self) -> SbBool"}, - { (char *)"SoBoxHighlightRenderAction_setColor", _wrap_SoBoxHighlightRenderAction_setColor, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setColor(SoBoxHighlightRenderAction self, SbColor color)"}, - { (char *)"SoBoxHighlightRenderAction_getColor", _wrap_SoBoxHighlightRenderAction_getColor, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getColor(SoBoxHighlightRenderAction self) -> SbColor"}, - { (char *)"SoBoxHighlightRenderAction_setLinePattern", _wrap_SoBoxHighlightRenderAction_setLinePattern, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setLinePattern(SoBoxHighlightRenderAction self, unsigned short pattern)"}, - { (char *)"SoBoxHighlightRenderAction_getLinePattern", _wrap_SoBoxHighlightRenderAction_getLinePattern, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getLinePattern(SoBoxHighlightRenderAction self) -> unsigned short"}, - { (char *)"SoBoxHighlightRenderAction_setLineWidth", _wrap_SoBoxHighlightRenderAction_setLineWidth, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_setLineWidth(SoBoxHighlightRenderAction self, float width)"}, - { (char *)"SoBoxHighlightRenderAction_getLineWidth", _wrap_SoBoxHighlightRenderAction_getLineWidth, METH_VARARGS, (char *)"SoBoxHighlightRenderAction_getLineWidth(SoBoxHighlightRenderAction self) -> float"}, - { (char *)"SoBoxHighlightRenderAction_swigregister", SoBoxHighlightRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineHighlightRenderAction_getTypeId", _wrap_SoLineHighlightRenderAction_getTypeId, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getTypeId(SoLineHighlightRenderAction self) -> SoType"}, - { (char *)"SoLineHighlightRenderAction_getClassTypeId", _wrap_SoLineHighlightRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoLineHighlightRenderAction_addMethod", _wrap_SoLineHighlightRenderAction_addMethod, METH_VARARGS, (char *)"SoLineHighlightRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoLineHighlightRenderAction_enableElement", _wrap_SoLineHighlightRenderAction_enableElement, METH_VARARGS, (char *)"SoLineHighlightRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoLineHighlightRenderAction", _wrap_new_SoLineHighlightRenderAction, METH_VARARGS, (char *)"\n" - "SoLineHighlightRenderAction()\n" - "new_SoLineHighlightRenderAction(SbViewportRegion viewportregion) -> SoLineHighlightRenderAction\n" - ""}, - { (char *)"delete_SoLineHighlightRenderAction", _wrap_delete_SoLineHighlightRenderAction, METH_VARARGS, (char *)"delete_SoLineHighlightRenderAction(SoLineHighlightRenderAction self)"}, - { (char *)"SoLineHighlightRenderAction_initClass", _wrap_SoLineHighlightRenderAction_initClass, METH_VARARGS, (char *)"SoLineHighlightRenderAction_initClass()"}, - { (char *)"SoLineHighlightRenderAction_apply", _wrap_SoLineHighlightRenderAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoLineHighlightRenderAction_apply(SoLineHighlightRenderAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoLineHighlightRenderAction_setVisible", _wrap_SoLineHighlightRenderAction_setVisible, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setVisible(SoLineHighlightRenderAction self, SbBool visible)"}, - { (char *)"SoLineHighlightRenderAction_isVisible", _wrap_SoLineHighlightRenderAction_isVisible, METH_VARARGS, (char *)"SoLineHighlightRenderAction_isVisible(SoLineHighlightRenderAction self) -> SbBool"}, - { (char *)"SoLineHighlightRenderAction_setColor", _wrap_SoLineHighlightRenderAction_setColor, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setColor(SoLineHighlightRenderAction self, SbColor color)"}, - { (char *)"SoLineHighlightRenderAction_getColor", _wrap_SoLineHighlightRenderAction_getColor, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getColor(SoLineHighlightRenderAction self) -> SbColor"}, - { (char *)"SoLineHighlightRenderAction_setLinePattern", _wrap_SoLineHighlightRenderAction_setLinePattern, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setLinePattern(SoLineHighlightRenderAction self, uint16_t pattern)"}, - { (char *)"SoLineHighlightRenderAction_getLinePattern", _wrap_SoLineHighlightRenderAction_getLinePattern, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getLinePattern(SoLineHighlightRenderAction self) -> uint16_t"}, - { (char *)"SoLineHighlightRenderAction_setLineWidth", _wrap_SoLineHighlightRenderAction_setLineWidth, METH_VARARGS, (char *)"SoLineHighlightRenderAction_setLineWidth(SoLineHighlightRenderAction self, float width)"}, - { (char *)"SoLineHighlightRenderAction_getLineWidth", _wrap_SoLineHighlightRenderAction_getLineWidth, METH_VARARGS, (char *)"SoLineHighlightRenderAction_getLineWidth(SoLineHighlightRenderAction self) -> float"}, - { (char *)"SoLineHighlightRenderAction_swigregister", SoLineHighlightRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3f", _wrap_new_SbBox3f, METH_VARARGS, (char *)"\n" - "SbBox3f()\n" - "SbBox3f(float minx, float miny, float minz, float maxx, float maxy, \n" - " float maxz)\n" - "new_SbBox3f(SbVec3f min, SbVec3f max) -> SbBox3f\n" - ""}, - { (char *)"delete_SbBox3f", _wrap_delete_SbBox3f, METH_VARARGS, (char *)"delete_SbBox3f(SbBox3f self)"}, - { (char *)"SbBox3f_getMin", _wrap_SbBox3f_getMin, METH_VARARGS, (char *)"\n" - "getMin() -> SbVec3f\n" - "SbBox3f_getMin(SbBox3f self) -> SbVec3f\n" - ""}, - { (char *)"SbBox3f_getMax", _wrap_SbBox3f_getMax, METH_VARARGS, (char *)"\n" - "getMax() -> SbVec3f\n" - "SbBox3f_getMax(SbBox3f self) -> SbVec3f\n" - ""}, - { (char *)"SbBox3f_getCenter", _wrap_SbBox3f_getCenter, METH_VARARGS, (char *)"SbBox3f_getCenter(SbBox3f self) -> SbVec3f"}, - { (char *)"SbBox3f_extendBy", _wrap_SbBox3f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3f point)\n" - "SbBox3f_extendBy(SbBox3f self, SbBox3f box)\n" - ""}, - { (char *)"SbBox3f_intersect", _wrap_SbBox3f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f point) -> SbBool\n" - "SbBox3f_intersect(SbBox3f self, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SbBox3f_setBounds", _wrap_SbBox3f_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(float minx, float miny, float minz, float maxx, float maxy, \n" - " float maxz)\n" - "SbBox3f_setBounds(SbBox3f self, SbVec3f min, SbVec3f max)\n" - ""}, - { (char *)"SbBox3f_getBounds", _wrap_SbBox3f_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(float minx, float miny, float minz, float maxx, float maxy, \n" - " float maxz)\n" - "SbBox3f_getBounds(SbBox3f self, SbVec3f min, SbVec3f max)\n" - ""}, - { (char *)"SbBox3f_getOrigin", _wrap_SbBox3f_getOrigin, METH_VARARGS, (char *)"SbBox3f_getOrigin(SbBox3f self, float x0, float y0, float z0)"}, - { (char *)"SbBox3f_getSize", _wrap_SbBox3f_getSize, METH_VARARGS, (char *)"SbBox3f_getSize(SbBox3f self, float dx, float dy, float dz)"}, - { (char *)"SbBox3f_makeEmpty", _wrap_SbBox3f_makeEmpty, METH_VARARGS, (char *)"SbBox3f_makeEmpty(SbBox3f self)"}, - { (char *)"SbBox3f_isEmpty", _wrap_SbBox3f_isEmpty, METH_VARARGS, (char *)"SbBox3f_isEmpty(SbBox3f self) -> SbBool"}, - { (char *)"SbBox3f_hasVolume", _wrap_SbBox3f_hasVolume, METH_VARARGS, (char *)"SbBox3f_hasVolume(SbBox3f self) -> SbBool"}, - { (char *)"SbBox3f_getSpan", _wrap_SbBox3f_getSpan, METH_VARARGS, (char *)"SbBox3f_getSpan(SbBox3f self, SbVec3f dir, float dmin, float dmax)"}, - { (char *)"SbBox3f_transform", _wrap_SbBox3f_transform, METH_VARARGS, (char *)"SbBox3f_transform(SbBox3f self, SbMatrix matrix)"}, - { (char *)"SbBox3f_getVolume", _wrap_SbBox3f_getVolume, METH_VARARGS, (char *)"SbBox3f_getVolume(SbBox3f self) -> float"}, - { (char *)"SbBox3f_outside", _wrap_SbBox3f_outside, METH_VARARGS, (char *)"SbBox3f_outside(SbBox3f self, SbMatrix mvp, int cullbits) -> SbBool"}, - { (char *)"SbBox3f_getClosestPoint", _wrap_SbBox3f_getClosestPoint, METH_VARARGS, (char *)"SbBox3f_getClosestPoint(SbBox3f self, SbVec3f point) -> SbVec3f"}, - { (char *)"SbBox3f_output", _wrap_SbBox3f_output, METH_VARARGS, (char *)"SbBox3f_output(SbBox3f self, FILE file)"}, - { (char *)"SbBox3f___eq__", _wrap_SbBox3f___eq__, METH_VARARGS, (char *)"SbBox3f___eq__(SbBox3f self, SbBox3f u) -> int"}, - { (char *)"SbBox3f___ne__", _wrap_SbBox3f___ne__, METH_VARARGS, (char *)"SbBox3f___ne__(SbBox3f self, SbBox3f u) -> int"}, - { (char *)"SbBox3f_swigregister", SbBox3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbMatrix", _wrap_new_SbMatrix, METH_VARARGS, (char *)"\n" - "SbMatrix()\n" - "SbMatrix(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SbMatrix(SbMat matrix)\n" - "new_SbMatrix(SbMat matrix) -> SbMatrix\n" - ""}, - { (char *)"delete_SbMatrix", _wrap_delete_SbMatrix, METH_VARARGS, (char *)"delete_SbMatrix(SbMatrix self)"}, - { (char *)"SbMatrix_setValue", _wrap_SbMatrix_setValue, METH_VARARGS, (char *)"SbMatrix_setValue(SbMatrix self, SbMat m)"}, - { (char *)"SbMatrix_makeIdentity", _wrap_SbMatrix_makeIdentity, METH_VARARGS, (char *)"SbMatrix_makeIdentity(SbMatrix self)"}, - { (char *)"SbMatrix_setRotate", _wrap_SbMatrix_setRotate, METH_VARARGS, (char *)"SbMatrix_setRotate(SbMatrix self, SbRotation q)"}, - { (char *)"SbMatrix_inverse", _wrap_SbMatrix_inverse, METH_VARARGS, (char *)"SbMatrix_inverse(SbMatrix self) -> SbMatrix"}, - { (char *)"SbMatrix_det3", _wrap_SbMatrix_det3, METH_VARARGS, (char *)"\n" - "det3(int r1, int r2, int r3, int c1, int c2, int c3) -> float\n" - "SbMatrix_det3(SbMatrix self) -> float\n" - ""}, - { (char *)"SbMatrix_det4", _wrap_SbMatrix_det4, METH_VARARGS, (char *)"SbMatrix_det4(SbMatrix self) -> float"}, - { (char *)"SbMatrix_equals", _wrap_SbMatrix_equals, METH_VARARGS, (char *)"SbMatrix_equals(SbMatrix self, SbMatrix m, float tolerance) -> SbBool"}, - { (char *)"SbMatrix___imul__", _wrap_SbMatrix___imul__, METH_VARARGS, (char *)"SbMatrix___imul__(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_getValue", _wrap_SbMatrix_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbMat\n" - "SbMatrix_getValue(SbMatrix self, SbMat m)\n" - ""}, - { (char *)"SbMatrix_identity", _wrap_SbMatrix_identity, METH_VARARGS, (char *)"SbMatrix_identity() -> SbMatrix"}, - { (char *)"SbMatrix_setScale", _wrap_SbMatrix_setScale, METH_VARARGS, (char *)"\n" - "setScale(float s)\n" - "SbMatrix_setScale(SbMatrix self, SbVec3f s)\n" - ""}, - { (char *)"SbMatrix_setTranslate", _wrap_SbMatrix_setTranslate, METH_VARARGS, (char *)"SbMatrix_setTranslate(SbMatrix self, SbVec3f t)"}, - { (char *)"SbMatrix_setTransform", _wrap_SbMatrix_setTransform, METH_VARARGS, (char *)"\n" - "setTransform(SbVec3f t, SbRotation r, SbVec3f s)\n" - "setTransform(SbVec3f t, SbRotation r, SbVec3f s, SbRotation so)\n" - "SbMatrix_setTransform(SbMatrix self, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scaleFactor, SbRotation scaleOrientation, \n" - " SbVec3f center)\n" - ""}, - { (char *)"SbMatrix_factor", _wrap_SbMatrix_factor, METH_VARARGS, (char *)"\n" - "SbMatrix_factor(SbMatrix self, SbMatrix r, SbVec3f s, SbMatrix u, SbVec3f t, \n" - " SbMatrix proj) -> SbBool\n" - ""}, - { (char *)"SbMatrix_LUDecomposition", _wrap_SbMatrix_LUDecomposition, METH_VARARGS, (char *)"SbMatrix_LUDecomposition(SbMatrix self, int index, float d) -> SbBool"}, - { (char *)"SbMatrix_LUBackSubstitution", _wrap_SbMatrix_LUBackSubstitution, METH_VARARGS, (char *)"SbMatrix_LUBackSubstitution(SbMatrix self, int index, float b)"}, - { (char *)"SbMatrix_transpose", _wrap_SbMatrix_transpose, METH_VARARGS, (char *)"SbMatrix_transpose(SbMatrix self) -> SbMatrix"}, - { (char *)"SbMatrix_multRight", _wrap_SbMatrix_multRight, METH_VARARGS, (char *)"SbMatrix_multRight(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_multLeft", _wrap_SbMatrix_multLeft, METH_VARARGS, (char *)"SbMatrix_multLeft(SbMatrix self, SbMatrix m) -> SbMatrix"}, - { (char *)"SbMatrix_multMatrixVec", _wrap_SbMatrix_multMatrixVec, METH_VARARGS, (char *)"SbMatrix_multMatrixVec(SbMatrix self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbMatrix_multDirMatrix", _wrap_SbMatrix_multDirMatrix, METH_VARARGS, (char *)"SbMatrix_multDirMatrix(SbMatrix self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbMatrix_multLineMatrix", _wrap_SbMatrix_multLineMatrix, METH_VARARGS, (char *)"SbMatrix_multLineMatrix(SbMatrix self, SbLine src, SbLine dst)"}, - { (char *)"SbMatrix_multVecMatrix", _wrap_SbMatrix_multVecMatrix, METH_VARARGS, (char *)"\n" - "multVecMatrix(SbVec3f src, SbVec3f dst)\n" - "SbMatrix_multVecMatrix(SbMatrix self, SbVec4f src, SbVec4f dst)\n" - ""}, - { (char *)"SbMatrix_output", _wrap_SbMatrix_output, METH_VARARGS, (char *)"SbMatrix_output(SbMatrix self, FILE fp)"}, - { (char *)"SbMatrix_getTransform", _wrap_SbMatrix_getTransform, METH_VARARGS, (char *)"\n" - "getTransform(SbVec3f t, SbRotation r, SbVec3f s, SbRotation so)\n" - "getTransform() -> PyObject\n" - "SbMatrix_getTransform(SbMatrix self, SbVec3f center) -> PyObject\n" - ""}, - { (char *)"SbMatrix___mul__", _wrap_SbMatrix___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbMatrix u) -> SbMatrix\n" - "SbMatrix___mul__(SbMatrix self, SbVec3f u) -> SbVec3f\n" - ""}, - { (char *)"SbMatrix___rmul__", _wrap_SbMatrix___rmul__, METH_VARARGS, (char *)"SbMatrix___rmul__(SbMatrix self, SbVec3f u) -> SbVec3f"}, - { (char *)"SbMatrix___eq__", _wrap_SbMatrix___eq__, METH_VARARGS, (char *)"SbMatrix___eq__(SbMatrix self, SbMatrix u) -> int"}, - { (char *)"SbMatrix___ne__", _wrap_SbMatrix___ne__, METH_VARARGS, (char *)"SbMatrix___ne__(SbMatrix self, SbMatrix u) -> int"}, - { (char *)"SbMatrix___getitem__", _wrap_SbMatrix___getitem__, METH_VARARGS, (char *)"SbMatrix___getitem__(SbMatrix self, int i) -> float"}, - { (char *)"SbMatrix_swigregister", SbMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbXfBox3f", _wrap_new_SbXfBox3f, METH_VARARGS, (char *)"\n" - "SbXfBox3f()\n" - "SbXfBox3f(SbVec3f boxmin, SbVec3f boxmax)\n" - "new_SbXfBox3f(SbBox3f box) -> SbXfBox3f\n" - ""}, - { (char *)"delete_SbXfBox3f", _wrap_delete_SbXfBox3f, METH_VARARGS, (char *)"delete_SbXfBox3f(SbXfBox3f self)"}, - { (char *)"SbXfBox3f_setTransform", _wrap_SbXfBox3f_setTransform, METH_VARARGS, (char *)"SbXfBox3f_setTransform(SbXfBox3f self, SbMatrix m)"}, - { (char *)"SbXfBox3f_getTransform", _wrap_SbXfBox3f_getTransform, METH_VARARGS, (char *)"SbXfBox3f_getTransform(SbXfBox3f self) -> SbMatrix"}, - { (char *)"SbXfBox3f_getInverse", _wrap_SbXfBox3f_getInverse, METH_VARARGS, (char *)"SbXfBox3f_getInverse(SbXfBox3f self) -> SbMatrix"}, - { (char *)"SbXfBox3f_getCenter", _wrap_SbXfBox3f_getCenter, METH_VARARGS, (char *)"SbXfBox3f_getCenter(SbXfBox3f self) -> SbVec3f"}, - { (char *)"SbXfBox3f_extendBy", _wrap_SbXfBox3f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3f pt)\n" - "extendBy(SbBox3f bb)\n" - "SbXfBox3f_extendBy(SbXfBox3f self, SbXfBox3f bb)\n" - ""}, - { (char *)"SbXfBox3f_intersect", _wrap_SbXfBox3f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f pt) -> SbBool\n" - "intersect(SbBox3f bb) -> SbBool\n" - "SbXfBox3f_intersect(SbXfBox3f self, SbXfBox3f bb) -> SbBool\n" - ""}, - { (char *)"SbXfBox3f_getSpan", _wrap_SbXfBox3f_getSpan, METH_VARARGS, (char *)"SbXfBox3f_getSpan(SbXfBox3f self, SbVec3f direction, float dMin, float dMax)"}, - { (char *)"SbXfBox3f_project", _wrap_SbXfBox3f_project, METH_VARARGS, (char *)"SbXfBox3f_project(SbXfBox3f self) -> SbBox3f"}, - { (char *)"SbXfBox3f_transform", _wrap_SbXfBox3f_transform, METH_VARARGS, (char *)"SbXfBox3f_transform(SbXfBox3f self, SbMatrix m)"}, - { (char *)"SbXfBox3f_getVolume", _wrap_SbXfBox3f_getVolume, METH_VARARGS, (char *)"SbXfBox3f_getVolume(SbXfBox3f self) -> float"}, - { (char *)"SbXfBox3f_output", _wrap_SbXfBox3f_output, METH_VARARGS, (char *)"SbXfBox3f_output(SbXfBox3f self, FILE file)"}, - { (char *)"SbXfBox3f___eq__", _wrap_SbXfBox3f___eq__, METH_VARARGS, (char *)"SbXfBox3f___eq__(SbXfBox3f self, SbXfBox3f u) -> int"}, - { (char *)"SbXfBox3f___ne__", _wrap_SbXfBox3f___ne__, METH_VARARGS, (char *)"SbXfBox3f___ne__(SbXfBox3f self, SbXfBox3f u) -> int"}, - { (char *)"SbXfBox3f_swigregister", SbXfBox3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetBoundingBoxAction_getTypeId", _wrap_SoGetBoundingBoxAction_getTypeId, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getTypeId(SoGetBoundingBoxAction self) -> SoType"}, - { (char *)"SoGetBoundingBoxAction_getClassTypeId", _wrap_SoGetBoundingBoxAction_getClassTypeId, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetBoundingBoxAction_addMethod", _wrap_SoGetBoundingBoxAction_addMethod, METH_VARARGS, (char *)"SoGetBoundingBoxAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetBoundingBoxAction_enableElement", _wrap_SoGetBoundingBoxAction_enableElement, METH_VARARGS, (char *)"SoGetBoundingBoxAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoGetBoundingBoxAction", _wrap_new_SoGetBoundingBoxAction, METH_VARARGS, (char *)"new_SoGetBoundingBoxAction(SbViewportRegion vp) -> SoGetBoundingBoxAction"}, - { (char *)"delete_SoGetBoundingBoxAction", _wrap_delete_SoGetBoundingBoxAction, METH_VARARGS, (char *)"delete_SoGetBoundingBoxAction(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_initClass", _wrap_SoGetBoundingBoxAction_initClass, METH_VARARGS, (char *)"SoGetBoundingBoxAction_initClass()"}, - { (char *)"SoGetBoundingBoxAction_setViewportRegion", _wrap_SoGetBoundingBoxAction_setViewportRegion, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setViewportRegion(SoGetBoundingBoxAction self, SbViewportRegion newregion)"}, - { (char *)"SoGetBoundingBoxAction_getViewportRegion", _wrap_SoGetBoundingBoxAction_getViewportRegion, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getViewportRegion(SoGetBoundingBoxAction self) -> SbViewportRegion"}, - { (char *)"SoGetBoundingBoxAction_getBoundingBox", _wrap_SoGetBoundingBoxAction_getBoundingBox, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getBoundingBox(SoGetBoundingBoxAction self) -> SbBox3f"}, - { (char *)"SoGetBoundingBoxAction_getXfBoundingBox", _wrap_SoGetBoundingBoxAction_getXfBoundingBox, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getXfBoundingBox(SoGetBoundingBoxAction self) -> SbXfBox3f"}, - { (char *)"SoGetBoundingBoxAction_getCenter", _wrap_SoGetBoundingBoxAction_getCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getCenter(SoGetBoundingBoxAction self) -> SbVec3f"}, - { (char *)"SoGetBoundingBoxAction_setInCameraSpace", _wrap_SoGetBoundingBoxAction_setInCameraSpace, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setInCameraSpace(SoGetBoundingBoxAction self, SbBool flag)"}, - { (char *)"SoGetBoundingBoxAction_isInCameraSpace", _wrap_SoGetBoundingBoxAction_isInCameraSpace, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isInCameraSpace(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_setResetPath", _wrap_SoGetBoundingBoxAction_setResetPath, METH_VARARGS, (char *)"\n" - "setResetPath(SoPath path, SbBool resetbefore=1, ResetType what=ALL)\n" - "setResetPath(SoPath path, SbBool resetbefore=1)\n" - "SoGetBoundingBoxAction_setResetPath(SoGetBoundingBoxAction self, SoPath path)\n" - ""}, - { (char *)"SoGetBoundingBoxAction_getResetPath", _wrap_SoGetBoundingBoxAction_getResetPath, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getResetPath(SoGetBoundingBoxAction self) -> SoPath"}, - { (char *)"SoGetBoundingBoxAction_isResetPath", _wrap_SoGetBoundingBoxAction_isResetPath, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isResetPath(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_isResetBefore", _wrap_SoGetBoundingBoxAction_isResetBefore, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isResetBefore(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_getWhatReset", _wrap_SoGetBoundingBoxAction_getWhatReset, METH_VARARGS, (char *)"SoGetBoundingBoxAction_getWhatReset(SoGetBoundingBoxAction self) -> ResetType"}, - { (char *)"SoGetBoundingBoxAction_checkResetBefore", _wrap_SoGetBoundingBoxAction_checkResetBefore, METH_VARARGS, (char *)"SoGetBoundingBoxAction_checkResetBefore(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_checkResetAfter", _wrap_SoGetBoundingBoxAction_checkResetAfter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_checkResetAfter(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_extendBy", _wrap_SoGetBoundingBoxAction_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbBox3f box)\n" - "SoGetBoundingBoxAction_extendBy(SoGetBoundingBoxAction self, SbXfBox3f box)\n" - ""}, - { (char *)"SoGetBoundingBoxAction_setCenter", _wrap_SoGetBoundingBoxAction_setCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_setCenter(SoGetBoundingBoxAction self, SbVec3f center, SbBool transformcenter)"}, - { (char *)"SoGetBoundingBoxAction_isCenterSet", _wrap_SoGetBoundingBoxAction_isCenterSet, METH_VARARGS, (char *)"SoGetBoundingBoxAction_isCenterSet(SoGetBoundingBoxAction self) -> SbBool"}, - { (char *)"SoGetBoundingBoxAction_resetCenter", _wrap_SoGetBoundingBoxAction_resetCenter, METH_VARARGS, (char *)"SoGetBoundingBoxAction_resetCenter(SoGetBoundingBoxAction self)"}, - { (char *)"SoGetBoundingBoxAction_swigregister", SoGetBoundingBoxAction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4f", _wrap_new_SbVec4f, METH_VARARGS, (char *)"\n" - "SbVec4f()\n" - "SbVec4f(float v)\n" - "new_SbVec4f(float x, float y, float z, float w) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f_dot", _wrap_SbVec4f_dot, METH_VARARGS, (char *)"SbVec4f_dot(SbVec4f self, SbVec4f v) -> float"}, - { (char *)"SbVec4f_equals", _wrap_SbVec4f_equals, METH_VARARGS, (char *)"SbVec4f_equals(SbVec4f self, SbVec4f v, float tolerance) -> SbBool"}, - { (char *)"SbVec4f_getReal", _wrap_SbVec4f_getReal, METH_VARARGS, (char *)"SbVec4f_getReal(SbVec4f self, SbVec3f v)"}, - { (char *)"SbVec4f_getValue", _wrap_SbVec4f_getValue, METH_VARARGS, (char *)"SbVec4f_getValue(SbVec4f self) -> float"}, - { (char *)"SbVec4f_length", _wrap_SbVec4f_length, METH_VARARGS, (char *)"SbVec4f_length(SbVec4f self) -> float"}, - { (char *)"SbVec4f_negate", _wrap_SbVec4f_negate, METH_VARARGS, (char *)"SbVec4f_negate(SbVec4f self)"}, - { (char *)"SbVec4f_normalize", _wrap_SbVec4f_normalize, METH_VARARGS, (char *)"SbVec4f_normalize(SbVec4f self) -> float"}, - { (char *)"SbVec4f_setValue", _wrap_SbVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float v) -> SbVec4f\n" - "SbVec4f_setValue(SbVec4f self, float x, float y, float z, float w) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f___imul__", _wrap_SbVec4f___imul__, METH_VARARGS, (char *)"SbVec4f___imul__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___idiv__", _wrap_SbVec4f___idiv__, METH_VARARGS, (char *)"SbVec4f___idiv__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___iadd__", _wrap_SbVec4f___iadd__, METH_VARARGS, (char *)"SbVec4f___iadd__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___isub__", _wrap_SbVec4f___isub__, METH_VARARGS, (char *)"SbVec4f___isub__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___neg__", _wrap_SbVec4f___neg__, METH_VARARGS, (char *)"SbVec4f___neg__(SbVec4f self) -> SbVec4f"}, - { (char *)"SbVec4f_output", _wrap_SbVec4f_output, METH_VARARGS, (char *)"SbVec4f_output(SbVec4f self, FILE fp)"}, - { (char *)"SbVec4f___add__", _wrap_SbVec4f___add__, METH_VARARGS, (char *)"SbVec4f___add__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___sub__", _wrap_SbVec4f___sub__, METH_VARARGS, (char *)"SbVec4f___sub__(SbVec4f self, SbVec4f u) -> SbVec4f"}, - { (char *)"SbVec4f___mul__", _wrap_SbVec4f___mul__, METH_VARARGS, (char *)"\n" - "__mul__(float d) -> SbVec4f\n" - "SbVec4f___mul__(SbVec4f self, SbMatrix m) -> SbVec4f\n" - ""}, - { (char *)"SbVec4f___rmul__", _wrap_SbVec4f___rmul__, METH_VARARGS, (char *)"SbVec4f___rmul__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___div__", _wrap_SbVec4f___div__, METH_VARARGS, (char *)"SbVec4f___div__(SbVec4f self, float d) -> SbVec4f"}, - { (char *)"SbVec4f___eq__", _wrap_SbVec4f___eq__, METH_VARARGS, (char *)"SbVec4f___eq__(SbVec4f self, SbVec4f u) -> int"}, - { (char *)"SbVec4f___nq__", _wrap_SbVec4f___nq__, METH_VARARGS, (char *)"SbVec4f___nq__(SbVec4f self, SbVec4f u) -> int"}, - { (char *)"SbVec4f___getitem__", _wrap_SbVec4f___getitem__, METH_VARARGS, (char *)"SbVec4f___getitem__(SbVec4f self, int i) -> float"}, - { (char *)"SbVec4f___setitem__", _wrap_SbVec4f___setitem__, METH_VARARGS, (char *)"SbVec4f___setitem__(SbVec4f self, int i, float value)"}, - { (char *)"delete_SbVec4f", _wrap_delete_SbVec4f, METH_VARARGS, (char *)"delete_SbVec4f(SbVec4f self)"}, - { (char *)"SbVec4f_swigregister", SbVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbRotation", _wrap_new_SbRotation, METH_VARARGS, (char *)"\n" - "SbRotation()\n" - "SbRotation(SbVec3f axis, float radians)\n" - "SbRotation(float q)\n" - "SbRotation(float q0, float q1, float q2, float q3)\n" - "SbRotation(SbMatrix m)\n" - "new_SbRotation(SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation\n" - ""}, - { (char *)"SbRotation_getValue", _wrap_SbRotation_getValue, METH_VARARGS, (char *)"SbRotation_getValue(SbRotation self) -> float"}, - { (char *)"SbRotation_getAxisAngle", _wrap_SbRotation_getAxisAngle, METH_VARARGS, (char *)"SbRotation_getAxisAngle(SbRotation self, SbVec3f axis, float radians)"}, - { (char *)"SbRotation_getMatrix", _wrap_SbRotation_getMatrix, METH_VARARGS, (char *)"SbRotation_getMatrix(SbRotation self, SbMatrix matrix)"}, - { (char *)"SbRotation_invert", _wrap_SbRotation_invert, METH_VARARGS, (char *)"SbRotation_invert(SbRotation self) -> SbRotation"}, - { (char *)"SbRotation_inverse", _wrap_SbRotation_inverse, METH_VARARGS, (char *)"SbRotation_inverse(SbRotation self) -> SbRotation"}, - { (char *)"SbRotation_setValue", _wrap_SbRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(float q0, float q1, float q2, float q3) -> SbRotation\n" - "setValue(float q) -> SbRotation\n" - "setValue(SbMatrix m) -> SbRotation\n" - "setValue(SbVec3f axis, float radians) -> SbRotation\n" - "SbRotation_setValue(SbRotation self, SbVec3f rotateFrom, SbVec3f rotateTo) -> SbRotation\n" - ""}, - { (char *)"SbRotation___imul__", _wrap_SbRotation___imul__, METH_VARARGS, (char *)"\n" - "__imul__(SbRotation q) -> SbRotation\n" - "SbRotation___imul__(SbRotation self, float s) -> SbRotation\n" - ""}, - { (char *)"SbRotation_equals", _wrap_SbRotation_equals, METH_VARARGS, (char *)"SbRotation_equals(SbRotation self, SbRotation r, float tolerance) -> SbBool"}, - { (char *)"SbRotation_multVec", _wrap_SbRotation_multVec, METH_VARARGS, (char *)"SbRotation_multVec(SbRotation self, SbVec3f src, SbVec3f dst)"}, - { (char *)"SbRotation_scaleAngle", _wrap_SbRotation_scaleAngle, METH_VARARGS, (char *)"SbRotation_scaleAngle(SbRotation self, float scaleFactor)"}, - { (char *)"SbRotation_slerp", _wrap_SbRotation_slerp, METH_VARARGS, (char *)"SbRotation_slerp(SbRotation rot0, SbRotation rot1, float t) -> SbRotation"}, - { (char *)"SbRotation_identity", _wrap_SbRotation_identity, METH_VARARGS, (char *)"SbRotation_identity() -> SbRotation"}, - { (char *)"SbRotation_output", _wrap_SbRotation_output, METH_VARARGS, (char *)"SbRotation_output(SbRotation self, FILE fp)"}, - { (char *)"SbRotation___mul__", _wrap_SbRotation___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbRotation u) -> SbRotation\n" - "__mul__(double d) -> SbRotation\n" - "SbRotation___mul__(SbRotation self, SbVec3f v) -> SbVec3f\n" - ""}, - { (char *)"SbRotation___eq__", _wrap_SbRotation___eq__, METH_VARARGS, (char *)"SbRotation___eq__(SbRotation self, SbRotation u) -> int"}, - { (char *)"SbRotation___nq__", _wrap_SbRotation___nq__, METH_VARARGS, (char *)"SbRotation___nq__(SbRotation self, SbRotation u) -> int"}, - { (char *)"delete_SbRotation", _wrap_delete_SbRotation, METH_VARARGS, (char *)"delete_SbRotation(SbRotation self)"}, - { (char *)"SbRotation_swigregister", SbRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetMatrixAction_getTypeId", _wrap_SoGetMatrixAction_getTypeId, METH_VARARGS, (char *)"SoGetMatrixAction_getTypeId(SoGetMatrixAction self) -> SoType"}, - { (char *)"SoGetMatrixAction_getClassTypeId", _wrap_SoGetMatrixAction_getClassTypeId, METH_VARARGS, (char *)"SoGetMatrixAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetMatrixAction_addMethod", _wrap_SoGetMatrixAction_addMethod, METH_VARARGS, (char *)"SoGetMatrixAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetMatrixAction_enableElement", _wrap_SoGetMatrixAction_enableElement, METH_VARARGS, (char *)"SoGetMatrixAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoGetMatrixAction", _wrap_new_SoGetMatrixAction, METH_VARARGS, (char *)"new_SoGetMatrixAction(SbViewportRegion region) -> SoGetMatrixAction"}, - { (char *)"delete_SoGetMatrixAction", _wrap_delete_SoGetMatrixAction, METH_VARARGS, (char *)"delete_SoGetMatrixAction(SoGetMatrixAction self)"}, - { (char *)"SoGetMatrixAction_initClass", _wrap_SoGetMatrixAction_initClass, METH_VARARGS, (char *)"SoGetMatrixAction_initClass()"}, - { (char *)"SoGetMatrixAction_setViewportRegion", _wrap_SoGetMatrixAction_setViewportRegion, METH_VARARGS, (char *)"SoGetMatrixAction_setViewportRegion(SoGetMatrixAction self, SbViewportRegion region)"}, - { (char *)"SoGetMatrixAction_getViewportRegion", _wrap_SoGetMatrixAction_getViewportRegion, METH_VARARGS, (char *)"SoGetMatrixAction_getViewportRegion(SoGetMatrixAction self) -> SbViewportRegion"}, - { (char *)"SoGetMatrixAction_getMatrix", _wrap_SoGetMatrixAction_getMatrix, METH_VARARGS, (char *)"SoGetMatrixAction_getMatrix(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getInverse", _wrap_SoGetMatrixAction_getInverse, METH_VARARGS, (char *)"SoGetMatrixAction_getInverse(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getTextureMatrix", _wrap_SoGetMatrixAction_getTextureMatrix, METH_VARARGS, (char *)"SoGetMatrixAction_getTextureMatrix(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_getTextureInverse", _wrap_SoGetMatrixAction_getTextureInverse, METH_VARARGS, (char *)"SoGetMatrixAction_getTextureInverse(SoGetMatrixAction self) -> SbMatrix"}, - { (char *)"SoGetMatrixAction_swigregister", SoGetMatrixAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGetPrimitiveCountAction_getTypeId", _wrap_SoGetPrimitiveCountAction_getTypeId, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTypeId(SoGetPrimitiveCountAction self) -> SoType"}, - { (char *)"SoGetPrimitiveCountAction_getClassTypeId", _wrap_SoGetPrimitiveCountAction_getClassTypeId, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getClassTypeId() -> SoType"}, - { (char *)"SoGetPrimitiveCountAction_addMethod", _wrap_SoGetPrimitiveCountAction_addMethod, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoGetPrimitiveCountAction_enableElement", _wrap_SoGetPrimitiveCountAction_enableElement, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoGetPrimitiveCountAction", _wrap_new_SoGetPrimitiveCountAction, METH_VARARGS, (char *)"new_SoGetPrimitiveCountAction() -> SoGetPrimitiveCountAction"}, - { (char *)"delete_SoGetPrimitiveCountAction", _wrap_delete_SoGetPrimitiveCountAction, METH_VARARGS, (char *)"delete_SoGetPrimitiveCountAction(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_initClass", _wrap_SoGetPrimitiveCountAction_initClass, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_initClass()"}, - { (char *)"SoGetPrimitiveCountAction_getTriangleCount", _wrap_SoGetPrimitiveCountAction_getTriangleCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTriangleCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getLineCount", _wrap_SoGetPrimitiveCountAction_getLineCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getLineCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getPointCount", _wrap_SoGetPrimitiveCountAction_getPointCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getPointCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getTextCount", _wrap_SoGetPrimitiveCountAction_getTextCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getTextCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_getImageCount", _wrap_SoGetPrimitiveCountAction_getImageCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getImageCount(SoGetPrimitiveCountAction self) -> int"}, - { (char *)"SoGetPrimitiveCountAction_containsNoPrimitives", _wrap_SoGetPrimitiveCountAction_containsNoPrimitives, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_containsNoPrimitives(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes", _wrap_SoGetPrimitiveCountAction_containsNonTriangleShapes, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_containsNonTriangleShapes(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles", _wrap_SoGetPrimitiveCountAction_is3DTextCountedAsTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_is3DTextCountedAsTriangles(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles", _wrap_SoGetPrimitiveCountAction_setCount3DTextAsTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_setCount3DTextAsTriangles(SoGetPrimitiveCountAction self, SbBool flag)"}, - { (char *)"SoGetPrimitiveCountAction_canApproximateCount", _wrap_SoGetPrimitiveCountAction_canApproximateCount, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_canApproximateCount(SoGetPrimitiveCountAction self) -> SbBool"}, - { (char *)"SoGetPrimitiveCountAction_setCanApproximate", _wrap_SoGetPrimitiveCountAction_setCanApproximate, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_setCanApproximate(SoGetPrimitiveCountAction self, SbBool flag)"}, - { (char *)"SoGetPrimitiveCountAction_setDecimationValue", _wrap_SoGetPrimitiveCountAction_setDecimationValue, METH_VARARGS, (char *)"\n" - "setDecimationValue(Type type, float percentage=1.0)\n" - "SoGetPrimitiveCountAction_setDecimationValue(SoGetPrimitiveCountAction self, Type type)\n" - ""}, - { (char *)"SoGetPrimitiveCountAction_getDecimationType", _wrap_SoGetPrimitiveCountAction_getDecimationType, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getDecimationType(SoGetPrimitiveCountAction self) -> Type"}, - { (char *)"SoGetPrimitiveCountAction_getDecimationPercentage", _wrap_SoGetPrimitiveCountAction_getDecimationPercentage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_getDecimationPercentage(SoGetPrimitiveCountAction self) -> float"}, - { (char *)"SoGetPrimitiveCountAction_addNumTriangles", _wrap_SoGetPrimitiveCountAction_addNumTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumTriangles(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumLines", _wrap_SoGetPrimitiveCountAction_addNumLines, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumLines(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumPoints", _wrap_SoGetPrimitiveCountAction_addNumPoints, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumPoints(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumText", _wrap_SoGetPrimitiveCountAction_addNumText, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumText(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_addNumImage", _wrap_SoGetPrimitiveCountAction_addNumImage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_addNumImage(SoGetPrimitiveCountAction self, int num)"}, - { (char *)"SoGetPrimitiveCountAction_incNumTriangles", _wrap_SoGetPrimitiveCountAction_incNumTriangles, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumTriangles(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumLines", _wrap_SoGetPrimitiveCountAction_incNumLines, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumLines(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumPoints", _wrap_SoGetPrimitiveCountAction_incNumPoints, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumPoints(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumText", _wrap_SoGetPrimitiveCountAction_incNumText, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumText(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_incNumImage", _wrap_SoGetPrimitiveCountAction_incNumImage, METH_VARARGS, (char *)"SoGetPrimitiveCountAction_incNumImage(SoGetPrimitiveCountAction self)"}, - { (char *)"SoGetPrimitiveCountAction_swigregister", SoGetPrimitiveCountAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleEventAction_getTypeId", _wrap_SoHandleEventAction_getTypeId, METH_VARARGS, (char *)"SoHandleEventAction_getTypeId(SoHandleEventAction self) -> SoType"}, - { (char *)"SoHandleEventAction_getClassTypeId", _wrap_SoHandleEventAction_getClassTypeId, METH_VARARGS, (char *)"SoHandleEventAction_getClassTypeId() -> SoType"}, - { (char *)"SoHandleEventAction_addMethod", _wrap_SoHandleEventAction_addMethod, METH_VARARGS, (char *)"SoHandleEventAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoHandleEventAction_enableElement", _wrap_SoHandleEventAction_enableElement, METH_VARARGS, (char *)"SoHandleEventAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoHandleEventAction", _wrap_new_SoHandleEventAction, METH_VARARGS, (char *)"new_SoHandleEventAction(SbViewportRegion viewportregion) -> SoHandleEventAction"}, - { (char *)"delete_SoHandleEventAction", _wrap_delete_SoHandleEventAction, METH_VARARGS, (char *)"delete_SoHandleEventAction(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_initClass", _wrap_SoHandleEventAction_initClass, METH_VARARGS, (char *)"SoHandleEventAction_initClass()"}, - { (char *)"SoHandleEventAction_setViewportRegion", _wrap_SoHandleEventAction_setViewportRegion, METH_VARARGS, (char *)"SoHandleEventAction_setViewportRegion(SoHandleEventAction self, SbViewportRegion newregion)"}, - { (char *)"SoHandleEventAction_getViewportRegion", _wrap_SoHandleEventAction_getViewportRegion, METH_VARARGS, (char *)"SoHandleEventAction_getViewportRegion(SoHandleEventAction self) -> SbViewportRegion"}, - { (char *)"SoHandleEventAction_setEvent", _wrap_SoHandleEventAction_setEvent, METH_VARARGS, (char *)"SoHandleEventAction_setEvent(SoHandleEventAction self, SoEvent ev)"}, - { (char *)"SoHandleEventAction_getEvent", _wrap_SoHandleEventAction_getEvent, METH_VARARGS, (char *)"SoHandleEventAction_getEvent(SoHandleEventAction self) -> SoEvent"}, - { (char *)"SoHandleEventAction_setHandled", _wrap_SoHandleEventAction_setHandled, METH_VARARGS, (char *)"SoHandleEventAction_setHandled(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_isHandled", _wrap_SoHandleEventAction_isHandled, METH_VARARGS, (char *)"SoHandleEventAction_isHandled(SoHandleEventAction self) -> SbBool"}, - { (char *)"SoHandleEventAction_setGrabber", _wrap_SoHandleEventAction_setGrabber, METH_VARARGS, (char *)"SoHandleEventAction_setGrabber(SoHandleEventAction self, SoNode node)"}, - { (char *)"SoHandleEventAction_releaseGrabber", _wrap_SoHandleEventAction_releaseGrabber, METH_VARARGS, (char *)"SoHandleEventAction_releaseGrabber(SoHandleEventAction self)"}, - { (char *)"SoHandleEventAction_getGrabber", _wrap_SoHandleEventAction_getGrabber, METH_VARARGS, (char *)"SoHandleEventAction_getGrabber(SoHandleEventAction self) -> SoNode"}, - { (char *)"SoHandleEventAction_setPickRoot", _wrap_SoHandleEventAction_setPickRoot, METH_VARARGS, (char *)"SoHandleEventAction_setPickRoot(SoHandleEventAction self, SoNode node)"}, - { (char *)"SoHandleEventAction_getPickRoot", _wrap_SoHandleEventAction_getPickRoot, METH_VARARGS, (char *)"SoHandleEventAction_getPickRoot(SoHandleEventAction self) -> SoNode"}, - { (char *)"SoHandleEventAction_setPickRadius", _wrap_SoHandleEventAction_setPickRadius, METH_VARARGS, (char *)"SoHandleEventAction_setPickRadius(SoHandleEventAction self, float radiusinpixels)"}, - { (char *)"SoHandleEventAction_getPickedPoint", _wrap_SoHandleEventAction_getPickedPoint, METH_VARARGS, (char *)"SoHandleEventAction_getPickedPoint(SoHandleEventAction self) -> SoPickedPoint"}, - { (char *)"SoHandleEventAction_getPickedPointList", _wrap_SoHandleEventAction_getPickedPointList, METH_VARARGS, (char *)"SoHandleEventAction_getPickedPointList(SoHandleEventAction self) -> SoPickedPointList"}, - { (char *)"SoHandleEventAction_swigregister", SoHandleEventAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickAction_getTypeId", _wrap_SoPickAction_getTypeId, METH_VARARGS, (char *)"SoPickAction_getTypeId(SoPickAction self) -> SoType"}, - { (char *)"SoPickAction_getClassTypeId", _wrap_SoPickAction_getClassTypeId, METH_VARARGS, (char *)"SoPickAction_getClassTypeId() -> SoType"}, - { (char *)"SoPickAction_addMethod", _wrap_SoPickAction_addMethod, METH_VARARGS, (char *)"SoPickAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoPickAction_enableElement", _wrap_SoPickAction_enableElement, METH_VARARGS, (char *)"SoPickAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoPickAction_initClass", _wrap_SoPickAction_initClass, METH_VARARGS, (char *)"SoPickAction_initClass()"}, - { (char *)"SoPickAction_setViewportRegion", _wrap_SoPickAction_setViewportRegion, METH_VARARGS, (char *)"SoPickAction_setViewportRegion(SoPickAction self, SbViewportRegion newregion)"}, - { (char *)"SoPickAction_getViewportRegion", _wrap_SoPickAction_getViewportRegion, METH_VARARGS, (char *)"SoPickAction_getViewportRegion(SoPickAction self) -> SbViewportRegion"}, - { (char *)"SoPickAction_enableCulling", _wrap_SoPickAction_enableCulling, METH_VARARGS, (char *)"SoPickAction_enableCulling(SoPickAction self, SbBool flag)"}, - { (char *)"SoPickAction_isCullingEnabled", _wrap_SoPickAction_isCullingEnabled, METH_VARARGS, (char *)"SoPickAction_isCullingEnabled(SoPickAction self) -> SbBool"}, - { (char *)"SoPickAction_swigregister", SoPickAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRayPickAction_getTypeId", _wrap_SoRayPickAction_getTypeId, METH_VARARGS, (char *)"SoRayPickAction_getTypeId(SoRayPickAction self) -> SoType"}, - { (char *)"SoRayPickAction_getClassTypeId", _wrap_SoRayPickAction_getClassTypeId, METH_VARARGS, (char *)"SoRayPickAction_getClassTypeId() -> SoType"}, - { (char *)"SoRayPickAction_addMethod", _wrap_SoRayPickAction_addMethod, METH_VARARGS, (char *)"SoRayPickAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoRayPickAction_enableElement", _wrap_SoRayPickAction_enableElement, METH_VARARGS, (char *)"SoRayPickAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoRayPickAction", _wrap_new_SoRayPickAction, METH_VARARGS, (char *)"new_SoRayPickAction(SbViewportRegion viewportregion) -> SoRayPickAction"}, - { (char *)"delete_SoRayPickAction", _wrap_delete_SoRayPickAction, METH_VARARGS, (char *)"delete_SoRayPickAction(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_initClass", _wrap_SoRayPickAction_initClass, METH_VARARGS, (char *)"SoRayPickAction_initClass()"}, - { (char *)"SoRayPickAction_setPoint", _wrap_SoRayPickAction_setPoint, METH_VARARGS, (char *)"SoRayPickAction_setPoint(SoRayPickAction self, SbVec2s viewportPoint)"}, - { (char *)"SoRayPickAction_setNormalizedPoint", _wrap_SoRayPickAction_setNormalizedPoint, METH_VARARGS, (char *)"SoRayPickAction_setNormalizedPoint(SoRayPickAction self, SbVec2f normpoint)"}, - { (char *)"SoRayPickAction_setRadius", _wrap_SoRayPickAction_setRadius, METH_VARARGS, (char *)"SoRayPickAction_setRadius(SoRayPickAction self, float radiusinpixels)"}, - { (char *)"SoRayPickAction_setRay", _wrap_SoRayPickAction_setRay, METH_VARARGS, (char *)"\n" - "setRay(SbVec3f start, SbVec3f direction, float neardistance=-1.0, \n" - " float fardistance=-1.0)\n" - "setRay(SbVec3f start, SbVec3f direction, float neardistance=-1.0)\n" - "SoRayPickAction_setRay(SoRayPickAction self, SbVec3f start, SbVec3f direction)\n" - ""}, - { (char *)"SoRayPickAction_setPickAll", _wrap_SoRayPickAction_setPickAll, METH_VARARGS, (char *)"SoRayPickAction_setPickAll(SoRayPickAction self, SbBool flag)"}, - { (char *)"SoRayPickAction_isPickAll", _wrap_SoRayPickAction_isPickAll, METH_VARARGS, (char *)"SoRayPickAction_isPickAll(SoRayPickAction self) -> SbBool"}, - { (char *)"SoRayPickAction_getPickedPointList", _wrap_SoRayPickAction_getPickedPointList, METH_VARARGS, (char *)"SoRayPickAction_getPickedPointList(SoRayPickAction self) -> SoPickedPointList"}, - { (char *)"SoRayPickAction_getPickedPoint", _wrap_SoRayPickAction_getPickedPoint, METH_VARARGS, (char *)"\n" - "getPickedPoint(int index=0) -> SoPickedPoint\n" - "SoRayPickAction_getPickedPoint(SoRayPickAction self) -> SoPickedPoint\n" - ""}, - { (char *)"SoRayPickAction_computeWorldSpaceRay", _wrap_SoRayPickAction_computeWorldSpaceRay, METH_VARARGS, (char *)"SoRayPickAction_computeWorldSpaceRay(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_hasWorldSpaceRay", _wrap_SoRayPickAction_hasWorldSpaceRay, METH_VARARGS, (char *)"SoRayPickAction_hasWorldSpaceRay(SoRayPickAction self) -> SbBool"}, - { (char *)"SoRayPickAction_setObjectSpace", _wrap_SoRayPickAction_setObjectSpace, METH_VARARGS, (char *)"\n" - "setObjectSpace()\n" - "SoRayPickAction_setObjectSpace(SoRayPickAction self, SbMatrix matrix)\n" - ""}, - { (char *)"SoRayPickAction_intersect", _wrap_SoRayPickAction_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f v0, SbVec3f v1, SbVec3f v2, SbVec3f intersection, \n" - " SbVec3f barycentric, SbBool front) -> SbBool\n" - "intersect(SbVec3f v0, SbVec3f v1, SbVec3f intersection) -> SbBool\n" - "intersect(SbVec3f point) -> SbBool\n" - "intersect(SbBox3f box, SbBool usefullviewvolume=1) -> SbBool\n" - "intersect(SbBox3f box) -> SbBool\n" - "intersect(SbBox3f box, SbVec3f intersection, SbBool usefullviewvolume=1) -> SbBool\n" - "SoRayPickAction_intersect(SoRayPickAction self, SbBox3f box, SbVec3f intersection) -> SbBool\n" - ""}, - { (char *)"SoRayPickAction_getViewVolume", _wrap_SoRayPickAction_getViewVolume, METH_VARARGS, (char *)"SoRayPickAction_getViewVolume(SoRayPickAction self) -> SbViewVolume"}, - { (char *)"SoRayPickAction_getLine", _wrap_SoRayPickAction_getLine, METH_VARARGS, (char *)"SoRayPickAction_getLine(SoRayPickAction self) -> SbLine"}, - { (char *)"SoRayPickAction_isBetweenPlanes", _wrap_SoRayPickAction_isBetweenPlanes, METH_VARARGS, (char *)"SoRayPickAction_isBetweenPlanes(SoRayPickAction self, SbVec3f intersection) -> SbBool"}, - { (char *)"SoRayPickAction_addIntersection", _wrap_SoRayPickAction_addIntersection, METH_VARARGS, (char *)"SoRayPickAction_addIntersection(SoRayPickAction self, SbVec3f objectspacepoint) -> SoPickedPoint"}, - { (char *)"SoRayPickAction_reset", _wrap_SoRayPickAction_reset, METH_VARARGS, (char *)"SoRayPickAction_reset(SoRayPickAction self)"}, - { (char *)"SoRayPickAction_swigregister", SoRayPickAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_getTypeId", _wrap_SoSearchAction_getTypeId, METH_VARARGS, (char *)"SoSearchAction_getTypeId(SoSearchAction self) -> SoType"}, - { (char *)"SoSearchAction_getClassTypeId", _wrap_SoSearchAction_getClassTypeId, METH_VARARGS, (char *)"SoSearchAction_getClassTypeId() -> SoType"}, - { (char *)"SoSearchAction_addMethod", _wrap_SoSearchAction_addMethod, METH_VARARGS, (char *)"SoSearchAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoSearchAction_enableElement", _wrap_SoSearchAction_enableElement, METH_VARARGS, (char *)"SoSearchAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoSearchAction", _wrap_new_SoSearchAction, METH_VARARGS, (char *)"new_SoSearchAction() -> SoSearchAction"}, - { (char *)"delete_SoSearchAction", _wrap_delete_SoSearchAction, METH_VARARGS, (char *)"delete_SoSearchAction(SoSearchAction self)"}, - { (char *)"SoSearchAction_initClass", _wrap_SoSearchAction_initClass, METH_VARARGS, (char *)"SoSearchAction_initClass()"}, - { (char *)"SoSearchAction_setNode", _wrap_SoSearchAction_setNode, METH_VARARGS, (char *)"SoSearchAction_setNode(SoSearchAction self, SoNode node)"}, - { (char *)"SoSearchAction_getNode", _wrap_SoSearchAction_getNode, METH_VARARGS, (char *)"SoSearchAction_getNode(SoSearchAction self) -> SoNode"}, - { (char *)"SoSearchAction_setType", _wrap_SoSearchAction_setType, METH_VARARGS, (char *)"\n" - "setType(SoType type, SbBool chkderived=1)\n" - "SoSearchAction_setType(SoSearchAction self, SoType type)\n" - ""}, - { (char *)"SoSearchAction_getType", _wrap_SoSearchAction_getType, METH_VARARGS, (char *)"SoSearchAction_getType(SoSearchAction self, SbBool chkderived) -> SoType"}, - { (char *)"SoSearchAction_setName", _wrap_SoSearchAction_setName, METH_VARARGS, (char *)"SoSearchAction_setName(SoSearchAction self, SbName name)"}, - { (char *)"SoSearchAction_getName", _wrap_SoSearchAction_getName, METH_VARARGS, (char *)"SoSearchAction_getName(SoSearchAction self) -> SbName"}, - { (char *)"SoSearchAction_setFind", _wrap_SoSearchAction_setFind, METH_VARARGS, (char *)"SoSearchAction_setFind(SoSearchAction self, int what)"}, - { (char *)"SoSearchAction_getFind", _wrap_SoSearchAction_getFind, METH_VARARGS, (char *)"SoSearchAction_getFind(SoSearchAction self) -> int"}, - { (char *)"SoSearchAction_setInterest", _wrap_SoSearchAction_setInterest, METH_VARARGS, (char *)"SoSearchAction_setInterest(SoSearchAction self, Interest interest)"}, - { (char *)"SoSearchAction_getInterest", _wrap_SoSearchAction_getInterest, METH_VARARGS, (char *)"SoSearchAction_getInterest(SoSearchAction self) -> Interest"}, - { (char *)"SoSearchAction_setSearchingAll", _wrap_SoSearchAction_setSearchingAll, METH_VARARGS, (char *)"SoSearchAction_setSearchingAll(SoSearchAction self, SbBool searchall)"}, - { (char *)"SoSearchAction_isSearchingAll", _wrap_SoSearchAction_isSearchingAll, METH_VARARGS, (char *)"SoSearchAction_isSearchingAll(SoSearchAction self) -> SbBool"}, - { (char *)"SoSearchAction_getPath", _wrap_SoSearchAction_getPath, METH_VARARGS, (char *)"SoSearchAction_getPath(SoSearchAction self) -> SoPath"}, - { (char *)"SoSearchAction_getPaths", _wrap_SoSearchAction_getPaths, METH_VARARGS, (char *)"SoSearchAction_getPaths(SoSearchAction self) -> SoPathList"}, - { (char *)"SoSearchAction_reset", _wrap_SoSearchAction_reset, METH_VARARGS, (char *)"SoSearchAction_reset(SoSearchAction self)"}, - { (char *)"SoSearchAction_setFound", _wrap_SoSearchAction_setFound, METH_VARARGS, (char *)"SoSearchAction_setFound(SoSearchAction self)"}, - { (char *)"SoSearchAction_isFound", _wrap_SoSearchAction_isFound, METH_VARARGS, (char *)"SoSearchAction_isFound(SoSearchAction self) -> SbBool"}, - { (char *)"SoSearchAction_addPath", _wrap_SoSearchAction_addPath, METH_VARARGS, (char *)"SoSearchAction_addPath(SoSearchAction self, SoPath path)"}, - { (char *)"SoSearchAction_duringSearchAll_get", _wrap_SoSearchAction_duringSearchAll_get, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_duringSearchAll_set", _wrap_SoSearchAction_duringSearchAll_set, METH_VARARGS, NULL}, - { (char *)"SoSearchAction_swigregister", SoSearchAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWriteAction_getTypeId", _wrap_SoWriteAction_getTypeId, METH_VARARGS, (char *)"SoWriteAction_getTypeId(SoWriteAction self) -> SoType"}, - { (char *)"SoWriteAction_getClassTypeId", _wrap_SoWriteAction_getClassTypeId, METH_VARARGS, (char *)"SoWriteAction_getClassTypeId() -> SoType"}, - { (char *)"SoWriteAction_addMethod", _wrap_SoWriteAction_addMethod, METH_VARARGS, (char *)"SoWriteAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoWriteAction_enableElement", _wrap_SoWriteAction_enableElement, METH_VARARGS, (char *)"SoWriteAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoWriteAction", _wrap_new_SoWriteAction, METH_VARARGS, (char *)"\n" - "SoWriteAction()\n" - "new_SoWriteAction(SoOutput out) -> SoWriteAction\n" - ""}, - { (char *)"delete_SoWriteAction", _wrap_delete_SoWriteAction, METH_VARARGS, (char *)"delete_SoWriteAction(SoWriteAction self)"}, - { (char *)"SoWriteAction_initClass", _wrap_SoWriteAction_initClass, METH_VARARGS, (char *)"SoWriteAction_initClass()"}, - { (char *)"SoWriteAction_getOutput", _wrap_SoWriteAction_getOutput, METH_VARARGS, (char *)"SoWriteAction_getOutput(SoWriteAction self) -> SoOutput"}, - { (char *)"SoWriteAction_continueToApply", _wrap_SoWriteAction_continueToApply, METH_VARARGS, (char *)"\n" - "continueToApply(SoNode node)\n" - "SoWriteAction_continueToApply(SoWriteAction self, SoPath path)\n" - ""}, - { (char *)"SoWriteAction_swigregister", SoWriteAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAudioRenderAction_getTypeId", _wrap_SoAudioRenderAction_getTypeId, METH_VARARGS, (char *)"SoAudioRenderAction_getTypeId(SoAudioRenderAction self) -> SoType"}, - { (char *)"SoAudioRenderAction_getClassTypeId", _wrap_SoAudioRenderAction_getClassTypeId, METH_VARARGS, (char *)"SoAudioRenderAction_getClassTypeId() -> SoType"}, - { (char *)"SoAudioRenderAction_addMethod", _wrap_SoAudioRenderAction_addMethod, METH_VARARGS, (char *)"SoAudioRenderAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoAudioRenderAction_enableElement", _wrap_SoAudioRenderAction_enableElement, METH_VARARGS, (char *)"SoAudioRenderAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoAudioRenderAction_initClass", _wrap_SoAudioRenderAction_initClass, METH_VARARGS, (char *)"SoAudioRenderAction_initClass()"}, - { (char *)"new_SoAudioRenderAction", _wrap_new_SoAudioRenderAction, METH_VARARGS, (char *)"new_SoAudioRenderAction() -> SoAudioRenderAction"}, - { (char *)"delete_SoAudioRenderAction", _wrap_delete_SoAudioRenderAction, METH_VARARGS, (char *)"delete_SoAudioRenderAction(SoAudioRenderAction self)"}, - { (char *)"SoAudioRenderAction_callDoAction", _wrap_SoAudioRenderAction_callDoAction, METH_VARARGS, (char *)"SoAudioRenderAction_callDoAction(SoAction action, SoNode node)"}, - { (char *)"SoAudioRenderAction_callAudioRender", _wrap_SoAudioRenderAction_callAudioRender, METH_VARARGS, (char *)"SoAudioRenderAction_callAudioRender(SoAction action, SoNode node)"}, - { (char *)"SoAudioRenderAction_swigregister", SoAudioRenderAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIntersectingPrimitive_path_set", _wrap_SoIntersectingPrimitive_path_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_path_set(SoIntersectingPrimitive self, SoPath path)"}, - { (char *)"SoIntersectingPrimitive_path_get", _wrap_SoIntersectingPrimitive_path_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_path_get(SoIntersectingPrimitive self) -> SoPath"}, - { (char *)"SoIntersectingPrimitive_type_set", _wrap_SoIntersectingPrimitive_type_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_type_set(SoIntersectingPrimitive self, enum SoIntersectingPrimitive::PrimitiveType type)"}, - { (char *)"SoIntersectingPrimitive_type_get", _wrap_SoIntersectingPrimitive_type_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_type_get(SoIntersectingPrimitive self) -> enum SoIntersectingPrimitive::PrimitiveType"}, - { (char *)"SoIntersectingPrimitive_vertex_set", _wrap_SoIntersectingPrimitive_vertex_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_vertex_set(SoIntersectingPrimitive self, SbVec3f vertex)"}, - { (char *)"SoIntersectingPrimitive_vertex_get", _wrap_SoIntersectingPrimitive_vertex_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_vertex_get(SoIntersectingPrimitive self) -> SbVec3f"}, - { (char *)"SoIntersectingPrimitive_xf_vertex_set", _wrap_SoIntersectingPrimitive_xf_vertex_set, METH_VARARGS, (char *)"SoIntersectingPrimitive_xf_vertex_set(SoIntersectingPrimitive self, SbVec3f xf_vertex)"}, - { (char *)"SoIntersectingPrimitive_xf_vertex_get", _wrap_SoIntersectingPrimitive_xf_vertex_get, METH_VARARGS, (char *)"SoIntersectingPrimitive_xf_vertex_get(SoIntersectingPrimitive self) -> SbVec3f"}, - { (char *)"new_SoIntersectingPrimitive", _wrap_new_SoIntersectingPrimitive, METH_VARARGS, (char *)"new_SoIntersectingPrimitive() -> SoIntersectingPrimitive"}, - { (char *)"delete_SoIntersectingPrimitive", _wrap_delete_SoIntersectingPrimitive, METH_VARARGS, (char *)"delete_SoIntersectingPrimitive(SoIntersectingPrimitive self)"}, - { (char *)"SoIntersectingPrimitive_swigregister", SoIntersectingPrimitive_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIntersectionDetectionAction_getTypeId", _wrap_SoIntersectionDetectionAction_getTypeId, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getTypeId(SoIntersectionDetectionAction self) -> SoType"}, - { (char *)"SoIntersectionDetectionAction_getClassTypeId", _wrap_SoIntersectionDetectionAction_getClassTypeId, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getClassTypeId() -> SoType"}, - { (char *)"SoIntersectionDetectionAction_addMethod", _wrap_SoIntersectionDetectionAction_addMethod, METH_VARARGS, (char *)"SoIntersectionDetectionAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoIntersectionDetectionAction_enableElement", _wrap_SoIntersectionDetectionAction_enableElement, METH_VARARGS, (char *)"SoIntersectionDetectionAction_enableElement(SoType type, int stackindex)"}, - { (char *)"SoIntersectionDetectionAction_initClass", _wrap_SoIntersectionDetectionAction_initClass, METH_VARARGS, (char *)"SoIntersectionDetectionAction_initClass()"}, - { (char *)"new_SoIntersectionDetectionAction", _wrap_new_SoIntersectionDetectionAction, METH_VARARGS, (char *)"new_SoIntersectionDetectionAction() -> SoIntersectionDetectionAction"}, - { (char *)"delete_SoIntersectionDetectionAction", _wrap_delete_SoIntersectionDetectionAction, METH_VARARGS, (char *)"delete_SoIntersectionDetectionAction(SoIntersectionDetectionAction self)"}, - { (char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon", _wrap_SoIntersectionDetectionAction_setIntersectionDetectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setIntersectionDetectionEpsilon(SoIntersectionDetectionAction self, float epsilon)"}, - { (char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon", _wrap_SoIntersectionDetectionAction_getIntersectionDetectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getIntersectionDetectionEpsilon(SoIntersectionDetectionAction self) -> float"}, - { (char *)"SoIntersectionDetectionAction_setIntersectionEpsilon", _wrap_SoIntersectionDetectionAction_setIntersectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setIntersectionEpsilon(float epsilon)"}, - { (char *)"SoIntersectionDetectionAction_getIntersectionEpsilon", _wrap_SoIntersectionDetectionAction_getIntersectionEpsilon, METH_VARARGS, (char *)"SoIntersectionDetectionAction_getIntersectionEpsilon() -> float"}, - { (char *)"SoIntersectionDetectionAction_setTypeEnabled", _wrap_SoIntersectionDetectionAction_setTypeEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setTypeEnabled(SoIntersectionDetectionAction self, SoType type, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isTypeEnabled", _wrap_SoIntersectionDetectionAction_isTypeEnabled, METH_VARARGS, (char *)"\n" - "isTypeEnabled(SoType type, SbBool checkgroups=0) -> SbBool\n" - "SoIntersectionDetectionAction_isTypeEnabled(SoIntersectionDetectionAction self, SoType type) -> SbBool\n" - ""}, - { (char *)"SoIntersectionDetectionAction_setManipsEnabled", _wrap_SoIntersectionDetectionAction_setManipsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setManipsEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isManipsEnabled", _wrap_SoIntersectionDetectionAction_isManipsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isManipsEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_setDraggersEnabled", _wrap_SoIntersectionDetectionAction_setDraggersEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setDraggersEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isDraggersEnabled", _wrap_SoIntersectionDetectionAction_isDraggersEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isDraggersEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled", _wrap_SoIntersectionDetectionAction_setShapeInternalsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_setShapeInternalsEnabled(SoIntersectionDetectionAction self, SbBool enable)"}, - { (char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled", _wrap_SoIntersectionDetectionAction_isShapeInternalsEnabled, METH_VARARGS, (char *)"SoIntersectionDetectionAction_isShapeInternalsEnabled(SoIntersectionDetectionAction self) -> SbBool"}, - { (char *)"SoIntersectionDetectionAction_apply", _wrap_SoIntersectionDetectionAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList paths, SbBool obeysRules=0)\n" - "SoIntersectionDetectionAction_apply(SoIntersectionDetectionAction self, SoPathList paths)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_addVisitationCallback", _wrap_SoIntersectionDetectionAction_addVisitationCallback, METH_VARARGS, (char *)"\n" - "addVisitationCallback(SoType type, SoIntersectionVisitationCB cb, void closure)\n" - "SoIntersectionDetectionAction_addVisitationCallback(SoIntersectionDetectionAction self, SoType type, PyObject pyfunc, \n" - " PyObject closure)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_removeVisitationCallback", _wrap_SoIntersectionDetectionAction_removeVisitationCallback, METH_VARARGS, (char *)"\n" - "removeVisitationCallback(SoType type, SoIntersectionVisitationCB cb, void closure)\n" - "SoIntersectionDetectionAction_removeVisitationCallback(SoIntersectionDetectionAction self, SoType type, PyObject pyfunc, \n" - " PyObject closure)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_setFilterCallback", _wrap_SoIntersectionDetectionAction_setFilterCallback, METH_VARARGS, (char *)"\n" - "setFilterCallback(SoIntersectionFilterCB cb, void closure=None)\n" - "setFilterCallback(SoIntersectionFilterCB cb)\n" - "setFilterCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_setFilterCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_addIntersectionCallback", _wrap_SoIntersectionDetectionAction_addIntersectionCallback, METH_VARARGS, (char *)"\n" - "addIntersectionCallback(SoIntersectionCB cb, void closure=None)\n" - "addIntersectionCallback(SoIntersectionCB cb)\n" - "addIntersectionCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_addIntersectionCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_removeIntersectionCallback", _wrap_SoIntersectionDetectionAction_removeIntersectionCallback, METH_VARARGS, (char *)"\n" - "removeIntersectionCallback(SoIntersectionCB cb, void closure=None)\n" - "removeIntersectionCallback(SoIntersectionCB cb)\n" - "removeIntersectionCallback(PyObject pyfunc, PyObject closure=None)\n" - "SoIntersectionDetectionAction_removeIntersectionCallback(SoIntersectionDetectionAction self, PyObject pyfunc)\n" - ""}, - { (char *)"SoIntersectionDetectionAction_swigregister", SoIntersectionDetectionAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoToVRMLAction_getTypeId", _wrap_SoToVRMLAction_getTypeId, METH_VARARGS, (char *)"SoToVRMLAction_getTypeId(SoToVRMLAction self) -> SoType"}, - { (char *)"SoToVRMLAction_getClassTypeId", _wrap_SoToVRMLAction_getClassTypeId, METH_VARARGS, (char *)"SoToVRMLAction_getClassTypeId() -> SoType"}, - { (char *)"SoToVRMLAction_addMethod", _wrap_SoToVRMLAction_addMethod, METH_VARARGS, (char *)"SoToVRMLAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoToVRMLAction_enableElement", _wrap_SoToVRMLAction_enableElement, METH_VARARGS, (char *)"SoToVRMLAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoToVRMLAction", _wrap_new_SoToVRMLAction, METH_VARARGS, (char *)"new_SoToVRMLAction() -> SoToVRMLAction"}, - { (char *)"delete_SoToVRMLAction", _wrap_delete_SoToVRMLAction, METH_VARARGS, (char *)"delete_SoToVRMLAction(SoToVRMLAction self)"}, - { (char *)"SoToVRMLAction_initClass", _wrap_SoToVRMLAction_initClass, METH_VARARGS, (char *)"SoToVRMLAction_initClass()"}, - { (char *)"SoToVRMLAction_apply", _wrap_SoToVRMLAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoToVRMLAction_apply(SoToVRMLAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoToVRMLAction_getVRMLSceneGraph", _wrap_SoToVRMLAction_getVRMLSceneGraph, METH_VARARGS, (char *)"SoToVRMLAction_getVRMLSceneGraph(SoToVRMLAction self) -> SoNode"}, - { (char *)"SoToVRMLAction_expandSoFile", _wrap_SoToVRMLAction_expandSoFile, METH_VARARGS, (char *)"SoToVRMLAction_expandSoFile(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areSoFileExpanded", _wrap_SoToVRMLAction_areSoFileExpanded, METH_VARARGS, (char *)"SoToVRMLAction_areSoFileExpanded(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_setUrlName", _wrap_SoToVRMLAction_setUrlName, METH_VARARGS, (char *)"SoToVRMLAction_setUrlName(SoToVRMLAction self, SbString name)"}, - { (char *)"SoToVRMLAction_getUrlName", _wrap_SoToVRMLAction_getUrlName, METH_VARARGS, (char *)"SoToVRMLAction_getUrlName(SoToVRMLAction self) -> SbString"}, - { (char *)"SoToVRMLAction_writeTexCoords", _wrap_SoToVRMLAction_writeTexCoords, METH_VARARGS, (char *)"SoToVRMLAction_writeTexCoords(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areTexCoordWritten", _wrap_SoToVRMLAction_areTexCoordWritten, METH_VARARGS, (char *)"SoToVRMLAction_areTexCoordWritten(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_expandTexture2Node", _wrap_SoToVRMLAction_expandTexture2Node, METH_VARARGS, (char *)"SoToVRMLAction_expandTexture2Node(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areTexture2NodeExpanded", _wrap_SoToVRMLAction_areTexture2NodeExpanded, METH_VARARGS, (char *)"SoToVRMLAction_areTexture2NodeExpanded(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_keepUnknownNodes", _wrap_SoToVRMLAction_keepUnknownNodes, METH_VARARGS, (char *)"SoToVRMLAction_keepUnknownNodes(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_areUnknownNodeKept", _wrap_SoToVRMLAction_areUnknownNodeKept, METH_VARARGS, (char *)"SoToVRMLAction_areUnknownNodeKept(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_convertInlineNodes", _wrap_SoToVRMLAction_convertInlineNodes, METH_VARARGS, (char *)"SoToVRMLAction_convertInlineNodes(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_doConvertInlineNodes", _wrap_SoToVRMLAction_doConvertInlineNodes, METH_VARARGS, (char *)"SoToVRMLAction_doConvertInlineNodes(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_conditionalConversion", _wrap_SoToVRMLAction_conditionalConversion, METH_VARARGS, (char *)"SoToVRMLAction_conditionalConversion(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_doConditionalConversion", _wrap_SoToVRMLAction_doConditionalConversion, METH_VARARGS, (char *)"SoToVRMLAction_doConditionalConversion(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_setVerbosity", _wrap_SoToVRMLAction_setVerbosity, METH_VARARGS, (char *)"SoToVRMLAction_setVerbosity(SoToVRMLAction self, SbBool flag)"}, - { (char *)"SoToVRMLAction_isVerbose", _wrap_SoToVRMLAction_isVerbose, METH_VARARGS, (char *)"SoToVRMLAction_isVerbose(SoToVRMLAction self) -> SbBool"}, - { (char *)"SoToVRMLAction_swigregister", SoToVRMLAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoToVRML2Action_getTypeId", _wrap_SoToVRML2Action_getTypeId, METH_VARARGS, (char *)"SoToVRML2Action_getTypeId(SoToVRML2Action self) -> SoType"}, - { (char *)"SoToVRML2Action_getClassTypeId", _wrap_SoToVRML2Action_getClassTypeId, METH_VARARGS, (char *)"SoToVRML2Action_getClassTypeId() -> SoType"}, - { (char *)"SoToVRML2Action_addMethod", _wrap_SoToVRML2Action_addMethod, METH_VARARGS, (char *)"SoToVRML2Action_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoToVRML2Action_enableElement", _wrap_SoToVRML2Action_enableElement, METH_VARARGS, (char *)"SoToVRML2Action_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoToVRML2Action", _wrap_new_SoToVRML2Action, METH_VARARGS, (char *)"new_SoToVRML2Action() -> SoToVRML2Action"}, - { (char *)"delete_SoToVRML2Action", _wrap_delete_SoToVRML2Action, METH_VARARGS, (char *)"delete_SoToVRML2Action(SoToVRML2Action self)"}, - { (char *)"SoToVRML2Action_initClass", _wrap_SoToVRML2Action_initClass, METH_VARARGS, (char *)"SoToVRML2Action_initClass()"}, - { (char *)"SoToVRML2Action_apply", _wrap_SoToVRML2Action_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoToVRML2Action_apply(SoToVRML2Action self, SoPathList pathlist)\n" - ""}, - { (char *)"SoToVRML2Action_getVRML2SceneGraph", _wrap_SoToVRML2Action_getVRML2SceneGraph, METH_VARARGS, (char *)"SoToVRML2Action_getVRML2SceneGraph(SoToVRML2Action self) -> SoVRMLGroup"}, - { (char *)"SoToVRML2Action_reuseAppearanceNodes", _wrap_SoToVRML2Action_reuseAppearanceNodes, METH_VARARGS, (char *)"SoToVRML2Action_reuseAppearanceNodes(SoToVRML2Action self, SbBool appearance)"}, - { (char *)"SoToVRML2Action_doReuseAppearanceNodes", _wrap_SoToVRML2Action_doReuseAppearanceNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReuseAppearanceNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_reusePropertyNodes", _wrap_SoToVRML2Action_reusePropertyNodes, METH_VARARGS, (char *)"SoToVRML2Action_reusePropertyNodes(SoToVRML2Action self, SbBool property)"}, - { (char *)"SoToVRML2Action_doReusePropertyNodes", _wrap_SoToVRML2Action_doReusePropertyNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReusePropertyNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_reuseGeometryNodes", _wrap_SoToVRML2Action_reuseGeometryNodes, METH_VARARGS, (char *)"SoToVRML2Action_reuseGeometryNodes(SoToVRML2Action self, SbBool geometry)"}, - { (char *)"SoToVRML2Action_doReuseGeometryNodes", _wrap_SoToVRML2Action_doReuseGeometryNodes, METH_VARARGS, (char *)"SoToVRML2Action_doReuseGeometryNodes(SoToVRML2Action self) -> SbBool"}, - { (char *)"SoToVRML2Action_swigregister", SoToVRML2Action_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHardCopy_init", _wrap_SoHardCopy_init, METH_VARARGS, (char *)"SoHardCopy_init()"}, - { (char *)"SoHardCopy_getProductName", _wrap_SoHardCopy_getProductName, METH_VARARGS, (char *)"SoHardCopy_getProductName() -> char"}, - { (char *)"SoHardCopy_getVersion", _wrap_SoHardCopy_getVersion, METH_VARARGS, (char *)"SoHardCopy_getVersion() -> char"}, - { (char *)"new_SoHardCopy", _wrap_new_SoHardCopy, METH_VARARGS, (char *)"new_SoHardCopy() -> SoHardCopy"}, - { (char *)"delete_SoHardCopy", _wrap_delete_SoHardCopy, METH_VARARGS, (char *)"delete_SoHardCopy(SoHardCopy self)"}, - { (char *)"SoHardCopy_swigregister", SoHardCopy_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoVectorOutput", _wrap_new_SoVectorOutput, METH_VARARGS, (char *)"new_SoVectorOutput() -> SoVectorOutput"}, - { (char *)"delete_SoVectorOutput", _wrap_delete_SoVectorOutput, METH_VARARGS, (char *)"delete_SoVectorOutput(SoVectorOutput self)"}, - { (char *)"SoVectorOutput_openFile", _wrap_SoVectorOutput_openFile, METH_VARARGS, (char *)"SoVectorOutput_openFile(SoVectorOutput self, char filename) -> SbBool"}, - { (char *)"SoVectorOutput_closeFile", _wrap_SoVectorOutput_closeFile, METH_VARARGS, (char *)"SoVectorOutput_closeFile(SoVectorOutput self)"}, - { (char *)"SoVectorOutput_getFilePointer", _wrap_SoVectorOutput_getFilePointer, METH_VARARGS, (char *)"SoVectorOutput_getFilePointer(SoVectorOutput self) -> FILE"}, - { (char *)"SoVectorOutput_swigregister", SoVectorOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPSVectorOutput", _wrap_new_SoPSVectorOutput, METH_VARARGS, (char *)"new_SoPSVectorOutput() -> SoPSVectorOutput"}, - { (char *)"delete_SoPSVectorOutput", _wrap_delete_SoPSVectorOutput, METH_VARARGS, (char *)"delete_SoPSVectorOutput(SoPSVectorOutput self)"}, - { (char *)"SoPSVectorOutput_setColored", _wrap_SoPSVectorOutput_setColored, METH_VARARGS, (char *)"\n" - "setColored(SbBool flag=1)\n" - "SoPSVectorOutput_setColored(SoPSVectorOutput self)\n" - ""}, - { (char *)"SoPSVectorOutput_getColored", _wrap_SoPSVectorOutput_getColored, METH_VARARGS, (char *)"SoPSVectorOutput_getColored(SoPSVectorOutput self) -> SbBool"}, - { (char *)"SoPSVectorOutput_swigregister", SoPSVectorOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVectorizeAction_getTypeId", _wrap_SoVectorizeAction_getTypeId, METH_VARARGS, (char *)"SoVectorizeAction_getTypeId(SoVectorizeAction self) -> SoType"}, - { (char *)"SoVectorizeAction_getClassTypeId", _wrap_SoVectorizeAction_getClassTypeId, METH_VARARGS, (char *)"SoVectorizeAction_getClassTypeId() -> SoType"}, - { (char *)"SoVectorizeAction_addMethod", _wrap_SoVectorizeAction_addMethod, METH_VARARGS, (char *)"SoVectorizeAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoVectorizeAction_enableElement", _wrap_SoVectorizeAction_enableElement, METH_VARARGS, (char *)"SoVectorizeAction_enableElement(SoType type, int stackindex)"}, - { (char *)"delete_SoVectorizeAction", _wrap_delete_SoVectorizeAction, METH_VARARGS, (char *)"delete_SoVectorizeAction(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_getOutput", _wrap_SoVectorizeAction_getOutput, METH_VARARGS, (char *)"SoVectorizeAction_getOutput(SoVectorizeAction self) -> SoVectorOutput"}, - { (char *)"SoVectorizeAction_initClass", _wrap_SoVectorizeAction_initClass, METH_VARARGS, (char *)"SoVectorizeAction_initClass()"}, - { (char *)"SoVectorizeAction_apply", _wrap_SoVectorizeAction_apply, METH_VARARGS, (char *)"\n" - "apply(SoNode node)\n" - "apply(SoPath path)\n" - "apply(SoPathList pathlist, SbBool obeysrules=0)\n" - "SoVectorizeAction_apply(SoVectorizeAction self, SoPathList pathlist)\n" - ""}, - { (char *)"SoVectorizeAction_beginStandardPage", _wrap_SoVectorizeAction_beginStandardPage, METH_VARARGS, (char *)"\n" - "beginStandardPage(PageSize pagesize, float border=10.0)\n" - "SoVectorizeAction_beginStandardPage(SoVectorizeAction self, PageSize pagesize)\n" - ""}, - { (char *)"SoVectorizeAction_beginPage", _wrap_SoVectorizeAction_beginPage, METH_VARARGS, (char *)"\n" - "beginPage(SbVec2f startpagepos, SbVec2f pagesize, DimensionUnit u=MM)\n" - "SoVectorizeAction_beginPage(SoVectorizeAction self, SbVec2f startpagepos, SbVec2f pagesize)\n" - ""}, - { (char *)"SoVectorizeAction_endPage", _wrap_SoVectorizeAction_endPage, METH_VARARGS, (char *)"SoVectorizeAction_endPage(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_calibrate", _wrap_SoVectorizeAction_calibrate, METH_VARARGS, (char *)"SoVectorizeAction_calibrate(SoVectorizeAction self, SbViewportRegion vp)"}, - { (char *)"SoVectorizeAction_beginViewport", _wrap_SoVectorizeAction_beginViewport, METH_VARARGS, (char *)"\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f), \n" - " DimensionUnit u=MM)\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f), SbVec2f size=SbVec2f(-1.0f, -1.0f))\n" - "beginViewport(SbVec2f startpos=SbVec2f(-1.0f, 1.0f))\n" - "SoVectorizeAction_beginViewport(SoVectorizeAction self)\n" - ""}, - { (char *)"SoVectorizeAction_endViewport", _wrap_SoVectorizeAction_endViewport, METH_VARARGS, (char *)"SoVectorizeAction_endViewport(SoVectorizeAction self)"}, - { (char *)"SoVectorizeAction_setOrientation", _wrap_SoVectorizeAction_setOrientation, METH_VARARGS, (char *)"SoVectorizeAction_setOrientation(SoVectorizeAction self, Orientation o)"}, - { (char *)"SoVectorizeAction_getOrientation", _wrap_SoVectorizeAction_getOrientation, METH_VARARGS, (char *)"SoVectorizeAction_getOrientation(SoVectorizeAction self) -> Orientation"}, - { (char *)"SoVectorizeAction_setBackgroundColor", _wrap_SoVectorizeAction_setBackgroundColor, METH_VARARGS, (char *)"\n" - "setBackgroundColor(SbBool bg, SbColor col=SbColor(0.0f, 0.0f, 0.0f))\n" - "SoVectorizeAction_setBackgroundColor(SoVectorizeAction self, SbBool bg)\n" - ""}, - { (char *)"SoVectorizeAction_getBackgroundColor", _wrap_SoVectorizeAction_getBackgroundColor, METH_VARARGS, (char *)"SoVectorizeAction_getBackgroundColor(SoVectorizeAction self, SbColor col) -> SbBool"}, - { (char *)"SoVectorizeAction_setNominalWidth", _wrap_SoVectorizeAction_setNominalWidth, METH_VARARGS, (char *)"\n" - "setNominalWidth(float w, DimensionUnit u=MM)\n" - "SoVectorizeAction_setNominalWidth(SoVectorizeAction self, float w)\n" - ""}, - { (char *)"SoVectorizeAction_getNominalWidth", _wrap_SoVectorizeAction_getNominalWidth, METH_VARARGS, (char *)"\n" - "getNominalWidth(DimensionUnit u=MM) -> float\n" - "SoVectorizeAction_getNominalWidth(SoVectorizeAction self) -> float\n" - ""}, - { (char *)"SoVectorizeAction_setPixelImageSize", _wrap_SoVectorizeAction_setPixelImageSize, METH_VARARGS, (char *)"\n" - "setPixelImageSize(float w, DimensionUnit u=MM)\n" - "SoVectorizeAction_setPixelImageSize(SoVectorizeAction self, float w)\n" - ""}, - { (char *)"SoVectorizeAction_getPixelImageSize", _wrap_SoVectorizeAction_getPixelImageSize, METH_VARARGS, (char *)"\n" - "getPixelImageSize(DimensionUnit u=MM) -> float\n" - "SoVectorizeAction_getPixelImageSize(SoVectorizeAction self) -> float\n" - ""}, - { (char *)"SoVectorizeAction_setPointStyle", _wrap_SoVectorizeAction_setPointStyle, METH_VARARGS, (char *)"SoVectorizeAction_setPointStyle(SoVectorizeAction self, PointStyle style)"}, - { (char *)"SoVectorizeAction_getPointStyle", _wrap_SoVectorizeAction_getPointStyle, METH_VARARGS, (char *)"SoVectorizeAction_getPointStyle(SoVectorizeAction self) -> PointStyle"}, - { (char *)"SoVectorizeAction_getPageStartpos", _wrap_SoVectorizeAction_getPageStartpos, METH_VARARGS, (char *)"SoVectorizeAction_getPageStartpos(SoVectorizeAction self) -> SbVec2f"}, - { (char *)"SoVectorizeAction_getPageSize", _wrap_SoVectorizeAction_getPageSize, METH_VARARGS, (char *)"SoVectorizeAction_getPageSize(SoVectorizeAction self) -> SbVec2f"}, - { (char *)"SoVectorizeAction_setDrawingDimensions", _wrap_SoVectorizeAction_setDrawingDimensions, METH_VARARGS, (char *)"\n" - "setDrawingDimensions(SbVec2f d, DimensionUnit u=MM)\n" - "setDrawingDimensions(SbVec2f d)\n" - "setDrawingDimensions(float w, float h, DimensionUnit u=MM)\n" - "SoVectorizeAction_setDrawingDimensions(SoVectorizeAction self, float w, float h)\n" - ""}, - { (char *)"SoVectorizeAction_getDrawingDimensions", _wrap_SoVectorizeAction_getDrawingDimensions, METH_VARARGS, (char *)"\n" - "getDrawingDimensions(DimensionUnit u=MM) -> SbVec2f\n" - "SoVectorizeAction_getDrawingDimensions(SoVectorizeAction self) -> SbVec2f\n" - ""}, - { (char *)"SoVectorizeAction_setStartPosition", _wrap_SoVectorizeAction_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f p, DimensionUnit u=MM)\n" - "setStartPosition(SbVec2f p)\n" - "setStartPosition(float x, float y, DimensionUnit u=MM)\n" - "SoVectorizeAction_setStartPosition(SoVectorizeAction self, float x, float y)\n" - ""}, - { (char *)"SoVectorizeAction_getStartPosition", _wrap_SoVectorizeAction_getStartPosition, METH_VARARGS, (char *)"\n" - "getStartPosition(DimensionUnit u=MM) -> SbVec2f\n" - "SoVectorizeAction_getStartPosition(SoVectorizeAction self) -> SbVec2f\n" - ""}, - { (char *)"SoVectorizeAction_setColorTranslationMethod", _wrap_SoVectorizeAction_setColorTranslationMethod, METH_VARARGS, (char *)"SoVectorizeAction_setColorTranslationMethod(SoVectorizeAction self, ColorTranslationMethod method)"}, - { (char *)"SoVectorizeAction_getColorTranslationMethod", _wrap_SoVectorizeAction_getColorTranslationMethod, METH_VARARGS, (char *)"SoVectorizeAction_getColorTranslationMethod(SoVectorizeAction self) -> ColorTranslationMethod"}, - { (char *)"SoVectorizeAction_setLineEndStyle", _wrap_SoVectorizeAction_setLineEndStyle, METH_VARARGS, (char *)"SoVectorizeAction_setLineEndStyle(SoVectorizeAction self, EndLineStyle style)"}, - { (char *)"SoVectorizeAction_getLineEndStyle", _wrap_SoVectorizeAction_getLineEndStyle, METH_VARARGS, (char *)"SoVectorizeAction_getLineEndStyle(SoVectorizeAction self) -> EndLineStyle"}, - { (char *)"SoVectorizeAction_setLineJoinsStyle", _wrap_SoVectorizeAction_setLineJoinsStyle, METH_VARARGS, (char *)"SoVectorizeAction_setLineJoinsStyle(SoVectorizeAction self, JoinLineStyle style)"}, - { (char *)"SoVectorizeAction_getLineJoinsStyle", _wrap_SoVectorizeAction_getLineJoinsStyle, METH_VARARGS, (char *)"SoVectorizeAction_getLineJoinsStyle(SoVectorizeAction self) -> JoinLineStyle"}, - { (char *)"SoVectorizeAction_setHLHSRMode", _wrap_SoVectorizeAction_setHLHSRMode, METH_VARARGS, (char *)"SoVectorizeAction_setHLHSRMode(SoVectorizeAction self, HLHSRMode mode)"}, - { (char *)"SoVectorizeAction_getHLHSRMode", _wrap_SoVectorizeAction_getHLHSRMode, METH_VARARGS, (char *)"SoVectorizeAction_getHLHSRMode(SoVectorizeAction self) -> HLHSRMode"}, - { (char *)"SoVectorizeAction_setBorder", _wrap_SoVectorizeAction_setBorder, METH_VARARGS, (char *)"\n" - "setBorder(float width)\n" - "SoVectorizeAction_setBorder(SoVectorizeAction self, float width, SbColor color)\n" - ""}, - { (char *)"SoVectorizeAction_setMiterLimit", _wrap_SoVectorizeAction_setMiterLimit, METH_VARARGS, (char *)"SoVectorizeAction_setMiterLimit(SoVectorizeAction self, float limit)"}, - { (char *)"SoVectorizeAction_getMiterLimit", _wrap_SoVectorizeAction_getMiterLimit, METH_VARARGS, (char *)"SoVectorizeAction_getMiterLimit(SoVectorizeAction self) -> float"}, - { (char *)"SoVectorizeAction_setPenDescription", _wrap_SoVectorizeAction_setPenDescription, METH_VARARGS, (char *)"\n" - "setPenDescription(int num_pens, SbColor colors=0, float widths=0, DimensionUnit u=MM)\n" - "setPenDescription(int num_pens, SbColor colors=0, float widths=0)\n" - "setPenDescription(int num_pens, SbColor colors=0)\n" - "SoVectorizeAction_setPenDescription(SoVectorizeAction self, int num_pens)\n" - ""}, - { (char *)"SoVectorizeAction_getPenDescription", _wrap_SoVectorizeAction_getPenDescription, METH_VARARGS, (char *)"\n" - "getPenDescription(SbColor colors, float widths, DimensionUnit u=MM)\n" - "SoVectorizeAction_getPenDescription(SoVectorizeAction self, SbColor colors, float widths)\n" - ""}, - { (char *)"SoVectorizeAction_getPenNum", _wrap_SoVectorizeAction_getPenNum, METH_VARARGS, (char *)"SoVectorizeAction_getPenNum(SoVectorizeAction self) -> int"}, - { (char *)"SoVectorizeAction_setColorPriority", _wrap_SoVectorizeAction_setColorPriority, METH_VARARGS, (char *)"SoVectorizeAction_setColorPriority(SoVectorizeAction self, SbBool priority)"}, - { (char *)"SoVectorizeAction_getColorPriority", _wrap_SoVectorizeAction_getColorPriority, METH_VARARGS, (char *)"SoVectorizeAction_getColorPriority(SoVectorizeAction self) -> SbBool"}, - { (char *)"SoVectorizeAction_enableLighting", _wrap_SoVectorizeAction_enableLighting, METH_VARARGS, (char *)"SoVectorizeAction_enableLighting(SoVectorizeAction self, SbBool flag)"}, - { (char *)"SoVectorizeAction_isLightingEnabled", _wrap_SoVectorizeAction_isLightingEnabled, METH_VARARGS, (char *)"SoVectorizeAction_isLightingEnabled(SoVectorizeAction self) -> SbBool"}, - { (char *)"SoVectorizeAction_swigregister", SoVectorizeAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShape_getClassTypeId", _wrap_SoShape_getClassTypeId, METH_VARARGS, (char *)"SoShape_getClassTypeId() -> SoType"}, - { (char *)"SoShape_getTypeId", _wrap_SoShape_getTypeId, METH_VARARGS, (char *)"SoShape_getTypeId(SoShape self) -> SoType"}, - { (char *)"SoShape_initClass", _wrap_SoShape_initClass, METH_VARARGS, (char *)"SoShape_initClass()"}, - { (char *)"SoShape_affectsState", _wrap_SoShape_affectsState, METH_VARARGS, (char *)"SoShape_affectsState(SoShape self) -> SbBool"}, - { (char *)"SoShape_notify", _wrap_SoShape_notify, METH_VARARGS, (char *)"SoShape_notify(SoShape self, SoNotList nl)"}, - { (char *)"SoShape_getBoundingBox", _wrap_SoShape_getBoundingBox, METH_VARARGS, (char *)"SoShape_getBoundingBox(SoShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoShape_GLRender", _wrap_SoShape_GLRender, METH_VARARGS, (char *)"SoShape_GLRender(SoShape self, SoGLRenderAction action)"}, - { (char *)"SoShape_rayPick", _wrap_SoShape_rayPick, METH_VARARGS, (char *)"SoShape_rayPick(SoShape self, SoRayPickAction action)"}, - { (char *)"SoShape_callback", _wrap_SoShape_callback, METH_VARARGS, (char *)"SoShape_callback(SoShape self, SoCallbackAction action)"}, - { (char *)"SoShape_computeBBox", _wrap_SoShape_computeBBox, METH_VARARGS, (char *)"SoShape_computeBBox(SoShape self, SoAction action, SbBox3f box, SbVec3f center)"}, - { (char *)"SoShape_getPrimitiveCount", _wrap_SoShape_getPrimitiveCount, METH_VARARGS, (char *)"SoShape_getPrimitiveCount(SoShape self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoShape_getScreenSize", _wrap_SoShape_getScreenSize, METH_VARARGS, (char *)"SoShape_getScreenSize(SoState state, SbBox3f boundingbox, SbVec2s rectsize)"}, - { (char *)"SoShape_getDecimatedComplexity", _wrap_SoShape_getDecimatedComplexity, METH_VARARGS, (char *)"SoShape_getDecimatedComplexity(SoState state, float complexity) -> float"}, - { (char *)"SoShape_getBoundingBoxCache", _wrap_SoShape_getBoundingBoxCache, METH_VARARGS, (char *)"SoShape_getBoundingBoxCache(SoShape self) -> SoBoundingBoxCache"}, - { (char *)"SoShape_swigregister", SoShape_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFInt32", _wrap_new_SoSFInt32, METH_VARARGS, (char *)"new_SoSFInt32() -> SoSFInt32"}, - { (char *)"delete_SoSFInt32", _wrap_delete_SoSFInt32, METH_VARARGS, (char *)"delete_SoSFInt32(SoSFInt32 self)"}, - { (char *)"SoSFInt32_createInstance", _wrap_SoSFInt32_createInstance, METH_VARARGS, (char *)"SoSFInt32_createInstance() -> void"}, - { (char *)"SoSFInt32_getClassTypeId", _wrap_SoSFInt32_getClassTypeId, METH_VARARGS, (char *)"SoSFInt32_getClassTypeId() -> SoType"}, - { (char *)"SoSFInt32_getTypeId", _wrap_SoSFInt32_getTypeId, METH_VARARGS, (char *)"SoSFInt32_getTypeId(SoSFInt32 self) -> SoType"}, - { (char *)"SoSFInt32_copyFrom", _wrap_SoSFInt32_copyFrom, METH_VARARGS, (char *)"SoSFInt32_copyFrom(SoSFInt32 self, SoField field)"}, - { (char *)"SoSFInt32_isSame", _wrap_SoSFInt32_isSame, METH_VARARGS, (char *)"SoSFInt32_isSame(SoSFInt32 self, SoField field) -> SbBool"}, - { (char *)"SoSFInt32_getValue", _wrap_SoSFInt32_getValue, METH_VARARGS, (char *)"SoSFInt32_getValue(SoSFInt32 self) -> int32_t"}, - { (char *)"SoSFInt32___eq__", _wrap_SoSFInt32___eq__, METH_VARARGS, (char *)"SoSFInt32___eq__(SoSFInt32 self, SoSFInt32 field) -> int"}, - { (char *)"SoSFInt32___ne__", _wrap_SoSFInt32___ne__, METH_VARARGS, (char *)"SoSFInt32___ne__(SoSFInt32 self, SoSFInt32 field) -> int"}, - { (char *)"SoSFInt32_initClass", _wrap_SoSFInt32_initClass, METH_VARARGS, (char *)"SoSFInt32_initClass()"}, - { (char *)"SoSFInt32_setValue", _wrap_SoSFInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t newvalue)\n" - "SoSFInt32_setValue(SoSFInt32 self, SoSFInt32 other)\n" - ""}, - { (char *)"SoSFInt32_swigregister", SoSFInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"SoImage_getClassTypeId", _wrap_SoImage_getClassTypeId, METH_VARARGS, (char *)"SoImage_getClassTypeId() -> SoType"}, - { (char *)"SoImage_getTypeId", _wrap_SoImage_getTypeId, METH_VARARGS, (char *)"SoImage_getTypeId(SoImage self) -> SoType"}, - { (char *)"SoImage_initClass", _wrap_SoImage_initClass, METH_VARARGS, (char *)"SoImage_initClass()"}, - { (char *)"new_SoImage", _wrap_new_SoImage, METH_VARARGS, (char *)"new_SoImage() -> SoImage"}, - { (char *)"SoImage_width_set", _wrap_SoImage_width_set, METH_VARARGS, (char *)"SoImage_width_set(SoImage self, SoSFInt32 width)"}, - { (char *)"SoImage_width_get", _wrap_SoImage_width_get, METH_VARARGS, (char *)"SoImage_width_get(SoImage self) -> SoSFInt32"}, - { (char *)"SoImage_height_set", _wrap_SoImage_height_set, METH_VARARGS, (char *)"SoImage_height_set(SoImage self, SoSFInt32 height)"}, - { (char *)"SoImage_height_get", _wrap_SoImage_height_get, METH_VARARGS, (char *)"SoImage_height_get(SoImage self) -> SoSFInt32"}, - { (char *)"SoImage_vertAlignment_set", _wrap_SoImage_vertAlignment_set, METH_VARARGS, (char *)"SoImage_vertAlignment_set(SoImage self, SoSFEnum vertAlignment)"}, - { (char *)"SoImage_vertAlignment_get", _wrap_SoImage_vertAlignment_get, METH_VARARGS, (char *)"SoImage_vertAlignment_get(SoImage self) -> SoSFEnum"}, - { (char *)"SoImage_horAlignment_set", _wrap_SoImage_horAlignment_set, METH_VARARGS, (char *)"SoImage_horAlignment_set(SoImage self, SoSFEnum horAlignment)"}, - { (char *)"SoImage_horAlignment_get", _wrap_SoImage_horAlignment_get, METH_VARARGS, (char *)"SoImage_horAlignment_get(SoImage self) -> SoSFEnum"}, - { (char *)"SoImage_image_set", _wrap_SoImage_image_set, METH_VARARGS, (char *)"SoImage_image_set(SoImage self, SoSFImage image)"}, - { (char *)"SoImage_image_get", _wrap_SoImage_image_get, METH_VARARGS, (char *)"SoImage_image_get(SoImage self) -> SoSFImage"}, - { (char *)"SoImage_filename_set", _wrap_SoImage_filename_set, METH_VARARGS, (char *)"SoImage_filename_set(SoImage self, SoSFString filename)"}, - { (char *)"SoImage_filename_get", _wrap_SoImage_filename_get, METH_VARARGS, (char *)"SoImage_filename_get(SoImage self) -> SoSFString"}, - { (char *)"SoImage_GLRender", _wrap_SoImage_GLRender, METH_VARARGS, (char *)"SoImage_GLRender(SoImage self, SoGLRenderAction action)"}, - { (char *)"SoImage_rayPick", _wrap_SoImage_rayPick, METH_VARARGS, (char *)"SoImage_rayPick(SoImage self, SoRayPickAction action)"}, - { (char *)"SoImage_getPrimitiveCount", _wrap_SoImage_getPrimitiveCount, METH_VARARGS, (char *)"SoImage_getPrimitiveCount(SoImage self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoImage_swigregister", SoImage_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVectorizePSAction_getTypeId", _wrap_SoVectorizePSAction_getTypeId, METH_VARARGS, (char *)"SoVectorizePSAction_getTypeId(SoVectorizePSAction self) -> SoType"}, - { (char *)"SoVectorizePSAction_getClassTypeId", _wrap_SoVectorizePSAction_getClassTypeId, METH_VARARGS, (char *)"SoVectorizePSAction_getClassTypeId() -> SoType"}, - { (char *)"SoVectorizePSAction_addMethod", _wrap_SoVectorizePSAction_addMethod, METH_VARARGS, (char *)"SoVectorizePSAction_addMethod(SoType type, SoActionMethod method)"}, - { (char *)"SoVectorizePSAction_enableElement", _wrap_SoVectorizePSAction_enableElement, METH_VARARGS, (char *)"SoVectorizePSAction_enableElement(SoType type, int stackindex)"}, - { (char *)"new_SoVectorizePSAction", _wrap_new_SoVectorizePSAction, METH_VARARGS, (char *)"new_SoVectorizePSAction() -> SoVectorizePSAction"}, - { (char *)"delete_SoVectorizePSAction", _wrap_delete_SoVectorizePSAction, METH_VARARGS, (char *)"delete_SoVectorizePSAction(SoVectorizePSAction self)"}, - { (char *)"SoVectorizePSAction_initClass", _wrap_SoVectorizePSAction_initClass, METH_VARARGS, (char *)"SoVectorizePSAction_initClass()"}, - { (char *)"SoVectorizePSAction_setDefault2DFont", _wrap_SoVectorizePSAction_setDefault2DFont, METH_VARARGS, (char *)"SoVectorizePSAction_setDefault2DFont(SoVectorizePSAction self, SbString fontname)"}, - { (char *)"SoVectorizePSAction_getDefault2DFont", _wrap_SoVectorizePSAction_getDefault2DFont, METH_VARARGS, (char *)"SoVectorizePSAction_getDefault2DFont(SoVectorizePSAction self) -> SbString"}, - { (char *)"SoVectorizePSAction_setGouraudThreshold", _wrap_SoVectorizePSAction_setGouraudThreshold, METH_VARARGS, (char *)"SoVectorizePSAction_setGouraudThreshold(SoVectorizePSAction self, double eps)"}, - { (char *)"SoVectorizePSAction_getOutput", _wrap_SoVectorizePSAction_getOutput, METH_VARARGS, (char *)"SoVectorizePSAction_getOutput(SoVectorizePSAction self) -> SoPSVectorOutput"}, - { (char *)"SoVectorizePSAction_getPSOutput", _wrap_SoVectorizePSAction_getPSOutput, METH_VARARGS, (char *)"SoVectorizePSAction_getPSOutput(SoVectorizePSAction self) -> SoPSVectorOutput"}, - { (char *)"SoVectorizePSAction_swigregister", SoVectorizePSAction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBundle_swigregister", SoBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMaterialBundle", _wrap_new_SoMaterialBundle, METH_VARARGS, (char *)"new_SoMaterialBundle(SoAction action) -> SoMaterialBundle"}, - { (char *)"delete_SoMaterialBundle", _wrap_delete_SoMaterialBundle, METH_VARARGS, (char *)"delete_SoMaterialBundle(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_setUpMultiple", _wrap_SoMaterialBundle_setUpMultiple, METH_VARARGS, (char *)"SoMaterialBundle_setUpMultiple(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_sendFirst", _wrap_SoMaterialBundle_sendFirst, METH_VARARGS, (char *)"SoMaterialBundle_sendFirst(SoMaterialBundle self)"}, - { (char *)"SoMaterialBundle_forceSend", _wrap_SoMaterialBundle_forceSend, METH_VARARGS, (char *)"SoMaterialBundle_forceSend(SoMaterialBundle self, int index)"}, - { (char *)"SoMaterialBundle_isColorOnly", _wrap_SoMaterialBundle_isColorOnly, METH_VARARGS, (char *)"SoMaterialBundle_isColorOnly(SoMaterialBundle self) -> SbBool"}, - { (char *)"SoMaterialBundle_send", _wrap_SoMaterialBundle_send, METH_VARARGS, (char *)"SoMaterialBundle_send(SoMaterialBundle self, int index, SbBool betweenbeginend)"}, - { (char *)"SoMaterialBundle_swigregister", SoMaterialBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBSPTree", _wrap_new_SbBSPTree, METH_VARARGS, (char *)"\n" - "SbBSPTree(int maxnodepts=64, int initsize=4)\n" - "SbBSPTree(int maxnodepts=64)\n" - "new_SbBSPTree() -> SbBSPTree\n" - ""}, - { (char *)"delete_SbBSPTree", _wrap_delete_SbBSPTree, METH_VARARGS, (char *)"delete_SbBSPTree(SbBSPTree self)"}, - { (char *)"SbBSPTree_numPoints", _wrap_SbBSPTree_numPoints, METH_VARARGS, (char *)"SbBSPTree_numPoints(SbBSPTree self) -> int"}, - { (char *)"SbBSPTree_getPoint", _wrap_SbBSPTree_getPoint, METH_VARARGS, (char *)"\n" - "getPoint(int idx) -> SbVec3f\n" - "SbBSPTree_getPoint(SbBSPTree self, int idx, SbVec3f pt)\n" - ""}, - { (char *)"SbBSPTree_getUserData", _wrap_SbBSPTree_getUserData, METH_VARARGS, (char *)"SbBSPTree_getUserData(SbBSPTree self, int idx) -> void"}, - { (char *)"SbBSPTree_setUserData", _wrap_SbBSPTree_setUserData, METH_VARARGS, (char *)"SbBSPTree_setUserData(SbBSPTree self, int idx, void data)"}, - { (char *)"SbBSPTree_addPoint", _wrap_SbBSPTree_addPoint, METH_VARARGS, (char *)"\n" - "addPoint(SbVec3f pt, void userdata=None) -> int\n" - "SbBSPTree_addPoint(SbBSPTree self, SbVec3f pt) -> int\n" - ""}, - { (char *)"SbBSPTree_removePoint", _wrap_SbBSPTree_removePoint, METH_VARARGS, (char *)"\n" - "removePoint(SbVec3f pt) -> int\n" - "SbBSPTree_removePoint(SbBSPTree self, int idx)\n" - ""}, - { (char *)"SbBSPTree_findPoint", _wrap_SbBSPTree_findPoint, METH_VARARGS, (char *)"SbBSPTree_findPoint(SbBSPTree self, SbVec3f pos) -> int"}, - { (char *)"SbBSPTree_clear", _wrap_SbBSPTree_clear, METH_VARARGS, (char *)"\n" - "clear(int initsize=4)\n" - "SbBSPTree_clear(SbBSPTree self)\n" - ""}, - { (char *)"SbBSPTree_getBBox", _wrap_SbBSPTree_getBBox, METH_VARARGS, (char *)"SbBSPTree_getBBox(SbBSPTree self) -> SbBox3f"}, - { (char *)"SbBSPTree_getPointsArrayPtr", _wrap_SbBSPTree_getPointsArrayPtr, METH_VARARGS, (char *)"SbBSPTree_getPointsArrayPtr(SbBSPTree self) -> SbVec3f"}, - { (char *)"SbBSPTree_findPoints", _wrap_SbBSPTree_findPoints, METH_VARARGS, (char *)"\n" - "findPoints(SbSphere sphere, SbIntList array)\n" - "SbBSPTree_findPoints(SbBSPTree self, SbSphere sphere, SbList<(int)> array)\n" - ""}, - { (char *)"SbBSPTree_findClosest", _wrap_SbBSPTree_findClosest, METH_VARARGS, (char *)"\n" - "findClosest(SbVec3f pos) -> int\n" - "findClosest(SbSphere sphere, SbIntList array) -> int\n" - "SbBSPTree_findClosest(SbBSPTree self, SbSphere sphere, SbList<(int)> array) -> int\n" - ""}, - { (char *)"SbBSPTree_swigregister", SbBSPTree_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNormalGenerator", _wrap_new_SoNormalGenerator, METH_VARARGS, (char *)"\n" - "SoNormalGenerator(SbBool ccw, int approxVertices=64)\n" - "new_SoNormalGenerator(SbBool ccw) -> SoNormalGenerator\n" - ""}, - { (char *)"delete_SoNormalGenerator", _wrap_delete_SoNormalGenerator, METH_VARARGS, (char *)"delete_SoNormalGenerator(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_reset", _wrap_SoNormalGenerator_reset, METH_VARARGS, (char *)"SoNormalGenerator_reset(SoNormalGenerator self, SbBool ccw)"}, - { (char *)"SoNormalGenerator_beginPolygon", _wrap_SoNormalGenerator_beginPolygon, METH_VARARGS, (char *)"SoNormalGenerator_beginPolygon(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_polygonVertex", _wrap_SoNormalGenerator_polygonVertex, METH_VARARGS, (char *)"SoNormalGenerator_polygonVertex(SoNormalGenerator self, SbVec3f v)"}, - { (char *)"SoNormalGenerator_endPolygon", _wrap_SoNormalGenerator_endPolygon, METH_VARARGS, (char *)"SoNormalGenerator_endPolygon(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_triangle", _wrap_SoNormalGenerator_triangle, METH_VARARGS, (char *)"SoNormalGenerator_triangle(SoNormalGenerator self, SbVec3f v0, SbVec3f v1, SbVec3f v2)"}, - { (char *)"SoNormalGenerator_quad", _wrap_SoNormalGenerator_quad, METH_VARARGS, (char *)"\n" - "SoNormalGenerator_quad(SoNormalGenerator self, SbVec3f v0, SbVec3f v1, SbVec3f v2, \n" - " SbVec3f v3)\n" - ""}, - { (char *)"SoNormalGenerator_generate", _wrap_SoNormalGenerator_generate, METH_VARARGS, (char *)"\n" - "generate(float creaseAngle, int32_t striplens=None, int numstrips=0)\n" - "generate(float creaseAngle, int32_t striplens=None)\n" - "SoNormalGenerator_generate(SoNormalGenerator self, float creaseAngle)\n" - ""}, - { (char *)"SoNormalGenerator_generatePerStrip", _wrap_SoNormalGenerator_generatePerStrip, METH_VARARGS, (char *)"SoNormalGenerator_generatePerStrip(SoNormalGenerator self, int32_t striplens, int numstrips)"}, - { (char *)"SoNormalGenerator_generatePerFace", _wrap_SoNormalGenerator_generatePerFace, METH_VARARGS, (char *)"SoNormalGenerator_generatePerFace(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_generateOverall", _wrap_SoNormalGenerator_generateOverall, METH_VARARGS, (char *)"SoNormalGenerator_generateOverall(SoNormalGenerator self)"}, - { (char *)"SoNormalGenerator_getNumNormals", _wrap_SoNormalGenerator_getNumNormals, METH_VARARGS, (char *)"SoNormalGenerator_getNumNormals(SoNormalGenerator self) -> int"}, - { (char *)"SoNormalGenerator_setNumNormals", _wrap_SoNormalGenerator_setNumNormals, METH_VARARGS, (char *)"SoNormalGenerator_setNumNormals(SoNormalGenerator self, int num)"}, - { (char *)"SoNormalGenerator_getNormals", _wrap_SoNormalGenerator_getNormals, METH_VARARGS, (char *)"SoNormalGenerator_getNormals(SoNormalGenerator self) -> SbVec3f"}, - { (char *)"SoNormalGenerator_getNormal", _wrap_SoNormalGenerator_getNormal, METH_VARARGS, (char *)"SoNormalGenerator_getNormal(SoNormalGenerator self, int32_t i) -> SbVec3f"}, - { (char *)"SoNormalGenerator_setNormal", _wrap_SoNormalGenerator_setNormal, METH_VARARGS, (char *)"SoNormalGenerator_setNormal(SoNormalGenerator self, int32_t index, SbVec3f normal)"}, - { (char *)"SoNormalGenerator_swigregister", SoNormalGenerator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalElement_getClassTypeId", _wrap_SoNormalElement_getClassTypeId, METH_VARARGS, (char *)"SoNormalElement_getClassTypeId() -> SoType"}, - { (char *)"SoNormalElement_getClassStackIndex", _wrap_SoNormalElement_getClassStackIndex, METH_VARARGS, (char *)"SoNormalElement_getClassStackIndex() -> int"}, - { (char *)"SoNormalElement_createInstance", _wrap_SoNormalElement_createInstance, METH_VARARGS, (char *)"SoNormalElement_createInstance() -> void"}, - { (char *)"SoNormalElement_initClass", _wrap_SoNormalElement_initClass, METH_VARARGS, (char *)"SoNormalElement_initClass()"}, - { (char *)"SoNormalElement_init", _wrap_SoNormalElement_init, METH_VARARGS, (char *)"SoNormalElement_init(SoNormalElement self, SoState state)"}, - { (char *)"SoNormalElement_set", _wrap_SoNormalElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals, \n" - " SbBool normalsAreUnitLength=0)\n" - "SoNormalElement_set(SoState state, SoNode node, int32_t numNormals, SbVec3f normals)\n" - ""}, - { (char *)"SoNormalElement_getInstance", _wrap_SoNormalElement_getInstance, METH_VARARGS, (char *)"SoNormalElement_getInstance(SoState state) -> SoNormalElement"}, - { (char *)"SoNormalElement_getNum", _wrap_SoNormalElement_getNum, METH_VARARGS, (char *)"SoNormalElement_getNum(SoNormalElement self) -> int32_t"}, - { (char *)"SoNormalElement_get", _wrap_SoNormalElement_get, METH_VARARGS, (char *)"SoNormalElement_get(SoNormalElement self, int index) -> SbVec3f"}, - { (char *)"SoNormalElement_getArrayPtr", _wrap_SoNormalElement_getArrayPtr, METH_VARARGS, (char *)"SoNormalElement_getArrayPtr(SoNormalElement self) -> SbVec3f"}, - { (char *)"SoNormalElement_areNormalsUnitLength", _wrap_SoNormalElement_areNormalsUnitLength, METH_VARARGS, (char *)"SoNormalElement_areNormalsUnitLength(SoNormalElement self) -> SbBool"}, - { (char *)"SoNormalElement_swigregister", SoNormalElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLNormalElement_getClassTypeId", _wrap_SoGLNormalElement_getClassTypeId, METH_VARARGS, (char *)"SoGLNormalElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLNormalElement_getClassStackIndex", _wrap_SoGLNormalElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLNormalElement_getClassStackIndex() -> int"}, - { (char *)"SoGLNormalElement_createInstance", _wrap_SoGLNormalElement_createInstance, METH_VARARGS, (char *)"SoGLNormalElement_createInstance() -> void"}, - { (char *)"SoGLNormalElement_initClass", _wrap_SoGLNormalElement_initClass, METH_VARARGS, (char *)"SoGLNormalElement_initClass()"}, - { (char *)"SoGLNormalElement_init", _wrap_SoGLNormalElement_init, METH_VARARGS, (char *)"SoGLNormalElement_init(SoGLNormalElement self, SoState state)"}, - { (char *)"SoGLNormalElement_send", _wrap_SoGLNormalElement_send, METH_VARARGS, (char *)"SoGLNormalElement_send(SoGLNormalElement self, int index)"}, - { (char *)"SoGLNormalElement_swigregister", SoGLNormalElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormalBundle_generator_set", _wrap_SoNormalBundle_generator_set, METH_VARARGS, (char *)"SoNormalBundle_generator_set(SoNormalBundle self, SoNormalGenerator generator)"}, - { (char *)"SoNormalBundle_generator_get", _wrap_SoNormalBundle_generator_get, METH_VARARGS, (char *)"SoNormalBundle_generator_get(SoNormalBundle self) -> SoNormalGenerator"}, - { (char *)"SoNormalBundle_swigregister", SoNormalBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateElement_getClassTypeId", _wrap_SoTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateElement_getClassStackIndex", _wrap_SoTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCoordinateElement_createInstance", _wrap_SoTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoTextureCoordinateElement_initClass", _wrap_SoTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoTextureCoordinateElement_initClass()"}, - { (char *)"SoTextureCoordinateElement_init", _wrap_SoTextureCoordinateElement_init, METH_VARARGS, (char *)"SoTextureCoordinateElement_init(SoTextureCoordinateElement self, SoState state)"}, - { (char *)"SoTextureCoordinateElement_setDefault", _wrap_SoTextureCoordinateElement_setDefault, METH_VARARGS, (char *)"SoTextureCoordinateElement_setDefault(SoState state, SoNode node)"}, - { (char *)"SoTextureCoordinateElement_setFunction", _wrap_SoTextureCoordinateElement_setFunction, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateElement_setFunction(SoState state, SoNode node, SoTextureCoordinateFunctionCB func, \n" - " void userdata)\n" - ""}, - { (char *)"SoTextureCoordinateElement_set2", _wrap_SoTextureCoordinateElement_set2, METH_VARARGS, (char *)"SoTextureCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)"}, - { (char *)"SoTextureCoordinateElement_set3", _wrap_SoTextureCoordinateElement_set3, METH_VARARGS, (char *)"SoTextureCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoTextureCoordinateElement_set4", _wrap_SoTextureCoordinateElement_set4, METH_VARARGS, (char *)"SoTextureCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)"}, - { (char *)"SoTextureCoordinateElement_getType", _wrap_SoTextureCoordinateElement_getType, METH_VARARGS, (char *)"\n" - "getType(SoState state) -> CoordType\n" - "SoTextureCoordinateElement_getType(SoTextureCoordinateElement self) -> CoordType\n" - ""}, - { (char *)"SoTextureCoordinateElement_getInstance", _wrap_SoTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoTextureCoordinateElement_getInstance(SoState state) -> SoTextureCoordinateElement"}, - { (char *)"SoTextureCoordinateElement_get", _wrap_SoTextureCoordinateElement_get, METH_VARARGS, (char *)"SoTextureCoordinateElement_get(SoTextureCoordinateElement self, SbVec3f point, SbVec3f normal) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_getNum", _wrap_SoTextureCoordinateElement_getNum, METH_VARARGS, (char *)"SoTextureCoordinateElement_getNum(SoTextureCoordinateElement self) -> int32_t"}, - { (char *)"SoTextureCoordinateElement_is2D", _wrap_SoTextureCoordinateElement_is2D, METH_VARARGS, (char *)"SoTextureCoordinateElement_is2D(SoTextureCoordinateElement self) -> SbBool"}, - { (char *)"SoTextureCoordinateElement_getDimension", _wrap_SoTextureCoordinateElement_getDimension, METH_VARARGS, (char *)"SoTextureCoordinateElement_getDimension(SoTextureCoordinateElement self) -> int32_t"}, - { (char *)"SoTextureCoordinateElement_get2", _wrap_SoTextureCoordinateElement_get2, METH_VARARGS, (char *)"SoTextureCoordinateElement_get2(SoTextureCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoTextureCoordinateElement_get3", _wrap_SoTextureCoordinateElement_get3, METH_VARARGS, (char *)"SoTextureCoordinateElement_get3(SoTextureCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoTextureCoordinateElement_get4", _wrap_SoTextureCoordinateElement_get4, METH_VARARGS, (char *)"SoTextureCoordinateElement_get4(SoTextureCoordinateElement self, int index) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr2", _wrap_SoTextureCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr2(SoTextureCoordinateElement self) -> SbVec2f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr3", _wrap_SoTextureCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr3(SoTextureCoordinateElement self) -> SbVec3f"}, - { (char *)"SoTextureCoordinateElement_getArrayPtr4", _wrap_SoTextureCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoTextureCoordinateElement_getArrayPtr4(SoTextureCoordinateElement self) -> SbVec4f"}, - { (char *)"SoTextureCoordinateElement_swigregister", SoTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureCoordinateElement_getClassTypeId", _wrap_SoGLTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureCoordinateElement_getClassStackIndex", _wrap_SoGLTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureCoordinateElement_createInstance", _wrap_SoGLTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLTextureCoordinateElement_initClass", _wrap_SoGLTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_initClass()"}, - { (char *)"SoGLTextureCoordinateElement_init", _wrap_SoGLTextureCoordinateElement_init, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_init(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_push", _wrap_SoGLTextureCoordinateElement_push, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_push(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_pop", _wrap_SoGLTextureCoordinateElement_pop, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_pop(SoGLTextureCoordinateElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureCoordinateElement_setTexGen", _wrap_SoGLTextureCoordinateElement_setTexGen, METH_VARARGS, (char *)"\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None, \n" - " void funcData=None)\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None)\n" - "setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None)\n" - "SoGLTextureCoordinateElement_setTexGen(SoState state, SoNode node, SoTexCoordTexgenCB texgenFunc)\n" - ""}, - { (char *)"SoGLTextureCoordinateElement_getType", _wrap_SoGLTextureCoordinateElement_getType, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getType(SoGLTextureCoordinateElement self) -> CoordType"}, - { (char *)"SoGLTextureCoordinateElement_getInstance", _wrap_SoGLTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_getInstance(SoState state) -> SoGLTextureCoordinateElement"}, - { (char *)"SoGLTextureCoordinateElement_send", _wrap_SoGLTextureCoordinateElement_send, METH_VARARGS, (char *)"\n" - "send(int index)\n" - "SoGLTextureCoordinateElement_send(SoGLTextureCoordinateElement self, int index, SbVec3f c, \n" - " SbVec3f n)\n" - ""}, - { (char *)"SoGLTextureCoordinateElement_initMulti", _wrap_SoGLTextureCoordinateElement_initMulti, METH_VARARGS, (char *)"SoGLTextureCoordinateElement_initMulti(SoGLTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLTextureCoordinateElement_swigregister", SoGLTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTextureCoordinateBundle", _wrap_new_SoTextureCoordinateBundle, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateBundle(SoAction action, SbBool forRendering, SbBool setUpDefault=1)\n" - "new_SoTextureCoordinateBundle(SoAction action, SbBool forRendering) -> SoTextureCoordinateBundle\n" - ""}, - { (char *)"delete_SoTextureCoordinateBundle", _wrap_delete_SoTextureCoordinateBundle, METH_VARARGS, (char *)"delete_SoTextureCoordinateBundle(SoTextureCoordinateBundle self)"}, - { (char *)"SoTextureCoordinateBundle_needCoordinates", _wrap_SoTextureCoordinateBundle_needCoordinates, METH_VARARGS, (char *)"SoTextureCoordinateBundle_needCoordinates(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_isFunction", _wrap_SoTextureCoordinateBundle_isFunction, METH_VARARGS, (char *)"SoTextureCoordinateBundle_isFunction(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_get", _wrap_SoTextureCoordinateBundle_get, METH_VARARGS, (char *)"\n" - "get(int index) -> SbVec4f\n" - "SoTextureCoordinateBundle_get(SoTextureCoordinateBundle self, SbVec3f point, SbVec3f normal) -> SbVec4f\n" - ""}, - { (char *)"SoTextureCoordinateBundle_send", _wrap_SoTextureCoordinateBundle_send, METH_VARARGS, (char *)"\n" - "send(int index)\n" - "SoTextureCoordinateBundle_send(SoTextureCoordinateBundle self, int index, SbVec3f point, \n" - " SbVec3f normal)\n" - ""}, - { (char *)"SoTextureCoordinateBundle_needIndices", _wrap_SoTextureCoordinateBundle_needIndices, METH_VARARGS, (char *)"SoTextureCoordinateBundle_needIndices(SoTextureCoordinateBundle self) -> SbBool"}, - { (char *)"SoTextureCoordinateBundle_swigregister", SoTextureCoordinateBundle_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoCache", _wrap_new_SoCache, METH_VARARGS, (char *)"new_SoCache(SoState state) -> SoCache"}, - { (char *)"SoCache_ref", _wrap_SoCache_ref, METH_VARARGS, (char *)"SoCache_ref(SoCache self)"}, - { (char *)"SoCache_unref", _wrap_SoCache_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoCache_unref(SoCache self)\n" - ""}, - { (char *)"SoCache_addElement", _wrap_SoCache_addElement, METH_VARARGS, (char *)"SoCache_addElement(SoCache self, SoElement elem)"}, - { (char *)"SoCache_addCacheDependency", _wrap_SoCache_addCacheDependency, METH_VARARGS, (char *)"SoCache_addCacheDependency(SoCache self, SoState state, SoCache cache)"}, - { (char *)"SoCache_isValid", _wrap_SoCache_isValid, METH_VARARGS, (char *)"SoCache_isValid(SoCache self, SoState state) -> SbBool"}, - { (char *)"SoCache_getInvalidElement", _wrap_SoCache_getInvalidElement, METH_VARARGS, (char *)"SoCache_getInvalidElement(SoCache self, SoState state) -> SoElement"}, - { (char *)"SoCache_invalidate", _wrap_SoCache_invalidate, METH_VARARGS, (char *)"SoCache_invalidate(SoCache self)"}, - { (char *)"SoCache_swigregister", SoCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoBoundingBoxCache", _wrap_new_SoBoundingBoxCache, METH_VARARGS, (char *)"new_SoBoundingBoxCache(SoState state) -> SoBoundingBoxCache"}, - { (char *)"delete_SoBoundingBoxCache", _wrap_delete_SoBoundingBoxCache, METH_VARARGS, (char *)"delete_SoBoundingBoxCache(SoBoundingBoxCache self)"}, - { (char *)"SoBoundingBoxCache_set", _wrap_SoBoundingBoxCache_set, METH_VARARGS, (char *)"\n" - "SoBoundingBoxCache_set(SoBoundingBoxCache self, SbXfBox3f boundingbox, SbBool centerset, \n" - " SbVec3f centerpoint)\n" - ""}, - { (char *)"SoBoundingBoxCache_getBox", _wrap_SoBoundingBoxCache_getBox, METH_VARARGS, (char *)"SoBoundingBoxCache_getBox(SoBoundingBoxCache self) -> SbXfBox3f"}, - { (char *)"SoBoundingBoxCache_getProjectedBox", _wrap_SoBoundingBoxCache_getProjectedBox, METH_VARARGS, (char *)"SoBoundingBoxCache_getProjectedBox(SoBoundingBoxCache self) -> SbBox3f"}, - { (char *)"SoBoundingBoxCache_isCenterSet", _wrap_SoBoundingBoxCache_isCenterSet, METH_VARARGS, (char *)"SoBoundingBoxCache_isCenterSet(SoBoundingBoxCache self) -> SbBool"}, - { (char *)"SoBoundingBoxCache_getCenter", _wrap_SoBoundingBoxCache_getCenter, METH_VARARGS, (char *)"SoBoundingBoxCache_getCenter(SoBoundingBoxCache self) -> SbVec3f"}, - { (char *)"SoBoundingBoxCache_setHasLinesOrPoints", _wrap_SoBoundingBoxCache_setHasLinesOrPoints, METH_VARARGS, (char *)"SoBoundingBoxCache_setHasLinesOrPoints(SoState state)"}, - { (char *)"SoBoundingBoxCache_hasLinesOrPoints", _wrap_SoBoundingBoxCache_hasLinesOrPoints, METH_VARARGS, (char *)"SoBoundingBoxCache_hasLinesOrPoints(SoBoundingBoxCache self) -> SbBool"}, - { (char *)"SoBoundingBoxCache_swigregister", SoBoundingBoxCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoConvexDataCache", _wrap_new_SoConvexDataCache, METH_VARARGS, (char *)"new_SoConvexDataCache(SoState state) -> SoConvexDataCache"}, - { (char *)"delete_SoConvexDataCache", _wrap_delete_SoConvexDataCache, METH_VARARGS, (char *)"delete_SoConvexDataCache(SoConvexDataCache self)"}, - { (char *)"SoConvexDataCache_generate", _wrap_SoConvexDataCache_generate, METH_VARARGS, (char *)"\n" - "SoConvexDataCache_generate(SoConvexDataCache self, SoCoordinateElement coords, \n" - " SbMatrix matrix, int32_t coordindices, int numcoordindices, \n" - " int32_t matindices, int32_t normindices, \n" - " int32_t texindices, Binding matbinding, \n" - " Binding normbinding, Binding texbinding)\n" - ""}, - { (char *)"SoConvexDataCache_getCoordIndices", _wrap_SoConvexDataCache_getCoordIndices, METH_VARARGS, (char *)"SoConvexDataCache_getCoordIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumCoordIndices", _wrap_SoConvexDataCache_getNumCoordIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumCoordIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getMaterialIndices", _wrap_SoConvexDataCache_getMaterialIndices, METH_VARARGS, (char *)"SoConvexDataCache_getMaterialIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumMaterialIndices", _wrap_SoConvexDataCache_getNumMaterialIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumMaterialIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getNormalIndices", _wrap_SoConvexDataCache_getNormalIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNormalIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumNormalIndices", _wrap_SoConvexDataCache_getNumNormalIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumNormalIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_getTexIndices", _wrap_SoConvexDataCache_getTexIndices, METH_VARARGS, (char *)"SoConvexDataCache_getTexIndices(SoConvexDataCache self) -> int32_t"}, - { (char *)"SoConvexDataCache_getNumTexIndices", _wrap_SoConvexDataCache_getNumTexIndices, METH_VARARGS, (char *)"SoConvexDataCache_getNumTexIndices(SoConvexDataCache self) -> int"}, - { (char *)"SoConvexDataCache_swigregister", SoConvexDataCache_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCacheList_swigregister", SoGLCacheList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLazyElement_getClassTypeId", _wrap_SoGLLazyElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLazyElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLazyElement_getClassStackIndex", _wrap_SoGLLazyElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLazyElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLazyElement_createInstance", _wrap_SoGLLazyElement_createInstance, METH_VARARGS, (char *)"SoGLLazyElement_createInstance() -> void"}, - { (char *)"SoGLLazyElement_initClass", _wrap_SoGLLazyElement_initClass, METH_VARARGS, (char *)"SoGLLazyElement_initClass()"}, - { (char *)"SoGLLazyElement_init", _wrap_SoGLLazyElement_init, METH_VARARGS, (char *)"SoGLLazyElement_init(SoGLLazyElement self, SoState state)"}, - { (char *)"SoGLLazyElement_push", _wrap_SoGLLazyElement_push, METH_VARARGS, (char *)"SoGLLazyElement_push(SoGLLazyElement self, SoState state)"}, - { (char *)"SoGLLazyElement_pop", _wrap_SoGLLazyElement_pop, METH_VARARGS, (char *)"SoGLLazyElement_pop(SoGLLazyElement self, SoState state, SoElement prevtopelement)"}, - { (char *)"SoGLLazyElement_sendAllMaterial", _wrap_SoGLLazyElement_sendAllMaterial, METH_VARARGS, (char *)"SoGLLazyElement_sendAllMaterial(SoState state)"}, - { (char *)"SoGLLazyElement_sendNoMaterial", _wrap_SoGLLazyElement_sendNoMaterial, METH_VARARGS, (char *)"SoGLLazyElement_sendNoMaterial(SoState state)"}, - { (char *)"SoGLLazyElement_sendOnlyDiffuseColor", _wrap_SoGLLazyElement_sendOnlyDiffuseColor, METH_VARARGS, (char *)"SoGLLazyElement_sendOnlyDiffuseColor(SoState state)"}, - { (char *)"SoGLLazyElement_sendLightModel", _wrap_SoGLLazyElement_sendLightModel, METH_VARARGS, (char *)"SoGLLazyElement_sendLightModel(SoState state, int32_t model)"}, - { (char *)"SoGLLazyElement_sendPackedDiffuse", _wrap_SoGLLazyElement_sendPackedDiffuse, METH_VARARGS, (char *)"SoGLLazyElement_sendPackedDiffuse(SoState state, uint32_t diffuse)"}, - { (char *)"SoGLLazyElement_sendFlatshading", _wrap_SoGLLazyElement_sendFlatshading, METH_VARARGS, (char *)"SoGLLazyElement_sendFlatshading(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendVertexOrdering", _wrap_SoGLLazyElement_sendVertexOrdering, METH_VARARGS, (char *)"SoGLLazyElement_sendVertexOrdering(SoState state, VertexOrdering ordering)"}, - { (char *)"SoGLLazyElement_sendTwosideLighting", _wrap_SoGLLazyElement_sendTwosideLighting, METH_VARARGS, (char *)"SoGLLazyElement_sendTwosideLighting(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendBackfaceCulling", _wrap_SoGLLazyElement_sendBackfaceCulling, METH_VARARGS, (char *)"SoGLLazyElement_sendBackfaceCulling(SoState state, SbBool onoff)"}, - { (char *)"SoGLLazyElement_sendDiffuseByIndex", _wrap_SoGLLazyElement_sendDiffuseByIndex, METH_VARARGS, (char *)"SoGLLazyElement_sendDiffuseByIndex(SoGLLazyElement self, int index)"}, - { (char *)"SoGLLazyElement_isColorIndex", _wrap_SoGLLazyElement_isColorIndex, METH_VARARGS, (char *)"SoGLLazyElement_isColorIndex(SoState state) -> SbBool"}, - { (char *)"SoGLLazyElement_getInstance", _wrap_SoGLLazyElement_getInstance, METH_VARARGS, (char *)"SoGLLazyElement_getInstance(SoState state) -> SoGLLazyElement"}, - { (char *)"SoGLLazyElement_send", _wrap_SoGLLazyElement_send, METH_VARARGS, (char *)"SoGLLazyElement_send(SoGLLazyElement self, SoState state, uint32_t mask)"}, - { (char *)"SoGLLazyElement_sendVPPacked", _wrap_SoGLLazyElement_sendVPPacked, METH_VARARGS, (char *)"SoGLLazyElement_sendVPPacked(SoGLLazyElement self, SoState state, unsigned char pcolor)"}, - { (char *)"SoGLLazyElement_reset", _wrap_SoGLLazyElement_reset, METH_VARARGS, (char *)"SoGLLazyElement_reset(SoGLLazyElement self, SoState state, uint32_t bitmask)"}, - { (char *)"SoGLLazyElement_didsetbitmask_set", _wrap_SoGLLazyElement_didsetbitmask_set, METH_VARARGS, (char *)"SoGLLazyElement_didsetbitmask_set(SoGLLazyElement self, uint32_t didsetbitmask)"}, - { (char *)"SoGLLazyElement_didsetbitmask_get", _wrap_SoGLLazyElement_didsetbitmask_get, METH_VARARGS, (char *)"SoGLLazyElement_didsetbitmask_get(SoGLLazyElement self) -> uint32_t"}, - { (char *)"SoGLLazyElement_didntsetbitmask_set", _wrap_SoGLLazyElement_didntsetbitmask_set, METH_VARARGS, (char *)"SoGLLazyElement_didntsetbitmask_set(SoGLLazyElement self, uint32_t didntsetbitmask)"}, - { (char *)"SoGLLazyElement_didntsetbitmask_get", _wrap_SoGLLazyElement_didntsetbitmask_get, METH_VARARGS, (char *)"SoGLLazyElement_didntsetbitmask_get(SoGLLazyElement self) -> uint32_t"}, - { (char *)"SoGLLazyElement_cachebitmask_set", _wrap_SoGLLazyElement_cachebitmask_set, METH_VARARGS, (char *)"SoGLLazyElement_cachebitmask_set(SoGLLazyElement self, uint32_t cachebitmask)"}, - { (char *)"SoGLLazyElement_cachebitmask_get", _wrap_SoGLLazyElement_cachebitmask_get, METH_VARARGS, (char *)"SoGLLazyElement_cachebitmask_get(SoGLLazyElement self) -> uint32_t"}, - { (char *)"SoGLLazyElement_forcediffuse_set", _wrap_SoGLLazyElement_forcediffuse_set, METH_VARARGS, (char *)"SoGLLazyElement_forcediffuse_set(SoGLLazyElement self, SbBool forcediffuse)"}, - { (char *)"SoGLLazyElement_forcediffuse_get", _wrap_SoGLLazyElement_forcediffuse_get, METH_VARARGS, (char *)"SoGLLazyElement_forcediffuse_get(SoGLLazyElement self) -> SbBool"}, - { (char *)"SoGLLazyElement_glstate_set", _wrap_SoGLLazyElement_glstate_set, METH_VARARGS, (char *)"SoGLLazyElement_glstate_set(SoGLLazyElement self, GLState glstate)"}, - { (char *)"SoGLLazyElement_glstate_get", _wrap_SoGLLazyElement_glstate_get, METH_VARARGS, (char *)"SoGLLazyElement_glstate_get(SoGLLazyElement self) -> GLState"}, - { (char *)"SoGLLazyElement_postcachestate_set", _wrap_SoGLLazyElement_postcachestate_set, METH_VARARGS, (char *)"SoGLLazyElement_postcachestate_set(SoGLLazyElement self, GLState postcachestate)"}, - { (char *)"SoGLLazyElement_postcachestate_get", _wrap_SoGLLazyElement_postcachestate_get, METH_VARARGS, (char *)"SoGLLazyElement_postcachestate_get(SoGLLazyElement self) -> GLState"}, - { (char *)"SoGLLazyElement_precachestate_set", _wrap_SoGLLazyElement_precachestate_set, METH_VARARGS, (char *)"SoGLLazyElement_precachestate_set(SoGLLazyElement self, GLState precachestate)"}, - { (char *)"SoGLLazyElement_precachestate_get", _wrap_SoGLLazyElement_precachestate_get, METH_VARARGS, (char *)"SoGLLazyElement_precachestate_get(SoGLLazyElement self) -> GLState"}, - { (char *)"SoGLLazyElement_colorindex_set", _wrap_SoGLLazyElement_colorindex_set, METH_VARARGS, (char *)"SoGLLazyElement_colorindex_set(SoGLLazyElement self, SbBool colorindex)"}, - { (char *)"SoGLLazyElement_colorindex_get", _wrap_SoGLLazyElement_colorindex_get, METH_VARARGS, (char *)"SoGLLazyElement_colorindex_get(SoGLLazyElement self) -> SbBool"}, - { (char *)"SoGLLazyElement_colorpacker_set", _wrap_SoGLLazyElement_colorpacker_set, METH_VARARGS, (char *)"SoGLLazyElement_colorpacker_set(SoGLLazyElement self, SoColorPacker colorpacker)"}, - { (char *)"SoGLLazyElement_colorpacker_get", _wrap_SoGLLazyElement_colorpacker_get, METH_VARARGS, (char *)"SoGLLazyElement_colorpacker_get(SoGLLazyElement self) -> SoColorPacker"}, - { (char *)"SoGLLazyElement_packedpointer_set", _wrap_SoGLLazyElement_packedpointer_set, METH_VARARGS, (char *)"SoGLLazyElement_packedpointer_set(SoGLLazyElement self, uint32_t packedpointer)"}, - { (char *)"SoGLLazyElement_packedpointer_get", _wrap_SoGLLazyElement_packedpointer_get, METH_VARARGS, (char *)"SoGLLazyElement_packedpointer_get(SoGLLazyElement self) -> uint32_t"}, - { (char *)"SoGLLazyElement_transpmask_set", _wrap_SoGLLazyElement_transpmask_set, METH_VARARGS, (char *)"SoGLLazyElement_transpmask_set(SoGLLazyElement self, uint32_t transpmask)"}, - { (char *)"SoGLLazyElement_transpmask_get", _wrap_SoGLLazyElement_transpmask_get, METH_VARARGS, (char *)"SoGLLazyElement_transpmask_get(SoGLLazyElement self) -> uint32_t"}, - { (char *)"SoGLLazyElement_state_set", _wrap_SoGLLazyElement_state_set, METH_VARARGS, (char *)"SoGLLazyElement_state_set(SoGLLazyElement self, SoState state)"}, - { (char *)"SoGLLazyElement_state_get", _wrap_SoGLLazyElement_state_get, METH_VARARGS, (char *)"SoGLLazyElement_state_get(SoGLLazyElement self) -> SoState"}, - { (char *)"SoGLLazyElement_setDiffuseElt", _wrap_SoGLLazyElement_setDiffuseElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setDiffuseElt(SoGLLazyElement self, SoNode ?, int32_t numcolors, \n" - " SbColor colors, SoColorPacker packer)\n" - ""}, - { (char *)"SoGLLazyElement_setPackedElt", _wrap_SoGLLazyElement_setPackedElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setPackedElt(SoGLLazyElement self, SoNode node, int32_t numcolors, \n" - " uint32_t colors, SbBool packedtransparency)\n" - ""}, - { (char *)"SoGLLazyElement_setColorIndexElt", _wrap_SoGLLazyElement_setColorIndexElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setColorIndexElt(SoGLLazyElement self, SoNode node, int32_t numindices, \n" - " int32_t indices)\n" - ""}, - { (char *)"SoGLLazyElement_setTranspElt", _wrap_SoGLLazyElement_setTranspElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setTranspElt(SoGLLazyElement self, SoNode node, int32_t numtransp, \n" - " float transp, SoColorPacker packer)\n" - ""}, - { (char *)"SoGLLazyElement_setTranspTypeElt", _wrap_SoGLLazyElement_setTranspTypeElt, METH_VARARGS, (char *)"SoGLLazyElement_setTranspTypeElt(SoGLLazyElement self, int32_t type)"}, - { (char *)"SoGLLazyElement_setAmbientElt", _wrap_SoGLLazyElement_setAmbientElt, METH_VARARGS, (char *)"SoGLLazyElement_setAmbientElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setEmissiveElt", _wrap_SoGLLazyElement_setEmissiveElt, METH_VARARGS, (char *)"SoGLLazyElement_setEmissiveElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setSpecularElt", _wrap_SoGLLazyElement_setSpecularElt, METH_VARARGS, (char *)"SoGLLazyElement_setSpecularElt(SoGLLazyElement self, SbColor color)"}, - { (char *)"SoGLLazyElement_setShininessElt", _wrap_SoGLLazyElement_setShininessElt, METH_VARARGS, (char *)"SoGLLazyElement_setShininessElt(SoGLLazyElement self, float value)"}, - { (char *)"SoGLLazyElement_setColorMaterialElt", _wrap_SoGLLazyElement_setColorMaterialElt, METH_VARARGS, (char *)"SoGLLazyElement_setColorMaterialElt(SoGLLazyElement self, SbBool value)"}, - { (char *)"SoGLLazyElement_enableBlendingElt", _wrap_SoGLLazyElement_enableBlendingElt, METH_VARARGS, (char *)"SoGLLazyElement_enableBlendingElt(SoGLLazyElement self, int sfactor, int dfactor)"}, - { (char *)"SoGLLazyElement_disableBlendingElt", _wrap_SoGLLazyElement_disableBlendingElt, METH_VARARGS, (char *)"SoGLLazyElement_disableBlendingElt(SoGLLazyElement self)"}, - { (char *)"SoGLLazyElement_setLightModelElt", _wrap_SoGLLazyElement_setLightModelElt, METH_VARARGS, (char *)"SoGLLazyElement_setLightModelElt(SoGLLazyElement self, SoState state, int32_t model)"}, - { (char *)"SoGLLazyElement_setMaterialElt", _wrap_SoGLLazyElement_setMaterialElt, METH_VARARGS, (char *)"\n" - "SoGLLazyElement_setMaterialElt(SoGLLazyElement self, SoNode node, uint32_t bitmask, \n" - " SoColorPacker packer, SbColor diffuse, int numdiffuse, \n" - " float transp, int numtransp, SbColor ambient, \n" - " SbColor emissive, SbColor specular, \n" - " float shininess, SbBool istransparent)\n" - ""}, - { (char *)"SoGLLazyElement_setVertexOrderingElt", _wrap_SoGLLazyElement_setVertexOrderingElt, METH_VARARGS, (char *)"SoGLLazyElement_setVertexOrderingElt(SoGLLazyElement self, VertexOrdering ordering)"}, - { (char *)"SoGLLazyElement_setBackfaceCullingElt", _wrap_SoGLLazyElement_setBackfaceCullingElt, METH_VARARGS, (char *)"SoGLLazyElement_setBackfaceCullingElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_setTwosideLightingElt", _wrap_SoGLLazyElement_setTwosideLightingElt, METH_VARARGS, (char *)"SoGLLazyElement_setTwosideLightingElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_setShadeModelElt", _wrap_SoGLLazyElement_setShadeModelElt, METH_VARARGS, (char *)"SoGLLazyElement_setShadeModelElt(SoGLLazyElement self, SbBool flatshading)"}, - { (char *)"SoGLLazyElement_setGLImageIdElt", _wrap_SoGLLazyElement_setGLImageIdElt, METH_VARARGS, (char *)"SoGLLazyElement_setGLImageIdElt(SoGLLazyElement self, uint32_t glimageid, SbBool alphatest)"}, - { (char *)"SoGLLazyElement_setAlphaTestElt", _wrap_SoGLLazyElement_setAlphaTestElt, METH_VARARGS, (char *)"SoGLLazyElement_setAlphaTestElt(SoGLLazyElement self, SbBool onoff)"}, - { (char *)"SoGLLazyElement_beginCaching", _wrap_SoGLLazyElement_beginCaching, METH_VARARGS, (char *)"SoGLLazyElement_beginCaching(SoState state, GLState prestate, GLState poststate)"}, - { (char *)"SoGLLazyElement_endCaching", _wrap_SoGLLazyElement_endCaching, METH_VARARGS, (char *)"SoGLLazyElement_endCaching(SoState state)"}, - { (char *)"SoGLLazyElement_preCacheCall", _wrap_SoGLLazyElement_preCacheCall, METH_VARARGS, (char *)"SoGLLazyElement_preCacheCall(SoState state, GLState prestate) -> SbBool"}, - { (char *)"SoGLLazyElement_postCacheCall", _wrap_SoGLLazyElement_postCacheCall, METH_VARARGS, (char *)"SoGLLazyElement_postCacheCall(SoState state, GLState poststate)"}, - { (char *)"SoGLLazyElement_swigregister", SoGLLazyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLazyElement_GLState_cachebitmask_set", _wrap_SoGLLazyElement_GLState_cachebitmask_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_cachebitmask_set(SoGLLazyElement_GLState self, uint32_t cachebitmask)"}, - { (char *)"SoGLLazyElement_GLState_cachebitmask_get", _wrap_SoGLLazyElement_GLState_cachebitmask_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_cachebitmask_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_diffuse_set", _wrap_SoGLLazyElement_GLState_diffuse_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffuse_set(SoGLLazyElement_GLState self, uint32_t diffuse)"}, - { (char *)"SoGLLazyElement_GLState_diffuse_get", _wrap_SoGLLazyElement_GLState_diffuse_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_diffuse_get(SoGLLazyElement_GLState self) -> uint32_t"}, - { (char *)"SoGLLazyElement_GLState_ambient_set", _wrap_SoGLLazyElement_GLState_ambient_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_ambient_set(SoGLLazyElement_GLState self, SbColor ambient)"}, - { (char *)"SoGLLazyElement_GLState_ambient_get", _wrap_SoGLLazyElement_GLState_ambient_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_ambient_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_emissive_set", _wrap_SoGLLazyElement_GLState_emissive_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_emissive_set(SoGLLazyElement_GLState self, SbColor emissive)"}, - { (char *)"SoGLLazyElement_GLState_emissive_get", _wrap_SoGLLazyElement_GLState_emissive_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_emissive_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_specular_set", _wrap_SoGLLazyElement_GLState_specular_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_specular_set(SoGLLazyElement_GLState self, SbColor specular)"}, - { (char *)"SoGLLazyElement_GLState_specular_get", _wrap_SoGLLazyElement_GLState_specular_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_specular_get(SoGLLazyElement_GLState self) -> SbColor"}, - { (char *)"SoGLLazyElement_GLState_shininess_set", _wrap_SoGLLazyElement_GLState_shininess_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_shininess_set(SoGLLazyElement_GLState self, float shininess)"}, - { (char *)"SoGLLazyElement_GLState_shininess_get", _wrap_SoGLLazyElement_GLState_shininess_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_shininess_get(SoGLLazyElement_GLState self) -> float"}, - { (char *)"SoGLLazyElement_GLState_lightmodel_set", _wrap_SoGLLazyElement_GLState_lightmodel_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_lightmodel_set(SoGLLazyElement_GLState self, int32_t lightmodel)"}, - { (char *)"SoGLLazyElement_GLState_lightmodel_get", _wrap_SoGLLazyElement_GLState_lightmodel_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_lightmodel_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blending_set", _wrap_SoGLLazyElement_GLState_blending_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blending_set(SoGLLazyElement_GLState self, int32_t blending)"}, - { (char *)"SoGLLazyElement_GLState_blending_get", _wrap_SoGLLazyElement_GLState_blending_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blending_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blend_sfactor_set", _wrap_SoGLLazyElement_GLState_blend_sfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_sfactor_set(SoGLLazyElement_GLState self, int32_t blend_sfactor)"}, - { (char *)"SoGLLazyElement_GLState_blend_sfactor_get", _wrap_SoGLLazyElement_GLState_blend_sfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_sfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_blend_dfactor_set", _wrap_SoGLLazyElement_GLState_blend_dfactor_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_dfactor_set(SoGLLazyElement_GLState self, int32_t blend_dfactor)"}, - { (char *)"SoGLLazyElement_GLState_blend_dfactor_get", _wrap_SoGLLazyElement_GLState_blend_dfactor_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_blend_dfactor_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_stipplenum_set", _wrap_SoGLLazyElement_GLState_stipplenum_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_stipplenum_set(SoGLLazyElement_GLState self, int32_t stipplenum)"}, - { (char *)"SoGLLazyElement_GLState_stipplenum_get", _wrap_SoGLLazyElement_GLState_stipplenum_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_stipplenum_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_vertexordering_set", _wrap_SoGLLazyElement_GLState_vertexordering_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_vertexordering_set(SoGLLazyElement_GLState self, int32_t vertexordering)"}, - { (char *)"SoGLLazyElement_GLState_vertexordering_get", _wrap_SoGLLazyElement_GLState_vertexordering_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_vertexordering_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_culling_set", _wrap_SoGLLazyElement_GLState_culling_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_culling_set(SoGLLazyElement_GLState self, int32_t culling)"}, - { (char *)"SoGLLazyElement_GLState_culling_get", _wrap_SoGLLazyElement_GLState_culling_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_culling_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_twoside_set", _wrap_SoGLLazyElement_GLState_twoside_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_twoside_set(SoGLLazyElement_GLState self, int32_t twoside)"}, - { (char *)"SoGLLazyElement_GLState_twoside_get", _wrap_SoGLLazyElement_GLState_twoside_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_twoside_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_flatshading_set", _wrap_SoGLLazyElement_GLState_flatshading_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_flatshading_set(SoGLLazyElement_GLState self, int32_t flatshading)"}, - { (char *)"SoGLLazyElement_GLState_flatshading_get", _wrap_SoGLLazyElement_GLState_flatshading_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_flatshading_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_glimageid_set", _wrap_SoGLLazyElement_GLState_glimageid_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_glimageid_set(SoGLLazyElement_GLState self, int32_t glimageid)"}, - { (char *)"SoGLLazyElement_GLState_glimageid_get", _wrap_SoGLLazyElement_GLState_glimageid_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_glimageid_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"SoGLLazyElement_GLState_alphatest_set", _wrap_SoGLLazyElement_GLState_alphatest_set, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alphatest_set(SoGLLazyElement_GLState self, int32_t alphatest)"}, - { (char *)"SoGLLazyElement_GLState_alphatest_get", _wrap_SoGLLazyElement_GLState_alphatest_get, METH_VARARGS, (char *)"SoGLLazyElement_GLState_alphatest_get(SoGLLazyElement_GLState self) -> int32_t"}, - { (char *)"new_SoGLLazyElement_GLState", _wrap_new_SoGLLazyElement_GLState, METH_VARARGS, (char *)"new_SoGLLazyElement_GLState() -> SoGLLazyElement_GLState"}, - { (char *)"delete_SoGLLazyElement_GLState", _wrap_delete_SoGLLazyElement_GLState, METH_VARARGS, (char *)"delete_SoGLLazyElement_GLState(SoGLLazyElement_GLState self)"}, - { (char *)"SoGLLazyElement_GLState_swigregister", SoGLLazyElement_GLState_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoGLRenderCache", _wrap_delete_SoGLRenderCache, METH_VARARGS, (char *)"delete_SoGLRenderCache(SoGLRenderCache self)"}, - { (char *)"SoGLRenderCache_isValid", _wrap_SoGLRenderCache_isValid, METH_VARARGS, (char *)"SoGLRenderCache_isValid(SoGLRenderCache self, SoState state) -> SbBool"}, - { (char *)"SoGLRenderCache_addNestedCache", _wrap_SoGLRenderCache_addNestedCache, METH_VARARGS, (char *)"SoGLRenderCache_addNestedCache(SoGLRenderCache self, SoGLDisplayList child)"}, - { (char *)"SoGLRenderCache_swigregister", SoGLRenderCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNormalCache", _wrap_new_SoNormalCache, METH_VARARGS, (char *)"new_SoNormalCache(SoState state) -> SoNormalCache"}, - { (char *)"delete_SoNormalCache", _wrap_delete_SoNormalCache, METH_VARARGS, (char *)"delete_SoNormalCache(SoNormalCache self)"}, - { (char *)"SoNormalCache_set", _wrap_SoNormalCache_set, METH_VARARGS, (char *)"\n" - "set(int num, SbVec3f normals)\n" - "SoNormalCache_set(SoNormalCache self, SoNormalGenerator generator)\n" - ""}, - { (char *)"SoNormalCache_generatePerVertex", _wrap_SoNormalCache_generatePerVertex, METH_VARARGS, (char *)"\n" - "generatePerVertex(SbVec3f coords, int32_t coordindices, int numcoordindices, \n" - " float crease_angle, SbVec3f facenormals=None, \n" - " SbBool ccw=1, SbBool tristrip=0)\n" - "generatePerVertex(SbVec3f coords, int32_t coordindices, int numcoordindices, \n" - " float crease_angle, SbVec3f facenormals=None, \n" - " SbBool ccw=1)\n" - "generatePerVertex(SbVec3f coords, int32_t coordindices, int numcoordindices, \n" - " float crease_angle, SbVec3f facenormals=None)\n" - "SoNormalCache_generatePerVertex(SoNormalCache self, SbVec3f coords, int32_t coordindices, \n" - " int numcoordindices, float crease_angle)\n" - ""}, - { (char *)"SoNormalCache_generatePerFace", _wrap_SoNormalCache_generatePerFace, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFace(SoNormalCache self, SbVec3f coords, int32_t coordindices, \n" - " int numcoorindices, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerFaceStrip", _wrap_SoNormalCache_generatePerFaceStrip, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFaceStrip(SoNormalCache self, SbVec3f coords, int32_t coordindices, \n" - " int numcoorindices, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerStrip", _wrap_SoNormalCache_generatePerStrip, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerStrip(SoNormalCache self, SbVec3f coords, int32_t coordindices, \n" - " int numcoorindices, SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerVertexQuad", _wrap_SoNormalCache_generatePerVertexQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerVertexQuad(SoNormalCache self, SbVec3f coords, int vPerRow, int vPerColumn, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerFaceQuad", _wrap_SoNormalCache_generatePerFaceQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerFaceQuad(SoNormalCache self, SbVec3f coords, int vPerRow, int vPerColumn, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_generatePerRowQuad", _wrap_SoNormalCache_generatePerRowQuad, METH_VARARGS, (char *)"\n" - "SoNormalCache_generatePerRowQuad(SoNormalCache self, SbVec3f coords, int vPerRow, int vPerColumn, \n" - " SbBool ccw)\n" - ""}, - { (char *)"SoNormalCache_getNum", _wrap_SoNormalCache_getNum, METH_VARARGS, (char *)"SoNormalCache_getNum(SoNormalCache self) -> int"}, - { (char *)"SoNormalCache_getNormals", _wrap_SoNormalCache_getNormals, METH_VARARGS, (char *)"SoNormalCache_getNormals(SoNormalCache self) -> SbVec3f"}, - { (char *)"SoNormalCache_getNumIndices", _wrap_SoNormalCache_getNumIndices, METH_VARARGS, (char *)"SoNormalCache_getNumIndices(SoNormalCache self) -> int"}, - { (char *)"SoNormalCache_getIndices", _wrap_SoNormalCache_getIndices, METH_VARARGS, (char *)"SoNormalCache_getIndices(SoNormalCache self) -> int32_t"}, - { (char *)"SoNormalCache_swigregister", SoNormalCache_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTextureCoordinateCache", _wrap_new_SoTextureCoordinateCache, METH_VARARGS, (char *)"new_SoTextureCoordinateCache(SoState state) -> SoTextureCoordinateCache"}, - { (char *)"delete_SoTextureCoordinateCache", _wrap_delete_SoTextureCoordinateCache, METH_VARARGS, (char *)"delete_SoTextureCoordinateCache(SoTextureCoordinateCache self)"}, - { (char *)"SoTextureCoordinateCache_generate", _wrap_SoTextureCoordinateCache_generate, METH_VARARGS, (char *)"\n" - "SoTextureCoordinateCache_generate(SoTextureCoordinateCache self, SbBox3f bbox, SbVec3f vertices, \n" - " int numvertices)\n" - ""}, - { (char *)"SoTextureCoordinateCache_get", _wrap_SoTextureCoordinateCache_get, METH_VARARGS, (char *)"SoTextureCoordinateCache_get(SoTextureCoordinateCache self) -> SbVec2f"}, - { (char *)"SoTextureCoordinateCache_getNum", _wrap_SoTextureCoordinateCache_getNum, METH_VARARGS, (char *)"SoTextureCoordinateCache_getNum(SoTextureCoordinateCache self) -> int"}, - { (char *)"SoTextureCoordinateCache_swigregister", SoTextureCoordinateCache_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoDetail", _wrap_delete_SoDetail, METH_VARARGS, (char *)"delete_SoDetail(SoDetail self)"}, - { (char *)"SoDetail_initClass", _wrap_SoDetail_initClass, METH_VARARGS, (char *)"SoDetail_initClass()"}, - { (char *)"SoDetail_initClasses", _wrap_SoDetail_initClasses, METH_VARARGS, (char *)"SoDetail_initClasses()"}, - { (char *)"SoDetail_copy", _wrap_SoDetail_copy, METH_VARARGS, (char *)"SoDetail_copy(SoDetail self) -> SoDetail"}, - { (char *)"SoDetail_getTypeId", _wrap_SoDetail_getTypeId, METH_VARARGS, (char *)"SoDetail_getTypeId(SoDetail self) -> SoType"}, - { (char *)"SoDetail_isOfType", _wrap_SoDetail_isOfType, METH_VARARGS, (char *)"SoDetail_isOfType(SoDetail self, SoType type) -> SbBool"}, - { (char *)"SoDetail_getClassTypeId", _wrap_SoDetail_getClassTypeId, METH_VARARGS, (char *)"SoDetail_getClassTypeId() -> SoType"}, - { (char *)"SoDetail_swigregister", SoDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoConeDetail_getTypeId", _wrap_SoConeDetail_getTypeId, METH_VARARGS, (char *)"SoConeDetail_getTypeId(SoConeDetail self) -> SoType"}, - { (char *)"SoConeDetail_getClassTypeId", _wrap_SoConeDetail_getClassTypeId, METH_VARARGS, (char *)"SoConeDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoConeDetail", _wrap_new_SoConeDetail, METH_VARARGS, (char *)"new_SoConeDetail() -> SoConeDetail"}, - { (char *)"delete_SoConeDetail", _wrap_delete_SoConeDetail, METH_VARARGS, (char *)"delete_SoConeDetail(SoConeDetail self)"}, - { (char *)"SoConeDetail_initClass", _wrap_SoConeDetail_initClass, METH_VARARGS, (char *)"SoConeDetail_initClass()"}, - { (char *)"SoConeDetail_copy", _wrap_SoConeDetail_copy, METH_VARARGS, (char *)"SoConeDetail_copy(SoConeDetail self) -> SoDetail"}, - { (char *)"SoConeDetail_setPart", _wrap_SoConeDetail_setPart, METH_VARARGS, (char *)"SoConeDetail_setPart(SoConeDetail self, int part)"}, - { (char *)"SoConeDetail_getPart", _wrap_SoConeDetail_getPart, METH_VARARGS, (char *)"SoConeDetail_getPart(SoConeDetail self) -> int"}, - { (char *)"SoConeDetail_swigregister", SoConeDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCubeDetail_getTypeId", _wrap_SoCubeDetail_getTypeId, METH_VARARGS, (char *)"SoCubeDetail_getTypeId(SoCubeDetail self) -> SoType"}, - { (char *)"SoCubeDetail_getClassTypeId", _wrap_SoCubeDetail_getClassTypeId, METH_VARARGS, (char *)"SoCubeDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoCubeDetail", _wrap_new_SoCubeDetail, METH_VARARGS, (char *)"new_SoCubeDetail() -> SoCubeDetail"}, - { (char *)"delete_SoCubeDetail", _wrap_delete_SoCubeDetail, METH_VARARGS, (char *)"delete_SoCubeDetail(SoCubeDetail self)"}, - { (char *)"SoCubeDetail_initClass", _wrap_SoCubeDetail_initClass, METH_VARARGS, (char *)"SoCubeDetail_initClass()"}, - { (char *)"SoCubeDetail_copy", _wrap_SoCubeDetail_copy, METH_VARARGS, (char *)"SoCubeDetail_copy(SoCubeDetail self) -> SoDetail"}, - { (char *)"SoCubeDetail_setPart", _wrap_SoCubeDetail_setPart, METH_VARARGS, (char *)"SoCubeDetail_setPart(SoCubeDetail self, int part)"}, - { (char *)"SoCubeDetail_getPart", _wrap_SoCubeDetail_getPart, METH_VARARGS, (char *)"SoCubeDetail_getPart(SoCubeDetail self) -> int"}, - { (char *)"SoCubeDetail_swigregister", SoCubeDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCylinderDetail_getTypeId", _wrap_SoCylinderDetail_getTypeId, METH_VARARGS, (char *)"SoCylinderDetail_getTypeId(SoCylinderDetail self) -> SoType"}, - { (char *)"SoCylinderDetail_getClassTypeId", _wrap_SoCylinderDetail_getClassTypeId, METH_VARARGS, (char *)"SoCylinderDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoCylinderDetail", _wrap_new_SoCylinderDetail, METH_VARARGS, (char *)"new_SoCylinderDetail() -> SoCylinderDetail"}, - { (char *)"delete_SoCylinderDetail", _wrap_delete_SoCylinderDetail, METH_VARARGS, (char *)"delete_SoCylinderDetail(SoCylinderDetail self)"}, - { (char *)"SoCylinderDetail_initClass", _wrap_SoCylinderDetail_initClass, METH_VARARGS, (char *)"SoCylinderDetail_initClass()"}, - { (char *)"SoCylinderDetail_copy", _wrap_SoCylinderDetail_copy, METH_VARARGS, (char *)"SoCylinderDetail_copy(SoCylinderDetail self) -> SoDetail"}, - { (char *)"SoCylinderDetail_setPart", _wrap_SoCylinderDetail_setPart, METH_VARARGS, (char *)"SoCylinderDetail_setPart(SoCylinderDetail self, int part)"}, - { (char *)"SoCylinderDetail_getPart", _wrap_SoCylinderDetail_getPart, METH_VARARGS, (char *)"SoCylinderDetail_getPart(SoCylinderDetail self) -> int"}, - { (char *)"SoCylinderDetail_swigregister", SoCylinderDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointDetail_getTypeId", _wrap_SoPointDetail_getTypeId, METH_VARARGS, (char *)"SoPointDetail_getTypeId(SoPointDetail self) -> SoType"}, - { (char *)"SoPointDetail_getClassTypeId", _wrap_SoPointDetail_getClassTypeId, METH_VARARGS, (char *)"SoPointDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoPointDetail", _wrap_new_SoPointDetail, METH_VARARGS, (char *)"new_SoPointDetail() -> SoPointDetail"}, - { (char *)"delete_SoPointDetail", _wrap_delete_SoPointDetail, METH_VARARGS, (char *)"delete_SoPointDetail(SoPointDetail self)"}, - { (char *)"SoPointDetail_initClass", _wrap_SoPointDetail_initClass, METH_VARARGS, (char *)"SoPointDetail_initClass()"}, - { (char *)"SoPointDetail_copy", _wrap_SoPointDetail_copy, METH_VARARGS, (char *)"SoPointDetail_copy(SoPointDetail self) -> SoDetail"}, - { (char *)"SoPointDetail_getCoordinateIndex", _wrap_SoPointDetail_getCoordinateIndex, METH_VARARGS, (char *)"SoPointDetail_getCoordinateIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getMaterialIndex", _wrap_SoPointDetail_getMaterialIndex, METH_VARARGS, (char *)"SoPointDetail_getMaterialIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getNormalIndex", _wrap_SoPointDetail_getNormalIndex, METH_VARARGS, (char *)"SoPointDetail_getNormalIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_getTextureCoordIndex", _wrap_SoPointDetail_getTextureCoordIndex, METH_VARARGS, (char *)"SoPointDetail_getTextureCoordIndex(SoPointDetail self) -> int"}, - { (char *)"SoPointDetail_setCoordinateIndex", _wrap_SoPointDetail_setCoordinateIndex, METH_VARARGS, (char *)"SoPointDetail_setCoordinateIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setMaterialIndex", _wrap_SoPointDetail_setMaterialIndex, METH_VARARGS, (char *)"SoPointDetail_setMaterialIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setNormalIndex", _wrap_SoPointDetail_setNormalIndex, METH_VARARGS, (char *)"SoPointDetail_setNormalIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_setTextureCoordIndex", _wrap_SoPointDetail_setTextureCoordIndex, METH_VARARGS, (char *)"SoPointDetail_setTextureCoordIndex(SoPointDetail self, int idx)"}, - { (char *)"SoPointDetail_swigregister", SoPointDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFaceDetail_getTypeId", _wrap_SoFaceDetail_getTypeId, METH_VARARGS, (char *)"SoFaceDetail_getTypeId(SoFaceDetail self) -> SoType"}, - { (char *)"SoFaceDetail_getClassTypeId", _wrap_SoFaceDetail_getClassTypeId, METH_VARARGS, (char *)"SoFaceDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoFaceDetail", _wrap_new_SoFaceDetail, METH_VARARGS, (char *)"new_SoFaceDetail() -> SoFaceDetail"}, - { (char *)"delete_SoFaceDetail", _wrap_delete_SoFaceDetail, METH_VARARGS, (char *)"delete_SoFaceDetail(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_initClass", _wrap_SoFaceDetail_initClass, METH_VARARGS, (char *)"SoFaceDetail_initClass()"}, - { (char *)"SoFaceDetail_copy", _wrap_SoFaceDetail_copy, METH_VARARGS, (char *)"SoFaceDetail_copy(SoFaceDetail self) -> SoDetail"}, - { (char *)"SoFaceDetail_getNumPoints", _wrap_SoFaceDetail_getNumPoints, METH_VARARGS, (char *)"SoFaceDetail_getNumPoints(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_getPoint", _wrap_SoFaceDetail_getPoint, METH_VARARGS, (char *)"SoFaceDetail_getPoint(SoFaceDetail self, int idx) -> SoPointDetail"}, - { (char *)"SoFaceDetail_getPoints", _wrap_SoFaceDetail_getPoints, METH_VARARGS, (char *)"SoFaceDetail_getPoints(SoFaceDetail self) -> SoPointDetail"}, - { (char *)"SoFaceDetail_getFaceIndex", _wrap_SoFaceDetail_getFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_getFaceIndex(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_getPartIndex", _wrap_SoFaceDetail_getPartIndex, METH_VARARGS, (char *)"SoFaceDetail_getPartIndex(SoFaceDetail self) -> int"}, - { (char *)"SoFaceDetail_setNumPoints", _wrap_SoFaceDetail_setNumPoints, METH_VARARGS, (char *)"SoFaceDetail_setNumPoints(SoFaceDetail self, int num)"}, - { (char *)"SoFaceDetail_setPoint", _wrap_SoFaceDetail_setPoint, METH_VARARGS, (char *)"SoFaceDetail_setPoint(SoFaceDetail self, int idx, SoPointDetail detail)"}, - { (char *)"SoFaceDetail_setFaceIndex", _wrap_SoFaceDetail_setFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_setFaceIndex(SoFaceDetail self, int idx)"}, - { (char *)"SoFaceDetail_setPartIndex", _wrap_SoFaceDetail_setPartIndex, METH_VARARGS, (char *)"SoFaceDetail_setPartIndex(SoFaceDetail self, int idx)"}, - { (char *)"SoFaceDetail_incFaceIndex", _wrap_SoFaceDetail_incFaceIndex, METH_VARARGS, (char *)"SoFaceDetail_incFaceIndex(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_incPartIndex", _wrap_SoFaceDetail_incPartIndex, METH_VARARGS, (char *)"SoFaceDetail_incPartIndex(SoFaceDetail self)"}, - { (char *)"SoFaceDetail_swigregister", SoFaceDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineDetail_getTypeId", _wrap_SoLineDetail_getTypeId, METH_VARARGS, (char *)"SoLineDetail_getTypeId(SoLineDetail self) -> SoType"}, - { (char *)"SoLineDetail_getClassTypeId", _wrap_SoLineDetail_getClassTypeId, METH_VARARGS, (char *)"SoLineDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoLineDetail", _wrap_new_SoLineDetail, METH_VARARGS, (char *)"new_SoLineDetail() -> SoLineDetail"}, - { (char *)"delete_SoLineDetail", _wrap_delete_SoLineDetail, METH_VARARGS, (char *)"delete_SoLineDetail(SoLineDetail self)"}, - { (char *)"SoLineDetail_initClass", _wrap_SoLineDetail_initClass, METH_VARARGS, (char *)"SoLineDetail_initClass()"}, - { (char *)"SoLineDetail_copy", _wrap_SoLineDetail_copy, METH_VARARGS, (char *)"SoLineDetail_copy(SoLineDetail self) -> SoDetail"}, - { (char *)"SoLineDetail_getPoint0", _wrap_SoLineDetail_getPoint0, METH_VARARGS, (char *)"SoLineDetail_getPoint0(SoLineDetail self) -> SoPointDetail"}, - { (char *)"SoLineDetail_getPoint1", _wrap_SoLineDetail_getPoint1, METH_VARARGS, (char *)"SoLineDetail_getPoint1(SoLineDetail self) -> SoPointDetail"}, - { (char *)"SoLineDetail_getLineIndex", _wrap_SoLineDetail_getLineIndex, METH_VARARGS, (char *)"SoLineDetail_getLineIndex(SoLineDetail self) -> int"}, - { (char *)"SoLineDetail_getPartIndex", _wrap_SoLineDetail_getPartIndex, METH_VARARGS, (char *)"SoLineDetail_getPartIndex(SoLineDetail self) -> int"}, - { (char *)"SoLineDetail_setPoint0", _wrap_SoLineDetail_setPoint0, METH_VARARGS, (char *)"SoLineDetail_setPoint0(SoLineDetail self, SoPointDetail detail)"}, - { (char *)"SoLineDetail_setPoint1", _wrap_SoLineDetail_setPoint1, METH_VARARGS, (char *)"SoLineDetail_setPoint1(SoLineDetail self, SoPointDetail detail)"}, - { (char *)"SoLineDetail_setLineIndex", _wrap_SoLineDetail_setLineIndex, METH_VARARGS, (char *)"SoLineDetail_setLineIndex(SoLineDetail self, int idx)"}, - { (char *)"SoLineDetail_setPartIndex", _wrap_SoLineDetail_setPartIndex, METH_VARARGS, (char *)"SoLineDetail_setPartIndex(SoLineDetail self, int idx)"}, - { (char *)"SoLineDetail_incLineIndex", _wrap_SoLineDetail_incLineIndex, METH_VARARGS, (char *)"SoLineDetail_incLineIndex(SoLineDetail self)"}, - { (char *)"SoLineDetail_incPartIndex", _wrap_SoLineDetail_incPartIndex, METH_VARARGS, (char *)"SoLineDetail_incPartIndex(SoLineDetail self)"}, - { (char *)"SoLineDetail_swigregister", SoLineDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitDetail_getTypeId", _wrap_SoNodeKitDetail_getTypeId, METH_VARARGS, (char *)"SoNodeKitDetail_getTypeId(SoNodeKitDetail self) -> SoType"}, - { (char *)"SoNodeKitDetail_getClassTypeId", _wrap_SoNodeKitDetail_getClassTypeId, METH_VARARGS, (char *)"SoNodeKitDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoNodeKitDetail", _wrap_new_SoNodeKitDetail, METH_VARARGS, (char *)"new_SoNodeKitDetail() -> SoNodeKitDetail"}, - { (char *)"delete_SoNodeKitDetail", _wrap_delete_SoNodeKitDetail, METH_VARARGS, (char *)"delete_SoNodeKitDetail(SoNodeKitDetail self)"}, - { (char *)"SoNodeKitDetail_initClass", _wrap_SoNodeKitDetail_initClass, METH_VARARGS, (char *)"SoNodeKitDetail_initClass()"}, - { (char *)"SoNodeKitDetail_copy", _wrap_SoNodeKitDetail_copy, METH_VARARGS, (char *)"SoNodeKitDetail_copy(SoNodeKitDetail self) -> SoDetail"}, - { (char *)"SoNodeKitDetail_setNodeKit", _wrap_SoNodeKitDetail_setNodeKit, METH_VARARGS, (char *)"SoNodeKitDetail_setNodeKit(SoNodeKitDetail self, SoBaseKit kit)"}, - { (char *)"SoNodeKitDetail_getNodeKit", _wrap_SoNodeKitDetail_getNodeKit, METH_VARARGS, (char *)"SoNodeKitDetail_getNodeKit(SoNodeKitDetail self) -> SoBaseKit"}, - { (char *)"SoNodeKitDetail_setPart", _wrap_SoNodeKitDetail_setPart, METH_VARARGS, (char *)"SoNodeKitDetail_setPart(SoNodeKitDetail self, SoNode part)"}, - { (char *)"SoNodeKitDetail_getPart", _wrap_SoNodeKitDetail_getPart, METH_VARARGS, (char *)"SoNodeKitDetail_getPart(SoNodeKitDetail self) -> SoNode"}, - { (char *)"SoNodeKitDetail_setPartName", _wrap_SoNodeKitDetail_setPartName, METH_VARARGS, (char *)"SoNodeKitDetail_setPartName(SoNodeKitDetail self, SbName name)"}, - { (char *)"SoNodeKitDetail_getPartName", _wrap_SoNodeKitDetail_getPartName, METH_VARARGS, (char *)"SoNodeKitDetail_getPartName(SoNodeKitDetail self) -> SbName"}, - { (char *)"SoNodeKitDetail_swigregister", SoNodeKitDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextDetail_getTypeId", _wrap_SoTextDetail_getTypeId, METH_VARARGS, (char *)"SoTextDetail_getTypeId(SoTextDetail self) -> SoType"}, - { (char *)"SoTextDetail_getClassTypeId", _wrap_SoTextDetail_getClassTypeId, METH_VARARGS, (char *)"SoTextDetail_getClassTypeId() -> SoType"}, - { (char *)"new_SoTextDetail", _wrap_new_SoTextDetail, METH_VARARGS, (char *)"new_SoTextDetail() -> SoTextDetail"}, - { (char *)"delete_SoTextDetail", _wrap_delete_SoTextDetail, METH_VARARGS, (char *)"delete_SoTextDetail(SoTextDetail self)"}, - { (char *)"SoTextDetail_initClass", _wrap_SoTextDetail_initClass, METH_VARARGS, (char *)"SoTextDetail_initClass()"}, - { (char *)"SoTextDetail_copy", _wrap_SoTextDetail_copy, METH_VARARGS, (char *)"SoTextDetail_copy(SoTextDetail self) -> SoDetail"}, - { (char *)"SoTextDetail_getStringIndex", _wrap_SoTextDetail_getStringIndex, METH_VARARGS, (char *)"SoTextDetail_getStringIndex(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_getCharacterIndex", _wrap_SoTextDetail_getCharacterIndex, METH_VARARGS, (char *)"SoTextDetail_getCharacterIndex(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_getPart", _wrap_SoTextDetail_getPart, METH_VARARGS, (char *)"SoTextDetail_getPart(SoTextDetail self) -> int"}, - { (char *)"SoTextDetail_setStringIndex", _wrap_SoTextDetail_setStringIndex, METH_VARARGS, (char *)"SoTextDetail_setStringIndex(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_setCharacterIndex", _wrap_SoTextDetail_setCharacterIndex, METH_VARARGS, (char *)"SoTextDetail_setCharacterIndex(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_setPart", _wrap_SoTextDetail_setPart, METH_VARARGS, (char *)"SoTextDetail_setPart(SoTextDetail self, int idx)"}, - { (char *)"SoTextDetail_swigregister", SoTextDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFNode", _wrap_new_SoSFNode, METH_VARARGS, (char *)"new_SoSFNode() -> SoSFNode"}, - { (char *)"delete_SoSFNode", _wrap_delete_SoSFNode, METH_VARARGS, (char *)"delete_SoSFNode(SoSFNode self)"}, - { (char *)"SoSFNode_createInstance", _wrap_SoSFNode_createInstance, METH_VARARGS, (char *)"SoSFNode_createInstance() -> void"}, - { (char *)"SoSFNode_getClassTypeId", _wrap_SoSFNode_getClassTypeId, METH_VARARGS, (char *)"SoSFNode_getClassTypeId() -> SoType"}, - { (char *)"SoSFNode_getTypeId", _wrap_SoSFNode_getTypeId, METH_VARARGS, (char *)"SoSFNode_getTypeId(SoSFNode self) -> SoType"}, - { (char *)"SoSFNode_copyFrom", _wrap_SoSFNode_copyFrom, METH_VARARGS, (char *)"SoSFNode_copyFrom(SoSFNode self, SoField field)"}, - { (char *)"SoSFNode_isSame", _wrap_SoSFNode_isSame, METH_VARARGS, (char *)"SoSFNode_isSame(SoSFNode self, SoField field) -> SbBool"}, - { (char *)"SoSFNode_getValue", _wrap_SoSFNode_getValue, METH_VARARGS, (char *)"SoSFNode_getValue(SoSFNode self) -> SoNode"}, - { (char *)"SoSFNode___eq__", _wrap_SoSFNode___eq__, METH_VARARGS, (char *)"SoSFNode___eq__(SoSFNode self, SoSFNode field) -> int"}, - { (char *)"SoSFNode___ne__", _wrap_SoSFNode___ne__, METH_VARARGS, (char *)"SoSFNode___ne__(SoSFNode self, SoSFNode field) -> int"}, - { (char *)"SoSFNode_initClass", _wrap_SoSFNode_initClass, METH_VARARGS, (char *)"SoSFNode_initClass()"}, - { (char *)"SoSFNode_fixCopy", _wrap_SoSFNode_fixCopy, METH_VARARGS, (char *)"SoSFNode_fixCopy(SoSFNode self, SbBool copyconnections)"}, - { (char *)"SoSFNode_referencesCopy", _wrap_SoSFNode_referencesCopy, METH_VARARGS, (char *)"SoSFNode_referencesCopy(SoSFNode self) -> SbBool"}, - { (char *)"SoSFNode_setValue", _wrap_SoSFNode_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoNode newvalue)\n" - "SoSFNode_setValue(SoSFNode self, SoSFNode other)\n" - ""}, - { (char *)"SoSFNode_swigregister", SoSFNode_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodekitCatalog_initClass", _wrap_SoNodekitCatalog_initClass, METH_VARARGS, (char *)"SoNodekitCatalog_initClass()"}, - { (char *)"new_SoNodekitCatalog", _wrap_new_SoNodekitCatalog, METH_VARARGS, (char *)"new_SoNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"delete_SoNodekitCatalog", _wrap_delete_SoNodekitCatalog, METH_VARARGS, (char *)"delete_SoNodekitCatalog(SoNodekitCatalog self)"}, - { (char *)"SoNodekitCatalog_getNumEntries", _wrap_SoNodekitCatalog_getNumEntries, METH_VARARGS, (char *)"SoNodekitCatalog_getNumEntries(SoNodekitCatalog self) -> int"}, - { (char *)"SoNodekitCatalog_getPartNumber", _wrap_SoNodekitCatalog_getPartNumber, METH_VARARGS, (char *)"SoNodekitCatalog_getPartNumber(SoNodekitCatalog self, SbName name) -> int"}, - { (char *)"SoNodekitCatalog_getName", _wrap_SoNodekitCatalog_getName, METH_VARARGS, (char *)"SoNodekitCatalog_getName(SoNodekitCatalog self, int part) -> SbName"}, - { (char *)"SoNodekitCatalog_getType", _wrap_SoNodekitCatalog_getType, METH_VARARGS, (char *)"\n" - "getType(int part) -> SoType\n" - "SoNodekitCatalog_getType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_getDefaultType", _wrap_SoNodekitCatalog_getDefaultType, METH_VARARGS, (char *)"\n" - "getDefaultType(int part) -> SoType\n" - "SoNodekitCatalog_getDefaultType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_isNullByDefault", _wrap_SoNodekitCatalog_isNullByDefault, METH_VARARGS, (char *)"\n" - "isNullByDefault(int part) -> SbBool\n" - "SoNodekitCatalog_isNullByDefault(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_isLeaf", _wrap_SoNodekitCatalog_isLeaf, METH_VARARGS, (char *)"\n" - "isLeaf(int part) -> SbBool\n" - "SoNodekitCatalog_isLeaf(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_getParentName", _wrap_SoNodekitCatalog_getParentName, METH_VARARGS, (char *)"\n" - "getParentName(int part) -> SbName\n" - "SoNodekitCatalog_getParentName(SoNodekitCatalog self, SbName name) -> SbName\n" - ""}, - { (char *)"SoNodekitCatalog_getParentPartNumber", _wrap_SoNodekitCatalog_getParentPartNumber, METH_VARARGS, (char *)"\n" - "getParentPartNumber(int part) -> int\n" - "SoNodekitCatalog_getParentPartNumber(SoNodekitCatalog self, SbName name) -> int\n" - ""}, - { (char *)"SoNodekitCatalog_getRightSiblingName", _wrap_SoNodekitCatalog_getRightSiblingName, METH_VARARGS, (char *)"\n" - "getRightSiblingName(int part) -> SbName\n" - "SoNodekitCatalog_getRightSiblingName(SoNodekitCatalog self, SbName name) -> SbName\n" - ""}, - { (char *)"SoNodekitCatalog_getRightSiblingPartNumber", _wrap_SoNodekitCatalog_getRightSiblingPartNumber, METH_VARARGS, (char *)"\n" - "getRightSiblingPartNumber(int part) -> int\n" - "SoNodekitCatalog_getRightSiblingPartNumber(SoNodekitCatalog self, SbName name) -> int\n" - ""}, - { (char *)"SoNodekitCatalog_isList", _wrap_SoNodekitCatalog_isList, METH_VARARGS, (char *)"\n" - "isList(int part) -> SbBool\n" - "SoNodekitCatalog_isList(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_getListContainerType", _wrap_SoNodekitCatalog_getListContainerType, METH_VARARGS, (char *)"\n" - "getListContainerType(int part) -> SoType\n" - "SoNodekitCatalog_getListContainerType(SoNodekitCatalog self, SbName name) -> SoType\n" - ""}, - { (char *)"SoNodekitCatalog_getListItemTypes", _wrap_SoNodekitCatalog_getListItemTypes, METH_VARARGS, (char *)"\n" - "getListItemTypes(int part) -> SoTypeList\n" - "SoNodekitCatalog_getListItemTypes(SoNodekitCatalog self, SbName name) -> SoTypeList\n" - ""}, - { (char *)"SoNodekitCatalog_isPublic", _wrap_SoNodekitCatalog_isPublic, METH_VARARGS, (char *)"\n" - "isPublic(int part) -> SbBool\n" - "SoNodekitCatalog_isPublic(SoNodekitCatalog self, SbName name) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_clone", _wrap_SoNodekitCatalog_clone, METH_VARARGS, (char *)"SoNodekitCatalog_clone(SoNodekitCatalog self, SoType type) -> SoNodekitCatalog"}, - { (char *)"SoNodekitCatalog_addEntry", _wrap_SoNodekitCatalog_addEntry, METH_VARARGS, (char *)"\n" - "SoNodekitCatalog_addEntry(SoNodekitCatalog self, SbName name, SoType type, SoType defaulttype, \n" - " SbBool isdefaultnull, SbName parent, \n" - " SbName rightsibling, SbBool islist, \n" - " SoType listcontainertype, SoType listitemtype, \n" - " SbBool ispublic) -> SbBool\n" - ""}, - { (char *)"SoNodekitCatalog_addListItemType", _wrap_SoNodekitCatalog_addListItemType, METH_VARARGS, (char *)"\n" - "addListItemType(int part, SoType type)\n" - "SoNodekitCatalog_addListItemType(SoNodekitCatalog self, SbName name, SoType type)\n" - ""}, - { (char *)"SoNodekitCatalog_narrowTypes", _wrap_SoNodekitCatalog_narrowTypes, METH_VARARGS, (char *)"\n" - "SoNodekitCatalog_narrowTypes(SoNodekitCatalog self, SbName name, SoType newtype, \n" - " SoType newdefaulttype)\n" - ""}, - { (char *)"SoNodekitCatalog_setNullByDefault", _wrap_SoNodekitCatalog_setNullByDefault, METH_VARARGS, (char *)"SoNodekitCatalog_setNullByDefault(SoNodekitCatalog self, SbName name, SbBool nullbydefault)"}, - { (char *)"SoNodekitCatalog_recursiveSearch", _wrap_SoNodekitCatalog_recursiveSearch, METH_VARARGS, (char *)"SoNodekitCatalog_recursiveSearch(SoNodekitCatalog self, int part, SbName name, SoTypeList checked) -> SbBool"}, - { (char *)"SoNodekitCatalog_printCheck", _wrap_SoNodekitCatalog_printCheck, METH_VARARGS, (char *)"SoNodekitCatalog_printCheck(SoNodekitCatalog self)"}, - { (char *)"SoNodekitCatalog_swigregister", SoNodekitCatalog_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFName", _wrap_new_SoSFName, METH_VARARGS, (char *)"new_SoSFName() -> SoSFName"}, - { (char *)"delete_SoSFName", _wrap_delete_SoSFName, METH_VARARGS, (char *)"delete_SoSFName(SoSFName self)"}, - { (char *)"SoSFName_createInstance", _wrap_SoSFName_createInstance, METH_VARARGS, (char *)"SoSFName_createInstance() -> void"}, - { (char *)"SoSFName_getClassTypeId", _wrap_SoSFName_getClassTypeId, METH_VARARGS, (char *)"SoSFName_getClassTypeId() -> SoType"}, - { (char *)"SoSFName_getTypeId", _wrap_SoSFName_getTypeId, METH_VARARGS, (char *)"SoSFName_getTypeId(SoSFName self) -> SoType"}, - { (char *)"SoSFName_copyFrom", _wrap_SoSFName_copyFrom, METH_VARARGS, (char *)"SoSFName_copyFrom(SoSFName self, SoField field)"}, - { (char *)"SoSFName_isSame", _wrap_SoSFName_isSame, METH_VARARGS, (char *)"SoSFName_isSame(SoSFName self, SoField field) -> SbBool"}, - { (char *)"SoSFName_getValue", _wrap_SoSFName_getValue, METH_VARARGS, (char *)"SoSFName_getValue(SoSFName self) -> SbName"}, - { (char *)"SoSFName___eq__", _wrap_SoSFName___eq__, METH_VARARGS, (char *)"SoSFName___eq__(SoSFName self, SoSFName field) -> int"}, - { (char *)"SoSFName___ne__", _wrap_SoSFName___ne__, METH_VARARGS, (char *)"SoSFName___ne__(SoSFName self, SoSFName field) -> int"}, - { (char *)"SoSFName_initClass", _wrap_SoSFName_initClass, METH_VARARGS, (char *)"SoSFName_initClass()"}, - { (char *)"SoSFName_setValue", _wrap_SoSFName_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbName newvalue)\n" - "setValue(char name)\n" - "SoSFName_setValue(SoSFName self, SoSFName other)\n" - ""}, - { (char *)"SoSFName_swigregister", SoSFName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFName", _wrap_new_SoMFName, METH_VARARGS, (char *)"new_SoMFName() -> SoMFName"}, - { (char *)"delete_SoMFName", _wrap_delete_SoMFName, METH_VARARGS, (char *)"delete_SoMFName(SoMFName self)"}, - { (char *)"SoMFName_createInstance", _wrap_SoMFName_createInstance, METH_VARARGS, (char *)"SoMFName_createInstance() -> void"}, - { (char *)"SoMFName_getClassTypeId", _wrap_SoMFName_getClassTypeId, METH_VARARGS, (char *)"SoMFName_getClassTypeId() -> SoType"}, - { (char *)"SoMFName_getTypeId", _wrap_SoMFName_getTypeId, METH_VARARGS, (char *)"SoMFName_getTypeId(SoMFName self) -> SoType"}, - { (char *)"SoMFName_copyFrom", _wrap_SoMFName_copyFrom, METH_VARARGS, (char *)"SoMFName_copyFrom(SoMFName self, SoField field)"}, - { (char *)"SoMFName_isSame", _wrap_SoMFName_isSame, METH_VARARGS, (char *)"SoMFName_isSame(SoMFName self, SoField field) -> SbBool"}, - { (char *)"SoMFName_find", _wrap_SoMFName_find, METH_VARARGS, (char *)"\n" - "find(SbName value, SbBool addifnotfound=0) -> int\n" - "SoMFName_find(SoMFName self, SbName value) -> int\n" - ""}, - { (char *)"SoMFName_set1Value", _wrap_SoMFName_set1Value, METH_VARARGS, (char *)"SoMFName_set1Value(SoMFName self, int idx, SbName value)"}, - { (char *)"SoMFName___eq__", _wrap_SoMFName___eq__, METH_VARARGS, (char *)"SoMFName___eq__(SoMFName self, SoMFName field) -> SbBool"}, - { (char *)"SoMFName___ne__", _wrap_SoMFName___ne__, METH_VARARGS, (char *)"SoMFName___ne__(SoMFName self, SoMFName field) -> SbBool"}, - { (char *)"SoMFName_startEditing", _wrap_SoMFName_startEditing, METH_VARARGS, (char *)"SoMFName_startEditing(SoMFName self) -> SbName"}, - { (char *)"SoMFName_finishEditing", _wrap_SoMFName_finishEditing, METH_VARARGS, (char *)"SoMFName_finishEditing(SoMFName self)"}, - { (char *)"SoMFName_initClass", _wrap_SoMFName_initClass, METH_VARARGS, (char *)"SoMFName_initClass()"}, - { (char *)"SoMFName_setValues", _wrap_SoMFName_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbName newvals)\n" - "SoMFName_setValues(SoMFName self, int start, int num, char strings)\n" - ""}, - { (char *)"SoMFName___getitem__", _wrap_SoMFName___getitem__, METH_VARARGS, (char *)"SoMFName___getitem__(SoMFName self, int i) -> SbName"}, - { (char *)"SoMFName___setitem__", _wrap_SoMFName___setitem__, METH_VARARGS, (char *)"SoMFName___setitem__(SoMFName self, int i, SbName value)"}, - { (char *)"SoMFName_setValue", _wrap_SoMFName_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbName value)\n" - "setValue(char str)\n" - "SoMFName_setValue(SoMFName self, SoMFName other)\n" - ""}, - { (char *)"SoMFName_getValues", _wrap_SoMFName_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbName\n" - "SoMFName_getValues(SoMFName self, int len) -> SbName\n" - ""}, - { (char *)"SoMFName_swigregister", SoMFName_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitListPart_getClassTypeId", _wrap_SoNodeKitListPart_getClassTypeId, METH_VARARGS, (char *)"SoNodeKitListPart_getClassTypeId() -> SoType"}, - { (char *)"SoNodeKitListPart_getTypeId", _wrap_SoNodeKitListPart_getTypeId, METH_VARARGS, (char *)"SoNodeKitListPart_getTypeId(SoNodeKitListPart self) -> SoType"}, - { (char *)"SoNodeKitListPart_initClass", _wrap_SoNodeKitListPart_initClass, METH_VARARGS, (char *)"SoNodeKitListPart_initClass()"}, - { (char *)"new_SoNodeKitListPart", _wrap_new_SoNodeKitListPart, METH_VARARGS, (char *)"new_SoNodeKitListPart() -> SoNodeKitListPart"}, - { (char *)"SoNodeKitListPart_getContainerType", _wrap_SoNodeKitListPart_getContainerType, METH_VARARGS, (char *)"SoNodeKitListPart_getContainerType(SoNodeKitListPart self) -> SoType"}, - { (char *)"SoNodeKitListPart_setContainerType", _wrap_SoNodeKitListPart_setContainerType, METH_VARARGS, (char *)"SoNodeKitListPart_setContainerType(SoNodeKitListPart self, SoType newContainerType)"}, - { (char *)"SoNodeKitListPart_getChildTypes", _wrap_SoNodeKitListPart_getChildTypes, METH_VARARGS, (char *)"SoNodeKitListPart_getChildTypes(SoNodeKitListPart self) -> SoTypeList"}, - { (char *)"SoNodeKitListPart_addChildType", _wrap_SoNodeKitListPart_addChildType, METH_VARARGS, (char *)"SoNodeKitListPart_addChildType(SoNodeKitListPart self, SoType typeToAdd)"}, - { (char *)"SoNodeKitListPart_isTypePermitted", _wrap_SoNodeKitListPart_isTypePermitted, METH_VARARGS, (char *)"SoNodeKitListPart_isTypePermitted(SoNodeKitListPart self, SoType typeToCheck) -> SbBool"}, - { (char *)"SoNodeKitListPart_isChildPermitted", _wrap_SoNodeKitListPart_isChildPermitted, METH_VARARGS, (char *)"SoNodeKitListPart_isChildPermitted(SoNodeKitListPart self, SoNode child) -> SbBool"}, - { (char *)"SoNodeKitListPart_containerSet", _wrap_SoNodeKitListPart_containerSet, METH_VARARGS, (char *)"SoNodeKitListPart_containerSet(SoNodeKitListPart self, char fieldDataString)"}, - { (char *)"SoNodeKitListPart_lockTypes", _wrap_SoNodeKitListPart_lockTypes, METH_VARARGS, (char *)"SoNodeKitListPart_lockTypes(SoNodeKitListPart self)"}, - { (char *)"SoNodeKitListPart_isTypeLocked", _wrap_SoNodeKitListPart_isTypeLocked, METH_VARARGS, (char *)"SoNodeKitListPart_isTypeLocked(SoNodeKitListPart self) -> SbBool"}, - { (char *)"SoNodeKitListPart_addChild", _wrap_SoNodeKitListPart_addChild, METH_VARARGS, (char *)"SoNodeKitListPart_addChild(SoNodeKitListPart self, SoNode child)"}, - { (char *)"SoNodeKitListPart_insertChild", _wrap_SoNodeKitListPart_insertChild, METH_VARARGS, (char *)"SoNodeKitListPart_insertChild(SoNodeKitListPart self, SoNode child, int childIndex)"}, - { (char *)"SoNodeKitListPart_getChild", _wrap_SoNodeKitListPart_getChild, METH_VARARGS, (char *)"SoNodeKitListPart_getChild(SoNodeKitListPart self, int index) -> SoNode"}, - { (char *)"SoNodeKitListPart_findChild", _wrap_SoNodeKitListPart_findChild, METH_VARARGS, (char *)"SoNodeKitListPart_findChild(SoNodeKitListPart self, SoNode child) -> int"}, - { (char *)"SoNodeKitListPart_getNumChildren", _wrap_SoNodeKitListPart_getNumChildren, METH_VARARGS, (char *)"SoNodeKitListPart_getNumChildren(SoNodeKitListPart self) -> int"}, - { (char *)"SoNodeKitListPart_removeChild", _wrap_SoNodeKitListPart_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int index)\n" - "SoNodeKitListPart_removeChild(SoNodeKitListPart self, SoNode child)\n" - ""}, - { (char *)"SoNodeKitListPart_replaceChild", _wrap_SoNodeKitListPart_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int index, SoNode newChild)\n" - "SoNodeKitListPart_replaceChild(SoNodeKitListPart self, SoNode oldChild, SoNode newChild)\n" - ""}, - { (char *)"SoNodeKitListPart_affectsState", _wrap_SoNodeKitListPart_affectsState, METH_VARARGS, (char *)"SoNodeKitListPart_affectsState(SoNodeKitListPart self) -> SbBool"}, - { (char *)"SoNodeKitListPart_doAction", _wrap_SoNodeKitListPart_doAction, METH_VARARGS, (char *)"SoNodeKitListPart_doAction(SoNodeKitListPart self, SoAction action)"}, - { (char *)"SoNodeKitListPart_callback", _wrap_SoNodeKitListPart_callback, METH_VARARGS, (char *)"SoNodeKitListPart_callback(SoNodeKitListPart self, SoCallbackAction action)"}, - { (char *)"SoNodeKitListPart_GLRender", _wrap_SoNodeKitListPart_GLRender, METH_VARARGS, (char *)"SoNodeKitListPart_GLRender(SoNodeKitListPart self, SoGLRenderAction action)"}, - { (char *)"SoNodeKitListPart_getBoundingBox", _wrap_SoNodeKitListPart_getBoundingBox, METH_VARARGS, (char *)"SoNodeKitListPart_getBoundingBox(SoNodeKitListPart self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNodeKitListPart_getMatrix", _wrap_SoNodeKitListPart_getMatrix, METH_VARARGS, (char *)"SoNodeKitListPart_getMatrix(SoNodeKitListPart self, SoGetMatrixAction action)"}, - { (char *)"SoNodeKitListPart_handleEvent", _wrap_SoNodeKitListPart_handleEvent, METH_VARARGS, (char *)"SoNodeKitListPart_handleEvent(SoNodeKitListPart self, SoHandleEventAction action)"}, - { (char *)"SoNodeKitListPart_pick", _wrap_SoNodeKitListPart_pick, METH_VARARGS, (char *)"SoNodeKitListPart_pick(SoNodeKitListPart self, SoPickAction action)"}, - { (char *)"SoNodeKitListPart_search", _wrap_SoNodeKitListPart_search, METH_VARARGS, (char *)"SoNodeKitListPart_search(SoNodeKitListPart self, SoSearchAction action)"}, - { (char *)"SoNodeKitListPart_getPrimitiveCount", _wrap_SoNodeKitListPart_getPrimitiveCount, METH_VARARGS, (char *)"SoNodeKitListPart_getPrimitiveCount(SoNodeKitListPart self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNodeKitListPart_getChildren", _wrap_SoNodeKitListPart_getChildren, METH_VARARGS, (char *)"SoNodeKitListPart_getChildren(SoNodeKitListPart self) -> SoChildList"}, - { (char *)"SoNodeKitListPart_swigregister", SoNodeKitListPart_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKitPath_getLength", _wrap_SoNodeKitPath_getLength, METH_VARARGS, (char *)"SoNodeKitPath_getLength(SoNodeKitPath self) -> int"}, - { (char *)"SoNodeKitPath_getTail", _wrap_SoNodeKitPath_getTail, METH_VARARGS, (char *)"SoNodeKitPath_getTail(SoNodeKitPath self) -> SoNode"}, - { (char *)"SoNodeKitPath_getNode", _wrap_SoNodeKitPath_getNode, METH_VARARGS, (char *)"SoNodeKitPath_getNode(SoNodeKitPath self, int idx) -> SoNode"}, - { (char *)"SoNodeKitPath_getNodeFromTail", _wrap_SoNodeKitPath_getNodeFromTail, METH_VARARGS, (char *)"SoNodeKitPath_getNodeFromTail(SoNodeKitPath self, int idx) -> SoNode"}, - { (char *)"SoNodeKitPath_truncate", _wrap_SoNodeKitPath_truncate, METH_VARARGS, (char *)"SoNodeKitPath_truncate(SoNodeKitPath self, int length)"}, - { (char *)"SoNodeKitPath_pop", _wrap_SoNodeKitPath_pop, METH_VARARGS, (char *)"SoNodeKitPath_pop(SoNodeKitPath self)"}, - { (char *)"SoNodeKitPath_append", _wrap_SoNodeKitPath_append, METH_VARARGS, (char *)"\n" - "append(SoBaseKit childKit)\n" - "SoNodeKitPath_append(SoNodeKitPath self, SoNodeKitPath fromPath)\n" - ""}, - { (char *)"SoNodeKitPath_containsNode", _wrap_SoNodeKitPath_containsNode, METH_VARARGS, (char *)"SoNodeKitPath_containsNode(SoNodeKitPath self, SoBaseKit node) -> SbBool"}, - { (char *)"SoNodeKitPath_findFork", _wrap_SoNodeKitPath_findFork, METH_VARARGS, (char *)"SoNodeKitPath_findFork(SoNodeKitPath self, SoNodeKitPath path) -> int"}, - { (char *)"SoNodeKitPath___eq__", _wrap_SoNodeKitPath___eq__, METH_VARARGS, (char *)"SoNodeKitPath___eq__(SoNodeKitPath self, SoNodeKitPath u) -> int"}, - { (char *)"SoNodeKitPath___nq__", _wrap_SoNodeKitPath___nq__, METH_VARARGS, (char *)"SoNodeKitPath___nq__(SoNodeKitPath self, SoNodeKitPath u) -> int"}, - { (char *)"SoNodeKitPath_swigregister", SoNodeKitPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoChildList", _wrap_new_SoChildList, METH_VARARGS, (char *)"\n" - "SoChildList(SoNode parent)\n" - "SoChildList(SoNode parent, int size)\n" - "new_SoChildList(SoNode parent, SoChildList cl) -> SoChildList\n" - ""}, - { (char *)"delete_SoChildList", _wrap_delete_SoChildList, METH_VARARGS, (char *)"delete_SoChildList(SoChildList self)"}, - { (char *)"SoChildList_append", _wrap_SoChildList_append, METH_VARARGS, (char *)"SoChildList_append(SoChildList self, SoNode node)"}, - { (char *)"SoChildList_insert", _wrap_SoChildList_insert, METH_VARARGS, (char *)"SoChildList_insert(SoChildList self, SoNode ptr, int addbefore)"}, - { (char *)"SoChildList_remove", _wrap_SoChildList_remove, METH_VARARGS, (char *)"SoChildList_remove(SoChildList self, int index)"}, - { (char *)"SoChildList_truncate", _wrap_SoChildList_truncate, METH_VARARGS, (char *)"SoChildList_truncate(SoChildList self, int length)"}, - { (char *)"SoChildList_copy", _wrap_SoChildList_copy, METH_VARARGS, (char *)"SoChildList_copy(SoChildList self, SoChildList cl)"}, - { (char *)"SoChildList_set", _wrap_SoChildList_set, METH_VARARGS, (char *)"SoChildList_set(SoChildList self, int index, SoNode node)"}, - { (char *)"SoChildList_traverseInPath", _wrap_SoChildList_traverseInPath, METH_VARARGS, (char *)"\n" - "SoChildList_traverseInPath(SoChildList self, SoAction action, int numindices, \n" - " int indices)\n" - ""}, - { (char *)"SoChildList_traverse", _wrap_SoChildList_traverse, METH_VARARGS, (char *)"\n" - "traverse(SoAction action)\n" - "traverse(SoAction action, int index)\n" - "traverse(SoAction action, SoNode node)\n" - "SoChildList_traverse(SoChildList self, SoAction action, int first, int last)\n" - ""}, - { (char *)"SoChildList_addPathAuditor", _wrap_SoChildList_addPathAuditor, METH_VARARGS, (char *)"SoChildList_addPathAuditor(SoChildList self, SoPath path)"}, - { (char *)"SoChildList_removePathAuditor", _wrap_SoChildList_removePathAuditor, METH_VARARGS, (char *)"SoChildList_removePathAuditor(SoChildList self, SoPath path)"}, - { (char *)"SoChildList_swigregister", SoChildList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBaseKit_getClassTypeId", _wrap_SoBaseKit_getClassTypeId, METH_VARARGS, (char *)"SoBaseKit_getClassTypeId() -> SoType"}, - { (char *)"SoBaseKit_getTypeId", _wrap_SoBaseKit_getTypeId, METH_VARARGS, (char *)"SoBaseKit_getTypeId(SoBaseKit self) -> SoType"}, - { (char *)"SoBaseKit_initClass", _wrap_SoBaseKit_initClass, METH_VARARGS, (char *)"SoBaseKit_initClass()"}, - { (char *)"new_SoBaseKit", _wrap_new_SoBaseKit, METH_VARARGS, (char *)"new_SoBaseKit() -> SoBaseKit"}, - { (char *)"SoBaseKit_getClassNodekitCatalog", _wrap_SoBaseKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoBaseKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoBaseKit_getNodekitCatalog", _wrap_SoBaseKit_getNodekitCatalog, METH_VARARGS, (char *)"SoBaseKit_getNodekitCatalog(SoBaseKit self) -> SoNodekitCatalog"}, - { (char *)"SoBaseKit_getPart", _wrap_SoBaseKit_getPart, METH_VARARGS, (char *)"SoBaseKit_getPart(SoBaseKit self, SbName partname, SbBool makeifneeded) -> SoNode"}, - { (char *)"SoBaseKit_getPartString", _wrap_SoBaseKit_getPartString, METH_VARARGS, (char *)"SoBaseKit_getPartString(SoBaseKit self, SoBase part) -> SbString"}, - { (char *)"SoBaseKit_createPathToPart", _wrap_SoBaseKit_createPathToPart, METH_VARARGS, (char *)"\n" - "createPathToPart(SbName partname, SbBool makeifneeded, SoPath pathtoextend=None) -> SoNodeKitPath\n" - "SoBaseKit_createPathToPart(SoBaseKit self, SbName partname, SbBool makeifneeded) -> SoNodeKitPath\n" - ""}, - { (char *)"SoBaseKit_setPart", _wrap_SoBaseKit_setPart, METH_VARARGS, (char *)"SoBaseKit_setPart(SoBaseKit self, SbName partname, SoNode from) -> SbBool"}, - { (char *)"SoBaseKit_set", _wrap_SoBaseKit_set, METH_VARARGS, (char *)"\n" - "set(char namevaluepairliststring) -> SbBool\n" - "SoBaseKit_set(SoBaseKit self, char partnamestring, char parameterstring) -> SbBool\n" - ""}, - { (char *)"SoBaseKit_doAction", _wrap_SoBaseKit_doAction, METH_VARARGS, (char *)"SoBaseKit_doAction(SoBaseKit self, SoAction action)"}, - { (char *)"SoBaseKit_callback", _wrap_SoBaseKit_callback, METH_VARARGS, (char *)"SoBaseKit_callback(SoBaseKit self, SoCallbackAction action)"}, - { (char *)"SoBaseKit_GLRender", _wrap_SoBaseKit_GLRender, METH_VARARGS, (char *)"SoBaseKit_GLRender(SoBaseKit self, SoGLRenderAction action)"}, - { (char *)"SoBaseKit_getBoundingBox", _wrap_SoBaseKit_getBoundingBox, METH_VARARGS, (char *)"SoBaseKit_getBoundingBox(SoBaseKit self, SoGetBoundingBoxAction action)"}, - { (char *)"SoBaseKit_getMatrix", _wrap_SoBaseKit_getMatrix, METH_VARARGS, (char *)"SoBaseKit_getMatrix(SoBaseKit self, SoGetMatrixAction action)"}, - { (char *)"SoBaseKit_handleEvent", _wrap_SoBaseKit_handleEvent, METH_VARARGS, (char *)"SoBaseKit_handleEvent(SoBaseKit self, SoHandleEventAction action)"}, - { (char *)"SoBaseKit_rayPick", _wrap_SoBaseKit_rayPick, METH_VARARGS, (char *)"SoBaseKit_rayPick(SoBaseKit self, SoRayPickAction action)"}, - { (char *)"SoBaseKit_search", _wrap_SoBaseKit_search, METH_VARARGS, (char *)"SoBaseKit_search(SoBaseKit self, SoSearchAction action)"}, - { (char *)"SoBaseKit_write", _wrap_SoBaseKit_write, METH_VARARGS, (char *)"SoBaseKit_write(SoBaseKit self, SoWriteAction action)"}, - { (char *)"SoBaseKit_getPrimitiveCount", _wrap_SoBaseKit_getPrimitiveCount, METH_VARARGS, (char *)"SoBaseKit_getPrimitiveCount(SoBaseKit self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoBaseKit_getChildren", _wrap_SoBaseKit_getChildren, METH_VARARGS, (char *)"SoBaseKit_getChildren(SoBaseKit self) -> SoChildList"}, - { (char *)"SoBaseKit_printDiagram", _wrap_SoBaseKit_printDiagram, METH_VARARGS, (char *)"SoBaseKit_printDiagram(SoBaseKit self)"}, - { (char *)"SoBaseKit_printSubDiagram", _wrap_SoBaseKit_printSubDiagram, METH_VARARGS, (char *)"SoBaseKit_printSubDiagram(SoBaseKit self, SbName rootname, int level)"}, - { (char *)"SoBaseKit_printTable", _wrap_SoBaseKit_printTable, METH_VARARGS, (char *)"SoBaseKit_printTable(SoBaseKit self)"}, - { (char *)"SoBaseKit_addWriteReference", _wrap_SoBaseKit_addWriteReference, METH_VARARGS, (char *)"\n" - "addWriteReference(SoOutput out, SbBool isfromfield=0)\n" - "SoBaseKit_addWriteReference(SoBaseKit self, SoOutput out)\n" - ""}, - { (char *)"SoBaseKit_forceChildDrivenWriteRefs", _wrap_SoBaseKit_forceChildDrivenWriteRefs, METH_VARARGS, (char *)"SoBaseKit_forceChildDrivenWriteRefs(SoBaseKit self, SoOutput out) -> SbBool"}, - { (char *)"SoBaseKit_isSearchingChildren", _wrap_SoBaseKit_isSearchingChildren, METH_VARARGS, (char *)"SoBaseKit_isSearchingChildren() -> SbBool"}, - { (char *)"SoBaseKit_setSearchingChildren", _wrap_SoBaseKit_setSearchingChildren, METH_VARARGS, (char *)"SoBaseKit_setSearchingChildren(SbBool newval)"}, - { (char *)"SoBaseKit_typeCheck", _wrap_SoBaseKit_typeCheck, METH_VARARGS, (char *)"SoBaseKit_typeCheck(SbName partname, SoType parttype, SoNode node) -> SoNode"}, - { (char *)"SoBaseKit_swigregister", SoBaseKit_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSensor", _wrap_delete_SoSensor, METH_VARARGS, (char *)"delete_SoSensor(SoSensor self)"}, - { (char *)"SoSensor_setFunction", _wrap_SoSensor_setFunction, METH_VARARGS, (char *)"SoSensor_setFunction(SoSensor self, SoSensorCB callbackfunction)"}, - { (char *)"SoSensor_getFunction", _wrap_SoSensor_getFunction, METH_VARARGS, (char *)"SoSensor_getFunction(SoSensor self) -> SoSensorCBPtr"}, - { (char *)"SoSensor_setData", _wrap_SoSensor_setData, METH_VARARGS, (char *)"SoSensor_setData(SoSensor self, void callbackdata)"}, - { (char *)"SoSensor_getData", _wrap_SoSensor_getData, METH_VARARGS, (char *)"SoSensor_getData(SoSensor self) -> void"}, - { (char *)"SoSensor_schedule", _wrap_SoSensor_schedule, METH_VARARGS, (char *)"SoSensor_schedule(SoSensor self)"}, - { (char *)"SoSensor_unschedule", _wrap_SoSensor_unschedule, METH_VARARGS, (char *)"SoSensor_unschedule(SoSensor self)"}, - { (char *)"SoSensor_isScheduled", _wrap_SoSensor_isScheduled, METH_VARARGS, (char *)"SoSensor_isScheduled(SoSensor self) -> SbBool"}, - { (char *)"SoSensor_trigger", _wrap_SoSensor_trigger, METH_VARARGS, (char *)"SoSensor_trigger(SoSensor self)"}, - { (char *)"SoSensor_isBefore", _wrap_SoSensor_isBefore, METH_VARARGS, (char *)"SoSensor_isBefore(SoSensor self, SoSensor s) -> SbBool"}, - { (char *)"SoSensor_setNextInQueue", _wrap_SoSensor_setNextInQueue, METH_VARARGS, (char *)"SoSensor_setNextInQueue(SoSensor self, SoSensor next)"}, - { (char *)"SoSensor_getNextInQueue", _wrap_SoSensor_getNextInQueue, METH_VARARGS, (char *)"SoSensor_getNextInQueue(SoSensor self) -> SoSensor"}, - { (char *)"SoSensor_initClass", _wrap_SoSensor_initClass, METH_VARARGS, (char *)"SoSensor_initClass()"}, - { (char *)"SoSensor_swigregister", SoSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoDelayQueueSensor", _wrap_new_SoDelayQueueSensor, METH_VARARGS, (char *)"new_SoDelayQueueSensor() -> SoDelayQueueSensor"}, - { (char *)"new_SoDelayQueueSensor_scb_v", _wrap_new_SoDelayQueueSensor_scb_v, METH_VARARGS, (char *)"new_SoDelayQueueSensor_scb_v(SoSensorCB func, void data) -> SoDelayQueueSensor"}, - { (char *)"delete_SoDelayQueueSensor", _wrap_delete_SoDelayQueueSensor, METH_VARARGS, (char *)"delete_SoDelayQueueSensor(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_setPriority", _wrap_SoDelayQueueSensor_setPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_setPriority(SoDelayQueueSensor self, uint32_t pri)"}, - { (char *)"SoDelayQueueSensor_getPriority", _wrap_SoDelayQueueSensor_getPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_getPriority(SoDelayQueueSensor self) -> uint32_t"}, - { (char *)"SoDelayQueueSensor_getDefaultPriority", _wrap_SoDelayQueueSensor_getDefaultPriority, METH_VARARGS, (char *)"SoDelayQueueSensor_getDefaultPriority() -> uint32_t"}, - { (char *)"SoDelayQueueSensor_schedule", _wrap_SoDelayQueueSensor_schedule, METH_VARARGS, (char *)"SoDelayQueueSensor_schedule(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_unschedule", _wrap_SoDelayQueueSensor_unschedule, METH_VARARGS, (char *)"SoDelayQueueSensor_unschedule(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_isScheduled", _wrap_SoDelayQueueSensor_isScheduled, METH_VARARGS, (char *)"SoDelayQueueSensor_isScheduled(SoDelayQueueSensor self) -> SbBool"}, - { (char *)"SoDelayQueueSensor_isIdleOnly", _wrap_SoDelayQueueSensor_isIdleOnly, METH_VARARGS, (char *)"SoDelayQueueSensor_isIdleOnly(SoDelayQueueSensor self) -> SbBool"}, - { (char *)"SoDelayQueueSensor_trigger", _wrap_SoDelayQueueSensor_trigger, METH_VARARGS, (char *)"SoDelayQueueSensor_trigger(SoDelayQueueSensor self)"}, - { (char *)"SoDelayQueueSensor_swigregister", SoDelayQueueSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoDataSensor", _wrap_delete_SoDataSensor, METH_VARARGS, (char *)"delete_SoDataSensor(SoDataSensor self)"}, - { (char *)"SoDataSensor_setDeleteCallback", _wrap_SoDataSensor_setDeleteCallback, METH_VARARGS, (char *)"\n" - "setDeleteCallback(SoSensorCB function, void data=None)\n" - "SoDataSensor_setDeleteCallback(SoDataSensor self, SoSensorCB function)\n" - ""}, - { (char *)"SoDataSensor_getTriggerNode", _wrap_SoDataSensor_getTriggerNode, METH_VARARGS, (char *)"SoDataSensor_getTriggerNode(SoDataSensor self) -> SoNode"}, - { (char *)"SoDataSensor_getTriggerField", _wrap_SoDataSensor_getTriggerField, METH_VARARGS, (char *)"SoDataSensor_getTriggerField(SoDataSensor self) -> SoField"}, - { (char *)"SoDataSensor_getTriggerPath", _wrap_SoDataSensor_getTriggerPath, METH_VARARGS, (char *)"SoDataSensor_getTriggerPath(SoDataSensor self) -> SoPath"}, - { (char *)"SoDataSensor_setTriggerPathFlag", _wrap_SoDataSensor_setTriggerPathFlag, METH_VARARGS, (char *)"SoDataSensor_setTriggerPathFlag(SoDataSensor self, SbBool flag)"}, - { (char *)"SoDataSensor_getTriggerPathFlag", _wrap_SoDataSensor_getTriggerPathFlag, METH_VARARGS, (char *)"SoDataSensor_getTriggerPathFlag(SoDataSensor self) -> SbBool"}, - { (char *)"SoDataSensor_trigger", _wrap_SoDataSensor_trigger, METH_VARARGS, (char *)"SoDataSensor_trigger(SoDataSensor self)"}, - { (char *)"SoDataSensor_notify", _wrap_SoDataSensor_notify, METH_VARARGS, (char *)"SoDataSensor_notify(SoDataSensor self, SoNotList l)"}, - { (char *)"SoDataSensor_dyingReference", _wrap_SoDataSensor_dyingReference, METH_VARARGS, (char *)"SoDataSensor_dyingReference(SoDataSensor self)"}, - { (char *)"SoDataSensor_swigregister", SoDataSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoFieldSensor", _wrap_new_SoFieldSensor, METH_VARARGS, (char *)"new_SoFieldSensor() -> SoFieldSensor"}, - { (char *)"new_SoFieldSensor_scb_v", _wrap_new_SoFieldSensor_scb_v, METH_VARARGS, (char *)"new_SoFieldSensor_scb_v(SoSensorCB func, void data) -> SoFieldSensor"}, - { (char *)"delete_SoFieldSensor", _wrap_delete_SoFieldSensor, METH_VARARGS, (char *)"delete_SoFieldSensor(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_attach", _wrap_SoFieldSensor_attach, METH_VARARGS, (char *)"SoFieldSensor_attach(SoFieldSensor self, SoField field)"}, - { (char *)"SoFieldSensor_detach", _wrap_SoFieldSensor_detach, METH_VARARGS, (char *)"SoFieldSensor_detach(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_getAttachedField", _wrap_SoFieldSensor_getAttachedField, METH_VARARGS, (char *)"SoFieldSensor_getAttachedField(SoFieldSensor self) -> SoField"}, - { (char *)"SoFieldSensor_trigger", _wrap_SoFieldSensor_trigger, METH_VARARGS, (char *)"SoFieldSensor_trigger(SoFieldSensor self)"}, - { (char *)"SoFieldSensor_swigregister", SoFieldSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInteractionKit_getClassTypeId", _wrap_SoInteractionKit_getClassTypeId, METH_VARARGS, (char *)"SoInteractionKit_getClassTypeId() -> SoType"}, - { (char *)"SoInteractionKit_getTypeId", _wrap_SoInteractionKit_getTypeId, METH_VARARGS, (char *)"SoInteractionKit_getTypeId(SoInteractionKit self) -> SoType"}, - { (char *)"SoInteractionKit_getClassNodekitCatalog", _wrap_SoInteractionKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoInteractionKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoInteractionKit_getNodekitCatalog", _wrap_SoInteractionKit_getNodekitCatalog, METH_VARARGS, (char *)"SoInteractionKit_getNodekitCatalog(SoInteractionKit self) -> SoNodekitCatalog"}, - { (char *)"SoInteractionKit_renderCaching_set", _wrap_SoInteractionKit_renderCaching_set, METH_VARARGS, (char *)"SoInteractionKit_renderCaching_set(SoInteractionKit self, SoSFEnum renderCaching)"}, - { (char *)"SoInteractionKit_renderCaching_get", _wrap_SoInteractionKit_renderCaching_get, METH_VARARGS, (char *)"SoInteractionKit_renderCaching_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_boundingBoxCaching_set", _wrap_SoInteractionKit_boundingBoxCaching_set, METH_VARARGS, (char *)"SoInteractionKit_boundingBoxCaching_set(SoInteractionKit self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoInteractionKit_boundingBoxCaching_get", _wrap_SoInteractionKit_boundingBoxCaching_get, METH_VARARGS, (char *)"SoInteractionKit_boundingBoxCaching_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_renderCulling_set", _wrap_SoInteractionKit_renderCulling_set, METH_VARARGS, (char *)"SoInteractionKit_renderCulling_set(SoInteractionKit self, SoSFEnum renderCulling)"}, - { (char *)"SoInteractionKit_renderCulling_get", _wrap_SoInteractionKit_renderCulling_get, METH_VARARGS, (char *)"SoInteractionKit_renderCulling_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"SoInteractionKit_pickCulling_set", _wrap_SoInteractionKit_pickCulling_set, METH_VARARGS, (char *)"SoInteractionKit_pickCulling_set(SoInteractionKit self, SoSFEnum pickCulling)"}, - { (char *)"SoInteractionKit_pickCulling_get", _wrap_SoInteractionKit_pickCulling_get, METH_VARARGS, (char *)"SoInteractionKit_pickCulling_get(SoInteractionKit self) -> SoSFEnum"}, - { (char *)"new_SoInteractionKit", _wrap_new_SoInteractionKit, METH_VARARGS, (char *)"new_SoInteractionKit() -> SoInteractionKit"}, - { (char *)"SoInteractionKit_initClass", _wrap_SoInteractionKit_initClass, METH_VARARGS, (char *)"SoInteractionKit_initClass()"}, - { (char *)"SoInteractionKit_setPartAsPath", _wrap_SoInteractionKit_setPartAsPath, METH_VARARGS, (char *)"SoInteractionKit_setPartAsPath(SoInteractionKit self, SbName partname, SoPath path) -> SbBool"}, - { (char *)"SoInteractionKit_setPartAsDefault", _wrap_SoInteractionKit_setPartAsDefault, METH_VARARGS, (char *)"\n" - "setPartAsDefault(SbName partname, SoNode node, SbBool onlyifdefault=1) -> SbBool\n" - "setPartAsDefault(SbName partname, SoNode node) -> SbBool\n" - "setPartAsDefault(SbName partname, SbName nodename, SbBool onlyifdefault=1) -> SbBool\n" - "SoInteractionKit_setPartAsDefault(SoInteractionKit self, SbName partname, SbName nodename) -> SbBool\n" - ""}, - { (char *)"SoInteractionKit_isPathSurrogateInMySubgraph", _wrap_SoInteractionKit_isPathSurrogateInMySubgraph, METH_VARARGS, (char *)"\n" - "isPathSurrogateInMySubgraph(SoPath path, SoPath pathToOwner, SbName surrogatename, \n" - " SoPath surrogatepath, SbBool fillargs=1) -> SbBool\n" - "isPathSurrogateInMySubgraph(SoPath path, SoPath pathToOwner, SbName surrogatename, \n" - " SoPath surrogatepath) -> SbBool\n" - "SoInteractionKit_isPathSurrogateInMySubgraph(SoInteractionKit self, SoPath path) -> SbBool\n" - ""}, - { (char *)"SoInteractionKit_setSwitchValue", _wrap_SoInteractionKit_setSwitchValue, METH_VARARGS, (char *)"SoInteractionKit_setSwitchValue(SoNode node, int newVal)"}, - { (char *)"SoInteractionKit_setPart", _wrap_SoInteractionKit_setPart, METH_VARARGS, (char *)"SoInteractionKit_setPart(SoInteractionKit self, SbName partname, SoNode from) -> SbBool"}, - { (char *)"SoInteractionKit_swigregister", SoInteractionKit_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBool", _wrap_new_SoSFBool, METH_VARARGS, (char *)"new_SoSFBool() -> SoSFBool"}, - { (char *)"delete_SoSFBool", _wrap_delete_SoSFBool, METH_VARARGS, (char *)"delete_SoSFBool(SoSFBool self)"}, - { (char *)"SoSFBool_createInstance", _wrap_SoSFBool_createInstance, METH_VARARGS, (char *)"SoSFBool_createInstance() -> void"}, - { (char *)"SoSFBool_getClassTypeId", _wrap_SoSFBool_getClassTypeId, METH_VARARGS, (char *)"SoSFBool_getClassTypeId() -> SoType"}, - { (char *)"SoSFBool_getTypeId", _wrap_SoSFBool_getTypeId, METH_VARARGS, (char *)"SoSFBool_getTypeId(SoSFBool self) -> SoType"}, - { (char *)"SoSFBool_copyFrom", _wrap_SoSFBool_copyFrom, METH_VARARGS, (char *)"SoSFBool_copyFrom(SoSFBool self, SoField field)"}, - { (char *)"SoSFBool_isSame", _wrap_SoSFBool_isSame, METH_VARARGS, (char *)"SoSFBool_isSame(SoSFBool self, SoField field) -> SbBool"}, - { (char *)"SoSFBool_getValue", _wrap_SoSFBool_getValue, METH_VARARGS, (char *)"SoSFBool_getValue(SoSFBool self) -> SbBool"}, - { (char *)"SoSFBool___eq__", _wrap_SoSFBool___eq__, METH_VARARGS, (char *)"SoSFBool___eq__(SoSFBool self, SoSFBool field) -> int"}, - { (char *)"SoSFBool___ne__", _wrap_SoSFBool___ne__, METH_VARARGS, (char *)"SoSFBool___ne__(SoSFBool self, SoSFBool field) -> int"}, - { (char *)"SoSFBool_initClass", _wrap_SoSFBool_initClass, METH_VARARGS, (char *)"SoSFBool_initClass()"}, - { (char *)"SoSFBool_setValue", _wrap_SoSFBool_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBool newvalue)\n" - "SoSFBool_setValue(SoSFBool self, SoSFBool other)\n" - ""}, - { (char *)"SoSFBool_swigregister", SoSFBool_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoCallbackList", _wrap_new_SoCallbackList, METH_VARARGS, (char *)"new_SoCallbackList() -> SoCallbackList"}, - { (char *)"delete_SoCallbackList", _wrap_delete_SoCallbackList, METH_VARARGS, (char *)"delete_SoCallbackList(SoCallbackList self)"}, - { (char *)"SoCallbackList_addCallback", _wrap_SoCallbackList_addCallback, METH_VARARGS, (char *)"\n" - "addCallback(SoCallbackListCB f, void userData=None)\n" - "SoCallbackList_addCallback(SoCallbackList self, SoCallbackListCB f)\n" - ""}, - { (char *)"SoCallbackList_removeCallback", _wrap_SoCallbackList_removeCallback, METH_VARARGS, (char *)"\n" - "removeCallback(SoCallbackListCB f, void userdata=None)\n" - "SoCallbackList_removeCallback(SoCallbackList self, SoCallbackListCB f)\n" - ""}, - { (char *)"SoCallbackList_clearCallbacks", _wrap_SoCallbackList_clearCallbacks, METH_VARARGS, (char *)"SoCallbackList_clearCallbacks(SoCallbackList self)"}, - { (char *)"SoCallbackList_getNumCallbacks", _wrap_SoCallbackList_getNumCallbacks, METH_VARARGS, (char *)"SoCallbackList_getNumCallbacks(SoCallbackList self) -> int"}, - { (char *)"SoCallbackList_invokeCallbacks", _wrap_SoCallbackList_invokeCallbacks, METH_VARARGS, (char *)"SoCallbackList_invokeCallbacks(SoCallbackList self, void callbackdata)"}, - { (char *)"SoCallbackList_swigregister", SoCallbackList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3d", _wrap_new_SbVec3d, METH_VARARGS, (char *)"\n" - "SbVec3d()\n" - "SbVec3d(double v)\n" - "SbVec3d(double x, double y, double z)\n" - "new_SbVec3d(SbVec3f v) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d_cross", _wrap_SbVec3d_cross, METH_VARARGS, (char *)"SbVec3d_cross(SbVec3d self, SbVec3d v) -> SbVec3d"}, - { (char *)"SbVec3d_dot", _wrap_SbVec3d_dot, METH_VARARGS, (char *)"SbVec3d_dot(SbVec3d self, SbVec3d v) -> double"}, - { (char *)"SbVec3d_equals", _wrap_SbVec3d_equals, METH_VARARGS, (char *)"SbVec3d_equals(SbVec3d self, SbVec3d v, double tolerance) -> SbBool"}, - { (char *)"SbVec3d_getClosestAxis", _wrap_SbVec3d_getClosestAxis, METH_VARARGS, (char *)"SbVec3d_getClosestAxis(SbVec3d self) -> SbVec3d"}, - { (char *)"SbVec3d_getValue", _wrap_SbVec3d_getValue, METH_VARARGS, (char *)"SbVec3d_getValue(SbVec3d self) -> double"}, - { (char *)"SbVec3d_length", _wrap_SbVec3d_length, METH_VARARGS, (char *)"SbVec3d_length(SbVec3d self) -> double"}, - { (char *)"SbVec3d_sqrLength", _wrap_SbVec3d_sqrLength, METH_VARARGS, (char *)"SbVec3d_sqrLength(SbVec3d self) -> double"}, - { (char *)"SbVec3d_negate", _wrap_SbVec3d_negate, METH_VARARGS, (char *)"SbVec3d_negate(SbVec3d self)"}, - { (char *)"SbVec3d_normalize", _wrap_SbVec3d_normalize, METH_VARARGS, (char *)"SbVec3d_normalize(SbVec3d self) -> double"}, - { (char *)"SbVec3d_setValue", _wrap_SbVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec3d\n" - "setValue(double x, double y, double z) -> SbVec3d\n" - "setValue(SbVec3d barycentric, SbVec3d v0, SbVec3d v1, SbVec3d v2) -> SbVec3d\n" - "SbVec3d_setValue(SbVec3d self, SbVec3f v) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d___imul__", _wrap_SbVec3d___imul__, METH_VARARGS, (char *)"SbVec3d___imul__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___idiv__", _wrap_SbVec3d___idiv__, METH_VARARGS, (char *)"SbVec3d___idiv__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___iadd__", _wrap_SbVec3d___iadd__, METH_VARARGS, (char *)"SbVec3d___iadd__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___isub__", _wrap_SbVec3d___isub__, METH_VARARGS, (char *)"SbVec3d___isub__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___neg__", _wrap_SbVec3d___neg__, METH_VARARGS, (char *)"SbVec3d___neg__(SbVec3d self) -> SbVec3d"}, - { (char *)"SbVec3d_output", _wrap_SbVec3d_output, METH_VARARGS, (char *)"SbVec3d_output(SbVec3d self, FILE fp)"}, - { (char *)"SbVec3d___add__", _wrap_SbVec3d___add__, METH_VARARGS, (char *)"SbVec3d___add__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___sub__", _wrap_SbVec3d___sub__, METH_VARARGS, (char *)"SbVec3d___sub__(SbVec3d self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbVec3d___mul__", _wrap_SbVec3d___mul__, METH_VARARGS, (char *)"\n" - "__mul__(double d) -> SbVec3d\n" - "SbVec3d___mul__(SbVec3d self, SbDPMatrix m) -> SbVec3d\n" - ""}, - { (char *)"SbVec3d___rmul__", _wrap_SbVec3d___rmul__, METH_VARARGS, (char *)"SbVec3d___rmul__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___div__", _wrap_SbVec3d___div__, METH_VARARGS, (char *)"SbVec3d___div__(SbVec3d self, double d) -> SbVec3d"}, - { (char *)"SbVec3d___eq__", _wrap_SbVec3d___eq__, METH_VARARGS, (char *)"SbVec3d___eq__(SbVec3d self, SbVec3d u) -> int"}, - { (char *)"SbVec3d___nq__", _wrap_SbVec3d___nq__, METH_VARARGS, (char *)"SbVec3d___nq__(SbVec3d self, SbVec3d u) -> int"}, - { (char *)"SbVec3d___getitem__", _wrap_SbVec3d___getitem__, METH_VARARGS, (char *)"SbVec3d___getitem__(SbVec3d self, int i) -> double"}, - { (char *)"SbVec3d___setitem__", _wrap_SbVec3d___setitem__, METH_VARARGS, (char *)"SbVec3d___setitem__(SbVec3d self, int i, double value)"}, - { (char *)"delete_SbVec3d", _wrap_delete_SbVec3d, METH_VARARGS, (char *)"delete_SbVec3d(SbVec3d self)"}, - { (char *)"SbVec3d_swigregister", SbVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPViewVolume", _wrap_new_SbDPViewVolume, METH_VARARGS, (char *)"new_SbDPViewVolume() -> SbDPViewVolume"}, - { (char *)"delete_SbDPViewVolume", _wrap_delete_SbDPViewVolume, METH_VARARGS, (char *)"delete_SbDPViewVolume(SbDPViewVolume self)"}, - { (char *)"SbDPViewVolume_getMatrices", _wrap_SbDPViewVolume_getMatrices, METH_VARARGS, (char *)"SbDPViewVolume_getMatrices(SbDPViewVolume self, SbDPMatrix affine, SbDPMatrix proj)"}, - { (char *)"SbDPViewVolume_getMatrix", _wrap_SbDPViewVolume_getMatrix, METH_VARARGS, (char *)"SbDPViewVolume_getMatrix(SbDPViewVolume self) -> SbDPMatrix"}, - { (char *)"SbDPViewVolume_getCameraSpaceMatrix", _wrap_SbDPViewVolume_getCameraSpaceMatrix, METH_VARARGS, (char *)"SbDPViewVolume_getCameraSpaceMatrix(SbDPViewVolume self) -> SbDPMatrix"}, - { (char *)"SbDPViewVolume_projectPointToLine", _wrap_SbDPViewVolume_projectPointToLine, METH_VARARGS, (char *)"\n" - "projectPointToLine(SbVec2d pt, SbDPLine line)\n" - "SbDPViewVolume_projectPointToLine(SbDPViewVolume self, SbVec2d pt, SbVec3d line0, SbVec3d line1)\n" - ""}, - { (char *)"SbDPViewVolume_projectToScreen", _wrap_SbDPViewVolume_projectToScreen, METH_VARARGS, (char *)"SbDPViewVolume_projectToScreen(SbDPViewVolume self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPViewVolume_getPlane", _wrap_SbDPViewVolume_getPlane, METH_VARARGS, (char *)"SbDPViewVolume_getPlane(SbDPViewVolume self, double distFromEye) -> SbPlane"}, - { (char *)"SbDPViewVolume_getSightPoint", _wrap_SbDPViewVolume_getSightPoint, METH_VARARGS, (char *)"SbDPViewVolume_getSightPoint(SbDPViewVolume self, double distFromEye) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getPlanePoint", _wrap_SbDPViewVolume_getPlanePoint, METH_VARARGS, (char *)"SbDPViewVolume_getPlanePoint(SbDPViewVolume self, double distFromEye, SbVec2d normPoint) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getAlignRotation", _wrap_SbDPViewVolume_getAlignRotation, METH_VARARGS, (char *)"\n" - "getAlignRotation(SbBool rightAngleOnly=0) -> SbDPRotation\n" - "SbDPViewVolume_getAlignRotation(SbDPViewVolume self) -> SbDPRotation\n" - ""}, - { (char *)"SbDPViewVolume_getWorldToScreenScale", _wrap_SbDPViewVolume_getWorldToScreenScale, METH_VARARGS, (char *)"SbDPViewVolume_getWorldToScreenScale(SbDPViewVolume self, SbVec3d worldCenter, double normRadius) -> double"}, - { (char *)"SbDPViewVolume_projectBox", _wrap_SbDPViewVolume_projectBox, METH_VARARGS, (char *)"SbDPViewVolume_projectBox(SbDPViewVolume self, SbBox3f box) -> SbVec2d"}, - { (char *)"SbDPViewVolume_narrow", _wrap_SbDPViewVolume_narrow, METH_VARARGS, (char *)"\n" - "narrow(double left, double bottom, double right, double top) -> SbDPViewVolume\n" - "SbDPViewVolume_narrow(SbDPViewVolume self, SbBox3f box) -> SbDPViewVolume\n" - ""}, - { (char *)"SbDPViewVolume_ortho", _wrap_SbDPViewVolume_ortho, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_ortho(SbDPViewVolume self, double left, double right, double bottom, \n" - " double top, double nearval, double farval)\n" - ""}, - { (char *)"SbDPViewVolume_perspective", _wrap_SbDPViewVolume_perspective, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_perspective(SbDPViewVolume self, double fovy, double aspect, double nearval, \n" - " double farval)\n" - ""}, - { (char *)"SbDPViewVolume_frustum", _wrap_SbDPViewVolume_frustum, METH_VARARGS, (char *)"\n" - "SbDPViewVolume_frustum(SbDPViewVolume self, double left, double right, double bottom, \n" - " double top, double nearval, double farval)\n" - ""}, - { (char *)"SbDPViewVolume_rotateCamera", _wrap_SbDPViewVolume_rotateCamera, METH_VARARGS, (char *)"SbDPViewVolume_rotateCamera(SbDPViewVolume self, SbDPRotation q)"}, - { (char *)"SbDPViewVolume_translateCamera", _wrap_SbDPViewVolume_translateCamera, METH_VARARGS, (char *)"SbDPViewVolume_translateCamera(SbDPViewVolume self, SbVec3d v)"}, - { (char *)"SbDPViewVolume_zVector", _wrap_SbDPViewVolume_zVector, METH_VARARGS, (char *)"SbDPViewVolume_zVector(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_zNarrow", _wrap_SbDPViewVolume_zNarrow, METH_VARARGS, (char *)"SbDPViewVolume_zNarrow(SbDPViewVolume self, double nearval, double farval) -> SbDPViewVolume"}, - { (char *)"SbDPViewVolume_scale", _wrap_SbDPViewVolume_scale, METH_VARARGS, (char *)"SbDPViewVolume_scale(SbDPViewVolume self, double factor)"}, - { (char *)"SbDPViewVolume_scaleWidth", _wrap_SbDPViewVolume_scaleWidth, METH_VARARGS, (char *)"SbDPViewVolume_scaleWidth(SbDPViewVolume self, double ratio)"}, - { (char *)"SbDPViewVolume_scaleHeight", _wrap_SbDPViewVolume_scaleHeight, METH_VARARGS, (char *)"SbDPViewVolume_scaleHeight(SbDPViewVolume self, double ratio)"}, - { (char *)"SbDPViewVolume_getProjectionType", _wrap_SbDPViewVolume_getProjectionType, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionType(SbDPViewVolume self) -> ProjectionType"}, - { (char *)"SbDPViewVolume_getProjectionPoint", _wrap_SbDPViewVolume_getProjectionPoint, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionPoint(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getProjectionDirection", _wrap_SbDPViewVolume_getProjectionDirection, METH_VARARGS, (char *)"SbDPViewVolume_getProjectionDirection(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_getNearDist", _wrap_SbDPViewVolume_getNearDist, METH_VARARGS, (char *)"SbDPViewVolume_getNearDist(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getWidth", _wrap_SbDPViewVolume_getWidth, METH_VARARGS, (char *)"SbDPViewVolume_getWidth(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getHeight", _wrap_SbDPViewVolume_getHeight, METH_VARARGS, (char *)"SbDPViewVolume_getHeight(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_getDepth", _wrap_SbDPViewVolume_getDepth, METH_VARARGS, (char *)"SbDPViewVolume_getDepth(SbDPViewVolume self) -> double"}, - { (char *)"SbDPViewVolume_output", _wrap_SbDPViewVolume_output, METH_VARARGS, (char *)"SbDPViewVolume_output(SbDPViewVolume self, FILE fp)"}, - { (char *)"SbDPViewVolume_getViewVolumePlanes", _wrap_SbDPViewVolume_getViewVolumePlanes, METH_VARARGS, (char *)"SbDPViewVolume_getViewVolumePlanes(SbDPViewVolume self, SbPlane planes)"}, - { (char *)"SbDPViewVolume_transform", _wrap_SbDPViewVolume_transform, METH_VARARGS, (char *)"SbDPViewVolume_transform(SbDPViewVolume self, SbDPMatrix matrix)"}, - { (char *)"SbDPViewVolume_getViewUp", _wrap_SbDPViewVolume_getViewUp, METH_VARARGS, (char *)"SbDPViewVolume_getViewUp(SbDPViewVolume self) -> SbVec3d"}, - { (char *)"SbDPViewVolume_copyValues", _wrap_SbDPViewVolume_copyValues, METH_VARARGS, (char *)"SbDPViewVolume_copyValues(SbDPViewVolume self, SbViewVolume vv)"}, - { (char *)"SbDPViewVolume_swigregister", SbDPViewVolume_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbViewVolume", _wrap_new_SbViewVolume, METH_VARARGS, (char *)"new_SbViewVolume() -> SbViewVolume"}, - { (char *)"delete_SbViewVolume", _wrap_delete_SbViewVolume, METH_VARARGS, (char *)"delete_SbViewVolume(SbViewVolume self)"}, - { (char *)"SbViewVolume_getMatrices", _wrap_SbViewVolume_getMatrices, METH_VARARGS, (char *)"SbViewVolume_getMatrices(SbViewVolume self, SbMatrix affine, SbMatrix proj)"}, - { (char *)"SbViewVolume_getMatrix", _wrap_SbViewVolume_getMatrix, METH_VARARGS, (char *)"SbViewVolume_getMatrix(SbViewVolume self) -> SbMatrix"}, - { (char *)"SbViewVolume_getCameraSpaceMatrix", _wrap_SbViewVolume_getCameraSpaceMatrix, METH_VARARGS, (char *)"SbViewVolume_getCameraSpaceMatrix(SbViewVolume self) -> SbMatrix"}, - { (char *)"SbViewVolume_getPlane", _wrap_SbViewVolume_getPlane, METH_VARARGS, (char *)"SbViewVolume_getPlane(SbViewVolume self, float distFromEye) -> SbPlane"}, - { (char *)"SbViewVolume_getSightPoint", _wrap_SbViewVolume_getSightPoint, METH_VARARGS, (char *)"SbViewVolume_getSightPoint(SbViewVolume self, float distFromEye) -> SbVec3f"}, - { (char *)"SbViewVolume_getPlanePoint", _wrap_SbViewVolume_getPlanePoint, METH_VARARGS, (char *)"SbViewVolume_getPlanePoint(SbViewVolume self, float distFromEye, SbVec2f normPoint) -> SbVec3f"}, - { (char *)"SbViewVolume_getAlignRotation", _wrap_SbViewVolume_getAlignRotation, METH_VARARGS, (char *)"\n" - "getAlignRotation(SbBool rightAngleOnly=0) -> SbRotation\n" - "SbViewVolume_getAlignRotation(SbViewVolume self) -> SbRotation\n" - ""}, - { (char *)"SbViewVolume_getWorldToScreenScale", _wrap_SbViewVolume_getWorldToScreenScale, METH_VARARGS, (char *)"SbViewVolume_getWorldToScreenScale(SbViewVolume self, SbVec3f worldCenter, float normRadius) -> float"}, - { (char *)"SbViewVolume_projectBox", _wrap_SbViewVolume_projectBox, METH_VARARGS, (char *)"SbViewVolume_projectBox(SbViewVolume self, SbBox3f box) -> SbVec2f"}, - { (char *)"SbViewVolume_narrow", _wrap_SbViewVolume_narrow, METH_VARARGS, (char *)"\n" - "narrow(float left, float bottom, float right, float top) -> SbViewVolume\n" - "SbViewVolume_narrow(SbViewVolume self, SbBox3f box) -> SbViewVolume\n" - ""}, - { (char *)"SbViewVolume_ortho", _wrap_SbViewVolume_ortho, METH_VARARGS, (char *)"\n" - "SbViewVolume_ortho(SbViewVolume self, float left, float right, float bottom, \n" - " float top, float nearval, float farval)\n" - ""}, - { (char *)"SbViewVolume_perspective", _wrap_SbViewVolume_perspective, METH_VARARGS, (char *)"\n" - "SbViewVolume_perspective(SbViewVolume self, float fovy, float aspect, float nearval, \n" - " float farval)\n" - ""}, - { (char *)"SbViewVolume_frustum", _wrap_SbViewVolume_frustum, METH_VARARGS, (char *)"\n" - "SbViewVolume_frustum(SbViewVolume self, float left, float right, float bottom, \n" - " float top, float nearval, float farval)\n" - ""}, - { (char *)"SbViewVolume_rotateCamera", _wrap_SbViewVolume_rotateCamera, METH_VARARGS, (char *)"SbViewVolume_rotateCamera(SbViewVolume self, SbRotation q)"}, - { (char *)"SbViewVolume_translateCamera", _wrap_SbViewVolume_translateCamera, METH_VARARGS, (char *)"SbViewVolume_translateCamera(SbViewVolume self, SbVec3f v)"}, - { (char *)"SbViewVolume_zVector", _wrap_SbViewVolume_zVector, METH_VARARGS, (char *)"SbViewVolume_zVector(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_zNarrow", _wrap_SbViewVolume_zNarrow, METH_VARARGS, (char *)"SbViewVolume_zNarrow(SbViewVolume self, float nearval, float farval) -> SbViewVolume"}, - { (char *)"SbViewVolume_scale", _wrap_SbViewVolume_scale, METH_VARARGS, (char *)"SbViewVolume_scale(SbViewVolume self, float factor)"}, - { (char *)"SbViewVolume_scaleWidth", _wrap_SbViewVolume_scaleWidth, METH_VARARGS, (char *)"SbViewVolume_scaleWidth(SbViewVolume self, float ratio)"}, - { (char *)"SbViewVolume_scaleHeight", _wrap_SbViewVolume_scaleHeight, METH_VARARGS, (char *)"SbViewVolume_scaleHeight(SbViewVolume self, float ratio)"}, - { (char *)"SbViewVolume_getProjectionType", _wrap_SbViewVolume_getProjectionType, METH_VARARGS, (char *)"SbViewVolume_getProjectionType(SbViewVolume self) -> ProjectionType"}, - { (char *)"SbViewVolume_getProjectionPoint", _wrap_SbViewVolume_getProjectionPoint, METH_VARARGS, (char *)"SbViewVolume_getProjectionPoint(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_getProjectionDirection", _wrap_SbViewVolume_getProjectionDirection, METH_VARARGS, (char *)"SbViewVolume_getProjectionDirection(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_getNearDist", _wrap_SbViewVolume_getNearDist, METH_VARARGS, (char *)"SbViewVolume_getNearDist(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getWidth", _wrap_SbViewVolume_getWidth, METH_VARARGS, (char *)"SbViewVolume_getWidth(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getHeight", _wrap_SbViewVolume_getHeight, METH_VARARGS, (char *)"SbViewVolume_getHeight(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_getDepth", _wrap_SbViewVolume_getDepth, METH_VARARGS, (char *)"SbViewVolume_getDepth(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_output", _wrap_SbViewVolume_output, METH_VARARGS, (char *)"SbViewVolume_output(SbViewVolume self, FILE fp)"}, - { (char *)"SbViewVolume_getViewVolumePlanes", _wrap_SbViewVolume_getViewVolumePlanes, METH_VARARGS, (char *)"SbViewVolume_getViewVolumePlanes(SbViewVolume self, SbPlane planes)"}, - { (char *)"SbViewVolume_transform", _wrap_SbViewVolume_transform, METH_VARARGS, (char *)"SbViewVolume_transform(SbViewVolume self, SbMatrix matrix)"}, - { (char *)"SbViewVolume_getViewUp", _wrap_SbViewVolume_getViewUp, METH_VARARGS, (char *)"SbViewVolume_getViewUp(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_intersect", _wrap_SbViewVolume_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3f p) -> SbBool\n" - "intersect(SbVec3f p0, SbVec3f p1, SbVec3f closestpoint) -> SbBool\n" - "SbViewVolume_intersect(SbViewVolume self, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SbViewVolume_outsideTest", _wrap_SbViewVolume_outsideTest, METH_VARARGS, (char *)"SbViewVolume_outsideTest(SbViewVolume self, SbPlane p, SbVec3f bmin, SbVec3f bmax) -> SbBool"}, - { (char *)"SbViewVolume_type_set", _wrap_SbViewVolume_type_set, METH_VARARGS, (char *)"SbViewVolume_type_set(SbViewVolume self, ProjectionType type)"}, - { (char *)"SbViewVolume_type_get", _wrap_SbViewVolume_type_get, METH_VARARGS, (char *)"SbViewVolume_type_get(SbViewVolume self) -> ProjectionType"}, - { (char *)"SbViewVolume_projPoint_set", _wrap_SbViewVolume_projPoint_set, METH_VARARGS, (char *)"SbViewVolume_projPoint_set(SbViewVolume self, SbVec3f projPoint)"}, - { (char *)"SbViewVolume_projPoint_get", _wrap_SbViewVolume_projPoint_get, METH_VARARGS, (char *)"SbViewVolume_projPoint_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_projDir_set", _wrap_SbViewVolume_projDir_set, METH_VARARGS, (char *)"SbViewVolume_projDir_set(SbViewVolume self, SbVec3f projDir)"}, - { (char *)"SbViewVolume_projDir_get", _wrap_SbViewVolume_projDir_get, METH_VARARGS, (char *)"SbViewVolume_projDir_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_nearDist_set", _wrap_SbViewVolume_nearDist_set, METH_VARARGS, (char *)"SbViewVolume_nearDist_set(SbViewVolume self, float nearDist)"}, - { (char *)"SbViewVolume_nearDist_get", _wrap_SbViewVolume_nearDist_get, METH_VARARGS, (char *)"SbViewVolume_nearDist_get(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_nearToFar_set", _wrap_SbViewVolume_nearToFar_set, METH_VARARGS, (char *)"SbViewVolume_nearToFar_set(SbViewVolume self, float nearToFar)"}, - { (char *)"SbViewVolume_nearToFar_get", _wrap_SbViewVolume_nearToFar_get, METH_VARARGS, (char *)"SbViewVolume_nearToFar_get(SbViewVolume self) -> float"}, - { (char *)"SbViewVolume_llf_set", _wrap_SbViewVolume_llf_set, METH_VARARGS, (char *)"SbViewVolume_llf_set(SbViewVolume self, SbVec3f llf)"}, - { (char *)"SbViewVolume_llf_get", _wrap_SbViewVolume_llf_get, METH_VARARGS, (char *)"SbViewVolume_llf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_lrf_set", _wrap_SbViewVolume_lrf_set, METH_VARARGS, (char *)"SbViewVolume_lrf_set(SbViewVolume self, SbVec3f lrf)"}, - { (char *)"SbViewVolume_lrf_get", _wrap_SbViewVolume_lrf_get, METH_VARARGS, (char *)"SbViewVolume_lrf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_ulf_set", _wrap_SbViewVolume_ulf_set, METH_VARARGS, (char *)"SbViewVolume_ulf_set(SbViewVolume self, SbVec3f ulf)"}, - { (char *)"SbViewVolume_ulf_get", _wrap_SbViewVolume_ulf_get, METH_VARARGS, (char *)"SbViewVolume_ulf_get(SbViewVolume self) -> SbVec3f"}, - { (char *)"SbViewVolume_projectPointToLine", _wrap_SbViewVolume_projectPointToLine, METH_VARARGS, (char *)"projectPointToLine() -> (SbVec3f, SbVec3f)"}, - { (char *)"SbViewVolume_projectToScreen", _wrap_SbViewVolume_projectToScreen, METH_VARARGS, (char *)"projectToScreen() -> (SbVec3f, SbVec3f)"}, - { (char *)"SbViewVolume_swigregister", SbViewVolume_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3f", _wrap_new_SoSFVec3f, METH_VARARGS, (char *)"new_SoSFVec3f() -> SoSFVec3f"}, - { (char *)"delete_SoSFVec3f", _wrap_delete_SoSFVec3f, METH_VARARGS, (char *)"delete_SoSFVec3f(SoSFVec3f self)"}, - { (char *)"SoSFVec3f_createInstance", _wrap_SoSFVec3f_createInstance, METH_VARARGS, (char *)"SoSFVec3f_createInstance() -> void"}, - { (char *)"SoSFVec3f_getClassTypeId", _wrap_SoSFVec3f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3f_getTypeId", _wrap_SoSFVec3f_getTypeId, METH_VARARGS, (char *)"SoSFVec3f_getTypeId(SoSFVec3f self) -> SoType"}, - { (char *)"SoSFVec3f_copyFrom", _wrap_SoSFVec3f_copyFrom, METH_VARARGS, (char *)"SoSFVec3f_copyFrom(SoSFVec3f self, SoField field)"}, - { (char *)"SoSFVec3f_isSame", _wrap_SoSFVec3f_isSame, METH_VARARGS, (char *)"SoSFVec3f_isSame(SoSFVec3f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3f_getValue", _wrap_SoSFVec3f_getValue, METH_VARARGS, (char *)"SoSFVec3f_getValue(SoSFVec3f self) -> SbVec3f"}, - { (char *)"SoSFVec3f___eq__", _wrap_SoSFVec3f___eq__, METH_VARARGS, (char *)"SoSFVec3f___eq__(SoSFVec3f self, SoSFVec3f field) -> int"}, - { (char *)"SoSFVec3f___ne__", _wrap_SoSFVec3f___ne__, METH_VARARGS, (char *)"SoSFVec3f___ne__(SoSFVec3f self, SoSFVec3f field) -> int"}, - { (char *)"SoSFVec3f_initClass", _wrap_SoSFVec3f_initClass, METH_VARARGS, (char *)"SoSFVec3f_initClass()"}, - { (char *)"SoSFVec3f_setValue", _wrap_SoSFVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3f newvalue)\n" - "setValue(float x, float y, float z)\n" - "setValue(float xyz)\n" - "SoSFVec3f_setValue(SoSFVec3f self, SoSFVec3f other)\n" - ""}, - { (char *)"SoSFVec3f_swigregister", SoSFVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale_getClassTypeId", _wrap_SoScale_getClassTypeId, METH_VARARGS, (char *)"SoScale_getClassTypeId() -> SoType"}, - { (char *)"SoScale_getTypeId", _wrap_SoScale_getTypeId, METH_VARARGS, (char *)"SoScale_getTypeId(SoScale self) -> SoType"}, - { (char *)"SoScale_initClass", _wrap_SoScale_initClass, METH_VARARGS, (char *)"SoScale_initClass()"}, - { (char *)"new_SoScale", _wrap_new_SoScale, METH_VARARGS, (char *)"new_SoScale() -> SoScale"}, - { (char *)"SoScale_scaleFactor_set", _wrap_SoScale_scaleFactor_set, METH_VARARGS, (char *)"SoScale_scaleFactor_set(SoScale self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale_scaleFactor_get", _wrap_SoScale_scaleFactor_get, METH_VARARGS, (char *)"SoScale_scaleFactor_get(SoScale self) -> SoSFVec3f"}, - { (char *)"SoScale_doAction", _wrap_SoScale_doAction, METH_VARARGS, (char *)"SoScale_doAction(SoScale self, SoAction action)"}, - { (char *)"SoScale_callback", _wrap_SoScale_callback, METH_VARARGS, (char *)"SoScale_callback(SoScale self, SoCallbackAction action)"}, - { (char *)"SoScale_GLRender", _wrap_SoScale_GLRender, METH_VARARGS, (char *)"SoScale_GLRender(SoScale self, SoGLRenderAction action)"}, - { (char *)"SoScale_getBoundingBox", _wrap_SoScale_getBoundingBox, METH_VARARGS, (char *)"SoScale_getBoundingBox(SoScale self, SoGetBoundingBoxAction action)"}, - { (char *)"SoScale_getMatrix", _wrap_SoScale_getMatrix, METH_VARARGS, (char *)"SoScale_getMatrix(SoScale self, SoGetMatrixAction action)"}, - { (char *)"SoScale_pick", _wrap_SoScale_pick, METH_VARARGS, (char *)"SoScale_pick(SoScale self, SoPickAction action)"}, - { (char *)"SoScale_getPrimitiveCount", _wrap_SoScale_getPrimitiveCount, METH_VARARGS, (char *)"SoScale_getPrimitiveCount(SoScale self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoScale_swigregister", SoScale_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDragger_getClassTypeId", _wrap_SoDragger_getClassTypeId, METH_VARARGS, (char *)"SoDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDragger_getTypeId", _wrap_SoDragger_getTypeId, METH_VARARGS, (char *)"SoDragger_getTypeId(SoDragger self) -> SoType"}, - { (char *)"SoDragger_getClassNodekitCatalog", _wrap_SoDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDragger_getNodekitCatalog", _wrap_SoDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDragger_getNodekitCatalog(SoDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDragger_isActive_set", _wrap_SoDragger_isActive_set, METH_VARARGS, (char *)"SoDragger_isActive_set(SoDragger self, SoSFBool isActive)"}, - { (char *)"SoDragger_isActive_get", _wrap_SoDragger_isActive_get, METH_VARARGS, (char *)"SoDragger_isActive_get(SoDragger self) -> SoSFBool"}, - { (char *)"SoDragger_callback", _wrap_SoDragger_callback, METH_VARARGS, (char *)"SoDragger_callback(SoDragger self, SoCallbackAction action)"}, - { (char *)"SoDragger_GLRender", _wrap_SoDragger_GLRender, METH_VARARGS, (char *)"SoDragger_GLRender(SoDragger self, SoGLRenderAction action)"}, - { (char *)"SoDragger_getMatrix", _wrap_SoDragger_getMatrix, METH_VARARGS, (char *)"SoDragger_getMatrix(SoDragger self, SoGetMatrixAction action)"}, - { (char *)"SoDragger_rayPick", _wrap_SoDragger_rayPick, METH_VARARGS, (char *)"SoDragger_rayPick(SoDragger self, SoRayPickAction action)"}, - { (char *)"SoDragger_search", _wrap_SoDragger_search, METH_VARARGS, (char *)"SoDragger_search(SoDragger self, SoSearchAction action)"}, - { (char *)"SoDragger_write", _wrap_SoDragger_write, METH_VARARGS, (char *)"SoDragger_write(SoDragger self, SoWriteAction action)"}, - { (char *)"SoDragger_getPrimitiveCount", _wrap_SoDragger_getPrimitiveCount, METH_VARARGS, (char *)"SoDragger_getPrimitiveCount(SoDragger self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoDragger_setMinGesture", _wrap_SoDragger_setMinGesture, METH_VARARGS, (char *)"SoDragger_setMinGesture(SoDragger self, int pixels)"}, - { (char *)"SoDragger_getMinGesture", _wrap_SoDragger_getMinGesture, METH_VARARGS, (char *)"SoDragger_getMinGesture(SoDragger self) -> int"}, - { (char *)"SoDragger_enableValueChangedCallbacks", _wrap_SoDragger_enableValueChangedCallbacks, METH_VARARGS, (char *)"SoDragger_enableValueChangedCallbacks(SoDragger self, SbBool newval) -> SbBool"}, - { (char *)"SoDragger_getMotionMatrix", _wrap_SoDragger_getMotionMatrix, METH_VARARGS, (char *)"SoDragger_getMotionMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_registerChildDragger", _wrap_SoDragger_registerChildDragger, METH_VARARGS, (char *)"SoDragger_registerChildDragger(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_unregisterChildDragger", _wrap_SoDragger_unregisterChildDragger, METH_VARARGS, (char *)"SoDragger_unregisterChildDragger(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_registerChildDraggerMovingIndependently", _wrap_SoDragger_registerChildDraggerMovingIndependently, METH_VARARGS, (char *)"SoDragger_registerChildDraggerMovingIndependently(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_unregisterChildDraggerMovingIndependently", _wrap_SoDragger_unregisterChildDraggerMovingIndependently, METH_VARARGS, (char *)"SoDragger_unregisterChildDraggerMovingIndependently(SoDragger self, SoDragger child)"}, - { (char *)"SoDragger_getLocalToWorldMatrix", _wrap_SoDragger_getLocalToWorldMatrix, METH_VARARGS, (char *)"SoDragger_getLocalToWorldMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_getWorldToLocalMatrix", _wrap_SoDragger_getWorldToLocalMatrix, METH_VARARGS, (char *)"SoDragger_getWorldToLocalMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_getLocalStartingPoint", _wrap_SoDragger_getLocalStartingPoint, METH_VARARGS, (char *)"SoDragger_getLocalStartingPoint(SoDragger self) -> SbVec3f"}, - { (char *)"SoDragger_getWorldStartingPoint", _wrap_SoDragger_getWorldStartingPoint, METH_VARARGS, (char *)"SoDragger_getWorldStartingPoint(SoDragger self) -> SbVec3f"}, - { (char *)"SoDragger_getPartToLocalMatrix", _wrap_SoDragger_getPartToLocalMatrix, METH_VARARGS, (char *)"\n" - "SoDragger_getPartToLocalMatrix(SoDragger self, SbName partname, SbMatrix parttolocalmatrix, \n" - " SbMatrix localtopartmatrix)\n" - ""}, - { (char *)"SoDragger_transformMatrixLocalToWorld", _wrap_SoDragger_transformMatrixLocalToWorld, METH_VARARGS, (char *)"SoDragger_transformMatrixLocalToWorld(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix)"}, - { (char *)"SoDragger_transformMatrixWorldToLocal", _wrap_SoDragger_transformMatrixWorldToLocal, METH_VARARGS, (char *)"SoDragger_transformMatrixWorldToLocal(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix)"}, - { (char *)"SoDragger_transformMatrixToLocalSpace", _wrap_SoDragger_transformMatrixToLocalSpace, METH_VARARGS, (char *)"\n" - "SoDragger_transformMatrixToLocalSpace(SoDragger self, SbMatrix frommatrix, SbMatrix tomatrix, \n" - " SbName fromspacepartname)\n" - ""}, - { (char *)"SoDragger_setMotionMatrix", _wrap_SoDragger_setMotionMatrix, METH_VARARGS, (char *)"SoDragger_setMotionMatrix(SoDragger self, SbMatrix newmatrix)"}, - { (char *)"SoDragger_valueChanged", _wrap_SoDragger_valueChanged, METH_VARARGS, (char *)"SoDragger_valueChanged(SoDragger self)"}, - { (char *)"SoDragger_getStartMotionMatrix", _wrap_SoDragger_getStartMotionMatrix, METH_VARARGS, (char *)"SoDragger_getStartMotionMatrix(SoDragger self) -> SbMatrix"}, - { (char *)"SoDragger_saveStartParameters", _wrap_SoDragger_saveStartParameters, METH_VARARGS, (char *)"SoDragger_saveStartParameters(SoDragger self)"}, - { (char *)"SoDragger_getPickPath", _wrap_SoDragger_getPickPath, METH_VARARGS, (char *)"SoDragger_getPickPath(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getEvent", _wrap_SoDragger_getEvent, METH_VARARGS, (char *)"SoDragger_getEvent(SoDragger self) -> SoEvent"}, - { (char *)"SoDragger_createPathToThis", _wrap_SoDragger_createPathToThis, METH_VARARGS, (char *)"SoDragger_createPathToThis(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getSurrogatePartPickedOwner", _wrap_SoDragger_getSurrogatePartPickedOwner, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedOwner(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_getSurrogatePartPickedName", _wrap_SoDragger_getSurrogatePartPickedName, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedName(SoDragger self) -> SbName"}, - { (char *)"SoDragger_getSurrogatePartPickedPath", _wrap_SoDragger_getSurrogatePartPickedPath, METH_VARARGS, (char *)"SoDragger_getSurrogatePartPickedPath(SoDragger self) -> SoPath"}, - { (char *)"SoDragger_setStartingPoint", _wrap_SoDragger_setStartingPoint, METH_VARARGS, (char *)"\n" - "setStartingPoint(SoPickedPoint newpoint)\n" - "SoDragger_setStartingPoint(SoDragger self, SbVec3f newpoint)\n" - ""}, - { (char *)"SoDragger_getViewVolume", _wrap_SoDragger_getViewVolume, METH_VARARGS, (char *)"SoDragger_getViewVolume(SoDragger self) -> SbViewVolume"}, - { (char *)"SoDragger_setViewVolume", _wrap_SoDragger_setViewVolume, METH_VARARGS, (char *)"SoDragger_setViewVolume(SoDragger self, SbViewVolume vol)"}, - { (char *)"SoDragger_getViewportRegion", _wrap_SoDragger_getViewportRegion, METH_VARARGS, (char *)"SoDragger_getViewportRegion(SoDragger self) -> SbViewportRegion"}, - { (char *)"SoDragger_setViewportRegion", _wrap_SoDragger_setViewportRegion, METH_VARARGS, (char *)"SoDragger_setViewportRegion(SoDragger self, SbViewportRegion reg)"}, - { (char *)"SoDragger_getHandleEventAction", _wrap_SoDragger_getHandleEventAction, METH_VARARGS, (char *)"SoDragger_getHandleEventAction(SoDragger self) -> SoHandleEventAction"}, - { (char *)"SoDragger_setHandleEventAction", _wrap_SoDragger_setHandleEventAction, METH_VARARGS, (char *)"SoDragger_setHandleEventAction(SoDragger self, SoHandleEventAction newAction)"}, - { (char *)"SoDragger_setTempPathToThis", _wrap_SoDragger_setTempPathToThis, METH_VARARGS, (char *)"SoDragger_setTempPathToThis(SoDragger self, SoPath somethingclose)"}, - { (char *)"SoDragger_grabEventsSetup", _wrap_SoDragger_grabEventsSetup, METH_VARARGS, (char *)"SoDragger_grabEventsSetup(SoDragger self)"}, - { (char *)"SoDragger_grabEventsCleanup", _wrap_SoDragger_grabEventsCleanup, METH_VARARGS, (char *)"SoDragger_grabEventsCleanup(SoDragger self)"}, - { (char *)"SoDragger_workFieldsIntoTransform", _wrap_SoDragger_workFieldsIntoTransform, METH_VARARGS, (char *)"SoDragger_workFieldsIntoTransform(SoDragger self, SbMatrix mtx)"}, - { (char *)"SoDragger_setFrontOnProjector", _wrap_SoDragger_setFrontOnProjector, METH_VARARGS, (char *)"SoDragger_setFrontOnProjector(SoDragger self, ProjectorFrontSetting newval)"}, - { (char *)"SoDragger_getFrontOnProjector", _wrap_SoDragger_getFrontOnProjector, METH_VARARGS, (char *)"SoDragger_getFrontOnProjector(SoDragger self) -> ProjectorFrontSetting"}, - { (char *)"SoDragger_setMinScale", _wrap_SoDragger_setMinScale, METH_VARARGS, (char *)"SoDragger_setMinScale(float newminscale)"}, - { (char *)"SoDragger_getMinScale", _wrap_SoDragger_getMinScale, METH_VARARGS, (char *)"SoDragger_getMinScale() -> float"}, - { (char *)"SoDragger_workValuesIntoTransform", _wrap_SoDragger_workValuesIntoTransform, METH_VARARGS, (char *)"\n" - "SoDragger_workValuesIntoTransform(SbMatrix mtx, SbVec3f translationptr, SbRotation rotationptr, \n" - " SbVec3f scalefactorptr, SbRotation scaleorientationptr, \n" - " SbVec3f centerptr)\n" - ""}, - { (char *)"SoDragger_getTransformFast", _wrap_SoDragger_getTransformFast, METH_VARARGS, (char *)"\n" - "getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scalefactor, SbRotation scaleorientation, \n" - " SbVec3f center)\n" - "SoDragger_getTransformFast(SbMatrix mtx, SbVec3f translation, SbRotation rotation, \n" - " SbVec3f scalefactor, SbRotation scaleorientation)\n" - ""}, - { (char *)"SoDragger_appendTranslation", _wrap_SoDragger_appendTranslation, METH_VARARGS, (char *)"\n" - "appendTranslation(SbMatrix mtx, SbVec3f translation, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendTranslation(SbMatrix mtx, SbVec3f translation) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_appendScale", _wrap_SoDragger_appendScale, METH_VARARGS, (char *)"\n" - "appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendScale(SbMatrix mtx, SbVec3f scale, SbVec3f scalecenter) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_appendRotation", _wrap_SoDragger_appendRotation, METH_VARARGS, (char *)"\n" - "appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter, SbMatrix conversion=None) -> SbMatrix\n" - "SoDragger_appendRotation(SbMatrix mtx, SbRotation rot, SbVec3f rotcenter) -> SbMatrix\n" - ""}, - { (char *)"SoDragger_initClass", _wrap_SoDragger_initClass, METH_VARARGS, (char *)"SoDragger_initClass()"}, - { (char *)"SoDragger_initClasses", _wrap_SoDragger_initClasses, METH_VARARGS, (char *)"SoDragger_initClasses()"}, - { (char *)"SoDragger_addStartCallback", _wrap_SoDragger_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoDraggerCB func, void data=None)\n" - "addStartCallback(SoDraggerCB func)\n" - "addStartCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addStartCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeStartCallback", _wrap_SoDragger_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoDraggerCB func, void data=None)\n" - "removeStartCallback(SoDraggerCB func)\n" - "removeStartCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeStartCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addMotionCallback", _wrap_SoDragger_addMotionCallback, METH_VARARGS, (char *)"\n" - "addMotionCallback(SoDraggerCB func, void data=None)\n" - "addMotionCallback(SoDraggerCB func)\n" - "addMotionCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addMotionCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeMotionCallback", _wrap_SoDragger_removeMotionCallback, METH_VARARGS, (char *)"\n" - "removeMotionCallback(SoDraggerCB func, void data=None)\n" - "removeMotionCallback(SoDraggerCB func)\n" - "removeMotionCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeMotionCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addFinishCallback", _wrap_SoDragger_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoDraggerCB func, void data=None)\n" - "addFinishCallback(SoDraggerCB func)\n" - "addFinishCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addFinishCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeFinishCallback", _wrap_SoDragger_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoDraggerCB func, void data=None)\n" - "removeFinishCallback(SoDraggerCB func)\n" - "removeFinishCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeFinishCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addValueChangedCallback", _wrap_SoDragger_addValueChangedCallback, METH_VARARGS, (char *)"\n" - "addValueChangedCallback(SoDraggerCB func, void data=None)\n" - "addValueChangedCallback(SoDraggerCB func)\n" - "addValueChangedCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addValueChangedCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeValueChangedCallback", _wrap_SoDragger_removeValueChangedCallback, METH_VARARGS, (char *)"\n" - "removeValueChangedCallback(SoDraggerCB func, void data=None)\n" - "removeValueChangedCallback(SoDraggerCB func)\n" - "removeValueChangedCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeValueChangedCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_addOtherEventCallback", _wrap_SoDragger_addOtherEventCallback, METH_VARARGS, (char *)"\n" - "addOtherEventCallback(SoDraggerCB func, void data=None)\n" - "addOtherEventCallback(SoDraggerCB func)\n" - "addOtherEventCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_addOtherEventCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_removeOtherEventCallback", _wrap_SoDragger_removeOtherEventCallback, METH_VARARGS, (char *)"\n" - "removeOtherEventCallback(SoDraggerCB func, void data=None)\n" - "removeOtherEventCallback(SoDraggerCB func)\n" - "removeOtherEventCallback(PyObject pyfunc, PyObject data=None)\n" - "SoDragger_removeOtherEventCallback(SoDragger self, PyObject pyfunc)\n" - ""}, - { (char *)"SoDragger_swigregister", SoDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFRotation", _wrap_new_SoSFRotation, METH_VARARGS, (char *)"new_SoSFRotation() -> SoSFRotation"}, - { (char *)"delete_SoSFRotation", _wrap_delete_SoSFRotation, METH_VARARGS, (char *)"delete_SoSFRotation(SoSFRotation self)"}, - { (char *)"SoSFRotation_createInstance", _wrap_SoSFRotation_createInstance, METH_VARARGS, (char *)"SoSFRotation_createInstance() -> void"}, - { (char *)"SoSFRotation_getClassTypeId", _wrap_SoSFRotation_getClassTypeId, METH_VARARGS, (char *)"SoSFRotation_getClassTypeId() -> SoType"}, - { (char *)"SoSFRotation_getTypeId", _wrap_SoSFRotation_getTypeId, METH_VARARGS, (char *)"SoSFRotation_getTypeId(SoSFRotation self) -> SoType"}, - { (char *)"SoSFRotation_copyFrom", _wrap_SoSFRotation_copyFrom, METH_VARARGS, (char *)"SoSFRotation_copyFrom(SoSFRotation self, SoField field)"}, - { (char *)"SoSFRotation_isSame", _wrap_SoSFRotation_isSame, METH_VARARGS, (char *)"SoSFRotation_isSame(SoSFRotation self, SoField field) -> SbBool"}, - { (char *)"SoSFRotation___eq__", _wrap_SoSFRotation___eq__, METH_VARARGS, (char *)"SoSFRotation___eq__(SoSFRotation self, SoSFRotation field) -> int"}, - { (char *)"SoSFRotation___ne__", _wrap_SoSFRotation___ne__, METH_VARARGS, (char *)"SoSFRotation___ne__(SoSFRotation self, SoSFRotation field) -> int"}, - { (char *)"SoSFRotation_initClass", _wrap_SoSFRotation_initClass, METH_VARARGS, (char *)"SoSFRotation_initClass()"}, - { (char *)"SoSFRotation_getValue", _wrap_SoSFRotation_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbRotation\n" - "SoSFRotation_getValue(SoSFRotation self, SbVec3f axis, float angle)\n" - ""}, - { (char *)"SoSFRotation_setValue", _wrap_SoSFRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbRotation newvalue)\n" - "setValue(float q0, float q1, float q2, float q3)\n" - "setValue(float q)\n" - "setValue(SbVec3f axis, float angle)\n" - "SoSFRotation_setValue(SoSFRotation self, SoSFRotation other)\n" - ""}, - { (char *)"SoSFRotation_swigregister", SoSFRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCenterballDragger_getClassTypeId", _wrap_SoCenterballDragger_getClassTypeId, METH_VARARGS, (char *)"SoCenterballDragger_getClassTypeId() -> SoType"}, - { (char *)"SoCenterballDragger_getTypeId", _wrap_SoCenterballDragger_getTypeId, METH_VARARGS, (char *)"SoCenterballDragger_getTypeId(SoCenterballDragger self) -> SoType"}, - { (char *)"SoCenterballDragger_getClassNodekitCatalog", _wrap_SoCenterballDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoCenterballDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoCenterballDragger_getNodekitCatalog", _wrap_SoCenterballDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoCenterballDragger_getNodekitCatalog(SoCenterballDragger self) -> SoNodekitCatalog"}, - { (char *)"SoCenterballDragger_initClass", _wrap_SoCenterballDragger_initClass, METH_VARARGS, (char *)"SoCenterballDragger_initClass()"}, - { (char *)"new_SoCenterballDragger", _wrap_new_SoCenterballDragger, METH_VARARGS, (char *)"new_SoCenterballDragger() -> SoCenterballDragger"}, - { (char *)"SoCenterballDragger_saveStartParameters", _wrap_SoCenterballDragger_saveStartParameters, METH_VARARGS, (char *)"SoCenterballDragger_saveStartParameters(SoCenterballDragger self)"}, - { (char *)"SoCenterballDragger_rotation_set", _wrap_SoCenterballDragger_rotation_set, METH_VARARGS, (char *)"SoCenterballDragger_rotation_set(SoCenterballDragger self, SoSFRotation rotation)"}, - { (char *)"SoCenterballDragger_rotation_get", _wrap_SoCenterballDragger_rotation_get, METH_VARARGS, (char *)"SoCenterballDragger_rotation_get(SoCenterballDragger self) -> SoSFRotation"}, - { (char *)"SoCenterballDragger_center_set", _wrap_SoCenterballDragger_center_set, METH_VARARGS, (char *)"SoCenterballDragger_center_set(SoCenterballDragger self, SoSFVec3f center)"}, - { (char *)"SoCenterballDragger_center_get", _wrap_SoCenterballDragger_center_get, METH_VARARGS, (char *)"SoCenterballDragger_center_get(SoCenterballDragger self) -> SoSFVec3f"}, - { (char *)"SoCenterballDragger_swigregister", SoCenterballDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLightDragger_getClassTypeId", _wrap_SoDirectionalLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLightDragger_getTypeId", _wrap_SoDirectionalLightDragger_getTypeId, METH_VARARGS, (char *)"SoDirectionalLightDragger_getTypeId(SoDirectionalLightDragger self) -> SoType"}, - { (char *)"SoDirectionalLightDragger_getClassNodekitCatalog", _wrap_SoDirectionalLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDirectionalLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDirectionalLightDragger_getNodekitCatalog", _wrap_SoDirectionalLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDirectionalLightDragger_getNodekitCatalog(SoDirectionalLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDirectionalLightDragger_initClass", _wrap_SoDirectionalLightDragger_initClass, METH_VARARGS, (char *)"SoDirectionalLightDragger_initClass()"}, - { (char *)"new_SoDirectionalLightDragger", _wrap_new_SoDirectionalLightDragger, METH_VARARGS, (char *)"new_SoDirectionalLightDragger() -> SoDirectionalLightDragger"}, - { (char *)"SoDirectionalLightDragger_rotation_set", _wrap_SoDirectionalLightDragger_rotation_set, METH_VARARGS, (char *)"SoDirectionalLightDragger_rotation_set(SoDirectionalLightDragger self, SoSFRotation rotation)"}, - { (char *)"SoDirectionalLightDragger_rotation_get", _wrap_SoDirectionalLightDragger_rotation_get, METH_VARARGS, (char *)"SoDirectionalLightDragger_rotation_get(SoDirectionalLightDragger self) -> SoSFRotation"}, - { (char *)"SoDirectionalLightDragger_translation_set", _wrap_SoDirectionalLightDragger_translation_set, METH_VARARGS, (char *)"SoDirectionalLightDragger_translation_set(SoDirectionalLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoDirectionalLightDragger_translation_get", _wrap_SoDirectionalLightDragger_translation_get, METH_VARARGS, (char *)"SoDirectionalLightDragger_translation_get(SoDirectionalLightDragger self) -> SoSFVec3f"}, - { (char *)"SoDirectionalLightDragger_swigregister", SoDirectionalLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDragPointDragger_getClassTypeId", _wrap_SoDragPointDragger_getClassTypeId, METH_VARARGS, (char *)"SoDragPointDragger_getClassTypeId() -> SoType"}, - { (char *)"SoDragPointDragger_getTypeId", _wrap_SoDragPointDragger_getTypeId, METH_VARARGS, (char *)"SoDragPointDragger_getTypeId(SoDragPointDragger self) -> SoType"}, - { (char *)"SoDragPointDragger_getClassNodekitCatalog", _wrap_SoDragPointDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoDragPointDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoDragPointDragger_getNodekitCatalog", _wrap_SoDragPointDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoDragPointDragger_getNodekitCatalog(SoDragPointDragger self) -> SoNodekitCatalog"}, - { (char *)"SoDragPointDragger_initClass", _wrap_SoDragPointDragger_initClass, METH_VARARGS, (char *)"SoDragPointDragger_initClass()"}, - { (char *)"new_SoDragPointDragger", _wrap_new_SoDragPointDragger, METH_VARARGS, (char *)"new_SoDragPointDragger() -> SoDragPointDragger"}, - { (char *)"SoDragPointDragger_setJumpLimit", _wrap_SoDragPointDragger_setJumpLimit, METH_VARARGS, (char *)"SoDragPointDragger_setJumpLimit(SoDragPointDragger self, float limit)"}, - { (char *)"SoDragPointDragger_getJumpLimit", _wrap_SoDragPointDragger_getJumpLimit, METH_VARARGS, (char *)"SoDragPointDragger_getJumpLimit(SoDragPointDragger self) -> float"}, - { (char *)"SoDragPointDragger_showNextDraggerSet", _wrap_SoDragPointDragger_showNextDraggerSet, METH_VARARGS, (char *)"SoDragPointDragger_showNextDraggerSet(SoDragPointDragger self)"}, - { (char *)"SoDragPointDragger_translation_set", _wrap_SoDragPointDragger_translation_set, METH_VARARGS, (char *)"SoDragPointDragger_translation_set(SoDragPointDragger self, SoSFVec3f translation)"}, - { (char *)"SoDragPointDragger_translation_get", _wrap_SoDragPointDragger_translation_get, METH_VARARGS, (char *)"SoDragPointDragger_translation_get(SoDragPointDragger self) -> SoSFVec3f"}, - { (char *)"SoDragPointDragger_swigregister", SoDragPointDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleBoxDragger_getClassTypeId", _wrap_SoHandleBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoHandleBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoHandleBoxDragger_getTypeId", _wrap_SoHandleBoxDragger_getTypeId, METH_VARARGS, (char *)"SoHandleBoxDragger_getTypeId(SoHandleBoxDragger self) -> SoType"}, - { (char *)"SoHandleBoxDragger_getClassNodekitCatalog", _wrap_SoHandleBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoHandleBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoHandleBoxDragger_getNodekitCatalog", _wrap_SoHandleBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoHandleBoxDragger_getNodekitCatalog(SoHandleBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoHandleBoxDragger_initClass", _wrap_SoHandleBoxDragger_initClass, METH_VARARGS, (char *)"SoHandleBoxDragger_initClass()"}, - { (char *)"new_SoHandleBoxDragger", _wrap_new_SoHandleBoxDragger, METH_VARARGS, (char *)"new_SoHandleBoxDragger() -> SoHandleBoxDragger"}, - { (char *)"SoHandleBoxDragger_scaleFactor_set", _wrap_SoHandleBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoHandleBoxDragger_scaleFactor_set(SoHandleBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoHandleBoxDragger_scaleFactor_get", _wrap_SoHandleBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoHandleBoxDragger_scaleFactor_get(SoHandleBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoHandleBoxDragger_translation_set", _wrap_SoHandleBoxDragger_translation_set, METH_VARARGS, (char *)"SoHandleBoxDragger_translation_set(SoHandleBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoHandleBoxDragger_translation_get", _wrap_SoHandleBoxDragger_translation_get, METH_VARARGS, (char *)"SoHandleBoxDragger_translation_get(SoHandleBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoHandleBoxDragger_swigregister", SoHandleBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoJackDragger_getClassTypeId", _wrap_SoJackDragger_getClassTypeId, METH_VARARGS, (char *)"SoJackDragger_getClassTypeId() -> SoType"}, - { (char *)"SoJackDragger_getTypeId", _wrap_SoJackDragger_getTypeId, METH_VARARGS, (char *)"SoJackDragger_getTypeId(SoJackDragger self) -> SoType"}, - { (char *)"SoJackDragger_getClassNodekitCatalog", _wrap_SoJackDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoJackDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoJackDragger_getNodekitCatalog", _wrap_SoJackDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoJackDragger_getNodekitCatalog(SoJackDragger self) -> SoNodekitCatalog"}, - { (char *)"SoJackDragger_initClass", _wrap_SoJackDragger_initClass, METH_VARARGS, (char *)"SoJackDragger_initClass()"}, - { (char *)"new_SoJackDragger", _wrap_new_SoJackDragger, METH_VARARGS, (char *)"new_SoJackDragger() -> SoJackDragger"}, - { (char *)"SoJackDragger_rotation_set", _wrap_SoJackDragger_rotation_set, METH_VARARGS, (char *)"SoJackDragger_rotation_set(SoJackDragger self, SoSFRotation rotation)"}, - { (char *)"SoJackDragger_rotation_get", _wrap_SoJackDragger_rotation_get, METH_VARARGS, (char *)"SoJackDragger_rotation_get(SoJackDragger self) -> SoSFRotation"}, - { (char *)"SoJackDragger_translation_set", _wrap_SoJackDragger_translation_set, METH_VARARGS, (char *)"SoJackDragger_translation_set(SoJackDragger self, SoSFVec3f translation)"}, - { (char *)"SoJackDragger_translation_get", _wrap_SoJackDragger_translation_get, METH_VARARGS, (char *)"SoJackDragger_translation_get(SoJackDragger self) -> SoSFVec3f"}, - { (char *)"SoJackDragger_scaleFactor_set", _wrap_SoJackDragger_scaleFactor_set, METH_VARARGS, (char *)"SoJackDragger_scaleFactor_set(SoJackDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoJackDragger_scaleFactor_get", _wrap_SoJackDragger_scaleFactor_get, METH_VARARGS, (char *)"SoJackDragger_scaleFactor_get(SoJackDragger self) -> SoSFVec3f"}, - { (char *)"SoJackDragger_swigregister", SoJackDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLightDragger_getClassTypeId", _wrap_SoPointLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoPointLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoPointLightDragger_getTypeId", _wrap_SoPointLightDragger_getTypeId, METH_VARARGS, (char *)"SoPointLightDragger_getTypeId(SoPointLightDragger self) -> SoType"}, - { (char *)"SoPointLightDragger_getClassNodekitCatalog", _wrap_SoPointLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoPointLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoPointLightDragger_getNodekitCatalog", _wrap_SoPointLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoPointLightDragger_getNodekitCatalog(SoPointLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoPointLightDragger_initClass", _wrap_SoPointLightDragger_initClass, METH_VARARGS, (char *)"SoPointLightDragger_initClass()"}, - { (char *)"new_SoPointLightDragger", _wrap_new_SoPointLightDragger, METH_VARARGS, (char *)"new_SoPointLightDragger() -> SoPointLightDragger"}, - { (char *)"SoPointLightDragger_translation_set", _wrap_SoPointLightDragger_translation_set, METH_VARARGS, (char *)"SoPointLightDragger_translation_set(SoPointLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoPointLightDragger_translation_get", _wrap_SoPointLightDragger_translation_get, METH_VARARGS, (char *)"SoPointLightDragger_translation_get(SoPointLightDragger self) -> SoSFVec3f"}, - { (char *)"SoPointLightDragger_swigregister", SoPointLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateCylindricalDragger_getClassTypeId", _wrap_SoRotateCylindricalDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateCylindricalDragger_getTypeId", _wrap_SoRotateCylindricalDragger_getTypeId, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getTypeId(SoRotateCylindricalDragger self) -> SoType"}, - { (char *)"SoRotateCylindricalDragger_getClassNodekitCatalog", _wrap_SoRotateCylindricalDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateCylindricalDragger_getNodekitCatalog", _wrap_SoRotateCylindricalDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getNodekitCatalog(SoRotateCylindricalDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateCylindricalDragger_initClass", _wrap_SoRotateCylindricalDragger_initClass, METH_VARARGS, (char *)"SoRotateCylindricalDragger_initClass()"}, - { (char *)"new_SoRotateCylindricalDragger", _wrap_new_SoRotateCylindricalDragger, METH_VARARGS, (char *)"new_SoRotateCylindricalDragger() -> SoRotateCylindricalDragger"}, - { (char *)"SoRotateCylindricalDragger_rotation_set", _wrap_SoRotateCylindricalDragger_rotation_set, METH_VARARGS, (char *)"SoRotateCylindricalDragger_rotation_set(SoRotateCylindricalDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateCylindricalDragger_rotation_get", _wrap_SoRotateCylindricalDragger_rotation_get, METH_VARARGS, (char *)"SoRotateCylindricalDragger_rotation_get(SoRotateCylindricalDragger self) -> SoSFRotation"}, - { (char *)"SoRotateCylindricalDragger_setProjector", _wrap_SoRotateCylindricalDragger_setProjector, METH_VARARGS, (char *)"SoRotateCylindricalDragger_setProjector(SoRotateCylindricalDragger self, SbCylinderProjector p)"}, - { (char *)"SoRotateCylindricalDragger_getProjector", _wrap_SoRotateCylindricalDragger_getProjector, METH_VARARGS, (char *)"SoRotateCylindricalDragger_getProjector(SoRotateCylindricalDragger self) -> SbCylinderProjector"}, - { (char *)"SoRotateCylindricalDragger_swigregister", SoRotateCylindricalDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateDiscDragger_getClassTypeId", _wrap_SoRotateDiscDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateDiscDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateDiscDragger_getTypeId", _wrap_SoRotateDiscDragger_getTypeId, METH_VARARGS, (char *)"SoRotateDiscDragger_getTypeId(SoRotateDiscDragger self) -> SoType"}, - { (char *)"SoRotateDiscDragger_getClassNodekitCatalog", _wrap_SoRotateDiscDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateDiscDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateDiscDragger_getNodekitCatalog", _wrap_SoRotateDiscDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateDiscDragger_getNodekitCatalog(SoRotateDiscDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateDiscDragger_initClass", _wrap_SoRotateDiscDragger_initClass, METH_VARARGS, (char *)"SoRotateDiscDragger_initClass()"}, - { (char *)"new_SoRotateDiscDragger", _wrap_new_SoRotateDiscDragger, METH_VARARGS, (char *)"new_SoRotateDiscDragger() -> SoRotateDiscDragger"}, - { (char *)"SoRotateDiscDragger_rotation_set", _wrap_SoRotateDiscDragger_rotation_set, METH_VARARGS, (char *)"SoRotateDiscDragger_rotation_set(SoRotateDiscDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateDiscDragger_rotation_get", _wrap_SoRotateDiscDragger_rotation_get, METH_VARARGS, (char *)"SoRotateDiscDragger_rotation_get(SoRotateDiscDragger self) -> SoSFRotation"}, - { (char *)"SoRotateDiscDragger_swigregister", SoRotateDiscDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotateSphericalDragger_getClassTypeId", _wrap_SoRotateSphericalDragger_getClassTypeId, METH_VARARGS, (char *)"SoRotateSphericalDragger_getClassTypeId() -> SoType"}, - { (char *)"SoRotateSphericalDragger_getTypeId", _wrap_SoRotateSphericalDragger_getTypeId, METH_VARARGS, (char *)"SoRotateSphericalDragger_getTypeId(SoRotateSphericalDragger self) -> SoType"}, - { (char *)"SoRotateSphericalDragger_getClassNodekitCatalog", _wrap_SoRotateSphericalDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoRotateSphericalDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoRotateSphericalDragger_getNodekitCatalog", _wrap_SoRotateSphericalDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoRotateSphericalDragger_getNodekitCatalog(SoRotateSphericalDragger self) -> SoNodekitCatalog"}, - { (char *)"SoRotateSphericalDragger_initClass", _wrap_SoRotateSphericalDragger_initClass, METH_VARARGS, (char *)"SoRotateSphericalDragger_initClass()"}, - { (char *)"new_SoRotateSphericalDragger", _wrap_new_SoRotateSphericalDragger, METH_VARARGS, (char *)"new_SoRotateSphericalDragger() -> SoRotateSphericalDragger"}, - { (char *)"SoRotateSphericalDragger_rotation_set", _wrap_SoRotateSphericalDragger_rotation_set, METH_VARARGS, (char *)"SoRotateSphericalDragger_rotation_set(SoRotateSphericalDragger self, SoSFRotation rotation)"}, - { (char *)"SoRotateSphericalDragger_rotation_get", _wrap_SoRotateSphericalDragger_rotation_get, METH_VARARGS, (char *)"SoRotateSphericalDragger_rotation_get(SoRotateSphericalDragger self) -> SoSFRotation"}, - { (char *)"SoRotateSphericalDragger_setProjector", _wrap_SoRotateSphericalDragger_setProjector, METH_VARARGS, (char *)"SoRotateSphericalDragger_setProjector(SoRotateSphericalDragger self, SbSphereProjector p)"}, - { (char *)"SoRotateSphericalDragger_getProjector", _wrap_SoRotateSphericalDragger_getProjector, METH_VARARGS, (char *)"SoRotateSphericalDragger_getProjector(SoRotateSphericalDragger self) -> SbSphereProjector"}, - { (char *)"SoRotateSphericalDragger_swigregister", SoRotateSphericalDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale1Dragger_getClassTypeId", _wrap_SoScale1Dragger_getClassTypeId, METH_VARARGS, (char *)"SoScale1Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale1Dragger_getTypeId", _wrap_SoScale1Dragger_getTypeId, METH_VARARGS, (char *)"SoScale1Dragger_getTypeId(SoScale1Dragger self) -> SoType"}, - { (char *)"SoScale1Dragger_getClassNodekitCatalog", _wrap_SoScale1Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale1Dragger_getNodekitCatalog", _wrap_SoScale1Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale1Dragger_getNodekitCatalog(SoScale1Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale1Dragger_initClass", _wrap_SoScale1Dragger_initClass, METH_VARARGS, (char *)"SoScale1Dragger_initClass()"}, - { (char *)"new_SoScale1Dragger", _wrap_new_SoScale1Dragger, METH_VARARGS, (char *)"new_SoScale1Dragger() -> SoScale1Dragger"}, - { (char *)"SoScale1Dragger_scaleFactor_set", _wrap_SoScale1Dragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale1Dragger_scaleFactor_set(SoScale1Dragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale1Dragger_scaleFactor_get", _wrap_SoScale1Dragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale1Dragger_scaleFactor_get(SoScale1Dragger self) -> SoSFVec3f"}, - { (char *)"SoScale1Dragger_swigregister", SoScale1Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale2Dragger_getClassTypeId", _wrap_SoScale2Dragger_getClassTypeId, METH_VARARGS, (char *)"SoScale2Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale2Dragger_getTypeId", _wrap_SoScale2Dragger_getTypeId, METH_VARARGS, (char *)"SoScale2Dragger_getTypeId(SoScale2Dragger self) -> SoType"}, - { (char *)"SoScale2Dragger_getClassNodekitCatalog", _wrap_SoScale2Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale2Dragger_getNodekitCatalog", _wrap_SoScale2Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale2Dragger_getNodekitCatalog(SoScale2Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale2Dragger_initClass", _wrap_SoScale2Dragger_initClass, METH_VARARGS, (char *)"SoScale2Dragger_initClass()"}, - { (char *)"new_SoScale2Dragger", _wrap_new_SoScale2Dragger, METH_VARARGS, (char *)"new_SoScale2Dragger() -> SoScale2Dragger"}, - { (char *)"SoScale2Dragger_scaleFactor_set", _wrap_SoScale2Dragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale2Dragger_scaleFactor_set(SoScale2Dragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale2Dragger_scaleFactor_get", _wrap_SoScale2Dragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale2Dragger_scaleFactor_get(SoScale2Dragger self) -> SoSFVec3f"}, - { (char *)"SoScale2Dragger_swigregister", SoScale2Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScale2UniformDragger_getClassTypeId", _wrap_SoScale2UniformDragger_getClassTypeId, METH_VARARGS, (char *)"SoScale2UniformDragger_getClassTypeId() -> SoType"}, - { (char *)"SoScale2UniformDragger_getTypeId", _wrap_SoScale2UniformDragger_getTypeId, METH_VARARGS, (char *)"SoScale2UniformDragger_getTypeId(SoScale2UniformDragger self) -> SoType"}, - { (char *)"SoScale2UniformDragger_getClassNodekitCatalog", _wrap_SoScale2UniformDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScale2UniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScale2UniformDragger_getNodekitCatalog", _wrap_SoScale2UniformDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScale2UniformDragger_getNodekitCatalog(SoScale2UniformDragger self) -> SoNodekitCatalog"}, - { (char *)"SoScale2UniformDragger_initClass", _wrap_SoScale2UniformDragger_initClass, METH_VARARGS, (char *)"SoScale2UniformDragger_initClass()"}, - { (char *)"new_SoScale2UniformDragger", _wrap_new_SoScale2UniformDragger, METH_VARARGS, (char *)"new_SoScale2UniformDragger() -> SoScale2UniformDragger"}, - { (char *)"SoScale2UniformDragger_scaleFactor_set", _wrap_SoScale2UniformDragger_scaleFactor_set, METH_VARARGS, (char *)"SoScale2UniformDragger_scaleFactor_set(SoScale2UniformDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScale2UniformDragger_scaleFactor_get", _wrap_SoScale2UniformDragger_scaleFactor_get, METH_VARARGS, (char *)"SoScale2UniformDragger_scaleFactor_get(SoScale2UniformDragger self) -> SoSFVec3f"}, - { (char *)"SoScale2UniformDragger_swigregister", SoScale2UniformDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoScaleUniformDragger_getClassTypeId", _wrap_SoScaleUniformDragger_getClassTypeId, METH_VARARGS, (char *)"SoScaleUniformDragger_getClassTypeId() -> SoType"}, - { (char *)"SoScaleUniformDragger_getTypeId", _wrap_SoScaleUniformDragger_getTypeId, METH_VARARGS, (char *)"SoScaleUniformDragger_getTypeId(SoScaleUniformDragger self) -> SoType"}, - { (char *)"SoScaleUniformDragger_getClassNodekitCatalog", _wrap_SoScaleUniformDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoScaleUniformDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoScaleUniformDragger_getNodekitCatalog", _wrap_SoScaleUniformDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoScaleUniformDragger_getNodekitCatalog(SoScaleUniformDragger self) -> SoNodekitCatalog"}, - { (char *)"SoScaleUniformDragger_initClass", _wrap_SoScaleUniformDragger_initClass, METH_VARARGS, (char *)"SoScaleUniformDragger_initClass()"}, - { (char *)"new_SoScaleUniformDragger", _wrap_new_SoScaleUniformDragger, METH_VARARGS, (char *)"new_SoScaleUniformDragger() -> SoScaleUniformDragger"}, - { (char *)"SoScaleUniformDragger_scaleFactor_set", _wrap_SoScaleUniformDragger_scaleFactor_set, METH_VARARGS, (char *)"SoScaleUniformDragger_scaleFactor_set(SoScaleUniformDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoScaleUniformDragger_scaleFactor_get", _wrap_SoScaleUniformDragger_scaleFactor_get, METH_VARARGS, (char *)"SoScaleUniformDragger_scaleFactor_get(SoScaleUniformDragger self) -> SoSFVec3f"}, - { (char *)"SoScaleUniformDragger_swigregister", SoScaleUniformDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLightDragger_getClassTypeId", _wrap_SoSpotLightDragger_getClassTypeId, METH_VARARGS, (char *)"SoSpotLightDragger_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLightDragger_getTypeId", _wrap_SoSpotLightDragger_getTypeId, METH_VARARGS, (char *)"SoSpotLightDragger_getTypeId(SoSpotLightDragger self) -> SoType"}, - { (char *)"SoSpotLightDragger_getClassNodekitCatalog", _wrap_SoSpotLightDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSpotLightDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSpotLightDragger_getNodekitCatalog", _wrap_SoSpotLightDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoSpotLightDragger_getNodekitCatalog(SoSpotLightDragger self) -> SoNodekitCatalog"}, - { (char *)"SoSpotLightDragger_initClass", _wrap_SoSpotLightDragger_initClass, METH_VARARGS, (char *)"SoSpotLightDragger_initClass()"}, - { (char *)"new_SoSpotLightDragger", _wrap_new_SoSpotLightDragger, METH_VARARGS, (char *)"new_SoSpotLightDragger() -> SoSpotLightDragger"}, - { (char *)"SoSpotLightDragger_rotation_set", _wrap_SoSpotLightDragger_rotation_set, METH_VARARGS, (char *)"SoSpotLightDragger_rotation_set(SoSpotLightDragger self, SoSFRotation rotation)"}, - { (char *)"SoSpotLightDragger_rotation_get", _wrap_SoSpotLightDragger_rotation_get, METH_VARARGS, (char *)"SoSpotLightDragger_rotation_get(SoSpotLightDragger self) -> SoSFRotation"}, - { (char *)"SoSpotLightDragger_translation_set", _wrap_SoSpotLightDragger_translation_set, METH_VARARGS, (char *)"SoSpotLightDragger_translation_set(SoSpotLightDragger self, SoSFVec3f translation)"}, - { (char *)"SoSpotLightDragger_translation_get", _wrap_SoSpotLightDragger_translation_get, METH_VARARGS, (char *)"SoSpotLightDragger_translation_get(SoSpotLightDragger self) -> SoSFVec3f"}, - { (char *)"SoSpotLightDragger_angle_set", _wrap_SoSpotLightDragger_angle_set, METH_VARARGS, (char *)"SoSpotLightDragger_angle_set(SoSpotLightDragger self, SoSFFloat angle)"}, - { (char *)"SoSpotLightDragger_angle_get", _wrap_SoSpotLightDragger_angle_get, METH_VARARGS, (char *)"SoSpotLightDragger_angle_get(SoSpotLightDragger self) -> SoSFFloat"}, - { (char *)"SoSpotLightDragger_swigregister", SoSpotLightDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabBoxDragger_getClassTypeId", _wrap_SoTabBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoTabBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTabBoxDragger_getTypeId", _wrap_SoTabBoxDragger_getTypeId, METH_VARARGS, (char *)"SoTabBoxDragger_getTypeId(SoTabBoxDragger self) -> SoType"}, - { (char *)"SoTabBoxDragger_getClassNodekitCatalog", _wrap_SoTabBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTabBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTabBoxDragger_getNodekitCatalog", _wrap_SoTabBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTabBoxDragger_getNodekitCatalog(SoTabBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTabBoxDragger_initClass", _wrap_SoTabBoxDragger_initClass, METH_VARARGS, (char *)"SoTabBoxDragger_initClass()"}, - { (char *)"new_SoTabBoxDragger", _wrap_new_SoTabBoxDragger, METH_VARARGS, (char *)"new_SoTabBoxDragger() -> SoTabBoxDragger"}, - { (char *)"SoTabBoxDragger_translation_set", _wrap_SoTabBoxDragger_translation_set, METH_VARARGS, (char *)"SoTabBoxDragger_translation_set(SoTabBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoTabBoxDragger_translation_get", _wrap_SoTabBoxDragger_translation_get, METH_VARARGS, (char *)"SoTabBoxDragger_translation_get(SoTabBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTabBoxDragger_scaleFactor_set", _wrap_SoTabBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTabBoxDragger_scaleFactor_set(SoTabBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTabBoxDragger_scaleFactor_get", _wrap_SoTabBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTabBoxDragger_scaleFactor_get(SoTabBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTabBoxDragger_adjustScaleTabSize", _wrap_SoTabBoxDragger_adjustScaleTabSize, METH_VARARGS, (char *)"SoTabBoxDragger_adjustScaleTabSize(SoTabBoxDragger self)"}, - { (char *)"SoTabBoxDragger_swigregister", SoTabBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabPlaneDragger_getClassTypeId", _wrap_SoTabPlaneDragger_getClassTypeId, METH_VARARGS, (char *)"SoTabPlaneDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTabPlaneDragger_getTypeId", _wrap_SoTabPlaneDragger_getTypeId, METH_VARARGS, (char *)"SoTabPlaneDragger_getTypeId(SoTabPlaneDragger self) -> SoType"}, - { (char *)"SoTabPlaneDragger_getClassNodekitCatalog", _wrap_SoTabPlaneDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTabPlaneDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTabPlaneDragger_getNodekitCatalog", _wrap_SoTabPlaneDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTabPlaneDragger_getNodekitCatalog(SoTabPlaneDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTabPlaneDragger_initClass", _wrap_SoTabPlaneDragger_initClass, METH_VARARGS, (char *)"SoTabPlaneDragger_initClass()"}, - { (char *)"new_SoTabPlaneDragger", _wrap_new_SoTabPlaneDragger, METH_VARARGS, (char *)"new_SoTabPlaneDragger() -> SoTabPlaneDragger"}, - { (char *)"SoTabPlaneDragger_translation_set", _wrap_SoTabPlaneDragger_translation_set, METH_VARARGS, (char *)"SoTabPlaneDragger_translation_set(SoTabPlaneDragger self, SoSFVec3f translation)"}, - { (char *)"SoTabPlaneDragger_translation_get", _wrap_SoTabPlaneDragger_translation_get, METH_VARARGS, (char *)"SoTabPlaneDragger_translation_get(SoTabPlaneDragger self) -> SoSFVec3f"}, - { (char *)"SoTabPlaneDragger_scaleFactor_set", _wrap_SoTabPlaneDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTabPlaneDragger_scaleFactor_set(SoTabPlaneDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTabPlaneDragger_scaleFactor_get", _wrap_SoTabPlaneDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTabPlaneDragger_scaleFactor_get(SoTabPlaneDragger self) -> SoSFVec3f"}, - { (char *)"SoTabPlaneDragger_adjustScaleTabSize", _wrap_SoTabPlaneDragger_adjustScaleTabSize, METH_VARARGS, (char *)"SoTabPlaneDragger_adjustScaleTabSize(SoTabPlaneDragger self)"}, - { (char *)"SoTabPlaneDragger_swigregister", SoTabPlaneDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTrackballDragger_getClassTypeId", _wrap_SoTrackballDragger_getClassTypeId, METH_VARARGS, (char *)"SoTrackballDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTrackballDragger_getTypeId", _wrap_SoTrackballDragger_getTypeId, METH_VARARGS, (char *)"SoTrackballDragger_getTypeId(SoTrackballDragger self) -> SoType"}, - { (char *)"SoTrackballDragger_getClassNodekitCatalog", _wrap_SoTrackballDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTrackballDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTrackballDragger_getNodekitCatalog", _wrap_SoTrackballDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTrackballDragger_getNodekitCatalog(SoTrackballDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTrackballDragger_initClass", _wrap_SoTrackballDragger_initClass, METH_VARARGS, (char *)"SoTrackballDragger_initClass()"}, - { (char *)"new_SoTrackballDragger", _wrap_new_SoTrackballDragger, METH_VARARGS, (char *)"new_SoTrackballDragger() -> SoTrackballDragger"}, - { (char *)"SoTrackballDragger_rotation_set", _wrap_SoTrackballDragger_rotation_set, METH_VARARGS, (char *)"SoTrackballDragger_rotation_set(SoTrackballDragger self, SoSFRotation rotation)"}, - { (char *)"SoTrackballDragger_rotation_get", _wrap_SoTrackballDragger_rotation_get, METH_VARARGS, (char *)"SoTrackballDragger_rotation_get(SoTrackballDragger self) -> SoSFRotation"}, - { (char *)"SoTrackballDragger_scaleFactor_set", _wrap_SoTrackballDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTrackballDragger_scaleFactor_set(SoTrackballDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTrackballDragger_scaleFactor_get", _wrap_SoTrackballDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTrackballDragger_scaleFactor_get(SoTrackballDragger self) -> SoSFVec3f"}, - { (char *)"SoTrackballDragger_isAnimationEnabled", _wrap_SoTrackballDragger_isAnimationEnabled, METH_VARARGS, (char *)"SoTrackballDragger_isAnimationEnabled(SoTrackballDragger self) -> SbBool"}, - { (char *)"SoTrackballDragger_setAnimationEnabled", _wrap_SoTrackballDragger_setAnimationEnabled, METH_VARARGS, (char *)"SoTrackballDragger_setAnimationEnabled(SoTrackballDragger self, SbBool newval)"}, - { (char *)"SoTrackballDragger_swigregister", SoTrackballDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformBoxDragger_getClassTypeId", _wrap_SoTransformBoxDragger_getClassTypeId, METH_VARARGS, (char *)"SoTransformBoxDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTransformBoxDragger_getTypeId", _wrap_SoTransformBoxDragger_getTypeId, METH_VARARGS, (char *)"SoTransformBoxDragger_getTypeId(SoTransformBoxDragger self) -> SoType"}, - { (char *)"SoTransformBoxDragger_getClassNodekitCatalog", _wrap_SoTransformBoxDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTransformBoxDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTransformBoxDragger_getNodekitCatalog", _wrap_SoTransformBoxDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTransformBoxDragger_getNodekitCatalog(SoTransformBoxDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTransformBoxDragger_initClass", _wrap_SoTransformBoxDragger_initClass, METH_VARARGS, (char *)"SoTransformBoxDragger_initClass()"}, - { (char *)"new_SoTransformBoxDragger", _wrap_new_SoTransformBoxDragger, METH_VARARGS, (char *)"new_SoTransformBoxDragger() -> SoTransformBoxDragger"}, - { (char *)"SoTransformBoxDragger_rotation_set", _wrap_SoTransformBoxDragger_rotation_set, METH_VARARGS, (char *)"SoTransformBoxDragger_rotation_set(SoTransformBoxDragger self, SoSFRotation rotation)"}, - { (char *)"SoTransformBoxDragger_rotation_get", _wrap_SoTransformBoxDragger_rotation_get, METH_VARARGS, (char *)"SoTransformBoxDragger_rotation_get(SoTransformBoxDragger self) -> SoSFRotation"}, - { (char *)"SoTransformBoxDragger_translation_set", _wrap_SoTransformBoxDragger_translation_set, METH_VARARGS, (char *)"SoTransformBoxDragger_translation_set(SoTransformBoxDragger self, SoSFVec3f translation)"}, - { (char *)"SoTransformBoxDragger_translation_get", _wrap_SoTransformBoxDragger_translation_get, METH_VARARGS, (char *)"SoTransformBoxDragger_translation_get(SoTransformBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformBoxDragger_scaleFactor_set", _wrap_SoTransformBoxDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTransformBoxDragger_scaleFactor_set(SoTransformBoxDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransformBoxDragger_scaleFactor_get", _wrap_SoTransformBoxDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTransformBoxDragger_scaleFactor_get(SoTransformBoxDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformBoxDragger_swigregister", SoTransformBoxDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformerDragger_getClassTypeId", _wrap_SoTransformerDragger_getClassTypeId, METH_VARARGS, (char *)"SoTransformerDragger_getClassTypeId() -> SoType"}, - { (char *)"SoTransformerDragger_getTypeId", _wrap_SoTransformerDragger_getTypeId, METH_VARARGS, (char *)"SoTransformerDragger_getTypeId(SoTransformerDragger self) -> SoType"}, - { (char *)"SoTransformerDragger_getClassNodekitCatalog", _wrap_SoTransformerDragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTransformerDragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTransformerDragger_getNodekitCatalog", _wrap_SoTransformerDragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTransformerDragger_getNodekitCatalog(SoTransformerDragger self) -> SoNodekitCatalog"}, - { (char *)"SoTransformerDragger_initClass", _wrap_SoTransformerDragger_initClass, METH_VARARGS, (char *)"SoTransformerDragger_initClass()"}, - { (char *)"new_SoTransformerDragger", _wrap_new_SoTransformerDragger, METH_VARARGS, (char *)"new_SoTransformerDragger() -> SoTransformerDragger"}, - { (char *)"SoTransformerDragger_rotation_set", _wrap_SoTransformerDragger_rotation_set, METH_VARARGS, (char *)"SoTransformerDragger_rotation_set(SoTransformerDragger self, SoSFRotation rotation)"}, - { (char *)"SoTransformerDragger_rotation_get", _wrap_SoTransformerDragger_rotation_get, METH_VARARGS, (char *)"SoTransformerDragger_rotation_get(SoTransformerDragger self) -> SoSFRotation"}, - { (char *)"SoTransformerDragger_translation_set", _wrap_SoTransformerDragger_translation_set, METH_VARARGS, (char *)"SoTransformerDragger_translation_set(SoTransformerDragger self, SoSFVec3f translation)"}, - { (char *)"SoTransformerDragger_translation_get", _wrap_SoTransformerDragger_translation_get, METH_VARARGS, (char *)"SoTransformerDragger_translation_get(SoTransformerDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformerDragger_scaleFactor_set", _wrap_SoTransformerDragger_scaleFactor_set, METH_VARARGS, (char *)"SoTransformerDragger_scaleFactor_set(SoTransformerDragger self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransformerDragger_scaleFactor_get", _wrap_SoTransformerDragger_scaleFactor_get, METH_VARARGS, (char *)"SoTransformerDragger_scaleFactor_get(SoTransformerDragger self) -> SoSFVec3f"}, - { (char *)"SoTransformerDragger_minDiscRotDot_set", _wrap_SoTransformerDragger_minDiscRotDot_set, METH_VARARGS, (char *)"SoTransformerDragger_minDiscRotDot_set(SoTransformerDragger self, SoSFFloat minDiscRotDot)"}, - { (char *)"SoTransformerDragger_minDiscRotDot_get", _wrap_SoTransformerDragger_minDiscRotDot_get, METH_VARARGS, (char *)"SoTransformerDragger_minDiscRotDot_get(SoTransformerDragger self) -> SoSFFloat"}, - { (char *)"SoTransformerDragger_getCurrentState", _wrap_SoTransformerDragger_getCurrentState, METH_VARARGS, (char *)"SoTransformerDragger_getCurrentState(SoTransformerDragger self) -> State"}, - { (char *)"SoTransformerDragger_unsquishKnobs", _wrap_SoTransformerDragger_unsquishKnobs, METH_VARARGS, (char *)"SoTransformerDragger_unsquishKnobs(SoTransformerDragger self)"}, - { (char *)"SoTransformerDragger_isLocateHighlighting", _wrap_SoTransformerDragger_isLocateHighlighting, METH_VARARGS, (char *)"SoTransformerDragger_isLocateHighlighting(SoTransformerDragger self) -> SbBool"}, - { (char *)"SoTransformerDragger_setLocateHighlighting", _wrap_SoTransformerDragger_setLocateHighlighting, METH_VARARGS, (char *)"SoTransformerDragger_setLocateHighlighting(SoTransformerDragger self, SbBool onoff)"}, - { (char *)"SoTransformerDragger_setColinearThreshold", _wrap_SoTransformerDragger_setColinearThreshold, METH_VARARGS, (char *)"SoTransformerDragger_setColinearThreshold(int newval)"}, - { (char *)"SoTransformerDragger_getColinearThreshold", _wrap_SoTransformerDragger_getColinearThreshold, METH_VARARGS, (char *)"SoTransformerDragger_getColinearThreshold() -> int"}, - { (char *)"SoTransformerDragger_getBoxPointInWorldSpace", _wrap_SoTransformerDragger_getBoxPointInWorldSpace, METH_VARARGS, (char *)"SoTransformerDragger_getBoxPointInWorldSpace(SoTransformerDragger self, SbVec3f pointonunitbox) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getBoxDirInWorldSpace", _wrap_SoTransformerDragger_getBoxDirInWorldSpace, METH_VARARGS, (char *)"SoTransformerDragger_getBoxDirInWorldSpace(SoTransformerDragger self, SbVec3f dironunitbox) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getWorldPointInBoxSpace", _wrap_SoTransformerDragger_getWorldPointInBoxSpace, METH_VARARGS, (char *)"SoTransformerDragger_getWorldPointInBoxSpace(SoTransformerDragger self, SbVec3f pointinworldspace) -> SbVec3f"}, - { (char *)"SoTransformerDragger_getWorldPointInPixelSpace", _wrap_SoTransformerDragger_getWorldPointInPixelSpace, METH_VARARGS, (char *)"SoTransformerDragger_getWorldPointInPixelSpace(SoTransformerDragger self, SbVec3f thepoint) -> SbVec2f"}, - { (char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace", _wrap_SoTransformerDragger_getInteractiveCenterInBoxSpace, METH_VARARGS, (char *)"SoTransformerDragger_getInteractiveCenterInBoxSpace(SoTransformerDragger self) -> SbVec3f"}, - { (char *)"SoTransformerDragger_swigregister", SoTransformerDragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslate1Dragger_getClassTypeId", _wrap_SoTranslate1Dragger_getClassTypeId, METH_VARARGS, (char *)"SoTranslate1Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoTranslate1Dragger_getTypeId", _wrap_SoTranslate1Dragger_getTypeId, METH_VARARGS, (char *)"SoTranslate1Dragger_getTypeId(SoTranslate1Dragger self) -> SoType"}, - { (char *)"SoTranslate1Dragger_getClassNodekitCatalog", _wrap_SoTranslate1Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTranslate1Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTranslate1Dragger_getNodekitCatalog", _wrap_SoTranslate1Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTranslate1Dragger_getNodekitCatalog(SoTranslate1Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoTranslate1Dragger_initClass", _wrap_SoTranslate1Dragger_initClass, METH_VARARGS, (char *)"SoTranslate1Dragger_initClass()"}, - { (char *)"new_SoTranslate1Dragger", _wrap_new_SoTranslate1Dragger, METH_VARARGS, (char *)"new_SoTranslate1Dragger() -> SoTranslate1Dragger"}, - { (char *)"SoTranslate1Dragger_translation_set", _wrap_SoTranslate1Dragger_translation_set, METH_VARARGS, (char *)"SoTranslate1Dragger_translation_set(SoTranslate1Dragger self, SoSFVec3f translation)"}, - { (char *)"SoTranslate1Dragger_translation_get", _wrap_SoTranslate1Dragger_translation_get, METH_VARARGS, (char *)"SoTranslate1Dragger_translation_get(SoTranslate1Dragger self) -> SoSFVec3f"}, - { (char *)"SoTranslate1Dragger_swigregister", SoTranslate1Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslate2Dragger_getClassTypeId", _wrap_SoTranslate2Dragger_getClassTypeId, METH_VARARGS, (char *)"SoTranslate2Dragger_getClassTypeId() -> SoType"}, - { (char *)"SoTranslate2Dragger_getTypeId", _wrap_SoTranslate2Dragger_getTypeId, METH_VARARGS, (char *)"SoTranslate2Dragger_getTypeId(SoTranslate2Dragger self) -> SoType"}, - { (char *)"SoTranslate2Dragger_getClassNodekitCatalog", _wrap_SoTranslate2Dragger_getClassNodekitCatalog, METH_VARARGS, (char *)"SoTranslate2Dragger_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoTranslate2Dragger_getNodekitCatalog", _wrap_SoTranslate2Dragger_getNodekitCatalog, METH_VARARGS, (char *)"SoTranslate2Dragger_getNodekitCatalog(SoTranslate2Dragger self) -> SoNodekitCatalog"}, - { (char *)"SoTranslate2Dragger_initClass", _wrap_SoTranslate2Dragger_initClass, METH_VARARGS, (char *)"SoTranslate2Dragger_initClass()"}, - { (char *)"new_SoTranslate2Dragger", _wrap_new_SoTranslate2Dragger, METH_VARARGS, (char *)"new_SoTranslate2Dragger() -> SoTranslate2Dragger"}, - { (char *)"SoTranslate2Dragger_translation_set", _wrap_SoTranslate2Dragger_translation_set, METH_VARARGS, (char *)"SoTranslate2Dragger_translation_set(SoTranslate2Dragger self, SoSFVec3f translation)"}, - { (char *)"SoTranslate2Dragger_translation_get", _wrap_SoTranslate2Dragger_translation_get, METH_VARARGS, (char *)"SoTranslate2Dragger_translation_get(SoTranslate2Dragger self) -> SoSFVec3f"}, - { (char *)"SoTranslate2Dragger_swigregister", SoTranslate2Dragger_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAccumulatedElement_getClassTypeId", _wrap_SoAccumulatedElement_getClassTypeId, METH_VARARGS, (char *)"SoAccumulatedElement_getClassTypeId() -> SoType"}, - { (char *)"SoAccumulatedElement_getClassStackIndex", _wrap_SoAccumulatedElement_getClassStackIndex, METH_VARARGS, (char *)"SoAccumulatedElement_getClassStackIndex() -> int"}, - { (char *)"SoAccumulatedElement_initClass", _wrap_SoAccumulatedElement_initClass, METH_VARARGS, (char *)"SoAccumulatedElement_initClass()"}, - { (char *)"SoAccumulatedElement_matches", _wrap_SoAccumulatedElement_matches, METH_VARARGS, (char *)"SoAccumulatedElement_matches(SoAccumulatedElement self, SoElement element) -> SbBool"}, - { (char *)"SoAccumulatedElement_swigregister", SoAccumulatedElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAmbientColorElement_getClassTypeId", _wrap_SoAmbientColorElement_getClassTypeId, METH_VARARGS, (char *)"SoAmbientColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoAmbientColorElement_getClassStackIndex", _wrap_SoAmbientColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoAmbientColorElement_getClassStackIndex() -> int"}, - { (char *)"SoAmbientColorElement_createInstance", _wrap_SoAmbientColorElement_createInstance, METH_VARARGS, (char *)"SoAmbientColorElement_createInstance() -> void"}, - { (char *)"SoAmbientColorElement_initClass", _wrap_SoAmbientColorElement_initClass, METH_VARARGS, (char *)"SoAmbientColorElement_initClass()"}, - { (char *)"SoAmbientColorElement_init", _wrap_SoAmbientColorElement_init, METH_VARARGS, (char *)"SoAmbientColorElement_init(SoAmbientColorElement self, SoState state)"}, - { (char *)"SoAmbientColorElement_set", _wrap_SoAmbientColorElement_set, METH_VARARGS, (char *)"SoAmbientColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoAmbientColorElement_getInstance", _wrap_SoAmbientColorElement_getInstance, METH_VARARGS, (char *)"SoAmbientColorElement_getInstance(SoState state) -> SoAmbientColorElement"}, - { (char *)"SoAmbientColorElement_getNum", _wrap_SoAmbientColorElement_getNum, METH_VARARGS, (char *)"SoAmbientColorElement_getNum(SoAmbientColorElement self) -> int32_t"}, - { (char *)"SoAmbientColorElement_get", _wrap_SoAmbientColorElement_get, METH_VARARGS, (char *)"SoAmbientColorElement_get(SoAmbientColorElement self, int index) -> SbColor"}, - { (char *)"SoAmbientColorElement_getArrayPtr", _wrap_SoAmbientColorElement_getArrayPtr, METH_VARARGS, (char *)"SoAmbientColorElement_getArrayPtr(SoAmbientColorElement self) -> SbColor"}, - { (char *)"SoAmbientColorElement_swigregister", SoAmbientColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3CharOrientElement_getClassTypeId", _wrap_SoAnnoText3CharOrientElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3CharOrientElement_getClassStackIndex", _wrap_SoAnnoText3CharOrientElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3CharOrientElement_createInstance", _wrap_SoAnnoText3CharOrientElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_createInstance() -> void"}, - { (char *)"SoAnnoText3CharOrientElement_initClass", _wrap_SoAnnoText3CharOrientElement_initClass, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_initClass()"}, - { (char *)"SoAnnoText3CharOrientElement_init", _wrap_SoAnnoText3CharOrientElement_init, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_init(SoAnnoText3CharOrientElement self, SoState state)"}, - { (char *)"SoAnnoText3CharOrientElement_set", _wrap_SoAnnoText3CharOrientElement_set, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_set(SoState state, SbBool isOriented)"}, - { (char *)"SoAnnoText3CharOrientElement_get", _wrap_SoAnnoText3CharOrientElement_get, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_get(SoState state) -> SbBool"}, - { (char *)"SoAnnoText3CharOrientElement_getDefault", _wrap_SoAnnoText3CharOrientElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3CharOrientElement_getDefault() -> SbBool"}, - { (char *)"SoAnnoText3CharOrientElement_swigregister", SoAnnoText3CharOrientElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3FontSizeHintElement_getClassTypeId", _wrap_SoAnnoText3FontSizeHintElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex", _wrap_SoAnnoText3FontSizeHintElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3FontSizeHintElement_createInstance", _wrap_SoAnnoText3FontSizeHintElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_createInstance() -> void"}, - { (char *)"SoAnnoText3FontSizeHintElement_initClass", _wrap_SoAnnoText3FontSizeHintElement_initClass, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_initClass()"}, - { (char *)"SoAnnoText3FontSizeHintElement_init", _wrap_SoAnnoText3FontSizeHintElement_init, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_init(SoAnnoText3FontSizeHintElement self, SoState state)"}, - { (char *)"SoAnnoText3FontSizeHintElement_get", _wrap_SoAnnoText3FontSizeHintElement_get, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_get(SoState state) -> FontSizeHint"}, - { (char *)"SoAnnoText3FontSizeHintElement_getDefault", _wrap_SoAnnoText3FontSizeHintElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3FontSizeHintElement_getDefault() -> FontSizeHint"}, - { (char *)"SoAnnoText3FontSizeHintElement_set", _wrap_SoAnnoText3FontSizeHintElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, FontSizeHint hint)\n" - "SoAnnoText3FontSizeHintElement_set(SoState state, SoNode node, FontSizeHint hint)\n" - ""}, - { (char *)"SoAnnoText3FontSizeHintElement_swigregister", SoAnnoText3FontSizeHintElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnoText3RenderPrintElement_getClassTypeId", _wrap_SoAnnoText3RenderPrintElement_getClassTypeId, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getClassTypeId() -> SoType"}, - { (char *)"SoAnnoText3RenderPrintElement_getClassStackIndex", _wrap_SoAnnoText3RenderPrintElement_getClassStackIndex, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getClassStackIndex() -> int"}, - { (char *)"SoAnnoText3RenderPrintElement_createInstance", _wrap_SoAnnoText3RenderPrintElement_createInstance, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_createInstance() -> void"}, - { (char *)"SoAnnoText3RenderPrintElement_initClass", _wrap_SoAnnoText3RenderPrintElement_initClass, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_initClass()"}, - { (char *)"SoAnnoText3RenderPrintElement_init", _wrap_SoAnnoText3RenderPrintElement_init, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_init(SoAnnoText3RenderPrintElement self, SoState state)"}, - { (char *)"SoAnnoText3RenderPrintElement_get", _wrap_SoAnnoText3RenderPrintElement_get, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_get(SoState state) -> RenderPrintType"}, - { (char *)"SoAnnoText3RenderPrintElement_getDefault", _wrap_SoAnnoText3RenderPrintElement_getDefault, METH_VARARGS, (char *)"SoAnnoText3RenderPrintElement_getDefault() -> RenderPrintType"}, - { (char *)"SoAnnoText3RenderPrintElement_set", _wrap_SoAnnoText3RenderPrintElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, RenderPrintType hint)\n" - "SoAnnoText3RenderPrintElement_set(SoState state, SoNode node, RenderPrintType type)\n" - ""}, - { (char *)"SoAnnoText3RenderPrintElement_swigregister", SoAnnoText3RenderPrintElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoModelMatrixElement_getClassTypeId", _wrap_SoModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoModelMatrixElement_getClassStackIndex", _wrap_SoModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoModelMatrixElement_createInstance", _wrap_SoModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoModelMatrixElement_createInstance() -> void"}, - { (char *)"SoModelMatrixElement_initClass", _wrap_SoModelMatrixElement_initClass, METH_VARARGS, (char *)"SoModelMatrixElement_initClass()"}, - { (char *)"SoModelMatrixElement_init", _wrap_SoModelMatrixElement_init, METH_VARARGS, (char *)"SoModelMatrixElement_init(SoModelMatrixElement self, SoState state)"}, - { (char *)"SoModelMatrixElement_push", _wrap_SoModelMatrixElement_push, METH_VARARGS, (char *)"SoModelMatrixElement_push(SoModelMatrixElement self, SoState state)"}, - { (char *)"SoModelMatrixElement_matches", _wrap_SoModelMatrixElement_matches, METH_VARARGS, (char *)"SoModelMatrixElement_matches(SoModelMatrixElement self, SoElement element) -> SbBool"}, - { (char *)"SoModelMatrixElement_makeIdentity", _wrap_SoModelMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoModelMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoModelMatrixElement_set", _wrap_SoModelMatrixElement_set, METH_VARARGS, (char *)"SoModelMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_setCullMatrix", _wrap_SoModelMatrixElement_setCullMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_setCullMatrix(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_mult", _wrap_SoModelMatrixElement_mult, METH_VARARGS, (char *)"SoModelMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_translateBy", _wrap_SoModelMatrixElement_translateBy, METH_VARARGS, (char *)"SoModelMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoModelMatrixElement_rotateBy", _wrap_SoModelMatrixElement_rotateBy, METH_VARARGS, (char *)"SoModelMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoModelMatrixElement_scaleBy", _wrap_SoModelMatrixElement_scaleBy, METH_VARARGS, (char *)"SoModelMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoModelMatrixElement_pushMatrix", _wrap_SoModelMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_pushMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_popMatrix", _wrap_SoModelMatrixElement_popMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_popMatrix(SoState state, SbMatrix matrix)"}, - { (char *)"SoModelMatrixElement_getCombinedCullMatrix", _wrap_SoModelMatrixElement_getCombinedCullMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_getCombinedCullMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_get", _wrap_SoModelMatrixElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state) -> SbMatrix\n" - "SoModelMatrixElement_get(SoState state, SbBool isIdentity) -> SbMatrix\n" - ""}, - { (char *)"SoModelMatrixElement_getModelMatrix", _wrap_SoModelMatrixElement_getModelMatrix, METH_VARARGS, (char *)"SoModelMatrixElement_getModelMatrix(SoModelMatrixElement self) -> SbMatrix"}, - { (char *)"SoModelMatrixElement_swigregister", SoModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBBoxModelMatrixElement_getClassTypeId", _wrap_SoBBoxModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoBBoxModelMatrixElement_getClassStackIndex", _wrap_SoBBoxModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoBBoxModelMatrixElement_createInstance", _wrap_SoBBoxModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_createInstance() -> void"}, - { (char *)"SoBBoxModelMatrixElement_initClass", _wrap_SoBBoxModelMatrixElement_initClass, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_initClass()"}, - { (char *)"SoBBoxModelMatrixElement_init", _wrap_SoBBoxModelMatrixElement_init, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_init(SoBBoxModelMatrixElement self, SoState state)"}, - { (char *)"SoBBoxModelMatrixElement_push", _wrap_SoBBoxModelMatrixElement_push, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_push(SoBBoxModelMatrixElement self, SoState state)"}, - { (char *)"SoBBoxModelMatrixElement_reset", _wrap_SoBBoxModelMatrixElement_reset, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_reset(SoState state, SoNode node)"}, - { (char *)"SoBBoxModelMatrixElement_pushMatrix", _wrap_SoBBoxModelMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_pushMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)"}, - { (char *)"SoBBoxModelMatrixElement_popMatrix", _wrap_SoBBoxModelMatrixElement_popMatrix, METH_VARARGS, (char *)"SoBBoxModelMatrixElement_popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)"}, - { (char *)"SoBBoxModelMatrixElement_swigregister", SoBBoxModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapCoordinateElement_getClassTypeId", _wrap_SoBumpMapCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapCoordinateElement_getClassStackIndex", _wrap_SoBumpMapCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapCoordinateElement_createInstance", _wrap_SoBumpMapCoordinateElement_createInstance, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_createInstance() -> void"}, - { (char *)"SoBumpMapCoordinateElement_initClass", _wrap_SoBumpMapCoordinateElement_initClass, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_initClass()"}, - { (char *)"SoBumpMapCoordinateElement_init", _wrap_SoBumpMapCoordinateElement_init, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_init(SoBumpMapCoordinateElement self, SoState state)"}, - { (char *)"SoBumpMapCoordinateElement_set", _wrap_SoBumpMapCoordinateElement_set, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_set(SoState state, SoNode node, int32_t numcoords, SbVec2f coords)"}, - { (char *)"SoBumpMapCoordinateElement_getInstance", _wrap_SoBumpMapCoordinateElement_getInstance, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getInstance(SoState state) -> SoBumpMapCoordinateElement"}, - { (char *)"SoBumpMapCoordinateElement_getNum", _wrap_SoBumpMapCoordinateElement_getNum, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getNum(SoBumpMapCoordinateElement self) -> int32_t"}, - { (char *)"SoBumpMapCoordinateElement_get", _wrap_SoBumpMapCoordinateElement_get, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_get(SoBumpMapCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoBumpMapCoordinateElement_getArrayPtr", _wrap_SoBumpMapCoordinateElement_getArrayPtr, METH_VARARGS, (char *)"SoBumpMapCoordinateElement_getArrayPtr(SoBumpMapCoordinateElement self) -> SbVec2f"}, - { (char *)"SoBumpMapCoordinateElement_swigregister", SoBumpMapCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapElement_getClassTypeId", _wrap_SoBumpMapElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapElement_getClassStackIndex", _wrap_SoBumpMapElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapElement_createInstance", _wrap_SoBumpMapElement_createInstance, METH_VARARGS, (char *)"SoBumpMapElement_createInstance() -> void"}, - { (char *)"SoBumpMapElement_initClass", _wrap_SoBumpMapElement_initClass, METH_VARARGS, (char *)"SoBumpMapElement_initClass()"}, - { (char *)"SoBumpMapElement_init", _wrap_SoBumpMapElement_init, METH_VARARGS, (char *)"SoBumpMapElement_init(SoBumpMapElement self, SoState state)"}, - { (char *)"SoBumpMapElement_set", _wrap_SoBumpMapElement_set, METH_VARARGS, (char *)"SoBumpMapElement_set(SoState state, SoNode node, SoGLImage image)"}, - { (char *)"SoBumpMapElement_get", _wrap_SoBumpMapElement_get, METH_VARARGS, (char *)"SoBumpMapElement_get(SoState state) -> SoGLImage"}, - { (char *)"SoBumpMapElement_swigregister", SoBumpMapElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapMatrixElement_getClassTypeId", _wrap_SoBumpMapMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapMatrixElement_getClassStackIndex", _wrap_SoBumpMapMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoBumpMapMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoBumpMapMatrixElement_createInstance", _wrap_SoBumpMapMatrixElement_createInstance, METH_VARARGS, (char *)"SoBumpMapMatrixElement_createInstance() -> void"}, - { (char *)"SoBumpMapMatrixElement_initClass", _wrap_SoBumpMapMatrixElement_initClass, METH_VARARGS, (char *)"SoBumpMapMatrixElement_initClass()"}, - { (char *)"SoBumpMapMatrixElement_init", _wrap_SoBumpMapMatrixElement_init, METH_VARARGS, (char *)"SoBumpMapMatrixElement_init(SoBumpMapMatrixElement self, SoState state)"}, - { (char *)"SoBumpMapMatrixElement_push", _wrap_SoBumpMapMatrixElement_push, METH_VARARGS, (char *)"SoBumpMapMatrixElement_push(SoBumpMapMatrixElement self, SoState state)"}, - { (char *)"SoBumpMapMatrixElement_makeIdentity", _wrap_SoBumpMapMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoBumpMapMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoBumpMapMatrixElement_set", _wrap_SoBumpMapMatrixElement_set, METH_VARARGS, (char *)"SoBumpMapMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoBumpMapMatrixElement_mult", _wrap_SoBumpMapMatrixElement_mult, METH_VARARGS, (char *)"SoBumpMapMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoBumpMapMatrixElement_translateBy", _wrap_SoBumpMapMatrixElement_translateBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoBumpMapMatrixElement_rotateBy", _wrap_SoBumpMapMatrixElement_rotateBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoBumpMapMatrixElement_scaleBy", _wrap_SoBumpMapMatrixElement_scaleBy, METH_VARARGS, (char *)"SoBumpMapMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoBumpMapMatrixElement_get", _wrap_SoBumpMapMatrixElement_get, METH_VARARGS, (char *)"SoBumpMapMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoBumpMapMatrixElement_swigregister", SoBumpMapMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCacheElement_getClassTypeId", _wrap_SoCacheElement_getClassTypeId, METH_VARARGS, (char *)"SoCacheElement_getClassTypeId() -> SoType"}, - { (char *)"SoCacheElement_getClassStackIndex", _wrap_SoCacheElement_getClassStackIndex, METH_VARARGS, (char *)"SoCacheElement_getClassStackIndex() -> int"}, - { (char *)"SoCacheElement_createInstance", _wrap_SoCacheElement_createInstance, METH_VARARGS, (char *)"SoCacheElement_createInstance() -> void"}, - { (char *)"SoCacheElement_initClass", _wrap_SoCacheElement_initClass, METH_VARARGS, (char *)"SoCacheElement_initClass()"}, - { (char *)"SoCacheElement_init", _wrap_SoCacheElement_init, METH_VARARGS, (char *)"SoCacheElement_init(SoCacheElement self, SoState state)"}, - { (char *)"SoCacheElement_push", _wrap_SoCacheElement_push, METH_VARARGS, (char *)"SoCacheElement_push(SoCacheElement self, SoState state)"}, - { (char *)"SoCacheElement_pop", _wrap_SoCacheElement_pop, METH_VARARGS, (char *)"SoCacheElement_pop(SoCacheElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoCacheElement_set", _wrap_SoCacheElement_set, METH_VARARGS, (char *)"SoCacheElement_set(SoState state, SoCache cache)"}, - { (char *)"SoCacheElement_getCache", _wrap_SoCacheElement_getCache, METH_VARARGS, (char *)"SoCacheElement_getCache(SoCacheElement self) -> SoCache"}, - { (char *)"SoCacheElement_anyOpen", _wrap_SoCacheElement_anyOpen, METH_VARARGS, (char *)"SoCacheElement_anyOpen(SoState state) -> SbBool"}, - { (char *)"SoCacheElement_invalidate", _wrap_SoCacheElement_invalidate, METH_VARARGS, (char *)"SoCacheElement_invalidate(SoState state)"}, - { (char *)"SoCacheElement_matches", _wrap_SoCacheElement_matches, METH_VARARGS, (char *)"SoCacheElement_matches(SoCacheElement self, SoElement element) -> SbBool"}, - { (char *)"SoCacheElement_copyMatchInfo", _wrap_SoCacheElement_copyMatchInfo, METH_VARARGS, (char *)"SoCacheElement_copyMatchInfo(SoCacheElement self) -> SoElement"}, - { (char *)"SoCacheElement_getNextCacheElement", _wrap_SoCacheElement_getNextCacheElement, METH_VARARGS, (char *)"SoCacheElement_getNextCacheElement(SoCacheElement self) -> SoCacheElement"}, - { (char *)"SoCacheElement_addElement", _wrap_SoCacheElement_addElement, METH_VARARGS, (char *)"SoCacheElement_addElement(SoState state, SoElement element)"}, - { (char *)"SoCacheElement_addCacheDependency", _wrap_SoCacheElement_addCacheDependency, METH_VARARGS, (char *)"SoCacheElement_addCacheDependency(SoState state, SoCache cache)"}, - { (char *)"SoCacheElement_setInvalid", _wrap_SoCacheElement_setInvalid, METH_VARARGS, (char *)"SoCacheElement_setInvalid(SbBool newvalue) -> SbBool"}, - { (char *)"SoCacheElement_getCurrentCache", _wrap_SoCacheElement_getCurrentCache, METH_VARARGS, (char *)"SoCacheElement_getCurrentCache(SoState state) -> SoCache"}, - { (char *)"SoCacheElement_swigregister", SoCacheElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPlane", _wrap_new_SbPlane, METH_VARARGS, (char *)"\n" - "SbPlane()\n" - "SbPlane(SbVec3f normal, float D)\n" - "SbPlane(SbVec3f p0, SbVec3f p1, SbVec3f p2)\n" - "new_SbPlane(SbVec3f normal, SbVec3f point) -> SbPlane\n" - ""}, - { (char *)"SbPlane_offset", _wrap_SbPlane_offset, METH_VARARGS, (char *)"SbPlane_offset(SbPlane self, float d)"}, - { (char *)"SbPlane_transform", _wrap_SbPlane_transform, METH_VARARGS, (char *)"SbPlane_transform(SbPlane self, SbMatrix matrix)"}, - { (char *)"SbPlane_isInHalfSpace", _wrap_SbPlane_isInHalfSpace, METH_VARARGS, (char *)"SbPlane_isInHalfSpace(SbPlane self, SbVec3f point) -> SbBool"}, - { (char *)"SbPlane_getDistance", _wrap_SbPlane_getDistance, METH_VARARGS, (char *)"SbPlane_getDistance(SbPlane self, SbVec3f point) -> float"}, - { (char *)"SbPlane_getNormal", _wrap_SbPlane_getNormal, METH_VARARGS, (char *)"SbPlane_getNormal(SbPlane self) -> SbVec3f"}, - { (char *)"SbPlane_getDistanceFromOrigin", _wrap_SbPlane_getDistanceFromOrigin, METH_VARARGS, (char *)"SbPlane_getDistanceFromOrigin(SbPlane self) -> float"}, - { (char *)"SbPlane_output", _wrap_SbPlane_output, METH_VARARGS, (char *)"SbPlane_output(SbPlane self, FILE file)"}, - { (char *)"SbPlane_intersect", _wrap_SbPlane_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbPlane_intersect(SbPlane self, SbPlane pl, SbLine line) -> SbBool\n" - ""}, - { (char *)"SbPlane___eq__", _wrap_SbPlane___eq__, METH_VARARGS, (char *)"SbPlane___eq__(SbPlane self, SbPlane u) -> int"}, - { (char *)"SbPlane___ne__", _wrap_SbPlane___ne__, METH_VARARGS, (char *)"SbPlane___ne__(SbPlane self, SbPlane u) -> int"}, - { (char *)"delete_SbPlane", _wrap_delete_SbPlane, METH_VARARGS, (char *)"delete_SbPlane(SbPlane self)"}, - { (char *)"SbPlane_swigregister", SbPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlaneElement_getClassTypeId", _wrap_SoClipPlaneElement_getClassTypeId, METH_VARARGS, (char *)"SoClipPlaneElement_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlaneElement_getClassStackIndex", _wrap_SoClipPlaneElement_getClassStackIndex, METH_VARARGS, (char *)"SoClipPlaneElement_getClassStackIndex() -> int"}, - { (char *)"SoClipPlaneElement_createInstance", _wrap_SoClipPlaneElement_createInstance, METH_VARARGS, (char *)"SoClipPlaneElement_createInstance() -> void"}, - { (char *)"SoClipPlaneElement_initClass", _wrap_SoClipPlaneElement_initClass, METH_VARARGS, (char *)"SoClipPlaneElement_initClass()"}, - { (char *)"SoClipPlaneElement_init", _wrap_SoClipPlaneElement_init, METH_VARARGS, (char *)"SoClipPlaneElement_init(SoClipPlaneElement self, SoState state)"}, - { (char *)"SoClipPlaneElement_push", _wrap_SoClipPlaneElement_push, METH_VARARGS, (char *)"SoClipPlaneElement_push(SoClipPlaneElement self, SoState state)"}, - { (char *)"SoClipPlaneElement_add", _wrap_SoClipPlaneElement_add, METH_VARARGS, (char *)"SoClipPlaneElement_add(SoState state, SoNode node, SbPlane plane)"}, - { (char *)"SoClipPlaneElement_getInstance", _wrap_SoClipPlaneElement_getInstance, METH_VARARGS, (char *)"SoClipPlaneElement_getInstance(SoState state) -> SoClipPlaneElement"}, - { (char *)"SoClipPlaneElement_getNum", _wrap_SoClipPlaneElement_getNum, METH_VARARGS, (char *)"SoClipPlaneElement_getNum(SoClipPlaneElement self) -> int"}, - { (char *)"SoClipPlaneElement_get", _wrap_SoClipPlaneElement_get, METH_VARARGS, (char *)"\n" - "get(int index, SbBool inworldspace=1) -> SbPlane\n" - "SoClipPlaneElement_get(SoClipPlaneElement self, int index) -> SbPlane\n" - ""}, - { (char *)"SoClipPlaneElement_swigregister", SoClipPlaneElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFloatElement_getClassTypeId", _wrap_SoFloatElement_getClassTypeId, METH_VARARGS, (char *)"SoFloatElement_getClassTypeId() -> SoType"}, - { (char *)"SoFloatElement_getClassStackIndex", _wrap_SoFloatElement_getClassStackIndex, METH_VARARGS, (char *)"SoFloatElement_getClassStackIndex() -> int"}, - { (char *)"SoFloatElement_initClass", _wrap_SoFloatElement_initClass, METH_VARARGS, (char *)"SoFloatElement_initClass()"}, - { (char *)"SoFloatElement_init", _wrap_SoFloatElement_init, METH_VARARGS, (char *)"SoFloatElement_init(SoFloatElement self, SoState state)"}, - { (char *)"SoFloatElement_matches", _wrap_SoFloatElement_matches, METH_VARARGS, (char *)"SoFloatElement_matches(SoFloatElement self, SoElement element) -> SbBool"}, - { (char *)"SoFloatElement_copyMatchInfo", _wrap_SoFloatElement_copyMatchInfo, METH_VARARGS, (char *)"SoFloatElement_copyMatchInfo(SoFloatElement self) -> SoElement"}, - { (char *)"SoFloatElement_output", _wrap_SoFloatElement_output, METH_VARARGS, (char *)"SoFloatElement_output(SoFloatElement self, FILE file)"}, - { (char *)"SoFloatElement_set", _wrap_SoFloatElement_set, METH_VARARGS, (char *)"\n" - "set(int stackIndex, SoState state, SoNode node, float value)\n" - "SoFloatElement_set(int stackIndex, SoState state, float value)\n" - ""}, - { (char *)"SoFloatElement_get", _wrap_SoFloatElement_get, METH_VARARGS, (char *)"SoFloatElement_get(int stackIndex, SoState state) -> float"}, - { (char *)"SoFloatElement_setElt", _wrap_SoFloatElement_setElt, METH_VARARGS, (char *)"SoFloatElement_setElt(SoFloatElement self, float value)"}, - { (char *)"SoFloatElement_swigregister", SoFloatElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComplexityElement_getClassTypeId", _wrap_SoComplexityElement_getClassTypeId, METH_VARARGS, (char *)"SoComplexityElement_getClassTypeId() -> SoType"}, - { (char *)"SoComplexityElement_getClassStackIndex", _wrap_SoComplexityElement_getClassStackIndex, METH_VARARGS, (char *)"SoComplexityElement_getClassStackIndex() -> int"}, - { (char *)"SoComplexityElement_createInstance", _wrap_SoComplexityElement_createInstance, METH_VARARGS, (char *)"SoComplexityElement_createInstance() -> void"}, - { (char *)"SoComplexityElement_initClass", _wrap_SoComplexityElement_initClass, METH_VARARGS, (char *)"SoComplexityElement_initClass()"}, - { (char *)"SoComplexityElement_init", _wrap_SoComplexityElement_init, METH_VARARGS, (char *)"SoComplexityElement_init(SoComplexityElement self, SoState state)"}, - { (char *)"SoComplexityElement_set", _wrap_SoComplexityElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoComplexityElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoComplexityElement_get", _wrap_SoComplexityElement_get, METH_VARARGS, (char *)"SoComplexityElement_get(SoState state) -> float"}, - { (char *)"SoComplexityElement_getDefault", _wrap_SoComplexityElement_getDefault, METH_VARARGS, (char *)"SoComplexityElement_getDefault() -> float"}, - { (char *)"SoComplexityElement_swigregister", SoComplexityElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinateElement_getClassTypeId", _wrap_SoCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinateElement_getClassStackIndex", _wrap_SoCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoCoordinateElement_createInstance", _wrap_SoCoordinateElement_createInstance, METH_VARARGS, (char *)"SoCoordinateElement_createInstance() -> void"}, - { (char *)"SoCoordinateElement_initClass", _wrap_SoCoordinateElement_initClass, METH_VARARGS, (char *)"SoCoordinateElement_initClass()"}, - { (char *)"SoCoordinateElement_init", _wrap_SoCoordinateElement_init, METH_VARARGS, (char *)"SoCoordinateElement_init(SoCoordinateElement self, SoState state)"}, - { (char *)"SoCoordinateElement_set3", _wrap_SoCoordinateElement_set3, METH_VARARGS, (char *)"SoCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoCoordinateElement_set4", _wrap_SoCoordinateElement_set4, METH_VARARGS, (char *)"SoCoordinateElement_set4(SoState state, SoNode node, int32_t numCoords, SbVec4f coords)"}, - { (char *)"SoCoordinateElement_getInstance", _wrap_SoCoordinateElement_getInstance, METH_VARARGS, (char *)"SoCoordinateElement_getInstance(SoState state) -> SoCoordinateElement"}, - { (char *)"SoCoordinateElement_getNum", _wrap_SoCoordinateElement_getNum, METH_VARARGS, (char *)"SoCoordinateElement_getNum(SoCoordinateElement self) -> int32_t"}, - { (char *)"SoCoordinateElement_is3D", _wrap_SoCoordinateElement_is3D, METH_VARARGS, (char *)"SoCoordinateElement_is3D(SoCoordinateElement self) -> SbBool"}, - { (char *)"SoCoordinateElement_get3", _wrap_SoCoordinateElement_get3, METH_VARARGS, (char *)"SoCoordinateElement_get3(SoCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoCoordinateElement_get4", _wrap_SoCoordinateElement_get4, METH_VARARGS, (char *)"SoCoordinateElement_get4(SoCoordinateElement self, int index) -> SbVec4f"}, - { (char *)"SoCoordinateElement_getArrayPtr3", _wrap_SoCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoCoordinateElement_getArrayPtr3(SoCoordinateElement self) -> SbVec3f"}, - { (char *)"SoCoordinateElement_getArrayPtr4", _wrap_SoCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoCoordinateElement_getArrayPtr4(SoCoordinateElement self) -> SbVec4f"}, - { (char *)"SoCoordinateElement_getDefault3", _wrap_SoCoordinateElement_getDefault3, METH_VARARGS, (char *)"SoCoordinateElement_getDefault3() -> SbVec3f"}, - { (char *)"SoCoordinateElement_getDefault4", _wrap_SoCoordinateElement_getDefault4, METH_VARARGS, (char *)"SoCoordinateElement_getDefault4() -> SbVec4f"}, - { (char *)"SoCoordinateElement_output", _wrap_SoCoordinateElement_output, METH_VARARGS, (char *)"SoCoordinateElement_output(SoCoordinateElement self, FILE file)"}, - { (char *)"SoCoordinateElement_swigregister", SoCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCreaseAngleElement_getClassTypeId", _wrap_SoCreaseAngleElement_getClassTypeId, METH_VARARGS, (char *)"SoCreaseAngleElement_getClassTypeId() -> SoType"}, - { (char *)"SoCreaseAngleElement_getClassStackIndex", _wrap_SoCreaseAngleElement_getClassStackIndex, METH_VARARGS, (char *)"SoCreaseAngleElement_getClassStackIndex() -> int"}, - { (char *)"SoCreaseAngleElement_createInstance", _wrap_SoCreaseAngleElement_createInstance, METH_VARARGS, (char *)"SoCreaseAngleElement_createInstance() -> void"}, - { (char *)"SoCreaseAngleElement_initClass", _wrap_SoCreaseAngleElement_initClass, METH_VARARGS, (char *)"SoCreaseAngleElement_initClass()"}, - { (char *)"SoCreaseAngleElement_init", _wrap_SoCreaseAngleElement_init, METH_VARARGS, (char *)"SoCreaseAngleElement_init(SoCreaseAngleElement self, SoState state)"}, - { (char *)"SoCreaseAngleElement_set", _wrap_SoCreaseAngleElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoCreaseAngleElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoCreaseAngleElement_get", _wrap_SoCreaseAngleElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state) -> float\n" - "SoCreaseAngleElement_get(SoState state, SbBool isvrml1) -> float\n" - ""}, - { (char *)"SoCreaseAngleElement_getDefault", _wrap_SoCreaseAngleElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault() -> float\n" - "SoCreaseAngleElement_getDefault(SbBool isvrml1) -> float\n" - ""}, - { (char *)"SoCreaseAngleElement_swigregister", SoCreaseAngleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCullElement_getClassTypeId", _wrap_SoCullElement_getClassTypeId, METH_VARARGS, (char *)"SoCullElement_getClassTypeId() -> SoType"}, - { (char *)"SoCullElement_getClassStackIndex", _wrap_SoCullElement_getClassStackIndex, METH_VARARGS, (char *)"SoCullElement_getClassStackIndex() -> int"}, - { (char *)"SoCullElement_createInstance", _wrap_SoCullElement_createInstance, METH_VARARGS, (char *)"SoCullElement_createInstance() -> void"}, - { (char *)"SoCullElement_initClass", _wrap_SoCullElement_initClass, METH_VARARGS, (char *)"SoCullElement_initClass()"}, - { (char *)"SoCullElement_init", _wrap_SoCullElement_init, METH_VARARGS, (char *)"SoCullElement_init(SoCullElement self, SoState state)"}, - { (char *)"SoCullElement_push", _wrap_SoCullElement_push, METH_VARARGS, (char *)"SoCullElement_push(SoCullElement self, SoState state)"}, - { (char *)"SoCullElement_setViewVolume", _wrap_SoCullElement_setViewVolume, METH_VARARGS, (char *)"SoCullElement_setViewVolume(SoState state, SbViewVolume vv)"}, - { (char *)"SoCullElement_addPlane", _wrap_SoCullElement_addPlane, METH_VARARGS, (char *)"SoCullElement_addPlane(SoState state, SbPlane newplane)"}, - { (char *)"SoCullElement_cullBox", _wrap_SoCullElement_cullBox, METH_VARARGS, (char *)"\n" - "cullBox(SoState state, SbBox3f box, SbBool transform=1) -> SbBool\n" - "SoCullElement_cullBox(SoState state, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SoCullElement_cullTest", _wrap_SoCullElement_cullTest, METH_VARARGS, (char *)"\n" - "cullTest(SoState state, SbBox3f box, SbBool transform=1) -> SbBool\n" - "SoCullElement_cullTest(SoState state, SbBox3f box) -> SbBool\n" - ""}, - { (char *)"SoCullElement_completelyInside", _wrap_SoCullElement_completelyInside, METH_VARARGS, (char *)"SoCullElement_completelyInside(SoState state) -> SbBool"}, - { (char *)"SoCullElement_matches", _wrap_SoCullElement_matches, METH_VARARGS, (char *)"SoCullElement_matches(SoCullElement self, SoElement elt) -> SbBool"}, - { (char *)"SoCullElement_copyMatchInfo", _wrap_SoCullElement_copyMatchInfo, METH_VARARGS, (char *)"SoCullElement_copyMatchInfo(SoCullElement self) -> SoElement"}, - { (char *)"SoCullElement_swigregister", SoCullElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecimationPercentageElement_getClassTypeId", _wrap_SoDecimationPercentageElement_getClassTypeId, METH_VARARGS, (char *)"SoDecimationPercentageElement_getClassTypeId() -> SoType"}, - { (char *)"SoDecimationPercentageElement_getClassStackIndex", _wrap_SoDecimationPercentageElement_getClassStackIndex, METH_VARARGS, (char *)"SoDecimationPercentageElement_getClassStackIndex() -> int"}, - { (char *)"SoDecimationPercentageElement_createInstance", _wrap_SoDecimationPercentageElement_createInstance, METH_VARARGS, (char *)"SoDecimationPercentageElement_createInstance() -> void"}, - { (char *)"SoDecimationPercentageElement_initClass", _wrap_SoDecimationPercentageElement_initClass, METH_VARARGS, (char *)"SoDecimationPercentageElement_initClass()"}, - { (char *)"SoDecimationPercentageElement_init", _wrap_SoDecimationPercentageElement_init, METH_VARARGS, (char *)"SoDecimationPercentageElement_init(SoDecimationPercentageElement self, SoState state)"}, - { (char *)"SoDecimationPercentageElement_set", _wrap_SoDecimationPercentageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float complexity)\n" - "SoDecimationPercentageElement_set(SoState state, float complexity)\n" - ""}, - { (char *)"SoDecimationPercentageElement_get", _wrap_SoDecimationPercentageElement_get, METH_VARARGS, (char *)"SoDecimationPercentageElement_get(SoState state) -> float"}, - { (char *)"SoDecimationPercentageElement_getDefault", _wrap_SoDecimationPercentageElement_getDefault, METH_VARARGS, (char *)"SoDecimationPercentageElement_getDefault() -> float"}, - { (char *)"SoDecimationPercentageElement_swigregister", SoDecimationPercentageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDiffuseColorElement_getClassTypeId", _wrap_SoDiffuseColorElement_getClassTypeId, METH_VARARGS, (char *)"SoDiffuseColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoDiffuseColorElement_getClassStackIndex", _wrap_SoDiffuseColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoDiffuseColorElement_getClassStackIndex() -> int"}, - { (char *)"SoDiffuseColorElement_createInstance", _wrap_SoDiffuseColorElement_createInstance, METH_VARARGS, (char *)"SoDiffuseColorElement_createInstance() -> void"}, - { (char *)"SoDiffuseColorElement_initClass", _wrap_SoDiffuseColorElement_initClass, METH_VARARGS, (char *)"SoDiffuseColorElement_initClass()"}, - { (char *)"SoDiffuseColorElement_init", _wrap_SoDiffuseColorElement_init, METH_VARARGS, (char *)"SoDiffuseColorElement_init(SoDiffuseColorElement self, SoState state)"}, - { (char *)"SoDiffuseColorElement_set", _wrap_SoDiffuseColorElement_set, METH_VARARGS, (char *)"SoDiffuseColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoDiffuseColorElement_getInstance", _wrap_SoDiffuseColorElement_getInstance, METH_VARARGS, (char *)"SoDiffuseColorElement_getInstance(SoState state) -> SoDiffuseColorElement"}, - { (char *)"SoDiffuseColorElement_getNum", _wrap_SoDiffuseColorElement_getNum, METH_VARARGS, (char *)"SoDiffuseColorElement_getNum(SoDiffuseColorElement self) -> int32_t"}, - { (char *)"SoDiffuseColorElement_get", _wrap_SoDiffuseColorElement_get, METH_VARARGS, (char *)"SoDiffuseColorElement_get(SoDiffuseColorElement self, int index) -> SbColor"}, - { (char *)"SoDiffuseColorElement_isPacked", _wrap_SoDiffuseColorElement_isPacked, METH_VARARGS, (char *)"SoDiffuseColorElement_isPacked(SoDiffuseColorElement self) -> SbBool"}, - { (char *)"SoDiffuseColorElement_hasPackedTransparency", _wrap_SoDiffuseColorElement_hasPackedTransparency, METH_VARARGS, (char *)"SoDiffuseColorElement_hasPackedTransparency(SoDiffuseColorElement self) -> SbBool"}, - { (char *)"SoDiffuseColorElement_getColorArrayPtr", _wrap_SoDiffuseColorElement_getColorArrayPtr, METH_VARARGS, (char *)"SoDiffuseColorElement_getColorArrayPtr(SoDiffuseColorElement self) -> SbColor"}, - { (char *)"SoDiffuseColorElement_getPackedArrayPtr", _wrap_SoDiffuseColorElement_getPackedArrayPtr, METH_VARARGS, (char *)"SoDiffuseColorElement_getPackedArrayPtr(SoDiffuseColorElement self) -> uint32_t"}, - { (char *)"SoDiffuseColorElement_swigregister", SoDiffuseColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLClipPlaneElement_getClassTypeId", _wrap_SoGLClipPlaneElement_getClassTypeId, METH_VARARGS, (char *)"SoGLClipPlaneElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLClipPlaneElement_getClassStackIndex", _wrap_SoGLClipPlaneElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLClipPlaneElement_getClassStackIndex() -> int"}, - { (char *)"SoGLClipPlaneElement_createInstance", _wrap_SoGLClipPlaneElement_createInstance, METH_VARARGS, (char *)"SoGLClipPlaneElement_createInstance() -> void"}, - { (char *)"SoGLClipPlaneElement_initClass", _wrap_SoGLClipPlaneElement_initClass, METH_VARARGS, (char *)"SoGLClipPlaneElement_initClass()"}, - { (char *)"SoGLClipPlaneElement_init", _wrap_SoGLClipPlaneElement_init, METH_VARARGS, (char *)"SoGLClipPlaneElement_init(SoGLClipPlaneElement self, SoState state)"}, - { (char *)"SoGLClipPlaneElement_pop", _wrap_SoGLClipPlaneElement_pop, METH_VARARGS, (char *)"SoGLClipPlaneElement_pop(SoGLClipPlaneElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLClipPlaneElement_getMaxGLPlanes", _wrap_SoGLClipPlaneElement_getMaxGLPlanes, METH_VARARGS, (char *)"SoGLClipPlaneElement_getMaxGLPlanes() -> int"}, - { (char *)"SoGLClipPlaneElement_swigregister", SoGLClipPlaneElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightElement_getClassTypeId", _wrap_SoLightElement_getClassTypeId, METH_VARARGS, (char *)"SoLightElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightElement_getClassStackIndex", _wrap_SoLightElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightElement_getClassStackIndex() -> int"}, - { (char *)"SoLightElement_createInstance", _wrap_SoLightElement_createInstance, METH_VARARGS, (char *)"SoLightElement_createInstance() -> void"}, - { (char *)"SoLightElement_initClass", _wrap_SoLightElement_initClass, METH_VARARGS, (char *)"SoLightElement_initClass()"}, - { (char *)"SoLightElement_init", _wrap_SoLightElement_init, METH_VARARGS, (char *)"SoLightElement_init(SoLightElement self, SoState state)"}, - { (char *)"SoLightElement_push", _wrap_SoLightElement_push, METH_VARARGS, (char *)"SoLightElement_push(SoLightElement self, SoState state)"}, - { (char *)"SoLightElement_add", _wrap_SoLightElement_add, METH_VARARGS, (char *)"SoLightElement_add(SoState state, SoLight light, SbMatrix matrix)"}, - { (char *)"SoLightElement_getLights", _wrap_SoLightElement_getLights, METH_VARARGS, (char *)"SoLightElement_getLights(SoState state) -> SoNodeList"}, - { (char *)"SoLightElement_getMatrix", _wrap_SoLightElement_getMatrix, METH_VARARGS, (char *)"SoLightElement_getMatrix(SoState state, int index) -> SbMatrix"}, - { (char *)"SoLightElement_swigregister", SoLightElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLModelMatrixElement_getClassTypeId", _wrap_SoGLModelMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLModelMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLModelMatrixElement_getClassStackIndex", _wrap_SoGLModelMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLModelMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLModelMatrixElement_createInstance", _wrap_SoGLModelMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLModelMatrixElement_createInstance() -> void"}, - { (char *)"SoGLModelMatrixElement_initClass", _wrap_SoGLModelMatrixElement_initClass, METH_VARARGS, (char *)"SoGLModelMatrixElement_initClass()"}, - { (char *)"SoGLModelMatrixElement_init", _wrap_SoGLModelMatrixElement_init, METH_VARARGS, (char *)"SoGLModelMatrixElement_init(SoGLModelMatrixElement self, SoState state)"}, - { (char *)"SoGLModelMatrixElement_push", _wrap_SoGLModelMatrixElement_push, METH_VARARGS, (char *)"SoGLModelMatrixElement_push(SoGLModelMatrixElement self, SoState state)"}, - { (char *)"SoGLModelMatrixElement_pop", _wrap_SoGLModelMatrixElement_pop, METH_VARARGS, (char *)"SoGLModelMatrixElement_pop(SoGLModelMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLModelMatrixElement_swigregister", SoGLModelMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileElement_getClassTypeId", _wrap_SoProfileElement_getClassTypeId, METH_VARARGS, (char *)"SoProfileElement_getClassTypeId() -> SoType"}, - { (char *)"SoProfileElement_getClassStackIndex", _wrap_SoProfileElement_getClassStackIndex, METH_VARARGS, (char *)"SoProfileElement_getClassStackIndex() -> int"}, - { (char *)"SoProfileElement_createInstance", _wrap_SoProfileElement_createInstance, METH_VARARGS, (char *)"SoProfileElement_createInstance() -> void"}, - { (char *)"SoProfileElement_initClass", _wrap_SoProfileElement_initClass, METH_VARARGS, (char *)"SoProfileElement_initClass()"}, - { (char *)"SoProfileElement_init", _wrap_SoProfileElement_init, METH_VARARGS, (char *)"SoProfileElement_init(SoProfileElement self, SoState state)"}, - { (char *)"SoProfileElement_push", _wrap_SoProfileElement_push, METH_VARARGS, (char *)"SoProfileElement_push(SoProfileElement self, SoState state)"}, - { (char *)"SoProfileElement_add", _wrap_SoProfileElement_add, METH_VARARGS, (char *)"SoProfileElement_add(SoState state, SoProfile profile)"}, - { (char *)"SoProfileElement_get", _wrap_SoProfileElement_get, METH_VARARGS, (char *)"SoProfileElement_get(SoState state) -> SoNodeList"}, - { (char *)"SoProfileElement_swigregister", SoProfileElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureMatrixElement_getClassTypeId", _wrap_SoTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureMatrixElement_getClassStackIndex", _wrap_SoTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureMatrixElement_createInstance", _wrap_SoTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoTextureMatrixElement_initClass", _wrap_SoTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoTextureMatrixElement_initClass()"}, - { (char *)"SoTextureMatrixElement_init", _wrap_SoTextureMatrixElement_init, METH_VARARGS, (char *)"SoTextureMatrixElement_init(SoTextureMatrixElement self, SoState state)"}, - { (char *)"SoTextureMatrixElement_push", _wrap_SoTextureMatrixElement_push, METH_VARARGS, (char *)"SoTextureMatrixElement_push(SoTextureMatrixElement self, SoState state)"}, - { (char *)"SoTextureMatrixElement_makeIdentity", _wrap_SoTextureMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoTextureMatrixElement_makeIdentity(SoState state, SoNode node)"}, - { (char *)"SoTextureMatrixElement_set", _wrap_SoTextureMatrixElement_set, METH_VARARGS, (char *)"SoTextureMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoTextureMatrixElement_mult", _wrap_SoTextureMatrixElement_mult, METH_VARARGS, (char *)"SoTextureMatrixElement_mult(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoTextureMatrixElement_translateBy", _wrap_SoTextureMatrixElement_translateBy, METH_VARARGS, (char *)"SoTextureMatrixElement_translateBy(SoState state, SoNode node, SbVec3f translation)"}, - { (char *)"SoTextureMatrixElement_rotateBy", _wrap_SoTextureMatrixElement_rotateBy, METH_VARARGS, (char *)"SoTextureMatrixElement_rotateBy(SoState state, SoNode node, SbRotation rotation)"}, - { (char *)"SoTextureMatrixElement_scaleBy", _wrap_SoTextureMatrixElement_scaleBy, METH_VARARGS, (char *)"SoTextureMatrixElement_scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)"}, - { (char *)"SoTextureMatrixElement_get", _wrap_SoTextureMatrixElement_get, METH_VARARGS, (char *)"SoTextureMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoTextureMatrixElement_emptyMatrix", _wrap_SoTextureMatrixElement_emptyMatrix, METH_VARARGS, (char *)"SoTextureMatrixElement_emptyMatrix(SoState state)"}, - { (char *)"SoTextureMatrixElement_swigregister", SoTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureMatrixElement_getClassTypeId", _wrap_SoGLTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureMatrixElement_getClassStackIndex", _wrap_SoGLTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureMatrixElement_createInstance", _wrap_SoGLTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoGLTextureMatrixElement_initClass", _wrap_SoGLTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoGLTextureMatrixElement_initClass()"}, - { (char *)"SoGLTextureMatrixElement_init", _wrap_SoGLTextureMatrixElement_init, METH_VARARGS, (char *)"SoGLTextureMatrixElement_init(SoGLTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLTextureMatrixElement_pop", _wrap_SoGLTextureMatrixElement_pop, METH_VARARGS, (char *)"SoGLTextureMatrixElement_pop(SoGLTextureMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureMatrixElement_setEltIdentity", _wrap_SoGLTextureMatrixElement_setEltIdentity, METH_VARARGS, (char *)"SoGLTextureMatrixElement_setEltIdentity()"}, - { (char *)"SoGLTextureMatrixElement_setElt", _wrap_SoGLTextureMatrixElement_setElt, METH_VARARGS, (char *)"SoGLTextureMatrixElement_setElt(SoGLTextureMatrixElement self, SbMatrix matrix)"}, - { (char *)"SoGLTextureMatrixElement_makeEltIdentity", _wrap_SoGLTextureMatrixElement_makeEltIdentity, METH_VARARGS, (char *)"SoGLTextureMatrixElement_makeEltIdentity(SoGLTextureMatrixElement self)"}, - { (char *)"SoGLTextureMatrixElement_multElt", _wrap_SoGLTextureMatrixElement_multElt, METH_VARARGS, (char *)"SoGLTextureMatrixElement_multElt(SoGLTextureMatrixElement self, SbMatrix matrix)"}, - { (char *)"SoGLTextureMatrixElement_translateEltBy", _wrap_SoGLTextureMatrixElement_translateEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_translateEltBy(SoGLTextureMatrixElement self, SbVec3f translation)"}, - { (char *)"SoGLTextureMatrixElement_rotateEltBy", _wrap_SoGLTextureMatrixElement_rotateEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_rotateEltBy(SoGLTextureMatrixElement self, SbRotation translation)"}, - { (char *)"SoGLTextureMatrixElement_scaleEltBy", _wrap_SoGLTextureMatrixElement_scaleEltBy, METH_VARARGS, (char *)"SoGLTextureMatrixElement_scaleEltBy(SoGLTextureMatrixElement self, SbVec3f scaleFactor)"}, - { (char *)"SoGLTextureMatrixElement_swigregister", SoGLTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLDrawStyleElement_getClassTypeId", _wrap_SoGLDrawStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoGLDrawStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLDrawStyleElement_getClassStackIndex", _wrap_SoGLDrawStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLDrawStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoGLDrawStyleElement_createInstance", _wrap_SoGLDrawStyleElement_createInstance, METH_VARARGS, (char *)"SoGLDrawStyleElement_createInstance() -> void"}, - { (char *)"SoGLDrawStyleElement_initClass", _wrap_SoGLDrawStyleElement_initClass, METH_VARARGS, (char *)"SoGLDrawStyleElement_initClass()"}, - { (char *)"SoGLDrawStyleElement_init", _wrap_SoGLDrawStyleElement_init, METH_VARARGS, (char *)"SoGLDrawStyleElement_init(SoGLDrawStyleElement self, SoState state)"}, - { (char *)"SoGLDrawStyleElement_push", _wrap_SoGLDrawStyleElement_push, METH_VARARGS, (char *)"SoGLDrawStyleElement_push(SoGLDrawStyleElement self, SoState state)"}, - { (char *)"SoGLDrawStyleElement_pop", _wrap_SoGLDrawStyleElement_pop, METH_VARARGS, (char *)"SoGLDrawStyleElement_pop(SoGLDrawStyleElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLDrawStyleElement_swigregister", SoGLDrawStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLightIdElement_getClassTypeId", _wrap_SoGLLightIdElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLightIdElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLightIdElement_getClassStackIndex", _wrap_SoGLLightIdElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLightIdElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLightIdElement_createInstance", _wrap_SoGLLightIdElement_createInstance, METH_VARARGS, (char *)"SoGLLightIdElement_createInstance() -> void"}, - { (char *)"SoGLLightIdElement_initClass", _wrap_SoGLLightIdElement_initClass, METH_VARARGS, (char *)"SoGLLightIdElement_initClass()"}, - { (char *)"SoGLLightIdElement_init", _wrap_SoGLLightIdElement_init, METH_VARARGS, (char *)"SoGLLightIdElement_init(SoGLLightIdElement self, SoState state)"}, - { (char *)"SoGLLightIdElement_push", _wrap_SoGLLightIdElement_push, METH_VARARGS, (char *)"SoGLLightIdElement_push(SoGLLightIdElement self, SoState state)"}, - { (char *)"SoGLLightIdElement_pop", _wrap_SoGLLightIdElement_pop, METH_VARARGS, (char *)"SoGLLightIdElement_pop(SoGLLightIdElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLightIdElement_increment", _wrap_SoGLLightIdElement_increment, METH_VARARGS, (char *)"\n" - "increment(SoState state, SoNode node) -> int32_t\n" - "SoGLLightIdElement_increment(SoState state) -> int32_t\n" - ""}, - { (char *)"SoGLLightIdElement_get", _wrap_SoGLLightIdElement_get, METH_VARARGS, (char *)"SoGLLightIdElement_get(SoState state) -> int32_t"}, - { (char *)"SoGLLightIdElement_getDefault", _wrap_SoGLLightIdElement_getDefault, METH_VARARGS, (char *)"SoGLLightIdElement_getDefault() -> int32_t"}, - { (char *)"SoGLLightIdElement_getMaxGLSources", _wrap_SoGLLightIdElement_getMaxGLSources, METH_VARARGS, (char *)"SoGLLightIdElement_getMaxGLSources() -> int32_t"}, - { (char *)"SoGLLightIdElement_swigregister", SoGLLightIdElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureEnabledElement_getClassTypeId", _wrap_SoTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureEnabledElement_getClassStackIndex", _wrap_SoTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureEnabledElement_createInstance", _wrap_SoTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoTextureEnabledElement_initClass", _wrap_SoTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoTextureEnabledElement_initClass()"}, - { (char *)"SoTextureEnabledElement_init", _wrap_SoTextureEnabledElement_init, METH_VARARGS, (char *)"SoTextureEnabledElement_init(SoTextureEnabledElement self, SoState state)"}, - { (char *)"SoTextureEnabledElement_set", _wrap_SoTextureEnabledElement_set, METH_VARARGS, (char *)"SoTextureEnabledElement_set(SoState state, SoNode node, SbBool enabled)"}, - { (char *)"SoTextureEnabledElement_get", _wrap_SoTextureEnabledElement_get, METH_VARARGS, (char *)"SoTextureEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTextureEnabledElement_getDefault", _wrap_SoTextureEnabledElement_getDefault, METH_VARARGS, (char *)"SoTextureEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTextureEnabledElement_setElt", _wrap_SoTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoTextureEnabledElement_setElt(SoTextureEnabledElement self, int32_t value)"}, - { (char *)"SoTextureEnabledElement_swigregister", SoTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureEnabledElement_getClassTypeId", _wrap_SoGLTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureEnabledElement_getClassStackIndex", _wrap_SoGLTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureEnabledElement_createInstance", _wrap_SoGLTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoGLTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoGLTextureEnabledElement_initClass", _wrap_SoGLTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoGLTextureEnabledElement_initClass()"}, - { (char *)"SoGLTextureEnabledElement_init", _wrap_SoGLTextureEnabledElement_init, METH_VARARGS, (char *)"SoGLTextureEnabledElement_init(SoGLTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLTextureEnabledElement_push", _wrap_SoGLTextureEnabledElement_push, METH_VARARGS, (char *)"SoGLTextureEnabledElement_push(SoGLTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLTextureEnabledElement_pop", _wrap_SoGLTextureEnabledElement_pop, METH_VARARGS, (char *)"SoGLTextureEnabledElement_pop(SoGLTextureEnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureEnabledElement_set", _wrap_SoGLTextureEnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoGLTextureEnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoGLTextureEnabledElement_get", _wrap_SoGLTextureEnabledElement_get, METH_VARARGS, (char *)"SoGLTextureEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoGLTextureEnabledElement_getDefault", _wrap_SoGLTextureEnabledElement_getDefault, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoGLTextureEnabledElement_setElt", _wrap_SoGLTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoGLTextureEnabledElement_setElt(SoGLTextureEnabledElement self, int32_t value)"}, - { (char *)"SoGLTextureEnabledElement_enableRectangle", _wrap_SoGLTextureEnabledElement_enableRectangle, METH_VARARGS, (char *)"SoGLTextureEnabledElement_enableRectangle(SoState state, SoNode node)"}, - { (char *)"SoGLTextureEnabledElement_getMode", _wrap_SoGLTextureEnabledElement_getMode, METH_VARARGS, (char *)"SoGLTextureEnabledElement_getMode(SoState state) -> Mode"}, - { (char *)"SoGLTextureEnabledElement_swigregister", SoGLTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3EnabledElement_getClassTypeId", _wrap_SoTexture3EnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTexture3EnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3EnabledElement_getClassStackIndex", _wrap_SoTexture3EnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTexture3EnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTexture3EnabledElement_createInstance", _wrap_SoTexture3EnabledElement_createInstance, METH_VARARGS, (char *)"SoTexture3EnabledElement_createInstance() -> void"}, - { (char *)"SoTexture3EnabledElement_initClass", _wrap_SoTexture3EnabledElement_initClass, METH_VARARGS, (char *)"SoTexture3EnabledElement_initClass()"}, - { (char *)"SoTexture3EnabledElement_init", _wrap_SoTexture3EnabledElement_init, METH_VARARGS, (char *)"SoTexture3EnabledElement_init(SoTexture3EnabledElement self, SoState state)"}, - { (char *)"SoTexture3EnabledElement_set", _wrap_SoTexture3EnabledElement_set, METH_VARARGS, (char *)"SoTexture3EnabledElement_set(SoState state, SoNode node, SbBool enabled)"}, - { (char *)"SoTexture3EnabledElement_get", _wrap_SoTexture3EnabledElement_get, METH_VARARGS, (char *)"SoTexture3EnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTexture3EnabledElement_getDefault", _wrap_SoTexture3EnabledElement_getDefault, METH_VARARGS, (char *)"SoTexture3EnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTexture3EnabledElement_setElt", _wrap_SoTexture3EnabledElement_setElt, METH_VARARGS, (char *)"SoTexture3EnabledElement_setElt(SoTexture3EnabledElement self, int32_t value)"}, - { (char *)"SoTexture3EnabledElement_swigregister", SoTexture3EnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTexture3EnabledElement_getClassTypeId", _wrap_SoGLTexture3EnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTexture3EnabledElement_getClassStackIndex", _wrap_SoGLTexture3EnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTexture3EnabledElement_createInstance", _wrap_SoGLTexture3EnabledElement_createInstance, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_createInstance() -> void"}, - { (char *)"SoGLTexture3EnabledElement_initClass", _wrap_SoGLTexture3EnabledElement_initClass, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_initClass()"}, - { (char *)"SoGLTexture3EnabledElement_init", _wrap_SoGLTexture3EnabledElement_init, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_init(SoGLTexture3EnabledElement self, SoState state)"}, - { (char *)"SoGLTexture3EnabledElement_push", _wrap_SoGLTexture3EnabledElement_push, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_push(SoGLTexture3EnabledElement self, SoState state)"}, - { (char *)"SoGLTexture3EnabledElement_pop", _wrap_SoGLTexture3EnabledElement_pop, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_pop(SoGLTexture3EnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTexture3EnabledElement_set", _wrap_SoGLTexture3EnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoGLTexture3EnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoGLTexture3EnabledElement_get", _wrap_SoGLTexture3EnabledElement_get, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoGLTexture3EnabledElement_getDefault", _wrap_SoGLTexture3EnabledElement_getDefault, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_getDefault() -> SbBool"}, - { (char *)"SoGLTexture3EnabledElement_setElt", _wrap_SoGLTexture3EnabledElement_setElt, METH_VARARGS, (char *)"SoGLTexture3EnabledElement_setElt(SoGLTexture3EnabledElement self, int32_t value)"}, - { (char *)"SoGLTexture3EnabledElement_swigregister", SoGLTexture3EnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLinePatternElement_getClassTypeId", _wrap_SoLinePatternElement_getClassTypeId, METH_VARARGS, (char *)"SoLinePatternElement_getClassTypeId() -> SoType"}, - { (char *)"SoLinePatternElement_getClassStackIndex", _wrap_SoLinePatternElement_getClassStackIndex, METH_VARARGS, (char *)"SoLinePatternElement_getClassStackIndex() -> int"}, - { (char *)"SoLinePatternElement_createInstance", _wrap_SoLinePatternElement_createInstance, METH_VARARGS, (char *)"SoLinePatternElement_createInstance() -> void"}, - { (char *)"SoLinePatternElement_initClass", _wrap_SoLinePatternElement_initClass, METH_VARARGS, (char *)"SoLinePatternElement_initClass()"}, - { (char *)"SoLinePatternElement_init", _wrap_SoLinePatternElement_init, METH_VARARGS, (char *)"SoLinePatternElement_init(SoLinePatternElement self, SoState state)"}, - { (char *)"SoLinePatternElement_set", _wrap_SoLinePatternElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t pattern)\n" - "SoLinePatternElement_set(SoState state, int32_t pattern)\n" - ""}, - { (char *)"SoLinePatternElement_get", _wrap_SoLinePatternElement_get, METH_VARARGS, (char *)"SoLinePatternElement_get(SoState state) -> int32_t"}, - { (char *)"SoLinePatternElement_getDefault", _wrap_SoLinePatternElement_getDefault, METH_VARARGS, (char *)"SoLinePatternElement_getDefault() -> int32_t"}, - { (char *)"SoLinePatternElement_swigregister", SoLinePatternElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLinePatternElement_getClassTypeId", _wrap_SoGLLinePatternElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLinePatternElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLinePatternElement_getClassStackIndex", _wrap_SoGLLinePatternElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLinePatternElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLinePatternElement_createInstance", _wrap_SoGLLinePatternElement_createInstance, METH_VARARGS, (char *)"SoGLLinePatternElement_createInstance() -> void"}, - { (char *)"SoGLLinePatternElement_initClass", _wrap_SoGLLinePatternElement_initClass, METH_VARARGS, (char *)"SoGLLinePatternElement_initClass()"}, - { (char *)"SoGLLinePatternElement_init", _wrap_SoGLLinePatternElement_init, METH_VARARGS, (char *)"SoGLLinePatternElement_init(SoGLLinePatternElement self, SoState state)"}, - { (char *)"SoGLLinePatternElement_push", _wrap_SoGLLinePatternElement_push, METH_VARARGS, (char *)"SoGLLinePatternElement_push(SoGLLinePatternElement self, SoState state)"}, - { (char *)"SoGLLinePatternElement_pop", _wrap_SoGLLinePatternElement_pop, METH_VARARGS, (char *)"SoGLLinePatternElement_pop(SoGLLinePatternElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLinePatternElement_swigregister", SoGLLinePatternElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSwitchElement_getClassTypeId", _wrap_SoSwitchElement_getClassTypeId, METH_VARARGS, (char *)"SoSwitchElement_getClassTypeId() -> SoType"}, - { (char *)"SoSwitchElement_getClassStackIndex", _wrap_SoSwitchElement_getClassStackIndex, METH_VARARGS, (char *)"SoSwitchElement_getClassStackIndex() -> int"}, - { (char *)"SoSwitchElement_createInstance", _wrap_SoSwitchElement_createInstance, METH_VARARGS, (char *)"SoSwitchElement_createInstance() -> void"}, - { (char *)"SoSwitchElement_initClass", _wrap_SoSwitchElement_initClass, METH_VARARGS, (char *)"SoSwitchElement_initClass()"}, - { (char *)"SoSwitchElement_init", _wrap_SoSwitchElement_init, METH_VARARGS, (char *)"SoSwitchElement_init(SoSwitchElement self, SoState state)"}, - { (char *)"SoSwitchElement_set", _wrap_SoSwitchElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int32_t index)\n" - "SoSwitchElement_set(SoState state, int32_t index)\n" - ""}, - { (char *)"SoSwitchElement_get", _wrap_SoSwitchElement_get, METH_VARARGS, (char *)"SoSwitchElement_get(SoState state) -> int32_t"}, - { (char *)"SoSwitchElement_getDefault", _wrap_SoSwitchElement_getDefault, METH_VARARGS, (char *)"SoSwitchElement_getDefault() -> int32_t"}, - { (char *)"SoSwitchElement_swigregister", SoSwitchElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextOutlineEnabledElement_getClassTypeId", _wrap_SoTextOutlineEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextOutlineEnabledElement_getClassStackIndex", _wrap_SoTextOutlineEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoTextOutlineEnabledElement_createInstance", _wrap_SoTextOutlineEnabledElement_createInstance, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_createInstance() -> void"}, - { (char *)"SoTextOutlineEnabledElement_initClass", _wrap_SoTextOutlineEnabledElement_initClass, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_initClass()"}, - { (char *)"SoTextOutlineEnabledElement_init", _wrap_SoTextOutlineEnabledElement_init, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_init(SoTextOutlineEnabledElement self, SoState state)"}, - { (char *)"SoTextOutlineEnabledElement_push", _wrap_SoTextOutlineEnabledElement_push, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_push(SoTextOutlineEnabledElement self, SoState state)"}, - { (char *)"SoTextOutlineEnabledElement_pop", _wrap_SoTextOutlineEnabledElement_pop, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_pop(SoTextOutlineEnabledElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoTextOutlineEnabledElement_set", _wrap_SoTextOutlineEnabledElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, SbBool enabled)\n" - "SoTextOutlineEnabledElement_set(SoState state, SbBool enabled)\n" - ""}, - { (char *)"SoTextOutlineEnabledElement_get", _wrap_SoTextOutlineEnabledElement_get, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_get(SoState state) -> SbBool"}, - { (char *)"SoTextOutlineEnabledElement_getDefault", _wrap_SoTextOutlineEnabledElement_getDefault, METH_VARARGS, (char *)"SoTextOutlineEnabledElement_getDefault() -> SbBool"}, - { (char *)"SoTextOutlineEnabledElement_swigregister", SoTextOutlineEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoUnitsElement_getClassTypeId", _wrap_SoUnitsElement_getClassTypeId, METH_VARARGS, (char *)"SoUnitsElement_getClassTypeId() -> SoType"}, - { (char *)"SoUnitsElement_getClassStackIndex", _wrap_SoUnitsElement_getClassStackIndex, METH_VARARGS, (char *)"SoUnitsElement_getClassStackIndex() -> int"}, - { (char *)"SoUnitsElement_createInstance", _wrap_SoUnitsElement_createInstance, METH_VARARGS, (char *)"SoUnitsElement_createInstance() -> void"}, - { (char *)"SoUnitsElement_initClass", _wrap_SoUnitsElement_initClass, METH_VARARGS, (char *)"SoUnitsElement_initClass()"}, - { (char *)"SoUnitsElement_init", _wrap_SoUnitsElement_init, METH_VARARGS, (char *)"SoUnitsElement_init(SoUnitsElement self, SoState state)"}, - { (char *)"SoUnitsElement_set", _wrap_SoUnitsElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, Units units)\n" - "SoUnitsElement_set(SoState state, Units units)\n" - ""}, - { (char *)"SoUnitsElement_get", _wrap_SoUnitsElement_get, METH_VARARGS, (char *)"SoUnitsElement_get(SoState state) -> Units"}, - { (char *)"SoUnitsElement_getDefault", _wrap_SoUnitsElement_getDefault, METH_VARARGS, (char *)"SoUnitsElement_getDefault() -> Units"}, - { (char *)"SoUnitsElement_swigregister", SoUnitsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFocalDistanceElement_getClassTypeId", _wrap_SoFocalDistanceElement_getClassTypeId, METH_VARARGS, (char *)"SoFocalDistanceElement_getClassTypeId() -> SoType"}, - { (char *)"SoFocalDistanceElement_getClassStackIndex", _wrap_SoFocalDistanceElement_getClassStackIndex, METH_VARARGS, (char *)"SoFocalDistanceElement_getClassStackIndex() -> int"}, - { (char *)"SoFocalDistanceElement_createInstance", _wrap_SoFocalDistanceElement_createInstance, METH_VARARGS, (char *)"SoFocalDistanceElement_createInstance() -> void"}, - { (char *)"SoFocalDistanceElement_initClass", _wrap_SoFocalDistanceElement_initClass, METH_VARARGS, (char *)"SoFocalDistanceElement_initClass()"}, - { (char *)"SoFocalDistanceElement_init", _wrap_SoFocalDistanceElement_init, METH_VARARGS, (char *)"SoFocalDistanceElement_init(SoFocalDistanceElement self, SoState state)"}, - { (char *)"SoFocalDistanceElement_set", _wrap_SoFocalDistanceElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float distance)\n" - "SoFocalDistanceElement_set(SoState state, float distance)\n" - ""}, - { (char *)"SoFocalDistanceElement_get", _wrap_SoFocalDistanceElement_get, METH_VARARGS, (char *)"SoFocalDistanceElement_get(SoState state) -> float"}, - { (char *)"SoFocalDistanceElement_getDefault", _wrap_SoFocalDistanceElement_getDefault, METH_VARARGS, (char *)"SoFocalDistanceElement_getDefault() -> float"}, - { (char *)"SoFocalDistanceElement_swigregister", SoFocalDistanceElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontSizeElement_getClassTypeId", _wrap_SoFontSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoFontSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoFontSizeElement_getClassStackIndex", _wrap_SoFontSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoFontSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoFontSizeElement_createInstance", _wrap_SoFontSizeElement_createInstance, METH_VARARGS, (char *)"SoFontSizeElement_createInstance() -> void"}, - { (char *)"SoFontSizeElement_initClass", _wrap_SoFontSizeElement_initClass, METH_VARARGS, (char *)"SoFontSizeElement_initClass()"}, - { (char *)"SoFontSizeElement_init", _wrap_SoFontSizeElement_init, METH_VARARGS, (char *)"SoFontSizeElement_init(SoFontSizeElement self, SoState state)"}, - { (char *)"SoFontSizeElement_set", _wrap_SoFontSizeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float fontSize)\n" - "SoFontSizeElement_set(SoState state, float fontSize)\n" - ""}, - { (char *)"SoFontSizeElement_get", _wrap_SoFontSizeElement_get, METH_VARARGS, (char *)"SoFontSizeElement_get(SoState state) -> float"}, - { (char *)"SoFontSizeElement_getDefault", _wrap_SoFontSizeElement_getDefault, METH_VARARGS, (char *)"SoFontSizeElement_getDefault() -> float"}, - { (char *)"SoFontSizeElement_swigregister", SoFontSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineWidthElement_getClassTypeId", _wrap_SoLineWidthElement_getClassTypeId, METH_VARARGS, (char *)"SoLineWidthElement_getClassTypeId() -> SoType"}, - { (char *)"SoLineWidthElement_getClassStackIndex", _wrap_SoLineWidthElement_getClassStackIndex, METH_VARARGS, (char *)"SoLineWidthElement_getClassStackIndex() -> int"}, - { (char *)"SoLineWidthElement_createInstance", _wrap_SoLineWidthElement_createInstance, METH_VARARGS, (char *)"SoLineWidthElement_createInstance() -> void"}, - { (char *)"SoLineWidthElement_initClass", _wrap_SoLineWidthElement_initClass, METH_VARARGS, (char *)"SoLineWidthElement_initClass()"}, - { (char *)"SoLineWidthElement_init", _wrap_SoLineWidthElement_init, METH_VARARGS, (char *)"SoLineWidthElement_init(SoLineWidthElement self, SoState state)"}, - { (char *)"SoLineWidthElement_set", _wrap_SoLineWidthElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float lineWidth)\n" - "SoLineWidthElement_set(SoState state, float lineWidth)\n" - ""}, - { (char *)"SoLineWidthElement_get", _wrap_SoLineWidthElement_get, METH_VARARGS, (char *)"SoLineWidthElement_get(SoState state) -> float"}, - { (char *)"SoLineWidthElement_getDefault", _wrap_SoLineWidthElement_getDefault, METH_VARARGS, (char *)"SoLineWidthElement_getDefault() -> float"}, - { (char *)"SoLineWidthElement_swigregister", SoLineWidthElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLLineWidthElement_getClassTypeId", _wrap_SoGLLineWidthElement_getClassTypeId, METH_VARARGS, (char *)"SoGLLineWidthElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLLineWidthElement_getClassStackIndex", _wrap_SoGLLineWidthElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLLineWidthElement_getClassStackIndex() -> int"}, - { (char *)"SoGLLineWidthElement_createInstance", _wrap_SoGLLineWidthElement_createInstance, METH_VARARGS, (char *)"SoGLLineWidthElement_createInstance() -> void"}, - { (char *)"SoGLLineWidthElement_initClass", _wrap_SoGLLineWidthElement_initClass, METH_VARARGS, (char *)"SoGLLineWidthElement_initClass()"}, - { (char *)"SoGLLineWidthElement_init", _wrap_SoGLLineWidthElement_init, METH_VARARGS, (char *)"SoGLLineWidthElement_init(SoGLLineWidthElement self, SoState state)"}, - { (char *)"SoGLLineWidthElement_push", _wrap_SoGLLineWidthElement_push, METH_VARARGS, (char *)"SoGLLineWidthElement_push(SoGLLineWidthElement self, SoState state)"}, - { (char *)"SoGLLineWidthElement_pop", _wrap_SoGLLineWidthElement_pop, METH_VARARGS, (char *)"SoGLLineWidthElement_pop(SoGLLineWidthElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLLineWidthElement_swigregister", SoGLLineWidthElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointSizeElement_getClassTypeId", _wrap_SoPointSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoPointSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoPointSizeElement_getClassStackIndex", _wrap_SoPointSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoPointSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoPointSizeElement_createInstance", _wrap_SoPointSizeElement_createInstance, METH_VARARGS, (char *)"SoPointSizeElement_createInstance() -> void"}, - { (char *)"SoPointSizeElement_initClass", _wrap_SoPointSizeElement_initClass, METH_VARARGS, (char *)"SoPointSizeElement_initClass()"}, - { (char *)"SoPointSizeElement_init", _wrap_SoPointSizeElement_init, METH_VARARGS, (char *)"SoPointSizeElement_init(SoPointSizeElement self, SoState state)"}, - { (char *)"SoPointSizeElement_set", _wrap_SoPointSizeElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float pointSize)\n" - "SoPointSizeElement_set(SoState state, float pointSize)\n" - ""}, - { (char *)"SoPointSizeElement_get", _wrap_SoPointSizeElement_get, METH_VARARGS, (char *)"SoPointSizeElement_get(SoState state) -> float"}, - { (char *)"SoPointSizeElement_getDefault", _wrap_SoPointSizeElement_getDefault, METH_VARARGS, (char *)"SoPointSizeElement_getDefault() -> float"}, - { (char *)"SoPointSizeElement_swigregister", SoPointSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLPointSizeElement_getClassTypeId", _wrap_SoGLPointSizeElement_getClassTypeId, METH_VARARGS, (char *)"SoGLPointSizeElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLPointSizeElement_getClassStackIndex", _wrap_SoGLPointSizeElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLPointSizeElement_getClassStackIndex() -> int"}, - { (char *)"SoGLPointSizeElement_createInstance", _wrap_SoGLPointSizeElement_createInstance, METH_VARARGS, (char *)"SoGLPointSizeElement_createInstance() -> void"}, - { (char *)"SoGLPointSizeElement_initClass", _wrap_SoGLPointSizeElement_initClass, METH_VARARGS, (char *)"SoGLPointSizeElement_initClass()"}, - { (char *)"SoGLPointSizeElement_init", _wrap_SoGLPointSizeElement_init, METH_VARARGS, (char *)"SoGLPointSizeElement_init(SoGLPointSizeElement self, SoState state)"}, - { (char *)"SoGLPointSizeElement_push", _wrap_SoGLPointSizeElement_push, METH_VARARGS, (char *)"SoGLPointSizeElement_push(SoGLPointSizeElement self, SoState state)"}, - { (char *)"SoGLPointSizeElement_pop", _wrap_SoGLPointSizeElement_pop, METH_VARARGS, (char *)"SoGLPointSizeElement_pop(SoGLPointSizeElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLPointSizeElement_swigregister", SoGLPointSizeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureQualityElement_getClassTypeId", _wrap_SoTextureQualityElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureQualityElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureQualityElement_getClassStackIndex", _wrap_SoTextureQualityElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureQualityElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureQualityElement_createInstance", _wrap_SoTextureQualityElement_createInstance, METH_VARARGS, (char *)"SoTextureQualityElement_createInstance() -> void"}, - { (char *)"SoTextureQualityElement_initClass", _wrap_SoTextureQualityElement_initClass, METH_VARARGS, (char *)"SoTextureQualityElement_initClass()"}, - { (char *)"SoTextureQualityElement_init", _wrap_SoTextureQualityElement_init, METH_VARARGS, (char *)"SoTextureQualityElement_init(SoTextureQualityElement self, SoState state)"}, - { (char *)"SoTextureQualityElement_set", _wrap_SoTextureQualityElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float quality)\n" - "SoTextureQualityElement_set(SoState state, float quality)\n" - ""}, - { (char *)"SoTextureQualityElement_get", _wrap_SoTextureQualityElement_get, METH_VARARGS, (char *)"SoTextureQualityElement_get(SoState state) -> float"}, - { (char *)"SoTextureQualityElement_getDefault", _wrap_SoTextureQualityElement_getDefault, METH_VARARGS, (char *)"SoTextureQualityElement_getDefault() -> float"}, - { (char *)"SoTextureQualityElement_swigregister", SoTextureQualityElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureOverrideElement_getClassTypeId", _wrap_SoTextureOverrideElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureOverrideElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureOverrideElement_getClassStackIndex", _wrap_SoTextureOverrideElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureOverrideElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureOverrideElement_createInstance", _wrap_SoTextureOverrideElement_createInstance, METH_VARARGS, (char *)"SoTextureOverrideElement_createInstance() -> void"}, - { (char *)"SoTextureOverrideElement_initClass", _wrap_SoTextureOverrideElement_initClass, METH_VARARGS, (char *)"SoTextureOverrideElement_initClass()"}, - { (char *)"SoTextureOverrideElement_matches", _wrap_SoTextureOverrideElement_matches, METH_VARARGS, (char *)"SoTextureOverrideElement_matches(SoTextureOverrideElement self, SoElement element) -> SbBool"}, - { (char *)"SoTextureOverrideElement_copyMatchInfo", _wrap_SoTextureOverrideElement_copyMatchInfo, METH_VARARGS, (char *)"SoTextureOverrideElement_copyMatchInfo(SoTextureOverrideElement self) -> SoElement"}, - { (char *)"SoTextureOverrideElement_init", _wrap_SoTextureOverrideElement_init, METH_VARARGS, (char *)"SoTextureOverrideElement_init(SoTextureOverrideElement self, SoState state)"}, - { (char *)"SoTextureOverrideElement_push", _wrap_SoTextureOverrideElement_push, METH_VARARGS, (char *)"SoTextureOverrideElement_push(SoTextureOverrideElement self, SoState state)"}, - { (char *)"SoTextureOverrideElement_getQualityOverride", _wrap_SoTextureOverrideElement_getQualityOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getQualityOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_getImageOverride", _wrap_SoTextureOverrideElement_getImageOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getImageOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_getBumpMapOverride", _wrap_SoTextureOverrideElement_getBumpMapOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_getBumpMapOverride(SoState state) -> SbBool"}, - { (char *)"SoTextureOverrideElement_setQualityOverride", _wrap_SoTextureOverrideElement_setQualityOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setQualityOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_setImageOverride", _wrap_SoTextureOverrideElement_setImageOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setImageOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_setBumpMapOverride", _wrap_SoTextureOverrideElement_setBumpMapOverride, METH_VARARGS, (char *)"SoTextureOverrideElement_setBumpMapOverride(SoState state, SbBool value)"}, - { (char *)"SoTextureOverrideElement_output", _wrap_SoTextureOverrideElement_output, METH_VARARGS, (char *)"SoTextureOverrideElement_output(SoTextureOverrideElement self, FILE fp)"}, - { (char *)"SoTextureOverrideElement_swigregister", SoTextureOverrideElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLRenderPassElement_getClassTypeId", _wrap_SoGLRenderPassElement_getClassTypeId, METH_VARARGS, (char *)"SoGLRenderPassElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLRenderPassElement_getClassStackIndex", _wrap_SoGLRenderPassElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLRenderPassElement_getClassStackIndex() -> int"}, - { (char *)"SoGLRenderPassElement_createInstance", _wrap_SoGLRenderPassElement_createInstance, METH_VARARGS, (char *)"SoGLRenderPassElement_createInstance() -> void"}, - { (char *)"SoGLRenderPassElement_initClass", _wrap_SoGLRenderPassElement_initClass, METH_VARARGS, (char *)"SoGLRenderPassElement_initClass()"}, - { (char *)"SoGLRenderPassElement_init", _wrap_SoGLRenderPassElement_init, METH_VARARGS, (char *)"SoGLRenderPassElement_init(SoGLRenderPassElement self, SoState state)"}, - { (char *)"SoGLRenderPassElement_matches", _wrap_SoGLRenderPassElement_matches, METH_VARARGS, (char *)"SoGLRenderPassElement_matches(SoGLRenderPassElement self, SoElement element) -> SbBool"}, - { (char *)"SoGLRenderPassElement_copyMatchInfo", _wrap_SoGLRenderPassElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLRenderPassElement_copyMatchInfo(SoGLRenderPassElement self) -> SoElement"}, - { (char *)"SoGLRenderPassElement_set", _wrap_SoGLRenderPassElement_set, METH_VARARGS, (char *)"SoGLRenderPassElement_set(SoState state, int pass)"}, - { (char *)"SoGLRenderPassElement_get", _wrap_SoGLRenderPassElement_get, METH_VARARGS, (char *)"SoGLRenderPassElement_get(SoState state) -> int"}, - { (char *)"SoGLRenderPassElement_swigregister", SoGLRenderPassElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLUpdateAreaElement_getClassTypeId", _wrap_SoGLUpdateAreaElement_getClassTypeId, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLUpdateAreaElement_getClassStackIndex", _wrap_SoGLUpdateAreaElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getClassStackIndex() -> int"}, - { (char *)"SoGLUpdateAreaElement_createInstance", _wrap_SoGLUpdateAreaElement_createInstance, METH_VARARGS, (char *)"SoGLUpdateAreaElement_createInstance() -> void"}, - { (char *)"SoGLUpdateAreaElement_initClass", _wrap_SoGLUpdateAreaElement_initClass, METH_VARARGS, (char *)"SoGLUpdateAreaElement_initClass()"}, - { (char *)"SoGLUpdateAreaElement_init", _wrap_SoGLUpdateAreaElement_init, METH_VARARGS, (char *)"SoGLUpdateAreaElement_init(SoGLUpdateAreaElement self, SoState state)"}, - { (char *)"SoGLUpdateAreaElement_push", _wrap_SoGLUpdateAreaElement_push, METH_VARARGS, (char *)"SoGLUpdateAreaElement_push(SoGLUpdateAreaElement self, SoState state)"}, - { (char *)"SoGLUpdateAreaElement_pop", _wrap_SoGLUpdateAreaElement_pop, METH_VARARGS, (char *)"SoGLUpdateAreaElement_pop(SoGLUpdateAreaElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLUpdateAreaElement_matches", _wrap_SoGLUpdateAreaElement_matches, METH_VARARGS, (char *)"SoGLUpdateAreaElement_matches(SoGLUpdateAreaElement self, SoElement element) -> SbBool"}, - { (char *)"SoGLUpdateAreaElement_copyMatchInfo", _wrap_SoGLUpdateAreaElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLUpdateAreaElement_copyMatchInfo(SoGLUpdateAreaElement self) -> SoElement"}, - { (char *)"SoGLUpdateAreaElement_set", _wrap_SoGLUpdateAreaElement_set, METH_VARARGS, (char *)"SoGLUpdateAreaElement_set(SoState state, SbVec2f origin, SbVec2f size)"}, - { (char *)"SoGLUpdateAreaElement_get", _wrap_SoGLUpdateAreaElement_get, METH_VARARGS, (char *)"SoGLUpdateAreaElement_get(SoState state, SbVec2f origin, SbVec2f size) -> SbBool"}, - { (char *)"SoGLUpdateAreaElement_getDefaultOrigin", _wrap_SoGLUpdateAreaElement_getDefaultOrigin, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getDefaultOrigin() -> SbVec2f"}, - { (char *)"SoGLUpdateAreaElement_getDefaultSize", _wrap_SoGLUpdateAreaElement_getDefaultSize, METH_VARARGS, (char *)"SoGLUpdateAreaElement_getDefaultSize() -> SbVec2f"}, - { (char *)"SoGLUpdateAreaElement_swigregister", SoGLUpdateAreaElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocalBBoxMatrixElement_getClassTypeId", _wrap_SoLocalBBoxMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoLocalBBoxMatrixElement_getClassStackIndex", _wrap_SoLocalBBoxMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoLocalBBoxMatrixElement_createInstance", _wrap_SoLocalBBoxMatrixElement_createInstance, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_createInstance() -> void"}, - { (char *)"SoLocalBBoxMatrixElement_initClass", _wrap_SoLocalBBoxMatrixElement_initClass, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_initClass()"}, - { (char *)"SoLocalBBoxMatrixElement_init", _wrap_SoLocalBBoxMatrixElement_init, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_init(SoLocalBBoxMatrixElement self, SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_push", _wrap_SoLocalBBoxMatrixElement_push, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_push(SoLocalBBoxMatrixElement self, SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_makeIdentity", _wrap_SoLocalBBoxMatrixElement_makeIdentity, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_makeIdentity(SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_set", _wrap_SoLocalBBoxMatrixElement_set, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_set(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_mult", _wrap_SoLocalBBoxMatrixElement_mult, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_mult(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_translateBy", _wrap_SoLocalBBoxMatrixElement_translateBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_translateBy(SoState state, SbVec3f translation)"}, - { (char *)"SoLocalBBoxMatrixElement_rotateBy", _wrap_SoLocalBBoxMatrixElement_rotateBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_rotateBy(SoState state, SbRotation rotation)"}, - { (char *)"SoLocalBBoxMatrixElement_scaleBy", _wrap_SoLocalBBoxMatrixElement_scaleBy, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_scaleBy(SoState state, SbVec3f scaleFactor)"}, - { (char *)"SoLocalBBoxMatrixElement_pushMatrix", _wrap_SoLocalBBoxMatrixElement_pushMatrix, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_pushMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoLocalBBoxMatrixElement_popMatrix", _wrap_SoLocalBBoxMatrixElement_popMatrix, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_popMatrix(SoState state, SbMatrix matrix)"}, - { (char *)"SoLocalBBoxMatrixElement_resetAll", _wrap_SoLocalBBoxMatrixElement_resetAll, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_resetAll(SoState state)"}, - { (char *)"SoLocalBBoxMatrixElement_get", _wrap_SoLocalBBoxMatrixElement_get, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoLocalBBoxMatrixElement_matches", _wrap_SoLocalBBoxMatrixElement_matches, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_matches(SoLocalBBoxMatrixElement self, SoElement element) -> SbBool"}, - { (char *)"SoLocalBBoxMatrixElement_copyMatchInfo", _wrap_SoLocalBBoxMatrixElement_copyMatchInfo, METH_VARARGS, (char *)"SoLocalBBoxMatrixElement_copyMatchInfo(SoLocalBBoxMatrixElement self) -> SoElement"}, - { (char *)"SoLocalBBoxMatrixElement_swigregister", SoLocalBBoxMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOverrideElement_getClassTypeId", _wrap_SoOverrideElement_getClassTypeId, METH_VARARGS, (char *)"SoOverrideElement_getClassTypeId() -> SoType"}, - { (char *)"SoOverrideElement_getClassStackIndex", _wrap_SoOverrideElement_getClassStackIndex, METH_VARARGS, (char *)"SoOverrideElement_getClassStackIndex() -> int"}, - { (char *)"SoOverrideElement_createInstance", _wrap_SoOverrideElement_createInstance, METH_VARARGS, (char *)"SoOverrideElement_createInstance() -> void"}, - { (char *)"SoOverrideElement_initClass", _wrap_SoOverrideElement_initClass, METH_VARARGS, (char *)"SoOverrideElement_initClass()"}, - { (char *)"SoOverrideElement_init", _wrap_SoOverrideElement_init, METH_VARARGS, (char *)"SoOverrideElement_init(SoOverrideElement self, SoState state)"}, - { (char *)"SoOverrideElement_push", _wrap_SoOverrideElement_push, METH_VARARGS, (char *)"SoOverrideElement_push(SoOverrideElement self, SoState state)"}, - { (char *)"SoOverrideElement_matches", _wrap_SoOverrideElement_matches, METH_VARARGS, (char *)"SoOverrideElement_matches(SoOverrideElement self, SoElement element) -> SbBool"}, - { (char *)"SoOverrideElement_copyMatchInfo", _wrap_SoOverrideElement_copyMatchInfo, METH_VARARGS, (char *)"SoOverrideElement_copyMatchInfo(SoOverrideElement self) -> SoElement"}, - { (char *)"SoOverrideElement_getFlags", _wrap_SoOverrideElement_getFlags, METH_VARARGS, (char *)"SoOverrideElement_getFlags(SoState state) -> uint32_t"}, - { (char *)"SoOverrideElement_getAmbientColorOverride", _wrap_SoOverrideElement_getAmbientColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getAmbientColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getColorIndexOverride", _wrap_SoOverrideElement_getColorIndexOverride, METH_VARARGS, (char *)"SoOverrideElement_getColorIndexOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getComplexityOverride", _wrap_SoOverrideElement_getComplexityOverride, METH_VARARGS, (char *)"SoOverrideElement_getComplexityOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getComplexityTypeOverride", _wrap_SoOverrideElement_getComplexityTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_getComplexityTypeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getCreaseAngleOverride", _wrap_SoOverrideElement_getCreaseAngleOverride, METH_VARARGS, (char *)"SoOverrideElement_getCreaseAngleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getDiffuseColorOverride", _wrap_SoOverrideElement_getDiffuseColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getDiffuseColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getDrawStyleOverride", _wrap_SoOverrideElement_getDrawStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_getDrawStyleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getEmissiveColorOverride", _wrap_SoOverrideElement_getEmissiveColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getEmissiveColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getFontNameOverride", _wrap_SoOverrideElement_getFontNameOverride, METH_VARARGS, (char *)"SoOverrideElement_getFontNameOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getFontSizeOverride", _wrap_SoOverrideElement_getFontSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_getFontSizeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLightModelOverride", _wrap_SoOverrideElement_getLightModelOverride, METH_VARARGS, (char *)"SoOverrideElement_getLightModelOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLinePatternOverride", _wrap_SoOverrideElement_getLinePatternOverride, METH_VARARGS, (char *)"SoOverrideElement_getLinePatternOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getLineWidthOverride", _wrap_SoOverrideElement_getLineWidthOverride, METH_VARARGS, (char *)"SoOverrideElement_getLineWidthOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getMaterialBindingOverride", _wrap_SoOverrideElement_getMaterialBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_getMaterialBindingOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPickStyleOverride", _wrap_SoOverrideElement_getPickStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_getPickStyleOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPointSizeOverride", _wrap_SoOverrideElement_getPointSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_getPointSizeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getPolygonOffsetOverride", _wrap_SoOverrideElement_getPolygonOffsetOverride, METH_VARARGS, (char *)"SoOverrideElement_getPolygonOffsetOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getShapeHintsOverride", _wrap_SoOverrideElement_getShapeHintsOverride, METH_VARARGS, (char *)"SoOverrideElement_getShapeHintsOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getShininessOverride", _wrap_SoOverrideElement_getShininessOverride, METH_VARARGS, (char *)"SoOverrideElement_getShininessOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getSpecularColorOverride", _wrap_SoOverrideElement_getSpecularColorOverride, METH_VARARGS, (char *)"SoOverrideElement_getSpecularColorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getTransparencyOverride", _wrap_SoOverrideElement_getTransparencyOverride, METH_VARARGS, (char *)"SoOverrideElement_getTransparencyOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getTransparencyTypeOverride", _wrap_SoOverrideElement_getTransparencyTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_getTransparencyTypeOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getNormalVectorOverride", _wrap_SoOverrideElement_getNormalVectorOverride, METH_VARARGS, (char *)"SoOverrideElement_getNormalVectorOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_getNormalBindingOverride", _wrap_SoOverrideElement_getNormalBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_getNormalBindingOverride(SoState state) -> SbBool"}, - { (char *)"SoOverrideElement_setAmbientColorOverride", _wrap_SoOverrideElement_setAmbientColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setAmbientColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setColorIndexOverride", _wrap_SoOverrideElement_setColorIndexOverride, METH_VARARGS, (char *)"SoOverrideElement_setColorIndexOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setComplexityOverride", _wrap_SoOverrideElement_setComplexityOverride, METH_VARARGS, (char *)"SoOverrideElement_setComplexityOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setComplexityTypeOverride", _wrap_SoOverrideElement_setComplexityTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_setComplexityTypeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setCreaseAngleOverride", _wrap_SoOverrideElement_setCreaseAngleOverride, METH_VARARGS, (char *)"SoOverrideElement_setCreaseAngleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setDiffuseColorOverride", _wrap_SoOverrideElement_setDiffuseColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setDiffuseColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setDrawStyleOverride", _wrap_SoOverrideElement_setDrawStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_setDrawStyleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setEmissiveColorOverride", _wrap_SoOverrideElement_setEmissiveColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setEmissiveColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setFontNameOverride", _wrap_SoOverrideElement_setFontNameOverride, METH_VARARGS, (char *)"SoOverrideElement_setFontNameOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setFontSizeOverride", _wrap_SoOverrideElement_setFontSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_setFontSizeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLightModelOverride", _wrap_SoOverrideElement_setLightModelOverride, METH_VARARGS, (char *)"SoOverrideElement_setLightModelOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLinePatternOverride", _wrap_SoOverrideElement_setLinePatternOverride, METH_VARARGS, (char *)"SoOverrideElement_setLinePatternOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setLineWidthOverride", _wrap_SoOverrideElement_setLineWidthOverride, METH_VARARGS, (char *)"SoOverrideElement_setLineWidthOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setMaterialBindingOverride", _wrap_SoOverrideElement_setMaterialBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_setMaterialBindingOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPickStyleOverride", _wrap_SoOverrideElement_setPickStyleOverride, METH_VARARGS, (char *)"SoOverrideElement_setPickStyleOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPointSizeOverride", _wrap_SoOverrideElement_setPointSizeOverride, METH_VARARGS, (char *)"SoOverrideElement_setPointSizeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setPolygonOffsetOverride", _wrap_SoOverrideElement_setPolygonOffsetOverride, METH_VARARGS, (char *)"SoOverrideElement_setPolygonOffsetOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setShapeHintsOverride", _wrap_SoOverrideElement_setShapeHintsOverride, METH_VARARGS, (char *)"SoOverrideElement_setShapeHintsOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setShininessOverride", _wrap_SoOverrideElement_setShininessOverride, METH_VARARGS, (char *)"SoOverrideElement_setShininessOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setSpecularColorOverride", _wrap_SoOverrideElement_setSpecularColorOverride, METH_VARARGS, (char *)"SoOverrideElement_setSpecularColorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setTransparencyOverride", _wrap_SoOverrideElement_setTransparencyOverride, METH_VARARGS, (char *)"SoOverrideElement_setTransparencyOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setTransparencyTypeOverride", _wrap_SoOverrideElement_setTransparencyTypeOverride, METH_VARARGS, (char *)"SoOverrideElement_setTransparencyTypeOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setNormalVectorOverride", _wrap_SoOverrideElement_setNormalVectorOverride, METH_VARARGS, (char *)"SoOverrideElement_setNormalVectorOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_setNormalBindingOverride", _wrap_SoOverrideElement_setNormalBindingOverride, METH_VARARGS, (char *)"SoOverrideElement_setNormalBindingOverride(SoState state, SoNode node, SbBool override)"}, - { (char *)"SoOverrideElement_output", _wrap_SoOverrideElement_output, METH_VARARGS, (char *)"SoOverrideElement_output(SoOverrideElement self, FILE file)"}, - { (char *)"SoOverrideElement_swigregister", SoOverrideElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPickRayElement_getClassTypeId", _wrap_SoPickRayElement_getClassTypeId, METH_VARARGS, (char *)"SoPickRayElement_getClassTypeId() -> SoType"}, - { (char *)"SoPickRayElement_getClassStackIndex", _wrap_SoPickRayElement_getClassStackIndex, METH_VARARGS, (char *)"SoPickRayElement_getClassStackIndex() -> int"}, - { (char *)"SoPickRayElement_createInstance", _wrap_SoPickRayElement_createInstance, METH_VARARGS, (char *)"SoPickRayElement_createInstance() -> void"}, - { (char *)"SoPickRayElement_initClass", _wrap_SoPickRayElement_initClass, METH_VARARGS, (char *)"SoPickRayElement_initClass()"}, - { (char *)"SoPickRayElement_init", _wrap_SoPickRayElement_init, METH_VARARGS, (char *)"SoPickRayElement_init(SoPickRayElement self, SoState state)"}, - { (char *)"SoPickRayElement_matches", _wrap_SoPickRayElement_matches, METH_VARARGS, (char *)"SoPickRayElement_matches(SoPickRayElement self, SoElement element) -> SbBool"}, - { (char *)"SoPickRayElement_copyMatchInfo", _wrap_SoPickRayElement_copyMatchInfo, METH_VARARGS, (char *)"SoPickRayElement_copyMatchInfo(SoPickRayElement self) -> SoElement"}, - { (char *)"SoPickRayElement_set", _wrap_SoPickRayElement_set, METH_VARARGS, (char *)"SoPickRayElement_set(SoState state, SbViewVolume volume)"}, - { (char *)"SoPickRayElement_get", _wrap_SoPickRayElement_get, METH_VARARGS, (char *)"SoPickRayElement_get(SoState state) -> SbViewVolume"}, - { (char *)"SoPickRayElement_swigregister", SoPickRayElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCoordinateElement_getClassTypeId", _wrap_SoGLCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLCoordinateElement_getClassStackIndex", _wrap_SoGLCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLCoordinateElement_createInstance", _wrap_SoGLCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLCoordinateElement_initClass", _wrap_SoGLCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLCoordinateElement_initClass()"}, - { (char *)"SoGLCoordinateElement_getPtr3", _wrap_SoGLCoordinateElement_getPtr3, METH_VARARGS, (char *)"SoGLCoordinateElement_getPtr3(SoGLCoordinateElement self) -> SbVec3f"}, - { (char *)"SoGLCoordinateElement_getPtr4", _wrap_SoGLCoordinateElement_getPtr4, METH_VARARGS, (char *)"SoGLCoordinateElement_getPtr4(SoGLCoordinateElement self) -> SbVec4f"}, - { (char *)"SoGLCoordinateElement_send", _wrap_SoGLCoordinateElement_send, METH_VARARGS, (char *)"SoGLCoordinateElement_send(SoGLCoordinateElement self, int index)"}, - { (char *)"SoGLCoordinateElement_swigregister", SoGLCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEnvironmentElement_getClassTypeId", _wrap_SoEnvironmentElement_getClassTypeId, METH_VARARGS, (char *)"SoEnvironmentElement_getClassTypeId() -> SoType"}, - { (char *)"SoEnvironmentElement_getClassStackIndex", _wrap_SoEnvironmentElement_getClassStackIndex, METH_VARARGS, (char *)"SoEnvironmentElement_getClassStackIndex() -> int"}, - { (char *)"SoEnvironmentElement_createInstance", _wrap_SoEnvironmentElement_createInstance, METH_VARARGS, (char *)"SoEnvironmentElement_createInstance() -> void"}, - { (char *)"SoEnvironmentElement_initClass", _wrap_SoEnvironmentElement_initClass, METH_VARARGS, (char *)"SoEnvironmentElement_initClass()"}, - { (char *)"SoEnvironmentElement_init", _wrap_SoEnvironmentElement_init, METH_VARARGS, (char *)"SoEnvironmentElement_init(SoEnvironmentElement self, SoState state)"}, - { (char *)"SoEnvironmentElement_set", _wrap_SoEnvironmentElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float ambientIntensity, \n" - " SbColor ambientColor, SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility, \n" - " float fogStart=0.0)\n" - "SoEnvironmentElement_set(SoState state, SoNode node, float ambientIntensity, \n" - " SbColor ambientColor, SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility)\n" - ""}, - { (char *)"SoEnvironmentElement_get", _wrap_SoEnvironmentElement_get, METH_VARARGS, (char *)"\n" - "SoEnvironmentElement_get(SoState state, float ambientIntensity, SbColor ambientColor, \n" - " SbVec3f attenuation, int32_t fogType, \n" - " SbColor fogColor, float fogVisibility, float fogStart)\n" - ""}, - { (char *)"SoEnvironmentElement_getAmbientIntensity", _wrap_SoEnvironmentElement_getAmbientIntensity, METH_VARARGS, (char *)"SoEnvironmentElement_getAmbientIntensity(SoState state) -> float"}, - { (char *)"SoEnvironmentElement_getFogVisibility", _wrap_SoEnvironmentElement_getFogVisibility, METH_VARARGS, (char *)"SoEnvironmentElement_getFogVisibility(SoState state) -> float"}, - { (char *)"SoEnvironmentElement_getLightAttenuation", _wrap_SoEnvironmentElement_getLightAttenuation, METH_VARARGS, (char *)"SoEnvironmentElement_getLightAttenuation(SoState state) -> SbVec3f"}, - { (char *)"SoEnvironmentElement_getAmbientColor", _wrap_SoEnvironmentElement_getAmbientColor, METH_VARARGS, (char *)"SoEnvironmentElement_getAmbientColor(SoState state) -> SbColor"}, - { (char *)"SoEnvironmentElement_getFogColor", _wrap_SoEnvironmentElement_getFogColor, METH_VARARGS, (char *)"SoEnvironmentElement_getFogColor(SoState state) -> SbColor"}, - { (char *)"SoEnvironmentElement_getFogType", _wrap_SoEnvironmentElement_getFogType, METH_VARARGS, (char *)"SoEnvironmentElement_getFogType(SoState state) -> int32_t"}, - { (char *)"SoEnvironmentElement_getDefault", _wrap_SoEnvironmentElement_getDefault, METH_VARARGS, (char *)"\n" - "SoEnvironmentElement_getDefault(float ambientIntensity, SbColor ambientColor, SbVec3f attenuation, \n" - " int32_t fogType, SbColor fogColor, \n" - " float fogVisibility, float fogNear)\n" - ""}, - { (char *)"SoEnvironmentElement_output", _wrap_SoEnvironmentElement_output, METH_VARARGS, (char *)"SoEnvironmentElement_output(SoEnvironmentElement self, FILE file)"}, - { (char *)"SoEnvironmentElement_swigregister", SoEnvironmentElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLEnvironmentElement_getClassTypeId", _wrap_SoGLEnvironmentElement_getClassTypeId, METH_VARARGS, (char *)"SoGLEnvironmentElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLEnvironmentElement_getClassStackIndex", _wrap_SoGLEnvironmentElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLEnvironmentElement_getClassStackIndex() -> int"}, - { (char *)"SoGLEnvironmentElement_createInstance", _wrap_SoGLEnvironmentElement_createInstance, METH_VARARGS, (char *)"SoGLEnvironmentElement_createInstance() -> void"}, - { (char *)"SoGLEnvironmentElement_initClass", _wrap_SoGLEnvironmentElement_initClass, METH_VARARGS, (char *)"SoGLEnvironmentElement_initClass()"}, - { (char *)"SoGLEnvironmentElement_init", _wrap_SoGLEnvironmentElement_init, METH_VARARGS, (char *)"SoGLEnvironmentElement_init(SoGLEnvironmentElement self, SoState state)"}, - { (char *)"SoGLEnvironmentElement_pop", _wrap_SoGLEnvironmentElement_pop, METH_VARARGS, (char *)"SoGLEnvironmentElement_pop(SoGLEnvironmentElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLEnvironmentElement_swigregister", SoGLEnvironmentElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontNameElement_getClassTypeId", _wrap_SoFontNameElement_getClassTypeId, METH_VARARGS, (char *)"SoFontNameElement_getClassTypeId() -> SoType"}, - { (char *)"SoFontNameElement_getClassStackIndex", _wrap_SoFontNameElement_getClassStackIndex, METH_VARARGS, (char *)"SoFontNameElement_getClassStackIndex() -> int"}, - { (char *)"SoFontNameElement_createInstance", _wrap_SoFontNameElement_createInstance, METH_VARARGS, (char *)"SoFontNameElement_createInstance() -> void"}, - { (char *)"SoFontNameElement_initClass", _wrap_SoFontNameElement_initClass, METH_VARARGS, (char *)"SoFontNameElement_initClass()"}, - { (char *)"SoFontNameElement_init", _wrap_SoFontNameElement_init, METH_VARARGS, (char *)"SoFontNameElement_init(SoFontNameElement self, SoState state)"}, - { (char *)"SoFontNameElement_set", _wrap_SoFontNameElement_set, METH_VARARGS, (char *)"SoFontNameElement_set(SoState state, SoNode node, SbName fontName)"}, - { (char *)"SoFontNameElement_get", _wrap_SoFontNameElement_get, METH_VARARGS, (char *)"SoFontNameElement_get(SoState state) -> SbName"}, - { (char *)"SoFontNameElement_getDefault", _wrap_SoFontNameElement_getDefault, METH_VARARGS, (char *)"SoFontNameElement_getDefault() -> SbName"}, - { (char *)"SoFontNameElement_matches", _wrap_SoFontNameElement_matches, METH_VARARGS, (char *)"SoFontNameElement_matches(SoFontNameElement self, SoElement element) -> SbBool"}, - { (char *)"SoFontNameElement_copyMatchInfo", _wrap_SoFontNameElement_copyMatchInfo, METH_VARARGS, (char *)"SoFontNameElement_copyMatchInfo(SoFontNameElement self) -> SoElement"}, - { (char *)"SoFontNameElement_output", _wrap_SoFontNameElement_output, METH_VARARGS, (char *)"SoFontNameElement_output(SoFontNameElement self, FILE file)"}, - { (char *)"SoFontNameElement_swigregister", SoFontNameElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightAttenuationElement_getClassTypeId", _wrap_SoLightAttenuationElement_getClassTypeId, METH_VARARGS, (char *)"SoLightAttenuationElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightAttenuationElement_getClassStackIndex", _wrap_SoLightAttenuationElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightAttenuationElement_getClassStackIndex() -> int"}, - { (char *)"SoLightAttenuationElement_createInstance", _wrap_SoLightAttenuationElement_createInstance, METH_VARARGS, (char *)"SoLightAttenuationElement_createInstance() -> void"}, - { (char *)"SoLightAttenuationElement_initClass", _wrap_SoLightAttenuationElement_initClass, METH_VARARGS, (char *)"SoLightAttenuationElement_initClass()"}, - { (char *)"SoLightAttenuationElement_init", _wrap_SoLightAttenuationElement_init, METH_VARARGS, (char *)"SoLightAttenuationElement_init(SoLightAttenuationElement self, SoState state)"}, - { (char *)"SoLightAttenuationElement_set", _wrap_SoLightAttenuationElement_set, METH_VARARGS, (char *)"SoLightAttenuationElement_set(SoState state, SoNode node, SbVec3f lightAttenuation)"}, - { (char *)"SoLightAttenuationElement_get", _wrap_SoLightAttenuationElement_get, METH_VARARGS, (char *)"SoLightAttenuationElement_get(SoState state) -> SbVec3f"}, - { (char *)"SoLightAttenuationElement_getDefault", _wrap_SoLightAttenuationElement_getDefault, METH_VARARGS, (char *)"SoLightAttenuationElement_getDefault() -> SbVec3f"}, - { (char *)"SoLightAttenuationElement_matches", _wrap_SoLightAttenuationElement_matches, METH_VARARGS, (char *)"SoLightAttenuationElement_matches(SoLightAttenuationElement self, SoElement element) -> SbBool"}, - { (char *)"SoLightAttenuationElement_copyMatchInfo", _wrap_SoLightAttenuationElement_copyMatchInfo, METH_VARARGS, (char *)"SoLightAttenuationElement_copyMatchInfo(SoLightAttenuationElement self) -> SoElement"}, - { (char *)"SoLightAttenuationElement_output", _wrap_SoLightAttenuationElement_output, METH_VARARGS, (char *)"SoLightAttenuationElement_output(SoLightAttenuationElement self, FILE file)"}, - { (char *)"SoLightAttenuationElement_swigregister", SoLightAttenuationElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPolygonOffsetElement_getClassTypeId", _wrap_SoPolygonOffsetElement_getClassTypeId, METH_VARARGS, (char *)"SoPolygonOffsetElement_getClassTypeId() -> SoType"}, - { (char *)"SoPolygonOffsetElement_getClassStackIndex", _wrap_SoPolygonOffsetElement_getClassStackIndex, METH_VARARGS, (char *)"SoPolygonOffsetElement_getClassStackIndex() -> int"}, - { (char *)"SoPolygonOffsetElement_createInstance", _wrap_SoPolygonOffsetElement_createInstance, METH_VARARGS, (char *)"SoPolygonOffsetElement_createInstance() -> void"}, - { (char *)"SoPolygonOffsetElement_initClass", _wrap_SoPolygonOffsetElement_initClass, METH_VARARGS, (char *)"SoPolygonOffsetElement_initClass()"}, - { (char *)"SoPolygonOffsetElement_init", _wrap_SoPolygonOffsetElement_init, METH_VARARGS, (char *)"SoPolygonOffsetElement_init(SoPolygonOffsetElement self, SoState state)"}, - { (char *)"SoPolygonOffsetElement_set", _wrap_SoPolygonOffsetElement_set, METH_VARARGS, (char *)"\n" - "SoPolygonOffsetElement_set(SoState state, SoNode node, float factor, float units, \n" - " Style styles, SbBool on)\n" - ""}, - { (char *)"SoPolygonOffsetElement_get", _wrap_SoPolygonOffsetElement_get, METH_VARARGS, (char *)"\n" - "SoPolygonOffsetElement_get(SoState state, float factor, float units, Style styles, \n" - " SbBool on)\n" - ""}, - { (char *)"SoPolygonOffsetElement_getDefault", _wrap_SoPolygonOffsetElement_getDefault, METH_VARARGS, (char *)"SoPolygonOffsetElement_getDefault(float factor, float units, Style styles, SbBool on)"}, - { (char *)"SoPolygonOffsetElement_swigregister", SoPolygonOffsetElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLPolygonOffsetElement_getClassTypeId", _wrap_SoGLPolygonOffsetElement_getClassTypeId, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLPolygonOffsetElement_getClassStackIndex", _wrap_SoGLPolygonOffsetElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_getClassStackIndex() -> int"}, - { (char *)"SoGLPolygonOffsetElement_createInstance", _wrap_SoGLPolygonOffsetElement_createInstance, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_createInstance() -> void"}, - { (char *)"SoGLPolygonOffsetElement_initClass", _wrap_SoGLPolygonOffsetElement_initClass, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_initClass()"}, - { (char *)"SoGLPolygonOffsetElement_init", _wrap_SoGLPolygonOffsetElement_init, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_init(SoGLPolygonOffsetElement self, SoState state)"}, - { (char *)"SoGLPolygonOffsetElement_push", _wrap_SoGLPolygonOffsetElement_push, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_push(SoGLPolygonOffsetElement self, SoState state)"}, - { (char *)"SoGLPolygonOffsetElement_pop", _wrap_SoGLPolygonOffsetElement_pop, METH_VARARGS, (char *)"SoGLPolygonOffsetElement_pop(SoGLPolygonOffsetElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLPolygonOffsetElement_swigregister", SoGLPolygonOffsetElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProjectionMatrixElement_getClassTypeId", _wrap_SoProjectionMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoProjectionMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoProjectionMatrixElement_getClassStackIndex", _wrap_SoProjectionMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoProjectionMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoProjectionMatrixElement_createInstance", _wrap_SoProjectionMatrixElement_createInstance, METH_VARARGS, (char *)"SoProjectionMatrixElement_createInstance() -> void"}, - { (char *)"SoProjectionMatrixElement_initClass", _wrap_SoProjectionMatrixElement_initClass, METH_VARARGS, (char *)"SoProjectionMatrixElement_initClass()"}, - { (char *)"SoProjectionMatrixElement_init", _wrap_SoProjectionMatrixElement_init, METH_VARARGS, (char *)"SoProjectionMatrixElement_init(SoProjectionMatrixElement self, SoState state)"}, - { (char *)"SoProjectionMatrixElement_set", _wrap_SoProjectionMatrixElement_set, METH_VARARGS, (char *)"SoProjectionMatrixElement_set(SoState state, SoNode node, SbMatrix matrix)"}, - { (char *)"SoProjectionMatrixElement_get", _wrap_SoProjectionMatrixElement_get, METH_VARARGS, (char *)"SoProjectionMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoProjectionMatrixElement_swigregister", SoProjectionMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLProjectionMatrixElement_getClassTypeId", _wrap_SoGLProjectionMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLProjectionMatrixElement_getClassStackIndex", _wrap_SoGLProjectionMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLProjectionMatrixElement_createInstance", _wrap_SoGLProjectionMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_createInstance() -> void"}, - { (char *)"SoGLProjectionMatrixElement_initClass", _wrap_SoGLProjectionMatrixElement_initClass, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_initClass()"}, - { (char *)"SoGLProjectionMatrixElement_pop", _wrap_SoGLProjectionMatrixElement_pop, METH_VARARGS, (char *)"SoGLProjectionMatrixElement_pop(SoGLProjectionMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLProjectionMatrixElement_swigregister", SoGLProjectionMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinateElement_getClassTypeId", _wrap_SoProfileCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinateElement_getClassStackIndex", _wrap_SoProfileCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoProfileCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoProfileCoordinateElement_createInstance", _wrap_SoProfileCoordinateElement_createInstance, METH_VARARGS, (char *)"SoProfileCoordinateElement_createInstance() -> void"}, - { (char *)"SoProfileCoordinateElement_initClass", _wrap_SoProfileCoordinateElement_initClass, METH_VARARGS, (char *)"SoProfileCoordinateElement_initClass()"}, - { (char *)"SoProfileCoordinateElement_init", _wrap_SoProfileCoordinateElement_init, METH_VARARGS, (char *)"SoProfileCoordinateElement_init(SoProfileCoordinateElement self, SoState state)"}, - { (char *)"SoProfileCoordinateElement_set2", _wrap_SoProfileCoordinateElement_set2, METH_VARARGS, (char *)"SoProfileCoordinateElement_set2(SoState state, SoNode node, int32_t numCoords, SbVec2f coords)"}, - { (char *)"SoProfileCoordinateElement_set3", _wrap_SoProfileCoordinateElement_set3, METH_VARARGS, (char *)"SoProfileCoordinateElement_set3(SoState state, SoNode node, int32_t numCoords, SbVec3f coords)"}, - { (char *)"SoProfileCoordinateElement_getInstance", _wrap_SoProfileCoordinateElement_getInstance, METH_VARARGS, (char *)"SoProfileCoordinateElement_getInstance(SoState state) -> SoProfileCoordinateElement"}, - { (char *)"SoProfileCoordinateElement_getNum", _wrap_SoProfileCoordinateElement_getNum, METH_VARARGS, (char *)"SoProfileCoordinateElement_getNum(SoProfileCoordinateElement self) -> int32_t"}, - { (char *)"SoProfileCoordinateElement_get2", _wrap_SoProfileCoordinateElement_get2, METH_VARARGS, (char *)"SoProfileCoordinateElement_get2(SoProfileCoordinateElement self, int index) -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_get3", _wrap_SoProfileCoordinateElement_get3, METH_VARARGS, (char *)"SoProfileCoordinateElement_get3(SoProfileCoordinateElement self, int index) -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_is2D", _wrap_SoProfileCoordinateElement_is2D, METH_VARARGS, (char *)"SoProfileCoordinateElement_is2D(SoProfileCoordinateElement self) -> SbBool"}, - { (char *)"SoProfileCoordinateElement_getDefault2", _wrap_SoProfileCoordinateElement_getDefault2, METH_VARARGS, (char *)"SoProfileCoordinateElement_getDefault2() -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_getDefault3", _wrap_SoProfileCoordinateElement_getDefault3, METH_VARARGS, (char *)"SoProfileCoordinateElement_getDefault3() -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_getArrayPtr2", _wrap_SoProfileCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoProfileCoordinateElement_getArrayPtr2(SoProfileCoordinateElement self) -> SbVec2f"}, - { (char *)"SoProfileCoordinateElement_getArrayPtr3", _wrap_SoProfileCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoProfileCoordinateElement_getArrayPtr3(SoProfileCoordinateElement self) -> SbVec3f"}, - { (char *)"SoProfileCoordinateElement_swigregister", SoProfileCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLTextureImageElement_getClassTypeId", _wrap_SoGLTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoGLTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLTextureImageElement_getClassStackIndex", _wrap_SoGLTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoGLTextureImageElement_createInstance", _wrap_SoGLTextureImageElement_createInstance, METH_VARARGS, (char *)"SoGLTextureImageElement_createInstance() -> void"}, - { (char *)"SoGLTextureImageElement_initClass", _wrap_SoGLTextureImageElement_initClass, METH_VARARGS, (char *)"SoGLTextureImageElement_initClass()"}, - { (char *)"SoGLTextureImageElement_init", _wrap_SoGLTextureImageElement_init, METH_VARARGS, (char *)"SoGLTextureImageElement_init(SoGLTextureImageElement self, SoState state)"}, - { (char *)"SoGLTextureImageElement_push", _wrap_SoGLTextureImageElement_push, METH_VARARGS, (char *)"SoGLTextureImageElement_push(SoGLTextureImageElement self, SoState state)"}, - { (char *)"SoGLTextureImageElement_pop", _wrap_SoGLTextureImageElement_pop, METH_VARARGS, (char *)"SoGLTextureImageElement_pop(SoGLTextureImageElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLTextureImageElement_set", _wrap_SoGLTextureImageElement_set, METH_VARARGS, (char *)"\n" - "SoGLTextureImageElement_set(SoState state, SoNode node, SoGLImage image, Model model, \n" - " SbColor blendColor)\n" - ""}, - { (char *)"SoGLTextureImageElement_get", _wrap_SoGLTextureImageElement_get, METH_VARARGS, (char *)"SoGLTextureImageElement_get(SoState state, Model model, SbColor blendcolor) -> SoGLImage"}, - { (char *)"SoGLTextureImageElement_getMaxGLTextureSize", _wrap_SoGLTextureImageElement_getMaxGLTextureSize, METH_VARARGS, (char *)"SoGLTextureImageElement_getMaxGLTextureSize() -> int32_t"}, - { (char *)"SoGLTextureImageElement_isTextureSizeLegal", _wrap_SoGLTextureImageElement_isTextureSizeLegal, METH_VARARGS, (char *)"\n" - "SoGLTextureImageElement_isTextureSizeLegal(SoGLTextureImageElement self, int xsize, int ysize, \n" - " int zsize, int bytespertexel) -> SbBool\n" - ""}, - { (char *)"SoGLTextureImageElement_swigregister", SoGLTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewingMatrixElement_getClassTypeId", _wrap_SoViewingMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoViewingMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewingMatrixElement_getClassStackIndex", _wrap_SoViewingMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewingMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoViewingMatrixElement_createInstance", _wrap_SoViewingMatrixElement_createInstance, METH_VARARGS, (char *)"SoViewingMatrixElement_createInstance() -> void"}, - { (char *)"SoViewingMatrixElement_initClass", _wrap_SoViewingMatrixElement_initClass, METH_VARARGS, (char *)"SoViewingMatrixElement_initClass()"}, - { (char *)"SoViewingMatrixElement_init", _wrap_SoViewingMatrixElement_init, METH_VARARGS, (char *)"SoViewingMatrixElement_init(SoViewingMatrixElement self, SoState state)"}, - { (char *)"SoViewingMatrixElement_set", _wrap_SoViewingMatrixElement_set, METH_VARARGS, (char *)"SoViewingMatrixElement_set(SoState state, SoNode node, SbMatrix ViewingMatrix)"}, - { (char *)"SoViewingMatrixElement_get", _wrap_SoViewingMatrixElement_get, METH_VARARGS, (char *)"SoViewingMatrixElement_get(SoState state) -> SbMatrix"}, - { (char *)"SoViewingMatrixElement_swigregister", SoViewingMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLViewingMatrixElement_getClassTypeId", _wrap_SoGLViewingMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLViewingMatrixElement_getClassStackIndex", _wrap_SoGLViewingMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLViewingMatrixElement_createInstance", _wrap_SoGLViewingMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLViewingMatrixElement_createInstance() -> void"}, - { (char *)"SoGLViewingMatrixElement_initClass", _wrap_SoGLViewingMatrixElement_initClass, METH_VARARGS, (char *)"SoGLViewingMatrixElement_initClass()"}, - { (char *)"SoGLViewingMatrixElement_init", _wrap_SoGLViewingMatrixElement_init, METH_VARARGS, (char *)"SoGLViewingMatrixElement_init(SoGLViewingMatrixElement self, SoState state)"}, - { (char *)"SoGLViewingMatrixElement_push", _wrap_SoGLViewingMatrixElement_push, METH_VARARGS, (char *)"SoGLViewingMatrixElement_push(SoGLViewingMatrixElement self, SoState state)"}, - { (char *)"SoGLViewingMatrixElement_pop", _wrap_SoGLViewingMatrixElement_pop, METH_VARARGS, (char *)"SoGLViewingMatrixElement_pop(SoGLViewingMatrixElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLViewingMatrixElement_getNodeId", _wrap_SoGLViewingMatrixElement_getNodeId, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getNodeId(SoState state) -> uint32_t"}, - { (char *)"SoGLViewingMatrixElement_getResetMatrix", _wrap_SoGLViewingMatrixElement_getResetMatrix, METH_VARARGS, (char *)"SoGLViewingMatrixElement_getResetMatrix(SoState state) -> SbMatrix"}, - { (char *)"SoGLViewingMatrixElement_swigregister", SoGLViewingMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewVolumeElement_getClassTypeId", _wrap_SoViewVolumeElement_getClassTypeId, METH_VARARGS, (char *)"SoViewVolumeElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewVolumeElement_getClassStackIndex", _wrap_SoViewVolumeElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewVolumeElement_getClassStackIndex() -> int"}, - { (char *)"SoViewVolumeElement_createInstance", _wrap_SoViewVolumeElement_createInstance, METH_VARARGS, (char *)"SoViewVolumeElement_createInstance() -> void"}, - { (char *)"SoViewVolumeElement_initClass", _wrap_SoViewVolumeElement_initClass, METH_VARARGS, (char *)"SoViewVolumeElement_initClass()"}, - { (char *)"SoViewVolumeElement_init", _wrap_SoViewVolumeElement_init, METH_VARARGS, (char *)"SoViewVolumeElement_init(SoViewVolumeElement self, SoState state)"}, - { (char *)"SoViewVolumeElement_set", _wrap_SoViewVolumeElement_set, METH_VARARGS, (char *)"SoViewVolumeElement_set(SoState state, SoNode node, SbViewVolume viewVolume)"}, - { (char *)"SoViewVolumeElement_get", _wrap_SoViewVolumeElement_get, METH_VARARGS, (char *)"SoViewVolumeElement_get(SoState state) -> SbViewVolume"}, - { (char *)"SoViewVolumeElement_swigregister", SoViewVolumeElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLShapeHintsElement_getClassTypeId", _wrap_SoGLShapeHintsElement_getClassTypeId, METH_VARARGS, (char *)"SoGLShapeHintsElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLShapeHintsElement_getClassStackIndex", _wrap_SoGLShapeHintsElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLShapeHintsElement_getClassStackIndex() -> int"}, - { (char *)"SoGLShapeHintsElement_createInstance", _wrap_SoGLShapeHintsElement_createInstance, METH_VARARGS, (char *)"SoGLShapeHintsElement_createInstance() -> void"}, - { (char *)"SoGLShapeHintsElement_initClass", _wrap_SoGLShapeHintsElement_initClass, METH_VARARGS, (char *)"SoGLShapeHintsElement_initClass()"}, - { (char *)"SoGLShapeHintsElement_init", _wrap_SoGLShapeHintsElement_init, METH_VARARGS, (char *)"SoGLShapeHintsElement_init(SoGLShapeHintsElement self, SoState state)"}, - { (char *)"SoGLShapeHintsElement_push", _wrap_SoGLShapeHintsElement_push, METH_VARARGS, (char *)"SoGLShapeHintsElement_push(SoGLShapeHintsElement self, SoState state)"}, - { (char *)"SoGLShapeHintsElement_pop", _wrap_SoGLShapeHintsElement_pop, METH_VARARGS, (char *)"SoGLShapeHintsElement_pop(SoGLShapeHintsElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLShapeHintsElement_forceSend", _wrap_SoGLShapeHintsElement_forceSend, METH_VARARGS, (char *)"\n" - "forceSend(SoState state, SbBool twoside)\n" - "forceSend(SoState state, SbBool ccw, SbBool cull)\n" - "SoGLShapeHintsElement_forceSend(SoState state, SbBool ccw, SbBool cull, SbBool twoside)\n" - ""}, - { (char *)"SoGLShapeHintsElement_swigregister", SoGLShapeHintsElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeStyleElement_getClassTypeId", _wrap_SoShapeStyleElement_getClassTypeId, METH_VARARGS, (char *)"SoShapeStyleElement_getClassTypeId() -> SoType"}, - { (char *)"SoShapeStyleElement_getClassStackIndex", _wrap_SoShapeStyleElement_getClassStackIndex, METH_VARARGS, (char *)"SoShapeStyleElement_getClassStackIndex() -> int"}, - { (char *)"SoShapeStyleElement_createInstance", _wrap_SoShapeStyleElement_createInstance, METH_VARARGS, (char *)"SoShapeStyleElement_createInstance() -> void"}, - { (char *)"SoShapeStyleElement_initClass", _wrap_SoShapeStyleElement_initClass, METH_VARARGS, (char *)"SoShapeStyleElement_initClass()"}, - { (char *)"SoShapeStyleElement_init", _wrap_SoShapeStyleElement_init, METH_VARARGS, (char *)"SoShapeStyleElement_init(SoShapeStyleElement self, SoState state)"}, - { (char *)"SoShapeStyleElement_push", _wrap_SoShapeStyleElement_push, METH_VARARGS, (char *)"SoShapeStyleElement_push(SoShapeStyleElement self, SoState state)"}, - { (char *)"SoShapeStyleElement_pop", _wrap_SoShapeStyleElement_pop, METH_VARARGS, (char *)"SoShapeStyleElement_pop(SoShapeStyleElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoShapeStyleElement_matches", _wrap_SoShapeStyleElement_matches, METH_VARARGS, (char *)"SoShapeStyleElement_matches(SoShapeStyleElement self, SoElement element) -> SbBool"}, - { (char *)"SoShapeStyleElement_copyMatchInfo", _wrap_SoShapeStyleElement_copyMatchInfo, METH_VARARGS, (char *)"SoShapeStyleElement_copyMatchInfo(SoShapeStyleElement self) -> SoElement"}, - { (char *)"SoShapeStyleElement_get", _wrap_SoShapeStyleElement_get, METH_VARARGS, (char *)"SoShapeStyleElement_get(SoState state) -> SoShapeStyleElement"}, - { (char *)"SoShapeStyleElement_getFlags", _wrap_SoShapeStyleElement_getFlags, METH_VARARGS, (char *)"SoShapeStyleElement_getFlags(SoShapeStyleElement self) -> unsigned int"}, - { (char *)"SoShapeStyleElement_mightNotRender", _wrap_SoShapeStyleElement_mightNotRender, METH_VARARGS, (char *)"SoShapeStyleElement_mightNotRender(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_needNormals", _wrap_SoShapeStyleElement_needNormals, METH_VARARGS, (char *)"SoShapeStyleElement_needNormals(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_needTexCoords", _wrap_SoShapeStyleElement_needTexCoords, METH_VARARGS, (char *)"SoShapeStyleElement_needTexCoords(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_getRenderCaseMask", _wrap_SoShapeStyleElement_getRenderCaseMask, METH_VARARGS, (char *)"SoShapeStyleElement_getRenderCaseMask(SoShapeStyleElement self) -> int"}, - { (char *)"SoShapeStyleElement_setDrawStyle", _wrap_SoShapeStyleElement_setDrawStyle, METH_VARARGS, (char *)"SoShapeStyleElement_setDrawStyle(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setComplexityType", _wrap_SoShapeStyleElement_setComplexityType, METH_VARARGS, (char *)"SoShapeStyleElement_setComplexityType(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setTransparencyType", _wrap_SoShapeStyleElement_setTransparencyType, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparencyType(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setTextureEnabled", _wrap_SoShapeStyleElement_setTextureEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setTextureEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTexture3Enabled", _wrap_SoShapeStyleElement_setTexture3Enabled, METH_VARARGS, (char *)"SoShapeStyleElement_setTexture3Enabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTextureFunction", _wrap_SoShapeStyleElement_setTextureFunction, METH_VARARGS, (char *)"SoShapeStyleElement_setTextureFunction(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setLightModel", _wrap_SoShapeStyleElement_setLightModel, METH_VARARGS, (char *)"SoShapeStyleElement_setLightModel(SoState state, int32_t value)"}, - { (char *)"SoShapeStyleElement_setOverrides", _wrap_SoShapeStyleElement_setOverrides, METH_VARARGS, (char *)"SoShapeStyleElement_setOverrides(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_isScreenDoor", _wrap_SoShapeStyleElement_isScreenDoor, METH_VARARGS, (char *)"SoShapeStyleElement_isScreenDoor(SoState state) -> SbBool"}, - { (char *)"SoShapeStyleElement_getTransparencyType", _wrap_SoShapeStyleElement_getTransparencyType, METH_VARARGS, (char *)"SoShapeStyleElement_getTransparencyType(SoState state) -> int"}, - { (char *)"SoShapeStyleElement_isTextureFunction", _wrap_SoShapeStyleElement_isTextureFunction, METH_VARARGS, (char *)"SoShapeStyleElement_isTextureFunction(SoShapeStyleElement self) -> SbBool"}, - { (char *)"SoShapeStyleElement_setBumpmapEnabled", _wrap_SoShapeStyleElement_setBumpmapEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setBumpmapEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setBigImageEnabled", _wrap_SoShapeStyleElement_setBigImageEnabled, METH_VARARGS, (char *)"SoShapeStyleElement_setBigImageEnabled(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setVertexArrayRendering", _wrap_SoShapeStyleElement_setVertexArrayRendering, METH_VARARGS, (char *)"SoShapeStyleElement_setVertexArrayRendering(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTransparentMaterial", _wrap_SoShapeStyleElement_setTransparentMaterial, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparentMaterial(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_setTransparentTexture", _wrap_SoShapeStyleElement_setTransparentTexture, METH_VARARGS, (char *)"SoShapeStyleElement_setTransparentTexture(SoState state, SbBool value)"}, - { (char *)"SoShapeStyleElement_swigregister", SoShapeStyleElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoViewportRegionElement_getClassTypeId", _wrap_SoViewportRegionElement_getClassTypeId, METH_VARARGS, (char *)"SoViewportRegionElement_getClassTypeId() -> SoType"}, - { (char *)"SoViewportRegionElement_getClassStackIndex", _wrap_SoViewportRegionElement_getClassStackIndex, METH_VARARGS, (char *)"SoViewportRegionElement_getClassStackIndex() -> int"}, - { (char *)"SoViewportRegionElement_createInstance", _wrap_SoViewportRegionElement_createInstance, METH_VARARGS, (char *)"SoViewportRegionElement_createInstance() -> void"}, - { (char *)"SoViewportRegionElement_initClass", _wrap_SoViewportRegionElement_initClass, METH_VARARGS, (char *)"SoViewportRegionElement_initClass()"}, - { (char *)"SoViewportRegionElement_init", _wrap_SoViewportRegionElement_init, METH_VARARGS, (char *)"SoViewportRegionElement_init(SoViewportRegionElement self, SoState state)"}, - { (char *)"SoViewportRegionElement_matches", _wrap_SoViewportRegionElement_matches, METH_VARARGS, (char *)"SoViewportRegionElement_matches(SoViewportRegionElement self, SoElement element) -> SbBool"}, - { (char *)"SoViewportRegionElement_copyMatchInfo", _wrap_SoViewportRegionElement_copyMatchInfo, METH_VARARGS, (char *)"SoViewportRegionElement_copyMatchInfo(SoViewportRegionElement self) -> SoElement"}, - { (char *)"SoViewportRegionElement_set", _wrap_SoViewportRegionElement_set, METH_VARARGS, (char *)"SoViewportRegionElement_set(SoState state, SbViewportRegion viewportRegion)"}, - { (char *)"SoViewportRegionElement_get", _wrap_SoViewportRegionElement_get, METH_VARARGS, (char *)"SoViewportRegionElement_get(SoState state) -> SbViewportRegion"}, - { (char *)"SoViewportRegionElement_output", _wrap_SoViewportRegionElement_output, METH_VARARGS, (char *)"SoViewportRegionElement_output(SoViewportRegionElement self, FILE file)"}, - { (char *)"SoViewportRegionElement_swigregister", SoViewportRegionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLViewportRegionElement_getClassTypeId", _wrap_SoGLViewportRegionElement_getClassTypeId, METH_VARARGS, (char *)"SoGLViewportRegionElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLViewportRegionElement_getClassStackIndex", _wrap_SoGLViewportRegionElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLViewportRegionElement_getClassStackIndex() -> int"}, - { (char *)"SoGLViewportRegionElement_createInstance", _wrap_SoGLViewportRegionElement_createInstance, METH_VARARGS, (char *)"SoGLViewportRegionElement_createInstance() -> void"}, - { (char *)"SoGLViewportRegionElement_initClass", _wrap_SoGLViewportRegionElement_initClass, METH_VARARGS, (char *)"SoGLViewportRegionElement_initClass()"}, - { (char *)"SoGLViewportRegionElement_init", _wrap_SoGLViewportRegionElement_init, METH_VARARGS, (char *)"SoGLViewportRegionElement_init(SoGLViewportRegionElement self, SoState state)"}, - { (char *)"SoGLViewportRegionElement_push", _wrap_SoGLViewportRegionElement_push, METH_VARARGS, (char *)"SoGLViewportRegionElement_push(SoGLViewportRegionElement self, SoState state)"}, - { (char *)"SoGLViewportRegionElement_pop", _wrap_SoGLViewportRegionElement_pop, METH_VARARGS, (char *)"SoGLViewportRegionElement_pop(SoGLViewportRegionElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLViewportRegionElement_swigregister", SoGLViewportRegionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWindowElement_getClassTypeId", _wrap_SoWindowElement_getClassTypeId, METH_VARARGS, (char *)"SoWindowElement_getClassTypeId() -> SoType"}, - { (char *)"SoWindowElement_getClassStackIndex", _wrap_SoWindowElement_getClassStackIndex, METH_VARARGS, (char *)"SoWindowElement_getClassStackIndex() -> int"}, - { (char *)"SoWindowElement_createInstance", _wrap_SoWindowElement_createInstance, METH_VARARGS, (char *)"SoWindowElement_createInstance() -> void"}, - { (char *)"SoWindowElement_initClass", _wrap_SoWindowElement_initClass, METH_VARARGS, (char *)"SoWindowElement_initClass()"}, - { (char *)"SoWindowElement_init", _wrap_SoWindowElement_init, METH_VARARGS, (char *)"SoWindowElement_init(SoWindowElement self, SoState state)"}, - { (char *)"SoWindowElement_push", _wrap_SoWindowElement_push, METH_VARARGS, (char *)"SoWindowElement_push(SoWindowElement self, SoState state)"}, - { (char *)"SoWindowElement_pop", _wrap_SoWindowElement_pop, METH_VARARGS, (char *)"SoWindowElement_pop(SoWindowElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoWindowElement_matches", _wrap_SoWindowElement_matches, METH_VARARGS, (char *)"SoWindowElement_matches(SoWindowElement self, SoElement element) -> SbBool"}, - { (char *)"SoWindowElement_copyMatchInfo", _wrap_SoWindowElement_copyMatchInfo, METH_VARARGS, (char *)"SoWindowElement_copyMatchInfo(SoWindowElement self) -> SoElement"}, - { (char *)"SoWindowElement_set", _wrap_SoWindowElement_set, METH_VARARGS, (char *)"\n" - "SoWindowElement_set(SoState state, void window, void context, void display, \n" - " SoGLRenderAction action)\n" - ""}, - { (char *)"SoWindowElement_get", _wrap_SoWindowElement_get, METH_VARARGS, (char *)"\n" - "SoWindowElement_get(SoState state, void window, void context, void display, \n" - " SoGLRenderAction action)\n" - ""}, - { (char *)"SoWindowElement_swigregister", SoWindowElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLCacheContextElement_getClassTypeId", _wrap_SoGLCacheContextElement_getClassTypeId, METH_VARARGS, (char *)"SoGLCacheContextElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLCacheContextElement_getClassStackIndex", _wrap_SoGLCacheContextElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLCacheContextElement_getClassStackIndex() -> int"}, - { (char *)"SoGLCacheContextElement_createInstance", _wrap_SoGLCacheContextElement_createInstance, METH_VARARGS, (char *)"SoGLCacheContextElement_createInstance() -> void"}, - { (char *)"SoGLCacheContextElement_initClass", _wrap_SoGLCacheContextElement_initClass, METH_VARARGS, (char *)"SoGLCacheContextElement_initClass()"}, - { (char *)"SoGLCacheContextElement_init", _wrap_SoGLCacheContextElement_init, METH_VARARGS, (char *)"SoGLCacheContextElement_init(SoGLCacheContextElement self, SoState state)"}, - { (char *)"SoGLCacheContextElement_matches", _wrap_SoGLCacheContextElement_matches, METH_VARARGS, (char *)"SoGLCacheContextElement_matches(SoGLCacheContextElement self, SoElement elt) -> SbBool"}, - { (char *)"SoGLCacheContextElement_copyMatchInfo", _wrap_SoGLCacheContextElement_copyMatchInfo, METH_VARARGS, (char *)"SoGLCacheContextElement_copyMatchInfo(SoGLCacheContextElement self) -> SoElement"}, - { (char *)"SoGLCacheContextElement_set", _wrap_SoGLCacheContextElement_set, METH_VARARGS, (char *)"\n" - "SoGLCacheContextElement_set(SoState state, int context, SbBool twopasstransparency, \n" - " SbBool remoterendering)\n" - ""}, - { (char *)"SoGLCacheContextElement_get", _wrap_SoGLCacheContextElement_get, METH_VARARGS, (char *)"SoGLCacheContextElement_get(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_getExtID", _wrap_SoGLCacheContextElement_getExtID, METH_VARARGS, (char *)"SoGLCacheContextElement_getExtID(char str) -> int"}, - { (char *)"SoGLCacheContextElement_getOpenGLVersion", _wrap_SoGLCacheContextElement_getOpenGLVersion, METH_VARARGS, (char *)"SoGLCacheContextElement_getOpenGLVersion(SoState state, int major, int minor)"}, - { (char *)"SoGLCacheContextElement_extSupported", _wrap_SoGLCacheContextElement_extSupported, METH_VARARGS, (char *)"SoGLCacheContextElement_extSupported(SoState state, int extid) -> SbBool"}, - { (char *)"SoGLCacheContextElement_areMipMapsFast", _wrap_SoGLCacheContextElement_areMipMapsFast, METH_VARARGS, (char *)"SoGLCacheContextElement_areMipMapsFast(SoState state) -> SbBool"}, - { (char *)"SoGLCacheContextElement_shouldAutoCache", _wrap_SoGLCacheContextElement_shouldAutoCache, METH_VARARGS, (char *)"SoGLCacheContextElement_shouldAutoCache(SoState state, int bits)"}, - { (char *)"SoGLCacheContextElement_setAutoCacheBits", _wrap_SoGLCacheContextElement_setAutoCacheBits, METH_VARARGS, (char *)"SoGLCacheContextElement_setAutoCacheBits(SoState state, int bits)"}, - { (char *)"SoGLCacheContextElement_resetAutoCacheBits", _wrap_SoGLCacheContextElement_resetAutoCacheBits, METH_VARARGS, (char *)"SoGLCacheContextElement_resetAutoCacheBits(SoState state) -> int"}, - { (char *)"SoGLCacheContextElement_getIsRemoteRendering", _wrap_SoGLCacheContextElement_getIsRemoteRendering, METH_VARARGS, (char *)"SoGLCacheContextElement_getIsRemoteRendering(SoState state) -> SbBool"}, - { (char *)"SoGLCacheContextElement_getUniqueCacheContext", _wrap_SoGLCacheContextElement_getUniqueCacheContext, METH_VARARGS, (char *)"SoGLCacheContextElement_getUniqueCacheContext() -> uint32_t"}, - { (char *)"SoGLCacheContextElement_scheduleDeleteCallback", _wrap_SoGLCacheContextElement_scheduleDeleteCallback, METH_VARARGS, (char *)"SoGLCacheContextElement_scheduleDeleteCallback(uint32_t contextid, SoScheduleDeleteCB cb, void closure)"}, - { (char *)"SoGLCacheContextElement_swigregister", SoGLCacheContextElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLDisplayList", _wrap_new_SoGLDisplayList, METH_VARARGS, (char *)"\n" - "SoGLDisplayList(SoState state, Type type, int allocnum=1, SbBool mipmaptexobj=0)\n" - "SoGLDisplayList(SoState state, Type type, int allocnum=1)\n" - "new_SoGLDisplayList(SoState state, Type type) -> SoGLDisplayList\n" - ""}, - { (char *)"SoGLDisplayList_ref", _wrap_SoGLDisplayList_ref, METH_VARARGS, (char *)"SoGLDisplayList_ref(SoGLDisplayList self)"}, - { (char *)"SoGLDisplayList_unref", _wrap_SoGLDisplayList_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLDisplayList_unref(SoGLDisplayList self)\n" - ""}, - { (char *)"SoGLDisplayList_open", _wrap_SoGLDisplayList_open, METH_VARARGS, (char *)"\n" - "open(SoState state, int index=0)\n" - "SoGLDisplayList_open(SoGLDisplayList self, SoState state)\n" - ""}, - { (char *)"SoGLDisplayList_close", _wrap_SoGLDisplayList_close, METH_VARARGS, (char *)"SoGLDisplayList_close(SoGLDisplayList self, SoState state)"}, - { (char *)"SoGLDisplayList_call", _wrap_SoGLDisplayList_call, METH_VARARGS, (char *)"\n" - "call(SoState state, int index=0)\n" - "SoGLDisplayList_call(SoGLDisplayList self, SoState state)\n" - ""}, - { (char *)"SoGLDisplayList_addDependency", _wrap_SoGLDisplayList_addDependency, METH_VARARGS, (char *)"SoGLDisplayList_addDependency(SoGLDisplayList self, SoState state)"}, - { (char *)"SoGLDisplayList_isMipMapTextureObject", _wrap_SoGLDisplayList_isMipMapTextureObject, METH_VARARGS, (char *)"SoGLDisplayList_isMipMapTextureObject(SoGLDisplayList self) -> SbBool"}, - { (char *)"SoGLDisplayList_getType", _wrap_SoGLDisplayList_getType, METH_VARARGS, (char *)"SoGLDisplayList_getType(SoGLDisplayList self) -> Type"}, - { (char *)"SoGLDisplayList_getNumAllocated", _wrap_SoGLDisplayList_getNumAllocated, METH_VARARGS, (char *)"SoGLDisplayList_getNumAllocated(SoGLDisplayList self) -> int"}, - { (char *)"SoGLDisplayList_getFirstIndex", _wrap_SoGLDisplayList_getFirstIndex, METH_VARARGS, (char *)"SoGLDisplayList_getFirstIndex(SoGLDisplayList self) -> unsigned int"}, - { (char *)"SoGLDisplayList_getContext", _wrap_SoGLDisplayList_getContext, METH_VARARGS, (char *)"SoGLDisplayList_getContext(SoGLDisplayList self) -> int"}, - { (char *)"SoGLDisplayList_swigregister", SoGLDisplayList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLColorIndexElement_getClassTypeId", _wrap_SoGLColorIndexElement_getClassTypeId, METH_VARARGS, (char *)"SoGLColorIndexElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLColorIndexElement_getClassStackIndex", _wrap_SoGLColorIndexElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLColorIndexElement_getClassStackIndex() -> int"}, - { (char *)"SoGLColorIndexElement_createInstance", _wrap_SoGLColorIndexElement_createInstance, METH_VARARGS, (char *)"SoGLColorIndexElement_createInstance() -> void"}, - { (char *)"SoGLColorIndexElement_initClass", _wrap_SoGLColorIndexElement_initClass, METH_VARARGS, (char *)"SoGLColorIndexElement_initClass()"}, - { (char *)"SoGLColorIndexElement_isColorIndexMode", _wrap_SoGLColorIndexElement_isColorIndexMode, METH_VARARGS, (char *)"SoGLColorIndexElement_isColorIndexMode(SoState state) -> SbBool"}, - { (char *)"SoGLColorIndexElement_init", _wrap_SoGLColorIndexElement_init, METH_VARARGS, (char *)"SoGLColorIndexElement_init(SoGLColorIndexElement self, SoState state)"}, - { (char *)"SoGLColorIndexElement_set", _wrap_SoGLColorIndexElement_set, METH_VARARGS, (char *)"SoGLColorIndexElement_set(SoState state, SoNode node, int32_t numindices, int32_t indices)"}, - { (char *)"SoGLColorIndexElement_getInstance", _wrap_SoGLColorIndexElement_getInstance, METH_VARARGS, (char *)"SoGLColorIndexElement_getInstance(SoState state) -> SoGLColorIndexElement"}, - { (char *)"SoGLColorIndexElement_getNum", _wrap_SoGLColorIndexElement_getNum, METH_VARARGS, (char *)"SoGLColorIndexElement_getNum(SoGLColorIndexElement self) -> int32_t"}, - { (char *)"SoGLColorIndexElement_get", _wrap_SoGLColorIndexElement_get, METH_VARARGS, (char *)"SoGLColorIndexElement_get(SoGLColorIndexElement self, int index) -> int32_t"}, - { (char *)"SoGLColorIndexElement_getDefault", _wrap_SoGLColorIndexElement_getDefault, METH_VARARGS, (char *)"SoGLColorIndexElement_getDefault() -> int32_t"}, - { (char *)"SoGLColorIndexElement_swigregister", SoGLColorIndexElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerPositionElement_getClassTypeId", _wrap_SoListenerPositionElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerPositionElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerPositionElement_getClassStackIndex", _wrap_SoListenerPositionElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerPositionElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerPositionElement_createInstance", _wrap_SoListenerPositionElement_createInstance, METH_VARARGS, (char *)"SoListenerPositionElement_createInstance() -> void"}, - { (char *)"SoListenerPositionElement_initClass", _wrap_SoListenerPositionElement_initClass, METH_VARARGS, (char *)"SoListenerPositionElement_initClass()"}, - { (char *)"SoListenerPositionElement_init", _wrap_SoListenerPositionElement_init, METH_VARARGS, (char *)"SoListenerPositionElement_init(SoListenerPositionElement self, SoState state)"}, - { (char *)"SoListenerPositionElement_set", _wrap_SoListenerPositionElement_set, METH_VARARGS, (char *)"SoListenerPositionElement_set(SoState state, SoNode node, SbVec3f position, SbBool setbylistener)"}, - { (char *)"SoListenerPositionElement_get", _wrap_SoListenerPositionElement_get, METH_VARARGS, (char *)"SoListenerPositionElement_get(SoState state) -> SbVec3f"}, - { (char *)"SoListenerPositionElement_isSetByListener", _wrap_SoListenerPositionElement_isSetByListener, METH_VARARGS, (char *)"SoListenerPositionElement_isSetByListener(SoState state) -> SbBool"}, - { (char *)"SoListenerPositionElement_output", _wrap_SoListenerPositionElement_output, METH_VARARGS, (char *)"SoListenerPositionElement_output(SoListenerPositionElement self, FILE file)"}, - { (char *)"SoListenerPositionElement_swigregister", SoListenerPositionElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerOrientationElement_getClassTypeId", _wrap_SoListenerOrientationElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerOrientationElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerOrientationElement_getClassStackIndex", _wrap_SoListenerOrientationElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerOrientationElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerOrientationElement_createInstance", _wrap_SoListenerOrientationElement_createInstance, METH_VARARGS, (char *)"SoListenerOrientationElement_createInstance() -> void"}, - { (char *)"SoListenerOrientationElement_initClass", _wrap_SoListenerOrientationElement_initClass, METH_VARARGS, (char *)"SoListenerOrientationElement_initClass()"}, - { (char *)"SoListenerOrientationElement_init", _wrap_SoListenerOrientationElement_init, METH_VARARGS, (char *)"SoListenerOrientationElement_init(SoListenerOrientationElement self, SoState state)"}, - { (char *)"SoListenerOrientationElement_set", _wrap_SoListenerOrientationElement_set, METH_VARARGS, (char *)"\n" - "SoListenerOrientationElement_set(SoState state, SoNode node, SbRotation orientation, \n" - " SbBool setbylistener)\n" - ""}, - { (char *)"SoListenerOrientationElement_get", _wrap_SoListenerOrientationElement_get, METH_VARARGS, (char *)"SoListenerOrientationElement_get(SoState state) -> SbRotation"}, - { (char *)"SoListenerOrientationElement_isSetByListener", _wrap_SoListenerOrientationElement_isSetByListener, METH_VARARGS, (char *)"SoListenerOrientationElement_isSetByListener(SoState state) -> SbBool"}, - { (char *)"SoListenerOrientationElement_output", _wrap_SoListenerOrientationElement_output, METH_VARARGS, (char *)"SoListenerOrientationElement_output(SoListenerOrientationElement self, FILE file)"}, - { (char *)"SoListenerOrientationElement_swigregister", SoListenerOrientationElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerDopplerElement_getClassTypeId", _wrap_SoListenerDopplerElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerDopplerElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerDopplerElement_getClassStackIndex", _wrap_SoListenerDopplerElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerDopplerElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerDopplerElement_createInstance", _wrap_SoListenerDopplerElement_createInstance, METH_VARARGS, (char *)"SoListenerDopplerElement_createInstance() -> void"}, - { (char *)"SoListenerDopplerElement_initClass", _wrap_SoListenerDopplerElement_initClass, METH_VARARGS, (char *)"SoListenerDopplerElement_initClass()"}, - { (char *)"SoListenerDopplerElement_init", _wrap_SoListenerDopplerElement_init, METH_VARARGS, (char *)"SoListenerDopplerElement_init(SoListenerDopplerElement self, SoState state)"}, - { (char *)"SoListenerDopplerElement_setDopplerVelocity", _wrap_SoListenerDopplerElement_setDopplerVelocity, METH_VARARGS, (char *)"SoListenerDopplerElement_setDopplerVelocity(SoState state, SoNode node, SbVec3f velocity)"}, - { (char *)"SoListenerDopplerElement_setDopplerFactor", _wrap_SoListenerDopplerElement_setDopplerFactor, METH_VARARGS, (char *)"SoListenerDopplerElement_setDopplerFactor(SoState state, SoNode node, float factor)"}, - { (char *)"SoListenerDopplerElement_getDopplerVelocity", _wrap_SoListenerDopplerElement_getDopplerVelocity, METH_VARARGS, (char *)"SoListenerDopplerElement_getDopplerVelocity(SoState state) -> SbVec3f"}, - { (char *)"SoListenerDopplerElement_getDopplerFactor", _wrap_SoListenerDopplerElement_getDopplerFactor, METH_VARARGS, (char *)"SoListenerDopplerElement_getDopplerFactor(SoState state) -> float"}, - { (char *)"SoListenerDopplerElement_output", _wrap_SoListenerDopplerElement_output, METH_VARARGS, (char *)"SoListenerDopplerElement_output(SoListenerDopplerElement self, FILE file)"}, - { (char *)"SoListenerDopplerElement_swigregister", SoListenerDopplerElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListenerGainElement_getClassTypeId", _wrap_SoListenerGainElement_getClassTypeId, METH_VARARGS, (char *)"SoListenerGainElement_getClassTypeId() -> SoType"}, - { (char *)"SoListenerGainElement_getClassStackIndex", _wrap_SoListenerGainElement_getClassStackIndex, METH_VARARGS, (char *)"SoListenerGainElement_getClassStackIndex() -> int"}, - { (char *)"SoListenerGainElement_createInstance", _wrap_SoListenerGainElement_createInstance, METH_VARARGS, (char *)"SoListenerGainElement_createInstance() -> void"}, - { (char *)"SoListenerGainElement_initClass", _wrap_SoListenerGainElement_initClass, METH_VARARGS, (char *)"SoListenerGainElement_initClass()"}, - { (char *)"SoListenerGainElement_init", _wrap_SoListenerGainElement_init, METH_VARARGS, (char *)"SoListenerGainElement_init(SoListenerGainElement self, SoState state)"}, - { (char *)"SoListenerGainElement_set", _wrap_SoListenerGainElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, float gain)\n" - "SoListenerGainElement_set(SoState state, float gain)\n" - ""}, - { (char *)"SoListenerGainElement_get", _wrap_SoListenerGainElement_get, METH_VARARGS, (char *)"SoListenerGainElement_get(SoState state) -> float"}, - { (char *)"SoListenerGainElement_swigregister", SoListenerGainElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSoundElement_getClassTypeId", _wrap_SoSoundElement_getClassTypeId, METH_VARARGS, (char *)"SoSoundElement_getClassTypeId() -> SoType"}, - { (char *)"SoSoundElement_getClassStackIndex", _wrap_SoSoundElement_getClassStackIndex, METH_VARARGS, (char *)"SoSoundElement_getClassStackIndex() -> int"}, - { (char *)"SoSoundElement_createInstance", _wrap_SoSoundElement_createInstance, METH_VARARGS, (char *)"SoSoundElement_createInstance() -> void"}, - { (char *)"SoSoundElement_initClass", _wrap_SoSoundElement_initClass, METH_VARARGS, (char *)"SoSoundElement_initClass()"}, - { (char *)"SoSoundElement_init", _wrap_SoSoundElement_init, METH_VARARGS, (char *)"SoSoundElement_init(SoSoundElement self, SoState state)"}, - { (char *)"SoSoundElement_set", _wrap_SoSoundElement_set, METH_VARARGS, (char *)"\n" - "SoSoundElement_set(SoState state, SoNode node, SbBool scenegraphhassoundnode, \n" - " SbBool soundnodeisplaying, SbBool ispartofactivescenegraph)\n" - ""}, - { (char *)"SoSoundElement_setSceneGraphHasSoundNode", _wrap_SoSoundElement_setSceneGraphHasSoundNode, METH_VARARGS, (char *)"SoSoundElement_setSceneGraphHasSoundNode(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_sceneGraphHasSoundNode", _wrap_SoSoundElement_sceneGraphHasSoundNode, METH_VARARGS, (char *)"SoSoundElement_sceneGraphHasSoundNode(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_setSoundNodeIsPlaying", _wrap_SoSoundElement_setSoundNodeIsPlaying, METH_VARARGS, (char *)"SoSoundElement_setSoundNodeIsPlaying(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_soundNodeIsPlaying", _wrap_SoSoundElement_soundNodeIsPlaying, METH_VARARGS, (char *)"SoSoundElement_soundNodeIsPlaying(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_setIsPartOfActiveSceneGraph", _wrap_SoSoundElement_setIsPartOfActiveSceneGraph, METH_VARARGS, (char *)"SoSoundElement_setIsPartOfActiveSceneGraph(SoState state, SoNode node, SbBool flag) -> SbBool"}, - { (char *)"SoSoundElement_isPartOfActiveSceneGraph", _wrap_SoSoundElement_isPartOfActiveSceneGraph, METH_VARARGS, (char *)"SoSoundElement_isPartOfActiveSceneGraph(SoState state) -> SbBool"}, - { (char *)"SoSoundElement_push", _wrap_SoSoundElement_push, METH_VARARGS, (char *)"SoSoundElement_push(SoSoundElement self, SoState state)"}, - { (char *)"SoSoundElement_pop", _wrap_SoSoundElement_pop, METH_VARARGS, (char *)"SoSoundElement_pop(SoSoundElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoSoundElement_output", _wrap_SoSoundElement_output, METH_VARARGS, (char *)"SoSoundElement_output(SoSoundElement self, FILE file)"}, - { (char *)"SoSoundElement_swigregister", SoSoundElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpecularColorElement_getClassTypeId", _wrap_SoSpecularColorElement_getClassTypeId, METH_VARARGS, (char *)"SoSpecularColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoSpecularColorElement_getClassStackIndex", _wrap_SoSpecularColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoSpecularColorElement_getClassStackIndex() -> int"}, - { (char *)"SoSpecularColorElement_createInstance", _wrap_SoSpecularColorElement_createInstance, METH_VARARGS, (char *)"SoSpecularColorElement_createInstance() -> void"}, - { (char *)"SoSpecularColorElement_initClass", _wrap_SoSpecularColorElement_initClass, METH_VARARGS, (char *)"SoSpecularColorElement_initClass()"}, - { (char *)"SoSpecularColorElement_init", _wrap_SoSpecularColorElement_init, METH_VARARGS, (char *)"SoSpecularColorElement_init(SoSpecularColorElement self, SoState state)"}, - { (char *)"SoSpecularColorElement_set", _wrap_SoSpecularColorElement_set, METH_VARARGS, (char *)"SoSpecularColorElement_set(SoState state, SoNode node, int32_t numColors, SbColor colors)"}, - { (char *)"SoSpecularColorElement_getInstance", _wrap_SoSpecularColorElement_getInstance, METH_VARARGS, (char *)"SoSpecularColorElement_getInstance(SoState state) -> SoSpecularColorElement"}, - { (char *)"SoSpecularColorElement_getNum", _wrap_SoSpecularColorElement_getNum, METH_VARARGS, (char *)"SoSpecularColorElement_getNum(SoSpecularColorElement self) -> int32_t"}, - { (char *)"SoSpecularColorElement_get", _wrap_SoSpecularColorElement_get, METH_VARARGS, (char *)"SoSpecularColorElement_get(SoSpecularColorElement self, int index) -> SbColor"}, - { (char *)"SoSpecularColorElement_getArrayPtr", _wrap_SoSpecularColorElement_getArrayPtr, METH_VARARGS, (char *)"SoSpecularColorElement_getArrayPtr(SoSpecularColorElement self) -> SbColor"}, - { (char *)"SoSpecularColorElement_swigregister", SoSpecularColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEmissiveColorElement_getClassTypeId", _wrap_SoEmissiveColorElement_getClassTypeId, METH_VARARGS, (char *)"SoEmissiveColorElement_getClassTypeId() -> SoType"}, - { (char *)"SoEmissiveColorElement_getClassStackIndex", _wrap_SoEmissiveColorElement_getClassStackIndex, METH_VARARGS, (char *)"SoEmissiveColorElement_getClassStackIndex() -> int"}, - { (char *)"SoEmissiveColorElement_createInstance", _wrap_SoEmissiveColorElement_createInstance, METH_VARARGS, (char *)"SoEmissiveColorElement_createInstance() -> void"}, - { (char *)"SoEmissiveColorElement_initClass", _wrap_SoEmissiveColorElement_initClass, METH_VARARGS, (char *)"SoEmissiveColorElement_initClass()"}, - { (char *)"SoEmissiveColorElement_init", _wrap_SoEmissiveColorElement_init, METH_VARARGS, (char *)"SoEmissiveColorElement_init(SoEmissiveColorElement self, SoState state)"}, - { (char *)"SoEmissiveColorElement_set", _wrap_SoEmissiveColorElement_set, METH_VARARGS, (char *)"SoEmissiveColorElement_set(SoState state, SoNode node, int32_t numcolors, SbColor colors)"}, - { (char *)"SoEmissiveColorElement_getInstance", _wrap_SoEmissiveColorElement_getInstance, METH_VARARGS, (char *)"SoEmissiveColorElement_getInstance(SoState state) -> SoEmissiveColorElement"}, - { (char *)"SoEmissiveColorElement_getNum", _wrap_SoEmissiveColorElement_getNum, METH_VARARGS, (char *)"SoEmissiveColorElement_getNum(SoEmissiveColorElement self) -> int32_t"}, - { (char *)"SoEmissiveColorElement_get", _wrap_SoEmissiveColorElement_get, METH_VARARGS, (char *)"SoEmissiveColorElement_get(SoEmissiveColorElement self, int index) -> SbColor"}, - { (char *)"SoEmissiveColorElement_getArrayPtr", _wrap_SoEmissiveColorElement_getArrayPtr, METH_VARARGS, (char *)"SoEmissiveColorElement_getArrayPtr(SoEmissiveColorElement self) -> SbColor"}, - { (char *)"SoEmissiveColorElement_swigregister", SoEmissiveColorElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShininessElement_getClassTypeId", _wrap_SoShininessElement_getClassTypeId, METH_VARARGS, (char *)"SoShininessElement_getClassTypeId() -> SoType"}, - { (char *)"SoShininessElement_getClassStackIndex", _wrap_SoShininessElement_getClassStackIndex, METH_VARARGS, (char *)"SoShininessElement_getClassStackIndex() -> int"}, - { (char *)"SoShininessElement_createInstance", _wrap_SoShininessElement_createInstance, METH_VARARGS, (char *)"SoShininessElement_createInstance() -> void"}, - { (char *)"SoShininessElement_initClass", _wrap_SoShininessElement_initClass, METH_VARARGS, (char *)"SoShininessElement_initClass()"}, - { (char *)"SoShininessElement_init", _wrap_SoShininessElement_init, METH_VARARGS, (char *)"SoShininessElement_init(SoShininessElement self, SoState state)"}, - { (char *)"SoShininessElement_set", _wrap_SoShininessElement_set, METH_VARARGS, (char *)"SoShininessElement_set(SoState state, SoNode node, int32_t numvalues, float values)"}, - { (char *)"SoShininessElement_getInstance", _wrap_SoShininessElement_getInstance, METH_VARARGS, (char *)"SoShininessElement_getInstance(SoState state) -> SoShininessElement"}, - { (char *)"SoShininessElement_getNum", _wrap_SoShininessElement_getNum, METH_VARARGS, (char *)"SoShininessElement_getNum(SoShininessElement self) -> int32_t"}, - { (char *)"SoShininessElement_get", _wrap_SoShininessElement_get, METH_VARARGS, (char *)"SoShininessElement_get(SoShininessElement self, int index) -> float"}, - { (char *)"SoShininessElement_getArrayPtr", _wrap_SoShininessElement_getArrayPtr, METH_VARARGS, (char *)"SoShininessElement_getArrayPtr(SoShininessElement self) -> float"}, - { (char *)"SoShininessElement_swigregister", SoShininessElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransparencyElement_getClassTypeId", _wrap_SoTransparencyElement_getClassTypeId, METH_VARARGS, (char *)"SoTransparencyElement_getClassTypeId() -> SoType"}, - { (char *)"SoTransparencyElement_getClassStackIndex", _wrap_SoTransparencyElement_getClassStackIndex, METH_VARARGS, (char *)"SoTransparencyElement_getClassStackIndex() -> int"}, - { (char *)"SoTransparencyElement_createInstance", _wrap_SoTransparencyElement_createInstance, METH_VARARGS, (char *)"SoTransparencyElement_createInstance() -> void"}, - { (char *)"SoTransparencyElement_initClass", _wrap_SoTransparencyElement_initClass, METH_VARARGS, (char *)"SoTransparencyElement_initClass()"}, - { (char *)"SoTransparencyElement_init", _wrap_SoTransparencyElement_init, METH_VARARGS, (char *)"SoTransparencyElement_init(SoTransparencyElement self, SoState state)"}, - { (char *)"SoTransparencyElement_set", _wrap_SoTransparencyElement_set, METH_VARARGS, (char *)"SoTransparencyElement_set(SoState state, SoNode node, int32_t numvalues, float values)"}, - { (char *)"SoTransparencyElement_getInstance", _wrap_SoTransparencyElement_getInstance, METH_VARARGS, (char *)"SoTransparencyElement_getInstance(SoState state) -> SoTransparencyElement"}, - { (char *)"SoTransparencyElement_getNum", _wrap_SoTransparencyElement_getNum, METH_VARARGS, (char *)"SoTransparencyElement_getNum(SoTransparencyElement self) -> int32_t"}, - { (char *)"SoTransparencyElement_get", _wrap_SoTransparencyElement_get, METH_VARARGS, (char *)"SoTransparencyElement_get(SoTransparencyElement self, int index) -> float"}, - { (char *)"SoTransparencyElement_getArrayPtr", _wrap_SoTransparencyElement_getArrayPtr, METH_VARARGS, (char *)"SoTransparencyElement_getArrayPtr(SoTransparencyElement self) -> float"}, - { (char *)"SoTransparencyElement_swigregister", SoTransparencyElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightModelElement_getClassTypeId", _wrap_SoLightModelElement_getClassTypeId, METH_VARARGS, (char *)"SoLightModelElement_getClassTypeId() -> SoType"}, - { (char *)"SoLightModelElement_getClassStackIndex", _wrap_SoLightModelElement_getClassStackIndex, METH_VARARGS, (char *)"SoLightModelElement_getClassStackIndex() -> int"}, - { (char *)"SoLightModelElement_createInstance", _wrap_SoLightModelElement_createInstance, METH_VARARGS, (char *)"SoLightModelElement_createInstance() -> void"}, - { (char *)"SoLightModelElement_initClass", _wrap_SoLightModelElement_initClass, METH_VARARGS, (char *)"SoLightModelElement_initClass()"}, - { (char *)"SoLightModelElement_init", _wrap_SoLightModelElement_init, METH_VARARGS, (char *)"SoLightModelElement_init(SoLightModelElement self, SoState state)"}, - { (char *)"SoLightModelElement_set", _wrap_SoLightModelElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, Model model)\n" - "SoLightModelElement_set(SoState state, SoNode node, Model model)\n" - ""}, - { (char *)"SoLightModelElement_get", _wrap_SoLightModelElement_get, METH_VARARGS, (char *)"SoLightModelElement_get(SoState state) -> Model"}, - { (char *)"SoLightModelElement_getDefault", _wrap_SoLightModelElement_getDefault, METH_VARARGS, (char *)"SoLightModelElement_getDefault() -> Model"}, - { (char *)"SoLightModelElement_getInstance", _wrap_SoLightModelElement_getInstance, METH_VARARGS, (char *)"SoLightModelElement_getInstance(SoState state) -> SoLightModelElement"}, - { (char *)"SoLightModelElement_swigregister", SoLightModelElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureCoordinateElement_getClassTypeId", _wrap_SoMultiTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureCoordinateElement_getClassStackIndex", _wrap_SoMultiTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureCoordinateElement_createInstance", _wrap_SoMultiTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoMultiTextureCoordinateElement_initClass", _wrap_SoMultiTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_initClass()"}, - { (char *)"SoMultiTextureCoordinateElement_init", _wrap_SoMultiTextureCoordinateElement_init, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_init(SoMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoMultiTextureCoordinateElement_setDefault", _wrap_SoMultiTextureCoordinateElement_setDefault, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_setDefault(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureCoordinateElement_setFunction", _wrap_SoMultiTextureCoordinateElement_setFunction, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_setFunction(SoState state, SoNode node, int unit, SoTextureCoordinateFunctionCB func, \n" - " void userdata)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set2", _wrap_SoMultiTextureCoordinateElement_set2, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set2(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec2f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set3", _wrap_SoMultiTextureCoordinateElement_set3, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set3(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec3f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_set4", _wrap_SoMultiTextureCoordinateElement_set4, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_set4(SoState state, SoNode node, int unit, int32_t numCoords, \n" - " SbVec4f coords)\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getType", _wrap_SoMultiTextureCoordinateElement_getType, METH_VARARGS, (char *)"\n" - "getType(SoState state, int unit) -> CoordType\n" - "SoMultiTextureCoordinateElement_getType(SoMultiTextureCoordinateElement self, int unit) -> CoordType\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getInstance", _wrap_SoMultiTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getInstance(SoState state) -> SoMultiTextureCoordinateElement"}, - { (char *)"SoMultiTextureCoordinateElement_get", _wrap_SoMultiTextureCoordinateElement_get, METH_VARARGS, (char *)"\n" - "SoMultiTextureCoordinateElement_get(SoMultiTextureCoordinateElement self, int unit, SbVec3f point, \n" - " SbVec3f normal) -> SbVec4f\n" - ""}, - { (char *)"SoMultiTextureCoordinateElement_getNum", _wrap_SoMultiTextureCoordinateElement_getNum, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getNum(SoMultiTextureCoordinateElement self, int unit) -> int32_t"}, - { (char *)"SoMultiTextureCoordinateElement_is2D", _wrap_SoMultiTextureCoordinateElement_is2D, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_is2D(SoMultiTextureCoordinateElement self, int unit) -> SbBool"}, - { (char *)"SoMultiTextureCoordinateElement_getDimension", _wrap_SoMultiTextureCoordinateElement_getDimension, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getDimension(SoMultiTextureCoordinateElement self, int unit) -> int32_t"}, - { (char *)"SoMultiTextureCoordinateElement_get2", _wrap_SoMultiTextureCoordinateElement_get2, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get2(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec2f"}, - { (char *)"SoMultiTextureCoordinateElement_get3", _wrap_SoMultiTextureCoordinateElement_get3, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get3(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec3f"}, - { (char *)"SoMultiTextureCoordinateElement_get4", _wrap_SoMultiTextureCoordinateElement_get4, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_get4(SoMultiTextureCoordinateElement self, int unit, int index) -> SbVec4f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr2", _wrap_SoMultiTextureCoordinateElement_getArrayPtr2, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr2(SoMultiTextureCoordinateElement self, int unit) -> SbVec2f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr3", _wrap_SoMultiTextureCoordinateElement_getArrayPtr3, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr3(SoMultiTextureCoordinateElement self, int unit) -> SbVec3f"}, - { (char *)"SoMultiTextureCoordinateElement_getArrayPtr4", _wrap_SoMultiTextureCoordinateElement_getArrayPtr4, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_getArrayPtr4(SoMultiTextureCoordinateElement self, int unit) -> SbVec4f"}, - { (char *)"SoMultiTextureCoordinateElement_push", _wrap_SoMultiTextureCoordinateElement_push, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_push(SoMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoMultiTextureCoordinateElement_matches", _wrap_SoMultiTextureCoordinateElement_matches, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_matches(SoMultiTextureCoordinateElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureCoordinateElement_copyMatchInfo", _wrap_SoMultiTextureCoordinateElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureCoordinateElement_copyMatchInfo(SoMultiTextureCoordinateElement self) -> SoElement"}, - { (char *)"SoMultiTextureCoordinateElement_swigregister", SoMultiTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureCoordinateElement_getClassTypeId", _wrap_SoGLMultiTextureCoordinateElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex", _wrap_SoGLMultiTextureCoordinateElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureCoordinateElement_createInstance", _wrap_SoGLMultiTextureCoordinateElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureCoordinateElement_initClass", _wrap_SoGLMultiTextureCoordinateElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_initClass()"}, - { (char *)"SoGLMultiTextureCoordinateElement_init", _wrap_SoGLMultiTextureCoordinateElement_init, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_init(SoGLMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLMultiTextureCoordinateElement_push", _wrap_SoGLMultiTextureCoordinateElement_push, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_push(SoGLMultiTextureCoordinateElement self, SoState state)"}, - { (char *)"SoGLMultiTextureCoordinateElement_pop", _wrap_SoGLMultiTextureCoordinateElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureCoordinateElement_pop(SoGLMultiTextureCoordinateElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_setTexGen", _wrap_SoGLMultiTextureCoordinateElement_setTexGen, METH_VARARGS, (char *)"\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None, \n" - " void funcData=None)\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None, SoTextureCoordinateFunctionCB func=None)\n" - "setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc, \n" - " void texgenData=None)\n" - "SoGLMultiTextureCoordinateElement_setTexGen(SoState state, SoNode node, int unit, SoTexCoordTexgenCB texgenFunc)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_getType", _wrap_SoGLMultiTextureCoordinateElement_getType, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getType(SoGLMultiTextureCoordinateElement self, int unit) -> CoordType"}, - { (char *)"SoGLMultiTextureCoordinateElement_getInstance", _wrap_SoGLMultiTextureCoordinateElement_getInstance, METH_VARARGS, (char *)"SoGLMultiTextureCoordinateElement_getInstance(SoState state) -> SoGLMultiTextureCoordinateElement"}, - { (char *)"SoGLMultiTextureCoordinateElement_send", _wrap_SoGLMultiTextureCoordinateElement_send, METH_VARARGS, (char *)"\n" - "send(int unit, int index)\n" - "SoGLMultiTextureCoordinateElement_send(SoGLMultiTextureCoordinateElement self, int unit, int index, \n" - " SbVec3f c, SbVec3f n)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_initRender", _wrap_SoGLMultiTextureCoordinateElement_initRender, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureCoordinateElement_initRender(SoGLMultiTextureCoordinateElement self, SbBool enabled, \n" - " int maxenabled)\n" - ""}, - { (char *)"SoGLMultiTextureCoordinateElement_swigregister", SoGLMultiTextureCoordinateElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureEnabledElement_getClassTypeId", _wrap_SoMultiTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureEnabledElement_getClassStackIndex", _wrap_SoMultiTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureEnabledElement_createInstance", _wrap_SoMultiTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoMultiTextureEnabledElement_initClass", _wrap_SoMultiTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_initClass()"}, - { (char *)"SoMultiTextureEnabledElement_init", _wrap_SoMultiTextureEnabledElement_init, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_init(SoMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoMultiTextureEnabledElement_set", _wrap_SoMultiTextureEnabledElement_set, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_set(SoState state, SoNode node, int unit, SbBool enabled)"}, - { (char *)"SoMultiTextureEnabledElement_get", _wrap_SoMultiTextureEnabledElement_get, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_get(SoState state, int unit) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_setElt", _wrap_SoMultiTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_setElt(SoMultiTextureEnabledElement self, int unit, SbBool enabled)"}, - { (char *)"SoMultiTextureEnabledElement_push", _wrap_SoMultiTextureEnabledElement_push, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_push(SoMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoMultiTextureEnabledElement_matches", _wrap_SoMultiTextureEnabledElement_matches, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_matches(SoMultiTextureEnabledElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_copyMatchInfo", _wrap_SoMultiTextureEnabledElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_copyMatchInfo(SoMultiTextureEnabledElement self) -> SoElement"}, - { (char *)"SoMultiTextureEnabledElement_getEnabledUnits", _wrap_SoMultiTextureEnabledElement_getEnabledUnits, METH_VARARGS, (char *)"SoMultiTextureEnabledElement_getEnabledUnits(SoState state, int lastenabled) -> SbBool"}, - { (char *)"SoMultiTextureEnabledElement_swigregister", SoMultiTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureEnabledElement_getClassTypeId", _wrap_SoGLMultiTextureEnabledElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureEnabledElement_getClassStackIndex", _wrap_SoGLMultiTextureEnabledElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureEnabledElement_createInstance", _wrap_SoGLMultiTextureEnabledElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureEnabledElement_initClass", _wrap_SoGLMultiTextureEnabledElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_initClass()"}, - { (char *)"SoGLMultiTextureEnabledElement_init", _wrap_SoGLMultiTextureEnabledElement_init, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_init(SoGLMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLMultiTextureEnabledElement_push", _wrap_SoGLMultiTextureEnabledElement_push, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_push(SoGLMultiTextureEnabledElement self, SoState state)"}, - { (char *)"SoGLMultiTextureEnabledElement_pop", _wrap_SoGLMultiTextureEnabledElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureEnabledElement_pop(SoGLMultiTextureEnabledElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureEnabledElement_setElt", _wrap_SoGLMultiTextureEnabledElement_setElt, METH_VARARGS, (char *)"SoGLMultiTextureEnabledElement_setElt(SoGLMultiTextureEnabledElement self, int unit, SbBool onoff)"}, - { (char *)"SoGLMultiTextureEnabledElement_swigregister", SoGLMultiTextureEnabledElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureImageElement_getClassTypeId", _wrap_SoMultiTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureImageElement_getClassStackIndex", _wrap_SoMultiTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureImageElement_createInstance", _wrap_SoMultiTextureImageElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureImageElement_createInstance() -> void"}, - { (char *)"SoMultiTextureImageElement_initClass", _wrap_SoMultiTextureImageElement_initClass, METH_VARARGS, (char *)"SoMultiTextureImageElement_initClass()"}, - { (char *)"SoMultiTextureImageElement_init", _wrap_SoMultiTextureImageElement_init, METH_VARARGS, (char *)"SoMultiTextureImageElement_init(SoMultiTextureImageElement self, SoState state)"}, - { (char *)"SoMultiTextureImageElement_setDefault", _wrap_SoMultiTextureImageElement_setDefault, METH_VARARGS, (char *)"SoMultiTextureImageElement_setDefault(SoState state, SoNode node, int unit)"}, - { (char *)"SoMultiTextureImageElement_set", _wrap_SoMultiTextureImageElement_set, METH_VARARGS, (char *)"\n" - "set(SoState state, SoNode node, int unit, SbVec2s size, \n" - " int numComponents, unsigned char bytes, Wrap wrapS, \n" - " Wrap wrapT, Model model, SbColor blendColor)\n" - "SoMultiTextureImageElement_set(SoState state, SoNode node, int unit, SbVec3s size, \n" - " int numComponents, unsigned char bytes, Wrap wrapS, \n" - " Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor)\n" - ""}, - { (char *)"SoMultiTextureImageElement_get", _wrap_SoMultiTextureImageElement_get, METH_VARARGS, (char *)"\n" - "get(SoState state, int unit, SbVec2s size, int numComponents, \n" - " Wrap wrapS, Wrap wrapT, Model model, SbColor blendColor) -> unsigned char\n" - "SoMultiTextureImageElement_get(SoState state, int unit, SbVec3s size, int numComponents, \n" - " Wrap wrapS, Wrap wrapT, Wrap wrapR, Model model, \n" - " SbColor blendColor) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_getImage", _wrap_SoMultiTextureImageElement_getImage, METH_VARARGS, (char *)"\n" - "getImage(SoState state, int unit, SbVec2s size, int numComponents) -> unsigned char\n" - "SoMultiTextureImageElement_getImage(SoState state, int unit, SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_getBlendColor", _wrap_SoMultiTextureImageElement_getBlendColor, METH_VARARGS, (char *)"SoMultiTextureImageElement_getBlendColor(SoState state, int unit) -> SbColor"}, - { (char *)"SoMultiTextureImageElement_getModel", _wrap_SoMultiTextureImageElement_getModel, METH_VARARGS, (char *)"SoMultiTextureImageElement_getModel(SoState state, int unit) -> Model"}, - { (char *)"SoMultiTextureImageElement_getWrapS", _wrap_SoMultiTextureImageElement_getWrapS, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapS(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_getWrapT", _wrap_SoMultiTextureImageElement_getWrapT, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapT(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_getWrapR", _wrap_SoMultiTextureImageElement_getWrapR, METH_VARARGS, (char *)"SoMultiTextureImageElement_getWrapR(SoState state, int unit) -> Wrap"}, - { (char *)"SoMultiTextureImageElement_containsTransparency", _wrap_SoMultiTextureImageElement_containsTransparency, METH_VARARGS, (char *)"SoMultiTextureImageElement_containsTransparency(SoState state) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_getDefault", _wrap_SoMultiTextureImageElement_getDefault, METH_VARARGS, (char *)"\n" - "getDefault(SbVec2s size, int numComponents) -> unsigned char\n" - "SoMultiTextureImageElement_getDefault(SbVec3s size, int numComponents) -> unsigned char\n" - ""}, - { (char *)"SoMultiTextureImageElement_push", _wrap_SoMultiTextureImageElement_push, METH_VARARGS, (char *)"SoMultiTextureImageElement_push(SoMultiTextureImageElement self, SoState state)"}, - { (char *)"SoMultiTextureImageElement_matches", _wrap_SoMultiTextureImageElement_matches, METH_VARARGS, (char *)"SoMultiTextureImageElement_matches(SoMultiTextureImageElement self, SoElement elem) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_copyMatchInfo", _wrap_SoMultiTextureImageElement_copyMatchInfo, METH_VARARGS, (char *)"SoMultiTextureImageElement_copyMatchInfo(SoMultiTextureImageElement self) -> SoElement"}, - { (char *)"SoMultiTextureImageElement_setElt", _wrap_SoMultiTextureImageElement_setElt, METH_VARARGS, (char *)"\n" - "setElt(int unit, uint32_t nodeid, SbVec2s size, int numComponents, \n" - " unsigned char bytes, Wrap wrapS, Wrap wrapT, \n" - " Model model, SbColor blendColor)\n" - "SoMultiTextureImageElement_setElt(SoMultiTextureImageElement self, int unit, uint32_t nodeid, \n" - " SbVec3s size, int numComponents, unsigned char bytes, \n" - " Wrap wrapS, Wrap wrapT, Wrap wrapR, \n" - " Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoMultiTextureImageElement_hasTransparency", _wrap_SoMultiTextureImageElement_hasTransparency, METH_VARARGS, (char *)"SoMultiTextureImageElement_hasTransparency(SoMultiTextureImageElement self, int unit) -> SbBool"}, - { (char *)"SoMultiTextureImageElement_swigregister", SoMultiTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureImageElement_getClassTypeId", _wrap_SoGLMultiTextureImageElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureImageElement_getClassStackIndex", _wrap_SoGLMultiTextureImageElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureImageElement_createInstance", _wrap_SoGLMultiTextureImageElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureImageElement_initClass", _wrap_SoGLMultiTextureImageElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_initClass()"}, - { (char *)"SoGLMultiTextureImageElement_init", _wrap_SoGLMultiTextureImageElement_init, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_init(SoGLMultiTextureImageElement self, SoState state)"}, - { (char *)"SoGLMultiTextureImageElement_push", _wrap_SoGLMultiTextureImageElement_push, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_push(SoGLMultiTextureImageElement self, SoState state)"}, - { (char *)"SoGLMultiTextureImageElement_pop", _wrap_SoGLMultiTextureImageElement_pop, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_pop(SoGLMultiTextureImageElement self, SoState state, SoElement prevTopElement)"}, - { (char *)"SoGLMultiTextureImageElement_set", _wrap_SoGLMultiTextureImageElement_set, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureImageElement_set(SoState state, SoNode node, int unit, SoGLImage image, \n" - " Model model, SbColor blendColor)\n" - ""}, - { (char *)"SoGLMultiTextureImageElement_restore", _wrap_SoGLMultiTextureImageElement_restore, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_restore(SoState state, int unit)"}, - { (char *)"SoGLMultiTextureImageElement_get", _wrap_SoGLMultiTextureImageElement_get, METH_VARARGS, (char *)"SoGLMultiTextureImageElement_get(SoState state, int unit, Model model, SbColor blendcolor) -> SoGLImage"}, - { (char *)"SoGLMultiTextureImageElement_swigregister", SoGLMultiTextureImageElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultiTextureMatrixElement_getClassTypeId", _wrap_SoMultiTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoMultiTextureMatrixElement_getClassStackIndex", _wrap_SoMultiTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoMultiTextureMatrixElement_createInstance", _wrap_SoMultiTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoMultiTextureMatrixElement_initClass", _wrap_SoMultiTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_initClass()"}, - { (char *)"SoMultiTextureMatrixElement_init", _wrap_SoMultiTextureMatrixElement_init, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_init(SoMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoMultiTextureMatrixElement_push", _wrap_SoMultiTextureMatrixElement_push, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_push(SoMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoMultiTextureMatrixElement_mult", _wrap_SoMultiTextureMatrixElement_mult, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_mult(SoState state, SoNode node, int unit, SbMatrix matrix)"}, - { (char *)"SoMultiTextureMatrixElement_get", _wrap_SoMultiTextureMatrixElement_get, METH_VARARGS, (char *)"SoMultiTextureMatrixElement_get(SoState state, int unit) -> SbMatrix"}, - { (char *)"SoMultiTextureMatrixElement_swigregister", SoMultiTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGLMultiTextureMatrixElement_getClassTypeId", _wrap_SoGLMultiTextureMatrixElement_getClassTypeId, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_getClassTypeId() -> SoType"}, - { (char *)"SoGLMultiTextureMatrixElement_getClassStackIndex", _wrap_SoGLMultiTextureMatrixElement_getClassStackIndex, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_getClassStackIndex() -> int"}, - { (char *)"SoGLMultiTextureMatrixElement_createInstance", _wrap_SoGLMultiTextureMatrixElement_createInstance, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_createInstance() -> void"}, - { (char *)"SoGLMultiTextureMatrixElement_initClass", _wrap_SoGLMultiTextureMatrixElement_initClass, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_initClass()"}, - { (char *)"SoGLMultiTextureMatrixElement_init", _wrap_SoGLMultiTextureMatrixElement_init, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_init(SoGLMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLMultiTextureMatrixElement_push", _wrap_SoGLMultiTextureMatrixElement_push, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_push(SoGLMultiTextureMatrixElement self, SoState state)"}, - { (char *)"SoGLMultiTextureMatrixElement_pop", _wrap_SoGLMultiTextureMatrixElement_pop, METH_VARARGS, (char *)"\n" - "SoGLMultiTextureMatrixElement_pop(SoGLMultiTextureMatrixElement self, SoState state, \n" - " SoElement prevTopElement)\n" - ""}, - { (char *)"SoGLMultiTextureMatrixElement_multElt", _wrap_SoGLMultiTextureMatrixElement_multElt, METH_VARARGS, (char *)"SoGLMultiTextureMatrixElement_multElt(SoGLMultiTextureMatrixElement self, int unit, SbMatrix matrix)"}, - { (char *)"SoGLMultiTextureMatrixElement_swigregister", SoGLMultiTextureMatrixElement_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbColor4f", _wrap_new_SbColor4f, METH_VARARGS, (char *)"\n" - "SbColor4f()\n" - "SbColor4f(SbColor rgb, float alpha)\n" - "SbColor4f(SbVec4f v)\n" - "SbColor4f(float rgba)\n" - "SbColor4f(float r, float g, float b, float a=1.0)\n" - "new_SbColor4f(float r, float g, float b) -> SbColor4f\n" - ""}, - { (char *)"SbColor4f_setValue", _wrap_SbColor4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(float r, float g, float b, float a=1.0)\n" - "setValue(float r, float g, float b)\n" - "SbColor4f_setValue(SbColor4f self, float col)\n" - ""}, - { (char *)"SbColor4f_getValue", _wrap_SbColor4f_getValue, METH_VARARGS, (char *)"SbColor4f_getValue(SbColor4f self, float r, float g, float b, float a)"}, - { (char *)"SbColor4f_setRGB", _wrap_SbColor4f_setRGB, METH_VARARGS, (char *)"SbColor4f_setRGB(SbColor4f self, SbColor col) -> SbColor4f"}, - { (char *)"SbColor4f_getRGB", _wrap_SbColor4f_getRGB, METH_VARARGS, (char *)"SbColor4f_getRGB(SbColor4f self, SbColor color)"}, - { (char *)"SbColor4f_setHSVValue", _wrap_SbColor4f_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v, float a=1.0) -> SbColor4f\n" - "setHSVValue(float h, float s, float v) -> SbColor4f\n" - "setHSVValue(float hsv, float alpha=1.0) -> SbColor4f\n" - "SbColor4f_setHSVValue(SbColor4f self, float hsv) -> SbColor4f\n" - ""}, - { (char *)"SbColor4f_getHSVValue", _wrap_SbColor4f_getHSVValue, METH_VARARGS, (char *)"SbColor4f_getHSVValue(SbColor4f self, float h, float s, float v)"}, - { (char *)"SbColor4f_setPackedValue", _wrap_SbColor4f_setPackedValue, METH_VARARGS, (char *)"SbColor4f_setPackedValue(SbColor4f self, uint32_t rgba) -> SbColor4f"}, - { (char *)"SbColor4f_getPackedValue", _wrap_SbColor4f_getPackedValue, METH_VARARGS, (char *)"SbColor4f_getPackedValue(SbColor4f self) -> uint32_t"}, - { (char *)"SbColor4f___imul__", _wrap_SbColor4f___imul__, METH_VARARGS, (char *)"SbColor4f___imul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___idiv__", _wrap_SbColor4f___idiv__, METH_VARARGS, (char *)"SbColor4f___idiv__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___iadd__", _wrap_SbColor4f___iadd__, METH_VARARGS, (char *)"SbColor4f___iadd__(SbColor4f self, SbColor4f c) -> SbColor4f"}, - { (char *)"SbColor4f___isub__", _wrap_SbColor4f___isub__, METH_VARARGS, (char *)"SbColor4f___isub__(SbColor4f self, SbColor4f c) -> SbColor4f"}, - { (char *)"SbColor4f___add__", _wrap_SbColor4f___add__, METH_VARARGS, (char *)"SbColor4f___add__(SbColor4f self, SbColor4f u) -> SbColor4f"}, - { (char *)"SbColor4f___sub__", _wrap_SbColor4f___sub__, METH_VARARGS, (char *)"SbColor4f___sub__(SbColor4f self, SbColor4f u) -> SbColor4f"}, - { (char *)"SbColor4f___mul__", _wrap_SbColor4f___mul__, METH_VARARGS, (char *)"SbColor4f___mul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___rmul__", _wrap_SbColor4f___rmul__, METH_VARARGS, (char *)"SbColor4f___rmul__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___div__", _wrap_SbColor4f___div__, METH_VARARGS, (char *)"SbColor4f___div__(SbColor4f self, float d) -> SbColor4f"}, - { (char *)"SbColor4f___eq__", _wrap_SbColor4f___eq__, METH_VARARGS, (char *)"SbColor4f___eq__(SbColor4f self, SbColor4f u) -> int"}, - { (char *)"SbColor4f___nq__", _wrap_SbColor4f___nq__, METH_VARARGS, (char *)"SbColor4f___nq__(SbColor4f self, SbColor4f u) -> int"}, - { (char *)"SbColor4f___getitem__", _wrap_SbColor4f___getitem__, METH_VARARGS, (char *)"SbColor4f___getitem__(SbColor4f self, int i) -> float"}, - { (char *)"delete_SbColor4f", _wrap_delete_SbColor4f, METH_VARARGS, (char *)"delete_SbColor4f(SbColor4f self)"}, - { (char *)"SbColor4f_swigregister", SbColor4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCombineElement_getClassTypeId", _wrap_SoTextureCombineElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureCombineElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCombineElement_getClassStackIndex", _wrap_SoTextureCombineElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureCombineElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureCombineElement_createInstance", _wrap_SoTextureCombineElement_createInstance, METH_VARARGS, (char *)"SoTextureCombineElement_createInstance() -> void"}, - { (char *)"SoTextureCombineElement_initClass", _wrap_SoTextureCombineElement_initClass, METH_VARARGS, (char *)"SoTextureCombineElement_initClass()"}, - { (char *)"SoTextureCombineElement_init", _wrap_SoTextureCombineElement_init, METH_VARARGS, (char *)"SoTextureCombineElement_init(SoTextureCombineElement self, SoState state)"}, - { (char *)"SoTextureCombineElement_set", _wrap_SoTextureCombineElement_set, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_set(SoState state, SoNode node, int unit, Operation rgboperation, \n" - " Operation alphaoperation, Source rgbsource, \n" - " Source alphasource, Operand rgboperand, \n" - " Operand alphaoperand, SbColor4f constantcolor, \n" - " float rgbscale, float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_isDefault", _wrap_SoTextureCombineElement_isDefault, METH_VARARGS, (char *)"SoTextureCombineElement_isDefault(SoState state, int unit) -> SbBool"}, - { (char *)"SoTextureCombineElement_get", _wrap_SoTextureCombineElement_get, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_get(SoState state, int unit, Operation rgboperation, Operation alphaoperation, \n" - " Source rgbsource, Source alphasource, \n" - " Operand rgboperand, Operand alphaoperand, \n" - " SbColor4f constantcolor, float rgbscale, \n" - " float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_push", _wrap_SoTextureCombineElement_push, METH_VARARGS, (char *)"SoTextureCombineElement_push(SoTextureCombineElement self, SoState state)"}, - { (char *)"SoTextureCombineElement_matches", _wrap_SoTextureCombineElement_matches, METH_VARARGS, (char *)"SoTextureCombineElement_matches(SoTextureCombineElement self, SoElement elem) -> SbBool"}, - { (char *)"SoTextureCombineElement_copyMatchInfo", _wrap_SoTextureCombineElement_copyMatchInfo, METH_VARARGS, (char *)"SoTextureCombineElement_copyMatchInfo(SoTextureCombineElement self) -> SoElement"}, - { (char *)"SoTextureCombineElement_setElt", _wrap_SoTextureCombineElement_setElt, METH_VARARGS, (char *)"\n" - "SoTextureCombineElement_setElt(SoTextureCombineElement self, int unit, uint32_t nodeid, \n" - " Operation rgboperation, Operation alphaoperation, \n" - " Source rgbsource, Source alphasource, \n" - " Operand rgboperand, Operand alphaoperand, \n" - " SbColor4f constantcolor, float rgbscale, float alphascale)\n" - ""}, - { (char *)"SoTextureCombineElement_apply", _wrap_SoTextureCombineElement_apply, METH_VARARGS, (char *)"SoTextureCombineElement_apply(SoState state, int unit)"}, - { (char *)"SoTextureCombineElement_swigregister", SoTextureCombineElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureUnitElement_getClassTypeId", _wrap_SoTextureUnitElement_getClassTypeId, METH_VARARGS, (char *)"SoTextureUnitElement_getClassTypeId() -> SoType"}, - { (char *)"SoTextureUnitElement_getClassStackIndex", _wrap_SoTextureUnitElement_getClassStackIndex, METH_VARARGS, (char *)"SoTextureUnitElement_getClassStackIndex() -> int"}, - { (char *)"SoTextureUnitElement_createInstance", _wrap_SoTextureUnitElement_createInstance, METH_VARARGS, (char *)"SoTextureUnitElement_createInstance() -> void"}, - { (char *)"SoTextureUnitElement_initClass", _wrap_SoTextureUnitElement_initClass, METH_VARARGS, (char *)"SoTextureUnitElement_initClass()"}, - { (char *)"SoTextureUnitElement_init", _wrap_SoTextureUnitElement_init, METH_VARARGS, (char *)"SoTextureUnitElement_init(SoTextureUnitElement self, SoState state)"}, - { (char *)"SoTextureUnitElement_set", _wrap_SoTextureUnitElement_set, METH_VARARGS, (char *)"SoTextureUnitElement_set(SoState state, SoNode node, int units)"}, - { (char *)"SoTextureUnitElement_get", _wrap_SoTextureUnitElement_get, METH_VARARGS, (char *)"SoTextureUnitElement_get(SoState state) -> int"}, - { (char *)"SoTextureUnitElement_swigregister", SoTextureUnitElement_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEngine_initClass", _wrap_SoEngine_initClass, METH_VARARGS, (char *)"SoEngine_initClass()"}, - { (char *)"SoEngine_initClasses", _wrap_SoEngine_initClasses, METH_VARARGS, (char *)"SoEngine_initClasses()"}, - { (char *)"SoEngine_getClassTypeId", _wrap_SoEngine_getClassTypeId, METH_VARARGS, (char *)"SoEngine_getClassTypeId() -> SoType"}, - { (char *)"SoEngine_evaluateWrapper", _wrap_SoEngine_evaluateWrapper, METH_VARARGS, (char *)"SoEngine_evaluateWrapper(SoEngine self)"}, - { (char *)"SoEngine_getOutputs", _wrap_SoEngine_getOutputs, METH_VARARGS, (char *)"SoEngine_getOutputs(SoEngine self, SoEngineOutputList l) -> int"}, - { (char *)"SoEngine_getOutput", _wrap_SoEngine_getOutput, METH_VARARGS, (char *)"SoEngine_getOutput(SoEngine self, SbName outputname) -> SoEngineOutput"}, - { (char *)"SoEngine_getOutputName", _wrap_SoEngine_getOutputName, METH_VARARGS, (char *)"SoEngine_getOutputName(SoEngine self, SoEngineOutput output, SbName outputname) -> SbBool"}, - { (char *)"SoEngine_getOutputData", _wrap_SoEngine_getOutputData, METH_VARARGS, (char *)"SoEngine_getOutputData(SoEngine self) -> SoEngineOutputData"}, - { (char *)"SoEngine_getByName", _wrap_SoEngine_getByName, METH_VARARGS, (char *)"\n" - "getByName(SbName name) -> SoEngine\n" - "SoEngine_getByName(SbName name, SoEngineList el) -> int\n" - ""}, - { (char *)"SoEngine_isNotifying", _wrap_SoEngine_isNotifying, METH_VARARGS, (char *)"SoEngine_isNotifying(SoEngine self) -> SbBool"}, - { (char *)"SoEngine_notify", _wrap_SoEngine_notify, METH_VARARGS, (char *)"SoEngine_notify(SoEngine self, SoNotList nl)"}, - { (char *)"SoEngine_copy", _wrap_SoEngine_copy, METH_VARARGS, (char *)"SoEngine_copy(SoEngine self) -> SoEngine"}, - { (char *)"SoEngine_copyThroughConnection", _wrap_SoEngine_copyThroughConnection, METH_VARARGS, (char *)"SoEngine_copyThroughConnection(SoEngine self) -> SoFieldContainer"}, - { (char *)"SoEngine_shouldCopy", _wrap_SoEngine_shouldCopy, METH_VARARGS, (char *)"SoEngine_shouldCopy(SoEngine self) -> SbBool"}, - { (char *)"SoEngine_writeInstance", _wrap_SoEngine_writeInstance, METH_VARARGS, (char *)"SoEngine_writeInstance(SoEngine self, SoOutput out)"}, - { (char *)"SoEngine_swigregister", SoEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutput", _wrap_new_SoEngineOutput, METH_VARARGS, (char *)"new_SoEngineOutput() -> SoEngineOutput"}, - { (char *)"delete_SoEngineOutput", _wrap_delete_SoEngineOutput, METH_VARARGS, (char *)"delete_SoEngineOutput(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_getConnectionType", _wrap_SoEngineOutput_getConnectionType, METH_VARARGS, (char *)"SoEngineOutput_getConnectionType(SoEngineOutput self) -> SoType"}, - { (char *)"SoEngineOutput_getForwardConnections", _wrap_SoEngineOutput_getForwardConnections, METH_VARARGS, (char *)"SoEngineOutput_getForwardConnections(SoEngineOutput self, SoFieldList fl) -> int"}, - { (char *)"SoEngineOutput_enable", _wrap_SoEngineOutput_enable, METH_VARARGS, (char *)"SoEngineOutput_enable(SoEngineOutput self, SbBool flag)"}, - { (char *)"SoEngineOutput_isEnabled", _wrap_SoEngineOutput_isEnabled, METH_VARARGS, (char *)"SoEngineOutput_isEnabled(SoEngineOutput self) -> SbBool"}, - { (char *)"SoEngineOutput_getContainer", _wrap_SoEngineOutput_getContainer, METH_VARARGS, (char *)"SoEngineOutput_getContainer(SoEngineOutput self) -> SoEngine"}, - { (char *)"SoEngineOutput_getNodeContainer", _wrap_SoEngineOutput_getNodeContainer, METH_VARARGS, (char *)"SoEngineOutput_getNodeContainer(SoEngineOutput self) -> SoNodeEngine"}, - { (char *)"SoEngineOutput_isNodeEngineOutput", _wrap_SoEngineOutput_isNodeEngineOutput, METH_VARARGS, (char *)"SoEngineOutput_isNodeEngineOutput(SoEngineOutput self) -> SbBool"}, - { (char *)"SoEngineOutput_setContainer", _wrap_SoEngineOutput_setContainer, METH_VARARGS, (char *)"SoEngineOutput_setContainer(SoEngineOutput self, SoEngine engine)"}, - { (char *)"SoEngineOutput_setNodeContainer", _wrap_SoEngineOutput_setNodeContainer, METH_VARARGS, (char *)"SoEngineOutput_setNodeContainer(SoEngineOutput self, SoNodeEngine nodeengine)"}, - { (char *)"SoEngineOutput_addConnection", _wrap_SoEngineOutput_addConnection, METH_VARARGS, (char *)"SoEngineOutput_addConnection(SoEngineOutput self, SoField f)"}, - { (char *)"SoEngineOutput_removeConnection", _wrap_SoEngineOutput_removeConnection, METH_VARARGS, (char *)"SoEngineOutput_removeConnection(SoEngineOutput self, SoField f)"}, - { (char *)"SoEngineOutput_getNumConnections", _wrap_SoEngineOutput_getNumConnections, METH_VARARGS, (char *)"SoEngineOutput_getNumConnections(SoEngineOutput self) -> int"}, - { (char *)"SoEngineOutput_prepareToWrite", _wrap_SoEngineOutput_prepareToWrite, METH_VARARGS, (char *)"SoEngineOutput_prepareToWrite(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_doneWriting", _wrap_SoEngineOutput_doneWriting, METH_VARARGS, (char *)"SoEngineOutput_doneWriting(SoEngineOutput self)"}, - { (char *)"SoEngineOutput_touchSlaves", _wrap_SoEngineOutput_touchSlaves, METH_VARARGS, (char *)"SoEngineOutput_touchSlaves(SoEngineOutput self, SoNotList nl, SbBool donotify)"}, - { (char *)"SoEngineOutput_getFieldContainer", _wrap_SoEngineOutput_getFieldContainer, METH_VARARGS, (char *)"SoEngineOutput_getFieldContainer(SoEngineOutput self) -> SoFieldContainer"}, - { (char *)"SoEngineOutput_swigregister", SoEngineOutput_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEngineOutputData", _wrap_new_SoEngineOutputData, METH_VARARGS, (char *)"\n" - "SoEngineOutputData()\n" - "SoEngineOutputData(SoEngineOutputData data)\n" - "new_SoEngineOutputData(int approxnum) -> SoEngineOutputData\n" - ""}, - { (char *)"delete_SoEngineOutputData", _wrap_delete_SoEngineOutputData, METH_VARARGS, (char *)"delete_SoEngineOutputData(SoEngineOutputData self)"}, - { (char *)"SoEngineOutputData_addOutput", _wrap_SoEngineOutputData_addOutput, METH_VARARGS, (char *)"\n" - "addOutput(SoEngine base, char name, SoEngineOutput output, SoType type)\n" - "SoEngineOutputData_addOutput(SoEngineOutputData self, SoNodeEngine base, char name, \n" - " SoEngineOutput output, SoType type)\n" - ""}, - { (char *)"SoEngineOutputData_getNumOutputs", _wrap_SoEngineOutputData_getNumOutputs, METH_VARARGS, (char *)"SoEngineOutputData_getNumOutputs(SoEngineOutputData self) -> int"}, - { (char *)"SoEngineOutputData_getOutputName", _wrap_SoEngineOutputData_getOutputName, METH_VARARGS, (char *)"SoEngineOutputData_getOutputName(SoEngineOutputData self, int index) -> SbName"}, - { (char *)"SoEngineOutputData_getOutput", _wrap_SoEngineOutputData_getOutput, METH_VARARGS, (char *)"\n" - "getOutput(SoEngine engine, int index) -> SoEngineOutput\n" - "SoEngineOutputData_getOutput(SoEngineOutputData self, SoNodeEngine engine, int index) -> SoEngineOutput\n" - ""}, - { (char *)"SoEngineOutputData_getIndex", _wrap_SoEngineOutputData_getIndex, METH_VARARGS, (char *)"\n" - "getIndex(SoEngine engine, SoEngineOutput output) -> int\n" - "SoEngineOutputData_getIndex(SoEngineOutputData self, SoNodeEngine engine, SoEngineOutput output) -> int\n" - ""}, - { (char *)"SoEngineOutputData_getType", _wrap_SoEngineOutputData_getType, METH_VARARGS, (char *)"SoEngineOutputData_getType(SoEngineOutputData self, int index) -> SoType"}, - { (char *)"SoEngineOutputData_readDescriptions", _wrap_SoEngineOutputData_readDescriptions, METH_VARARGS, (char *)"SoEngineOutputData_readDescriptions(SoEngineOutputData self, SoInput in, SoEngine engine) -> SbBool"}, - { (char *)"SoEngineOutputData_writeDescriptions", _wrap_SoEngineOutputData_writeDescriptions, METH_VARARGS, (char *)"SoEngineOutputData_writeDescriptions(SoEngineOutputData self, SoOutput out, SoEngine engine)"}, - { (char *)"SoEngineOutputData_swigregister", SoEngineOutputData_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFBool", _wrap_new_SoMFBool, METH_VARARGS, (char *)"new_SoMFBool() -> SoMFBool"}, - { (char *)"delete_SoMFBool", _wrap_delete_SoMFBool, METH_VARARGS, (char *)"delete_SoMFBool(SoMFBool self)"}, - { (char *)"SoMFBool_createInstance", _wrap_SoMFBool_createInstance, METH_VARARGS, (char *)"SoMFBool_createInstance() -> void"}, - { (char *)"SoMFBool_getClassTypeId", _wrap_SoMFBool_getClassTypeId, METH_VARARGS, (char *)"SoMFBool_getClassTypeId() -> SoType"}, - { (char *)"SoMFBool_getTypeId", _wrap_SoMFBool_getTypeId, METH_VARARGS, (char *)"SoMFBool_getTypeId(SoMFBool self) -> SoType"}, - { (char *)"SoMFBool_copyFrom", _wrap_SoMFBool_copyFrom, METH_VARARGS, (char *)"SoMFBool_copyFrom(SoMFBool self, SoField field)"}, - { (char *)"SoMFBool_isSame", _wrap_SoMFBool_isSame, METH_VARARGS, (char *)"SoMFBool_isSame(SoMFBool self, SoField field) -> SbBool"}, - { (char *)"SoMFBool_find", _wrap_SoMFBool_find, METH_VARARGS, (char *)"\n" - "find(SbBool value, SbBool addifnotfound=0) -> int\n" - "SoMFBool_find(SoMFBool self, SbBool value) -> int\n" - ""}, - { (char *)"SoMFBool_setValues", _wrap_SoMFBool_setValues, METH_VARARGS, (char *)"SoMFBool_setValues(SoMFBool self, int start, int num, SbBool newvals)"}, - { (char *)"SoMFBool_set1Value", _wrap_SoMFBool_set1Value, METH_VARARGS, (char *)"SoMFBool_set1Value(SoMFBool self, int idx, SbBool value)"}, - { (char *)"SoMFBool___eq__", _wrap_SoMFBool___eq__, METH_VARARGS, (char *)"SoMFBool___eq__(SoMFBool self, SoMFBool field) -> SbBool"}, - { (char *)"SoMFBool___ne__", _wrap_SoMFBool___ne__, METH_VARARGS, (char *)"SoMFBool___ne__(SoMFBool self, SoMFBool field) -> SbBool"}, - { (char *)"SoMFBool_startEditing", _wrap_SoMFBool_startEditing, METH_VARARGS, (char *)"SoMFBool_startEditing(SoMFBool self) -> SbBool"}, - { (char *)"SoMFBool_finishEditing", _wrap_SoMFBool_finishEditing, METH_VARARGS, (char *)"SoMFBool_finishEditing(SoMFBool self)"}, - { (char *)"SoMFBool_setValuesPointer", _wrap_SoMFBool_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbBool userdata)\n" - "SoMFBool_setValuesPointer(SoMFBool self, int num, SbBool userdata)\n" - ""}, - { (char *)"SoMFBool_initClass", _wrap_SoMFBool_initClass, METH_VARARGS, (char *)"SoMFBool_initClass()"}, - { (char *)"SoMFBool_setValue", _wrap_SoMFBool_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBool value)\n" - "SoMFBool_setValue(SoMFBool self, SoMFBool other)\n" - ""}, - { (char *)"SoMFBool___getitem__", _wrap_SoMFBool___getitem__, METH_VARARGS, (char *)"SoMFBool___getitem__(SoMFBool self, int i) -> SbBool"}, - { (char *)"SoMFBool___setitem__", _wrap_SoMFBool___setitem__, METH_VARARGS, (char *)"SoMFBool___setitem__(SoMFBool self, int i, SbBool value)"}, - { (char *)"SoMFBool_getValues", _wrap_SoMFBool_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbBool\n" - "SoMFBool_getValues(SoMFBool self, int len) -> SbBool\n" - ""}, - { (char *)"SoMFBool_swigregister", SoMFBool_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFEnum", _wrap_new_SoMFEnum, METH_VARARGS, (char *)"new_SoMFEnum() -> SoMFEnum"}, - { (char *)"delete_SoMFEnum", _wrap_delete_SoMFEnum, METH_VARARGS, (char *)"delete_SoMFEnum(SoMFEnum self)"}, - { (char *)"SoMFEnum_createInstance", _wrap_SoMFEnum_createInstance, METH_VARARGS, (char *)"SoMFEnum_createInstance() -> void"}, - { (char *)"SoMFEnum_getClassTypeId", _wrap_SoMFEnum_getClassTypeId, METH_VARARGS, (char *)"SoMFEnum_getClassTypeId() -> SoType"}, - { (char *)"SoMFEnum_getTypeId", _wrap_SoMFEnum_getTypeId, METH_VARARGS, (char *)"SoMFEnum_getTypeId(SoMFEnum self) -> SoType"}, - { (char *)"SoMFEnum_copyFrom", _wrap_SoMFEnum_copyFrom, METH_VARARGS, (char *)"SoMFEnum_copyFrom(SoMFEnum self, SoField field)"}, - { (char *)"SoMFEnum_isSame", _wrap_SoMFEnum_isSame, METH_VARARGS, (char *)"SoMFEnum_isSame(SoMFEnum self, SoField field) -> SbBool"}, - { (char *)"SoMFEnum_find", _wrap_SoMFEnum_find, METH_VARARGS, (char *)"\n" - "find(int value, SbBool addifnotfound=0) -> int\n" - "SoMFEnum_find(SoMFEnum self, int value) -> int\n" - ""}, - { (char *)"SoMFEnum_setValues", _wrap_SoMFEnum_setValues, METH_VARARGS, (char *)"SoMFEnum_setValues(SoMFEnum self, int start, int num, int newvals)"}, - { (char *)"SoMFEnum___eq__", _wrap_SoMFEnum___eq__, METH_VARARGS, (char *)"SoMFEnum___eq__(SoMFEnum self, SoMFEnum field) -> SbBool"}, - { (char *)"SoMFEnum___ne__", _wrap_SoMFEnum___ne__, METH_VARARGS, (char *)"SoMFEnum___ne__(SoMFEnum self, SoMFEnum field) -> SbBool"}, - { (char *)"SoMFEnum_startEditing", _wrap_SoMFEnum_startEditing, METH_VARARGS, (char *)"SoMFEnum_startEditing(SoMFEnum self) -> int"}, - { (char *)"SoMFEnum_finishEditing", _wrap_SoMFEnum_finishEditing, METH_VARARGS, (char *)"SoMFEnum_finishEditing(SoMFEnum self)"}, - { (char *)"SoMFEnum_initClass", _wrap_SoMFEnum_initClass, METH_VARARGS, (char *)"SoMFEnum_initClass()"}, - { (char *)"SoMFEnum_set1Value", _wrap_SoMFEnum_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, int value)\n" - "SoMFEnum_set1Value(SoMFEnum self, int idx, SbName name)\n" - ""}, - { (char *)"SoMFEnum_setEnums", _wrap_SoMFEnum_setEnums, METH_VARARGS, (char *)"SoMFEnum_setEnums(SoMFEnum self, int num, int values, SbName names)"}, - { (char *)"SoMFEnum_getNumEnums", _wrap_SoMFEnum_getNumEnums, METH_VARARGS, (char *)"SoMFEnum_getNumEnums(SoMFEnum self) -> int"}, - { (char *)"SoMFEnum_getEnum", _wrap_SoMFEnum_getEnum, METH_VARARGS, (char *)"SoMFEnum_getEnum(SoMFEnum self, int idx, SbName name) -> int"}, - { (char *)"SoMFEnum___getitem__", _wrap_SoMFEnum___getitem__, METH_VARARGS, (char *)"SoMFEnum___getitem__(SoMFEnum self, int i) -> int"}, - { (char *)"SoMFEnum___setitem__", _wrap_SoMFEnum___setitem__, METH_VARARGS, (char *)"SoMFEnum___setitem__(SoMFEnum self, int i, int value)"}, - { (char *)"SoMFEnum_setValue", _wrap_SoMFEnum_setValue, METH_VARARGS, (char *)"\n" - "setValue(int value)\n" - "setValue(SbName name)\n" - "SoMFEnum_setValue(SoMFEnum self, SoMFEnum other)\n" - ""}, - { (char *)"SoMFEnum_getValues", _wrap_SoMFEnum_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> int\n" - "SoMFEnum_getValues(SoMFEnum self, int len) -> int\n" - ""}, - { (char *)"SoMFEnum_swigregister", SoMFEnum_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBoolOperation_getClassTypeId", _wrap_SoBoolOperation_getClassTypeId, METH_VARARGS, (char *)"SoBoolOperation_getClassTypeId() -> SoType"}, - { (char *)"SoBoolOperation_getTypeId", _wrap_SoBoolOperation_getTypeId, METH_VARARGS, (char *)"SoBoolOperation_getTypeId(SoBoolOperation self) -> SoType"}, - { (char *)"SoBoolOperation_getFieldData", _wrap_SoBoolOperation_getFieldData, METH_VARARGS, (char *)"SoBoolOperation_getFieldData(SoBoolOperation self) -> SoFieldData"}, - { (char *)"SoBoolOperation_getOutputData", _wrap_SoBoolOperation_getOutputData, METH_VARARGS, (char *)"SoBoolOperation_getOutputData(SoBoolOperation self) -> SoEngineOutputData"}, - { (char *)"SoBoolOperation_createInstance", _wrap_SoBoolOperation_createInstance, METH_VARARGS, (char *)"SoBoolOperation_createInstance() -> void"}, - { (char *)"SoBoolOperation_a_set", _wrap_SoBoolOperation_a_set, METH_VARARGS, (char *)"SoBoolOperation_a_set(SoBoolOperation self, SoMFBool a)"}, - { (char *)"SoBoolOperation_a_get", _wrap_SoBoolOperation_a_get, METH_VARARGS, (char *)"SoBoolOperation_a_get(SoBoolOperation self) -> SoMFBool"}, - { (char *)"SoBoolOperation_b_set", _wrap_SoBoolOperation_b_set, METH_VARARGS, (char *)"SoBoolOperation_b_set(SoBoolOperation self, SoMFBool b)"}, - { (char *)"SoBoolOperation_b_get", _wrap_SoBoolOperation_b_get, METH_VARARGS, (char *)"SoBoolOperation_b_get(SoBoolOperation self) -> SoMFBool"}, - { (char *)"SoBoolOperation_operation_set", _wrap_SoBoolOperation_operation_set, METH_VARARGS, (char *)"SoBoolOperation_operation_set(SoBoolOperation self, SoMFEnum operation)"}, - { (char *)"SoBoolOperation_operation_get", _wrap_SoBoolOperation_operation_get, METH_VARARGS, (char *)"SoBoolOperation_operation_get(SoBoolOperation self) -> SoMFEnum"}, - { (char *)"SoBoolOperation_output_set", _wrap_SoBoolOperation_output_set, METH_VARARGS, (char *)"SoBoolOperation_output_set(SoBoolOperation self, SoEngineOutput output)"}, - { (char *)"SoBoolOperation_output_get", _wrap_SoBoolOperation_output_get, METH_VARARGS, (char *)"SoBoolOperation_output_get(SoBoolOperation self) -> SoEngineOutput"}, - { (char *)"SoBoolOperation_inverse_set", _wrap_SoBoolOperation_inverse_set, METH_VARARGS, (char *)"SoBoolOperation_inverse_set(SoBoolOperation self, SoEngineOutput inverse)"}, - { (char *)"SoBoolOperation_inverse_get", _wrap_SoBoolOperation_inverse_get, METH_VARARGS, (char *)"SoBoolOperation_inverse_get(SoBoolOperation self) -> SoEngineOutput"}, - { (char *)"new_SoBoolOperation", _wrap_new_SoBoolOperation, METH_VARARGS, (char *)"new_SoBoolOperation() -> SoBoolOperation"}, - { (char *)"SoBoolOperation_initClass", _wrap_SoBoolOperation_initClass, METH_VARARGS, (char *)"SoBoolOperation_initClass()"}, - { (char *)"SoBoolOperation_swigregister", SoBoolOperation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFFloat", _wrap_new_SoMFFloat, METH_VARARGS, (char *)"new_SoMFFloat() -> SoMFFloat"}, - { (char *)"delete_SoMFFloat", _wrap_delete_SoMFFloat, METH_VARARGS, (char *)"delete_SoMFFloat(SoMFFloat self)"}, - { (char *)"SoMFFloat_createInstance", _wrap_SoMFFloat_createInstance, METH_VARARGS, (char *)"SoMFFloat_createInstance() -> void"}, - { (char *)"SoMFFloat_getClassTypeId", _wrap_SoMFFloat_getClassTypeId, METH_VARARGS, (char *)"SoMFFloat_getClassTypeId() -> SoType"}, - { (char *)"SoMFFloat_getTypeId", _wrap_SoMFFloat_getTypeId, METH_VARARGS, (char *)"SoMFFloat_getTypeId(SoMFFloat self) -> SoType"}, - { (char *)"SoMFFloat_copyFrom", _wrap_SoMFFloat_copyFrom, METH_VARARGS, (char *)"SoMFFloat_copyFrom(SoMFFloat self, SoField field)"}, - { (char *)"SoMFFloat_isSame", _wrap_SoMFFloat_isSame, METH_VARARGS, (char *)"SoMFFloat_isSame(SoMFFloat self, SoField field) -> SbBool"}, - { (char *)"SoMFFloat_find", _wrap_SoMFFloat_find, METH_VARARGS, (char *)"\n" - "find(float value, SbBool addifnotfound=0) -> int\n" - "SoMFFloat_find(SoMFFloat self, float value) -> int\n" - ""}, - { (char *)"SoMFFloat_setValues", _wrap_SoMFFloat_setValues, METH_VARARGS, (char *)"SoMFFloat_setValues(SoMFFloat self, int start, int num, float newvals)"}, - { (char *)"SoMFFloat_set1Value", _wrap_SoMFFloat_set1Value, METH_VARARGS, (char *)"SoMFFloat_set1Value(SoMFFloat self, int idx, float value)"}, - { (char *)"SoMFFloat___eq__", _wrap_SoMFFloat___eq__, METH_VARARGS, (char *)"SoMFFloat___eq__(SoMFFloat self, SoMFFloat field) -> SbBool"}, - { (char *)"SoMFFloat___ne__", _wrap_SoMFFloat___ne__, METH_VARARGS, (char *)"SoMFFloat___ne__(SoMFFloat self, SoMFFloat field) -> SbBool"}, - { (char *)"SoMFFloat_startEditing", _wrap_SoMFFloat_startEditing, METH_VARARGS, (char *)"SoMFFloat_startEditing(SoMFFloat self) -> float"}, - { (char *)"SoMFFloat_finishEditing", _wrap_SoMFFloat_finishEditing, METH_VARARGS, (char *)"SoMFFloat_finishEditing(SoMFFloat self)"}, - { (char *)"SoMFFloat_setValuesPointer", _wrap_SoMFFloat_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFFloat_setValuesPointer(SoMFFloat self, int num, float userdata)\n" - ""}, - { (char *)"SoMFFloat_initClass", _wrap_SoMFFloat_initClass, METH_VARARGS, (char *)"SoMFFloat_initClass()"}, - { (char *)"SoMFFloat___getitem__", _wrap_SoMFFloat___getitem__, METH_VARARGS, (char *)"SoMFFloat___getitem__(SoMFFloat self, int i) -> float"}, - { (char *)"SoMFFloat___setitem__", _wrap_SoMFFloat___setitem__, METH_VARARGS, (char *)"SoMFFloat___setitem__(SoMFFloat self, int i, float value)"}, - { (char *)"SoMFFloat_setValue", _wrap_SoMFFloat_setValue, METH_VARARGS, (char *)"\n" - "setValue(float value)\n" - "SoMFFloat_setValue(SoMFFloat self, SoMFFloat other)\n" - ""}, - { (char *)"SoMFFloat_getValues", _wrap_SoMFFloat_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> float\n" - "SoMFFloat_getValues(SoMFFloat self, int len) -> float\n" - ""}, - { (char *)"SoMFFloat_swigregister", SoMFFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3f", _wrap_new_SoMFVec3f, METH_VARARGS, (char *)"new_SoMFVec3f() -> SoMFVec3f"}, - { (char *)"delete_SoMFVec3f", _wrap_delete_SoMFVec3f, METH_VARARGS, (char *)"delete_SoMFVec3f(SoMFVec3f self)"}, - { (char *)"SoMFVec3f_createInstance", _wrap_SoMFVec3f_createInstance, METH_VARARGS, (char *)"SoMFVec3f_createInstance() -> void"}, - { (char *)"SoMFVec3f_getClassTypeId", _wrap_SoMFVec3f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3f_getTypeId", _wrap_SoMFVec3f_getTypeId, METH_VARARGS, (char *)"SoMFVec3f_getTypeId(SoMFVec3f self) -> SoType"}, - { (char *)"SoMFVec3f_copyFrom", _wrap_SoMFVec3f_copyFrom, METH_VARARGS, (char *)"SoMFVec3f_copyFrom(SoMFVec3f self, SoField field)"}, - { (char *)"SoMFVec3f_isSame", _wrap_SoMFVec3f_isSame, METH_VARARGS, (char *)"SoMFVec3f_isSame(SoMFVec3f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3f_find", _wrap_SoMFVec3f_find, METH_VARARGS, (char *)"\n" - "find(SbVec3f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3f_find(SoMFVec3f self, SbVec3f value) -> int\n" - ""}, - { (char *)"SoMFVec3f___eq__", _wrap_SoMFVec3f___eq__, METH_VARARGS, (char *)"SoMFVec3f___eq__(SoMFVec3f self, SoMFVec3f field) -> SbBool"}, - { (char *)"SoMFVec3f___ne__", _wrap_SoMFVec3f___ne__, METH_VARARGS, (char *)"SoMFVec3f___ne__(SoMFVec3f self, SoMFVec3f field) -> SbBool"}, - { (char *)"SoMFVec3f_startEditing", _wrap_SoMFVec3f_startEditing, METH_VARARGS, (char *)"SoMFVec3f_startEditing(SoMFVec3f self) -> SbVec3f"}, - { (char *)"SoMFVec3f_finishEditing", _wrap_SoMFVec3f_finishEditing, METH_VARARGS, (char *)"SoMFVec3f_finishEditing(SoMFVec3f self)"}, - { (char *)"SoMFVec3f_setValuesPointer", _wrap_SoMFVec3f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, SbVec3f userdata)\n" - "SoMFVec3f_setValuesPointer(SoMFVec3f self, int num, SbVec3f userdata)\n" - ""}, - { (char *)"SoMFVec3f_initClass", _wrap_SoMFVec3f_initClass, METH_VARARGS, (char *)"SoMFVec3f_initClass()"}, - { (char *)"SoMFVec3f_setValues", _wrap_SoMFVec3f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3f newvals)\n" - "SoMFVec3f_setValues(SoMFVec3f self, int start, int num, float xyz)\n" - ""}, - { (char *)"SoMFVec3f_set1Value", _wrap_SoMFVec3f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3f value)\n" - "set1Value(int idx, float x, float y, float z)\n" - "SoMFVec3f_set1Value(SoMFVec3f self, int idx, float xyz)\n" - ""}, - { (char *)"SoMFVec3f___getitem__", _wrap_SoMFVec3f___getitem__, METH_VARARGS, (char *)"SoMFVec3f___getitem__(SoMFVec3f self, int i) -> SbVec3f"}, - { (char *)"SoMFVec3f___setitem__", _wrap_SoMFVec3f___setitem__, METH_VARARGS, (char *)"SoMFVec3f___setitem__(SoMFVec3f self, int i, SbVec3f value)"}, - { (char *)"SoMFVec3f_setValue", _wrap_SoMFVec3f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3f value)\n" - "setValue(float x, float y, float z)\n" - "setValue(float xyz)\n" - "SoMFVec3f_setValue(SoMFVec3f self, SoMFVec3f other)\n" - ""}, - { (char *)"SoMFVec3f_getValues", _wrap_SoMFVec3f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec3f\n" - "SoMFVec3f_getValues(SoMFVec3f self, int len) -> SbVec3f\n" - ""}, - { (char *)"SoMFVec3f_swigregister", SoMFVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFString", _wrap_new_SoMFString, METH_VARARGS, (char *)"new_SoMFString() -> SoMFString"}, - { (char *)"delete_SoMFString", _wrap_delete_SoMFString, METH_VARARGS, (char *)"delete_SoMFString(SoMFString self)"}, - { (char *)"SoMFString_createInstance", _wrap_SoMFString_createInstance, METH_VARARGS, (char *)"SoMFString_createInstance() -> void"}, - { (char *)"SoMFString_getClassTypeId", _wrap_SoMFString_getClassTypeId, METH_VARARGS, (char *)"SoMFString_getClassTypeId() -> SoType"}, - { (char *)"SoMFString_getTypeId", _wrap_SoMFString_getTypeId, METH_VARARGS, (char *)"SoMFString_getTypeId(SoMFString self) -> SoType"}, - { (char *)"SoMFString_copyFrom", _wrap_SoMFString_copyFrom, METH_VARARGS, (char *)"SoMFString_copyFrom(SoMFString self, SoField field)"}, - { (char *)"SoMFString_isSame", _wrap_SoMFString_isSame, METH_VARARGS, (char *)"SoMFString_isSame(SoMFString self, SoField field) -> SbBool"}, - { (char *)"SoMFString_find", _wrap_SoMFString_find, METH_VARARGS, (char *)"\n" - "find(SbString value, SbBool addifnotfound=0) -> int\n" - "SoMFString_find(SoMFString self, SbString value) -> int\n" - ""}, - { (char *)"SoMFString_set1Value", _wrap_SoMFString_set1Value, METH_VARARGS, (char *)"SoMFString_set1Value(SoMFString self, int idx, SbString value)"}, - { (char *)"SoMFString___eq__", _wrap_SoMFString___eq__, METH_VARARGS, (char *)"SoMFString___eq__(SoMFString self, SoMFString field) -> SbBool"}, - { (char *)"SoMFString___ne__", _wrap_SoMFString___ne__, METH_VARARGS, (char *)"SoMFString___ne__(SoMFString self, SoMFString field) -> SbBool"}, - { (char *)"SoMFString_startEditing", _wrap_SoMFString_startEditing, METH_VARARGS, (char *)"SoMFString_startEditing(SoMFString self) -> SbString"}, - { (char *)"SoMFString_finishEditing", _wrap_SoMFString_finishEditing, METH_VARARGS, (char *)"SoMFString_finishEditing(SoMFString self)"}, - { (char *)"SoMFString_initClass", _wrap_SoMFString_initClass, METH_VARARGS, (char *)"SoMFString_initClass()"}, - { (char *)"SoMFString_setValues", _wrap_SoMFString_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbString newvals)\n" - "SoMFString_setValues(SoMFString self, int start, int num, char strings)\n" - ""}, - { (char *)"SoMFString_deleteText", _wrap_SoMFString_deleteText, METH_VARARGS, (char *)"\n" - "SoMFString_deleteText(SoMFString self, int fromline, int fromchar, int toline, \n" - " int tochar)\n" - ""}, - { (char *)"SoMFString___getitem__", _wrap_SoMFString___getitem__, METH_VARARGS, (char *)"SoMFString___getitem__(SoMFString self, int i) -> SbString"}, - { (char *)"SoMFString___setitem__", _wrap_SoMFString___setitem__, METH_VARARGS, (char *)"SoMFString___setitem__(SoMFString self, int i, SbString value)"}, - { (char *)"SoMFString_setValue", _wrap_SoMFString_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbString value)\n" - "setValue(char string)\n" - "SoMFString_setValue(SoMFString self, SoMFString other)\n" - ""}, - { (char *)"SoMFString_getValues", _wrap_SoMFString_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbString\n" - "SoMFString_getValues(SoMFString self, int len) -> SbString\n" - ""}, - { (char *)"SoMFString_swigregister", SoMFString_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCalculator_getClassTypeId", _wrap_SoCalculator_getClassTypeId, METH_VARARGS, (char *)"SoCalculator_getClassTypeId() -> SoType"}, - { (char *)"SoCalculator_getTypeId", _wrap_SoCalculator_getTypeId, METH_VARARGS, (char *)"SoCalculator_getTypeId(SoCalculator self) -> SoType"}, - { (char *)"SoCalculator_getFieldData", _wrap_SoCalculator_getFieldData, METH_VARARGS, (char *)"SoCalculator_getFieldData(SoCalculator self) -> SoFieldData"}, - { (char *)"SoCalculator_getOutputData", _wrap_SoCalculator_getOutputData, METH_VARARGS, (char *)"SoCalculator_getOutputData(SoCalculator self) -> SoEngineOutputData"}, - { (char *)"SoCalculator_createInstance", _wrap_SoCalculator_createInstance, METH_VARARGS, (char *)"SoCalculator_createInstance() -> void"}, - { (char *)"SoCalculator_a_set", _wrap_SoCalculator_a_set, METH_VARARGS, (char *)"SoCalculator_a_set(SoCalculator self, SoMFFloat a)"}, - { (char *)"SoCalculator_a_get", _wrap_SoCalculator_a_get, METH_VARARGS, (char *)"SoCalculator_a_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_b_set", _wrap_SoCalculator_b_set, METH_VARARGS, (char *)"SoCalculator_b_set(SoCalculator self, SoMFFloat b)"}, - { (char *)"SoCalculator_b_get", _wrap_SoCalculator_b_get, METH_VARARGS, (char *)"SoCalculator_b_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_c_set", _wrap_SoCalculator_c_set, METH_VARARGS, (char *)"SoCalculator_c_set(SoCalculator self, SoMFFloat c)"}, - { (char *)"SoCalculator_c_get", _wrap_SoCalculator_c_get, METH_VARARGS, (char *)"SoCalculator_c_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_d_set", _wrap_SoCalculator_d_set, METH_VARARGS, (char *)"SoCalculator_d_set(SoCalculator self, SoMFFloat d)"}, - { (char *)"SoCalculator_d_get", _wrap_SoCalculator_d_get, METH_VARARGS, (char *)"SoCalculator_d_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_e_set", _wrap_SoCalculator_e_set, METH_VARARGS, (char *)"SoCalculator_e_set(SoCalculator self, SoMFFloat e)"}, - { (char *)"SoCalculator_e_get", _wrap_SoCalculator_e_get, METH_VARARGS, (char *)"SoCalculator_e_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_f_set", _wrap_SoCalculator_f_set, METH_VARARGS, (char *)"SoCalculator_f_set(SoCalculator self, SoMFFloat f)"}, - { (char *)"SoCalculator_f_get", _wrap_SoCalculator_f_get, METH_VARARGS, (char *)"SoCalculator_f_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_g_set", _wrap_SoCalculator_g_set, METH_VARARGS, (char *)"SoCalculator_g_set(SoCalculator self, SoMFFloat g)"}, - { (char *)"SoCalculator_g_get", _wrap_SoCalculator_g_get, METH_VARARGS, (char *)"SoCalculator_g_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_h_set", _wrap_SoCalculator_h_set, METH_VARARGS, (char *)"SoCalculator_h_set(SoCalculator self, SoMFFloat h)"}, - { (char *)"SoCalculator_h_get", _wrap_SoCalculator_h_get, METH_VARARGS, (char *)"SoCalculator_h_get(SoCalculator self) -> SoMFFloat"}, - { (char *)"SoCalculator_A_set", _wrap_SoCalculator_A_set, METH_VARARGS, (char *)"SoCalculator_A_set(SoCalculator self, SoMFVec3f A)"}, - { (char *)"SoCalculator_A_get", _wrap_SoCalculator_A_get, METH_VARARGS, (char *)"SoCalculator_A_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_B_set", _wrap_SoCalculator_B_set, METH_VARARGS, (char *)"SoCalculator_B_set(SoCalculator self, SoMFVec3f B)"}, - { (char *)"SoCalculator_B_get", _wrap_SoCalculator_B_get, METH_VARARGS, (char *)"SoCalculator_B_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_C_set", _wrap_SoCalculator_C_set, METH_VARARGS, (char *)"SoCalculator_C_set(SoCalculator self, SoMFVec3f C)"}, - { (char *)"SoCalculator_C_get", _wrap_SoCalculator_C_get, METH_VARARGS, (char *)"SoCalculator_C_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_D_set", _wrap_SoCalculator_D_set, METH_VARARGS, (char *)"SoCalculator_D_set(SoCalculator self, SoMFVec3f D)"}, - { (char *)"SoCalculator_D_get", _wrap_SoCalculator_D_get, METH_VARARGS, (char *)"SoCalculator_D_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_E_set", _wrap_SoCalculator_E_set, METH_VARARGS, (char *)"SoCalculator_E_set(SoCalculator self, SoMFVec3f E)"}, - { (char *)"SoCalculator_E_get", _wrap_SoCalculator_E_get, METH_VARARGS, (char *)"SoCalculator_E_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_F_set", _wrap_SoCalculator_F_set, METH_VARARGS, (char *)"SoCalculator_F_set(SoCalculator self, SoMFVec3f F)"}, - { (char *)"SoCalculator_F_get", _wrap_SoCalculator_F_get, METH_VARARGS, (char *)"SoCalculator_F_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_G_set", _wrap_SoCalculator_G_set, METH_VARARGS, (char *)"SoCalculator_G_set(SoCalculator self, SoMFVec3f G)"}, - { (char *)"SoCalculator_G_get", _wrap_SoCalculator_G_get, METH_VARARGS, (char *)"SoCalculator_G_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_H_set", _wrap_SoCalculator_H_set, METH_VARARGS, (char *)"SoCalculator_H_set(SoCalculator self, SoMFVec3f H)"}, - { (char *)"SoCalculator_H_get", _wrap_SoCalculator_H_get, METH_VARARGS, (char *)"SoCalculator_H_get(SoCalculator self) -> SoMFVec3f"}, - { (char *)"SoCalculator_expression_set", _wrap_SoCalculator_expression_set, METH_VARARGS, (char *)"SoCalculator_expression_set(SoCalculator self, SoMFString expression)"}, - { (char *)"SoCalculator_expression_get", _wrap_SoCalculator_expression_get, METH_VARARGS, (char *)"SoCalculator_expression_get(SoCalculator self) -> SoMFString"}, - { (char *)"SoCalculator_oa_set", _wrap_SoCalculator_oa_set, METH_VARARGS, (char *)"SoCalculator_oa_set(SoCalculator self, SoEngineOutput oa)"}, - { (char *)"SoCalculator_oa_get", _wrap_SoCalculator_oa_get, METH_VARARGS, (char *)"SoCalculator_oa_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_ob_set", _wrap_SoCalculator_ob_set, METH_VARARGS, (char *)"SoCalculator_ob_set(SoCalculator self, SoEngineOutput ob)"}, - { (char *)"SoCalculator_ob_get", _wrap_SoCalculator_ob_get, METH_VARARGS, (char *)"SoCalculator_ob_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oc_set", _wrap_SoCalculator_oc_set, METH_VARARGS, (char *)"SoCalculator_oc_set(SoCalculator self, SoEngineOutput oc)"}, - { (char *)"SoCalculator_oc_get", _wrap_SoCalculator_oc_get, METH_VARARGS, (char *)"SoCalculator_oc_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_od_set", _wrap_SoCalculator_od_set, METH_VARARGS, (char *)"SoCalculator_od_set(SoCalculator self, SoEngineOutput od)"}, - { (char *)"SoCalculator_od_get", _wrap_SoCalculator_od_get, METH_VARARGS, (char *)"SoCalculator_od_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oA_set", _wrap_SoCalculator_oA_set, METH_VARARGS, (char *)"SoCalculator_oA_set(SoCalculator self, SoEngineOutput oA)"}, - { (char *)"SoCalculator_oA_get", _wrap_SoCalculator_oA_get, METH_VARARGS, (char *)"SoCalculator_oA_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oB_set", _wrap_SoCalculator_oB_set, METH_VARARGS, (char *)"SoCalculator_oB_set(SoCalculator self, SoEngineOutput oB)"}, - { (char *)"SoCalculator_oB_get", _wrap_SoCalculator_oB_get, METH_VARARGS, (char *)"SoCalculator_oB_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oC_set", _wrap_SoCalculator_oC_set, METH_VARARGS, (char *)"SoCalculator_oC_set(SoCalculator self, SoEngineOutput oC)"}, - { (char *)"SoCalculator_oC_get", _wrap_SoCalculator_oC_get, METH_VARARGS, (char *)"SoCalculator_oC_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"SoCalculator_oD_set", _wrap_SoCalculator_oD_set, METH_VARARGS, (char *)"SoCalculator_oD_set(SoCalculator self, SoEngineOutput oD)"}, - { (char *)"SoCalculator_oD_get", _wrap_SoCalculator_oD_get, METH_VARARGS, (char *)"SoCalculator_oD_get(SoCalculator self) -> SoEngineOutput"}, - { (char *)"new_SoCalculator", _wrap_new_SoCalculator, METH_VARARGS, (char *)"new_SoCalculator() -> SoCalculator"}, - { (char *)"SoCalculator_initClass", _wrap_SoCalculator_initClass, METH_VARARGS, (char *)"SoCalculator_initClass()"}, - { (char *)"SoCalculator_swigregister", SoCalculator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec2f", _wrap_new_SoMFVec2f, METH_VARARGS, (char *)"new_SoMFVec2f() -> SoMFVec2f"}, - { (char *)"delete_SoMFVec2f", _wrap_delete_SoMFVec2f, METH_VARARGS, (char *)"delete_SoMFVec2f(SoMFVec2f self)"}, - { (char *)"SoMFVec2f_createInstance", _wrap_SoMFVec2f_createInstance, METH_VARARGS, (char *)"SoMFVec2f_createInstance() -> void"}, - { (char *)"SoMFVec2f_getClassTypeId", _wrap_SoMFVec2f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec2f_getTypeId", _wrap_SoMFVec2f_getTypeId, METH_VARARGS, (char *)"SoMFVec2f_getTypeId(SoMFVec2f self) -> SoType"}, - { (char *)"SoMFVec2f_copyFrom", _wrap_SoMFVec2f_copyFrom, METH_VARARGS, (char *)"SoMFVec2f_copyFrom(SoMFVec2f self, SoField field)"}, - { (char *)"SoMFVec2f_isSame", _wrap_SoMFVec2f_isSame, METH_VARARGS, (char *)"SoMFVec2f_isSame(SoMFVec2f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec2f_find", _wrap_SoMFVec2f_find, METH_VARARGS, (char *)"\n" - "find(SbVec2f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec2f_find(SoMFVec2f self, SbVec2f value) -> int\n" - ""}, - { (char *)"SoMFVec2f___eq__", _wrap_SoMFVec2f___eq__, METH_VARARGS, (char *)"SoMFVec2f___eq__(SoMFVec2f self, SoMFVec2f field) -> SbBool"}, - { (char *)"SoMFVec2f___ne__", _wrap_SoMFVec2f___ne__, METH_VARARGS, (char *)"SoMFVec2f___ne__(SoMFVec2f self, SoMFVec2f field) -> SbBool"}, - { (char *)"SoMFVec2f_startEditing", _wrap_SoMFVec2f_startEditing, METH_VARARGS, (char *)"SoMFVec2f_startEditing(SoMFVec2f self) -> SbVec2f"}, - { (char *)"SoMFVec2f_finishEditing", _wrap_SoMFVec2f_finishEditing, METH_VARARGS, (char *)"SoMFVec2f_finishEditing(SoMFVec2f self)"}, - { (char *)"SoMFVec2f_setValuesPointer", _wrap_SoMFVec2f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, SbVec2f userdata)\n" - "setValuesPointer(int num, SbVec2f userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "SoMFVec2f_setValuesPointer(SoMFVec2f self, int num, float userdata)\n" - ""}, - { (char *)"SoMFVec2f_initClass", _wrap_SoMFVec2f_initClass, METH_VARARGS, (char *)"SoMFVec2f_initClass()"}, - { (char *)"SoMFVec2f_setValues", _wrap_SoMFVec2f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec2f newvals)\n" - "SoMFVec2f_setValues(SoMFVec2f self, int start, int num, float xy)\n" - ""}, - { (char *)"SoMFVec2f_set1Value", _wrap_SoMFVec2f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec2f value)\n" - "set1Value(int idx, float x, float y)\n" - "SoMFVec2f_set1Value(SoMFVec2f self, int idx, float xy)\n" - ""}, - { (char *)"SoMFVec2f___getitem__", _wrap_SoMFVec2f___getitem__, METH_VARARGS, (char *)"SoMFVec2f___getitem__(SoMFVec2f self, int i) -> SbVec2f"}, - { (char *)"SoMFVec2f___setitem__", _wrap_SoMFVec2f___setitem__, METH_VARARGS, (char *)"SoMFVec2f___setitem__(SoMFVec2f self, int i, SbVec2f value)"}, - { (char *)"SoMFVec2f_setValue", _wrap_SoMFVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2f value)\n" - "setValue(float x, float y)\n" - "setValue(float xy)\n" - "SoMFVec2f_setValue(SoMFVec2f self, SoMFVec2f other)\n" - ""}, - { (char *)"SoMFVec2f_getValues", _wrap_SoMFVec2f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec2f\n" - "SoMFVec2f_getValues(SoMFVec2f self, int len) -> SbVec2f\n" - ""}, - { (char *)"SoMFVec2f_swigregister", SoMFVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec2f_getClassTypeId", _wrap_SoComposeVec2f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec2f_getTypeId", _wrap_SoComposeVec2f_getTypeId, METH_VARARGS, (char *)"SoComposeVec2f_getTypeId(SoComposeVec2f self) -> SoType"}, - { (char *)"SoComposeVec2f_getFieldData", _wrap_SoComposeVec2f_getFieldData, METH_VARARGS, (char *)"SoComposeVec2f_getFieldData(SoComposeVec2f self) -> SoFieldData"}, - { (char *)"SoComposeVec2f_getOutputData", _wrap_SoComposeVec2f_getOutputData, METH_VARARGS, (char *)"SoComposeVec2f_getOutputData(SoComposeVec2f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec2f_createInstance", _wrap_SoComposeVec2f_createInstance, METH_VARARGS, (char *)"SoComposeVec2f_createInstance() -> void"}, - { (char *)"new_SoComposeVec2f", _wrap_new_SoComposeVec2f, METH_VARARGS, (char *)"new_SoComposeVec2f() -> SoComposeVec2f"}, - { (char *)"SoComposeVec2f_initClass", _wrap_SoComposeVec2f_initClass, METH_VARARGS, (char *)"SoComposeVec2f_initClass()"}, - { (char *)"SoComposeVec2f_x_set", _wrap_SoComposeVec2f_x_set, METH_VARARGS, (char *)"SoComposeVec2f_x_set(SoComposeVec2f self, SoMFFloat x)"}, - { (char *)"SoComposeVec2f_x_get", _wrap_SoComposeVec2f_x_get, METH_VARARGS, (char *)"SoComposeVec2f_x_get(SoComposeVec2f self) -> SoMFFloat"}, - { (char *)"SoComposeVec2f_y_set", _wrap_SoComposeVec2f_y_set, METH_VARARGS, (char *)"SoComposeVec2f_y_set(SoComposeVec2f self, SoMFFloat y)"}, - { (char *)"SoComposeVec2f_y_get", _wrap_SoComposeVec2f_y_get, METH_VARARGS, (char *)"SoComposeVec2f_y_get(SoComposeVec2f self) -> SoMFFloat"}, - { (char *)"SoComposeVec2f_vector_set", _wrap_SoComposeVec2f_vector_set, METH_VARARGS, (char *)"SoComposeVec2f_vector_set(SoComposeVec2f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec2f_vector_get", _wrap_SoComposeVec2f_vector_get, METH_VARARGS, (char *)"SoComposeVec2f_vector_get(SoComposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec2f_swigregister", SoComposeVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec3f_getClassTypeId", _wrap_SoComposeVec3f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec3f_getTypeId", _wrap_SoComposeVec3f_getTypeId, METH_VARARGS, (char *)"SoComposeVec3f_getTypeId(SoComposeVec3f self) -> SoType"}, - { (char *)"SoComposeVec3f_getFieldData", _wrap_SoComposeVec3f_getFieldData, METH_VARARGS, (char *)"SoComposeVec3f_getFieldData(SoComposeVec3f self) -> SoFieldData"}, - { (char *)"SoComposeVec3f_getOutputData", _wrap_SoComposeVec3f_getOutputData, METH_VARARGS, (char *)"SoComposeVec3f_getOutputData(SoComposeVec3f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec3f_createInstance", _wrap_SoComposeVec3f_createInstance, METH_VARARGS, (char *)"SoComposeVec3f_createInstance() -> void"}, - { (char *)"new_SoComposeVec3f", _wrap_new_SoComposeVec3f, METH_VARARGS, (char *)"new_SoComposeVec3f() -> SoComposeVec3f"}, - { (char *)"SoComposeVec3f_initClass", _wrap_SoComposeVec3f_initClass, METH_VARARGS, (char *)"SoComposeVec3f_initClass()"}, - { (char *)"SoComposeVec3f_x_set", _wrap_SoComposeVec3f_x_set, METH_VARARGS, (char *)"SoComposeVec3f_x_set(SoComposeVec3f self, SoMFFloat x)"}, - { (char *)"SoComposeVec3f_x_get", _wrap_SoComposeVec3f_x_get, METH_VARARGS, (char *)"SoComposeVec3f_x_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_y_set", _wrap_SoComposeVec3f_y_set, METH_VARARGS, (char *)"SoComposeVec3f_y_set(SoComposeVec3f self, SoMFFloat y)"}, - { (char *)"SoComposeVec3f_y_get", _wrap_SoComposeVec3f_y_get, METH_VARARGS, (char *)"SoComposeVec3f_y_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_z_set", _wrap_SoComposeVec3f_z_set, METH_VARARGS, (char *)"SoComposeVec3f_z_set(SoComposeVec3f self, SoMFFloat z)"}, - { (char *)"SoComposeVec3f_z_get", _wrap_SoComposeVec3f_z_get, METH_VARARGS, (char *)"SoComposeVec3f_z_get(SoComposeVec3f self) -> SoMFFloat"}, - { (char *)"SoComposeVec3f_vector_set", _wrap_SoComposeVec3f_vector_set, METH_VARARGS, (char *)"SoComposeVec3f_vector_set(SoComposeVec3f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec3f_vector_get", _wrap_SoComposeVec3f_vector_get, METH_VARARGS, (char *)"SoComposeVec3f_vector_get(SoComposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec3f_swigregister", SoComposeVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec4f", _wrap_new_SoMFVec4f, METH_VARARGS, (char *)"new_SoMFVec4f() -> SoMFVec4f"}, - { (char *)"delete_SoMFVec4f", _wrap_delete_SoMFVec4f, METH_VARARGS, (char *)"delete_SoMFVec4f(SoMFVec4f self)"}, - { (char *)"SoMFVec4f_createInstance", _wrap_SoMFVec4f_createInstance, METH_VARARGS, (char *)"SoMFVec4f_createInstance() -> void"}, - { (char *)"SoMFVec4f_getClassTypeId", _wrap_SoMFVec4f_getClassTypeId, METH_VARARGS, (char *)"SoMFVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec4f_getTypeId", _wrap_SoMFVec4f_getTypeId, METH_VARARGS, (char *)"SoMFVec4f_getTypeId(SoMFVec4f self) -> SoType"}, - { (char *)"SoMFVec4f_copyFrom", _wrap_SoMFVec4f_copyFrom, METH_VARARGS, (char *)"SoMFVec4f_copyFrom(SoMFVec4f self, SoField field)"}, - { (char *)"SoMFVec4f_isSame", _wrap_SoMFVec4f_isSame, METH_VARARGS, (char *)"SoMFVec4f_isSame(SoMFVec4f self, SoField field) -> SbBool"}, - { (char *)"SoMFVec4f_find", _wrap_SoMFVec4f_find, METH_VARARGS, (char *)"\n" - "find(SbVec4f value, SbBool addifnotfound=0) -> int\n" - "SoMFVec4f_find(SoMFVec4f self, SbVec4f value) -> int\n" - ""}, - { (char *)"SoMFVec4f___eq__", _wrap_SoMFVec4f___eq__, METH_VARARGS, (char *)"SoMFVec4f___eq__(SoMFVec4f self, SoMFVec4f field) -> SbBool"}, - { (char *)"SoMFVec4f___ne__", _wrap_SoMFVec4f___ne__, METH_VARARGS, (char *)"SoMFVec4f___ne__(SoMFVec4f self, SoMFVec4f field) -> SbBool"}, - { (char *)"SoMFVec4f_startEditing", _wrap_SoMFVec4f_startEditing, METH_VARARGS, (char *)"SoMFVec4f_startEditing(SoMFVec4f self) -> SbVec4f"}, - { (char *)"SoMFVec4f_finishEditing", _wrap_SoMFVec4f_finishEditing, METH_VARARGS, (char *)"SoMFVec4f_finishEditing(SoMFVec4f self)"}, - { (char *)"SoMFVec4f_setValuesPointer", _wrap_SoMFVec4f_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, SbVec4f userdata)\n" - "SoMFVec4f_setValuesPointer(SoMFVec4f self, int num, SbVec4f userdata)\n" - ""}, - { (char *)"SoMFVec4f_initClass", _wrap_SoMFVec4f_initClass, METH_VARARGS, (char *)"SoMFVec4f_initClass()"}, - { (char *)"SoMFVec4f_setValues", _wrap_SoMFVec4f_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec4f newvals)\n" - "SoMFVec4f_setValues(SoMFVec4f self, int start, int num, float xyzw)\n" - ""}, - { (char *)"SoMFVec4f_set1Value", _wrap_SoMFVec4f_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec4f value)\n" - "set1Value(int idx, float x, float y, float z, float w)\n" - "SoMFVec4f_set1Value(SoMFVec4f self, int idx, float xyzw)\n" - ""}, - { (char *)"SoMFVec4f___getitem__", _wrap_SoMFVec4f___getitem__, METH_VARARGS, (char *)"SoMFVec4f___getitem__(SoMFVec4f self, int i) -> SbVec4f"}, - { (char *)"SoMFVec4f___setitem__", _wrap_SoMFVec4f___setitem__, METH_VARARGS, (char *)"SoMFVec4f___setitem__(SoMFVec4f self, int i, SbVec4f value)"}, - { (char *)"SoMFVec4f_setValue", _wrap_SoMFVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4f value)\n" - "setValue(float x, float y, float z, float w)\n" - "setValue(float xyzw)\n" - "SoMFVec4f_setValue(SoMFVec4f self, SoMFVec4f other)\n" - ""}, - { (char *)"SoMFVec4f_getValues", _wrap_SoMFVec4f_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec4f\n" - "SoMFVec4f_getValues(SoMFVec4f self, int len) -> SbVec4f\n" - ""}, - { (char *)"SoMFVec4f_swigregister", SoMFVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeVec4f_getClassTypeId", _wrap_SoComposeVec4f_getClassTypeId, METH_VARARGS, (char *)"SoComposeVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoComposeVec4f_getTypeId", _wrap_SoComposeVec4f_getTypeId, METH_VARARGS, (char *)"SoComposeVec4f_getTypeId(SoComposeVec4f self) -> SoType"}, - { (char *)"SoComposeVec4f_getFieldData", _wrap_SoComposeVec4f_getFieldData, METH_VARARGS, (char *)"SoComposeVec4f_getFieldData(SoComposeVec4f self) -> SoFieldData"}, - { (char *)"SoComposeVec4f_getOutputData", _wrap_SoComposeVec4f_getOutputData, METH_VARARGS, (char *)"SoComposeVec4f_getOutputData(SoComposeVec4f self) -> SoEngineOutputData"}, - { (char *)"SoComposeVec4f_createInstance", _wrap_SoComposeVec4f_createInstance, METH_VARARGS, (char *)"SoComposeVec4f_createInstance() -> void"}, - { (char *)"new_SoComposeVec4f", _wrap_new_SoComposeVec4f, METH_VARARGS, (char *)"new_SoComposeVec4f() -> SoComposeVec4f"}, - { (char *)"SoComposeVec4f_initClass", _wrap_SoComposeVec4f_initClass, METH_VARARGS, (char *)"SoComposeVec4f_initClass()"}, - { (char *)"SoComposeVec4f_x_set", _wrap_SoComposeVec4f_x_set, METH_VARARGS, (char *)"SoComposeVec4f_x_set(SoComposeVec4f self, SoMFFloat x)"}, - { (char *)"SoComposeVec4f_x_get", _wrap_SoComposeVec4f_x_get, METH_VARARGS, (char *)"SoComposeVec4f_x_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_y_set", _wrap_SoComposeVec4f_y_set, METH_VARARGS, (char *)"SoComposeVec4f_y_set(SoComposeVec4f self, SoMFFloat y)"}, - { (char *)"SoComposeVec4f_y_get", _wrap_SoComposeVec4f_y_get, METH_VARARGS, (char *)"SoComposeVec4f_y_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_z_set", _wrap_SoComposeVec4f_z_set, METH_VARARGS, (char *)"SoComposeVec4f_z_set(SoComposeVec4f self, SoMFFloat z)"}, - { (char *)"SoComposeVec4f_z_get", _wrap_SoComposeVec4f_z_get, METH_VARARGS, (char *)"SoComposeVec4f_z_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_w_set", _wrap_SoComposeVec4f_w_set, METH_VARARGS, (char *)"SoComposeVec4f_w_set(SoComposeVec4f self, SoMFFloat w)"}, - { (char *)"SoComposeVec4f_w_get", _wrap_SoComposeVec4f_w_get, METH_VARARGS, (char *)"SoComposeVec4f_w_get(SoComposeVec4f self) -> SoMFFloat"}, - { (char *)"SoComposeVec4f_vector_set", _wrap_SoComposeVec4f_vector_set, METH_VARARGS, (char *)"SoComposeVec4f_vector_set(SoComposeVec4f self, SoEngineOutput vector)"}, - { (char *)"SoComposeVec4f_vector_get", _wrap_SoComposeVec4f_vector_get, METH_VARARGS, (char *)"SoComposeVec4f_vector_get(SoComposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoComposeVec4f_swigregister", SoComposeVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec2f_getClassTypeId", _wrap_SoDecomposeVec2f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec2f_getTypeId", _wrap_SoDecomposeVec2f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec2f_getTypeId(SoDecomposeVec2f self) -> SoType"}, - { (char *)"SoDecomposeVec2f_getFieldData", _wrap_SoDecomposeVec2f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec2f_getFieldData(SoDecomposeVec2f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec2f_getOutputData", _wrap_SoDecomposeVec2f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec2f_getOutputData(SoDecomposeVec2f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec2f_createInstance", _wrap_SoDecomposeVec2f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec2f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec2f", _wrap_new_SoDecomposeVec2f, METH_VARARGS, (char *)"new_SoDecomposeVec2f() -> SoDecomposeVec2f"}, - { (char *)"SoDecomposeVec2f_initClass", _wrap_SoDecomposeVec2f_initClass, METH_VARARGS, (char *)"SoDecomposeVec2f_initClass()"}, - { (char *)"SoDecomposeVec2f_vector_set", _wrap_SoDecomposeVec2f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec2f_vector_set(SoDecomposeVec2f self, SoMFVec2f vector)"}, - { (char *)"SoDecomposeVec2f_vector_get", _wrap_SoDecomposeVec2f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec2f_vector_get(SoDecomposeVec2f self) -> SoMFVec2f"}, - { (char *)"SoDecomposeVec2f_x_set", _wrap_SoDecomposeVec2f_x_set, METH_VARARGS, (char *)"SoDecomposeVec2f_x_set(SoDecomposeVec2f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec2f_x_get", _wrap_SoDecomposeVec2f_x_get, METH_VARARGS, (char *)"SoDecomposeVec2f_x_get(SoDecomposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec2f_y_set", _wrap_SoDecomposeVec2f_y_set, METH_VARARGS, (char *)"SoDecomposeVec2f_y_set(SoDecomposeVec2f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec2f_y_get", _wrap_SoDecomposeVec2f_y_get, METH_VARARGS, (char *)"SoDecomposeVec2f_y_get(SoDecomposeVec2f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec2f_swigregister", SoDecomposeVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec3f_getClassTypeId", _wrap_SoDecomposeVec3f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec3f_getTypeId", _wrap_SoDecomposeVec3f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec3f_getTypeId(SoDecomposeVec3f self) -> SoType"}, - { (char *)"SoDecomposeVec3f_getFieldData", _wrap_SoDecomposeVec3f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec3f_getFieldData(SoDecomposeVec3f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec3f_getOutputData", _wrap_SoDecomposeVec3f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec3f_getOutputData(SoDecomposeVec3f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec3f_createInstance", _wrap_SoDecomposeVec3f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec3f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec3f", _wrap_new_SoDecomposeVec3f, METH_VARARGS, (char *)"new_SoDecomposeVec3f() -> SoDecomposeVec3f"}, - { (char *)"SoDecomposeVec3f_initClass", _wrap_SoDecomposeVec3f_initClass, METH_VARARGS, (char *)"SoDecomposeVec3f_initClass()"}, - { (char *)"SoDecomposeVec3f_vector_set", _wrap_SoDecomposeVec3f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec3f_vector_set(SoDecomposeVec3f self, SoMFVec3f vector)"}, - { (char *)"SoDecomposeVec3f_vector_get", _wrap_SoDecomposeVec3f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec3f_vector_get(SoDecomposeVec3f self) -> SoMFVec3f"}, - { (char *)"SoDecomposeVec3f_x_set", _wrap_SoDecomposeVec3f_x_set, METH_VARARGS, (char *)"SoDecomposeVec3f_x_set(SoDecomposeVec3f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec3f_x_get", _wrap_SoDecomposeVec3f_x_get, METH_VARARGS, (char *)"SoDecomposeVec3f_x_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_y_set", _wrap_SoDecomposeVec3f_y_set, METH_VARARGS, (char *)"SoDecomposeVec3f_y_set(SoDecomposeVec3f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec3f_y_get", _wrap_SoDecomposeVec3f_y_get, METH_VARARGS, (char *)"SoDecomposeVec3f_y_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_z_set", _wrap_SoDecomposeVec3f_z_set, METH_VARARGS, (char *)"SoDecomposeVec3f_z_set(SoDecomposeVec3f self, SoEngineOutput z)"}, - { (char *)"SoDecomposeVec3f_z_get", _wrap_SoDecomposeVec3f_z_get, METH_VARARGS, (char *)"SoDecomposeVec3f_z_get(SoDecomposeVec3f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec3f_swigregister", SoDecomposeVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeVec4f_getClassTypeId", _wrap_SoDecomposeVec4f_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeVec4f_getTypeId", _wrap_SoDecomposeVec4f_getTypeId, METH_VARARGS, (char *)"SoDecomposeVec4f_getTypeId(SoDecomposeVec4f self) -> SoType"}, - { (char *)"SoDecomposeVec4f_getFieldData", _wrap_SoDecomposeVec4f_getFieldData, METH_VARARGS, (char *)"SoDecomposeVec4f_getFieldData(SoDecomposeVec4f self) -> SoFieldData"}, - { (char *)"SoDecomposeVec4f_getOutputData", _wrap_SoDecomposeVec4f_getOutputData, METH_VARARGS, (char *)"SoDecomposeVec4f_getOutputData(SoDecomposeVec4f self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeVec4f_createInstance", _wrap_SoDecomposeVec4f_createInstance, METH_VARARGS, (char *)"SoDecomposeVec4f_createInstance() -> void"}, - { (char *)"new_SoDecomposeVec4f", _wrap_new_SoDecomposeVec4f, METH_VARARGS, (char *)"new_SoDecomposeVec4f() -> SoDecomposeVec4f"}, - { (char *)"SoDecomposeVec4f_initClass", _wrap_SoDecomposeVec4f_initClass, METH_VARARGS, (char *)"SoDecomposeVec4f_initClass()"}, - { (char *)"SoDecomposeVec4f_vector_set", _wrap_SoDecomposeVec4f_vector_set, METH_VARARGS, (char *)"SoDecomposeVec4f_vector_set(SoDecomposeVec4f self, SoMFVec4f vector)"}, - { (char *)"SoDecomposeVec4f_vector_get", _wrap_SoDecomposeVec4f_vector_get, METH_VARARGS, (char *)"SoDecomposeVec4f_vector_get(SoDecomposeVec4f self) -> SoMFVec4f"}, - { (char *)"SoDecomposeVec4f_x_set", _wrap_SoDecomposeVec4f_x_set, METH_VARARGS, (char *)"SoDecomposeVec4f_x_set(SoDecomposeVec4f self, SoEngineOutput x)"}, - { (char *)"SoDecomposeVec4f_x_get", _wrap_SoDecomposeVec4f_x_get, METH_VARARGS, (char *)"SoDecomposeVec4f_x_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_y_set", _wrap_SoDecomposeVec4f_y_set, METH_VARARGS, (char *)"SoDecomposeVec4f_y_set(SoDecomposeVec4f self, SoEngineOutput y)"}, - { (char *)"SoDecomposeVec4f_y_get", _wrap_SoDecomposeVec4f_y_get, METH_VARARGS, (char *)"SoDecomposeVec4f_y_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_z_set", _wrap_SoDecomposeVec4f_z_set, METH_VARARGS, (char *)"SoDecomposeVec4f_z_set(SoDecomposeVec4f self, SoEngineOutput z)"}, - { (char *)"SoDecomposeVec4f_z_get", _wrap_SoDecomposeVec4f_z_get, METH_VARARGS, (char *)"SoDecomposeVec4f_z_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_w_set", _wrap_SoDecomposeVec4f_w_set, METH_VARARGS, (char *)"SoDecomposeVec4f_w_set(SoDecomposeVec4f self, SoEngineOutput w)"}, - { (char *)"SoDecomposeVec4f_w_get", _wrap_SoDecomposeVec4f_w_get, METH_VARARGS, (char *)"SoDecomposeVec4f_w_get(SoDecomposeVec4f self) -> SoEngineOutput"}, - { (char *)"SoDecomposeVec4f_swigregister", SoDecomposeVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeRotation_getClassTypeId", _wrap_SoComposeRotation_getClassTypeId, METH_VARARGS, (char *)"SoComposeRotation_getClassTypeId() -> SoType"}, - { (char *)"SoComposeRotation_getTypeId", _wrap_SoComposeRotation_getTypeId, METH_VARARGS, (char *)"SoComposeRotation_getTypeId(SoComposeRotation self) -> SoType"}, - { (char *)"SoComposeRotation_getFieldData", _wrap_SoComposeRotation_getFieldData, METH_VARARGS, (char *)"SoComposeRotation_getFieldData(SoComposeRotation self) -> SoFieldData"}, - { (char *)"SoComposeRotation_getOutputData", _wrap_SoComposeRotation_getOutputData, METH_VARARGS, (char *)"SoComposeRotation_getOutputData(SoComposeRotation self) -> SoEngineOutputData"}, - { (char *)"SoComposeRotation_createInstance", _wrap_SoComposeRotation_createInstance, METH_VARARGS, (char *)"SoComposeRotation_createInstance() -> void"}, - { (char *)"new_SoComposeRotation", _wrap_new_SoComposeRotation, METH_VARARGS, (char *)"new_SoComposeRotation() -> SoComposeRotation"}, - { (char *)"SoComposeRotation_initClass", _wrap_SoComposeRotation_initClass, METH_VARARGS, (char *)"SoComposeRotation_initClass()"}, - { (char *)"SoComposeRotation_axis_set", _wrap_SoComposeRotation_axis_set, METH_VARARGS, (char *)"SoComposeRotation_axis_set(SoComposeRotation self, SoMFVec3f axis)"}, - { (char *)"SoComposeRotation_axis_get", _wrap_SoComposeRotation_axis_get, METH_VARARGS, (char *)"SoComposeRotation_axis_get(SoComposeRotation self) -> SoMFVec3f"}, - { (char *)"SoComposeRotation_angle_set", _wrap_SoComposeRotation_angle_set, METH_VARARGS, (char *)"SoComposeRotation_angle_set(SoComposeRotation self, SoMFFloat angle)"}, - { (char *)"SoComposeRotation_angle_get", _wrap_SoComposeRotation_angle_get, METH_VARARGS, (char *)"SoComposeRotation_angle_get(SoComposeRotation self) -> SoMFFloat"}, - { (char *)"SoComposeRotation_rotation_set", _wrap_SoComposeRotation_rotation_set, METH_VARARGS, (char *)"SoComposeRotation_rotation_set(SoComposeRotation self, SoEngineOutput rotation)"}, - { (char *)"SoComposeRotation_rotation_get", _wrap_SoComposeRotation_rotation_get, METH_VARARGS, (char *)"SoComposeRotation_rotation_get(SoComposeRotation self) -> SoEngineOutput"}, - { (char *)"SoComposeRotation_swigregister", SoComposeRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFRotation", _wrap_new_SoMFRotation, METH_VARARGS, (char *)"new_SoMFRotation() -> SoMFRotation"}, - { (char *)"delete_SoMFRotation", _wrap_delete_SoMFRotation, METH_VARARGS, (char *)"delete_SoMFRotation(SoMFRotation self)"}, - { (char *)"SoMFRotation_createInstance", _wrap_SoMFRotation_createInstance, METH_VARARGS, (char *)"SoMFRotation_createInstance() -> void"}, - { (char *)"SoMFRotation_getClassTypeId", _wrap_SoMFRotation_getClassTypeId, METH_VARARGS, (char *)"SoMFRotation_getClassTypeId() -> SoType"}, - { (char *)"SoMFRotation_getTypeId", _wrap_SoMFRotation_getTypeId, METH_VARARGS, (char *)"SoMFRotation_getTypeId(SoMFRotation self) -> SoType"}, - { (char *)"SoMFRotation_copyFrom", _wrap_SoMFRotation_copyFrom, METH_VARARGS, (char *)"SoMFRotation_copyFrom(SoMFRotation self, SoField field)"}, - { (char *)"SoMFRotation_isSame", _wrap_SoMFRotation_isSame, METH_VARARGS, (char *)"SoMFRotation_isSame(SoMFRotation self, SoField field) -> SbBool"}, - { (char *)"SoMFRotation_find", _wrap_SoMFRotation_find, METH_VARARGS, (char *)"\n" - "find(SbRotation value, SbBool addifnotfound=0) -> int\n" - "SoMFRotation_find(SoMFRotation self, SbRotation value) -> int\n" - ""}, - { (char *)"SoMFRotation___eq__", _wrap_SoMFRotation___eq__, METH_VARARGS, (char *)"SoMFRotation___eq__(SoMFRotation self, SoMFRotation field) -> SbBool"}, - { (char *)"SoMFRotation___ne__", _wrap_SoMFRotation___ne__, METH_VARARGS, (char *)"SoMFRotation___ne__(SoMFRotation self, SoMFRotation field) -> SbBool"}, - { (char *)"SoMFRotation_startEditing", _wrap_SoMFRotation_startEditing, METH_VARARGS, (char *)"SoMFRotation_startEditing(SoMFRotation self) -> SbRotation"}, - { (char *)"SoMFRotation_finishEditing", _wrap_SoMFRotation_finishEditing, METH_VARARGS, (char *)"SoMFRotation_finishEditing(SoMFRotation self)"}, - { (char *)"SoMFRotation_initClass", _wrap_SoMFRotation_initClass, METH_VARARGS, (char *)"SoMFRotation_initClass()"}, - { (char *)"SoMFRotation_setValues", _wrap_SoMFRotation_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbRotation newvals)\n" - "SoMFRotation_setValues(SoMFRotation self, int start, int num, float q)\n" - ""}, - { (char *)"SoMFRotation_set1Value", _wrap_SoMFRotation_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbRotation value)\n" - "set1Value(int idx, float q0, float q1, float q2, float q3)\n" - "set1Value(int idx, float q)\n" - "SoMFRotation_set1Value(SoMFRotation self, int idx, SbVec3f axis, float angle)\n" - ""}, - { (char *)"SoMFRotation___getitem__", _wrap_SoMFRotation___getitem__, METH_VARARGS, (char *)"SoMFRotation___getitem__(SoMFRotation self, int i) -> SbRotation"}, - { (char *)"SoMFRotation___setitem__", _wrap_SoMFRotation___setitem__, METH_VARARGS, (char *)"SoMFRotation___setitem__(SoMFRotation self, int i, SbRotation value)"}, - { (char *)"SoMFRotation_getValues", _wrap_SoMFRotation_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbRotation\n" - "SoMFRotation_getValues(SoMFRotation self, int len) -> SbRotation\n" - ""}, - { (char *)"SoMFRotation_setValue", _wrap_SoMFRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbRotation value)\n" - "setValue(float q0, float q1, float q2, float q3)\n" - "setValue(float q)\n" - "setValue(SbVec3f axis, float angle)\n" - "SoMFRotation_setValue(SoMFRotation self, SoMFRotation other)\n" - ""}, - { (char *)"SoMFRotation_swigregister", SoMFRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeRotation_getClassTypeId", _wrap_SoDecomposeRotation_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeRotation_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeRotation_getTypeId", _wrap_SoDecomposeRotation_getTypeId, METH_VARARGS, (char *)"SoDecomposeRotation_getTypeId(SoDecomposeRotation self) -> SoType"}, - { (char *)"SoDecomposeRotation_getFieldData", _wrap_SoDecomposeRotation_getFieldData, METH_VARARGS, (char *)"SoDecomposeRotation_getFieldData(SoDecomposeRotation self) -> SoFieldData"}, - { (char *)"SoDecomposeRotation_getOutputData", _wrap_SoDecomposeRotation_getOutputData, METH_VARARGS, (char *)"SoDecomposeRotation_getOutputData(SoDecomposeRotation self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeRotation_createInstance", _wrap_SoDecomposeRotation_createInstance, METH_VARARGS, (char *)"SoDecomposeRotation_createInstance() -> void"}, - { (char *)"new_SoDecomposeRotation", _wrap_new_SoDecomposeRotation, METH_VARARGS, (char *)"new_SoDecomposeRotation() -> SoDecomposeRotation"}, - { (char *)"SoDecomposeRotation_initClass", _wrap_SoDecomposeRotation_initClass, METH_VARARGS, (char *)"SoDecomposeRotation_initClass()"}, - { (char *)"SoDecomposeRotation_rotation_set", _wrap_SoDecomposeRotation_rotation_set, METH_VARARGS, (char *)"SoDecomposeRotation_rotation_set(SoDecomposeRotation self, SoMFRotation rotation)"}, - { (char *)"SoDecomposeRotation_rotation_get", _wrap_SoDecomposeRotation_rotation_get, METH_VARARGS, (char *)"SoDecomposeRotation_rotation_get(SoDecomposeRotation self) -> SoMFRotation"}, - { (char *)"SoDecomposeRotation_axis_set", _wrap_SoDecomposeRotation_axis_set, METH_VARARGS, (char *)"SoDecomposeRotation_axis_set(SoDecomposeRotation self, SoEngineOutput axis)"}, - { (char *)"SoDecomposeRotation_axis_get", _wrap_SoDecomposeRotation_axis_get, METH_VARARGS, (char *)"SoDecomposeRotation_axis_get(SoDecomposeRotation self) -> SoEngineOutput"}, - { (char *)"SoDecomposeRotation_angle_set", _wrap_SoDecomposeRotation_angle_set, METH_VARARGS, (char *)"SoDecomposeRotation_angle_set(SoDecomposeRotation self, SoEngineOutput angle)"}, - { (char *)"SoDecomposeRotation_angle_get", _wrap_SoDecomposeRotation_angle_get, METH_VARARGS, (char *)"SoDecomposeRotation_angle_get(SoDecomposeRotation self) -> SoEngineOutput"}, - { (char *)"SoDecomposeRotation_swigregister", SoDecomposeRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeMatrix_getClassTypeId", _wrap_SoComposeMatrix_getClassTypeId, METH_VARARGS, (char *)"SoComposeMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoComposeMatrix_getTypeId", _wrap_SoComposeMatrix_getTypeId, METH_VARARGS, (char *)"SoComposeMatrix_getTypeId(SoComposeMatrix self) -> SoType"}, - { (char *)"SoComposeMatrix_getFieldData", _wrap_SoComposeMatrix_getFieldData, METH_VARARGS, (char *)"SoComposeMatrix_getFieldData(SoComposeMatrix self) -> SoFieldData"}, - { (char *)"SoComposeMatrix_getOutputData", _wrap_SoComposeMatrix_getOutputData, METH_VARARGS, (char *)"SoComposeMatrix_getOutputData(SoComposeMatrix self) -> SoEngineOutputData"}, - { (char *)"SoComposeMatrix_createInstance", _wrap_SoComposeMatrix_createInstance, METH_VARARGS, (char *)"SoComposeMatrix_createInstance() -> void"}, - { (char *)"new_SoComposeMatrix", _wrap_new_SoComposeMatrix, METH_VARARGS, (char *)"new_SoComposeMatrix() -> SoComposeMatrix"}, - { (char *)"SoComposeMatrix_initClass", _wrap_SoComposeMatrix_initClass, METH_VARARGS, (char *)"SoComposeMatrix_initClass()"}, - { (char *)"SoComposeMatrix_translation_set", _wrap_SoComposeMatrix_translation_set, METH_VARARGS, (char *)"SoComposeMatrix_translation_set(SoComposeMatrix self, SoMFVec3f translation)"}, - { (char *)"SoComposeMatrix_translation_get", _wrap_SoComposeMatrix_translation_get, METH_VARARGS, (char *)"SoComposeMatrix_translation_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_rotation_set", _wrap_SoComposeMatrix_rotation_set, METH_VARARGS, (char *)"SoComposeMatrix_rotation_set(SoComposeMatrix self, SoMFRotation rotation)"}, - { (char *)"SoComposeMatrix_rotation_get", _wrap_SoComposeMatrix_rotation_get, METH_VARARGS, (char *)"SoComposeMatrix_rotation_get(SoComposeMatrix self) -> SoMFRotation"}, - { (char *)"SoComposeMatrix_scaleFactor_set", _wrap_SoComposeMatrix_scaleFactor_set, METH_VARARGS, (char *)"SoComposeMatrix_scaleFactor_set(SoComposeMatrix self, SoMFVec3f scaleFactor)"}, - { (char *)"SoComposeMatrix_scaleFactor_get", _wrap_SoComposeMatrix_scaleFactor_get, METH_VARARGS, (char *)"SoComposeMatrix_scaleFactor_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_scaleOrientation_set", _wrap_SoComposeMatrix_scaleOrientation_set, METH_VARARGS, (char *)"SoComposeMatrix_scaleOrientation_set(SoComposeMatrix self, SoMFRotation scaleOrientation)"}, - { (char *)"SoComposeMatrix_scaleOrientation_get", _wrap_SoComposeMatrix_scaleOrientation_get, METH_VARARGS, (char *)"SoComposeMatrix_scaleOrientation_get(SoComposeMatrix self) -> SoMFRotation"}, - { (char *)"SoComposeMatrix_center_set", _wrap_SoComposeMatrix_center_set, METH_VARARGS, (char *)"SoComposeMatrix_center_set(SoComposeMatrix self, SoMFVec3f center)"}, - { (char *)"SoComposeMatrix_center_get", _wrap_SoComposeMatrix_center_get, METH_VARARGS, (char *)"SoComposeMatrix_center_get(SoComposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoComposeMatrix_matrix_set", _wrap_SoComposeMatrix_matrix_set, METH_VARARGS, (char *)"SoComposeMatrix_matrix_set(SoComposeMatrix self, SoEngineOutput matrix)"}, - { (char *)"SoComposeMatrix_matrix_get", _wrap_SoComposeMatrix_matrix_get, METH_VARARGS, (char *)"SoComposeMatrix_matrix_get(SoComposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoComposeMatrix_swigregister", SoComposeMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFMatrix", _wrap_new_SoMFMatrix, METH_VARARGS, (char *)"new_SoMFMatrix() -> SoMFMatrix"}, - { (char *)"delete_SoMFMatrix", _wrap_delete_SoMFMatrix, METH_VARARGS, (char *)"delete_SoMFMatrix(SoMFMatrix self)"}, - { (char *)"SoMFMatrix_createInstance", _wrap_SoMFMatrix_createInstance, METH_VARARGS, (char *)"SoMFMatrix_createInstance() -> void"}, - { (char *)"SoMFMatrix_getClassTypeId", _wrap_SoMFMatrix_getClassTypeId, METH_VARARGS, (char *)"SoMFMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoMFMatrix_getTypeId", _wrap_SoMFMatrix_getTypeId, METH_VARARGS, (char *)"SoMFMatrix_getTypeId(SoMFMatrix self) -> SoType"}, - { (char *)"SoMFMatrix_copyFrom", _wrap_SoMFMatrix_copyFrom, METH_VARARGS, (char *)"SoMFMatrix_copyFrom(SoMFMatrix self, SoField field)"}, - { (char *)"SoMFMatrix_isSame", _wrap_SoMFMatrix_isSame, METH_VARARGS, (char *)"SoMFMatrix_isSame(SoMFMatrix self, SoField field) -> SbBool"}, - { (char *)"SoMFMatrix_find", _wrap_SoMFMatrix_find, METH_VARARGS, (char *)"\n" - "find(SbMatrix value, SbBool addifnotfound=0) -> int\n" - "SoMFMatrix_find(SoMFMatrix self, SbMatrix value) -> int\n" - ""}, - { (char *)"SoMFMatrix_setValues", _wrap_SoMFMatrix_setValues, METH_VARARGS, (char *)"SoMFMatrix_setValues(SoMFMatrix self, int start, int num, SbMatrix newvals)"}, - { (char *)"SoMFMatrix_set1Value", _wrap_SoMFMatrix_set1Value, METH_VARARGS, (char *)"SoMFMatrix_set1Value(SoMFMatrix self, int idx, SbMatrix value)"}, - { (char *)"SoMFMatrix___eq__", _wrap_SoMFMatrix___eq__, METH_VARARGS, (char *)"SoMFMatrix___eq__(SoMFMatrix self, SoMFMatrix field) -> SbBool"}, - { (char *)"SoMFMatrix___ne__", _wrap_SoMFMatrix___ne__, METH_VARARGS, (char *)"SoMFMatrix___ne__(SoMFMatrix self, SoMFMatrix field) -> SbBool"}, - { (char *)"SoMFMatrix_startEditing", _wrap_SoMFMatrix_startEditing, METH_VARARGS, (char *)"SoMFMatrix_startEditing(SoMFMatrix self) -> SbMatrix"}, - { (char *)"SoMFMatrix_finishEditing", _wrap_SoMFMatrix_finishEditing, METH_VARARGS, (char *)"SoMFMatrix_finishEditing(SoMFMatrix self)"}, - { (char *)"SoMFMatrix_initClass", _wrap_SoMFMatrix_initClass, METH_VARARGS, (char *)"SoMFMatrix_initClass()"}, - { (char *)"SoMFMatrix___getitem__", _wrap_SoMFMatrix___getitem__, METH_VARARGS, (char *)"SoMFMatrix___getitem__(SoMFMatrix self, int i) -> SbMatrix"}, - { (char *)"SoMFMatrix___setitem__", _wrap_SoMFMatrix___setitem__, METH_VARARGS, (char *)"SoMFMatrix___setitem__(SoMFMatrix self, int i, SbMatrix value)"}, - { (char *)"SoMFMatrix_getValues", _wrap_SoMFMatrix_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbMatrix\n" - "SoMFMatrix_getValues(SoMFMatrix self, int len) -> SbMatrix\n" - ""}, - { (char *)"SoMFMatrix_setValue", _wrap_SoMFMatrix_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbMatrix value)\n" - "setValue(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SoMFMatrix_setValue(SoMFMatrix self, SoMFMatrix other)\n" - ""}, - { (char *)"SoMFMatrix_swigregister", SoMFMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDecomposeMatrix_getClassTypeId", _wrap_SoDecomposeMatrix_getClassTypeId, METH_VARARGS, (char *)"SoDecomposeMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoDecomposeMatrix_getTypeId", _wrap_SoDecomposeMatrix_getTypeId, METH_VARARGS, (char *)"SoDecomposeMatrix_getTypeId(SoDecomposeMatrix self) -> SoType"}, - { (char *)"SoDecomposeMatrix_getFieldData", _wrap_SoDecomposeMatrix_getFieldData, METH_VARARGS, (char *)"SoDecomposeMatrix_getFieldData(SoDecomposeMatrix self) -> SoFieldData"}, - { (char *)"SoDecomposeMatrix_getOutputData", _wrap_SoDecomposeMatrix_getOutputData, METH_VARARGS, (char *)"SoDecomposeMatrix_getOutputData(SoDecomposeMatrix self) -> SoEngineOutputData"}, - { (char *)"SoDecomposeMatrix_createInstance", _wrap_SoDecomposeMatrix_createInstance, METH_VARARGS, (char *)"SoDecomposeMatrix_createInstance() -> void"}, - { (char *)"new_SoDecomposeMatrix", _wrap_new_SoDecomposeMatrix, METH_VARARGS, (char *)"new_SoDecomposeMatrix() -> SoDecomposeMatrix"}, - { (char *)"SoDecomposeMatrix_initClass", _wrap_SoDecomposeMatrix_initClass, METH_VARARGS, (char *)"SoDecomposeMatrix_initClass()"}, - { (char *)"SoDecomposeMatrix_matrix_set", _wrap_SoDecomposeMatrix_matrix_set, METH_VARARGS, (char *)"SoDecomposeMatrix_matrix_set(SoDecomposeMatrix self, SoMFMatrix matrix)"}, - { (char *)"SoDecomposeMatrix_matrix_get", _wrap_SoDecomposeMatrix_matrix_get, METH_VARARGS, (char *)"SoDecomposeMatrix_matrix_get(SoDecomposeMatrix self) -> SoMFMatrix"}, - { (char *)"SoDecomposeMatrix_center_set", _wrap_SoDecomposeMatrix_center_set, METH_VARARGS, (char *)"SoDecomposeMatrix_center_set(SoDecomposeMatrix self, SoMFVec3f center)"}, - { (char *)"SoDecomposeMatrix_center_get", _wrap_SoDecomposeMatrix_center_get, METH_VARARGS, (char *)"SoDecomposeMatrix_center_get(SoDecomposeMatrix self) -> SoMFVec3f"}, - { (char *)"SoDecomposeMatrix_translation_set", _wrap_SoDecomposeMatrix_translation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_translation_set(SoDecomposeMatrix self, SoEngineOutput translation)"}, - { (char *)"SoDecomposeMatrix_translation_get", _wrap_SoDecomposeMatrix_translation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_translation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_rotation_set", _wrap_SoDecomposeMatrix_rotation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_rotation_set(SoDecomposeMatrix self, SoEngineOutput rotation)"}, - { (char *)"SoDecomposeMatrix_rotation_get", _wrap_SoDecomposeMatrix_rotation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_rotation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_scaleFactor_set", _wrap_SoDecomposeMatrix_scaleFactor_set, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleFactor_set(SoDecomposeMatrix self, SoEngineOutput scaleFactor)"}, - { (char *)"SoDecomposeMatrix_scaleFactor_get", _wrap_SoDecomposeMatrix_scaleFactor_get, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleFactor_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_scaleOrientation_set", _wrap_SoDecomposeMatrix_scaleOrientation_set, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleOrientation_set(SoDecomposeMatrix self, SoEngineOutput scaleOrientation)"}, - { (char *)"SoDecomposeMatrix_scaleOrientation_get", _wrap_SoDecomposeMatrix_scaleOrientation_get, METH_VARARGS, (char *)"SoDecomposeMatrix_scaleOrientation_get(SoDecomposeMatrix self) -> SoEngineOutput"}, - { (char *)"SoDecomposeMatrix_swigregister", SoDecomposeMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComposeRotationFromTo_getClassTypeId", _wrap_SoComposeRotationFromTo_getClassTypeId, METH_VARARGS, (char *)"SoComposeRotationFromTo_getClassTypeId() -> SoType"}, - { (char *)"SoComposeRotationFromTo_getTypeId", _wrap_SoComposeRotationFromTo_getTypeId, METH_VARARGS, (char *)"SoComposeRotationFromTo_getTypeId(SoComposeRotationFromTo self) -> SoType"}, - { (char *)"SoComposeRotationFromTo_getFieldData", _wrap_SoComposeRotationFromTo_getFieldData, METH_VARARGS, (char *)"SoComposeRotationFromTo_getFieldData(SoComposeRotationFromTo self) -> SoFieldData"}, - { (char *)"SoComposeRotationFromTo_getOutputData", _wrap_SoComposeRotationFromTo_getOutputData, METH_VARARGS, (char *)"SoComposeRotationFromTo_getOutputData(SoComposeRotationFromTo self) -> SoEngineOutputData"}, - { (char *)"SoComposeRotationFromTo_createInstance", _wrap_SoComposeRotationFromTo_createInstance, METH_VARARGS, (char *)"SoComposeRotationFromTo_createInstance() -> void"}, - { (char *)"new_SoComposeRotationFromTo", _wrap_new_SoComposeRotationFromTo, METH_VARARGS, (char *)"new_SoComposeRotationFromTo() -> SoComposeRotationFromTo"}, - { (char *)"SoComposeRotationFromTo_initClass", _wrap_SoComposeRotationFromTo_initClass, METH_VARARGS, (char *)"SoComposeRotationFromTo_initClass()"}, - { (char *)"SoComposeRotationFromTo_srcFrom_set", _wrap_SoComposeRotationFromTo_srcFrom_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_srcFrom_set(SoComposeRotationFromTo self, SoMFVec3f from)"}, - { (char *)"SoComposeRotationFromTo_srcFrom_get", _wrap_SoComposeRotationFromTo_srcFrom_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_srcFrom_get(SoComposeRotationFromTo self) -> SoMFVec3f"}, - { (char *)"SoComposeRotationFromTo_destTo_set", _wrap_SoComposeRotationFromTo_destTo_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_destTo_set(SoComposeRotationFromTo self, SoMFVec3f to)"}, - { (char *)"SoComposeRotationFromTo_destTo_get", _wrap_SoComposeRotationFromTo_destTo_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_destTo_get(SoComposeRotationFromTo self) -> SoMFVec3f"}, - { (char *)"SoComposeRotationFromTo_rotation_set", _wrap_SoComposeRotationFromTo_rotation_set, METH_VARARGS, (char *)"SoComposeRotationFromTo_rotation_set(SoComposeRotationFromTo self, SoEngineOutput rotation)"}, - { (char *)"SoComposeRotationFromTo_rotation_get", _wrap_SoComposeRotationFromTo_rotation_get, METH_VARARGS, (char *)"SoComposeRotationFromTo_rotation_get(SoComposeRotationFromTo self) -> SoEngineOutput"}, - { (char *)"SoComposeRotationFromTo_swigregister", SoComposeRotationFromTo_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFPath", _wrap_new_SoSFPath, METH_VARARGS, (char *)"new_SoSFPath() -> SoSFPath"}, - { (char *)"delete_SoSFPath", _wrap_delete_SoSFPath, METH_VARARGS, (char *)"delete_SoSFPath(SoSFPath self)"}, - { (char *)"SoSFPath_createInstance", _wrap_SoSFPath_createInstance, METH_VARARGS, (char *)"SoSFPath_createInstance() -> void"}, - { (char *)"SoSFPath_getClassTypeId", _wrap_SoSFPath_getClassTypeId, METH_VARARGS, (char *)"SoSFPath_getClassTypeId() -> SoType"}, - { (char *)"SoSFPath_getTypeId", _wrap_SoSFPath_getTypeId, METH_VARARGS, (char *)"SoSFPath_getTypeId(SoSFPath self) -> SoType"}, - { (char *)"SoSFPath_copyFrom", _wrap_SoSFPath_copyFrom, METH_VARARGS, (char *)"SoSFPath_copyFrom(SoSFPath self, SoField field)"}, - { (char *)"SoSFPath_isSame", _wrap_SoSFPath_isSame, METH_VARARGS, (char *)"SoSFPath_isSame(SoSFPath self, SoField field) -> SbBool"}, - { (char *)"SoSFPath_getValue", _wrap_SoSFPath_getValue, METH_VARARGS, (char *)"SoSFPath_getValue(SoSFPath self) -> SoPath"}, - { (char *)"SoSFPath___eq__", _wrap_SoSFPath___eq__, METH_VARARGS, (char *)"SoSFPath___eq__(SoSFPath self, SoSFPath field) -> int"}, - { (char *)"SoSFPath___ne__", _wrap_SoSFPath___ne__, METH_VARARGS, (char *)"SoSFPath___ne__(SoSFPath self, SoSFPath field) -> int"}, - { (char *)"SoSFPath_initClass", _wrap_SoSFPath_initClass, METH_VARARGS, (char *)"SoSFPath_initClass()"}, - { (char *)"SoSFPath_notify", _wrap_SoSFPath_notify, METH_VARARGS, (char *)"SoSFPath_notify(SoSFPath self, SoNotList l)"}, - { (char *)"SoSFPath_fixCopy", _wrap_SoSFPath_fixCopy, METH_VARARGS, (char *)"SoSFPath_fixCopy(SoSFPath self, SbBool copyconnections)"}, - { (char *)"SoSFPath_referencesCopy", _wrap_SoSFPath_referencesCopy, METH_VARARGS, (char *)"SoSFPath_referencesCopy(SoSFPath self) -> SbBool"}, - { (char *)"SoSFPath_setValue", _wrap_SoSFPath_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoPath newvalue)\n" - "SoSFPath_setValue(SoSFPath self, SoSFPath other)\n" - ""}, - { (char *)"SoSFPath_swigregister", SoSFPath_swigregister, METH_VARARGS, NULL}, - { (char *)"SoComputeBoundingBox_getClassTypeId", _wrap_SoComputeBoundingBox_getClassTypeId, METH_VARARGS, (char *)"SoComputeBoundingBox_getClassTypeId() -> SoType"}, - { (char *)"SoComputeBoundingBox_getTypeId", _wrap_SoComputeBoundingBox_getTypeId, METH_VARARGS, (char *)"SoComputeBoundingBox_getTypeId(SoComputeBoundingBox self) -> SoType"}, - { (char *)"SoComputeBoundingBox_getFieldData", _wrap_SoComputeBoundingBox_getFieldData, METH_VARARGS, (char *)"SoComputeBoundingBox_getFieldData(SoComputeBoundingBox self) -> SoFieldData"}, - { (char *)"SoComputeBoundingBox_getOutputData", _wrap_SoComputeBoundingBox_getOutputData, METH_VARARGS, (char *)"SoComputeBoundingBox_getOutputData(SoComputeBoundingBox self) -> SoEngineOutputData"}, - { (char *)"SoComputeBoundingBox_createInstance", _wrap_SoComputeBoundingBox_createInstance, METH_VARARGS, (char *)"SoComputeBoundingBox_createInstance() -> void"}, - { (char *)"SoComputeBoundingBox_node_set", _wrap_SoComputeBoundingBox_node_set, METH_VARARGS, (char *)"SoComputeBoundingBox_node_set(SoComputeBoundingBox self, SoSFNode node)"}, - { (char *)"SoComputeBoundingBox_node_get", _wrap_SoComputeBoundingBox_node_get, METH_VARARGS, (char *)"SoComputeBoundingBox_node_get(SoComputeBoundingBox self) -> SoSFNode"}, - { (char *)"SoComputeBoundingBox_path_set", _wrap_SoComputeBoundingBox_path_set, METH_VARARGS, (char *)"SoComputeBoundingBox_path_set(SoComputeBoundingBox self, SoSFPath path)"}, - { (char *)"SoComputeBoundingBox_path_get", _wrap_SoComputeBoundingBox_path_get, METH_VARARGS, (char *)"SoComputeBoundingBox_path_get(SoComputeBoundingBox self) -> SoSFPath"}, - { (char *)"SoComputeBoundingBox_min_set", _wrap_SoComputeBoundingBox_min_set, METH_VARARGS, (char *)"SoComputeBoundingBox_min_set(SoComputeBoundingBox self, SoEngineOutput min)"}, - { (char *)"SoComputeBoundingBox_min_get", _wrap_SoComputeBoundingBox_min_get, METH_VARARGS, (char *)"SoComputeBoundingBox_min_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_max_set", _wrap_SoComputeBoundingBox_max_set, METH_VARARGS, (char *)"SoComputeBoundingBox_max_set(SoComputeBoundingBox self, SoEngineOutput max)"}, - { (char *)"SoComputeBoundingBox_max_get", _wrap_SoComputeBoundingBox_max_get, METH_VARARGS, (char *)"SoComputeBoundingBox_max_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_boxCenter_set", _wrap_SoComputeBoundingBox_boxCenter_set, METH_VARARGS, (char *)"SoComputeBoundingBox_boxCenter_set(SoComputeBoundingBox self, SoEngineOutput boxCenter)"}, - { (char *)"SoComputeBoundingBox_boxCenter_get", _wrap_SoComputeBoundingBox_boxCenter_get, METH_VARARGS, (char *)"SoComputeBoundingBox_boxCenter_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"SoComputeBoundingBox_objectCenter_set", _wrap_SoComputeBoundingBox_objectCenter_set, METH_VARARGS, (char *)"SoComputeBoundingBox_objectCenter_set(SoComputeBoundingBox self, SoEngineOutput objectCenter)"}, - { (char *)"SoComputeBoundingBox_objectCenter_get", _wrap_SoComputeBoundingBox_objectCenter_get, METH_VARARGS, (char *)"SoComputeBoundingBox_objectCenter_get(SoComputeBoundingBox self) -> SoEngineOutput"}, - { (char *)"new_SoComputeBoundingBox", _wrap_new_SoComputeBoundingBox, METH_VARARGS, (char *)"new_SoComputeBoundingBox() -> SoComputeBoundingBox"}, - { (char *)"SoComputeBoundingBox_initClass", _wrap_SoComputeBoundingBox_initClass, METH_VARARGS, (char *)"SoComputeBoundingBox_initClass()"}, - { (char *)"SoComputeBoundingBox_setViewportRegion", _wrap_SoComputeBoundingBox_setViewportRegion, METH_VARARGS, (char *)"SoComputeBoundingBox_setViewportRegion(SoComputeBoundingBox self, SbViewportRegion vpr)"}, - { (char *)"SoComputeBoundingBox_getViewportRegion", _wrap_SoComputeBoundingBox_getViewportRegion, METH_VARARGS, (char *)"SoComputeBoundingBox_getViewportRegion(SoComputeBoundingBox self) -> SbViewportRegion"}, - { (char *)"SoComputeBoundingBox_swigregister", SoComputeBoundingBox_swigregister, METH_VARARGS, NULL}, - { (char *)"SoConcatenate_getClassTypeId", _wrap_SoConcatenate_getClassTypeId, METH_VARARGS, (char *)"SoConcatenate_getClassTypeId() -> SoType"}, - { (char *)"SoConcatenate_getTypeId", _wrap_SoConcatenate_getTypeId, METH_VARARGS, (char *)"SoConcatenate_getTypeId(SoConcatenate self) -> SoType"}, - { (char *)"SoConcatenate_getFieldData", _wrap_SoConcatenate_getFieldData, METH_VARARGS, (char *)"SoConcatenate_getFieldData(SoConcatenate self) -> SoFieldData"}, - { (char *)"SoConcatenate_getOutputData", _wrap_SoConcatenate_getOutputData, METH_VARARGS, (char *)"SoConcatenate_getOutputData(SoConcatenate self) -> SoEngineOutputData"}, - { (char *)"SoConcatenate_createInstance", _wrap_SoConcatenate_createInstance, METH_VARARGS, (char *)"SoConcatenate_createInstance() -> void"}, - { (char *)"SoConcatenate_initClass", _wrap_SoConcatenate_initClass, METH_VARARGS, (char *)"SoConcatenate_initClass()"}, - { (char *)"new_SoConcatenate", _wrap_new_SoConcatenate, METH_VARARGS, (char *)"new_SoConcatenate(SoType inputType) -> SoConcatenate"}, - { (char *)"SoConcatenate_input_set", _wrap_SoConcatenate_input_set, METH_VARARGS, (char *)"SoConcatenate_input_set(SoConcatenate self, SoMField input)"}, - { (char *)"SoConcatenate_input_get", _wrap_SoConcatenate_input_get, METH_VARARGS, (char *)"SoConcatenate_input_get(SoConcatenate self) -> SoMField"}, - { (char *)"SoConcatenate_output_set", _wrap_SoConcatenate_output_set, METH_VARARGS, (char *)"SoConcatenate_output_set(SoConcatenate self, SoEngineOutput output)"}, - { (char *)"SoConcatenate_output_get", _wrap_SoConcatenate_output_get, METH_VARARGS, (char *)"SoConcatenate_output_get(SoConcatenate self) -> SoEngineOutput"}, - { (char *)"SoConcatenate_swigregister", SoConcatenate_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFTrigger", _wrap_new_SoSFTrigger, METH_VARARGS, (char *)"new_SoSFTrigger() -> SoSFTrigger"}, - { (char *)"delete_SoSFTrigger", _wrap_delete_SoSFTrigger, METH_VARARGS, (char *)"delete_SoSFTrigger(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_createInstance", _wrap_SoSFTrigger_createInstance, METH_VARARGS, (char *)"SoSFTrigger_createInstance() -> void"}, - { (char *)"SoSFTrigger_getClassTypeId", _wrap_SoSFTrigger_getClassTypeId, METH_VARARGS, (char *)"SoSFTrigger_getClassTypeId() -> SoType"}, - { (char *)"SoSFTrigger_getTypeId", _wrap_SoSFTrigger_getTypeId, METH_VARARGS, (char *)"SoSFTrigger_getTypeId(SoSFTrigger self) -> SoType"}, - { (char *)"SoSFTrigger_copyFrom", _wrap_SoSFTrigger_copyFrom, METH_VARARGS, (char *)"SoSFTrigger_copyFrom(SoSFTrigger self, SoField field)"}, - { (char *)"SoSFTrigger_isSame", _wrap_SoSFTrigger_isSame, METH_VARARGS, (char *)"SoSFTrigger_isSame(SoSFTrigger self, SoField field) -> SbBool"}, - { (char *)"SoSFTrigger_initClass", _wrap_SoSFTrigger_initClass, METH_VARARGS, (char *)"SoSFTrigger_initClass()"}, - { (char *)"SoSFTrigger_getValue", _wrap_SoSFTrigger_getValue, METH_VARARGS, (char *)"SoSFTrigger_getValue(SoSFTrigger self)"}, - { (char *)"SoSFTrigger___eq__", _wrap_SoSFTrigger___eq__, METH_VARARGS, (char *)"SoSFTrigger___eq__(SoSFTrigger self, SoSFTrigger trigger) -> int"}, - { (char *)"SoSFTrigger___ne__", _wrap_SoSFTrigger___ne__, METH_VARARGS, (char *)"SoSFTrigger___ne__(SoSFTrigger self, SoSFTrigger trigger) -> int"}, - { (char *)"SoSFTrigger_startNotify", _wrap_SoSFTrigger_startNotify, METH_VARARGS, (char *)"SoSFTrigger_startNotify(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_notify", _wrap_SoSFTrigger_notify, METH_VARARGS, (char *)"SoSFTrigger_notify(SoSFTrigger self, SoNotList l)"}, - { (char *)"SoSFTrigger_touch", _wrap_SoSFTrigger_touch, METH_VARARGS, (char *)"SoSFTrigger_touch(SoSFTrigger self)"}, - { (char *)"SoSFTrigger_setValue", _wrap_SoSFTrigger_setValue, METH_VARARGS, (char *)"\n" - "setValue()\n" - "SoSFTrigger_setValue(SoSFTrigger self, SoSFTrigger other)\n" - ""}, - { (char *)"SoSFTrigger_swigregister", SoSFTrigger_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFShort", _wrap_new_SoSFShort, METH_VARARGS, (char *)"new_SoSFShort() -> SoSFShort"}, - { (char *)"delete_SoSFShort", _wrap_delete_SoSFShort, METH_VARARGS, (char *)"delete_SoSFShort(SoSFShort self)"}, - { (char *)"SoSFShort_createInstance", _wrap_SoSFShort_createInstance, METH_VARARGS, (char *)"SoSFShort_createInstance() -> void"}, - { (char *)"SoSFShort_getClassTypeId", _wrap_SoSFShort_getClassTypeId, METH_VARARGS, (char *)"SoSFShort_getClassTypeId() -> SoType"}, - { (char *)"SoSFShort_getTypeId", _wrap_SoSFShort_getTypeId, METH_VARARGS, (char *)"SoSFShort_getTypeId(SoSFShort self) -> SoType"}, - { (char *)"SoSFShort_copyFrom", _wrap_SoSFShort_copyFrom, METH_VARARGS, (char *)"SoSFShort_copyFrom(SoSFShort self, SoField field)"}, - { (char *)"SoSFShort_isSame", _wrap_SoSFShort_isSame, METH_VARARGS, (char *)"SoSFShort_isSame(SoSFShort self, SoField field) -> SbBool"}, - { (char *)"SoSFShort_getValue", _wrap_SoSFShort_getValue, METH_VARARGS, (char *)"SoSFShort_getValue(SoSFShort self) -> short"}, - { (char *)"SoSFShort___eq__", _wrap_SoSFShort___eq__, METH_VARARGS, (char *)"SoSFShort___eq__(SoSFShort self, SoSFShort field) -> int"}, - { (char *)"SoSFShort___ne__", _wrap_SoSFShort___ne__, METH_VARARGS, (char *)"SoSFShort___ne__(SoSFShort self, SoSFShort field) -> int"}, - { (char *)"SoSFShort_initClass", _wrap_SoSFShort_initClass, METH_VARARGS, (char *)"SoSFShort_initClass()"}, - { (char *)"SoSFShort_setValue", _wrap_SoSFShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(short newvalue)\n" - "SoSFShort_setValue(SoSFShort self, SoSFShort other)\n" - ""}, - { (char *)"SoSFShort_swigregister", SoSFShort_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCounter_getClassTypeId", _wrap_SoCounter_getClassTypeId, METH_VARARGS, (char *)"SoCounter_getClassTypeId() -> SoType"}, - { (char *)"SoCounter_getTypeId", _wrap_SoCounter_getTypeId, METH_VARARGS, (char *)"SoCounter_getTypeId(SoCounter self) -> SoType"}, - { (char *)"SoCounter_getFieldData", _wrap_SoCounter_getFieldData, METH_VARARGS, (char *)"SoCounter_getFieldData(SoCounter self) -> SoFieldData"}, - { (char *)"SoCounter_getOutputData", _wrap_SoCounter_getOutputData, METH_VARARGS, (char *)"SoCounter_getOutputData(SoCounter self) -> SoEngineOutputData"}, - { (char *)"SoCounter_createInstance", _wrap_SoCounter_createInstance, METH_VARARGS, (char *)"SoCounter_createInstance() -> void"}, - { (char *)"SoCounter_initClass", _wrap_SoCounter_initClass, METH_VARARGS, (char *)"SoCounter_initClass()"}, - { (char *)"new_SoCounter", _wrap_new_SoCounter, METH_VARARGS, (char *)"new_SoCounter() -> SoCounter"}, - { (char *)"SoCounter_min_set", _wrap_SoCounter_min_set, METH_VARARGS, (char *)"SoCounter_min_set(SoCounter self, SoSFShort min)"}, - { (char *)"SoCounter_min_get", _wrap_SoCounter_min_get, METH_VARARGS, (char *)"SoCounter_min_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_max_set", _wrap_SoCounter_max_set, METH_VARARGS, (char *)"SoCounter_max_set(SoCounter self, SoSFShort max)"}, - { (char *)"SoCounter_max_get", _wrap_SoCounter_max_get, METH_VARARGS, (char *)"SoCounter_max_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_step_set", _wrap_SoCounter_step_set, METH_VARARGS, (char *)"SoCounter_step_set(SoCounter self, SoSFShort step)"}, - { (char *)"SoCounter_step_get", _wrap_SoCounter_step_get, METH_VARARGS, (char *)"SoCounter_step_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_trigger_set", _wrap_SoCounter_trigger_set, METH_VARARGS, (char *)"SoCounter_trigger_set(SoCounter self, SoSFTrigger trigger)"}, - { (char *)"SoCounter_trigger_get", _wrap_SoCounter_trigger_get, METH_VARARGS, (char *)"SoCounter_trigger_get(SoCounter self) -> SoSFTrigger"}, - { (char *)"SoCounter_reset_set", _wrap_SoCounter_reset_set, METH_VARARGS, (char *)"SoCounter_reset_set(SoCounter self, SoSFShort reset)"}, - { (char *)"SoCounter_reset_get", _wrap_SoCounter_reset_get, METH_VARARGS, (char *)"SoCounter_reset_get(SoCounter self) -> SoSFShort"}, - { (char *)"SoCounter_output_set", _wrap_SoCounter_output_set, METH_VARARGS, (char *)"SoCounter_output_set(SoCounter self, SoEngineOutput output)"}, - { (char *)"SoCounter_output_get", _wrap_SoCounter_output_get, METH_VARARGS, (char *)"SoCounter_output_get(SoCounter self) -> SoEngineOutput"}, - { (char *)"SoCounter_syncOut_set", _wrap_SoCounter_syncOut_set, METH_VARARGS, (char *)"SoCounter_syncOut_set(SoCounter self, SoEngineOutput syncOut)"}, - { (char *)"SoCounter_syncOut_get", _wrap_SoCounter_syncOut_get, METH_VARARGS, (char *)"SoCounter_syncOut_get(SoCounter self) -> SoEngineOutput"}, - { (char *)"SoCounter_swigregister", SoCounter_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFTime", _wrap_new_SoSFTime, METH_VARARGS, (char *)"new_SoSFTime() -> SoSFTime"}, - { (char *)"delete_SoSFTime", _wrap_delete_SoSFTime, METH_VARARGS, (char *)"delete_SoSFTime(SoSFTime self)"}, - { (char *)"SoSFTime_createInstance", _wrap_SoSFTime_createInstance, METH_VARARGS, (char *)"SoSFTime_createInstance() -> void"}, - { (char *)"SoSFTime_getClassTypeId", _wrap_SoSFTime_getClassTypeId, METH_VARARGS, (char *)"SoSFTime_getClassTypeId() -> SoType"}, - { (char *)"SoSFTime_getTypeId", _wrap_SoSFTime_getTypeId, METH_VARARGS, (char *)"SoSFTime_getTypeId(SoSFTime self) -> SoType"}, - { (char *)"SoSFTime_copyFrom", _wrap_SoSFTime_copyFrom, METH_VARARGS, (char *)"SoSFTime_copyFrom(SoSFTime self, SoField field)"}, - { (char *)"SoSFTime_isSame", _wrap_SoSFTime_isSame, METH_VARARGS, (char *)"SoSFTime_isSame(SoSFTime self, SoField field) -> SbBool"}, - { (char *)"SoSFTime_getValue", _wrap_SoSFTime_getValue, METH_VARARGS, (char *)"SoSFTime_getValue(SoSFTime self) -> SbTime"}, - { (char *)"SoSFTime___eq__", _wrap_SoSFTime___eq__, METH_VARARGS, (char *)"SoSFTime___eq__(SoSFTime self, SoSFTime field) -> int"}, - { (char *)"SoSFTime___ne__", _wrap_SoSFTime___ne__, METH_VARARGS, (char *)"SoSFTime___ne__(SoSFTime self, SoSFTime field) -> int"}, - { (char *)"SoSFTime_initClass", _wrap_SoSFTime_initClass, METH_VARARGS, (char *)"SoSFTime_initClass()"}, - { (char *)"SoSFTime_setValue", _wrap_SoSFTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbTime newvalue)\n" - "SoSFTime_setValue(SoSFTime self, SoSFTime other)\n" - ""}, - { (char *)"SoSFTime_swigregister", SoSFTime_swigregister, METH_VARARGS, NULL}, - { (char *)"SoElapsedTime_getClassTypeId", _wrap_SoElapsedTime_getClassTypeId, METH_VARARGS, (char *)"SoElapsedTime_getClassTypeId() -> SoType"}, - { (char *)"SoElapsedTime_getTypeId", _wrap_SoElapsedTime_getTypeId, METH_VARARGS, (char *)"SoElapsedTime_getTypeId(SoElapsedTime self) -> SoType"}, - { (char *)"SoElapsedTime_getFieldData", _wrap_SoElapsedTime_getFieldData, METH_VARARGS, (char *)"SoElapsedTime_getFieldData(SoElapsedTime self) -> SoFieldData"}, - { (char *)"SoElapsedTime_getOutputData", _wrap_SoElapsedTime_getOutputData, METH_VARARGS, (char *)"SoElapsedTime_getOutputData(SoElapsedTime self) -> SoEngineOutputData"}, - { (char *)"SoElapsedTime_createInstance", _wrap_SoElapsedTime_createInstance, METH_VARARGS, (char *)"SoElapsedTime_createInstance() -> void"}, - { (char *)"SoElapsedTime_initClass", _wrap_SoElapsedTime_initClass, METH_VARARGS, (char *)"SoElapsedTime_initClass()"}, - { (char *)"new_SoElapsedTime", _wrap_new_SoElapsedTime, METH_VARARGS, (char *)"new_SoElapsedTime() -> SoElapsedTime"}, - { (char *)"SoElapsedTime_timeIn_set", _wrap_SoElapsedTime_timeIn_set, METH_VARARGS, (char *)"SoElapsedTime_timeIn_set(SoElapsedTime self, SoSFTime timeIn)"}, - { (char *)"SoElapsedTime_timeIn_get", _wrap_SoElapsedTime_timeIn_get, METH_VARARGS, (char *)"SoElapsedTime_timeIn_get(SoElapsedTime self) -> SoSFTime"}, - { (char *)"SoElapsedTime_speed_set", _wrap_SoElapsedTime_speed_set, METH_VARARGS, (char *)"SoElapsedTime_speed_set(SoElapsedTime self, SoSFFloat speed)"}, - { (char *)"SoElapsedTime_speed_get", _wrap_SoElapsedTime_speed_get, METH_VARARGS, (char *)"SoElapsedTime_speed_get(SoElapsedTime self) -> SoSFFloat"}, - { (char *)"SoElapsedTime_on_set", _wrap_SoElapsedTime_on_set, METH_VARARGS, (char *)"SoElapsedTime_on_set(SoElapsedTime self, SoSFBool on)"}, - { (char *)"SoElapsedTime_on_get", _wrap_SoElapsedTime_on_get, METH_VARARGS, (char *)"SoElapsedTime_on_get(SoElapsedTime self) -> SoSFBool"}, - { (char *)"SoElapsedTime_pause_set", _wrap_SoElapsedTime_pause_set, METH_VARARGS, (char *)"SoElapsedTime_pause_set(SoElapsedTime self, SoSFBool pause)"}, - { (char *)"SoElapsedTime_pause_get", _wrap_SoElapsedTime_pause_get, METH_VARARGS, (char *)"SoElapsedTime_pause_get(SoElapsedTime self) -> SoSFBool"}, - { (char *)"SoElapsedTime_reset_set", _wrap_SoElapsedTime_reset_set, METH_VARARGS, (char *)"SoElapsedTime_reset_set(SoElapsedTime self, SoSFTrigger reset)"}, - { (char *)"SoElapsedTime_reset_get", _wrap_SoElapsedTime_reset_get, METH_VARARGS, (char *)"SoElapsedTime_reset_get(SoElapsedTime self) -> SoSFTrigger"}, - { (char *)"SoElapsedTime_timeOut_set", _wrap_SoElapsedTime_timeOut_set, METH_VARARGS, (char *)"SoElapsedTime_timeOut_set(SoElapsedTime self, SoEngineOutput timeOut)"}, - { (char *)"SoElapsedTime_timeOut_get", _wrap_SoElapsedTime_timeOut_get, METH_VARARGS, (char *)"SoElapsedTime_timeOut_get(SoElapsedTime self) -> SoEngineOutput"}, - { (char *)"SoElapsedTime_swigregister", SoElapsedTime_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFieldConverter_getClassTypeId", _wrap_SoFieldConverter_getClassTypeId, METH_VARARGS, (char *)"SoFieldConverter_getClassTypeId() -> SoType"}, - { (char *)"SoFieldConverter_getTypeId", _wrap_SoFieldConverter_getTypeId, METH_VARARGS, (char *)"SoFieldConverter_getTypeId(SoFieldConverter self) -> SoType"}, - { (char *)"SoFieldConverter_getFieldData", _wrap_SoFieldConverter_getFieldData, METH_VARARGS, (char *)"SoFieldConverter_getFieldData(SoFieldConverter self) -> SoFieldData"}, - { (char *)"SoFieldConverter_getOutputData", _wrap_SoFieldConverter_getOutputData, METH_VARARGS, (char *)"SoFieldConverter_getOutputData(SoFieldConverter self) -> SoEngineOutputData"}, - { (char *)"SoFieldConverter_initClass", _wrap_SoFieldConverter_initClass, METH_VARARGS, (char *)"SoFieldConverter_initClass()"}, - { (char *)"SoFieldConverter_initClasses", _wrap_SoFieldConverter_initClasses, METH_VARARGS, (char *)"SoFieldConverter_initClasses()"}, - { (char *)"SoFieldConverter_getInput", _wrap_SoFieldConverter_getInput, METH_VARARGS, (char *)"SoFieldConverter_getInput(SoFieldConverter self, SoType type) -> SoField"}, - { (char *)"SoFieldConverter_getOutput", _wrap_SoFieldConverter_getOutput, METH_VARARGS, (char *)"SoFieldConverter_getOutput(SoFieldConverter self, SoType type) -> SoEngineOutput"}, - { (char *)"SoFieldConverter_getConnectedInput", _wrap_SoFieldConverter_getConnectedInput, METH_VARARGS, (char *)"SoFieldConverter_getConnectedInput(SoFieldConverter self) -> SoField"}, - { (char *)"SoFieldConverter_getForwardConnections", _wrap_SoFieldConverter_getForwardConnections, METH_VARARGS, (char *)"SoFieldConverter_getForwardConnections(SoFieldConverter self, SoFieldList l) -> int"}, - { (char *)"SoFieldConverter_swigregister", SoFieldConverter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGate_getClassTypeId", _wrap_SoGate_getClassTypeId, METH_VARARGS, (char *)"SoGate_getClassTypeId() -> SoType"}, - { (char *)"SoGate_getTypeId", _wrap_SoGate_getTypeId, METH_VARARGS, (char *)"SoGate_getTypeId(SoGate self) -> SoType"}, - { (char *)"SoGate_getFieldData", _wrap_SoGate_getFieldData, METH_VARARGS, (char *)"SoGate_getFieldData(SoGate self) -> SoFieldData"}, - { (char *)"SoGate_getOutputData", _wrap_SoGate_getOutputData, METH_VARARGS, (char *)"SoGate_getOutputData(SoGate self) -> SoEngineOutputData"}, - { (char *)"SoGate_createInstance", _wrap_SoGate_createInstance, METH_VARARGS, (char *)"SoGate_createInstance() -> void"}, - { (char *)"SoGate_initClass", _wrap_SoGate_initClass, METH_VARARGS, (char *)"SoGate_initClass()"}, - { (char *)"new_SoGate", _wrap_new_SoGate, METH_VARARGS, (char *)"new_SoGate(SoType type) -> SoGate"}, - { (char *)"SoGate_enable_set", _wrap_SoGate_enable_set, METH_VARARGS, (char *)"SoGate_enable_set(SoGate self, SoSFBool enable)"}, - { (char *)"SoGate_enable_get", _wrap_SoGate_enable_get, METH_VARARGS, (char *)"SoGate_enable_get(SoGate self) -> SoSFBool"}, - { (char *)"SoGate_trigger_set", _wrap_SoGate_trigger_set, METH_VARARGS, (char *)"SoGate_trigger_set(SoGate self, SoSFTrigger trigger)"}, - { (char *)"SoGate_trigger_get", _wrap_SoGate_trigger_get, METH_VARARGS, (char *)"SoGate_trigger_get(SoGate self) -> SoSFTrigger"}, - { (char *)"SoGate_input_set", _wrap_SoGate_input_set, METH_VARARGS, (char *)"SoGate_input_set(SoGate self, SoMField input)"}, - { (char *)"SoGate_input_get", _wrap_SoGate_input_get, METH_VARARGS, (char *)"SoGate_input_get(SoGate self) -> SoMField"}, - { (char *)"SoGate_output_set", _wrap_SoGate_output_set, METH_VARARGS, (char *)"SoGate_output_set(SoGate self, SoEngineOutput output)"}, - { (char *)"SoGate_output_get", _wrap_SoGate_output_get, METH_VARARGS, (char *)"SoGate_output_get(SoGate self) -> SoEngineOutput"}, - { (char *)"SoGate_swigregister", SoGate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolate_getClassTypeId", _wrap_SoInterpolate_getClassTypeId, METH_VARARGS, (char *)"SoInterpolate_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolate_getTypeId", _wrap_SoInterpolate_getTypeId, METH_VARARGS, (char *)"SoInterpolate_getTypeId(SoInterpolate self) -> SoType"}, - { (char *)"SoInterpolate_getFieldData", _wrap_SoInterpolate_getFieldData, METH_VARARGS, (char *)"SoInterpolate_getFieldData(SoInterpolate self) -> SoFieldData"}, - { (char *)"SoInterpolate_getOutputData", _wrap_SoInterpolate_getOutputData, METH_VARARGS, (char *)"SoInterpolate_getOutputData(SoInterpolate self) -> SoEngineOutputData"}, - { (char *)"SoInterpolate_initClass", _wrap_SoInterpolate_initClass, METH_VARARGS, (char *)"SoInterpolate_initClass()"}, - { (char *)"SoInterpolate_initClasses", _wrap_SoInterpolate_initClasses, METH_VARARGS, (char *)"SoInterpolate_initClasses()"}, - { (char *)"SoInterpolate_alpha_set", _wrap_SoInterpolate_alpha_set, METH_VARARGS, (char *)"SoInterpolate_alpha_set(SoInterpolate self, SoSFFloat alpha)"}, - { (char *)"SoInterpolate_alpha_get", _wrap_SoInterpolate_alpha_get, METH_VARARGS, (char *)"SoInterpolate_alpha_get(SoInterpolate self) -> SoSFFloat"}, - { (char *)"SoInterpolate_output_set", _wrap_SoInterpolate_output_set, METH_VARARGS, (char *)"SoInterpolate_output_set(SoInterpolate self, SoEngineOutput output)"}, - { (char *)"SoInterpolate_output_get", _wrap_SoInterpolate_output_get, METH_VARARGS, (char *)"SoInterpolate_output_get(SoInterpolate self) -> SoEngineOutput"}, - { (char *)"SoInterpolate_swigregister", SoInterpolate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateFloat_getClassTypeId", _wrap_SoInterpolateFloat_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateFloat_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateFloat_getTypeId", _wrap_SoInterpolateFloat_getTypeId, METH_VARARGS, (char *)"SoInterpolateFloat_getTypeId(SoInterpolateFloat self) -> SoType"}, - { (char *)"SoInterpolateFloat_getFieldData", _wrap_SoInterpolateFloat_getFieldData, METH_VARARGS, (char *)"SoInterpolateFloat_getFieldData(SoInterpolateFloat self) -> SoFieldData"}, - { (char *)"SoInterpolateFloat_getOutputData", _wrap_SoInterpolateFloat_getOutputData, METH_VARARGS, (char *)"SoInterpolateFloat_getOutputData(SoInterpolateFloat self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateFloat_createInstance", _wrap_SoInterpolateFloat_createInstance, METH_VARARGS, (char *)"SoInterpolateFloat_createInstance() -> void"}, - { (char *)"new_SoInterpolateFloat", _wrap_new_SoInterpolateFloat, METH_VARARGS, (char *)"new_SoInterpolateFloat() -> SoInterpolateFloat"}, - { (char *)"SoInterpolateFloat_initClass", _wrap_SoInterpolateFloat_initClass, METH_VARARGS, (char *)"SoInterpolateFloat_initClass()"}, - { (char *)"SoInterpolateFloat_input0_set", _wrap_SoInterpolateFloat_input0_set, METH_VARARGS, (char *)"SoInterpolateFloat_input0_set(SoInterpolateFloat self, SoMFFloat input0)"}, - { (char *)"SoInterpolateFloat_input0_get", _wrap_SoInterpolateFloat_input0_get, METH_VARARGS, (char *)"SoInterpolateFloat_input0_get(SoInterpolateFloat self) -> SoMFFloat"}, - { (char *)"SoInterpolateFloat_input1_set", _wrap_SoInterpolateFloat_input1_set, METH_VARARGS, (char *)"SoInterpolateFloat_input1_set(SoInterpolateFloat self, SoMFFloat input1)"}, - { (char *)"SoInterpolateFloat_input1_get", _wrap_SoInterpolateFloat_input1_get, METH_VARARGS, (char *)"SoInterpolateFloat_input1_get(SoInterpolateFloat self) -> SoMFFloat"}, - { (char *)"SoInterpolateFloat_swigregister", SoInterpolateFloat_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec2f_getClassTypeId", _wrap_SoInterpolateVec2f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec2f_getTypeId", _wrap_SoInterpolateVec2f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec2f_getTypeId(SoInterpolateVec2f self) -> SoType"}, - { (char *)"SoInterpolateVec2f_getFieldData", _wrap_SoInterpolateVec2f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec2f_getFieldData(SoInterpolateVec2f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec2f_getOutputData", _wrap_SoInterpolateVec2f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec2f_getOutputData(SoInterpolateVec2f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec2f_createInstance", _wrap_SoInterpolateVec2f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec2f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec2f", _wrap_new_SoInterpolateVec2f, METH_VARARGS, (char *)"new_SoInterpolateVec2f() -> SoInterpolateVec2f"}, - { (char *)"SoInterpolateVec2f_initClass", _wrap_SoInterpolateVec2f_initClass, METH_VARARGS, (char *)"SoInterpolateVec2f_initClass()"}, - { (char *)"SoInterpolateVec2f_input0_set", _wrap_SoInterpolateVec2f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec2f_input0_set(SoInterpolateVec2f self, SoMFVec2f input0)"}, - { (char *)"SoInterpolateVec2f_input0_get", _wrap_SoInterpolateVec2f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec2f_input0_get(SoInterpolateVec2f self) -> SoMFVec2f"}, - { (char *)"SoInterpolateVec2f_input1_set", _wrap_SoInterpolateVec2f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec2f_input1_set(SoInterpolateVec2f self, SoMFVec2f input1)"}, - { (char *)"SoInterpolateVec2f_input1_get", _wrap_SoInterpolateVec2f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec2f_input1_get(SoInterpolateVec2f self) -> SoMFVec2f"}, - { (char *)"SoInterpolateVec2f_swigregister", SoInterpolateVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec3f_getClassTypeId", _wrap_SoInterpolateVec3f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec3f_getTypeId", _wrap_SoInterpolateVec3f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec3f_getTypeId(SoInterpolateVec3f self) -> SoType"}, - { (char *)"SoInterpolateVec3f_getFieldData", _wrap_SoInterpolateVec3f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec3f_getFieldData(SoInterpolateVec3f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec3f_getOutputData", _wrap_SoInterpolateVec3f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec3f_getOutputData(SoInterpolateVec3f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec3f_createInstance", _wrap_SoInterpolateVec3f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec3f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec3f", _wrap_new_SoInterpolateVec3f, METH_VARARGS, (char *)"new_SoInterpolateVec3f() -> SoInterpolateVec3f"}, - { (char *)"SoInterpolateVec3f_initClass", _wrap_SoInterpolateVec3f_initClass, METH_VARARGS, (char *)"SoInterpolateVec3f_initClass()"}, - { (char *)"SoInterpolateVec3f_input0_set", _wrap_SoInterpolateVec3f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec3f_input0_set(SoInterpolateVec3f self, SoMFVec3f input0)"}, - { (char *)"SoInterpolateVec3f_input0_get", _wrap_SoInterpolateVec3f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec3f_input0_get(SoInterpolateVec3f self) -> SoMFVec3f"}, - { (char *)"SoInterpolateVec3f_input1_set", _wrap_SoInterpolateVec3f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec3f_input1_set(SoInterpolateVec3f self, SoMFVec3f input1)"}, - { (char *)"SoInterpolateVec3f_input1_get", _wrap_SoInterpolateVec3f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec3f_input1_get(SoInterpolateVec3f self) -> SoMFVec3f"}, - { (char *)"SoInterpolateVec3f_swigregister", SoInterpolateVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateVec4f_getClassTypeId", _wrap_SoInterpolateVec4f_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateVec4f_getTypeId", _wrap_SoInterpolateVec4f_getTypeId, METH_VARARGS, (char *)"SoInterpolateVec4f_getTypeId(SoInterpolateVec4f self) -> SoType"}, - { (char *)"SoInterpolateVec4f_getFieldData", _wrap_SoInterpolateVec4f_getFieldData, METH_VARARGS, (char *)"SoInterpolateVec4f_getFieldData(SoInterpolateVec4f self) -> SoFieldData"}, - { (char *)"SoInterpolateVec4f_getOutputData", _wrap_SoInterpolateVec4f_getOutputData, METH_VARARGS, (char *)"SoInterpolateVec4f_getOutputData(SoInterpolateVec4f self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateVec4f_createInstance", _wrap_SoInterpolateVec4f_createInstance, METH_VARARGS, (char *)"SoInterpolateVec4f_createInstance() -> void"}, - { (char *)"new_SoInterpolateVec4f", _wrap_new_SoInterpolateVec4f, METH_VARARGS, (char *)"new_SoInterpolateVec4f() -> SoInterpolateVec4f"}, - { (char *)"SoInterpolateVec4f_initClass", _wrap_SoInterpolateVec4f_initClass, METH_VARARGS, (char *)"SoInterpolateVec4f_initClass()"}, - { (char *)"SoInterpolateVec4f_input0_set", _wrap_SoInterpolateVec4f_input0_set, METH_VARARGS, (char *)"SoInterpolateVec4f_input0_set(SoInterpolateVec4f self, SoMFVec4f input0)"}, - { (char *)"SoInterpolateVec4f_input0_get", _wrap_SoInterpolateVec4f_input0_get, METH_VARARGS, (char *)"SoInterpolateVec4f_input0_get(SoInterpolateVec4f self) -> SoMFVec4f"}, - { (char *)"SoInterpolateVec4f_input1_set", _wrap_SoInterpolateVec4f_input1_set, METH_VARARGS, (char *)"SoInterpolateVec4f_input1_set(SoInterpolateVec4f self, SoMFVec4f input1)"}, - { (char *)"SoInterpolateVec4f_input1_get", _wrap_SoInterpolateVec4f_input1_get, METH_VARARGS, (char *)"SoInterpolateVec4f_input1_get(SoInterpolateVec4f self) -> SoMFVec4f"}, - { (char *)"SoInterpolateVec4f_swigregister", SoInterpolateVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInterpolateRotation_getClassTypeId", _wrap_SoInterpolateRotation_getClassTypeId, METH_VARARGS, (char *)"SoInterpolateRotation_getClassTypeId() -> SoType"}, - { (char *)"SoInterpolateRotation_getTypeId", _wrap_SoInterpolateRotation_getTypeId, METH_VARARGS, (char *)"SoInterpolateRotation_getTypeId(SoInterpolateRotation self) -> SoType"}, - { (char *)"SoInterpolateRotation_getFieldData", _wrap_SoInterpolateRotation_getFieldData, METH_VARARGS, (char *)"SoInterpolateRotation_getFieldData(SoInterpolateRotation self) -> SoFieldData"}, - { (char *)"SoInterpolateRotation_getOutputData", _wrap_SoInterpolateRotation_getOutputData, METH_VARARGS, (char *)"SoInterpolateRotation_getOutputData(SoInterpolateRotation self) -> SoEngineOutputData"}, - { (char *)"SoInterpolateRotation_createInstance", _wrap_SoInterpolateRotation_createInstance, METH_VARARGS, (char *)"SoInterpolateRotation_createInstance() -> void"}, - { (char *)"new_SoInterpolateRotation", _wrap_new_SoInterpolateRotation, METH_VARARGS, (char *)"new_SoInterpolateRotation() -> SoInterpolateRotation"}, - { (char *)"SoInterpolateRotation_initClass", _wrap_SoInterpolateRotation_initClass, METH_VARARGS, (char *)"SoInterpolateRotation_initClass()"}, - { (char *)"SoInterpolateRotation_input0_set", _wrap_SoInterpolateRotation_input0_set, METH_VARARGS, (char *)"SoInterpolateRotation_input0_set(SoInterpolateRotation self, SoMFRotation input0)"}, - { (char *)"SoInterpolateRotation_input0_get", _wrap_SoInterpolateRotation_input0_get, METH_VARARGS, (char *)"SoInterpolateRotation_input0_get(SoInterpolateRotation self) -> SoMFRotation"}, - { (char *)"SoInterpolateRotation_input1_set", _wrap_SoInterpolateRotation_input1_set, METH_VARARGS, (char *)"SoInterpolateRotation_input1_set(SoInterpolateRotation self, SoMFRotation input1)"}, - { (char *)"SoInterpolateRotation_input1_get", _wrap_SoInterpolateRotation_input1_get, METH_VARARGS, (char *)"SoInterpolateRotation_input1_get(SoInterpolateRotation self) -> SoMFRotation"}, - { (char *)"SoInterpolateRotation_swigregister", SoInterpolateRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOnOff_getClassTypeId", _wrap_SoOnOff_getClassTypeId, METH_VARARGS, (char *)"SoOnOff_getClassTypeId() -> SoType"}, - { (char *)"SoOnOff_getTypeId", _wrap_SoOnOff_getTypeId, METH_VARARGS, (char *)"SoOnOff_getTypeId(SoOnOff self) -> SoType"}, - { (char *)"SoOnOff_getFieldData", _wrap_SoOnOff_getFieldData, METH_VARARGS, (char *)"SoOnOff_getFieldData(SoOnOff self) -> SoFieldData"}, - { (char *)"SoOnOff_getOutputData", _wrap_SoOnOff_getOutputData, METH_VARARGS, (char *)"SoOnOff_getOutputData(SoOnOff self) -> SoEngineOutputData"}, - { (char *)"SoOnOff_createInstance", _wrap_SoOnOff_createInstance, METH_VARARGS, (char *)"SoOnOff_createInstance() -> void"}, - { (char *)"SoOnOff_initClass", _wrap_SoOnOff_initClass, METH_VARARGS, (char *)"SoOnOff_initClass()"}, - { (char *)"new_SoOnOff", _wrap_new_SoOnOff, METH_VARARGS, (char *)"new_SoOnOff() -> SoOnOff"}, - { (char *)"SoOnOff_on_set", _wrap_SoOnOff_on_set, METH_VARARGS, (char *)"SoOnOff_on_set(SoOnOff self, SoSFTrigger on)"}, - { (char *)"SoOnOff_on_get", _wrap_SoOnOff_on_get, METH_VARARGS, (char *)"SoOnOff_on_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_off_set", _wrap_SoOnOff_off_set, METH_VARARGS, (char *)"SoOnOff_off_set(SoOnOff self, SoSFTrigger off)"}, - { (char *)"SoOnOff_off_get", _wrap_SoOnOff_off_get, METH_VARARGS, (char *)"SoOnOff_off_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_toggle_set", _wrap_SoOnOff_toggle_set, METH_VARARGS, (char *)"SoOnOff_toggle_set(SoOnOff self, SoSFTrigger toggle)"}, - { (char *)"SoOnOff_toggle_get", _wrap_SoOnOff_toggle_get, METH_VARARGS, (char *)"SoOnOff_toggle_get(SoOnOff self) -> SoSFTrigger"}, - { (char *)"SoOnOff_isOn_set", _wrap_SoOnOff_isOn_set, METH_VARARGS, (char *)"SoOnOff_isOn_set(SoOnOff self, SoEngineOutput isOn)"}, - { (char *)"SoOnOff_isOn_get", _wrap_SoOnOff_isOn_get, METH_VARARGS, (char *)"SoOnOff_isOn_get(SoOnOff self) -> SoEngineOutput"}, - { (char *)"SoOnOff_isOff_set", _wrap_SoOnOff_isOff_set, METH_VARARGS, (char *)"SoOnOff_isOff_set(SoOnOff self, SoEngineOutput isOff)"}, - { (char *)"SoOnOff_isOff_get", _wrap_SoOnOff_isOff_get, METH_VARARGS, (char *)"SoOnOff_isOff_get(SoOnOff self) -> SoEngineOutput"}, - { (char *)"SoOnOff_swigregister", SoOnOff_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBitMask", _wrap_new_SoSFBitMask, METH_VARARGS, (char *)"new_SoSFBitMask() -> SoSFBitMask"}, - { (char *)"delete_SoSFBitMask", _wrap_delete_SoSFBitMask, METH_VARARGS, (char *)"delete_SoSFBitMask(SoSFBitMask self)"}, - { (char *)"SoSFBitMask_createInstance", _wrap_SoSFBitMask_createInstance, METH_VARARGS, (char *)"SoSFBitMask_createInstance() -> void"}, - { (char *)"SoSFBitMask_getClassTypeId", _wrap_SoSFBitMask_getClassTypeId, METH_VARARGS, (char *)"SoSFBitMask_getClassTypeId() -> SoType"}, - { (char *)"SoSFBitMask_getTypeId", _wrap_SoSFBitMask_getTypeId, METH_VARARGS, (char *)"SoSFBitMask_getTypeId(SoSFBitMask self) -> SoType"}, - { (char *)"SoSFBitMask_copyFrom", _wrap_SoSFBitMask_copyFrom, METH_VARARGS, (char *)"SoSFBitMask_copyFrom(SoSFBitMask self, SoField field)"}, - { (char *)"SoSFBitMask_isSame", _wrap_SoSFBitMask_isSame, METH_VARARGS, (char *)"SoSFBitMask_isSame(SoSFBitMask self, SoField field) -> SbBool"}, - { (char *)"SoSFBitMask_initClass", _wrap_SoSFBitMask_initClass, METH_VARARGS, (char *)"SoSFBitMask_initClass()"}, - { (char *)"SoSFBitMask_swigregister", SoSFBitMask_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOneShot_getClassTypeId", _wrap_SoOneShot_getClassTypeId, METH_VARARGS, (char *)"SoOneShot_getClassTypeId() -> SoType"}, - { (char *)"SoOneShot_getTypeId", _wrap_SoOneShot_getTypeId, METH_VARARGS, (char *)"SoOneShot_getTypeId(SoOneShot self) -> SoType"}, - { (char *)"SoOneShot_getFieldData", _wrap_SoOneShot_getFieldData, METH_VARARGS, (char *)"SoOneShot_getFieldData(SoOneShot self) -> SoFieldData"}, - { (char *)"SoOneShot_getOutputData", _wrap_SoOneShot_getOutputData, METH_VARARGS, (char *)"SoOneShot_getOutputData(SoOneShot self) -> SoEngineOutputData"}, - { (char *)"SoOneShot_createInstance", _wrap_SoOneShot_createInstance, METH_VARARGS, (char *)"SoOneShot_createInstance() -> void"}, - { (char *)"SoOneShot_initClass", _wrap_SoOneShot_initClass, METH_VARARGS, (char *)"SoOneShot_initClass()"}, - { (char *)"new_SoOneShot", _wrap_new_SoOneShot, METH_VARARGS, (char *)"new_SoOneShot() -> SoOneShot"}, - { (char *)"SoOneShot_timeIn_set", _wrap_SoOneShot_timeIn_set, METH_VARARGS, (char *)"SoOneShot_timeIn_set(SoOneShot self, SoSFTime timeIn)"}, - { (char *)"SoOneShot_timeIn_get", _wrap_SoOneShot_timeIn_get, METH_VARARGS, (char *)"SoOneShot_timeIn_get(SoOneShot self) -> SoSFTime"}, - { (char *)"SoOneShot_duration_set", _wrap_SoOneShot_duration_set, METH_VARARGS, (char *)"SoOneShot_duration_set(SoOneShot self, SoSFTime duration)"}, - { (char *)"SoOneShot_duration_get", _wrap_SoOneShot_duration_get, METH_VARARGS, (char *)"SoOneShot_duration_get(SoOneShot self) -> SoSFTime"}, - { (char *)"SoOneShot_trigger_set", _wrap_SoOneShot_trigger_set, METH_VARARGS, (char *)"SoOneShot_trigger_set(SoOneShot self, SoSFTrigger trigger)"}, - { (char *)"SoOneShot_trigger_get", _wrap_SoOneShot_trigger_get, METH_VARARGS, (char *)"SoOneShot_trigger_get(SoOneShot self) -> SoSFTrigger"}, - { (char *)"SoOneShot_flags_set", _wrap_SoOneShot_flags_set, METH_VARARGS, (char *)"SoOneShot_flags_set(SoOneShot self, SoSFBitMask flags)"}, - { (char *)"SoOneShot_flags_get", _wrap_SoOneShot_flags_get, METH_VARARGS, (char *)"SoOneShot_flags_get(SoOneShot self) -> SoSFBitMask"}, - { (char *)"SoOneShot_disable_set", _wrap_SoOneShot_disable_set, METH_VARARGS, (char *)"SoOneShot_disable_set(SoOneShot self, SoSFBool disable)"}, - { (char *)"SoOneShot_disable_get", _wrap_SoOneShot_disable_get, METH_VARARGS, (char *)"SoOneShot_disable_get(SoOneShot self) -> SoSFBool"}, - { (char *)"SoOneShot_timeOut_set", _wrap_SoOneShot_timeOut_set, METH_VARARGS, (char *)"SoOneShot_timeOut_set(SoOneShot self, SoEngineOutput timeOut)"}, - { (char *)"SoOneShot_timeOut_get", _wrap_SoOneShot_timeOut_get, METH_VARARGS, (char *)"SoOneShot_timeOut_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_isActive_set", _wrap_SoOneShot_isActive_set, METH_VARARGS, (char *)"SoOneShot_isActive_set(SoOneShot self, SoEngineOutput isActive)"}, - { (char *)"SoOneShot_isActive_get", _wrap_SoOneShot_isActive_get, METH_VARARGS, (char *)"SoOneShot_isActive_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_ramp_set", _wrap_SoOneShot_ramp_set, METH_VARARGS, (char *)"SoOneShot_ramp_set(SoOneShot self, SoEngineOutput ramp)"}, - { (char *)"SoOneShot_ramp_get", _wrap_SoOneShot_ramp_get, METH_VARARGS, (char *)"SoOneShot_ramp_get(SoOneShot self) -> SoEngineOutput"}, - { (char *)"SoOneShot_swigregister", SoOneShot_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSelectOne_getClassTypeId", _wrap_SoSelectOne_getClassTypeId, METH_VARARGS, (char *)"SoSelectOne_getClassTypeId() -> SoType"}, - { (char *)"SoSelectOne_getTypeId", _wrap_SoSelectOne_getTypeId, METH_VARARGS, (char *)"SoSelectOne_getTypeId(SoSelectOne self) -> SoType"}, - { (char *)"SoSelectOne_getFieldData", _wrap_SoSelectOne_getFieldData, METH_VARARGS, (char *)"SoSelectOne_getFieldData(SoSelectOne self) -> SoFieldData"}, - { (char *)"SoSelectOne_getOutputData", _wrap_SoSelectOne_getOutputData, METH_VARARGS, (char *)"SoSelectOne_getOutputData(SoSelectOne self) -> SoEngineOutputData"}, - { (char *)"SoSelectOne_createInstance", _wrap_SoSelectOne_createInstance, METH_VARARGS, (char *)"SoSelectOne_createInstance() -> void"}, - { (char *)"SoSelectOne_index_set", _wrap_SoSelectOne_index_set, METH_VARARGS, (char *)"SoSelectOne_index_set(SoSelectOne self, SoSFInt32 index)"}, - { (char *)"SoSelectOne_index_get", _wrap_SoSelectOne_index_get, METH_VARARGS, (char *)"SoSelectOne_index_get(SoSelectOne self) -> SoSFInt32"}, - { (char *)"SoSelectOne_input_set", _wrap_SoSelectOne_input_set, METH_VARARGS, (char *)"SoSelectOne_input_set(SoSelectOne self, SoMField input)"}, - { (char *)"SoSelectOne_input_get", _wrap_SoSelectOne_input_get, METH_VARARGS, (char *)"SoSelectOne_input_get(SoSelectOne self) -> SoMField"}, - { (char *)"SoSelectOne_output_set", _wrap_SoSelectOne_output_set, METH_VARARGS, (char *)"SoSelectOne_output_set(SoSelectOne self, SoEngineOutput output)"}, - { (char *)"SoSelectOne_output_get", _wrap_SoSelectOne_output_get, METH_VARARGS, (char *)"SoSelectOne_output_get(SoSelectOne self) -> SoEngineOutput"}, - { (char *)"new_SoSelectOne", _wrap_new_SoSelectOne, METH_VARARGS, (char *)"new_SoSelectOne(SoType inputtype) -> SoSelectOne"}, - { (char *)"SoSelectOne_initClass", _wrap_SoSelectOne_initClass, METH_VARARGS, (char *)"SoSelectOne_initClass()"}, - { (char *)"SoSelectOne_swigregister", SoSelectOne_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTimeCounter_getClassTypeId", _wrap_SoTimeCounter_getClassTypeId, METH_VARARGS, (char *)"SoTimeCounter_getClassTypeId() -> SoType"}, - { (char *)"SoTimeCounter_getTypeId", _wrap_SoTimeCounter_getTypeId, METH_VARARGS, (char *)"SoTimeCounter_getTypeId(SoTimeCounter self) -> SoType"}, - { (char *)"SoTimeCounter_getFieldData", _wrap_SoTimeCounter_getFieldData, METH_VARARGS, (char *)"SoTimeCounter_getFieldData(SoTimeCounter self) -> SoFieldData"}, - { (char *)"SoTimeCounter_getOutputData", _wrap_SoTimeCounter_getOutputData, METH_VARARGS, (char *)"SoTimeCounter_getOutputData(SoTimeCounter self) -> SoEngineOutputData"}, - { (char *)"SoTimeCounter_createInstance", _wrap_SoTimeCounter_createInstance, METH_VARARGS, (char *)"SoTimeCounter_createInstance() -> void"}, - { (char *)"SoTimeCounter_timeIn_set", _wrap_SoTimeCounter_timeIn_set, METH_VARARGS, (char *)"SoTimeCounter_timeIn_set(SoTimeCounter self, SoSFTime timeIn)"}, - { (char *)"SoTimeCounter_timeIn_get", _wrap_SoTimeCounter_timeIn_get, METH_VARARGS, (char *)"SoTimeCounter_timeIn_get(SoTimeCounter self) -> SoSFTime"}, - { (char *)"SoTimeCounter_min_set", _wrap_SoTimeCounter_min_set, METH_VARARGS, (char *)"SoTimeCounter_min_set(SoTimeCounter self, SoSFShort min)"}, - { (char *)"SoTimeCounter_min_get", _wrap_SoTimeCounter_min_get, METH_VARARGS, (char *)"SoTimeCounter_min_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_max_set", _wrap_SoTimeCounter_max_set, METH_VARARGS, (char *)"SoTimeCounter_max_set(SoTimeCounter self, SoSFShort max)"}, - { (char *)"SoTimeCounter_max_get", _wrap_SoTimeCounter_max_get, METH_VARARGS, (char *)"SoTimeCounter_max_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_step_set", _wrap_SoTimeCounter_step_set, METH_VARARGS, (char *)"SoTimeCounter_step_set(SoTimeCounter self, SoSFShort step)"}, - { (char *)"SoTimeCounter_step_get", _wrap_SoTimeCounter_step_get, METH_VARARGS, (char *)"SoTimeCounter_step_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_on_set", _wrap_SoTimeCounter_on_set, METH_VARARGS, (char *)"SoTimeCounter_on_set(SoTimeCounter self, SoSFBool on)"}, - { (char *)"SoTimeCounter_on_get", _wrap_SoTimeCounter_on_get, METH_VARARGS, (char *)"SoTimeCounter_on_get(SoTimeCounter self) -> SoSFBool"}, - { (char *)"SoTimeCounter_frequency_set", _wrap_SoTimeCounter_frequency_set, METH_VARARGS, (char *)"SoTimeCounter_frequency_set(SoTimeCounter self, SoSFFloat frequency)"}, - { (char *)"SoTimeCounter_frequency_get", _wrap_SoTimeCounter_frequency_get, METH_VARARGS, (char *)"SoTimeCounter_frequency_get(SoTimeCounter self) -> SoSFFloat"}, - { (char *)"SoTimeCounter_duty_set", _wrap_SoTimeCounter_duty_set, METH_VARARGS, (char *)"SoTimeCounter_duty_set(SoTimeCounter self, SoMFFloat duty)"}, - { (char *)"SoTimeCounter_duty_get", _wrap_SoTimeCounter_duty_get, METH_VARARGS, (char *)"SoTimeCounter_duty_get(SoTimeCounter self) -> SoMFFloat"}, - { (char *)"SoTimeCounter_reset_set", _wrap_SoTimeCounter_reset_set, METH_VARARGS, (char *)"SoTimeCounter_reset_set(SoTimeCounter self, SoSFShort reset)"}, - { (char *)"SoTimeCounter_reset_get", _wrap_SoTimeCounter_reset_get, METH_VARARGS, (char *)"SoTimeCounter_reset_get(SoTimeCounter self) -> SoSFShort"}, - { (char *)"SoTimeCounter_syncIn_set", _wrap_SoTimeCounter_syncIn_set, METH_VARARGS, (char *)"SoTimeCounter_syncIn_set(SoTimeCounter self, SoSFTrigger syncIn)"}, - { (char *)"SoTimeCounter_syncIn_get", _wrap_SoTimeCounter_syncIn_get, METH_VARARGS, (char *)"SoTimeCounter_syncIn_get(SoTimeCounter self) -> SoSFTrigger"}, - { (char *)"SoTimeCounter_output_set", _wrap_SoTimeCounter_output_set, METH_VARARGS, (char *)"SoTimeCounter_output_set(SoTimeCounter self, SoEngineOutput output)"}, - { (char *)"SoTimeCounter_output_get", _wrap_SoTimeCounter_output_get, METH_VARARGS, (char *)"SoTimeCounter_output_get(SoTimeCounter self) -> SoEngineOutput"}, - { (char *)"SoTimeCounter_syncOut_set", _wrap_SoTimeCounter_syncOut_set, METH_VARARGS, (char *)"SoTimeCounter_syncOut_set(SoTimeCounter self, SoEngineOutput syncOut)"}, - { (char *)"SoTimeCounter_syncOut_get", _wrap_SoTimeCounter_syncOut_get, METH_VARARGS, (char *)"SoTimeCounter_syncOut_get(SoTimeCounter self) -> SoEngineOutput"}, - { (char *)"new_SoTimeCounter", _wrap_new_SoTimeCounter, METH_VARARGS, (char *)"new_SoTimeCounter() -> SoTimeCounter"}, - { (char *)"SoTimeCounter_initClass", _wrap_SoTimeCounter_initClass, METH_VARARGS, (char *)"SoTimeCounter_initClass()"}, - { (char *)"SoTimeCounter_swigregister", SoTimeCounter_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformVec3f_getClassTypeId", _wrap_SoTransformVec3f_getClassTypeId, METH_VARARGS, (char *)"SoTransformVec3f_getClassTypeId() -> SoType"}, - { (char *)"SoTransformVec3f_getTypeId", _wrap_SoTransformVec3f_getTypeId, METH_VARARGS, (char *)"SoTransformVec3f_getTypeId(SoTransformVec3f self) -> SoType"}, - { (char *)"SoTransformVec3f_getFieldData", _wrap_SoTransformVec3f_getFieldData, METH_VARARGS, (char *)"SoTransformVec3f_getFieldData(SoTransformVec3f self) -> SoFieldData"}, - { (char *)"SoTransformVec3f_getOutputData", _wrap_SoTransformVec3f_getOutputData, METH_VARARGS, (char *)"SoTransformVec3f_getOutputData(SoTransformVec3f self) -> SoEngineOutputData"}, - { (char *)"SoTransformVec3f_createInstance", _wrap_SoTransformVec3f_createInstance, METH_VARARGS, (char *)"SoTransformVec3f_createInstance() -> void"}, - { (char *)"SoTransformVec3f_initClass", _wrap_SoTransformVec3f_initClass, METH_VARARGS, (char *)"SoTransformVec3f_initClass()"}, - { (char *)"new_SoTransformVec3f", _wrap_new_SoTransformVec3f, METH_VARARGS, (char *)"new_SoTransformVec3f() -> SoTransformVec3f"}, - { (char *)"SoTransformVec3f_vector_set", _wrap_SoTransformVec3f_vector_set, METH_VARARGS, (char *)"SoTransformVec3f_vector_set(SoTransformVec3f self, SoMFVec3f vector)"}, - { (char *)"SoTransformVec3f_vector_get", _wrap_SoTransformVec3f_vector_get, METH_VARARGS, (char *)"SoTransformVec3f_vector_get(SoTransformVec3f self) -> SoMFVec3f"}, - { (char *)"SoTransformVec3f_matrix_set", _wrap_SoTransformVec3f_matrix_set, METH_VARARGS, (char *)"SoTransformVec3f_matrix_set(SoTransformVec3f self, SoMFMatrix matrix)"}, - { (char *)"SoTransformVec3f_matrix_get", _wrap_SoTransformVec3f_matrix_get, METH_VARARGS, (char *)"SoTransformVec3f_matrix_get(SoTransformVec3f self) -> SoMFMatrix"}, - { (char *)"SoTransformVec3f_point_set", _wrap_SoTransformVec3f_point_set, METH_VARARGS, (char *)"SoTransformVec3f_point_set(SoTransformVec3f self, SoEngineOutput point)"}, - { (char *)"SoTransformVec3f_point_get", _wrap_SoTransformVec3f_point_get, METH_VARARGS, (char *)"SoTransformVec3f_point_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_direction_set", _wrap_SoTransformVec3f_direction_set, METH_VARARGS, (char *)"SoTransformVec3f_direction_set(SoTransformVec3f self, SoEngineOutput direction)"}, - { (char *)"SoTransformVec3f_direction_get", _wrap_SoTransformVec3f_direction_get, METH_VARARGS, (char *)"SoTransformVec3f_direction_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_normalDirection_set", _wrap_SoTransformVec3f_normalDirection_set, METH_VARARGS, (char *)"SoTransformVec3f_normalDirection_set(SoTransformVec3f self, SoEngineOutput normalDirection)"}, - { (char *)"SoTransformVec3f_normalDirection_get", _wrap_SoTransformVec3f_normalDirection_get, METH_VARARGS, (char *)"SoTransformVec3f_normalDirection_get(SoTransformVec3f self) -> SoEngineOutput"}, - { (char *)"SoTransformVec3f_swigregister", SoTransformVec3f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTriggerAny_getClassTypeId", _wrap_SoTriggerAny_getClassTypeId, METH_VARARGS, (char *)"SoTriggerAny_getClassTypeId() -> SoType"}, - { (char *)"SoTriggerAny_getTypeId", _wrap_SoTriggerAny_getTypeId, METH_VARARGS, (char *)"SoTriggerAny_getTypeId(SoTriggerAny self) -> SoType"}, - { (char *)"SoTriggerAny_getFieldData", _wrap_SoTriggerAny_getFieldData, METH_VARARGS, (char *)"SoTriggerAny_getFieldData(SoTriggerAny self) -> SoFieldData"}, - { (char *)"SoTriggerAny_getOutputData", _wrap_SoTriggerAny_getOutputData, METH_VARARGS, (char *)"SoTriggerAny_getOutputData(SoTriggerAny self) -> SoEngineOutputData"}, - { (char *)"SoTriggerAny_createInstance", _wrap_SoTriggerAny_createInstance, METH_VARARGS, (char *)"SoTriggerAny_createInstance() -> void"}, - { (char *)"SoTriggerAny_initClass", _wrap_SoTriggerAny_initClass, METH_VARARGS, (char *)"SoTriggerAny_initClass()"}, - { (char *)"new_SoTriggerAny", _wrap_new_SoTriggerAny, METH_VARARGS, (char *)"new_SoTriggerAny() -> SoTriggerAny"}, - { (char *)"SoTriggerAny_input0_set", _wrap_SoTriggerAny_input0_set, METH_VARARGS, (char *)"SoTriggerAny_input0_set(SoTriggerAny self, SoSFTrigger input0)"}, - { (char *)"SoTriggerAny_input0_get", _wrap_SoTriggerAny_input0_get, METH_VARARGS, (char *)"SoTriggerAny_input0_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input1_set", _wrap_SoTriggerAny_input1_set, METH_VARARGS, (char *)"SoTriggerAny_input1_set(SoTriggerAny self, SoSFTrigger input1)"}, - { (char *)"SoTriggerAny_input1_get", _wrap_SoTriggerAny_input1_get, METH_VARARGS, (char *)"SoTriggerAny_input1_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input2_set", _wrap_SoTriggerAny_input2_set, METH_VARARGS, (char *)"SoTriggerAny_input2_set(SoTriggerAny self, SoSFTrigger input2)"}, - { (char *)"SoTriggerAny_input2_get", _wrap_SoTriggerAny_input2_get, METH_VARARGS, (char *)"SoTriggerAny_input2_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input3_set", _wrap_SoTriggerAny_input3_set, METH_VARARGS, (char *)"SoTriggerAny_input3_set(SoTriggerAny self, SoSFTrigger input3)"}, - { (char *)"SoTriggerAny_input3_get", _wrap_SoTriggerAny_input3_get, METH_VARARGS, (char *)"SoTriggerAny_input3_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input4_set", _wrap_SoTriggerAny_input4_set, METH_VARARGS, (char *)"SoTriggerAny_input4_set(SoTriggerAny self, SoSFTrigger input4)"}, - { (char *)"SoTriggerAny_input4_get", _wrap_SoTriggerAny_input4_get, METH_VARARGS, (char *)"SoTriggerAny_input4_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input5_set", _wrap_SoTriggerAny_input5_set, METH_VARARGS, (char *)"SoTriggerAny_input5_set(SoTriggerAny self, SoSFTrigger input5)"}, - { (char *)"SoTriggerAny_input5_get", _wrap_SoTriggerAny_input5_get, METH_VARARGS, (char *)"SoTriggerAny_input5_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input6_set", _wrap_SoTriggerAny_input6_set, METH_VARARGS, (char *)"SoTriggerAny_input6_set(SoTriggerAny self, SoSFTrigger input6)"}, - { (char *)"SoTriggerAny_input6_get", _wrap_SoTriggerAny_input6_get, METH_VARARGS, (char *)"SoTriggerAny_input6_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input7_set", _wrap_SoTriggerAny_input7_set, METH_VARARGS, (char *)"SoTriggerAny_input7_set(SoTriggerAny self, SoSFTrigger input7)"}, - { (char *)"SoTriggerAny_input7_get", _wrap_SoTriggerAny_input7_get, METH_VARARGS, (char *)"SoTriggerAny_input7_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input8_set", _wrap_SoTriggerAny_input8_set, METH_VARARGS, (char *)"SoTriggerAny_input8_set(SoTriggerAny self, SoSFTrigger input8)"}, - { (char *)"SoTriggerAny_input8_get", _wrap_SoTriggerAny_input8_get, METH_VARARGS, (char *)"SoTriggerAny_input8_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_input9_set", _wrap_SoTriggerAny_input9_set, METH_VARARGS, (char *)"SoTriggerAny_input9_set(SoTriggerAny self, SoSFTrigger input9)"}, - { (char *)"SoTriggerAny_input9_get", _wrap_SoTriggerAny_input9_get, METH_VARARGS, (char *)"SoTriggerAny_input9_get(SoTriggerAny self) -> SoSFTrigger"}, - { (char *)"SoTriggerAny_output_set", _wrap_SoTriggerAny_output_set, METH_VARARGS, (char *)"SoTriggerAny_output_set(SoTriggerAny self, SoEngineOutput output)"}, - { (char *)"SoTriggerAny_output_get", _wrap_SoTriggerAny_output_get, METH_VARARGS, (char *)"SoTriggerAny_output_get(SoTriggerAny self) -> SoEngineOutput"}, - { (char *)"SoTriggerAny_swigregister", SoTriggerAny_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeEngine_initClass", _wrap_SoNodeEngine_initClass, METH_VARARGS, (char *)"SoNodeEngine_initClass()"}, - { (char *)"SoNodeEngine_getClassTypeId", _wrap_SoNodeEngine_getClassTypeId, METH_VARARGS, (char *)"SoNodeEngine_getClassTypeId() -> SoType"}, - { (char *)"SoNodeEngine_evaluateWrapper", _wrap_SoNodeEngine_evaluateWrapper, METH_VARARGS, (char *)"SoNodeEngine_evaluateWrapper(SoNodeEngine self)"}, - { (char *)"SoNodeEngine_getOutputs", _wrap_SoNodeEngine_getOutputs, METH_VARARGS, (char *)"SoNodeEngine_getOutputs(SoNodeEngine self, SoEngineOutputList l) -> int"}, - { (char *)"SoNodeEngine_getOutput", _wrap_SoNodeEngine_getOutput, METH_VARARGS, (char *)"SoNodeEngine_getOutput(SoNodeEngine self, SbName outputname) -> SoEngineOutput"}, - { (char *)"SoNodeEngine_getOutputName", _wrap_SoNodeEngine_getOutputName, METH_VARARGS, (char *)"SoNodeEngine_getOutputName(SoNodeEngine self, SoEngineOutput output, SbName outputname) -> SbBool"}, - { (char *)"SoNodeEngine_getOutputData", _wrap_SoNodeEngine_getOutputData, METH_VARARGS, (char *)"SoNodeEngine_getOutputData(SoNodeEngine self) -> SoEngineOutputData"}, - { (char *)"SoNodeEngine_isNotifying", _wrap_SoNodeEngine_isNotifying, METH_VARARGS, (char *)"SoNodeEngine_isNotifying(SoNodeEngine self) -> SbBool"}, - { (char *)"SoNodeEngine_notify", _wrap_SoNodeEngine_notify, METH_VARARGS, (char *)"SoNodeEngine_notify(SoNodeEngine self, SoNotList nl)"}, - { (char *)"SoNodeEngine_writeInstance", _wrap_SoNodeEngine_writeInstance, METH_VARARGS, (char *)"SoNodeEngine_writeInstance(SoNodeEngine self, SoOutput out)"}, - { (char *)"SoNodeEngine_swigregister", SoNodeEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoError", _wrap_new_SoError, METH_VARARGS, (char *)"new_SoError() -> SoError"}, - { (char *)"delete_SoError", _wrap_delete_SoError, METH_VARARGS, (char *)"delete_SoError(SoError self)"}, - { (char *)"SoError_setHandlerCallback", _wrap_SoError_setHandlerCallback, METH_VARARGS, (char *)"SoError_setHandlerCallback(SoErrorCB func, void data)"}, - { (char *)"SoError_getHandlerCallback", _wrap_SoError_getHandlerCallback, METH_VARARGS, (char *)"SoError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoError_getHandlerData", _wrap_SoError_getHandlerData, METH_VARARGS, (char *)"SoError_getHandlerData() -> void"}, - { (char *)"SoError_getDebugString", _wrap_SoError_getDebugString, METH_VARARGS, (char *)"SoError_getDebugString(SoError self) -> SbString"}, - { (char *)"SoError_getClassTypeId", _wrap_SoError_getClassTypeId, METH_VARARGS, (char *)"SoError_getClassTypeId() -> SoType"}, - { (char *)"SoError_getTypeId", _wrap_SoError_getTypeId, METH_VARARGS, (char *)"SoError_getTypeId(SoError self) -> SoType"}, - { (char *)"SoError_isOfType", _wrap_SoError_isOfType, METH_VARARGS, (char *)"SoError_isOfType(SoError self, SoType type) -> SbBool"}, - { (char *)"SoError_post", _wrap_SoError_post, METH_VARARGS, (char *)"SoError_post(char format, v(...) ?)"}, - { (char *)"SoError_getString", _wrap_SoError_getString, METH_VARARGS, (char *)"\n" - "getString(SoNode node) -> SbString\n" - "getString(SoPath path) -> SbString\n" - "SoError_getString(SoEngine engine) -> SbString\n" - ""}, - { (char *)"SoError_initClass", _wrap_SoError_initClass, METH_VARARGS, (char *)"SoError_initClass()"}, - { (char *)"SoError_initClasses", _wrap_SoError_initClasses, METH_VARARGS, (char *)"SoError_initClasses()"}, - { (char *)"SoError_swigregister", SoError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDebugError_setHandlerCallback", _wrap_SoDebugError_setHandlerCallback, METH_VARARGS, (char *)"SoDebugError_setHandlerCallback(SoErrorCB function, void data)"}, - { (char *)"SoDebugError_getHandlerCallback", _wrap_SoDebugError_getHandlerCallback, METH_VARARGS, (char *)"SoDebugError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoDebugError_getHandlerData", _wrap_SoDebugError_getHandlerData, METH_VARARGS, (char *)"SoDebugError_getHandlerData() -> void"}, - { (char *)"SoDebugError_getClassTypeId", _wrap_SoDebugError_getClassTypeId, METH_VARARGS, (char *)"SoDebugError_getClassTypeId() -> SoType"}, - { (char *)"SoDebugError_getTypeId", _wrap_SoDebugError_getTypeId, METH_VARARGS, (char *)"SoDebugError_getTypeId(SoDebugError self) -> SoType"}, - { (char *)"SoDebugError_getSeverity", _wrap_SoDebugError_getSeverity, METH_VARARGS, (char *)"SoDebugError_getSeverity(SoDebugError self) -> Severity"}, - { (char *)"SoDebugError_post", _wrap_SoDebugError_post, METH_VARARGS, (char *)"SoDebugError_post(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_postWarning", _wrap_SoDebugError_postWarning, METH_VARARGS, (char *)"SoDebugError_postWarning(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_postInfo", _wrap_SoDebugError_postInfo, METH_VARARGS, (char *)"SoDebugError_postInfo(char source, char format, v(...) ?)"}, - { (char *)"SoDebugError_initClass", _wrap_SoDebugError_initClass, METH_VARARGS, (char *)"SoDebugError_initClass()"}, - { (char *)"new_SoDebugError", _wrap_new_SoDebugError, METH_VARARGS, (char *)"new_SoDebugError() -> SoDebugError"}, - { (char *)"delete_SoDebugError", _wrap_delete_SoDebugError, METH_VARARGS, (char *)"delete_SoDebugError(SoDebugError self)"}, - { (char *)"SoDebugError_swigregister", SoDebugError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMemoryError_setHandlerCallback", _wrap_SoMemoryError_setHandlerCallback, METH_VARARGS, (char *)"SoMemoryError_setHandlerCallback(SoErrorCB callback, void data)"}, - { (char *)"SoMemoryError_getHandlerCallback", _wrap_SoMemoryError_getHandlerCallback, METH_VARARGS, (char *)"SoMemoryError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoMemoryError_getHandlerData", _wrap_SoMemoryError_getHandlerData, METH_VARARGS, (char *)"SoMemoryError_getHandlerData() -> void"}, - { (char *)"SoMemoryError_getClassTypeId", _wrap_SoMemoryError_getClassTypeId, METH_VARARGS, (char *)"SoMemoryError_getClassTypeId() -> SoType"}, - { (char *)"SoMemoryError_getTypeId", _wrap_SoMemoryError_getTypeId, METH_VARARGS, (char *)"SoMemoryError_getTypeId(SoMemoryError self) -> SoType"}, - { (char *)"SoMemoryError_post", _wrap_SoMemoryError_post, METH_VARARGS, (char *)"SoMemoryError_post(char whatWasAllocated)"}, - { (char *)"SoMemoryError_initClass", _wrap_SoMemoryError_initClass, METH_VARARGS, (char *)"SoMemoryError_initClass()"}, - { (char *)"new_SoMemoryError", _wrap_new_SoMemoryError, METH_VARARGS, (char *)"new_SoMemoryError() -> SoMemoryError"}, - { (char *)"delete_SoMemoryError", _wrap_delete_SoMemoryError, METH_VARARGS, (char *)"delete_SoMemoryError(SoMemoryError self)"}, - { (char *)"SoMemoryError_swigregister", SoMemoryError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoReadError_setHandlerCallback", _wrap_SoReadError_setHandlerCallback, METH_VARARGS, (char *)"SoReadError_setHandlerCallback(SoErrorCB function, void data)"}, - { (char *)"SoReadError_getHandlerCallback", _wrap_SoReadError_getHandlerCallback, METH_VARARGS, (char *)"SoReadError_getHandlerCallback() -> SoErrorCB"}, - { (char *)"SoReadError_getHandlerData", _wrap_SoReadError_getHandlerData, METH_VARARGS, (char *)"SoReadError_getHandlerData() -> void"}, - { (char *)"SoReadError_getClassTypeId", _wrap_SoReadError_getClassTypeId, METH_VARARGS, (char *)"SoReadError_getClassTypeId() -> SoType"}, - { (char *)"SoReadError_getTypeId", _wrap_SoReadError_getTypeId, METH_VARARGS, (char *)"SoReadError_getTypeId(SoReadError self) -> SoType"}, - { (char *)"SoReadError_post", _wrap_SoReadError_post, METH_VARARGS, (char *)"SoReadError_post(SoInput in, char format, v(...) ?)"}, - { (char *)"SoReadError_initClass", _wrap_SoReadError_initClass, METH_VARARGS, (char *)"SoReadError_initClass()"}, - { (char *)"new_SoReadError", _wrap_new_SoReadError, METH_VARARGS, (char *)"new_SoReadError() -> SoReadError"}, - { (char *)"delete_SoReadError", _wrap_delete_SoReadError, METH_VARARGS, (char *)"delete_SoReadError(SoReadError self)"}, - { (char *)"SoReadError_swigregister", SoReadError_swigregister, METH_VARARGS, NULL}, - { (char *)"SoButtonEvent_getClassTypeId", _wrap_SoButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoButtonEvent_getTypeId", _wrap_SoButtonEvent_getTypeId, METH_VARARGS, (char *)"SoButtonEvent_getTypeId(SoButtonEvent self) -> SoType"}, - { (char *)"new_SoButtonEvent", _wrap_new_SoButtonEvent, METH_VARARGS, (char *)"new_SoButtonEvent() -> SoButtonEvent"}, - { (char *)"delete_SoButtonEvent", _wrap_delete_SoButtonEvent, METH_VARARGS, (char *)"delete_SoButtonEvent(SoButtonEvent self)"}, - { (char *)"SoButtonEvent_setState", _wrap_SoButtonEvent_setState, METH_VARARGS, (char *)"SoButtonEvent_setState(SoButtonEvent self, State state)"}, - { (char *)"SoButtonEvent_getState", _wrap_SoButtonEvent_getState, METH_VARARGS, (char *)"SoButtonEvent_getState(SoButtonEvent self) -> State"}, - { (char *)"SoButtonEvent_initClass", _wrap_SoButtonEvent_initClass, METH_VARARGS, (char *)"SoButtonEvent_initClass()"}, - { (char *)"SoButtonEvent_swigregister", SoButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocation2Event_getClassTypeId", _wrap_SoLocation2Event_getClassTypeId, METH_VARARGS, (char *)"SoLocation2Event_getClassTypeId() -> SoType"}, - { (char *)"SoLocation2Event_getTypeId", _wrap_SoLocation2Event_getTypeId, METH_VARARGS, (char *)"SoLocation2Event_getTypeId(SoLocation2Event self) -> SoType"}, - { (char *)"delete_SoLocation2Event", _wrap_delete_SoLocation2Event, METH_VARARGS, (char *)"delete_SoLocation2Event(SoLocation2Event self)"}, - { (char *)"SoLocation2Event_initClass", _wrap_SoLocation2Event_initClass, METH_VARARGS, (char *)"SoLocation2Event_initClass()"}, - { (char *)"new_SoLocation2Event", _wrap_new_SoLocation2Event, METH_VARARGS, (char *)"new_SoLocation2Event() -> SoLocation2Event"}, - { (char *)"SoLocation2Event_swigregister", SoLocation2Event_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMotion3Event_getClassTypeId", _wrap_SoMotion3Event_getClassTypeId, METH_VARARGS, (char *)"SoMotion3Event_getClassTypeId() -> SoType"}, - { (char *)"SoMotion3Event_getTypeId", _wrap_SoMotion3Event_getTypeId, METH_VARARGS, (char *)"SoMotion3Event_getTypeId(SoMotion3Event self) -> SoType"}, - { (char *)"new_SoMotion3Event", _wrap_new_SoMotion3Event, METH_VARARGS, (char *)"new_SoMotion3Event() -> SoMotion3Event"}, - { (char *)"delete_SoMotion3Event", _wrap_delete_SoMotion3Event, METH_VARARGS, (char *)"delete_SoMotion3Event(SoMotion3Event self)"}, - { (char *)"SoMotion3Event_setTranslation", _wrap_SoMotion3Event_setTranslation, METH_VARARGS, (char *)"SoMotion3Event_setTranslation(SoMotion3Event self, SbVec3f t)"}, - { (char *)"SoMotion3Event_getTranslation", _wrap_SoMotion3Event_getTranslation, METH_VARARGS, (char *)"SoMotion3Event_getTranslation(SoMotion3Event self) -> SbVec3f"}, - { (char *)"SoMotion3Event_setRotation", _wrap_SoMotion3Event_setRotation, METH_VARARGS, (char *)"SoMotion3Event_setRotation(SoMotion3Event self, SbRotation r)"}, - { (char *)"SoMotion3Event_getRotation", _wrap_SoMotion3Event_getRotation, METH_VARARGS, (char *)"SoMotion3Event_getRotation(SoMotion3Event self) -> SbRotation"}, - { (char *)"SoMotion3Event_initClass", _wrap_SoMotion3Event_initClass, METH_VARARGS, (char *)"SoMotion3Event_initClass()"}, - { (char *)"SoMotion3Event_swigregister", SoMotion3Event_swigregister, METH_VARARGS, NULL}, - { (char *)"SoKeyboardEvent_getClassTypeId", _wrap_SoKeyboardEvent_getClassTypeId, METH_VARARGS, (char *)"SoKeyboardEvent_getClassTypeId() -> SoType"}, - { (char *)"SoKeyboardEvent_getTypeId", _wrap_SoKeyboardEvent_getTypeId, METH_VARARGS, (char *)"SoKeyboardEvent_getTypeId(SoKeyboardEvent self) -> SoType"}, - { (char *)"new_SoKeyboardEvent", _wrap_new_SoKeyboardEvent, METH_VARARGS, (char *)"new_SoKeyboardEvent() -> SoKeyboardEvent"}, - { (char *)"delete_SoKeyboardEvent", _wrap_delete_SoKeyboardEvent, METH_VARARGS, (char *)"delete_SoKeyboardEvent(SoKeyboardEvent self)"}, - { (char *)"SoKeyboardEvent_setKey", _wrap_SoKeyboardEvent_setKey, METH_VARARGS, (char *)"SoKeyboardEvent_setKey(SoKeyboardEvent self, Key key)"}, - { (char *)"SoKeyboardEvent_getKey", _wrap_SoKeyboardEvent_getKey, METH_VARARGS, (char *)"SoKeyboardEvent_getKey(SoKeyboardEvent self) -> Key"}, - { (char *)"SoKeyboardEvent_setPrintableCharacter", _wrap_SoKeyboardEvent_setPrintableCharacter, METH_VARARGS, (char *)"SoKeyboardEvent_setPrintableCharacter(SoKeyboardEvent self, char c)"}, - { (char *)"SoKeyboardEvent_getPrintableCharacter", _wrap_SoKeyboardEvent_getPrintableCharacter, METH_VARARGS, (char *)"SoKeyboardEvent_getPrintableCharacter(SoKeyboardEvent self) -> char"}, - { (char *)"SoKeyboardEvent_isKeyPressEvent", _wrap_SoKeyboardEvent_isKeyPressEvent, METH_VARARGS, (char *)"SoKeyboardEvent_isKeyPressEvent(SoEvent e, Key whichKey) -> SbBool"}, - { (char *)"SoKeyboardEvent_isKeyReleaseEvent", _wrap_SoKeyboardEvent_isKeyReleaseEvent, METH_VARARGS, (char *)"SoKeyboardEvent_isKeyReleaseEvent(SoEvent e, Key whichKey) -> SbBool"}, - { (char *)"SoKeyboardEvent_initClass", _wrap_SoKeyboardEvent_initClass, METH_VARARGS, (char *)"SoKeyboardEvent_initClass()"}, - { (char *)"SoKeyboardEvent_swigregister", SoKeyboardEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMouseButtonEvent_getClassTypeId", _wrap_SoMouseButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoMouseButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoMouseButtonEvent_getTypeId", _wrap_SoMouseButtonEvent_getTypeId, METH_VARARGS, (char *)"SoMouseButtonEvent_getTypeId(SoMouseButtonEvent self) -> SoType"}, - { (char *)"new_SoMouseButtonEvent", _wrap_new_SoMouseButtonEvent, METH_VARARGS, (char *)"new_SoMouseButtonEvent() -> SoMouseButtonEvent"}, - { (char *)"delete_SoMouseButtonEvent", _wrap_delete_SoMouseButtonEvent, METH_VARARGS, (char *)"delete_SoMouseButtonEvent(SoMouseButtonEvent self)"}, - { (char *)"SoMouseButtonEvent_setButton", _wrap_SoMouseButtonEvent_setButton, METH_VARARGS, (char *)"SoMouseButtonEvent_setButton(SoMouseButtonEvent self, Button button)"}, - { (char *)"SoMouseButtonEvent_getButton", _wrap_SoMouseButtonEvent_getButton, METH_VARARGS, (char *)"SoMouseButtonEvent_getButton(SoMouseButtonEvent self) -> Button"}, - { (char *)"SoMouseButtonEvent_isButtonPressEvent", _wrap_SoMouseButtonEvent_isButtonPressEvent, METH_VARARGS, (char *)"SoMouseButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoMouseButtonEvent_isButtonReleaseEvent", _wrap_SoMouseButtonEvent_isButtonReleaseEvent, METH_VARARGS, (char *)"SoMouseButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoMouseButtonEvent_initClass", _wrap_SoMouseButtonEvent_initClass, METH_VARARGS, (char *)"SoMouseButtonEvent_initClass()"}, - { (char *)"SoMouseButtonEvent_swigregister", SoMouseButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpaceballButtonEvent_getClassTypeId", _wrap_SoSpaceballButtonEvent_getClassTypeId, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getClassTypeId() -> SoType"}, - { (char *)"SoSpaceballButtonEvent_getTypeId", _wrap_SoSpaceballButtonEvent_getTypeId, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getTypeId(SoSpaceballButtonEvent self) -> SoType"}, - { (char *)"new_SoSpaceballButtonEvent", _wrap_new_SoSpaceballButtonEvent, METH_VARARGS, (char *)"new_SoSpaceballButtonEvent() -> SoSpaceballButtonEvent"}, - { (char *)"delete_SoSpaceballButtonEvent", _wrap_delete_SoSpaceballButtonEvent, METH_VARARGS, (char *)"delete_SoSpaceballButtonEvent(SoSpaceballButtonEvent self)"}, - { (char *)"SoSpaceballButtonEvent_setButton", _wrap_SoSpaceballButtonEvent_setButton, METH_VARARGS, (char *)"SoSpaceballButtonEvent_setButton(SoSpaceballButtonEvent self, Button button)"}, - { (char *)"SoSpaceballButtonEvent_getButton", _wrap_SoSpaceballButtonEvent_getButton, METH_VARARGS, (char *)"SoSpaceballButtonEvent_getButton(SoSpaceballButtonEvent self) -> Button"}, - { (char *)"SoSpaceballButtonEvent_isButtonPressEvent", _wrap_SoSpaceballButtonEvent_isButtonPressEvent, METH_VARARGS, (char *)"SoSpaceballButtonEvent_isButtonPressEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoSpaceballButtonEvent_isButtonReleaseEvent", _wrap_SoSpaceballButtonEvent_isButtonReleaseEvent, METH_VARARGS, (char *)"SoSpaceballButtonEvent_isButtonReleaseEvent(SoEvent e, Button whichButton) -> SbBool"}, - { (char *)"SoSpaceballButtonEvent_initClass", _wrap_SoSpaceballButtonEvent_initClass, METH_VARARGS, (char *)"SoSpaceballButtonEvent_initClass()"}, - { (char *)"SoSpaceballButtonEvent_swigregister", SoSpaceballButtonEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox3s", _wrap_new_SbBox3s, METH_VARARGS, (char *)"\n" - "SbBox3s()\n" - "SbBox3s(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "new_SbBox3s(SbVec3s minvec, SbVec3s maxvec) -> SbBox3s\n" - ""}, - { (char *)"delete_SbBox3s", _wrap_delete_SbBox3s, METH_VARARGS, (char *)"delete_SbBox3s(SbBox3s self)"}, - { (char *)"SbBox3s_getMin", _wrap_SbBox3s_getMin, METH_VARARGS, (char *)"SbBox3s_getMin(SbBox3s self) -> SbVec3s"}, - { (char *)"SbBox3s_getMax", _wrap_SbBox3s_getMax, METH_VARARGS, (char *)"SbBox3s_getMax(SbBox3s self) -> SbVec3s"}, - { (char *)"SbBox3s_extendBy", _wrap_SbBox3s_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec3s point)\n" - "SbBox3s_extendBy(SbBox3s self, SbBox3s box)\n" - ""}, - { (char *)"SbBox3s_intersect", _wrap_SbBox3s_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec3s point) -> SbBool\n" - "SbBox3s_intersect(SbBox3s self, SbBox3s box) -> SbBool\n" - ""}, - { (char *)"SbBox3s_setBounds", _wrap_SbBox3s_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SbBox3s_setBounds(SbBox3s self, SbVec3s minvec, SbVec3s maxvec)\n" - ""}, - { (char *)"SbBox3s_getBounds", _wrap_SbBox3s_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SbBox3s_getBounds(SbBox3s self, SbVec3s minvec, SbVec3s maxvec)\n" - ""}, - { (char *)"SbBox3s_getOrigin", _wrap_SbBox3s_getOrigin, METH_VARARGS, (char *)"SbBox3s_getOrigin(SbBox3s self, short originX, short originY, short originZ)"}, - { (char *)"SbBox3s_getSize", _wrap_SbBox3s_getSize, METH_VARARGS, (char *)"SbBox3s_getSize(SbBox3s self, short sizeX, short sizeY, short sizeZ)"}, - { (char *)"SbBox3s_makeEmpty", _wrap_SbBox3s_makeEmpty, METH_VARARGS, (char *)"SbBox3s_makeEmpty(SbBox3s self)"}, - { (char *)"SbBox3s___eq__", _wrap_SbBox3s___eq__, METH_VARARGS, (char *)"SbBox3s___eq__(SbBox3s self, SbBox3s u) -> int"}, - { (char *)"SbBox3s___ne__", _wrap_SbBox3s___ne__, METH_VARARGS, (char *)"SbBox3s___ne__(SbBox3s self, SbBox3s u) -> int"}, - { (char *)"SbBox3s_swigregister", SbBox3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFBox3s", _wrap_new_SoSFBox3s, METH_VARARGS, (char *)"new_SoSFBox3s() -> SoSFBox3s"}, - { (char *)"delete_SoSFBox3s", _wrap_delete_SoSFBox3s, METH_VARARGS, (char *)"delete_SoSFBox3s(SoSFBox3s self)"}, - { (char *)"SoSFBox3s_createInstance", _wrap_SoSFBox3s_createInstance, METH_VARARGS, (char *)"SoSFBox3s_createInstance() -> void"}, - { (char *)"SoSFBox3s_getClassTypeId", _wrap_SoSFBox3s_getClassTypeId, METH_VARARGS, (char *)"SoSFBox3s_getClassTypeId() -> SoType"}, - { (char *)"SoSFBox3s_getTypeId", _wrap_SoSFBox3s_getTypeId, METH_VARARGS, (char *)"SoSFBox3s_getTypeId(SoSFBox3s self) -> SoType"}, - { (char *)"SoSFBox3s_copyFrom", _wrap_SoSFBox3s_copyFrom, METH_VARARGS, (char *)"SoSFBox3s_copyFrom(SoSFBox3s self, SoField field)"}, - { (char *)"SoSFBox3s_isSame", _wrap_SoSFBox3s_isSame, METH_VARARGS, (char *)"SoSFBox3s_isSame(SoSFBox3s self, SoField field) -> SbBool"}, - { (char *)"SoSFBox3s___eq__", _wrap_SoSFBox3s___eq__, METH_VARARGS, (char *)"SoSFBox3s___eq__(SoSFBox3s self, SoSFBox3s field) -> int"}, - { (char *)"SoSFBox3s___ne__", _wrap_SoSFBox3s___ne__, METH_VARARGS, (char *)"SoSFBox3s___ne__(SoSFBox3s self, SoSFBox3s field) -> int"}, - { (char *)"SoSFBox3s_initClass", _wrap_SoSFBox3s_initClass, METH_VARARGS, (char *)"SoSFBox3s_initClass()"}, - { (char *)"SoSFBox3s_setValue", _wrap_SoSFBox3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbBox3s newvalue)\n" - "setValue(short xmin, short ymin, short zmin, short xmax, short ymax, \n" - " short zmax)\n" - "SoSFBox3s_setValue(SoSFBox3s self, SbVec3s minvec, SbVec3s maxvec)\n" - ""}, - { (char *)"SoSFBox3s_getValue", _wrap_SoSFBox3s_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbBox3s\n" - "SoSFBox3s_getValue(SoSFBox3s self, SbBox3s box)\n" - ""}, - { (char *)"SoSFBox3s_swigregister", SoSFBox3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFImage3", _wrap_new_SoSFImage3, METH_VARARGS, (char *)"new_SoSFImage3() -> SoSFImage3"}, - { (char *)"delete_SoSFImage3", _wrap_delete_SoSFImage3, METH_VARARGS, (char *)"delete_SoSFImage3(SoSFImage3 self)"}, - { (char *)"SoSFImage3_createInstance", _wrap_SoSFImage3_createInstance, METH_VARARGS, (char *)"SoSFImage3_createInstance() -> void"}, - { (char *)"SoSFImage3_getClassTypeId", _wrap_SoSFImage3_getClassTypeId, METH_VARARGS, (char *)"SoSFImage3_getClassTypeId() -> SoType"}, - { (char *)"SoSFImage3_getTypeId", _wrap_SoSFImage3_getTypeId, METH_VARARGS, (char *)"SoSFImage3_getTypeId(SoSFImage3 self) -> SoType"}, - { (char *)"SoSFImage3_copyFrom", _wrap_SoSFImage3_copyFrom, METH_VARARGS, (char *)"SoSFImage3_copyFrom(SoSFImage3 self, SoField field)"}, - { (char *)"SoSFImage3_isSame", _wrap_SoSFImage3_isSame, METH_VARARGS, (char *)"SoSFImage3_isSame(SoSFImage3 self, SoField field) -> SbBool"}, - { (char *)"SoSFImage3_initClass", _wrap_SoSFImage3_initClass, METH_VARARGS, (char *)"SoSFImage3_initClass()"}, - { (char *)"SoSFImage3_getValue", _wrap_SoSFImage3_getValue, METH_VARARGS, (char *)"SoSFImage3_getValue(SoSFImage3 self, SbVec3s size) -> unsigned char"}, - { (char *)"SoSFImage3___eq__", _wrap_SoSFImage3___eq__, METH_VARARGS, (char *)"SoSFImage3___eq__(SoSFImage3 self, SoSFImage3 field) -> int"}, - { (char *)"SoSFImage3___ne__", _wrap_SoSFImage3___ne__, METH_VARARGS, (char *)"SoSFImage3___ne__(SoSFImage3 self, SoSFImage3 field) -> int"}, - { (char *)"SoSFImage3_startEditing", _wrap_SoSFImage3_startEditing, METH_VARARGS, (char *)"SoSFImage3_startEditing(SoSFImage3 self, SbVec3s size) -> unsigned char"}, - { (char *)"SoSFImage3_finishEditing", _wrap_SoSFImage3_finishEditing, METH_VARARGS, (char *)"SoSFImage3_finishEditing(SoSFImage3 self)"}, - { (char *)"SoSFImage3_setValue", _wrap_SoSFImage3_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3s size, int nc, unsigned char bytes)\n" - "setValue(SbVec3s size, int nc, PyObject pixels)\n" - "SoSFImage3_setValue(SoSFImage3 self, SoSFImage3 other)\n" - ""}, - { (char *)"SoSFImage3_swigregister", SoSFImage3_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFMatrix", _wrap_new_SoSFMatrix, METH_VARARGS, (char *)"new_SoSFMatrix() -> SoSFMatrix"}, - { (char *)"delete_SoSFMatrix", _wrap_delete_SoSFMatrix, METH_VARARGS, (char *)"delete_SoSFMatrix(SoSFMatrix self)"}, - { (char *)"SoSFMatrix_createInstance", _wrap_SoSFMatrix_createInstance, METH_VARARGS, (char *)"SoSFMatrix_createInstance() -> void"}, - { (char *)"SoSFMatrix_getClassTypeId", _wrap_SoSFMatrix_getClassTypeId, METH_VARARGS, (char *)"SoSFMatrix_getClassTypeId() -> SoType"}, - { (char *)"SoSFMatrix_getTypeId", _wrap_SoSFMatrix_getTypeId, METH_VARARGS, (char *)"SoSFMatrix_getTypeId(SoSFMatrix self) -> SoType"}, - { (char *)"SoSFMatrix_copyFrom", _wrap_SoSFMatrix_copyFrom, METH_VARARGS, (char *)"SoSFMatrix_copyFrom(SoSFMatrix self, SoField field)"}, - { (char *)"SoSFMatrix_isSame", _wrap_SoSFMatrix_isSame, METH_VARARGS, (char *)"SoSFMatrix_isSame(SoSFMatrix self, SoField field) -> SbBool"}, - { (char *)"SoSFMatrix_getValue", _wrap_SoSFMatrix_getValue, METH_VARARGS, (char *)"SoSFMatrix_getValue(SoSFMatrix self) -> SbMatrix"}, - { (char *)"SoSFMatrix___eq__", _wrap_SoSFMatrix___eq__, METH_VARARGS, (char *)"SoSFMatrix___eq__(SoSFMatrix self, SoSFMatrix field) -> int"}, - { (char *)"SoSFMatrix___ne__", _wrap_SoSFMatrix___ne__, METH_VARARGS, (char *)"SoSFMatrix___ne__(SoSFMatrix self, SoSFMatrix field) -> int"}, - { (char *)"SoSFMatrix_initClass", _wrap_SoSFMatrix_initClass, METH_VARARGS, (char *)"SoSFMatrix_initClass()"}, - { (char *)"SoSFMatrix_setValue", _wrap_SoSFMatrix_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbMatrix newvalue)\n" - "setValue(float a11, float a12, float a13, float a14, float a21, \n" - " float a22, float a23, float a24, float a31, \n" - " float a32, float a33, float a34, float a41, \n" - " float a42, float a43, float a44)\n" - "SoSFMatrix_setValue(SoSFMatrix self, SoSFMatrix other)\n" - ""}, - { (char *)"SoSFMatrix_swigregister", SoSFMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFPlane", _wrap_new_SoSFPlane, METH_VARARGS, (char *)"new_SoSFPlane() -> SoSFPlane"}, - { (char *)"delete_SoSFPlane", _wrap_delete_SoSFPlane, METH_VARARGS, (char *)"delete_SoSFPlane(SoSFPlane self)"}, - { (char *)"SoSFPlane_createInstance", _wrap_SoSFPlane_createInstance, METH_VARARGS, (char *)"SoSFPlane_createInstance() -> void"}, - { (char *)"SoSFPlane_getClassTypeId", _wrap_SoSFPlane_getClassTypeId, METH_VARARGS, (char *)"SoSFPlane_getClassTypeId() -> SoType"}, - { (char *)"SoSFPlane_getTypeId", _wrap_SoSFPlane_getTypeId, METH_VARARGS, (char *)"SoSFPlane_getTypeId(SoSFPlane self) -> SoType"}, - { (char *)"SoSFPlane_copyFrom", _wrap_SoSFPlane_copyFrom, METH_VARARGS, (char *)"SoSFPlane_copyFrom(SoSFPlane self, SoField field)"}, - { (char *)"SoSFPlane_isSame", _wrap_SoSFPlane_isSame, METH_VARARGS, (char *)"SoSFPlane_isSame(SoSFPlane self, SoField field) -> SbBool"}, - { (char *)"SoSFPlane_getValue", _wrap_SoSFPlane_getValue, METH_VARARGS, (char *)"SoSFPlane_getValue(SoSFPlane self) -> SbPlane"}, - { (char *)"SoSFPlane___eq__", _wrap_SoSFPlane___eq__, METH_VARARGS, (char *)"SoSFPlane___eq__(SoSFPlane self, SoSFPlane field) -> int"}, - { (char *)"SoSFPlane___ne__", _wrap_SoSFPlane___ne__, METH_VARARGS, (char *)"SoSFPlane___ne__(SoSFPlane self, SoSFPlane field) -> int"}, - { (char *)"SoSFPlane_initClass", _wrap_SoSFPlane_initClass, METH_VARARGS, (char *)"SoSFPlane_initClass()"}, - { (char *)"SoSFPlane_setValue", _wrap_SoSFPlane_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbPlane newvalue)\n" - "SoSFPlane_setValue(SoSFPlane self, SoSFPlane other)\n" - ""}, - { (char *)"SoSFPlane_swigregister", SoSFPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFUInt32", _wrap_new_SoSFUInt32, METH_VARARGS, (char *)"new_SoSFUInt32() -> SoSFUInt32"}, - { (char *)"delete_SoSFUInt32", _wrap_delete_SoSFUInt32, METH_VARARGS, (char *)"delete_SoSFUInt32(SoSFUInt32 self)"}, - { (char *)"SoSFUInt32_createInstance", _wrap_SoSFUInt32_createInstance, METH_VARARGS, (char *)"SoSFUInt32_createInstance() -> void"}, - { (char *)"SoSFUInt32_getClassTypeId", _wrap_SoSFUInt32_getClassTypeId, METH_VARARGS, (char *)"SoSFUInt32_getClassTypeId() -> SoType"}, - { (char *)"SoSFUInt32_getTypeId", _wrap_SoSFUInt32_getTypeId, METH_VARARGS, (char *)"SoSFUInt32_getTypeId(SoSFUInt32 self) -> SoType"}, - { (char *)"SoSFUInt32_copyFrom", _wrap_SoSFUInt32_copyFrom, METH_VARARGS, (char *)"SoSFUInt32_copyFrom(SoSFUInt32 self, SoField field)"}, - { (char *)"SoSFUInt32_isSame", _wrap_SoSFUInt32_isSame, METH_VARARGS, (char *)"SoSFUInt32_isSame(SoSFUInt32 self, SoField field) -> SbBool"}, - { (char *)"SoSFUInt32_getValue", _wrap_SoSFUInt32_getValue, METH_VARARGS, (char *)"SoSFUInt32_getValue(SoSFUInt32 self) -> uint32_t"}, - { (char *)"SoSFUInt32___eq__", _wrap_SoSFUInt32___eq__, METH_VARARGS, (char *)"SoSFUInt32___eq__(SoSFUInt32 self, SoSFUInt32 field) -> int"}, - { (char *)"SoSFUInt32___ne__", _wrap_SoSFUInt32___ne__, METH_VARARGS, (char *)"SoSFUInt32___ne__(SoSFUInt32 self, SoSFUInt32 field) -> int"}, - { (char *)"SoSFUInt32_initClass", _wrap_SoSFUInt32_initClass, METH_VARARGS, (char *)"SoSFUInt32_initClass()"}, - { (char *)"SoSFUInt32_setValue", _wrap_SoSFUInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint32_t newvalue)\n" - "SoSFUInt32_setValue(SoSFUInt32 self, SoSFUInt32 other)\n" - ""}, - { (char *)"SoSFUInt32_swigregister", SoSFUInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2f", _wrap_new_SoSFVec2f, METH_VARARGS, (char *)"new_SoSFVec2f() -> SoSFVec2f"}, - { (char *)"delete_SoSFVec2f", _wrap_delete_SoSFVec2f, METH_VARARGS, (char *)"delete_SoSFVec2f(SoSFVec2f self)"}, - { (char *)"SoSFVec2f_createInstance", _wrap_SoSFVec2f_createInstance, METH_VARARGS, (char *)"SoSFVec2f_createInstance() -> void"}, - { (char *)"SoSFVec2f_getClassTypeId", _wrap_SoSFVec2f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2f_getTypeId", _wrap_SoSFVec2f_getTypeId, METH_VARARGS, (char *)"SoSFVec2f_getTypeId(SoSFVec2f self) -> SoType"}, - { (char *)"SoSFVec2f_copyFrom", _wrap_SoSFVec2f_copyFrom, METH_VARARGS, (char *)"SoSFVec2f_copyFrom(SoSFVec2f self, SoField field)"}, - { (char *)"SoSFVec2f_isSame", _wrap_SoSFVec2f_isSame, METH_VARARGS, (char *)"SoSFVec2f_isSame(SoSFVec2f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2f_getValue", _wrap_SoSFVec2f_getValue, METH_VARARGS, (char *)"SoSFVec2f_getValue(SoSFVec2f self) -> SbVec2f"}, - { (char *)"SoSFVec2f___eq__", _wrap_SoSFVec2f___eq__, METH_VARARGS, (char *)"SoSFVec2f___eq__(SoSFVec2f self, SoSFVec2f field) -> int"}, - { (char *)"SoSFVec2f___ne__", _wrap_SoSFVec2f___ne__, METH_VARARGS, (char *)"SoSFVec2f___ne__(SoSFVec2f self, SoSFVec2f field) -> int"}, - { (char *)"SoSFVec2f_initClass", _wrap_SoSFVec2f_initClass, METH_VARARGS, (char *)"SoSFVec2f_initClass()"}, - { (char *)"SoSFVec2f_setValue", _wrap_SoSFVec2f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2f newvalue)\n" - "setValue(float x, float y)\n" - "setValue(float xy)\n" - "SoSFVec2f_setValue(SoSFVec2f self, SoSFVec2f other)\n" - ""}, - { (char *)"SoSFVec2f_swigregister", SoSFVec2f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec2s", _wrap_new_SoSFVec2s, METH_VARARGS, (char *)"new_SoSFVec2s() -> SoSFVec2s"}, - { (char *)"delete_SoSFVec2s", _wrap_delete_SoSFVec2s, METH_VARARGS, (char *)"delete_SoSFVec2s(SoSFVec2s self)"}, - { (char *)"SoSFVec2s_createInstance", _wrap_SoSFVec2s_createInstance, METH_VARARGS, (char *)"SoSFVec2s_createInstance() -> void"}, - { (char *)"SoSFVec2s_getClassTypeId", _wrap_SoSFVec2s_getClassTypeId, METH_VARARGS, (char *)"SoSFVec2s_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec2s_getTypeId", _wrap_SoSFVec2s_getTypeId, METH_VARARGS, (char *)"SoSFVec2s_getTypeId(SoSFVec2s self) -> SoType"}, - { (char *)"SoSFVec2s_copyFrom", _wrap_SoSFVec2s_copyFrom, METH_VARARGS, (char *)"SoSFVec2s_copyFrom(SoSFVec2s self, SoField field)"}, - { (char *)"SoSFVec2s_isSame", _wrap_SoSFVec2s_isSame, METH_VARARGS, (char *)"SoSFVec2s_isSame(SoSFVec2s self, SoField field) -> SbBool"}, - { (char *)"SoSFVec2s_getValue", _wrap_SoSFVec2s_getValue, METH_VARARGS, (char *)"SoSFVec2s_getValue(SoSFVec2s self) -> SbVec2s"}, - { (char *)"SoSFVec2s___eq__", _wrap_SoSFVec2s___eq__, METH_VARARGS, (char *)"SoSFVec2s___eq__(SoSFVec2s self, SoSFVec2s field) -> int"}, - { (char *)"SoSFVec2s___ne__", _wrap_SoSFVec2s___ne__, METH_VARARGS, (char *)"SoSFVec2s___ne__(SoSFVec2s self, SoSFVec2s field) -> int"}, - { (char *)"SoSFVec2s_initClass", _wrap_SoSFVec2s_initClass, METH_VARARGS, (char *)"SoSFVec2s_initClass()"}, - { (char *)"SoSFVec2s_setValue", _wrap_SoSFVec2s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s newvalue)\n" - "setValue(short x, short y)\n" - "SoSFVec2s_setValue(SoSFVec2s self, short xy)\n" - ""}, - { (char *)"SoSFVec2s_swigregister", SoSFVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3d", _wrap_new_SoSFVec3d, METH_VARARGS, (char *)"new_SoSFVec3d() -> SoSFVec3d"}, - { (char *)"delete_SoSFVec3d", _wrap_delete_SoSFVec3d, METH_VARARGS, (char *)"delete_SoSFVec3d(SoSFVec3d self)"}, - { (char *)"SoSFVec3d_createInstance", _wrap_SoSFVec3d_createInstance, METH_VARARGS, (char *)"SoSFVec3d_createInstance() -> void"}, - { (char *)"SoSFVec3d_getClassTypeId", _wrap_SoSFVec3d_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3d_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3d_getTypeId", _wrap_SoSFVec3d_getTypeId, METH_VARARGS, (char *)"SoSFVec3d_getTypeId(SoSFVec3d self) -> SoType"}, - { (char *)"SoSFVec3d_copyFrom", _wrap_SoSFVec3d_copyFrom, METH_VARARGS, (char *)"SoSFVec3d_copyFrom(SoSFVec3d self, SoField field)"}, - { (char *)"SoSFVec3d_isSame", _wrap_SoSFVec3d_isSame, METH_VARARGS, (char *)"SoSFVec3d_isSame(SoSFVec3d self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3d_getValue", _wrap_SoSFVec3d_getValue, METH_VARARGS, (char *)"SoSFVec3d_getValue(SoSFVec3d self) -> SbVec3d"}, - { (char *)"SoSFVec3d___eq__", _wrap_SoSFVec3d___eq__, METH_VARARGS, (char *)"SoSFVec3d___eq__(SoSFVec3d self, SoSFVec3d field) -> int"}, - { (char *)"SoSFVec3d___ne__", _wrap_SoSFVec3d___ne__, METH_VARARGS, (char *)"SoSFVec3d___ne__(SoSFVec3d self, SoSFVec3d field) -> int"}, - { (char *)"SoSFVec3d_initClass", _wrap_SoSFVec3d_initClass, METH_VARARGS, (char *)"SoSFVec3d_initClass()"}, - { (char *)"SoSFVec3d_setValue", _wrap_SoSFVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3d newvalue)\n" - "setValue(double x, double y, double z)\n" - "SoSFVec3d_setValue(SoSFVec3d self, double xyz)\n" - ""}, - { (char *)"SoSFVec3d_swigregister", SoSFVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec3s", _wrap_new_SoSFVec3s, METH_VARARGS, (char *)"new_SoSFVec3s() -> SoSFVec3s"}, - { (char *)"delete_SoSFVec3s", _wrap_delete_SoSFVec3s, METH_VARARGS, (char *)"delete_SoSFVec3s(SoSFVec3s self)"}, - { (char *)"SoSFVec3s_createInstance", _wrap_SoSFVec3s_createInstance, METH_VARARGS, (char *)"SoSFVec3s_createInstance() -> void"}, - { (char *)"SoSFVec3s_getClassTypeId", _wrap_SoSFVec3s_getClassTypeId, METH_VARARGS, (char *)"SoSFVec3s_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec3s_getTypeId", _wrap_SoSFVec3s_getTypeId, METH_VARARGS, (char *)"SoSFVec3s_getTypeId(SoSFVec3s self) -> SoType"}, - { (char *)"SoSFVec3s_copyFrom", _wrap_SoSFVec3s_copyFrom, METH_VARARGS, (char *)"SoSFVec3s_copyFrom(SoSFVec3s self, SoField field)"}, - { (char *)"SoSFVec3s_isSame", _wrap_SoSFVec3s_isSame, METH_VARARGS, (char *)"SoSFVec3s_isSame(SoSFVec3s self, SoField field) -> SbBool"}, - { (char *)"SoSFVec3s_getValue", _wrap_SoSFVec3s_getValue, METH_VARARGS, (char *)"SoSFVec3s_getValue(SoSFVec3s self) -> SbVec3s"}, - { (char *)"SoSFVec3s___eq__", _wrap_SoSFVec3s___eq__, METH_VARARGS, (char *)"SoSFVec3s___eq__(SoSFVec3s self, SoSFVec3s field) -> int"}, - { (char *)"SoSFVec3s___ne__", _wrap_SoSFVec3s___ne__, METH_VARARGS, (char *)"SoSFVec3s___ne__(SoSFVec3s self, SoSFVec3s field) -> int"}, - { (char *)"SoSFVec3s_initClass", _wrap_SoSFVec3s_initClass, METH_VARARGS, (char *)"SoSFVec3s_initClass()"}, - { (char *)"SoSFVec3s_setValue", _wrap_SoSFVec3s_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3s newvalue)\n" - "setValue(short x, short y, short z)\n" - "SoSFVec3s_setValue(SoSFVec3s self, short xyz)\n" - ""}, - { (char *)"SoSFVec3s_swigregister", SoSFVec3s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFVec4f", _wrap_new_SoSFVec4f, METH_VARARGS, (char *)"new_SoSFVec4f() -> SoSFVec4f"}, - { (char *)"delete_SoSFVec4f", _wrap_delete_SoSFVec4f, METH_VARARGS, (char *)"delete_SoSFVec4f(SoSFVec4f self)"}, - { (char *)"SoSFVec4f_createInstance", _wrap_SoSFVec4f_createInstance, METH_VARARGS, (char *)"SoSFVec4f_createInstance() -> void"}, - { (char *)"SoSFVec4f_getClassTypeId", _wrap_SoSFVec4f_getClassTypeId, METH_VARARGS, (char *)"SoSFVec4f_getClassTypeId() -> SoType"}, - { (char *)"SoSFVec4f_getTypeId", _wrap_SoSFVec4f_getTypeId, METH_VARARGS, (char *)"SoSFVec4f_getTypeId(SoSFVec4f self) -> SoType"}, - { (char *)"SoSFVec4f_copyFrom", _wrap_SoSFVec4f_copyFrom, METH_VARARGS, (char *)"SoSFVec4f_copyFrom(SoSFVec4f self, SoField field)"}, - { (char *)"SoSFVec4f_isSame", _wrap_SoSFVec4f_isSame, METH_VARARGS, (char *)"SoSFVec4f_isSame(SoSFVec4f self, SoField field) -> SbBool"}, - { (char *)"SoSFVec4f_getValue", _wrap_SoSFVec4f_getValue, METH_VARARGS, (char *)"SoSFVec4f_getValue(SoSFVec4f self) -> SbVec4f"}, - { (char *)"SoSFVec4f___eq__", _wrap_SoSFVec4f___eq__, METH_VARARGS, (char *)"SoSFVec4f___eq__(SoSFVec4f self, SoSFVec4f field) -> int"}, - { (char *)"SoSFVec4f___ne__", _wrap_SoSFVec4f___ne__, METH_VARARGS, (char *)"SoSFVec4f___ne__(SoSFVec4f self, SoSFVec4f field) -> int"}, - { (char *)"SoSFVec4f_initClass", _wrap_SoSFVec4f_initClass, METH_VARARGS, (char *)"SoSFVec4f_initClass()"}, - { (char *)"SoSFVec4f_setValue", _wrap_SoSFVec4f_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec4f newvalue)\n" - "setValue(float x, float y, float z, float w)\n" - "setValue(float xyzw)\n" - "SoSFVec4f_setValue(SoSFVec4f self, SoSFVec4f other)\n" - ""}, - { (char *)"SoSFVec4f_swigregister", SoSFVec4f_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSFEngine", _wrap_new_SoSFEngine, METH_VARARGS, (char *)"new_SoSFEngine() -> SoSFEngine"}, - { (char *)"delete_SoSFEngine", _wrap_delete_SoSFEngine, METH_VARARGS, (char *)"delete_SoSFEngine(SoSFEngine self)"}, - { (char *)"SoSFEngine_createInstance", _wrap_SoSFEngine_createInstance, METH_VARARGS, (char *)"SoSFEngine_createInstance() -> void"}, - { (char *)"SoSFEngine_getClassTypeId", _wrap_SoSFEngine_getClassTypeId, METH_VARARGS, (char *)"SoSFEngine_getClassTypeId() -> SoType"}, - { (char *)"SoSFEngine_getTypeId", _wrap_SoSFEngine_getTypeId, METH_VARARGS, (char *)"SoSFEngine_getTypeId(SoSFEngine self) -> SoType"}, - { (char *)"SoSFEngine_copyFrom", _wrap_SoSFEngine_copyFrom, METH_VARARGS, (char *)"SoSFEngine_copyFrom(SoSFEngine self, SoField field)"}, - { (char *)"SoSFEngine_isSame", _wrap_SoSFEngine_isSame, METH_VARARGS, (char *)"SoSFEngine_isSame(SoSFEngine self, SoField field) -> SbBool"}, - { (char *)"SoSFEngine_getValue", _wrap_SoSFEngine_getValue, METH_VARARGS, (char *)"SoSFEngine_getValue(SoSFEngine self) -> SoEngine"}, - { (char *)"SoSFEngine___eq__", _wrap_SoSFEngine___eq__, METH_VARARGS, (char *)"SoSFEngine___eq__(SoSFEngine self, SoSFEngine field) -> int"}, - { (char *)"SoSFEngine___ne__", _wrap_SoSFEngine___ne__, METH_VARARGS, (char *)"SoSFEngine___ne__(SoSFEngine self, SoSFEngine field) -> int"}, - { (char *)"SoSFEngine_initClass", _wrap_SoSFEngine_initClass, METH_VARARGS, (char *)"SoSFEngine_initClass()"}, - { (char *)"SoSFEngine_fixCopy", _wrap_SoSFEngine_fixCopy, METH_VARARGS, (char *)"SoSFEngine_fixCopy(SoSFEngine self, SbBool copyconnections)"}, - { (char *)"SoSFEngine_referencesCopy", _wrap_SoSFEngine_referencesCopy, METH_VARARGS, (char *)"SoSFEngine_referencesCopy(SoSFEngine self) -> SbBool"}, - { (char *)"SoSFEngine_setValue", _wrap_SoSFEngine_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoEngine newvalue)\n" - "SoSFEngine_setValue(SoSFEngine self, SoSFEngine other)\n" - ""}, - { (char *)"SoSFEngine_swigregister", SoSFEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFColor", _wrap_new_SoMFColor, METH_VARARGS, (char *)"new_SoMFColor() -> SoMFColor"}, - { (char *)"delete_SoMFColor", _wrap_delete_SoMFColor, METH_VARARGS, (char *)"delete_SoMFColor(SoMFColor self)"}, - { (char *)"SoMFColor_createInstance", _wrap_SoMFColor_createInstance, METH_VARARGS, (char *)"SoMFColor_createInstance() -> void"}, - { (char *)"SoMFColor_getClassTypeId", _wrap_SoMFColor_getClassTypeId, METH_VARARGS, (char *)"SoMFColor_getClassTypeId() -> SoType"}, - { (char *)"SoMFColor_getTypeId", _wrap_SoMFColor_getTypeId, METH_VARARGS, (char *)"SoMFColor_getTypeId(SoMFColor self) -> SoType"}, - { (char *)"SoMFColor_copyFrom", _wrap_SoMFColor_copyFrom, METH_VARARGS, (char *)"SoMFColor_copyFrom(SoMFColor self, SoField field)"}, - { (char *)"SoMFColor_isSame", _wrap_SoMFColor_isSame, METH_VARARGS, (char *)"SoMFColor_isSame(SoMFColor self, SoField field) -> SbBool"}, - { (char *)"SoMFColor_find", _wrap_SoMFColor_find, METH_VARARGS, (char *)"\n" - "find(SbColor value, SbBool addifnotfound=0) -> int\n" - "SoMFColor_find(SoMFColor self, SbColor value) -> int\n" - ""}, - { (char *)"SoMFColor___eq__", _wrap_SoMFColor___eq__, METH_VARARGS, (char *)"SoMFColor___eq__(SoMFColor self, SoMFColor field) -> SbBool"}, - { (char *)"SoMFColor___ne__", _wrap_SoMFColor___ne__, METH_VARARGS, (char *)"SoMFColor___ne__(SoMFColor self, SoMFColor field) -> SbBool"}, - { (char *)"SoMFColor_startEditing", _wrap_SoMFColor_startEditing, METH_VARARGS, (char *)"SoMFColor_startEditing(SoMFColor self) -> SbColor"}, - { (char *)"SoMFColor_finishEditing", _wrap_SoMFColor_finishEditing, METH_VARARGS, (char *)"SoMFColor_finishEditing(SoMFColor self)"}, - { (char *)"SoMFColor_setValuesPointer", _wrap_SoMFColor_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, float userdata)\n" - "setValuesPointer(int num, SbColor userdata)\n" - "SoMFColor_setValuesPointer(SoMFColor self, int num, SbColor userdata)\n" - ""}, - { (char *)"SoMFColor_initClass", _wrap_SoMFColor_initClass, METH_VARARGS, (char *)"SoMFColor_initClass()"}, - { (char *)"SoMFColor_setValues", _wrap_SoMFColor_setValues, METH_VARARGS, (char *)"SoMFColor_setValues(SoMFColor self, int start, int num, float rgb)"}, - { (char *)"SoMFColor_setHSVValues", _wrap_SoMFColor_setHSVValues, METH_VARARGS, (char *)"SoMFColor_setHSVValues(SoMFColor self, int start, int num, float hsv)"}, - { (char *)"SoMFColor_setHSVValue", _wrap_SoMFColor_setHSVValue, METH_VARARGS, (char *)"\n" - "setHSVValue(float h, float s, float v)\n" - "SoMFColor_setHSVValue(SoMFColor self, float hsv)\n" - ""}, - { (char *)"SoMFColor_set1Value", _wrap_SoMFColor_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbColor value)\n" - "set1Value(int idx, SbVec3f vec)\n" - "set1Value(int idx, float r, float g, float b)\n" - "SoMFColor_set1Value(SoMFColor self, int idx, float rgb)\n" - ""}, - { (char *)"SoMFColor_set1HSVValue", _wrap_SoMFColor_set1HSVValue, METH_VARARGS, (char *)"\n" - "set1HSVValue(int idx, float h, float s, float v)\n" - "SoMFColor_set1HSVValue(SoMFColor self, int idx, float hsv)\n" - ""}, - { (char *)"SoMFColor___getitem__", _wrap_SoMFColor___getitem__, METH_VARARGS, (char *)"SoMFColor___getitem__(SoMFColor self, int i) -> SbColor"}, - { (char *)"SoMFColor___setitem__", _wrap_SoMFColor___setitem__, METH_VARARGS, (char *)"\n" - "__setitem__(int i, SbColor value)\n" - "SoMFColor___setitem__(SoMFColor self, int i, float rgb)\n" - ""}, - { (char *)"SoMFColor_setValue", _wrap_SoMFColor_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbColor value)\n" - "setValue(SbVec3f vec)\n" - "setValue(float r, float g, float b)\n" - "setValue(float rgb)\n" - "SoMFColor_setValue(SoMFColor self, SoMFColor other)\n" - ""}, - { (char *)"SoMFColor_getValues", _wrap_SoMFColor_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbColor\n" - "SoMFColor_getValues(SoMFColor self, int len) -> SbColor\n" - ""}, - { (char *)"SoMFColor_swigregister", SoMFColor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFEngine", _wrap_new_SoMFEngine, METH_VARARGS, (char *)"new_SoMFEngine() -> SoMFEngine"}, - { (char *)"delete_SoMFEngine", _wrap_delete_SoMFEngine, METH_VARARGS, (char *)"delete_SoMFEngine(SoMFEngine self)"}, - { (char *)"SoMFEngine_createInstance", _wrap_SoMFEngine_createInstance, METH_VARARGS, (char *)"SoMFEngine_createInstance() -> void"}, - { (char *)"SoMFEngine_getClassTypeId", _wrap_SoMFEngine_getClassTypeId, METH_VARARGS, (char *)"SoMFEngine_getClassTypeId() -> SoType"}, - { (char *)"SoMFEngine_getTypeId", _wrap_SoMFEngine_getTypeId, METH_VARARGS, (char *)"SoMFEngine_getTypeId(SoMFEngine self) -> SoType"}, - { (char *)"SoMFEngine_copyFrom", _wrap_SoMFEngine_copyFrom, METH_VARARGS, (char *)"SoMFEngine_copyFrom(SoMFEngine self, SoField field)"}, - { (char *)"SoMFEngine_isSame", _wrap_SoMFEngine_isSame, METH_VARARGS, (char *)"SoMFEngine_isSame(SoMFEngine self, SoField field) -> SbBool"}, - { (char *)"SoMFEngine_find", _wrap_SoMFEngine_find, METH_VARARGS, (char *)"\n" - "find(SoEngine value, SbBool addifnotfound=0) -> int\n" - "SoMFEngine_find(SoMFEngine self, SoEngine value) -> int\n" - ""}, - { (char *)"SoMFEngine_setValues", _wrap_SoMFEngine_setValues, METH_VARARGS, (char *)"SoMFEngine_setValues(SoMFEngine self, int start, int num, SoEngine newvals)"}, - { (char *)"SoMFEngine_set1Value", _wrap_SoMFEngine_set1Value, METH_VARARGS, (char *)"SoMFEngine_set1Value(SoMFEngine self, int idx, SoEngine value)"}, - { (char *)"SoMFEngine___eq__", _wrap_SoMFEngine___eq__, METH_VARARGS, (char *)"SoMFEngine___eq__(SoMFEngine self, SoMFEngine field) -> SbBool"}, - { (char *)"SoMFEngine___ne__", _wrap_SoMFEngine___ne__, METH_VARARGS, (char *)"SoMFEngine___ne__(SoMFEngine self, SoMFEngine field) -> SbBool"}, - { (char *)"SoMFEngine_startEditing", _wrap_SoMFEngine_startEditing, METH_VARARGS, (char *)"SoMFEngine_startEditing(SoMFEngine self) -> SoEngine"}, - { (char *)"SoMFEngine_finishEditing", _wrap_SoMFEngine_finishEditing, METH_VARARGS, (char *)"SoMFEngine_finishEditing(SoMFEngine self)"}, - { (char *)"SoMFEngine_initClass", _wrap_SoMFEngine_initClass, METH_VARARGS, (char *)"SoMFEngine_initClass()"}, - { (char *)"SoMFEngine_fixCopy", _wrap_SoMFEngine_fixCopy, METH_VARARGS, (char *)"SoMFEngine_fixCopy(SoMFEngine self, SbBool copyconnections)"}, - { (char *)"SoMFEngine_referencesCopy", _wrap_SoMFEngine_referencesCopy, METH_VARARGS, (char *)"SoMFEngine_referencesCopy(SoMFEngine self) -> SbBool"}, - { (char *)"SoMFEngine_deleteValues", _wrap_SoMFEngine_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFEngine_deleteValues(SoMFEngine self, int start)\n" - ""}, - { (char *)"SoMFEngine_insertSpace", _wrap_SoMFEngine_insertSpace, METH_VARARGS, (char *)"SoMFEngine_insertSpace(SoMFEngine self, int start, int num)"}, - { (char *)"SoMFEngine___getitem__", _wrap_SoMFEngine___getitem__, METH_VARARGS, (char *)"SoMFEngine___getitem__(SoMFEngine self, int i) -> SoEngine"}, - { (char *)"SoMFEngine___setitem__", _wrap_SoMFEngine___setitem__, METH_VARARGS, (char *)"SoMFEngine___setitem__(SoMFEngine self, int i, SoEngine value)"}, - { (char *)"SoMFEngine_setValue", _wrap_SoMFEngine_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoEngine value)\n" - "SoMFEngine_setValue(SoMFEngine self, SoMFEngine other)\n" - ""}, - { (char *)"SoMFEngine_getValues", _wrap_SoMFEngine_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoEngine\n" - "SoMFEngine_getValues(SoMFEngine self, int len) -> SoEngine\n" - ""}, - { (char *)"SoMFEngine_swigregister", SoMFEngine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFBitMask", _wrap_new_SoMFBitMask, METH_VARARGS, (char *)"new_SoMFBitMask() -> SoMFBitMask"}, - { (char *)"delete_SoMFBitMask", _wrap_delete_SoMFBitMask, METH_VARARGS, (char *)"delete_SoMFBitMask(SoMFBitMask self)"}, - { (char *)"SoMFBitMask_createInstance", _wrap_SoMFBitMask_createInstance, METH_VARARGS, (char *)"SoMFBitMask_createInstance() -> void"}, - { (char *)"SoMFBitMask_getClassTypeId", _wrap_SoMFBitMask_getClassTypeId, METH_VARARGS, (char *)"SoMFBitMask_getClassTypeId() -> SoType"}, - { (char *)"SoMFBitMask_getTypeId", _wrap_SoMFBitMask_getTypeId, METH_VARARGS, (char *)"SoMFBitMask_getTypeId(SoMFBitMask self) -> SoType"}, - { (char *)"SoMFBitMask_copyFrom", _wrap_SoMFBitMask_copyFrom, METH_VARARGS, (char *)"SoMFBitMask_copyFrom(SoMFBitMask self, SoField field)"}, - { (char *)"SoMFBitMask_isSame", _wrap_SoMFBitMask_isSame, METH_VARARGS, (char *)"SoMFBitMask_isSame(SoMFBitMask self, SoField field) -> SbBool"}, - { (char *)"SoMFBitMask_initClass", _wrap_SoMFBitMask_initClass, METH_VARARGS, (char *)"SoMFBitMask_initClass()"}, - { (char *)"SoMFBitMask_swigregister", SoMFBitMask_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFInt32", _wrap_new_SoMFInt32, METH_VARARGS, (char *)"new_SoMFInt32() -> SoMFInt32"}, - { (char *)"delete_SoMFInt32", _wrap_delete_SoMFInt32, METH_VARARGS, (char *)"delete_SoMFInt32(SoMFInt32 self)"}, - { (char *)"SoMFInt32_createInstance", _wrap_SoMFInt32_createInstance, METH_VARARGS, (char *)"SoMFInt32_createInstance() -> void"}, - { (char *)"SoMFInt32_getClassTypeId", _wrap_SoMFInt32_getClassTypeId, METH_VARARGS, (char *)"SoMFInt32_getClassTypeId() -> SoType"}, - { (char *)"SoMFInt32_getTypeId", _wrap_SoMFInt32_getTypeId, METH_VARARGS, (char *)"SoMFInt32_getTypeId(SoMFInt32 self) -> SoType"}, - { (char *)"SoMFInt32_copyFrom", _wrap_SoMFInt32_copyFrom, METH_VARARGS, (char *)"SoMFInt32_copyFrom(SoMFInt32 self, SoField field)"}, - { (char *)"SoMFInt32_isSame", _wrap_SoMFInt32_isSame, METH_VARARGS, (char *)"SoMFInt32_isSame(SoMFInt32 self, SoField field) -> SbBool"}, - { (char *)"SoMFInt32_find", _wrap_SoMFInt32_find, METH_VARARGS, (char *)"\n" - "find(int32_t value, SbBool addifnotfound=0) -> int\n" - "SoMFInt32_find(SoMFInt32 self, int32_t value) -> int\n" - ""}, - { (char *)"SoMFInt32_setValues", _wrap_SoMFInt32_setValues, METH_VARARGS, (char *)"SoMFInt32_setValues(SoMFInt32 self, int start, int num, int32_t newvals)"}, - { (char *)"SoMFInt32_set1Value", _wrap_SoMFInt32_set1Value, METH_VARARGS, (char *)"SoMFInt32_set1Value(SoMFInt32 self, int idx, int32_t value)"}, - { (char *)"SoMFInt32___eq__", _wrap_SoMFInt32___eq__, METH_VARARGS, (char *)"SoMFInt32___eq__(SoMFInt32 self, SoMFInt32 field) -> SbBool"}, - { (char *)"SoMFInt32___ne__", _wrap_SoMFInt32___ne__, METH_VARARGS, (char *)"SoMFInt32___ne__(SoMFInt32 self, SoMFInt32 field) -> SbBool"}, - { (char *)"SoMFInt32_startEditing", _wrap_SoMFInt32_startEditing, METH_VARARGS, (char *)"SoMFInt32_startEditing(SoMFInt32 self) -> int32_t"}, - { (char *)"SoMFInt32_finishEditing", _wrap_SoMFInt32_finishEditing, METH_VARARGS, (char *)"SoMFInt32_finishEditing(SoMFInt32 self)"}, - { (char *)"SoMFInt32_setValuesPointer", _wrap_SoMFInt32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, int32_t userdata)\n" - "SoMFInt32_setValuesPointer(SoMFInt32 self, int num, int32_t userdata)\n" - ""}, - { (char *)"SoMFInt32_initClass", _wrap_SoMFInt32_initClass, METH_VARARGS, (char *)"SoMFInt32_initClass()"}, - { (char *)"SoMFInt32___getitem__", _wrap_SoMFInt32___getitem__, METH_VARARGS, (char *)"SoMFInt32___getitem__(SoMFInt32 self, int i) -> int32_t"}, - { (char *)"SoMFInt32___setitem__", _wrap_SoMFInt32___setitem__, METH_VARARGS, (char *)"SoMFInt32___setitem__(SoMFInt32 self, int i, int32_t value)"}, - { (char *)"SoMFInt32_setValue", _wrap_SoMFInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(int32_t value)\n" - "SoMFInt32_setValue(SoMFInt32 self, SoMFInt32 other)\n" - ""}, - { (char *)"SoMFInt32_getValues", _wrap_SoMFInt32_getValues, METH_VARARGS, (char *)"\n" - "getValues(int32_t len, int32_t i=0) -> int32_t\n" - "SoMFInt32_getValues(SoMFInt32 self, int32_t len) -> int32_t\n" - ""}, - { (char *)"SoMFInt32_swigregister", SoMFInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFNode", _wrap_new_SoMFNode, METH_VARARGS, (char *)"new_SoMFNode() -> SoMFNode"}, - { (char *)"delete_SoMFNode", _wrap_delete_SoMFNode, METH_VARARGS, (char *)"delete_SoMFNode(SoMFNode self)"}, - { (char *)"SoMFNode_createInstance", _wrap_SoMFNode_createInstance, METH_VARARGS, (char *)"SoMFNode_createInstance() -> void"}, - { (char *)"SoMFNode_getClassTypeId", _wrap_SoMFNode_getClassTypeId, METH_VARARGS, (char *)"SoMFNode_getClassTypeId() -> SoType"}, - { (char *)"SoMFNode_getTypeId", _wrap_SoMFNode_getTypeId, METH_VARARGS, (char *)"SoMFNode_getTypeId(SoMFNode self) -> SoType"}, - { (char *)"SoMFNode_copyFrom", _wrap_SoMFNode_copyFrom, METH_VARARGS, (char *)"SoMFNode_copyFrom(SoMFNode self, SoField field)"}, - { (char *)"SoMFNode_isSame", _wrap_SoMFNode_isSame, METH_VARARGS, (char *)"SoMFNode_isSame(SoMFNode self, SoField field) -> SbBool"}, - { (char *)"SoMFNode_find", _wrap_SoMFNode_find, METH_VARARGS, (char *)"\n" - "find(SoNode value, SbBool addifnotfound=0) -> int\n" - "SoMFNode_find(SoMFNode self, SoNode value) -> int\n" - ""}, - { (char *)"SoMFNode_setValues", _wrap_SoMFNode_setValues, METH_VARARGS, (char *)"SoMFNode_setValues(SoMFNode self, int start, int num, SoNode newvals)"}, - { (char *)"SoMFNode_set1Value", _wrap_SoMFNode_set1Value, METH_VARARGS, (char *)"SoMFNode_set1Value(SoMFNode self, int idx, SoNode value)"}, - { (char *)"SoMFNode___eq__", _wrap_SoMFNode___eq__, METH_VARARGS, (char *)"SoMFNode___eq__(SoMFNode self, SoMFNode field) -> SbBool"}, - { (char *)"SoMFNode___ne__", _wrap_SoMFNode___ne__, METH_VARARGS, (char *)"SoMFNode___ne__(SoMFNode self, SoMFNode field) -> SbBool"}, - { (char *)"SoMFNode_startEditing", _wrap_SoMFNode_startEditing, METH_VARARGS, (char *)"SoMFNode_startEditing(SoMFNode self) -> SoNode"}, - { (char *)"SoMFNode_finishEditing", _wrap_SoMFNode_finishEditing, METH_VARARGS, (char *)"SoMFNode_finishEditing(SoMFNode self)"}, - { (char *)"SoMFNode_initClass", _wrap_SoMFNode_initClass, METH_VARARGS, (char *)"SoMFNode_initClass()"}, - { (char *)"SoMFNode_fixCopy", _wrap_SoMFNode_fixCopy, METH_VARARGS, (char *)"SoMFNode_fixCopy(SoMFNode self, SbBool copyconnections)"}, - { (char *)"SoMFNode_referencesCopy", _wrap_SoMFNode_referencesCopy, METH_VARARGS, (char *)"SoMFNode_referencesCopy(SoMFNode self) -> SbBool"}, - { (char *)"SoMFNode_addNode", _wrap_SoMFNode_addNode, METH_VARARGS, (char *)"SoMFNode_addNode(SoMFNode self, SoNode node)"}, - { (char *)"SoMFNode_insertNode", _wrap_SoMFNode_insertNode, METH_VARARGS, (char *)"SoMFNode_insertNode(SoMFNode self, SoNode node, int idx)"}, - { (char *)"SoMFNode_getNode", _wrap_SoMFNode_getNode, METH_VARARGS, (char *)"SoMFNode_getNode(SoMFNode self, int idx) -> SoNode"}, - { (char *)"SoMFNode_findNode", _wrap_SoMFNode_findNode, METH_VARARGS, (char *)"SoMFNode_findNode(SoMFNode self, SoNode node) -> int"}, - { (char *)"SoMFNode_getNumNodes", _wrap_SoMFNode_getNumNodes, METH_VARARGS, (char *)"SoMFNode_getNumNodes(SoMFNode self) -> int"}, - { (char *)"SoMFNode_removeNode", _wrap_SoMFNode_removeNode, METH_VARARGS, (char *)"\n" - "removeNode(int index)\n" - "SoMFNode_removeNode(SoMFNode self, SoNode node)\n" - ""}, - { (char *)"SoMFNode_removeAllNodes", _wrap_SoMFNode_removeAllNodes, METH_VARARGS, (char *)"SoMFNode_removeAllNodes(SoMFNode self)"}, - { (char *)"SoMFNode_replaceNode", _wrap_SoMFNode_replaceNode, METH_VARARGS, (char *)"\n" - "replaceNode(int idx, SoNode newnode)\n" - "SoMFNode_replaceNode(SoMFNode self, SoNode oldnode, SoNode newnode)\n" - ""}, - { (char *)"SoMFNode_deleteValues", _wrap_SoMFNode_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFNode_deleteValues(SoMFNode self, int start)\n" - ""}, - { (char *)"SoMFNode_insertSpace", _wrap_SoMFNode_insertSpace, METH_VARARGS, (char *)"SoMFNode_insertSpace(SoMFNode self, int start, int num)"}, - { (char *)"SoMFNode___getitem__", _wrap_SoMFNode___getitem__, METH_VARARGS, (char *)"SoMFNode___getitem__(SoMFNode self, int i) -> SoNode"}, - { (char *)"SoMFNode___setitem__", _wrap_SoMFNode___setitem__, METH_VARARGS, (char *)"SoMFNode___setitem__(SoMFNode self, int i, SoNode value)"}, - { (char *)"SoMFNode_setValue", _wrap_SoMFNode_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoNode value)\n" - "SoMFNode_setValue(SoMFNode self, SoMFNode other)\n" - ""}, - { (char *)"SoMFNode_getValues", _wrap_SoMFNode_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoNode\n" - "SoMFNode_getValues(SoMFNode self, int len) -> SoNode\n" - ""}, - { (char *)"SoMFNode_swigregister", SoMFNode_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFPath", _wrap_new_SoMFPath, METH_VARARGS, (char *)"new_SoMFPath() -> SoMFPath"}, - { (char *)"delete_SoMFPath", _wrap_delete_SoMFPath, METH_VARARGS, (char *)"delete_SoMFPath(SoMFPath self)"}, - { (char *)"SoMFPath_createInstance", _wrap_SoMFPath_createInstance, METH_VARARGS, (char *)"SoMFPath_createInstance() -> void"}, - { (char *)"SoMFPath_getClassTypeId", _wrap_SoMFPath_getClassTypeId, METH_VARARGS, (char *)"SoMFPath_getClassTypeId() -> SoType"}, - { (char *)"SoMFPath_getTypeId", _wrap_SoMFPath_getTypeId, METH_VARARGS, (char *)"SoMFPath_getTypeId(SoMFPath self) -> SoType"}, - { (char *)"SoMFPath_copyFrom", _wrap_SoMFPath_copyFrom, METH_VARARGS, (char *)"SoMFPath_copyFrom(SoMFPath self, SoField field)"}, - { (char *)"SoMFPath_isSame", _wrap_SoMFPath_isSame, METH_VARARGS, (char *)"SoMFPath_isSame(SoMFPath self, SoField field) -> SbBool"}, - { (char *)"SoMFPath_find", _wrap_SoMFPath_find, METH_VARARGS, (char *)"\n" - "find(SoPath value, SbBool addifnotfound=0) -> int\n" - "SoMFPath_find(SoMFPath self, SoPath value) -> int\n" - ""}, - { (char *)"SoMFPath_setValues", _wrap_SoMFPath_setValues, METH_VARARGS, (char *)"SoMFPath_setValues(SoMFPath self, int start, int num, SoPath newvals)"}, - { (char *)"SoMFPath_set1Value", _wrap_SoMFPath_set1Value, METH_VARARGS, (char *)"SoMFPath_set1Value(SoMFPath self, int idx, SoPath value)"}, - { (char *)"SoMFPath___eq__", _wrap_SoMFPath___eq__, METH_VARARGS, (char *)"SoMFPath___eq__(SoMFPath self, SoMFPath field) -> SbBool"}, - { (char *)"SoMFPath___ne__", _wrap_SoMFPath___ne__, METH_VARARGS, (char *)"SoMFPath___ne__(SoMFPath self, SoMFPath field) -> SbBool"}, - { (char *)"SoMFPath_startEditing", _wrap_SoMFPath_startEditing, METH_VARARGS, (char *)"SoMFPath_startEditing(SoMFPath self) -> SoPath"}, - { (char *)"SoMFPath_finishEditing", _wrap_SoMFPath_finishEditing, METH_VARARGS, (char *)"SoMFPath_finishEditing(SoMFPath self)"}, - { (char *)"SoMFPath_initClass", _wrap_SoMFPath_initClass, METH_VARARGS, (char *)"SoMFPath_initClass()"}, - { (char *)"SoMFPath_notify", _wrap_SoMFPath_notify, METH_VARARGS, (char *)"SoMFPath_notify(SoMFPath self, SoNotList l)"}, - { (char *)"SoMFPath_fixCopy", _wrap_SoMFPath_fixCopy, METH_VARARGS, (char *)"SoMFPath_fixCopy(SoMFPath self, SbBool copyconnections)"}, - { (char *)"SoMFPath_referencesCopy", _wrap_SoMFPath_referencesCopy, METH_VARARGS, (char *)"SoMFPath_referencesCopy(SoMFPath self) -> SbBool"}, - { (char *)"SoMFPath_deleteValues", _wrap_SoMFPath_deleteValues, METH_VARARGS, (char *)"\n" - "deleteValues(int start, int num=-1)\n" - "SoMFPath_deleteValues(SoMFPath self, int start)\n" - ""}, - { (char *)"SoMFPath_insertSpace", _wrap_SoMFPath_insertSpace, METH_VARARGS, (char *)"SoMFPath_insertSpace(SoMFPath self, int start, int num)"}, - { (char *)"SoMFPath___getitem__", _wrap_SoMFPath___getitem__, METH_VARARGS, (char *)"SoMFPath___getitem__(SoMFPath self, int i) -> SoPath"}, - { (char *)"SoMFPath___setitem__", _wrap_SoMFPath___setitem__, METH_VARARGS, (char *)"SoMFPath___setitem__(SoMFPath self, int i, SoPath value)"}, - { (char *)"SoMFPath_setValue", _wrap_SoMFPath_setValue, METH_VARARGS, (char *)"\n" - "setValue(SoPath value)\n" - "SoMFPath_setValue(SoMFPath self, SoMFPath other)\n" - ""}, - { (char *)"SoMFPath_getValues", _wrap_SoMFPath_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SoPath\n" - "SoMFPath_getValues(SoMFPath self, int len) -> SoPath\n" - ""}, - { (char *)"SoMFPath_swigregister", SoMFPath_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFPlane", _wrap_new_SoMFPlane, METH_VARARGS, (char *)"new_SoMFPlane() -> SoMFPlane"}, - { (char *)"delete_SoMFPlane", _wrap_delete_SoMFPlane, METH_VARARGS, (char *)"delete_SoMFPlane(SoMFPlane self)"}, - { (char *)"SoMFPlane_createInstance", _wrap_SoMFPlane_createInstance, METH_VARARGS, (char *)"SoMFPlane_createInstance() -> void"}, - { (char *)"SoMFPlane_getClassTypeId", _wrap_SoMFPlane_getClassTypeId, METH_VARARGS, (char *)"SoMFPlane_getClassTypeId() -> SoType"}, - { (char *)"SoMFPlane_getTypeId", _wrap_SoMFPlane_getTypeId, METH_VARARGS, (char *)"SoMFPlane_getTypeId(SoMFPlane self) -> SoType"}, - { (char *)"SoMFPlane_copyFrom", _wrap_SoMFPlane_copyFrom, METH_VARARGS, (char *)"SoMFPlane_copyFrom(SoMFPlane self, SoField field)"}, - { (char *)"SoMFPlane_isSame", _wrap_SoMFPlane_isSame, METH_VARARGS, (char *)"SoMFPlane_isSame(SoMFPlane self, SoField field) -> SbBool"}, - { (char *)"SoMFPlane_find", _wrap_SoMFPlane_find, METH_VARARGS, (char *)"\n" - "find(SbPlane value, SbBool addifnotfound=0) -> int\n" - "SoMFPlane_find(SoMFPlane self, SbPlane value) -> int\n" - ""}, - { (char *)"SoMFPlane_setValues", _wrap_SoMFPlane_setValues, METH_VARARGS, (char *)"SoMFPlane_setValues(SoMFPlane self, int start, int num, SbPlane newvals)"}, - { (char *)"SoMFPlane_set1Value", _wrap_SoMFPlane_set1Value, METH_VARARGS, (char *)"SoMFPlane_set1Value(SoMFPlane self, int idx, SbPlane value)"}, - { (char *)"SoMFPlane___eq__", _wrap_SoMFPlane___eq__, METH_VARARGS, (char *)"SoMFPlane___eq__(SoMFPlane self, SoMFPlane field) -> SbBool"}, - { (char *)"SoMFPlane___ne__", _wrap_SoMFPlane___ne__, METH_VARARGS, (char *)"SoMFPlane___ne__(SoMFPlane self, SoMFPlane field) -> SbBool"}, - { (char *)"SoMFPlane_startEditing", _wrap_SoMFPlane_startEditing, METH_VARARGS, (char *)"SoMFPlane_startEditing(SoMFPlane self) -> SbPlane"}, - { (char *)"SoMFPlane_finishEditing", _wrap_SoMFPlane_finishEditing, METH_VARARGS, (char *)"SoMFPlane_finishEditing(SoMFPlane self)"}, - { (char *)"SoMFPlane_initClass", _wrap_SoMFPlane_initClass, METH_VARARGS, (char *)"SoMFPlane_initClass()"}, - { (char *)"SoMFPlane___getitem__", _wrap_SoMFPlane___getitem__, METH_VARARGS, (char *)"SoMFPlane___getitem__(SoMFPlane self, int i) -> SbPlane"}, - { (char *)"SoMFPlane___setitem__", _wrap_SoMFPlane___setitem__, METH_VARARGS, (char *)"SoMFPlane___setitem__(SoMFPlane self, int i, SbPlane value)"}, - { (char *)"SoMFPlane_getValues", _wrap_SoMFPlane_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbPlane\n" - "SoMFPlane_getValues(SoMFPlane self, int len) -> SbPlane\n" - ""}, - { (char *)"SoMFPlane_setValue", _wrap_SoMFPlane_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbPlane value)\n" - "SoMFPlane_setValue(SoMFPlane self, SoMFPlane other)\n" - ""}, - { (char *)"SoMFPlane_swigregister", SoMFPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFShort", _wrap_new_SoMFShort, METH_VARARGS, (char *)"new_SoMFShort() -> SoMFShort"}, - { (char *)"delete_SoMFShort", _wrap_delete_SoMFShort, METH_VARARGS, (char *)"delete_SoMFShort(SoMFShort self)"}, - { (char *)"SoMFShort_createInstance", _wrap_SoMFShort_createInstance, METH_VARARGS, (char *)"SoMFShort_createInstance() -> void"}, - { (char *)"SoMFShort_getClassTypeId", _wrap_SoMFShort_getClassTypeId, METH_VARARGS, (char *)"SoMFShort_getClassTypeId() -> SoType"}, - { (char *)"SoMFShort_getTypeId", _wrap_SoMFShort_getTypeId, METH_VARARGS, (char *)"SoMFShort_getTypeId(SoMFShort self) -> SoType"}, - { (char *)"SoMFShort_copyFrom", _wrap_SoMFShort_copyFrom, METH_VARARGS, (char *)"SoMFShort_copyFrom(SoMFShort self, SoField field)"}, - { (char *)"SoMFShort_isSame", _wrap_SoMFShort_isSame, METH_VARARGS, (char *)"SoMFShort_isSame(SoMFShort self, SoField field) -> SbBool"}, - { (char *)"SoMFShort_find", _wrap_SoMFShort_find, METH_VARARGS, (char *)"\n" - "find(short value, SbBool addifnotfound=0) -> int\n" - "SoMFShort_find(SoMFShort self, short value) -> int\n" - ""}, - { (char *)"SoMFShort_setValues", _wrap_SoMFShort_setValues, METH_VARARGS, (char *)"SoMFShort_setValues(SoMFShort self, int start, int num, short newvals)"}, - { (char *)"SoMFShort_set1Value", _wrap_SoMFShort_set1Value, METH_VARARGS, (char *)"SoMFShort_set1Value(SoMFShort self, int idx, short value)"}, - { (char *)"SoMFShort___eq__", _wrap_SoMFShort___eq__, METH_VARARGS, (char *)"SoMFShort___eq__(SoMFShort self, SoMFShort field) -> SbBool"}, - { (char *)"SoMFShort___ne__", _wrap_SoMFShort___ne__, METH_VARARGS, (char *)"SoMFShort___ne__(SoMFShort self, SoMFShort field) -> SbBool"}, - { (char *)"SoMFShort_startEditing", _wrap_SoMFShort_startEditing, METH_VARARGS, (char *)"SoMFShort_startEditing(SoMFShort self) -> short"}, - { (char *)"SoMFShort_finishEditing", _wrap_SoMFShort_finishEditing, METH_VARARGS, (char *)"SoMFShort_finishEditing(SoMFShort self)"}, - { (char *)"SoMFShort_setValuesPointer", _wrap_SoMFShort_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, short userdata)\n" - "SoMFShort_setValuesPointer(SoMFShort self, int num, short userdata)\n" - ""}, - { (char *)"SoMFShort_initClass", _wrap_SoMFShort_initClass, METH_VARARGS, (char *)"SoMFShort_initClass()"}, - { (char *)"SoMFShort___getitem__", _wrap_SoMFShort___getitem__, METH_VARARGS, (char *)"SoMFShort___getitem__(SoMFShort self, int i) -> short"}, - { (char *)"SoMFShort___setitem__", _wrap_SoMFShort___setitem__, METH_VARARGS, (char *)"SoMFShort___setitem__(SoMFShort self, int i, short value)"}, - { (char *)"SoMFShort_setValue", _wrap_SoMFShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(short value)\n" - "SoMFShort_setValue(SoMFShort self, SoMFShort other)\n" - ""}, - { (char *)"SoMFShort_getValues", _wrap_SoMFShort_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> short\n" - "SoMFShort_getValues(SoMFShort self, int len) -> short\n" - ""}, - { (char *)"SoMFShort_swigregister", SoMFShort_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFTime", _wrap_new_SoMFTime, METH_VARARGS, (char *)"new_SoMFTime() -> SoMFTime"}, - { (char *)"delete_SoMFTime", _wrap_delete_SoMFTime, METH_VARARGS, (char *)"delete_SoMFTime(SoMFTime self)"}, - { (char *)"SoMFTime_createInstance", _wrap_SoMFTime_createInstance, METH_VARARGS, (char *)"SoMFTime_createInstance() -> void"}, - { (char *)"SoMFTime_getClassTypeId", _wrap_SoMFTime_getClassTypeId, METH_VARARGS, (char *)"SoMFTime_getClassTypeId() -> SoType"}, - { (char *)"SoMFTime_getTypeId", _wrap_SoMFTime_getTypeId, METH_VARARGS, (char *)"SoMFTime_getTypeId(SoMFTime self) -> SoType"}, - { (char *)"SoMFTime_copyFrom", _wrap_SoMFTime_copyFrom, METH_VARARGS, (char *)"SoMFTime_copyFrom(SoMFTime self, SoField field)"}, - { (char *)"SoMFTime_isSame", _wrap_SoMFTime_isSame, METH_VARARGS, (char *)"SoMFTime_isSame(SoMFTime self, SoField field) -> SbBool"}, - { (char *)"SoMFTime_find", _wrap_SoMFTime_find, METH_VARARGS, (char *)"\n" - "find(SbTime value, SbBool addifnotfound=0) -> int\n" - "SoMFTime_find(SoMFTime self, SbTime value) -> int\n" - ""}, - { (char *)"SoMFTime_setValues", _wrap_SoMFTime_setValues, METH_VARARGS, (char *)"SoMFTime_setValues(SoMFTime self, int start, int num, SbTime newvals)"}, - { (char *)"SoMFTime_set1Value", _wrap_SoMFTime_set1Value, METH_VARARGS, (char *)"SoMFTime_set1Value(SoMFTime self, int idx, SbTime value)"}, - { (char *)"SoMFTime___eq__", _wrap_SoMFTime___eq__, METH_VARARGS, (char *)"SoMFTime___eq__(SoMFTime self, SoMFTime field) -> SbBool"}, - { (char *)"SoMFTime___ne__", _wrap_SoMFTime___ne__, METH_VARARGS, (char *)"SoMFTime___ne__(SoMFTime self, SoMFTime field) -> SbBool"}, - { (char *)"SoMFTime_startEditing", _wrap_SoMFTime_startEditing, METH_VARARGS, (char *)"SoMFTime_startEditing(SoMFTime self) -> SbTime"}, - { (char *)"SoMFTime_finishEditing", _wrap_SoMFTime_finishEditing, METH_VARARGS, (char *)"SoMFTime_finishEditing(SoMFTime self)"}, - { (char *)"SoMFTime_initClass", _wrap_SoMFTime_initClass, METH_VARARGS, (char *)"SoMFTime_initClass()"}, - { (char *)"SoMFTime___getitem__", _wrap_SoMFTime___getitem__, METH_VARARGS, (char *)"SoMFTime___getitem__(SoMFTime self, int i) -> SbTime"}, - { (char *)"SoMFTime___setitem__", _wrap_SoMFTime___setitem__, METH_VARARGS, (char *)"SoMFTime___setitem__(SoMFTime self, int i, SbTime value)"}, - { (char *)"SoMFTime_getValues", _wrap_SoMFTime_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbTime\n" - "SoMFTime_getValues(SoMFTime self, int len) -> SbTime\n" - ""}, - { (char *)"SoMFTime_setValue", _wrap_SoMFTime_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbTime value)\n" - "SoMFTime_setValue(SoMFTime self, SoMFTime other)\n" - ""}, - { (char *)"SoMFTime_swigregister", SoMFTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFUInt32", _wrap_new_SoMFUInt32, METH_VARARGS, (char *)"new_SoMFUInt32() -> SoMFUInt32"}, - { (char *)"delete_SoMFUInt32", _wrap_delete_SoMFUInt32, METH_VARARGS, (char *)"delete_SoMFUInt32(SoMFUInt32 self)"}, - { (char *)"SoMFUInt32_createInstance", _wrap_SoMFUInt32_createInstance, METH_VARARGS, (char *)"SoMFUInt32_createInstance() -> void"}, - { (char *)"SoMFUInt32_getClassTypeId", _wrap_SoMFUInt32_getClassTypeId, METH_VARARGS, (char *)"SoMFUInt32_getClassTypeId() -> SoType"}, - { (char *)"SoMFUInt32_getTypeId", _wrap_SoMFUInt32_getTypeId, METH_VARARGS, (char *)"SoMFUInt32_getTypeId(SoMFUInt32 self) -> SoType"}, - { (char *)"SoMFUInt32_copyFrom", _wrap_SoMFUInt32_copyFrom, METH_VARARGS, (char *)"SoMFUInt32_copyFrom(SoMFUInt32 self, SoField field)"}, - { (char *)"SoMFUInt32_isSame", _wrap_SoMFUInt32_isSame, METH_VARARGS, (char *)"SoMFUInt32_isSame(SoMFUInt32 self, SoField field) -> SbBool"}, - { (char *)"SoMFUInt32_find", _wrap_SoMFUInt32_find, METH_VARARGS, (char *)"\n" - "find(uint32_t value, SbBool addifnotfound=0) -> int\n" - "SoMFUInt32_find(SoMFUInt32 self, uint32_t value) -> int\n" - ""}, - { (char *)"SoMFUInt32_setValues", _wrap_SoMFUInt32_setValues, METH_VARARGS, (char *)"SoMFUInt32_setValues(SoMFUInt32 self, int start, int num, uint32_t newvals)"}, - { (char *)"SoMFUInt32_set1Value", _wrap_SoMFUInt32_set1Value, METH_VARARGS, (char *)"SoMFUInt32_set1Value(SoMFUInt32 self, int idx, uint32_t value)"}, - { (char *)"SoMFUInt32___eq__", _wrap_SoMFUInt32___eq__, METH_VARARGS, (char *)"SoMFUInt32___eq__(SoMFUInt32 self, SoMFUInt32 field) -> SbBool"}, - { (char *)"SoMFUInt32___ne__", _wrap_SoMFUInt32___ne__, METH_VARARGS, (char *)"SoMFUInt32___ne__(SoMFUInt32 self, SoMFUInt32 field) -> SbBool"}, - { (char *)"SoMFUInt32_startEditing", _wrap_SoMFUInt32_startEditing, METH_VARARGS, (char *)"SoMFUInt32_startEditing(SoMFUInt32 self) -> uint32_t"}, - { (char *)"SoMFUInt32_finishEditing", _wrap_SoMFUInt32_finishEditing, METH_VARARGS, (char *)"SoMFUInt32_finishEditing(SoMFUInt32 self)"}, - { (char *)"SoMFUInt32_setValuesPointer", _wrap_SoMFUInt32_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, uint32_t userdata)\n" - "SoMFUInt32_setValuesPointer(SoMFUInt32 self, int num, uint32_t userdata)\n" - ""}, - { (char *)"SoMFUInt32_initClass", _wrap_SoMFUInt32_initClass, METH_VARARGS, (char *)"SoMFUInt32_initClass()"}, - { (char *)"SoMFUInt32___getitem__", _wrap_SoMFUInt32___getitem__, METH_VARARGS, (char *)"SoMFUInt32___getitem__(SoMFUInt32 self, int i) -> uint32_t"}, - { (char *)"SoMFUInt32___setitem__", _wrap_SoMFUInt32___setitem__, METH_VARARGS, (char *)"SoMFUInt32___setitem__(SoMFUInt32 self, int i, uint32_t value)"}, - { (char *)"SoMFUInt32_setValue", _wrap_SoMFUInt32_setValue, METH_VARARGS, (char *)"\n" - "setValue(uint32_t value)\n" - "SoMFUInt32_setValue(SoMFUInt32 self, SoMFUInt32 other)\n" - ""}, - { (char *)"SoMFUInt32_getValues", _wrap_SoMFUInt32_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> uint32_t\n" - "SoMFUInt32_getValues(SoMFUInt32 self, int len) -> uint32_t\n" - ""}, - { (char *)"SoMFUInt32_swigregister", SoMFUInt32_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFUShort", _wrap_new_SoMFUShort, METH_VARARGS, (char *)"new_SoMFUShort() -> SoMFUShort"}, - { (char *)"delete_SoMFUShort", _wrap_delete_SoMFUShort, METH_VARARGS, (char *)"delete_SoMFUShort(SoMFUShort self)"}, - { (char *)"SoMFUShort_createInstance", _wrap_SoMFUShort_createInstance, METH_VARARGS, (char *)"SoMFUShort_createInstance() -> void"}, - { (char *)"SoMFUShort_getClassTypeId", _wrap_SoMFUShort_getClassTypeId, METH_VARARGS, (char *)"SoMFUShort_getClassTypeId() -> SoType"}, - { (char *)"SoMFUShort_getTypeId", _wrap_SoMFUShort_getTypeId, METH_VARARGS, (char *)"SoMFUShort_getTypeId(SoMFUShort self) -> SoType"}, - { (char *)"SoMFUShort_copyFrom", _wrap_SoMFUShort_copyFrom, METH_VARARGS, (char *)"SoMFUShort_copyFrom(SoMFUShort self, SoField field)"}, - { (char *)"SoMFUShort_isSame", _wrap_SoMFUShort_isSame, METH_VARARGS, (char *)"SoMFUShort_isSame(SoMFUShort self, SoField field) -> SbBool"}, - { (char *)"SoMFUShort_find", _wrap_SoMFUShort_find, METH_VARARGS, (char *)"\n" - "find(unsigned short value, SbBool addifnotfound=0) -> int\n" - "SoMFUShort_find(SoMFUShort self, unsigned short value) -> int\n" - ""}, - { (char *)"SoMFUShort_setValues", _wrap_SoMFUShort_setValues, METH_VARARGS, (char *)"SoMFUShort_setValues(SoMFUShort self, int start, int num, unsigned short newvals)"}, - { (char *)"SoMFUShort_set1Value", _wrap_SoMFUShort_set1Value, METH_VARARGS, (char *)"SoMFUShort_set1Value(SoMFUShort self, int idx, unsigned short value)"}, - { (char *)"SoMFUShort___eq__", _wrap_SoMFUShort___eq__, METH_VARARGS, (char *)"SoMFUShort___eq__(SoMFUShort self, SoMFUShort field) -> SbBool"}, - { (char *)"SoMFUShort___ne__", _wrap_SoMFUShort___ne__, METH_VARARGS, (char *)"SoMFUShort___ne__(SoMFUShort self, SoMFUShort field) -> SbBool"}, - { (char *)"SoMFUShort_startEditing", _wrap_SoMFUShort_startEditing, METH_VARARGS, (char *)"SoMFUShort_startEditing(SoMFUShort self) -> unsigned short"}, - { (char *)"SoMFUShort_finishEditing", _wrap_SoMFUShort_finishEditing, METH_VARARGS, (char *)"SoMFUShort_finishEditing(SoMFUShort self)"}, - { (char *)"SoMFUShort_setValuesPointer", _wrap_SoMFUShort_setValuesPointer, METH_VARARGS, (char *)"\n" - "setValuesPointer(int num, unsigned short userdata)\n" - "SoMFUShort_setValuesPointer(SoMFUShort self, int num, unsigned short userdata)\n" - ""}, - { (char *)"SoMFUShort_initClass", _wrap_SoMFUShort_initClass, METH_VARARGS, (char *)"SoMFUShort_initClass()"}, - { (char *)"SoMFUShort___getitem__", _wrap_SoMFUShort___getitem__, METH_VARARGS, (char *)"SoMFUShort___getitem__(SoMFUShort self, int i) -> short"}, - { (char *)"SoMFUShort___setitem__", _wrap_SoMFUShort___setitem__, METH_VARARGS, (char *)"SoMFUShort___setitem__(SoMFUShort self, int i, short value)"}, - { (char *)"SoMFUShort_setValue", _wrap_SoMFUShort_setValue, METH_VARARGS, (char *)"\n" - "setValue(unsigned short value)\n" - "SoMFUShort_setValue(SoMFUShort self, SoMFUShort other)\n" - ""}, - { (char *)"SoMFUShort_getValues", _wrap_SoMFUShort_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> unsigned short\n" - "SoMFUShort_getValues(SoMFUShort self, int len) -> unsigned short\n" - ""}, - { (char *)"SoMFUShort_swigregister", SoMFUShort_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoMFVec3d", _wrap_new_SoMFVec3d, METH_VARARGS, (char *)"new_SoMFVec3d() -> SoMFVec3d"}, - { (char *)"delete_SoMFVec3d", _wrap_delete_SoMFVec3d, METH_VARARGS, (char *)"delete_SoMFVec3d(SoMFVec3d self)"}, - { (char *)"SoMFVec3d_createInstance", _wrap_SoMFVec3d_createInstance, METH_VARARGS, (char *)"SoMFVec3d_createInstance() -> void"}, - { (char *)"SoMFVec3d_getClassTypeId", _wrap_SoMFVec3d_getClassTypeId, METH_VARARGS, (char *)"SoMFVec3d_getClassTypeId() -> SoType"}, - { (char *)"SoMFVec3d_getTypeId", _wrap_SoMFVec3d_getTypeId, METH_VARARGS, (char *)"SoMFVec3d_getTypeId(SoMFVec3d self) -> SoType"}, - { (char *)"SoMFVec3d_copyFrom", _wrap_SoMFVec3d_copyFrom, METH_VARARGS, (char *)"SoMFVec3d_copyFrom(SoMFVec3d self, SoField field)"}, - { (char *)"SoMFVec3d_isSame", _wrap_SoMFVec3d_isSame, METH_VARARGS, (char *)"SoMFVec3d_isSame(SoMFVec3d self, SoField field) -> SbBool"}, - { (char *)"SoMFVec3d_find", _wrap_SoMFVec3d_find, METH_VARARGS, (char *)"\n" - "find(SbVec3d value, SbBool addifnotfound=0) -> int\n" - "SoMFVec3d_find(SoMFVec3d self, SbVec3d value) -> int\n" - ""}, - { (char *)"SoMFVec3d___eq__", _wrap_SoMFVec3d___eq__, METH_VARARGS, (char *)"SoMFVec3d___eq__(SoMFVec3d self, SoMFVec3d field) -> SbBool"}, - { (char *)"SoMFVec3d___ne__", _wrap_SoMFVec3d___ne__, METH_VARARGS, (char *)"SoMFVec3d___ne__(SoMFVec3d self, SoMFVec3d field) -> SbBool"}, - { (char *)"SoMFVec3d_startEditing", _wrap_SoMFVec3d_startEditing, METH_VARARGS, (char *)"SoMFVec3d_startEditing(SoMFVec3d self) -> SbVec3d"}, - { (char *)"SoMFVec3d_finishEditing", _wrap_SoMFVec3d_finishEditing, METH_VARARGS, (char *)"SoMFVec3d_finishEditing(SoMFVec3d self)"}, - { (char *)"SoMFVec3d_initClass", _wrap_SoMFVec3d_initClass, METH_VARARGS, (char *)"SoMFVec3d_initClass()"}, - { (char *)"SoMFVec3d_setValues", _wrap_SoMFVec3d_setValues, METH_VARARGS, (char *)"\n" - "setValues(int start, int num, SbVec3d newvals)\n" - "SoMFVec3d_setValues(SoMFVec3d self, int start, int num, double xyz)\n" - ""}, - { (char *)"SoMFVec3d_set1Value", _wrap_SoMFVec3d_set1Value, METH_VARARGS, (char *)"\n" - "set1Value(int idx, SbVec3d value)\n" - "set1Value(int idx, double x, double y, double z)\n" - "SoMFVec3d_set1Value(SoMFVec3d self, int idx, double xyz)\n" - ""}, - { (char *)"SoMFVec3d___getitem__", _wrap_SoMFVec3d___getitem__, METH_VARARGS, (char *)"SoMFVec3d___getitem__(SoMFVec3d self, int i) -> SbVec3d"}, - { (char *)"SoMFVec3d___setitem__", _wrap_SoMFVec3d___setitem__, METH_VARARGS, (char *)"SoMFVec3d___setitem__(SoMFVec3d self, int i, SbVec3d value)"}, - { (char *)"SoMFVec3d_setValue", _wrap_SoMFVec3d_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec3d value)\n" - "setValue(double x, double y, double z)\n" - "setValue(double xyz)\n" - "SoMFVec3d_setValue(SoMFVec3d self, SoMFVec3d other)\n" - ""}, - { (char *)"SoMFVec3d_getValues", _wrap_SoMFVec3d_getValues, METH_VARARGS, (char *)"\n" - "getValues(int len, int i=0) -> SbVec3d\n" - "SoMFVec3d_getValues(SoMFVec3d self, int len) -> SbVec3d\n" - ""}, - { (char *)"SoMFVec3d_swigregister", SoMFVec3d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbStringList", _wrap_new_SbStringList, METH_VARARGS, (char *)"\n" - "SbStringList()\n" - "new_SbStringList(int sizehint) -> SbStringList\n" - ""}, - { (char *)"SbStringList_append", _wrap_SbStringList_append, METH_VARARGS, (char *)"SbStringList_append(SbStringList self, SbString string)"}, - { (char *)"SbStringList_find", _wrap_SbStringList_find, METH_VARARGS, (char *)"SbStringList_find(SbStringList self, SbString string) -> int"}, - { (char *)"SbStringList_insert", _wrap_SbStringList_insert, METH_VARARGS, (char *)"SbStringList_insert(SbStringList self, SbString string, int insertbefore)"}, - { (char *)"SbStringList_getArrayPtr", _wrap_SbStringList_getArrayPtr, METH_VARARGS, (char *)"SbStringList_getArrayPtr(SbStringList self) -> SbString"}, - { (char *)"SbStringList___setitem__", _wrap_SbStringList___setitem__, METH_VARARGS, (char *)"SbStringList___setitem__(SbStringList self, int i, SbString value)"}, - { (char *)"SbStringList___getitem__", _wrap_SbStringList___getitem__, METH_VARARGS, (char *)"SbStringList___getitem__(SbStringList self, int i) -> SbString"}, - { (char *)"SbStringList_get", _wrap_SbStringList_get, METH_VARARGS, (char *)"SbStringList_get(SbStringList self, int i) -> SbString"}, - { (char *)"delete_SbStringList", _wrap_delete_SbStringList, METH_VARARGS, (char *)"delete_SbStringList(SbStringList self)"}, - { (char *)"SbStringList_swigregister", SbStringList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec3fList", _wrap_new_SbVec3fList, METH_VARARGS, (char *)"new_SbVec3fList() -> SbVec3fList"}, - { (char *)"delete_SbVec3fList", _wrap_delete_SbVec3fList, METH_VARARGS, (char *)"delete_SbVec3fList(SbVec3fList self)"}, - { (char *)"SbVec3fList_append", _wrap_SbVec3fList_append, METH_VARARGS, (char *)"SbVec3fList_append(SbVec3fList self, SbVec3f item)"}, - { (char *)"SbVec3fList_insert", _wrap_SbVec3fList_insert, METH_VARARGS, (char *)"SbVec3fList_insert(SbVec3fList self, SbVec3f item, int insertbefore)"}, - { (char *)"SbVec3fList___setitem__", _wrap_SbVec3fList___setitem__, METH_VARARGS, (char *)"SbVec3fList___setitem__(SbVec3fList self, int i, SbVec3f value)"}, - { (char *)"SbVec3fList___getitem__", _wrap_SbVec3fList___getitem__, METH_VARARGS, (char *)"SbVec3fList___getitem__(SbVec3fList self, int i) -> SbVec3f"}, - { (char *)"SbVec3fList_get", _wrap_SbVec3fList_get, METH_VARARGS, (char *)"SbVec3fList_get(SbVec3fList self, int i) -> SbVec3f"}, - { (char *)"SbVec3fList_swigregister", SbVec3fList_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLockManager_SetUnlockString", _wrap_SoLockManager_SetUnlockString, METH_VARARGS, (char *)"SoLockManager_SetUnlockString(char unlockstr)"}, - { (char *)"SoLockManager_GetUnlockString", _wrap_SoLockManager_GetUnlockString, METH_VARARGS, (char *)"SoLockManager_GetUnlockString() -> char"}, - { (char *)"new_SoLockManager", _wrap_new_SoLockManager, METH_VARARGS, (char *)"new_SoLockManager() -> SoLockManager"}, - { (char *)"delete_SoLockManager", _wrap_delete_SoLockManager, METH_VARARGS, (char *)"delete_SoLockManager(SoLockManager self)"}, - { (char *)"SoLockManager_swigregister", SoLockManager_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransform_getClassTypeId", _wrap_SoTransform_getClassTypeId, METH_VARARGS, (char *)"SoTransform_getClassTypeId() -> SoType"}, - { (char *)"SoTransform_getTypeId", _wrap_SoTransform_getTypeId, METH_VARARGS, (char *)"SoTransform_getTypeId(SoTransform self) -> SoType"}, - { (char *)"SoTransform_initClass", _wrap_SoTransform_initClass, METH_VARARGS, (char *)"SoTransform_initClass()"}, - { (char *)"new_SoTransform", _wrap_new_SoTransform, METH_VARARGS, (char *)"new_SoTransform() -> SoTransform"}, - { (char *)"SoTransform_translation_set", _wrap_SoTransform_translation_set, METH_VARARGS, (char *)"SoTransform_translation_set(SoTransform self, SoSFVec3f translation)"}, - { (char *)"SoTransform_translation_get", _wrap_SoTransform_translation_get, METH_VARARGS, (char *)"SoTransform_translation_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_rotation_set", _wrap_SoTransform_rotation_set, METH_VARARGS, (char *)"SoTransform_rotation_set(SoTransform self, SoSFRotation rotation)"}, - { (char *)"SoTransform_rotation_get", _wrap_SoTransform_rotation_get, METH_VARARGS, (char *)"SoTransform_rotation_get(SoTransform self) -> SoSFRotation"}, - { (char *)"SoTransform_scaleFactor_set", _wrap_SoTransform_scaleFactor_set, METH_VARARGS, (char *)"SoTransform_scaleFactor_set(SoTransform self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTransform_scaleFactor_get", _wrap_SoTransform_scaleFactor_get, METH_VARARGS, (char *)"SoTransform_scaleFactor_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_scaleOrientation_set", _wrap_SoTransform_scaleOrientation_set, METH_VARARGS, (char *)"SoTransform_scaleOrientation_set(SoTransform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoTransform_scaleOrientation_get", _wrap_SoTransform_scaleOrientation_get, METH_VARARGS, (char *)"SoTransform_scaleOrientation_get(SoTransform self) -> SoSFRotation"}, - { (char *)"SoTransform_center_set", _wrap_SoTransform_center_set, METH_VARARGS, (char *)"SoTransform_center_set(SoTransform self, SoSFVec3f center)"}, - { (char *)"SoTransform_center_get", _wrap_SoTransform_center_get, METH_VARARGS, (char *)"SoTransform_center_get(SoTransform self) -> SoSFVec3f"}, - { (char *)"SoTransform_pointAt", _wrap_SoTransform_pointAt, METH_VARARGS, (char *)"SoTransform_pointAt(SoTransform self, SbVec3f frompoint, SbVec3f topoint)"}, - { (char *)"SoTransform_getScaleSpaceMatrix", _wrap_SoTransform_getScaleSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getScaleSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_getRotationSpaceMatrix", _wrap_SoTransform_getRotationSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getRotationSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_getTranslationSpaceMatrix", _wrap_SoTransform_getTranslationSpaceMatrix, METH_VARARGS, (char *)"SoTransform_getTranslationSpaceMatrix(SoTransform self, SbMatrix mat, SbMatrix inv)"}, - { (char *)"SoTransform_multLeft", _wrap_SoTransform_multLeft, METH_VARARGS, (char *)"SoTransform_multLeft(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_multRight", _wrap_SoTransform_multRight, METH_VARARGS, (char *)"SoTransform_multRight(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_combineLeft", _wrap_SoTransform_combineLeft, METH_VARARGS, (char *)"SoTransform_combineLeft(SoTransform self, SoTransformation nodeonright)"}, - { (char *)"SoTransform_combineRight", _wrap_SoTransform_combineRight, METH_VARARGS, (char *)"SoTransform_combineRight(SoTransform self, SoTransformation nodeonleft)"}, - { (char *)"SoTransform_setMatrix", _wrap_SoTransform_setMatrix, METH_VARARGS, (char *)"SoTransform_setMatrix(SoTransform self, SbMatrix mat)"}, - { (char *)"SoTransform_recenter", _wrap_SoTransform_recenter, METH_VARARGS, (char *)"SoTransform_recenter(SoTransform self, SbVec3f newcenter)"}, - { (char *)"SoTransform_doAction", _wrap_SoTransform_doAction, METH_VARARGS, (char *)"SoTransform_doAction(SoTransform self, SoAction action)"}, - { (char *)"SoTransform_GLRender", _wrap_SoTransform_GLRender, METH_VARARGS, (char *)"SoTransform_GLRender(SoTransform self, SoGLRenderAction action)"}, - { (char *)"SoTransform_callback", _wrap_SoTransform_callback, METH_VARARGS, (char *)"SoTransform_callback(SoTransform self, SoCallbackAction action)"}, - { (char *)"SoTransform_getBoundingBox", _wrap_SoTransform_getBoundingBox, METH_VARARGS, (char *)"SoTransform_getBoundingBox(SoTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransform_getMatrix", _wrap_SoTransform_getMatrix, METH_VARARGS, (char *)"SoTransform_getMatrix(SoTransform self, SoGetMatrixAction action)"}, - { (char *)"SoTransform_pick", _wrap_SoTransform_pick, METH_VARARGS, (char *)"SoTransform_pick(SoTransform self, SoPickAction action)"}, - { (char *)"SoTransform_getPrimitiveCount", _wrap_SoTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoTransform_getPrimitiveCount(SoTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTransform_swigregister", SoTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformManip_getClassTypeId", _wrap_SoTransformManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformManip_getTypeId", _wrap_SoTransformManip_getTypeId, METH_VARARGS, (char *)"SoTransformManip_getTypeId(SoTransformManip self) -> SoType"}, - { (char *)"SoTransformManip_initClass", _wrap_SoTransformManip_initClass, METH_VARARGS, (char *)"SoTransformManip_initClass()"}, - { (char *)"new_SoTransformManip", _wrap_new_SoTransformManip, METH_VARARGS, (char *)"new_SoTransformManip() -> SoTransformManip"}, - { (char *)"SoTransformManip_getDragger", _wrap_SoTransformManip_getDragger, METH_VARARGS, (char *)"SoTransformManip_getDragger(SoTransformManip self) -> SoDragger"}, - { (char *)"SoTransformManip_replaceNode", _wrap_SoTransformManip_replaceNode, METH_VARARGS, (char *)"SoTransformManip_replaceNode(SoTransformManip self, SoPath p) -> SbBool"}, - { (char *)"SoTransformManip_replaceManip", _wrap_SoTransformManip_replaceManip, METH_VARARGS, (char *)"SoTransformManip_replaceManip(SoTransformManip self, SoPath p, SoTransform newone) -> SbBool"}, - { (char *)"SoTransformManip_doAction", _wrap_SoTransformManip_doAction, METH_VARARGS, (char *)"SoTransformManip_doAction(SoTransformManip self, SoAction action)"}, - { (char *)"SoTransformManip_callback", _wrap_SoTransformManip_callback, METH_VARARGS, (char *)"SoTransformManip_callback(SoTransformManip self, SoCallbackAction action)"}, - { (char *)"SoTransformManip_GLRender", _wrap_SoTransformManip_GLRender, METH_VARARGS, (char *)"SoTransformManip_GLRender(SoTransformManip self, SoGLRenderAction action)"}, - { (char *)"SoTransformManip_getBoundingBox", _wrap_SoTransformManip_getBoundingBox, METH_VARARGS, (char *)"SoTransformManip_getBoundingBox(SoTransformManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransformManip_getMatrix", _wrap_SoTransformManip_getMatrix, METH_VARARGS, (char *)"SoTransformManip_getMatrix(SoTransformManip self, SoGetMatrixAction action)"}, - { (char *)"SoTransformManip_handleEvent", _wrap_SoTransformManip_handleEvent, METH_VARARGS, (char *)"SoTransformManip_handleEvent(SoTransformManip self, SoHandleEventAction action)"}, - { (char *)"SoTransformManip_pick", _wrap_SoTransformManip_pick, METH_VARARGS, (char *)"SoTransformManip_pick(SoTransformManip self, SoPickAction action)"}, - { (char *)"SoTransformManip_search", _wrap_SoTransformManip_search, METH_VARARGS, (char *)"SoTransformManip_search(SoTransformManip self, SoSearchAction action)"}, - { (char *)"SoTransformManip_getChildren", _wrap_SoTransformManip_getChildren, METH_VARARGS, (char *)"SoTransformManip_getChildren(SoTransformManip self) -> SoChildList"}, - { (char *)"SoTransformManip_swigregister", SoTransformManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCenterballManip_getClassTypeId", _wrap_SoCenterballManip_getClassTypeId, METH_VARARGS, (char *)"SoCenterballManip_getClassTypeId() -> SoType"}, - { (char *)"SoCenterballManip_getTypeId", _wrap_SoCenterballManip_getTypeId, METH_VARARGS, (char *)"SoCenterballManip_getTypeId(SoCenterballManip self) -> SoType"}, - { (char *)"SoCenterballManip_initClass", _wrap_SoCenterballManip_initClass, METH_VARARGS, (char *)"SoCenterballManip_initClass()"}, - { (char *)"new_SoCenterballManip", _wrap_new_SoCenterballManip, METH_VARARGS, (char *)"new_SoCenterballManip() -> SoCenterballManip"}, - { (char *)"SoCenterballManip_swigregister", SoCenterballManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlane_getClassTypeId", _wrap_SoClipPlane_getClassTypeId, METH_VARARGS, (char *)"SoClipPlane_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlane_getTypeId", _wrap_SoClipPlane_getTypeId, METH_VARARGS, (char *)"SoClipPlane_getTypeId(SoClipPlane self) -> SoType"}, - { (char *)"SoClipPlane_initClass", _wrap_SoClipPlane_initClass, METH_VARARGS, (char *)"SoClipPlane_initClass()"}, - { (char *)"new_SoClipPlane", _wrap_new_SoClipPlane, METH_VARARGS, (char *)"new_SoClipPlane() -> SoClipPlane"}, - { (char *)"SoClipPlane_plane_set", _wrap_SoClipPlane_plane_set, METH_VARARGS, (char *)"SoClipPlane_plane_set(SoClipPlane self, SoSFPlane plane)"}, - { (char *)"SoClipPlane_plane_get", _wrap_SoClipPlane_plane_get, METH_VARARGS, (char *)"SoClipPlane_plane_get(SoClipPlane self) -> SoSFPlane"}, - { (char *)"SoClipPlane_on_set", _wrap_SoClipPlane_on_set, METH_VARARGS, (char *)"SoClipPlane_on_set(SoClipPlane self, SoSFBool on)"}, - { (char *)"SoClipPlane_on_get", _wrap_SoClipPlane_on_get, METH_VARARGS, (char *)"SoClipPlane_on_get(SoClipPlane self) -> SoSFBool"}, - { (char *)"SoClipPlane_doAction", _wrap_SoClipPlane_doAction, METH_VARARGS, (char *)"SoClipPlane_doAction(SoClipPlane self, SoAction action)"}, - { (char *)"SoClipPlane_GLRender", _wrap_SoClipPlane_GLRender, METH_VARARGS, (char *)"SoClipPlane_GLRender(SoClipPlane self, SoGLRenderAction action)"}, - { (char *)"SoClipPlane_callback", _wrap_SoClipPlane_callback, METH_VARARGS, (char *)"SoClipPlane_callback(SoClipPlane self, SoCallbackAction action)"}, - { (char *)"SoClipPlane_pick", _wrap_SoClipPlane_pick, METH_VARARGS, (char *)"SoClipPlane_pick(SoClipPlane self, SoPickAction action)"}, - { (char *)"SoClipPlane_swigregister", SoClipPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoClipPlaneManip_getClassTypeId", _wrap_SoClipPlaneManip_getClassTypeId, METH_VARARGS, (char *)"SoClipPlaneManip_getClassTypeId() -> SoType"}, - { (char *)"SoClipPlaneManip_getTypeId", _wrap_SoClipPlaneManip_getTypeId, METH_VARARGS, (char *)"SoClipPlaneManip_getTypeId(SoClipPlaneManip self) -> SoType"}, - { (char *)"SoClipPlaneManip_initClass", _wrap_SoClipPlaneManip_initClass, METH_VARARGS, (char *)"SoClipPlaneManip_initClass()"}, - { (char *)"new_SoClipPlaneManip", _wrap_new_SoClipPlaneManip, METH_VARARGS, (char *)"new_SoClipPlaneManip() -> SoClipPlaneManip"}, - { (char *)"SoClipPlaneManip_getDragger", _wrap_SoClipPlaneManip_getDragger, METH_VARARGS, (char *)"SoClipPlaneManip_getDragger(SoClipPlaneManip self) -> SoDragger"}, - { (char *)"SoClipPlaneManip_setValue", _wrap_SoClipPlaneManip_setValue, METH_VARARGS, (char *)"\n" - "SoClipPlaneManip_setValue(SoClipPlaneManip self, SbBox3f box, SbVec3f planenormal, \n" - " float draggerscalefactor)\n" - ""}, - { (char *)"SoClipPlaneManip_replaceNode", _wrap_SoClipPlaneManip_replaceNode, METH_VARARGS, (char *)"SoClipPlaneManip_replaceNode(SoClipPlaneManip self, SoPath p) -> SbBool"}, - { (char *)"SoClipPlaneManip_replaceManip", _wrap_SoClipPlaneManip_replaceManip, METH_VARARGS, (char *)"SoClipPlaneManip_replaceManip(SoClipPlaneManip self, SoPath p, SoClipPlane newone) -> SbBool"}, - { (char *)"SoClipPlaneManip_doAction", _wrap_SoClipPlaneManip_doAction, METH_VARARGS, (char *)"SoClipPlaneManip_doAction(SoClipPlaneManip self, SoAction action)"}, - { (char *)"SoClipPlaneManip_callback", _wrap_SoClipPlaneManip_callback, METH_VARARGS, (char *)"SoClipPlaneManip_callback(SoClipPlaneManip self, SoCallbackAction action)"}, - { (char *)"SoClipPlaneManip_GLRender", _wrap_SoClipPlaneManip_GLRender, METH_VARARGS, (char *)"SoClipPlaneManip_GLRender(SoClipPlaneManip self, SoGLRenderAction action)"}, - { (char *)"SoClipPlaneManip_getBoundingBox", _wrap_SoClipPlaneManip_getBoundingBox, METH_VARARGS, (char *)"SoClipPlaneManip_getBoundingBox(SoClipPlaneManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoClipPlaneManip_getMatrix", _wrap_SoClipPlaneManip_getMatrix, METH_VARARGS, (char *)"SoClipPlaneManip_getMatrix(SoClipPlaneManip self, SoGetMatrixAction action)"}, - { (char *)"SoClipPlaneManip_handleEvent", _wrap_SoClipPlaneManip_handleEvent, METH_VARARGS, (char *)"SoClipPlaneManip_handleEvent(SoClipPlaneManip self, SoHandleEventAction action)"}, - { (char *)"SoClipPlaneManip_pick", _wrap_SoClipPlaneManip_pick, METH_VARARGS, (char *)"SoClipPlaneManip_pick(SoClipPlaneManip self, SoPickAction action)"}, - { (char *)"SoClipPlaneManip_search", _wrap_SoClipPlaneManip_search, METH_VARARGS, (char *)"SoClipPlaneManip_search(SoClipPlaneManip self, SoSearchAction action)"}, - { (char *)"SoClipPlaneManip_getChildren", _wrap_SoClipPlaneManip_getChildren, METH_VARARGS, (char *)"SoClipPlaneManip_getChildren(SoClipPlaneManip self) -> SoChildList"}, - { (char *)"SoClipPlaneManip_draggerPosition_set", _wrap_SoClipPlaneManip_draggerPosition_set, METH_VARARGS, (char *)"SoClipPlaneManip_draggerPosition_set(SoClipPlaneManip self, SoSFVec3f draggerPosition)"}, - { (char *)"SoClipPlaneManip_draggerPosition_get", _wrap_SoClipPlaneManip_draggerPosition_get, METH_VARARGS, (char *)"SoClipPlaneManip_draggerPosition_get(SoClipPlaneManip self) -> SoSFVec3f"}, - { (char *)"SoClipPlaneManip_swigregister", SoClipPlaneManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLight_getClassTypeId", _wrap_SoLight_getClassTypeId, METH_VARARGS, (char *)"SoLight_getClassTypeId() -> SoType"}, - { (char *)"SoLight_getTypeId", _wrap_SoLight_getTypeId, METH_VARARGS, (char *)"SoLight_getTypeId(SoLight self) -> SoType"}, - { (char *)"SoLight_initClass", _wrap_SoLight_initClass, METH_VARARGS, (char *)"SoLight_initClass()"}, - { (char *)"SoLight_on_set", _wrap_SoLight_on_set, METH_VARARGS, (char *)"SoLight_on_set(SoLight self, SoSFBool on)"}, - { (char *)"SoLight_on_get", _wrap_SoLight_on_get, METH_VARARGS, (char *)"SoLight_on_get(SoLight self) -> SoSFBool"}, - { (char *)"SoLight_intensity_set", _wrap_SoLight_intensity_set, METH_VARARGS, (char *)"SoLight_intensity_set(SoLight self, SoSFFloat intensity)"}, - { (char *)"SoLight_intensity_get", _wrap_SoLight_intensity_get, METH_VARARGS, (char *)"SoLight_intensity_get(SoLight self) -> SoSFFloat"}, - { (char *)"SoLight_color_set", _wrap_SoLight_color_set, METH_VARARGS, (char *)"SoLight_color_set(SoLight self, SoSFColor color)"}, - { (char *)"SoLight_color_get", _wrap_SoLight_color_get, METH_VARARGS, (char *)"SoLight_color_get(SoLight self) -> SoSFColor"}, - { (char *)"SoLight_callback", _wrap_SoLight_callback, METH_VARARGS, (char *)"SoLight_callback(SoLight self, SoCallbackAction action)"}, - { (char *)"SoLight_swigregister", SoLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLight_getClassTypeId", _wrap_SoDirectionalLight_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLight_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLight_getTypeId", _wrap_SoDirectionalLight_getTypeId, METH_VARARGS, (char *)"SoDirectionalLight_getTypeId(SoDirectionalLight self) -> SoType"}, - { (char *)"SoDirectionalLight_initClass", _wrap_SoDirectionalLight_initClass, METH_VARARGS, (char *)"SoDirectionalLight_initClass()"}, - { (char *)"new_SoDirectionalLight", _wrap_new_SoDirectionalLight, METH_VARARGS, (char *)"new_SoDirectionalLight() -> SoDirectionalLight"}, - { (char *)"SoDirectionalLight_direction_set", _wrap_SoDirectionalLight_direction_set, METH_VARARGS, (char *)"SoDirectionalLight_direction_set(SoDirectionalLight self, SoSFVec3f direction)"}, - { (char *)"SoDirectionalLight_direction_get", _wrap_SoDirectionalLight_direction_get, METH_VARARGS, (char *)"SoDirectionalLight_direction_get(SoDirectionalLight self) -> SoSFVec3f"}, - { (char *)"SoDirectionalLight_GLRender", _wrap_SoDirectionalLight_GLRender, METH_VARARGS, (char *)"SoDirectionalLight_GLRender(SoDirectionalLight self, SoGLRenderAction action)"}, - { (char *)"SoDirectionalLight_swigregister", SoDirectionalLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoDirectionalLightManip_getClassTypeId", _wrap_SoDirectionalLightManip_getClassTypeId, METH_VARARGS, (char *)"SoDirectionalLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoDirectionalLightManip_getTypeId", _wrap_SoDirectionalLightManip_getTypeId, METH_VARARGS, (char *)"SoDirectionalLightManip_getTypeId(SoDirectionalLightManip self) -> SoType"}, - { (char *)"SoDirectionalLightManip_initClass", _wrap_SoDirectionalLightManip_initClass, METH_VARARGS, (char *)"SoDirectionalLightManip_initClass()"}, - { (char *)"new_SoDirectionalLightManip", _wrap_new_SoDirectionalLightManip, METH_VARARGS, (char *)"new_SoDirectionalLightManip() -> SoDirectionalLightManip"}, - { (char *)"SoDirectionalLightManip_getDragger", _wrap_SoDirectionalLightManip_getDragger, METH_VARARGS, (char *)"SoDirectionalLightManip_getDragger(SoDirectionalLightManip self) -> SoDragger"}, - { (char *)"SoDirectionalLightManip_replaceNode", _wrap_SoDirectionalLightManip_replaceNode, METH_VARARGS, (char *)"SoDirectionalLightManip_replaceNode(SoDirectionalLightManip self, SoPath path) -> SbBool"}, - { (char *)"SoDirectionalLightManip_replaceManip", _wrap_SoDirectionalLightManip_replaceManip, METH_VARARGS, (char *)"SoDirectionalLightManip_replaceManip(SoDirectionalLightManip self, SoPath path, SoDirectionalLight newone) -> SbBool"}, - { (char *)"SoDirectionalLightManip_doAction", _wrap_SoDirectionalLightManip_doAction, METH_VARARGS, (char *)"SoDirectionalLightManip_doAction(SoDirectionalLightManip self, SoAction action)"}, - { (char *)"SoDirectionalLightManip_callback", _wrap_SoDirectionalLightManip_callback, METH_VARARGS, (char *)"SoDirectionalLightManip_callback(SoDirectionalLightManip self, SoCallbackAction action)"}, - { (char *)"SoDirectionalLightManip_GLRender", _wrap_SoDirectionalLightManip_GLRender, METH_VARARGS, (char *)"SoDirectionalLightManip_GLRender(SoDirectionalLightManip self, SoGLRenderAction action)"}, - { (char *)"SoDirectionalLightManip_getBoundingBox", _wrap_SoDirectionalLightManip_getBoundingBox, METH_VARARGS, (char *)"SoDirectionalLightManip_getBoundingBox(SoDirectionalLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoDirectionalLightManip_getMatrix", _wrap_SoDirectionalLightManip_getMatrix, METH_VARARGS, (char *)"SoDirectionalLightManip_getMatrix(SoDirectionalLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoDirectionalLightManip_handleEvent", _wrap_SoDirectionalLightManip_handleEvent, METH_VARARGS, (char *)"SoDirectionalLightManip_handleEvent(SoDirectionalLightManip self, SoHandleEventAction action)"}, - { (char *)"SoDirectionalLightManip_pick", _wrap_SoDirectionalLightManip_pick, METH_VARARGS, (char *)"SoDirectionalLightManip_pick(SoDirectionalLightManip self, SoPickAction action)"}, - { (char *)"SoDirectionalLightManip_search", _wrap_SoDirectionalLightManip_search, METH_VARARGS, (char *)"SoDirectionalLightManip_search(SoDirectionalLightManip self, SoSearchAction action)"}, - { (char *)"SoDirectionalLightManip_getChildren", _wrap_SoDirectionalLightManip_getChildren, METH_VARARGS, (char *)"SoDirectionalLightManip_getChildren(SoDirectionalLightManip self) -> SoChildList"}, - { (char *)"SoDirectionalLightManip_swigregister", SoDirectionalLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoHandleBoxManip_getClassTypeId", _wrap_SoHandleBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoHandleBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoHandleBoxManip_getTypeId", _wrap_SoHandleBoxManip_getTypeId, METH_VARARGS, (char *)"SoHandleBoxManip_getTypeId(SoHandleBoxManip self) -> SoType"}, - { (char *)"SoHandleBoxManip_initClass", _wrap_SoHandleBoxManip_initClass, METH_VARARGS, (char *)"SoHandleBoxManip_initClass()"}, - { (char *)"new_SoHandleBoxManip", _wrap_new_SoHandleBoxManip, METH_VARARGS, (char *)"new_SoHandleBoxManip() -> SoHandleBoxManip"}, - { (char *)"SoHandleBoxManip_swigregister", SoHandleBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoJackManip_getClassTypeId", _wrap_SoJackManip_getClassTypeId, METH_VARARGS, (char *)"SoJackManip_getClassTypeId() -> SoType"}, - { (char *)"SoJackManip_getTypeId", _wrap_SoJackManip_getTypeId, METH_VARARGS, (char *)"SoJackManip_getTypeId(SoJackManip self) -> SoType"}, - { (char *)"SoJackManip_initClass", _wrap_SoJackManip_initClass, METH_VARARGS, (char *)"SoJackManip_initClass()"}, - { (char *)"new_SoJackManip", _wrap_new_SoJackManip, METH_VARARGS, (char *)"new_SoJackManip() -> SoJackManip"}, - { (char *)"SoJackManip_swigregister", SoJackManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLight_getClassTypeId", _wrap_SoPointLight_getClassTypeId, METH_VARARGS, (char *)"SoPointLight_getClassTypeId() -> SoType"}, - { (char *)"SoPointLight_getTypeId", _wrap_SoPointLight_getTypeId, METH_VARARGS, (char *)"SoPointLight_getTypeId(SoPointLight self) -> SoType"}, - { (char *)"SoPointLight_initClass", _wrap_SoPointLight_initClass, METH_VARARGS, (char *)"SoPointLight_initClass()"}, - { (char *)"new_SoPointLight", _wrap_new_SoPointLight, METH_VARARGS, (char *)"new_SoPointLight() -> SoPointLight"}, - { (char *)"SoPointLight_location_set", _wrap_SoPointLight_location_set, METH_VARARGS, (char *)"SoPointLight_location_set(SoPointLight self, SoSFVec3f location)"}, - { (char *)"SoPointLight_location_get", _wrap_SoPointLight_location_get, METH_VARARGS, (char *)"SoPointLight_location_get(SoPointLight self) -> SoSFVec3f"}, - { (char *)"SoPointLight_GLRender", _wrap_SoPointLight_GLRender, METH_VARARGS, (char *)"SoPointLight_GLRender(SoPointLight self, SoGLRenderAction action)"}, - { (char *)"SoPointLight_swigregister", SoPointLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointLightManip_getClassTypeId", _wrap_SoPointLightManip_getClassTypeId, METH_VARARGS, (char *)"SoPointLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoPointLightManip_getTypeId", _wrap_SoPointLightManip_getTypeId, METH_VARARGS, (char *)"SoPointLightManip_getTypeId(SoPointLightManip self) -> SoType"}, - { (char *)"SoPointLightManip_initClass", _wrap_SoPointLightManip_initClass, METH_VARARGS, (char *)"SoPointLightManip_initClass()"}, - { (char *)"new_SoPointLightManip", _wrap_new_SoPointLightManip, METH_VARARGS, (char *)"new_SoPointLightManip() -> SoPointLightManip"}, - { (char *)"SoPointLightManip_getDragger", _wrap_SoPointLightManip_getDragger, METH_VARARGS, (char *)"SoPointLightManip_getDragger(SoPointLightManip self) -> SoDragger"}, - { (char *)"SoPointLightManip_replaceNode", _wrap_SoPointLightManip_replaceNode, METH_VARARGS, (char *)"SoPointLightManip_replaceNode(SoPointLightManip self, SoPath path) -> SbBool"}, - { (char *)"SoPointLightManip_replaceManip", _wrap_SoPointLightManip_replaceManip, METH_VARARGS, (char *)"SoPointLightManip_replaceManip(SoPointLightManip self, SoPath path, SoPointLight newone) -> SbBool"}, - { (char *)"SoPointLightManip_doAction", _wrap_SoPointLightManip_doAction, METH_VARARGS, (char *)"SoPointLightManip_doAction(SoPointLightManip self, SoAction action)"}, - { (char *)"SoPointLightManip_callback", _wrap_SoPointLightManip_callback, METH_VARARGS, (char *)"SoPointLightManip_callback(SoPointLightManip self, SoCallbackAction action)"}, - { (char *)"SoPointLightManip_GLRender", _wrap_SoPointLightManip_GLRender, METH_VARARGS, (char *)"SoPointLightManip_GLRender(SoPointLightManip self, SoGLRenderAction action)"}, - { (char *)"SoPointLightManip_getBoundingBox", _wrap_SoPointLightManip_getBoundingBox, METH_VARARGS, (char *)"SoPointLightManip_getBoundingBox(SoPointLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPointLightManip_getMatrix", _wrap_SoPointLightManip_getMatrix, METH_VARARGS, (char *)"SoPointLightManip_getMatrix(SoPointLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoPointLightManip_handleEvent", _wrap_SoPointLightManip_handleEvent, METH_VARARGS, (char *)"SoPointLightManip_handleEvent(SoPointLightManip self, SoHandleEventAction action)"}, - { (char *)"SoPointLightManip_pick", _wrap_SoPointLightManip_pick, METH_VARARGS, (char *)"SoPointLightManip_pick(SoPointLightManip self, SoPickAction action)"}, - { (char *)"SoPointLightManip_search", _wrap_SoPointLightManip_search, METH_VARARGS, (char *)"SoPointLightManip_search(SoPointLightManip self, SoSearchAction action)"}, - { (char *)"SoPointLightManip_getChildren", _wrap_SoPointLightManip_getChildren, METH_VARARGS, (char *)"SoPointLightManip_getChildren(SoPointLightManip self) -> SoChildList"}, - { (char *)"SoPointLightManip_swigregister", SoPointLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLight_getClassTypeId", _wrap_SoSpotLight_getClassTypeId, METH_VARARGS, (char *)"SoSpotLight_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLight_getTypeId", _wrap_SoSpotLight_getTypeId, METH_VARARGS, (char *)"SoSpotLight_getTypeId(SoSpotLight self) -> SoType"}, - { (char *)"SoSpotLight_initClass", _wrap_SoSpotLight_initClass, METH_VARARGS, (char *)"SoSpotLight_initClass()"}, - { (char *)"new_SoSpotLight", _wrap_new_SoSpotLight, METH_VARARGS, (char *)"new_SoSpotLight() -> SoSpotLight"}, - { (char *)"SoSpotLight_location_set", _wrap_SoSpotLight_location_set, METH_VARARGS, (char *)"SoSpotLight_location_set(SoSpotLight self, SoSFVec3f location)"}, - { (char *)"SoSpotLight_location_get", _wrap_SoSpotLight_location_get, METH_VARARGS, (char *)"SoSpotLight_location_get(SoSpotLight self) -> SoSFVec3f"}, - { (char *)"SoSpotLight_direction_set", _wrap_SoSpotLight_direction_set, METH_VARARGS, (char *)"SoSpotLight_direction_set(SoSpotLight self, SoSFVec3f direction)"}, - { (char *)"SoSpotLight_direction_get", _wrap_SoSpotLight_direction_get, METH_VARARGS, (char *)"SoSpotLight_direction_get(SoSpotLight self) -> SoSFVec3f"}, - { (char *)"SoSpotLight_dropOffRate_set", _wrap_SoSpotLight_dropOffRate_set, METH_VARARGS, (char *)"SoSpotLight_dropOffRate_set(SoSpotLight self, SoSFFloat dropOffRate)"}, - { (char *)"SoSpotLight_dropOffRate_get", _wrap_SoSpotLight_dropOffRate_get, METH_VARARGS, (char *)"SoSpotLight_dropOffRate_get(SoSpotLight self) -> SoSFFloat"}, - { (char *)"SoSpotLight_cutOffAngle_set", _wrap_SoSpotLight_cutOffAngle_set, METH_VARARGS, (char *)"SoSpotLight_cutOffAngle_set(SoSpotLight self, SoSFFloat cutOffAngle)"}, - { (char *)"SoSpotLight_cutOffAngle_get", _wrap_SoSpotLight_cutOffAngle_get, METH_VARARGS, (char *)"SoSpotLight_cutOffAngle_get(SoSpotLight self) -> SoSFFloat"}, - { (char *)"SoSpotLight_GLRender", _wrap_SoSpotLight_GLRender, METH_VARARGS, (char *)"SoSpotLight_GLRender(SoSpotLight self, SoGLRenderAction action)"}, - { (char *)"SoSpotLight_swigregister", SoSpotLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSpotLightManip_getClassTypeId", _wrap_SoSpotLightManip_getClassTypeId, METH_VARARGS, (char *)"SoSpotLightManip_getClassTypeId() -> SoType"}, - { (char *)"SoSpotLightManip_getTypeId", _wrap_SoSpotLightManip_getTypeId, METH_VARARGS, (char *)"SoSpotLightManip_getTypeId(SoSpotLightManip self) -> SoType"}, - { (char *)"SoSpotLightManip_initClass", _wrap_SoSpotLightManip_initClass, METH_VARARGS, (char *)"SoSpotLightManip_initClass()"}, - { (char *)"new_SoSpotLightManip", _wrap_new_SoSpotLightManip, METH_VARARGS, (char *)"new_SoSpotLightManip() -> SoSpotLightManip"}, - { (char *)"SoSpotLightManip_getDragger", _wrap_SoSpotLightManip_getDragger, METH_VARARGS, (char *)"SoSpotLightManip_getDragger(SoSpotLightManip self) -> SoDragger"}, - { (char *)"SoSpotLightManip_replaceNode", _wrap_SoSpotLightManip_replaceNode, METH_VARARGS, (char *)"SoSpotLightManip_replaceNode(SoSpotLightManip self, SoPath p) -> SbBool"}, - { (char *)"SoSpotLightManip_replaceManip", _wrap_SoSpotLightManip_replaceManip, METH_VARARGS, (char *)"SoSpotLightManip_replaceManip(SoSpotLightManip self, SoPath p, SoSpotLight newone) -> SbBool"}, - { (char *)"SoSpotLightManip_doAction", _wrap_SoSpotLightManip_doAction, METH_VARARGS, (char *)"SoSpotLightManip_doAction(SoSpotLightManip self, SoAction action)"}, - { (char *)"SoSpotLightManip_callback", _wrap_SoSpotLightManip_callback, METH_VARARGS, (char *)"SoSpotLightManip_callback(SoSpotLightManip self, SoCallbackAction action)"}, - { (char *)"SoSpotLightManip_GLRender", _wrap_SoSpotLightManip_GLRender, METH_VARARGS, (char *)"SoSpotLightManip_GLRender(SoSpotLightManip self, SoGLRenderAction action)"}, - { (char *)"SoSpotLightManip_getBoundingBox", _wrap_SoSpotLightManip_getBoundingBox, METH_VARARGS, (char *)"SoSpotLightManip_getBoundingBox(SoSpotLightManip self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSpotLightManip_getMatrix", _wrap_SoSpotLightManip_getMatrix, METH_VARARGS, (char *)"SoSpotLightManip_getMatrix(SoSpotLightManip self, SoGetMatrixAction action)"}, - { (char *)"SoSpotLightManip_handleEvent", _wrap_SoSpotLightManip_handleEvent, METH_VARARGS, (char *)"SoSpotLightManip_handleEvent(SoSpotLightManip self, SoHandleEventAction action)"}, - { (char *)"SoSpotLightManip_pick", _wrap_SoSpotLightManip_pick, METH_VARARGS, (char *)"SoSpotLightManip_pick(SoSpotLightManip self, SoPickAction action)"}, - { (char *)"SoSpotLightManip_search", _wrap_SoSpotLightManip_search, METH_VARARGS, (char *)"SoSpotLightManip_search(SoSpotLightManip self, SoSearchAction action)"}, - { (char *)"SoSpotLightManip_getChildren", _wrap_SoSpotLightManip_getChildren, METH_VARARGS, (char *)"SoSpotLightManip_getChildren(SoSpotLightManip self) -> SoChildList"}, - { (char *)"SoSpotLightManip_swigregister", SoSpotLightManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTabBoxManip_getClassTypeId", _wrap_SoTabBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoTabBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoTabBoxManip_getTypeId", _wrap_SoTabBoxManip_getTypeId, METH_VARARGS, (char *)"SoTabBoxManip_getTypeId(SoTabBoxManip self) -> SoType"}, - { (char *)"SoTabBoxManip_initClass", _wrap_SoTabBoxManip_initClass, METH_VARARGS, (char *)"SoTabBoxManip_initClass()"}, - { (char *)"new_SoTabBoxManip", _wrap_new_SoTabBoxManip, METH_VARARGS, (char *)"new_SoTabBoxManip() -> SoTabBoxManip"}, - { (char *)"SoTabBoxManip_swigregister", SoTabBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTrackballManip_getClassTypeId", _wrap_SoTrackballManip_getClassTypeId, METH_VARARGS, (char *)"SoTrackballManip_getClassTypeId() -> SoType"}, - { (char *)"SoTrackballManip_getTypeId", _wrap_SoTrackballManip_getTypeId, METH_VARARGS, (char *)"SoTrackballManip_getTypeId(SoTrackballManip self) -> SoType"}, - { (char *)"SoTrackballManip_initClass", _wrap_SoTrackballManip_initClass, METH_VARARGS, (char *)"SoTrackballManip_initClass()"}, - { (char *)"new_SoTrackballManip", _wrap_new_SoTrackballManip, METH_VARARGS, (char *)"new_SoTrackballManip() -> SoTrackballManip"}, - { (char *)"SoTrackballManip_swigregister", SoTrackballManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformBoxManip_getClassTypeId", _wrap_SoTransformBoxManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformBoxManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformBoxManip_getTypeId", _wrap_SoTransformBoxManip_getTypeId, METH_VARARGS, (char *)"SoTransformBoxManip_getTypeId(SoTransformBoxManip self) -> SoType"}, - { (char *)"SoTransformBoxManip_initClass", _wrap_SoTransformBoxManip_initClass, METH_VARARGS, (char *)"SoTransformBoxManip_initClass()"}, - { (char *)"new_SoTransformBoxManip", _wrap_new_SoTransformBoxManip, METH_VARARGS, (char *)"new_SoTransformBoxManip() -> SoTransformBoxManip"}, - { (char *)"SoTransformBoxManip_swigregister", SoTransformBoxManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformerManip_getClassTypeId", _wrap_SoTransformerManip_getClassTypeId, METH_VARARGS, (char *)"SoTransformerManip_getClassTypeId() -> SoType"}, - { (char *)"SoTransformerManip_getTypeId", _wrap_SoTransformerManip_getTypeId, METH_VARARGS, (char *)"SoTransformerManip_getTypeId(SoTransformerManip self) -> SoType"}, - { (char *)"SoTransformerManip_initClass", _wrap_SoTransformerManip_initClass, METH_VARARGS, (char *)"SoTransformerManip_initClass()"}, - { (char *)"new_SoTransformerManip", _wrap_new_SoTransformerManip, METH_VARARGS, (char *)"new_SoTransformerManip() -> SoTransformerManip"}, - { (char *)"SoTransformerManip_isLocateHighlighting", _wrap_SoTransformerManip_isLocateHighlighting, METH_VARARGS, (char *)"SoTransformerManip_isLocateHighlighting(SoTransformerManip self) -> SbBool"}, - { (char *)"SoTransformerManip_setLocateHighlighting", _wrap_SoTransformerManip_setLocateHighlighting, METH_VARARGS, (char *)"SoTransformerManip_setLocateHighlighting(SoTransformerManip self, SbBool onoff)"}, - { (char *)"SoTransformerManip_unsquishKnobs", _wrap_SoTransformerManip_unsquishKnobs, METH_VARARGS, (char *)"SoTransformerManip_unsquishKnobs(SoTransformerManip self)"}, - { (char *)"SoTransformerManip_swigregister", SoTransformerManip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAudioDevice_instance", _wrap_SoAudioDevice_instance, METH_VARARGS, (char *)"SoAudioDevice_instance() -> SoAudioDevice"}, - { (char *)"SoAudioDevice_init", _wrap_SoAudioDevice_init, METH_VARARGS, (char *)"SoAudioDevice_init(SoAudioDevice self, SbString devicetype, SbString devicename) -> SbBool"}, - { (char *)"SoAudioDevice_enable", _wrap_SoAudioDevice_enable, METH_VARARGS, (char *)"SoAudioDevice_enable(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_disable", _wrap_SoAudioDevice_disable, METH_VARARGS, (char *)"SoAudioDevice_disable(SoAudioDevice self)"}, - { (char *)"SoAudioDevice_isEnabled", _wrap_SoAudioDevice_isEnabled, METH_VARARGS, (char *)"SoAudioDevice_isEnabled(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_haveSound", _wrap_SoAudioDevice_haveSound, METH_VARARGS, (char *)"SoAudioDevice_haveSound(SoAudioDevice self) -> SbBool"}, - { (char *)"SoAudioDevice_setGain", _wrap_SoAudioDevice_setGain, METH_VARARGS, (char *)"SoAudioDevice_setGain(SoAudioDevice self, float gain)"}, - { (char *)"SoAudioDevice_mute", _wrap_SoAudioDevice_mute, METH_VARARGS, (char *)"\n" - "mute(SbBool mute=1)\n" - "SoAudioDevice_mute(SoAudioDevice self)\n" - ""}, - { (char *)"SoAudioDevice_cleanup", _wrap_SoAudioDevice_cleanup, METH_VARARGS, (char *)"SoAudioDevice_cleanup(SoAudioDevice self)"}, - { (char *)"SoAudioDevice_swigregister", SoAudioDevice_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoByteStream", _wrap_new_SoByteStream, METH_VARARGS, (char *)"new_SoByteStream() -> SoByteStream"}, - { (char *)"delete_SoByteStream", _wrap_delete_SoByteStream, METH_VARARGS, (char *)"delete_SoByteStream(SoByteStream self)"}, - { (char *)"SoByteStream_convert", _wrap_SoByteStream_convert, METH_VARARGS, (char *)"\n" - "convert(SoNode node, SbBool binary=1)\n" - "convert(SoNode node)\n" - "convert(SoPath path, SbBool binary=1)\n" - "convert(SoPath path)\n" - "convert(SoPathList pl, SbBool binary=1)\n" - "SoByteStream_convert(SoByteStream self, SoPathList pl)\n" - ""}, - { (char *)"SoByteStream_getData", _wrap_SoByteStream_getData, METH_VARARGS, (char *)"SoByteStream_getData(SoByteStream self) -> void"}, - { (char *)"SoByteStream_getNumBytes", _wrap_SoByteStream_getNumBytes, METH_VARARGS, (char *)"SoByteStream_getNumBytes(SoByteStream self) -> uint32_t"}, - { (char *)"SoByteStream_unconvert", _wrap_SoByteStream_unconvert, METH_VARARGS, (char *)"\n" - "unconvert(SoByteStream stream) -> SoPathList\n" - "SoByteStream_unconvert(void data, uint32_t bytesinstream) -> SoPathList\n" - ""}, - { (char *)"SoByteStream_copy", _wrap_SoByteStream_copy, METH_VARARGS, (char *)"SoByteStream_copy(SoByteStream self, void d, size_t len)"}, - { (char *)"SoByteStream_isRawData", _wrap_SoByteStream_isRawData, METH_VARARGS, (char *)"SoByteStream_isRawData(SoByteStream self) -> SbBool"}, - { (char *)"SoByteStream_swigregister", SoByteStream_swigregister, METH_VARARGS, NULL}, - { (char *)"SoContextHandler_destructingContext", _wrap_SoContextHandler_destructingContext, METH_VARARGS, (char *)"SoContextHandler_destructingContext(uint32_t contextid)"}, - { (char *)"SoContextHandler_addContextDestructionCallback", _wrap_SoContextHandler_addContextDestructionCallback, METH_VARARGS, (char *)"SoContextHandler_addContextDestructionCallback(ContextDestructionCB func, void closure)"}, - { (char *)"SoContextHandler_removeContextDestructionCallback", _wrap_SoContextHandler_removeContextDestructionCallback, METH_VARARGS, (char *)"SoContextHandler_removeContextDestructionCallback(ContextDestructionCB func, void closure)"}, - { (char *)"new_SoContextHandler", _wrap_new_SoContextHandler, METH_VARARGS, (char *)"new_SoContextHandler() -> SoContextHandler"}, - { (char *)"delete_SoContextHandler", _wrap_delete_SoContextHandler, METH_VARARGS, (char *)"delete_SoContextHandler(SoContextHandler self)"}, - { (char *)"SoContextHandler_swigregister", SoContextHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLImage", _wrap_new_SoGLImage, METH_VARARGS, (char *)"new_SoGLImage() -> SoGLImage"}, - { (char *)"SoGLImage_unref", _wrap_SoGLImage_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLImage_unref(SoGLImage self)\n" - ""}, - { (char *)"SoGLImage_getClassTypeId", _wrap_SoGLImage_getClassTypeId, METH_VARARGS, (char *)"SoGLImage_getClassTypeId() -> SoType"}, - { (char *)"SoGLImage_getTypeId", _wrap_SoGLImage_getTypeId, METH_VARARGS, (char *)"SoGLImage_getTypeId(SoGLImage self) -> SoType"}, - { (char *)"SoGLImage_isOfType", _wrap_SoGLImage_isOfType, METH_VARARGS, (char *)"SoGLImage_isOfType(SoGLImage self, SoType type) -> SbBool"}, - { (char *)"SoGLImage_setPBuffer", _wrap_SoGLImage_setPBuffer, METH_VARARGS, (char *)"\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setPBuffer(SoState state, void context, Wrap wraps=REPEAT)\n" - "SoGLImage_setPBuffer(SoGLImage self, SoState state, void context)\n" - ""}, - { (char *)"SoGLImage_setData", _wrap_SoGLImage_setData, METH_VARARGS, (char *)"\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, \n" - " int border=0, SoState createinstate=None)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5, \n" - " int border=0)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, float quality=0.5)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents, \n" - " Wrap wraps=REPEAT)\n" - "setData(unsigned char bytes, SbVec2s size, int numcomponents)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5, int border=0, \n" - " SoState createinstate=None)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT, \n" - " float quality=0.5)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT, Wrap wrapr=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents, \n" - " Wrap wraps=REPEAT)\n" - "setData(unsigned char bytes, SbVec3s size, int numcomponents)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(SbImage image, Wrap wraps=REPEAT)\n" - "setData(SbImage image)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5)\n" - "SoGLImage_setData(SoGLImage self, SbImage image, Wrap wraps, Wrap wrapt, \n" - " Wrap wrapr)\n" - ""}, - { (char *)"SoGLImage_setFlags", _wrap_SoGLImage_setFlags, METH_VARARGS, (char *)"SoGLImage_setFlags(SoGLImage self, uint32_t flags)"}, - { (char *)"SoGLImage_getFlags", _wrap_SoGLImage_getFlags, METH_VARARGS, (char *)"SoGLImage_getFlags(SoGLImage self) -> uint32_t"}, - { (char *)"SoGLImage_getImage", _wrap_SoGLImage_getImage, METH_VARARGS, (char *)"SoGLImage_getImage(SoGLImage self) -> SbImage"}, - { (char *)"SoGLImage_getGLDisplayList", _wrap_SoGLImage_getGLDisplayList, METH_VARARGS, (char *)"SoGLImage_getGLDisplayList(SoGLImage self, SoState state) -> SoGLDisplayList"}, - { (char *)"SoGLImage_hasTransparency", _wrap_SoGLImage_hasTransparency, METH_VARARGS, (char *)"SoGLImage_hasTransparency(SoGLImage self) -> SbBool"}, - { (char *)"SoGLImage_useAlphaTest", _wrap_SoGLImage_useAlphaTest, METH_VARARGS, (char *)"SoGLImage_useAlphaTest(SoGLImage self) -> SbBool"}, - { (char *)"SoGLImage_getWrapS", _wrap_SoGLImage_getWrapS, METH_VARARGS, (char *)"SoGLImage_getWrapS(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getWrapT", _wrap_SoGLImage_getWrapT, METH_VARARGS, (char *)"SoGLImage_getWrapT(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getWrapR", _wrap_SoGLImage_getWrapR, METH_VARARGS, (char *)"SoGLImage_getWrapR(SoGLImage self) -> Wrap"}, - { (char *)"SoGLImage_getGLImageId", _wrap_SoGLImage_getGLImageId, METH_VARARGS, (char *)"SoGLImage_getGLImageId(SoGLImage self) -> uint32_t"}, - { (char *)"SoGLImage_beginFrame", _wrap_SoGLImage_beginFrame, METH_VARARGS, (char *)"SoGLImage_beginFrame(SoState state)"}, - { (char *)"SoGLImage_tagImage", _wrap_SoGLImage_tagImage, METH_VARARGS, (char *)"SoGLImage_tagImage(SoState state, SoGLImage image)"}, - { (char *)"SoGLImage_endFrame", _wrap_SoGLImage_endFrame, METH_VARARGS, (char *)"SoGLImage_endFrame(SoState state)"}, - { (char *)"SoGLImage_setDisplayListMaxAge", _wrap_SoGLImage_setDisplayListMaxAge, METH_VARARGS, (char *)"SoGLImage_setDisplayListMaxAge(uint32_t maxage)"}, - { (char *)"SoGLImage_freeAllImages", _wrap_SoGLImage_freeAllImages, METH_VARARGS, (char *)"\n" - "freeAllImages(SoState state=None)\n" - "SoGLImage_freeAllImages()\n" - ""}, - { (char *)"SoGLImage_setEndFrameCallback", _wrap_SoGLImage_setEndFrameCallback, METH_VARARGS, (char *)"SoGLImage_setEndFrameCallback(SoGLImage self, void cb, void closure)"}, - { (char *)"SoGLImage_getNumFramesSinceUsed", _wrap_SoGLImage_getNumFramesSinceUsed, METH_VARARGS, (char *)"SoGLImage_getNumFramesSinceUsed(SoGLImage self) -> int"}, - { (char *)"SoGLImage_initClass", _wrap_SoGLImage_initClass, METH_VARARGS, (char *)"SoGLImage_initClass()"}, - { (char *)"SoGLImage_swigregister", SoGLImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoGLBigImage", _wrap_new_SoGLBigImage, METH_VARARGS, (char *)"new_SoGLBigImage() -> SoGLBigImage"}, - { (char *)"SoGLBigImage_unref", _wrap_SoGLBigImage_unref, METH_VARARGS, (char *)"\n" - "unref(SoState state=None)\n" - "SoGLBigImage_unref(SoGLBigImage self)\n" - ""}, - { (char *)"SoGLBigImage_getClassTypeId", _wrap_SoGLBigImage_getClassTypeId, METH_VARARGS, (char *)"SoGLBigImage_getClassTypeId() -> SoType"}, - { (char *)"SoGLBigImage_getTypeId", _wrap_SoGLBigImage_getTypeId, METH_VARARGS, (char *)"SoGLBigImage_getTypeId(SoGLBigImage self) -> SoType"}, - { (char *)"SoGLBigImage_setData", _wrap_SoGLBigImage_setData, METH_VARARGS, (char *)"\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT, \n" - " float quality=0.5)\n" - "setData(SbImage image, Wrap wraps=REPEAT, Wrap wrapt=REPEAT)\n" - "setData(SbImage image, Wrap wraps=REPEAT)\n" - "setData(SbImage image)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0, SoState createinstate=None)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5, int border=0)\n" - "setData(SbImage image, Wrap wraps, Wrap wrapt, Wrap wrapr, \n" - " float quality=0.5)\n" - "SoGLBigImage_setData(SoGLBigImage self, SbImage image, Wrap wraps, Wrap wrapt, \n" - " Wrap wrapr)\n" - ""}, - { (char *)"SoGLBigImage_initSubImages", _wrap_SoGLBigImage_initSubImages, METH_VARARGS, (char *)"SoGLBigImage_initSubImages(SoGLBigImage self, SbVec2s subimagesize) -> int"}, - { (char *)"SoGLBigImage_handleSubImage", _wrap_SoGLBigImage_handleSubImage, METH_VARARGS, (char *)"\n" - "SoGLBigImage_handleSubImage(SoGLBigImage self, int idx, SbVec2f start, SbVec2f end, \n" - " SbVec2f tcmul)\n" - ""}, - { (char *)"SoGLBigImage_applySubImage", _wrap_SoGLBigImage_applySubImage, METH_VARARGS, (char *)"\n" - "SoGLBigImage_applySubImage(SoGLBigImage self, SoState state, int idx, float quality, \n" - " SbVec2s projsize)\n" - ""}, - { (char *)"SoGLBigImage_exceededChangeLimit", _wrap_SoGLBigImage_exceededChangeLimit, METH_VARARGS, (char *)"SoGLBigImage_exceededChangeLimit(SoGLBigImage self) -> SbBool"}, - { (char *)"SoGLBigImage_setChangeLimit", _wrap_SoGLBigImage_setChangeLimit, METH_VARARGS, (char *)"SoGLBigImage_setChangeLimit(int limit) -> int"}, - { (char *)"SoGLBigImage_getGLDisplayList", _wrap_SoGLBigImage_getGLDisplayList, METH_VARARGS, (char *)"SoGLBigImage_getGLDisplayList(SoGLBigImage self, SoState state) -> SoGLDisplayList"}, - { (char *)"SoGLBigImage_initClass", _wrap_SoGLBigImage_initClass, METH_VARARGS, (char *)"SoGLBigImage_initClass()"}, - { (char *)"SoGLBigImage_swigregister", SoGLBigImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2f", _wrap_new_SbBox2f, METH_VARARGS, (char *)"\n" - "SbBox2f()\n" - "SbBox2f(float xmin, float ymin, float xmax, float ymax)\n" - "new_SbBox2f(SbVec2f min, SbVec2f max) -> SbBox2f\n" - ""}, - { (char *)"delete_SbBox2f", _wrap_delete_SbBox2f, METH_VARARGS, (char *)"delete_SbBox2f(SbBox2f self)"}, - { (char *)"SbBox2f_getMin", _wrap_SbBox2f_getMin, METH_VARARGS, (char *)"SbBox2f_getMin(SbBox2f self) -> SbVec2f"}, - { (char *)"SbBox2f_getMax", _wrap_SbBox2f_getMax, METH_VARARGS, (char *)"SbBox2f_getMax(SbBox2f self) -> SbVec2f"}, - { (char *)"SbBox2f_getCenter", _wrap_SbBox2f_getCenter, METH_VARARGS, (char *)"SbBox2f_getCenter(SbBox2f self) -> SbVec2f"}, - { (char *)"SbBox2f_extendBy", _wrap_SbBox2f_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2f point)\n" - "SbBox2f_extendBy(SbBox2f self, SbBox2f box)\n" - ""}, - { (char *)"SbBox2f_intersect", _wrap_SbBox2f_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2f point) -> SbBool\n" - "SbBox2f_intersect(SbBox2f self, SbBox2f box) -> SbBool\n" - ""}, - { (char *)"SbBox2f_getClosestPoint", _wrap_SbBox2f_getClosestPoint, METH_VARARGS, (char *)"SbBox2f_getClosestPoint(SbBox2f self, SbVec2f p) -> SbVec2f"}, - { (char *)"SbBox2f_setBounds", _wrap_SbBox2f_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(float xmin, float ymin, float xmax, float ymax)\n" - "SbBox2f_setBounds(SbBox2f self, SbVec2f min, SbVec2f max)\n" - ""}, - { (char *)"SbBox2f_getBounds", _wrap_SbBox2f_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(float xmin, float ymin, float xmax, float ymax)\n" - "SbBox2f_getBounds(SbBox2f self, SbVec2f min, SbVec2f max)\n" - ""}, - { (char *)"SbBox2f_getOrigin", _wrap_SbBox2f_getOrigin, METH_VARARGS, (char *)"SbBox2f_getOrigin(SbBox2f self, float x0, float y0)"}, - { (char *)"SbBox2f_getSize", _wrap_SbBox2f_getSize, METH_VARARGS, (char *)"SbBox2f_getSize(SbBox2f self, float w, float h)"}, - { (char *)"SbBox2f_getAspectRatio", _wrap_SbBox2f_getAspectRatio, METH_VARARGS, (char *)"SbBox2f_getAspectRatio(SbBox2f self) -> float"}, - { (char *)"SbBox2f_makeEmpty", _wrap_SbBox2f_makeEmpty, METH_VARARGS, (char *)"SbBox2f_makeEmpty(SbBox2f self)"}, - { (char *)"SbBox2f_isEmpty", _wrap_SbBox2f_isEmpty, METH_VARARGS, (char *)"SbBox2f_isEmpty(SbBox2f self) -> SbBool"}, - { (char *)"SbBox2f_hasArea", _wrap_SbBox2f_hasArea, METH_VARARGS, (char *)"SbBox2f_hasArea(SbBox2f self) -> SbBool"}, - { (char *)"SbBox2f___eq__", _wrap_SbBox2f___eq__, METH_VARARGS, (char *)"SbBox2f___eq__(SbBox2f self, SbBox2f u) -> int"}, - { (char *)"SbBox2f___ne__", _wrap_SbBox2f___ne__, METH_VARARGS, (char *)"SbBox2f___ne__(SbBox2f self, SbBox2f u) -> int"}, - { (char *)"SbBox2f_swigregister", SbBox2f_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGlyph_unref", _wrap_SoGlyph_unref, METH_VARARGS, (char *)"SoGlyph_unref(SoGlyph self)"}, - { (char *)"SoGlyph_getCoords", _wrap_SoGlyph_getCoords, METH_VARARGS, (char *)"SoGlyph_getCoords(SoGlyph self) -> SbVec2f"}, - { (char *)"SoGlyph_getFaceIndices", _wrap_SoGlyph_getFaceIndices, METH_VARARGS, (char *)"SoGlyph_getFaceIndices(SoGlyph self) -> int"}, - { (char *)"SoGlyph_getEdgeIndices", _wrap_SoGlyph_getEdgeIndices, METH_VARARGS, (char *)"SoGlyph_getEdgeIndices(SoGlyph self) -> int"}, - { (char *)"SoGlyph_getNextCWEdge", _wrap_SoGlyph_getNextCWEdge, METH_VARARGS, (char *)"SoGlyph_getNextCWEdge(SoGlyph self, int edgeidx) -> int"}, - { (char *)"SoGlyph_getNextCCWEdge", _wrap_SoGlyph_getNextCCWEdge, METH_VARARGS, (char *)"SoGlyph_getNextCCWEdge(SoGlyph self, int edgeidx) -> int"}, - { (char *)"SoGlyph_getWidth", _wrap_SoGlyph_getWidth, METH_VARARGS, (char *)"SoGlyph_getWidth(SoGlyph self) -> float"}, - { (char *)"SoGlyph_getBoundingBox", _wrap_SoGlyph_getBoundingBox, METH_VARARGS, (char *)"SoGlyph_getBoundingBox(SoGlyph self) -> SbBox2f"}, - { (char *)"SoGlyph_getGlyph", _wrap_SoGlyph_getGlyph, METH_VARARGS, (char *)"\n" - "getGlyph(char character, SbName font) -> SoGlyph\n" - "SoGlyph_getGlyph(SoState state, unsigned int character, SbVec2s size, \n" - " float angle) -> SoGlyph\n" - ""}, - { (char *)"SoGlyph_getAdvance", _wrap_SoGlyph_getAdvance, METH_VARARGS, (char *)"SoGlyph_getAdvance(SoGlyph self) -> SbVec2s"}, - { (char *)"SoGlyph_getKerning", _wrap_SoGlyph_getKerning, METH_VARARGS, (char *)"SoGlyph_getKerning(SoGlyph self, SoGlyph rightglyph) -> SbVec2s"}, - { (char *)"SoGlyph_getBitmap", _wrap_SoGlyph_getBitmap, METH_VARARGS, (char *)"SoGlyph_getBitmap(SoGlyph self, SbVec2s size, SbVec2s pos, SbBool antialiased) -> unsigned char"}, - { (char *)"SoGlyph_swigregister", SoGlyph_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoProto", _wrap_new_SoProto, METH_VARARGS, (char *)"\n" - "SoProto(SbBool externproto=0)\n" - "new_SoProto() -> SoProto\n" - ""}, - { (char *)"SoProto_setFetchExternProtoCallback", _wrap_SoProto_setFetchExternProtoCallback, METH_VARARGS, (char *)"SoProto_setFetchExternProtoCallback(SoFetchExternProtoCB cb, void closure)"}, - { (char *)"SoProto_getTypeId", _wrap_SoProto_getTypeId, METH_VARARGS, (char *)"SoProto_getTypeId(SoProto self) -> SoType"}, - { (char *)"SoProto_getClassTypeId", _wrap_SoProto_getClassTypeId, METH_VARARGS, (char *)"SoProto_getClassTypeId() -> SoType"}, - { (char *)"SoProto_findProto", _wrap_SoProto_findProto, METH_VARARGS, (char *)"SoProto_findProto(SbName name) -> SoProto"}, - { (char *)"SoProto_initClass", _wrap_SoProto_initClass, METH_VARARGS, (char *)"SoProto_initClass()"}, - { (char *)"SoProto_createProtoInstance", _wrap_SoProto_createProtoInstance, METH_VARARGS, (char *)"SoProto_createProtoInstance(SoProto self) -> SoProtoInstance"}, - { (char *)"SoProto_addISReference", _wrap_SoProto_addISReference, METH_VARARGS, (char *)"SoProto_addISReference(SoProto self, SoNode container, SbName fieldname, SbName interfacename)"}, - { (char *)"SoProto_findISReference", _wrap_SoProto_findISReference, METH_VARARGS, (char *)"SoProto_findISReference(SoProto self, SoFieldContainer container, SbName fieldname) -> SbName"}, - { (char *)"SoProto_addReference", _wrap_SoProto_addReference, METH_VARARGS, (char *)"SoProto_addReference(SoProto self, SbName name, SoBase base)"}, - { (char *)"SoProto_removeReference", _wrap_SoProto_removeReference, METH_VARARGS, (char *)"SoProto_removeReference(SoProto self, SbName name)"}, - { (char *)"SoProto_findReference", _wrap_SoProto_findReference, METH_VARARGS, (char *)"SoProto_findReference(SoProto self, SbName name) -> SoBase"}, - { (char *)"SoProto_addRoute", _wrap_SoProto_addRoute, METH_VARARGS, (char *)"\n" - "SoProto_addRoute(SoProto self, SbName fromnode, SbName fromfield, SbName tonode, \n" - " SbName tofield)\n" - ""}, - { (char *)"SoProto_getProtoName", _wrap_SoProto_getProtoName, METH_VARARGS, (char *)"SoProto_getProtoName(SoProto self) -> SbName"}, - { (char *)"SoProto_readInstance", _wrap_SoProto_readInstance, METH_VARARGS, (char *)"SoProto_readInstance(SoProto self, SoInput in, unsigned short flags) -> SbBool"}, - { (char *)"SoProto_write", _wrap_SoProto_write, METH_VARARGS, (char *)"SoProto_write(SoProto self, SoWriteAction action)"}, - { (char *)"SoProto_swigregister", SoProto_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProtoInstance_getClassTypeId", _wrap_SoProtoInstance_getClassTypeId, METH_VARARGS, (char *)"SoProtoInstance_getClassTypeId() -> SoType"}, - { (char *)"SoProtoInstance_getTypeId", _wrap_SoProtoInstance_getTypeId, METH_VARARGS, (char *)"SoProtoInstance_getTypeId(SoProtoInstance self) -> SoType"}, - { (char *)"SoProtoInstance_initClass", _wrap_SoProtoInstance_initClass, METH_VARARGS, (char *)"SoProtoInstance_initClass()"}, - { (char *)"new_SoProtoInstance", _wrap_new_SoProtoInstance, METH_VARARGS, (char *)"new_SoProtoInstance(SoProto proto, SoFieldData deffielddata) -> SoProtoInstance"}, - { (char *)"SoProtoInstance_findProtoInstance", _wrap_SoProtoInstance_findProtoInstance, METH_VARARGS, (char *)"SoProtoInstance_findProtoInstance(SoNode rootnode) -> SoProtoInstance"}, - { (char *)"SoProtoInstance_setRootNode", _wrap_SoProtoInstance_setRootNode, METH_VARARGS, (char *)"SoProtoInstance_setRootNode(SoProtoInstance self, SoNode root)"}, - { (char *)"SoProtoInstance_getRootNode", _wrap_SoProtoInstance_getRootNode, METH_VARARGS, (char *)"SoProtoInstance_getRootNode(SoProtoInstance self) -> SoNode"}, - { (char *)"SoProtoInstance_getProtoDefinition", _wrap_SoProtoInstance_getProtoDefinition, METH_VARARGS, (char *)"SoProtoInstance_getProtoDefinition(SoProtoInstance self) -> SoProto"}, - { (char *)"SoProtoInstance_getProtoName", _wrap_SoProtoInstance_getProtoName, METH_VARARGS, (char *)"SoProtoInstance_getProtoName(SoProtoInstance self) -> SbName"}, - { (char *)"SoProtoInstance_write", _wrap_SoProtoInstance_write, METH_VARARGS, (char *)"SoProtoInstance_write(SoProtoInstance self, SoWriteAction action)"}, - { (char *)"SoProtoInstance_swigregister", SoProtoInstance_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTranReceiver", _wrap_new_SoTranReceiver, METH_VARARGS, (char *)"new_SoTranReceiver(SoGroup root) -> SoTranReceiver"}, - { (char *)"delete_SoTranReceiver", _wrap_delete_SoTranReceiver, METH_VARARGS, (char *)"delete_SoTranReceiver(SoTranReceiver self)"}, - { (char *)"SoTranReceiver_interpret", _wrap_SoTranReceiver_interpret, METH_VARARGS, (char *)"SoTranReceiver_interpret(SoTranReceiver self, SoInput in) -> SbBool"}, - { (char *)"SoTranReceiver_swigregister", SoTranReceiver_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTranSender", _wrap_new_SoTranSender, METH_VARARGS, (char *)"new_SoTranSender(SoOutput output) -> SoTranSender"}, - { (char *)"delete_SoTranSender", _wrap_delete_SoTranSender, METH_VARARGS, (char *)"delete_SoTranSender(SoTranSender self)"}, - { (char *)"SoTranSender_getOutput", _wrap_SoTranSender_getOutput, METH_VARARGS, (char *)"SoTranSender_getOutput(SoTranSender self) -> SoOutput"}, - { (char *)"SoTranSender_insert", _wrap_SoTranSender_insert, METH_VARARGS, (char *)"\n" - "insert(SoNode node)\n" - "SoTranSender_insert(SoTranSender self, SoNode node, SoNode parent, int n)\n" - ""}, - { (char *)"SoTranSender_remove", _wrap_SoTranSender_remove, METH_VARARGS, (char *)"SoTranSender_remove(SoTranSender self, SoNode parent, int n)"}, - { (char *)"SoTranSender_replace", _wrap_SoTranSender_replace, METH_VARARGS, (char *)"SoTranSender_replace(SoTranSender self, SoNode parent, int n, SoNode newnode)"}, - { (char *)"SoTranSender_modify", _wrap_SoTranSender_modify, METH_VARARGS, (char *)"SoTranSender_modify(SoTranSender self, SoNode node)"}, - { (char *)"SoTranSender_prepareToSend", _wrap_SoTranSender_prepareToSend, METH_VARARGS, (char *)"SoTranSender_prepareToSend(SoTranSender self)"}, - { (char *)"SoTranSender_swigregister", SoTranSender_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAppearanceKit_getClassTypeId", _wrap_SoAppearanceKit_getClassTypeId, METH_VARARGS, (char *)"SoAppearanceKit_getClassTypeId() -> SoType"}, - { (char *)"SoAppearanceKit_getTypeId", _wrap_SoAppearanceKit_getTypeId, METH_VARARGS, (char *)"SoAppearanceKit_getTypeId(SoAppearanceKit self) -> SoType"}, - { (char *)"SoAppearanceKit_getClassNodekitCatalog", _wrap_SoAppearanceKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoAppearanceKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoAppearanceKit_getNodekitCatalog", _wrap_SoAppearanceKit_getNodekitCatalog, METH_VARARGS, (char *)"SoAppearanceKit_getNodekitCatalog(SoAppearanceKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoAppearanceKit", _wrap_new_SoAppearanceKit, METH_VARARGS, (char *)"new_SoAppearanceKit() -> SoAppearanceKit"}, - { (char *)"SoAppearanceKit_initClass", _wrap_SoAppearanceKit_initClass, METH_VARARGS, (char *)"SoAppearanceKit_initClass()"}, - { (char *)"SoAppearanceKit_swigregister", SoAppearanceKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCameraKit_getClassTypeId", _wrap_SoCameraKit_getClassTypeId, METH_VARARGS, (char *)"SoCameraKit_getClassTypeId() -> SoType"}, - { (char *)"SoCameraKit_getTypeId", _wrap_SoCameraKit_getTypeId, METH_VARARGS, (char *)"SoCameraKit_getTypeId(SoCameraKit self) -> SoType"}, - { (char *)"SoCameraKit_getClassNodekitCatalog", _wrap_SoCameraKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoCameraKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoCameraKit_getNodekitCatalog", _wrap_SoCameraKit_getNodekitCatalog, METH_VARARGS, (char *)"SoCameraKit_getNodekitCatalog(SoCameraKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoCameraKit", _wrap_new_SoCameraKit, METH_VARARGS, (char *)"new_SoCameraKit() -> SoCameraKit"}, - { (char *)"SoCameraKit_initClass", _wrap_SoCameraKit_initClass, METH_VARARGS, (char *)"SoCameraKit_initClass()"}, - { (char *)"SoCameraKit_swigregister", SoCameraKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLightKit_getClassTypeId", _wrap_SoLightKit_getClassTypeId, METH_VARARGS, (char *)"SoLightKit_getClassTypeId() -> SoType"}, - { (char *)"SoLightKit_getTypeId", _wrap_SoLightKit_getTypeId, METH_VARARGS, (char *)"SoLightKit_getTypeId(SoLightKit self) -> SoType"}, - { (char *)"SoLightKit_getClassNodekitCatalog", _wrap_SoLightKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoLightKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoLightKit_getNodekitCatalog", _wrap_SoLightKit_getNodekitCatalog, METH_VARARGS, (char *)"SoLightKit_getNodekitCatalog(SoLightKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoLightKit", _wrap_new_SoLightKit, METH_VARARGS, (char *)"new_SoLightKit() -> SoLightKit"}, - { (char *)"SoLightKit_initClass", _wrap_SoLightKit_initClass, METH_VARARGS, (char *)"SoLightKit_initClass()"}, - { (char *)"SoLightKit_swigregister", SoLightKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNodeKit_init", _wrap_SoNodeKit_init, METH_VARARGS, (char *)"SoNodeKit_init()"}, - { (char *)"new_SoNodeKit", _wrap_new_SoNodeKit, METH_VARARGS, (char *)"new_SoNodeKit() -> SoNodeKit"}, - { (char *)"delete_SoNodeKit", _wrap_delete_SoNodeKit, METH_VARARGS, (char *)"delete_SoNodeKit(SoNodeKit self)"}, - { (char *)"SoNodeKit_swigregister", SoNodeKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSceneKit_getClassTypeId", _wrap_SoSceneKit_getClassTypeId, METH_VARARGS, (char *)"SoSceneKit_getClassTypeId() -> SoType"}, - { (char *)"SoSceneKit_getTypeId", _wrap_SoSceneKit_getTypeId, METH_VARARGS, (char *)"SoSceneKit_getTypeId(SoSceneKit self) -> SoType"}, - { (char *)"SoSceneKit_getClassNodekitCatalog", _wrap_SoSceneKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSceneKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSceneKit_getNodekitCatalog", _wrap_SoSceneKit_getNodekitCatalog, METH_VARARGS, (char *)"SoSceneKit_getNodekitCatalog(SoSceneKit self) -> SoNodekitCatalog"}, - { (char *)"SoSceneKit_initClass", _wrap_SoSceneKit_initClass, METH_VARARGS, (char *)"SoSceneKit_initClass()"}, - { (char *)"new_SoSceneKit", _wrap_new_SoSceneKit, METH_VARARGS, (char *)"new_SoSceneKit() -> SoSceneKit"}, - { (char *)"SoSceneKit_getCameraNumber", _wrap_SoSceneKit_getCameraNumber, METH_VARARGS, (char *)"SoSceneKit_getCameraNumber(SoSceneKit self) -> int"}, - { (char *)"SoSceneKit_setCameraNumber", _wrap_SoSceneKit_setCameraNumber, METH_VARARGS, (char *)"SoSceneKit_setCameraNumber(SoSceneKit self, int camNum)"}, - { (char *)"SoSceneKit_affectsState", _wrap_SoSceneKit_affectsState, METH_VARARGS, (char *)"SoSceneKit_affectsState(SoSceneKit self) -> SbBool"}, - { (char *)"SoSceneKit_swigregister", SoSceneKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSeparatorKit_getClassTypeId", _wrap_SoSeparatorKit_getClassTypeId, METH_VARARGS, (char *)"SoSeparatorKit_getClassTypeId() -> SoType"}, - { (char *)"SoSeparatorKit_getTypeId", _wrap_SoSeparatorKit_getTypeId, METH_VARARGS, (char *)"SoSeparatorKit_getTypeId(SoSeparatorKit self) -> SoType"}, - { (char *)"SoSeparatorKit_getClassNodekitCatalog", _wrap_SoSeparatorKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoSeparatorKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoSeparatorKit_getNodekitCatalog", _wrap_SoSeparatorKit_getNodekitCatalog, METH_VARARGS, (char *)"SoSeparatorKit_getNodekitCatalog(SoSeparatorKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoSeparatorKit", _wrap_new_SoSeparatorKit, METH_VARARGS, (char *)"new_SoSeparatorKit() -> SoSeparatorKit"}, - { (char *)"SoSeparatorKit_renderCaching_set", _wrap_SoSeparatorKit_renderCaching_set, METH_VARARGS, (char *)"SoSeparatorKit_renderCaching_set(SoSeparatorKit self, SoSFEnum renderCaching)"}, - { (char *)"SoSeparatorKit_renderCaching_get", _wrap_SoSeparatorKit_renderCaching_get, METH_VARARGS, (char *)"SoSeparatorKit_renderCaching_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_boundingBoxCaching_set", _wrap_SoSeparatorKit_boundingBoxCaching_set, METH_VARARGS, (char *)"SoSeparatorKit_boundingBoxCaching_set(SoSeparatorKit self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoSeparatorKit_boundingBoxCaching_get", _wrap_SoSeparatorKit_boundingBoxCaching_get, METH_VARARGS, (char *)"SoSeparatorKit_boundingBoxCaching_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_renderCulling_set", _wrap_SoSeparatorKit_renderCulling_set, METH_VARARGS, (char *)"SoSeparatorKit_renderCulling_set(SoSeparatorKit self, SoSFEnum renderCulling)"}, - { (char *)"SoSeparatorKit_renderCulling_get", _wrap_SoSeparatorKit_renderCulling_get, METH_VARARGS, (char *)"SoSeparatorKit_renderCulling_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_pickCulling_set", _wrap_SoSeparatorKit_pickCulling_set, METH_VARARGS, (char *)"SoSeparatorKit_pickCulling_set(SoSeparatorKit self, SoSFEnum pickCulling)"}, - { (char *)"SoSeparatorKit_pickCulling_get", _wrap_SoSeparatorKit_pickCulling_get, METH_VARARGS, (char *)"SoSeparatorKit_pickCulling_get(SoSeparatorKit self) -> SoSFEnum"}, - { (char *)"SoSeparatorKit_initClass", _wrap_SoSeparatorKit_initClass, METH_VARARGS, (char *)"SoSeparatorKit_initClass()"}, - { (char *)"SoSeparatorKit_swigregister", SoSeparatorKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShapeKit_getClassTypeId", _wrap_SoShapeKit_getClassTypeId, METH_VARARGS, (char *)"SoShapeKit_getClassTypeId() -> SoType"}, - { (char *)"SoShapeKit_getTypeId", _wrap_SoShapeKit_getTypeId, METH_VARARGS, (char *)"SoShapeKit_getTypeId(SoShapeKit self) -> SoType"}, - { (char *)"SoShapeKit_getClassNodekitCatalog", _wrap_SoShapeKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoShapeKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoShapeKit_getNodekitCatalog", _wrap_SoShapeKit_getNodekitCatalog, METH_VARARGS, (char *)"SoShapeKit_getNodekitCatalog(SoShapeKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoShapeKit", _wrap_new_SoShapeKit, METH_VARARGS, (char *)"new_SoShapeKit() -> SoShapeKit"}, - { (char *)"SoShapeKit_initClass", _wrap_SoShapeKit_initClass, METH_VARARGS, (char *)"SoShapeKit_initClass()"}, - { (char *)"SoShapeKit_swigregister", SoShapeKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWrapperKit_getClassTypeId", _wrap_SoWrapperKit_getClassTypeId, METH_VARARGS, (char *)"SoWrapperKit_getClassTypeId() -> SoType"}, - { (char *)"SoWrapperKit_getTypeId", _wrap_SoWrapperKit_getTypeId, METH_VARARGS, (char *)"SoWrapperKit_getTypeId(SoWrapperKit self) -> SoType"}, - { (char *)"SoWrapperKit_getClassNodekitCatalog", _wrap_SoWrapperKit_getClassNodekitCatalog, METH_VARARGS, (char *)"SoWrapperKit_getClassNodekitCatalog() -> SoNodekitCatalog"}, - { (char *)"SoWrapperKit_getNodekitCatalog", _wrap_SoWrapperKit_getNodekitCatalog, METH_VARARGS, (char *)"SoWrapperKit_getNodekitCatalog(SoWrapperKit self) -> SoNodekitCatalog"}, - { (char *)"new_SoWrapperKit", _wrap_new_SoWrapperKit, METH_VARARGS, (char *)"new_SoWrapperKit() -> SoWrapperKit"}, - { (char *)"SoWrapperKit_initClass", _wrap_SoWrapperKit_initClass, METH_VARARGS, (char *)"SoWrapperKit_initClass()"}, - { (char *)"SoWrapperKit_swigregister", SoWrapperKit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoGroup_getClassTypeId", _wrap_SoGroup_getClassTypeId, METH_VARARGS, (char *)"SoGroup_getClassTypeId() -> SoType"}, - { (char *)"SoGroup_getTypeId", _wrap_SoGroup_getTypeId, METH_VARARGS, (char *)"SoGroup_getTypeId(SoGroup self) -> SoType"}, - { (char *)"SoGroup_initClass", _wrap_SoGroup_initClass, METH_VARARGS, (char *)"SoGroup_initClass()"}, - { (char *)"new_SoGroup", _wrap_new_SoGroup, METH_VARARGS, (char *)"\n" - "SoGroup()\n" - "new_SoGroup(int nchildren) -> SoGroup\n" - ""}, - { (char *)"SoGroup_addChild", _wrap_SoGroup_addChild, METH_VARARGS, (char *)"SoGroup_addChild(SoGroup self, SoNode node)"}, - { (char *)"SoGroup_insertChild", _wrap_SoGroup_insertChild, METH_VARARGS, (char *)"SoGroup_insertChild(SoGroup self, SoNode child, int newchildindex)"}, - { (char *)"SoGroup_getChild", _wrap_SoGroup_getChild, METH_VARARGS, (char *)"SoGroup_getChild(SoGroup self, int index) -> SoNode"}, - { (char *)"SoGroup_findChild", _wrap_SoGroup_findChild, METH_VARARGS, (char *)"SoGroup_findChild(SoGroup self, SoNode node) -> int"}, - { (char *)"SoGroup_getNumChildren", _wrap_SoGroup_getNumChildren, METH_VARARGS, (char *)"SoGroup_getNumChildren(SoGroup self) -> int"}, - { (char *)"SoGroup_removeChild", _wrap_SoGroup_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int childindex)\n" - "SoGroup_removeChild(SoGroup self, SoNode child)\n" - ""}, - { (char *)"SoGroup_removeAllChildren", _wrap_SoGroup_removeAllChildren, METH_VARARGS, (char *)"SoGroup_removeAllChildren(SoGroup self)"}, - { (char *)"SoGroup_replaceChild", _wrap_SoGroup_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int index, SoNode newchild)\n" - "SoGroup_replaceChild(SoGroup self, SoNode oldchild, SoNode newchild)\n" - ""}, - { (char *)"SoGroup_doAction", _wrap_SoGroup_doAction, METH_VARARGS, (char *)"SoGroup_doAction(SoGroup self, SoAction action)"}, - { (char *)"SoGroup_GLRender", _wrap_SoGroup_GLRender, METH_VARARGS, (char *)"SoGroup_GLRender(SoGroup self, SoGLRenderAction action)"}, - { (char *)"SoGroup_callback", _wrap_SoGroup_callback, METH_VARARGS, (char *)"SoGroup_callback(SoGroup self, SoCallbackAction action)"}, - { (char *)"SoGroup_getBoundingBox", _wrap_SoGroup_getBoundingBox, METH_VARARGS, (char *)"SoGroup_getBoundingBox(SoGroup self, SoGetBoundingBoxAction action)"}, - { (char *)"SoGroup_getMatrix", _wrap_SoGroup_getMatrix, METH_VARARGS, (char *)"SoGroup_getMatrix(SoGroup self, SoGetMatrixAction action)"}, - { (char *)"SoGroup_handleEvent", _wrap_SoGroup_handleEvent, METH_VARARGS, (char *)"SoGroup_handleEvent(SoGroup self, SoHandleEventAction action)"}, - { (char *)"SoGroup_pick", _wrap_SoGroup_pick, METH_VARARGS, (char *)"SoGroup_pick(SoGroup self, SoPickAction action)"}, - { (char *)"SoGroup_search", _wrap_SoGroup_search, METH_VARARGS, (char *)"SoGroup_search(SoGroup self, SoSearchAction action)"}, - { (char *)"SoGroup_write", _wrap_SoGroup_write, METH_VARARGS, (char *)"SoGroup_write(SoGroup self, SoWriteAction action)"}, - { (char *)"SoGroup_getPrimitiveCount", _wrap_SoGroup_getPrimitiveCount, METH_VARARGS, (char *)"SoGroup_getPrimitiveCount(SoGroup self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoGroup_audioRender", _wrap_SoGroup_audioRender, METH_VARARGS, (char *)"SoGroup_audioRender(SoGroup self, SoAudioRenderAction action)"}, - { (char *)"SoGroup_getChildren", _wrap_SoGroup_getChildren, METH_VARARGS, (char *)"SoGroup_getChildren(SoGroup self) -> SoChildList"}, - { (char *)"SoGroup___len__", _wrap_SoGroup___len__, METH_VARARGS, (char *)"SoGroup___len__(SoGroup self) -> int"}, - { (char *)"SoGroup___contains__", _wrap_SoGroup___contains__, METH_VARARGS, (char *)"SoGroup___contains__(SoGroup self, SoNode node) -> int"}, - { (char *)"SoGroup___getitem__", _wrap_SoGroup___getitem__, METH_VARARGS, (char *)"SoGroup___getitem__(SoGroup self, int index) -> SoNode"}, - { (char *)"SoGroup_swigregister", SoGroup_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSeparator_getClassTypeId", _wrap_SoSeparator_getClassTypeId, METH_VARARGS, (char *)"SoSeparator_getClassTypeId() -> SoType"}, - { (char *)"SoSeparator_getTypeId", _wrap_SoSeparator_getTypeId, METH_VARARGS, (char *)"SoSeparator_getTypeId(SoSeparator self) -> SoType"}, - { (char *)"SoSeparator_initClass", _wrap_SoSeparator_initClass, METH_VARARGS, (char *)"SoSeparator_initClass()"}, - { (char *)"new_SoSeparator", _wrap_new_SoSeparator, METH_VARARGS, (char *)"\n" - "SoSeparator()\n" - "new_SoSeparator(int nchildren) -> SoSeparator\n" - ""}, - { (char *)"SoSeparator_renderCaching_set", _wrap_SoSeparator_renderCaching_set, METH_VARARGS, (char *)"SoSeparator_renderCaching_set(SoSeparator self, SoSFEnum renderCaching)"}, - { (char *)"SoSeparator_renderCaching_get", _wrap_SoSeparator_renderCaching_get, METH_VARARGS, (char *)"SoSeparator_renderCaching_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_boundingBoxCaching_set", _wrap_SoSeparator_boundingBoxCaching_set, METH_VARARGS, (char *)"SoSeparator_boundingBoxCaching_set(SoSeparator self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoSeparator_boundingBoxCaching_get", _wrap_SoSeparator_boundingBoxCaching_get, METH_VARARGS, (char *)"SoSeparator_boundingBoxCaching_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_renderCulling_set", _wrap_SoSeparator_renderCulling_set, METH_VARARGS, (char *)"SoSeparator_renderCulling_set(SoSeparator self, SoSFEnum renderCulling)"}, - { (char *)"SoSeparator_renderCulling_get", _wrap_SoSeparator_renderCulling_get, METH_VARARGS, (char *)"SoSeparator_renderCulling_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_pickCulling_set", _wrap_SoSeparator_pickCulling_set, METH_VARARGS, (char *)"SoSeparator_pickCulling_set(SoSeparator self, SoSFEnum pickCulling)"}, - { (char *)"SoSeparator_pickCulling_get", _wrap_SoSeparator_pickCulling_get, METH_VARARGS, (char *)"SoSeparator_pickCulling_get(SoSeparator self) -> SoSFEnum"}, - { (char *)"SoSeparator_doAction", _wrap_SoSeparator_doAction, METH_VARARGS, (char *)"SoSeparator_doAction(SoSeparator self, SoAction action)"}, - { (char *)"SoSeparator_GLRender", _wrap_SoSeparator_GLRender, METH_VARARGS, (char *)"SoSeparator_GLRender(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderBelowPath", _wrap_SoSeparator_GLRenderBelowPath, METH_VARARGS, (char *)"SoSeparator_GLRenderBelowPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderInPath", _wrap_SoSeparator_GLRenderInPath, METH_VARARGS, (char *)"SoSeparator_GLRenderInPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_GLRenderOffPath", _wrap_SoSeparator_GLRenderOffPath, METH_VARARGS, (char *)"SoSeparator_GLRenderOffPath(SoSeparator self, SoGLRenderAction action)"}, - { (char *)"SoSeparator_callback", _wrap_SoSeparator_callback, METH_VARARGS, (char *)"SoSeparator_callback(SoSeparator self, SoCallbackAction action)"}, - { (char *)"SoSeparator_getBoundingBox", _wrap_SoSeparator_getBoundingBox, METH_VARARGS, (char *)"SoSeparator_getBoundingBox(SoSeparator self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSeparator_getMatrix", _wrap_SoSeparator_getMatrix, METH_VARARGS, (char *)"SoSeparator_getMatrix(SoSeparator self, SoGetMatrixAction action)"}, - { (char *)"SoSeparator_handleEvent", _wrap_SoSeparator_handleEvent, METH_VARARGS, (char *)"SoSeparator_handleEvent(SoSeparator self, SoHandleEventAction action)"}, - { (char *)"SoSeparator_rayPick", _wrap_SoSeparator_rayPick, METH_VARARGS, (char *)"SoSeparator_rayPick(SoSeparator self, SoRayPickAction action)"}, - { (char *)"SoSeparator_search", _wrap_SoSeparator_search, METH_VARARGS, (char *)"SoSeparator_search(SoSeparator self, SoSearchAction action)"}, - { (char *)"SoSeparator_getPrimitiveCount", _wrap_SoSeparator_getPrimitiveCount, METH_VARARGS, (char *)"SoSeparator_getPrimitiveCount(SoSeparator self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSeparator_audioRender", _wrap_SoSeparator_audioRender, METH_VARARGS, (char *)"SoSeparator_audioRender(SoSeparator self, SoAudioRenderAction action)"}, - { (char *)"SoSeparator_notify", _wrap_SoSeparator_notify, METH_VARARGS, (char *)"SoSeparator_notify(SoSeparator self, SoNotList nl)"}, - { (char *)"SoSeparator_setNumRenderCaches", _wrap_SoSeparator_setNumRenderCaches, METH_VARARGS, (char *)"SoSeparator_setNumRenderCaches(int howmany)"}, - { (char *)"SoSeparator_getNumRenderCaches", _wrap_SoSeparator_getNumRenderCaches, METH_VARARGS, (char *)"SoSeparator_getNumRenderCaches() -> int"}, - { (char *)"SoSeparator_affectsState", _wrap_SoSeparator_affectsState, METH_VARARGS, (char *)"SoSeparator_affectsState(SoSeparator self) -> SbBool"}, - { (char *)"SoSeparator_swigregister", SoSeparator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAnnotation_getClassTypeId", _wrap_SoAnnotation_getClassTypeId, METH_VARARGS, (char *)"SoAnnotation_getClassTypeId() -> SoType"}, - { (char *)"SoAnnotation_getTypeId", _wrap_SoAnnotation_getTypeId, METH_VARARGS, (char *)"SoAnnotation_getTypeId(SoAnnotation self) -> SoType"}, - { (char *)"SoAnnotation_initClass", _wrap_SoAnnotation_initClass, METH_VARARGS, (char *)"SoAnnotation_initClass()"}, - { (char *)"new_SoAnnotation", _wrap_new_SoAnnotation, METH_VARARGS, (char *)"new_SoAnnotation() -> SoAnnotation"}, - { (char *)"SoAnnotation_GLRender", _wrap_SoAnnotation_GLRender, METH_VARARGS, (char *)"SoAnnotation_GLRender(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderBelowPath", _wrap_SoAnnotation_GLRenderBelowPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderBelowPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderInPath", _wrap_SoAnnotation_GLRenderInPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderInPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_GLRenderOffPath", _wrap_SoAnnotation_GLRenderOffPath, METH_VARARGS, (char *)"SoAnnotation_GLRenderOffPath(SoAnnotation self, SoGLRenderAction action)"}, - { (char *)"SoAnnotation_swigregister", SoAnnotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAntiSquish_getClassTypeId", _wrap_SoAntiSquish_getClassTypeId, METH_VARARGS, (char *)"SoAntiSquish_getClassTypeId() -> SoType"}, - { (char *)"SoAntiSquish_getTypeId", _wrap_SoAntiSquish_getTypeId, METH_VARARGS, (char *)"SoAntiSquish_getTypeId(SoAntiSquish self) -> SoType"}, - { (char *)"SoAntiSquish_initClass", _wrap_SoAntiSquish_initClass, METH_VARARGS, (char *)"SoAntiSquish_initClass()"}, - { (char *)"new_SoAntiSquish", _wrap_new_SoAntiSquish, METH_VARARGS, (char *)"new_SoAntiSquish() -> SoAntiSquish"}, - { (char *)"SoAntiSquish_sizing_set", _wrap_SoAntiSquish_sizing_set, METH_VARARGS, (char *)"SoAntiSquish_sizing_set(SoAntiSquish self, SoSFEnum sizing)"}, - { (char *)"SoAntiSquish_sizing_get", _wrap_SoAntiSquish_sizing_get, METH_VARARGS, (char *)"SoAntiSquish_sizing_get(SoAntiSquish self) -> SoSFEnum"}, - { (char *)"SoAntiSquish_recalcAlways_set", _wrap_SoAntiSquish_recalcAlways_set, METH_VARARGS, (char *)"SoAntiSquish_recalcAlways_set(SoAntiSquish self, SoSFBool recalcAlways)"}, - { (char *)"SoAntiSquish_recalcAlways_get", _wrap_SoAntiSquish_recalcAlways_get, METH_VARARGS, (char *)"SoAntiSquish_recalcAlways_get(SoAntiSquish self) -> SoSFBool"}, - { (char *)"SoAntiSquish_recalc", _wrap_SoAntiSquish_recalc, METH_VARARGS, (char *)"SoAntiSquish_recalc(SoAntiSquish self)"}, - { (char *)"SoAntiSquish_doAction", _wrap_SoAntiSquish_doAction, METH_VARARGS, (char *)"SoAntiSquish_doAction(SoAntiSquish self, SoAction action)"}, - { (char *)"SoAntiSquish_swigregister", SoAntiSquish_swigregister, METH_VARARGS, NULL}, - { (char *)"SoArray_getClassTypeId", _wrap_SoArray_getClassTypeId, METH_VARARGS, (char *)"SoArray_getClassTypeId() -> SoType"}, - { (char *)"SoArray_getTypeId", _wrap_SoArray_getTypeId, METH_VARARGS, (char *)"SoArray_getTypeId(SoArray self) -> SoType"}, - { (char *)"SoArray_initClass", _wrap_SoArray_initClass, METH_VARARGS, (char *)"SoArray_initClass()"}, - { (char *)"new_SoArray", _wrap_new_SoArray, METH_VARARGS, (char *)"new_SoArray() -> SoArray"}, - { (char *)"SoArray_origin_set", _wrap_SoArray_origin_set, METH_VARARGS, (char *)"SoArray_origin_set(SoArray self, SoSFEnum origin)"}, - { (char *)"SoArray_origin_get", _wrap_SoArray_origin_get, METH_VARARGS, (char *)"SoArray_origin_get(SoArray self) -> SoSFEnum"}, - { (char *)"SoArray_numElements1_set", _wrap_SoArray_numElements1_set, METH_VARARGS, (char *)"SoArray_numElements1_set(SoArray self, SoSFShort numElements1)"}, - { (char *)"SoArray_numElements1_get", _wrap_SoArray_numElements1_get, METH_VARARGS, (char *)"SoArray_numElements1_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_numElements2_set", _wrap_SoArray_numElements2_set, METH_VARARGS, (char *)"SoArray_numElements2_set(SoArray self, SoSFShort numElements2)"}, - { (char *)"SoArray_numElements2_get", _wrap_SoArray_numElements2_get, METH_VARARGS, (char *)"SoArray_numElements2_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_numElements3_set", _wrap_SoArray_numElements3_set, METH_VARARGS, (char *)"SoArray_numElements3_set(SoArray self, SoSFShort numElements3)"}, - { (char *)"SoArray_numElements3_get", _wrap_SoArray_numElements3_get, METH_VARARGS, (char *)"SoArray_numElements3_get(SoArray self) -> SoSFShort"}, - { (char *)"SoArray_separation1_set", _wrap_SoArray_separation1_set, METH_VARARGS, (char *)"SoArray_separation1_set(SoArray self, SoSFVec3f separation1)"}, - { (char *)"SoArray_separation1_get", _wrap_SoArray_separation1_get, METH_VARARGS, (char *)"SoArray_separation1_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_separation2_set", _wrap_SoArray_separation2_set, METH_VARARGS, (char *)"SoArray_separation2_set(SoArray self, SoSFVec3f separation2)"}, - { (char *)"SoArray_separation2_get", _wrap_SoArray_separation2_get, METH_VARARGS, (char *)"SoArray_separation2_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_separation3_set", _wrap_SoArray_separation3_set, METH_VARARGS, (char *)"SoArray_separation3_set(SoArray self, SoSFVec3f separation3)"}, - { (char *)"SoArray_separation3_get", _wrap_SoArray_separation3_get, METH_VARARGS, (char *)"SoArray_separation3_get(SoArray self) -> SoSFVec3f"}, - { (char *)"SoArray_affectsState", _wrap_SoArray_affectsState, METH_VARARGS, (char *)"SoArray_affectsState(SoArray self) -> SbBool"}, - { (char *)"SoArray_doAction", _wrap_SoArray_doAction, METH_VARARGS, (char *)"SoArray_doAction(SoArray self, SoAction action)"}, - { (char *)"SoArray_callback", _wrap_SoArray_callback, METH_VARARGS, (char *)"SoArray_callback(SoArray self, SoCallbackAction action)"}, - { (char *)"SoArray_GLRender", _wrap_SoArray_GLRender, METH_VARARGS, (char *)"SoArray_GLRender(SoArray self, SoGLRenderAction action)"}, - { (char *)"SoArray_pick", _wrap_SoArray_pick, METH_VARARGS, (char *)"SoArray_pick(SoArray self, SoPickAction action)"}, - { (char *)"SoArray_getBoundingBox", _wrap_SoArray_getBoundingBox, METH_VARARGS, (char *)"SoArray_getBoundingBox(SoArray self, SoGetBoundingBoxAction action)"}, - { (char *)"SoArray_handleEvent", _wrap_SoArray_handleEvent, METH_VARARGS, (char *)"SoArray_handleEvent(SoArray self, SoHandleEventAction action)"}, - { (char *)"SoArray_getMatrix", _wrap_SoArray_getMatrix, METH_VARARGS, (char *)"SoArray_getMatrix(SoArray self, SoGetMatrixAction action)"}, - { (char *)"SoArray_search", _wrap_SoArray_search, METH_VARARGS, (char *)"SoArray_search(SoArray self, SoSearchAction action)"}, - { (char *)"SoArray_getPrimitiveCount", _wrap_SoArray_getPrimitiveCount, METH_VARARGS, (char *)"SoArray_getPrimitiveCount(SoArray self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoArray_audioRender", _wrap_SoArray_audioRender, METH_VARARGS, (char *)"SoArray_audioRender(SoArray self, SoAudioRenderAction action)"}, - { (char *)"SoArray_swigregister", SoArray_swigregister, METH_VARARGS, NULL}, - { (char *)"SoAsciiText_getClassTypeId", _wrap_SoAsciiText_getClassTypeId, METH_VARARGS, (char *)"SoAsciiText_getClassTypeId() -> SoType"}, - { (char *)"SoAsciiText_getTypeId", _wrap_SoAsciiText_getTypeId, METH_VARARGS, (char *)"SoAsciiText_getTypeId(SoAsciiText self) -> SoType"}, - { (char *)"SoAsciiText_initClass", _wrap_SoAsciiText_initClass, METH_VARARGS, (char *)"SoAsciiText_initClass()"}, - { (char *)"new_SoAsciiText", _wrap_new_SoAsciiText, METH_VARARGS, (char *)"new_SoAsciiText() -> SoAsciiText"}, - { (char *)"SoAsciiText_string_set", _wrap_SoAsciiText_string_set, METH_VARARGS, (char *)"SoAsciiText_string_set(SoAsciiText self, SoMFString string)"}, - { (char *)"SoAsciiText_string_get", _wrap_SoAsciiText_string_get, METH_VARARGS, (char *)"SoAsciiText_string_get(SoAsciiText self) -> SoMFString"}, - { (char *)"SoAsciiText_spacing_set", _wrap_SoAsciiText_spacing_set, METH_VARARGS, (char *)"SoAsciiText_spacing_set(SoAsciiText self, SoSFFloat spacing)"}, - { (char *)"SoAsciiText_spacing_get", _wrap_SoAsciiText_spacing_get, METH_VARARGS, (char *)"SoAsciiText_spacing_get(SoAsciiText self) -> SoSFFloat"}, - { (char *)"SoAsciiText_justification_set", _wrap_SoAsciiText_justification_set, METH_VARARGS, (char *)"SoAsciiText_justification_set(SoAsciiText self, SoSFEnum justification)"}, - { (char *)"SoAsciiText_justification_get", _wrap_SoAsciiText_justification_get, METH_VARARGS, (char *)"SoAsciiText_justification_get(SoAsciiText self) -> SoSFEnum"}, - { (char *)"SoAsciiText_width_set", _wrap_SoAsciiText_width_set, METH_VARARGS, (char *)"SoAsciiText_width_set(SoAsciiText self, SoMFFloat width)"}, - { (char *)"SoAsciiText_width_get", _wrap_SoAsciiText_width_get, METH_VARARGS, (char *)"SoAsciiText_width_get(SoAsciiText self) -> SoMFFloat"}, - { (char *)"SoAsciiText_GLRender", _wrap_SoAsciiText_GLRender, METH_VARARGS, (char *)"SoAsciiText_GLRender(SoAsciiText self, SoGLRenderAction action)"}, - { (char *)"SoAsciiText_getPrimitiveCount", _wrap_SoAsciiText_getPrimitiveCount, METH_VARARGS, (char *)"SoAsciiText_getPrimitiveCount(SoAsciiText self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoAsciiText_swigregister", SoAsciiText_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBaseColor_getClassTypeId", _wrap_SoBaseColor_getClassTypeId, METH_VARARGS, (char *)"SoBaseColor_getClassTypeId() -> SoType"}, - { (char *)"SoBaseColor_getTypeId", _wrap_SoBaseColor_getTypeId, METH_VARARGS, (char *)"SoBaseColor_getTypeId(SoBaseColor self) -> SoType"}, - { (char *)"SoBaseColor_initClass", _wrap_SoBaseColor_initClass, METH_VARARGS, (char *)"SoBaseColor_initClass()"}, - { (char *)"new_SoBaseColor", _wrap_new_SoBaseColor, METH_VARARGS, (char *)"new_SoBaseColor() -> SoBaseColor"}, - { (char *)"SoBaseColor_rgb_set", _wrap_SoBaseColor_rgb_set, METH_VARARGS, (char *)"SoBaseColor_rgb_set(SoBaseColor self, SoMFColor rgb)"}, - { (char *)"SoBaseColor_rgb_get", _wrap_SoBaseColor_rgb_get, METH_VARARGS, (char *)"SoBaseColor_rgb_get(SoBaseColor self) -> SoMFColor"}, - { (char *)"SoBaseColor_doAction", _wrap_SoBaseColor_doAction, METH_VARARGS, (char *)"SoBaseColor_doAction(SoBaseColor self, SoAction action)"}, - { (char *)"SoBaseColor_GLRender", _wrap_SoBaseColor_GLRender, METH_VARARGS, (char *)"SoBaseColor_GLRender(SoBaseColor self, SoGLRenderAction action)"}, - { (char *)"SoBaseColor_callback", _wrap_SoBaseColor_callback, METH_VARARGS, (char *)"SoBaseColor_callback(SoBaseColor self, SoCallbackAction action)"}, - { (char *)"SoBaseColor_swigregister", SoBaseColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSwitch_getClassTypeId", _wrap_SoSwitch_getClassTypeId, METH_VARARGS, (char *)"SoSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoSwitch_getTypeId", _wrap_SoSwitch_getTypeId, METH_VARARGS, (char *)"SoSwitch_getTypeId(SoSwitch self) -> SoType"}, - { (char *)"SoSwitch_initClass", _wrap_SoSwitch_initClass, METH_VARARGS, (char *)"SoSwitch_initClass()"}, - { (char *)"new_SoSwitch", _wrap_new_SoSwitch, METH_VARARGS, (char *)"\n" - "SoSwitch()\n" - "new_SoSwitch(int numchildren) -> SoSwitch\n" - ""}, - { (char *)"SoSwitch_whichChild_set", _wrap_SoSwitch_whichChild_set, METH_VARARGS, (char *)"SoSwitch_whichChild_set(SoSwitch self, SoSFInt32 whichChild)"}, - { (char *)"SoSwitch_whichChild_get", _wrap_SoSwitch_whichChild_get, METH_VARARGS, (char *)"SoSwitch_whichChild_get(SoSwitch self) -> SoSFInt32"}, - { (char *)"SoSwitch_affectsState", _wrap_SoSwitch_affectsState, METH_VARARGS, (char *)"SoSwitch_affectsState(SoSwitch self) -> SbBool"}, - { (char *)"SoSwitch_doAction", _wrap_SoSwitch_doAction, METH_VARARGS, (char *)"SoSwitch_doAction(SoSwitch self, SoAction action)"}, - { (char *)"SoSwitch_callback", _wrap_SoSwitch_callback, METH_VARARGS, (char *)"SoSwitch_callback(SoSwitch self, SoCallbackAction action)"}, - { (char *)"SoSwitch_GLRender", _wrap_SoSwitch_GLRender, METH_VARARGS, (char *)"SoSwitch_GLRender(SoSwitch self, SoGLRenderAction action)"}, - { (char *)"SoSwitch_pick", _wrap_SoSwitch_pick, METH_VARARGS, (char *)"SoSwitch_pick(SoSwitch self, SoPickAction action)"}, - { (char *)"SoSwitch_getBoundingBox", _wrap_SoSwitch_getBoundingBox, METH_VARARGS, (char *)"SoSwitch_getBoundingBox(SoSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoSwitch_handleEvent", _wrap_SoSwitch_handleEvent, METH_VARARGS, (char *)"SoSwitch_handleEvent(SoSwitch self, SoHandleEventAction action)"}, - { (char *)"SoSwitch_getMatrix", _wrap_SoSwitch_getMatrix, METH_VARARGS, (char *)"SoSwitch_getMatrix(SoSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoSwitch_search", _wrap_SoSwitch_search, METH_VARARGS, (char *)"SoSwitch_search(SoSwitch self, SoSearchAction action)"}, - { (char *)"SoSwitch_write", _wrap_SoSwitch_write, METH_VARARGS, (char *)"SoSwitch_write(SoSwitch self, SoWriteAction action)"}, - { (char *)"SoSwitch_getPrimitiveCount", _wrap_SoSwitch_getPrimitiveCount, METH_VARARGS, (char *)"SoSwitch_getPrimitiveCount(SoSwitch self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSwitch_audioRender", _wrap_SoSwitch_audioRender, METH_VARARGS, (char *)"SoSwitch_audioRender(SoSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoSwitch_notify", _wrap_SoSwitch_notify, METH_VARARGS, (char *)"SoSwitch_notify(SoSwitch self, SoNotList nl)"}, - { (char *)"SoSwitch_swigregister", SoSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBlinker_getClassTypeId", _wrap_SoBlinker_getClassTypeId, METH_VARARGS, (char *)"SoBlinker_getClassTypeId() -> SoType"}, - { (char *)"SoBlinker_getTypeId", _wrap_SoBlinker_getTypeId, METH_VARARGS, (char *)"SoBlinker_getTypeId(SoBlinker self) -> SoType"}, - { (char *)"SoBlinker_initClass", _wrap_SoBlinker_initClass, METH_VARARGS, (char *)"SoBlinker_initClass()"}, - { (char *)"new_SoBlinker", _wrap_new_SoBlinker, METH_VARARGS, (char *)"new_SoBlinker() -> SoBlinker"}, - { (char *)"SoBlinker_speed_set", _wrap_SoBlinker_speed_set, METH_VARARGS, (char *)"SoBlinker_speed_set(SoBlinker self, SoSFFloat speed)"}, - { (char *)"SoBlinker_speed_get", _wrap_SoBlinker_speed_get, METH_VARARGS, (char *)"SoBlinker_speed_get(SoBlinker self) -> SoSFFloat"}, - { (char *)"SoBlinker_on_set", _wrap_SoBlinker_on_set, METH_VARARGS, (char *)"SoBlinker_on_set(SoBlinker self, SoSFBool on)"}, - { (char *)"SoBlinker_on_get", _wrap_SoBlinker_on_get, METH_VARARGS, (char *)"SoBlinker_on_get(SoBlinker self) -> SoSFBool"}, - { (char *)"SoBlinker_getBoundingBox", _wrap_SoBlinker_getBoundingBox, METH_VARARGS, (char *)"SoBlinker_getBoundingBox(SoBlinker self, SoGetBoundingBoxAction action)"}, - { (char *)"SoBlinker_write", _wrap_SoBlinker_write, METH_VARARGS, (char *)"SoBlinker_write(SoBlinker self, SoWriteAction action)"}, - { (char *)"SoBlinker_swigregister", SoBlinker_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapCoordinate_getClassTypeId", _wrap_SoBumpMapCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapCoordinate_getTypeId", _wrap_SoBumpMapCoordinate_getTypeId, METH_VARARGS, (char *)"SoBumpMapCoordinate_getTypeId(SoBumpMapCoordinate self) -> SoType"}, - { (char *)"SoBumpMapCoordinate_initClass", _wrap_SoBumpMapCoordinate_initClass, METH_VARARGS, (char *)"SoBumpMapCoordinate_initClass()"}, - { (char *)"new_SoBumpMapCoordinate", _wrap_new_SoBumpMapCoordinate, METH_VARARGS, (char *)"new_SoBumpMapCoordinate() -> SoBumpMapCoordinate"}, - { (char *)"SoBumpMapCoordinate_point_set", _wrap_SoBumpMapCoordinate_point_set, METH_VARARGS, (char *)"SoBumpMapCoordinate_point_set(SoBumpMapCoordinate self, SoMFVec2f point)"}, - { (char *)"SoBumpMapCoordinate_point_get", _wrap_SoBumpMapCoordinate_point_get, METH_VARARGS, (char *)"SoBumpMapCoordinate_point_get(SoBumpMapCoordinate self) -> SoMFVec2f"}, - { (char *)"SoBumpMapCoordinate_doAction", _wrap_SoBumpMapCoordinate_doAction, METH_VARARGS, (char *)"SoBumpMapCoordinate_doAction(SoBumpMapCoordinate self, SoAction action)"}, - { (char *)"SoBumpMapCoordinate_GLRender", _wrap_SoBumpMapCoordinate_GLRender, METH_VARARGS, (char *)"SoBumpMapCoordinate_GLRender(SoBumpMapCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoBumpMapCoordinate_callback", _wrap_SoBumpMapCoordinate_callback, METH_VARARGS, (char *)"SoBumpMapCoordinate_callback(SoBumpMapCoordinate self, SoCallbackAction action)"}, - { (char *)"SoBumpMapCoordinate_pick", _wrap_SoBumpMapCoordinate_pick, METH_VARARGS, (char *)"SoBumpMapCoordinate_pick(SoBumpMapCoordinate self, SoPickAction action)"}, - { (char *)"SoBumpMapCoordinate_swigregister", SoBumpMapCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMap_getClassTypeId", _wrap_SoBumpMap_getClassTypeId, METH_VARARGS, (char *)"SoBumpMap_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMap_getTypeId", _wrap_SoBumpMap_getTypeId, METH_VARARGS, (char *)"SoBumpMap_getTypeId(SoBumpMap self) -> SoType"}, - { (char *)"SoBumpMap_initClass", _wrap_SoBumpMap_initClass, METH_VARARGS, (char *)"SoBumpMap_initClass()"}, - { (char *)"new_SoBumpMap", _wrap_new_SoBumpMap, METH_VARARGS, (char *)"new_SoBumpMap() -> SoBumpMap"}, - { (char *)"SoBumpMap_filename_set", _wrap_SoBumpMap_filename_set, METH_VARARGS, (char *)"SoBumpMap_filename_set(SoBumpMap self, SoSFString filename)"}, - { (char *)"SoBumpMap_filename_get", _wrap_SoBumpMap_filename_get, METH_VARARGS, (char *)"SoBumpMap_filename_get(SoBumpMap self) -> SoSFString"}, - { (char *)"SoBumpMap_image_set", _wrap_SoBumpMap_image_set, METH_VARARGS, (char *)"SoBumpMap_image_set(SoBumpMap self, SoSFImage image)"}, - { (char *)"SoBumpMap_image_get", _wrap_SoBumpMap_image_get, METH_VARARGS, (char *)"SoBumpMap_image_get(SoBumpMap self) -> SoSFImage"}, - { (char *)"SoBumpMap_wrapS_set", _wrap_SoBumpMap_wrapS_set, METH_VARARGS, (char *)"SoBumpMap_wrapS_set(SoBumpMap self, SoSFEnum wrapS)"}, - { (char *)"SoBumpMap_wrapS_get", _wrap_SoBumpMap_wrapS_get, METH_VARARGS, (char *)"SoBumpMap_wrapS_get(SoBumpMap self) -> SoSFEnum"}, - { (char *)"SoBumpMap_wrapT_set", _wrap_SoBumpMap_wrapT_set, METH_VARARGS, (char *)"SoBumpMap_wrapT_set(SoBumpMap self, SoSFEnum wrapT)"}, - { (char *)"SoBumpMap_wrapT_get", _wrap_SoBumpMap_wrapT_get, METH_VARARGS, (char *)"SoBumpMap_wrapT_get(SoBumpMap self) -> SoSFEnum"}, - { (char *)"SoBumpMap_doAction", _wrap_SoBumpMap_doAction, METH_VARARGS, (char *)"SoBumpMap_doAction(SoBumpMap self, SoAction action)"}, - { (char *)"SoBumpMap_GLRender", _wrap_SoBumpMap_GLRender, METH_VARARGS, (char *)"SoBumpMap_GLRender(SoBumpMap self, SoGLRenderAction action)"}, - { (char *)"SoBumpMap_callback", _wrap_SoBumpMap_callback, METH_VARARGS, (char *)"SoBumpMap_callback(SoBumpMap self, SoCallbackAction action)"}, - { (char *)"SoBumpMap_rayPick", _wrap_SoBumpMap_rayPick, METH_VARARGS, (char *)"SoBumpMap_rayPick(SoBumpMap self, SoRayPickAction action)"}, - { (char *)"SoBumpMap_readImage", _wrap_SoBumpMap_readImage, METH_VARARGS, (char *)"SoBumpMap_readImage(SbString fname, int w, int h, int nc, unsigned char bytes) -> SbBool"}, - { (char *)"SoBumpMap_swigregister", SoBumpMap_swigregister, METH_VARARGS, NULL}, - { (char *)"SoBumpMapTransform_getClassTypeId", _wrap_SoBumpMapTransform_getClassTypeId, METH_VARARGS, (char *)"SoBumpMapTransform_getClassTypeId() -> SoType"}, - { (char *)"SoBumpMapTransform_getTypeId", _wrap_SoBumpMapTransform_getTypeId, METH_VARARGS, (char *)"SoBumpMapTransform_getTypeId(SoBumpMapTransform self) -> SoType"}, - { (char *)"SoBumpMapTransform_initClass", _wrap_SoBumpMapTransform_initClass, METH_VARARGS, (char *)"SoBumpMapTransform_initClass()"}, - { (char *)"new_SoBumpMapTransform", _wrap_new_SoBumpMapTransform, METH_VARARGS, (char *)"new_SoBumpMapTransform() -> SoBumpMapTransform"}, - { (char *)"SoBumpMapTransform_translation_set", _wrap_SoBumpMapTransform_translation_set, METH_VARARGS, (char *)"SoBumpMapTransform_translation_set(SoBumpMapTransform self, SoSFVec2f translation)"}, - { (char *)"SoBumpMapTransform_translation_get", _wrap_SoBumpMapTransform_translation_get, METH_VARARGS, (char *)"SoBumpMapTransform_translation_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_rotation_set", _wrap_SoBumpMapTransform_rotation_set, METH_VARARGS, (char *)"SoBumpMapTransform_rotation_set(SoBumpMapTransform self, SoSFFloat rotation)"}, - { (char *)"SoBumpMapTransform_rotation_get", _wrap_SoBumpMapTransform_rotation_get, METH_VARARGS, (char *)"SoBumpMapTransform_rotation_get(SoBumpMapTransform self) -> SoSFFloat"}, - { (char *)"SoBumpMapTransform_scaleFactor_set", _wrap_SoBumpMapTransform_scaleFactor_set, METH_VARARGS, (char *)"SoBumpMapTransform_scaleFactor_set(SoBumpMapTransform self, SoSFVec2f scaleFactor)"}, - { (char *)"SoBumpMapTransform_scaleFactor_get", _wrap_SoBumpMapTransform_scaleFactor_get, METH_VARARGS, (char *)"SoBumpMapTransform_scaleFactor_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_center_set", _wrap_SoBumpMapTransform_center_set, METH_VARARGS, (char *)"SoBumpMapTransform_center_set(SoBumpMapTransform self, SoSFVec2f center)"}, - { (char *)"SoBumpMapTransform_center_get", _wrap_SoBumpMapTransform_center_get, METH_VARARGS, (char *)"SoBumpMapTransform_center_get(SoBumpMapTransform self) -> SoSFVec2f"}, - { (char *)"SoBumpMapTransform_doAction", _wrap_SoBumpMapTransform_doAction, METH_VARARGS, (char *)"SoBumpMapTransform_doAction(SoBumpMapTransform self, SoAction action)"}, - { (char *)"SoBumpMapTransform_callback", _wrap_SoBumpMapTransform_callback, METH_VARARGS, (char *)"SoBumpMapTransform_callback(SoBumpMapTransform self, SoCallbackAction action)"}, - { (char *)"SoBumpMapTransform_GLRender", _wrap_SoBumpMapTransform_GLRender, METH_VARARGS, (char *)"SoBumpMapTransform_GLRender(SoBumpMapTransform self, SoGLRenderAction action)"}, - { (char *)"SoBumpMapTransform_getMatrix", _wrap_SoBumpMapTransform_getMatrix, METH_VARARGS, (char *)"SoBumpMapTransform_getMatrix(SoBumpMapTransform self, SoGetMatrixAction action)"}, - { (char *)"SoBumpMapTransform_pick", _wrap_SoBumpMapTransform_pick, METH_VARARGS, (char *)"SoBumpMapTransform_pick(SoBumpMapTransform self, SoPickAction action)"}, - { (char *)"SoBumpMapTransform_swigregister", SoBumpMapTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCallback_getClassTypeId", _wrap_SoCallback_getClassTypeId, METH_VARARGS, (char *)"SoCallback_getClassTypeId() -> SoType"}, - { (char *)"SoCallback_getTypeId", _wrap_SoCallback_getTypeId, METH_VARARGS, (char *)"SoCallback_getTypeId(SoCallback self) -> SoType"}, - { (char *)"SoCallback_initClass", _wrap_SoCallback_initClass, METH_VARARGS, (char *)"SoCallback_initClass()"}, - { (char *)"new_SoCallback", _wrap_new_SoCallback, METH_VARARGS, (char *)"new_SoCallback() -> SoCallback"}, - { (char *)"SoCallback_doAction", _wrap_SoCallback_doAction, METH_VARARGS, (char *)"SoCallback_doAction(SoCallback self, SoAction action)"}, - { (char *)"SoCallback_callback", _wrap_SoCallback_callback, METH_VARARGS, (char *)"SoCallback_callback(SoCallback self, SoCallbackAction action)"}, - { (char *)"SoCallback_GLRender", _wrap_SoCallback_GLRender, METH_VARARGS, (char *)"SoCallback_GLRender(SoCallback self, SoGLRenderAction action)"}, - { (char *)"SoCallback_getBoundingBox", _wrap_SoCallback_getBoundingBox, METH_VARARGS, (char *)"SoCallback_getBoundingBox(SoCallback self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCallback_getMatrix", _wrap_SoCallback_getMatrix, METH_VARARGS, (char *)"SoCallback_getMatrix(SoCallback self, SoGetMatrixAction action)"}, - { (char *)"SoCallback_handleEvent", _wrap_SoCallback_handleEvent, METH_VARARGS, (char *)"SoCallback_handleEvent(SoCallback self, SoHandleEventAction action)"}, - { (char *)"SoCallback_pick", _wrap_SoCallback_pick, METH_VARARGS, (char *)"SoCallback_pick(SoCallback self, SoPickAction action)"}, - { (char *)"SoCallback_search", _wrap_SoCallback_search, METH_VARARGS, (char *)"SoCallback_search(SoCallback self, SoSearchAction action)"}, - { (char *)"SoCallback_write", _wrap_SoCallback_write, METH_VARARGS, (char *)"SoCallback_write(SoCallback self, SoWriteAction action)"}, - { (char *)"SoCallback_getPrimitiveCount", _wrap_SoCallback_getPrimitiveCount, METH_VARARGS, (char *)"SoCallback_getPrimitiveCount(SoCallback self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCallback_setCallback", _wrap_SoCallback_setCallback, METH_VARARGS, (char *)"\n" - "setCallback(SoCallbackCB function, void userdata=None)\n" - "setCallback(SoCallbackCB function)\n" - "setCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoCallback_setCallback(SoCallback self, PyObject pyfunc)\n" - ""}, - { (char *)"SoCallback_swigregister", SoCallback_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCamera_getClassTypeId", _wrap_SoCamera_getClassTypeId, METH_VARARGS, (char *)"SoCamera_getClassTypeId() -> SoType"}, - { (char *)"SoCamera_getTypeId", _wrap_SoCamera_getTypeId, METH_VARARGS, (char *)"SoCamera_getTypeId(SoCamera self) -> SoType"}, - { (char *)"SoCamera_initClass", _wrap_SoCamera_initClass, METH_VARARGS, (char *)"SoCamera_initClass()"}, - { (char *)"SoCamera_viewportMapping_set", _wrap_SoCamera_viewportMapping_set, METH_VARARGS, (char *)"SoCamera_viewportMapping_set(SoCamera self, SoSFEnum viewportMapping)"}, - { (char *)"SoCamera_viewportMapping_get", _wrap_SoCamera_viewportMapping_get, METH_VARARGS, (char *)"SoCamera_viewportMapping_get(SoCamera self) -> SoSFEnum"}, - { (char *)"SoCamera_position_set", _wrap_SoCamera_position_set, METH_VARARGS, (char *)"SoCamera_position_set(SoCamera self, SoSFVec3f position)"}, - { (char *)"SoCamera_position_get", _wrap_SoCamera_position_get, METH_VARARGS, (char *)"SoCamera_position_get(SoCamera self) -> SoSFVec3f"}, - { (char *)"SoCamera_orientation_set", _wrap_SoCamera_orientation_set, METH_VARARGS, (char *)"SoCamera_orientation_set(SoCamera self, SoSFRotation orientation)"}, - { (char *)"SoCamera_orientation_get", _wrap_SoCamera_orientation_get, METH_VARARGS, (char *)"SoCamera_orientation_get(SoCamera self) -> SoSFRotation"}, - { (char *)"SoCamera_aspectRatio_set", _wrap_SoCamera_aspectRatio_set, METH_VARARGS, (char *)"SoCamera_aspectRatio_set(SoCamera self, SoSFFloat aspectRatio)"}, - { (char *)"SoCamera_aspectRatio_get", _wrap_SoCamera_aspectRatio_get, METH_VARARGS, (char *)"SoCamera_aspectRatio_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_nearDistance_set", _wrap_SoCamera_nearDistance_set, METH_VARARGS, (char *)"SoCamera_nearDistance_set(SoCamera self, SoSFFloat nearDistance)"}, - { (char *)"SoCamera_nearDistance_get", _wrap_SoCamera_nearDistance_get, METH_VARARGS, (char *)"SoCamera_nearDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_farDistance_set", _wrap_SoCamera_farDistance_set, METH_VARARGS, (char *)"SoCamera_farDistance_set(SoCamera self, SoSFFloat farDistance)"}, - { (char *)"SoCamera_farDistance_get", _wrap_SoCamera_farDistance_get, METH_VARARGS, (char *)"SoCamera_farDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_focalDistance_set", _wrap_SoCamera_focalDistance_set, METH_VARARGS, (char *)"SoCamera_focalDistance_set(SoCamera self, SoSFFloat focalDistance)"}, - { (char *)"SoCamera_focalDistance_get", _wrap_SoCamera_focalDistance_get, METH_VARARGS, (char *)"SoCamera_focalDistance_get(SoCamera self) -> SoSFFloat"}, - { (char *)"SoCamera_pointAt", _wrap_SoCamera_pointAt, METH_VARARGS, (char *)"\n" - "pointAt(SbVec3f targetpoint)\n" - "SoCamera_pointAt(SoCamera self, SbVec3f targetpoint, SbVec3f upvector)\n" - ""}, - { (char *)"SoCamera_scaleHeight", _wrap_SoCamera_scaleHeight, METH_VARARGS, (char *)"SoCamera_scaleHeight(SoCamera self, float scalefactor)"}, - { (char *)"SoCamera_getViewVolume", _wrap_SoCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoCamera_getViewVolume(SoCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoCamera_viewAll", _wrap_SoCamera_viewAll, METH_VARARGS, (char *)"\n" - "viewAll(SoNode sceneroot, SbViewportRegion vpregion, float slack=1.0)\n" - "viewAll(SoNode sceneroot, SbViewportRegion vpregion)\n" - "viewAll(SoPath path, SbViewportRegion vpregion, float slack=1.0)\n" - "SoCamera_viewAll(SoCamera self, SoPath path, SbViewportRegion vpregion)\n" - ""}, - { (char *)"SoCamera_getViewportBounds", _wrap_SoCamera_getViewportBounds, METH_VARARGS, (char *)"SoCamera_getViewportBounds(SoCamera self, SbViewportRegion region) -> SbViewportRegion"}, - { (char *)"SoCamera_setStereoMode", _wrap_SoCamera_setStereoMode, METH_VARARGS, (char *)"SoCamera_setStereoMode(SoCamera self, StereoMode mode)"}, - { (char *)"SoCamera_getStereoMode", _wrap_SoCamera_getStereoMode, METH_VARARGS, (char *)"SoCamera_getStereoMode(SoCamera self) -> StereoMode"}, - { (char *)"SoCamera_setStereoAdjustment", _wrap_SoCamera_setStereoAdjustment, METH_VARARGS, (char *)"SoCamera_setStereoAdjustment(SoCamera self, float adjustment)"}, - { (char *)"SoCamera_getStereoAdjustment", _wrap_SoCamera_getStereoAdjustment, METH_VARARGS, (char *)"SoCamera_getStereoAdjustment(SoCamera self) -> float"}, - { (char *)"SoCamera_setBalanceAdjustment", _wrap_SoCamera_setBalanceAdjustment, METH_VARARGS, (char *)"SoCamera_setBalanceAdjustment(SoCamera self, float adjustment)"}, - { (char *)"SoCamera_getBalanceAdjustment", _wrap_SoCamera_getBalanceAdjustment, METH_VARARGS, (char *)"SoCamera_getBalanceAdjustment(SoCamera self) -> float"}, - { (char *)"SoCamera_doAction", _wrap_SoCamera_doAction, METH_VARARGS, (char *)"SoCamera_doAction(SoCamera self, SoAction action)"}, - { (char *)"SoCamera_callback", _wrap_SoCamera_callback, METH_VARARGS, (char *)"SoCamera_callback(SoCamera self, SoCallbackAction action)"}, - { (char *)"SoCamera_GLRender", _wrap_SoCamera_GLRender, METH_VARARGS, (char *)"SoCamera_GLRender(SoCamera self, SoGLRenderAction action)"}, - { (char *)"SoCamera_audioRender", _wrap_SoCamera_audioRender, METH_VARARGS, (char *)"SoCamera_audioRender(SoCamera self, SoAudioRenderAction action)"}, - { (char *)"SoCamera_getBoundingBox", _wrap_SoCamera_getBoundingBox, METH_VARARGS, (char *)"SoCamera_getBoundingBox(SoCamera self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCamera_handleEvent", _wrap_SoCamera_handleEvent, METH_VARARGS, (char *)"SoCamera_handleEvent(SoCamera self, SoHandleEventAction action)"}, - { (char *)"SoCamera_rayPick", _wrap_SoCamera_rayPick, METH_VARARGS, (char *)"SoCamera_rayPick(SoCamera self, SoRayPickAction action)"}, - { (char *)"SoCamera_getPrimitiveCount", _wrap_SoCamera_getPrimitiveCount, METH_VARARGS, (char *)"SoCamera_getPrimitiveCount(SoCamera self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCamera_swigregister", SoCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoColorIndex_getClassTypeId", _wrap_SoColorIndex_getClassTypeId, METH_VARARGS, (char *)"SoColorIndex_getClassTypeId() -> SoType"}, - { (char *)"SoColorIndex_getTypeId", _wrap_SoColorIndex_getTypeId, METH_VARARGS, (char *)"SoColorIndex_getTypeId(SoColorIndex self) -> SoType"}, - { (char *)"SoColorIndex_initClass", _wrap_SoColorIndex_initClass, METH_VARARGS, (char *)"SoColorIndex_initClass()"}, - { (char *)"new_SoColorIndex", _wrap_new_SoColorIndex, METH_VARARGS, (char *)"new_SoColorIndex() -> SoColorIndex"}, - { (char *)"SoColorIndex_index_set", _wrap_SoColorIndex_index_set, METH_VARARGS, (char *)"SoColorIndex_index_set(SoColorIndex self, SoMFInt32 index)"}, - { (char *)"SoColorIndex_index_get", _wrap_SoColorIndex_index_get, METH_VARARGS, (char *)"SoColorIndex_index_get(SoColorIndex self) -> SoMFInt32"}, - { (char *)"SoColorIndex_GLRender", _wrap_SoColorIndex_GLRender, METH_VARARGS, (char *)"SoColorIndex_GLRender(SoColorIndex self, SoGLRenderAction action)"}, - { (char *)"SoColorIndex_swigregister", SoColorIndex_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCone_getClassTypeId", _wrap_SoCone_getClassTypeId, METH_VARARGS, (char *)"SoCone_getClassTypeId() -> SoType"}, - { (char *)"SoCone_getTypeId", _wrap_SoCone_getTypeId, METH_VARARGS, (char *)"SoCone_getTypeId(SoCone self) -> SoType"}, - { (char *)"SoCone_initClass", _wrap_SoCone_initClass, METH_VARARGS, (char *)"SoCone_initClass()"}, - { (char *)"new_SoCone", _wrap_new_SoCone, METH_VARARGS, (char *)"new_SoCone() -> SoCone"}, - { (char *)"SoCone_parts_set", _wrap_SoCone_parts_set, METH_VARARGS, (char *)"SoCone_parts_set(SoCone self, SoSFBitMask parts)"}, - { (char *)"SoCone_parts_get", _wrap_SoCone_parts_get, METH_VARARGS, (char *)"SoCone_parts_get(SoCone self) -> SoSFBitMask"}, - { (char *)"SoCone_bottomRadius_set", _wrap_SoCone_bottomRadius_set, METH_VARARGS, (char *)"SoCone_bottomRadius_set(SoCone self, SoSFFloat bottomRadius)"}, - { (char *)"SoCone_bottomRadius_get", _wrap_SoCone_bottomRadius_get, METH_VARARGS, (char *)"SoCone_bottomRadius_get(SoCone self) -> SoSFFloat"}, - { (char *)"SoCone_height_set", _wrap_SoCone_height_set, METH_VARARGS, (char *)"SoCone_height_set(SoCone self, SoSFFloat height)"}, - { (char *)"SoCone_height_get", _wrap_SoCone_height_get, METH_VARARGS, (char *)"SoCone_height_get(SoCone self) -> SoSFFloat"}, - { (char *)"SoCone_addPart", _wrap_SoCone_addPart, METH_VARARGS, (char *)"SoCone_addPart(SoCone self, Part part)"}, - { (char *)"SoCone_removePart", _wrap_SoCone_removePart, METH_VARARGS, (char *)"SoCone_removePart(SoCone self, Part part)"}, - { (char *)"SoCone_hasPart", _wrap_SoCone_hasPart, METH_VARARGS, (char *)"SoCone_hasPart(SoCone self, Part part) -> SbBool"}, - { (char *)"SoCone_GLRender", _wrap_SoCone_GLRender, METH_VARARGS, (char *)"SoCone_GLRender(SoCone self, SoGLRenderAction action)"}, - { (char *)"SoCone_rayPick", _wrap_SoCone_rayPick, METH_VARARGS, (char *)"SoCone_rayPick(SoCone self, SoRayPickAction action)"}, - { (char *)"SoCone_getPrimitiveCount", _wrap_SoCone_getPrimitiveCount, METH_VARARGS, (char *)"SoCone_getPrimitiveCount(SoCone self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCone_swigregister", SoCone_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinate3_getClassTypeId", _wrap_SoCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinate3_getTypeId", _wrap_SoCoordinate3_getTypeId, METH_VARARGS, (char *)"SoCoordinate3_getTypeId(SoCoordinate3 self) -> SoType"}, - { (char *)"SoCoordinate3_initClass", _wrap_SoCoordinate3_initClass, METH_VARARGS, (char *)"SoCoordinate3_initClass()"}, - { (char *)"new_SoCoordinate3", _wrap_new_SoCoordinate3, METH_VARARGS, (char *)"new_SoCoordinate3() -> SoCoordinate3"}, - { (char *)"SoCoordinate3_point_set", _wrap_SoCoordinate3_point_set, METH_VARARGS, (char *)"SoCoordinate3_point_set(SoCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoCoordinate3_point_get", _wrap_SoCoordinate3_point_get, METH_VARARGS, (char *)"SoCoordinate3_point_get(SoCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoCoordinate3_doAction", _wrap_SoCoordinate3_doAction, METH_VARARGS, (char *)"SoCoordinate3_doAction(SoCoordinate3 self, SoAction action)"}, - { (char *)"SoCoordinate3_GLRender", _wrap_SoCoordinate3_GLRender, METH_VARARGS, (char *)"SoCoordinate3_GLRender(SoCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoCoordinate3_callback", _wrap_SoCoordinate3_callback, METH_VARARGS, (char *)"SoCoordinate3_callback(SoCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoCoordinate3_getBoundingBox", _wrap_SoCoordinate3_getBoundingBox, METH_VARARGS, (char *)"SoCoordinate3_getBoundingBox(SoCoordinate3 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCoordinate3_pick", _wrap_SoCoordinate3_pick, METH_VARARGS, (char *)"SoCoordinate3_pick(SoCoordinate3 self, SoPickAction action)"}, - { (char *)"SoCoordinate3_getPrimitiveCount", _wrap_SoCoordinate3_getPrimitiveCount, METH_VARARGS, (char *)"SoCoordinate3_getPrimitiveCount(SoCoordinate3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCoordinate3_swigregister", SoCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCoordinate4_getClassTypeId", _wrap_SoCoordinate4_getClassTypeId, METH_VARARGS, (char *)"SoCoordinate4_getClassTypeId() -> SoType"}, - { (char *)"SoCoordinate4_getTypeId", _wrap_SoCoordinate4_getTypeId, METH_VARARGS, (char *)"SoCoordinate4_getTypeId(SoCoordinate4 self) -> SoType"}, - { (char *)"SoCoordinate4_initClass", _wrap_SoCoordinate4_initClass, METH_VARARGS, (char *)"SoCoordinate4_initClass()"}, - { (char *)"new_SoCoordinate4", _wrap_new_SoCoordinate4, METH_VARARGS, (char *)"new_SoCoordinate4() -> SoCoordinate4"}, - { (char *)"SoCoordinate4_point_set", _wrap_SoCoordinate4_point_set, METH_VARARGS, (char *)"SoCoordinate4_point_set(SoCoordinate4 self, SoMFVec4f point)"}, - { (char *)"SoCoordinate4_point_get", _wrap_SoCoordinate4_point_get, METH_VARARGS, (char *)"SoCoordinate4_point_get(SoCoordinate4 self) -> SoMFVec4f"}, - { (char *)"SoCoordinate4_doAction", _wrap_SoCoordinate4_doAction, METH_VARARGS, (char *)"SoCoordinate4_doAction(SoCoordinate4 self, SoAction action)"}, - { (char *)"SoCoordinate4_GLRender", _wrap_SoCoordinate4_GLRender, METH_VARARGS, (char *)"SoCoordinate4_GLRender(SoCoordinate4 self, SoGLRenderAction action)"}, - { (char *)"SoCoordinate4_getBoundingBox", _wrap_SoCoordinate4_getBoundingBox, METH_VARARGS, (char *)"SoCoordinate4_getBoundingBox(SoCoordinate4 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoCoordinate4_callback", _wrap_SoCoordinate4_callback, METH_VARARGS, (char *)"SoCoordinate4_callback(SoCoordinate4 self, SoCallbackAction action)"}, - { (char *)"SoCoordinate4_pick", _wrap_SoCoordinate4_pick, METH_VARARGS, (char *)"SoCoordinate4_pick(SoCoordinate4 self, SoPickAction action)"}, - { (char *)"SoCoordinate4_getPrimitiveCount", _wrap_SoCoordinate4_getPrimitiveCount, METH_VARARGS, (char *)"SoCoordinate4_getPrimitiveCount(SoCoordinate4 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCoordinate4_swigregister", SoCoordinate4_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCube_getClassTypeId", _wrap_SoCube_getClassTypeId, METH_VARARGS, (char *)"SoCube_getClassTypeId() -> SoType"}, - { (char *)"SoCube_getTypeId", _wrap_SoCube_getTypeId, METH_VARARGS, (char *)"SoCube_getTypeId(SoCube self) -> SoType"}, - { (char *)"SoCube_initClass", _wrap_SoCube_initClass, METH_VARARGS, (char *)"SoCube_initClass()"}, - { (char *)"new_SoCube", _wrap_new_SoCube, METH_VARARGS, (char *)"new_SoCube() -> SoCube"}, - { (char *)"SoCube_width_set", _wrap_SoCube_width_set, METH_VARARGS, (char *)"SoCube_width_set(SoCube self, SoSFFloat width)"}, - { (char *)"SoCube_width_get", _wrap_SoCube_width_get, METH_VARARGS, (char *)"SoCube_width_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_height_set", _wrap_SoCube_height_set, METH_VARARGS, (char *)"SoCube_height_set(SoCube self, SoSFFloat height)"}, - { (char *)"SoCube_height_get", _wrap_SoCube_height_get, METH_VARARGS, (char *)"SoCube_height_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_depth_set", _wrap_SoCube_depth_set, METH_VARARGS, (char *)"SoCube_depth_set(SoCube self, SoSFFloat depth)"}, - { (char *)"SoCube_depth_get", _wrap_SoCube_depth_get, METH_VARARGS, (char *)"SoCube_depth_get(SoCube self) -> SoSFFloat"}, - { (char *)"SoCube_GLRender", _wrap_SoCube_GLRender, METH_VARARGS, (char *)"SoCube_GLRender(SoCube self, SoGLRenderAction action)"}, - { (char *)"SoCube_rayPick", _wrap_SoCube_rayPick, METH_VARARGS, (char *)"SoCube_rayPick(SoCube self, SoRayPickAction action)"}, - { (char *)"SoCube_getPrimitiveCount", _wrap_SoCube_getPrimitiveCount, METH_VARARGS, (char *)"SoCube_getPrimitiveCount(SoCube self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCube_swigregister", SoCube_swigregister, METH_VARARGS, NULL}, - { (char *)"SoCylinder_getClassTypeId", _wrap_SoCylinder_getClassTypeId, METH_VARARGS, (char *)"SoCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoCylinder_getTypeId", _wrap_SoCylinder_getTypeId, METH_VARARGS, (char *)"SoCylinder_getTypeId(SoCylinder self) -> SoType"}, - { (char *)"SoCylinder_initClass", _wrap_SoCylinder_initClass, METH_VARARGS, (char *)"SoCylinder_initClass()"}, - { (char *)"new_SoCylinder", _wrap_new_SoCylinder, METH_VARARGS, (char *)"new_SoCylinder() -> SoCylinder"}, - { (char *)"SoCylinder_radius_set", _wrap_SoCylinder_radius_set, METH_VARARGS, (char *)"SoCylinder_radius_set(SoCylinder self, SoSFFloat radius)"}, - { (char *)"SoCylinder_radius_get", _wrap_SoCylinder_radius_get, METH_VARARGS, (char *)"SoCylinder_radius_get(SoCylinder self) -> SoSFFloat"}, - { (char *)"SoCylinder_height_set", _wrap_SoCylinder_height_set, METH_VARARGS, (char *)"SoCylinder_height_set(SoCylinder self, SoSFFloat height)"}, - { (char *)"SoCylinder_height_get", _wrap_SoCylinder_height_get, METH_VARARGS, (char *)"SoCylinder_height_get(SoCylinder self) -> SoSFFloat"}, - { (char *)"SoCylinder_parts_set", _wrap_SoCylinder_parts_set, METH_VARARGS, (char *)"SoCylinder_parts_set(SoCylinder self, SoSFBitMask parts)"}, - { (char *)"SoCylinder_parts_get", _wrap_SoCylinder_parts_get, METH_VARARGS, (char *)"SoCylinder_parts_get(SoCylinder self) -> SoSFBitMask"}, - { (char *)"SoCylinder_addPart", _wrap_SoCylinder_addPart, METH_VARARGS, (char *)"SoCylinder_addPart(SoCylinder self, Part part)"}, - { (char *)"SoCylinder_removePart", _wrap_SoCylinder_removePart, METH_VARARGS, (char *)"SoCylinder_removePart(SoCylinder self, Part part)"}, - { (char *)"SoCylinder_hasPart", _wrap_SoCylinder_hasPart, METH_VARARGS, (char *)"SoCylinder_hasPart(SoCylinder self, Part part) -> SbBool"}, - { (char *)"SoCylinder_rayPick", _wrap_SoCylinder_rayPick, METH_VARARGS, (char *)"SoCylinder_rayPick(SoCylinder self, SoRayPickAction action)"}, - { (char *)"SoCylinder_getPrimitiveCount", _wrap_SoCylinder_getPrimitiveCount, METH_VARARGS, (char *)"SoCylinder_getPrimitiveCount(SoCylinder self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoCylinder_GLRender", _wrap_SoCylinder_GLRender, METH_VARARGS, (char *)"SoCylinder_GLRender(SoCylinder self, SoGLRenderAction action)"}, - { (char *)"SoCylinder_swigregister", SoCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEnvironment_getClassTypeId", _wrap_SoEnvironment_getClassTypeId, METH_VARARGS, (char *)"SoEnvironment_getClassTypeId() -> SoType"}, - { (char *)"SoEnvironment_getTypeId", _wrap_SoEnvironment_getTypeId, METH_VARARGS, (char *)"SoEnvironment_getTypeId(SoEnvironment self) -> SoType"}, - { (char *)"SoEnvironment_initClass", _wrap_SoEnvironment_initClass, METH_VARARGS, (char *)"SoEnvironment_initClass()"}, - { (char *)"new_SoEnvironment", _wrap_new_SoEnvironment, METH_VARARGS, (char *)"new_SoEnvironment() -> SoEnvironment"}, - { (char *)"SoEnvironment_GLRender", _wrap_SoEnvironment_GLRender, METH_VARARGS, (char *)"SoEnvironment_GLRender(SoEnvironment self, SoGLRenderAction action)"}, - { (char *)"SoEnvironment_callback", _wrap_SoEnvironment_callback, METH_VARARGS, (char *)"SoEnvironment_callback(SoEnvironment self, SoCallbackAction action)"}, - { (char *)"SoEnvironment_ambientIntensity_set", _wrap_SoEnvironment_ambientIntensity_set, METH_VARARGS, (char *)"SoEnvironment_ambientIntensity_set(SoEnvironment self, SoSFFloat ambientIntensity)"}, - { (char *)"SoEnvironment_ambientIntensity_get", _wrap_SoEnvironment_ambientIntensity_get, METH_VARARGS, (char *)"SoEnvironment_ambientIntensity_get(SoEnvironment self) -> SoSFFloat"}, - { (char *)"SoEnvironment_ambientColor_set", _wrap_SoEnvironment_ambientColor_set, METH_VARARGS, (char *)"SoEnvironment_ambientColor_set(SoEnvironment self, SoSFColor ambientColor)"}, - { (char *)"SoEnvironment_ambientColor_get", _wrap_SoEnvironment_ambientColor_get, METH_VARARGS, (char *)"SoEnvironment_ambientColor_get(SoEnvironment self) -> SoSFColor"}, - { (char *)"SoEnvironment_attenuation_set", _wrap_SoEnvironment_attenuation_set, METH_VARARGS, (char *)"SoEnvironment_attenuation_set(SoEnvironment self, SoSFVec3f attenuation)"}, - { (char *)"SoEnvironment_attenuation_get", _wrap_SoEnvironment_attenuation_get, METH_VARARGS, (char *)"SoEnvironment_attenuation_get(SoEnvironment self) -> SoSFVec3f"}, - { (char *)"SoEnvironment_fogType_set", _wrap_SoEnvironment_fogType_set, METH_VARARGS, (char *)"SoEnvironment_fogType_set(SoEnvironment self, SoSFEnum fogType)"}, - { (char *)"SoEnvironment_fogType_get", _wrap_SoEnvironment_fogType_get, METH_VARARGS, (char *)"SoEnvironment_fogType_get(SoEnvironment self) -> SoSFEnum"}, - { (char *)"SoEnvironment_fogColor_set", _wrap_SoEnvironment_fogColor_set, METH_VARARGS, (char *)"SoEnvironment_fogColor_set(SoEnvironment self, SoSFColor fogColor)"}, - { (char *)"SoEnvironment_fogColor_get", _wrap_SoEnvironment_fogColor_get, METH_VARARGS, (char *)"SoEnvironment_fogColor_get(SoEnvironment self) -> SoSFColor"}, - { (char *)"SoEnvironment_fogVisibility_set", _wrap_SoEnvironment_fogVisibility_set, METH_VARARGS, (char *)"SoEnvironment_fogVisibility_set(SoEnvironment self, SoSFFloat fogVisibility)"}, - { (char *)"SoEnvironment_fogVisibility_get", _wrap_SoEnvironment_fogVisibility_get, METH_VARARGS, (char *)"SoEnvironment_fogVisibility_get(SoEnvironment self) -> SoSFFloat"}, - { (char *)"SoEnvironment_swigregister", SoEnvironment_swigregister, METH_VARARGS, NULL}, - { (char *)"SoEventCallback_getClassTypeId", _wrap_SoEventCallback_getClassTypeId, METH_VARARGS, (char *)"SoEventCallback_getClassTypeId() -> SoType"}, - { (char *)"SoEventCallback_getTypeId", _wrap_SoEventCallback_getTypeId, METH_VARARGS, (char *)"SoEventCallback_getTypeId(SoEventCallback self) -> SoType"}, - { (char *)"SoEventCallback_initClass", _wrap_SoEventCallback_initClass, METH_VARARGS, (char *)"SoEventCallback_initClass()"}, - { (char *)"new_SoEventCallback", _wrap_new_SoEventCallback, METH_VARARGS, (char *)"new_SoEventCallback() -> SoEventCallback"}, - { (char *)"SoEventCallback_setPath", _wrap_SoEventCallback_setPath, METH_VARARGS, (char *)"SoEventCallback_setPath(SoEventCallback self, SoPath path)"}, - { (char *)"SoEventCallback_getPath", _wrap_SoEventCallback_getPath, METH_VARARGS, (char *)"SoEventCallback_getPath(SoEventCallback self) -> SoPath"}, - { (char *)"SoEventCallback_getAction", _wrap_SoEventCallback_getAction, METH_VARARGS, (char *)"SoEventCallback_getAction(SoEventCallback self) -> SoHandleEventAction"}, - { (char *)"SoEventCallback_getEvent", _wrap_SoEventCallback_getEvent, METH_VARARGS, (char *)"SoEventCallback_getEvent(SoEventCallback self) -> SoEvent"}, - { (char *)"SoEventCallback_getPickedPoint", _wrap_SoEventCallback_getPickedPoint, METH_VARARGS, (char *)"SoEventCallback_getPickedPoint(SoEventCallback self) -> SoPickedPoint"}, - { (char *)"SoEventCallback_setHandled", _wrap_SoEventCallback_setHandled, METH_VARARGS, (char *)"SoEventCallback_setHandled(SoEventCallback self)"}, - { (char *)"SoEventCallback_isHandled", _wrap_SoEventCallback_isHandled, METH_VARARGS, (char *)"SoEventCallback_isHandled(SoEventCallback self) -> SbBool"}, - { (char *)"SoEventCallback_grabEvents", _wrap_SoEventCallback_grabEvents, METH_VARARGS, (char *)"SoEventCallback_grabEvents(SoEventCallback self)"}, - { (char *)"SoEventCallback_releaseEvents", _wrap_SoEventCallback_releaseEvents, METH_VARARGS, (char *)"SoEventCallback_releaseEvents(SoEventCallback self)"}, - { (char *)"SoEventCallback_addEventCallback", _wrap_SoEventCallback_addEventCallback, METH_VARARGS, (char *)"\n" - "addEventCallback(SoType eventtype, SoEventCallbackCB f, void userdata=None)\n" - "addEventCallback(SoType eventtype, SoEventCallbackCB f)\n" - "addEventCallback(SoType eventtype, PyObject pyfunc, PyObject userdata=None)\n" - "SoEventCallback_addEventCallback(SoEventCallback self, SoType eventtype, PyObject pyfunc)\n" - ""}, - { (char *)"SoEventCallback_removeEventCallback", _wrap_SoEventCallback_removeEventCallback, METH_VARARGS, (char *)"\n" - "removeEventCallback(SoType eventtype, SoEventCallbackCB f, void userdata=None)\n" - "removeEventCallback(SoType eventtype, SoEventCallbackCB f)\n" - "removeEventCallback(SoType eventtype, PyObject pyfunc, PyObject userdata=None)\n" - "SoEventCallback_removeEventCallback(SoEventCallback self, SoType eventtype, PyObject pyfunc)\n" - ""}, - { (char *)"SoEventCallback_swigregister", SoEventCallback_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSelection_getClassTypeId", _wrap_SoSelection_getClassTypeId, METH_VARARGS, (char *)"SoSelection_getClassTypeId() -> SoType"}, - { (char *)"SoSelection_getTypeId", _wrap_SoSelection_getTypeId, METH_VARARGS, (char *)"SoSelection_getTypeId(SoSelection self) -> SoType"}, - { (char *)"SoSelection_initClass", _wrap_SoSelection_initClass, METH_VARARGS, (char *)"SoSelection_initClass()"}, - { (char *)"SoSelection_policy_set", _wrap_SoSelection_policy_set, METH_VARARGS, (char *)"SoSelection_policy_set(SoSelection self, SoSFEnum policy)"}, - { (char *)"SoSelection_policy_get", _wrap_SoSelection_policy_get, METH_VARARGS, (char *)"SoSelection_policy_get(SoSelection self) -> SoSFEnum"}, - { (char *)"new_SoSelection", _wrap_new_SoSelection, METH_VARARGS, (char *)"\n" - "SoSelection()\n" - "new_SoSelection(int nChildren) -> SoSelection\n" - ""}, - { (char *)"SoSelection_select", _wrap_SoSelection_select, METH_VARARGS, (char *)"\n" - "select(SoPath path)\n" - "SoSelection_select(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_deselect", _wrap_SoSelection_deselect, METH_VARARGS, (char *)"\n" - "deselect(SoPath path)\n" - "deselect(int which)\n" - "SoSelection_deselect(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_toggle", _wrap_SoSelection_toggle, METH_VARARGS, (char *)"\n" - "toggle(SoPath path)\n" - "SoSelection_toggle(SoSelection self, SoNode node)\n" - ""}, - { (char *)"SoSelection_isSelected", _wrap_SoSelection_isSelected, METH_VARARGS, (char *)"\n" - "isSelected(SoPath path) -> SbBool\n" - "SoSelection_isSelected(SoSelection self, SoNode node) -> SbBool\n" - ""}, - { (char *)"SoSelection_deselectAll", _wrap_SoSelection_deselectAll, METH_VARARGS, (char *)"SoSelection_deselectAll(SoSelection self)"}, - { (char *)"SoSelection_getNumSelected", _wrap_SoSelection_getNumSelected, METH_VARARGS, (char *)"SoSelection_getNumSelected(SoSelection self) -> int"}, - { (char *)"SoSelection_getList", _wrap_SoSelection_getList, METH_VARARGS, (char *)"SoSelection_getList(SoSelection self) -> SoPathList"}, - { (char *)"SoSelection_getPath", _wrap_SoSelection_getPath, METH_VARARGS, (char *)"SoSelection_getPath(SoSelection self, int index) -> SoPath"}, - { (char *)"SoSelection_setPickMatching", _wrap_SoSelection_setPickMatching, METH_VARARGS, (char *)"SoSelection_setPickMatching(SoSelection self, SbBool pickMatching)"}, - { (char *)"SoSelection_isPickMatching", _wrap_SoSelection_isPickMatching, METH_VARARGS, (char *)"SoSelection_isPickMatching(SoSelection self) -> SbBool"}, - { (char *)"SoSelection_getPickMatching", _wrap_SoSelection_getPickMatching, METH_VARARGS, (char *)"SoSelection_getPickMatching(SoSelection self) -> SbBool"}, - { (char *)"SoSelection_addSelectionCallback", _wrap_SoSelection_addSelectionCallback, METH_VARARGS, (char *)"\n" - "addSelectionCallback(SoSelectionPathCB f, void userData=None)\n" - "addSelectionCallback(SoSelectionPathCB f)\n" - "addSelectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addSelectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeSelectionCallback", _wrap_SoSelection_removeSelectionCallback, METH_VARARGS, (char *)"\n" - "removeSelectionCallback(SoSelectionPathCB f, void userData=None)\n" - "removeSelectionCallback(SoSelectionPathCB f)\n" - "removeSelectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeSelectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addDeselectionCallback", _wrap_SoSelection_addDeselectionCallback, METH_VARARGS, (char *)"\n" - "addDeselectionCallback(SoSelectionPathCB f, void userData=None)\n" - "addDeselectionCallback(SoSelectionPathCB f)\n" - "addDeselectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addDeselectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeDeselectionCallback", _wrap_SoSelection_removeDeselectionCallback, METH_VARARGS, (char *)"\n" - "removeDeselectionCallback(SoSelectionPathCB f, void userData=None)\n" - "removeDeselectionCallback(SoSelectionPathCB f)\n" - "removeDeselectionCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeDeselectionCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addStartCallback", _wrap_SoSelection_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoSelectionClassCB f, void userData=None)\n" - "addStartCallback(SoSelectionClassCB f)\n" - "addStartCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addStartCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeStartCallback", _wrap_SoSelection_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoSelectionClassCB f, void userData=None)\n" - "removeStartCallback(SoSelectionClassCB f)\n" - "removeStartCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeStartCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addFinishCallback", _wrap_SoSelection_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoSelectionClassCB f, void userData=None)\n" - "addFinishCallback(SoSelectionClassCB f)\n" - "addFinishCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addFinishCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeFinishCallback", _wrap_SoSelection_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoSelectionClassCB f, void userData=None)\n" - "removeFinishCallback(SoSelectionClassCB f)\n" - "removeFinishCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeFinishCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_setPickFilterCallback", _wrap_SoSelection_setPickFilterCallback, METH_VARARGS, (char *)"\n" - "setPickFilterCallback(SoSelectionPickCB f, void userData=None, SbBool callOnlyIfSelectable=1)\n" - "setPickFilterCallback(SoSelectionPickCB f, void userData=None)\n" - "setPickFilterCallback(SoSelectionPickCB f)\n" - "setPickFilterCallback(PyObject pyfunc, PyObject userdata=None, int callOnlyIfSelectable=1)\n" - "setPickFilterCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_setPickFilterCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_addChangeCallback", _wrap_SoSelection_addChangeCallback, METH_VARARGS, (char *)"\n" - "addChangeCallback(SoSelectionClassCB f, void userData=None)\n" - "addChangeCallback(SoSelectionClassCB f)\n" - "addChangeCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_addChangeCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_removeChangeCallback", _wrap_SoSelection_removeChangeCallback, METH_VARARGS, (char *)"\n" - "removeChangeCallback(SoSelectionClassCB f, void userData=None)\n" - "removeChangeCallback(SoSelectionClassCB f)\n" - "removeChangeCallback(PyObject pyfunc, PyObject userdata=None)\n" - "SoSelection_removeChangeCallback(SoSelection self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSelection_swigregister", SoSelection_swigregister, METH_VARARGS, NULL}, - { (char *)"SoExtSelection_getClassTypeId", _wrap_SoExtSelection_getClassTypeId, METH_VARARGS, (char *)"SoExtSelection_getClassTypeId() -> SoType"}, - { (char *)"SoExtSelection_getTypeId", _wrap_SoExtSelection_getTypeId, METH_VARARGS, (char *)"SoExtSelection_getTypeId(SoExtSelection self) -> SoType"}, - { (char *)"SoExtSelection_initClass", _wrap_SoExtSelection_initClass, METH_VARARGS, (char *)"SoExtSelection_initClass()"}, - { (char *)"new_SoExtSelection", _wrap_new_SoExtSelection, METH_VARARGS, (char *)"new_SoExtSelection() -> SoExtSelection"}, - { (char *)"SoExtSelection_lassoType_set", _wrap_SoExtSelection_lassoType_set, METH_VARARGS, (char *)"SoExtSelection_lassoType_set(SoExtSelection self, SoSFEnum lassoType)"}, - { (char *)"SoExtSelection_lassoType_get", _wrap_SoExtSelection_lassoType_get, METH_VARARGS, (char *)"SoExtSelection_lassoType_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_lassoPolicy_set", _wrap_SoExtSelection_lassoPolicy_set, METH_VARARGS, (char *)"SoExtSelection_lassoPolicy_set(SoExtSelection self, SoSFEnum lassoPolicy)"}, - { (char *)"SoExtSelection_lassoPolicy_get", _wrap_SoExtSelection_lassoPolicy_get, METH_VARARGS, (char *)"SoExtSelection_lassoPolicy_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_lassoMode_set", _wrap_SoExtSelection_lassoMode_set, METH_VARARGS, (char *)"SoExtSelection_lassoMode_set(SoExtSelection self, SoSFEnum lassoMode)"}, - { (char *)"SoExtSelection_lassoMode_get", _wrap_SoExtSelection_lassoMode_get, METH_VARARGS, (char *)"SoExtSelection_lassoMode_get(SoExtSelection self) -> SoSFEnum"}, - { (char *)"SoExtSelection_useOverlay", _wrap_SoExtSelection_useOverlay, METH_VARARGS, (char *)"\n" - "useOverlay(SbBool overlay=1)\n" - "SoExtSelection_useOverlay(SoExtSelection self)\n" - ""}, - { (char *)"SoExtSelection_isUsingOverlay", _wrap_SoExtSelection_isUsingOverlay, METH_VARARGS, (char *)"SoExtSelection_isUsingOverlay(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_getOverlaySceneGraph", _wrap_SoExtSelection_getOverlaySceneGraph, METH_VARARGS, (char *)"SoExtSelection_getOverlaySceneGraph(SoExtSelection self) -> SoSeparator"}, - { (char *)"SoExtSelection_setOverlayLassoColorIndex", _wrap_SoExtSelection_setOverlayLassoColorIndex, METH_VARARGS, (char *)"SoExtSelection_setOverlayLassoColorIndex(SoExtSelection self, int index)"}, - { (char *)"SoExtSelection_getOverlayLassoColorIndex", _wrap_SoExtSelection_getOverlayLassoColorIndex, METH_VARARGS, (char *)"SoExtSelection_getOverlayLassoColorIndex(SoExtSelection self) -> int"}, - { (char *)"SoExtSelection_setLassoColor", _wrap_SoExtSelection_setLassoColor, METH_VARARGS, (char *)"SoExtSelection_setLassoColor(SoExtSelection self, SbColor color)"}, - { (char *)"SoExtSelection_getLassoColor", _wrap_SoExtSelection_getLassoColor, METH_VARARGS, (char *)"SoExtSelection_getLassoColor(SoExtSelection self) -> SbColor"}, - { (char *)"SoExtSelection_setLassoWidth", _wrap_SoExtSelection_setLassoWidth, METH_VARARGS, (char *)"SoExtSelection_setLassoWidth(SoExtSelection self, float width)"}, - { (char *)"SoExtSelection_getLassoWidth", _wrap_SoExtSelection_getLassoWidth, METH_VARARGS, (char *)"SoExtSelection_getLassoWidth(SoExtSelection self) -> float"}, - { (char *)"SoExtSelection_setOverlayLassoPattern", _wrap_SoExtSelection_setOverlayLassoPattern, METH_VARARGS, (char *)"SoExtSelection_setOverlayLassoPattern(SoExtSelection self, unsigned short pattern)"}, - { (char *)"SoExtSelection_getOverlayLassoPattern", _wrap_SoExtSelection_getOverlayLassoPattern, METH_VARARGS, (char *)"SoExtSelection_getOverlayLassoPattern(SoExtSelection self) -> unsigned short"}, - { (char *)"SoExtSelection_animateOverlayLasso", _wrap_SoExtSelection_animateOverlayLasso, METH_VARARGS, (char *)"\n" - "animateOverlayLasso(SbBool animate=1)\n" - "SoExtSelection_animateOverlayLasso(SoExtSelection self)\n" - ""}, - { (char *)"SoExtSelection_isOverlayLassoAnimated", _wrap_SoExtSelection_isOverlayLassoAnimated, METH_VARARGS, (char *)"SoExtSelection_isOverlayLassoAnimated(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_handleEvent", _wrap_SoExtSelection_handleEvent, METH_VARARGS, (char *)"SoExtSelection_handleEvent(SoExtSelection self, SoHandleEventAction action)"}, - { (char *)"SoExtSelection_GLRenderBelowPath", _wrap_SoExtSelection_GLRenderBelowPath, METH_VARARGS, (char *)"SoExtSelection_GLRenderBelowPath(SoExtSelection self, SoGLRenderAction action)"}, - { (char *)"SoExtSelection_setLassoFilterCallback", _wrap_SoExtSelection_setLassoFilterCallback, METH_VARARGS, (char *)"\n" - "setLassoFilterCallback(SoLassoSelectionFilterCB f, void userdata=None, SbBool callonlyifselectable=1)\n" - "setLassoFilterCallback(SoLassoSelectionFilterCB f, void userdata=None)\n" - "SoExtSelection_setLassoFilterCallback(SoExtSelection self, SoLassoSelectionFilterCB f)\n" - ""}, - { (char *)"SoExtSelection_setTriangleFilterCallback", _wrap_SoExtSelection_setTriangleFilterCallback, METH_VARARGS, (char *)"\n" - "setTriangleFilterCallback(SoExtSelectionTriangleCB func, void userdata=None)\n" - "SoExtSelection_setTriangleFilterCallback(SoExtSelection self, SoExtSelectionTriangleCB func)\n" - ""}, - { (char *)"SoExtSelection_setLineSegmentFilterCallback", _wrap_SoExtSelection_setLineSegmentFilterCallback, METH_VARARGS, (char *)"\n" - "setLineSegmentFilterCallback(SoExtSelectionLineSegmentCB func, void userdata=None)\n" - "SoExtSelection_setLineSegmentFilterCallback(SoExtSelection self, SoExtSelectionLineSegmentCB func)\n" - ""}, - { (char *)"SoExtSelection_setPointFilterCallback", _wrap_SoExtSelection_setPointFilterCallback, METH_VARARGS, (char *)"\n" - "setPointFilterCallback(SoExtSelectionPointCB func, void userdata=None)\n" - "SoExtSelection_setPointFilterCallback(SoExtSelection self, SoExtSelectionPointCB func)\n" - ""}, - { (char *)"SoExtSelection_wasShiftDown", _wrap_SoExtSelection_wasShiftDown, METH_VARARGS, (char *)"SoExtSelection_wasShiftDown(SoExtSelection self) -> SbBool"}, - { (char *)"SoExtSelection_swigregister", SoExtSelection_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexProperty_getClassTypeId", _wrap_SoVertexProperty_getClassTypeId, METH_VARARGS, (char *)"SoVertexProperty_getClassTypeId() -> SoType"}, - { (char *)"SoVertexProperty_getTypeId", _wrap_SoVertexProperty_getTypeId, METH_VARARGS, (char *)"SoVertexProperty_getTypeId(SoVertexProperty self) -> SoType"}, - { (char *)"SoVertexProperty_initClass", _wrap_SoVertexProperty_initClass, METH_VARARGS, (char *)"SoVertexProperty_initClass()"}, - { (char *)"new_SoVertexProperty", _wrap_new_SoVertexProperty, METH_VARARGS, (char *)"new_SoVertexProperty() -> SoVertexProperty"}, - { (char *)"SoVertexProperty_vertex_set", _wrap_SoVertexProperty_vertex_set, METH_VARARGS, (char *)"SoVertexProperty_vertex_set(SoVertexProperty self, SoMFVec3f vertex)"}, - { (char *)"SoVertexProperty_vertex_get", _wrap_SoVertexProperty_vertex_get, METH_VARARGS, (char *)"SoVertexProperty_vertex_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_texCoord_set", _wrap_SoVertexProperty_texCoord_set, METH_VARARGS, (char *)"SoVertexProperty_texCoord_set(SoVertexProperty self, SoMFVec2f texCoord)"}, - { (char *)"SoVertexProperty_texCoord_get", _wrap_SoVertexProperty_texCoord_get, METH_VARARGS, (char *)"SoVertexProperty_texCoord_get(SoVertexProperty self) -> SoMFVec2f"}, - { (char *)"SoVertexProperty_texCoord3_set", _wrap_SoVertexProperty_texCoord3_set, METH_VARARGS, (char *)"SoVertexProperty_texCoord3_set(SoVertexProperty self, SoMFVec3f texCoord3)"}, - { (char *)"SoVertexProperty_texCoord3_get", _wrap_SoVertexProperty_texCoord3_get, METH_VARARGS, (char *)"SoVertexProperty_texCoord3_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_normal_set", _wrap_SoVertexProperty_normal_set, METH_VARARGS, (char *)"SoVertexProperty_normal_set(SoVertexProperty self, SoMFVec3f normal)"}, - { (char *)"SoVertexProperty_normal_get", _wrap_SoVertexProperty_normal_get, METH_VARARGS, (char *)"SoVertexProperty_normal_get(SoVertexProperty self) -> SoMFVec3f"}, - { (char *)"SoVertexProperty_normalBinding_set", _wrap_SoVertexProperty_normalBinding_set, METH_VARARGS, (char *)"SoVertexProperty_normalBinding_set(SoVertexProperty self, SoSFEnum normalBinding)"}, - { (char *)"SoVertexProperty_normalBinding_get", _wrap_SoVertexProperty_normalBinding_get, METH_VARARGS, (char *)"SoVertexProperty_normalBinding_get(SoVertexProperty self) -> SoSFEnum"}, - { (char *)"SoVertexProperty_orderedRGBA_set", _wrap_SoVertexProperty_orderedRGBA_set, METH_VARARGS, (char *)"SoVertexProperty_orderedRGBA_set(SoVertexProperty self, SoMFUInt32 orderedRGBA)"}, - { (char *)"SoVertexProperty_orderedRGBA_get", _wrap_SoVertexProperty_orderedRGBA_get, METH_VARARGS, (char *)"SoVertexProperty_orderedRGBA_get(SoVertexProperty self) -> SoMFUInt32"}, - { (char *)"SoVertexProperty_materialBinding_set", _wrap_SoVertexProperty_materialBinding_set, METH_VARARGS, (char *)"SoVertexProperty_materialBinding_set(SoVertexProperty self, SoSFEnum materialBinding)"}, - { (char *)"SoVertexProperty_materialBinding_get", _wrap_SoVertexProperty_materialBinding_get, METH_VARARGS, (char *)"SoVertexProperty_materialBinding_get(SoVertexProperty self) -> SoSFEnum"}, - { (char *)"SoVertexProperty_doAction", _wrap_SoVertexProperty_doAction, METH_VARARGS, (char *)"SoVertexProperty_doAction(SoVertexProperty self, SoAction action)"}, - { (char *)"SoVertexProperty_GLRender", _wrap_SoVertexProperty_GLRender, METH_VARARGS, (char *)"SoVertexProperty_GLRender(SoVertexProperty self, SoGLRenderAction action)"}, - { (char *)"SoVertexProperty_getBoundingBox", _wrap_SoVertexProperty_getBoundingBox, METH_VARARGS, (char *)"SoVertexProperty_getBoundingBox(SoVertexProperty self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVertexProperty_callback", _wrap_SoVertexProperty_callback, METH_VARARGS, (char *)"SoVertexProperty_callback(SoVertexProperty self, SoCallbackAction action)"}, - { (char *)"SoVertexProperty_pick", _wrap_SoVertexProperty_pick, METH_VARARGS, (char *)"SoVertexProperty_pick(SoVertexProperty self, SoPickAction action)"}, - { (char *)"SoVertexProperty_getPrimitiveCount", _wrap_SoVertexProperty_getPrimitiveCount, METH_VARARGS, (char *)"SoVertexProperty_getPrimitiveCount(SoVertexProperty self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVertexProperty_swigregister", SoVertexProperty_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVertexShape_getClassTypeId", _wrap_SoVertexShape_getClassTypeId, METH_VARARGS, (char *)"SoVertexShape_getClassTypeId() -> SoType"}, - { (char *)"SoVertexShape_getTypeId", _wrap_SoVertexShape_getTypeId, METH_VARARGS, (char *)"SoVertexShape_getTypeId(SoVertexShape self) -> SoType"}, - { (char *)"SoVertexShape_initClass", _wrap_SoVertexShape_initClass, METH_VARARGS, (char *)"SoVertexShape_initClass()"}, - { (char *)"SoVertexShape_vertexProperty_set", _wrap_SoVertexShape_vertexProperty_set, METH_VARARGS, (char *)"SoVertexShape_vertexProperty_set(SoVertexShape self, SoSFNode vertexProperty)"}, - { (char *)"SoVertexShape_vertexProperty_get", _wrap_SoVertexShape_vertexProperty_get, METH_VARARGS, (char *)"SoVertexShape_vertexProperty_get(SoVertexShape self) -> SoSFNode"}, - { (char *)"SoVertexShape_notify", _wrap_SoVertexShape_notify, METH_VARARGS, (char *)"SoVertexShape_notify(SoVertexShape self, SoNotList nl)"}, - { (char *)"SoVertexShape_generateDefaultNormals", _wrap_SoVertexShape_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState state, SoNormalBundle bundle) -> SbBool\n" - "SoVertexShape_generateDefaultNormals(SoVertexShape self, SoState state, SoNormalCache cache) -> SbBool\n" - ""}, - { (char *)"SoVertexShape_write", _wrap_SoVertexShape_write, METH_VARARGS, (char *)"SoVertexShape_write(SoVertexShape self, SoWriteAction action)"}, - { (char *)"SoVertexShape_swigregister", SoVertexShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNonIndexedShape_getClassTypeId", _wrap_SoNonIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoNonIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoNonIndexedShape_getTypeId", _wrap_SoNonIndexedShape_getTypeId, METH_VARARGS, (char *)"SoNonIndexedShape_getTypeId(SoNonIndexedShape self) -> SoType"}, - { (char *)"SoNonIndexedShape_initClass", _wrap_SoNonIndexedShape_initClass, METH_VARARGS, (char *)"SoNonIndexedShape_initClass()"}, - { (char *)"SoNonIndexedShape_startIndex_set", _wrap_SoNonIndexedShape_startIndex_set, METH_VARARGS, (char *)"SoNonIndexedShape_startIndex_set(SoNonIndexedShape self, SoSFInt32 startIndex)"}, - { (char *)"SoNonIndexedShape_startIndex_get", _wrap_SoNonIndexedShape_startIndex_get, METH_VARARGS, (char *)"SoNonIndexedShape_startIndex_get(SoNonIndexedShape self) -> SoSFInt32"}, - { (char *)"SoNonIndexedShape_swigregister", SoNonIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFaceSet_getClassTypeId", _wrap_SoFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoFaceSet_getTypeId", _wrap_SoFaceSet_getTypeId, METH_VARARGS, (char *)"SoFaceSet_getTypeId(SoFaceSet self) -> SoType"}, - { (char *)"SoFaceSet_initClass", _wrap_SoFaceSet_initClass, METH_VARARGS, (char *)"SoFaceSet_initClass()"}, - { (char *)"new_SoFaceSet", _wrap_new_SoFaceSet, METH_VARARGS, (char *)"new_SoFaceSet() -> SoFaceSet"}, - { (char *)"SoFaceSet_numVertices_set", _wrap_SoFaceSet_numVertices_set, METH_VARARGS, (char *)"SoFaceSet_numVertices_set(SoFaceSet self, SoMFInt32 numVertices)"}, - { (char *)"SoFaceSet_numVertices_get", _wrap_SoFaceSet_numVertices_get, METH_VARARGS, (char *)"SoFaceSet_numVertices_get(SoFaceSet self) -> SoMFInt32"}, - { (char *)"SoFaceSet_GLRender", _wrap_SoFaceSet_GLRender, METH_VARARGS, (char *)"SoFaceSet_GLRender(SoFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoFaceSet_generateDefaultNormals", _wrap_SoFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"SoFaceSet_generateDefaultNormals(SoFaceSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoFaceSet_getPrimitiveCount", _wrap_SoFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoFaceSet_getPrimitiveCount(SoFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFaceSet_swigregister", SoFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFile_getClassTypeId", _wrap_SoFile_getClassTypeId, METH_VARARGS, (char *)"SoFile_getClassTypeId() -> SoType"}, - { (char *)"SoFile_getTypeId", _wrap_SoFile_getTypeId, METH_VARARGS, (char *)"SoFile_getTypeId(SoFile self) -> SoType"}, - { (char *)"SoFile_initClass", _wrap_SoFile_initClass, METH_VARARGS, (char *)"SoFile_initClass()"}, - { (char *)"new_SoFile", _wrap_new_SoFile, METH_VARARGS, (char *)"new_SoFile() -> SoFile"}, - { (char *)"SoFile_name_set", _wrap_SoFile_name_set, METH_VARARGS, (char *)"SoFile_name_set(SoFile self, SoSFString name)"}, - { (char *)"SoFile_name_get", _wrap_SoFile_name_get, METH_VARARGS, (char *)"SoFile_name_get(SoFile self) -> SoSFString"}, - { (char *)"SoFile_doAction", _wrap_SoFile_doAction, METH_VARARGS, (char *)"SoFile_doAction(SoFile self, SoAction action)"}, - { (char *)"SoFile_callback", _wrap_SoFile_callback, METH_VARARGS, (char *)"SoFile_callback(SoFile self, SoCallbackAction action)"}, - { (char *)"SoFile_GLRender", _wrap_SoFile_GLRender, METH_VARARGS, (char *)"SoFile_GLRender(SoFile self, SoGLRenderAction action)"}, - { (char *)"SoFile_getBoundingBox", _wrap_SoFile_getBoundingBox, METH_VARARGS, (char *)"SoFile_getBoundingBox(SoFile self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFile_getMatrix", _wrap_SoFile_getMatrix, METH_VARARGS, (char *)"SoFile_getMatrix(SoFile self, SoGetMatrixAction action)"}, - { (char *)"SoFile_handleEvent", _wrap_SoFile_handleEvent, METH_VARARGS, (char *)"SoFile_handleEvent(SoFile self, SoHandleEventAction action)"}, - { (char *)"SoFile_pick", _wrap_SoFile_pick, METH_VARARGS, (char *)"SoFile_pick(SoFile self, SoPickAction action)"}, - { (char *)"SoFile_getPrimitiveCount", _wrap_SoFile_getPrimitiveCount, METH_VARARGS, (char *)"SoFile_getPrimitiveCount(SoFile self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFile_audioRender", _wrap_SoFile_audioRender, METH_VARARGS, (char *)"SoFile_audioRender(SoFile self, SoAudioRenderAction action)"}, - { (char *)"SoFile_copyChildren", _wrap_SoFile_copyChildren, METH_VARARGS, (char *)"SoFile_copyChildren(SoFile self) -> SoGroup"}, - { (char *)"SoFile_getChildren", _wrap_SoFile_getChildren, METH_VARARGS, (char *)"SoFile_getChildren(SoFile self) -> SoChildList"}, - { (char *)"SoFile_copyContents", _wrap_SoFile_copyContents, METH_VARARGS, (char *)"SoFile_copyContents(SoFile self, SoFieldContainer from, SbBool copyconnections)"}, - { (char *)"SoFile_getFullName", _wrap_SoFile_getFullName, METH_VARARGS, (char *)"SoFile_getFullName(SoFile self) -> SbString"}, - { (char *)"SoFile_swigregister", SoFile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFont_getClassTypeId", _wrap_SoFont_getClassTypeId, METH_VARARGS, (char *)"SoFont_getClassTypeId() -> SoType"}, - { (char *)"SoFont_getTypeId", _wrap_SoFont_getTypeId, METH_VARARGS, (char *)"SoFont_getTypeId(SoFont self) -> SoType"}, - { (char *)"SoFont_initClass", _wrap_SoFont_initClass, METH_VARARGS, (char *)"SoFont_initClass()"}, - { (char *)"new_SoFont", _wrap_new_SoFont, METH_VARARGS, (char *)"new_SoFont() -> SoFont"}, - { (char *)"SoFont_name_set", _wrap_SoFont_name_set, METH_VARARGS, (char *)"SoFont_name_set(SoFont self, SoSFName name)"}, - { (char *)"SoFont_name_get", _wrap_SoFont_name_get, METH_VARARGS, (char *)"SoFont_name_get(SoFont self) -> SoSFName"}, - { (char *)"SoFont_size_set", _wrap_SoFont_size_set, METH_VARARGS, (char *)"SoFont_size_set(SoFont self, SoSFFloat size)"}, - { (char *)"SoFont_size_get", _wrap_SoFont_size_get, METH_VARARGS, (char *)"SoFont_size_get(SoFont self) -> SoSFFloat"}, - { (char *)"SoFont_doAction", _wrap_SoFont_doAction, METH_VARARGS, (char *)"SoFont_doAction(SoFont self, SoAction action)"}, - { (char *)"SoFont_getBoundingBox", _wrap_SoFont_getBoundingBox, METH_VARARGS, (char *)"SoFont_getBoundingBox(SoFont self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFont_GLRender", _wrap_SoFont_GLRender, METH_VARARGS, (char *)"SoFont_GLRender(SoFont self, SoGLRenderAction action)"}, - { (char *)"SoFont_callback", _wrap_SoFont_callback, METH_VARARGS, (char *)"SoFont_callback(SoFont self, SoCallbackAction action)"}, - { (char *)"SoFont_pick", _wrap_SoFont_pick, METH_VARARGS, (char *)"SoFont_pick(SoFont self, SoPickAction action)"}, - { (char *)"SoFont_getPrimitiveCount", _wrap_SoFont_getPrimitiveCount, METH_VARARGS, (char *)"SoFont_getPrimitiveCount(SoFont self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFont_swigregister", SoFont_swigregister, METH_VARARGS, NULL}, - { (char *)"SoFontStyle_getClassTypeId", _wrap_SoFontStyle_getClassTypeId, METH_VARARGS, (char *)"SoFontStyle_getClassTypeId() -> SoType"}, - { (char *)"SoFontStyle_getTypeId", _wrap_SoFontStyle_getTypeId, METH_VARARGS, (char *)"SoFontStyle_getTypeId(SoFontStyle self) -> SoType"}, - { (char *)"SoFontStyle_initClass", _wrap_SoFontStyle_initClass, METH_VARARGS, (char *)"SoFontStyle_initClass()"}, - { (char *)"new_SoFontStyle", _wrap_new_SoFontStyle, METH_VARARGS, (char *)"new_SoFontStyle() -> SoFontStyle"}, - { (char *)"SoFontStyle_family_set", _wrap_SoFontStyle_family_set, METH_VARARGS, (char *)"SoFontStyle_family_set(SoFontStyle self, SoSFEnum family)"}, - { (char *)"SoFontStyle_family_get", _wrap_SoFontStyle_family_get, METH_VARARGS, (char *)"SoFontStyle_family_get(SoFontStyle self) -> SoSFEnum"}, - { (char *)"SoFontStyle_style_set", _wrap_SoFontStyle_style_set, METH_VARARGS, (char *)"SoFontStyle_style_set(SoFontStyle self, SoSFBitMask style)"}, - { (char *)"SoFontStyle_style_get", _wrap_SoFontStyle_style_get, METH_VARARGS, (char *)"SoFontStyle_style_get(SoFontStyle self) -> SoSFBitMask"}, - { (char *)"SoFontStyle_getFontName", _wrap_SoFontStyle_getFontName, METH_VARARGS, (char *)"SoFontStyle_getFontName(SoFontStyle self) -> SbString"}, - { (char *)"SoFontStyle_doAction", _wrap_SoFontStyle_doAction, METH_VARARGS, (char *)"SoFontStyle_doAction(SoFontStyle self, SoAction action)"}, - { (char *)"SoFontStyle_getBoundingBox", _wrap_SoFontStyle_getBoundingBox, METH_VARARGS, (char *)"SoFontStyle_getBoundingBox(SoFontStyle self, SoGetBoundingBoxAction action)"}, - { (char *)"SoFontStyle_GLRender", _wrap_SoFontStyle_GLRender, METH_VARARGS, (char *)"SoFontStyle_GLRender(SoFontStyle self, SoGLRenderAction action)"}, - { (char *)"SoFontStyle_callback", _wrap_SoFontStyle_callback, METH_VARARGS, (char *)"SoFontStyle_callback(SoFontStyle self, SoCallbackAction action)"}, - { (char *)"SoFontStyle_pick", _wrap_SoFontStyle_pick, METH_VARARGS, (char *)"SoFontStyle_pick(SoFontStyle self, SoPickAction action)"}, - { (char *)"SoFontStyle_getPrimitiveCount", _wrap_SoFontStyle_getPrimitiveCount, METH_VARARGS, (char *)"SoFontStyle_getPrimitiveCount(SoFontStyle self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoFontStyle_swigregister", SoFontStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedShape_getClassTypeId", _wrap_SoIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedShape_getTypeId", _wrap_SoIndexedShape_getTypeId, METH_VARARGS, (char *)"SoIndexedShape_getTypeId(SoIndexedShape self) -> SoType"}, - { (char *)"SoIndexedShape_initClass", _wrap_SoIndexedShape_initClass, METH_VARARGS, (char *)"SoIndexedShape_initClass()"}, - { (char *)"SoIndexedShape_coordIndex_set", _wrap_SoIndexedShape_coordIndex_set, METH_VARARGS, (char *)"SoIndexedShape_coordIndex_set(SoIndexedShape self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedShape_coordIndex_get", _wrap_SoIndexedShape_coordIndex_get, METH_VARARGS, (char *)"SoIndexedShape_coordIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_materialIndex_set", _wrap_SoIndexedShape_materialIndex_set, METH_VARARGS, (char *)"SoIndexedShape_materialIndex_set(SoIndexedShape self, SoMFInt32 materialIndex)"}, - { (char *)"SoIndexedShape_materialIndex_get", _wrap_SoIndexedShape_materialIndex_get, METH_VARARGS, (char *)"SoIndexedShape_materialIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_normalIndex_set", _wrap_SoIndexedShape_normalIndex_set, METH_VARARGS, (char *)"SoIndexedShape_normalIndex_set(SoIndexedShape self, SoMFInt32 normalIndex)"}, - { (char *)"SoIndexedShape_normalIndex_get", _wrap_SoIndexedShape_normalIndex_get, METH_VARARGS, (char *)"SoIndexedShape_normalIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_textureCoordIndex_set", _wrap_SoIndexedShape_textureCoordIndex_set, METH_VARARGS, (char *)"SoIndexedShape_textureCoordIndex_set(SoIndexedShape self, SoMFInt32 textureCoordIndex)"}, - { (char *)"SoIndexedShape_textureCoordIndex_get", _wrap_SoIndexedShape_textureCoordIndex_get, METH_VARARGS, (char *)"SoIndexedShape_textureCoordIndex_get(SoIndexedShape self) -> SoMFInt32"}, - { (char *)"SoIndexedShape_swigregister", SoIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedFaceSet_getClassTypeId", _wrap_SoIndexedFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedFaceSet_getTypeId", _wrap_SoIndexedFaceSet_getTypeId, METH_VARARGS, (char *)"SoIndexedFaceSet_getTypeId(SoIndexedFaceSet self) -> SoType"}, - { (char *)"SoIndexedFaceSet_initClass", _wrap_SoIndexedFaceSet_initClass, METH_VARARGS, (char *)"SoIndexedFaceSet_initClass()"}, - { (char *)"new_SoIndexedFaceSet", _wrap_new_SoIndexedFaceSet, METH_VARARGS, (char *)"new_SoIndexedFaceSet() -> SoIndexedFaceSet"}, - { (char *)"SoIndexedFaceSet_GLRender", _wrap_SoIndexedFaceSet_GLRender, METH_VARARGS, (char *)"SoIndexedFaceSet_GLRender(SoIndexedFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedFaceSet_getPrimitiveCount", _wrap_SoIndexedFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedFaceSet_getPrimitiveCount(SoIndexedFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedFaceSet_generateDefaultNormals", _wrap_SoIndexedFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState state, SoNormalBundle bundle) -> SbBool\n" - "SoIndexedFaceSet_generateDefaultNormals(SoIndexedFaceSet self, SoState state, SoNormalCache cache) -> SbBool\n" - ""}, - { (char *)"SoIndexedFaceSet_swigregister", SoIndexedFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedLineSet_getClassTypeId", _wrap_SoIndexedLineSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedLineSet_getTypeId", _wrap_SoIndexedLineSet_getTypeId, METH_VARARGS, (char *)"SoIndexedLineSet_getTypeId(SoIndexedLineSet self) -> SoType"}, - { (char *)"SoIndexedLineSet_initClass", _wrap_SoIndexedLineSet_initClass, METH_VARARGS, (char *)"SoIndexedLineSet_initClass()"}, - { (char *)"new_SoIndexedLineSet", _wrap_new_SoIndexedLineSet, METH_VARARGS, (char *)"new_SoIndexedLineSet() -> SoIndexedLineSet"}, - { (char *)"SoIndexedLineSet_GLRender", _wrap_SoIndexedLineSet_GLRender, METH_VARARGS, (char *)"SoIndexedLineSet_GLRender(SoIndexedLineSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedLineSet_getBoundingBox", _wrap_SoIndexedLineSet_getBoundingBox, METH_VARARGS, (char *)"SoIndexedLineSet_getBoundingBox(SoIndexedLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoIndexedLineSet_getPrimitiveCount", _wrap_SoIndexedLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedLineSet_getPrimitiveCount(SoIndexedLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedLineSet_swigregister", SoIndexedLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedNurbsCurve_getClassTypeId", _wrap_SoIndexedNurbsCurve_getClassTypeId, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedNurbsCurve_getTypeId", _wrap_SoIndexedNurbsCurve_getTypeId, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getTypeId(SoIndexedNurbsCurve self) -> SoType"}, - { (char *)"SoIndexedNurbsCurve_initClass", _wrap_SoIndexedNurbsCurve_initClass, METH_VARARGS, (char *)"SoIndexedNurbsCurve_initClass()"}, - { (char *)"new_SoIndexedNurbsCurve", _wrap_new_SoIndexedNurbsCurve, METH_VARARGS, (char *)"new_SoIndexedNurbsCurve() -> SoIndexedNurbsCurve"}, - { (char *)"SoIndexedNurbsCurve_numControlPoints_set", _wrap_SoIndexedNurbsCurve_numControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_numControlPoints_set(SoIndexedNurbsCurve self, SoSFInt32 numControlPoints)"}, - { (char *)"SoIndexedNurbsCurve_numControlPoints_get", _wrap_SoIndexedNurbsCurve_numControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_numControlPoints_get(SoIndexedNurbsCurve self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsCurve_coordIndex_set", _wrap_SoIndexedNurbsCurve_coordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_coordIndex_set(SoIndexedNurbsCurve self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedNurbsCurve_coordIndex_get", _wrap_SoIndexedNurbsCurve_coordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_coordIndex_get(SoIndexedNurbsCurve self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsCurve_knotVector_set", _wrap_SoIndexedNurbsCurve_knotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsCurve_knotVector_set(SoIndexedNurbsCurve self, SoMFFloat knotVector)"}, - { (char *)"SoIndexedNurbsCurve_knotVector_get", _wrap_SoIndexedNurbsCurve_knotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsCurve_knotVector_get(SoIndexedNurbsCurve self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsCurve_GLRender", _wrap_SoIndexedNurbsCurve_GLRender, METH_VARARGS, (char *)"SoIndexedNurbsCurve_GLRender(SoIndexedNurbsCurve self, SoGLRenderAction action)"}, - { (char *)"SoIndexedNurbsCurve_rayPick", _wrap_SoIndexedNurbsCurve_rayPick, METH_VARARGS, (char *)"SoIndexedNurbsCurve_rayPick(SoIndexedNurbsCurve self, SoRayPickAction action)"}, - { (char *)"SoIndexedNurbsCurve_getPrimitiveCount", _wrap_SoIndexedNurbsCurve_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getPrimitiveCount(SoIndexedNurbsCurve self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedNurbsCurve_getBoundingBox", _wrap_SoIndexedNurbsCurve_getBoundingBox, METH_VARARGS, (char *)"SoIndexedNurbsCurve_getBoundingBox(SoIndexedNurbsCurve self, SoGetBoundingBoxAction action)"}, - { (char *)"SoIndexedNurbsCurve_sendPrimitive", _wrap_SoIndexedNurbsCurve_sendPrimitive, METH_VARARGS, (char *)"SoIndexedNurbsCurve_sendPrimitive(SoIndexedNurbsCurve self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoIndexedNurbsCurve_swigregister", SoIndexedNurbsCurve_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedNurbsSurface_getClassTypeId", _wrap_SoIndexedNurbsSurface_getClassTypeId, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedNurbsSurface_getTypeId", _wrap_SoIndexedNurbsSurface_getTypeId, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getTypeId(SoIndexedNurbsSurface self) -> SoType"}, - { (char *)"SoIndexedNurbsSurface_initClass", _wrap_SoIndexedNurbsSurface_initClass, METH_VARARGS, (char *)"SoIndexedNurbsSurface_initClass()"}, - { (char *)"new_SoIndexedNurbsSurface", _wrap_new_SoIndexedNurbsSurface, METH_VARARGS, (char *)"new_SoIndexedNurbsSurface() -> SoIndexedNurbsSurface"}, - { (char *)"SoIndexedNurbsSurface_numUControlPoints_set", _wrap_SoIndexedNurbsSurface_numUControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numUControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numUControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numUControlPoints_get", _wrap_SoIndexedNurbsSurface_numUControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numUControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_numVControlPoints_set", _wrap_SoIndexedNurbsSurface_numVControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numVControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numVControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numVControlPoints_get", _wrap_SoIndexedNurbsSurface_numVControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numVControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_coordIndex_set", _wrap_SoIndexedNurbsSurface_coordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_coordIndex_set(SoIndexedNurbsSurface self, SoMFInt32 coordIndex)"}, - { (char *)"SoIndexedNurbsSurface_coordIndex_get", _wrap_SoIndexedNurbsSurface_coordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_coordIndex_get(SoIndexedNurbsSurface self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsSurface_uKnotVector_set", _wrap_SoIndexedNurbsSurface_uKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_uKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat uKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_uKnotVector_get", _wrap_SoIndexedNurbsSurface_uKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_uKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_vKnotVector_set", _wrap_SoIndexedNurbsSurface_vKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_vKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat vKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_vKnotVector_get", _wrap_SoIndexedNurbsSurface_vKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_vKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_numSControlPoints_set", _wrap_SoIndexedNurbsSurface_numSControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numSControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numSControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numSControlPoints_get", _wrap_SoIndexedNurbsSurface_numSControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numSControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_numTControlPoints_set", _wrap_SoIndexedNurbsSurface_numTControlPoints_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numTControlPoints_set(SoIndexedNurbsSurface self, SoSFInt32 numTControlPoints)"}, - { (char *)"SoIndexedNurbsSurface_numTControlPoints_get", _wrap_SoIndexedNurbsSurface_numTControlPoints_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_numTControlPoints_get(SoIndexedNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoIndexedNurbsSurface_textureCoordIndex_set", _wrap_SoIndexedNurbsSurface_textureCoordIndex_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_textureCoordIndex_set(SoIndexedNurbsSurface self, SoMFInt32 textureCoordIndex)"}, - { (char *)"SoIndexedNurbsSurface_textureCoordIndex_get", _wrap_SoIndexedNurbsSurface_textureCoordIndex_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_textureCoordIndex_get(SoIndexedNurbsSurface self) -> SoMFInt32"}, - { (char *)"SoIndexedNurbsSurface_sKnotVector_set", _wrap_SoIndexedNurbsSurface_sKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat sKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_sKnotVector_get", _wrap_SoIndexedNurbsSurface_sKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_tKnotVector_set", _wrap_SoIndexedNurbsSurface_tKnotVector_set, METH_VARARGS, (char *)"SoIndexedNurbsSurface_tKnotVector_set(SoIndexedNurbsSurface self, SoMFFloat tKnotVector)"}, - { (char *)"SoIndexedNurbsSurface_tKnotVector_get", _wrap_SoIndexedNurbsSurface_tKnotVector_get, METH_VARARGS, (char *)"SoIndexedNurbsSurface_tKnotVector_get(SoIndexedNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoIndexedNurbsSurface_GLRender", _wrap_SoIndexedNurbsSurface_GLRender, METH_VARARGS, (char *)"SoIndexedNurbsSurface_GLRender(SoIndexedNurbsSurface self, SoGLRenderAction action)"}, - { (char *)"SoIndexedNurbsSurface_rayPick", _wrap_SoIndexedNurbsSurface_rayPick, METH_VARARGS, (char *)"SoIndexedNurbsSurface_rayPick(SoIndexedNurbsSurface self, SoRayPickAction action)"}, - { (char *)"SoIndexedNurbsSurface_getPrimitiveCount", _wrap_SoIndexedNurbsSurface_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedNurbsSurface_getPrimitiveCount(SoIndexedNurbsSurface self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedNurbsSurface_sendPrimitive", _wrap_SoIndexedNurbsSurface_sendPrimitive, METH_VARARGS, (char *)"SoIndexedNurbsSurface_sendPrimitive(SoIndexedNurbsSurface self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoIndexedNurbsSurface_swigregister", SoIndexedNurbsSurface_swigregister, METH_VARARGS, NULL}, - { (char *)"SoIndexedTriangleStripSet_getClassTypeId", _wrap_SoIndexedTriangleStripSet_getClassTypeId, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getClassTypeId() -> SoType"}, - { (char *)"SoIndexedTriangleStripSet_getTypeId", _wrap_SoIndexedTriangleStripSet_getTypeId, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getTypeId(SoIndexedTriangleStripSet self) -> SoType"}, - { (char *)"SoIndexedTriangleStripSet_initClass", _wrap_SoIndexedTriangleStripSet_initClass, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_initClass()"}, - { (char *)"new_SoIndexedTriangleStripSet", _wrap_new_SoIndexedTriangleStripSet, METH_VARARGS, (char *)"new_SoIndexedTriangleStripSet() -> SoIndexedTriangleStripSet"}, - { (char *)"SoIndexedTriangleStripSet_GLRender", _wrap_SoIndexedTriangleStripSet_GLRender, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_GLRender(SoIndexedTriangleStripSet self, SoGLRenderAction action)"}, - { (char *)"SoIndexedTriangleStripSet_getPrimitiveCount", _wrap_SoIndexedTriangleStripSet_getPrimitiveCount, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_getPrimitiveCount(SoIndexedTriangleStripSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoIndexedTriangleStripSet_generateDefaultNormals", _wrap_SoIndexedTriangleStripSet_generateDefaultNormals, METH_VARARGS, (char *)"SoIndexedTriangleStripSet_generateDefaultNormals(SoIndexedTriangleStripSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoIndexedTriangleStripSet_swigregister", SoIndexedTriangleStripSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInfo_getClassTypeId", _wrap_SoInfo_getClassTypeId, METH_VARARGS, (char *)"SoInfo_getClassTypeId() -> SoType"}, - { (char *)"SoInfo_getTypeId", _wrap_SoInfo_getTypeId, METH_VARARGS, (char *)"SoInfo_getTypeId(SoInfo self) -> SoType"}, - { (char *)"SoInfo_initClass", _wrap_SoInfo_initClass, METH_VARARGS, (char *)"SoInfo_initClass()"}, - { (char *)"new_SoInfo", _wrap_new_SoInfo, METH_VARARGS, (char *)"new_SoInfo() -> SoInfo"}, - { (char *)"SoInfo_string_set", _wrap_SoInfo_string_set, METH_VARARGS, (char *)"SoInfo_string_set(SoInfo self, SoSFString string)"}, - { (char *)"SoInfo_string_get", _wrap_SoInfo_string_get, METH_VARARGS, (char *)"SoInfo_string_get(SoInfo self) -> SoSFString"}, - { (char *)"SoInfo_swigregister", SoInfo_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLabel_getClassTypeId", _wrap_SoLabel_getClassTypeId, METH_VARARGS, (char *)"SoLabel_getClassTypeId() -> SoType"}, - { (char *)"SoLabel_getTypeId", _wrap_SoLabel_getTypeId, METH_VARARGS, (char *)"SoLabel_getTypeId(SoLabel self) -> SoType"}, - { (char *)"SoLabel_initClass", _wrap_SoLabel_initClass, METH_VARARGS, (char *)"SoLabel_initClass()"}, - { (char *)"new_SoLabel", _wrap_new_SoLabel, METH_VARARGS, (char *)"new_SoLabel() -> SoLabel"}, - { (char *)"SoLabel_label_set", _wrap_SoLabel_label_set, METH_VARARGS, (char *)"SoLabel_label_set(SoLabel self, SoSFName label)"}, - { (char *)"SoLabel_label_get", _wrap_SoLabel_label_get, METH_VARARGS, (char *)"SoLabel_label_get(SoLabel self) -> SoSFName"}, - { (char *)"SoLabel_swigregister", SoLabel_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLevelOfDetail_getClassTypeId", _wrap_SoLevelOfDetail_getClassTypeId, METH_VARARGS, (char *)"SoLevelOfDetail_getClassTypeId() -> SoType"}, - { (char *)"SoLevelOfDetail_getTypeId", _wrap_SoLevelOfDetail_getTypeId, METH_VARARGS, (char *)"SoLevelOfDetail_getTypeId(SoLevelOfDetail self) -> SoType"}, - { (char *)"SoLevelOfDetail_initClass", _wrap_SoLevelOfDetail_initClass, METH_VARARGS, (char *)"SoLevelOfDetail_initClass()"}, - { (char *)"new_SoLevelOfDetail", _wrap_new_SoLevelOfDetail, METH_VARARGS, (char *)"\n" - "SoLevelOfDetail()\n" - "new_SoLevelOfDetail(int numchildren) -> SoLevelOfDetail\n" - ""}, - { (char *)"SoLevelOfDetail_screenArea_set", _wrap_SoLevelOfDetail_screenArea_set, METH_VARARGS, (char *)"SoLevelOfDetail_screenArea_set(SoLevelOfDetail self, SoMFFloat screenArea)"}, - { (char *)"SoLevelOfDetail_screenArea_get", _wrap_SoLevelOfDetail_screenArea_get, METH_VARARGS, (char *)"SoLevelOfDetail_screenArea_get(SoLevelOfDetail self) -> SoMFFloat"}, - { (char *)"SoLevelOfDetail_doAction", _wrap_SoLevelOfDetail_doAction, METH_VARARGS, (char *)"SoLevelOfDetail_doAction(SoLevelOfDetail self, SoAction action)"}, - { (char *)"SoLevelOfDetail_callback", _wrap_SoLevelOfDetail_callback, METH_VARARGS, (char *)"SoLevelOfDetail_callback(SoLevelOfDetail self, SoCallbackAction action)"}, - { (char *)"SoLevelOfDetail_GLRender", _wrap_SoLevelOfDetail_GLRender, METH_VARARGS, (char *)"SoLevelOfDetail_GLRender(SoLevelOfDetail self, SoGLRenderAction action)"}, - { (char *)"SoLevelOfDetail_rayPick", _wrap_SoLevelOfDetail_rayPick, METH_VARARGS, (char *)"SoLevelOfDetail_rayPick(SoLevelOfDetail self, SoRayPickAction action)"}, - { (char *)"SoLevelOfDetail_getBoundingBox", _wrap_SoLevelOfDetail_getBoundingBox, METH_VARARGS, (char *)"SoLevelOfDetail_getBoundingBox(SoLevelOfDetail self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLevelOfDetail_audioRender", _wrap_SoLevelOfDetail_audioRender, METH_VARARGS, (char *)"SoLevelOfDetail_audioRender(SoLevelOfDetail self, SoAudioRenderAction action)"}, - { (char *)"SoLevelOfDetail_notify", _wrap_SoLevelOfDetail_notify, METH_VARARGS, (char *)"SoLevelOfDetail_notify(SoLevelOfDetail self, SoNotList nl)"}, - { (char *)"SoLevelOfDetail_swigregister", SoLevelOfDetail_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfile_getClassTypeId", _wrap_SoProfile_getClassTypeId, METH_VARARGS, (char *)"SoProfile_getClassTypeId() -> SoType"}, - { (char *)"SoProfile_getTypeId", _wrap_SoProfile_getTypeId, METH_VARARGS, (char *)"SoProfile_getTypeId(SoProfile self) -> SoType"}, - { (char *)"SoProfile_initClass", _wrap_SoProfile_initClass, METH_VARARGS, (char *)"SoProfile_initClass()"}, - { (char *)"SoProfile_index_set", _wrap_SoProfile_index_set, METH_VARARGS, (char *)"SoProfile_index_set(SoProfile self, SoMFInt32 index)"}, - { (char *)"SoProfile_index_get", _wrap_SoProfile_index_get, METH_VARARGS, (char *)"SoProfile_index_get(SoProfile self) -> SoMFInt32"}, - { (char *)"SoProfile_linkage_set", _wrap_SoProfile_linkage_set, METH_VARARGS, (char *)"SoProfile_linkage_set(SoProfile self, SoSFEnum linkage)"}, - { (char *)"SoProfile_linkage_get", _wrap_SoProfile_linkage_get, METH_VARARGS, (char *)"SoProfile_linkage_get(SoProfile self) -> SoSFEnum"}, - { (char *)"SoProfile_doAction", _wrap_SoProfile_doAction, METH_VARARGS, (char *)"SoProfile_doAction(SoProfile self, SoAction action)"}, - { (char *)"SoProfile_callback", _wrap_SoProfile_callback, METH_VARARGS, (char *)"SoProfile_callback(SoProfile self, SoCallbackAction action)"}, - { (char *)"SoProfile_GLRender", _wrap_SoProfile_GLRender, METH_VARARGS, (char *)"SoProfile_GLRender(SoProfile self, SoGLRenderAction action)"}, - { (char *)"SoProfile_getBoundingBox", _wrap_SoProfile_getBoundingBox, METH_VARARGS, (char *)"SoProfile_getBoundingBox(SoProfile self, SoGetBoundingBoxAction action)"}, - { (char *)"SoProfile_pick", _wrap_SoProfile_pick, METH_VARARGS, (char *)"SoProfile_pick(SoProfile self, SoPickAction action)"}, - { (char *)"SoProfile_getPrimitiveCount", _wrap_SoProfile_getPrimitiveCount, METH_VARARGS, (char *)"SoProfile_getPrimitiveCount(SoProfile self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfile_getTrimCurve", _wrap_SoProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoProfile_getTrimCurve(SoProfile self, SoState state, int32_t numpoints, float points, \n" - " int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoProfile_getVertices", _wrap_SoProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoProfile_getVertices(SoProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoProfile_swigregister", SoProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLinearProfile_getClassTypeId", _wrap_SoLinearProfile_getClassTypeId, METH_VARARGS, (char *)"SoLinearProfile_getClassTypeId() -> SoType"}, - { (char *)"SoLinearProfile_getTypeId", _wrap_SoLinearProfile_getTypeId, METH_VARARGS, (char *)"SoLinearProfile_getTypeId(SoLinearProfile self) -> SoType"}, - { (char *)"SoLinearProfile_initClass", _wrap_SoLinearProfile_initClass, METH_VARARGS, (char *)"SoLinearProfile_initClass()"}, - { (char *)"new_SoLinearProfile", _wrap_new_SoLinearProfile, METH_VARARGS, (char *)"new_SoLinearProfile() -> SoLinearProfile"}, - { (char *)"SoLinearProfile_getTrimCurve", _wrap_SoLinearProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoLinearProfile_getTrimCurve(SoLinearProfile self, SoState state, int32_t numpoints, \n" - " float points, int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoLinearProfile_getVertices", _wrap_SoLinearProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoLinearProfile_getVertices(SoLinearProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoLinearProfile_swigregister", SoLinearProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLineSet_getClassTypeId", _wrap_SoLineSet_getClassTypeId, METH_VARARGS, (char *)"SoLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoLineSet_getTypeId", _wrap_SoLineSet_getTypeId, METH_VARARGS, (char *)"SoLineSet_getTypeId(SoLineSet self) -> SoType"}, - { (char *)"SoLineSet_initClass", _wrap_SoLineSet_initClass, METH_VARARGS, (char *)"SoLineSet_initClass()"}, - { (char *)"new_SoLineSet", _wrap_new_SoLineSet, METH_VARARGS, (char *)"new_SoLineSet() -> SoLineSet"}, - { (char *)"SoLineSet_numVertices_set", _wrap_SoLineSet_numVertices_set, METH_VARARGS, (char *)"SoLineSet_numVertices_set(SoLineSet self, SoMFInt32 numVertices)"}, - { (char *)"SoLineSet_numVertices_get", _wrap_SoLineSet_numVertices_get, METH_VARARGS, (char *)"SoLineSet_numVertices_get(SoLineSet self) -> SoMFInt32"}, - { (char *)"SoLineSet_GLRender", _wrap_SoLineSet_GLRender, METH_VARARGS, (char *)"SoLineSet_GLRender(SoLineSet self, SoGLRenderAction action)"}, - { (char *)"SoLineSet_getBoundingBox", _wrap_SoLineSet_getBoundingBox, METH_VARARGS, (char *)"SoLineSet_getBoundingBox(SoLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLineSet_getPrimitiveCount", _wrap_SoLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoLineSet_getPrimitiveCount(SoLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoLineSet_swigregister", SoLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoListener_getClassTypeId", _wrap_SoListener_getClassTypeId, METH_VARARGS, (char *)"SoListener_getClassTypeId() -> SoType"}, - { (char *)"SoListener_getTypeId", _wrap_SoListener_getTypeId, METH_VARARGS, (char *)"SoListener_getTypeId(SoListener self) -> SoType"}, - { (char *)"SoListener_initClass", _wrap_SoListener_initClass, METH_VARARGS, (char *)"SoListener_initClass()"}, - { (char *)"new_SoListener", _wrap_new_SoListener, METH_VARARGS, (char *)"new_SoListener() -> SoListener"}, - { (char *)"SoListener_position_set", _wrap_SoListener_position_set, METH_VARARGS, (char *)"SoListener_position_set(SoListener self, SoSFVec3f position)"}, - { (char *)"SoListener_position_get", _wrap_SoListener_position_get, METH_VARARGS, (char *)"SoListener_position_get(SoListener self) -> SoSFVec3f"}, - { (char *)"SoListener_orientation_set", _wrap_SoListener_orientation_set, METH_VARARGS, (char *)"SoListener_orientation_set(SoListener self, SoSFRotation orientation)"}, - { (char *)"SoListener_orientation_get", _wrap_SoListener_orientation_get, METH_VARARGS, (char *)"SoListener_orientation_get(SoListener self) -> SoSFRotation"}, - { (char *)"SoListener_gain_set", _wrap_SoListener_gain_set, METH_VARARGS, (char *)"SoListener_gain_set(SoListener self, SoSFFloat gain)"}, - { (char *)"SoListener_gain_get", _wrap_SoListener_gain_get, METH_VARARGS, (char *)"SoListener_gain_get(SoListener self) -> SoSFFloat"}, - { (char *)"SoListener_dopplerVelocity_set", _wrap_SoListener_dopplerVelocity_set, METH_VARARGS, (char *)"SoListener_dopplerVelocity_set(SoListener self, SoSFVec3f dopplerVelocity)"}, - { (char *)"SoListener_dopplerVelocity_get", _wrap_SoListener_dopplerVelocity_get, METH_VARARGS, (char *)"SoListener_dopplerVelocity_get(SoListener self) -> SoSFVec3f"}, - { (char *)"SoListener_dopplerFactor_set", _wrap_SoListener_dopplerFactor_set, METH_VARARGS, (char *)"SoListener_dopplerFactor_set(SoListener self, SoSFFloat dopplerFactor)"}, - { (char *)"SoListener_dopplerFactor_get", _wrap_SoListener_dopplerFactor_get, METH_VARARGS, (char *)"SoListener_dopplerFactor_get(SoListener self) -> SoSFFloat"}, - { (char *)"SoListener_swigregister", SoListener_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLocateHighlight_getClassTypeId", _wrap_SoLocateHighlight_getClassTypeId, METH_VARARGS, (char *)"SoLocateHighlight_getClassTypeId() -> SoType"}, - { (char *)"SoLocateHighlight_getTypeId", _wrap_SoLocateHighlight_getTypeId, METH_VARARGS, (char *)"SoLocateHighlight_getTypeId(SoLocateHighlight self) -> SoType"}, - { (char *)"SoLocateHighlight_initClass", _wrap_SoLocateHighlight_initClass, METH_VARARGS, (char *)"SoLocateHighlight_initClass()"}, - { (char *)"new_SoLocateHighlight", _wrap_new_SoLocateHighlight, METH_VARARGS, (char *)"new_SoLocateHighlight() -> SoLocateHighlight"}, - { (char *)"SoLocateHighlight_color_set", _wrap_SoLocateHighlight_color_set, METH_VARARGS, (char *)"SoLocateHighlight_color_set(SoLocateHighlight self, SoSFColor color)"}, - { (char *)"SoLocateHighlight_color_get", _wrap_SoLocateHighlight_color_get, METH_VARARGS, (char *)"SoLocateHighlight_color_get(SoLocateHighlight self) -> SoSFColor"}, - { (char *)"SoLocateHighlight_style_set", _wrap_SoLocateHighlight_style_set, METH_VARARGS, (char *)"SoLocateHighlight_style_set(SoLocateHighlight self, SoSFEnum style)"}, - { (char *)"SoLocateHighlight_style_get", _wrap_SoLocateHighlight_style_get, METH_VARARGS, (char *)"SoLocateHighlight_style_get(SoLocateHighlight self) -> SoSFEnum"}, - { (char *)"SoLocateHighlight_mode_set", _wrap_SoLocateHighlight_mode_set, METH_VARARGS, (char *)"SoLocateHighlight_mode_set(SoLocateHighlight self, SoSFEnum mode)"}, - { (char *)"SoLocateHighlight_mode_get", _wrap_SoLocateHighlight_mode_get, METH_VARARGS, (char *)"SoLocateHighlight_mode_get(SoLocateHighlight self) -> SoSFEnum"}, - { (char *)"SoLocateHighlight_handleEvent", _wrap_SoLocateHighlight_handleEvent, METH_VARARGS, (char *)"SoLocateHighlight_handleEvent(SoLocateHighlight self, SoHandleEventAction action)"}, - { (char *)"SoLocateHighlight_GLRenderBelowPath", _wrap_SoLocateHighlight_GLRenderBelowPath, METH_VARARGS, (char *)"SoLocateHighlight_GLRenderBelowPath(SoLocateHighlight self, SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_GLRenderInPath", _wrap_SoLocateHighlight_GLRenderInPath, METH_VARARGS, (char *)"SoLocateHighlight_GLRenderInPath(SoLocateHighlight self, SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_turnOffCurrentHighlight", _wrap_SoLocateHighlight_turnOffCurrentHighlight, METH_VARARGS, (char *)"SoLocateHighlight_turnOffCurrentHighlight(SoGLRenderAction action)"}, - { (char *)"SoLocateHighlight_swigregister", SoLocateHighlight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoLOD_getClassTypeId", _wrap_SoLOD_getClassTypeId, METH_VARARGS, (char *)"SoLOD_getClassTypeId() -> SoType"}, - { (char *)"SoLOD_getTypeId", _wrap_SoLOD_getTypeId, METH_VARARGS, (char *)"SoLOD_getTypeId(SoLOD self) -> SoType"}, - { (char *)"new_SoLOD", _wrap_new_SoLOD, METH_VARARGS, (char *)"\n" - "SoLOD()\n" - "new_SoLOD(int numchildren) -> SoLOD\n" - ""}, - { (char *)"SoLOD_initClass", _wrap_SoLOD_initClass, METH_VARARGS, (char *)"SoLOD_initClass()"}, - { (char *)"SoLOD_range_set", _wrap_SoLOD_range_set, METH_VARARGS, (char *)"SoLOD_range_set(SoLOD self, SoMFFloat range)"}, - { (char *)"SoLOD_range_get", _wrap_SoLOD_range_get, METH_VARARGS, (char *)"SoLOD_range_get(SoLOD self) -> SoMFFloat"}, - { (char *)"SoLOD_center_set", _wrap_SoLOD_center_set, METH_VARARGS, (char *)"SoLOD_center_set(SoLOD self, SoSFVec3f center)"}, - { (char *)"SoLOD_center_get", _wrap_SoLOD_center_get, METH_VARARGS, (char *)"SoLOD_center_get(SoLOD self) -> SoSFVec3f"}, - { (char *)"SoLOD_doAction", _wrap_SoLOD_doAction, METH_VARARGS, (char *)"SoLOD_doAction(SoLOD self, SoAction action)"}, - { (char *)"SoLOD_callback", _wrap_SoLOD_callback, METH_VARARGS, (char *)"SoLOD_callback(SoLOD self, SoCallbackAction action)"}, - { (char *)"SoLOD_GLRender", _wrap_SoLOD_GLRender, METH_VARARGS, (char *)"SoLOD_GLRender(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderBelowPath", _wrap_SoLOD_GLRenderBelowPath, METH_VARARGS, (char *)"SoLOD_GLRenderBelowPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderInPath", _wrap_SoLOD_GLRenderInPath, METH_VARARGS, (char *)"SoLOD_GLRenderInPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_GLRenderOffPath", _wrap_SoLOD_GLRenderOffPath, METH_VARARGS, (char *)"SoLOD_GLRenderOffPath(SoLOD self, SoGLRenderAction action)"}, - { (char *)"SoLOD_rayPick", _wrap_SoLOD_rayPick, METH_VARARGS, (char *)"SoLOD_rayPick(SoLOD self, SoRayPickAction action)"}, - { (char *)"SoLOD_getBoundingBox", _wrap_SoLOD_getBoundingBox, METH_VARARGS, (char *)"SoLOD_getBoundingBox(SoLOD self, SoGetBoundingBoxAction action)"}, - { (char *)"SoLOD_getPrimitiveCount", _wrap_SoLOD_getPrimitiveCount, METH_VARARGS, (char *)"SoLOD_getPrimitiveCount(SoLOD self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoLOD_audioRender", _wrap_SoLOD_audioRender, METH_VARARGS, (char *)"SoLOD_audioRender(SoLOD self, SoAudioRenderAction action)"}, - { (char *)"SoLOD_notify", _wrap_SoLOD_notify, METH_VARARGS, (char *)"SoLOD_notify(SoLOD self, SoNotList nl)"}, - { (char *)"SoLOD_swigregister", SoLOD_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPointSet_getClassTypeId", _wrap_SoPointSet_getClassTypeId, METH_VARARGS, (char *)"SoPointSet_getClassTypeId() -> SoType"}, - { (char *)"SoPointSet_getTypeId", _wrap_SoPointSet_getTypeId, METH_VARARGS, (char *)"SoPointSet_getTypeId(SoPointSet self) -> SoType"}, - { (char *)"SoPointSet_initClass", _wrap_SoPointSet_initClass, METH_VARARGS, (char *)"SoPointSet_initClass()"}, - { (char *)"new_SoPointSet", _wrap_new_SoPointSet, METH_VARARGS, (char *)"new_SoPointSet() -> SoPointSet"}, - { (char *)"SoPointSet_numPoints_set", _wrap_SoPointSet_numPoints_set, METH_VARARGS, (char *)"SoPointSet_numPoints_set(SoPointSet self, SoSFInt32 numPoints)"}, - { (char *)"SoPointSet_numPoints_get", _wrap_SoPointSet_numPoints_get, METH_VARARGS, (char *)"SoPointSet_numPoints_get(SoPointSet self) -> SoSFInt32"}, - { (char *)"SoPointSet_GLRender", _wrap_SoPointSet_GLRender, METH_VARARGS, (char *)"SoPointSet_GLRender(SoPointSet self, SoGLRenderAction action)"}, - { (char *)"SoPointSet_getBoundingBox", _wrap_SoPointSet_getBoundingBox, METH_VARARGS, (char *)"SoPointSet_getBoundingBox(SoPointSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPointSet_getPrimitiveCount", _wrap_SoPointSet_getPrimitiveCount, METH_VARARGS, (char *)"SoPointSet_getPrimitiveCount(SoPointSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoPointSet_swigregister", SoPointSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMarkerSet_getClassTypeId", _wrap_SoMarkerSet_getClassTypeId, METH_VARARGS, (char *)"SoMarkerSet_getClassTypeId() -> SoType"}, - { (char *)"SoMarkerSet_getTypeId", _wrap_SoMarkerSet_getTypeId, METH_VARARGS, (char *)"SoMarkerSet_getTypeId(SoMarkerSet self) -> SoType"}, - { (char *)"SoMarkerSet_initClass", _wrap_SoMarkerSet_initClass, METH_VARARGS, (char *)"SoMarkerSet_initClass()"}, - { (char *)"new_SoMarkerSet", _wrap_new_SoMarkerSet, METH_VARARGS, (char *)"new_SoMarkerSet() -> SoMarkerSet"}, - { (char *)"SoMarkerSet_markerIndex_set", _wrap_SoMarkerSet_markerIndex_set, METH_VARARGS, (char *)"SoMarkerSet_markerIndex_set(SoMarkerSet self, SoMFInt32 markerIndex)"}, - { (char *)"SoMarkerSet_markerIndex_get", _wrap_SoMarkerSet_markerIndex_get, METH_VARARGS, (char *)"SoMarkerSet_markerIndex_get(SoMarkerSet self) -> SoMFInt32"}, - { (char *)"SoMarkerSet_GLRender", _wrap_SoMarkerSet_GLRender, METH_VARARGS, (char *)"SoMarkerSet_GLRender(SoMarkerSet self, SoGLRenderAction action)"}, - { (char *)"SoMarkerSet_getPrimitiveCount", _wrap_SoMarkerSet_getPrimitiveCount, METH_VARARGS, (char *)"SoMarkerSet_getPrimitiveCount(SoMarkerSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMarkerSet_getNumDefinedMarkers", _wrap_SoMarkerSet_getNumDefinedMarkers, METH_VARARGS, (char *)"SoMarkerSet_getNumDefinedMarkers() -> int"}, - { (char *)"SoMarkerSet_addMarker", _wrap_SoMarkerSet_addMarker, METH_VARARGS, (char *)"\n" - "addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1, \n" - " SbBool isUpToDown=1)\n" - "addMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst=1)\n" - "SoMarkerSet_addMarker(int idx, SbVec2s size, unsigned char bytes)\n" - ""}, - { (char *)"SoMarkerSet_getMarker", _wrap_SoMarkerSet_getMarker, METH_VARARGS, (char *)"SoMarkerSet_getMarker(int idx, SbVec2s size, unsigned char bytes, SbBool isLSBFirst) -> SbBool"}, - { (char *)"SoMarkerSet_removeMarker", _wrap_SoMarkerSet_removeMarker, METH_VARARGS, (char *)"SoMarkerSet_removeMarker(int idx) -> SbBool"}, - { (char *)"SoMarkerSet_isMarkerBitSet", _wrap_SoMarkerSet_isMarkerBitSet, METH_VARARGS, (char *)"SoMarkerSet_isMarkerBitSet(int idx, int bitNumber) -> SbBool"}, - { (char *)"SoMarkerSet_swigregister", SoMarkerSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMaterial_getClassTypeId", _wrap_SoMaterial_getClassTypeId, METH_VARARGS, (char *)"SoMaterial_getClassTypeId() -> SoType"}, - { (char *)"SoMaterial_getTypeId", _wrap_SoMaterial_getTypeId, METH_VARARGS, (char *)"SoMaterial_getTypeId(SoMaterial self) -> SoType"}, - { (char *)"SoMaterial_initClass", _wrap_SoMaterial_initClass, METH_VARARGS, (char *)"SoMaterial_initClass()"}, - { (char *)"new_SoMaterial", _wrap_new_SoMaterial, METH_VARARGS, (char *)"new_SoMaterial() -> SoMaterial"}, - { (char *)"SoMaterial_ambientColor_set", _wrap_SoMaterial_ambientColor_set, METH_VARARGS, (char *)"SoMaterial_ambientColor_set(SoMaterial self, SoMFColor ambientColor)"}, - { (char *)"SoMaterial_ambientColor_get", _wrap_SoMaterial_ambientColor_get, METH_VARARGS, (char *)"SoMaterial_ambientColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_diffuseColor_set", _wrap_SoMaterial_diffuseColor_set, METH_VARARGS, (char *)"SoMaterial_diffuseColor_set(SoMaterial self, SoMFColor diffuseColor)"}, - { (char *)"SoMaterial_diffuseColor_get", _wrap_SoMaterial_diffuseColor_get, METH_VARARGS, (char *)"SoMaterial_diffuseColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_specularColor_set", _wrap_SoMaterial_specularColor_set, METH_VARARGS, (char *)"SoMaterial_specularColor_set(SoMaterial self, SoMFColor specularColor)"}, - { (char *)"SoMaterial_specularColor_get", _wrap_SoMaterial_specularColor_get, METH_VARARGS, (char *)"SoMaterial_specularColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_emissiveColor_set", _wrap_SoMaterial_emissiveColor_set, METH_VARARGS, (char *)"SoMaterial_emissiveColor_set(SoMaterial self, SoMFColor emissiveColor)"}, - { (char *)"SoMaterial_emissiveColor_get", _wrap_SoMaterial_emissiveColor_get, METH_VARARGS, (char *)"SoMaterial_emissiveColor_get(SoMaterial self) -> SoMFColor"}, - { (char *)"SoMaterial_shininess_set", _wrap_SoMaterial_shininess_set, METH_VARARGS, (char *)"SoMaterial_shininess_set(SoMaterial self, SoMFFloat shininess)"}, - { (char *)"SoMaterial_shininess_get", _wrap_SoMaterial_shininess_get, METH_VARARGS, (char *)"SoMaterial_shininess_get(SoMaterial self) -> SoMFFloat"}, - { (char *)"SoMaterial_transparency_set", _wrap_SoMaterial_transparency_set, METH_VARARGS, (char *)"SoMaterial_transparency_set(SoMaterial self, SoMFFloat transparency)"}, - { (char *)"SoMaterial_transparency_get", _wrap_SoMaterial_transparency_get, METH_VARARGS, (char *)"SoMaterial_transparency_get(SoMaterial self) -> SoMFFloat"}, - { (char *)"SoMaterial_doAction", _wrap_SoMaterial_doAction, METH_VARARGS, (char *)"SoMaterial_doAction(SoMaterial self, SoAction action)"}, - { (char *)"SoMaterial_GLRender", _wrap_SoMaterial_GLRender, METH_VARARGS, (char *)"SoMaterial_GLRender(SoMaterial self, SoGLRenderAction action)"}, - { (char *)"SoMaterial_callback", _wrap_SoMaterial_callback, METH_VARARGS, (char *)"SoMaterial_callback(SoMaterial self, SoCallbackAction action)"}, - { (char *)"SoMaterial_swigregister", SoMaterial_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMatrixTransform_getClassTypeId", _wrap_SoMatrixTransform_getClassTypeId, METH_VARARGS, (char *)"SoMatrixTransform_getClassTypeId() -> SoType"}, - { (char *)"SoMatrixTransform_getTypeId", _wrap_SoMatrixTransform_getTypeId, METH_VARARGS, (char *)"SoMatrixTransform_getTypeId(SoMatrixTransform self) -> SoType"}, - { (char *)"SoMatrixTransform_initClass", _wrap_SoMatrixTransform_initClass, METH_VARARGS, (char *)"SoMatrixTransform_initClass()"}, - { (char *)"new_SoMatrixTransform", _wrap_new_SoMatrixTransform, METH_VARARGS, (char *)"new_SoMatrixTransform() -> SoMatrixTransform"}, - { (char *)"SoMatrixTransform_matrix_set", _wrap_SoMatrixTransform_matrix_set, METH_VARARGS, (char *)"SoMatrixTransform_matrix_set(SoMatrixTransform self, SoSFMatrix matrix)"}, - { (char *)"SoMatrixTransform_matrix_get", _wrap_SoMatrixTransform_matrix_get, METH_VARARGS, (char *)"SoMatrixTransform_matrix_get(SoMatrixTransform self) -> SoSFMatrix"}, - { (char *)"SoMatrixTransform_doAction", _wrap_SoMatrixTransform_doAction, METH_VARARGS, (char *)"SoMatrixTransform_doAction(SoMatrixTransform self, SoAction action)"}, - { (char *)"SoMatrixTransform_callback", _wrap_SoMatrixTransform_callback, METH_VARARGS, (char *)"SoMatrixTransform_callback(SoMatrixTransform self, SoCallbackAction action)"}, - { (char *)"SoMatrixTransform_GLRender", _wrap_SoMatrixTransform_GLRender, METH_VARARGS, (char *)"SoMatrixTransform_GLRender(SoMatrixTransform self, SoGLRenderAction action)"}, - { (char *)"SoMatrixTransform_getBoundingBox", _wrap_SoMatrixTransform_getBoundingBox, METH_VARARGS, (char *)"SoMatrixTransform_getBoundingBox(SoMatrixTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoMatrixTransform_getMatrix", _wrap_SoMatrixTransform_getMatrix, METH_VARARGS, (char *)"SoMatrixTransform_getMatrix(SoMatrixTransform self, SoGetMatrixAction action)"}, - { (char *)"SoMatrixTransform_pick", _wrap_SoMatrixTransform_pick, METH_VARARGS, (char *)"SoMatrixTransform_pick(SoMatrixTransform self, SoPickAction action)"}, - { (char *)"SoMatrixTransform_getPrimitiveCount", _wrap_SoMatrixTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoMatrixTransform_getPrimitiveCount(SoMatrixTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMatrixTransform_swigregister", SoMatrixTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoMultipleCopy_getClassTypeId", _wrap_SoMultipleCopy_getClassTypeId, METH_VARARGS, (char *)"SoMultipleCopy_getClassTypeId() -> SoType"}, - { (char *)"SoMultipleCopy_getTypeId", _wrap_SoMultipleCopy_getTypeId, METH_VARARGS, (char *)"SoMultipleCopy_getTypeId(SoMultipleCopy self) -> SoType"}, - { (char *)"SoMultipleCopy_initClass", _wrap_SoMultipleCopy_initClass, METH_VARARGS, (char *)"SoMultipleCopy_initClass()"}, - { (char *)"new_SoMultipleCopy", _wrap_new_SoMultipleCopy, METH_VARARGS, (char *)"new_SoMultipleCopy() -> SoMultipleCopy"}, - { (char *)"SoMultipleCopy_matrix_set", _wrap_SoMultipleCopy_matrix_set, METH_VARARGS, (char *)"SoMultipleCopy_matrix_set(SoMultipleCopy self, SoMFMatrix matrix)"}, - { (char *)"SoMultipleCopy_matrix_get", _wrap_SoMultipleCopy_matrix_get, METH_VARARGS, (char *)"SoMultipleCopy_matrix_get(SoMultipleCopy self) -> SoMFMatrix"}, - { (char *)"SoMultipleCopy_affectsState", _wrap_SoMultipleCopy_affectsState, METH_VARARGS, (char *)"SoMultipleCopy_affectsState(SoMultipleCopy self) -> SbBool"}, - { (char *)"SoMultipleCopy_doAction", _wrap_SoMultipleCopy_doAction, METH_VARARGS, (char *)"SoMultipleCopy_doAction(SoMultipleCopy self, SoAction action)"}, - { (char *)"SoMultipleCopy_callback", _wrap_SoMultipleCopy_callback, METH_VARARGS, (char *)"SoMultipleCopy_callback(SoMultipleCopy self, SoCallbackAction action)"}, - { (char *)"SoMultipleCopy_GLRender", _wrap_SoMultipleCopy_GLRender, METH_VARARGS, (char *)"SoMultipleCopy_GLRender(SoMultipleCopy self, SoGLRenderAction action)"}, - { (char *)"SoMultipleCopy_pick", _wrap_SoMultipleCopy_pick, METH_VARARGS, (char *)"SoMultipleCopy_pick(SoMultipleCopy self, SoPickAction action)"}, - { (char *)"SoMultipleCopy_getBoundingBox", _wrap_SoMultipleCopy_getBoundingBox, METH_VARARGS, (char *)"SoMultipleCopy_getBoundingBox(SoMultipleCopy self, SoGetBoundingBoxAction action)"}, - { (char *)"SoMultipleCopy_handleEvent", _wrap_SoMultipleCopy_handleEvent, METH_VARARGS, (char *)"SoMultipleCopy_handleEvent(SoMultipleCopy self, SoHandleEventAction action)"}, - { (char *)"SoMultipleCopy_getMatrix", _wrap_SoMultipleCopy_getMatrix, METH_VARARGS, (char *)"SoMultipleCopy_getMatrix(SoMultipleCopy self, SoGetMatrixAction action)"}, - { (char *)"SoMultipleCopy_search", _wrap_SoMultipleCopy_search, METH_VARARGS, (char *)"SoMultipleCopy_search(SoMultipleCopy self, SoSearchAction action)"}, - { (char *)"SoMultipleCopy_getPrimitiveCount", _wrap_SoMultipleCopy_getPrimitiveCount, METH_VARARGS, (char *)"SoMultipleCopy_getPrimitiveCount(SoMultipleCopy self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoMultipleCopy_audioRender", _wrap_SoMultipleCopy_audioRender, METH_VARARGS, (char *)"SoMultipleCopy_audioRender(SoMultipleCopy self, SoAudioRenderAction action)"}, - { (char *)"SoMultipleCopy_swigregister", SoMultipleCopy_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPerspectiveCamera_getClassTypeId", _wrap_SoPerspectiveCamera_getClassTypeId, METH_VARARGS, (char *)"SoPerspectiveCamera_getClassTypeId() -> SoType"}, - { (char *)"SoPerspectiveCamera_getTypeId", _wrap_SoPerspectiveCamera_getTypeId, METH_VARARGS, (char *)"SoPerspectiveCamera_getTypeId(SoPerspectiveCamera self) -> SoType"}, - { (char *)"SoPerspectiveCamera_initClass", _wrap_SoPerspectiveCamera_initClass, METH_VARARGS, (char *)"SoPerspectiveCamera_initClass()"}, - { (char *)"new_SoPerspectiveCamera", _wrap_new_SoPerspectiveCamera, METH_VARARGS, (char *)"new_SoPerspectiveCamera() -> SoPerspectiveCamera"}, - { (char *)"SoPerspectiveCamera_heightAngle_set", _wrap_SoPerspectiveCamera_heightAngle_set, METH_VARARGS, (char *)"SoPerspectiveCamera_heightAngle_set(SoPerspectiveCamera self, SoSFFloat heightAngle)"}, - { (char *)"SoPerspectiveCamera_heightAngle_get", _wrap_SoPerspectiveCamera_heightAngle_get, METH_VARARGS, (char *)"SoPerspectiveCamera_heightAngle_get(SoPerspectiveCamera self) -> SoSFFloat"}, - { (char *)"SoPerspectiveCamera_scaleHeight", _wrap_SoPerspectiveCamera_scaleHeight, METH_VARARGS, (char *)"SoPerspectiveCamera_scaleHeight(SoPerspectiveCamera self, float scalefactor)"}, - { (char *)"SoPerspectiveCamera_getViewVolume", _wrap_SoPerspectiveCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoPerspectiveCamera_getViewVolume(SoPerspectiveCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoPerspectiveCamera_swigregister", SoPerspectiveCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoOrthographicCamera_getClassTypeId", _wrap_SoOrthographicCamera_getClassTypeId, METH_VARARGS, (char *)"SoOrthographicCamera_getClassTypeId() -> SoType"}, - { (char *)"SoOrthographicCamera_getTypeId", _wrap_SoOrthographicCamera_getTypeId, METH_VARARGS, (char *)"SoOrthographicCamera_getTypeId(SoOrthographicCamera self) -> SoType"}, - { (char *)"SoOrthographicCamera_initClass", _wrap_SoOrthographicCamera_initClass, METH_VARARGS, (char *)"SoOrthographicCamera_initClass()"}, - { (char *)"new_SoOrthographicCamera", _wrap_new_SoOrthographicCamera, METH_VARARGS, (char *)"new_SoOrthographicCamera() -> SoOrthographicCamera"}, - { (char *)"SoOrthographicCamera_height_set", _wrap_SoOrthographicCamera_height_set, METH_VARARGS, (char *)"SoOrthographicCamera_height_set(SoOrthographicCamera self, SoSFFloat height)"}, - { (char *)"SoOrthographicCamera_height_get", _wrap_SoOrthographicCamera_height_get, METH_VARARGS, (char *)"SoOrthographicCamera_height_get(SoOrthographicCamera self) -> SoSFFloat"}, - { (char *)"SoOrthographicCamera_scaleHeight", _wrap_SoOrthographicCamera_scaleHeight, METH_VARARGS, (char *)"SoOrthographicCamera_scaleHeight(SoOrthographicCamera self, float scalefactor)"}, - { (char *)"SoOrthographicCamera_getViewVolume", _wrap_SoOrthographicCamera_getViewVolume, METH_VARARGS, (char *)"\n" - "getViewVolume(float useaspectratio=0.0) -> SbViewVolume\n" - "SoOrthographicCamera_getViewVolume(SoOrthographicCamera self) -> SbViewVolume\n" - ""}, - { (char *)"SoOrthographicCamera_swigregister", SoOrthographicCamera_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQuadMesh_getClassTypeId", _wrap_SoQuadMesh_getClassTypeId, METH_VARARGS, (char *)"SoQuadMesh_getClassTypeId() -> SoType"}, - { (char *)"SoQuadMesh_getTypeId", _wrap_SoQuadMesh_getTypeId, METH_VARARGS, (char *)"SoQuadMesh_getTypeId(SoQuadMesh self) -> SoType"}, - { (char *)"SoQuadMesh_initClass", _wrap_SoQuadMesh_initClass, METH_VARARGS, (char *)"SoQuadMesh_initClass()"}, - { (char *)"new_SoQuadMesh", _wrap_new_SoQuadMesh, METH_VARARGS, (char *)"new_SoQuadMesh() -> SoQuadMesh"}, - { (char *)"SoQuadMesh_verticesPerColumn_set", _wrap_SoQuadMesh_verticesPerColumn_set, METH_VARARGS, (char *)"SoQuadMesh_verticesPerColumn_set(SoQuadMesh self, SoSFInt32 verticesPerColumn)"}, - { (char *)"SoQuadMesh_verticesPerColumn_get", _wrap_SoQuadMesh_verticesPerColumn_get, METH_VARARGS, (char *)"SoQuadMesh_verticesPerColumn_get(SoQuadMesh self) -> SoSFInt32"}, - { (char *)"SoQuadMesh_verticesPerRow_set", _wrap_SoQuadMesh_verticesPerRow_set, METH_VARARGS, (char *)"SoQuadMesh_verticesPerRow_set(SoQuadMesh self, SoSFInt32 verticesPerRow)"}, - { (char *)"SoQuadMesh_verticesPerRow_get", _wrap_SoQuadMesh_verticesPerRow_get, METH_VARARGS, (char *)"SoQuadMesh_verticesPerRow_get(SoQuadMesh self) -> SoSFInt32"}, - { (char *)"SoQuadMesh_GLRender", _wrap_SoQuadMesh_GLRender, METH_VARARGS, (char *)"SoQuadMesh_GLRender(SoQuadMesh self, SoGLRenderAction action)"}, - { (char *)"SoQuadMesh_getPrimitiveCount", _wrap_SoQuadMesh_getPrimitiveCount, METH_VARARGS, (char *)"SoQuadMesh_getPrimitiveCount(SoQuadMesh self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoQuadMesh_generateDefaultNormals", _wrap_SoQuadMesh_generateDefaultNormals, METH_VARARGS, (char *)"SoQuadMesh_generateDefaultNormals(SoQuadMesh self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoQuadMesh_swigregister", SoQuadMesh_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTriangleStripSet_getClassTypeId", _wrap_SoTriangleStripSet_getClassTypeId, METH_VARARGS, (char *)"SoTriangleStripSet_getClassTypeId() -> SoType"}, - { (char *)"SoTriangleStripSet_getTypeId", _wrap_SoTriangleStripSet_getTypeId, METH_VARARGS, (char *)"SoTriangleStripSet_getTypeId(SoTriangleStripSet self) -> SoType"}, - { (char *)"SoTriangleStripSet_initClass", _wrap_SoTriangleStripSet_initClass, METH_VARARGS, (char *)"SoTriangleStripSet_initClass()"}, - { (char *)"new_SoTriangleStripSet", _wrap_new_SoTriangleStripSet, METH_VARARGS, (char *)"new_SoTriangleStripSet() -> SoTriangleStripSet"}, - { (char *)"SoTriangleStripSet_numVertices_set", _wrap_SoTriangleStripSet_numVertices_set, METH_VARARGS, (char *)"SoTriangleStripSet_numVertices_set(SoTriangleStripSet self, SoMFInt32 numVertices)"}, - { (char *)"SoTriangleStripSet_numVertices_get", _wrap_SoTriangleStripSet_numVertices_get, METH_VARARGS, (char *)"SoTriangleStripSet_numVertices_get(SoTriangleStripSet self) -> SoMFInt32"}, - { (char *)"SoTriangleStripSet_GLRender", _wrap_SoTriangleStripSet_GLRender, METH_VARARGS, (char *)"SoTriangleStripSet_GLRender(SoTriangleStripSet self, SoGLRenderAction action)"}, - { (char *)"SoTriangleStripSet_getPrimitiveCount", _wrap_SoTriangleStripSet_getPrimitiveCount, METH_VARARGS, (char *)"SoTriangleStripSet_getPrimitiveCount(SoTriangleStripSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTriangleStripSet_generateDefaultNormals", _wrap_SoTriangleStripSet_generateDefaultNormals, METH_VARARGS, (char *)"SoTriangleStripSet_generateDefaultNormals(SoTriangleStripSet self, SoState state, SoNormalBundle nb) -> SbBool"}, - { (char *)"SoTriangleStripSet_swigregister", SoTriangleStripSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsCurve_getClassTypeId", _wrap_SoNurbsCurve_getClassTypeId, METH_VARARGS, (char *)"SoNurbsCurve_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsCurve_getTypeId", _wrap_SoNurbsCurve_getTypeId, METH_VARARGS, (char *)"SoNurbsCurve_getTypeId(SoNurbsCurve self) -> SoType"}, - { (char *)"SoNurbsCurve_initClass", _wrap_SoNurbsCurve_initClass, METH_VARARGS, (char *)"SoNurbsCurve_initClass()"}, - { (char *)"new_SoNurbsCurve", _wrap_new_SoNurbsCurve, METH_VARARGS, (char *)"new_SoNurbsCurve() -> SoNurbsCurve"}, - { (char *)"SoNurbsCurve_numControlPoints_set", _wrap_SoNurbsCurve_numControlPoints_set, METH_VARARGS, (char *)"SoNurbsCurve_numControlPoints_set(SoNurbsCurve self, SoSFInt32 numControlPoints)"}, - { (char *)"SoNurbsCurve_numControlPoints_get", _wrap_SoNurbsCurve_numControlPoints_get, METH_VARARGS, (char *)"SoNurbsCurve_numControlPoints_get(SoNurbsCurve self) -> SoSFInt32"}, - { (char *)"SoNurbsCurve_knotVector_set", _wrap_SoNurbsCurve_knotVector_set, METH_VARARGS, (char *)"SoNurbsCurve_knotVector_set(SoNurbsCurve self, SoMFFloat knotVector)"}, - { (char *)"SoNurbsCurve_knotVector_get", _wrap_SoNurbsCurve_knotVector_get, METH_VARARGS, (char *)"SoNurbsCurve_knotVector_get(SoNurbsCurve self) -> SoMFFloat"}, - { (char *)"SoNurbsCurve_GLRender", _wrap_SoNurbsCurve_GLRender, METH_VARARGS, (char *)"SoNurbsCurve_GLRender(SoNurbsCurve self, SoGLRenderAction action)"}, - { (char *)"SoNurbsCurve_rayPick", _wrap_SoNurbsCurve_rayPick, METH_VARARGS, (char *)"SoNurbsCurve_rayPick(SoNurbsCurve self, SoRayPickAction action)"}, - { (char *)"SoNurbsCurve_getPrimitiveCount", _wrap_SoNurbsCurve_getPrimitiveCount, METH_VARARGS, (char *)"SoNurbsCurve_getPrimitiveCount(SoNurbsCurve self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNurbsCurve_getBoundingBox", _wrap_SoNurbsCurve_getBoundingBox, METH_VARARGS, (char *)"SoNurbsCurve_getBoundingBox(SoNurbsCurve self, SoGetBoundingBoxAction action)"}, - { (char *)"SoNurbsCurve_sendPrimitive", _wrap_SoNurbsCurve_sendPrimitive, METH_VARARGS, (char *)"SoNurbsCurve_sendPrimitive(SoNurbsCurve self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoNurbsCurve_swigregister", SoNurbsCurve_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsSurface_getClassTypeId", _wrap_SoNurbsSurface_getClassTypeId, METH_VARARGS, (char *)"SoNurbsSurface_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsSurface_getTypeId", _wrap_SoNurbsSurface_getTypeId, METH_VARARGS, (char *)"SoNurbsSurface_getTypeId(SoNurbsSurface self) -> SoType"}, - { (char *)"SoNurbsSurface_initClass", _wrap_SoNurbsSurface_initClass, METH_VARARGS, (char *)"SoNurbsSurface_initClass()"}, - { (char *)"new_SoNurbsSurface", _wrap_new_SoNurbsSurface, METH_VARARGS, (char *)"new_SoNurbsSurface() -> SoNurbsSurface"}, - { (char *)"SoNurbsSurface_numUControlPoints_set", _wrap_SoNurbsSurface_numUControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numUControlPoints_set(SoNurbsSurface self, SoSFInt32 numUControlPoints)"}, - { (char *)"SoNurbsSurface_numUControlPoints_get", _wrap_SoNurbsSurface_numUControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numUControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numVControlPoints_set", _wrap_SoNurbsSurface_numVControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numVControlPoints_set(SoNurbsSurface self, SoSFInt32 numVControlPoints)"}, - { (char *)"SoNurbsSurface_numVControlPoints_get", _wrap_SoNurbsSurface_numVControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numVControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numSControlPoints_set", _wrap_SoNurbsSurface_numSControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numSControlPoints_set(SoNurbsSurface self, SoSFInt32 numSControlPoints)"}, - { (char *)"SoNurbsSurface_numSControlPoints_get", _wrap_SoNurbsSurface_numSControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numSControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_numTControlPoints_set", _wrap_SoNurbsSurface_numTControlPoints_set, METH_VARARGS, (char *)"SoNurbsSurface_numTControlPoints_set(SoNurbsSurface self, SoSFInt32 numTControlPoints)"}, - { (char *)"SoNurbsSurface_numTControlPoints_get", _wrap_SoNurbsSurface_numTControlPoints_get, METH_VARARGS, (char *)"SoNurbsSurface_numTControlPoints_get(SoNurbsSurface self) -> SoSFInt32"}, - { (char *)"SoNurbsSurface_uKnotVector_set", _wrap_SoNurbsSurface_uKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_uKnotVector_set(SoNurbsSurface self, SoMFFloat uKnotVector)"}, - { (char *)"SoNurbsSurface_uKnotVector_get", _wrap_SoNurbsSurface_uKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_uKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_vKnotVector_set", _wrap_SoNurbsSurface_vKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_vKnotVector_set(SoNurbsSurface self, SoMFFloat vKnotVector)"}, - { (char *)"SoNurbsSurface_vKnotVector_get", _wrap_SoNurbsSurface_vKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_vKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_sKnotVector_set", _wrap_SoNurbsSurface_sKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_sKnotVector_set(SoNurbsSurface self, SoMFFloat sKnotVector)"}, - { (char *)"SoNurbsSurface_sKnotVector_get", _wrap_SoNurbsSurface_sKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_sKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_tKnotVector_set", _wrap_SoNurbsSurface_tKnotVector_set, METH_VARARGS, (char *)"SoNurbsSurface_tKnotVector_set(SoNurbsSurface self, SoMFFloat tKnotVector)"}, - { (char *)"SoNurbsSurface_tKnotVector_get", _wrap_SoNurbsSurface_tKnotVector_get, METH_VARARGS, (char *)"SoNurbsSurface_tKnotVector_get(SoNurbsSurface self) -> SoMFFloat"}, - { (char *)"SoNurbsSurface_GLRender", _wrap_SoNurbsSurface_GLRender, METH_VARARGS, (char *)"SoNurbsSurface_GLRender(SoNurbsSurface self, SoGLRenderAction action)"}, - { (char *)"SoNurbsSurface_rayPick", _wrap_SoNurbsSurface_rayPick, METH_VARARGS, (char *)"SoNurbsSurface_rayPick(SoNurbsSurface self, SoRayPickAction action)"}, - { (char *)"SoNurbsSurface_getPrimitiveCount", _wrap_SoNurbsSurface_getPrimitiveCount, METH_VARARGS, (char *)"SoNurbsSurface_getPrimitiveCount(SoNurbsSurface self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNurbsSurface_sendPrimitive", _wrap_SoNurbsSurface_sendPrimitive, METH_VARARGS, (char *)"SoNurbsSurface_sendPrimitive(SoNurbsSurface self, SoAction ?, SoPrimitiveVertex ?)"}, - { (char *)"SoNurbsSurface_swigregister", SoNurbsSurface_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSphere_getClassTypeId", _wrap_SoSphere_getClassTypeId, METH_VARARGS, (char *)"SoSphere_getClassTypeId() -> SoType"}, - { (char *)"SoSphere_getTypeId", _wrap_SoSphere_getTypeId, METH_VARARGS, (char *)"SoSphere_getTypeId(SoSphere self) -> SoType"}, - { (char *)"SoSphere_initClass", _wrap_SoSphere_initClass, METH_VARARGS, (char *)"SoSphere_initClass()"}, - { (char *)"new_SoSphere", _wrap_new_SoSphere, METH_VARARGS, (char *)"new_SoSphere() -> SoSphere"}, - { (char *)"SoSphere_radius_set", _wrap_SoSphere_radius_set, METH_VARARGS, (char *)"SoSphere_radius_set(SoSphere self, SoSFFloat radius)"}, - { (char *)"SoSphere_radius_get", _wrap_SoSphere_radius_get, METH_VARARGS, (char *)"SoSphere_radius_get(SoSphere self) -> SoSFFloat"}, - { (char *)"SoSphere_GLRender", _wrap_SoSphere_GLRender, METH_VARARGS, (char *)"SoSphere_GLRender(SoSphere self, SoGLRenderAction action)"}, - { (char *)"SoSphere_rayPick", _wrap_SoSphere_rayPick, METH_VARARGS, (char *)"SoSphere_rayPick(SoSphere self, SoRayPickAction action)"}, - { (char *)"SoSphere_getPrimitiveCount", _wrap_SoSphere_getPrimitiveCount, METH_VARARGS, (char *)"SoSphere_getPrimitiveCount(SoSphere self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoSphere_swigregister", SoSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoText2_getClassTypeId", _wrap_SoText2_getClassTypeId, METH_VARARGS, (char *)"SoText2_getClassTypeId() -> SoType"}, - { (char *)"SoText2_getTypeId", _wrap_SoText2_getTypeId, METH_VARARGS, (char *)"SoText2_getTypeId(SoText2 self) -> SoType"}, - { (char *)"SoText2_initClass", _wrap_SoText2_initClass, METH_VARARGS, (char *)"SoText2_initClass()"}, - { (char *)"new_SoText2", _wrap_new_SoText2, METH_VARARGS, (char *)"new_SoText2() -> SoText2"}, - { (char *)"SoText2_string_set", _wrap_SoText2_string_set, METH_VARARGS, (char *)"SoText2_string_set(SoText2 self, SoMFString string)"}, - { (char *)"SoText2_string_get", _wrap_SoText2_string_get, METH_VARARGS, (char *)"SoText2_string_get(SoText2 self) -> SoMFString"}, - { (char *)"SoText2_spacing_set", _wrap_SoText2_spacing_set, METH_VARARGS, (char *)"SoText2_spacing_set(SoText2 self, SoSFFloat spacing)"}, - { (char *)"SoText2_spacing_get", _wrap_SoText2_spacing_get, METH_VARARGS, (char *)"SoText2_spacing_get(SoText2 self) -> SoSFFloat"}, - { (char *)"SoText2_justification_set", _wrap_SoText2_justification_set, METH_VARARGS, (char *)"SoText2_justification_set(SoText2 self, SoSFEnum justification)"}, - { (char *)"SoText2_justification_get", _wrap_SoText2_justification_get, METH_VARARGS, (char *)"SoText2_justification_get(SoText2 self) -> SoSFEnum"}, - { (char *)"SoText2_GLRender", _wrap_SoText2_GLRender, METH_VARARGS, (char *)"SoText2_GLRender(SoText2 self, SoGLRenderAction action)"}, - { (char *)"SoText2_rayPick", _wrap_SoText2_rayPick, METH_VARARGS, (char *)"SoText2_rayPick(SoText2 self, SoRayPickAction action)"}, - { (char *)"SoText2_getPrimitiveCount", _wrap_SoText2_getPrimitiveCount, METH_VARARGS, (char *)"SoText2_getPrimitiveCount(SoText2 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoText2_swigregister", SoText2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoText3_getClassTypeId", _wrap_SoText3_getClassTypeId, METH_VARARGS, (char *)"SoText3_getClassTypeId() -> SoType"}, - { (char *)"SoText3_getTypeId", _wrap_SoText3_getTypeId, METH_VARARGS, (char *)"SoText3_getTypeId(SoText3 self) -> SoType"}, - { (char *)"SoText3_initClass", _wrap_SoText3_initClass, METH_VARARGS, (char *)"SoText3_initClass()"}, - { (char *)"new_SoText3", _wrap_new_SoText3, METH_VARARGS, (char *)"new_SoText3() -> SoText3"}, - { (char *)"SoText3_string_set", _wrap_SoText3_string_set, METH_VARARGS, (char *)"SoText3_string_set(SoText3 self, SoMFString string)"}, - { (char *)"SoText3_string_get", _wrap_SoText3_string_get, METH_VARARGS, (char *)"SoText3_string_get(SoText3 self) -> SoMFString"}, - { (char *)"SoText3_spacing_set", _wrap_SoText3_spacing_set, METH_VARARGS, (char *)"SoText3_spacing_set(SoText3 self, SoSFFloat spacing)"}, - { (char *)"SoText3_spacing_get", _wrap_SoText3_spacing_get, METH_VARARGS, (char *)"SoText3_spacing_get(SoText3 self) -> SoSFFloat"}, - { (char *)"SoText3_justification_set", _wrap_SoText3_justification_set, METH_VARARGS, (char *)"SoText3_justification_set(SoText3 self, SoSFEnum justification)"}, - { (char *)"SoText3_justification_get", _wrap_SoText3_justification_get, METH_VARARGS, (char *)"SoText3_justification_get(SoText3 self) -> SoSFEnum"}, - { (char *)"SoText3_parts_set", _wrap_SoText3_parts_set, METH_VARARGS, (char *)"SoText3_parts_set(SoText3 self, SoSFBitMask parts)"}, - { (char *)"SoText3_parts_get", _wrap_SoText3_parts_get, METH_VARARGS, (char *)"SoText3_parts_get(SoText3 self) -> SoSFBitMask"}, - { (char *)"SoText3_getCharacterBounds", _wrap_SoText3_getCharacterBounds, METH_VARARGS, (char *)"SoText3_getCharacterBounds(SoText3 self, SoState state, int stringindex, int charindex) -> SbBox3f"}, - { (char *)"SoText3_GLRender", _wrap_SoText3_GLRender, METH_VARARGS, (char *)"SoText3_GLRender(SoText3 self, SoGLRenderAction action)"}, - { (char *)"SoText3_getPrimitiveCount", _wrap_SoText3_getPrimitiveCount, METH_VARARGS, (char *)"SoText3_getPrimitiveCount(SoText3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoText3_swigregister", SoText3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWWWAnchor_getClassTypeId", _wrap_SoWWWAnchor_getClassTypeId, METH_VARARGS, (char *)"SoWWWAnchor_getClassTypeId() -> SoType"}, - { (char *)"SoWWWAnchor_getTypeId", _wrap_SoWWWAnchor_getTypeId, METH_VARARGS, (char *)"SoWWWAnchor_getTypeId(SoWWWAnchor self) -> SoType"}, - { (char *)"SoWWWAnchor_initClass", _wrap_SoWWWAnchor_initClass, METH_VARARGS, (char *)"SoWWWAnchor_initClass()"}, - { (char *)"new_SoWWWAnchor", _wrap_new_SoWWWAnchor, METH_VARARGS, (char *)"new_SoWWWAnchor() -> SoWWWAnchor"}, - { (char *)"SoWWWAnchor_name_set", _wrap_SoWWWAnchor_name_set, METH_VARARGS, (char *)"SoWWWAnchor_name_set(SoWWWAnchor self, SoSFString name)"}, - { (char *)"SoWWWAnchor_name_get", _wrap_SoWWWAnchor_name_get, METH_VARARGS, (char *)"SoWWWAnchor_name_get(SoWWWAnchor self) -> SoSFString"}, - { (char *)"SoWWWAnchor_description_set", _wrap_SoWWWAnchor_description_set, METH_VARARGS, (char *)"SoWWWAnchor_description_set(SoWWWAnchor self, SoSFString description)"}, - { (char *)"SoWWWAnchor_description_get", _wrap_SoWWWAnchor_description_get, METH_VARARGS, (char *)"SoWWWAnchor_description_get(SoWWWAnchor self) -> SoSFString"}, - { (char *)"SoWWWAnchor_map_set", _wrap_SoWWWAnchor_map_set, METH_VARARGS, (char *)"SoWWWAnchor_map_set(SoWWWAnchor self, SoSFEnum map)"}, - { (char *)"SoWWWAnchor_map_get", _wrap_SoWWWAnchor_map_get, METH_VARARGS, (char *)"SoWWWAnchor_map_get(SoWWWAnchor self) -> SoSFEnum"}, - { (char *)"SoWWWAnchor_setFullURLName", _wrap_SoWWWAnchor_setFullURLName, METH_VARARGS, (char *)"SoWWWAnchor_setFullURLName(SoWWWAnchor self, SbString url)"}, - { (char *)"SoWWWAnchor_getFullURLName", _wrap_SoWWWAnchor_getFullURLName, METH_VARARGS, (char *)"SoWWWAnchor_getFullURLName(SoWWWAnchor self) -> SbString"}, - { (char *)"SoWWWAnchor_handleEvent", _wrap_SoWWWAnchor_handleEvent, METH_VARARGS, (char *)"SoWWWAnchor_handleEvent(SoWWWAnchor self, SoHandleEventAction action)"}, - { (char *)"SoWWWAnchor_setFetchURLCallBack", _wrap_SoWWWAnchor_setFetchURLCallBack, METH_VARARGS, (char *)"SoWWWAnchor_setFetchURLCallBack(SoWWWAnchorCB f, void userData)"}, - { (char *)"SoWWWAnchor_setHighlightURLCallBack", _wrap_SoWWWAnchor_setHighlightURLCallBack, METH_VARARGS, (char *)"SoWWWAnchor_setHighlightURLCallBack(SoWWWAnchorCB f, void userData)"}, - { (char *)"SoWWWAnchor_swigregister", SoWWWAnchor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPathSwitch_getClassTypeId", _wrap_SoPathSwitch_getClassTypeId, METH_VARARGS, (char *)"SoPathSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoPathSwitch_getTypeId", _wrap_SoPathSwitch_getTypeId, METH_VARARGS, (char *)"SoPathSwitch_getTypeId(SoPathSwitch self) -> SoType"}, - { (char *)"SoPathSwitch_initClass", _wrap_SoPathSwitch_initClass, METH_VARARGS, (char *)"SoPathSwitch_initClass()"}, - { (char *)"new_SoPathSwitch", _wrap_new_SoPathSwitch, METH_VARARGS, (char *)"\n" - "SoPathSwitch()\n" - "new_SoPathSwitch(int numchildren) -> SoPathSwitch\n" - ""}, - { (char *)"SoPathSwitch_path_set", _wrap_SoPathSwitch_path_set, METH_VARARGS, (char *)"SoPathSwitch_path_set(SoPathSwitch self, SoSFPath path)"}, - { (char *)"SoPathSwitch_path_get", _wrap_SoPathSwitch_path_get, METH_VARARGS, (char *)"SoPathSwitch_path_get(SoPathSwitch self) -> SoSFPath"}, - { (char *)"SoPathSwitch_doAction", _wrap_SoPathSwitch_doAction, METH_VARARGS, (char *)"SoPathSwitch_doAction(SoPathSwitch self, SoAction action)"}, - { (char *)"SoPathSwitch_GLRender", _wrap_SoPathSwitch_GLRender, METH_VARARGS, (char *)"SoPathSwitch_GLRender(SoPathSwitch self, SoGLRenderAction action)"}, - { (char *)"SoPathSwitch_pick", _wrap_SoPathSwitch_pick, METH_VARARGS, (char *)"SoPathSwitch_pick(SoPathSwitch self, SoPickAction action)"}, - { (char *)"SoPathSwitch_getBoundingBox", _wrap_SoPathSwitch_getBoundingBox, METH_VARARGS, (char *)"SoPathSwitch_getBoundingBox(SoPathSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoPathSwitch_handleEvent", _wrap_SoPathSwitch_handleEvent, METH_VARARGS, (char *)"SoPathSwitch_handleEvent(SoPathSwitch self, SoHandleEventAction action)"}, - { (char *)"SoPathSwitch_getMatrix", _wrap_SoPathSwitch_getMatrix, METH_VARARGS, (char *)"SoPathSwitch_getMatrix(SoPathSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoPathSwitch_search", _wrap_SoPathSwitch_search, METH_VARARGS, (char *)"SoPathSwitch_search(SoPathSwitch self, SoSearchAction action)"}, - { (char *)"SoPathSwitch_getPrimitiveCount", _wrap_SoPathSwitch_getPrimitiveCount, METH_VARARGS, (char *)"SoPathSwitch_getPrimitiveCount(SoPathSwitch self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoPathSwitch_audioRender", _wrap_SoPathSwitch_audioRender, METH_VARARGS, (char *)"SoPathSwitch_audioRender(SoPathSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoPathSwitch_swigregister", SoPathSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransformSeparator_getClassTypeId", _wrap_SoTransformSeparator_getClassTypeId, METH_VARARGS, (char *)"SoTransformSeparator_getClassTypeId() -> SoType"}, - { (char *)"SoTransformSeparator_getTypeId", _wrap_SoTransformSeparator_getTypeId, METH_VARARGS, (char *)"SoTransformSeparator_getTypeId(SoTransformSeparator self) -> SoType"}, - { (char *)"SoTransformSeparator_initClass", _wrap_SoTransformSeparator_initClass, METH_VARARGS, (char *)"SoTransformSeparator_initClass()"}, - { (char *)"new_SoTransformSeparator", _wrap_new_SoTransformSeparator, METH_VARARGS, (char *)"\n" - "SoTransformSeparator()\n" - "new_SoTransformSeparator(int nChildren) -> SoTransformSeparator\n" - ""}, - { (char *)"SoTransformSeparator_doAction", _wrap_SoTransformSeparator_doAction, METH_VARARGS, (char *)"SoTransformSeparator_doAction(SoTransformSeparator self, SoAction action)"}, - { (char *)"SoTransformSeparator_callback", _wrap_SoTransformSeparator_callback, METH_VARARGS, (char *)"SoTransformSeparator_callback(SoTransformSeparator self, SoCallbackAction action)"}, - { (char *)"SoTransformSeparator_GLRender", _wrap_SoTransformSeparator_GLRender, METH_VARARGS, (char *)"SoTransformSeparator_GLRender(SoTransformSeparator self, SoGLRenderAction action)"}, - { (char *)"SoTransformSeparator_pick", _wrap_SoTransformSeparator_pick, METH_VARARGS, (char *)"SoTransformSeparator_pick(SoTransformSeparator self, SoPickAction action)"}, - { (char *)"SoTransformSeparator_getBoundingBox", _wrap_SoTransformSeparator_getBoundingBox, METH_VARARGS, (char *)"SoTransformSeparator_getBoundingBox(SoTransformSeparator self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTransformSeparator_getMatrix", _wrap_SoTransformSeparator_getMatrix, METH_VARARGS, (char *)"SoTransformSeparator_getMatrix(SoTransformSeparator self, SoGetMatrixAction action)"}, - { (char *)"SoTransformSeparator_getPrimitiveCount", _wrap_SoTransformSeparator_getPrimitiveCount, METH_VARARGS, (char *)"SoTransformSeparator_getPrimitiveCount(SoTransformSeparator self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTransformSeparator_audioRender", _wrap_SoTransformSeparator_audioRender, METH_VARARGS, (char *)"SoTransformSeparator_audioRender(SoTransformSeparator self, SoAudioRenderAction action)"}, - { (char *)"SoTransformSeparator_swigregister", SoTransformSeparator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotation_getClassTypeId", _wrap_SoRotation_getClassTypeId, METH_VARARGS, (char *)"SoRotation_getClassTypeId() -> SoType"}, - { (char *)"SoRotation_getTypeId", _wrap_SoRotation_getTypeId, METH_VARARGS, (char *)"SoRotation_getTypeId(SoRotation self) -> SoType"}, - { (char *)"SoRotation_initClass", _wrap_SoRotation_initClass, METH_VARARGS, (char *)"SoRotation_initClass()"}, - { (char *)"new_SoRotation", _wrap_new_SoRotation, METH_VARARGS, (char *)"new_SoRotation() -> SoRotation"}, - { (char *)"SoRotation_rotation_set", _wrap_SoRotation_rotation_set, METH_VARARGS, (char *)"SoRotation_rotation_set(SoRotation self, SoSFRotation rotation)"}, - { (char *)"SoRotation_rotation_get", _wrap_SoRotation_rotation_get, METH_VARARGS, (char *)"SoRotation_rotation_get(SoRotation self) -> SoSFRotation"}, - { (char *)"SoRotation_doAction", _wrap_SoRotation_doAction, METH_VARARGS, (char *)"SoRotation_doAction(SoRotation self, SoAction action)"}, - { (char *)"SoRotation_GLRender", _wrap_SoRotation_GLRender, METH_VARARGS, (char *)"SoRotation_GLRender(SoRotation self, SoGLRenderAction action)"}, - { (char *)"SoRotation_callback", _wrap_SoRotation_callback, METH_VARARGS, (char *)"SoRotation_callback(SoRotation self, SoCallbackAction action)"}, - { (char *)"SoRotation_getBoundingBox", _wrap_SoRotation_getBoundingBox, METH_VARARGS, (char *)"SoRotation_getBoundingBox(SoRotation self, SoGetBoundingBoxAction action)"}, - { (char *)"SoRotation_getMatrix", _wrap_SoRotation_getMatrix, METH_VARARGS, (char *)"SoRotation_getMatrix(SoRotation self, SoGetMatrixAction action)"}, - { (char *)"SoRotation_pick", _wrap_SoRotation_pick, METH_VARARGS, (char *)"SoRotation_pick(SoRotation self, SoPickAction action)"}, - { (char *)"SoRotation_getPrimitiveCount", _wrap_SoRotation_getPrimitiveCount, METH_VARARGS, (char *)"SoRotation_getPrimitiveCount(SoRotation self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoRotation_swigregister", SoRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPendulum_getClassTypeId", _wrap_SoPendulum_getClassTypeId, METH_VARARGS, (char *)"SoPendulum_getClassTypeId() -> SoType"}, - { (char *)"SoPendulum_getTypeId", _wrap_SoPendulum_getTypeId, METH_VARARGS, (char *)"SoPendulum_getTypeId(SoPendulum self) -> SoType"}, - { (char *)"SoPendulum_initClass", _wrap_SoPendulum_initClass, METH_VARARGS, (char *)"SoPendulum_initClass()"}, - { (char *)"new_SoPendulum", _wrap_new_SoPendulum, METH_VARARGS, (char *)"new_SoPendulum() -> SoPendulum"}, - { (char *)"SoPendulum_rotation0_set", _wrap_SoPendulum_rotation0_set, METH_VARARGS, (char *)"SoPendulum_rotation0_set(SoPendulum self, SoSFRotation rotation0)"}, - { (char *)"SoPendulum_rotation0_get", _wrap_SoPendulum_rotation0_get, METH_VARARGS, (char *)"SoPendulum_rotation0_get(SoPendulum self) -> SoSFRotation"}, - { (char *)"SoPendulum_rotation1_set", _wrap_SoPendulum_rotation1_set, METH_VARARGS, (char *)"SoPendulum_rotation1_set(SoPendulum self, SoSFRotation rotation1)"}, - { (char *)"SoPendulum_rotation1_get", _wrap_SoPendulum_rotation1_get, METH_VARARGS, (char *)"SoPendulum_rotation1_get(SoPendulum self) -> SoSFRotation"}, - { (char *)"SoPendulum_speed_set", _wrap_SoPendulum_speed_set, METH_VARARGS, (char *)"SoPendulum_speed_set(SoPendulum self, SoSFFloat speed)"}, - { (char *)"SoPendulum_speed_get", _wrap_SoPendulum_speed_get, METH_VARARGS, (char *)"SoPendulum_speed_get(SoPendulum self) -> SoSFFloat"}, - { (char *)"SoPendulum_on_set", _wrap_SoPendulum_on_set, METH_VARARGS, (char *)"SoPendulum_on_set(SoPendulum self, SoSFBool on)"}, - { (char *)"SoPendulum_on_get", _wrap_SoPendulum_on_get, METH_VARARGS, (char *)"SoPendulum_on_get(SoPendulum self) -> SoSFBool"}, - { (char *)"SoPendulum_write", _wrap_SoPendulum_write, METH_VARARGS, (char *)"SoPendulum_write(SoPendulum self, SoWriteAction action)"}, - { (char *)"SoPendulum_swigregister", SoPendulum_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotor_getClassTypeId", _wrap_SoRotor_getClassTypeId, METH_VARARGS, (char *)"SoRotor_getClassTypeId() -> SoType"}, - { (char *)"SoRotor_getTypeId", _wrap_SoRotor_getTypeId, METH_VARARGS, (char *)"SoRotor_getTypeId(SoRotor self) -> SoType"}, - { (char *)"SoRotor_initClass", _wrap_SoRotor_initClass, METH_VARARGS, (char *)"SoRotor_initClass()"}, - { (char *)"new_SoRotor", _wrap_new_SoRotor, METH_VARARGS, (char *)"new_SoRotor() -> SoRotor"}, - { (char *)"SoRotor_speed_set", _wrap_SoRotor_speed_set, METH_VARARGS, (char *)"SoRotor_speed_set(SoRotor self, SoSFFloat speed)"}, - { (char *)"SoRotor_speed_get", _wrap_SoRotor_speed_get, METH_VARARGS, (char *)"SoRotor_speed_get(SoRotor self) -> SoSFFloat"}, - { (char *)"SoRotor_on_set", _wrap_SoRotor_on_set, METH_VARARGS, (char *)"SoRotor_on_set(SoRotor self, SoSFBool on)"}, - { (char *)"SoRotor_on_get", _wrap_SoRotor_on_get, METH_VARARGS, (char *)"SoRotor_on_get(SoRotor self) -> SoSFBool"}, - { (char *)"SoRotor_swigregister", SoRotor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoResetTransform_getClassTypeId", _wrap_SoResetTransform_getClassTypeId, METH_VARARGS, (char *)"SoResetTransform_getClassTypeId() -> SoType"}, - { (char *)"SoResetTransform_getTypeId", _wrap_SoResetTransform_getTypeId, METH_VARARGS, (char *)"SoResetTransform_getTypeId(SoResetTransform self) -> SoType"}, - { (char *)"SoResetTransform_initClass", _wrap_SoResetTransform_initClass, METH_VARARGS, (char *)"SoResetTransform_initClass()"}, - { (char *)"new_SoResetTransform", _wrap_new_SoResetTransform, METH_VARARGS, (char *)"new_SoResetTransform() -> SoResetTransform"}, - { (char *)"SoResetTransform_whatToReset_set", _wrap_SoResetTransform_whatToReset_set, METH_VARARGS, (char *)"SoResetTransform_whatToReset_set(SoResetTransform self, SoSFBitMask whatToReset)"}, - { (char *)"SoResetTransform_whatToReset_get", _wrap_SoResetTransform_whatToReset_get, METH_VARARGS, (char *)"SoResetTransform_whatToReset_get(SoResetTransform self) -> SoSFBitMask"}, - { (char *)"SoResetTransform_doAction", _wrap_SoResetTransform_doAction, METH_VARARGS, (char *)"SoResetTransform_doAction(SoResetTransform self, SoAction action)"}, - { (char *)"SoResetTransform_callback", _wrap_SoResetTransform_callback, METH_VARARGS, (char *)"SoResetTransform_callback(SoResetTransform self, SoCallbackAction action)"}, - { (char *)"SoResetTransform_GLRender", _wrap_SoResetTransform_GLRender, METH_VARARGS, (char *)"SoResetTransform_GLRender(SoResetTransform self, SoGLRenderAction action)"}, - { (char *)"SoResetTransform_getBoundingBox", _wrap_SoResetTransform_getBoundingBox, METH_VARARGS, (char *)"SoResetTransform_getBoundingBox(SoResetTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoResetTransform_getMatrix", _wrap_SoResetTransform_getMatrix, METH_VARARGS, (char *)"SoResetTransform_getMatrix(SoResetTransform self, SoGetMatrixAction action)"}, - { (char *)"SoResetTransform_pick", _wrap_SoResetTransform_pick, METH_VARARGS, (char *)"SoResetTransform_pick(SoResetTransform self, SoPickAction action)"}, - { (char *)"SoResetTransform_getPrimitiveCount", _wrap_SoResetTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoResetTransform_getPrimitiveCount(SoResetTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoResetTransform_swigregister", SoResetTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoRotationXYZ_getClassTypeId", _wrap_SoRotationXYZ_getClassTypeId, METH_VARARGS, (char *)"SoRotationXYZ_getClassTypeId() -> SoType"}, - { (char *)"SoRotationXYZ_getTypeId", _wrap_SoRotationXYZ_getTypeId, METH_VARARGS, (char *)"SoRotationXYZ_getTypeId(SoRotationXYZ self) -> SoType"}, - { (char *)"SoRotationXYZ_initClass", _wrap_SoRotationXYZ_initClass, METH_VARARGS, (char *)"SoRotationXYZ_initClass()"}, - { (char *)"new_SoRotationXYZ", _wrap_new_SoRotationXYZ, METH_VARARGS, (char *)"new_SoRotationXYZ() -> SoRotationXYZ"}, - { (char *)"SoRotationXYZ_axis_set", _wrap_SoRotationXYZ_axis_set, METH_VARARGS, (char *)"SoRotationXYZ_axis_set(SoRotationXYZ self, SoSFEnum axis)"}, - { (char *)"SoRotationXYZ_axis_get", _wrap_SoRotationXYZ_axis_get, METH_VARARGS, (char *)"SoRotationXYZ_axis_get(SoRotationXYZ self) -> SoSFEnum"}, - { (char *)"SoRotationXYZ_angle_set", _wrap_SoRotationXYZ_angle_set, METH_VARARGS, (char *)"SoRotationXYZ_angle_set(SoRotationXYZ self, SoSFFloat angle)"}, - { (char *)"SoRotationXYZ_angle_get", _wrap_SoRotationXYZ_angle_get, METH_VARARGS, (char *)"SoRotationXYZ_angle_get(SoRotationXYZ self) -> SoSFFloat"}, - { (char *)"SoRotationXYZ_getRotation", _wrap_SoRotationXYZ_getRotation, METH_VARARGS, (char *)"SoRotationXYZ_getRotation(SoRotationXYZ self) -> SbRotation"}, - { (char *)"SoRotationXYZ_doAction", _wrap_SoRotationXYZ_doAction, METH_VARARGS, (char *)"SoRotationXYZ_doAction(SoRotationXYZ self, SoAction action)"}, - { (char *)"SoRotationXYZ_GLRender", _wrap_SoRotationXYZ_GLRender, METH_VARARGS, (char *)"SoRotationXYZ_GLRender(SoRotationXYZ self, SoGLRenderAction action)"}, - { (char *)"SoRotationXYZ_callback", _wrap_SoRotationXYZ_callback, METH_VARARGS, (char *)"SoRotationXYZ_callback(SoRotationXYZ self, SoCallbackAction action)"}, - { (char *)"SoRotationXYZ_getBoundingBox", _wrap_SoRotationXYZ_getBoundingBox, METH_VARARGS, (char *)"SoRotationXYZ_getBoundingBox(SoRotationXYZ self, SoGetBoundingBoxAction action)"}, - { (char *)"SoRotationXYZ_getMatrix", _wrap_SoRotationXYZ_getMatrix, METH_VARARGS, (char *)"SoRotationXYZ_getMatrix(SoRotationXYZ self, SoGetMatrixAction action)"}, - { (char *)"SoRotationXYZ_pick", _wrap_SoRotationXYZ_pick, METH_VARARGS, (char *)"SoRotationXYZ_pick(SoRotationXYZ self, SoPickAction action)"}, - { (char *)"SoRotationXYZ_getPrimitiveCount", _wrap_SoRotationXYZ_getPrimitiveCount, METH_VARARGS, (char *)"SoRotationXYZ_getPrimitiveCount(SoRotationXYZ self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoRotationXYZ_swigregister", SoRotationXYZ_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTranslation_getClassTypeId", _wrap_SoTranslation_getClassTypeId, METH_VARARGS, (char *)"SoTranslation_getClassTypeId() -> SoType"}, - { (char *)"SoTranslation_getTypeId", _wrap_SoTranslation_getTypeId, METH_VARARGS, (char *)"SoTranslation_getTypeId(SoTranslation self) -> SoType"}, - { (char *)"SoTranslation_initClass", _wrap_SoTranslation_initClass, METH_VARARGS, (char *)"SoTranslation_initClass()"}, - { (char *)"new_SoTranslation", _wrap_new_SoTranslation, METH_VARARGS, (char *)"new_SoTranslation() -> SoTranslation"}, - { (char *)"SoTranslation_translation_set", _wrap_SoTranslation_translation_set, METH_VARARGS, (char *)"SoTranslation_translation_set(SoTranslation self, SoSFVec3f translation)"}, - { (char *)"SoTranslation_translation_get", _wrap_SoTranslation_translation_get, METH_VARARGS, (char *)"SoTranslation_translation_get(SoTranslation self) -> SoSFVec3f"}, - { (char *)"SoTranslation_doAction", _wrap_SoTranslation_doAction, METH_VARARGS, (char *)"SoTranslation_doAction(SoTranslation self, SoAction action)"}, - { (char *)"SoTranslation_callback", _wrap_SoTranslation_callback, METH_VARARGS, (char *)"SoTranslation_callback(SoTranslation self, SoCallbackAction action)"}, - { (char *)"SoTranslation_GLRender", _wrap_SoTranslation_GLRender, METH_VARARGS, (char *)"SoTranslation_GLRender(SoTranslation self, SoGLRenderAction action)"}, - { (char *)"SoTranslation_getBoundingBox", _wrap_SoTranslation_getBoundingBox, METH_VARARGS, (char *)"SoTranslation_getBoundingBox(SoTranslation self, SoGetBoundingBoxAction action)"}, - { (char *)"SoTranslation_getMatrix", _wrap_SoTranslation_getMatrix, METH_VARARGS, (char *)"SoTranslation_getMatrix(SoTranslation self, SoGetMatrixAction action)"}, - { (char *)"SoTranslation_pick", _wrap_SoTranslation_pick, METH_VARARGS, (char *)"SoTranslation_pick(SoTranslation self, SoPickAction action)"}, - { (char *)"SoTranslation_getPrimitiveCount", _wrap_SoTranslation_getPrimitiveCount, METH_VARARGS, (char *)"SoTranslation_getPrimitiveCount(SoTranslation self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoTranslation_swigregister", SoTranslation_swigregister, METH_VARARGS, NULL}, - { (char *)"SoShuttle_getClassTypeId", _wrap_SoShuttle_getClassTypeId, METH_VARARGS, (char *)"SoShuttle_getClassTypeId() -> SoType"}, - { (char *)"SoShuttle_getTypeId", _wrap_SoShuttle_getTypeId, METH_VARARGS, (char *)"SoShuttle_getTypeId(SoShuttle self) -> SoType"}, - { (char *)"SoShuttle_initClass", _wrap_SoShuttle_initClass, METH_VARARGS, (char *)"SoShuttle_initClass()"}, - { (char *)"new_SoShuttle", _wrap_new_SoShuttle, METH_VARARGS, (char *)"new_SoShuttle() -> SoShuttle"}, - { (char *)"SoShuttle_translation0_set", _wrap_SoShuttle_translation0_set, METH_VARARGS, (char *)"SoShuttle_translation0_set(SoShuttle self, SoSFVec3f translation0)"}, - { (char *)"SoShuttle_translation0_get", _wrap_SoShuttle_translation0_get, METH_VARARGS, (char *)"SoShuttle_translation0_get(SoShuttle self) -> SoSFVec3f"}, - { (char *)"SoShuttle_translation1_set", _wrap_SoShuttle_translation1_set, METH_VARARGS, (char *)"SoShuttle_translation1_set(SoShuttle self, SoSFVec3f translation1)"}, - { (char *)"SoShuttle_translation1_get", _wrap_SoShuttle_translation1_get, METH_VARARGS, (char *)"SoShuttle_translation1_get(SoShuttle self) -> SoSFVec3f"}, - { (char *)"SoShuttle_speed_set", _wrap_SoShuttle_speed_set, METH_VARARGS, (char *)"SoShuttle_speed_set(SoShuttle self, SoSFFloat speed)"}, - { (char *)"SoShuttle_speed_get", _wrap_SoShuttle_speed_get, METH_VARARGS, (char *)"SoShuttle_speed_get(SoShuttle self) -> SoSFFloat"}, - { (char *)"SoShuttle_on_set", _wrap_SoShuttle_on_set, METH_VARARGS, (char *)"SoShuttle_on_set(SoShuttle self, SoSFBool on)"}, - { (char *)"SoShuttle_on_get", _wrap_SoShuttle_on_get, METH_VARARGS, (char *)"SoShuttle_on_get(SoShuttle self) -> SoSFBool"}, - { (char *)"SoShuttle_write", _wrap_SoShuttle_write, METH_VARARGS, (char *)"SoShuttle_write(SoShuttle self, SoWriteAction action)"}, - { (char *)"SoShuttle_swigregister", SoShuttle_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSurroundScale_getClassTypeId", _wrap_SoSurroundScale_getClassTypeId, METH_VARARGS, (char *)"SoSurroundScale_getClassTypeId() -> SoType"}, - { (char *)"SoSurroundScale_getTypeId", _wrap_SoSurroundScale_getTypeId, METH_VARARGS, (char *)"SoSurroundScale_getTypeId(SoSurroundScale self) -> SoType"}, - { (char *)"SoSurroundScale_initClass", _wrap_SoSurroundScale_initClass, METH_VARARGS, (char *)"SoSurroundScale_initClass()"}, - { (char *)"new_SoSurroundScale", _wrap_new_SoSurroundScale, METH_VARARGS, (char *)"new_SoSurroundScale() -> SoSurroundScale"}, - { (char *)"SoSurroundScale_numNodesUpToContainer_set", _wrap_SoSurroundScale_numNodesUpToContainer_set, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToContainer_set(SoSurroundScale self, SoSFInt32 numNodesUpToContainer)"}, - { (char *)"SoSurroundScale_numNodesUpToContainer_get", _wrap_SoSurroundScale_numNodesUpToContainer_get, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToContainer_get(SoSurroundScale self) -> SoSFInt32"}, - { (char *)"SoSurroundScale_numNodesUpToReset_set", _wrap_SoSurroundScale_numNodesUpToReset_set, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToReset_set(SoSurroundScale self, SoSFInt32 numNodesUpToReset)"}, - { (char *)"SoSurroundScale_numNodesUpToReset_get", _wrap_SoSurroundScale_numNodesUpToReset_get, METH_VARARGS, (char *)"SoSurroundScale_numNodesUpToReset_get(SoSurroundScale self) -> SoSFInt32"}, - { (char *)"SoSurroundScale_invalidate", _wrap_SoSurroundScale_invalidate, METH_VARARGS, (char *)"SoSurroundScale_invalidate(SoSurroundScale self)"}, - { (char *)"SoSurroundScale_doAction", _wrap_SoSurroundScale_doAction, METH_VARARGS, (char *)"SoSurroundScale_doAction(SoSurroundScale self, SoAction action)"}, - { (char *)"SoSurroundScale_setDoingTranslations", _wrap_SoSurroundScale_setDoingTranslations, METH_VARARGS, (char *)"SoSurroundScale_setDoingTranslations(SoSurroundScale self, SbBool val)"}, - { (char *)"SoSurroundScale_isDoingTranslations", _wrap_SoSurroundScale_isDoingTranslations, METH_VARARGS, (char *)"SoSurroundScale_isDoingTranslations(SoSurroundScale self) -> SbBool"}, - { (char *)"SoSurroundScale_swigregister", SoSurroundScale_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNurbsProfile_getClassTypeId", _wrap_SoNurbsProfile_getClassTypeId, METH_VARARGS, (char *)"SoNurbsProfile_getClassTypeId() -> SoType"}, - { (char *)"SoNurbsProfile_getTypeId", _wrap_SoNurbsProfile_getTypeId, METH_VARARGS, (char *)"SoNurbsProfile_getTypeId(SoNurbsProfile self) -> SoType"}, - { (char *)"SoNurbsProfile_initClass", _wrap_SoNurbsProfile_initClass, METH_VARARGS, (char *)"SoNurbsProfile_initClass()"}, - { (char *)"new_SoNurbsProfile", _wrap_new_SoNurbsProfile, METH_VARARGS, (char *)"new_SoNurbsProfile() -> SoNurbsProfile"}, - { (char *)"SoNurbsProfile_knotVector_set", _wrap_SoNurbsProfile_knotVector_set, METH_VARARGS, (char *)"SoNurbsProfile_knotVector_set(SoNurbsProfile self, SoMFFloat knotVector)"}, - { (char *)"SoNurbsProfile_knotVector_get", _wrap_SoNurbsProfile_knotVector_get, METH_VARARGS, (char *)"SoNurbsProfile_knotVector_get(SoNurbsProfile self) -> SoMFFloat"}, - { (char *)"SoNurbsProfile_getTrimCurve", _wrap_SoNurbsProfile_getTrimCurve, METH_VARARGS, (char *)"\n" - "SoNurbsProfile_getTrimCurve(SoNurbsProfile self, SoState state, int32_t numpoints, \n" - " float points, int floatspervec, int32_t numknots, \n" - " float knotvector)\n" - ""}, - { (char *)"SoNurbsProfile_getVertices", _wrap_SoNurbsProfile_getVertices, METH_VARARGS, (char *)"\n" - "SoNurbsProfile_getVertices(SoNurbsProfile self, SoState state, int32_t numvertices, \n" - " SbVec2f vertices)\n" - ""}, - { (char *)"SoNurbsProfile_swigregister", SoNurbsProfile_swigregister, METH_VARARGS, NULL}, - { (char *)"SoNormal_getClassTypeId", _wrap_SoNormal_getClassTypeId, METH_VARARGS, (char *)"SoNormal_getClassTypeId() -> SoType"}, - { (char *)"SoNormal_getTypeId", _wrap_SoNormal_getTypeId, METH_VARARGS, (char *)"SoNormal_getTypeId(SoNormal self) -> SoType"}, - { (char *)"SoNormal_initClass", _wrap_SoNormal_initClass, METH_VARARGS, (char *)"SoNormal_initClass()"}, - { (char *)"new_SoNormal", _wrap_new_SoNormal, METH_VARARGS, (char *)"new_SoNormal() -> SoNormal"}, - { (char *)"SoNormal_vector_set", _wrap_SoNormal_vector_set, METH_VARARGS, (char *)"SoNormal_vector_set(SoNormal self, SoMFVec3f vector)"}, - { (char *)"SoNormal_vector_get", _wrap_SoNormal_vector_get, METH_VARARGS, (char *)"SoNormal_vector_get(SoNormal self) -> SoMFVec3f"}, - { (char *)"SoNormal_doAction", _wrap_SoNormal_doAction, METH_VARARGS, (char *)"SoNormal_doAction(SoNormal self, SoAction action)"}, - { (char *)"SoNormal_GLRender", _wrap_SoNormal_GLRender, METH_VARARGS, (char *)"SoNormal_GLRender(SoNormal self, SoGLRenderAction action)"}, - { (char *)"SoNormal_callback", _wrap_SoNormal_callback, METH_VARARGS, (char *)"SoNormal_callback(SoNormal self, SoCallbackAction action)"}, - { (char *)"SoNormal_pick", _wrap_SoNormal_pick, METH_VARARGS, (char *)"SoNormal_pick(SoNormal self, SoPickAction action)"}, - { (char *)"SoNormal_getPrimitiveCount", _wrap_SoNormal_getPrimitiveCount, METH_VARARGS, (char *)"SoNormal_getPrimitiveCount(SoNormal self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoNormal_swigregister", SoNormal_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPackedColor_getClassTypeId", _wrap_SoPackedColor_getClassTypeId, METH_VARARGS, (char *)"SoPackedColor_getClassTypeId() -> SoType"}, - { (char *)"SoPackedColor_getTypeId", _wrap_SoPackedColor_getTypeId, METH_VARARGS, (char *)"SoPackedColor_getTypeId(SoPackedColor self) -> SoType"}, - { (char *)"SoPackedColor_initClass", _wrap_SoPackedColor_initClass, METH_VARARGS, (char *)"SoPackedColor_initClass()"}, - { (char *)"new_SoPackedColor", _wrap_new_SoPackedColor, METH_VARARGS, (char *)"new_SoPackedColor() -> SoPackedColor"}, - { (char *)"SoPackedColor_orderedRGBA_set", _wrap_SoPackedColor_orderedRGBA_set, METH_VARARGS, (char *)"SoPackedColor_orderedRGBA_set(SoPackedColor self, SoMFUInt32 orderedRGBA)"}, - { (char *)"SoPackedColor_orderedRGBA_get", _wrap_SoPackedColor_orderedRGBA_get, METH_VARARGS, (char *)"SoPackedColor_orderedRGBA_get(SoPackedColor self) -> SoMFUInt32"}, - { (char *)"SoPackedColor_doAction", _wrap_SoPackedColor_doAction, METH_VARARGS, (char *)"SoPackedColor_doAction(SoPackedColor self, SoAction action)"}, - { (char *)"SoPackedColor_GLRender", _wrap_SoPackedColor_GLRender, METH_VARARGS, (char *)"SoPackedColor_GLRender(SoPackedColor self, SoGLRenderAction action)"}, - { (char *)"SoPackedColor_callback", _wrap_SoPackedColor_callback, METH_VARARGS, (char *)"SoPackedColor_callback(SoPackedColor self, SoCallbackAction action)"}, - { (char *)"SoPackedColor_isTransparent", _wrap_SoPackedColor_isTransparent, METH_VARARGS, (char *)"SoPackedColor_isTransparent(SoPackedColor self) -> SbBool"}, - { (char *)"SoPackedColor_swigregister", SoPackedColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoPolygonOffset_getClassTypeId", _wrap_SoPolygonOffset_getClassTypeId, METH_VARARGS, (char *)"SoPolygonOffset_getClassTypeId() -> SoType"}, - { (char *)"SoPolygonOffset_getTypeId", _wrap_SoPolygonOffset_getTypeId, METH_VARARGS, (char *)"SoPolygonOffset_getTypeId(SoPolygonOffset self) -> SoType"}, - { (char *)"SoPolygonOffset_initClass", _wrap_SoPolygonOffset_initClass, METH_VARARGS, (char *)"SoPolygonOffset_initClass()"}, - { (char *)"new_SoPolygonOffset", _wrap_new_SoPolygonOffset, METH_VARARGS, (char *)"new_SoPolygonOffset() -> SoPolygonOffset"}, - { (char *)"SoPolygonOffset_factor_set", _wrap_SoPolygonOffset_factor_set, METH_VARARGS, (char *)"SoPolygonOffset_factor_set(SoPolygonOffset self, SoSFFloat factor)"}, - { (char *)"SoPolygonOffset_factor_get", _wrap_SoPolygonOffset_factor_get, METH_VARARGS, (char *)"SoPolygonOffset_factor_get(SoPolygonOffset self) -> SoSFFloat"}, - { (char *)"SoPolygonOffset_units_set", _wrap_SoPolygonOffset_units_set, METH_VARARGS, (char *)"SoPolygonOffset_units_set(SoPolygonOffset self, SoSFFloat units)"}, - { (char *)"SoPolygonOffset_units_get", _wrap_SoPolygonOffset_units_get, METH_VARARGS, (char *)"SoPolygonOffset_units_get(SoPolygonOffset self) -> SoSFFloat"}, - { (char *)"SoPolygonOffset_styles_set", _wrap_SoPolygonOffset_styles_set, METH_VARARGS, (char *)"SoPolygonOffset_styles_set(SoPolygonOffset self, SoSFBitMask styles)"}, - { (char *)"SoPolygonOffset_styles_get", _wrap_SoPolygonOffset_styles_get, METH_VARARGS, (char *)"SoPolygonOffset_styles_get(SoPolygonOffset self) -> SoSFBitMask"}, - { (char *)"SoPolygonOffset_on_set", _wrap_SoPolygonOffset_on_set, METH_VARARGS, (char *)"SoPolygonOffset_on_set(SoPolygonOffset self, SoSFBool on)"}, - { (char *)"SoPolygonOffset_on_get", _wrap_SoPolygonOffset_on_get, METH_VARARGS, (char *)"SoPolygonOffset_on_get(SoPolygonOffset self) -> SoSFBool"}, - { (char *)"SoPolygonOffset_doAction", _wrap_SoPolygonOffset_doAction, METH_VARARGS, (char *)"SoPolygonOffset_doAction(SoPolygonOffset self, SoAction action)"}, - { (char *)"SoPolygonOffset_callback", _wrap_SoPolygonOffset_callback, METH_VARARGS, (char *)"SoPolygonOffset_callback(SoPolygonOffset self, SoCallbackAction action)"}, - { (char *)"SoPolygonOffset_GLRender", _wrap_SoPolygonOffset_GLRender, METH_VARARGS, (char *)"SoPolygonOffset_GLRender(SoPolygonOffset self, SoGLRenderAction action)"}, - { (char *)"SoPolygonOffset_swigregister", SoPolygonOffset_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinate2_getClassTypeId", _wrap_SoProfileCoordinate2_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinate2_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinate2_getTypeId", _wrap_SoProfileCoordinate2_getTypeId, METH_VARARGS, (char *)"SoProfileCoordinate2_getTypeId(SoProfileCoordinate2 self) -> SoType"}, - { (char *)"SoProfileCoordinate2_initClass", _wrap_SoProfileCoordinate2_initClass, METH_VARARGS, (char *)"SoProfileCoordinate2_initClass()"}, - { (char *)"new_SoProfileCoordinate2", _wrap_new_SoProfileCoordinate2, METH_VARARGS, (char *)"new_SoProfileCoordinate2() -> SoProfileCoordinate2"}, - { (char *)"SoProfileCoordinate2_point_set", _wrap_SoProfileCoordinate2_point_set, METH_VARARGS, (char *)"SoProfileCoordinate2_point_set(SoProfileCoordinate2 self, SoMFVec2f point)"}, - { (char *)"SoProfileCoordinate2_point_get", _wrap_SoProfileCoordinate2_point_get, METH_VARARGS, (char *)"SoProfileCoordinate2_point_get(SoProfileCoordinate2 self) -> SoMFVec2f"}, - { (char *)"SoProfileCoordinate2_doAction", _wrap_SoProfileCoordinate2_doAction, METH_VARARGS, (char *)"SoProfileCoordinate2_doAction(SoProfileCoordinate2 self, SoAction action)"}, - { (char *)"SoProfileCoordinate2_GLRender", _wrap_SoProfileCoordinate2_GLRender, METH_VARARGS, (char *)"SoProfileCoordinate2_GLRender(SoProfileCoordinate2 self, SoGLRenderAction action)"}, - { (char *)"SoProfileCoordinate2_callback", _wrap_SoProfileCoordinate2_callback, METH_VARARGS, (char *)"SoProfileCoordinate2_callback(SoProfileCoordinate2 self, SoCallbackAction action)"}, - { (char *)"SoProfileCoordinate2_pick", _wrap_SoProfileCoordinate2_pick, METH_VARARGS, (char *)"SoProfileCoordinate2_pick(SoProfileCoordinate2 self, SoPickAction action)"}, - { (char *)"SoProfileCoordinate2_getBoundingBox", _wrap_SoProfileCoordinate2_getBoundingBox, METH_VARARGS, (char *)"SoProfileCoordinate2_getBoundingBox(SoProfileCoordinate2 self, SoGetBoundingBoxAction action)"}, - { (char *)"SoProfileCoordinate2_getPrimitiveCount", _wrap_SoProfileCoordinate2_getPrimitiveCount, METH_VARARGS, (char *)"SoProfileCoordinate2_getPrimitiveCount(SoProfileCoordinate2 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfileCoordinate2_swigregister", SoProfileCoordinate2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoProfileCoordinate3_getClassTypeId", _wrap_SoProfileCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoProfileCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoProfileCoordinate3_getTypeId", _wrap_SoProfileCoordinate3_getTypeId, METH_VARARGS, (char *)"SoProfileCoordinate3_getTypeId(SoProfileCoordinate3 self) -> SoType"}, - { (char *)"SoProfileCoordinate3_initClass", _wrap_SoProfileCoordinate3_initClass, METH_VARARGS, (char *)"SoProfileCoordinate3_initClass()"}, - { (char *)"new_SoProfileCoordinate3", _wrap_new_SoProfileCoordinate3, METH_VARARGS, (char *)"new_SoProfileCoordinate3() -> SoProfileCoordinate3"}, - { (char *)"SoProfileCoordinate3_point_set", _wrap_SoProfileCoordinate3_point_set, METH_VARARGS, (char *)"SoProfileCoordinate3_point_set(SoProfileCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoProfileCoordinate3_point_get", _wrap_SoProfileCoordinate3_point_get, METH_VARARGS, (char *)"SoProfileCoordinate3_point_get(SoProfileCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoProfileCoordinate3_doAction", _wrap_SoProfileCoordinate3_doAction, METH_VARARGS, (char *)"SoProfileCoordinate3_doAction(SoProfileCoordinate3 self, SoAction action)"}, - { (char *)"SoProfileCoordinate3_GLRender", _wrap_SoProfileCoordinate3_GLRender, METH_VARARGS, (char *)"SoProfileCoordinate3_GLRender(SoProfileCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoProfileCoordinate3_callback", _wrap_SoProfileCoordinate3_callback, METH_VARARGS, (char *)"SoProfileCoordinate3_callback(SoProfileCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoProfileCoordinate3_pick", _wrap_SoProfileCoordinate3_pick, METH_VARARGS, (char *)"SoProfileCoordinate3_pick(SoProfileCoordinate3 self, SoPickAction action)"}, - { (char *)"SoProfileCoordinate3_getPrimitiveCount", _wrap_SoProfileCoordinate3_getPrimitiveCount, METH_VARARGS, (char *)"SoProfileCoordinate3_getPrimitiveCount(SoProfileCoordinate3 self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoProfileCoordinate3_swigregister", SoProfileCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3_getClassTypeId", _wrap_SoTexture3_getClassTypeId, METH_VARARGS, (char *)"SoTexture3_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3_getTypeId", _wrap_SoTexture3_getTypeId, METH_VARARGS, (char *)"SoTexture3_getTypeId(SoTexture3 self) -> SoType"}, - { (char *)"SoTexture3_initClass", _wrap_SoTexture3_initClass, METH_VARARGS, (char *)"SoTexture3_initClass()"}, - { (char *)"new_SoTexture3", _wrap_new_SoTexture3, METH_VARARGS, (char *)"new_SoTexture3() -> SoTexture3"}, - { (char *)"SoTexture3_filenames_set", _wrap_SoTexture3_filenames_set, METH_VARARGS, (char *)"SoTexture3_filenames_set(SoTexture3 self, SoMFString filenames)"}, - { (char *)"SoTexture3_filenames_get", _wrap_SoTexture3_filenames_get, METH_VARARGS, (char *)"SoTexture3_filenames_get(SoTexture3 self) -> SoMFString"}, - { (char *)"SoTexture3_images_set", _wrap_SoTexture3_images_set, METH_VARARGS, (char *)"SoTexture3_images_set(SoTexture3 self, SoSFImage3 images)"}, - { (char *)"SoTexture3_images_get", _wrap_SoTexture3_images_get, METH_VARARGS, (char *)"SoTexture3_images_get(SoTexture3 self) -> SoSFImage3"}, - { (char *)"SoTexture3_wrapR_set", _wrap_SoTexture3_wrapR_set, METH_VARARGS, (char *)"SoTexture3_wrapR_set(SoTexture3 self, SoSFEnum wrapR)"}, - { (char *)"SoTexture3_wrapR_get", _wrap_SoTexture3_wrapR_get, METH_VARARGS, (char *)"SoTexture3_wrapR_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_wrapS_set", _wrap_SoTexture3_wrapS_set, METH_VARARGS, (char *)"SoTexture3_wrapS_set(SoTexture3 self, SoSFEnum wrapS)"}, - { (char *)"SoTexture3_wrapS_get", _wrap_SoTexture3_wrapS_get, METH_VARARGS, (char *)"SoTexture3_wrapS_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_wrapT_set", _wrap_SoTexture3_wrapT_set, METH_VARARGS, (char *)"SoTexture3_wrapT_set(SoTexture3 self, SoSFEnum wrapT)"}, - { (char *)"SoTexture3_wrapT_get", _wrap_SoTexture3_wrapT_get, METH_VARARGS, (char *)"SoTexture3_wrapT_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_model_set", _wrap_SoTexture3_model_set, METH_VARARGS, (char *)"SoTexture3_model_set(SoTexture3 self, SoSFEnum model)"}, - { (char *)"SoTexture3_model_get", _wrap_SoTexture3_model_get, METH_VARARGS, (char *)"SoTexture3_model_get(SoTexture3 self) -> SoSFEnum"}, - { (char *)"SoTexture3_blendColor_set", _wrap_SoTexture3_blendColor_set, METH_VARARGS, (char *)"SoTexture3_blendColor_set(SoTexture3 self, SoSFColor blendColor)"}, - { (char *)"SoTexture3_blendColor_get", _wrap_SoTexture3_blendColor_get, METH_VARARGS, (char *)"SoTexture3_blendColor_get(SoTexture3 self) -> SoSFColor"}, - { (char *)"SoTexture3_doAction", _wrap_SoTexture3_doAction, METH_VARARGS, (char *)"SoTexture3_doAction(SoTexture3 self, SoAction action)"}, - { (char *)"SoTexture3_GLRender", _wrap_SoTexture3_GLRender, METH_VARARGS, (char *)"SoTexture3_GLRender(SoTexture3 self, SoGLRenderAction action)"}, - { (char *)"SoTexture3_callback", _wrap_SoTexture3_callback, METH_VARARGS, (char *)"SoTexture3_callback(SoTexture3 self, SoCallbackAction action)"}, - { (char *)"SoTexture3_swigregister", SoTexture3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture2Transform_getClassTypeId", _wrap_SoTexture2Transform_getClassTypeId, METH_VARARGS, (char *)"SoTexture2Transform_getClassTypeId() -> SoType"}, - { (char *)"SoTexture2Transform_getTypeId", _wrap_SoTexture2Transform_getTypeId, METH_VARARGS, (char *)"SoTexture2Transform_getTypeId(SoTexture2Transform self) -> SoType"}, - { (char *)"SoTexture2Transform_initClass", _wrap_SoTexture2Transform_initClass, METH_VARARGS, (char *)"SoTexture2Transform_initClass()"}, - { (char *)"new_SoTexture2Transform", _wrap_new_SoTexture2Transform, METH_VARARGS, (char *)"new_SoTexture2Transform() -> SoTexture2Transform"}, - { (char *)"SoTexture2Transform_translation_set", _wrap_SoTexture2Transform_translation_set, METH_VARARGS, (char *)"SoTexture2Transform_translation_set(SoTexture2Transform self, SoSFVec2f translation)"}, - { (char *)"SoTexture2Transform_translation_get", _wrap_SoTexture2Transform_translation_get, METH_VARARGS, (char *)"SoTexture2Transform_translation_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_rotation_set", _wrap_SoTexture2Transform_rotation_set, METH_VARARGS, (char *)"SoTexture2Transform_rotation_set(SoTexture2Transform self, SoSFFloat rotation)"}, - { (char *)"SoTexture2Transform_rotation_get", _wrap_SoTexture2Transform_rotation_get, METH_VARARGS, (char *)"SoTexture2Transform_rotation_get(SoTexture2Transform self) -> SoSFFloat"}, - { (char *)"SoTexture2Transform_scaleFactor_set", _wrap_SoTexture2Transform_scaleFactor_set, METH_VARARGS, (char *)"SoTexture2Transform_scaleFactor_set(SoTexture2Transform self, SoSFVec2f scaleFactor)"}, - { (char *)"SoTexture2Transform_scaleFactor_get", _wrap_SoTexture2Transform_scaleFactor_get, METH_VARARGS, (char *)"SoTexture2Transform_scaleFactor_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_center_set", _wrap_SoTexture2Transform_center_set, METH_VARARGS, (char *)"SoTexture2Transform_center_set(SoTexture2Transform self, SoSFVec2f center)"}, - { (char *)"SoTexture2Transform_center_get", _wrap_SoTexture2Transform_center_get, METH_VARARGS, (char *)"SoTexture2Transform_center_get(SoTexture2Transform self) -> SoSFVec2f"}, - { (char *)"SoTexture2Transform_doAction", _wrap_SoTexture2Transform_doAction, METH_VARARGS, (char *)"SoTexture2Transform_doAction(SoTexture2Transform self, SoAction action)"}, - { (char *)"SoTexture2Transform_callback", _wrap_SoTexture2Transform_callback, METH_VARARGS, (char *)"SoTexture2Transform_callback(SoTexture2Transform self, SoCallbackAction action)"}, - { (char *)"SoTexture2Transform_GLRender", _wrap_SoTexture2Transform_GLRender, METH_VARARGS, (char *)"SoTexture2Transform_GLRender(SoTexture2Transform self, SoGLRenderAction action)"}, - { (char *)"SoTexture2Transform_getMatrix", _wrap_SoTexture2Transform_getMatrix, METH_VARARGS, (char *)"SoTexture2Transform_getMatrix(SoTexture2Transform self, SoGetMatrixAction action)"}, - { (char *)"SoTexture2Transform_pick", _wrap_SoTexture2Transform_pick, METH_VARARGS, (char *)"SoTexture2Transform_pick(SoTexture2Transform self, SoPickAction action)"}, - { (char *)"SoTexture2Transform_swigregister", SoTexture2Transform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTexture3Transform_getClassTypeId", _wrap_SoTexture3Transform_getClassTypeId, METH_VARARGS, (char *)"SoTexture3Transform_getClassTypeId() -> SoType"}, - { (char *)"SoTexture3Transform_getTypeId", _wrap_SoTexture3Transform_getTypeId, METH_VARARGS, (char *)"SoTexture3Transform_getTypeId(SoTexture3Transform self) -> SoType"}, - { (char *)"SoTexture3Transform_initClass", _wrap_SoTexture3Transform_initClass, METH_VARARGS, (char *)"SoTexture3Transform_initClass()"}, - { (char *)"new_SoTexture3Transform", _wrap_new_SoTexture3Transform, METH_VARARGS, (char *)"new_SoTexture3Transform() -> SoTexture3Transform"}, - { (char *)"SoTexture3Transform_translation_set", _wrap_SoTexture3Transform_translation_set, METH_VARARGS, (char *)"SoTexture3Transform_translation_set(SoTexture3Transform self, SoSFVec3f translation)"}, - { (char *)"SoTexture3Transform_translation_get", _wrap_SoTexture3Transform_translation_get, METH_VARARGS, (char *)"SoTexture3Transform_translation_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_rotation_set", _wrap_SoTexture3Transform_rotation_set, METH_VARARGS, (char *)"SoTexture3Transform_rotation_set(SoTexture3Transform self, SoSFRotation rotation)"}, - { (char *)"SoTexture3Transform_rotation_get", _wrap_SoTexture3Transform_rotation_get, METH_VARARGS, (char *)"SoTexture3Transform_rotation_get(SoTexture3Transform self) -> SoSFRotation"}, - { (char *)"SoTexture3Transform_scaleFactor_set", _wrap_SoTexture3Transform_scaleFactor_set, METH_VARARGS, (char *)"SoTexture3Transform_scaleFactor_set(SoTexture3Transform self, SoSFVec3f scaleFactor)"}, - { (char *)"SoTexture3Transform_scaleFactor_get", _wrap_SoTexture3Transform_scaleFactor_get, METH_VARARGS, (char *)"SoTexture3Transform_scaleFactor_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_scaleOrientation_set", _wrap_SoTexture3Transform_scaleOrientation_set, METH_VARARGS, (char *)"SoTexture3Transform_scaleOrientation_set(SoTexture3Transform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoTexture3Transform_scaleOrientation_get", _wrap_SoTexture3Transform_scaleOrientation_get, METH_VARARGS, (char *)"SoTexture3Transform_scaleOrientation_get(SoTexture3Transform self) -> SoSFRotation"}, - { (char *)"SoTexture3Transform_center_set", _wrap_SoTexture3Transform_center_set, METH_VARARGS, (char *)"SoTexture3Transform_center_set(SoTexture3Transform self, SoSFVec3f center)"}, - { (char *)"SoTexture3Transform_center_get", _wrap_SoTexture3Transform_center_get, METH_VARARGS, (char *)"SoTexture3Transform_center_get(SoTexture3Transform self) -> SoSFVec3f"}, - { (char *)"SoTexture3Transform_doAction", _wrap_SoTexture3Transform_doAction, METH_VARARGS, (char *)"SoTexture3Transform_doAction(SoTexture3Transform self, SoAction action)"}, - { (char *)"SoTexture3Transform_callback", _wrap_SoTexture3Transform_callback, METH_VARARGS, (char *)"SoTexture3Transform_callback(SoTexture3Transform self, SoCallbackAction action)"}, - { (char *)"SoTexture3Transform_GLRender", _wrap_SoTexture3Transform_GLRender, METH_VARARGS, (char *)"SoTexture3Transform_GLRender(SoTexture3Transform self, SoGLRenderAction action)"}, - { (char *)"SoTexture3Transform_getMatrix", _wrap_SoTexture3Transform_getMatrix, METH_VARARGS, (char *)"SoTexture3Transform_getMatrix(SoTexture3Transform self, SoGetMatrixAction action)"}, - { (char *)"SoTexture3Transform_pick", _wrap_SoTexture3Transform_pick, METH_VARARGS, (char *)"SoTexture3Transform_pick(SoTexture3Transform self, SoPickAction action)"}, - { (char *)"SoTexture3Transform_swigregister", SoTexture3Transform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinate2_getClassTypeId", _wrap_SoTextureCoordinate2_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinate2_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinate2_getTypeId", _wrap_SoTextureCoordinate2_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinate2_getTypeId(SoTextureCoordinate2 self) -> SoType"}, - { (char *)"SoTextureCoordinate2_initClass", _wrap_SoTextureCoordinate2_initClass, METH_VARARGS, (char *)"SoTextureCoordinate2_initClass()"}, - { (char *)"new_SoTextureCoordinate2", _wrap_new_SoTextureCoordinate2, METH_VARARGS, (char *)"new_SoTextureCoordinate2() -> SoTextureCoordinate2"}, - { (char *)"SoTextureCoordinate2_point_set", _wrap_SoTextureCoordinate2_point_set, METH_VARARGS, (char *)"SoTextureCoordinate2_point_set(SoTextureCoordinate2 self, SoMFVec2f point)"}, - { (char *)"SoTextureCoordinate2_point_get", _wrap_SoTextureCoordinate2_point_get, METH_VARARGS, (char *)"SoTextureCoordinate2_point_get(SoTextureCoordinate2 self) -> SoMFVec2f"}, - { (char *)"SoTextureCoordinate2_doAction", _wrap_SoTextureCoordinate2_doAction, METH_VARARGS, (char *)"SoTextureCoordinate2_doAction(SoTextureCoordinate2 self, SoAction action)"}, - { (char *)"SoTextureCoordinate2_GLRender", _wrap_SoTextureCoordinate2_GLRender, METH_VARARGS, (char *)"SoTextureCoordinate2_GLRender(SoTextureCoordinate2 self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinate2_callback", _wrap_SoTextureCoordinate2_callback, METH_VARARGS, (char *)"SoTextureCoordinate2_callback(SoTextureCoordinate2 self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinate2_pick", _wrap_SoTextureCoordinate2_pick, METH_VARARGS, (char *)"SoTextureCoordinate2_pick(SoTextureCoordinate2 self, SoPickAction action)"}, - { (char *)"SoTextureCoordinate2_swigregister", SoTextureCoordinate2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinate3_getClassTypeId", _wrap_SoTextureCoordinate3_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinate3_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinate3_getTypeId", _wrap_SoTextureCoordinate3_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinate3_getTypeId(SoTextureCoordinate3 self) -> SoType"}, - { (char *)"SoTextureCoordinate3_initClass", _wrap_SoTextureCoordinate3_initClass, METH_VARARGS, (char *)"SoTextureCoordinate3_initClass()"}, - { (char *)"new_SoTextureCoordinate3", _wrap_new_SoTextureCoordinate3, METH_VARARGS, (char *)"new_SoTextureCoordinate3() -> SoTextureCoordinate3"}, - { (char *)"SoTextureCoordinate3_point_set", _wrap_SoTextureCoordinate3_point_set, METH_VARARGS, (char *)"SoTextureCoordinate3_point_set(SoTextureCoordinate3 self, SoMFVec3f point)"}, - { (char *)"SoTextureCoordinate3_point_get", _wrap_SoTextureCoordinate3_point_get, METH_VARARGS, (char *)"SoTextureCoordinate3_point_get(SoTextureCoordinate3 self) -> SoMFVec3f"}, - { (char *)"SoTextureCoordinate3_doAction", _wrap_SoTextureCoordinate3_doAction, METH_VARARGS, (char *)"SoTextureCoordinate3_doAction(SoTextureCoordinate3 self, SoAction action)"}, - { (char *)"SoTextureCoordinate3_GLRender", _wrap_SoTextureCoordinate3_GLRender, METH_VARARGS, (char *)"SoTextureCoordinate3_GLRender(SoTextureCoordinate3 self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinate3_callback", _wrap_SoTextureCoordinate3_callback, METH_VARARGS, (char *)"SoTextureCoordinate3_callback(SoTextureCoordinate3 self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinate3_pick", _wrap_SoTextureCoordinate3_pick, METH_VARARGS, (char *)"SoTextureCoordinate3_pick(SoTextureCoordinate3 self, SoPickAction action)"}, - { (char *)"SoTextureCoordinate3_swigregister", SoTextureCoordinate3_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateFunction_getClassTypeId", _wrap_SoTextureCoordinateFunction_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateFunction_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateFunction_getTypeId", _wrap_SoTextureCoordinateFunction_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateFunction_getTypeId(SoTextureCoordinateFunction self) -> SoType"}, - { (char *)"SoTextureCoordinateFunction_initClass", _wrap_SoTextureCoordinateFunction_initClass, METH_VARARGS, (char *)"SoTextureCoordinateFunction_initClass()"}, - { (char *)"new_SoTextureCoordinateFunction", _wrap_new_SoTextureCoordinateFunction, METH_VARARGS, (char *)"new_SoTextureCoordinateFunction() -> SoTextureCoordinateFunction"}, - { (char *)"SoTextureCoordinateFunction_swigregister", SoTextureCoordinateFunction_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateDefault_getClassTypeId", _wrap_SoTextureCoordinateDefault_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateDefault_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateDefault_getTypeId", _wrap_SoTextureCoordinateDefault_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateDefault_getTypeId(SoTextureCoordinateDefault self) -> SoType"}, - { (char *)"SoTextureCoordinateDefault_initClass", _wrap_SoTextureCoordinateDefault_initClass, METH_VARARGS, (char *)"SoTextureCoordinateDefault_initClass()"}, - { (char *)"new_SoTextureCoordinateDefault", _wrap_new_SoTextureCoordinateDefault, METH_VARARGS, (char *)"new_SoTextureCoordinateDefault() -> SoTextureCoordinateDefault"}, - { (char *)"SoTextureCoordinateDefault_doAction", _wrap_SoTextureCoordinateDefault_doAction, METH_VARARGS, (char *)"SoTextureCoordinateDefault_doAction(SoTextureCoordinateDefault self, SoAction action)"}, - { (char *)"SoTextureCoordinateDefault_GLRender", _wrap_SoTextureCoordinateDefault_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateDefault_GLRender(SoTextureCoordinateDefault self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateDefault_callback", _wrap_SoTextureCoordinateDefault_callback, METH_VARARGS, (char *)"SoTextureCoordinateDefault_callback(SoTextureCoordinateDefault self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateDefault_pick", _wrap_SoTextureCoordinateDefault_pick, METH_VARARGS, (char *)"SoTextureCoordinateDefault_pick(SoTextureCoordinateDefault self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateDefault_swigregister", SoTextureCoordinateDefault_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateEnvironment_getClassTypeId", _wrap_SoTextureCoordinateEnvironment_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateEnvironment_getTypeId", _wrap_SoTextureCoordinateEnvironment_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_getTypeId(SoTextureCoordinateEnvironment self) -> SoType"}, - { (char *)"SoTextureCoordinateEnvironment_initClass", _wrap_SoTextureCoordinateEnvironment_initClass, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_initClass()"}, - { (char *)"new_SoTextureCoordinateEnvironment", _wrap_new_SoTextureCoordinateEnvironment, METH_VARARGS, (char *)"new_SoTextureCoordinateEnvironment() -> SoTextureCoordinateEnvironment"}, - { (char *)"SoTextureCoordinateEnvironment_doAction", _wrap_SoTextureCoordinateEnvironment_doAction, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_doAction(SoTextureCoordinateEnvironment self, SoAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_GLRender", _wrap_SoTextureCoordinateEnvironment_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_GLRender(SoTextureCoordinateEnvironment self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_pick", _wrap_SoTextureCoordinateEnvironment_pick, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_pick(SoTextureCoordinateEnvironment self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_callback", _wrap_SoTextureCoordinateEnvironment_callback, METH_VARARGS, (char *)"SoTextureCoordinateEnvironment_callback(SoTextureCoordinateEnvironment self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateEnvironment_swigregister", SoTextureCoordinateEnvironment_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinatePlane_getClassTypeId", _wrap_SoTextureCoordinatePlane_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinatePlane_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinatePlane_getTypeId", _wrap_SoTextureCoordinatePlane_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinatePlane_getTypeId(SoTextureCoordinatePlane self) -> SoType"}, - { (char *)"SoTextureCoordinatePlane_initClass", _wrap_SoTextureCoordinatePlane_initClass, METH_VARARGS, (char *)"SoTextureCoordinatePlane_initClass()"}, - { (char *)"new_SoTextureCoordinatePlane", _wrap_new_SoTextureCoordinatePlane, METH_VARARGS, (char *)"new_SoTextureCoordinatePlane() -> SoTextureCoordinatePlane"}, - { (char *)"SoTextureCoordinatePlane_directionS_set", _wrap_SoTextureCoordinatePlane_directionS_set, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionS_set(SoTextureCoordinatePlane self, SoSFVec3f directionS)"}, - { (char *)"SoTextureCoordinatePlane_directionS_get", _wrap_SoTextureCoordinatePlane_directionS_get, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionS_get(SoTextureCoordinatePlane self) -> SoSFVec3f"}, - { (char *)"SoTextureCoordinatePlane_directionT_set", _wrap_SoTextureCoordinatePlane_directionT_set, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionT_set(SoTextureCoordinatePlane self, SoSFVec3f directionT)"}, - { (char *)"SoTextureCoordinatePlane_directionT_get", _wrap_SoTextureCoordinatePlane_directionT_get, METH_VARARGS, (char *)"SoTextureCoordinatePlane_directionT_get(SoTextureCoordinatePlane self) -> SoSFVec3f"}, - { (char *)"SoTextureCoordinatePlane_doAction", _wrap_SoTextureCoordinatePlane_doAction, METH_VARARGS, (char *)"SoTextureCoordinatePlane_doAction(SoTextureCoordinatePlane self, SoAction action)"}, - { (char *)"SoTextureCoordinatePlane_GLRender", _wrap_SoTextureCoordinatePlane_GLRender, METH_VARARGS, (char *)"SoTextureCoordinatePlane_GLRender(SoTextureCoordinatePlane self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinatePlane_pick", _wrap_SoTextureCoordinatePlane_pick, METH_VARARGS, (char *)"SoTextureCoordinatePlane_pick(SoTextureCoordinatePlane self, SoPickAction action)"}, - { (char *)"SoTextureCoordinatePlane_callback", _wrap_SoTextureCoordinatePlane_callback, METH_VARARGS, (char *)"SoTextureCoordinatePlane_callback(SoTextureCoordinatePlane self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinatePlane_swigregister", SoTextureCoordinatePlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SoWWWInline_getClassTypeId", _wrap_SoWWWInline_getClassTypeId, METH_VARARGS, (char *)"SoWWWInline_getClassTypeId() -> SoType"}, - { (char *)"SoWWWInline_getTypeId", _wrap_SoWWWInline_getTypeId, METH_VARARGS, (char *)"SoWWWInline_getTypeId(SoWWWInline self) -> SoType"}, - { (char *)"SoWWWInline_initClass", _wrap_SoWWWInline_initClass, METH_VARARGS, (char *)"SoWWWInline_initClass()"}, - { (char *)"new_SoWWWInline", _wrap_new_SoWWWInline, METH_VARARGS, (char *)"new_SoWWWInline() -> SoWWWInline"}, - { (char *)"SoWWWInline_name_set", _wrap_SoWWWInline_name_set, METH_VARARGS, (char *)"SoWWWInline_name_set(SoWWWInline self, SoSFString name)"}, - { (char *)"SoWWWInline_name_get", _wrap_SoWWWInline_name_get, METH_VARARGS, (char *)"SoWWWInline_name_get(SoWWWInline self) -> SoSFString"}, - { (char *)"SoWWWInline_bboxCenter_set", _wrap_SoWWWInline_bboxCenter_set, METH_VARARGS, (char *)"SoWWWInline_bboxCenter_set(SoWWWInline self, SoSFVec3f bboxCenter)"}, - { (char *)"SoWWWInline_bboxCenter_get", _wrap_SoWWWInline_bboxCenter_get, METH_VARARGS, (char *)"SoWWWInline_bboxCenter_get(SoWWWInline self) -> SoSFVec3f"}, - { (char *)"SoWWWInline_bboxSize_set", _wrap_SoWWWInline_bboxSize_set, METH_VARARGS, (char *)"SoWWWInline_bboxSize_set(SoWWWInline self, SoSFVec3f bboxSize)"}, - { (char *)"SoWWWInline_bboxSize_get", _wrap_SoWWWInline_bboxSize_get, METH_VARARGS, (char *)"SoWWWInline_bboxSize_get(SoWWWInline self) -> SoSFVec3f"}, - { (char *)"SoWWWInline_alternateRep_set", _wrap_SoWWWInline_alternateRep_set, METH_VARARGS, (char *)"SoWWWInline_alternateRep_set(SoWWWInline self, SoSFNode alternateRep)"}, - { (char *)"SoWWWInline_alternateRep_get", _wrap_SoWWWInline_alternateRep_get, METH_VARARGS, (char *)"SoWWWInline_alternateRep_get(SoWWWInline self) -> SoSFNode"}, - { (char *)"SoWWWInline_setFullURLName", _wrap_SoWWWInline_setFullURLName, METH_VARARGS, (char *)"SoWWWInline_setFullURLName(SoWWWInline self, SbString url)"}, - { (char *)"SoWWWInline_getFullURLName", _wrap_SoWWWInline_getFullURLName, METH_VARARGS, (char *)"SoWWWInline_getFullURLName(SoWWWInline self) -> SbString"}, - { (char *)"SoWWWInline_copyChildren", _wrap_SoWWWInline_copyChildren, METH_VARARGS, (char *)"SoWWWInline_copyChildren(SoWWWInline self) -> SoGroup"}, - { (char *)"SoWWWInline_requestURLData", _wrap_SoWWWInline_requestURLData, METH_VARARGS, (char *)"SoWWWInline_requestURLData(SoWWWInline self)"}, - { (char *)"SoWWWInline_isURLDataRequested", _wrap_SoWWWInline_isURLDataRequested, METH_VARARGS, (char *)"SoWWWInline_isURLDataRequested(SoWWWInline self) -> SbBool"}, - { (char *)"SoWWWInline_isURLDataHere", _wrap_SoWWWInline_isURLDataHere, METH_VARARGS, (char *)"SoWWWInline_isURLDataHere(SoWWWInline self) -> SbBool"}, - { (char *)"SoWWWInline_cancelURLDataRequest", _wrap_SoWWWInline_cancelURLDataRequest, METH_VARARGS, (char *)"SoWWWInline_cancelURLDataRequest(SoWWWInline self)"}, - { (char *)"SoWWWInline_setChildData", _wrap_SoWWWInline_setChildData, METH_VARARGS, (char *)"SoWWWInline_setChildData(SoWWWInline self, SoNode urldata)"}, - { (char *)"SoWWWInline_getChildData", _wrap_SoWWWInline_getChildData, METH_VARARGS, (char *)"SoWWWInline_getChildData(SoWWWInline self) -> SoNode"}, - { (char *)"SoWWWInline_getChildren", _wrap_SoWWWInline_getChildren, METH_VARARGS, (char *)"SoWWWInline_getChildren(SoWWWInline self) -> SoChildList"}, - { (char *)"SoWWWInline_setFetchURLCallBack", _wrap_SoWWWInline_setFetchURLCallBack, METH_VARARGS, (char *)"SoWWWInline_setFetchURLCallBack(SoWWWInlineFetchURLCB f, void userdata)"}, - { (char *)"SoWWWInline_setBoundingBoxVisibility", _wrap_SoWWWInline_setBoundingBoxVisibility, METH_VARARGS, (char *)"SoWWWInline_setBoundingBoxVisibility(BboxVisibility b)"}, - { (char *)"SoWWWInline_getBoundingBoxVisibility", _wrap_SoWWWInline_getBoundingBoxVisibility, METH_VARARGS, (char *)"SoWWWInline_getBoundingBoxVisibility() -> BboxVisibility"}, - { (char *)"SoWWWInline_setBoundingBoxColor", _wrap_SoWWWInline_setBoundingBoxColor, METH_VARARGS, (char *)"SoWWWInline_setBoundingBoxColor(SbColor c)"}, - { (char *)"SoWWWInline_getBoundingBoxColor", _wrap_SoWWWInline_getBoundingBoxColor, METH_VARARGS, (char *)"SoWWWInline_getBoundingBoxColor() -> SbColor"}, - { (char *)"SoWWWInline_setReadAsSoFile", _wrap_SoWWWInline_setReadAsSoFile, METH_VARARGS, (char *)"SoWWWInline_setReadAsSoFile(SbBool onoff)"}, - { (char *)"SoWWWInline_getReadAsSoFile", _wrap_SoWWWInline_getReadAsSoFile, METH_VARARGS, (char *)"SoWWWInline_getReadAsSoFile() -> SbBool"}, - { (char *)"SoWWWInline_doAction", _wrap_SoWWWInline_doAction, METH_VARARGS, (char *)"SoWWWInline_doAction(SoWWWInline self, SoAction action)"}, - { (char *)"SoWWWInline_doActionOnKidsOrBox", _wrap_SoWWWInline_doActionOnKidsOrBox, METH_VARARGS, (char *)"SoWWWInline_doActionOnKidsOrBox(SoWWWInline self, SoAction action)"}, - { (char *)"SoWWWInline_callback", _wrap_SoWWWInline_callback, METH_VARARGS, (char *)"SoWWWInline_callback(SoWWWInline self, SoCallbackAction action)"}, - { (char *)"SoWWWInline_GLRender", _wrap_SoWWWInline_GLRender, METH_VARARGS, (char *)"SoWWWInline_GLRender(SoWWWInline self, SoGLRenderAction action)"}, - { (char *)"SoWWWInline_getBoundingBox", _wrap_SoWWWInline_getBoundingBox, METH_VARARGS, (char *)"SoWWWInline_getBoundingBox(SoWWWInline self, SoGetBoundingBoxAction action)"}, - { (char *)"SoWWWInline_getMatrix", _wrap_SoWWWInline_getMatrix, METH_VARARGS, (char *)"SoWWWInline_getMatrix(SoWWWInline self, SoGetMatrixAction action)"}, - { (char *)"SoWWWInline_handleEvent", _wrap_SoWWWInline_handleEvent, METH_VARARGS, (char *)"SoWWWInline_handleEvent(SoWWWInline self, SoHandleEventAction action)"}, - { (char *)"SoWWWInline_search", _wrap_SoWWWInline_search, METH_VARARGS, (char *)"SoWWWInline_search(SoWWWInline self, SoSearchAction action)"}, - { (char *)"SoWWWInline_pick", _wrap_SoWWWInline_pick, METH_VARARGS, (char *)"SoWWWInline_pick(SoWWWInline self, SoPickAction action)"}, - { (char *)"SoWWWInline_getPrimitiveCount", _wrap_SoWWWInline_getPrimitiveCount, METH_VARARGS, (char *)"SoWWWInline_getPrimitiveCount(SoWWWInline self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoWWWInline_audioRender", _wrap_SoWWWInline_audioRender, METH_VARARGS, (char *)"SoWWWInline_audioRender(SoWWWInline self, SoAudioRenderAction action)"}, - { (char *)"SoWWWInline_swigregister", SoWWWInline_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTransparencyType_getClassTypeId", _wrap_SoTransparencyType_getClassTypeId, METH_VARARGS, (char *)"SoTransparencyType_getClassTypeId() -> SoType"}, - { (char *)"SoTransparencyType_getTypeId", _wrap_SoTransparencyType_getTypeId, METH_VARARGS, (char *)"SoTransparencyType_getTypeId(SoTransparencyType self) -> SoType"}, - { (char *)"SoTransparencyType_initClass", _wrap_SoTransparencyType_initClass, METH_VARARGS, (char *)"SoTransparencyType_initClass()"}, - { (char *)"new_SoTransparencyType", _wrap_new_SoTransparencyType, METH_VARARGS, (char *)"new_SoTransparencyType() -> SoTransparencyType"}, - { (char *)"SoTransparencyType_value_set", _wrap_SoTransparencyType_value_set, METH_VARARGS, (char *)"SoTransparencyType_value_set(SoTransparencyType self, SoSFEnum value)"}, - { (char *)"SoTransparencyType_value_get", _wrap_SoTransparencyType_value_get, METH_VARARGS, (char *)"SoTransparencyType_value_get(SoTransparencyType self) -> SoSFEnum"}, - { (char *)"SoTransparencyType_doAction", _wrap_SoTransparencyType_doAction, METH_VARARGS, (char *)"SoTransparencyType_doAction(SoTransparencyType self, SoAction action)"}, - { (char *)"SoTransparencyType_GLRender", _wrap_SoTransparencyType_GLRender, METH_VARARGS, (char *)"SoTransparencyType_GLRender(SoTransparencyType self, SoGLRenderAction action)"}, - { (char *)"SoTransparencyType_callback", _wrap_SoTransparencyType_callback, METH_VARARGS, (char *)"SoTransparencyType_callback(SoTransparencyType self, SoCallbackAction action)"}, - { (char *)"SoTransparencyType_swigregister", SoTransparencyType_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureScalePolicy_getClassTypeId", _wrap_SoTextureScalePolicy_getClassTypeId, METH_VARARGS, (char *)"SoTextureScalePolicy_getClassTypeId() -> SoType"}, - { (char *)"SoTextureScalePolicy_getTypeId", _wrap_SoTextureScalePolicy_getTypeId, METH_VARARGS, (char *)"SoTextureScalePolicy_getTypeId(SoTextureScalePolicy self) -> SoType"}, - { (char *)"SoTextureScalePolicy_initClass", _wrap_SoTextureScalePolicy_initClass, METH_VARARGS, (char *)"SoTextureScalePolicy_initClass()"}, - { (char *)"new_SoTextureScalePolicy", _wrap_new_SoTextureScalePolicy, METH_VARARGS, (char *)"new_SoTextureScalePolicy() -> SoTextureScalePolicy"}, - { (char *)"SoTextureScalePolicy_policy_set", _wrap_SoTextureScalePolicy_policy_set, METH_VARARGS, (char *)"SoTextureScalePolicy_policy_set(SoTextureScalePolicy self, SoSFEnum policy)"}, - { (char *)"SoTextureScalePolicy_policy_get", _wrap_SoTextureScalePolicy_policy_get, METH_VARARGS, (char *)"SoTextureScalePolicy_policy_get(SoTextureScalePolicy self) -> SoSFEnum"}, - { (char *)"SoTextureScalePolicy_quality_set", _wrap_SoTextureScalePolicy_quality_set, METH_VARARGS, (char *)"SoTextureScalePolicy_quality_set(SoTextureScalePolicy self, SoSFFloat quality)"}, - { (char *)"SoTextureScalePolicy_quality_get", _wrap_SoTextureScalePolicy_quality_get, METH_VARARGS, (char *)"SoTextureScalePolicy_quality_get(SoTextureScalePolicy self) -> SoSFFloat"}, - { (char *)"SoTextureScalePolicy_GLRender", _wrap_SoTextureScalePolicy_GLRender, METH_VARARGS, (char *)"SoTextureScalePolicy_GLRender(SoTextureScalePolicy self, SoGLRenderAction action)"}, - { (char *)"SoTextureScalePolicy_swigregister", SoTextureScalePolicy_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureUnit_getClassTypeId", _wrap_SoTextureUnit_getClassTypeId, METH_VARARGS, (char *)"SoTextureUnit_getClassTypeId() -> SoType"}, - { (char *)"SoTextureUnit_getTypeId", _wrap_SoTextureUnit_getTypeId, METH_VARARGS, (char *)"SoTextureUnit_getTypeId(SoTextureUnit self) -> SoType"}, - { (char *)"SoTextureUnit_initClass", _wrap_SoTextureUnit_initClass, METH_VARARGS, (char *)"SoTextureUnit_initClass()"}, - { (char *)"new_SoTextureUnit", _wrap_new_SoTextureUnit, METH_VARARGS, (char *)"new_SoTextureUnit() -> SoTextureUnit"}, - { (char *)"SoTextureUnit_unit_set", _wrap_SoTextureUnit_unit_set, METH_VARARGS, (char *)"SoTextureUnit_unit_set(SoTextureUnit self, SoSFInt32 unit)"}, - { (char *)"SoTextureUnit_unit_get", _wrap_SoTextureUnit_unit_get, METH_VARARGS, (char *)"SoTextureUnit_unit_get(SoTextureUnit self) -> SoSFInt32"}, - { (char *)"SoTextureUnit_mappingMethod_set", _wrap_SoTextureUnit_mappingMethod_set, METH_VARARGS, (char *)"SoTextureUnit_mappingMethod_set(SoTextureUnit self, SoSFEnum mappingMethod)"}, - { (char *)"SoTextureUnit_mappingMethod_get", _wrap_SoTextureUnit_mappingMethod_get, METH_VARARGS, (char *)"SoTextureUnit_mappingMethod_get(SoTextureUnit self) -> SoSFEnum"}, - { (char *)"SoTextureUnit_doAction", _wrap_SoTextureUnit_doAction, METH_VARARGS, (char *)"SoTextureUnit_doAction(SoTextureUnit self, SoAction action)"}, - { (char *)"SoTextureUnit_callback", _wrap_SoTextureUnit_callback, METH_VARARGS, (char *)"SoTextureUnit_callback(SoTextureUnit self, SoCallbackAction action)"}, - { (char *)"SoTextureUnit_GLRender", _wrap_SoTextureUnit_GLRender, METH_VARARGS, (char *)"SoTextureUnit_GLRender(SoTextureUnit self, SoGLRenderAction action)"}, - { (char *)"SoTextureUnit_pick", _wrap_SoTextureUnit_pick, METH_VARARGS, (char *)"SoTextureUnit_pick(SoTextureUnit self, SoPickAction action)"}, - { (char *)"SoTextureUnit_getMaxTextureUnit", _wrap_SoTextureUnit_getMaxTextureUnit, METH_VARARGS, (char *)"SoTextureUnit_getMaxTextureUnit() -> uint32_t"}, - { (char *)"SoTextureUnit_swigregister", SoTextureUnit_swigregister, METH_VARARGS, NULL}, - { (char *)"SoSceneTexture2_getClassTypeId", _wrap_SoSceneTexture2_getClassTypeId, METH_VARARGS, (char *)"SoSceneTexture2_getClassTypeId() -> SoType"}, - { (char *)"SoSceneTexture2_getTypeId", _wrap_SoSceneTexture2_getTypeId, METH_VARARGS, (char *)"SoSceneTexture2_getTypeId(SoSceneTexture2 self) -> SoType"}, - { (char *)"SoSceneTexture2_initClass", _wrap_SoSceneTexture2_initClass, METH_VARARGS, (char *)"SoSceneTexture2_initClass()"}, - { (char *)"new_SoSceneTexture2", _wrap_new_SoSceneTexture2, METH_VARARGS, (char *)"new_SoSceneTexture2() -> SoSceneTexture2"}, - { (char *)"SoSceneTexture2_wrapS_set", _wrap_SoSceneTexture2_wrapS_set, METH_VARARGS, (char *)"SoSceneTexture2_wrapS_set(SoSceneTexture2 self, SoSFEnum wrapS)"}, - { (char *)"SoSceneTexture2_wrapS_get", _wrap_SoSceneTexture2_wrapS_get, METH_VARARGS, (char *)"SoSceneTexture2_wrapS_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_wrapT_set", _wrap_SoSceneTexture2_wrapT_set, METH_VARARGS, (char *)"SoSceneTexture2_wrapT_set(SoSceneTexture2 self, SoSFEnum wrapT)"}, - { (char *)"SoSceneTexture2_wrapT_get", _wrap_SoSceneTexture2_wrapT_get, METH_VARARGS, (char *)"SoSceneTexture2_wrapT_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_model_set", _wrap_SoSceneTexture2_model_set, METH_VARARGS, (char *)"SoSceneTexture2_model_set(SoSceneTexture2 self, SoSFEnum model)"}, - { (char *)"SoSceneTexture2_model_get", _wrap_SoSceneTexture2_model_get, METH_VARARGS, (char *)"SoSceneTexture2_model_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_blendColor_set", _wrap_SoSceneTexture2_blendColor_set, METH_VARARGS, (char *)"SoSceneTexture2_blendColor_set(SoSceneTexture2 self, SoSFColor blendColor)"}, - { (char *)"SoSceneTexture2_blendColor_get", _wrap_SoSceneTexture2_blendColor_get, METH_VARARGS, (char *)"SoSceneTexture2_blendColor_get(SoSceneTexture2 self) -> SoSFColor"}, - { (char *)"SoSceneTexture2_backgroundColor_set", _wrap_SoSceneTexture2_backgroundColor_set, METH_VARARGS, (char *)"SoSceneTexture2_backgroundColor_set(SoSceneTexture2 self, SoSFVec4f backgroundColor)"}, - { (char *)"SoSceneTexture2_backgroundColor_get", _wrap_SoSceneTexture2_backgroundColor_get, METH_VARARGS, (char *)"SoSceneTexture2_backgroundColor_get(SoSceneTexture2 self) -> SoSFVec4f"}, - { (char *)"SoSceneTexture2_size_set", _wrap_SoSceneTexture2_size_set, METH_VARARGS, (char *)"SoSceneTexture2_size_set(SoSceneTexture2 self, SoSFVec2s size)"}, - { (char *)"SoSceneTexture2_size_get", _wrap_SoSceneTexture2_size_get, METH_VARARGS, (char *)"SoSceneTexture2_size_get(SoSceneTexture2 self) -> SoSFVec2s"}, - { (char *)"SoSceneTexture2_scene_set", _wrap_SoSceneTexture2_scene_set, METH_VARARGS, (char *)"SoSceneTexture2_scene_set(SoSceneTexture2 self, SoSFNode scene)"}, - { (char *)"SoSceneTexture2_scene_get", _wrap_SoSceneTexture2_scene_get, METH_VARARGS, (char *)"SoSceneTexture2_scene_get(SoSceneTexture2 self) -> SoSFNode"}, - { (char *)"SoSceneTexture2_transparencyFunction_set", _wrap_SoSceneTexture2_transparencyFunction_set, METH_VARARGS, (char *)"SoSceneTexture2_transparencyFunction_set(SoSceneTexture2 self, SoSFEnum transparencyFunction)"}, - { (char *)"SoSceneTexture2_transparencyFunction_get", _wrap_SoSceneTexture2_transparencyFunction_get, METH_VARARGS, (char *)"SoSceneTexture2_transparencyFunction_get(SoSceneTexture2 self) -> SoSFEnum"}, - { (char *)"SoSceneTexture2_notify", _wrap_SoSceneTexture2_notify, METH_VARARGS, (char *)"SoSceneTexture2_notify(SoSceneTexture2 self, SoNotList list)"}, - { (char *)"SoSceneTexture2_write", _wrap_SoSceneTexture2_write, METH_VARARGS, (char *)"SoSceneTexture2_write(SoSceneTexture2 self, SoWriteAction action)"}, - { (char *)"SoSceneTexture2_doAction", _wrap_SoSceneTexture2_doAction, METH_VARARGS, (char *)"SoSceneTexture2_doAction(SoSceneTexture2 self, SoAction action)"}, - { (char *)"SoSceneTexture2_GLRender", _wrap_SoSceneTexture2_GLRender, METH_VARARGS, (char *)"SoSceneTexture2_GLRender(SoSceneTexture2 self, SoGLRenderAction action)"}, - { (char *)"SoSceneTexture2_callback", _wrap_SoSceneTexture2_callback, METH_VARARGS, (char *)"SoSceneTexture2_callback(SoSceneTexture2 self, SoCallbackAction action)"}, - { (char *)"SoSceneTexture2_rayPick", _wrap_SoSceneTexture2_rayPick, METH_VARARGS, (char *)"SoSceneTexture2_rayPick(SoSceneTexture2 self, SoRayPickAction action)"}, - { (char *)"SoSceneTexture2_swigregister", SoSceneTexture2_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateCube_getClassTypeId", _wrap_SoTextureCoordinateCube_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCube_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateCube_getTypeId", _wrap_SoTextureCoordinateCube_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCube_getTypeId(SoTextureCoordinateCube self) -> SoType"}, - { (char *)"SoTextureCoordinateCube_initClass", _wrap_SoTextureCoordinateCube_initClass, METH_VARARGS, (char *)"SoTextureCoordinateCube_initClass()"}, - { (char *)"new_SoTextureCoordinateCube", _wrap_new_SoTextureCoordinateCube, METH_VARARGS, (char *)"new_SoTextureCoordinateCube() -> SoTextureCoordinateCube"}, - { (char *)"SoTextureCoordinateCube_doAction", _wrap_SoTextureCoordinateCube_doAction, METH_VARARGS, (char *)"SoTextureCoordinateCube_doAction(SoTextureCoordinateCube self, SoAction action)"}, - { (char *)"SoTextureCoordinateCube_GLRender", _wrap_SoTextureCoordinateCube_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateCube_GLRender(SoTextureCoordinateCube self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateCube_callback", _wrap_SoTextureCoordinateCube_callback, METH_VARARGS, (char *)"SoTextureCoordinateCube_callback(SoTextureCoordinateCube self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateCube_pick", _wrap_SoTextureCoordinateCube_pick, METH_VARARGS, (char *)"SoTextureCoordinateCube_pick(SoTextureCoordinateCube self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateCube_swigregister", SoTextureCoordinateCube_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateSphere_getClassTypeId", _wrap_SoTextureCoordinateSphere_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateSphere_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateSphere_getTypeId", _wrap_SoTextureCoordinateSphere_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateSphere_getTypeId(SoTextureCoordinateSphere self) -> SoType"}, - { (char *)"SoTextureCoordinateSphere_initClass", _wrap_SoTextureCoordinateSphere_initClass, METH_VARARGS, (char *)"SoTextureCoordinateSphere_initClass()"}, - { (char *)"new_SoTextureCoordinateSphere", _wrap_new_SoTextureCoordinateSphere, METH_VARARGS, (char *)"new_SoTextureCoordinateSphere() -> SoTextureCoordinateSphere"}, - { (char *)"SoTextureCoordinateSphere_doAction", _wrap_SoTextureCoordinateSphere_doAction, METH_VARARGS, (char *)"SoTextureCoordinateSphere_doAction(SoTextureCoordinateSphere self, SoAction action)"}, - { (char *)"SoTextureCoordinateSphere_GLRender", _wrap_SoTextureCoordinateSphere_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateSphere_GLRender(SoTextureCoordinateSphere self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateSphere_callback", _wrap_SoTextureCoordinateSphere_callback, METH_VARARGS, (char *)"SoTextureCoordinateSphere_callback(SoTextureCoordinateSphere self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateSphere_pick", _wrap_SoTextureCoordinateSphere_pick, METH_VARARGS, (char *)"SoTextureCoordinateSphere_pick(SoTextureCoordinateSphere self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateSphere_swigregister", SoTextureCoordinateSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCoordinateCylinder_getClassTypeId", _wrap_SoTextureCoordinateCylinder_getClassTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCoordinateCylinder_getTypeId", _wrap_SoTextureCoordinateCylinder_getTypeId, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_getTypeId(SoTextureCoordinateCylinder self) -> SoType"}, - { (char *)"SoTextureCoordinateCylinder_initClass", _wrap_SoTextureCoordinateCylinder_initClass, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_initClass()"}, - { (char *)"new_SoTextureCoordinateCylinder", _wrap_new_SoTextureCoordinateCylinder, METH_VARARGS, (char *)"new_SoTextureCoordinateCylinder() -> SoTextureCoordinateCylinder"}, - { (char *)"SoTextureCoordinateCylinder_doAction", _wrap_SoTextureCoordinateCylinder_doAction, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_doAction(SoTextureCoordinateCylinder self, SoAction action)"}, - { (char *)"SoTextureCoordinateCylinder_GLRender", _wrap_SoTextureCoordinateCylinder_GLRender, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_GLRender(SoTextureCoordinateCylinder self, SoGLRenderAction action)"}, - { (char *)"SoTextureCoordinateCylinder_callback", _wrap_SoTextureCoordinateCylinder_callback, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_callback(SoTextureCoordinateCylinder self, SoCallbackAction action)"}, - { (char *)"SoTextureCoordinateCylinder_pick", _wrap_SoTextureCoordinateCylinder_pick, METH_VARARGS, (char *)"SoTextureCoordinateCylinder_pick(SoTextureCoordinateCylinder self, SoPickAction action)"}, - { (char *)"SoTextureCoordinateCylinder_swigregister", SoTextureCoordinateCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoTextureCombine_getClassTypeId", _wrap_SoTextureCombine_getClassTypeId, METH_VARARGS, (char *)"SoTextureCombine_getClassTypeId() -> SoType"}, - { (char *)"SoTextureCombine_getTypeId", _wrap_SoTextureCombine_getTypeId, METH_VARARGS, (char *)"SoTextureCombine_getTypeId(SoTextureCombine self) -> SoType"}, - { (char *)"SoTextureCombine_initClass", _wrap_SoTextureCombine_initClass, METH_VARARGS, (char *)"SoTextureCombine_initClass()"}, - { (char *)"new_SoTextureCombine", _wrap_new_SoTextureCombine, METH_VARARGS, (char *)"new_SoTextureCombine() -> SoTextureCombine"}, - { (char *)"SoTextureCombine_rgbSource_set", _wrap_SoTextureCombine_rgbSource_set, METH_VARARGS, (char *)"SoTextureCombine_rgbSource_set(SoTextureCombine self, SoMFEnum rgbSource)"}, - { (char *)"SoTextureCombine_rgbSource_get", _wrap_SoTextureCombine_rgbSource_get, METH_VARARGS, (char *)"SoTextureCombine_rgbSource_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_alphaSource_set", _wrap_SoTextureCombine_alphaSource_set, METH_VARARGS, (char *)"SoTextureCombine_alphaSource_set(SoTextureCombine self, SoMFEnum alphaSource)"}, - { (char *)"SoTextureCombine_alphaSource_get", _wrap_SoTextureCombine_alphaSource_get, METH_VARARGS, (char *)"SoTextureCombine_alphaSource_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_rgbOperand_set", _wrap_SoTextureCombine_rgbOperand_set, METH_VARARGS, (char *)"SoTextureCombine_rgbOperand_set(SoTextureCombine self, SoMFEnum rgbOperand)"}, - { (char *)"SoTextureCombine_rgbOperand_get", _wrap_SoTextureCombine_rgbOperand_get, METH_VARARGS, (char *)"SoTextureCombine_rgbOperand_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_alphaOperand_set", _wrap_SoTextureCombine_alphaOperand_set, METH_VARARGS, (char *)"SoTextureCombine_alphaOperand_set(SoTextureCombine self, SoMFEnum alphaOperand)"}, - { (char *)"SoTextureCombine_alphaOperand_get", _wrap_SoTextureCombine_alphaOperand_get, METH_VARARGS, (char *)"SoTextureCombine_alphaOperand_get(SoTextureCombine self) -> SoMFEnum"}, - { (char *)"SoTextureCombine_rgbOperation_set", _wrap_SoTextureCombine_rgbOperation_set, METH_VARARGS, (char *)"SoTextureCombine_rgbOperation_set(SoTextureCombine self, SoSFEnum rgbOperation)"}, - { (char *)"SoTextureCombine_rgbOperation_get", _wrap_SoTextureCombine_rgbOperation_get, METH_VARARGS, (char *)"SoTextureCombine_rgbOperation_get(SoTextureCombine self) -> SoSFEnum"}, - { (char *)"SoTextureCombine_alphaOperation_set", _wrap_SoTextureCombine_alphaOperation_set, METH_VARARGS, (char *)"SoTextureCombine_alphaOperation_set(SoTextureCombine self, SoSFEnum alphaOperation)"}, - { (char *)"SoTextureCombine_alphaOperation_get", _wrap_SoTextureCombine_alphaOperation_get, METH_VARARGS, (char *)"SoTextureCombine_alphaOperation_get(SoTextureCombine self) -> SoSFEnum"}, - { (char *)"SoTextureCombine_rgbScale_set", _wrap_SoTextureCombine_rgbScale_set, METH_VARARGS, (char *)"SoTextureCombine_rgbScale_set(SoTextureCombine self, SoSFFloat rgbScale)"}, - { (char *)"SoTextureCombine_rgbScale_get", _wrap_SoTextureCombine_rgbScale_get, METH_VARARGS, (char *)"SoTextureCombine_rgbScale_get(SoTextureCombine self) -> SoSFFloat"}, - { (char *)"SoTextureCombine_alphaScale_set", _wrap_SoTextureCombine_alphaScale_set, METH_VARARGS, (char *)"SoTextureCombine_alphaScale_set(SoTextureCombine self, SoSFFloat alphaScale)"}, - { (char *)"SoTextureCombine_alphaScale_get", _wrap_SoTextureCombine_alphaScale_get, METH_VARARGS, (char *)"SoTextureCombine_alphaScale_get(SoTextureCombine self) -> SoSFFloat"}, - { (char *)"SoTextureCombine_constantColor_set", _wrap_SoTextureCombine_constantColor_set, METH_VARARGS, (char *)"SoTextureCombine_constantColor_set(SoTextureCombine self, SoSFVec4f constantColor)"}, - { (char *)"SoTextureCombine_constantColor_get", _wrap_SoTextureCombine_constantColor_get, METH_VARARGS, (char *)"SoTextureCombine_constantColor_get(SoTextureCombine self) -> SoSFVec4f"}, - { (char *)"SoTextureCombine_doAction", _wrap_SoTextureCombine_doAction, METH_VARARGS, (char *)"SoTextureCombine_doAction(SoTextureCombine self, SoAction action)"}, - { (char *)"SoTextureCombine_callback", _wrap_SoTextureCombine_callback, METH_VARARGS, (char *)"SoTextureCombine_callback(SoTextureCombine self, SoCallbackAction action)"}, - { (char *)"SoTextureCombine_GLRender", _wrap_SoTextureCombine_GLRender, METH_VARARGS, (char *)"SoTextureCombine_GLRender(SoTextureCombine self, SoGLRenderAction action)"}, - { (char *)"SoTextureCombine_pick", _wrap_SoTextureCombine_pick, METH_VARARGS, (char *)"SoTextureCombine_pick(SoTextureCombine self, SoPickAction action)"}, - { (char *)"SoTextureCombine_swigregister", SoTextureCombine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbLine", _wrap_new_SbLine, METH_VARARGS, (char *)"\n" - "SbLine()\n" - "new_SbLine(SbVec3f origin, SbVec3f point) -> SbLine\n" - ""}, - { (char *)"SbLine_setValue", _wrap_SbLine_setValue, METH_VARARGS, (char *)"SbLine_setValue(SbLine self, SbVec3f origin, SbVec3f point)"}, - { (char *)"SbLine_getClosestPoints", _wrap_SbLine_getClosestPoints, METH_VARARGS, (char *)"SbLine_getClosestPoints(SbLine self, SbLine line2, SbVec3f ptOnThis, SbVec3f ptOnLine2) -> SbBool"}, - { (char *)"SbLine_getClosestPoint", _wrap_SbLine_getClosestPoint, METH_VARARGS, (char *)"SbLine_getClosestPoint(SbLine self, SbVec3f point) -> SbVec3f"}, - { (char *)"SbLine_getPosition", _wrap_SbLine_getPosition, METH_VARARGS, (char *)"SbLine_getPosition(SbLine self) -> SbVec3f"}, - { (char *)"SbLine_getDirection", _wrap_SbLine_getDirection, METH_VARARGS, (char *)"SbLine_getDirection(SbLine self) -> SbVec3f"}, - { (char *)"SbLine_output", _wrap_SbLine_output, METH_VARARGS, (char *)"SbLine_output(SbLine self, FILE file)"}, - { (char *)"delete_SbLine", _wrap_delete_SbLine, METH_VARARGS, (char *)"delete_SbLine(SbLine self)"}, - { (char *)"SbLine_swigregister", SbLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SbProjector_project", _wrap_SbProjector_project, METH_VARARGS, (char *)"SbProjector_project(SbProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbProjector_setViewVolume", _wrap_SbProjector_setViewVolume, METH_VARARGS, (char *)"SbProjector_setViewVolume(SbProjector self, SbViewVolume vol)"}, - { (char *)"SbProjector_getViewVolume", _wrap_SbProjector_getViewVolume, METH_VARARGS, (char *)"SbProjector_getViewVolume(SbProjector self) -> SbViewVolume"}, - { (char *)"SbProjector_setWorkingSpace", _wrap_SbProjector_setWorkingSpace, METH_VARARGS, (char *)"SbProjector_setWorkingSpace(SbProjector self, SbMatrix space)"}, - { (char *)"SbProjector_getWorkingSpace", _wrap_SbProjector_getWorkingSpace, METH_VARARGS, (char *)"SbProjector_getWorkingSpace(SbProjector self) -> SbMatrix"}, - { (char *)"SbProjector_copy", _wrap_SbProjector_copy, METH_VARARGS, (char *)"SbProjector_copy(SbProjector self) -> SbProjector"}, - { (char *)"SbProjector_swigregister", SbProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinder", _wrap_new_SbCylinder, METH_VARARGS, (char *)"\n" - "SbCylinder()\n" - "new_SbCylinder(SbLine a, float r) -> SbCylinder\n" - ""}, - { (char *)"SbCylinder_setValue", _wrap_SbCylinder_setValue, METH_VARARGS, (char *)"SbCylinder_setValue(SbCylinder self, SbLine a, float r)"}, - { (char *)"SbCylinder_setAxis", _wrap_SbCylinder_setAxis, METH_VARARGS, (char *)"SbCylinder_setAxis(SbCylinder self, SbLine a)"}, - { (char *)"SbCylinder_setRadius", _wrap_SbCylinder_setRadius, METH_VARARGS, (char *)"SbCylinder_setRadius(SbCylinder self, float r)"}, - { (char *)"SbCylinder_getAxis", _wrap_SbCylinder_getAxis, METH_VARARGS, (char *)"SbCylinder_getAxis(SbCylinder self) -> SbLine"}, - { (char *)"SbCylinder_getRadius", _wrap_SbCylinder_getRadius, METH_VARARGS, (char *)"SbCylinder_getRadius(SbCylinder self) -> float"}, - { (char *)"SbCylinder_intersect", _wrap_SbCylinder_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbCylinder_intersect(SbCylinder self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool\n" - ""}, - { (char *)"SbCylinder_output", _wrap_SbCylinder_output, METH_VARARGS, (char *)"SbCylinder_output(SbCylinder self, FILE file)"}, - { (char *)"delete_SbCylinder", _wrap_delete_SbCylinder, METH_VARARGS, (char *)"delete_SbCylinder(SbCylinder self)"}, - { (char *)"SbCylinder_swigregister", SbCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SbCylinderProjector_project", _wrap_SbCylinderProjector_project, METH_VARARGS, (char *)"SbCylinderProjector_project(SbCylinderProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderProjector_projectAndGetRotation", _wrap_SbCylinderProjector_projectAndGetRotation, METH_VARARGS, (char *)"SbCylinderProjector_projectAndGetRotation(SbCylinderProjector self, SbVec2f point, SbRotation rot) -> SbVec3f"}, - { (char *)"SbCylinderProjector_getRotation", _wrap_SbCylinderProjector_getRotation, METH_VARARGS, (char *)"SbCylinderProjector_getRotation(SbCylinderProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbCylinderProjector_setCylinder", _wrap_SbCylinderProjector_setCylinder, METH_VARARGS, (char *)"SbCylinderProjector_setCylinder(SbCylinderProjector self, SbCylinder cyl)"}, - { (char *)"SbCylinderProjector_getCylinder", _wrap_SbCylinderProjector_getCylinder, METH_VARARGS, (char *)"SbCylinderProjector_getCylinder(SbCylinderProjector self) -> SbCylinder"}, - { (char *)"SbCylinderProjector_setOrientToEye", _wrap_SbCylinderProjector_setOrientToEye, METH_VARARGS, (char *)"SbCylinderProjector_setOrientToEye(SbCylinderProjector self, SbBool orienttoeye)"}, - { (char *)"SbCylinderProjector_isOrientToEye", _wrap_SbCylinderProjector_isOrientToEye, METH_VARARGS, (char *)"SbCylinderProjector_isOrientToEye(SbCylinderProjector self) -> SbBool"}, - { (char *)"SbCylinderProjector_setFront", _wrap_SbCylinderProjector_setFront, METH_VARARGS, (char *)"SbCylinderProjector_setFront(SbCylinderProjector self, SbBool infront)"}, - { (char *)"SbCylinderProjector_isFront", _wrap_SbCylinderProjector_isFront, METH_VARARGS, (char *)"SbCylinderProjector_isFront(SbCylinderProjector self) -> SbBool"}, - { (char *)"SbCylinderProjector_isPointInFront", _wrap_SbCylinderProjector_isPointInFront, METH_VARARGS, (char *)"SbCylinderProjector_isPointInFront(SbCylinderProjector self, SbVec3f point) -> SbBool"}, - { (char *)"SbCylinderProjector_setWorkingSpace", _wrap_SbCylinderProjector_setWorkingSpace, METH_VARARGS, (char *)"SbCylinderProjector_setWorkingSpace(SbCylinderProjector self, SbMatrix space)"}, - { (char *)"delete_SbCylinderProjector", _wrap_delete_SbCylinderProjector, METH_VARARGS, (char *)"delete_SbCylinderProjector(SbCylinderProjector self)"}, - { (char *)"SbCylinderProjector_swigregister", SbCylinderProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderSectionProjector", _wrap_new_SbCylinderSectionProjector, METH_VARARGS, (char *)"\n" - "SbCylinderSectionProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderSectionProjector(float edgetol=0.9)\n" - "SbCylinderSectionProjector()\n" - "SbCylinderSectionProjector(SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderSectionProjector(SbCylinder cyl, float edgetol=0.9)\n" - "new_SbCylinderSectionProjector(SbCylinder cyl) -> SbCylinderSectionProjector\n" - ""}, - { (char *)"SbCylinderSectionProjector_copy", _wrap_SbCylinderSectionProjector_copy, METH_VARARGS, (char *)"SbCylinderSectionProjector_copy(SbCylinderSectionProjector self) -> SbProjector"}, - { (char *)"SbCylinderSectionProjector_project", _wrap_SbCylinderSectionProjector_project, METH_VARARGS, (char *)"SbCylinderSectionProjector_project(SbCylinderSectionProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderSectionProjector_getRotation", _wrap_SbCylinderSectionProjector_getRotation, METH_VARARGS, (char *)"SbCylinderSectionProjector_getRotation(SbCylinderSectionProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbCylinderSectionProjector_setTolerance", _wrap_SbCylinderSectionProjector_setTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_setTolerance(SbCylinderSectionProjector self, float edgetol)"}, - { (char *)"SbCylinderSectionProjector_getTolerance", _wrap_SbCylinderSectionProjector_getTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_getTolerance(SbCylinderSectionProjector self) -> float"}, - { (char *)"SbCylinderSectionProjector_isWithinTolerance", _wrap_SbCylinderSectionProjector_isWithinTolerance, METH_VARARGS, (char *)"SbCylinderSectionProjector_isWithinTolerance(SbCylinderSectionProjector self, SbVec3f point) -> SbBool"}, - { (char *)"delete_SbCylinderSectionProjector", _wrap_delete_SbCylinderSectionProjector, METH_VARARGS, (char *)"delete_SbCylinderSectionProjector(SbCylinderSectionProjector self)"}, - { (char *)"SbCylinderSectionProjector_swigregister", SbCylinderSectionProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderPlaneProjector", _wrap_new_SbCylinderPlaneProjector, METH_VARARGS, (char *)"\n" - "SbCylinderPlaneProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderPlaneProjector(float edgetol=0.9)\n" - "SbCylinderPlaneProjector()\n" - "SbCylinderPlaneProjector(SbCylinder cyl, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbCylinderPlaneProjector(SbCylinder cyl, float edgetol=0.9)\n" - "new_SbCylinderPlaneProjector(SbCylinder cyl) -> SbCylinderPlaneProjector\n" - ""}, - { (char *)"SbCylinderPlaneProjector_copy", _wrap_SbCylinderPlaneProjector_copy, METH_VARARGS, (char *)"SbCylinderPlaneProjector_copy(SbCylinderPlaneProjector self) -> SbProjector"}, - { (char *)"SbCylinderPlaneProjector_project", _wrap_SbCylinderPlaneProjector_project, METH_VARARGS, (char *)"SbCylinderPlaneProjector_project(SbCylinderPlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderPlaneProjector_getRotation", _wrap_SbCylinderPlaneProjector_getRotation, METH_VARARGS, (char *)"SbCylinderPlaneProjector_getRotation(SbCylinderPlaneProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbCylinderPlaneProjector", _wrap_delete_SbCylinderPlaneProjector, METH_VARARGS, (char *)"delete_SbCylinderPlaneProjector(SbCylinderPlaneProjector self)"}, - { (char *)"SbCylinderPlaneProjector_swigregister", SbCylinderPlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCylinderSheetProjector", _wrap_new_SbCylinderSheetProjector, METH_VARARGS, (char *)"\n" - "SbCylinderSheetProjector(SbBool orienttoeye=1)\n" - "SbCylinderSheetProjector()\n" - "SbCylinderSheetProjector(SbCylinder cyl, SbBool orienttoeye=1)\n" - "new_SbCylinderSheetProjector(SbCylinder cyl) -> SbCylinderSheetProjector\n" - ""}, - { (char *)"SbCylinderSheetProjector_copy", _wrap_SbCylinderSheetProjector_copy, METH_VARARGS, (char *)"SbCylinderSheetProjector_copy(SbCylinderSheetProjector self) -> SbProjector"}, - { (char *)"SbCylinderSheetProjector_project", _wrap_SbCylinderSheetProjector_project, METH_VARARGS, (char *)"SbCylinderSheetProjector_project(SbCylinderSheetProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbCylinderSheetProjector_getRotation", _wrap_SbCylinderSheetProjector_getRotation, METH_VARARGS, (char *)"SbCylinderSheetProjector_getRotation(SbCylinderSheetProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbCylinderSheetProjector", _wrap_delete_SbCylinderSheetProjector, METH_VARARGS, (char *)"delete_SbCylinderSheetProjector(SbCylinderSheetProjector self)"}, - { (char *)"SbCylinderSheetProjector_swigregister", SbCylinderSheetProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbLineProjector", _wrap_new_SbLineProjector, METH_VARARGS, (char *)"new_SbLineProjector() -> SbLineProjector"}, - { (char *)"SbLineProjector_copy", _wrap_SbLineProjector_copy, METH_VARARGS, (char *)"SbLineProjector_copy(SbLineProjector self) -> SbProjector"}, - { (char *)"SbLineProjector_project", _wrap_SbLineProjector_project, METH_VARARGS, (char *)"SbLineProjector_project(SbLineProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbLineProjector_setLine", _wrap_SbLineProjector_setLine, METH_VARARGS, (char *)"SbLineProjector_setLine(SbLineProjector self, SbLine line)"}, - { (char *)"SbLineProjector_getLine", _wrap_SbLineProjector_getLine, METH_VARARGS, (char *)"SbLineProjector_getLine(SbLineProjector self) -> SbLine"}, - { (char *)"SbLineProjector_getVector", _wrap_SbLineProjector_getVector, METH_VARARGS, (char *)"\n" - "getVector(SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f\n" - "SbLineProjector_getVector(SbLineProjector self, SbVec2f viewpos) -> SbVec3f\n" - ""}, - { (char *)"SbLineProjector_setStartPosition", _wrap_SbLineProjector_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f viewpos)\n" - "SbLineProjector_setStartPosition(SbLineProjector self, SbVec3f point)\n" - ""}, - { (char *)"delete_SbLineProjector", _wrap_delete_SbLineProjector, METH_VARARGS, (char *)"delete_SbLineProjector(SbLineProjector self)"}, - { (char *)"SbLineProjector_swigregister", SbLineProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPlaneProjector", _wrap_new_SbPlaneProjector, METH_VARARGS, (char *)"\n" - "SbPlaneProjector(SbBool orient=0)\n" - "SbPlaneProjector()\n" - "SbPlaneProjector(SbPlane plane, SbBool orient=0)\n" - "new_SbPlaneProjector(SbPlane plane) -> SbPlaneProjector\n" - ""}, - { (char *)"SbPlaneProjector_copy", _wrap_SbPlaneProjector_copy, METH_VARARGS, (char *)"SbPlaneProjector_copy(SbPlaneProjector self) -> SbProjector"}, - { (char *)"SbPlaneProjector_project", _wrap_SbPlaneProjector_project, METH_VARARGS, (char *)"SbPlaneProjector_project(SbPlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbPlaneProjector_setPlane", _wrap_SbPlaneProjector_setPlane, METH_VARARGS, (char *)"SbPlaneProjector_setPlane(SbPlaneProjector self, SbPlane plane)"}, - { (char *)"SbPlaneProjector_getPlane", _wrap_SbPlaneProjector_getPlane, METH_VARARGS, (char *)"SbPlaneProjector_getPlane(SbPlaneProjector self) -> SbPlane"}, - { (char *)"SbPlaneProjector_setOrientToEye", _wrap_SbPlaneProjector_setOrientToEye, METH_VARARGS, (char *)"SbPlaneProjector_setOrientToEye(SbPlaneProjector self, SbBool orienttoeye)"}, - { (char *)"SbPlaneProjector_isOrientToEye", _wrap_SbPlaneProjector_isOrientToEye, METH_VARARGS, (char *)"SbPlaneProjector_isOrientToEye(SbPlaneProjector self) -> SbBool"}, - { (char *)"SbPlaneProjector_getVector", _wrap_SbPlaneProjector_getVector, METH_VARARGS, (char *)"\n" - "getVector(SbVec2f viewpos1, SbVec2f viewpos2) -> SbVec3f\n" - "SbPlaneProjector_getVector(SbPlaneProjector self, SbVec2f viewpos) -> SbVec3f\n" - ""}, - { (char *)"SbPlaneProjector_setStartPosition", _wrap_SbPlaneProjector_setStartPosition, METH_VARARGS, (char *)"\n" - "setStartPosition(SbVec2f viewpos)\n" - "SbPlaneProjector_setStartPosition(SbPlaneProjector self, SbVec3f point)\n" - ""}, - { (char *)"delete_SbPlaneProjector", _wrap_delete_SbPlaneProjector, METH_VARARGS, (char *)"delete_SbPlaneProjector(SbPlaneProjector self)"}, - { (char *)"SbPlaneProjector_swigregister", SbPlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphere", _wrap_new_SbSphere, METH_VARARGS, (char *)"\n" - "SbSphere()\n" - "new_SbSphere(SbVec3f center, float radius) -> SbSphere\n" - ""}, - { (char *)"SbSphere_setValue", _wrap_SbSphere_setValue, METH_VARARGS, (char *)"SbSphere_setValue(SbSphere self, SbVec3f center, float radius)"}, - { (char *)"SbSphere_setCenter", _wrap_SbSphere_setCenter, METH_VARARGS, (char *)"SbSphere_setCenter(SbSphere self, SbVec3f center)"}, - { (char *)"SbSphere_setRadius", _wrap_SbSphere_setRadius, METH_VARARGS, (char *)"SbSphere_setRadius(SbSphere self, float radius)"}, - { (char *)"SbSphere_getCenter", _wrap_SbSphere_getCenter, METH_VARARGS, (char *)"SbSphere_getCenter(SbSphere self) -> SbVec3f"}, - { (char *)"SbSphere_getRadius", _wrap_SbSphere_getRadius, METH_VARARGS, (char *)"SbSphere_getRadius(SbSphere self) -> float"}, - { (char *)"SbSphere_circumscribe", _wrap_SbSphere_circumscribe, METH_VARARGS, (char *)"SbSphere_circumscribe(SbSphere self, SbBox3f box)"}, - { (char *)"SbSphere_intersect", _wrap_SbSphere_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbLine l, SbVec3f intersection) -> SbBool\n" - "SbSphere_intersect(SbSphere self, SbLine l, SbVec3f enter, SbVec3f exit) -> SbBool\n" - ""}, - { (char *)"SbSphere_pointInside", _wrap_SbSphere_pointInside, METH_VARARGS, (char *)"SbSphere_pointInside(SbSphere self, SbVec3f p) -> SbBool"}, - { (char *)"SbSphere_output", _wrap_SbSphere_output, METH_VARARGS, (char *)"SbSphere_output(SbSphere self, FILE file)"}, - { (char *)"delete_SbSphere", _wrap_delete_SbSphere, METH_VARARGS, (char *)"delete_SbSphere(SbSphere self)"}, - { (char *)"SbSphere_swigregister", SbSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SbSphereProjector_projectAndGetRotation", _wrap_SbSphereProjector_projectAndGetRotation, METH_VARARGS, (char *)"SbSphereProjector_projectAndGetRotation(SbSphereProjector self, SbVec2f point, SbRotation rot) -> SbVec3f"}, - { (char *)"SbSphereProjector_getRotation", _wrap_SbSphereProjector_getRotation, METH_VARARGS, (char *)"SbSphereProjector_getRotation(SbSphereProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbSphereProjector_setSphere", _wrap_SbSphereProjector_setSphere, METH_VARARGS, (char *)"SbSphereProjector_setSphere(SbSphereProjector self, SbSphere sph)"}, - { (char *)"SbSphereProjector_getSphere", _wrap_SbSphereProjector_getSphere, METH_VARARGS, (char *)"SbSphereProjector_getSphere(SbSphereProjector self) -> SbSphere"}, - { (char *)"SbSphereProjector_setOrientToEye", _wrap_SbSphereProjector_setOrientToEye, METH_VARARGS, (char *)"SbSphereProjector_setOrientToEye(SbSphereProjector self, SbBool orienttoeye)"}, - { (char *)"SbSphereProjector_isOrientToEye", _wrap_SbSphereProjector_isOrientToEye, METH_VARARGS, (char *)"SbSphereProjector_isOrientToEye(SbSphereProjector self) -> SbBool"}, - { (char *)"SbSphereProjector_setFront", _wrap_SbSphereProjector_setFront, METH_VARARGS, (char *)"SbSphereProjector_setFront(SbSphereProjector self, SbBool infront)"}, - { (char *)"SbSphereProjector_isFront", _wrap_SbSphereProjector_isFront, METH_VARARGS, (char *)"SbSphereProjector_isFront(SbSphereProjector self) -> SbBool"}, - { (char *)"SbSphereProjector_isPointInFront", _wrap_SbSphereProjector_isPointInFront, METH_VARARGS, (char *)"SbSphereProjector_isPointInFront(SbSphereProjector self, SbVec3f point) -> SbBool"}, - { (char *)"SbSphereProjector_setWorkingSpace", _wrap_SbSphereProjector_setWorkingSpace, METH_VARARGS, (char *)"SbSphereProjector_setWorkingSpace(SbSphereProjector self, SbMatrix space)"}, - { (char *)"delete_SbSphereProjector", _wrap_delete_SbSphereProjector, METH_VARARGS, (char *)"delete_SbSphereProjector(SbSphereProjector self)"}, - { (char *)"SbSphereProjector_swigregister", SbSphereProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphereSheetProjector", _wrap_new_SbSphereSheetProjector, METH_VARARGS, (char *)"\n" - "SbSphereSheetProjector(SbBool orienttoeye=1)\n" - "SbSphereSheetProjector()\n" - "SbSphereSheetProjector(SbSphere sph, SbBool orienttoeye=1)\n" - "new_SbSphereSheetProjector(SbSphere sph) -> SbSphereSheetProjector\n" - ""}, - { (char *)"SbSphereSheetProjector_copy", _wrap_SbSphereSheetProjector_copy, METH_VARARGS, (char *)"SbSphereSheetProjector_copy(SbSphereSheetProjector self) -> SbProjector"}, - { (char *)"SbSphereSheetProjector_project", _wrap_SbSphereSheetProjector_project, METH_VARARGS, (char *)"SbSphereSheetProjector_project(SbSphereSheetProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSphereSheetProjector_getRotation", _wrap_SbSphereSheetProjector_getRotation, METH_VARARGS, (char *)"SbSphereSheetProjector_getRotation(SbSphereSheetProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbSphereSheetProjector", _wrap_delete_SbSphereSheetProjector, METH_VARARGS, (char *)"delete_SbSphereSheetProjector(SbSphereSheetProjector self)"}, - { (char *)"SbSphereSheetProjector_swigregister", SbSphereSheetProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSphereSectionProjector", _wrap_new_SbSphereSectionProjector, METH_VARARGS, (char *)"\n" - "SbSphereSectionProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSphereSectionProjector(float edgetol=0.9)\n" - "SbSphereSectionProjector()\n" - "SbSphereSectionProjector(SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSphereSectionProjector(SbSphere sph, float edgetol=0.9)\n" - "new_SbSphereSectionProjector(SbSphere sph) -> SbSphereSectionProjector\n" - ""}, - { (char *)"SbSphereSectionProjector_copy", _wrap_SbSphereSectionProjector_copy, METH_VARARGS, (char *)"SbSphereSectionProjector_copy(SbSphereSectionProjector self) -> SbProjector"}, - { (char *)"SbSphereSectionProjector_project", _wrap_SbSphereSectionProjector_project, METH_VARARGS, (char *)"SbSphereSectionProjector_project(SbSphereSectionProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSphereSectionProjector_getRotation", _wrap_SbSphereSectionProjector_getRotation, METH_VARARGS, (char *)"SbSphereSectionProjector_getRotation(SbSphereSectionProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"SbSphereSectionProjector_setTolerance", _wrap_SbSphereSectionProjector_setTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_setTolerance(SbSphereSectionProjector self, float edgetol)"}, - { (char *)"SbSphereSectionProjector_getTolerance", _wrap_SbSphereSectionProjector_getTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_getTolerance(SbSphereSectionProjector self) -> float"}, - { (char *)"SbSphereSectionProjector_setRadialFactor", _wrap_SbSphereSectionProjector_setRadialFactor, METH_VARARGS, (char *)"\n" - "setRadialFactor(float rad=0.0)\n" - "SbSphereSectionProjector_setRadialFactor(SbSphereSectionProjector self)\n" - ""}, - { (char *)"SbSphereSectionProjector_getRadialFactor", _wrap_SbSphereSectionProjector_getRadialFactor, METH_VARARGS, (char *)"SbSphereSectionProjector_getRadialFactor(SbSphereSectionProjector self) -> float"}, - { (char *)"SbSphereSectionProjector_isWithinTolerance", _wrap_SbSphereSectionProjector_isWithinTolerance, METH_VARARGS, (char *)"SbSphereSectionProjector_isWithinTolerance(SbSphereSectionProjector self, SbVec3f point) -> SbBool"}, - { (char *)"delete_SbSphereSectionProjector", _wrap_delete_SbSphereSectionProjector, METH_VARARGS, (char *)"delete_SbSphereSectionProjector(SbSphereSectionProjector self)"}, - { (char *)"SbSphereSectionProjector_swigregister", SbSphereSectionProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbSpherePlaneProjector", _wrap_new_SbSpherePlaneProjector, METH_VARARGS, (char *)"\n" - "SbSpherePlaneProjector(float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSpherePlaneProjector(float edgetol=0.9)\n" - "SbSpherePlaneProjector()\n" - "SbSpherePlaneProjector(SbSphere sph, float edgetol=0.9, SbBool orienttoeye=1)\n" - "SbSpherePlaneProjector(SbSphere sph, float edgetol=0.9)\n" - "new_SbSpherePlaneProjector(SbSphere sph) -> SbSpherePlaneProjector\n" - ""}, - { (char *)"SbSpherePlaneProjector_copy", _wrap_SbSpherePlaneProjector_copy, METH_VARARGS, (char *)"SbSpherePlaneProjector_copy(SbSpherePlaneProjector self) -> SbProjector"}, - { (char *)"SbSpherePlaneProjector_project", _wrap_SbSpherePlaneProjector_project, METH_VARARGS, (char *)"SbSpherePlaneProjector_project(SbSpherePlaneProjector self, SbVec2f point) -> SbVec3f"}, - { (char *)"SbSpherePlaneProjector_getRotation", _wrap_SbSpherePlaneProjector_getRotation, METH_VARARGS, (char *)"SbSpherePlaneProjector_getRotation(SbSpherePlaneProjector self, SbVec3f point1, SbVec3f point2) -> SbRotation"}, - { (char *)"delete_SbSpherePlaneProjector", _wrap_delete_SbSpherePlaneProjector, METH_VARARGS, (char *)"delete_SbSpherePlaneProjector(SbSpherePlaneProjector self)"}, - { (char *)"SbSpherePlaneProjector_swigregister", SbSpherePlaneProjector_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2d", _wrap_new_SbVec2d, METH_VARARGS, (char *)"\n" - "SbVec2d()\n" - "SbVec2d(double v)\n" - "new_SbVec2d(double x, double y) -> SbVec2d\n" - ""}, - { (char *)"SbVec2d_dot", _wrap_SbVec2d_dot, METH_VARARGS, (char *)"SbVec2d_dot(SbVec2d self, SbVec2d v) -> double"}, - { (char *)"SbVec2d_equals", _wrap_SbVec2d_equals, METH_VARARGS, (char *)"SbVec2d_equals(SbVec2d self, SbVec2d v, double tolerance) -> SbBool"}, - { (char *)"SbVec2d_getValue", _wrap_SbVec2d_getValue, METH_VARARGS, (char *)"SbVec2d_getValue(SbVec2d self, double x, double y)"}, - { (char *)"SbVec2d_length", _wrap_SbVec2d_length, METH_VARARGS, (char *)"SbVec2d_length(SbVec2d self) -> double"}, - { (char *)"SbVec2d_negate", _wrap_SbVec2d_negate, METH_VARARGS, (char *)"SbVec2d_negate(SbVec2d self)"}, - { (char *)"SbVec2d_normalize", _wrap_SbVec2d_normalize, METH_VARARGS, (char *)"SbVec2d_normalize(SbVec2d self) -> double"}, - { (char *)"SbVec2d_setValue", _wrap_SbVec2d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec2d\n" - "SbVec2d_setValue(SbVec2d self, double x, double y) -> SbVec2d\n" - ""}, - { (char *)"SbVec2d___imul__", _wrap_SbVec2d___imul__, METH_VARARGS, (char *)"SbVec2d___imul__(SbVec2d self, double d) -> SbVec2d"}, - { (char *)"SbVec2d___idiv__", _wrap_SbVec2d___idiv__, METH_VARARGS, (char *)"SbVec2d___idiv__(SbVec2d self, double d) -> SbVec2d"}, - { (char *)"SbVec2d___iadd__", _wrap_SbVec2d___iadd__, METH_VARARGS, (char *)"SbVec2d___iadd__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___isub__", _wrap_SbVec2d___isub__, METH_VARARGS, (char *)"SbVec2d___isub__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___neg__", _wrap_SbVec2d___neg__, METH_VARARGS, (char *)"SbVec2d___neg__(SbVec2d self) -> SbVec2d"}, - { (char *)"SbVec2d_output", _wrap_SbVec2d_output, METH_VARARGS, (char *)"SbVec2d_output(SbVec2d self, FILE fp)"}, - { (char *)"SbVec2d___add__", _wrap_SbVec2d___add__, METH_VARARGS, (char *)"SbVec2d___add__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___sub__", _wrap_SbVec2d___sub__, METH_VARARGS, (char *)"SbVec2d___sub__(SbVec2d self, SbVec2d u) -> SbVec2d"}, - { (char *)"SbVec2d___mul__", _wrap_SbVec2d___mul__, METH_VARARGS, (char *)"SbVec2d___mul__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___rmul__", _wrap_SbVec2d___rmul__, METH_VARARGS, (char *)"SbVec2d___rmul__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___div__", _wrap_SbVec2d___div__, METH_VARARGS, (char *)"SbVec2d___div__(SbVec2d self, float d) -> SbVec2d"}, - { (char *)"SbVec2d___eq__", _wrap_SbVec2d___eq__, METH_VARARGS, (char *)"SbVec2d___eq__(SbVec2d self, SbVec2d u) -> int"}, - { (char *)"SbVec2d___nq__", _wrap_SbVec2d___nq__, METH_VARARGS, (char *)"SbVec2d___nq__(SbVec2d self, SbVec2d u) -> int"}, - { (char *)"SbVec2d___getitem__", _wrap_SbVec2d___getitem__, METH_VARARGS, (char *)"SbVec2d___getitem__(SbVec2d self, int i) -> double"}, - { (char *)"SbVec2d___setitem__", _wrap_SbVec2d___setitem__, METH_VARARGS, (char *)"SbVec2d___setitem__(SbVec2d self, int i, double value)"}, - { (char *)"delete_SbVec2d", _wrap_delete_SbVec2d, METH_VARARGS, (char *)"delete_SbVec2d(SbVec2d self)"}, - { (char *)"SbVec2d_swigregister", SbVec2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2d", _wrap_new_SbBox2d, METH_VARARGS, (char *)"\n" - "SbBox2d()\n" - "SbBox2d(double xmin, double ymin, double xmax, double ymax)\n" - "new_SbBox2d(SbVec2d min, SbVec2d max) -> SbBox2d\n" - ""}, - { (char *)"delete_SbBox2d", _wrap_delete_SbBox2d, METH_VARARGS, (char *)"delete_SbBox2d(SbBox2d self)"}, - { (char *)"SbBox2d_getMin", _wrap_SbBox2d_getMin, METH_VARARGS, (char *)"SbBox2d_getMin(SbBox2d self) -> SbVec2d"}, - { (char *)"SbBox2d_getMax", _wrap_SbBox2d_getMax, METH_VARARGS, (char *)"SbBox2d_getMax(SbBox2d self) -> SbVec2d"}, - { (char *)"SbBox2d_getCenter", _wrap_SbBox2d_getCenter, METH_VARARGS, (char *)"SbBox2d_getCenter(SbBox2d self) -> SbVec2d"}, - { (char *)"SbBox2d_extendBy", _wrap_SbBox2d_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2d point)\n" - "SbBox2d_extendBy(SbBox2d self, SbBox2d box)\n" - ""}, - { (char *)"SbBox2d_intersect", _wrap_SbBox2d_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2d point) -> SbBool\n" - "SbBox2d_intersect(SbBox2d self, SbBox2d box) -> SbBool\n" - ""}, - { (char *)"SbBox2d_findIntersection", _wrap_SbBox2d_findIntersection, METH_VARARGS, (char *)"SbBox2d_findIntersection(SbBox2d self, SbVec2d a, SbVec2d b, SbVec2d ia, SbVec2d ib) -> SbBool"}, - { (char *)"SbBox2d_getClosestPoint", _wrap_SbBox2d_getClosestPoint, METH_VARARGS, (char *)"SbBox2d_getClosestPoint(SbBox2d self, SbVec2d p) -> SbVec2d"}, - { (char *)"SbBox2d_setBounds", _wrap_SbBox2d_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(double xmin, double ymin, double xmax, double ymax)\n" - "SbBox2d_setBounds(SbBox2d self, SbVec2d min, SbVec2d max)\n" - ""}, - { (char *)"SbBox2d_getBounds", _wrap_SbBox2d_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(double xmin, double ymin, double xmax, double ymax)\n" - "SbBox2d_getBounds(SbBox2d self, SbVec2d min, SbVec2d max)\n" - ""}, - { (char *)"SbBox2d_getOrigin", _wrap_SbBox2d_getOrigin, METH_VARARGS, (char *)"SbBox2d_getOrigin(SbBox2d self, double x0, double y0)"}, - { (char *)"SbBox2d_getSize", _wrap_SbBox2d_getSize, METH_VARARGS, (char *)"SbBox2d_getSize(SbBox2d self, double w, double h)"}, - { (char *)"SbBox2d_getAspectRatio", _wrap_SbBox2d_getAspectRatio, METH_VARARGS, (char *)"SbBox2d_getAspectRatio(SbBox2d self) -> double"}, - { (char *)"SbBox2d_makeEmpty", _wrap_SbBox2d_makeEmpty, METH_VARARGS, (char *)"SbBox2d_makeEmpty(SbBox2d self)"}, - { (char *)"SbBox2d_isEmpty", _wrap_SbBox2d_isEmpty, METH_VARARGS, (char *)"SbBox2d_isEmpty(SbBox2d self) -> SbBool"}, - { (char *)"SbBox2d_hasArea", _wrap_SbBox2d_hasArea, METH_VARARGS, (char *)"SbBox2d_hasArea(SbBox2d self) -> SbBool"}, - { (char *)"SbBox2d___eq__", _wrap_SbBox2d___eq__, METH_VARARGS, (char *)"SbBox2d___eq__(SbBox2d self, SbBox2d u) -> int"}, - { (char *)"SbBox2d___ne__", _wrap_SbBox2d___ne__, METH_VARARGS, (char *)"SbBox2d___ne__(SbBox2d self, SbBox2d u) -> int"}, - { (char *)"SbBox2d_setValue", _wrap_SbBox2d_setValue, METH_VARARGS, (char *)"SbBox2d_setValue(SbBox2d self, SbBox2d u) -> SbBox2d"}, - { (char *)"SbBox2d_swigregister", SbBox2d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBox2s", _wrap_new_SbBox2s, METH_VARARGS, (char *)"\n" - "SbBox2s()\n" - "SbBox2s(short xmin, short ymin, short xmax, short ymax)\n" - "new_SbBox2s(SbVec2s boxmin, SbVec2s boxmax) -> SbBox2s\n" - ""}, - { (char *)"delete_SbBox2s", _wrap_delete_SbBox2s, METH_VARARGS, (char *)"delete_SbBox2s(SbBox2s self)"}, - { (char *)"SbBox2s_getMin", _wrap_SbBox2s_getMin, METH_VARARGS, (char *)"SbBox2s_getMin(SbBox2s self) -> SbVec2s"}, - { (char *)"SbBox2s_getMax", _wrap_SbBox2s_getMax, METH_VARARGS, (char *)"SbBox2s_getMax(SbBox2s self) -> SbVec2s"}, - { (char *)"SbBox2s_extendBy", _wrap_SbBox2s_extendBy, METH_VARARGS, (char *)"\n" - "extendBy(SbVec2s point)\n" - "SbBox2s_extendBy(SbBox2s self, SbBox2s box)\n" - ""}, - { (char *)"SbBox2s_intersect", _wrap_SbBox2s_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbVec2s point) -> SbBool\n" - "SbBox2s_intersect(SbBox2s self, SbBox2s box) -> SbBool\n" - ""}, - { (char *)"SbBox2s_setBounds", _wrap_SbBox2s_setBounds, METH_VARARGS, (char *)"\n" - "setBounds(short xmin, short ymin, short xmax, short ymax)\n" - "SbBox2s_setBounds(SbBox2s self, SbVec2s boxmin, SbVec2s boxmax)\n" - ""}, - { (char *)"SbBox2s_getBounds", _wrap_SbBox2s_getBounds, METH_VARARGS, (char *)"\n" - "getBounds(short xmin, short ymin, short xmax, short ymax)\n" - "SbBox2s_getBounds(SbBox2s self, SbVec2s boxmin, SbVec2s boxmax)\n" - ""}, - { (char *)"SbBox2s_getOrigin", _wrap_SbBox2s_getOrigin, METH_VARARGS, (char *)"SbBox2s_getOrigin(SbBox2s self, short originX, short originY)"}, - { (char *)"SbBox2s_getSize", _wrap_SbBox2s_getSize, METH_VARARGS, (char *)"SbBox2s_getSize(SbBox2s self, short sizeX, short sizeY)"}, - { (char *)"SbBox2s_getAspectRatio", _wrap_SbBox2s_getAspectRatio, METH_VARARGS, (char *)"SbBox2s_getAspectRatio(SbBox2s self) -> float"}, - { (char *)"SbBox2s_makeEmpty", _wrap_SbBox2s_makeEmpty, METH_VARARGS, (char *)"SbBox2s_makeEmpty(SbBox2s self)"}, - { (char *)"SbBox2s___eq__", _wrap_SbBox2s___eq__, METH_VARARGS, (char *)"SbBox2s___eq__(SbBox2s self, SbBox2s u) -> int"}, - { (char *)"SbBox2s___ne__", _wrap_SbBox2s___ne__, METH_VARARGS, (char *)"SbBox2s___ne__(SbBox2s self, SbBox2s u) -> int"}, - { (char *)"SbBox2s_swigregister", SbBox2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbClip", _wrap_new_SbClip, METH_VARARGS, (char *)"\n" - "SbClip(SbClipCallback callback=None, void userdata=None)\n" - "SbClip(SbClipCallback callback=None)\n" - "new_SbClip() -> SbClip\n" - ""}, - { (char *)"SbClip_addVertex", _wrap_SbClip_addVertex, METH_VARARGS, (char *)"\n" - "addVertex(SbVec3f v, void vdata=None)\n" - "SbClip_addVertex(SbClip self, SbVec3f v)\n" - ""}, - { (char *)"SbClip_reset", _wrap_SbClip_reset, METH_VARARGS, (char *)"SbClip_reset(SbClip self)"}, - { (char *)"SbClip_clip", _wrap_SbClip_clip, METH_VARARGS, (char *)"SbClip_clip(SbClip self, SbPlane plane)"}, - { (char *)"SbClip_getNumVertices", _wrap_SbClip_getNumVertices, METH_VARARGS, (char *)"SbClip_getNumVertices(SbClip self) -> int"}, - { (char *)"SbClip_getVertex", _wrap_SbClip_getVertex, METH_VARARGS, (char *)"\n" - "getVertex(int idx, SbVec3f v, void vdata=None)\n" - "SbClip_getVertex(SbClip self, int idx, SbVec3f v)\n" - ""}, - { (char *)"SbClip_getVertexData", _wrap_SbClip_getVertexData, METH_VARARGS, (char *)"SbClip_getVertexData(SbClip self, int idx) -> void"}, - { (char *)"delete_SbClip", _wrap_delete_SbClip, METH_VARARGS, (char *)"delete_SbClip(SbClip self)"}, - { (char *)"SbClip_swigregister", SbClip_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec4d", _wrap_new_SbVec4d, METH_VARARGS, (char *)"\n" - "SbVec4d()\n" - "SbVec4d(double v)\n" - "new_SbVec4d(double x, double y, double z, double w) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d_dot", _wrap_SbVec4d_dot, METH_VARARGS, (char *)"SbVec4d_dot(SbVec4d self, SbVec4d v) -> double"}, - { (char *)"SbVec4d_equals", _wrap_SbVec4d_equals, METH_VARARGS, (char *)"SbVec4d_equals(SbVec4d self, SbVec4d v, double tolerance) -> SbBool"}, - { (char *)"SbVec4d_getReal", _wrap_SbVec4d_getReal, METH_VARARGS, (char *)"SbVec4d_getReal(SbVec4d self, SbVec3d v)"}, - { (char *)"SbVec4d_getValue", _wrap_SbVec4d_getValue, METH_VARARGS, (char *)"SbVec4d_getValue(SbVec4d self) -> double"}, - { (char *)"SbVec4d_length", _wrap_SbVec4d_length, METH_VARARGS, (char *)"SbVec4d_length(SbVec4d self) -> double"}, - { (char *)"SbVec4d_negate", _wrap_SbVec4d_negate, METH_VARARGS, (char *)"SbVec4d_negate(SbVec4d self)"}, - { (char *)"SbVec4d_normalize", _wrap_SbVec4d_normalize, METH_VARARGS, (char *)"SbVec4d_normalize(SbVec4d self) -> double"}, - { (char *)"SbVec4d_setValue", _wrap_SbVec4d_setValue, METH_VARARGS, (char *)"\n" - "setValue(double v) -> SbVec4d\n" - "SbVec4d_setValue(SbVec4d self, double x, double y, double z, double w) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d___imul__", _wrap_SbVec4d___imul__, METH_VARARGS, (char *)"SbVec4d___imul__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___idiv__", _wrap_SbVec4d___idiv__, METH_VARARGS, (char *)"SbVec4d___idiv__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___iadd__", _wrap_SbVec4d___iadd__, METH_VARARGS, (char *)"SbVec4d___iadd__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___isub__", _wrap_SbVec4d___isub__, METH_VARARGS, (char *)"SbVec4d___isub__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___neg__", _wrap_SbVec4d___neg__, METH_VARARGS, (char *)"SbVec4d___neg__(SbVec4d self) -> SbVec4d"}, - { (char *)"SbVec4d_output", _wrap_SbVec4d_output, METH_VARARGS, (char *)"SbVec4d_output(SbVec4d self, FILE fp)"}, - { (char *)"SbVec4d___add__", _wrap_SbVec4d___add__, METH_VARARGS, (char *)"SbVec4d___add__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___sub__", _wrap_SbVec4d___sub__, METH_VARARGS, (char *)"SbVec4d___sub__(SbVec4d self, SbVec4d u) -> SbVec4d"}, - { (char *)"SbVec4d___mul__", _wrap_SbVec4d___mul__, METH_VARARGS, (char *)"\n" - "__mul__(double d) -> SbVec4d\n" - "SbVec4d___mul__(SbVec4d self, SbDPMatrix m) -> SbVec4d\n" - ""}, - { (char *)"SbVec4d___rmul__", _wrap_SbVec4d___rmul__, METH_VARARGS, (char *)"SbVec4d___rmul__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___div__", _wrap_SbVec4d___div__, METH_VARARGS, (char *)"SbVec4d___div__(SbVec4d self, double d) -> SbVec4d"}, - { (char *)"SbVec4d___eq__", _wrap_SbVec4d___eq__, METH_VARARGS, (char *)"SbVec4d___eq__(SbVec4d self, SbVec4d u) -> int"}, - { (char *)"SbVec4d___nq__", _wrap_SbVec4d___nq__, METH_VARARGS, (char *)"SbVec4d___nq__(SbVec4d self, SbVec4d u) -> int"}, - { (char *)"SbVec4d___getitem__", _wrap_SbVec4d___getitem__, METH_VARARGS, (char *)"SbVec4d___getitem__(SbVec4d self, int i) -> double"}, - { (char *)"SbVec4d___setitem__", _wrap_SbVec4d___setitem__, METH_VARARGS, (char *)"SbVec4d___setitem__(SbVec4d self, int i, double value)"}, - { (char *)"delete_SbVec4d", _wrap_delete_SbVec4d, METH_VARARGS, (char *)"delete_SbVec4d(SbVec4d self)"}, - { (char *)"SbVec4d_swigregister", SbVec4d_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPRotation", _wrap_new_SbDPRotation, METH_VARARGS, (char *)"\n" - "SbDPRotation()\n" - "SbDPRotation(SbVec3d axis, double radians)\n" - "SbDPRotation(double q)\n" - "SbDPRotation(double q0, double q1, double q2, double q3)\n" - "SbDPRotation(SbDPMatrix m)\n" - "new_SbDPRotation(SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation_getValue", _wrap_SbDPRotation_getValue, METH_VARARGS, (char *)"SbDPRotation_getValue(SbDPRotation self) -> double"}, - { (char *)"SbDPRotation_getAxisAngle", _wrap_SbDPRotation_getAxisAngle, METH_VARARGS, (char *)"SbDPRotation_getAxisAngle(SbDPRotation self, SbVec3d axis, double radians)"}, - { (char *)"SbDPRotation_getMatrix", _wrap_SbDPRotation_getMatrix, METH_VARARGS, (char *)"SbDPRotation_getMatrix(SbDPRotation self, SbDPMatrix matrix)"}, - { (char *)"SbDPRotation_invert", _wrap_SbDPRotation_invert, METH_VARARGS, (char *)"SbDPRotation_invert(SbDPRotation self) -> SbDPRotation"}, - { (char *)"SbDPRotation_inverse", _wrap_SbDPRotation_inverse, METH_VARARGS, (char *)"SbDPRotation_inverse(SbDPRotation self) -> SbDPRotation"}, - { (char *)"SbDPRotation_setValue", _wrap_SbDPRotation_setValue, METH_VARARGS, (char *)"\n" - "setValue(double q0, double q1, double q2, double q3) -> SbDPRotation\n" - "setValue(double q) -> SbDPRotation\n" - "setValue(SbDPMatrix m) -> SbDPRotation\n" - "setValue(SbVec3d axis, double radians) -> SbDPRotation\n" - "SbDPRotation_setValue(SbDPRotation self, SbVec3d rotateFrom, SbVec3d rotateTo) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation___imul__", _wrap_SbDPRotation___imul__, METH_VARARGS, (char *)"\n" - "__imul__(SbDPRotation q) -> SbDPRotation\n" - "SbDPRotation___imul__(SbDPRotation self, double s) -> SbDPRotation\n" - ""}, - { (char *)"SbDPRotation_equals", _wrap_SbDPRotation_equals, METH_VARARGS, (char *)"SbDPRotation_equals(SbDPRotation self, SbDPRotation r, double tolerance) -> SbBool"}, - { (char *)"SbDPRotation_multVec", _wrap_SbDPRotation_multVec, METH_VARARGS, (char *)"SbDPRotation_multVec(SbDPRotation self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPRotation_scaleAngle", _wrap_SbDPRotation_scaleAngle, METH_VARARGS, (char *)"SbDPRotation_scaleAngle(SbDPRotation self, double scaleFactor)"}, - { (char *)"SbDPRotation_slerp", _wrap_SbDPRotation_slerp, METH_VARARGS, (char *)"SbDPRotation_slerp(SbDPRotation rot0, SbDPRotation rot1, double t) -> SbDPRotation"}, - { (char *)"SbDPRotation_identity", _wrap_SbDPRotation_identity, METH_VARARGS, (char *)"SbDPRotation_identity() -> SbDPRotation"}, - { (char *)"SbDPRotation_output", _wrap_SbDPRotation_output, METH_VARARGS, (char *)"SbDPRotation_output(SbDPRotation self, FILE fp)"}, - { (char *)"SbDPRotation___mul__", _wrap_SbDPRotation___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbDPRotation u) -> SbDPRotation\n" - "__mul__(double d) -> SbDPRotation\n" - "SbDPRotation___mul__(SbDPRotation self, SbVec3d v) -> SbVec3d\n" - ""}, - { (char *)"SbDPRotation___eq__", _wrap_SbDPRotation___eq__, METH_VARARGS, (char *)"SbDPRotation___eq__(SbDPRotation self, SbDPRotation u) -> int"}, - { (char *)"SbDPRotation___nq__", _wrap_SbDPRotation___nq__, METH_VARARGS, (char *)"SbDPRotation___nq__(SbDPRotation self, SbDPRotation u) -> int"}, - { (char *)"delete_SbDPRotation", _wrap_delete_SbDPRotation, METH_VARARGS, (char *)"delete_SbDPRotation(SbDPRotation self)"}, - { (char *)"SbDPRotation_swigregister", SbDPRotation_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPMatrix", _wrap_new_SbDPMatrix, METH_VARARGS, (char *)"\n" - "SbDPMatrix()\n" - "SbDPMatrix(double a11, double a12, double a13, double a14, double a21, \n" - " double a22, double a23, double a24, \n" - " double a31, double a32, double a33, double a34, \n" - " double a41, double a42, double a43, double a44)\n" - "SbDPMatrix(SbDPMat matrix)\n" - "SbDPMatrix(SbDPMat matrix)\n" - "new_SbDPMatrix(SbMatrix matrix) -> SbDPMatrix\n" - ""}, - { (char *)"delete_SbDPMatrix", _wrap_delete_SbDPMatrix, METH_VARARGS, (char *)"delete_SbDPMatrix(SbDPMatrix self)"}, - { (char *)"SbDPMatrix_setValue", _wrap_SbDPMatrix_setValue, METH_VARARGS, (char *)"SbDPMatrix_setValue(SbDPMatrix self, SbDPMat m)"}, - { (char *)"SbDPMatrix_makeIdentity", _wrap_SbDPMatrix_makeIdentity, METH_VARARGS, (char *)"SbDPMatrix_makeIdentity(SbDPMatrix self)"}, - { (char *)"SbDPMatrix_setRotate", _wrap_SbDPMatrix_setRotate, METH_VARARGS, (char *)"SbDPMatrix_setRotate(SbDPMatrix self, SbDPRotation q)"}, - { (char *)"SbDPMatrix_inverse", _wrap_SbDPMatrix_inverse, METH_VARARGS, (char *)"SbDPMatrix_inverse(SbDPMatrix self) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_det3", _wrap_SbDPMatrix_det3, METH_VARARGS, (char *)"\n" - "det3(int r1, int r2, int r3, int c1, int c2, int c3) -> double\n" - "SbDPMatrix_det3(SbDPMatrix self) -> double\n" - ""}, - { (char *)"SbDPMatrix_det4", _wrap_SbDPMatrix_det4, METH_VARARGS, (char *)"SbDPMatrix_det4(SbDPMatrix self) -> double"}, - { (char *)"SbDPMatrix_equals", _wrap_SbDPMatrix_equals, METH_VARARGS, (char *)"SbDPMatrix_equals(SbDPMatrix self, SbDPMatrix m, double tolerance) -> SbBool"}, - { (char *)"SbDPMatrix___imul__", _wrap_SbDPMatrix___imul__, METH_VARARGS, (char *)"SbDPMatrix___imul__(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_getValue", _wrap_SbDPMatrix_getValue, METH_VARARGS, (char *)"\n" - "getValue() -> SbDPMat\n" - "SbDPMatrix_getValue(SbDPMatrix self, SbDPMat m)\n" - ""}, - { (char *)"SbDPMatrix_identity", _wrap_SbDPMatrix_identity, METH_VARARGS, (char *)"SbDPMatrix_identity() -> SbDPMatrix"}, - { (char *)"SbDPMatrix_setScale", _wrap_SbDPMatrix_setScale, METH_VARARGS, (char *)"\n" - "setScale(double s)\n" - "SbDPMatrix_setScale(SbDPMatrix self, SbVec3d s)\n" - ""}, - { (char *)"SbDPMatrix_setTranslate", _wrap_SbDPMatrix_setTranslate, METH_VARARGS, (char *)"SbDPMatrix_setTranslate(SbDPMatrix self, SbVec3d t)"}, - { (char *)"SbDPMatrix_setTransform", _wrap_SbDPMatrix_setTransform, METH_VARARGS, (char *)"\n" - "setTransform(SbVec3d t, SbDPRotation r, SbVec3d s)\n" - "setTransform(SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so)\n" - "SbDPMatrix_setTransform(SbDPMatrix self, SbVec3d translation, SbDPRotation rotation, \n" - " SbVec3d scaleFactor, SbDPRotation scaleOrientation, \n" - " SbVec3d center)\n" - ""}, - { (char *)"SbDPMatrix_getTransform", _wrap_SbDPMatrix_getTransform, METH_VARARGS, (char *)"\n" - "getTransform(SbVec3d t, SbDPRotation r, SbVec3d s, SbDPRotation so)\n" - "SbDPMatrix_getTransform(SbDPMatrix self, SbVec3d translation, SbDPRotation rotation, \n" - " SbVec3d scaleFactor, SbDPRotation scaleOrientation, \n" - " SbVec3d center)\n" - ""}, - { (char *)"SbDPMatrix_factor", _wrap_SbDPMatrix_factor, METH_VARARGS, (char *)"\n" - "SbDPMatrix_factor(SbDPMatrix self, SbDPMatrix r, SbVec3d s, SbDPMatrix u, \n" - " SbVec3d t, SbDPMatrix proj) -> SbBool\n" - ""}, - { (char *)"SbDPMatrix_LUDecomposition", _wrap_SbDPMatrix_LUDecomposition, METH_VARARGS, (char *)"SbDPMatrix_LUDecomposition(SbDPMatrix self, int index, double d) -> SbBool"}, - { (char *)"SbDPMatrix_LUBackSubstitution", _wrap_SbDPMatrix_LUBackSubstitution, METH_VARARGS, (char *)"SbDPMatrix_LUBackSubstitution(SbDPMatrix self, int index, double b)"}, - { (char *)"SbDPMatrix_transpose", _wrap_SbDPMatrix_transpose, METH_VARARGS, (char *)"SbDPMatrix_transpose(SbDPMatrix self) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multRight", _wrap_SbDPMatrix_multRight, METH_VARARGS, (char *)"SbDPMatrix_multRight(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multLeft", _wrap_SbDPMatrix_multLeft, METH_VARARGS, (char *)"SbDPMatrix_multLeft(SbDPMatrix self, SbDPMatrix m) -> SbDPMatrix"}, - { (char *)"SbDPMatrix_multMatrixVec", _wrap_SbDPMatrix_multMatrixVec, METH_VARARGS, (char *)"SbDPMatrix_multMatrixVec(SbDPMatrix self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPMatrix_multDirMatrix", _wrap_SbDPMatrix_multDirMatrix, METH_VARARGS, (char *)"SbDPMatrix_multDirMatrix(SbDPMatrix self, SbVec3d src, SbVec3d dst)"}, - { (char *)"SbDPMatrix_multLineMatrix", _wrap_SbDPMatrix_multLineMatrix, METH_VARARGS, (char *)"SbDPMatrix_multLineMatrix(SbDPMatrix self, SbDPLine src, SbDPLine dst)"}, - { (char *)"SbDPMatrix_multVecMatrix", _wrap_SbDPMatrix_multVecMatrix, METH_VARARGS, (char *)"\n" - "multVecMatrix(SbVec3d src, SbVec3d dst)\n" - "SbDPMatrix_multVecMatrix(SbDPMatrix self, SbVec4d src, SbVec4d dst)\n" - ""}, - { (char *)"SbDPMatrix_output", _wrap_SbDPMatrix_output, METH_VARARGS, (char *)"SbDPMatrix_output(SbDPMatrix self, FILE fp)"}, - { (char *)"SbDPMatrix___mul__", _wrap_SbDPMatrix___mul__, METH_VARARGS, (char *)"\n" - "__mul__(SbDPMatrix u) -> SbDPMatrix\n" - "SbDPMatrix___mul__(SbDPMatrix self, SbVec3d u) -> SbVec3d\n" - ""}, - { (char *)"SbDPMatrix___rmul__", _wrap_SbDPMatrix___rmul__, METH_VARARGS, (char *)"SbDPMatrix___rmul__(SbDPMatrix self, SbVec3d u) -> SbVec3d"}, - { (char *)"SbDPMatrix___eq__", _wrap_SbDPMatrix___eq__, METH_VARARGS, (char *)"SbDPMatrix___eq__(SbDPMatrix self, SbDPMatrix u) -> int"}, - { (char *)"SbDPMatrix___ne__", _wrap_SbDPMatrix___ne__, METH_VARARGS, (char *)"SbDPMatrix___ne__(SbDPMatrix self, SbDPMatrix u) -> int"}, - { (char *)"SbDPMatrix_swigregister", SbDPMatrix_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPLine", _wrap_new_SbDPLine, METH_VARARGS, (char *)"\n" - "SbDPLine()\n" - "new_SbDPLine(SbVec3d p0, SbVec3d p1) -> SbDPLine\n" - ""}, - { (char *)"SbDPLine_setValue", _wrap_SbDPLine_setValue, METH_VARARGS, (char *)"SbDPLine_setValue(SbDPLine self, SbVec3d p0, SbVec3d p1)"}, - { (char *)"SbDPLine_getClosestPoints", _wrap_SbDPLine_getClosestPoints, METH_VARARGS, (char *)"SbDPLine_getClosestPoints(SbDPLine self, SbDPLine line2, SbVec3d ptOnThis, SbVec3d ptOnLine2) -> SbBool"}, - { (char *)"SbDPLine_getClosestPoint", _wrap_SbDPLine_getClosestPoint, METH_VARARGS, (char *)"SbDPLine_getClosestPoint(SbDPLine self, SbVec3d point) -> SbVec3d"}, - { (char *)"SbDPLine_getPosition", _wrap_SbDPLine_getPosition, METH_VARARGS, (char *)"SbDPLine_getPosition(SbDPLine self) -> SbVec3d"}, - { (char *)"SbDPLine_getDirection", _wrap_SbDPLine_getDirection, METH_VARARGS, (char *)"SbDPLine_getDirection(SbDPLine self) -> SbVec3d"}, - { (char *)"SbDPLine_output", _wrap_SbDPLine_output, METH_VARARGS, (char *)"SbDPLine_output(SbDPLine self, FILE file)"}, - { (char *)"delete_SbDPLine", _wrap_delete_SbDPLine, METH_VARARGS, (char *)"delete_SbDPLine(SbDPLine self)"}, - { (char *)"SbDPLine_swigregister", SbDPLine_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDPPlane", _wrap_new_SbDPPlane, METH_VARARGS, (char *)"\n" - "SbDPPlane()\n" - "SbDPPlane(SbVec3d normal, double D)\n" - "SbDPPlane(SbVec3d p0, SbVec3d p1, SbVec3d p2)\n" - "new_SbDPPlane(SbVec3d normal, SbVec3d point) -> SbDPPlane\n" - ""}, - { (char *)"SbDPPlane_offset", _wrap_SbDPPlane_offset, METH_VARARGS, (char *)"SbDPPlane_offset(SbDPPlane self, double d)"}, - { (char *)"SbDPPlane_transform", _wrap_SbDPPlane_transform, METH_VARARGS, (char *)"SbDPPlane_transform(SbDPPlane self, SbDPMatrix matrix)"}, - { (char *)"SbDPPlane_isInHalfSpace", _wrap_SbDPPlane_isInHalfSpace, METH_VARARGS, (char *)"SbDPPlane_isInHalfSpace(SbDPPlane self, SbVec3d point) -> SbBool"}, - { (char *)"SbDPPlane_getDistance", _wrap_SbDPPlane_getDistance, METH_VARARGS, (char *)"SbDPPlane_getDistance(SbDPPlane self, SbVec3d point) -> double"}, - { (char *)"SbDPPlane_getNormal", _wrap_SbDPPlane_getNormal, METH_VARARGS, (char *)"SbDPPlane_getNormal(SbDPPlane self) -> SbVec3d"}, - { (char *)"SbDPPlane_getDistanceFromOrigin", _wrap_SbDPPlane_getDistanceFromOrigin, METH_VARARGS, (char *)"SbDPPlane_getDistanceFromOrigin(SbDPPlane self) -> double"}, - { (char *)"SbDPPlane_output", _wrap_SbDPPlane_output, METH_VARARGS, (char *)"SbDPPlane_output(SbDPPlane self, FILE file)"}, - { (char *)"SbDPPlane_intersect", _wrap_SbDPPlane_intersect, METH_VARARGS, (char *)"\n" - "intersect(SbDPLine l, SbVec3d intersection) -> SbBool\n" - "SbDPPlane_intersect(SbDPPlane self, SbDPPlane pl, SbDPLine line) -> SbBool\n" - ""}, - { (char *)"SbDPPlane___eq__", _wrap_SbDPPlane___eq__, METH_VARARGS, (char *)"SbDPPlane___eq__(SbDPPlane self, SbDPPlane u) -> int"}, - { (char *)"SbDPPlane___ne__", _wrap_SbDPPlane___ne__, METH_VARARGS, (char *)"SbDPPlane___ne__(SbDPPlane self, SbDPPlane u) -> int"}, - { (char *)"delete_SbDPPlane", _wrap_delete_SbDPPlane, METH_VARARGS, (char *)"delete_SbDPPlane(SbDPPlane self)"}, - { (char *)"SbDPPlane_swigregister", SbDPPlane_swigregister, METH_VARARGS, NULL}, - { (char *)"SbHeapFuncs_eval_func_set", _wrap_SbHeapFuncs_eval_func_set, METH_VARARGS, (char *)"SbHeapFuncs_eval_func_set(SbHeapFuncs self, float eval_func)"}, - { (char *)"SbHeapFuncs_eval_func_get", _wrap_SbHeapFuncs_eval_func_get, METH_VARARGS, (char *)"SbHeapFuncs_eval_func_get(SbHeapFuncs self) -> float"}, - { (char *)"SbHeapFuncs_get_index_func_set", _wrap_SbHeapFuncs_get_index_func_set, METH_VARARGS, (char *)"SbHeapFuncs_get_index_func_set(SbHeapFuncs self, int get_index_func)"}, - { (char *)"SbHeapFuncs_get_index_func_get", _wrap_SbHeapFuncs_get_index_func_get, METH_VARARGS, (char *)"SbHeapFuncs_get_index_func_get(SbHeapFuncs self) -> int"}, - { (char *)"SbHeapFuncs_set_index_func_set", _wrap_SbHeapFuncs_set_index_func_set, METH_VARARGS, (char *)"SbHeapFuncs_set_index_func_set(SbHeapFuncs self, void set_index_func)"}, - { (char *)"SbHeapFuncs_set_index_func_get", _wrap_SbHeapFuncs_set_index_func_get, METH_VARARGS, (char *)"SbHeapFuncs_set_index_func_get(SbHeapFuncs self) -> void"}, - { (char *)"new_SbHeapFuncs", _wrap_new_SbHeapFuncs, METH_VARARGS, (char *)"new_SbHeapFuncs() -> SbHeapFuncs"}, - { (char *)"delete_SbHeapFuncs", _wrap_delete_SbHeapFuncs, METH_VARARGS, (char *)"delete_SbHeapFuncs(SbHeapFuncs self)"}, - { (char *)"SbHeapFuncs_swigregister", SbHeapFuncs_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbHeap", _wrap_new_SbHeap, METH_VARARGS, (char *)"\n" - "SbHeap(SbHeapFuncs SbHeapFuncs, int initsize=1024)\n" - "new_SbHeap(SbHeapFuncs SbHeapFuncs) -> SbHeap\n" - ""}, - { (char *)"delete_SbHeap", _wrap_delete_SbHeap, METH_VARARGS, (char *)"delete_SbHeap(SbHeap self)"}, - { (char *)"SbHeap_emptyHeap", _wrap_SbHeap_emptyHeap, METH_VARARGS, (char *)"SbHeap_emptyHeap(SbHeap self)"}, - { (char *)"SbHeap_size", _wrap_SbHeap_size, METH_VARARGS, (char *)"SbHeap_size(SbHeap self) -> int"}, - { (char *)"SbHeap_add", _wrap_SbHeap_add, METH_VARARGS, (char *)"SbHeap_add(SbHeap self, void obj) -> int"}, - { (char *)"SbHeap_remove", _wrap_SbHeap_remove, METH_VARARGS, (char *)"\n" - "remove(int pos)\n" - "SbHeap_remove(SbHeap self, void obj)\n" - ""}, - { (char *)"SbHeap_extractMin", _wrap_SbHeap_extractMin, METH_VARARGS, (char *)"SbHeap_extractMin(SbHeap self) -> void"}, - { (char *)"SbHeap_getMin", _wrap_SbHeap_getMin, METH_VARARGS, (char *)"SbHeap_getMin(SbHeap self) -> void"}, - { (char *)"SbHeap_newWeight", _wrap_SbHeap_newWeight, METH_VARARGS, (char *)"\n" - "newWeight(void obj, int hpos=-1)\n" - "SbHeap_newWeight(SbHeap self, void obj)\n" - ""}, - { (char *)"SbHeap_buildHeap", _wrap_SbHeap_buildHeap, METH_VARARGS, (char *)"\n" - "buildHeap(SbBool progresscb=None, void data=None) -> SbBool\n" - "buildHeap(SbBool progresscb=None) -> SbBool\n" - "SbHeap_buildHeap(SbHeap self) -> SbBool\n" - ""}, - { (char *)"SbHeap_traverseHeap", _wrap_SbHeap_traverseHeap, METH_VARARGS, (char *)"SbHeap_traverseHeap(SbHeap self, SbBool func, void userdata) -> SbBool"}, - { (char *)"SbHeap_swigregister", SbHeap_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbImage", _wrap_new_SbImage, METH_VARARGS, (char *)"\n" - "SbImage()\n" - "SbImage(unsigned char bytes)\n" - "new_SbImage(unsigned char bytes) -> SbImage\n" - ""}, - { (char *)"delete_SbImage", _wrap_delete_SbImage, METH_VARARGS, (char *)"delete_SbImage(SbImage self)"}, - { (char *)"SbImage_setValue", _wrap_SbImage_setValue, METH_VARARGS, (char *)"\n" - "setValue(SbVec2s size)\n" - "SbImage_setValue(SbImage self, SbVec3s size)\n" - ""}, - { (char *)"SbImage_setValuePtr", _wrap_SbImage_setValuePtr, METH_VARARGS, (char *)"\n" - "setValuePtr(SbVec2s size)\n" - "SbImage_setValuePtr(SbImage self, SbVec3s size)\n" - ""}, - { (char *)"SbImage_getSize", _wrap_SbImage_getSize, METH_VARARGS, (char *)"SbImage_getSize(SbImage self) -> SbVec3s"}, - { (char *)"SbImage_readFile", _wrap_SbImage_readFile, METH_VARARGS, (char *)"\n" - "readFile(SbString filename, SbString searchdirectories=None, \n" - " int numdirectories=0) -> SbBool\n" - "readFile(SbString filename, SbString searchdirectories=None) -> SbBool\n" - "SbImage_readFile(SbImage self, SbString filename) -> SbBool\n" - ""}, - { (char *)"SbImage___eq__", _wrap_SbImage___eq__, METH_VARARGS, (char *)"SbImage___eq__(SbImage self, SbImage image) -> int"}, - { (char *)"SbImage___ne__", _wrap_SbImage___ne__, METH_VARARGS, (char *)"SbImage___ne__(SbImage self, SbImage image) -> int"}, - { (char *)"SbImage_searchForFile", _wrap_SbImage_searchForFile, METH_VARARGS, (char *)"SbImage_searchForFile(SbString basename, SbString dirlist, int numdirs) -> SbString"}, - { (char *)"SbImage_hasData", _wrap_SbImage_hasData, METH_VARARGS, (char *)"SbImage_hasData(SbImage self) -> SbBool"}, - { (char *)"SbImage_readLock", _wrap_SbImage_readLock, METH_VARARGS, (char *)"SbImage_readLock(SbImage self)"}, - { (char *)"SbImage_readUnlock", _wrap_SbImage_readUnlock, METH_VARARGS, (char *)"SbImage_readUnlock(SbImage self)"}, - { (char *)"SbImage_scheduleReadFile", _wrap_SbImage_scheduleReadFile, METH_VARARGS, (char *)"\n" - "scheduleReadFile(SbImageScheduleReadCB cb, void closure, SbString filename, \n" - " SbString searchdirectories=None, int numdirectories=0) -> SbBool\n" - "scheduleReadFile(SbImageScheduleReadCB cb, void closure, SbString filename, \n" - " SbString searchdirectories=None) -> SbBool\n" - "SbImage_scheduleReadFile(SbImage self, SbImageScheduleReadCB cb, void closure, \n" - " SbString filename) -> SbBool\n" - ""}, - { (char *)"SbImage_getValue", _wrap_SbImage_getValue, METH_VARARGS, (char *)"\n" - "getValue(SbVec2s size, int bytesperpixel) -> unsigned char\n" - "getValue(SbVec3s size, int bytesperpixel) -> unsigned char\n" - "SbImage_getValue(SbImage self) -> PyObject\n" - ""}, - { (char *)"SbImage_swigregister", SbImage_swigregister, METH_VARARGS, NULL}, - { (char *)"SbOctTreeFuncs_bboxfunc_set", _wrap_SbOctTreeFuncs_bboxfunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_bboxfunc_set(SbOctTreeFuncs self, void bboxfunc)"}, - { (char *)"SbOctTreeFuncs_bboxfunc_get", _wrap_SbOctTreeFuncs_bboxfunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_bboxfunc_get(SbOctTreeFuncs self) -> void"}, - { (char *)"SbOctTreeFuncs_ptinsidefunc_set", _wrap_SbOctTreeFuncs_ptinsidefunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_ptinsidefunc_set(SbOctTreeFuncs self, SbBool ptinsidefunc)"}, - { (char *)"SbOctTreeFuncs_ptinsidefunc_get", _wrap_SbOctTreeFuncs_ptinsidefunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_ptinsidefunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insideboxfunc_set", _wrap_SbOctTreeFuncs_insideboxfunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insideboxfunc_set(SbOctTreeFuncs self, SbBool insideboxfunc)"}, - { (char *)"SbOctTreeFuncs_insideboxfunc_get", _wrap_SbOctTreeFuncs_insideboxfunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insideboxfunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insidespherefunc_set", _wrap_SbOctTreeFuncs_insidespherefunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insidespherefunc_set(SbOctTreeFuncs self, SbBool insidespherefunc)"}, - { (char *)"SbOctTreeFuncs_insidespherefunc_get", _wrap_SbOctTreeFuncs_insidespherefunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insidespherefunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"SbOctTreeFuncs_insideplanesfunc_set", _wrap_SbOctTreeFuncs_insideplanesfunc_set, METH_VARARGS, (char *)"SbOctTreeFuncs_insideplanesfunc_set(SbOctTreeFuncs self, SbBool insideplanesfunc)"}, - { (char *)"SbOctTreeFuncs_insideplanesfunc_get", _wrap_SbOctTreeFuncs_insideplanesfunc_get, METH_VARARGS, (char *)"SbOctTreeFuncs_insideplanesfunc_get(SbOctTreeFuncs self) -> SbBool"}, - { (char *)"new_SbOctTreeFuncs", _wrap_new_SbOctTreeFuncs, METH_VARARGS, (char *)"new_SbOctTreeFuncs() -> SbOctTreeFuncs"}, - { (char *)"delete_SbOctTreeFuncs", _wrap_delete_SbOctTreeFuncs, METH_VARARGS, (char *)"delete_SbOctTreeFuncs(SbOctTreeFuncs self)"}, - { (char *)"SbOctTreeFuncs_swigregister", SbOctTreeFuncs_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbOctTree", _wrap_new_SbOctTree, METH_VARARGS, (char *)"\n" - "SbOctTree(SbBox3f bbox, SbOctTreeFuncs itemfuncs, int maxitemspernode=64)\n" - "new_SbOctTree(SbBox3f bbox, SbOctTreeFuncs itemfuncs) -> SbOctTree\n" - ""}, - { (char *)"delete_SbOctTree", _wrap_delete_SbOctTree, METH_VARARGS, (char *)"delete_SbOctTree(SbOctTree self)"}, - { (char *)"SbOctTree_addItem", _wrap_SbOctTree_addItem, METH_VARARGS, (char *)"SbOctTree_addItem(SbOctTree self, void item)"}, - { (char *)"SbOctTree_removeItem", _wrap_SbOctTree_removeItem, METH_VARARGS, (char *)"SbOctTree_removeItem(SbOctTree self, void item)"}, - { (char *)"SbOctTree_findItems", _wrap_SbOctTree_findItems, METH_VARARGS, (char *)"\n" - "findItems(SbVec3f pos, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbVec3f pos, SbList<(p.void)> destarray)\n" - "findItems(SbBox3f box, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbBox3f box, SbList<(p.void)> destarray)\n" - "findItems(SbSphere sphere, SbList<(p.void)> destarray, SbBool removeduplicates=1)\n" - "findItems(SbSphere sphere, SbList<(p.void)> destarray)\n" - "findItems(SbPlane planes, int numplanes, SbList<(p.void)> destarray, \n" - " SbBool removeduplicates=1)\n" - "SbOctTree_findItems(SbOctTree self, SbPlane planes, int numplanes, SbList<(p.void)> destarray)\n" - ""}, - { (char *)"SbOctTree_getBoundingBox", _wrap_SbOctTree_getBoundingBox, METH_VARARGS, (char *)"SbOctTree_getBoundingBox(SbOctTree self) -> SbBox3f"}, - { (char *)"SbOctTree_clear", _wrap_SbOctTree_clear, METH_VARARGS, (char *)"SbOctTree_clear(SbOctTree self)"}, - { (char *)"SbOctTree_debugTree", _wrap_SbOctTree_debugTree, METH_VARARGS, (char *)"SbOctTree_debugTree(SbOctTree self, FILE fp)"}, - { (char *)"SbOctTree_swigregister", SbOctTree_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTesselator", _wrap_new_SbTesselator, METH_VARARGS, (char *)"\n" - "SbTesselator(void callback=None, void userdata=None)\n" - "SbTesselator(void callback=None)\n" - "new_SbTesselator() -> SbTesselator\n" - ""}, - { (char *)"delete_SbTesselator", _wrap_delete_SbTesselator, METH_VARARGS, (char *)"delete_SbTesselator(SbTesselator self)"}, - { (char *)"SbTesselator_beginPolygon", _wrap_SbTesselator_beginPolygon, METH_VARARGS, (char *)"\n" - "beginPolygon(SbBool keepVertices=0, SbVec3f normal=SbVec3f(0.0f, 0.0f, 0.0f))\n" - "beginPolygon(SbBool keepVertices=0)\n" - "SbTesselator_beginPolygon(SbTesselator self)\n" - ""}, - { (char *)"SbTesselator_addVertex", _wrap_SbTesselator_addVertex, METH_VARARGS, (char *)"SbTesselator_addVertex(SbTesselator self, SbVec3f v, void data)"}, - { (char *)"SbTesselator_endPolygon", _wrap_SbTesselator_endPolygon, METH_VARARGS, (char *)"SbTesselator_endPolygon(SbTesselator self)"}, - { (char *)"SbTesselator_setCallback", _wrap_SbTesselator_setCallback, METH_VARARGS, (char *)"SbTesselator_setCallback(SbTesselator self, void callback, void data)"}, - { (char *)"SbTesselator_swigregister", SbTesselator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTimerQueueSensor", _wrap_new_SoTimerQueueSensor, METH_VARARGS, (char *)"new_SoTimerQueueSensor() -> SoTimerQueueSensor"}, - { (char *)"new_SoTimerQueueSensor_scb_v", _wrap_new_SoTimerQueueSensor_scb_v, METH_VARARGS, (char *)"new_SoTimerQueueSensor_scb_v(SoSensorCB func, void data) -> SoTimerQueueSensor"}, - { (char *)"delete_SoTimerQueueSensor", _wrap_delete_SoTimerQueueSensor, METH_VARARGS, (char *)"delete_SoTimerQueueSensor(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_getTriggerTime", _wrap_SoTimerQueueSensor_getTriggerTime, METH_VARARGS, (char *)"SoTimerQueueSensor_getTriggerTime(SoTimerQueueSensor self) -> SbTime"}, - { (char *)"SoTimerQueueSensor_schedule", _wrap_SoTimerQueueSensor_schedule, METH_VARARGS, (char *)"SoTimerQueueSensor_schedule(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_unschedule", _wrap_SoTimerQueueSensor_unschedule, METH_VARARGS, (char *)"SoTimerQueueSensor_unschedule(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_isScheduled", _wrap_SoTimerQueueSensor_isScheduled, METH_VARARGS, (char *)"SoTimerQueueSensor_isScheduled(SoTimerQueueSensor self) -> SbBool"}, - { (char *)"SoTimerQueueSensor_trigger", _wrap_SoTimerQueueSensor_trigger, METH_VARARGS, (char *)"SoTimerQueueSensor_trigger(SoTimerQueueSensor self)"}, - { (char *)"SoTimerQueueSensor_swigregister", SoTimerQueueSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoAlarmSensor", _wrap_new_SoAlarmSensor, METH_VARARGS, (char *)"new_SoAlarmSensor() -> SoAlarmSensor"}, - { (char *)"new_SoAlarmSensor_scb_v", _wrap_new_SoAlarmSensor_scb_v, METH_VARARGS, (char *)"new_SoAlarmSensor_scb_v(SoSensorCB func, void data) -> SoAlarmSensor"}, - { (char *)"delete_SoAlarmSensor", _wrap_delete_SoAlarmSensor, METH_VARARGS, (char *)"delete_SoAlarmSensor(SoAlarmSensor self)"}, - { (char *)"SoAlarmSensor_setTime", _wrap_SoAlarmSensor_setTime, METH_VARARGS, (char *)"SoAlarmSensor_setTime(SoAlarmSensor self, SbTime abstime)"}, - { (char *)"SoAlarmSensor_setTimeFromNow", _wrap_SoAlarmSensor_setTimeFromNow, METH_VARARGS, (char *)"SoAlarmSensor_setTimeFromNow(SoAlarmSensor self, SbTime reltime)"}, - { (char *)"SoAlarmSensor_getTime", _wrap_SoAlarmSensor_getTime, METH_VARARGS, (char *)"SoAlarmSensor_getTime(SoAlarmSensor self) -> SbTime"}, - { (char *)"SoAlarmSensor_schedule", _wrap_SoAlarmSensor_schedule, METH_VARARGS, (char *)"SoAlarmSensor_schedule(SoAlarmSensor self)"}, - { (char *)"SoAlarmSensor_swigregister", SoAlarmSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoIdleSensor", _wrap_new_SoIdleSensor, METH_VARARGS, (char *)"new_SoIdleSensor() -> SoIdleSensor"}, - { (char *)"new_SoIdleSensor_scb_v", _wrap_new_SoIdleSensor_scb_v, METH_VARARGS, (char *)"new_SoIdleSensor_scb_v(SoSensorCB func, void data) -> SoIdleSensor"}, - { (char *)"delete_SoIdleSensor", _wrap_delete_SoIdleSensor, METH_VARARGS, (char *)"delete_SoIdleSensor(SoIdleSensor self)"}, - { (char *)"SoIdleSensor_swigregister", SoIdleSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNodeSensor", _wrap_new_SoNodeSensor, METH_VARARGS, (char *)"new_SoNodeSensor() -> SoNodeSensor"}, - { (char *)"new_SoNodeSensor_scb_v", _wrap_new_SoNodeSensor_scb_v, METH_VARARGS, (char *)"new_SoNodeSensor_scb_v(SoSensorCB func, void data) -> SoNodeSensor"}, - { (char *)"delete_SoNodeSensor", _wrap_delete_SoNodeSensor, METH_VARARGS, (char *)"delete_SoNodeSensor(SoNodeSensor self)"}, - { (char *)"SoNodeSensor_attach", _wrap_SoNodeSensor_attach, METH_VARARGS, (char *)"SoNodeSensor_attach(SoNodeSensor self, SoNode node)"}, - { (char *)"SoNodeSensor_detach", _wrap_SoNodeSensor_detach, METH_VARARGS, (char *)"SoNodeSensor_detach(SoNodeSensor self)"}, - { (char *)"SoNodeSensor_getAttachedNode", _wrap_SoNodeSensor_getAttachedNode, METH_VARARGS, (char *)"SoNodeSensor_getAttachedNode(SoNodeSensor self) -> SoNode"}, - { (char *)"SoNodeSensor_swigregister", SoNodeSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOneShotSensor", _wrap_new_SoOneShotSensor, METH_VARARGS, (char *)"new_SoOneShotSensor() -> SoOneShotSensor"}, - { (char *)"new_SoOneShotSensor_scb_v", _wrap_new_SoOneShotSensor_scb_v, METH_VARARGS, (char *)"new_SoOneShotSensor_scb_v(SoSensorCB func, void data) -> SoOneShotSensor"}, - { (char *)"delete_SoOneShotSensor", _wrap_delete_SoOneShotSensor, METH_VARARGS, (char *)"delete_SoOneShotSensor(SoOneShotSensor self)"}, - { (char *)"SoOneShotSensor_swigregister", SoOneShotSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPathSensor", _wrap_new_SoPathSensor, METH_VARARGS, (char *)"new_SoPathSensor() -> SoPathSensor"}, - { (char *)"new_SoPathSensor_scb_v", _wrap_new_SoPathSensor_scb_v, METH_VARARGS, (char *)"new_SoPathSensor_scb_v(SoSensorCB func, void data) -> SoPathSensor"}, - { (char *)"delete_SoPathSensor", _wrap_delete_SoPathSensor, METH_VARARGS, (char *)"delete_SoPathSensor(SoPathSensor self)"}, - { (char *)"SoPathSensor_setTriggerFilter", _wrap_SoPathSensor_setTriggerFilter, METH_VARARGS, (char *)"SoPathSensor_setTriggerFilter(SoPathSensor self, TriggerFilter type)"}, - { (char *)"SoPathSensor_getTriggerFilter", _wrap_SoPathSensor_getTriggerFilter, METH_VARARGS, (char *)"SoPathSensor_getTriggerFilter(SoPathSensor self) -> TriggerFilter"}, - { (char *)"SoPathSensor_attach", _wrap_SoPathSensor_attach, METH_VARARGS, (char *)"SoPathSensor_attach(SoPathSensor self, SoPath path)"}, - { (char *)"SoPathSensor_detach", _wrap_SoPathSensor_detach, METH_VARARGS, (char *)"SoPathSensor_detach(SoPathSensor self)"}, - { (char *)"SoPathSensor_getAttachedPath", _wrap_SoPathSensor_getAttachedPath, METH_VARARGS, (char *)"SoPathSensor_getAttachedPath(SoPathSensor self) -> SoPath"}, - { (char *)"SoPathSensor_swigregister", SoPathSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoTimerSensor", _wrap_new_SoTimerSensor, METH_VARARGS, (char *)"new_SoTimerSensor() -> SoTimerSensor"}, - { (char *)"new_SoTimerSensor_scb_v", _wrap_new_SoTimerSensor_scb_v, METH_VARARGS, (char *)"new_SoTimerSensor_scb_v(SoSensorCB func, void data) -> SoTimerSensor"}, - { (char *)"delete_SoTimerSensor", _wrap_delete_SoTimerSensor, METH_VARARGS, (char *)"delete_SoTimerSensor(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_setBaseTime", _wrap_SoTimerSensor_setBaseTime, METH_VARARGS, (char *)"SoTimerSensor_setBaseTime(SoTimerSensor self, SbTime base)"}, - { (char *)"SoTimerSensor_getBaseTime", _wrap_SoTimerSensor_getBaseTime, METH_VARARGS, (char *)"SoTimerSensor_getBaseTime(SoTimerSensor self) -> SbTime"}, - { (char *)"SoTimerSensor_setInterval", _wrap_SoTimerSensor_setInterval, METH_VARARGS, (char *)"SoTimerSensor_setInterval(SoTimerSensor self, SbTime interval)"}, - { (char *)"SoTimerSensor_getInterval", _wrap_SoTimerSensor_getInterval, METH_VARARGS, (char *)"SoTimerSensor_getInterval(SoTimerSensor self) -> SbTime"}, - { (char *)"SoTimerSensor_schedule", _wrap_SoTimerSensor_schedule, METH_VARARGS, (char *)"SoTimerSensor_schedule(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_unschedule", _wrap_SoTimerSensor_unschedule, METH_VARARGS, (char *)"SoTimerSensor_unschedule(SoTimerSensor self)"}, - { (char *)"SoTimerSensor_reschedule", _wrap_SoTimerSensor_reschedule, METH_VARARGS, (char *)"SoTimerSensor_reschedule(SoTimerSensor self, SbTime schedtime)"}, - { (char *)"SoTimerSensor_swigregister", SoTimerSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoInteraction_init", _wrap_SoInteraction_init, METH_VARARGS, (char *)"SoInteraction_init()"}, - { (char *)"new_SoInteraction", _wrap_new_SoInteraction, METH_VARARGS, (char *)"new_SoInteraction() -> SoInteraction"}, - { (char *)"delete_SoInteraction", _wrap_delete_SoInteraction, METH_VARARGS, (char *)"delete_SoInteraction(SoInteraction self)"}, - { (char *)"SoInteraction_swigregister", SoInteraction_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoOffscreenRenderer", _wrap_new_SoOffscreenRenderer, METH_VARARGS, (char *)"\n" - "SoOffscreenRenderer(SbViewportRegion viewportregion)\n" - "new_SoOffscreenRenderer(SoGLRenderAction action) -> SoOffscreenRenderer\n" - ""}, - { (char *)"delete_SoOffscreenRenderer", _wrap_delete_SoOffscreenRenderer, METH_VARARGS, (char *)"delete_SoOffscreenRenderer(SoOffscreenRenderer self)"}, - { (char *)"SoOffscreenRenderer_getScreenPixelsPerInch", _wrap_SoOffscreenRenderer_getScreenPixelsPerInch, METH_VARARGS, (char *)"SoOffscreenRenderer_getScreenPixelsPerInch() -> float"}, - { (char *)"SoOffscreenRenderer_getMaximumResolution", _wrap_SoOffscreenRenderer_getMaximumResolution, METH_VARARGS, (char *)"SoOffscreenRenderer_getMaximumResolution() -> SbVec2s"}, - { (char *)"SoOffscreenRenderer_setComponents", _wrap_SoOffscreenRenderer_setComponents, METH_VARARGS, (char *)"SoOffscreenRenderer_setComponents(SoOffscreenRenderer self, Components components)"}, - { (char *)"SoOffscreenRenderer_getComponents", _wrap_SoOffscreenRenderer_getComponents, METH_VARARGS, (char *)"SoOffscreenRenderer_getComponents(SoOffscreenRenderer self) -> Components"}, - { (char *)"SoOffscreenRenderer_setViewportRegion", _wrap_SoOffscreenRenderer_setViewportRegion, METH_VARARGS, (char *)"SoOffscreenRenderer_setViewportRegion(SoOffscreenRenderer self, SbViewportRegion region)"}, - { (char *)"SoOffscreenRenderer_getViewportRegion", _wrap_SoOffscreenRenderer_getViewportRegion, METH_VARARGS, (char *)"SoOffscreenRenderer_getViewportRegion(SoOffscreenRenderer self) -> SbViewportRegion"}, - { (char *)"SoOffscreenRenderer_setBackgroundColor", _wrap_SoOffscreenRenderer_setBackgroundColor, METH_VARARGS, (char *)"SoOffscreenRenderer_setBackgroundColor(SoOffscreenRenderer self, SbColor color)"}, - { (char *)"SoOffscreenRenderer_getBackgroundColor", _wrap_SoOffscreenRenderer_getBackgroundColor, METH_VARARGS, (char *)"SoOffscreenRenderer_getBackgroundColor(SoOffscreenRenderer self) -> SbColor"}, - { (char *)"SoOffscreenRenderer_setGLRenderAction", _wrap_SoOffscreenRenderer_setGLRenderAction, METH_VARARGS, (char *)"SoOffscreenRenderer_setGLRenderAction(SoOffscreenRenderer self, SoGLRenderAction action)"}, - { (char *)"SoOffscreenRenderer_getGLRenderAction", _wrap_SoOffscreenRenderer_getGLRenderAction, METH_VARARGS, (char *)"SoOffscreenRenderer_getGLRenderAction(SoOffscreenRenderer self) -> SoGLRenderAction"}, - { (char *)"SoOffscreenRenderer_render", _wrap_SoOffscreenRenderer_render, METH_VARARGS, (char *)"\n" - "render(SoNode scene) -> SbBool\n" - "SoOffscreenRenderer_render(SoOffscreenRenderer self, SoPath scene) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_writeToRGB", _wrap_SoOffscreenRenderer_writeToRGB, METH_VARARGS, (char *)"\n" - "writeToRGB(FILE fp) -> SbBool\n" - "SoOffscreenRenderer_writeToRGB(SoOffscreenRenderer self, char filename) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_writeToPostScript", _wrap_SoOffscreenRenderer_writeToPostScript, METH_VARARGS, (char *)"\n" - "writeToPostScript(FILE fp) -> SbBool\n" - "writeToPostScript(FILE fp, SbVec2f printsize) -> SbBool\n" - "writeToPostScript(char filename) -> SbBool\n" - "SoOffscreenRenderer_writeToPostScript(SoOffscreenRenderer self, char filename, SbVec2f printsize) -> SbBool\n" - ""}, - { (char *)"SoOffscreenRenderer_isWriteSupported", _wrap_SoOffscreenRenderer_isWriteSupported, METH_VARARGS, (char *)"SoOffscreenRenderer_isWriteSupported(SoOffscreenRenderer self, SbName filetypeextension) -> SbBool"}, - { (char *)"SoOffscreenRenderer_getNumWriteFiletypes", _wrap_SoOffscreenRenderer_getNumWriteFiletypes, METH_VARARGS, (char *)"SoOffscreenRenderer_getNumWriteFiletypes(SoOffscreenRenderer self) -> int"}, - { (char *)"SoOffscreenRenderer_writeToFile", _wrap_SoOffscreenRenderer_writeToFile, METH_VARARGS, (char *)"SoOffscreenRenderer_writeToFile(SoOffscreenRenderer self, SbString filename, SbName filetypeextension) -> SbBool"}, - { (char *)"SoOffscreenRenderer_getWriteFiletypeInfo", _wrap_SoOffscreenRenderer_getWriteFiletypeInfo, METH_VARARGS, (char *)"\n" - "getWriteFiletypeInfo(int idx, SbPList extlist, SbString fullname, SbString description)\n" - "SoOffscreenRenderer_getWriteFiletypeInfo(SoOffscreenRenderer self, int idx, SbList<(SbName)> extlist, \n" - " SbString fullname, SbString description)\n" - ""}, - { (char *)"SoOffscreenRenderer_getBuffer", _wrap_SoOffscreenRenderer_getBuffer, METH_VARARGS, (char *)"\n" - "getBuffer() -> unsigned char\n" - "SoOffscreenRenderer_getBuffer(SoOffscreenRenderer self) -> PyObject\n" - ""}, - { (char *)"SoOffscreenRenderer_swigregister", SoOffscreenRenderer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPickedPoint", _wrap_new_SoPickedPoint, METH_VARARGS, (char *)"\n" - "SoPickedPoint(SoPickedPoint pp)\n" - "new_SoPickedPoint(SoPath path, SoState state, SbVec3f objSpacePoint) -> SoPickedPoint\n" - ""}, - { (char *)"delete_SoPickedPoint", _wrap_delete_SoPickedPoint, METH_VARARGS, (char *)"delete_SoPickedPoint(SoPickedPoint self)"}, - { (char *)"SoPickedPoint_copy", _wrap_SoPickedPoint_copy, METH_VARARGS, (char *)"SoPickedPoint_copy(SoPickedPoint self) -> SoPickedPoint"}, - { (char *)"SoPickedPoint_getPoint", _wrap_SoPickedPoint_getPoint, METH_VARARGS, (char *)"SoPickedPoint_getPoint(SoPickedPoint self) -> SbVec3f"}, - { (char *)"SoPickedPoint_getNormal", _wrap_SoPickedPoint_getNormal, METH_VARARGS, (char *)"SoPickedPoint_getNormal(SoPickedPoint self) -> SbVec3f"}, - { (char *)"SoPickedPoint_getTextureCoords", _wrap_SoPickedPoint_getTextureCoords, METH_VARARGS, (char *)"SoPickedPoint_getTextureCoords(SoPickedPoint self) -> SbVec4f"}, - { (char *)"SoPickedPoint_getMaterialIndex", _wrap_SoPickedPoint_getMaterialIndex, METH_VARARGS, (char *)"SoPickedPoint_getMaterialIndex(SoPickedPoint self) -> int"}, - { (char *)"SoPickedPoint_getPath", _wrap_SoPickedPoint_getPath, METH_VARARGS, (char *)"SoPickedPoint_getPath(SoPickedPoint self) -> SoPath"}, - { (char *)"SoPickedPoint_isOnGeometry", _wrap_SoPickedPoint_isOnGeometry, METH_VARARGS, (char *)"SoPickedPoint_isOnGeometry(SoPickedPoint self) -> SbBool"}, - { (char *)"SoPickedPoint_getDetail", _wrap_SoPickedPoint_getDetail, METH_VARARGS, (char *)"\n" - "getDetail(SoNode node=None) -> SoDetail\n" - "SoPickedPoint_getDetail(SoPickedPoint self) -> SoDetail\n" - ""}, - { (char *)"SoPickedPoint_getObjectToWorld", _wrap_SoPickedPoint_getObjectToWorld, METH_VARARGS, (char *)"\n" - "getObjectToWorld(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getObjectToWorld(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getWorldToObject", _wrap_SoPickedPoint_getWorldToObject, METH_VARARGS, (char *)"\n" - "getWorldToObject(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getWorldToObject(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getObjectToImage", _wrap_SoPickedPoint_getObjectToImage, METH_VARARGS, (char *)"\n" - "getObjectToImage(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getObjectToImage(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getImageToObject", _wrap_SoPickedPoint_getImageToObject, METH_VARARGS, (char *)"\n" - "getImageToObject(SoNode node=None) -> SbMatrix\n" - "SoPickedPoint_getImageToObject(SoPickedPoint self) -> SbMatrix\n" - ""}, - { (char *)"SoPickedPoint_getObjectPoint", _wrap_SoPickedPoint_getObjectPoint, METH_VARARGS, (char *)"\n" - "getObjectPoint(SoNode node=None) -> SbVec3f\n" - "SoPickedPoint_getObjectPoint(SoPickedPoint self) -> SbVec3f\n" - ""}, - { (char *)"SoPickedPoint_getObjectNormal", _wrap_SoPickedPoint_getObjectNormal, METH_VARARGS, (char *)"\n" - "getObjectNormal(SoNode node=None) -> SbVec3f\n" - "SoPickedPoint_getObjectNormal(SoPickedPoint self) -> SbVec3f\n" - ""}, - { (char *)"SoPickedPoint_getObjectTextureCoords", _wrap_SoPickedPoint_getObjectTextureCoords, METH_VARARGS, (char *)"\n" - "getObjectTextureCoords(SoNode node=None) -> SbVec4f\n" - "SoPickedPoint_getObjectTextureCoords(SoPickedPoint self) -> SbVec4f\n" - ""}, - { (char *)"SoPickedPoint_setObjectNormal", _wrap_SoPickedPoint_setObjectNormal, METH_VARARGS, (char *)"SoPickedPoint_setObjectNormal(SoPickedPoint self, SbVec3f normal)"}, - { (char *)"SoPickedPoint_setObjectTextureCoords", _wrap_SoPickedPoint_setObjectTextureCoords, METH_VARARGS, (char *)"SoPickedPoint_setObjectTextureCoords(SoPickedPoint self, SbVec4f texCoords)"}, - { (char *)"SoPickedPoint_setMaterialIndex", _wrap_SoPickedPoint_setMaterialIndex, METH_VARARGS, (char *)"SoPickedPoint_setMaterialIndex(SoPickedPoint self, int index)"}, - { (char *)"SoPickedPoint_setDetail", _wrap_SoPickedPoint_setDetail, METH_VARARGS, (char *)"SoPickedPoint_setDetail(SoPickedPoint self, SoDetail detail, SoNode node)"}, - { (char *)"SoPickedPoint_swigregister", SoPickedPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoPrimitiveVertex", _wrap_new_SoPrimitiveVertex, METH_VARARGS, (char *)"\n" - "SoPrimitiveVertex()\n" - "new_SoPrimitiveVertex(SoPrimitiveVertex pv) -> SoPrimitiveVertex\n" - ""}, - { (char *)"delete_SoPrimitiveVertex", _wrap_delete_SoPrimitiveVertex, METH_VARARGS, (char *)"delete_SoPrimitiveVertex(SoPrimitiveVertex self)"}, - { (char *)"SoPrimitiveVertex_getPoint", _wrap_SoPrimitiveVertex_getPoint, METH_VARARGS, (char *)"SoPrimitiveVertex_getPoint(SoPrimitiveVertex self) -> SbVec3f"}, - { (char *)"SoPrimitiveVertex_getNormal", _wrap_SoPrimitiveVertex_getNormal, METH_VARARGS, (char *)"SoPrimitiveVertex_getNormal(SoPrimitiveVertex self) -> SbVec3f"}, - { (char *)"SoPrimitiveVertex_getTextureCoords", _wrap_SoPrimitiveVertex_getTextureCoords, METH_VARARGS, (char *)"SoPrimitiveVertex_getTextureCoords(SoPrimitiveVertex self) -> SbVec4f"}, - { (char *)"SoPrimitiveVertex_getMaterialIndex", _wrap_SoPrimitiveVertex_getMaterialIndex, METH_VARARGS, (char *)"SoPrimitiveVertex_getMaterialIndex(SoPrimitiveVertex self) -> int"}, - { (char *)"SoPrimitiveVertex_getDetail", _wrap_SoPrimitiveVertex_getDetail, METH_VARARGS, (char *)"SoPrimitiveVertex_getDetail(SoPrimitiveVertex self) -> SoDetail"}, - { (char *)"SoPrimitiveVertex_setPoint", _wrap_SoPrimitiveVertex_setPoint, METH_VARARGS, (char *)"SoPrimitiveVertex_setPoint(SoPrimitiveVertex self, SbVec3f point)"}, - { (char *)"SoPrimitiveVertex_setNormal", _wrap_SoPrimitiveVertex_setNormal, METH_VARARGS, (char *)"SoPrimitiveVertex_setNormal(SoPrimitiveVertex self, SbVec3f normal)"}, - { (char *)"SoPrimitiveVertex_setTextureCoords", _wrap_SoPrimitiveVertex_setTextureCoords, METH_VARARGS, (char *)"\n" - "setTextureCoords(SbVec2f texcoords)\n" - "setTextureCoords(SbVec3f texcoords)\n" - "SoPrimitiveVertex_setTextureCoords(SoPrimitiveVertex self, SbVec4f texcoords)\n" - ""}, - { (char *)"SoPrimitiveVertex_setMaterialIndex", _wrap_SoPrimitiveVertex_setMaterialIndex, METH_VARARGS, (char *)"SoPrimitiveVertex_setMaterialIndex(SoPrimitiveVertex self, int index)"}, - { (char *)"SoPrimitiveVertex_setDetail", _wrap_SoPrimitiveVertex_setDetail, METH_VARARGS, (char *)"SoPrimitiveVertex_setDetail(SoPrimitiveVertex self, SoDetail detail)"}, - { (char *)"SoPrimitiveVertex_swigregister", SoPrimitiveVertex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoSceneManager", _wrap_new_SoSceneManager, METH_VARARGS, (char *)"new_SoSceneManager() -> SoSceneManager"}, - { (char *)"delete_SoSceneManager", _wrap_delete_SoSceneManager, METH_VARARGS, (char *)"delete_SoSceneManager(SoSceneManager self)"}, - { (char *)"SoSceneManager_render", _wrap_SoSceneManager_render, METH_VARARGS, (char *)"\n" - "render(SbBool clearwindow=1, SbBool clearzbuffer=1)\n" - "render(SbBool clearwindow=1)\n" - "render()\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1, \n" - " SbBool clearzbuffer=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1, SbBool clearwindow=1)\n" - "render(SoGLRenderAction action, SbBool initmatrices=1)\n" - "SoSceneManager_render(SoSceneManager self, SoGLRenderAction action)\n" - ""}, - { (char *)"SoSceneManager_processEvent", _wrap_SoSceneManager_processEvent, METH_VARARGS, (char *)"SoSceneManager_processEvent(SoSceneManager self, SoEvent event) -> SbBool"}, - { (char *)"SoSceneManager_reinitialize", _wrap_SoSceneManager_reinitialize, METH_VARARGS, (char *)"SoSceneManager_reinitialize(SoSceneManager self)"}, - { (char *)"SoSceneManager_scheduleRedraw", _wrap_SoSceneManager_scheduleRedraw, METH_VARARGS, (char *)"SoSceneManager_scheduleRedraw(SoSceneManager self)"}, - { (char *)"SoSceneManager_setSceneGraph", _wrap_SoSceneManager_setSceneGraph, METH_VARARGS, (char *)"SoSceneManager_setSceneGraph(SoSceneManager self, SoNode sceneroot)"}, - { (char *)"SoSceneManager_getSceneGraph", _wrap_SoSceneManager_getSceneGraph, METH_VARARGS, (char *)"SoSceneManager_getSceneGraph(SoSceneManager self) -> SoNode"}, - { (char *)"SoSceneManager_setWindowSize", _wrap_SoSceneManager_setWindowSize, METH_VARARGS, (char *)"SoSceneManager_setWindowSize(SoSceneManager self, SbVec2s newsize)"}, - { (char *)"SoSceneManager_getWindowSize", _wrap_SoSceneManager_getWindowSize, METH_VARARGS, (char *)"SoSceneManager_getWindowSize(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setSize", _wrap_SoSceneManager_setSize, METH_VARARGS, (char *)"SoSceneManager_setSize(SoSceneManager self, SbVec2s newsize)"}, - { (char *)"SoSceneManager_getSize", _wrap_SoSceneManager_getSize, METH_VARARGS, (char *)"SoSceneManager_getSize(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setOrigin", _wrap_SoSceneManager_setOrigin, METH_VARARGS, (char *)"SoSceneManager_setOrigin(SoSceneManager self, SbVec2s newOrigin)"}, - { (char *)"SoSceneManager_getOrigin", _wrap_SoSceneManager_getOrigin, METH_VARARGS, (char *)"SoSceneManager_getOrigin(SoSceneManager self) -> SbVec2s"}, - { (char *)"SoSceneManager_setViewportRegion", _wrap_SoSceneManager_setViewportRegion, METH_VARARGS, (char *)"SoSceneManager_setViewportRegion(SoSceneManager self, SbViewportRegion newRegion)"}, - { (char *)"SoSceneManager_getViewportRegion", _wrap_SoSceneManager_getViewportRegion, METH_VARARGS, (char *)"SoSceneManager_getViewportRegion(SoSceneManager self) -> SbViewportRegion"}, - { (char *)"SoSceneManager_setBackgroundColor", _wrap_SoSceneManager_setBackgroundColor, METH_VARARGS, (char *)"SoSceneManager_setBackgroundColor(SoSceneManager self, SbColor color)"}, - { (char *)"SoSceneManager_getBackgroundColor", _wrap_SoSceneManager_getBackgroundColor, METH_VARARGS, (char *)"SoSceneManager_getBackgroundColor(SoSceneManager self) -> SbColor"}, - { (char *)"SoSceneManager_setBackgroundIndex", _wrap_SoSceneManager_setBackgroundIndex, METH_VARARGS, (char *)"SoSceneManager_setBackgroundIndex(SoSceneManager self, int index)"}, - { (char *)"SoSceneManager_getBackgroundIndex", _wrap_SoSceneManager_getBackgroundIndex, METH_VARARGS, (char *)"SoSceneManager_getBackgroundIndex(SoSceneManager self) -> int"}, - { (char *)"SoSceneManager_setRGBMode", _wrap_SoSceneManager_setRGBMode, METH_VARARGS, (char *)"SoSceneManager_setRGBMode(SoSceneManager self, SbBool onOrOff)"}, - { (char *)"SoSceneManager_isRGBMode", _wrap_SoSceneManager_isRGBMode, METH_VARARGS, (char *)"SoSceneManager_isRGBMode(SoSceneManager self) -> SbBool"}, - { (char *)"SoSceneManager_activate", _wrap_SoSceneManager_activate, METH_VARARGS, (char *)"SoSceneManager_activate(SoSceneManager self)"}, - { (char *)"SoSceneManager_deactivate", _wrap_SoSceneManager_deactivate, METH_VARARGS, (char *)"SoSceneManager_deactivate(SoSceneManager self)"}, - { (char *)"SoSceneManager_isAutoRedraw", _wrap_SoSceneManager_isAutoRedraw, METH_VARARGS, (char *)"SoSceneManager_isAutoRedraw(SoSceneManager self) -> SbBool"}, - { (char *)"SoSceneManager_setRedrawPriority", _wrap_SoSceneManager_setRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_setRedrawPriority(SoSceneManager self, uint32_t priority)"}, - { (char *)"SoSceneManager_getRedrawPriority", _wrap_SoSceneManager_getRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_getRedrawPriority(SoSceneManager self) -> uint32_t"}, - { (char *)"SoSceneManager_setAntialiasing", _wrap_SoSceneManager_setAntialiasing, METH_VARARGS, (char *)"SoSceneManager_setAntialiasing(SoSceneManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoSceneManager_getAntialiasing", _wrap_SoSceneManager_getAntialiasing, METH_VARARGS, (char *)"SoSceneManager_getAntialiasing(SoSceneManager self, SbBool smoothing, int numPasses)"}, - { (char *)"SoSceneManager_setGLRenderAction", _wrap_SoSceneManager_setGLRenderAction, METH_VARARGS, (char *)"SoSceneManager_setGLRenderAction(SoSceneManager self, SoGLRenderAction action)"}, - { (char *)"SoSceneManager_getGLRenderAction", _wrap_SoSceneManager_getGLRenderAction, METH_VARARGS, (char *)"SoSceneManager_getGLRenderAction(SoSceneManager self) -> SoGLRenderAction"}, - { (char *)"SoSceneManager_setAudioRenderAction", _wrap_SoSceneManager_setAudioRenderAction, METH_VARARGS, (char *)"SoSceneManager_setAudioRenderAction(SoSceneManager self, SoAudioRenderAction action)"}, - { (char *)"SoSceneManager_getAudioRenderAction", _wrap_SoSceneManager_getAudioRenderAction, METH_VARARGS, (char *)"SoSceneManager_getAudioRenderAction(SoSceneManager self) -> SoAudioRenderAction"}, - { (char *)"SoSceneManager_setHandleEventAction", _wrap_SoSceneManager_setHandleEventAction, METH_VARARGS, (char *)"SoSceneManager_setHandleEventAction(SoSceneManager self, SoHandleEventAction hea)"}, - { (char *)"SoSceneManager_getHandleEventAction", _wrap_SoSceneManager_getHandleEventAction, METH_VARARGS, (char *)"SoSceneManager_getHandleEventAction(SoSceneManager self) -> SoHandleEventAction"}, - { (char *)"SoSceneManager_getDefaultRedrawPriority", _wrap_SoSceneManager_getDefaultRedrawPriority, METH_VARARGS, (char *)"SoSceneManager_getDefaultRedrawPriority() -> uint32_t"}, - { (char *)"SoSceneManager_enableRealTimeUpdate", _wrap_SoSceneManager_enableRealTimeUpdate, METH_VARARGS, (char *)"SoSceneManager_enableRealTimeUpdate(SbBool flag)"}, - { (char *)"SoSceneManager_isRealTimeUpdateEnabled", _wrap_SoSceneManager_isRealTimeUpdateEnabled, METH_VARARGS, (char *)"SoSceneManager_isRealTimeUpdateEnabled() -> SbBool"}, - { (char *)"SoSceneManager_setRenderCallback", _wrap_SoSceneManager_setRenderCallback, METH_VARARGS, (char *)"\n" - "setRenderCallback(SoSceneManagerRenderCB f, void userData=None)\n" - "setRenderCallback(SoSceneManagerRenderCB f)\n" - "setRenderCallback(PyObject pyfunc, PyObject userData=None)\n" - "SoSceneManager_setRenderCallback(SoSceneManager self, PyObject pyfunc)\n" - ""}, - { (char *)"SoSceneManager_swigregister", SoSceneManager_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbBarrier", _wrap_new_SbBarrier, METH_VARARGS, (char *)"new_SbBarrier(unsigned int count) -> SbBarrier"}, - { (char *)"delete_SbBarrier", _wrap_delete_SbBarrier, METH_VARARGS, (char *)"delete_SbBarrier(SbBarrier self)"}, - { (char *)"SbBarrier_enter", _wrap_SbBarrier_enter, METH_VARARGS, (char *)"SbBarrier_enter(SbBarrier self) -> int"}, - { (char *)"SbBarrier_swigregister", SbBarrier_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbMutex", _wrap_new_SbMutex, METH_VARARGS, (char *)"new_SbMutex() -> SbMutex"}, - { (char *)"delete_SbMutex", _wrap_delete_SbMutex, METH_VARARGS, (char *)"delete_SbMutex(SbMutex self)"}, - { (char *)"SbMutex_lock", _wrap_SbMutex_lock, METH_VARARGS, (char *)"SbMutex_lock(SbMutex self) -> int"}, - { (char *)"SbMutex_tryLock", _wrap_SbMutex_tryLock, METH_VARARGS, (char *)"SbMutex_tryLock(SbMutex self) -> SbBool"}, - { (char *)"SbMutex_unlock", _wrap_SbMutex_unlock, METH_VARARGS, (char *)"SbMutex_unlock(SbMutex self) -> int"}, - { (char *)"SbMutex_swigregister", SbMutex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbThreadAutoLock", _wrap_new_SbThreadAutoLock, METH_VARARGS, (char *)"new_SbThreadAutoLock(SbMutex mutexptr) -> SbThreadAutoLock"}, - { (char *)"delete_SbThreadAutoLock", _wrap_delete_SbThreadAutoLock, METH_VARARGS, (char *)"delete_SbThreadAutoLock(SbThreadAutoLock self)"}, - { (char *)"SbThreadAutoLock_swigregister", SbThreadAutoLock_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbCondVar", _wrap_new_SbCondVar, METH_VARARGS, (char *)"new_SbCondVar() -> SbCondVar"}, - { (char *)"delete_SbCondVar", _wrap_delete_SbCondVar, METH_VARARGS, (char *)"delete_SbCondVar(SbCondVar self)"}, - { (char *)"SbCondVar_wait", _wrap_SbCondVar_wait, METH_VARARGS, (char *)"SbCondVar_wait(SbCondVar self, SbMutex mutex) -> SbBool"}, - { (char *)"SbCondVar_timedWait", _wrap_SbCondVar_timedWait, METH_VARARGS, (char *)"SbCondVar_timedWait(SbCondVar self, SbMutex mutex, SbTime period) -> SbBool"}, - { (char *)"SbCondVar_wakeOne", _wrap_SbCondVar_wakeOne, METH_VARARGS, (char *)"SbCondVar_wakeOne(SbCondVar self)"}, - { (char *)"SbCondVar_wakeAll", _wrap_SbCondVar_wakeAll, METH_VARARGS, (char *)"SbCondVar_wakeAll(SbCondVar self)"}, - { (char *)"SbCondVar_swigregister", SbCondVar_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbFifo", _wrap_new_SbFifo, METH_VARARGS, (char *)"new_SbFifo() -> SbFifo"}, - { (char *)"delete_SbFifo", _wrap_delete_SbFifo, METH_VARARGS, (char *)"delete_SbFifo(SbFifo self)"}, - { (char *)"SbFifo_assign", _wrap_SbFifo_assign, METH_VARARGS, (char *)"SbFifo_assign(SbFifo self, void ptr, uint32_t type)"}, - { (char *)"SbFifo_retrieve", _wrap_SbFifo_retrieve, METH_VARARGS, (char *)"SbFifo_retrieve(SbFifo self, void ptr, uint32_t type)"}, - { (char *)"SbFifo_tryRetrieve", _wrap_SbFifo_tryRetrieve, METH_VARARGS, (char *)"SbFifo_tryRetrieve(SbFifo self, void ptr, uint32_t type) -> SbBool"}, - { (char *)"SbFifo_size", _wrap_SbFifo_size, METH_VARARGS, (char *)"SbFifo_size(SbFifo self) -> unsigned int"}, - { (char *)"SbFifo_lock", _wrap_SbFifo_lock, METH_VARARGS, (char *)"SbFifo_lock(SbFifo self)"}, - { (char *)"SbFifo_unlock", _wrap_SbFifo_unlock, METH_VARARGS, (char *)"SbFifo_unlock(SbFifo self)"}, - { (char *)"SbFifo_peek", _wrap_SbFifo_peek, METH_VARARGS, (char *)"SbFifo_peek(SbFifo self, void item, uint32_t type) -> SbBool"}, - { (char *)"SbFifo_contains", _wrap_SbFifo_contains, METH_VARARGS, (char *)"SbFifo_contains(SbFifo self, void item) -> SbBool"}, - { (char *)"SbFifo_reclaim", _wrap_SbFifo_reclaim, METH_VARARGS, (char *)"SbFifo_reclaim(SbFifo self, void item) -> SbBool"}, - { (char *)"SbFifo_swigregister", SbFifo_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbRWMutex", _wrap_new_SbRWMutex, METH_VARARGS, (char *)"new_SbRWMutex(Precedence policy) -> SbRWMutex"}, - { (char *)"delete_SbRWMutex", _wrap_delete_SbRWMutex, METH_VARARGS, (char *)"delete_SbRWMutex(SbRWMutex self)"}, - { (char *)"SbRWMutex_writeLock", _wrap_SbRWMutex_writeLock, METH_VARARGS, (char *)"SbRWMutex_writeLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_tryWriteLock", _wrap_SbRWMutex_tryWriteLock, METH_VARARGS, (char *)"SbRWMutex_tryWriteLock(SbRWMutex self) -> SbBool"}, - { (char *)"SbRWMutex_writeUnlock", _wrap_SbRWMutex_writeUnlock, METH_VARARGS, (char *)"SbRWMutex_writeUnlock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_readLock", _wrap_SbRWMutex_readLock, METH_VARARGS, (char *)"SbRWMutex_readLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_tryReadLock", _wrap_SbRWMutex_tryReadLock, METH_VARARGS, (char *)"SbRWMutex_tryReadLock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_readUnlock", _wrap_SbRWMutex_readUnlock, METH_VARARGS, (char *)"SbRWMutex_readUnlock(SbRWMutex self) -> int"}, - { (char *)"SbRWMutex_swigregister", SbRWMutex_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbStorage", _wrap_new_SbStorage, METH_VARARGS, (char *)"\n" - "SbStorage(unsigned int size)\n" - "new_SbStorage(unsigned int size, void constr, void destr) -> SbStorage\n" - ""}, - { (char *)"delete_SbStorage", _wrap_delete_SbStorage, METH_VARARGS, (char *)"delete_SbStorage(SbStorage self)"}, - { (char *)"SbStorage_get", _wrap_SbStorage_get, METH_VARARGS, (char *)"SbStorage_get(SbStorage self) -> void"}, - { (char *)"SbStorage_applyToAll", _wrap_SbStorage_applyToAll, METH_VARARGS, (char *)"SbStorage_applyToAll(SbStorage self, SbStorageApplyFunc func, void closure)"}, - { (char *)"SbStorage_swigregister", SbStorage_swigregister, METH_VARARGS, NULL}, - { (char *)"SbThread_create", _wrap_SbThread_create, METH_VARARGS, (char *)"SbThread_create(void func, void closure) -> SbThread"}, - { (char *)"SbThread_destroy", _wrap_SbThread_destroy, METH_VARARGS, (char *)"SbThread_destroy(SbThread thread)"}, - { (char *)"SbThread_join", _wrap_SbThread_join, METH_VARARGS, (char *)"\n" - "join(void retval=0L) -> SbBool\n" - "join() -> SbBool\n" - "join(SbThread thread, void retval=0L) -> SbBool\n" - "SbThread_join(SbThread thread) -> SbBool\n" - ""}, - { (char *)"SbThread_swigregister", SbThread_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLParent_getClassTypeId", _wrap_SoVRMLParent_getClassTypeId, METH_VARARGS, (char *)"SoVRMLParent_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLParent_getTypeId", _wrap_SoVRMLParent_getTypeId, METH_VARARGS, (char *)"SoVRMLParent_getTypeId(SoVRMLParent self) -> SoType"}, - { (char *)"SoVRMLParent_initClass", _wrap_SoVRMLParent_initClass, METH_VARARGS, (char *)"SoVRMLParent_initClass()"}, - { (char *)"SoVRMLParent_children_set", _wrap_SoVRMLParent_children_set, METH_VARARGS, (char *)"SoVRMLParent_children_set(SoVRMLParent self, SoMFNode children)"}, - { (char *)"SoVRMLParent_children_get", _wrap_SoVRMLParent_children_get, METH_VARARGS, (char *)"SoVRMLParent_children_get(SoVRMLParent self) -> SoMFNode"}, - { (char *)"SoVRMLParent_affectsState", _wrap_SoVRMLParent_affectsState, METH_VARARGS, (char *)"SoVRMLParent_affectsState(SoVRMLParent self) -> SbBool"}, - { (char *)"SoVRMLParent_addChild", _wrap_SoVRMLParent_addChild, METH_VARARGS, (char *)"SoVRMLParent_addChild(SoVRMLParent self, SoNode child)"}, - { (char *)"SoVRMLParent_insertChild", _wrap_SoVRMLParent_insertChild, METH_VARARGS, (char *)"SoVRMLParent_insertChild(SoVRMLParent self, SoNode child, int idx)"}, - { (char *)"SoVRMLParent_getChild", _wrap_SoVRMLParent_getChild, METH_VARARGS, (char *)"SoVRMLParent_getChild(SoVRMLParent self, int idx) -> SoNode"}, - { (char *)"SoVRMLParent_findChild", _wrap_SoVRMLParent_findChild, METH_VARARGS, (char *)"SoVRMLParent_findChild(SoVRMLParent self, SoNode child) -> int"}, - { (char *)"SoVRMLParent_getNumChildren", _wrap_SoVRMLParent_getNumChildren, METH_VARARGS, (char *)"SoVRMLParent_getNumChildren(SoVRMLParent self) -> int"}, - { (char *)"SoVRMLParent_removeChild", _wrap_SoVRMLParent_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLParent_removeChild(SoVRMLParent self, SoNode child)\n" - ""}, - { (char *)"SoVRMLParent_removeAllChildren", _wrap_SoVRMLParent_removeAllChildren, METH_VARARGS, (char *)"SoVRMLParent_removeAllChildren(SoVRMLParent self)"}, - { (char *)"SoVRMLParent_replaceChild", _wrap_SoVRMLParent_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode child)\n" - "SoVRMLParent_replaceChild(SoVRMLParent self, SoNode old, SoNode child)\n" - ""}, - { (char *)"SoVRMLParent_getChildren", _wrap_SoVRMLParent_getChildren, METH_VARARGS, (char *)"SoVRMLParent_getChildren(SoVRMLParent self) -> SoChildList"}, - { (char *)"SoVRMLParent_doAction", _wrap_SoVRMLParent_doAction, METH_VARARGS, (char *)"SoVRMLParent_doAction(SoVRMLParent self, SoAction action)"}, - { (char *)"SoVRMLParent_search", _wrap_SoVRMLParent_search, METH_VARARGS, (char *)"SoVRMLParent_search(SoVRMLParent self, SoSearchAction action)"}, - { (char *)"SoVRMLParent_write", _wrap_SoVRMLParent_write, METH_VARARGS, (char *)"SoVRMLParent_write(SoVRMLParent self, SoWriteAction action)"}, - { (char *)"SoVRMLParent_getPrimitiveCount", _wrap_SoVRMLParent_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLParent_getPrimitiveCount(SoVRMLParent self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLParent_updateChildList", _wrap_SoVRMLParent_updateChildList, METH_VARARGS, (char *)"\n" - "updateChildList(SoNode nodes, int numnodes, SoChildList cl)\n" - "SoVRMLParent_updateChildList(SoNode nodewithsfnode, SoChildList cl)\n" - ""}, - { (char *)"SoVRMLParent_swigregister", SoVRMLParent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAnchor_getClassTypeId", _wrap_SoVRMLAnchor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAnchor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAnchor_getTypeId", _wrap_SoVRMLAnchor_getTypeId, METH_VARARGS, (char *)"SoVRMLAnchor_getTypeId(SoVRMLAnchor self) -> SoType"}, - { (char *)"SoVRMLAnchor_initClass", _wrap_SoVRMLAnchor_initClass, METH_VARARGS, (char *)"SoVRMLAnchor_initClass()"}, - { (char *)"new_SoVRMLAnchor", _wrap_new_SoVRMLAnchor, METH_VARARGS, (char *)"new_SoVRMLAnchor() -> SoVRMLAnchor"}, - { (char *)"SoVRMLAnchor_url_set", _wrap_SoVRMLAnchor_url_set, METH_VARARGS, (char *)"SoVRMLAnchor_url_set(SoVRMLAnchor self, SoMFString url)"}, - { (char *)"SoVRMLAnchor_url_get", _wrap_SoVRMLAnchor_url_get, METH_VARARGS, (char *)"SoVRMLAnchor_url_get(SoVRMLAnchor self) -> SoMFString"}, - { (char *)"SoVRMLAnchor_description_set", _wrap_SoVRMLAnchor_description_set, METH_VARARGS, (char *)"SoVRMLAnchor_description_set(SoVRMLAnchor self, SoSFString description)"}, - { (char *)"SoVRMLAnchor_description_get", _wrap_SoVRMLAnchor_description_get, METH_VARARGS, (char *)"SoVRMLAnchor_description_get(SoVRMLAnchor self) -> SoSFString"}, - { (char *)"SoVRMLAnchor_parameter_set", _wrap_SoVRMLAnchor_parameter_set, METH_VARARGS, (char *)"SoVRMLAnchor_parameter_set(SoVRMLAnchor self, SoMFString parameter)"}, - { (char *)"SoVRMLAnchor_parameter_get", _wrap_SoVRMLAnchor_parameter_get, METH_VARARGS, (char *)"SoVRMLAnchor_parameter_get(SoVRMLAnchor self) -> SoMFString"}, - { (char *)"SoVRMLAnchor_bboxCenter_set", _wrap_SoVRMLAnchor_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLAnchor_bboxCenter_set(SoVRMLAnchor self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLAnchor_bboxCenter_get", _wrap_SoVRMLAnchor_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLAnchor_bboxCenter_get(SoVRMLAnchor self) -> SoSFVec3f"}, - { (char *)"SoVRMLAnchor_bboxSize_set", _wrap_SoVRMLAnchor_bboxSize_set, METH_VARARGS, (char *)"SoVRMLAnchor_bboxSize_set(SoVRMLAnchor self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLAnchor_bboxSize_get", _wrap_SoVRMLAnchor_bboxSize_get, METH_VARARGS, (char *)"SoVRMLAnchor_bboxSize_get(SoVRMLAnchor self) -> SoSFVec3f"}, - { (char *)"SoVRMLAnchor_setFetchURLCallBack", _wrap_SoVRMLAnchor_setFetchURLCallBack, METH_VARARGS, (char *)"SoVRMLAnchor_setFetchURLCallBack(SoVRMLAnchorCB ?, void closure)"}, - { (char *)"SoVRMLAnchor_handleEvent", _wrap_SoVRMLAnchor_handleEvent, METH_VARARGS, (char *)"SoVRMLAnchor_handleEvent(SoVRMLAnchor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLAnchor_swigregister", SoVRMLAnchor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAppearance_getClassTypeId", _wrap_SoVRMLAppearance_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAppearance_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAppearance_getTypeId", _wrap_SoVRMLAppearance_getTypeId, METH_VARARGS, (char *)"SoVRMLAppearance_getTypeId(SoVRMLAppearance self) -> SoType"}, - { (char *)"SoVRMLAppearance_initClass", _wrap_SoVRMLAppearance_initClass, METH_VARARGS, (char *)"SoVRMLAppearance_initClass()"}, - { (char *)"new_SoVRMLAppearance", _wrap_new_SoVRMLAppearance, METH_VARARGS, (char *)"new_SoVRMLAppearance() -> SoVRMLAppearance"}, - { (char *)"SoVRMLAppearance_material_set", _wrap_SoVRMLAppearance_material_set, METH_VARARGS, (char *)"SoVRMLAppearance_material_set(SoVRMLAppearance self, SoSFNode material)"}, - { (char *)"SoVRMLAppearance_material_get", _wrap_SoVRMLAppearance_material_get, METH_VARARGS, (char *)"SoVRMLAppearance_material_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_texture_set", _wrap_SoVRMLAppearance_texture_set, METH_VARARGS, (char *)"SoVRMLAppearance_texture_set(SoVRMLAppearance self, SoSFNode texture)"}, - { (char *)"SoVRMLAppearance_texture_get", _wrap_SoVRMLAppearance_texture_get, METH_VARARGS, (char *)"SoVRMLAppearance_texture_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_textureTransform_set", _wrap_SoVRMLAppearance_textureTransform_set, METH_VARARGS, (char *)"SoVRMLAppearance_textureTransform_set(SoVRMLAppearance self, SoSFNode textureTransform)"}, - { (char *)"SoVRMLAppearance_textureTransform_get", _wrap_SoVRMLAppearance_textureTransform_get, METH_VARARGS, (char *)"SoVRMLAppearance_textureTransform_get(SoVRMLAppearance self) -> SoSFNode"}, - { (char *)"SoVRMLAppearance_doAction", _wrap_SoVRMLAppearance_doAction, METH_VARARGS, (char *)"SoVRMLAppearance_doAction(SoVRMLAppearance self, SoAction action)"}, - { (char *)"SoVRMLAppearance_callback", _wrap_SoVRMLAppearance_callback, METH_VARARGS, (char *)"SoVRMLAppearance_callback(SoVRMLAppearance self, SoCallbackAction action)"}, - { (char *)"SoVRMLAppearance_GLRender", _wrap_SoVRMLAppearance_GLRender, METH_VARARGS, (char *)"SoVRMLAppearance_GLRender(SoVRMLAppearance self, SoGLRenderAction action)"}, - { (char *)"SoVRMLAppearance_search", _wrap_SoVRMLAppearance_search, METH_VARARGS, (char *)"SoVRMLAppearance_search(SoVRMLAppearance self, SoSearchAction action)"}, - { (char *)"SoVRMLAppearance_getChildren", _wrap_SoVRMLAppearance_getChildren, METH_VARARGS, (char *)"SoVRMLAppearance_getChildren(SoVRMLAppearance self) -> SoChildList"}, - { (char *)"SoVRMLAppearance_notify", _wrap_SoVRMLAppearance_notify, METH_VARARGS, (char *)"SoVRMLAppearance_notify(SoVRMLAppearance self, SoNotList list)"}, - { (char *)"SoVRMLAppearance_copyContents", _wrap_SoVRMLAppearance_copyContents, METH_VARARGS, (char *)"SoVRMLAppearance_copyContents(SoVRMLAppearance self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLAppearance_swigregister", SoVRMLAppearance_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLAudioClip_getClassTypeId", _wrap_SoVRMLAudioClip_getClassTypeId, METH_VARARGS, (char *)"SoVRMLAudioClip_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLAudioClip_getTypeId", _wrap_SoVRMLAudioClip_getTypeId, METH_VARARGS, (char *)"SoVRMLAudioClip_getTypeId(SoVRMLAudioClip self) -> SoType"}, - { (char *)"SoVRMLAudioClip_initClass", _wrap_SoVRMLAudioClip_initClass, METH_VARARGS, (char *)"SoVRMLAudioClip_initClass()"}, - { (char *)"new_SoVRMLAudioClip", _wrap_new_SoVRMLAudioClip, METH_VARARGS, (char *)"new_SoVRMLAudioClip() -> SoVRMLAudioClip"}, - { (char *)"SoVRMLAudioClip_description_set", _wrap_SoVRMLAudioClip_description_set, METH_VARARGS, (char *)"SoVRMLAudioClip_description_set(SoVRMLAudioClip self, SoSFString description)"}, - { (char *)"SoVRMLAudioClip_description_get", _wrap_SoVRMLAudioClip_description_get, METH_VARARGS, (char *)"SoVRMLAudioClip_description_get(SoVRMLAudioClip self) -> SoSFString"}, - { (char *)"SoVRMLAudioClip_loop_set", _wrap_SoVRMLAudioClip_loop_set, METH_VARARGS, (char *)"SoVRMLAudioClip_loop_set(SoVRMLAudioClip self, SoSFBool loop)"}, - { (char *)"SoVRMLAudioClip_loop_get", _wrap_SoVRMLAudioClip_loop_get, METH_VARARGS, (char *)"SoVRMLAudioClip_loop_get(SoVRMLAudioClip self) -> SoSFBool"}, - { (char *)"SoVRMLAudioClip_pitch_set", _wrap_SoVRMLAudioClip_pitch_set, METH_VARARGS, (char *)"SoVRMLAudioClip_pitch_set(SoVRMLAudioClip self, SoSFFloat pitch)"}, - { (char *)"SoVRMLAudioClip_pitch_get", _wrap_SoVRMLAudioClip_pitch_get, METH_VARARGS, (char *)"SoVRMLAudioClip_pitch_get(SoVRMLAudioClip self) -> SoSFFloat"}, - { (char *)"SoVRMLAudioClip_startTime_set", _wrap_SoVRMLAudioClip_startTime_set, METH_VARARGS, (char *)"SoVRMLAudioClip_startTime_set(SoVRMLAudioClip self, SoSFTime startTime)"}, - { (char *)"SoVRMLAudioClip_startTime_get", _wrap_SoVRMLAudioClip_startTime_get, METH_VARARGS, (char *)"SoVRMLAudioClip_startTime_get(SoVRMLAudioClip self) -> SoSFTime"}, - { (char *)"SoVRMLAudioClip_stopTime_set", _wrap_SoVRMLAudioClip_stopTime_set, METH_VARARGS, (char *)"SoVRMLAudioClip_stopTime_set(SoVRMLAudioClip self, SoSFTime stopTime)"}, - { (char *)"SoVRMLAudioClip_stopTime_get", _wrap_SoVRMLAudioClip_stopTime_get, METH_VARARGS, (char *)"SoVRMLAudioClip_stopTime_get(SoVRMLAudioClip self) -> SoSFTime"}, - { (char *)"SoVRMLAudioClip_url_set", _wrap_SoVRMLAudioClip_url_set, METH_VARARGS, (char *)"SoVRMLAudioClip_url_set(SoVRMLAudioClip self, SoMFString url)"}, - { (char *)"SoVRMLAudioClip_url_get", _wrap_SoVRMLAudioClip_url_get, METH_VARARGS, (char *)"SoVRMLAudioClip_url_get(SoVRMLAudioClip self) -> SoMFString"}, - { (char *)"SoVRMLAudioClip_setSubdirectories", _wrap_SoVRMLAudioClip_setSubdirectories, METH_VARARGS, (char *)"SoVRMLAudioClip_setSubdirectories(SbList<(SbString)> subdirectories)"}, - { (char *)"SoVRMLAudioClip_getSubdirectories", _wrap_SoVRMLAudioClip_getSubdirectories, METH_VARARGS, (char *)"SoVRMLAudioClip_getSubdirectories() -> SbStringList"}, - { (char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks", _wrap_SoVRMLAudioClip_setDefaultPauseBetweenTracks, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultPauseBetweenTracks(SbTime pause)"}, - { (char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks", _wrap_SoVRMLAudioClip_getDefaultPauseBetweenTracks, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultPauseBetweenTracks() -> SbTime"}, - { (char *)"SoVRMLAudioClip_setDefaultIntroPause", _wrap_SoVRMLAudioClip_setDefaultIntroPause, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultIntroPause(SbTime pause)"}, - { (char *)"SoVRMLAudioClip_getDefaultIntroPause", _wrap_SoVRMLAudioClip_getDefaultIntroPause, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultIntroPause() -> SbTime"}, - { (char *)"SoVRMLAudioClip_setDefaultSampleRate", _wrap_SoVRMLAudioClip_setDefaultSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultSampleRate(int samplerate)"}, - { (char *)"SoVRMLAudioClip_getDefaultSampleRate", _wrap_SoVRMLAudioClip_getDefaultSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultSampleRate() -> int"}, - { (char *)"SoVRMLAudioClip_setDefaultTimerInterval", _wrap_SoVRMLAudioClip_setDefaultTimerInterval, METH_VARARGS, (char *)"SoVRMLAudioClip_setDefaultTimerInterval(SbTime interval)"}, - { (char *)"SoVRMLAudioClip_getDefaultTimerInterval", _wrap_SoVRMLAudioClip_getDefaultTimerInterval, METH_VARARGS, (char *)"SoVRMLAudioClip_getDefaultTimerInterval() -> SbTime"}, - { (char *)"SoVRMLAudioClip_getSampleRate", _wrap_SoVRMLAudioClip_getSampleRate, METH_VARARGS, (char *)"SoVRMLAudioClip_getSampleRate(SoVRMLAudioClip self) -> int"}, - { (char *)"SoVRMLAudioClip_open", _wrap_SoVRMLAudioClip_open, METH_VARARGS, (char *)"SoVRMLAudioClip_open(SoVRMLAudioClip self, SbStringList url) -> void"}, - { (char *)"SoVRMLAudioClip_read", _wrap_SoVRMLAudioClip_read, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_read(SoVRMLAudioClip self, void datasource, void buffer, \n" - " int numframes, int channels) -> size_t\n" - ""}, - { (char *)"SoVRMLAudioClip_seek", _wrap_SoVRMLAudioClip_seek, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_seek(SoVRMLAudioClip self, void datasource, long offset, \n" - " int whence) -> int\n" - ""}, - { (char *)"SoVRMLAudioClip_tell", _wrap_SoVRMLAudioClip_tell, METH_VARARGS, (char *)"SoVRMLAudioClip_tell(SoVRMLAudioClip self, void datasource) -> long"}, - { (char *)"SoVRMLAudioClip_close", _wrap_SoVRMLAudioClip_close, METH_VARARGS, (char *)"SoVRMLAudioClip_close(SoVRMLAudioClip self, void datasource) -> int"}, - { (char *)"SoVRMLAudioClip_setCallbacks", _wrap_SoVRMLAudioClip_setCallbacks, METH_VARARGS, (char *)"\n" - "SoVRMLAudioClip_setCallbacks(SoVRMLAudioClip self, open_func opencb, read_func readcb, \n" - " seek_func seekcb, tell_func tellcb, close_func closecb, \n" - " void userdataptr)\n" - ""}, - { (char *)"SoVRMLAudioClip_swigregister", SoVRMLAudioClip_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBackground_getClassTypeId", _wrap_SoVRMLBackground_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBackground_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBackground_getTypeId", _wrap_SoVRMLBackground_getTypeId, METH_VARARGS, (char *)"SoVRMLBackground_getTypeId(SoVRMLBackground self) -> SoType"}, - { (char *)"SoVRMLBackground_initClass", _wrap_SoVRMLBackground_initClass, METH_VARARGS, (char *)"SoVRMLBackground_initClass()"}, - { (char *)"new_SoVRMLBackground", _wrap_new_SoVRMLBackground, METH_VARARGS, (char *)"new_SoVRMLBackground() -> SoVRMLBackground"}, - { (char *)"SoVRMLBackground_groundColor_set", _wrap_SoVRMLBackground_groundColor_set, METH_VARARGS, (char *)"SoVRMLBackground_groundColor_set(SoVRMLBackground self, SoMFColor groundColor)"}, - { (char *)"SoVRMLBackground_groundColor_get", _wrap_SoVRMLBackground_groundColor_get, METH_VARARGS, (char *)"SoVRMLBackground_groundColor_get(SoVRMLBackground self) -> SoMFColor"}, - { (char *)"SoVRMLBackground_groundAngle_set", _wrap_SoVRMLBackground_groundAngle_set, METH_VARARGS, (char *)"SoVRMLBackground_groundAngle_set(SoVRMLBackground self, SoMFFloat groundAngle)"}, - { (char *)"SoVRMLBackground_groundAngle_get", _wrap_SoVRMLBackground_groundAngle_get, METH_VARARGS, (char *)"SoVRMLBackground_groundAngle_get(SoVRMLBackground self) -> SoMFFloat"}, - { (char *)"SoVRMLBackground_skyColor_set", _wrap_SoVRMLBackground_skyColor_set, METH_VARARGS, (char *)"SoVRMLBackground_skyColor_set(SoVRMLBackground self, SoMFColor skyColor)"}, - { (char *)"SoVRMLBackground_skyColor_get", _wrap_SoVRMLBackground_skyColor_get, METH_VARARGS, (char *)"SoVRMLBackground_skyColor_get(SoVRMLBackground self) -> SoMFColor"}, - { (char *)"SoVRMLBackground_skyAngle_set", _wrap_SoVRMLBackground_skyAngle_set, METH_VARARGS, (char *)"SoVRMLBackground_skyAngle_set(SoVRMLBackground self, SoMFFloat skyAngle)"}, - { (char *)"SoVRMLBackground_skyAngle_get", _wrap_SoVRMLBackground_skyAngle_get, METH_VARARGS, (char *)"SoVRMLBackground_skyAngle_get(SoVRMLBackground self) -> SoMFFloat"}, - { (char *)"SoVRMLBackground_backUrl_set", _wrap_SoVRMLBackground_backUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_backUrl_set(SoVRMLBackground self, SoMFString backUrl)"}, - { (char *)"SoVRMLBackground_backUrl_get", _wrap_SoVRMLBackground_backUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_backUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_bottomUrl_set", _wrap_SoVRMLBackground_bottomUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_bottomUrl_set(SoVRMLBackground self, SoMFString bottomUrl)"}, - { (char *)"SoVRMLBackground_bottomUrl_get", _wrap_SoVRMLBackground_bottomUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_bottomUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_frontUrl_set", _wrap_SoVRMLBackground_frontUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_frontUrl_set(SoVRMLBackground self, SoMFString frontUrl)"}, - { (char *)"SoVRMLBackground_frontUrl_get", _wrap_SoVRMLBackground_frontUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_frontUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_leftUrl_set", _wrap_SoVRMLBackground_leftUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_leftUrl_set(SoVRMLBackground self, SoMFString leftUrl)"}, - { (char *)"SoVRMLBackground_leftUrl_get", _wrap_SoVRMLBackground_leftUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_leftUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_rightUrl_set", _wrap_SoVRMLBackground_rightUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_rightUrl_set(SoVRMLBackground self, SoMFString rightUrl)"}, - { (char *)"SoVRMLBackground_rightUrl_get", _wrap_SoVRMLBackground_rightUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_rightUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_topUrl_set", _wrap_SoVRMLBackground_topUrl_set, METH_VARARGS, (char *)"SoVRMLBackground_topUrl_set(SoVRMLBackground self, SoMFString topUrl)"}, - { (char *)"SoVRMLBackground_topUrl_get", _wrap_SoVRMLBackground_topUrl_get, METH_VARARGS, (char *)"SoVRMLBackground_topUrl_get(SoVRMLBackground self) -> SoMFString"}, - { (char *)"SoVRMLBackground_GLRender", _wrap_SoVRMLBackground_GLRender, METH_VARARGS, (char *)"SoVRMLBackground_GLRender(SoVRMLBackground self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBackground_swigregister", SoVRMLBackground_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBillboard_getClassTypeId", _wrap_SoVRMLBillboard_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBillboard_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBillboard_getTypeId", _wrap_SoVRMLBillboard_getTypeId, METH_VARARGS, (char *)"SoVRMLBillboard_getTypeId(SoVRMLBillboard self) -> SoType"}, - { (char *)"SoVRMLBillboard_initClass", _wrap_SoVRMLBillboard_initClass, METH_VARARGS, (char *)"SoVRMLBillboard_initClass()"}, - { (char *)"new_SoVRMLBillboard", _wrap_new_SoVRMLBillboard, METH_VARARGS, (char *)"\n" - "SoVRMLBillboard()\n" - "new_SoVRMLBillboard(int numchildren) -> SoVRMLBillboard\n" - ""}, - { (char *)"SoVRMLBillboard_axisOfRotation_set", _wrap_SoVRMLBillboard_axisOfRotation_set, METH_VARARGS, (char *)"SoVRMLBillboard_axisOfRotation_set(SoVRMLBillboard self, SoSFVec3f axisOfRotation)"}, - { (char *)"SoVRMLBillboard_axisOfRotation_get", _wrap_SoVRMLBillboard_axisOfRotation_get, METH_VARARGS, (char *)"SoVRMLBillboard_axisOfRotation_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_bboxCenter_set", _wrap_SoVRMLBillboard_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLBillboard_bboxCenter_set(SoVRMLBillboard self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLBillboard_bboxCenter_get", _wrap_SoVRMLBillboard_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLBillboard_bboxCenter_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_bboxSize_set", _wrap_SoVRMLBillboard_bboxSize_set, METH_VARARGS, (char *)"SoVRMLBillboard_bboxSize_set(SoVRMLBillboard self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLBillboard_bboxSize_get", _wrap_SoVRMLBillboard_bboxSize_get, METH_VARARGS, (char *)"SoVRMLBillboard_bboxSize_get(SoVRMLBillboard self) -> SoSFVec3f"}, - { (char *)"SoVRMLBillboard_doAction", _wrap_SoVRMLBillboard_doAction, METH_VARARGS, (char *)"SoVRMLBillboard_doAction(SoVRMLBillboard self, SoAction action)"}, - { (char *)"SoVRMLBillboard_callback", _wrap_SoVRMLBillboard_callback, METH_VARARGS, (char *)"SoVRMLBillboard_callback(SoVRMLBillboard self, SoCallbackAction action)"}, - { (char *)"SoVRMLBillboard_GLRender", _wrap_SoVRMLBillboard_GLRender, METH_VARARGS, (char *)"SoVRMLBillboard_GLRender(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_getBoundingBox", _wrap_SoVRMLBillboard_getBoundingBox, METH_VARARGS, (char *)"SoVRMLBillboard_getBoundingBox(SoVRMLBillboard self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLBillboard_getMatrix", _wrap_SoVRMLBillboard_getMatrix, METH_VARARGS, (char *)"SoVRMLBillboard_getMatrix(SoVRMLBillboard self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLBillboard_pick", _wrap_SoVRMLBillboard_pick, METH_VARARGS, (char *)"SoVRMLBillboard_pick(SoVRMLBillboard self, SoPickAction action)"}, - { (char *)"SoVRMLBillboard_search", _wrap_SoVRMLBillboard_search, METH_VARARGS, (char *)"SoVRMLBillboard_search(SoVRMLBillboard self, SoSearchAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderBelowPath", _wrap_SoVRMLBillboard_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderBelowPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderInPath", _wrap_SoVRMLBillboard_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderInPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_GLRenderOffPath", _wrap_SoVRMLBillboard_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLBillboard_GLRenderOffPath(SoVRMLBillboard self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBillboard_notify", _wrap_SoVRMLBillboard_notify, METH_VARARGS, (char *)"SoVRMLBillboard_notify(SoVRMLBillboard self, SoNotList list)"}, - { (char *)"SoVRMLBillboard_swigregister", SoVRMLBillboard_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLGeometry_getClassTypeId", _wrap_SoVRMLGeometry_getClassTypeId, METH_VARARGS, (char *)"SoVRMLGeometry_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLGeometry_getTypeId", _wrap_SoVRMLGeometry_getTypeId, METH_VARARGS, (char *)"SoVRMLGeometry_getTypeId(SoVRMLGeometry self) -> SoType"}, - { (char *)"SoVRMLGeometry_initClass", _wrap_SoVRMLGeometry_initClass, METH_VARARGS, (char *)"SoVRMLGeometry_initClass()"}, - { (char *)"SoVRMLGeometry_search", _wrap_SoVRMLGeometry_search, METH_VARARGS, (char *)"SoVRMLGeometry_search(SoVRMLGeometry self, SoSearchAction action)"}, - { (char *)"SoVRMLGeometry_copyContents", _wrap_SoVRMLGeometry_copyContents, METH_VARARGS, (char *)"SoVRMLGeometry_copyContents(SoVRMLGeometry self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLGeometry_swigregister", SoVRMLGeometry_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLBox_getClassTypeId", _wrap_SoVRMLBox_getClassTypeId, METH_VARARGS, (char *)"SoVRMLBox_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLBox_getTypeId", _wrap_SoVRMLBox_getTypeId, METH_VARARGS, (char *)"SoVRMLBox_getTypeId(SoVRMLBox self) -> SoType"}, - { (char *)"SoVRMLBox_initClass", _wrap_SoVRMLBox_initClass, METH_VARARGS, (char *)"SoVRMLBox_initClass()"}, - { (char *)"new_SoVRMLBox", _wrap_new_SoVRMLBox, METH_VARARGS, (char *)"new_SoVRMLBox() -> SoVRMLBox"}, - { (char *)"SoVRMLBox_size_set", _wrap_SoVRMLBox_size_set, METH_VARARGS, (char *)"SoVRMLBox_size_set(SoVRMLBox self, SoSFVec3f size)"}, - { (char *)"SoVRMLBox_size_get", _wrap_SoVRMLBox_size_get, METH_VARARGS, (char *)"SoVRMLBox_size_get(SoVRMLBox self) -> SoSFVec3f"}, - { (char *)"SoVRMLBox_GLRender", _wrap_SoVRMLBox_GLRender, METH_VARARGS, (char *)"SoVRMLBox_GLRender(SoVRMLBox self, SoGLRenderAction action)"}, - { (char *)"SoVRMLBox_rayPick", _wrap_SoVRMLBox_rayPick, METH_VARARGS, (char *)"SoVRMLBox_rayPick(SoVRMLBox self, SoRayPickAction action)"}, - { (char *)"SoVRMLBox_getPrimitiveCount", _wrap_SoVRMLBox_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLBox_getPrimitiveCount(SoVRMLBox self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLBox_swigregister", SoVRMLBox_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLGroup_getClassTypeId", _wrap_SoVRMLGroup_getClassTypeId, METH_VARARGS, (char *)"SoVRMLGroup_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLGroup_getTypeId", _wrap_SoVRMLGroup_getTypeId, METH_VARARGS, (char *)"SoVRMLGroup_getTypeId(SoVRMLGroup self) -> SoType"}, - { (char *)"SoVRMLGroup_initClass", _wrap_SoVRMLGroup_initClass, METH_VARARGS, (char *)"SoVRMLGroup_initClass()"}, - { (char *)"new_SoVRMLGroup", _wrap_new_SoVRMLGroup, METH_VARARGS, (char *)"\n" - "SoVRMLGroup()\n" - "new_SoVRMLGroup(int numChildren) -> SoVRMLGroup\n" - ""}, - { (char *)"SoVRMLGroup_renderCaching_set", _wrap_SoVRMLGroup_renderCaching_set, METH_VARARGS, (char *)"SoVRMLGroup_renderCaching_set(SoVRMLGroup self, SoSFEnum renderCaching)"}, - { (char *)"SoVRMLGroup_renderCaching_get", _wrap_SoVRMLGroup_renderCaching_get, METH_VARARGS, (char *)"SoVRMLGroup_renderCaching_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_boundingBoxCaching_set", _wrap_SoVRMLGroup_boundingBoxCaching_set, METH_VARARGS, (char *)"SoVRMLGroup_boundingBoxCaching_set(SoVRMLGroup self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoVRMLGroup_boundingBoxCaching_get", _wrap_SoVRMLGroup_boundingBoxCaching_get, METH_VARARGS, (char *)"SoVRMLGroup_boundingBoxCaching_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_renderCulling_set", _wrap_SoVRMLGroup_renderCulling_set, METH_VARARGS, (char *)"SoVRMLGroup_renderCulling_set(SoVRMLGroup self, SoSFEnum renderCulling)"}, - { (char *)"SoVRMLGroup_renderCulling_get", _wrap_SoVRMLGroup_renderCulling_get, METH_VARARGS, (char *)"SoVRMLGroup_renderCulling_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_pickCulling_set", _wrap_SoVRMLGroup_pickCulling_set, METH_VARARGS, (char *)"SoVRMLGroup_pickCulling_set(SoVRMLGroup self, SoSFEnum pickCulling)"}, - { (char *)"SoVRMLGroup_pickCulling_get", _wrap_SoVRMLGroup_pickCulling_get, METH_VARARGS, (char *)"SoVRMLGroup_pickCulling_get(SoVRMLGroup self) -> SoSFEnum"}, - { (char *)"SoVRMLGroup_bboxCenter_set", _wrap_SoVRMLGroup_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLGroup_bboxCenter_set(SoVRMLGroup self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLGroup_bboxCenter_get", _wrap_SoVRMLGroup_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLGroup_bboxCenter_get(SoVRMLGroup self) -> SoSFVec3f"}, - { (char *)"SoVRMLGroup_bboxSize_set", _wrap_SoVRMLGroup_bboxSize_set, METH_VARARGS, (char *)"SoVRMLGroup_bboxSize_set(SoVRMLGroup self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLGroup_bboxSize_get", _wrap_SoVRMLGroup_bboxSize_get, METH_VARARGS, (char *)"SoVRMLGroup_bboxSize_get(SoVRMLGroup self) -> SoSFVec3f"}, - { (char *)"SoVRMLGroup_setNumRenderCaches", _wrap_SoVRMLGroup_setNumRenderCaches, METH_VARARGS, (char *)"SoVRMLGroup_setNumRenderCaches(int num)"}, - { (char *)"SoVRMLGroup_getNumRenderCaches", _wrap_SoVRMLGroup_getNumRenderCaches, METH_VARARGS, (char *)"SoVRMLGroup_getNumRenderCaches() -> int"}, - { (char *)"SoVRMLGroup_doAction", _wrap_SoVRMLGroup_doAction, METH_VARARGS, (char *)"SoVRMLGroup_doAction(SoVRMLGroup self, SoAction action)"}, - { (char *)"SoVRMLGroup_callback", _wrap_SoVRMLGroup_callback, METH_VARARGS, (char *)"SoVRMLGroup_callback(SoVRMLGroup self, SoCallbackAction action)"}, - { (char *)"SoVRMLGroup_GLRender", _wrap_SoVRMLGroup_GLRender, METH_VARARGS, (char *)"SoVRMLGroup_GLRender(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_getBoundingBox", _wrap_SoVRMLGroup_getBoundingBox, METH_VARARGS, (char *)"SoVRMLGroup_getBoundingBox(SoVRMLGroup self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLGroup_getMatrix", _wrap_SoVRMLGroup_getMatrix, METH_VARARGS, (char *)"SoVRMLGroup_getMatrix(SoVRMLGroup self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLGroup_rayPick", _wrap_SoVRMLGroup_rayPick, METH_VARARGS, (char *)"SoVRMLGroup_rayPick(SoVRMLGroup self, SoRayPickAction action)"}, - { (char *)"SoVRMLGroup_search", _wrap_SoVRMLGroup_search, METH_VARARGS, (char *)"SoVRMLGroup_search(SoVRMLGroup self, SoSearchAction action)"}, - { (char *)"SoVRMLGroup_write", _wrap_SoVRMLGroup_write, METH_VARARGS, (char *)"SoVRMLGroup_write(SoVRMLGroup self, SoWriteAction action)"}, - { (char *)"SoVRMLGroup_getPrimitiveCount", _wrap_SoVRMLGroup_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLGroup_getPrimitiveCount(SoVRMLGroup self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLGroup_audioRender", _wrap_SoVRMLGroup_audioRender, METH_VARARGS, (char *)"SoVRMLGroup_audioRender(SoVRMLGroup self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderBelowPath", _wrap_SoVRMLGroup_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderBelowPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderInPath", _wrap_SoVRMLGroup_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderInPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_GLRenderOffPath", _wrap_SoVRMLGroup_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLGroup_GLRenderOffPath(SoVRMLGroup self, SoGLRenderAction action)"}, - { (char *)"SoVRMLGroup_notify", _wrap_SoVRMLGroup_notify, METH_VARARGS, (char *)"SoVRMLGroup_notify(SoVRMLGroup self, SoNotList list)"}, - { (char *)"SoVRMLGroup_swigregister", SoVRMLGroup_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCollision_getClassTypeId", _wrap_SoVRMLCollision_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCollision_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCollision_getTypeId", _wrap_SoVRMLCollision_getTypeId, METH_VARARGS, (char *)"SoVRMLCollision_getTypeId(SoVRMLCollision self) -> SoType"}, - { (char *)"SoVRMLCollision_initClass", _wrap_SoVRMLCollision_initClass, METH_VARARGS, (char *)"SoVRMLCollision_initClass()"}, - { (char *)"new_SoVRMLCollision", _wrap_new_SoVRMLCollision, METH_VARARGS, (char *)"\n" - "SoVRMLCollision()\n" - "new_SoVRMLCollision(int numchildren) -> SoVRMLCollision\n" - ""}, - { (char *)"SoVRMLCollision_collide_set", _wrap_SoVRMLCollision_collide_set, METH_VARARGS, (char *)"SoVRMLCollision_collide_set(SoVRMLCollision self, SoSFBool collide)"}, - { (char *)"SoVRMLCollision_collide_get", _wrap_SoVRMLCollision_collide_get, METH_VARARGS, (char *)"SoVRMLCollision_collide_get(SoVRMLCollision self) -> SoSFBool"}, - { (char *)"SoVRMLCollision_proxy_set", _wrap_SoVRMLCollision_proxy_set, METH_VARARGS, (char *)"SoVRMLCollision_proxy_set(SoVRMLCollision self, SoSFNode proxy)"}, - { (char *)"SoVRMLCollision_proxy_get", _wrap_SoVRMLCollision_proxy_get, METH_VARARGS, (char *)"SoVRMLCollision_proxy_get(SoVRMLCollision self) -> SoSFNode"}, - { (char *)"SoVRMLCollision_collideTime_set", _wrap_SoVRMLCollision_collideTime_set, METH_VARARGS, (char *)"SoVRMLCollision_collideTime_set(SoVRMLCollision self, SoSFTime collideTime)"}, - { (char *)"SoVRMLCollision_collideTime_get", _wrap_SoVRMLCollision_collideTime_get, METH_VARARGS, (char *)"SoVRMLCollision_collideTime_get(SoVRMLCollision self) -> SoSFTime"}, - { (char *)"SoVRMLCollision_GLRender", _wrap_SoVRMLCollision_GLRender, METH_VARARGS, (char *)"SoVRMLCollision_GLRender(SoVRMLCollision self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCollision_notify", _wrap_SoVRMLCollision_notify, METH_VARARGS, (char *)"SoVRMLCollision_notify(SoVRMLCollision self, SoNotList list)"}, - { (char *)"SoVRMLCollision_swigregister", SoVRMLCollision_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLColor_getClassTypeId", _wrap_SoVRMLColor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLColor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLColor_getTypeId", _wrap_SoVRMLColor_getTypeId, METH_VARARGS, (char *)"SoVRMLColor_getTypeId(SoVRMLColor self) -> SoType"}, - { (char *)"SoVRMLColor_initClass", _wrap_SoVRMLColor_initClass, METH_VARARGS, (char *)"SoVRMLColor_initClass()"}, - { (char *)"new_SoVRMLColor", _wrap_new_SoVRMLColor, METH_VARARGS, (char *)"new_SoVRMLColor() -> SoVRMLColor"}, - { (char *)"SoVRMLColor_color_set", _wrap_SoVRMLColor_color_set, METH_VARARGS, (char *)"SoVRMLColor_color_set(SoVRMLColor self, SoMFColor color)"}, - { (char *)"SoVRMLColor_color_get", _wrap_SoVRMLColor_color_get, METH_VARARGS, (char *)"SoVRMLColor_color_get(SoVRMLColor self) -> SoMFColor"}, - { (char *)"SoVRMLColor_doAction", _wrap_SoVRMLColor_doAction, METH_VARARGS, (char *)"SoVRMLColor_doAction(SoVRMLColor self, SoAction action)"}, - { (char *)"SoVRMLColor_GLRender", _wrap_SoVRMLColor_GLRender, METH_VARARGS, (char *)"SoVRMLColor_GLRender(SoVRMLColor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLColor_callback", _wrap_SoVRMLColor_callback, METH_VARARGS, (char *)"SoVRMLColor_callback(SoVRMLColor self, SoCallbackAction action)"}, - { (char *)"SoVRMLColor_swigregister", SoVRMLColor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLInterpolator_getClassTypeId", _wrap_SoVRMLInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLInterpolator_getTypeId", _wrap_SoVRMLInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLInterpolator_getTypeId(SoVRMLInterpolator self) -> SoType"}, - { (char *)"SoVRMLInterpolator_getOutputData", _wrap_SoVRMLInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLInterpolator_getOutputData(SoVRMLInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLInterpolator_key_set", _wrap_SoVRMLInterpolator_key_set, METH_VARARGS, (char *)"SoVRMLInterpolator_key_set(SoVRMLInterpolator self, SoMFFloat key)"}, - { (char *)"SoVRMLInterpolator_key_get", _wrap_SoVRMLInterpolator_key_get, METH_VARARGS, (char *)"SoVRMLInterpolator_key_get(SoVRMLInterpolator self) -> SoMFFloat"}, - { (char *)"SoVRMLInterpolator_set_fraction_set", _wrap_SoVRMLInterpolator_set_fraction_set, METH_VARARGS, (char *)"SoVRMLInterpolator_set_fraction_set(SoVRMLInterpolator self, SoSFFloat set_fraction)"}, - { (char *)"SoVRMLInterpolator_set_fraction_get", _wrap_SoVRMLInterpolator_set_fraction_get, METH_VARARGS, (char *)"SoVRMLInterpolator_set_fraction_get(SoVRMLInterpolator self) -> SoSFFloat"}, - { (char *)"SoVRMLInterpolator_initClass", _wrap_SoVRMLInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLInterpolator_initClass()"}, - { (char *)"SoVRMLInterpolator_swigregister", SoVRMLInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLColorInterpolator_getClassTypeId", _wrap_SoVRMLColorInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLColorInterpolator_getTypeId", _wrap_SoVRMLColorInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getTypeId(SoVRMLColorInterpolator self) -> SoType"}, - { (char *)"SoVRMLColorInterpolator_getOutputData", _wrap_SoVRMLColorInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLColorInterpolator_getOutputData(SoVRMLColorInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLColorInterpolator_createInstance", _wrap_SoVRMLColorInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLColorInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLColorInterpolator_initClass", _wrap_SoVRMLColorInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLColorInterpolator_initClass()"}, - { (char *)"new_SoVRMLColorInterpolator", _wrap_new_SoVRMLColorInterpolator, METH_VARARGS, (char *)"new_SoVRMLColorInterpolator() -> SoVRMLColorInterpolator"}, - { (char *)"SoVRMLColorInterpolator_keyValue_set", _wrap_SoVRMLColorInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLColorInterpolator_keyValue_set(SoVRMLColorInterpolator self, SoMFColor keyValue)"}, - { (char *)"SoVRMLColorInterpolator_keyValue_get", _wrap_SoVRMLColorInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLColorInterpolator_keyValue_get(SoVRMLColorInterpolator self) -> SoMFColor"}, - { (char *)"SoVRMLColorInterpolator_value_changed_set", _wrap_SoVRMLColorInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLColorInterpolator_value_changed_set(SoVRMLColorInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLColorInterpolator_value_changed_get", _wrap_SoVRMLColorInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLColorInterpolator_value_changed_get(SoVRMLColorInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLColorInterpolator_swigregister", SoVRMLColorInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCone_getClassTypeId", _wrap_SoVRMLCone_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCone_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCone_getTypeId", _wrap_SoVRMLCone_getTypeId, METH_VARARGS, (char *)"SoVRMLCone_getTypeId(SoVRMLCone self) -> SoType"}, - { (char *)"SoVRMLCone_initClass", _wrap_SoVRMLCone_initClass, METH_VARARGS, (char *)"SoVRMLCone_initClass()"}, - { (char *)"new_SoVRMLCone", _wrap_new_SoVRMLCone, METH_VARARGS, (char *)"new_SoVRMLCone() -> SoVRMLCone"}, - { (char *)"SoVRMLCone_bottomRadius_set", _wrap_SoVRMLCone_bottomRadius_set, METH_VARARGS, (char *)"SoVRMLCone_bottomRadius_set(SoVRMLCone self, SoSFFloat bottomRadius)"}, - { (char *)"SoVRMLCone_bottomRadius_get", _wrap_SoVRMLCone_bottomRadius_get, METH_VARARGS, (char *)"SoVRMLCone_bottomRadius_get(SoVRMLCone self) -> SoSFFloat"}, - { (char *)"SoVRMLCone_height_set", _wrap_SoVRMLCone_height_set, METH_VARARGS, (char *)"SoVRMLCone_height_set(SoVRMLCone self, SoSFFloat height)"}, - { (char *)"SoVRMLCone_height_get", _wrap_SoVRMLCone_height_get, METH_VARARGS, (char *)"SoVRMLCone_height_get(SoVRMLCone self) -> SoSFFloat"}, - { (char *)"SoVRMLCone_side_set", _wrap_SoVRMLCone_side_set, METH_VARARGS, (char *)"SoVRMLCone_side_set(SoVRMLCone self, SoSFBool side)"}, - { (char *)"SoVRMLCone_side_get", _wrap_SoVRMLCone_side_get, METH_VARARGS, (char *)"SoVRMLCone_side_get(SoVRMLCone self) -> SoSFBool"}, - { (char *)"SoVRMLCone_bottom_set", _wrap_SoVRMLCone_bottom_set, METH_VARARGS, (char *)"SoVRMLCone_bottom_set(SoVRMLCone self, SoSFBool bottom)"}, - { (char *)"SoVRMLCone_bottom_get", _wrap_SoVRMLCone_bottom_get, METH_VARARGS, (char *)"SoVRMLCone_bottom_get(SoVRMLCone self) -> SoSFBool"}, - { (char *)"SoVRMLCone_GLRender", _wrap_SoVRMLCone_GLRender, METH_VARARGS, (char *)"SoVRMLCone_GLRender(SoVRMLCone self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCone_rayPick", _wrap_SoVRMLCone_rayPick, METH_VARARGS, (char *)"SoVRMLCone_rayPick(SoVRMLCone self, SoRayPickAction action)"}, - { (char *)"SoVRMLCone_getPrimitiveCount", _wrap_SoVRMLCone_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLCone_getPrimitiveCount(SoVRMLCone self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLCone_swigregister", SoVRMLCone_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCoordinate_getClassTypeId", _wrap_SoVRMLCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCoordinate_getTypeId", _wrap_SoVRMLCoordinate_getTypeId, METH_VARARGS, (char *)"SoVRMLCoordinate_getTypeId(SoVRMLCoordinate self) -> SoType"}, - { (char *)"SoVRMLCoordinate_initClass", _wrap_SoVRMLCoordinate_initClass, METH_VARARGS, (char *)"SoVRMLCoordinate_initClass()"}, - { (char *)"new_SoVRMLCoordinate", _wrap_new_SoVRMLCoordinate, METH_VARARGS, (char *)"new_SoVRMLCoordinate() -> SoVRMLCoordinate"}, - { (char *)"SoVRMLCoordinate_point_set", _wrap_SoVRMLCoordinate_point_set, METH_VARARGS, (char *)"SoVRMLCoordinate_point_set(SoVRMLCoordinate self, SoMFVec3f point)"}, - { (char *)"SoVRMLCoordinate_point_get", _wrap_SoVRMLCoordinate_point_get, METH_VARARGS, (char *)"SoVRMLCoordinate_point_get(SoVRMLCoordinate self) -> SoMFVec3f"}, - { (char *)"SoVRMLCoordinate_doAction", _wrap_SoVRMLCoordinate_doAction, METH_VARARGS, (char *)"SoVRMLCoordinate_doAction(SoVRMLCoordinate self, SoAction action)"}, - { (char *)"SoVRMLCoordinate_GLRender", _wrap_SoVRMLCoordinate_GLRender, METH_VARARGS, (char *)"SoVRMLCoordinate_GLRender(SoVRMLCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCoordinate_getBoundingBox", _wrap_SoVRMLCoordinate_getBoundingBox, METH_VARARGS, (char *)"SoVRMLCoordinate_getBoundingBox(SoVRMLCoordinate self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLCoordinate_callback", _wrap_SoVRMLCoordinate_callback, METH_VARARGS, (char *)"SoVRMLCoordinate_callback(SoVRMLCoordinate self, SoCallbackAction action)"}, - { (char *)"SoVRMLCoordinate_pick", _wrap_SoVRMLCoordinate_pick, METH_VARARGS, (char *)"SoVRMLCoordinate_pick(SoVRMLCoordinate self, SoPickAction action)"}, - { (char *)"SoVRMLCoordinate_swigregister", SoVRMLCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCoordinateInterpolator_getClassTypeId", _wrap_SoVRMLCoordinateInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCoordinateInterpolator_getTypeId", _wrap_SoVRMLCoordinateInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getTypeId(SoVRMLCoordinateInterpolator self) -> SoType"}, - { (char *)"SoVRMLCoordinateInterpolator_getOutputData", _wrap_SoVRMLCoordinateInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_getOutputData(SoVRMLCoordinateInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLCoordinateInterpolator_createInstance", _wrap_SoVRMLCoordinateInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLCoordinateInterpolator_initClass", _wrap_SoVRMLCoordinateInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_initClass()"}, - { (char *)"new_SoVRMLCoordinateInterpolator", _wrap_new_SoVRMLCoordinateInterpolator, METH_VARARGS, (char *)"new_SoVRMLCoordinateInterpolator() -> SoVRMLCoordinateInterpolator"}, - { (char *)"SoVRMLCoordinateInterpolator_keyValue_set", _wrap_SoVRMLCoordinateInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_keyValue_set(SoVRMLCoordinateInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLCoordinateInterpolator_keyValue_get", _wrap_SoVRMLCoordinateInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_keyValue_get(SoVRMLCoordinateInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLCoordinateInterpolator_value_changed_set", _wrap_SoVRMLCoordinateInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_value_changed_set(SoVRMLCoordinateInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLCoordinateInterpolator_value_changed_get", _wrap_SoVRMLCoordinateInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLCoordinateInterpolator_value_changed_get(SoVRMLCoordinateInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLCoordinateInterpolator_swigregister", SoVRMLCoordinateInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCylinder_getClassTypeId", _wrap_SoVRMLCylinder_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCylinder_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCylinder_getTypeId", _wrap_SoVRMLCylinder_getTypeId, METH_VARARGS, (char *)"SoVRMLCylinder_getTypeId(SoVRMLCylinder self) -> SoType"}, - { (char *)"SoVRMLCylinder_initClass", _wrap_SoVRMLCylinder_initClass, METH_VARARGS, (char *)"SoVRMLCylinder_initClass()"}, - { (char *)"new_SoVRMLCylinder", _wrap_new_SoVRMLCylinder, METH_VARARGS, (char *)"new_SoVRMLCylinder() -> SoVRMLCylinder"}, - { (char *)"SoVRMLCylinder_radius_set", _wrap_SoVRMLCylinder_radius_set, METH_VARARGS, (char *)"SoVRMLCylinder_radius_set(SoVRMLCylinder self, SoSFFloat radius)"}, - { (char *)"SoVRMLCylinder_radius_get", _wrap_SoVRMLCylinder_radius_get, METH_VARARGS, (char *)"SoVRMLCylinder_radius_get(SoVRMLCylinder self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinder_height_set", _wrap_SoVRMLCylinder_height_set, METH_VARARGS, (char *)"SoVRMLCylinder_height_set(SoVRMLCylinder self, SoSFFloat height)"}, - { (char *)"SoVRMLCylinder_height_get", _wrap_SoVRMLCylinder_height_get, METH_VARARGS, (char *)"SoVRMLCylinder_height_get(SoVRMLCylinder self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinder_side_set", _wrap_SoVRMLCylinder_side_set, METH_VARARGS, (char *)"SoVRMLCylinder_side_set(SoVRMLCylinder self, SoSFBool side)"}, - { (char *)"SoVRMLCylinder_side_get", _wrap_SoVRMLCylinder_side_get, METH_VARARGS, (char *)"SoVRMLCylinder_side_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_top_set", _wrap_SoVRMLCylinder_top_set, METH_VARARGS, (char *)"SoVRMLCylinder_top_set(SoVRMLCylinder self, SoSFBool top)"}, - { (char *)"SoVRMLCylinder_top_get", _wrap_SoVRMLCylinder_top_get, METH_VARARGS, (char *)"SoVRMLCylinder_top_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_bottom_set", _wrap_SoVRMLCylinder_bottom_set, METH_VARARGS, (char *)"SoVRMLCylinder_bottom_set(SoVRMLCylinder self, SoSFBool bottom)"}, - { (char *)"SoVRMLCylinder_bottom_get", _wrap_SoVRMLCylinder_bottom_get, METH_VARARGS, (char *)"SoVRMLCylinder_bottom_get(SoVRMLCylinder self) -> SoSFBool"}, - { (char *)"SoVRMLCylinder_GLRender", _wrap_SoVRMLCylinder_GLRender, METH_VARARGS, (char *)"SoVRMLCylinder_GLRender(SoVRMLCylinder self, SoGLRenderAction action)"}, - { (char *)"SoVRMLCylinder_rayPick", _wrap_SoVRMLCylinder_rayPick, METH_VARARGS, (char *)"SoVRMLCylinder_rayPick(SoVRMLCylinder self, SoRayPickAction action)"}, - { (char *)"SoVRMLCylinder_getPrimitiveCount", _wrap_SoVRMLCylinder_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLCylinder_getPrimitiveCount(SoVRMLCylinder self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLCylinder_swigregister", SoVRMLCylinder_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSensor_getClassTypeId", _wrap_SoVRMLSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSensor_getTypeId", _wrap_SoVRMLSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLSensor_getTypeId(SoVRMLSensor self) -> SoType"}, - { (char *)"SoVRMLSensor_isActive_set", _wrap_SoVRMLSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLSensor_isActive_set(SoVRMLSensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLSensor_isActive_get", _wrap_SoVRMLSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLSensor_isActive_get(SoVRMLSensor self) -> SoSFBool"}, - { (char *)"SoVRMLSensor_enabled_set", _wrap_SoVRMLSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLSensor_enabled_set(SoVRMLSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLSensor_enabled_get", _wrap_SoVRMLSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLSensor_enabled_get(SoVRMLSensor self) -> SoSFBool"}, - { (char *)"SoVRMLSensor_initClass", _wrap_SoVRMLSensor_initClass, METH_VARARGS, (char *)"SoVRMLSensor_initClass()"}, - { (char *)"SoVRMLSensor_swigregister", SoVRMLSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLDragSensor_getClassTypeId", _wrap_SoVRMLDragSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLDragSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLDragSensor_getTypeId", _wrap_SoVRMLDragSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLDragSensor_getTypeId(SoVRMLDragSensor self) -> SoType"}, - { (char *)"SoVRMLDragSensor_trackPoint_changed_set", _wrap_SoVRMLDragSensor_trackPoint_changed_set, METH_VARARGS, (char *)"SoVRMLDragSensor_trackPoint_changed_set(SoVRMLDragSensor self, SoSFVec3f trackPoint_changed)"}, - { (char *)"SoVRMLDragSensor_trackPoint_changed_get", _wrap_SoVRMLDragSensor_trackPoint_changed_get, METH_VARARGS, (char *)"SoVRMLDragSensor_trackPoint_changed_get(SoVRMLDragSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLDragSensor_autoOffset_set", _wrap_SoVRMLDragSensor_autoOffset_set, METH_VARARGS, (char *)"SoVRMLDragSensor_autoOffset_set(SoVRMLDragSensor self, SoSFBool autoOffset)"}, - { (char *)"SoVRMLDragSensor_autoOffset_get", _wrap_SoVRMLDragSensor_autoOffset_get, METH_VARARGS, (char *)"SoVRMLDragSensor_autoOffset_get(SoVRMLDragSensor self) -> SoSFBool"}, - { (char *)"SoVRMLDragSensor_handleEvent", _wrap_SoVRMLDragSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLDragSensor_handleEvent(SoVRMLDragSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLDragSensor_initClass", _wrap_SoVRMLDragSensor_initClass, METH_VARARGS, (char *)"SoVRMLDragSensor_initClass()"}, - { (char *)"SoVRMLDragSensor_swigregister", SoVRMLDragSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLCylinderSensor_getClassTypeId", _wrap_SoVRMLCylinderSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLCylinderSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLCylinderSensor_getTypeId", _wrap_SoVRMLCylinderSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLCylinderSensor_getTypeId(SoVRMLCylinderSensor self) -> SoType"}, - { (char *)"SoVRMLCylinderSensor_initClass", _wrap_SoVRMLCylinderSensor_initClass, METH_VARARGS, (char *)"SoVRMLCylinderSensor_initClass()"}, - { (char *)"new_SoVRMLCylinderSensor", _wrap_new_SoVRMLCylinderSensor, METH_VARARGS, (char *)"new_SoVRMLCylinderSensor() -> SoVRMLCylinderSensor"}, - { (char *)"SoVRMLCylinderSensor_diskAngle_set", _wrap_SoVRMLCylinderSensor_diskAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_diskAngle_set(SoVRMLCylinderSensor self, SoSFFloat diskAngle)"}, - { (char *)"SoVRMLCylinderSensor_diskAngle_get", _wrap_SoVRMLCylinderSensor_diskAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_diskAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_maxAngle_set", _wrap_SoVRMLCylinderSensor_maxAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_maxAngle_set(SoVRMLCylinderSensor self, SoSFFloat maxAngle)"}, - { (char *)"SoVRMLCylinderSensor_maxAngle_get", _wrap_SoVRMLCylinderSensor_maxAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_maxAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_minAngle_set", _wrap_SoVRMLCylinderSensor_minAngle_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_minAngle_set(SoVRMLCylinderSensor self, SoSFFloat minAngle)"}, - { (char *)"SoVRMLCylinderSensor_minAngle_get", _wrap_SoVRMLCylinderSensor_minAngle_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_minAngle_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_offset_set", _wrap_SoVRMLCylinderSensor_offset_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_offset_set(SoVRMLCylinderSensor self, SoSFFloat offset)"}, - { (char *)"SoVRMLCylinderSensor_offset_get", _wrap_SoVRMLCylinderSensor_offset_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_offset_get(SoVRMLCylinderSensor self) -> SoSFFloat"}, - { (char *)"SoVRMLCylinderSensor_rotation_changed_set", _wrap_SoVRMLCylinderSensor_rotation_changed_set, METH_VARARGS, (char *)"SoVRMLCylinderSensor_rotation_changed_set(SoVRMLCylinderSensor self, SoSFRotation rotation_changed)"}, - { (char *)"SoVRMLCylinderSensor_rotation_changed_get", _wrap_SoVRMLCylinderSensor_rotation_changed_get, METH_VARARGS, (char *)"SoVRMLCylinderSensor_rotation_changed_get(SoVRMLCylinderSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLCylinderSensor_swigregister", SoVRMLCylinderSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLLight_getClassTypeId", _wrap_SoVRMLLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLLight_getTypeId", _wrap_SoVRMLLight_getTypeId, METH_VARARGS, (char *)"SoVRMLLight_getTypeId(SoVRMLLight self) -> SoType"}, - { (char *)"SoVRMLLight_initClass", _wrap_SoVRMLLight_initClass, METH_VARARGS, (char *)"SoVRMLLight_initClass()"}, - { (char *)"SoVRMLLight_on_set", _wrap_SoVRMLLight_on_set, METH_VARARGS, (char *)"SoVRMLLight_on_set(SoVRMLLight self, SoSFBool on)"}, - { (char *)"SoVRMLLight_on_get", _wrap_SoVRMLLight_on_get, METH_VARARGS, (char *)"SoVRMLLight_on_get(SoVRMLLight self) -> SoSFBool"}, - { (char *)"SoVRMLLight_intensity_set", _wrap_SoVRMLLight_intensity_set, METH_VARARGS, (char *)"SoVRMLLight_intensity_set(SoVRMLLight self, SoSFFloat intensity)"}, - { (char *)"SoVRMLLight_intensity_get", _wrap_SoVRMLLight_intensity_get, METH_VARARGS, (char *)"SoVRMLLight_intensity_get(SoVRMLLight self) -> SoSFFloat"}, - { (char *)"SoVRMLLight_color_set", _wrap_SoVRMLLight_color_set, METH_VARARGS, (char *)"SoVRMLLight_color_set(SoVRMLLight self, SoSFColor color)"}, - { (char *)"SoVRMLLight_color_get", _wrap_SoVRMLLight_color_get, METH_VARARGS, (char *)"SoVRMLLight_color_get(SoVRMLLight self) -> SoSFColor"}, - { (char *)"SoVRMLLight_ambientIntensity_set", _wrap_SoVRMLLight_ambientIntensity_set, METH_VARARGS, (char *)"SoVRMLLight_ambientIntensity_set(SoVRMLLight self, SoSFFloat ambientIntensity)"}, - { (char *)"SoVRMLLight_ambientIntensity_get", _wrap_SoVRMLLight_ambientIntensity_get, METH_VARARGS, (char *)"SoVRMLLight_ambientIntensity_get(SoVRMLLight self) -> SoSFFloat"}, - { (char *)"SoVRMLLight_GLRender", _wrap_SoVRMLLight_GLRender, METH_VARARGS, (char *)"SoVRMLLight_GLRender(SoVRMLLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLight_swigregister", SoVRMLLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLDirectionalLight_getClassTypeId", _wrap_SoVRMLDirectionalLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLDirectionalLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLDirectionalLight_getTypeId", _wrap_SoVRMLDirectionalLight_getTypeId, METH_VARARGS, (char *)"SoVRMLDirectionalLight_getTypeId(SoVRMLDirectionalLight self) -> SoType"}, - { (char *)"SoVRMLDirectionalLight_initClass", _wrap_SoVRMLDirectionalLight_initClass, METH_VARARGS, (char *)"SoVRMLDirectionalLight_initClass()"}, - { (char *)"new_SoVRMLDirectionalLight", _wrap_new_SoVRMLDirectionalLight, METH_VARARGS, (char *)"new_SoVRMLDirectionalLight() -> SoVRMLDirectionalLight"}, - { (char *)"SoVRMLDirectionalLight_direction_set", _wrap_SoVRMLDirectionalLight_direction_set, METH_VARARGS, (char *)"SoVRMLDirectionalLight_direction_set(SoVRMLDirectionalLight self, SoSFVec3f direction)"}, - { (char *)"SoVRMLDirectionalLight_direction_get", _wrap_SoVRMLDirectionalLight_direction_get, METH_VARARGS, (char *)"SoVRMLDirectionalLight_direction_get(SoVRMLDirectionalLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLDirectionalLight_GLRender", _wrap_SoVRMLDirectionalLight_GLRender, METH_VARARGS, (char *)"SoVRMLDirectionalLight_GLRender(SoVRMLDirectionalLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLDirectionalLight_swigregister", SoVRMLDirectionalLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLElevationGrid_getClassTypeId", _wrap_SoVRMLElevationGrid_getClassTypeId, METH_VARARGS, (char *)"SoVRMLElevationGrid_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLElevationGrid_getTypeId", _wrap_SoVRMLElevationGrid_getTypeId, METH_VARARGS, (char *)"SoVRMLElevationGrid_getTypeId(SoVRMLElevationGrid self) -> SoType"}, - { (char *)"SoVRMLElevationGrid_initClass", _wrap_SoVRMLElevationGrid_initClass, METH_VARARGS, (char *)"SoVRMLElevationGrid_initClass()"}, - { (char *)"new_SoVRMLElevationGrid", _wrap_new_SoVRMLElevationGrid, METH_VARARGS, (char *)"new_SoVRMLElevationGrid() -> SoVRMLElevationGrid"}, - { (char *)"SoVRMLElevationGrid_ccw_set", _wrap_SoVRMLElevationGrid_ccw_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_ccw_set(SoVRMLElevationGrid self, SoSFBool ccw)"}, - { (char *)"SoVRMLElevationGrid_ccw_get", _wrap_SoVRMLElevationGrid_ccw_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_ccw_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_solid_set", _wrap_SoVRMLElevationGrid_solid_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_solid_set(SoVRMLElevationGrid self, SoSFBool solid)"}, - { (char *)"SoVRMLElevationGrid_solid_get", _wrap_SoVRMLElevationGrid_solid_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_solid_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_creaseAngle_set", _wrap_SoVRMLElevationGrid_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_creaseAngle_set(SoVRMLElevationGrid self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLElevationGrid_creaseAngle_get", _wrap_SoVRMLElevationGrid_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_creaseAngle_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_zDimension_set", _wrap_SoVRMLElevationGrid_zDimension_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_zDimension_set(SoVRMLElevationGrid self, SoSFInt32 zDimension)"}, - { (char *)"SoVRMLElevationGrid_zDimension_get", _wrap_SoVRMLElevationGrid_zDimension_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_zDimension_get(SoVRMLElevationGrid self) -> SoSFInt32"}, - { (char *)"SoVRMLElevationGrid_xDimension_set", _wrap_SoVRMLElevationGrid_xDimension_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_xDimension_set(SoVRMLElevationGrid self, SoSFInt32 xDimension)"}, - { (char *)"SoVRMLElevationGrid_xDimension_get", _wrap_SoVRMLElevationGrid_xDimension_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_xDimension_get(SoVRMLElevationGrid self) -> SoSFInt32"}, - { (char *)"SoVRMLElevationGrid_zSpacing_set", _wrap_SoVRMLElevationGrid_zSpacing_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_zSpacing_set(SoVRMLElevationGrid self, SoSFFloat zSpacing)"}, - { (char *)"SoVRMLElevationGrid_zSpacing_get", _wrap_SoVRMLElevationGrid_zSpacing_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_zSpacing_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_xSpacing_set", _wrap_SoVRMLElevationGrid_xSpacing_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_xSpacing_set(SoVRMLElevationGrid self, SoSFFloat xSpacing)"}, - { (char *)"SoVRMLElevationGrid_xSpacing_get", _wrap_SoVRMLElevationGrid_xSpacing_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_xSpacing_get(SoVRMLElevationGrid self) -> SoSFFloat"}, - { (char *)"SoVRMLElevationGrid_height_set", _wrap_SoVRMLElevationGrid_height_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_height_set(SoVRMLElevationGrid self, SoMFFloat height)"}, - { (char *)"SoVRMLElevationGrid_height_get", _wrap_SoVRMLElevationGrid_height_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_height_get(SoVRMLElevationGrid self) -> SoMFFloat"}, - { (char *)"SoVRMLElevationGrid_texCoord_set", _wrap_SoVRMLElevationGrid_texCoord_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_texCoord_set(SoVRMLElevationGrid self, SoSFNode texCoord)"}, - { (char *)"SoVRMLElevationGrid_texCoord_get", _wrap_SoVRMLElevationGrid_texCoord_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_texCoord_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_normal_set", _wrap_SoVRMLElevationGrid_normal_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_normal_set(SoVRMLElevationGrid self, SoSFNode normal)"}, - { (char *)"SoVRMLElevationGrid_normal_get", _wrap_SoVRMLElevationGrid_normal_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_normal_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_color_set", _wrap_SoVRMLElevationGrid_color_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_color_set(SoVRMLElevationGrid self, SoSFNode color)"}, - { (char *)"SoVRMLElevationGrid_color_get", _wrap_SoVRMLElevationGrid_color_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_color_get(SoVRMLElevationGrid self) -> SoSFNode"}, - { (char *)"SoVRMLElevationGrid_colorPerVertex_set", _wrap_SoVRMLElevationGrid_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_colorPerVertex_set(SoVRMLElevationGrid self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLElevationGrid_colorPerVertex_get", _wrap_SoVRMLElevationGrid_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_colorPerVertex_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_normalPerVertex_set", _wrap_SoVRMLElevationGrid_normalPerVertex_set, METH_VARARGS, (char *)"SoVRMLElevationGrid_normalPerVertex_set(SoVRMLElevationGrid self, SoSFBool normalPerVertex)"}, - { (char *)"SoVRMLElevationGrid_normalPerVertex_get", _wrap_SoVRMLElevationGrid_normalPerVertex_get, METH_VARARGS, (char *)"SoVRMLElevationGrid_normalPerVertex_get(SoVRMLElevationGrid self) -> SoSFBool"}, - { (char *)"SoVRMLElevationGrid_GLRender", _wrap_SoVRMLElevationGrid_GLRender, METH_VARARGS, (char *)"SoVRMLElevationGrid_GLRender(SoVRMLElevationGrid self, SoGLRenderAction action)"}, - { (char *)"SoVRMLElevationGrid_rayPick", _wrap_SoVRMLElevationGrid_rayPick, METH_VARARGS, (char *)"SoVRMLElevationGrid_rayPick(SoVRMLElevationGrid self, SoRayPickAction action)"}, - { (char *)"SoVRMLElevationGrid_getPrimitiveCount", _wrap_SoVRMLElevationGrid_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLElevationGrid_getPrimitiveCount(SoVRMLElevationGrid self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLElevationGrid_swigregister", SoVRMLElevationGrid_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLExtrusion_getClassTypeId", _wrap_SoVRMLExtrusion_getClassTypeId, METH_VARARGS, (char *)"SoVRMLExtrusion_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLExtrusion_getTypeId", _wrap_SoVRMLExtrusion_getTypeId, METH_VARARGS, (char *)"SoVRMLExtrusion_getTypeId(SoVRMLExtrusion self) -> SoType"}, - { (char *)"SoVRMLExtrusion_initClass", _wrap_SoVRMLExtrusion_initClass, METH_VARARGS, (char *)"SoVRMLExtrusion_initClass()"}, - { (char *)"new_SoVRMLExtrusion", _wrap_new_SoVRMLExtrusion, METH_VARARGS, (char *)"new_SoVRMLExtrusion() -> SoVRMLExtrusion"}, - { (char *)"SoVRMLExtrusion_beginCap_set", _wrap_SoVRMLExtrusion_beginCap_set, METH_VARARGS, (char *)"SoVRMLExtrusion_beginCap_set(SoVRMLExtrusion self, SoSFBool beginCap)"}, - { (char *)"SoVRMLExtrusion_beginCap_get", _wrap_SoVRMLExtrusion_beginCap_get, METH_VARARGS, (char *)"SoVRMLExtrusion_beginCap_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_ccw_set", _wrap_SoVRMLExtrusion_ccw_set, METH_VARARGS, (char *)"SoVRMLExtrusion_ccw_set(SoVRMLExtrusion self, SoSFBool ccw)"}, - { (char *)"SoVRMLExtrusion_ccw_get", _wrap_SoVRMLExtrusion_ccw_get, METH_VARARGS, (char *)"SoVRMLExtrusion_ccw_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_convex_set", _wrap_SoVRMLExtrusion_convex_set, METH_VARARGS, (char *)"SoVRMLExtrusion_convex_set(SoVRMLExtrusion self, SoSFBool convex)"}, - { (char *)"SoVRMLExtrusion_convex_get", _wrap_SoVRMLExtrusion_convex_get, METH_VARARGS, (char *)"SoVRMLExtrusion_convex_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_creaseAngle_set", _wrap_SoVRMLExtrusion_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLExtrusion_creaseAngle_set(SoVRMLExtrusion self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLExtrusion_creaseAngle_get", _wrap_SoVRMLExtrusion_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLExtrusion_creaseAngle_get(SoVRMLExtrusion self) -> SoSFFloat"}, - { (char *)"SoVRMLExtrusion_crossSection_set", _wrap_SoVRMLExtrusion_crossSection_set, METH_VARARGS, (char *)"SoVRMLExtrusion_crossSection_set(SoVRMLExtrusion self, SoMFVec2f crossSection)"}, - { (char *)"SoVRMLExtrusion_crossSection_get", _wrap_SoVRMLExtrusion_crossSection_get, METH_VARARGS, (char *)"SoVRMLExtrusion_crossSection_get(SoVRMLExtrusion self) -> SoMFVec2f"}, - { (char *)"SoVRMLExtrusion_endCap_set", _wrap_SoVRMLExtrusion_endCap_set, METH_VARARGS, (char *)"SoVRMLExtrusion_endCap_set(SoVRMLExtrusion self, SoSFBool endCap)"}, - { (char *)"SoVRMLExtrusion_endCap_get", _wrap_SoVRMLExtrusion_endCap_get, METH_VARARGS, (char *)"SoVRMLExtrusion_endCap_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_orientation_set", _wrap_SoVRMLExtrusion_orientation_set, METH_VARARGS, (char *)"SoVRMLExtrusion_orientation_set(SoVRMLExtrusion self, SoMFRotation orientation)"}, - { (char *)"SoVRMLExtrusion_orientation_get", _wrap_SoVRMLExtrusion_orientation_get, METH_VARARGS, (char *)"SoVRMLExtrusion_orientation_get(SoVRMLExtrusion self) -> SoMFRotation"}, - { (char *)"SoVRMLExtrusion_scale_set", _wrap_SoVRMLExtrusion_scale_set, METH_VARARGS, (char *)"SoVRMLExtrusion_scale_set(SoVRMLExtrusion self, SoMFVec2f scale)"}, - { (char *)"SoVRMLExtrusion_scale_get", _wrap_SoVRMLExtrusion_scale_get, METH_VARARGS, (char *)"SoVRMLExtrusion_scale_get(SoVRMLExtrusion self) -> SoMFVec2f"}, - { (char *)"SoVRMLExtrusion_solid_set", _wrap_SoVRMLExtrusion_solid_set, METH_VARARGS, (char *)"SoVRMLExtrusion_solid_set(SoVRMLExtrusion self, SoSFBool solid)"}, - { (char *)"SoVRMLExtrusion_solid_get", _wrap_SoVRMLExtrusion_solid_get, METH_VARARGS, (char *)"SoVRMLExtrusion_solid_get(SoVRMLExtrusion self) -> SoSFBool"}, - { (char *)"SoVRMLExtrusion_spine_set", _wrap_SoVRMLExtrusion_spine_set, METH_VARARGS, (char *)"SoVRMLExtrusion_spine_set(SoVRMLExtrusion self, SoMFVec3f spine)"}, - { (char *)"SoVRMLExtrusion_spine_get", _wrap_SoVRMLExtrusion_spine_get, METH_VARARGS, (char *)"SoVRMLExtrusion_spine_get(SoVRMLExtrusion self) -> SoMFVec3f"}, - { (char *)"SoVRMLExtrusion_GLRender", _wrap_SoVRMLExtrusion_GLRender, METH_VARARGS, (char *)"SoVRMLExtrusion_GLRender(SoVRMLExtrusion self, SoGLRenderAction action)"}, - { (char *)"SoVRMLExtrusion_getPrimitiveCount", _wrap_SoVRMLExtrusion_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLExtrusion_getPrimitiveCount(SoVRMLExtrusion self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLExtrusion_computeBBox", _wrap_SoVRMLExtrusion_computeBBox, METH_VARARGS, (char *)"\n" - "SoVRMLExtrusion_computeBBox(SoVRMLExtrusion self, SoAction action, SbBox3f bbox, \n" - " SbVec3f center)\n" - ""}, - { (char *)"SoVRMLExtrusion_swigregister", SoVRMLExtrusion_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLFog_getClassTypeId", _wrap_SoVRMLFog_getClassTypeId, METH_VARARGS, (char *)"SoVRMLFog_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLFog_getTypeId", _wrap_SoVRMLFog_getTypeId, METH_VARARGS, (char *)"SoVRMLFog_getTypeId(SoVRMLFog self) -> SoType"}, - { (char *)"SoVRMLFog_initClass", _wrap_SoVRMLFog_initClass, METH_VARARGS, (char *)"SoVRMLFog_initClass()"}, - { (char *)"new_SoVRMLFog", _wrap_new_SoVRMLFog, METH_VARARGS, (char *)"new_SoVRMLFog() -> SoVRMLFog"}, - { (char *)"SoVRMLFog_fogType_set", _wrap_SoVRMLFog_fogType_set, METH_VARARGS, (char *)"SoVRMLFog_fogType_set(SoVRMLFog self, SoSFString fogType)"}, - { (char *)"SoVRMLFog_fogType_get", _wrap_SoVRMLFog_fogType_get, METH_VARARGS, (char *)"SoVRMLFog_fogType_get(SoVRMLFog self) -> SoSFString"}, - { (char *)"SoVRMLFog_visibilityRange_set", _wrap_SoVRMLFog_visibilityRange_set, METH_VARARGS, (char *)"SoVRMLFog_visibilityRange_set(SoVRMLFog self, SoSFFloat visibilityRange)"}, - { (char *)"SoVRMLFog_visibilityRange_get", _wrap_SoVRMLFog_visibilityRange_get, METH_VARARGS, (char *)"SoVRMLFog_visibilityRange_get(SoVRMLFog self) -> SoSFFloat"}, - { (char *)"SoVRMLFog_color_set", _wrap_SoVRMLFog_color_set, METH_VARARGS, (char *)"SoVRMLFog_color_set(SoVRMLFog self, SoSFColor color)"}, - { (char *)"SoVRMLFog_color_get", _wrap_SoVRMLFog_color_get, METH_VARARGS, (char *)"SoVRMLFog_color_get(SoVRMLFog self) -> SoSFColor"}, - { (char *)"SoVRMLFog_GLRender", _wrap_SoVRMLFog_GLRender, METH_VARARGS, (char *)"SoVRMLFog_GLRender(SoVRMLFog self, SoGLRenderAction action)"}, - { (char *)"SoVRMLFog_swigregister", SoVRMLFog_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLFontStyle_getClassTypeId", _wrap_SoVRMLFontStyle_getClassTypeId, METH_VARARGS, (char *)"SoVRMLFontStyle_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLFontStyle_getTypeId", _wrap_SoVRMLFontStyle_getTypeId, METH_VARARGS, (char *)"SoVRMLFontStyle_getTypeId(SoVRMLFontStyle self) -> SoType"}, - { (char *)"SoVRMLFontStyle_initClass", _wrap_SoVRMLFontStyle_initClass, METH_VARARGS, (char *)"SoVRMLFontStyle_initClass()"}, - { (char *)"new_SoVRMLFontStyle", _wrap_new_SoVRMLFontStyle, METH_VARARGS, (char *)"new_SoVRMLFontStyle() -> SoVRMLFontStyle"}, - { (char *)"SoVRMLFontStyle_size_set", _wrap_SoVRMLFontStyle_size_set, METH_VARARGS, (char *)"SoVRMLFontStyle_size_set(SoVRMLFontStyle self, SoSFFloat size)"}, - { (char *)"SoVRMLFontStyle_size_get", _wrap_SoVRMLFontStyle_size_get, METH_VARARGS, (char *)"SoVRMLFontStyle_size_get(SoVRMLFontStyle self) -> SoSFFloat"}, - { (char *)"SoVRMLFontStyle_family_set", _wrap_SoVRMLFontStyle_family_set, METH_VARARGS, (char *)"SoVRMLFontStyle_family_set(SoVRMLFontStyle self, SoMFString family)"}, - { (char *)"SoVRMLFontStyle_family_get", _wrap_SoVRMLFontStyle_family_get, METH_VARARGS, (char *)"SoVRMLFontStyle_family_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_style_set", _wrap_SoVRMLFontStyle_style_set, METH_VARARGS, (char *)"SoVRMLFontStyle_style_set(SoVRMLFontStyle self, SoMFString style)"}, - { (char *)"SoVRMLFontStyle_style_get", _wrap_SoVRMLFontStyle_style_get, METH_VARARGS, (char *)"SoVRMLFontStyle_style_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_horizontal_set", _wrap_SoVRMLFontStyle_horizontal_set, METH_VARARGS, (char *)"SoVRMLFontStyle_horizontal_set(SoVRMLFontStyle self, SoSFBool horizontal)"}, - { (char *)"SoVRMLFontStyle_horizontal_get", _wrap_SoVRMLFontStyle_horizontal_get, METH_VARARGS, (char *)"SoVRMLFontStyle_horizontal_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_leftToRight_set", _wrap_SoVRMLFontStyle_leftToRight_set, METH_VARARGS, (char *)"SoVRMLFontStyle_leftToRight_set(SoVRMLFontStyle self, SoSFBool leftToRight)"}, - { (char *)"SoVRMLFontStyle_leftToRight_get", _wrap_SoVRMLFontStyle_leftToRight_get, METH_VARARGS, (char *)"SoVRMLFontStyle_leftToRight_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_topToBottom_set", _wrap_SoVRMLFontStyle_topToBottom_set, METH_VARARGS, (char *)"SoVRMLFontStyle_topToBottom_set(SoVRMLFontStyle self, SoSFBool topToBottom)"}, - { (char *)"SoVRMLFontStyle_topToBottom_get", _wrap_SoVRMLFontStyle_topToBottom_get, METH_VARARGS, (char *)"SoVRMLFontStyle_topToBottom_get(SoVRMLFontStyle self) -> SoSFBool"}, - { (char *)"SoVRMLFontStyle_language_set", _wrap_SoVRMLFontStyle_language_set, METH_VARARGS, (char *)"SoVRMLFontStyle_language_set(SoVRMLFontStyle self, SoSFString language)"}, - { (char *)"SoVRMLFontStyle_language_get", _wrap_SoVRMLFontStyle_language_get, METH_VARARGS, (char *)"SoVRMLFontStyle_language_get(SoVRMLFontStyle self) -> SoSFString"}, - { (char *)"SoVRMLFontStyle_justify_set", _wrap_SoVRMLFontStyle_justify_set, METH_VARARGS, (char *)"SoVRMLFontStyle_justify_set(SoVRMLFontStyle self, SoMFString justify)"}, - { (char *)"SoVRMLFontStyle_justify_get", _wrap_SoVRMLFontStyle_justify_get, METH_VARARGS, (char *)"SoVRMLFontStyle_justify_get(SoVRMLFontStyle self) -> SoMFString"}, - { (char *)"SoVRMLFontStyle_spacing_set", _wrap_SoVRMLFontStyle_spacing_set, METH_VARARGS, (char *)"SoVRMLFontStyle_spacing_set(SoVRMLFontStyle self, SoSFFloat spacing)"}, - { (char *)"SoVRMLFontStyle_spacing_get", _wrap_SoVRMLFontStyle_spacing_get, METH_VARARGS, (char *)"SoVRMLFontStyle_spacing_get(SoVRMLFontStyle self) -> SoSFFloat"}, - { (char *)"SoVRMLFontStyle_getFontName", _wrap_SoVRMLFontStyle_getFontName, METH_VARARGS, (char *)"SoVRMLFontStyle_getFontName(SoVRMLFontStyle self) -> SbString"}, - { (char *)"SoVRMLFontStyle_doAction", _wrap_SoVRMLFontStyle_doAction, METH_VARARGS, (char *)"SoVRMLFontStyle_doAction(SoVRMLFontStyle self, SoAction action)"}, - { (char *)"SoVRMLFontStyle_callback", _wrap_SoVRMLFontStyle_callback, METH_VARARGS, (char *)"SoVRMLFontStyle_callback(SoVRMLFontStyle self, SoCallbackAction action)"}, - { (char *)"SoVRMLFontStyle_GLRender", _wrap_SoVRMLFontStyle_GLRender, METH_VARARGS, (char *)"SoVRMLFontStyle_GLRender(SoVRMLFontStyle self, SoGLRenderAction action)"}, - { (char *)"SoVRMLFontStyle_getBoundingBox", _wrap_SoVRMLFontStyle_getBoundingBox, METH_VARARGS, (char *)"SoVRMLFontStyle_getBoundingBox(SoVRMLFontStyle self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLFontStyle_pick", _wrap_SoVRMLFontStyle_pick, METH_VARARGS, (char *)"SoVRMLFontStyle_pick(SoVRMLFontStyle self, SoPickAction action)"}, - { (char *)"SoVRMLFontStyle_getPrimitiveCount", _wrap_SoVRMLFontStyle_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLFontStyle_getPrimitiveCount(SoVRMLFontStyle self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLFontStyle_swigregister", SoVRMLFontStyle_swigregister, METH_VARARGS, NULL}, - { (char *)"so_vrml_init", _wrap_so_vrml_init, METH_VARARGS, (char *)"so_vrml_init()"}, - { (char *)"SoVRMLTexture_getClassTypeId", _wrap_SoVRMLTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTexture_getTypeId", _wrap_SoVRMLTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLTexture_getTypeId(SoVRMLTexture self) -> SoType"}, - { (char *)"SoVRMLTexture_initClass", _wrap_SoVRMLTexture_initClass, METH_VARARGS, (char *)"SoVRMLTexture_initClass()"}, - { (char *)"SoVRMLTexture_repeatS_set", _wrap_SoVRMLTexture_repeatS_set, METH_VARARGS, (char *)"SoVRMLTexture_repeatS_set(SoVRMLTexture self, SoSFBool repeatS)"}, - { (char *)"SoVRMLTexture_repeatS_get", _wrap_SoVRMLTexture_repeatS_get, METH_VARARGS, (char *)"SoVRMLTexture_repeatS_get(SoVRMLTexture self) -> SoSFBool"}, - { (char *)"SoVRMLTexture_repeatT_set", _wrap_SoVRMLTexture_repeatT_set, METH_VARARGS, (char *)"SoVRMLTexture_repeatT_set(SoVRMLTexture self, SoSFBool repeatT)"}, - { (char *)"SoVRMLTexture_repeatT_get", _wrap_SoVRMLTexture_repeatT_get, METH_VARARGS, (char *)"SoVRMLTexture_repeatT_get(SoVRMLTexture self) -> SoSFBool"}, - { (char *)"SoVRMLTexture_GLRender", _wrap_SoVRMLTexture_GLRender, METH_VARARGS, (char *)"SoVRMLTexture_GLRender(SoVRMLTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTexture_swigregister", SoVRMLTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLImageTexture_getClassTypeId", _wrap_SoVRMLImageTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLImageTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLImageTexture_getTypeId", _wrap_SoVRMLImageTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLImageTexture_getTypeId(SoVRMLImageTexture self) -> SoType"}, - { (char *)"SoVRMLImageTexture_initClass", _wrap_SoVRMLImageTexture_initClass, METH_VARARGS, (char *)"SoVRMLImageTexture_initClass()"}, - { (char *)"new_SoVRMLImageTexture", _wrap_new_SoVRMLImageTexture, METH_VARARGS, (char *)"new_SoVRMLImageTexture() -> SoVRMLImageTexture"}, - { (char *)"SoVRMLImageTexture_url_set", _wrap_SoVRMLImageTexture_url_set, METH_VARARGS, (char *)"SoVRMLImageTexture_url_set(SoVRMLImageTexture self, SoMFString url)"}, - { (char *)"SoVRMLImageTexture_url_get", _wrap_SoVRMLImageTexture_url_get, METH_VARARGS, (char *)"SoVRMLImageTexture_url_get(SoVRMLImageTexture self) -> SoMFString"}, - { (char *)"SoVRMLImageTexture_setDelayFetchURL", _wrap_SoVRMLImageTexture_setDelayFetchURL, METH_VARARGS, (char *)"SoVRMLImageTexture_setDelayFetchURL(SbBool onoff)"}, - { (char *)"SoVRMLImageTexture_setPrequalifyFileCallBack", _wrap_SoVRMLImageTexture_setPrequalifyFileCallBack, METH_VARARGS, (char *)"SoVRMLImageTexture_setPrequalifyFileCallBack(VRMLPrequalifyFileCallback cb, void closure)"}, - { (char *)"SoVRMLImageTexture_allowPrequalifyFile", _wrap_SoVRMLImageTexture_allowPrequalifyFile, METH_VARARGS, (char *)"SoVRMLImageTexture_allowPrequalifyFile(SoVRMLImageTexture self, SbBool enable)"}, - { (char *)"SoVRMLImageTexture_doAction", _wrap_SoVRMLImageTexture_doAction, METH_VARARGS, (char *)"SoVRMLImageTexture_doAction(SoVRMLImageTexture self, SoAction action)"}, - { (char *)"SoVRMLImageTexture_GLRender", _wrap_SoVRMLImageTexture_GLRender, METH_VARARGS, (char *)"SoVRMLImageTexture_GLRender(SoVRMLImageTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLImageTexture_callback", _wrap_SoVRMLImageTexture_callback, METH_VARARGS, (char *)"SoVRMLImageTexture_callback(SoVRMLImageTexture self, SoCallbackAction action)"}, - { (char *)"SoVRMLImageTexture_rayPick", _wrap_SoVRMLImageTexture_rayPick, METH_VARARGS, (char *)"SoVRMLImageTexture_rayPick(SoVRMLImageTexture self, SoRayPickAction action)"}, - { (char *)"SoVRMLImageTexture_setImage", _wrap_SoVRMLImageTexture_setImage, METH_VARARGS, (char *)"SoVRMLImageTexture_setImage(SoVRMLImageTexture self, SbImage image)"}, - { (char *)"SoVRMLImageTexture_getImage", _wrap_SoVRMLImageTexture_getImage, METH_VARARGS, (char *)"SoVRMLImageTexture_getImage(SoVRMLImageTexture self) -> SbImage"}, - { (char *)"SoVRMLImageTexture_setImageDataMaxAge", _wrap_SoVRMLImageTexture_setImageDataMaxAge, METH_VARARGS, (char *)"SoVRMLImageTexture_setImageDataMaxAge(uint32_t maxage)"}, - { (char *)"SoVRMLImageTexture_swigregister", SoVRMLImageTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexShape_getClassTypeId", _wrap_SoVRMLVertexShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexShape_getTypeId", _wrap_SoVRMLVertexShape_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexShape_getTypeId(SoVRMLVertexShape self) -> SoType"}, - { (char *)"SoVRMLVertexShape_initClass", _wrap_SoVRMLVertexShape_initClass, METH_VARARGS, (char *)"SoVRMLVertexShape_initClass()"}, - { (char *)"SoVRMLVertexShape_coord_set", _wrap_SoVRMLVertexShape_coord_set, METH_VARARGS, (char *)"SoVRMLVertexShape_coord_set(SoVRMLVertexShape self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexShape_coord_get", _wrap_SoVRMLVertexShape_coord_get, METH_VARARGS, (char *)"SoVRMLVertexShape_coord_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_texCoord_set", _wrap_SoVRMLVertexShape_texCoord_set, METH_VARARGS, (char *)"SoVRMLVertexShape_texCoord_set(SoVRMLVertexShape self, SoSFNode texCoord)"}, - { (char *)"SoVRMLVertexShape_texCoord_get", _wrap_SoVRMLVertexShape_texCoord_get, METH_VARARGS, (char *)"SoVRMLVertexShape_texCoord_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_normal_set", _wrap_SoVRMLVertexShape_normal_set, METH_VARARGS, (char *)"SoVRMLVertexShape_normal_set(SoVRMLVertexShape self, SoSFNode normal)"}, - { (char *)"SoVRMLVertexShape_normal_get", _wrap_SoVRMLVertexShape_normal_get, METH_VARARGS, (char *)"SoVRMLVertexShape_normal_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_color_set", _wrap_SoVRMLVertexShape_color_set, METH_VARARGS, (char *)"SoVRMLVertexShape_color_set(SoVRMLVertexShape self, SoSFNode color)"}, - { (char *)"SoVRMLVertexShape_color_get", _wrap_SoVRMLVertexShape_color_get, METH_VARARGS, (char *)"SoVRMLVertexShape_color_get(SoVRMLVertexShape self) -> SoSFNode"}, - { (char *)"SoVRMLVertexShape_colorPerVertex_set", _wrap_SoVRMLVertexShape_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexShape_colorPerVertex_set(SoVRMLVertexShape self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLVertexShape_colorPerVertex_get", _wrap_SoVRMLVertexShape_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexShape_colorPerVertex_get(SoVRMLVertexShape self) -> SoSFBool"}, - { (char *)"SoVRMLVertexShape_normalPerVertex_set", _wrap_SoVRMLVertexShape_normalPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexShape_normalPerVertex_set(SoVRMLVertexShape self, SoSFBool normalPerVertex)"}, - { (char *)"SoVRMLVertexShape_normalPerVertex_get", _wrap_SoVRMLVertexShape_normalPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexShape_normalPerVertex_get(SoVRMLVertexShape self) -> SoSFBool"}, - { (char *)"SoVRMLVertexShape_generateDefaultNormals", _wrap_SoVRMLVertexShape_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState s, SoNormalBundle nb) -> SbBool\n" - "SoVRMLVertexShape_generateDefaultNormals(SoVRMLVertexShape self, SoState s, SoNormalCache nc) -> SbBool\n" - ""}, - { (char *)"SoVRMLVertexShape_doAction", _wrap_SoVRMLVertexShape_doAction, METH_VARARGS, (char *)"SoVRMLVertexShape_doAction(SoVRMLVertexShape self, SoAction action)"}, - { (char *)"SoVRMLVertexShape_GLRender", _wrap_SoVRMLVertexShape_GLRender, METH_VARARGS, (char *)"SoVRMLVertexShape_GLRender(SoVRMLVertexShape self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexShape_getBoundingBox", _wrap_SoVRMLVertexShape_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexShape_getBoundingBox(SoVRMLVertexShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexShape_callback", _wrap_SoVRMLVertexShape_callback, METH_VARARGS, (char *)"SoVRMLVertexShape_callback(SoVRMLVertexShape self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexShape_pick", _wrap_SoVRMLVertexShape_pick, METH_VARARGS, (char *)"SoVRMLVertexShape_pick(SoVRMLVertexShape self, SoPickAction action)"}, - { (char *)"SoVRMLVertexShape_notify", _wrap_SoVRMLVertexShape_notify, METH_VARARGS, (char *)"SoVRMLVertexShape_notify(SoVRMLVertexShape self, SoNotList list)"}, - { (char *)"SoVRMLVertexShape_swigregister", SoVRMLVertexShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedShape_getClassTypeId", _wrap_SoVRMLIndexedShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedShape_getTypeId", _wrap_SoVRMLIndexedShape_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedShape_getTypeId(SoVRMLIndexedShape self) -> SoType"}, - { (char *)"SoVRMLIndexedShape_initClass", _wrap_SoVRMLIndexedShape_initClass, METH_VARARGS, (char *)"SoVRMLIndexedShape_initClass()"}, - { (char *)"SoVRMLIndexedShape_coordIndex_set", _wrap_SoVRMLIndexedShape_coordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_coordIndex_set(SoVRMLIndexedShape self, SoMFInt32 coordIndex)"}, - { (char *)"SoVRMLIndexedShape_coordIndex_get", _wrap_SoVRMLIndexedShape_coordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_coordIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_colorIndex_set", _wrap_SoVRMLIndexedShape_colorIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_colorIndex_set(SoVRMLIndexedShape self, SoMFInt32 colorIndex)"}, - { (char *)"SoVRMLIndexedShape_colorIndex_get", _wrap_SoVRMLIndexedShape_colorIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_colorIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_normalIndex_set", _wrap_SoVRMLIndexedShape_normalIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_normalIndex_set(SoVRMLIndexedShape self, SoMFInt32 normalIndex)"}, - { (char *)"SoVRMLIndexedShape_normalIndex_get", _wrap_SoVRMLIndexedShape_normalIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_normalIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_texCoordIndex_set", _wrap_SoVRMLIndexedShape_texCoordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedShape_texCoordIndex_set(SoVRMLIndexedShape self, SoMFInt32 texCoordIndex)"}, - { (char *)"SoVRMLIndexedShape_texCoordIndex_get", _wrap_SoVRMLIndexedShape_texCoordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedShape_texCoordIndex_get(SoVRMLIndexedShape self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedShape_swigregister", SoVRMLIndexedShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedFaceSet_getClassTypeId", _wrap_SoVRMLIndexedFaceSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedFaceSet_getTypeId", _wrap_SoVRMLIndexedFaceSet_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getTypeId(SoVRMLIndexedFaceSet self) -> SoType"}, - { (char *)"SoVRMLIndexedFaceSet_initClass", _wrap_SoVRMLIndexedFaceSet_initClass, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_initClass()"}, - { (char *)"new_SoVRMLIndexedFaceSet", _wrap_new_SoVRMLIndexedFaceSet, METH_VARARGS, (char *)"new_SoVRMLIndexedFaceSet() -> SoVRMLIndexedFaceSet"}, - { (char *)"SoVRMLIndexedFaceSet_ccw_set", _wrap_SoVRMLIndexedFaceSet_ccw_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_ccw_set(SoVRMLIndexedFaceSet self, SoSFBool ccw)"}, - { (char *)"SoVRMLIndexedFaceSet_ccw_get", _wrap_SoVRMLIndexedFaceSet_ccw_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_ccw_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_solid_set", _wrap_SoVRMLIndexedFaceSet_solid_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_solid_set(SoVRMLIndexedFaceSet self, SoSFBool solid)"}, - { (char *)"SoVRMLIndexedFaceSet_solid_get", _wrap_SoVRMLIndexedFaceSet_solid_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_solid_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_convex_set", _wrap_SoVRMLIndexedFaceSet_convex_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_convex_set(SoVRMLIndexedFaceSet self, SoSFBool convex)"}, - { (char *)"SoVRMLIndexedFaceSet_convex_get", _wrap_SoVRMLIndexedFaceSet_convex_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_convex_get(SoVRMLIndexedFaceSet self) -> SoSFBool"}, - { (char *)"SoVRMLIndexedFaceSet_creaseAngle_set", _wrap_SoVRMLIndexedFaceSet_creaseAngle_set, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_creaseAngle_set(SoVRMLIndexedFaceSet self, SoSFFloat creaseAngle)"}, - { (char *)"SoVRMLIndexedFaceSet_creaseAngle_get", _wrap_SoVRMLIndexedFaceSet_creaseAngle_get, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_creaseAngle_get(SoVRMLIndexedFaceSet self) -> SoSFFloat"}, - { (char *)"SoVRMLIndexedFaceSet_GLRender", _wrap_SoVRMLIndexedFaceSet_GLRender, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_GLRender(SoVRMLIndexedFaceSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLIndexedFaceSet_getPrimitiveCount", _wrap_SoVRMLIndexedFaceSet_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLIndexedFaceSet_getPrimitiveCount(SoVRMLIndexedFaceSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLIndexedFaceSet_generateDefaultNormals", _wrap_SoVRMLIndexedFaceSet_generateDefaultNormals, METH_VARARGS, (char *)"\n" - "generateDefaultNormals(SoState s, SoNormalBundle nb) -> SbBool\n" - "SoVRMLIndexedFaceSet_generateDefaultNormals(SoVRMLIndexedFaceSet self, SoState state, SoNormalCache nc) -> SbBool\n" - ""}, - { (char *)"SoVRMLIndexedFaceSet_swigregister", SoVRMLIndexedFaceSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexLine_getClassTypeId", _wrap_SoVRMLVertexLine_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexLine_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexLine_getTypeId", _wrap_SoVRMLVertexLine_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexLine_getTypeId(SoVRMLVertexLine self) -> SoType"}, - { (char *)"SoVRMLVertexLine_initClass", _wrap_SoVRMLVertexLine_initClass, METH_VARARGS, (char *)"SoVRMLVertexLine_initClass()"}, - { (char *)"SoVRMLVertexLine_coord_set", _wrap_SoVRMLVertexLine_coord_set, METH_VARARGS, (char *)"SoVRMLVertexLine_coord_set(SoVRMLVertexLine self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexLine_coord_get", _wrap_SoVRMLVertexLine_coord_get, METH_VARARGS, (char *)"SoVRMLVertexLine_coord_get(SoVRMLVertexLine self) -> SoSFNode"}, - { (char *)"SoVRMLVertexLine_color_set", _wrap_SoVRMLVertexLine_color_set, METH_VARARGS, (char *)"SoVRMLVertexLine_color_set(SoVRMLVertexLine self, SoSFNode color)"}, - { (char *)"SoVRMLVertexLine_color_get", _wrap_SoVRMLVertexLine_color_get, METH_VARARGS, (char *)"SoVRMLVertexLine_color_get(SoVRMLVertexLine self) -> SoSFNode"}, - { (char *)"SoVRMLVertexLine_colorPerVertex_set", _wrap_SoVRMLVertexLine_colorPerVertex_set, METH_VARARGS, (char *)"SoVRMLVertexLine_colorPerVertex_set(SoVRMLVertexLine self, SoSFBool colorPerVertex)"}, - { (char *)"SoVRMLVertexLine_colorPerVertex_get", _wrap_SoVRMLVertexLine_colorPerVertex_get, METH_VARARGS, (char *)"SoVRMLVertexLine_colorPerVertex_get(SoVRMLVertexLine self) -> SoSFBool"}, - { (char *)"SoVRMLVertexLine_doAction", _wrap_SoVRMLVertexLine_doAction, METH_VARARGS, (char *)"SoVRMLVertexLine_doAction(SoVRMLVertexLine self, SoAction action)"}, - { (char *)"SoVRMLVertexLine_GLRender", _wrap_SoVRMLVertexLine_GLRender, METH_VARARGS, (char *)"SoVRMLVertexLine_GLRender(SoVRMLVertexLine self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexLine_getBoundingBox", _wrap_SoVRMLVertexLine_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexLine_getBoundingBox(SoVRMLVertexLine self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexLine_callback", _wrap_SoVRMLVertexLine_callback, METH_VARARGS, (char *)"SoVRMLVertexLine_callback(SoVRMLVertexLine self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexLine_pick", _wrap_SoVRMLVertexLine_pick, METH_VARARGS, (char *)"SoVRMLVertexLine_pick(SoVRMLVertexLine self, SoPickAction action)"}, - { (char *)"SoVRMLVertexLine_notify", _wrap_SoVRMLVertexLine_notify, METH_VARARGS, (char *)"SoVRMLVertexLine_notify(SoVRMLVertexLine self, SoNotList list)"}, - { (char *)"SoVRMLVertexLine_swigregister", SoVRMLVertexLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedLine_getClassTypeId", _wrap_SoVRMLIndexedLine_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLine_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedLine_getTypeId", _wrap_SoVRMLIndexedLine_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLine_getTypeId(SoVRMLIndexedLine self) -> SoType"}, - { (char *)"SoVRMLIndexedLine_initClass", _wrap_SoVRMLIndexedLine_initClass, METH_VARARGS, (char *)"SoVRMLIndexedLine_initClass()"}, - { (char *)"SoVRMLIndexedLine_coordIndex_set", _wrap_SoVRMLIndexedLine_coordIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedLine_coordIndex_set(SoVRMLIndexedLine self, SoMFInt32 coordIndex)"}, - { (char *)"SoVRMLIndexedLine_coordIndex_get", _wrap_SoVRMLIndexedLine_coordIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedLine_coordIndex_get(SoVRMLIndexedLine self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedLine_colorIndex_set", _wrap_SoVRMLIndexedLine_colorIndex_set, METH_VARARGS, (char *)"SoVRMLIndexedLine_colorIndex_set(SoVRMLIndexedLine self, SoMFInt32 colorIndex)"}, - { (char *)"SoVRMLIndexedLine_colorIndex_get", _wrap_SoVRMLIndexedLine_colorIndex_get, METH_VARARGS, (char *)"SoVRMLIndexedLine_colorIndex_get(SoVRMLIndexedLine self) -> SoMFInt32"}, - { (char *)"SoVRMLIndexedLine_swigregister", SoVRMLIndexedLine_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLIndexedLineSet_getClassTypeId", _wrap_SoVRMLIndexedLineSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLIndexedLineSet_getTypeId", _wrap_SoVRMLIndexedLineSet_getTypeId, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getTypeId(SoVRMLIndexedLineSet self) -> SoType"}, - { (char *)"SoVRMLIndexedLineSet_initClass", _wrap_SoVRMLIndexedLineSet_initClass, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_initClass()"}, - { (char *)"new_SoVRMLIndexedLineSet", _wrap_new_SoVRMLIndexedLineSet, METH_VARARGS, (char *)"new_SoVRMLIndexedLineSet() -> SoVRMLIndexedLineSet"}, - { (char *)"SoVRMLIndexedLineSet_GLRender", _wrap_SoVRMLIndexedLineSet_GLRender, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_GLRender(SoVRMLIndexedLineSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLIndexedLineSet_getPrimitiveCount", _wrap_SoVRMLIndexedLineSet_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getPrimitiveCount(SoVRMLIndexedLineSet self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLIndexedLineSet_getBoundingBox", _wrap_SoVRMLIndexedLineSet_getBoundingBox, METH_VARARGS, (char *)"SoVRMLIndexedLineSet_getBoundingBox(SoVRMLIndexedLineSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLIndexedLineSet_swigregister", SoVRMLIndexedLineSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLInline_getClassTypeId", _wrap_SoVRMLInline_getClassTypeId, METH_VARARGS, (char *)"SoVRMLInline_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLInline_getTypeId", _wrap_SoVRMLInline_getTypeId, METH_VARARGS, (char *)"SoVRMLInline_getTypeId(SoVRMLInline self) -> SoType"}, - { (char *)"SoVRMLInline_initClass", _wrap_SoVRMLInline_initClass, METH_VARARGS, (char *)"SoVRMLInline_initClass()"}, - { (char *)"new_SoVRMLInline", _wrap_new_SoVRMLInline, METH_VARARGS, (char *)"new_SoVRMLInline() -> SoVRMLInline"}, - { (char *)"SoVRMLInline_bboxCenter_set", _wrap_SoVRMLInline_bboxCenter_set, METH_VARARGS, (char *)"SoVRMLInline_bboxCenter_set(SoVRMLInline self, SoSFVec3f bboxCenter)"}, - { (char *)"SoVRMLInline_bboxCenter_get", _wrap_SoVRMLInline_bboxCenter_get, METH_VARARGS, (char *)"SoVRMLInline_bboxCenter_get(SoVRMLInline self) -> SoSFVec3f"}, - { (char *)"SoVRMLInline_bboxSize_set", _wrap_SoVRMLInline_bboxSize_set, METH_VARARGS, (char *)"SoVRMLInline_bboxSize_set(SoVRMLInline self, SoSFVec3f bboxSize)"}, - { (char *)"SoVRMLInline_bboxSize_get", _wrap_SoVRMLInline_bboxSize_get, METH_VARARGS, (char *)"SoVRMLInline_bboxSize_get(SoVRMLInline self) -> SoSFVec3f"}, - { (char *)"SoVRMLInline_url_set", _wrap_SoVRMLInline_url_set, METH_VARARGS, (char *)"SoVRMLInline_url_set(SoVRMLInline self, SoMFString url)"}, - { (char *)"SoVRMLInline_url_get", _wrap_SoVRMLInline_url_get, METH_VARARGS, (char *)"SoVRMLInline_url_get(SoVRMLInline self) -> SoMFString"}, - { (char *)"SoVRMLInline_setFullURLName", _wrap_SoVRMLInline_setFullURLName, METH_VARARGS, (char *)"SoVRMLInline_setFullURLName(SoVRMLInline self, SbString url)"}, - { (char *)"SoVRMLInline_getFullURLName", _wrap_SoVRMLInline_getFullURLName, METH_VARARGS, (char *)"SoVRMLInline_getFullURLName(SoVRMLInline self) -> SbString"}, - { (char *)"SoVRMLInline_copyChildren", _wrap_SoVRMLInline_copyChildren, METH_VARARGS, (char *)"SoVRMLInline_copyChildren(SoVRMLInline self) -> SoGroup"}, - { (char *)"SoVRMLInline_requestURLData", _wrap_SoVRMLInline_requestURLData, METH_VARARGS, (char *)"SoVRMLInline_requestURLData(SoVRMLInline self)"}, - { (char *)"SoVRMLInline_isURLDataRequested", _wrap_SoVRMLInline_isURLDataRequested, METH_VARARGS, (char *)"SoVRMLInline_isURLDataRequested(SoVRMLInline self) -> SbBool"}, - { (char *)"SoVRMLInline_isURLDataHere", _wrap_SoVRMLInline_isURLDataHere, METH_VARARGS, (char *)"SoVRMLInline_isURLDataHere(SoVRMLInline self) -> SbBool"}, - { (char *)"SoVRMLInline_cancelURLDataRequest", _wrap_SoVRMLInline_cancelURLDataRequest, METH_VARARGS, (char *)"SoVRMLInline_cancelURLDataRequest(SoVRMLInline self)"}, - { (char *)"SoVRMLInline_setChildData", _wrap_SoVRMLInline_setChildData, METH_VARARGS, (char *)"SoVRMLInline_setChildData(SoVRMLInline self, SoNode urlData)"}, - { (char *)"SoVRMLInline_getChildData", _wrap_SoVRMLInline_getChildData, METH_VARARGS, (char *)"SoVRMLInline_getChildData(SoVRMLInline self) -> SoNode"}, - { (char *)"SoVRMLInline_setFetchURLCallBack", _wrap_SoVRMLInline_setFetchURLCallBack, METH_VARARGS, (char *)"SoVRMLInline_setFetchURLCallBack(SoVRMLInlineFetchURLCB f, void closure)"}, - { (char *)"SoVRMLInline_setBoundingBoxVisibility", _wrap_SoVRMLInline_setBoundingBoxVisibility, METH_VARARGS, (char *)"SoVRMLInline_setBoundingBoxVisibility(BboxVisibility b)"}, - { (char *)"SoVRMLInline_getBoundingBoxVisibility", _wrap_SoVRMLInline_getBoundingBoxVisibility, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBoxVisibility() -> BboxVisibility"}, - { (char *)"SoVRMLInline_setBoundingBoxColor", _wrap_SoVRMLInline_setBoundingBoxColor, METH_VARARGS, (char *)"SoVRMLInline_setBoundingBoxColor(SbColor color)"}, - { (char *)"SoVRMLInline_getBoundingBoxColor", _wrap_SoVRMLInline_getBoundingBoxColor, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBoxColor() -> SbColor"}, - { (char *)"SoVRMLInline_setReadAsSoFile", _wrap_SoVRMLInline_setReadAsSoFile, METH_VARARGS, (char *)"SoVRMLInline_setReadAsSoFile(SbBool enable)"}, - { (char *)"SoVRMLInline_getReadAsSoFile", _wrap_SoVRMLInline_getReadAsSoFile, METH_VARARGS, (char *)"SoVRMLInline_getReadAsSoFile() -> SbBool"}, - { (char *)"SoVRMLInline_doAction", _wrap_SoVRMLInline_doAction, METH_VARARGS, (char *)"SoVRMLInline_doAction(SoVRMLInline self, SoAction action)"}, - { (char *)"SoVRMLInline_callback", _wrap_SoVRMLInline_callback, METH_VARARGS, (char *)"SoVRMLInline_callback(SoVRMLInline self, SoCallbackAction action)"}, - { (char *)"SoVRMLInline_GLRender", _wrap_SoVRMLInline_GLRender, METH_VARARGS, (char *)"SoVRMLInline_GLRender(SoVRMLInline self, SoGLRenderAction action)"}, - { (char *)"SoVRMLInline_getBoundingBox", _wrap_SoVRMLInline_getBoundingBox, METH_VARARGS, (char *)"SoVRMLInline_getBoundingBox(SoVRMLInline self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLInline_getMatrix", _wrap_SoVRMLInline_getMatrix, METH_VARARGS, (char *)"SoVRMLInline_getMatrix(SoVRMLInline self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLInline_handleEvent", _wrap_SoVRMLInline_handleEvent, METH_VARARGS, (char *)"SoVRMLInline_handleEvent(SoVRMLInline self, SoHandleEventAction action)"}, - { (char *)"SoVRMLInline_search", _wrap_SoVRMLInline_search, METH_VARARGS, (char *)"SoVRMLInline_search(SoVRMLInline self, SoSearchAction action)"}, - { (char *)"SoVRMLInline_pick", _wrap_SoVRMLInline_pick, METH_VARARGS, (char *)"SoVRMLInline_pick(SoVRMLInline self, SoPickAction action)"}, - { (char *)"SoVRMLInline_getPrimitiveCount", _wrap_SoVRMLInline_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLInline_getPrimitiveCount(SoVRMLInline self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLInline_getChildren", _wrap_SoVRMLInline_getChildren, METH_VARARGS, (char *)"SoVRMLInline_getChildren(SoVRMLInline self) -> SoChildList"}, - { (char *)"SoVRMLInline_swigregister", SoVRMLInline_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLLOD_getClassTypeId", _wrap_SoVRMLLOD_getClassTypeId, METH_VARARGS, (char *)"SoVRMLLOD_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLLOD_getTypeId", _wrap_SoVRMLLOD_getTypeId, METH_VARARGS, (char *)"SoVRMLLOD_getTypeId(SoVRMLLOD self) -> SoType"}, - { (char *)"SoVRMLLOD_initClass", _wrap_SoVRMLLOD_initClass, METH_VARARGS, (char *)"SoVRMLLOD_initClass()"}, - { (char *)"new_SoVRMLLOD", _wrap_new_SoVRMLLOD, METH_VARARGS, (char *)"\n" - "SoVRMLLOD()\n" - "new_SoVRMLLOD(int levels) -> SoVRMLLOD\n" - ""}, - { (char *)"SoVRMLLOD_range_set", _wrap_SoVRMLLOD_range_set, METH_VARARGS, (char *)"SoVRMLLOD_range_set(SoVRMLLOD self, SoMFFloat range)"}, - { (char *)"SoVRMLLOD_range_get", _wrap_SoVRMLLOD_range_get, METH_VARARGS, (char *)"SoVRMLLOD_range_get(SoVRMLLOD self) -> SoMFFloat"}, - { (char *)"SoVRMLLOD_center_set", _wrap_SoVRMLLOD_center_set, METH_VARARGS, (char *)"SoVRMLLOD_center_set(SoVRMLLOD self, SoSFVec3f center)"}, - { (char *)"SoVRMLLOD_center_get", _wrap_SoVRMLLOD_center_get, METH_VARARGS, (char *)"SoVRMLLOD_center_get(SoVRMLLOD self) -> SoSFVec3f"}, - { (char *)"SoVRMLLOD_level_set", _wrap_SoVRMLLOD_level_set, METH_VARARGS, (char *)"SoVRMLLOD_level_set(SoVRMLLOD self, SoMFNode level)"}, - { (char *)"SoVRMLLOD_level_get", _wrap_SoVRMLLOD_level_get, METH_VARARGS, (char *)"SoVRMLLOD_level_get(SoVRMLLOD self) -> SoMFNode"}, - { (char *)"SoVRMLLOD_affectsState", _wrap_SoVRMLLOD_affectsState, METH_VARARGS, (char *)"SoVRMLLOD_affectsState(SoVRMLLOD self) -> SbBool"}, - { (char *)"SoVRMLLOD_addLevel", _wrap_SoVRMLLOD_addLevel, METH_VARARGS, (char *)"SoVRMLLOD_addLevel(SoVRMLLOD self, SoNode level)"}, - { (char *)"SoVRMLLOD_insertLevel", _wrap_SoVRMLLOD_insertLevel, METH_VARARGS, (char *)"SoVRMLLOD_insertLevel(SoVRMLLOD self, SoNode level, int idx)"}, - { (char *)"SoVRMLLOD_getLevel", _wrap_SoVRMLLOD_getLevel, METH_VARARGS, (char *)"SoVRMLLOD_getLevel(SoVRMLLOD self, int idx) -> SoNode"}, - { (char *)"SoVRMLLOD_findLevel", _wrap_SoVRMLLOD_findLevel, METH_VARARGS, (char *)"SoVRMLLOD_findLevel(SoVRMLLOD self, SoNode level) -> int"}, - { (char *)"SoVRMLLOD_getNumLevels", _wrap_SoVRMLLOD_getNumLevels, METH_VARARGS, (char *)"SoVRMLLOD_getNumLevels(SoVRMLLOD self) -> int"}, - { (char *)"SoVRMLLOD_removeLevel", _wrap_SoVRMLLOD_removeLevel, METH_VARARGS, (char *)"\n" - "removeLevel(int idx)\n" - "SoVRMLLOD_removeLevel(SoVRMLLOD self, SoNode level)\n" - ""}, - { (char *)"SoVRMLLOD_removeAllLevels", _wrap_SoVRMLLOD_removeAllLevels, METH_VARARGS, (char *)"SoVRMLLOD_removeAllLevels(SoVRMLLOD self)"}, - { (char *)"SoVRMLLOD_replaceLevel", _wrap_SoVRMLLOD_replaceLevel, METH_VARARGS, (char *)"\n" - "replaceLevel(int idx, SoNode level)\n" - "SoVRMLLOD_replaceLevel(SoVRMLLOD self, SoNode old, SoNode level)\n" - ""}, - { (char *)"SoVRMLLOD_doAction", _wrap_SoVRMLLOD_doAction, METH_VARARGS, (char *)"SoVRMLLOD_doAction(SoVRMLLOD self, SoAction action)"}, - { (char *)"SoVRMLLOD_callback", _wrap_SoVRMLLOD_callback, METH_VARARGS, (char *)"SoVRMLLOD_callback(SoVRMLLOD self, SoCallbackAction action)"}, - { (char *)"SoVRMLLOD_GLRender", _wrap_SoVRMLLOD_GLRender, METH_VARARGS, (char *)"SoVRMLLOD_GLRender(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_rayPick", _wrap_SoVRMLLOD_rayPick, METH_VARARGS, (char *)"SoVRMLLOD_rayPick(SoVRMLLOD self, SoRayPickAction action)"}, - { (char *)"SoVRMLLOD_getBoundingBox", _wrap_SoVRMLLOD_getBoundingBox, METH_VARARGS, (char *)"SoVRMLLOD_getBoundingBox(SoVRMLLOD self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLLOD_search", _wrap_SoVRMLLOD_search, METH_VARARGS, (char *)"SoVRMLLOD_search(SoVRMLLOD self, SoSearchAction action)"}, - { (char *)"SoVRMLLOD_write", _wrap_SoVRMLLOD_write, METH_VARARGS, (char *)"SoVRMLLOD_write(SoVRMLLOD self, SoWriteAction action)"}, - { (char *)"SoVRMLLOD_getPrimitiveCount", _wrap_SoVRMLLOD_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLLOD_getPrimitiveCount(SoVRMLLOD self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLLOD_audioRender", _wrap_SoVRMLLOD_audioRender, METH_VARARGS, (char *)"SoVRMLLOD_audioRender(SoVRMLLOD self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderBelowPath", _wrap_SoVRMLLOD_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderBelowPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderInPath", _wrap_SoVRMLLOD_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderInPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_GLRenderOffPath", _wrap_SoVRMLLOD_GLRenderOffPath, METH_VARARGS, (char *)"SoVRMLLOD_GLRenderOffPath(SoVRMLLOD self, SoGLRenderAction action)"}, - { (char *)"SoVRMLLOD_addChild", _wrap_SoVRMLLOD_addChild, METH_VARARGS, (char *)"SoVRMLLOD_addChild(SoVRMLLOD self, SoNode child)"}, - { (char *)"SoVRMLLOD_insertChild", _wrap_SoVRMLLOD_insertChild, METH_VARARGS, (char *)"SoVRMLLOD_insertChild(SoVRMLLOD self, SoNode child, int idx)"}, - { (char *)"SoVRMLLOD_getChild", _wrap_SoVRMLLOD_getChild, METH_VARARGS, (char *)"SoVRMLLOD_getChild(SoVRMLLOD self, int idx) -> SoNode"}, - { (char *)"SoVRMLLOD_findChild", _wrap_SoVRMLLOD_findChild, METH_VARARGS, (char *)"SoVRMLLOD_findChild(SoVRMLLOD self, SoNode child) -> int"}, - { (char *)"SoVRMLLOD_getNumChildren", _wrap_SoVRMLLOD_getNumChildren, METH_VARARGS, (char *)"SoVRMLLOD_getNumChildren(SoVRMLLOD self) -> int"}, - { (char *)"SoVRMLLOD_removeChild", _wrap_SoVRMLLOD_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLLOD_removeChild(SoVRMLLOD self, SoNode child)\n" - ""}, - { (char *)"SoVRMLLOD_removeAllChildren", _wrap_SoVRMLLOD_removeAllChildren, METH_VARARGS, (char *)"SoVRMLLOD_removeAllChildren(SoVRMLLOD self)"}, - { (char *)"SoVRMLLOD_replaceChild", _wrap_SoVRMLLOD_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode child)\n" - "SoVRMLLOD_replaceChild(SoVRMLLOD self, SoNode old, SoNode child)\n" - ""}, - { (char *)"SoVRMLLOD_getChildren", _wrap_SoVRMLLOD_getChildren, METH_VARARGS, (char *)"SoVRMLLOD_getChildren(SoVRMLLOD self) -> SoChildList"}, - { (char *)"SoVRMLLOD_swigregister", SoVRMLLOD_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLMaterial_getClassTypeId", _wrap_SoVRMLMaterial_getClassTypeId, METH_VARARGS, (char *)"SoVRMLMaterial_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLMaterial_getTypeId", _wrap_SoVRMLMaterial_getTypeId, METH_VARARGS, (char *)"SoVRMLMaterial_getTypeId(SoVRMLMaterial self) -> SoType"}, - { (char *)"SoVRMLMaterial_initClass", _wrap_SoVRMLMaterial_initClass, METH_VARARGS, (char *)"SoVRMLMaterial_initClass()"}, - { (char *)"new_SoVRMLMaterial", _wrap_new_SoVRMLMaterial, METH_VARARGS, (char *)"new_SoVRMLMaterial() -> SoVRMLMaterial"}, - { (char *)"SoVRMLMaterial_diffuseColor_set", _wrap_SoVRMLMaterial_diffuseColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_diffuseColor_set(SoVRMLMaterial self, SoSFColor diffuseColor)"}, - { (char *)"SoVRMLMaterial_diffuseColor_get", _wrap_SoVRMLMaterial_diffuseColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_diffuseColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_ambientIntensity_set", _wrap_SoVRMLMaterial_ambientIntensity_set, METH_VARARGS, (char *)"SoVRMLMaterial_ambientIntensity_set(SoVRMLMaterial self, SoSFFloat ambientIntensity)"}, - { (char *)"SoVRMLMaterial_ambientIntensity_get", _wrap_SoVRMLMaterial_ambientIntensity_get, METH_VARARGS, (char *)"SoVRMLMaterial_ambientIntensity_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_specularColor_set", _wrap_SoVRMLMaterial_specularColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_specularColor_set(SoVRMLMaterial self, SoSFColor specularColor)"}, - { (char *)"SoVRMLMaterial_specularColor_get", _wrap_SoVRMLMaterial_specularColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_specularColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_emissiveColor_set", _wrap_SoVRMLMaterial_emissiveColor_set, METH_VARARGS, (char *)"SoVRMLMaterial_emissiveColor_set(SoVRMLMaterial self, SoSFColor emissiveColor)"}, - { (char *)"SoVRMLMaterial_emissiveColor_get", _wrap_SoVRMLMaterial_emissiveColor_get, METH_VARARGS, (char *)"SoVRMLMaterial_emissiveColor_get(SoVRMLMaterial self) -> SoSFColor"}, - { (char *)"SoVRMLMaterial_shininess_set", _wrap_SoVRMLMaterial_shininess_set, METH_VARARGS, (char *)"SoVRMLMaterial_shininess_set(SoVRMLMaterial self, SoSFFloat shininess)"}, - { (char *)"SoVRMLMaterial_shininess_get", _wrap_SoVRMLMaterial_shininess_get, METH_VARARGS, (char *)"SoVRMLMaterial_shininess_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_transparency_set", _wrap_SoVRMLMaterial_transparency_set, METH_VARARGS, (char *)"SoVRMLMaterial_transparency_set(SoVRMLMaterial self, SoSFFloat transparency)"}, - { (char *)"SoVRMLMaterial_transparency_get", _wrap_SoVRMLMaterial_transparency_get, METH_VARARGS, (char *)"SoVRMLMaterial_transparency_get(SoVRMLMaterial self) -> SoSFFloat"}, - { (char *)"SoVRMLMaterial_doAction", _wrap_SoVRMLMaterial_doAction, METH_VARARGS, (char *)"SoVRMLMaterial_doAction(SoVRMLMaterial self, SoAction action)"}, - { (char *)"SoVRMLMaterial_GLRender", _wrap_SoVRMLMaterial_GLRender, METH_VARARGS, (char *)"SoVRMLMaterial_GLRender(SoVRMLMaterial self, SoGLRenderAction action)"}, - { (char *)"SoVRMLMaterial_callback", _wrap_SoVRMLMaterial_callback, METH_VARARGS, (char *)"SoVRMLMaterial_callback(SoVRMLMaterial self, SoCallbackAction action)"}, - { (char *)"SoVRMLMaterial_swigregister", SoVRMLMaterial_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLMovieTexture_getClassTypeId", _wrap_SoVRMLMovieTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLMovieTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLMovieTexture_getTypeId", _wrap_SoVRMLMovieTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLMovieTexture_getTypeId(SoVRMLMovieTexture self) -> SoType"}, - { (char *)"SoVRMLMovieTexture_initClass", _wrap_SoVRMLMovieTexture_initClass, METH_VARARGS, (char *)"SoVRMLMovieTexture_initClass()"}, - { (char *)"new_SoVRMLMovieTexture", _wrap_new_SoVRMLMovieTexture, METH_VARARGS, (char *)"new_SoVRMLMovieTexture() -> SoVRMLMovieTexture"}, - { (char *)"SoVRMLMovieTexture_loop_set", _wrap_SoVRMLMovieTexture_loop_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_loop_set(SoVRMLMovieTexture self, SoSFBool loop)"}, - { (char *)"SoVRMLMovieTexture_loop_get", _wrap_SoVRMLMovieTexture_loop_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_loop_get(SoVRMLMovieTexture self) -> SoSFBool"}, - { (char *)"SoVRMLMovieTexture_speed_set", _wrap_SoVRMLMovieTexture_speed_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_speed_set(SoVRMLMovieTexture self, SoSFFloat speed)"}, - { (char *)"SoVRMLMovieTexture_speed_get", _wrap_SoVRMLMovieTexture_speed_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_speed_get(SoVRMLMovieTexture self) -> SoSFFloat"}, - { (char *)"SoVRMLMovieTexture_startTime_set", _wrap_SoVRMLMovieTexture_startTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_startTime_set(SoVRMLMovieTexture self, SoSFTime startTime)"}, - { (char *)"SoVRMLMovieTexture_startTime_get", _wrap_SoVRMLMovieTexture_startTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_startTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_stopTime_set", _wrap_SoVRMLMovieTexture_stopTime_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_stopTime_set(SoVRMLMovieTexture self, SoSFTime stopTime)"}, - { (char *)"SoVRMLMovieTexture_stopTime_get", _wrap_SoVRMLMovieTexture_stopTime_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_stopTime_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_url_set", _wrap_SoVRMLMovieTexture_url_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_url_set(SoVRMLMovieTexture self, SoMFString url)"}, - { (char *)"SoVRMLMovieTexture_url_get", _wrap_SoVRMLMovieTexture_url_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_url_get(SoVRMLMovieTexture self) -> SoMFString"}, - { (char *)"SoVRMLMovieTexture_duration_changed_set", _wrap_SoVRMLMovieTexture_duration_changed_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_duration_changed_set(SoVRMLMovieTexture self, SoSFTime duration_changed)"}, - { (char *)"SoVRMLMovieTexture_duration_changed_get", _wrap_SoVRMLMovieTexture_duration_changed_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_duration_changed_get(SoVRMLMovieTexture self) -> SoSFTime"}, - { (char *)"SoVRMLMovieTexture_isActive_set", _wrap_SoVRMLMovieTexture_isActive_set, METH_VARARGS, (char *)"SoVRMLMovieTexture_isActive_set(SoVRMLMovieTexture self, SoSFBool isActive)"}, - { (char *)"SoVRMLMovieTexture_isActive_get", _wrap_SoVRMLMovieTexture_isActive_get, METH_VARARGS, (char *)"SoVRMLMovieTexture_isActive_get(SoVRMLMovieTexture self) -> SoSFBool"}, - { (char *)"SoVRMLMovieTexture_GLRender", _wrap_SoVRMLMovieTexture_GLRender, METH_VARARGS, (char *)"SoVRMLMovieTexture_GLRender(SoVRMLMovieTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLMovieTexture_swigregister", SoVRMLMovieTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNavigationInfo_getClassTypeId", _wrap_SoVRMLNavigationInfo_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNavigationInfo_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNavigationInfo_getTypeId", _wrap_SoVRMLNavigationInfo_getTypeId, METH_VARARGS, (char *)"SoVRMLNavigationInfo_getTypeId(SoVRMLNavigationInfo self) -> SoType"}, - { (char *)"SoVRMLNavigationInfo_initClass", _wrap_SoVRMLNavigationInfo_initClass, METH_VARARGS, (char *)"SoVRMLNavigationInfo_initClass()"}, - { (char *)"new_SoVRMLNavigationInfo", _wrap_new_SoVRMLNavigationInfo, METH_VARARGS, (char *)"new_SoVRMLNavigationInfo() -> SoVRMLNavigationInfo"}, - { (char *)"SoVRMLNavigationInfo_type_set", _wrap_SoVRMLNavigationInfo_type_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_type_set(SoVRMLNavigationInfo self, SoMFString type)"}, - { (char *)"SoVRMLNavigationInfo_type_get", _wrap_SoVRMLNavigationInfo_type_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_type_get(SoVRMLNavigationInfo self) -> SoMFString"}, - { (char *)"SoVRMLNavigationInfo_speed_set", _wrap_SoVRMLNavigationInfo_speed_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_speed_set(SoVRMLNavigationInfo self, SoSFFloat speed)"}, - { (char *)"SoVRMLNavigationInfo_speed_get", _wrap_SoVRMLNavigationInfo_speed_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_speed_get(SoVRMLNavigationInfo self) -> SoSFFloat"}, - { (char *)"SoVRMLNavigationInfo_avatarSize_set", _wrap_SoVRMLNavigationInfo_avatarSize_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_avatarSize_set(SoVRMLNavigationInfo self, SoMFFloat avatarSize)"}, - { (char *)"SoVRMLNavigationInfo_avatarSize_get", _wrap_SoVRMLNavigationInfo_avatarSize_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_avatarSize_get(SoVRMLNavigationInfo self) -> SoMFFloat"}, - { (char *)"SoVRMLNavigationInfo_visibilityLimit_set", _wrap_SoVRMLNavigationInfo_visibilityLimit_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_visibilityLimit_set(SoVRMLNavigationInfo self, SoSFFloat visibilityLimit)"}, - { (char *)"SoVRMLNavigationInfo_visibilityLimit_get", _wrap_SoVRMLNavigationInfo_visibilityLimit_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_visibilityLimit_get(SoVRMLNavigationInfo self) -> SoSFFloat"}, - { (char *)"SoVRMLNavigationInfo_headlight_set", _wrap_SoVRMLNavigationInfo_headlight_set, METH_VARARGS, (char *)"SoVRMLNavigationInfo_headlight_set(SoVRMLNavigationInfo self, SoSFBool headlight)"}, - { (char *)"SoVRMLNavigationInfo_headlight_get", _wrap_SoVRMLNavigationInfo_headlight_get, METH_VARARGS, (char *)"SoVRMLNavigationInfo_headlight_get(SoVRMLNavigationInfo self) -> SoSFBool"}, - { (char *)"SoVRMLNavigationInfo_GLRender", _wrap_SoVRMLNavigationInfo_GLRender, METH_VARARGS, (char *)"SoVRMLNavigationInfo_GLRender(SoVRMLNavigationInfo self, SoGLRenderAction action)"}, - { (char *)"SoVRMLNavigationInfo_swigregister", SoVRMLNavigationInfo_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNormal_getClassTypeId", _wrap_SoVRMLNormal_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNormal_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNormal_getTypeId", _wrap_SoVRMLNormal_getTypeId, METH_VARARGS, (char *)"SoVRMLNormal_getTypeId(SoVRMLNormal self) -> SoType"}, - { (char *)"SoVRMLNormal_initClass", _wrap_SoVRMLNormal_initClass, METH_VARARGS, (char *)"SoVRMLNormal_initClass()"}, - { (char *)"new_SoVRMLNormal", _wrap_new_SoVRMLNormal, METH_VARARGS, (char *)"new_SoVRMLNormal() -> SoVRMLNormal"}, - { (char *)"SoVRMLNormal_vector_set", _wrap_SoVRMLNormal_vector_set, METH_VARARGS, (char *)"SoVRMLNormal_vector_set(SoVRMLNormal self, SoMFVec3f vector)"}, - { (char *)"SoVRMLNormal_vector_get", _wrap_SoVRMLNormal_vector_get, METH_VARARGS, (char *)"SoVRMLNormal_vector_get(SoVRMLNormal self) -> SoMFVec3f"}, - { (char *)"SoVRMLNormal_doAction", _wrap_SoVRMLNormal_doAction, METH_VARARGS, (char *)"SoVRMLNormal_doAction(SoVRMLNormal self, SoAction action)"}, - { (char *)"SoVRMLNormal_GLRender", _wrap_SoVRMLNormal_GLRender, METH_VARARGS, (char *)"SoVRMLNormal_GLRender(SoVRMLNormal self, SoGLRenderAction action)"}, - { (char *)"SoVRMLNormal_callback", _wrap_SoVRMLNormal_callback, METH_VARARGS, (char *)"SoVRMLNormal_callback(SoVRMLNormal self, SoCallbackAction action)"}, - { (char *)"SoVRMLNormal_pick", _wrap_SoVRMLNormal_pick, METH_VARARGS, (char *)"SoVRMLNormal_pick(SoVRMLNormal self, SoPickAction action)"}, - { (char *)"SoVRMLNormal_getPrimitiveCount", _wrap_SoVRMLNormal_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLNormal_getPrimitiveCount(SoVRMLNormal self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLNormal_swigregister", SoVRMLNormal_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLNormalInterpolator_getClassTypeId", _wrap_SoVRMLNormalInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLNormalInterpolator_getTypeId", _wrap_SoVRMLNormalInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getTypeId(SoVRMLNormalInterpolator self) -> SoType"}, - { (char *)"SoVRMLNormalInterpolator_getOutputData", _wrap_SoVRMLNormalInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_getOutputData(SoVRMLNormalInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLNormalInterpolator_createInstance", _wrap_SoVRMLNormalInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLNormalInterpolator_initClass", _wrap_SoVRMLNormalInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_initClass()"}, - { (char *)"new_SoVRMLNormalInterpolator", _wrap_new_SoVRMLNormalInterpolator, METH_VARARGS, (char *)"new_SoVRMLNormalInterpolator() -> SoVRMLNormalInterpolator"}, - { (char *)"SoVRMLNormalInterpolator_keyValue_set", _wrap_SoVRMLNormalInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_keyValue_set(SoVRMLNormalInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLNormalInterpolator_keyValue_get", _wrap_SoVRMLNormalInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_keyValue_get(SoVRMLNormalInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLNormalInterpolator_value_changed_set", _wrap_SoVRMLNormalInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_value_changed_set(SoVRMLNormalInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLNormalInterpolator_value_changed_get", _wrap_SoVRMLNormalInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLNormalInterpolator_value_changed_get(SoVRMLNormalInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLNormalInterpolator_swigregister", SoVRMLNormalInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLOrientationInterpolator_getClassTypeId", _wrap_SoVRMLOrientationInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLOrientationInterpolator_getTypeId", _wrap_SoVRMLOrientationInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getTypeId(SoVRMLOrientationInterpolator self) -> SoType"}, - { (char *)"SoVRMLOrientationInterpolator_getOutputData", _wrap_SoVRMLOrientationInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_getOutputData(SoVRMLOrientationInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLOrientationInterpolator_createInstance", _wrap_SoVRMLOrientationInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLOrientationInterpolator_initClass", _wrap_SoVRMLOrientationInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_initClass()"}, - { (char *)"new_SoVRMLOrientationInterpolator", _wrap_new_SoVRMLOrientationInterpolator, METH_VARARGS, (char *)"new_SoVRMLOrientationInterpolator() -> SoVRMLOrientationInterpolator"}, - { (char *)"SoVRMLOrientationInterpolator_keyValue_set", _wrap_SoVRMLOrientationInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_keyValue_set(SoVRMLOrientationInterpolator self, SoMFRotation keyValue)"}, - { (char *)"SoVRMLOrientationInterpolator_keyValue_get", _wrap_SoVRMLOrientationInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_keyValue_get(SoVRMLOrientationInterpolator self) -> SoMFRotation"}, - { (char *)"SoVRMLOrientationInterpolator_value_changed_set", _wrap_SoVRMLOrientationInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_value_changed_set(SoVRMLOrientationInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLOrientationInterpolator_value_changed_get", _wrap_SoVRMLOrientationInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLOrientationInterpolator_value_changed_get(SoVRMLOrientationInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLOrientationInterpolator_swigregister", SoVRMLOrientationInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPixelTexture_getClassTypeId", _wrap_SoVRMLPixelTexture_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPixelTexture_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPixelTexture_getTypeId", _wrap_SoVRMLPixelTexture_getTypeId, METH_VARARGS, (char *)"SoVRMLPixelTexture_getTypeId(SoVRMLPixelTexture self) -> SoType"}, - { (char *)"SoVRMLPixelTexture_initClass", _wrap_SoVRMLPixelTexture_initClass, METH_VARARGS, (char *)"SoVRMLPixelTexture_initClass()"}, - { (char *)"new_SoVRMLPixelTexture", _wrap_new_SoVRMLPixelTexture, METH_VARARGS, (char *)"new_SoVRMLPixelTexture() -> SoVRMLPixelTexture"}, - { (char *)"SoVRMLPixelTexture_image_set", _wrap_SoVRMLPixelTexture_image_set, METH_VARARGS, (char *)"SoVRMLPixelTexture_image_set(SoVRMLPixelTexture self, SoSFImage image)"}, - { (char *)"SoVRMLPixelTexture_image_get", _wrap_SoVRMLPixelTexture_image_get, METH_VARARGS, (char *)"SoVRMLPixelTexture_image_get(SoVRMLPixelTexture self) -> SoSFImage"}, - { (char *)"SoVRMLPixelTexture_doAction", _wrap_SoVRMLPixelTexture_doAction, METH_VARARGS, (char *)"SoVRMLPixelTexture_doAction(SoVRMLPixelTexture self, SoAction action)"}, - { (char *)"SoVRMLPixelTexture_GLRender", _wrap_SoVRMLPixelTexture_GLRender, METH_VARARGS, (char *)"SoVRMLPixelTexture_GLRender(SoVRMLPixelTexture self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPixelTexture_callback", _wrap_SoVRMLPixelTexture_callback, METH_VARARGS, (char *)"SoVRMLPixelTexture_callback(SoVRMLPixelTexture self, SoCallbackAction action)"}, - { (char *)"SoVRMLPixelTexture_rayPick", _wrap_SoVRMLPixelTexture_rayPick, METH_VARARGS, (char *)"SoVRMLPixelTexture_rayPick(SoVRMLPixelTexture self, SoRayPickAction action)"}, - { (char *)"SoVRMLPixelTexture_swigregister", SoVRMLPixelTexture_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPlaneSensor_getClassTypeId", _wrap_SoVRMLPlaneSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPlaneSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPlaneSensor_getTypeId", _wrap_SoVRMLPlaneSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLPlaneSensor_getTypeId(SoVRMLPlaneSensor self) -> SoType"}, - { (char *)"SoVRMLPlaneSensor_initClass", _wrap_SoVRMLPlaneSensor_initClass, METH_VARARGS, (char *)"SoVRMLPlaneSensor_initClass()"}, - { (char *)"new_SoVRMLPlaneSensor", _wrap_new_SoVRMLPlaneSensor, METH_VARARGS, (char *)"new_SoVRMLPlaneSensor() -> SoVRMLPlaneSensor"}, - { (char *)"SoVRMLPlaneSensor_minPosition_set", _wrap_SoVRMLPlaneSensor_minPosition_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_minPosition_set(SoVRMLPlaneSensor self, SoSFVec2f minPosition)"}, - { (char *)"SoVRMLPlaneSensor_minPosition_get", _wrap_SoVRMLPlaneSensor_minPosition_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_minPosition_get(SoVRMLPlaneSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLPlaneSensor_maxPosition_set", _wrap_SoVRMLPlaneSensor_maxPosition_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_maxPosition_set(SoVRMLPlaneSensor self, SoSFVec2f maxPosition)"}, - { (char *)"SoVRMLPlaneSensor_maxPosition_get", _wrap_SoVRMLPlaneSensor_maxPosition_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_maxPosition_get(SoVRMLPlaneSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLPlaneSensor_offset_set", _wrap_SoVRMLPlaneSensor_offset_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_offset_set(SoVRMLPlaneSensor self, SoSFVec3f offset)"}, - { (char *)"SoVRMLPlaneSensor_offset_get", _wrap_SoVRMLPlaneSensor_offset_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_offset_get(SoVRMLPlaneSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLPlaneSensor_translation_changed_set", _wrap_SoVRMLPlaneSensor_translation_changed_set, METH_VARARGS, (char *)"SoVRMLPlaneSensor_translation_changed_set(SoVRMLPlaneSensor self, SoSFVec3f translation_changed)"}, - { (char *)"SoVRMLPlaneSensor_translation_changed_get", _wrap_SoVRMLPlaneSensor_translation_changed_get, METH_VARARGS, (char *)"SoVRMLPlaneSensor_translation_changed_get(SoVRMLPlaneSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLPlaneSensor_swigregister", SoVRMLPlaneSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPointLight_getClassTypeId", _wrap_SoVRMLPointLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPointLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPointLight_getTypeId", _wrap_SoVRMLPointLight_getTypeId, METH_VARARGS, (char *)"SoVRMLPointLight_getTypeId(SoVRMLPointLight self) -> SoType"}, - { (char *)"SoVRMLPointLight_initClass", _wrap_SoVRMLPointLight_initClass, METH_VARARGS, (char *)"SoVRMLPointLight_initClass()"}, - { (char *)"new_SoVRMLPointLight", _wrap_new_SoVRMLPointLight, METH_VARARGS, (char *)"new_SoVRMLPointLight() -> SoVRMLPointLight"}, - { (char *)"SoVRMLPointLight_location_set", _wrap_SoVRMLPointLight_location_set, METH_VARARGS, (char *)"SoVRMLPointLight_location_set(SoVRMLPointLight self, SoSFVec3f location)"}, - { (char *)"SoVRMLPointLight_location_get", _wrap_SoVRMLPointLight_location_get, METH_VARARGS, (char *)"SoVRMLPointLight_location_get(SoVRMLPointLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLPointLight_radius_set", _wrap_SoVRMLPointLight_radius_set, METH_VARARGS, (char *)"SoVRMLPointLight_radius_set(SoVRMLPointLight self, SoSFFloat radius)"}, - { (char *)"SoVRMLPointLight_radius_get", _wrap_SoVRMLPointLight_radius_get, METH_VARARGS, (char *)"SoVRMLPointLight_radius_get(SoVRMLPointLight self) -> SoSFFloat"}, - { (char *)"SoVRMLPointLight_attenuation_set", _wrap_SoVRMLPointLight_attenuation_set, METH_VARARGS, (char *)"SoVRMLPointLight_attenuation_set(SoVRMLPointLight self, SoSFVec3f attenuation)"}, - { (char *)"SoVRMLPointLight_attenuation_get", _wrap_SoVRMLPointLight_attenuation_get, METH_VARARGS, (char *)"SoVRMLPointLight_attenuation_get(SoVRMLPointLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLPointLight_GLRender", _wrap_SoVRMLPointLight_GLRender, METH_VARARGS, (char *)"SoVRMLPointLight_GLRender(SoVRMLPointLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPointLight_swigregister", SoVRMLPointLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVertexPoint_getClassTypeId", _wrap_SoVRMLVertexPoint_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVertexPoint_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVertexPoint_getTypeId", _wrap_SoVRMLVertexPoint_getTypeId, METH_VARARGS, (char *)"SoVRMLVertexPoint_getTypeId(SoVRMLVertexPoint self) -> SoType"}, - { (char *)"SoVRMLVertexPoint_initClass", _wrap_SoVRMLVertexPoint_initClass, METH_VARARGS, (char *)"SoVRMLVertexPoint_initClass()"}, - { (char *)"SoVRMLVertexPoint_coord_set", _wrap_SoVRMLVertexPoint_coord_set, METH_VARARGS, (char *)"SoVRMLVertexPoint_coord_set(SoVRMLVertexPoint self, SoSFNode coord)"}, - { (char *)"SoVRMLVertexPoint_coord_get", _wrap_SoVRMLVertexPoint_coord_get, METH_VARARGS, (char *)"SoVRMLVertexPoint_coord_get(SoVRMLVertexPoint self) -> SoSFNode"}, - { (char *)"SoVRMLVertexPoint_color_set", _wrap_SoVRMLVertexPoint_color_set, METH_VARARGS, (char *)"SoVRMLVertexPoint_color_set(SoVRMLVertexPoint self, SoSFNode color)"}, - { (char *)"SoVRMLVertexPoint_color_get", _wrap_SoVRMLVertexPoint_color_get, METH_VARARGS, (char *)"SoVRMLVertexPoint_color_get(SoVRMLVertexPoint self) -> SoSFNode"}, - { (char *)"SoVRMLVertexPoint_doAction", _wrap_SoVRMLVertexPoint_doAction, METH_VARARGS, (char *)"SoVRMLVertexPoint_doAction(SoVRMLVertexPoint self, SoAction action)"}, - { (char *)"SoVRMLVertexPoint_GLRender", _wrap_SoVRMLVertexPoint_GLRender, METH_VARARGS, (char *)"SoVRMLVertexPoint_GLRender(SoVRMLVertexPoint self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVertexPoint_getBoundingBox", _wrap_SoVRMLVertexPoint_getBoundingBox, METH_VARARGS, (char *)"SoVRMLVertexPoint_getBoundingBox(SoVRMLVertexPoint self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLVertexPoint_callback", _wrap_SoVRMLVertexPoint_callback, METH_VARARGS, (char *)"SoVRMLVertexPoint_callback(SoVRMLVertexPoint self, SoCallbackAction action)"}, - { (char *)"SoVRMLVertexPoint_pick", _wrap_SoVRMLVertexPoint_pick, METH_VARARGS, (char *)"SoVRMLVertexPoint_pick(SoVRMLVertexPoint self, SoPickAction action)"}, - { (char *)"SoVRMLVertexPoint_getPrimitiveCount", _wrap_SoVRMLVertexPoint_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLVertexPoint_getPrimitiveCount(SoVRMLVertexPoint self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLVertexPoint_notify", _wrap_SoVRMLVertexPoint_notify, METH_VARARGS, (char *)"SoVRMLVertexPoint_notify(SoVRMLVertexPoint self, SoNotList list)"}, - { (char *)"SoVRMLVertexPoint_swigregister", SoVRMLVertexPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPointSet_getClassTypeId", _wrap_SoVRMLPointSet_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPointSet_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPointSet_getTypeId", _wrap_SoVRMLPointSet_getTypeId, METH_VARARGS, (char *)"SoVRMLPointSet_getTypeId(SoVRMLPointSet self) -> SoType"}, - { (char *)"SoVRMLPointSet_initClass", _wrap_SoVRMLPointSet_initClass, METH_VARARGS, (char *)"SoVRMLPointSet_initClass()"}, - { (char *)"new_SoVRMLPointSet", _wrap_new_SoVRMLPointSet, METH_VARARGS, (char *)"new_SoVRMLPointSet() -> SoVRMLPointSet"}, - { (char *)"SoVRMLPointSet_GLRender", _wrap_SoVRMLPointSet_GLRender, METH_VARARGS, (char *)"SoVRMLPointSet_GLRender(SoVRMLPointSet self, SoGLRenderAction action)"}, - { (char *)"SoVRMLPointSet_getBoundingBox", _wrap_SoVRMLPointSet_getBoundingBox, METH_VARARGS, (char *)"SoVRMLPointSet_getBoundingBox(SoVRMLPointSet self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLPointSet_swigregister", SoVRMLPointSet_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLPositionInterpolator_getClassTypeId", _wrap_SoVRMLPositionInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLPositionInterpolator_getTypeId", _wrap_SoVRMLPositionInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getTypeId(SoVRMLPositionInterpolator self) -> SoType"}, - { (char *)"SoVRMLPositionInterpolator_getOutputData", _wrap_SoVRMLPositionInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_getOutputData(SoVRMLPositionInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLPositionInterpolator_createInstance", _wrap_SoVRMLPositionInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLPositionInterpolator_initClass", _wrap_SoVRMLPositionInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_initClass()"}, - { (char *)"new_SoVRMLPositionInterpolator", _wrap_new_SoVRMLPositionInterpolator, METH_VARARGS, (char *)"new_SoVRMLPositionInterpolator() -> SoVRMLPositionInterpolator"}, - { (char *)"SoVRMLPositionInterpolator_keyValue_set", _wrap_SoVRMLPositionInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_keyValue_set(SoVRMLPositionInterpolator self, SoMFVec3f keyValue)"}, - { (char *)"SoVRMLPositionInterpolator_keyValue_get", _wrap_SoVRMLPositionInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_keyValue_get(SoVRMLPositionInterpolator self) -> SoMFVec3f"}, - { (char *)"SoVRMLPositionInterpolator_value_changed_set", _wrap_SoVRMLPositionInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_value_changed_set(SoVRMLPositionInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLPositionInterpolator_value_changed_get", _wrap_SoVRMLPositionInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLPositionInterpolator_value_changed_get(SoVRMLPositionInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLPositionInterpolator_swigregister", SoVRMLPositionInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLProximitySensor_getClassTypeId", _wrap_SoVRMLProximitySensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLProximitySensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLProximitySensor_getTypeId", _wrap_SoVRMLProximitySensor_getTypeId, METH_VARARGS, (char *)"SoVRMLProximitySensor_getTypeId(SoVRMLProximitySensor self) -> SoType"}, - { (char *)"SoVRMLProximitySensor_initClass", _wrap_SoVRMLProximitySensor_initClass, METH_VARARGS, (char *)"SoVRMLProximitySensor_initClass()"}, - { (char *)"new_SoVRMLProximitySensor", _wrap_new_SoVRMLProximitySensor, METH_VARARGS, (char *)"new_SoVRMLProximitySensor() -> SoVRMLProximitySensor"}, - { (char *)"SoVRMLProximitySensor_center_set", _wrap_SoVRMLProximitySensor_center_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_center_set(SoVRMLProximitySensor self, SoSFVec3f center)"}, - { (char *)"SoVRMLProximitySensor_center_get", _wrap_SoVRMLProximitySensor_center_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_center_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_size_set", _wrap_SoVRMLProximitySensor_size_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_size_set(SoVRMLProximitySensor self, SoSFVec3f size)"}, - { (char *)"SoVRMLProximitySensor_size_get", _wrap_SoVRMLProximitySensor_size_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_size_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_enabled_set", _wrap_SoVRMLProximitySensor_enabled_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_enabled_set(SoVRMLProximitySensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLProximitySensor_enabled_get", _wrap_SoVRMLProximitySensor_enabled_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_enabled_get(SoVRMLProximitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLProximitySensor_isActive_set", _wrap_SoVRMLProximitySensor_isActive_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_isActive_set(SoVRMLProximitySensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLProximitySensor_isActive_get", _wrap_SoVRMLProximitySensor_isActive_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_isActive_get(SoVRMLProximitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLProximitySensor_position_changed_set", _wrap_SoVRMLProximitySensor_position_changed_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_position_changed_set(SoVRMLProximitySensor self, SoSFVec3f position_changed)"}, - { (char *)"SoVRMLProximitySensor_position_changed_get", _wrap_SoVRMLProximitySensor_position_changed_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_position_changed_get(SoVRMLProximitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLProximitySensor_orientation_changed_set", _wrap_SoVRMLProximitySensor_orientation_changed_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_orientation_changed_set(SoVRMLProximitySensor self, SoSFRotation orientation_changed)"}, - { (char *)"SoVRMLProximitySensor_orientation_changed_get", _wrap_SoVRMLProximitySensor_orientation_changed_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_orientation_changed_get(SoVRMLProximitySensor self) -> SoSFRotation"}, - { (char *)"SoVRMLProximitySensor_enterTime_set", _wrap_SoVRMLProximitySensor_enterTime_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_enterTime_set(SoVRMLProximitySensor self, SoSFTime enterTime)"}, - { (char *)"SoVRMLProximitySensor_enterTime_get", _wrap_SoVRMLProximitySensor_enterTime_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_enterTime_get(SoVRMLProximitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLProximitySensor_exitTime_set", _wrap_SoVRMLProximitySensor_exitTime_set, METH_VARARGS, (char *)"SoVRMLProximitySensor_exitTime_set(SoVRMLProximitySensor self, SoSFTime exitTime)"}, - { (char *)"SoVRMLProximitySensor_exitTime_get", _wrap_SoVRMLProximitySensor_exitTime_get, METH_VARARGS, (char *)"SoVRMLProximitySensor_exitTime_get(SoVRMLProximitySensor self) -> SoSFTime"}, - { (char *)"SoVRMLProximitySensor_affectsState", _wrap_SoVRMLProximitySensor_affectsState, METH_VARARGS, (char *)"SoVRMLProximitySensor_affectsState(SoVRMLProximitySensor self) -> SbBool"}, - { (char *)"SoVRMLProximitySensor_doAction", _wrap_SoVRMLProximitySensor_doAction, METH_VARARGS, (char *)"SoVRMLProximitySensor_doAction(SoVRMLProximitySensor self, SoAction action)"}, - { (char *)"SoVRMLProximitySensor_GLRender", _wrap_SoVRMLProximitySensor_GLRender, METH_VARARGS, (char *)"SoVRMLProximitySensor_GLRender(SoVRMLProximitySensor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLProximitySensor_callback", _wrap_SoVRMLProximitySensor_callback, METH_VARARGS, (char *)"SoVRMLProximitySensor_callback(SoVRMLProximitySensor self, SoCallbackAction action)"}, - { (char *)"SoVRMLProximitySensor_rayPick", _wrap_SoVRMLProximitySensor_rayPick, METH_VARARGS, (char *)"SoVRMLProximitySensor_rayPick(SoVRMLProximitySensor self, SoRayPickAction action)"}, - { (char *)"SoVRMLProximitySensor_getBoundingBox", _wrap_SoVRMLProximitySensor_getBoundingBox, METH_VARARGS, (char *)"SoVRMLProximitySensor_getBoundingBox(SoVRMLProximitySensor self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLProximitySensor_swigregister", SoVRMLProximitySensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLScalarInterpolator_getClassTypeId", _wrap_SoVRMLScalarInterpolator_getClassTypeId, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLScalarInterpolator_getTypeId", _wrap_SoVRMLScalarInterpolator_getTypeId, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getTypeId(SoVRMLScalarInterpolator self) -> SoType"}, - { (char *)"SoVRMLScalarInterpolator_getOutputData", _wrap_SoVRMLScalarInterpolator_getOutputData, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_getOutputData(SoVRMLScalarInterpolator self) -> SoEngineOutputData"}, - { (char *)"SoVRMLScalarInterpolator_createInstance", _wrap_SoVRMLScalarInterpolator_createInstance, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_createInstance() -> void"}, - { (char *)"SoVRMLScalarInterpolator_initClass", _wrap_SoVRMLScalarInterpolator_initClass, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_initClass()"}, - { (char *)"new_SoVRMLScalarInterpolator", _wrap_new_SoVRMLScalarInterpolator, METH_VARARGS, (char *)"new_SoVRMLScalarInterpolator() -> SoVRMLScalarInterpolator"}, - { (char *)"SoVRMLScalarInterpolator_keyValue_set", _wrap_SoVRMLScalarInterpolator_keyValue_set, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_keyValue_set(SoVRMLScalarInterpolator self, SoMFFloat keyValue)"}, - { (char *)"SoVRMLScalarInterpolator_keyValue_get", _wrap_SoVRMLScalarInterpolator_keyValue_get, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_keyValue_get(SoVRMLScalarInterpolator self) -> SoMFFloat"}, - { (char *)"SoVRMLScalarInterpolator_value_changed_set", _wrap_SoVRMLScalarInterpolator_value_changed_set, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_value_changed_set(SoVRMLScalarInterpolator self, SoEngineOutput value_changed)"}, - { (char *)"SoVRMLScalarInterpolator_value_changed_get", _wrap_SoVRMLScalarInterpolator_value_changed_get, METH_VARARGS, (char *)"SoVRMLScalarInterpolator_value_changed_get(SoVRMLScalarInterpolator self) -> SoEngineOutput"}, - { (char *)"SoVRMLScalarInterpolator_swigregister", SoVRMLScalarInterpolator_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLScript_initClass", _wrap_SoVRMLScript_initClass, METH_VARARGS, (char *)"SoVRMLScript_initClass()"}, - { (char *)"new_SoVRMLScript", _wrap_new_SoVRMLScript, METH_VARARGS, (char *)"new_SoVRMLScript() -> SoVRMLScript"}, - { (char *)"SoVRMLScript_getClassTypeId", _wrap_SoVRMLScript_getClassTypeId, METH_VARARGS, (char *)"SoVRMLScript_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLScript_getTypeId", _wrap_SoVRMLScript_getTypeId, METH_VARARGS, (char *)"SoVRMLScript_getTypeId(SoVRMLScript self) -> SoType"}, - { (char *)"SoVRMLScript_url_set", _wrap_SoVRMLScript_url_set, METH_VARARGS, (char *)"SoVRMLScript_url_set(SoVRMLScript self, SoMFString url)"}, - { (char *)"SoVRMLScript_url_get", _wrap_SoVRMLScript_url_get, METH_VARARGS, (char *)"SoVRMLScript_url_get(SoVRMLScript self) -> SoMFString"}, - { (char *)"SoVRMLScript_directOutput_set", _wrap_SoVRMLScript_directOutput_set, METH_VARARGS, (char *)"SoVRMLScript_directOutput_set(SoVRMLScript self, SoSFBool directOutput)"}, - { (char *)"SoVRMLScript_directOutput_get", _wrap_SoVRMLScript_directOutput_get, METH_VARARGS, (char *)"SoVRMLScript_directOutput_get(SoVRMLScript self) -> SoSFBool"}, - { (char *)"SoVRMLScript_mustEvaluate_set", _wrap_SoVRMLScript_mustEvaluate_set, METH_VARARGS, (char *)"SoVRMLScript_mustEvaluate_set(SoVRMLScript self, SoSFBool mustEvaluate)"}, - { (char *)"SoVRMLScript_mustEvaluate_get", _wrap_SoVRMLScript_mustEvaluate_get, METH_VARARGS, (char *)"SoVRMLScript_mustEvaluate_get(SoVRMLScript self) -> SoSFBool"}, - { (char *)"SoVRMLScript_doAction", _wrap_SoVRMLScript_doAction, METH_VARARGS, (char *)"SoVRMLScript_doAction(SoVRMLScript self, SoAction action)"}, - { (char *)"SoVRMLScript_callback", _wrap_SoVRMLScript_callback, METH_VARARGS, (char *)"SoVRMLScript_callback(SoVRMLScript self, SoCallbackAction action)"}, - { (char *)"SoVRMLScript_GLRender", _wrap_SoVRMLScript_GLRender, METH_VARARGS, (char *)"SoVRMLScript_GLRender(SoVRMLScript self, SoGLRenderAction action)"}, - { (char *)"SoVRMLScript_getBoundingBox", _wrap_SoVRMLScript_getBoundingBox, METH_VARARGS, (char *)"SoVRMLScript_getBoundingBox(SoVRMLScript self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLScript_pick", _wrap_SoVRMLScript_pick, METH_VARARGS, (char *)"SoVRMLScript_pick(SoVRMLScript self, SoPickAction action)"}, - { (char *)"SoVRMLScript_handleEvent", _wrap_SoVRMLScript_handleEvent, METH_VARARGS, (char *)"SoVRMLScript_handleEvent(SoVRMLScript self, SoHandleEventAction action)"}, - { (char *)"SoVRMLScript_write", _wrap_SoVRMLScript_write, METH_VARARGS, (char *)"SoVRMLScript_write(SoVRMLScript self, SoWriteAction action)"}, - { (char *)"SoVRMLScript_setScriptEvaluateCB", _wrap_SoVRMLScript_setScriptEvaluateCB, METH_VARARGS, (char *)"SoVRMLScript_setScriptEvaluateCB(SoVRMLScriptEvaluateCB cb, void closure)"}, - { (char *)"SoVRMLScript_swigregister", SoVRMLScript_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLShape_getClassTypeId", _wrap_SoVRMLShape_getClassTypeId, METH_VARARGS, (char *)"SoVRMLShape_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLShape_getTypeId", _wrap_SoVRMLShape_getTypeId, METH_VARARGS, (char *)"SoVRMLShape_getTypeId(SoVRMLShape self) -> SoType"}, - { (char *)"SoVRMLShape_initClass", _wrap_SoVRMLShape_initClass, METH_VARARGS, (char *)"SoVRMLShape_initClass()"}, - { (char *)"new_SoVRMLShape", _wrap_new_SoVRMLShape, METH_VARARGS, (char *)"new_SoVRMLShape() -> SoVRMLShape"}, - { (char *)"SoVRMLShape_appearance_set", _wrap_SoVRMLShape_appearance_set, METH_VARARGS, (char *)"SoVRMLShape_appearance_set(SoVRMLShape self, SoSFNode appearance)"}, - { (char *)"SoVRMLShape_appearance_get", _wrap_SoVRMLShape_appearance_get, METH_VARARGS, (char *)"SoVRMLShape_appearance_get(SoVRMLShape self) -> SoSFNode"}, - { (char *)"SoVRMLShape_geometry_set", _wrap_SoVRMLShape_geometry_set, METH_VARARGS, (char *)"SoVRMLShape_geometry_set(SoVRMLShape self, SoSFNode geometry)"}, - { (char *)"SoVRMLShape_geometry_get", _wrap_SoVRMLShape_geometry_get, METH_VARARGS, (char *)"SoVRMLShape_geometry_get(SoVRMLShape self) -> SoSFNode"}, - { (char *)"SoVRMLShape_renderCaching_set", _wrap_SoVRMLShape_renderCaching_set, METH_VARARGS, (char *)"SoVRMLShape_renderCaching_set(SoVRMLShape self, SoSFEnum renderCaching)"}, - { (char *)"SoVRMLShape_renderCaching_get", _wrap_SoVRMLShape_renderCaching_get, METH_VARARGS, (char *)"SoVRMLShape_renderCaching_get(SoVRMLShape self) -> SoSFEnum"}, - { (char *)"SoVRMLShape_boundingBoxCaching_set", _wrap_SoVRMLShape_boundingBoxCaching_set, METH_VARARGS, (char *)"SoVRMLShape_boundingBoxCaching_set(SoVRMLShape self, SoSFEnum boundingBoxCaching)"}, - { (char *)"SoVRMLShape_boundingBoxCaching_get", _wrap_SoVRMLShape_boundingBoxCaching_get, METH_VARARGS, (char *)"SoVRMLShape_boundingBoxCaching_get(SoVRMLShape self) -> SoSFEnum"}, - { (char *)"SoVRMLShape_setNumRenderCaches", _wrap_SoVRMLShape_setNumRenderCaches, METH_VARARGS, (char *)"SoVRMLShape_setNumRenderCaches(int num)"}, - { (char *)"SoVRMLShape_getNumRenderCaches", _wrap_SoVRMLShape_getNumRenderCaches, METH_VARARGS, (char *)"SoVRMLShape_getNumRenderCaches() -> int"}, - { (char *)"SoVRMLShape_affectsState", _wrap_SoVRMLShape_affectsState, METH_VARARGS, (char *)"SoVRMLShape_affectsState(SoVRMLShape self) -> SbBool"}, - { (char *)"SoVRMLShape_doAction", _wrap_SoVRMLShape_doAction, METH_VARARGS, (char *)"SoVRMLShape_doAction(SoVRMLShape self, SoAction action)"}, - { (char *)"SoVRMLShape_callback", _wrap_SoVRMLShape_callback, METH_VARARGS, (char *)"SoVRMLShape_callback(SoVRMLShape self, SoCallbackAction action)"}, - { (char *)"SoVRMLShape_GLRender", _wrap_SoVRMLShape_GLRender, METH_VARARGS, (char *)"SoVRMLShape_GLRender(SoVRMLShape self, SoGLRenderAction action)"}, - { (char *)"SoVRMLShape_getBoundingBox", _wrap_SoVRMLShape_getBoundingBox, METH_VARARGS, (char *)"SoVRMLShape_getBoundingBox(SoVRMLShape self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLShape_rayPick", _wrap_SoVRMLShape_rayPick, METH_VARARGS, (char *)"SoVRMLShape_rayPick(SoVRMLShape self, SoRayPickAction action)"}, - { (char *)"SoVRMLShape_search", _wrap_SoVRMLShape_search, METH_VARARGS, (char *)"SoVRMLShape_search(SoVRMLShape self, SoSearchAction action)"}, - { (char *)"SoVRMLShape_write", _wrap_SoVRMLShape_write, METH_VARARGS, (char *)"SoVRMLShape_write(SoVRMLShape self, SoWriteAction action)"}, - { (char *)"SoVRMLShape_getPrimitiveCount", _wrap_SoVRMLShape_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLShape_getPrimitiveCount(SoVRMLShape self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLShape_getChildren", _wrap_SoVRMLShape_getChildren, METH_VARARGS, (char *)"SoVRMLShape_getChildren(SoVRMLShape self) -> SoChildList"}, - { (char *)"SoVRMLShape_notify", _wrap_SoVRMLShape_notify, METH_VARARGS, (char *)"SoVRMLShape_notify(SoVRMLShape self, SoNotList list)"}, - { (char *)"SoVRMLShape_copyContents", _wrap_SoVRMLShape_copyContents, METH_VARARGS, (char *)"SoVRMLShape_copyContents(SoVRMLShape self, SoFieldContainer from, SbBool copyConn)"}, - { (char *)"SoVRMLShape_swigregister", SoVRMLShape_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSound_getClassTypeId", _wrap_SoVRMLSound_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSound_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSound_getTypeId", _wrap_SoVRMLSound_getTypeId, METH_VARARGS, (char *)"SoVRMLSound_getTypeId(SoVRMLSound self) -> SoType"}, - { (char *)"SoVRMLSound_initClass", _wrap_SoVRMLSound_initClass, METH_VARARGS, (char *)"SoVRMLSound_initClass()"}, - { (char *)"new_SoVRMLSound", _wrap_new_SoVRMLSound, METH_VARARGS, (char *)"new_SoVRMLSound() -> SoVRMLSound"}, - { (char *)"SoVRMLSound_source_set", _wrap_SoVRMLSound_source_set, METH_VARARGS, (char *)"SoVRMLSound_source_set(SoVRMLSound self, SoSFNode source)"}, - { (char *)"SoVRMLSound_source_get", _wrap_SoVRMLSound_source_get, METH_VARARGS, (char *)"SoVRMLSound_source_get(SoVRMLSound self) -> SoSFNode"}, - { (char *)"SoVRMLSound_intensity_set", _wrap_SoVRMLSound_intensity_set, METH_VARARGS, (char *)"SoVRMLSound_intensity_set(SoVRMLSound self, SoSFFloat intensity)"}, - { (char *)"SoVRMLSound_intensity_get", _wrap_SoVRMLSound_intensity_get, METH_VARARGS, (char *)"SoVRMLSound_intensity_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_priority_set", _wrap_SoVRMLSound_priority_set, METH_VARARGS, (char *)"SoVRMLSound_priority_set(SoVRMLSound self, SoSFFloat priority)"}, - { (char *)"SoVRMLSound_priority_get", _wrap_SoVRMLSound_priority_get, METH_VARARGS, (char *)"SoVRMLSound_priority_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_location_set", _wrap_SoVRMLSound_location_set, METH_VARARGS, (char *)"SoVRMLSound_location_set(SoVRMLSound self, SoSFVec3f location)"}, - { (char *)"SoVRMLSound_location_get", _wrap_SoVRMLSound_location_get, METH_VARARGS, (char *)"SoVRMLSound_location_get(SoVRMLSound self) -> SoSFVec3f"}, - { (char *)"SoVRMLSound_direction_set", _wrap_SoVRMLSound_direction_set, METH_VARARGS, (char *)"SoVRMLSound_direction_set(SoVRMLSound self, SoSFVec3f direction)"}, - { (char *)"SoVRMLSound_direction_get", _wrap_SoVRMLSound_direction_get, METH_VARARGS, (char *)"SoVRMLSound_direction_get(SoVRMLSound self) -> SoSFVec3f"}, - { (char *)"SoVRMLSound_minFront_set", _wrap_SoVRMLSound_minFront_set, METH_VARARGS, (char *)"SoVRMLSound_minFront_set(SoVRMLSound self, SoSFFloat minFront)"}, - { (char *)"SoVRMLSound_minFront_get", _wrap_SoVRMLSound_minFront_get, METH_VARARGS, (char *)"SoVRMLSound_minFront_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_maxFront_set", _wrap_SoVRMLSound_maxFront_set, METH_VARARGS, (char *)"SoVRMLSound_maxFront_set(SoVRMLSound self, SoSFFloat maxFront)"}, - { (char *)"SoVRMLSound_maxFront_get", _wrap_SoVRMLSound_maxFront_get, METH_VARARGS, (char *)"SoVRMLSound_maxFront_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_minBack_set", _wrap_SoVRMLSound_minBack_set, METH_VARARGS, (char *)"SoVRMLSound_minBack_set(SoVRMLSound self, SoSFFloat minBack)"}, - { (char *)"SoVRMLSound_minBack_get", _wrap_SoVRMLSound_minBack_get, METH_VARARGS, (char *)"SoVRMLSound_minBack_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_maxBack_set", _wrap_SoVRMLSound_maxBack_set, METH_VARARGS, (char *)"SoVRMLSound_maxBack_set(SoVRMLSound self, SoSFFloat maxBack)"}, - { (char *)"SoVRMLSound_maxBack_get", _wrap_SoVRMLSound_maxBack_get, METH_VARARGS, (char *)"SoVRMLSound_maxBack_get(SoVRMLSound self) -> SoSFFloat"}, - { (char *)"SoVRMLSound_spatialize_set", _wrap_SoVRMLSound_spatialize_set, METH_VARARGS, (char *)"SoVRMLSound_spatialize_set(SoVRMLSound self, SoSFBool spatialize)"}, - { (char *)"SoVRMLSound_spatialize_get", _wrap_SoVRMLSound_spatialize_get, METH_VARARGS, (char *)"SoVRMLSound_spatialize_get(SoVRMLSound self) -> SoSFBool"}, - { (char *)"SoVRMLSound_setDopplerVelocity", _wrap_SoVRMLSound_setDopplerVelocity, METH_VARARGS, (char *)"SoVRMLSound_setDopplerVelocity(SoVRMLSound self, float velocity)"}, - { (char *)"SoVRMLSound_getDopplerVelocity", _wrap_SoVRMLSound_getDopplerVelocity, METH_VARARGS, (char *)"SoVRMLSound_getDopplerVelocity(SoVRMLSound self) -> float"}, - { (char *)"SoVRMLSound_setDopplerFactor", _wrap_SoVRMLSound_setDopplerFactor, METH_VARARGS, (char *)"SoVRMLSound_setDopplerFactor(SoVRMLSound self, float factor)"}, - { (char *)"SoVRMLSound_getDopplerFactor", _wrap_SoVRMLSound_getDopplerFactor, METH_VARARGS, (char *)"SoVRMLSound_getDopplerFactor(SoVRMLSound self) -> float"}, - { (char *)"SoVRMLSound_startPlaying", _wrap_SoVRMLSound_startPlaying, METH_VARARGS, (char *)"SoVRMLSound_startPlaying(SoVRMLSound self, SoPath path, void userdataptr)"}, - { (char *)"SoVRMLSound_stopPlaying", _wrap_SoVRMLSound_stopPlaying, METH_VARARGS, (char *)"SoVRMLSound_stopPlaying(SoVRMLSound self, SoPath path, void userdataptr)"}, - { (char *)"SoVRMLSound_setDefaultBufferingProperties", _wrap_SoVRMLSound_setDefaultBufferingProperties, METH_VARARGS, (char *)"SoVRMLSound_setDefaultBufferingProperties(int bufferLength, int numBuffers, SbTime sleepTime)"}, - { (char *)"SoVRMLSound_setBufferingProperties", _wrap_SoVRMLSound_setBufferingProperties, METH_VARARGS, (char *)"\n" - "SoVRMLSound_setBufferingProperties(SoVRMLSound self, int bufferLength, int numBuffers, \n" - " SbTime sleepTime)\n" - ""}, - { (char *)"SoVRMLSound_getBufferingProperties", _wrap_SoVRMLSound_getBufferingProperties, METH_VARARGS, (char *)"\n" - "SoVRMLSound_getBufferingProperties(SoVRMLSound self, int bufferLength, int numBuffers, \n" - " SbTime sleepTime)\n" - ""}, - { (char *)"SoVRMLSound_audioRender", _wrap_SoVRMLSound_audioRender, METH_VARARGS, (char *)"SoVRMLSound_audioRender(SoVRMLSound self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLSound_swigregister", SoVRMLSound_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSphere_getClassTypeId", _wrap_SoVRMLSphere_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSphere_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSphere_getTypeId", _wrap_SoVRMLSphere_getTypeId, METH_VARARGS, (char *)"SoVRMLSphere_getTypeId(SoVRMLSphere self) -> SoType"}, - { (char *)"SoVRMLSphere_initClass", _wrap_SoVRMLSphere_initClass, METH_VARARGS, (char *)"SoVRMLSphere_initClass()"}, - { (char *)"new_SoVRMLSphere", _wrap_new_SoVRMLSphere, METH_VARARGS, (char *)"new_SoVRMLSphere() -> SoVRMLSphere"}, - { (char *)"SoVRMLSphere_radius_set", _wrap_SoVRMLSphere_radius_set, METH_VARARGS, (char *)"SoVRMLSphere_radius_set(SoVRMLSphere self, SoSFFloat radius)"}, - { (char *)"SoVRMLSphere_radius_get", _wrap_SoVRMLSphere_radius_get, METH_VARARGS, (char *)"SoVRMLSphere_radius_get(SoVRMLSphere self) -> SoSFFloat"}, - { (char *)"SoVRMLSphere_GLRender", _wrap_SoVRMLSphere_GLRender, METH_VARARGS, (char *)"SoVRMLSphere_GLRender(SoVRMLSphere self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSphere_rayPick", _wrap_SoVRMLSphere_rayPick, METH_VARARGS, (char *)"SoVRMLSphere_rayPick(SoVRMLSphere self, SoRayPickAction action)"}, - { (char *)"SoVRMLSphere_getPrimitiveCount", _wrap_SoVRMLSphere_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLSphere_getPrimitiveCount(SoVRMLSphere self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLSphere_swigregister", SoVRMLSphere_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSphereSensor_getClassTypeId", _wrap_SoVRMLSphereSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSphereSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSphereSensor_getTypeId", _wrap_SoVRMLSphereSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLSphereSensor_getTypeId(SoVRMLSphereSensor self) -> SoType"}, - { (char *)"SoVRMLSphereSensor_initClass", _wrap_SoVRMLSphereSensor_initClass, METH_VARARGS, (char *)"SoVRMLSphereSensor_initClass()"}, - { (char *)"new_SoVRMLSphereSensor", _wrap_new_SoVRMLSphereSensor, METH_VARARGS, (char *)"new_SoVRMLSphereSensor() -> SoVRMLSphereSensor"}, - { (char *)"SoVRMLSphereSensor_offset_set", _wrap_SoVRMLSphereSensor_offset_set, METH_VARARGS, (char *)"SoVRMLSphereSensor_offset_set(SoVRMLSphereSensor self, SoSFRotation offset)"}, - { (char *)"SoVRMLSphereSensor_offset_get", _wrap_SoVRMLSphereSensor_offset_get, METH_VARARGS, (char *)"SoVRMLSphereSensor_offset_get(SoVRMLSphereSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLSphereSensor_rotation_changed_set", _wrap_SoVRMLSphereSensor_rotation_changed_set, METH_VARARGS, (char *)"SoVRMLSphereSensor_rotation_changed_set(SoVRMLSphereSensor self, SoSFRotation rotation_changed)"}, - { (char *)"SoVRMLSphereSensor_rotation_changed_get", _wrap_SoVRMLSphereSensor_rotation_changed_get, METH_VARARGS, (char *)"SoVRMLSphereSensor_rotation_changed_get(SoVRMLSphereSensor self) -> SoSFRotation"}, - { (char *)"SoVRMLSphereSensor_swigregister", SoVRMLSphereSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSpotLight_getClassTypeId", _wrap_SoVRMLSpotLight_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSpotLight_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSpotLight_getTypeId", _wrap_SoVRMLSpotLight_getTypeId, METH_VARARGS, (char *)"SoVRMLSpotLight_getTypeId(SoVRMLSpotLight self) -> SoType"}, - { (char *)"SoVRMLSpotLight_initClass", _wrap_SoVRMLSpotLight_initClass, METH_VARARGS, (char *)"SoVRMLSpotLight_initClass()"}, - { (char *)"new_SoVRMLSpotLight", _wrap_new_SoVRMLSpotLight, METH_VARARGS, (char *)"new_SoVRMLSpotLight() -> SoVRMLSpotLight"}, - { (char *)"SoVRMLSpotLight_location_set", _wrap_SoVRMLSpotLight_location_set, METH_VARARGS, (char *)"SoVRMLSpotLight_location_set(SoVRMLSpotLight self, SoSFVec3f location)"}, - { (char *)"SoVRMLSpotLight_location_get", _wrap_SoVRMLSpotLight_location_get, METH_VARARGS, (char *)"SoVRMLSpotLight_location_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_direction_set", _wrap_SoVRMLSpotLight_direction_set, METH_VARARGS, (char *)"SoVRMLSpotLight_direction_set(SoVRMLSpotLight self, SoSFVec3f direction)"}, - { (char *)"SoVRMLSpotLight_direction_get", _wrap_SoVRMLSpotLight_direction_get, METH_VARARGS, (char *)"SoVRMLSpotLight_direction_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_beamWidth_set", _wrap_SoVRMLSpotLight_beamWidth_set, METH_VARARGS, (char *)"SoVRMLSpotLight_beamWidth_set(SoVRMLSpotLight self, SoSFFloat beamWidth)"}, - { (char *)"SoVRMLSpotLight_beamWidth_get", _wrap_SoVRMLSpotLight_beamWidth_get, METH_VARARGS, (char *)"SoVRMLSpotLight_beamWidth_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_cutOffAngle_set", _wrap_SoVRMLSpotLight_cutOffAngle_set, METH_VARARGS, (char *)"SoVRMLSpotLight_cutOffAngle_set(SoVRMLSpotLight self, SoSFFloat cutOffAngle)"}, - { (char *)"SoVRMLSpotLight_cutOffAngle_get", _wrap_SoVRMLSpotLight_cutOffAngle_get, METH_VARARGS, (char *)"SoVRMLSpotLight_cutOffAngle_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_radius_set", _wrap_SoVRMLSpotLight_radius_set, METH_VARARGS, (char *)"SoVRMLSpotLight_radius_set(SoVRMLSpotLight self, SoSFFloat radius)"}, - { (char *)"SoVRMLSpotLight_radius_get", _wrap_SoVRMLSpotLight_radius_get, METH_VARARGS, (char *)"SoVRMLSpotLight_radius_get(SoVRMLSpotLight self) -> SoSFFloat"}, - { (char *)"SoVRMLSpotLight_attenuation_set", _wrap_SoVRMLSpotLight_attenuation_set, METH_VARARGS, (char *)"SoVRMLSpotLight_attenuation_set(SoVRMLSpotLight self, SoSFVec3f attenuation)"}, - { (char *)"SoVRMLSpotLight_attenuation_get", _wrap_SoVRMLSpotLight_attenuation_get, METH_VARARGS, (char *)"SoVRMLSpotLight_attenuation_get(SoVRMLSpotLight self) -> SoSFVec3f"}, - { (char *)"SoVRMLSpotLight_GLRender", _wrap_SoVRMLSpotLight_GLRender, METH_VARARGS, (char *)"SoVRMLSpotLight_GLRender(SoVRMLSpotLight self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSpotLight_swigregister", SoVRMLSpotLight_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLSwitch_getClassTypeId", _wrap_SoVRMLSwitch_getClassTypeId, METH_VARARGS, (char *)"SoVRMLSwitch_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLSwitch_getTypeId", _wrap_SoVRMLSwitch_getTypeId, METH_VARARGS, (char *)"SoVRMLSwitch_getTypeId(SoVRMLSwitch self) -> SoType"}, - { (char *)"SoVRMLSwitch_initClass", _wrap_SoVRMLSwitch_initClass, METH_VARARGS, (char *)"SoVRMLSwitch_initClass()"}, - { (char *)"new_SoVRMLSwitch", _wrap_new_SoVRMLSwitch, METH_VARARGS, (char *)"\n" - "SoVRMLSwitch()\n" - "new_SoVRMLSwitch(int choices) -> SoVRMLSwitch\n" - ""}, - { (char *)"SoVRMLSwitch_choice_set", _wrap_SoVRMLSwitch_choice_set, METH_VARARGS, (char *)"SoVRMLSwitch_choice_set(SoVRMLSwitch self, SoMFNode choice)"}, - { (char *)"SoVRMLSwitch_choice_get", _wrap_SoVRMLSwitch_choice_get, METH_VARARGS, (char *)"SoVRMLSwitch_choice_get(SoVRMLSwitch self) -> SoMFNode"}, - { (char *)"SoVRMLSwitch_whichChoice_set", _wrap_SoVRMLSwitch_whichChoice_set, METH_VARARGS, (char *)"SoVRMLSwitch_whichChoice_set(SoVRMLSwitch self, SoSFInt32 whichChoice)"}, - { (char *)"SoVRMLSwitch_whichChoice_get", _wrap_SoVRMLSwitch_whichChoice_get, METH_VARARGS, (char *)"SoVRMLSwitch_whichChoice_get(SoVRMLSwitch self) -> SoSFInt32"}, - { (char *)"SoVRMLSwitch_affectsState", _wrap_SoVRMLSwitch_affectsState, METH_VARARGS, (char *)"SoVRMLSwitch_affectsState(SoVRMLSwitch self) -> SbBool"}, - { (char *)"SoVRMLSwitch_addChoice", _wrap_SoVRMLSwitch_addChoice, METH_VARARGS, (char *)"SoVRMLSwitch_addChoice(SoVRMLSwitch self, SoNode choice)"}, - { (char *)"SoVRMLSwitch_insertChoice", _wrap_SoVRMLSwitch_insertChoice, METH_VARARGS, (char *)"SoVRMLSwitch_insertChoice(SoVRMLSwitch self, SoNode choice, int idx)"}, - { (char *)"SoVRMLSwitch_getChoice", _wrap_SoVRMLSwitch_getChoice, METH_VARARGS, (char *)"SoVRMLSwitch_getChoice(SoVRMLSwitch self, int idx) -> SoNode"}, - { (char *)"SoVRMLSwitch_findChoice", _wrap_SoVRMLSwitch_findChoice, METH_VARARGS, (char *)"SoVRMLSwitch_findChoice(SoVRMLSwitch self, SoNode choice) -> int"}, - { (char *)"SoVRMLSwitch_getNumChoices", _wrap_SoVRMLSwitch_getNumChoices, METH_VARARGS, (char *)"SoVRMLSwitch_getNumChoices(SoVRMLSwitch self) -> int"}, - { (char *)"SoVRMLSwitch_removeChoice", _wrap_SoVRMLSwitch_removeChoice, METH_VARARGS, (char *)"\n" - "removeChoice(int idx)\n" - "SoVRMLSwitch_removeChoice(SoVRMLSwitch self, SoNode node)\n" - ""}, - { (char *)"SoVRMLSwitch_removeAllChoices", _wrap_SoVRMLSwitch_removeAllChoices, METH_VARARGS, (char *)"SoVRMLSwitch_removeAllChoices(SoVRMLSwitch self)"}, - { (char *)"SoVRMLSwitch_replaceChoice", _wrap_SoVRMLSwitch_replaceChoice, METH_VARARGS, (char *)"\n" - "replaceChoice(int idx, SoNode choice)\n" - "SoVRMLSwitch_replaceChoice(SoVRMLSwitch self, SoNode old, SoNode choice)\n" - ""}, - { (char *)"SoVRMLSwitch_doAction", _wrap_SoVRMLSwitch_doAction, METH_VARARGS, (char *)"SoVRMLSwitch_doAction(SoVRMLSwitch self, SoAction action)"}, - { (char *)"SoVRMLSwitch_callback", _wrap_SoVRMLSwitch_callback, METH_VARARGS, (char *)"SoVRMLSwitch_callback(SoVRMLSwitch self, SoCallbackAction action)"}, - { (char *)"SoVRMLSwitch_GLRender", _wrap_SoVRMLSwitch_GLRender, METH_VARARGS, (char *)"SoVRMLSwitch_GLRender(SoVRMLSwitch self, SoGLRenderAction action)"}, - { (char *)"SoVRMLSwitch_pick", _wrap_SoVRMLSwitch_pick, METH_VARARGS, (char *)"SoVRMLSwitch_pick(SoVRMLSwitch self, SoPickAction action)"}, - { (char *)"SoVRMLSwitch_getBoundingBox", _wrap_SoVRMLSwitch_getBoundingBox, METH_VARARGS, (char *)"SoVRMLSwitch_getBoundingBox(SoVRMLSwitch self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLSwitch_handleEvent", _wrap_SoVRMLSwitch_handleEvent, METH_VARARGS, (char *)"SoVRMLSwitch_handleEvent(SoVRMLSwitch self, SoHandleEventAction action)"}, - { (char *)"SoVRMLSwitch_getMatrix", _wrap_SoVRMLSwitch_getMatrix, METH_VARARGS, (char *)"SoVRMLSwitch_getMatrix(SoVRMLSwitch self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLSwitch_search", _wrap_SoVRMLSwitch_search, METH_VARARGS, (char *)"SoVRMLSwitch_search(SoVRMLSwitch self, SoSearchAction action)"}, - { (char *)"SoVRMLSwitch_write", _wrap_SoVRMLSwitch_write, METH_VARARGS, (char *)"SoVRMLSwitch_write(SoVRMLSwitch self, SoWriteAction action)"}, - { (char *)"SoVRMLSwitch_audioRender", _wrap_SoVRMLSwitch_audioRender, METH_VARARGS, (char *)"SoVRMLSwitch_audioRender(SoVRMLSwitch self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLSwitch_addChild", _wrap_SoVRMLSwitch_addChild, METH_VARARGS, (char *)"SoVRMLSwitch_addChild(SoVRMLSwitch self, SoNode child)"}, - { (char *)"SoVRMLSwitch_insertChild", _wrap_SoVRMLSwitch_insertChild, METH_VARARGS, (char *)"SoVRMLSwitch_insertChild(SoVRMLSwitch self, SoNode child, int idx)"}, - { (char *)"SoVRMLSwitch_getChild", _wrap_SoVRMLSwitch_getChild, METH_VARARGS, (char *)"SoVRMLSwitch_getChild(SoVRMLSwitch self, int idx) -> SoNode"}, - { (char *)"SoVRMLSwitch_findChild", _wrap_SoVRMLSwitch_findChild, METH_VARARGS, (char *)"SoVRMLSwitch_findChild(SoVRMLSwitch self, SoNode child) -> int"}, - { (char *)"SoVRMLSwitch_getNumChildren", _wrap_SoVRMLSwitch_getNumChildren, METH_VARARGS, (char *)"SoVRMLSwitch_getNumChildren(SoVRMLSwitch self) -> int"}, - { (char *)"SoVRMLSwitch_removeChild", _wrap_SoVRMLSwitch_removeChild, METH_VARARGS, (char *)"\n" - "removeChild(int idx)\n" - "SoVRMLSwitch_removeChild(SoVRMLSwitch self, SoNode child)\n" - ""}, - { (char *)"SoVRMLSwitch_removeAllChildren", _wrap_SoVRMLSwitch_removeAllChildren, METH_VARARGS, (char *)"SoVRMLSwitch_removeAllChildren(SoVRMLSwitch self)"}, - { (char *)"SoVRMLSwitch_replaceChild", _wrap_SoVRMLSwitch_replaceChild, METH_VARARGS, (char *)"\n" - "replaceChild(int idx, SoNode node)\n" - "SoVRMLSwitch_replaceChild(SoVRMLSwitch self, SoNode old, SoNode node)\n" - ""}, - { (char *)"SoVRMLSwitch_getChildren", _wrap_SoVRMLSwitch_getChildren, METH_VARARGS, (char *)"SoVRMLSwitch_getChildren(SoVRMLSwitch self) -> SoChildList"}, - { (char *)"SoVRMLSwitch_swigregister", SoVRMLSwitch_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLText_getClassTypeId", _wrap_SoVRMLText_getClassTypeId, METH_VARARGS, (char *)"SoVRMLText_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLText_getTypeId", _wrap_SoVRMLText_getTypeId, METH_VARARGS, (char *)"SoVRMLText_getTypeId(SoVRMLText self) -> SoType"}, - { (char *)"SoVRMLText_initClass", _wrap_SoVRMLText_initClass, METH_VARARGS, (char *)"SoVRMLText_initClass()"}, - { (char *)"new_SoVRMLText", _wrap_new_SoVRMLText, METH_VARARGS, (char *)"new_SoVRMLText() -> SoVRMLText"}, - { (char *)"SoVRMLText_string_set", _wrap_SoVRMLText_string_set, METH_VARARGS, (char *)"SoVRMLText_string_set(SoVRMLText self, SoMFString string)"}, - { (char *)"SoVRMLText_string_get", _wrap_SoVRMLText_string_get, METH_VARARGS, (char *)"SoVRMLText_string_get(SoVRMLText self) -> SoMFString"}, - { (char *)"SoVRMLText_fontStyle_set", _wrap_SoVRMLText_fontStyle_set, METH_VARARGS, (char *)"SoVRMLText_fontStyle_set(SoVRMLText self, SoSFNode fontStyle)"}, - { (char *)"SoVRMLText_fontStyle_get", _wrap_SoVRMLText_fontStyle_get, METH_VARARGS, (char *)"SoVRMLText_fontStyle_get(SoVRMLText self) -> SoSFNode"}, - { (char *)"SoVRMLText_maxExtent_set", _wrap_SoVRMLText_maxExtent_set, METH_VARARGS, (char *)"SoVRMLText_maxExtent_set(SoVRMLText self, SoSFFloat maxExtent)"}, - { (char *)"SoVRMLText_maxExtent_get", _wrap_SoVRMLText_maxExtent_get, METH_VARARGS, (char *)"SoVRMLText_maxExtent_get(SoVRMLText self) -> SoSFFloat"}, - { (char *)"SoVRMLText_length_set", _wrap_SoVRMLText_length_set, METH_VARARGS, (char *)"SoVRMLText_length_set(SoVRMLText self, SoMFFloat length)"}, - { (char *)"SoVRMLText_length_get", _wrap_SoVRMLText_length_get, METH_VARARGS, (char *)"SoVRMLText_length_get(SoVRMLText self) -> SoMFFloat"}, - { (char *)"SoVRMLText_GLRender", _wrap_SoVRMLText_GLRender, METH_VARARGS, (char *)"SoVRMLText_GLRender(SoVRMLText self, SoGLRenderAction action)"}, - { (char *)"SoVRMLText_getPrimitiveCount", _wrap_SoVRMLText_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLText_getPrimitiveCount(SoVRMLText self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLText_notify", _wrap_SoVRMLText_notify, METH_VARARGS, (char *)"SoVRMLText_notify(SoVRMLText self, SoNotList list)"}, - { (char *)"SoVRMLText_getChildren", _wrap_SoVRMLText_getChildren, METH_VARARGS, (char *)"SoVRMLText_getChildren(SoVRMLText self) -> SoChildList"}, - { (char *)"SoVRMLText_swigregister", SoVRMLText_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTextureCoordinate_getClassTypeId", _wrap_SoVRMLTextureCoordinate_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTextureCoordinate_getTypeId", _wrap_SoVRMLTextureCoordinate_getTypeId, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getTypeId(SoVRMLTextureCoordinate self) -> SoType"}, - { (char *)"SoVRMLTextureCoordinate_initClass", _wrap_SoVRMLTextureCoordinate_initClass, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_initClass()"}, - { (char *)"new_SoVRMLTextureCoordinate", _wrap_new_SoVRMLTextureCoordinate, METH_VARARGS, (char *)"new_SoVRMLTextureCoordinate() -> SoVRMLTextureCoordinate"}, - { (char *)"SoVRMLTextureCoordinate_point_set", _wrap_SoVRMLTextureCoordinate_point_set, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_point_set(SoVRMLTextureCoordinate self, SoMFVec2f point)"}, - { (char *)"SoVRMLTextureCoordinate_point_get", _wrap_SoVRMLTextureCoordinate_point_get, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_point_get(SoVRMLTextureCoordinate self) -> SoMFVec2f"}, - { (char *)"SoVRMLTextureCoordinate_doAction", _wrap_SoVRMLTextureCoordinate_doAction, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_doAction(SoVRMLTextureCoordinate self, SoAction action)"}, - { (char *)"SoVRMLTextureCoordinate_callback", _wrap_SoVRMLTextureCoordinate_callback, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_callback(SoVRMLTextureCoordinate self, SoCallbackAction action)"}, - { (char *)"SoVRMLTextureCoordinate_GLRender", _wrap_SoVRMLTextureCoordinate_GLRender, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_GLRender(SoVRMLTextureCoordinate self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTextureCoordinate_pick", _wrap_SoVRMLTextureCoordinate_pick, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_pick(SoVRMLTextureCoordinate self, SoPickAction action)"}, - { (char *)"SoVRMLTextureCoordinate_getPrimitiveCount", _wrap_SoVRMLTextureCoordinate_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLTextureCoordinate_getPrimitiveCount(SoVRMLTextureCoordinate self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLTextureCoordinate_swigregister", SoVRMLTextureCoordinate_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTextureTransform_getClassTypeId", _wrap_SoVRMLTextureTransform_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTextureTransform_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTextureTransform_getTypeId", _wrap_SoVRMLTextureTransform_getTypeId, METH_VARARGS, (char *)"SoVRMLTextureTransform_getTypeId(SoVRMLTextureTransform self) -> SoType"}, - { (char *)"SoVRMLTextureTransform_initClass", _wrap_SoVRMLTextureTransform_initClass, METH_VARARGS, (char *)"SoVRMLTextureTransform_initClass()"}, - { (char *)"new_SoVRMLTextureTransform", _wrap_new_SoVRMLTextureTransform, METH_VARARGS, (char *)"new_SoVRMLTextureTransform() -> SoVRMLTextureTransform"}, - { (char *)"SoVRMLTextureTransform_translation_set", _wrap_SoVRMLTextureTransform_translation_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_translation_set(SoVRMLTextureTransform self, SoSFVec2f translation)"}, - { (char *)"SoVRMLTextureTransform_translation_get", _wrap_SoVRMLTextureTransform_translation_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_translation_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_rotation_set", _wrap_SoVRMLTextureTransform_rotation_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_rotation_set(SoVRMLTextureTransform self, SoSFFloat rotation)"}, - { (char *)"SoVRMLTextureTransform_rotation_get", _wrap_SoVRMLTextureTransform_rotation_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_rotation_get(SoVRMLTextureTransform self) -> SoSFFloat"}, - { (char *)"SoVRMLTextureTransform_scale_set", _wrap_SoVRMLTextureTransform_scale_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_scale_set(SoVRMLTextureTransform self, SoSFVec2f scale)"}, - { (char *)"SoVRMLTextureTransform_scale_get", _wrap_SoVRMLTextureTransform_scale_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_scale_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_center_set", _wrap_SoVRMLTextureTransform_center_set, METH_VARARGS, (char *)"SoVRMLTextureTransform_center_set(SoVRMLTextureTransform self, SoSFVec2f center)"}, - { (char *)"SoVRMLTextureTransform_center_get", _wrap_SoVRMLTextureTransform_center_get, METH_VARARGS, (char *)"SoVRMLTextureTransform_center_get(SoVRMLTextureTransform self) -> SoSFVec2f"}, - { (char *)"SoVRMLTextureTransform_doAction", _wrap_SoVRMLTextureTransform_doAction, METH_VARARGS, (char *)"SoVRMLTextureTransform_doAction(SoVRMLTextureTransform self, SoAction action)"}, - { (char *)"SoVRMLTextureTransform_callback", _wrap_SoVRMLTextureTransform_callback, METH_VARARGS, (char *)"SoVRMLTextureTransform_callback(SoVRMLTextureTransform self, SoCallbackAction action)"}, - { (char *)"SoVRMLTextureTransform_GLRender", _wrap_SoVRMLTextureTransform_GLRender, METH_VARARGS, (char *)"SoVRMLTextureTransform_GLRender(SoVRMLTextureTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTextureTransform_getMatrix", _wrap_SoVRMLTextureTransform_getMatrix, METH_VARARGS, (char *)"SoVRMLTextureTransform_getMatrix(SoVRMLTextureTransform self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLTextureTransform_pick", _wrap_SoVRMLTextureTransform_pick, METH_VARARGS, (char *)"SoVRMLTextureTransform_pick(SoVRMLTextureTransform self, SoPickAction action)"}, - { (char *)"SoVRMLTextureTransform_swigregister", SoVRMLTextureTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTimeSensor_getClassTypeId", _wrap_SoVRMLTimeSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTimeSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTimeSensor_getTypeId", _wrap_SoVRMLTimeSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLTimeSensor_getTypeId(SoVRMLTimeSensor self) -> SoType"}, - { (char *)"SoVRMLTimeSensor_getOutputData", _wrap_SoVRMLTimeSensor_getOutputData, METH_VARARGS, (char *)"SoVRMLTimeSensor_getOutputData(SoVRMLTimeSensor self) -> SoEngineOutputData"}, - { (char *)"SoVRMLTimeSensor_createInstance", _wrap_SoVRMLTimeSensor_createInstance, METH_VARARGS, (char *)"SoVRMLTimeSensor_createInstance() -> void"}, - { (char *)"SoVRMLTimeSensor_initClass", _wrap_SoVRMLTimeSensor_initClass, METH_VARARGS, (char *)"SoVRMLTimeSensor_initClass()"}, - { (char *)"new_SoVRMLTimeSensor", _wrap_new_SoVRMLTimeSensor, METH_VARARGS, (char *)"new_SoVRMLTimeSensor() -> SoVRMLTimeSensor"}, - { (char *)"SoVRMLTimeSensor_cycleInterval_set", _wrap_SoVRMLTimeSensor_cycleInterval_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleInterval_set(SoVRMLTimeSensor self, SoSFTime cycleInterval)"}, - { (char *)"SoVRMLTimeSensor_cycleInterval_get", _wrap_SoVRMLTimeSensor_cycleInterval_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleInterval_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_enabled_set", _wrap_SoVRMLTimeSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_enabled_set(SoVRMLTimeSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLTimeSensor_enabled_get", _wrap_SoVRMLTimeSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_enabled_get(SoVRMLTimeSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTimeSensor_loop_set", _wrap_SoVRMLTimeSensor_loop_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_loop_set(SoVRMLTimeSensor self, SoSFBool loop)"}, - { (char *)"SoVRMLTimeSensor_loop_get", _wrap_SoVRMLTimeSensor_loop_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_loop_get(SoVRMLTimeSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTimeSensor_startTime_set", _wrap_SoVRMLTimeSensor_startTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_startTime_set(SoVRMLTimeSensor self, SoSFTime startTime)"}, - { (char *)"SoVRMLTimeSensor_startTime_get", _wrap_SoVRMLTimeSensor_startTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_startTime_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_stopTime_set", _wrap_SoVRMLTimeSensor_stopTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_stopTime_set(SoVRMLTimeSensor self, SoSFTime stopTime)"}, - { (char *)"SoVRMLTimeSensor_stopTime_get", _wrap_SoVRMLTimeSensor_stopTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_stopTime_get(SoVRMLTimeSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTimeSensor_notify", _wrap_SoVRMLTimeSensor_notify, METH_VARARGS, (char *)"SoVRMLTimeSensor_notify(SoVRMLTimeSensor self, SoNotList list)"}, - { (char *)"SoVRMLTimeSensor_handleEvent", _wrap_SoVRMLTimeSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLTimeSensor_handleEvent(SoVRMLTimeSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLTimeSensor_write", _wrap_SoVRMLTimeSensor_write, METH_VARARGS, (char *)"SoVRMLTimeSensor_write(SoVRMLTimeSensor self, SoWriteAction action)"}, - { (char *)"SoVRMLTimeSensor_cycleTime_set", _wrap_SoVRMLTimeSensor_cycleTime_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleTime_set(SoVRMLTimeSensor self, SoEngineOutput cycleTime)"}, - { (char *)"SoVRMLTimeSensor_cycleTime_get", _wrap_SoVRMLTimeSensor_cycleTime_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_cycleTime_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_fraction_changed_set", _wrap_SoVRMLTimeSensor_fraction_changed_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_fraction_changed_set(SoVRMLTimeSensor self, SoEngineOutput fraction_changed)"}, - { (char *)"SoVRMLTimeSensor_fraction_changed_get", _wrap_SoVRMLTimeSensor_fraction_changed_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_fraction_changed_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_isActive_set", _wrap_SoVRMLTimeSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_isActive_set(SoVRMLTimeSensor self, SoEngineOutput isActive)"}, - { (char *)"SoVRMLTimeSensor_isActive_get", _wrap_SoVRMLTimeSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_isActive_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_time_set", _wrap_SoVRMLTimeSensor_time_set, METH_VARARGS, (char *)"SoVRMLTimeSensor_time_set(SoVRMLTimeSensor self, SoEngineOutput time)"}, - { (char *)"SoVRMLTimeSensor_time_get", _wrap_SoVRMLTimeSensor_time_get, METH_VARARGS, (char *)"SoVRMLTimeSensor_time_get(SoVRMLTimeSensor self) -> SoEngineOutput"}, - { (char *)"SoVRMLTimeSensor_swigregister", SoVRMLTimeSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTouchSensor_getClassTypeId", _wrap_SoVRMLTouchSensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTouchSensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTouchSensor_getTypeId", _wrap_SoVRMLTouchSensor_getTypeId, METH_VARARGS, (char *)"SoVRMLTouchSensor_getTypeId(SoVRMLTouchSensor self) -> SoType"}, - { (char *)"SoVRMLTouchSensor_initClass", _wrap_SoVRMLTouchSensor_initClass, METH_VARARGS, (char *)"SoVRMLTouchSensor_initClass()"}, - { (char *)"new_SoVRMLTouchSensor", _wrap_new_SoVRMLTouchSensor, METH_VARARGS, (char *)"new_SoVRMLTouchSensor() -> SoVRMLTouchSensor"}, - { (char *)"SoVRMLTouchSensor_enabled_set", _wrap_SoVRMLTouchSensor_enabled_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_enabled_set(SoVRMLTouchSensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLTouchSensor_enabled_get", _wrap_SoVRMLTouchSensor_enabled_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_enabled_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_hitNormal_changed_set", _wrap_SoVRMLTouchSensor_hitNormal_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitNormal_changed_set(SoVRMLTouchSensor self, SoSFVec3f hitNormal_changed)"}, - { (char *)"SoVRMLTouchSensor_hitNormal_changed_get", _wrap_SoVRMLTouchSensor_hitNormal_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitNormal_changed_get(SoVRMLTouchSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLTouchSensor_hitPoint_changed_set", _wrap_SoVRMLTouchSensor_hitPoint_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitPoint_changed_set(SoVRMLTouchSensor self, SoSFVec3f hitPoint_changed)"}, - { (char *)"SoVRMLTouchSensor_hitPoint_changed_get", _wrap_SoVRMLTouchSensor_hitPoint_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitPoint_changed_get(SoVRMLTouchSensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLTouchSensor_hitTexCoord_changed_set", _wrap_SoVRMLTouchSensor_hitTexCoord_changed_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitTexCoord_changed_set(SoVRMLTouchSensor self, SoSFVec2f hitTexCoord_changed)"}, - { (char *)"SoVRMLTouchSensor_hitTexCoord_changed_get", _wrap_SoVRMLTouchSensor_hitTexCoord_changed_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_hitTexCoord_changed_get(SoVRMLTouchSensor self) -> SoSFVec2f"}, - { (char *)"SoVRMLTouchSensor_isActive_set", _wrap_SoVRMLTouchSensor_isActive_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_isActive_set(SoVRMLTouchSensor self, SoSFBool isActive)"}, - { (char *)"SoVRMLTouchSensor_isActive_get", _wrap_SoVRMLTouchSensor_isActive_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_isActive_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_isOver_set", _wrap_SoVRMLTouchSensor_isOver_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_isOver_set(SoVRMLTouchSensor self, SoSFBool isOver)"}, - { (char *)"SoVRMLTouchSensor_isOver_get", _wrap_SoVRMLTouchSensor_isOver_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_isOver_get(SoVRMLTouchSensor self) -> SoSFBool"}, - { (char *)"SoVRMLTouchSensor_touchTime_set", _wrap_SoVRMLTouchSensor_touchTime_set, METH_VARARGS, (char *)"SoVRMLTouchSensor_touchTime_set(SoVRMLTouchSensor self, SoSFTime touchTime)"}, - { (char *)"SoVRMLTouchSensor_touchTime_get", _wrap_SoVRMLTouchSensor_touchTime_get, METH_VARARGS, (char *)"SoVRMLTouchSensor_touchTime_get(SoVRMLTouchSensor self) -> SoSFTime"}, - { (char *)"SoVRMLTouchSensor_affectsState", _wrap_SoVRMLTouchSensor_affectsState, METH_VARARGS, (char *)"SoVRMLTouchSensor_affectsState(SoVRMLTouchSensor self) -> SbBool"}, - { (char *)"SoVRMLTouchSensor_handleEvent", _wrap_SoVRMLTouchSensor_handleEvent, METH_VARARGS, (char *)"SoVRMLTouchSensor_handleEvent(SoVRMLTouchSensor self, SoHandleEventAction action)"}, - { (char *)"SoVRMLTouchSensor_swigregister", SoVRMLTouchSensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLTransform_getClassTypeId", _wrap_SoVRMLTransform_getClassTypeId, METH_VARARGS, (char *)"SoVRMLTransform_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLTransform_getTypeId", _wrap_SoVRMLTransform_getTypeId, METH_VARARGS, (char *)"SoVRMLTransform_getTypeId(SoVRMLTransform self) -> SoType"}, - { (char *)"SoVRMLTransform_initClass", _wrap_SoVRMLTransform_initClass, METH_VARARGS, (char *)"SoVRMLTransform_initClass()"}, - { (char *)"new_SoVRMLTransform", _wrap_new_SoVRMLTransform, METH_VARARGS, (char *)"\n" - "SoVRMLTransform()\n" - "new_SoVRMLTransform(int children) -> SoVRMLTransform\n" - ""}, - { (char *)"SoVRMLTransform_translation_set", _wrap_SoVRMLTransform_translation_set, METH_VARARGS, (char *)"SoVRMLTransform_translation_set(SoVRMLTransform self, SoSFVec3f translation)"}, - { (char *)"SoVRMLTransform_translation_get", _wrap_SoVRMLTransform_translation_get, METH_VARARGS, (char *)"SoVRMLTransform_translation_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_rotation_set", _wrap_SoVRMLTransform_rotation_set, METH_VARARGS, (char *)"SoVRMLTransform_rotation_set(SoVRMLTransform self, SoSFRotation rotation)"}, - { (char *)"SoVRMLTransform_rotation_get", _wrap_SoVRMLTransform_rotation_get, METH_VARARGS, (char *)"SoVRMLTransform_rotation_get(SoVRMLTransform self) -> SoSFRotation"}, - { (char *)"SoVRMLTransform_scale_set", _wrap_SoVRMLTransform_scale_set, METH_VARARGS, (char *)"SoVRMLTransform_scale_set(SoVRMLTransform self, SoSFVec3f scale)"}, - { (char *)"SoVRMLTransform_scale_get", _wrap_SoVRMLTransform_scale_get, METH_VARARGS, (char *)"SoVRMLTransform_scale_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_scaleOrientation_set", _wrap_SoVRMLTransform_scaleOrientation_set, METH_VARARGS, (char *)"SoVRMLTransform_scaleOrientation_set(SoVRMLTransform self, SoSFRotation scaleOrientation)"}, - { (char *)"SoVRMLTransform_scaleOrientation_get", _wrap_SoVRMLTransform_scaleOrientation_get, METH_VARARGS, (char *)"SoVRMLTransform_scaleOrientation_get(SoVRMLTransform self) -> SoSFRotation"}, - { (char *)"SoVRMLTransform_center_set", _wrap_SoVRMLTransform_center_set, METH_VARARGS, (char *)"SoVRMLTransform_center_set(SoVRMLTransform self, SoSFVec3f center)"}, - { (char *)"SoVRMLTransform_center_get", _wrap_SoVRMLTransform_center_get, METH_VARARGS, (char *)"SoVRMLTransform_center_get(SoVRMLTransform self) -> SoSFVec3f"}, - { (char *)"SoVRMLTransform_pointAt", _wrap_SoVRMLTransform_pointAt, METH_VARARGS, (char *)"SoVRMLTransform_pointAt(SoVRMLTransform self, SbVec3f from, SbVec3f to)"}, - { (char *)"SoVRMLTransform_getScaleSpaceMatrix", _wrap_SoVRMLTransform_getScaleSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getScaleSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_getRotationSpaceMatrix", _wrap_SoVRMLTransform_getRotationSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getRotationSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_getTranslationSpaceMatrix", _wrap_SoVRMLTransform_getTranslationSpaceMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getTranslationSpaceMatrix(SoVRMLTransform self, SbMatrix matrix, SbMatrix inverse)"}, - { (char *)"SoVRMLTransform_multLeft", _wrap_SoVRMLTransform_multLeft, METH_VARARGS, (char *)"SoVRMLTransform_multLeft(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_multRight", _wrap_SoVRMLTransform_multRight, METH_VARARGS, (char *)"SoVRMLTransform_multRight(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_combineLeft", _wrap_SoVRMLTransform_combineLeft, METH_VARARGS, (char *)"SoVRMLTransform_combineLeft(SoVRMLTransform self, SoVRMLTransform leftnode)"}, - { (char *)"SoVRMLTransform_combineRight", _wrap_SoVRMLTransform_combineRight, METH_VARARGS, (char *)"SoVRMLTransform_combineRight(SoVRMLTransform self, SoVRMLTransform rightnode)"}, - { (char *)"SoVRMLTransform_setMatrix", _wrap_SoVRMLTransform_setMatrix, METH_VARARGS, (char *)"SoVRMLTransform_setMatrix(SoVRMLTransform self, SbMatrix matrix)"}, - { (char *)"SoVRMLTransform_recenter", _wrap_SoVRMLTransform_recenter, METH_VARARGS, (char *)"SoVRMLTransform_recenter(SoVRMLTransform self, SbVec3f newcenter)"}, - { (char *)"SoVRMLTransform_doAction", _wrap_SoVRMLTransform_doAction, METH_VARARGS, (char *)"SoVRMLTransform_doAction(SoVRMLTransform self, SoAction action)"}, - { (char *)"SoVRMLTransform_callback", _wrap_SoVRMLTransform_callback, METH_VARARGS, (char *)"SoVRMLTransform_callback(SoVRMLTransform self, SoCallbackAction action)"}, - { (char *)"SoVRMLTransform_getBoundingBox", _wrap_SoVRMLTransform_getBoundingBox, METH_VARARGS, (char *)"SoVRMLTransform_getBoundingBox(SoVRMLTransform self, SoGetBoundingBoxAction action)"}, - { (char *)"SoVRMLTransform_getMatrix", _wrap_SoVRMLTransform_getMatrix, METH_VARARGS, (char *)"SoVRMLTransform_getMatrix(SoVRMLTransform self, SoGetMatrixAction action)"}, - { (char *)"SoVRMLTransform_rayPick", _wrap_SoVRMLTransform_rayPick, METH_VARARGS, (char *)"SoVRMLTransform_rayPick(SoVRMLTransform self, SoRayPickAction action)"}, - { (char *)"SoVRMLTransform_getPrimitiveCount", _wrap_SoVRMLTransform_getPrimitiveCount, METH_VARARGS, (char *)"SoVRMLTransform_getPrimitiveCount(SoVRMLTransform self, SoGetPrimitiveCountAction action)"}, - { (char *)"SoVRMLTransform_audioRender", _wrap_SoVRMLTransform_audioRender, METH_VARARGS, (char *)"SoVRMLTransform_audioRender(SoVRMLTransform self, SoAudioRenderAction action)"}, - { (char *)"SoVRMLTransform_GLRenderBelowPath", _wrap_SoVRMLTransform_GLRenderBelowPath, METH_VARARGS, (char *)"SoVRMLTransform_GLRenderBelowPath(SoVRMLTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTransform_GLRenderInPath", _wrap_SoVRMLTransform_GLRenderInPath, METH_VARARGS, (char *)"SoVRMLTransform_GLRenderInPath(SoVRMLTransform self, SoGLRenderAction action)"}, - { (char *)"SoVRMLTransform_notify", _wrap_SoVRMLTransform_notify, METH_VARARGS, (char *)"SoVRMLTransform_notify(SoVRMLTransform self, SoNotList list)"}, - { (char *)"SoVRMLTransform_swigregister", SoVRMLTransform_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLViewpoint_getClassTypeId", _wrap_SoVRMLViewpoint_getClassTypeId, METH_VARARGS, (char *)"SoVRMLViewpoint_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLViewpoint_getTypeId", _wrap_SoVRMLViewpoint_getTypeId, METH_VARARGS, (char *)"SoVRMLViewpoint_getTypeId(SoVRMLViewpoint self) -> SoType"}, - { (char *)"SoVRMLViewpoint_initClass", _wrap_SoVRMLViewpoint_initClass, METH_VARARGS, (char *)"SoVRMLViewpoint_initClass()"}, - { (char *)"new_SoVRMLViewpoint", _wrap_new_SoVRMLViewpoint, METH_VARARGS, (char *)"new_SoVRMLViewpoint() -> SoVRMLViewpoint"}, - { (char *)"SoVRMLViewpoint_position_set", _wrap_SoVRMLViewpoint_position_set, METH_VARARGS, (char *)"SoVRMLViewpoint_position_set(SoVRMLViewpoint self, SoSFVec3f position)"}, - { (char *)"SoVRMLViewpoint_position_get", _wrap_SoVRMLViewpoint_position_get, METH_VARARGS, (char *)"SoVRMLViewpoint_position_get(SoVRMLViewpoint self) -> SoSFVec3f"}, - { (char *)"SoVRMLViewpoint_orientation_set", _wrap_SoVRMLViewpoint_orientation_set, METH_VARARGS, (char *)"SoVRMLViewpoint_orientation_set(SoVRMLViewpoint self, SoSFRotation orientation)"}, - { (char *)"SoVRMLViewpoint_orientation_get", _wrap_SoVRMLViewpoint_orientation_get, METH_VARARGS, (char *)"SoVRMLViewpoint_orientation_get(SoVRMLViewpoint self) -> SoSFRotation"}, - { (char *)"SoVRMLViewpoint_fieldOfView_set", _wrap_SoVRMLViewpoint_fieldOfView_set, METH_VARARGS, (char *)"SoVRMLViewpoint_fieldOfView_set(SoVRMLViewpoint self, SoSFFloat fieldOfView)"}, - { (char *)"SoVRMLViewpoint_fieldOfView_get", _wrap_SoVRMLViewpoint_fieldOfView_get, METH_VARARGS, (char *)"SoVRMLViewpoint_fieldOfView_get(SoVRMLViewpoint self) -> SoSFFloat"}, - { (char *)"SoVRMLViewpoint_description_set", _wrap_SoVRMLViewpoint_description_set, METH_VARARGS, (char *)"SoVRMLViewpoint_description_set(SoVRMLViewpoint self, SoSFString description)"}, - { (char *)"SoVRMLViewpoint_description_get", _wrap_SoVRMLViewpoint_description_get, METH_VARARGS, (char *)"SoVRMLViewpoint_description_get(SoVRMLViewpoint self) -> SoSFString"}, - { (char *)"SoVRMLViewpoint_jump_set", _wrap_SoVRMLViewpoint_jump_set, METH_VARARGS, (char *)"SoVRMLViewpoint_jump_set(SoVRMLViewpoint self, SoSFBool jump)"}, - { (char *)"SoVRMLViewpoint_jump_get", _wrap_SoVRMLViewpoint_jump_get, METH_VARARGS, (char *)"SoVRMLViewpoint_jump_get(SoVRMLViewpoint self) -> SoSFBool"}, - { (char *)"SoVRMLViewpoint_GLRender", _wrap_SoVRMLViewpoint_GLRender, METH_VARARGS, (char *)"SoVRMLViewpoint_GLRender(SoVRMLViewpoint self, SoGLRenderAction action)"}, - { (char *)"SoVRMLViewpoint_swigregister", SoVRMLViewpoint_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLVisibilitySensor_getClassTypeId", _wrap_SoVRMLVisibilitySensor_getClassTypeId, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLVisibilitySensor_getTypeId", _wrap_SoVRMLVisibilitySensor_getTypeId, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_getTypeId(SoVRMLVisibilitySensor self) -> SoType"}, - { (char *)"SoVRMLVisibilitySensor_initClass", _wrap_SoVRMLVisibilitySensor_initClass, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_initClass()"}, - { (char *)"new_SoVRMLVisibilitySensor", _wrap_new_SoVRMLVisibilitySensor, METH_VARARGS, (char *)"new_SoVRMLVisibilitySensor() -> SoVRMLVisibilitySensor"}, - { (char *)"SoVRMLVisibilitySensor_center_set", _wrap_SoVRMLVisibilitySensor_center_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_center_set(SoVRMLVisibilitySensor self, SoSFVec3f center)"}, - { (char *)"SoVRMLVisibilitySensor_center_get", _wrap_SoVRMLVisibilitySensor_center_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_center_get(SoVRMLVisibilitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLVisibilitySensor_size_set", _wrap_SoVRMLVisibilitySensor_size_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_size_set(SoVRMLVisibilitySensor self, SoSFVec3f size)"}, - { (char *)"SoVRMLVisibilitySensor_size_get", _wrap_SoVRMLVisibilitySensor_size_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_size_get(SoVRMLVisibilitySensor self) -> SoSFVec3f"}, - { (char *)"SoVRMLVisibilitySensor_enabled_set", _wrap_SoVRMLVisibilitySensor_enabled_set, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enabled_set(SoVRMLVisibilitySensor self, SoSFBool enabled)"}, - { (char *)"SoVRMLVisibilitySensor_enabled_get", _wrap_SoVRMLVisibilitySensor_enabled_get, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_enabled_get(SoVRMLVisibilitySensor self) -> SoSFBool"}, - { (char *)"SoVRMLVisibilitySensor_GLRender", _wrap_SoVRMLVisibilitySensor_GLRender, METH_VARARGS, (char *)"SoVRMLVisibilitySensor_GLRender(SoVRMLVisibilitySensor self, SoGLRenderAction action)"}, - { (char *)"SoVRMLVisibilitySensor_swigregister", SoVRMLVisibilitySensor_swigregister, METH_VARARGS, NULL}, - { (char *)"SoVRMLWorldInfo_getClassTypeId", _wrap_SoVRMLWorldInfo_getClassTypeId, METH_VARARGS, (char *)"SoVRMLWorldInfo_getClassTypeId() -> SoType"}, - { (char *)"SoVRMLWorldInfo_getTypeId", _wrap_SoVRMLWorldInfo_getTypeId, METH_VARARGS, (char *)"SoVRMLWorldInfo_getTypeId(SoVRMLWorldInfo self) -> SoType"}, - { (char *)"SoVRMLWorldInfo_initClass", _wrap_SoVRMLWorldInfo_initClass, METH_VARARGS, (char *)"SoVRMLWorldInfo_initClass()"}, - { (char *)"new_SoVRMLWorldInfo", _wrap_new_SoVRMLWorldInfo, METH_VARARGS, (char *)"new_SoVRMLWorldInfo() -> SoVRMLWorldInfo"}, - { (char *)"SoVRMLWorldInfo_title_set", _wrap_SoVRMLWorldInfo_title_set, METH_VARARGS, (char *)"SoVRMLWorldInfo_title_set(SoVRMLWorldInfo self, SoSFString title)"}, - { (char *)"SoVRMLWorldInfo_title_get", _wrap_SoVRMLWorldInfo_title_get, METH_VARARGS, (char *)"SoVRMLWorldInfo_title_get(SoVRMLWorldInfo self) -> SoSFString"}, - { (char *)"SoVRMLWorldInfo_info_set", _wrap_SoVRMLWorldInfo_info_set, METH_VARARGS, (char *)"SoVRMLWorldInfo_info_set(SoVRMLWorldInfo self, SoMFString info)"}, - { (char *)"SoVRMLWorldInfo_info_get", _wrap_SoVRMLWorldInfo_info_get, METH_VARARGS, (char *)"SoVRMLWorldInfo_info_get(SoVRMLWorldInfo self) -> SoMFString"}, - { (char *)"SoVRMLWorldInfo_swigregister", SoVRMLWorldInfo_swigregister, METH_VARARGS, NULL}, - { NULL, NULL, 0, NULL } -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ - -static void *_p_charpTo_p_char(void *x) { - return (void *)((char *) ((charp *) x)); -} -static void *_p_p_charpTo_p_p_char(void *x) { - return (void *)((char **) ((charp **) x)); -} -static void *_p_f_char__charpTo_p_f_char__char(void *x) { - return (void *)((char (*)(char)) ((charp (*)(char)) x)); -} -static void *_p_SoBlinkerTo_p_SoSwitch(void *x) { - return (void *)((SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoNodeListTo_p_SoBaseList(void *x) { - return (void *)((SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SoPathListTo_p_SoBaseList(void *x) { - return (void *)((SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SoChildListTo_p_SoBaseList(void *x) { - return (void *)((SoBaseList *) (SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoEngineListTo_p_SoBaseList(void *x) { - return (void *)((SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoJackManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransformManip(void *x) { - return (void *)((SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoMarkerSetTo_p_SoPointSet(void *x) { - return (void *)((SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoChildListTo_p_SoNodeList(void *x) { - return (void *)((SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoTransformTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoShuttleTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoRotationXYZTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoRotationTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoJackManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoTranslationTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoScaleTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoAntiSquishTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoRotorTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoPendulumTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) (SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoUnitsTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoTransformation(void *x) { - return (void *)((SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int(void *x) { - return (void *)((int (*)(SbString const &,void *,SoVRMLImageTexture *)) ((intp (*)(SbString const &,void *,SoVRMLImageTexture *)) x)); -} -static void *_p_SoTempPathTo_p_SoFullPath(void *x) { - return (void *)((SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoLinearProfileTo_p_SoProfile(void *x) { - return (void *)((SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoProfile(void *x) { - return (void *)((SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoPendulumTo_p_SoRotation(void *x) { - return (void *)((SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoRotorTo_p_SoRotation(void *x) { - return (void *)((SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoShuttleTo_p_SoTranslation(void *x) { - return (void *)((SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SbColorTo_p_SbVec3f(void *x) { - return (void *)((SbVec3f *) ((SbColor *) x)); -} -static void *_p_SoGLBigImageTo_p_SoGLImage(void *x) { - return (void *)((SoGLImage *) ((SoGLBigImage *) x)); -} -static void *_p_SoExtSelectionTo_p_SoSelection(void *x) { - return (void *)((SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoVectorizeAction(void *x) { - return (void *)((SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoVectorizeActionTo_p_SoCallbackAction(void *x) { - return (void *)((SoCallbackAction *) ((SoVectorizeAction *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoCallbackAction(void *x) { - return (void *)((SoCallbackAction *) (SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoRayPickActionTo_p_SoPickAction(void *x) { - return (void *)((SoPickAction *) ((SoRayPickAction *) x)); -} -static void *_p_SoWriteActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoWriteAction *) x)); -} -static void *_p_SoRayPickActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoPickAction *) ((SoRayPickAction *) x)); -} -static void *_p_SoPickActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoPickAction *) x)); -} -static void *_p_SoCallbackActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoCallbackAction *) x)); -} -static void *_p_SoVectorizeActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoCallbackAction *) ((SoVectorizeAction *) x)); -} -static void *_p_SoVectorizePSActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoCallbackAction *)(SoVectorizeAction *) ((SoVectorizePSAction *) x)); -} -static void *_p_SoIntersectionDetectionActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoIntersectionDetectionAction *) x)); -} -static void *_p_SoAudioRenderActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoAudioRenderAction *) x)); -} -static void *_p_SoSearchActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoSearchAction *) x)); -} -static void *_p_SoHandleEventActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoHandleEventAction *) x)); -} -static void *_p_SoGetPrimitiveCountActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoGetPrimitiveCountAction *) x)); -} -static void *_p_SoGetMatrixActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoGetMatrixAction *) x)); -} -static void *_p_SoGetBoundingBoxActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoGetBoundingBoxAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoGLRenderActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoGLRenderAction *) x)); -} -static void *_p_SoToVRMLActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) ((SoToVRMLAction *) x)); -} -static void *_p_SoToVRML2ActionTo_p_SoAction(void *x) { - return (void *)((SoAction *) (SoToVRMLAction *) ((SoToVRML2Action *) x)); -} -static void *_p_intpTo_p_int(void *x) { - return (void *)((int *) ((intp *) x)); -} -static void *_p_SoTempPathTo_p_SoPath(void *x) { - return (void *)((SoPath *) (SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoPath(void *x) { - return (void *)((SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoFullPathTo_p_SoPath(void *x) { - return (void *)((SoPath *) ((SoFullPath *) x)); -} -static void *_p_p_SoTempPathTo_p_p_SoPath(void *x) { - return (void *)((SoPath **) (SoFullPath *) ((SoTempPath **) x)); -} -static void *_p_p_SoNodeKitPathTo_p_p_SoPath(void *x) { - return (void *)((SoPath **) ((SoNodeKitPath **) x)); -} -static void *_p_p_SoFullPathTo_p_p_SoPath(void *x) { - return (void *)((SoPath **) ((SoFullPath **) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoNodeKitPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoFullPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoNodeKitPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoFullPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoTextureCoordinateFunction(void *x) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoTextureCoordinateFunction(void *x) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoTextureCoordinateFunction(void *x) { - return (void *)((SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbSphere__intpTo_p_f_q_const__p_void_r_q_const__SbSphere__int(void *x) { - return (void *)((int (*)(void *const,SbSphere const &)) ((intp (*)(void *const,SbSphere const &)) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoCamera(void *x) { - return (void *)((SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoCamera(void *x) { - return (void *)((SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_p_SoBoxHighlightRenderActionTo_p_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction **) ((SoBoxHighlightRenderAction **) x)); -} -static void *_p_p_SoLineHighlightRenderActionTo_p_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction **) ((SoLineHighlightRenderAction **) x)); -} -static void *_p_SoToVRML2ActionTo_p_SoToVRMLAction(void *x) { - return (void *)((SoToVRMLAction *) ((SoToVRML2Action *) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_floatpTo_p_float(void *x) { - return (void *)((float *) ((floatp *) x)); -} -static void *_p_p_floatpTo_p_p_float(void *x) { - return (void *)((float **) ((floatp **) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoClipPlane(void *x) { - return (void *)((SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoPSVectorOutputTo_p_SoVectorOutput(void *x) { - return (void *)((SoVectorOutput *) ((SoPSVectorOutput *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoVRMLDragSensor(void *x) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoVRMLDragSensor(void *x) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoVRMLDragSensor(void *x) { - return (void *)((SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoTimerSensorTo_p_SoTimerQueueSensor(void *x) { - return (void *)((SoTimerQueueSensor *) ((SoTimerSensor *) x)); -} -static void *_p_SoAlarmSensorTo_p_SoTimerQueueSensor(void *x) { - return (void *)((SoTimerQueueSensor *) ((SoAlarmSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoDataSensor(void *x) { - return (void *)((SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoDataSensor(void *x) { - return (void *)((SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoDataSensor(void *x) { - return (void *)((SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoOneShotSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) ((SoOneShotSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoDataSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) ((SoDataSensor *) x)); -} -static void *_p_SoIdleSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) ((SoIdleSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoDelayQueueSensor(void *x) { - return (void *)((SoDelayQueueSensor *) (SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_SoFieldSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoFieldSensor *) x)); -} -static void *_p_SoOneShotSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoOneShotSensor *) x)); -} -static void *_p_SoPathSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoPathSensor *) x)); -} -static void *_p_SoTimerSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoTimerQueueSensor *) ((SoTimerSensor *) x)); -} -static void *_p_SoDelayQueueSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) ((SoDelayQueueSensor *) x)); -} -static void *_p_SoDataSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoDataSensor *) x)); -} -static void *_p_SoTimerQueueSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) ((SoTimerQueueSensor *) x)); -} -static void *_p_SoAlarmSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoTimerQueueSensor *) ((SoAlarmSensor *) x)); -} -static void *_p_SoIdleSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *) ((SoIdleSensor *) x)); -} -static void *_p_SoNodeSensorTo_p_SoSensor(void *x) { - return (void *)((SoSensor *) (SoDelayQueueSensor *)(SoDataSensor *) ((SoNodeSensor *) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbVec3f__intpTo_p_f_q_const__p_void_r_q_const__SbVec3f__int(void *x) { - return (void *)((int (*)(void *const,SbVec3f const &)) ((intp (*)(void *const,SbVec3f const &)) x)); -} -static void *_p_f_q_const__p_void_r_q_const__SbBox3f__intpTo_p_f_q_const__p_void_r_q_const__SbBox3f__int(void *x) { - return (void *)((int (*)(void *const,SbBox3f const &)) ((intp (*)(void *const,SbBox3f const &)) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoVRMLInterpolator(void *x) { - return (void *)((SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoFontStyleTo_p_SoFont(void *x) { - return (void *)((SoFont *) ((SoFontStyle *) x)); -} -static void *_p_f_r_q_const__SbName_float_int_p_void__intpTo_p_f_r_q_const__SbName_float_int_p_void__int(void *x) { - return (void *)((int (*)(SbName const &,float,int,void *)) ((intp (*)(SbName const &,float,int,void *)) x)); -} -static void *_p_f_p_void__intpTo_p_f_p_void__int(void *x) { - return (void *)((int (*)(void *)) ((intp (*)(void *)) x)); -} -static void *_p_f_float_p_void__intpTo_p_f_float_p_void__int(void *x) { - return (void *)((int (*)(float,void *)) ((intp (*)(float,void *)) x)); -} -static void *_p_f_p_void_p_void__intpTo_p_f_p_void_p_void__int(void *x) { - return (void *)((int (*)(void *,void *)) ((intp (*)(void *,void *)) x)); -} -static void *_p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int(void *x) { - return (void *)((int (*)(SbString const &,SbImage *,void *)) ((intp (*)(SbString const &,SbImage *,void *)) x)); -} -static void *_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int(void *x) { - return (void *)((int (*)(void *,long,int,SoVRMLAudioClip *,void *)) ((intp (*)(void *,long,int,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_f_p_void_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__int(void *x) { - return (void *)((int (*)(void *,SoVRMLAudioClip *,void *)) ((intp (*)(void *,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_SoClipPlaneTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoBaseKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoRotationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoAnnotationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoLinearProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfile *) x)); -} -static void *_p_SoVRMLParentTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoResetTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoAntiSquishTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoListener *) x)); -} -static void *_p_SoConeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoEventCallbackTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCallback *) x)); -} -static void *_p_SoJackManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoEnvironmentTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoPendulumTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoSceneKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoShapeHintsTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoSceneTexture2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCube *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoTranslationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoWrapperKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProto *) x)); -} -static void *_p_SoWWWInlineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoCenterballManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_p_SoClipPlaneTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoClipPlane **) x)); -} -static void *_p_p_SoBumpMapCoordinateTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoBumpMapCoordinate **) x)); -} -static void *_p_p_SoVRMLCoordinateTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLCoordinate **) x)); -} -static void *_p_p_SoVRMLTextureCoordinateTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLTextureCoordinate **) x)); -} -static void *_p_p_SoLightKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoLightKit **) x)); -} -static void *_p_p_SoTextureCombineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCombine **) x)); -} -static void *_p_p_SoTriangleStripSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet **) x)); -} -static void *_p_p_SoIndexedTriangleStripSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet **) x)); -} -static void *_p_p_SoVRMLExtrusionTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion **) x)); -} -static void *_p_p_SoBaseKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoBaseKit **) x)); -} -static void *_p_p_SoExtSelectionTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection **) x)); -} -static void *_p_p_SoSelectionTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoSelection **) x)); -} -static void *_p_p_SoVertexPropertyTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVertexProperty **) x)); -} -static void *_p_p_SoRotationXYZTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoRotationXYZ **) x)); -} -static void *_p_p_SoComplexityTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoComplexity **) x)); -} -static void *_p_p_SoVRMLBillboardTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard **) x)); -} -static void *_p_p_SoLightModelTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoLightModel **) x)); -} -static void *_p_p_SoUnitsTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoUnits **) x)); -} -static void *_p_p_SoShapeKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit **) x)); -} -static void *_p_p_SoRotationTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoRotation **) x)); -} -static void *_p_p_SoAnnotationTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoAnnotation **) x)); -} -static void *_p_p_SoNurbsSurfaceTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoNurbsSurface **) x)); -} -static void *_p_p_SoIndexedNurbsSurfaceTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoIndexedNurbsSurface **) x)); -} -static void *_p_p_SoNurbsProfileTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoProfile *) ((SoNurbsProfile **) x)); -} -static void *_p_p_SoLinearProfileTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoProfile *) ((SoLinearProfile **) x)); -} -static void *_p_p_SoProfileTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoProfile **) x)); -} -static void *_p_p_SoVRMLParentTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLParent **) x)); -} -static void *_p_p_SoVRMLLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLLight **) x)); -} -static void *_p_p_SoClipPlaneManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoClipPlane *) ((SoClipPlaneManip **) x)); -} -static void *_p_p_SoAsciiTextTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoAsciiText **) x)); -} -static void *_p_p_SoVRMLGeometryTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoVRMLGeometry **) x)); -} -static void *_p_p_SoCylinderTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoCylinder **) x)); -} -static void *_p_p_SoTextureCoordinateCylinderTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinateCylinder **) x)); -} -static void *_p_p_SoVRMLCylinderTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder **) x)); -} -static void *_p_p_SoVRMLNavigationInfoTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLNavigationInfo **) x)); -} -static void *_p_p_SoTexture3TransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTexture3Transform **) x)); -} -static void *_p_p_SoTexture2TransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTexture2Transform **) x)); -} -static void *_p_p_SoResetTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoResetTransform **) x)); -} -static void *_p_p_SoMatrixTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoMatrixTransform **) x)); -} -static void *_p_p_SoBumpMapTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoBumpMapTransform **) x)); -} -static void *_p_p_SoTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoTransform **) x)); -} -static void *_p_p_SoVRMLTextureTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLTextureTransform **) x)); -} -static void *_p_p_SoVRMLTransformTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform **) x)); -} -static void *_p_p_SoSeparatorKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoSeparatorKit **) x)); -} -static void *_p_p_SoVRMLVertexLineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine **) x)); -} -static void *_p_p_SoLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoLight **) x)); -} -static void *_p_p_SoNodeEngineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoNodeEngine **) x)); -} -static void *_p_p_SoVRMLSoundTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLSound **) x)); -} -static void *_p_p_SoPointSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet **) x)); -} -static void *_p_p_SoMaterialTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoMaterial **) x)); -} -static void *_p_p_SoBaseColorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoBaseColor **) x)); -} -static void *_p_p_SoVRMLMaterialTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLMaterial **) x)); -} -static void *_p_p_SoVRMLPointSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet **) x)); -} -static void *_p_p_SoColorIndexTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoColorIndex **) x)); -} -static void *_p_p_SoVRMLColorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLColor **) x)); -} -static void *_p_p_SoVRMLWorldInfoTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLWorldInfo **) x)); -} -static void *_p_p_SoSpotLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *) ((SoSpotLight **) x)); -} -static void *_p_p_SoTextureCoordinateDefaultTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault **) x)); -} -static void *_p_p_SoVRMLSpotLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLSpotLight **) x)); -} -static void *_p_p_SoBlinkerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSwitch *) ((SoBlinker **) x)); -} -static void *_p_p_SoLODTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoLOD **) x)); -} -static void *_p_p_SoShuttleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTranslation *) ((SoShuttle **) x)); -} -static void *_p_p_SoVRMLGroupTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup **) x)); -} -static void *_p_p_SoVRMLAnchorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor **) x)); -} -static void *_p_p_SoVRMLSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLSensor **) x)); -} -static void *_p_p_SoVRMLCylinderSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor **) x)); -} -static void *_p_p_SoVRMLTouchSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLTouchSensor **) x)); -} -static void *_p_p_SoMarkerSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet **) x)); -} -static void *_p_p_SoDirectionalLightManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip **) x)); -} -static void *_p_p_SoPointLightManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *)(SoPointLight *) ((SoPointLightManip **) x)); -} -static void *_p_p_SoSpotLightManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *)(SoSpotLight *) ((SoSpotLightManip **) x)); -} -static void *_p_p_SoNurbsCurveTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoNurbsCurve **) x)); -} -static void *_p_p_SoIndexedNurbsCurveTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoIndexedNurbsCurve **) x)); -} -static void *_p_p_SoIndexedShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *) ((SoIndexedShape **) x)); -} -static void *_p_p_SoNonIndexedShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape **) x)); -} -static void *_p_p_SoRotorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoRotation *) ((SoRotor **) x)); -} -static void *_p_p_SoVRMLIndexedShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape **) x)); -} -static void *_p_p_SoTextureCoordinateCubeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinateCube **) x)); -} -static void *_p_p_SoVRMLTextTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText **) x)); -} -static void *_p_p_SoTransformerManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip **) x)); -} -static void *_p_p_SoAntiSquishTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoAntiSquish **) x)); -} -static void *_p_p_SoGroupTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoGroup **) x)); -} -static void *_p_p_SoMultipleCopyTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoMultipleCopy **) x)); -} -static void *_p_p_SoListenerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoListener **) x)); -} -static void *_p_p_SoConeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoCone **) x)); -} -static void *_p_p_SoFileTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoFile **) x)); -} -static void *_p_p_SoTransformationTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTransformation **) x)); -} -static void *_p_p_SoFontStyleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoFont *) ((SoFontStyle **) x)); -} -static void *_p_p_SoVRMLFontStyleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLFontStyle **) x)); -} -static void *_p_p_SoImageTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoImage **) x)); -} -static void *_p_p_SoVRMLAppearanceTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLAppearance **) x)); -} -static void *_p_p_SoPointLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *) ((SoPointLight **) x)); -} -static void *_p_p_SoVRMLPointLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLPointLight **) x)); -} -static void *_p_p_SoTransformManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *) ((SoTransformManip **) x)); -} -static void *_p_p_SoPolygonOffsetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoPolygonOffset **) x)); -} -static void *_p_p_SoVRMLBackgroundTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLBackground **) x)); -} -static void *_p_p_SoWWWAnchorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor **) x)); -} -static void *_p_p_SoEventCallbackTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoEventCallback **) x)); -} -static void *_p_p_SoCallbackTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoCallback **) x)); -} -static void *_p_p_SoJackManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip **) x)); -} -static void *_p_p_SoOrthographicCameraTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoCamera *) ((SoOrthographicCamera **) x)); -} -static void *_p_p_SoPerspectiveCameraTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoCamera *) ((SoPerspectiveCamera **) x)); -} -static void *_p_p_SoCameraTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoCamera **) x)); -} -static void *_p_p_SoCameraKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoCameraKit **) x)); -} -static void *_p_p_SoArrayTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoArray **) x)); -} -static void *_p_p_SoVRMLDragSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLSensor *) ((SoVRMLDragSensor **) x)); -} -static void *_p_p_SoVRMLPlaneSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor **) x)); -} -static void *_p_p_SoVRMLProximitySensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLProximitySensor **) x)); -} -static void *_p_p_SoVRMLSphereSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor **) x)); -} -static void *_p_p_SoVRMLTimeSensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *) ((SoVRMLTimeSensor **) x)); -} -static void *_p_p_SoVRMLVisibilitySensorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLVisibilitySensor **) x)); -} -static void *_p_p_SoVRMLSphereTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere **) x)); -} -static void *_p_p_SoTextureCoordinateEnvironmentTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment **) x)); -} -static void *_p_p_SoEnvironmentTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoEnvironment **) x)); -} -static void *_p_p_SoDrawStyleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoDrawStyle **) x)); -} -static void *_p_p_SoVRMLBoxTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox **) x)); -} -static void *_p_p_SoTransparencyTypeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTransparencyType **) x)); -} -static void *_p_p_SoVRMLFogTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLFog **) x)); -} -static void *_p_p_SoSurroundScaleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoSurroundScale **) x)); -} -static void *_p_p_SoVertexShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoVertexShape **) x)); -} -static void *_p_p_SoVRMLVertexShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape **) x)); -} -static void *_p_p_SoTextureUnitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureUnit **) x)); -} -static void *_p_p_SoAppearanceKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoAppearanceKit **) x)); -} -static void *_p_p_SoTabPlaneDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger **) x)); -} -static void *_p_p_SoTabBoxDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger **) x)); -} -static void *_p_p_SoSpotLightDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger **) x)); -} -static void *_p_p_SoScaleUniformDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger **) x)); -} -static void *_p_p_SoScale2UniformDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger **) x)); -} -static void *_p_p_SoScale2DraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger **) x)); -} -static void *_p_p_SoScale1DraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger **) x)); -} -static void *_p_p_SoRotateSphericalDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger **) x)); -} -static void *_p_p_SoRotateDiscDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger **) x)); -} -static void *_p_p_SoRotateCylindricalDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger **) x)); -} -static void *_p_p_SoPointLightDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger **) x)); -} -static void *_p_p_SoJackDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger **) x)); -} -static void *_p_p_SoHandleBoxDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger **) x)); -} -static void *_p_p_SoDragPointDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger **) x)); -} -static void *_p_p_SoDirectionalLightDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger **) x)); -} -static void *_p_p_SoCenterballDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger **) x)); -} -static void *_p_p_SoDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *) ((SoDragger **) x)); -} -static void *_p_p_SoTrackballDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger **) x)); -} -static void *_p_p_SoTransformBoxDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger **) x)); -} -static void *_p_p_SoTransformerDraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger **) x)); -} -static void *_p_p_SoTranslate1DraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger **) x)); -} -static void *_p_p_SoTranslate2DraggerTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger **) x)); -} -static void *_p_p_SoPickStyleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoPickStyle **) x)); -} -static void *_p_p_SoVRMLInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *) ((SoVRMLInterpolator **) x)); -} -static void *_p_p_SoVRMLColorInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator **) x)); -} -static void *_p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator **) x)); -} -static void *_p_p_SoVRMLNormalInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator **) x)); -} -static void *_p_p_SoVRMLOrientationInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator **) x)); -} -static void *_p_p_SoVRMLPositionInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator **) x)); -} -static void *_p_p_SoVRMLScalarInterpolatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator **) x)); -} -static void *_p_p_SoVRMLConeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone **) x)); -} -static void *_p_p_SoFontTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoFont **) x)); -} -static void *_p_p_SoVRMLIndexedLineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine **) x)); -} -static void *_p_p_SoVRMLTextureTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLTexture **) x)); -} -static void *_p_p_SoVRMLImageTextureTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLImageTexture **) x)); -} -static void *_p_p_SoVRMLMovieTextureTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLMovieTexture **) x)); -} -static void *_p_p_SoVRMLPixelTextureTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLTexture *) ((SoVRMLPixelTexture **) x)); -} -static void *_p_p_SoTextureCoordinateFunctionTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinateFunction **) x)); -} -static void *_p_p_SoSphereTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoSphere **) x)); -} -static void *_p_p_SoNodeKitListPartTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoNodeKitListPart **) x)); -} -static void *_p_p_SoTextureCoordinateSphereTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinateSphere **) x)); -} -static void *_p_p_SoPendulumTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoRotation *) ((SoPendulum **) x)); -} -static void *_p_p_SoSceneKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoSceneKit **) x)); -} -static void *_p_p_SoShapeHintsTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoShapeHints **) x)); -} -static void *_p_p_SoSceneTexture2To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoSceneTexture2 **) x)); -} -static void *_p_p_SoTexture2To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTexture2 **) x)); -} -static void *_p_p_SoTexture3To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTexture3 **) x)); -} -static void *_p_p_SoTextureCoordinatePlaneTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane **) x)); -} -static void *_p_p_SoVRMLAudioClipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLAudioClip **) x)); -} -static void *_p_p_SoQuadMeshTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh **) x)); -} -static void *_p_p_SoPathSwitchTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoPathSwitch **) x)); -} -static void *_p_p_SoVRMLSwitchTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLSwitch **) x)); -} -static void *_p_p_SoText2To_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoText2 **) x)); -} -static void *_p_p_SoText3To_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoText3 **) x)); -} -static void *_p_p_SoTransformSeparatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoTransformSeparator **) x)); -} -static void *_p_p_SoSeparatorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoSeparator **) x)); -} -static void *_p_p_SoInteractionKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *) ((SoInteractionKit **) x)); -} -static void *_p_p_SoBumpMapTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoBumpMap **) x)); -} -static void *_p_p_SoTextureCoordinate2To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinate2 **) x)); -} -static void *_p_p_SoProfileCoordinate2To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoProfileCoordinate2 **) x)); -} -static void *_p_p_SoVRMLNormalTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLNormal **) x)); -} -static void *_p_p_SoTextureCoordinate3To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinate3 **) x)); -} -static void *_p_p_SoProfileCoordinate3To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoProfileCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate3To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate4To_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoCoordinate4 **) x)); -} -static void *_p_p_SoVRMLLODTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoVRMLLOD **) x)); -} -static void *_p_p_SoCubeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *) ((SoCube **) x)); -} -static void *_p_p_SoLocateHighlightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoSeparator *) ((SoLocateHighlight **) x)); -} -static void *_p_p_SoVRMLElevationGridTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid **) x)); -} -static void *_p_p_SoVRMLShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLShape **) x)); -} -static void *_p_p_SoVRMLVertexPointTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint **) x)); -} -static void *_p_p_SoVRMLViewpointTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLViewpoint **) x)); -} -static void *_p_p_SoInfoTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoInfo **) x)); -} -static void *_p_p_SoMaterialBindingTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoMaterialBinding **) x)); -} -static void *_p_p_SoNormalBindingTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoNormalBinding **) x)); -} -static void *_p_p_SoTextureCoordinateBindingTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureCoordinateBinding **) x)); -} -static void *_p_p_SoHandleBoxManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip **) x)); -} -static void *_p_p_SoTabBoxManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip **) x)); -} -static void *_p_p_SoTransformBoxManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip **) x)); -} -static void *_p_p_SoVRMLCollisionTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision **) x)); -} -static void *_p_p_SoPackedColorTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoPackedColor **) x)); -} -static void *_p_p_SoSwitchTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoSwitch **) x)); -} -static void *_p_p_SoTranslationTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoTranslation **) x)); -} -static void *_p_p_SoIndexedFaceSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet **) x)); -} -static void *_p_p_SoFaceSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet **) x)); -} -static void *_p_p_SoVRMLIndexedFaceSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet **) x)); -} -static void *_p_p_SoShapeTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoShape **) x)); -} -static void *_p_p_SoTextureScalePolicyTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoTextureScalePolicy **) x)); -} -static void *_p_p_SoVRMLScriptTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLScript **) x)); -} -static void *_p_p_SoNormalTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoNormal **) x)); -} -static void *_p_p_SoVRMLInlineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoVRMLInline **) x)); -} -static void *_p_p_SoWrapperKitTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit **) x)); -} -static void *_p_p_SoScaleTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *) ((SoScale **) x)); -} -static void *_p_p_SoLineSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet **) x)); -} -static void *_p_p_SoIndexedLineSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet **) x)); -} -static void *_p_p_SoLabelTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoLabel **) x)); -} -static void *_p_p_SoVRMLIndexedLineSetTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet **) x)); -} -static void *_p_p_SoProtoInstanceTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoProtoInstance **) x)); -} -static void *_p_p_SoDirectionalLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoLight *) ((SoDirectionalLight **) x)); -} -static void *_p_p_SoVRMLDirectionalLightTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoVRMLLight *) ((SoVRMLDirectionalLight **) x)); -} -static void *_p_p_SoProtoTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoProto **) x)); -} -static void *_p_p_SoWWWInlineTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) ((SoWWWInline **) x)); -} -static void *_p_p_SoCenterballManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip **) x)); -} -static void *_p_p_SoTrackballManipTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip **) x)); -} -static void *_p_p_SoLevelOfDetailTo_p_p_SoNode(void *x) { - return (void *)((SoNode **) (SoGroup *) ((SoLevelOfDetail **) x)); -} -static void *_p_longpTo_p_long(void *x) { - return (void *)((long *) ((longp *) x)); -} -static void *_p_a_4__floatpTo_p_a_4__float(void *x) { - return (void *)((float (*)[4]) ((floatp (*)[4]) x)); -} -static void *_p_a_4__a_4__floatpTo_p_a_4__a_4__float(void *x) { - return (void *)((float (*)[4][4]) ((floatp (*)[4][4]) x)); -} -static void *_p_f_p_void__floatpTo_p_f_p_void__float(void *x) { - return (void *)((float (*)(void *)) ((floatp (*)(void *)) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbSphereSectionProjector(void *x) { - return (void *)((SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SbSphereSheetProjectorTo_p_SbSphereProjector(void *x) { - return (void *)((SbSphereProjector *) ((SbSphereSheetProjector *) x)); -} -static void *_p_SbSphereSectionProjectorTo_p_SbSphereProjector(void *x) { - return (void *)((SbSphereProjector *) ((SbSphereSectionProjector *) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbSphereProjector(void *x) { - return (void *)((SbSphereProjector *) (SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbCylinderSectionProjector(void *x) { - return (void *)((SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSectionProjectorTo_p_SbCylinderProjector(void *x) { - return (void *)((SbCylinderProjector *) ((SbCylinderSectionProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbCylinderProjector(void *x) { - return (void *)((SbCylinderProjector *) (SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSheetProjectorTo_p_SbCylinderProjector(void *x) { - return (void *)((SbCylinderProjector *) ((SbCylinderSheetProjector *) x)); -} -static void *_p_SbCylinderProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) ((SbCylinderProjector *) x)); -} -static void *_p_SbCylinderSectionProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbCylinderProjector *) ((SbCylinderSectionProjector *) x)); -} -static void *_p_SbCylinderPlaneProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbCylinderProjector *)(SbCylinderSectionProjector *) ((SbCylinderPlaneProjector *) x)); -} -static void *_p_SbCylinderSheetProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbCylinderProjector *) ((SbCylinderSheetProjector *) x)); -} -static void *_p_SbLineProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) ((SbLineProjector *) x)); -} -static void *_p_SbPlaneProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) ((SbPlaneProjector *) x)); -} -static void *_p_SbSphereProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) ((SbSphereProjector *) x)); -} -static void *_p_SbSphereSheetProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbSphereProjector *) ((SbSphereSheetProjector *) x)); -} -static void *_p_SbSphereSectionProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbSphereProjector *) ((SbSphereSectionProjector *) x)); -} -static void *_p_SbSpherePlaneProjectorTo_p_SbProjector(void *x) { - return (void *)((SbProjector *) (SbSphereProjector *)(SbSphereSectionProjector *) ((SbSpherePlaneProjector *) x)); -} -static void *_p_SoTextureCoordinateBundleTo_p_SoBundle(void *x) { - return (void *)((SoBundle *) ((SoTextureCoordinateBundle *) x)); -} -static void *_p_SoMaterialBundleTo_p_SoBundle(void *x) { - return (void *)((SoBundle *) ((SoMaterialBundle *) x)); -} -static void *_p_SoNormalBundleTo_p_SoBundle(void *x) { - return (void *)((SoBundle *) ((SoNormalBundle *) x)); -} -static void *_p_f_p_void_p_SoVRMLAudioClip_p_void__longpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__long(void *x) { - return (void *)((long (*)(void *,SoVRMLAudioClip *,void *)) ((longp (*)(void *,SoVRMLAudioClip *,void *)) x)); -} -static void *_p_SoVRMLSphereTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoVRMLTextTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) (SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoVRMLConeTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoVRMLGeometry(void *x) { - return (void *)((SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoGLLazyElementTo_p_SoLazyElement(void *x) { - return (void *)((SoLazyElement *) ((SoGLLazyElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoTextureCoordinateElement(void *x) { - return (void *)((SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoNormalElement(void *x) { - return (void *)((SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoProjectionMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoProjectionMatrixElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoPolygonOffsetElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoPolygonOffsetElement *) x)); -} -static void *_p_SoLightAttenuationElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoLightAttenuationElement *) x)); -} -static void *_p_SoFontNameElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoFontNameElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoEnvironmentElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoEnvironmentElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoPickRayElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoPickRayElement *) x)); -} -static void *_p_SoOverrideElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoOverrideElement *) x)); -} -static void *_p_SoLocalBBoxMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoLocalBBoxMatrixElement *) x)); -} -static void *_p_SoGLUpdateAreaElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoGLUpdateAreaElement *) x)); -} -static void *_p_SoGLRenderPassElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoGLRenderPassElement *) x)); -} -static void *_p_SoTextureOverrideElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoTextureOverrideElement *) x)); -} -static void *_p_SoTextureQualityElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoTextureQualityElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *)(SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoPointSizeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoPointSizeElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *)(SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoLineWidthElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoLineWidthElement *) x)); -} -static void *_p_SoFontSizeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoFontSizeElement *) x)); -} -static void *_p_SoFocalDistanceElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoFocalDistanceElement *) x)); -} -static void *_p_SoUnitsElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoUnitsElement *) x)); -} -static void *_p_SoTextOutlineEnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextOutlineEnabledElement *) x)); -} -static void *_p_SoSwitchElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoSwitchElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *)(SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoLinePatternElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoLinePatternElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *)(SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoTexture3EnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTexture3EnabledElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *)(SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoTextureEnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureEnabledElement *) x)); -} -static void *_p_SoGLLightIdElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoGLLightIdElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *)(SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoTextureMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoTextureMatrixElement *) x)); -} -static void *_p_SoProfileElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoProfileElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoLightElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoLightElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoDiffuseColorElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoDiffuseColorElement *) x)); -} -static void *_p_SoDecimationPercentageElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoDecimationPercentageElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoNormalElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoNormalElement *) x)); -} -static void *_p_SoTextureCoordinateBindingElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureCoordinateBindingElement *) x)); -} -static void *_p_SoTextureImageElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTextureImageElement *) x)); -} -static void *_p_SoReplacedElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoReplacedElement *) x)); -} -static void *_p_SoShapeHintsElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoShapeHintsElement *) x)); -} -static void *_p_SoPickStyleElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoPickStyleElement *) x)); -} -static void *_p_SoNormalBindingElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoNormalBindingElement *) x)); -} -static void *_p_SoMaterialBindingElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoMaterialBindingElement *) x)); -} -static void *_p_SoLazyElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoLazyElement *) x)); -} -static void *_p_SoDrawStyleElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoDrawStyleElement *) x)); -} -static void *_p_SoComplexityTypeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoComplexityTypeElement *) x)); -} -static void *_p_SoDecimationTypeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoDecimationTypeElement *) x)); -} -static void *_p_SoInt32ElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoInt32Element *) x)); -} -static void *_p_SoTextureCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTextureCoordinateElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoGLLazyElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoLazyElement *) ((SoGLLazyElement *) x)); -} -static void *_p_SoAccumulatedElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoAccumulatedElement *) x)); -} -static void *_p_SoAmbientColorElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoAmbientColorElement *) x)); -} -static void *_p_SoAnnoText3CharOrientElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3CharOrientElement *) x)); -} -static void *_p_SoAnnoText3FontSizeHintElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3FontSizeHintElement *) x)); -} -static void *_p_SoAnnoText3RenderPrintElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoAnnoText3RenderPrintElement *) x)); -} -static void *_p_SoModelMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoModelMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoBumpMapCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoBumpMapCoordinateElement *) x)); -} -static void *_p_SoBumpMapElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoBumpMapElement *) x)); -} -static void *_p_SoBumpMapMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoBumpMapMatrixElement *) x)); -} -static void *_p_SoCacheElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoCacheElement *) x)); -} -static void *_p_SoClipPlaneElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoClipPlaneElement *) x)); -} -static void *_p_SoFloatElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoFloatElement *) x)); -} -static void *_p_SoComplexityElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoComplexityElement *) x)); -} -static void *_p_SoCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoCoordinateElement *) x)); -} -static void *_p_SoCreaseAngleElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoCreaseAngleElement *) x)); -} -static void *_p_SoCullElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoCullElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoProfileCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoProfileCoordinateElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoViewingMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoViewingMatrixElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *)(SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoViewVolumeElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoViewVolumeElement *) x)); -} -static void *_p_SoGLShapeHintsElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoShapeHintsElement *) ((SoGLShapeHintsElement *) x)); -} -static void *_p_SoShapeStyleElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoShapeStyleElement *) x)); -} -static void *_p_SoViewportRegionElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoViewportRegionElement *) x)); -} -static void *_p_SoGLViewportRegionElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoViewportRegionElement *) ((SoGLViewportRegionElement *) x)); -} -static void *_p_SoWindowElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoWindowElement *) x)); -} -static void *_p_SoGLCacheContextElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoGLCacheContextElement *) x)); -} -static void *_p_SoGLColorIndexElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoGLColorIndexElement *) x)); -} -static void *_p_SoListenerPositionElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerPositionElement *) x)); -} -static void *_p_SoListenerOrientationElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerOrientationElement *) x)); -} -static void *_p_SoListenerDopplerElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoListenerDopplerElement *) x)); -} -static void *_p_SoListenerGainElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoFloatElement *) ((SoListenerGainElement *) x)); -} -static void *_p_SoSoundElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoSoundElement *) x)); -} -static void *_p_SoSpecularColorElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoSpecularColorElement *) x)); -} -static void *_p_SoEmissiveColorElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoEmissiveColorElement *) x)); -} -static void *_p_SoShininessElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoShininessElement *) x)); -} -static void *_p_SoTransparencyElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoReplacedElement *) ((SoTransparencyElement *) x)); -} -static void *_p_SoLightModelElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoLightModelElement *) x)); -} -static void *_p_SoMultiTextureCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoMultiTextureCoordinateElement *) x)); -} -static void *_p_SoGLMultiTextureCoordinateElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoMultiTextureCoordinateElement *) ((SoGLMultiTextureCoordinateElement *) x)); -} -static void *_p_SoMultiTextureEnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoMultiTextureEnabledElement *) x)); -} -static void *_p_SoGLMultiTextureEnabledElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoMultiTextureEnabledElement *) ((SoGLMultiTextureEnabledElement *) x)); -} -static void *_p_SoMultiTextureImageElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoMultiTextureImageElement *) x)); -} -static void *_p_SoGLMultiTextureImageElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoMultiTextureImageElement *) ((SoGLMultiTextureImageElement *) x)); -} -static void *_p_SoMultiTextureMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *) ((SoMultiTextureMatrixElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoAccumulatedElement *)(SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoTextureCombineElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) ((SoTextureCombineElement *) x)); -} -static void *_p_SoTextureUnitElementTo_p_SoElement(void *x) { - return (void *)((SoElement *) (SoInt32Element *) ((SoTextureUnitElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) (SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoTextureEnabledElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoTextureEnabledElement *) x)); -} -static void *_p_SoGLLightIdElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoGLLightIdElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) (SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoAnnoText3RenderPrintElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoAnnoText3RenderPrintElement *) x)); -} -static void *_p_SoAnnoText3FontSizeHintElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoAnnoText3FontSizeHintElement *) x)); -} -static void *_p_SoAnnoText3CharOrientElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoAnnoText3CharOrientElement *) x)); -} -static void *_p_SoTextureCoordinateBindingElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoTextureCoordinateBindingElement *) x)); -} -static void *_p_SoPickStyleElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoPickStyleElement *) x)); -} -static void *_p_SoNormalBindingElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoNormalBindingElement *) x)); -} -static void *_p_SoMaterialBindingElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoMaterialBindingElement *) x)); -} -static void *_p_SoDrawStyleElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoDrawStyleElement *) x)); -} -static void *_p_SoComplexityTypeElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoComplexityTypeElement *) x)); -} -static void *_p_SoDecimationTypeElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoDecimationTypeElement *) x)); -} -static void *_p_SoTexture3EnabledElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoTexture3EnabledElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) (SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoLinePatternElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoLinePatternElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) (SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoSwitchElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoSwitchElement *) x)); -} -static void *_p_SoTextOutlineEnabledElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoTextOutlineEnabledElement *) x)); -} -static void *_p_SoUnitsElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoUnitsElement *) x)); -} -static void *_p_SoLightModelElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoLightModelElement *) x)); -} -static void *_p_SoTextureUnitElementTo_p_SoInt32Element(void *x) { - return (void *)((SoInt32Element *) ((SoTextureUnitElement *) x)); -} -static void *_p_SoFontNameElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoFontNameElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoEnvironmentElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoEnvironmentElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoDiffuseColorElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoDiffuseColorElement *) x)); -} -static void *_p_SoCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoCoordinateElement *) x)); -} -static void *_p_SoBumpMapElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoBumpMapElement *) x)); -} -static void *_p_SoBumpMapCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoBumpMapCoordinateElement *) x)); -} -static void *_p_SoAmbientColorElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoAmbientColorElement *) x)); -} -static void *_p_SoGLTextureCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoTextureCoordinateElement *) ((SoGLTextureCoordinateElement *) x)); -} -static void *_p_SoTextureCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoTextureCoordinateElement *) x)); -} -static void *_p_SoGLNormalElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoNormalElement *) ((SoGLNormalElement *) x)); -} -static void *_p_SoNormalElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoNormalElement *) x)); -} -static void *_p_SoTextureImageElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoTextureImageElement *) x)); -} -static void *_p_SoLightAttenuationElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoLightAttenuationElement *) x)); -} -static void *_p_SoPolygonOffsetElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoPolygonOffsetElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoProjectionMatrixElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoProjectionMatrixElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoProfileCoordinateElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoProfileCoordinateElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoViewingMatrixElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoViewingMatrixElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) (SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoViewVolumeElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoViewVolumeElement *) x)); -} -static void *_p_SoGLColorIndexElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoGLColorIndexElement *) x)); -} -static void *_p_SoListenerPositionElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoListenerPositionElement *) x)); -} -static void *_p_SoListenerOrientationElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoListenerOrientationElement *) x)); -} -static void *_p_SoListenerDopplerElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoListenerDopplerElement *) x)); -} -static void *_p_SoSoundElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoSoundElement *) x)); -} -static void *_p_SoSpecularColorElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoSpecularColorElement *) x)); -} -static void *_p_SoEmissiveColorElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoEmissiveColorElement *) x)); -} -static void *_p_SoShininessElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoShininessElement *) x)); -} -static void *_p_SoTransparencyElementTo_p_SoReplacedElement(void *x) { - return (void *)((SoReplacedElement *) ((SoTransparencyElement *) x)); -} -static void *_p_SoModelMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoModelMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) (SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoBumpMapMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoBumpMapMatrixElement *) x)); -} -static void *_p_SoClipPlaneElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoClipPlaneElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) (SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoLightElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoLightElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) (SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoProfileElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoProfileElement *) x)); -} -static void *_p_SoTextureMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoTextureMatrixElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) (SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoMultiTextureMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) ((SoMultiTextureMatrixElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoAccumulatedElement(void *x) { - return (void *)((SoAccumulatedElement *) (SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoBBoxModelMatrixElementTo_p_SoModelMatrixElement(void *x) { - return (void *)((SoModelMatrixElement *) ((SoBBoxModelMatrixElement *) x)); -} -static void *_p_SoGLModelMatrixElementTo_p_SoModelMatrixElement(void *x) { - return (void *)((SoModelMatrixElement *) ((SoGLModelMatrixElement *) x)); -} -static void *_p_SoComplexityElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoComplexityElement *) x)); -} -static void *_p_SoCreaseAngleElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoCreaseAngleElement *) x)); -} -static void *_p_SoDecimationPercentageElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoDecimationPercentageElement *) x)); -} -static void *_p_SoFocalDistanceElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoFocalDistanceElement *) x)); -} -static void *_p_SoFontSizeElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoFontSizeElement *) x)); -} -static void *_p_SoLineWidthElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoLineWidthElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) (SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoPointSizeElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoPointSizeElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) (SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoTextureQualityElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoTextureQualityElement *) x)); -} -static void *_p_SoListenerGainElementTo_p_SoFloatElement(void *x) { - return (void *)((SoFloatElement *) ((SoListenerGainElement *) x)); -} -static void *_p_SoGLClipPlaneElementTo_p_SoClipPlaneElement(void *x) { - return (void *)((SoClipPlaneElement *) ((SoGLClipPlaneElement *) x)); -} -static void *_p_SoGLTextureMatrixElementTo_p_SoTextureMatrixElement(void *x) { - return (void *)((SoTextureMatrixElement *) ((SoGLTextureMatrixElement *) x)); -} -static void *_p_SoGLDrawStyleElementTo_p_SoDrawStyleElement(void *x) { - return (void *)((SoDrawStyleElement *) ((SoGLDrawStyleElement *) x)); -} -static void *_p_SoGLTextureEnabledElementTo_p_SoTextureEnabledElement(void *x) { - return (void *)((SoTextureEnabledElement *) ((SoGLTextureEnabledElement *) x)); -} -static void *_p_SoGLTexture3EnabledElementTo_p_SoTexture3EnabledElement(void *x) { - return (void *)((SoTexture3EnabledElement *) ((SoGLTexture3EnabledElement *) x)); -} -static void *_p_SoGLLinePatternElementTo_p_SoLinePatternElement(void *x) { - return (void *)((SoLinePatternElement *) ((SoGLLinePatternElement *) x)); -} -static void *_p_SoGLLineWidthElementTo_p_SoLineWidthElement(void *x) { - return (void *)((SoLineWidthElement *) ((SoGLLineWidthElement *) x)); -} -static void *_p_SoGLPointSizeElementTo_p_SoPointSizeElement(void *x) { - return (void *)((SoPointSizeElement *) ((SoGLPointSizeElement *) x)); -} -static void *_p_SoGLCoordinateElementTo_p_SoCoordinateElement(void *x) { - return (void *)((SoCoordinateElement *) ((SoGLCoordinateElement *) x)); -} -static void *_p_SoGLEnvironmentElementTo_p_SoEnvironmentElement(void *x) { - return (void *)((SoEnvironmentElement *) ((SoGLEnvironmentElement *) x)); -} -static void *_p_SoGLPolygonOffsetElementTo_p_SoPolygonOffsetElement(void *x) { - return (void *)((SoPolygonOffsetElement *) ((SoGLPolygonOffsetElement *) x)); -} -static void *_p_SoGLProjectionMatrixElementTo_p_SoProjectionMatrixElement(void *x) { - return (void *)((SoProjectionMatrixElement *) ((SoGLProjectionMatrixElement *) x)); -} -static void *_p_SoGLTextureImageElementTo_p_SoTextureImageElement(void *x) { - return (void *)((SoTextureImageElement *) ((SoGLTextureImageElement *) x)); -} -static void *_p_SoGLViewingMatrixElementTo_p_SoViewingMatrixElement(void *x) { - return (void *)((SoViewingMatrixElement *) ((SoGLViewingMatrixElement *) x)); -} -static void *_p_SoGLShapeHintsElementTo_p_SoShapeHintsElement(void *x) { - return (void *)((SoShapeHintsElement *) ((SoGLShapeHintsElement *) x)); -} -static void *_p_SoGLViewportRegionElementTo_p_SoViewportRegionElement(void *x) { - return (void *)((SoViewportRegionElement *) ((SoGLViewportRegionElement *) x)); -} -static void *_p_SoGLMultiTextureCoordinateElementTo_p_SoMultiTextureCoordinateElement(void *x) { - return (void *)((SoMultiTextureCoordinateElement *) ((SoGLMultiTextureCoordinateElement *) x)); -} -static void *_p_SoGLMultiTextureEnabledElementTo_p_SoMultiTextureEnabledElement(void *x) { - return (void *)((SoMultiTextureEnabledElement *) ((SoGLMultiTextureEnabledElement *) x)); -} -static void *_p_SoGLMultiTextureImageElementTo_p_SoMultiTextureImageElement(void *x) { - return (void *)((SoMultiTextureImageElement *) ((SoGLMultiTextureImageElement *) x)); -} -static void *_p_SoGLMultiTextureMatrixElementTo_p_SoMultiTextureMatrixElement(void *x) { - return (void *)((SoMultiTextureMatrixElement *) ((SoGLMultiTextureMatrixElement *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoInterpolate(void *x) { - return (void *)((SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoInterpolate(void *x) { - return (void *)((SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoInterpolate(void *x) { - return (void *)((SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoInterpolate(void *x) { - return (void *)((SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoInterpolate(void *x) { - return (void *)((SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoVRMLSensor(void *x) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoVRMLSensor(void *x) { - return (void *)((SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoVRMLSensor(void *x) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoVRMLSensor(void *x) { - return (void *)((SoVRMLSensor *) (SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoVRMLGroup(void *x) { - return (void *)((SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoVRMLGroup(void *x) { - return (void *)((SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSFFloatTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec2sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFVec3dTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoSFVec4fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFNameTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFName *) x)); -} -static void *_p_SoSFRotationTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoSFUShortTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec3fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFShortTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoSFTimeTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFBoolTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFTriggerTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec2fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoSFColorTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSField(void *x) { - return (void *)((SoSField *) (SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFBox3sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFImage3To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFEngineTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFNodeTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFPathTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFImageTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFStringTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFString *) x)); -} -static void *_p_SoSFInt32To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoSFUInt32To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFMatrixTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoSFPlaneTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFEnumTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFVec3sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoClipPlaneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) ((SoPath *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoFullPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *) ((SoFullPath *) x)); -} -static void *_p_SoLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoConeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoFieldContainerTo_p_SoBase(void *x) { - return (void *)((SoBase *) ((SoFieldContainer *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoJackManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoTempPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *)(SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoPickStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoShapeHintsTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoTimeCounterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoCounterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoQuadMeshTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoWrapperKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_p_SoClipPlaneTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoClipPlane **) x)); -} -static void *_p_p_SoPathTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) ((SoPath **) x)); -} -static void *_p_p_SoBumpMapCoordinateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate **) x)); -} -static void *_p_p_SoVRMLCoordinateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate **) x)); -} -static void *_p_p_SoVRMLTextureCoordinateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate **) x)); -} -static void *_p_p_SoLightKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit **) x)); -} -static void *_p_p_SoTextureCombineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCombine **) x)); -} -static void *_p_p_SoIndexedTriangleStripSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet **) x)); -} -static void *_p_p_SoTriangleStripSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet **) x)); -} -static void *_p_p_SoVRMLExtrusionTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion **) x)); -} -static void *_p_p_SoOnOffTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoOnOff **) x)); -} -static void *_p_p_SoBaseKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBaseKit **) x)); -} -static void *_p_p_SoExtSelectionTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection **) x)); -} -static void *_p_p_SoSelectionTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection **) x)); -} -static void *_p_p_SoVertexPropertyTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVertexProperty **) x)); -} -static void *_p_p_SoRotationXYZTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ **) x)); -} -static void *_p_p_SoComplexityTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoComplexity **) x)); -} -static void *_p_p_SoVRMLBillboardTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard **) x)); -} -static void *_p_p_SoLightModelTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLightModel **) x)); -} -static void *_p_p_SoUnitsTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits **) x)); -} -static void *_p_p_SoShapeKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit **) x)); -} -static void *_p_p_SoAnnotationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation **) x)); -} -static void *_p_p_SoComposeRotationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation **) x)); -} -static void *_p_p_SoDecomposeRotationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation **) x)); -} -static void *_p_p_SoInterpolateRotationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation **) x)); -} -static void *_p_p_SoIndexedNurbsSurfaceTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface **) x)); -} -static void *_p_p_SoLinearProfileTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile **) x)); -} -static void *_p_p_SoProfileTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfile **) x)); -} -static void *_p_p_SoNurbsSurfaceTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface **) x)); -} -static void *_p_p_SoRotationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation **) x)); -} -static void *_p_p_SoNurbsProfileTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile **) x)); -} -static void *_p_p_SoFieldConverterTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter **) x)); -} -static void *_p_p_SoVRMLParentTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent **) x)); -} -static void *_p_p_SoInterpolateVec2fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f **) x)); -} -static void *_p_p_SoVRMLLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLLight **) x)); -} -static void *_p_p_SoClipPlaneManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip **) x)); -} -static void *_p_p_SoAsciiTextTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText **) x)); -} -static void *_p_p_SoVRMLGeometryTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry **) x)); -} -static void *_p_p_SoCylinderTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder **) x)); -} -static void *_p_p_SoTextureCoordinateCylinderTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder **) x)); -} -static void *_p_p_SoVRMLCylinderTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder **) x)); -} -static void *_p_p_SoVRMLNavigationInfoTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo **) x)); -} -static void *_p_p_SoComputeBoundingBoxTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox **) x)); -} -static void *_p_p_SoMatrixTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform **) x)); -} -static void *_p_p_SoBumpMapTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform **) x)); -} -static void *_p_p_SoTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform **) x)); -} -static void *_p_p_SoResetTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform **) x)); -} -static void *_p_p_SoTexture2TransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform **) x)); -} -static void *_p_p_SoTexture3TransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform **) x)); -} -static void *_p_p_SoVRMLTextureTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform **) x)); -} -static void *_p_p_SoVRMLTransformTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform **) x)); -} -static void *_p_p_SoComposeVec3fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f **) x)); -} -static void *_p_p_SoDecomposeVec3fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f **) x)); -} -static void *_p_p_SoSeparatorKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit **) x)); -} -static void *_p_p_SoVRMLVertexLineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine **) x)); -} -static void *_p_p_SoFullPathTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoPath *) ((SoFullPath **) x)); -} -static void *_p_p_SoLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLight **) x)); -} -static void *_p_p_SoNodeEngineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNodeEngine **) x)); -} -static void *_p_p_SoEngineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *) ((SoEngine **) x)); -} -static void *_p_p_SoVRMLSoundTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLSound **) x)); -} -static void *_p_p_SoPointSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet **) x)); -} -static void *_p_p_SoMaterialTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoMaterial **) x)); -} -static void *_p_p_SoBaseColorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBaseColor **) x)); -} -static void *_p_p_SoTriggerAnyTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny **) x)); -} -static void *_p_p_SoVRMLMaterialTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial **) x)); -} -static void *_p_p_SoVRMLPointSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet **) x)); -} -static void *_p_p_SoColorIndexTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoColorIndex **) x)); -} -static void *_p_p_SoVRMLColorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLColor **) x)); -} -static void *_p_p_SoVRMLWorldInfoTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo **) x)); -} -static void *_p_p_SoSpotLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight **) x)); -} -static void *_p_p_SoTextureCoordinateDefaultTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault **) x)); -} -static void *_p_p_SoVRMLSpotLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight **) x)); -} -static void *_p_p_SoBlinkerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker **) x)); -} -static void *_p_p_SoLODTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD **) x)); -} -static void *_p_p_SoShuttleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle **) x)); -} -static void *_p_p_SoVRMLGroupTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup **) x)); -} -static void *_p_p_SoVRMLAnchorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor **) x)); -} -static void *_p_p_SoBoolOperationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation **) x)); -} -static void *_p_p_SoVRMLSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor **) x)); -} -static void *_p_p_SoVRMLCylinderSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor **) x)); -} -static void *_p_p_SoVRMLTouchSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor **) x)); -} -static void *_p_p_SoMarkerSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet **) x)); -} -static void *_p_p_SoSpotLightManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip **) x)); -} -static void *_p_p_SoPointLightManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip **) x)); -} -static void *_p_p_SoDirectionalLightManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip **) x)); -} -static void *_p_p_SoIndexedNurbsCurveTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve **) x)); -} -static void *_p_p_SoNurbsCurveTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve **) x)); -} -static void *_p_p_SoIndexedShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape **) x)); -} -static void *_p_p_SoNonIndexedShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape **) x)); -} -static void *_p_p_SoRotorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor **) x)); -} -static void *_p_p_SoVRMLIndexedShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape **) x)); -} -static void *_p_p_SoOneShotTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoOneShot **) x)); -} -static void *_p_p_SoTextureCoordinateCubeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube **) x)); -} -static void *_p_p_SoVRMLTextTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText **) x)); -} -static void *_p_p_SoTransformerManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip **) x)); -} -static void *_p_p_SoInterpolateVec3fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f **) x)); -} -static void *_p_p_SoInterpolateFloatTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat **) x)); -} -static void *_p_p_SoAntiSquishTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish **) x)); -} -static void *_p_p_SoGroupTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoGroup **) x)); -} -static void *_p_p_SoMultipleCopyTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy **) x)); -} -static void *_p_p_SoListenerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoListener **) x)); -} -static void *_p_p_SoComposeVec4fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f **) x)); -} -static void *_p_p_SoDecomposeVec4fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f **) x)); -} -static void *_p_p_SoConeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone **) x)); -} -static void *_p_p_SoFileTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoFile **) x)); -} -static void *_p_p_SoTransformationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTransformation **) x)); -} -static void *_p_p_SoFontStyleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle **) x)); -} -static void *_p_p_SoVRMLFontStyleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle **) x)); -} -static void *_p_p_SoImageTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage **) x)); -} -static void *_p_p_SoFieldContainerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) ((SoFieldContainer **) x)); -} -static void *_p_p_SoVRMLAppearanceTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance **) x)); -} -static void *_p_p_SoPointLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight **) x)); -} -static void *_p_p_SoVRMLPointLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight **) x)); -} -static void *_p_p_SoTransformManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip **) x)); -} -static void *_p_p_SoPolygonOffsetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset **) x)); -} -static void *_p_p_SoVRMLBackgroundTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground **) x)); -} -static void *_p_p_SoEventCallbackTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoEventCallback **) x)); -} -static void *_p_p_SoCallbackTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCallback **) x)); -} -static void *_p_p_SoWWWAnchorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor **) x)); -} -static void *_p_p_SoJackManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip **) x)); -} -static void *_p_p_SoOrthographicCameraTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera **) x)); -} -static void *_p_p_SoPerspectiveCameraTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera **) x)); -} -static void *_p_p_SoCameraTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCamera **) x)); -} -static void *_p_p_SoCameraKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit **) x)); -} -static void *_p_p_SoArrayTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray **) x)); -} -static void *_p_p_SoVRMLDragSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor **) x)); -} -static void *_p_p_SoVRMLPlaneSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor **) x)); -} -static void *_p_p_SoVRMLProximitySensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor **) x)); -} -static void *_p_p_SoVRMLSphereSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor **) x)); -} -static void *_p_p_SoVRMLTimeSensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor **) x)); -} -static void *_p_p_SoVRMLVisibilitySensorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor **) x)); -} -static void *_p_p_SoElapsedTimeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime **) x)); -} -static void *_p_p_SoVRMLSphereTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere **) x)); -} -static void *_p_p_SoEnvironmentTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoEnvironment **) x)); -} -static void *_p_p_SoTextureCoordinateEnvironmentTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment **) x)); -} -static void *_p_p_SoDrawStyleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoDrawStyle **) x)); -} -static void *_p_p_SoSelectOneTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoSelectOne **) x)); -} -static void *_p_p_SoVRMLBoxTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox **) x)); -} -static void *_p_p_SoTransparencyTypeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTransparencyType **) x)); -} -static void *_p_p_SoVRMLFogTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLFog **) x)); -} -static void *_p_p_SoInterpolateVec4fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f **) x)); -} -static void *_p_p_SoConcatenateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoConcatenate **) x)); -} -static void *_p_p_SoSurroundScaleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale **) x)); -} -static void *_p_p_SoVertexShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape **) x)); -} -static void *_p_p_SoVRMLVertexShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape **) x)); -} -static void *_p_p_SoTextureUnitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureUnit **) x)); -} -static void *_p_p_SoAppearanceKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit **) x)); -} -static void *_p_p_SoScale1DraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger **) x)); -} -static void *_p_p_SoRotateSphericalDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger **) x)); -} -static void *_p_p_SoRotateDiscDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger **) x)); -} -static void *_p_p_SoRotateCylindricalDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger **) x)); -} -static void *_p_p_SoPointLightDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger **) x)); -} -static void *_p_p_SoJackDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger **) x)); -} -static void *_p_p_SoHandleBoxDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger **) x)); -} -static void *_p_p_SoDragPointDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger **) x)); -} -static void *_p_p_SoDirectionalLightDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger **) x)); -} -static void *_p_p_SoCenterballDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger **) x)); -} -static void *_p_p_SoDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger **) x)); -} -static void *_p_p_SoScale2DraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger **) x)); -} -static void *_p_p_SoScale2UniformDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger **) x)); -} -static void *_p_p_SoScaleUniformDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger **) x)); -} -static void *_p_p_SoSpotLightDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger **) x)); -} -static void *_p_p_SoTabBoxDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger **) x)); -} -static void *_p_p_SoTabPlaneDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger **) x)); -} -static void *_p_p_SoTrackballDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger **) x)); -} -static void *_p_p_SoTransformBoxDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger **) x)); -} -static void *_p_p_SoTransformerDraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger **) x)); -} -static void *_p_p_SoTranslate1DraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger **) x)); -} -static void *_p_p_SoTranslate2DraggerTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger **) x)); -} -static void *_p_p_SoTempPathTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoPath *)(SoFullPath *) ((SoTempPath **) x)); -} -static void *_p_p_SoPickStyleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPickStyle **) x)); -} -static void *_p_p_SoVRMLInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator **) x)); -} -static void *_p_p_SoVRMLColorInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator **) x)); -} -static void *_p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator **) x)); -} -static void *_p_p_SoVRMLNormalInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator **) x)); -} -static void *_p_p_SoVRMLOrientationInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator **) x)); -} -static void *_p_p_SoVRMLPositionInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator **) x)); -} -static void *_p_p_SoVRMLScalarInterpolatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator **) x)); -} -static void *_p_p_SoVRMLConeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone **) x)); -} -static void *_p_p_SoFontTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoFont **) x)); -} -static void *_p_p_SoVRMLIndexedLineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine **) x)); -} -static void *_p_p_SoVRMLTextureTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture **) x)); -} -static void *_p_p_SoVRMLImageTextureTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture **) x)); -} -static void *_p_p_SoVRMLMovieTextureTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture **) x)); -} -static void *_p_p_SoVRMLPixelTextureTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture **) x)); -} -static void *_p_p_SoTransformVec3fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f **) x)); -} -static void *_p_p_SoTextureCoordinateFunctionTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction **) x)); -} -static void *_p_p_SoNodeKitListPartTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart **) x)); -} -static void *_p_p_SoSphereTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere **) x)); -} -static void *_p_p_SoTextureCoordinateSphereTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere **) x)); -} -static void *_p_p_SoSceneKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit **) x)); -} -static void *_p_p_SoPendulumTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum **) x)); -} -static void *_p_p_SoShapeHintsTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShapeHints **) x)); -} -static void *_p_p_SoTexture2To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture2 **) x)); -} -static void *_p_p_SoSceneTexture2To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 **) x)); -} -static void *_p_p_SoTexture3To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTexture3 **) x)); -} -static void *_p_p_SoTextureCoordinatePlaneTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane **) x)); -} -static void *_p_p_SoVRMLAudioClipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip **) x)); -} -static void *_p_p_SoTimeCounterTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter **) x)); -} -static void *_p_p_SoCounterTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoCounter **) x)); -} -static void *_p_p_SoQuadMeshTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh **) x)); -} -static void *_p_p_SoPathSwitchTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch **) x)); -} -static void *_p_p_SoVRMLSwitchTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch **) x)); -} -static void *_p_p_SoText2To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 **) x)); -} -static void *_p_p_SoSeparatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator **) x)); -} -static void *_p_p_SoText3To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 **) x)); -} -static void *_p_p_SoTransformSeparatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator **) x)); -} -static void *_p_p_SoInteractionKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit **) x)); -} -static void *_p_p_SoBumpMapTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoBumpMap **) x)); -} -static void *_p_p_SoProfileCoordinate2To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 **) x)); -} -static void *_p_p_SoTextureCoordinate2To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 **) x)); -} -static void *_p_p_SoVRMLNormalTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal **) x)); -} -static void *_p_p_SoCoordinate3To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 **) x)); -} -static void *_p_p_SoProfileCoordinate3To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 **) x)); -} -static void *_p_p_SoTextureCoordinate3To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 **) x)); -} -static void *_p_p_SoCoordinate4To_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 **) x)); -} -static void *_p_p_SoVRMLLODTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD **) x)); -} -static void *_p_p_SoCubeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube **) x)); -} -static void *_p_p_SoComposeRotationFromToTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo **) x)); -} -static void *_p_p_SoGateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoGate **) x)); -} -static void *_p_p_SoLocateHighlightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight **) x)); -} -static void *_p_p_SoVRMLElevationGridTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid **) x)); -} -static void *_p_p_SoVRMLShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLShape **) x)); -} -static void *_p_p_SoNodeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *) ((SoNode **) x)); -} -static void *_p_p_SoVRMLVertexPointTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint **) x)); -} -static void *_p_p_SoVRMLViewpointTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint **) x)); -} -static void *_p_p_SoInfoTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoInfo **) x)); -} -static void *_p_p_SoMaterialBindingTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding **) x)); -} -static void *_p_p_SoNormalBindingTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNormalBinding **) x)); -} -static void *_p_p_SoTextureCoordinateBindingTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding **) x)); -} -static void *_p_p_SoInterpolateTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoInterpolate **) x)); -} -static void *_p_p_SoTransformBoxManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip **) x)); -} -static void *_p_p_SoTabBoxManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip **) x)); -} -static void *_p_p_SoHandleBoxManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip **) x)); -} -static void *_p_p_SoVRMLCollisionTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision **) x)); -} -static void *_p_p_SoPackedColorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoPackedColor **) x)); -} -static void *_p_p_SoComposeMatrixTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix **) x)); -} -static void *_p_p_SoDecomposeMatrixTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix **) x)); -} -static void *_p_p_SoSwitchTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch **) x)); -} -static void *_p_p_SoNodeKitPathTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoPath *) ((SoNodeKitPath **) x)); -} -static void *_p_p_SoIndexedFaceSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet **) x)); -} -static void *_p_p_SoFaceSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet **) x)); -} -static void *_p_p_SoTranslationTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation **) x)); -} -static void *_p_p_SoVRMLIndexedFaceSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet **) x)); -} -static void *_p_p_SoShapeTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoShape **) x)); -} -static void *_p_p_SoTextureScalePolicyTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy **) x)); -} -static void *_p_p_SoVRMLScriptTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLScript **) x)); -} -static void *_p_p_SoNormalTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoNormal **) x)); -} -static void *_p_p_SoVRMLInlineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoVRMLInline **) x)); -} -static void *_p_p_SoCalculatorTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoCalculator **) x)); -} -static void *_p_p_SoWrapperKitTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit **) x)); -} -static void *_p_p_SoScaleTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale **) x)); -} -static void *_p_p_SoLineSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet **) x)); -} -static void *_p_p_SoIndexedLineSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet **) x)); -} -static void *_p_p_SoLabelTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoLabel **) x)); -} -static void *_p_p_SoVRMLIndexedLineSetTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet **) x)); -} -static void *_p_p_SoProtoInstanceTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProtoInstance **) x)); -} -static void *_p_p_SoDirectionalLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight **) x)); -} -static void *_p_p_SoComposeVec2fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f **) x)); -} -static void *_p_p_SoDecomposeVec2fTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f **) x)); -} -static void *_p_p_SoVRMLDirectionalLightTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight **) x)); -} -static void *_p_p_SoProtoTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoProto **) x)); -} -static void *_p_p_SoTrackballManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip **) x)); -} -static void *_p_p_SoCenterballManipTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip **) x)); -} -static void *_p_p_SoWWWInlineTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *) ((SoWWWInline **) x)); -} -static void *_p_p_SoLevelOfDetailTo_p_p_SoBase(void *x) { - return (void *)((SoBase **) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFVec4f **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFFloat **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFVec3d **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFRotation **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFVec3f **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFShort **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFUShort **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFEnum **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFVec2f **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) (SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFColor **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFEngine **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFName **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFTime **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFBool **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFString **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFInt32 **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFMatrix **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFNode **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFPlane **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoMField(void *x) { - return (void *)((SoMField **) ((SoMFPath **) x)); -} -static void *_p_SoMFVec4fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoMFFloatTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoMFVec3dTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFRotationTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoMFVec3fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoMFShortTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoMFUShortTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFEnumTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFVec2fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMField(void *x) { - return (void *)((SoMField *) (SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoMFColorTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFEngineTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoMFNameTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFTimeTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFBoolTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoMFStringTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFString *) x)); -} -static void *_p_SoMFInt32To_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFUInt32To_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFMatrixTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoMFNodeTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoMFPlaneTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFPathTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoExtSelectionTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoAnnotationTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoVRMLParentTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBlinkerTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoSwitchTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoVRMLLODTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoLODTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoPathSwitchTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoArrayTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) ((SoArray *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoGroup(void *x) { - return (void *)((SoGroup *) (SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoDragger(void *x) { - return (void *)((SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoVRMLVertexPoint(void *x) { - return (void *)((SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoClipPlaneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfile *) x)); -} -static void *_p_SoRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLight *) x)); -} -static void *_p_SoEngineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoNodeEngineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoConeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoJackManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoShapeHintsTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoCounterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoPathSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoWrapperKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLIndexedLine(void *x) { - return (void *)((SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoSFNameTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFName *) x)); -} -static void *_p_SoMFEnumTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFFloatTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoSFFloatTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec3sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoSFTimeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoMFPathTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoSFVec2sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFEnumTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFColorTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoMFRotationTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoSFRotationTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoMFColorTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFieldTo_p_SoField(void *x) { - return (void *)((SoField *) ((SoMField *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *)(SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *)(SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoSFPathTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFPlaneTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoMFPlaneTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFStringTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFString *) x)); -} -static void *_p_SoSFStringTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFString *) x)); -} -static void *_p_SoMFNodeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoSFieldTo_p_SoField(void *x) { - return (void *)((SoField *) ((SoSField *) x)); -} -static void *_p_SoMFVec4fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoSFVec4fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFEngineTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoMFEngineTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoSFUInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoMFUInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFBoolTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoSFNodeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFImage3To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFMatrixTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoMFMatrixTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoSFTriggerTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec3dTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoMFVec3dTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoSFImageTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFUShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoMFUShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFNameTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFVec3fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoSFVec3fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoMFInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFVec2fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoSFVec2fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoMFTimeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoSFBoolTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoMFShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFShort *) x)); -} -static void *_p_p_SoSFNameTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFName **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFEnum **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFFloat **) x)); -} -static void *_p_p_SoSFFloatTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFFloat **) x)); -} -static void *_p_p_SoSFVec3sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3s **) x)); -} -static void *_p_p_SoSFTimeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFTime **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFPath **) x)); -} -static void *_p_p_SoSFVec2sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2s **) x)); -} -static void *_p_p_SoSFEnumTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFEnum **) x)); -} -static void *_p_p_SoSFColorTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFColor **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFRotation **) x)); -} -static void *_p_p_SoSFRotationTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFRotation **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFColor **) x)); -} -static void *_p_p_SoMFieldTo_p_p_SoField(void *x) { - return (void *)((SoField **) ((SoMField **) x)); -} -static void *_p_p_SoSFBitMaskTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *)(SoSFEnum *) ((SoSFBitMask **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *)(SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoSFPathTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFPath **) x)); -} -static void *_p_p_SoSFPlaneTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFPlane **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFPlane **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFString **) x)); -} -static void *_p_p_SoSFStringTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFString **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFNode **) x)); -} -static void *_p_p_SoSFieldTo_p_p_SoField(void *x) { - return (void *)((SoField **) ((SoSField **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4f **) x)); -} -static void *_p_p_SoSFVec4fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4f **) x)); -} -static void *_p_p_SoSFEngineTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFEngine **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFEngine **) x)); -} -static void *_p_p_SoSFUInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFUInt32 **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFBool **) x)); -} -static void *_p_p_SoSFNodeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFNode **) x)); -} -static void *_p_p_SoSFImage3To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFImage3 **) x)); -} -static void *_p_p_SoSFBox3sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3s **) x)); -} -static void *_p_p_SoSFMatrixTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFMatrix **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFMatrix **) x)); -} -static void *_p_p_SoSFTriggerTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFTrigger **) x)); -} -static void *_p_p_SoSFVec3dTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3d **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3d **) x)); -} -static void *_p_p_SoSFImageTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFImage **) x)); -} -static void *_p_p_SoSFUShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFUShort **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFUShort **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFName **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3f **) x)); -} -static void *_p_p_SoSFVec3fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3f **) x)); -} -static void *_p_p_SoSFInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFInt32 **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFInt32 **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2f **) x)); -} -static void *_p_p_SoSFVec2fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2f **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFTime **) x)); -} -static void *_p_p_SoSFBoolTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFBool **) x)); -} -static void *_p_p_SoSFShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFShort **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFShort **) x)); -} -static void *_p_SoVRMLGroupTo_p_SoVRMLParent(void *x) { - return (void *)((SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoVRMLParent(void *x) { - return (void *)((SoVRMLParent *) (SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoVRMLParent(void *x) { - return (void *)((SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoVRMLParent(void *x) { - return (void *)((SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoVRMLParent(void *x) { - return (void *)((SoVRMLParent *) (SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoMotion3EventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoMotion3Event *) x)); -} -static void *_p_SoButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoButtonEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoLocation2EventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoLocation2Event *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoButtonEvent(void *x) { - return (void *)((SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoButtonEvent(void *x) { - return (void *)((SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoButtonEvent(void *x) { - return (void *)((SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_p_intpTo_p_p_int(void *x) { - return (void *)((int **) ((intp **) x)); -} -static void *_p_SoBoundingBoxCacheTo_p_SoCache(void *x) { - return (void *)((SoCache *) ((SoBoundingBoxCache *) x)); -} -static void *_p_SoGLRenderCacheTo_p_SoCache(void *x) { - return (void *)((SoCache *) ((SoGLRenderCache *) x)); -} -static void *_p_SoConvexDataCacheTo_p_SoCache(void *x) { - return (void *)((SoCache *) ((SoConvexDataCache *) x)); -} -static void *_p_SoNormalCacheTo_p_SoCache(void *x) { - return (void *)((SoCache *) ((SoNormalCache *) x)); -} -static void *_p_SoTextureCoordinateCacheTo_p_SoCache(void *x) { - return (void *)((SoCache *) ((SoTextureCoordinateCache *) x)); -} -static void *_p_SoWrapperKitTo_p_SoSeparatorKit(void *x) { - return (void *)((SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoShapeKitTo_p_SoSeparatorKit(void *x) { - return (void *)((SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoDebugErrorTo_p_SoError(void *x) { - return (void *)((SoError *) ((SoDebugError *) x)); -} -static void *_p_SoReadErrorTo_p_SoError(void *x) { - return (void *)((SoError *) ((SoReadError *) x)); -} -static void *_p_SoMemoryErrorTo_p_SoError(void *x) { - return (void *)((SoError *) ((SoMemoryError *) x)); -} -static void *_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intpTo_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int(void *x) { - return (void *)((int (*)(void *const,SbPlane const *const,int const)) ((intp (*)(void *const,SbPlane const *const,int const)) x)); -} -static void *_p_SoAuditorListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoAuditorList *) x)); -} -static void *_p_SoPickedPointListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoPickedPointList *) x)); -} -static void *_p_SbIntListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbIntList *) x)); -} -static void *_p_SoTypeListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoTypeList *) x)); -} -static void *_p_SoPathListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SbVec3fListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbVec3fList *) x)); -} -static void *_p_SoBaseListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoBaseList *) x)); -} -static void *_p_SoEngineOutputListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoEngineOutputList *) x)); -} -static void *_p_SoChildListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *)(SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoFieldListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoFieldList *) x)); -} -static void *_p_SoNodeListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SbStringListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbStringList *) x)); -} -static void *_p_SoActionMethodListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoActionMethodList *) x)); -} -static void *_p_SoEngineListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoDetailListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoDetailList *) x)); -} -static void *_p_SbXfBox3fTo_p_SbBox3f(void *x) { - return (void *)((SbBox3f *) ((SbXfBox3f *) x)); -} -static void *_p_SoPointLightManipTo_p_SoPointLight(void *x) { - return (void *)((SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoSeparator(void *x) { - return (void *)((SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoAnnotationTo_p_SoSeparator(void *x) { - return (void *)((SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoSelectionTo_p_SoSeparator(void *x) { - return (void *)((SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoExtSelectionTo_p_SoSeparator(void *x) { - return (void *)((SoSeparator *) (SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoSeparator(void *x) { - return (void *)((SoSeparator *) (SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoVRMLLight(void *x) { - return (void *)((SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoVRMLLight(void *x) { - return (void *)((SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoVRMLLight(void *x) { - return (void *)((SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intpTo_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int(void *x) { - return (void *)((int (*)(void *,SoPath const *,SoPath const *)) ((intp (*)(void *,SoPath const *,SoPath const *)) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLVertexShape(void *x) { - return (void *)((SoVRMLVertexShape *) (SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoVRMLVertexShape(void *x) { - return (void *)((SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLineSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoPointSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoQuadMeshTo_p_SoVertexShape(void *x) { - return (void *)((SoVertexShape *) (SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_doublepTo_p_double(void *x) { - return (void *)((double *) ((doublep *) x)); -} -static void *_p_a_4__a_4__doublepTo_p_a_4__a_4__double(void *x) { - return (void *)((double (*)[4][4]) ((doublep (*)[4][4]) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSFEnum(void *x) { - return (void *)((SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMFEnum(void *x) { - return (void *)((SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoQuadMeshTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoVRMLTextTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoImageTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLConeTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoCubeTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoCube *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoCylinderTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoText2To_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoText3 *) x)); -} -static void *_p_SoLineSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoPointSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoSphereTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoSphere *) x)); -} -static void *_p_SoMarkerSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoVertexShapeTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoConeTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoCone *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoAsciiTextTo_p_SoShape(void *x) { - return (void *)((SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoShape(void *x) { - return (void *)((SoShape *) (SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_p_SoElapsedTimeTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoElapsedTime **) x)); -} -static void *_p_p_SoTransformVec3fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoTransformVec3f **) x)); -} -static void *_p_p_SoComposeRotationFromToTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeRotationFromTo **) x)); -} -static void *_p_p_SoInterpolateVec3fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec3f **) x)); -} -static void *_p_p_SoDecomposeRotationTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoDecomposeRotation **) x)); -} -static void *_p_p_SoComposeRotationTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeRotation **) x)); -} -static void *_p_p_SoDecomposeVec4fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoDecomposeVec4f **) x)); -} -static void *_p_p_SoComposeVec4fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeVec4f **) x)); -} -static void *_p_p_SoInterpolateVec2fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec2f **) x)); -} -static void *_p_p_SoInterpolateRotationTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateRotation **) x)); -} -static void *_p_p_SoCounterTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoCounter **) x)); -} -static void *_p_p_SoTimeCounterTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoTimeCounter **) x)); -} -static void *_p_p_SoDecomposeVec3fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoDecomposeVec3f **) x)); -} -static void *_p_p_SoComposeVec3fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeVec3f **) x)); -} -static void *_p_p_SoComputeBoundingBoxTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComputeBoundingBox **) x)); -} -static void *_p_p_SoDecomposeVec2fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoDecomposeVec2f **) x)); -} -static void *_p_p_SoComposeVec2fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeVec2f **) x)); -} -static void *_p_p_SoCalculatorTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoCalculator **) x)); -} -static void *_p_p_SoGateTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoGate **) x)); -} -static void *_p_p_SoInterpolateTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoInterpolate **) x)); -} -static void *_p_p_SoDecomposeMatrixTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoDecomposeMatrix **) x)); -} -static void *_p_p_SoComposeMatrixTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoComposeMatrix **) x)); -} -static void *_p_p_SoSelectOneTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoSelectOne **) x)); -} -static void *_p_p_SoTriggerAnyTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoTriggerAny **) x)); -} -static void *_p_p_SoConcatenateTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoConcatenate **) x)); -} -static void *_p_p_SoFieldConverterTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoFieldConverter **) x)); -} -static void *_p_p_SoOneShotTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoOneShot **) x)); -} -static void *_p_p_SoBoolOperationTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoBoolOperation **) x)); -} -static void *_p_p_SoInterpolateFloatTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateFloat **) x)); -} -static void *_p_p_SoInterpolateVec4fTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) (SoInterpolate *) ((SoInterpolateVec4f **) x)); -} -static void *_p_p_SoOnOffTo_p_p_SoEngine(void *x) { - return (void *)((SoEngine **) ((SoOnOff **) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNodeEngine(void *x) { - return (void *)((SoNodeEngine *) (SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoCounterTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoCalculatorTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoGateTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoGate *) x)); -} -static void *_p_SoInterpolateTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoSelectOneTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoConcatenateTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoFieldConverterTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoOneShotTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoBoolOperationTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) (SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoOnOffTo_p_SoEngine(void *x) { - return (void *)((SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoSpotLight(void *x) { - return (void *)((SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoCylinderDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoCylinderDetail *) x)); -} -static void *_p_SoPointDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoPointDetail *) x)); -} -static void *_p_SoNodeKitDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoNodeKitDetail *) x)); -} -static void *_p_SoTextDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoTextDetail *) x)); -} -static void *_p_SoConeDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoConeDetail *) x)); -} -static void *_p_SoCubeDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoCubeDetail *) x)); -} -static void *_p_SoFaceDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoFaceDetail *) x)); -} -static void *_p_SoLineDetailTo_p_SoDetail(void *x) { - return (void *)((SoDetail *) ((SoLineDetail *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoVRMLVertexLine(void *x) { - return (void *)((SoVRMLVertexLine *) (SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoVRMLVertexLine(void *x) { - return (void *)((SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoInteractionKit(void *x) { - return (void *)((SoInteractionKit *) (SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoLight(void *x) { - return (void *)((SoLight *) (SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoLight(void *x) { - return (void *)((SoLight *) (SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoLight(void *x) { - return (void *)((SoLight *) (SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoLight(void *x) { - return (void *)((SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoSpotLightTo_p_SoLight(void *x) { - return (void *)((SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoPointLightTo_p_SoLight(void *x) { - return (void *)((SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoJackManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoTransformerManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoTransform(void *x) { - return (void *)((SoTransform *) (SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoVRMLIndexedShape(void *x) { - return (void *)((SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoIndexedShape(void *x) { - return (void *)((SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoIndexedShape(void *x) { - return (void *)((SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoIndexedShape(void *x) { - return (void *)((SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoLineSetTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoPointSetTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) (SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNonIndexedShape(void *x) { - return (void *)((SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoDirectionalLight(void *x) { - return (void *)((SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoLocateHighlight(void *x) { - return (void *)((SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoVRMLTexture(void *x) { - return (void *)((SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoVRMLTexture(void *x) { - return (void *)((SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoVRMLTexture(void *x) { - return (void *)((SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) x)); -} -static void *_p_SoWrapperKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoLightKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoCameraKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoSceneKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoShapeKitTo_p_SoBaseKit(void *x) { - return (void *)((SoBaseKit *) (SoSeparatorKit *) ((SoShapeKit *) x)); -} -static swig_type_info _swigt__p_ContextDestructionCB = {"_p_ContextDestructionCB", "ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_GLState = {"_p_GLState", "GLState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProgressCallbackType = {"_p_ProgressCallbackType", "ProgressCallbackType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBSPTree = {"_p_SbBSPTree", "SbBSPTree *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBarrier = {"_p_SbBarrier", "SbBarrier *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2d = {"_p_SbBox2d", "SbBox2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2f = {"_p_SbBox2f", "SbBox2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox2s = {"_p_SbBox2s", "SbBox2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3f = {"_p_SbBox3f", "SbBox3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbBox3s = {"_p_SbBox3s", "SbBox3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbClip = {"_p_SbClip", "SbClip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor = {"_p_SbColor", "SbColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor4f = {"_p_SbColor4f", "SbColor4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCondVar = {"_p_SbCondVar", "SbCondVar *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinder = {"_p_SbCylinder", "SbCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderPlaneProjector = {"_p_SbCylinderPlaneProjector", "SbCylinderPlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderProjector = {"_p_SbCylinderProjector", "SbCylinderProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderSectionProjector = {"_p_SbCylinderSectionProjector", "SbCylinderSectionProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbCylinderSheetProjector = {"_p_SbCylinderSheetProjector", "SbCylinderSheetProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPLine = {"_p_SbDPLine", "SbDPLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPMatrix = {"_p_SbDPMatrix", "SbDPMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPPlane = {"_p_SbDPPlane", "SbDPPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPRotation = {"_p_SbDPRotation", "SbDPRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDPViewVolume = {"_p_SbDPViewVolume", "SbDPViewVolume *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDict = {"_p_SbDict", "SbDict *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbFifo = {"_p_SbFifo", "SbFifo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbHeap = {"_p_SbHeap", "SbHeap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbHeapFuncs = {"_p_SbHeapFuncs", "SbHeapFuncs *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbImage = {"_p_SbImage", "SbImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbIntList = {"_p_SbIntList", "SbIntList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbLine = {"_p_SbLine", "SbLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbLineProjector = {"_p_SbLineProjector", "SbLineProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListTSbName_t = {"_p_SbListTSbName_t", "SbList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListTSbString_t = {"_p_SbListTSbString_t", "SbList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListTint_t = {"_p_SbListTint_t", "SbList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbListTvoid_p_t = {"_p_SbListTvoid_p_t", "SbList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMatrix = {"_p_SbMatrix", "SbMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMutex = {"_p_SbMutex", "SbMutex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbName = {"_p_SbName", "SbName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbOctTree = {"_p_SbOctTree", "SbOctTree *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbOctTreeFuncs = {"_p_SbOctTreeFuncs", "SbOctTreeFuncs *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPList = {"_p_SbPList", "SbPList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPlane = {"_p_SbPlane", "SbPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPlaneProjector = {"_p_SbPlaneProjector", "SbPlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbProjector = {"_p_SbProjector", "SbProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRWMutex = {"_p_SbRWMutex", "SbRWMutex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRotation = {"_p_SbRotation", "SbRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphere = {"_p_SbSphere", "SbSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSpherePlaneProjector = {"_p_SbSpherePlaneProjector", "SbSpherePlaneProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereProjector = {"_p_SbSphereProjector", "SbSphereProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereSectionProjector = {"_p_SbSphereSectionProjector", "SbSphereSectionProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbSphereSheetProjector = {"_p_SbSphereSheetProjector", "SbSphereSheetProjector *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbStorage = {"_p_SbStorage", "SbStorage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbString = {"_p_SbString", "SbString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbStringList = {"_p_SbStringList", "SbStringList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTesselator = {"_p_SbTesselator", "SbTesselator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbThread = {"_p_SbThread", "SbThread *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbThreadAutoLock = {"_p_SbThreadAutoLock", "SbThreadAutoLock *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTime = {"_p_SbTime", "SbTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2d = {"_p_SbVec2d", "SbVec2d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2f = {"_p_SbVec2f", "SbVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2s = {"_p_SbVec2s", "SbVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3d = {"_p_SbVec3d", "SbVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3f = {"_p_SbVec3f", "SbVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3fList = {"_p_SbVec3fList", "SbVec3fList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3s = {"_p_SbVec3s", "SbVec3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4d = {"_p_SbVec4d", "SbVec4d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4f = {"_p_SbVec4f", "SbVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewVolume = {"_p_SbViewVolume", "SbViewVolume *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewportRegion = {"_p_SbViewportRegion", "SbViewportRegion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbXfBox3f = {"_p_SbXfBox3f", "SbXfBox3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAccumulatedElement = {"_p_SoAccumulatedElement", "SoAccumulatedElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAction = {"_p_SoAction", "SoAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoActionMethodList = {"_p_SoActionMethodList", "SoActionMethodList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAlarmSensor = {"_p_SoAlarmSensor", "SoAlarmSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAmbientColorElement = {"_p_SoAmbientColorElement", "SoAmbientColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3CharOrientElement = {"_p_SoAnnoText3CharOrientElement", "SoAnnoText3CharOrientElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3FontSizeHintElement = {"_p_SoAnnoText3FontSizeHintElement", "SoAnnoText3FontSizeHintElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnoText3RenderPrintElement = {"_p_SoAnnoText3RenderPrintElement", "SoAnnoText3RenderPrintElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAnnotation = {"_p_SoAnnotation", "SoAnnotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAntiSquish = {"_p_SoAntiSquish", "SoAntiSquish *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAppearanceKit = {"_p_SoAppearanceKit", "SoAppearanceKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoArray = {"_p_SoArray", "SoArray *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAsciiText = {"_p_SoAsciiText", "SoAsciiText *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAudioDevice = {"_p_SoAudioDevice", "SoAudioDevice *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAudioRenderAction = {"_p_SoAudioRenderAction", "SoAudioRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAuditorList = {"_p_SoAuditorList", "SoAuditorList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBBoxModelMatrixElement = {"_p_SoBBoxModelMatrixElement", "SoBBoxModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBase = {"_p_SoBase", "SoBase *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseColor = {"_p_SoBaseColor", "SoBaseColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseKit = {"_p_SoBaseKit", "SoBaseKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBaseList = {"_p_SoBaseList", "SoBaseList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBlinker = {"_p_SoBlinker", "SoBlinker *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoolOperation = {"_p_SoBoolOperation", "SoBoolOperation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoundingBoxCache = {"_p_SoBoundingBoxCache", "SoBoundingBoxCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoxHighlightRenderAction = {"_p_SoBoxHighlightRenderAction", "SoBoxHighlightRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMap = {"_p_SoBumpMap", "SoBumpMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinate = {"_p_SoBumpMapCoordinate", "SoBumpMapCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinateElement = {"_p_SoBumpMapCoordinateElement", "SoBumpMapCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapElement = {"_p_SoBumpMapElement", "SoBumpMapElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapMatrixElement = {"_p_SoBumpMapMatrixElement", "SoBumpMapMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBumpMapTransform = {"_p_SoBumpMapTransform", "SoBumpMapTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBundle = {"_p_SoBundle", "SoBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoButtonEvent = {"_p_SoButtonEvent", "SoButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoByteStream = {"_p_SoByteStream", "SoByteStream *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCache = {"_p_SoCache", "SoCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCacheElement = {"_p_SoCacheElement", "SoCacheElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCalculator = {"_p_SoCalculator", "SoCalculator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallback = {"_p_SoCallback", "SoCallback *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackAction = {"_p_SoCallbackAction", "SoCallbackAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackActionCB = {"_p_SoCallbackActionCB", "SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCallbackList = {"_p_SoCallbackList", "SoCallbackList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCamera = {"_p_SoCamera", "SoCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCameraKit = {"_p_SoCameraKit", "SoCameraKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCenterballDragger = {"_p_SoCenterballDragger", "SoCenterballDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCenterballManip = {"_p_SoCenterballManip", "SoCenterballManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoChildList = {"_p_SoChildList", "SoChildList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlane = {"_p_SoClipPlane", "SoClipPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlaneElement = {"_p_SoClipPlaneElement", "SoClipPlaneElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlaneManip = {"_p_SoClipPlaneManip", "SoClipPlaneManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoColorIndex = {"_p_SoColorIndex", "SoColorIndex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoColorPacker = {"_p_SoColorPacker", "SoColorPacker *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexity = {"_p_SoComplexity", "SoComplexity *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexityElement = {"_p_SoComplexityElement", "SoComplexityElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComplexityTypeElement = {"_p_SoComplexityTypeElement", "SoComplexityTypeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeMatrix = {"_p_SoComposeMatrix", "SoComposeMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeRotation = {"_p_SoComposeRotation", "SoComposeRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeRotationFromTo = {"_p_SoComposeRotationFromTo", "SoComposeRotationFromTo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec2f = {"_p_SoComposeVec2f", "SoComposeVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec3f = {"_p_SoComposeVec3f", "SoComposeVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComposeVec4f = {"_p_SoComposeVec4f", "SoComposeVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoComputeBoundingBox = {"_p_SoComputeBoundingBox", "SoComputeBoundingBox *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConcatenate = {"_p_SoConcatenate", "SoConcatenate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCone = {"_p_SoCone", "SoCone *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConeDetail = {"_p_SoConeDetail", "SoConeDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoContextHandler = {"_p_SoContextHandler", "SoContextHandler *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoConvexDataCache = {"_p_SoConvexDataCache", "SoConvexDataCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinate3 = {"_p_SoCoordinate3", "SoCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinate4 = {"_p_SoCoordinate4", "SoCoordinate4 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCoordinateElement = {"_p_SoCoordinateElement", "SoCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCounter = {"_p_SoCounter", "SoCounter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCreaseAngleElement = {"_p_SoCreaseAngleElement", "SoCreaseAngleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCube = {"_p_SoCube", "SoCube *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCubeDetail = {"_p_SoCubeDetail", "SoCubeDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCullElement = {"_p_SoCullElement", "SoCullElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCylinder = {"_p_SoCylinder", "SoCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCylinderDetail = {"_p_SoCylinderDetail", "SoCylinderDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDB = {"_p_SoDB", "SoDB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDataSensor = {"_p_SoDataSensor", "SoDataSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDebugError = {"_p_SoDebugError", "SoDebugError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecimationPercentageElement = {"_p_SoDecimationPercentageElement", "SoDecimationPercentageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecimationTypeElement = {"_p_SoDecimationTypeElement", "SoDecimationTypeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeMatrix = {"_p_SoDecomposeMatrix", "SoDecomposeMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeRotation = {"_p_SoDecomposeRotation", "SoDecomposeRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec2f = {"_p_SoDecomposeVec2f", "SoDecomposeVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec3f = {"_p_SoDecomposeVec3f", "SoDecomposeVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec4f = {"_p_SoDecomposeVec4f", "SoDecomposeVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDelayQueueSensor = {"_p_SoDelayQueueSensor", "SoDelayQueueSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDetail = {"_p_SoDetail", "SoDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDetailList = {"_p_SoDetailList", "SoDetailList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDiffuseColorElement = {"_p_SoDiffuseColorElement", "SoDiffuseColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLight = {"_p_SoDirectionalLight", "SoDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightDragger = {"_p_SoDirectionalLightDragger", "SoDirectionalLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightManip = {"_p_SoDirectionalLightManip", "SoDirectionalLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDragPointDragger = {"_p_SoDragPointDragger", "SoDragPointDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDragger = {"_p_SoDragger", "SoDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDrawStyle = {"_p_SoDrawStyle", "SoDrawStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDrawStyleElement = {"_p_SoDrawStyleElement", "SoDrawStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoElapsedTime = {"_p_SoElapsedTime", "SoElapsedTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoElement = {"_p_SoElement", "SoElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEmissiveColorElement = {"_p_SoEmissiveColorElement", "SoEmissiveColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnabledElementsList = {"_p_SoEnabledElementsList", "SoEnabledElementsList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngine = {"_p_SoEngine", "SoEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineList = {"_p_SoEngineList", "SoEngineList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutput = {"_p_SoEngineOutput", "SoEngineOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutputData = {"_p_SoEngineOutputData", "SoEngineOutputData *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutputList = {"_p_SoEngineOutputList", "SoEngineOutputList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnvironment = {"_p_SoEnvironment", "SoEnvironment *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEnvironmentElement = {"_p_SoEnvironmentElement", "SoEnvironmentElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoError = {"_p_SoError", "SoError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEvent = {"_p_SoEvent", "SoEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEventCallback = {"_p_SoEventCallback", "SoEventCallback *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoExtSelection = {"_p_SoExtSelection", "SoExtSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFaceDetail = {"_p_SoFaceDetail", "SoFaceDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFaceSet = {"_p_SoFaceSet", "SoFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoField = {"_p_SoField", "SoField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldContainer = {"_p_SoFieldContainer", "SoFieldContainer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldConverter = {"_p_SoFieldConverter", "SoFieldConverter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldData = {"_p_SoFieldData", "SoFieldData *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldList = {"_p_SoFieldList", "SoFieldList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldSensor = {"_p_SoFieldSensor", "SoFieldSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFile = {"_p_SoFile", "SoFile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFloatElement = {"_p_SoFloatElement", "SoFloatElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFocalDistanceElement = {"_p_SoFocalDistanceElement", "SoFocalDistanceElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFont = {"_p_SoFont", "SoFont *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontNameElement = {"_p_SoFontNameElement", "SoFontNameElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontSizeElement = {"_p_SoFontSizeElement", "SoFontSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFontStyle = {"_p_SoFontStyle", "SoFontStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFullPath = {"_p_SoFullPath", "SoFullPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLBigImage = {"_p_SoGLBigImage", "SoGLBigImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCacheContextElement = {"_p_SoGLCacheContextElement", "SoGLCacheContextElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCacheList = {"_p_SoGLCacheList", "SoGLCacheList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLClipPlaneElement = {"_p_SoGLClipPlaneElement", "SoGLClipPlaneElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLColorIndexElement = {"_p_SoGLColorIndexElement", "SoGLColorIndexElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLCoordinateElement = {"_p_SoGLCoordinateElement", "SoGLCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLDisplayList = {"_p_SoGLDisplayList", "SoGLDisplayList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLDrawStyleElement = {"_p_SoGLDrawStyleElement", "SoGLDrawStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLEnvironmentElement = {"_p_SoGLEnvironmentElement", "SoGLEnvironmentElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLImage = {"_p_SoGLImage", "SoGLImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement = {"_p_SoGLLazyElement", "SoGLLazyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement_GLState = {"_p_SoGLLazyElement_GLState", "SoGLLazyElement_GLState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLazyElement__GLState = {"_p_SoGLLazyElement__GLState", "SoGLLazyElement::GLState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLightIdElement = {"_p_SoGLLightIdElement", "SoGLLightIdElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLinePatternElement = {"_p_SoGLLinePatternElement", "SoGLLinePatternElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLLineWidthElement = {"_p_SoGLLineWidthElement", "SoGLLineWidthElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLModelMatrixElement = {"_p_SoGLModelMatrixElement", "SoGLModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureCoordinateElement = {"_p_SoGLMultiTextureCoordinateElement", "SoGLMultiTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureEnabledElement = {"_p_SoGLMultiTextureEnabledElement", "SoGLMultiTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureImageElement = {"_p_SoGLMultiTextureImageElement", "SoGLMultiTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLMultiTextureMatrixElement = {"_p_SoGLMultiTextureMatrixElement", "SoGLMultiTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLNormalElement = {"_p_SoGLNormalElement", "SoGLNormalElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLPointSizeElement = {"_p_SoGLPointSizeElement", "SoGLPointSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLPolygonOffsetElement = {"_p_SoGLPolygonOffsetElement", "SoGLPolygonOffsetElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLProjectionMatrixElement = {"_p_SoGLProjectionMatrixElement", "SoGLProjectionMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAbortCB = {"_p_SoGLRenderAbortCB", "SoGLRenderAbortCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAction = {"_p_SoGLRenderAction", "SoGLRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderCache = {"_p_SoGLRenderCache", "SoGLRenderCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderPassElement = {"_p_SoGLRenderPassElement", "SoGLRenderPassElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLShapeHintsElement = {"_p_SoGLShapeHintsElement", "SoGLShapeHintsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTexture3EnabledElement = {"_p_SoGLTexture3EnabledElement", "SoGLTexture3EnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureCoordinateElement = {"_p_SoGLTextureCoordinateElement", "SoGLTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureEnabledElement = {"_p_SoGLTextureEnabledElement", "SoGLTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureImageElement = {"_p_SoGLTextureImageElement", "SoGLTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLTextureMatrixElement = {"_p_SoGLTextureMatrixElement", "SoGLTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLUpdateAreaElement = {"_p_SoGLUpdateAreaElement", "SoGLUpdateAreaElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLViewingMatrixElement = {"_p_SoGLViewingMatrixElement", "SoGLViewingMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLViewportRegionElement = {"_p_SoGLViewportRegionElement", "SoGLViewportRegionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGate = {"_p_SoGate", "SoGate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetBoundingBoxAction = {"_p_SoGetBoundingBoxAction", "SoGetBoundingBoxAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetMatrixAction = {"_p_SoGetMatrixAction", "SoGetMatrixAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGetPrimitiveCountAction = {"_p_SoGetPrimitiveCountAction", "SoGetPrimitiveCountAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGlyph = {"_p_SoGlyph", "SoGlyph *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGroup = {"_p_SoGroup", "SoGroup *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleBoxDragger = {"_p_SoHandleBoxDragger", "SoHandleBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleBoxManip = {"_p_SoHandleBoxManip", "SoHandleBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHandleEventAction = {"_p_SoHandleEventAction", "SoHandleEventAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoHardCopy = {"_p_SoHardCopy", "SoHardCopy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIdleSensor = {"_p_SoIdleSensor", "SoIdleSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoImage = {"_p_SoImage", "SoImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedFaceSet = {"_p_SoIndexedFaceSet", "SoIndexedFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedLineSet = {"_p_SoIndexedLineSet", "SoIndexedLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsCurve = {"_p_SoIndexedNurbsCurve", "SoIndexedNurbsCurve *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsSurface = {"_p_SoIndexedNurbsSurface", "SoIndexedNurbsSurface *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedShape = {"_p_SoIndexedShape", "SoIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIndexedTriangleStripSet = {"_p_SoIndexedTriangleStripSet", "SoIndexedTriangleStripSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInfo = {"_p_SoInfo", "SoInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInput = {"_p_SoInput", "SoInput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInt32Element = {"_p_SoInt32Element", "SoInt32Element *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInteraction = {"_p_SoInteraction", "SoInteraction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInteractionKit = {"_p_SoInteractionKit", "SoInteractionKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolate = {"_p_SoInterpolate", "SoInterpolate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateFloat = {"_p_SoInterpolateFloat", "SoInterpolateFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateRotation = {"_p_SoInterpolateRotation", "SoInterpolateRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec2f = {"_p_SoInterpolateVec2f", "SoInterpolateVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec3f = {"_p_SoInterpolateVec3f", "SoInterpolateVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec4f = {"_p_SoInterpolateVec4f", "SoInterpolateVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectingPrimitive = {"_p_SoIntersectingPrimitive", "SoIntersectingPrimitive *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionCB = {"_p_SoIntersectionCB", "SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionDetectionAction = {"_p_SoIntersectionDetectionAction", "SoIntersectionDetectionAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionFilterCB = {"_p_SoIntersectionFilterCB", "SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionVisitationCB = {"_p_SoIntersectionVisitationCB", "SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoJackDragger = {"_p_SoJackDragger", "SoJackDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoJackManip = {"_p_SoJackManip", "SoJackManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoKeyboardEvent = {"_p_SoKeyboardEvent", "SoKeyboardEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLOD = {"_p_SoLOD", "SoLOD *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLabel = {"_p_SoLabel", "SoLabel *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLazyElement = {"_p_SoLazyElement", "SoLazyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLevelOfDetail = {"_p_SoLevelOfDetail", "SoLevelOfDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLight = {"_p_SoLight", "SoLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightAttenuationElement = {"_p_SoLightAttenuationElement", "SoLightAttenuationElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightElement = {"_p_SoLightElement", "SoLightElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightKit = {"_p_SoLightKit", "SoLightKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightModel = {"_p_SoLightModel", "SoLightModel *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightModelElement = {"_p_SoLightModelElement", "SoLightModelElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLightPath = {"_p_SoLightPath", "SoLightPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineDetail = {"_p_SoLineDetail", "SoLineDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineHighlightRenderAction = {"_p_SoLineHighlightRenderAction", "SoLineHighlightRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLinePatternElement = {"_p_SoLinePatternElement", "SoLinePatternElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineSet = {"_p_SoLineSet", "SoLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLineWidthElement = {"_p_SoLineWidthElement", "SoLineWidthElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLinearProfile = {"_p_SoLinearProfile", "SoLinearProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListener = {"_p_SoListener", "SoListener *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerDopplerElement = {"_p_SoListenerDopplerElement", "SoListenerDopplerElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerGainElement = {"_p_SoListenerGainElement", "SoListenerGainElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerOrientationElement = {"_p_SoListenerOrientationElement", "SoListenerOrientationElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoListenerPositionElement = {"_p_SoListenerPositionElement", "SoListenerPositionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocalBBoxMatrixElement = {"_p_SoLocalBBoxMatrixElement", "SoLocalBBoxMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocateHighlight = {"_p_SoLocateHighlight", "SoLocateHighlight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLocation2Event = {"_p_SoLocation2Event", "SoLocation2Event *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoLockManager = {"_p_SoLockManager", "SoLockManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFBitMask = {"_p_SoMFBitMask", "SoMFBitMask *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFBool = {"_p_SoMFBool", "SoMFBool *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFColor = {"_p_SoMFColor", "SoMFColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFEngine = {"_p_SoMFEngine", "SoMFEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFEnum = {"_p_SoMFEnum", "SoMFEnum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFFloat = {"_p_SoMFFloat", "SoMFFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFInt32 = {"_p_SoMFInt32", "SoMFInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFMatrix = {"_p_SoMFMatrix", "SoMFMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFName = {"_p_SoMFName", "SoMFName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFNode = {"_p_SoMFNode", "SoMFNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFPath = {"_p_SoMFPath", "SoMFPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFPlane = {"_p_SoMFPlane", "SoMFPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFRotation = {"_p_SoMFRotation", "SoMFRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFShort = {"_p_SoMFShort", "SoMFShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFString = {"_p_SoMFString", "SoMFString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFTime = {"_p_SoMFTime", "SoMFTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFUInt32 = {"_p_SoMFUInt32", "SoMFUInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFUShort = {"_p_SoMFUShort", "SoMFUShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2f = {"_p_SoMFVec2f", "SoMFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3d = {"_p_SoMFVec3d", "SoMFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3f = {"_p_SoMFVec3f", "SoMFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4f = {"_p_SoMFVec4f", "SoMFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMField = {"_p_SoMField", "SoMField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMarkerSet = {"_p_SoMarkerSet", "SoMarkerSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterial = {"_p_SoMaterial", "SoMaterial *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBinding = {"_p_SoMaterialBinding", "SoMaterialBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBindingElement = {"_p_SoMaterialBindingElement", "SoMaterialBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMaterialBundle = {"_p_SoMaterialBundle", "SoMaterialBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMatrixTransform = {"_p_SoMatrixTransform", "SoMatrixTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMemoryError = {"_p_SoMemoryError", "SoMemoryError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoModelMatrixElement = {"_p_SoModelMatrixElement", "SoModelMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMotion3Event = {"_p_SoMotion3Event", "SoMotion3Event *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMouseButtonEvent = {"_p_SoMouseButtonEvent", "SoMouseButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureCoordinateElement = {"_p_SoMultiTextureCoordinateElement", "SoMultiTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureEnabledElement = {"_p_SoMultiTextureEnabledElement", "SoMultiTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureImageElement = {"_p_SoMultiTextureImageElement", "SoMultiTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultiTextureMatrixElement = {"_p_SoMultiTextureMatrixElement", "SoMultiTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMultipleCopy = {"_p_SoMultipleCopy", "SoMultipleCopy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNode = {"_p_SoNode", "SoNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeEngine = {"_p_SoNodeEngine", "SoNodeEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKit = {"_p_SoNodeKit", "SoNodeKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitDetail = {"_p_SoNodeKitDetail", "SoNodeKitDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitListPart = {"_p_SoNodeKitListPart", "SoNodeKitListPart *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeKitPath = {"_p_SoNodeKitPath", "SoNodeKitPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeList = {"_p_SoNodeList", "SoNodeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodeSensor = {"_p_SoNodeSensor", "SoNodeSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNodekitCatalog = {"_p_SoNodekitCatalog", "SoNodekitCatalog *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNonIndexedShape = {"_p_SoNonIndexedShape", "SoNonIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormal = {"_p_SoNormal", "SoNormal *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBinding = {"_p_SoNormalBinding", "SoNormalBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBindingElement = {"_p_SoNormalBindingElement", "SoNormalBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalBundle = {"_p_SoNormalBundle", "SoNormalBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalCache = {"_p_SoNormalCache", "SoNormalCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalElement = {"_p_SoNormalElement", "SoNormalElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNormalGenerator = {"_p_SoNormalGenerator", "SoNormalGenerator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotList = {"_p_SoNotList", "SoNotList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotRec = {"_p_SoNotRec", "SoNotRec *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsCurve = {"_p_SoNurbsCurve", "SoNurbsCurve *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsProfile = {"_p_SoNurbsProfile", "SoNurbsProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNurbsSurface = {"_p_SoNurbsSurface", "SoNurbsSurface *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOffscreenRenderer = {"_p_SoOffscreenRenderer", "SoOffscreenRenderer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOnOff = {"_p_SoOnOff", "SoOnOff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOneShot = {"_p_SoOneShot", "SoOneShot *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOneShotSensor = {"_p_SoOneShotSensor", "SoOneShotSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOrthographicCamera = {"_p_SoOrthographicCamera", "SoOrthographicCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOutput = {"_p_SoOutput", "SoOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOverrideElement = {"_p_SoOverrideElement", "SoOverrideElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPSVectorOutput = {"_p_SoPSVectorOutput", "SoPSVectorOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPackedColor = {"_p_SoPackedColor", "SoPackedColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPath = {"_p_SoPath", "SoPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathList = {"_p_SoPathList", "SoPathList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathSensor = {"_p_SoPathSensor", "SoPathSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPathSwitch = {"_p_SoPathSwitch", "SoPathSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPendulum = {"_p_SoPendulum", "SoPendulum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPerspectiveCamera = {"_p_SoPerspectiveCamera", "SoPerspectiveCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickAction = {"_p_SoPickAction", "SoPickAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickRayElement = {"_p_SoPickRayElement", "SoPickRayElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickStyle = {"_p_SoPickStyle", "SoPickStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickStyleElement = {"_p_SoPickStyleElement", "SoPickStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickedPoint = {"_p_SoPickedPoint", "SoPickedPoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPickedPointList = {"_p_SoPickedPointList", "SoPickedPointList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointDetail = {"_p_SoPointDetail", "SoPointDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLight = {"_p_SoPointLight", "SoPointLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLightDragger = {"_p_SoPointLightDragger", "SoPointLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointLightManip = {"_p_SoPointLightManip", "SoPointLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointSet = {"_p_SoPointSet", "SoPointSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPointSizeElement = {"_p_SoPointSizeElement", "SoPointSizeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffset = {"_p_SoPolygonOffset", "SoPolygonOffset *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffsetElement = {"_p_SoPolygonOffsetElement", "SoPolygonOffsetElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPolygonOffsetElement__Style = {"_p_SoPolygonOffsetElement__Style", "enum SoPolygonOffsetElement::Style *|SoPolygonOffsetElement::Style *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoPrimitiveVertex = {"_p_SoPrimitiveVertex", "SoPrimitiveVertex *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfile = {"_p_SoProfile", "SoProfile *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate2 = {"_p_SoProfileCoordinate2", "SoProfileCoordinate2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate3 = {"_p_SoProfileCoordinate3", "SoProfileCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinateElement = {"_p_SoProfileCoordinateElement", "SoProfileCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProfileElement = {"_p_SoProfileElement", "SoProfileElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProjectionMatrixElement = {"_p_SoProjectionMatrixElement", "SoProjectionMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProto = {"_p_SoProto", "SoProto *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoProtoInstance = {"_p_SoProtoInstance", "SoProtoInstance *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQuadMesh = {"_p_SoQuadMesh", "SoQuadMesh *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRayPickAction = {"_p_SoRayPickAction", "SoRayPickAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReadError = {"_p_SoReadError", "SoReadError *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoReplacedElement = {"_p_SoReplacedElement", "SoReplacedElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoResetTransform = {"_p_SoResetTransform", "SoResetTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateCylindricalDragger = {"_p_SoRotateCylindricalDragger", "SoRotateCylindricalDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateDiscDragger = {"_p_SoRotateDiscDragger", "SoRotateDiscDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotateSphericalDragger = {"_p_SoRotateSphericalDragger", "SoRotateSphericalDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotation = {"_p_SoRotation", "SoRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotationXYZ = {"_p_SoRotationXYZ", "SoRotationXYZ *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoRotor = {"_p_SoRotor", "SoRotor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBitMask = {"_p_SoSFBitMask", "SoSFBitMask *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBool = {"_p_SoSFBool", "SoSFBool *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFBox3s = {"_p_SoSFBox3s", "SoSFBox3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFColor = {"_p_SoSFColor", "SoSFColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFEngine = {"_p_SoSFEngine", "SoSFEngine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFEnum = {"_p_SoSFEnum", "SoSFEnum *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFFloat = {"_p_SoSFFloat", "SoSFFloat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFImage = {"_p_SoSFImage", "SoSFImage *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFImage3 = {"_p_SoSFImage3", "SoSFImage3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFInt32 = {"_p_SoSFInt32", "SoSFInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFMatrix = {"_p_SoSFMatrix", "SoSFMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFName = {"_p_SoSFName", "SoSFName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFNode = {"_p_SoSFNode", "SoSFNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFPath = {"_p_SoSFPath", "SoSFPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFPlane = {"_p_SoSFPlane", "SoSFPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFRotation = {"_p_SoSFRotation", "SoSFRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFShort = {"_p_SoSFShort", "SoSFShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFString = {"_p_SoSFString", "SoSFString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFTime = {"_p_SoSFTime", "SoSFTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFTrigger = {"_p_SoSFTrigger", "SoSFTrigger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFUInt32 = {"_p_SoSFUInt32", "SoSFUInt32 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFUShort = {"_p_SoSFUShort", "SoSFUShort *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2f = {"_p_SoSFVec2f", "SoSFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec2s = {"_p_SoSFVec2s", "SoSFVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3d = {"_p_SoSFVec3d", "SoSFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3f = {"_p_SoSFVec3f", "SoSFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec3s = {"_p_SoSFVec3s", "SoSFVec3s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFVec4f = {"_p_SoSFVec4f", "SoSFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSField = {"_p_SoSField", "SoSField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale = {"_p_SoScale", "SoScale *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale1Dragger = {"_p_SoScale1Dragger", "SoScale1Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale2Dragger = {"_p_SoScale2Dragger", "SoScale2Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScale2UniformDragger = {"_p_SoScale2UniformDragger", "SoScale2UniformDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoScaleUniformDragger = {"_p_SoScaleUniformDragger", "SoScaleUniformDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneKit = {"_p_SoSceneKit", "SoSceneKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneManager = {"_p_SoSceneManager", "SoSceneManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneTexture2 = {"_p_SoSceneTexture2", "SoSceneTexture2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSearchAction = {"_p_SoSearchAction", "SoSearchAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelectOne = {"_p_SoSelectOne", "SoSelectOne *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelection = {"_p_SoSelection", "SoSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSensor = {"_p_SoSensor", "SoSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSensorManager = {"_p_SoSensorManager", "SoSensorManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSeparator = {"_p_SoSeparator", "SoSeparator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSeparatorKit = {"_p_SoSeparatorKit", "SoSeparatorKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShape = {"_p_SoShape", "SoShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHints = {"_p_SoShapeHints", "SoShapeHints *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement = {"_p_SoShapeHintsElement", "SoShapeHintsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__FaceType = {"_p_SoShapeHintsElement__FaceType", "enum SoShapeHintsElement::FaceType *|SoShapeHintsElement::FaceType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__ShapeType = {"_p_SoShapeHintsElement__ShapeType", "enum SoShapeHintsElement::ShapeType *|SoShapeHintsElement::ShapeType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeHintsElement__VertexOrdering = {"_p_SoShapeHintsElement__VertexOrdering", "enum SoShapeHintsElement::VertexOrdering *|SoShapeHintsElement::VertexOrdering *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeKit = {"_p_SoShapeKit", "SoShapeKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShapeStyleElement = {"_p_SoShapeStyleElement", "SoShapeStyleElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShininessElement = {"_p_SoShininessElement", "SoShininessElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoShuttle = {"_p_SoShuttle", "SoShuttle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSoundElement = {"_p_SoSoundElement", "SoSoundElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpaceballButtonEvent = {"_p_SoSpaceballButtonEvent", "SoSpaceballButtonEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpecularColorElement = {"_p_SoSpecularColorElement", "SoSpecularColorElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSphere = {"_p_SoSphere", "SoSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLight = {"_p_SoSpotLight", "SoSpotLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLightDragger = {"_p_SoSpotLightDragger", "SoSpotLightDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSpotLightManip = {"_p_SoSpotLightManip", "SoSpotLightManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoState = {"_p_SoState", "SoState *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSurroundScale = {"_p_SoSurroundScale", "SoSurroundScale *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSwitch = {"_p_SoSwitch", "SoSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSwitchElement = {"_p_SoSwitchElement", "SoSwitchElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabBoxDragger = {"_p_SoTabBoxDragger", "SoTabBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabBoxManip = {"_p_SoTabBoxManip", "SoTabBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTabPlaneDragger = {"_p_SoTabPlaneDragger", "SoTabPlaneDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTempPath = {"_p_SoTempPath", "SoTempPath *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoText2 = {"_p_SoText2", "SoText2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoText3 = {"_p_SoText3", "SoText3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextDetail = {"_p_SoTextDetail", "SoTextDetail *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextOutlineEnabledElement = {"_p_SoTextOutlineEnabledElement", "SoTextOutlineEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture2 = {"_p_SoTexture2", "SoTexture2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture2Transform = {"_p_SoTexture2Transform", "SoTexture2Transform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3 = {"_p_SoTexture3", "SoTexture3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3EnabledElement = {"_p_SoTexture3EnabledElement", "SoTexture3EnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTexture3Transform = {"_p_SoTexture3Transform", "SoTexture3Transform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombine = {"_p_SoTextureCombine", "SoTextureCombine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement = {"_p_SoTextureCombineElement", "SoTextureCombineElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Operand = {"_p_SoTextureCombineElement__Operand", "enum SoTextureCombineElement::Operand *|SoTextureCombineElement::Operand *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Operation = {"_p_SoTextureCombineElement__Operation", "enum SoTextureCombineElement::Operation *|SoTextureCombineElement::Operation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCombineElement__Source = {"_p_SoTextureCombineElement__Source", "enum SoTextureCombineElement::Source *|SoTextureCombineElement::Source *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate2 = {"_p_SoTextureCoordinate2", "SoTextureCoordinate2 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate3 = {"_p_SoTextureCoordinate3", "SoTextureCoordinate3 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBinding = {"_p_SoTextureCoordinateBinding", "SoTextureCoordinateBinding *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBindingElement = {"_p_SoTextureCoordinateBindingElement", "SoTextureCoordinateBindingElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBundle = {"_p_SoTextureCoordinateBundle", "SoTextureCoordinateBundle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCache = {"_p_SoTextureCoordinateCache", "SoTextureCoordinateCache *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCube = {"_p_SoTextureCoordinateCube", "SoTextureCoordinateCube *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCylinder = {"_p_SoTextureCoordinateCylinder", "SoTextureCoordinateCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateDefault = {"_p_SoTextureCoordinateDefault", "SoTextureCoordinateDefault *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateElement = {"_p_SoTextureCoordinateElement", "SoTextureCoordinateElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateEnvironment = {"_p_SoTextureCoordinateEnvironment", "SoTextureCoordinateEnvironment *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateFunction = {"_p_SoTextureCoordinateFunction", "SoTextureCoordinateFunction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinatePlane = {"_p_SoTextureCoordinatePlane", "SoTextureCoordinatePlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateSphere = {"_p_SoTextureCoordinateSphere", "SoTextureCoordinateSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureEnabledElement = {"_p_SoTextureEnabledElement", "SoTextureEnabledElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement = {"_p_SoTextureImageElement", "SoTextureImageElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement__Model = {"_p_SoTextureImageElement__Model", "enum SoTextureImageElement::Model *|SoTextureImageElement::Model *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureImageElement__Wrap = {"_p_SoTextureImageElement__Wrap", "enum SoTextureImageElement::Wrap *|SoTextureImageElement::Wrap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureMatrixElement = {"_p_SoTextureMatrixElement", "SoTextureMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureOverrideElement = {"_p_SoTextureOverrideElement", "SoTextureOverrideElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureQualityElement = {"_p_SoTextureQualityElement", "SoTextureQualityElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureScalePolicy = {"_p_SoTextureScalePolicy", "SoTextureScalePolicy *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureUnit = {"_p_SoTextureUnit", "SoTextureUnit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTextureUnitElement = {"_p_SoTextureUnitElement", "SoTextureUnitElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimeCounter = {"_p_SoTimeCounter", "SoTimeCounter *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimerQueueSensor = {"_p_SoTimerQueueSensor", "SoTimerQueueSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTimerSensor = {"_p_SoTimerSensor", "SoTimerSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoToVRML2Action = {"_p_SoToVRML2Action", "SoToVRML2Action *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoToVRMLAction = {"_p_SoToVRMLAction", "SoToVRMLAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTrackballDragger = {"_p_SoTrackballDragger", "SoTrackballDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTrackballManip = {"_p_SoTrackballManip", "SoTrackballManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranReceiver = {"_p_SoTranReceiver", "SoTranReceiver *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranSender = {"_p_SoTranSender", "SoTranSender *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransform = {"_p_SoTransform", "SoTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformBoxDragger = {"_p_SoTransformBoxDragger", "SoTransformBoxDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformBoxManip = {"_p_SoTransformBoxManip", "SoTransformBoxManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformManip = {"_p_SoTransformManip", "SoTransformManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformSeparator = {"_p_SoTransformSeparator", "SoTransformSeparator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformVec3f = {"_p_SoTransformVec3f", "SoTransformVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformation = {"_p_SoTransformation", "SoTransformation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformerDragger = {"_p_SoTransformerDragger", "SoTransformerDragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransformerManip = {"_p_SoTransformerManip", "SoTransformerManip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslate1Dragger = {"_p_SoTranslate1Dragger", "SoTranslate1Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslate2Dragger = {"_p_SoTranslate2Dragger", "SoTranslate2Dragger *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTranslation = {"_p_SoTranslation", "SoTranslation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransparencyElement = {"_p_SoTransparencyElement", "SoTransparencyElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTransparencyType = {"_p_SoTransparencyType", "SoTransparencyType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTriangleStripSet = {"_p_SoTriangleStripSet", "SoTriangleStripSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTriggerAny = {"_p_SoTriggerAny", "SoTriggerAny *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoType = {"_p_SoType", "SoType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTypeList = {"_p_SoTypeList", "SoTypeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoUnits = {"_p_SoUnits", "SoUnits *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoUnitsElement = {"_p_SoUnitsElement", "SoUnitsElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAnchor = {"_p_SoVRMLAnchor", "SoVRMLAnchor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAppearance = {"_p_SoVRMLAppearance", "SoVRMLAppearance *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLAudioClip = {"_p_SoVRMLAudioClip", "SoVRMLAudioClip *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBackground = {"_p_SoVRMLBackground", "SoVRMLBackground *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBillboard = {"_p_SoVRMLBillboard", "SoVRMLBillboard *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLBox = {"_p_SoVRMLBox", "SoVRMLBox *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCollision = {"_p_SoVRMLCollision", "SoVRMLCollision *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLColor = {"_p_SoVRMLColor", "SoVRMLColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLColorInterpolator = {"_p_SoVRMLColorInterpolator", "SoVRMLColorInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCone = {"_p_SoVRMLCone", "SoVRMLCone *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinate = {"_p_SoVRMLCoordinate", "SoVRMLCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinateInterpolator = {"_p_SoVRMLCoordinateInterpolator", "SoVRMLCoordinateInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinder = {"_p_SoVRMLCylinder", "SoVRMLCylinder *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinderSensor = {"_p_SoVRMLCylinderSensor", "SoVRMLCylinderSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLDirectionalLight = {"_p_SoVRMLDirectionalLight", "SoVRMLDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLDragSensor = {"_p_SoVRMLDragSensor", "SoVRMLDragSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLElevationGrid = {"_p_SoVRMLElevationGrid", "SoVRMLElevationGrid *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLExtrusion = {"_p_SoVRMLExtrusion", "SoVRMLExtrusion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLFog = {"_p_SoVRMLFog", "SoVRMLFog *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLFontStyle = {"_p_SoVRMLFontStyle", "SoVRMLFontStyle *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLGeometry = {"_p_SoVRMLGeometry", "SoVRMLGeometry *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLGroup = {"_p_SoVRMLGroup", "SoVRMLGroup *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLImageTexture = {"_p_SoVRMLImageTexture", "SoVRMLImageTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedFaceSet = {"_p_SoVRMLIndexedFaceSet", "SoVRMLIndexedFaceSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLine = {"_p_SoVRMLIndexedLine", "SoVRMLIndexedLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLineSet = {"_p_SoVRMLIndexedLineSet", "SoVRMLIndexedLineSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedShape = {"_p_SoVRMLIndexedShape", "SoVRMLIndexedShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLInline = {"_p_SoVRMLInline", "SoVRMLInline *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLInterpolator = {"_p_SoVRMLInterpolator", "SoVRMLInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLLOD = {"_p_SoVRMLLOD", "SoVRMLLOD *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLLight = {"_p_SoVRMLLight", "SoVRMLLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLMaterial = {"_p_SoVRMLMaterial", "SoVRMLMaterial *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLMovieTexture = {"_p_SoVRMLMovieTexture", "SoVRMLMovieTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNavigationInfo = {"_p_SoVRMLNavigationInfo", "SoVRMLNavigationInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNormal = {"_p_SoVRMLNormal", "SoVRMLNormal *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLNormalInterpolator = {"_p_SoVRMLNormalInterpolator", "SoVRMLNormalInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLOrientationInterpolator = {"_p_SoVRMLOrientationInterpolator", "SoVRMLOrientationInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLParent = {"_p_SoVRMLParent", "SoVRMLParent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPixelTexture = {"_p_SoVRMLPixelTexture", "SoVRMLPixelTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPlaneSensor = {"_p_SoVRMLPlaneSensor", "SoVRMLPlaneSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPointLight = {"_p_SoVRMLPointLight", "SoVRMLPointLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPointSet = {"_p_SoVRMLPointSet", "SoVRMLPointSet *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLPositionInterpolator = {"_p_SoVRMLPositionInterpolator", "SoVRMLPositionInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLProximitySensor = {"_p_SoVRMLProximitySensor", "SoVRMLProximitySensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLScalarInterpolator = {"_p_SoVRMLScalarInterpolator", "SoVRMLScalarInterpolator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLScript = {"_p_SoVRMLScript", "SoVRMLScript *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSensor = {"_p_SoVRMLSensor", "SoVRMLSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLShape = {"_p_SoVRMLShape", "SoVRMLShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSound = {"_p_SoVRMLSound", "SoVRMLSound *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSphere = {"_p_SoVRMLSphere", "SoVRMLSphere *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSphereSensor = {"_p_SoVRMLSphereSensor", "SoVRMLSphereSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSpotLight = {"_p_SoVRMLSpotLight", "SoVRMLSpotLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLSwitch = {"_p_SoVRMLSwitch", "SoVRMLSwitch *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLText = {"_p_SoVRMLText", "SoVRMLText *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTexture = {"_p_SoVRMLTexture", "SoVRMLTexture *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureCoordinate = {"_p_SoVRMLTextureCoordinate", "SoVRMLTextureCoordinate *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureTransform = {"_p_SoVRMLTextureTransform", "SoVRMLTextureTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTimeSensor = {"_p_SoVRMLTimeSensor", "SoVRMLTimeSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTouchSensor = {"_p_SoVRMLTouchSensor", "SoVRMLTouchSensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLTransform = {"_p_SoVRMLTransform", "SoVRMLTransform *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexLine = {"_p_SoVRMLVertexLine", "SoVRMLVertexLine *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexPoint = {"_p_SoVRMLVertexPoint", "SoVRMLVertexPoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexShape = {"_p_SoVRMLVertexShape", "SoVRMLVertexShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLViewpoint = {"_p_SoVRMLViewpoint", "SoVRMLViewpoint *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLVisibilitySensor = {"_p_SoVRMLVisibilitySensor", "SoVRMLVisibilitySensor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVRMLWorldInfo = {"_p_SoVRMLWorldInfo", "SoVRMLWorldInfo *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorOutput = {"_p_SoVectorOutput", "SoVectorOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorizeAction = {"_p_SoVectorizeAction", "SoVectorizeAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVectorizePSAction = {"_p_SoVectorizePSAction", "SoVectorizePSAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexProperty = {"_p_SoVertexProperty", "SoVertexProperty *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoVertexShape = {"_p_SoVertexShape", "SoVertexShape *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewVolumeElement = {"_p_SoViewVolumeElement", "SoViewVolumeElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewingMatrixElement = {"_p_SoViewingMatrixElement", "SoViewingMatrixElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoViewportRegionElement = {"_p_SoViewportRegionElement", "SoViewportRegionElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWWWAnchor = {"_p_SoWWWAnchor", "SoWWWAnchor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWWWInline = {"_p_SoWWWInline", "SoWWWInline *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWindowElement = {"_p_SoWindowElement", "SoWindowElement *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWrapperKit = {"_p_SoWrapperKit", "SoWrapperKit *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoWriteAction = {"_p_SoWriteAction", "SoWriteAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p___int64 = {"_p___int64", "__int64 *|int64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__double = {"_p_a_4__a_4__double", "double (*)[4][4]|SbDPMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__doublep = {"_p_a_4__a_4__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "float (*)[4][4]|SbMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__floatp = {"_p_a_4__a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__float = {"_p_a_4__float", "float (*)[4]", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__floatp = {"_p_a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_cc_glglue = {"_p_cc_glglue", "cc_glue *|cc_glglue *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_char = {"_p_char", "char *|int8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_charp = {"_p_charp", "charp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_close_func = {"_p_close_func", "close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_doublep = {"_p_doublep", "doublep *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__char = {"_p_f_char__char", "char (*)(char)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__charp = {"_p_f_char__charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_float_p_void__int = {"_p_f_float_p_void__int", "int (*)(float,void *)|SbBool (*)(float,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_float_p_void__intp = {"_p_f_float_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_SoAction_p_SoNode__void = {"_p_f_p_SoAction_p_SoNode__void", "void (*)(SoAction *,SoNode *)|SoActionMethod", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto = {"_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto", "SoProto *(*)(SoInput *,SbString const *,int const,void *)|SoFetchExternProtoCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_q_const__SoError_p_void__void = {"_p_f_p_q_const__SoError_p_void__void", "SoErrorCB *|void (*)(SoError const *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__SoGLRenderAction__AbortCode = {"_p_f_p_void__SoGLRenderAction__AbortCode", "SoGLRenderAction::SoGLRenderAbortCB *|enum SoGLRenderAction::AbortCode (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__float = {"_p_f_p_void__float", "float (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__floatp = {"_p_f_p_void__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void__int = {"_p_f_p_void__int", "int (*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__intp = {"_p_f_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void__p_void = {"_p_f_p_void__p_void", "void *(*)(void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "SoTexCoordTexgenCB *|void (*)(void *)|SoGLRenderPassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_int__void = {"_p_f_p_void_int__void", "void (*)(void *,int)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int = {"_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int", "int (*)(void *,long,int,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp = {"_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoAction__void = {"_p_f_p_void_p_SoAction__void", "SoCallbackCB *|void (*)(void *,SoAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response", "enum SoCallbackAction::Response (*)(void *,SoCallbackAction *,SoNode const *)|SoCallbackAction::SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionPointCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void", "SoPointCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionLineSegmentCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "SoLineSegmentCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoExtSelectionTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoDragger__void = {"_p_f_p_void_p_SoDragger__void", "void (*)(void *,SoDragger *)|SoDraggerCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoEventCallback__void = {"_p_f_p_void_p_SoEventCallback__void", "void (*)(void *,SoEventCallback *)|SoEventCallbackCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__void = {"_p_f_p_void_p_SoGLRenderAction__void", "SoGLPreRenderCB *|void (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoInput__void = {"_p_f_p_void_p_SoInput__void", "void (*)(void *,SoInput *)|SoDBHeaderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoPath__void = {"_p_f_p_void_p_SoPath__void", "void (*)(void *,SoPath *)|SoSelectionPathCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSceneManager__void = {"_p_f_p_void_p_SoSceneManager__void", "void (*)(void *,SoSceneManager *)|SoSceneManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSelection__void = {"_p_f_p_void_p_SoSelection__void", "void (*)(void *,SoSelection *)|SoSelectionClassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSensor__void = {"_p_f_p_void_p_SoSensor__void", "SoSensorCB *|void (*)(void *,SoSensor *)|SoSensorCBPtr", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__int", "int (*)(void *,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__long", "long (*)(void *,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp = {"_p_f_p_void_p_SoVRMLAudioClip_p_void__longp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLScript__void = {"_p_f_p_void_p_SoVRMLScript__void", "SoVRMLScriptEvaluateCB *|void (*)(void *,SoVRMLScript *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp = {"_p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp", "enum SoIntersectionDetectionAction::Resp (*)(void *,SoIntersectingPrimitive const *,SoIntersectingPrimitive const *)|SoIntersectionDetectionAction::SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response = {"_p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response", "enum SoCallbackAction::Response (*)(void *,SoPath const *)|SoIntersectionDetectionAction::SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoPath = {"_p_f_p_void_p_q_const__SoPath__p_SoPath", "SoPath *(*)(void *,SoPath const *)|SoLassoSelectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPath__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPath__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int = {"_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int", "int (*)(void *,SoPath const *,SoPath const *)|SoIntersectionDetectionAction::SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp = {"_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath", "SoPath *(*)(void *,SoPickedPoint const *)|SoSelectionPickCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__int = {"_p_f_p_void_p_void__int", "int (*)(void *,void *)|SbBool (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__intp = {"_p_f_p_void_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "SbStorageApplyFunc *|SoCallbackListCB *|void (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t = {"_p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t", "size_t (*)(void *,void *,int,int &,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void_p_void_p_void__void = {"_p_f_p_void_p_void_p_void_p_void__void", "void (*)(void *,void *,void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f", "SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)|SoTextureCoordinateFunctionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_size_t__p_void = {"_p_f_p_void_size_t__p_void", "void *(*)(void *,size_t)|SoOutputReallocCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_unsigned_int__void = {"_p_f_p_void_unsigned_int__void", "void (*)(void *,unsigned int)|SoScheduleDeleteCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int = {"_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int", "int (*)(void *const,SbPlane const *const,int const)|SbBool (*)(void *const,SbPlane const *const,int const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp = {"_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_SbBox3f__void = {"_p_f_q_const__p_void_r_SbBox3f__void", "void (*)(void *const,SbBox3f &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int = {"_p_f_q_const__p_void_r_q_const__SbBox3f__int", "int (*)(void *const,SbBox3f const &)|SbBool (*)(void *const,SbBox3f const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp = {"_p_f_q_const__p_void_r_q_const__SbBox3f__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbSphere__int = {"_p_f_q_const__p_void_r_q_const__SbSphere__int", "int (*)(void *const,SbSphere const &)|SbBool (*)(void *const,SbSphere const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp = {"_p_f_q_const__p_void_r_q_const__SbSphere__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int = {"_p_f_q_const__p_void_r_q_const__SbVec3f__int", "int (*)(void *const,SbVec3f const &)|SbBool (*)(void *const,SbVec3f const &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp = {"_p_f_q_const__p_void_r_q_const__SbVec3f__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_q_const__unsigned_long__unsigned_long = {"_p_f_q_const__unsigned_long__unsigned_long", "unsigned long (*)(unsigned long const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbName_float_int_p_void__int = {"_p_f_r_q_const__SbName_float_int_p_void__int", "SoDB::ProgressCallbackType *|int (*)(SbName const &,float,int,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbName_float_int_p_void__intp = {"_p_f_r_q_const__SbName_float_int_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void = {"_p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void", "void *(*)(SbStringList const &,SoVRMLAudioClip *,void *)|SoVRMLAudioClip::open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int = {"_p_f_r_q_const__SbString_p_SbImage_p_void__int", "SbImageScheduleReadCB *|int (*)(SbString const &,SbImage *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp = {"_p_f_r_q_const__SbString_p_SbImage_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void", "void (*)(SbString const &,void *,SoVRMLAnchor *)|SoVRMLAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int", "VRMLPrequalifyFileCallback *|int (*)(SbString const &,void *,SoVRMLImageTexture *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void", "void (*)(SbString const &,void *,SoVRMLInline *)|SoVRMLInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void", "void (*)(SbString const &,void *,SoWWWAnchor *)|SoWWWAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void", "void (*)(SbString const &,void *,SoWWWInline *)|SoWWWInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void = {"_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void", "SbClipCallback *|void *(*)(SbVec3f const &,void *,SbVec3f const &,void *,SbVec3f const &,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_unsigned_int_p_void__void = {"_p_f_unsigned_int_p_void__void", "void (*)(unsigned int,void *)|SoContextHandler::ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_unsigned_long_p_void__void = {"_p_f_unsigned_long_p_void__void", "void (*)(unsigned long,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_unsigned_long_p_void_p_void__void = {"_p_f_unsigned_long_p_void_p_void__void", "void (*)(unsigned long,void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_void__p_void = {"_p_f_void__p_void", "SoType::instantiationMethod|void *(*)(void)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_floatp = {"_p_floatp", "floatp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "SbBool *|intptr_t *|int *|int32_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_intp = {"_p_intp", "intp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_longp = {"_p_longp", "longp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_open_func = {"_p_open_func", "open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbName = {"_p_p_SbName", "SbName **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbString = {"_p_p_SbString", "SbString **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SbVec2f = {"_p_p_SbVec2f", "SbVec2f **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoBase = {"_p_p_SoBase", "SoBase **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoClipPlane = {"_p_p_SoClipPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMapCoordinate = {"_p_p_SoBumpMapCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCoordinate = {"_p_p_SoVRMLCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTextureCoordinate = {"_p_p_SoVRMLTextureCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCombine = {"_p_p_SoTextureCombine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLightKit = {"_p_p_SoLightKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedTriangleStripSet = {"_p_p_SoIndexedTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTriangleStripSet = {"_p_p_SoTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLExtrusion = {"_p_p_SoVRMLExtrusion", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOnOff = {"_p_p_SoOnOff", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBaseKit = {"_p_p_SoBaseKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSelection = {"_p_p_SoSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoExtSelection = {"_p_p_SoExtSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexProperty = {"_p_p_SoVertexProperty", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotationXYZ = {"_p_p_SoRotationXYZ", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComplexity = {"_p_p_SoComplexity", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBillboard = {"_p_p_SoVRMLBillboard", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLightModel = {"_p_p_SoLightModel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoUnits = {"_p_p_SoUnits", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShapeKit = {"_p_p_SoShapeKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAnnotation = {"_p_p_SoAnnotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeRotation = {"_p_p_SoComposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeRotation = {"_p_p_SoDecomposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateRotation = {"_p_p_SoInterpolateRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotation = {"_p_p_SoRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedNurbsSurface = {"_p_p_SoIndexedNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsSurface = {"_p_p_SoNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLinearProfile = {"_p_p_SoLinearProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfile = {"_p_p_SoProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsProfile = {"_p_p_SoNurbsProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFieldConverter = {"_p_p_SoFieldConverter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLParent = {"_p_p_SoVRMLParent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec2f = {"_p_p_SoInterpolateVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLLight = {"_p_p_SoVRMLLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoClipPlaneManip = {"_p_p_SoClipPlaneManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAsciiText = {"_p_p_SoAsciiText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLGeometry = {"_p_p_SoVRMLGeometry", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCylinder = {"_p_p_SoCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateCylinder = {"_p_p_SoTextureCoordinateCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCylinder = {"_p_p_SoVRMLCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNavigationInfo = {"_p_p_SoVRMLNavigationInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComputeBoundingBox = {"_p_p_SoComputeBoundingBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMatrixTransform = {"_p_p_SoMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMapTransform = {"_p_p_SoBumpMapTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransform = {"_p_p_SoTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoResetTransform = {"_p_p_SoResetTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture2Transform = {"_p_p_SoTexture2Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture3Transform = {"_p_p_SoTexture3Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTextureTransform = {"_p_p_SoVRMLTextureTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTransform = {"_p_p_SoVRMLTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec3f = {"_p_p_SoComposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec3f = {"_p_p_SoDecomposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSeparatorKit = {"_p_p_SoSeparatorKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexLine = {"_p_p_SoVRMLVertexLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFullPath = {"_p_p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLight = {"_p_p_SoLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSound = {"_p_p_SoVRMLSound", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeEngine = {"_p_p_SoNodeEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPointSet = {"_p_p_SoVRMLPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointSet = {"_p_p_SoPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLMaterial = {"_p_p_SoVRMLMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMaterial = {"_p_p_SoMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBaseColor = {"_p_p_SoBaseColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTriggerAny = {"_p_p_SoTriggerAny", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoColorIndex = {"_p_p_SoColorIndex", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLColor = {"_p_p_SoVRMLColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLWorldInfo = {"_p_p_SoVRMLWorldInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSpotLight = {"_p_p_SoVRMLSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLight = {"_p_p_SoSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateDefault = {"_p_p_SoTextureCoordinateDefault", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBlinker = {"_p_p_SoBlinker", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShuttle = {"_p_p_SoShuttle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLGroup = {"_p_p_SoVRMLGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAnchor = {"_p_p_SoVRMLAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSensor = {"_p_p_SoVRMLSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCylinderSensor = {"_p_p_SoVRMLCylinderSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTouchSensor = {"_p_p_SoVRMLTouchSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBoolOperation = {"_p_p_SoBoolOperation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMarkerSet = {"_p_p_SoMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLightManip = {"_p_p_SoSpotLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLightManip = {"_p_p_SoPointLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLightManip = {"_p_p_SoDirectionalLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedNurbsCurve = {"_p_p_SoIndexedNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNurbsCurve = {"_p_p_SoNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedShape = {"_p_p_SoIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNonIndexedShape = {"_p_p_SoNonIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedShape = {"_p_p_SoVRMLIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotor = {"_p_p_SoRotor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateCube = {"_p_p_SoTextureCoordinateCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLText = {"_p_p_SoVRMLText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOneShot = {"_p_p_SoOneShot", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformerManip = {"_p_p_SoTransformerManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec3f = {"_p_p_SoInterpolateVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateFloat = {"_p_p_SoInterpolateFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAntiSquish = {"_p_p_SoAntiSquish", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGroup = {"_p_p_SoGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMultipleCopy = {"_p_p_SoMultipleCopy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoListener = {"_p_p_SoListener", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec4f = {"_p_p_SoComposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec4f = {"_p_p_SoDecomposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformation = {"_p_p_SoTransformation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFontStyle = {"_p_p_SoFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLFontStyle = {"_p_p_SoVRMLFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoImage = {"_p_p_SoImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFieldContainer = {"_p_p_SoFieldContainer", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAppearance = {"_p_p_SoVRMLAppearance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLight = {"_p_p_SoPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPointLight = {"_p_p_SoVRMLPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformManip = {"_p_p_SoTransformManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPolygonOffset = {"_p_p_SoPolygonOffset", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBackground = {"_p_p_SoVRMLBackground", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWWWAnchor = {"_p_p_SoWWWAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEventCallback = {"_p_p_SoEventCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCallback = {"_p_p_SoCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLDragSensor = {"_p_p_SoVRMLDragSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPlaneSensor = {"_p_p_SoVRMLPlaneSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLProximitySensor = {"_p_p_SoVRMLProximitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSphereSensor = {"_p_p_SoVRMLSphereSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTimeSensor = {"_p_p_SoVRMLTimeSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVisibilitySensor = {"_p_p_SoVRMLVisibilitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoJackManip = {"_p_p_SoJackManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoOrthographicCamera = {"_p_p_SoOrthographicCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPerspectiveCamera = {"_p_p_SoPerspectiveCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCamera = {"_p_p_SoCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCameraKit = {"_p_p_SoCameraKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoArray = {"_p_p_SoArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoElapsedTime = {"_p_p_SoElapsedTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSphere = {"_p_p_SoVRMLSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEnvironment = {"_p_p_SoEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateEnvironment = {"_p_p_SoTextureCoordinateEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDrawStyle = {"_p_p_SoDrawStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSelectOne = {"_p_p_SoSelectOne", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLBox = {"_p_p_SoVRMLBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLFog = {"_p_p_SoVRMLFog", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransparencyType = {"_p_p_SoTransparencyType", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolateVec4f = {"_p_p_SoInterpolateVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSurroundScale = {"_p_p_SoSurroundScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoConcatenate = {"_p_p_SoConcatenate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVertexShape = {"_p_p_SoVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexShape = {"_p_p_SoVRMLVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCone = {"_p_p_SoCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureUnit = {"_p_p_SoTextureUnit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTempPath = {"_p_p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoAppearanceKit = {"_p_p_SoAppearanceKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCenterballDragger = {"_p_p_SoCenterballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLightDragger = {"_p_p_SoDirectionalLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDragPointDragger = {"_p_p_SoDragPointDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoHandleBoxDragger = {"_p_p_SoHandleBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoJackDragger = {"_p_p_SoJackDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPointLightDragger = {"_p_p_SoPointLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateCylindricalDragger = {"_p_p_SoRotateCylindricalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateDiscDragger = {"_p_p_SoRotateDiscDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoRotateSphericalDragger = {"_p_p_SoRotateSphericalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale1Dragger = {"_p_p_SoScale1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFile = {"_p_p_SoFile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDragger = {"_p_p_SoDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale2Dragger = {"_p_p_SoScale2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale2UniformDragger = {"_p_p_SoScale2UniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScaleUniformDragger = {"_p_p_SoScaleUniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSpotLightDragger = {"_p_p_SoSpotLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabBoxDragger = {"_p_p_SoTabBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabPlaneDragger = {"_p_p_SoTabPlaneDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTrackballDragger = {"_p_p_SoTrackballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformBoxDragger = {"_p_p_SoTransformBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformerDragger = {"_p_p_SoTransformerDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslate1Dragger = {"_p_p_SoTranslate1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslate2Dragger = {"_p_p_SoTranslate2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPickStyle = {"_p_p_SoPickStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLInterpolator = {"_p_p_SoVRMLInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLColorInterpolator = {"_p_p_SoVRMLColorInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCoordinateInterpolator = {"_p_p_SoVRMLCoordinateInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNormalInterpolator = {"_p_p_SoVRMLNormalInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLOrientationInterpolator = {"_p_p_SoVRMLOrientationInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPositionInterpolator = {"_p_p_SoVRMLPositionInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLScalarInterpolator = {"_p_p_SoVRMLScalarInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCone = {"_p_p_SoVRMLCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedLine = {"_p_p_SoVRMLIndexedLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLTexture = {"_p_p_SoVRMLTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLImageTexture = {"_p_p_SoVRMLImageTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLMovieTexture = {"_p_p_SoVRMLMovieTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLPixelTexture = {"_p_p_SoVRMLPixelTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformVec3f = {"_p_p_SoTransformVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateFunction = {"_p_p_SoTextureCoordinateFunction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeKitListPart = {"_p_p_SoNodeKitListPart", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSphere = {"_p_p_SoSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateSphere = {"_p_p_SoTextureCoordinateSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSceneKit = {"_p_p_SoSceneKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPendulum = {"_p_p_SoPendulum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShapeHints = {"_p_p_SoShapeHints", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture2 = {"_p_p_SoTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSceneTexture2 = {"_p_p_SoSceneTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTexture3 = {"_p_p_SoTexture3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinatePlane = {"_p_p_SoTextureCoordinatePlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLAudioClip = {"_p_p_SoVRMLAudioClip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTimeCounter = {"_p_p_SoTimeCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCounter = {"_p_p_SoCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoQuadMesh = {"_p_p_SoQuadMesh", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPathSwitch = {"_p_p_SoPathSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLSwitch = {"_p_p_SoVRMLSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoText2 = {"_p_p_SoText2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSeparator = {"_p_p_SoSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoText3 = {"_p_p_SoText3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformSeparator = {"_p_p_SoTransformSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInteractionKit = {"_p_p_SoInteractionKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoBumpMap = {"_p_p_SoBumpMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfileCoordinate2 = {"_p_p_SoProfileCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinate2 = {"_p_p_SoTextureCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLNormal = {"_p_p_SoVRMLNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCoordinate3 = {"_p_p_SoCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProfileCoordinate3 = {"_p_p_SoProfileCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinate3 = {"_p_p_SoTextureCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCoordinate4 = {"_p_p_SoCoordinate4", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLLOD = {"_p_p_SoVRMLLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFont = {"_p_p_SoFont", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeRotationFromTo = {"_p_p_SoComposeRotationFromTo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLocateHighlight = {"_p_p_SoLocateHighlight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLElevationGrid = {"_p_p_SoVRMLElevationGrid", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLShape = {"_p_p_SoVRMLShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLVertexPoint = {"_p_p_SoVRMLVertexPoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLViewpoint = {"_p_p_SoVRMLViewpoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMaterialBinding = {"_p_p_SoMaterialBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNormalBinding = {"_p_p_SoNormalBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureCoordinateBinding = {"_p_p_SoTextureCoordinateBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInterpolate = {"_p_p_SoInterpolate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTransformBoxManip = {"_p_p_SoTransformBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTabBoxManip = {"_p_p_SoTabBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoHandleBoxManip = {"_p_p_SoHandleBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLCollision = {"_p_p_SoVRMLCollision", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoPackedColor = {"_p_p_SoPackedColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeMatrix = {"_p_p_SoComposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeMatrix = {"_p_p_SoDecomposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNodeKitPath = {"_p_p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSwitch = {"_p_p_SoSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedFaceSet = {"_p_p_SoIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoFaceSet = {"_p_p_SoFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTranslation = {"_p_p_SoTranslation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedFaceSet = {"_p_p_SoVRMLIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoShape = {"_p_p_SoShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTextureScalePolicy = {"_p_p_SoTextureScalePolicy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLScript = {"_p_p_SoVRMLScript", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoNormal = {"_p_p_SoNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLInline = {"_p_p_SoVRMLInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCalculator = {"_p_p_SoCalculator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCube = {"_p_p_SoCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWrapperKit = {"_p_p_SoWrapperKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGate = {"_p_p_SoGate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoScale = {"_p_p_SoScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLineSet = {"_p_p_SoLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoIndexedLineSet = {"_p_p_SoIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLabel = {"_p_p_SoLabel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLIndexedLineSet = {"_p_p_SoVRMLIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProtoInstance = {"_p_p_SoProtoInstance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoInfo = {"_p_p_SoInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDecomposeVec2f = {"_p_p_SoDecomposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoComposeVec2f = {"_p_p_SoComposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoDirectionalLight = {"_p_p_SoDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoVRMLDirectionalLight = {"_p_p_SoVRMLDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoProto = {"_p_p_SoProto", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoWWWInline = {"_p_p_SoWWWInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoCenterballManip = {"_p_p_SoCenterballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoTrackballManip = {"_p_p_SoTrackballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLOD = {"_p_p_SoLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLevelOfDetail = {"_p_p_SoLevelOfDetail", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoEngine = {"_p_p_SoEngine", "SoEngine **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoEngineOutput = {"_p_p_SoEngineOutput", "SoEngineOutput **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoField = {"_p_p_SoField", "SoField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoSFName = {"_p_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEnum = {"_p_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3s = {"_p_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFFloat = {"_p_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFFloat = {"_p_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPath = {"_p_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTime = {"_p_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2s = {"_p_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEnum = {"_p_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColor = {"_p_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColor = {"_p_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFRotation = {"_p_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFRotation = {"_p_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBitMask = {"_p_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBitMask = {"_p_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPath = {"_p_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPlane = {"_p_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPlane = {"_p_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFNode = {"_p_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFString = {"_p_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFString = {"_p_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSField = {"_p_p_SoSField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEngine = {"_p_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4f = {"_p_p_SoMFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEngine = {"_p_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4f = {"_p_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUInt32 = {"_p_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUInt32 = {"_p_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBool = {"_p_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFNode = {"_p_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3s = {"_p_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage3 = {"_p_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFMatrix = {"_p_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3d = {"_p_p_SoMFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFMatrix = {"_p_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTrigger = {"_p_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3d = {"_p_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUShort = {"_p_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage = {"_p_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUShort = {"_p_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFName = {"_p_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3f = {"_p_p_SoMFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3f = {"_p_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFInt32 = {"_p_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFInt32 = {"_p_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFTime = {"_p_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2f = {"_p_p_SoMFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2f = {"_p_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFShort = {"_p_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBool = {"_p_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFShort = {"_p_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoGLRenderAction = {"_p_p_SoGLRenderAction", "SoGLRenderAction **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoBoxHighlightRenderAction = {"_p_p_SoBoxHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoLineHighlightRenderAction = {"_p_p_SoLineHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMField = {"_p_p_SoMField", "SoMField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoNode = {"_p_p_SoNode", "SoNode **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoPath = {"_p_p_SoPath", "SoPath **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_charp = {"_p_p_charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_f_p_SoAction_p_SoNode__void = {"_p_p_f_p_SoAction_p_SoNode__void", "void (**)(SoAction *,SoNode *)|SoActionMethod *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_f_p_void_p_SoInput__void = {"_p_p_f_p_void_p_SoInput__void", "SoDBHeaderCB **|void (**)(void *,SoInput *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_float = {"_p_p_float", "float **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_floatp = {"_p_p_floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_int = {"_p_p_int", "int **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_intp = {"_p_p_intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_unsigned_char = {"_p_p_unsigned_char", "unsigned char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_read_func = {"_p_read_func", "read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_seek_func = {"_p_seek_func", "seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *|int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_tell_func = {"_p_tell_func", "tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_timeval = {"_p_timeval", "timeval *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned___int64 = {"_p_unsigned___int64", "unsigned __int64 *|uint64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint32_t *|unsigned int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; - -static swig_type_info *swig_type_initial[] = { - &_swigt__p_ContextDestructionCB, - &_swigt__p_FILE, - &_swigt__p_GLState, - &_swigt__p_ProgressCallbackType, - &_swigt__p_SbBSPTree, - &_swigt__p_SbBarrier, - &_swigt__p_SbBox2d, - &_swigt__p_SbBox2f, - &_swigt__p_SbBox2s, - &_swigt__p_SbBox3f, - &_swigt__p_SbBox3s, - &_swigt__p_SbClip, - &_swigt__p_SbColor, - &_swigt__p_SbColor4f, - &_swigt__p_SbCondVar, - &_swigt__p_SbCylinder, - &_swigt__p_SbCylinderPlaneProjector, - &_swigt__p_SbCylinderProjector, - &_swigt__p_SbCylinderSectionProjector, - &_swigt__p_SbCylinderSheetProjector, - &_swigt__p_SbDPLine, - &_swigt__p_SbDPMatrix, - &_swigt__p_SbDPPlane, - &_swigt__p_SbDPRotation, - &_swigt__p_SbDPViewVolume, - &_swigt__p_SbDict, - &_swigt__p_SbFifo, - &_swigt__p_SbHeap, - &_swigt__p_SbHeapFuncs, - &_swigt__p_SbImage, - &_swigt__p_SbIntList, - &_swigt__p_SbLine, - &_swigt__p_SbLineProjector, - &_swigt__p_SbListTSbName_t, - &_swigt__p_SbListTSbString_t, - &_swigt__p_SbListTint_t, - &_swigt__p_SbListTvoid_p_t, - &_swigt__p_SbMatrix, - &_swigt__p_SbMutex, - &_swigt__p_SbName, - &_swigt__p_SbOctTree, - &_swigt__p_SbOctTreeFuncs, - &_swigt__p_SbPList, - &_swigt__p_SbPlane, - &_swigt__p_SbPlaneProjector, - &_swigt__p_SbProjector, - &_swigt__p_SbRWMutex, - &_swigt__p_SbRotation, - &_swigt__p_SbSphere, - &_swigt__p_SbSpherePlaneProjector, - &_swigt__p_SbSphereProjector, - &_swigt__p_SbSphereSectionProjector, - &_swigt__p_SbSphereSheetProjector, - &_swigt__p_SbStorage, - &_swigt__p_SbString, - &_swigt__p_SbStringList, - &_swigt__p_SbTesselator, - &_swigt__p_SbThread, - &_swigt__p_SbThreadAutoLock, - &_swigt__p_SbTime, - &_swigt__p_SbVec2d, - &_swigt__p_SbVec2f, - &_swigt__p_SbVec2s, - &_swigt__p_SbVec3d, - &_swigt__p_SbVec3f, - &_swigt__p_SbVec3fList, - &_swigt__p_SbVec3s, - &_swigt__p_SbVec4d, - &_swigt__p_SbVec4f, - &_swigt__p_SbViewVolume, - &_swigt__p_SbViewportRegion, - &_swigt__p_SbXfBox3f, - &_swigt__p_SoAccumulatedElement, - &_swigt__p_SoAction, - &_swigt__p_SoActionMethodList, - &_swigt__p_SoAlarmSensor, - &_swigt__p_SoAmbientColorElement, - &_swigt__p_SoAnnoText3CharOrientElement, - &_swigt__p_SoAnnoText3FontSizeHintElement, - &_swigt__p_SoAnnoText3RenderPrintElement, - &_swigt__p_SoAnnotation, - &_swigt__p_SoAntiSquish, - &_swigt__p_SoAppearanceKit, - &_swigt__p_SoArray, - &_swigt__p_SoAsciiText, - &_swigt__p_SoAudioDevice, - &_swigt__p_SoAudioRenderAction, - &_swigt__p_SoAuditorList, - &_swigt__p_SoBBoxModelMatrixElement, - &_swigt__p_SoBase, - &_swigt__p_SoBaseColor, - &_swigt__p_SoBaseKit, - &_swigt__p_SoBaseList, - &_swigt__p_SoBlinker, - &_swigt__p_SoBoolOperation, - &_swigt__p_SoBoundingBoxCache, - &_swigt__p_SoBoxHighlightRenderAction, - &_swigt__p_SoBumpMap, - &_swigt__p_SoBumpMapCoordinate, - &_swigt__p_SoBumpMapCoordinateElement, - &_swigt__p_SoBumpMapElement, - &_swigt__p_SoBumpMapMatrixElement, - &_swigt__p_SoBumpMapTransform, - &_swigt__p_SoBundle, - &_swigt__p_SoButtonEvent, - &_swigt__p_SoByteStream, - &_swigt__p_SoCache, - &_swigt__p_SoCacheElement, - &_swigt__p_SoCalculator, - &_swigt__p_SoCallback, - &_swigt__p_SoCallbackAction, - &_swigt__p_SoCallbackActionCB, - &_swigt__p_SoCallbackList, - &_swigt__p_SoCamera, - &_swigt__p_SoCameraKit, - &_swigt__p_SoCenterballDragger, - &_swigt__p_SoCenterballManip, - &_swigt__p_SoChildList, - &_swigt__p_SoClipPlane, - &_swigt__p_SoClipPlaneElement, - &_swigt__p_SoClipPlaneManip, - &_swigt__p_SoColorIndex, - &_swigt__p_SoColorPacker, - &_swigt__p_SoComplexity, - &_swigt__p_SoComplexityElement, - &_swigt__p_SoComplexityTypeElement, - &_swigt__p_SoComposeMatrix, - &_swigt__p_SoComposeRotation, - &_swigt__p_SoComposeRotationFromTo, - &_swigt__p_SoComposeVec2f, - &_swigt__p_SoComposeVec3f, - &_swigt__p_SoComposeVec4f, - &_swigt__p_SoComputeBoundingBox, - &_swigt__p_SoConcatenate, - &_swigt__p_SoCone, - &_swigt__p_SoConeDetail, - &_swigt__p_SoContextHandler, - &_swigt__p_SoConvexDataCache, - &_swigt__p_SoCoordinate3, - &_swigt__p_SoCoordinate4, - &_swigt__p_SoCoordinateElement, - &_swigt__p_SoCounter, - &_swigt__p_SoCreaseAngleElement, - &_swigt__p_SoCube, - &_swigt__p_SoCubeDetail, - &_swigt__p_SoCullElement, - &_swigt__p_SoCylinder, - &_swigt__p_SoCylinderDetail, - &_swigt__p_SoDB, - &_swigt__p_SoDataSensor, - &_swigt__p_SoDebugError, - &_swigt__p_SoDecimationPercentageElement, - &_swigt__p_SoDecimationTypeElement, - &_swigt__p_SoDecomposeMatrix, - &_swigt__p_SoDecomposeRotation, - &_swigt__p_SoDecomposeVec2f, - &_swigt__p_SoDecomposeVec3f, - &_swigt__p_SoDecomposeVec4f, - &_swigt__p_SoDelayQueueSensor, - &_swigt__p_SoDetail, - &_swigt__p_SoDetailList, - &_swigt__p_SoDiffuseColorElement, - &_swigt__p_SoDirectionalLight, - &_swigt__p_SoDirectionalLightDragger, - &_swigt__p_SoDirectionalLightManip, - &_swigt__p_SoDragPointDragger, - &_swigt__p_SoDragger, - &_swigt__p_SoDrawStyle, - &_swigt__p_SoDrawStyleElement, - &_swigt__p_SoElapsedTime, - &_swigt__p_SoElement, - &_swigt__p_SoEmissiveColorElement, - &_swigt__p_SoEnabledElementsList, - &_swigt__p_SoEngine, - &_swigt__p_SoEngineList, - &_swigt__p_SoEngineOutput, - &_swigt__p_SoEngineOutputData, - &_swigt__p_SoEngineOutputList, - &_swigt__p_SoEnvironment, - &_swigt__p_SoEnvironmentElement, - &_swigt__p_SoError, - &_swigt__p_SoEvent, - &_swigt__p_SoEventCallback, - &_swigt__p_SoExtSelection, - &_swigt__p_SoFaceDetail, - &_swigt__p_SoFaceSet, - &_swigt__p_SoField, - &_swigt__p_SoFieldContainer, - &_swigt__p_SoFieldConverter, - &_swigt__p_SoFieldData, - &_swigt__p_SoFieldList, - &_swigt__p_SoFieldSensor, - &_swigt__p_SoFile, - &_swigt__p_SoFloatElement, - &_swigt__p_SoFocalDistanceElement, - &_swigt__p_SoFont, - &_swigt__p_SoFontNameElement, - &_swigt__p_SoFontSizeElement, - &_swigt__p_SoFontStyle, - &_swigt__p_SoFullPath, - &_swigt__p_SoGLBigImage, - &_swigt__p_SoGLCacheContextElement, - &_swigt__p_SoGLCacheList, - &_swigt__p_SoGLClipPlaneElement, - &_swigt__p_SoGLColorIndexElement, - &_swigt__p_SoGLCoordinateElement, - &_swigt__p_SoGLDisplayList, - &_swigt__p_SoGLDrawStyleElement, - &_swigt__p_SoGLEnvironmentElement, - &_swigt__p_SoGLImage, - &_swigt__p_SoGLLazyElement, - &_swigt__p_SoGLLazyElement_GLState, - &_swigt__p_SoGLLazyElement__GLState, - &_swigt__p_SoGLLightIdElement, - &_swigt__p_SoGLLinePatternElement, - &_swigt__p_SoGLLineWidthElement, - &_swigt__p_SoGLModelMatrixElement, - &_swigt__p_SoGLMultiTextureCoordinateElement, - &_swigt__p_SoGLMultiTextureEnabledElement, - &_swigt__p_SoGLMultiTextureImageElement, - &_swigt__p_SoGLMultiTextureMatrixElement, - &_swigt__p_SoGLNormalElement, - &_swigt__p_SoGLPointSizeElement, - &_swigt__p_SoGLPolygonOffsetElement, - &_swigt__p_SoGLProjectionMatrixElement, - &_swigt__p_SoGLRenderAbortCB, - &_swigt__p_SoGLRenderAction, - &_swigt__p_SoGLRenderCache, - &_swigt__p_SoGLRenderPassElement, - &_swigt__p_SoGLShapeHintsElement, - &_swigt__p_SoGLTexture3EnabledElement, - &_swigt__p_SoGLTextureCoordinateElement, - &_swigt__p_SoGLTextureEnabledElement, - &_swigt__p_SoGLTextureImageElement, - &_swigt__p_SoGLTextureMatrixElement, - &_swigt__p_SoGLUpdateAreaElement, - &_swigt__p_SoGLViewingMatrixElement, - &_swigt__p_SoGLViewportRegionElement, - &_swigt__p_SoGate, - &_swigt__p_SoGetBoundingBoxAction, - &_swigt__p_SoGetMatrixAction, - &_swigt__p_SoGetPrimitiveCountAction, - &_swigt__p_SoGlyph, - &_swigt__p_SoGroup, - &_swigt__p_SoHandleBoxDragger, - &_swigt__p_SoHandleBoxManip, - &_swigt__p_SoHandleEventAction, - &_swigt__p_SoHardCopy, - &_swigt__p_SoIdleSensor, - &_swigt__p_SoImage, - &_swigt__p_SoIndexedFaceSet, - &_swigt__p_SoIndexedLineSet, - &_swigt__p_SoIndexedNurbsCurve, - &_swigt__p_SoIndexedNurbsSurface, - &_swigt__p_SoIndexedShape, - &_swigt__p_SoIndexedTriangleStripSet, - &_swigt__p_SoInfo, - &_swigt__p_SoInput, - &_swigt__p_SoInt32Element, - &_swigt__p_SoInteraction, - &_swigt__p_SoInteractionKit, - &_swigt__p_SoInterpolate, - &_swigt__p_SoInterpolateFloat, - &_swigt__p_SoInterpolateRotation, - &_swigt__p_SoInterpolateVec2f, - &_swigt__p_SoInterpolateVec3f, - &_swigt__p_SoInterpolateVec4f, - &_swigt__p_SoIntersectingPrimitive, - &_swigt__p_SoIntersectionCB, - &_swigt__p_SoIntersectionDetectionAction, - &_swigt__p_SoIntersectionFilterCB, - &_swigt__p_SoIntersectionVisitationCB, - &_swigt__p_SoJackDragger, - &_swigt__p_SoJackManip, - &_swigt__p_SoKeyboardEvent, - &_swigt__p_SoLOD, - &_swigt__p_SoLabel, - &_swigt__p_SoLazyElement, - &_swigt__p_SoLevelOfDetail, - &_swigt__p_SoLight, - &_swigt__p_SoLightAttenuationElement, - &_swigt__p_SoLightElement, - &_swigt__p_SoLightKit, - &_swigt__p_SoLightModel, - &_swigt__p_SoLightModelElement, - &_swigt__p_SoLightPath, - &_swigt__p_SoLineDetail, - &_swigt__p_SoLineHighlightRenderAction, - &_swigt__p_SoLinePatternElement, - &_swigt__p_SoLineSet, - &_swigt__p_SoLineWidthElement, - &_swigt__p_SoLinearProfile, - &_swigt__p_SoListener, - &_swigt__p_SoListenerDopplerElement, - &_swigt__p_SoListenerGainElement, - &_swigt__p_SoListenerOrientationElement, - &_swigt__p_SoListenerPositionElement, - &_swigt__p_SoLocalBBoxMatrixElement, - &_swigt__p_SoLocateHighlight, - &_swigt__p_SoLocation2Event, - &_swigt__p_SoLockManager, - &_swigt__p_SoMFBitMask, - &_swigt__p_SoMFBool, - &_swigt__p_SoMFColor, - &_swigt__p_SoMFEngine, - &_swigt__p_SoMFEnum, - &_swigt__p_SoMFFloat, - &_swigt__p_SoMFInt32, - &_swigt__p_SoMFMatrix, - &_swigt__p_SoMFName, - &_swigt__p_SoMFNode, - &_swigt__p_SoMFPath, - &_swigt__p_SoMFPlane, - &_swigt__p_SoMFRotation, - &_swigt__p_SoMFShort, - &_swigt__p_SoMFString, - &_swigt__p_SoMFTime, - &_swigt__p_SoMFUInt32, - &_swigt__p_SoMFUShort, - &_swigt__p_SoMFVec2f, - &_swigt__p_SoMFVec3d, - &_swigt__p_SoMFVec3f, - &_swigt__p_SoMFVec4f, - &_swigt__p_SoMField, - &_swigt__p_SoMarkerSet, - &_swigt__p_SoMaterial, - &_swigt__p_SoMaterialBinding, - &_swigt__p_SoMaterialBindingElement, - &_swigt__p_SoMaterialBundle, - &_swigt__p_SoMatrixTransform, - &_swigt__p_SoMemoryError, - &_swigt__p_SoModelMatrixElement, - &_swigt__p_SoMotion3Event, - &_swigt__p_SoMouseButtonEvent, - &_swigt__p_SoMultiTextureCoordinateElement, - &_swigt__p_SoMultiTextureEnabledElement, - &_swigt__p_SoMultiTextureImageElement, - &_swigt__p_SoMultiTextureMatrixElement, - &_swigt__p_SoMultipleCopy, - &_swigt__p_SoNode, - &_swigt__p_SoNodeEngine, - &_swigt__p_SoNodeKit, - &_swigt__p_SoNodeKitDetail, - &_swigt__p_SoNodeKitListPart, - &_swigt__p_SoNodeKitPath, - &_swigt__p_SoNodeList, - &_swigt__p_SoNodeSensor, - &_swigt__p_SoNodekitCatalog, - &_swigt__p_SoNonIndexedShape, - &_swigt__p_SoNormal, - &_swigt__p_SoNormalBinding, - &_swigt__p_SoNormalBindingElement, - &_swigt__p_SoNormalBundle, - &_swigt__p_SoNormalCache, - &_swigt__p_SoNormalElement, - &_swigt__p_SoNormalGenerator, - &_swigt__p_SoNotList, - &_swigt__p_SoNotRec, - &_swigt__p_SoNurbsCurve, - &_swigt__p_SoNurbsProfile, - &_swigt__p_SoNurbsSurface, - &_swigt__p_SoOffscreenRenderer, - &_swigt__p_SoOnOff, - &_swigt__p_SoOneShot, - &_swigt__p_SoOneShotSensor, - &_swigt__p_SoOrthographicCamera, - &_swigt__p_SoOutput, - &_swigt__p_SoOverrideElement, - &_swigt__p_SoPSVectorOutput, - &_swigt__p_SoPackedColor, - &_swigt__p_SoPath, - &_swigt__p_SoPathList, - &_swigt__p_SoPathSensor, - &_swigt__p_SoPathSwitch, - &_swigt__p_SoPendulum, - &_swigt__p_SoPerspectiveCamera, - &_swigt__p_SoPickAction, - &_swigt__p_SoPickRayElement, - &_swigt__p_SoPickStyle, - &_swigt__p_SoPickStyleElement, - &_swigt__p_SoPickedPoint, - &_swigt__p_SoPickedPointList, - &_swigt__p_SoPointDetail, - &_swigt__p_SoPointLight, - &_swigt__p_SoPointLightDragger, - &_swigt__p_SoPointLightManip, - &_swigt__p_SoPointSet, - &_swigt__p_SoPointSizeElement, - &_swigt__p_SoPolygonOffset, - &_swigt__p_SoPolygonOffsetElement, - &_swigt__p_SoPolygonOffsetElement__Style, - &_swigt__p_SoPrimitiveVertex, - &_swigt__p_SoProfile, - &_swigt__p_SoProfileCoordinate2, - &_swigt__p_SoProfileCoordinate3, - &_swigt__p_SoProfileCoordinateElement, - &_swigt__p_SoProfileElement, - &_swigt__p_SoProjectionMatrixElement, - &_swigt__p_SoProto, - &_swigt__p_SoProtoInstance, - &_swigt__p_SoQuadMesh, - &_swigt__p_SoRayPickAction, - &_swigt__p_SoReadError, - &_swigt__p_SoReplacedElement, - &_swigt__p_SoResetTransform, - &_swigt__p_SoRotateCylindricalDragger, - &_swigt__p_SoRotateDiscDragger, - &_swigt__p_SoRotateSphericalDragger, - &_swigt__p_SoRotation, - &_swigt__p_SoRotationXYZ, - &_swigt__p_SoRotor, - &_swigt__p_SoSFBitMask, - &_swigt__p_SoSFBool, - &_swigt__p_SoSFBox3s, - &_swigt__p_SoSFColor, - &_swigt__p_SoSFEngine, - &_swigt__p_SoSFEnum, - &_swigt__p_SoSFFloat, - &_swigt__p_SoSFImage, - &_swigt__p_SoSFImage3, - &_swigt__p_SoSFInt32, - &_swigt__p_SoSFMatrix, - &_swigt__p_SoSFName, - &_swigt__p_SoSFNode, - &_swigt__p_SoSFPath, - &_swigt__p_SoSFPlane, - &_swigt__p_SoSFRotation, - &_swigt__p_SoSFShort, - &_swigt__p_SoSFString, - &_swigt__p_SoSFTime, - &_swigt__p_SoSFTrigger, - &_swigt__p_SoSFUInt32, - &_swigt__p_SoSFUShort, - &_swigt__p_SoSFVec2f, - &_swigt__p_SoSFVec2s, - &_swigt__p_SoSFVec3d, - &_swigt__p_SoSFVec3f, - &_swigt__p_SoSFVec3s, - &_swigt__p_SoSFVec4f, - &_swigt__p_SoSField, - &_swigt__p_SoScale, - &_swigt__p_SoScale1Dragger, - &_swigt__p_SoScale2Dragger, - &_swigt__p_SoScale2UniformDragger, - &_swigt__p_SoScaleUniformDragger, - &_swigt__p_SoSceneKit, - &_swigt__p_SoSceneManager, - &_swigt__p_SoSceneTexture2, - &_swigt__p_SoSearchAction, - &_swigt__p_SoSelectOne, - &_swigt__p_SoSelection, - &_swigt__p_SoSensor, - &_swigt__p_SoSensorManager, - &_swigt__p_SoSeparator, - &_swigt__p_SoSeparatorKit, - &_swigt__p_SoShape, - &_swigt__p_SoShapeHints, - &_swigt__p_SoShapeHintsElement, - &_swigt__p_SoShapeHintsElement__FaceType, - &_swigt__p_SoShapeHintsElement__ShapeType, - &_swigt__p_SoShapeHintsElement__VertexOrdering, - &_swigt__p_SoShapeKit, - &_swigt__p_SoShapeStyleElement, - &_swigt__p_SoShininessElement, - &_swigt__p_SoShuttle, - &_swigt__p_SoSoundElement, - &_swigt__p_SoSpaceballButtonEvent, - &_swigt__p_SoSpecularColorElement, - &_swigt__p_SoSphere, - &_swigt__p_SoSpotLight, - &_swigt__p_SoSpotLightDragger, - &_swigt__p_SoSpotLightManip, - &_swigt__p_SoState, - &_swigt__p_SoSurroundScale, - &_swigt__p_SoSwitch, - &_swigt__p_SoSwitchElement, - &_swigt__p_SoTabBoxDragger, - &_swigt__p_SoTabBoxManip, - &_swigt__p_SoTabPlaneDragger, - &_swigt__p_SoTempPath, - &_swigt__p_SoText2, - &_swigt__p_SoText3, - &_swigt__p_SoTextDetail, - &_swigt__p_SoTextOutlineEnabledElement, - &_swigt__p_SoTexture2, - &_swigt__p_SoTexture2Transform, - &_swigt__p_SoTexture3, - &_swigt__p_SoTexture3EnabledElement, - &_swigt__p_SoTexture3Transform, - &_swigt__p_SoTextureCombine, - &_swigt__p_SoTextureCombineElement, - &_swigt__p_SoTextureCombineElement__Operand, - &_swigt__p_SoTextureCombineElement__Operation, - &_swigt__p_SoTextureCombineElement__Source, - &_swigt__p_SoTextureCoordinate2, - &_swigt__p_SoTextureCoordinate3, - &_swigt__p_SoTextureCoordinateBinding, - &_swigt__p_SoTextureCoordinateBindingElement, - &_swigt__p_SoTextureCoordinateBundle, - &_swigt__p_SoTextureCoordinateCache, - &_swigt__p_SoTextureCoordinateCube, - &_swigt__p_SoTextureCoordinateCylinder, - &_swigt__p_SoTextureCoordinateDefault, - &_swigt__p_SoTextureCoordinateElement, - &_swigt__p_SoTextureCoordinateEnvironment, - &_swigt__p_SoTextureCoordinateFunction, - &_swigt__p_SoTextureCoordinatePlane, - &_swigt__p_SoTextureCoordinateSphere, - &_swigt__p_SoTextureEnabledElement, - &_swigt__p_SoTextureImageElement, - &_swigt__p_SoTextureImageElement__Model, - &_swigt__p_SoTextureImageElement__Wrap, - &_swigt__p_SoTextureMatrixElement, - &_swigt__p_SoTextureOverrideElement, - &_swigt__p_SoTextureQualityElement, - &_swigt__p_SoTextureScalePolicy, - &_swigt__p_SoTextureUnit, - &_swigt__p_SoTextureUnitElement, - &_swigt__p_SoTimeCounter, - &_swigt__p_SoTimerQueueSensor, - &_swigt__p_SoTimerSensor, - &_swigt__p_SoToVRML2Action, - &_swigt__p_SoToVRMLAction, - &_swigt__p_SoTrackballDragger, - &_swigt__p_SoTrackballManip, - &_swigt__p_SoTranReceiver, - &_swigt__p_SoTranSender, - &_swigt__p_SoTransform, - &_swigt__p_SoTransformBoxDragger, - &_swigt__p_SoTransformBoxManip, - &_swigt__p_SoTransformManip, - &_swigt__p_SoTransformSeparator, - &_swigt__p_SoTransformVec3f, - &_swigt__p_SoTransformation, - &_swigt__p_SoTransformerDragger, - &_swigt__p_SoTransformerManip, - &_swigt__p_SoTranslate1Dragger, - &_swigt__p_SoTranslate2Dragger, - &_swigt__p_SoTranslation, - &_swigt__p_SoTransparencyElement, - &_swigt__p_SoTransparencyType, - &_swigt__p_SoTriangleStripSet, - &_swigt__p_SoTriggerAny, - &_swigt__p_SoType, - &_swigt__p_SoTypeList, - &_swigt__p_SoUnits, - &_swigt__p_SoUnitsElement, - &_swigt__p_SoVRMLAnchor, - &_swigt__p_SoVRMLAppearance, - &_swigt__p_SoVRMLAudioClip, - &_swigt__p_SoVRMLBackground, - &_swigt__p_SoVRMLBillboard, - &_swigt__p_SoVRMLBox, - &_swigt__p_SoVRMLCollision, - &_swigt__p_SoVRMLColor, - &_swigt__p_SoVRMLColorInterpolator, - &_swigt__p_SoVRMLCone, - &_swigt__p_SoVRMLCoordinate, - &_swigt__p_SoVRMLCoordinateInterpolator, - &_swigt__p_SoVRMLCylinder, - &_swigt__p_SoVRMLCylinderSensor, - &_swigt__p_SoVRMLDirectionalLight, - &_swigt__p_SoVRMLDragSensor, - &_swigt__p_SoVRMLElevationGrid, - &_swigt__p_SoVRMLExtrusion, - &_swigt__p_SoVRMLFog, - &_swigt__p_SoVRMLFontStyle, - &_swigt__p_SoVRMLGeometry, - &_swigt__p_SoVRMLGroup, - &_swigt__p_SoVRMLImageTexture, - &_swigt__p_SoVRMLIndexedFaceSet, - &_swigt__p_SoVRMLIndexedLine, - &_swigt__p_SoVRMLIndexedLineSet, - &_swigt__p_SoVRMLIndexedShape, - &_swigt__p_SoVRMLInline, - &_swigt__p_SoVRMLInterpolator, - &_swigt__p_SoVRMLLOD, - &_swigt__p_SoVRMLLight, - &_swigt__p_SoVRMLMaterial, - &_swigt__p_SoVRMLMovieTexture, - &_swigt__p_SoVRMLNavigationInfo, - &_swigt__p_SoVRMLNormal, - &_swigt__p_SoVRMLNormalInterpolator, - &_swigt__p_SoVRMLOrientationInterpolator, - &_swigt__p_SoVRMLParent, - &_swigt__p_SoVRMLPixelTexture, - &_swigt__p_SoVRMLPlaneSensor, - &_swigt__p_SoVRMLPointLight, - &_swigt__p_SoVRMLPointSet, - &_swigt__p_SoVRMLPositionInterpolator, - &_swigt__p_SoVRMLProximitySensor, - &_swigt__p_SoVRMLScalarInterpolator, - &_swigt__p_SoVRMLScript, - &_swigt__p_SoVRMLSensor, - &_swigt__p_SoVRMLShape, - &_swigt__p_SoVRMLSound, - &_swigt__p_SoVRMLSphere, - &_swigt__p_SoVRMLSphereSensor, - &_swigt__p_SoVRMLSpotLight, - &_swigt__p_SoVRMLSwitch, - &_swigt__p_SoVRMLText, - &_swigt__p_SoVRMLTexture, - &_swigt__p_SoVRMLTextureCoordinate, - &_swigt__p_SoVRMLTextureTransform, - &_swigt__p_SoVRMLTimeSensor, - &_swigt__p_SoVRMLTouchSensor, - &_swigt__p_SoVRMLTransform, - &_swigt__p_SoVRMLVertexLine, - &_swigt__p_SoVRMLVertexPoint, - &_swigt__p_SoVRMLVertexShape, - &_swigt__p_SoVRMLViewpoint, - &_swigt__p_SoVRMLVisibilitySensor, - &_swigt__p_SoVRMLWorldInfo, - &_swigt__p_SoVectorOutput, - &_swigt__p_SoVectorizeAction, - &_swigt__p_SoVectorizePSAction, - &_swigt__p_SoVertexProperty, - &_swigt__p_SoVertexShape, - &_swigt__p_SoViewVolumeElement, - &_swigt__p_SoViewingMatrixElement, - &_swigt__p_SoViewportRegionElement, - &_swigt__p_SoWWWAnchor, - &_swigt__p_SoWWWInline, - &_swigt__p_SoWindowElement, - &_swigt__p_SoWrapperKit, - &_swigt__p_SoWriteAction, - &_swigt__p___int64, - &_swigt__p_a_4__a_4__double, - &_swigt__p_a_4__a_4__doublep, - &_swigt__p_a_4__a_4__float, - &_swigt__p_a_4__a_4__floatp, - &_swigt__p_a_4__float, - &_swigt__p_a_4__floatp, - &_swigt__p_cc_glglue, - &_swigt__p_char, - &_swigt__p_charp, - &_swigt__p_close_func, - &_swigt__p_double, - &_swigt__p_doublep, - &_swigt__p_f_char__char, - &_swigt__p_f_char__charp, - &_swigt__p_f_float_p_void__int, - &_swigt__p_f_float_p_void__intp, - &_swigt__p_f_p_SoAction_p_SoNode__void, - &_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - &_swigt__p_f_p_q_const__SoError_p_void__void, - &_swigt__p_f_p_void__SoGLRenderAction__AbortCode, - &_swigt__p_f_p_void__float, - &_swigt__p_f_p_void__floatp, - &_swigt__p_f_p_void__int, - &_swigt__p_f_p_void__intp, - &_swigt__p_f_p_void__p_void, - &_swigt__p_f_p_void__void, - &_swigt__p_f_p_void_int__void, - &_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, - &_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, - &_swigt__p_f_p_void_p_SoAction__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoDragger__void, - &_swigt__p_f_p_void_p_SoEventCallback__void, - &_swigt__p_f_p_void_p_SoGLRenderAction__void, - &_swigt__p_f_p_void_p_SoInput__void, - &_swigt__p_f_p_void_p_SoPath__void, - &_swigt__p_f_p_void_p_SoSceneManager__void, - &_swigt__p_f_p_void_p_SoSelection__void, - &_swigt__p_f_p_void_p_SoSensor__void, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long, - &_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, - &_swigt__p_f_p_void_p_SoVRMLScript__void, - &_swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, - &_swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - &_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, - &_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - &_swigt__p_f_p_void_p_void__int, - &_swigt__p_f_p_void_p_void__intp, - &_swigt__p_f_p_void_p_void__void, - &_swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, - &_swigt__p_f_p_void_p_void_p_void_p_void__void, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - &_swigt__p_f_p_void_size_t__p_void, - &_swigt__p_f_p_void_unsigned_int__void, - &_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, - &_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, - &_swigt__p_f_q_const__p_void_r_SbBox3f__void, - &_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, - &_swigt__p_f_q_const__p_void_r_q_const__SbSphere__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, - &_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int, - &_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, - &_swigt__p_f_q_const__unsigned_long__unsigned_long, - &_swigt__p_f_r_q_const__SbName_float_int_p_void__int, - &_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, - &_swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - &_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - &_swigt__p_f_unsigned_int_p_void__void, - &_swigt__p_f_unsigned_long_p_void__void, - &_swigt__p_f_unsigned_long_p_void_p_void__void, - &_swigt__p_f_void__p_void, - &_swigt__p_float, - &_swigt__p_floatp, - &_swigt__p_int, - &_swigt__p_intp, - &_swigt__p_long, - &_swigt__p_longp, - &_swigt__p_open_func, - &_swigt__p_p_SbName, - &_swigt__p_p_SbString, - &_swigt__p_p_SbVec2f, - &_swigt__p_p_SoAnnotation, - &_swigt__p_p_SoAntiSquish, - &_swigt__p_p_SoAppearanceKit, - &_swigt__p_p_SoArray, - &_swigt__p_p_SoAsciiText, - &_swigt__p_p_SoBase, - &_swigt__p_p_SoBaseColor, - &_swigt__p_p_SoBaseKit, - &_swigt__p_p_SoBlinker, - &_swigt__p_p_SoBoolOperation, - &_swigt__p_p_SoBoxHighlightRenderAction, - &_swigt__p_p_SoBumpMap, - &_swigt__p_p_SoBumpMapCoordinate, - &_swigt__p_p_SoBumpMapTransform, - &_swigt__p_p_SoCalculator, - &_swigt__p_p_SoCallback, - &_swigt__p_p_SoCamera, - &_swigt__p_p_SoCameraKit, - &_swigt__p_p_SoCenterballDragger, - &_swigt__p_p_SoCenterballManip, - &_swigt__p_p_SoClipPlane, - &_swigt__p_p_SoClipPlaneManip, - &_swigt__p_p_SoColorIndex, - &_swigt__p_p_SoComplexity, - &_swigt__p_p_SoComposeMatrix, - &_swigt__p_p_SoComposeRotation, - &_swigt__p_p_SoComposeRotationFromTo, - &_swigt__p_p_SoComposeVec2f, - &_swigt__p_p_SoComposeVec3f, - &_swigt__p_p_SoComposeVec4f, - &_swigt__p_p_SoComputeBoundingBox, - &_swigt__p_p_SoConcatenate, - &_swigt__p_p_SoCone, - &_swigt__p_p_SoCoordinate3, - &_swigt__p_p_SoCoordinate4, - &_swigt__p_p_SoCounter, - &_swigt__p_p_SoCube, - &_swigt__p_p_SoCylinder, - &_swigt__p_p_SoDecomposeMatrix, - &_swigt__p_p_SoDecomposeRotation, - &_swigt__p_p_SoDecomposeVec2f, - &_swigt__p_p_SoDecomposeVec3f, - &_swigt__p_p_SoDecomposeVec4f, - &_swigt__p_p_SoDirectionalLight, - &_swigt__p_p_SoDirectionalLightDragger, - &_swigt__p_p_SoDirectionalLightManip, - &_swigt__p_p_SoDragPointDragger, - &_swigt__p_p_SoDragger, - &_swigt__p_p_SoDrawStyle, - &_swigt__p_p_SoElapsedTime, - &_swigt__p_p_SoEngine, - &_swigt__p_p_SoEngineOutput, - &_swigt__p_p_SoEnvironment, - &_swigt__p_p_SoEventCallback, - &_swigt__p_p_SoExtSelection, - &_swigt__p_p_SoFaceSet, - &_swigt__p_p_SoField, - &_swigt__p_p_SoFieldContainer, - &_swigt__p_p_SoFieldConverter, - &_swigt__p_p_SoFile, - &_swigt__p_p_SoFont, - &_swigt__p_p_SoFontStyle, - &_swigt__p_p_SoFullPath, - &_swigt__p_p_SoGLRenderAction, - &_swigt__p_p_SoGate, - &_swigt__p_p_SoGroup, - &_swigt__p_p_SoHandleBoxDragger, - &_swigt__p_p_SoHandleBoxManip, - &_swigt__p_p_SoImage, - &_swigt__p_p_SoIndexedFaceSet, - &_swigt__p_p_SoIndexedLineSet, - &_swigt__p_p_SoIndexedNurbsCurve, - &_swigt__p_p_SoIndexedNurbsSurface, - &_swigt__p_p_SoIndexedShape, - &_swigt__p_p_SoIndexedTriangleStripSet, - &_swigt__p_p_SoInfo, - &_swigt__p_p_SoInteractionKit, - &_swigt__p_p_SoInterpolate, - &_swigt__p_p_SoInterpolateFloat, - &_swigt__p_p_SoInterpolateRotation, - &_swigt__p_p_SoInterpolateVec2f, - &_swigt__p_p_SoInterpolateVec3f, - &_swigt__p_p_SoInterpolateVec4f, - &_swigt__p_p_SoJackDragger, - &_swigt__p_p_SoJackManip, - &_swigt__p_p_SoLOD, - &_swigt__p_p_SoLabel, - &_swigt__p_p_SoLevelOfDetail, - &_swigt__p_p_SoLight, - &_swigt__p_p_SoLightKit, - &_swigt__p_p_SoLightModel, - &_swigt__p_p_SoLineHighlightRenderAction, - &_swigt__p_p_SoLineSet, - &_swigt__p_p_SoLinearProfile, - &_swigt__p_p_SoListener, - &_swigt__p_p_SoLocateHighlight, - &_swigt__p_p_SoMFBitMask, - &_swigt__p_p_SoMFBool, - &_swigt__p_p_SoMFColor, - &_swigt__p_p_SoMFEngine, - &_swigt__p_p_SoMFEnum, - &_swigt__p_p_SoMFFloat, - &_swigt__p_p_SoMFInt32, - &_swigt__p_p_SoMFMatrix, - &_swigt__p_p_SoMFName, - &_swigt__p_p_SoMFNode, - &_swigt__p_p_SoMFPath, - &_swigt__p_p_SoMFPlane, - &_swigt__p_p_SoMFRotation, - &_swigt__p_p_SoMFShort, - &_swigt__p_p_SoMFString, - &_swigt__p_p_SoMFTime, - &_swigt__p_p_SoMFUInt32, - &_swigt__p_p_SoMFUShort, - &_swigt__p_p_SoMFVec2f, - &_swigt__p_p_SoMFVec3d, - &_swigt__p_p_SoMFVec3f, - &_swigt__p_p_SoMFVec4f, - &_swigt__p_p_SoMField, - &_swigt__p_p_SoMarkerSet, - &_swigt__p_p_SoMaterial, - &_swigt__p_p_SoMaterialBinding, - &_swigt__p_p_SoMatrixTransform, - &_swigt__p_p_SoMultipleCopy, - &_swigt__p_p_SoNode, - &_swigt__p_p_SoNodeEngine, - &_swigt__p_p_SoNodeKitListPart, - &_swigt__p_p_SoNodeKitPath, - &_swigt__p_p_SoNonIndexedShape, - &_swigt__p_p_SoNormal, - &_swigt__p_p_SoNormalBinding, - &_swigt__p_p_SoNurbsCurve, - &_swigt__p_p_SoNurbsProfile, - &_swigt__p_p_SoNurbsSurface, - &_swigt__p_p_SoOnOff, - &_swigt__p_p_SoOneShot, - &_swigt__p_p_SoOrthographicCamera, - &_swigt__p_p_SoPackedColor, - &_swigt__p_p_SoPath, - &_swigt__p_p_SoPathSwitch, - &_swigt__p_p_SoPendulum, - &_swigt__p_p_SoPerspectiveCamera, - &_swigt__p_p_SoPickStyle, - &_swigt__p_p_SoPointLight, - &_swigt__p_p_SoPointLightDragger, - &_swigt__p_p_SoPointLightManip, - &_swigt__p_p_SoPointSet, - &_swigt__p_p_SoPolygonOffset, - &_swigt__p_p_SoProfile, - &_swigt__p_p_SoProfileCoordinate2, - &_swigt__p_p_SoProfileCoordinate3, - &_swigt__p_p_SoProto, - &_swigt__p_p_SoProtoInstance, - &_swigt__p_p_SoQuadMesh, - &_swigt__p_p_SoResetTransform, - &_swigt__p_p_SoRotateCylindricalDragger, - &_swigt__p_p_SoRotateDiscDragger, - &_swigt__p_p_SoRotateSphericalDragger, - &_swigt__p_p_SoRotation, - &_swigt__p_p_SoRotationXYZ, - &_swigt__p_p_SoRotor, - &_swigt__p_p_SoSFBitMask, - &_swigt__p_p_SoSFBool, - &_swigt__p_p_SoSFBox3s, - &_swigt__p_p_SoSFColor, - &_swigt__p_p_SoSFEngine, - &_swigt__p_p_SoSFEnum, - &_swigt__p_p_SoSFFloat, - &_swigt__p_p_SoSFImage, - &_swigt__p_p_SoSFImage3, - &_swigt__p_p_SoSFInt32, - &_swigt__p_p_SoSFMatrix, - &_swigt__p_p_SoSFName, - &_swigt__p_p_SoSFNode, - &_swigt__p_p_SoSFPath, - &_swigt__p_p_SoSFPlane, - &_swigt__p_p_SoSFRotation, - &_swigt__p_p_SoSFShort, - &_swigt__p_p_SoSFString, - &_swigt__p_p_SoSFTime, - &_swigt__p_p_SoSFTrigger, - &_swigt__p_p_SoSFUInt32, - &_swigt__p_p_SoSFUShort, - &_swigt__p_p_SoSFVec2f, - &_swigt__p_p_SoSFVec2s, - &_swigt__p_p_SoSFVec3d, - &_swigt__p_p_SoSFVec3f, - &_swigt__p_p_SoSFVec3s, - &_swigt__p_p_SoSFVec4f, - &_swigt__p_p_SoSField, - &_swigt__p_p_SoScale, - &_swigt__p_p_SoScale1Dragger, - &_swigt__p_p_SoScale2Dragger, - &_swigt__p_p_SoScale2UniformDragger, - &_swigt__p_p_SoScaleUniformDragger, - &_swigt__p_p_SoSceneKit, - &_swigt__p_p_SoSceneTexture2, - &_swigt__p_p_SoSelectOne, - &_swigt__p_p_SoSelection, - &_swigt__p_p_SoSeparator, - &_swigt__p_p_SoSeparatorKit, - &_swigt__p_p_SoShape, - &_swigt__p_p_SoShapeHints, - &_swigt__p_p_SoShapeKit, - &_swigt__p_p_SoShuttle, - &_swigt__p_p_SoSphere, - &_swigt__p_p_SoSpotLight, - &_swigt__p_p_SoSpotLightDragger, - &_swigt__p_p_SoSpotLightManip, - &_swigt__p_p_SoSurroundScale, - &_swigt__p_p_SoSwitch, - &_swigt__p_p_SoTabBoxDragger, - &_swigt__p_p_SoTabBoxManip, - &_swigt__p_p_SoTabPlaneDragger, - &_swigt__p_p_SoTempPath, - &_swigt__p_p_SoText2, - &_swigt__p_p_SoText3, - &_swigt__p_p_SoTexture2, - &_swigt__p_p_SoTexture2Transform, - &_swigt__p_p_SoTexture3, - &_swigt__p_p_SoTexture3Transform, - &_swigt__p_p_SoTextureCombine, - &_swigt__p_p_SoTextureCoordinate2, - &_swigt__p_p_SoTextureCoordinate3, - &_swigt__p_p_SoTextureCoordinateBinding, - &_swigt__p_p_SoTextureCoordinateCube, - &_swigt__p_p_SoTextureCoordinateCylinder, - &_swigt__p_p_SoTextureCoordinateDefault, - &_swigt__p_p_SoTextureCoordinateEnvironment, - &_swigt__p_p_SoTextureCoordinateFunction, - &_swigt__p_p_SoTextureCoordinatePlane, - &_swigt__p_p_SoTextureCoordinateSphere, - &_swigt__p_p_SoTextureScalePolicy, - &_swigt__p_p_SoTextureUnit, - &_swigt__p_p_SoTimeCounter, - &_swigt__p_p_SoTrackballDragger, - &_swigt__p_p_SoTrackballManip, - &_swigt__p_p_SoTransform, - &_swigt__p_p_SoTransformBoxDragger, - &_swigt__p_p_SoTransformBoxManip, - &_swigt__p_p_SoTransformManip, - &_swigt__p_p_SoTransformSeparator, - &_swigt__p_p_SoTransformVec3f, - &_swigt__p_p_SoTransformation, - &_swigt__p_p_SoTransformerDragger, - &_swigt__p_p_SoTransformerManip, - &_swigt__p_p_SoTranslate1Dragger, - &_swigt__p_p_SoTranslate2Dragger, - &_swigt__p_p_SoTranslation, - &_swigt__p_p_SoTransparencyType, - &_swigt__p_p_SoTriangleStripSet, - &_swigt__p_p_SoTriggerAny, - &_swigt__p_p_SoUnits, - &_swigt__p_p_SoVRMLAnchor, - &_swigt__p_p_SoVRMLAppearance, - &_swigt__p_p_SoVRMLAudioClip, - &_swigt__p_p_SoVRMLBackground, - &_swigt__p_p_SoVRMLBillboard, - &_swigt__p_p_SoVRMLBox, - &_swigt__p_p_SoVRMLCollision, - &_swigt__p_p_SoVRMLColor, - &_swigt__p_p_SoVRMLColorInterpolator, - &_swigt__p_p_SoVRMLCone, - &_swigt__p_p_SoVRMLCoordinate, - &_swigt__p_p_SoVRMLCoordinateInterpolator, - &_swigt__p_p_SoVRMLCylinder, - &_swigt__p_p_SoVRMLCylinderSensor, - &_swigt__p_p_SoVRMLDirectionalLight, - &_swigt__p_p_SoVRMLDragSensor, - &_swigt__p_p_SoVRMLElevationGrid, - &_swigt__p_p_SoVRMLExtrusion, - &_swigt__p_p_SoVRMLFog, - &_swigt__p_p_SoVRMLFontStyle, - &_swigt__p_p_SoVRMLGeometry, - &_swigt__p_p_SoVRMLGroup, - &_swigt__p_p_SoVRMLImageTexture, - &_swigt__p_p_SoVRMLIndexedFaceSet, - &_swigt__p_p_SoVRMLIndexedLine, - &_swigt__p_p_SoVRMLIndexedLineSet, - &_swigt__p_p_SoVRMLIndexedShape, - &_swigt__p_p_SoVRMLInline, - &_swigt__p_p_SoVRMLInterpolator, - &_swigt__p_p_SoVRMLLOD, - &_swigt__p_p_SoVRMLLight, - &_swigt__p_p_SoVRMLMaterial, - &_swigt__p_p_SoVRMLMovieTexture, - &_swigt__p_p_SoVRMLNavigationInfo, - &_swigt__p_p_SoVRMLNormal, - &_swigt__p_p_SoVRMLNormalInterpolator, - &_swigt__p_p_SoVRMLOrientationInterpolator, - &_swigt__p_p_SoVRMLParent, - &_swigt__p_p_SoVRMLPixelTexture, - &_swigt__p_p_SoVRMLPlaneSensor, - &_swigt__p_p_SoVRMLPointLight, - &_swigt__p_p_SoVRMLPointSet, - &_swigt__p_p_SoVRMLPositionInterpolator, - &_swigt__p_p_SoVRMLProximitySensor, - &_swigt__p_p_SoVRMLScalarInterpolator, - &_swigt__p_p_SoVRMLScript, - &_swigt__p_p_SoVRMLSensor, - &_swigt__p_p_SoVRMLShape, - &_swigt__p_p_SoVRMLSound, - &_swigt__p_p_SoVRMLSphere, - &_swigt__p_p_SoVRMLSphereSensor, - &_swigt__p_p_SoVRMLSpotLight, - &_swigt__p_p_SoVRMLSwitch, - &_swigt__p_p_SoVRMLText, - &_swigt__p_p_SoVRMLTexture, - &_swigt__p_p_SoVRMLTextureCoordinate, - &_swigt__p_p_SoVRMLTextureTransform, - &_swigt__p_p_SoVRMLTimeSensor, - &_swigt__p_p_SoVRMLTouchSensor, - &_swigt__p_p_SoVRMLTransform, - &_swigt__p_p_SoVRMLVertexLine, - &_swigt__p_p_SoVRMLVertexPoint, - &_swigt__p_p_SoVRMLVertexShape, - &_swigt__p_p_SoVRMLViewpoint, - &_swigt__p_p_SoVRMLVisibilitySensor, - &_swigt__p_p_SoVRMLWorldInfo, - &_swigt__p_p_SoVertexProperty, - &_swigt__p_p_SoVertexShape, - &_swigt__p_p_SoWWWAnchor, - &_swigt__p_p_SoWWWInline, - &_swigt__p_p_SoWrapperKit, - &_swigt__p_p_char, - &_swigt__p_p_charp, - &_swigt__p_p_f_p_SoAction_p_SoNode__void, - &_swigt__p_p_f_p_void_p_SoInput__void, - &_swigt__p_p_float, - &_swigt__p_p_floatp, - &_swigt__p_p_int, - &_swigt__p_p_intp, - &_swigt__p_p_unsigned_char, - &_swigt__p_p_void, - &_swigt__p_read_func, - &_swigt__p_seek_func, - &_swigt__p_short, - &_swigt__p_size_t, - &_swigt__p_tell_func, - &_swigt__p_time_t, - &_swigt__p_timeval, - &_swigt__p_unsigned___int64, - &_swigt__p_unsigned_char, - &_swigt__p_unsigned_int, - &_swigt__p_unsigned_short, - &_swigt__p_void, -}; - -static swig_cast_info _swigc__p_ContextDestructionCB[] = { {&_swigt__p_ContextDestructionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_GLState[] = { {&_swigt__p_GLState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProgressCallbackType[] = { {&_swigt__p_ProgressCallbackType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBSPTree[] = { {&_swigt__p_SbBSPTree, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBarrier[] = { {&_swigt__p_SbBarrier, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2d[] = { {&_swigt__p_SbBox2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2f[] = { {&_swigt__p_SbBox2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox2s[] = { {&_swigt__p_SbBox2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3f[] = { {&_swigt__p_SbBox3f, 0, 0, 0}, {&_swigt__p_SbXfBox3f, _p_SbXfBox3fTo_p_SbBox3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbBox3s[] = { {&_swigt__p_SbBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbClip[] = { {&_swigt__p_SbClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor[] = { {&_swigt__p_SbColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor4f[] = { {&_swigt__p_SbColor4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCondVar[] = { {&_swigt__p_SbCondVar, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinder[] = { {&_swigt__p_SbCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderPlaneProjector[] = { {&_swigt__p_SbCylinderPlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderProjector[] = { {&_swigt__p_SbCylinderProjector, 0, 0, 0}, {&_swigt__p_SbCylinderSectionProjector, _p_SbCylinderSectionProjectorTo_p_SbCylinderProjector, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbCylinderProjector, 0, 0}, {&_swigt__p_SbCylinderSheetProjector, _p_SbCylinderSheetProjectorTo_p_SbCylinderProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderSectionProjector[] = { {&_swigt__p_SbCylinderSectionProjector, 0, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbCylinderSectionProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbCylinderSheetProjector[] = { {&_swigt__p_SbCylinderSheetProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPLine[] = { {&_swigt__p_SbDPLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPMatrix[] = { {&_swigt__p_SbDPMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPPlane[] = { {&_swigt__p_SbDPPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPRotation[] = { {&_swigt__p_SbDPRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDPViewVolume[] = { {&_swigt__p_SbDPViewVolume, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDict[] = { {&_swigt__p_SbDict, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbFifo[] = { {&_swigt__p_SbFifo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbHeap[] = { {&_swigt__p_SbHeap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbHeapFuncs[] = { {&_swigt__p_SbHeapFuncs, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbImage[] = { {&_swigt__p_SbImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbIntList[] = { {&_swigt__p_SbIntList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbLine[] = { {&_swigt__p_SbLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbLineProjector[] = { {&_swigt__p_SbLineProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListTSbName_t[] = { {&_swigt__p_SbListTSbName_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListTSbString_t[] = { {&_swigt__p_SbListTSbString_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListTint_t[] = { {&_swigt__p_SbListTint_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbListTvoid_p_t[] = { {&_swigt__p_SbListTvoid_p_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMatrix[] = { {&_swigt__p_SbMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMutex[] = { {&_swigt__p_SbMutex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbName[] = { {&_swigt__p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbOctTree[] = { {&_swigt__p_SbOctTree, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbOctTreeFuncs[] = { {&_swigt__p_SbOctTreeFuncs, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPList[] = { {&_swigt__p_SoAuditorList, _p_SoAuditorListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPickedPointList, _p_SoPickedPointListTo_p_SbPList, 0, 0}, {&_swigt__p_SbIntList, _p_SbIntListTo_p_SbPList, 0, 0}, {&_swigt__p_SoTypeList, _p_SoTypeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbVec3fList, _p_SbVec3fListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SbPList, 0, 0}, {&_swigt__p_SoBaseList, _p_SoBaseListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineOutputList, _p_SoEngineOutputListTo_p_SbPList, 0, 0}, {&_swigt__p_SoFieldList, _p_SoFieldListTo_p_SbPList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SbPList, 0, 0}, {&_swigt__p_SbPList, 0, 0, 0}, {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbStringList, _p_SbStringListTo_p_SbPList, 0, 0}, {&_swigt__p_SoActionMethodList, _p_SoActionMethodListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SbPList, 0, 0}, {&_swigt__p_SoDetailList, _p_SoDetailListTo_p_SbPList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlane[] = { {&_swigt__p_SbPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlaneProjector[] = { {&_swigt__p_SbPlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbProjector[] = { {&_swigt__p_SbProjector, 0, 0, 0}, {&_swigt__p_SbCylinderProjector, _p_SbCylinderProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderSectionProjector, _p_SbCylinderSectionProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderPlaneProjector, _p_SbCylinderPlaneProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbCylinderSheetProjector, _p_SbCylinderSheetProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbLineProjector, _p_SbLineProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbPlaneProjector, _p_SbPlaneProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereProjector, _p_SbSphereProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereSheetProjector, _p_SbSphereSheetProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSphereSectionProjector, _p_SbSphereSectionProjectorTo_p_SbProjector, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRWMutex[] = { {&_swigt__p_SbRWMutex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRotation[] = { {&_swigt__p_SbRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphere[] = { {&_swigt__p_SbSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSpherePlaneProjector[] = { {&_swigt__p_SbSpherePlaneProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereProjector[] = { {&_swigt__p_SbSphereProjector, 0, 0, 0}, {&_swigt__p_SbSphereSheetProjector, _p_SbSphereSheetProjectorTo_p_SbSphereProjector, 0, 0}, {&_swigt__p_SbSphereSectionProjector, _p_SbSphereSectionProjectorTo_p_SbSphereProjector, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbSphereProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereSectionProjector[] = { {&_swigt__p_SbSphereSectionProjector, 0, 0, 0}, {&_swigt__p_SbSpherePlaneProjector, _p_SbSpherePlaneProjectorTo_p_SbSphereSectionProjector, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbSphereSheetProjector[] = { {&_swigt__p_SbSphereSheetProjector, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStorage[] = { {&_swigt__p_SbStorage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbString[] = { {&_swigt__p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStringList[] = { {&_swigt__p_SbStringList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTesselator[] = { {&_swigt__p_SbTesselator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbThread[] = { {&_swigt__p_SbThread, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbThreadAutoLock[] = { {&_swigt__p_SbThreadAutoLock, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTime[] = { {&_swigt__p_SbTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2d[] = { {&_swigt__p_SbVec2d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2f[] = { {&_swigt__p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2s[] = { {&_swigt__p_SbVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3d[] = { {&_swigt__p_SbVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3f[] = { {&_swigt__p_SbVec3f, 0, 0, 0}, {&_swigt__p_SbColor, _p_SbColorTo_p_SbVec3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3fList[] = { {&_swigt__p_SbVec3fList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3s[] = { {&_swigt__p_SbVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4d[] = { {&_swigt__p_SbVec4d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4f[] = { {&_swigt__p_SbVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewVolume[] = { {&_swigt__p_SbViewVolume, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewportRegion[] = { {&_swigt__p_SbViewportRegion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbXfBox3f[] = { {&_swigt__p_SbXfBox3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAccumulatedElement[] = { {&_swigt__p_SoAccumulatedElement, 0, 0, 0}, {&_swigt__p_SoModelMatrixElement, _p_SoModelMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoBumpMapMatrixElement, _p_SoBumpMapMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoClipPlaneElement, _p_SoClipPlaneElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoLightElement, _p_SoLightElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoProfileElement, _p_SoProfileElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoTextureMatrixElement, _p_SoTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoMultiTextureMatrixElement, _p_SoMultiTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0}, {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoAccumulatedElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAction[] = { {&_swigt__p_SoWriteAction, _p_SoWriteActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoRayPickAction, _p_SoRayPickActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoPickAction, _p_SoPickActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoCallbackAction, _p_SoCallbackActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoVectorizeAction, _p_SoVectorizeActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoAction, 0, 0, 0}, {&_swigt__p_SoIntersectionDetectionAction, _p_SoIntersectionDetectionActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoAudioRenderAction, _p_SoAudioRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoSearchAction, _p_SoSearchActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoHandleEventAction, _p_SoHandleEventActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetPrimitiveCountAction, _p_SoGetPrimitiveCountActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetMatrixAction, _p_SoGetMatrixActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGetBoundingBoxAction, _p_SoGetBoundingBoxActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoGLRenderAction, _p_SoGLRenderActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoToVRMLAction, _p_SoToVRMLActionTo_p_SoAction, 0, 0}, {&_swigt__p_SoToVRML2Action, _p_SoToVRML2ActionTo_p_SoAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoActionMethodList[] = { {&_swigt__p_SoActionMethodList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAlarmSensor[] = { {&_swigt__p_SoAlarmSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAmbientColorElement[] = { {&_swigt__p_SoAmbientColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3CharOrientElement[] = { {&_swigt__p_SoAnnoText3CharOrientElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3FontSizeHintElement[] = { {&_swigt__p_SoAnnoText3FontSizeHintElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnoText3RenderPrintElement[] = { {&_swigt__p_SoAnnoText3RenderPrintElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnotation[] = { {&_swigt__p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAntiSquish[] = { {&_swigt__p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAppearanceKit[] = { {&_swigt__p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoArray[] = { {&_swigt__p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAsciiText[] = { {&_swigt__p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAudioDevice[] = { {&_swigt__p_SoAudioDevice, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAudioRenderAction[] = { {&_swigt__p_SoAudioRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAuditorList[] = { {&_swigt__p_SoAuditorList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBBoxModelMatrixElement[] = { {&_swigt__p_SoBBoxModelMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBase[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoBase, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoBase, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoBase, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoPath, _p_SoPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoBase, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoBase, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoBase, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoBase, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoBase, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoBase, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldContainer, _p_SoFieldContainerTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoBase, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoBase, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoBase, 0, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoBase, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoBase, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoBase, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoBase, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoBase, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoBase, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoBase, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoBase, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoBase, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoBase, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoBase, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoBase, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseColor[] = { {&_swigt__p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseKit[] = { {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoBaseKit, 0, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBaseKit, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBaseKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseList[] = { {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoBaseList, 0, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SoBaseList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SoBaseList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBlinker[] = { {&_swigt__p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoolOperation[] = { {&_swigt__p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoundingBoxCache[] = { {&_swigt__p_SoBoundingBoxCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoxHighlightRenderAction[] = { {&_swigt__p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMap[] = { {&_swigt__p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinate[] = { {&_swigt__p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinateElement[] = { {&_swigt__p_SoBumpMapCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapElement[] = { {&_swigt__p_SoBumpMapElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapMatrixElement[] = { {&_swigt__p_SoBumpMapMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapTransform[] = { {&_swigt__p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBundle[] = { {&_swigt__p_SoBundle, 0, 0, 0}, {&_swigt__p_SoTextureCoordinateBundle, _p_SoTextureCoordinateBundleTo_p_SoBundle, 0, 0}, {&_swigt__p_SoMaterialBundle, _p_SoMaterialBundleTo_p_SoBundle, 0, 0}, {&_swigt__p_SoNormalBundle, _p_SoNormalBundleTo_p_SoBundle, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoButtonEvent[] = { {&_swigt__p_SoButtonEvent, 0, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoButtonEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoButtonEvent, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoButtonEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoByteStream[] = { {&_swigt__p_SoByteStream, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCache[] = { {&_swigt__p_SoBoundingBoxCache, _p_SoBoundingBoxCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoGLRenderCache, _p_SoGLRenderCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoCache, 0, 0, 0}, {&_swigt__p_SoConvexDataCache, _p_SoConvexDataCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoNormalCache, _p_SoNormalCacheTo_p_SoCache, 0, 0}, {&_swigt__p_SoTextureCoordinateCache, _p_SoTextureCoordinateCacheTo_p_SoCache, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCacheElement[] = { {&_swigt__p_SoCacheElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCalculator[] = { {&_swigt__p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallback[] = { {&_swigt__p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackAction[] = { {&_swigt__p_SoCallbackAction, 0, 0, 0}, {&_swigt__p_SoVectorizeAction, _p_SoVectorizeActionTo_p_SoCallbackAction, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoCallbackAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackActionCB[] = { {&_swigt__p_SoCallbackActionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackList[] = { {&_swigt__p_SoCallbackList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCamera[] = { {&_swigt__p_SoCamera, 0, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoCamera, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCameraKit[] = { {&_swigt__p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballDragger[] = { {&_swigt__p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballManip[] = { {&_swigt__p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoChildList[] = { {&_swigt__p_SoChildList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlane[] = { {&_swigt__p_SoClipPlane, 0, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoClipPlane, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneElement[] = { {&_swigt__p_SoClipPlaneElement, 0, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoClipPlaneElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneManip[] = { {&_swigt__p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorIndex[] = { {&_swigt__p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorPacker[] = { {&_swigt__p_SoColorPacker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexity[] = { {&_swigt__p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexityElement[] = { {&_swigt__p_SoComplexityElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexityTypeElement[] = { {&_swigt__p_SoComplexityTypeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeMatrix[] = { {&_swigt__p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotation[] = { {&_swigt__p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotationFromTo[] = { {&_swigt__p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec2f[] = { {&_swigt__p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec3f[] = { {&_swigt__p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec4f[] = { {&_swigt__p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComputeBoundingBox[] = { {&_swigt__p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConcatenate[] = { {&_swigt__p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCone[] = { {&_swigt__p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConeDetail[] = { {&_swigt__p_SoConeDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoContextHandler[] = { {&_swigt__p_SoContextHandler, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConvexDataCache[] = { {&_swigt__p_SoConvexDataCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate3[] = { {&_swigt__p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate4[] = { {&_swigt__p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinateElement[] = { {&_swigt__p_SoCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCounter[] = { {&_swigt__p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCreaseAngleElement[] = { {&_swigt__p_SoCreaseAngleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCube[] = { {&_swigt__p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCubeDetail[] = { {&_swigt__p_SoCubeDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCullElement[] = { {&_swigt__p_SoCullElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinder[] = { {&_swigt__p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinderDetail[] = { {&_swigt__p_SoCylinderDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDB[] = { {&_swigt__p_SoDB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDataSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoDataSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoDataSensor, 0, 0}, {&_swigt__p_SoDataSensor, 0, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoDataSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDebugError[] = { {&_swigt__p_SoDebugError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecimationPercentageElement[] = { {&_swigt__p_SoDecimationPercentageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecimationTypeElement[] = { {&_swigt__p_SoDecimationTypeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeMatrix[] = { {&_swigt__p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeRotation[] = { {&_swigt__p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec2f[] = { {&_swigt__p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec3f[] = { {&_swigt__p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec4f[] = { {&_swigt__p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDelayQueueSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoOneShotSensor, _p_SoOneShotSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoDelayQueueSensor, 0, 0, 0}, {&_swigt__p_SoDataSensor, _p_SoDataSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoDelayQueueSensor, 0, 0}, {&_swigt__p_SoIdleSensor, _p_SoIdleSensorTo_p_SoDelayQueueSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetail[] = { {&_swigt__p_SoCylinderDetail, _p_SoCylinderDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoPointDetail, _p_SoPointDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoNodeKitDetail, _p_SoNodeKitDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoTextDetail, _p_SoTextDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoDetail, 0, 0, 0}, {&_swigt__p_SoConeDetail, _p_SoConeDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoCubeDetail, _p_SoCubeDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoFaceDetail, _p_SoFaceDetailTo_p_SoDetail, 0, 0}, {&_swigt__p_SoLineDetail, _p_SoLineDetailTo_p_SoDetail, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetailList[] = { {&_swigt__p_SoDetailList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDiffuseColorElement[] = { {&_swigt__p_SoDiffuseColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLight[] = { {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoDirectionalLight, 0, 0}, {&_swigt__p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightDragger[] = { {&_swigt__p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightManip[] = { {&_swigt__p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragPointDragger[] = { {&_swigt__p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragger[] = { {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoDragger, 0, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoDragger, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoDragger, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyle[] = { {&_swigt__p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyleElement[] = { {&_swigt__p_SoDrawStyleElement, 0, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoDrawStyleElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElapsedTime[] = { {&_swigt__p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElement[] = { {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewVolumeElement, _p_SoViewVolumeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLColorIndexElement, _p_SoGLColorIndexElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoListenerPositionElement, _p_SoListenerPositionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoListenerOrientationElement, _p_SoListenerOrientationElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoListenerDopplerElement, _p_SoListenerDopplerElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSoundElement, _p_SoSoundElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSpecularColorElement, _p_SoSpecularColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoEmissiveColorElement, _p_SoEmissiveColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShininessElement, _p_SoShininessElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTransparencyElement, _p_SoTransparencyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoReplacedElement, _p_SoReplacedElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLShapeHintsElement, _p_SoGLShapeHintsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShapeHintsElement, _p_SoShapeHintsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLazyElement, _p_SoLazyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureUnitElement, _p_SoTextureUnitElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightModelElement, _p_SoLightModelElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoUnitsElement, _p_SoUnitsElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextOutlineEnabledElement, _p_SoTextOutlineEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoSwitchElement, _p_SoSwitchElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLinePatternElement, _p_SoLinePatternElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTexture3EnabledElement, _p_SoTexture3EnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDecimationTypeElement, _p_SoDecimationTypeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureEnabledElement, _p_SoTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLightIdElement, _p_SoGLLightIdElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCoordinateBindingElement, _p_SoTextureCoordinateBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPickStyleElement, _p_SoPickStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoNormalBindingElement, _p_SoNormalBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMaterialBindingElement, _p_SoMaterialBindingElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDrawStyleElement, _p_SoDrawStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoComplexityTypeElement, _p_SoComplexityTypeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoInt32Element, _p_SoInt32ElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCoordinateElement, _p_SoTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLazyElement, _p_SoGLLazyElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureQualityElement, _p_SoTextureQualityElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPointSizeElement, _p_SoPointSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLineWidthElement, _p_SoLineWidthElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFontSizeElement, _p_SoFontSizeElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFocalDistanceElement, _p_SoFocalDistanceElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDecimationPercentageElement, _p_SoDecimationPercentageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFloatElement, _p_SoFloatElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoComplexityElement, _p_SoComplexityElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCoordinateElement, _p_SoCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCreaseAngleElement, _p_SoCreaseAngleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoElement, 0, 0, 0}, {&_swigt__p_SoListenerGainElement, _p_SoListenerGainElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoClipPlaneElement, _p_SoClipPlaneElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLClipPlaneElement, _p_SoGLClipPlaneElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCacheElement, _p_SoCacheElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapMatrixElement, _p_SoBumpMapMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapElement, _p_SoBumpMapElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBumpMapCoordinateElement, _p_SoBumpMapCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoModelMatrixElement, _p_SoModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3RenderPrintElement, _p_SoAnnoText3RenderPrintElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3FontSizeHintElement, _p_SoAnnoText3FontSizeHintElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAnnoText3CharOrientElement, _p_SoAnnoText3CharOrientElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAmbientColorElement, _p_SoAmbientColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoAccumulatedElement, _p_SoAccumulatedElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightElement, _p_SoLightElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProfileElement, _p_SoProfileElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureMatrixElement, _p_SoTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureMatrixElement, _p_SoMultiTextureMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewingMatrixElement, _p_SoViewingMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProfileCoordinateElement, _p_SoProfileCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoProjectionMatrixElement, _p_SoProjectionMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPolygonOffsetElement, _p_SoPolygonOffsetElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLightAttenuationElement, _p_SoLightAttenuationElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureImageElement, _p_SoTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoFontNameElement, _p_SoFontNameElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoEnvironmentElement, _p_SoEnvironmentElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoDiffuseColorElement, _p_SoDiffuseColorElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoNormalElement, _p_SoNormalElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLRenderPassElement, _p_SoGLRenderPassElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLUpdateAreaElement, _p_SoGLUpdateAreaElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoLocalBBoxMatrixElement, _p_SoLocalBBoxMatrixElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoOverrideElement, _p_SoOverrideElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoPickRayElement, _p_SoPickRayElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureOverrideElement, _p_SoTextureOverrideElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoCullElement, _p_SoCullElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoShapeStyleElement, _p_SoShapeStyleElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoViewportRegionElement, _p_SoViewportRegionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLViewportRegionElement, _p_SoGLViewportRegionElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoWindowElement, _p_SoWindowElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLCacheContextElement, _p_SoGLCacheContextElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureCoordinateElement, _p_SoMultiTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureCoordinateElement, _p_SoGLMultiTextureCoordinateElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureEnabledElement, _p_SoMultiTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureEnabledElement, _p_SoGLMultiTextureEnabledElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoMultiTextureImageElement, _p_SoMultiTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoGLMultiTextureImageElement, _p_SoGLMultiTextureImageElementTo_p_SoElement, 0, 0}, {&_swigt__p_SoTextureCombineElement, _p_SoTextureCombineElementTo_p_SoElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEmissiveColorElement[] = { {&_swigt__p_SoEmissiveColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnabledElementsList[] = { {&_swigt__p_SoEnabledElementsList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngine[] = { {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoEngine, 0, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoEngine, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoEngine, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoEngine, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoEngine, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoEngine, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoEngine, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoEngine, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoEngine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineList[] = { {&_swigt__p_SoEngineList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutput[] = { {&_swigt__p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputData[] = { {&_swigt__p_SoEngineOutputData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputList[] = { {&_swigt__p_SoEngineOutputList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironment[] = { {&_swigt__p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironmentElement[] = { {&_swigt__p_SoEnvironmentElement, 0, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoEnvironmentElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoError[] = { {&_swigt__p_SoDebugError, _p_SoDebugErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoReadError, _p_SoReadErrorTo_p_SoError, 0, 0}, {&_swigt__p_SoError, 0, 0, 0}, {&_swigt__p_SoMemoryError, _p_SoMemoryErrorTo_p_SoError, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEvent[] = { {&_swigt__p_SoMotion3Event, _p_SoMotion3EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoButtonEvent, _p_SoButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoEvent, 0, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoLocation2Event, _p_SoLocation2EventTo_p_SoEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEventCallback[] = { {&_swigt__p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoExtSelection[] = { {&_swigt__p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceDetail[] = { {&_swigt__p_SoFaceDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceSet[] = { {&_swigt__p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoField[] = { {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoField, 0, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoMField, _p_SoMFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSField, _p_SoSFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldContainer[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldContainer, 0, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoFieldContainer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldConverter[] = { {&_swigt__p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldData[] = { {&_swigt__p_SoFieldData, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldList[] = { {&_swigt__p_SoFieldList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldSensor[] = { {&_swigt__p_SoFieldSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFile[] = { {&_swigt__p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFloatElement[] = { {&_swigt__p_SoFloatElement, 0, 0, 0}, {&_swigt__p_SoComplexityElement, _p_SoComplexityElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoCreaseAngleElement, _p_SoCreaseAngleElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoDecimationPercentageElement, _p_SoDecimationPercentageElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoFocalDistanceElement, _p_SoFocalDistanceElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoFontSizeElement, _p_SoFontSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoLineWidthElement, _p_SoLineWidthElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoPointSizeElement, _p_SoPointSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoTextureQualityElement, _p_SoTextureQualityElementTo_p_SoFloatElement, 0, 0}, {&_swigt__p_SoListenerGainElement, _p_SoListenerGainElementTo_p_SoFloatElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFocalDistanceElement[] = { {&_swigt__p_SoFocalDistanceElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFont[] = { {&_swigt__p_SoFont, 0, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFont, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontNameElement[] = { {&_swigt__p_SoFontNameElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontSizeElement[] = { {&_swigt__p_SoFontSizeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontStyle[] = { {&_swigt__p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFullPath[] = { {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoFullPath, 0, 0}, {&_swigt__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLBigImage[] = { {&_swigt__p_SoGLBigImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCacheContextElement[] = { {&_swigt__p_SoGLCacheContextElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCacheList[] = { {&_swigt__p_SoGLCacheList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLClipPlaneElement[] = { {&_swigt__p_SoGLClipPlaneElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLColorIndexElement[] = { {&_swigt__p_SoGLColorIndexElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLCoordinateElement[] = { {&_swigt__p_SoGLCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLDisplayList[] = { {&_swigt__p_SoGLDisplayList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLDrawStyleElement[] = { {&_swigt__p_SoGLDrawStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLEnvironmentElement[] = { {&_swigt__p_SoGLEnvironmentElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLImage[] = { {&_swigt__p_SoGLBigImage, _p_SoGLBigImageTo_p_SoGLImage, 0, 0}, {&_swigt__p_SoGLImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement[] = { {&_swigt__p_SoGLLazyElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement_GLState[] = { {&_swigt__p_SoGLLazyElement_GLState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLazyElement__GLState[] = { {&_swigt__p_SoGLLazyElement__GLState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLightIdElement[] = { {&_swigt__p_SoGLLightIdElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLinePatternElement[] = { {&_swigt__p_SoGLLinePatternElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLLineWidthElement[] = { {&_swigt__p_SoGLLineWidthElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLModelMatrixElement[] = { {&_swigt__p_SoGLModelMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureCoordinateElement[] = { {&_swigt__p_SoGLMultiTextureCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureEnabledElement[] = { {&_swigt__p_SoGLMultiTextureEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureImageElement[] = { {&_swigt__p_SoGLMultiTextureImageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLMultiTextureMatrixElement[] = { {&_swigt__p_SoGLMultiTextureMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLNormalElement[] = { {&_swigt__p_SoGLNormalElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLPointSizeElement[] = { {&_swigt__p_SoGLPointSizeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLPolygonOffsetElement[] = { {&_swigt__p_SoGLPolygonOffsetElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLProjectionMatrixElement[] = { {&_swigt__p_SoGLProjectionMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAbortCB[] = { {&_swigt__p_SoGLRenderAbortCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAction[] = { {&_swigt__p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderCache[] = { {&_swigt__p_SoGLRenderCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderPassElement[] = { {&_swigt__p_SoGLRenderPassElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLShapeHintsElement[] = { {&_swigt__p_SoGLShapeHintsElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTexture3EnabledElement[] = { {&_swigt__p_SoGLTexture3EnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureCoordinateElement[] = { {&_swigt__p_SoGLTextureCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureEnabledElement[] = { {&_swigt__p_SoGLTextureEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureImageElement[] = { {&_swigt__p_SoGLTextureImageElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLTextureMatrixElement[] = { {&_swigt__p_SoGLTextureMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLUpdateAreaElement[] = { {&_swigt__p_SoGLUpdateAreaElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLViewingMatrixElement[] = { {&_swigt__p_SoGLViewingMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLViewportRegionElement[] = { {&_swigt__p_SoGLViewportRegionElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGate[] = { {&_swigt__p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetBoundingBoxAction[] = { {&_swigt__p_SoGetBoundingBoxAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetMatrixAction[] = { {&_swigt__p_SoGetMatrixAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGetPrimitiveCountAction[] = { {&_swigt__p_SoGetPrimitiveCountAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGlyph[] = { {&_swigt__p_SoGlyph, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGroup[] = { {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoGroup, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoGroup, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoGroup, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoGroup, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoGroup, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoGroup, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoGroup, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoGroup, 0, 0}, {&_swigt__p_SoGroup, 0, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoGroup, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxDragger[] = { {&_swigt__p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxManip[] = { {&_swigt__p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleEventAction[] = { {&_swigt__p_SoHandleEventAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHardCopy[] = { {&_swigt__p_SoHardCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIdleSensor[] = { {&_swigt__p_SoIdleSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoImage[] = { {&_swigt__p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedFaceSet[] = { {&_swigt__p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedLineSet[] = { {&_swigt__p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsCurve[] = { {&_swigt__p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsSurface[] = { {&_swigt__p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedShape[] = { {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoIndexedShape, 0, 0}, {&_swigt__p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedTriangleStripSet[] = { {&_swigt__p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInfo[] = { {&_swigt__p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInput[] = { {&_swigt__p_SoInput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInt32Element[] = { {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureEnabledElement, _p_SoTextureEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLLightIdElement, _p_SoGLLightIdElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3RenderPrintElement, _p_SoAnnoText3RenderPrintElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3FontSizeHintElement, _p_SoAnnoText3FontSizeHintElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoAnnoText3CharOrientElement, _p_SoAnnoText3CharOrientElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureCoordinateBindingElement, _p_SoTextureCoordinateBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoPickStyleElement, _p_SoPickStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoNormalBindingElement, _p_SoNormalBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoMaterialBindingElement, _p_SoMaterialBindingElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLDrawStyleElement, _p_SoGLDrawStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoDrawStyleElement, _p_SoDrawStyleElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoComplexityTypeElement, _p_SoComplexityTypeElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoInt32Element, 0, 0, 0}, {&_swigt__p_SoDecimationTypeElement, _p_SoDecimationTypeElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTexture3EnabledElement, _p_SoTexture3EnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoLinePatternElement, _p_SoLinePatternElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoSwitchElement, _p_SoSwitchElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextOutlineEnabledElement, _p_SoTextOutlineEnabledElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoUnitsElement, _p_SoUnitsElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoLightModelElement, _p_SoLightModelElementTo_p_SoInt32Element, 0, 0}, {&_swigt__p_SoTextureUnitElement, _p_SoTextureUnitElementTo_p_SoInt32Element, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteraction[] = { {&_swigt__p_SoInteraction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteractionKit[] = { {&_swigt__p_SoInteractionKit, 0, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoInteractionKit, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoInteractionKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolate[] = { {&_swigt__p_SoInterpolate, 0, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoInterpolate, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoInterpolate, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateFloat[] = { {&_swigt__p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateRotation[] = { {&_swigt__p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec2f[] = { {&_swigt__p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec3f[] = { {&_swigt__p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec4f[] = { {&_swigt__p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectingPrimitive[] = { {&_swigt__p_SoIntersectingPrimitive, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionCB[] = { {&_swigt__p_SoIntersectionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionDetectionAction[] = { {&_swigt__p_SoIntersectionDetectionAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionFilterCB[] = { {&_swigt__p_SoIntersectionFilterCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionVisitationCB[] = { {&_swigt__p_SoIntersectionVisitationCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackDragger[] = { {&_swigt__p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackManip[] = { {&_swigt__p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoKeyboardEvent[] = { {&_swigt__p_SoKeyboardEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLOD[] = { {&_swigt__p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLabel[] = { {&_swigt__p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLazyElement[] = { {&_swigt__p_SoLazyElement, 0, 0, 0}, {&_swigt__p_SoGLLazyElement, _p_SoGLLazyElementTo_p_SoLazyElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLevelOfDetail[] = { {&_swigt__p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLight[] = { {&_swigt__p_SoLight, 0, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoLight, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoLight, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoLight, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoLight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightAttenuationElement[] = { {&_swigt__p_SoLightAttenuationElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightElement[] = { {&_swigt__p_SoLightElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightKit[] = { {&_swigt__p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModel[] = { {&_swigt__p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModelElement[] = { {&_swigt__p_SoLightModelElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightPath[] = { {&_swigt__p_SoLightPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineDetail[] = { {&_swigt__p_SoLineDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineHighlightRenderAction[] = { {&_swigt__p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinePatternElement[] = { {&_swigt__p_SoLinePatternElement, 0, 0, 0}, {&_swigt__p_SoGLLinePatternElement, _p_SoGLLinePatternElementTo_p_SoLinePatternElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineSet[] = { {&_swigt__p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineWidthElement[] = { {&_swigt__p_SoLineWidthElement, 0, 0, 0}, {&_swigt__p_SoGLLineWidthElement, _p_SoGLLineWidthElementTo_p_SoLineWidthElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinearProfile[] = { {&_swigt__p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListener[] = { {&_swigt__p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerDopplerElement[] = { {&_swigt__p_SoListenerDopplerElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerGainElement[] = { {&_swigt__p_SoListenerGainElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerOrientationElement[] = { {&_swigt__p_SoListenerOrientationElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListenerPositionElement[] = { {&_swigt__p_SoListenerPositionElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocalBBoxMatrixElement[] = { {&_swigt__p_SoLocalBBoxMatrixElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocateHighlight[] = { {&_swigt__p_SoLocateHighlight, 0, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoLocateHighlight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocation2Event[] = { {&_swigt__p_SoLocation2Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLockManager[] = { {&_swigt__p_SoLockManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBitMask[] = { {&_swigt__p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBool[] = { {&_swigt__p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColor[] = { {&_swigt__p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEngine[] = { {&_swigt__p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEnum[] = { {&_swigt__p_SoMFEnum, 0, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMFEnum, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFFloat[] = { {&_swigt__p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFInt32[] = { {&_swigt__p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFMatrix[] = { {&_swigt__p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFName[] = { {&_swigt__p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFNode[] = { {&_swigt__p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPath[] = { {&_swigt__p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPlane[] = { {&_swigt__p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFRotation[] = { {&_swigt__p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFShort[] = { {&_swigt__p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFString[] = { {&_swigt__p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFTime[] = { {&_swigt__p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUInt32[] = { {&_swigt__p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUShort[] = { {&_swigt__p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2f[] = { {&_swigt__p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3d[] = { {&_swigt__p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3f[] = { {&_swigt__p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4f[] = { {&_swigt__p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMField[] = { {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMField, 0, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMarkerSet[] = { {&_swigt__p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterial[] = { {&_swigt__p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBinding[] = { {&_swigt__p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBindingElement[] = { {&_swigt__p_SoMaterialBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBundle[] = { {&_swigt__p_SoMaterialBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMatrixTransform[] = { {&_swigt__p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMemoryError[] = { {&_swigt__p_SoMemoryError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoModelMatrixElement[] = { {&_swigt__p_SoModelMatrixElement, 0, 0, 0}, {&_swigt__p_SoBBoxModelMatrixElement, _p_SoBBoxModelMatrixElementTo_p_SoModelMatrixElement, 0, 0}, {&_swigt__p_SoGLModelMatrixElement, _p_SoGLModelMatrixElementTo_p_SoModelMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMotion3Event[] = { {&_swigt__p_SoMotion3Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMouseButtonEvent[] = { {&_swigt__p_SoMouseButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureCoordinateElement[] = { {&_swigt__p_SoMultiTextureCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureCoordinateElement, _p_SoGLMultiTextureCoordinateElementTo_p_SoMultiTextureCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureEnabledElement[] = { {&_swigt__p_SoMultiTextureEnabledElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureEnabledElement, _p_SoGLMultiTextureEnabledElementTo_p_SoMultiTextureEnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureImageElement[] = { {&_swigt__p_SoMultiTextureImageElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureImageElement, _p_SoGLMultiTextureImageElementTo_p_SoMultiTextureImageElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultiTextureMatrixElement[] = { {&_swigt__p_SoMultiTextureMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLMultiTextureMatrixElement, _p_SoGLMultiTextureMatrixElementTo_p_SoMultiTextureMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultipleCopy[] = { {&_swigt__p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNode[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoNode, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoNode, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoNode, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoNode, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoNode, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoNode, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoNode, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoNode, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoNode, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoNode, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoNode, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoNode, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoNode, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoNode, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoNode, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoNode, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoNode, 0, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoNode, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeEngine[] = { {&_swigt__p_SoNodeEngine, 0, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNodeEngine, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNodeEngine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKit[] = { {&_swigt__p_SoNodeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitDetail[] = { {&_swigt__p_SoNodeKitDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitListPart[] = { {&_swigt__p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitPath[] = { {&_swigt__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeList[] = { {&_swigt__p_SoNodeList, 0, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SoNodeList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeSensor[] = { {&_swigt__p_SoNodeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodekitCatalog[] = { {&_swigt__p_SoNodekitCatalog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNonIndexedShape[] = { {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNonIndexedShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, 0, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNonIndexedShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormal[] = { {&_swigt__p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBinding[] = { {&_swigt__p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBindingElement[] = { {&_swigt__p_SoNormalBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBundle[] = { {&_swigt__p_SoNormalBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalCache[] = { {&_swigt__p_SoNormalCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalElement[] = { {&_swigt__p_SoNormalElement, 0, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoNormalElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalGenerator[] = { {&_swigt__p_SoNormalGenerator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotList[] = { {&_swigt__p_SoNotList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotRec[] = { {&_swigt__p_SoNotRec, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsCurve[] = { {&_swigt__p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsProfile[] = { {&_swigt__p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsSurface[] = { {&_swigt__p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOffscreenRenderer[] = { {&_swigt__p_SoOffscreenRenderer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOnOff[] = { {&_swigt__p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShot[] = { {&_swigt__p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShotSensor[] = { {&_swigt__p_SoOneShotSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOrthographicCamera[] = { {&_swigt__p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOutput[] = { {&_swigt__p_SoOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOverrideElement[] = { {&_swigt__p_SoOverrideElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPSVectorOutput[] = { {&_swigt__p_SoPSVectorOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPackedColor[] = { {&_swigt__p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPath[] = { {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoPath, 0, 0}, {&_swigt__p_SoPath, 0, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathList[] = { {&_swigt__p_SoPathList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSensor[] = { {&_swigt__p_SoPathSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSwitch[] = { {&_swigt__p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPendulum[] = { {&_swigt__p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPerspectiveCamera[] = { {&_swigt__p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickAction[] = { {&_swigt__p_SoPickAction, 0, 0, 0}, {&_swigt__p_SoRayPickAction, _p_SoRayPickActionTo_p_SoPickAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickRayElement[] = { {&_swigt__p_SoPickRayElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyle[] = { {&_swigt__p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyleElement[] = { {&_swigt__p_SoPickStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPoint[] = { {&_swigt__p_SoPickedPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPointList[] = { {&_swigt__p_SoPickedPointList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointDetail[] = { {&_swigt__p_SoPointDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLight[] = { {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoPointLight, 0, 0}, {&_swigt__p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightDragger[] = { {&_swigt__p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightManip[] = { {&_swigt__p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSet[] = { {&_swigt__p_SoPointSet, 0, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoPointSet, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSizeElement[] = { {&_swigt__p_SoPointSizeElement, 0, 0, 0}, {&_swigt__p_SoGLPointSizeElement, _p_SoGLPointSizeElementTo_p_SoPointSizeElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffset[] = { {&_swigt__p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffsetElement[] = { {&_swigt__p_SoPolygonOffsetElement, 0, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoPolygonOffsetElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffsetElement__Style[] = { {&_swigt__p_SoPolygonOffsetElement__Style, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPrimitiveVertex[] = { {&_swigt__p_SoPrimitiveVertex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfile[] = { {&_swigt__p_SoProfile, 0, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoProfile, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoProfile, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate2[] = { {&_swigt__p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate3[] = { {&_swigt__p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinateElement[] = { {&_swigt__p_SoProfileCoordinateElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileElement[] = { {&_swigt__p_SoProfileElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProjectionMatrixElement[] = { {&_swigt__p_SoProjectionMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoProjectionMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProto[] = { {&_swigt__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProtoInstance[] = { {&_swigt__p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQuadMesh[] = { {&_swigt__p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRayPickAction[] = { {&_swigt__p_SoRayPickAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReadError[] = { {&_swigt__p_SoReadError, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoReplacedElement[] = { {&_swigt__p_SoNormalElement, _p_SoNormalElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLNormalElement, _p_SoGLNormalElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoTextureCoordinateElement, _p_SoTextureCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoAmbientColorElement, _p_SoAmbientColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoBumpMapCoordinateElement, _p_SoBumpMapCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoBumpMapElement, _p_SoBumpMapElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoCoordinateElement, _p_SoCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoDiffuseColorElement, _p_SoDiffuseColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLCoordinateElement, _p_SoGLCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoEnvironmentElement, _p_SoEnvironmentElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLEnvironmentElement, _p_SoGLEnvironmentElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoFontNameElement, _p_SoFontNameElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoTextureImageElement, _p_SoTextureImageElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoLightAttenuationElement, _p_SoLightAttenuationElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoPolygonOffsetElement, _p_SoPolygonOffsetElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLPolygonOffsetElement, _p_SoGLPolygonOffsetElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoProjectionMatrixElement, _p_SoProjectionMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLProjectionMatrixElement, _p_SoGLProjectionMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoProfileCoordinateElement, _p_SoProfileCoordinateElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoReplacedElement, 0, 0, 0}, {&_swigt__p_SoTransparencyElement, _p_SoTransparencyElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoShininessElement, _p_SoShininessElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoEmissiveColorElement, _p_SoEmissiveColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoSpecularColorElement, _p_SoSpecularColorElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoSoundElement, _p_SoSoundElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerDopplerElement, _p_SoListenerDopplerElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerOrientationElement, _p_SoListenerOrientationElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoListenerPositionElement, _p_SoListenerPositionElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLColorIndexElement, _p_SoGLColorIndexElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoViewVolumeElement, _p_SoViewVolumeElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoViewingMatrixElement, _p_SoViewingMatrixElementTo_p_SoReplacedElement, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoReplacedElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoResetTransform[] = { {&_swigt__p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateCylindricalDragger[] = { {&_swigt__p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateDiscDragger[] = { {&_swigt__p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateSphericalDragger[] = { {&_swigt__p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotation[] = { {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoRotation, 0, 0}, {&_swigt__p_SoRotation, 0, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoRotation, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotationXYZ[] = { {&_swigt__p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotor[] = { {&_swigt__p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBitMask[] = { {&_swigt__p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBool[] = { {&_swigt__p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3s[] = { {&_swigt__p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColor[] = { {&_swigt__p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEngine[] = { {&_swigt__p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEnum[] = { {&_swigt__p_SoSFEnum, 0, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSFEnum, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFFloat[] = { {&_swigt__p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage[] = { {&_swigt__p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage3[] = { {&_swigt__p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFInt32[] = { {&_swigt__p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFMatrix[] = { {&_swigt__p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFName[] = { {&_swigt__p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFNode[] = { {&_swigt__p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPath[] = { {&_swigt__p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPlane[] = { {&_swigt__p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFRotation[] = { {&_swigt__p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFShort[] = { {&_swigt__p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFString[] = { {&_swigt__p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTime[] = { {&_swigt__p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTrigger[] = { {&_swigt__p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUInt32[] = { {&_swigt__p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUShort[] = { {&_swigt__p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2f[] = { {&_swigt__p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2s[] = { {&_swigt__p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3d[] = { {&_swigt__p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3f[] = { {&_swigt__p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3s[] = { {&_swigt__p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4f[] = { {&_swigt__p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSField[] = { {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoSField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoSField, 0, 0}, {&_swigt__p_SoSField, 0, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoSField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale[] = { {&_swigt__p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale1Dragger[] = { {&_swigt__p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2Dragger[] = { {&_swigt__p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2UniformDragger[] = { {&_swigt__p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScaleUniformDragger[] = { {&_swigt__p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneKit[] = { {&_swigt__p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneManager[] = { {&_swigt__p_SoSceneManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTexture2[] = { {&_swigt__p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSearchAction[] = { {&_swigt__p_SoSearchAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelectOne[] = { {&_swigt__p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelection[] = { {&_swigt__p_SoSelection, 0, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSelection, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSensor[] = { {&_swigt__p_SoFieldSensor, _p_SoFieldSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoOneShotSensor, _p_SoOneShotSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoPathSensor, _p_SoPathSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoTimerSensor, _p_SoTimerSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoSensor, 0, 0, 0}, {&_swigt__p_SoDelayQueueSensor, _p_SoDelayQueueSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoDataSensor, _p_SoDataSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoNodeSensor, _p_SoNodeSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoIdleSensor, _p_SoIdleSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoTimerQueueSensor, _p_SoTimerQueueSensorTo_p_SoSensor, 0, 0}, {&_swigt__p_SoAlarmSensor, _p_SoAlarmSensorTo_p_SoSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSensorManager[] = { {&_swigt__p_SoSensorManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparator[] = { {&_swigt__p_SoSeparator, 0, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoSeparator, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSeparator, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparatorKit[] = { {&_swigt__p_SoSeparatorKit, 0, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoSeparatorKit, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoSeparatorKit, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShape[] = { {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoShape, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoShape, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoShape, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoShape, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoShape, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoShape, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoShape, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoShape, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoShape, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoShape, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoShape, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoShape, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoShape, 0, 0}, {&_swigt__p_SoShape, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoShape, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHints[] = { {&_swigt__p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement[] = { {&_swigt__p_SoShapeHintsElement, 0, 0, 0}, {&_swigt__p_SoGLShapeHintsElement, _p_SoGLShapeHintsElementTo_p_SoShapeHintsElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__FaceType[] = { {&_swigt__p_SoShapeHintsElement__FaceType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__ShapeType[] = { {&_swigt__p_SoShapeHintsElement__ShapeType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHintsElement__VertexOrdering[] = { {&_swigt__p_SoShapeHintsElement__VertexOrdering, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeKit[] = { {&_swigt__p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeStyleElement[] = { {&_swigt__p_SoShapeStyleElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShininessElement[] = { {&_swigt__p_SoShininessElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShuttle[] = { {&_swigt__p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSoundElement[] = { {&_swigt__p_SoSoundElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpaceballButtonEvent[] = { {&_swigt__p_SoSpaceballButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpecularColorElement[] = { {&_swigt__p_SoSpecularColorElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSphere[] = { {&_swigt__p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLight[] = { {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoSpotLight, 0, 0}, {&_swigt__p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightDragger[] = { {&_swigt__p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightManip[] = { {&_swigt__p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoState[] = { {&_swigt__p_SoState, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSurroundScale[] = { {&_swigt__p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitch[] = { {&_swigt__p_SoSwitch, 0, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoSwitch, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitchElement[] = { {&_swigt__p_SoSwitchElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxDragger[] = { {&_swigt__p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxManip[] = { {&_swigt__p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabPlaneDragger[] = { {&_swigt__p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTempPath[] = { {&_swigt__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText2[] = { {&_swigt__p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText3[] = { {&_swigt__p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextDetail[] = { {&_swigt__p_SoTextDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextOutlineEnabledElement[] = { {&_swigt__p_SoTextOutlineEnabledElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2[] = { {&_swigt__p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Transform[] = { {&_swigt__p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3[] = { {&_swigt__p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3EnabledElement[] = { {&_swigt__p_SoTexture3EnabledElement, 0, 0, 0}, {&_swigt__p_SoGLTexture3EnabledElement, _p_SoGLTexture3EnabledElementTo_p_SoTexture3EnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3Transform[] = { {&_swigt__p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombine[] = { {&_swigt__p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement[] = { {&_swigt__p_SoTextureCombineElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Operand[] = { {&_swigt__p_SoTextureCombineElement__Operand, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Operation[] = { {&_swigt__p_SoTextureCombineElement__Operation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombineElement__Source[] = { {&_swigt__p_SoTextureCombineElement__Source, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate2[] = { {&_swigt__p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate3[] = { {&_swigt__p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBinding[] = { {&_swigt__p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBindingElement[] = { {&_swigt__p_SoTextureCoordinateBindingElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBundle[] = { {&_swigt__p_SoTextureCoordinateBundle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCache[] = { {&_swigt__p_SoTextureCoordinateCache, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCube[] = { {&_swigt__p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCylinder[] = { {&_swigt__p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateDefault[] = { {&_swigt__p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateElement[] = { {&_swigt__p_SoTextureCoordinateElement, 0, 0, 0}, {&_swigt__p_SoGLTextureCoordinateElement, _p_SoGLTextureCoordinateElementTo_p_SoTextureCoordinateElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateEnvironment[] = { {&_swigt__p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateFunction[] = { {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, 0, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoTextureCoordinateFunction, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoTextureCoordinateFunction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinatePlane[] = { {&_swigt__p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateSphere[] = { {&_swigt__p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureEnabledElement[] = { {&_swigt__p_SoTextureEnabledElement, 0, 0, 0}, {&_swigt__p_SoGLTextureEnabledElement, _p_SoGLTextureEnabledElementTo_p_SoTextureEnabledElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement[] = { {&_swigt__p_SoTextureImageElement, 0, 0, 0}, {&_swigt__p_SoGLTextureImageElement, _p_SoGLTextureImageElementTo_p_SoTextureImageElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement__Model[] = { {&_swigt__p_SoTextureImageElement__Model, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureImageElement__Wrap[] = { {&_swigt__p_SoTextureImageElement__Wrap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureMatrixElement[] = { {&_swigt__p_SoTextureMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLTextureMatrixElement, _p_SoGLTextureMatrixElementTo_p_SoTextureMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureOverrideElement[] = { {&_swigt__p_SoTextureOverrideElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureQualityElement[] = { {&_swigt__p_SoTextureQualityElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureScalePolicy[] = { {&_swigt__p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnit[] = { {&_swigt__p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnitElement[] = { {&_swigt__p_SoTextureUnitElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimeCounter[] = { {&_swigt__p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimerQueueSensor[] = { {&_swigt__p_SoTimerSensor, _p_SoTimerSensorTo_p_SoTimerQueueSensor, 0, 0}, {&_swigt__p_SoTimerQueueSensor, 0, 0, 0}, {&_swigt__p_SoAlarmSensor, _p_SoAlarmSensorTo_p_SoTimerQueueSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimerSensor[] = { {&_swigt__p_SoTimerSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoToVRML2Action[] = { {&_swigt__p_SoToVRML2Action, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoToVRMLAction[] = { {&_swigt__p_SoToVRMLAction, 0, 0, 0}, {&_swigt__p_SoToVRML2Action, _p_SoToVRML2ActionTo_p_SoToVRMLAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballDragger[] = { {&_swigt__p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballManip[] = { {&_swigt__p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranReceiver[] = { {&_swigt__p_SoTranReceiver, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranSender[] = { {&_swigt__p_SoTranSender, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransform[] = { {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTransform, 0, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransform, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransform, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxDragger[] = { {&_swigt__p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxManip[] = { {&_swigt__p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformManip[] = { {&_swigt__p_SoTransformManip, 0, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransformManip, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransformManip, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformSeparator[] = { {&_swigt__p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformVec3f[] = { {&_swigt__p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformation[] = { {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformation, 0, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoTransformation, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoTransformation, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerDragger[] = { {&_swigt__p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerManip[] = { {&_swigt__p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate1Dragger[] = { {&_swigt__p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate2Dragger[] = { {&_swigt__p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslation[] = { {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoTranslation, 0, 0}, {&_swigt__p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyElement[] = { {&_swigt__p_SoTransparencyElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyType[] = { {&_swigt__p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriangleStripSet[] = { {&_swigt__p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriggerAny[] = { {&_swigt__p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoType[] = { {&_swigt__p_SoType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTypeList[] = { {&_swigt__p_SoTypeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnits[] = { {&_swigt__p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnitsElement[] = { {&_swigt__p_SoUnitsElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAnchor[] = { {&_swigt__p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAppearance[] = { {&_swigt__p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAudioClip[] = { {&_swigt__p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBackground[] = { {&_swigt__p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBillboard[] = { {&_swigt__p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBox[] = { {&_swigt__p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCollision[] = { {&_swigt__p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColor[] = { {&_swigt__p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColorInterpolator[] = { {&_swigt__p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCone[] = { {&_swigt__p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinate[] = { {&_swigt__p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinateInterpolator[] = { {&_swigt__p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinder[] = { {&_swigt__p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinderSensor[] = { {&_swigt__p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDirectionalLight[] = { {&_swigt__p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDragSensor[] = { {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoVRMLDragSensor, 0, 0}, {&_swigt__p_SoVRMLDragSensor, 0, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoVRMLDragSensor, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoVRMLDragSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLElevationGrid[] = { {&_swigt__p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLExtrusion[] = { {&_swigt__p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFog[] = { {&_swigt__p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFontStyle[] = { {&_swigt__p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGeometry[] = { {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoVRMLGeometry, 0, 0}, {&_swigt__p_SoVRMLGeometry, 0, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoVRMLGeometry, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGroup[] = { {&_swigt__p_SoVRMLGroup, 0, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoVRMLGroup, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoVRMLGroup, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLImageTexture[] = { {&_swigt__p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedFaceSet[] = { {&_swigt__p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLine[] = { {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLIndexedLine, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLineSet[] = { {&_swigt__p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedShape[] = { {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLIndexedShape, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInline[] = { {&_swigt__p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInterpolator[] = { {&_swigt__p_SoVRMLInterpolator, 0, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoVRMLInterpolator, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoVRMLInterpolator, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLOD[] = { {&_swigt__p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLight[] = { {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoVRMLLight, 0, 0}, {&_swigt__p_SoVRMLLight, 0, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoVRMLLight, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoVRMLLight, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMaterial[] = { {&_swigt__p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMovieTexture[] = { {&_swigt__p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNavigationInfo[] = { {&_swigt__p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormal[] = { {&_swigt__p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormalInterpolator[] = { {&_swigt__p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLOrientationInterpolator[] = { {&_swigt__p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLParent[] = { {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLParent, 0, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoVRMLParent, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoVRMLParent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPixelTexture[] = { {&_swigt__p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPlaneSensor[] = { {&_swigt__p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointLight[] = { {&_swigt__p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointSet[] = { {&_swigt__p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPositionInterpolator[] = { {&_swigt__p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLProximitySensor[] = { {&_swigt__p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScalarInterpolator[] = { {&_swigt__p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScript[] = { {&_swigt__p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSensor[] = { {&_swigt__p_SoVRMLSensor, 0, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoVRMLSensor, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoVRMLSensor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLShape[] = { {&_swigt__p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSound[] = { {&_swigt__p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphere[] = { {&_swigt__p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphereSensor[] = { {&_swigt__p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSpotLight[] = { {&_swigt__p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSwitch[] = { {&_swigt__p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLText[] = { {&_swigt__p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTexture[] = { {&_swigt__p_SoVRMLTexture, 0, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoVRMLTexture, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoVRMLTexture, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoVRMLTexture, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureCoordinate[] = { {&_swigt__p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureTransform[] = { {&_swigt__p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTimeSensor[] = { {&_swigt__p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTouchSensor[] = { {&_swigt__p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTransform[] = { {&_swigt__p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexLine[] = { {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoVRMLVertexLine, 0, 0}, {&_swigt__p_SoVRMLVertexLine, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoVRMLVertexLine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexPoint[] = { {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoVRMLVertexPoint, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexShape[] = { {&_swigt__p_SoVRMLVertexShape, 0, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoVRMLVertexShape, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoVRMLVertexShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLViewpoint[] = { {&_swigt__p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVisibilitySensor[] = { {&_swigt__p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLWorldInfo[] = { {&_swigt__p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorOutput[] = { {&_swigt__p_SoVectorOutput, 0, 0, 0}, {&_swigt__p_SoPSVectorOutput, _p_SoPSVectorOutputTo_p_SoVectorOutput, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorizeAction[] = { {&_swigt__p_SoVectorizeAction, 0, 0, 0}, {&_swigt__p_SoVectorizePSAction, _p_SoVectorizePSActionTo_p_SoVectorizeAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVectorizePSAction[] = { {&_swigt__p_SoVectorizePSAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexProperty[] = { {&_swigt__p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShape[] = { {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoVertexShape, 0, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoVertexShape, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoVertexShape, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewVolumeElement[] = { {&_swigt__p_SoViewVolumeElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewingMatrixElement[] = { {&_swigt__p_SoViewingMatrixElement, 0, 0, 0}, {&_swigt__p_SoGLViewingMatrixElement, _p_SoGLViewingMatrixElementTo_p_SoViewingMatrixElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoViewportRegionElement[] = { {&_swigt__p_SoViewportRegionElement, 0, 0, 0}, {&_swigt__p_SoGLViewportRegionElement, _p_SoGLViewportRegionElementTo_p_SoViewportRegionElement, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWAnchor[] = { {&_swigt__p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWInline[] = { {&_swigt__p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWindowElement[] = { {&_swigt__p_SoWindowElement, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWrapperKit[] = { {&_swigt__p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWriteAction[] = { {&_swigt__p_SoWriteAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p___int64[] = { {&_swigt__p___int64, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__doublep[] = {{&_swigt__p_a_4__a_4__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__double[] = { {&_swigt__p_a_4__a_4__double, 0, 0, 0}, {&_swigt__p_a_4__a_4__doublep, _p_a_4__a_4__doublepTo_p_a_4__a_4__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__floatp[] = {{&_swigt__p_a_4__a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__float[] = { {&_swigt__p_a_4__a_4__float, 0, 0, 0}, {&_swigt__p_a_4__a_4__floatp, _p_a_4__a_4__floatpTo_p_a_4__a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__floatp[] = {{&_swigt__p_a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__float[] = { {&_swigt__p_a_4__float, 0, 0, 0}, {&_swigt__p_a_4__floatp, _p_a_4__floatpTo_p_a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_cc_glglue[] = { {&_swigt__p_cc_glglue, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_char[] = { {&_swigt__p_charp, _p_charpTo_p_char, 0, 0}, {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_charp[] = { {&_swigt__p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_close_func[] = { {&_swigt__p_close_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0}, {&_swigt__p_doublep, _p_doublepTo_p_double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_doublep[] = { {&_swigt__p_doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__charp[] = {{&_swigt__p_f_char__charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__char[] = { {&_swigt__p_f_char__charp, _p_f_char__charpTo_p_f_char__char, 0, 0}, {&_swigt__p_f_char__char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void__intp[] = {{&_swigt__p_f_float_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void__int[] = { {&_swigt__p_f_float_p_void__int, 0, 0, 0}, {&_swigt__p_f_float_p_void__intp, _p_f_float_p_void__intpTo_p_f_float_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoAction_p_SoNode__void[] = { {&_swigt__p_f_p_SoAction_p_SoNode__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto[] = { {&_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_q_const__SoError_p_void__void[] = { {&_swigt__p_f_p_q_const__SoError_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__SoGLRenderAction__AbortCode[] = { {&_swigt__p_f_p_void__SoGLRenderAction__AbortCode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__floatp[] = {{&_swigt__p_f_p_void__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__float[] = { {&_swigt__p_f_p_void__float, 0, 0, 0}, {&_swigt__p_f_p_void__floatp, _p_f_p_void__floatpTo_p_f_p_void__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__intp[] = {{&_swigt__p_f_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__int[] = { {&_swigt__p_f_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void__intp, _p_f_p_void__intpTo_p_f_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__p_void[] = { {&_swigt__p_f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__void[] = { {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_int__void[] = { {&_swigt__p_f_p_void_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp[] = {{&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int[] = { {&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, _p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoAction__void[] = { {&_swigt__p_f_p_void_p_SoAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoDragger__void[] = { {&_swigt__p_f_p_void_p_SoDragger__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoEventCallback__void[] = { {&_swigt__p_f_p_void_p_SoEventCallback__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__void[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoInput__void[] = { {&_swigt__p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoPath__void[] = { {&_swigt__p_f_p_void_p_SoPath__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSceneManager__void[] = { {&_swigt__p_f_p_void_p_SoSceneManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSelection__void[] = { {&_swigt__p_f_p_void_p_SoSelection__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSensor__void[] = { {&_swigt__p_f_p_void_p_SoSensor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__intp[] = {{&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__int[] = { {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, _p_f_p_void_p_SoVRMLAudioClip_p_void__intpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__longp[] = {{&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__long[] = { {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, _p_f_p_void_p_SoVRMLAudioClip_p_void__longpTo_p_f_p_void_p_SoVRMLAudioClip_p_void__long, 0, 0}, {&_swigt__p_f_p_void_p_SoVRMLAudioClip_p_void__long, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLScript__void[] = { {&_swigt__p_f_p_void_p_SoVRMLScript__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp[] = { {&_swigt__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, _p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, _p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp[] = {{&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int[] = { {&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, _p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intpTo_p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__intp[] = {{&_swigt__p_f_p_void_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__int[] = { {&_swigt__p_f_p_void_p_void__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_void__intp, _p_f_p_void_p_void__intpTo_p_f_p_void_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t[] = { {&_swigt__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_size_t__p_void[] = { {&_swigt__p_f_p_void_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_unsigned_int__void[] = { {&_swigt__p_f_p_void_unsigned_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp[] = {{&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int[] = { {&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, _p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intpTo_p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_SbBox3f__void[] = { {&_swigt__p_f_q_const__p_void_r_SbBox3f__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbBox3f__intp, _p_f_q_const__p_void_r_q_const__SbBox3f__intpTo_p_f_q_const__p_void_r_q_const__SbBox3f__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbSphere__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbSphere__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__intp, _p_f_q_const__p_void_r_q_const__SbSphere__intpTo_p_f_q_const__p_void_r_q_const__SbSphere__int, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbSphere__int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__intp[] = {{&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__int[] = { {&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__int, 0, 0, 0}, {&_swigt__p_f_q_const__p_void_r_q_const__SbVec3f__intp, _p_f_q_const__p_void_r_q_const__SbVec3f__intpTo_p_f_q_const__p_void_r_q_const__SbVec3f__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__unsigned_long__unsigned_long[] = { {&_swigt__p_f_q_const__unsigned_long__unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbName_float_int_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbName_float_int_p_void__int[] = { {&_swigt__p_f_r_q_const__SbName_float_int_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbName_float_int_p_void__intp, _p_f_r_q_const__SbName_float_int_p_void__intpTo_p_f_r_q_const__SbName_float_int_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int[] = { {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, _p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, _p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_unsigned_int_p_void__void[] = { {&_swigt__p_f_unsigned_int_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_unsigned_long_p_void__void[] = { {&_swigt__p_f_unsigned_long_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_unsigned_long_p_void_p_void__void[] = { {&_swigt__p_f_unsigned_long_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_void__p_void[] = { {&_swigt__p_f_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0}, {&_swigt__p_floatp, _p_floatpTo_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_floatp[] = { {&_swigt__p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int[] = { {&_swigt__p_intp, _p_intpTo_p_int, 0, 0}, {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_intp[] = { {&_swigt__p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0}, {&_swigt__p_longp, _p_longpTo_p_long, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_longp[] = { {&_swigt__p_longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_open_func[] = { {&_swigt__p_open_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbName[] = { {&_swigt__p_p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbString[] = { {&_swigt__p_p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SbVec2f[] = { {&_swigt__p_p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoClipPlane[] = {{&_swigt__p_p_SoClipPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMapCoordinate[] = {{&_swigt__p_p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCoordinate[] = {{&_swigt__p_p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTextureCoordinate[] = {{&_swigt__p_p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCombine[] = {{&_swigt__p_p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLightKit[] = {{&_swigt__p_p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedTriangleStripSet[] = {{&_swigt__p_p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTriangleStripSet[] = {{&_swigt__p_p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLExtrusion[] = {{&_swigt__p_p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOnOff[] = {{&_swigt__p_p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBaseKit[] = {{&_swigt__p_p_SoBaseKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSelection[] = {{&_swigt__p_p_SoSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoExtSelection[] = {{&_swigt__p_p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexProperty[] = {{&_swigt__p_p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotationXYZ[] = {{&_swigt__p_p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComplexity[] = {{&_swigt__p_p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBillboard[] = {{&_swigt__p_p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLightModel[] = {{&_swigt__p_p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoUnits[] = {{&_swigt__p_p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShapeKit[] = {{&_swigt__p_p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAnnotation[] = {{&_swigt__p_p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeRotation[] = {{&_swigt__p_p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeRotation[] = {{&_swigt__p_p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateRotation[] = {{&_swigt__p_p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotation[] = {{&_swigt__p_p_SoRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedNurbsSurface[] = {{&_swigt__p_p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsSurface[] = {{&_swigt__p_p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLinearProfile[] = {{&_swigt__p_p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfile[] = {{&_swigt__p_p_SoProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsProfile[] = {{&_swigt__p_p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFieldConverter[] = {{&_swigt__p_p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLParent[] = {{&_swigt__p_p_SoVRMLParent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec2f[] = {{&_swigt__p_p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLLight[] = {{&_swigt__p_p_SoVRMLLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoClipPlaneManip[] = {{&_swigt__p_p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAsciiText[] = {{&_swigt__p_p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLGeometry[] = {{&_swigt__p_p_SoVRMLGeometry, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCylinder[] = {{&_swigt__p_p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateCylinder[] = {{&_swigt__p_p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCylinder[] = {{&_swigt__p_p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNavigationInfo[] = {{&_swigt__p_p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComputeBoundingBox[] = {{&_swigt__p_p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMatrixTransform[] = {{&_swigt__p_p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMapTransform[] = {{&_swigt__p_p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransform[] = {{&_swigt__p_p_SoTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoResetTransform[] = {{&_swigt__p_p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture2Transform[] = {{&_swigt__p_p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture3Transform[] = {{&_swigt__p_p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTextureTransform[] = {{&_swigt__p_p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTransform[] = {{&_swigt__p_p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec3f[] = {{&_swigt__p_p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec3f[] = {{&_swigt__p_p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSeparatorKit[] = {{&_swigt__p_p_SoSeparatorKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexLine[] = {{&_swigt__p_p_SoVRMLVertexLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFullPath[] = {{&_swigt__p_p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLight[] = {{&_swigt__p_p_SoLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSound[] = {{&_swigt__p_p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeEngine[] = {{&_swigt__p_p_SoNodeEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPointSet[] = {{&_swigt__p_p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointSet[] = {{&_swigt__p_p_SoPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLMaterial[] = {{&_swigt__p_p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMaterial[] = {{&_swigt__p_p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBaseColor[] = {{&_swigt__p_p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTriggerAny[] = {{&_swigt__p_p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoColorIndex[] = {{&_swigt__p_p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLColor[] = {{&_swigt__p_p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLWorldInfo[] = {{&_swigt__p_p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSpotLight[] = {{&_swigt__p_p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLight[] = {{&_swigt__p_p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateDefault[] = {{&_swigt__p_p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBlinker[] = {{&_swigt__p_p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShuttle[] = {{&_swigt__p_p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLGroup[] = {{&_swigt__p_p_SoVRMLGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAnchor[] = {{&_swigt__p_p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSensor[] = {{&_swigt__p_p_SoVRMLSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCylinderSensor[] = {{&_swigt__p_p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTouchSensor[] = {{&_swigt__p_p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBoolOperation[] = {{&_swigt__p_p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMarkerSet[] = {{&_swigt__p_p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLightManip[] = {{&_swigt__p_p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLightManip[] = {{&_swigt__p_p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLightManip[] = {{&_swigt__p_p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedNurbsCurve[] = {{&_swigt__p_p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNurbsCurve[] = {{&_swigt__p_p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedShape[] = {{&_swigt__p_p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNonIndexedShape[] = {{&_swigt__p_p_SoNonIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedShape[] = {{&_swigt__p_p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotor[] = {{&_swigt__p_p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateCube[] = {{&_swigt__p_p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLText[] = {{&_swigt__p_p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOneShot[] = {{&_swigt__p_p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformerManip[] = {{&_swigt__p_p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec3f[] = {{&_swigt__p_p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateFloat[] = {{&_swigt__p_p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAntiSquish[] = {{&_swigt__p_p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGroup[] = {{&_swigt__p_p_SoGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMultipleCopy[] = {{&_swigt__p_p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoListener[] = {{&_swigt__p_p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec4f[] = {{&_swigt__p_p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec4f[] = {{&_swigt__p_p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformation[] = {{&_swigt__p_p_SoTransformation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFontStyle[] = {{&_swigt__p_p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLFontStyle[] = {{&_swigt__p_p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoImage[] = {{&_swigt__p_p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFieldContainer[] = {{&_swigt__p_p_SoFieldContainer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAppearance[] = {{&_swigt__p_p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLight[] = {{&_swigt__p_p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPointLight[] = {{&_swigt__p_p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformManip[] = {{&_swigt__p_p_SoTransformManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPolygonOffset[] = {{&_swigt__p_p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBackground[] = {{&_swigt__p_p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWWWAnchor[] = {{&_swigt__p_p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEventCallback[] = {{&_swigt__p_p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCallback[] = {{&_swigt__p_p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLDragSensor[] = {{&_swigt__p_p_SoVRMLDragSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPlaneSensor[] = {{&_swigt__p_p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLProximitySensor[] = {{&_swigt__p_p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSphereSensor[] = {{&_swigt__p_p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTimeSensor[] = {{&_swigt__p_p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVisibilitySensor[] = {{&_swigt__p_p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoJackManip[] = {{&_swigt__p_p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoOrthographicCamera[] = {{&_swigt__p_p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPerspectiveCamera[] = {{&_swigt__p_p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCamera[] = {{&_swigt__p_p_SoCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCameraKit[] = {{&_swigt__p_p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoArray[] = {{&_swigt__p_p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoElapsedTime[] = {{&_swigt__p_p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSphere[] = {{&_swigt__p_p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEnvironment[] = {{&_swigt__p_p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateEnvironment[] = {{&_swigt__p_p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDrawStyle[] = {{&_swigt__p_p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSelectOne[] = {{&_swigt__p_p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLBox[] = {{&_swigt__p_p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLFog[] = {{&_swigt__p_p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransparencyType[] = {{&_swigt__p_p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolateVec4f[] = {{&_swigt__p_p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSurroundScale[] = {{&_swigt__p_p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoConcatenate[] = {{&_swigt__p_p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVertexShape[] = {{&_swigt__p_p_SoVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexShape[] = {{&_swigt__p_p_SoVRMLVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCone[] = {{&_swigt__p_p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureUnit[] = {{&_swigt__p_p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTempPath[] = {{&_swigt__p_p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoAppearanceKit[] = {{&_swigt__p_p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCenterballDragger[] = {{&_swigt__p_p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLightDragger[] = {{&_swigt__p_p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDragPointDragger[] = {{&_swigt__p_p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoHandleBoxDragger[] = {{&_swigt__p_p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoJackDragger[] = {{&_swigt__p_p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPointLightDragger[] = {{&_swigt__p_p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateCylindricalDragger[] = {{&_swigt__p_p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateDiscDragger[] = {{&_swigt__p_p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoRotateSphericalDragger[] = {{&_swigt__p_p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale1Dragger[] = {{&_swigt__p_p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFile[] = {{&_swigt__p_p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDragger[] = {{&_swigt__p_p_SoDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale2Dragger[] = {{&_swigt__p_p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale2UniformDragger[] = {{&_swigt__p_p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScaleUniformDragger[] = {{&_swigt__p_p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSpotLightDragger[] = {{&_swigt__p_p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabBoxDragger[] = {{&_swigt__p_p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabPlaneDragger[] = {{&_swigt__p_p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTrackballDragger[] = {{&_swigt__p_p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformBoxDragger[] = {{&_swigt__p_p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformerDragger[] = {{&_swigt__p_p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslate1Dragger[] = {{&_swigt__p_p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslate2Dragger[] = {{&_swigt__p_p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPickStyle[] = {{&_swigt__p_p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLInterpolator[] = {{&_swigt__p_p_SoVRMLInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLColorInterpolator[] = {{&_swigt__p_p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCoordinateInterpolator[] = {{&_swigt__p_p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNormalInterpolator[] = {{&_swigt__p_p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLOrientationInterpolator[] = {{&_swigt__p_p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPositionInterpolator[] = {{&_swigt__p_p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLScalarInterpolator[] = {{&_swigt__p_p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCone[] = {{&_swigt__p_p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedLine[] = {{&_swigt__p_p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLTexture[] = {{&_swigt__p_p_SoVRMLTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLImageTexture[] = {{&_swigt__p_p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLMovieTexture[] = {{&_swigt__p_p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLPixelTexture[] = {{&_swigt__p_p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformVec3f[] = {{&_swigt__p_p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateFunction[] = {{&_swigt__p_p_SoTextureCoordinateFunction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeKitListPart[] = {{&_swigt__p_p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSphere[] = {{&_swigt__p_p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateSphere[] = {{&_swigt__p_p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSceneKit[] = {{&_swigt__p_p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPendulum[] = {{&_swigt__p_p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShapeHints[] = {{&_swigt__p_p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture2[] = {{&_swigt__p_p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSceneTexture2[] = {{&_swigt__p_p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTexture3[] = {{&_swigt__p_p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinatePlane[] = {{&_swigt__p_p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLAudioClip[] = {{&_swigt__p_p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTimeCounter[] = {{&_swigt__p_p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCounter[] = {{&_swigt__p_p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoQuadMesh[] = {{&_swigt__p_p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPathSwitch[] = {{&_swigt__p_p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLSwitch[] = {{&_swigt__p_p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoText2[] = {{&_swigt__p_p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSeparator[] = {{&_swigt__p_p_SoSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoText3[] = {{&_swigt__p_p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformSeparator[] = {{&_swigt__p_p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInteractionKit[] = {{&_swigt__p_p_SoInteractionKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBumpMap[] = {{&_swigt__p_p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfileCoordinate2[] = {{&_swigt__p_p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinate2[] = {{&_swigt__p_p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLNormal[] = {{&_swigt__p_p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCoordinate3[] = {{&_swigt__p_p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProfileCoordinate3[] = {{&_swigt__p_p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinate3[] = {{&_swigt__p_p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCoordinate4[] = {{&_swigt__p_p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLLOD[] = {{&_swigt__p_p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFont[] = {{&_swigt__p_p_SoFont, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeRotationFromTo[] = {{&_swigt__p_p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLocateHighlight[] = {{&_swigt__p_p_SoLocateHighlight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLElevationGrid[] = {{&_swigt__p_p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLShape[] = {{&_swigt__p_p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLVertexPoint[] = {{&_swigt__p_p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLViewpoint[] = {{&_swigt__p_p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMaterialBinding[] = {{&_swigt__p_p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNormalBinding[] = {{&_swigt__p_p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureCoordinateBinding[] = {{&_swigt__p_p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInterpolate[] = {{&_swigt__p_p_SoInterpolate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTransformBoxManip[] = {{&_swigt__p_p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTabBoxManip[] = {{&_swigt__p_p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoHandleBoxManip[] = {{&_swigt__p_p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLCollision[] = {{&_swigt__p_p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPackedColor[] = {{&_swigt__p_p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeMatrix[] = {{&_swigt__p_p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeMatrix[] = {{&_swigt__p_p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNodeKitPath[] = {{&_swigt__p_p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSwitch[] = {{&_swigt__p_p_SoSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedFaceSet[] = {{&_swigt__p_p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoFaceSet[] = {{&_swigt__p_p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTranslation[] = {{&_swigt__p_p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedFaceSet[] = {{&_swigt__p_p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoShape[] = {{&_swigt__p_p_SoShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTextureScalePolicy[] = {{&_swigt__p_p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLScript[] = {{&_swigt__p_p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNormal[] = {{&_swigt__p_p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLInline[] = {{&_swigt__p_p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCalculator[] = {{&_swigt__p_p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCube[] = {{&_swigt__p_p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWrapperKit[] = {{&_swigt__p_p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGate[] = {{&_swigt__p_p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoScale[] = {{&_swigt__p_p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLineSet[] = {{&_swigt__p_p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoIndexedLineSet[] = {{&_swigt__p_p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLabel[] = {{&_swigt__p_p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLIndexedLineSet[] = {{&_swigt__p_p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProtoInstance[] = {{&_swigt__p_p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoInfo[] = {{&_swigt__p_p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDecomposeVec2f[] = {{&_swigt__p_p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoComposeVec2f[] = {{&_swigt__p_p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoDirectionalLight[] = {{&_swigt__p_p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoVRMLDirectionalLight[] = {{&_swigt__p_p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoProto[] = {{&_swigt__p_p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoWWWInline[] = {{&_swigt__p_p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoCenterballManip[] = {{&_swigt__p_p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoTrackballManip[] = {{&_swigt__p_p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLOD[] = {{&_swigt__p_p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLevelOfDetail[] = {{&_swigt__p_p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBase[] = { {&_swigt__p_p_SoClipPlane, _p_p_SoClipPlaneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMapCoordinate, _p_p_SoBumpMapCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCoordinate, _p_p_SoVRMLCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTextureCoordinate, _p_p_SoVRMLTextureCoordinateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCombine, _p_p_SoTextureCombineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLightKit, _p_p_SoLightKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedTriangleStripSet, _p_p_SoIndexedTriangleStripSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTriangleStripSet, _p_p_SoTriangleStripSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLExtrusion, _p_p_SoVRMLExtrusionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOnOff, _p_p_SoOnOffTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBaseKit, _p_p_SoBaseKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSelection, _p_p_SoSelectionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoExtSelection, _p_p_SoExtSelectionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexProperty, _p_p_SoVertexPropertyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotationXYZ, _p_p_SoRotationXYZTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComplexity, _p_p_SoComplexityTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBillboard, _p_p_SoVRMLBillboardTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLightModel, _p_p_SoLightModelTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoUnits, _p_p_SoUnitsTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShapeKit, _p_p_SoShapeKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAnnotation, _p_p_SoAnnotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeRotation, _p_p_SoComposeRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeRotation, _p_p_SoDecomposeRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateRotation, _p_p_SoInterpolateRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotation, _p_p_SoRotationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedNurbsSurface, _p_p_SoIndexedNurbsSurfaceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsSurface, _p_p_SoNurbsSurfaceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLinearProfile, _p_p_SoLinearProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfile, _p_p_SoProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsProfile, _p_p_SoNurbsProfileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFieldConverter, _p_p_SoFieldConverterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLParent, _p_p_SoVRMLParentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec2f, _p_p_SoInterpolateVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLLight, _p_p_SoVRMLLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoClipPlaneManip, _p_p_SoClipPlaneManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAsciiText, _p_p_SoAsciiTextTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLGeometry, _p_p_SoVRMLGeometryTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCylinder, _p_p_SoCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCylinder, _p_p_SoTextureCoordinateCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCylinder, _p_p_SoVRMLCylinderTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNavigationInfo, _p_p_SoVRMLNavigationInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComputeBoundingBox, _p_p_SoComputeBoundingBoxTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMatrixTransform, _p_p_SoMatrixTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMapTransform, _p_p_SoBumpMapTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransform, _p_p_SoTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoResetTransform, _p_p_SoResetTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture2Transform, _p_p_SoTexture2TransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture3Transform, _p_p_SoTexture3TransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTextureTransform, _p_p_SoVRMLTextureTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTransform, _p_p_SoVRMLTransformTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec3f, _p_p_SoComposeVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec3f, _p_p_SoDecomposeVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPath, _p_p_SoPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSeparatorKit, _p_p_SoSeparatorKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexLine, _p_p_SoVRMLVertexLineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFullPath, _p_p_SoFullPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLight, _p_p_SoLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSound, _p_p_SoVRMLSoundTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeEngine, _p_p_SoNodeEngineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEngine, _p_p_SoEngineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPointSet, _p_p_SoVRMLPointSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointSet, _p_p_SoPointSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLMaterial, _p_p_SoVRMLMaterialTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMaterial, _p_p_SoMaterialTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBaseColor, _p_p_SoBaseColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTriggerAny, _p_p_SoTriggerAnyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoColorIndex, _p_p_SoColorIndexTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLColor, _p_p_SoVRMLColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLWorldInfo, _p_p_SoVRMLWorldInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSpotLight, _p_p_SoVRMLSpotLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLight, _p_p_SoSpotLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateDefault, _p_p_SoTextureCoordinateDefaultTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBlinker, _p_p_SoBlinkerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShuttle, _p_p_SoShuttleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLGroup, _p_p_SoVRMLGroupTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAnchor, _p_p_SoVRMLAnchorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSensor, _p_p_SoVRMLSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCylinderSensor, _p_p_SoVRMLCylinderSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTouchSensor, _p_p_SoVRMLTouchSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBoolOperation, _p_p_SoBoolOperationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMarkerSet, _p_p_SoMarkerSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLightManip, _p_p_SoSpotLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLightManip, _p_p_SoPointLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLightManip, _p_p_SoDirectionalLightManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedNurbsCurve, _p_p_SoIndexedNurbsCurveTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNurbsCurve, _p_p_SoNurbsCurveTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedShape, _p_p_SoIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNonIndexedShape, _p_p_SoNonIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedShape, _p_p_SoVRMLIndexedShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotor, _p_p_SoRotorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCube, _p_p_SoTextureCoordinateCubeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLText, _p_p_SoVRMLTextTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOneShot, _p_p_SoOneShotTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformerManip, _p_p_SoTransformerManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec3f, _p_p_SoInterpolateVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateFloat, _p_p_SoInterpolateFloatTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAntiSquish, _p_p_SoAntiSquishTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoGroup, _p_p_SoGroupTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMultipleCopy, _p_p_SoMultipleCopyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoListener, _p_p_SoListenerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec4f, _p_p_SoComposeVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec4f, _p_p_SoDecomposeVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformation, _p_p_SoTransformationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFontStyle, _p_p_SoFontStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLFontStyle, _p_p_SoVRMLFontStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoImage, _p_p_SoImageTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFieldContainer, _p_p_SoFieldContainerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAppearance, _p_p_SoVRMLAppearanceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLight, _p_p_SoPointLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPointLight, _p_p_SoVRMLPointLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformManip, _p_p_SoTransformManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPolygonOffset, _p_p_SoPolygonOffsetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBackground, _p_p_SoVRMLBackgroundTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWWWAnchor, _p_p_SoWWWAnchorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEventCallback, _p_p_SoEventCallbackTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCallback, _p_p_SoCallbackTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLDragSensor, _p_p_SoVRMLDragSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPlaneSensor, _p_p_SoVRMLPlaneSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLProximitySensor, _p_p_SoVRMLProximitySensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSphereSensor, _p_p_SoVRMLSphereSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTimeSensor, _p_p_SoVRMLTimeSensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVisibilitySensor, _p_p_SoVRMLVisibilitySensorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoJackManip, _p_p_SoJackManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoOrthographicCamera, _p_p_SoOrthographicCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPerspectiveCamera, _p_p_SoPerspectiveCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCamera, _p_p_SoCameraTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCameraKit, _p_p_SoCameraKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoArray, _p_p_SoArrayTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoElapsedTime, _p_p_SoElapsedTimeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSphere, _p_p_SoVRMLSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoEnvironment, _p_p_SoEnvironmentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateEnvironment, _p_p_SoTextureCoordinateEnvironmentTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDrawStyle, _p_p_SoDrawStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSelectOne, _p_p_SoSelectOneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLBox, _p_p_SoVRMLBoxTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLFog, _p_p_SoVRMLFogTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransparencyType, _p_p_SoTransparencyTypeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolateVec4f, _p_p_SoInterpolateVec4fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSurroundScale, _p_p_SoSurroundScaleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoConcatenate, _p_p_SoConcatenateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVertexShape, _p_p_SoVertexShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexShape, _p_p_SoVRMLVertexShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCone, _p_p_SoConeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureUnit, _p_p_SoTextureUnitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBase, 0, 0, 0}, {&_swigt__p_p_SoTempPath, _p_p_SoTempPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoAppearanceKit, _p_p_SoAppearanceKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCenterballDragger, _p_p_SoCenterballDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLightDragger, _p_p_SoDirectionalLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDragPointDragger, _p_p_SoDragPointDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoHandleBoxDragger, _p_p_SoHandleBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoJackDragger, _p_p_SoJackDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPointLightDragger, _p_p_SoPointLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateCylindricalDragger, _p_p_SoRotateCylindricalDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateDiscDragger, _p_p_SoRotateDiscDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoRotateSphericalDragger, _p_p_SoRotateSphericalDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale1Dragger, _p_p_SoScale1DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFile, _p_p_SoFileTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDragger, _p_p_SoDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale2Dragger, _p_p_SoScale2DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale2UniformDragger, _p_p_SoScale2UniformDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScaleUniformDragger, _p_p_SoScaleUniformDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSpotLightDragger, _p_p_SoSpotLightDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabBoxDragger, _p_p_SoTabBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabPlaneDragger, _p_p_SoTabPlaneDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTrackballDragger, _p_p_SoTrackballDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformBoxDragger, _p_p_SoTransformBoxDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformerDragger, _p_p_SoTransformerDraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslate1Dragger, _p_p_SoTranslate1DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslate2Dragger, _p_p_SoTranslate2DraggerTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPickStyle, _p_p_SoPickStyleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLInterpolator, _p_p_SoVRMLInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLColorInterpolator, _p_p_SoVRMLColorInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCoordinateInterpolator, _p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNormalInterpolator, _p_p_SoVRMLNormalInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLOrientationInterpolator, _p_p_SoVRMLOrientationInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPositionInterpolator, _p_p_SoVRMLPositionInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLScalarInterpolator, _p_p_SoVRMLScalarInterpolatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCone, _p_p_SoVRMLConeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLine, _p_p_SoVRMLIndexedLineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLTexture, _p_p_SoVRMLTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLImageTexture, _p_p_SoVRMLImageTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLMovieTexture, _p_p_SoVRMLMovieTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLPixelTexture, _p_p_SoVRMLPixelTextureTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformVec3f, _p_p_SoTransformVec3fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateFunction, _p_p_SoTextureCoordinateFunctionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeKitListPart, _p_p_SoNodeKitListPartTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSphere, _p_p_SoSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateSphere, _p_p_SoTextureCoordinateSphereTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSceneKit, _p_p_SoSceneKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPendulum, _p_p_SoPendulumTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShapeHints, _p_p_SoShapeHintsTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture2, _p_p_SoTexture2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSceneTexture2, _p_p_SoSceneTexture2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTexture3, _p_p_SoTexture3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinatePlane, _p_p_SoTextureCoordinatePlaneTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLAudioClip, _p_p_SoVRMLAudioClipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTimeCounter, _p_p_SoTimeCounterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCounter, _p_p_SoCounterTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoQuadMesh, _p_p_SoQuadMeshTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPathSwitch, _p_p_SoPathSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLSwitch, _p_p_SoVRMLSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoText2, _p_p_SoText2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSeparator, _p_p_SoSeparatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoText3, _p_p_SoText3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformSeparator, _p_p_SoTransformSeparatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInteractionKit, _p_p_SoInteractionKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoBumpMap, _p_p_SoBumpMapTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfileCoordinate2, _p_p_SoProfileCoordinate2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinate2, _p_p_SoTextureCoordinate2To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLNormal, _p_p_SoVRMLNormalTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCoordinate3, _p_p_SoCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProfileCoordinate3, _p_p_SoProfileCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinate3, _p_p_SoTextureCoordinate3To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCoordinate4, _p_p_SoCoordinate4To_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLLOD, _p_p_SoVRMLLODTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFont, _p_p_SoFontTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeRotationFromTo, _p_p_SoComposeRotationFromToTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLocateHighlight, _p_p_SoLocateHighlightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLElevationGrid, _p_p_SoVRMLElevationGridTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLShape, _p_p_SoVRMLShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLVertexPoint, _p_p_SoVRMLVertexPointTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLViewpoint, _p_p_SoVRMLViewpointTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoMaterialBinding, _p_p_SoMaterialBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNormalBinding, _p_p_SoNormalBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureCoordinateBinding, _p_p_SoTextureCoordinateBindingTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInterpolate, _p_p_SoInterpolateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTransformBoxManip, _p_p_SoTransformBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTabBoxManip, _p_p_SoTabBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoHandleBoxManip, _p_p_SoHandleBoxManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLCollision, _p_p_SoVRMLCollisionTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoPackedColor, _p_p_SoPackedColorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeMatrix, _p_p_SoComposeMatrixTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeMatrix, _p_p_SoDecomposeMatrixTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNodeKitPath, _p_p_SoNodeKitPathTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoSwitch, _p_p_SoSwitchTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedFaceSet, _p_p_SoIndexedFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoFaceSet, _p_p_SoFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTranslation, _p_p_SoTranslationTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedFaceSet, _p_p_SoVRMLIndexedFaceSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoShape, _p_p_SoShapeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTextureScalePolicy, _p_p_SoTextureScalePolicyTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLScript, _p_p_SoVRMLScriptTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNormal, _p_p_SoNormalTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLInline, _p_p_SoVRMLInlineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCalculator, _p_p_SoCalculatorTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCube, _p_p_SoCubeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWrapperKit, _p_p_SoWrapperKitTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoGate, _p_p_SoGateTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoScale, _p_p_SoScaleTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoNode, _p_p_SoNodeTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLineSet, _p_p_SoLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoIndexedLineSet, _p_p_SoIndexedLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLabel, _p_p_SoLabelTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLineSet, _p_p_SoVRMLIndexedLineSetTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProtoInstance, _p_p_SoProtoInstanceTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoInfo, _p_p_SoInfoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDecomposeVec2f, _p_p_SoDecomposeVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoComposeVec2f, _p_p_SoComposeVec2fTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoDirectionalLight, _p_p_SoDirectionalLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoVRMLDirectionalLight, _p_p_SoVRMLDirectionalLightTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoProto, _p_p_SoProtoTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoWWWInline, _p_p_SoWWWInlineTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoCenterballManip, _p_p_SoCenterballManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoTrackballManip, _p_p_SoTrackballManipTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLOD, _p_p_SoLODTo_p_p_SoBase, 0, 0}, {&_swigt__p_p_SoLevelOfDetail, _p_p_SoLevelOfDetailTo_p_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngine[] = { {&_swigt__p_p_SoTransformVec3f, _p_p_SoTransformVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoElapsedTime, _p_p_SoElapsedTimeTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeRotationFromTo, _p_p_SoComposeRotationFromToTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec3f, _p_p_SoInterpolateVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoEngine, 0, 0, 0}, {&_swigt__p_p_SoDecomposeRotation, _p_p_SoDecomposeRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeRotation, _p_p_SoComposeRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateRotation, _p_p_SoInterpolateRotationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoGate, _p_p_SoGateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec4f, _p_p_SoDecomposeVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec4f, _p_p_SoComposeVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec2f, _p_p_SoInterpolateVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoCounter, _p_p_SoCounterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTimeCounter, _p_p_SoTimeCounterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec3f, _p_p_SoDecomposeVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec3f, _p_p_SoComposeVec3fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComputeBoundingBox, _p_p_SoComputeBoundingBoxTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeVec2f, _p_p_SoDecomposeVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeVec2f, _p_p_SoComposeVec2fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoCalculator, _p_p_SoCalculatorTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolate, _p_p_SoInterpolateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoDecomposeMatrix, _p_p_SoDecomposeMatrixTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoComposeMatrix, _p_p_SoComposeMatrixTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoSelectOne, _p_p_SoSelectOneTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoTriggerAny, _p_p_SoTriggerAnyTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoConcatenate, _p_p_SoConcatenateTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoFieldConverter, _p_p_SoFieldConverterTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoOneShot, _p_p_SoOneShotTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoBoolOperation, _p_p_SoBoolOperationTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateFloat, _p_p_SoInterpolateFloatTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoInterpolateVec4f, _p_p_SoInterpolateVec4fTo_p_p_SoEngine, 0, 0}, {&_swigt__p_p_SoOnOff, _p_p_SoOnOffTo_p_p_SoEngine, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngineOutput[] = { {&_swigt__p_p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFName[] = {{&_swigt__p_p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEnum[] = {{&_swigt__p_p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3s[] = {{&_swigt__p_p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFFloat[] = {{&_swigt__p_p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFFloat[] = {{&_swigt__p_p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPath[] = {{&_swigt__p_p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTime[] = {{&_swigt__p_p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2s[] = {{&_swigt__p_p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEnum[] = {{&_swigt__p_p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColor[] = {{&_swigt__p_p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColor[] = {{&_swigt__p_p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFRotation[] = {{&_swigt__p_p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFRotation[] = {{&_swigt__p_p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBitMask[] = {{&_swigt__p_p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBitMask[] = {{&_swigt__p_p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPath[] = {{&_swigt__p_p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPlane[] = {{&_swigt__p_p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPlane[] = {{&_swigt__p_p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFNode[] = {{&_swigt__p_p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFString[] = {{&_swigt__p_p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFString[] = {{&_swigt__p_p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSField[] = {{&_swigt__p_p_SoSField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEngine[] = {{&_swigt__p_p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4f[] = {{&_swigt__p_p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEngine[] = {{&_swigt__p_p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4f[] = {{&_swigt__p_p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUInt32[] = {{&_swigt__p_p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUInt32[] = {{&_swigt__p_p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBool[] = {{&_swigt__p_p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFNode[] = {{&_swigt__p_p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3s[] = {{&_swigt__p_p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage3[] = {{&_swigt__p_p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFMatrix[] = {{&_swigt__p_p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3d[] = {{&_swigt__p_p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFMatrix[] = {{&_swigt__p_p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTrigger[] = {{&_swigt__p_p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3d[] = {{&_swigt__p_p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUShort[] = {{&_swigt__p_p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage[] = {{&_swigt__p_p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUShort[] = {{&_swigt__p_p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFName[] = {{&_swigt__p_p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3f[] = {{&_swigt__p_p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3f[] = {{&_swigt__p_p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFInt32[] = {{&_swigt__p_p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFInt32[] = {{&_swigt__p_p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFTime[] = {{&_swigt__p_p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2f[] = {{&_swigt__p_p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2f[] = {{&_swigt__p_p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFShort[] = {{&_swigt__p_p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBool[] = {{&_swigt__p_p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFShort[] = {{&_swigt__p_p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoField[] = { {&_swigt__p_p_SoSFName, _p_p_SoSFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3s, _p_p_SoSFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFFloat, _p_p_SoSFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoField, 0, 0, 0}, {&_swigt__p_p_SoSFTime, _p_p_SoSFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2s, _p_p_SoSFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEnum, _p_p_SoSFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColor, _p_p_SoSFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFRotation, _p_p_SoSFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMField, _p_p_SoMFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBitMask, _p_p_SoSFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPath, _p_p_SoSFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPlane, _p_p_SoSFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFString, _p_p_SoSFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSField, _p_p_SoSFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEngine, _p_p_SoSFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4f, _p_p_SoSFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUInt32, _p_p_SoSFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFNode, _p_p_SoSFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3s, _p_p_SoSFBox3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage3, _p_p_SoSFImage3To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFMatrix, _p_p_SoSFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFTrigger, _p_p_SoSFTriggerTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3d, _p_p_SoSFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage, _p_p_SoSFImageTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUShort, _p_p_SoSFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3f, _p_p_SoSFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFInt32, _p_p_SoSFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2f, _p_p_SoSFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBool, _p_p_SoSFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFShort, _p_p_SoSFShortTo_p_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoBoxHighlightRenderAction[] = {{&_swigt__p_p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoLineHighlightRenderAction[] = {{&_swigt__p_p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoGLRenderAction[] = { {&_swigt__p_p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_p_SoBoxHighlightRenderAction, _p_p_SoBoxHighlightRenderActionTo_p_p_SoGLRenderAction, 0, 0}, {&_swigt__p_p_SoLineHighlightRenderAction, _p_p_SoLineHighlightRenderActionTo_p_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMField[] = { {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMField, 0, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoMField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoNode[] = { {&_swigt__p_p_SoClipPlane, _p_p_SoClipPlaneTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMapCoordinate, _p_p_SoBumpMapCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCoordinate, _p_p_SoVRMLCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTextureCoordinate, _p_p_SoVRMLTextureCoordinateTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCombine, _p_p_SoTextureCombineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLightKit, _p_p_SoLightKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTriangleStripSet, _p_p_SoTriangleStripSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedTriangleStripSet, _p_p_SoIndexedTriangleStripSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLExtrusion, _p_p_SoVRMLExtrusionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBaseKit, _p_p_SoBaseKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoExtSelection, _p_p_SoExtSelectionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSelection, _p_p_SoSelectionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexProperty, _p_p_SoVertexPropertyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotationXYZ, _p_p_SoRotationXYZTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoComplexity, _p_p_SoComplexityTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBillboard, _p_p_SoVRMLBillboardTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLightModel, _p_p_SoLightModelTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoUnits, _p_p_SoUnitsTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShapeKit, _p_p_SoShapeKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotation, _p_p_SoRotationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAnnotation, _p_p_SoAnnotationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsSurface, _p_p_SoNurbsSurfaceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedNurbsSurface, _p_p_SoIndexedNurbsSurfaceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsProfile, _p_p_SoNurbsProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLinearProfile, _p_p_SoLinearProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfile, _p_p_SoProfileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLParent, _p_p_SoVRMLParentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLLight, _p_p_SoVRMLLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoClipPlaneManip, _p_p_SoClipPlaneManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAsciiText, _p_p_SoAsciiTextTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLGeometry, _p_p_SoVRMLGeometryTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCylinder, _p_p_SoCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCylinder, _p_p_SoTextureCoordinateCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCylinder, _p_p_SoVRMLCylinderTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNavigationInfo, _p_p_SoVRMLNavigationInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture3Transform, _p_p_SoTexture3TransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture2Transform, _p_p_SoTexture2TransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoResetTransform, _p_p_SoResetTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMatrixTransform, _p_p_SoMatrixTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMapTransform, _p_p_SoBumpMapTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransform, _p_p_SoTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTextureTransform, _p_p_SoVRMLTextureTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTransform, _p_p_SoVRMLTransformTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSeparatorKit, _p_p_SoSeparatorKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexLine, _p_p_SoVRMLVertexLineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLight, _p_p_SoLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSound, _p_p_SoVRMLSoundTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNodeEngine, _p_p_SoNodeEngineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointSet, _p_p_SoPointSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPointSet, _p_p_SoVRMLPointSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMaterial, _p_p_SoMaterialTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLMaterial, _p_p_SoVRMLMaterialTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBaseColor, _p_p_SoBaseColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoColorIndex, _p_p_SoColorIndexTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLColor, _p_p_SoVRMLColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLWorldInfo, _p_p_SoVRMLWorldInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLight, _p_p_SoSpotLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSpotLight, _p_p_SoVRMLSpotLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateDefault, _p_p_SoTextureCoordinateDefaultTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBlinker, _p_p_SoBlinkerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShuttle, _p_p_SoShuttleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLGroup, _p_p_SoVRMLGroupTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAnchor, _p_p_SoVRMLAnchorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSensor, _p_p_SoVRMLSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCylinderSensor, _p_p_SoVRMLCylinderSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTouchSensor, _p_p_SoVRMLTouchSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMarkerSet, _p_p_SoMarkerSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLightManip, _p_p_SoDirectionalLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLightManip, _p_p_SoPointLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLightManip, _p_p_SoSpotLightManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNurbsCurve, _p_p_SoNurbsCurveTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedNurbsCurve, _p_p_SoIndexedNurbsCurveTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedShape, _p_p_SoIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNonIndexedShape, _p_p_SoNonIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedShape, _p_p_SoVRMLIndexedShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotor, _p_p_SoRotorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateCube, _p_p_SoTextureCoordinateCubeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLText, _p_p_SoVRMLTextTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformerManip, _p_p_SoTransformerManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAntiSquish, _p_p_SoAntiSquishTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoGroup, _p_p_SoGroupTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMultipleCopy, _p_p_SoMultipleCopyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoListener, _p_p_SoListenerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformation, _p_p_SoTransformationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFontStyle, _p_p_SoFontStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLFontStyle, _p_p_SoVRMLFontStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoImage, _p_p_SoImageTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAppearance, _p_p_SoVRMLAppearanceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLight, _p_p_SoPointLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPointLight, _p_p_SoVRMLPointLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformManip, _p_p_SoTransformManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPolygonOffset, _p_p_SoPolygonOffsetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBackground, _p_p_SoVRMLBackgroundTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWWWAnchor, _p_p_SoWWWAnchorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoEventCallback, _p_p_SoEventCallbackTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCallback, _p_p_SoCallbackTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLDragSensor, _p_p_SoVRMLDragSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPlaneSensor, _p_p_SoVRMLPlaneSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLProximitySensor, _p_p_SoVRMLProximitySensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSphereSensor, _p_p_SoVRMLSphereSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTimeSensor, _p_p_SoVRMLTimeSensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVisibilitySensor, _p_p_SoVRMLVisibilitySensorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoJackManip, _p_p_SoJackManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoOrthographicCamera, _p_p_SoOrthographicCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPerspectiveCamera, _p_p_SoPerspectiveCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCamera, _p_p_SoCameraTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCameraKit, _p_p_SoCameraKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoArray, _p_p_SoArrayTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSphere, _p_p_SoVRMLSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateEnvironment, _p_p_SoTextureCoordinateEnvironmentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoEnvironment, _p_p_SoEnvironmentTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDrawStyle, _p_p_SoDrawStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLBox, _p_p_SoVRMLBoxTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLFog, _p_p_SoVRMLFogTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransparencyType, _p_p_SoTransparencyTypeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSurroundScale, _p_p_SoSurroundScaleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVertexShape, _p_p_SoVertexShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexShape, _p_p_SoVRMLVertexShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCone, _p_p_SoConeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureUnit, _p_p_SoTextureUnitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoAppearanceKit, _p_p_SoAppearanceKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabPlaneDragger, _p_p_SoTabPlaneDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabBoxDragger, _p_p_SoTabBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSpotLightDragger, _p_p_SoSpotLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScaleUniformDragger, _p_p_SoScaleUniformDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale2UniformDragger, _p_p_SoScale2UniformDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale2Dragger, _p_p_SoScale2DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale1Dragger, _p_p_SoScale1DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateSphericalDragger, _p_p_SoRotateSphericalDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateDiscDragger, _p_p_SoRotateDiscDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoRotateCylindricalDragger, _p_p_SoRotateCylindricalDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPointLightDragger, _p_p_SoPointLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoJackDragger, _p_p_SoJackDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoHandleBoxDragger, _p_p_SoHandleBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDragPointDragger, _p_p_SoDragPointDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLightDragger, _p_p_SoDirectionalLightDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCenterballDragger, _p_p_SoCenterballDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDragger, _p_p_SoDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTrackballDragger, _p_p_SoTrackballDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformBoxDragger, _p_p_SoTransformBoxDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformerDragger, _p_p_SoTransformerDraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslate1Dragger, _p_p_SoTranslate1DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslate2Dragger, _p_p_SoTranslate2DraggerTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFile, _p_p_SoFileTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPickStyle, _p_p_SoPickStyleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLInterpolator, _p_p_SoVRMLInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLColorInterpolator, _p_p_SoVRMLColorInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCoordinateInterpolator, _p_p_SoVRMLCoordinateInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNormalInterpolator, _p_p_SoVRMLNormalInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLOrientationInterpolator, _p_p_SoVRMLOrientationInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPositionInterpolator, _p_p_SoVRMLPositionInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLScalarInterpolator, _p_p_SoVRMLScalarInterpolatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCone, _p_p_SoVRMLConeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLine, _p_p_SoVRMLIndexedLineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLMovieTexture, _p_p_SoVRMLMovieTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLImageTexture, _p_p_SoVRMLImageTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLTexture, _p_p_SoVRMLTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLPixelTexture, _p_p_SoVRMLPixelTextureTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateFunction, _p_p_SoTextureCoordinateFunctionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSphere, _p_p_SoSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNodeKitListPart, _p_p_SoNodeKitListPartTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateSphere, _p_p_SoTextureCoordinateSphereTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPendulum, _p_p_SoPendulumTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSceneKit, _p_p_SoSceneKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShapeHints, _p_p_SoShapeHintsTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSceneTexture2, _p_p_SoSceneTexture2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture2, _p_p_SoTexture2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTexture3, _p_p_SoTexture3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinatePlane, _p_p_SoTextureCoordinatePlaneTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLAudioClip, _p_p_SoVRMLAudioClipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoQuadMesh, _p_p_SoQuadMeshTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPathSwitch, _p_p_SoPathSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLSwitch, _p_p_SoVRMLSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoText2, _p_p_SoText2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoText3, _p_p_SoText3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformSeparator, _p_p_SoTransformSeparatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSeparator, _p_p_SoSeparatorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoInteractionKit, _p_p_SoInteractionKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoBumpMap, _p_p_SoBumpMapTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinate2, _p_p_SoTextureCoordinate2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfileCoordinate2, _p_p_SoProfileCoordinate2To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLNormal, _p_p_SoVRMLNormalTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinate3, _p_p_SoTextureCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProfileCoordinate3, _p_p_SoProfileCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCoordinate3, _p_p_SoCoordinate3To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCoordinate4, _p_p_SoCoordinate4To_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLLOD, _p_p_SoVRMLLODTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFont, _p_p_SoFontTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLocateHighlight, _p_p_SoLocateHighlightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLElevationGrid, _p_p_SoVRMLElevationGridTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLShape, _p_p_SoVRMLShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLVertexPoint, _p_p_SoVRMLVertexPointTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLViewpoint, _p_p_SoVRMLViewpointTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoMaterialBinding, _p_p_SoMaterialBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNormalBinding, _p_p_SoNormalBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureCoordinateBinding, _p_p_SoTextureCoordinateBindingTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoHandleBoxManip, _p_p_SoHandleBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTabBoxManip, _p_p_SoTabBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTransformBoxManip, _p_p_SoTransformBoxManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLCollision, _p_p_SoVRMLCollisionTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoPackedColor, _p_p_SoPackedColorTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoSwitch, _p_p_SoSwitchTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTranslation, _p_p_SoTranslationTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedFaceSet, _p_p_SoIndexedFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoFaceSet, _p_p_SoFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedFaceSet, _p_p_SoVRMLIndexedFaceSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoShape, _p_p_SoShapeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTextureScalePolicy, _p_p_SoTextureScalePolicyTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLScript, _p_p_SoVRMLScriptTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNormal, _p_p_SoNormalTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLInline, _p_p_SoVRMLInlineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCube, _p_p_SoCubeTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWrapperKit, _p_p_SoWrapperKitTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoScale, _p_p_SoScaleTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoNode, 0, 0, 0}, {&_swigt__p_p_SoLineSet, _p_p_SoLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoIndexedLineSet, _p_p_SoIndexedLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLabel, _p_p_SoLabelTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLIndexedLineSet, _p_p_SoVRMLIndexedLineSetTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProtoInstance, _p_p_SoProtoInstanceTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoInfo, _p_p_SoInfoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoDirectionalLight, _p_p_SoDirectionalLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoVRMLDirectionalLight, _p_p_SoVRMLDirectionalLightTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoProto, _p_p_SoProtoTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoWWWInline, _p_p_SoWWWInlineTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoCenterballManip, _p_p_SoCenterballManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoTrackballManip, _p_p_SoTrackballManipTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLOD, _p_p_SoLODTo_p_p_SoNode, 0, 0}, {&_swigt__p_p_SoLevelOfDetail, _p_p_SoLevelOfDetailTo_p_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoPath[] = { {&_swigt__p_p_SoTempPath, _p_p_SoTempPathTo_p_p_SoPath, 0, 0}, {&_swigt__p_p_SoNodeKitPath, _p_p_SoNodeKitPathTo_p_p_SoPath, 0, 0}, {&_swigt__p_p_SoPath, 0, 0, 0}, {&_swigt__p_p_SoFullPath, _p_p_SoFullPathTo_p_p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_charp[] = {{&_swigt__p_p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_charp, _p_p_charpTo_p_p_char, 0, 0}, {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_f_p_SoAction_p_SoNode__void[] = { {&_swigt__p_p_f_p_SoAction_p_SoNode__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_f_p_void_p_SoInput__void[] = { {&_swigt__p_p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_floatp[] = {{&_swigt__p_p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_float[] = { {&_swigt__p_p_float, 0, 0, 0}, {&_swigt__p_p_floatp, _p_p_floatpTo_p_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_intp[] = {{&_swigt__p_p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_int[] = { {&_swigt__p_p_intp, _p_p_intpTo_p_p_int, 0, 0}, {&_swigt__p_p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_unsigned_char[] = { {&_swigt__p_p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_read_func[] = { {&_swigt__p_read_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_seek_func[] = { {&_swigt__p_seek_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_tell_func[] = { {&_swigt__p_tell_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_time_t[] = { {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_timeval[] = { {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned___int64[] = { {&_swigt__p_unsigned___int64, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; - -static swig_cast_info *swig_cast_initial[] = { - _swigc__p_ContextDestructionCB, - _swigc__p_FILE, - _swigc__p_GLState, - _swigc__p_ProgressCallbackType, - _swigc__p_SbBSPTree, - _swigc__p_SbBarrier, - _swigc__p_SbBox2d, - _swigc__p_SbBox2f, - _swigc__p_SbBox2s, - _swigc__p_SbBox3f, - _swigc__p_SbBox3s, - _swigc__p_SbClip, - _swigc__p_SbColor, - _swigc__p_SbColor4f, - _swigc__p_SbCondVar, - _swigc__p_SbCylinder, - _swigc__p_SbCylinderPlaneProjector, - _swigc__p_SbCylinderProjector, - _swigc__p_SbCylinderSectionProjector, - _swigc__p_SbCylinderSheetProjector, - _swigc__p_SbDPLine, - _swigc__p_SbDPMatrix, - _swigc__p_SbDPPlane, - _swigc__p_SbDPRotation, - _swigc__p_SbDPViewVolume, - _swigc__p_SbDict, - _swigc__p_SbFifo, - _swigc__p_SbHeap, - _swigc__p_SbHeapFuncs, - _swigc__p_SbImage, - _swigc__p_SbIntList, - _swigc__p_SbLine, - _swigc__p_SbLineProjector, - _swigc__p_SbListTSbName_t, - _swigc__p_SbListTSbString_t, - _swigc__p_SbListTint_t, - _swigc__p_SbListTvoid_p_t, - _swigc__p_SbMatrix, - _swigc__p_SbMutex, - _swigc__p_SbName, - _swigc__p_SbOctTree, - _swigc__p_SbOctTreeFuncs, - _swigc__p_SbPList, - _swigc__p_SbPlane, - _swigc__p_SbPlaneProjector, - _swigc__p_SbProjector, - _swigc__p_SbRWMutex, - _swigc__p_SbRotation, - _swigc__p_SbSphere, - _swigc__p_SbSpherePlaneProjector, - _swigc__p_SbSphereProjector, - _swigc__p_SbSphereSectionProjector, - _swigc__p_SbSphereSheetProjector, - _swigc__p_SbStorage, - _swigc__p_SbString, - _swigc__p_SbStringList, - _swigc__p_SbTesselator, - _swigc__p_SbThread, - _swigc__p_SbThreadAutoLock, - _swigc__p_SbTime, - _swigc__p_SbVec2d, - _swigc__p_SbVec2f, - _swigc__p_SbVec2s, - _swigc__p_SbVec3d, - _swigc__p_SbVec3f, - _swigc__p_SbVec3fList, - _swigc__p_SbVec3s, - _swigc__p_SbVec4d, - _swigc__p_SbVec4f, - _swigc__p_SbViewVolume, - _swigc__p_SbViewportRegion, - _swigc__p_SbXfBox3f, - _swigc__p_SoAccumulatedElement, - _swigc__p_SoAction, - _swigc__p_SoActionMethodList, - _swigc__p_SoAlarmSensor, - _swigc__p_SoAmbientColorElement, - _swigc__p_SoAnnoText3CharOrientElement, - _swigc__p_SoAnnoText3FontSizeHintElement, - _swigc__p_SoAnnoText3RenderPrintElement, - _swigc__p_SoAnnotation, - _swigc__p_SoAntiSquish, - _swigc__p_SoAppearanceKit, - _swigc__p_SoArray, - _swigc__p_SoAsciiText, - _swigc__p_SoAudioDevice, - _swigc__p_SoAudioRenderAction, - _swigc__p_SoAuditorList, - _swigc__p_SoBBoxModelMatrixElement, - _swigc__p_SoBase, - _swigc__p_SoBaseColor, - _swigc__p_SoBaseKit, - _swigc__p_SoBaseList, - _swigc__p_SoBlinker, - _swigc__p_SoBoolOperation, - _swigc__p_SoBoundingBoxCache, - _swigc__p_SoBoxHighlightRenderAction, - _swigc__p_SoBumpMap, - _swigc__p_SoBumpMapCoordinate, - _swigc__p_SoBumpMapCoordinateElement, - _swigc__p_SoBumpMapElement, - _swigc__p_SoBumpMapMatrixElement, - _swigc__p_SoBumpMapTransform, - _swigc__p_SoBundle, - _swigc__p_SoButtonEvent, - _swigc__p_SoByteStream, - _swigc__p_SoCache, - _swigc__p_SoCacheElement, - _swigc__p_SoCalculator, - _swigc__p_SoCallback, - _swigc__p_SoCallbackAction, - _swigc__p_SoCallbackActionCB, - _swigc__p_SoCallbackList, - _swigc__p_SoCamera, - _swigc__p_SoCameraKit, - _swigc__p_SoCenterballDragger, - _swigc__p_SoCenterballManip, - _swigc__p_SoChildList, - _swigc__p_SoClipPlane, - _swigc__p_SoClipPlaneElement, - _swigc__p_SoClipPlaneManip, - _swigc__p_SoColorIndex, - _swigc__p_SoColorPacker, - _swigc__p_SoComplexity, - _swigc__p_SoComplexityElement, - _swigc__p_SoComplexityTypeElement, - _swigc__p_SoComposeMatrix, - _swigc__p_SoComposeRotation, - _swigc__p_SoComposeRotationFromTo, - _swigc__p_SoComposeVec2f, - _swigc__p_SoComposeVec3f, - _swigc__p_SoComposeVec4f, - _swigc__p_SoComputeBoundingBox, - _swigc__p_SoConcatenate, - _swigc__p_SoCone, - _swigc__p_SoConeDetail, - _swigc__p_SoContextHandler, - _swigc__p_SoConvexDataCache, - _swigc__p_SoCoordinate3, - _swigc__p_SoCoordinate4, - _swigc__p_SoCoordinateElement, - _swigc__p_SoCounter, - _swigc__p_SoCreaseAngleElement, - _swigc__p_SoCube, - _swigc__p_SoCubeDetail, - _swigc__p_SoCullElement, - _swigc__p_SoCylinder, - _swigc__p_SoCylinderDetail, - _swigc__p_SoDB, - _swigc__p_SoDataSensor, - _swigc__p_SoDebugError, - _swigc__p_SoDecimationPercentageElement, - _swigc__p_SoDecimationTypeElement, - _swigc__p_SoDecomposeMatrix, - _swigc__p_SoDecomposeRotation, - _swigc__p_SoDecomposeVec2f, - _swigc__p_SoDecomposeVec3f, - _swigc__p_SoDecomposeVec4f, - _swigc__p_SoDelayQueueSensor, - _swigc__p_SoDetail, - _swigc__p_SoDetailList, - _swigc__p_SoDiffuseColorElement, - _swigc__p_SoDirectionalLight, - _swigc__p_SoDirectionalLightDragger, - _swigc__p_SoDirectionalLightManip, - _swigc__p_SoDragPointDragger, - _swigc__p_SoDragger, - _swigc__p_SoDrawStyle, - _swigc__p_SoDrawStyleElement, - _swigc__p_SoElapsedTime, - _swigc__p_SoElement, - _swigc__p_SoEmissiveColorElement, - _swigc__p_SoEnabledElementsList, - _swigc__p_SoEngine, - _swigc__p_SoEngineList, - _swigc__p_SoEngineOutput, - _swigc__p_SoEngineOutputData, - _swigc__p_SoEngineOutputList, - _swigc__p_SoEnvironment, - _swigc__p_SoEnvironmentElement, - _swigc__p_SoError, - _swigc__p_SoEvent, - _swigc__p_SoEventCallback, - _swigc__p_SoExtSelection, - _swigc__p_SoFaceDetail, - _swigc__p_SoFaceSet, - _swigc__p_SoField, - _swigc__p_SoFieldContainer, - _swigc__p_SoFieldConverter, - _swigc__p_SoFieldData, - _swigc__p_SoFieldList, - _swigc__p_SoFieldSensor, - _swigc__p_SoFile, - _swigc__p_SoFloatElement, - _swigc__p_SoFocalDistanceElement, - _swigc__p_SoFont, - _swigc__p_SoFontNameElement, - _swigc__p_SoFontSizeElement, - _swigc__p_SoFontStyle, - _swigc__p_SoFullPath, - _swigc__p_SoGLBigImage, - _swigc__p_SoGLCacheContextElement, - _swigc__p_SoGLCacheList, - _swigc__p_SoGLClipPlaneElement, - _swigc__p_SoGLColorIndexElement, - _swigc__p_SoGLCoordinateElement, - _swigc__p_SoGLDisplayList, - _swigc__p_SoGLDrawStyleElement, - _swigc__p_SoGLEnvironmentElement, - _swigc__p_SoGLImage, - _swigc__p_SoGLLazyElement, - _swigc__p_SoGLLazyElement_GLState, - _swigc__p_SoGLLazyElement__GLState, - _swigc__p_SoGLLightIdElement, - _swigc__p_SoGLLinePatternElement, - _swigc__p_SoGLLineWidthElement, - _swigc__p_SoGLModelMatrixElement, - _swigc__p_SoGLMultiTextureCoordinateElement, - _swigc__p_SoGLMultiTextureEnabledElement, - _swigc__p_SoGLMultiTextureImageElement, - _swigc__p_SoGLMultiTextureMatrixElement, - _swigc__p_SoGLNormalElement, - _swigc__p_SoGLPointSizeElement, - _swigc__p_SoGLPolygonOffsetElement, - _swigc__p_SoGLProjectionMatrixElement, - _swigc__p_SoGLRenderAbortCB, - _swigc__p_SoGLRenderAction, - _swigc__p_SoGLRenderCache, - _swigc__p_SoGLRenderPassElement, - _swigc__p_SoGLShapeHintsElement, - _swigc__p_SoGLTexture3EnabledElement, - _swigc__p_SoGLTextureCoordinateElement, - _swigc__p_SoGLTextureEnabledElement, - _swigc__p_SoGLTextureImageElement, - _swigc__p_SoGLTextureMatrixElement, - _swigc__p_SoGLUpdateAreaElement, - _swigc__p_SoGLViewingMatrixElement, - _swigc__p_SoGLViewportRegionElement, - _swigc__p_SoGate, - _swigc__p_SoGetBoundingBoxAction, - _swigc__p_SoGetMatrixAction, - _swigc__p_SoGetPrimitiveCountAction, - _swigc__p_SoGlyph, - _swigc__p_SoGroup, - _swigc__p_SoHandleBoxDragger, - _swigc__p_SoHandleBoxManip, - _swigc__p_SoHandleEventAction, - _swigc__p_SoHardCopy, - _swigc__p_SoIdleSensor, - _swigc__p_SoImage, - _swigc__p_SoIndexedFaceSet, - _swigc__p_SoIndexedLineSet, - _swigc__p_SoIndexedNurbsCurve, - _swigc__p_SoIndexedNurbsSurface, - _swigc__p_SoIndexedShape, - _swigc__p_SoIndexedTriangleStripSet, - _swigc__p_SoInfo, - _swigc__p_SoInput, - _swigc__p_SoInt32Element, - _swigc__p_SoInteraction, - _swigc__p_SoInteractionKit, - _swigc__p_SoInterpolate, - _swigc__p_SoInterpolateFloat, - _swigc__p_SoInterpolateRotation, - _swigc__p_SoInterpolateVec2f, - _swigc__p_SoInterpolateVec3f, - _swigc__p_SoInterpolateVec4f, - _swigc__p_SoIntersectingPrimitive, - _swigc__p_SoIntersectionCB, - _swigc__p_SoIntersectionDetectionAction, - _swigc__p_SoIntersectionFilterCB, - _swigc__p_SoIntersectionVisitationCB, - _swigc__p_SoJackDragger, - _swigc__p_SoJackManip, - _swigc__p_SoKeyboardEvent, - _swigc__p_SoLOD, - _swigc__p_SoLabel, - _swigc__p_SoLazyElement, - _swigc__p_SoLevelOfDetail, - _swigc__p_SoLight, - _swigc__p_SoLightAttenuationElement, - _swigc__p_SoLightElement, - _swigc__p_SoLightKit, - _swigc__p_SoLightModel, - _swigc__p_SoLightModelElement, - _swigc__p_SoLightPath, - _swigc__p_SoLineDetail, - _swigc__p_SoLineHighlightRenderAction, - _swigc__p_SoLinePatternElement, - _swigc__p_SoLineSet, - _swigc__p_SoLineWidthElement, - _swigc__p_SoLinearProfile, - _swigc__p_SoListener, - _swigc__p_SoListenerDopplerElement, - _swigc__p_SoListenerGainElement, - _swigc__p_SoListenerOrientationElement, - _swigc__p_SoListenerPositionElement, - _swigc__p_SoLocalBBoxMatrixElement, - _swigc__p_SoLocateHighlight, - _swigc__p_SoLocation2Event, - _swigc__p_SoLockManager, - _swigc__p_SoMFBitMask, - _swigc__p_SoMFBool, - _swigc__p_SoMFColor, - _swigc__p_SoMFEngine, - _swigc__p_SoMFEnum, - _swigc__p_SoMFFloat, - _swigc__p_SoMFInt32, - _swigc__p_SoMFMatrix, - _swigc__p_SoMFName, - _swigc__p_SoMFNode, - _swigc__p_SoMFPath, - _swigc__p_SoMFPlane, - _swigc__p_SoMFRotation, - _swigc__p_SoMFShort, - _swigc__p_SoMFString, - _swigc__p_SoMFTime, - _swigc__p_SoMFUInt32, - _swigc__p_SoMFUShort, - _swigc__p_SoMFVec2f, - _swigc__p_SoMFVec3d, - _swigc__p_SoMFVec3f, - _swigc__p_SoMFVec4f, - _swigc__p_SoMField, - _swigc__p_SoMarkerSet, - _swigc__p_SoMaterial, - _swigc__p_SoMaterialBinding, - _swigc__p_SoMaterialBindingElement, - _swigc__p_SoMaterialBundle, - _swigc__p_SoMatrixTransform, - _swigc__p_SoMemoryError, - _swigc__p_SoModelMatrixElement, - _swigc__p_SoMotion3Event, - _swigc__p_SoMouseButtonEvent, - _swigc__p_SoMultiTextureCoordinateElement, - _swigc__p_SoMultiTextureEnabledElement, - _swigc__p_SoMultiTextureImageElement, - _swigc__p_SoMultiTextureMatrixElement, - _swigc__p_SoMultipleCopy, - _swigc__p_SoNode, - _swigc__p_SoNodeEngine, - _swigc__p_SoNodeKit, - _swigc__p_SoNodeKitDetail, - _swigc__p_SoNodeKitListPart, - _swigc__p_SoNodeKitPath, - _swigc__p_SoNodeList, - _swigc__p_SoNodeSensor, - _swigc__p_SoNodekitCatalog, - _swigc__p_SoNonIndexedShape, - _swigc__p_SoNormal, - _swigc__p_SoNormalBinding, - _swigc__p_SoNormalBindingElement, - _swigc__p_SoNormalBundle, - _swigc__p_SoNormalCache, - _swigc__p_SoNormalElement, - _swigc__p_SoNormalGenerator, - _swigc__p_SoNotList, - _swigc__p_SoNotRec, - _swigc__p_SoNurbsCurve, - _swigc__p_SoNurbsProfile, - _swigc__p_SoNurbsSurface, - _swigc__p_SoOffscreenRenderer, - _swigc__p_SoOnOff, - _swigc__p_SoOneShot, - _swigc__p_SoOneShotSensor, - _swigc__p_SoOrthographicCamera, - _swigc__p_SoOutput, - _swigc__p_SoOverrideElement, - _swigc__p_SoPSVectorOutput, - _swigc__p_SoPackedColor, - _swigc__p_SoPath, - _swigc__p_SoPathList, - _swigc__p_SoPathSensor, - _swigc__p_SoPathSwitch, - _swigc__p_SoPendulum, - _swigc__p_SoPerspectiveCamera, - _swigc__p_SoPickAction, - _swigc__p_SoPickRayElement, - _swigc__p_SoPickStyle, - _swigc__p_SoPickStyleElement, - _swigc__p_SoPickedPoint, - _swigc__p_SoPickedPointList, - _swigc__p_SoPointDetail, - _swigc__p_SoPointLight, - _swigc__p_SoPointLightDragger, - _swigc__p_SoPointLightManip, - _swigc__p_SoPointSet, - _swigc__p_SoPointSizeElement, - _swigc__p_SoPolygonOffset, - _swigc__p_SoPolygonOffsetElement, - _swigc__p_SoPolygonOffsetElement__Style, - _swigc__p_SoPrimitiveVertex, - _swigc__p_SoProfile, - _swigc__p_SoProfileCoordinate2, - _swigc__p_SoProfileCoordinate3, - _swigc__p_SoProfileCoordinateElement, - _swigc__p_SoProfileElement, - _swigc__p_SoProjectionMatrixElement, - _swigc__p_SoProto, - _swigc__p_SoProtoInstance, - _swigc__p_SoQuadMesh, - _swigc__p_SoRayPickAction, - _swigc__p_SoReadError, - _swigc__p_SoReplacedElement, - _swigc__p_SoResetTransform, - _swigc__p_SoRotateCylindricalDragger, - _swigc__p_SoRotateDiscDragger, - _swigc__p_SoRotateSphericalDragger, - _swigc__p_SoRotation, - _swigc__p_SoRotationXYZ, - _swigc__p_SoRotor, - _swigc__p_SoSFBitMask, - _swigc__p_SoSFBool, - _swigc__p_SoSFBox3s, - _swigc__p_SoSFColor, - _swigc__p_SoSFEngine, - _swigc__p_SoSFEnum, - _swigc__p_SoSFFloat, - _swigc__p_SoSFImage, - _swigc__p_SoSFImage3, - _swigc__p_SoSFInt32, - _swigc__p_SoSFMatrix, - _swigc__p_SoSFName, - _swigc__p_SoSFNode, - _swigc__p_SoSFPath, - _swigc__p_SoSFPlane, - _swigc__p_SoSFRotation, - _swigc__p_SoSFShort, - _swigc__p_SoSFString, - _swigc__p_SoSFTime, - _swigc__p_SoSFTrigger, - _swigc__p_SoSFUInt32, - _swigc__p_SoSFUShort, - _swigc__p_SoSFVec2f, - _swigc__p_SoSFVec2s, - _swigc__p_SoSFVec3d, - _swigc__p_SoSFVec3f, - _swigc__p_SoSFVec3s, - _swigc__p_SoSFVec4f, - _swigc__p_SoSField, - _swigc__p_SoScale, - _swigc__p_SoScale1Dragger, - _swigc__p_SoScale2Dragger, - _swigc__p_SoScale2UniformDragger, - _swigc__p_SoScaleUniformDragger, - _swigc__p_SoSceneKit, - _swigc__p_SoSceneManager, - _swigc__p_SoSceneTexture2, - _swigc__p_SoSearchAction, - _swigc__p_SoSelectOne, - _swigc__p_SoSelection, - _swigc__p_SoSensor, - _swigc__p_SoSensorManager, - _swigc__p_SoSeparator, - _swigc__p_SoSeparatorKit, - _swigc__p_SoShape, - _swigc__p_SoShapeHints, - _swigc__p_SoShapeHintsElement, - _swigc__p_SoShapeHintsElement__FaceType, - _swigc__p_SoShapeHintsElement__ShapeType, - _swigc__p_SoShapeHintsElement__VertexOrdering, - _swigc__p_SoShapeKit, - _swigc__p_SoShapeStyleElement, - _swigc__p_SoShininessElement, - _swigc__p_SoShuttle, - _swigc__p_SoSoundElement, - _swigc__p_SoSpaceballButtonEvent, - _swigc__p_SoSpecularColorElement, - _swigc__p_SoSphere, - _swigc__p_SoSpotLight, - _swigc__p_SoSpotLightDragger, - _swigc__p_SoSpotLightManip, - _swigc__p_SoState, - _swigc__p_SoSurroundScale, - _swigc__p_SoSwitch, - _swigc__p_SoSwitchElement, - _swigc__p_SoTabBoxDragger, - _swigc__p_SoTabBoxManip, - _swigc__p_SoTabPlaneDragger, - _swigc__p_SoTempPath, - _swigc__p_SoText2, - _swigc__p_SoText3, - _swigc__p_SoTextDetail, - _swigc__p_SoTextOutlineEnabledElement, - _swigc__p_SoTexture2, - _swigc__p_SoTexture2Transform, - _swigc__p_SoTexture3, - _swigc__p_SoTexture3EnabledElement, - _swigc__p_SoTexture3Transform, - _swigc__p_SoTextureCombine, - _swigc__p_SoTextureCombineElement, - _swigc__p_SoTextureCombineElement__Operand, - _swigc__p_SoTextureCombineElement__Operation, - _swigc__p_SoTextureCombineElement__Source, - _swigc__p_SoTextureCoordinate2, - _swigc__p_SoTextureCoordinate3, - _swigc__p_SoTextureCoordinateBinding, - _swigc__p_SoTextureCoordinateBindingElement, - _swigc__p_SoTextureCoordinateBundle, - _swigc__p_SoTextureCoordinateCache, - _swigc__p_SoTextureCoordinateCube, - _swigc__p_SoTextureCoordinateCylinder, - _swigc__p_SoTextureCoordinateDefault, - _swigc__p_SoTextureCoordinateElement, - _swigc__p_SoTextureCoordinateEnvironment, - _swigc__p_SoTextureCoordinateFunction, - _swigc__p_SoTextureCoordinatePlane, - _swigc__p_SoTextureCoordinateSphere, - _swigc__p_SoTextureEnabledElement, - _swigc__p_SoTextureImageElement, - _swigc__p_SoTextureImageElement__Model, - _swigc__p_SoTextureImageElement__Wrap, - _swigc__p_SoTextureMatrixElement, - _swigc__p_SoTextureOverrideElement, - _swigc__p_SoTextureQualityElement, - _swigc__p_SoTextureScalePolicy, - _swigc__p_SoTextureUnit, - _swigc__p_SoTextureUnitElement, - _swigc__p_SoTimeCounter, - _swigc__p_SoTimerQueueSensor, - _swigc__p_SoTimerSensor, - _swigc__p_SoToVRML2Action, - _swigc__p_SoToVRMLAction, - _swigc__p_SoTrackballDragger, - _swigc__p_SoTrackballManip, - _swigc__p_SoTranReceiver, - _swigc__p_SoTranSender, - _swigc__p_SoTransform, - _swigc__p_SoTransformBoxDragger, - _swigc__p_SoTransformBoxManip, - _swigc__p_SoTransformManip, - _swigc__p_SoTransformSeparator, - _swigc__p_SoTransformVec3f, - _swigc__p_SoTransformation, - _swigc__p_SoTransformerDragger, - _swigc__p_SoTransformerManip, - _swigc__p_SoTranslate1Dragger, - _swigc__p_SoTranslate2Dragger, - _swigc__p_SoTranslation, - _swigc__p_SoTransparencyElement, - _swigc__p_SoTransparencyType, - _swigc__p_SoTriangleStripSet, - _swigc__p_SoTriggerAny, - _swigc__p_SoType, - _swigc__p_SoTypeList, - _swigc__p_SoUnits, - _swigc__p_SoUnitsElement, - _swigc__p_SoVRMLAnchor, - _swigc__p_SoVRMLAppearance, - _swigc__p_SoVRMLAudioClip, - _swigc__p_SoVRMLBackground, - _swigc__p_SoVRMLBillboard, - _swigc__p_SoVRMLBox, - _swigc__p_SoVRMLCollision, - _swigc__p_SoVRMLColor, - _swigc__p_SoVRMLColorInterpolator, - _swigc__p_SoVRMLCone, - _swigc__p_SoVRMLCoordinate, - _swigc__p_SoVRMLCoordinateInterpolator, - _swigc__p_SoVRMLCylinder, - _swigc__p_SoVRMLCylinderSensor, - _swigc__p_SoVRMLDirectionalLight, - _swigc__p_SoVRMLDragSensor, - _swigc__p_SoVRMLElevationGrid, - _swigc__p_SoVRMLExtrusion, - _swigc__p_SoVRMLFog, - _swigc__p_SoVRMLFontStyle, - _swigc__p_SoVRMLGeometry, - _swigc__p_SoVRMLGroup, - _swigc__p_SoVRMLImageTexture, - _swigc__p_SoVRMLIndexedFaceSet, - _swigc__p_SoVRMLIndexedLine, - _swigc__p_SoVRMLIndexedLineSet, - _swigc__p_SoVRMLIndexedShape, - _swigc__p_SoVRMLInline, - _swigc__p_SoVRMLInterpolator, - _swigc__p_SoVRMLLOD, - _swigc__p_SoVRMLLight, - _swigc__p_SoVRMLMaterial, - _swigc__p_SoVRMLMovieTexture, - _swigc__p_SoVRMLNavigationInfo, - _swigc__p_SoVRMLNormal, - _swigc__p_SoVRMLNormalInterpolator, - _swigc__p_SoVRMLOrientationInterpolator, - _swigc__p_SoVRMLParent, - _swigc__p_SoVRMLPixelTexture, - _swigc__p_SoVRMLPlaneSensor, - _swigc__p_SoVRMLPointLight, - _swigc__p_SoVRMLPointSet, - _swigc__p_SoVRMLPositionInterpolator, - _swigc__p_SoVRMLProximitySensor, - _swigc__p_SoVRMLScalarInterpolator, - _swigc__p_SoVRMLScript, - _swigc__p_SoVRMLSensor, - _swigc__p_SoVRMLShape, - _swigc__p_SoVRMLSound, - _swigc__p_SoVRMLSphere, - _swigc__p_SoVRMLSphereSensor, - _swigc__p_SoVRMLSpotLight, - _swigc__p_SoVRMLSwitch, - _swigc__p_SoVRMLText, - _swigc__p_SoVRMLTexture, - _swigc__p_SoVRMLTextureCoordinate, - _swigc__p_SoVRMLTextureTransform, - _swigc__p_SoVRMLTimeSensor, - _swigc__p_SoVRMLTouchSensor, - _swigc__p_SoVRMLTransform, - _swigc__p_SoVRMLVertexLine, - _swigc__p_SoVRMLVertexPoint, - _swigc__p_SoVRMLVertexShape, - _swigc__p_SoVRMLViewpoint, - _swigc__p_SoVRMLVisibilitySensor, - _swigc__p_SoVRMLWorldInfo, - _swigc__p_SoVectorOutput, - _swigc__p_SoVectorizeAction, - _swigc__p_SoVectorizePSAction, - _swigc__p_SoVertexProperty, - _swigc__p_SoVertexShape, - _swigc__p_SoViewVolumeElement, - _swigc__p_SoViewingMatrixElement, - _swigc__p_SoViewportRegionElement, - _swigc__p_SoWWWAnchor, - _swigc__p_SoWWWInline, - _swigc__p_SoWindowElement, - _swigc__p_SoWrapperKit, - _swigc__p_SoWriteAction, - _swigc__p___int64, - _swigc__p_a_4__a_4__double, - _swigc__p_a_4__a_4__doublep, - _swigc__p_a_4__a_4__float, - _swigc__p_a_4__a_4__floatp, - _swigc__p_a_4__float, - _swigc__p_a_4__floatp, - _swigc__p_cc_glglue, - _swigc__p_char, - _swigc__p_charp, - _swigc__p_close_func, - _swigc__p_double, - _swigc__p_doublep, - _swigc__p_f_char__char, - _swigc__p_f_char__charp, - _swigc__p_f_float_p_void__int, - _swigc__p_f_float_p_void__intp, - _swigc__p_f_p_SoAction_p_SoNode__void, - _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - _swigc__p_f_p_q_const__SoError_p_void__void, - _swigc__p_f_p_void__SoGLRenderAction__AbortCode, - _swigc__p_f_p_void__float, - _swigc__p_f_p_void__floatp, - _swigc__p_f_p_void__int, - _swigc__p_f_p_void__intp, - _swigc__p_f_p_void__p_void, - _swigc__p_f_p_void__void, - _swigc__p_f_p_void_int__void, - _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__int, - _swigc__p_f_p_void_long_int_p_SoVRMLAudioClip_p_void__intp, - _swigc__p_f_p_void_p_SoAction__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoNode__SoCallbackAction__Response, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoDragger__void, - _swigc__p_f_p_void_p_SoEventCallback__void, - _swigc__p_f_p_void_p_SoGLRenderAction__void, - _swigc__p_f_p_void_p_SoInput__void, - _swigc__p_f_p_void_p_SoPath__void, - _swigc__p_f_p_void_p_SoSceneManager__void, - _swigc__p_f_p_void_p_SoSelection__void, - _swigc__p_f_p_void_p_SoSensor__void, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__int, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__intp, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__long, - _swigc__p_f_p_void_p_SoVRMLAudioClip_p_void__longp, - _swigc__p_f_p_void_p_SoVRMLScript__void, - _swigc__p_f_p_void_p_q_const__SoIntersectingPrimitive_p_q_const__SoIntersectingPrimitive__SoIntersectionDetectionAction__Resp, - _swigc__p_f_p_void_p_q_const__SoPath__SoCallbackAction__Response, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__int, - _swigc__p_f_p_void_p_q_const__SoPath_p_q_const__SoPath__intp, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - _swigc__p_f_p_void_p_void__int, - _swigc__p_f_p_void_p_void__intp, - _swigc__p_f_p_void_p_void__void, - _swigc__p_f_p_void_p_void_int_r_int_p_SoVRMLAudioClip_p_void__size_t, - _swigc__p_f_p_void_p_void_p_void_p_void__void, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - _swigc__p_f_p_void_size_t__p_void, - _swigc__p_f_p_void_unsigned_int__void, - _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__int, - _swigc__p_f_q_const__p_void_q_const__p_q_const__SbPlane_q_const__int__intp, - _swigc__p_f_q_const__p_void_r_SbBox3f__void, - _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__int, - _swigc__p_f_q_const__p_void_r_q_const__SbBox3f__intp, - _swigc__p_f_q_const__p_void_r_q_const__SbSphere__int, - _swigc__p_f_q_const__p_void_r_q_const__SbSphere__intp, - _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__int, - _swigc__p_f_q_const__p_void_r_q_const__SbVec3f__intp, - _swigc__p_f_q_const__unsigned_long__unsigned_long, - _swigc__p_f_r_q_const__SbName_float_int_p_void__int, - _swigc__p_f_r_q_const__SbName_float_int_p_void__intp, - _swigc__p_f_r_q_const__SbStringList_p_SoVRMLAudioClip_p_void__p_void, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - _swigc__p_f_unsigned_int_p_void__void, - _swigc__p_f_unsigned_long_p_void__void, - _swigc__p_f_unsigned_long_p_void_p_void__void, - _swigc__p_f_void__p_void, - _swigc__p_float, - _swigc__p_floatp, - _swigc__p_int, - _swigc__p_intp, - _swigc__p_long, - _swigc__p_longp, - _swigc__p_open_func, - _swigc__p_p_SbName, - _swigc__p_p_SbString, - _swigc__p_p_SbVec2f, - _swigc__p_p_SoAnnotation, - _swigc__p_p_SoAntiSquish, - _swigc__p_p_SoAppearanceKit, - _swigc__p_p_SoArray, - _swigc__p_p_SoAsciiText, - _swigc__p_p_SoBase, - _swigc__p_p_SoBaseColor, - _swigc__p_p_SoBaseKit, - _swigc__p_p_SoBlinker, - _swigc__p_p_SoBoolOperation, - _swigc__p_p_SoBoxHighlightRenderAction, - _swigc__p_p_SoBumpMap, - _swigc__p_p_SoBumpMapCoordinate, - _swigc__p_p_SoBumpMapTransform, - _swigc__p_p_SoCalculator, - _swigc__p_p_SoCallback, - _swigc__p_p_SoCamera, - _swigc__p_p_SoCameraKit, - _swigc__p_p_SoCenterballDragger, - _swigc__p_p_SoCenterballManip, - _swigc__p_p_SoClipPlane, - _swigc__p_p_SoClipPlaneManip, - _swigc__p_p_SoColorIndex, - _swigc__p_p_SoComplexity, - _swigc__p_p_SoComposeMatrix, - _swigc__p_p_SoComposeRotation, - _swigc__p_p_SoComposeRotationFromTo, - _swigc__p_p_SoComposeVec2f, - _swigc__p_p_SoComposeVec3f, - _swigc__p_p_SoComposeVec4f, - _swigc__p_p_SoComputeBoundingBox, - _swigc__p_p_SoConcatenate, - _swigc__p_p_SoCone, - _swigc__p_p_SoCoordinate3, - _swigc__p_p_SoCoordinate4, - _swigc__p_p_SoCounter, - _swigc__p_p_SoCube, - _swigc__p_p_SoCylinder, - _swigc__p_p_SoDecomposeMatrix, - _swigc__p_p_SoDecomposeRotation, - _swigc__p_p_SoDecomposeVec2f, - _swigc__p_p_SoDecomposeVec3f, - _swigc__p_p_SoDecomposeVec4f, - _swigc__p_p_SoDirectionalLight, - _swigc__p_p_SoDirectionalLightDragger, - _swigc__p_p_SoDirectionalLightManip, - _swigc__p_p_SoDragPointDragger, - _swigc__p_p_SoDragger, - _swigc__p_p_SoDrawStyle, - _swigc__p_p_SoElapsedTime, - _swigc__p_p_SoEngine, - _swigc__p_p_SoEngineOutput, - _swigc__p_p_SoEnvironment, - _swigc__p_p_SoEventCallback, - _swigc__p_p_SoExtSelection, - _swigc__p_p_SoFaceSet, - _swigc__p_p_SoField, - _swigc__p_p_SoFieldContainer, - _swigc__p_p_SoFieldConverter, - _swigc__p_p_SoFile, - _swigc__p_p_SoFont, - _swigc__p_p_SoFontStyle, - _swigc__p_p_SoFullPath, - _swigc__p_p_SoGLRenderAction, - _swigc__p_p_SoGate, - _swigc__p_p_SoGroup, - _swigc__p_p_SoHandleBoxDragger, - _swigc__p_p_SoHandleBoxManip, - _swigc__p_p_SoImage, - _swigc__p_p_SoIndexedFaceSet, - _swigc__p_p_SoIndexedLineSet, - _swigc__p_p_SoIndexedNurbsCurve, - _swigc__p_p_SoIndexedNurbsSurface, - _swigc__p_p_SoIndexedShape, - _swigc__p_p_SoIndexedTriangleStripSet, - _swigc__p_p_SoInfo, - _swigc__p_p_SoInteractionKit, - _swigc__p_p_SoInterpolate, - _swigc__p_p_SoInterpolateFloat, - _swigc__p_p_SoInterpolateRotation, - _swigc__p_p_SoInterpolateVec2f, - _swigc__p_p_SoInterpolateVec3f, - _swigc__p_p_SoInterpolateVec4f, - _swigc__p_p_SoJackDragger, - _swigc__p_p_SoJackManip, - _swigc__p_p_SoLOD, - _swigc__p_p_SoLabel, - _swigc__p_p_SoLevelOfDetail, - _swigc__p_p_SoLight, - _swigc__p_p_SoLightKit, - _swigc__p_p_SoLightModel, - _swigc__p_p_SoLineHighlightRenderAction, - _swigc__p_p_SoLineSet, - _swigc__p_p_SoLinearProfile, - _swigc__p_p_SoListener, - _swigc__p_p_SoLocateHighlight, - _swigc__p_p_SoMFBitMask, - _swigc__p_p_SoMFBool, - _swigc__p_p_SoMFColor, - _swigc__p_p_SoMFEngine, - _swigc__p_p_SoMFEnum, - _swigc__p_p_SoMFFloat, - _swigc__p_p_SoMFInt32, - _swigc__p_p_SoMFMatrix, - _swigc__p_p_SoMFName, - _swigc__p_p_SoMFNode, - _swigc__p_p_SoMFPath, - _swigc__p_p_SoMFPlane, - _swigc__p_p_SoMFRotation, - _swigc__p_p_SoMFShort, - _swigc__p_p_SoMFString, - _swigc__p_p_SoMFTime, - _swigc__p_p_SoMFUInt32, - _swigc__p_p_SoMFUShort, - _swigc__p_p_SoMFVec2f, - _swigc__p_p_SoMFVec3d, - _swigc__p_p_SoMFVec3f, - _swigc__p_p_SoMFVec4f, - _swigc__p_p_SoMField, - _swigc__p_p_SoMarkerSet, - _swigc__p_p_SoMaterial, - _swigc__p_p_SoMaterialBinding, - _swigc__p_p_SoMatrixTransform, - _swigc__p_p_SoMultipleCopy, - _swigc__p_p_SoNode, - _swigc__p_p_SoNodeEngine, - _swigc__p_p_SoNodeKitListPart, - _swigc__p_p_SoNodeKitPath, - _swigc__p_p_SoNonIndexedShape, - _swigc__p_p_SoNormal, - _swigc__p_p_SoNormalBinding, - _swigc__p_p_SoNurbsCurve, - _swigc__p_p_SoNurbsProfile, - _swigc__p_p_SoNurbsSurface, - _swigc__p_p_SoOnOff, - _swigc__p_p_SoOneShot, - _swigc__p_p_SoOrthographicCamera, - _swigc__p_p_SoPackedColor, - _swigc__p_p_SoPath, - _swigc__p_p_SoPathSwitch, - _swigc__p_p_SoPendulum, - _swigc__p_p_SoPerspectiveCamera, - _swigc__p_p_SoPickStyle, - _swigc__p_p_SoPointLight, - _swigc__p_p_SoPointLightDragger, - _swigc__p_p_SoPointLightManip, - _swigc__p_p_SoPointSet, - _swigc__p_p_SoPolygonOffset, - _swigc__p_p_SoProfile, - _swigc__p_p_SoProfileCoordinate2, - _swigc__p_p_SoProfileCoordinate3, - _swigc__p_p_SoProto, - _swigc__p_p_SoProtoInstance, - _swigc__p_p_SoQuadMesh, - _swigc__p_p_SoResetTransform, - _swigc__p_p_SoRotateCylindricalDragger, - _swigc__p_p_SoRotateDiscDragger, - _swigc__p_p_SoRotateSphericalDragger, - _swigc__p_p_SoRotation, - _swigc__p_p_SoRotationXYZ, - _swigc__p_p_SoRotor, - _swigc__p_p_SoSFBitMask, - _swigc__p_p_SoSFBool, - _swigc__p_p_SoSFBox3s, - _swigc__p_p_SoSFColor, - _swigc__p_p_SoSFEngine, - _swigc__p_p_SoSFEnum, - _swigc__p_p_SoSFFloat, - _swigc__p_p_SoSFImage, - _swigc__p_p_SoSFImage3, - _swigc__p_p_SoSFInt32, - _swigc__p_p_SoSFMatrix, - _swigc__p_p_SoSFName, - _swigc__p_p_SoSFNode, - _swigc__p_p_SoSFPath, - _swigc__p_p_SoSFPlane, - _swigc__p_p_SoSFRotation, - _swigc__p_p_SoSFShort, - _swigc__p_p_SoSFString, - _swigc__p_p_SoSFTime, - _swigc__p_p_SoSFTrigger, - _swigc__p_p_SoSFUInt32, - _swigc__p_p_SoSFUShort, - _swigc__p_p_SoSFVec2f, - _swigc__p_p_SoSFVec2s, - _swigc__p_p_SoSFVec3d, - _swigc__p_p_SoSFVec3f, - _swigc__p_p_SoSFVec3s, - _swigc__p_p_SoSFVec4f, - _swigc__p_p_SoSField, - _swigc__p_p_SoScale, - _swigc__p_p_SoScale1Dragger, - _swigc__p_p_SoScale2Dragger, - _swigc__p_p_SoScale2UniformDragger, - _swigc__p_p_SoScaleUniformDragger, - _swigc__p_p_SoSceneKit, - _swigc__p_p_SoSceneTexture2, - _swigc__p_p_SoSelectOne, - _swigc__p_p_SoSelection, - _swigc__p_p_SoSeparator, - _swigc__p_p_SoSeparatorKit, - _swigc__p_p_SoShape, - _swigc__p_p_SoShapeHints, - _swigc__p_p_SoShapeKit, - _swigc__p_p_SoShuttle, - _swigc__p_p_SoSphere, - _swigc__p_p_SoSpotLight, - _swigc__p_p_SoSpotLightDragger, - _swigc__p_p_SoSpotLightManip, - _swigc__p_p_SoSurroundScale, - _swigc__p_p_SoSwitch, - _swigc__p_p_SoTabBoxDragger, - _swigc__p_p_SoTabBoxManip, - _swigc__p_p_SoTabPlaneDragger, - _swigc__p_p_SoTempPath, - _swigc__p_p_SoText2, - _swigc__p_p_SoText3, - _swigc__p_p_SoTexture2, - _swigc__p_p_SoTexture2Transform, - _swigc__p_p_SoTexture3, - _swigc__p_p_SoTexture3Transform, - _swigc__p_p_SoTextureCombine, - _swigc__p_p_SoTextureCoordinate2, - _swigc__p_p_SoTextureCoordinate3, - _swigc__p_p_SoTextureCoordinateBinding, - _swigc__p_p_SoTextureCoordinateCube, - _swigc__p_p_SoTextureCoordinateCylinder, - _swigc__p_p_SoTextureCoordinateDefault, - _swigc__p_p_SoTextureCoordinateEnvironment, - _swigc__p_p_SoTextureCoordinateFunction, - _swigc__p_p_SoTextureCoordinatePlane, - _swigc__p_p_SoTextureCoordinateSphere, - _swigc__p_p_SoTextureScalePolicy, - _swigc__p_p_SoTextureUnit, - _swigc__p_p_SoTimeCounter, - _swigc__p_p_SoTrackballDragger, - _swigc__p_p_SoTrackballManip, - _swigc__p_p_SoTransform, - _swigc__p_p_SoTransformBoxDragger, - _swigc__p_p_SoTransformBoxManip, - _swigc__p_p_SoTransformManip, - _swigc__p_p_SoTransformSeparator, - _swigc__p_p_SoTransformVec3f, - _swigc__p_p_SoTransformation, - _swigc__p_p_SoTransformerDragger, - _swigc__p_p_SoTransformerManip, - _swigc__p_p_SoTranslate1Dragger, - _swigc__p_p_SoTranslate2Dragger, - _swigc__p_p_SoTranslation, - _swigc__p_p_SoTransparencyType, - _swigc__p_p_SoTriangleStripSet, - _swigc__p_p_SoTriggerAny, - _swigc__p_p_SoUnits, - _swigc__p_p_SoVRMLAnchor, - _swigc__p_p_SoVRMLAppearance, - _swigc__p_p_SoVRMLAudioClip, - _swigc__p_p_SoVRMLBackground, - _swigc__p_p_SoVRMLBillboard, - _swigc__p_p_SoVRMLBox, - _swigc__p_p_SoVRMLCollision, - _swigc__p_p_SoVRMLColor, - _swigc__p_p_SoVRMLColorInterpolator, - _swigc__p_p_SoVRMLCone, - _swigc__p_p_SoVRMLCoordinate, - _swigc__p_p_SoVRMLCoordinateInterpolator, - _swigc__p_p_SoVRMLCylinder, - _swigc__p_p_SoVRMLCylinderSensor, - _swigc__p_p_SoVRMLDirectionalLight, - _swigc__p_p_SoVRMLDragSensor, - _swigc__p_p_SoVRMLElevationGrid, - _swigc__p_p_SoVRMLExtrusion, - _swigc__p_p_SoVRMLFog, - _swigc__p_p_SoVRMLFontStyle, - _swigc__p_p_SoVRMLGeometry, - _swigc__p_p_SoVRMLGroup, - _swigc__p_p_SoVRMLImageTexture, - _swigc__p_p_SoVRMLIndexedFaceSet, - _swigc__p_p_SoVRMLIndexedLine, - _swigc__p_p_SoVRMLIndexedLineSet, - _swigc__p_p_SoVRMLIndexedShape, - _swigc__p_p_SoVRMLInline, - _swigc__p_p_SoVRMLInterpolator, - _swigc__p_p_SoVRMLLOD, - _swigc__p_p_SoVRMLLight, - _swigc__p_p_SoVRMLMaterial, - _swigc__p_p_SoVRMLMovieTexture, - _swigc__p_p_SoVRMLNavigationInfo, - _swigc__p_p_SoVRMLNormal, - _swigc__p_p_SoVRMLNormalInterpolator, - _swigc__p_p_SoVRMLOrientationInterpolator, - _swigc__p_p_SoVRMLParent, - _swigc__p_p_SoVRMLPixelTexture, - _swigc__p_p_SoVRMLPlaneSensor, - _swigc__p_p_SoVRMLPointLight, - _swigc__p_p_SoVRMLPointSet, - _swigc__p_p_SoVRMLPositionInterpolator, - _swigc__p_p_SoVRMLProximitySensor, - _swigc__p_p_SoVRMLScalarInterpolator, - _swigc__p_p_SoVRMLScript, - _swigc__p_p_SoVRMLSensor, - _swigc__p_p_SoVRMLShape, - _swigc__p_p_SoVRMLSound, - _swigc__p_p_SoVRMLSphere, - _swigc__p_p_SoVRMLSphereSensor, - _swigc__p_p_SoVRMLSpotLight, - _swigc__p_p_SoVRMLSwitch, - _swigc__p_p_SoVRMLText, - _swigc__p_p_SoVRMLTexture, - _swigc__p_p_SoVRMLTextureCoordinate, - _swigc__p_p_SoVRMLTextureTransform, - _swigc__p_p_SoVRMLTimeSensor, - _swigc__p_p_SoVRMLTouchSensor, - _swigc__p_p_SoVRMLTransform, - _swigc__p_p_SoVRMLVertexLine, - _swigc__p_p_SoVRMLVertexPoint, - _swigc__p_p_SoVRMLVertexShape, - _swigc__p_p_SoVRMLViewpoint, - _swigc__p_p_SoVRMLVisibilitySensor, - _swigc__p_p_SoVRMLWorldInfo, - _swigc__p_p_SoVertexProperty, - _swigc__p_p_SoVertexShape, - _swigc__p_p_SoWWWAnchor, - _swigc__p_p_SoWWWInline, - _swigc__p_p_SoWrapperKit, - _swigc__p_p_char, - _swigc__p_p_charp, - _swigc__p_p_f_p_SoAction_p_SoNode__void, - _swigc__p_p_f_p_void_p_SoInput__void, - _swigc__p_p_float, - _swigc__p_p_floatp, - _swigc__p_p_int, - _swigc__p_p_intp, - _swigc__p_p_unsigned_char, - _swigc__p_p_void, - _swigc__p_read_func, - _swigc__p_seek_func, - _swigc__p_short, - _swigc__p_size_t, - _swigc__p_tell_func, - _swigc__p_time_t, - _swigc__p_timeval, - _swigc__p_unsigned___int64, - _swigc__p_unsigned_char, - _swigc__p_unsigned_int, - _swigc__p_unsigned_short, - _swigc__p_void, -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ - -static swig_const_info swig_const_table[] = { -{0, 0, 0, 0.0, 0, 0}}; - -#ifdef __cplusplus -} -#endif -/* ----------------------------------------------------------------------------- - * Type initialization: - * This problem is tough by the requirement that no dynamic - * memory is used. Also, since swig_type_info structures store pointers to - * swig_cast_info structures and swig_cast_info structures store pointers back - * to swig_type_info structures, we need some lookup code at initialization. - * The idea is that swig generates all the structures that are needed. - * The runtime then collects these partially filled structures. - * The SWIG_InitializeModule function takes these initial arrays out of - * swig_module, and does all the lookup, filling in the swig_module.types - * array with the correct data and linking the correct swig_cast_info - * structures together. - * - * The generated swig_type_info structures are assigned staticly to an initial - * array. We just loop through that array, and handle each type individually. - * First we lookup if this type has been already loaded, and if so, use the - * loaded structure instead of the generated one. Then we have to fill in the - * cast linked list. The cast data is initially stored in something like a - * two-dimensional array. Each row corresponds to a type (there are the same - * number of rows as there are in the swig_type_initial array). Each entry in - * a column is one of the swig_cast_info structures for that type. - * The cast_initial array is actually an array of arrays, because each row has - * a variable number of columns. So to actually build the cast linked list, - * we find the array of casts associated with the type, and loop through it - * adding the casts to the list. The one last trick we need to do is making - * sure the type pointer in the swig_cast_info struct is correct. - * - * First off, we lookup the cast->type name to see if it is already loaded. - * There are three cases to handle: - * 1) If the cast->type has already been loaded AND the type we are adding - * casting info to has not been loaded (it is in this module), THEN we - * replace the cast->type pointer with the type pointer that has already - * been loaded. - * 2) If BOTH types (the one we are adding casting info to, and the - * cast->type) are loaded, THEN the cast info has already been loaded by - * the previous module so we just ignore it. - * 3) Finally, if cast->type has not already been loaded, then we add that - * swig_cast_info to the linked list (because the cast->type) pointer will - * be correct. - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* c-mode */ -#endif -#endif - -#if 0 -#define SWIGRUNTIME_DEBUG -#endif - - -SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { - size_t i; - swig_module_info *module_head, *iter; - int found; - - clientdata = clientdata; - - /* check to see if the circular list has been setup, if not, set it up */ - if (swig_module.next==0) { - /* Initialize the swig_module */ - swig_module.type_initial = swig_type_initial; - swig_module.cast_initial = swig_cast_initial; - swig_module.next = &swig_module; - } - - /* Try and load any already created modules */ - module_head = SWIG_GetModule(clientdata); - if (!module_head) { - /* This is the first module loaded for this interpreter */ - /* so set the swig module into the interpreter */ - SWIG_SetModule(clientdata, &swig_module); - module_head = &swig_module; - } else { - /* the interpreter has loaded a SWIG module, but has it loaded this one? */ - found=0; - iter=module_head; - do { - if (iter==&swig_module) { - found=1; - break; - } - iter=iter->next; - } while (iter!= module_head); - - /* if the is found in the list, then all is done and we may leave */ - if (found) return; - /* otherwise we must add out module into the list */ - swig_module.next = module_head->next; - module_head->next = &swig_module; - } - - /* Now work on filling in swig_module.types */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: size %d\n", swig_module.size); -#endif - for (i = 0; i < swig_module.size; ++i) { - swig_type_info *type = 0; - swig_type_info *ret; - swig_cast_info *cast; - -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); -#endif - - /* if there is another module already loaded */ - if (swig_module.next != &swig_module) { - type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); - } - if (type) { - /* Overwrite clientdata field */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found type %s\n", type->name); -#endif - if (swig_module.type_initial[i]->clientdata) { - type->clientdata = swig_module.type_initial[i]->clientdata; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); -#endif - } - } else { - type = swig_module.type_initial[i]; - } - - /* Insert casting types */ - cast = swig_module.cast_initial[i]; - while (cast->type) { - /* Don't need to add information already in the list */ - ret = 0; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); -#endif - if (swig_module.next != &swig_module) { - ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); -#ifdef SWIGRUNTIME_DEBUG - if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); -#endif - } - if (ret) { - if (type == swig_module.type_initial[i]) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: skip old type %s\n", ret->name); -#endif - cast->type = ret; - ret = 0; - } else { - /* Check for casting already in the list */ - swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); -#ifdef SWIGRUNTIME_DEBUG - if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); -#endif - if (!ocast) ret = 0; - } - } - - if (!ret) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); -#endif - if (type->cast) { - type->cast->prev = cast; - cast->next = type->cast; - } - type->cast = cast; - } - cast++; - } - /* Set entry in modules->types array equal to the type */ - swig_module.types[i] = type; - } - swig_module.types[i] = 0; - -#ifdef SWIGRUNTIME_DEBUG - printf("**** SWIG_InitializeModule: Cast List ******\n"); - for (i = 0; i < swig_module.size; ++i) { - int j = 0; - swig_cast_info *cast = swig_module.cast_initial[i]; - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); - while (cast->type) { - printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); - cast++; - ++j; - } - printf("---- Total casts: %d\n",j); - } - printf("**** SWIG_InitializeModule: Cast List ******\n"); -#endif -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientData(void) { - size_t i; - swig_cast_info *equiv; - static int init_run = 0; - - if (init_run) return; - init_run = 1; - - for (i = 0; i < swig_module.size; i++) { - if (swig_module.types[i]->clientdata) { - equiv = swig_module.types[i]->cast; - while (equiv) { - if (!equiv->converter) { - if (equiv->type && !equiv->type->clientdata) - SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); - } - equiv = equiv->next; - } - } - } -} - -#ifdef __cplusplus -#if 0 -{ - /* c-mode */ -#endif -} -#endif - - - -#ifdef __cplusplus -extern "C" { -#endif - - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { - return PyString_FromString(""); - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); - return str; - } - - SWIGINTERN int - swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { - PyObject *str = swig_varlink_str(v); - fprintf(fp,"Swig global variables "); - fprintf(fp,"%s\n", PyString_AsString(str)); - Py_DECREF(str); - return 0; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* Number of items in variable part (ob_size) */ - (char *)"swigvarlink", /* Type name (tp_name) */ - sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ - 0, /* Itemsize (tp_itemsize) */ - (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ - (printfunc) swig_varlink_print, /* Print (tp_print) */ - (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ - (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc)swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - varlink_type = tmp; - varlink_type.ob_type = &PyType_Type; - type_init = 1; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - strncpy(gv->name,name,size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *_SWIG_globals = 0; - if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); - return _SWIG_globals; - } - - /* ----------------------------------------------------------------------------- - * constants/methods manipulation - * ----------------------------------------------------------------------------- */ - - /* Install Constants */ - SWIGINTERN void - SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { - PyObject *obj = 0; - size_t i; - for (i = 0; constants[i].type; ++i) { - switch(constants[i].type) { - case SWIG_PY_POINTER: - obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); - break; - case SWIG_PY_BINARY: - obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); - break; - default: - obj = 0; - break; - } - if (obj) { - PyDict_SetItemString(d, constants[i].name, obj); - Py_DECREF(obj); - } - } - } - - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ - - SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { - size_t i; - for (i = 0; methods[i].ml_name; ++i) { - const char *c = methods[i].ml_doc; - if (c && (c = strstr(c, "swig_ptr: "))) { - int j; - swig_const_info *ci = 0; - const char *name = c + 10; - for (j = 0; const_table[j].type; ++j) { - if (strncmp(const_table[j].name, name, - strlen(const_table[j].name)) == 0) { - ci = &(const_table[j]); - break; - } - } - if (ci) { - size_t shift = (ci->ptype) - types; - swig_type_info *ty = types_initial[shift]; - size_t ldoc = (c - methods[i].ml_doc); - size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; - char *ndoc = (char*)malloc(ldoc + lptr + 10); - if (ndoc) { - char *buff = ndoc; - void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; - if (ptr) { - strncpy(buff, methods[i].ml_doc, ldoc); - buff += ldoc; - strncpy(buff, "swig_ptr: ", 10); - buff += 10; - SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); - methods[i].ml_doc = ndoc; - } - } - } - } - } - } - -#ifdef __cplusplus -} -#endif - -/* -----------------------------------------------------------------------------* - * Partial Init method - * -----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIG_init(void) { - PyObject *m, *d; - - /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); - - m = Py_InitModule((char *) SWIG_name, SwigMethods); - d = PyModule_GetDict(m); - - SWIG_InitializeModule(0); - SWIG_InstallConstants(d,swig_const_table); - - - SWIG_Python_SetConstant(d, "FALSE",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "TRUE",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_SYS_TYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDDEF_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "M_E",SWIG_From_double(static_cast< double >(2.7182818284590452354))); - SWIG_Python_SetConstant(d, "M_LOG2E",SWIG_From_double(static_cast< double >(1.4426950408889634074))); - SWIG_Python_SetConstant(d, "M_LOG10E",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LN2",SWIG_From_double(static_cast< double >(0.69314718055994530942))); - SWIG_Python_SetConstant(d, "M_LN10",SWIG_From_double(static_cast< double >(2.30258509299404568402))); - SWIG_Python_SetConstant(d, "M_PI",SWIG_From_double(static_cast< double >(3.14159265358979323846))); - SWIG_Python_SetConstant(d, "M_TWOPI",SWIG_From_double(static_cast< double >((3.14159265358979323846*2.0)))); - SWIG_Python_SetConstant(d, "M_PI_2",SWIG_From_double(static_cast< double >(1.57079632679489661923))); - SWIG_Python_SetConstant(d, "M_PI_4",SWIG_From_double(static_cast< double >(0.78539816339744830962))); - SWIG_Python_SetConstant(d, "M_3PI_4",SWIG_From_double(static_cast< double >(2.3561944901923448370E0))); - SWIG_Python_SetConstant(d, "M_SQRTPI",SWIG_From_double(static_cast< double >(1.77245385090551602792981))); - SWIG_Python_SetConstant(d, "M_1_PI",SWIG_From_double(static_cast< double >(0.31830988618379067154))); - SWIG_Python_SetConstant(d, "M_2_PI",SWIG_From_double(static_cast< double >(0.63661977236758134308))); - SWIG_Python_SetConstant(d, "M_2_SQRTPI",SWIG_From_double(static_cast< double >(1.12837916709551257390))); - SWIG_Python_SetConstant(d, "M_SQRT2",SWIG_From_double(static_cast< double >(1.41421356237309504880))); - SWIG_Python_SetConstant(d, "M_SQRT1_2",SWIG_From_double(static_cast< double >(0.70710678118654752440))); - SWIG_Python_SetConstant(d, "M_LN2LO",SWIG_From_double(static_cast< double >(1.9082149292705877000E-10))); - SWIG_Python_SetConstant(d, "M_LN2HI",SWIG_From_double(static_cast< double >(6.9314718036912381649E-1))); - SWIG_Python_SetConstant(d, "M_SQRT3",SWIG_From_double(static_cast< double >(1.73205080756887719000))); - SWIG_Python_SetConstant(d, "M_IVLN10",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LOG2_E",SWIG_From_double(static_cast< double >(0.693147180559945309417))); - SWIG_Python_SetConstant(d, "M_INVLN2",SWIG_From_double(static_cast< double >(1.4426950408889633870E0))); - SWIG_Python_SetConstant(d, "COIN_MAJOR_VERSION",SWIG_From_int(static_cast< int >(2))); - SWIG_Python_SetConstant(d, "COIN_MINOR_VERSION",SWIG_From_int(static_cast< int >(4))); - SWIG_Python_SetConstant(d, "COIN_MICRO_VERSION",SWIG_From_int(static_cast< int >(6))); - SWIG_Python_SetConstant(d, "COIN_VERSION",SWIG_FromCharPtr("2.4.6")); - SWIG_Python_SetConstant(d, "HAVE_HASH_QUOTING",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoNotRec_CONTAINER",SWIG_From_int(static_cast< int >(SoNotRec::CONTAINER))); - SWIG_Python_SetConstant(d, "SoNotRec_PARENT",SWIG_From_int(static_cast< int >(SoNotRec::PARENT))); - SWIG_Python_SetConstant(d, "SoNotRec_SENSOR",SWIG_From_int(static_cast< int >(SoNotRec::SENSOR))); - SWIG_Python_SetConstant(d, "SoNotRec_FIELD",SWIG_From_int(static_cast< int >(SoNotRec::FIELD))); - SWIG_Python_SetConstant(d, "SoNotRec_ENGINE",SWIG_From_int(static_cast< int >(SoNotRec::ENGINE))); - SWIG_Python_SetConstant(d, "SoField_NORMAL_FIELD",SWIG_From_int(static_cast< int >(SoField::NORMAL_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTIN_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTIN_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTOUT_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTOUT_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EXPOSED_FIELD",SWIG_From_int(static_cast< int >(SoField::EXPOSED_FIELD))); - SWIG_Python_SetConstant(d, "SoAction_NODE",SWIG_From_int(static_cast< int >(SoAction::NODE))); - SWIG_Python_SetConstant(d, "SoAction_PATH",SWIG_From_int(static_cast< int >(SoAction::PATH))); - SWIG_Python_SetConstant(d, "SoAction_PATH_LIST",SWIG_From_int(static_cast< int >(SoAction::PATH_LIST))); - SWIG_Python_SetConstant(d, "SoAction_NO_PATH",SWIG_From_int(static_cast< int >(SoAction::NO_PATH))); - SWIG_Python_SetConstant(d, "SoAction_IN_PATH",SWIG_From_int(static_cast< int >(SoAction::IN_PATH))); - SWIG_Python_SetConstant(d, "SoAction_BELOW_PATH",SWIG_From_int(static_cast< int >(SoAction::BELOW_PATH))); - SWIG_Python_SetConstant(d, "SoAction_OFF_PATH",SWIG_From_int(static_cast< int >(SoAction::OFF_PATH))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_AUTOMATIC",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::AUTOMATIC))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_HIGHEST",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::HIGHEST))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_LOWEST",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::LOWEST))); - SWIG_Python_SetConstant(d, "SoDecimationTypeElement_PERCENTAGE",SWIG_From_int(static_cast< int >(SoDecimationTypeElement::PERCENTAGE))); - SWIG_Python_SetConstant(d, "SoNode_FIRST_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::FIRST_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_PROTO_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::PROTO_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_OTHER_INSTANCE",SWIG_From_int(static_cast< int >(SoNode::OTHER_INSTANCE))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR",SWIG_From_int(static_cast< int >(SoNode::INVENTOR))); - SWIG_Python_SetConstant(d, "SoNode_VRML1",SWIG_From_int(static_cast< int >(SoNode::VRML1))); - SWIG_Python_SetConstant(d, "SoNode_VRML2",SWIG_From_int(static_cast< int >(SoNode::VRML2))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_1",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_1))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_0",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_0))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_1",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_1))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_5",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_5))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_2_6",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_2_6))); - SWIG_Python_SetConstant(d, "SoNode_COIN_1_0",SWIG_From_int(static_cast< int >(SoNode::COIN_1_0))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_0",SWIG_From_int(static_cast< int >(SoNode::COIN_2_0))); - SWIG_Python_SetConstant(d, "SoNode_EXTENSION",SWIG_From_int(static_cast< int >(SoNode::EXTENSION))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_2",SWIG_From_int(static_cast< int >(SoNode::COIN_2_2))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_3",SWIG_From_int(static_cast< int >(SoNode::COIN_2_3))); - SWIG_Python_SetConstant(d, "SoNode_COIN_2_4",SWIG_From_int(static_cast< int >(SoNode::COIN_2_4))); - SWIG_Python_SetConstant(d, "SoNode_INVENTOR_5_0",SWIG_From_int(static_cast< int >(SoNode::INVENTOR_5_0))); - SWIG_Python_SetConstant(d, "SoOutput_COUNT_REFS",SWIG_From_int(static_cast< int >(SoOutput::COUNT_REFS))); - SWIG_Python_SetConstant(d, "SoOutput_WRITE",SWIG_From_int(static_cast< int >(SoOutput::WRITE))); - SWIG_Python_SetConstant(d, "SoOutput_ADDRESSES",SWIG_From_int(static_cast< int >(SoOutput::ADDRESSES))); - SWIG_Python_SetConstant(d, "SoOutput_REF_COUNTS",SWIG_From_int(static_cast< int >(SoOutput::REF_COUNTS))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_OBJECT_SPACE",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::OBJECT_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_SCREEN_SPACE",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::SCREEN_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexityTypeElement_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoComplexityTypeElement::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoComplexity_OBJECT_SPACE",SWIG_From_int(static_cast< int >(SoComplexity::OBJECT_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexity_SCREEN_SPACE",SWIG_From_int(static_cast< int >(SoComplexity::SCREEN_SPACE))); - SWIG_Python_SetConstant(d, "SoComplexity_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoComplexity::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_FILLED",SWIG_From_int(static_cast< int >(SoDrawStyleElement::FILLED))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_LINES",SWIG_From_int(static_cast< int >(SoDrawStyleElement::LINES))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_POINTS",SWIG_From_int(static_cast< int >(SoDrawStyleElement::POINTS))); - SWIG_Python_SetConstant(d, "SoDrawStyleElement_INVISIBLE",SWIG_From_int(static_cast< int >(SoDrawStyleElement::INVISIBLE))); - SWIG_Python_SetConstant(d, "SoDrawStyle_FILLED",SWIG_From_int(static_cast< int >(SoDrawStyle::FILLED))); - SWIG_Python_SetConstant(d, "SoDrawStyle_LINES",SWIG_From_int(static_cast< int >(SoDrawStyle::LINES))); - SWIG_Python_SetConstant(d, "SoDrawStyle_POINTS",SWIG_From_int(static_cast< int >(SoDrawStyle::POINTS))); - SWIG_Python_SetConstant(d, "SoDrawStyle_INVISIBLE",SWIG_From_int(static_cast< int >(SoDrawStyle::INVISIBLE))); - SWIG_Python_SetConstant(d, "SO_LAZY_SHINY_THRESHOLD",SWIG_From_double(static_cast< double >(0.005))); - SWIG_Python_SetConstant(d, "SoLazyElement_LIGHT_MODEL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::LIGHT_MODEL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_COLOR_MATERIAL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::COLOR_MATERIAL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_AMBIENT_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::AMBIENT_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_EMISSIVE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::EMISSIVE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SPECULAR_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SPECULAR_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHININESS_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SHININESS_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_BLENDING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::BLENDING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_TRANSPARENCY_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::TRANSPARENCY_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_VERTEXORDERING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::VERTEXORDERING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_TWOSIDE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::TWOSIDE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_CULLING_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::CULLING_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHADE_MODEL_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::SHADE_MODEL_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_GLIMAGE_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::GLIMAGE_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALPHATEST_CASE",SWIG_From_int(static_cast< int >(SoLazyElement::ALPHATEST_CASE))); - SWIG_Python_SetConstant(d, "SoLazyElement_LAZYCASES_LAST",SWIG_From_int(static_cast< int >(SoLazyElement::LAZYCASES_LAST))); - SWIG_Python_SetConstant(d, "SoLazyElement_LIGHT_MODEL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::LIGHT_MODEL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_COLOR_MATERIAL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::COLOR_MATERIAL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_AMBIENT_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::AMBIENT_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_EMISSIVE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::EMISSIVE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SPECULAR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SPECULAR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHININESS_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SHININESS_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_TRANSPARENCY_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::TRANSPARENCY_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_BLENDING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::BLENDING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_VERTEXORDERING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::VERTEXORDERING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_TWOSIDE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::TWOSIDE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_CULLING_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::CULLING_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_SHADE_MODEL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::SHADE_MODEL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_GLIMAGE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::GLIMAGE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALPHATEST_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALPHATEST_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_OTHER_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::OTHER_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_NO_COLOR_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::NO_COLOR_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_ALL_BUT_DIFFUSE_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::ALL_BUT_DIFFUSE_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_DIFFUSE_ONLY_MASK",SWIG_From_int(static_cast< int >(SoLazyElement::DIFFUSE_ONLY_MASK))); - SWIG_Python_SetConstant(d, "SoLazyElement_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLazyElement::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLazyElement_PHONG",SWIG_From_int(static_cast< int >(SoLazyElement::PHONG))); - SWIG_Python_SetConstant(d, "SoLazyElement_CW",SWIG_From_int(static_cast< int >(SoLazyElement::CW))); - SWIG_Python_SetConstant(d, "SoLazyElement_CCW",SWIG_From_int(static_cast< int >(SoLazyElement::CCW))); - SWIG_Python_SetConstant(d, "SoLightModel_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLightModel::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLightModel_PHONG",SWIG_From_int(static_cast< int >(SoLightModel::PHONG))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_OVERALL",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::OVERALL))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_PART",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_PART))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_FACE",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_FACE))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_DEFAULT",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoMaterialBindingElement_NONE",SWIG_From_int(static_cast< int >(SoMaterialBindingElement::NONE))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_OVERALL",SWIG_From_int(static_cast< int >(SoMaterialBinding::OVERALL))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_PART",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_PART))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_FACE",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_FACE))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoMaterialBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoMaterialBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoMaterialBinding_NONE",SWIG_From_int(static_cast< int >(SoMaterialBinding::NONE))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_OVERALL",SWIG_From_int(static_cast< int >(SoNormalBindingElement::OVERALL))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_PART",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_PART))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_FACE",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_FACE))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_DEFAULT",SWIG_From_int(static_cast< int >(SoNormalBindingElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoNormalBindingElement_NONE",SWIG_From_int(static_cast< int >(SoNormalBindingElement::NONE))); - SWIG_Python_SetConstant(d, "SoNormalBinding_OVERALL",SWIG_From_int(static_cast< int >(SoNormalBinding::OVERALL))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_PART",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_PART))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_FACE",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_FACE))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoNormalBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoNormalBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoNormalBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoNormalBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoNormalBinding_NONE",SWIG_From_int(static_cast< int >(SoNormalBinding::NONE))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_SHAPE",SWIG_From_int(static_cast< int >(SoPickStyleElement::SHAPE))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoPickStyleElement::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoPickStyleElement_UNPICKABLE",SWIG_From_int(static_cast< int >(SoPickStyleElement::UNPICKABLE))); - SWIG_Python_SetConstant(d, "SoPickStyle_SHAPE",SWIG_From_int(static_cast< int >(SoPickStyle::SHAPE))); - SWIG_Python_SetConstant(d, "SoPickStyle_BOUNDING_BOX",SWIG_From_int(static_cast< int >(SoPickStyle::BOUNDING_BOX))); - SWIG_Python_SetConstant(d, "SoPickStyle_UNPICKABLE",SWIG_From_int(static_cast< int >(SoPickStyle::UNPICKABLE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_ORDERING",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_ORDERING))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_CLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::CLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_COUNTERCLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::COUNTERCLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_ORDERING_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::ORDERING_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_SHAPE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_SHAPE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_SOLID",SWIG_From_int(static_cast< int >(SoShapeHintsElement::SOLID))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_SHAPE_TYPE_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::SHAPE_TYPE_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_UNKNOWN_FACE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHintsElement::UNKNOWN_FACE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_CONVEX",SWIG_From_int(static_cast< int >(SoShapeHintsElement::CONVEX))); - SWIG_Python_SetConstant(d, "SoShapeHintsElement_FACE_TYPE_AS_IS",SWIG_From_int(static_cast< int >(SoShapeHintsElement::FACE_TYPE_AS_IS))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_ORDERING",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_ORDERING))); - SWIG_Python_SetConstant(d, "SoShapeHints_CLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHints::CLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHints_COUNTERCLOCKWISE",SWIG_From_int(static_cast< int >(SoShapeHints::COUNTERCLOCKWISE))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_SHAPE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_SHAPE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHints_SOLID",SWIG_From_int(static_cast< int >(SoShapeHints::SOLID))); - SWIG_Python_SetConstant(d, "SoShapeHints_UNKNOWN_FACE_TYPE",SWIG_From_int(static_cast< int >(SoShapeHints::UNKNOWN_FACE_TYPE))); - SWIG_Python_SetConstant(d, "SoShapeHints_CONVEX",SWIG_From_int(static_cast< int >(SoShapeHints::CONVEX))); - SWIG_Python_SetConstant(d, "SoSFImage_COPY",SWIG_From_int(static_cast< int >(SoSFImage::COPY))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY_AND_DELETE",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY_AND_DELETE))); - SWIG_Python_SetConstant(d, "SoSFImage_NO_COPY_AND_FREE",SWIG_From_int(static_cast< int >(SoSFImage::NO_COPY_AND_FREE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_BLEND",SWIG_From_int(static_cast< int >(SoTextureImageElement::BLEND))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_MODULATE",SWIG_From_int(static_cast< int >(SoTextureImageElement::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_DECAL",SWIG_From_int(static_cast< int >(SoTextureImageElement::DECAL))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_REPLACE",SWIG_From_int(static_cast< int >(SoTextureImageElement::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_CLAMP",SWIG_From_int(static_cast< int >(SoTextureImageElement::CLAMP))); - SWIG_Python_SetConstant(d, "SoTextureImageElement_REPEAT",SWIG_From_int(static_cast< int >(SoTextureImageElement::REPEAT))); - SWIG_Python_SetConstant(d, "SoTexture2_MODULATE",SWIG_From_int(static_cast< int >(SoTexture2::MODULATE))); - SWIG_Python_SetConstant(d, "SoTexture2_DECAL",SWIG_From_int(static_cast< int >(SoTexture2::DECAL))); - SWIG_Python_SetConstant(d, "SoTexture2_BLEND",SWIG_From_int(static_cast< int >(SoTexture2::BLEND))); - SWIG_Python_SetConstant(d, "SoTexture2_REPLACE",SWIG_From_int(static_cast< int >(SoTexture2::REPLACE))); - SWIG_Python_SetConstant(d, "SoTexture2_REPEAT",SWIG_From_int(static_cast< int >(SoTexture2::REPEAT))); - SWIG_Python_SetConstant(d, "SoTexture2_CLAMP",SWIG_From_int(static_cast< int >(SoTexture2::CLAMP))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBindingElement_PER_VERTEX",SWIG_From_int(static_cast< int >(SoTextureCoordinateBindingElement::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBindingElement_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoTextureCoordinateBindingElement::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_PER_VERTEX",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateBinding_DEFAULT",SWIG_From_int(static_cast< int >(SoTextureCoordinateBinding::DEFAULT))); - SWIG_Python_SetConstant(d, "SoUnits_METERS",SWIG_From_int(static_cast< int >(SoUnits::METERS))); - SWIG_Python_SetConstant(d, "SoUnits_CENTIMETERS",SWIG_From_int(static_cast< int >(SoUnits::CENTIMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MILLIMETERS",SWIG_From_int(static_cast< int >(SoUnits::MILLIMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MICROMETERS",SWIG_From_int(static_cast< int >(SoUnits::MICROMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_MICRONS",SWIG_From_int(static_cast< int >(SoUnits::MICRONS))); - SWIG_Python_SetConstant(d, "SoUnits_NANOMETERS",SWIG_From_int(static_cast< int >(SoUnits::NANOMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_ANGSTROMS",SWIG_From_int(static_cast< int >(SoUnits::ANGSTROMS))); - SWIG_Python_SetConstant(d, "SoUnits_KILOMETERS",SWIG_From_int(static_cast< int >(SoUnits::KILOMETERS))); - SWIG_Python_SetConstant(d, "SoUnits_FEET",SWIG_From_int(static_cast< int >(SoUnits::FEET))); - SWIG_Python_SetConstant(d, "SoUnits_INCHES",SWIG_From_int(static_cast< int >(SoUnits::INCHES))); - SWIG_Python_SetConstant(d, "SoUnits_POINTS",SWIG_From_int(static_cast< int >(SoUnits::POINTS))); - SWIG_Python_SetConstant(d, "SoUnits_YARDS",SWIG_From_int(static_cast< int >(SoUnits::YARDS))); - SWIG_Python_SetConstant(d, "SoUnits_MILES",SWIG_From_int(static_cast< int >(SoUnits::MILES))); - SWIG_Python_SetConstant(d, "SoUnits_NAUTICAL_MILES",SWIG_From_int(static_cast< int >(SoUnits::NAUTICAL_MILES))); - SWIG_Python_SetConstant(d, "SoCallbackAction_CONTINUE",SWIG_From_int(static_cast< int >(SoCallbackAction::CONTINUE))); - SWIG_Python_SetConstant(d, "SoCallbackAction_ABORT",SWIG_From_int(static_cast< int >(SoCallbackAction::ABORT))); - SWIG_Python_SetConstant(d, "SoCallbackAction_PRUNE",SWIG_From_int(static_cast< int >(SoCallbackAction::PRUNE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SCREEN_DOOR",SWIG_From_int(static_cast< int >(SoGLRenderAction::SCREEN_DOOR))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAYED_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAYED_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAYED_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAYED_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_ADD",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_SORTED_TRIANGLE_ADD))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_OBJECT_SORTED_TRIANGLE_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_OBJECT_SORTED_TRIANGLE_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_NONE",SWIG_From_int(static_cast< int >(SoGLRenderAction::NONE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_SORTED_LAYERS_BLEND",SWIG_From_int(static_cast< int >(SoGLRenderAction::SORTED_LAYERS_BLEND))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_CONTINUE",SWIG_From_int(static_cast< int >(SoGLRenderAction::CONTINUE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_ABORT",SWIG_From_int(static_cast< int >(SoGLRenderAction::ABORT))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_PRUNE",SWIG_From_int(static_cast< int >(SoGLRenderAction::PRUNE))); - SWIG_Python_SetConstant(d, "SoGLRenderAction_DELAY",SWIG_From_int(static_cast< int >(SoGLRenderAction::DELAY))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_TRANSFORM",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::TRANSFORM))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_BBOX",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::BBOX))); - SWIG_Python_SetConstant(d, "SoGetBoundingBoxAction_ALL",SWIG_From_int(static_cast< int >(SoGetBoundingBoxAction::ALL))); - SWIG_Python_SetConstant(d, "SoSearchAction_NODE",SWIG_From_int(static_cast< int >(SoSearchAction::NODE))); - SWIG_Python_SetConstant(d, "SoSearchAction_TYPE",SWIG_From_int(static_cast< int >(SoSearchAction::TYPE))); - SWIG_Python_SetConstant(d, "SoSearchAction_NAME",SWIG_From_int(static_cast< int >(SoSearchAction::NAME))); - SWIG_Python_SetConstant(d, "SoSearchAction_FIRST",SWIG_From_int(static_cast< int >(SoSearchAction::FIRST))); - SWIG_Python_SetConstant(d, "SoSearchAction_LAST",SWIG_From_int(static_cast< int >(SoSearchAction::LAST))); - SWIG_Python_SetConstant(d, "SoSearchAction_ALL",SWIG_From_int(static_cast< int >(SoSearchAction::ALL))); - PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); - SWIG_addvarlink(SWIG_globals(),(char*)"SoSearchAction_duringSearchAll",Swig_var_SoSearchAction_duringSearchAll_get, Swig_var_SoSearchAction_duringSearchAll_set); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_SEGMENT",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::SEGMENT))); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_LINE_SEGMENT",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::LINE_SEGMENT))); - SWIG_Python_SetConstant(d, "SoIntersectingPrimitive_TRIANGLE",SWIG_From_int(static_cast< int >(SoIntersectingPrimitive::TRIANGLE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_NEXT_PRIMITIVE",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::NEXT_PRIMITIVE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_NEXT_SHAPE",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::NEXT_SHAPE))); - SWIG_Python_SetConstant(d, "SoIntersectionDetectionAction_ABORT",SWIG_From_int(static_cast< int >(SoIntersectionDetectionAction::ABORT))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_INCH",SWIG_From_int(static_cast< int >(SoVectorizeAction::INCH))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MM",SWIG_From_int(static_cast< int >(SoVectorizeAction::MM))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_METER",SWIG_From_int(static_cast< int >(SoVectorizeAction::METER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_PORTRAIT",SWIG_From_int(static_cast< int >(SoVectorizeAction::PORTRAIT))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_LANDSCAPE",SWIG_From_int(static_cast< int >(SoVectorizeAction::LANDSCAPE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A0",SWIG_From_int(static_cast< int >(SoVectorizeAction::A0))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A1",SWIG_From_int(static_cast< int >(SoVectorizeAction::A1))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A2",SWIG_From_int(static_cast< int >(SoVectorizeAction::A2))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A3",SWIG_From_int(static_cast< int >(SoVectorizeAction::A3))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A4",SWIG_From_int(static_cast< int >(SoVectorizeAction::A4))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A5",SWIG_From_int(static_cast< int >(SoVectorizeAction::A5))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A6",SWIG_From_int(static_cast< int >(SoVectorizeAction::A6))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A7",SWIG_From_int(static_cast< int >(SoVectorizeAction::A7))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A8",SWIG_From_int(static_cast< int >(SoVectorizeAction::A8))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A9",SWIG_From_int(static_cast< int >(SoVectorizeAction::A9))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_A10",SWIG_From_int(static_cast< int >(SoVectorizeAction::A10))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_CIRCLE",SWIG_From_int(static_cast< int >(SoVectorizeAction::CIRCLE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_SQUARE",SWIG_From_int(static_cast< int >(SoVectorizeAction::SQUARE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_REVERSE_ONLY_BLACK_AND_WHITE",SWIG_From_int(static_cast< int >(SoVectorizeAction::REVERSE_ONLY_BLACK_AND_WHITE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_AS_IS",SWIG_From_int(static_cast< int >(SoVectorizeAction::AS_IS))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_REVERSE",SWIG_From_int(static_cast< int >(SoVectorizeAction::REVERSE))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_NO_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::NO_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MITERED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::MITERED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_MITERED_BEVELED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::MITERED_BEVELED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_BEVELED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::BEVELED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_TRIANGULAR_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::TRIANGULAR_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_ROUNDED_JOIN",SWIG_From_int(static_cast< int >(SoVectorizeAction::ROUNDED_JOIN))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_BUTT_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::BUTT_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_SQUARE_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::SQUARE_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_TRIANGULAR_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::TRIANGULAR_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_ROUND_END",SWIG_From_int(static_cast< int >(SoVectorizeAction::ROUND_END))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_NO_HLHSR",SWIG_From_int(static_cast< int >(SoVectorizeAction::NO_HLHSR))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_SIMPLE_PAINTER",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_SIMPLE_PAINTER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_PAINTER",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_PAINTER))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HLHSR_PAINTER_SURFACE_REMOVAL",SWIG_From_int(static_cast< int >(SoVectorizeAction::HLHSR_PAINTER_SURFACE_REMOVAL))); - SWIG_Python_SetConstant(d, "SoVectorizeAction_HIDDEN_LINES_REMOVAL",SWIG_From_int(static_cast< int >(SoVectorizeAction::HIDDEN_LINES_REMOVAL))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLE_STRIP",SWIG_From_int(static_cast< int >(SoShape::TRIANGLE_STRIP))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLE_FAN",SWIG_From_int(static_cast< int >(SoShape::TRIANGLE_FAN))); - SWIG_Python_SetConstant(d, "SoShape_TRIANGLES",SWIG_From_int(static_cast< int >(SoShape::TRIANGLES))); - SWIG_Python_SetConstant(d, "SoShape_POLYGON",SWIG_From_int(static_cast< int >(SoShape::POLYGON))); - SWIG_Python_SetConstant(d, "SoShape_QUADS",SWIG_From_int(static_cast< int >(SoShape::QUADS))); - SWIG_Python_SetConstant(d, "SoShape_QUAD_STRIP",SWIG_From_int(static_cast< int >(SoShape::QUAD_STRIP))); - SWIG_Python_SetConstant(d, "SoShape_POINTS",SWIG_From_int(static_cast< int >(SoShape::POINTS))); - SWIG_Python_SetConstant(d, "SoShape_LINES",SWIG_From_int(static_cast< int >(SoShape::LINES))); - SWIG_Python_SetConstant(d, "SoShape_LINE_STRIP",SWIG_From_int(static_cast< int >(SoShape::LINE_STRIP))); - SWIG_Python_SetConstant(d, "SoImage_BOTTOM",SWIG_From_int(static_cast< int >(SoImage::BOTTOM))); - SWIG_Python_SetConstant(d, "SoImage_HALF",SWIG_From_int(static_cast< int >(SoImage::HALF))); - SWIG_Python_SetConstant(d, "SoImage_TOP",SWIG_From_int(static_cast< int >(SoImage::TOP))); - SWIG_Python_SetConstant(d, "SoImage_LEFT",SWIG_From_int(static_cast< int >(SoImage::LEFT))); - SWIG_Python_SetConstant(d, "SoImage_CENTER",SWIG_From_int(static_cast< int >(SoImage::CENTER))); - SWIG_Python_SetConstant(d, "SoImage_RIGHT",SWIG_From_int(static_cast< int >(SoImage::RIGHT))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_NONE",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::NONE))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_TEXGEN",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::TEXGEN))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_EXPLICIT",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::EXPLICIT))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_FUNCTION",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::FUNCTION))); - SWIG_Python_SetConstant(d, "SoTextureCoordinateElement_DEFAULT",SWIG_From_int(static_cast< int >(SoTextureCoordinateElement::DEFAULT))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_NONE",SWIG_From_int(static_cast< int >(SoConvexDataCache::NONE))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_FACE",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_FACE))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_VERTEX",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoConvexDataCache_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoConvexDataCache::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SO_CATALOG_NAME_NOT_FOUND",SWIG_From_int(static_cast< int >(-1))); - SWIG_Python_SetConstant(d, "SoInteractionKit_OFF",SWIG_From_int(static_cast< int >(SoInteractionKit::OFF))); - SWIG_Python_SetConstant(d, "SoInteractionKit_ON",SWIG_From_int(static_cast< int >(SoInteractionKit::ON))); - SWIG_Python_SetConstant(d, "SoInteractionKit_AUTO",SWIG_From_int(static_cast< int >(SoInteractionKit::AUTO))); - SWIG_Python_SetConstant(d, "SbDPViewVolume_ORTHOGRAPHIC",SWIG_From_int(static_cast< int >(SbDPViewVolume::ORTHOGRAPHIC))); - SWIG_Python_SetConstant(d, "SbDPViewVolume_PERSPECTIVE",SWIG_From_int(static_cast< int >(SbDPViewVolume::PERSPECTIVE))); - SWIG_Python_SetConstant(d, "SbViewVolume_ORTHOGRAPHIC",SWIG_From_int(static_cast< int >(SbViewVolume::ORTHOGRAPHIC))); - SWIG_Python_SetConstant(d, "SbViewVolume_PERSPECTIVE",SWIG_From_int(static_cast< int >(SbViewVolume::PERSPECTIVE))); - SWIG_Python_SetConstant(d, "SoDragger_FRONT",SWIG_From_int(static_cast< int >(SoDragger::FRONT))); - SWIG_Python_SetConstant(d, "SoDragger_BACK",SWIG_From_int(static_cast< int >(SoDragger::BACK))); - SWIG_Python_SetConstant(d, "SoDragger_USE_PICK",SWIG_From_int(static_cast< int >(SoDragger::USE_PICK))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_INACTIVE",SWIG_From_int(static_cast< int >(SoTransformerDragger::INACTIVE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_RIT_X_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::RIT_X_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_TOP_Y_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::TOP_Y_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_FNT_Z_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::FNT_Z_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_LFT_X_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::LFT_X_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BOT_Y_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BOT_Y_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BAK_Z_ROTATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BAK_Z_ROTATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_PY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_PY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_PY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_PY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_NY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_NY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_PX_NY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::PX_NY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_PY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_PY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_PY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_PY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_NY_PZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_NY_PZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_NX_NY_NZ_3D_SCALE",SWIG_From_int(static_cast< int >(SoTransformerDragger::NX_NY_NZ_3D_SCALE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_RIT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::RIT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_TOP_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::TOP_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_FNT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::FNT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_LFT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::LFT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BOT_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BOT_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoTransformerDragger_BAK_TRANSLATE",SWIG_From_int(static_cast< int >(SoTransformerDragger::BAK_TRANSLATE))); - SWIG_Python_SetConstant(d, "SoAnnoText3FontSizeHintElement_ANNOTATION",SWIG_From_int(static_cast< int >(SoAnnoText3FontSizeHintElement::ANNOTATION))); - SWIG_Python_SetConstant(d, "SoAnnoText3FontSizeHintElement_FIT_TEXT_VECTOR",SWIG_From_int(static_cast< int >(SoAnnoText3FontSizeHintElement::FIT_TEXT_VECTOR))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER3D_PRINT_VECTOR",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER3D_PRINT_VECTOR))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER3D_PRINT_RASTER",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER3D_PRINT_RASTER))); - SWIG_Python_SetConstant(d, "SoAnnoText3RenderPrintElement_RENDER2D_PRINT_RASTER",SWIG_From_int(static_cast< int >(SoAnnoText3RenderPrintElement::RENDER2D_PRINT_RASTER))); - SWIG_Python_SetConstant(d, "SoProfileElement_START_FIRST",SWIG_From_int(static_cast< int >(SoProfileElement::START_FIRST))); - SWIG_Python_SetConstant(d, "SoProfileElement_START_NEW",SWIG_From_int(static_cast< int >(SoProfileElement::START_NEW))); - SWIG_Python_SetConstant(d, "SoProfileElement_ADD_TO_CURRENT",SWIG_From_int(static_cast< int >(SoProfileElement::ADD_TO_CURRENT))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_DISABLED",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::DISABLED))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_TEXTURE2D",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::TEXTURE2D))); - SWIG_Python_SetConstant(d, "SoGLTextureEnabledElement_RECTANGLE",SWIG_From_int(static_cast< int >(SoGLTextureEnabledElement::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoLinePatternElement_CONTINUOUS",SWIG_From_int(static_cast< int >(SoLinePatternElement::CONTINUOUS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_METERS",SWIG_From_int(static_cast< int >(SoUnitsElement::METERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_CENTIMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::CENTIMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MILLIMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::MILLIMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MICROMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::MICROMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MICRONS",SWIG_From_int(static_cast< int >(SoUnitsElement::MICRONS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_NANOMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::NANOMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_ANGSTROMS",SWIG_From_int(static_cast< int >(SoUnitsElement::ANGSTROMS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_KILOMETERS",SWIG_From_int(static_cast< int >(SoUnitsElement::KILOMETERS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_FEET",SWIG_From_int(static_cast< int >(SoUnitsElement::FEET))); - SWIG_Python_SetConstant(d, "SoUnitsElement_INCHES",SWIG_From_int(static_cast< int >(SoUnitsElement::INCHES))); - SWIG_Python_SetConstant(d, "SoUnitsElement_POINTS",SWIG_From_int(static_cast< int >(SoUnitsElement::POINTS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_YARDS",SWIG_From_int(static_cast< int >(SoUnitsElement::YARDS))); - SWIG_Python_SetConstant(d, "SoUnitsElement_MILES",SWIG_From_int(static_cast< int >(SoUnitsElement::MILES))); - SWIG_Python_SetConstant(d, "SoUnitsElement_NAUTICAL_MILES",SWIG_From_int(static_cast< int >(SoUnitsElement::NAUTICAL_MILES))); - SWIG_Python_SetConstant(d, "SoOverrideElement_AMBIENT_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::AMBIENT_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COLOR_INDEX",SWIG_From_int(static_cast< int >(SoOverrideElement::COLOR_INDEX))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COMPLEXITY",SWIG_From_int(static_cast< int >(SoOverrideElement::COMPLEXITY))); - SWIG_Python_SetConstant(d, "SoOverrideElement_COMPLEXITY_TYPE",SWIG_From_int(static_cast< int >(SoOverrideElement::COMPLEXITY_TYPE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_CREASE_ANGLE",SWIG_From_int(static_cast< int >(SoOverrideElement::CREASE_ANGLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_DIFFUSE_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::DIFFUSE_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_DRAW_STYLE",SWIG_From_int(static_cast< int >(SoOverrideElement::DRAW_STYLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_EMISSIVE_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::EMISSIVE_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_FONT_NAME",SWIG_From_int(static_cast< int >(SoOverrideElement::FONT_NAME))); - SWIG_Python_SetConstant(d, "SoOverrideElement_FONT_SIZE",SWIG_From_int(static_cast< int >(SoOverrideElement::FONT_SIZE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LIGHT_MODEL",SWIG_From_int(static_cast< int >(SoOverrideElement::LIGHT_MODEL))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LINE_PATTERN",SWIG_From_int(static_cast< int >(SoOverrideElement::LINE_PATTERN))); - SWIG_Python_SetConstant(d, "SoOverrideElement_LINE_WIDTH",SWIG_From_int(static_cast< int >(SoOverrideElement::LINE_WIDTH))); - SWIG_Python_SetConstant(d, "SoOverrideElement_MATERIAL_BINDING",SWIG_From_int(static_cast< int >(SoOverrideElement::MATERIAL_BINDING))); - SWIG_Python_SetConstant(d, "SoOverrideElement_POINT_SIZE",SWIG_From_int(static_cast< int >(SoOverrideElement::POINT_SIZE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_PICK_STYLE",SWIG_From_int(static_cast< int >(SoOverrideElement::PICK_STYLE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SHAPE_HINTS",SWIG_From_int(static_cast< int >(SoOverrideElement::SHAPE_HINTS))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SHININESS",SWIG_From_int(static_cast< int >(SoOverrideElement::SHININESS))); - SWIG_Python_SetConstant(d, "SoOverrideElement_SPECULAR_COLOR",SWIG_From_int(static_cast< int >(SoOverrideElement::SPECULAR_COLOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_POLYGON_OFFSET",SWIG_From_int(static_cast< int >(SoOverrideElement::POLYGON_OFFSET))); - SWIG_Python_SetConstant(d, "SoOverrideElement_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOverrideElement::TRANSPARENCY))); - SWIG_Python_SetConstant(d, "SoOverrideElement_TRANSPARENCY_TYPE",SWIG_From_int(static_cast< int >(SoOverrideElement::TRANSPARENCY_TYPE))); - SWIG_Python_SetConstant(d, "SoOverrideElement_NORMAL_VECTOR",SWIG_From_int(static_cast< int >(SoOverrideElement::NORMAL_VECTOR))); - SWIG_Python_SetConstant(d, "SoOverrideElement_NORMAL_BINDING",SWIG_From_int(static_cast< int >(SoOverrideElement::NORMAL_BINDING))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_NONE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::NONE))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_HAZE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::HAZE))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_FOG",SWIG_From_int(static_cast< int >(SoEnvironmentElement::FOG))); - SWIG_Python_SetConstant(d, "SoEnvironmentElement_SMOKE",SWIG_From_int(static_cast< int >(SoEnvironmentElement::SMOKE))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_FILLED",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::FILLED))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_LINES",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::LINES))); - SWIG_Python_SetConstant(d, "SoPolygonOffsetElement_POINTS",SWIG_From_int(static_cast< int >(SoPolygonOffsetElement::POINTS))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_LIGHTING",SWIG_From_int(static_cast< int >(SoShapeStyleElement::LIGHTING))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEXENABLED",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEXENABLED))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEXFUNC",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEXFUNC))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BBOXCMPLX",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BBOXCMPLX))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_INVISIBLE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::INVISIBLE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_ABORTCB",SWIG_From_int(static_cast< int >(SoShapeStyleElement::ABORTCB))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_OVERRIDE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::OVERRIDE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TEX3ENABLED",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TEX3ENABLED))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BIGIMAGE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BIGIMAGE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_BUMPMAP",SWIG_From_int(static_cast< int >(SoShapeStyleElement::BUMPMAP))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_VERTEXARRAY",SWIG_From_int(static_cast< int >(SoShapeStyleElement::VERTEXARRAY))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_TEXTURE",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_TEXTURE))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_MATERIAL",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_MATERIAL))); - SWIG_Python_SetConstant(d, "SoShapeStyleElement_TRANSP_SORTED_TRIANGLES",SWIG_From_int(static_cast< int >(SoShapeStyleElement::TRANSP_SORTED_TRIANGLES))); - SWIG_Python_SetConstant(d, "SoGLCacheContextElement_DO_AUTO_CACHE",SWIG_From_int(static_cast< int >(SoGLCacheContextElement::DO_AUTO_CACHE))); - SWIG_Python_SetConstant(d, "SoGLCacheContextElement_DONT_AUTO_CACHE",SWIG_From_int(static_cast< int >(SoGLCacheContextElement::DONT_AUTO_CACHE))); - SWIG_Python_SetConstant(d, "SoGLDisplayList_DISPLAY_LIST",SWIG_From_int(static_cast< int >(SoGLDisplayList::DISPLAY_LIST))); - SWIG_Python_SetConstant(d, "SoGLDisplayList_TEXTURE_OBJECT",SWIG_From_int(static_cast< int >(SoGLDisplayList::TEXTURE_OBJECT))); - SWIG_Python_SetConstant(d, "SoLightModelElement_BASE_COLOR",SWIG_From_int(static_cast< int >(SoLightModelElement::BASE_COLOR))); - SWIG_Python_SetConstant(d, "SoLightModelElement_PHONG",SWIG_From_int(static_cast< int >(SoLightModelElement::PHONG))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_DISABLED",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::DISABLED))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_TEXTURE2D",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::TEXTURE2D))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_RECTANGLE",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_CUBEMAP",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::CUBEMAP))); - SWIG_Python_SetConstant(d, "SoMultiTextureEnabledElement_TEXTURE3D",SWIG_From_int(static_cast< int >(SoMultiTextureEnabledElement::TEXTURE3D))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::PRIMARY_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_TEXTURE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::TEXTURE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_CONSTANT",SWIG_From_int(static_cast< int >(SoTextureCombineElement::CONSTANT))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_PREVIOUS",SWIG_From_int(static_cast< int >(SoTextureCombineElement::PREVIOUS))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ONE_MINUS_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ONE_MINUS_SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ONE_MINUS_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ONE_MINUS_SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_REPLACE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_MODULATE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ADD",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ADD))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_ADD_SIGNED",SWIG_From_int(static_cast< int >(SoTextureCombineElement::ADD_SIGNED))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_SUBTRACT",SWIG_From_int(static_cast< int >(SoTextureCombineElement::SUBTRACT))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_INTERPOLATE",SWIG_From_int(static_cast< int >(SoTextureCombineElement::INTERPOLATE))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_DOT3_RGB",SWIG_From_int(static_cast< int >(SoTextureCombineElement::DOT3_RGB))); - SWIG_Python_SetConstant(d, "SoTextureCombineElement_DOT3_RGBA",SWIG_From_int(static_cast< int >(SoTextureCombineElement::DOT3_RGBA))); - SWIG_Python_SetConstant(d, "SoBoolOperation_CLEAR",SWIG_From_int(static_cast< int >(SoBoolOperation::CLEAR))); - SWIG_Python_SetConstant(d, "SoBoolOperation_SET",SWIG_From_int(static_cast< int >(SoBoolOperation::SET))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A",SWIG_From_int(static_cast< int >(SoBoolOperation::A))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A))); - SWIG_Python_SetConstant(d, "SoBoolOperation_B",SWIG_From_int(static_cast< int >(SoBoolOperation::B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_OR_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_OR_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_OR_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_OR_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_OR_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_OR_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_OR_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_OR_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_AND_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_AND_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_AND_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_AND_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_AND_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_AND_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_NOT_A_AND_NOT_B",SWIG_From_int(static_cast< int >(SoBoolOperation::NOT_A_AND_NOT_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_EQUALS_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_EQUALS_B))); - SWIG_Python_SetConstant(d, "SoBoolOperation_A_NOT_EQUALS_B",SWIG_From_int(static_cast< int >(SoBoolOperation::A_NOT_EQUALS_B))); - SWIG_Python_SetConstant(d, "SoConcatenate_NUMINPUTS",SWIG_From_int(static_cast< int >(SoConcatenate::NUMINPUTS))); - SWIG_Python_SetConstant(d, "SoOneShot_RETRIGGERABLE",SWIG_From_int(static_cast< int >(SoOneShot::RETRIGGERABLE))); - SWIG_Python_SetConstant(d, "SoOneShot_HOLD_FINAL",SWIG_From_int(static_cast< int >(SoOneShot::HOLD_FINAL))); - SWIG_Python_SetConstant(d, "SoDebugError_ERROR",SWIG_From_int(static_cast< int >(SoDebugError::ERROR))); - SWIG_Python_SetConstant(d, "SoDebugError_WARNING",SWIG_From_int(static_cast< int >(SoDebugError::WARNING))); - SWIG_Python_SetConstant(d, "SoDebugError_INFO",SWIG_From_int(static_cast< int >(SoDebugError::INFO))); - SWIG_Python_SetConstant(d, "SoButtonEvent_UP",SWIG_From_int(static_cast< int >(SoButtonEvent::UP))); - SWIG_Python_SetConstant(d, "SoButtonEvent_DOWN",SWIG_From_int(static_cast< int >(SoButtonEvent::DOWN))); - SWIG_Python_SetConstant(d, "SoButtonEvent_UNKNOWN",SWIG_From_int(static_cast< int >(SoButtonEvent::UNKNOWN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ANY",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ANY))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_UNDEFINED",SWIG_From_int(static_cast< int >(SoKeyboardEvent::UNDEFINED))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_SHIFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_SHIFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_SHIFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_SHIFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_CONTROL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_CONTROL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_CONTROL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_CONTROL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_ALT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_ALT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_ALT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_ALT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_0",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_0))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUMBER_9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUMBER_9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_A",SWIG_From_int(static_cast< int >(SoKeyboardEvent::A))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_B",SWIG_From_int(static_cast< int >(SoKeyboardEvent::B))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_C",SWIG_From_int(static_cast< int >(SoKeyboardEvent::C))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_D",SWIG_From_int(static_cast< int >(SoKeyboardEvent::D))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_E",SWIG_From_int(static_cast< int >(SoKeyboardEvent::E))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_G",SWIG_From_int(static_cast< int >(SoKeyboardEvent::G))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_H",SWIG_From_int(static_cast< int >(SoKeyboardEvent::H))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_I",SWIG_From_int(static_cast< int >(SoKeyboardEvent::I))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_J",SWIG_From_int(static_cast< int >(SoKeyboardEvent::J))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_K",SWIG_From_int(static_cast< int >(SoKeyboardEvent::K))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_L",SWIG_From_int(static_cast< int >(SoKeyboardEvent::L))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_M",SWIG_From_int(static_cast< int >(SoKeyboardEvent::M))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_N",SWIG_From_int(static_cast< int >(SoKeyboardEvent::N))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_O",SWIG_From_int(static_cast< int >(SoKeyboardEvent::O))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_P",SWIG_From_int(static_cast< int >(SoKeyboardEvent::P))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Q",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Q))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_R",SWIG_From_int(static_cast< int >(SoKeyboardEvent::R))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_S",SWIG_From_int(static_cast< int >(SoKeyboardEvent::S))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_T",SWIG_From_int(static_cast< int >(SoKeyboardEvent::T))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_U",SWIG_From_int(static_cast< int >(SoKeyboardEvent::U))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_V",SWIG_From_int(static_cast< int >(SoKeyboardEvent::V))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_W",SWIG_From_int(static_cast< int >(SoKeyboardEvent::W))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_X",SWIG_From_int(static_cast< int >(SoKeyboardEvent::X))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Y",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Y))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_Z",SWIG_From_int(static_cast< int >(SoKeyboardEvent::Z))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_HOME",SWIG_From_int(static_cast< int >(SoKeyboardEvent::HOME))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_LEFT_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::LEFT_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_UP_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::UP_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RIGHT_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RIGHT_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_DOWN_ARROW",SWIG_From_int(static_cast< int >(SoKeyboardEvent::DOWN_ARROW))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAGE_UP",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAGE_UP))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAGE_DOWN",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAGE_DOWN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_END",SWIG_From_int(static_cast< int >(SoKeyboardEvent::END))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PRIOR",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PRIOR))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NEXT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NEXT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_ENTER",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_ENTER))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_F4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_F4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_0",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_0))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_ADD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_ADD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_SUBTRACT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_SUBTRACT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_MULTIPLY",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_MULTIPLY))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_DIVIDE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_DIVIDE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_SPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_SPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_TAB",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_TAB))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_INSERT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_INSERT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAD_PERIOD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAD_PERIOD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F1",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F1))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F2",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F2))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F3",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F3))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F4",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F4))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F5",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F5))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F6",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F6))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F7",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F7))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F8",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F8))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F9",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F9))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F10",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F10))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F11",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F11))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_F12",SWIG_From_int(static_cast< int >(SoKeyboardEvent::F12))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BACKSPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BACKSPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_TAB",SWIG_From_int(static_cast< int >(SoKeyboardEvent::TAB))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_RETURN",SWIG_From_int(static_cast< int >(SoKeyboardEvent::RETURN))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ENTER",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ENTER))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PAUSE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PAUSE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SCROLL_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SCROLL_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_ESCAPE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::ESCAPE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_KEY_DELETE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::KEY_DELETE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PRINT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PRINT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_INSERT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::INSERT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_NUM_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::NUM_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_CAPS_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::CAPS_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SHIFT_LOCK",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SHIFT_LOCK))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SPACE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SPACE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_APOSTROPHE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::APOSTROPHE))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_COMMA",SWIG_From_int(static_cast< int >(SoKeyboardEvent::COMMA))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_MINUS",SWIG_From_int(static_cast< int >(SoKeyboardEvent::MINUS))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_PERIOD",SWIG_From_int(static_cast< int >(SoKeyboardEvent::PERIOD))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SLASH",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SLASH))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_SEMICOLON",SWIG_From_int(static_cast< int >(SoKeyboardEvent::SEMICOLON))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_EQUAL",SWIG_From_int(static_cast< int >(SoKeyboardEvent::EQUAL))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BRACKETLEFT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BRACKETLEFT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BACKSLASH",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BACKSLASH))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_BRACKETRIGHT",SWIG_From_int(static_cast< int >(SoKeyboardEvent::BRACKETRIGHT))); - SWIG_Python_SetConstant(d, "SoKeyboardEvent_GRAVE",SWIG_From_int(static_cast< int >(SoKeyboardEvent::GRAVE))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_ANY",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::ANY))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON1",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON1))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON2",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON2))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON3",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON3))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON4",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON4))); - SWIG_Python_SetConstant(d, "SoMouseButtonEvent_BUTTON5",SWIG_From_int(static_cast< int >(SoMouseButtonEvent::BUTTON5))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_ANY",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::ANY))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON1",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON1))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON2",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON2))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON3",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON3))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON4",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON4))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON5",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON5))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON6",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON6))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON7",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON7))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_BUTTON8",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::BUTTON8))); - SWIG_Python_SetConstant(d, "SoSpaceballButtonEvent_PICK",SWIG_From_int(static_cast< int >(SoSpaceballButtonEvent::PICK))); - SWIG_Python_SetConstant(d, "SoGLImage_REPEAT",SWIG_From_int(static_cast< int >(SoGLImage::REPEAT))); - SWIG_Python_SetConstant(d, "SoGLImage_CLAMP",SWIG_From_int(static_cast< int >(SoGLImage::CLAMP))); - SWIG_Python_SetConstant(d, "SoGLImage_CLAMP_TO_EDGE",SWIG_From_int(static_cast< int >(SoGLImage::CLAMP_TO_EDGE))); - SWIG_Python_SetConstant(d, "SoGLImage_SCALE_DOWN",SWIG_From_int(static_cast< int >(SoGLImage::SCALE_DOWN))); - SWIG_Python_SetConstant(d, "SoGLImage_NO_MIPMAP",SWIG_From_int(static_cast< int >(SoGLImage::NO_MIPMAP))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MAG_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MAG_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MIN_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MIN_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_LINEAR_MIPMAP_FILTER",SWIG_From_int(static_cast< int >(SoGLImage::LINEAR_MIPMAP_FILTER))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_TRANSPARENCY_TRUE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_TRANSPARENCY_TRUE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_TRANSPARENCY_FALSE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_TRANSPARENCY_FALSE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_ALPHA_TEST_TRUE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_ALPHA_TEST_TRUE))); - SWIG_Python_SetConstant(d, "SoGLImage_FORCE_ALPHA_TEST_FALSE",SWIG_From_int(static_cast< int >(SoGLImage::FORCE_ALPHA_TEST_FALSE))); - SWIG_Python_SetConstant(d, "SoGLImage_INVINCIBLE",SWIG_From_int(static_cast< int >(SoGLImage::INVINCIBLE))); - SWIG_Python_SetConstant(d, "SoGLImage_RECTANGLE",SWIG_From_int(static_cast< int >(SoGLImage::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoGLImage_COMPRESSED",SWIG_From_int(static_cast< int >(SoGLImage::COMPRESSED))); - SWIG_Python_SetConstant(d, "SoGLImage_USE_QUALITY_VALUE",SWIG_From_int(static_cast< int >(SoGLImage::USE_QUALITY_VALUE))); - SWIG_Python_SetConstant(d, "SoGlyph_FONT2D",SWIG_From_int(static_cast< int >(SoGlyph::FONT2D))); - SWIG_Python_SetConstant(d, "SoGlyph_FONT3D",SWIG_From_int(static_cast< int >(SoGlyph::FONT3D))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_OFF",SWIG_From_int(static_cast< int >(SoSeparatorKit::OFF))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_ON",SWIG_From_int(static_cast< int >(SoSeparatorKit::ON))); - SWIG_Python_SetConstant(d, "SoSeparatorKit_AUTO",SWIG_From_int(static_cast< int >(SoSeparatorKit::AUTO))); - SWIG_Python_SetConstant(d, "SoSeparator_OFF",SWIG_From_int(static_cast< int >(SoSeparator::OFF))); - SWIG_Python_SetConstant(d, "SoSeparator_ON",SWIG_From_int(static_cast< int >(SoSeparator::ON))); - SWIG_Python_SetConstant(d, "SoSeparator_AUTO",SWIG_From_int(static_cast< int >(SoSeparator::AUTO))); - SWIG_Python_SetConstant(d, "SoAntiSquish_X",SWIG_From_int(static_cast< int >(SoAntiSquish::X))); - SWIG_Python_SetConstant(d, "SoAntiSquish_Y",SWIG_From_int(static_cast< int >(SoAntiSquish::Y))); - SWIG_Python_SetConstant(d, "SoAntiSquish_Z",SWIG_From_int(static_cast< int >(SoAntiSquish::Z))); - SWIG_Python_SetConstant(d, "SoAntiSquish_AVERAGE_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::AVERAGE_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_BIGGEST_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::BIGGEST_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_SMALLEST_DIMENSION",SWIG_From_int(static_cast< int >(SoAntiSquish::SMALLEST_DIMENSION))); - SWIG_Python_SetConstant(d, "SoAntiSquish_LONGEST_DIAGONAL",SWIG_From_int(static_cast< int >(SoAntiSquish::LONGEST_DIAGONAL))); - SWIG_Python_SetConstant(d, "SoArray_FIRST",SWIG_From_int(static_cast< int >(SoArray::FIRST))); - SWIG_Python_SetConstant(d, "SoArray_CENTER",SWIG_From_int(static_cast< int >(SoArray::CENTER))); - SWIG_Python_SetConstant(d, "SoArray_LAST",SWIG_From_int(static_cast< int >(SoArray::LAST))); - SWIG_Python_SetConstant(d, "SoAsciiText_LEFT",SWIG_From_int(static_cast< int >(SoAsciiText::LEFT))); - SWIG_Python_SetConstant(d, "SoAsciiText_RIGHT",SWIG_From_int(static_cast< int >(SoAsciiText::RIGHT))); - SWIG_Python_SetConstant(d, "SoAsciiText_CENTER",SWIG_From_int(static_cast< int >(SoAsciiText::CENTER))); - SWIG_Python_SetConstant(d, "SO_SWITCH_NONE",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_SWITCH_INHERIT",SWIG_From_int(static_cast< int >((-2)))); - SWIG_Python_SetConstant(d, "SO_SWITCH_ALL",SWIG_From_int(static_cast< int >((-3)))); - SWIG_Python_SetConstant(d, "SoBumpMap_REPEAT",SWIG_From_int(static_cast< int >(SoBumpMap::REPEAT))); - SWIG_Python_SetConstant(d, "SoBumpMap_CLAMP",SWIG_From_int(static_cast< int >(SoBumpMap::CLAMP))); - SWIG_Python_SetConstant(d, "SO_ASPECT_SQUARE",SWIG_From_double(static_cast< double >(1.0))); - SWIG_Python_SetConstant(d, "SO_ASPECT_VIDEO",SWIG_From_double(static_cast< double >((4.0/3.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm_ACADEMY",SWIG_From_double(static_cast< double >(1.371))); - SWIG_Python_SetConstant(d, "SO_ASPECT_16mm",SWIG_From_double(static_cast< double >(1.369))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm_FULL",SWIG_From_double(static_cast< double >(1.33333))); - SWIG_Python_SetConstant(d, "SO_ASPECT_70mm",SWIG_From_double(static_cast< double >(2.287))); - SWIG_Python_SetConstant(d, "SO_ASPECT_CINEMASCOPE",SWIG_From_double(static_cast< double >(2.35))); - SWIG_Python_SetConstant(d, "SO_ASPECT_HDTV",SWIG_From_double(static_cast< double >((16.0/9.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_PANAVISION",SWIG_From_double(static_cast< double >(2.361))); - SWIG_Python_SetConstant(d, "SO_ASPECT_35mm",SWIG_From_double(static_cast< double >((3.0/2.0)))); - SWIG_Python_SetConstant(d, "SO_ASPECT_VISTAVISION",SWIG_From_double(static_cast< double >(2.301))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_FILL_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_FILL_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_LINE_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_LINE_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_CROP_VIEWPORT_NO_FRAME",SWIG_From_int(static_cast< int >(SoCamera::CROP_VIEWPORT_NO_FRAME))); - SWIG_Python_SetConstant(d, "SoCamera_ADJUST_CAMERA",SWIG_From_int(static_cast< int >(SoCamera::ADJUST_CAMERA))); - SWIG_Python_SetConstant(d, "SoCamera_LEAVE_ALONE",SWIG_From_int(static_cast< int >(SoCamera::LEAVE_ALONE))); - SWIG_Python_SetConstant(d, "SoCamera_MONOSCOPIC",SWIG_From_int(static_cast< int >(SoCamera::MONOSCOPIC))); - SWIG_Python_SetConstant(d, "SoCamera_LEFT_VIEW",SWIG_From_int(static_cast< int >(SoCamera::LEFT_VIEW))); - SWIG_Python_SetConstant(d, "SoCamera_RIGHT_VIEW",SWIG_From_int(static_cast< int >(SoCamera::RIGHT_VIEW))); - SWIG_Python_SetConstant(d, "SoCone_SIDES",SWIG_From_int(static_cast< int >(SoCone::SIDES))); - SWIG_Python_SetConstant(d, "SoCone_BOTTOM",SWIG_From_int(static_cast< int >(SoCone::BOTTOM))); - SWIG_Python_SetConstant(d, "SoCone_ALL",SWIG_From_int(static_cast< int >(SoCone::ALL))); - SWIG_Python_SetConstant(d, "SoCylinder_SIDES",SWIG_From_int(static_cast< int >(SoCylinder::SIDES))); - SWIG_Python_SetConstant(d, "SoCylinder_TOP",SWIG_From_int(static_cast< int >(SoCylinder::TOP))); - SWIG_Python_SetConstant(d, "SoCylinder_BOTTOM",SWIG_From_int(static_cast< int >(SoCylinder::BOTTOM))); - SWIG_Python_SetConstant(d, "SoCylinder_ALL",SWIG_From_int(static_cast< int >(SoCylinder::ALL))); - SWIG_Python_SetConstant(d, "SoEnvironment_NONE",SWIG_From_int(static_cast< int >(SoEnvironment::NONE))); - SWIG_Python_SetConstant(d, "SoEnvironment_HAZE",SWIG_From_int(static_cast< int >(SoEnvironment::HAZE))); - SWIG_Python_SetConstant(d, "SoEnvironment_FOG",SWIG_From_int(static_cast< int >(SoEnvironment::FOG))); - SWIG_Python_SetConstant(d, "SoEnvironment_SMOKE",SWIG_From_int(static_cast< int >(SoEnvironment::SMOKE))); - SWIG_Python_SetConstant(d, "SoSelection_SINGLE",SWIG_From_int(static_cast< int >(SoSelection::SINGLE))); - SWIG_Python_SetConstant(d, "SoSelection_TOGGLE",SWIG_From_int(static_cast< int >(SoSelection::TOGGLE))); - SWIG_Python_SetConstant(d, "SoSelection_SHIFT",SWIG_From_int(static_cast< int >(SoSelection::SHIFT))); - SWIG_Python_SetConstant(d, "SoExtSelection_NOLASSO",SWIG_From_int(static_cast< int >(SoExtSelection::NOLASSO))); - SWIG_Python_SetConstant(d, "SoExtSelection_LASSO",SWIG_From_int(static_cast< int >(SoExtSelection::LASSO))); - SWIG_Python_SetConstant(d, "SoExtSelection_RECTANGLE",SWIG_From_int(static_cast< int >(SoExtSelection::RECTANGLE))); - SWIG_Python_SetConstant(d, "SoExtSelection_FULL_BBOX",SWIG_From_int(static_cast< int >(SoExtSelection::FULL_BBOX))); - SWIG_Python_SetConstant(d, "SoExtSelection_PART_BBOX",SWIG_From_int(static_cast< int >(SoExtSelection::PART_BBOX))); - SWIG_Python_SetConstant(d, "SoExtSelection_FULL",SWIG_From_int(static_cast< int >(SoExtSelection::FULL))); - SWIG_Python_SetConstant(d, "SoExtSelection_PART",SWIG_From_int(static_cast< int >(SoExtSelection::PART))); - SWIG_Python_SetConstant(d, "SoExtSelection_ALL_SHAPES",SWIG_From_int(static_cast< int >(SoExtSelection::ALL_SHAPES))); - SWIG_Python_SetConstant(d, "SoExtSelection_VISIBLE_SHAPES",SWIG_From_int(static_cast< int >(SoExtSelection::VISIBLE_SHAPES))); - SWIG_Python_SetConstant(d, "SoVertexProperty_OVERALL",SWIG_From_int(static_cast< int >(SoVertexProperty::OVERALL))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_PART",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_PART))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_FACE",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_FACE))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVertexProperty_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVertexProperty::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoFontStyle_SERIF",SWIG_From_int(static_cast< int >(SoFontStyle::SERIF))); - SWIG_Python_SetConstant(d, "SoFontStyle_SANS",SWIG_From_int(static_cast< int >(SoFontStyle::SANS))); - SWIG_Python_SetConstant(d, "SoFontStyle_TYPEWRITER",SWIG_From_int(static_cast< int >(SoFontStyle::TYPEWRITER))); - SWIG_Python_SetConstant(d, "SoFontStyle_NONE",SWIG_From_int(static_cast< int >(SoFontStyle::NONE))); - SWIG_Python_SetConstant(d, "SoFontStyle_BOLD",SWIG_From_int(static_cast< int >(SoFontStyle::BOLD))); - SWIG_Python_SetConstant(d, "SoFontStyle_ITALIC",SWIG_From_int(static_cast< int >(SoFontStyle::ITALIC))); - SWIG_Python_SetConstant(d, "SO_END_FACE_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_END_LINE_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SO_END_STRIP_INDEX",SWIG_From_int(static_cast< int >((-1)))); - SWIG_Python_SetConstant(d, "SoProfile_START_FIRST",SWIG_From_int(static_cast< int >(SoProfile::START_FIRST))); - SWIG_Python_SetConstant(d, "SoProfile_START_NEW",SWIG_From_int(static_cast< int >(SoProfile::START_NEW))); - SWIG_Python_SetConstant(d, "SoProfile_ADD_TO_CURRENT",SWIG_From_int(static_cast< int >(SoProfile::ADD_TO_CURRENT))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_AUTO",SWIG_From_int(static_cast< int >(SoLocateHighlight::AUTO))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_ON",SWIG_From_int(static_cast< int >(SoLocateHighlight::ON))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_OFF",SWIG_From_int(static_cast< int >(SoLocateHighlight::OFF))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_EMISSIVE",SWIG_From_int(static_cast< int >(SoLocateHighlight::EMISSIVE))); - SWIG_Python_SetConstant(d, "SoLocateHighlight_EMISSIVE_DIFFUSE",SWIG_From_int(static_cast< int >(SoLocateHighlight::EMISSIVE_DIFFUSE))); - SWIG_Python_SetConstant(d, "SoMarkerSet_NONE",SWIG_From_int(static_cast< int >(SoMarkerSet::NONE))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_5_5",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_5_5))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_7_7",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_7_7))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CROSS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CROSS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PLUS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PLUS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_MINUS_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::MINUS_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SLASH_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SLASH_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BACKSLASH_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::BACKSLASH_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_BAR_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::BAR_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_STAR_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::STAR_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_Y_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::Y_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_LIGHTNING_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::LIGHTNING_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_WELL_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::WELL_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_LINE_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_LINE_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CIRCLE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CIRCLE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SQUARE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SQUARE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_DIAMOND_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::DIAMOND_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_TRIANGLE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::TRIANGLE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_RHOMBUS_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::RHOMBUS_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_HOURGLASS_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::HOURGLASS_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SATELLITE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SATELLITE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_PINE_TREE_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::PINE_TREE_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_CAUTION_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::CAUTION_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_SHIP_FILLED_9_9",SWIG_From_int(static_cast< int >(SoMarkerSet::SHIP_FILLED_9_9))); - SWIG_Python_SetConstant(d, "SoMarkerSet_NUM_MARKERS",SWIG_From_int(static_cast< int >(SoMarkerSet::NUM_MARKERS))); - SWIG_Python_SetConstant(d, "SoText2_LEFT",SWIG_From_int(static_cast< int >(SoText2::LEFT))); - SWIG_Python_SetConstant(d, "SoText2_RIGHT",SWIG_From_int(static_cast< int >(SoText2::RIGHT))); - SWIG_Python_SetConstant(d, "SoText2_CENTER",SWIG_From_int(static_cast< int >(SoText2::CENTER))); - SWIG_Python_SetConstant(d, "SoText3_FRONT",SWIG_From_int(static_cast< int >(SoText3::FRONT))); - SWIG_Python_SetConstant(d, "SoText3_SIDES",SWIG_From_int(static_cast< int >(SoText3::SIDES))); - SWIG_Python_SetConstant(d, "SoText3_BACK",SWIG_From_int(static_cast< int >(SoText3::BACK))); - SWIG_Python_SetConstant(d, "SoText3_ALL",SWIG_From_int(static_cast< int >(SoText3::ALL))); - SWIG_Python_SetConstant(d, "SoText3_LEFT",SWIG_From_int(static_cast< int >(SoText3::LEFT))); - SWIG_Python_SetConstant(d, "SoText3_RIGHT",SWIG_From_int(static_cast< int >(SoText3::RIGHT))); - SWIG_Python_SetConstant(d, "SoText3_CENTER",SWIG_From_int(static_cast< int >(SoText3::CENTER))); - SWIG_Python_SetConstant(d, "SoWWWAnchor_NONE",SWIG_From_int(static_cast< int >(SoWWWAnchor::NONE))); - SWIG_Python_SetConstant(d, "SoWWWAnchor_POINT",SWIG_From_int(static_cast< int >(SoWWWAnchor::POINT))); - SWIG_Python_SetConstant(d, "SoResetTransform_TRANSFORM",SWIG_From_int(static_cast< int >(SoResetTransform::TRANSFORM))); - SWIG_Python_SetConstant(d, "SoResetTransform_BBOX",SWIG_From_int(static_cast< int >(SoResetTransform::BBOX))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_X",SWIG_From_int(static_cast< int >(SoRotationXYZ::X))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_Y",SWIG_From_int(static_cast< int >(SoRotationXYZ::Y))); - SWIG_Python_SetConstant(d, "SoRotationXYZ_Z",SWIG_From_int(static_cast< int >(SoRotationXYZ::Z))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_FILLED",SWIG_From_int(static_cast< int >(SoPolygonOffset::FILLED))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_LINES",SWIG_From_int(static_cast< int >(SoPolygonOffset::LINES))); - SWIG_Python_SetConstant(d, "SoPolygonOffset_POINTS",SWIG_From_int(static_cast< int >(SoPolygonOffset::POINTS))); - SWIG_Python_SetConstant(d, "SoTexture3_MODULATE",SWIG_From_int(static_cast< int >(SoTexture3::MODULATE))); - SWIG_Python_SetConstant(d, "SoTexture3_DECAL",SWIG_From_int(static_cast< int >(SoTexture3::DECAL))); - SWIG_Python_SetConstant(d, "SoTexture3_BLEND",SWIG_From_int(static_cast< int >(SoTexture3::BLEND))); - SWIG_Python_SetConstant(d, "SoTexture3_REPEAT",SWIG_From_int(static_cast< int >(SoTexture3::REPEAT))); - SWIG_Python_SetConstant(d, "SoTexture3_CLAMP",SWIG_From_int(static_cast< int >(SoTexture3::CLAMP))); - SWIG_Python_SetConstant(d, "SoWWWInline_NEVER",SWIG_From_int(static_cast< int >(SoWWWInline::NEVER))); - SWIG_Python_SetConstant(d, "SoWWWInline_UNTIL_LOADED",SWIG_From_int(static_cast< int >(SoWWWInline::UNTIL_LOADED))); - SWIG_Python_SetConstant(d, "SoWWWInline_ALWAYS",SWIG_From_int(static_cast< int >(SoWWWInline::ALWAYS))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SCREEN_DOOR",SWIG_From_int(static_cast< int >(SoTransparencyType::SCREEN_DOOR))); - SWIG_Python_SetConstant(d, "SoTransparencyType_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_DELAYED_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::DELAYED_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_DELAYED_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::DELAYED_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_ADD",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_SORTED_TRIANGLE_ADD))); - SWIG_Python_SetConstant(d, "SoTransparencyType_SORTED_OBJECT_SORTED_TRIANGLE_BLEND",SWIG_From_int(static_cast< int >(SoTransparencyType::SORTED_OBJECT_SORTED_TRIANGLE_BLEND))); - SWIG_Python_SetConstant(d, "SoTransparencyType_NONE",SWIG_From_int(static_cast< int >(SoTransparencyType::NONE))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_USE_TEXTURE_QUALITY",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::USE_TEXTURE_QUALITY))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_SCALE_DOWN",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::SCALE_DOWN))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_SCALE_UP",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::SCALE_UP))); - SWIG_Python_SetConstant(d, "SoTextureScalePolicy_FRACTURE",SWIG_From_int(static_cast< int >(SoTextureScalePolicy::FRACTURE))); - SWIG_Python_SetConstant(d, "SoTextureUnit_BUMP_MAPPING",SWIG_From_int(static_cast< int >(SoTextureUnit::BUMP_MAPPING))); - SWIG_Python_SetConstant(d, "SoTextureUnit_IMAGE_MAPPING",SWIG_From_int(static_cast< int >(SoTextureUnit::IMAGE_MAPPING))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_MODULATE",SWIG_From_int(static_cast< int >(SoSceneTexture2::MODULATE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_DECAL",SWIG_From_int(static_cast< int >(SoSceneTexture2::DECAL))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_BLEND",SWIG_From_int(static_cast< int >(SoSceneTexture2::BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_REPLACE",SWIG_From_int(static_cast< int >(SoSceneTexture2::REPLACE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_REPEAT",SWIG_From_int(static_cast< int >(SoSceneTexture2::REPEAT))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_CLAMP",SWIG_From_int(static_cast< int >(SoSceneTexture2::CLAMP))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_NONE",SWIG_From_int(static_cast< int >(SoSceneTexture2::NONE))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_ALPHA_BLEND",SWIG_From_int(static_cast< int >(SoSceneTexture2::ALPHA_BLEND))); - SWIG_Python_SetConstant(d, "SoSceneTexture2_ALPHA_TEST",SWIG_From_int(static_cast< int >(SoSceneTexture2::ALPHA_TEST))); - SWIG_Python_SetConstant(d, "SoTextureCombine_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::PRIMARY_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_TEXTURE",SWIG_From_int(static_cast< int >(SoTextureCombine::TEXTURE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_CONSTANT",SWIG_From_int(static_cast< int >(SoTextureCombine::CONSTANT))); - SWIG_Python_SetConstant(d, "SoTextureCombine_PREVIOUS",SWIG_From_int(static_cast< int >(SoTextureCombine::PREVIOUS))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ONE_MINUS_SRC_COLOR",SWIG_From_int(static_cast< int >(SoTextureCombine::ONE_MINUS_SRC_COLOR))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombine::SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ONE_MINUS_SRC_ALPHA",SWIG_From_int(static_cast< int >(SoTextureCombine::ONE_MINUS_SRC_ALPHA))); - SWIG_Python_SetConstant(d, "SoTextureCombine_REPLACE",SWIG_From_int(static_cast< int >(SoTextureCombine::REPLACE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_MODULATE",SWIG_From_int(static_cast< int >(SoTextureCombine::MODULATE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ADD",SWIG_From_int(static_cast< int >(SoTextureCombine::ADD))); - SWIG_Python_SetConstant(d, "SoTextureCombine_ADD_SIGNED",SWIG_From_int(static_cast< int >(SoTextureCombine::ADD_SIGNED))); - SWIG_Python_SetConstant(d, "SoTextureCombine_SUBTRACT",SWIG_From_int(static_cast< int >(SoTextureCombine::SUBTRACT))); - SWIG_Python_SetConstant(d, "SoTextureCombine_INTERPOLATE",SWIG_From_int(static_cast< int >(SoTextureCombine::INTERPOLATE))); - SWIG_Python_SetConstant(d, "SoTextureCombine_DOT3_RGB",SWIG_From_int(static_cast< int >(SoTextureCombine::DOT3_RGB))); - SWIG_Python_SetConstant(d, "SoTextureCombine_DOT3_RGBA",SWIG_From_int(static_cast< int >(SoTextureCombine::DOT3_RGBA))); - SWIG_Python_SetConstant(d, "SoPathSensor_PATH",SWIG_From_int(static_cast< int >(SoPathSensor::PATH))); - SWIG_Python_SetConstant(d, "SoPathSensor_NODES",SWIG_From_int(static_cast< int >(SoPathSensor::NODES))); - SWIG_Python_SetConstant(d, "SoPathSensor_PATH_AND_NODES",SWIG_From_int(static_cast< int >(SoPathSensor::PATH_AND_NODES))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_LUMINANCE",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::LUMINANCE))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_LUMINANCE_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::LUMINANCE_TRANSPARENCY))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_RGB",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::RGB))); - SWIG_Python_SetConstant(d, "SoOffscreenRenderer_RGB_TRANSPARENCY",SWIG_From_int(static_cast< int >(SoOffscreenRenderer::RGB_TRANSPARENCY))); - SWIG_Python_SetConstant(d, "GL_GLEXT_PROTOTYPES",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "GL_CLAMP_TO_EDGE",SWIG_From_int(static_cast< int >(0x812F))); - SWIG_Python_SetConstant(d, "GL_REPLACE",SWIG_From_int(static_cast< int >(0x1E01))); - SWIG_Python_SetConstant(d, "GL_MAX_3D_TEXTURE_SIZE",SWIG_From_int(static_cast< int >(0x8073))); - SWIG_Python_SetConstant(d, "GL_PACK_IMAGE_HEIGHT",SWIG_From_int(static_cast< int >(0x806C))); - SWIG_Python_SetConstant(d, "GL_PACK_SKIP_IMAGES",SWIG_From_int(static_cast< int >(0x806B))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_2D",SWIG_From_int(static_cast< int >(0x8064))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_3D",SWIG_From_int(static_cast< int >(0x8070))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_3D",SWIG_From_int(static_cast< int >(0x806F))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DEPTH",SWIG_From_int(static_cast< int >(0x8071))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_WRAP_R",SWIG_From_int(static_cast< int >(0x8072))); - SWIG_Python_SetConstant(d, "GL_UNPACK_IMAGE_HEIGHT",SWIG_From_int(static_cast< int >(0x806E))); - SWIG_Python_SetConstant(d, "GL_UNPACK_SKIP_IMAGES",SWIG_From_int(static_cast< int >(0x806D))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_WIDTH",SWIG_From_int(static_cast< int >(0x80D9))); - SWIG_Python_SetConstant(d, "GL_TEXTURE0",SWIG_From_int(static_cast< int >(0x84C0))); - SWIG_Python_SetConstant(d, "GL_TEXTURE1",SWIG_From_int(static_cast< int >(0x84C1))); - SWIG_Python_SetConstant(d, "GL_TEXTURE2",SWIG_From_int(static_cast< int >(0x84C2))); - SWIG_Python_SetConstant(d, "GL_TEXTURE3",SWIG_From_int(static_cast< int >(0x84C3))); - SWIG_Python_SetConstant(d, "GL_TEXTURE4",SWIG_From_int(static_cast< int >(0x84C4))); - SWIG_Python_SetConstant(d, "GL_TEXTURE5",SWIG_From_int(static_cast< int >(0x84C5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE6",SWIG_From_int(static_cast< int >(0x84C6))); - SWIG_Python_SetConstant(d, "GL_TEXTURE7",SWIG_From_int(static_cast< int >(0x84C7))); - SWIG_Python_SetConstant(d, "GL_TEXTURE8",SWIG_From_int(static_cast< int >(0x84C8))); - SWIG_Python_SetConstant(d, "GL_TEXTURE9",SWIG_From_int(static_cast< int >(0x84C9))); - SWIG_Python_SetConstant(d, "GL_TEXTURE10",SWIG_From_int(static_cast< int >(0x84CA))); - SWIG_Python_SetConstant(d, "GL_TEXTURE11",SWIG_From_int(static_cast< int >(0x84CB))); - SWIG_Python_SetConstant(d, "GL_TEXTURE12",SWIG_From_int(static_cast< int >(0x84CC))); - SWIG_Python_SetConstant(d, "GL_TEXTURE13",SWIG_From_int(static_cast< int >(0x84CD))); - SWIG_Python_SetConstant(d, "GL_TEXTURE14",SWIG_From_int(static_cast< int >(0x84CE))); - SWIG_Python_SetConstant(d, "GL_TEXTURE15",SWIG_From_int(static_cast< int >(0x84CF))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_UNITS",SWIG_From_int(static_cast< int >(0x84E2))); - SWIG_Python_SetConstant(d, "GL_ACTIVE_TEXTURE",SWIG_From_int(static_cast< int >(0x84E0))); - SWIG_Python_SetConstant(d, "GL_CLIENT_ACTIVE_TEXTURE",SWIG_From_int(static_cast< int >(0x84E1))); - SWIG_Python_SetConstant(d, "GL_POLYGON_OFFSET_EXT",SWIG_From_int(static_cast< int >(0x8037))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE",SWIG_From_int(static_cast< int >(0x80D0))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX1_EXT",SWIG_From_int(static_cast< int >(0x80E2))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX2_EXT",SWIG_From_int(static_cast< int >(0x80E3))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX4_EXT",SWIG_From_int(static_cast< int >(0x80E4))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX8_EXT",SWIG_From_int(static_cast< int >(0x80E5))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX12_EXT",SWIG_From_int(static_cast< int >(0x80E6))); - SWIG_Python_SetConstant(d, "GL_COLOR_INDEX16_EXT",SWIG_From_int(static_cast< int >(0x80E7))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_FORMAT_EXT",SWIG_From_int(static_cast< int >(0x80D8))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_RED_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DA))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_GREEN_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DB))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_BLUE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DC))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_ALPHA_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DD))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_LUMINANCE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DE))); - SWIG_Python_SetConstant(d, "GL_COLOR_TABLE_INTENSITY_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80DF))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_INDEX_SIZE_EXT",SWIG_From_int(static_cast< int >(0x80ED))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_ALPHA_ARB",SWIG_From_int(static_cast< int >(0x84E9))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_LUMINANCE_ARB",SWIG_From_int(static_cast< int >(0x84EA))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_LUMINANCE_ALPHA_ARB",SWIG_From_int(static_cast< int >(0x84EB))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_INTENSITY_ARB",SWIG_From_int(static_cast< int >(0x84EC))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_RGB_ARB",SWIG_From_int(static_cast< int >(0x84ED))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_RGBA_ARB",SWIG_From_int(static_cast< int >(0x84EE))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSION_HINT_ARB",SWIG_From_int(static_cast< int >(0x84EF))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB",SWIG_From_int(static_cast< int >(0x86A0))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPRESSED_ARB",SWIG_From_int(static_cast< int >(0x86A1))); - SWIG_Python_SetConstant(d, "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB",SWIG_From_int(static_cast< int >(0x86A2))); - SWIG_Python_SetConstant(d, "GL_COMPRESSED_TEXTURE_FORMATS_ARB",SWIG_From_int(static_cast< int >(0x86A3))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT16",SWIG_From_int(static_cast< int >(0x81A5))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT24",SWIG_From_int(static_cast< int >(0x81A6))); - SWIG_Python_SetConstant(d, "GL_DEPTH_COMPONENT32",SWIG_From_int(static_cast< int >(0x81A7))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DEPTH_SIZE",SWIG_From_int(static_cast< int >(0x884A))); - SWIG_Python_SetConstant(d, "GL_DEPTH_TEXTURE_MODE",SWIG_From_int(static_cast< int >(0x884B))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPARE_MODE",SWIG_From_int(static_cast< int >(0x884C))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COMPARE_FUNC",SWIG_From_int(static_cast< int >(0x884D))); - SWIG_Python_SetConstant(d, "GL_COMPARE_R_TO_TEXTURE",SWIG_From_int(static_cast< int >(0x884E))); - SWIG_Python_SetConstant(d, "GL_MIN",SWIG_From_int(static_cast< int >(0x8007))); - SWIG_Python_SetConstant(d, "GL_MAX",SWIG_From_int(static_cast< int >(0x8008))); - SWIG_Python_SetConstant(d, "GL_FUNC_ADD",SWIG_From_int(static_cast< int >(0x8006))); - SWIG_Python_SetConstant(d, "GL_FUNC_SUBTRACT",SWIG_From_int(static_cast< int >(0x800A))); - SWIG_Python_SetConstant(d, "GL_FUNC_REVERSE_SUBTRACT",SWIG_From_int(static_cast< int >(0x800B))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY",SWIG_From_int(static_cast< int >(0x8074))); - SWIG_Python_SetConstant(d, "GL_NORMAL_ARRAY",SWIG_From_int(static_cast< int >(0x8075))); - SWIG_Python_SetConstant(d, "GL_COLOR_ARRAY",SWIG_From_int(static_cast< int >(0x8076))); - SWIG_Python_SetConstant(d, "GL_INDEX_ARRAY",SWIG_From_int(static_cast< int >(0x8077))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_COORD_ARRAY",SWIG_From_int(static_cast< int >(0x8078))); - SWIG_Python_SetConstant(d, "GL_V3F",SWIG_From_int(static_cast< int >(0x2A21))); - SWIG_Python_SetConstant(d, "GL_C4UB_V3F",SWIG_From_int(static_cast< int >(0x2A23))); - SWIG_Python_SetConstant(d, "GL_C3F_V3F",SWIG_From_int(static_cast< int >(0x2A24))); - SWIG_Python_SetConstant(d, "GL_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A25))); - SWIG_Python_SetConstant(d, "GL_C4F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A26))); - SWIG_Python_SetConstant(d, "GL_T2F_V3F",SWIG_From_int(static_cast< int >(0x2A27))); - SWIG_Python_SetConstant(d, "GL_T2F_C4UB_V3F",SWIG_From_int(static_cast< int >(0x2A29))); - SWIG_Python_SetConstant(d, "GL_T2F_C3F_V3F",SWIG_From_int(static_cast< int >(0x2A2A))); - SWIG_Python_SetConstant(d, "GL_T2F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A2B))); - SWIG_Python_SetConstant(d, "GL_T2F_C4F_N3F_V3F",SWIG_From_int(static_cast< int >(0x2A2C))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_NV",SWIG_From_int(static_cast< int >(0x851D))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_LENGTH_NV",SWIG_From_int(static_cast< int >(0x851E))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_VALID_NV",SWIG_From_int(static_cast< int >(0x851F))); - SWIG_Python_SetConstant(d, "GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV",SWIG_From_int(static_cast< int >(0x8520))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ARRAY_RANGE_POINTER_NV",SWIG_From_int(static_cast< int >(0x8521))); - SWIG_Python_SetConstant(d, "GL_ARRAY_BUFFER",SWIG_From_int(static_cast< int >(0x8892))); - SWIG_Python_SetConstant(d, "GL_ELEMENT_ARRAY_BUFFER",SWIG_From_int(static_cast< int >(0x8893))); - SWIG_Python_SetConstant(d, "GL_READ_ONLY",SWIG_From_int(static_cast< int >(0x88B8))); - SWIG_Python_SetConstant(d, "GL_WRITE_ONLY",SWIG_From_int(static_cast< int >(0x88B9))); - SWIG_Python_SetConstant(d, "GL_READ_WRITE",SWIG_From_int(static_cast< int >(0x88BA))); - SWIG_Python_SetConstant(d, "GL_BUFFER_ACCESS",SWIG_From_int(static_cast< int >(0x88BB))); - SWIG_Python_SetConstant(d, "GL_BUFFER_MAPPED",SWIG_From_int(static_cast< int >(0x88BC))); - SWIG_Python_SetConstant(d, "GL_BUFFER_MAP_POINTER",SWIG_From_int(static_cast< int >(0x88BD))); - SWIG_Python_SetConstant(d, "GL_STREAM_DRAW",SWIG_From_int(static_cast< int >(0x88E0))); - SWIG_Python_SetConstant(d, "GL_STREAM_READ",SWIG_From_int(static_cast< int >(0x88E1))); - SWIG_Python_SetConstant(d, "GL_STREAM_COPY",SWIG_From_int(static_cast< int >(0x88E2))); - SWIG_Python_SetConstant(d, "GL_STATIC_DRAW",SWIG_From_int(static_cast< int >(0x88E4))); - SWIG_Python_SetConstant(d, "GL_STATIC_READ",SWIG_From_int(static_cast< int >(0x88E5))); - SWIG_Python_SetConstant(d, "GL_STATIC_COPY",SWIG_From_int(static_cast< int >(0x88E6))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_DRAW",SWIG_From_int(static_cast< int >(0x88E8))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_READ",SWIG_From_int(static_cast< int >(0x88E9))); - SWIG_Python_SetConstant(d, "GL_DYNAMIC_COPY",SWIG_From_int(static_cast< int >(0x88EA))); - SWIG_Python_SetConstant(d, "GL_REGISTER_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x8522))); - SWIG_Python_SetConstant(d, "GL_COMBINER0_NV",SWIG_From_int(static_cast< int >(0x8550))); - SWIG_Python_SetConstant(d, "GL_COMBINER1_NV",SWIG_From_int(static_cast< int >(0x8551))); - SWIG_Python_SetConstant(d, "GL_COMBINER2_NV",SWIG_From_int(static_cast< int >(0x8552))); - SWIG_Python_SetConstant(d, "GL_COMBINER3_NV",SWIG_From_int(static_cast< int >(0x8553))); - SWIG_Python_SetConstant(d, "GL_COMBINER4_NV",SWIG_From_int(static_cast< int >(0x8554))); - SWIG_Python_SetConstant(d, "GL_COMBINER5_NV",SWIG_From_int(static_cast< int >(0x8555))); - SWIG_Python_SetConstant(d, "GL_COMBINER6_NV",SWIG_From_int(static_cast< int >(0x8556))); - SWIG_Python_SetConstant(d, "GL_COMBINER7_NV",SWIG_From_int(static_cast< int >(0x8557))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_A_NV",SWIG_From_int(static_cast< int >(0x8523))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_B_NV",SWIG_From_int(static_cast< int >(0x8524))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_C_NV",SWIG_From_int(static_cast< int >(0x8525))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_D_NV",SWIG_From_int(static_cast< int >(0x8526))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_E_NV",SWIG_From_int(static_cast< int >(0x8527))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_F_NV",SWIG_From_int(static_cast< int >(0x8528))); - SWIG_Python_SetConstant(d, "GL_VARIABLE_G_NV",SWIG_From_int(static_cast< int >(0x8529))); - SWIG_Python_SetConstant(d, "GL_CONSTANT_COLOR0_NV",SWIG_From_int(static_cast< int >(0x852A))); - SWIG_Python_SetConstant(d, "GL_CONSTANT_COLOR1_NV",SWIG_From_int(static_cast< int >(0x852B))); - SWIG_Python_SetConstant(d, "GL_PRIMARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x852C))); - SWIG_Python_SetConstant(d, "GL_SECONDARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x852D))); - SWIG_Python_SetConstant(d, "GL_SPARE0_NV",SWIG_From_int(static_cast< int >(0x852E))); - SWIG_Python_SetConstant(d, "GL_SPARE1_NV",SWIG_From_int(static_cast< int >(0x852F))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_IDENTITY_NV",SWIG_From_int(static_cast< int >(0x8536))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INVERT_NV",SWIG_From_int(static_cast< int >(0x8537))); - SWIG_Python_SetConstant(d, "GL_EXPAND_NORMAL_NV",SWIG_From_int(static_cast< int >(0x8538))); - SWIG_Python_SetConstant(d, "GL_EXPAND_NEGATE_NV",SWIG_From_int(static_cast< int >(0x8539))); - SWIG_Python_SetConstant(d, "GL_HALF_BIAS_NORMAL_NV",SWIG_From_int(static_cast< int >(0x853A))); - SWIG_Python_SetConstant(d, "GL_HALF_BIAS_NEGATE_NV",SWIG_From_int(static_cast< int >(0x853B))); - SWIG_Python_SetConstant(d, "GL_SIGNED_IDENTITY_NV",SWIG_From_int(static_cast< int >(0x853C))); - SWIG_Python_SetConstant(d, "GL_SIGNED_NEGATE_NV",SWIG_From_int(static_cast< int >(0x853D))); - SWIG_Python_SetConstant(d, "GL_E_TIMES_F_NV",SWIG_From_int(static_cast< int >(0x8531))); - SWIG_Python_SetConstant(d, "GL_SPARE0_PLUS_SECONDARY_COLOR_NV",SWIG_From_int(static_cast< int >(0x8532))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_TWO_NV",SWIG_From_int(static_cast< int >(0x853E))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_FOUR_NV",SWIG_From_int(static_cast< int >(0x853F))); - SWIG_Python_SetConstant(d, "GL_SCALE_BY_ONE_HALF_NV",SWIG_From_int(static_cast< int >(0x8540))); - SWIG_Python_SetConstant(d, "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV",SWIG_From_int(static_cast< int >(0x8541))); - SWIG_Python_SetConstant(d, "GL_DISCARD_NV",SWIG_From_int(static_cast< int >(0x8530))); - SWIG_Python_SetConstant(d, "GL_COMBINER_INPUT_NV",SWIG_From_int(static_cast< int >(0x8542))); - SWIG_Python_SetConstant(d, "GL_COMBINER_MAPPING_NV",SWIG_From_int(static_cast< int >(0x8543))); - SWIG_Python_SetConstant(d, "GL_COMBINER_COMPONENT_USAGE_NV",SWIG_From_int(static_cast< int >(0x8544))); - SWIG_Python_SetConstant(d, "GL_COMBINER_AB_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x8545))); - SWIG_Python_SetConstant(d, "GL_COMBINER_CD_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x8546))); - SWIG_Python_SetConstant(d, "GL_COMBINER_MUX_SUM_NV",SWIG_From_int(static_cast< int >(0x8547))); - SWIG_Python_SetConstant(d, "GL_COMBINER_SCALE_NV",SWIG_From_int(static_cast< int >(0x8548))); - SWIG_Python_SetConstant(d, "GL_COMBINER_BIAS_NV",SWIG_From_int(static_cast< int >(0x8549))); - SWIG_Python_SetConstant(d, "GL_COMBINER_AB_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854A))); - SWIG_Python_SetConstant(d, "GL_COMBINER_CD_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854B))); - SWIG_Python_SetConstant(d, "GL_COMBINER_SUM_OUTPUT_NV",SWIG_From_int(static_cast< int >(0x854C))); - SWIG_Python_SetConstant(d, "GL_MAX_GENERAL_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x854D))); - SWIG_Python_SetConstant(d, "GL_NUM_GENERAL_COMBINERS_NV",SWIG_From_int(static_cast< int >(0x854E))); - SWIG_Python_SetConstant(d, "GL_COLOR_SUM_CLAMP_NV",SWIG_From_int(static_cast< int >(0x854F))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F6))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x84F7))); - SWIG_Python_SetConstant(d, "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV",SWIG_From_int(static_cast< int >(0x84F8))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F5))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F6))); - SWIG_Python_SetConstant(d, "GL_PROXY_TEXTURE_RECTANGLE_EXT",SWIG_From_int(static_cast< int >(0x84F7))); - SWIG_Python_SetConstant(d, "GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x84F8))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x864C))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV",SWIG_From_int(static_cast< int >(0x864D))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV",SWIG_From_int(static_cast< int >(0x864E))); - SWIG_Python_SetConstant(d, "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV",SWIG_From_int(static_cast< int >(0x86D9))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INT_S8_S8_8_8_NV",SWIG_From_int(static_cast< int >(0x86DA))); - SWIG_Python_SetConstant(d, "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV",SWIG_From_int(static_cast< int >(0x86DB))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_INTENSITY_NV",SWIG_From_int(static_cast< int >(0x86DC))); - SWIG_Python_SetConstant(d, "GL_SHADER_CONSISTENT_NV",SWIG_From_int(static_cast< int >(0x86DD))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_SHADER_NV",SWIG_From_int(static_cast< int >(0x86DE))); - SWIG_Python_SetConstant(d, "GL_SHADER_OPERATION_NV",SWIG_From_int(static_cast< int >(0x86DF))); - SWIG_Python_SetConstant(d, "GL_CULL_MODES_NV",SWIG_From_int(static_cast< int >(0x86E0))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_MATRIX_NV",SWIG_From_int(static_cast< int >(0x86E1))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_SCALE_NV",SWIG_From_int(static_cast< int >(0x86E2))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_BIAS_NV",SWIG_From_int(static_cast< int >(0x86E3))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_MATRIX_NV",SWIG_From_int(static_cast< int >(0x86E1))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_SCALE_NV",SWIG_From_int(static_cast< int >(0x86E2))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_BIAS_NV",SWIG_From_int(static_cast< int >(0x86E3))); - SWIG_Python_SetConstant(d, "GL_PREVIOUS_TEXTURE_INPUT_NV",SWIG_From_int(static_cast< int >(0x86E4))); - SWIG_Python_SetConstant(d, "GL_CONST_EYE_NV",SWIG_From_int(static_cast< int >(0x86E5))); - SWIG_Python_SetConstant(d, "GL_PASS_THROUGH_NV",SWIG_From_int(static_cast< int >(0x86E6))); - SWIG_Python_SetConstant(d, "GL_CULL_FRAGMENT_NV",SWIG_From_int(static_cast< int >(0x86E7))); - SWIG_Python_SetConstant(d, "GL_OFFSET_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86E8))); - SWIG_Python_SetConstant(d, "GL_DEPENDENT_AR_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86E9))); - SWIG_Python_SetConstant(d, "GL_DEPENDENT_GB_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86EA))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_NV",SWIG_From_int(static_cast< int >(0x86EC))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_DEPTH_REPLACE_NV",SWIG_From_int(static_cast< int >(0x86ED))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_2D_NV",SWIG_From_int(static_cast< int >(0x86EE))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F0))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F1))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F2))); - SWIG_Python_SetConstant(d, "GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV",SWIG_From_int(static_cast< int >(0x86F3))); - SWIG_Python_SetConstant(d, "GL_HILO_NV",SWIG_From_int(static_cast< int >(0x86F4))); - SWIG_Python_SetConstant(d, "GL_DSDT_NV",SWIG_From_int(static_cast< int >(0x86F5))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_NV",SWIG_From_int(static_cast< int >(0x86F6))); - SWIG_Python_SetConstant(d, "GL_DSDT_MAG_VIB_NV",SWIG_From_int(static_cast< int >(0x86F7))); - SWIG_Python_SetConstant(d, "GL_HILO16_NV",SWIG_From_int(static_cast< int >(0x86F8))); - SWIG_Python_SetConstant(d, "GL_SIGNED_HILO_NV",SWIG_From_int(static_cast< int >(0x86F9))); - SWIG_Python_SetConstant(d, "GL_SIGNED_HILO16_NV",SWIG_From_int(static_cast< int >(0x86FA))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGBA_NV",SWIG_From_int(static_cast< int >(0x86FB))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGBA8_NV",SWIG_From_int(static_cast< int >(0x86FC))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB_NV",SWIG_From_int(static_cast< int >(0x86FE))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB8_NV",SWIG_From_int(static_cast< int >(0x86FF))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE_NV",SWIG_From_int(static_cast< int >(0x8701))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE8_NV",SWIG_From_int(static_cast< int >(0x8702))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE_ALPHA_NV",SWIG_From_int(static_cast< int >(0x8703))); - SWIG_Python_SetConstant(d, "GL_SIGNED_LUMINANCE8_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x8704))); - SWIG_Python_SetConstant(d, "GL_SIGNED_ALPHA_NV",SWIG_From_int(static_cast< int >(0x8705))); - SWIG_Python_SetConstant(d, "GL_SIGNED_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x8706))); - SWIG_Python_SetConstant(d, "GL_SIGNED_INTENSITY_NV",SWIG_From_int(static_cast< int >(0x8707))); - SWIG_Python_SetConstant(d, "GL_SIGNED_INTENSITY8_NV",SWIG_From_int(static_cast< int >(0x8708))); - SWIG_Python_SetConstant(d, "GL_DSDT8_NV",SWIG_From_int(static_cast< int >(0x8709))); - SWIG_Python_SetConstant(d, "GL_DSDT8_MAG8_NV",SWIG_From_int(static_cast< int >(0x870A))); - SWIG_Python_SetConstant(d, "GL_DSDT8_MAG8_INTENSITY8_NV",SWIG_From_int(static_cast< int >(0x870B))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB_UNSIGNED_ALPHA_NV",SWIG_From_int(static_cast< int >(0x870C))); - SWIG_Python_SetConstant(d, "GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV",SWIG_From_int(static_cast< int >(0x870D))); - SWIG_Python_SetConstant(d, "GL_HI_SCALE_NV",SWIG_From_int(static_cast< int >(0x870E))); - SWIG_Python_SetConstant(d, "GL_LO_SCALE_NV",SWIG_From_int(static_cast< int >(0x870F))); - SWIG_Python_SetConstant(d, "GL_DS_SCALE_NV",SWIG_From_int(static_cast< int >(0x8710))); - SWIG_Python_SetConstant(d, "GL_DT_SCALE_NV",SWIG_From_int(static_cast< int >(0x8711))); - SWIG_Python_SetConstant(d, "GL_MAGNITUDE_SCALE_NV",SWIG_From_int(static_cast< int >(0x8712))); - SWIG_Python_SetConstant(d, "GL_VIBRANCE_SCALE_NV",SWIG_From_int(static_cast< int >(0x8713))); - SWIG_Python_SetConstant(d, "GL_HI_BIAS_NV",SWIG_From_int(static_cast< int >(0x8714))); - SWIG_Python_SetConstant(d, "GL_LO_BIAS_NV",SWIG_From_int(static_cast< int >(0x8715))); - SWIG_Python_SetConstant(d, "GL_DS_BIAS_NV",SWIG_From_int(static_cast< int >(0x8716))); - SWIG_Python_SetConstant(d, "GL_DT_BIAS_NV",SWIG_From_int(static_cast< int >(0x8717))); - SWIG_Python_SetConstant(d, "GL_MAGNITUDE_BIAS_NV",SWIG_From_int(static_cast< int >(0x8718))); - SWIG_Python_SetConstant(d, "GL_VIBRANCE_BIAS_NV",SWIG_From_int(static_cast< int >(0x8719))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BORDER_VALUES_NV",SWIG_From_int(static_cast< int >(0x871A))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_HI_SIZE_NV",SWIG_From_int(static_cast< int >(0x871B))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_LO_SIZE_NV",SWIG_From_int(static_cast< int >(0x871C))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DS_SIZE_NV",SWIG_From_int(static_cast< int >(0x871D))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_DT_SIZE_NV",SWIG_From_int(static_cast< int >(0x871E))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_MAG_SIZE_NV",SWIG_From_int(static_cast< int >(0x871F))); - SWIG_Python_SetConstant(d, "GL_NORMAL_MAP",SWIG_From_int(static_cast< int >(0x8511))); - SWIG_Python_SetConstant(d, "GL_REFLECTION_MAP",SWIG_From_int(static_cast< int >(0x8512))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP",SWIG_From_int(static_cast< int >(0x8513))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_BINDING_CUBE_MAP",SWIG_From_int(static_cast< int >(0x8514))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_X",SWIG_From_int(static_cast< int >(0x8515))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X",SWIG_From_int(static_cast< int >(0x8516))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y",SWIG_From_int(static_cast< int >(0x8517))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y",SWIG_From_int(static_cast< int >(0x8518))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z",SWIG_From_int(static_cast< int >(0x8519))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",SWIG_From_int(static_cast< int >(0x851A))); - SWIG_Python_SetConstant(d, "GL_MAX_CUBE_MAP_TEXTURE_SIZE",SWIG_From_int(static_cast< int >(0x851C))); - SWIG_Python_SetConstant(d, "GL_COMBINE",SWIG_From_int(static_cast< int >(0x8570))); - SWIG_Python_SetConstant(d, "GL_COMBINE_RGB",SWIG_From_int(static_cast< int >(0x8571))); - SWIG_Python_SetConstant(d, "GL_COMBINE_ALPHA",SWIG_From_int(static_cast< int >(0x8572))); - SWIG_Python_SetConstant(d, "GL_RGB_SCALE",SWIG_From_int(static_cast< int >(0x8573))); - SWIG_Python_SetConstant(d, "GL_ADD_SIGNED",SWIG_From_int(static_cast< int >(0x8574))); - SWIG_Python_SetConstant(d, "GL_INTERPOLATE",SWIG_From_int(static_cast< int >(0x8575))); - SWIG_Python_SetConstant(d, "GL_CONSTANT",SWIG_From_int(static_cast< int >(0x8576))); - SWIG_Python_SetConstant(d, "GL_PRIMARY_COLOR",SWIG_From_int(static_cast< int >(0x8577))); - SWIG_Python_SetConstant(d, "GL_PREVIOUS",SWIG_From_int(static_cast< int >(0x8578))); - SWIG_Python_SetConstant(d, "GL_SOURCE0_RGB",SWIG_From_int(static_cast< int >(0x8580))); - SWIG_Python_SetConstant(d, "GL_SOURCE1_RGB",SWIG_From_int(static_cast< int >(0x8581))); - SWIG_Python_SetConstant(d, "GL_SOURCE2_RGB",SWIG_From_int(static_cast< int >(0x8582))); - SWIG_Python_SetConstant(d, "GL_SOURCE0_ALPHA",SWIG_From_int(static_cast< int >(0x8588))); - SWIG_Python_SetConstant(d, "GL_SOURCE1_ALPHA",SWIG_From_int(static_cast< int >(0x8589))); - SWIG_Python_SetConstant(d, "GL_SOURCE2_ALPHA",SWIG_From_int(static_cast< int >(0x858A))); - SWIG_Python_SetConstant(d, "GL_OPERAND0_RGB",SWIG_From_int(static_cast< int >(0x8590))); - SWIG_Python_SetConstant(d, "GL_OPERAND1_RGB",SWIG_From_int(static_cast< int >(0x8591))); - SWIG_Python_SetConstant(d, "GL_OPERAND2_RGB",SWIG_From_int(static_cast< int >(0x8592))); - SWIG_Python_SetConstant(d, "GL_OPERAND0_ALPHA",SWIG_From_int(static_cast< int >(0x8598))); - SWIG_Python_SetConstant(d, "GL_OPERAND1_ALPHA",SWIG_From_int(static_cast< int >(0x8599))); - SWIG_Python_SetConstant(d, "GL_OPERAND2_ALPHA",SWIG_From_int(static_cast< int >(0x859A))); - SWIG_Python_SetConstant(d, "GL_SUBTRACT",SWIG_From_int(static_cast< int >(0x84E7))); - SWIG_Python_SetConstant(d, "GL_DOT3_RGB",SWIG_From_int(static_cast< int >(0x86AE))); - SWIG_Python_SetConstant(d, "GL_DOT3_RGBA",SWIG_From_int(static_cast< int >(0x86AF))); - SWIG_Python_SetConstant(d, "GL_GENERATE_MIPMAP_SGIS",SWIG_From_int(static_cast< int >(0x8191))); - SWIG_Python_SetConstant(d, "GL_GENERATE_MIPMAP_HINT_SGIS",SWIG_From_int(static_cast< int >(0x8192))); - SWIG_Python_SetConstant(d, "GL_FRAGMENT_PROGRAM_ARB",SWIG_From_int(static_cast< int >(0x8804))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_FORMAT_ASCII_ARB",SWIG_From_int(static_cast< int >(0x8875))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_LENGTH_ARB",SWIG_From_int(static_cast< int >(0x8627))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_FORMAT_ARB",SWIG_From_int(static_cast< int >(0x8876))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_BINDING_ARB",SWIG_From_int(static_cast< int >(0x8677))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A0))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A1))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A2))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x88A3))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A4))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A5))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A6))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB",SWIG_From_int(static_cast< int >(0x88A7))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88A8))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88A9))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88AA))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88AB))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AC))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AD))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AE))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x88AF))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88B4))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB",SWIG_From_int(static_cast< int >(0x88B5))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB",SWIG_From_int(static_cast< int >(0x88B6))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8805))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8806))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x8807))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8808))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x8809))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x880A))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880B))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880C))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x880D))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880E))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB",SWIG_From_int(static_cast< int >(0x880F))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB",SWIG_From_int(static_cast< int >(0x8810))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_STRING_ARB",SWIG_From_int(static_cast< int >(0x8628))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ERROR_POSITION_ARB",SWIG_From_int(static_cast< int >(0x864B))); - SWIG_Python_SetConstant(d, "GL_CURRENT_MATRIX_ARB",SWIG_From_int(static_cast< int >(0x8641))); - SWIG_Python_SetConstant(d, "GL_TRANSPOSE_CURRENT_MATRIX_ARB",SWIG_From_int(static_cast< int >(0x88B7))); - SWIG_Python_SetConstant(d, "GL_CURRENT_MATRIX_STACK_DEPTH_ARB",SWIG_From_int(static_cast< int >(0x8640))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_MATRICES_ARB",SWIG_From_int(static_cast< int >(0x862F))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB",SWIG_From_int(static_cast< int >(0x862E))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_COORDS_ARB",SWIG_From_int(static_cast< int >(0x8871))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB",SWIG_From_int(static_cast< int >(0x8872))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ERROR_STRING_ARB",SWIG_From_int(static_cast< int >(0x8874))); - SWIG_Python_SetConstant(d, "GL_MATRIX0_ARB",SWIG_From_int(static_cast< int >(0x88C0))); - SWIG_Python_SetConstant(d, "GL_MATRIX1_ARB",SWIG_From_int(static_cast< int >(0x88C1))); - SWIG_Python_SetConstant(d, "GL_MATRIX2_ARB",SWIG_From_int(static_cast< int >(0x88C2))); - SWIG_Python_SetConstant(d, "GL_MATRIX3_ARB",SWIG_From_int(static_cast< int >(0x88C3))); - SWIG_Python_SetConstant(d, "GL_MATRIX4_ARB",SWIG_From_int(static_cast< int >(0x88C4))); - SWIG_Python_SetConstant(d, "GL_MATRIX5_ARB",SWIG_From_int(static_cast< int >(0x88C5))); - SWIG_Python_SetConstant(d, "GL_MATRIX6_ARB",SWIG_From_int(static_cast< int >(0x88C6))); - SWIG_Python_SetConstant(d, "GL_MATRIX7_ARB",SWIG_From_int(static_cast< int >(0x88C7))); - SWIG_Python_SetConstant(d, "GL_MATRIX8_ARB",SWIG_From_int(static_cast< int >(0x88C8))); - SWIG_Python_SetConstant(d, "GL_MATRIX9_ARB",SWIG_From_int(static_cast< int >(0x88C9))); - SWIG_Python_SetConstant(d, "GL_MATRIX10_ARB",SWIG_From_int(static_cast< int >(0x88CA))); - SWIG_Python_SetConstant(d, "GL_MATRIX11_ARB",SWIG_From_int(static_cast< int >(0x88CB))); - SWIG_Python_SetConstant(d, "GL_MATRIX12_ARB",SWIG_From_int(static_cast< int >(0x88CC))); - SWIG_Python_SetConstant(d, "GL_MATRIX13_ARB",SWIG_From_int(static_cast< int >(0x88CD))); - SWIG_Python_SetConstant(d, "GL_MATRIX14_ARB",SWIG_From_int(static_cast< int >(0x88CE))); - SWIG_Python_SetConstant(d, "GL_MATRIX15_ARB",SWIG_From_int(static_cast< int >(0x88CF))); - SWIG_Python_SetConstant(d, "GL_MATRIX16_ARB",SWIG_From_int(static_cast< int >(0x88D0))); - SWIG_Python_SetConstant(d, "GL_MATRIX17_ARB",SWIG_From_int(static_cast< int >(0x88D1))); - SWIG_Python_SetConstant(d, "GL_MATRIX18_ARB",SWIG_From_int(static_cast< int >(0x88D2))); - SWIG_Python_SetConstant(d, "GL_MATRIX19_ARB",SWIG_From_int(static_cast< int >(0x88D3))); - SWIG_Python_SetConstant(d, "GL_MATRIX20_ARB",SWIG_From_int(static_cast< int >(0x88D4))); - SWIG_Python_SetConstant(d, "GL_MATRIX21_ARB",SWIG_From_int(static_cast< int >(0x88D5))); - SWIG_Python_SetConstant(d, "GL_MATRIX22_ARB",SWIG_From_int(static_cast< int >(0x88D6))); - SWIG_Python_SetConstant(d, "GL_MATRIX23_ARB",SWIG_From_int(static_cast< int >(0x88D7))); - SWIG_Python_SetConstant(d, "GL_MATRIX24_ARB",SWIG_From_int(static_cast< int >(0x88D8))); - SWIG_Python_SetConstant(d, "GL_MATRIX25_ARB",SWIG_From_int(static_cast< int >(0x88D9))); - SWIG_Python_SetConstant(d, "GL_MATRIX26_ARB",SWIG_From_int(static_cast< int >(0x88DA))); - SWIG_Python_SetConstant(d, "GL_MATRIX27_ARB",SWIG_From_int(static_cast< int >(0x88DB))); - SWIG_Python_SetConstant(d, "GL_MATRIX28_ARB",SWIG_From_int(static_cast< int >(0x88DC))); - SWIG_Python_SetConstant(d, "GL_MATRIX29_ARB",SWIG_From_int(static_cast< int >(0x88DD))); - SWIG_Python_SetConstant(d, "GL_MATRIX30_ARB",SWIG_From_int(static_cast< int >(0x88DE))); - SWIG_Python_SetConstant(d, "GL_MATRIX31_ARB",SWIG_From_int(static_cast< int >(0x88DF))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_ARB",SWIG_From_int(static_cast< int >(0x8620))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_POINT_SIZE_ARB",SWIG_From_int(static_cast< int >(0x8642))); - SWIG_Python_SetConstant(d, "GL_VERTEX_PROGRAM_TWO_SIDE_ARB",SWIG_From_int(static_cast< int >(0x8643))); - SWIG_Python_SetConstant(d, "GL_COLOR_SUM_ARB",SWIG_From_int(static_cast< int >(0x8458))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB",SWIG_From_int(static_cast< int >(0x8622))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB",SWIG_From_int(static_cast< int >(0x8623))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB",SWIG_From_int(static_cast< int >(0x8624))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB",SWIG_From_int(static_cast< int >(0x8625))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB",SWIG_From_int(static_cast< int >(0x886A))); - SWIG_Python_SetConstant(d, "GL_CURRENT_VERTEX_ATTRIB_ARB",SWIG_From_int(static_cast< int >(0x8626))); - SWIG_Python_SetConstant(d, "GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB",SWIG_From_int(static_cast< int >(0x8645))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B0))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B1))); - SWIG_Python_SetConstant(d, "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B2))); - SWIG_Python_SetConstant(d, "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB",SWIG_From_int(static_cast< int >(0x88B3))); - SWIG_Python_SetConstant(d, "GL_MAX_VERTEX_ATTRIBS_ARB",SWIG_From_int(static_cast< int >(0x8869))); - SWIG_Python_SetConstant(d, "GL_VERTEX_SHADER_ARB",SWIG_From_int(static_cast< int >(0x8B31))); - SWIG_Python_SetConstant(d, "GL_FRAGMENT_SHADER_ARB",SWIG_From_int(static_cast< int >(0x8B30))); - SWIG_Python_SetConstant(d, "GL_OBJECT_ACTIVE_UNIFORMS_ARB",SWIG_From_int(static_cast< int >(0x8B86))); - SWIG_Python_SetConstant(d, "GL_INT_VEC2_ARB",SWIG_From_int(static_cast< int >(0x8B53))); - SWIG_Python_SetConstant(d, "GL_INT_VEC3_ARB",SWIG_From_int(static_cast< int >(0x8B54))); - SWIG_Python_SetConstant(d, "GL_INT_VEC4_ARB",SWIG_From_int(static_cast< int >(0x8B55))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC2_ARB",SWIG_From_int(static_cast< int >(0x8B50))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC3_ARB",SWIG_From_int(static_cast< int >(0x8B51))); - SWIG_Python_SetConstant(d, "GL_FLOAT_VEC4_ARB",SWIG_From_int(static_cast< int >(0x8B52))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT2_ARB",SWIG_From_int(static_cast< int >(0x8B5A))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT3_ARB",SWIG_From_int(static_cast< int >(0x8B5B))); - SWIG_Python_SetConstant(d, "GL_FLOAT_MAT4_ARB",SWIG_From_int(static_cast< int >(0x8B5C))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_1D_ARB",SWIG_From_int(static_cast< int >(0x8B5D))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_ARB",SWIG_From_int(static_cast< int >(0x8B5E))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_3D_ARB",SWIG_From_int(static_cast< int >(0x8B5F))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_CUBE_ARB",SWIG_From_int(static_cast< int >(0x8B60))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_1D_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B61))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B62))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_RECT_ARB",SWIG_From_int(static_cast< int >(0x8B63))); - SWIG_Python_SetConstant(d, "GL_SAMPLER_2D_RECT_SHADOW_ARB",SWIG_From_int(static_cast< int >(0x8B64))); - SWIG_Python_SetConstant(d, "GL_OBJECT_COMPILE_STATUS_ARB",SWIG_From_int(static_cast< int >(0x8B81))); - SWIG_Python_SetConstant(d, "GL_OBJECT_INFO_LOG_LENGTH_ARB",SWIG_From_int(static_cast< int >(0x8B84))); - SWIG_Python_SetConstant(d, "GL_OBJECT_LINK_STATUS_ARB",SWIG_From_int(static_cast< int >(0x8B82))); - SWIG_Python_SetConstant(d, "GL_TEXTURE_MAX_ANISOTROPY_EXT",SWIG_From_int(static_cast< int >(0x84FE))); - SWIG_Python_SetConstant(d, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT",SWIG_From_int(static_cast< int >(0x84FF))); - SWIG_Python_SetConstant(d, "GL_SAMPLES_PASSED",SWIG_From_int(static_cast< int >(0x8914))); - SWIG_Python_SetConstant(d, "GL_QUERY_COUNTER_BITS",SWIG_From_int(static_cast< int >(0x8864))); - SWIG_Python_SetConstant(d, "GL_CURRENT_QUERY",SWIG_From_int(static_cast< int >(0x8865))); - SWIG_Python_SetConstant(d, "GL_QUERY_RESULT",SWIG_From_int(static_cast< int >(0x8866))); - SWIG_Python_SetConstant(d, "GL_QUERY_RESULT_AVAILABLE",SWIG_From_int(static_cast< int >(0x8867))); - SWIG_Python_SetConstant(d, "GL_CLIENT_PIXEL_STORE_BIT",SWIG_From_int(static_cast< int >(0x00000001))); - SWIG_Python_SetConstant(d, "GL_CLIENT_VERTEX_ARRAY_BIT",SWIG_From_int(static_cast< int >(0x00000002))); - SWIG_Python_SetConstant(d, "GL_CLIENT_ALL_ATTRIB_BITS",SWIG_From_int(static_cast< int >(0xFFFFFFFF))); - SWIG_Python_SetConstant(d, "GL_ALL_CLIENT_ATTRIB_BITS",SWIG_From_int(static_cast< int >(0xFFFFFFFF))); - SWIG_Python_SetConstant(d, "GL_INVALID_FRAMEBUFFER_OPERATION_EXT",SWIG_From_int(static_cast< int >(0x0506))); - SWIG_Python_SetConstant(d, "GL_MAX_RENDERBUFFER_SIZE_EXT",SWIG_From_int(static_cast< int >(0x84E8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_BINDING_EXT",SWIG_From_int(static_cast< int >(0x8CA6))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BINDING_EXT",SWIG_From_int(static_cast< int >(0x8CA7))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT",SWIG_From_int(static_cast< int >(0x8CD0))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT",SWIG_From_int(static_cast< int >(0x8CD1))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT",SWIG_From_int(static_cast< int >(0x8CD2))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT",SWIG_From_int(static_cast< int >(0x8CD3))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT",SWIG_From_int(static_cast< int >(0x8CD4))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_COMPLETE_EXT",SWIG_From_int(static_cast< int >(0x8CD5))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD6))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD7))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8CD8))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT",SWIG_From_int(static_cast< int >(0x8CD9))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT",SWIG_From_int(static_cast< int >(0x8CDA))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT",SWIG_From_int(static_cast< int >(0x8CDB))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT",SWIG_From_int(static_cast< int >(0x8CDC))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_UNSUPPORTED_EXT",SWIG_From_int(static_cast< int >(0x8CDD))); - SWIG_Python_SetConstant(d, "GL_MAX_COLOR_ATTACHMENTS_EXT",SWIG_From_int(static_cast< int >(0x8CDF))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT0_EXT",SWIG_From_int(static_cast< int >(0x8CE0))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT1_EXT",SWIG_From_int(static_cast< int >(0x8CE1))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT2_EXT",SWIG_From_int(static_cast< int >(0x8CE2))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT3_EXT",SWIG_From_int(static_cast< int >(0x8CE3))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT4_EXT",SWIG_From_int(static_cast< int >(0x8CE4))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT5_EXT",SWIG_From_int(static_cast< int >(0x8CE5))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT6_EXT",SWIG_From_int(static_cast< int >(0x8CE6))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT7_EXT",SWIG_From_int(static_cast< int >(0x8CE7))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT8_EXT",SWIG_From_int(static_cast< int >(0x8CE8))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT9_EXT",SWIG_From_int(static_cast< int >(0x8CE9))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT10_EXT",SWIG_From_int(static_cast< int >(0x8CEA))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT11_EXT",SWIG_From_int(static_cast< int >(0x8CEB))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT12_EXT",SWIG_From_int(static_cast< int >(0x8CEC))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT13_EXT",SWIG_From_int(static_cast< int >(0x8CED))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT14_EXT",SWIG_From_int(static_cast< int >(0x8CEE))); - SWIG_Python_SetConstant(d, "GL_COLOR_ATTACHMENT15_EXT",SWIG_From_int(static_cast< int >(0x8CEF))); - SWIG_Python_SetConstant(d, "GL_DEPTH_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8D00))); - SWIG_Python_SetConstant(d, "GL_STENCIL_ATTACHMENT_EXT",SWIG_From_int(static_cast< int >(0x8D20))); - SWIG_Python_SetConstant(d, "GL_FRAMEBUFFER_EXT",SWIG_From_int(static_cast< int >(0x8D40))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_EXT",SWIG_From_int(static_cast< int >(0x8D41))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_WIDTH_EXT",SWIG_From_int(static_cast< int >(0x8D42))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_HEIGHT_EXT",SWIG_From_int(static_cast< int >(0x8D43))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_INTERNAL_FORMAT_EXT",SWIG_From_int(static_cast< int >(0x8D44))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX1_EXT",SWIG_From_int(static_cast< int >(0x8D46))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX4_EXT",SWIG_From_int(static_cast< int >(0x8D47))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX8_EXT",SWIG_From_int(static_cast< int >(0x8D48))); - SWIG_Python_SetConstant(d, "GL_STENCIL_INDEX16_EXT",SWIG_From_int(static_cast< int >(0x8D49))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_RED_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D50))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_GREEN_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D51))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_BLUE_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D52))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_ALPHA_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D53))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_DEPTH_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D54))); - SWIG_Python_SetConstant(d, "GL_RENDERBUFFER_STENCIL_SIZE_EXT",SWIG_From_int(static_cast< int >(0x8D55))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_WIDTH",SWIG_From_int(static_cast< int >(0x8041))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_HEIGHT",SWIG_From_int(static_cast< int >(0x8040))); - SWIG_Python_SetConstant(d, "GLX_DRAWABLE_TYPE",SWIG_From_int(static_cast< int >(0x8010))); - SWIG_Python_SetConstant(d, "GLX_RENDER_TYPE",SWIG_From_int(static_cast< int >(0x8011))); - SWIG_Python_SetConstant(d, "GLX_RGBA_TYPE",SWIG_From_int(static_cast< int >(0x8014))); - SWIG_Python_SetConstant(d, "GLX_RGBA_BIT",SWIG_From_int(static_cast< int >(0x00000001))); - SWIG_Python_SetConstant(d, "GLX_PBUFFER_BIT",SWIG_From_int(static_cast< int >(0x00000004))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_WIDTH",SWIG_From_int(static_cast< int >(0x8016))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_HEIGHT",SWIG_From_int(static_cast< int >(0x8017))); - SWIG_Python_SetConstant(d, "GLX_MAX_PBUFFER_PIXELS",SWIG_From_int(static_cast< int >(0x8018))); - SWIG_Python_SetConstant(d, "GLU_VERSION",SWIG_From_int(static_cast< int >(100800))); - SWIG_Python_SetConstant(d, "GLU_EXTENSIONS",SWIG_From_int(static_cast< int >(100801))); - SWIG_Python_SetConstant(d, "GLU_OUTLINE_POLYGON",SWIG_From_int(static_cast< int >(100240))); - SWIG_Python_SetConstant(d, "GLU_OUTLINE_PATCH",SWIG_From_int(static_cast< int >(100241))); - SWIG_Python_SetConstant(d, "GLU_NURBS_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_NURBS_BEGIN",SWIG_From_int(static_cast< int >(100164))); - SWIG_Python_SetConstant(d, "GLU_NURBS_VERTEX",SWIG_From_int(static_cast< int >(100165))); - SWIG_Python_SetConstant(d, "GLU_NURBS_NORMAL",SWIG_From_int(static_cast< int >(100166))); - SWIG_Python_SetConstant(d, "GLU_NURBS_COLOR",SWIG_From_int(static_cast< int >(100167))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TEXTURE_COORD",SWIG_From_int(static_cast< int >(100168))); - SWIG_Python_SetConstant(d, "GLU_NURBS_END",SWIG_From_int(static_cast< int >(100169))); - SWIG_Python_SetConstant(d, "GLU_NURBS_BEGIN_DATA",SWIG_From_int(static_cast< int >(100170))); - SWIG_Python_SetConstant(d, "GLU_NURBS_VERTEX_DATA",SWIG_From_int(static_cast< int >(100171))); - SWIG_Python_SetConstant(d, "GLU_NURBS_NORMAL_DATA",SWIG_From_int(static_cast< int >(100172))); - SWIG_Python_SetConstant(d, "GLU_NURBS_COLOR_DATA",SWIG_From_int(static_cast< int >(100173))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TEXTURE_COORD_DATA",SWIG_From_int(static_cast< int >(100174))); - SWIG_Python_SetConstant(d, "GLU_NURBS_END_DATA",SWIG_From_int(static_cast< int >(100175))); - SWIG_Python_SetConstant(d, "GLU_AUTO_LOAD_MATRIX",SWIG_From_int(static_cast< int >(100200))); - SWIG_Python_SetConstant(d, "GLU_CULLING",SWIG_From_int(static_cast< int >(100201))); - SWIG_Python_SetConstant(d, "GLU_SAMPLING_TOLERANCE",SWIG_From_int(static_cast< int >(100203))); - SWIG_Python_SetConstant(d, "GLU_DISPLAY_MODE",SWIG_From_int(static_cast< int >(100204))); - SWIG_Python_SetConstant(d, "GLU_PARAMETRIC_TOLERANCE",SWIG_From_int(static_cast< int >(100202))); - SWIG_Python_SetConstant(d, "GLU_SAMPLING_METHOD",SWIG_From_int(static_cast< int >(100205))); - SWIG_Python_SetConstant(d, "GLU_U_STEP",SWIG_From_int(static_cast< int >(100206))); - SWIG_Python_SetConstant(d, "GLU_V_STEP",SWIG_From_int(static_cast< int >(100207))); - SWIG_Python_SetConstant(d, "GLU_NURBS_MODE",SWIG_From_int(static_cast< int >(100160))); - SWIG_Python_SetConstant(d, "GLU_NURBS_TESSELLATOR",SWIG_From_int(static_cast< int >(100161))); - SWIG_Python_SetConstant(d, "GLU_NURBS_RENDERER",SWIG_From_int(static_cast< int >(100162))); - SWIG_Python_SetConstant(d, "GLU_OBJECT_PARAMETRIC_ERROR",SWIG_From_int(static_cast< int >(100208))); - SWIG_Python_SetConstant(d, "GLU_OBJECT_PATH_LENGTH",SWIG_From_int(static_cast< int >(100209))); - SWIG_Python_SetConstant(d, "GLU_PATH_LENGTH",SWIG_From_int(static_cast< int >(100215))); - SWIG_Python_SetConstant(d, "GLU_PARAMETRIC_ERROR",SWIG_From_int(static_cast< int >(100216))); - SWIG_Python_SetConstant(d, "GLU_DOMAIN_DISTANCE",SWIG_From_int(static_cast< int >(100217))); - SWIG_Python_SetConstant(d, "GLU_MAP1_TRIM_2",SWIG_From_int(static_cast< int >(100210))); - SWIG_Python_SetConstant(d, "GLU_MAP1_TRIM_3",SWIG_From_int(static_cast< int >(100211))); - SWIG_Python_SetConstant(d, "GLU_POINT",SWIG_From_int(static_cast< int >(100010))); - SWIG_Python_SetConstant(d, "GLU_LINE",SWIG_From_int(static_cast< int >(100011))); - SWIG_Python_SetConstant(d, "GLU_FILL",SWIG_From_int(static_cast< int >(100012))); - SWIG_Python_SetConstant(d, "GLU_SILHOUETTE",SWIG_From_int(static_cast< int >(10001))); - SWIG_Python_SetConstant(d, "GLU_TESS_BEGIN",SWIG_From_int(static_cast< int >(100100))); - SWIG_Python_SetConstant(d, "GLU_TESS_VERTEX",SWIG_From_int(static_cast< int >(100101))); - SWIG_Python_SetConstant(d, "GLU_TESS_END",SWIG_From_int(static_cast< int >(100102))); - SWIG_Python_SetConstant(d, "GLU_TESS_ERROR",SWIG_From_int(static_cast< int >(100103))); - SWIG_Python_SetConstant(d, "GLU_TESS_COMBINE",SWIG_From_int(static_cast< int >(100105))); - SWIG_Python_SetConstant(d, "GLU_TESS_BEGIN_DATA",SWIG_From_int(static_cast< int >(100106))); - SWIG_Python_SetConstant(d, "GLU_TESS_VERTEX_DATA",SWIG_From_int(static_cast< int >(100107))); - SWIG_Python_SetConstant(d, "GLU_TESS_END_DATA",SWIG_From_int(static_cast< int >(100108))); - SWIG_Python_SetConstant(d, "GLU_TESS_ERROR_DATA",SWIG_From_int(static_cast< int >(100109))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_BEGIN_POLYGON",SWIG_From_int(static_cast< int >(100151))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_BEGIN_CONTOUR",SWIG_From_int(static_cast< int >(100152))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_END_POLYGON",SWIG_From_int(static_cast< int >(100153))); - SWIG_Python_SetConstant(d, "GLU_TESS_MISSING_END_CONTOUR",SWIG_From_int(static_cast< int >(100154))); - SWIG_Python_SetConstant(d, "GLU_TESS_NEED_COMBINE_CALLBACK",SWIG_From_int(static_cast< int >(100156))); - SWIG_Python_SetConstant(d, "WGL_COLOR_BITS_ARB",SWIG_From_int(static_cast< int >(0x2014))); - SWIG_Python_SetConstant(d, "WGL_ALPHA_BITS_ARB",SWIG_From_int(static_cast< int >(0x201B))); - SWIG_Python_SetConstant(d, "WGL_DEPTH_BITS_ARB",SWIG_From_int(static_cast< int >(0x2022))); - SWIG_Python_SetConstant(d, "WGL_STENCIL_BITS_ARB",SWIG_From_int(static_cast< int >(0x2023))); - SWIG_Python_SetConstant(d, "WGL_DRAW_TO_PBUFFER_ARB",SWIG_From_int(static_cast< int >(0x202D))); - SWIG_Python_SetConstant(d, "WGL_PBUFFER_WIDTH_ARB",SWIG_From_int(static_cast< int >(0x2034))); - SWIG_Python_SetConstant(d, "WGL_PBUFFER_HEIGHT_ARB",SWIG_From_int(static_cast< int >(0x2035))); - SWIG_Python_SetConstant(d, "WGL_BIND_TO_TEXTURE_RGB_ARB",SWIG_From_int(static_cast< int >(0x2070))); - SWIG_Python_SetConstant(d, "WGL_BIND_TO_TEXTURE_RGBA_ARB",SWIG_From_int(static_cast< int >(0x2071))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_FORMAT_ARB",SWIG_From_int(static_cast< int >(0x2072))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_TARGET_ARB",SWIG_From_int(static_cast< int >(0x2073))); - SWIG_Python_SetConstant(d, "WGL_MIPMAP_TEXTURE_ARB",SWIG_From_int(static_cast< int >(0x2074))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_RGB_ARB",SWIG_From_int(static_cast< int >(0x2075))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_RGBA_ARB",SWIG_From_int(static_cast< int >(0x2076))); - SWIG_Python_SetConstant(d, "WGL_NO_TEXTURE_ARB",SWIG_From_int(static_cast< int >(0x2077))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_CUBE_MAP_ARB",SWIG_From_int(static_cast< int >(0x2078))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_1D_ARB",SWIG_From_int(static_cast< int >(0x2079))); - SWIG_Python_SetConstant(d, "WGL_TEXTURE_2D_ARB",SWIG_From_int(static_cast< int >(0x207A))); - SWIG_Python_SetConstant(d, "WGL_MIPMAP_LEVEL_ARB",SWIG_From_int(static_cast< int >(0x207B))); - SWIG_Python_SetConstant(d, "WGL_FRONT_LEFT_ARB",SWIG_From_int(static_cast< int >(0x2083))); - SWIG_Python_SetConstant(d, "WGL_FRONT_RIGHT_ARB",SWIG_From_int(static_cast< int >(0x2084))); - SWIG_Python_SetConstant(d, "WGL_BACK_LEFT_ARB",SWIG_From_int(static_cast< int >(0x2085))); - SWIG_Python_SetConstant(d, "WGL_BACK_RIGHT_ARB",SWIG_From_int(static_cast< int >(0x2086))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_PIXELS_ARB",SWIG_From_int(static_cast< int >(0x202E))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_WIDTH_ARB",SWIG_From_int(static_cast< int >(0x202F))); - SWIG_Python_SetConstant(d, "WGL_MAX_PBUFFER_HEIGHT_ARB",SWIG_From_int(static_cast< int >(0x2030))); - SWIG_Python_SetConstant(d, "SbRWMutex_READ_PRECEDENCE",SWIG_From_int(static_cast< int >(SbRWMutex::READ_PRECEDENCE))); - SWIG_Python_SetConstant(d, "SbRWMutex_WRITE_PRECEDENCE",SWIG_From_int(static_cast< int >(SbRWMutex::WRITE_PRECEDENCE))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_OFF",SWIG_From_int(static_cast< int >(SoVRMLGroup::OFF))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_ON",SWIG_From_int(static_cast< int >(SoVRMLGroup::ON))); - SWIG_Python_SetConstant(d, "SoVRMLGroup_AUTO",SWIG_From_int(static_cast< int >(SoVRMLGroup::AUTO))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_SERIF",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::SERIF))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_SANS",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::SANS))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_TYPEWRITER",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::TYPEWRITER))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_PLAIN",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::PLAIN))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_BOLD",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::BOLD))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_ITALIC",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::ITALIC))); - SWIG_Python_SetConstant(d, "SoVRMLFontStyle_BOLDITALIC",SWIG_From_int(static_cast< int >(SoVRMLFontStyle::BOLDITALIC))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_OVERALL",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::OVERALL))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_PART",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_PART))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_PART_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_PART_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_FACE",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_FACE))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_FACE_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_FACE_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_VERTEX",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_VERTEX))); - SWIG_Python_SetConstant(d, "SoVRMLVertexShape_PER_VERTEX_INDEXED",SWIG_From_int(static_cast< int >(SoVRMLVertexShape::PER_VERTEX_INDEXED))); - SWIG_Python_SetConstant(d, "SoVRMLInline_NEVER",SWIG_From_int(static_cast< int >(SoVRMLInline::NEVER))); - SWIG_Python_SetConstant(d, "SoVRMLInline_UNTIL_LOADED",SWIG_From_int(static_cast< int >(SoVRMLInline::UNTIL_LOADED))); - SWIG_Python_SetConstant(d, "SoVRMLInline_ALWAYS",SWIG_From_int(static_cast< int >(SoVRMLInline::ALWAYS))); - SWIG_Python_SetConstant(d, "SoVRMLShape_OFF",SWIG_From_int(static_cast< int >(SoVRMLShape::OFF))); - SWIG_Python_SetConstant(d, "SoVRMLShape_ON",SWIG_From_int(static_cast< int >(SoVRMLShape::ON))); - SWIG_Python_SetConstant(d, "SoVRMLShape_AUTO",SWIG_From_int(static_cast< int >(SoVRMLShape::AUTO))); - SWIG_Python_SetConstant(d, "SoVRMLText_BEGIN",SWIG_From_int(static_cast< int >(SoVRMLText::BEGIN))); - SWIG_Python_SetConstant(d, "SoVRMLText_END",SWIG_From_int(static_cast< int >(SoVRMLText::END))); - SWIG_Python_SetConstant(d, "SoVRMLText_MIDDLE",SWIG_From_int(static_cast< int >(SoVRMLText::MIDDLE))); -} - diff --git a/src/3rdParty/Pivy/gui/__init__.py b/src/3rdParty/Pivy/gui/__init__.py deleted file mode 100644 index 7995d271e2..0000000000 --- a/src/3rdParty/Pivy/gui/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -### -# Copyright (C) 2002-2005, Tamer Fahmy -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of the copyright holder nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# diff --git a/src/3rdParty/Pivy/gui/soqt.py b/src/3rdParty/Pivy/gui/soqt.py deleted file mode 100644 index 0a345a86f4..0000000000 --- a/src/3rdParty/Pivy/gui/soqt.py +++ /dev/null @@ -1,2581 +0,0 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.33 -# -# Don't modify this file, modify the SWIG interface instead. - -""" -The soqt module is a wrapper for the SoQt library. The module will try -to import the sip module which is used for PyQt. If found the involved -wrapped Qt structures are converted to ones suitable for PyQt, -otherwise it will fall back to regular SWIG structures. -""" - -import _soqt -import new -new_instancemethod = new.instancemethod -try: - _swig_property = property -except NameError: - pass # Python < 2.2 doesn't have 'property'. -def _swig_setattr_nondynamic(self,class_type,name,value,static=1): - if (name == "thisown"): return self.this.own(value) - if (name == "this"): - if type(value).__name__ == 'PySwigObject': - self.__dict__[name] = value - return - method = class_type.__swig_setmethods__.get(name,None) - if method: return method(self,value) - if (not static) or hasattr(self,name): - self.__dict__[name] = value - else: - raise AttributeError("You cannot add attributes to %s" % self) - -def _swig_setattr(self,class_type,name,value): - return _swig_setattr_nondynamic(self,class_type,name,value,0) - -def _swig_getattr(self,class_type,name): - if (name == "thisown"): return self.this.own() - method = class_type.__swig_getmethods__.get(name,None) - if method: return method(self) - raise AttributeError,name - -def _swig_repr(self): - try: strthis = "proxy of " + self.this.__repr__() - except: strthis = "" - return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) - -import types -try: - _object = types.ObjectType - _newclass = 1 -except AttributeError: - class _object : pass - _newclass = 0 -del types - - -def _swig_setattr_nondynamic_method(set): - def set_attr(self,name,value): - if (name == "thisown"): return self.this.own(value) - if hasattr(self,name) or (name == "this"): - set(self,name,value) - else: - raise AttributeError("You cannot add attributes to %s" % self) - return set_attr - - -class charp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_charp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_charp - __del__ = lambda self : None; - def assign(*args): return _soqt.charp_assign(*args) - def value(*args): return _soqt.charp_value(*args) - def cast(*args): return _soqt.charp_cast(*args) - frompointer = staticmethod(_soqt.charp_frompointer) -charp_swigregister = _soqt.charp_swigregister -charp_swigregister(charp) -cast = _soqt.cast -charp_frompointer = _soqt.charp_frompointer - -class intp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_intp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_intp - __del__ = lambda self : None; - def assign(*args): return _soqt.intp_assign(*args) - def value(*args): return _soqt.intp_value(*args) - def cast(*args): return _soqt.intp_cast(*args) - frompointer = staticmethod(_soqt.intp_frompointer) -intp_swigregister = _soqt.intp_swigregister -intp_swigregister(intp) -intp_frompointer = _soqt.intp_frompointer - -class longp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_longp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_longp - __del__ = lambda self : None; - def assign(*args): return _soqt.longp_assign(*args) - def value(*args): return _soqt.longp_value(*args) - def cast(*args): return _soqt.longp_cast(*args) - frompointer = staticmethod(_soqt.longp_frompointer) -longp_swigregister = _soqt.longp_swigregister -longp_swigregister(longp) -longp_frompointer = _soqt.longp_frompointer - -class floatp(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_floatp(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_floatp - __del__ = lambda self : None; - def assign(*args): return _soqt.floatp_assign(*args) - def value(*args): return _soqt.floatp_value(*args) - def cast(*args): return _soqt.floatp_cast(*args) - frompointer = staticmethod(_soqt.floatp_frompointer) -floatp_swigregister = _soqt.floatp_swigregister -floatp_swigregister(floatp) -floatp_frompointer = _soqt.floatp_frompointer - -class doublep(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_doublep(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_doublep - __del__ = lambda self : None; - def assign(*args): return _soqt.doublep_assign(*args) - def value(*args): return _soqt.doublep_value(*args) - def cast(*args): return _soqt.doublep_cast(*args) - frompointer = staticmethod(_soqt.doublep_frompointer) -doublep_swigregister = _soqt.doublep_swigregister -doublep_swigregister(doublep) -doublep_frompointer = _soqt.doublep_frompointer - -FALSE = _soqt.FALSE -TRUE = _soqt.TRUE -HAVE_SYS_TYPES_H = _soqt.HAVE_SYS_TYPES_H -HAVE_STDDEF_H = _soqt.HAVE_STDDEF_H -HAVE_INT8_T = _soqt.HAVE_INT8_T -HAVE_UINT8_T = _soqt.HAVE_UINT8_T -HAVE_INT16_T = _soqt.HAVE_INT16_T -HAVE_UINT16_T = _soqt.HAVE_UINT16_T -HAVE_INT32_T = _soqt.HAVE_INT32_T -HAVE_UINT32_T = _soqt.HAVE_UINT32_T -HAVE_INT64_T = _soqt.HAVE_INT64_T -HAVE_UINT64_T = _soqt.HAVE_UINT64_T -HAVE_INTPTR_T = _soqt.HAVE_INTPTR_T -HAVE_UINTPTR_T = _soqt.HAVE_UINTPTR_T -M_E = _soqt.M_E -M_LOG2E = _soqt.M_LOG2E -M_LOG10E = _soqt.M_LOG10E -M_LN2 = _soqt.M_LN2 -M_LN10 = _soqt.M_LN10 -M_PI = _soqt.M_PI -M_TWOPI = _soqt.M_TWOPI -M_PI_2 = _soqt.M_PI_2 -M_PI_4 = _soqt.M_PI_4 -M_3PI_4 = _soqt.M_3PI_4 -M_SQRTPI = _soqt.M_SQRTPI -M_1_PI = _soqt.M_1_PI -M_2_PI = _soqt.M_2_PI -M_2_SQRTPI = _soqt.M_2_SQRTPI -M_SQRT2 = _soqt.M_SQRT2 -M_SQRT1_2 = _soqt.M_SQRT1_2 -M_LN2LO = _soqt.M_LN2LO -M_LN2HI = _soqt.M_LN2HI -M_SQRT3 = _soqt.M_SQRT3 -M_IVLN10 = _soqt.M_IVLN10 -M_LOG2_E = _soqt.M_LOG2_E -M_INVLN2 = _soqt.M_INVLN2 -COIN_MAJOR_VERSION = _soqt.COIN_MAJOR_VERSION -COIN_MINOR_VERSION = _soqt.COIN_MINOR_VERSION -COIN_MICRO_VERSION = _soqt.COIN_MICRO_VERSION -COIN_VERSION = _soqt.COIN_VERSION -HAVE_HASH_QUOTING = _soqt.HAVE_HASH_QUOTING -SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SUN_CC_4_0_SOTYPE_INIT_BUG -class SbDict(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbDict(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbDict - __del__ = lambda self : None; - def applyToAll(*args): return _soqt.SbDict_applyToAll(*args) - def clear(*args): return _soqt.SbDict_clear(*args) - def enter(*args): return _soqt.SbDict_enter(*args) - def find(*args): return _soqt.SbDict_find(*args) - def makePList(*args): return _soqt.SbDict_makePList(*args) - def remove(*args): return _soqt.SbDict_remove(*args) - def setHashingFunction(*args): return _soqt.SbDict_setHashingFunction(*args) -SbDict_swigregister = _soqt.SbDict_swigregister -SbDict_swigregister(SbDict) - -class SoType(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - fromName = staticmethod(_soqt.SoType_fromName) - def getName(*args): return _soqt.SoType_getName(*args) - def getParent(*args): return _soqt.SoType_getParent(*args) - def isDerivedFrom(*args): return _soqt.SoType_isDerivedFrom(*args) - getAllDerivedFrom = staticmethod(_soqt.SoType_getAllDerivedFrom) - def canCreateInstance(*args): return _soqt.SoType_canCreateInstance(*args) - def getData(*args): return _soqt.SoType_getData(*args) - def getKey(*args): return _soqt.SoType_getKey(*args) - def __eq__(*args): return _soqt.SoType___eq__(*args) - def __ne__(*args): return _soqt.SoType___ne__(*args) - def __lt__(*args): return _soqt.SoType___lt__(*args) - def __le__(*args): return _soqt.SoType___le__(*args) - def __ge__(*args): return _soqt.SoType___ge__(*args) - def __gt__(*args): return _soqt.SoType___gt__(*args) - init = staticmethod(_soqt.SoType_init) - fromKey = staticmethod(_soqt.SoType_fromKey) - badType = staticmethod(_soqt.SoType_badType) - def isBad(*args): return _soqt.SoType_isBad(*args) - def makeInternal(*args): return _soqt.SoType_makeInternal(*args) - def isInternal(*args): return _soqt.SoType_isInternal(*args) - getNumTypes = staticmethod(_soqt.SoType_getNumTypes) - def getInstantiationMethod(*args): return _soqt.SoType_getInstantiationMethod(*args) - def createInstance(*args): return _soqt.SoType_createInstance(*args) - def __init__(self, *args): - """__init__(self) -> SoType""" - this = _soqt.new_SoType(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoType - __del__ = lambda self : None; -SoType_swigregister = _soqt.SoType_swigregister -SoType_swigregister(SoType) -SoType_fromName = _soqt.SoType_fromName -SoType_getAllDerivedFrom = _soqt.SoType_getAllDerivedFrom -SoType_init = _soqt.SoType_init -SoType_fromKey = _soqt.SoType_fromKey -SoType_badType = _soqt.SoType_badType -SoType_getNumTypes = _soqt.SoType_getNumTypes - -class SbVec2s(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbVec2s(*args) - try: self.this.append(this) - except: self.this = this - def dot(*args): return _soqt.SbVec2s_dot(*args) - def getValue(*args): return _soqt.SbVec2s_getValue(*args) - def negate(*args): return _soqt.SbVec2s_negate(*args) - def setValue(*args): return _soqt.SbVec2s_setValue(*args) - def __imul__(*args): return _soqt.SbVec2s___imul__(*args) - def __idiv__(*args): return _soqt.SbVec2s___idiv__(*args) - def __iadd__(*args): return _soqt.SbVec2s___iadd__(*args) - def __isub__(*args): return _soqt.SbVec2s___isub__(*args) - def __neg__(*args): return _soqt.SbVec2s___neg__(*args) - def output(*args): return _soqt.SbVec2s_output(*args) - def __add__(*args): return _soqt.SbVec2s___add__(*args) - def __sub__(*args): return _soqt.SbVec2s___sub__(*args) - def __mul__(*args): return _soqt.SbVec2s___mul__(*args) - def __rmul__(*args): return _soqt.SbVec2s___rmul__(*args) - def __div__(*args): return _soqt.SbVec2s___div__(*args) - def __eq__(*args): return _soqt.SbVec2s___eq__(*args) - def __nq__(*args): return _soqt.SbVec2s___nq__(*args) - def __getitem__(*args): return _soqt.SbVec2s___getitem__(*args) - def __setitem__(*args): return _soqt.SbVec2s___setitem__(*args) - def __iter__(self): - for i in range(2): - yield self[i] - - def __len__(self): - return 2 - - __swig_destroy__ = _soqt.delete_SbVec2s - __del__ = lambda self : None; -SbVec2s_swigregister = _soqt.SbVec2s_swigregister -SbVec2s_swigregister(SbVec2s) - -class SbPList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbPList(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbPList - __del__ = lambda self : None; - def copy(*args): return _soqt.SbPList_copy(*args) - def fit(*args): return _soqt.SbPList_fit(*args) - def append(*args): return _soqt.SbPList_append(*args) - def find(*args): return _soqt.SbPList_find(*args) - def insert(*args): return _soqt.SbPList_insert(*args) - def removeItem(*args): return _soqt.SbPList_removeItem(*args) - def remove(*args): return _soqt.SbPList_remove(*args) - def removeFast(*args): return _soqt.SbPList_removeFast(*args) - def getLength(*args): return _soqt.SbPList_getLength(*args) - def truncate(*args): return _soqt.SbPList_truncate(*args) - def getArrayPtr(*args): return _soqt.SbPList_getArrayPtr(*args) - def __eq__(*args): return _soqt.SbPList___eq__(*args) - def __ne__(*args): return _soqt.SbPList___ne__(*args) - def get(*args): return _soqt.SbPList_get(*args) - def set(*args): return _soqt.SbPList_set(*args) - def __getitem__(*args): return _soqt.SbPList___getitem__(*args) - def __setitem__(*args): return _soqt.SbPList___setitem__(*args) - def __iter__(self): - for i in range(self.getLength()): - yield self[i] - -SbPList_swigregister = _soqt.SbPList_swigregister -SbPList_swigregister(SbPList) - -class SbIntList(SbPList): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbIntList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SbIntList_append(*args) - def find(*args): return _soqt.SbIntList_find(*args) - def insert(*args): return _soqt.SbIntList_insert(*args) - def __setitem__(*args): return _soqt.SbIntList___setitem__(*args) - def __getitem__(*args): return _soqt.SbIntList___getitem__(*args) - def get(*args): return _soqt.SbIntList_get(*args) - __swig_destroy__ = _soqt.delete_SbIntList - __del__ = lambda self : None; -SbIntList_swigregister = _soqt.SbIntList_swigregister -SbIntList_swigregister(SbIntList) - -class SbString(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbString(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbString - __del__ = lambda self : None; - hash = staticmethod(_soqt.SbString_hash) - def getLength(*args): return _soqt.SbString_getLength(*args) - def makeEmpty(*args): return _soqt.SbString_makeEmpty(*args) - def getString(*args): return _soqt.SbString_getString(*args) - def getSubString(*args): return _soqt.SbString_getSubString(*args) - def deleteSubString(*args): return _soqt.SbString_deleteSubString(*args) - def addIntString(*args): return _soqt.SbString_addIntString(*args) - def __iadd__(*args): return _soqt.SbString___iadd__(*args) - def compareSubString(*args): return _soqt.SbString_compareSubString(*args) - def sprintf(*args): return _soqt.SbString_sprintf(*args) - def apply(*args): return _soqt.SbString_apply(*args) - def find(*args): return _soqt.SbString_find(*args) - def findAll(*args): return _soqt.SbString_findAll(*args) - def __eq__(*args): return _soqt.SbString___eq__(*args) - def __nq__(*args): return _soqt.SbString___nq__(*args) - def __getitem__(*args): return _soqt.SbString___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbString___repr__(*args) -SbString_swigregister = _soqt.SbString_swigregister -SbString_swigregister(SbString) -SbString_hash = _soqt.SbString_hash - -class SbName(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self, *args): - this = _soqt.new_SbName(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SbName - __del__ = lambda self : None; - def getString(*args): return _soqt.SbName_getString(*args) - def getLength(*args): return _soqt.SbName_getLength(*args) - isIdentStartChar = staticmethod(_soqt.SbName_isIdentStartChar) - isIdentChar = staticmethod(_soqt.SbName_isIdentChar) - isBaseNameStartChar = staticmethod(_soqt.SbName_isBaseNameStartChar) - isBaseNameChar = staticmethod(_soqt.SbName_isBaseNameChar) - def __eq__(*args): return _soqt.SbName___eq__(*args) - def __nq__(*args): return _soqt.SbName___nq__(*args) - def __getitem__(*args): return _soqt.SbName___getitem__(*args) - def __iter__(self): - return getString().__iter__() - - def __repr__(*args): return _soqt.SbName___repr__(*args) -SbName_swigregister = _soqt.SbName_swigregister -SbName_swigregister(SbName) -SbName_isIdentStartChar = _soqt.SbName_isIdentStartChar -SbName_isIdentChar = _soqt.SbName_isIdentChar -SbName_isBaseNameStartChar = _soqt.SbName_isBaseNameStartChar -SbName_isBaseNameChar = _soqt.SbName_isBaseNameChar - -class SbTime(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SbTime(*args) - try: self.this.append(this) - except: self.this = this - getTimeOfDay = staticmethod(_soqt.SbTime_getTimeOfDay) - def setToTimeOfDay(*args): return _soqt.SbTime_setToTimeOfDay(*args) - zero = staticmethod(_soqt.SbTime_zero) - max = staticmethod(_soqt.SbTime_max) - maxTime = staticmethod(_soqt.SbTime_maxTime) - def setValue(*args): return _soqt.SbTime_setValue(*args) - def setMsecValue(*args): return _soqt.SbTime_setMsecValue(*args) - def getValue(*args): return _soqt.SbTime_getValue(*args) - def getMsecValue(*args): return _soqt.SbTime_getMsecValue(*args) - def format(*args): return _soqt.SbTime_format(*args) - def formatDate(*args): return _soqt.SbTime_formatDate(*args) - def parsedate(*args): return _soqt.SbTime_parsedate(*args) - def __iadd__(*args): return _soqt.SbTime___iadd__(*args) - def __isub__(*args): return _soqt.SbTime___isub__(*args) - def __neg__(*args): return _soqt.SbTime___neg__(*args) - def __imul__(*args): return _soqt.SbTime___imul__(*args) - def __idiv__(*args): return _soqt.SbTime___idiv__(*args) - def __mod__(*args): return _soqt.SbTime___mod__(*args) - def __eq__(*args): return _soqt.SbTime___eq__(*args) - def __ne__(*args): return _soqt.SbTime___ne__(*args) - def __lt__(*args): return _soqt.SbTime___lt__(*args) - def __gt__(*args): return _soqt.SbTime___gt__(*args) - def __le__(*args): return _soqt.SbTime___le__(*args) - def __ge__(*args): return _soqt.SbTime___ge__(*args) - def output(*args): return _soqt.SbTime_output(*args) - def __add__(*args): return _soqt.SbTime___add__(*args) - def __sub__(*args): return _soqt.SbTime___sub__(*args) - def __mul__(*args): return _soqt.SbTime___mul__(*args) - def __rmul__(*args): return _soqt.SbTime___rmul__(*args) - def __div__(*args): return _soqt.SbTime___div__(*args) - __swig_destroy__ = _soqt.delete_SbTime - __del__ = lambda self : None; -SbTime_swigregister = _soqt.SbTime_swigregister -SbTime_swigregister(SbTime) -SbTime_getTimeOfDay = _soqt.SbTime_getTimeOfDay -SbTime_zero = _soqt.SbTime_zero -SbTime_max = _soqt.SbTime_max -SbTime_maxTime = _soqt.SbTime_maxTime - -class SoEvent(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoEvent(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoEvent - __del__ = lambda self : None; - def isOfType(*args): return _soqt.SoEvent_isOfType(*args) - getClassTypeId = staticmethod(_soqt.SoEvent_getClassTypeId) - def getTypeId(*args): return _soqt.SoEvent_getTypeId(*args) - def setTime(*args): return _soqt.SoEvent_setTime(*args) - def getTime(*args): return _soqt.SoEvent_getTime(*args) - def setPosition(*args): return _soqt.SoEvent_setPosition(*args) - def getPosition(*args): return _soqt.SoEvent_getPosition(*args) - def getNormalizedPosition(*args): return _soqt.SoEvent_getNormalizedPosition(*args) - def setShiftDown(*args): return _soqt.SoEvent_setShiftDown(*args) - def wasShiftDown(*args): return _soqt.SoEvent_wasShiftDown(*args) - def setCtrlDown(*args): return _soqt.SoEvent_setCtrlDown(*args) - def wasCtrlDown(*args): return _soqt.SoEvent_wasCtrlDown(*args) - def setAltDown(*args): return _soqt.SoEvent_setAltDown(*args) - def wasAltDown(*args): return _soqt.SoEvent_wasAltDown(*args) - initClass = staticmethod(_soqt.SoEvent_initClass) -SoEvent_swigregister = _soqt.SoEvent_swigregister -SoEvent_swigregister(SoEvent) -SoEvent_getClassTypeId = _soqt.SoEvent_getClassTypeId -SoEvent_initClass = _soqt.SoEvent_initClass - -class SoNotRec(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - CONTAINER = _soqt.SoNotRec_CONTAINER - PARENT = _soqt.SoNotRec_PARENT - SENSOR = _soqt.SoNotRec_SENSOR - FIELD = _soqt.SoNotRec_FIELD - ENGINE = _soqt.SoNotRec_ENGINE - def __init__(self, *args): - this = _soqt.new_SoNotRec(*args) - try: self.this.append(this) - except: self.this = this - def setType(*args): return _soqt.SoNotRec_setType(*args) - def getBase(*args): return _soqt.SoNotRec_getBase(*args) - def getType(*args): return _soqt.SoNotRec_getType(*args) - def getPrevious(*args): return _soqt.SoNotRec_getPrevious(*args) - def setPrevious(*args): return _soqt.SoNotRec_setPrevious(*args) - def output(*args): return _soqt.SoNotRec_output(*args) - __swig_destroy__ = _soqt.delete_SoNotRec - __del__ = lambda self : None; -SoNotRec_swigregister = _soqt.SoNotRec_swigregister -SoNotRec_swigregister(SoNotRec) - -class SoNotList(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def __init__(self, *args): - this = _soqt.new_SoNotList(*args) - try: self.this.append(this) - except: self.this = this - def append(*args): return _soqt.SoNotList_append(*args) - def setLastType(*args): return _soqt.SoNotList_setLastType(*args) - def getFirstRec(*args): return _soqt.SoNotList_getFirstRec(*args) - def getLastRec(*args): return _soqt.SoNotList_getLastRec(*args) - def getFirstRecAtNode(*args): return _soqt.SoNotList_getFirstRecAtNode(*args) - def getLastField(*args): return _soqt.SoNotList_getLastField(*args) - def getLastEngineOutput(*args): return _soqt.SoNotList_getLastEngineOutput(*args) - def getTimeStamp(*args): return _soqt.SoNotList_getTimeStamp(*args) - def output(*args): return _soqt.SoNotList_output(*args) - __swig_destroy__ = _soqt.delete_SoNotList - __del__ = lambda self : None; -SoNotList_swigregister = _soqt.SoNotList_swigregister -SoNotList_swigregister(SoNotList) - -class SoField(object): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoField_initClass) - initClasses = staticmethod(_soqt.SoField_initClasses) - def setIgnored(*args): return _soqt.SoField_setIgnored(*args) - def isIgnored(*args): return _soqt.SoField_isIgnored(*args) - def setDefault(*args): return _soqt.SoField_setDefault(*args) - def isDefault(*args): return _soqt.SoField_isDefault(*args) - def getTypeId(*args): return _soqt.SoField_getTypeId(*args) - getClassTypeId = staticmethod(_soqt.SoField_getClassTypeId) - def isOfType(*args): return _soqt.SoField_isOfType(*args) - def enableConnection(*args): return _soqt.SoField_enableConnection(*args) - def isConnectionEnabled(*args): return _soqt.SoField_isConnectionEnabled(*args) - def isConnectedFromEngine(*args): return _soqt.SoField_isConnectedFromEngine(*args) - def getConnectedEngine(*args): return _soqt.SoField_getConnectedEngine(*args) - def connectFrom(*args): return _soqt.SoField_connectFrom(*args) - def appendConnection(*args): return _soqt.SoField_appendConnection(*args) - def isConnectedFromField(*args): return _soqt.SoField_isConnectedFromField(*args) - def getConnectedField(*args): return _soqt.SoField_getConnectedField(*args) - def getNumConnections(*args): return _soqt.SoField_getNumConnections(*args) - def getForwardConnections(*args): return _soqt.SoField_getForwardConnections(*args) - def getConnections(*args): return _soqt.SoField_getConnections(*args) - def disconnect(*args): return _soqt.SoField_disconnect(*args) - def isConnected(*args): return _soqt.SoField_isConnected(*args) - def setContainer(*args): return _soqt.SoField_setContainer(*args) - def getContainer(*args): return _soqt.SoField_getContainer(*args) - def set(*args): return _soqt.SoField_set(*args) - def shouldWrite(*args): return _soqt.SoField_shouldWrite(*args) - def touch(*args): return _soqt.SoField_touch(*args) - def startNotify(*args): return _soqt.SoField_startNotify(*args) - def notify(*args): return _soqt.SoField_notify(*args) - def enableNotify(*args): return _soqt.SoField_enableNotify(*args) - def isNotifyEnabled(*args): return _soqt.SoField_isNotifyEnabled(*args) - def addAuditor(*args): return _soqt.SoField_addAuditor(*args) - def removeAuditor(*args): return _soqt.SoField_removeAuditor(*args) - def __eq__(*args): return _soqt.SoField___eq__(*args) - def __ne__(*args): return _soqt.SoField___ne__(*args) - def connectionStatusChanged(*args): return _soqt.SoField_connectionStatusChanged(*args) - def isReadOnly(*args): return _soqt.SoField_isReadOnly(*args) - def isSame(*args): return _soqt.SoField_isSame(*args) - def copyFrom(*args): return _soqt.SoField_copyFrom(*args) - def fixCopy(*args): return _soqt.SoField_fixCopy(*args) - def referencesCopy(*args): return _soqt.SoField_referencesCopy(*args) - def copyConnection(*args): return _soqt.SoField_copyConnection(*args) - def read(*args): return _soqt.SoField_read(*args) - def write(*args): return _soqt.SoField_write(*args) - def countWriteRefs(*args): return _soqt.SoField_countWriteRefs(*args) - NORMAL_FIELD = _soqt.SoField_NORMAL_FIELD - EVENTIN_FIELD = _soqt.SoField_EVENTIN_FIELD - EVENTOUT_FIELD = _soqt.SoField_EVENTOUT_FIELD - EXPOSED_FIELD = _soqt.SoField_EXPOSED_FIELD - def setFieldType(*args): return _soqt.SoField_setFieldType(*args) - def getFieldType(*args): return _soqt.SoField_getFieldType(*args) - def getDirty(*args): return _soqt.SoField_getDirty(*args) - def setDirty(*args): return _soqt.SoField_setDirty(*args) - def evaluate(*args): return _soqt.SoField_evaluate(*args) - def get(*args): return _soqt.SoField_get(*args) -SoField_swigregister = _soqt.SoField_swigregister -SoField_swigregister(SoField) -SoField_initClass = _soqt.SoField_initClass -SoField_initClasses = _soqt.SoField_initClasses -SoField_getClassTypeId = _soqt.SoField_getClassTypeId - -class SoSField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoSField - __del__ = lambda self : None; - initClass = staticmethod(_soqt.SoSField_initClass) - getClassTypeId = staticmethod(_soqt.SoSField_getClassTypeId) -SoSField_swigregister = _soqt.SoSField_swigregister -SoSField_swigregister(SoSField) -SoSField_initClass = _soqt.SoSField_initClass -SoSField_getClassTypeId = _soqt.SoSField_getClassTypeId - -class SoMField(SoField): - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_SoMField - __del__ = lambda self : None; - getClassTypeId = staticmethod(_soqt.SoMField_getClassTypeId) - def getNum(*args): return _soqt.SoMField_getNum(*args) - def setNum(*args): return _soqt.SoMField_setNum(*args) - def deleteValues(*args): return _soqt.SoMField_deleteValues(*args) - def insertSpace(*args): return _soqt.SoMField_insertSpace(*args) - def set1(*args): return _soqt.SoMField_set1(*args) - initClass = staticmethod(_soqt.SoMField_initClass) - def enableDeleteValues(*args): return _soqt.SoMField_enableDeleteValues(*args) - def isDeleteValuesEnabled(*args): return _soqt.SoMField_isDeleteValuesEnabled(*args) - def __iter__(self): - i = 0 - while i < self.getNum(): - yield self[i] - i += 1 - - def __len__(*args): return _soqt.SoMField___len__(*args) - def get1(*args): return _soqt.SoMField_get1(*args) -SoMField_swigregister = _soqt.SoMField_swigregister -SoMField_swigregister(SoMField) -SoMField_getClassTypeId = _soqt.SoMField_getClassTypeId -SoMField_initClass = _soqt.SoMField_initClass - -import pivy -class QEvent(object): - """Proxy of C++ QEvent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QEvent - __del__ = lambda self : None; -QEvent_swigregister = _soqt.QEvent_swigregister -QEvent_swigregister(QEvent) - -class QWidget(object): - """Proxy of C++ QWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - __swig_destroy__ = _soqt.delete_QWidget - __del__ = lambda self : None; -QWidget_swigregister = _soqt.QWidget_swigregister -QWidget_swigregister(QWidget) - -SOQT_MAJOR_VERSION = _soqt.SOQT_MAJOR_VERSION -SOQT_MINOR_VERSION = _soqt.SOQT_MINOR_VERSION -SOQT_MICRO_VERSION = _soqt.SOQT_MICRO_VERSION -SOQT_VERSION = _soqt.SOQT_VERSION - -def sogui_atexit(*args): - """sogui_atexit(sogui_atexit_f fp, int priority)""" - return _soqt.sogui_atexit(*args) -class SoQtObject(object): - """Proxy of C++ SoQtObject class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtObject_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtObject_getTypeId(*args) - - def isOfType(*args): - """isOfType(self, SoType type) -> SbBool""" - return _soqt.SoQtObject_isOfType(*args) - - def init(*args): - """init()""" - return _soqt.SoQtObject_init(*args) - - init = staticmethod(init) - __swig_destroy__ = _soqt.delete_SoQtObject - __del__ = lambda self : None; -SoQtObject_swigregister = _soqt.SoQtObject_swigregister -SoQtObject_swigregister(SoQtObject) - -def SoQtObject_initClass(*args): - """SoQtObject_initClass()""" - return _soqt.SoQtObject_initClass(*args) - -def SoQtObject_getClassTypeId(*args): - """SoQtObject_getClassTypeId() -> SoType""" - return _soqt.SoQtObject_getClassTypeId(*args) - -def SoQtObject_init(*args): - """SoQtObject_init()""" - return _soqt.SoQtObject_init(*args) - -SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG = _soqt.SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG -class SoQtDevice(SoQtObject): - """Proxy of C++ SoQtDevice class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtDevice_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtDevice_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtDevice - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_enable(*args) - - def disable(*args): - """disable(self, QWidget w, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtDevice_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtDevice_translateEvent(*args) - - def setWindowSize(*args): - """setWindowSize(self, SbVec2s size)""" - return _soqt.SoQtDevice_setWindowSize(*args) - - def getWindowSize(*args): - """getWindowSize(self) -> SbVec2s""" - return _soqt.SoQtDevice_getWindowSize(*args) - - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtDevice_swigregister = _soqt.SoQtDevice_swigregister -SoQtDevice_swigregister(SoQtDevice) - -def SoQtDevice_initClass(*args): - """SoQtDevice_initClass()""" - return _soqt.SoQtDevice_initClass(*args) - -def SoQtDevice_getClassTypeId(*args): - """SoQtDevice_getClassTypeId() -> SoType""" - return _soqt.SoQtDevice_getClassTypeId(*args) - -def SoQtDevice_initClasses(*args): - """SoQtDevice_initClasses()""" - return _soqt.SoQtDevice_initClasses(*args) - -class SoQtKeyboard(SoQtDevice): - """Proxy of C++ SoQtKeyboard class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtKeyboard_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - - createInstance = staticmethod(createInstance) - KEY_PRESS = _soqt.SoQtKeyboard_KEY_PRESS - KEY_RELEASE = _soqt.SoQtKeyboard_KEY_RELEASE - ALL_EVENTS = _soqt.SoQtKeyboard_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtKeyboard - __init__(self) -> SoQtKeyboard - """ - this = _soqt.new_SoQtKeyboard(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtKeyboard - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtKeyboard_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtKeyboard_translateEvent(*args) - -SoQtKeyboard_swigregister = _soqt.SoQtKeyboard_swigregister -SoQtKeyboard_swigregister(SoQtKeyboard) - -def SoQtKeyboard_initClass(*args): - """SoQtKeyboard_initClass()""" - return _soqt.SoQtKeyboard_initClass(*args) - -def SoQtKeyboard_getClassTypeId(*args): - """SoQtKeyboard_getClassTypeId() -> SoType""" - return _soqt.SoQtKeyboard_getClassTypeId(*args) - -def SoQtKeyboard_createInstance(*args): - """SoQtKeyboard_createInstance() -> void""" - return _soqt.SoQtKeyboard_createInstance(*args) - -class SoQtSpaceball(SoQtDevice): - """Proxy of C++ SoQtSpaceball class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtSpaceball_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtSpaceball_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtSpaceball_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtSpaceball_createInstance(*args) - - createInstance = staticmethod(createInstance) - MOTION_EVENT = _soqt.SoQtSpaceball_MOTION_EVENT - MOTION = _soqt.SoQtSpaceball_MOTION - PRESS_EVENT = _soqt.SoQtSpaceball_PRESS_EVENT - PRESS = _soqt.SoQtSpaceball_PRESS - RELEASE_EVENT = _soqt.SoQtSpaceball_RELEASE_EVENT - RELEASE = _soqt.SoQtSpaceball_RELEASE - ALL_EVENTS = _soqt.SoQtSpaceball_ALL_EVENTS - ALL = _soqt.SoQtSpaceball_ALL - SPACE_BALL = _soqt.SoQtSpaceball_SPACE_BALL - MAGELLAN_SPACE_MOUSE = _soqt.SoQtSpaceball_MAGELLAN_SPACE_MOUSE - def __init__(self, *args): - """ - __init__(self, int events=ALL_EVENTS) -> SoQtSpaceball - __init__(self) -> SoQtSpaceball - """ - this = _soqt.new_SoQtSpaceball(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtSpaceball - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtSpaceball_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtSpaceball_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtSpaceball_translateEvent(*args) - - def setRotationScaleFactor(*args): - """setRotationScaleFactor(self, float f)""" - return _soqt.SoQtSpaceball_setRotationScaleFactor(*args) - - def getRotationScaleFactor(*args): - """getRotationScaleFactor(self) -> float""" - return _soqt.SoQtSpaceball_getRotationScaleFactor(*args) - - def setTranslationScaleFactor(*args): - """setTranslationScaleFactor(self, float f)""" - return _soqt.SoQtSpaceball_setTranslationScaleFactor(*args) - - def getTranslationScaleFactor(*args): - """getTranslationScaleFactor(self) -> float""" - return _soqt.SoQtSpaceball_getTranslationScaleFactor(*args) - - def exists(*args): - """exists() -> SbBool""" - return _soqt.SoQtSpaceball_exists(*args) - - exists = staticmethod(exists) - def setFocusToWindow(*args): - """setFocusToWindow(self, SbBool flag)""" - return _soqt.SoQtSpaceball_setFocusToWindow(*args) - - def isFocusToWindow(*args): - """isFocusToWindow(self) -> SbBool""" - return _soqt.SoQtSpaceball_isFocusToWindow(*args) - -SoQtSpaceball_swigregister = _soqt.SoQtSpaceball_swigregister -SoQtSpaceball_swigregister(SoQtSpaceball) - -def SoQtSpaceball_initClass(*args): - """SoQtSpaceball_initClass()""" - return _soqt.SoQtSpaceball_initClass(*args) - -def SoQtSpaceball_getClassTypeId(*args): - """SoQtSpaceball_getClassTypeId() -> SoType""" - return _soqt.SoQtSpaceball_getClassTypeId(*args) - -def SoQtSpaceball_createInstance(*args): - """SoQtSpaceball_createInstance() -> void""" - return _soqt.SoQtSpaceball_createInstance(*args) - -def SoQtSpaceball_exists(*args): - """SoQtSpaceball_exists() -> SbBool""" - return _soqt.SoQtSpaceball_exists(*args) - -class SoQtMouse(SoQtDevice): - """Proxy of C++ SoQtMouse class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtMouse_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtMouse_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - - createInstance = staticmethod(createInstance) - BUTTON_PRESS = _soqt.SoQtMouse_BUTTON_PRESS - BUTTON_RELEASE = _soqt.SoQtMouse_BUTTON_RELEASE - POINTER_MOTION = _soqt.SoQtMouse_POINTER_MOTION - BUTTON_MOTION = _soqt.SoQtMouse_BUTTON_MOTION - ALL_EVENTS = _soqt.SoQtMouse_ALL_EVENTS - def __init__(self, *args): - """ - __init__(self, int eventmask=ALL_EVENTS) -> SoQtMouse - __init__(self) -> SoQtMouse - """ - this = _soqt.new_SoQtMouse(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtMouse - __del__ = lambda self : None; - def enable(*args): - """enable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_enable(*args) - - def disable(*args): - """disable(self, QWidget widget, SoQtEventHandler handler, void closure)""" - return _soqt.SoQtMouse_disable(*args) - - def translateEvent(*args): - """translateEvent(self, QEvent event) -> SoEvent""" - return _soqt.SoQtMouse_translateEvent(*args) - -SoQtMouse_swigregister = _soqt.SoQtMouse_swigregister -SoQtMouse_swigregister(SoQtMouse) - -def SoQtMouse_initClass(*args): - """SoQtMouse_initClass()""" - return _soqt.SoQtMouse_initClass(*args) - -def SoQtMouse_getClassTypeId(*args): - """SoQtMouse_getClassTypeId() -> SoType""" - return _soqt.SoQtMouse_getClassTypeId(*args) - -def SoQtMouse_createInstance(*args): - """SoQtMouse_createInstance() -> void""" - return _soqt.SoQtMouse_createInstance(*args) - -class SoQt(object): - """Proxy of C++ SoQt class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - - init = staticmethod(init) - def exitMainLoop(*args): - """exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - - exitMainLoop = staticmethod(exitMainLoop) - def done(*args): - """done()""" - return _soqt.SoQt_done(*args) - - done = staticmethod(done) - def getTopLevelWidget(*args): - """getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - - getTopLevelWidget = staticmethod(getTopLevelWidget) - def getShellWidget(*args): - """getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - - getShellWidget = staticmethod(getShellWidget) - def show(*args): - """show(QWidget widget)""" - return _soqt.SoQt_show(*args) - - show = staticmethod(show) - def hide(*args): - """hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - - hide = staticmethod(hide) - def setWidgetSize(*args): - """setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - - setWidgetSize = staticmethod(setWidgetSize) - def getWidgetSize(*args): - """getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - - getWidgetSize = staticmethod(getWidgetSize) - def createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - - createSimpleErrorDialog = staticmethod(createSimpleErrorDialog) - def getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - - getVersionInfo = staticmethod(getVersionInfo) - def getVersionString(*args): - """getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - - getVersionString = staticmethod(getVersionString) - UNSPECIFIED_ERROR = _soqt.SoQt_UNSPECIFIED_ERROR - NO_OPENGL_CANVAS = _soqt.SoQt_NO_OPENGL_CANVAS - INTERNAL_ASSERT = _soqt.SoQt_INTERNAL_ASSERT - def setFatalErrorHandler(*args): - """setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - - setFatalErrorHandler = staticmethod(setFatalErrorHandler) - def isDebugLibrary(*args): - """isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - - isDebugLibrary = staticmethod(isDebugLibrary) - def isCompatible(*args): - """isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - - isCompatible = staticmethod(isCompatible) - DLL = _soqt.SoQt_DLL - LIB = _soqt.SoQt_LIB - UNKNOWN = _soqt.SoQt_UNKNOWN - def getABIType(*args): - """getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - - getABIType = staticmethod(getABIType) - def mainLoop(*args): - """mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - - mainLoop = staticmethod(mainLoop) -SoQt_swigregister = _soqt.SoQt_swigregister -SoQt_swigregister(SoQt) - -def SoQt_init(*args): - """ - init(char appname, char classname="SoQt") -> QWidget - init(char appname) -> QWidget - init(int argc, char argv, char appname, char classname="SoQt") -> QWidget - init(int argc, char argv, char appname) -> QWidget - SoQt_init(QWidget toplevelwidget) - """ - return _soqt.SoQt_init(*args) - -def SoQt_exitMainLoop(*args): - """SoQt_exitMainLoop()""" - return _soqt.SoQt_exitMainLoop(*args) - -def SoQt_done(*args): - """SoQt_done()""" - return _soqt.SoQt_done(*args) - -def SoQt_getTopLevelWidget(*args): - """SoQt_getTopLevelWidget() -> QWidget""" - return _soqt.SoQt_getTopLevelWidget(*args) - -def SoQt_getShellWidget(*args): - """SoQt_getShellWidget(QWidget w) -> QWidget""" - return _soqt.SoQt_getShellWidget(*args) - -def SoQt_show(*args): - """SoQt_show(QWidget widget)""" - return _soqt.SoQt_show(*args) - -def SoQt_hide(*args): - """SoQt_hide(QWidget widget)""" - return _soqt.SoQt_hide(*args) - -def SoQt_setWidgetSize(*args): - """SoQt_setWidgetSize(QWidget widget, SbVec2s size)""" - return _soqt.SoQt_setWidgetSize(*args) - -def SoQt_getWidgetSize(*args): - """SoQt_getWidgetSize(QWidget widget) -> SbVec2s""" - return _soqt.SoQt_getWidgetSize(*args) - -def SoQt_createSimpleErrorDialog(*args): - """ - createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None) - SoQt_createSimpleErrorDialog(QWidget widget, char title, char string1) - """ - return _soqt.SoQt_createSimpleErrorDialog(*args) - -def SoQt_getVersionInfo(*args): - """ - getVersionInfo(int major=None, int minor=None, int micro=None) - getVersionInfo(int major=None, int minor=None) - getVersionInfo(int major=None) - SoQt_getVersionInfo() - """ - return _soqt.SoQt_getVersionInfo(*args) - -def SoQt_getVersionString(*args): - """SoQt_getVersionString() -> char""" - return _soqt.SoQt_getVersionString(*args) - -def SoQt_setFatalErrorHandler(*args): - """SoQt_setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB""" - return _soqt.SoQt_setFatalErrorHandler(*args) - -def SoQt_isDebugLibrary(*args): - """SoQt_isDebugLibrary() -> SbBool""" - return _soqt.SoQt_isDebugLibrary(*args) - -def SoQt_isCompatible(*args): - """SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool""" - return _soqt.SoQt_isCompatible(*args) - -def SoQt_getABIType(*args): - """SoQt_getABIType() -> ABIType""" - return _soqt.SoQt_getABIType(*args) - -def SoQt_mainLoop(*args): - """SoQt_mainLoop()""" - return _soqt.SoQt_mainLoop(*args) - -class SoQtComponent(SoQtObject): - """Proxy of C++ SoQtComponent class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtComponent_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtComponent_getTypeId(*args) - - __swig_destroy__ = _soqt.delete_SoQtComponent - __del__ = lambda self : None; - def show(*args): - """show(self)""" - return _soqt.SoQtComponent_show(*args) - - def hide(*args): - """hide(self)""" - return _soqt.SoQtComponent_hide(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setComponentCursor(*args) - - def setWidgetCursor(*args): - """setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - - setWidgetCursor = staticmethod(setWidgetCursor) - def isFullScreen(*args): - """isFullScreen(self) -> SbBool""" - return _soqt.SoQtComponent_isFullScreen(*args) - - def setFullScreen(*args): - """setFullScreen(self, SbBool onoff) -> SbBool""" - return _soqt.SoQtComponent_setFullScreen(*args) - - def isVisible(*args): - """isVisible(self) -> SbBool""" - return _soqt.SoQtComponent_isVisible(*args) - - def isTopLevelShell(*args): - """isTopLevelShell(self) -> SbBool""" - return _soqt.SoQtComponent_isTopLevelShell(*args) - - def getWidget(*args): - """getWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getWidget(*args) - - def getBaseWidget(*args): - """getBaseWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getBaseWidget(*args) - - def getShellWidget(*args): - """getShellWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getShellWidget(*args) - - def getParentWidget(*args): - """getParentWidget(self) -> QWidget""" - return _soqt.SoQtComponent_getParentWidget(*args) - - def setSize(*args): - """setSize(self, SbVec2s size)""" - return _soqt.SoQtComponent_setSize(*args) - - def getSize(*args): - """getSize(self) -> SbVec2s""" - return _soqt.SoQtComponent_getSize(*args) - - def setTitle(*args): - """setTitle(self, char title)""" - return _soqt.SoQtComponent_setTitle(*args) - - def getTitle(*args): - """getTitle(self) -> char""" - return _soqt.SoQtComponent_getTitle(*args) - - def setIconTitle(*args): - """setIconTitle(self, char title)""" - return _soqt.SoQtComponent_setIconTitle(*args) - - def getIconTitle(*args): - """getIconTitle(self) -> char""" - return _soqt.SoQtComponent_getIconTitle(*args) - - def getWidgetName(*args): - """getWidgetName(self) -> char""" - return _soqt.SoQtComponent_getWidgetName(*args) - - def getClassName(*args): - """getClassName(self) -> char""" - return _soqt.SoQtComponent_getClassName(*args) - - def setWindowCloseCallback(*args): - """ - setWindowCloseCallback(self, SoQtComponentCB func, void user=None) - setWindowCloseCallback(self, SoQtComponentCB func) - """ - return _soqt.SoQtComponent_setWindowCloseCallback(*args) - - def getComponent(*args): - """getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - - getComponent = staticmethod(getComponent) - def initClasses(*args): - """initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - - initClasses = staticmethod(initClasses) -SoQtComponent_swigregister = _soqt.SoQtComponent_swigregister -SoQtComponent_swigregister(SoQtComponent) - -def SoQtComponent_initClass(*args): - """SoQtComponent_initClass()""" - return _soqt.SoQtComponent_initClass(*args) - -def SoQtComponent_getClassTypeId(*args): - """SoQtComponent_getClassTypeId() -> SoType""" - return _soqt.SoQtComponent_getClassTypeId(*args) - -def SoQtComponent_setWidgetCursor(*args): - """SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)""" - return _soqt.SoQtComponent_setWidgetCursor(*args) - -def SoQtComponent_getComponent(*args): - """SoQtComponent_getComponent(QWidget widget) -> SoQtComponent""" - return _soqt.SoQtComponent_getComponent(*args) - -def SoQtComponent_initClasses(*args): - """SoQtComponent_initClasses()""" - return _soqt.SoQtComponent_initClasses(*args) - -SO_GL_RGB = _soqt.SO_GL_RGB -SO_GLX_RGB = _soqt.SO_GLX_RGB -SO_GL_DOUBLE = _soqt.SO_GL_DOUBLE -SO_GLX_DOUBLE = _soqt.SO_GLX_DOUBLE -SO_GL_ZBUFFER = _soqt.SO_GL_ZBUFFER -SO_GLX_ZBUFFER = _soqt.SO_GLX_ZBUFFER -SO_GL_OVERLAY = _soqt.SO_GL_OVERLAY -SO_GLX_OVERLAY = _soqt.SO_GLX_OVERLAY -SO_GL_STEREO = _soqt.SO_GL_STEREO -SO_GLX_STEREO = _soqt.SO_GLX_STEREO -class SoQtGLWidget(SoQtComponent): - """Proxy of C++ SoQtGLWidget class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtGLWidget_getTypeId(*args) - - def setBorder(*args): - """setBorder(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setBorder(*args) - - def isBorder(*args): - """isBorder(self) -> SbBool""" - return _soqt.SoQtGLWidget_isBorder(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDoubleBuffer(*args) - - def isDoubleBuffer(*args): - """isDoubleBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDoubleBuffer(*args) - - def setDrawToFrontBufferEnable(*args): - """setDrawToFrontBufferEnable(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setDrawToFrontBufferEnable(*args) - - def isDrawToFrontBufferEnable(*args): - """isDrawToFrontBufferEnable(self) -> SbBool""" - return _soqt.SoQtGLWidget_isDrawToFrontBufferEnable(*args) - - def setQuadBufferStereo(*args): - """setQuadBufferStereo(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setQuadBufferStereo(*args) - - def isQuadBufferStereo(*args): - """isQuadBufferStereo(self) -> SbBool""" - return _soqt.SoQtGLWidget_isQuadBufferStereo(*args) - - def setAccumulationBuffer(*args): - """setAccumulationBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAccumulationBuffer(*args) - - def getAccumulationBuffer(*args): - """getAccumulationBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAccumulationBuffer(*args) - - def setStencilBuffer(*args): - """setStencilBuffer(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStencilBuffer(*args) - - def getStencilBuffer(*args): - """getStencilBuffer(self) -> SbBool""" - return _soqt.SoQtGLWidget_getStencilBuffer(*args) - - def setAlphaChannel(*args): - """setAlphaChannel(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setAlphaChannel(*args) - - def getAlphaChannel(*args): - """getAlphaChannel(self) -> SbBool""" - return _soqt.SoQtGLWidget_getAlphaChannel(*args) - - def setOverlayRender(*args): - """setOverlayRender(self, SbBool onoff)""" - return _soqt.SoQtGLWidget_setOverlayRender(*args) - - def isOverlayRender(*args): - """isOverlayRender(self) -> SbBool""" - return _soqt.SoQtGLWidget_isOverlayRender(*args) - - def setStealFocus(*args): - """setStealFocus(self, SbBool enable)""" - return _soqt.SoQtGLWidget_setStealFocus(*args) - - def isStealFocus(*args): - """isStealFocus(self) -> SbBool""" - return _soqt.SoQtGLWidget_isStealFocus(*args) - - def getGLWidget(*args): - """getGLWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getGLWidget(*args) - - def getNormalWidget(*args): - """getNormalWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getNormalWidget(*args) - - def getOverlayWidget(*args): - """getOverlayWidget(self) -> QWidget""" - return _soqt.SoQtGLWidget_getOverlayWidget(*args) - - def hasOverlayGLArea(*args): - """hasOverlayGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasOverlayGLArea(*args) - - def hasNormalGLArea(*args): - """hasNormalGLArea(self) -> SbBool""" - return _soqt.SoQtGLWidget_hasNormalGLArea(*args) - - def getOverlayTransparentPixel(*args): - """getOverlayTransparentPixel(self) -> unsigned long""" - return _soqt.SoQtGLWidget_getOverlayTransparentPixel(*args) - - def getPointSizeLimits(*args): - """getPointSizeLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getPointSizeLimits(*args) - - def getLineWidthLimits(*args): - """getLineWidthLimits(self, SbVec2f range, float granularity)""" - return _soqt.SoQtGLWidget_getLineWidthLimits(*args) - -SoQtGLWidget_swigregister = _soqt.SoQtGLWidget_swigregister -SoQtGLWidget_swigregister(SoQtGLWidget) - -def SoQtGLWidget_initClass(*args): - """SoQtGLWidget_initClass()""" - return _soqt.SoQtGLWidget_initClass(*args) - -def SoQtGLWidget_getClassTypeId(*args): - """SoQtGLWidget_getClassTypeId() -> SoType""" - return _soqt.SoQtGLWidget_getClassTypeId(*args) - -class SoQtRenderArea(SoQtGLWidget): - """Proxy of C++ SoQtRenderArea class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtRenderArea_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1, SbBool keyboardInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - SbBool mouseInput=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtRenderArea - __init__(self, QWidget parent=None, char name=None) -> SoQtRenderArea - __init__(self, QWidget parent=None) -> SoQtRenderArea - __init__(self) -> SoQtRenderArea - """ - this = _soqt.new_SoQtRenderArea(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtRenderArea - __del__ = lambda self : None; - def setSceneGraph(*args): - """setSceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getSceneGraph(*args) - - def setOverlaySceneGraph(*args): - """setOverlaySceneGraph(self, SoNode scene)""" - return _soqt.SoQtRenderArea_setOverlaySceneGraph(*args) - - def getOverlaySceneGraph(*args): - """getOverlaySceneGraph(self) -> SoNode""" - return _soqt.SoQtRenderArea_getOverlaySceneGraph(*args) - - def setBackgroundColor(*args): - """setBackgroundColor(self, SbColor color)""" - return _soqt.SoQtRenderArea_setBackgroundColor(*args) - - def getBackgroundColor(*args): - """getBackgroundColor(self) -> SbColor""" - return _soqt.SoQtRenderArea_getBackgroundColor(*args) - - def setBackgroundIndex(*args): - """setBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setBackgroundIndex(*args) - - def getBackgroundIndex(*args): - """getBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getBackgroundIndex(*args) - - def setOverlayBackgroundIndex(*args): - """setOverlayBackgroundIndex(self, int idx)""" - return _soqt.SoQtRenderArea_setOverlayBackgroundIndex(*args) - - def getOverlayBackgroundIndex(*args): - """getOverlayBackgroundIndex(self) -> int""" - return _soqt.SoQtRenderArea_getOverlayBackgroundIndex(*args) - - def setColorMap(*args): - """setColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setColorMap(*args) - - def setOverlayColorMap(*args): - """setOverlayColorMap(self, int start, int num, SbColor colors)""" - return _soqt.SoQtRenderArea_setOverlayColorMap(*args) - - def setViewportRegion(*args): - """setViewportRegion(self, SbViewportRegion newRegion)""" - return _soqt.SoQtRenderArea_setViewportRegion(*args) - - def getViewportRegion(*args): - """getViewportRegion(self) -> SbViewportRegion""" - return _soqt.SoQtRenderArea_getViewportRegion(*args) - - def setTransparencyType(*args): - """setTransparencyType(self, TransparencyType type)""" - return _soqt.SoQtRenderArea_setTransparencyType(*args) - - def getTransparencyType(*args): - """getTransparencyType(self) -> TransparencyType""" - return _soqt.SoQtRenderArea_getTransparencyType(*args) - - def setAntialiasing(*args): - """setAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_setAntialiasing(*args) - - def getAntialiasing(*args): - """getAntialiasing(self, SbBool smoothing, int numPasses)""" - return _soqt.SoQtRenderArea_getAntialiasing(*args) - - def setClearBeforeRender(*args): - """ - setClearBeforeRender(self, SbBool enable, SbBool zbEnable=1) - setClearBeforeRender(self, SbBool enable) - """ - return _soqt.SoQtRenderArea_setClearBeforeRender(*args) - - def isClearBeforeRender(*args): - """isClearBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeRender(*args) - - def isClearZBufferBeforeRender(*args): - """isClearZBufferBeforeRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearZBufferBeforeRender(*args) - - def setClearBeforeOverlayRender(*args): - """setClearBeforeOverlayRender(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setClearBeforeOverlayRender(*args) - - def isClearBeforeOverlayRender(*args): - """isClearBeforeOverlayRender(self) -> SbBool""" - return _soqt.SoQtRenderArea_isClearBeforeOverlayRender(*args) - - def setAutoRedraw(*args): - """setAutoRedraw(self, SbBool enable)""" - return _soqt.SoQtRenderArea_setAutoRedraw(*args) - - def isAutoRedraw(*args): - """isAutoRedraw(self) -> SbBool""" - return _soqt.SoQtRenderArea_isAutoRedraw(*args) - - def setRedrawPriority(*args): - """setRedrawPriority(self, uint32_t priority)""" - return _soqt.SoQtRenderArea_setRedrawPriority(*args) - - def getRedrawPriority(*args): - """getRedrawPriority(self) -> uint32_t""" - return _soqt.SoQtRenderArea_getRedrawPriority(*args) - - def getDefaultRedrawPriority(*args): - """getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - - getDefaultRedrawPriority = staticmethod(getDefaultRedrawPriority) - def render(*args): - """render(self)""" - return _soqt.SoQtRenderArea_render(*args) - - def renderOverlay(*args): - """renderOverlay(self)""" - return _soqt.SoQtRenderArea_renderOverlay(*args) - - def scheduleRedraw(*args): - """scheduleRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleRedraw(*args) - - def scheduleOverlayRedraw(*args): - """scheduleOverlayRedraw(self)""" - return _soqt.SoQtRenderArea_scheduleOverlayRedraw(*args) - - def redrawOnSelectionChange(*args): - """redrawOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOnSelectionChange(*args) - - def redrawOverlayOnSelectionChange(*args): - """redrawOverlayOnSelectionChange(self, SoSelection selection)""" - return _soqt.SoQtRenderArea_redrawOverlayOnSelectionChange(*args) - - def setSceneManager(*args): - """setSceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setSceneManager(*args) - - def getSceneManager(*args): - """getSceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getSceneManager(*args) - - def setOverlaySceneManager(*args): - """setOverlaySceneManager(self, SoSceneManager manager)""" - return _soqt.SoQtRenderArea_setOverlaySceneManager(*args) - - def getOverlaySceneManager(*args): - """getOverlaySceneManager(self) -> SoSceneManager""" - return _soqt.SoQtRenderArea_getOverlaySceneManager(*args) - - def setGLRenderAction(*args): - """setGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setGLRenderAction(*args) - - def getGLRenderAction(*args): - """getGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getGLRenderAction(*args) - - def setOverlayGLRenderAction(*args): - """setOverlayGLRenderAction(self, SoGLRenderAction action)""" - return _soqt.SoQtRenderArea_setOverlayGLRenderAction(*args) - - def getOverlayGLRenderAction(*args): - """getOverlayGLRenderAction(self) -> SoGLRenderAction""" - return _soqt.SoQtRenderArea_getOverlayGLRenderAction(*args) - - def sendSoEvent(*args): - """sendSoEvent(self, SoEvent event) -> SbBool""" - return _soqt.SoQtRenderArea_sendSoEvent(*args) - - def registerDevice(*args): - """registerDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_registerDevice(*args) - - def unregisterDevice(*args): - """unregisterDevice(self, SoQtDevice device)""" - return _soqt.SoQtRenderArea_unregisterDevice(*args) - - def setEventCallback(*args): - """ - setEventCallback(self, SoQtRenderAreaEventCB func, void user=None) - setEventCallback(self, SoQtRenderAreaEventCB func) - setEventCallback(self, PyObject pyfunc, PyObject user=None) - setEventCallback(self, PyObject pyfunc) - """ - return _soqt.SoQtRenderArea_setEventCallback(*args) - -SoQtRenderArea_swigregister = _soqt.SoQtRenderArea_swigregister -SoQtRenderArea_swigregister(SoQtRenderArea) - -def SoQtRenderArea_initClass(*args): - """SoQtRenderArea_initClass()""" - return _soqt.SoQtRenderArea_initClass(*args) - -def SoQtRenderArea_getClassTypeId(*args): - """SoQtRenderArea_getClassTypeId() -> SoType""" - return _soqt.SoQtRenderArea_getClassTypeId(*args) - -def SoQtRenderArea_createInstance(*args): - """SoQtRenderArea_createInstance() -> void""" - return _soqt.SoQtRenderArea_createInstance(*args) - -def SoQtRenderArea_getDefaultRedrawPriority(*args): - """SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t""" - return _soqt.SoQtRenderArea_getDefaultRedrawPriority(*args) - -class SoQtViewer(SoQtRenderArea): - """Proxy of C++ SoQtViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtViewer_getTypeId(*args) - - BROWSER = _soqt.SoQtViewer_BROWSER - EDITOR = _soqt.SoQtViewer_EDITOR - VIEW_AS_IS = _soqt.SoQtViewer_VIEW_AS_IS - VIEW_HIDDEN_LINE = _soqt.SoQtViewer_VIEW_HIDDEN_LINE - VIEW_NO_TEXTURE = _soqt.SoQtViewer_VIEW_NO_TEXTURE - VIEW_LOW_COMPLEXITY = _soqt.SoQtViewer_VIEW_LOW_COMPLEXITY - VIEW_LINE = _soqt.SoQtViewer_VIEW_LINE - VIEW_POINT = _soqt.SoQtViewer_VIEW_POINT - VIEW_BBOX = _soqt.SoQtViewer_VIEW_BBOX - VIEW_LOW_RES_LINE = _soqt.SoQtViewer_VIEW_LOW_RES_LINE - VIEW_LOW_RES_POINT = _soqt.SoQtViewer_VIEW_LOW_RES_POINT - VIEW_SAME_AS_STILL = _soqt.SoQtViewer_VIEW_SAME_AS_STILL - VIEW_WIREFRAME_OVERLAY = _soqt.SoQtViewer_VIEW_WIREFRAME_OVERLAY - STILL = _soqt.SoQtViewer_STILL - INTERACTIVE = _soqt.SoQtViewer_INTERACTIVE - BUFFER_SINGLE = _soqt.SoQtViewer_BUFFER_SINGLE - BUFFER_DOUBLE = _soqt.SoQtViewer_BUFFER_DOUBLE - BUFFER_INTERACTIVE = _soqt.SoQtViewer_BUFFER_INTERACTIVE - VARIABLE_NEAR_PLANE = _soqt.SoQtViewer_VARIABLE_NEAR_PLANE - CONSTANT_NEAR_PLANE = _soqt.SoQtViewer_CONSTANT_NEAR_PLANE - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtViewer_setCamera(*args) - - def getCamera(*args): - """getCamera(self) -> SoCamera""" - return _soqt.SoQtViewer_getCamera(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtViewer_setCameraType(*args) - - def getCameraType(*args): - """getCameraType(self) -> SoType""" - return _soqt.SoQtViewer_getCameraType(*args) - - def toggleCameraType(*args): - """toggleCameraType(self)""" - return _soqt.SoQtViewer_toggleCameraType(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtViewer_viewAll(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtViewer_resetToHomePosition(*args) - - def setHeadlight(*args): - """setHeadlight(self, SbBool enable)""" - return _soqt.SoQtViewer_setHeadlight(*args) - - def isHeadlight(*args): - """isHeadlight(self) -> SbBool""" - return _soqt.SoQtViewer_isHeadlight(*args) - - def getHeadlight(*args): - """getHeadlight(self) -> SoDirectionalLight""" - return _soqt.SoQtViewer_getHeadlight(*args) - - def setDrawStyle(*args): - """setDrawStyle(self, DrawType type, DrawStyle style)""" - return _soqt.SoQtViewer_setDrawStyle(*args) - - def getDrawStyle(*args): - """getDrawStyle(self, DrawType type) -> DrawStyle""" - return _soqt.SoQtViewer_getDrawStyle(*args) - - def setBufferingType(*args): - """setBufferingType(self, BufferType type)""" - return _soqt.SoQtViewer_setBufferingType(*args) - - def getBufferingType(*args): - """getBufferingType(self) -> BufferType""" - return _soqt.SoQtViewer_getBufferingType(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setViewing(*args) - - def isViewing(*args): - """isViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isViewing(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtViewer_setCursorEnabled(*args) - - def isCursorEnabled(*args): - """isCursorEnabled(self) -> SbBool""" - return _soqt.SoQtViewer_isCursorEnabled(*args) - - def setAutoClipping(*args): - """setAutoClipping(self, SbBool enable)""" - return _soqt.SoQtViewer_setAutoClipping(*args) - - def isAutoClipping(*args): - """isAutoClipping(self) -> SbBool""" - return _soqt.SoQtViewer_isAutoClipping(*args) - - def setAutoClippingStrategy(*args): - """ - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None, - void cbuserdata=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None) - setAutoClippingStrategy(self, AutoClippingStrategy strategy, float value=0.6) - setAutoClippingStrategy(self, AutoClippingStrategy strategy) - """ - return _soqt.SoQtViewer_setAutoClippingStrategy(*args) - - def setStereoViewing(*args): - """setStereoViewing(self, SbBool enable)""" - return _soqt.SoQtViewer_setStereoViewing(*args) - - def isStereoViewing(*args): - """isStereoViewing(self) -> SbBool""" - return _soqt.SoQtViewer_isStereoViewing(*args) - - def setStereoOffset(*args): - """setStereoOffset(self, float dist)""" - return _soqt.SoQtViewer_setStereoOffset(*args) - - def getStereoOffset(*args): - """getStereoOffset(self) -> float""" - return _soqt.SoQtViewer_getStereoOffset(*args) - - STEREO_NONE = _soqt.SoQtViewer_STEREO_NONE - STEREO_ANAGLYPH = _soqt.SoQtViewer_STEREO_ANAGLYPH - STEREO_QUADBUFFER = _soqt.SoQtViewer_STEREO_QUADBUFFER - STEREO_INTERLEAVED_ROWS = _soqt.SoQtViewer_STEREO_INTERLEAVED_ROWS - STEREO_INTERLEAVED_COLUMNS = _soqt.SoQtViewer_STEREO_INTERLEAVED_COLUMNS - def setStereoType(*args): - """setStereoType(self, StereoType s) -> SbBool""" - return _soqt.SoQtViewer_setStereoType(*args) - - def getStereoType(*args): - """getStereoType(self) -> StereoType""" - return _soqt.SoQtViewer_getStereoType(*args) - - def setAnaglyphStereoColorMasks(*args): - """setAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_setAnaglyphStereoColorMasks(*args) - - def getAnaglyphStereoColorMasks(*args): - """getAnaglyphStereoColorMasks(self, SbBool left, SbBool right)""" - return _soqt.SoQtViewer_getAnaglyphStereoColorMasks(*args) - - def setDetailSeek(*args): - """setDetailSeek(self, SbBool enable)""" - return _soqt.SoQtViewer_setDetailSeek(*args) - - def isDetailSeek(*args): - """isDetailSeek(self) -> SbBool""" - return _soqt.SoQtViewer_isDetailSeek(*args) - - def setSeekTime(*args): - """setSeekTime(self, float seconds)""" - return _soqt.SoQtViewer_setSeekTime(*args) - - def getSeekTime(*args): - """getSeekTime(self) -> float""" - return _soqt.SoQtViewer_getSeekTime(*args) - - def addStartCallback(*args): - """ - addStartCallback(self, SoQtViewerCB func, void data=None) - addStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addStartCallback(*args) - - def addFinishCallback(*args): - """ - addFinishCallback(self, SoQtViewerCB func, void data=None) - addFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_addFinishCallback(*args) - - def removeStartCallback(*args): - """ - removeStartCallback(self, SoQtViewerCB func, void data=None) - removeStartCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeStartCallback(*args) - - def removeFinishCallback(*args): - """ - removeFinishCallback(self, SoQtViewerCB func, void data=None) - removeFinishCallback(self, SoQtViewerCB func) - """ - return _soqt.SoQtViewer_removeFinishCallback(*args) - - def setWireframeOverlayColor(*args): - """setWireframeOverlayColor(self, SbColor color)""" - return _soqt.SoQtViewer_setWireframeOverlayColor(*args) - - def getWireframeOverlayColor(*args): - """getWireframeOverlayColor(self) -> SbColor""" - return _soqt.SoQtViewer_getWireframeOverlayColor(*args) - - def setDoubleBuffer(*args): - """setDoubleBuffer(self, SbBool enable)""" - return _soqt.SoQtViewer_setDoubleBuffer(*args) - - def setSceneGraph(*args): - """setSceneGraph(self, SoNode root)""" - return _soqt.SoQtViewer_setSceneGraph(*args) - - def getSceneGraph(*args): - """getSceneGraph(self) -> SoNode""" - return _soqt.SoQtViewer_getSceneGraph(*args) - -SoQtViewer_swigregister = _soqt.SoQtViewer_swigregister -SoQtViewer_swigregister(SoQtViewer) - -def SoQtViewer_initClass(*args): - """SoQtViewer_initClass()""" - return _soqt.SoQtViewer_initClass(*args) - -def SoQtViewer_getClassTypeId(*args): - """SoQtViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtViewer_getClassTypeId(*args) - -class SoQtFullViewer(SoQtViewer): - """Proxy of C++ SoQtFullViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFullViewer_getTypeId(*args) - - BUILD_NONE = _soqt.SoQtFullViewer_BUILD_NONE - BUILD_DECORATION = _soqt.SoQtFullViewer_BUILD_DECORATION - BUILD_POPUP = _soqt.SoQtFullViewer_BUILD_POPUP - BUILD_ALL = _soqt.SoQtFullViewer_BUILD_ALL - def setDecoration(*args): - """setDecoration(self, SbBool on)""" - return _soqt.SoQtFullViewer_setDecoration(*args) - - def isDecoration(*args): - """isDecoration(self) -> SbBool""" - return _soqt.SoQtFullViewer_isDecoration(*args) - - def setPopupMenuEnabled(*args): - """setPopupMenuEnabled(self, SbBool on)""" - return _soqt.SoQtFullViewer_setPopupMenuEnabled(*args) - - def isPopupMenuEnabled(*args): - """isPopupMenuEnabled(self) -> SbBool""" - return _soqt.SoQtFullViewer_isPopupMenuEnabled(*args) - - def getAppPushButtonParent(*args): - """getAppPushButtonParent(self) -> QWidget""" - return _soqt.SoQtFullViewer_getAppPushButtonParent(*args) - - def addAppPushButton(*args): - """addAppPushButton(self, QWidget newButton)""" - return _soqt.SoQtFullViewer_addAppPushButton(*args) - - def insertAppPushButton(*args): - """insertAppPushButton(self, QWidget newButton, int index)""" - return _soqt.SoQtFullViewer_insertAppPushButton(*args) - - def removeAppPushButton(*args): - """removeAppPushButton(self, QWidget oldButton)""" - return _soqt.SoQtFullViewer_removeAppPushButton(*args) - - def findAppPushButton(*args): - """findAppPushButton(self, QWidget oldButton) -> int""" - return _soqt.SoQtFullViewer_findAppPushButton(*args) - - def lengthAppPushButton(*args): - """lengthAppPushButton(self) -> int""" - return _soqt.SoQtFullViewer_lengthAppPushButton(*args) - - def getRenderAreaWidget(*args): - """getRenderAreaWidget(self) -> QWidget""" - return _soqt.SoQtFullViewer_getRenderAreaWidget(*args) - - def setViewing(*args): - """setViewing(self, SbBool on)""" - return _soqt.SoQtFullViewer_setViewing(*args) - - def setComponentCursor(*args): - """setComponentCursor(self, SoQtCursor cursor)""" - return _soqt.SoQtFullViewer_setComponentCursor(*args) - -SoQtFullViewer_swigregister = _soqt.SoQtFullViewer_swigregister -SoQtFullViewer_swigregister(SoQtFullViewer) - -def SoQtFullViewer_initClass(*args): - """SoQtFullViewer_initClass()""" - return _soqt.SoQtFullViewer_initClass(*args) - -def SoQtFullViewer_getClassTypeId(*args): - """SoQtFullViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFullViewer_getClassTypeId(*args) - -class SoQtPlaneViewer(SoQtFullViewer): - """Proxy of C++ SoQtPlaneViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtPlaneViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtPlaneViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtPlaneViewer - __init__(self, QWidget parent=None) -> SoQtPlaneViewer - __init__(self) -> SoQtPlaneViewer - """ - this = _soqt.new_SoQtPlaneViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtPlaneViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtPlaneViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtPlaneViewer_setCursorEnabled(*args) - -SoQtPlaneViewer_swigregister = _soqt.SoQtPlaneViewer_swigregister -SoQtPlaneViewer_swigregister(SoQtPlaneViewer) - -def SoQtPlaneViewer_initClass(*args): - """SoQtPlaneViewer_initClass()""" - return _soqt.SoQtPlaneViewer_initClass(*args) - -def SoQtPlaneViewer_getClassTypeId(*args): - """SoQtPlaneViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtPlaneViewer_getClassTypeId(*args) - -def SoQtPlaneViewer_createInstance(*args): - """SoQtPlaneViewer_createInstance() -> void""" - return _soqt.SoQtPlaneViewer_createInstance(*args) - -class SoQtExaminerViewer(SoQtFullViewer): - """Proxy of C++ SoQtExaminerViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtExaminerViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtExaminerViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtExaminerViewer - __init__(self, QWidget parent=None) -> SoQtExaminerViewer - __init__(self) -> SoQtExaminerViewer - """ - this = _soqt.new_SoQtExaminerViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtExaminerViewer - __del__ = lambda self : None; - def setAnimationEnabled(*args): - """setAnimationEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setAnimationEnabled(*args) - - def isAnimationEnabled(*args): - """isAnimationEnabled(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimationEnabled(*args) - - def stopAnimating(*args): - """stopAnimating(self)""" - return _soqt.SoQtExaminerViewer_stopAnimating(*args) - - def isAnimating(*args): - """isAnimating(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isAnimating(*args) - - def setFeedbackVisibility(*args): - """setFeedbackVisibility(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setFeedbackVisibility(*args) - - def isFeedbackVisible(*args): - """isFeedbackVisible(self) -> SbBool""" - return _soqt.SoQtExaminerViewer_isFeedbackVisible(*args) - - def setFeedbackSize(*args): - """setFeedbackSize(self, int size)""" - return _soqt.SoQtExaminerViewer_setFeedbackSize(*args) - - def getFeedbackSize(*args): - """getFeedbackSize(self) -> int""" - return _soqt.SoQtExaminerViewer_getFeedbackSize(*args) - - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setViewing(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtExaminerViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtExaminerViewer_setCursorEnabled(*args) - -SoQtExaminerViewer_swigregister = _soqt.SoQtExaminerViewer_swigregister -SoQtExaminerViewer_swigregister(SoQtExaminerViewer) - -def SoQtExaminerViewer_initClass(*args): - """SoQtExaminerViewer_initClass()""" - return _soqt.SoQtExaminerViewer_initClass(*args) - -def SoQtExaminerViewer_getClassTypeId(*args): - """SoQtExaminerViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtExaminerViewer_getClassTypeId(*args) - -def SoQtExaminerViewer_createInstance(*args): - """SoQtExaminerViewer_createInstance() -> void""" - return _soqt.SoQtExaminerViewer_createInstance(*args) - -class SoQtConstrainedViewer(SoQtFullViewer): - """Proxy of C++ SoQtConstrainedViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtConstrainedViewer_getTypeId(*args) - - def setUpDirection(*args): - """setUpDirection(self, SbVec3f dir)""" - return _soqt.SoQtConstrainedViewer_setUpDirection(*args) - - def getUpDirection(*args): - """getUpDirection(self) -> SbVec3f""" - return _soqt.SoQtConstrainedViewer_getUpDirection(*args) - - def setCamera(*args): - """setCamera(self, SoCamera newcam)""" - return _soqt.SoQtConstrainedViewer_setCamera(*args) - - def saveHomePosition(*args): - """saveHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_saveHomePosition(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtConstrainedViewer_resetToHomePosition(*args) - -SoQtConstrainedViewer_swigregister = _soqt.SoQtConstrainedViewer_swigregister -SoQtConstrainedViewer_swigregister(SoQtConstrainedViewer) - -def SoQtConstrainedViewer_initClass(*args): - """SoQtConstrainedViewer_initClass()""" - return _soqt.SoQtConstrainedViewer_initClass(*args) - -def SoQtConstrainedViewer_getClassTypeId(*args): - """SoQtConstrainedViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtConstrainedViewer_getClassTypeId(*args) - -class SoQtFlyViewer(SoQtConstrainedViewer): - """Proxy of C++ SoQtFlyViewer class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - - initClass = staticmethod(initClass) - def getClassTypeId(*args): - """getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - - getClassTypeId = staticmethod(getClassTypeId) - def getTypeId(*args): - """getTypeId(self) -> SoType""" - return _soqt.SoQtFlyViewer_getTypeId(*args) - - def createInstance(*args): - """createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - - createInstance = staticmethod(createInstance) - def __init__(self, *args): - """ - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL, Type type=BROWSER) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1, - BuildFlag flag=BUILD_ALL) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None, SbBool embed=1) -> SoQtFlyViewer - __init__(self, QWidget parent=None, char name=None) -> SoQtFlyViewer - __init__(self, QWidget parent=None) -> SoQtFlyViewer - __init__(self) -> SoQtFlyViewer - """ - this = _soqt.new_SoQtFlyViewer(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtFlyViewer - __del__ = lambda self : None; - def setViewing(*args): - """setViewing(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setViewing(*args) - - def viewAll(*args): - """viewAll(self)""" - return _soqt.SoQtFlyViewer_viewAll(*args) - - def resetToHomePosition(*args): - """resetToHomePosition(self)""" - return _soqt.SoQtFlyViewer_resetToHomePosition(*args) - - def setCamera(*args): - """setCamera(self, SoCamera camera)""" - return _soqt.SoQtFlyViewer_setCamera(*args) - - def setCursorEnabled(*args): - """setCursorEnabled(self, SbBool enable)""" - return _soqt.SoQtFlyViewer_setCursorEnabled(*args) - - def setCameraType(*args): - """setCameraType(self, SoType type)""" - return _soqt.SoQtFlyViewer_setCameraType(*args) - -SoQtFlyViewer_swigregister = _soqt.SoQtFlyViewer_swigregister -SoQtFlyViewer_swigregister(SoQtFlyViewer) - -def SoQtFlyViewer_initClass(*args): - """SoQtFlyViewer_initClass()""" - return _soqt.SoQtFlyViewer_initClass(*args) - -def SoQtFlyViewer_getClassTypeId(*args): - """SoQtFlyViewer_getClassTypeId() -> SoType""" - return _soqt.SoQtFlyViewer_getClassTypeId(*args) - -def SoQtFlyViewer_createInstance(*args): - """SoQtFlyViewer_createInstance() -> void""" - return _soqt.SoQtFlyViewer_createInstance(*args) - -class SoQtPopupMenu(object): - """Proxy of C++ SoQtPopupMenu class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - def __init__(self): raise AttributeError, "No constructor defined" - __repr__ = _swig_repr - def createInstance(*args): - """createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - - createInstance = staticmethod(createInstance) - __swig_destroy__ = _soqt.delete_SoQtPopupMenu - __del__ = lambda self : None; - def newMenu(*args): - """ - newMenu(self, char name, int menuid=-1) -> int - newMenu(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenu(*args) - - def getMenu(*args): - """getMenu(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenu(*args) - - def setMenuTitle(*args): - """setMenuTitle(self, int id, char title)""" - return _soqt.SoQtPopupMenu_setMenuTitle(*args) - - def getMenuTitle(*args): - """getMenuTitle(self, int id) -> char""" - return _soqt.SoQtPopupMenu_getMenuTitle(*args) - - def newMenuItem(*args): - """ - newMenuItem(self, char name, int itemid=-1) -> int - newMenuItem(self, char name) -> int - """ - return _soqt.SoQtPopupMenu_newMenuItem(*args) - - def getMenuItem(*args): - """getMenuItem(self, char name) -> int""" - return _soqt.SoQtPopupMenu_getMenuItem(*args) - - def setMenuItemTitle(*args): - """setMenuItemTitle(self, int itemid, char title)""" - return _soqt.SoQtPopupMenu_setMenuItemTitle(*args) - - def getMenuItemTitle(*args): - """getMenuItemTitle(self, int itemid) -> char""" - return _soqt.SoQtPopupMenu_getMenuItemTitle(*args) - - def setMenuItemEnabled(*args): - """setMenuItemEnabled(self, int itemid, SbBool enabled)""" - return _soqt.SoQtPopupMenu_setMenuItemEnabled(*args) - - def getMenuItemEnabled(*args): - """getMenuItemEnabled(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemEnabled(*args) - - def setMenuItemMarked(*args): - """setMenuItemMarked(self, int itemid, SbBool marked)""" - return _soqt.SoQtPopupMenu_setMenuItemMarked(*args) - - def getMenuItemMarked(*args): - """getMenuItemMarked(self, int itemid) -> SbBool""" - return _soqt.SoQtPopupMenu_getMenuItemMarked(*args) - - def addMenu(*args): - """ - addMenu(self, int menuid, int submenuid, int pos=-1) - addMenu(self, int menuid, int submenuid) - """ - return _soqt.SoQtPopupMenu_addMenu(*args) - - def addMenuItem(*args): - """ - addMenuItem(self, int menuid, int itemid, int pos=-1) - addMenuItem(self, int menuid, int itemid) - """ - return _soqt.SoQtPopupMenu_addMenuItem(*args) - - def addSeparator(*args): - """ - addSeparator(self, int menuid, int pos=-1) - addSeparator(self, int menuid) - """ - return _soqt.SoQtPopupMenu_addSeparator(*args) - - def removeMenu(*args): - """removeMenu(self, int menuid)""" - return _soqt.SoQtPopupMenu_removeMenu(*args) - - def removeMenuItem(*args): - """removeMenuItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeMenuItem(*args) - - def popUp(*args): - """popUp(self, QWidget inside, int x, int y)""" - return _soqt.SoQtPopupMenu_popUp(*args) - - def newRadioGroup(*args): - """ - newRadioGroup(self, int groupid=-1) -> int - newRadioGroup(self) -> int - """ - return _soqt.SoQtPopupMenu_newRadioGroup(*args) - - def getRadioGroup(*args): - """getRadioGroup(self, int itemid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroup(*args) - - def getRadioGroupSize(*args): - """getRadioGroupSize(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupSize(*args) - - def addRadioGroupItem(*args): - """addRadioGroupItem(self, int groupid, int itemid)""" - return _soqt.SoQtPopupMenu_addRadioGroupItem(*args) - - def removeRadioGroupItem(*args): - """removeRadioGroupItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_removeRadioGroupItem(*args) - - def setRadioGroupMarkedItem(*args): - """setRadioGroupMarkedItem(self, int itemid)""" - return _soqt.SoQtPopupMenu_setRadioGroupMarkedItem(*args) - - def getRadioGroupMarkedItem(*args): - """getRadioGroupMarkedItem(self, int groupid) -> int""" - return _soqt.SoQtPopupMenu_getRadioGroupMarkedItem(*args) - - def addMenuSelectionCallback(*args): - """addMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_addMenuSelectionCallback(*args) - - def removeMenuSelectionCallback(*args): - """removeMenuSelectionCallback(self, SoQtMenuSelectionCallback callback, void data)""" - return _soqt.SoQtPopupMenu_removeMenuSelectionCallback(*args) - -SoQtPopupMenu_swigregister = _soqt.SoQtPopupMenu_swigregister -SoQtPopupMenu_swigregister(SoQtPopupMenu) - -def SoQtPopupMenu_createInstance(*args): - """SoQtPopupMenu_createInstance() -> SoQtPopupMenu""" - return _soqt.SoQtPopupMenu_createInstance(*args) - -class SoQtCursor(object): - """Proxy of C++ SoQtCursor class""" - thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') - __repr__ = _swig_repr - def initClass(*args): - """initClass()""" - return _soqt.SoQtCursor_initClass(*args) - - initClass = staticmethod(initClass) - CUSTOM_BITMAP = _soqt.SoQtCursor_CUSTOM_BITMAP - DEFAULT = _soqt.SoQtCursor_DEFAULT - BUSY = _soqt.SoQtCursor_BUSY - CROSSHAIR = _soqt.SoQtCursor_CROSSHAIR - UPARROW = _soqt.SoQtCursor_UPARROW - def __init__(self, *args): - """ - __init__(self) -> SoQtCursor - __init__(self, Shape shape) -> SoQtCursor - __init__(self, CustomCursor cc) -> SoQtCursor - __init__(self, SoQtCursor cursor) -> SoQtCursor - """ - this = _soqt.new_SoQtCursor(*args) - try: self.this.append(this) - except: self.this = this - __swig_destroy__ = _soqt.delete_SoQtCursor - __del__ = lambda self : None; - def getShape(*args): - """getShape(self) -> Shape""" - return _soqt.SoQtCursor_getShape(*args) - - def setShape(*args): - """setShape(self, Shape shape)""" - return _soqt.SoQtCursor_setShape(*args) - - def getCustomCursor(*args): - """getCustomCursor(self) -> CustomCursor""" - return _soqt.SoQtCursor_getCustomCursor(*args) - - def getZoomCursor(*args): - """getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - - getZoomCursor = staticmethod(getZoomCursor) - def getPanCursor(*args): - """getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - - getPanCursor = staticmethod(getPanCursor) - def getRotateCursor(*args): - """getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - - getRotateCursor = staticmethod(getRotateCursor) - def getBlankCursor(*args): - """getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - getBlankCursor = staticmethod(getBlankCursor) -SoQtCursor_swigregister = _soqt.SoQtCursor_swigregister -SoQtCursor_swigregister(SoQtCursor) - -def SoQtCursor_initClass(*args): - """SoQtCursor_initClass()""" - return _soqt.SoQtCursor_initClass(*args) - -def SoQtCursor_getZoomCursor(*args): - """SoQtCursor_getZoomCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getZoomCursor(*args) - -def SoQtCursor_getPanCursor(*args): - """SoQtCursor_getPanCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getPanCursor(*args) - -def SoQtCursor_getRotateCursor(*args): - """SoQtCursor_getRotateCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getRotateCursor(*args) - -def SoQtCursor_getBlankCursor(*args): - """SoQtCursor_getBlankCursor() -> SoQtCursor""" - return _soqt.SoQtCursor_getBlankCursor(*args) - - - diff --git a/src/3rdParty/Pivy/sogui.py b/src/3rdParty/Pivy/sogui.py deleted file mode 100644 index 3071618b27..0000000000 --- a/src/3rdParty/Pivy/sogui.py +++ /dev/null @@ -1,108 +0,0 @@ -### -# Copyright (c) 2002-2007 Systems in Motion -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -"""This module provides a proxy class for the different Pivy SoGui bindings. - -The following special variables can be set before this module is imported: - -* SOGUI_DEBUG: if 'True' will print debug output - -* SOGUI_BINDING: allows to specify an SoGui binding (e.g. 'SoQt') explicitly -""" - -import sys - -class SoGui_Proxy: - """Probes for existing SoGui bindings and proxies method - invocations to their SoGui counterparts.""" - - def __init__(self, gui, debug): - self.debug = debug - - # if no binding has been specified check for availability of a known - # one in a defined order SoQt -> SoWin -> SoXt -> SoGtk - if not gui: - try: - sogui = __import__('pivy.gui.soqt').gui.soqt - gui = 'SoQt' - except ImportError: - try: - sogui = __import__('pivy.gui.sowin').gui.sowin - gui = 'SoWin' - except ImportError: - try: - sogui = __import__('pivy.gui.soxt').gui.soxt - gui = 'SoXt' - except ImportError: - try: - sogui = __import__('pivy.gui.sogtk').gui.sogtk - gui = 'SoGtk' - except ImportError: - print 'SoGui proxy error: None of the known Gui bindings were found! Please specify one!' - sys.exit(1) - - # check if object is a user provided string possibly a new unknown SoGui binding. - # try to bind it. - elif type(gui) == type(''): - try: - sogui = __import__('pivy.gui.' + gui.lower()) - except ImportError: - print 'SoGui proxy error: The specified Gui binding could not be bound!' - sys.exit(1) - - # get a handle to our global module dictionary - d = sys.modules[self.__module__].__dict__ - - # add references to the possible classes in the corresponding - # SoGui binding to our global (module) namespace - for suffix in ['Cursor', 'Component', 'GLWidget', 'RenderArea', - 'Viewer', 'FullViewer', 'FlyViewer', 'PlaneViewer', - 'Device', 'Keyboard', 'Mouse', 'Spaceball', - 'ExaminerViewer', 'ConstrainedViewer']: - d['SoGui' + suffix] = eval('sogui.%s%s' % (gui, suffix)) - - self.__gui__ = eval('sogui.' + gui) - - def __getattr__(self, name): - if self.debug: - print 'SoGui_Proxy: __getattr__() called for %s().' % name - return getattr(self.__gui__, name) - - def __repr__(self): - return 'SoGui proxy for ' + `self.__gui__` - - def __hash__(self): - return 0 - - __str__ = __repr__ - - -# look for user overrides in the main dictionary of the interpreter -gui, debug = None, False - -if sys.modules.has_key('__main__'): - try: - debug = sys.modules['__main__'].SOGUI_DEBUG - except AttributeError: - pass - - try: - gui = sys.modules['__main__'].SOGUI_BINDING - except AttributeError: - pass - -# instantiate the proxy -SoGui = SoGui_Proxy(gui, debug) diff --git a/src/3rdParty/Pivy/soqt_wrap.cpp b/src/3rdParty/Pivy/soqt_wrap.cpp deleted file mode 100644 index a1ce8810c6..0000000000 --- a/src/3rdParty/Pivy/soqt_wrap.cpp +++ /dev/null @@ -1,37262 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.33 - * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. - * ----------------------------------------------------------------------------- */ - -#define SWIGPYTHON -#define SWIG_PYTHON_DIRECTOR_NO_VTABLE - -#ifdef _MSC_VER -#pragma warning(disable:4312) -#pragma warning(disable:4311) -#endif - - -#ifdef __cplusplus -template class SwigValueWrapper { - T *tt; -public: - SwigValueWrapper() : tt(0) { } - SwigValueWrapper(const SwigValueWrapper& rhs) : tt(new T(*rhs.tt)) { } - SwigValueWrapper(const T& t) : tt(new T(t)) { } - ~SwigValueWrapper() { delete tt; } - SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } - operator T&() const { return *tt; } - T *operator&() { return tt; } -private: - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); -}; - -template T SwigValueInit() { - return T(); -} -#endif - -/* ----------------------------------------------------------------------------- - * This section contains generic SWIG labels for method/variable - * declarations/attributes, and other compiler dependent labels. - * ----------------------------------------------------------------------------- */ - -/* template workaround for compilers that cannot correctly implement the C++ standard */ -#ifndef SWIGTEMPLATEDISAMBIGUATOR -# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) -# define SWIGTEMPLATEDISAMBIGUATOR template -# elif defined(__HP_aCC) -/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ -/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ -# define SWIGTEMPLATEDISAMBIGUATOR template -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif -#endif - -/* inline attribute */ -#ifndef SWIGINLINE -# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -# else -# define SWIGINLINE -# endif -#endif - -/* attribute recognised by some compilers to avoid 'unused' warnings */ -#ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -#endif - -#ifndef SWIGUNUSEDPARM -# ifdef __cplusplus -# define SWIGUNUSEDPARM(p) -# else -# define SWIGUNUSEDPARM(p) p SWIGUNUSED -# endif -#endif - -/* internal SWIG method */ -#ifndef SWIGINTERN -# define SWIGINTERN static SWIGUNUSED -#endif - -/* internal inline SWIG method */ -#ifndef SWIGINTERNINLINE -# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE -#endif - -/* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY -# endif -#endif - -#ifndef SWIGEXPORT -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT -# else -# define SWIGEXPORT __declspec(dllexport) -# endif -# else -# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) -# define SWIGEXPORT __attribute__ ((visibility("default"))) -# else -# define SWIGEXPORT -# endif -# endif -#endif - -/* calling conventions for Windows */ -#ifndef SWIGSTDCALL -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# define SWIGSTDCALL __stdcall -# else -# define SWIGSTDCALL -# endif -#endif - -/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ -#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif - -/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ -#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) -# define _SCL_SECURE_NO_DEPRECATE -#endif - - - -/* Python.h has to appear first */ -#include - -/* ----------------------------------------------------------------------------- - * swigrun.swg - * - * This file contains generic CAPI SWIG runtime support for pointer - * type checking. - * ----------------------------------------------------------------------------- */ - -/* This should only be incremented when either the layout of swig_type_info changes, - or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "3" - -/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ -#ifdef SWIG_TYPE_TABLE -# define SWIG_QUOTE_STRING(x) #x -# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -# define SWIG_TYPE_TABLE_NAME -#endif - -/* - You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for - creating a static or dynamic library from the swig runtime code. - In 99.9% of the cases, swig just needs to declare them as 'static'. - - But only do this if is strictly necessary, ie, if you have problems - with your compiler or so. -*/ - -#ifndef SWIGRUNTIME -# define SWIGRUNTIME SWIGINTERN -#endif - -#ifndef SWIGRUNTIMEINLINE -# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE -#endif - -/* Generic buffer size */ -#ifndef SWIG_BUFFER_SIZE -# define SWIG_BUFFER_SIZE 1024 -#endif - -/* Flags for pointer conversions */ -#define SWIG_POINTER_DISOWN 0x1 - -/* Flags for new pointer objects */ -#define SWIG_POINTER_OWN 0x1 - - -/* - Flags/methods for returning states. - - The swig conversion methods, as ConvertPtr, return and integer - that tells if the conversion was successful or not. And if not, - an error code can be returned (see swigerrors.swg for the codes). - - Use the following macros/flags to set or process the returning - states. - - In old swig versions, you usually write code as: - - if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { - // success code - } else { - //fail code - } - - Now you can be more explicit as: - - int res = SWIG_ConvertPtr(obj,vptr,ty.flags); - if (SWIG_IsOK(res)) { - // success code - } else { - // fail code - } - - that seems to be the same, but now you can also do - - Type *ptr; - int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); - if (SWIG_IsOK(res)) { - // success code - if (SWIG_IsNewObj(res) { - ... - delete *ptr; - } else { - ... - } - } else { - // fail code - } - - I.e., now SWIG_ConvertPtr can return new objects and you can - identify the case and take care of the deallocation. Of course that - requires also to SWIG_ConvertPtr to return new result values, as - - int SWIG_ConvertPtr(obj, ptr,...) { - if () { - if () { - *ptr = ; - return SWIG_NEWOBJ; - } else { - *ptr = ; - return SWIG_OLDOBJ; - } - } else { - return SWIG_BADOBJ; - } - } - - Of course, returning the plain '0(success)/-1(fail)' still works, but you can be - more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the - swig errors code. - - Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this - - int food(double) - int fooi(int); - - and you call - - food(1) // cast rank '1' (1 -> 1.0) - fooi(1) // cast rank '0' - - just use the SWIG_AddCast()/SWIG_CheckState() - - - */ -#define SWIG_OK (0) -#define SWIG_ERROR (-1) -#define SWIG_IsOK(r) (r >= 0) -#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) - -/* The CastRankLimit says how many bits are used for the cast rank */ -#define SWIG_CASTRANKLIMIT (1 << 8) -/* The NewMask denotes the object was created (using new/malloc) */ -#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) -/* The TmpMask is for in/out typemaps that use temporal objects */ -#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) -/* Simple returning values */ -#define SWIG_BADOBJ (SWIG_ERROR) -#define SWIG_OLDOBJ (SWIG_OK) -#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) -#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ -#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) -#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) -#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) -#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) -#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) -#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) - - -/* Cast-Rank Mode */ -#if defined(SWIG_CASTRANK_MODE) -# ifndef SWIG_TypeRank -# define SWIG_TypeRank unsigned long -# endif -# ifndef SWIG_MAXCASTRANK /* Default cast allowed */ -# define SWIG_MAXCASTRANK (2) -# endif -# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) -# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) -SWIGINTERNINLINE int SWIG_AddCast(int r) { - return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; -} -SWIGINTERNINLINE int SWIG_CheckState(int r) { - return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; -} -#else /* no cast-rank mode */ -# define SWIG_AddCast -# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) -#endif - - - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef void *(*swig_converter_func)(void *); -typedef struct swig_type_info *(*swig_dycast_func)(void **); - -/* Structure to store inforomation on one type */ -typedef struct swig_type_info { - const char *name; /* mangled name of this type */ - const char *str; /* human readable name of this type */ - swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ - struct swig_cast_info *cast; /* linked list of types that can cast into this type */ - void *clientdata; /* language specific type data */ - int owndata; /* flag if the structure owns the clientdata */ -} swig_type_info; - -/* Structure to store a type and conversion function used for casting */ -typedef struct swig_cast_info { - swig_type_info *type; /* pointer to type that is equivalent to this type */ - swig_converter_func converter; /* function to cast the void pointers */ - struct swig_cast_info *next; /* pointer to next cast in linked list */ - struct swig_cast_info *prev; /* pointer to the previous cast */ -} swig_cast_info; - -/* Structure used to store module information - * Each module generates one structure like this, and the runtime collects - * all of these structures and stores them in a circularly linked list.*/ -typedef struct swig_module_info { - swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ - size_t size; /* Number of types in this module */ - struct swig_module_info *next; /* Pointer to next element in circularly linked list */ - swig_type_info **type_initial; /* Array of initially generated type structures */ - swig_cast_info **cast_initial; /* Array of initially generated casting structures */ - void *clientdata; /* Language specific module data */ -} swig_module_info; - -/* - Compare two type names skipping the space characters, therefore - "char*" == "char *" and "Class" == "Class", etc. - - Return 0 when the two name types are equivalent, as in - strncmp, but skipping ' '. -*/ -SWIGRUNTIME int -SWIG_TypeNameComp(const char *f1, const char *l1, - const char *f2, const char *l2) { - for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { - while ((*f1 == ' ') && (f1 != l1)) ++f1; - while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; - } - return (int)((l1 - f1) - (l2 - f2)); -} - -/* - Check type equivalence in a name list like ||... - Return 0 if not equal, 1 if equal -*/ -SWIGRUNTIME int -SWIG_TypeEquiv(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - -/* - Check type equivalence in a name list like ||... - Return 0 if equal, -1 if nb < tb, 1 if nb > tb -*/ -SWIGRUNTIME int -SWIG_TypeCompare(const char *nb, const char *tb) { - int equiv = 0; - const char* te = tb + strlen(tb); - const char* ne = nb; - while (!equiv && *ne) { - for (nb = ne; *ne; ++ne) { - if (*ne == '|') break; - } - equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; - if (*ne) ++ne; - } - return equiv; -} - - -/* think of this as a c++ template<> or a scheme macro */ -#define SWIG_TypeCheck_Template(comparison, ty) \ - if (ty) { \ - swig_cast_info *iter = ty->cast; \ - while (iter) { \ - if (comparison) { \ - if (iter == ty->cast) return iter; \ - /* Move iter to the top of the linked list */ \ - iter->prev->next = iter->next; \ - if (iter->next) \ - iter->next->prev = iter->prev; \ - iter->next = ty->cast; \ - iter->prev = 0; \ - if (ty->cast) ty->cast->prev = iter; \ - ty->cast = iter; \ - return iter; \ - } \ - iter = iter->next; \ - } \ - } \ - return 0 - -/* - Check the typename -*/ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheck(const char *c, swig_type_info *ty) { - SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); -} - -/* Same as previous function, except strcmp is replaced with a pointer comparison */ -SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { - SWIG_TypeCheck_Template(iter->type == from, into); -} - -/* - Cast a pointer up an inheritance hierarchy -*/ -SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_cast_info *ty, void *ptr) { - return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); -} - -/* - Dynamic pointer casting. Down an inheritance hierarchy -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { - swig_type_info *lastty = ty; - if (!ty || !ty->dcast) return ty; - while (ty && (ty->dcast)) { - ty = (*ty->dcast)(ptr); - if (ty) lastty = ty; - } - return lastty; -} - -/* - Return the name associated with this type -*/ -SWIGRUNTIMEINLINE const char * -SWIG_TypeName(const swig_type_info *ty) { - return ty->name; -} - -/* - Return the pretty name associated with this type, - that is an unmangled type name in a form presentable to the user. -*/ -SWIGRUNTIME const char * -SWIG_TypePrettyName(const swig_type_info *type) { - /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ - if (!type) return NULL; - if (type->str != NULL) { - const char *last_name = type->str; - const char *s; - for (s = type->str; *s; s++) - if (*s == '|') last_name = s+1; - return last_name; - } - else - return type->name; -} - -/* - Set the clientdata field for a type -*/ -SWIGRUNTIME void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - swig_cast_info *cast = ti->cast; - /* if (ti->clientdata == clientdata) return; */ - ti->clientdata = clientdata; - - while (cast) { - if (!cast->converter) { - swig_type_info *tc = cast->type; - if (!tc->clientdata) { - SWIG_TypeClientData(tc, clientdata); - } - } - cast = cast->next; - } -} -SWIGRUNTIME void -SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientData(ti, clientdata); - ti->owndata = 1; -} - -/* - Search for a swig_type_info structure only by mangled name - Search is a O(log #types) - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_MangledTypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - swig_module_info *iter = start; - do { - if (iter->size) { - register size_t l = 0; - register size_t r = iter->size - 1; - do { - /* since l+r >= 0, we can (>> 1) instead (/ 2) */ - register size_t i = (l + r) >> 1; - const char *iname = iter->types[i]->name; - if (iname) { - register int compare = strcmp(name, iname); - if (compare == 0) { - return iter->types[i]; - } else if (compare < 0) { - if (i) { - r = i - 1; - } else { - break; - } - } else if (compare > 0) { - l = i + 1; - } - } else { - break; /* should never happen */ - } - } while (l <= r); - } - iter = iter->next; - } while (iter != end); - return 0; -} - -/* - Search for a swig_type_info structure for either a mangled name or a human readable name. - It first searches the mangled names of the types, which is a O(log #types) - If a type is not found it then searches the human readable names, which is O(#types). - - We start searching at module start, and finish searching when start == end. - Note: if start == end at the beginning of the function, we go all the way around - the circular list. -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryModule(swig_module_info *start, - swig_module_info *end, - const char *name) { - /* STEP 1: Search the name field using binary search */ - swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); - if (ret) { - return ret; - } else { - /* STEP 2: If the type hasn't been found, do a complete search - of the str field (the human readable name) */ - swig_module_info *iter = start; - do { - register size_t i = 0; - for (; i < iter->size; ++i) { - if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) - return iter->types[i]; - } - iter = iter->next; - } while (iter != end); - } - - /* neither found a match */ - return 0; -} - -/* - Pack binary data into a string -*/ -SWIGRUNTIME char * -SWIG_PackData(char *c, void *ptr, size_t sz) { - static const char hex[17] = "0123456789abcdef"; - register const unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register unsigned char uu = *u; - *(c++) = hex[(uu & 0xf0) >> 4]; - *(c++) = hex[uu & 0xf]; - } - return c; -} - -/* - Unpack binary data from a string -*/ -SWIGRUNTIME const char * -SWIG_UnpackData(const char *c, void *ptr, size_t sz) { - register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; - for (; u != eu; ++u) { - register char d = *(c++); - register unsigned char uu; - if ((d >= '0') && (d <= '9')) - uu = ((d - '0') << 4); - else if ((d >= 'a') && (d <= 'f')) - uu = ((d - ('a'-10)) << 4); - else - return (char *) 0; - d = *(c++); - if ((d >= '0') && (d <= '9')) - uu |= (d - '0'); - else if ((d >= 'a') && (d <= 'f')) - uu |= (d - ('a'-10)); - else - return (char *) 0; - *u = uu; - } - return c; -} - -/* - Pack 'void *' into a string buffer. -*/ -SWIGRUNTIME char * -SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { - char *r = buff; - if ((2*sizeof(void *) + 2) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,&ptr,sizeof(void *)); - if (strlen(name) + 1 > (bsz - (r - buff))) return 0; - strcpy(r,name); - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - *ptr = (void *) 0; - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sizeof(void *)); -} - -SWIGRUNTIME char * -SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { - char *r = buff; - size_t lname = (name ? strlen(name) : 0); - if ((2*sz + 2 + lname) > bsz) return 0; - *(r++) = '_'; - r = SWIG_PackData(r,ptr,sz); - if (lname) { - strncpy(r,name,lname+1); - } else { - *r = 0; - } - return buff; -} - -SWIGRUNTIME const char * -SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { - if (*c != '_') { - if (strcmp(c,"NULL") == 0) { - memset(ptr,0,sz); - return name; - } else { - return 0; - } - } - return SWIG_UnpackData(++c,ptr,sz); -} - -#ifdef __cplusplus -} -#endif - -/* Errors in SWIG */ -#define SWIG_UnknownError -1 -#define SWIG_IOError -2 -#define SWIG_RuntimeError -3 -#define SWIG_IndexError -4 -#define SWIG_TypeError -5 -#define SWIG_DivisionByZero -6 -#define SWIG_OverflowError -7 -#define SWIG_SyntaxError -8 -#define SWIG_ValueError -9 -#define SWIG_SystemError -10 -#define SWIG_AttributeError -11 -#define SWIG_MemoryError -12 -#define SWIG_NullReferenceError -13 - - - - -/* Add PyOS_snprintf for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) -# define PyOS_snprintf _snprintf -# else -# define PyOS_snprintf snprintf -# endif -#endif - -/* A crude PyString_FromFormat implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 - -#ifndef SWIG_PYBUFFER_SIZE -# define SWIG_PYBUFFER_SIZE 1024 -#endif - -static PyObject * -PyString_FromFormat(const char *fmt, ...) { - va_list ap; - char buf[SWIG_PYBUFFER_SIZE * 2]; - int res; - va_start(ap, fmt); - res = vsnprintf(buf, sizeof(buf), fmt, ap); - va_end(ap); - return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); -} -#endif - -/* Add PyObject_Del for old Pythons */ -#if PY_VERSION_HEX < 0x01060000 -# define PyObject_Del(op) PyMem_DEL((op)) -#endif -#ifndef PyObject_DEL -# define PyObject_DEL PyObject_Del -#endif - -/* A crude PyExc_StopIteration exception for old Pythons */ -#if PY_VERSION_HEX < 0x02020000 -# ifndef PyExc_StopIteration -# define PyExc_StopIteration PyExc_RuntimeError -# endif -# ifndef PyObject_GenericGetAttr -# define PyObject_GenericGetAttr 0 -# endif -#endif -/* Py_NotImplemented is defined in 2.1 and up. */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef Py_NotImplemented -# define Py_NotImplemented PyExc_RuntimeError -# endif -#endif - - -/* A crude PyString_AsStringAndSize implementation for old Pythons */ -#if PY_VERSION_HEX < 0x02010000 -# ifndef PyString_AsStringAndSize -# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} -# endif -#endif - -/* PySequence_Size for old Pythons */ -#if PY_VERSION_HEX < 0x02000000 -# ifndef PySequence_Size -# define PySequence_Size PySequence_Length -# endif -#endif - - -/* PyBool_FromLong for old Pythons */ -#if PY_VERSION_HEX < 0x02030000 -static -PyObject *PyBool_FromLong(long ok) -{ - PyObject *result = ok ? Py_True : Py_False; - Py_INCREF(result); - return result; -} -#endif - -/* Py_ssize_t for old Pythons */ -/* This code is as recommended by: */ -/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ -#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) -typedef int Py_ssize_t; -# define PY_SSIZE_T_MAX INT_MAX -# define PY_SSIZE_T_MIN INT_MIN -#endif - -/* ----------------------------------------------------------------------------- - * error manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIME PyObject* -SWIG_Python_ErrorType(int code) { - PyObject* type = 0; - switch(code) { - case SWIG_MemoryError: - type = PyExc_MemoryError; - break; - case SWIG_IOError: - type = PyExc_IOError; - break; - case SWIG_RuntimeError: - type = PyExc_RuntimeError; - break; - case SWIG_IndexError: - type = PyExc_IndexError; - break; - case SWIG_TypeError: - type = PyExc_TypeError; - break; - case SWIG_DivisionByZero: - type = PyExc_ZeroDivisionError; - break; - case SWIG_OverflowError: - type = PyExc_OverflowError; - break; - case SWIG_SyntaxError: - type = PyExc_SyntaxError; - break; - case SWIG_ValueError: - type = PyExc_ValueError; - break; - case SWIG_SystemError: - type = PyExc_SystemError; - break; - case SWIG_AttributeError: - type = PyExc_AttributeError; - break; - default: - type = PyExc_RuntimeError; - } - return type; -} - - -SWIGRUNTIME void -SWIG_Python_AddErrorMsg(const char* mesg) -{ - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - - if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - PyErr_Clear(); - Py_XINCREF(type); - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - Py_DECREF(old_str); - Py_DECREF(value); - } else { - PyErr_Format(PyExc_RuntimeError, mesg); - } -} - - - -#if defined(SWIG_PYTHON_NO_THREADS) -# if defined(SWIG_PYTHON_THREADS) -# undef SWIG_PYTHON_THREADS -# endif -#endif -#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ -# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) -# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ -# define SWIG_PYTHON_USE_GIL -# endif -# endif -# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# ifndef SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() -# endif -# ifdef __cplusplus /* C++ code */ - class SWIG_Python_Thread_Block { - bool status; - PyGILState_STATE state; - public: - void end() { if (status) { PyGILState_Release(state); status = false;} } - SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} - ~SWIG_Python_Thread_Block() { end(); } - }; - class SWIG_Python_Thread_Allow { - bool status; - PyThreadState *save; - public: - void end() { if (status) { PyEval_RestoreThread(save); status = false; }} - SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} - ~SWIG_Python_Thread_Allow() { end(); } - }; -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block -# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow -# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() -# else /* C code */ -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() -# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() -# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) -# endif -# else /* Old thread way, not implemented, user must provide it */ -# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) -# define SWIG_PYTHON_INITIALIZE_THREADS -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_END_BLOCK) -# define SWIG_PYTHON_THREAD_END_BLOCK -# endif -# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# endif -# if !defined(SWIG_PYTHON_THREAD_END_ALLOW) -# define SWIG_PYTHON_THREAD_END_ALLOW -# endif -# endif -#else /* No thread support */ -# define SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_THREAD_BEGIN_BLOCK -# define SWIG_PYTHON_THREAD_END_BLOCK -# define SWIG_PYTHON_THREAD_BEGIN_ALLOW -# define SWIG_PYTHON_THREAD_END_ALLOW -#endif - -/* ----------------------------------------------------------------------------- - * Python API portion that goes into the runtime - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* ----------------------------------------------------------------------------- - * Constant declarations - * ----------------------------------------------------------------------------- */ - -/* Constant Types */ -#define SWIG_PY_POINTER 4 -#define SWIG_PY_BINARY 5 - -/* Constant information structure */ -typedef struct swig_const_info { - int type; - char *name; - long lvalue; - double dvalue; - void *pvalue; - swig_type_info **ptype; -} swig_const_info; - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - -/* ----------------------------------------------------------------------------- - * See the LICENSE file for information on copyright, usage and redistribution - * of SWIG, and the README file for authors - http://www.swig.org/release.html. - * - * pyrun.swg - * - * This file contains the runtime support for Python modules - * and includes code for managing global variables and pointer - * type checking. - * - * ----------------------------------------------------------------------------- */ - -/* Common SWIG API */ - -/* for raw pointers */ -#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) -#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) -#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) -#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) -#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) -#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) -#define swig_owntype int - -/* for raw packed data */ -#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - -/* for class or struct pointers */ -#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) -#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) - -/* for C or C++ function pointers */ -#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) -#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) - -/* for C++ member pointers, ie, member methods */ -#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) -#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) - - -/* Runtime API */ - -#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() -#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) -#define SWIG_NewClientData(obj) PySwigClientData_New(obj) - -#define SWIG_SetErrorObj SWIG_Python_SetErrorObj -#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg -#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) -#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) -#define SWIG_fail goto fail - - -/* Runtime API implementation */ - -/* Error manipulation */ - -SWIGINTERN void -SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetObject(errtype, obj); - Py_DECREF(obj); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -SWIGINTERN void -SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { - SWIG_PYTHON_THREAD_BEGIN_BLOCK; - PyErr_SetString(errtype, (char *) msg); - SWIG_PYTHON_THREAD_END_BLOCK; -} - -#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) - -/* Set a constant value */ - -SWIGINTERN void -SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { - PyDict_SetItemString(d, (char*) name, obj); - Py_DECREF(obj); -} - -/* Append a value to the result obj */ - -SWIGINTERN PyObject* -SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { -#if !defined(SWIG_PYTHON_OUTPUT_TUPLE) - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyList_Check(result)) { - PyObject *o2 = result; - result = PyList_New(1); - PyList_SetItem(result, 0, o2); - } - PyList_Append(result,obj); - Py_DECREF(obj); - } - return result; -#else - PyObject* o2; - PyObject* o3; - if (!result) { - result = obj; - } else if (result == Py_None) { - Py_DECREF(result); - result = obj; - } else { - if (!PyTuple_Check(result)) { - o2 = result; - result = PyTuple_New(1); - PyTuple_SET_ITEM(result, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SET_ITEM(o3, 0, obj); - o2 = result; - result = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return result; -#endif -} - -/* Unpack the argument tuple */ - -SWIGINTERN int -SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) -{ - if (!args) { - if (!min && !max) { - return 1; - } else { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", - name, (min == max ? "" : "at least "), (int)min); - return 0; - } - } - if (!PyTuple_Check(args)) { - PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); - return 0; - } else { - register Py_ssize_t l = PyTuple_GET_SIZE(args); - if (l < min) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at least "), (int)min, (int)l); - return 0; - } else if (l > max) { - PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", - name, (min == max ? "" : "at most "), (int)max, (int)l); - return 0; - } else { - register int i; - for (i = 0; i < l; ++i) { - objs[i] = PyTuple_GET_ITEM(args, i); - } - for (; l < max; ++l) { - objs[l] = 0; - } - return i + 1; - } - } -} - -/* A functor is a function object with one single object argument */ -#if PY_VERSION_HEX >= 0x02020000 -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); -#else -#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); -#endif - -/* - Helper for static pointer initialization for both C and C++ code, for example - static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); -*/ -#ifdef __cplusplus -#define SWIG_STATIC_POINTER(var) var -#else -#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var -#endif - -/* ----------------------------------------------------------------------------- - * Pointer declarations - * ----------------------------------------------------------------------------- */ - -/* Flags for new pointer objects */ -#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) -#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) - -#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* cc-mode */ -#endif -#endif - -/* How to access Py_None */ -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# ifndef SWIG_PYTHON_NO_BUILD_NONE -# ifndef SWIG_PYTHON_BUILD_NONE -# define SWIG_PYTHON_BUILD_NONE -# endif -# endif -#endif - -#ifdef SWIG_PYTHON_BUILD_NONE -# ifdef Py_None -# undef Py_None -# define Py_None SWIG_Py_None() -# endif -SWIGRUNTIMEINLINE PyObject * -_SWIG_Py_None(void) -{ - PyObject *none = Py_BuildValue((char*)""); - Py_DECREF(none); - return none; -} -SWIGRUNTIME PyObject * -SWIG_Py_None(void) -{ - static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); - return none; -} -#endif - -/* The python void return value */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Py_Void(void) -{ - PyObject *none = Py_None; - Py_INCREF(none); - return none; -} - -/* PySwigClientData */ - -typedef struct { - PyObject *klass; - PyObject *newraw; - PyObject *newargs; - PyObject *destroy; - int delargs; - int implicitconv; -} PySwigClientData; - -SWIGRUNTIMEINLINE int -SWIG_Python_CheckImplicit(swig_type_info *ty) -{ - PySwigClientData *data = (PySwigClientData *)ty->clientdata; - return data ? data->implicitconv : 0; -} - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_ExceptionType(swig_type_info *desc) { - PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; - PyObject *klass = data ? data->klass : 0; - return (klass ? klass : PyExc_RuntimeError); -} - - -SWIGRUNTIME PySwigClientData * -PySwigClientData_New(PyObject* obj) -{ - if (!obj) { - return 0; - } else { - PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); - /* the klass element */ - data->klass = obj; - Py_INCREF(data->klass); - /* the newraw method and newargs arguments used to create a new raw instance */ - if (PyClass_Check(obj)) { - data->newraw = 0; - data->newargs = obj; - Py_INCREF(obj); - } else { -#if (PY_VERSION_HEX < 0x02020000) - data->newraw = 0; -#else - data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); -#endif - if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); - } else { - data->newargs = obj; - } - Py_INCREF(data->newargs); - } - /* the destroy method, aka as the C++ delete method */ - data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); - if (PyErr_Occurred()) { - PyErr_Clear(); - data->destroy = 0; - } - if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); -#ifdef METH_O - data->delargs = !(flags & (METH_O)); -#else - data->delargs = 0; -#endif - } else { - data->delargs = 0; - } - data->implicitconv = 0; - return data; - } -} - -SWIGRUNTIME void -PySwigClientData_Del(PySwigClientData* data) -{ - Py_XDECREF(data->newraw); - Py_XDECREF(data->newargs); - Py_XDECREF(data->destroy); -} - -/* =============== PySwigObject =====================*/ - -typedef struct { - PyObject_HEAD - void *ptr; - swig_type_info *ty; - int own; - PyObject *next; -} PySwigObject; - -SWIGRUNTIME PyObject * -PySwigObject_long(PySwigObject *v) -{ - return PyLong_FromVoidPtr(v->ptr); -} - -SWIGRUNTIME PyObject * -PySwigObject_format(const char* fmt, PySwigObject *v) -{ - PyObject *res = NULL; - PyObject *args = PyTuple_New(1); - if (args) { - if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { - PyObject *ofmt = PyString_FromString(fmt); - if (ofmt) { - res = PyString_Format(ofmt,args); - Py_DECREF(ofmt); - } - Py_DECREF(args); - } - } - return res; -} - -SWIGRUNTIME PyObject * -PySwigObject_oct(PySwigObject *v) -{ - return PySwigObject_format("%o",v); -} - -SWIGRUNTIME PyObject * -PySwigObject_hex(PySwigObject *v) -{ - return PySwigObject_format("%x",v); -} - -SWIGRUNTIME PyObject * -#ifdef METH_NOARGS -PySwigObject_repr(PySwigObject *v) -#else -PySwigObject_repr(PySwigObject *v, PyObject *args) -#endif -{ - const char *name = SWIG_TypePrettyName(v->ty); - PyObject *hex = PySwigObject_hex(v); - PyObject *repr = PyString_FromFormat("", name, PyString_AsString(hex)); - Py_DECREF(hex); - if (v->next) { -#ifdef METH_NOARGS - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); -#else - PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); -#endif - PyString_ConcatAndDel(&repr,nrep); - } - return repr; -} - -SWIGRUNTIME int -PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ -#ifdef METH_NOARGS - PyObject *repr = PySwigObject_repr(v); -#else - PyObject *repr = PySwigObject_repr(v, NULL); -#endif - if (repr) { - fputs(PyString_AsString(repr), fp); - Py_DECREF(repr); - return 0; - } else { - return 1; - } -} - -SWIGRUNTIME PyObject * -PySwigObject_str(PySwigObject *v) -{ - char result[SWIG_BUFFER_SIZE]; - return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? - PyString_FromString(result) : 0; -} - -SWIGRUNTIME int -PySwigObject_compare(PySwigObject *v, PySwigObject *w) -{ - void *i = v->ptr; - void *j = w->ptr; - return (i < j) ? -1 : ((i > j) ? 1 : 0); -} - -SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigObject_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own); - -SWIGRUNTIME void -PySwigObject_dealloc(PyObject *v) -{ - PySwigObject *sobj = (PySwigObject *) v; - PyObject *next = sobj->next; - if (sobj->own) { - swig_type_info *ty = sobj->ty; - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - PyObject *destroy = data ? data->destroy : 0; - if (destroy) { - /* destroy is always a VARARGS method */ - PyObject *res; - if (data->delargs) { - /* we need to create a temporal object to carry the destroy operation */ - PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); - } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); - } - Py_XDECREF(res); - } else { - const char *name = SWIG_TypePrettyName(ty); -#if !defined(SWIG_PYTHON_SILENT_MEMLEAK) - printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); -#endif - } - } - Py_XDECREF(next); - PyObject_DEL(v); -} - -SWIGRUNTIME PyObject* -PySwigObject_append(PyObject* v, PyObject* next) -{ - PySwigObject *sobj = (PySwigObject *) v; -#ifndef METH_O - PyObject *tmp = 0; - if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; - next = tmp; -#endif - if (!PySwigObject_Check(next)) { - return NULL; - } - sobj->next = next; - Py_INCREF(next); - return SWIG_Py_Void(); -} - -SWIGRUNTIME PyObject* -#ifdef METH_NOARGS -PySwigObject_next(PyObject* v) -#else -PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *) v; - if (sobj->next) { - Py_INCREF(sobj->next); - return sobj->next; - } else { - return SWIG_Py_Void(); - } -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_disown(PyObject *v) -#else -PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = 0; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -#ifdef METH_NOARGS -PySwigObject_acquire(PyObject *v) -#else -PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) -#endif -{ - PySwigObject *sobj = (PySwigObject *)v; - sobj->own = SWIG_POINTER_OWN; - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject* -PySwigObject_own(PyObject *v, PyObject *args) -{ - PyObject *val = 0; -#if (PY_VERSION_HEX < 0x02020000) - if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) -#else - if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) -#endif - { - return NULL; - } - else - { - PySwigObject *sobj = (PySwigObject *)v; - PyObject *obj = PyBool_FromLong(sobj->own); - if (val) { -#ifdef METH_NOARGS - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v); - } else { - PySwigObject_disown(v); - } -#else - if (PyObject_IsTrue(val)) { - PySwigObject_acquire(v,args); - } else { - PySwigObject_disown(v,args); - } -#endif - } - return obj; - } -} - -#ifdef METH_O -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#else -static PyMethodDef -swigobject_methods[] = { - {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, - {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, - {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, - {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, - {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, - {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, - {0, 0, 0, 0} -}; -#endif - -#if PY_VERSION_HEX < 0x02020000 -SWIGINTERN PyObject * -PySwigObject_getattr(PySwigObject *sobj,char *name) -{ - return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); -} -#endif - -SWIGRUNTIME PyTypeObject* -_PySwigObject_type(void) { - static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; - - static PyNumberMethods PySwigObject_as_number = { - (binaryfunc)0, /*nb_add*/ - (binaryfunc)0, /*nb_subtract*/ - (binaryfunc)0, /*nb_multiply*/ - (binaryfunc)0, /*nb_divide*/ - (binaryfunc)0, /*nb_remainder*/ - (binaryfunc)0, /*nb_divmod*/ - (ternaryfunc)0,/*nb_power*/ - (unaryfunc)0, /*nb_negative*/ - (unaryfunc)0, /*nb_positive*/ - (unaryfunc)0, /*nb_absolute*/ - (inquiry)0, /*nb_nonzero*/ - 0, /*nb_invert*/ - 0, /*nb_lshift*/ - 0, /*nb_rshift*/ - 0, /*nb_and*/ - 0, /*nb_xor*/ - 0, /*nb_or*/ - (coercion)0, /*nb_coerce*/ - (unaryfunc)PySwigObject_long, /*nb_int*/ - (unaryfunc)PySwigObject_long, /*nb_long*/ - (unaryfunc)0, /*nb_float*/ - (unaryfunc)PySwigObject_oct, /*nb_oct*/ - (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ -#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ -#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ - 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ -#endif - }; - - static PyTypeObject pyswigobject_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigObject", /* tp_name */ - sizeof(PySwigObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigObject_dealloc, /* tp_dealloc */ - (printfunc)PySwigObject_print, /* tp_print */ -#if PY_VERSION_HEX < 0x02020000 - (getattrfunc)PySwigObject_getattr, /* tp_getattr */ -#else - (getattrfunc)0, /* tp_getattr */ -#endif - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigObject_compare, /* tp_compare */ - (reprfunc)PySwigObject_repr, /* tp_repr */ - &PySwigObject_as_number, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigObject_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigobject_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - swigobject_methods, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigobject_type = tmp; - pyswigobject_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigobject_type; -} - -SWIGRUNTIME PyObject * -PySwigObject_New(void *ptr, swig_type_info *ty, int own) -{ - PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); - if (sobj) { - sobj->ptr = ptr; - sobj->ty = ty; - sobj->own = own; - sobj->next = 0; - } - return (PyObject *)sobj; -} - -/* ----------------------------------------------------------------------------- - * Implements a simple Swig Packed type, and use it instead of string - * ----------------------------------------------------------------------------- */ - -typedef struct { - PyObject_HEAD - void *pack; - swig_type_info *ty; - size_t size; -} PySwigPacked; - -SWIGRUNTIME int -PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) -{ - char result[SWIG_BUFFER_SIZE]; - fputs("pack, v->size, 0, sizeof(result))) { - fputs("at ", fp); - fputs(result, fp); - } - fputs(v->ty->name,fp); - fputs(">", fp); - return 0; -} - -SWIGRUNTIME PyObject * -PySwigPacked_repr(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { - return PyString_FromFormat("", result, v->ty->name); - } else { - return PyString_FromFormat("", v->ty->name); - } -} - -SWIGRUNTIME PyObject * -PySwigPacked_str(PySwigPacked *v) -{ - char result[SWIG_BUFFER_SIZE]; - if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ - return PyString_FromFormat("%s%s", result, v->ty->name); - } else { - return PyString_FromString(v->ty->name); - } -} - -SWIGRUNTIME int -PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) -{ - size_t i = v->size; - size_t j = w->size; - int s = (i < j) ? -1 : ((i > j) ? 1 : 0); - return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); -} - -SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); - -SWIGRUNTIME PyTypeObject* -PySwigPacked_type(void) { - static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); - return type; -} - -SWIGRUNTIMEINLINE int -PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == _PySwigPacked_type()) - || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); -} - -SWIGRUNTIME void -PySwigPacked_dealloc(PyObject *v) -{ - if (PySwigPacked_Check(v)) { - PySwigPacked *sobj = (PySwigPacked *) v; - free(sobj->pack); - } - PyObject_DEL(v); -} - -SWIGRUNTIME PyTypeObject* -_PySwigPacked_type(void) { - static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; - static PyTypeObject pyswigpacked_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - (char *)"PySwigPacked", /* tp_name */ - sizeof(PySwigPacked), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor)PySwigPacked_dealloc, /* tp_dealloc */ - (printfunc)PySwigPacked_print, /* tp_print */ - (getattrfunc)0, /* tp_getattr */ - (setattrfunc)0, /* tp_setattr */ - (cmpfunc)PySwigPacked_compare, /* tp_compare */ - (reprfunc)PySwigPacked_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - (hashfunc)0, /* tp_hash */ - (ternaryfunc)0, /* tp_call */ - (reprfunc)PySwigPacked_str, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT, /* tp_flags */ - swigpacked_doc, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - 0, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - 0, /* tp_new */ - 0, /* tp_free */ - 0, /* tp_is_gc */ - 0, /* tp_bases */ - 0, /* tp_mro */ - 0, /* tp_cache */ - 0, /* tp_subclasses */ - 0, /* tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - pyswigpacked_type = tmp; - pyswigpacked_type.ob_type = &PyType_Type; - type_init = 1; - } - return &pyswigpacked_type; -} - -SWIGRUNTIME PyObject * -PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) -{ - PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); - if (sobj) { - void *pack = malloc(size); - if (pack) { - memcpy(pack, ptr, size); - sobj->pack = pack; - sobj->ty = ty; - sobj->size = size; - } else { - PyObject_DEL((PyObject *) sobj); - sobj = 0; - } - } - return (PyObject *) sobj; -} - -SWIGRUNTIME swig_type_info * -PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) -{ - if (PySwigPacked_Check(obj)) { - PySwigPacked *sobj = (PySwigPacked *)obj; - if (sobj->size != size) return 0; - memcpy(ptr, sobj->pack, size); - return sobj->ty; - } else { - return 0; - } -} - -/* ----------------------------------------------------------------------------- - * pointers/data manipulation - * ----------------------------------------------------------------------------- */ - -SWIGRUNTIMEINLINE PyObject * -_SWIG_This(void) -{ - return PyString_FromString("this"); -} - -SWIGRUNTIME PyObject * -SWIG_This(void) -{ - static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); - return swig_this; -} - -/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ - -SWIGRUNTIME PySwigObject * -SWIG_Python_GetSwigThis(PyObject *pyobj) -{ - if (PySwigObject_Check(pyobj)) { - return (PySwigObject *) pyobj; - } else { - PyObject *obj = 0; -#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) - if (PyInstance_Check(pyobj)) { - obj = _PyInstance_Lookup(pyobj, SWIG_This()); - } else { - PyObject **dictptr = _PyObject_GetDictPtr(pyobj); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; - } else { -#ifdef PyWeakref_CheckProxy - if (PyWeakref_CheckProxy(pyobj)) { - PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); - return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; - } -#endif - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } - } - } -#else - obj = PyObject_GetAttr(pyobj,SWIG_This()); - if (obj) { - Py_DECREF(obj); - } else { - if (PyErr_Occurred()) PyErr_Clear(); - return 0; - } -#endif - if (obj && !PySwigObject_Check(obj)) { - /* a PyObject is called 'this', try to get the 'real this' - PySwigObject from it */ - return SWIG_Python_GetSwigThis(obj); - } - return (PySwigObject *)obj; - } -} - -/* Acquire a pointer value */ - -SWIGRUNTIME int -SWIG_Python_AcquirePtr(PyObject *obj, int own) { - if (own) { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - if (sobj) { - int oldown = sobj->own; - sobj->own = own; - return oldown; - } - } - return 0; -} - -/* Convert a pointer value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { - if (!obj) return SWIG_ERROR; - if (obj == Py_None) { - if (ptr) *ptr = 0; - return SWIG_OK; - } else { - PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); - while (sobj) { - void *vptr = sobj->ptr; - if (ty) { - swig_type_info *to = sobj->ty; - if (to == ty) { - /* no type cast needed */ - if (ptr) *ptr = vptr; - break; - } else { - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) { - sobj = (PySwigObject *)sobj->next; - } else { - if (ptr) *ptr = SWIG_TypeCast(tc,vptr); - break; - } - } - } else { - if (ptr) *ptr = vptr; - break; - } - } - if (sobj) { - if (own) *own = sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; - } - return SWIG_OK; - } else { - int res = SWIG_ERROR; - if (flags & SWIG_POINTER_IMPLICIT_CONV) { - PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; - if (data && !data->implicitconv) { - PyObject *klass = data->klass; - if (klass) { - PyObject *impconv; - data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ - impconv = SWIG_Python_CallFunctor(klass, obj); - data->implicitconv = 0; - if (PyErr_Occurred()) { - PyErr_Clear(); - impconv = 0; - } - if (impconv) { - PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); - if (iobj) { - void *vptr; - res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); - if (SWIG_IsOK(res)) { - if (ptr) { - *ptr = vptr; - /* transfer the ownership to 'ptr' */ - iobj->own = 0; - res = SWIG_AddCast(res); - res = SWIG_AddNewMask(res); - } else { - res = SWIG_AddCast(res); - } - } - } - Py_DECREF(impconv); - } - } - } - } - return res; - } - } -} - -/* Convert a function ptr value */ - -SWIGRUNTIME int -SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { - if (!PyCFunction_Check(obj)) { - return SWIG_ConvertPtr(obj, ptr, ty, 0); - } else { - void *vptr = 0; - - /* here we get the method pointer for callbacks */ - const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); - const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; - if (desc) { - desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; - if (!desc) return SWIG_ERROR; - } - if (ty) { - swig_cast_info *tc = SWIG_TypeCheck(desc,ty); - if (!tc) return SWIG_ERROR; - *ptr = SWIG_TypeCast(tc,vptr); - } else { - *ptr = vptr; - } - return SWIG_OK; - } -} - -/* Convert a packed value value */ - -SWIGRUNTIME int -SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { - swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); - if (!to) return SWIG_ERROR; - if (ty) { - if (to != ty) { - /* check type cast? */ - swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); - if (!tc) return SWIG_ERROR; - } - } - return SWIG_OK; -} - -/* ----------------------------------------------------------------------------- - * Create a new pointer object - * ----------------------------------------------------------------------------- */ - -/* - Create a new instance object, whitout calling __init__, and set the - 'this' attribute. -*/ - -SWIGRUNTIME PyObject* -SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) -{ -#if (PY_VERSION_HEX >= 0x02020000) - PyObject *inst = 0; - PyObject *newraw = data->newraw; - if (newraw) { - inst = PyObject_Call(newraw, data->newargs, NULL); - if (inst) { -#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } - } -#else - PyObject *key = SWIG_This(); - PyObject_SetAttr(inst, key, swig_this); -#endif - } - } else { - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - } - return inst; -#else -#if (PY_VERSION_HEX >= 0x02010000) - PyObject *inst; - PyObject *dict = PyDict_New(); - PyDict_SetItem(dict, SWIG_This(), swig_this); - inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); - return (PyObject *) inst; -#else - PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); - if (inst == NULL) { - return NULL; - } - inst->in_class = (PyClassObject *)data->newargs; - Py_INCREF(inst->in_class); - inst->in_dict = PyDict_New(); - if (inst->in_dict == NULL) { - Py_DECREF(inst); - return NULL; - } -#ifdef Py_TPFLAGS_HAVE_WEAKREFS - inst->in_weakreflist = NULL; -#endif -#ifdef Py_TPFLAGS_GC - PyObject_GC_Init(inst); -#endif - PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); - return (PyObject *) inst; -#endif -#endif -} - -SWIGRUNTIME void -SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) -{ - PyObject *dict; -#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - PyDict_SetItem(dict, SWIG_This(), swig_this); - return; - } -#endif - dict = PyObject_GetAttrString(inst, (char*)"__dict__"); - PyDict_SetItem(dict, SWIG_This(), swig_this); - Py_DECREF(dict); -} - - -SWIGINTERN PyObject * -SWIG_Python_InitShadowInstance(PyObject *args) { - PyObject *obj[2]; - if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { - return NULL; - } else { - PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); - if (sthis) { - PySwigObject_append((PyObject*) sthis, obj[1]); - } else { - SWIG_Python_SetSwigThis(obj[0], obj[1]); - } - return SWIG_Py_Void(); - } -} - -/* Create a new pointer object */ - -SWIGRUNTIME PyObject * -SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { - if (!ptr) { - return SWIG_Py_Void(); - } else { - int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; - PyObject *robj = PySwigObject_New(ptr, type, own); - PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; - if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { - PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); - if (inst) { - Py_DECREF(robj); - robj = inst; - } - } - return robj; - } -} - -/* Create a new packed object */ - -SWIGRUNTIMEINLINE PyObject * -SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { - return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); -} - -/* -----------------------------------------------------------------------------* - * Get type list - * -----------------------------------------------------------------------------*/ - -#ifdef SWIG_LINK_RUNTIME -void *SWIG_ReturnGlobalTypeList(void *); -#endif - -SWIGRUNTIME swig_module_info * -SWIG_Python_GetModule(void) { - static void *type_pointer = (void *)0; - /* first check if module already created */ - if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME - type_pointer = SWIG_ReturnGlobalTypeList((void *)0); -#else - type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif - } - return (swig_module_info *) type_pointer; -} - -#if PY_MAJOR_VERSION < 2 -/* PyModule_AddObject function was introduced in Python 2.0. The following function - is copied out of Python/modsupport.c in python version 2.3.4 */ -SWIGINTERN int -PyModule_AddObject(PyObject *m, char *name, PyObject *o) -{ - PyObject *dict; - if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs module as first arg"); - return SWIG_ERROR; - } - if (!o) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs non-NULL value"); - return SWIG_ERROR; - } - - dict = PyModule_GetDict(m); - if (dict == NULL) { - /* Internal error -- modules must have a dict! */ - PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", - PyModule_GetName(m)); - return SWIG_ERROR; - } - if (PyDict_SetItemString(dict, name, o)) - return SWIG_ERROR; - Py_DECREF(o); - return SWIG_OK; -} -#endif - -SWIGRUNTIME void -SWIG_Python_DestroyModule(void *vptr) -{ - swig_module_info *swig_module = (swig_module_info *) vptr; - swig_type_info **types = swig_module->types; - size_t i; - for (i =0; i < swig_module->size; ++i) { - swig_type_info *ty = types[i]; - if (ty->owndata) { - PySwigClientData *data = (PySwigClientData *) ty->clientdata; - if (data) PySwigClientData_Del(data); - } - } - Py_DECREF(SWIG_This()); -} - -SWIGRUNTIME void -SWIG_Python_SetModule(swig_module_info *swig_module) { - static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ - - PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - swig_empty_runtime_method_table); - PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); - if (pointer && module) { - PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); - } else { - Py_XDECREF(pointer); - } -} - -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - -SWIGRUNTIME swig_type_info * -SWIG_Python_TypeQuery(const char *type) -{ - PyObject *cache = SWIG_Python_TypeCache(); - PyObject *key = PyString_FromString(type); - PyObject *obj = PyDict_GetItem(cache, key); - swig_type_info *descriptor; - if (obj) { - descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); - } else { - swig_module_info *swig_module = SWIG_Python_GetModule(); - descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); - if (descriptor) { - obj = PyCObject_FromVoidPtr(descriptor, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } - } - Py_DECREF(key); - return descriptor; -} - -/* - For backward compatibility only -*/ -#define SWIG_POINTER_EXCEPTION 0 -#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) -#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) - -SWIGRUNTIME int -SWIG_Python_AddErrMesg(const char* mesg, int infront) -{ - if (PyErr_Occurred()) { - PyObject *type = 0; - PyObject *value = 0; - PyObject *traceback = 0; - PyErr_Fetch(&type, &value, &traceback); - if (value) { - PyObject *old_str = PyObject_Str(value); - Py_XINCREF(type); - PyErr_Clear(); - if (infront) { - PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); - } else { - PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); - } - Py_DECREF(old_str); - } - return 1; - } else { - return 0; - } -} - -SWIGRUNTIME int -SWIG_Python_ArgFail(int argnum) -{ - if (PyErr_Occurred()) { - /* add information about failing argument */ - char mesg[256]; - PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); - return SWIG_Python_AddErrMesg(mesg, 1); - } else { - return 0; - } -} - -SWIGRUNTIMEINLINE const char * -PySwigObject_GetDesc(PyObject *self) -{ - PySwigObject *v = (PySwigObject *)self; - swig_type_info *ty = v ? v->ty : 0; - return ty ? ty->str : (char*)""; -} - -SWIGRUNTIME void -SWIG_Python_TypeError(const char *type, PyObject *obj) -{ - if (type) { -#if defined(SWIG_COBJECT_TYPES) - if (obj && PySwigObject_Check(obj)) { - const char *otype = (const char *) PySwigObject_GetDesc(obj); - if (otype) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", - type, otype); - return; - } - } else -#endif - { - const char *otype = (obj ? obj->ob_type->tp_name : 0); - if (otype) { - PyObject *str = PyObject_Str(obj); - const char *cstr = str ? PyString_AsString(str) : 0; - if (cstr) { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", - type, otype, cstr); - } else { - PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", - type, otype); - } - Py_XDECREF(str); - return; - } - } - PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); - } else { - PyErr_Format(PyExc_TypeError, "unexpected type is received"); - } -} - - -/* Convert a pointer value, signal an exception on a type mismatch */ -SWIGRUNTIME void * -SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { - void *result; - if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { - PyErr_Clear(); - if (flags & SWIG_POINTER_EXCEPTION) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } - } - return result; -} - - -#ifdef __cplusplus -#if 0 -{ /* cc-mode */ -#endif -} -#endif - - - -#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) - -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -/* -------- TYPES TABLE (BEGIN) -------- */ - -#define SWIGTYPE_p_ContextDestructionCB swig_types[0] -#define SWIGTYPE_p_CustomCursor swig_types[1] -#define SWIGTYPE_p_FILE swig_types[2] -#define SWIGTYPE_p_FatalErrorCB swig_types[3] -#define SWIGTYPE_p_ProgressCallbackType swig_types[4] -#define SWIGTYPE_p_QEvent swig_types[5] -#define SWIGTYPE_p_QWidget swig_types[6] -#define SWIGTYPE_p_SbColor swig_types[7] -#define SWIGTYPE_p_SbDict swig_types[8] -#define SWIGTYPE_p_SbIntList swig_types[9] -#define SWIGTYPE_p_SbMatrix swig_types[10] -#define SWIGTYPE_p_SbName swig_types[11] -#define SWIGTYPE_p_SbPList swig_types[12] -#define SWIGTYPE_p_SbPlane swig_types[13] -#define SWIGTYPE_p_SbRotation swig_types[14] -#define SWIGTYPE_p_SbString swig_types[15] -#define SWIGTYPE_p_SbStringList swig_types[16] -#define SWIGTYPE_p_SbTime swig_types[17] -#define SWIGTYPE_p_SbVec2f swig_types[18] -#define SWIGTYPE_p_SbVec2s swig_types[19] -#define SWIGTYPE_p_SbVec3d swig_types[20] -#define SWIGTYPE_p_SbVec3f swig_types[21] -#define SWIGTYPE_p_SbVec3fList swig_types[22] -#define SWIGTYPE_p_SbVec4f swig_types[23] -#define SWIGTYPE_p_SbViewportRegion swig_types[24] -#define SWIGTYPE_p_SoActionMethodList swig_types[25] -#define SWIGTYPE_p_SoAnnotation swig_types[26] -#define SWIGTYPE_p_SoAntiSquish swig_types[27] -#define SWIGTYPE_p_SoAppearanceKit swig_types[28] -#define SWIGTYPE_p_SoArray swig_types[29] -#define SWIGTYPE_p_SoAsciiText swig_types[30] -#define SWIGTYPE_p_SoAuditorList swig_types[31] -#define SWIGTYPE_p_SoBase swig_types[32] -#define SWIGTYPE_p_SoBaseColor swig_types[33] -#define SWIGTYPE_p_SoBaseKit swig_types[34] -#define SWIGTYPE_p_SoBaseList swig_types[35] -#define SWIGTYPE_p_SoBlinker swig_types[36] -#define SWIGTYPE_p_SoBoolOperation swig_types[37] -#define SWIGTYPE_p_SoBoxHighlightRenderAction swig_types[38] -#define SWIGTYPE_p_SoBumpMap swig_types[39] -#define SWIGTYPE_p_SoBumpMapCoordinate swig_types[40] -#define SWIGTYPE_p_SoBumpMapTransform swig_types[41] -#define SWIGTYPE_p_SoButtonEvent swig_types[42] -#define SWIGTYPE_p_SoCalculator swig_types[43] -#define SWIGTYPE_p_SoCallback swig_types[44] -#define SWIGTYPE_p_SoCallbackActionCB swig_types[45] -#define SWIGTYPE_p_SoCamera swig_types[46] -#define SWIGTYPE_p_SoCameraKit swig_types[47] -#define SWIGTYPE_p_SoCenterballDragger swig_types[48] -#define SWIGTYPE_p_SoCenterballManip swig_types[49] -#define SWIGTYPE_p_SoChildList swig_types[50] -#define SWIGTYPE_p_SoClipPlane swig_types[51] -#define SWIGTYPE_p_SoClipPlaneManip swig_types[52] -#define SWIGTYPE_p_SoColorIndex swig_types[53] -#define SWIGTYPE_p_SoComplexity swig_types[54] -#define SWIGTYPE_p_SoComposeMatrix swig_types[55] -#define SWIGTYPE_p_SoComposeRotation swig_types[56] -#define SWIGTYPE_p_SoComposeRotationFromTo swig_types[57] -#define SWIGTYPE_p_SoComposeVec2f swig_types[58] -#define SWIGTYPE_p_SoComposeVec3f swig_types[59] -#define SWIGTYPE_p_SoComposeVec4f swig_types[60] -#define SWIGTYPE_p_SoComputeBoundingBox swig_types[61] -#define SWIGTYPE_p_SoConcatenate swig_types[62] -#define SWIGTYPE_p_SoCone swig_types[63] -#define SWIGTYPE_p_SoCoordinate3 swig_types[64] -#define SWIGTYPE_p_SoCoordinate4 swig_types[65] -#define SWIGTYPE_p_SoCounter swig_types[66] -#define SWIGTYPE_p_SoCube swig_types[67] -#define SWIGTYPE_p_SoCylinder swig_types[68] -#define SWIGTYPE_p_SoDecomposeMatrix swig_types[69] -#define SWIGTYPE_p_SoDecomposeRotation swig_types[70] -#define SWIGTYPE_p_SoDecomposeVec2f swig_types[71] -#define SWIGTYPE_p_SoDecomposeVec3f swig_types[72] -#define SWIGTYPE_p_SoDecomposeVec4f swig_types[73] -#define SWIGTYPE_p_SoDetailList swig_types[74] -#define SWIGTYPE_p_SoDirectionalLight swig_types[75] -#define SWIGTYPE_p_SoDirectionalLightDragger swig_types[76] -#define SWIGTYPE_p_SoDirectionalLightManip swig_types[77] -#define SWIGTYPE_p_SoDragPointDragger swig_types[78] -#define SWIGTYPE_p_SoDragger swig_types[79] -#define SWIGTYPE_p_SoDrawStyle swig_types[80] -#define SWIGTYPE_p_SoElapsedTime swig_types[81] -#define SWIGTYPE_p_SoEngine swig_types[82] -#define SWIGTYPE_p_SoEngineList swig_types[83] -#define SWIGTYPE_p_SoEngineOutput swig_types[84] -#define SWIGTYPE_p_SoEngineOutputList swig_types[85] -#define SWIGTYPE_p_SoEnvironment swig_types[86] -#define SWIGTYPE_p_SoEvent swig_types[87] -#define SWIGTYPE_p_SoEventCallback swig_types[88] -#define SWIGTYPE_p_SoExtSelection swig_types[89] -#define SWIGTYPE_p_SoFaceSet swig_types[90] -#define SWIGTYPE_p_SoField swig_types[91] -#define SWIGTYPE_p_SoFieldContainer swig_types[92] -#define SWIGTYPE_p_SoFieldConverter swig_types[93] -#define SWIGTYPE_p_SoFieldList swig_types[94] -#define SWIGTYPE_p_SoFile swig_types[95] -#define SWIGTYPE_p_SoFont swig_types[96] -#define SWIGTYPE_p_SoFontStyle swig_types[97] -#define SWIGTYPE_p_SoFullPath swig_types[98] -#define SWIGTYPE_p_SoGLRenderAbortCB swig_types[99] -#define SWIGTYPE_p_SoGLRenderAction swig_types[100] -#define SWIGTYPE_p_SoGate swig_types[101] -#define SWIGTYPE_p_SoGroup swig_types[102] -#define SWIGTYPE_p_SoHandleBoxDragger swig_types[103] -#define SWIGTYPE_p_SoHandleBoxManip swig_types[104] -#define SWIGTYPE_p_SoImage swig_types[105] -#define SWIGTYPE_p_SoIndexedFaceSet swig_types[106] -#define SWIGTYPE_p_SoIndexedLineSet swig_types[107] -#define SWIGTYPE_p_SoIndexedNurbsCurve swig_types[108] -#define SWIGTYPE_p_SoIndexedNurbsSurface swig_types[109] -#define SWIGTYPE_p_SoIndexedShape swig_types[110] -#define SWIGTYPE_p_SoIndexedTriangleStripSet swig_types[111] -#define SWIGTYPE_p_SoInfo swig_types[112] -#define SWIGTYPE_p_SoInput swig_types[113] -#define SWIGTYPE_p_SoInteractionKit swig_types[114] -#define SWIGTYPE_p_SoInterpolate swig_types[115] -#define SWIGTYPE_p_SoInterpolateFloat swig_types[116] -#define SWIGTYPE_p_SoInterpolateRotation swig_types[117] -#define SWIGTYPE_p_SoInterpolateVec2f swig_types[118] -#define SWIGTYPE_p_SoInterpolateVec3f swig_types[119] -#define SWIGTYPE_p_SoInterpolateVec4f swig_types[120] -#define SWIGTYPE_p_SoIntersectionCB swig_types[121] -#define SWIGTYPE_p_SoIntersectionFilterCB swig_types[122] -#define SWIGTYPE_p_SoIntersectionVisitationCB swig_types[123] -#define SWIGTYPE_p_SoJackDragger swig_types[124] -#define SWIGTYPE_p_SoJackManip swig_types[125] -#define SWIGTYPE_p_SoKeyboardEvent swig_types[126] -#define SWIGTYPE_p_SoLOD swig_types[127] -#define SWIGTYPE_p_SoLabel swig_types[128] -#define SWIGTYPE_p_SoLevelOfDetail swig_types[129] -#define SWIGTYPE_p_SoLight swig_types[130] -#define SWIGTYPE_p_SoLightKit swig_types[131] -#define SWIGTYPE_p_SoLightModel swig_types[132] -#define SWIGTYPE_p_SoLineHighlightRenderAction swig_types[133] -#define SWIGTYPE_p_SoLineSet swig_types[134] -#define SWIGTYPE_p_SoLinearProfile swig_types[135] -#define SWIGTYPE_p_SoListener swig_types[136] -#define SWIGTYPE_p_SoLocateHighlight swig_types[137] -#define SWIGTYPE_p_SoLocation2Event swig_types[138] -#define SWIGTYPE_p_SoMFBitMask swig_types[139] -#define SWIGTYPE_p_SoMFBool swig_types[140] -#define SWIGTYPE_p_SoMFColor swig_types[141] -#define SWIGTYPE_p_SoMFEngine swig_types[142] -#define SWIGTYPE_p_SoMFEnum swig_types[143] -#define SWIGTYPE_p_SoMFFloat swig_types[144] -#define SWIGTYPE_p_SoMFInt32 swig_types[145] -#define SWIGTYPE_p_SoMFMatrix swig_types[146] -#define SWIGTYPE_p_SoMFName swig_types[147] -#define SWIGTYPE_p_SoMFNode swig_types[148] -#define SWIGTYPE_p_SoMFPath swig_types[149] -#define SWIGTYPE_p_SoMFPlane swig_types[150] -#define SWIGTYPE_p_SoMFRotation swig_types[151] -#define SWIGTYPE_p_SoMFShort swig_types[152] -#define SWIGTYPE_p_SoMFString swig_types[153] -#define SWIGTYPE_p_SoMFTime swig_types[154] -#define SWIGTYPE_p_SoMFUInt32 swig_types[155] -#define SWIGTYPE_p_SoMFUShort swig_types[156] -#define SWIGTYPE_p_SoMFVec2f swig_types[157] -#define SWIGTYPE_p_SoMFVec3d swig_types[158] -#define SWIGTYPE_p_SoMFVec3f swig_types[159] -#define SWIGTYPE_p_SoMFVec4f swig_types[160] -#define SWIGTYPE_p_SoMField swig_types[161] -#define SWIGTYPE_p_SoMarkerSet swig_types[162] -#define SWIGTYPE_p_SoMaterial swig_types[163] -#define SWIGTYPE_p_SoMaterialBinding swig_types[164] -#define SWIGTYPE_p_SoMatrixTransform swig_types[165] -#define SWIGTYPE_p_SoMotion3Event swig_types[166] -#define SWIGTYPE_p_SoMouseButtonEvent swig_types[167] -#define SWIGTYPE_p_SoMultipleCopy swig_types[168] -#define SWIGTYPE_p_SoNode swig_types[169] -#define SWIGTYPE_p_SoNodeEngine swig_types[170] -#define SWIGTYPE_p_SoNodeKitListPart swig_types[171] -#define SWIGTYPE_p_SoNodeKitPath swig_types[172] -#define SWIGTYPE_p_SoNodeList swig_types[173] -#define SWIGTYPE_p_SoNonIndexedShape swig_types[174] -#define SWIGTYPE_p_SoNormal swig_types[175] -#define SWIGTYPE_p_SoNormalBinding swig_types[176] -#define SWIGTYPE_p_SoNotList swig_types[177] -#define SWIGTYPE_p_SoNotRec swig_types[178] -#define SWIGTYPE_p_SoNurbsCurve swig_types[179] -#define SWIGTYPE_p_SoNurbsProfile swig_types[180] -#define SWIGTYPE_p_SoNurbsSurface swig_types[181] -#define SWIGTYPE_p_SoOnOff swig_types[182] -#define SWIGTYPE_p_SoOneShot swig_types[183] -#define SWIGTYPE_p_SoOrthographicCamera swig_types[184] -#define SWIGTYPE_p_SoOutput swig_types[185] -#define SWIGTYPE_p_SoPackedColor swig_types[186] -#define SWIGTYPE_p_SoPath swig_types[187] -#define SWIGTYPE_p_SoPathList swig_types[188] -#define SWIGTYPE_p_SoPathSwitch swig_types[189] -#define SWIGTYPE_p_SoPendulum swig_types[190] -#define SWIGTYPE_p_SoPerspectiveCamera swig_types[191] -#define SWIGTYPE_p_SoPickStyle swig_types[192] -#define SWIGTYPE_p_SoPickedPointList swig_types[193] -#define SWIGTYPE_p_SoPointLight swig_types[194] -#define SWIGTYPE_p_SoPointLightDragger swig_types[195] -#define SWIGTYPE_p_SoPointLightManip swig_types[196] -#define SWIGTYPE_p_SoPointSet swig_types[197] -#define SWIGTYPE_p_SoPolygonOffset swig_types[198] -#define SWIGTYPE_p_SoProfile swig_types[199] -#define SWIGTYPE_p_SoProfileCoordinate2 swig_types[200] -#define SWIGTYPE_p_SoProfileCoordinate3 swig_types[201] -#define SWIGTYPE_p_SoProto swig_types[202] -#define SWIGTYPE_p_SoProtoInstance swig_types[203] -#define SWIGTYPE_p_SoQt swig_types[204] -#define SWIGTYPE_p_SoQtComponent swig_types[205] -#define SWIGTYPE_p_SoQtConstrainedViewer swig_types[206] -#define SWIGTYPE_p_SoQtCursor swig_types[207] -#define SWIGTYPE_p_SoQtDevice swig_types[208] -#define SWIGTYPE_p_SoQtExaminerViewer swig_types[209] -#define SWIGTYPE_p_SoQtFlyViewer swig_types[210] -#define SWIGTYPE_p_SoQtFullViewer swig_types[211] -#define SWIGTYPE_p_SoQtGLWidget swig_types[212] -#define SWIGTYPE_p_SoQtKeyboard swig_types[213] -#define SWIGTYPE_p_SoQtMouse swig_types[214] -#define SWIGTYPE_p_SoQtObject swig_types[215] -#define SWIGTYPE_p_SoQtPlaneViewer swig_types[216] -#define SWIGTYPE_p_SoQtPopupMenu swig_types[217] -#define SWIGTYPE_p_SoQtRenderArea swig_types[218] -#define SWIGTYPE_p_SoQtSpaceball swig_types[219] -#define SWIGTYPE_p_SoQtViewer swig_types[220] -#define SWIGTYPE_p_SoQuadMesh swig_types[221] -#define SWIGTYPE_p_SoResetTransform swig_types[222] -#define SWIGTYPE_p_SoRotateCylindricalDragger swig_types[223] -#define SWIGTYPE_p_SoRotateDiscDragger swig_types[224] -#define SWIGTYPE_p_SoRotateSphericalDragger swig_types[225] -#define SWIGTYPE_p_SoRotation swig_types[226] -#define SWIGTYPE_p_SoRotationXYZ swig_types[227] -#define SWIGTYPE_p_SoRotor swig_types[228] -#define SWIGTYPE_p_SoSFBitMask swig_types[229] -#define SWIGTYPE_p_SoSFBool swig_types[230] -#define SWIGTYPE_p_SoSFBox3s swig_types[231] -#define SWIGTYPE_p_SoSFColor swig_types[232] -#define SWIGTYPE_p_SoSFEngine swig_types[233] -#define SWIGTYPE_p_SoSFEnum swig_types[234] -#define SWIGTYPE_p_SoSFFloat swig_types[235] -#define SWIGTYPE_p_SoSFImage swig_types[236] -#define SWIGTYPE_p_SoSFImage3 swig_types[237] -#define SWIGTYPE_p_SoSFInt32 swig_types[238] -#define SWIGTYPE_p_SoSFMatrix swig_types[239] -#define SWIGTYPE_p_SoSFName swig_types[240] -#define SWIGTYPE_p_SoSFNode swig_types[241] -#define SWIGTYPE_p_SoSFPath swig_types[242] -#define SWIGTYPE_p_SoSFPlane swig_types[243] -#define SWIGTYPE_p_SoSFRotation swig_types[244] -#define SWIGTYPE_p_SoSFShort swig_types[245] -#define SWIGTYPE_p_SoSFString swig_types[246] -#define SWIGTYPE_p_SoSFTime swig_types[247] -#define SWIGTYPE_p_SoSFTrigger swig_types[248] -#define SWIGTYPE_p_SoSFUInt32 swig_types[249] -#define SWIGTYPE_p_SoSFUShort swig_types[250] -#define SWIGTYPE_p_SoSFVec2f swig_types[251] -#define SWIGTYPE_p_SoSFVec2s swig_types[252] -#define SWIGTYPE_p_SoSFVec3d swig_types[253] -#define SWIGTYPE_p_SoSFVec3f swig_types[254] -#define SWIGTYPE_p_SoSFVec3s swig_types[255] -#define SWIGTYPE_p_SoSFVec4f swig_types[256] -#define SWIGTYPE_p_SoSField swig_types[257] -#define SWIGTYPE_p_SoScale swig_types[258] -#define SWIGTYPE_p_SoScale1Dragger swig_types[259] -#define SWIGTYPE_p_SoScale2Dragger swig_types[260] -#define SWIGTYPE_p_SoScale2UniformDragger swig_types[261] -#define SWIGTYPE_p_SoScaleUniformDragger swig_types[262] -#define SWIGTYPE_p_SoSceneKit swig_types[263] -#define SWIGTYPE_p_SoSceneManager swig_types[264] -#define SWIGTYPE_p_SoSceneTexture2 swig_types[265] -#define SWIGTYPE_p_SoSelectOne swig_types[266] -#define SWIGTYPE_p_SoSelection swig_types[267] -#define SWIGTYPE_p_SoSeparator swig_types[268] -#define SWIGTYPE_p_SoSeparatorKit swig_types[269] -#define SWIGTYPE_p_SoShape swig_types[270] -#define SWIGTYPE_p_SoShapeHints swig_types[271] -#define SWIGTYPE_p_SoShapeKit swig_types[272] -#define SWIGTYPE_p_SoShuttle swig_types[273] -#define SWIGTYPE_p_SoSpaceballButtonEvent swig_types[274] -#define SWIGTYPE_p_SoSphere swig_types[275] -#define SWIGTYPE_p_SoSpotLight swig_types[276] -#define SWIGTYPE_p_SoSpotLightDragger swig_types[277] -#define SWIGTYPE_p_SoSpotLightManip swig_types[278] -#define SWIGTYPE_p_SoSurroundScale swig_types[279] -#define SWIGTYPE_p_SoSwitch swig_types[280] -#define SWIGTYPE_p_SoTabBoxDragger swig_types[281] -#define SWIGTYPE_p_SoTabBoxManip swig_types[282] -#define SWIGTYPE_p_SoTabPlaneDragger swig_types[283] -#define SWIGTYPE_p_SoTempPath swig_types[284] -#define SWIGTYPE_p_SoText2 swig_types[285] -#define SWIGTYPE_p_SoText3 swig_types[286] -#define SWIGTYPE_p_SoTexture2 swig_types[287] -#define SWIGTYPE_p_SoTexture2Transform swig_types[288] -#define SWIGTYPE_p_SoTexture3 swig_types[289] -#define SWIGTYPE_p_SoTexture3Transform swig_types[290] -#define SWIGTYPE_p_SoTextureCombine swig_types[291] -#define SWIGTYPE_p_SoTextureCoordinate2 swig_types[292] -#define SWIGTYPE_p_SoTextureCoordinate3 swig_types[293] -#define SWIGTYPE_p_SoTextureCoordinateBinding swig_types[294] -#define SWIGTYPE_p_SoTextureCoordinateCube swig_types[295] -#define SWIGTYPE_p_SoTextureCoordinateCylinder swig_types[296] -#define SWIGTYPE_p_SoTextureCoordinateDefault swig_types[297] -#define SWIGTYPE_p_SoTextureCoordinateEnvironment swig_types[298] -#define SWIGTYPE_p_SoTextureCoordinateFunction swig_types[299] -#define SWIGTYPE_p_SoTextureCoordinatePlane swig_types[300] -#define SWIGTYPE_p_SoTextureCoordinateSphere swig_types[301] -#define SWIGTYPE_p_SoTextureScalePolicy swig_types[302] -#define SWIGTYPE_p_SoTextureUnit swig_types[303] -#define SWIGTYPE_p_SoTimeCounter swig_types[304] -#define SWIGTYPE_p_SoTrackballDragger swig_types[305] -#define SWIGTYPE_p_SoTrackballManip swig_types[306] -#define SWIGTYPE_p_SoTransform swig_types[307] -#define SWIGTYPE_p_SoTransformBoxDragger swig_types[308] -#define SWIGTYPE_p_SoTransformBoxManip swig_types[309] -#define SWIGTYPE_p_SoTransformManip swig_types[310] -#define SWIGTYPE_p_SoTransformSeparator swig_types[311] -#define SWIGTYPE_p_SoTransformVec3f swig_types[312] -#define SWIGTYPE_p_SoTransformation swig_types[313] -#define SWIGTYPE_p_SoTransformerDragger swig_types[314] -#define SWIGTYPE_p_SoTransformerManip swig_types[315] -#define SWIGTYPE_p_SoTranslate1Dragger swig_types[316] -#define SWIGTYPE_p_SoTranslate2Dragger swig_types[317] -#define SWIGTYPE_p_SoTranslation swig_types[318] -#define SWIGTYPE_p_SoTransparencyType swig_types[319] -#define SWIGTYPE_p_SoTriangleStripSet swig_types[320] -#define SWIGTYPE_p_SoTriggerAny swig_types[321] -#define SWIGTYPE_p_SoType swig_types[322] -#define SWIGTYPE_p_SoTypeList swig_types[323] -#define SWIGTYPE_p_SoUnits swig_types[324] -#define SWIGTYPE_p_SoVRMLAnchor swig_types[325] -#define SWIGTYPE_p_SoVRMLAppearance swig_types[326] -#define SWIGTYPE_p_SoVRMLAudioClip swig_types[327] -#define SWIGTYPE_p_SoVRMLBackground swig_types[328] -#define SWIGTYPE_p_SoVRMLBillboard swig_types[329] -#define SWIGTYPE_p_SoVRMLBox swig_types[330] -#define SWIGTYPE_p_SoVRMLCollision swig_types[331] -#define SWIGTYPE_p_SoVRMLColor swig_types[332] -#define SWIGTYPE_p_SoVRMLColorInterpolator swig_types[333] -#define SWIGTYPE_p_SoVRMLCone swig_types[334] -#define SWIGTYPE_p_SoVRMLCoordinate swig_types[335] -#define SWIGTYPE_p_SoVRMLCoordinateInterpolator swig_types[336] -#define SWIGTYPE_p_SoVRMLCylinder swig_types[337] -#define SWIGTYPE_p_SoVRMLCylinderSensor swig_types[338] -#define SWIGTYPE_p_SoVRMLDirectionalLight swig_types[339] -#define SWIGTYPE_p_SoVRMLDragSensor swig_types[340] -#define SWIGTYPE_p_SoVRMLElevationGrid swig_types[341] -#define SWIGTYPE_p_SoVRMLExtrusion swig_types[342] -#define SWIGTYPE_p_SoVRMLFog swig_types[343] -#define SWIGTYPE_p_SoVRMLFontStyle swig_types[344] -#define SWIGTYPE_p_SoVRMLGeometry swig_types[345] -#define SWIGTYPE_p_SoVRMLGroup swig_types[346] -#define SWIGTYPE_p_SoVRMLImageTexture swig_types[347] -#define SWIGTYPE_p_SoVRMLIndexedFaceSet swig_types[348] -#define SWIGTYPE_p_SoVRMLIndexedLine swig_types[349] -#define SWIGTYPE_p_SoVRMLIndexedLineSet swig_types[350] -#define SWIGTYPE_p_SoVRMLIndexedShape swig_types[351] -#define SWIGTYPE_p_SoVRMLInline swig_types[352] -#define SWIGTYPE_p_SoVRMLInterpolator swig_types[353] -#define SWIGTYPE_p_SoVRMLLOD swig_types[354] -#define SWIGTYPE_p_SoVRMLLight swig_types[355] -#define SWIGTYPE_p_SoVRMLMaterial swig_types[356] -#define SWIGTYPE_p_SoVRMLMovieTexture swig_types[357] -#define SWIGTYPE_p_SoVRMLNavigationInfo swig_types[358] -#define SWIGTYPE_p_SoVRMLNormal swig_types[359] -#define SWIGTYPE_p_SoVRMLNormalInterpolator swig_types[360] -#define SWIGTYPE_p_SoVRMLOrientationInterpolator swig_types[361] -#define SWIGTYPE_p_SoVRMLParent swig_types[362] -#define SWIGTYPE_p_SoVRMLPixelTexture swig_types[363] -#define SWIGTYPE_p_SoVRMLPlaneSensor swig_types[364] -#define SWIGTYPE_p_SoVRMLPointLight swig_types[365] -#define SWIGTYPE_p_SoVRMLPointSet swig_types[366] -#define SWIGTYPE_p_SoVRMLPositionInterpolator swig_types[367] -#define SWIGTYPE_p_SoVRMLProximitySensor swig_types[368] -#define SWIGTYPE_p_SoVRMLScalarInterpolator swig_types[369] -#define SWIGTYPE_p_SoVRMLScript swig_types[370] -#define SWIGTYPE_p_SoVRMLSensor swig_types[371] -#define SWIGTYPE_p_SoVRMLShape swig_types[372] -#define SWIGTYPE_p_SoVRMLSound swig_types[373] -#define SWIGTYPE_p_SoVRMLSphere swig_types[374] -#define SWIGTYPE_p_SoVRMLSphereSensor swig_types[375] -#define SWIGTYPE_p_SoVRMLSpotLight swig_types[376] -#define SWIGTYPE_p_SoVRMLSwitch swig_types[377] -#define SWIGTYPE_p_SoVRMLText swig_types[378] -#define SWIGTYPE_p_SoVRMLTexture swig_types[379] -#define SWIGTYPE_p_SoVRMLTextureCoordinate swig_types[380] -#define SWIGTYPE_p_SoVRMLTextureTransform swig_types[381] -#define SWIGTYPE_p_SoVRMLTimeSensor swig_types[382] -#define SWIGTYPE_p_SoVRMLTouchSensor swig_types[383] -#define SWIGTYPE_p_SoVRMLTransform swig_types[384] -#define SWIGTYPE_p_SoVRMLVertexLine swig_types[385] -#define SWIGTYPE_p_SoVRMLVertexPoint swig_types[386] -#define SWIGTYPE_p_SoVRMLVertexShape swig_types[387] -#define SWIGTYPE_p_SoVRMLViewpoint swig_types[388] -#define SWIGTYPE_p_SoVRMLVisibilitySensor swig_types[389] -#define SWIGTYPE_p_SoVRMLWorldInfo swig_types[390] -#define SWIGTYPE_p_SoVertexProperty swig_types[391] -#define SWIGTYPE_p_SoVertexShape swig_types[392] -#define SWIGTYPE_p_SoWWWAnchor swig_types[393] -#define SWIGTYPE_p_SoWWWInline swig_types[394] -#define SWIGTYPE_p_SoWrapperKit swig_types[395] -#define SWIGTYPE_p___int64 swig_types[396] -#define SWIGTYPE_p_a_4__a_4__double swig_types[397] -#define SWIGTYPE_p_a_4__a_4__doublep swig_types[398] -#define SWIGTYPE_p_a_4__a_4__float swig_types[399] -#define SWIGTYPE_p_a_4__a_4__floatp swig_types[400] -#define SWIGTYPE_p_cc_glglue swig_types[401] -#define SWIGTYPE_p_char swig_types[402] -#define SWIGTYPE_p_charp swig_types[403] -#define SWIGTYPE_p_close_func swig_types[404] -#define SWIGTYPE_p_double swig_types[405] -#define SWIGTYPE_p_doublep swig_types[406] -#define SWIGTYPE_p_f_char__char swig_types[407] -#define SWIGTYPE_p_f_char__charp swig_types[408] -#define SWIGTYPE_p_f_float_p_void_p_SoQtViewer__void swig_types[409] -#define SWIGTYPE_p_f_int_p_void__void swig_types[410] -#define SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void swig_types[411] -#define SWIGTYPE_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto swig_types[412] -#define SWIGTYPE_p_f_p_q_const__SoError_p_void__void swig_types[413] -#define SWIGTYPE_p_f_p_void__void swig_types[414] -#define SWIGTYPE_p_f_p_void_int__void swig_types[415] -#define SWIGTYPE_p_f_p_void_p_QEvent__int swig_types[416] -#define SWIGTYPE_p_f_p_void_p_QEvent__intp swig_types[417] -#define SWIGTYPE_p_f_p_void_p_SoAction__void swig_types[418] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int swig_types[419] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp swig_types[420] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void swig_types[421] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[422] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[423] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[424] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int swig_types[425] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp swig_types[426] -#define SWIGTYPE_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void swig_types[427] -#define SWIGTYPE_p_f_p_void_p_SoDragger__void swig_types[428] -#define SWIGTYPE_p_f_p_void_p_SoEventCallback__void swig_types[429] -#define SWIGTYPE_p_f_p_void_p_SoGLRenderAction__void swig_types[430] -#define SWIGTYPE_p_f_p_void_p_SoInput__void swig_types[431] -#define SWIGTYPE_p_f_p_void_p_SoPath__void swig_types[432] -#define SWIGTYPE_p_f_p_void_p_SoQtComponent__void swig_types[433] -#define SWIGTYPE_p_f_p_void_p_SoQtViewer__void swig_types[434] -#define SWIGTYPE_p_f_p_void_p_SoSceneManager__void swig_types[435] -#define SWIGTYPE_p_f_p_void_p_SoSelection__void swig_types[436] -#define SWIGTYPE_p_f_p_void_p_SoSensor__void swig_types[437] -#define SWIGTYPE_p_f_p_void_p_SoVRMLScript__void swig_types[438] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoFullPath swig_types[439] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath swig_types[440] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoPath swig_types[441] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPath__p_SoTempPath swig_types[442] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath swig_types[443] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath swig_types[444] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath swig_types[445] -#define SWIGTYPE_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath swig_types[446] -#define SWIGTYPE_p_f_p_void_p_void__void swig_types[447] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f swig_types[448] -#define SWIGTYPE_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f swig_types[449] -#define SWIGTYPE_p_f_p_void_size_t__p_void swig_types[450] -#define SWIGTYPE_p_f_p_void_unsigned_int__void swig_types[451] -#define SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void swig_types[452] -#define SWIGTYPE_p_f_q_const__unsigned_long__unsigned_long swig_types[453] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__int swig_types[454] -#define SWIGTYPE_p_f_r_q_const__SbString_p_SbImage_p_void__intp swig_types[455] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void swig_types[456] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int swig_types[457] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp swig_types[458] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void swig_types[459] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void swig_types[460] -#define SWIGTYPE_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void swig_types[461] -#define SWIGTYPE_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void swig_types[462] -#define SWIGTYPE_p_f_unsigned_long_p_void__void swig_types[463] -#define SWIGTYPE_p_f_unsigned_long_p_void_p_void__void swig_types[464] -#define SWIGTYPE_p_f_void__p_void swig_types[465] -#define SWIGTYPE_p_f_void__void swig_types[466] -#define SWIGTYPE_p_float swig_types[467] -#define SWIGTYPE_p_floatp swig_types[468] -#define SWIGTYPE_p_int swig_types[469] -#define SWIGTYPE_p_intp swig_types[470] -#define SWIGTYPE_p_long swig_types[471] -#define SWIGTYPE_p_longp swig_types[472] -#define SWIGTYPE_p_open_func swig_types[473] -#define SWIGTYPE_p_p_SoEngineOutput swig_types[474] -#define SWIGTYPE_p_p_SoField swig_types[475] -#define SWIGTYPE_p_p_SoMFBitMask swig_types[476] -#define SWIGTYPE_p_p_SoMFBool swig_types[477] -#define SWIGTYPE_p_p_SoMFColor swig_types[478] -#define SWIGTYPE_p_p_SoMFEngine swig_types[479] -#define SWIGTYPE_p_p_SoMFEnum swig_types[480] -#define SWIGTYPE_p_p_SoMFFloat swig_types[481] -#define SWIGTYPE_p_p_SoMFInt32 swig_types[482] -#define SWIGTYPE_p_p_SoMFMatrix swig_types[483] -#define SWIGTYPE_p_p_SoMFName swig_types[484] -#define SWIGTYPE_p_p_SoMFNode swig_types[485] -#define SWIGTYPE_p_p_SoMFPath swig_types[486] -#define SWIGTYPE_p_p_SoMFPlane swig_types[487] -#define SWIGTYPE_p_p_SoMFRotation swig_types[488] -#define SWIGTYPE_p_p_SoMFShort swig_types[489] -#define SWIGTYPE_p_p_SoMFString swig_types[490] -#define SWIGTYPE_p_p_SoMFTime swig_types[491] -#define SWIGTYPE_p_p_SoMFUInt32 swig_types[492] -#define SWIGTYPE_p_p_SoMFUShort swig_types[493] -#define SWIGTYPE_p_p_SoMFVec2f swig_types[494] -#define SWIGTYPE_p_p_SoMFVec3d swig_types[495] -#define SWIGTYPE_p_p_SoMFVec3f swig_types[496] -#define SWIGTYPE_p_p_SoMFVec4f swig_types[497] -#define SWIGTYPE_p_p_SoMField swig_types[498] -#define SWIGTYPE_p_p_SoSFBitMask swig_types[499] -#define SWIGTYPE_p_p_SoSFBool swig_types[500] -#define SWIGTYPE_p_p_SoSFBox3s swig_types[501] -#define SWIGTYPE_p_p_SoSFColor swig_types[502] -#define SWIGTYPE_p_p_SoSFEngine swig_types[503] -#define SWIGTYPE_p_p_SoSFEnum swig_types[504] -#define SWIGTYPE_p_p_SoSFFloat swig_types[505] -#define SWIGTYPE_p_p_SoSFImage swig_types[506] -#define SWIGTYPE_p_p_SoSFImage3 swig_types[507] -#define SWIGTYPE_p_p_SoSFInt32 swig_types[508] -#define SWIGTYPE_p_p_SoSFMatrix swig_types[509] -#define SWIGTYPE_p_p_SoSFName swig_types[510] -#define SWIGTYPE_p_p_SoSFNode swig_types[511] -#define SWIGTYPE_p_p_SoSFPath swig_types[512] -#define SWIGTYPE_p_p_SoSFPlane swig_types[513] -#define SWIGTYPE_p_p_SoSFRotation swig_types[514] -#define SWIGTYPE_p_p_SoSFShort swig_types[515] -#define SWIGTYPE_p_p_SoSFString swig_types[516] -#define SWIGTYPE_p_p_SoSFTime swig_types[517] -#define SWIGTYPE_p_p_SoSFTrigger swig_types[518] -#define SWIGTYPE_p_p_SoSFUInt32 swig_types[519] -#define SWIGTYPE_p_p_SoSFUShort swig_types[520] -#define SWIGTYPE_p_p_SoSFVec2f swig_types[521] -#define SWIGTYPE_p_p_SoSFVec2s swig_types[522] -#define SWIGTYPE_p_p_SoSFVec3d swig_types[523] -#define SWIGTYPE_p_p_SoSFVec3f swig_types[524] -#define SWIGTYPE_p_p_SoSFVec3s swig_types[525] -#define SWIGTYPE_p_p_SoSFVec4f swig_types[526] -#define SWIGTYPE_p_p_SoSField swig_types[527] -#define SWIGTYPE_p_p_char swig_types[528] -#define SWIGTYPE_p_p_charp swig_types[529] -#define SWIGTYPE_p_p_void swig_types[530] -#define SWIGTYPE_p_read_func swig_types[531] -#define SWIGTYPE_p_seek_func swig_types[532] -#define SWIGTYPE_p_short swig_types[533] -#define SWIGTYPE_p_tell_func swig_types[534] -#define SWIGTYPE_p_time_t swig_types[535] -#define SWIGTYPE_p_timeval swig_types[536] -#define SWIGTYPE_p_unsigned___int64 swig_types[537] -#define SWIGTYPE_p_unsigned_char swig_types[538] -#define SWIGTYPE_p_unsigned_int swig_types[539] -#define SWIGTYPE_p_unsigned_short swig_types[540] -#define SWIGTYPE_p_void swig_types[541] -static swig_type_info *swig_types[543]; -static swig_module_info swig_module = {swig_types, 542, 0, 0, 0, 0}; -#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) -#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) - -/* -------- TYPES TABLE (END) -------- */ - -#if (PY_VERSION_HEX <= 0x02000000) -# if !defined(SWIG_PYTHON_CLASSIC) -# error "This python version requires swig to be run with the '-classic' option" -# endif -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodern' option" -#endif -#if (PY_VERSION_HEX <= 0x02020000) -# error "This python version requires swig to be run with the '-nomodernargs' option" -#endif - -/*----------------------------------------------- - @(target):= _soqt.so - ------------------------------------------------*/ -#define SWIG_init init_soqt - -#define SWIG_name "_soqt" - -#define SWIGVERSION 0x010333 -#define SWIG_VERSION SWIGVERSION - - -#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) -#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) - - -#include - - -namespace swig { - class PyObject_ptr { - protected: - PyObject *_obj; - - public: - PyObject_ptr() :_obj(0) - { - } - - PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) - { - Py_XINCREF(_obj); - } - - PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) - { - if (initial_ref) Py_XINCREF(_obj); - } - - PyObject_ptr & operator=(const PyObject_ptr& item) - { - Py_XINCREF(item._obj); - Py_XDECREF(_obj); - _obj = item._obj; - return *this; - } - - ~PyObject_ptr() - { - Py_XDECREF(_obj); - } - - operator PyObject *() const - { - return _obj; - } - - PyObject *operator->() const - { - return _obj; - } - }; -} - - -namespace swig { - struct PyObject_var : PyObject_ptr { - PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } - - PyObject_var & operator = (PyObject* obj) - { - Py_XDECREF(_obj); - _obj = obj; - return *this; - } - }; -} - - -#if defined(_WIN32) || defined(__WIN32__) -#include -#undef max -#undef ERROR -#undef DELETE -#undef ANY -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -//#include - -#include "coin_header_includes.h" - -/* make CustomCursor in SoQtCursor known to SWIG */ -typedef SoQtCursor::CustomCursor CustomCursor; - -/* FIXME: there is a major pitfall reg. this solution, namely - * thread safety! reconsider! 20030626 tamer. - */ -static void * -Pivy_PythonInteractiveLoop(void *data) { - PyRun_InteractiveLoop(stdin, ""); - return NULL; -} - -static char * PYQT_MODULE_IMPORT_NAME = NULL; - -static void -initialize_pyqt_module_import_name() -{ - /* determine the Qt version SoQt has been compiled with for correct - * PyQt module import */ -// if (!PYQT_MODULE_IMPORT_NAME) { - PYQT_MODULE_IMPORT_NAME = "qt"; - -// if (strlen(SoQt::getVersionToolkitString()) >= 1 && -// SoQt::getVersionToolkitString()[0] == '4') { - PYQT_MODULE_IMPORT_NAME = "PyQt4.Qt"; -// } -// } -} - - -#include - -#if (PY_VERSION_HEX < 0x02050000) -/* Py_ssize_t needed for Python 2.5 compatibility, but isn't defined - * in earlier Python versions. */ -typedef int Py_ssize_t; -#endif - -/* a casting helper function */ -SWIGEXPORT PyObject * -cast(PyObject * self, PyObject * args) -{ - swig_type_info * swig_type = 0; - void * cast_obj = 0; - char * type_name, * ptr_type; - int type_len; - PyObject * obj = 0; - - if (!PyArg_ParseTuple(args, "Os#:cast", &obj, &type_name, &type_len)) { - SWIG_fail; - } - - /* - * add a pointer sign to the string coming from the interpreter - * e.g. "SoSeparator" becomes "SoSeparator *" - so that SWIG_TypeQuery() - * can do its job. - */ - if (!(ptr_type = (char*)malloc(type_len+3))) { SWIG_fail; } - - memset(ptr_type, 0, type_len+3); - strncpy(ptr_type, type_name, type_len); - strcat(ptr_type, " *"); - - if (!(swig_type = SWIG_TypeQuery(ptr_type))) { - /* the britney maneuver: "baby one more time" by prefixing 'So' */ - char * cast_name = (char*)malloc(type_len + 5); - memset(cast_name, 0, type_len + 5); - cast_name[0] = 'S'; cast_name[1] = 'o'; - strncpy(cast_name+2, ptr_type, type_len+2); - - if (!(swig_type = SWIG_TypeQuery(cast_name))) { - free(cast_name); free(ptr_type); - SWIG_fail; - } - - free(cast_name); - } - - free(ptr_type); - - SWIG_ConvertPtr(obj, (void**)&cast_obj, NULL, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) { SWIG_fail; } - - return SWIG_NewPointerObj((void*)cast_obj, swig_type, 0); - fail: - return NULL; -} - -/* autocasting helper function for SoBase */ -SWIGEXPORT PyObject * -autocast_base(SoBase * base) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (base && base->isOfType(SoFieldContainer::getClassTypeId())) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = base->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)base, SWIGTYPE_p_SoBase, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoPath */ -SWIGEXPORT PyObject * -autocast_path(SoPath * path) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (path) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = path->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)path, SWIGTYPE_p_SoPath, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoField */ -SWIGEXPORT PyObject * -autocast_field(SoField * field) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (field) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = field->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)field, SWIGTYPE_p_SoField, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - -/* autocasting helper function for SoEvent */ -SWIGEXPORT PyObject * -autocast_event(SoEvent * event) -{ - PyObject * result = NULL; - - /* autocast the result to the corresponding type */ - if (event) { - PyObject * cast_args = NULL; - PyObject * obj = NULL; - SoType type = event->getTypeId(); - - /* in case of a non built-in type get the closest built-in parent */ - while (!(type.isBad() || result)) { - obj = SWIG_NewPointerObj((void*)event, SWIGTYPE_p_SoEvent, 0); - cast_args = Py_BuildValue("(Os)", obj, type.getName().getString()); - - result = cast(NULL, cast_args); - - Py_DECREF(cast_args); - Py_DECREF(obj); - - if (!result) { type = type.getParent(); } - } - } - - if (!result) { - Py_INCREF(Py_None); - result = Py_None; - } - - return result; -} - - -typedef char charp; - -SWIGINTERN charp *new_charp(){ - return (new char); - } -SWIGINTERN void delete_charp(charp *self){ - if (self) delete self; - } - -SWIGINTERN swig_type_info* -SWIG_pchar_descriptor(void) -{ - static int init = 0; - static swig_type_info* info = 0; - if (!init) { - info = SWIG_TypeQuery("_p_char"); - init = 1; - } - return info; -} - - -SWIGINTERN int -SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) -{ - if (PyString_Check(obj)) { - char *cstr; Py_ssize_t len; - PyString_AsStringAndSize(obj, &cstr, &len); - if (cptr) { - if (alloc) { - /* - In python the user should not be able to modify the inner - string representation. To warranty that, if you define - SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string - buffer is always returned. - - The default behavior is just to return the pointer value, - so, be careful. - */ -#if defined(SWIG_PYTHON_SAFE_CSTRINGS) - if (*alloc != SWIG_OLDOBJ) -#else - if (*alloc == SWIG_NEWOBJ) -#endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } - else { - *cptr = cstr; - *alloc = SWIG_OLDOBJ; - } - } else { - *cptr = PyString_AsString(obj); - } - } - if (psize) *psize = len + 1; - return SWIG_OK; - } else { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - if (pchar_descriptor) { - void* vptr = 0; - if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { - if (cptr) *cptr = (char *) vptr; - if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; - if (alloc) *alloc = SWIG_OLDOBJ; - return SWIG_OK; - } - } - } - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsCharArray(PyObject * obj, char *val, size_t size) -{ - char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; - int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); - if (SWIG_IsOK(res)) { - if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize; - if (csize <= size) { - if (val) { - if (csize) memcpy(val, cptr, csize*sizeof(char)); - if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); - } - if (alloc == SWIG_NEWOBJ) { - delete[] cptr; - res = SWIG_DelNewMask(res); - } - return res; - } - if (alloc == SWIG_NEWOBJ) delete[] cptr; - } - return SWIG_TypeError; -} - - -#include -#if !defined(SWIG_NO_LLONG_MAX) -# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) -# define LLONG_MAX __LONG_LONG_MAX__ -# define LLONG_MIN (-LLONG_MAX - 1LL) -# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) -# endif -#endif - - -SWIGINTERN int -SWIG_AsVal_double (PyObject *obj, double *val) -{ - int res = SWIG_TypeError; - if (PyFloat_Check(obj)) { - if (val) *val = PyFloat_AsDouble(obj); - return SWIG_OK; - } else if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - double v = PyLong_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - double d = PyFloat_AsDouble(obj); - if (!PyErr_Occurred()) { - if (val) *val = d; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); - } else { - PyErr_Clear(); - } - } - } -#endif - return res; -} - - -#include - - -#include - - -SWIGINTERNINLINE int -SWIG_CanCastAsInteger(double *d, double min, double max) { - double x = *d; - if ((min <= x && x <= max)) { - double fx = floor(x); - double cx = ceil(x); - double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ - if ((errno == EDOM) || (errno == ERANGE)) { - errno = 0; - } else { - double summ, reps, diff; - if (rd < x) { - diff = x - rd; - } else if (rd > x) { - diff = rd - x; - } else { - return 1; - } - summ = rd + x; - reps = diff/summ; - if (reps < 8*DBL_EPSILON) { - *d = rd; - return 1; - } - } - } - return 0; -} - - -SWIGINTERN int -SWIG_AsVal_long (PyObject *obj, long* val) -{ - if (PyInt_Check(obj)) { - if (val) *val = PyInt_AsLong(obj); - return SWIG_OK; - } else if (PyLong_Check(obj)) { - long v = PyLong_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - long v = PyInt_AsLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { - if (val) *val = (long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERN int -SWIG_AsVal_char (PyObject * obj, char *val) -{ - int res = SWIG_AsCharArray(obj, val, 1); - if (!SWIG_IsOK(res)) { - long v; - res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); - if (SWIG_IsOK(res)) { - if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { - if (val) *val = static_cast< char >(v); - } else { - res = SWIG_OverflowError; - } - } - } - return res; -} - -SWIGINTERN void charp_assign(charp *self,char value){ - *self = value; - } -SWIGINTERN char charp_value(charp *self){ - return *self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtrAndSize(const char* carray, size_t size) -{ - if (carray) { - if (size > INT_MAX) { - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); - return pchar_descriptor ? - SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void(); - } else { - return PyString_FromStringAndSize(carray, static_cast< int >(size)); - } - } else { - return SWIG_Py_Void(); - } -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_char (char c) -{ - return SWIG_FromCharPtrAndSize(&c,1); -} - -SWIGINTERN char *charp_cast(charp *self){ - return self; - } - -SWIGINTERNINLINE PyObject * -SWIG_FromCharPtr(const char *cptr) -{ - return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); -} - - - - -SWIGINTERN charp *charp_frompointer(char *t){ - return (charp *) t; - } - -typedef int intp; - -SWIGINTERN intp *new_intp(){ - return (new int); - } -SWIGINTERN void delete_intp(intp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_int (PyObject * obj, int *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < INT_MIN || v > INT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< int >(v); - } - } - return res; -} - -SWIGINTERN void intp_assign(intp *self,int value){ - *self = value; - } -SWIGINTERN int intp_value(intp *self){ - return *self; - } - - #define SWIG_From_long PyInt_FromLong - - -SWIGINTERNINLINE PyObject * -SWIG_From_int (int value) -{ - return SWIG_From_long (value); -} - -SWIGINTERN int *intp_cast(intp *self){ - return self; - } -SWIGINTERN intp *intp_frompointer(int *t){ - return (intp *) t; - } - -typedef long longp; - -SWIGINTERN longp *new_longp(){ - return (new long); - } -SWIGINTERN void delete_longp(longp *self){ - if (self) delete self; - } -SWIGINTERN void longp_assign(longp *self,long value){ - *self = value; - } -SWIGINTERN long longp_value(longp *self){ - return *self; - } -SWIGINTERN long *longp_cast(longp *self){ - return self; - } -SWIGINTERN longp *longp_frompointer(long *t){ - return (longp *) t; - } - -typedef float floatp; - -SWIGINTERN floatp *new_floatp(){ - return (new float); - } -SWIGINTERN void delete_floatp(floatp *self){ - if (self) delete self; - } - -SWIGINTERN int -SWIG_AsVal_float (PyObject * obj, float *val) -{ - double v; - int res = SWIG_AsVal_double (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < -FLT_MAX || v > FLT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< float >(v); - } - } - return res; -} - -SWIGINTERN void floatp_assign(floatp *self,float value){ - *self = value; - } -SWIGINTERN float floatp_value(floatp *self){ - return *self; - } - - #define SWIG_From_double PyFloat_FromDouble - - -SWIGINTERNINLINE PyObject * -SWIG_From_float (float value) -{ - return SWIG_From_double (value); -} - -SWIGINTERN float *floatp_cast(floatp *self){ - return self; - } -SWIGINTERN floatp *floatp_frompointer(float *t){ - return (floatp *) t; - } - -typedef double doublep; - -SWIGINTERN doublep *new_doublep(){ - return (new double); - } -SWIGINTERN void delete_doublep(doublep *self){ - if (self) delete self; - } -SWIGINTERN void doublep_assign(doublep *self,double value){ - *self = value; - } -SWIGINTERN double doublep_value(doublep *self){ - return *self; - } -SWIGINTERN double *doublep_cast(doublep *self){ - return self; - } -SWIGINTERN doublep *doublep_frompointer(double *t){ - return (doublep *) t; - } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) -{ - if (PyInt_Check(obj)) { - long v = PyInt_AsLong(obj); - if (v >= 0) { - if (val) *val = v; - return SWIG_OK; - } else { - return SWIG_OverflowError; - } - } else if (PyLong_Check(obj)) { - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_OK; - } else { - PyErr_Clear(); - } - } -#ifdef SWIG_PYTHON_CAST_MODE - { - int dispatch = 0; - unsigned long v = PyLong_AsUnsignedLong(obj); - if (!PyErr_Occurred()) { - if (val) *val = v; - return SWIG_AddCast(SWIG_OK); - } else { - PyErr_Clear(); - } - if (!dispatch) { - double d; - int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); - if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { - if (val) *val = (unsigned long)(d); - return res; - } - } - } -#endif - return SWIG_TypeError; -} - - -SWIGINTERNINLINE PyObject* -SWIG_From_unsigned_SS_long (unsigned long value) -{ - return (value > LONG_MAX) ? - PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_short (unsigned short value) -{ - return SWIG_From_unsigned_SS_long (value); -} - - -SWIGINTERNINLINE PyObject * -SWIG_From_short (short value) -{ - return SWIG_From_long (value); -} - - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > USHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned short >(v); - } - } - return res; -} - -SWIGINTERN PyObject *SoType_createInstance(SoType *self){ - if (self->isDerivedFrom(SoField::getClassTypeId())) { - return autocast_field((SoField*)self->createInstance()); - } else if (self->isDerivedFrom(SoPath::getClassTypeId())) { - return autocast_path((SoPath*)self->createInstance()); - } - return autocast_base((SoBase*)self->createInstance()); - } - -static void -convert_SbVec2s_array(PyObject *input, short temp[2]) -{ - if (PySequence_Check(input) && (PySequence_Size(input) == 2) && - PyNumber_Check(PySequence_GetItem(input, 0)) && - PyNumber_Check(PySequence_GetItem(input, 1))) { - temp[0] = PyInt_AsLong(PySequence_GetItem(input, 0)); - temp[1] = PyInt_AsLong(PySequence_GetItem(input, 1)); - } else { - PyErr_SetString(PyExc_TypeError, "expected a sequence with 2 shorts"); - PyErr_Print(); - } -} - - -SWIGINTERN int -SWIG_AsVal_short (PyObject * obj, short *val) -{ - long v; - int res = SWIG_AsVal_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v < SHRT_MIN || v > SHRT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< short >(v); - } - } - return res; -} - -SWIGINTERN SbVec2s SbVec2s___add__(SbVec2s *self,SbVec2s const &u){ return *self + u; } -SWIGINTERN SbVec2s SbVec2s___sub__(SbVec2s *self,SbVec2s const &u){ return *self - u; } -SWIGINTERN SbVec2s SbVec2s___mul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___rmul__(SbVec2s *self,double const d){ return *self * d; } -SWIGINTERN SbVec2s SbVec2s___div__(SbVec2s *self,double const d){ return *self / d; } -SWIGINTERN int SbVec2s___eq__(SbVec2s *self,SbVec2s const &u){ return *self == u; } -SWIGINTERN int SbVec2s___nq__(SbVec2s *self,SbVec2s const &u){ return *self != u; } -SWIGINTERN short SbVec2s___getitem__(SbVec2s *self,int i){ return (self->getValue())[i]; } -SWIGINTERN void SbVec2s___setitem__(SbVec2s *self,int i,short value){ (*self)[i] = value; } -SWIGINTERN void *SbPList___getitem__(SbPList *self,int i){ return self->get(i); } -SWIGINTERN void SbPList___setitem__(SbPList *self,int i,void *val){ self->set(i,val); } -SWIGINTERN void SbIntList___setitem__(SbIntList *self,int const i,int *value){ self->set(i,value); } -SWIGINTERN int &SbIntList___getitem__(SbIntList *self,int const i){ return (*self)[i]; } -SWIGINTERN int SbIntList_get(SbIntList *self,int const i){ return (*self)[i]; } - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_int (unsigned int value) -{ - return SWIG_From_unsigned_SS_long (value); -} - -SWIGINTERN int SbString___eq____SWIG_0(SbString *self,SbString const &u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_0(SbString *self,SbString const &u){ return *self != u; } -SWIGINTERN int SbString___eq____SWIG_1(SbString *self,char *u){ return *self == u; } -SWIGINTERN int SbString___nq____SWIG_1(SbString *self,char *u){ return *self != u; } -SWIGINTERN char SbString___getitem__(SbString *self,int i){ return (*self)[i]; } -SWIGINTERN char const *SbString___repr__(SbString *self){ return self->getString(); } -SWIGINTERN int SbName___eq____SWIG_0(SbName *self,SbName const &u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_0(SbName *self,SbName const &u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_1(SbName *self,char *u){ return *self == u; } -SWIGINTERN int SbName___nq____SWIG_1(SbName *self,char *u){ return *self != u; } -SWIGINTERN int SbName___eq____SWIG_2(SbName *self,SbString const &u){ return *self == u.getString(); } -SWIGINTERN int SbName___nq____SWIG_2(SbName *self,SbString const &u){ return *self != u.getString(); } -SWIGINTERN char SbName___getitem__(SbName *self,int i){ return self->getString()[i]; } -SWIGINTERN char const *SbName___repr__(SbName *self){ return self->getString(); } -SWIGINTERN SbTime SbTime___add__(SbTime *self,SbTime const &u){ return *self + u; } -SWIGINTERN SbTime SbTime___sub__(SbTime *self,SbTime const &u){ return *self - u; } -SWIGINTERN SbTime SbTime___mul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___rmul__(SbTime *self,double const d){ return *self * d; } -SWIGINTERN SbTime SbTime___div____SWIG_1(SbTime *self,double const d){ return *self / d; } -SWIGINTERN SbString SoField_get(SoField *self){ - SbString valuestring; - self->get(valuestring); - return valuestring; - } -SWIGINTERN int SoMField___len__(SoMField *self){ return self->getNum(); } -SWIGINTERN SbString SoMField_get1(SoMField *self,int const index){ - SbString valuestring; - self->get1(index, valuestring); - return valuestring; - } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UINT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned int >(v); - } - } - return res; -} - -SWIGINTERN void SoQt_mainLoop(){ - PyRun_SimpleString("import sys"); - PyObject *d = PyModule_GetDict(PyImport_AddModule("__main__")); - PyObject *result = PyRun_String("sys.argv[0]", Py_eval_input, d, d); - /* if we are calling from within an interactive python interpreter - * session spawn a new InteractiveLoop in a new thread. determined - * by sys.argv[0] == ''. otherwise proceed as usual. - */ - if (!strcmp(PyString_AsString(result), "")) { - cc_thread *py_thread = cc_thread_construct(Pivy_PythonInteractiveLoop, NULL); - SoQt::mainLoop(); - void *retval = NULL; - cc_thread_join(py_thread, &retval); - cc_thread_destruct(py_thread); - Py_Exit(0); - } else { - SoQt::mainLoop(); - } - } - -static SbBool -SoQtRenderAreaEventPythonCB(void * closure, QEvent * event) -{ - PyObject *func, *arglist; - PyObject *result, *sip, *qt, *qev = NULL; - int ret = 0; - - /* try to create a QEvent PyQt instance over sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qevent_type; - qevent_type = PyDict_GetItemString(PyModule_GetDict(qt), "QEvent"); - - arglist = Py_BuildValue("(lO)", event, qevent_type); - - if (!(qev = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QEvent could be created through sip return a swig QEvent type */ - if (!qev) { - qev = SWIG_NewPointerObj((void *)event, SWIGTYPE_p_QEvent, 0); - } - - /* the first item in the closure sequence is the python callback - * function; the second is the supplied closure python object */ - func = PyTuple_GetItem((PyObject *)closure, 0); - arglist = Py_BuildValue("(OO)", PyTuple_GetItem((PyObject *)closure, 1), qev); - - if (!(result = PyEval_CallObject(func, arglist))) { - PyErr_Print(); - } else { - ret = PyInt_AsLong(result); - } - - if (sip) {Py_DECREF(sip); } - Py_DECREF(arglist); - Py_DECREF(qev); - Py_XDECREF(result); - - return ret; -} - -SWIGINTERN void SoQtRenderArea_setEventCallback__SWIG_2(SoQtRenderArea *self,PyObject *pyfunc,PyObject *user=NULL){ - self->setEventCallback(SoQtRenderAreaEventPythonCB, - (void *)Py_BuildValue("(OO)", - pyfunc, - user ? user : Py_None)); - } -#ifdef __cplusplus -extern "C" { -#endif -SWIGINTERN PyObject *_wrap_new_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_charp",0,0)) SWIG_fail; - result = (charp *)new_charp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_charp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_charp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_charp" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - delete_charp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_assign" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charp_assign" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - charp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_value" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char)charp_value(arg1); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - charp *arg1 = (charp *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_cast" "', argument " "1"" of type '" "charp *""'"); - } - arg1 = reinterpret_cast< charp * >(argp1); - result = (char *)charp_cast(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_charp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - charp *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"charp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charp_frompointer" "', argument " "1"" of type '" "char *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (charp *)charp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charp, 0 | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *charp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_charp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_intp",0,0)) SWIG_fail; - result = (intp *)new_intp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_intp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_intp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intp" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - delete_intp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_assign" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intp_assign" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - intp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_value" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int)intp_value(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - intp *arg1 = (intp *) 0 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_cast" "', argument " "1"" of type '" "intp *""'"); - } - arg1 = reinterpret_cast< intp * >(argp1); - result = (int *)intp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_intp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - intp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"intp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intp_frompointer" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - result = (intp *)intp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *intp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_intp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_longp",0,0)) SWIG_fail; - result = (longp *)new_longp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_longp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_longp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_longp" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - delete_longp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_assign" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longp_assign" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - longp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_value" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long)longp_value(arg1); - resultobj = SWIG_From_long(static_cast< long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - longp *arg1 = (longp *) 0 ; - long *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_cast" "', argument " "1"" of type '" "longp *""'"); - } - arg1 = reinterpret_cast< longp * >(argp1); - result = (long *)longp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_longp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - long *arg1 = (long *) 0 ; - longp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"longp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_long, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longp_frompointer" "', argument " "1"" of type '" "long *""'"); - } - arg1 = reinterpret_cast< long * >(argp1); - result = (longp *)longp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *longp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_longp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_floatp",0,0)) SWIG_fail; - result = (floatp *)new_floatp(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_floatp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_floatp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_floatp" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - delete_floatp(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_assign" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatp_assign" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - floatp_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_value" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float)floatp_value(arg1); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - floatp *arg1 = (floatp *) 0 ; - float *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatp, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_cast" "', argument " "1"" of type '" "floatp *""'"); - } - arg1 = reinterpret_cast< floatp * >(argp1); - result = (float *)floatp_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_floatp_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - float *arg1 = (float *) 0 ; - floatp *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"floatp_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_float, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatp_frompointer" "', argument " "1"" of type '" "float *""'"); - } - arg1 = reinterpret_cast< float * >(argp1); - result = (floatp *)floatp_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatp, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *floatp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_floatp, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_doublep",0,0)) SWIG_fail; - result = (doublep *)new_doublep(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_doublep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_doublep",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doublep" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - delete_doublep(arg1); - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_assign",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_assign" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doublep_assign" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - doublep_assign(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_value",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_value" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double)doublep_value(arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - doublep *arg1 = (doublep *) 0 ; - double *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_cast",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doublep, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_cast" "', argument " "1"" of type '" "doublep *""'"); - } - arg1 = reinterpret_cast< doublep * >(argp1); - result = (double *)doublep_cast(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_doublep_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double *arg1 = (double *) 0 ; - doublep *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"doublep_frompointer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doublep_frompointer" "', argument " "1"" of type '" "double *""'"); - } - arg1 = reinterpret_cast< double * >(argp1); - result = (doublep *)doublep_frompointer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doublep, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *doublep_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_doublep, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbDict *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbDict" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbDict *)new SbDict(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",0,0)) SWIG_fail; - result = (SbDict *)new SbDict(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = 0 ; - SbDict *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbDict, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbDict" "', argument " "1"" of type '" "SbDict const &""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - result = (SbDict *)new SbDict((SbDict const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbDict, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbDict(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbDict__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbDict__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbDict__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbDict'.\n Possible C/C++ prototypes are:\n"" SbDict(int const)\n"" SbDict()\n"" SbDict(SbDict const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbDict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbDict",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbDict" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void (*arg2)(unsigned long,void *) = (void (*)(unsigned long,void *)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_unsigned_long_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "void (*)(unsigned long,void *)""'"); - } - } - ((SbDict const *)arg1)->applyToAll(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void (*arg2)(unsigned long,void *,void *) = (void (*)(unsigned long,void *,void *)) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_applyToAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_applyToAll" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_unsigned_long_p_void_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_applyToAll" "', argument " "2"" of type '" "void (*)(unsigned long,void *,void *)""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_applyToAll" "', argument " "3"" of type '" "void *""'"); - } - ((SbDict const *)arg1)->applyToAll(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_applyToAll(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_unsigned_long_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbDict, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_unsigned_long_p_void_p_void__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbDict_applyToAll__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbDict_applyToAll'.\n Possible C/C++ prototypes are:\n"" applyToAll(SbDict const *,void (*)(unsigned long,void *))\n"" applyToAll(SbDict const *,void (*)(unsigned long,void *,void *),void *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_clear",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_clear" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_enter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - void *arg3 = (void *) (void *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_enter",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_enter" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_enter" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_enter" "', argument " "3"" of type '" "void *const""'"); - } - result = (SbBool)(arg1)->enter(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - void **arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_find",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_find" "', argument " "1"" of type '" "SbDict const *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_find" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_p_void, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_find" "', argument " "3"" of type '" "void *&""'"); - } - arg3 = reinterpret_cast< void ** >(argp3); - result = (SbBool)((SbDict const *)arg1)->find(arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_makePList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - SbPList *arg2 = 0 ; - SbPList *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_makePList",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_makePList" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "2"" of type '" "SbPList &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbPList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbDict_makePList" "', argument " "3"" of type '" "SbPList &""'"); - } - arg3 = reinterpret_cast< SbPList * >(argp3); - (arg1)->makePList(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_remove" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbDict_remove" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - result = (SbBool)(arg1)->remove(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbDict_setHashingFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbDict *arg1 = (SbDict *) 0 ; - unsigned long (*arg2)(unsigned long const) = (unsigned long (*)(unsigned long const)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbDict_setHashingFunction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbDict, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbDict_setHashingFunction" "', argument " "1"" of type '" "SbDict *""'"); - } - arg1 = reinterpret_cast< SbDict * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_q_const__unsigned_long__unsigned_long); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbDict_setHashingFunction" "', argument " "2"" of type '" "unsigned long (*)(unsigned long const)""'"); - } - } - (arg1)->setHashingFunction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbDict_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbDict, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoType_fromName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName arg1 ; - SoType result; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = SbName(PyString_AsString(obj0)); - } else { - SbName * namePtr; - SWIG_ConvertPtr(obj0, (void**)&namePtr, SWIGTYPE_p_SbName, 1); - arg1 = *namePtr; - } - } - result = SoType::fromName(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbName result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getName" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getName(); - resultobj = SWIG_NewPointerObj((new SbName(static_cast< const SbName& >(result))), SWIGTYPE_p_SbName, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getParent" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = ((SoType const *)arg1)->getParent(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isDerivedFrom" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_isDerivedFrom" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->isDerivedFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getAllDerivedFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType arg1 ; - SoTypeList *arg2 = 0 ; - int result; - void *argp1 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getAllDerivedFrom",2,2,&obj0,&obj1)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "1"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoTypeList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType_getAllDerivedFrom" "', argument " "2"" of type '" "SoTypeList &""'"); - } - arg2 = reinterpret_cast< SoTypeList * >(argp2); - result = (int)SoType::getAllDerivedFrom(arg1,*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_canCreateInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_canCreateInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_canCreateInstance" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->canCreateInstance(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - uint16_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getData",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getData" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (uint16_t)((SoType const *)arg1)->getData(); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - int16_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getKey",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getKey" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (int16_t)((SoType const *)arg1)->getKey(); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___eq__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___eq__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator ==(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ne__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ne__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator !=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___lt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___lt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___le__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___le__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator <=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___ge__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___ge__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >=(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType___gt__" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoType___gt__" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoType const *)arg1)->operator >(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_init",0,0)) SWIG_fail; - SoType::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_fromKey(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint16_t arg1 ; - SoType result; - unsigned short val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_fromKey",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoType_fromKey" "', argument " "1"" of type '" "uint16_t""'"); - } - arg1 = static_cast< uint16_t >(val1); - result = SoType::fromKey(arg1); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_badType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_badType",0,0)) SWIG_fail; - result = SoType::badType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isBad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isBad",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isBad" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isBad(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_makeInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_makeInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_makeInternal" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - (arg1)->makeInternal(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_isInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_isInternal",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_isInternal" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SbBool)((SoType const *)arg1)->isInternal(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getNumTypes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int result; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getNumTypes",0,0)) SWIG_fail; - result = (int)SoType::getNumTypes(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_getInstantiationMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - SoType::instantiationMethod result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_getInstantiationMethod",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_getInstantiationMethod" "', argument " "1"" of type '" "SoType const *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (SoType::instantiationMethod)((SoType const *)arg1)->getInstantiationMethod(); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoType_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - PyObject *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoType_createInstance",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoType_createInstance" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - result = (PyObject *)SoType_createInstance(arg1); - resultobj = result; - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoType",0,0)) SWIG_fail; - result = (SoType *)new SoType(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoType, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType *arg1 = (SoType *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoType, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoType" "', argument " "1"" of type '" "SoType *""'"); - } - arg1 = reinterpret_cast< SoType * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoType, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",0,0)) SWIG_fail; - result = (SbVec2s *)new SbVec2s(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short *arg1 ; - SbVec2s *result = 0 ; - short temp1[2] ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",1,1,&obj0)) SWIG_fail; - { - convert_SbVec2s_array(obj0, temp1); - arg1 = temp1; - } - result = (SbVec2s *)new SbVec2s((short const (*))arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - short arg1 ; - short arg2 ; - SbVec2s *result = 0 ; - short val1 ; - int ecode1 = 0 ; - short val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbVec2s",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_short(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbVec2s" "', argument " "1"" of type '" "short""'"); - } - arg1 = static_cast< short >(val1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbVec2s" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - result = (SbVec2s *)new SbVec2s(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbVec2s(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbVec2s__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - _v = PySequence_Check(argv[0]) ? 1 : 0; - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_short(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbVec2s__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbVec2s'.\n Possible C/C++ prototypes are:\n"" SbVec2s()\n"" SbVec2s(short const [2])\n"" SbVec2s(short const,short const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_dot",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_dot" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s_dot" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int32_t)((SbVec2s const *)arg1)->dot((SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 = 0 ; - short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2 ; - int res2 = SWIG_TMPOBJ ; - short temp3 ; - int res3 = SWIG_TMPOBJ ; - PyObject * obj0 = 0 ; - - arg2 = &temp2; - arg3 = &temp3; - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_getValue" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ((SbVec2s const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg2))); - } else { - int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_short, new_flags)); - } - if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); - } else { - int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_negate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_negate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_negate" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - (arg1)->negate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short *arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short temp2[2] ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - convert_SbVec2s_array(obj1, temp2); - arg2 = temp2; - } - { - SbVec2s &_result_ref = (arg1)->setValue((short const (*))arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - short arg2 ; - short arg3 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - short val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_setValue" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_short(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s_setValue" "', argument " "2"" of type '" "short""'"); - } - arg2 = static_cast< short >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s_setValue" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - { - SbVec2s &_result_ref = (arg1)->setValue(arg2,arg3); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PySequence_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_short(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbVec2s *,short const [2])\n"" setValue(SbVec2s *,short,short)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___imul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator *=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___imul__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___imul____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___imul__'.\n Possible C/C++ prototypes are:\n"" operator *=(SbVec2s *,int)\n"" operator *=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___idiv__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbVec2s &_result_ref = (arg1)->operator /=(arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___idiv__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbVec2s, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbVec2s___idiv____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbVec2s___idiv__'.\n Possible C/C++ prototypes are:\n"" operator /=(SbVec2s *,int)\n"" operator /=(SbVec2s *,double)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___iadd__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___iadd__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2s &_result_ref = (arg1)->operator +=((SbVec2s const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___isub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___isub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - { - SbVec2s &_result_ref = (arg1)->operator -=((SbVec2s const &)*arg2); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___neg__" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - result = ((SbVec2s const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s_output" "', argument " "1"" of type '" "SbVec2s const *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbVec2s const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___add__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___add__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___add__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___sub__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___sub__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = SbVec2s___sub__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___mul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___rmul__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - double arg2 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___div__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbVec2s___div__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___eq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___eq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___eq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___nq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - SbVec2s *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___nq__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbVec2s___nq__" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - result = (int)SbVec2s___nq__(arg1,(SbVec2s const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___getitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (short)SbVec2s___getitem__(arg1,arg2); - resultobj = SWIG_From_short(static_cast< short >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbVec2s___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - int arg2 ; - short arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - short val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbVec2s___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbVec2s___setitem__" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbVec2s___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_short(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbVec2s___setitem__" "', argument " "3"" of type '" "short""'"); - } - arg3 = static_cast< short >(val3); - SbVec2s___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbVec2s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbVec2s *arg1 = (SbVec2s *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbVec2s",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbVec2s, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbVec2s" "', argument " "1"" of type '" "SbVec2s *""'"); - } - arg1 = reinterpret_cast< SbVec2s * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbVec2s_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbVec2s, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbPList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbPList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbPList *)new SbPList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",0,0)) SWIG_fail; - result = (SbPList *)new SbPList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = 0 ; - SbPList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SbPList" "', argument " "1"" of type '" "SbPList const &""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (SbPList *)new SbPList((SbPList const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbPList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbPList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbPList__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbPList__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbPList__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbPList'.\n Possible C/C++ prototypes are:\n"" SbPList(int const)\n"" SbPList()\n"" SbPList(SbPList const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbPList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbPList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbPList" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_copy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_copy" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList_copy" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - (arg1)->copy((SbPList const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_fit",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_fit" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - (arg1)->fit(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_append" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_append" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_find" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_find" "', argument " "2"" of type '" "void *""'"); - } - result = (int)((SbPList const *)arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_insert" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_insert" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void *arg2 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeItem" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList_removeItem" "', argument " "2"" of type '" "void *""'"); - } - (arg1)->removeItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_remove",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_remove" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_remove" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->remove(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_removeFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_removeFast",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_removeFast" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_removeFast" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeFast(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getLength" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (int)((SbPList const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbPList_truncate" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->truncate(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_truncate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_truncate" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_truncate" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->truncate(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_truncate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_truncate__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_truncate'.\n Possible C/C++ prototypes are:\n"" truncate(SbPList *,int const,int const)\n"" truncate(SbPList *,int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_getArrayPtr" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void **)((SbPList const *)arg1)->getArrayPtr(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - void **result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_getArrayPtr",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_getArrayPtr" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - result = (void **)((SbPList const *)arg1)->getArrayPtr(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_getArrayPtr(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbPList, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbPList_getArrayPtr__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbPList_getArrayPtr'.\n Possible C/C++ prototypes are:\n"" getArrayPtr(SbPList const *,int const)\n"" getArrayPtr(SbPList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___eq__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___eq__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator ==((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - SbPList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___ne__" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbPList, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbPList___ne__" "', argument " "2"" of type '" "SbPList const &""'"); - } - arg2 = reinterpret_cast< SbPList * >(argp2); - result = (int)((SbPList const *)arg1)->operator !=((SbPList const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_get" "', argument " "1"" of type '" "SbPList const *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)((SbPList const *)arg1)->get(arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList_set",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList_set" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList_set" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList_set" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->set(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___getitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (void *)SbPList___getitem__(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbPList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbPList *arg1 = (SbPList *) 0 ; - int arg2 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbPList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbPList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbPList___setitem__" "', argument " "1"" of type '" "SbPList *""'"); - } - arg1 = reinterpret_cast< SbPList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbPList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbPList___setitem__" "', argument " "3"" of type '" "void *""'"); - } - SbPList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbPList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbPList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",0,0)) SWIG_fail; - result = (SbIntList *)new SbIntList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbIntList *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbIntList",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbIntList" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbIntList *)new SbIntList(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbIntList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbIntList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbIntList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbIntList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbIntList'.\n Possible C/C++ prototypes are:\n"" SbIntList()\n"" SbIntList(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_append" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_append" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_find" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_find" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->find(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_insert" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_insert" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbIntList_insert" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insert(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___setitem__",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___setitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___setitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbIntList___setitem__" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SbIntList___setitem__(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList___getitem__" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - { - int &_result_ref = SbIntList___getitem__(arg1,arg2); - result = (int *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbIntList_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbIntList_get",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbIntList_get" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbIntList_get" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)SbIntList_get(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbIntList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbIntList *arg1 = (SbIntList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbIntList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbIntList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbIntList" "', argument " "1"" of type '" "SbIntList *""'"); - } - arg1 = reinterpret_cast< SbIntList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbIntList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbIntList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",0,0)) SWIG_fail; - result = (SbString *)new SbString(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - SbString *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbString *)new SbString((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - int arg2 ; - int arg3 ; - SbString *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbString" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SbString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (SbString *)new SbString((char const *)arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbString *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbString *)new SbString((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SbString *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbString",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbString" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SbString *)new SbString(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbString__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_4(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbString__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbString__SWIG_3(self, args); - } - } - if (argc == 3) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbString__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbString'.\n Possible C/C++ prototypes are:\n"" SbString()\n"" SbString(char const *)\n"" SbString(char const *,int,int)\n"" SbString(SbString const &)\n"" SbString(int const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (uint32_t)((SbString const *)arg1)->hash(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - uint32_t result; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_hash",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_hash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (uint32_t)SbString::hash((char const *)arg1); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_hash(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_0(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_hash__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_hash'.\n Possible C/C++ prototypes are:\n"" hash(SbString const *)\n"" SbString::hash(char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getLength" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (int)((SbString const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_makeEmpty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->makeEmpty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_makeEmpty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_makeEmpty" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - (arg1)->makeEmpty(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_makeEmpty(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_makeEmpty__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_makeEmpty'.\n Possible C/C++ prototypes are:\n"" makeEmpty(SbString *,SbBool)\n"" makeEmpty(SbString *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)((SbString const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_getSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = ((SbString const *)arg1)->getSubString(arg2,arg3); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_getSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_getSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_getSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = ((SbString const *)arg1)->getSubString(arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_getSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_getSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_getSubString'.\n Possible C/C++ prototypes are:\n"" getSubString(SbString const *,int,int)\n"" getSubString(SbString const *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_deleteSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteSubString(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_deleteSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_deleteSubString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_deleteSubString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteSubString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_deleteSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_deleteSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_deleteSubString'.\n Possible C/C++ prototypes are:\n"" deleteSubString(SbString *,int,int)\n"" deleteSubString(SbString *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_addIntString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_addIntString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_addIntString" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString_addIntString" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addIntString(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->operator +=((char const *)arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - { - SbString &_result_ref = (arg1)->operator +=((SbString const &)*arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char arg2 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___iadd__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_char(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___iadd__" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - { - SbString &_result_ref = (arg1)->operator +=(arg2); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___iadd__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString___iadd____SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___iadd____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___iadd____SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___iadd__'.\n Possible C/C++ prototypes are:\n"" operator +=(SbString *,char const *)\n"" operator +=(SbString *,SbString const &)\n"" operator +=(SbString *,char const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbString_compareSubString" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_compareSubString",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_compareSubString" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_compareSubString" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)((SbString const *)arg1)->compareSubString((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_compareSubString(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString_compareSubString__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbString_compareSubString__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString_compareSubString'.\n Possible C/C++ prototypes are:\n"" compareSubString(SbString const *,char const *,int)\n"" compareSubString(SbString const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - SbString *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_sprintf",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_sprintf" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString_sprintf" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - { - SbString &_result_ref = (arg1)->sprintf((char const *)arg2,arg3); - result = (SbString *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbString, 0 | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_sprintf(PyObject *self, PyObject *args) { - PyObject *resultobj; - PyObject *varargs; - PyObject *newargs; - - newargs = PyTuple_GetSlice(args,0,2); - varargs = PyTuple_GetSlice(args,2,PyTuple_Size(args)+1); - resultobj = _wrap_SbString_sprintf__varargs__(self,newargs,varargs); - Py_XDECREF(newargs); - Py_XDECREF(varargs); - return resultobj; -} - - -SWIGINTERN PyObject *_wrap_SbString_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char (*arg2)(char) = (char (*)(char)) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_apply",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_apply" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_char__char); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SbString_apply" "', argument " "2"" of type '" "char (*)(char)""'"); - } - } - (arg1)->apply(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_find",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_find" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)((SbString const *)arg1)->find((SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString_findAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - SbIntList *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString_findAll",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString_findAll" "', argument " "1"" of type '" "SbString const *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_SbIntList, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbString_findAll" "', argument " "3"" of type '" "SbIntList &""'"); - } - arg3 = reinterpret_cast< SbIntList * >(argp3); - result = (SbBool)((SbString const *)arg1)->findAll((SbString const &)*arg2,*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___eq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbString___nq____SWIG_0(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___eq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___eq____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___nq__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbString___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbString___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbString___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbString, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbString___nq____SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbString___nq__'.\n Possible C/C++ prototypes are:\n"" __nq__(SbString *,SbString const &)\n"" __nq__(SbString *,char *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - int arg2 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___getitem__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbString___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbString___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbString___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = (SbString *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbString___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbString, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbString___repr__" "', argument " "1"" of type '" "SbString *""'"); - } - arg1 = reinterpret_cast< SbString * >(argp1); - result = (char *)SbString___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbString_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbString, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",0,0)) SWIG_fail; - result = (SbName *)new SbName(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - SbName *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbName" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (SbName *)new SbName((char const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbString *arg1 = 0 ; - SbName *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbString(PyString_AsString(obj0)); - } else { - SbString * tmp = NULL; - arg1 = new SbString; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbString const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = 0 ; - SbName *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbName",1,1,&obj0)) SWIG_fail; - { - if (PyString_Check(obj0)) { - arg1 = new SbName(PyString_AsString(obj0)); - } else { - SbName * tmp = NULL; - arg1 = new SbName; - SWIG_ConvertPtr(obj0, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg1 = *tmp; - } - } - result = (SbName *)new SbName((SbName const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbName, SWIG_POINTER_NEW | 0 ); - { - if (arg1) { - delete arg1; - } - } - return resultobj; -fail: - { - if (arg1) { - delete arg1; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbName(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbName__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbName__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[0]) && (SWIG_ConvertPtr(argv[0], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_new_SbName__SWIG_3(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbName'.\n Possible C/C++ prototypes are:\n"" SbName()\n"" SbName(char const *)\n"" SbName(SbString const &)\n"" SbName(SbName const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SbName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbName" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getString",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getString" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)((SbName const *)arg1)->getString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_getLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_getLength",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName_getLength" "', argument " "1"" of type '" "SbName const *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (int)((SbName const *)arg1)->getLength(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isIdentChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isIdentChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isIdentChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isIdentChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameStartChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameStartChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameStartChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameStartChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName_isBaseNameChar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char arg1 ; - SbBool result; - char val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName_isBaseNameChar",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_char(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SbName_isBaseNameChar" "', argument " "1"" of type '" "char""'"); - } - arg1 = static_cast< char >(val1); - result = (SbBool)SbName::isBaseNameChar(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbName *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbName(PyString_AsString(obj1)); - } else { - SbName * tmp = NULL; - arg2 = new SbName; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_0(arg1,(SbName const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___eq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___eq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbName___nq__" "', argument " "2"" of type '" "char *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)SbName___nq____SWIG_1(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___eq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___eq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___eq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___eq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___eq____SWIG_2(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - SbString *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___nq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___nq__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - { - if (PyString_Check(obj1)) { - arg2 = new SbString(PyString_AsString(obj1)); - } else { - SbString * tmp = NULL; - arg2 = new SbString; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbString, 1); - *arg2 = *tmp; - } - } - result = (int)SbName___nq____SWIG_2(arg1,(SbString const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___nq__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbName___nq____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbName, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_0(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbName, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyString_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbString, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbName___nq____SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbName___nq__'.\n Possible C/C++ prototypes are:\n"" __nq__(SbName *,SbName const &)\n"" __nq__(SbName *,char *)\n"" __nq__(SbName *,SbString const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - int arg2 ; - char result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___getitem__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___getitem__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbName___getitem__" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char)SbName___getitem__(arg1,arg2); - resultobj = SWIG_From_char(static_cast< char >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbName___repr__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbName *arg1 = (SbName *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbName___repr__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbName, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbName___repr__" "', argument " "1"" of type '" "SbName *""'"); - } - arg1 = reinterpret_cast< SbName * >(argp1); - result = (char *)SbName___repr__(arg1); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbName, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",0,0)) SWIG_fail; - result = (SbTime *)new SbTime(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - double arg1 ; - SbTime *result = 0 ; - double val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_double(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - result = (SbTime *)new SbTime(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int32_t arg1 ; - long arg2 ; - SbTime *result = 0 ; - int val1 ; - int ecode1 = 0 ; - long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SbTime" "', argument " "1"" of type '" "int32_t""'"); - } - arg1 = static_cast< int32_t >(val1); - ecode2 = SWIG_AsVal_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SbTime" "', argument " "2"" of type '" "long""'"); - } - arg2 = static_cast< long >(val2); - result = (SbTime *)new SbTime(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - timeval *arg1 = (timeval *) (timeval *)0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SbTime" "', argument " "1"" of type '" "timeval const *const""'"); - } - arg1 = reinterpret_cast< timeval * >(argp1); - result = (SbTime *)new SbTime((timeval const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SbTime(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SbTime__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SbTime__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SbTime__SWIG_2(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SbTime'.\n Possible C/C++ prototypes are:\n"" SbTime()\n"" SbTime(double const)\n"" SbTime(int32_t const,long const)\n"" SbTime(timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getTimeOfDay",0,0)) SWIG_fail; - result = SbTime::getTimeOfDay(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setToTimeOfDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setToTimeOfDay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setToTimeOfDay" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - (arg1)->setToTimeOfDay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_zero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_zero",0,0)) SWIG_fail; - result = SbTime::zero(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_max",0,0)) SWIG_fail; - result = SbTime::max(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_maxTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime result; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_maxTime",0,0)) SWIG_fail; - result = SbTime::maxTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - (arg1)->setValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - int32_t arg2 ; - long arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - long val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "int32_t""'"); - } - arg2 = static_cast< int32_t >(val2); - ecode3 = SWIG_AsVal_long(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SbTime_setValue" "', argument " "3"" of type '" "long""'"); - } - arg3 = static_cast< long >(val3); - (arg1)->setValue(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) (timeval *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_setValue" "', argument " "2"" of type '" "timeval const *const""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - (arg1)->setValue((timeval const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_setValue__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_long(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime_setValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_setValue'.\n Possible C/C++ prototypes are:\n"" setValue(SbTime *,double const)\n"" setValue(SbTime *,int32_t const,long const)\n"" setValue(SbTime *,timeval const *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_setMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_setMsecValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_setMsecValue" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime_setMsecValue" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - (arg1)->setMsecValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (double)((SbTime const *)arg1)->getValue(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - time_t *arg2 = 0 ; - long *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_time_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "2"" of type '" "time_t &""'"); - } - arg2 = reinterpret_cast< time_t * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SbTime_getValue" "', argument " "3"" of type '" "long &""'"); - } - arg3 = reinterpret_cast< long * >(argp3); - ((SbTime const *)arg1)->getValue(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - timeval *arg2 = (timeval *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getValue",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_timeval, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_getValue" "', argument " "2"" of type '" "timeval *""'"); - } - arg2 = reinterpret_cast< timeval * >(argp2); - ((SbTime const *)arg1)->getValue(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getValue(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_timeval, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_2(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_time_t, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_getValue__SWIG_1(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_getValue'.\n Possible C/C++ prototypes are:\n"" getValue(SbTime const *)\n"" getValue(SbTime const *,time_t &,long &)\n"" getValue(SbTime const *,timeval *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_getMsecValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - unsigned long result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_getMsecValue",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_getMsecValue" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = (unsigned long)((SbTime const *)arg1)->getMsecValue(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_format" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->format((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_format",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_format" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->format(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_format(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_format__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_format'.\n Possible C/C++ prototypes are:\n"" format(SbTime const *,char const *const)\n"" format(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_formatDate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = ((SbTime const *)arg1)->formatDate((char const *)arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_formatDate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_formatDate" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->formatDate(); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_formatDate(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SbTime_formatDate__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SbTime_formatDate'.\n Possible C/C++ prototypes are:\n"" formatDate(SbTime const *,char const *const)\n"" formatDate(SbTime const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_parsedate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_parsedate",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_parsedate" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SbTime_parsedate" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->parsedate((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___iadd__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___iadd__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator +=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___isub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___isub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - { - SbTime &_result_ref = (arg1)->operator -=((SbTime const &)*arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___neg__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___neg__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___neg__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - result = ((SbTime const *)arg1)->operator -(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___imul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___imul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___imul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator *=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___idiv__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___idiv__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___idiv__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - { - SbTime &_result_ref = (arg1)->operator /=(arg2); - result = (SbTime *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - double result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (double)((SbTime const *)arg1)->operator /((SbTime const &)*arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mod__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mod__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mod__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = ((SbTime const *)arg1)->operator %((SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___eq__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator ==((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ne__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (int)((SbTime const *)arg1)->operator !=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___lt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___lt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___gt__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___gt__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___le__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___le__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator <=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___ge__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___ge__" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = (SbBool)((SbTime const *)arg1)->operator >=((SbTime const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - FILE *arg2 = (FILE *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime_output" "', argument " "1"" of type '" "SbTime const *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SbTime const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___add__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___add__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___add__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - SbTime *arg2 = 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___sub__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___sub__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - { - if (PyFloat_Check(obj1)) { - arg2 = new SbTime(PyFloat_AsDouble(obj1)); - } else { - SbTime * tmp = NULL; - arg2 = new SbTime; - SWIG_ConvertPtr(obj1, (void**)&tmp, SWIGTYPE_p_SbTime, 1); - *arg2 = *tmp; - } - } - result = SbTime___sub__(arg1,(SbTime const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - { - if (arg2) { - delete arg2; - } - } - return resultobj; -fail: - { - if (arg2) { - delete arg2; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___mul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___mul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___mul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___mul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___rmul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___rmul__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___rmul__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___rmul__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___rmul__(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - double arg2 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - double val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SbTime___div__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SbTime___div__" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - ecode2 = SWIG_AsVal_double(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SbTime___div__" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - result = SbTime___div____SWIG_1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SbTime___div__(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SbTime___div____SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SbTime, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - void *ptr = NULL; - _v = 1; - if (!PyFloat_Check(argv[1]) && (SWIG_ConvertPtr(argv[1], (void**)(&ptr), SWIGTYPE_p_SbTime, 0) == -1)) { - _v = 0; - } - } - if (_v) { - return _wrap_SbTime___div____SWIG_0(self, args); - } - } - } - -fail: - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_delete_SbTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbTime *arg1 = (SbTime *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SbTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SbTime, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SbTime" "', argument " "1"" of type '" "SbTime *""'"); - } - arg1 = reinterpret_cast< SbTime * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SbTime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SbTime, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoEvent",0,0)) SWIG_fail; - result = (SoEvent *)new SoEvent(); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoEvent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoEvent" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_isOfType" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoEvent const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getClassTypeId",0,0)) SWIG_fail; - result = SoEvent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTypeId" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setTime" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbTime, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setTime" "', argument " "2"" of type '" "SbTime const""'"); - } else { - SbTime * temp = reinterpret_cast< SbTime * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbTime result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getTime" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = ((SoEvent const *)arg1)->getTime(); - resultobj = SWIG_NewPointerObj((new SbTime(static_cast< const SbTime& >(result))), SWIGTYPE_p_SbTime, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setPosition" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_setPosition" "', argument " "2"" of type '" "SbVec2s const &""'"); - } - arg2 = reinterpret_cast< SbVec2s * >(argp2); - (arg1)->setPosition((SbVec2s const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbVec2s *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - { - SbVec2s const &_result_ref = ((SoEvent const *)arg1)->getPosition(); - result = (SbVec2s *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec2s, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getPosition(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_0(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoEvent, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_SbViewportRegion, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoEvent_getPosition__SWIG_1(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoEvent_getPosition'.\n Possible C/C++ prototypes are:\n"" getPosition(SoEvent const *)\n"" getPosition(SoEvent const *,SbViewportRegion const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_getNormalizedPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbViewportRegion *arg2 = 0 ; - SbVec2f result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_getNormalizedPosition",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_getNormalizedPosition" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoEvent_getNormalizedPosition" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - result = ((SoEvent const *)arg1)->getNormalizedPosition((SbViewportRegion const &)*arg2); - resultobj = SWIG_NewPointerObj((new SbVec2f(static_cast< const SbVec2f& >(result))), SWIGTYPE_p_SbVec2f, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setShiftDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setShiftDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setShiftDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setShiftDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasShiftDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasShiftDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasShiftDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasShiftDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setCtrlDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setCtrlDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setCtrlDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCtrlDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasCtrlDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasCtrlDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasCtrlDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasCtrlDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_setAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_setAltDown",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_setAltDown" "', argument " "1"" of type '" "SoEvent *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoEvent_setAltDown" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAltDown(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_wasAltDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoEvent *arg1 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_wasAltDown",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoEvent_wasAltDown" "', argument " "1"" of type '" "SoEvent const *""'"); - } - arg1 = reinterpret_cast< SoEvent * >(argp1); - result = (SbBool)((SoEvent const *)arg1)->wasAltDown(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoEvent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoEvent_initClass",0,0)) SWIG_fail; - SoEvent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoBase *arg1 = (SoBase *) (SoBase *)0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoBase, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotRec" "', argument " "1"" of type '" "SoBase *const""'"); - } - arg1 = reinterpret_cast< SoBase * >(argp1); - result = (SoNotRec *)new SoNotRec(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setType" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotRec_setType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoBase *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getBase",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getBase" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoBase *)((SoNotRec const *)arg1)->getBase(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec::Type result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getType" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec::Type)((SoNotRec const *)arg1)->getType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_getPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_getPrevious",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_getPrevious" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - result = (SoNotRec *)((SoNotRec const *)arg1)->getPrevious(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_setPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_setPrevious",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_setPrevious" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotRec_setPrevious" "', argument " "2"" of type '" "SoNotRec const *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->setPrevious((SoNotRec const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotRec_output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotRec_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotRec_output" "', argument " "1"" of type '" "SoNotRec const *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotRec const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotRec *arg1 = (SoNotRec *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotRec, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotRec" "', argument " "1"" of type '" "SoNotRec *""'"); - } - arg1 = reinterpret_cast< SoNotRec * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotRec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotRec, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",0,0)) SWIG_fail; - result = (SoNotList *)new SoNotList(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotList *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoNotList" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotList *)new SoNotList((SoNotList const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotList, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoNotList(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoNotList__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoNotList__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoNotList'.\n Possible C/C++ prototypes are:\n"" SoNotList()\n"" SoNotList(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - (arg1)->append(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoField *arg3 = (SoField *) (SoField *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoField *const""'"); - } - arg3 = reinterpret_cast< SoField * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *arg2 = (SoNotRec *) (SoNotRec *)0 ; - SoEngineOutput *arg3 = (SoEngineOutput *) (SoEngineOutput *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_append",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_append" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotRec, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoNotList_append" "', argument " "2"" of type '" "SoNotRec *const""'"); - } - arg2 = reinterpret_cast< SoNotRec * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoNotList_append" "', argument " "3"" of type '" "SoEngineOutput *const""'"); - } - arg3 = reinterpret_cast< SoEngineOutput * >(argp3); - (arg1)->append(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_append(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_1(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoNotRec, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_append__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_append'.\n Possible C/C++ prototypes are:\n"" append(SoNotList *,SoNotRec *const)\n"" append(SoNotList *,SoNotRec *const,SoField *const)\n"" append(SoNotList *,SoNotRec *const,SoEngineOutput *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_setLastType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec::Type arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_setLastType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_setLastType" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoNotList_setLastType" "', argument " "2"" of type '" "SoNotRec::Type""'"); - } - arg2 = static_cast< SoNotRec::Type >(val2); - (arg1)->setLastType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastRec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastRec",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastRec" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getLastRec(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getFirstRecAtNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoNotRec *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getFirstRecAtNode",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getFirstRecAtNode" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoNotRec *)((SoNotList const *)arg1)->getFirstRecAtNode(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoNotRec, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoField *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastField" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoField *)((SoNotList const *)arg1)->getLastField(); - { - resultobj = autocast_field(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getLastEngineOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - SoEngineOutput *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getLastEngineOutput",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getLastEngineOutput" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (SoEngineOutput *)((SoNotList const *)arg1)->getLastEngineOutput(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_getTimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_getTimeStamp",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_getTimeStamp" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - result = (uint32_t)((SoNotList const *)arg1)->getTimeStamp(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - FILE *arg2 = (FILE *) (FILE *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - { - if (PyFile_Check(obj1)) { - arg2 = PyFile_AsFile(obj1); - } else { - PyErr_SetString(PyExc_TypeError, "expected a file object."); - } - } - ((SoNotList const *)arg1)->print(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoNotList_output",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoNotList_output" "', argument " "1"" of type '" "SoNotList const *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - ((SoNotList const *)arg1)->print(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoNotList_output(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoNotList, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FILE, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoNotList_output__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoNotList_output'.\n Possible C/C++ prototypes are:\n"" print(SoNotList const *,FILE *const)\n"" print(SoNotList const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoNotList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoNotList *arg1 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoNotList",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoNotList, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoNotList" "', argument " "1"" of type '" "SoNotList *""'"); - } - arg1 = reinterpret_cast< SoNotList * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoNotList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoNotList, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoField" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClass",0,0)) SWIG_fail; - SoField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_initClasses",0,0)) SWIG_fail; - SoField::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setIgnored",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setIgnored" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setIgnored" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setIgnored(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isIgnored(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isIgnored",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isIgnored" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isIgnored(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDefault",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDefault" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDefault" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDefault(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isDefault",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isDefault" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isDefault(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getTypeId" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = ((SoField const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getClassTypeId",0,0)) SWIG_fail; - result = SoField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isOfType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isOfType" "', argument " "2"" of type '" "SoType const""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoField const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableConnection" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->enableConnection(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectionEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectionEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectionEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectionEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput *arg2 = (SoEngineOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEngineOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoEngineOutput *""'"); - } - arg2 = reinterpret_cast< SoEngineOutput * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromEngine",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromEngine(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoEngineOutput **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedEngine",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedEngine" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoEngineOutput, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedEngine" "', argument " "2"" of type '" "SoEngineOutput *&""'"); - } - arg2 = reinterpret_cast< SoEngineOutput ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedEngine(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoField_connectFrom" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SbBool)(arg1)->connectFrom(arg2,arg3,arg4); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_connectFrom" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->connectFrom(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_connectFrom" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->connectFrom(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectFrom(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_2(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_connectFrom__SWIG_5(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_4(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_0(self, args); - } - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_connectFrom__SWIG_3(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_connectFrom'.\n Possible C/C++ prototypes are:\n"" connectFrom(SoField *,SoEngineOutput *,SbBool,SbBool)\n"" connectFrom(SoField *,SoEngineOutput *,SbBool)\n"" connectFrom(SoField *,SoEngineOutput *)\n"" connectFrom(SoField *,SoField *,SbBool,SbBool)\n"" connectFrom(SoField *,SoField *,SbBool)\n"" connectFrom(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool arg3 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_appendConnection" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SbBool)(arg1)->appendConnection(arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_appendConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_appendConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_appendConnection" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)(arg1)->appendConnection(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_appendConnection(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_appendConnection__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_2(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoField_appendConnection__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_appendConnection'.\n Possible C/C++ prototypes are:\n"" appendConnection(SoField *,SoEngineOutput *,SbBool)\n"" appendConnection(SoField *,SoEngineOutput *)\n"" appendConnection(SoField *,SoField *,SbBool)\n"" appendConnection(SoField *,SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_disconnect" "', argument " "2"" of type '" "SoField *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->disconnect(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnectedFromField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnectedFromField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnectedFromField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnectedFromField(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnectedField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField **arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnectedField",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnectedField" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_SoField, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnectedField" "', argument " "2"" of type '" "SoField *&""'"); - } - arg2 = reinterpret_cast< SoField ** >(argp2); - result = (SbBool)((SoField const *)arg1)->getConnectedField(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getNumConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getNumConnections",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getNumConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getNumConnections(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getForwardConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getForwardConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getForwardConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getForwardConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getForwardConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getConnections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldList *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getConnections",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getConnections" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoFieldList, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_getConnections" "', argument " "2"" of type '" "SoFieldList &""'"); - } - arg2 = reinterpret_cast< SoFieldList * >(argp2); - result = (int)((SoField const *)arg1)->getConnections(*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_disconnect",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_disconnect" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->disconnect(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_disconnect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoField, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SoEngineOutput, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoField_disconnect__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoField_disconnect'.\n Possible C/C++ prototypes are:\n"" disconnect(SoField *,SoEngineOutput *)\n"" disconnect(SoField *,SoField *)\n"" disconnect(SoField *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isConnected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isConnected",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isConnected" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isConnected(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *arg2 = (SoFieldContainer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setContainer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setContainer" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoFieldContainer, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_setContainer" "', argument " "2"" of type '" "SoFieldContainer *""'"); - } - arg2 = reinterpret_cast< SoFieldContainer * >(argp2); - (arg1)->setContainer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoFieldContainer *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getContainer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getContainer" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SoFieldContainer *)((SoField const *)arg1)->getContainer(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - char *arg2 = (char *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_set",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_set" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_set" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SbBool)(arg1)->set((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_shouldWrite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_shouldWrite",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_shouldWrite" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->shouldWrite(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_touch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_touch",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_touch" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->touch(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_startNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_startNotify",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_startNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - (arg1)->startNotify(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_notify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoNotList *arg2 = (SoNotList *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_notify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_notify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNotList, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_notify" "', argument " "2"" of type '" "SoNotList *""'"); - } - arg2 = reinterpret_cast< SoNotList * >(argp2); - (arg1)->notify(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_enableNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_enableNotify",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_enableNotify" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_enableNotify" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->enableNotify(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isNotifyEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isNotifyEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isNotifyEnabled" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isNotifyEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_addAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_addAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_addAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_addAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_addAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->addAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_removeAuditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *arg2 = (void *) 0 ; - SoNotRec::Type arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_removeAuditor",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_removeAuditor" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_removeAuditor" "', argument " "2"" of type '" "void *""'"); - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoField_removeAuditor" "', argument " "3"" of type '" "SoNotRec::Type""'"); - } - arg3 = static_cast< SoNotRec::Type >(val3); - (arg1)->removeAuditor(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___eq__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___eq__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___eq__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator ==((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField___ne__",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField___ne__" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField___ne__" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (int)((SoField const *)arg1)->operator !=((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_connectionStatusChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_connectionStatusChanged",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_connectionStatusChanged" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_connectionStatusChanged" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->connectionStatusChanged(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isReadOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isReadOnly",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isReadOnly" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->isReadOnly(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_isSame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_isSame",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_isSame" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_isSame" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - result = (SbBool)((SoField const *)arg1)->isSame((SoField const &)*arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyFrom",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyFrom" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoField, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoField_copyFrom" "', argument " "2"" of type '" "SoField const &""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyFrom((SoField const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_fixCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_fixCopy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_fixCopy" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_fixCopy" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->fixCopy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_referencesCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_referencesCopy",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_referencesCopy" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->referencesCopy(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_copyConnection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoField *arg2 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_copyConnection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_copyConnection" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_copyConnection" "', argument " "2"" of type '" "SoField const *""'"); - } - arg2 = reinterpret_cast< SoField * >(argp2); - (arg1)->copyConnection((SoField const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoInput *arg2 = (SoInput *) 0 ; - SbName *arg3 = 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_read",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_read" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoInput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_read" "', argument " "2"" of type '" "SoInput *""'"); - } - arg2 = reinterpret_cast< SoInput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - result = (SbBool)(arg1)->read(arg2,(SbName const &)*arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - SbName *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_write",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_write" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_write" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - { - if (PyString_Check(obj2)) { - arg3 = new SbName(PyString_AsString(obj2)); - } else { - SbName * tmp = NULL; - arg3 = new SbName; - SWIG_ConvertPtr(obj2, (void**)&tmp, SWIGTYPE_p_SbName, 1); - *arg3 = *tmp; - } - } - ((SoField const *)arg1)->write(arg2,(SbName const &)*arg3); - resultobj = SWIG_Py_Void(); - { - if (arg3) { - delete arg3; - } - } - return resultobj; -fail: - { - if (arg3) { - delete arg3; - } - } - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_countWriteRefs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SoOutput *arg2 = (SoOutput *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_countWriteRefs",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_countWriteRefs" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoOutput, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoField_countWriteRefs" "', argument " "2"" of type '" "SoOutput *""'"); - } - arg2 = reinterpret_cast< SoOutput * >(argp2); - ((SoField const *)arg1)->countWriteRefs(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setFieldType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setFieldType" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setFieldType" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFieldType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getFieldType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getFieldType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getFieldType" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (int)((SoField const *)arg1)->getFieldType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_getDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_getDirty",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_getDirty" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = (SbBool)((SoField const *)arg1)->getDirty(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_setDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_setDirty",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_setDirty" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoField_setDirty" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDirty(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_evaluate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_evaluate",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_evaluate" "', argument " "1"" of type '" "SoField const *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - ((SoField const *)arg1)->evaluate(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoField_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoField *arg1 = (SoField *) 0 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoField_get",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoField_get" "', argument " "1"" of type '" "SoField *""'"); - } - arg1 = reinterpret_cast< SoField * >(argp1); - result = SoField_get(arg1); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoSField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoSField *arg1 = (SoSField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoSField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoSField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoSField" "', argument " "1"" of type '" "SoSField *""'"); - } - arg1 = reinterpret_cast< SoSField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_initClass",0,0)) SWIG_fail; - SoSField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoSField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoSField_getClassTypeId",0,0)) SWIG_fail; - result = SoSField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoSField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoSField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_SoMField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoMField",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoMField" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getClassTypeId",0,0)) SWIG_fail; - result = SoMField::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_getNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_getNum",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_getNum" "', argument " "1"" of type '" "SoMField const *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)((SoMField const *)arg1)->getNum(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_setNum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_setNum",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_setNum" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_setNum" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setNum(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_deleteValues" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->deleteValues(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_deleteValues",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_deleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_deleteValues" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->deleteValues(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_deleteValues(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoMField, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoMField_deleteValues__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoMField_deleteValues'.\n Possible C/C++ prototypes are:\n"" deleteValues(SoMField *,int,int)\n"" deleteValues(SoMField *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_insertSpace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_insertSpace",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_insertSpace" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_insertSpace" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoMField_insertSpace" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertSpace(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_set1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - char *arg3 = (char *) (char *)0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_set1",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_set1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_set1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoMField_set1" "', argument " "3"" of type '" "char const *const""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (SbBool)(arg1)->set1(arg2,(char const *)arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_initClass",0,0)) SWIG_fail; - SoMField::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_enableDeleteValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_enableDeleteValues",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_enableDeleteValues" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - (arg1)->enableDeleteValues(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_isDeleteValuesEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_isDeleteValuesEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_isDeleteValuesEnabled" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (SbBool)(arg1)->isDeleteValuesEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField___len__",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField___len__" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - result = (int)SoMField___len__(arg1); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoMField_get1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoMField *arg1 = (SoMField *) 0 ; - int arg2 ; - SbString result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoMField_get1",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoMField, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoMField_get1" "', argument " "1"" of type '" "SoMField *""'"); - } - arg1 = reinterpret_cast< SoMField * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoMField_get1" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = SoMField_get1(arg1,arg2); - resultobj = SWIG_NewPointerObj((new SbString(static_cast< const SbString& >(result))), SWIGTYPE_p_SbString, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoMField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoMField, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_QEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QEvent *arg1 = (QEvent *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_QEvent",1,1,&obj0)) SWIG_fail; - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *QEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_QEvent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_delete_QWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_QWidget",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *QWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_QWidget, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_sogui_atexit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - sogui_atexit_f *arg1 = (sogui_atexit_f *) 0 ; - int arg2 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"sogui_atexit",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sogui_atexit" "', argument " "1"" of type '" "sogui_atexit_f *""'"); - } - } - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sogui_atexit" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - // FIXME seams no method atexit() in SoQt?? - // 3.2008 Juergen - //sogui_atexit(arg1,arg2); - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sogui_atexit" "', atexit in this version of SoQt not implemented"); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_initClass",0,0)) SWIG_fail; - SoQtObject::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_getClassTypeId",0,0)) SWIG_fail; - result = SoQtObject::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtObject_getTypeId" "', argument " "1"" of type '" "SoQtObject const *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - result = ((SoQtObject const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_isOfType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - SoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_isOfType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtObject_isOfType" "', argument " "1"" of type '" "SoQtObject const *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtObject_isOfType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - result = (SbBool)((SoQtObject const *)arg1)->isOfType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtObject_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtObject_init",0,0)) SWIG_fail; - SoQtObject::init(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtObject *arg1 = (SoQtObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtObject",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtObject, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtObject" "', argument " "1"" of type '" "SoQtObject *""'"); - } - arg1 = reinterpret_cast< SoQtObject * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtObject, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtDevice_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_initClass",0,0)) SWIG_fail; - SoQtDevice::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getClassTypeId",0,0)) SWIG_fail; - result = SoQtDevice::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_getTypeId" "', argument " "1"" of type '" "SoQtDevice const *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - result = ((SoQtDevice const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtDevice",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtDevice" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_enable" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtDevice_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtDevice_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_disable" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtDevice_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtDevice_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_translateEvent" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_setWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_setWindowSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_setWindowSize" "', argument " "1"" of type '" "SoQtDevice *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtDevice_setWindowSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtDevice_setWindowSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setWindowSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_getWindowSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtDevice *arg1 = (SoQtDevice *) 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_getWindowSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtDevice_getWindowSize" "', argument " "1"" of type '" "SoQtDevice const *""'"); - } - arg1 = reinterpret_cast< SoQtDevice * >(argp1); - result = ((SoQtDevice const *)arg1)->getWindowSize(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtDevice_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtDevice_initClasses",0,0)) SWIG_fail; - SoQtDevice::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtDevice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtDevice, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_initClass",0,0)) SWIG_fail; - SoQtKeyboard::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_getClassTypeId",0,0)) SWIG_fail; - result = SoQtKeyboard::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_getTypeId" "', argument " "1"" of type '" "SoQtKeyboard const *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - result = ((SoQtKeyboard const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtKeyboard::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoQtKeyboard *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtKeyboard",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtKeyboard" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoQtKeyboard *)new SoQtKeyboard(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtKeyboard",0,0)) SWIG_fail; - result = (SoQtKeyboard *)new SoQtKeyboard(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtKeyboard(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtKeyboard__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtKeyboard__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtKeyboard'.\n Possible C/C++ prototypes are:\n"" SoQtKeyboard(int)\n"" SoQtKeyboard()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtKeyboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtKeyboard",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtKeyboard" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_enable" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtKeyboard_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtKeyboard_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_disable" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtKeyboard_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtKeyboard_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtKeyboard_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtKeyboard *arg1 = (SoQtKeyboard *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtKeyboard_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtKeyboard, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtKeyboard_translateEvent" "', argument " "1"" of type '" "SoQtKeyboard *""'"); - } - arg1 = reinterpret_cast< SoQtKeyboard * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtKeyboard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtKeyboard, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_initClass",0,0)) SWIG_fail; - SoQtSpaceball::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_getClassTypeId",0,0)) SWIG_fail; - result = SoQtSpaceball::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_getTypeId" "', argument " "1"" of type '" "SoQtSpaceball const *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - result = ((SoQtSpaceball const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtSpaceball::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtSpaceball__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoQtSpaceball *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtSpaceball",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtSpaceball" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoQtSpaceball *)new SoQtSpaceball(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtSpaceball, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtSpaceball__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtSpaceball",0,0)) SWIG_fail; - result = (SoQtSpaceball *)new SoQtSpaceball(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtSpaceball, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtSpaceball(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtSpaceball__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtSpaceball__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtSpaceball'.\n Possible C/C++ prototypes are:\n"" SoQtSpaceball(int)\n"" SoQtSpaceball()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtSpaceball(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtSpaceball",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtSpaceball" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_enable" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtSpaceball_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtSpaceball_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_disable" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtSpaceball_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtSpaceball_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_translateEvent" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_setRotationScaleFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_setRotationScaleFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_setRotationScaleFactor" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtSpaceball_setRotationScaleFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setRotationScaleFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_getRotationScaleFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_getRotationScaleFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_getRotationScaleFactor" "', argument " "1"" of type '" "SoQtSpaceball const *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - result = (float)((SoQtSpaceball const *)arg1)->getRotationScaleFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_setTranslationScaleFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_setTranslationScaleFactor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_setTranslationScaleFactor" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtSpaceball_setTranslationScaleFactor" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setTranslationScaleFactor(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_getTranslationScaleFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_getTranslationScaleFactor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_getTranslationScaleFactor" "', argument " "1"" of type '" "SoQtSpaceball const *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - result = (float)((SoQtSpaceball const *)arg1)->getTranslationScaleFactor(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_exists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_exists",0,0)) SWIG_fail; - result = (SbBool)SoQtSpaceball::exists(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_setFocusToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_setFocusToWindow",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_setFocusToWindow" "', argument " "1"" of type '" "SoQtSpaceball *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtSpaceball_setFocusToWindow" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFocusToWindow(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtSpaceball_isFocusToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtSpaceball *arg1 = (SoQtSpaceball *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtSpaceball_isFocusToWindow",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtSpaceball, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtSpaceball_isFocusToWindow" "', argument " "1"" of type '" "SoQtSpaceball const *""'"); - } - arg1 = reinterpret_cast< SoQtSpaceball * >(argp1); - result = (SbBool)((SoQtSpaceball const *)arg1)->isFocusToWindow(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtSpaceball_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtSpaceball, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtMouse_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_initClass",0,0)) SWIG_fail; - SoQtMouse::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_getClassTypeId",0,0)) SWIG_fail; - result = SoQtMouse::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_getTypeId" "', argument " "1"" of type '" "SoQtMouse const *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - result = ((SoQtMouse const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtMouse::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int arg1 ; - SoQtMouse *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtMouse",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtMouse" "', argument " "1"" of type '" "int""'"); - } - arg1 = static_cast< int >(val1); - result = (SoQtMouse *)new SoQtMouse(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtMouse, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtMouse",0,0)) SWIG_fail; - result = (SoQtMouse *)new SoQtMouse(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtMouse, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtMouse(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtMouse__SWIG_1(self, args); - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtMouse__SWIG_0(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtMouse'.\n Possible C/C++ prototypes are:\n"" SoQtMouse(int)\n"" SoQtMouse()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtMouse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtMouse",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtMouse" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_enable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_enable" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtMouse_enable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtMouse_enable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->enable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_disable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - SoQtEventHandler *arg3 = (SoQtEventHandler *) 0 ; - void *arg4 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res4 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_disable",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_disable" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - int res = SWIG_ConvertFunctionPtr(obj2, (void**)(&arg3), SWIGTYPE_p_f_p_QWidget_p_void_p_QEvent_p_bool__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtMouse_disable" "', argument " "3"" of type '" "SoQtEventHandler *""'"); - } - } - res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4), 0, 0); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtMouse_disable" "', argument " "4"" of type '" "void *""'"); - } - (arg1)->disable(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtMouse_translateEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtMouse *arg1 = (SoQtMouse *) 0 ; - QEvent *arg2 = (QEvent *) 0 ; - SoEvent *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtMouse_translateEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtMouse, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtMouse_translateEvent" "', argument " "1"" of type '" "SoQtMouse *""'"); - } - arg1 = reinterpret_cast< SoQtMouse * >(argp1); - { - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QEvent*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QEvent, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - result = (SoEvent *)(arg1)->translateEvent(arg2); - { - resultobj = autocast_event(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtMouse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtMouse, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - QWidget *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (QWidget *)SoQt::init((char const *)arg1,(char const *)arg2); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - QWidget *result = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",1,1,&obj0)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - result = (QWidget *)SoQt::init((char const *)arg1); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = 0 ; - char **arg2 = (char **) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char **""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_init" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQt_init" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - result = (QWidget *)SoQt::init(*arg1,arg2,(char const *)arg3,(char const *)arg4); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = 0 ; - char **arg2 = (char **) 0 ; - char *arg3 = (char *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_init" "', argument " "1"" of type '" "int &""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_init" "', argument " "2"" of type '" "char **""'"); - } - arg2 = reinterpret_cast< char ** >(argp2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_init" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - result = (QWidget *)SoQt::init(*arg1,arg2,(char const *)arg3); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_init",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::init(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_init(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_1(self, args); - } - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_SoQt_init__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_0(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_3(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_char, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_init__SWIG_2(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_init'.\n Possible C/C++ prototypes are:\n"" init(char const *,char const *)\n"" init(char const *)\n"" init(int &,char **,char const *,char const *)\n"" init(int &,char **,char const *)\n"" SoQt::init(QWidget *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_exitMainLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_exitMainLoop",0,0)) SWIG_fail; - SoQt::exitMainLoop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_done(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_done",0,0)) SWIG_fail; - SoQt::done(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getTopLevelWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getTopLevelWidget",0,0)) SWIG_fail; - result = (QWidget *)SoQt::getTopLevelWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getShellWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - QWidget *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getShellWidget",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (QWidget *)SoQt::getShellWidget((QWidget const *)arg1); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_show",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::show(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_hide",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - SoQt::hide(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_setWidgetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) (QWidget *)0 ; - SbVec2s arg2 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_setWidgetSize",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_setWidgetSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQt_setWidgetSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - SoQt::setWidgetSize(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getWidgetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SbVec2s result; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getWidgetSize",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = SoQt::getWidgetSize((QWidget const *)arg1); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_createSimpleErrorDialog",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "4"" of type '" "char const *""'"); - } - arg4 = reinterpret_cast< char * >(buf4); - SoQt::createSimpleErrorDialog(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_createSimpleErrorDialog",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_createSimpleErrorDialog" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - SoQt::createSimpleErrorDialog(arg1,(char const *)arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_createSimpleErrorDialog(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_createSimpleErrorDialog__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_createSimpleErrorDialog__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_createSimpleErrorDialog'.\n Possible C/C++ prototypes are:\n"" createSimpleErrorDialog(QWidget *,char const *,char const *,char const *)\n"" SoQt::createSimpleErrorDialog(QWidget *,char const *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_getVersionInfo" "', argument " "2"" of type '" "int *""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQt_getVersionInfo" "', argument " "3"" of type '" "int *""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - SoQt::getVersionInfo(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_getVersionInfo" "', argument " "2"" of type '" "int *""'"); - } - arg2 = reinterpret_cast< int * >(argp2); - SoQt::getVersionInfo(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - int *arg1 = (int *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQt_getVersionInfo" "', argument " "1"" of type '" "int *""'"); - } - arg1 = reinterpret_cast< int * >(argp1); - SoQt::getVersionInfo(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionInfo",0,0)) SWIG_fail; - SoQt::getVersionInfo(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionInfo(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_SoQt_getVersionInfo__SWIG_3(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_2(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQt_getVersionInfo__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQt_getVersionInfo'.\n Possible C/C++ prototypes are:\n"" getVersionInfo(int *,int *,int *)\n"" getVersionInfo(int *,int *)\n"" getVersionInfo(int *)\n"" SoQt::getVersionInfo()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getVersionString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - char *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getVersionString",0,0)) SWIG_fail; - result = (char *)SoQt::getVersionString(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_setFatalErrorHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQt::FatalErrorCB *arg1 = (SoQt::FatalErrorCB *) 0 ; - void *arg2 = (void *) 0 ; - SoQt::FatalErrorCB *result = 0 ; - int res2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_setFatalErrorHandler",2,2,&obj0,&obj1)) SWIG_fail; - { - int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQt_setFatalErrorHandler" "', argument " "1"" of type '" "SoQt::FatalErrorCB *""'"); - } - } - res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQt_setFatalErrorHandler" "', argument " "2"" of type '" "void *""'"); - } - result = (SoQt::FatalErrorCB *)SoQt::setFatalErrorHandler(arg1,arg2); - resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_isDebugLibrary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SbBool result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_isDebugLibrary",0,0)) SWIG_fail; - result = (SbBool)SoQt::isDebugLibrary(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_isCompatible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int arg2 ; - SbBool result; - unsigned int val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_isCompatible",2,2,&obj0,&obj1)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SoQt_isCompatible" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQt_isCompatible" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (SbBool)SoQt::isCompatible(arg1,arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_getABIType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQt::ABIType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_getABIType",0,0)) SWIG_fail; - result = (SoQt::ABIType)SoQt::getABIType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQt_mainLoop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQt_mainLoop",0,0)) SWIG_fail; - SoQt_mainLoop(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQt, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtComponent_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_initClass",0,0)) SWIG_fail; - SoQtComponent::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getClassTypeId",0,0)) SWIG_fail; - result = SoQtComponent::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getTypeId" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = ((SoQtComponent const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtComponent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtComponent" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_show",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_show" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - (arg1)->show(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_hide",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_hide" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - (arg1)->hide(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setComponentCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setComponentCursor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setComponentCursor" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - (arg1)->setComponentCursor((SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWidgetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWidgetCursor",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setWidgetCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setWidgetCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - SoQtComponent::setWidgetCursor(arg1,(SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isFullScreen",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isFullScreen" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)((SoQtComponent const *)arg1)->isFullScreen(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbBool arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setFullScreen",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setFullScreen" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtComponent_setFullScreen" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - result = (SbBool)(arg1)->setFullScreen(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isVisible" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)(arg1)->isVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_isTopLevelShell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_isTopLevelShell",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_isTopLevelShell" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (SbBool)((SoQtComponent const *)arg1)->isTopLevelShell(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getBaseWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getBaseWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getBaseWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getBaseWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getShellWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getShellWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getShellWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getShellWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getParentWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getParentWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getParentWidget" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (QWidget *)((SoQtComponent const *)arg1)->getParentWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbVec2s arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setSize" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2s, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtComponent_setSize" "', argument " "2"" of type '" "SbVec2s const""'"); - } else { - SbVec2s * temp = reinterpret_cast< SbVec2s * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SbVec2s result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getSize" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = ((SoQtComponent const *)arg1)->getSize(); - resultobj = SWIG_NewPointerObj((new SbVec2s(static_cast< const SbVec2s& >(result))), SWIGTYPE_p_SbVec2s, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setTitle" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setTitle" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setTitle((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getTitle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getTitle" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getTitle(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setIconTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *arg2 = (char *) (char *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setIconTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setIconTitle" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtComponent_setIconTitle" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - (arg1)->setIconTitle((char const *)arg2); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getIconTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getIconTitle",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getIconTitle" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getIconTitle(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getWidgetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getWidgetName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getWidgetName" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getWidgetName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getClassName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getClassName",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_getClassName" "', argument " "1"" of type '" "SoQtComponent const *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - result = (char *)((SoQtComponent const *)arg1)->getClassName(); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtComponentCB *arg2 = (SoQtComponentCB *) (SoQtComponentCB *)0 ; - void *arg3 = (void *) (void *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWindowCloseCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "2"" of type '" "SoQtComponentCB *const""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "3"" of type '" "void *const""'"); - } - (arg1)->setWindowCloseCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtComponent *arg1 = (SoQtComponent *) 0 ; - SoQtComponentCB *arg2 = (SoQtComponentCB *) (SoQtComponentCB *)0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_setWindowCloseCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtComponent, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "1"" of type '" "SoQtComponent *""'"); - } - arg1 = reinterpret_cast< SoQtComponent * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtComponent_setWindowCloseCallback" "', argument " "2"" of type '" "SoQtComponentCB *const""'"); - } - } - (arg1)->setWindowCloseCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_setWindowCloseCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtComponent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtComponent_setWindowCloseCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtComponent, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtComponent__void); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtComponent_setWindowCloseCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtComponent_setWindowCloseCallback'.\n Possible C/C++ prototypes are:\n"" setWindowCloseCallback(SoQtComponent *,SoQtComponentCB *const,void *const)\n"" setWindowCloseCallback(SoQtComponent *,SoQtComponentCB *const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_getComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtComponent *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_getComponent",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtComponent *)SoQtComponent::getComponent(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtComponent, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtComponent_initClasses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtComponent_initClasses",0,0)) SWIG_fail; - SoQtComponent::initClasses(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtComponent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtComponent, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_initClass",0,0)) SWIG_fail; - SoQtGLWidget::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getClassTypeId",0,0)) SWIG_fail; - result = SoQtGLWidget::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getTypeId" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = ((SoQtGLWidget const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setBorder",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setBorder" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setBorder" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setBorder(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isBorder",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isBorder" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isBorder(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setDoubleBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setDoubleBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setDoubleBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoubleBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isDoubleBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isDoubleBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isDoubleBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setDrawToFrontBufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setDrawToFrontBufferEnable",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setDrawToFrontBufferEnable" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setDrawToFrontBufferEnable" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDrawToFrontBufferEnable(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isDrawToFrontBufferEnable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isDrawToFrontBufferEnable",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isDrawToFrontBufferEnable" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isDrawToFrontBufferEnable(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setQuadBufferStereo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setQuadBufferStereo",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setQuadBufferStereo" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setQuadBufferStereo" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setQuadBufferStereo(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isQuadBufferStereo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isQuadBufferStereo",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isQuadBufferStereo" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isQuadBufferStereo(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setAccumulationBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setAccumulationBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setAccumulationBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setAccumulationBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAccumulationBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getAccumulationBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getAccumulationBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getAccumulationBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getAccumulationBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setStencilBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setStencilBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setStencilBuffer" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setStencilBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStencilBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getStencilBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getStencilBuffer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getStencilBuffer" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getStencilBuffer(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setAlphaChannel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setAlphaChannel",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setAlphaChannel" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setAlphaChannel" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAlphaChannel(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getAlphaChannel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getAlphaChannel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getAlphaChannel" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->getAlphaChannel(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setOverlayRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setOverlayRender" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setOverlayRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setOverlayRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isOverlayRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isOverlayRender" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isOverlayRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_setStealFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_setStealFocus",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_setStealFocus" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtGLWidget_setStealFocus" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStealFocus(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_isStealFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_isStealFocus",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_isStealFocus" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->isStealFocus(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getGLWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getGLWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getGLWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getGLWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getNormalWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getNormalWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getNormalWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getNormalWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getOverlayWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getOverlayWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getOverlayWidget" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (QWidget *)((SoQtGLWidget const *)arg1)->getOverlayWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_hasOverlayGLArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_hasOverlayGLArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_hasOverlayGLArea" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->hasOverlayGLArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_hasNormalGLArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_hasNormalGLArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_hasNormalGLArea" "', argument " "1"" of type '" "SoQtGLWidget const *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (SbBool)((SoQtGLWidget const *)arg1)->hasNormalGLArea(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getOverlayTransparentPixel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - unsigned long result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getOverlayTransparentPixel",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getOverlayTransparentPixel" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - result = (unsigned long)(arg1)->getOverlayTransparentPixel(); - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getPointSizeLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbVec2f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getPointSizeLimits",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getPointSizeLimits" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->getPointSizeLimits(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtGLWidget_getLineWidthLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtGLWidget *arg1 = (SoQtGLWidget *) 0 ; - SbVec2f *arg2 = 0 ; - float *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtGLWidget_getLineWidthLimits",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtGLWidget, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "1"" of type '" "SoQtGLWidget *""'"); - } - arg1 = reinterpret_cast< SoQtGLWidget * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec2f, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "2"" of type '" "SbVec2f &""'"); - } - arg2 = reinterpret_cast< SbVec2f * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_float, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "3"" of type '" "float &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtGLWidget_getLineWidthLimits" "', argument " "3"" of type '" "float &""'"); - } - arg3 = reinterpret_cast< float * >(argp3); - (arg1)->getLineWidthLimits(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtGLWidget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtGLWidget, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_initClass",0,0)) SWIG_fail; - SoQtRenderArea::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getClassTypeId",0,0)) SWIG_fail; - result = SoQtRenderArea::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getTypeId" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = ((SoQtRenderArea const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtRenderArea::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SbBool arg5 ; - SoQtRenderArea *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtRenderArea" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtRenderArea" "', argument " "5"" of type '" "SbBool""'"); - } - arg5 = static_cast< SbBool >(val5); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SbBool arg4 ; - SoQtRenderArea *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtRenderArea" "', argument " "4"" of type '" "SbBool""'"); - } - arg4 = static_cast< SbBool >(val4); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtRenderArea *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtRenderArea" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SoQtRenderArea *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtRenderArea" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtRenderArea *)new SoQtRenderArea(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtRenderArea *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtRenderArea *)new SoQtRenderArea(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtRenderArea",0,0)) SWIG_fail; - result = (SoQtRenderArea *)new SoQtRenderArea(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtRenderArea(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtRenderArea__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtRenderArea__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtRenderArea'.\n Possible C/C++ prototypes are:\n"" SoQtRenderArea(QWidget *,char const *,SbBool,SbBool,SbBool)\n"" SoQtRenderArea(QWidget *,char const *,SbBool,SbBool)\n"" SoQtRenderArea(QWidget *,char const *,SbBool)\n"" SoQtRenderArea(QWidget *,char const *)\n"" SoQtRenderArea(QWidget *)\n"" SoQtRenderArea()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtRenderArea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtRenderArea",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtRenderArea" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setSceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setSceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getSceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoNode *)(arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlaySceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlaySceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlaySceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setOverlaySceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlaySceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlaySceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlaySceneGraph" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoNode *)(arg1)->getOverlaySceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setBackgroundColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_setBackgroundColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setBackgroundColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getBackgroundColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getBackgroundColor" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - SbColor const &_result_ref = ((SoQtRenderArea const *)arg1)->getBackgroundColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (int)((SoQtRenderArea const *)arg1)->getBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayBackgroundIndex",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setOverlayBackgroundIndex" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setOverlayBackgroundIndex(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlayBackgroundIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlayBackgroundIndex",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlayBackgroundIndex" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (int)((SoQtRenderArea const *)arg1)->getOverlayBackgroundIndex(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setColorMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - int arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setColorMap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setColorMap" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setColorMap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setColorMap" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtRenderArea_setColorMap" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - (arg1)->setColorMap(arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayColorMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - int arg2 ; - int arg3 ; - SbColor *arg4 = (SbColor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayColorMap",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SbColor, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SoQtRenderArea_setOverlayColorMap" "', argument " "4"" of type '" "SbColor const *""'"); - } - arg4 = reinterpret_cast< SbColor * >(argp4); - (arg1)->setOverlayColorMap(arg2,arg3,(SbColor const *)arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbViewportRegion *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setViewportRegion",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbViewportRegion, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_setViewportRegion" "', argument " "2"" of type '" "SbViewportRegion const &""'"); - } - arg2 = reinterpret_cast< SbViewportRegion * >(argp2); - (arg1)->setViewportRegion((SbViewportRegion const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getViewportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbViewportRegion *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getViewportRegion",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getViewportRegion" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - SbViewportRegion const &_result_ref = ((SoQtRenderArea const *)arg1)->getViewportRegion(); - result = (SbViewportRegion *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbViewportRegion, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction::TransparencyType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setTransparencyType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setTransparencyType" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setTransparencyType" "', argument " "2"" of type '" "SoGLRenderAction::TransparencyType""'"); - } - arg2 = static_cast< SoGLRenderAction::TransparencyType >(val2); - (arg1)->setTransparencyType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getTransparencyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction::TransparencyType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getTransparencyType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getTransparencyType" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction::TransparencyType)((SoQtRenderArea const *)arg1)->getTransparencyType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setAntialiasing" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->setAntialiasing(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getAntialiasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool *arg2 = 0 ; - int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getAntialiasing",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "2"" of type '" "SbBool &""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtRenderArea_getAntialiasing" "', argument " "3"" of type '" "int &""'"); - } - arg3 = reinterpret_cast< int * >(argp3); - ((SoQtRenderArea const *)arg1)->getAntialiasing(*arg2,*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeRender",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setClearBeforeRender(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setClearBeforeRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeRender(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtRenderArea_setClearBeforeRender__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtRenderArea_setClearBeforeRender__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtRenderArea_setClearBeforeRender'.\n Possible C/C++ prototypes are:\n"" setClearBeforeRender(SoQtRenderArea *,SbBool,SbBool)\n"" setClearBeforeRender(SoQtRenderArea *,SbBool)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearBeforeRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearBeforeRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearBeforeRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearZBufferBeforeRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearZBufferBeforeRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearZBufferBeforeRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearZBufferBeforeRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setClearBeforeOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setClearBeforeOverlayRender",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setClearBeforeOverlayRender" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setClearBeforeOverlayRender" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setClearBeforeOverlayRender(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isClearBeforeOverlayRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isClearBeforeOverlayRender",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isClearBeforeOverlayRender" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isClearBeforeOverlayRender(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setAutoRedraw",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setAutoRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setAutoRedraw" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAutoRedraw(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_isAutoRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_isAutoRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_isAutoRedraw" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SbBool)((SoQtRenderArea const *)arg1)->isAutoRedraw(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - uint32_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setRedrawPriority",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setRedrawPriority" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtRenderArea_setRedrawPriority" "', argument " "2"" of type '" "uint32_t""'"); - } - arg2 = static_cast< uint32_t >(val2); - (arg1)->setRedrawPriority(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - uint32_t result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getRedrawPriority",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getRedrawPriority" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (uint32_t)((SoQtRenderArea const *)arg1)->getRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getDefaultRedrawPriority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - uint32_t result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getDefaultRedrawPriority",0,0)) SWIG_fail; - result = (uint32_t)SoQtRenderArea::getDefaultRedrawPriority(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_render(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_render",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_render" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->render(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_renderOverlay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_renderOverlay",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_renderOverlay" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->renderOverlay(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_scheduleRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_scheduleRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_scheduleRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->scheduleRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_scheduleOverlayRedraw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_scheduleOverlayRedraw",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_scheduleOverlayRedraw" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - (arg1)->scheduleOverlayRedraw(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_redrawOnSelectionChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSelection *arg2 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_redrawOnSelectionChange",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_redrawOnSelectionChange" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_redrawOnSelectionChange" "', argument " "2"" of type '" "SoSelection *""'"); - } - arg2 = reinterpret_cast< SoSelection * >(argp2); - (arg1)->redrawOnSelectionChange(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_redrawOverlayOnSelectionChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSelection *arg2 = (SoSelection *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_redrawOverlayOnSelectionChange",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_redrawOverlayOnSelectionChange" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSelection, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_redrawOverlayOnSelectionChange" "', argument " "2"" of type '" "SoSelection *""'"); - } - arg2 = reinterpret_cast< SoSelection * >(argp2); - (arg1)->redrawOverlayOnSelectionChange(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtRenderAreaEventCB *arg2 = (SoQtRenderAreaEventCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res3 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_QEvent__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "2"" of type '" "SoQtRenderAreaEventCB *""'"); - } - } - res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "3"" of type '" "void *""'"); - } - (arg1)->setEventCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtRenderAreaEventCB *arg2 = (SoQtRenderAreaEventCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_QEvent__int); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "2"" of type '" "SoQtRenderAreaEventCB *""'"); - } - } - (arg1)->setEventCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *arg2 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setSceneManager",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setSceneManager" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setSceneManager" "', argument " "2"" of type '" "SoSceneManager *""'"); - } - arg2 = reinterpret_cast< SoSceneManager * >(argp2); - (arg1)->setSceneManager(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getSceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getSceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getSceneManager" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoSceneManager *)((SoQtRenderArea const *)arg1)->getSceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlaySceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *arg2 = (SoSceneManager *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlaySceneManager",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlaySceneManager" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoSceneManager, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlaySceneManager" "', argument " "2"" of type '" "SoSceneManager *""'"); - } - arg2 = reinterpret_cast< SoSceneManager * >(argp2); - (arg1)->setOverlaySceneManager(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlaySceneManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoSceneManager *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlaySceneManager",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlaySceneManager" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoSceneManager *)((SoQtRenderArea const *)arg1)->getOverlaySceneManager(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoSceneManager, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction *)((SoQtRenderArea const *)arg1)->getGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setOverlayGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *arg2 = (SoGLRenderAction *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setOverlayGLRenderAction",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setOverlayGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_setOverlayGLRenderAction" "', argument " "2"" of type '" "SoGLRenderAction *""'"); - } - arg2 = reinterpret_cast< SoGLRenderAction * >(argp2); - (arg1)->setOverlayGLRenderAction(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_getOverlayGLRenderAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoGLRenderAction *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_getOverlayGLRenderAction",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_getOverlayGLRenderAction" "', argument " "1"" of type '" "SoQtRenderArea const *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - result = (SoGLRenderAction *)((SoQtRenderArea const *)arg1)->getOverlayGLRenderAction(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoGLRenderAction, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_sendSoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoEvent *arg2 = (SoEvent *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_sendSoEvent",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_sendSoEvent" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoEvent, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_sendSoEvent" "', argument " "2"" of type '" "SoEvent const *""'"); - } - arg2 = reinterpret_cast< SoEvent * >(argp2); - result = (SbBool)(arg1)->sendSoEvent((SoEvent const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_registerDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtDevice *arg2 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_registerDevice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_registerDevice" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_registerDevice" "', argument " "2"" of type '" "SoQtDevice *""'"); - } - arg2 = reinterpret_cast< SoQtDevice * >(argp2); - (arg1)->registerDevice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_unregisterDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - SoQtDevice *arg2 = (SoQtDevice *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_unregisterDevice",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_unregisterDevice" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoQtDevice, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtRenderArea_unregisterDevice" "', argument " "2"" of type '" "SoQtDevice *""'"); - } - arg2 = reinterpret_cast< SoQtDevice * >(argp2); - (arg1)->unregisterDevice(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - arg3 = obj2; - SoQtRenderArea_setEventCallback__SWIG_2(arg1,arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtRenderArea *arg1 = (SoQtRenderArea *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtRenderArea_setEventCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtRenderArea, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtRenderArea_setEventCallback" "', argument " "1"" of type '" "SoQtRenderArea *""'"); - } - arg1 = reinterpret_cast< SoQtRenderArea * >(argp1); - { - if (!PyCallable_Check(obj1)) { - PyErr_SetString(PyExc_TypeError, "need a callable object!"); - return NULL; - } - arg2 = obj1; - } - SoQtRenderArea_setEventCallback__SWIG_2(arg1,arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtRenderArea_setEventCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_QEvent__int); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_1(self, args); - } - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_QEvent__int); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[2], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_0(self, args); - } - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtRenderArea, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyCallable_Check(argv[1]) ? 1 : 0; - } - if (_v) { - _v = (argv[2] != 0); - if (_v) { - return _wrap_SoQtRenderArea_setEventCallback__SWIG_2(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtRenderArea_setEventCallback'.\n Possible C/C++ prototypes are:\n"" setEventCallback(SoQtRenderArea *,SoQtRenderAreaEventCB *,void *)\n"" setEventCallback(SoQtRenderArea *,SoQtRenderAreaEventCB *)\n"" setEventCallback(SoQtRenderArea *,PyObject *,PyObject *)\n"" setEventCallback(SoQtRenderArea *,PyObject *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *SoQtRenderArea_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtRenderArea, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_initClass",0,0)) SWIG_fail; - SoQtViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getTypeId" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = ((SoQtViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCamera" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoCamera *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getCamera",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getCamera" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoCamera *)((SoQtViewer const *)arg1)->getCamera(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoCamera, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCameraType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCameraType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setCameraType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getCameraType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getCameraType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = ((SoQtViewer const *)arg1)->getCameraType(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_toggleCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_toggleCameraType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_toggleCameraType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->toggleCameraType(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_viewAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_viewAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_viewAll" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->viewAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_saveHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_saveHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_saveHomePosition" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->saveHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setHeadlight",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setHeadlight" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setHeadlight" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setHeadlight(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isHeadlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isHeadlight" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isHeadlight(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getHeadlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoDirectionalLight *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getHeadlight",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getHeadlight" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoDirectionalLight *)((SoQtViewer const *)arg1)->getHeadlight(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoDirectionalLight, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::DrawType arg2 ; - SoQtViewer::DrawStyle arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDrawStyle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDrawStyle" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDrawStyle" "', argument " "2"" of type '" "SoQtViewer::DrawType""'"); - } - arg2 = static_cast< SoQtViewer::DrawType >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setDrawStyle" "', argument " "3"" of type '" "SoQtViewer::DrawStyle""'"); - } - arg3 = static_cast< SoQtViewer::DrawStyle >(val3); - (arg1)->setDrawStyle(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getDrawStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::DrawType arg2 ; - SoQtViewer::DrawStyle result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getDrawStyle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getDrawStyle" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_getDrawStyle" "', argument " "2"" of type '" "SoQtViewer::DrawType""'"); - } - arg2 = static_cast< SoQtViewer::DrawType >(val2); - result = (SoQtViewer::DrawStyle)((SoQtViewer const *)arg1)->getDrawStyle(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setBufferingType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::BufferType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setBufferingType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setBufferingType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setBufferingType" "', argument " "2"" of type '" "SoQtViewer::BufferType""'"); - } - arg2 = static_cast< SoQtViewer::BufferType >(val2); - (arg1)->setBufferingType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getBufferingType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::BufferType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getBufferingType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getBufferingType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoQtViewer::BufferType)((SoQtViewer const *)arg1)->getBufferingType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setViewing" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isViewing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isViewing" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isViewing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isCursorEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isCursorEnabled" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isCursorEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClipping",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClipping" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClipping" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAutoClipping(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isAutoClipping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isAutoClipping",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isAutoClipping" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isAutoClipping(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - SoQtAutoClippingCB *arg4 = (SoQtAutoClippingCB *) 0 ; - void *arg5 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - int res5 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "4"" of type '" "SoQtAutoClippingCB *""'"); - } - } - res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "5"" of type '" "void *""'"); - } - (arg1)->setAutoClippingStrategy(arg2,arg3,arg4,arg5); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - SoQtAutoClippingCB *arg4 = (SoQtAutoClippingCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - { - int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "4"" of type '" "SoQtAutoClippingCB *""'"); - } - } - (arg1)->setAutoClippingStrategy(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - float arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - float val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - ecode3 = SWIG_AsVal_float(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "3"" of type '" "float""'"); - } - arg3 = static_cast< float >(val3); - (arg1)->setAutoClippingStrategy(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::AutoClippingStrategy arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAutoClippingStrategy",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setAutoClippingStrategy" "', argument " "2"" of type '" "SoQtViewer::AutoClippingStrategy""'"); - } - arg2 = static_cast< SoQtViewer::AutoClippingStrategy >(val2); - (arg1)->setAutoClippingStrategy(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAutoClippingStrategy(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_float(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[3], &ptr, SWIGTYPE_p_f_p_void_r_q_const__SbVec2f__SbVec2f); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertPtr(argv[4], &ptr, 0, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_setAutoClippingStrategy__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_setAutoClippingStrategy'.\n Possible C/C++ prototypes are:\n"" setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const,SoQtAutoClippingCB *,void *)\n"" setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const,SoQtAutoClippingCB *)\n"" setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const,float const)\n"" setAutoClippingStrategy(SoQtViewer *,SoQtViewer::AutoClippingStrategy const)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoViewing" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setStereoViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isStereoViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isStereoViewing",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isStereoViewing" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isStereoViewing(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoOffset",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoOffset" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoOffset" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setStereoOffset(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getStereoOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getStereoOffset",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getStereoOffset" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (float)((SoQtViewer const *)arg1)->getStereoOffset(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setStereoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::StereoType arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setStereoType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setStereoType" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setStereoType" "', argument " "2"" of type '" "SoQtViewer::StereoType""'"); - } - arg2 = static_cast< SoQtViewer::StereoType >(val2); - result = (SbBool)(arg1)->setStereoType(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getStereoType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewer::StereoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getStereoType",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getStereoType" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoQtViewer::StereoType)((SoQtViewer const *)arg1)->getStereoType(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setAnaglyphStereoColorMasks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool *arg2 ; - SbBool *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setAnaglyphStereoColorMasks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "2"" of type '" "SbBool const [3]""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtViewer_setAnaglyphStereoColorMasks" "', argument " "3"" of type '" "SbBool const [3]""'"); - } - arg3 = reinterpret_cast< SbBool * >(argp3); - (arg1)->setAnaglyphStereoColorMasks((SbBool const (*))arg2,(SbBool const (*))arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getAnaglyphStereoColorMasks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool *arg2 ; - SbBool *arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getAnaglyphStereoColorMasks",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "2"" of type '" "SbBool [3]""'"); - } - arg2 = reinterpret_cast< SbBool * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtViewer_getAnaglyphStereoColorMasks" "', argument " "3"" of type '" "SbBool [3]""'"); - } - arg3 = reinterpret_cast< SbBool * >(argp3); - (arg1)->getAnaglyphStereoColorMasks(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDetailSeek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDetailSeek",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDetailSeek" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDetailSeek" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDetailSeek(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_isDetailSeek(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_isDetailSeek",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_isDetailSeek" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SbBool)((SoQtViewer const *)arg1)->isDetailSeek(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setSeekTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - float val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setSeekTime",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setSeekTime" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_float(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setSeekTime" "', argument " "2"" of type '" "float""'"); - } - arg2 = static_cast< float >(val2); - (arg1)->setSeekTime(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getSeekTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - float result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getSeekTime",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getSeekTime" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (float)((SoQtViewer const *)arg1)->getSeekTime(); - resultobj = SWIG_From_float(static_cast< float >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->addStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_addStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_addStartCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_addStartCallback'.\n Possible C/C++ prototypes are:\n"" addStartCallback(SoQtViewer *,SoQtViewerCB *,void *)\n"" addStartCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_addFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_addFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_addFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->addFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_addFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_addFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_addFinishCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_addFinishCallback'.\n Possible C/C++ prototypes are:\n"" addFinishCallback(SoQtViewer *,SoQtViewerCB *,void *)\n"" addFinishCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeStartCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeStartCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeStartCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeStartCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeStartCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->removeStartCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeStartCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_removeStartCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_removeStartCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_removeStartCallback'.\n Possible C/C++ prototypes are:\n"" removeStartCallback(SoQtViewer *,SoQtViewerCB *,void *)\n"" removeStartCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeFinishCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeFinishCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoQtViewerCB *arg2 = (SoQtViewerCB *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_removeFinishCallback",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtViewer_removeFinishCallback" "', argument " "2"" of type '" "SoQtViewerCB *""'"); - } - } - (arg1)->removeFinishCallback(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_removeFinishCallback(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtViewer_removeFinishCallback__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtViewer, 0); - _v = SWIG_CheckState(res); - if (_v) { - void *ptr = 0; - int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_p_void_p_SoQtViewer__void); - _v = SWIG_CheckState(res); - if (_v) { - { - _v = PyTuple_Check(argv[2]) ? 1 : 0; - } - if (_v) { - return _wrap_SoQtViewer_removeFinishCallback__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtViewer_removeFinishCallback'.\n Possible C/C++ prototypes are:\n"" removeFinishCallback(SoQtViewer *,SoQtViewerCB *,void *)\n"" removeFinishCallback(SoQtViewer *,SoQtViewerCB *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setWireframeOverlayColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbColor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setWireframeOverlayColor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbColor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtViewer_setWireframeOverlayColor" "', argument " "2"" of type '" "SbColor const &""'"); - } - arg2 = reinterpret_cast< SbColor * >(argp2); - (arg1)->setWireframeOverlayColor((SbColor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getWireframeOverlayColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbColor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getWireframeOverlayColor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getWireframeOverlayColor" "', argument " "1"" of type '" "SoQtViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - { - SbColor const &_result_ref = ((SoQtViewer const *)arg1)->getWireframeOverlayColor(); - result = (SbColor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbColor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setDoubleBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setDoubleBuffer",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setDoubleBuffer" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtViewer_setDoubleBuffer" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDoubleBuffer(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_setSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoNode *arg2 = (SoNode *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_setSceneGraph",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_setSceneGraph" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoNode, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtViewer_setSceneGraph" "', argument " "2"" of type '" "SoNode *""'"); - } - arg2 = reinterpret_cast< SoNode * >(argp2); - (arg1)->setSceneGraph(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtViewer_getSceneGraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtViewer *arg1 = (SoQtViewer *) 0 ; - SoNode *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtViewer_getSceneGraph",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtViewer_getSceneGraph" "', argument " "1"" of type '" "SoQtViewer *""'"); - } - arg1 = reinterpret_cast< SoQtViewer * >(argp1); - result = (SoNode *)(arg1)->getSceneGraph(); - { - resultobj = autocast_base(result); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_initClass",0,0)) SWIG_fail; - SoQtFullViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtFullViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getTypeId" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = ((SoQtFullViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setDecoration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setDecoration",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setDecoration" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setDecoration" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setDecoration(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_isDecoration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_isDecoration",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_isDecoration" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (SbBool)((SoQtFullViewer const *)arg1)->isDecoration(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setPopupMenuEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setPopupMenuEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setPopupMenuEnabled" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setPopupMenuEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setPopupMenuEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_isPopupMenuEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_isPopupMenuEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_isPopupMenuEnabled" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (SbBool)((SoQtFullViewer const *)arg1)->isPopupMenuEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getAppPushButtonParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getAppPushButtonParent",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getAppPushButtonParent" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (QWidget *)((SoQtFullViewer const *)arg1)->getAppPushButtonParent(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_addAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_addAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_addAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - (arg1)->addAppPushButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_insertAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_insertAppPushButton",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_insertAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtFullViewer_insertAppPushButton" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->insertAppPushButton(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_removeAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_removeAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_removeAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - (arg1)->removeAppPushButton(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_findAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_findAppPushButton",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_findAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (int)((SoQtFullViewer const *)arg1)->findAppPushButton(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_lengthAppPushButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_lengthAppPushButton",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_lengthAppPushButton" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (int)((SoQtFullViewer const *)arg1)->lengthAppPushButton(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_getRenderAreaWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - QWidget *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_getRenderAreaWidget",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_getRenderAreaWidget" "', argument " "1"" of type '" "SoQtFullViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - result = (QWidget *)((SoQtFullViewer const *)arg1)->getRenderAreaWidget(); - { - resultobj = NULL; - { - PyObject *sip, *qt; - - /* try to create a PyQt QWidget instance through sip */ - - initialize_pyqt_module_import_name(); - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* check if the qt module is available and import it */ - if (!(qt = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), PYQT_MODULE_IMPORT_NAME))) { - qt = PyImport_ImportModule(PYQT_MODULE_IMPORT_NAME); - } - - if (qt && PyModule_Check(qt)) { - /* grab the wrapinstance(addr, type) function */ - PyObject *sip_wrapinst_func; - sip_wrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "wrapinstance"); - - if (PyCallable_Check(sip_wrapinst_func)) { - PyObject *qwidget_type, *arglist; - qwidget_type = PyDict_GetItemString(PyModule_GetDict(qt), "QWidget"); - - arglist = Py_BuildValue("(lO)", result, qwidget_type); - - if (!(resultobj = PyEval_CallObject(sip_wrapinst_func, arglist))) { - PyErr_Print(); - } - - Py_DECREF(arglist); - } - } - } - - /* if no QWidget could be created through sip return a swig QWidget type */ - if (PyErr_ExceptionMatches(PyExc_ImportError) || !resultobj) { - PyErr_Clear(); - resultobj = SWIG_NewPointerObj((void *)(result), SWIGTYPE_p_QWidget, 0); - } - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setViewing" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFullViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFullViewer_setComponentCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFullViewer *arg1 = (SoQtFullViewer *) 0 ; - SoQtCursor *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFullViewer_setComponentCursor",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFullViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "1"" of type '" "SoQtFullViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFullViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtFullViewer_setComponentCursor" "', argument " "2"" of type '" "SoQtCursor const &""'"); - } - arg2 = reinterpret_cast< SoQtCursor * >(argp2); - (arg1)->setComponentCursor((SoQtCursor const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtFullViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtFullViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_initClass",0,0)) SWIG_fail; - SoQtPlaneViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtPlaneViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_getTypeId" "', argument " "1"" of type '" "SoQtPlaneViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - result = ((SoQtPlaneViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtPlaneViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - SoQtPlaneViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtPlaneViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtPlaneViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtPlaneViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtPlaneViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SbBool arg3 ; - SoQtPlaneViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtPlaneViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) (char *)0 ; - SoQtPlaneViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtPlaneViewer" "', argument " "2"" of type '" "char const *const""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtPlaneViewer *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtPlaneViewer",0,0)) SWIG_fail; - result = (SoQtPlaneViewer *)new SoQtPlaneViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtPlaneViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtPlaneViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtPlaneViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtPlaneViewer'.\n Possible C/C++ prototypes are:\n"" SoQtPlaneViewer(QWidget *,char const *const,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n"" SoQtPlaneViewer(QWidget *,char const *const,SbBool,SoQtFullViewer::BuildFlag)\n"" SoQtPlaneViewer(QWidget *,char const *const,SbBool)\n"" SoQtPlaneViewer(QWidget *,char const *const)\n"" SoQtPlaneViewer(QWidget *)\n"" SoQtPlaneViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtPlaneViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtPlaneViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtPlaneViewer" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setViewing" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPlaneViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setCamera" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPlaneViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPlaneViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPlaneViewer *arg1 = (SoQtPlaneViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPlaneViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPlaneViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPlaneViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtPlaneViewer *""'"); - } - arg1 = reinterpret_cast< SoQtPlaneViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPlaneViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtPlaneViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtPlaneViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_initClass",0,0)) SWIG_fail; - SoQtExaminerViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtExaminerViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_getTypeId" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = ((SoQtExaminerViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtExaminerViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - SoQtExaminerViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtExaminerViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtExaminerViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtExaminerViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtExaminerViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtExaminerViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtExaminerViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SoQtExaminerViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtExaminerViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtExaminerViewer *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtExaminerViewer",0,0)) SWIG_fail; - result = (SoQtExaminerViewer *)new SoQtExaminerViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtExaminerViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtExaminerViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtExaminerViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtExaminerViewer'.\n Possible C/C++ prototypes are:\n"" SoQtExaminerViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n"" SoQtExaminerViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag)\n"" SoQtExaminerViewer(QWidget *,char const *,SbBool)\n"" SoQtExaminerViewer(QWidget *,char const *)\n"" SoQtExaminerViewer(QWidget *)\n"" SoQtExaminerViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtExaminerViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtExaminerViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtExaminerViewer" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setAnimationEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setAnimationEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setAnimationEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setAnimationEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isAnimationEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isAnimationEnabled",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isAnimationEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isAnimationEnabled(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_stopAnimating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_stopAnimating",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_stopAnimating" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - (arg1)->stopAnimating(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isAnimating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isAnimating",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isAnimating" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isAnimating(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setFeedbackVisibility(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setFeedbackVisibility",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setFeedbackVisibility" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setFeedbackVisibility" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setFeedbackVisibility(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_isFeedbackVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_isFeedbackVisible",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_isFeedbackVisible" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (SbBool)((SoQtExaminerViewer const *)arg1)->isFeedbackVisible(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setFeedbackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setFeedbackSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setFeedbackSize" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setFeedbackSize" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setFeedbackSize(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_getFeedbackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_getFeedbackSize",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_getFeedbackSize" "', argument " "1"" of type '" "SoQtExaminerViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - result = (int)((SoQtExaminerViewer const *)arg1)->getFeedbackSize(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setViewing" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setCamera" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtExaminerViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtExaminerViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtExaminerViewer *arg1 = (SoQtExaminerViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtExaminerViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtExaminerViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtExaminerViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtExaminerViewer *""'"); - } - arg1 = reinterpret_cast< SoQtExaminerViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtExaminerViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtExaminerViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtExaminerViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_initClass",0,0)) SWIG_fail; - SoQtConstrainedViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtConstrainedViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_getTypeId" "', argument " "1"" of type '" "SoQtConstrainedViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - result = ((SoQtConstrainedViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_setUpDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SbVec3f *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_setUpDirection",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SbVec3f, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtConstrainedViewer_setUpDirection" "', argument " "2"" of type '" "SbVec3f const &""'"); - } - arg2 = reinterpret_cast< SbVec3f * >(argp2); - (arg1)->setUpDirection((SbVec3f const &)*arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_getUpDirection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SbVec3f *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_getUpDirection",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_getUpDirection" "', argument " "1"" of type '" "SoQtConstrainedViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - { - SbVec3f const &_result_ref = ((SoQtConstrainedViewer const *)arg1)->getUpDirection(); - result = (SbVec3f *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SbVec3f, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_setCamera" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtConstrainedViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_saveHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_saveHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_saveHomePosition" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - (arg1)->saveHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtConstrainedViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtConstrainedViewer *arg1 = (SoQtConstrainedViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtConstrainedViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtConstrainedViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtConstrainedViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtConstrainedViewer *""'"); - } - arg1 = reinterpret_cast< SoQtConstrainedViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtConstrainedViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtConstrainedViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_initClass",0,0)) SWIG_fail; - SoQtFlyViewer::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_getClassTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoType result; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_getClassTypeId",0,0)) SWIG_fail; - result = SoQtFlyViewer::getClassTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_getTypeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SoType result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_getTypeId",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_getTypeId" "', argument " "1"" of type '" "SoQtFlyViewer const *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - result = ((SoQtFlyViewer const *)arg1)->getTypeId(); - resultobj = SWIG_NewPointerObj((new SoType(static_cast< const SoType& >(result))), SWIGTYPE_p_SoType, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - void *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_createInstance",0,0)) SWIG_fail; - result = (void *)SoQtFlyViewer::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtViewer::Type arg5 ; - SoQtFlyViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - int val5 ; - int ecode5 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",5,5,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtFlyViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - ecode5 = SWIG_AsVal_int(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SoQtFlyViewer" "', argument " "5"" of type '" "SoQtViewer::Type""'"); - } - arg5 = static_cast< SoQtViewer::Type >(val5); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFullViewer::BuildFlag arg4 ; - SoQtFlyViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SoQtFlyViewer" "', argument " "4"" of type '" "SoQtFullViewer::BuildFlag""'"); - } - arg4 = static_cast< SoQtFullViewer::BuildFlag >(val4); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SbBool arg3 ; - SoQtFlyViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SoQtFlyViewer" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - char *arg2 = (char *) 0 ; - SoQtFlyViewer *result = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",2,2,&obj0,&obj1)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SoQtFlyViewer" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1,(char const *)arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - QWidget *arg1 = (QWidget *) 0 ; - SoQtFlyViewer *result = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",1,1,&obj0)) SWIG_fail; - { - { - if (obj0 == Py_None) { - arg1 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj0); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg1 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg1) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj0, (void **)(&arg1), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - result = (SoQtFlyViewer *)new SoQtFlyViewer(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtFlyViewer",0,0)) SWIG_fail; - result = (SoQtFlyViewer *)new SoQtFlyViewer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtFlyViewer(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtFlyViewer__SWIG_5(self, args); - } - if (argc == 1) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_4(self, args); - } - } - if (argc == 2) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_3(self, args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_2(self, args); - } - } - } - } - if (argc == 4) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_1(self, args); - } - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr = NULL; - { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", argv[0]); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - ptr = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - _v = 1; - if (PyErr_ExceptionMatches(PyExc_ImportError) || !ptr) { - _v = 0; - PyErr_Clear(); - if ((SWIG_ConvertPtr(argv[0], (void **)(&ptr), SWIGTYPE_p_QWidget, 0)) != -1) { - _v = 1; - } - } - } - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[4], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtFlyViewer__SWIG_0(self, args); - } - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtFlyViewer'.\n Possible C/C++ prototypes are:\n"" SoQtFlyViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag,SoQtViewer::Type)\n"" SoQtFlyViewer(QWidget *,char const *,SbBool,SoQtFullViewer::BuildFlag)\n"" SoQtFlyViewer(QWidget *,char const *,SbBool)\n"" SoQtFlyViewer(QWidget *,char const *)\n"" SoQtFlyViewer(QWidget *)\n"" SoQtFlyViewer()\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtFlyViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtFlyViewer",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtFlyViewer" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setViewing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setViewing",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setViewing" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFlyViewer_setViewing" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setViewing(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_viewAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_viewAll",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_viewAll" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - (arg1)->viewAll(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_resetToHomePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_resetToHomePosition",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_resetToHomePosition" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - (arg1)->resetToHomePosition(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCamera(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SoCamera *arg2 = (SoCamera *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCamera",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCamera" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SoCamera, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFlyViewer_setCamera" "', argument " "2"" of type '" "SoCamera *""'"); - } - arg2 = reinterpret_cast< SoCamera * >(argp2); - (arg1)->setCamera(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCursorEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SbBool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCursorEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCursorEnabled" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtFlyViewer_setCursorEnabled" "', argument " "2"" of type '" "SbBool""'"); - } - arg2 = static_cast< SbBool >(val2); - (arg1)->setCursorEnabled(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtFlyViewer_setCameraType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtFlyViewer *arg1 = (SoQtFlyViewer *) 0 ; - SoType arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtFlyViewer_setCameraType",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtFlyViewer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtFlyViewer_setCameraType" "', argument " "1"" of type '" "SoQtFlyViewer *""'"); - } - arg1 = reinterpret_cast< SoQtFlyViewer * >(argp1); - { - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_SoType, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtFlyViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SoQtFlyViewer_setCameraType" "', argument " "2"" of type '" "SoType""'"); - } else { - SoType * temp = reinterpret_cast< SoType * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - (arg1)->setCameraType(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtFlyViewer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtFlyViewer, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_createInstance",0,0)) SWIG_fail; - result = (SoQtPopupMenu *)SoQtPopupMenu::createInstance(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtPopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtPopupMenu",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtPopupMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenu",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_newMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)(arg1)->newMenu((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->newMenu((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenu(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newMenu__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newMenu__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newMenu'.\n Possible C/C++ prototypes are:\n"" newMenu(SoQtPopupMenu *,char const *,int)\n"" newMenu(SoQtPopupMenu *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_getMenu" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->getMenu((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuTitle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtPopupMenu_setMenuTitle" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - (arg1)->setMenuTitle(arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char *)(arg1)->getMenuTitle(arg2); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenuItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - result = (int)(arg1)->newMenuItem((char const *)arg2,arg3); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_newMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->newMenuItem((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newMenuItem(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newMenuItem__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newMenuItem__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newMenuItem'.\n Possible C/C++ prototypes are:\n"" newMenuItem(SoQtPopupMenu *,char const *,int)\n"" newMenuItem(SoQtPopupMenu *,char const *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - char *arg2 = (char *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SoQtPopupMenu_getMenuItem" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - result = (int)(arg1)->getMenuItem((char const *)arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemTitle",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SoQtPopupMenu_setMenuItemTitle" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - (arg1)->setMenuItemTitle(arg2,(char const *)arg3); - resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return resultobj; -fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - char *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemTitle",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemTitle" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemTitle" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (char *)(arg1)->getMenuItemTitle(arg2); - resultobj = SWIG_FromCharPtr((const char *)result); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemEnabled",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_setMenuItemEnabled" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setMenuItemEnabled(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemEnabled",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemEnabled" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemEnabled" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)(arg1)->getMenuItemEnabled(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setMenuItemMarked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setMenuItemMarked",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_setMenuItemMarked" "', argument " "3"" of type '" "SbBool""'"); - } - arg3 = static_cast< SbBool >(val3); - (arg1)->setMenuItemMarked(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getMenuItemMarked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - SbBool result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getMenuItemMarked",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getMenuItemMarked" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getMenuItemMarked" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (SbBool)(arg1)->getMenuItemMarked(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenu",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_addMenu" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addMenu(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenu",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenu" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addMenu(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenu(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenu__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenu__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addMenu'.\n Possible C/C++ prototypes are:\n"" addMenu(SoQtPopupMenu *,int,int,int)\n"" addMenu(SoQtPopupMenu *,int,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuItem",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->addMenuItem(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addMenuItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addMenuItem(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuItem(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenuItem__SWIG_1(self, args); - } - } - } - } - if (argc == 4) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addMenuItem__SWIG_0(self, args); - } - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addMenuItem'.\n Possible C/C++ prototypes are:\n"" addMenuItem(SoQtPopupMenu *,int,int,int)\n"" addMenuItem(SoQtPopupMenu *,int,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addSeparator",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addSeparator(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addSeparator",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addSeparator" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->addSeparator(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addSeparator(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addSeparator__SWIG_1(self, args); - } - } - } - if (argc == 3) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_int(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_addSeparator__SWIG_0(self, args); - } - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_addSeparator'.\n Possible C/C++ prototypes are:\n"" addSeparator(SoQtPopupMenu *,int,int)\n"" addSeparator(SoQtPopupMenu *,int)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenu",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenu" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeMenu" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeMenu(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenuItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenuItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenuItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeMenuItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeMenuItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_popUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - QWidget *arg2 = (QWidget *) 0 ; - int arg3 ; - int arg4 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val3 ; - int ecode3 = 0 ; - int val4 ; - int ecode4 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_popUp",4,4,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_popUp" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - { - if (obj1 == Py_None) { - arg2 = NULL; - } else { - PyObject *sip; - - /* check if the sip module is available and import it */ - if (!(sip = PyDict_GetItemString(PyModule_GetDict(PyImport_AddModule("__main__")), "sip"))) { - sip = PyImport_ImportModule("sip"); - } - - if (sip && PyModule_Check(sip)) { - /* grab the unwrapinstance(obj) function */ - PyObject *sip_unwrapinst_func; - sip_unwrapinst_func = PyDict_GetItemString(PyModule_GetDict(sip), "unwrapinstance"); - - if (PyCallable_Check(sip_unwrapinst_func)) { - PyObject *arglist, *address; - arglist = Py_BuildValue("(O)", obj1); - if (!(address = PyEval_CallObject(sip_unwrapinst_func, arglist))) { - PyErr_Print(); - } else if (PyNumber_Check(address)) { - arg2 = (QWidget*)PyLong_AsLong(address); - } - - Py_DECREF(arglist); - } - } - } - - if (PyErr_ExceptionMatches(PyExc_ImportError) || !arg2) { - PyErr_Clear(); - if ((SWIG_ConvertPtr(obj1, (void **)(&arg2), SWIGTYPE_p_QWidget, SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; - } - } - } - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_popUp" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - ecode4 = SWIG_AsVal_int(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SoQtPopupMenu_popUp" "', argument " "4"" of type '" "int""'"); - } - arg4 = static_cast< int >(val4); - (arg1)->popUp(arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newRadioGroup",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->newRadioGroup(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_newRadioGroup",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_newRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - result = (int)(arg1)->newRadioGroup(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_newRadioGroup(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SoQtPopupMenu_newRadioGroup__SWIG_1(self, args); - } - } - if (argc == 2) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SoQtPopupMenu, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - int res = SWIG_AsVal_int(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SoQtPopupMenu_newRadioGroup__SWIG_0(self, args); - } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SoQtPopupMenu_newRadioGroup'.\n Possible C/C++ prototypes are:\n"" newRadioGroup(SoQtPopupMenu *,int)\n"" newRadioGroup(SoQtPopupMenu *)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroup",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroup" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroup" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroup(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroupSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroupSize",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroupSize" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroupSize" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroupSize(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addRadioGroupItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - int val3 ; - int ecode3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addRadioGroupItem",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - ecode3 = SWIG_AsVal_int(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SoQtPopupMenu_addRadioGroupItem" "', argument " "3"" of type '" "int""'"); - } - arg3 = static_cast< int >(val3); - (arg1)->addRadioGroupItem(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeRadioGroupItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeRadioGroupItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeRadioGroupItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_removeRadioGroupItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->removeRadioGroupItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_setRadioGroupMarkedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_setRadioGroupMarkedItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_setRadioGroupMarkedItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_setRadioGroupMarkedItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - (arg1)->setRadioGroupMarkedItem(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_getRadioGroupMarkedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - int arg2 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_getRadioGroupMarkedItem",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_getRadioGroupMarkedItem" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtPopupMenu_getRadioGroupMarkedItem" "', argument " "2"" of type '" "int""'"); - } - arg2 = static_cast< int >(val2); - result = (int)(arg1)->getRadioGroupMarkedItem(arg2); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_addMenuSelectionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - SoQtMenuSelectionCallback *arg2 = (SoQtMenuSelectionCallback *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_addMenuSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_addMenuSelectionCallback" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtPopupMenu_addMenuSelectionCallback" "', argument " "2"" of type '" "SoQtMenuSelectionCallback *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->addMenuSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtPopupMenu_removeMenuSelectionCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtPopupMenu *arg1 = (SoQtPopupMenu *) 0 ; - SoQtMenuSelectionCallback *arg2 = (SoQtMenuSelectionCallback *) 0 ; - void *arg3 = (void *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtPopupMenu_removeMenuSelectionCallback",3,3,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtPopupMenu, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtPopupMenu_removeMenuSelectionCallback" "', argument " "1"" of type '" "SoQtPopupMenu *""'"); - } - arg1 = reinterpret_cast< SoQtPopupMenu * >(argp1); - { - int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_void__void); - if (!SWIG_IsOK(res)) { - SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SoQtPopupMenu_removeMenuSelectionCallback" "', argument " "2"" of type '" "SoQtMenuSelectionCallback *""'"); - } - } - { - if (!PyTuple_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "tuple expected!"); - return NULL; - } - - Py_INCREF(obj2); - arg3 = (void *)obj2; - } - (arg1)->removeMenuSelectionCallback(arg2,arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtPopupMenu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtPopupMenu, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *_wrap_SoQtCursor_initClass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_initClass",0,0)) SWIG_fail; - SoQtCursor::initClass(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",0,0)) SWIG_fail; - result = (SoQtCursor *)new SoQtCursor(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor::Shape arg1 ; - SoQtCursor *result = 0 ; - int val1 ; - int ecode1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - ecode1 = SWIG_AsVal_int(obj0, &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor::Shape""'"); - } - arg1 = static_cast< SoQtCursor::Shape >(val1); - result = (SoQtCursor *)new SoQtCursor(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - CustomCursor *arg1 = (CustomCursor *) 0 ; - SoQtCursor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CustomCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "CustomCursor const *""'"); - } - arg1 = reinterpret_cast< CustomCursor * >(argp1); - result = (SoQtCursor *)new SoQtCursor((CustomCursor const *)arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = 0 ; - SoQtCursor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"new_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SoQtCursor, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor const &""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - result = (SoQtCursor *)new SoQtCursor((SoQtCursor const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_SoQtCursor(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[2]; - int ii; - - if (!PyTuple_Check(args)) SWIG_fail; - argc = (int)PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 1); ii++) { - argv[ii] = PyTuple_GET_ITEM(args,ii); - } - if (argc == 0) { - return _wrap_new_SoQtCursor__SWIG_0(self, args); - } - if (argc == 1) { - int _v; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CustomCursor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtCursor__SWIG_2(self, args); - } - } - if (argc == 1) { - int _v; - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SoQtCursor, 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_SoQtCursor__SWIG_3(self, args); - } - } - if (argc == 1) { - int _v; - { - int res = SWIG_AsVal_int(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_SoQtCursor__SWIG_1(self, args); - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SoQtCursor'.\n Possible C/C++ prototypes are:\n"" SoQtCursor()\n"" SoQtCursor(SoQtCursor::Shape const)\n"" SoQtCursor(CustomCursor const *)\n"" SoQtCursor(SoQtCursor const &)\n"); - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SoQtCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"delete_SoQtCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SoQtCursor" "', argument " "1"" of type '" "SoQtCursor *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - delete arg1; - - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - SoQtCursor::Shape result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getShape",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_getShape" "', argument " "1"" of type '" "SoQtCursor const *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - result = (SoQtCursor::Shape)((SoQtCursor const *)arg1)->getShape(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_setShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - SoQtCursor::Shape arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - int val2 ; - int ecode2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_setShape",2,2,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_setShape" "', argument " "1"" of type '" "SoQtCursor *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SoQtCursor_setShape" "', argument " "2"" of type '" "SoQtCursor::Shape""'"); - } - arg2 = static_cast< SoQtCursor::Shape >(val2); - (arg1)->setShape(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getCustomCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *arg1 = (SoQtCursor *) 0 ; - CustomCursor *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getCustomCursor",1,1,&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SoQtCursor, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SoQtCursor_getCustomCursor" "', argument " "1"" of type '" "SoQtCursor const *""'"); - } - arg1 = reinterpret_cast< SoQtCursor * >(argp1); - { - CustomCursor const &_result_ref = ((SoQtCursor const *)arg1)->getCustomCursor(); - result = (CustomCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CustomCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getZoomCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getZoomCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getZoomCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getPanCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getPanCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getPanCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getRotateCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getRotateCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getRotateCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SoQtCursor_getBlankCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SoQtCursor *result = 0 ; - - if(!PyArg_UnpackTuple(args,(char *)"SoQtCursor_getBlankCursor",0,0)) SWIG_fail; - { - SoQtCursor const &_result_ref = SoQtCursor::getBlankCursor(); - result = (SoQtCursor *) &_result_ref; - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SoQtCursor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *SoQtCursor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!PyArg_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_SoQtCursor, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -static PyMethodDef SwigMethods[] = { - { (char *)"cast", cast, METH_VARARGS, NULL}, - { (char *)"new_charp", _wrap_new_charp, METH_VARARGS, NULL}, - { (char *)"delete_charp", _wrap_delete_charp, METH_VARARGS, NULL}, - { (char *)"charp_assign", _wrap_charp_assign, METH_VARARGS, NULL}, - { (char *)"charp_value", _wrap_charp_value, METH_VARARGS, NULL}, - { (char *)"charp_cast", _wrap_charp_cast, METH_VARARGS, NULL}, - { (char *)"charp_frompointer", _wrap_charp_frompointer, METH_VARARGS, NULL}, - { (char *)"charp_swigregister", charp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_intp", _wrap_new_intp, METH_VARARGS, NULL}, - { (char *)"delete_intp", _wrap_delete_intp, METH_VARARGS, NULL}, - { (char *)"intp_assign", _wrap_intp_assign, METH_VARARGS, NULL}, - { (char *)"intp_value", _wrap_intp_value, METH_VARARGS, NULL}, - { (char *)"intp_cast", _wrap_intp_cast, METH_VARARGS, NULL}, - { (char *)"intp_frompointer", _wrap_intp_frompointer, METH_VARARGS, NULL}, - { (char *)"intp_swigregister", intp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_longp", _wrap_new_longp, METH_VARARGS, NULL}, - { (char *)"delete_longp", _wrap_delete_longp, METH_VARARGS, NULL}, - { (char *)"longp_assign", _wrap_longp_assign, METH_VARARGS, NULL}, - { (char *)"longp_value", _wrap_longp_value, METH_VARARGS, NULL}, - { (char *)"longp_cast", _wrap_longp_cast, METH_VARARGS, NULL}, - { (char *)"longp_frompointer", _wrap_longp_frompointer, METH_VARARGS, NULL}, - { (char *)"longp_swigregister", longp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_floatp", _wrap_new_floatp, METH_VARARGS, NULL}, - { (char *)"delete_floatp", _wrap_delete_floatp, METH_VARARGS, NULL}, - { (char *)"floatp_assign", _wrap_floatp_assign, METH_VARARGS, NULL}, - { (char *)"floatp_value", _wrap_floatp_value, METH_VARARGS, NULL}, - { (char *)"floatp_cast", _wrap_floatp_cast, METH_VARARGS, NULL}, - { (char *)"floatp_frompointer", _wrap_floatp_frompointer, METH_VARARGS, NULL}, - { (char *)"floatp_swigregister", floatp_swigregister, METH_VARARGS, NULL}, - { (char *)"new_doublep", _wrap_new_doublep, METH_VARARGS, NULL}, - { (char *)"delete_doublep", _wrap_delete_doublep, METH_VARARGS, NULL}, - { (char *)"doublep_assign", _wrap_doublep_assign, METH_VARARGS, NULL}, - { (char *)"doublep_value", _wrap_doublep_value, METH_VARARGS, NULL}, - { (char *)"doublep_cast", _wrap_doublep_cast, METH_VARARGS, NULL}, - { (char *)"doublep_frompointer", _wrap_doublep_frompointer, METH_VARARGS, NULL}, - { (char *)"doublep_swigregister", doublep_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbDict", _wrap_new_SbDict, METH_VARARGS, NULL}, - { (char *)"delete_SbDict", _wrap_delete_SbDict, METH_VARARGS, NULL}, - { (char *)"SbDict_applyToAll", _wrap_SbDict_applyToAll, METH_VARARGS, NULL}, - { (char *)"SbDict_clear", _wrap_SbDict_clear, METH_VARARGS, NULL}, - { (char *)"SbDict_enter", _wrap_SbDict_enter, METH_VARARGS, NULL}, - { (char *)"SbDict_find", _wrap_SbDict_find, METH_VARARGS, NULL}, - { (char *)"SbDict_makePList", _wrap_SbDict_makePList, METH_VARARGS, NULL}, - { (char *)"SbDict_remove", _wrap_SbDict_remove, METH_VARARGS, NULL}, - { (char *)"SbDict_setHashingFunction", _wrap_SbDict_setHashingFunction, METH_VARARGS, NULL}, - { (char *)"SbDict_swigregister", SbDict_swigregister, METH_VARARGS, NULL}, - { (char *)"SoType_fromName", _wrap_SoType_fromName, METH_VARARGS, NULL}, - { (char *)"SoType_getName", _wrap_SoType_getName, METH_VARARGS, NULL}, - { (char *)"SoType_getParent", _wrap_SoType_getParent, METH_VARARGS, NULL}, - { (char *)"SoType_isDerivedFrom", _wrap_SoType_isDerivedFrom, METH_VARARGS, NULL}, - { (char *)"SoType_getAllDerivedFrom", _wrap_SoType_getAllDerivedFrom, METH_VARARGS, NULL}, - { (char *)"SoType_canCreateInstance", _wrap_SoType_canCreateInstance, METH_VARARGS, NULL}, - { (char *)"SoType_getData", _wrap_SoType_getData, METH_VARARGS, NULL}, - { (char *)"SoType_getKey", _wrap_SoType_getKey, METH_VARARGS, NULL}, - { (char *)"SoType___eq__", _wrap_SoType___eq__, METH_VARARGS, NULL}, - { (char *)"SoType___ne__", _wrap_SoType___ne__, METH_VARARGS, NULL}, - { (char *)"SoType___lt__", _wrap_SoType___lt__, METH_VARARGS, NULL}, - { (char *)"SoType___le__", _wrap_SoType___le__, METH_VARARGS, NULL}, - { (char *)"SoType___ge__", _wrap_SoType___ge__, METH_VARARGS, NULL}, - { (char *)"SoType___gt__", _wrap_SoType___gt__, METH_VARARGS, NULL}, - { (char *)"SoType_init", _wrap_SoType_init, METH_VARARGS, NULL}, - { (char *)"SoType_fromKey", _wrap_SoType_fromKey, METH_VARARGS, NULL}, - { (char *)"SoType_badType", _wrap_SoType_badType, METH_VARARGS, NULL}, - { (char *)"SoType_isBad", _wrap_SoType_isBad, METH_VARARGS, NULL}, - { (char *)"SoType_makeInternal", _wrap_SoType_makeInternal, METH_VARARGS, NULL}, - { (char *)"SoType_isInternal", _wrap_SoType_isInternal, METH_VARARGS, NULL}, - { (char *)"SoType_getNumTypes", _wrap_SoType_getNumTypes, METH_VARARGS, NULL}, - { (char *)"SoType_getInstantiationMethod", _wrap_SoType_getInstantiationMethod, METH_VARARGS, NULL}, - { (char *)"SoType_createInstance", _wrap_SoType_createInstance, METH_VARARGS, NULL}, - { (char *)"new_SoType", _wrap_new_SoType, METH_VARARGS, (char *)"new_SoType() -> SoType"}, - { (char *)"delete_SoType", _wrap_delete_SoType, METH_VARARGS, (char *)"delete_SoType(SoType self)"}, - { (char *)"SoType_swigregister", SoType_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbVec2s", _wrap_new_SbVec2s, METH_VARARGS, NULL}, - { (char *)"SbVec2s_dot", _wrap_SbVec2s_dot, METH_VARARGS, NULL}, - { (char *)"SbVec2s_getValue", _wrap_SbVec2s_getValue, METH_VARARGS, NULL}, - { (char *)"SbVec2s_negate", _wrap_SbVec2s_negate, METH_VARARGS, NULL}, - { (char *)"SbVec2s_setValue", _wrap_SbVec2s_setValue, METH_VARARGS, NULL}, - { (char *)"SbVec2s___imul__", _wrap_SbVec2s___imul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___idiv__", _wrap_SbVec2s___idiv__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___iadd__", _wrap_SbVec2s___iadd__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___isub__", _wrap_SbVec2s___isub__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___neg__", _wrap_SbVec2s___neg__, METH_VARARGS, NULL}, - { (char *)"SbVec2s_output", _wrap_SbVec2s_output, METH_VARARGS, NULL}, - { (char *)"SbVec2s___add__", _wrap_SbVec2s___add__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___sub__", _wrap_SbVec2s___sub__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___mul__", _wrap_SbVec2s___mul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___rmul__", _wrap_SbVec2s___rmul__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___div__", _wrap_SbVec2s___div__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___eq__", _wrap_SbVec2s___eq__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___nq__", _wrap_SbVec2s___nq__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___getitem__", _wrap_SbVec2s___getitem__, METH_VARARGS, NULL}, - { (char *)"SbVec2s___setitem__", _wrap_SbVec2s___setitem__, METH_VARARGS, NULL}, - { (char *)"delete_SbVec2s", _wrap_delete_SbVec2s, METH_VARARGS, (char *)"delete_SbVec2s(SbVec2s self)"}, - { (char *)"SbVec2s_swigregister", SbVec2s_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbPList", _wrap_new_SbPList, METH_VARARGS, NULL}, - { (char *)"delete_SbPList", _wrap_delete_SbPList, METH_VARARGS, NULL}, - { (char *)"SbPList_copy", _wrap_SbPList_copy, METH_VARARGS, NULL}, - { (char *)"SbPList_fit", _wrap_SbPList_fit, METH_VARARGS, NULL}, - { (char *)"SbPList_append", _wrap_SbPList_append, METH_VARARGS, NULL}, - { (char *)"SbPList_find", _wrap_SbPList_find, METH_VARARGS, NULL}, - { (char *)"SbPList_insert", _wrap_SbPList_insert, METH_VARARGS, NULL}, - { (char *)"SbPList_removeItem", _wrap_SbPList_removeItem, METH_VARARGS, NULL}, - { (char *)"SbPList_remove", _wrap_SbPList_remove, METH_VARARGS, NULL}, - { (char *)"SbPList_removeFast", _wrap_SbPList_removeFast, METH_VARARGS, NULL}, - { (char *)"SbPList_getLength", _wrap_SbPList_getLength, METH_VARARGS, NULL}, - { (char *)"SbPList_truncate", _wrap_SbPList_truncate, METH_VARARGS, NULL}, - { (char *)"SbPList_getArrayPtr", _wrap_SbPList_getArrayPtr, METH_VARARGS, NULL}, - { (char *)"SbPList___eq__", _wrap_SbPList___eq__, METH_VARARGS, NULL}, - { (char *)"SbPList___ne__", _wrap_SbPList___ne__, METH_VARARGS, NULL}, - { (char *)"SbPList_get", _wrap_SbPList_get, METH_VARARGS, NULL}, - { (char *)"SbPList_set", _wrap_SbPList_set, METH_VARARGS, NULL}, - { (char *)"SbPList___getitem__", _wrap_SbPList___getitem__, METH_VARARGS, NULL}, - { (char *)"SbPList___setitem__", _wrap_SbPList___setitem__, METH_VARARGS, NULL}, - { (char *)"SbPList_swigregister", SbPList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbIntList", _wrap_new_SbIntList, METH_VARARGS, NULL}, - { (char *)"SbIntList_append", _wrap_SbIntList_append, METH_VARARGS, NULL}, - { (char *)"SbIntList_find", _wrap_SbIntList_find, METH_VARARGS, NULL}, - { (char *)"SbIntList_insert", _wrap_SbIntList_insert, METH_VARARGS, NULL}, - { (char *)"SbIntList___setitem__", _wrap_SbIntList___setitem__, METH_VARARGS, NULL}, - { (char *)"SbIntList___getitem__", _wrap_SbIntList___getitem__, METH_VARARGS, NULL}, - { (char *)"SbIntList_get", _wrap_SbIntList_get, METH_VARARGS, NULL}, - { (char *)"delete_SbIntList", _wrap_delete_SbIntList, METH_VARARGS, (char *)"delete_SbIntList(SbIntList self)"}, - { (char *)"SbIntList_swigregister", SbIntList_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbString", _wrap_new_SbString, METH_VARARGS, NULL}, - { (char *)"delete_SbString", _wrap_delete_SbString, METH_VARARGS, NULL}, - { (char *)"SbString_hash", _wrap_SbString_hash, METH_VARARGS, NULL}, - { (char *)"SbString_getLength", _wrap_SbString_getLength, METH_VARARGS, NULL}, - { (char *)"SbString_makeEmpty", _wrap_SbString_makeEmpty, METH_VARARGS, NULL}, - { (char *)"SbString_getString", _wrap_SbString_getString, METH_VARARGS, NULL}, - { (char *)"SbString_getSubString", _wrap_SbString_getSubString, METH_VARARGS, NULL}, - { (char *)"SbString_deleteSubString", _wrap_SbString_deleteSubString, METH_VARARGS, NULL}, - { (char *)"SbString_addIntString", _wrap_SbString_addIntString, METH_VARARGS, NULL}, - { (char *)"SbString___iadd__", _wrap_SbString___iadd__, METH_VARARGS, NULL}, - { (char *)"SbString_compareSubString", _wrap_SbString_compareSubString, METH_VARARGS, NULL}, - { (char *)"SbString_sprintf", _wrap_SbString_sprintf, METH_VARARGS, NULL}, - { (char *)"SbString_apply", _wrap_SbString_apply, METH_VARARGS, NULL}, - { (char *)"SbString_find", _wrap_SbString_find, METH_VARARGS, NULL}, - { (char *)"SbString_findAll", _wrap_SbString_findAll, METH_VARARGS, NULL}, - { (char *)"SbString___eq__", _wrap_SbString___eq__, METH_VARARGS, NULL}, - { (char *)"SbString___nq__", _wrap_SbString___nq__, METH_VARARGS, NULL}, - { (char *)"SbString___getitem__", _wrap_SbString___getitem__, METH_VARARGS, NULL}, - { (char *)"SbString___repr__", _wrap_SbString___repr__, METH_VARARGS, NULL}, - { (char *)"SbString_swigregister", SbString_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbName", _wrap_new_SbName, METH_VARARGS, NULL}, - { (char *)"delete_SbName", _wrap_delete_SbName, METH_VARARGS, NULL}, - { (char *)"SbName_getString", _wrap_SbName_getString, METH_VARARGS, NULL}, - { (char *)"SbName_getLength", _wrap_SbName_getLength, METH_VARARGS, NULL}, - { (char *)"SbName_isIdentStartChar", _wrap_SbName_isIdentStartChar, METH_VARARGS, NULL}, - { (char *)"SbName_isIdentChar", _wrap_SbName_isIdentChar, METH_VARARGS, NULL}, - { (char *)"SbName_isBaseNameStartChar", _wrap_SbName_isBaseNameStartChar, METH_VARARGS, NULL}, - { (char *)"SbName_isBaseNameChar", _wrap_SbName_isBaseNameChar, METH_VARARGS, NULL}, - { (char *)"SbName___eq__", _wrap_SbName___eq__, METH_VARARGS, NULL}, - { (char *)"SbName___nq__", _wrap_SbName___nq__, METH_VARARGS, NULL}, - { (char *)"SbName___getitem__", _wrap_SbName___getitem__, METH_VARARGS, NULL}, - { (char *)"SbName___repr__", _wrap_SbName___repr__, METH_VARARGS, NULL}, - { (char *)"SbName_swigregister", SbName_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SbTime", _wrap_new_SbTime, METH_VARARGS, NULL}, - { (char *)"SbTime_getTimeOfDay", _wrap_SbTime_getTimeOfDay, METH_VARARGS, NULL}, - { (char *)"SbTime_setToTimeOfDay", _wrap_SbTime_setToTimeOfDay, METH_VARARGS, NULL}, - { (char *)"SbTime_zero", _wrap_SbTime_zero, METH_VARARGS, NULL}, - { (char *)"SbTime_max", _wrap_SbTime_max, METH_VARARGS, NULL}, - { (char *)"SbTime_maxTime", _wrap_SbTime_maxTime, METH_VARARGS, NULL}, - { (char *)"SbTime_setValue", _wrap_SbTime_setValue, METH_VARARGS, NULL}, - { (char *)"SbTime_setMsecValue", _wrap_SbTime_setMsecValue, METH_VARARGS, NULL}, - { (char *)"SbTime_getValue", _wrap_SbTime_getValue, METH_VARARGS, NULL}, - { (char *)"SbTime_getMsecValue", _wrap_SbTime_getMsecValue, METH_VARARGS, NULL}, - { (char *)"SbTime_format", _wrap_SbTime_format, METH_VARARGS, NULL}, - { (char *)"SbTime_formatDate", _wrap_SbTime_formatDate, METH_VARARGS, NULL}, - { (char *)"SbTime_parsedate", _wrap_SbTime_parsedate, METH_VARARGS, NULL}, - { (char *)"SbTime___iadd__", _wrap_SbTime___iadd__, METH_VARARGS, NULL}, - { (char *)"SbTime___isub__", _wrap_SbTime___isub__, METH_VARARGS, NULL}, - { (char *)"SbTime___neg__", _wrap_SbTime___neg__, METH_VARARGS, NULL}, - { (char *)"SbTime___imul__", _wrap_SbTime___imul__, METH_VARARGS, NULL}, - { (char *)"SbTime___idiv__", _wrap_SbTime___idiv__, METH_VARARGS, NULL}, - { (char *)"SbTime___mod__", _wrap_SbTime___mod__, METH_VARARGS, NULL}, - { (char *)"SbTime___eq__", _wrap_SbTime___eq__, METH_VARARGS, NULL}, - { (char *)"SbTime___ne__", _wrap_SbTime___ne__, METH_VARARGS, NULL}, - { (char *)"SbTime___lt__", _wrap_SbTime___lt__, METH_VARARGS, NULL}, - { (char *)"SbTime___gt__", _wrap_SbTime___gt__, METH_VARARGS, NULL}, - { (char *)"SbTime___le__", _wrap_SbTime___le__, METH_VARARGS, NULL}, - { (char *)"SbTime___ge__", _wrap_SbTime___ge__, METH_VARARGS, NULL}, - { (char *)"SbTime_output", _wrap_SbTime_output, METH_VARARGS, NULL}, - { (char *)"SbTime___add__", _wrap_SbTime___add__, METH_VARARGS, NULL}, - { (char *)"SbTime___sub__", _wrap_SbTime___sub__, METH_VARARGS, NULL}, - { (char *)"SbTime___mul__", _wrap_SbTime___mul__, METH_VARARGS, NULL}, - { (char *)"SbTime___rmul__", _wrap_SbTime___rmul__, METH_VARARGS, NULL}, - { (char *)"SbTime___div__", _wrap_SbTime___div__, METH_VARARGS, NULL}, - { (char *)"delete_SbTime", _wrap_delete_SbTime, METH_VARARGS, (char *)"delete_SbTime(SbTime self)"}, - { (char *)"SbTime_swigregister", SbTime_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoEvent", _wrap_new_SoEvent, METH_VARARGS, NULL}, - { (char *)"delete_SoEvent", _wrap_delete_SoEvent, METH_VARARGS, NULL}, - { (char *)"SoEvent_isOfType", _wrap_SoEvent_isOfType, METH_VARARGS, NULL}, - { (char *)"SoEvent_getClassTypeId", _wrap_SoEvent_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoEvent_getTypeId", _wrap_SoEvent_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoEvent_setTime", _wrap_SoEvent_setTime, METH_VARARGS, NULL}, - { (char *)"SoEvent_getTime", _wrap_SoEvent_getTime, METH_VARARGS, NULL}, - { (char *)"SoEvent_setPosition", _wrap_SoEvent_setPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_getPosition", _wrap_SoEvent_getPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_getNormalizedPosition", _wrap_SoEvent_getNormalizedPosition, METH_VARARGS, NULL}, - { (char *)"SoEvent_setShiftDown", _wrap_SoEvent_setShiftDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasShiftDown", _wrap_SoEvent_wasShiftDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_setCtrlDown", _wrap_SoEvent_setCtrlDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasCtrlDown", _wrap_SoEvent_wasCtrlDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_setAltDown", _wrap_SoEvent_setAltDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_wasAltDown", _wrap_SoEvent_wasAltDown, METH_VARARGS, NULL}, - { (char *)"SoEvent_initClass", _wrap_SoEvent_initClass, METH_VARARGS, NULL}, - { (char *)"SoEvent_swigregister", SoEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotRec", _wrap_new_SoNotRec, METH_VARARGS, NULL}, - { (char *)"SoNotRec_setType", _wrap_SoNotRec_setType, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getBase", _wrap_SoNotRec_getBase, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getType", _wrap_SoNotRec_getType, METH_VARARGS, NULL}, - { (char *)"SoNotRec_getPrevious", _wrap_SoNotRec_getPrevious, METH_VARARGS, NULL}, - { (char *)"SoNotRec_setPrevious", _wrap_SoNotRec_setPrevious, METH_VARARGS, NULL}, - { (char *)"SoNotRec_output", _wrap_SoNotRec_output, METH_VARARGS, NULL}, - { (char *)"delete_SoNotRec", _wrap_delete_SoNotRec, METH_VARARGS, (char *)"delete_SoNotRec(SoNotRec self)"}, - { (char *)"SoNotRec_swigregister", SoNotRec_swigregister, METH_VARARGS, NULL}, - { (char *)"new_SoNotList", _wrap_new_SoNotList, METH_VARARGS, NULL}, - { (char *)"SoNotList_append", _wrap_SoNotList_append, METH_VARARGS, NULL}, - { (char *)"SoNotList_setLastType", _wrap_SoNotList_setLastType, METH_VARARGS, NULL}, - { (char *)"SoNotList_getFirstRec", _wrap_SoNotList_getFirstRec, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastRec", _wrap_SoNotList_getLastRec, METH_VARARGS, NULL}, - { (char *)"SoNotList_getFirstRecAtNode", _wrap_SoNotList_getFirstRecAtNode, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastField", _wrap_SoNotList_getLastField, METH_VARARGS, NULL}, - { (char *)"SoNotList_getLastEngineOutput", _wrap_SoNotList_getLastEngineOutput, METH_VARARGS, NULL}, - { (char *)"SoNotList_getTimeStamp", _wrap_SoNotList_getTimeStamp, METH_VARARGS, NULL}, - { (char *)"SoNotList_output", _wrap_SoNotList_output, METH_VARARGS, NULL}, - { (char *)"delete_SoNotList", _wrap_delete_SoNotList, METH_VARARGS, (char *)"delete_SoNotList(SoNotList self)"}, - { (char *)"SoNotList_swigregister", SoNotList_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoField", _wrap_delete_SoField, METH_VARARGS, NULL}, - { (char *)"SoField_initClass", _wrap_SoField_initClass, METH_VARARGS, NULL}, - { (char *)"SoField_initClasses", _wrap_SoField_initClasses, METH_VARARGS, NULL}, - { (char *)"SoField_setIgnored", _wrap_SoField_setIgnored, METH_VARARGS, NULL}, - { (char *)"SoField_isIgnored", _wrap_SoField_isIgnored, METH_VARARGS, NULL}, - { (char *)"SoField_setDefault", _wrap_SoField_setDefault, METH_VARARGS, NULL}, - { (char *)"SoField_isDefault", _wrap_SoField_isDefault, METH_VARARGS, NULL}, - { (char *)"SoField_getTypeId", _wrap_SoField_getTypeId, METH_VARARGS, NULL}, - { (char *)"SoField_getClassTypeId", _wrap_SoField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoField_isOfType", _wrap_SoField_isOfType, METH_VARARGS, NULL}, - { (char *)"SoField_enableConnection", _wrap_SoField_enableConnection, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectionEnabled", _wrap_SoField_isConnectionEnabled, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectedFromEngine", _wrap_SoField_isConnectedFromEngine, METH_VARARGS, NULL}, - { (char *)"SoField_getConnectedEngine", _wrap_SoField_getConnectedEngine, METH_VARARGS, NULL}, - { (char *)"SoField_connectFrom", _wrap_SoField_connectFrom, METH_VARARGS, NULL}, - { (char *)"SoField_appendConnection", _wrap_SoField_appendConnection, METH_VARARGS, NULL}, - { (char *)"SoField_isConnectedFromField", _wrap_SoField_isConnectedFromField, METH_VARARGS, NULL}, - { (char *)"SoField_getConnectedField", _wrap_SoField_getConnectedField, METH_VARARGS, NULL}, - { (char *)"SoField_getNumConnections", _wrap_SoField_getNumConnections, METH_VARARGS, NULL}, - { (char *)"SoField_getForwardConnections", _wrap_SoField_getForwardConnections, METH_VARARGS, NULL}, - { (char *)"SoField_getConnections", _wrap_SoField_getConnections, METH_VARARGS, NULL}, - { (char *)"SoField_disconnect", _wrap_SoField_disconnect, METH_VARARGS, NULL}, - { (char *)"SoField_isConnected", _wrap_SoField_isConnected, METH_VARARGS, NULL}, - { (char *)"SoField_setContainer", _wrap_SoField_setContainer, METH_VARARGS, NULL}, - { (char *)"SoField_getContainer", _wrap_SoField_getContainer, METH_VARARGS, NULL}, - { (char *)"SoField_set", _wrap_SoField_set, METH_VARARGS, NULL}, - { (char *)"SoField_shouldWrite", _wrap_SoField_shouldWrite, METH_VARARGS, NULL}, - { (char *)"SoField_touch", _wrap_SoField_touch, METH_VARARGS, NULL}, - { (char *)"SoField_startNotify", _wrap_SoField_startNotify, METH_VARARGS, NULL}, - { (char *)"SoField_notify", _wrap_SoField_notify, METH_VARARGS, NULL}, - { (char *)"SoField_enableNotify", _wrap_SoField_enableNotify, METH_VARARGS, NULL}, - { (char *)"SoField_isNotifyEnabled", _wrap_SoField_isNotifyEnabled, METH_VARARGS, NULL}, - { (char *)"SoField_addAuditor", _wrap_SoField_addAuditor, METH_VARARGS, NULL}, - { (char *)"SoField_removeAuditor", _wrap_SoField_removeAuditor, METH_VARARGS, NULL}, - { (char *)"SoField___eq__", _wrap_SoField___eq__, METH_VARARGS, NULL}, - { (char *)"SoField___ne__", _wrap_SoField___ne__, METH_VARARGS, NULL}, - { (char *)"SoField_connectionStatusChanged", _wrap_SoField_connectionStatusChanged, METH_VARARGS, NULL}, - { (char *)"SoField_isReadOnly", _wrap_SoField_isReadOnly, METH_VARARGS, NULL}, - { (char *)"SoField_isSame", _wrap_SoField_isSame, METH_VARARGS, NULL}, - { (char *)"SoField_copyFrom", _wrap_SoField_copyFrom, METH_VARARGS, NULL}, - { (char *)"SoField_fixCopy", _wrap_SoField_fixCopy, METH_VARARGS, NULL}, - { (char *)"SoField_referencesCopy", _wrap_SoField_referencesCopy, METH_VARARGS, NULL}, - { (char *)"SoField_copyConnection", _wrap_SoField_copyConnection, METH_VARARGS, NULL}, - { (char *)"SoField_read", _wrap_SoField_read, METH_VARARGS, NULL}, - { (char *)"SoField_write", _wrap_SoField_write, METH_VARARGS, NULL}, - { (char *)"SoField_countWriteRefs", _wrap_SoField_countWriteRefs, METH_VARARGS, NULL}, - { (char *)"SoField_setFieldType", _wrap_SoField_setFieldType, METH_VARARGS, NULL}, - { (char *)"SoField_getFieldType", _wrap_SoField_getFieldType, METH_VARARGS, NULL}, - { (char *)"SoField_getDirty", _wrap_SoField_getDirty, METH_VARARGS, NULL}, - { (char *)"SoField_setDirty", _wrap_SoField_setDirty, METH_VARARGS, NULL}, - { (char *)"SoField_evaluate", _wrap_SoField_evaluate, METH_VARARGS, NULL}, - { (char *)"SoField_get", _wrap_SoField_get, METH_VARARGS, NULL}, - { (char *)"SoField_swigregister", SoField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoSField", _wrap_delete_SoSField, METH_VARARGS, NULL}, - { (char *)"SoSField_initClass", _wrap_SoSField_initClass, METH_VARARGS, NULL}, - { (char *)"SoSField_getClassTypeId", _wrap_SoSField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoSField_swigregister", SoSField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_SoMField", _wrap_delete_SoMField, METH_VARARGS, NULL}, - { (char *)"SoMField_getClassTypeId", _wrap_SoMField_getClassTypeId, METH_VARARGS, NULL}, - { (char *)"SoMField_getNum", _wrap_SoMField_getNum, METH_VARARGS, NULL}, - { (char *)"SoMField_setNum", _wrap_SoMField_setNum, METH_VARARGS, NULL}, - { (char *)"SoMField_deleteValues", _wrap_SoMField_deleteValues, METH_VARARGS, NULL}, - { (char *)"SoMField_insertSpace", _wrap_SoMField_insertSpace, METH_VARARGS, NULL}, - { (char *)"SoMField_set1", _wrap_SoMField_set1, METH_VARARGS, NULL}, - { (char *)"SoMField_initClass", _wrap_SoMField_initClass, METH_VARARGS, NULL}, - { (char *)"SoMField_enableDeleteValues", _wrap_SoMField_enableDeleteValues, METH_VARARGS, NULL}, - { (char *)"SoMField_isDeleteValuesEnabled", _wrap_SoMField_isDeleteValuesEnabled, METH_VARARGS, NULL}, - { (char *)"SoMField___len__", _wrap_SoMField___len__, METH_VARARGS, NULL}, - { (char *)"SoMField_get1", _wrap_SoMField_get1, METH_VARARGS, NULL}, - { (char *)"SoMField_swigregister", SoMField_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_QEvent", _wrap_delete_QEvent, METH_VARARGS, (char *)"delete_QEvent(QEvent self)"}, - { (char *)"QEvent_swigregister", QEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"delete_QWidget", _wrap_delete_QWidget, METH_VARARGS, (char *)"delete_QWidget(QWidget self)"}, - { (char *)"QWidget_swigregister", QWidget_swigregister, METH_VARARGS, NULL}, - { (char *)"sogui_atexit", _wrap_sogui_atexit, METH_VARARGS, (char *)"sogui_atexit(sogui_atexit_f fp, int priority)"}, - { (char *)"SoQtObject_initClass", _wrap_SoQtObject_initClass, METH_VARARGS, (char *)"SoQtObject_initClass()"}, - { (char *)"SoQtObject_getClassTypeId", _wrap_SoQtObject_getClassTypeId, METH_VARARGS, (char *)"SoQtObject_getClassTypeId() -> SoType"}, - { (char *)"SoQtObject_getTypeId", _wrap_SoQtObject_getTypeId, METH_VARARGS, (char *)"SoQtObject_getTypeId(SoQtObject self) -> SoType"}, - { (char *)"SoQtObject_isOfType", _wrap_SoQtObject_isOfType, METH_VARARGS, (char *)"SoQtObject_isOfType(SoQtObject self, SoType type) -> SbBool"}, - { (char *)"SoQtObject_init", _wrap_SoQtObject_init, METH_VARARGS, (char *)"SoQtObject_init()"}, - { (char *)"delete_SoQtObject", _wrap_delete_SoQtObject, METH_VARARGS, (char *)"delete_SoQtObject(SoQtObject self)"}, - { (char *)"SoQtObject_swigregister", SoQtObject_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtDevice_initClass", _wrap_SoQtDevice_initClass, METH_VARARGS, (char *)"SoQtDevice_initClass()"}, - { (char *)"SoQtDevice_getClassTypeId", _wrap_SoQtDevice_getClassTypeId, METH_VARARGS, (char *)"SoQtDevice_getClassTypeId() -> SoType"}, - { (char *)"SoQtDevice_getTypeId", _wrap_SoQtDevice_getTypeId, METH_VARARGS, (char *)"SoQtDevice_getTypeId(SoQtDevice self) -> SoType"}, - { (char *)"delete_SoQtDevice", _wrap_delete_SoQtDevice, METH_VARARGS, (char *)"delete_SoQtDevice(SoQtDevice self)"}, - { (char *)"SoQtDevice_enable", _wrap_SoQtDevice_enable, METH_VARARGS, (char *)"\n" - "SoQtDevice_enable(SoQtDevice self, QWidget w, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtDevice_disable", _wrap_SoQtDevice_disable, METH_VARARGS, (char *)"\n" - "SoQtDevice_disable(SoQtDevice self, QWidget w, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtDevice_translateEvent", _wrap_SoQtDevice_translateEvent, METH_VARARGS, (char *)"SoQtDevice_translateEvent(SoQtDevice self, QEvent event) -> SoEvent"}, - { (char *)"SoQtDevice_setWindowSize", _wrap_SoQtDevice_setWindowSize, METH_VARARGS, (char *)"SoQtDevice_setWindowSize(SoQtDevice self, SbVec2s size)"}, - { (char *)"SoQtDevice_getWindowSize", _wrap_SoQtDevice_getWindowSize, METH_VARARGS, (char *)"SoQtDevice_getWindowSize(SoQtDevice self) -> SbVec2s"}, - { (char *)"SoQtDevice_initClasses", _wrap_SoQtDevice_initClasses, METH_VARARGS, (char *)"SoQtDevice_initClasses()"}, - { (char *)"SoQtDevice_swigregister", SoQtDevice_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtKeyboard_initClass", _wrap_SoQtKeyboard_initClass, METH_VARARGS, (char *)"SoQtKeyboard_initClass()"}, - { (char *)"SoQtKeyboard_getClassTypeId", _wrap_SoQtKeyboard_getClassTypeId, METH_VARARGS, (char *)"SoQtKeyboard_getClassTypeId() -> SoType"}, - { (char *)"SoQtKeyboard_getTypeId", _wrap_SoQtKeyboard_getTypeId, METH_VARARGS, (char *)"SoQtKeyboard_getTypeId(SoQtKeyboard self) -> SoType"}, - { (char *)"SoQtKeyboard_createInstance", _wrap_SoQtKeyboard_createInstance, METH_VARARGS, (char *)"SoQtKeyboard_createInstance() -> void"}, - { (char *)"new_SoQtKeyboard", _wrap_new_SoQtKeyboard, METH_VARARGS, (char *)"\n" - "SoQtKeyboard(int eventmask=ALL_EVENTS)\n" - "new_SoQtKeyboard() -> SoQtKeyboard\n" - ""}, - { (char *)"delete_SoQtKeyboard", _wrap_delete_SoQtKeyboard, METH_VARARGS, (char *)"delete_SoQtKeyboard(SoQtKeyboard self)"}, - { (char *)"SoQtKeyboard_enable", _wrap_SoQtKeyboard_enable, METH_VARARGS, (char *)"\n" - "SoQtKeyboard_enable(SoQtKeyboard self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtKeyboard_disable", _wrap_SoQtKeyboard_disable, METH_VARARGS, (char *)"\n" - "SoQtKeyboard_disable(SoQtKeyboard self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtKeyboard_translateEvent", _wrap_SoQtKeyboard_translateEvent, METH_VARARGS, (char *)"SoQtKeyboard_translateEvent(SoQtKeyboard self, QEvent event) -> SoEvent"}, - { (char *)"SoQtKeyboard_swigregister", SoQtKeyboard_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtSpaceball_initClass", _wrap_SoQtSpaceball_initClass, METH_VARARGS, (char *)"SoQtSpaceball_initClass()"}, - { (char *)"SoQtSpaceball_getClassTypeId", _wrap_SoQtSpaceball_getClassTypeId, METH_VARARGS, (char *)"SoQtSpaceball_getClassTypeId() -> SoType"}, - { (char *)"SoQtSpaceball_getTypeId", _wrap_SoQtSpaceball_getTypeId, METH_VARARGS, (char *)"SoQtSpaceball_getTypeId(SoQtSpaceball self) -> SoType"}, - { (char *)"SoQtSpaceball_createInstance", _wrap_SoQtSpaceball_createInstance, METH_VARARGS, (char *)"SoQtSpaceball_createInstance() -> void"}, - { (char *)"new_SoQtSpaceball", _wrap_new_SoQtSpaceball, METH_VARARGS, (char *)"\n" - "SoQtSpaceball(int events=ALL_EVENTS)\n" - "new_SoQtSpaceball() -> SoQtSpaceball\n" - ""}, - { (char *)"delete_SoQtSpaceball", _wrap_delete_SoQtSpaceball, METH_VARARGS, (char *)"delete_SoQtSpaceball(SoQtSpaceball self)"}, - { (char *)"SoQtSpaceball_enable", _wrap_SoQtSpaceball_enable, METH_VARARGS, (char *)"\n" - "SoQtSpaceball_enable(SoQtSpaceball self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtSpaceball_disable", _wrap_SoQtSpaceball_disable, METH_VARARGS, (char *)"\n" - "SoQtSpaceball_disable(SoQtSpaceball self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtSpaceball_translateEvent", _wrap_SoQtSpaceball_translateEvent, METH_VARARGS, (char *)"SoQtSpaceball_translateEvent(SoQtSpaceball self, QEvent event) -> SoEvent"}, - { (char *)"SoQtSpaceball_setRotationScaleFactor", _wrap_SoQtSpaceball_setRotationScaleFactor, METH_VARARGS, (char *)"SoQtSpaceball_setRotationScaleFactor(SoQtSpaceball self, float f)"}, - { (char *)"SoQtSpaceball_getRotationScaleFactor", _wrap_SoQtSpaceball_getRotationScaleFactor, METH_VARARGS, (char *)"SoQtSpaceball_getRotationScaleFactor(SoQtSpaceball self) -> float"}, - { (char *)"SoQtSpaceball_setTranslationScaleFactor", _wrap_SoQtSpaceball_setTranslationScaleFactor, METH_VARARGS, (char *)"SoQtSpaceball_setTranslationScaleFactor(SoQtSpaceball self, float f)"}, - { (char *)"SoQtSpaceball_getTranslationScaleFactor", _wrap_SoQtSpaceball_getTranslationScaleFactor, METH_VARARGS, (char *)"SoQtSpaceball_getTranslationScaleFactor(SoQtSpaceball self) -> float"}, - { (char *)"SoQtSpaceball_exists", _wrap_SoQtSpaceball_exists, METH_VARARGS, (char *)"SoQtSpaceball_exists() -> SbBool"}, - { (char *)"SoQtSpaceball_setFocusToWindow", _wrap_SoQtSpaceball_setFocusToWindow, METH_VARARGS, (char *)"SoQtSpaceball_setFocusToWindow(SoQtSpaceball self, SbBool flag)"}, - { (char *)"SoQtSpaceball_isFocusToWindow", _wrap_SoQtSpaceball_isFocusToWindow, METH_VARARGS, (char *)"SoQtSpaceball_isFocusToWindow(SoQtSpaceball self) -> SbBool"}, - { (char *)"SoQtSpaceball_swigregister", SoQtSpaceball_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtMouse_initClass", _wrap_SoQtMouse_initClass, METH_VARARGS, (char *)"SoQtMouse_initClass()"}, - { (char *)"SoQtMouse_getClassTypeId", _wrap_SoQtMouse_getClassTypeId, METH_VARARGS, (char *)"SoQtMouse_getClassTypeId() -> SoType"}, - { (char *)"SoQtMouse_getTypeId", _wrap_SoQtMouse_getTypeId, METH_VARARGS, (char *)"SoQtMouse_getTypeId(SoQtMouse self) -> SoType"}, - { (char *)"SoQtMouse_createInstance", _wrap_SoQtMouse_createInstance, METH_VARARGS, (char *)"SoQtMouse_createInstance() -> void"}, - { (char *)"new_SoQtMouse", _wrap_new_SoQtMouse, METH_VARARGS, (char *)"\n" - "SoQtMouse(int eventmask=ALL_EVENTS)\n" - "new_SoQtMouse() -> SoQtMouse\n" - ""}, - { (char *)"delete_SoQtMouse", _wrap_delete_SoQtMouse, METH_VARARGS, (char *)"delete_SoQtMouse(SoQtMouse self)"}, - { (char *)"SoQtMouse_enable", _wrap_SoQtMouse_enable, METH_VARARGS, (char *)"\n" - "SoQtMouse_enable(SoQtMouse self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtMouse_disable", _wrap_SoQtMouse_disable, METH_VARARGS, (char *)"\n" - "SoQtMouse_disable(SoQtMouse self, QWidget widget, SoQtEventHandler handler, \n" - " void closure)\n" - ""}, - { (char *)"SoQtMouse_translateEvent", _wrap_SoQtMouse_translateEvent, METH_VARARGS, (char *)"SoQtMouse_translateEvent(SoQtMouse self, QEvent event) -> SoEvent"}, - { (char *)"SoQtMouse_swigregister", SoQtMouse_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQt_init", _wrap_SoQt_init, METH_VARARGS, (char *)"\n" - "init(char appname, char classname=\"SoQt\") -> QWidget\n" - "init(char appname) -> QWidget\n" - "init(int argc, char argv, char appname, char classname=\"SoQt\") -> QWidget\n" - "init(int argc, char argv, char appname) -> QWidget\n" - "SoQt_init(QWidget toplevelwidget)\n" - ""}, - { (char *)"SoQt_exitMainLoop", _wrap_SoQt_exitMainLoop, METH_VARARGS, (char *)"SoQt_exitMainLoop()"}, - { (char *)"SoQt_done", _wrap_SoQt_done, METH_VARARGS, (char *)"SoQt_done()"}, - { (char *)"SoQt_getTopLevelWidget", _wrap_SoQt_getTopLevelWidget, METH_VARARGS, (char *)"SoQt_getTopLevelWidget() -> QWidget"}, - { (char *)"SoQt_getShellWidget", _wrap_SoQt_getShellWidget, METH_VARARGS, (char *)"SoQt_getShellWidget(QWidget w) -> QWidget"}, - { (char *)"SoQt_show", _wrap_SoQt_show, METH_VARARGS, (char *)"SoQt_show(QWidget widget)"}, - { (char *)"SoQt_hide", _wrap_SoQt_hide, METH_VARARGS, (char *)"SoQt_hide(QWidget widget)"}, - { (char *)"SoQt_setWidgetSize", _wrap_SoQt_setWidgetSize, METH_VARARGS, (char *)"SoQt_setWidgetSize(QWidget widget, SbVec2s size)"}, - { (char *)"SoQt_getWidgetSize", _wrap_SoQt_getWidgetSize, METH_VARARGS, (char *)"SoQt_getWidgetSize(QWidget widget) -> SbVec2s"}, - { (char *)"SoQt_createSimpleErrorDialog", _wrap_SoQt_createSimpleErrorDialog, METH_VARARGS, (char *)"\n" - "createSimpleErrorDialog(QWidget widget, char title, char string1, char string2=None)\n" - "SoQt_createSimpleErrorDialog(QWidget widget, char title, char string1)\n" - ""}, - { (char *)"SoQt_getVersionInfo", _wrap_SoQt_getVersionInfo, METH_VARARGS, (char *)"\n" - "getVersionInfo(int major=None, int minor=None, int micro=None)\n" - "getVersionInfo(int major=None, int minor=None)\n" - "getVersionInfo(int major=None)\n" - "SoQt_getVersionInfo()\n" - ""}, - { (char *)"SoQt_getVersionString", _wrap_SoQt_getVersionString, METH_VARARGS, (char *)"SoQt_getVersionString() -> char"}, - { (char *)"SoQt_setFatalErrorHandler", _wrap_SoQt_setFatalErrorHandler, METH_VARARGS, (char *)"SoQt_setFatalErrorHandler(FatalErrorCB cb, void userdata) -> FatalErrorCB"}, - { (char *)"SoQt_isDebugLibrary", _wrap_SoQt_isDebugLibrary, METH_VARARGS, (char *)"SoQt_isDebugLibrary() -> SbBool"}, - { (char *)"SoQt_isCompatible", _wrap_SoQt_isCompatible, METH_VARARGS, (char *)"SoQt_isCompatible(unsigned int major, unsigned int minor) -> SbBool"}, - { (char *)"SoQt_getABIType", _wrap_SoQt_getABIType, METH_VARARGS, (char *)"SoQt_getABIType() -> ABIType"}, - { (char *)"SoQt_mainLoop", _wrap_SoQt_mainLoop, METH_VARARGS, (char *)"SoQt_mainLoop()"}, - { (char *)"SoQt_swigregister", SoQt_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtComponent_initClass", _wrap_SoQtComponent_initClass, METH_VARARGS, (char *)"SoQtComponent_initClass()"}, - { (char *)"SoQtComponent_getClassTypeId", _wrap_SoQtComponent_getClassTypeId, METH_VARARGS, (char *)"SoQtComponent_getClassTypeId() -> SoType"}, - { (char *)"SoQtComponent_getTypeId", _wrap_SoQtComponent_getTypeId, METH_VARARGS, (char *)"SoQtComponent_getTypeId(SoQtComponent self) -> SoType"}, - { (char *)"delete_SoQtComponent", _wrap_delete_SoQtComponent, METH_VARARGS, (char *)"delete_SoQtComponent(SoQtComponent self)"}, - { (char *)"SoQtComponent_show", _wrap_SoQtComponent_show, METH_VARARGS, (char *)"SoQtComponent_show(SoQtComponent self)"}, - { (char *)"SoQtComponent_hide", _wrap_SoQtComponent_hide, METH_VARARGS, (char *)"SoQtComponent_hide(SoQtComponent self)"}, - { (char *)"SoQtComponent_setComponentCursor", _wrap_SoQtComponent_setComponentCursor, METH_VARARGS, (char *)"SoQtComponent_setComponentCursor(SoQtComponent self, SoQtCursor cursor)"}, - { (char *)"SoQtComponent_setWidgetCursor", _wrap_SoQtComponent_setWidgetCursor, METH_VARARGS, (char *)"SoQtComponent_setWidgetCursor(QWidget w, SoQtCursor cursor)"}, - { (char *)"SoQtComponent_isFullScreen", _wrap_SoQtComponent_isFullScreen, METH_VARARGS, (char *)"SoQtComponent_isFullScreen(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_setFullScreen", _wrap_SoQtComponent_setFullScreen, METH_VARARGS, (char *)"SoQtComponent_setFullScreen(SoQtComponent self, SbBool onoff) -> SbBool"}, - { (char *)"SoQtComponent_isVisible", _wrap_SoQtComponent_isVisible, METH_VARARGS, (char *)"SoQtComponent_isVisible(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_isTopLevelShell", _wrap_SoQtComponent_isTopLevelShell, METH_VARARGS, (char *)"SoQtComponent_isTopLevelShell(SoQtComponent self) -> SbBool"}, - { (char *)"SoQtComponent_getWidget", _wrap_SoQtComponent_getWidget, METH_VARARGS, (char *)"SoQtComponent_getWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getBaseWidget", _wrap_SoQtComponent_getBaseWidget, METH_VARARGS, (char *)"SoQtComponent_getBaseWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getShellWidget", _wrap_SoQtComponent_getShellWidget, METH_VARARGS, (char *)"SoQtComponent_getShellWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_getParentWidget", _wrap_SoQtComponent_getParentWidget, METH_VARARGS, (char *)"SoQtComponent_getParentWidget(SoQtComponent self) -> QWidget"}, - { (char *)"SoQtComponent_setSize", _wrap_SoQtComponent_setSize, METH_VARARGS, (char *)"SoQtComponent_setSize(SoQtComponent self, SbVec2s size)"}, - { (char *)"SoQtComponent_getSize", _wrap_SoQtComponent_getSize, METH_VARARGS, (char *)"SoQtComponent_getSize(SoQtComponent self) -> SbVec2s"}, - { (char *)"SoQtComponent_setTitle", _wrap_SoQtComponent_setTitle, METH_VARARGS, (char *)"SoQtComponent_setTitle(SoQtComponent self, char title)"}, - { (char *)"SoQtComponent_getTitle", _wrap_SoQtComponent_getTitle, METH_VARARGS, (char *)"SoQtComponent_getTitle(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_setIconTitle", _wrap_SoQtComponent_setIconTitle, METH_VARARGS, (char *)"SoQtComponent_setIconTitle(SoQtComponent self, char title)"}, - { (char *)"SoQtComponent_getIconTitle", _wrap_SoQtComponent_getIconTitle, METH_VARARGS, (char *)"SoQtComponent_getIconTitle(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_getWidgetName", _wrap_SoQtComponent_getWidgetName, METH_VARARGS, (char *)"SoQtComponent_getWidgetName(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_getClassName", _wrap_SoQtComponent_getClassName, METH_VARARGS, (char *)"SoQtComponent_getClassName(SoQtComponent self) -> char"}, - { (char *)"SoQtComponent_setWindowCloseCallback", _wrap_SoQtComponent_setWindowCloseCallback, METH_VARARGS, (char *)"\n" - "setWindowCloseCallback(SoQtComponentCB func, void user=None)\n" - "SoQtComponent_setWindowCloseCallback(SoQtComponent self, SoQtComponentCB func)\n" - ""}, - { (char *)"SoQtComponent_getComponent", _wrap_SoQtComponent_getComponent, METH_VARARGS, (char *)"SoQtComponent_getComponent(QWidget widget) -> SoQtComponent"}, - { (char *)"SoQtComponent_initClasses", _wrap_SoQtComponent_initClasses, METH_VARARGS, (char *)"SoQtComponent_initClasses()"}, - { (char *)"SoQtComponent_swigregister", SoQtComponent_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtGLWidget_initClass", _wrap_SoQtGLWidget_initClass, METH_VARARGS, (char *)"SoQtGLWidget_initClass()"}, - { (char *)"SoQtGLWidget_getClassTypeId", _wrap_SoQtGLWidget_getClassTypeId, METH_VARARGS, (char *)"SoQtGLWidget_getClassTypeId() -> SoType"}, - { (char *)"SoQtGLWidget_getTypeId", _wrap_SoQtGLWidget_getTypeId, METH_VARARGS, (char *)"SoQtGLWidget_getTypeId(SoQtGLWidget self) -> SoType"}, - { (char *)"SoQtGLWidget_setBorder", _wrap_SoQtGLWidget_setBorder, METH_VARARGS, (char *)"SoQtGLWidget_setBorder(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isBorder", _wrap_SoQtGLWidget_isBorder, METH_VARARGS, (char *)"SoQtGLWidget_isBorder(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setDoubleBuffer", _wrap_SoQtGLWidget_setDoubleBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setDoubleBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isDoubleBuffer", _wrap_SoQtGLWidget_isDoubleBuffer, METH_VARARGS, (char *)"SoQtGLWidget_isDoubleBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setDrawToFrontBufferEnable", _wrap_SoQtGLWidget_setDrawToFrontBufferEnable, METH_VARARGS, (char *)"SoQtGLWidget_setDrawToFrontBufferEnable(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isDrawToFrontBufferEnable", _wrap_SoQtGLWidget_isDrawToFrontBufferEnable, METH_VARARGS, (char *)"SoQtGLWidget_isDrawToFrontBufferEnable(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setQuadBufferStereo", _wrap_SoQtGLWidget_setQuadBufferStereo, METH_VARARGS, (char *)"SoQtGLWidget_setQuadBufferStereo(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isQuadBufferStereo", _wrap_SoQtGLWidget_isQuadBufferStereo, METH_VARARGS, (char *)"SoQtGLWidget_isQuadBufferStereo(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setAccumulationBuffer", _wrap_SoQtGLWidget_setAccumulationBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setAccumulationBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getAccumulationBuffer", _wrap_SoQtGLWidget_getAccumulationBuffer, METH_VARARGS, (char *)"SoQtGLWidget_getAccumulationBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setStencilBuffer", _wrap_SoQtGLWidget_setStencilBuffer, METH_VARARGS, (char *)"SoQtGLWidget_setStencilBuffer(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getStencilBuffer", _wrap_SoQtGLWidget_getStencilBuffer, METH_VARARGS, (char *)"SoQtGLWidget_getStencilBuffer(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setAlphaChannel", _wrap_SoQtGLWidget_setAlphaChannel, METH_VARARGS, (char *)"SoQtGLWidget_setAlphaChannel(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_getAlphaChannel", _wrap_SoQtGLWidget_getAlphaChannel, METH_VARARGS, (char *)"SoQtGLWidget_getAlphaChannel(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setOverlayRender", _wrap_SoQtGLWidget_setOverlayRender, METH_VARARGS, (char *)"SoQtGLWidget_setOverlayRender(SoQtGLWidget self, SbBool onoff)"}, - { (char *)"SoQtGLWidget_isOverlayRender", _wrap_SoQtGLWidget_isOverlayRender, METH_VARARGS, (char *)"SoQtGLWidget_isOverlayRender(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_setStealFocus", _wrap_SoQtGLWidget_setStealFocus, METH_VARARGS, (char *)"SoQtGLWidget_setStealFocus(SoQtGLWidget self, SbBool enable)"}, - { (char *)"SoQtGLWidget_isStealFocus", _wrap_SoQtGLWidget_isStealFocus, METH_VARARGS, (char *)"SoQtGLWidget_isStealFocus(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_getGLWidget", _wrap_SoQtGLWidget_getGLWidget, METH_VARARGS, (char *)"SoQtGLWidget_getGLWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_getNormalWidget", _wrap_SoQtGLWidget_getNormalWidget, METH_VARARGS, (char *)"SoQtGLWidget_getNormalWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_getOverlayWidget", _wrap_SoQtGLWidget_getOverlayWidget, METH_VARARGS, (char *)"SoQtGLWidget_getOverlayWidget(SoQtGLWidget self) -> QWidget"}, - { (char *)"SoQtGLWidget_hasOverlayGLArea", _wrap_SoQtGLWidget_hasOverlayGLArea, METH_VARARGS, (char *)"SoQtGLWidget_hasOverlayGLArea(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_hasNormalGLArea", _wrap_SoQtGLWidget_hasNormalGLArea, METH_VARARGS, (char *)"SoQtGLWidget_hasNormalGLArea(SoQtGLWidget self) -> SbBool"}, - { (char *)"SoQtGLWidget_getOverlayTransparentPixel", _wrap_SoQtGLWidget_getOverlayTransparentPixel, METH_VARARGS, (char *)"SoQtGLWidget_getOverlayTransparentPixel(SoQtGLWidget self) -> unsigned long"}, - { (char *)"SoQtGLWidget_getPointSizeLimits", _wrap_SoQtGLWidget_getPointSizeLimits, METH_VARARGS, (char *)"SoQtGLWidget_getPointSizeLimits(SoQtGLWidget self, SbVec2f range, float granularity)"}, - { (char *)"SoQtGLWidget_getLineWidthLimits", _wrap_SoQtGLWidget_getLineWidthLimits, METH_VARARGS, (char *)"SoQtGLWidget_getLineWidthLimits(SoQtGLWidget self, SbVec2f range, float granularity)"}, - { (char *)"SoQtGLWidget_swigregister", SoQtGLWidget_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtRenderArea_initClass", _wrap_SoQtRenderArea_initClass, METH_VARARGS, (char *)"SoQtRenderArea_initClass()"}, - { (char *)"SoQtRenderArea_getClassTypeId", _wrap_SoQtRenderArea_getClassTypeId, METH_VARARGS, (char *)"SoQtRenderArea_getClassTypeId() -> SoType"}, - { (char *)"SoQtRenderArea_getTypeId", _wrap_SoQtRenderArea_getTypeId, METH_VARARGS, (char *)"SoQtRenderArea_getTypeId(SoQtRenderArea self) -> SoType"}, - { (char *)"SoQtRenderArea_createInstance", _wrap_SoQtRenderArea_createInstance, METH_VARARGS, (char *)"SoQtRenderArea_createInstance() -> void"}, - { (char *)"new_SoQtRenderArea", _wrap_new_SoQtRenderArea, METH_VARARGS, (char *)"\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1, \n" - " SbBool mouseInput=1, SbBool keyboardInput=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1, \n" - " SbBool mouseInput=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtRenderArea(QWidget parent=None, char name=None)\n" - "SoQtRenderArea(QWidget parent=None)\n" - "new_SoQtRenderArea() -> SoQtRenderArea\n" - ""}, - { (char *)"delete_SoQtRenderArea", _wrap_delete_SoQtRenderArea, METH_VARARGS, (char *)"delete_SoQtRenderArea(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_setSceneGraph", _wrap_SoQtRenderArea_setSceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_setSceneGraph(SoQtRenderArea self, SoNode scene)"}, - { (char *)"SoQtRenderArea_getSceneGraph", _wrap_SoQtRenderArea_getSceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_getSceneGraph(SoQtRenderArea self) -> SoNode"}, - { (char *)"SoQtRenderArea_setOverlaySceneGraph", _wrap_SoQtRenderArea_setOverlaySceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_setOverlaySceneGraph(SoQtRenderArea self, SoNode scene)"}, - { (char *)"SoQtRenderArea_getOverlaySceneGraph", _wrap_SoQtRenderArea_getOverlaySceneGraph, METH_VARARGS, (char *)"SoQtRenderArea_getOverlaySceneGraph(SoQtRenderArea self) -> SoNode"}, - { (char *)"SoQtRenderArea_setBackgroundColor", _wrap_SoQtRenderArea_setBackgroundColor, METH_VARARGS, (char *)"SoQtRenderArea_setBackgroundColor(SoQtRenderArea self, SbColor color)"}, - { (char *)"SoQtRenderArea_getBackgroundColor", _wrap_SoQtRenderArea_getBackgroundColor, METH_VARARGS, (char *)"SoQtRenderArea_getBackgroundColor(SoQtRenderArea self) -> SbColor"}, - { (char *)"SoQtRenderArea_setBackgroundIndex", _wrap_SoQtRenderArea_setBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_setBackgroundIndex(SoQtRenderArea self, int idx)"}, - { (char *)"SoQtRenderArea_getBackgroundIndex", _wrap_SoQtRenderArea_getBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_getBackgroundIndex(SoQtRenderArea self) -> int"}, - { (char *)"SoQtRenderArea_setOverlayBackgroundIndex", _wrap_SoQtRenderArea_setOverlayBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayBackgroundIndex(SoQtRenderArea self, int idx)"}, - { (char *)"SoQtRenderArea_getOverlayBackgroundIndex", _wrap_SoQtRenderArea_getOverlayBackgroundIndex, METH_VARARGS, (char *)"SoQtRenderArea_getOverlayBackgroundIndex(SoQtRenderArea self) -> int"}, - { (char *)"SoQtRenderArea_setColorMap", _wrap_SoQtRenderArea_setColorMap, METH_VARARGS, (char *)"SoQtRenderArea_setColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"}, - { (char *)"SoQtRenderArea_setOverlayColorMap", _wrap_SoQtRenderArea_setOverlayColorMap, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayColorMap(SoQtRenderArea self, int start, int num, SbColor colors)"}, - { (char *)"SoQtRenderArea_setViewportRegion", _wrap_SoQtRenderArea_setViewportRegion, METH_VARARGS, (char *)"SoQtRenderArea_setViewportRegion(SoQtRenderArea self, SbViewportRegion newRegion)"}, - { (char *)"SoQtRenderArea_getViewportRegion", _wrap_SoQtRenderArea_getViewportRegion, METH_VARARGS, (char *)"SoQtRenderArea_getViewportRegion(SoQtRenderArea self) -> SbViewportRegion"}, - { (char *)"SoQtRenderArea_setTransparencyType", _wrap_SoQtRenderArea_setTransparencyType, METH_VARARGS, (char *)"SoQtRenderArea_setTransparencyType(SoQtRenderArea self, TransparencyType type)"}, - { (char *)"SoQtRenderArea_getTransparencyType", _wrap_SoQtRenderArea_getTransparencyType, METH_VARARGS, (char *)"SoQtRenderArea_getTransparencyType(SoQtRenderArea self) -> TransparencyType"}, - { (char *)"SoQtRenderArea_setAntialiasing", _wrap_SoQtRenderArea_setAntialiasing, METH_VARARGS, (char *)"SoQtRenderArea_setAntialiasing(SoQtRenderArea self, SbBool smoothing, int numPasses)"}, - { (char *)"SoQtRenderArea_getAntialiasing", _wrap_SoQtRenderArea_getAntialiasing, METH_VARARGS, (char *)"SoQtRenderArea_getAntialiasing(SoQtRenderArea self, SbBool smoothing, int numPasses)"}, - { (char *)"SoQtRenderArea_setClearBeforeRender", _wrap_SoQtRenderArea_setClearBeforeRender, METH_VARARGS, (char *)"\n" - "setClearBeforeRender(SbBool enable, SbBool zbEnable=1)\n" - "SoQtRenderArea_setClearBeforeRender(SoQtRenderArea self, SbBool enable)\n" - ""}, - { (char *)"SoQtRenderArea_isClearBeforeRender", _wrap_SoQtRenderArea_isClearBeforeRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearBeforeRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_isClearZBufferBeforeRender", _wrap_SoQtRenderArea_isClearZBufferBeforeRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearZBufferBeforeRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setClearBeforeOverlayRender", _wrap_SoQtRenderArea_setClearBeforeOverlayRender, METH_VARARGS, (char *)"SoQtRenderArea_setClearBeforeOverlayRender(SoQtRenderArea self, SbBool enable)"}, - { (char *)"SoQtRenderArea_isClearBeforeOverlayRender", _wrap_SoQtRenderArea_isClearBeforeOverlayRender, METH_VARARGS, (char *)"SoQtRenderArea_isClearBeforeOverlayRender(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setAutoRedraw", _wrap_SoQtRenderArea_setAutoRedraw, METH_VARARGS, (char *)"SoQtRenderArea_setAutoRedraw(SoQtRenderArea self, SbBool enable)"}, - { (char *)"SoQtRenderArea_isAutoRedraw", _wrap_SoQtRenderArea_isAutoRedraw, METH_VARARGS, (char *)"SoQtRenderArea_isAutoRedraw(SoQtRenderArea self) -> SbBool"}, - { (char *)"SoQtRenderArea_setRedrawPriority", _wrap_SoQtRenderArea_setRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_setRedrawPriority(SoQtRenderArea self, uint32_t priority)"}, - { (char *)"SoQtRenderArea_getRedrawPriority", _wrap_SoQtRenderArea_getRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_getRedrawPriority(SoQtRenderArea self) -> uint32_t"}, - { (char *)"SoQtRenderArea_getDefaultRedrawPriority", _wrap_SoQtRenderArea_getDefaultRedrawPriority, METH_VARARGS, (char *)"SoQtRenderArea_getDefaultRedrawPriority() -> uint32_t"}, - { (char *)"SoQtRenderArea_render", _wrap_SoQtRenderArea_render, METH_VARARGS, (char *)"SoQtRenderArea_render(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_renderOverlay", _wrap_SoQtRenderArea_renderOverlay, METH_VARARGS, (char *)"SoQtRenderArea_renderOverlay(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_scheduleRedraw", _wrap_SoQtRenderArea_scheduleRedraw, METH_VARARGS, (char *)"SoQtRenderArea_scheduleRedraw(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_scheduleOverlayRedraw", _wrap_SoQtRenderArea_scheduleOverlayRedraw, METH_VARARGS, (char *)"SoQtRenderArea_scheduleOverlayRedraw(SoQtRenderArea self)"}, - { (char *)"SoQtRenderArea_redrawOnSelectionChange", _wrap_SoQtRenderArea_redrawOnSelectionChange, METH_VARARGS, (char *)"SoQtRenderArea_redrawOnSelectionChange(SoQtRenderArea self, SoSelection selection)"}, - { (char *)"SoQtRenderArea_redrawOverlayOnSelectionChange", _wrap_SoQtRenderArea_redrawOverlayOnSelectionChange, METH_VARARGS, (char *)"SoQtRenderArea_redrawOverlayOnSelectionChange(SoQtRenderArea self, SoSelection selection)"}, - { (char *)"SoQtRenderArea_setSceneManager", _wrap_SoQtRenderArea_setSceneManager, METH_VARARGS, (char *)"SoQtRenderArea_setSceneManager(SoQtRenderArea self, SoSceneManager manager)"}, - { (char *)"SoQtRenderArea_getSceneManager", _wrap_SoQtRenderArea_getSceneManager, METH_VARARGS, (char *)"SoQtRenderArea_getSceneManager(SoQtRenderArea self) -> SoSceneManager"}, - { (char *)"SoQtRenderArea_setOverlaySceneManager", _wrap_SoQtRenderArea_setOverlaySceneManager, METH_VARARGS, (char *)"SoQtRenderArea_setOverlaySceneManager(SoQtRenderArea self, SoSceneManager manager)"}, - { (char *)"SoQtRenderArea_getOverlaySceneManager", _wrap_SoQtRenderArea_getOverlaySceneManager, METH_VARARGS, (char *)"SoQtRenderArea_getOverlaySceneManager(SoQtRenderArea self) -> SoSceneManager"}, - { (char *)"SoQtRenderArea_setGLRenderAction", _wrap_SoQtRenderArea_setGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_setGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"}, - { (char *)"SoQtRenderArea_getGLRenderAction", _wrap_SoQtRenderArea_getGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_getGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"}, - { (char *)"SoQtRenderArea_setOverlayGLRenderAction", _wrap_SoQtRenderArea_setOverlayGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_setOverlayGLRenderAction(SoQtRenderArea self, SoGLRenderAction action)"}, - { (char *)"SoQtRenderArea_getOverlayGLRenderAction", _wrap_SoQtRenderArea_getOverlayGLRenderAction, METH_VARARGS, (char *)"SoQtRenderArea_getOverlayGLRenderAction(SoQtRenderArea self) -> SoGLRenderAction"}, - { (char *)"SoQtRenderArea_sendSoEvent", _wrap_SoQtRenderArea_sendSoEvent, METH_VARARGS, (char *)"SoQtRenderArea_sendSoEvent(SoQtRenderArea self, SoEvent event) -> SbBool"}, - { (char *)"SoQtRenderArea_registerDevice", _wrap_SoQtRenderArea_registerDevice, METH_VARARGS, (char *)"SoQtRenderArea_registerDevice(SoQtRenderArea self, SoQtDevice device)"}, - { (char *)"SoQtRenderArea_unregisterDevice", _wrap_SoQtRenderArea_unregisterDevice, METH_VARARGS, (char *)"SoQtRenderArea_unregisterDevice(SoQtRenderArea self, SoQtDevice device)"}, - { (char *)"SoQtRenderArea_setEventCallback", _wrap_SoQtRenderArea_setEventCallback, METH_VARARGS, (char *)"\n" - "setEventCallback(SoQtRenderAreaEventCB func, void user=None)\n" - "setEventCallback(SoQtRenderAreaEventCB func)\n" - "setEventCallback(PyObject pyfunc, PyObject user=None)\n" - "SoQtRenderArea_setEventCallback(SoQtRenderArea self, PyObject pyfunc)\n" - ""}, - { (char *)"SoQtRenderArea_swigregister", SoQtRenderArea_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtViewer_initClass", _wrap_SoQtViewer_initClass, METH_VARARGS, (char *)"SoQtViewer_initClass()"}, - { (char *)"SoQtViewer_getClassTypeId", _wrap_SoQtViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtViewer_getTypeId", _wrap_SoQtViewer_getTypeId, METH_VARARGS, (char *)"SoQtViewer_getTypeId(SoQtViewer self) -> SoType"}, - { (char *)"SoQtViewer_setCamera", _wrap_SoQtViewer_setCamera, METH_VARARGS, (char *)"SoQtViewer_setCamera(SoQtViewer self, SoCamera camera)"}, - { (char *)"SoQtViewer_getCamera", _wrap_SoQtViewer_getCamera, METH_VARARGS, (char *)"SoQtViewer_getCamera(SoQtViewer self) -> SoCamera"}, - { (char *)"SoQtViewer_setCameraType", _wrap_SoQtViewer_setCameraType, METH_VARARGS, (char *)"SoQtViewer_setCameraType(SoQtViewer self, SoType type)"}, - { (char *)"SoQtViewer_getCameraType", _wrap_SoQtViewer_getCameraType, METH_VARARGS, (char *)"SoQtViewer_getCameraType(SoQtViewer self) -> SoType"}, - { (char *)"SoQtViewer_toggleCameraType", _wrap_SoQtViewer_toggleCameraType, METH_VARARGS, (char *)"SoQtViewer_toggleCameraType(SoQtViewer self)"}, - { (char *)"SoQtViewer_viewAll", _wrap_SoQtViewer_viewAll, METH_VARARGS, (char *)"SoQtViewer_viewAll(SoQtViewer self)"}, - { (char *)"SoQtViewer_saveHomePosition", _wrap_SoQtViewer_saveHomePosition, METH_VARARGS, (char *)"SoQtViewer_saveHomePosition(SoQtViewer self)"}, - { (char *)"SoQtViewer_resetToHomePosition", _wrap_SoQtViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtViewer_resetToHomePosition(SoQtViewer self)"}, - { (char *)"SoQtViewer_setHeadlight", _wrap_SoQtViewer_setHeadlight, METH_VARARGS, (char *)"SoQtViewer_setHeadlight(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isHeadlight", _wrap_SoQtViewer_isHeadlight, METH_VARARGS, (char *)"SoQtViewer_isHeadlight(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_getHeadlight", _wrap_SoQtViewer_getHeadlight, METH_VARARGS, (char *)"SoQtViewer_getHeadlight(SoQtViewer self) -> SoDirectionalLight"}, - { (char *)"SoQtViewer_setDrawStyle", _wrap_SoQtViewer_setDrawStyle, METH_VARARGS, (char *)"SoQtViewer_setDrawStyle(SoQtViewer self, DrawType type, DrawStyle style)"}, - { (char *)"SoQtViewer_getDrawStyle", _wrap_SoQtViewer_getDrawStyle, METH_VARARGS, (char *)"SoQtViewer_getDrawStyle(SoQtViewer self, DrawType type) -> DrawStyle"}, - { (char *)"SoQtViewer_setBufferingType", _wrap_SoQtViewer_setBufferingType, METH_VARARGS, (char *)"SoQtViewer_setBufferingType(SoQtViewer self, BufferType type)"}, - { (char *)"SoQtViewer_getBufferingType", _wrap_SoQtViewer_getBufferingType, METH_VARARGS, (char *)"SoQtViewer_getBufferingType(SoQtViewer self) -> BufferType"}, - { (char *)"SoQtViewer_setViewing", _wrap_SoQtViewer_setViewing, METH_VARARGS, (char *)"SoQtViewer_setViewing(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isViewing", _wrap_SoQtViewer_isViewing, METH_VARARGS, (char *)"SoQtViewer_isViewing(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setCursorEnabled", _wrap_SoQtViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtViewer_setCursorEnabled(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isCursorEnabled", _wrap_SoQtViewer_isCursorEnabled, METH_VARARGS, (char *)"SoQtViewer_isCursorEnabled(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setAutoClipping", _wrap_SoQtViewer_setAutoClipping, METH_VARARGS, (char *)"SoQtViewer_setAutoClipping(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isAutoClipping", _wrap_SoQtViewer_isAutoClipping, METH_VARARGS, (char *)"SoQtViewer_isAutoClipping(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setAutoClippingStrategy", _wrap_SoQtViewer_setAutoClippingStrategy, METH_VARARGS, (char *)"\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None, \n" - " void cbuserdata=None)\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6, SoQtAutoClippingCB cb=None)\n" - "setAutoClippingStrategy(AutoClippingStrategy strategy, float value=0.6)\n" - "SoQtViewer_setAutoClippingStrategy(SoQtViewer self, AutoClippingStrategy strategy)\n" - ""}, - { (char *)"SoQtViewer_setStereoViewing", _wrap_SoQtViewer_setStereoViewing, METH_VARARGS, (char *)"SoQtViewer_setStereoViewing(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isStereoViewing", _wrap_SoQtViewer_isStereoViewing, METH_VARARGS, (char *)"SoQtViewer_isStereoViewing(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setStereoOffset", _wrap_SoQtViewer_setStereoOffset, METH_VARARGS, (char *)"SoQtViewer_setStereoOffset(SoQtViewer self, float dist)"}, - { (char *)"SoQtViewer_getStereoOffset", _wrap_SoQtViewer_getStereoOffset, METH_VARARGS, (char *)"SoQtViewer_getStereoOffset(SoQtViewer self) -> float"}, - { (char *)"SoQtViewer_setStereoType", _wrap_SoQtViewer_setStereoType, METH_VARARGS, (char *)"SoQtViewer_setStereoType(SoQtViewer self, StereoType s) -> SbBool"}, - { (char *)"SoQtViewer_getStereoType", _wrap_SoQtViewer_getStereoType, METH_VARARGS, (char *)"SoQtViewer_getStereoType(SoQtViewer self) -> StereoType"}, - { (char *)"SoQtViewer_setAnaglyphStereoColorMasks", _wrap_SoQtViewer_setAnaglyphStereoColorMasks, METH_VARARGS, (char *)"SoQtViewer_setAnaglyphStereoColorMasks(SoQtViewer self, SbBool left, SbBool right)"}, - { (char *)"SoQtViewer_getAnaglyphStereoColorMasks", _wrap_SoQtViewer_getAnaglyphStereoColorMasks, METH_VARARGS, (char *)"SoQtViewer_getAnaglyphStereoColorMasks(SoQtViewer self, SbBool left, SbBool right)"}, - { (char *)"SoQtViewer_setDetailSeek", _wrap_SoQtViewer_setDetailSeek, METH_VARARGS, (char *)"SoQtViewer_setDetailSeek(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_isDetailSeek", _wrap_SoQtViewer_isDetailSeek, METH_VARARGS, (char *)"SoQtViewer_isDetailSeek(SoQtViewer self) -> SbBool"}, - { (char *)"SoQtViewer_setSeekTime", _wrap_SoQtViewer_setSeekTime, METH_VARARGS, (char *)"SoQtViewer_setSeekTime(SoQtViewer self, float seconds)"}, - { (char *)"SoQtViewer_getSeekTime", _wrap_SoQtViewer_getSeekTime, METH_VARARGS, (char *)"SoQtViewer_getSeekTime(SoQtViewer self) -> float"}, - { (char *)"SoQtViewer_addStartCallback", _wrap_SoQtViewer_addStartCallback, METH_VARARGS, (char *)"\n" - "addStartCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_addStartCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_addFinishCallback", _wrap_SoQtViewer_addFinishCallback, METH_VARARGS, (char *)"\n" - "addFinishCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_addFinishCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_removeStartCallback", _wrap_SoQtViewer_removeStartCallback, METH_VARARGS, (char *)"\n" - "removeStartCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_removeStartCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_removeFinishCallback", _wrap_SoQtViewer_removeFinishCallback, METH_VARARGS, (char *)"\n" - "removeFinishCallback(SoQtViewerCB func, void data=None)\n" - "SoQtViewer_removeFinishCallback(SoQtViewer self, SoQtViewerCB func)\n" - ""}, - { (char *)"SoQtViewer_setWireframeOverlayColor", _wrap_SoQtViewer_setWireframeOverlayColor, METH_VARARGS, (char *)"SoQtViewer_setWireframeOverlayColor(SoQtViewer self, SbColor color)"}, - { (char *)"SoQtViewer_getWireframeOverlayColor", _wrap_SoQtViewer_getWireframeOverlayColor, METH_VARARGS, (char *)"SoQtViewer_getWireframeOverlayColor(SoQtViewer self) -> SbColor"}, - { (char *)"SoQtViewer_setDoubleBuffer", _wrap_SoQtViewer_setDoubleBuffer, METH_VARARGS, (char *)"SoQtViewer_setDoubleBuffer(SoQtViewer self, SbBool enable)"}, - { (char *)"SoQtViewer_setSceneGraph", _wrap_SoQtViewer_setSceneGraph, METH_VARARGS, (char *)"SoQtViewer_setSceneGraph(SoQtViewer self, SoNode root)"}, - { (char *)"SoQtViewer_getSceneGraph", _wrap_SoQtViewer_getSceneGraph, METH_VARARGS, (char *)"SoQtViewer_getSceneGraph(SoQtViewer self) -> SoNode"}, - { (char *)"SoQtViewer_swigregister", SoQtViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtFullViewer_initClass", _wrap_SoQtFullViewer_initClass, METH_VARARGS, (char *)"SoQtFullViewer_initClass()"}, - { (char *)"SoQtFullViewer_getClassTypeId", _wrap_SoQtFullViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtFullViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtFullViewer_getTypeId", _wrap_SoQtFullViewer_getTypeId, METH_VARARGS, (char *)"SoQtFullViewer_getTypeId(SoQtFullViewer self) -> SoType"}, - { (char *)"SoQtFullViewer_setDecoration", _wrap_SoQtFullViewer_setDecoration, METH_VARARGS, (char *)"SoQtFullViewer_setDecoration(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_isDecoration", _wrap_SoQtFullViewer_isDecoration, METH_VARARGS, (char *)"SoQtFullViewer_isDecoration(SoQtFullViewer self) -> SbBool"}, - { (char *)"SoQtFullViewer_setPopupMenuEnabled", _wrap_SoQtFullViewer_setPopupMenuEnabled, METH_VARARGS, (char *)"SoQtFullViewer_setPopupMenuEnabled(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_isPopupMenuEnabled", _wrap_SoQtFullViewer_isPopupMenuEnabled, METH_VARARGS, (char *)"SoQtFullViewer_isPopupMenuEnabled(SoQtFullViewer self) -> SbBool"}, - { (char *)"SoQtFullViewer_getAppPushButtonParent", _wrap_SoQtFullViewer_getAppPushButtonParent, METH_VARARGS, (char *)"SoQtFullViewer_getAppPushButtonParent(SoQtFullViewer self) -> QWidget"}, - { (char *)"SoQtFullViewer_addAppPushButton", _wrap_SoQtFullViewer_addAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_addAppPushButton(SoQtFullViewer self, QWidget newButton)"}, - { (char *)"SoQtFullViewer_insertAppPushButton", _wrap_SoQtFullViewer_insertAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_insertAppPushButton(SoQtFullViewer self, QWidget newButton, int index)"}, - { (char *)"SoQtFullViewer_removeAppPushButton", _wrap_SoQtFullViewer_removeAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_removeAppPushButton(SoQtFullViewer self, QWidget oldButton)"}, - { (char *)"SoQtFullViewer_findAppPushButton", _wrap_SoQtFullViewer_findAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_findAppPushButton(SoQtFullViewer self, QWidget oldButton) -> int"}, - { (char *)"SoQtFullViewer_lengthAppPushButton", _wrap_SoQtFullViewer_lengthAppPushButton, METH_VARARGS, (char *)"SoQtFullViewer_lengthAppPushButton(SoQtFullViewer self) -> int"}, - { (char *)"SoQtFullViewer_getRenderAreaWidget", _wrap_SoQtFullViewer_getRenderAreaWidget, METH_VARARGS, (char *)"SoQtFullViewer_getRenderAreaWidget(SoQtFullViewer self) -> QWidget"}, - { (char *)"SoQtFullViewer_setViewing", _wrap_SoQtFullViewer_setViewing, METH_VARARGS, (char *)"SoQtFullViewer_setViewing(SoQtFullViewer self, SbBool on)"}, - { (char *)"SoQtFullViewer_setComponentCursor", _wrap_SoQtFullViewer_setComponentCursor, METH_VARARGS, (char *)"SoQtFullViewer_setComponentCursor(SoQtFullViewer self, SoQtCursor cursor)"}, - { (char *)"SoQtFullViewer_swigregister", SoQtFullViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtPlaneViewer_initClass", _wrap_SoQtPlaneViewer_initClass, METH_VARARGS, (char *)"SoQtPlaneViewer_initClass()"}, - { (char *)"SoQtPlaneViewer_getClassTypeId", _wrap_SoQtPlaneViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtPlaneViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtPlaneViewer_getTypeId", _wrap_SoQtPlaneViewer_getTypeId, METH_VARARGS, (char *)"SoQtPlaneViewer_getTypeId(SoQtPlaneViewer self) -> SoType"}, - { (char *)"SoQtPlaneViewer_createInstance", _wrap_SoQtPlaneViewer_createInstance, METH_VARARGS, (char *)"SoQtPlaneViewer_createInstance() -> void"}, - { (char *)"new_SoQtPlaneViewer", _wrap_new_SoQtPlaneViewer, METH_VARARGS, (char *)"\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtPlaneViewer(QWidget parent=None, char name=None)\n" - "SoQtPlaneViewer(QWidget parent=None)\n" - "new_SoQtPlaneViewer() -> SoQtPlaneViewer\n" - ""}, - { (char *)"delete_SoQtPlaneViewer", _wrap_delete_SoQtPlaneViewer, METH_VARARGS, (char *)"delete_SoQtPlaneViewer(SoQtPlaneViewer self)"}, - { (char *)"SoQtPlaneViewer_setViewing", _wrap_SoQtPlaneViewer_setViewing, METH_VARARGS, (char *)"SoQtPlaneViewer_setViewing(SoQtPlaneViewer self, SbBool enable)"}, - { (char *)"SoQtPlaneViewer_setCamera", _wrap_SoQtPlaneViewer_setCamera, METH_VARARGS, (char *)"SoQtPlaneViewer_setCamera(SoQtPlaneViewer self, SoCamera camera)"}, - { (char *)"SoQtPlaneViewer_setCursorEnabled", _wrap_SoQtPlaneViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtPlaneViewer_setCursorEnabled(SoQtPlaneViewer self, SbBool enable)"}, - { (char *)"SoQtPlaneViewer_swigregister", SoQtPlaneViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtExaminerViewer_initClass", _wrap_SoQtExaminerViewer_initClass, METH_VARARGS, (char *)"SoQtExaminerViewer_initClass()"}, - { (char *)"SoQtExaminerViewer_getClassTypeId", _wrap_SoQtExaminerViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtExaminerViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtExaminerViewer_getTypeId", _wrap_SoQtExaminerViewer_getTypeId, METH_VARARGS, (char *)"SoQtExaminerViewer_getTypeId(SoQtExaminerViewer self) -> SoType"}, - { (char *)"SoQtExaminerViewer_createInstance", _wrap_SoQtExaminerViewer_createInstance, METH_VARARGS, (char *)"SoQtExaminerViewer_createInstance() -> void"}, - { (char *)"new_SoQtExaminerViewer", _wrap_new_SoQtExaminerViewer, METH_VARARGS, (char *)"\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtExaminerViewer(QWidget parent=None, char name=None)\n" - "SoQtExaminerViewer(QWidget parent=None)\n" - "new_SoQtExaminerViewer() -> SoQtExaminerViewer\n" - ""}, - { (char *)"delete_SoQtExaminerViewer", _wrap_delete_SoQtExaminerViewer, METH_VARARGS, (char *)"delete_SoQtExaminerViewer(SoQtExaminerViewer self)"}, - { (char *)"SoQtExaminerViewer_setAnimationEnabled", _wrap_SoQtExaminerViewer_setAnimationEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_setAnimationEnabled(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_isAnimationEnabled", _wrap_SoQtExaminerViewer_isAnimationEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_isAnimationEnabled(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_stopAnimating", _wrap_SoQtExaminerViewer_stopAnimating, METH_VARARGS, (char *)"SoQtExaminerViewer_stopAnimating(SoQtExaminerViewer self)"}, - { (char *)"SoQtExaminerViewer_isAnimating", _wrap_SoQtExaminerViewer_isAnimating, METH_VARARGS, (char *)"SoQtExaminerViewer_isAnimating(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_setFeedbackVisibility", _wrap_SoQtExaminerViewer_setFeedbackVisibility, METH_VARARGS, (char *)"SoQtExaminerViewer_setFeedbackVisibility(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_isFeedbackVisible", _wrap_SoQtExaminerViewer_isFeedbackVisible, METH_VARARGS, (char *)"SoQtExaminerViewer_isFeedbackVisible(SoQtExaminerViewer self) -> SbBool"}, - { (char *)"SoQtExaminerViewer_setFeedbackSize", _wrap_SoQtExaminerViewer_setFeedbackSize, METH_VARARGS, (char *)"SoQtExaminerViewer_setFeedbackSize(SoQtExaminerViewer self, int size)"}, - { (char *)"SoQtExaminerViewer_getFeedbackSize", _wrap_SoQtExaminerViewer_getFeedbackSize, METH_VARARGS, (char *)"SoQtExaminerViewer_getFeedbackSize(SoQtExaminerViewer self) -> int"}, - { (char *)"SoQtExaminerViewer_setViewing", _wrap_SoQtExaminerViewer_setViewing, METH_VARARGS, (char *)"SoQtExaminerViewer_setViewing(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_setCamera", _wrap_SoQtExaminerViewer_setCamera, METH_VARARGS, (char *)"SoQtExaminerViewer_setCamera(SoQtExaminerViewer self, SoCamera camera)"}, - { (char *)"SoQtExaminerViewer_setCursorEnabled", _wrap_SoQtExaminerViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtExaminerViewer_setCursorEnabled(SoQtExaminerViewer self, SbBool enable)"}, - { (char *)"SoQtExaminerViewer_swigregister", SoQtExaminerViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtConstrainedViewer_initClass", _wrap_SoQtConstrainedViewer_initClass, METH_VARARGS, (char *)"SoQtConstrainedViewer_initClass()"}, - { (char *)"SoQtConstrainedViewer_getClassTypeId", _wrap_SoQtConstrainedViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtConstrainedViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtConstrainedViewer_getTypeId", _wrap_SoQtConstrainedViewer_getTypeId, METH_VARARGS, (char *)"SoQtConstrainedViewer_getTypeId(SoQtConstrainedViewer self) -> SoType"}, - { (char *)"SoQtConstrainedViewer_setUpDirection", _wrap_SoQtConstrainedViewer_setUpDirection, METH_VARARGS, (char *)"SoQtConstrainedViewer_setUpDirection(SoQtConstrainedViewer self, SbVec3f dir)"}, - { (char *)"SoQtConstrainedViewer_getUpDirection", _wrap_SoQtConstrainedViewer_getUpDirection, METH_VARARGS, (char *)"SoQtConstrainedViewer_getUpDirection(SoQtConstrainedViewer self) -> SbVec3f"}, - { (char *)"SoQtConstrainedViewer_setCamera", _wrap_SoQtConstrainedViewer_setCamera, METH_VARARGS, (char *)"SoQtConstrainedViewer_setCamera(SoQtConstrainedViewer self, SoCamera newcam)"}, - { (char *)"SoQtConstrainedViewer_saveHomePosition", _wrap_SoQtConstrainedViewer_saveHomePosition, METH_VARARGS, (char *)"SoQtConstrainedViewer_saveHomePosition(SoQtConstrainedViewer self)"}, - { (char *)"SoQtConstrainedViewer_resetToHomePosition", _wrap_SoQtConstrainedViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtConstrainedViewer_resetToHomePosition(SoQtConstrainedViewer self)"}, - { (char *)"SoQtConstrainedViewer_swigregister", SoQtConstrainedViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtFlyViewer_initClass", _wrap_SoQtFlyViewer_initClass, METH_VARARGS, (char *)"SoQtFlyViewer_initClass()"}, - { (char *)"SoQtFlyViewer_getClassTypeId", _wrap_SoQtFlyViewer_getClassTypeId, METH_VARARGS, (char *)"SoQtFlyViewer_getClassTypeId() -> SoType"}, - { (char *)"SoQtFlyViewer_getTypeId", _wrap_SoQtFlyViewer_getTypeId, METH_VARARGS, (char *)"SoQtFlyViewer_getTypeId(SoQtFlyViewer self) -> SoType"}, - { (char *)"SoQtFlyViewer_createInstance", _wrap_SoQtFlyViewer_createInstance, METH_VARARGS, (char *)"SoQtFlyViewer_createInstance() -> void"}, - { (char *)"new_SoQtFlyViewer", _wrap_new_SoQtFlyViewer, METH_VARARGS, (char *)"\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL, Type type=BROWSER)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1, \n" - " BuildFlag flag=BUILD_ALL)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None, SbBool embed=1)\n" - "SoQtFlyViewer(QWidget parent=None, char name=None)\n" - "SoQtFlyViewer(QWidget parent=None)\n" - "new_SoQtFlyViewer() -> SoQtFlyViewer\n" - ""}, - { (char *)"delete_SoQtFlyViewer", _wrap_delete_SoQtFlyViewer, METH_VARARGS, (char *)"delete_SoQtFlyViewer(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_setViewing", _wrap_SoQtFlyViewer_setViewing, METH_VARARGS, (char *)"SoQtFlyViewer_setViewing(SoQtFlyViewer self, SbBool enable)"}, - { (char *)"SoQtFlyViewer_viewAll", _wrap_SoQtFlyViewer_viewAll, METH_VARARGS, (char *)"SoQtFlyViewer_viewAll(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_resetToHomePosition", _wrap_SoQtFlyViewer_resetToHomePosition, METH_VARARGS, (char *)"SoQtFlyViewer_resetToHomePosition(SoQtFlyViewer self)"}, - { (char *)"SoQtFlyViewer_setCamera", _wrap_SoQtFlyViewer_setCamera, METH_VARARGS, (char *)"SoQtFlyViewer_setCamera(SoQtFlyViewer self, SoCamera camera)"}, - { (char *)"SoQtFlyViewer_setCursorEnabled", _wrap_SoQtFlyViewer_setCursorEnabled, METH_VARARGS, (char *)"SoQtFlyViewer_setCursorEnabled(SoQtFlyViewer self, SbBool enable)"}, - { (char *)"SoQtFlyViewer_setCameraType", _wrap_SoQtFlyViewer_setCameraType, METH_VARARGS, (char *)"SoQtFlyViewer_setCameraType(SoQtFlyViewer self, SoType type)"}, - { (char *)"SoQtFlyViewer_swigregister", SoQtFlyViewer_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtPopupMenu_createInstance", _wrap_SoQtPopupMenu_createInstance, METH_VARARGS, (char *)"SoQtPopupMenu_createInstance() -> SoQtPopupMenu"}, - { (char *)"delete_SoQtPopupMenu", _wrap_delete_SoQtPopupMenu, METH_VARARGS, (char *)"delete_SoQtPopupMenu(SoQtPopupMenu self)"}, - { (char *)"SoQtPopupMenu_newMenu", _wrap_SoQtPopupMenu_newMenu, METH_VARARGS, (char *)"\n" - "newMenu(char name, int menuid=-1) -> int\n" - "SoQtPopupMenu_newMenu(SoQtPopupMenu self, char name) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getMenu", _wrap_SoQtPopupMenu_getMenu, METH_VARARGS, (char *)"SoQtPopupMenu_getMenu(SoQtPopupMenu self, char name) -> int"}, - { (char *)"SoQtPopupMenu_setMenuTitle", _wrap_SoQtPopupMenu_setMenuTitle, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuTitle(SoQtPopupMenu self, int id, char title)"}, - { (char *)"SoQtPopupMenu_getMenuTitle", _wrap_SoQtPopupMenu_getMenuTitle, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuTitle(SoQtPopupMenu self, int id) -> char"}, - { (char *)"SoQtPopupMenu_newMenuItem", _wrap_SoQtPopupMenu_newMenuItem, METH_VARARGS, (char *)"\n" - "newMenuItem(char name, int itemid=-1) -> int\n" - "SoQtPopupMenu_newMenuItem(SoQtPopupMenu self, char name) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getMenuItem", _wrap_SoQtPopupMenu_getMenuItem, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItem(SoQtPopupMenu self, char name) -> int"}, - { (char *)"SoQtPopupMenu_setMenuItemTitle", _wrap_SoQtPopupMenu_setMenuItemTitle, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemTitle(SoQtPopupMenu self, int itemid, char title)"}, - { (char *)"SoQtPopupMenu_getMenuItemTitle", _wrap_SoQtPopupMenu_getMenuItemTitle, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemTitle(SoQtPopupMenu self, int itemid) -> char"}, - { (char *)"SoQtPopupMenu_setMenuItemEnabled", _wrap_SoQtPopupMenu_setMenuItemEnabled, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemEnabled(SoQtPopupMenu self, int itemid, SbBool enabled)"}, - { (char *)"SoQtPopupMenu_getMenuItemEnabled", _wrap_SoQtPopupMenu_getMenuItemEnabled, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemEnabled(SoQtPopupMenu self, int itemid) -> SbBool"}, - { (char *)"SoQtPopupMenu_setMenuItemMarked", _wrap_SoQtPopupMenu_setMenuItemMarked, METH_VARARGS, (char *)"SoQtPopupMenu_setMenuItemMarked(SoQtPopupMenu self, int itemid, SbBool marked)"}, - { (char *)"SoQtPopupMenu_getMenuItemMarked", _wrap_SoQtPopupMenu_getMenuItemMarked, METH_VARARGS, (char *)"SoQtPopupMenu_getMenuItemMarked(SoQtPopupMenu self, int itemid) -> SbBool"}, - { (char *)"SoQtPopupMenu_addMenu", _wrap_SoQtPopupMenu_addMenu, METH_VARARGS, (char *)"\n" - "addMenu(int menuid, int submenuid, int pos=-1)\n" - "SoQtPopupMenu_addMenu(SoQtPopupMenu self, int menuid, int submenuid)\n" - ""}, - { (char *)"SoQtPopupMenu_addMenuItem", _wrap_SoQtPopupMenu_addMenuItem, METH_VARARGS, (char *)"\n" - "addMenuItem(int menuid, int itemid, int pos=-1)\n" - "SoQtPopupMenu_addMenuItem(SoQtPopupMenu self, int menuid, int itemid)\n" - ""}, - { (char *)"SoQtPopupMenu_addSeparator", _wrap_SoQtPopupMenu_addSeparator, METH_VARARGS, (char *)"\n" - "addSeparator(int menuid, int pos=-1)\n" - "SoQtPopupMenu_addSeparator(SoQtPopupMenu self, int menuid)\n" - ""}, - { (char *)"SoQtPopupMenu_removeMenu", _wrap_SoQtPopupMenu_removeMenu, METH_VARARGS, (char *)"SoQtPopupMenu_removeMenu(SoQtPopupMenu self, int menuid)"}, - { (char *)"SoQtPopupMenu_removeMenuItem", _wrap_SoQtPopupMenu_removeMenuItem, METH_VARARGS, (char *)"SoQtPopupMenu_removeMenuItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_popUp", _wrap_SoQtPopupMenu_popUp, METH_VARARGS, (char *)"SoQtPopupMenu_popUp(SoQtPopupMenu self, QWidget inside, int x, int y)"}, - { (char *)"SoQtPopupMenu_newRadioGroup", _wrap_SoQtPopupMenu_newRadioGroup, METH_VARARGS, (char *)"\n" - "newRadioGroup(int groupid=-1) -> int\n" - "SoQtPopupMenu_newRadioGroup(SoQtPopupMenu self) -> int\n" - ""}, - { (char *)"SoQtPopupMenu_getRadioGroup", _wrap_SoQtPopupMenu_getRadioGroup, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroup(SoQtPopupMenu self, int itemid) -> int"}, - { (char *)"SoQtPopupMenu_getRadioGroupSize", _wrap_SoQtPopupMenu_getRadioGroupSize, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroupSize(SoQtPopupMenu self, int groupid) -> int"}, - { (char *)"SoQtPopupMenu_addRadioGroupItem", _wrap_SoQtPopupMenu_addRadioGroupItem, METH_VARARGS, (char *)"SoQtPopupMenu_addRadioGroupItem(SoQtPopupMenu self, int groupid, int itemid)"}, - { (char *)"SoQtPopupMenu_removeRadioGroupItem", _wrap_SoQtPopupMenu_removeRadioGroupItem, METH_VARARGS, (char *)"SoQtPopupMenu_removeRadioGroupItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_setRadioGroupMarkedItem", _wrap_SoQtPopupMenu_setRadioGroupMarkedItem, METH_VARARGS, (char *)"SoQtPopupMenu_setRadioGroupMarkedItem(SoQtPopupMenu self, int itemid)"}, - { (char *)"SoQtPopupMenu_getRadioGroupMarkedItem", _wrap_SoQtPopupMenu_getRadioGroupMarkedItem, METH_VARARGS, (char *)"SoQtPopupMenu_getRadioGroupMarkedItem(SoQtPopupMenu self, int groupid) -> int"}, - { (char *)"SoQtPopupMenu_addMenuSelectionCallback", _wrap_SoQtPopupMenu_addMenuSelectionCallback, METH_VARARGS, (char *)"\n" - "SoQtPopupMenu_addMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback callback, \n" - " void data)\n" - ""}, - { (char *)"SoQtPopupMenu_removeMenuSelectionCallback", _wrap_SoQtPopupMenu_removeMenuSelectionCallback, METH_VARARGS, (char *)"\n" - "SoQtPopupMenu_removeMenuSelectionCallback(SoQtPopupMenu self, SoQtMenuSelectionCallback callback, \n" - " void data)\n" - ""}, - { (char *)"SoQtPopupMenu_swigregister", SoQtPopupMenu_swigregister, METH_VARARGS, NULL}, - { (char *)"SoQtCursor_initClass", _wrap_SoQtCursor_initClass, METH_VARARGS, (char *)"SoQtCursor_initClass()"}, - { (char *)"new_SoQtCursor", _wrap_new_SoQtCursor, METH_VARARGS, (char *)"\n" - "SoQtCursor()\n" - "SoQtCursor(Shape shape)\n" - "SoQtCursor(CustomCursor cc)\n" - "new_SoQtCursor(SoQtCursor cursor) -> SoQtCursor\n" - ""}, - { (char *)"delete_SoQtCursor", _wrap_delete_SoQtCursor, METH_VARARGS, (char *)"delete_SoQtCursor(SoQtCursor self)"}, - { (char *)"SoQtCursor_getShape", _wrap_SoQtCursor_getShape, METH_VARARGS, (char *)"SoQtCursor_getShape(SoQtCursor self) -> Shape"}, - { (char *)"SoQtCursor_setShape", _wrap_SoQtCursor_setShape, METH_VARARGS, (char *)"SoQtCursor_setShape(SoQtCursor self, Shape shape)"}, - { (char *)"SoQtCursor_getCustomCursor", _wrap_SoQtCursor_getCustomCursor, METH_VARARGS, (char *)"SoQtCursor_getCustomCursor(SoQtCursor self) -> CustomCursor"}, - { (char *)"SoQtCursor_getZoomCursor", _wrap_SoQtCursor_getZoomCursor, METH_VARARGS, (char *)"SoQtCursor_getZoomCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getPanCursor", _wrap_SoQtCursor_getPanCursor, METH_VARARGS, (char *)"SoQtCursor_getPanCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getRotateCursor", _wrap_SoQtCursor_getRotateCursor, METH_VARARGS, (char *)"SoQtCursor_getRotateCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_getBlankCursor", _wrap_SoQtCursor_getBlankCursor, METH_VARARGS, (char *)"SoQtCursor_getBlankCursor() -> SoQtCursor"}, - { (char *)"SoQtCursor_swigregister", SoQtCursor_swigregister, METH_VARARGS, NULL}, - { NULL, NULL, 0, NULL } -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ - -static void *_p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoNodeKitPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPath const *)) ((SoFullPath *(*)(void *,SoPath const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) (SoFullPath *) ((SoTempPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoNodeKitPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath(void *x) { - return (void *)((SoPath *(*)(void *,SoPickedPoint const *)) ((SoFullPath *(*)(void *,SoPickedPoint const *)) x)); -} -static void *_p_p_charpTo_p_p_char(void *x) { - return (void *)((char **) ((charp **) x)); -} -static void *_p_charpTo_p_char(void *x) { - return (void *)((char *) ((charp *) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int(void *x) { - return (void *)((int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) ((intp (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)) x)); -} -static void *_p_SoExtSelectionTo_p_SoSelection(void *x) { - return (void *)((SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoQtKeyboardTo_p_SoQtDevice(void *x) { - return (void *)((SoQtDevice *) ((SoQtKeyboard *) x)); -} -static void *_p_SoQtMouseTo_p_SoQtDevice(void *x) { - return (void *)((SoQtDevice *) ((SoQtMouse *) x)); -} -static void *_p_SoQtSpaceballTo_p_SoQtDevice(void *x) { - return (void *)((SoQtDevice *) ((SoQtSpaceball *) x)); -} -static void *_p_f_char__charpTo_p_f_char__char(void *x) { - return (void *)((char (*)(char)) ((charp (*)(char)) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtGLWidget(void *x) { - return (void *)((SoQtGLWidget *) (SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoSFFloatTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec2sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFVec3dTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoSFVec4fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFNameTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFName *) x)); -} -static void *_p_SoSFRotationTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoSFUShortTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoSFVec3fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFShortTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoSFTimeTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoSFBoolTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFTriggerTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec2fTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoSFColorTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoSField(void *x) { - return (void *)((SoSField *) (SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoSFBox3sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFImage3To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFEngineTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoSFNodeTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFPathTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFImageTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFStringTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFString *) x)); -} -static void *_p_SoSFInt32To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoSFUInt32To_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoSFMatrixTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoSFPlaneTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoSFEnumTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFVec3sTo_p_SoSField(void *x) { - return (void *)((SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int(void *x) { - return (void *)((int (*)(SbString const &,SbImage *,void *)) ((intp (*)(SbString const &,SbImage *,void *)) x)); -} -static void *_p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction *) ((SoBoxHighlightRenderAction *) x)); -} -static void *_p_SoLineHighlightRenderActionTo_p_SoGLRenderAction(void *x) { - return (void *)((SoGLRenderAction *) ((SoLineHighlightRenderAction *) x)); -} -static void *_p_intpTo_p_int(void *x) { - return (void *)((int *) ((intp *) x)); -} -static void *_p_SoQtComponentTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) ((SoQtComponent *) x)); -} -static void *_p_SoQtKeyboardTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtDevice *) ((SoQtKeyboard *) x)); -} -static void *_p_SoQtMouseTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtDevice *) ((SoQtMouse *) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtSpaceballTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtDevice *) ((SoQtSpaceball *) x)); -} -static void *_p_SoQtGLWidgetTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *) ((SoQtGLWidget *) x)); -} -static void *_p_SoQtDeviceTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) ((SoQtDevice *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtObject(void *x) { - return (void *)((SoQtObject *) (SoQtComponent *)(SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_a_4__a_4__floatpTo_p_a_4__a_4__float(void *x) { - return (void *)((float (*)[4][4]) ((floatp (*)[4][4]) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtViewer(void *x) { - return (void *)((SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtViewer(void *x) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtViewer(void *x) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtViewer(void *x) { - return (void *)((SoQtViewer *) (SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtViewer(void *x) { - return (void *)((SoQtViewer *) (SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtFullViewer(void *x) { - return (void *)((SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtFullViewer(void *x) { - return (void *)((SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtFullViewer(void *x) { - return (void *)((SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtFullViewer(void *x) { - return (void *)((SoQtFullViewer *) (SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtConstrainedViewer(void *x) { - return (void *)((SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoMotion3EventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoMotion3Event *) x)); -} -static void *_p_SoButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoButtonEvent *) x)); -} -static void *_p_SoMouseButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoMouseButtonEvent *) x)); -} -static void *_p_SoSpaceballButtonEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoSpaceballButtonEvent *) x)); -} -static void *_p_SoLocation2EventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) ((SoLocation2Event *) x)); -} -static void *_p_SoKeyboardEventTo_p_SoEvent(void *x) { - return (void *)((SoEvent *) (SoButtonEvent *) ((SoKeyboardEvent *) x)); -} -static void *_p_SoClipPlaneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) ((SoPath *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfile *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoRotationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoFullPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *) ((SoFullPath *) x)); -} -static void *_p_SoLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoEngineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoConeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoFieldContainerTo_p_SoBase(void *x) { - return (void *)((SoBase *) ((SoFieldContainer *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoJackManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoTempPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *)(SoFullPath *) ((SoTempPath *) x)); -} -static void *_p_SoPickStyleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoShapeHintsTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoTimeCounterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoCounterTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoQuadMeshTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoNodeKitPathTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoPath *) ((SoNodeKitPath *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoWrapperKitTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoBase(void *x) { - return (void *)((SoBase *) (SoFieldContainer *)(SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoClipPlaneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoOnOffTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOnOff *) x)); -} -static void *_p_SoBaseKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoAnnotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoComposeRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotation *) x)); -} -static void *_p_SoDecomposeRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeRotation *) x)); -} -static void *_p_SoInterpolateRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateRotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoLinearProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfile *) x)); -} -static void *_p_SoRotationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoFieldConverterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoFieldConverter *) x)); -} -static void *_p_SoVRMLParentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoInterpolateVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec2f *) x)); -} -static void *_p_SoVRMLLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoComputeBoundingBoxTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComputeBoundingBox *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoResetTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoComposeVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec3f *) x)); -} -static void *_p_SoDecomposeVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec3f *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLight *) x)); -} -static void *_p_SoEngineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) ((SoEngine *) x)); -} -static void *_p_SoNodeEngineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoTriggerAnyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTriggerAny *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoBoolOperationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoBoolOperation *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoOneShotTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoOneShot *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoInterpolateVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec3f *) x)); -} -static void *_p_SoInterpolateFloatTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateFloat *) x)); -} -static void *_p_SoAntiSquishTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoListener *) x)); -} -static void *_p_SoComposeVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec4f *) x)); -} -static void *_p_SoDecomposeVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec4f *) x)); -} -static void *_p_SoConeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoEventCallbackTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCallback *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoJackManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoElapsedTimeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoElapsedTime *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoEnvironmentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoSelectOneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoSelectOne *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoInterpolateVec4fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *)(SoInterpolate *) ((SoInterpolateVec4f *) x)); -} -static void *_p_SoConcatenateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoConcatenate *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTransformVec3fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTransformVec3f *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoSceneKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoPendulumTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoShapeHintsTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoTexture2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoSceneTexture2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoCounterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCounter *) x)); -} -static void *_p_SoTimeCounterTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoTimeCounter *) x)); -} -static void *_p_SoPathSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText2 *) x)); -} -static void *_p_SoSeparatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoText3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *) ((SoCube *) x)); -} -static void *_p_SoComposeRotationFromToTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeRotationFromTo *) x)); -} -static void *_p_SoGateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoGate *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoNodeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) ((SoNode *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoInterpolateTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoInterpolate *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoComposeMatrixTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeMatrix *) x)); -} -static void *_p_SoDecomposeMatrixTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeMatrix *) x)); -} -static void *_p_SoSwitchTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoTranslationTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoCalculatorTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoCalculator *) x)); -} -static void *_p_SoWrapperKitTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoComposeVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoComposeVec2f *) x)); -} -static void *_p_SoDecomposeVec2fTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoEngine *) ((SoDecomposeVec2f *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoProto *) x)); -} -static void *_p_SoTrackballManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoCenterballManipTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoWWWInlineTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoFieldContainer(void *x) { - return (void *)((SoFieldContainer *) (SoNode *)(SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoSFNameTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFName *) x)); -} -static void *_p_SoMFEnumTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFFloatTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoSFFloatTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFFloat *) x)); -} -static void *_p_SoSFVec3sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3s *) x)); -} -static void *_p_SoSFTimeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFTime *) x)); -} -static void *_p_SoMFPathTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFPath *) x)); -} -static void *_p_SoSFVec2sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2s *) x)); -} -static void *_p_SoSFEnumTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFEnum *) x)); -} -static void *_p_SoSFColorTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFColor *) x)); -} -static void *_p_SoMFRotationTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoSFRotationTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFRotation *) x)); -} -static void *_p_SoMFColorTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFieldTo_p_SoField(void *x) { - return (void *)((SoField *) ((SoMField *) x)); -} -static void *_p_SoSFBitMaskTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *)(SoSFEnum *) ((SoSFBitMask *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *)(SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoSFPathTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFPath *) x)); -} -static void *_p_SoSFPlaneTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFPlane *) x)); -} -static void *_p_SoMFPlaneTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFStringTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFString *) x)); -} -static void *_p_SoSFStringTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFString *) x)); -} -static void *_p_SoMFNodeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoSFieldTo_p_SoField(void *x) { - return (void *)((SoField *) ((SoSField *) x)); -} -static void *_p_SoMFVec4fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoSFVec4fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec4f *) x)); -} -static void *_p_SoSFEngineTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFEngine *) x)); -} -static void *_p_SoMFEngineTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoSFUInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFUInt32 *) x)); -} -static void *_p_SoMFUInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFBoolTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoSFNodeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFNode *) x)); -} -static void *_p_SoSFImage3To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFImage3 *) x)); -} -static void *_p_SoSFBox3sTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFBox3s *) x)); -} -static void *_p_SoSFMatrixTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFMatrix *) x)); -} -static void *_p_SoMFMatrixTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoSFTriggerTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFTrigger *) x)); -} -static void *_p_SoSFVec3dTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3d *) x)); -} -static void *_p_SoMFVec3dTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoSFImageTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFImage *) x)); -} -static void *_p_SoSFUShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFUShort *) x)); -} -static void *_p_SoMFUShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFNameTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFVec3fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoSFVec3fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec3f *) x)); -} -static void *_p_SoSFInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFInt32 *) x)); -} -static void *_p_SoMFInt32To_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFVec2fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoSFVec2fTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFVec2f *) x)); -} -static void *_p_SoMFTimeTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoSFBoolTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFBool *) x)); -} -static void *_p_SoSFShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoSField *) ((SoSFShort *) x)); -} -static void *_p_SoMFShortTo_p_SoField(void *x) { - return (void *)((SoField *) (SoMField *) ((SoMFShort *) x)); -} -static void *_p_p_SoSFNameTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFName **) x)); -} -static void *_p_p_SoMFEnumTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFEnum **) x)); -} -static void *_p_p_SoMFFloatTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFFloat **) x)); -} -static void *_p_p_SoSFFloatTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFFloat **) x)); -} -static void *_p_p_SoSFVec3sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3s **) x)); -} -static void *_p_p_SoSFTimeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFTime **) x)); -} -static void *_p_p_SoMFPathTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFPath **) x)); -} -static void *_p_p_SoSFVec2sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2s **) x)); -} -static void *_p_p_SoSFEnumTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFEnum **) x)); -} -static void *_p_p_SoSFColorTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFColor **) x)); -} -static void *_p_p_SoMFRotationTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFRotation **) x)); -} -static void *_p_p_SoSFRotationTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFRotation **) x)); -} -static void *_p_p_SoMFColorTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFColor **) x)); -} -static void *_p_p_SoMFieldTo_p_p_SoField(void *x) { - return (void *)((SoField **) ((SoMField **) x)); -} -static void *_p_p_SoSFBitMaskTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *)(SoSFEnum *) ((SoSFBitMask **) x)); -} -static void *_p_p_SoMFBitMaskTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *)(SoMFEnum *) ((SoMFBitMask **) x)); -} -static void *_p_p_SoSFPathTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFPath **) x)); -} -static void *_p_p_SoSFPlaneTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFPlane **) x)); -} -static void *_p_p_SoMFPlaneTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFPlane **) x)); -} -static void *_p_p_SoMFStringTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFString **) x)); -} -static void *_p_p_SoSFStringTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFString **) x)); -} -static void *_p_p_SoMFNodeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFNode **) x)); -} -static void *_p_p_SoSFieldTo_p_p_SoField(void *x) { - return (void *)((SoField **) ((SoSField **) x)); -} -static void *_p_p_SoMFVec4fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec4f **) x)); -} -static void *_p_p_SoSFVec4fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec4f **) x)); -} -static void *_p_p_SoSFEngineTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFEngine **) x)); -} -static void *_p_p_SoMFEngineTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFEngine **) x)); -} -static void *_p_p_SoSFUInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFUInt32 **) x)); -} -static void *_p_p_SoMFUInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFUInt32 **) x)); -} -static void *_p_p_SoMFBoolTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFBool **) x)); -} -static void *_p_p_SoSFNodeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFNode **) x)); -} -static void *_p_p_SoSFImage3To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFImage3 **) x)); -} -static void *_p_p_SoSFBox3sTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFBox3s **) x)); -} -static void *_p_p_SoSFMatrixTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFMatrix **) x)); -} -static void *_p_p_SoMFMatrixTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFMatrix **) x)); -} -static void *_p_p_SoSFTriggerTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFTrigger **) x)); -} -static void *_p_p_SoSFVec3dTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3d **) x)); -} -static void *_p_p_SoMFVec3dTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3d **) x)); -} -static void *_p_p_SoSFImageTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFImage **) x)); -} -static void *_p_p_SoSFUShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFUShort **) x)); -} -static void *_p_p_SoMFUShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFUShort **) x)); -} -static void *_p_p_SoMFNameTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFName **) x)); -} -static void *_p_p_SoMFVec3fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec3f **) x)); -} -static void *_p_p_SoSFVec3fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec3f **) x)); -} -static void *_p_p_SoSFInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFInt32 **) x)); -} -static void *_p_p_SoMFInt32To_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFInt32 **) x)); -} -static void *_p_p_SoMFVec2fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFVec2f **) x)); -} -static void *_p_p_SoSFVec2fTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFVec2f **) x)); -} -static void *_p_p_SoMFTimeTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFTime **) x)); -} -static void *_p_p_SoSFBoolTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFBool **) x)); -} -static void *_p_p_SoSFShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoSField *) ((SoSFShort **) x)); -} -static void *_p_p_SoMFShortTo_p_p_SoField(void *x) { - return (void *)((SoField **) (SoMField *) ((SoMFShort **) x)); -} -static void *_p_floatpTo_p_float(void *x) { - return (void *)((float *) ((floatp *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoCamera(void *x) { - return (void *)((SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoCamera(void *x) { - return (void *)((SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_longpTo_p_long(void *x) { - return (void *)((long *) ((longp *) x)); -} -static void *_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int(void *x) { - return (void *)((int (*)(SbString const &,void *,SoVRMLImageTexture *)) ((intp (*)(SbString const &,void *,SoVRMLImageTexture *)) x)); -} -static void *_p_SoAuditorListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoAuditorList *) x)); -} -static void *_p_SoPickedPointListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoPickedPointList *) x)); -} -static void *_p_SbIntListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbIntList *) x)); -} -static void *_p_SoTypeListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoTypeList *) x)); -} -static void *_p_SoPathListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoPathList *) x)); -} -static void *_p_SbVec3fListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbVec3fList *) x)); -} -static void *_p_SoBaseListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoBaseList *) x)); -} -static void *_p_SoEngineOutputListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoEngineOutputList *) x)); -} -static void *_p_SoChildListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *)(SoNodeList *) ((SoChildList *) x)); -} -static void *_p_SoFieldListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoFieldList *) x)); -} -static void *_p_SoNodeListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoNodeList *) x)); -} -static void *_p_SbStringListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SbStringList *) x)); -} -static void *_p_SoActionMethodListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoActionMethodList *) x)); -} -static void *_p_SoEngineListTo_p_SbPList(void *x) { - return (void *)((SbPList *) (SoBaseList *) ((SoEngineList *) x)); -} -static void *_p_SoDetailListTo_p_SbPList(void *x) { - return (void *)((SbPList *) ((SoDetailList *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) (SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtRenderArea(void *x) { - return (void *)((SoQtRenderArea *) (SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoQtRenderAreaTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *) ((SoQtRenderArea *) x)); -} -static void *_p_SoQtGLWidgetTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) ((SoQtGLWidget *) x)); -} -static void *_p_SoQtViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *) ((SoQtViewer *) x)); -} -static void *_p_SoQtFullViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *) ((SoQtFullViewer *) x)); -} -static void *_p_SoQtExaminerViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtExaminerViewer *) x)); -} -static void *_p_SoQtConstrainedViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtConstrainedViewer *) x)); -} -static void *_p_SoQtPlaneViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *) ((SoQtPlaneViewer *) x)); -} -static void *_p_SoQtFlyViewerTo_p_SoQtComponent(void *x) { - return (void *)((SoQtComponent *) (SoQtGLWidget *)(SoQtRenderArea *)(SoQtViewer *)(SoQtFullViewer *)(SoQtConstrainedViewer *) ((SoQtFlyViewer *) x)); -} -static void *_p_SoClipPlaneTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoClipPlane *) x)); -} -static void *_p_SoBumpMapCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMapCoordinate *) x)); -} -static void *_p_SoVRMLCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLCoordinate *) x)); -} -static void *_p_SoVRMLTextureCoordinateTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTextureCoordinate *) x)); -} -static void *_p_SoLightKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoLightKit *) x)); -} -static void *_p_SoTextureCombineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCombine *) x)); -} -static void *_p_SoTriangleStripSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoTriangleStripSet *) x)); -} -static void *_p_SoIndexedTriangleStripSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedTriangleStripSet *) x)); -} -static void *_p_SoVRMLExtrusionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLExtrusion *) x)); -} -static void *_p_SoBaseKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBaseKit *) x)); -} -static void *_p_SoExtSelectionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoSelection *) ((SoExtSelection *) x)); -} -static void *_p_SoSelectionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoSelection *) x)); -} -static void *_p_SoVertexPropertyTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVertexProperty *) x)); -} -static void *_p_SoRotationXYZTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotationXYZ *) x)); -} -static void *_p_SoComplexityTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoComplexity *) x)); -} -static void *_p_SoVRMLBillboardTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLBillboard *) x)); -} -static void *_p_SoLightModelTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLightModel *) x)); -} -static void *_p_SoUnitsTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoUnits *) x)); -} -static void *_p_SoShapeKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoShapeKit *) x)); -} -static void *_p_SoRotationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoRotation *) x)); -} -static void *_p_SoAnnotationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoAnnotation *) x)); -} -static void *_p_SoNurbsSurfaceTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsSurface *) x)); -} -static void *_p_SoIndexedNurbsSurfaceTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsSurface *) x)); -} -static void *_p_SoNurbsProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoProfile *) ((SoNurbsProfile *) x)); -} -static void *_p_SoLinearProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoProfile *) ((SoLinearProfile *) x)); -} -static void *_p_SoProfileTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfile *) x)); -} -static void *_p_SoVRMLParentTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLParent *) x)); -} -static void *_p_SoVRMLLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLLight *) x)); -} -static void *_p_SoClipPlaneManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoClipPlane *) ((SoClipPlaneManip *) x)); -} -static void *_p_SoAsciiTextTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoAsciiText *) x)); -} -static void *_p_SoVRMLGeometryTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoVRMLGeometry *) x)); -} -static void *_p_SoCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCylinder *) x)); -} -static void *_p_SoTextureCoordinateCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateCylinder *) x)); -} -static void *_p_SoVRMLCylinderTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCylinder *) x)); -} -static void *_p_SoVRMLNavigationInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLNavigationInfo *) x)); -} -static void *_p_SoTexture3TransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture3Transform *) x)); -} -static void *_p_SoTexture2TransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture2Transform *) x)); -} -static void *_p_SoResetTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoResetTransform *) x)); -} -static void *_p_SoMatrixTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoMatrixTransform *) x)); -} -static void *_p_SoBumpMapTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMapTransform *) x)); -} -static void *_p_SoTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoTransform *) x)); -} -static void *_p_SoVRMLTextureTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTextureTransform *) x)); -} -static void *_p_SoVRMLTransformTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLTransform *) x)); -} -static void *_p_SoSeparatorKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSeparatorKit *) x)); -} -static void *_p_SoVRMLVertexLineTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexLine *) x)); -} -static void *_p_SoLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLight *) x)); -} -static void *_p_SoNodeEngineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNodeEngine *) x)); -} -static void *_p_SoVRMLSoundTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLSound *) x)); -} -static void *_p_SoPointSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoPointSet *) x)); -} -static void *_p_SoMaterialTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoMaterial *) x)); -} -static void *_p_SoBaseColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBaseColor *) x)); -} -static void *_p_SoVRMLMaterialTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLMaterial *) x)); -} -static void *_p_SoVRMLPointSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexPoint *) ((SoVRMLPointSet *) x)); -} -static void *_p_SoColorIndexTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoColorIndex *) x)); -} -static void *_p_SoVRMLColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLColor *) x)); -} -static void *_p_SoVRMLWorldInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLWorldInfo *) x)); -} -static void *_p_SoSpotLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoSpotLight *) x)); -} -static void *_p_SoTextureCoordinateDefaultTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateDefault *) x)); -} -static void *_p_SoVRMLSpotLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLSpotLight *) x)); -} -static void *_p_SoBlinkerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSwitch *) ((SoBlinker *) x)); -} -static void *_p_SoLODTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoLOD *) x)); -} -static void *_p_SoShuttleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTranslation *) ((SoShuttle *) x)); -} -static void *_p_SoVRMLGroupTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLGroup *) x)); -} -static void *_p_SoVRMLAnchorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *) ((SoVRMLAnchor *) x)); -} -static void *_p_SoVRMLSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLSensor *) x)); -} -static void *_p_SoVRMLCylinderSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLCylinderSensor *) x)); -} -static void *_p_SoVRMLTouchSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTouchSensor *) x)); -} -static void *_p_SoMarkerSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *)(SoPointSet *) ((SoMarkerSet *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_SoPointLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoPointLight *) ((SoPointLightManip *) x)); -} -static void *_p_SoSpotLightManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *)(SoSpotLight *) ((SoSpotLightManip *) x)); -} -static void *_p_SoNurbsCurveTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoNurbsCurve *) x)); -} -static void *_p_SoIndexedNurbsCurveTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoIndexedNurbsCurve *) x)); -} -static void *_p_SoIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoIndexedShape *) x)); -} -static void *_p_SoNonIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *) ((SoNonIndexedShape *) x)); -} -static void *_p_SoRotorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoRotor *) x)); -} -static void *_p_SoVRMLIndexedShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *) ((SoVRMLIndexedShape *) x)); -} -static void *_p_SoTextureCoordinateCubeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateCube *) x)); -} -static void *_p_SoVRMLTextTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLText *) x)); -} -static void *_p_SoTransformerManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformerManip *) x)); -} -static void *_p_SoAntiSquishTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoAntiSquish *) x)); -} -static void *_p_SoGroupTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoGroup *) x)); -} -static void *_p_SoMultipleCopyTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoMultipleCopy *) x)); -} -static void *_p_SoListenerTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoListener *) x)); -} -static void *_p_SoConeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCone *) x)); -} -static void *_p_SoFileTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoFile *) x)); -} -static void *_p_SoTransformationTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTransformation *) x)); -} -static void *_p_SoFontStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoFont *) ((SoFontStyle *) x)); -} -static void *_p_SoVRMLFontStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLFontStyle *) x)); -} -static void *_p_SoImageTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoImage *) x)); -} -static void *_p_SoVRMLAppearanceTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLAppearance *) x)); -} -static void *_p_SoPointLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoPointLight *) x)); -} -static void *_p_SoVRMLPointLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLPointLight *) x)); -} -static void *_p_SoTransformManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *) ((SoTransformManip *) x)); -} -static void *_p_SoPolygonOffsetTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPolygonOffset *) x)); -} -static void *_p_SoVRMLBackgroundTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLBackground *) x)); -} -static void *_p_SoWWWAnchorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *)(SoLocateHighlight *) ((SoWWWAnchor *) x)); -} -static void *_p_SoEventCallbackTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoEventCallback *) x)); -} -static void *_p_SoCallbackTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCallback *) x)); -} -static void *_p_SoJackManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoJackManip *) x)); -} -static void *_p_SoOrthographicCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoCamera *) ((SoOrthographicCamera *) x)); -} -static void *_p_SoPerspectiveCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoCamera *) ((SoPerspectiveCamera *) x)); -} -static void *_p_SoCameraTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCamera *) x)); -} -static void *_p_SoCameraKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoCameraKit *) x)); -} -static void *_p_SoArrayTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoArray *) x)); -} -static void *_p_SoVRMLDragSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *) ((SoVRMLDragSensor *) x)); -} -static void *_p_SoVRMLPlaneSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLPlaneSensor *) x)); -} -static void *_p_SoVRMLProximitySensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLProximitySensor *) x)); -} -static void *_p_SoVRMLSphereSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLSensor *)(SoVRMLDragSensor *) ((SoVRMLSphereSensor *) x)); -} -static void *_p_SoVRMLTimeSensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLTimeSensor *) x)); -} -static void *_p_SoVRMLVisibilitySensorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLVisibilitySensor *) x)); -} -static void *_p_SoVRMLSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLSphere *) x)); -} -static void *_p_SoTextureCoordinateEnvironmentTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinateEnvironment *) x)); -} -static void *_p_SoEnvironmentTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoEnvironment *) x)); -} -static void *_p_SoDrawStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoDrawStyle *) x)); -} -static void *_p_SoVRMLBoxTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLBox *) x)); -} -static void *_p_SoTransparencyTypeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTransparencyType *) x)); -} -static void *_p_SoVRMLFogTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLFog *) x)); -} -static void *_p_SoSurroundScaleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoSurroundScale *) x)); -} -static void *_p_SoVertexShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoVertexShape *) x)); -} -static void *_p_SoVRMLVertexShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexShape *) x)); -} -static void *_p_SoTextureUnitTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureUnit *) x)); -} -static void *_p_SoAppearanceKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoAppearanceKit *) x)); -} -static void *_p_SoTabPlaneDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabPlaneDragger *) x)); -} -static void *_p_SoTabBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTabBoxDragger *) x)); -} -static void *_p_SoSpotLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoSpotLightDragger *) x)); -} -static void *_p_SoScaleUniformDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScaleUniformDragger *) x)); -} -static void *_p_SoScale2UniformDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2UniformDragger *) x)); -} -static void *_p_SoScale2DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale2Dragger *) x)); -} -static void *_p_SoScale1DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoScale1Dragger *) x)); -} -static void *_p_SoRotateSphericalDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateSphericalDragger *) x)); -} -static void *_p_SoRotateDiscDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateDiscDragger *) x)); -} -static void *_p_SoRotateCylindricalDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoRotateCylindricalDragger *) x)); -} -static void *_p_SoPointLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoPointLightDragger *) x)); -} -static void *_p_SoJackDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoJackDragger *) x)); -} -static void *_p_SoHandleBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoHandleBoxDragger *) x)); -} -static void *_p_SoDragPointDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDragPointDragger *) x)); -} -static void *_p_SoDirectionalLightDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoDirectionalLightDragger *) x)); -} -static void *_p_SoCenterballDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoCenterballDragger *) x)); -} -static void *_p_SoDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *) ((SoDragger *) x)); -} -static void *_p_SoTrackballDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTrackballDragger *) x)); -} -static void *_p_SoTransformBoxDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformBoxDragger *) x)); -} -static void *_p_SoTransformerDraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTransformerDragger *) x)); -} -static void *_p_SoTranslate1DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate1Dragger *) x)); -} -static void *_p_SoTranslate2DraggerTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoInteractionKit *)(SoDragger *) ((SoTranslate2Dragger *) x)); -} -static void *_p_SoPickStyleTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPickStyle *) x)); -} -static void *_p_SoVRMLInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *) ((SoVRMLInterpolator *) x)); -} -static void *_p_SoVRMLColorInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLColorInterpolator *) x)); -} -static void *_p_SoVRMLCoordinateInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLCoordinateInterpolator *) x)); -} -static void *_p_SoVRMLNormalInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLNormalInterpolator *) x)); -} -static void *_p_SoVRMLOrientationInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLOrientationInterpolator *) x)); -} -static void *_p_SoVRMLPositionInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLPositionInterpolator *) x)); -} -static void *_p_SoVRMLScalarInterpolatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoNodeEngine *)(SoVRMLInterpolator *) ((SoVRMLScalarInterpolator *) x)); -} -static void *_p_SoVRMLConeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLCone *) x)); -} -static void *_p_SoFontTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoFont *) x)); -} -static void *_p_SoVRMLIndexedLineTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *) ((SoVRMLIndexedLine *) x)); -} -static void *_p_SoVRMLTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLTexture *) x)); -} -static void *_p_SoVRMLImageTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLImageTexture *) x)); -} -static void *_p_SoVRMLMovieTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLMovieTexture *) x)); -} -static void *_p_SoVRMLPixelTextureTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLTexture *) ((SoVRMLPixelTexture *) x)); -} -static void *_p_SoTextureCoordinateFunctionTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateFunction *) x)); -} -static void *_p_SoSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoSphere *) x)); -} -static void *_p_SoNodeKitListPartTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNodeKitListPart *) x)); -} -static void *_p_SoTextureCoordinateSphereTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateSphere *) x)); -} -static void *_p_SoPendulumTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoRotation *) ((SoPendulum *) x)); -} -static void *_p_SoSceneKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoSceneKit *) x)); -} -static void *_p_SoShapeHintsTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoShapeHints *) x)); -} -static void *_p_SoSceneTexture2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoSceneTexture2 *) x)); -} -static void *_p_SoTexture2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture2 *) x)); -} -static void *_p_SoTexture3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTexture3 *) x)); -} -static void *_p_SoTextureCoordinatePlaneTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTextureCoordinateFunction *) ((SoTextureCoordinatePlane *) x)); -} -static void *_p_SoVRMLAudioClipTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLAudioClip *) x)); -} -static void *_p_SoQuadMeshTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoQuadMesh *) x)); -} -static void *_p_SoPathSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoPathSwitch *) x)); -} -static void *_p_SoVRMLSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLSwitch *) x)); -} -static void *_p_SoText2To_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoText2 *) x)); -} -static void *_p_SoText3To_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoText3 *) x)); -} -static void *_p_SoTransformSeparatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoTransformSeparator *) x)); -} -static void *_p_SoSeparatorTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoSeparator *) x)); -} -static void *_p_SoInteractionKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *) ((SoInteractionKit *) x)); -} -static void *_p_SoBumpMapTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoBumpMap *) x)); -} -static void *_p_SoTextureCoordinate2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinate2 *) x)); -} -static void *_p_SoProfileCoordinate2To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfileCoordinate2 *) x)); -} -static void *_p_SoVRMLNormalTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLNormal *) x)); -} -static void *_p_SoTextureCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinate3 *) x)); -} -static void *_p_SoProfileCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProfileCoordinate3 *) x)); -} -static void *_p_SoCoordinate3To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCoordinate3 *) x)); -} -static void *_p_SoCoordinate4To_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoCoordinate4 *) x)); -} -static void *_p_SoVRMLLODTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoVRMLLOD *) x)); -} -static void *_p_SoCubeTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *) ((SoCube *) x)); -} -static void *_p_SoLocateHighlightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoSeparator *) ((SoLocateHighlight *) x)); -} -static void *_p_SoVRMLElevationGridTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLElevationGrid *) x)); -} -static void *_p_SoVRMLShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLShape *) x)); -} -static void *_p_SoVRMLVertexPointTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *) ((SoVRMLVertexPoint *) x)); -} -static void *_p_SoVRMLViewpointTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLViewpoint *) x)); -} -static void *_p_SoInfoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoInfo *) x)); -} -static void *_p_SoMaterialBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoMaterialBinding *) x)); -} -static void *_p_SoNormalBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNormalBinding *) x)); -} -static void *_p_SoTextureCoordinateBindingTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureCoordinateBinding *) x)); -} -static void *_p_SoHandleBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoHandleBoxManip *) x)); -} -static void *_p_SoTabBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTabBoxManip *) x)); -} -static void *_p_SoTransformBoxManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTransformBoxManip *) x)); -} -static void *_p_SoVRMLCollisionTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *)(SoVRMLParent *)(SoVRMLGroup *) ((SoVRMLCollision *) x)); -} -static void *_p_SoPackedColorTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoPackedColor *) x)); -} -static void *_p_SoSwitchTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoSwitch *) x)); -} -static void *_p_SoTranslationTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoTranslation *) x)); -} -static void *_p_SoIndexedFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedFaceSet *) x)); -} -static void *_p_SoFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoFaceSet *) x)); -} -static void *_p_SoVRMLIndexedFaceSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexShape *)(SoVRMLIndexedShape *) ((SoVRMLIndexedFaceSet *) x)); -} -static void *_p_SoShapeTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoShape *) x)); -} -static void *_p_SoTextureScalePolicyTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoTextureScalePolicy *) x)); -} -static void *_p_SoVRMLScriptTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLScript *) x)); -} -static void *_p_SoNormalTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoNormal *) x)); -} -static void *_p_SoVRMLInlineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoVRMLInline *) x)); -} -static void *_p_SoWrapperKitTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoBaseKit *)(SoSeparatorKit *) ((SoWrapperKit *) x)); -} -static void *_p_SoScaleTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *) ((SoScale *) x)); -} -static void *_p_SoLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoNonIndexedShape *) ((SoLineSet *) x)); -} -static void *_p_SoIndexedLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVertexShape *)(SoIndexedShape *) ((SoIndexedLineSet *) x)); -} -static void *_p_SoLabelTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoLabel *) x)); -} -static void *_p_SoVRMLIndexedLineSetTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoShape *)(SoVRMLGeometry *)(SoVRMLVertexLine *)(SoVRMLIndexedLine *) ((SoVRMLIndexedLineSet *) x)); -} -static void *_p_SoProtoInstanceTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProtoInstance *) x)); -} -static void *_p_SoDirectionalLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoLight *) ((SoDirectionalLight *) x)); -} -static void *_p_SoVRMLDirectionalLightTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoVRMLLight *) ((SoVRMLDirectionalLight *) x)); -} -static void *_p_SoProtoTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoProto *) x)); -} -static void *_p_SoWWWInlineTo_p_SoNode(void *x) { - return (void *)((SoNode *) ((SoWWWInline *) x)); -} -static void *_p_SoCenterballManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoCenterballManip *) x)); -} -static void *_p_SoTrackballManipTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoTransformation *)(SoTransform *)(SoTransformManip *) ((SoTrackballManip *) x)); -} -static void *_p_SoLevelOfDetailTo_p_SoNode(void *x) { - return (void *)((SoNode *) (SoGroup *) ((SoLevelOfDetail *) x)); -} -static void *_p_SoMFVec4fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec4f *) x)); -} -static void *_p_SoMFFloatTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFFloat *) x)); -} -static void *_p_SoMFVec3dTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec3d *) x)); -} -static void *_p_SoMFRotationTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFRotation *) x)); -} -static void *_p_SoMFVec3fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec3f *) x)); -} -static void *_p_SoMFShortTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFShort *) x)); -} -static void *_p_SoMFUShortTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFUShort *) x)); -} -static void *_p_SoMFEnumTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFEnum *) x)); -} -static void *_p_SoMFVec2fTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFVec2f *) x)); -} -static void *_p_SoMFBitMaskTo_p_SoMField(void *x) { - return (void *)((SoMField *) (SoMFEnum *) ((SoMFBitMask *) x)); -} -static void *_p_SoMFColorTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFColor *) x)); -} -static void *_p_SoMFEngineTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFEngine *) x)); -} -static void *_p_SoMFNameTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFName *) x)); -} -static void *_p_SoMFTimeTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFTime *) x)); -} -static void *_p_SoMFBoolTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFBool *) x)); -} -static void *_p_SoMFStringTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFString *) x)); -} -static void *_p_SoMFInt32To_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFInt32 *) x)); -} -static void *_p_SoMFUInt32To_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFUInt32 *) x)); -} -static void *_p_SoMFMatrixTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFMatrix *) x)); -} -static void *_p_SoMFNodeTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFNode *) x)); -} -static void *_p_SoMFPlaneTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFPlane *) x)); -} -static void *_p_SoMFPathTo_p_SoMField(void *x) { - return (void *)((SoMField *) ((SoMFPath *) x)); -} -static void *_p_a_4__a_4__doublepTo_p_a_4__a_4__double(void *x) { - return (void *)((double (*)[4][4]) ((doublep (*)[4][4]) x)); -} -static void *_p_doublepTo_p_double(void *x) { - return (void *)((double *) ((doublep *) x)); -} -static void *_p_SbColorTo_p_SbVec3f(void *x) { - return (void *)((SbVec3f *) ((SbColor *) x)); -} -static void *_p_SoDirectionalLightManipTo_p_SoDirectionalLight(void *x) { - return (void *)((SoDirectionalLight *) ((SoDirectionalLightManip *) x)); -} -static void *_p_f_p_void_p_QEvent__intpTo_p_f_p_void_p_QEvent__int(void *x) { - return (void *)((int (*)(void *,QEvent *)) ((intp (*)(void *,QEvent *)) x)); -} -static swig_type_info _swigt__p_ContextDestructionCB = {"_p_ContextDestructionCB", "ContextDestructionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_CustomCursor = {"_p_CustomCursor", "CustomCursor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FatalErrorCB = {"_p_FatalErrorCB", "FatalErrorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProgressCallbackType = {"_p_ProgressCallbackType", "ProgressCallbackType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_QEvent = {"_p_QEvent", "QEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_QWidget = {"_p_QWidget", "QWidget *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbColor = {"_p_SbColor", "SbColor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbDict = {"_p_SbDict", "SbDict *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbIntList = {"_p_SbIntList", "SbIntList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbMatrix = {"_p_SbMatrix", "SbMatrix *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbName = {"_p_SbName", "SbName *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbPList = {"_p_SbPList", "SbPList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoAuditorList = {"_p_SoAuditorList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPickedPointList = {"_p_SoPickedPointList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbVec3fList = {"_p_SbVec3fList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPathList = {"_p_SoPathList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseList = {"_p_SoBaseList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEngineOutputList = {"_p_SoEngineOutputList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoChildList = {"_p_SoChildList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeList = {"_p_SoNodeList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbStringList = {"_p_SbStringList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoActionMethodList = {"_p_SoActionMethodList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEngineList = {"_p_SoEngineList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDetailList = {"_p_SoDetailList", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SbPlane = {"_p_SbPlane", "SbPlane *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbRotation = {"_p_SbRotation", "SbRotation *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbString = {"_p_SbString", "SbString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbTime = {"_p_SbTime", "SbTime *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2f = {"_p_SbVec2f", "SbVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec2s = {"_p_SbVec2s", "SbVec2s *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3d = {"_p_SbVec3d", "SbVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec3f = {"_p_SbVec3f", "SbVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbVec4f = {"_p_SbVec4f", "SbVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SbViewportRegion = {"_p_SbViewportRegion", "SbViewportRegion *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBase = {"_p_SoBase", "SoBase *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoClipPlane = {"_p_SoClipPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMapCoordinate = {"_p_SoBumpMapCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinate = {"_p_SoVRMLCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureCoordinate = {"_p_SoVRMLTextureCoordinate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCombine = {"_p_SoTextureCombine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLightKit = {"_p_SoLightKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedTriangleStripSet = {"_p_SoIndexedTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTriangleStripSet = {"_p_SoTriangleStripSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLExtrusion = {"_p_SoVRMLExtrusion", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOnOff = {"_p_SoOnOff", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseKit = {"_p_SoBaseKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoExtSelection = {"_p_SoExtSelection", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexProperty = {"_p_SoVertexProperty", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotationXYZ = {"_p_SoRotationXYZ", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComplexity = {"_p_SoComplexity", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBillboard = {"_p_SoVRMLBillboard", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLightModel = {"_p_SoLightModel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoUnits = {"_p_SoUnits", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShapeKit = {"_p_SoShapeKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAnnotation = {"_p_SoAnnotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeRotation = {"_p_SoComposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeRotation = {"_p_SoDecomposeRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateRotation = {"_p_SoInterpolateRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotation = {"_p_SoRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsSurface = {"_p_SoIndexedNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsSurface = {"_p_SoNurbsSurface", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLinearProfile = {"_p_SoLinearProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfile = {"_p_SoProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsProfile = {"_p_SoNurbsProfile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFieldConverter = {"_p_SoFieldConverter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLParent = {"_p_SoVRMLParent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec2f = {"_p_SoInterpolateVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLLight = {"_p_SoVRMLLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoClipPlaneManip = {"_p_SoClipPlaneManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAsciiText = {"_p_SoAsciiText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLGeometry = {"_p_SoVRMLGeometry", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCylinder = {"_p_SoCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCylinder = {"_p_SoTextureCoordinateCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinder = {"_p_SoVRMLCylinder", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNavigationInfo = {"_p_SoVRMLNavigationInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComputeBoundingBox = {"_p_SoComputeBoundingBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMatrixTransform = {"_p_SoMatrixTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMapTransform = {"_p_SoBumpMapTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransform = {"_p_SoTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoResetTransform = {"_p_SoResetTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture2Transform = {"_p_SoTexture2Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture3Transform = {"_p_SoTexture3Transform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTextureTransform = {"_p_SoVRMLTextureTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTransform = {"_p_SoVRMLTransform", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec3f = {"_p_SoComposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec3f = {"_p_SoDecomposeVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPath = {"_p_SoPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSeparatorKit = {"_p_SoSeparatorKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexLine = {"_p_SoVRMLVertexLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFullPath = {"_p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLight = {"_p_SoLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSound = {"_p_SoVRMLSound", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeEngine = {"_p_SoNodeEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEngine = {"_p_SoEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointSet = {"_p_SoPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPointSet = {"_p_SoVRMLPointSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMaterial = {"_p_SoMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLMaterial = {"_p_SoVRMLMaterial", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBaseColor = {"_p_SoBaseColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTriggerAny = {"_p_SoTriggerAny", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoColorIndex = {"_p_SoColorIndex", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLColor = {"_p_SoVRMLColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLWorldInfo = {"_p_SoVRMLWorldInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLight = {"_p_SoSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSpotLight = {"_p_SoVRMLSpotLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateDefault = {"_p_SoTextureCoordinateDefault", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBlinker = {"_p_SoBlinker", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShuttle = {"_p_SoShuttle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLGroup = {"_p_SoVRMLGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAnchor = {"_p_SoVRMLAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSensor = {"_p_SoVRMLSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCylinderSensor = {"_p_SoVRMLCylinderSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTouchSensor = {"_p_SoVRMLTouchSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBoolOperation = {"_p_SoBoolOperation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMarkerSet = {"_p_SoMarkerSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLightManip = {"_p_SoSpotLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLightManip = {"_p_SoPointLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightManip = {"_p_SoDirectionalLightManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedNurbsCurve = {"_p_SoIndexedNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNurbsCurve = {"_p_SoNurbsCurve", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedShape = {"_p_SoIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNonIndexedShape = {"_p_SoNonIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedShape = {"_p_SoVRMLIndexedShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotor = {"_p_SoRotor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateCube = {"_p_SoTextureCoordinateCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLText = {"_p_SoVRMLText", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOneShot = {"_p_SoOneShot", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformerManip = {"_p_SoTransformerManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec3f = {"_p_SoInterpolateVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateFloat = {"_p_SoInterpolateFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAntiSquish = {"_p_SoAntiSquish", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoGroup = {"_p_SoGroup", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMultipleCopy = {"_p_SoMultipleCopy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoListener = {"_p_SoListener", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec4f = {"_p_SoComposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec4f = {"_p_SoDecomposeVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformation = {"_p_SoTransformation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFontStyle = {"_p_SoFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLFontStyle = {"_p_SoVRMLFontStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoImage = {"_p_SoImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAppearance = {"_p_SoVRMLAppearance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLight = {"_p_SoPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPointLight = {"_p_SoVRMLPointLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformManip = {"_p_SoTransformManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPolygonOffset = {"_p_SoPolygonOffset", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBackground = {"_p_SoVRMLBackground", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWWWAnchor = {"_p_SoWWWAnchor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEventCallback = {"_p_SoEventCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCallback = {"_p_SoCallback", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLDragSensor = {"_p_SoVRMLDragSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPlaneSensor = {"_p_SoVRMLPlaneSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLProximitySensor = {"_p_SoVRMLProximitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSphereSensor = {"_p_SoVRMLSphereSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTimeSensor = {"_p_SoVRMLTimeSensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVisibilitySensor = {"_p_SoVRMLVisibilitySensor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoJackManip = {"_p_SoJackManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoOrthographicCamera = {"_p_SoOrthographicCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPerspectiveCamera = {"_p_SoPerspectiveCamera", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCameraKit = {"_p_SoCameraKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoArray = {"_p_SoArray", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoElapsedTime = {"_p_SoElapsedTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSphere = {"_p_SoVRMLSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoEnvironment = {"_p_SoEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateEnvironment = {"_p_SoTextureCoordinateEnvironment", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDrawStyle = {"_p_SoDrawStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSelectOne = {"_p_SoSelectOne", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLBox = {"_p_SoVRMLBox", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLFog = {"_p_SoVRMLFog", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransparencyType = {"_p_SoTransparencyType", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolateVec4f = {"_p_SoInterpolateVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSurroundScale = {"_p_SoSurroundScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoConcatenate = {"_p_SoConcatenate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVertexShape = {"_p_SoVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexShape = {"_p_SoVRMLVertexShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCone = {"_p_SoCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureUnit = {"_p_SoTextureUnit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoAppearanceKit = {"_p_SoAppearanceKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpotLightDragger = {"_p_SoSpotLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScaleUniformDragger = {"_p_SoScaleUniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale2UniformDragger = {"_p_SoScale2UniformDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale2Dragger = {"_p_SoScale2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale1Dragger = {"_p_SoScale1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateSphericalDragger = {"_p_SoRotateSphericalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateDiscDragger = {"_p_SoRotateDiscDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoRotateCylindricalDragger = {"_p_SoRotateCylindricalDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPointLightDragger = {"_p_SoPointLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoJackDragger = {"_p_SoJackDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoHandleBoxDragger = {"_p_SoHandleBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDragPointDragger = {"_p_SoDragPointDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabBoxDragger = {"_p_SoTabBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFile = {"_p_SoFile", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDirectionalLightDragger = {"_p_SoDirectionalLightDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCenterballDragger = {"_p_SoCenterballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDragger = {"_p_SoDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabPlaneDragger = {"_p_SoTabPlaneDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTrackballDragger = {"_p_SoTrackballDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformBoxDragger = {"_p_SoTransformBoxDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformerDragger = {"_p_SoTransformerDragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslate1Dragger = {"_p_SoTranslate1Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslate2Dragger = {"_p_SoTranslate2Dragger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPickStyle = {"_p_SoPickStyle", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTempPath = {"_p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLInterpolator = {"_p_SoVRMLInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLColorInterpolator = {"_p_SoVRMLColorInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCoordinateInterpolator = {"_p_SoVRMLCoordinateInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNormalInterpolator = {"_p_SoVRMLNormalInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLOrientationInterpolator = {"_p_SoVRMLOrientationInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPositionInterpolator = {"_p_SoVRMLPositionInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLScalarInterpolator = {"_p_SoVRMLScalarInterpolator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCone = {"_p_SoVRMLCone", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLine = {"_p_SoVRMLIndexedLine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLTexture = {"_p_SoVRMLTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLImageTexture = {"_p_SoVRMLImageTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLMovieTexture = {"_p_SoVRMLMovieTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLPixelTexture = {"_p_SoVRMLPixelTexture", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformVec3f = {"_p_SoTransformVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateFunction = {"_p_SoTextureCoordinateFunction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSphere = {"_p_SoSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeKitListPart = {"_p_SoNodeKitListPart", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateSphere = {"_p_SoTextureCoordinateSphere", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSceneKit = {"_p_SoSceneKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPendulum = {"_p_SoPendulum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShapeHints = {"_p_SoShapeHints", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture2 = {"_p_SoTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSceneTexture2 = {"_p_SoSceneTexture2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTexture3 = {"_p_SoTexture3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinatePlane = {"_p_SoTextureCoordinatePlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLAudioClip = {"_p_SoVRMLAudioClip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoQuadMesh = {"_p_SoQuadMesh", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCounter = {"_p_SoCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTimeCounter = {"_p_SoTimeCounter", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPathSwitch = {"_p_SoPathSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLSwitch = {"_p_SoVRMLSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoText2 = {"_p_SoText2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSeparator = {"_p_SoSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoText3 = {"_p_SoText3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformSeparator = {"_p_SoTransformSeparator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInteractionKit = {"_p_SoInteractionKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoBumpMap = {"_p_SoBumpMap", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate2 = {"_p_SoProfileCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate2 = {"_p_SoTextureCoordinate2", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLNormal = {"_p_SoVRMLNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCoordinate3 = {"_p_SoCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProfileCoordinate3 = {"_p_SoProfileCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinate3 = {"_p_SoTextureCoordinate3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCoordinate4 = {"_p_SoCoordinate4", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLLOD = {"_p_SoVRMLLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFont = {"_p_SoFont", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeRotationFromTo = {"_p_SoComposeRotationFromTo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLocateHighlight = {"_p_SoLocateHighlight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLElevationGrid = {"_p_SoVRMLElevationGrid", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLShape = {"_p_SoVRMLShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLVertexPoint = {"_p_SoVRMLVertexPoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLViewpoint = {"_p_SoVRMLViewpoint", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMaterialBinding = {"_p_SoMaterialBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNormalBinding = {"_p_SoNormalBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureCoordinateBinding = {"_p_SoTextureCoordinateBinding", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInterpolate = {"_p_SoInterpolate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTransformBoxManip = {"_p_SoTransformBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTabBoxManip = {"_p_SoTabBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoHandleBoxManip = {"_p_SoHandleBoxManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLCollision = {"_p_SoVRMLCollision", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoPackedColor = {"_p_SoPackedColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeMatrix = {"_p_SoComposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeMatrix = {"_p_SoDecomposeMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSwitch = {"_p_SoSwitch", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedFaceSet = {"_p_SoIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFaceSet = {"_p_SoFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTranslation = {"_p_SoTranslation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedFaceSet = {"_p_SoVRMLIndexedFaceSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNodeKitPath = {"_p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoShape = {"_p_SoShape", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTextureScalePolicy = {"_p_SoTextureScalePolicy", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLScript = {"_p_SoVRMLScript", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoNormal = {"_p_SoNormal", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLInline = {"_p_SoVRMLInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCalculator = {"_p_SoCalculator", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCube = {"_p_SoCube", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWrapperKit = {"_p_SoWrapperKit", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoGate = {"_p_SoGate", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoScale = {"_p_SoScale", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLineSet = {"_p_SoLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoIndexedLineSet = {"_p_SoIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLabel = {"_p_SoLabel", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLIndexedLineSet = {"_p_SoVRMLIndexedLineSet", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProtoInstance = {"_p_SoProtoInstance", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInfo = {"_p_SoInfo", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoVRMLDirectionalLight = {"_p_SoVRMLDirectionalLight", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoComposeVec2f = {"_p_SoComposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoDecomposeVec2f = {"_p_SoDecomposeVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoProto = {"_p_SoProto", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoWWWInline = {"_p_SoWWWInline", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCenterballManip = {"_p_SoCenterballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoTrackballManip = {"_p_SoTrackballManip", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLOD = {"_p_SoLOD", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLevelOfDetail = {"_p_SoLevelOfDetail", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoCallbackActionCB = {"_p_SoCallbackActionCB", "SoCallbackActionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoCamera = {"_p_SoCamera", "SoCamera *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoDirectionalLight = {"_p_SoDirectionalLight", "SoDirectionalLight *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEngineOutput = {"_p_SoEngineOutput", "SoEngineOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoEvent = {"_p_SoEvent", "SoEvent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMotion3Event = {"_p_SoMotion3Event", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoButtonEvent = {"_p_SoButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMouseButtonEvent = {"_p_SoMouseButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSpaceballButtonEvent = {"_p_SoSpaceballButtonEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLocation2Event = {"_p_SoLocation2Event", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoKeyboardEvent = {"_p_SoKeyboardEvent", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoField = {"_p_SoField", "SoField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSFName = {"_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFEnum = {"_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3s = {"_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFFloat = {"_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFFloat = {"_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFPath = {"_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFTime = {"_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2s = {"_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFEnum = {"_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFColor = {"_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFColor = {"_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFRotation = {"_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFRotation = {"_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBitMask = {"_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFBitMask = {"_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFPath = {"_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFPlane = {"_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFPlane = {"_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFNode = {"_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFString = {"_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFString = {"_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFEngine = {"_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec4f = {"_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFEngine = {"_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFUInt32 = {"_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFUInt32 = {"_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFBool = {"_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBox3s = {"_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFImage3 = {"_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFNode = {"_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFMatrix = {"_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3d = {"_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFTrigger = {"_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFMatrix = {"_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFUShort = {"_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFUShort = {"_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFImage = {"_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFName = {"_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec3f = {"_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFInt32 = {"_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFInt32 = {"_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFTime = {"_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFVec2f = {"_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoMFShort = {"_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFShort = {"_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoSFBool = {"_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoFieldContainer = {"_p_SoFieldContainer", "SoFieldContainer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoFieldList = {"_p_SoFieldList", "SoFieldList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAbortCB = {"_p_SoGLRenderAbortCB", "SoGLRenderAbortCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoGLRenderAction = {"_p_SoGLRenderAction", "SoGLRenderAction *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoBoxHighlightRenderAction = {"_p_SoBoxHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoLineHighlightRenderAction = {"_p_SoLineHighlightRenderAction", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_SoInput = {"_p_SoInput", "SoInput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionCB = {"_p_SoIntersectionCB", "SoIntersectionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionFilterCB = {"_p_SoIntersectionFilterCB", "SoIntersectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoIntersectionVisitationCB = {"_p_SoIntersectionVisitationCB", "SoIntersectionVisitationCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec2f = {"_p_SoMFVec2f", "SoMFVec2f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3d = {"_p_SoMFVec3d", "SoMFVec3d *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec3f = {"_p_SoMFVec3f", "SoMFVec3f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMFVec4f = {"_p_SoMFVec4f", "SoMFVec4f *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoMField = {"_p_SoMField", "SoMField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNode = {"_p_SoNode", "SoNode *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotList = {"_p_SoNotList", "SoNotList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoNotRec = {"_p_SoNotRec", "SoNotRec *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoOutput = {"_p_SoOutput", "SoOutput *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQt = {"_p_SoQt", "SoQt *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtComponent = {"_p_SoQtComponent", "SoQtComponent *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtConstrainedViewer = {"_p_SoQtConstrainedViewer", "SoQtConstrainedViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtCursor = {"_p_SoQtCursor", "SoQtCursor *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtDevice = {"_p_SoQtDevice", "SoQtDevice *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtExaminerViewer = {"_p_SoQtExaminerViewer", "SoQtExaminerViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtFlyViewer = {"_p_SoQtFlyViewer", "SoQtFlyViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtFullViewer = {"_p_SoQtFullViewer", "SoQtFullViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtGLWidget = {"_p_SoQtGLWidget", "SoQtGLWidget *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtKeyboard = {"_p_SoQtKeyboard", "SoQtKeyboard *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtMouse = {"_p_SoQtMouse", "SoQtMouse *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtObject = {"_p_SoQtObject", "SoQtObject *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtPlaneViewer = {"_p_SoQtPlaneViewer", "SoQtPlaneViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtPopupMenu = {"_p_SoQtPopupMenu", "SoQtPopupMenu *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtRenderArea = {"_p_SoQtRenderArea", "SoQtRenderArea *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtSpaceball = {"_p_SoQtSpaceball", "SoQtSpaceball *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoQtViewer = {"_p_SoQtViewer", "SoQtViewer *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSField = {"_p_SoSField", "SoSField *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSceneManager = {"_p_SoSceneManager", "SoSceneManager *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoSelection = {"_p_SoSelection", "SoSelection *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoType = {"_p_SoType", "SoType *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_SoTypeList = {"_p_SoTypeList", "SoTypeList *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p___int64 = {"_p___int64", "__int64 *|int64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__double = {"_p_a_4__a_4__double", "double (*)[4][4]|SbDPMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__doublep = {"_p_a_4__a_4__doublep", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "float (*)[4][4]|SbMat *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_a_4__a_4__floatp = {"_p_a_4__a_4__floatp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_cc_glglue = {"_p_cc_glglue", "cc_glue *|cc_glglue *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_char = {"_p_char", "char *|int8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_charp = {"_p_charp", "charp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_close_func = {"_p_close_func", "close_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_doublep = {"_p_doublep", "doublep *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__char = {"_p_f_char__char", "char (*)(char)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_char__charp = {"_p_f_char__charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_float_p_void_p_SoQtViewer__void = {"_p_f_float_p_void_p_SoQtViewer__void", "void (*)(float,void *,SoQtViewer *)|SoQtViewerFPSCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_int_p_void__void = {"_p_f_int_p_void__void", "SoQtMenuSelectionCallback *|void (*)(int,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void = {"_p_f_p_QWidget_p_void_p_QEvent_p_bool__void", "void (*)(QWidget *,void *,QEvent *,bool *)|SoQtEventHandler *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto = {"_p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto", "SoProto *(*)(SoInput *,SbString const *,int const,void *)|SoFetchExternProtoCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_q_const__SoError_p_void__void = {"_p_f_p_q_const__SoError_p_void__void", "SoErrorCB *|void (*)(SoError const *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "SoTexCoordTexgenCB *|void (*)(void *)|SoGLRenderPassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_int__void = {"_p_f_p_void_int__void", "SoQtComponentVisibilityCB *|void (*)(void *,int)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_QEvent__int = {"_p_f_p_void_p_QEvent__int", "int (*)(void *,QEvent *)|SoQtRenderAreaEventCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_QEvent__intp = {"_p_f_p_void_p_QEvent__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoAction__void = {"_p_f_p_void_p_SoAction__void", "SoCallbackCB *|void (*)(void *,SoAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionPointCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void", "SoPointCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "SoExtSelectionLineSegmentCB *|int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "SoLineSegmentCB *|void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int", "int (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoExtSelectionTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void = {"_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void", "void (*)(void *,SoCallbackAction *,SoPrimitiveVertex const *,SoPrimitiveVertex const *,SoPrimitiveVertex const *)|SoTriangleCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoDragger__void = {"_p_f_p_void_p_SoDragger__void", "void (*)(void *,SoDragger *)|SoDraggerCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoEventCallback__void = {"_p_f_p_void_p_SoEventCallback__void", "void (*)(void *,SoEventCallback *)|SoEventCallbackCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoGLRenderAction__void = {"_p_f_p_void_p_SoGLRenderAction__void", "SoGLPreRenderCB *|void (*)(void *,SoGLRenderAction *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoInput__void = {"_p_f_p_void_p_SoInput__void", "void (*)(void *,SoInput *)|SoDBHeaderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoPath__void = {"_p_f_p_void_p_SoPath__void", "void (*)(void *,SoPath *)|SoSelectionPathCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoQtComponent__void = {"_p_f_p_void_p_SoQtComponent__void", "void (*)(void *,SoQtComponent *)|SoQtComponentCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoQtViewer__void = {"_p_f_p_void_p_SoQtViewer__void", "SoQtViewerCB *|void (*)(void *,SoQtViewer *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSceneManager__void = {"_p_f_p_void_p_SoSceneManager__void", "void (*)(void *,SoSceneManager *)|SoSceneManagerRenderCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSelection__void = {"_p_f_p_void_p_SoSelection__void", "void (*)(void *,SoSelection *)|SoSelectionClassCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoSensor__void = {"_p_f_p_void_p_SoSensor__void", "SoSensorCB *|void (*)(void *,SoSensor *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_SoVRMLScript__void = {"_p_f_p_void_p_SoVRMLScript__void", "SoVRMLScriptEvaluateCB *|void (*)(void *,SoVRMLScript *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoPath = {"_p_f_p_void_p_q_const__SoPath__p_SoPath", "SoPath *(*)(void *,SoPath const *)|SoLassoSelectionFilterCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPath__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPath__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath", "SoPath *(*)(void *,SoPickedPoint const *)|SoSelectionPickCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath = {"_p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "SbStorageApplyFunc *|SoCallbackListCB *|void (*)(void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f = {"_p_f_p_void_r_q_const__SbVec2f__SbVec2f", "SbVec2f (*)(void *,SbVec2f const &)|SoQtAutoClippingCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f = {"_p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f", "SbVec4f &(*)(void *,SbVec3f const &,SbVec3f const &)|SoTextureCoordinateFunctionCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_size_t__p_void = {"_p_f_p_void_size_t__p_void", "void *(*)(void *,size_t)|SoOutputReallocCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_p_void_unsigned_int__void = {"_p_f_p_void_unsigned_int__void", "void (*)(void *,unsigned int)|SoScheduleDeleteCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void = {"_p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void", "void (*)(SbString const,enum SoQt::FatalErrors,void *)|SoQt::FatalErrorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_q_const__unsigned_long__unsigned_long = {"_p_f_q_const__unsigned_long__unsigned_long", "unsigned long (*)(unsigned long const)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int = {"_p_f_r_q_const__SbString_p_SbImage_p_void__int", "SbImageScheduleReadCB *|int (*)(SbString const &,SbImage *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp = {"_p_f_r_q_const__SbString_p_SbImage_p_void__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void", "void (*)(SbString const &,void *,SoVRMLAnchor *)|SoVRMLAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int", "VRMLPrequalifyFileCallback *|int (*)(SbString const &,void *,SoVRMLImageTexture *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void", "void (*)(SbString const &,void *,SoVRMLInline *)|SoVRMLInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void", "void (*)(SbString const &,void *,SoWWWAnchor *)|SoWWWAnchorCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void = {"_p_f_r_q_const__SbString_p_void_p_SoWWWInline__void", "void (*)(SbString const &,void *,SoWWWInline *)|SoWWWInlineFetchURLCB *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void = {"_p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void", "SbClipCallback *|void *(*)(SbVec3f const &,void *,SbVec3f const &,void *,SbVec3f const &,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_unsigned_long_p_void__void = {"_p_f_unsigned_long_p_void__void", "void (*)(unsigned long,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_unsigned_long_p_void_p_void__void = {"_p_f_unsigned_long_p_void_p_void__void", "void (*)(unsigned long,void *,void *)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_void__p_void = {"_p_f_void__p_void", "SoType::instantiationMethod|void *(*)(void)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_void__void = {"_p_f_void__void", "sogui_atexit_f *|void (*)(void)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_floatp = {"_p_floatp", "floatp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "SbBool *|intptr_t *|int *|int32_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_intp = {"_p_intp", "intp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_longp = {"_p_longp", "longp *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_open_func = {"_p_open_func", "open_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoEngineOutput = {"_p_p_SoEngineOutput", "SoEngineOutput **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoField = {"_p_p_SoField", "SoField **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_SoSFName = {"_p_p_SoSFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEnum = {"_p_p_SoMFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3s = {"_p_p_SoSFVec3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFFloat = {"_p_p_SoMFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFFloat = {"_p_p_SoSFFloat", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPath = {"_p_p_SoMFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTime = {"_p_p_SoSFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2s = {"_p_p_SoSFVec2s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEnum = {"_p_p_SoSFEnum", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFColor = {"_p_p_SoSFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFColor = {"_p_p_SoMFColor", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFRotation = {"_p_p_SoMFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFRotation = {"_p_p_SoSFRotation", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMField = {"_p_p_SoMField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBitMask = {"_p_p_SoSFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBitMask = {"_p_p_SoMFBitMask", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPath = {"_p_p_SoSFPath", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFPlane = {"_p_p_SoSFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFPlane = {"_p_p_SoMFPlane", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFNode = {"_p_p_SoMFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFString = {"_p_p_SoMFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFString = {"_p_p_SoSFString", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSField = {"_p_p_SoSField", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFEngine = {"_p_p_SoSFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFEngine = {"_p_p_SoMFEngine", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec4f = {"_p_p_SoMFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec4f = {"_p_p_SoSFVec4f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUInt32 = {"_p_p_SoSFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUInt32 = {"_p_p_SoMFUInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFBool = {"_p_p_SoMFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFNode = {"_p_p_SoSFNode", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage3 = {"_p_p_SoSFImage3", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBox3s = {"_p_p_SoSFBox3s", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFMatrix = {"_p_p_SoSFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFMatrix = {"_p_p_SoMFMatrix", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFTrigger = {"_p_p_SoSFTrigger", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3d = {"_p_p_SoSFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3d = {"_p_p_SoMFVec3d", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFImage = {"_p_p_SoSFImage", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFUShort = {"_p_p_SoSFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFUShort = {"_p_p_SoMFUShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFName = {"_p_p_SoMFName", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec3f = {"_p_p_SoMFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec3f = {"_p_p_SoSFVec3f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFInt32 = {"_p_p_SoSFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFInt32 = {"_p_p_SoMFInt32", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFVec2f = {"_p_p_SoMFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFVec2f = {"_p_p_SoSFVec2f", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFTime = {"_p_p_SoMFTime", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFBool = {"_p_p_SoSFBool", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoSFShort = {"_p_p_SoSFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_SoMFShort = {"_p_p_SoMFShort", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_p_charp = {"_p_p_charp", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_read_func = {"_p_read_func", "read_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_seek_func = {"_p_seek_func", "seek_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *|int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_tell_func = {"_p_tell_func", "tell_func *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_timeval = {"_p_timeval", "timeval *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned___int64 = {"_p_unsigned___int64", "unsigned __int64 *|uint64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint32_t *|unsigned int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0}; - -static swig_type_info *swig_type_initial[] = { - &_swigt__p_ContextDestructionCB, - &_swigt__p_CustomCursor, - &_swigt__p_FILE, - &_swigt__p_FatalErrorCB, - &_swigt__p_ProgressCallbackType, - &_swigt__p_QEvent, - &_swigt__p_QWidget, - &_swigt__p_SbColor, - &_swigt__p_SbDict, - &_swigt__p_SbIntList, - &_swigt__p_SbMatrix, - &_swigt__p_SbName, - &_swigt__p_SbPList, - &_swigt__p_SbPlane, - &_swigt__p_SbRotation, - &_swigt__p_SbString, - &_swigt__p_SbStringList, - &_swigt__p_SbTime, - &_swigt__p_SbVec2f, - &_swigt__p_SbVec2s, - &_swigt__p_SbVec3d, - &_swigt__p_SbVec3f, - &_swigt__p_SbVec3fList, - &_swigt__p_SbVec4f, - &_swigt__p_SbViewportRegion, - &_swigt__p_SoActionMethodList, - &_swigt__p_SoAnnotation, - &_swigt__p_SoAntiSquish, - &_swigt__p_SoAppearanceKit, - &_swigt__p_SoArray, - &_swigt__p_SoAsciiText, - &_swigt__p_SoAuditorList, - &_swigt__p_SoBase, - &_swigt__p_SoBaseColor, - &_swigt__p_SoBaseKit, - &_swigt__p_SoBaseList, - &_swigt__p_SoBlinker, - &_swigt__p_SoBoolOperation, - &_swigt__p_SoBoxHighlightRenderAction, - &_swigt__p_SoBumpMap, - &_swigt__p_SoBumpMapCoordinate, - &_swigt__p_SoBumpMapTransform, - &_swigt__p_SoButtonEvent, - &_swigt__p_SoCalculator, - &_swigt__p_SoCallback, - &_swigt__p_SoCallbackActionCB, - &_swigt__p_SoCamera, - &_swigt__p_SoCameraKit, - &_swigt__p_SoCenterballDragger, - &_swigt__p_SoCenterballManip, - &_swigt__p_SoChildList, - &_swigt__p_SoClipPlane, - &_swigt__p_SoClipPlaneManip, - &_swigt__p_SoColorIndex, - &_swigt__p_SoComplexity, - &_swigt__p_SoComposeMatrix, - &_swigt__p_SoComposeRotation, - &_swigt__p_SoComposeRotationFromTo, - &_swigt__p_SoComposeVec2f, - &_swigt__p_SoComposeVec3f, - &_swigt__p_SoComposeVec4f, - &_swigt__p_SoComputeBoundingBox, - &_swigt__p_SoConcatenate, - &_swigt__p_SoCone, - &_swigt__p_SoCoordinate3, - &_swigt__p_SoCoordinate4, - &_swigt__p_SoCounter, - &_swigt__p_SoCube, - &_swigt__p_SoCylinder, - &_swigt__p_SoDecomposeMatrix, - &_swigt__p_SoDecomposeRotation, - &_swigt__p_SoDecomposeVec2f, - &_swigt__p_SoDecomposeVec3f, - &_swigt__p_SoDecomposeVec4f, - &_swigt__p_SoDetailList, - &_swigt__p_SoDirectionalLight, - &_swigt__p_SoDirectionalLightDragger, - &_swigt__p_SoDirectionalLightManip, - &_swigt__p_SoDragPointDragger, - &_swigt__p_SoDragger, - &_swigt__p_SoDrawStyle, - &_swigt__p_SoElapsedTime, - &_swigt__p_SoEngine, - &_swigt__p_SoEngineList, - &_swigt__p_SoEngineOutput, - &_swigt__p_SoEngineOutputList, - &_swigt__p_SoEnvironment, - &_swigt__p_SoEvent, - &_swigt__p_SoEventCallback, - &_swigt__p_SoExtSelection, - &_swigt__p_SoFaceSet, - &_swigt__p_SoField, - &_swigt__p_SoFieldContainer, - &_swigt__p_SoFieldConverter, - &_swigt__p_SoFieldList, - &_swigt__p_SoFile, - &_swigt__p_SoFont, - &_swigt__p_SoFontStyle, - &_swigt__p_SoFullPath, - &_swigt__p_SoGLRenderAbortCB, - &_swigt__p_SoGLRenderAction, - &_swigt__p_SoGate, - &_swigt__p_SoGroup, - &_swigt__p_SoHandleBoxDragger, - &_swigt__p_SoHandleBoxManip, - &_swigt__p_SoImage, - &_swigt__p_SoIndexedFaceSet, - &_swigt__p_SoIndexedLineSet, - &_swigt__p_SoIndexedNurbsCurve, - &_swigt__p_SoIndexedNurbsSurface, - &_swigt__p_SoIndexedShape, - &_swigt__p_SoIndexedTriangleStripSet, - &_swigt__p_SoInfo, - &_swigt__p_SoInput, - &_swigt__p_SoInteractionKit, - &_swigt__p_SoInterpolate, - &_swigt__p_SoInterpolateFloat, - &_swigt__p_SoInterpolateRotation, - &_swigt__p_SoInterpolateVec2f, - &_swigt__p_SoInterpolateVec3f, - &_swigt__p_SoInterpolateVec4f, - &_swigt__p_SoIntersectionCB, - &_swigt__p_SoIntersectionFilterCB, - &_swigt__p_SoIntersectionVisitationCB, - &_swigt__p_SoJackDragger, - &_swigt__p_SoJackManip, - &_swigt__p_SoKeyboardEvent, - &_swigt__p_SoLOD, - &_swigt__p_SoLabel, - &_swigt__p_SoLevelOfDetail, - &_swigt__p_SoLight, - &_swigt__p_SoLightKit, - &_swigt__p_SoLightModel, - &_swigt__p_SoLineHighlightRenderAction, - &_swigt__p_SoLineSet, - &_swigt__p_SoLinearProfile, - &_swigt__p_SoListener, - &_swigt__p_SoLocateHighlight, - &_swigt__p_SoLocation2Event, - &_swigt__p_SoMFBitMask, - &_swigt__p_SoMFBool, - &_swigt__p_SoMFColor, - &_swigt__p_SoMFEngine, - &_swigt__p_SoMFEnum, - &_swigt__p_SoMFFloat, - &_swigt__p_SoMFInt32, - &_swigt__p_SoMFMatrix, - &_swigt__p_SoMFName, - &_swigt__p_SoMFNode, - &_swigt__p_SoMFPath, - &_swigt__p_SoMFPlane, - &_swigt__p_SoMFRotation, - &_swigt__p_SoMFShort, - &_swigt__p_SoMFString, - &_swigt__p_SoMFTime, - &_swigt__p_SoMFUInt32, - &_swigt__p_SoMFUShort, - &_swigt__p_SoMFVec2f, - &_swigt__p_SoMFVec3d, - &_swigt__p_SoMFVec3f, - &_swigt__p_SoMFVec4f, - &_swigt__p_SoMField, - &_swigt__p_SoMarkerSet, - &_swigt__p_SoMaterial, - &_swigt__p_SoMaterialBinding, - &_swigt__p_SoMatrixTransform, - &_swigt__p_SoMotion3Event, - &_swigt__p_SoMouseButtonEvent, - &_swigt__p_SoMultipleCopy, - &_swigt__p_SoNode, - &_swigt__p_SoNodeEngine, - &_swigt__p_SoNodeKitListPart, - &_swigt__p_SoNodeKitPath, - &_swigt__p_SoNodeList, - &_swigt__p_SoNonIndexedShape, - &_swigt__p_SoNormal, - &_swigt__p_SoNormalBinding, - &_swigt__p_SoNotList, - &_swigt__p_SoNotRec, - &_swigt__p_SoNurbsCurve, - &_swigt__p_SoNurbsProfile, - &_swigt__p_SoNurbsSurface, - &_swigt__p_SoOnOff, - &_swigt__p_SoOneShot, - &_swigt__p_SoOrthographicCamera, - &_swigt__p_SoOutput, - &_swigt__p_SoPackedColor, - &_swigt__p_SoPath, - &_swigt__p_SoPathList, - &_swigt__p_SoPathSwitch, - &_swigt__p_SoPendulum, - &_swigt__p_SoPerspectiveCamera, - &_swigt__p_SoPickStyle, - &_swigt__p_SoPickedPointList, - &_swigt__p_SoPointLight, - &_swigt__p_SoPointLightDragger, - &_swigt__p_SoPointLightManip, - &_swigt__p_SoPointSet, - &_swigt__p_SoPolygonOffset, - &_swigt__p_SoProfile, - &_swigt__p_SoProfileCoordinate2, - &_swigt__p_SoProfileCoordinate3, - &_swigt__p_SoProto, - &_swigt__p_SoProtoInstance, - &_swigt__p_SoQt, - &_swigt__p_SoQtComponent, - &_swigt__p_SoQtConstrainedViewer, - &_swigt__p_SoQtCursor, - &_swigt__p_SoQtDevice, - &_swigt__p_SoQtExaminerViewer, - &_swigt__p_SoQtFlyViewer, - &_swigt__p_SoQtFullViewer, - &_swigt__p_SoQtGLWidget, - &_swigt__p_SoQtKeyboard, - &_swigt__p_SoQtMouse, - &_swigt__p_SoQtObject, - &_swigt__p_SoQtPlaneViewer, - &_swigt__p_SoQtPopupMenu, - &_swigt__p_SoQtRenderArea, - &_swigt__p_SoQtSpaceball, - &_swigt__p_SoQtViewer, - &_swigt__p_SoQuadMesh, - &_swigt__p_SoResetTransform, - &_swigt__p_SoRotateCylindricalDragger, - &_swigt__p_SoRotateDiscDragger, - &_swigt__p_SoRotateSphericalDragger, - &_swigt__p_SoRotation, - &_swigt__p_SoRotationXYZ, - &_swigt__p_SoRotor, - &_swigt__p_SoSFBitMask, - &_swigt__p_SoSFBool, - &_swigt__p_SoSFBox3s, - &_swigt__p_SoSFColor, - &_swigt__p_SoSFEngine, - &_swigt__p_SoSFEnum, - &_swigt__p_SoSFFloat, - &_swigt__p_SoSFImage, - &_swigt__p_SoSFImage3, - &_swigt__p_SoSFInt32, - &_swigt__p_SoSFMatrix, - &_swigt__p_SoSFName, - &_swigt__p_SoSFNode, - &_swigt__p_SoSFPath, - &_swigt__p_SoSFPlane, - &_swigt__p_SoSFRotation, - &_swigt__p_SoSFShort, - &_swigt__p_SoSFString, - &_swigt__p_SoSFTime, - &_swigt__p_SoSFTrigger, - &_swigt__p_SoSFUInt32, - &_swigt__p_SoSFUShort, - &_swigt__p_SoSFVec2f, - &_swigt__p_SoSFVec2s, - &_swigt__p_SoSFVec3d, - &_swigt__p_SoSFVec3f, - &_swigt__p_SoSFVec3s, - &_swigt__p_SoSFVec4f, - &_swigt__p_SoSField, - &_swigt__p_SoScale, - &_swigt__p_SoScale1Dragger, - &_swigt__p_SoScale2Dragger, - &_swigt__p_SoScale2UniformDragger, - &_swigt__p_SoScaleUniformDragger, - &_swigt__p_SoSceneKit, - &_swigt__p_SoSceneManager, - &_swigt__p_SoSceneTexture2, - &_swigt__p_SoSelectOne, - &_swigt__p_SoSelection, - &_swigt__p_SoSeparator, - &_swigt__p_SoSeparatorKit, - &_swigt__p_SoShape, - &_swigt__p_SoShapeHints, - &_swigt__p_SoShapeKit, - &_swigt__p_SoShuttle, - &_swigt__p_SoSpaceballButtonEvent, - &_swigt__p_SoSphere, - &_swigt__p_SoSpotLight, - &_swigt__p_SoSpotLightDragger, - &_swigt__p_SoSpotLightManip, - &_swigt__p_SoSurroundScale, - &_swigt__p_SoSwitch, - &_swigt__p_SoTabBoxDragger, - &_swigt__p_SoTabBoxManip, - &_swigt__p_SoTabPlaneDragger, - &_swigt__p_SoTempPath, - &_swigt__p_SoText2, - &_swigt__p_SoText3, - &_swigt__p_SoTexture2, - &_swigt__p_SoTexture2Transform, - &_swigt__p_SoTexture3, - &_swigt__p_SoTexture3Transform, - &_swigt__p_SoTextureCombine, - &_swigt__p_SoTextureCoordinate2, - &_swigt__p_SoTextureCoordinate3, - &_swigt__p_SoTextureCoordinateBinding, - &_swigt__p_SoTextureCoordinateCube, - &_swigt__p_SoTextureCoordinateCylinder, - &_swigt__p_SoTextureCoordinateDefault, - &_swigt__p_SoTextureCoordinateEnvironment, - &_swigt__p_SoTextureCoordinateFunction, - &_swigt__p_SoTextureCoordinatePlane, - &_swigt__p_SoTextureCoordinateSphere, - &_swigt__p_SoTextureScalePolicy, - &_swigt__p_SoTextureUnit, - &_swigt__p_SoTimeCounter, - &_swigt__p_SoTrackballDragger, - &_swigt__p_SoTrackballManip, - &_swigt__p_SoTransform, - &_swigt__p_SoTransformBoxDragger, - &_swigt__p_SoTransformBoxManip, - &_swigt__p_SoTransformManip, - &_swigt__p_SoTransformSeparator, - &_swigt__p_SoTransformVec3f, - &_swigt__p_SoTransformation, - &_swigt__p_SoTransformerDragger, - &_swigt__p_SoTransformerManip, - &_swigt__p_SoTranslate1Dragger, - &_swigt__p_SoTranslate2Dragger, - &_swigt__p_SoTranslation, - &_swigt__p_SoTransparencyType, - &_swigt__p_SoTriangleStripSet, - &_swigt__p_SoTriggerAny, - &_swigt__p_SoType, - &_swigt__p_SoTypeList, - &_swigt__p_SoUnits, - &_swigt__p_SoVRMLAnchor, - &_swigt__p_SoVRMLAppearance, - &_swigt__p_SoVRMLAudioClip, - &_swigt__p_SoVRMLBackground, - &_swigt__p_SoVRMLBillboard, - &_swigt__p_SoVRMLBox, - &_swigt__p_SoVRMLCollision, - &_swigt__p_SoVRMLColor, - &_swigt__p_SoVRMLColorInterpolator, - &_swigt__p_SoVRMLCone, - &_swigt__p_SoVRMLCoordinate, - &_swigt__p_SoVRMLCoordinateInterpolator, - &_swigt__p_SoVRMLCylinder, - &_swigt__p_SoVRMLCylinderSensor, - &_swigt__p_SoVRMLDirectionalLight, - &_swigt__p_SoVRMLDragSensor, - &_swigt__p_SoVRMLElevationGrid, - &_swigt__p_SoVRMLExtrusion, - &_swigt__p_SoVRMLFog, - &_swigt__p_SoVRMLFontStyle, - &_swigt__p_SoVRMLGeometry, - &_swigt__p_SoVRMLGroup, - &_swigt__p_SoVRMLImageTexture, - &_swigt__p_SoVRMLIndexedFaceSet, - &_swigt__p_SoVRMLIndexedLine, - &_swigt__p_SoVRMLIndexedLineSet, - &_swigt__p_SoVRMLIndexedShape, - &_swigt__p_SoVRMLInline, - &_swigt__p_SoVRMLInterpolator, - &_swigt__p_SoVRMLLOD, - &_swigt__p_SoVRMLLight, - &_swigt__p_SoVRMLMaterial, - &_swigt__p_SoVRMLMovieTexture, - &_swigt__p_SoVRMLNavigationInfo, - &_swigt__p_SoVRMLNormal, - &_swigt__p_SoVRMLNormalInterpolator, - &_swigt__p_SoVRMLOrientationInterpolator, - &_swigt__p_SoVRMLParent, - &_swigt__p_SoVRMLPixelTexture, - &_swigt__p_SoVRMLPlaneSensor, - &_swigt__p_SoVRMLPointLight, - &_swigt__p_SoVRMLPointSet, - &_swigt__p_SoVRMLPositionInterpolator, - &_swigt__p_SoVRMLProximitySensor, - &_swigt__p_SoVRMLScalarInterpolator, - &_swigt__p_SoVRMLScript, - &_swigt__p_SoVRMLSensor, - &_swigt__p_SoVRMLShape, - &_swigt__p_SoVRMLSound, - &_swigt__p_SoVRMLSphere, - &_swigt__p_SoVRMLSphereSensor, - &_swigt__p_SoVRMLSpotLight, - &_swigt__p_SoVRMLSwitch, - &_swigt__p_SoVRMLText, - &_swigt__p_SoVRMLTexture, - &_swigt__p_SoVRMLTextureCoordinate, - &_swigt__p_SoVRMLTextureTransform, - &_swigt__p_SoVRMLTimeSensor, - &_swigt__p_SoVRMLTouchSensor, - &_swigt__p_SoVRMLTransform, - &_swigt__p_SoVRMLVertexLine, - &_swigt__p_SoVRMLVertexPoint, - &_swigt__p_SoVRMLVertexShape, - &_swigt__p_SoVRMLViewpoint, - &_swigt__p_SoVRMLVisibilitySensor, - &_swigt__p_SoVRMLWorldInfo, - &_swigt__p_SoVertexProperty, - &_swigt__p_SoVertexShape, - &_swigt__p_SoWWWAnchor, - &_swigt__p_SoWWWInline, - &_swigt__p_SoWrapperKit, - &_swigt__p___int64, - &_swigt__p_a_4__a_4__double, - &_swigt__p_a_4__a_4__doublep, - &_swigt__p_a_4__a_4__float, - &_swigt__p_a_4__a_4__floatp, - &_swigt__p_cc_glglue, - &_swigt__p_char, - &_swigt__p_charp, - &_swigt__p_close_func, - &_swigt__p_double, - &_swigt__p_doublep, - &_swigt__p_f_char__char, - &_swigt__p_f_char__charp, - &_swigt__p_f_float_p_void_p_SoQtViewer__void, - &_swigt__p_f_int_p_void__void, - &_swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, - &_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - &_swigt__p_f_p_q_const__SoError_p_void__void, - &_swigt__p_f_p_void__void, - &_swigt__p_f_p_void_int__void, - &_swigt__p_f_p_void_p_QEvent__int, - &_swigt__p_f_p_void_p_QEvent__intp, - &_swigt__p_f_p_void_p_SoAction__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - &_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - &_swigt__p_f_p_void_p_SoDragger__void, - &_swigt__p_f_p_void_p_SoEventCallback__void, - &_swigt__p_f_p_void_p_SoGLRenderAction__void, - &_swigt__p_f_p_void_p_SoInput__void, - &_swigt__p_f_p_void_p_SoPath__void, - &_swigt__p_f_p_void_p_SoQtComponent__void, - &_swigt__p_f_p_void_p_SoQtViewer__void, - &_swigt__p_f_p_void_p_SoSceneManager__void, - &_swigt__p_f_p_void_p_SoSelection__void, - &_swigt__p_f_p_void_p_SoSensor__void, - &_swigt__p_f_p_void_p_SoVRMLScript__void, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - &_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - &_swigt__p_f_p_void_p_void__void, - &_swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f, - &_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - &_swigt__p_f_p_void_size_t__p_void, - &_swigt__p_f_p_void_unsigned_int__void, - &_swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, - &_swigt__p_f_q_const__unsigned_long__unsigned_long, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, - &_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - &_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - &_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - &_swigt__p_f_unsigned_long_p_void__void, - &_swigt__p_f_unsigned_long_p_void_p_void__void, - &_swigt__p_f_void__p_void, - &_swigt__p_f_void__void, - &_swigt__p_float, - &_swigt__p_floatp, - &_swigt__p_int, - &_swigt__p_intp, - &_swigt__p_long, - &_swigt__p_longp, - &_swigt__p_open_func, - &_swigt__p_p_SoEngineOutput, - &_swigt__p_p_SoField, - &_swigt__p_p_SoMFBitMask, - &_swigt__p_p_SoMFBool, - &_swigt__p_p_SoMFColor, - &_swigt__p_p_SoMFEngine, - &_swigt__p_p_SoMFEnum, - &_swigt__p_p_SoMFFloat, - &_swigt__p_p_SoMFInt32, - &_swigt__p_p_SoMFMatrix, - &_swigt__p_p_SoMFName, - &_swigt__p_p_SoMFNode, - &_swigt__p_p_SoMFPath, - &_swigt__p_p_SoMFPlane, - &_swigt__p_p_SoMFRotation, - &_swigt__p_p_SoMFShort, - &_swigt__p_p_SoMFString, - &_swigt__p_p_SoMFTime, - &_swigt__p_p_SoMFUInt32, - &_swigt__p_p_SoMFUShort, - &_swigt__p_p_SoMFVec2f, - &_swigt__p_p_SoMFVec3d, - &_swigt__p_p_SoMFVec3f, - &_swigt__p_p_SoMFVec4f, - &_swigt__p_p_SoMField, - &_swigt__p_p_SoSFBitMask, - &_swigt__p_p_SoSFBool, - &_swigt__p_p_SoSFBox3s, - &_swigt__p_p_SoSFColor, - &_swigt__p_p_SoSFEngine, - &_swigt__p_p_SoSFEnum, - &_swigt__p_p_SoSFFloat, - &_swigt__p_p_SoSFImage, - &_swigt__p_p_SoSFImage3, - &_swigt__p_p_SoSFInt32, - &_swigt__p_p_SoSFMatrix, - &_swigt__p_p_SoSFName, - &_swigt__p_p_SoSFNode, - &_swigt__p_p_SoSFPath, - &_swigt__p_p_SoSFPlane, - &_swigt__p_p_SoSFRotation, - &_swigt__p_p_SoSFShort, - &_swigt__p_p_SoSFString, - &_swigt__p_p_SoSFTime, - &_swigt__p_p_SoSFTrigger, - &_swigt__p_p_SoSFUInt32, - &_swigt__p_p_SoSFUShort, - &_swigt__p_p_SoSFVec2f, - &_swigt__p_p_SoSFVec2s, - &_swigt__p_p_SoSFVec3d, - &_swigt__p_p_SoSFVec3f, - &_swigt__p_p_SoSFVec3s, - &_swigt__p_p_SoSFVec4f, - &_swigt__p_p_SoSField, - &_swigt__p_p_char, - &_swigt__p_p_charp, - &_swigt__p_p_void, - &_swigt__p_read_func, - &_swigt__p_seek_func, - &_swigt__p_short, - &_swigt__p_tell_func, - &_swigt__p_time_t, - &_swigt__p_timeval, - &_swigt__p_unsigned___int64, - &_swigt__p_unsigned_char, - &_swigt__p_unsigned_int, - &_swigt__p_unsigned_short, - &_swigt__p_void, -}; - -static swig_cast_info _swigc__p_ContextDestructionCB[] = { {&_swigt__p_ContextDestructionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_CustomCursor[] = { {&_swigt__p_CustomCursor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FatalErrorCB[] = { {&_swigt__p_FatalErrorCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProgressCallbackType[] = { {&_swigt__p_ProgressCallbackType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_QEvent[] = { {&_swigt__p_QEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_QWidget[] = { {&_swigt__p_QWidget, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbColor[] = { {&_swigt__p_SbColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbDict[] = { {&_swigt__p_SbDict, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbIntList[] = { {&_swigt__p_SbIntList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbMatrix[] = { {&_swigt__p_SbMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbName[] = { {&_swigt__p_SbName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAuditorList[] = {{&_swigt__p_SoAuditorList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickedPointList[] = {{&_swigt__p_SoPickedPointList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3fList[] = {{&_swigt__p_SbVec3fList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathList[] = {{&_swigt__p_SoPathList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseList[] = {{&_swigt__p_SoBaseList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutputList[] = {{&_swigt__p_SoEngineOutputList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoChildList[] = {{&_swigt__p_SoChildList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeList[] = {{&_swigt__p_SoNodeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbStringList[] = {{&_swigt__p_SbStringList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoActionMethodList[] = {{&_swigt__p_SoActionMethodList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineList[] = {{&_swigt__p_SoEngineList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDetailList[] = {{&_swigt__p_SoDetailList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPList[] = { {&_swigt__p_SoAuditorList, _p_SoAuditorListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPickedPointList, _p_SoPickedPointListTo_p_SbPList, 0, 0}, {&_swigt__p_SbIntList, _p_SbIntListTo_p_SbPList, 0, 0}, {&_swigt__p_SoTypeList, _p_SoTypeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbVec3fList, _p_SbVec3fListTo_p_SbPList, 0, 0}, {&_swigt__p_SoPathList, _p_SoPathListTo_p_SbPList, 0, 0}, {&_swigt__p_SoBaseList, _p_SoBaseListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineOutputList, _p_SoEngineOutputListTo_p_SbPList, 0, 0}, {&_swigt__p_SoChildList, _p_SoChildListTo_p_SbPList, 0, 0}, {&_swigt__p_SoFieldList, _p_SoFieldListTo_p_SbPList, 0, 0}, {&_swigt__p_SbPList, 0, 0, 0}, {&_swigt__p_SoNodeList, _p_SoNodeListTo_p_SbPList, 0, 0}, {&_swigt__p_SbStringList, _p_SbStringListTo_p_SbPList, 0, 0}, {&_swigt__p_SoActionMethodList, _p_SoActionMethodListTo_p_SbPList, 0, 0}, {&_swigt__p_SoEngineList, _p_SoEngineListTo_p_SbPList, 0, 0}, {&_swigt__p_SoDetailList, _p_SoDetailListTo_p_SbPList, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbPlane[] = { {&_swigt__p_SbPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbRotation[] = { {&_swigt__p_SbRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbString[] = { {&_swigt__p_SbString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbTime[] = { {&_swigt__p_SbTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2f[] = { {&_swigt__p_SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec2s[] = { {&_swigt__p_SbVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3d[] = { {&_swigt__p_SbVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec3f[] = { {&_swigt__p_SbVec3f, 0, 0, 0}, {&_swigt__p_SbColor, _p_SbColorTo_p_SbVec3f, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbVec4f[] = { {&_swigt__p_SbVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SbViewportRegion[] = { {&_swigt__p_SbViewportRegion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlane[] = {{&_swigt__p_SoClipPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapCoordinate[] = {{&_swigt__p_SoBumpMapCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinate[] = {{&_swigt__p_SoVRMLCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureCoordinate[] = {{&_swigt__p_SoVRMLTextureCoordinate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCombine[] = {{&_swigt__p_SoTextureCombine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightKit[] = {{&_swigt__p_SoLightKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedTriangleStripSet[] = {{&_swigt__p_SoIndexedTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriangleStripSet[] = {{&_swigt__p_SoTriangleStripSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLExtrusion[] = {{&_swigt__p_SoVRMLExtrusion, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOnOff[] = {{&_swigt__p_SoOnOff, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseKit[] = {{&_swigt__p_SoBaseKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoExtSelection[] = {{&_swigt__p_SoExtSelection, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexProperty[] = {{&_swigt__p_SoVertexProperty, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotationXYZ[] = {{&_swigt__p_SoRotationXYZ, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComplexity[] = {{&_swigt__p_SoComplexity, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBillboard[] = {{&_swigt__p_SoVRMLBillboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLightModel[] = {{&_swigt__p_SoLightModel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoUnits[] = {{&_swigt__p_SoUnits, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeKit[] = {{&_swigt__p_SoShapeKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAnnotation[] = {{&_swigt__p_SoAnnotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotation[] = {{&_swigt__p_SoComposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeRotation[] = {{&_swigt__p_SoDecomposeRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateRotation[] = {{&_swigt__p_SoInterpolateRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotation[] = {{&_swigt__p_SoRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsSurface[] = {{&_swigt__p_SoIndexedNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsSurface[] = {{&_swigt__p_SoNurbsSurface, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLinearProfile[] = {{&_swigt__p_SoLinearProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfile[] = {{&_swigt__p_SoProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsProfile[] = {{&_swigt__p_SoNurbsProfile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldConverter[] = {{&_swigt__p_SoFieldConverter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLParent[] = {{&_swigt__p_SoVRMLParent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec2f[] = {{&_swigt__p_SoInterpolateVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLight[] = {{&_swigt__p_SoVRMLLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoClipPlaneManip[] = {{&_swigt__p_SoClipPlaneManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAsciiText[] = {{&_swigt__p_SoAsciiText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGeometry[] = {{&_swigt__p_SoVRMLGeometry, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCylinder[] = {{&_swigt__p_SoCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCylinder[] = {{&_swigt__p_SoTextureCoordinateCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinder[] = {{&_swigt__p_SoVRMLCylinder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNavigationInfo[] = {{&_swigt__p_SoVRMLNavigationInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComputeBoundingBox[] = {{&_swigt__p_SoComputeBoundingBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMatrixTransform[] = {{&_swigt__p_SoMatrixTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMapTransform[] = {{&_swigt__p_SoBumpMapTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransform[] = {{&_swigt__p_SoTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoResetTransform[] = {{&_swigt__p_SoResetTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2Transform[] = {{&_swigt__p_SoTexture2Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3Transform[] = {{&_swigt__p_SoTexture3Transform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTextureTransform[] = {{&_swigt__p_SoVRMLTextureTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTransform[] = {{&_swigt__p_SoVRMLTransform, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec3f[] = {{&_swigt__p_SoComposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec3f[] = {{&_swigt__p_SoDecomposeVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPath[] = {{&_swigt__p_SoPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparatorKit[] = {{&_swigt__p_SoSeparatorKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexLine[] = {{&_swigt__p_SoVRMLVertexLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFullPath[] = {{&_swigt__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLight[] = {{&_swigt__p_SoLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSound[] = {{&_swigt__p_SoVRMLSound, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeEngine[] = {{&_swigt__p_SoNodeEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngine[] = {{&_swigt__p_SoEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointSet[] = {{&_swigt__p_SoPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointSet[] = {{&_swigt__p_SoVRMLPointSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterial[] = {{&_swigt__p_SoMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMaterial[] = {{&_swigt__p_SoVRMLMaterial, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBaseColor[] = {{&_swigt__p_SoBaseColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTriggerAny[] = {{&_swigt__p_SoTriggerAny, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoColorIndex[] = {{&_swigt__p_SoColorIndex, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColor[] = {{&_swigt__p_SoVRMLColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLWorldInfo[] = {{&_swigt__p_SoVRMLWorldInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLight[] = {{&_swigt__p_SoSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSpotLight[] = {{&_swigt__p_SoVRMLSpotLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateDefault[] = {{&_swigt__p_SoTextureCoordinateDefault, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBlinker[] = {{&_swigt__p_SoBlinker, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShuttle[] = {{&_swigt__p_SoShuttle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLGroup[] = {{&_swigt__p_SoVRMLGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAnchor[] = {{&_swigt__p_SoVRMLAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSensor[] = {{&_swigt__p_SoVRMLSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCylinderSensor[] = {{&_swigt__p_SoVRMLCylinderSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTouchSensor[] = {{&_swigt__p_SoVRMLTouchSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoolOperation[] = {{&_swigt__p_SoBoolOperation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMarkerSet[] = {{&_swigt__p_SoMarkerSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightManip[] = {{&_swigt__p_SoSpotLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightManip[] = {{&_swigt__p_SoPointLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightManip[] = {{&_swigt__p_SoDirectionalLightManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedNurbsCurve[] = {{&_swigt__p_SoIndexedNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNurbsCurve[] = {{&_swigt__p_SoNurbsCurve, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedShape[] = {{&_swigt__p_SoIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNonIndexedShape[] = {{&_swigt__p_SoNonIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedShape[] = {{&_swigt__p_SoVRMLIndexedShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotor[] = {{&_swigt__p_SoRotor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateCube[] = {{&_swigt__p_SoTextureCoordinateCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLText[] = {{&_swigt__p_SoVRMLText, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOneShot[] = {{&_swigt__p_SoOneShot, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerManip[] = {{&_swigt__p_SoTransformerManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec3f[] = {{&_swigt__p_SoInterpolateVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateFloat[] = {{&_swigt__p_SoInterpolateFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAntiSquish[] = {{&_swigt__p_SoAntiSquish, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGroup[] = {{&_swigt__p_SoGroup, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMultipleCopy[] = {{&_swigt__p_SoMultipleCopy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoListener[] = {{&_swigt__p_SoListener, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec4f[] = {{&_swigt__p_SoComposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec4f[] = {{&_swigt__p_SoDecomposeVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformation[] = {{&_swigt__p_SoTransformation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFontStyle[] = {{&_swigt__p_SoFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFontStyle[] = {{&_swigt__p_SoVRMLFontStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoImage[] = {{&_swigt__p_SoImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAppearance[] = {{&_swigt__p_SoVRMLAppearance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLight[] = {{&_swigt__p_SoPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPointLight[] = {{&_swigt__p_SoVRMLPointLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformManip[] = {{&_swigt__p_SoTransformManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPolygonOffset[] = {{&_swigt__p_SoPolygonOffset, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBackground[] = {{&_swigt__p_SoVRMLBackground, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWAnchor[] = {{&_swigt__p_SoWWWAnchor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEventCallback[] = {{&_swigt__p_SoEventCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallback[] = {{&_swigt__p_SoCallback, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDragSensor[] = {{&_swigt__p_SoVRMLDragSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPlaneSensor[] = {{&_swigt__p_SoVRMLPlaneSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLProximitySensor[] = {{&_swigt__p_SoVRMLProximitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphereSensor[] = {{&_swigt__p_SoVRMLSphereSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTimeSensor[] = {{&_swigt__p_SoVRMLTimeSensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVisibilitySensor[] = {{&_swigt__p_SoVRMLVisibilitySensor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackManip[] = {{&_swigt__p_SoJackManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOrthographicCamera[] = {{&_swigt__p_SoOrthographicCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPerspectiveCamera[] = {{&_swigt__p_SoPerspectiveCamera, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCameraKit[] = {{&_swigt__p_SoCameraKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoArray[] = {{&_swigt__p_SoArray, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoElapsedTime[] = {{&_swigt__p_SoElapsedTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSphere[] = {{&_swigt__p_SoVRMLSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEnvironment[] = {{&_swigt__p_SoEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateEnvironment[] = {{&_swigt__p_SoTextureCoordinateEnvironment, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDrawStyle[] = {{&_swigt__p_SoDrawStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelectOne[] = {{&_swigt__p_SoSelectOne, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLBox[] = {{&_swigt__p_SoVRMLBox, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLFog[] = {{&_swigt__p_SoVRMLFog, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransparencyType[] = {{&_swigt__p_SoTransparencyType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolateVec4f[] = {{&_swigt__p_SoInterpolateVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSurroundScale[] = {{&_swigt__p_SoSurroundScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoConcatenate[] = {{&_swigt__p_SoConcatenate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVertexShape[] = {{&_swigt__p_SoVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexShape[] = {{&_swigt__p_SoVRMLVertexShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCone[] = {{&_swigt__p_SoCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureUnit[] = {{&_swigt__p_SoTextureUnit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoAppearanceKit[] = {{&_swigt__p_SoAppearanceKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpotLightDragger[] = {{&_swigt__p_SoSpotLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScaleUniformDragger[] = {{&_swigt__p_SoScaleUniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2UniformDragger[] = {{&_swigt__p_SoScale2UniformDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale2Dragger[] = {{&_swigt__p_SoScale2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale1Dragger[] = {{&_swigt__p_SoScale1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateSphericalDragger[] = {{&_swigt__p_SoRotateSphericalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateDiscDragger[] = {{&_swigt__p_SoRotateDiscDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoRotateCylindricalDragger[] = {{&_swigt__p_SoRotateCylindricalDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPointLightDragger[] = {{&_swigt__p_SoPointLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoJackDragger[] = {{&_swigt__p_SoJackDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxDragger[] = {{&_swigt__p_SoHandleBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragPointDragger[] = {{&_swigt__p_SoDragPointDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxDragger[] = {{&_swigt__p_SoTabBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFile[] = {{&_swigt__p_SoFile, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLightDragger[] = {{&_swigt__p_SoDirectionalLightDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballDragger[] = {{&_swigt__p_SoCenterballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDragger[] = {{&_swigt__p_SoDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabPlaneDragger[] = {{&_swigt__p_SoTabPlaneDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballDragger[] = {{&_swigt__p_SoTrackballDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxDragger[] = {{&_swigt__p_SoTransformBoxDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformerDragger[] = {{&_swigt__p_SoTransformerDragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate1Dragger[] = {{&_swigt__p_SoTranslate1Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslate2Dragger[] = {{&_swigt__p_SoTranslate2Dragger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPickStyle[] = {{&_swigt__p_SoPickStyle, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTempPath[] = {{&_swigt__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInterpolator[] = {{&_swigt__p_SoVRMLInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLColorInterpolator[] = {{&_swigt__p_SoVRMLColorInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCoordinateInterpolator[] = {{&_swigt__p_SoVRMLCoordinateInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormalInterpolator[] = {{&_swigt__p_SoVRMLNormalInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLOrientationInterpolator[] = {{&_swigt__p_SoVRMLOrientationInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPositionInterpolator[] = {{&_swigt__p_SoVRMLPositionInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScalarInterpolator[] = {{&_swigt__p_SoVRMLScalarInterpolator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCone[] = {{&_swigt__p_SoVRMLCone, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLine[] = {{&_swigt__p_SoVRMLIndexedLine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLTexture[] = {{&_swigt__p_SoVRMLTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLImageTexture[] = {{&_swigt__p_SoVRMLImageTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLMovieTexture[] = {{&_swigt__p_SoVRMLMovieTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLPixelTexture[] = {{&_swigt__p_SoVRMLPixelTexture, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformVec3f[] = {{&_swigt__p_SoTransformVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateFunction[] = {{&_swigt__p_SoTextureCoordinateFunction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSphere[] = {{&_swigt__p_SoSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitListPart[] = {{&_swigt__p_SoNodeKitListPart, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateSphere[] = {{&_swigt__p_SoTextureCoordinateSphere, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneKit[] = {{&_swigt__p_SoSceneKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPendulum[] = {{&_swigt__p_SoPendulum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShapeHints[] = {{&_swigt__p_SoShapeHints, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture2[] = {{&_swigt__p_SoTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneTexture2[] = {{&_swigt__p_SoSceneTexture2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTexture3[] = {{&_swigt__p_SoTexture3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinatePlane[] = {{&_swigt__p_SoTextureCoordinatePlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLAudioClip[] = {{&_swigt__p_SoVRMLAudioClip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQuadMesh[] = {{&_swigt__p_SoQuadMesh, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCounter[] = {{&_swigt__p_SoCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTimeCounter[] = {{&_swigt__p_SoTimeCounter, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPathSwitch[] = {{&_swigt__p_SoPathSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLSwitch[] = {{&_swigt__p_SoVRMLSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText2[] = {{&_swigt__p_SoText2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSeparator[] = {{&_swigt__p_SoSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoText3[] = {{&_swigt__p_SoText3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformSeparator[] = {{&_swigt__p_SoTransformSeparator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInteractionKit[] = {{&_swigt__p_SoInteractionKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBumpMap[] = {{&_swigt__p_SoBumpMap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate2[] = {{&_swigt__p_SoProfileCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate2[] = {{&_swigt__p_SoTextureCoordinate2, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLNormal[] = {{&_swigt__p_SoVRMLNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate3[] = {{&_swigt__p_SoCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProfileCoordinate3[] = {{&_swigt__p_SoProfileCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinate3[] = {{&_swigt__p_SoTextureCoordinate3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCoordinate4[] = {{&_swigt__p_SoCoordinate4, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLLOD[] = {{&_swigt__p_SoVRMLLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFont[] = {{&_swigt__p_SoFont, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeRotationFromTo[] = {{&_swigt__p_SoComposeRotationFromTo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocateHighlight[] = {{&_swigt__p_SoLocateHighlight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLElevationGrid[] = {{&_swigt__p_SoVRMLElevationGrid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLShape[] = {{&_swigt__p_SoVRMLShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLVertexPoint[] = {{&_swigt__p_SoVRMLVertexPoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLViewpoint[] = {{&_swigt__p_SoVRMLViewpoint, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMaterialBinding[] = {{&_swigt__p_SoMaterialBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormalBinding[] = {{&_swigt__p_SoNormalBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureCoordinateBinding[] = {{&_swigt__p_SoTextureCoordinateBinding, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInterpolate[] = {{&_swigt__p_SoInterpolate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTransformBoxManip[] = {{&_swigt__p_SoTransformBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTabBoxManip[] = {{&_swigt__p_SoTabBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoHandleBoxManip[] = {{&_swigt__p_SoHandleBoxManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLCollision[] = {{&_swigt__p_SoVRMLCollision, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoPackedColor[] = {{&_swigt__p_SoPackedColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeMatrix[] = {{&_swigt__p_SoComposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeMatrix[] = {{&_swigt__p_SoDecomposeMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSwitch[] = {{&_swigt__p_SoSwitch, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedFaceSet[] = {{&_swigt__p_SoIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFaceSet[] = {{&_swigt__p_SoFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTranslation[] = {{&_swigt__p_SoTranslation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedFaceSet[] = {{&_swigt__p_SoVRMLIndexedFaceSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNodeKitPath[] = {{&_swigt__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoShape[] = {{&_swigt__p_SoShape, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTextureScalePolicy[] = {{&_swigt__p_SoTextureScalePolicy, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLScript[] = {{&_swigt__p_SoVRMLScript, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNormal[] = {{&_swigt__p_SoNormal, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLInline[] = {{&_swigt__p_SoVRMLInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCalculator[] = {{&_swigt__p_SoCalculator, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCube[] = {{&_swigt__p_SoCube, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWrapperKit[] = {{&_swigt__p_SoWrapperKit, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGate[] = {{&_swigt__p_SoGate, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoScale[] = {{&_swigt__p_SoScale, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineSet[] = {{&_swigt__p_SoLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIndexedLineSet[] = {{&_swigt__p_SoIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLabel[] = {{&_swigt__p_SoLabel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLIndexedLineSet[] = {{&_swigt__p_SoVRMLIndexedLineSet, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProtoInstance[] = {{&_swigt__p_SoProtoInstance, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInfo[] = {{&_swigt__p_SoInfo, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoVRMLDirectionalLight[] = {{&_swigt__p_SoVRMLDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoComposeVec2f[] = {{&_swigt__p_SoComposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDecomposeVec2f[] = {{&_swigt__p_SoDecomposeVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoProto[] = {{&_swigt__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoWWWInline[] = {{&_swigt__p_SoWWWInline, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCenterballManip[] = {{&_swigt__p_SoCenterballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTrackballManip[] = {{&_swigt__p_SoTrackballManip, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLOD[] = {{&_swigt__p_SoLOD, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLevelOfDetail[] = {{&_swigt__p_SoLevelOfDetail, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBase[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoBase, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoBase, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoBase, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoBase, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoBase, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoBase, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoPath, _p_SoPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoFullPath, _p_SoFullPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoBase, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoBase, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoBase, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoBase, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoBase, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoBase, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoBase, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoBase, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoBase, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoBase, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoBase, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoBase, 0, 0}, {&_swigt__p_SoFieldContainer, _p_SoFieldContainerTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoBase, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoBase, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoBase, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoBase, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoBase, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoBase, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoBase, 0, 0}, {&_swigt__p_SoBase, 0, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoBase, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoBase, 0, 0}, {&_swigt__p_SoTempPath, _p_SoTempPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoBase, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoBase, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoBase, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoBase, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoBase, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoBase, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoBase, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoBase, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoBase, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoBase, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoBase, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoBase, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoBase, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoBase, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoBase, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoBase, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoBase, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoNodeKitPath, _p_SoNodeKitPathTo_p_SoBase, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoBase, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoBase, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoBase, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoBase, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoBase, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoBase, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoBase, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoBase, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoBase, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoBase, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoBase, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoBase, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoBase, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoBase, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoBase, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoBase, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoBase, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoBase, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCallbackActionCB[] = { {&_swigt__p_SoCallbackActionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoCamera[] = { {&_swigt__p_SoCamera, 0, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoCamera, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoCamera, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoDirectionalLight[] = { {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoDirectionalLight, 0, 0}, {&_swigt__p_SoDirectionalLight, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEngineOutput[] = { {&_swigt__p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMotion3Event[] = {{&_swigt__p_SoMotion3Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoButtonEvent[] = {{&_swigt__p_SoButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMouseButtonEvent[] = {{&_swigt__p_SoMouseButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSpaceballButtonEvent[] = {{&_swigt__p_SoSpaceballButtonEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLocation2Event[] = {{&_swigt__p_SoLocation2Event, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoKeyboardEvent[] = {{&_swigt__p_SoKeyboardEvent, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoEvent[] = { {&_swigt__p_SoMotion3Event, _p_SoMotion3EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoButtonEvent, _p_SoButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoMouseButtonEvent, _p_SoMouseButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoSpaceballButtonEvent, _p_SoSpaceballButtonEventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoEvent, 0, 0, 0}, {&_swigt__p_SoLocation2Event, _p_SoLocation2EventTo_p_SoEvent, 0, 0}, {&_swigt__p_SoKeyboardEvent, _p_SoKeyboardEventTo_p_SoEvent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFName[] = {{&_swigt__p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEnum[] = {{&_swigt__p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3s[] = {{&_swigt__p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFFloat[] = {{&_swigt__p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFFloat[] = {{&_swigt__p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPath[] = {{&_swigt__p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTime[] = {{&_swigt__p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2s[] = {{&_swigt__p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEnum[] = {{&_swigt__p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFColor[] = {{&_swigt__p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFColor[] = {{&_swigt__p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFRotation[] = {{&_swigt__p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFRotation[] = {{&_swigt__p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBitMask[] = {{&_swigt__p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBitMask[] = {{&_swigt__p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPath[] = {{&_swigt__p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFPlane[] = {{&_swigt__p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFPlane[] = {{&_swigt__p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFNode[] = {{&_swigt__p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFString[] = {{&_swigt__p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFString[] = {{&_swigt__p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFEngine[] = {{&_swigt__p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec4f[] = {{&_swigt__p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFEngine[] = {{&_swigt__p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUInt32[] = {{&_swigt__p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUInt32[] = {{&_swigt__p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFBool[] = {{&_swigt__p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBox3s[] = {{&_swigt__p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage3[] = {{&_swigt__p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFNode[] = {{&_swigt__p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFMatrix[] = {{&_swigt__p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3d[] = {{&_swigt__p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFTrigger[] = {{&_swigt__p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFMatrix[] = {{&_swigt__p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFUShort[] = {{&_swigt__p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFUShort[] = {{&_swigt__p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFImage[] = {{&_swigt__p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFName[] = {{&_swigt__p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec3f[] = {{&_swigt__p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFInt32[] = {{&_swigt__p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFInt32[] = {{&_swigt__p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFTime[] = {{&_swigt__p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFVec2f[] = {{&_swigt__p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFShort[] = {{&_swigt__p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFShort[] = {{&_swigt__p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSFBool[] = {{&_swigt__p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoField[] = { {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoField, 0, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoField, 0, 0}, {&_swigt__p_SoMField, _p_SoMFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoField, 0, 0}, {&_swigt__p_SoSField, _p_SoSFieldTo_p_SoField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoField, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldContainer[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOnOff, _p_SoOnOffTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotation, _p_SoComposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeRotation, _p_SoDecomposeRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateRotation, _p_SoInterpolateRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldConverter, _p_SoFieldConverterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec2f, _p_SoInterpolateVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComputeBoundingBox, _p_SoComputeBoundingBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec3f, _p_SoComposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec3f, _p_SoDecomposeVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEngine, _p_SoEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTriggerAny, _p_SoTriggerAnyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBoolOperation, _p_SoBoolOperationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOneShot, _p_SoOneShotTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec3f, _p_SoInterpolateVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateFloat, _p_SoInterpolateFloatTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec4f, _p_SoComposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec4f, _p_SoDecomposeVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFieldContainer, 0, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoElapsedTime, _p_SoElapsedTimeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSelectOne, _p_SoSelectOneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolateVec4f, _p_SoInterpolateVec4fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoConcatenate, _p_SoConcatenateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformVec3f, _p_SoTransformVec3fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCounter, _p_SoCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTimeCounter, _p_SoTimeCounterTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeRotationFromTo, _p_SoComposeRotationFromToTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInterpolate, _p_SoInterpolateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeMatrix, _p_SoComposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeMatrix, _p_SoDecomposeMatrixTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCalculator, _p_SoCalculatorTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoGate, _p_SoGateTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoNode, _p_SoNodeTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoComposeVec2f, _p_SoComposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoDecomposeVec2f, _p_SoDecomposeVec2fTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoFieldContainer, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoFieldContainer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoFieldList[] = { {&_swigt__p_SoFieldList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAbortCB[] = { {&_swigt__p_SoGLRenderAbortCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoBoxHighlightRenderAction[] = {{&_swigt__p_SoBoxHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoLineHighlightRenderAction[] = {{&_swigt__p_SoLineHighlightRenderAction, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoGLRenderAction[] = { {&_swigt__p_SoGLRenderAction, 0, 0, 0}, {&_swigt__p_SoBoxHighlightRenderAction, _p_SoBoxHighlightRenderActionTo_p_SoGLRenderAction, 0, 0}, {&_swigt__p_SoLineHighlightRenderAction, _p_SoLineHighlightRenderActionTo_p_SoGLRenderAction, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoInput[] = { {&_swigt__p_SoInput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionCB[] = { {&_swigt__p_SoIntersectionCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionFilterCB[] = { {&_swigt__p_SoIntersectionFilterCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoIntersectionVisitationCB[] = { {&_swigt__p_SoIntersectionVisitationCB, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec2f[] = { {&_swigt__p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3d[] = { {&_swigt__p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec3f[] = { {&_swigt__p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMFVec4f[] = { {&_swigt__p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoMField[] = { {&_swigt__p_SoMFVec3d, _p_SoMFVec3dTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec4f, _p_SoMFVec4fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFFloat, _p_SoMFFloatTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFRotation, _p_SoMFRotationTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFUShort, _p_SoMFUShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFShort, _p_SoMFShortTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec3f, _p_SoMFVec3fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEnum, _p_SoMFEnumTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFVec2f, _p_SoMFVec2fTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFBitMask, _p_SoMFBitMaskTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFColor, _p_SoMFColorTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFEngine, _p_SoMFEngineTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFName, _p_SoMFNameTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFTime, _p_SoMFTimeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFBool, _p_SoMFBoolTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFString, _p_SoMFStringTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFInt32, _p_SoMFInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMFUInt32, _p_SoMFUInt32To_p_SoMField, 0, 0}, {&_swigt__p_SoMField, 0, 0, 0}, {&_swigt__p_SoMFMatrix, _p_SoMFMatrixTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFNode, _p_SoMFNodeTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPlane, _p_SoMFPlaneTo_p_SoMField, 0, 0}, {&_swigt__p_SoMFPath, _p_SoMFPathTo_p_SoMField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNode[] = { {&_swigt__p_SoClipPlane, _p_SoClipPlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapCoordinate, _p_SoBumpMapCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinate, _p_SoVRMLCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureCoordinate, _p_SoVRMLTextureCoordinateTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCombine, _p_SoTextureCombineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightKit, _p_SoLightKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTriangleStripSet, _p_SoTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedTriangleStripSet, _p_SoIndexedTriangleStripSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLExtrusion, _p_SoVRMLExtrusionTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseKit, _p_SoBaseKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSelection, _p_SoSelectionTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexProperty, _p_SoVertexPropertyTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotationXYZ, _p_SoRotationXYZTo_p_SoNode, 0, 0}, {&_swigt__p_SoComplexity, _p_SoComplexityTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBillboard, _p_SoVRMLBillboardTo_p_SoNode, 0, 0}, {&_swigt__p_SoLightModel, _p_SoLightModelTo_p_SoNode, 0, 0}, {&_swigt__p_SoUnits, _p_SoUnitsTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeKit, _p_SoShapeKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotation, _p_SoRotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoAnnotation, _p_SoAnnotationTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsSurface, _p_SoNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsSurface, _p_SoIndexedNurbsSurfaceTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsProfile, _p_SoNurbsProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoLinearProfile, _p_SoLinearProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoProfile, _p_SoProfileTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLParent, _p_SoVRMLParentTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLight, _p_SoVRMLLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoClipPlaneManip, _p_SoClipPlaneManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAsciiText, _p_SoAsciiTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGeometry, _p_SoVRMLGeometryTo_p_SoNode, 0, 0}, {&_swigt__p_SoCylinder, _p_SoCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCylinder, _p_SoTextureCoordinateCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinder, _p_SoVRMLCylinderTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNavigationInfo, _p_SoVRMLNavigationInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3Transform, _p_SoTexture3TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2Transform, _p_SoTexture2TransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoResetTransform, _p_SoResetTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoMatrixTransform, _p_SoMatrixTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMapTransform, _p_SoBumpMapTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransform, _p_SoTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTextureTransform, _p_SoVRMLTextureTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTransform, _p_SoVRMLTransformTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparatorKit, _p_SoSeparatorKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexLine, _p_SoVRMLVertexLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoLight, _p_SoLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSound, _p_SoVRMLSoundTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeEngine, _p_SoNodeEngineTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointSet, _p_SoPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointSet, _p_SoVRMLPointSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterial, _p_SoMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMaterial, _p_SoVRMLMaterialTo_p_SoNode, 0, 0}, {&_swigt__p_SoBaseColor, _p_SoBaseColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoColorIndex, _p_SoColorIndexTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColor, _p_SoVRMLColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLWorldInfo, _p_SoVRMLWorldInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLight, _p_SoSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSpotLight, _p_SoVRMLSpotLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateDefault, _p_SoTextureCoordinateDefaultTo_p_SoNode, 0, 0}, {&_swigt__p_SoBlinker, _p_SoBlinkerTo_p_SoNode, 0, 0}, {&_swigt__p_SoShuttle, _p_SoShuttleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLGroup, _p_SoVRMLGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAnchor, _p_SoVRMLAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSensor, _p_SoVRMLSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCylinderSensor, _p_SoVRMLCylinderSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTouchSensor, _p_SoVRMLTouchSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoMarkerSet, _p_SoMarkerSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightManip, _p_SoDirectionalLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightManip, _p_SoPointLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightManip, _p_SoSpotLightManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoNurbsCurve, _p_SoNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedNurbsCurve, _p_SoIndexedNurbsCurveTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedShape, _p_SoIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoNonIndexedShape, _p_SoNonIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedShape, _p_SoVRMLIndexedShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotor, _p_SoRotorTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateCube, _p_SoTextureCoordinateCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLText, _p_SoVRMLTextTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerManip, _p_SoTransformerManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoAntiSquish, _p_SoAntiSquishTo_p_SoNode, 0, 0}, {&_swigt__p_SoGroup, _p_SoGroupTo_p_SoNode, 0, 0}, {&_swigt__p_SoMultipleCopy, _p_SoMultipleCopyTo_p_SoNode, 0, 0}, {&_swigt__p_SoListener, _p_SoListenerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformation, _p_SoTransformationTo_p_SoNode, 0, 0}, {&_swigt__p_SoFontStyle, _p_SoFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFontStyle, _p_SoVRMLFontStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoImage, _p_SoImageTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAppearance, _p_SoVRMLAppearanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLight, _p_SoPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPointLight, _p_SoVRMLPointLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformManip, _p_SoTransformManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoPolygonOffset, _p_SoPolygonOffsetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBackground, _p_SoVRMLBackgroundTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWAnchor, _p_SoWWWAnchorTo_p_SoNode, 0, 0}, {&_swigt__p_SoEventCallback, _p_SoEventCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoCallback, _p_SoCallbackTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDragSensor, _p_SoVRMLDragSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPlaneSensor, _p_SoVRMLPlaneSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLProximitySensor, _p_SoVRMLProximitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphereSensor, _p_SoVRMLSphereSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTimeSensor, _p_SoVRMLTimeSensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVisibilitySensor, _p_SoVRMLVisibilitySensorTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackManip, _p_SoJackManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoOrthographicCamera, _p_SoOrthographicCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoPerspectiveCamera, _p_SoPerspectiveCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoCamera, _p_SoCameraTo_p_SoNode, 0, 0}, {&_swigt__p_SoCameraKit, _p_SoCameraKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoArray, _p_SoArrayTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSphere, _p_SoVRMLSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateEnvironment, _p_SoTextureCoordinateEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoEnvironment, _p_SoEnvironmentTo_p_SoNode, 0, 0}, {&_swigt__p_SoDrawStyle, _p_SoDrawStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLBox, _p_SoVRMLBoxTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLFog, _p_SoVRMLFogTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransparencyType, _p_SoTransparencyTypeTo_p_SoNode, 0, 0}, {&_swigt__p_SoSurroundScale, _p_SoSurroundScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVertexShape, _p_SoVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexShape, _p_SoVRMLVertexShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoCone, _p_SoConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureUnit, _p_SoTextureUnitTo_p_SoNode, 0, 0}, {&_swigt__p_SoAppearanceKit, _p_SoAppearanceKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabPlaneDragger, _p_SoTabPlaneDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxDragger, _p_SoTabBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoSpotLightDragger, _p_SoSpotLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScaleUniformDragger, _p_SoScaleUniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2UniformDragger, _p_SoScale2UniformDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale2Dragger, _p_SoScale2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale1Dragger, _p_SoScale1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateSphericalDragger, _p_SoRotateSphericalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateDiscDragger, _p_SoRotateDiscDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoRotateCylindricalDragger, _p_SoRotateCylindricalDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoPointLightDragger, _p_SoPointLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoJackDragger, _p_SoJackDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxDragger, _p_SoHandleBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragPointDragger, _p_SoDragPointDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLightDragger, _p_SoDirectionalLightDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballDragger, _p_SoCenterballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoDragger, _p_SoDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballDragger, _p_SoTrackballDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxDragger, _p_SoTransformBoxDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformerDragger, _p_SoTransformerDraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate1Dragger, _p_SoTranslate1DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslate2Dragger, _p_SoTranslate2DraggerTo_p_SoNode, 0, 0}, {&_swigt__p_SoFile, _p_SoFileTo_p_SoNode, 0, 0}, {&_swigt__p_SoPickStyle, _p_SoPickStyleTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInterpolator, _p_SoVRMLInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLColorInterpolator, _p_SoVRMLColorInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCoordinateInterpolator, _p_SoVRMLCoordinateInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormalInterpolator, _p_SoVRMLNormalInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLOrientationInterpolator, _p_SoVRMLOrientationInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPositionInterpolator, _p_SoVRMLPositionInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScalarInterpolator, _p_SoVRMLScalarInterpolatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCone, _p_SoVRMLConeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLine, _p_SoVRMLIndexedLineTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLMovieTexture, _p_SoVRMLMovieTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLImageTexture, _p_SoVRMLImageTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLTexture, _p_SoVRMLTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLPixelTexture, _p_SoVRMLPixelTextureTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateFunction, _p_SoTextureCoordinateFunctionTo_p_SoNode, 0, 0}, {&_swigt__p_SoSphere, _p_SoSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoNodeKitListPart, _p_SoNodeKitListPartTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateSphere, _p_SoTextureCoordinateSphereTo_p_SoNode, 0, 0}, {&_swigt__p_SoPendulum, _p_SoPendulumTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneKit, _p_SoSceneKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoShapeHints, _p_SoShapeHintsTo_p_SoNode, 0, 0}, {&_swigt__p_SoSceneTexture2, _p_SoSceneTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture2, _p_SoTexture2To_p_SoNode, 0, 0}, {&_swigt__p_SoTexture3, _p_SoTexture3To_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinatePlane, _p_SoTextureCoordinatePlaneTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLAudioClip, _p_SoVRMLAudioClipTo_p_SoNode, 0, 0}, {&_swigt__p_SoQuadMesh, _p_SoQuadMeshTo_p_SoNode, 0, 0}, {&_swigt__p_SoPathSwitch, _p_SoPathSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLSwitch, _p_SoVRMLSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoText2, _p_SoText2To_p_SoNode, 0, 0}, {&_swigt__p_SoText3, _p_SoText3To_p_SoNode, 0, 0}, {&_swigt__p_SoTransformSeparator, _p_SoTransformSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSeparator, _p_SoSeparatorTo_p_SoNode, 0, 0}, {&_swigt__p_SoInteractionKit, _p_SoInteractionKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoBumpMap, _p_SoBumpMapTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate2, _p_SoTextureCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate2, _p_SoProfileCoordinate2To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLNormal, _p_SoVRMLNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinate3, _p_SoTextureCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoProfileCoordinate3, _p_SoProfileCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate3, _p_SoCoordinate3To_p_SoNode, 0, 0}, {&_swigt__p_SoCoordinate4, _p_SoCoordinate4To_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLLOD, _p_SoVRMLLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoFont, _p_SoFontTo_p_SoNode, 0, 0}, {&_swigt__p_SoLocateHighlight, _p_SoLocateHighlightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLElevationGrid, _p_SoVRMLElevationGridTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLShape, _p_SoVRMLShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLVertexPoint, _p_SoVRMLVertexPointTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLViewpoint, _p_SoVRMLViewpointTo_p_SoNode, 0, 0}, {&_swigt__p_SoMaterialBinding, _p_SoMaterialBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormalBinding, _p_SoNormalBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureCoordinateBinding, _p_SoTextureCoordinateBindingTo_p_SoNode, 0, 0}, {&_swigt__p_SoHandleBoxManip, _p_SoHandleBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTabBoxManip, _p_SoTabBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTransformBoxManip, _p_SoTransformBoxManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLCollision, _p_SoVRMLCollisionTo_p_SoNode, 0, 0}, {&_swigt__p_SoPackedColor, _p_SoPackedColorTo_p_SoNode, 0, 0}, {&_swigt__p_SoSwitch, _p_SoSwitchTo_p_SoNode, 0, 0}, {&_swigt__p_SoTranslation, _p_SoTranslationTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedFaceSet, _p_SoIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoFaceSet, _p_SoFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedFaceSet, _p_SoVRMLIndexedFaceSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoShape, _p_SoShapeTo_p_SoNode, 0, 0}, {&_swigt__p_SoTextureScalePolicy, _p_SoTextureScalePolicyTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLScript, _p_SoVRMLScriptTo_p_SoNode, 0, 0}, {&_swigt__p_SoNormal, _p_SoNormalTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLInline, _p_SoVRMLInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoCube, _p_SoCubeTo_p_SoNode, 0, 0}, {&_swigt__p_SoWrapperKit, _p_SoWrapperKitTo_p_SoNode, 0, 0}, {&_swigt__p_SoScale, _p_SoScaleTo_p_SoNode, 0, 0}, {&_swigt__p_SoNode, 0, 0, 0}, {&_swigt__p_SoLineSet, _p_SoLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoIndexedLineSet, _p_SoIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoLabel, _p_SoLabelTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLIndexedLineSet, _p_SoVRMLIndexedLineSetTo_p_SoNode, 0, 0}, {&_swigt__p_SoProtoInstance, _p_SoProtoInstanceTo_p_SoNode, 0, 0}, {&_swigt__p_SoInfo, _p_SoInfoTo_p_SoNode, 0, 0}, {&_swigt__p_SoDirectionalLight, _p_SoDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoVRMLDirectionalLight, _p_SoVRMLDirectionalLightTo_p_SoNode, 0, 0}, {&_swigt__p_SoProto, _p_SoProtoTo_p_SoNode, 0, 0}, {&_swigt__p_SoWWWInline, _p_SoWWWInlineTo_p_SoNode, 0, 0}, {&_swigt__p_SoCenterballManip, _p_SoCenterballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoTrackballManip, _p_SoTrackballManipTo_p_SoNode, 0, 0}, {&_swigt__p_SoLOD, _p_SoLODTo_p_SoNode, 0, 0}, {&_swigt__p_SoLevelOfDetail, _p_SoLevelOfDetailTo_p_SoNode, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotList[] = { {&_swigt__p_SoNotList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoNotRec[] = { {&_swigt__p_SoNotRec, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoOutput[] = { {&_swigt__p_SoOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQt[] = { {&_swigt__p_SoQt, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtComponent[] = { {&_swigt__p_SoQtComponent, 0, 0, 0}, {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtGLWidget, _p_SoQtGLWidgetTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtComponent, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtComponent, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtConstrainedViewer[] = { {&_swigt__p_SoQtConstrainedViewer, 0, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtConstrainedViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtCursor[] = { {&_swigt__p_SoQtCursor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtDevice[] = { {&_swigt__p_SoQtKeyboard, _p_SoQtKeyboardTo_p_SoQtDevice, 0, 0}, {&_swigt__p_SoQtMouse, _p_SoQtMouseTo_p_SoQtDevice, 0, 0}, {&_swigt__p_SoQtSpaceball, _p_SoQtSpaceballTo_p_SoQtDevice, 0, 0}, {&_swigt__p_SoQtDevice, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtExaminerViewer[] = { {&_swigt__p_SoQtExaminerViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtFlyViewer[] = { {&_swigt__p_SoQtFlyViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtFullViewer[] = { {&_swigt__p_SoQtFullViewer, 0, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtFullViewer, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtFullViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtGLWidget[] = { {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtGLWidget, 0, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtGLWidget, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtGLWidget, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtKeyboard[] = { {&_swigt__p_SoQtKeyboard, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtMouse[] = { {&_swigt__p_SoQtMouse, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtObject[] = { {&_swigt__p_SoQtDevice, _p_SoQtDeviceTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtObject, 0, 0, 0}, {&_swigt__p_SoQtKeyboard, _p_SoQtKeyboardTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtComponent, _p_SoQtComponentTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtMouse, _p_SoQtMouseTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtGLWidget, _p_SoQtGLWidgetTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtRenderArea, _p_SoQtRenderAreaTo_p_SoQtObject, 0, 0}, {&_swigt__p_SoQtSpaceball, _p_SoQtSpaceballTo_p_SoQtObject, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtPlaneViewer[] = { {&_swigt__p_SoQtPlaneViewer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtPopupMenu[] = { {&_swigt__p_SoQtPopupMenu, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtRenderArea[] = { {&_swigt__p_SoQtRenderArea, 0, 0, 0}, {&_swigt__p_SoQtViewer, _p_SoQtViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtRenderArea, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtRenderArea, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtSpaceball[] = { {&_swigt__p_SoQtSpaceball, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoQtViewer[] = { {&_swigt__p_SoQtViewer, 0, 0, 0}, {&_swigt__p_SoQtFullViewer, _p_SoQtFullViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtExaminerViewer, _p_SoQtExaminerViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtConstrainedViewer, _p_SoQtConstrainedViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtFlyViewer, _p_SoQtFlyViewerTo_p_SoQtViewer, 0, 0}, {&_swigt__p_SoQtPlaneViewer, _p_SoQtPlaneViewerTo_p_SoQtViewer, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSField[] = { {&_swigt__p_SoSFVec2s, _p_SoSFVec2sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3d, _p_SoSFVec3dTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFFloat, _p_SoSFFloatTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec4f, _p_SoSFVec4fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFName, _p_SoSFNameTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFRotation, _p_SoSFRotationTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFUShort, _p_SoSFUShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFShort, _p_SoSFShortTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3f, _p_SoSFVec3fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTime, _p_SoSFTimeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBool, _p_SoSFBoolTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec2f, _p_SoSFVec2fTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFTrigger, _p_SoSFTriggerTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFColor, _p_SoSFColorTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBitMask, _p_SoSFBitMaskTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFBox3s, _p_SoSFBox3sTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage3, _p_SoSFImage3To_p_SoSField, 0, 0}, {&_swigt__p_SoSFEngine, _p_SoSFEngineTo_p_SoSField, 0, 0}, {&_swigt__p_SoSField, 0, 0, 0}, {&_swigt__p_SoSFNode, _p_SoSFNodeTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPath, _p_SoSFPathTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFImage, _p_SoSFImageTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFString, _p_SoSFStringTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFInt32, _p_SoSFInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFUInt32, _p_SoSFUInt32To_p_SoSField, 0, 0}, {&_swigt__p_SoSFMatrix, _p_SoSFMatrixTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFPlane, _p_SoSFPlaneTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFEnum, _p_SoSFEnumTo_p_SoSField, 0, 0}, {&_swigt__p_SoSFVec3s, _p_SoSFVec3sTo_p_SoSField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSceneManager[] = { {&_swigt__p_SoSceneManager, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoSelection[] = { {&_swigt__p_SoSelection, 0, 0, 0}, {&_swigt__p_SoExtSelection, _p_SoExtSelectionTo_p_SoSelection, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoType[] = { {&_swigt__p_SoType, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_SoTypeList[] = { {&_swigt__p_SoTypeList, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p___int64[] = { {&_swigt__p___int64, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__doublep[] = {{&_swigt__p_a_4__a_4__doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__double[] = { {&_swigt__p_a_4__a_4__double, 0, 0, 0}, {&_swigt__p_a_4__a_4__doublep, _p_a_4__a_4__doublepTo_p_a_4__a_4__double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__floatp[] = {{&_swigt__p_a_4__a_4__floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_a_4__a_4__float[] = { {&_swigt__p_a_4__a_4__float, 0, 0, 0}, {&_swigt__p_a_4__a_4__floatp, _p_a_4__a_4__floatpTo_p_a_4__a_4__float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_cc_glglue[] = { {&_swigt__p_cc_glglue, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_char[] = { {&_swigt__p_charp, _p_charpTo_p_char, 0, 0}, {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_charp[] = { {&_swigt__p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_close_func[] = { {&_swigt__p_close_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0}, {&_swigt__p_doublep, _p_doublepTo_p_double, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_doublep[] = { {&_swigt__p_doublep, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__charp[] = {{&_swigt__p_f_char__charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_char__char[] = { {&_swigt__p_f_char__charp, _p_f_char__charpTo_p_f_char__char, 0, 0}, {&_swigt__p_f_char__char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_float_p_void_p_SoQtViewer__void[] = { {&_swigt__p_f_float_p_void_p_SoQtViewer__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_int_p_void__void[] = { {&_swigt__p_f_int_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_QWidget_p_void_p_QEvent_p_bool__void[] = { {&_swigt__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto[] = { {&_swigt__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_q_const__SoError_p_void__void[] = { {&_swigt__p_f_p_q_const__SoError_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void__void[] = { {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_int__void[] = { {&_swigt__p_f_p_void_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_QEvent__intp[] = {{&_swigt__p_f_p_void_p_QEvent__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_QEvent__int[] = { {&_swigt__p_f_p_void_p_QEvent__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_QEvent__intp, _p_f_p_void_p_QEvent__intpTo_p_f_p_void_p_QEvent__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoAction__void[] = { {&_swigt__p_f_p_void_p_SoAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp[] = {{&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0, 0}, {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, _p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intpTo_p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void[] = { {&_swigt__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoDragger__void[] = { {&_swigt__p_f_p_void_p_SoDragger__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoEventCallback__void[] = { {&_swigt__p_f_p_void_p_SoEventCallback__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoGLRenderAction__void[] = { {&_swigt__p_f_p_void_p_SoGLRenderAction__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoInput__void[] = { {&_swigt__p_f_p_void_p_SoInput__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoPath__void[] = { {&_swigt__p_f_p_void_p_SoPath__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoQtComponent__void[] = { {&_swigt__p_f_p_void_p_SoQtComponent__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoQtViewer__void[] = { {&_swigt__p_f_p_void_p_SoQtViewer__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSceneManager__void[] = { {&_swigt__p_f_p_void_p_SoSceneManager__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSelection__void[] = { {&_swigt__p_f_p_void_p_SoSelection__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoSensor__void[] = { {&_swigt__p_f_p_void_p_SoSensor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_SoVRMLScript__void[] = { {&_swigt__p_f_p_void_p_SoVRMLScript__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoTempPath, _p_f_p_void_p_q_const__SoPath__p_SoTempPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPath__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPath__p_SoFullPath, _p_f_p_void_p_q_const__SoPath__p_SoFullPathTo_p_f_p_void_p_q_const__SoPath__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath[] = {{&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath[] = { {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0}, {&_swigt__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, _p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPathTo_p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_p_void__void[] = { {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec2f__SbVec2f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec2f__SbVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f[] = { {&_swigt__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_size_t__p_void[] = { {&_swigt__p_f_p_void_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_p_void_unsigned_int__void[] = { {&_swigt__p_f_p_void_unsigned_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void[] = { {&_swigt__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_q_const__unsigned_long__unsigned_long[] = { {&_swigt__p_f_q_const__unsigned_long__unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int[] = { {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_SbImage_p_void__intp, _p_f_r_q_const__SbString_p_SbImage_p_void__intpTo_p_f_r_q_const__SbString_p_SbImage_p_void__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp[] = {{&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0, 0}, {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, _p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intpTo_p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void[] = { {&_swigt__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void[] = { {&_swigt__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_unsigned_long_p_void__void[] = { {&_swigt__p_f_unsigned_long_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_unsigned_long_p_void_p_void__void[] = { {&_swigt__p_f_unsigned_long_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_void__p_void[] = { {&_swigt__p_f_void__p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_void__void[] = { {&_swigt__p_f_void__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0}, {&_swigt__p_floatp, _p_floatpTo_p_float, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_floatp[] = { {&_swigt__p_floatp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_int[] = { {&_swigt__p_intp, _p_intpTo_p_int, 0, 0}, {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_intp[] = { {&_swigt__p_intp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0}, {&_swigt__p_longp, _p_longpTo_p_long, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_longp[] = { {&_swigt__p_longp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_open_func[] = { {&_swigt__p_open_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoEngineOutput[] = { {&_swigt__p_p_SoEngineOutput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFName[] = {{&_swigt__p_p_SoSFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEnum[] = {{&_swigt__p_p_SoMFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3s[] = {{&_swigt__p_p_SoSFVec3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFFloat[] = {{&_swigt__p_p_SoMFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFFloat[] = {{&_swigt__p_p_SoSFFloat, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPath[] = {{&_swigt__p_p_SoMFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTime[] = {{&_swigt__p_p_SoSFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2s[] = {{&_swigt__p_p_SoSFVec2s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEnum[] = {{&_swigt__p_p_SoSFEnum, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFColor[] = {{&_swigt__p_p_SoSFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFColor[] = {{&_swigt__p_p_SoMFColor, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFRotation[] = {{&_swigt__p_p_SoMFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFRotation[] = {{&_swigt__p_p_SoSFRotation, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMField[] = {{&_swigt__p_p_SoMField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBitMask[] = {{&_swigt__p_p_SoSFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBitMask[] = {{&_swigt__p_p_SoMFBitMask, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPath[] = {{&_swigt__p_p_SoSFPath, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFPlane[] = {{&_swigt__p_p_SoSFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFPlane[] = {{&_swigt__p_p_SoMFPlane, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFNode[] = {{&_swigt__p_p_SoMFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFString[] = {{&_swigt__p_p_SoMFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFString[] = {{&_swigt__p_p_SoSFString, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSField[] = {{&_swigt__p_p_SoSField, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFEngine[] = {{&_swigt__p_p_SoSFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFEngine[] = {{&_swigt__p_p_SoMFEngine, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec4f[] = {{&_swigt__p_p_SoMFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec4f[] = {{&_swigt__p_p_SoSFVec4f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUInt32[] = {{&_swigt__p_p_SoSFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUInt32[] = {{&_swigt__p_p_SoMFUInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFBool[] = {{&_swigt__p_p_SoMFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFNode[] = {{&_swigt__p_p_SoSFNode, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage3[] = {{&_swigt__p_p_SoSFImage3, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBox3s[] = {{&_swigt__p_p_SoSFBox3s, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFMatrix[] = {{&_swigt__p_p_SoSFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFMatrix[] = {{&_swigt__p_p_SoMFMatrix, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFTrigger[] = {{&_swigt__p_p_SoSFTrigger, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3d[] = {{&_swigt__p_p_SoSFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3d[] = {{&_swigt__p_p_SoMFVec3d, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFImage[] = {{&_swigt__p_p_SoSFImage, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFUShort[] = {{&_swigt__p_p_SoSFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFUShort[] = {{&_swigt__p_p_SoMFUShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFName[] = {{&_swigt__p_p_SoMFName, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec3f[] = {{&_swigt__p_p_SoMFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec3f[] = {{&_swigt__p_p_SoSFVec3f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFInt32[] = {{&_swigt__p_p_SoSFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFInt32[] = {{&_swigt__p_p_SoMFInt32, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFVec2f[] = {{&_swigt__p_p_SoMFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFVec2f[] = {{&_swigt__p_p_SoSFVec2f, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFTime[] = {{&_swigt__p_p_SoMFTime, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFBool[] = {{&_swigt__p_p_SoSFBool, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoSFShort[] = {{&_swigt__p_p_SoSFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoMFShort[] = {{&_swigt__p_p_SoMFShort, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_SoField[] = { {&_swigt__p_p_SoSFName, _p_p_SoSFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEnum, _p_p_SoMFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3s, _p_p_SoSFVec3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFFloat, _p_p_SoMFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFFloat, _p_p_SoSFFloatTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPath, _p_p_SoMFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoField, 0, 0, 0}, {&_swigt__p_p_SoSFTime, _p_p_SoSFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2s, _p_p_SoSFVec2sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEnum, _p_p_SoSFEnumTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFColor, _p_p_SoSFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFColor, _p_p_SoMFColorTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFRotation, _p_p_SoMFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFRotation, _p_p_SoSFRotationTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMField, _p_p_SoMFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBitMask, _p_p_SoSFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBitMask, _p_p_SoMFBitMaskTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPath, _p_p_SoSFPathTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFPlane, _p_p_SoSFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFPlane, _p_p_SoMFPlaneTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFNode, _p_p_SoMFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFString, _p_p_SoMFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFString, _p_p_SoSFStringTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSField, _p_p_SoSFieldTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFEngine, _p_p_SoSFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFEngine, _p_p_SoMFEngineTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec4f, _p_p_SoMFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec4f, _p_p_SoSFVec4fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUInt32, _p_p_SoSFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUInt32, _p_p_SoMFUInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFBool, _p_p_SoMFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFNode, _p_p_SoSFNodeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage3, _p_p_SoSFImage3To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBox3s, _p_p_SoSFBox3sTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFMatrix, _p_p_SoSFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFMatrix, _p_p_SoMFMatrixTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFTrigger, _p_p_SoSFTriggerTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3d, _p_p_SoSFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3d, _p_p_SoMFVec3dTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFImage, _p_p_SoSFImageTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFUShort, _p_p_SoSFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFUShort, _p_p_SoMFUShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFName, _p_p_SoMFNameTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec3f, _p_p_SoMFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec3f, _p_p_SoSFVec3fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFInt32, _p_p_SoSFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFInt32, _p_p_SoMFInt32To_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFVec2f, _p_p_SoMFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFVec2f, _p_p_SoSFVec2fTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFTime, _p_p_SoMFTimeTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFBool, _p_p_SoSFBoolTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoSFShort, _p_p_SoSFShortTo_p_p_SoField, 0, 0}, {&_swigt__p_p_SoMFShort, _p_p_SoMFShortTo_p_p_SoField, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_charp[] = {{&_swigt__p_p_charp, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_charp, _p_p_charpTo_p_p_char, 0, 0}, {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_read_func[] = { {&_swigt__p_read_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_seek_func[] = { {&_swigt__p_seek_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_tell_func[] = { {&_swigt__p_tell_func, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_time_t[] = { {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_timeval[] = { {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned___int64[] = { {&_swigt__p_unsigned___int64, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; - -static swig_cast_info *swig_cast_initial[] = { - _swigc__p_ContextDestructionCB, - _swigc__p_CustomCursor, - _swigc__p_FILE, - _swigc__p_FatalErrorCB, - _swigc__p_ProgressCallbackType, - _swigc__p_QEvent, - _swigc__p_QWidget, - _swigc__p_SbColor, - _swigc__p_SbDict, - _swigc__p_SbIntList, - _swigc__p_SbMatrix, - _swigc__p_SbName, - _swigc__p_SbPList, - _swigc__p_SbPlane, - _swigc__p_SbRotation, - _swigc__p_SbString, - _swigc__p_SbStringList, - _swigc__p_SbTime, - _swigc__p_SbVec2f, - _swigc__p_SbVec2s, - _swigc__p_SbVec3d, - _swigc__p_SbVec3f, - _swigc__p_SbVec3fList, - _swigc__p_SbVec4f, - _swigc__p_SbViewportRegion, - _swigc__p_SoActionMethodList, - _swigc__p_SoAnnotation, - _swigc__p_SoAntiSquish, - _swigc__p_SoAppearanceKit, - _swigc__p_SoArray, - _swigc__p_SoAsciiText, - _swigc__p_SoAuditorList, - _swigc__p_SoBase, - _swigc__p_SoBaseColor, - _swigc__p_SoBaseKit, - _swigc__p_SoBaseList, - _swigc__p_SoBlinker, - _swigc__p_SoBoolOperation, - _swigc__p_SoBoxHighlightRenderAction, - _swigc__p_SoBumpMap, - _swigc__p_SoBumpMapCoordinate, - _swigc__p_SoBumpMapTransform, - _swigc__p_SoButtonEvent, - _swigc__p_SoCalculator, - _swigc__p_SoCallback, - _swigc__p_SoCallbackActionCB, - _swigc__p_SoCamera, - _swigc__p_SoCameraKit, - _swigc__p_SoCenterballDragger, - _swigc__p_SoCenterballManip, - _swigc__p_SoChildList, - _swigc__p_SoClipPlane, - _swigc__p_SoClipPlaneManip, - _swigc__p_SoColorIndex, - _swigc__p_SoComplexity, - _swigc__p_SoComposeMatrix, - _swigc__p_SoComposeRotation, - _swigc__p_SoComposeRotationFromTo, - _swigc__p_SoComposeVec2f, - _swigc__p_SoComposeVec3f, - _swigc__p_SoComposeVec4f, - _swigc__p_SoComputeBoundingBox, - _swigc__p_SoConcatenate, - _swigc__p_SoCone, - _swigc__p_SoCoordinate3, - _swigc__p_SoCoordinate4, - _swigc__p_SoCounter, - _swigc__p_SoCube, - _swigc__p_SoCylinder, - _swigc__p_SoDecomposeMatrix, - _swigc__p_SoDecomposeRotation, - _swigc__p_SoDecomposeVec2f, - _swigc__p_SoDecomposeVec3f, - _swigc__p_SoDecomposeVec4f, - _swigc__p_SoDetailList, - _swigc__p_SoDirectionalLight, - _swigc__p_SoDirectionalLightDragger, - _swigc__p_SoDirectionalLightManip, - _swigc__p_SoDragPointDragger, - _swigc__p_SoDragger, - _swigc__p_SoDrawStyle, - _swigc__p_SoElapsedTime, - _swigc__p_SoEngine, - _swigc__p_SoEngineList, - _swigc__p_SoEngineOutput, - _swigc__p_SoEngineOutputList, - _swigc__p_SoEnvironment, - _swigc__p_SoEvent, - _swigc__p_SoEventCallback, - _swigc__p_SoExtSelection, - _swigc__p_SoFaceSet, - _swigc__p_SoField, - _swigc__p_SoFieldContainer, - _swigc__p_SoFieldConverter, - _swigc__p_SoFieldList, - _swigc__p_SoFile, - _swigc__p_SoFont, - _swigc__p_SoFontStyle, - _swigc__p_SoFullPath, - _swigc__p_SoGLRenderAbortCB, - _swigc__p_SoGLRenderAction, - _swigc__p_SoGate, - _swigc__p_SoGroup, - _swigc__p_SoHandleBoxDragger, - _swigc__p_SoHandleBoxManip, - _swigc__p_SoImage, - _swigc__p_SoIndexedFaceSet, - _swigc__p_SoIndexedLineSet, - _swigc__p_SoIndexedNurbsCurve, - _swigc__p_SoIndexedNurbsSurface, - _swigc__p_SoIndexedShape, - _swigc__p_SoIndexedTriangleStripSet, - _swigc__p_SoInfo, - _swigc__p_SoInput, - _swigc__p_SoInteractionKit, - _swigc__p_SoInterpolate, - _swigc__p_SoInterpolateFloat, - _swigc__p_SoInterpolateRotation, - _swigc__p_SoInterpolateVec2f, - _swigc__p_SoInterpolateVec3f, - _swigc__p_SoInterpolateVec4f, - _swigc__p_SoIntersectionCB, - _swigc__p_SoIntersectionFilterCB, - _swigc__p_SoIntersectionVisitationCB, - _swigc__p_SoJackDragger, - _swigc__p_SoJackManip, - _swigc__p_SoKeyboardEvent, - _swigc__p_SoLOD, - _swigc__p_SoLabel, - _swigc__p_SoLevelOfDetail, - _swigc__p_SoLight, - _swigc__p_SoLightKit, - _swigc__p_SoLightModel, - _swigc__p_SoLineHighlightRenderAction, - _swigc__p_SoLineSet, - _swigc__p_SoLinearProfile, - _swigc__p_SoListener, - _swigc__p_SoLocateHighlight, - _swigc__p_SoLocation2Event, - _swigc__p_SoMFBitMask, - _swigc__p_SoMFBool, - _swigc__p_SoMFColor, - _swigc__p_SoMFEngine, - _swigc__p_SoMFEnum, - _swigc__p_SoMFFloat, - _swigc__p_SoMFInt32, - _swigc__p_SoMFMatrix, - _swigc__p_SoMFName, - _swigc__p_SoMFNode, - _swigc__p_SoMFPath, - _swigc__p_SoMFPlane, - _swigc__p_SoMFRotation, - _swigc__p_SoMFShort, - _swigc__p_SoMFString, - _swigc__p_SoMFTime, - _swigc__p_SoMFUInt32, - _swigc__p_SoMFUShort, - _swigc__p_SoMFVec2f, - _swigc__p_SoMFVec3d, - _swigc__p_SoMFVec3f, - _swigc__p_SoMFVec4f, - _swigc__p_SoMField, - _swigc__p_SoMarkerSet, - _swigc__p_SoMaterial, - _swigc__p_SoMaterialBinding, - _swigc__p_SoMatrixTransform, - _swigc__p_SoMotion3Event, - _swigc__p_SoMouseButtonEvent, - _swigc__p_SoMultipleCopy, - _swigc__p_SoNode, - _swigc__p_SoNodeEngine, - _swigc__p_SoNodeKitListPart, - _swigc__p_SoNodeKitPath, - _swigc__p_SoNodeList, - _swigc__p_SoNonIndexedShape, - _swigc__p_SoNormal, - _swigc__p_SoNormalBinding, - _swigc__p_SoNotList, - _swigc__p_SoNotRec, - _swigc__p_SoNurbsCurve, - _swigc__p_SoNurbsProfile, - _swigc__p_SoNurbsSurface, - _swigc__p_SoOnOff, - _swigc__p_SoOneShot, - _swigc__p_SoOrthographicCamera, - _swigc__p_SoOutput, - _swigc__p_SoPackedColor, - _swigc__p_SoPath, - _swigc__p_SoPathList, - _swigc__p_SoPathSwitch, - _swigc__p_SoPendulum, - _swigc__p_SoPerspectiveCamera, - _swigc__p_SoPickStyle, - _swigc__p_SoPickedPointList, - _swigc__p_SoPointLight, - _swigc__p_SoPointLightDragger, - _swigc__p_SoPointLightManip, - _swigc__p_SoPointSet, - _swigc__p_SoPolygonOffset, - _swigc__p_SoProfile, - _swigc__p_SoProfileCoordinate2, - _swigc__p_SoProfileCoordinate3, - _swigc__p_SoProto, - _swigc__p_SoProtoInstance, - _swigc__p_SoQt, - _swigc__p_SoQtComponent, - _swigc__p_SoQtConstrainedViewer, - _swigc__p_SoQtCursor, - _swigc__p_SoQtDevice, - _swigc__p_SoQtExaminerViewer, - _swigc__p_SoQtFlyViewer, - _swigc__p_SoQtFullViewer, - _swigc__p_SoQtGLWidget, - _swigc__p_SoQtKeyboard, - _swigc__p_SoQtMouse, - _swigc__p_SoQtObject, - _swigc__p_SoQtPlaneViewer, - _swigc__p_SoQtPopupMenu, - _swigc__p_SoQtRenderArea, - _swigc__p_SoQtSpaceball, - _swigc__p_SoQtViewer, - _swigc__p_SoQuadMesh, - _swigc__p_SoResetTransform, - _swigc__p_SoRotateCylindricalDragger, - _swigc__p_SoRotateDiscDragger, - _swigc__p_SoRotateSphericalDragger, - _swigc__p_SoRotation, - _swigc__p_SoRotationXYZ, - _swigc__p_SoRotor, - _swigc__p_SoSFBitMask, - _swigc__p_SoSFBool, - _swigc__p_SoSFBox3s, - _swigc__p_SoSFColor, - _swigc__p_SoSFEngine, - _swigc__p_SoSFEnum, - _swigc__p_SoSFFloat, - _swigc__p_SoSFImage, - _swigc__p_SoSFImage3, - _swigc__p_SoSFInt32, - _swigc__p_SoSFMatrix, - _swigc__p_SoSFName, - _swigc__p_SoSFNode, - _swigc__p_SoSFPath, - _swigc__p_SoSFPlane, - _swigc__p_SoSFRotation, - _swigc__p_SoSFShort, - _swigc__p_SoSFString, - _swigc__p_SoSFTime, - _swigc__p_SoSFTrigger, - _swigc__p_SoSFUInt32, - _swigc__p_SoSFUShort, - _swigc__p_SoSFVec2f, - _swigc__p_SoSFVec2s, - _swigc__p_SoSFVec3d, - _swigc__p_SoSFVec3f, - _swigc__p_SoSFVec3s, - _swigc__p_SoSFVec4f, - _swigc__p_SoSField, - _swigc__p_SoScale, - _swigc__p_SoScale1Dragger, - _swigc__p_SoScale2Dragger, - _swigc__p_SoScale2UniformDragger, - _swigc__p_SoScaleUniformDragger, - _swigc__p_SoSceneKit, - _swigc__p_SoSceneManager, - _swigc__p_SoSceneTexture2, - _swigc__p_SoSelectOne, - _swigc__p_SoSelection, - _swigc__p_SoSeparator, - _swigc__p_SoSeparatorKit, - _swigc__p_SoShape, - _swigc__p_SoShapeHints, - _swigc__p_SoShapeKit, - _swigc__p_SoShuttle, - _swigc__p_SoSpaceballButtonEvent, - _swigc__p_SoSphere, - _swigc__p_SoSpotLight, - _swigc__p_SoSpotLightDragger, - _swigc__p_SoSpotLightManip, - _swigc__p_SoSurroundScale, - _swigc__p_SoSwitch, - _swigc__p_SoTabBoxDragger, - _swigc__p_SoTabBoxManip, - _swigc__p_SoTabPlaneDragger, - _swigc__p_SoTempPath, - _swigc__p_SoText2, - _swigc__p_SoText3, - _swigc__p_SoTexture2, - _swigc__p_SoTexture2Transform, - _swigc__p_SoTexture3, - _swigc__p_SoTexture3Transform, - _swigc__p_SoTextureCombine, - _swigc__p_SoTextureCoordinate2, - _swigc__p_SoTextureCoordinate3, - _swigc__p_SoTextureCoordinateBinding, - _swigc__p_SoTextureCoordinateCube, - _swigc__p_SoTextureCoordinateCylinder, - _swigc__p_SoTextureCoordinateDefault, - _swigc__p_SoTextureCoordinateEnvironment, - _swigc__p_SoTextureCoordinateFunction, - _swigc__p_SoTextureCoordinatePlane, - _swigc__p_SoTextureCoordinateSphere, - _swigc__p_SoTextureScalePolicy, - _swigc__p_SoTextureUnit, - _swigc__p_SoTimeCounter, - _swigc__p_SoTrackballDragger, - _swigc__p_SoTrackballManip, - _swigc__p_SoTransform, - _swigc__p_SoTransformBoxDragger, - _swigc__p_SoTransformBoxManip, - _swigc__p_SoTransformManip, - _swigc__p_SoTransformSeparator, - _swigc__p_SoTransformVec3f, - _swigc__p_SoTransformation, - _swigc__p_SoTransformerDragger, - _swigc__p_SoTransformerManip, - _swigc__p_SoTranslate1Dragger, - _swigc__p_SoTranslate2Dragger, - _swigc__p_SoTranslation, - _swigc__p_SoTransparencyType, - _swigc__p_SoTriangleStripSet, - _swigc__p_SoTriggerAny, - _swigc__p_SoType, - _swigc__p_SoTypeList, - _swigc__p_SoUnits, - _swigc__p_SoVRMLAnchor, - _swigc__p_SoVRMLAppearance, - _swigc__p_SoVRMLAudioClip, - _swigc__p_SoVRMLBackground, - _swigc__p_SoVRMLBillboard, - _swigc__p_SoVRMLBox, - _swigc__p_SoVRMLCollision, - _swigc__p_SoVRMLColor, - _swigc__p_SoVRMLColorInterpolator, - _swigc__p_SoVRMLCone, - _swigc__p_SoVRMLCoordinate, - _swigc__p_SoVRMLCoordinateInterpolator, - _swigc__p_SoVRMLCylinder, - _swigc__p_SoVRMLCylinderSensor, - _swigc__p_SoVRMLDirectionalLight, - _swigc__p_SoVRMLDragSensor, - _swigc__p_SoVRMLElevationGrid, - _swigc__p_SoVRMLExtrusion, - _swigc__p_SoVRMLFog, - _swigc__p_SoVRMLFontStyle, - _swigc__p_SoVRMLGeometry, - _swigc__p_SoVRMLGroup, - _swigc__p_SoVRMLImageTexture, - _swigc__p_SoVRMLIndexedFaceSet, - _swigc__p_SoVRMLIndexedLine, - _swigc__p_SoVRMLIndexedLineSet, - _swigc__p_SoVRMLIndexedShape, - _swigc__p_SoVRMLInline, - _swigc__p_SoVRMLInterpolator, - _swigc__p_SoVRMLLOD, - _swigc__p_SoVRMLLight, - _swigc__p_SoVRMLMaterial, - _swigc__p_SoVRMLMovieTexture, - _swigc__p_SoVRMLNavigationInfo, - _swigc__p_SoVRMLNormal, - _swigc__p_SoVRMLNormalInterpolator, - _swigc__p_SoVRMLOrientationInterpolator, - _swigc__p_SoVRMLParent, - _swigc__p_SoVRMLPixelTexture, - _swigc__p_SoVRMLPlaneSensor, - _swigc__p_SoVRMLPointLight, - _swigc__p_SoVRMLPointSet, - _swigc__p_SoVRMLPositionInterpolator, - _swigc__p_SoVRMLProximitySensor, - _swigc__p_SoVRMLScalarInterpolator, - _swigc__p_SoVRMLScript, - _swigc__p_SoVRMLSensor, - _swigc__p_SoVRMLShape, - _swigc__p_SoVRMLSound, - _swigc__p_SoVRMLSphere, - _swigc__p_SoVRMLSphereSensor, - _swigc__p_SoVRMLSpotLight, - _swigc__p_SoVRMLSwitch, - _swigc__p_SoVRMLText, - _swigc__p_SoVRMLTexture, - _swigc__p_SoVRMLTextureCoordinate, - _swigc__p_SoVRMLTextureTransform, - _swigc__p_SoVRMLTimeSensor, - _swigc__p_SoVRMLTouchSensor, - _swigc__p_SoVRMLTransform, - _swigc__p_SoVRMLVertexLine, - _swigc__p_SoVRMLVertexPoint, - _swigc__p_SoVRMLVertexShape, - _swigc__p_SoVRMLViewpoint, - _swigc__p_SoVRMLVisibilitySensor, - _swigc__p_SoVRMLWorldInfo, - _swigc__p_SoVertexProperty, - _swigc__p_SoVertexShape, - _swigc__p_SoWWWAnchor, - _swigc__p_SoWWWInline, - _swigc__p_SoWrapperKit, - _swigc__p___int64, - _swigc__p_a_4__a_4__double, - _swigc__p_a_4__a_4__doublep, - _swigc__p_a_4__a_4__float, - _swigc__p_a_4__a_4__floatp, - _swigc__p_cc_glglue, - _swigc__p_char, - _swigc__p_charp, - _swigc__p_close_func, - _swigc__p_double, - _swigc__p_doublep, - _swigc__p_f_char__char, - _swigc__p_f_char__charp, - _swigc__p_f_float_p_void_p_SoQtViewer__void, - _swigc__p_f_int_p_void__void, - _swigc__p_f_p_QWidget_p_void_p_QEvent_p_bool__void, - _swigc__p_f_p_SoInput_p_q_const__SbString_q_const__int_p_void__p_SoProto, - _swigc__p_f_p_q_const__SoError_p_void__void, - _swigc__p_f_p_void__void, - _swigc__p_f_p_void_int__void, - _swigc__p_f_p_void_p_QEvent__int, - _swigc__p_f_p_void_p_QEvent__intp, - _swigc__p_f_p_void_p_SoAction__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__int, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__intp, - _swigc__p_f_p_void_p_SoCallbackAction_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex_p_q_const__SoPrimitiveVertex__void, - _swigc__p_f_p_void_p_SoDragger__void, - _swigc__p_f_p_void_p_SoEventCallback__void, - _swigc__p_f_p_void_p_SoGLRenderAction__void, - _swigc__p_f_p_void_p_SoInput__void, - _swigc__p_f_p_void_p_SoPath__void, - _swigc__p_f_p_void_p_SoQtComponent__void, - _swigc__p_f_p_void_p_SoQtViewer__void, - _swigc__p_f_p_void_p_SoSceneManager__void, - _swigc__p_f_p_void_p_SoSelection__void, - _swigc__p_f_p_void_p_SoSensor__void, - _swigc__p_f_p_void_p_SoVRMLScript__void, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPath__p_SoTempPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoFullPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoNodeKitPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoPath, - _swigc__p_f_p_void_p_q_const__SoPickedPoint__p_SoTempPath, - _swigc__p_f_p_void_p_void__void, - _swigc__p_f_p_void_r_q_const__SbVec2f__SbVec2f, - _swigc__p_f_p_void_r_q_const__SbVec3f_r_q_const__SbVec3f__r_SbVec4f, - _swigc__p_f_p_void_size_t__p_void, - _swigc__p_f_p_void_unsigned_int__void, - _swigc__p_f_q_const__SbString_enum_SoQt__FatalErrors_p_void__void, - _swigc__p_f_q_const__unsigned_long__unsigned_long, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__int, - _swigc__p_f_r_q_const__SbString_p_SbImage_p_void__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__int, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLImageTexture__intp, - _swigc__p_f_r_q_const__SbString_p_void_p_SoVRMLInline__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWAnchor__void, - _swigc__p_f_r_q_const__SbString_p_void_p_SoWWWInline__void, - _swigc__p_f_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void_r_q_const__SbVec3f_p_void__p_void, - _swigc__p_f_unsigned_long_p_void__void, - _swigc__p_f_unsigned_long_p_void_p_void__void, - _swigc__p_f_void__p_void, - _swigc__p_f_void__void, - _swigc__p_float, - _swigc__p_floatp, - _swigc__p_int, - _swigc__p_intp, - _swigc__p_long, - _swigc__p_longp, - _swigc__p_open_func, - _swigc__p_p_SoEngineOutput, - _swigc__p_p_SoField, - _swigc__p_p_SoMFBitMask, - _swigc__p_p_SoMFBool, - _swigc__p_p_SoMFColor, - _swigc__p_p_SoMFEngine, - _swigc__p_p_SoMFEnum, - _swigc__p_p_SoMFFloat, - _swigc__p_p_SoMFInt32, - _swigc__p_p_SoMFMatrix, - _swigc__p_p_SoMFName, - _swigc__p_p_SoMFNode, - _swigc__p_p_SoMFPath, - _swigc__p_p_SoMFPlane, - _swigc__p_p_SoMFRotation, - _swigc__p_p_SoMFShort, - _swigc__p_p_SoMFString, - _swigc__p_p_SoMFTime, - _swigc__p_p_SoMFUInt32, - _swigc__p_p_SoMFUShort, - _swigc__p_p_SoMFVec2f, - _swigc__p_p_SoMFVec3d, - _swigc__p_p_SoMFVec3f, - _swigc__p_p_SoMFVec4f, - _swigc__p_p_SoMField, - _swigc__p_p_SoSFBitMask, - _swigc__p_p_SoSFBool, - _swigc__p_p_SoSFBox3s, - _swigc__p_p_SoSFColor, - _swigc__p_p_SoSFEngine, - _swigc__p_p_SoSFEnum, - _swigc__p_p_SoSFFloat, - _swigc__p_p_SoSFImage, - _swigc__p_p_SoSFImage3, - _swigc__p_p_SoSFInt32, - _swigc__p_p_SoSFMatrix, - _swigc__p_p_SoSFName, - _swigc__p_p_SoSFNode, - _swigc__p_p_SoSFPath, - _swigc__p_p_SoSFPlane, - _swigc__p_p_SoSFRotation, - _swigc__p_p_SoSFShort, - _swigc__p_p_SoSFString, - _swigc__p_p_SoSFTime, - _swigc__p_p_SoSFTrigger, - _swigc__p_p_SoSFUInt32, - _swigc__p_p_SoSFUShort, - _swigc__p_p_SoSFVec2f, - _swigc__p_p_SoSFVec2s, - _swigc__p_p_SoSFVec3d, - _swigc__p_p_SoSFVec3f, - _swigc__p_p_SoSFVec3s, - _swigc__p_p_SoSFVec4f, - _swigc__p_p_SoSField, - _swigc__p_p_char, - _swigc__p_p_charp, - _swigc__p_p_void, - _swigc__p_read_func, - _swigc__p_seek_func, - _swigc__p_short, - _swigc__p_tell_func, - _swigc__p_time_t, - _swigc__p_timeval, - _swigc__p_unsigned___int64, - _swigc__p_unsigned_char, - _swigc__p_unsigned_int, - _swigc__p_unsigned_short, - _swigc__p_void, -}; - - -/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ - -static swig_const_info swig_const_table[] = { -{0, 0, 0, 0.0, 0, 0}}; - -#ifdef __cplusplus -} -#endif -/* ----------------------------------------------------------------------------- - * Type initialization: - * This problem is tough by the requirement that no dynamic - * memory is used. Also, since swig_type_info structures store pointers to - * swig_cast_info structures and swig_cast_info structures store pointers back - * to swig_type_info structures, we need some lookup code at initialization. - * The idea is that swig generates all the structures that are needed. - * The runtime then collects these partially filled structures. - * The SWIG_InitializeModule function takes these initial arrays out of - * swig_module, and does all the lookup, filling in the swig_module.types - * array with the correct data and linking the correct swig_cast_info - * structures together. - * - * The generated swig_type_info structures are assigned staticly to an initial - * array. We just loop through that array, and handle each type individually. - * First we lookup if this type has been already loaded, and if so, use the - * loaded structure instead of the generated one. Then we have to fill in the - * cast linked list. The cast data is initially stored in something like a - * two-dimensional array. Each row corresponds to a type (there are the same - * number of rows as there are in the swig_type_initial array). Each entry in - * a column is one of the swig_cast_info structures for that type. - * The cast_initial array is actually an array of arrays, because each row has - * a variable number of columns. So to actually build the cast linked list, - * we find the array of casts associated with the type, and loop through it - * adding the casts to the list. The one last trick we need to do is making - * sure the type pointer in the swig_cast_info struct is correct. - * - * First off, we lookup the cast->type name to see if it is already loaded. - * There are three cases to handle: - * 1) If the cast->type has already been loaded AND the type we are adding - * casting info to has not been loaded (it is in this module), THEN we - * replace the cast->type pointer with the type pointer that has already - * been loaded. - * 2) If BOTH types (the one we are adding casting info to, and the - * cast->type) are loaded, THEN the cast info has already been loaded by - * the previous module so we just ignore it. - * 3) Finally, if cast->type has not already been loaded, then we add that - * swig_cast_info to the linked list (because the cast->type) pointer will - * be correct. - * ----------------------------------------------------------------------------- */ - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* c-mode */ -#endif -#endif - -#if 0 -#define SWIGRUNTIME_DEBUG -#endif - - -SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { - size_t i; - swig_module_info *module_head, *iter; - int found; - - clientdata = clientdata; - - /* check to see if the circular list has been setup, if not, set it up */ - if (swig_module.next==0) { - /* Initialize the swig_module */ - swig_module.type_initial = swig_type_initial; - swig_module.cast_initial = swig_cast_initial; - swig_module.next = &swig_module; - } - - /* Try and load any already created modules */ - module_head = SWIG_GetModule(clientdata); - if (!module_head) { - /* This is the first module loaded for this interpreter */ - /* so set the swig module into the interpreter */ - SWIG_SetModule(clientdata, &swig_module); - module_head = &swig_module; - } else { - /* the interpreter has loaded a SWIG module, but has it loaded this one? */ - found=0; - iter=module_head; - do { - if (iter==&swig_module) { - found=1; - break; - } - iter=iter->next; - } while (iter!= module_head); - - /* if the is found in the list, then all is done and we may leave */ - if (found) return; - /* otherwise we must add out module into the list */ - swig_module.next = module_head->next; - module_head->next = &swig_module; - } - - /* Now work on filling in swig_module.types */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: size %d\n", swig_module.size); -#endif - for (i = 0; i < swig_module.size; ++i) { - swig_type_info *type = 0; - swig_type_info *ret; - swig_cast_info *cast; - -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); -#endif - - /* if there is another module already loaded */ - if (swig_module.next != &swig_module) { - type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); - } - if (type) { - /* Overwrite clientdata field */ -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found type %s\n", type->name); -#endif - if (swig_module.type_initial[i]->clientdata) { - type->clientdata = swig_module.type_initial[i]->clientdata; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); -#endif - } - } else { - type = swig_module.type_initial[i]; - } - - /* Insert casting types */ - cast = swig_module.cast_initial[i]; - while (cast->type) { - /* Don't need to add information already in the list */ - ret = 0; -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); -#endif - if (swig_module.next != &swig_module) { - ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); -#ifdef SWIGRUNTIME_DEBUG - if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); -#endif - } - if (ret) { - if (type == swig_module.type_initial[i]) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: skip old type %s\n", ret->name); -#endif - cast->type = ret; - ret = 0; - } else { - /* Check for casting already in the list */ - swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); -#ifdef SWIGRUNTIME_DEBUG - if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); -#endif - if (!ocast) ret = 0; - } - } - - if (!ret) { -#ifdef SWIGRUNTIME_DEBUG - printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); -#endif - if (type->cast) { - type->cast->prev = cast; - cast->next = type->cast; - } - type->cast = cast; - } - cast++; - } - /* Set entry in modules->types array equal to the type */ - swig_module.types[i] = type; - } - swig_module.types[i] = 0; - -#ifdef SWIGRUNTIME_DEBUG - printf("**** SWIG_InitializeModule: Cast List ******\n"); - for (i = 0; i < swig_module.size; ++i) { - int j = 0; - swig_cast_info *cast = swig_module.cast_initial[i]; - printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); - while (cast->type) { - printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); - cast++; - ++j; - } - printf("---- Total casts: %d\n",j); - } - printf("**** SWIG_InitializeModule: Cast List ******\n"); -#endif -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientData(void) { - size_t i; - swig_cast_info *equiv; - static int init_run = 0; - - if (init_run) return; - init_run = 1; - - for (i = 0; i < swig_module.size; i++) { - if (swig_module.types[i]->clientdata) { - equiv = swig_module.types[i]->cast; - while (equiv) { - if (!equiv->converter) { - if (equiv->type && !equiv->type->clientdata) - SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); - } - equiv = equiv->next; - } - } - } -} - -#ifdef __cplusplus -#if 0 -{ - /* c-mode */ -#endif -} -#endif - - - -#ifdef __cplusplus -extern "C" { -#endif - - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { - return PyString_FromString(""); - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); - return str; - } - - SWIGINTERN int - swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { - PyObject *str = swig_varlink_str(v); - fprintf(fp,"Swig global variables "); - fprintf(fp,"%s\n", PyString_AsString(str)); - Py_DECREF(str); - return 0; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_SetString(PyExc_NameError,"Unknown C global variable"); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp - = { - PyObject_HEAD_INIT(NULL) - 0, /* Number of items in variable part (ob_size) */ - (char *)"swigvarlink", /* Type name (tp_name) */ - sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ - 0, /* Itemsize (tp_itemsize) */ - (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ - (printfunc) swig_varlink_print, /* Print (tp_print) */ - (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ - (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc)swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ -#if PY_VERSION_HEX >= 0x02020000 - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ -#endif -#if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ -#endif -#ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ -#endif - }; - varlink_type = tmp; - varlink_type.ob_type = &PyType_Type; - type_init = 1; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - strncpy(gv->name,name,size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *_SWIG_globals = 0; - if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); - return _SWIG_globals; - } - - /* ----------------------------------------------------------------------------- - * constants/methods manipulation - * ----------------------------------------------------------------------------- */ - - /* Install Constants */ - SWIGINTERN void - SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { - PyObject *obj = 0; - size_t i; - for (i = 0; constants[i].type; ++i) { - switch(constants[i].type) { - case SWIG_PY_POINTER: - obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); - break; - case SWIG_PY_BINARY: - obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); - break; - default: - obj = 0; - break; - } - if (obj) { - PyDict_SetItemString(d, constants[i].name, obj); - Py_DECREF(obj); - } - } - } - - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ - - SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { - size_t i; - for (i = 0; methods[i].ml_name; ++i) { - const char *c = methods[i].ml_doc; - if (c && (c = strstr(c, "swig_ptr: "))) { - int j; - swig_const_info *ci = 0; - const char *name = c + 10; - for (j = 0; const_table[j].type; ++j) { - if (strncmp(const_table[j].name, name, - strlen(const_table[j].name)) == 0) { - ci = &(const_table[j]); - break; - } - } - if (ci) { - size_t shift = (ci->ptype) - types; - swig_type_info *ty = types_initial[shift]; - size_t ldoc = (c - methods[i].ml_doc); - size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; - char *ndoc = (char*)malloc(ldoc + lptr + 10); - if (ndoc) { - char *buff = ndoc; - void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; - if (ptr) { - strncpy(buff, methods[i].ml_doc, ldoc); - buff += ldoc; - strncpy(buff, "swig_ptr: ", 10); - buff += 10; - SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); - methods[i].ml_doc = ndoc; - } - } - } - } - } - } - -#ifdef __cplusplus -} -#endif - -/* -----------------------------------------------------------------------------* - * Partial Init method - * -----------------------------------------------------------------------------*/ - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIG_init(void) { - PyObject *m, *d; - - /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); - - m = Py_InitModule((char *) SWIG_name, SwigMethods); - d = PyModule_GetDict(m); - - SWIG_InitializeModule(0); - SWIG_InstallConstants(d,swig_const_table); - - - SWIG_Python_SetConstant(d, "FALSE",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "TRUE",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_SYS_TYPES_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_STDDEF_H",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT8_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT16_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT32_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINT64_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_INTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "HAVE_UINTPTR_T",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "M_E",SWIG_From_double(static_cast< double >(2.7182818284590452354))); - SWIG_Python_SetConstant(d, "M_LOG2E",SWIG_From_double(static_cast< double >(1.4426950408889634074))); - SWIG_Python_SetConstant(d, "M_LOG10E",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LN2",SWIG_From_double(static_cast< double >(0.69314718055994530942))); - SWIG_Python_SetConstant(d, "M_LN10",SWIG_From_double(static_cast< double >(2.30258509299404568402))); - SWIG_Python_SetConstant(d, "M_PI",SWIG_From_double(static_cast< double >(3.14159265358979323846))); - SWIG_Python_SetConstant(d, "M_TWOPI",SWIG_From_double(static_cast< double >((3.14159265358979323846*2.0)))); - SWIG_Python_SetConstant(d, "M_PI_2",SWIG_From_double(static_cast< double >(1.57079632679489661923))); - SWIG_Python_SetConstant(d, "M_PI_4",SWIG_From_double(static_cast< double >(0.78539816339744830962))); - SWIG_Python_SetConstant(d, "M_3PI_4",SWIG_From_double(static_cast< double >(2.3561944901923448370E0))); - SWIG_Python_SetConstant(d, "M_SQRTPI",SWIG_From_double(static_cast< double >(1.77245385090551602792981))); - SWIG_Python_SetConstant(d, "M_1_PI",SWIG_From_double(static_cast< double >(0.31830988618379067154))); - SWIG_Python_SetConstant(d, "M_2_PI",SWIG_From_double(static_cast< double >(0.63661977236758134308))); - SWIG_Python_SetConstant(d, "M_2_SQRTPI",SWIG_From_double(static_cast< double >(1.12837916709551257390))); - SWIG_Python_SetConstant(d, "M_SQRT2",SWIG_From_double(static_cast< double >(1.41421356237309504880))); - SWIG_Python_SetConstant(d, "M_SQRT1_2",SWIG_From_double(static_cast< double >(0.70710678118654752440))); - SWIG_Python_SetConstant(d, "M_LN2LO",SWIG_From_double(static_cast< double >(1.9082149292705877000E-10))); - SWIG_Python_SetConstant(d, "M_LN2HI",SWIG_From_double(static_cast< double >(6.9314718036912381649E-1))); - SWIG_Python_SetConstant(d, "M_SQRT3",SWIG_From_double(static_cast< double >(1.73205080756887719000))); - SWIG_Python_SetConstant(d, "M_IVLN10",SWIG_From_double(static_cast< double >(0.43429448190325182765))); - SWIG_Python_SetConstant(d, "M_LOG2_E",SWIG_From_double(static_cast< double >(0.693147180559945309417))); - SWIG_Python_SetConstant(d, "M_INVLN2",SWIG_From_double(static_cast< double >(1.4426950408889633870E0))); - SWIG_Python_SetConstant(d, "COIN_MAJOR_VERSION",SWIG_From_int(static_cast< int >(2))); - SWIG_Python_SetConstant(d, "COIN_MINOR_VERSION",SWIG_From_int(static_cast< int >(4))); - SWIG_Python_SetConstant(d, "COIN_MICRO_VERSION",SWIG_From_int(static_cast< int >(6))); - SWIG_Python_SetConstant(d, "COIN_VERSION",SWIG_FromCharPtr("2.4.6")); - SWIG_Python_SetConstant(d, "HAVE_HASH_QUOTING",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoNotRec_CONTAINER",SWIG_From_int(static_cast< int >(SoNotRec::CONTAINER))); - SWIG_Python_SetConstant(d, "SoNotRec_PARENT",SWIG_From_int(static_cast< int >(SoNotRec::PARENT))); - SWIG_Python_SetConstant(d, "SoNotRec_SENSOR",SWIG_From_int(static_cast< int >(SoNotRec::SENSOR))); - SWIG_Python_SetConstant(d, "SoNotRec_FIELD",SWIG_From_int(static_cast< int >(SoNotRec::FIELD))); - SWIG_Python_SetConstant(d, "SoNotRec_ENGINE",SWIG_From_int(static_cast< int >(SoNotRec::ENGINE))); - SWIG_Python_SetConstant(d, "SoField_NORMAL_FIELD",SWIG_From_int(static_cast< int >(SoField::NORMAL_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTIN_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTIN_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EVENTOUT_FIELD",SWIG_From_int(static_cast< int >(SoField::EVENTOUT_FIELD))); - SWIG_Python_SetConstant(d, "SoField_EXPOSED_FIELD",SWIG_From_int(static_cast< int >(SoField::EXPOSED_FIELD))); - SWIG_Python_SetConstant(d, "SOQT_MAJOR_VERSION",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SOQT_MINOR_VERSION",SWIG_From_int(static_cast< int >(4))); - SWIG_Python_SetConstant(d, "SOQT_MICRO_VERSION",SWIG_From_int(static_cast< int >(1))); - SWIG_Python_SetConstant(d, "SOQT_VERSION",SWIG_FromCharPtr("1.4.1")); - SWIG_Python_SetConstant(d, "SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG",SWIG_From_int(static_cast< int >(0))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_KEY_PRESS",SWIG_From_int(static_cast< int >(SoQtKeyboard::KEY_PRESS))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_KEY_RELEASE",SWIG_From_int(static_cast< int >(SoQtKeyboard::KEY_RELEASE))); - SWIG_Python_SetConstant(d, "SoQtKeyboard_ALL_EVENTS",SWIG_From_int(static_cast< int >(SoQtKeyboard::ALL_EVENTS))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_MOTION_EVENT",SWIG_From_int(static_cast< int >(SoQtSpaceball::MOTION_EVENT))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_MOTION",SWIG_From_int(static_cast< int >(SoQtSpaceball::MOTION))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_PRESS_EVENT",SWIG_From_int(static_cast< int >(SoQtSpaceball::PRESS_EVENT))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_PRESS",SWIG_From_int(static_cast< int >(SoQtSpaceball::PRESS))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_RELEASE_EVENT",SWIG_From_int(static_cast< int >(SoQtSpaceball::RELEASE_EVENT))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_RELEASE",SWIG_From_int(static_cast< int >(SoQtSpaceball::RELEASE))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_ALL_EVENTS",SWIG_From_int(static_cast< int >(SoQtSpaceball::ALL_EVENTS))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_ALL",SWIG_From_int(static_cast< int >(SoQtSpaceball::ALL))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_SPACE_BALL",SWIG_From_int(static_cast< int >(SoQtSpaceball::SPACE_BALL))); - SWIG_Python_SetConstant(d, "SoQtSpaceball_MAGELLAN_SPACE_MOUSE",SWIG_From_int(static_cast< int >(SoQtSpaceball::MAGELLAN_SPACE_MOUSE))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_PRESS",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_PRESS))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_RELEASE",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_RELEASE))); - SWIG_Python_SetConstant(d, "SoQtMouse_POINTER_MOTION",SWIG_From_int(static_cast< int >(SoQtMouse::POINTER_MOTION))); - SWIG_Python_SetConstant(d, "SoQtMouse_BUTTON_MOTION",SWIG_From_int(static_cast< int >(SoQtMouse::BUTTON_MOTION))); - SWIG_Python_SetConstant(d, "SoQtMouse_ALL_EVENTS",SWIG_From_int(static_cast< int >(SoQtMouse::ALL_EVENTS))); - SWIG_Python_SetConstant(d, "SoQt_UNSPECIFIED_ERROR",SWIG_From_int(static_cast< int >(SoQt::UNSPECIFIED_ERROR))); - SWIG_Python_SetConstant(d, "SoQt_NO_OPENGL_CANVAS",SWIG_From_int(static_cast< int >(SoQt::NO_OPENGL_CANVAS))); - SWIG_Python_SetConstant(d, "SoQt_INTERNAL_ASSERT",SWIG_From_int(static_cast< int >(SoQt::INTERNAL_ASSERT))); - SWIG_Python_SetConstant(d, "SoQt_DLL",SWIG_From_int(static_cast< int >(SoQt::DLL))); - SWIG_Python_SetConstant(d, "SoQt_LIB",SWIG_From_int(static_cast< int >(SoQt::LIB))); - SWIG_Python_SetConstant(d, "SoQt_UNKNOWN",SWIG_From_int(static_cast< int >(SoQt::UNKNOWN))); - SWIG_Python_SetConstant(d, "SO_GL_RGB",SWIG_From_int(static_cast< int >(SO_GL_RGB))); - SWIG_Python_SetConstant(d, "SO_GLX_RGB",SWIG_From_int(static_cast< int >(SO_GLX_RGB))); - SWIG_Python_SetConstant(d, "SO_GL_DOUBLE",SWIG_From_int(static_cast< int >(SO_GL_DOUBLE))); - SWIG_Python_SetConstant(d, "SO_GLX_DOUBLE",SWIG_From_int(static_cast< int >(SO_GLX_DOUBLE))); - SWIG_Python_SetConstant(d, "SO_GL_ZBUFFER",SWIG_From_int(static_cast< int >(SO_GL_ZBUFFER))); - SWIG_Python_SetConstant(d, "SO_GLX_ZBUFFER",SWIG_From_int(static_cast< int >(SO_GLX_ZBUFFER))); - SWIG_Python_SetConstant(d, "SO_GL_OVERLAY",SWIG_From_int(static_cast< int >(SO_GL_OVERLAY))); - SWIG_Python_SetConstant(d, "SO_GLX_OVERLAY",SWIG_From_int(static_cast< int >(SO_GLX_OVERLAY))); - SWIG_Python_SetConstant(d, "SO_GL_STEREO",SWIG_From_int(static_cast< int >(SO_GL_STEREO))); - SWIG_Python_SetConstant(d, "SO_GLX_STEREO",SWIG_From_int(static_cast< int >(SO_GLX_STEREO))); - SWIG_Python_SetConstant(d, "SoQtViewer_BROWSER",SWIG_From_int(static_cast< int >(SoQtViewer::BROWSER))); - SWIG_Python_SetConstant(d, "SoQtViewer_EDITOR",SWIG_From_int(static_cast< int >(SoQtViewer::EDITOR))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_AS_IS",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_AS_IS))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_HIDDEN_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_HIDDEN_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_NO_TEXTURE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_NO_TEXTURE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_COMPLEXITY",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_COMPLEXITY))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_POINT",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_POINT))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_BBOX",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_BBOX))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_RES_LINE",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_RES_LINE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_LOW_RES_POINT",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_LOW_RES_POINT))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_SAME_AS_STILL",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_SAME_AS_STILL))); - SWIG_Python_SetConstant(d, "SoQtViewer_VIEW_WIREFRAME_OVERLAY",SWIG_From_int(static_cast< int >(SoQtViewer::VIEW_WIREFRAME_OVERLAY))); - SWIG_Python_SetConstant(d, "SoQtViewer_STILL",SWIG_From_int(static_cast< int >(SoQtViewer::STILL))); - SWIG_Python_SetConstant(d, "SoQtViewer_INTERACTIVE",SWIG_From_int(static_cast< int >(SoQtViewer::INTERACTIVE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_SINGLE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_SINGLE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_DOUBLE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_DOUBLE))); - SWIG_Python_SetConstant(d, "SoQtViewer_BUFFER_INTERACTIVE",SWIG_From_int(static_cast< int >(SoQtViewer::BUFFER_INTERACTIVE))); - SWIG_Python_SetConstant(d, "SoQtViewer_VARIABLE_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoQtViewer::VARIABLE_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SoQtViewer_CONSTANT_NEAR_PLANE",SWIG_From_int(static_cast< int >(SoQtViewer::CONSTANT_NEAR_PLANE))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_NONE",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_NONE))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_ANAGLYPH",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_ANAGLYPH))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_QUADBUFFER",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_QUADBUFFER))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_INTERLEAVED_ROWS",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_INTERLEAVED_ROWS))); - SWIG_Python_SetConstant(d, "SoQtViewer_STEREO_INTERLEAVED_COLUMNS",SWIG_From_int(static_cast< int >(SoQtViewer::STEREO_INTERLEAVED_COLUMNS))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_NONE",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_NONE))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_DECORATION",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_DECORATION))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_POPUP",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_POPUP))); - SWIG_Python_SetConstant(d, "SoQtFullViewer_BUILD_ALL",SWIG_From_int(static_cast< int >(SoQtFullViewer::BUILD_ALL))); - SWIG_Python_SetConstant(d, "SoQtCursor_CUSTOM_BITMAP",SWIG_From_int(static_cast< int >(SoQtCursor::CUSTOM_BITMAP))); - SWIG_Python_SetConstant(d, "SoQtCursor_DEFAULT",SWIG_From_int(static_cast< int >(SoQtCursor::DEFAULT))); - SWIG_Python_SetConstant(d, "SoQtCursor_BUSY",SWIG_From_int(static_cast< int >(SoQtCursor::BUSY))); - SWIG_Python_SetConstant(d, "SoQtCursor_CROSSHAIR",SWIG_From_int(static_cast< int >(SoQtCursor::CROSSHAIR))); - SWIG_Python_SetConstant(d, "SoQtCursor_UPARROW",SWIG_From_int(static_cast< int >(SoQtCursor::UPARROW))); -} - diff --git a/src/Doc/CMakeLists.txt b/src/Doc/CMakeLists.txt index 431e317b70..d9ea608b36 100644 --- a/src/Doc/CMakeLists.txt +++ b/src/Doc/CMakeLists.txt @@ -38,14 +38,9 @@ if(DOXYGEN_FOUND) # exclude some subdirectories # src/Tools : content not relevant ? - # src/3rdParty/CxImage : obsolete utility - # src/3rdParty/Pivy - # src/3rdParty/Pivy-0.5 : huge python wrappers around Coin3D, not focused - # on FreeCAD properly + # src/3rdParty/CxImage : Windows thumbnailer set( DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/Tools) list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/CxImage) - list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/Pivy) - list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/Pivy-0.5) list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/salomesmesh) STRING(REGEX REPLACE ";" " " DOXYGEN_EXCLUDE_LIST "${DOXYGEN_EXCLUDE_DIR}")